diff --git a/LICENSE b/LICENSE index 3005445..d0bfb79 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ - Copyright 2017 cisco Systems Inc. + Copyright 2018 cisco Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 4d6cbe9..50014e5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# Cisco IOS XR Programmability Lab 2 -This lab uses Cisco IOS XR native, IETF and OpenConfig YANG models to interact with NETCONF and Google RPC agents running on Cisco IOS XR. In addition, it includes simple Python scripts and Ansible playbooks that use model-driven APIs to dramatically simplify network programmability and automation of Cisco IOS XR. +# Cisco IOS XR Programmability Lab +This lab provides hands-on experience with the programmability infrastructure in Cisco IOS XR. This new infrastructure allows you to manage a device with great flexibility in terms of models, encodings and transport options. In this lab, you will use XR native, IETF and OpenConfig YANG models to interact with NETCONF and Google RPC agents running on Cisco IOS XR. You will also use streaming telemetry, simple Python scripts and custom Ansible modules based on a model-driven SDK to enable advanced network programmability and closed-loop automation. + ``` $ tree -d . @@ -7,14 +8,15 @@ $ tree -d │   └── ip_destination_reachable │   └── library ├── grpc -├── md-api +├── md-sdk +├── md-sdk+telemetry +│   └── pipeline ├── netconf └── yang └── modules └── cisco-ios-xr - └── 631 - -10 directories + └── 632 +12 directories $ ``` diff --git a/ansible/Cisco-IOS-XR-ping-act.yang b/ansible/Cisco-IOS-XR-ping-act.yang index 778fa25..57775c8 120000 --- a/ansible/Cisco-IOS-XR-ping-act.yang +++ b/ansible/Cisco-IOS-XR-ping-act.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ping-act.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ping-act.yang \ No newline at end of file diff --git a/ansible/ip_destination_reachable/library/ip_destination_reachable.py b/ansible/ip_destination_reachable/library/ip_destination_reachable.py index 46fa9be..bc96548 100644 --- a/ansible/ip_destination_reachable/library/ip_destination_reachable.py +++ b/ansible/ip_destination_reachable/library/ip_destination_reachable.py @@ -132,7 +132,7 @@ def ping(host, destination, repeat_count, vrf_name): ping.input.destination.repeat_count = repeat_count ping.input.destination.vrf_name = vrf_name - ping = executor.execute_rpc(provider, ping, xr_ping_act.Ping()) + ping.output = executor.execute_rpc(provider, ping, ping.output) return dict(success_rate=int(str(ping.output.ping_response.ipv4[0].success_rate)), rtt_min=int(str(ping.output.ping_response.ipv4[0].rtt_min)), diff --git a/ansible/ip_destination_reachable/playbook.yml b/ansible/ip_destination_reachable/playbook.yml index 5166eda..9cfe889 100644 --- a/ansible/ip_destination_reachable/playbook.yml +++ b/ansible/ip_destination_reachable/playbook.yml @@ -2,7 +2,7 @@ # Playbook to verify rechability of LER2 prefix (192.168.255.2) for VRF RED # # Santiago Alvarez (saalvare@cisco.com) -# Jan 2018 +# Jun 2018 - name: Verify IPv4 VPN service hosts: LERs diff --git a/grpc/Cisco-IOS-XR-clns-isis-cfg.yang b/grpc/Cisco-IOS-XR-clns-isis-cfg.yang index 0dd4791..d578b6e 120000 --- a/grpc/Cisco-IOS-XR-clns-isis-cfg.yang +++ b/grpc/Cisco-IOS-XR-clns-isis-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-cfg.yang \ No newline at end of file diff --git a/grpc/Cisco-IOS-XR-clns-isis-oper.yang b/grpc/Cisco-IOS-XR-clns-isis-oper.yang index 3413294..64e7c28 120000 --- a/grpc/Cisco-IOS-XR-clns-isis-oper.yang +++ b/grpc/Cisco-IOS-XR-clns-isis-oper.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper.yang \ No newline at end of file diff --git a/grpc/Cisco-IOS-XR-ifmgr-cfg.yang b/grpc/Cisco-IOS-XR-ifmgr-cfg.yang index 2a8346d..be8e22b 120000 --- a/grpc/Cisco-IOS-XR-ifmgr-cfg.yang +++ b/grpc/Cisco-IOS-XR-ifmgr-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-cfg.yang \ No newline at end of file diff --git a/grpc/Cisco-IOS-XR-ip-rib-ipv4-oper.yang b/grpc/Cisco-IOS-XR-ip-rib-ipv4-oper.yang index 6bf2454..abccf81 120000 --- a/grpc/Cisco-IOS-XR-ip-rib-ipv4-oper.yang +++ b/grpc/Cisco-IOS-XR-ip-rib-ipv4-oper.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper.yang \ No newline at end of file diff --git a/grpc/Cisco-IOS-XR-ipv4-io-cfg.yang b/grpc/Cisco-IOS-XR-ipv4-io-cfg.yang index e58c9cd..83185a4 120000 --- a/grpc/Cisco-IOS-XR-ipv4-io-cfg.yang +++ b/grpc/Cisco-IOS-XR-ipv4-io-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-cfg.yang \ No newline at end of file diff --git a/grpc/openconfig-if-ip.yang b/grpc/openconfig-if-ip.yang index 06df4d0..99dbf35 120000 --- a/grpc/openconfig-if-ip.yang +++ b/grpc/openconfig-if-ip.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/openconfig-if-ip.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/openconfig-if-ip.yang \ No newline at end of file diff --git a/grpc/openconfig-interfaces.yang b/grpc/openconfig-interfaces.yang index c23a4ab..363f172 120000 --- a/grpc/openconfig-interfaces.yang +++ b/grpc/openconfig-interfaces.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/openconfig-interfaces.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/openconfig-interfaces.yang \ No newline at end of file diff --git a/grpc/xr-isis-cfg.json b/grpc/xr-isis-cfg.json index 137e1ad..6bd7e12 100644 --- a/grpc/xr-isis-cfg.json +++ b/grpc/xr-isis-cfg.json @@ -25,7 +25,8 @@ "metric-style": [ { "level": "not-set", - "style": "new-metric-style" + "style": "new-metric-style", + "transition-state": "disabled" } ] } diff --git a/md-api/Cisco-IOS-XR-ip-rib-ipv4-oper.yang b/md-api/Cisco-IOS-XR-ip-rib-ipv4-oper.yang deleted file mode 120000 index 6bf2454..0000000 --- a/md-api/Cisco-IOS-XR-ip-rib-ipv4-oper.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper.yang \ No newline at end of file diff --git a/md-api/Cisco-IOS-XR-ipv4-bgp-cfg.yang b/md-api/Cisco-IOS-XR-ipv4-bgp-cfg.yang deleted file mode 120000 index 6a9ae32..0000000 --- a/md-api/Cisco-IOS-XR-ipv4-bgp-cfg.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-cfg.yang \ No newline at end of file diff --git a/md-api/Cisco-IOS-XR-ipv4-bgp-oper.yang b/md-api/Cisco-IOS-XR-ipv4-bgp-oper.yang deleted file mode 120000 index 15e62b7..0000000 --- a/md-api/Cisco-IOS-XR-ipv4-bgp-oper.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper.yang \ No newline at end of file diff --git a/md-api/Cisco-IOS-XR-mpls-ldp-cfg.yang b/md-api/Cisco-IOS-XR-mpls-ldp-cfg.yang deleted file mode 120000 index bd5a82f..0000000 --- a/md-api/Cisco-IOS-XR-mpls-ldp-cfg.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg.yang \ No newline at end of file diff --git a/md-api/Cisco-IOS-XR-mpls-ldp-oper.yang b/md-api/Cisco-IOS-XR-mpls-ldp-oper.yang deleted file mode 120000 index 9135e51..0000000 --- a/md-api/Cisco-IOS-XR-mpls-ldp-oper.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper.yang \ No newline at end of file diff --git a/md-api/nc-create-xr-ipv4-bgp-cfg-99-ydk.py b/md-api/nc-create-xr-ipv4-bgp-cfg-99-ydk.py deleted file mode 100755 index ac97da8..0000000 --- a/md-api/nc-create-xr-ipv4-bgp-cfg-99-ydk.py +++ /dev/null @@ -1,129 +0,0 @@ -#!/usr/bin/env python3 -# -# Copyright 2018 Cisco Systems, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -""" -Create configuration for model Cisco-IOS-XR-ipv4-bgp-cfg. - -usage: nc-create-xr-ipv4-bgp-cfg-99-ydk.py [-h] [-v] device - -positional arguments: - device NETCONF device (ssh://user:password@host:port) - -optional arguments: - -h, --help show this help message and exit - -v, --verbose print debugging messages -""" - -from argparse import ArgumentParser -import urllib.parse - -from ydk.services import CRUDService -from ydk.providers import NetconfServiceProvider -from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_cfg \ - as xr_ipv4_bgp_cfg -from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_datatypes \ - as xr_ipv4_bgp_datatypes -from ydk.types import Empty -import logging - - -def config_bgp(bgp): - """Add config data to bgp object.""" - # global configuration - instance = bgp.Instance() - instance.instance_name = "default" - instance_as = instance.InstanceAs() - instance_as.as_ = 0 - four_byte_as = instance_as.FourByteAs() - four_byte_as.as_ = 65172 - four_byte_as.bgp_running = Empty() - global_af = four_byte_as.default_vrf.global_.global_afs.GlobalAf() - global_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.vpnv4_unicast - global_af.enable = Empty() - four_byte_as.default_vrf.global_.global_afs.global_af.append(global_af) - - # configure IBGP neighbor - neighbor = four_byte_as.default_vrf.bgp_entity.neighbors.Neighbor() - neighbor.neighbor_address = "172.16.255.2" - neighbor.remote_as.as_xx = 0 - neighbor.remote_as.as_yy = 65172 - neighbor.update_source_interface = "Loopback0" - neighbor_af = neighbor.neighbor_afs.NeighborAf() - neighbor_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.vpnv4_unicast - neighbor_af.activate = Empty() - neighbor.neighbor_afs.neighbor_af.append(neighbor_af) - four_byte_as.default_vrf.bgp_entity.neighbors.neighbor.append(neighbor) - - # vrf RED - vrf = four_byte_as.vrfs.Vrf() - vrf.vrf_name = "RED" - vrf.vrf_global.exists = Empty() - vrf.vrf_global.route_distinguisher.type = xr_ipv4_bgp_cfg.BgpRouteDistinguisher.as_ - vrf.vrf_global.route_distinguisher.as_ = 65172 - vrf.vrf_global.route_distinguisher.as_xx = 0 - vrf.vrf_global.route_distinguisher.as_index = 0 - vrf_global_af = vrf.vrf_global.vrf_global_afs.VrfGlobalAf() - vrf_global_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.ipv4_unicast - vrf_global_af.enable = Empty() - vrf_global_af.connected_routes = vrf_global_af.ConnectedRoutes() - vrf_global_af.connected_routes.default_metric = 10 - vrf.vrf_global.vrf_global_afs.vrf_global_af.append(vrf_global_af) - four_byte_as.vrfs.vrf.append(vrf) - - # append configuration objects - instance_as.four_byte_as.append(four_byte_as) - instance.instance_as.append(instance_as) - bgp.instance.append(instance) - - -if __name__ == "__main__": - """Execute main program.""" - parser = ArgumentParser() - parser.add_argument("-v", "--verbose", help="print debugging messages", - action="store_true") - parser.add_argument("device", - help="NETCONF device (ssh://user:password@host:port)") - args = parser.parse_args() - device = urllib.parse.urlparse(args.device) - - # log debug messages if verbose argument specified - if args.verbose: - logger = logging.getLogger("ydk") - logger.setLevel(logging.INFO) - handler = logging.StreamHandler() - formatter = logging.Formatter(("%(asctime)s - %(name)s - " - "%(levelname)s - %(message)s")) - handler.setFormatter(formatter) - logger.addHandler(handler) - - # create NETCONF provider - provider = NetconfServiceProvider(address=device.hostname, - port=device.port, - username=device.username, - password=device.password, - protocol=device.scheme) - # create CRUD service - crud = CRUDService() - - bgp = xr_ipv4_bgp_cfg.Bgp() # create object - config_bgp(bgp) # add object configuration - - # create configuration on NETCONF device - crud.create(provider, bgp) - - exit() -# End of script diff --git a/md-api/nc-read-xr-ip-rib-ipv4-oper-99-ydk.py b/md-api/nc-read-xr-ip-rib-ipv4-oper-99-ydk.py deleted file mode 100755 index 3218e98..0000000 --- a/md-api/nc-read-xr-ip-rib-ipv4-oper-99-ydk.py +++ /dev/null @@ -1,157 +0,0 @@ -#!/usr/bin/env python3 -# -# Copyright 2018 Cisco Systems, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -""" -Read all data for model Cisco-IOS-XR-ip-rib-ipv4-oper. - -usage: nc-read-xr-ip-rib-ipv4-oper-99-ydk.py [-h] [-v] device - -positional arguments: - device NETCONF device (ssh://user:password@host:port) - -optional arguments: - -h, --help show this help message and exit - -v, --verbose print debugging messages -""" - -from argparse import ArgumentParser -import urllib.parse - -from ydk.services import CRUDService -from ydk.providers import NetconfServiceProvider -from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ip_rib_ipv4_oper \ - as xr_ip_rib_ipv4_oper -from ydk.filters import YFilter -import logging - - -def filter_rib(rib): - """Add data to rib filter object.""" - vrf = rib.vrfs.Vrf() - vrf.vrf_name = "RED" - af = vrf.afs.Af() - af.af_name = "IPv4" - saf = af.safs.Saf() - saf.saf_name = "Unicast" - ip_rib_route_table_name = saf.ip_rib_route_table_names.IpRibRouteTableName() - ip_rib_route_table_name.route_table_name = "default" - route = ip_rib_route_table_name.routes.Route() - - # prefix info to read - route.address.yfilter = YFilter.read - route.prefix_length.yfilter = YFilter.read - route.protocol_name.yfilter = YFilter.read - route.metric.yfilter = YFilter.read - route.distance.yfilter = YFilter.read - ipv4_rib_edm_path = route.route_path.Ipv4RibEdmPath() - - # next-hop info to read - ipv4_rib_edm_path.address.yfilter = YFilter.read - ipv4_rib_edm_path.next_hop_vrf_name.yfilter = YFilter.read - - route.route_path.ipv4_rib_edm_path.append(ipv4_rib_edm_path) - ip_rib_route_table_name.routes.route.append(route) - saf.ip_rib_route_table_names.ip_rib_route_table_name.append(ip_rib_route_table_name) - af.safs.saf.append(saf) - vrf.afs.af.append(af) - rib.vrfs.vrf.append(vrf) - - -def process_rib(rib): - """Process data in rib object.""" - # format string for routing-table header - show_route_header = ( - "Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path\n" - " D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area\n" - " N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\n" - " E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP\n" - " i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2\n" - " ia - IS-IS inter area, su - IS-IS summary null, * - candidate default\n" - " U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP\n" - " A - access/subscriber, a - Application route\n" - " M - mobile route, r - RPL, (!) - FRR Backup path\n\n") - # format string for local route - show_route_local_row = "{protocol} {prefix}/{mask} is directly connected\n" - # format string for protocol route - show_route_protocol_row = ("{protocol} {prefix}/{mask} [{distance}/{metric}] " - "via {next_hop} (nexthop in vrf {vrf_name})\n") - - protocol_name = {"bgp": "B", "local": "L"} - - show_route = show_route_header - - # iterate over all routes - for rt in (rib.vrfs.vrf[0].afs.af[0].safs.saf[0].ip_rib_route_table_names. - ip_rib_route_table_name[0].routes.route): - protocol = protocol_name[str(rt.protocol_name)] - if str(rt.protocol_name) == "local": - show_route += show_route_local_row.format(protocol=protocol, - prefix=rt.address, - mask=rt.prefix_length) - else: - next_hop = rt.route_path.ipv4_rib_edm_path[0].address - vrf_name = rt.route_path.ipv4_rib_edm_path[0].next_hop_vrf_name - show_route += show_route_protocol_row.format(protocol=protocol, - prefix=rt.address, - mask=rt.prefix_length, - distance=rt.distance, - metric=rt.metric, - next_hop=next_hop, - vrf_name=vrf_name) - - # return formated string - return show_route.strip() - - -if __name__ == "__main__": - """Execute main program.""" - parser = ArgumentParser() - parser.add_argument("-v", "--verbose", help="print debugging messages", - action="store_true") - parser.add_argument("device", - help="NETCONF device (ssh://user:password@host:port)") - args = parser.parse_args() - device = urllib.parse.urlparse(args.device) - - # log debug messages if verbose argument specified - if args.verbose: - logger = logging.getLogger("ydk") - logger.setLevel(logging.INFO) - handler = logging.StreamHandler() - formatter = logging.Formatter(("%(asctime)s - %(name)s - " - "%(levelname)s - %(message)s")) - handler.setFormatter(formatter) - logger.addHandler(handler) - - # create NETCONF provider - provider = NetconfServiceProvider(address=device.hostname, - port=device.port, - username=device.username, - password=device.password, - protocol=device.scheme) - # create CRUD service - crud = CRUDService() - - rib = xr_ip_rib_ipv4_oper.Rib() # create object - filter_rib(rib) - - # read data from NETCONF device - rib = crud.read(provider, rib) - print(process_rib(rib)) # process object data - - exit() -# End of script diff --git a/md-api/nc-read-xr-ipv4-bgp-oper-99-ydk.py b/md-api/nc-read-xr-ipv4-bgp-oper-99-ydk.py deleted file mode 100755 index cc08d2c..0000000 --- a/md-api/nc-read-xr-ipv4-bgp-oper-99-ydk.py +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env python3 -# -# Copyright 2018 Cisco Systems, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -""" -Read all data for model Cisco-IOS-XR-ipv4-bgp-oper. - -usage: nc-read-xr-ipv4-bgp-oper-99-ydk.py [-h] [-v] device - -positional arguments: - device NETCONF device (ssh://user:password@host:port) - -optional arguments: - -h, --help show this help message and exit - -v, --verbose print debugging messages -""" - -from argparse import ArgumentParser -import urllib.parse - -from ydk.services import CRUDService -from ydk.providers import NetconfServiceProvider -from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_oper \ - as xr_ipv4_bgp_oper -from datetime import timedelta -from ydk.filters import YFilter -import logging - - -def filter_bgp(bgp): - """Add data to bgp filter object.""" - # filter neighbors - instance = bgp.instances.Instance() - instance.instance_name = "default" - neighbor = instance.instance_active.default_vrf.neighbors.Neighbor() - neighbor.yfilter = YFilter.read - instance.instance_active.default_vrf.neighbors.neighbor.append(neighbor) - bgp.instances.instance.append(instance) - - -def process_bgp(bgp): - """Process data in bgp object.""" - # format string for BGP neighbor header - nbr_header = ("Neighbor Spk AS MsgRcvd MsgSent TblVer " - "InQ OutQ Up/Down St/PfxRcd\n") - # format string for BGP neighbor - nbr_row = ("{nbr_add!s:<14} {speaker_id!s:>4} {as_!s:>5} {msg_rcvd!s:>7} " - "{msg_sent!s:>7} {table_ver!s:>8} {in_queue!s:>4} {out_queue!s:>4} " - "{up_down!s:>8} {st_pfxrcd!s}\n") - - bgp_st = {xr_ipv4_bgp_oper.BgpConnState.bgp_st_idle.name: "Idle", - xr_ipv4_bgp_oper.BgpConnState.bgp_st_active.name: "Active", - xr_ipv4_bgp_oper.BgpConnState.bgp_st_connect.name: "Connect"} - - show_bgp_summary = nbr_header - - # iterate over all BGP neighbors - for nbr in bgp.instances.instance[0].instance_active.default_vrf.neighbors.neighbor: - if str(nbr.connection_state) == xr_ipv4_bgp_oper.BgpConnState.bgp_st_estab.name: - st_pfxrcd = "{!s:>10}".format(nbr.af_data[0].prefixes_accepted) - else: - st_pfxrcd = bgp_st[nbr.connection_state] - - up_down = timedelta(seconds=int(str(nbr.connection_established_time))) - - show_bgp_summary += nbr_row.format(nbr_add=nbr.neighbor_address, - speaker_id=nbr.speaker_id, - as_=nbr.remote_as, - msg_rcvd=nbr.messages_received, - msg_sent=nbr.messages_sent, - table_ver=nbr.af_data[0].neighbor_version, - in_queue=nbr.messages_queued_in, - out_queue=nbr.messages_queued_out, - up_down=up_down, - st_pfxrcd=st_pfxrcd) - - # return formatted string - return show_bgp_summary.strip() - - -if __name__ == "__main__": - """Execute main program.""" - parser = ArgumentParser() - parser.add_argument("-v", "--verbose", help="print debugging messages", - action="store_true") - parser.add_argument("device", - help="NETCONF device (ssh://user:password@host:port)") - args = parser.parse_args() - device = urllib.parse.urlparse(args.device) - - # log debug messages if verbose argument specified - if args.verbose: - logger = logging.getLogger("ydk") - logger.setLevel(logging.INFO) - handler = logging.StreamHandler() - formatter = logging.Formatter(("%(asctime)s - %(name)s - " - "%(levelname)s - %(message)s")) - handler.setFormatter(formatter) - logger.addHandler(handler) - - # create NETCONF provider - provider = NetconfServiceProvider(address=device.hostname, - port=device.port, - username=device.username, - password=device.password, - protocol=device.scheme) - # create CRUD service - crud = CRUDService() - - bgp = xr_ipv4_bgp_oper.Bgp() # create object - filter_bgp(bgp) # add BGP filter details - - # read data from NETCONF device - bgp = crud.read(provider, bgp) - print(process_bgp(bgp)) # process object data - - exit() -# End of script diff --git a/md-api/xr-bgp-cfg.json b/md-api/xr-bgp-cfg.json deleted file mode 100644 index 6e14000..0000000 --- a/md-api/xr-bgp-cfg.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "Cisco-IOS-XR-ipv4-bgp-cfg:bgp": { - "instance": [ - { - "instance-name": "default", - "instance-as": [ - { - "as": 0, - "four-byte-as": [ - { - "as": 65172, - "bgp-running": [ - null - ], - "default-vrf": { - "global": { - "global-afs": { - "global-af": [ - { - "af-name": "vp-nv4-unicast", - "enable": [ - null - ] - } - ] - } - }, - "bgp-entity": { - "neighbors": { - "neighbor": [ - { - "neighbor-address": "172.16.255.2", - "remote-as": { - "as-xx": 0, - "as-yy": 65172 - }, - "update-source-interface": "Loopback0", - "neighbor-afs": { - "neighbor-af": [ - { - "af-name": "vp-nv4-unicast", - "activate": [ - null - ] - } - ] - } - } - ] - } - } - }, - "vrfs": { - "vrf": [ - { - "vrf-name": "RED", - "vrf-global": { - "exists": [ - null - ], - "route-distinguisher": { - "type": "as", - "as-xx": 0, - "as": 65172, - "as-index": 0 - }, - "vrf-global-afs": { - "vrf-global-af": [ - { - "af-name": "ipv4-unicast", - "enable": [ - null - ], - "connected-routes": { - "default-metric": 10 - } - } - ] - } - } - } - ] - } - } - ] - } - ] - } - ] - } -} - diff --git a/md-api/xr-ldp-cfg.json b/md-api/xr-ldp-cfg.json deleted file mode 100644 index 1f1eb67..0000000 --- a/md-api/xr-ldp-cfg.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "Cisco-IOS-XR-mpls-ldp-cfg:mpls-ldp": { - "enable": [ - null - ], - "default-vrf": { - "interfaces": { - "interface": [ - { - "interface-name": "GigabitEthernet0/0/0/0", - "enable": [ - null - ] - }, - { - "interface-name": "GigabitEthernet0/0/0/1", - "enable": [ - null - ] - } - ] - } - } - } -} diff --git a/md-sdk+telemetry/Cisco-IOS-XR-ip-rib-ipv4-oper.yang b/md-sdk+telemetry/Cisco-IOS-XR-ip-rib-ipv4-oper.yang new file mode 120000 index 0000000..abccf81 --- /dev/null +++ b/md-sdk+telemetry/Cisco-IOS-XR-ip-rib-ipv4-oper.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper.yang \ No newline at end of file diff --git a/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-cfg.yang b/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-cfg.yang new file mode 120000 index 0000000..05a4ad4 --- /dev/null +++ b/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-cfg.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-cfg.yang \ No newline at end of file diff --git a/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-oper.yang b/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-oper.yang new file mode 120000 index 0000000..e81814b --- /dev/null +++ b/md-sdk+telemetry/Cisco-IOS-XR-ipv4-bgp-oper.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper.yang \ No newline at end of file diff --git a/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-cfg.yang b/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-cfg.yang new file mode 120000 index 0000000..fa44c4b --- /dev/null +++ b/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-cfg.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-cfg.yang \ No newline at end of file diff --git a/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-oper.yang b/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-oper.yang new file mode 120000 index 0000000..d431702 --- /dev/null +++ b/md-sdk+telemetry/Cisco-IOS-XR-telemetry-model-driven-oper.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper.yang \ No newline at end of file diff --git a/md-sdk+telemetry/bgp-vpn-service.json b/md-sdk+telemetry/bgp-vpn-service.json new file mode 100644 index 0000000..32d88f2 --- /dev/null +++ b/md-sdk+telemetry/bgp-vpn-service.json @@ -0,0 +1,19 @@ +{ + "router": { + "name": "ler1", + "address": "198.18.1.11", + "as": 65172 + }, + "neighbors": [{ + "address": "172.16.255.2", + "as": 65172 + }], + "vrfs": [{ + "name": "RED", + "route-distinguisher": "65172:0", + "prefix": { + "address": "192.168.255.2", + "length": 32 + } + }] +} diff --git a/md-sdk+telemetry/bgp-vpn-telemetry.json b/md-sdk+telemetry/bgp-vpn-telemetry.json new file mode 100644 index 0000000..944614a --- /dev/null +++ b/md-sdk+telemetry/bgp-vpn-telemetry.json @@ -0,0 +1,13 @@ +{ + "router": { + "name": "ler1", + "address": "198.18.1.11" + }, + "destination": { + "ipv4_address": "198.18.1.127", + "port": 57400 + }, + "subscription": { + "id": "10" + } +} diff --git a/md-sdk+telemetry/configure_bgp_neighbor.py b/md-sdk+telemetry/configure_bgp_neighbor.py new file mode 100755 index 0000000..0393bf3 --- /dev/null +++ b/md-sdk+telemetry/configure_bgp_neighbor.py @@ -0,0 +1,125 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +""" +Create configuration for BGP neighbor. + +usage: configure_bgp_neighbor.py [-h] [-v] local_as neighbor_address remote_as device + +positional arguments: + local_as local autonomous system + neighbor_address neighbor address + remote_as remote autonomous system + device NETCONF device (ssh://user:password@host:port) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import argparse +import urllib.parse +import sys + +from ydk.services import CRUDService +from ydk.providers import NetconfServiceProvider +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_cfg \ + as xr_ipv4_bgp_cfg +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_datatypes \ + as xr_ipv4_bgp_datatypes +from ydk.types import Empty +import logging + + +def configure_bgp_neighbor(bgp, local_as, neighbor_address, remote_as): + """Add config data to bgp object.""" + # global configuration + instance = bgp.Instance() + instance.instance_name = "default" + instance_as = instance.InstanceAs() + instance_as.as_ = 0 + four_byte_as = instance_as.FourByteAs() + four_byte_as.as_ = local_as + four_byte_as.bgp_running = Empty() + global_af = four_byte_as.default_vrf.global_.global_afs.GlobalAf() + global_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.vpnv4_unicast + global_af.enable = Empty() + four_byte_as.default_vrf.global_.global_afs.global_af.append(global_af) + + # configure BGP neighbor + neighbor = four_byte_as.default_vrf.bgp_entity.neighbors.Neighbor() + neighbor.neighbor_address = neighbor_address + neighbor.remote_as.as_xx = 0 + neighbor.remote_as.as_yy = remote_as + neighbor.update_source_interface = "Loopback0" + neighbor_af = neighbor.neighbor_afs.NeighborAf() + neighbor_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.vpnv4_unicast + neighbor_af.activate = Empty() + neighbor.neighbor_afs.neighbor_af.append(neighbor_af) + four_byte_as.default_vrf.bgp_entity.neighbors.neighbor.append(neighbor) + + # append configuration objects + instance_as.four_byte_as.append(four_byte_as) + instance.instance_as.append(instance_as) + bgp.instance.append(instance) + + +if __name__ == "__main__": + """Execute main program.""" + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", + help="print debugging messages", + action="store_true") + parser.add_argument("local_as", + help="local autonomous system") + parser.add_argument("neighbor_address", + help="neighbor address") + parser.add_argument("remote_as", + help="remote autonomous system") + parser.add_argument("device", + help="NETCONF device (ssh://user:password@host:port)") + args = parser.parse_args() + device = urllib.parse.urlparse(args.device) + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("ydk") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create NETCONF provider + provider = NetconfServiceProvider(address=device.hostname, + port=device.port, + username=device.username, + password=device.password, + protocol=device.scheme) + # create CRUD service + crud = CRUDService() + + # BGP configuration + bgp = xr_ipv4_bgp_cfg.Bgp() + configure_bgp_neighbor(bgp, args.local_as, args.neighbor_address, args.remote_as) + + # create configuration on NETCONF device + crud.create(provider, bgp) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/configure_bgp_vpn_telemetry.py b/md-sdk+telemetry/configure_bgp_vpn_telemetry.py new file mode 100755 index 0000000..e111209 --- /dev/null +++ b/md-sdk+telemetry/configure_bgp_vpn_telemetry.py @@ -0,0 +1,138 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +""" +Create configuration for BGP VPN telemetry. + +usage: configure_bgp_vpn_telemetry.py [-h] [-v] subscription_id ipv4_address destination_port device + +positional arguments: + subscription_id telemetry subscription id + ipv4_address collector IPv4 address + destination_port collector destination port + device NETCONF device (ssh://user:password@host:port) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import argparse +import urllib.parse +import sys + +from ydk.services import CRUDService +from ydk.providers import NetconfServiceProvider +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_telemetry_model_driven_cfg \ + as xr_telemetry_model_driven_cfg +from ydk.types import Empty +import logging + + +def configure_bgp_vpn_telemetry(telemetry_model_driven, subscription_id, ipv4_address, destination_port): + """Add config data to telemetry object.""" + # destination group + destination_group = telemetry_model_driven.destination_groups.DestinationGroup() + destination_group.destination_id = "PIPELINE" + ipv4_destination = destination_group.ipv4_destinations.Ipv4Destination() + ipv4_destination.destination_port = destination_port + ipv4_destination.ipv4_address = ipv4_address + ipv4_destination.encoding = xr_telemetry_model_driven_cfg.EncodeType.self_describing_gpb + protocol = ipv4_destination.Protocol() + protocol.protocol = xr_telemetry_model_driven_cfg.ProtoType.grpc + protocol.no_tls = 1 + ipv4_destination.protocol = protocol + destination_group.ipv4_destinations.ipv4_destination.append(ipv4_destination) + telemetry_model_driven.destination_groups.destination_group.append(destination_group) + + # sensor group + sensor_group = telemetry_model_driven.sensor_groups.SensorGroup() + sensor_group.sensor_group_identifier = "BGP-VPN-SENSORS" + sensor_group.enable = Empty() + sensor_path = sensor_group.sensor_paths.SensorPath() + sensor_path.telemetry_sensor_path = "Cisco-IOS-XR-telemetry-model-driven-oper:telemetry-model-driven/subscriptions/subscription" + sensor_group.sensor_paths.sensor_path.append(sensor_path) + sensor_path = sensor_group.sensor_paths.SensorPath() + sensor_path.telemetry_sensor_path = "Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor" + sensor_group.sensor_paths.sensor_path.append(sensor_path) + sensor_path = sensor_group.sensor_paths.SensorPath() + sensor_path.telemetry_sensor_path = "Cisco-IOS-XR-ip-rib-ipv4-oper:rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/routes/route" + sensor_group.sensor_paths.sensor_path.append(sensor_path) + telemetry_model_driven.sensor_groups.sensor_group.append(sensor_group) + + # subscription + subscription = telemetry_model_driven.subscriptions.Subscription() + subscription.subscription_identifier = subscription_id + sensor_profile = subscription.sensor_profiles.SensorProfile() + sensor_profile.sensorgroupid = "BGP-VPN-SENSORS" + sensor_profile.sample_interval = 5000 + subscription.sensor_profiles.sensor_profile.append(sensor_profile) + destination_profile = subscription.destination_profiles.DestinationProfile() + destination_profile.destination_id = "PIPELINE" + destination_profile.enable = Empty() + subscription.destination_profiles.destination_profile.append(destination_profile) + telemetry_model_driven.subscriptions.subscription.append(subscription) + + +if __name__ == "__main__": + """Execute main program.""" + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", + help="print debugging messages", + action="store_true") + parser.add_argument("subscription_id", + help="telemetry subscription id") + parser.add_argument("ipv4_address", + help="collector IPv4 address") + parser.add_argument("destination_port", + help="collector destination port") + parser.add_argument("device", + help="NETCONF device (ssh://user:password@host:port)") + args = parser.parse_args() + device = urllib.parse.urlparse(args.device) + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("ydk") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create NETCONF provider + provider = NetconfServiceProvider(address=device.hostname, + port=device.port, + username=device.username, + password=device.password, + protocol=device.scheme) + # create CRUD service + crud = CRUDService() + + # telemetry configuration + telemetry_model_driven = xr_telemetry_model_driven_cfg.TelemetryModelDriven() + configure_bgp_vpn_telemetry(telemetry_model_driven, + args.subscription_id, + args.ipv4_address, + args.destination_port) + + # create configuration on NETCONF device + crud.create(provider, telemetry_model_driven) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/configure_bgp_vrf.py b/md-sdk+telemetry/configure_bgp_vrf.py new file mode 100755 index 0000000..9d06ad0 --- /dev/null +++ b/md-sdk+telemetry/configure_bgp_vrf.py @@ -0,0 +1,126 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +""" +Create configuration for BGP VRF. + +usage: configure_bgp_vrf.py [-h] [-v] local_as neighbor_address remote_as vrf_name route_distinguisher device + +positional arguments: + local_as local autonomous system + vrf_name VRF name + route_distinguisher route distinguisher (as:index) + device NETCONF device (ssh://user:password@host:port) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import argparse +import urllib.parse +import sys + +from ydk.services import CRUDService +from ydk.providers import NetconfServiceProvider +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_cfg \ + as xr_ipv4_bgp_cfg +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_datatypes \ + as xr_ipv4_bgp_datatypes +from ydk.types import Empty +import logging + + +def configure_bgp_vrf(bgp, local_as, vrf_name, route_distinguisher): + """Add config data to bgp object.""" + # global configuration + instance = bgp.Instance() + instance.instance_name = "default" + instance_as = instance.InstanceAs() + instance_as.as_ = 0 + four_byte_as = instance_as.FourByteAs() + four_byte_as.as_ = local_as + four_byte_as.bgp_running = Empty() + + # vrf configuration + vrf = four_byte_as.vrfs.Vrf() + vrf.vrf_name = vrf_name + vrf.vrf_global.exists = Empty() + vrf.vrf_global.route_distinguisher.type = xr_ipv4_bgp_cfg.BgpRouteDistinguisher.as_ + as_, as_index = route_distinguisher.split(':') + vrf.vrf_global.route_distinguisher.as_ = as_ + vrf.vrf_global.route_distinguisher.as_xx = 0 + vrf.vrf_global.route_distinguisher.as_index = as_index + vrf_global_af = vrf.vrf_global.vrf_global_afs.VrfGlobalAf() + vrf_global_af.af_name = xr_ipv4_bgp_datatypes.BgpAddressFamily.ipv4_unicast + vrf_global_af.enable = Empty() + vrf_global_af.connected_routes = vrf_global_af.ConnectedRoutes() + vrf_global_af.connected_routes.default_metric = 10 + vrf.vrf_global.vrf_global_afs.vrf_global_af.append(vrf_global_af) + four_byte_as.vrfs.vrf.append(vrf) + + # append configuration objects + instance_as.four_byte_as.append(four_byte_as) + instance.instance_as.append(instance_as) + bgp.instance.append(instance) + + +if __name__ == "__main__": + """Execute main program.""" + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", + help="print debugging messages", + action="store_true") + parser.add_argument("local_as", + help="local autonomous system") + parser.add_argument("vrf_name", + help="VRF name") + parser.add_argument("route_distinguisher", + help="route distinguisher (as:index)") + parser.add_argument("device", + help="NETCONF device (ssh://user:password@host:port)") + args = parser.parse_args() + device = urllib.parse.urlparse(args.device) + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("ydk") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create NETCONF provider + provider = NetconfServiceProvider(address=device.hostname, + port=device.port, + username=device.username, + password=device.password, + protocol=device.scheme) + # create CRUD service + crud = CRUDService() + + # BGP configuration + bgp = xr_ipv4_bgp_cfg.Bgp() + configure_bgp_vrf(bgp, args.local_as, args.vrf_name, args.route_distinguisher) + + # create configuration on NETCONF device + crud.create(provider, bgp) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/consume_telemetry.py b/md-sdk+telemetry/consume_telemetry.py new file mode 100755 index 0000000..0e6165c --- /dev/null +++ b/md-sdk+telemetry/consume_telemetry.py @@ -0,0 +1,65 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Consume streaming telemetry data from kafka bus. + +usage: consume_telemetry.py [-h] [-v] + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +from argparse import ArgumentParser + +import kafka +import sys +import json +import logging + + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = 'localhost:9092' + + +if __name__ == "__main__": + """Execute main program.""" + parser = ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("kafka") + logger.setLevel(logging.DEBUG) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER) + + # iterate over all arriving messages + for kafka_msg in kafka_consumer: + print(json.dumps(json.loads(kafka_msg.value.decode('utf-8')), indent=4)) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/deploy_bgp_vpn_service.py b/md-sdk+telemetry/deploy_bgp_vpn_service.py new file mode 100755 index 0000000..2dd76a0 --- /dev/null +++ b/md-sdk+telemetry/deploy_bgp_vpn_service.py @@ -0,0 +1,187 @@ +#!/usr/bin/env python3 +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Deploy BGP VPN service configuration. + +usage: deploy_bgp_vpn_service.py [-h] [-v] FILE + +positional arguments: + vpn_config_file_name VPN service configuration file (JSON) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import argparse +import kafka +import sys +import json +import datetime +import logging + +from ydk.services import CRUDService +from ydk.providers import NetconfServiceProvider +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_cfg \ + as xr_ipv4_bgp_cfg + +from configure_bgp_neighbor import configure_bgp_neighbor +from configure_bgp_vrf import configure_bgp_vrf +from verify_bgp_neighbor import verify_bgp_neighbor +from verify_bgp_vrf import verify_bgp_vrf + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = "localhost:9092" +KAFKA_TIMEOUT = 30 + +VALIDATE_TIMEOUT = 60 + +USERNAME = PASSWORD = "admin" +PLEN = 70 # output padding length +PCHAR = '.' # output padding character + +sys.dont_write_bytecode = True + + +def load_service_config_file(neighbor_config_file_name): + """Load neighbor configuration file (JSON)""" + with open(neighbor_config_file_name) as neighbor_config_file: + config = json.load(neighbor_config_file) + + return config + + +def init_connections(address): + """Initialize all connections""" + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER, + consumer_timeout_ms=KAFKA_TIMEOUT*1000) + + # connect to LER + provider = NetconfServiceProvider(address=address, + username=USERNAME, + password=PASSWORD) + + # create CRUD service + crud = CRUDService() + + return kafka_consumer, provider, crud + + +def format_verify_msg(status): + """Format validation message in color""" + OK = '\033[92m OK \033[0m' + FAIL = '\033[91mFAIL\033[0m' + if status: + return OK + else: + return FAIL + + +def deploy_bgp_neighbor(kafka_consumer, provider, crud, router, neighbor): + """Configure and verify BGP neighbor""" + # BGP neighbor configuration + bgp = xr_ipv4_bgp_cfg.Bgp() + configure_bgp_neighbor(bgp, + local_as=router["as"], + neighbor_address=neighbor["address"], + remote_as=neighbor["as"]) + + # create configuration on NETCONF device + crud.create(provider, bgp) + + return verify_bgp_neighbor(kafka_consumer, + node=router["name"], + neighbor_address=neighbor["address"], + timeout=VALIDATE_TIMEOUT) + + +def deploy_bgp_vrf(kafka_consumer, provider, crud, router, vrf): + """Configure and verify BGP VRF""" + # BGP VRF configuration + bgp = xr_ipv4_bgp_cfg.Bgp() + configure_bgp_vrf(bgp, + local_as=router["as"], + vrf_name=vrf["name"], + route_distinguisher=vrf["route-distinguisher"]) + + # create configuration on NETCONF device + crud.create(provider, bgp) + + return verify_bgp_vrf(kafka_consumer, + node=router["name"], + vrf_name=vrf["name"], + address=vrf["prefix"]["address"], + prefix_length=vrf["prefix"]["length"], + timeout=VALIDATE_TIMEOUT) + + +if __name__ == "__main__": + """Execute main program.""" + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + parser.add_argument("neighbor_config_file_name", + help="neighbor configuration file (JSON)") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("ydk") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + print(("{}: Loading BGP VPN config ". + format(datetime.datetime.now().time()).ljust(PLEN, PCHAR)), + end='', flush=True) + config = load_service_config_file(args.neighbor_config_file_name) + print(" [{}]".format(format_verify_msg(True))) + + print(("{}: Initializing NETCONF and Kafka connections ". + format(datetime.datetime.now().time()).ljust(PLEN, PCHAR)), + end='', flush=True) + kafka_consumer, provider, crud = init_connections(config["router"]["address"]) + print(" [{}]".format(format_verify_msg(True))) + + # deploy BGP neighbors + for neighbor in config["neighbors"]: + print(("{}: Configure BGP neighbor {} ". + format(datetime.datetime.now().time(), + neighbor["address"]).ljust(PLEN, PCHAR)), + end='', flush=True) + bgp_neighbor_status = deploy_bgp_neighbor(kafka_consumer, provider, crud, + config["router"], + neighbor) + print(" [{}]".format(format_verify_msg(bgp_neighbor_status))) + + # deploy BGP VRFs + for vrf in config["vrfs"]: + print(("{}: Configure BGP VRF {} ". + format(datetime.datetime.now().time(), + vrf["name"]).ljust(PLEN, PCHAR)), + end='', flush=True) + bgp_vrf_status = deploy_bgp_vrf(kafka_consumer, provider, crud, + config["router"], + vrf) + print(" [{}]".format(format_verify_msg(bgp_vrf_status))) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/deploy_bgp_vpn_telemetry.py b/md-sdk+telemetry/deploy_bgp_vpn_telemetry.py new file mode 100755 index 0000000..49e6505 --- /dev/null +++ b/md-sdk+telemetry/deploy_bgp_vpn_telemetry.py @@ -0,0 +1,152 @@ +#!/usr/bin/env python3 +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Deploy BGP VPN telemetry configuration. + +usage: deploy_bgp_vpn_telemetry.py [-h] [-v] FILE + +positional arguments: + vpn_telemetry_config_file_name telemetry configuration file (JSON) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import argparse +import kafka +import sys +import json +import datetime +import logging + +from ydk.services import CRUDService +from ydk.providers import NetconfServiceProvider +from ydk.models.cisco_ios_xr import Cisco_IOS_XR_telemetry_model_driven_cfg \ + as xr_telemetry_model_driven_cfg + +from configure_bgp_vpn_telemetry import configure_bgp_vpn_telemetry +from verify_bgp_vpn_telemetry import verify_bgp_vpn_telemetry + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = "localhost:9092" +KAFKA_TIMEOUT = 30 + +VALIDATE_TIMEOUT = 60 + +USERNAME = PASSWORD = "admin" +PLEN = 70 # output padding length +PCHAR = '.' # output padding character + +sys.dont_write_bytecode = True + + +def load_telemetry_config_file(telemetry_config_file_name): + """Load telemetry configuration file (JSON)""" + with open(telemetry_config_file_name) as telemetry_config_file: + config = json.load(telemetry_config_file) + + return config + + +def init_connections(address): + """Initialize all connections""" + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER, + consumer_timeout_ms=KAFKA_TIMEOUT*1000) + + # connect to LER + provider = NetconfServiceProvider(address=address, + username=USERNAME, + password=PASSWORD) + + # create CRUD service + crud = CRUDService() + + return kafka_consumer, provider, crud + + +def format_verify_msg(status): + """Format validation message in color""" + OK = '\033[92m OK \033[0m' + FAIL = '\033[91mFAIL\033[0m' + if status: + return OK + else: + return FAIL + + +def deploy_bgp_vpn_telemetry(kafka_consumer, provider, crud, router, destination, subscription): + """Configure and verify BGP VPN telemetry""" + # BGP VPN telemetry configuration + telemetry_model_driven = xr_telemetry_model_driven_cfg.TelemetryModelDriven() + configure_bgp_vpn_telemetry(telemetry_model_driven, + subscription_id=subscription["id"], + ipv4_address=destination["ipv4_address"], + destination_port=destination["port"]) + + # create configuration on NETCONF device + crud.create(provider, telemetry_model_driven) + + return verify_bgp_vpn_telemetry(kafka_consumer, + node=router["name"], + subscription_id=subscription["id"], + timeout=VALIDATE_TIMEOUT) + +if __name__ == "__main__": + """Execute main program.""" + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + parser.add_argument("telemetry_config_file_name", + help="telemetry configuration file (JSON)") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("ydk") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + print(("{}: Loading telemetry config ". + format(datetime.datetime.now().time()).ljust(PLEN, PCHAR)), + end='', flush=True) + config = load_telemetry_config_file(args.telemetry_config_file_name) + print(" [{}]".format(format_verify_msg(True))) + + print(("{}: Initializing NETCONF and Kafka connections ". + format(datetime.datetime.now().time()).ljust(PLEN, PCHAR)), + end='', flush=True) + kafka_consumer, provider, crud = init_connections(config["router"]["address"]) + print(" [{}]".format(format_verify_msg(True))) + + # deploy BGP VPN telemetry + print(("{}: Configure BGP VPN telemetry ". + format(datetime.datetime.now().time()).ljust(PLEN, PCHAR)), + end='', flush=True) + bgp_vpn_telemetry_status = deploy_bgp_vpn_telemetry(kafka_consumer, provider, crud, + config["router"], + config["destination"], + config["subscription"]) + print(" [{}]".format(format_verify_msg(bgp_vpn_telemetry_status))) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/pipeline/pipeline.conf b/md-sdk+telemetry/pipeline/pipeline.conf new file mode 100644 index 0000000..ff51a87 --- /dev/null +++ b/md-sdk+telemetry/pipeline/pipeline.conf @@ -0,0 +1,439 @@ +############################################## +# Global bits of config in the default section +# +[default] + +# +# ID is used to identify pipeline to third parties, e.g. fluentd tag +# and prometheus instance +id = pipeline + +# +# Prometheus setup to export metrics about the pipeline. This is where +# prometheus will come and scrape metrics from. This configuration is +# only pertinent if you plan to monitor the pipeline itself using +# prometheus - and can be ignored. You can to comment out +# metamonitoring_prometheus_resource to stop from serving metrics. If +# you do wish to monitor pipeline, tools/monitor/run.sh will fire +# prometheus and grafana with some prebuilt dashboards (requires +# docker). Point a browser at localhost:3000 as per +# https://github.com/grafana/grafana#running +# +metamonitoring_prometheus_resource = /metrics +metamonitoring_prometheus_server = :8989 + +# fluentd setup allows pipeline to export its logs in support of +# manageability at scale. Tag used is derived from ID +# +# fluentd = localhost:24224 + +# base_path_xlation +# This option points at a file which contains JSON base path mappings +# of base_path. This is typically used to morph PDT to MDT paths on +# input side where it makes sense (i.e. gpb and gpb codecs). Not +# applied to SNMP since base path is derived from snmp spec. (JSON is +# missing because today Telemetry header it not assumed for JSON +# inputs. This may change in the future. +# base_path_xlation=bpx.json + +# +# Section start with a section name. The only constraint for section +# names is that 'default' is not used. You can have as many sections +# as you wish, as long as each section has a unique name. + +############################################## +# Example of a TCP dialout (router connects to pipeline over TCP) +# +# [testbed] +# stage = xport_input +# +# Module type, the type dictates the rest of the options in the section. +# TCP can only be used as xport_iinput currently. UDP works similarly. +# +# type = tcp +# +# Supported encapsulation is 'st' for streaming telemetry header. This +# is the header used to carry streaming telemetry payload in TCP and UDP. +# +# encap = st +# +# TCP option dictating which binding to listen on. Can be a host name +# or address and port, or just port. +# +# listen = :5432 +# +# To enable dumping data as it is rxed, uncomment the following, and +# run with --debug option. +# +# logdata = on +# +# It is also possible to turn on TCP keepalives. Setting keepalive to +# 0 (default) stops pipeline from explicitly turning on +# keepalives. Otherwise, keepalive is turned on with period. TCP +# Keepalives do NOT need any special explicit configuration or support +# from the other end. +# +# keepalive_seconds = 0 + +############################################## +# Example of a gRPC dialin (pipeline connects to router over gRPC) +# [mymdtrouter] +# stage = xport_input +# +# grpc: in the role client connecting to router doing server side +# streaming. +# +# type = grpc +# +# Encoding requested by grpc client: gpbcompact, gpbkv +# This is only pertinent to dialin and describes the request +# to the router - i.e. do I want compact or k/v payload +# encoding = gpbkv +# +# Encapsulation pushed by client: gpb, gpbkv, gpbcompact +# As of 6.1.1 release, we support gpb (which is a common +# header used to carry compact and k/v gpb). In older +# releases, it might be necessary to configure compact or k/v. +# encap = gpb +# +# Server to connect to +# +#server = 192.168.123.2:57344 +# +# Subscription IDs to subscribe to, as configured on the router. Set +# is specified as a comma separated string of subscription ID names. +# +#subscriptions = sub1,sub2 +# +# +# Access control options; TLS, username/password +# +# TLS enabled or not, CA cert in PEM, and server name to accept. +# +# tls = false +# tls_pem = ca.pem +# tls_servername = tlsservername +# +# username/password +# +# Public key encrypted password is specified here. The pem with RSA +# key used to encrypt passwords is passed in as a cli argument. +# +# The encrypted password will be generated if pipeline is run, -pem is +# specified, and password option is NOT included in the section. In +# that user will be prompted for user/pass, and a new separate copy of +# configuration will be created for convenience. +# +# Passphrase-less RSA key pair can be generated using ssh-keygen if +# necessary: 'ssh-keygen -t rsa -b 4096' +# +# username = johndoe +# password = eBzbEJi6dXF+a9gmII7lJdtbd9o8HCDwjJqZl2eK... +# +# To enable dumping data as it is rxed, uncomment the following, and +# run with --debug option. +# +# logdata = on +# + +# [mymdtrouter] +# stage = xport_input +# type = grpc +# encoding = gpbkv +# server = 192.168.123.2:57344 +# subscriptions = HEALTH,QOS +# tls = true +# tls_pem = ca.pem +# tls_servername = tlsservername +# username = johndoe +# password = eBzbEJi6dXF+a9gmII7lJdtbd9o8HCDwjJqZl2eK... + +############################################## +# Example of a gRPC dialout (router connects to pipeline over gRPC) +[gRPCDialout] +# +stage = xport_input +# +# grpc: in the role of server with router connecting to pipeline and +# client side streaming. +# +type = grpc +# +# encap = gpb +# Encapsulation pushed by client: gpb, gpbkv, gpbcompact. +# As of 6.1.1 release, we support gpb (which is a common +# header used to carry compact and k/v gpb), and we default +# to gpb. In older releases, it might be necessary to configure +# compact or k/v. +# +# Socket to listen on +# +listen = :57400 +# +# Access control options; TLS +# +# TLS enabled or not, server CA cert in PEM, and server name cert +# issued for. (Look for CN in 'openssl x509 -noout -text -in ') +# +# tls = false +# tls_pem = cert.pem +# tls_key = server.key +# tls_servername = tlsservername +# +# To enable dumping data as it is rxed, uncomment the following, and +# run with --debug option. +# +# logdata = on +# + +############################################## +# Example of a replay input stage: used to replay telemetry archive +# +# [replay_archive] +# stage = xport_input +# type = replay +# +# Mandatory setting indicating file containing the archive. The archive +# can be generated from real telemetry using an output 'tap' module +# configured with `raw=true` instead of an `encoding=` option. +# file = dump.bin +# +# The archive in the file will be replayed over and over unless the +# number of messages required is specified and if loop is set to +# true. This number of messages sent can be specified using the firstn +# option. Note that if firstn exceeds the number of message in the +# archive the stamped time will go back. (In future, a restamp option +# may be made available.) Loop is ignored if firstn is set. +# loop = false +# firstn = 1000 +# +# The delay between messages originated can be configured in micorseconds +# using the delayusec option. Default is for a 200ms delay between replayed +# messages +# delayusec = 200000 + + +############################################## +# Example of a kafka output stage: used to publish content to kafka +# +[mykafka] +stage = xport_output +# +# Module type: kafka publisher is only supported in xport_output stage currently. +# +type = kafka +# +# Kafka specific key option. This is an optional setting and is +# specific to a weird requirement of our home grown consumer on kafka +# bus. +# +# key = id +# +# Encoding: gpb, gpbkv, json or json_events +# +encoding = json +# +# Kafka specific option. The brokers for the kafka bus +# +brokers = localhost:9092 +# +# Kafka specific option. The topic to publish against. +# +topic = pipeline +# +# Optional: It is also possible to specify a dynamic derivation of +# topic to send on. This mechanism is a text template applied to the +# metadata of the message; currently a structure containing the Path +# (encoding path) and Identifier (router name) fields. In future the +# whole message body may be exposed. In the case where the template +# fails to extract and return a string, the message will be published +# on 'topic' above. +# +# The example extract encoding path: +# +# topic_metadata_template = topic_template_testb.txt +# +# The option required_acks can be used to influence whether the +# producer waits for acknowledgments from just the local broker +# (i.e. the broker to which the message is published), or for a +# consensus commit from replicas. The options are "local" and "commit" +# respectively. By default, we default to "none". +# +# required_acks = none +# +# The optional buffered channel depth used to accommodate transient +# producer/consumer throughput. +# +# datachanneldepth = 1000 +# +# To enable dumping data as it is rxed, uncomment the following, and +# run with --debug option. +# +# logdata = on + +############################################## +# Example of kafka input stage: used to consume content from kafka +# +# [kafkaconsumer] +# type = kafka +# key = path_and_id +# stage = xport_input +# brokers = kafka.example.com:9092 +# topic = consumertopic3 +# +# Multiple clients can dynamically loadbalance consumption from different +# partitions as long as they share the same consumer group name +# consumergroup = mycollectors +# encoding = json +# logdata = on + +############################################## +# Example of a tap stage; dump content to file, or at least count messages +# +# [inspector] +# stage = xport_output +# +# Module type: tap is only supported in xport_output stage currently. +# +# type = tap +# +# File to dump decoded messages +# +# file = /data/dump.txt +# +# encoding = json +# +# Options: json_events | gpb, gpb_kv. If format is a binary format, or +# not supported for input encoding in use (gpb if proto is available, +# gpbk/v or JSON), we fall back to hex. Default is JSON +# + +# raw = true +# +# If raw is set to true, no encoding should be specified. The outcome +# is that raw payload is dumped on top of a streaming telemetry +# header. The resulting archive can be replayed (i.e. reread and fed +# to output stages) by pipeline using the 'replay' input module. +# + +# The optional buffered channel depth used to accommodate transient +# producer/consumer throughput. +# +datachanneldepth = 1000 + +# If all we want to do is count frames, set countonly to true +# +# countonly = false + +############################################## +# Example of a metrics stage; allows us to export content to a time +# series database (influxdb or prometheus) as well as measure time +# distribution of samples. +# +# [mymetrics] +# stage = xport_output +# +# Module type: metrics is only supported in xport_output stage +# +# type = metrics +# +# Spec of metrics to collect in metrics.json +# +# file = /data/metrics.json +# +# The optional buffered channel depth used to accommodate transient +# producer/consumer throughput. +# +# datachanneldepth = 1000 +# +# For troubleshooting purposes, it is possible to dump the metrics to +# a local file/s, in order to understand what is being exported from +# persepective of pipeline metrics module. +# +# dump = metricsdump.txt +# +# What type of package we export too. Options include influx or prometheus. +# +# output = influx +# +# Config options for influx is currently +# +# Influx server +# influx = http://influx.example.com:8086 +# +# Database to populate, currently static (might be templatised in the future). +# Expectation is that database exists and user has read/write access. +# database = dbname +# +# Workers; number of different sessions set up with influx node. +# workers = 10 +# + +# Config options for prometheus is currently +# +# Prometheus option: pushgw, address:port where to push metrics too +# +# pushgw = pushgw.example.com:9091 +# +# Prometheus option: jobname provides the prometheus jobname associated +# with all exported metrics. Default provided +# +# jobname = telemetry +# +# Prometheus option: instance provides the prometheus instance +# associated with all exported metrics from this pipeline. Default +# provided is to use ID (in default section) +# +# instance = myinstance +# +# Track statistics about metrics collections. This only makes sense if +# we are metamonitoring too i.e. metamonitoring configuration. Sensor +# collection stats are tracked if the metric specification indicates +# "track": true for the sensor in question. For any sensor marked +# "track" we export to prometheus statistics about the intersample +# gap. This allows us to visualise median period, as well as 90th and +# 99th percentile of all periods. In other words, we can plot over +# time the period within which n (for n = 50, 90 or 99) % the next +# sample is received. +# +# Max number of sensor instances tracked at one time? Not cheap +# (e.g. we stach labels)! Must be set for any stats to be exported. +# statsensorcount = 1000 + +############################################## +# Example of a grpcOut stage which allows other parties to pull +# content from pipeline over gRPC. pipeline acts as a server and +# server side streams all content received using the specified +# encoding (usual matrix of input/output encoding applies) + +# [mygrpcout] +# type = grpc +# stage = xport_output +# encoding = json +# listen = localhost:5959 +# logdata = off + +############################################## +# Example of how to apply template transformation on content pushed +# out of any output stage (exception: metrics output). Template is +# applied over GPB K/V input streams (others will follow if required) +# and uses golang text templates. +# +# [templatetest] +# stage = xport_output +# type = tap +# file = dumpfiltererd.txt +# encoding = template +# template = filter_test.json + +############################################## +# Example of a UDP stage which allows other parties to connect +# over UDP and produce content over the st header (same as TCP) + +# [udpin] +# type = udp +# stage = xport_input +# listen = localhost:5958 +# encap = st +# logdata = off + diff --git a/md-sdk+telemetry/verify_bgp_neighbor.py b/md-sdk+telemetry/verify_bgp_neighbor.py new file mode 100755 index 0000000..5e7563a --- /dev/null +++ b/md-sdk+telemetry/verify_bgp_neighbor.py @@ -0,0 +1,101 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Verify BGP neighbor operation. + +usage: verify_bgp_neighbor.py [-h] [-v] node neighbor_address + +positional arguments: + node node streaming interface status + neighbor_address neighbor address + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import kafka +import sys +import json +import time +import logging + +from argparse import ArgumentParser + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = 'localhost:9092' +SESSION_STATE_ESTABLISHED = "bgp-st-estab" +VALIDATION_TIMEOUT = 30 + + +def verify_bgp_neighbor(kafka_consumer, node, neighbor_address, + session_state=SESSION_STATE_ESTABLISHED, + timeout=VALIDATION_TIMEOUT): + """Verify BGP session state.""" + telemetry_encoding_path = "Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor" + start_time = time.time() + # iterate over all arriving messages + for kafka_msg in kafka_consumer: + msg = json.loads(kafka_msg.value.decode('utf-8')) + # if message is operational BGP data + if (msg["Telemetry"]["node_id_str"] == node and + msg["Telemetry"]["encoding_path"] == telemetry_encoding_path + and "Rows" in msg): + for row in msg["Rows"]: + # if neighbor in intended session state + if (row["Keys"]["instance-name"] == "default" + and row["Keys"]["neighbor-address"] == neighbor_address + and row["Content"]["connection-state"] == session_state): + return True + + if time.time() - start_time > timeout: + break + + return False + + +if __name__ == "__main__": + """Execute main program.""" + parser = ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + parser.add_argument("node", + help="node router streaming interface status") + parser.add_argument("neighbor_address", + help="neighbor address") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("kafka") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER, + consumer_timeout_ms=VALIDATION_TIMEOUT*1000) + + print(verify_bgp_neighbor(kafka_consumer, + args.node, args.neighbor_address)) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/verify_bgp_vpn_telemetry.py b/md-sdk+telemetry/verify_bgp_vpn_telemetry.py new file mode 100755 index 0000000..a8204b5 --- /dev/null +++ b/md-sdk+telemetry/verify_bgp_vpn_telemetry.py @@ -0,0 +1,112 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Verify BGP VPN telemetry operation. + +usage: verify_bgp_vpn_telemetry.py [-h] [-v] node subscription_id + +positional arguments: + node node streaming telemetry data + subscription_id telemetry subscription id + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import kafka +import sys +import json +import time +import logging + +from argparse import ArgumentParser + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = 'localhost:9092' +VALIDATION_TIMEOUT = 30 +MAX_VALIDATION_SAMPLES = 3 + +def verify_bgp_vpn_telemetry(kafka_consumer, node, subscription_id, + max_validation_samples=MAX_VALIDATION_SAMPLES, + timeout=VALIDATION_TIMEOUT): + """Verify BGP VPN telemetry operation.""" + telemetry_encoding_path = "Cisco-IOS-XR-telemetry-model-driven-oper:telemetry-model-driven/subscriptions/subscription" + packets_sent = 0 + increasing_packets_sent = True + validation_sample_count = 0 + start_time = time.time() + # iterate over all arriving messages + for kafka_msg in kafka_consumer: + msg = json.loads(kafka_msg.value.decode('utf-8')) + # if message is operational telemetry data + if (msg["Telemetry"]["node_id_str"] == node and + msg["Telemetry"]["encoding_path"] == telemetry_encoding_path + and "Rows" in msg): + for row in msg["Rows"]: + if (row["Keys"]["subscription-id"] == subscription_id): + increasing_packets_sent &= (row["Content"] + ["subscription"] + ["destination-grps"] + ["destinations"] + ["total-num-of-packets-sent"] > packets_sent) + packets_sent = row["Content"]["subscription"]["destination-grps"]["destinations"]["total-num-of-packets-sent"] + validation_sample_count += 1 + # if packets sent increased for the number of max_validation_samples + if (increasing_packets_sent): + if (validation_sample_count == max_validation_samples): + return True + else: + return False + + if time.time() - start_time > timeout: + break + + return False + + +if __name__ == "__main__": + """Execute main program.""" + parser = ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + parser.add_argument("node", + help="node streaming telemetry data") + parser.add_argument("subscription_id", + help="telemetry subscription id") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("kafka") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER, + consumer_timeout_ms=VALIDATION_TIMEOUT*1000) + + print(verify_bgp_vpn_telemetry(kafka_consumer, + args.node, args.subscription_id)) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/verify_bgp_vrf.py b/md-sdk+telemetry/verify_bgp_vrf.py new file mode 100755 index 0000000..e6d9120 --- /dev/null +++ b/md-sdk+telemetry/verify_bgp_vrf.py @@ -0,0 +1,110 @@ +#!/usr/bin/env python3 +# +# Copyright 2018 Cisco Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +Verify BGP VRF prefix. + +usage: verify_bgp_vrf.py [-h] [-v] node vrf_name address prefix_length + +positional arguments: + node node streaming interface status + vrf_name VRF name + address prefix address + prefix_length prefix length + +optional arguments: + -h, --help show this help message and exit + -v, --verbose print debugging messages +""" + +import kafka +import sys +import json +import time +import logging + +from argparse import ArgumentParser + +KAFKA_TOPIC = 'pipeline' +KAFKA_BOOTSTRAP_SERVER = 'localhost:9092' +VALIDATION_TIMEOUT = 30 + + +def verify_bgp_vrf(kafka_consumer, node, vrf_name, address, prefix_length, + timeout=VALIDATION_TIMEOUT): + """Verify BGP route state.""" + telemetry_encoding_path = "Cisco-IOS-XR-ip-rib-ipv4-oper:rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/routes/route" + start_time = time.time() + # iterate over all arriving messages + for kafka_msg in kafka_consumer: + msg = json.loads(kafka_msg.value.decode('utf-8')) + # if message is operational RIB data + if (msg["Telemetry"]["node_id_str"] == node and + msg["Telemetry"]["encoding_path"] == telemetry_encoding_path + and "Rows" in msg): + for row in msg["Rows"]: + # if intended IPv4 unicast prefix present in RIB + if (row["Keys"]["vrf-name"] == vrf_name + and row["Keys"]["af-name"] == "IPv4" + and row["Keys"]["saf-name"] == "Unicast" + and row["Keys"]["route-table-name"] == "default" + and row["Keys"]["address"] == address + and row["Keys"]["prefix-length"] == prefix_length + and row["Content"]["protocol-name"] == "bgp"): + return True + + if time.time() - start_time > timeout: + break + + return False + + +if __name__ == "__main__": + """Execute main program.""" + parser = ArgumentParser() + parser.add_argument("-v", "--verbose", help="print debugging messages", + action="store_true") + parser.add_argument("node", + help="node router streaming interface status") + parser.add_argument("vrf_name", + help="VRF name") + parser.add_argument("address", + help="prefix address") + parser.add_argument("prefix_length", + help="prefix length") + args = parser.parse_args() + + # log debug messages if verbose argument specified + if args.verbose: + logger = logging.getLogger("kafka") + logger.setLevel(logging.INFO) + handler = logging.StreamHandler() + formatter = logging.Formatter(("%(asctime)s - %(name)s - " + "%(levelname)s - %(message)s")) + handler.setFormatter(formatter) + logger.addHandler(handler) + + # create kafka consumer to pipeline topic + kafka_consumer = kafka.KafkaConsumer(KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVER, + consumer_timeout_ms=VALIDATION_TIMEOUT*1000) + + print(verify_bgp_vrf(kafka_consumer, + args.node, args.vrf_name, args.address, + int(args.prefix_length))) + + sys.exit() +# End of script diff --git a/md-sdk+telemetry/xr-bgp-neighbor-cfg.xml b/md-sdk+telemetry/xr-bgp-neighbor-cfg.xml new file mode 100644 index 0000000..03a8750 --- /dev/null +++ b/md-sdk+telemetry/xr-bgp-neighbor-cfg.xml @@ -0,0 +1,40 @@ + + + default + + 0 + + 65172 + + + + + + 172.16.255.2 + Loopback0 + + + vpnv4-unicast + + + + + 0 + 65172 + + + + + + + + vpnv4-unicast + + + + + + + + + diff --git a/md-sdk+telemetry/xr-bgp-vpn-telemetry-cfg.xml b/md-sdk+telemetry/xr-bgp-vpn-telemetry-cfg.xml new file mode 100644 index 0000000..a8bcf9a --- /dev/null +++ b/md-sdk+telemetry/xr-bgp-vpn-telemetry-cfg.xml @@ -0,0 +1,51 @@ + + + + + PIPELINE + + + 198.18.1.127 + 57400 + self-describing-gpb + + grpc + 1 + + + + + + + + BGP-VPN-SENSORS + + + Cisco-IOS-XR-telemetry-model-driven-oper:telemetry-model-driven/subscriptions/subscription + + + Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor + + + Cisco-IOS-XR-ip-rib-ipv4-oper:rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/routes/route + + + + + + + 10 + + + BGP-VPN-SENSORS + 5000 + + + + + PIPELINE + + + + + diff --git a/md-sdk+telemetry/xr-bgp-vrf-cfg.xml b/md-sdk+telemetry/xr-bgp-vrf-cfg.xml new file mode 100644 index 0000000..f0805cd --- /dev/null +++ b/md-sdk+telemetry/xr-bgp-vrf-cfg.xml @@ -0,0 +1,35 @@ + + + default + + 0 + + 65172 + + + + RED + + + + as + 0 + 65172 + 0 + + + + ipv4-unicast + + + 10 + + + + + + + + + + diff --git a/md-sdk/Cisco-IOS-XR-mpls-ldp-cfg.yang b/md-sdk/Cisco-IOS-XR-mpls-ldp-cfg.yang new file mode 120000 index 0000000..bf8451f --- /dev/null +++ b/md-sdk/Cisco-IOS-XR-mpls-ldp-cfg.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg.yang \ No newline at end of file diff --git a/md-sdk/Cisco-IOS-XR-mpls-ldp-oper.yang b/md-sdk/Cisco-IOS-XR-mpls-ldp-oper.yang new file mode 120000 index 0000000..9183f58 --- /dev/null +++ b/md-sdk/Cisco-IOS-XR-mpls-ldp-oper.yang @@ -0,0 +1 @@ +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper.yang \ No newline at end of file diff --git a/md-api/nc-create-xr-mpls-ldp-cfg-99-ydk.py b/md-sdk/nc-create-xr-mpls-ldp-cfg-99-ydk.py similarity index 100% rename from md-api/nc-create-xr-mpls-ldp-cfg-99-ydk.py rename to md-sdk/nc-create-xr-mpls-ldp-cfg-99-ydk.py diff --git a/md-api/nc-read-xr-mpls-ldp-oper-99-ydk.py b/md-sdk/nc-read-xr-mpls-ldp-oper-99-ydk.py similarity index 88% rename from md-api/nc-read-xr-mpls-ldp-oper-99-ydk.py rename to md-sdk/nc-read-xr-mpls-ldp-oper-99-ydk.py index 9d5f06e..6809c92 100755 --- a/md-api/nc-read-xr-mpls-ldp-oper-99-ydk.py +++ b/md-sdk/nc-read-xr-mpls-ldp-oper-99-ydk.py @@ -45,8 +45,8 @@ def filter_ldp(ldp): af = mpls_ldp.global_.active.default_vrf.afs.Af() af.af_name = xr_mpls_ldp_oper.MplsLdpOperAfName.ipv4 binding = af.bindings.Binding() - binding.local_label.yfilter = YFilter.read - binding.le_local_binding_revision.yfilter = YFilter.read + binding.local_label = YFilter.read + binding.le_local_binding_revision = YFilter.read rbinding = binding.RemoteBinding() rbinding.yfilter = YFilter.read binding.remote_binding.append(rbinding) @@ -72,24 +72,24 @@ def process_mpls_ldp(mpls_ldp): # iterate over all LDP bindings for binding in mpls_ldp.global_.active.default_vrf.afs.af[0].bindings.binding: - if str(binding.local_label) in label: - local_label = label[str(binding.local_label)] + if binding.local_label in label: + local_label = label[binding.local_label] else: - local_label = str(binding.local_label) + local_label = binding.local_label show_mpls_ldp_bindings += prefix_row.format(prefix=binding.prefix, - rev=str(binding.le_local_binding_revision)) + rev=binding.le_local_binding_revision) show_mpls_ldp_bindings += local_binding_row.format(label=local_label) show_mpls_ldp_bindings += peers_row.format(num_peers=len(binding.remote_binding)) show_mpls_ldp_bindings += peer_header # iterate over all remote bindings for a given prefix for remote_binding in binding.remote_binding: - if str(remote_binding.remote_label) in label: - remote_label = label[str(remote_binding.remote_label)] + if remote_binding.remote_label in label: + remote_label = label[remote_binding.remote_label] else: - remote_label = str(remote_binding.remote_label) + remote_label = remote_binding.remote_label peer_ident = remote_binding.assigning_peer_ldp_ident - peer_label_space_id = "{}:{}".format(peer_ident.lsr_id, str(peer_ident.label_space_id)) + peer_label_space_id = "{}:{}".format(peer_ident.lsr_id, peer_ident.label_space_id) show_mpls_ldp_bindings += remote_binding_row.format(peer=peer_label_space_id, label=remote_label) # return formatted string diff --git a/md-sdk/xr-mpls-ldp-cfg.xml b/md-sdk/xr-mpls-ldp-cfg.xml new file mode 100644 index 0000000..93e42b9 --- /dev/null +++ b/md-sdk/xr-mpls-ldp-cfg.xml @@ -0,0 +1,16 @@ + + + + + + + GigabitEthernet0/0/0/0 + + + + GigabitEthernet0/0/0/1 + + + + + diff --git a/netconf/Cisco-IOS-XR-aaa-lib-cfg.yang b/netconf/Cisco-IOS-XR-aaa-lib-cfg.yang index 893a497..cd30536 120000 --- a/netconf/Cisco-IOS-XR-aaa-lib-cfg.yang +++ b/netconf/Cisco-IOS-XR-aaa-lib-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-aaa-lib-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-aaa-locald-cfg.yang b/netconf/Cisco-IOS-XR-aaa-locald-cfg.yang index 6344f7d..7e71b49 120000 --- a/netconf/Cisco-IOS-XR-aaa-locald-cfg.yang +++ b/netconf/Cisco-IOS-XR-aaa-locald-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-aaa-locald-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-clns-isis-cfg.yang b/netconf/Cisco-IOS-XR-clns-isis-cfg.yang index 0dd4791..d578b6e 120000 --- a/netconf/Cisco-IOS-XR-clns-isis-cfg.yang +++ b/netconf/Cisco-IOS-XR-clns-isis-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-crypto-sam-cfg.yang b/netconf/Cisco-IOS-XR-crypto-sam-cfg.yang deleted file mode 120000 index b68d0e5..0000000 --- a/netconf/Cisco-IOS-XR-crypto-sam-cfg.yang +++ /dev/null @@ -1 +0,0 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-crypto-ssh-cfg.yang b/netconf/Cisco-IOS-XR-crypto-ssh-cfg.yang index 5f23886..1707f20 120000 --- a/netconf/Cisco-IOS-XR-crypto-ssh-cfg.yang +++ b/netconf/Cisco-IOS-XR-crypto-ssh-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-ifmgr-cfg.yang b/netconf/Cisco-IOS-XR-ifmgr-cfg.yang index 2a8346d..be8e22b 120000 --- a/netconf/Cisco-IOS-XR-ifmgr-cfg.yang +++ b/netconf/Cisco-IOS-XR-ifmgr-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang b/netconf/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang index 96b5c66..82a4c64 120000 --- a/netconf/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang +++ b/netconf/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-infra-rsi-cfg.yang b/netconf/Cisco-IOS-XR-infra-rsi-cfg.yang index a6a4c0a..ca0d1f1 120000 --- a/netconf/Cisco-IOS-XR-infra-rsi-cfg.yang +++ b/netconf/Cisco-IOS-XR-infra-rsi-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-ipv4-bgp-cfg.yang b/netconf/Cisco-IOS-XR-ipv4-bgp-cfg.yang index 6a9ae32..05a4ad4 120000 --- a/netconf/Cisco-IOS-XR-ipv4-bgp-cfg.yang +++ b/netconf/Cisco-IOS-XR-ipv4-bgp-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-man-ems-cfg.yang b/netconf/Cisco-IOS-XR-man-ems-cfg.yang index d6e03ad..7b94d6b 120000 --- a/netconf/Cisco-IOS-XR-man-ems-cfg.yang +++ b/netconf/Cisco-IOS-XR-man-ems-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-man-netconf-cfg.yang b/netconf/Cisco-IOS-XR-man-netconf-cfg.yang index bbd597c..596f532 120000 --- a/netconf/Cisco-IOS-XR-man-netconf-cfg.yang +++ b/netconf/Cisco-IOS-XR-man-netconf-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-netconf-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-netconf-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-mpls-ldp-cfg.yang b/netconf/Cisco-IOS-XR-mpls-ldp-cfg.yang index bd5a82f..bf8451f 120000 --- a/netconf/Cisco-IOS-XR-mpls-ldp-cfg.yang +++ b/netconf/Cisco-IOS-XR-mpls-ldp-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-mpls-oam-cfg.yang b/netconf/Cisco-IOS-XR-mpls-oam-cfg.yang index 67d874a..df2115a 120000 --- a/netconf/Cisco-IOS-XR-mpls-oam-cfg.yang +++ b/netconf/Cisco-IOS-XR-mpls-oam-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-pfi-im-cmd-oper.yang b/netconf/Cisco-IOS-XR-pfi-im-cmd-oper.yang index 5bb9560..43c3b57 120000 --- a/netconf/Cisco-IOS-XR-pfi-im-cmd-oper.yang +++ b/netconf/Cisco-IOS-XR-pfi-im-cmd-oper.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-shellutil-cfg.yang b/netconf/Cisco-IOS-XR-shellutil-cfg.yang index 0d20255..2d76bf0 120000 --- a/netconf/Cisco-IOS-XR-shellutil-cfg.yang +++ b/netconf/Cisco-IOS-XR-shellutil-cfg.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-cfg.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-cfg.yang \ No newline at end of file diff --git a/netconf/Cisco-IOS-XR-shellutil-oper.yang b/netconf/Cisco-IOS-XR-shellutil-oper.yang index ef883aa..0377e2c 120000 --- a/netconf/Cisco-IOS-XR-shellutil-oper.yang +++ b/netconf/Cisco-IOS-XR-shellutil-oper.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper.yang \ No newline at end of file diff --git a/netconf/ietf-netconf-monitoring.yang b/netconf/ietf-netconf-monitoring.yang index 4a2717b..63593e1 120000 --- a/netconf/ietf-netconf-monitoring.yang +++ b/netconf/ietf-netconf-monitoring.yang @@ -1 +1 @@ -../yang/modules/cisco-ios-xr/631/ietf-netconf-monitoring.yang \ No newline at end of file +../yang/modules/cisco-ios-xr/632/ietf-netconf-monitoring.yang \ No newline at end of file diff --git a/netconf/xr-clock-oper-filter.xml b/netconf/xr-clock-oper-filter.xml new file mode 100644 index 0000000..a2d51a2 --- /dev/null +++ b/netconf/xr-clock-oper-filter.xml @@ -0,0 +1,6 @@ + + + PST + PST8PDT + + diff --git a/netconf/xr-grpc-cfg-merge.xml b/netconf/xr-grpc-cfg-merge.xml index 26a2711..6a60943 100644 --- a/netconf/xr-grpc-cfg-merge.xml +++ b/netconf/xr-grpc-cfg-merge.xml @@ -1,4 +1,3 @@ - diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-cfg.yang deleted file mode 100644 index eb839e0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-cfg.yang +++ /dev/null @@ -1,317 +0,0 @@ -module Cisco-IOS-XR-Ethernet-SPAN-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg"; - - - prefix "ethernet-span-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-Ethernet-SPAN-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2vpn-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN package configuration. - - This module contains definitions - for the following management objects: - span-monitor-session: none - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2vpn-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Span-traffic-direction { - type enumeration { - enum rx-only { - value 1; - description "Replicate only received (ingress) traffic"; - } - enum tx-only { - value 2; - description "Replicate only transmitted (egress) traffic"; - } - } - description "Span traffic direction"; - } - typedef Span-mirror-interval { - type enumeration { - enum 512 { - value 1; - description "Mirror 1 in every 512 packets"; - } - enum 1k { - value 2; - description "Mirror 1 in every 1024 packets"; - } - enum 2k { - value 3; - description "Mirror 1 in every 2048 packets"; - } - enum 4k { - value 4; - description "Mirror 1 in every 4096 packets"; - } - enum 8k { - value 5; - description "Mirror 1 in every 8192 packets"; - } - enum 16k { - value 6; - description "Mirror 1 in every 16384 packets"; - } - } - description "Span mirror interval"; - } - typedef Span-destination { - type enumeration { - enum interface { - value 0; - description "Destination Interface"; - } - enum pseudowire { - value 1; - description "Destination Pseudowire"; - } - enum ipv4-address { - value 2; - description "Destination next-hop IPv4 address"; - } - enum ipv6-address { - value 3; - description "Destination next-hop IPv6 address"; - } - } - description "Span destination"; - } - - grouping MIRROR-INTERVAL { - description - "Common node of span-monitor-session, - span-monitor-session"; - leaf mirror-interval { - type Span-mirror-interval; - description "Specify the mirror interval"; - } - } - - grouping MIRROR-FIRST { - description - "Common node of span-monitor-session, - span-monitor-session"; - leaf mirror-first { - type uint32 { - range "1..10000"; - } - units "byte"; - description - "Mirror a specified number of bytes from start of - packet"; - } - } - - grouping SPAN-MONITOR-SESSION-TABLE { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - - container span-monitor-sessions { - description "Monitor Session container for this template"; - - list span-monitor-session { - key "session-class"; - description - "Configuration for a particular class of Monitor - Session"; - leaf session-class { - type dt1:Span-session-class; - description "Session Class"; - } - uses MIRROR-FIRST; - uses ATTACHMENT; - uses MIRROR-INTERVAL; - uses ACL; - } - } - } - - grouping ETHERNET-SPAN-INTERFACE-CFG-SPAN-MONITOR-SESSION-TABLE { - description - "Common node of ip-subscriber, ppp, - subscriber-serviceCommon node of - interface-configuration, l2-transport"; - - container span-monitor-sessions { - description - "Monitor Session container for this source - interface"; - - list span-monitor-session { - key "session-class"; - description - "Configuration for a particular class of Monitor - Session"; - leaf session-class { - type dt1:Span-session-class; - description "Session Class"; - } - uses MIRROR-FIRST; - uses ATTACHMENT; - uses MIRROR-INTERVAL; - uses ACL; - } - } - } - - grouping ACL { - description - "Common node of span-monitor-session, - span-monitor-session"; - - container acl { - presence "Indicates a acl node is configured."; - description "Enable ACL matching for traffic mirroring"; - leaf acl-enable { - type empty; - mandatory true; - description "Enable ACL"; - } - leaf acl-name { - type dt1:Span-acl-name; - description "ACL Name"; - } - } - } - - grouping ATTACHMENT { - description - "Common node of span-monitor-session, - span-monitor-session"; - - container attachment { - presence "Indicates a attachment node is configured."; - description "Attach the interface to a Monitor Session"; - leaf session-name { - type dt1:Span-session-name; - mandatory true; - description "Session Name"; - } - leaf direction { - type Span-traffic-direction; - description - "Specify the direction of traffic to replicate - (optional)"; - } - leaf port-level-enable { - type empty; - description "Enable port level traffic mirroring"; - } - } - } - - container span-monitor-session { - description "none"; - - container sessions { - description "Monitor-session configuration commands"; - - list session { - key "session"; - description - "Configuration for a particular Monitor Session"; - - container destination { - description "Specify a destination"; - leaf destination-type { - type Span-destination; - description "Specify the type of destination"; - } - leaf destination-interface-name { - when "../destination-type = 'interface'" { - description "../DestinationType = 0"; - } - type xr:Interface-name; - description "Specify the destination interface name"; - } - leaf destination-ipv4-address { - when "../destination-type = 'ipv4-address'" { - description "../DestinationType = 2"; - } - type inet:ipv4-address-no-zone; - description - "Specify the destination next-hop IPv4 address"; - } - leaf destination-ipv6-address { - when "../destination-type = 'ipv6-address'" { - description "../DestinationType = 3"; - } - type inet:ipv6-address-no-zone; - description - "Specify the destination next-hop IPv6 address"; - } - } - leaf class { - type dt1:Span-session-class; - default "ethernet"; - description - "Enable a Monitor Session. Setting this item - causes the Monitor Session to be created."; - } - leaf session { - type dt1:Span-session-name; - description "Session Name"; - } - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - uses ETHERNET-SPAN-INTERFACE-CFG-SPAN-MONITOR-SESSION-TABLE; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - uses ETHERNET-SPAN-INTERFACE-CFG-SPAN-MONITOR-SESSION-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-datatypes.yang deleted file mode 100644 index 9f0178c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-datatypes.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-Ethernet-SPAN-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-Ethernet-SPAN-datatypes"; - - - prefix "ethernet-span-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Span-session-name { - type string { - length "1..79"; - } - description "Span session name"; - } - typedef Span-session-class { - type enumeration { - enum ethernet { - value 0; - description "Mirror Ethernet packets"; - } - enum ipv4 { - value 1; - description "Mirror IPv4 packets"; - } - enum ipv6 { - value 2; - description "Mirror IPv6 packets"; - } - enum mpls-ipv4 { - value 3; - description "Mirror MPLS-encapsulated IPv4 packets"; - } - enum mpls-ipv6 { - value 4; - description "Mirror MPLS-encapsulated IPv6 packets"; - } - } - description "Span session class"; - } - typedef Span-acl-name { - type string { - length "1..80"; - } - description "Span acl name"; - } - typedef Span-session-id { - type int32; - description "Span session id"; - } - typedef Span-session-class-old { - type enumeration { - enum true { - value 0; - description "Mirror Ethernet packets"; - } - } - description "Span session class old"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub1.yang deleted file mode 100644 index c8443b2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub1.yang +++ /dev/null @@ -1,350 +0,0 @@ -submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 { - - belongs-to Cisco-IOS-XR-Ethernet-SPAN-oper { - prefix Cisco-IOS-XR-Ethernet-SPAN-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mirror-interval { - type enumeration { - enum mirror-interval-all { - value 0; - description "Mirror all packets"; - } - enum mirror-interval512 { - value 1; - description "Mirror Interval 512"; - } - enum mirror-interval1k { - value 2; - description "Mirror Interval 1K"; - } - enum mirror-interval2k { - value 3; - description "Mirror Interval 2K"; - } - enum mirror-interval4k { - value 4; - description "Mirror Interval 4K"; - } - enum mirror-interval8k { - value 5; - description "Mirror Interval 8K"; - } - enum mirror-interval16k { - value 6; - description "Mirror Interval 16K"; - } - } - description "Monitor-session mirror intervals"; - } - typedef Traffic-direction { - type enumeration { - enum invalid { - value 0; - description "Invalid"; - } - enum rx-only { - value 1; - description "Received"; - } - enum tx-only { - value 2; - description "Transmitted"; - } - enum both { - value 3; - description "Both"; - } - } - description "Monitor-session traffic directions"; - } - typedef Optional-value { - type uint32; - description "Optional Value"; - } - typedef Destination-class { - type enumeration { - enum interface-class { - value 0; - description "Destination is an interface"; - } - enum pseudowire-class { - value 1; - description "Destination is a pseudowire"; - } - enum next-hop-ipv4-class { - value 2; - description "Destination is a next-hop IPv4 address"; - } - enum next-hop-ipv6-class { - value 3; - description "Destination is a next-hop IPv6 address"; - } - enum invalid-class { - value 255; - description "Destination is not specified"; - } - } - description "Destination class"; - } - typedef Session-class { - type enumeration { - enum ethernet-class { - value 0; - description "Ethernet mirroring session"; - } - enum ipv4-class { - value 1; - description "IPv4 mirroring session"; - } - enum ipv6-class { - value 2; - description "IPv6 mirroring session"; - } - enum mplsipv4-class { - value 3; - description "MPLS-IPv4 mirroring session"; - } - enum mplsipv6-class { - value 4; - description "MPLS-IPv6 mirroring session"; - } - enum invalid-class { - value 65535; - description "Invalid session class"; - } - } - description "Session class"; - } - - grouping SPAN-EA-ATTACHMENT-BAG { - description "SPAN EA Attachment Information"; - - container destination-id { - description "Destination ID"; - uses DESTINATION-ID; - } - - container traffic-mirroring-parameters { - description "Traffic mirroring parameters"; - uses TRAFFIC-MIRRORING-PARAMETERS; - } - leaf class { - type Session-class; - description "Attachment class"; - } - } - - grouping SPAN-EA-INTF-BAG { - description "SPAN EA Source Interface Information"; - - container destination-id { - description "Destination ID (deprecated by Attachment)"; - uses DESTINATION-ID; - } - - container traffic-mirroring-parameters { - description - "Traffic mirroring parameters (deprecated by - Attachment)"; - uses TRAFFIC-MIRRORING-PARAMETERS; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface"; - } - leaf platform-error { - type uint32; - description - "Last error observed for this interface while - programming the hardware"; - } - leaf destination-interface { - type xr:Interface-name; - description - "Destination interface (deprecated by Attachment)"; - } - leaf traffic-direction { - type Traffic-direction; - description - "Traffic mirroring direction (deprecated by - Attachment)"; - } - - list attachment { - description "Attachment information"; - uses SPAN-EA-ATTACHMENT-BAG; - } - } - - grouping SPAN-EA-SESS-BAG { - description "SPAN EA Session Information"; - - container destination-id { - description "Destination ID"; - uses DESTINATION-ID; - } - leaf id { - type uint32; - description "Assigned numerical ID for this session"; - } - leaf name { - type string; - description "Configured Session Name"; - } - leaf session-class-xr { - type Session-class; - description "Session class"; - } - leaf destination-interface { - type xr:Interface-name; - description - "Destination interface (deprecated by - DestinationID, invalid for pseudowires)"; - } - leaf platform-error { - type uint32; - description - "Last error observed for this session while - programming the hardware"; - } - } - - grouping TRAFFIC-MIRRORING-PARAMETERS { - description "Monitor-session traffic mirroring parameters"; - leaf traffic-direction { - type Traffic-direction; - description "Direction"; - } - leaf port-level { - type boolean; - description "Port level mirroring"; - } - leaf is-acl-enabled { - type boolean; - description "ACL enabled"; - } - leaf mirror-bytes { - type Optional-value; - units "byte"; - description "Number of bytes to mirror"; - } - leaf mirror-interval { - type Mirror-interval; - description "Interval between mirrored packets"; - } - leaf acl-name { - type string; - description "ACL name"; - } - } - - grouping IPV6-NEXT-HOP-DESTINATION-ID { - description "IPv6 next-hop destination ID"; - leaf ipv6-address { - type inet:ipv6-address; - description "IPv6 address"; - } - leaf vrf-name { - type string; - description "VRF"; - } - } - - grouping IPV4-NEXT-HOP-DESTINATION-ID { - description "IPv4 next-hop destination ID"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf vrf-name { - type string; - description "VRF"; - } - } - - grouping DESTINATION-ID { - description "Destination ID"; - - container ipv4-address-and-vrf { - when "../destination-class = 'next-hop-ipv4-class'" { - description "../DestinationClass = 'NextHopIPv4Class'"; - } - description "IPv4 address"; - uses IPV4-NEXT-HOP-DESTINATION-ID; - } - - container ipv6-address-and-vrf { - when "../destination-class = 'next-hop-ipv6-class'" { - description "../DestinationClass = 'NextHopIPv6Class'"; - } - description "IPv6 address"; - uses IPV6-NEXT-HOP-DESTINATION-ID; - } - leaf destination-class { - type Destination-class; - description "DestinationClass"; - } - leaf interface { - when "../destination-class = 'interface-class'" { - description "../DestinationClass = 'InterfaceClass'"; - } - type xr:Interface-name; - description "Interface Handle"; - } - leaf pseudowire-id { - when "../destination-class = 'pseudowire-class'" { - description "../DestinationClass = 'PseudowireClass'"; - } - type Optional-value; - description "Pseudowire XCID"; - } - leaf invalid-value { - when "../destination-class != 'interface-class' and"+ - " ../destination-class != 'pseudowire-class' and"+ - " ../destination-class != 'next-hop-ipv4-class' and"+ - " ../destination-class != 'next-hop-ipv6-class'" { - description - "../DestinationClass != 'InterfaceClass' and . - ./DestinationClass != 'PseudowireClass' and . - ./DestinationClass != 'NextHopIPv4Class' and . - ./DestinationClass != 'NextHopIPv6Class'"; - } - type Optional-value; - description "Invalid Parameter"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub2.yang deleted file mode 100644 index a4ea782..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub2.yang +++ /dev/null @@ -1,200 +0,0 @@ -submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub2 { - - belongs-to Cisco-IOS-XR-Ethernet-SPAN-oper { - prefix Cisco-IOS-XR-Ethernet-SPAN-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - - grouping SPAN-MA-ATTACHMENT-BAG { - description "SPAN MA Attachment Information"; - - container traffic-parameters { - description "Traffic mirroring parameters"; - uses TRAFFIC-MIRRORING-PARAMETERS; - } - - container destination-id { - description "Destination ID"; - uses DESTINATION-ID; - } - leaf name { - type string; - description "Session Name"; - } - leaf local-class { - type Session-class; - description "Local attachment class"; - } - leaf id { - type uint32; - description "Numerical ID assigned to session"; - } - leaf global-class { - type Session-class; - description "Global session class"; - } - leaf session-is-configured { - type boolean; - description "The Session is configured globally"; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface"; - } - leaf source-interface-state { - type Im-state-enum; - description "Source interface state"; - } - leaf pfi-error { - type uint32; - description "Last error returned from PFI for this interface"; - } - leaf dest-pw-type-not-supported { - type boolean; - description "The destination PW type is not supported"; - } - leaf source-interface-is-a-destination { - type boolean; - description - "This source interface is a destination for - another monitor-session"; - } - leaf destination-interface { - type xr:Interface-name; - description - "Destination interface (deprecated by - DestinationID, invalid for pseudowires)"; - } - leaf traffic-direction { - type Traffic-direction; - description - "Traffic mirroring direction (deprecated by - TrafficParameters)"; - } - } - - grouping SPAN-MA-STATISTICS-BAG { - description "SPAN MA Statistics Information"; - leaf rx-packets-mirrored { - type uint64; - description "RX Packets Mirrored"; - } - leaf rx-octets-mirrored { - type uint64; - description "RX Octets Mirrored"; - } - leaf tx-packets-mirrored { - type uint64; - description "TX Packets Mirrored"; - } - leaf tx-octets-mirrored { - type uint64; - description "TX Octets Mirrored"; - } - leaf packets-not-mirrored { - type uint64; - description "Packets Not Mirrored"; - } - leaf octets-not-mirrored { - type uint64; - description "Octets Not Mirrored"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub3.yang deleted file mode 100644 index 8de77bc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper-sub3.yang +++ /dev/null @@ -1,210 +0,0 @@ -submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub3 { - - belongs-to Cisco-IOS-XR-Ethernet-SPAN-oper { - prefix Cisco-IOS-XR-Ethernet-SPAN-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Destination-name-string { - type string; - description "Destination name string"; - } - - grouping DESTINATION-NEXT-HOP-IPV6-ADDRESS-DATA { - description "Destination Next-hop IPv6 Address Data"; - leaf ipv6-address { - type inet:ipv6-address; - description "IPv6 address"; - } - leaf vrf-name { - type Destination-name-string; - description "VRF name"; - } - leaf address-is-reachable { - type boolean; - description "Address is reachable"; - } - } - - grouping DESTINATION-NEXT-HOP-IPV4-ADDRESS-DATA { - description "Destination Next-hop IPv4 Address Data"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf vrf-name { - type Destination-name-string; - description "VRF name"; - } - leaf address-is-reachable { - type boolean; - description "Address is reachable"; - } - } - - grouping DESTINATION-PSEUDOWIRE-DATA { - description "Destination Pseudowire Data"; - leaf pseudowire-name { - type Destination-name-string; - description "Pseudowire Name"; - } - leaf pseudowire-is-up { - type boolean; - description "Pseudowire State"; - } - } - - grouping DESTINATION-INTERFACE-DATA { - description "Destination Interface Data"; - leaf interface-name { - type Destination-name-string; - description "Interface Name"; - } - leaf interface-state { - type Im-state-enum; - description "Interface State"; - } - } - - grouping DESTINATION-STATE { - description "Destination state"; - - container interface-data { - when "../destination-class = 'interface-class'" { - description "../DestinationClass = 'InterfaceClass'"; - } - description "Interface data"; - uses DESTINATION-INTERFACE-DATA; - } - - container pseudowire-data { - when "../destination-class = 'pseudowire-class'" { - description "../DestinationClass = 'PseudowireClass'"; - } - description "Pseudowire data"; - uses DESTINATION-PSEUDOWIRE-DATA; - } - - container next-hop-ipv4-data { - when "../destination-class = 'next-hop-ipv4-class'" { - description "../DestinationClass = 'NextHopIPv4Class'"; - } - description "Next-hop IPv4 data"; - uses DESTINATION-NEXT-HOP-IPV4-ADDRESS-DATA; - } - - container next-hop-ipv6-data { - when "../destination-class = 'next-hop-ipv6-class'" { - description "../DestinationClass = 'NextHopIPv6Class'"; - } - description "Next-hop IPv6 data"; - uses DESTINATION-NEXT-HOP-IPV6-ADDRESS-DATA; - } - leaf destination-class { - type Destination-class; - description "DestinationClass"; - } - leaf invalid-value { - when "../destination-class != 'interface-class' and"+ - " ../destination-class != 'pseudowire-class' and"+ - " ../destination-class != 'next-hop-ipv4-class' and"+ - " ../destination-class != 'next-hop-ipv6-class'" { - description - "../DestinationClass != 'InterfaceClass' and . - ./DestinationClass != 'PseudowireClass' and . - ./DestinationClass != 'NextHopIPv4Class' and . - ./DestinationClass != 'NextHopIPv6Class'"; - } - type Optional-value; - description "Invalid Parameter"; - } - } - - grouping SPAN-MGR-SESSION-BAG { - description "SPAN Manager Session Information"; - - container destination-data { - description "Destination data"; - uses DESTINATION-STATE; - } - - container destination-id { - description "Destination ID"; - uses DESTINATION-ID; - } - leaf name { - type string; - description "Session Name"; - } - leaf session-class { - type Session-class; - description "Session class"; - } - leaf id { - type uint32; - description "Numerical ID assigned to session"; - } - leaf destination-error { - type uint32; - description "Last error observed for the destination "; - } - leaf destination-interface-name { - type string; - description - "Destination interface name (deprecated by - DestinationData, invalid for pseudowires)"; - } - leaf destination-interface-handle { - type xr:Interface-name; - description - "Destination interface handle (deprecated by - DestinationID, invalid for pseudowires)"; - } - leaf interface-error { - type uint32; - description - "Last error observed for the destination - interface (deprecated by DestinationError)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper.yang deleted file mode 100644 index cfc555f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-oper.yang +++ /dev/null @@ -1,184 +0,0 @@ -module Cisco-IOS-XR-Ethernet-SPAN-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-Ethernet-SPAN-oper"; - - - prefix "ethernet-span-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-Ethernet-SPAN-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN package operational data. - - This module contains definitions - for the following management objects: - span-monitor-session: Monitor Session operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container span-monitor-session { - config false; - description "Monitor Session operational data"; - - container global { - description "Global operational data"; - - container statistics { - description "Table of statistics for source interfaces"; - - list statistic { - key "session interface"; - description - "Statistics for a particular source interface"; - leaf session { - type dt1:Span-session-name; - description "Session Name"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses SPAN-MA-STATISTICS-BAG; - } - } - - container global-sessions { - description "Global Monitor Sessions table"; - - list global-session { - key "session"; - description - "Information about a globally-configured - monitor session"; - leaf session { - type dt1:Span-session-name; - description "Session Name"; - } - uses SPAN-MGR-SESSION-BAG; - } - } - } - - container nodes { - description "Node table for node-specific operational data"; - - list node { - key "node"; - description "Node-specific data for a particular node"; - - container attachments { - description - "Table of source interfaces configured as - attached to a session"; - - list attachment { - key "session interface"; - description - "Information about a particular source - interface configured as attached to monitor - session"; - leaf session { - type dt1:Span-session-name; - description "Session Name"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses SPAN-MA-ATTACHMENT-BAG; - } - } - - container hardware-sessions { - description - "Table of sessions set up in the hardware. - When all sessions are operating correctly the - entries in this table should match those - entries in GlobalSessionTable that have a - destination configured"; - - list hardware-session { - description - "Information about a particular session that - is set up in the hardware"; - leaf session-class { - type dt1:Span-session-class; - description "Sesssion class"; - } - leaf session-id { - type dt1:Span-session-id; - description "Session ID"; - } - uses SPAN-EA-SESS-BAG; - } - } - - container interfaces { - description - "Table of source interfaces set up in the - hardware. The entries in this table should - match the entries in AttachmentTable when all - sessions are operating correctly"; - - list interface { - key "interface"; - description - "Information about a particular interface that - is set up in the hardware"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses SPAN-EA-INTF-BAG; - } - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg.yang deleted file mode 100644 index 38f898f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg.yang +++ /dev/null @@ -1,236 +0,0 @@ -module Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg"; - - - prefix "ethernet-span-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-Ethernet-SPAN-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR Ethernet-SPAN-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Span-traffic-direction { - type enumeration { - enum rx-only { - value 1; - description "Replicate only received (ingress) traffic"; - } - enum tx-only { - value 2; - description "Replicate only transmitted (egress) traffic"; - } - } - description "Span traffic direction"; - } - typedef Span-mirror-interval { - type enumeration { - enum 512 { - value 1; - description "Mirror 1 in every 512 packets"; - } - enum 1k { - value 2; - description "Mirror 1 in every 1024 packets"; - } - enum 2k { - value 3; - description "Mirror 1 in every 2048 packets"; - } - enum 4k { - value 4; - description "Mirror 1 in every 4096 packets"; - } - enum 8k { - value 5; - description "Mirror 1 in every 8192 packets"; - } - enum 16k { - value 6; - description "Mirror 1 in every 16384 packets"; - } - } - description "Span mirror interval"; - } - - grouping MIRROR-INTERVAL { - description - "Common node of span-monitor-session, - span-monitor-session"; - leaf mirror-interval { - type Span-mirror-interval; - description "Specify the mirror interval"; - } - } - - grouping MIRROR-FIRST { - description - "Common node of span-monitor-session, - span-monitor-session"; - leaf mirror-first { - type uint32 { - range "1..10000"; - } - units "byte"; - description - "Mirror a specified number of bytes from start of - packet"; - } - } - - grouping SPAN-MONITOR-SESSION-TABLE { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - - container span-monitor-sessions { - description "Monitor Session container for this template"; - - list span-monitor-session { - key "session-class"; - description - "Configuration for a particular class of Monitor - Session"; - leaf session-class { - type dt1:Span-session-class; - description "Session Class"; - } - uses MIRROR-FIRST; - uses ATTACHMENT; - uses MIRROR-INTERVAL; - uses ACL; - } - } - } - - grouping ETHERNET-SPAN-INTERFACE-CFG-SPAN-MONITOR-SESSION-TABLE { - description - "Common node of ip-subscriber, ppp, - subscriber-serviceCommon node of - interface-configuration, l2-transport"; - - container span-monitor-sessions { - description - "Monitor Session container for this source - interface"; - - list span-monitor-session { - key "session-class"; - description - "Configuration for a particular class of Monitor - Session"; - leaf session-class { - type dt1:Span-session-class; - description "Session Class"; - } - uses MIRROR-FIRST; - uses ATTACHMENT; - uses MIRROR-INTERVAL; - uses ACL; - } - } - } - - grouping ACL { - description - "Common node of span-monitor-session, - span-monitor-session"; - - container acl { - presence "Indicates a acl node is configured."; - description "Enable ACL matching for traffic mirroring"; - leaf acl-enable { - type empty; - mandatory true; - description "Enable ACL"; - } - leaf acl-name { - type dt1:Span-acl-name; - description "ACL Name"; - } - } - } - - grouping ATTACHMENT { - description - "Common node of span-monitor-session, - span-monitor-session"; - - container attachment { - presence "Indicates a attachment node is configured."; - description "Attach the interface to a Monitor Session"; - leaf session-name { - type dt1:Span-session-name; - mandatory true; - description "Session Name"; - } - leaf direction { - type Span-traffic-direction; - description - "Specify the direction of traffic to replicate - (optional)"; - } - leaf port-level-enable { - type empty; - description "Enable port level traffic mirroring"; - } - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses SPAN-MONITOR-SESSION-TABLE; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses SPAN-MONITOR-SESSION-TABLE; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses SPAN-MONITOR-SESSION-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-aaacore-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-aaacore-cfg.yang deleted file mode 100644 index 015206c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-aaacore-cfg.yang +++ /dev/null @@ -1,615 +0,0 @@ -module Cisco-IOS-XR-aaa-aaacore-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg"; - - - prefix "aaa-aaacore-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-aaacore package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-lib-cfg, - Cisco-IOS-XR-ifmgr-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Nas-port-value { - type enumeration { - enum async { - value 0; - description "Async(0)"; - } - enum sync { - value 1; - description "Sync(1)"; - } - enum isdn { - value 2; - description "ISDN(2)"; - } - enum isdn-async-v120 { - value 3; - description "ISDN Async V120(3)"; - } - enum isdn-async-v110 { - value 4; - description "ISDN Async V110(4)"; - } - enum virtual { - value 5; - description "Virtual(5)"; - } - enum isdn-async-piafs { - value 6; - description "ISDN Async PIAFS(6)"; - } - enum x75 { - value 9; - description "X75(9)"; - } - enum ethernet { - value 15; - description "Ethernet(15)"; - } - enum pppoa { - value 30; - description "PPPoA(30)"; - } - enum pppoeoa { - value 31; - description "PPPoEoA(31)"; - } - enum pppoeoe { - value 32; - description "PPPoEoE(32)"; - } - enum pppoeovlan { - value 33; - description "PPPoEoVLAN(33)"; - } - enum pppoeoqinq { - value 34; - description "PPPoEoQinQ(34)"; - } - enum virtual-pppoeoe { - value 35; - description "Virtual PPPoEoE(35)"; - } - enum virtual-pppoeovlan { - value 36; - description "Virtual PPPoEoVLAN(36)"; - } - enum virtual-pppoeoqinaq { - value 37; - description "Virtual PPPoEoQinQ(37)"; - } - enum ipsec { - value 38; - description "IPSEC(38)"; - } - enum ipoeoe { - value 39; - description "IPOEOE(39)"; - } - enum ipoeovlan { - value 40; - description "IPOEOVLAN(40)"; - } - enum ipoeoqinq { - value 41; - description "IPOEOQINQ(41)"; - } - enum virtual-ipoeoe { - value 42; - description "VIRTUAL IPOEOE(42)"; - } - enum virtual-ipoeovlan { - value 43; - description "VIRTUAL IPOEOVLAN(43)"; - } - enum virtual-ipoeoqinq { - value 44; - description "VIRTUAL IPOEOQINQ(44)"; - } - } - description "Nas port value"; - } - typedef Aaa-list { - type string { - pattern "(subscriber)|(service)|(policy-if)|(prepaid)|(dot1x)"; - } - description - "subscriber:Set AAA lists for Subscriber, service - :Set AAA lists for Service, policy-if:Set - policy-if, prepaid:Set prepaid, dot1x:Set dot1x - method list"; - } - typedef Aaa-service-accounting { - type enumeration { - enum none { - value 0; - description "None"; - } - enum extended { - value 1; - description "Extended"; - } - enum brief { - value 2; - description "Brief"; - } - } - description "Aaa service accounting"; - } - - grouping FORMAT-TABLE { - description - "Common node of nas-port-id, calling-station, - called-station"; - - container formats { - description "AAA nas-port-id attribute format"; - - list format { - key "type"; - description "nas-port-id attribute format"; - leaf type { - type uint32 { - range "0..45"; - } - description "Nas-Port-Type value to apply format name on"; - } - leaf format-name { - type string; - mandatory true; - description "AAA nas-port attribute format"; - } - } - } - } - - augment "/a2:interface-configurations/a2:interface-configuration" { - - container aaa-table { - description "AAA configuration"; - - container radius { - description "AAA radius configuration"; - - container attribute { - description "AAA radius attribute"; - leaf nas-port-type { - type Nas-port-value; - description "AAA nas-port-type attribute"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:aaa" { - - container aaa-subscriber { - description "AAA subscriber"; - - container policy-if-authors { - description "AAA authorization policy"; - - list policy-if-author { - key "type listname"; - description "Configurations related to authorization"; - leaf type { - type Aaa-list; - description "Set authorization lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named authorization list"; - } - leaf-list method { - type dt1:Aaa-method; - min-elements "1"; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - - container accountings { - description "AAA accounting"; - - list accounting { - key "type listname"; - description "Configurations related to accounting"; - leaf type { - type Aaa-list; - description "Set accounting lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named accounting list"; - } - leaf broadcast { - type dt1:Aaa-accounting-broadcast; - mandatory true; - description "Broadcast"; - } - leaf-list method { - type dt1:Aaa-method; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - - container service-accounting { - description "Set accounting parameters for Service"; - leaf type { - type Aaa-service-accounting; - description - "Send extended/brief service accounting records"; - } - } - - container prepaid-authors { - description "AAA authorization prepaid"; - - list prepaid-author { - key "type listname"; - description "Configurations related to authorization"; - leaf type { - type Aaa-list; - description "Set authorization lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named authorization list"; - } - leaf-list method { - type dt1:Aaa-method; - min-elements "1"; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - - container authorizations { - description "AAA authorization"; - - list authorization { - key "type listname"; - description "Configurations related to authorization"; - leaf type { - type Aaa-list; - description "Set authorization lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named authorization list"; - } - leaf-list method { - type dt1:Aaa-method; - min-elements "1"; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - - container authentications { - description "AAA authentication"; - - list authentication { - key "type listname"; - description "Configurations related to authentication"; - leaf type { - type Aaa-list; - description "Set authentication lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named authentication list"; - } - leaf-list method { - type dt1:Aaa-method; - min-elements "1"; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container aaa-mobile { - description "AAA Mobile"; - - container mobiles { - description "AAA Mobile Accounting"; - - list mobile { - key "listname"; - description "Configurations related to accounting"; - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named accounting list"; - } - leaf broadcast { - type dt1:Aaa-accounting-broadcast; - mandatory true; - description "Broadcast"; - } - leaf-list method { - type dt1:Aaa-method; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container aaa-dot1x { - description "AAA Dot1x"; - - container authentications { - description "AAA authentication"; - - list authentication { - key "type listname"; - description "Configurations related to authentication"; - leaf type { - type Aaa-list; - description "Set authentication lists"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named authentication list"; - } - leaf-list method { - type dt1:Aaa-method; - min-elements "1"; - max-elements "4"; - description "Method Types"; - } - leaf-list server-group-name { - type string; - max-elements "4"; - description "Server group names"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container radius-attribute { - description "AAA RADIUS attribute configurations"; - - container nas-port-id { - description "AAA nas-port-id attribute"; - uses FORMAT-TABLE; - } - - container calling-station { - description "AAA calling station id attribute"; - uses FORMAT-TABLE; - } - - container called-station { - description "AAA called station id attribute"; - uses FORMAT-TABLE; - } - - container nas-port { - description "AAA nas-port-id attribute"; - - container format-extendeds { - description "AAA nas-port-id attribute format"; - - list format-extended { - key "value type"; - description "nas-port-id extended attribute"; - leaf format-identifier { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "A 32 character string representing the - format to be used"; - } - leaf value { - type xr:Cisco-ios-xr-string; - description "format type"; - } - leaf type { - type uint32 { - range "0..45"; - } - description "AAA nas-port attribute format"; - } - } - } - } - - container format-others { - description "AAA nas-port-id attribute format"; - - list format-other { - key "nas-port-type-name"; - description "Other configs"; - leaf nas-port-type-name { - type xr:Cisco-ios-xr-string; - description - "Nas-Port-Type value to apply format name on"; - } - leaf attribute-config1 { - type string; - description "Argument1"; - } - leaf attribute-config2 { - type string; - description "Argument2"; - } - leaf attribute-config3 { - type string; - description "Argument3"; - } - leaf attribute-config4 { - type string; - description "Argument4"; - } - leaf attribute-config5 { - type string; - description "Argument5"; - } - leaf attribute-config6 { - type string; - description "Argument6"; - } - leaf attribute-config7 { - type string; - description "Argument7"; - } - leaf attribute-config8 { - type string; - description "Argument8"; - } - leaf attribute-config9 { - type string; - description "Argument9"; - } - leaf attribute-config10 { - type string; - description "Argument10"; - } - leaf attribute-config11 { - type string; - description "Argument11"; - } - leaf attribute-config12 { - type string; - description "Argument12"; - } - leaf attribute-config13 { - type string; - description "Argument13"; - } - leaf attribute-config14 { - type string; - description "Argument14"; - } - leaf attribute-config15 { - type string; - description "Argument15"; - } - leaf attribute-config16 { - type string; - description "Argument16"; - } - leaf attribute-config17 { - type string; - description "Argument17"; - } - leaf attribute-config18 { - type string; - description "Argument18"; - } - leaf attribute-config19 { - type uint32 { - range "1..253"; - } - description "Argument19"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-base-mib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-base-mib-cfg.yang deleted file mode 100644 index e04cc42..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-base-mib-cfg.yang +++ /dev/null @@ -1,86 +0,0 @@ -module Cisco-IOS-XR-aaa-diameter-base-mib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-aaa-diameter-base-mib-cfg"; - - - prefix "aaa-diameter-base-mib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-diameter-base-mib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container diametermib { - description "Enable SNMP diameter traps"; - leaf protocolerror { - type boolean; - description - "Enable SNMP diameter protocol error - notification"; - } - leaf permanentfail { - type boolean; - description - "Enable SNMP diameter permanent failure - notification"; - } - leaf peerdown { - type boolean; - description - "Enable SNMP diameter peer connection down - notification"; - } - leaf peerup { - type boolean; - description - "Enable SNMP diameter peer connection up - notification"; - } - leaf transientfail { - type boolean; - description - "Enable SNMP diameter transient failure - notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-cfg.yang deleted file mode 100644 index 10767c3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-cfg.yang +++ /dev/null @@ -1,397 +0,0 @@ -module Cisco-IOS-XR-aaa-diameter-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg"; - - - prefix "aaa-diameter-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a1"; } - - import Cisco-IOS-XR-aaa-locald-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-diameter package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-lib-cfg, - Cisco-IOS-XR-aaa-locald-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Aaa-diameter-tls { - type uint32 { - range "0..1"; - } - description "Aaa diameter tls"; - } - typedef Aaa-diameter-timeout { - type uint32 { - range "6..1000"; - } - description "Aaa diameter timeout"; - } - typedef Aaa-diameter-port { - type uint32 { - range "1..65535"; - } - description "Aaa diameter port"; - } - typedef Aaa-diameter-attr { - type uint32 { - range "0..23"; - } - description "Aaa diameter attr"; - } - - augment "/a1:aaa" { - - container diameter { - description "Diameter base protocol"; - - container gy { - description "Start diameter policy-if"; - leaf retransmit { - type uint32 { - range "1..10"; - } - description "Set retransmit count"; - } - leaf dest-host { - type string; - description "Destination Host name in FQDN format"; - } - leaf tx-timer { - type Aaa-diameter-timeout; - description "Transaction timer value"; - } - } - - container origin { - description "Origin sub commands"; - leaf realm { - type string; - description "Origin Realm String"; - } - leaf host { - type string; - description "Host name in FQDN format"; - } - } - - container nas { - description "Start diameter Nas"; - leaf dest-host { - type string; - description "Destination Host name in FQDN format"; - } - } - - container diameter-tls { - description "TLS sub commands"; - leaf trustpoint { - type string; - description "Trustpoint label to be used"; - } - } - - container peers { - description "List of diameter peers"; - - list peer { - key "peer-name"; - description "Diameter peer instance"; - - container peer-timer { - description "Timers used for the peer"; - leaf transaction { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - leaf connection { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - leaf watchdog { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - } - - container peer-type { - description "Peer Type"; - leaf server { - type boolean; - description "Enabled or disabled"; - } - } - leaf host-destination { - type string; - description "Destination host information"; - } - leaf ipv4-address { - type inet:ipv4-address-no-zone; - description "IPv4 address of diameter server"; - } - leaf realm-destination { - type string; - description "Realm to which the peer belongs to"; - } - leaf tcp-transport { - type Aaa-diameter-port; - description "Specify a Diameter transport protocol"; - } - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - DIAMETER packets"; - } - leaf ipv6-address { - type inet:ipv6-address-no-zone; - description "IPv6 address of diameter server"; - } - leaf tls-transport { - type Aaa-diameter-tls; - description "Specify a Diameter security type"; - } - leaf vrf-ip { - type string; - description "VRF the peer belongs to"; - } - leaf peer-name { - type xr:Cisco-ios-xr-string; - description "Name for the diameter peer configuration"; - } - } - } - - container diams { - description "Attribute list configuration for test command"; - - list diam { - key "list-id"; - description "attribute list configuration"; - - container diam-attr-defs { - description "Specify an attribute definition"; - - list diam-attr-def { - key "vendor-id attribute-id"; - description "vendor id"; - - container diam-attr-value { - description "attr subcommands"; - leaf type-string { - type string; - description "String type"; - } - leaf type-ipv4-address { - type inet:ipv4-address-no-zone; - description "IPv4 address type"; - } - leaf type-binary { - type string; - description "Binary type"; - } - leaf type-boolean { - type uint32 { - range "0..4294967295"; - } - description "Boolean type"; - } - leaf type-enum { - type uint32 { - range "0..4294967295"; - } - description "Enumeration type"; - } - leaf type-grouped { - type uint32 { - range "0..99"; - } - description "Grouped attribute"; - } - leaf type-ulong { - type uint32 { - range "0..4294967295"; - } - description "Numeric type"; - } - leaf type-identity { - type string; - description "Diameter-identity type"; - } - leaf data-type { - type Aaa-diameter-attr; - description "Dataypte of attribute"; - } - leaf mandatory { - type uint32 { - range "0..1"; - } - description "Is mandatory?"; - } - } - leaf vendor-id { - type uint32 { - range "0..4294967295"; - } - description "value for vendor id"; - } - leaf attribute-id { - type uint32 { - range "1..65535"; - } - description "enter attribute id"; - } - } - } - leaf list-id { - type uint32 { - range "0..99"; - } - description "attribute list number"; - } - } - } - - container gx { - description "Start diameter policy-if"; - leaf retransmit { - type uint32 { - range "1..10"; - } - description "Set retransmit count"; - } - leaf dest-host { - type string; - description "Destination Host name in FQDN format"; - } - leaf tx-timer { - type Aaa-diameter-timeout; - description "Transaction timer value"; - } - } - - container diameter-timer { - description "Timers used for the peer"; - leaf transaction { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - leaf connection { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - leaf watchdog { - type Aaa-diameter-timeout; - description "Timer value in seconds"; - } - } - - container vendor { - description "Vendor specific"; - - container supported { - description "Supported vendors"; - leaf cisco { - type boolean; - description "Cisco attribute support"; - } - leaf threegpp { - type boolean; - description "3GPP attribute support"; - } - leaf etsi { - type boolean; - description "Etsi attribute support"; - } - leaf vodafone { - type boolean; - description "Vodafone attribute support"; - } - } - } - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - DIAMETER packets"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa/a2:server-groups" { - - container diameter-server-groups { - description "DIAMETER server group definition"; - - list diameter-server-group { - key "server-group-name"; - description "DIAMETER server group name"; - - container servers { - description - "List of DIAMETER servers present in the group"; - - list server { - key "ordering-index peer-name"; - description "A server to include in the server group"; - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf peer-name { - type xr:Cisco-ios-xr-string; - description - "Name for the diameter peer configuration"; - } - } - } - leaf server-group-name { - type xr:Cisco-ios-xr-string; - description "DIAMETER server group name"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-locald-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper-sub1.yang deleted file mode 100644 index 3eebf34..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper-sub1.yang +++ /dev/null @@ -1,1061 +0,0 @@ -submodule Cisco-IOS-XR-aaa-diameter-oper-sub1 { - - belongs-to Cisco-IOS-XR-aaa-diameter-oper { - prefix Cisco-IOS-XR-aaa-diameter-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR aaa-diameter package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Peer-state-value { - type enumeration { - enum state-none { - value 0; - description "No Peer states"; - } - enum closed { - value 1; - description "Peer closed"; - } - enum wait-connection-ack { - value 2; - description "Waiting for ACK"; - } - enum wait-cea { - value 3; - description "Waiting for CEA"; - } - enum state-open { - value 4; - description "Peer open"; - } - enum closing { - value 5; - description "Peer closed"; - } - enum suspect { - value 6; - description "Peer in suspect state"; - } - } - description "Peer State Values"; - } - typedef Who-initiated-disconnect { - type enumeration { - enum none { - value 0; - description "None"; - } - enum host { - value 1; - description "Disconnected by host"; - } - enum peer { - value 2; - description "Disconnected by peer"; - } - } - description "Who initiated to disconnect"; - } - typedef Disconnect-cause { - type enumeration { - enum reboot { - value 0; - description "Disconnect caused by reboot"; - } - enum busy { - value 1; - description "Disconnect due to server busy"; - } - enum do-not-wait-to-talk { - value 2; - description "Disconnect as server does not want to talk"; - } - } - description "Disconnect cause values"; - } - typedef Peer { - type enumeration { - enum undefined { - value 0; - description "Peer not defined"; - } - enum server { - value 1; - description "Server type"; - } - } - description " Peer type values"; - } - typedef Security-type-value { - type enumeration { - enum security-type-none { - value 0; - description "No security type"; - } - enum type { - value 1; - description "TLS security"; - } - enum ipsec { - value 2; - description "IPSEC security"; - } - } - description "Security type values"; - } - typedef Protocol-type-value { - type enumeration { - enum protocol-none { - value 0; - description "No protocol used"; - } - enum tcp { - value 1; - description "TCP protocol"; - } - } - description "Protocol type values"; - } - - grouping DIAMETER-GX-SESS { - description "Gx Sess"; - leaf aaa-session-id { - type uint32; - description "AAA session id"; - } - leaf diameter-session-id { - type string; - description "Diameter session id"; - } - leaf request-number { - type uint32; - description "Request Number"; - } - leaf session-state { - type string; - description "Session State"; - } - leaf request-type { - type string; - description "Request Type"; - } - leaf retry-count { - type uint32; - description "Gx Retry count"; - } - } - - grouping DIAMETER-GY-STATS { - description "Gy Statistics"; - leaf ccr-init-messages { - type uint32; - description "CCR Initial Messages"; - } - leaf ccr-init-failed-messages { - type uint32; - description "CCR Initial Messages Failed"; - } - leaf ccr-init-timed-out-messages { - type uint32; - description "CCR Initial Messages Timed Out"; - } - leaf ccr-init-retry-messages { - type uint32; - description "CCR Initial Messages retry"; - } - leaf ccr-update-messages { - type uint32; - description "CCR Update Messages"; - } - leaf ccr-update-failed-messages { - type uint32; - description "CCR Update Messages Failed"; - } - leaf ccr-update-timed-out-messages { - type uint32; - description "CCR Update Messages Timed Out"; - } - leaf ccr-update-retry-messages { - type uint32; - description "CCR Update Messages retry"; - } - leaf ccr-final-messages { - type uint32; - description "CCR Final Messages"; - } - leaf ccr-final-failed-messages { - type uint32; - description "CCR Final Messages Failed"; - } - leaf ccr-final-timed-out-messages { - type uint32; - description "CCR Final Messages Timed Out"; - } - leaf ccr-final-retry-messages { - type uint32; - description "CCR Final Messages retry"; - } - leaf cca-init-messages { - type uint32; - description "CCA Initial Messages"; - } - leaf cca-init-error-messages { - type uint32; - description "CCA Initial Messages Error"; - } - leaf cca-update-messages { - type uint32; - description "CCA Update Messages"; - } - leaf cca-update-error-messages { - type uint32; - description "CCA Update Messages Error"; - } - leaf cca-final-messages { - type uint32; - description "CCA Final Messages"; - } - leaf cca-final-error-messages { - type uint32; - description "CCA Final Messages Error"; - } - leaf rar-received-messages { - type uint32; - description "RAR Received Messages"; - } - leaf rar-received-error-messages { - type uint32; - description "RAR Received Messages Error"; - } - leaf raa-sent-messages { - type uint32; - description "RAA Sent Messages"; - } - leaf raa-sent-error-messages { - type uint32; - description "RAA Sent Messages Error"; - } - leaf asr-received-messages { - type uint32; - description "ASR Received Messages"; - } - leaf asr-received-error-messages { - type uint32; - description "ASR Received Messages Error"; - } - leaf asa-sent-messages { - type uint32; - description "ASA Sent Messages"; - } - leaf asa-sent-error-messages { - type uint32; - description "ASA Sent Messages Error"; - } - leaf unknown-request-messages { - type uint32; - description "Unknown Request Messages"; - } - leaf restore-sessions { - type uint32; - description "Restore Sessions"; - } - leaf open-sessions { - type uint32; - description "Total Opened Sessions"; - } - leaf close-sessions { - type uint32; - description "Total Closed Sessions"; - } - leaf active-sessions { - type uint32; - description "Total Active Sessions"; - } - } - - grouping DIAMETER-GY-SESS { - description "Gy Sess"; - leaf aaa-session-id { - type uint32; - description "AAA session id"; - } - leaf parent-aaa-session-id { - type uint32; - description "AAA Parent session id"; - } - leaf diameter-session-id { - type string; - description "Diameter session id"; - } - leaf request-number { - type uint32; - description "Request Number"; - } - leaf session-state { - type string; - description "Session State"; - } - leaf request-type { - type string; - description "Request Type"; - } - leaf retry-count { - type uint32; - description "Gy Retry count"; - } - } - - grouping DIAMETER-NAS-SUMMARY { - description "NAS summary"; - leaf authen-response-in-packets { - type uint32; - description "Authentication response pkt in"; - } - leaf authen-request-out-packets { - type uint32; - description "Authentication request pkt out"; - } - leaf authen-request-in-packets { - type uint32; - description "Authentication request from client"; - } - leaf authen-response-out-packets { - type uint32; - description "Authentication response frwd to client"; - } - leaf authen-success-packets { - type uint32; - description "Authentication response with success"; - } - leaf authen-response-fail-packets { - type uint32; - description "Authentication response with failure"; - } - leaf authorization-in-packets { - type uint32; - description "Authorization response packet in"; - } - leaf authorization-out-packets { - type uint32; - description "Authorization request packet out"; - } - leaf authorization-request-in-packets { - type uint32; - description "Authourization request from cleint"; - } - leaf authorization-response-out-packets { - type uint32; - description "Authourization response frwd to client"; - } - leaf authorization-response-success-packets { - type uint32; - description "Authentication response with success"; - } - leaf authorization-response-fail-packets { - type uint32; - description "Authentication response with failure"; - } - leaf accounting-response-in-packets { - type uint32; - description "Accounting packet response in"; - } - leaf accounting-request-out-packets { - type uint32; - description "Accounting requests packets out"; - } - leaf accounting-start-request-packets { - type uint32; - description "Accounting start request from cleint"; - } - leaf accounting-start-response-packets { - type uint32; - description "Accounting start response forward to client"; - } - leaf accounting-start-success-packets { - type uint32; - description "Accounting start response with success"; - } - leaf accounting-start-failed-packets { - type uint32; - description "Accounting start response with failure"; - } - leaf accounting-stop-response-in-packets { - type uint32; - description "Accounting stop packet response in"; - } - leaf accounting-stop-request-out-packets { - type uint32; - description "Accounting stop requests packets out"; - } - leaf accounting-stop-request-in-packets { - type uint32; - description "Acct stop request from cleint"; - } - leaf accounting-stop-response-out-packets { - type uint32; - description "Acct stop response forward to client"; - } - leaf accounting-stop-success-response-packets { - type uint32; - description "Accounting stop response with success"; - } - leaf accounting-stop-failed-packets { - type uint32; - description "Accounting stop response with failure"; - } - leaf accounting-intrim-response-in-packets { - type uint32; - description "Accounting interim packet response in"; - } - leaf accounting-interim-request-out-packets { - type uint32; - description "Accounting interim requests packets out"; - } - leaf accounting-interim-request-in-packets { - type uint32; - description "Accounting Interim request from cleint"; - } - leaf accounting-interim-response-out-packets { - type uint32; - description "Accounting interim response frwd to client"; - } - leaf accounting-interim-success-packets { - type uint32; - description "Accounting interim response with success"; - } - leaf accounting-interim-failed-packets { - type uint32; - description "Accounting interim response with failure"; - } - leaf disconnect-response-in-packets { - type uint32; - description "Disconnect response packets in"; - } - leaf disconnect-request-out-packets { - type uint32; - description "Disconnect request pkt out"; - } - leaf disconnect-request-in-packets { - type uint32; - description "Disconnect request from cleint"; - } - leaf disconnect-response-out-packets { - type uint32; - description "Disconnect response forward to client"; - } - leaf disconnect-success-response-packets { - type uint32; - description "Disconnect response with success"; - } - leaf disconnect-failed-response-packets { - type uint32; - description "Disconnect response with failure"; - } - leaf coa-request-in-packets { - type uint32; - description "COA/RAR Request packet in"; - } - leaf coa-response-out-packets { - type uint32; - description "COA/RAR Response packet out"; - } - leaf coa-request-packets { - type uint32; - description "COA request from client"; - } - leaf coa-response-packets { - type uint32; - description "COA response forward to client"; - } - leaf coa-success-packets { - type uint32; - description "COA response with success"; - } - leaf coa-failed-packets { - type uint32; - description "COA response with failure"; - } - leaf pod-in-packets { - type uint32; - description "POD/RAR Request packets in"; - } - leaf pod-out-packets { - type uint32; - description "PAD/RAR Response packets out"; - } - leaf pod-request-in-packets { - type uint32; - description "POD request from cleint"; - } - leaf pod-response-out-packets { - type uint32; - description "POD response forward to client"; - } - leaf pod-success-packets { - type uint32; - description "POD response with success"; - } - leaf pod-failed-packets { - type uint32; - description "POD response with failure"; - } - } - - grouping DIAMETER-NAS { - description "NAS data"; - leaf aaa-session-id { - type string; - description "AAA session id"; - } - leaf diameter-session-id { - type string; - description "Diameter session id"; - } - leaf authentication-status { - type uint32; - description "Diameter AAR status"; - } - leaf authorization-status { - type uint32; - description "Diameter AAR status"; - } - leaf accounting-status { - type uint32; - description "Diameter ACR status start"; - } - leaf accounting-status-stop { - type uint32; - description "Diameter ACR status stop"; - } - leaf disconnect-status { - type uint32; - description "Diameter STR status"; - } - leaf accounting-intrim-in-packets { - type uint32; - description "Accounting intrim packet response in"; - } - leaf accounting-intrim-out-packets { - type uint32; - description "Accounting intrim requests packets out"; - } - leaf method-list { - type string; - description "Method list used for authentication"; - } - leaf server-used-list { - type string; - description "Server used for authentication"; - } - } - - grouping DIAMETER-NAS-LIST { - description "NAS entry List"; - leaf aaanas-id { - type string; - description "AAA NAS id"; - } - - list list-of-nas { - description "List of NAS Entries"; - uses DIAMETER-NAS; - } - } - - grouping DIAMETER-SERVERBAG { - description "Diameter peer stats"; - leaf peer-name { - type string; - description "Peer Name"; - } - leaf peer-index { - type uint32; - description "Peer Index"; - } - leaf address { - type string; - description "IPv4 or IPv6 address of DIAMETER peer"; - } - leaf port { - type uint32; - description "Port number on which the peeris running"; - } - leaf port-connect { - type uint32; - description "Local Connection port"; - } - leaf protocol-type { - type Protocol-type-value; - description "Protocol Type"; - } - leaf security-type { - type Security-type-value; - description "Security type used to transport"; - } - leaf conn-retry-timer { - type uint32; - units "second"; - description "Connection retry timer in seconds"; - } - leaf watchdog-timer { - type uint32; - units "second"; - description "Watch dog timer in seconds"; - } - leaf transaction-timer { - type uint32; - units "second"; - description "Transaction timer in seconds"; - } - leaf vrf-name { - type string; - description "Vrf Name"; - } - leaf source-interface { - type string; - description "Source Interface"; - } - leaf destination-host { - type string; - description "Destination host name"; - } - leaf destination-realm { - type string; - description "Destination realm"; - } - leaf peer-type { - type Peer; - description "Peer Type"; - } - leaf firmware-revision { - type uint32; - description "Firmware revision"; - } - leaf state-duration { - type uint32; - units "second"; - description "State Duration in seconds"; - } - leaf last-disconnect-cause { - type Disconnect-cause; - description "Last Disconnect Reason"; - } - leaf who-init-disconnect { - type Who-initiated-disconnect; - description "Who Initiated Disconnect"; - } - leaf in-as-rs { - type uint32; - description "Incoming ASRs"; - } - leaf out-as-rs { - type uint32; - description "Outgoing ASRs"; - } - leaf in-as-as { - type uint32; - description "Incoming ASAs"; - } - leaf out-as-as { - type uint32; - description "Outgoing ASAs"; - } - leaf in-ac-rs { - type uint32; - description "Incoming ACRs"; - } - leaf out-ac-rs { - type uint32; - description "Outgoing ACRs"; - } - leaf in-ac-as { - type uint32; - description "Incoming ACAs"; - } - leaf out-ac-as { - type uint32; - description "Outgoing ACAs"; - } - leaf in-ce-rs { - type uint32; - description "Incoming CERs"; - } - leaf out-ce-rs { - type uint32; - description "Outgoing CERs"; - } - leaf in-ce-as { - type uint32; - description "Incoming CEAs"; - } - leaf out-ce-as { - type uint32; - description "Outgoing CEAs"; - } - leaf in-dw-rs { - type uint32; - description "Incoming DWRs"; - } - leaf out-dw-rs { - type uint32; - description "Outgoing DWRs"; - } - leaf in-dw-as { - type uint32; - description "Incoming DWAs"; - } - leaf out-dw-as { - type uint32; - description "Outgoing DWAs"; - } - leaf in-dp-rs { - type uint32; - description "Incoming DPRs"; - } - leaf out-dp-rs { - type uint32; - description "Outgoing DPRs"; - } - leaf in-dp-as { - type uint32; - description "Incoming DPAs"; - } - leaf out-dp-as { - type uint32; - description "Outgoing DPAs"; - } - leaf in-ra-rs { - type uint32; - description "Incoming RARs"; - } - leaf out-ra-rs { - type uint32; - description "Outgoing RARs"; - } - leaf in-ra-as { - type uint32; - description "Incoming RAAs"; - } - leaf out-ra-as { - type uint32; - description "Outgoing RAAs"; - } - leaf in-st-rs { - type uint32; - description "Incoming STRs"; - } - leaf out-st-rs { - type uint32; - description "Outgoing STRs"; - } - leaf in-st-as { - type uint32; - description "Incoming STAs"; - } - leaf out-st-as { - type uint32; - description "Outgoing STAs"; - } - leaf in-cc-rs { - type uint32; - description "Incoming CCRs"; - } - leaf out-cc-rs { - type uint32; - description "Outgoing CCRs"; - } - leaf in-cc-as { - type uint32; - description "Incoming CCAs"; - } - leaf out-cc-as { - type uint32; - description "Outgoing CCAs"; - } - leaf out-aa-rs { - type uint32; - description "Outgoing AARs"; - } - leaf in-aa-as { - type uint32; - description "Incoming AAAs"; - } - leaf malformed-requests { - type uint32; - description "Malformed Requests"; - } - leaf received-proto-errors { - type uint32; - description "Protocol Error Received"; - } - leaf sent-proto-errors { - type uint32; - description "Protocol Error Sent"; - } - leaf received-transient-fails { - type uint32; - description "Transient failures Received"; - } - leaf sent-transient-fails { - type uint32; - description "Transient failures Sent"; - } - leaf received-permanent-fails { - type uint32; - description "Permanent Failures Received"; - } - leaf sent-permanent-fails { - type uint32; - description "Permanent Failures Sent"; - } - leaf transport-down { - type uint32; - description "Transport Down"; - } - leaf state { - type Peer-state-value; - description "Peer Connection Status"; - } - } - - grouping DIAMETER-PEERS { - description "Global Diameter data"; - leaf origin-host { - type string; - description "Origin Host"; - } - leaf origin-realm { - type string; - description "Origin Realm"; - } - leaf source-interface { - type string; - description "Source Interface"; - } - leaf tls-trustpoint { - type string; - description "TLS Trustpoint"; - } - leaf conn-retry-timer { - type uint32; - units "second"; - description "Connection retry timer in seconds"; - } - leaf watchdog-timer { - type uint32; - units "second"; - description "Watch dog timer in seconds"; - } - leaf transaction-timer { - type uint32; - units "second"; - description "Transaction timer in seconds"; - } - leaf trans-total { - type uint32; - description "Total number of transactions"; - } - leaf trans-max { - type uint32; - description "Maximum number of transactions"; - } - - list peer { - description "Peer List"; - uses DIAMETER-SERVERBAG; - } - } - - grouping DIAMETER-GX { - description "Diameter Gx stats"; - leaf is-enabled { - type boolean; - description "Gx state"; - } - leaf tx-timer { - type uint32; - units "second"; - description "Gx transaction timer in seconds"; - } - leaf retransmits { - type uint32; - description "Gx retransmit count"; - } - } - - grouping DIAMETER-GX-STATS { - description "Gx Statistics"; - leaf ccr-init-messages { - type uint32; - description "CCR Initial Messages"; - } - leaf ccr-init-failed-messages { - type uint32; - description "CCR Initial Messages Failed"; - } - leaf ccr-init-timed-out-messages { - type uint32; - description "CCR Initial Messages Timed Out"; - } - leaf ccr-init-retry-messages { - type uint32; - description "CCR Initial Messages retry"; - } - leaf ccr-update-messages { - type uint32; - description "CCR Update Messages"; - } - leaf ccr-update-failed-messages { - type uint32; - description "CCR Update Messages Failed"; - } - leaf ccr-update-timed-out-messages { - type uint32; - description "CCR Update Messages Timed Out"; - } - leaf ccr-update-retry-messages { - type uint32; - description "CCR Update Messages retry"; - } - leaf ccr-final-messages { - type uint32; - description "CCR Final Messages"; - } - leaf ccr-final-failed-messages { - type uint32; - description "CCR Final Messages Failed"; - } - leaf ccr-final-timed-out-messages { - type uint32; - description "CCR Final Messages Timed Out"; - } - leaf ccr-final-retry-messages { - type uint32; - description "CCR Final Messages retry"; - } - leaf cca-init-messages { - type uint32; - description "CCA Initial Messages"; - } - leaf cca-init-error-messages { - type uint32; - description "CCA Initial Messages Error"; - } - leaf cca-update-messages { - type uint32; - description "CCA Update Messages"; - } - leaf cca-update-error-messages { - type uint32; - description "CCA Update Messages Error"; - } - leaf cca-final-messages { - type uint32; - description "CCA Final Messages"; - } - leaf cca-final-error-messages { - type uint32; - description "CCA Final Messages Error"; - } - leaf rar-received-messages { - type uint32; - description "RAR Received Messages"; - } - leaf rar-received-error-messages { - type uint32; - description "RAR Received Messages Error"; - } - leaf raa-sent-messages { - type uint32; - description "RAA Sent Messages"; - } - leaf raa-sent-error-messages { - type uint32; - description "RAA Sent Messages Error"; - } - leaf asr-received-messages { - type uint32; - description "ASR Received Messages"; - } - leaf asr-received-error-messages { - type uint32; - description "ASR Received Messages Error"; - } - leaf asa-sent-messsages { - type uint32; - description "ASA Sent Messages"; - } - leaf asa-sent-error-messages { - type uint32; - description "ASA Sent Messages Error"; - } - leaf session-termination-messages { - type uint32; - description "Session Termination from server"; - } - leaf unknown-request-messages { - type uint32; - description "Unknown Request Messages"; - } - leaf restore-sessions { - type uint32; - description "Restore Sessions"; - } - leaf open-sessions { - type uint32; - description "Total Opened Sessions"; - } - leaf close-sessions { - type uint32; - description "Total Closed Sessions"; - } - leaf active-sessions { - type uint32; - description "Total Active Sessions"; - } - } - - grouping DIAMETER-GY { - description "Diameter Gy stats"; - leaf is-enabled { - type boolean; - description "Gy state"; - } - leaf tx-timer { - type uint32; - units "second"; - description "Gy transaction timer in seconds"; - } - leaf retransmits { - type uint32; - description "Gy retransmit count"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper.yang deleted file mode 100644 index 620fdab..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-diameter-oper.yang +++ /dev/null @@ -1,128 +0,0 @@ -module Cisco-IOS-XR-aaa-diameter-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-aaa-diameter-oper"; - - - prefix "aaa-diameter-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-aaa-locald-oper { prefix "a1"; } - - include Cisco-IOS-XR-aaa-diameter-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-diameter package operational data. - - This YANG module augments the - Cisco-IOS-XR-aaa-locald-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:aaa" { - - container diameter { - description "Diameter operational data"; - - container gy { - description "Diameter global gy data"; - uses DIAMETER-GY; - } - - container gx-statistics { - description "Diameter Gx Statistics data"; - uses DIAMETER-GX-STATS; - } - - container gx { - description "Diameter global gx data"; - uses DIAMETER-GX; - } - - container peers { - description "Diameter peer global data"; - uses DIAMETER-PEERS; - } - - container nas { - description "Diameter NAS data"; - uses DIAMETER-NAS-LIST; - } - - container nas-summary { - description "Diameter NAS summary"; - uses DIAMETER-NAS-SUMMARY; - } - - container gy-session-ids { - description "Diameter Gy Session data list"; - - list gy-session-id { - key "session-id"; - description "Diameter Gy Session data"; - leaf session-id { - type int32; - description "Session Id"; - } - uses DIAMETER-GY-SESS; - } - } - - container gy-statistics { - description "Diameter Gy Statistics data"; - uses DIAMETER-GY-STATS; - } - - container gx-session-ids { - description "Diameter Gx Session data list"; - - list gx-session-id { - key "session-id"; - description "Diameter Gx Session data"; - leaf session-id { - type int32; - description "Session Id"; - } - uses DIAMETER-GX-SESS; - } - } - - container nas-session { - description "Diameter Nas Session data"; - uses DIAMETER-NAS-LIST; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-aaa-locald-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-li-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-li-cfg.yang deleted file mode 100644 index 72eb3de..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-li-cfg.yang +++ /dev/null @@ -1,55 +0,0 @@ -module Cisco-IOS-XR-aaa-li-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg"; - - - prefix "aaa-li-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-li package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-lib-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:aaa" { - leaf intercept { - type empty; - description "Enable LI RADIUS Feature"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-cfg.yang deleted file mode 100644 index ecfe58f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-cfg.yang +++ /dev/null @@ -1,246 +0,0 @@ -module Cisco-IOS-XR-aaa-lib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg"; - - - prefix "aaa-lib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-datatypes { prefix "dt1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-lib package configuration. - - This module contains definitions - for the following management objects: - aaa: Authentication, Authorization and Accounting - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container aaa { - description "Authentication, Authorization and Accounting"; - - container accountings { - description "AAA accounting"; - - list accounting { - key "type listname"; - description "Configurations related to accounting"; - leaf type { - type xr:Cisco-ios-xr-string; - description - "exec:Account exec sessions, commands: Account - CLI commands"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "Named accounting list"; - } - leaf rp-failover { - type dt1:Aaa-accounting-rp-failover; - description "rpfailover"; - } - leaf broadcast { - type dt1:Aaa-accounting-broadcast; - description "Broadcast"; - } - leaf type-xr { - type dt1:Aaa-accounting; - description "Stop only/Start Stop"; - } - leaf method1 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method2 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method3 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method4 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf server-group-name1 { - type string; - description "Server group name"; - } - leaf server-group-name2 { - type string; - description "Server group name"; - } - leaf server-group-name3 { - type string; - description "Server group name"; - } - leaf server-group-name4 { - type string; - description "Server group name"; - } - } - } - - container authorizations { - description "AAA authorization"; - - list authorization { - key "type listname"; - description "Configurations related to authorization"; - leaf type { - type xr:Cisco-ios-xr-string; - description - "network: Authorize IKE requests, commands: - Authorize CLI commands"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "List name for AAA authorization"; - } - leaf method1 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method2 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method3 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method4 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf server-group-name1 { - type string; - description "Server group name"; - } - leaf server-group-name2 { - type string; - description "Server group name"; - } - leaf server-group-name3 { - type string; - description "Server group name"; - } - leaf server-group-name4 { - type string; - description "Server group name"; - } - } - } - - container accounting-update { - presence "Indicates a accounting-update node is configured."; - description "Configuration related to 'update' accounting"; - leaf type { - type dt1:Aaa-accounting-update; - mandatory true; - description "newinfo/periodic"; - } - leaf periodic-interval { - type uint32 { - range "0..35791394"; - } - units "minute"; - description "Periodic update interval in minutes"; - } - } - - container banner { - description "AAA banner"; - leaf login { - type string; - description "AAA login banner"; - } - } - - container authentications { - description "AAA authentication"; - - list authentication { - key "type listname"; - description "Configurations related to authentication"; - leaf type { - type xr:Cisco-ios-xr-string; - description - "login: Authenticate login sessions, ppp: - Authenticate ppp sessions"; - } - leaf listname { - type xr:Cisco-ios-xr-string; - description "List name for AAA authentication"; - } - leaf method1 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method2 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method3 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf method4 { - type dt1:Aaa-method; - description "Method Type"; - } - leaf server-group-name1 { - type string; - description "Server group name"; - } - leaf server-group-name2 { - type string; - description "Server group name"; - } - leaf server-group-name3 { - type string; - description "Server group name"; - } - leaf server-group-name4 { - type string; - description "Server group name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-datatypes.yang deleted file mode 100644 index 66a8550..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-lib-datatypes.yang +++ /dev/null @@ -1,181 +0,0 @@ -module Cisco-IOS-XR-aaa-lib-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-aaa-lib-datatypes"; - - - prefix "aaa-lib-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Aaa-port-range { - type uint32 { - range "1..65535"; - } - description "Aaa port range"; - } - typedef Aaa-accounting { - type enumeration { - enum not-set { - value 0; - description "Not Set"; - } - enum start-stop { - value 1; - description "Start Stop"; - } - enum stop-only { - value 2; - description "Stop Only"; - } - } - description "Aaa accounting"; - } - typedef Aaa-accounting-rp-failover { - type enumeration { - enum disable { - value 0; - description "Disable rpfailover"; - } - enum enable { - value 1; - description "Enable rpfailover"; - } - } - description "Aaa accounting rp failover"; - } - typedef Aaa-accounting-broadcast { - type enumeration { - enum disable { - value 0; - description "Disable Broadcast"; - } - enum enable { - value 1; - description "Enable Broadcast"; - } - } - description "Aaa accounting broadcast"; - } - typedef Aaa-method { - type enumeration { - enum not-set { - value 0; - description "Not Set"; - } - enum none { - value 1; - description "None"; - } - enum local { - value 2; - description "Local"; - } - enum radius { - value 3; - description "Radius"; - } - enum tacacs-plus { - value 4; - description "TACACS+"; - } - enum dsmd { - value 5; - description "DSMD"; - } - enum sgbp { - value 6; - description "SGBP"; - } - enum acct-d { - value 7; - description "AcctD"; - } - enum error { - value 8; - description "Error"; - } - enum if-authenticated { - value 9; - description "If Authenticated"; - } - enum server-group { - value 10; - description "Server Group"; - } - enum server-group-not-defined { - value 11; - description "Server Group Not Defined"; - } - enum line { - value 12; - description "Line"; - } - enum enable { - value 13; - description "Enable"; - } - enum kerberos { - value 14; - description "Kerberos"; - } - enum diameter { - value 15; - description "Diameter"; - } - enum last { - value 16; - description "Last"; - } - } - description "Aaa method"; - } - typedef Aaa-accounting-update { - type enumeration { - enum none { - value 0; - description "Not Set"; - } - enum newinfo { - value 3; - description - "Update records for new accountable information - only"; - } - enum periodic { - value 4; - description "Update records at periodic intervals"; - } - } - description "Aaa accounting update"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-admin-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-admin-cfg.yang deleted file mode 100644 index 1ef22fd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-admin-cfg.yang +++ /dev/null @@ -1,124 +0,0 @@ -module Cisco-IOS-XR-aaa-locald-admin-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-aaa-locald-admin-cfg"; - - - prefix "aaa-locald-admin-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-locald package admin-plane configuration. - - This module contains definitions - for the following management objects: - aaa: Admin plane AAA configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Aaa-admin-password { - type enumeration { - enum type5 { - value 5; - description "Type 5 password"; - } - enum type8 { - value 8; - description "Type 8 password"; - } - enum type9 { - value 9; - description "Type 9 password"; - } - } - description "Aaa admin password"; - } - - container aaa { - description "Admin plane AAA configuration"; - - container usernames { - description "Configure local username"; - - list username { - key "name"; - description "Admin Username"; - - container usergroup-under-usernames { - description - "Specify the usergroup to which this admin user - belongs"; - - list usergroup-under-username { - key "name"; - description "Name of the usergroup"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the usergroup"; - } - } - } - - container secret { - description "Specify the secret for the admin user"; - leaf type { - type Aaa-admin-password; - description "Password type"; - } - leaf secret5 { - when "../type = 'type5'" { - description "../Type = Type5"; - } - type xr:Md5-password; - description "The user's secret password"; - } - leaf secret8 { - when "../type = 'type8'" { - description "../Type = Type8"; - } - type xr:Type8-password; - description "Type 8 password"; - } - leaf secret9 { - when "../type = 'type9'" { - description "../Type = Type9"; - } - type xr:Type9-password; - description "Type 9 password"; - } - } - leaf name { - type string; - description "Username"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-cfg.yang deleted file mode 100644 index 15a896d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-cfg.yang +++ /dev/null @@ -1,250 +0,0 @@ -module Cisco-IOS-XR-aaa-locald-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg"; - - - prefix "aaa-locald-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-locald package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-lib-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Aaa-locald-task-id { - type string; - description "Aaa locald task id"; - } - typedef Aaa-locald-task-class { - type enumeration { - enum read { - value 0; - description "Permits read operation for a Task ID"; - } - enum write { - value 1; - description "Permits write operation for a Task ID"; - } - enum execute { - value 2; - description "Permits execute operation for a Task ID"; - } - enum debug { - value 3; - description "Permits debug operation for a Task ID"; - } - } - description "Aaa locald task class"; - } - - augment "/a1:aaa" { - - container server-groups { - description "AAA group definitions"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - leaf default-taskgroup { - type string; - description - "This class is used for setting the default - taskgroup to be used for remote server - authentication"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container usernames { - description "Configure local usernames"; - - list username { - key "ordering-index name"; - description "Local username"; - - container usergroup-under-usernames { - description - "Specify the usergroup to which this user - belongs"; - - list usergroup-under-username { - key "name"; - description "Name of the usergroup"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the usergroup"; - } - } - } - leaf secret { - type xr:Md5-password; - description "Specify the secret for the user"; - } - leaf password { - type xr:Proprietary-password; - description "Specify the password for the user"; - } - leaf ordering-index { - type int32; - description - "This is used to sort the users in the order of - precedence"; - } - leaf name { - type string; - description "Username"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container taskgroups { - description "Specify a taskgroup to inherit from"; - - list taskgroup { - key "name"; - description "Taskgroup name"; - - container taskgroup-under-taskgroups { - description "Specify a taskgroup to inherit from"; - - list taskgroup-under-taskgroup { - key "name"; - description "Name of the task group to include"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the task group to include"; - } - } - } - - container tasks { - description "Specify task IDs to be part of this group"; - - list task { - key "type task-id"; - description "Task ID to be included"; - leaf type { - type Aaa-locald-task-class; - description - "This specifies the operation permitted for - this task eg: read/write/execute/debug"; - } - leaf task-id { - type Aaa-locald-task-id; - description - "Task ID to which permission is to be granted - (please use class AllTasks to get a list of - valid task IDs)"; - } - } - } - leaf description { - type string; - description "Description for the task group"; - } - leaf name { - type string; - description "Taskgroup name"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa" { - - container usergroups { - description "Specify a Usergroup to inherit from"; - - list usergroup { - key "name"; - description "Usergroup name"; - - container taskgroup-under-usergroups { - description "Task group associated with this group"; - - list taskgroup-under-usergroup { - key "name"; - description "Name of the task group"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the task group"; - } - } - } - - container usergroup-under-usergroups { - description "User group to be inherited by this group"; - - list usergroup-under-usergroup { - key "name"; - description "Name of the user group"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the user group"; - } - } - } - leaf description { - type string; - description "Description for the user group"; - } - leaf name { - type string; - description "Usergroup name"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper-sub1.yang deleted file mode 100644 index 731776a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper-sub1.yang +++ /dev/null @@ -1,164 +0,0 @@ -submodule Cisco-IOS-XR-aaa-locald-oper-sub1 { - - belongs-to Cisco-IOS-XR-aaa-locald-oper { - prefix Cisco-IOS-XR-aaa-locald-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR aaa-locald package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef String1 { - type string; - description "String1"; - } - - grouping USERGROUP-DET { - description "Detailed information regarding a usergroup"; - - container task-map { - description "Computed task map"; - uses TASKMAP; - } - leaf name-xr { - type string; - description "Name of the usergroup"; - } - - list taskgroup { - description "Component taskgroups"; - uses TASKGROUP-DET; - } - } - - grouping USER-DET { - description "Detailed information about a single user"; - - container task-map { - description "Computed taskmap"; - uses TASKMAP; - } - leaf name-xr { - type string; - description "Username"; - } - leaf admin-user { - type boolean; - description "Is admin plane user ?"; - } - leaf first-user { - type boolean; - description "Is first user ?"; - } - leaf-list usergroup { - type String1; - description "Member usergroups"; - } - } - - grouping TASKID { - description "Information about a single Task ID"; - leaf task-id { - type string; - description "Name of the task-id"; - } - leaf read { - type boolean; - description "Is read permitted?"; - } - leaf write { - type boolean; - description "Is write permitted?"; - } - leaf execute { - type boolean; - description "Is execute permitted?"; - } - leaf debug { - type boolean; - description "Is debug permitted?"; - } - } - - grouping TASKMAP { - description - "Computed taskmap of a user/usergroup/taskgroup or - Task IDs included in a taskgroup"; - - list tasks { - description "List of permitted tasks"; - uses TASKID; - } - } - - grouping TASKGROUP-DET { - description "Detailed information regarding a taskgroup"; - - container included-task-ids { - description "Task-ids included"; - uses TASKMAP; - } - - container task-map { - description "Computed task map"; - uses TASKMAP; - } - leaf name-xr { - type string; - description "Name of the taskgroup"; - } - } - - grouping REMOTEUSR-DET { - description "Detailed information regarding a usergroup"; - leaf name { - type string; - description "Name of the usergroup"; - } - leaf authenmethod { - type int32; - description "Authentication method"; - } - leaf-list usergroup { - type String1; - description "Component usergroups"; - } - leaf-list taskmap { - type String1; - description "Task map details"; - } - } - - grouping SYSTEM-SUPPORTED-TASKS { - description "List of all tasks available in the system"; - leaf-list task-id { - type String1; - description "Names of available task-ids"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper.yang deleted file mode 100644 index e03d15e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-locald-oper.yang +++ /dev/null @@ -1,119 +0,0 @@ -module Cisco-IOS-XR-aaa-locald-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper"; - - - prefix "aaa-locald-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-aaa-locald-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-locald package operational data. - - This module contains definitions - for the following management objects: - aaa: AAA operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container aaa { - config false; - description "AAA operational data"; - - container all-tasks { - description "All tasks supported by system"; - uses SYSTEM-SUPPORTED-TASKS; - } - - container currentuser-detail { - description "Current user specific details"; - uses REMOTEUSR-DET; - } - - container task-map { - description "Task map of current user"; - uses REMOTEUSR-DET; - } - - container taskgroups { - description "Individual taskgroups container"; - - list taskgroup { - key "name"; - description "Specific Taskgroup Information"; - leaf name { - type string; - description "Taskgroup name"; - } - uses TASKGROUP-DET; - } - } - - container users { - description "Container for individual local user information"; - - list user { - key "name"; - description "Specific local user information"; - leaf name { - type string; - description "Username"; - } - uses USER-DET; - } - } - - container usergroups { - description "Container for individual usergroup Information"; - - list usergroup { - key "name"; - description "Specific Usergroup Information"; - leaf name { - type string; - description "Usergroup name"; - } - uses USERGROUP-DET; - } - } - - container authen-method { - description "Current users authentication method"; - uses REMOTEUSR-DET; - } - - container current-usergroup { - description "Specific Usergroup Information"; - uses REMOTEUSR-DET; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-cfg.yang deleted file mode 100644 index 119a1f1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-cfg.yang +++ /dev/null @@ -1,969 +0,0 @@ -module Cisco-IOS-XR-aaa-protocol-radius-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-aaa-protocol-radius-cfg"; - - - prefix "aaa-protocol-radius-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-locald-cfg { prefix "a1"; } - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-protocol-radius package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-locald-cfg, - Cisco-IOS-XR-aaa-lib-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Aaa-radius-timeout { - type uint32 { - range "1..1000"; - } - description "Aaa radius timeout"; - } - typedef Aaa-dscp-value { - type union { - type enumeration { - enum af11 { - value 10; - description "Match packets with AF11 DSCP"; - } - enum af12 { - value 12; - description "Match packets with AF12 DSCP"; - } - enum af13 { - value 14; - description "Match packets with AF13 DSCP"; - } - enum af21 { - value 18; - description "Match packets with AF21 DSCP"; - } - enum af22 { - value 20; - description "Match packets with AF22 DSCP"; - } - enum af23 { - value 22; - description "Match packets with AF23 DSCP"; - } - enum af31 { - value 26; - description "Match packets with AF31 DSCP"; - } - enum af32 { - value 28; - description "Match packets with AF32 DSCP"; - } - enum af33 { - value 30; - description "Match packets with AF33 DSCP"; - } - enum af41 { - value 34; - description "Match packets with AF41 DSCP"; - } - enum af42 { - value 36; - description "Match packets with AF42 DSCP"; - } - enum af43 { - value 38; - description "Match packets with AF43 DSCP"; - } - enum cs1 { - value 8; - description "Match packets with CS1 DSCP"; - } - enum cs2 { - value 16; - description "Match packets with CS2 DSCP"; - } - enum cs3 { - value 24; - description "Match packets with CS3 DSCP"; - } - enum cs4 { - value 32; - description "Match packets with CS4 DSCP"; - } - enum cs5 { - value 40; - description "Match packets with CS5 DSCP"; - } - enum cs6 { - value 48; - description "Match packets with CS6 DSCP"; - } - enum cs7 { - value 56; - description "Match packets with CS7 DSCP"; - } - enum default { - value 0; - description "Match packets with 0000 DSCP"; - } - enum ef { - value 46; - description "Match packets with EF DSCP"; - } - } - type uint32 { - range "0..63"; - } - } - description "Aaa dscp value"; - } - typedef Aaa-action { - type enumeration { - enum accept { - value 1; - description "Accept"; - } - enum reject { - value 2; - description "Reject"; - } - } - description "Aaa action"; - } - typedef Aaa-authentication { - type enumeration { - enum all { - value 101; - description "All"; - } - enum any { - value 102; - description "Any"; - } - enum session-key { - value 103; - description "Session key"; - } - } - description "Aaa authentication"; - } - typedef Aaa-select-key { - type enumeration { - enum server-key { - value 1; - description "Server key"; - } - enum session-key { - value 2; - description "Session key"; - } - } - description "Aaa select key"; - } - typedef Aaa-throttle-access-timeout { - type uint32 { - range "1..10"; - } - description "Aaa throttle access timeout"; - } - typedef Aaa-radius-dead-detect-tries { - type uint32 { - range "1..100"; - } - description "Aaa radius dead detect tries"; - } - typedef Aaa-radius-dead-time { - type uint32 { - range "1..1440"; - } - description "Aaa radius dead time"; - } - typedef Aaa-throttle-accounting { - type uint32 { - range "0..65535"; - } - description "Aaa throttle accounting"; - } - typedef Aaa-radius-idle-time { - type uint32 { - range "1..60"; - } - description "Aaa radius idle time"; - } - typedef Aaa-direction { - type enumeration { - enum inbound { - value 0; - description "Inbound"; - } - enum outbound { - value 1; - description "Outbound"; - } - } - description "Aaa direction"; - } - typedef Aaa-radius-dead-detect-time { - type uint32 { - range "1..120"; - } - description "Aaa radius dead detect time"; - } - typedef Aaa-radius-retransmit { - type uint32 { - range "1..100"; - } - description "Aaa radius retransmit"; - } - typedef Aaa-throttle-access { - type uint32 { - range "0..65535"; - } - description "Aaa throttle access"; - } - typedef Aaa-config { - type enumeration { - enum false { - value 0; - description "False"; - } - enum true { - value 1; - description "True"; - } - } - description "Aaa config"; - } - typedef Aaa-radius-retransmit-with-disable { - type uint32 { - range "0..100"; - } - description "Aaa radius retransmit with disable"; - } - - grouping IGNORE-ACCOUNTING-PORT { - description "Common node of radius, host"; - leaf ignore-accounting-port { - type boolean; - description "Time to wait for a RADIUS server to reply"; - } - } - - grouping IDLE-TIME { - description "Common node of radius, host"; - leaf idle-time { - type Aaa-radius-timeout; - default "5"; - description "Idle time for RADIUS server"; - } - } - - grouping USERNAME { - description "Common node of radius, host"; - leaf username { - type string; - description "Username to be tested for automated testing"; - } - } - - grouping REPLY { - description "Common node of authorization, accounting"; - - container reply { - description "Specify a filter in server group"; - leaf action { - type Aaa-action; - description - "Specify the attribute list type accept or - reject"; - } - leaf attribute-list-name { - type string; - description "Name of RADIUS attribute list"; - } - } - } - - grouping DSCP { - description "Common node of ipv4, ipv6"; - leaf dscp { - type Aaa-dscp-value; - description "Specify the DSCP value"; - } - } - - grouping SERVER-KEY { - description "Common node of client, dynamic-authorization"; - leaf server-key { - type xr:Proprietary-password; - description "RADIUS CoA client encryption key"; - } - } - - grouping IGNORE-AUTH-PORT { - description "Common node of radius, host"; - leaf ignore-auth-port { - type boolean; - description "Time to wait for a RADIUS server to reply"; - } - } - - grouping REQUEST { - description "Common node of authorization, accounting"; - - container request { - description "Specify a filter in server group"; - leaf action { - type Aaa-action; - description - "Specify the attribute list type accept or - reject"; - } - leaf attribute-list-name { - type string; - description "Name of RADIUS attribute list"; - } - } - } - - augment "/a2:aaa" { - - container radius { - description "Remote Access Dial-In User Service"; - - container hosts { - description "List of RADIUS servers"; - - list host { - key "ordering-index ip-address auth-port-number"+ - " acct-port-number"; - description "Instance of a RADIUS server"; - leaf host-retransmit { - type Aaa-radius-retransmit; - default "3"; - description - "Number of times to retransmit a request to - the RADIUS server"; - } - leaf host-timeout { - type Aaa-radius-timeout; - default "5"; - description "Time to wait for a RADIUS server to reply"; - } - leaf host-key { - type xr:Proprietary-password; - description "RADIUS encryption key"; - } - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the order - of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of RADIUS server"; - } - leaf auth-port-number { - type inet:port-number; - description - "Authentication Port number (standard port - 1645)"; - } - leaf acct-port-number { - type inet:port-number; - description - "Accounting Port number (standard port 1646)"; - } - uses IGNORE-ACCOUNTING-PORT; - uses IDLE-TIME; - uses USERNAME; - uses IGNORE-AUTH-PORT; - } - } - - container dead-criteria { - description "RADIUS server dead criteria"; - leaf tries { - type Aaa-radius-dead-detect-tries; - description - "The number of consecutive timeouts the router - must experience in order to mark the server as - dead. All transmissions, including the initial - transmit and all retransmits, will be counted"; - } - leaf time { - type Aaa-radius-dead-detect-time; - description - "The minimum amount of time which must elapse - since the router last received a valid RADIUS - packet from the server prior to marking it - dead"; - } - } - - container disallow { - description "disallow null-username"; - leaf null-username { - type int32; - description "Disallow null-username"; - } - } - - container ipv6 { - description "IPv6 configuration"; - uses DSCP; - } - - container dynamic-authorization { - description "RADIUS dynamic authorization"; - - container clients { - - grouping CLIENT-CONTENT { - description "CLIENT CONTENT"; - uses SERVER-KEY; - } - - list client { - key "ip-address"; - description "Client data"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of COA client"; - } - uses CLIENT-CONTENT; - } - - list client-vrf-name { - key "vrf-name ip-address"; - description "Client data"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of COA client"; - } - uses CLIENT-CONTENT; - } - description "Client data"; - } - leaf ignore { - type Aaa-select-key; - description "Ignore option for server key or session key"; - } - leaf port { - type uint32 { - range "1000..5000"; - } - description "Specify the COA server port to listen on"; - } - leaf authentication-type { - type Aaa-authentication; - description "RADIUS dynamic authorization type"; - } - uses SERVER-KEY; - } - - container load-balance-options { - description "Radius load-balancing options"; - - container load-balance-method { - description - "Method by which the next host will be picked"; - - container batch-size { - description "Batch size for selection of the server"; - leaf batch-size { - type uint32 { - range "1..1500"; - } - default "25"; - description "Batch size for selection of the server"; - } - leaf ignore-preferred-server { - type boolean; - default "true"; - description - "Disable preferred server for this Server - Group"; - } - } - } - } - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "A VRF"; - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - RADIUS packets"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description - "VRF name. Specify 'default' for defalut VRF"; - } - } - } - - container throttle { - description "Radius throttling options"; - leaf access { - type Aaa-throttle-access; - default "0"; - description - "To flow control the number of access requests - sent to a radius server"; - } - leaf accounting { - type Aaa-throttle-accounting; - default "0"; - description - "To flow control the number of accounting - requests sent to a radius server"; - } - leaf access-timeout { - type Aaa-throttle-access-timeout; - default "3"; - description - "Specify the number of timeouts exceeding which - a throttled access request is dropped"; - } - } - - container vsa { - description - "Unknown VSA (Vendor Specific Attribute) ignore - configuration for RADIUS server"; - - container attribute { - description "Vendor Specific Attribute"; - - container ignore { - description "Ignore the VSA"; - leaf unknown { - type empty; - description - "Ignore the VSA and no prefix will reject the - unknown VSA"; - } - } - } - } - - container ipv4 { - description "IPv4 configuration"; - uses DSCP; - } - - container radius-attribute { - description "attribute"; - - container filter-id-11 { - description "Filter-Id attribute configuration"; - - container defaults { - description "Set the attribute default direction"; - leaf direction { - type Aaa-direction; - description - "Filtering is applied to - ingress(inbound)/egress(outbound) packets - only"; - } - } - } - - container acct-multi-session-id { - description "Acct-Session-Id attribute(44)"; - - container include-parent-session-id { - description - "Prepend Acct-Session-Id attribute with - Nas-Port-Id"; - leaf config { - type Aaa-config; - description "false/true"; - } - } - } - - container acct-session-id { - description "Acct-Session-Id attribute(44)"; - - container prepend-nas-port-id { - description - "Prepend Acct-Session-Id attribute with - Nas-Port-Id"; - leaf config { - type Aaa-config; - description "false/true"; - } - } - } - } - - container attributes { - description "Table of attribute list"; - - list attribute { - key "attribute-list-name"; - description "Attribute list name"; - - container vendor-ids { - description "Vendor Specific Attribute"; - - list vendor-id { - key "vendor-id"; - description "Vendor ID of vsa"; - leaf vendor-id { - type int32; - description "Vendor Id of vsa"; - } - - list vendor-type { - key "vendor-type"; - description "Vendor Type of vsa"; - leaf vendor-type { - type int32; - description "Vendor Type of vsa"; - } - - list attribute-name { - key "attribute-name"; - description "Attribute Name of vsa"; - leaf attribute-name { - type xr:Cisco-ios-xr-string; - description "Attribute Name of vsa"; - } - - list attribute-name-absent { - key "attribute-name-absent"; - description "AttributeName of vsa is absent"; - leaf attribute-name-absent { - type int32; - description "AttributeName of vsa is absent"; - } - - list attribute-name-present { - key "attribute-name-present"; - description "AttributeName of vsa is present"; - leaf attribute-name-present { - type int32; - description - "AttributeName of vsa is present"; - } - } - } - } - } - } - } - leaf attribute { - type string; - description "Specify RADIUS attribute"; - } - leaf attribute-list-name { - type xr:Cisco-ios-xr-string; - description "Attribute list name"; - } - } - } - - container source-port { - description "Source port"; - leaf extended { - type empty; - description "Enable source-port extend "; - } - } - leaf retransmit { - type Aaa-radius-retransmit-with-disable; - default "3"; - description - "Number of times to retransmit a request to the - RADIUS server(0-Disable)"; - } - leaf dead-time { - type Aaa-radius-dead-time; - units "minute"; - description - "This indicates the length of time (in minutes) - for which a RADIUS server remains marked as - dead"; - } - leaf key { - type xr:Proprietary-password; - description "RADIUS encryption key"; - } - leaf timeout { - type Aaa-radius-timeout; - default "5"; - description "Time to wait for a RADIUS server to reply"; - } - uses IGNORE-ACCOUNTING-PORT; - uses IDLE-TIME; - uses USERNAME; - uses IGNORE-AUTH-PORT; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a2:aaa/a1:server-groups" { - - container radius-server-groups { - description "RADIUS server group definition"; - - list radius-server-group { - key "server-group-name"; - description "RADIUS server group name"; - - container accounting { - description "List of filters in server group"; - uses REQUEST; - uses REPLY; - } - - container servers { - description "List of RADIUS servers present in the group"; - - list server { - key "ordering-index ip-address auth-port-number"+ - " acct-port-number"; - description "A server to include in the server group"; - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of RADIUS server"; - } - leaf auth-port-number { - type inet:port-number; - description - "Authentication Port number (standard port - 1645)"; - } - leaf acct-port-number { - type inet:port-number; - description - "Accounting Port number (standard port 1646)"; - } - } - } - - container private-servers { - description - "List of private RADIUS servers present in the - group"; - - list private-server { - key "ordering-index ip-address auth-port-number"+ - " acct-port-number"; - description - "A private server to include in the server - group"; - leaf private-timeout { - type Aaa-radius-timeout; - default "5"; - description - "Time to wait for a RADIUS server to reply"; - } - leaf ignore-accounting-port { - type boolean; - description "Ignore Accounting port"; - } - leaf private-retransmit { - type Aaa-radius-retransmit; - default "3"; - description - "Number of times to retransmit a request to - the RADIUS server"; - } - leaf idle-time { - type Aaa-radius-idle-time; - default "5"; - description "Idle time for the radius Server"; - } - leaf private-key { - type xr:Proprietary-password; - description "RADIUS encryption key"; - } - leaf username { - type string; - description - "Username to be tested for automated testing"; - } - leaf ignore-auth-port { - type boolean; - description "Ignore authentication Port"; - } - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of RADIUS server"; - } - leaf auth-port-number { - type inet:port-number; - description - "Authentication Port number (standard port - 1645)"; - } - leaf acct-port-number { - type inet:port-number; - description - "Accounting Port number (standard port 1646)"; - } - } - } - - container server-group-throttle { - description "Radius throttling options"; - leaf access { - type Aaa-throttle-access; - default "0"; - description - "To flow control the number of access requests - sent to a radius server"; - } - leaf accounting { - type Aaa-throttle-accounting; - default "0"; - description - "To flow control the number of accounting - requests sent to a radius server"; - } - leaf access-timeout { - type Aaa-throttle-access-timeout; - default "3"; - description - "Specify the number of timeouts exceeding - which a throttled access request is dropped"; - } - } - - container load-balance { - description "Radius load-balancing options"; - - container method { - description - "Method by which the next host will be picked"; - - container name { - description "Batch size for selection of the server"; - leaf least-outstanding { - type int32; - default "4"; - description - "Pick the server with the least transactions - outstanding"; - } - leaf batch-size { - type uint32 { - range "1..1500"; - } - default "25"; - description - "Batch size for selection of the server"; - } - leaf ignore-preferred-server { - type boolean; - default "true"; - description - "Disable preferred server for this Server - Group"; - } - } - } - } - - container authorization { - description "List of filters in server group"; - uses REQUEST; - uses REPLY; - } - leaf dead-time { - type Aaa-radius-dead-time; - units "minute"; - description - "This indicates the length of time (in minutes) - for which RADIUS servers present in this group - remain marked as dead"; - } - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in RADIUS - packets"; - } - leaf vrf { - type string; - description "Specify VRF name of RADIUS group"; - } - leaf server-group-name { - type xr:Cisco-ios-xr-string; - description "RADIUS server group name"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-locald-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub1.yang deleted file mode 100644 index fcf3ff8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub1.yang +++ /dev/null @@ -1,488 +0,0 @@ -submodule Cisco-IOS-XR-aaa-protocol-radius-oper-sub1 { - - belongs-to Cisco-IOS-XR-aaa-protocol-radius-oper { - prefix Cisco-IOS-XR-aaa-protocol-radius-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR aaa-protocol-radius package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RADIUS-CLIENTBAG { - description "RADIUS CLIENTBAG"; - leaf unknown-authentication-response { - type uint32; - description - "Number of RADIUS Access-Responsepackets received - from unknownaddresses"; - } - leaf authentication-nas-id { - type string; - description - "NAS-Identifier of the RADIUSauthentication - client"; - } - leaf unknown-accounting-response { - type uint32; - description - "Number of RADIUS Accounting-Responsepackets - received from unknownaddresses"; - } - leaf accounting-nas-id { - type string; - description "NAS-Identifier of the RADIUSaccounting client"; - } - } - - grouping SRC-INTF { - description "SRC INTF"; - leaf interface-name { - type string; - description "Name of the source interface"; - } - leaf ipaddrv4 { - type string { - length "0..16"; - } - description "IP address buffer"; - } - leaf ipaddrv6 { - type string { - length "0..46"; - } - description "IP address buffer"; - } - leaf vrfid { - type uint32; - description "VRF Id"; - } - } - - grouping SOURCE-INTERFACES { - description "SOURCE INTERFACES"; - - list list-of-source-interface { - description "List of source interfaces"; - uses SRC-INTF; - } - } - - grouping RADIUS-SERVERBAG { - description "RADIUS SERVERBAG"; - leaf ipv4-address { - type inet:ipv4-address; - description "IP address of RADIUS server"; - } - leaf priority { - type uint32; - description - "A number that indicates the priority - of the server"; - } - leaf timeout-xr { - type uint32; - units "second"; - description "Per-server timeout in seconds"; - } - leaf retransmit { - type uint32; - description "Per-server retransmit"; - } - leaf dead-time { - type uint32; - units "minute"; - description "Per-server deadtime in minutes"; - } - leaf dead-detect-time { - type uint32; - units "second"; - description "Per-server dead-detect time in seconds"; - } - leaf dead-detect-tries { - type uint32; - description "Per-server dead-detect tries"; - } - leaf authentication-port { - type uint32; - description "Authentication port"; - } - leaf accounting-port { - type uint32; - description "Accounting port"; - } - leaf state { - type string; - description "State of the server UP/DOWN"; - } - leaf current-state-duration { - type uint32; - description - "Elapsed time the server has been in - current state"; - } - leaf previous-state-duration { - type uint32; - description - "Elapsed time the server was been in - previous state"; - } - leaf packets-in { - type uint32; - description "Total number of incoming packets read"; - } - leaf packets-out { - type uint32; - description "Total number of outgoing packets sent"; - } - leaf timeouts { - type uint32; - description "Total number of packets timed-out"; - } - leaf aborts { - type uint32; - description "Total number of requests aborted"; - } - leaf replies-expected { - type uint32; - description "Number of replies expected to arrive"; - } - leaf redirected-requests { - type uint32; - description "Number of requests redirected"; - } - leaf authentication-rtt { - type uint32; - units "millisecond"; - description - "Round-trip time for authentication - in milliseconds"; - } - leaf access-requests { - type uint32; - description "Number of access requests"; - } - leaf access-request-retransmits { - type uint32; - description - "Number of retransmitted - access requests"; - } - leaf access-accepts { - type uint32; - description "Number of access accepts"; - } - leaf access-rejects { - type uint32; - description "Number of access rejects"; - } - leaf access-challenges { - type uint32; - description "Number of access challenges"; - } - leaf bad-access-responses { - type uint32; - description "Number of bad access responses"; - } - leaf bad-access-authenticators { - type uint32; - description "Number of bad access authenticators"; - } - leaf pending-access-requests { - type uint32; - description "Number of pending access requests"; - } - leaf access-timeouts { - type uint32; - description "Number of access packets timed-out"; - } - leaf unknown-access-types { - type uint32; - description - "Number of packets received with unknown - type from authentication server"; - } - leaf dropped-access-responses { - type uint32; - description "Number of access responses dropped"; - } - leaf throttled-access-reqs { - type uint32; - description "No of throttled access reqs stats"; - } - leaf throttled-timed-out-reqs { - type uint32; - description "No of access reqs that is throttled is timedout"; - } - leaf throttled-dropped-reqs { - type uint32; - description "No of discarded access reqs"; - } - leaf max-throttled-access-reqs { - type uint32; - description "Max throttled access reqs"; - } - leaf currently-throttled-access-reqs { - type uint32; - description "No of currently throttled access reqs"; - } - leaf authen-response-time { - type uint32; - description - "Average response time for authentication - requests"; - } - leaf authen-transaction-successess { - type uint32; - description "Number of succeeded authentication transactions"; - } - leaf authen-transaction-failure { - type uint32; - description "Number of failed authentication transactions"; - } - leaf authen-unexpected-responses { - type uint32; - description "Number of unexpected authentication responses"; - } - leaf authen-server-error-responses { - type uint32; - description "Number of server error authentication responses"; - } - leaf authen-incorrect-responses { - type uint32; - description "Number of incorrect authentication responses"; - } - leaf author-requests { - type uint32; - description "Number of access requests"; - } - leaf author-request-timeouts { - type uint32; - description "Number of access packets timed out"; - } - leaf author-response-time { - type uint32; - description - "Average response time for authorization requests"; - } - leaf author-transaction-successess { - type uint32; - description "Number of succeeded authorization transactions"; - } - leaf author-transaction-failure { - type uint32; - description "Number of failed authorization transactions"; - } - leaf author-unexpected-responses { - type uint32; - description "Number of unexpected authorization responses"; - } - leaf author-server-error-responses { - type uint32; - description "Number of server error authorization responses"; - } - leaf author-incorrect-responses { - type uint32; - description "Number of incorrect authorization responses"; - } - leaf accounting-rtt { - type uint32; - units "millisecond"; - description - "Round-trip time for accounting - in milliseconds"; - } - leaf accounting-requests { - type uint32; - description "Number of accounting requests"; - } - leaf accounting-retransmits { - type uint32; - description - "Number of retransmitted - accounting requests"; - } - leaf accounting-responses { - type uint32; - description "Number of accounting responses"; - } - leaf bad-accounting-responses { - type uint32; - description "Number of bad accounting responses"; - } - leaf bad-accounting-authenticators { - type uint32; - description - "Number of bad accounting - authenticators"; - } - leaf pending-accounting-requets { - type uint32; - description "Number of pending accounting requests"; - } - leaf accounting-timeouts { - type uint32; - description - "Number of accounting packets - timed-out"; - } - leaf unknown-accounting-types { - type uint32; - description - "Number of packets received with unknown - type from accounting server"; - } - leaf dropped-accounting-responses { - type uint32; - description - "Number of accounting responses - dropped"; - } - leaf is-a-private-server { - type boolean; - description "Is a private server"; - } - leaf total-test-auth-reqs { - type uint32; - description "Total auth test request"; - } - leaf total-test-auth-timeouts { - type uint32; - description "Total auth test timeouts"; - } - leaf total-test-auth-response { - type uint32; - description "Total auth test response"; - } - leaf total-test-auth-pending { - type uint32; - description "Total auth test pending"; - } - leaf total-test-acct-reqs { - type uint32; - description " Total acct test req"; - } - leaf total-test-acct-timeouts { - type uint32; - description "Total acct test timeouts"; - } - leaf total-test-acct-response { - type uint32; - description "Total acct test response"; - } - leaf total-test-acct-pending { - type uint32; - description "Total acct test pending"; - } - leaf throttled-acct-transactions { - type uint32; - description "No of throttled acct transactions stats"; - } - leaf throttled-acct-timed-out-stats { - type uint32; - description - "No of acct transaction that is throttled is - timedout"; - } - leaf throttled-acct-failures-stats { - type uint32; - description "No of acct discarded transaction"; - } - leaf max-acct-throttled { - type uint32; - description "Max throttled acct transactions"; - } - leaf throttleda-acct-transactions { - type uint32; - description "No of currently throttled acct transactions"; - } - leaf acct-unexpected-responses { - type uint32; - description "Number of unexpected accounting responses"; - } - leaf acct-server-error-responses { - type uint32; - description "Number of server error accounting responses"; - } - leaf acct-incorrect-responses { - type uint32; - description "Number of incorrect accounting responses"; - } - leaf acct-response-time { - type uint32; - description - "Average response time for authentication - requests"; - } - leaf acct-transaction-successess { - type uint32; - description "Number of succeeded authentication transactions"; - } - leaf acct-transaction-failure { - type uint32; - description "Number of failed authentication transactions"; - } - leaf total-deadtime { - type uint32; - description - "Total time of Server being in DEAD - state"; - } - leaf last-deadtime { - type uint32; - description - "Time of Server being in DEAD state, - after last UP"; - } - leaf is-quarantined { - type boolean; - description - "flag to indicate Server is quarantined - or not (Automated TEST in progress)"; - } - leaf group-name { - type string; - description "Server group name for private server"; - } - leaf ip-address-xr { - type string; - description "IP address buffer"; - } - leaf family { - type string; - description "IP address Family"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub2.yang deleted file mode 100644 index 50fa452..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper-sub2.yang +++ /dev/null @@ -1,433 +0,0 @@ -submodule Cisco-IOS-XR-aaa-protocol-radius-oper-sub2 { - - belongs-to Cisco-IOS-XR-aaa-protocol-radius-oper { - prefix Cisco-IOS-XR-aaa-protocol-radius-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR aaa-protocol-radius package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RADIUS-DYNAMIC-SERVER { - description "RADIUS dynamic author server"; - leaf disconnected-invalid-requests { - type uint32; - description "Invalid disconnected requests"; - } - leaf invalid-coa-requests { - type uint32; - description "Invalid change of authorization requests"; - } - } - - grouping RADIUS-AUTHORIZATION-DATA { - description "RADIUS authorization data"; - leaf author-requests { - type uint32; - description "Number of access requests"; - } - leaf author-request-timeouts { - type uint32; - description "Number of access packets timed out"; - } - leaf author-unexpected-responses { - type uint32; - description "Number of unexpected authorization responses"; - } - leaf author-server-error-responses { - type uint32; - description "Number of server error authorization responses"; - } - leaf author-incorrect-responses { - type uint32; - description "Number of incorrect authorization responses"; - } - leaf author-response-time { - type uint32; - description - "Average response time for authorization requests"; - } - leaf author-transaction-successess { - type uint32; - description "Number of succeeded authorization transactions"; - } - leaf author-transaction-failure { - type uint32; - description "Number of failed authorization transactions"; - } - } - - grouping RADIUS-SERVER-GROUP-DATA { - description "RADIUS server group data"; - - container accounting { - description "Accounting data"; - uses RADIUS-ACCOUNTING-DATA; - } - - container authentication { - description "Authentication data"; - uses RADIUS-AUTHENTICATION-DATA; - } - - container authorization { - description "Authorization data"; - uses RADIUS-AUTHORIZATION-DATA; - } - leaf server-address { - type inet:ipv4-address; - description "Server address"; - } - leaf authentication-port { - type uint32; - description "Authentication port"; - } - leaf accounting-port { - type uint32; - description "Accounting port"; - } - leaf is-private { - type boolean; - description "True if private"; - } - leaf ip-address { - type string; - description "IP address buffer"; - } - leaf family { - type string; - description "IP address Family"; - } - } - - grouping RADIUS-GROUPS-SERVERS { - description "RADIUS server groups"; - leaf groups { - type uint32; - description "Number of groups"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - leaf dead-time { - type uint32; - units "minute"; - description "Dead time in minutes"; - } - leaf servers { - type uint32; - description "Number of servers"; - } - - list server-group { - description "Server groups"; - uses RADIUS-SERVER-GROUP-DATA; - } - } - - grouping RADIUS-ACCOUNTING-DATA { - description "RADIUS accounting data"; - leaf requests { - type uint32; - description "Number of accounting requests"; - } - leaf pending-requests { - type uint32; - description "Number of pending accounting requests"; - } - leaf retransmits { - type uint32; - description "Number of retransmitted accounting requests"; - } - leaf responses { - type uint32; - description "Number of accounting responses"; - } - leaf timeouts { - type uint32; - description "Number of accounting packets timed-out"; - } - leaf bad-responses { - type uint32; - description "Number of bad accounting responses"; - } - leaf bad-authenticators { - type uint32; - description "Number of bad accounting authenticators"; - } - leaf unknown-packet-types { - type uint32; - description - "Number of packets received with unknown type - from accounting server"; - } - leaf dropped-responses { - type uint32; - description "Number of accounting responses dropped"; - } - leaf rtt { - type uint32; - units "millisecond"; - description "Round trip time for accounting in milliseconds"; - } - leaf acct-unexpected-responses { - type uint32; - description "Number of unexpected accounting responses"; - } - leaf acct-server-error-responses { - type uint32; - description "Number of server error accounting responses"; - } - leaf acct-incorrect-responses { - type uint32; - description "Number of incorrect accounting responses"; - } - leaf acct-response-time { - type uint32; - description - "Average response time for authentication - requests"; - } - leaf acct-transaction-successess { - type uint32; - description "Number of succeeded authentication transactions"; - } - leaf acct-transaction-failure { - type uint32; - description "Number of failed authentication transactions"; - } - } - - grouping RADIUS-ACCOUNTING { - description "RADIUS accounting"; - - container accounting { - description "Accounting data"; - uses RADIUS-ACCOUNTING-DATA; - } - leaf server-address { - type inet:ipv4-address; - description "IP address of RADIUS server"; - } - leaf port { - type uint32; - description "Accounting port number"; - } - leaf ip-address { - type string; - description "IP address buffer"; - } - leaf family { - type string; - description "IP address Family"; - } - } - - grouping RADIUS-SERVER-ACCOUNTING { - description "RADIUS accounting information of all servers"; - - list accounting-group { - description "List of accounting groups"; - uses RADIUS-ACCOUNTING; - } - } - - grouping RADIUS-AUTHENTICATION-DATA { - description "RADIUS authentication data"; - leaf access-requests { - type uint32; - description "Number of access requests"; - } - leaf pending-access-requests { - type uint32; - description "Number of pending access requests"; - } - leaf access-request-retransmits { - type uint32; - description "Number of retransmitted access requests"; - } - leaf access-accepts { - type uint32; - description "Number of access accepts"; - } - leaf access-rejects { - type uint32; - description "Number of access rejects"; - } - leaf access-challenges { - type uint32; - description "Number of access challenges"; - } - leaf access-timeouts { - type uint32; - description "Number of access packets timed out"; - } - leaf bad-access-responses { - type uint32; - description "Number of bad access responses"; - } - leaf bad-access-authenticators { - type uint32; - description "Number of bad access authenticators"; - } - leaf unknown-access-types { - type uint32; - description - "Number of packets received with unknown type - from authentication server"; - } - leaf dropped-access-responses { - type uint32; - description "Number of access responses dropped"; - } - leaf rtt { - type uint32; - units "millisecond"; - description - "Round trip time for authentication in - milliseconds"; - } - leaf authen-response-time { - type uint32; - description - "Average response time for authentication - requests"; - } - leaf authen-transaction-successess { - type uint32; - description "Number of succeeded authentication transactions"; - } - leaf authen-transaction-failure { - type uint32; - description "Number of failed authentication transactions"; - } - leaf authen-unexpected-responses { - type uint32; - description "Number of unexpected authentication responses"; - } - leaf authen-server-error-responses { - type uint32; - description "Number of server error authentication responses"; - } - leaf authen-incorrect-responses { - type uint32; - description "Number of incorrect authentication responses"; - } - } - - grouping RADIUS-AUTHENTICATION { - description "RADIUS authentication"; - - container authentication { - description "Authentication data"; - uses RADIUS-AUTHENTICATION-DATA; - } - leaf server-address { - type inet:ipv4-address; - description "IP address of RADIUS server"; - } - leaf port { - type uint32; - description "Authentication port number"; - } - leaf ip-address { - type string; - description "IP address buffer"; - } - leaf family { - type string; - description "IP address Family"; - } - } - - grouping RADIUS-SERVER-AUTHENTICATION { - description "RADIUS authentication data of all servers"; - - list authentication-group { - description "List of authentication groups"; - uses RADIUS-AUTHENTICATION; - } - } - - grouping RADIUS-TIME-TRIES-DATA { - description "Time and tries information"; - leaf value { - type uint32; - description "Value for time or tries"; - } - leaf is-computed { - type boolean; - description "True if computed; false if not"; - } - } - - grouping RADIUS-DEAD-CRITERIA { - description "Dead criteria information"; - - container time { - description "Time in seconds"; - uses RADIUS-TIME-TRIES-DATA; - } - - container tries { - description "Number of tries"; - uses RADIUS-TIME-TRIES-DATA; - } - } - - grouping RADIUS-CLIENT-XML { - description "RADIUS client data"; - leaf unknown-authentication-responses { - type uint32; - description - "Number of RADIUS access responses packets - received from unknown addresses"; - } - leaf authentication-nas-id { - type string; - description - "NAS-Identifier of the RADIUS authentication - client"; - } - leaf unknown-accounting-responses { - type uint32; - description - "Number of RADIUS accounting responses packets - received from unknown addresses"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper.yang deleted file mode 100644 index aa3fc84..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-protocol-radius-oper.yang +++ /dev/null @@ -1,205 +0,0 @@ -module Cisco-IOS-XR-aaa-protocol-radius-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-aaa-protocol-radius-oper"; - - - prefix "aaa-protocol-radius-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-aaa-locald-oper { prefix "a1"; } - - include Cisco-IOS-XR-aaa-protocol-radius-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-aaa-protocol-radius-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-protocol-radius package operational data. - - This module contains definitions - for the following management objects: - radius: RADIUS operational data - - This YANG module augments the - Cisco-IOS-XR-aaa-locald-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Radius-port-range { - type uint32 { - range "1..65535"; - } - description "Radius port range"; - } - typedef Aaa-radius-port-range { - type uint32 { - range "1..65535"; - } - description "Aaa radius port range"; - } - - container radius { - config false; - description "RADIUS operational data"; - - container nodes { - description "Contains all the nodes"; - - list node { - key "node-name"; - description "RADIUS operational data for a particular node"; - - container client { - description "RADIUS client data"; - uses RADIUS-CLIENT-XML; - } - - container dead-criteria { - description "RADIUS dead criteria information"; - - container hosts { - description "RADIUS server dead criteria host table"; - - list host { - description "RADIUS Server"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of RADIUS server"; - } - leaf auth-port-number { - type Radius-port-range; - description - "Authentication Port number (standard port - 1645)"; - } - leaf acct-port-number { - type Radius-port-range; - description - "Accounting Port number (standard port 1646)"; - } - uses RADIUS-DEAD-CRITERIA; - } - } - } - - container authentication { - description "RADIUS authentication data"; - uses RADIUS-SERVER-AUTHENTICATION; - } - - container accounting { - description "RADIUS accounting data"; - uses RADIUS-SERVER-ACCOUNTING; - } - - container server-groups { - description "RADIUS server group table"; - - list server-group { - key "server-group-name"; - description "RADIUS server group data"; - leaf server-group-name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - uses RADIUS-GROUPS-SERVERS; - } - } - - container dynamic-authorization { - description "Dynamic authorization data"; - uses RADIUS-DYNAMIC-SERVER; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - augment "/a1:aaa" { - - container radius { - description "RADIUS operational data"; - - container servers { - description "List of RADIUS servers configured"; - - list server { - description "RADIUS Server"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of RADIUS server"; - } - leaf auth-port-number { - type Aaa-radius-port-range; - description - "Authentication Port number (standard port - 1645)"; - } - leaf acct-port-number { - type Aaa-radius-port-range; - description - "Accounting Port number (standard port 1646)"; - } - uses RADIUS-SERVERBAG; - } - } - - container radius-source-interface { - description "RADIUS source interfaces"; - uses SOURCE-INTERFACES; - } - - container global { - description "RADIUS Client Information"; - uses RADIUS-CLIENTBAG; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-aaa-locald-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-cfg.yang deleted file mode 100644 index ffda46e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-cfg.yang +++ /dev/null @@ -1,334 +0,0 @@ -module Cisco-IOS-XR-aaa-tacacs-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg"; - - - prefix "aaa-tacacs-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-aaa-lib-cfg { prefix "a1"; } - - import Cisco-IOS-XR-aaa-locald-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-tacacs package configuration. - - This YANG module augments the - Cisco-IOS-XR-aaa-lib-cfg, - Cisco-IOS-XR-aaa-locald-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tacacs-dscp-value { - type union { - type enumeration { - enum af11 { - value 10; - description "Match packets with AF11 DSCP"; - } - enum af12 { - value 12; - description "Match packets with AF12 DSCP"; - } - enum af13 { - value 14; - description "Match packets with AF13 DSCP"; - } - enum af21 { - value 18; - description "Match packets with AF21 DSCP"; - } - enum af22 { - value 20; - description "Match packets with AF22 DSCP"; - } - enum af23 { - value 22; - description "Match packets with AF23 DSCP"; - } - enum af31 { - value 26; - description "Match packets with AF31 DSCP"; - } - enum af32 { - value 28; - description "Match packets with AF32 DSCP"; - } - enum af33 { - value 30; - description "Match packets with AF33 DSCP"; - } - enum af41 { - value 34; - description "Match packets with AF41 DSCP"; - } - enum af42 { - value 36; - description "Match packets with AF42 DSCP"; - } - enum af43 { - value 38; - description "Match packets with AF43 DSCP"; - } - enum cs1 { - value 8; - description "Match packets with CS1 DSCP"; - } - enum cs2 { - value 16; - description "Match packets with CS2 DSCP"; - } - enum cs3 { - value 24; - description "Match packets with CS3 DSCP"; - } - enum cs4 { - value 32; - description "Match packets with CS4 DSCP"; - } - enum cs5 { - value 40; - description "Match packets with CS5 DSCP"; - } - enum cs6 { - value 48; - description "Match packets with CS6 DSCP"; - } - enum cs7 { - value 56; - description "Match packets with CS7 DSCP"; - } - enum default { - value 0; - description "Match packets with 0000 DSCP"; - } - enum ef { - value 46; - description "Match packets with EF DSCP"; - } - } - type uint32 { - range "0..63"; - } - } - description "Tacacs dscp value"; - } - typedef Aaa-tacacs-timeout { - type uint32 { - range "1..1000"; - } - description "Aaa tacacs timeout"; - } - typedef Aaa-tacacs-port-range { - type uint32 { - range "1..65535"; - } - description "Aaa tacacs port range"; - } - - grouping KEY { - description "Common node of tacacs, host, private-server"; - leaf key { - type xr:Proprietary-password; - description "Set TACACS+ encryption key"; - } - } - - grouping TIMEOUT { - description "Common node of tacacs, host, private-server"; - leaf timeout { - type Aaa-tacacs-timeout; - default "5"; - description "Time to wait for a TACACS+ server to reply"; - } - } - - grouping DSCP { - description "Common node of ipv4, ipv6"; - leaf dscp { - type Tacacs-dscp-value; - description "Specify the DSCP value"; - } - } - - grouping SINGLE-CONNECT { - description "Common node of tacacs, host"; - leaf single-connect { - type boolean; - default "false"; - description - "Use a single connection for all sessions for a - given TACACS+ server"; - } - } - - augment "/a1:aaa" { - - container tacacs { - description "Modify TACACS+ query parameters"; - - container ipv6 { - description "IPv6 configuration"; - uses DSCP; - } - - container hosts { - description "Specify a TACACS+ server"; - - list host { - key "ordering-index ip-address port-number"; - description "One of the TACACS+ servers"; - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the order - of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of TACACS+ server"; - } - leaf port-number { - type Aaa-tacacs-port-range; - description "Port number (standard 49)"; - } - uses KEY; - uses TIMEOUT; - uses SINGLE-CONNECT; - } - } - - container ipv4 { - description "IPv4 configuration"; - uses DSCP; - } - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "A VRF"; - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - TACACS+ packets"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description - "VRF name. Specify 'default' for default VRF"; - } - } - } - uses KEY; - uses TIMEOUT; - uses SINGLE-CONNECT; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-lib-cfg'"; - } - - augment "/a1:aaa/a2:server-groups" { - - container tacacs-server-groups { - description "TACACS+ server-group definition"; - - list tacacs-server-group { - key "server-group-name"; - description "TACACS+ Server group name"; - - container servers { - description "Specify a TACACS+ server"; - - list server { - key "ordering-index ip-address"; - description "A server to include in the server group"; - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of TACACS+ server"; - } - } - } - - container private-servers { - description - "List of private TACACS servers present in the - group"; - - list private-server { - key "ordering-index ip-address port-number"; - description - "A private server to include in the server - group"; - leaf ordering-index { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of TACACS+ server"; - } - leaf port-number { - type Aaa-tacacs-port-range; - description "Port number (standard 49)"; - } - uses KEY; - uses TIMEOUT; - } - } - leaf vrf { - type string; - description "Specify VRF name of TACACS group"; - } - leaf server-group-name { - type xr:Cisco-ios-xr-string; - description "TACACS+ Server group name"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-aaa-locald-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper-sub1.yang deleted file mode 100644 index c547222..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper-sub1.yang +++ /dev/null @@ -1,218 +0,0 @@ -submodule Cisco-IOS-XR-aaa-tacacs-oper-sub1 { - - belongs-to Cisco-IOS-XR-aaa-tacacs-oper { - prefix Cisco-IOS-XR-aaa-tacacs-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR aaa-tacacs package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping TACACS-SERVER-GROUP-BAG { - description "TACACS SERVER GROUP BAG"; - leaf group-name { - type string; - description "name of the server group"; - } - leaf sg-map-num { - type uint32; - description "server group mapped number"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "vrf of the group"; - } - - list server { - description "list of servers in this group"; - uses TACACS-SERVERBAG; - } - } - - grouping TACACS-SERVER-GROUPS { - description "TACACS SERVER GROUPS"; - - list server-group { - description "server group"; - uses TACACS-SERVER-GROUP-BAG; - } - } - - grouping TACACS-SERVERBAG { - description "TACACS SERVERBAG"; - leaf addr { - type inet:ipv4-address; - description "internet address of T+ server"; - } - leaf timeout { - type uint32; - description "per-server timeout"; - } - leaf port { - type uint32; - description "per server port to use"; - } - leaf bytes-in { - type uint32; - units "byte"; - description "# of bytes read"; - } - leaf bytes-out { - type uint32; - units "byte"; - description "# of bytes out"; - } - leaf closes { - type uint32; - description "socket closes"; - } - leaf opens { - type uint32; - description "socket opens"; - } - leaf errors { - type uint32; - description "error count"; - } - leaf aborts { - type uint32; - description "abort count"; - } - leaf paks-in { - type uint32; - description "# of incoming packets read"; - } - leaf paks-out { - type uint32; - description "# of outgoing packets sent"; - } - leaf replies-expected { - type uint32; - description "# of replies expected to arrive"; - } - leaf up { - type boolean; - description "is the server UP or down ?"; - } - leaf conn-up { - type boolean; - description "is the server connected ?"; - } - leaf single-connect { - type boolean; - description "is this a single connect server ?"; - } - leaf is-private { - type boolean; - description "is this a private server ?"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF in which server is reachable"; - } - leaf addr-buf { - type string { - length "0..46"; - } - description "IP address buffer"; - } - leaf family { - type string { - length "0..5"; - } - description "IP address Family"; - } - } - - grouping TACACS-SERVERS { - description "TACACS SERVERS"; - - list server { - description "server"; - uses TACACS-SERVERBAG; - } - } - - grouping TACACS-REQUESTBAG { - description "TACACS REQUESTBAG"; - - list tacacs-requestbag { - description "tacacs requestbag"; - leaf time-remaining { - type uint32; - description "time remaining for this request"; - } - leaf bytes-out { - type uint32; - units "byte"; - description "bytes written"; - } - leaf out-pak-size { - type uint32; - description "size of the packet to be sent"; - } - leaf bytes-in { - type uint32; - units "byte"; - description "bytes read from socket"; - } - leaf in-pak-size { - type uint32; - description "size of the packet to be received"; - } - leaf pak-type { - type string; - description "the type of packet"; - } - leaf session-id { - type int32; - description "same as in pkt hdr"; - } - leaf sock { - type int32; - description "socket number"; - } - } - } - - grouping TACACS-REQUESTS { - description "TACACS REQUESTS"; - - list request { - description "request"; - uses TACACS-REQUESTBAG; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper.yang deleted file mode 100644 index fb53165..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-aaa-tacacs-oper.yang +++ /dev/null @@ -1,74 +0,0 @@ -module Cisco-IOS-XR-aaa-tacacs-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper"; - - - prefix "aaa-tacacs-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-aaa-locald-oper { prefix "a1"; } - - include Cisco-IOS-XR-aaa-tacacs-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR aaa-tacacs package operational data. - - This YANG module augments the - Cisco-IOS-XR-aaa-locald-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:aaa" { - - container tacacs { - description "TACACS operational data"; - - container requests { - description "TACACS Active Request List"; - uses TACACS-REQUESTS; - } - - container servers { - description "TACACS server Information"; - uses TACACS-SERVERS; - } - - container server-groups { - description "TACACS sg Information"; - uses TACACS-SERVER-GROUPS; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-aaa-locald-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-accounting-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-accounting-cfg.yang deleted file mode 100644 index b4b1a99..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-accounting-cfg.yang +++ /dev/null @@ -1,94 +0,0 @@ -module Cisco-IOS-XR-accounting-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg"; - - - prefix "accounting-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR accounting package configuration. - - This module contains definitions - for the following management objects: - accounting: Global Accounting configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-31" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container accounting { - description "Global Accounting configuration commands"; - - container interfaces { - description "Interfaces configuration"; - - container mpls { - description "Interfaces MPLS configuration"; - leaf enable { - type empty; - description "Enable accounting on MPLS"; - } - leaf enable-v4rsvpte { - type empty; - description "Enable accounting on MPLS IPv4 RSVP TE"; - } - } - - container segment-routing { - description "Interfaces Segment Routing configuration"; - leaf enable { - type empty; - description "Enable accounting on Segment Routing"; - } - leaf enable-mplsv4 { - type empty; - description - "Enable accounting on Segment Routing MPLS IPv4"; - } - leaf enable-mplsv6 { - type empty; - description - "Enable accounting on Segment Routing MPLS IPv6"; - } - } - leaf enable { - type empty; - description "Enable accounting on Interfaces"; - } - } - leaf enable { - type empty; - description "Enable Accounting"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper-sub1.yang deleted file mode 100644 index d6cdbab..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper-sub1.yang +++ /dev/null @@ -1,868 +0,0 @@ -submodule Cisco-IOS-XR-alarmgr-server-oper-sub1 { - - belongs-to Cisco-IOS-XR-alarmgr-server-oper { - prefix Cisco-IOS-XR-alarmgr-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR alarmgr-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Alarm-client { - type enumeration { - enum unknown { - value 1; - description "Client type unknown"; - } - enum producer { - value 2; - description "Client type producer"; - } - enum consumer { - value 4; - description "Client type consumer"; - } - enum subscriber { - value 8; - description "Client type subscriber"; - } - enum client-last { - value 16; - description "Client type last"; - } - } - description "Alarm client"; - } - typedef Alarm-client-state { - type enumeration { - enum start { - value 0; - description "Starting state. Should be 0"; - } - enum init { - value 1; - description "Client initalized"; - } - enum connecting { - value 2; - description "Sent connect request"; - } - enum connected { - value 3; - description "Initial connected"; - } - enum registered { - value 4; - description "Has sent registration message"; - } - enum disconnected { - value 5; - description "Has been disconnected due to request of error"; - } - enum ready { - value 6; - description "The client is ready"; - } - } - description "Alarm client state"; - } - typedef Alarm-event { - type enumeration { - enum default { - value 0; - description "Default Alarm Event Type"; - } - enum notification { - value 1; - description "Alarm Notifcation Event Type"; - } - enum last { - value 2; - description "Last Event Type"; - } - } - description "Alarm event"; - } - typedef Timing-bucket { - type enumeration { - enum not-specified { - value 0; - description "Bucket Type not applicable"; - } - enum fifteen-min { - value 1; - description "Fifteen minute time bucket"; - } - enum one-day { - value 2; - description "One day time bucket"; - } - } - description "Timing bucket"; - } - typedef Alarm-notification-src { - type enumeration { - enum not-specified { - value 0; - description "Notification src not specified"; - } - enum near-end { - value 1; - description "Notification src near end"; - } - enum far-end { - value 2; - description "Notification src far end"; - } - } - description "Alarm notification src"; - } - typedef Alarm-direction { - type enumeration { - enum not-specified { - value 0; - description "Direction Not Specified"; - } - enum send { - value 1; - description "Direction Send"; - } - enum receive { - value 2; - description "Direction Receive"; - } - enum send-receive { - value 3; - description "Direction Send and Receive"; - } - } - description "Alarm direction"; - } - typedef Alarm-service-affecting { - type enumeration { - enum unknown { - value 0; - description - "Unknown whether alarm severity is service - affecting"; - } - enum not-service-affecting { - value 1; - description "Alarm severity is not service affecting"; - } - enum service-affecting { - value 2; - description "Alarm severity is service affecting"; - } - } - description "Alarm service affecting"; - } - typedef Alarm-groups { - type enumeration { - enum unknown { - value 0; - description "An unknown alarm group"; - } - enum environ { - value 1; - description "Environomental alarm group"; - } - enum ethernet { - value 2; - description "Ethernet alarm group"; - } - enum fabric { - value 3; - description "Fabric related alarm group"; - } - enum power { - value 4; - description "Power and PEM group of alarms"; - } - enum software { - value 5; - description "Software group of alarms"; - } - enum slice { - value 6; - description "Slice group of alarms"; - } - enum cpu { - value 7; - description "CPU group of alarms"; - } - enum controller { - value 8; - description "Controller group of alarms"; - } - enum sonet { - value 9; - description "Sonet group of alarms"; - } - enum otn { - value 10; - description "OTN group of alarms"; - } - enum sdh-controller { - value 11; - description "SDH group of alarms"; - } - enum asic { - value 12; - description "ASIC group of alarms"; - } - enum fpd-infra { - value 13; - description "FPD group of alarms"; - } - enum shelf { - value 14; - description "Shelf group of alarms"; - } - enum mpa { - value 15; - description "MPA group of alarms"; - } - enum ots { - value 16; - description "OTS group of alarms"; - } - enum timing { - value 17; - description "Timing group of alarms"; - } - enum last { - value 18; - description "Last unused group"; - } - } - description "Alarm groups"; - } - typedef Alarm-status { - type enumeration { - enum unknown { - value 0; - description "Unknown alarm status level"; - } - enum set { - value 1; - description - "Status of active alarm that is SET by the - controller"; - } - enum clear { - value 2; - description - "Status of cleared alarm that is done by the - controller"; - } - enum suppress { - value 3; - description - "Status of suppressed alarm that is done by the - controller"; - } - enum last { - value 4; - description "Last status level"; - } - } - description "Alarm status"; - } - typedef Alarm-severity { - type enumeration { - enum unknown { - value 0; - description "Unknown severity level"; - } - enum not-reported { - value 1; - description - "Severity level not reported will not raise an - alarm"; - } - enum not-alarmed { - value 2; - description - "Severity level of info to cater to events such - as Performance TCAS"; - } - enum minor { - value 3; - description - "Severity level of minor fault not traffic - affecting"; - } - enum major { - value 4; - description - "Severity level of major fault leading to - service disruption"; - } - enum critical { - value 5; - description - "Severity level of critical leading to drops - ,route loss, loss of service etc."; - } - enum severity-last { - value 6; - description "Last severity level"; - } - } - description "Alarm severity"; - } - - grouping ALARM-MGR-SHOW-ALARM-BRIEF-SUPPR-DATA { - description "Alarm mgr show alarm brief suppressed data"; - leaf location { - type string { - length "0..128"; - } - description "Alarm location"; - } - leaf severity { - type Alarm-severity; - description "Alarm severity"; - } - leaf group { - type Alarm-groups; - description "Alarm group"; - } - leaf set-time { - type string { - length "0..64"; - } - description "Alarm set time"; - } - leaf set-timestamp { - type uint64; - description "Alarm set time(timestamp format)"; - } - leaf suppressed-time { - type string { - length "0..64"; - } - description "Alarm suppressed time"; - } - leaf suppressed-timestamp { - type uint64; - description "Alarm suppressed time(timestamp format)"; - } - leaf description { - type string { - length "0..256"; - } - description "Alarm description"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-BRIEF-SUPPR-INFO { - description "Alarm mgr show alarm brief suppressed info"; - - list suppressed-info { - description "Suppressed Alarm List"; - uses ALARM-MGR-SHOW-ALARM-BRIEF-SUPPR-DATA; - } - } - - grouping ALARM-MGR-SHOW-ALARM-BRIEF-DATA { - description "Alarm mgr show alarm brief data"; - leaf location { - type string { - length "0..128"; - } - description "Alarm location"; - } - leaf severity { - type Alarm-severity; - description "Alarm severity"; - } - leaf group { - type Alarm-groups; - description "Alarm group"; - } - leaf set-time { - type string { - length "0..64"; - } - description "Alarm set time"; - } - leaf set-timestamp { - type uint64; - description "Alarm set time(timestamp format)"; - } - leaf clear-time { - type string { - length "0..64"; - } - description "Alarm clear time"; - } - leaf clear-timestamp { - type uint64; - description "Alarm clear time(timestamp format)"; - } - leaf description { - type string { - length "0..256"; - } - description "Alarm description"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-BRIEF-INFO { - description "Alarm mgr show alarm brief info"; - - list alarm-info { - description "Alarm List"; - uses ALARM-MGR-SHOW-ALARM-BRIEF-DATA; - } - } - - grouping ALARM-MGR-SHOW-CLIENT-DATA { - description "Alarm mgr show client data"; - leaf name { - type string { - length "0..128"; - } - description "Alarm client"; - } - leaf id { - type uint32; - description "Alarms agent id of the client"; - } - leaf location { - type string { - length "0..128"; - } - description "The location of this client"; - } - leaf handle { - type string { - length "0..128"; - } - description "The client handle through which interface"; - } - leaf state { - type Alarm-client-state; - description "The current state of the client"; - } - leaf type { - type Alarm-client; - description "The type of the client"; - } - leaf filter-disp { - type boolean; - description "The current subscription status of the client"; - } - leaf subscriber-id { - type uint32; - description "Alarms agent subscriber id of the client"; - } - leaf filter-severity { - type Alarm-severity; - description "The filter used for alarm severity"; - } - leaf filter-state { - type Alarm-status; - description "The filter used for alarm bi-state state+"; - } - leaf filter-group { - type Alarm-groups; - description "The filter used for alarm group"; - } - leaf connect-count { - type uint32; - description - "Number of times the agent connected to the alarm - mgr"; - } - leaf connect-timestamp { - type string { - length "0..64"; - } - description "Agent connect timestamp"; - } - leaf get-count { - type uint32; - description "Number of times the agent queried for alarms"; - } - leaf subscribe-count { - type uint32; - description "Number of times the agent subscribed for alarms"; - } - leaf report-count { - type uint32; - description "Number of times the agent reported alarms"; - } - } - - grouping ALARM-MGR-SHOW-CLIENT-INFO { - description "Alarm mgr show alarm info"; - - list client-info { - description "Client List"; - uses ALARM-MGR-SHOW-CLIENT-DATA; - } - } - - grouping ALARM-MGR-SHOW-ALARM-STATS { - description "alarm mgr show alarm stats"; - leaf reported { - type uint64; - description - "Alarms that were in all reported to this Alarm - Mgr"; - } - leaf dropped { - type uint64; - description - "Alarms that we couldn't keep track due to some - error or other"; - } - leaf active { - type uint64; - description "Alarms that are currently in the active state"; - } - leaf history { - type uint64; - description - "Alarms that are cleared. This one is counted - over a long period of time"; - } - leaf suppressed { - type uint64; - description "Alarms that are in suppressed state"; - } - leaf sysadmin-active { - type uint64; - description - "Alarms that are currently in the active - state(sysadmin plane)"; - } - leaf sysadmin-history { - type uint64; - description - "Alarms that are cleared in sysadmin plane. This - one is counted over a long period of time"; - } - leaf sysadmin-suppressed { - type uint64; - description "Alarms that are suppressed in sysadmin plane."; - } - leaf dropped-invalid-aid { - type uint32; - description "Alarms dropped due to invalid aid"; - } - leaf dropped-insuff-mem { - type uint32; - description "Alarms dropped due to insufficient memory"; - } - leaf dropped-db-error { - type uint32; - description "Alarms dropped due to db error"; - } - leaf dropped-clear-without-set { - type uint32; - description "Alarms dropped clear without set"; - } - leaf dropped-duplicate { - type uint32; - description "Alarms dropped which were duplicate"; - } - leaf cache-hit { - type uint32; - description "Total alarms which had the cache hit"; - } - leaf cache-miss { - type uint32; - description "Total alarms which had the cache miss"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-SUPPR-DATA { - description "Alarm mgr show alarm suppressed data"; - - container otn { - description "OTN feature specific alarm attributes"; - uses ALARM-OTN; - } - leaf description { - type string { - length "0..256"; - } - description "Alarm description"; - } - leaf location { - type string { - length "0..128"; - } - description "Alarm location"; - } - leaf aid { - type string { - length "0..128"; - } - description "Alarm aid"; - } - leaf tag { - type string { - length "0..128"; - } - description "Alarm tag description"; - } - leaf module { - type string { - length "0..128"; - } - description "Alarm module description"; - } - leaf eid { - type string { - length "0..128"; - } - description "Alarm eid"; - } - leaf reporting-agent-id { - type uint32; - description "Reporting agent id"; - } - leaf pending-sync { - type boolean; - description "Pending async flag"; - } - leaf severity { - type Alarm-severity; - description "Alarm severity"; - } - leaf status { - type Alarm-status; - description "Alarm status"; - } - leaf group { - type Alarm-groups; - description "Alarm group"; - } - leaf set-time { - type string { - length "0..64"; - } - description "Alarm set time"; - } - leaf set-timestamp { - type uint64; - description "Alarm set time(timestamp format)"; - } - leaf suppressed-time { - type string { - length "0..64"; - } - description "Alarm suppressed time"; - } - leaf suppressed-timestamp { - type uint64; - description "Alarm suppressed time(timestamp format)"; - } - leaf service-affecting { - type Alarm-service-affecting; - description "Alarm service affecting "; - } - leaf interface { - type string { - length "0..128"; - } - description "Alarm interface name"; - } - leaf alarm-name { - type string { - length "0..128"; - } - description "Alarm name"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-INFO-SUPPR-CLI { - description "alarm mgr show alarm suppressed info for CLI"; - - list suppressed-info { - description "Suppressed Alarm List"; - uses ALARM-MGR-SHOW-ALARM-SUPPR-DATA; - } - } - - grouping ALARM-TCA { - description "Alarm TCA Attributes"; - leaf threshold-value { - type string { - length "0..20"; - } - description "Alarm Threshold "; - } - leaf current-value { - type string { - length "0..20"; - } - description "Alarm Threshold"; - } - leaf bucket-type { - type Timing-bucket; - description "Timing Bucket"; - } - } - - grouping ALARM-OTN { - description "Alarm transport attributes"; - leaf direction { - type Alarm-direction; - description "Alarm direction "; - } - leaf notification-source { - type Alarm-notification-src; - description "Source of Alarm"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-DATA { - description "Alarm mgr show alarm data"; - - container otn { - description "OTN feature specific alarm attributes"; - uses ALARM-OTN; - } - - container tca { - description "TCA feature specific alarm attributes"; - uses ALARM-TCA; - } - leaf description { - type string { - length "0..256"; - } - description "Alarm description"; - } - leaf location { - type string { - length "0..128"; - } - description "Alarm location"; - } - leaf aid { - type string { - length "0..128"; - } - description "Alarm aid"; - } - leaf tag { - type string { - length "0..128"; - } - description "Alarm tag description"; - } - leaf module { - type string { - length "0..128"; - } - description "Alarm module description"; - } - leaf eid { - type string { - length "0..128"; - } - description "Alarm eid"; - } - leaf reporting-agent-id { - type uint32; - description "Reporting agent id"; - } - leaf pending-sync { - type boolean; - description "Pending async flag"; - } - leaf severity { - type Alarm-severity; - description "Alarm severity"; - } - leaf status { - type Alarm-status; - description "Alarm status"; - } - leaf group { - type Alarm-groups; - description "Alarm group"; - } - leaf set-time { - type string { - length "0..64"; - } - description "Alarm set time"; - } - leaf set-timestamp { - type uint64; - description "Alarm set time(timestamp format)"; - } - leaf clear-time { - type string { - length "0..64"; - } - description "Alarm clear time"; - } - leaf clear-timestamp { - type uint64; - description "Alarm clear time(timestamp format)"; - } - leaf service-affecting { - type Alarm-service-affecting; - description "Alarm service affecting"; - } - leaf type { - type Alarm-event; - description "alarm event type"; - } - leaf interface { - type string { - length "0..128"; - } - description "Alarm interface name"; - } - leaf alarm-name { - type string { - length "0..128"; - } - description "Alarm name"; - } - } - - grouping ALARM-MGR-SHOW-ALARM-INFO-CLI { - description "alarm mgr show alarm info for CLI"; - - list alarm-info { - description "Alarm List"; - uses ALARM-MGR-SHOW-ALARM-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper.yang deleted file mode 100644 index 469ad33..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-alarmgr-server-oper.yang +++ /dev/null @@ -1,190 +0,0 @@ -module Cisco-IOS-XR-alarmgr-server-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-alarmgr-server-oper"; - - - prefix "alarmgr-server-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-alarmgr-server-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR alarmgr-server package operational data. - - This module contains definitions - for the following management objects: - alarms: Show Alarms associated with XR - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container alarms { - config false; - description "Show Alarms associated with XR"; - - container detail { - description "A set of detail alarm commands."; - - container detail-system { - description "show detail system scope alarm related data."; - - container active { - description "Show the active alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-CLI; - } - - container history { - description "Show the history alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-CLI; - } - - container suppressed { - description "Show the suppressed alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-SUPPR-CLI; - } - - container stats { - description "Show the service statistics."; - uses ALARM-MGR-SHOW-ALARM-STATS; - } - - container clients { - description - "Show the clients associated with this service."; - uses ALARM-MGR-SHOW-CLIENT-INFO; - } - } - - container detail-card { - description "Show detail card scope alarm related data."; - - container detail-locations { - description "Table of DetailLocation"; - - list detail-location { - key "node-id"; - description "Specify a card location for alarms."; - - container active { - description "Show the active alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-CLI; - } - - container history { - description "Show the history alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-CLI; - } - - container suppressed { - description - "Show the suppressed alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-INFO-SUPPR-CLI; - } - - container stats { - description "Show the service statistics."; - uses ALARM-MGR-SHOW-ALARM-STATS; - } - - container clients { - description - "Show the clients associated with this - service."; - uses ALARM-MGR-SHOW-CLIENT-INFO; - } - leaf node-id { - type xr:Node-id; - description "NodeID of the Location"; - } - } - } - } - } - - container brief { - description "A set of brief alarm commands."; - - container brief-card { - description "Show brief card scope alarm related data."; - - container brief-locations { - description "Table of BriefLocation"; - - list brief-location { - key "node-id"; - description "Specify a card location for alarms."; - - container active { - description "Show the active alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-INFO; - } - - container history { - description "Show the history alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-INFO; - } - - container suppressed { - description - "Show the suppressed alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-SUPPR-INFO; - } - leaf node-id { - type xr:Node-id; - description "NodeID of the Location"; - } - } - } - } - - container brief-system { - description "Show brief system scope alarm related data."; - - container active { - description "Show the active alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-INFO; - } - - container history { - description "Show the history alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-INFO; - } - - container suppressed { - description "Show the suppressed alarms at this scope."; - uses ALARM-MGR-SHOW-ALARM-BRIEF-SUPPR-INFO; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub1.yang deleted file mode 100644 index 9bffdcf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub1.yang +++ /dev/null @@ -1,147 +0,0 @@ -submodule Cisco-IOS-XR-asic-errors-oper-sub1 { - - belongs-to Cisco-IOS-XR-asic-errors-oper { - prefix Cisco-IOS-XR-asic-errors-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asic-errors package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CIHERR-ERROR-DATA-BG { - description "CIHERR ERROR DATA BG"; - leaf at-time { - type uint64; - description "at time"; - } - leaf at-time-nsec { - type uint64; - description "at time nsec"; - } - leaf counter-val { - type uint32; - description "counter val"; - } - leaf error-desc { - type string; - description "error desc"; - } - leaf-list error-regval { - type uint8; - description "error regval"; - } - } - - grouping CSRS-INFO-BG { - description "CSRS INFO BG"; - leaf name { - type string; - description "name"; - } - leaf address { - type uint64; - description "address"; - } - leaf width { - type uint32; - description "width"; - } - } - - grouping CIHERR-NODE-BG { - description "CIHERR NODE BG"; - leaf name { - type string; - description "Name assigned to mem"; - } - leaf asic-info { - type string; - description "Name of rack/board/asic"; - } - leaf node-key { - type uint32; - description "32 bit key"; - } - leaf alarm-on { - type boolean; - description "High threshold crossed"; - } - leaf thresh-hi { - type uint32; - description "High threshold value"; - } - leaf period-hi { - type uint32; - description "High period value"; - } - leaf thresh-lo { - type uint32; - description "High threshold value"; - } - leaf period-lo { - type uint32; - description "High period value"; - } - leaf count { - type uint32; - description "Accumulated count"; - } - leaf intr-type { - type uint32; - description "Type of error"; - } - leaf leaf-id { - type uint32; - description "Leaf ID defined in user data"; - } - leaf last-cleared { - type uint64; - description "Time cleared"; - } - - list csrs-info { - description "List of csrs_info"; - uses CSRS-INFO-BG; - } - - list last-err { - description "Last Printable error information"; - uses CIHERR-ERROR-DATA-BG; - } - } - - grouping CIHERR-NODES-BG { - description "CIHERR NODES BG"; - - list error { - description "Collection of errors"; - uses CIHERR-NODE-BG; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub2.yang deleted file mode 100644 index 3f7021c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper-sub2.yang +++ /dev/null @@ -1,97 +0,0 @@ -submodule Cisco-IOS-XR-asic-errors-oper-sub2 { - - belongs-to Cisco-IOS-XR-asic-errors-oper { - prefix Cisco-IOS-XR-asic-errors-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asic-errors package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SUMMARY-DATA-BG { - description "SUMMARY DATA BG"; - leaf num-nodes { - type uint32; - description "num nodes"; - } - leaf crc-err-count { - type uint32; - description "crc err count"; - } - leaf sbe-err-count { - type uint32; - description "sbe err count"; - } - leaf mbe-err-count { - type uint32; - description "mbe err count"; - } - leaf par-err-count { - type uint32; - description "par err count"; - } - leaf gen-err-count { - type uint32; - description "gen err count"; - } - leaf reset-err-count { - type uint32; - description "reset err count"; - } - leaf-list err-count { - type uint32; - description "err count"; - } - leaf-list pcie-err-count { - type uint32; - description "pcie err count"; - } - leaf-list node-key { - type uint32; - description "node key"; - } - } - - grouping ASIC-SUMMARY-BG { - description "ASIC SUMMARY BG"; - leaf legacy-client { - type boolean; - description "legacy client"; - } - leaf cih-client { - type boolean; - description "cih client"; - } - - list sum-data { - description "sum data"; - uses SUMMARY-DATA-BG; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper.yang deleted file mode 100644 index 07c5b5d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asic-errors-oper.yang +++ /dev/null @@ -1,367 +0,0 @@ -module Cisco-IOS-XR-asic-errors-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asic-errors-oper"; - - - prefix "asic-errors-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asic-errors-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-asic-errors-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asic-errors package operational data. - - This module contains definitions - for the following management objects: - asic-errors: Error summary of all asics - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container asic-errors { - config false; - description "Error summary of all asics"; - - container nodes { - description "Asic errors for each available nodes"; - - list node { - key "node-name"; - description "Asic error for a particular node"; - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - - list asic-information { - key "asic"; - description "Asic on the node"; - - container all-instances { - description "All asic instance on the node"; - - container all-error-path { - description "Error path of all instances"; - - container summary { - description "Summary of all instances errors"; - uses ASIC-SUMMARY-BG; - } - } - } - - container instances { - description "All asic errors on the node"; - - list instance { - key "asic-instance"; - description "Particular asic instance on the node"; - - container error-path { - description "Error path of the instances"; - - container multiple-bit-soft-errors { - description "Multiple bit soft error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-generic-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container crc-hard-errors { - description "CRC hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-sbe-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container hardware-soft-errors { - description "Hardware soft error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-crc-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-parity-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container io-soft-errors { - description "IO soft error information"; - uses CIHERR-NODES-BG; - } - - container reset-soft-errors { - description "Reset soft error information"; - uses CIHERR-NODES-BG; - } - - container barrier-hard-errors { - description "Barrier hard error information"; - uses CIHERR-NODES-BG; - } - - container ucode-soft-errors { - description "Ucode soft error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-reset-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container single-bit-hard-errors { - description "Single bit hard error information"; - uses CIHERR-NODES-BG; - } - - container indirect-hard-errors { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container outof-resource-soft { - description "OOR thresh information"; - uses CIHERR-NODES-BG; - } - - container crc-soft-errors { - description "CRC soft error information"; - uses CIHERR-NODES-BG; - } - - container time-out-hard-errors { - description "Time out hard error information"; - uses CIHERR-NODES-BG; - } - - container barrier-soft-errors { - description "Barrier soft error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-mbe-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container back-pressure-hard-errors { - description "BP hard error information"; - uses CIHERR-NODES-BG; - } - - container single-bit-soft-errors { - description "Single bit soft error information"; - uses CIHERR-NODES-BG; - } - - container indirect-soft-errors { - description "Indirect soft error information"; - uses CIHERR-NODES-BG; - } - - container generic-hard-errors { - description "Generic hard error information"; - uses CIHERR-NODES-BG; - } - - container link-hard-errors { - description "Link hard error information"; - uses CIHERR-NODES-BG; - } - - container configuration-hard-errors { - description - "Configuration hard error information"; - uses CIHERR-NODES-BG; - } - - container instance-summary { - description "Summary for a specific instance"; - uses ASIC-SUMMARY-BG; - } - - container unexpected-hard-errors { - description "Unexpected hard error information"; - uses CIHERR-NODES-BG; - } - - container time-out-soft-errors { - description "Time out soft error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-generic-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container parity-hard-errors { - description "Parity hard error information"; - uses CIHERR-NODES-BG; - } - - container descriptor-hard-errors { - description "Descriptor hard error information"; - uses CIHERR-NODES-BG; - } - - container interface-hard-errors { - description "Interface hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-sbe-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-crc-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-parity-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-reset-soft { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - - container back-pressure-soft-errors { - description "BP soft error information"; - uses CIHERR-NODES-BG; - } - - container generic-soft-errors { - description "Generic soft error information"; - uses CIHERR-NODES-BG; - } - - container link-soft-errors { - description "Link soft error information"; - uses CIHERR-NODES-BG; - } - - container configuration-soft-errors { - description - "Configuration soft error information"; - uses CIHERR-NODES-BG; - } - - container multiple-bit-hard-errors { - description "Multiple bit hard error information"; - uses CIHERR-NODES-BG; - } - - container unexpected-soft-errors { - description "Unexpected soft error information"; - uses CIHERR-NODES-BG; - } - - container outof-resource-hard { - description "OOR thresh information"; - uses CIHERR-NODES-BG; - } - - container hardware-hard-errors { - description "Hardware hard error information"; - uses CIHERR-NODES-BG; - } - - container parity-soft-errors { - description "Parity soft error information"; - uses CIHERR-NODES-BG; - } - - container descriptor-soft-errors { - description "Descriptor soft error information"; - uses CIHERR-NODES-BG; - } - - container interface-soft-errors { - description "Interface soft error information"; - uses CIHERR-NODES-BG; - } - - container io-hard-errors { - description "IO hard error information"; - uses CIHERR-NODES-BG; - } - - container reset-hard-errors { - description "Reset hard error information"; - uses CIHERR-NODES-BG; - } - - container ucode-hard-errors { - description "UCode hard error information"; - uses CIHERR-NODES-BG; - } - - container asic-error-mbe-hard { - description "Indirect hard error information"; - uses CIHERR-NODES-BG; - } - } - leaf asic-instance { - type int32; - description "asic instance"; - } - } - } - leaf asic { - type xr:Cisco-ios-xr-string; - description "Asic string"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper-sub1.yang deleted file mode 100644 index b3dc09b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper-sub1.yang +++ /dev/null @@ -1,85 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-asic-errors-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-asic-errors-oper { - prefix Cisco-IOS-XR-asr9k-asic-errors-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-asic-errors package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping HFR-SUMMARY-DATA { - description "HFR SUMMARY DATA"; - leaf instance { - type uint32; - description "instance"; - } - leaf num-nodes { - type uint32; - description "num nodes"; - } - leaf crc-err-count { - type uint32; - description "crc err count"; - } - leaf sbe-err-count { - type uint32; - description "sbe err count"; - } - leaf mbe-err-count { - type uint32; - description "mbe err count"; - } - leaf par-err-count { - type uint32; - description "par err count"; - } - leaf gen-err-count { - type uint32; - description "gen err count"; - } - leaf reset-err-count { - type uint32; - description "reset err count"; - } - leaf-list node-key { - type uint32; - description "node key"; - } - } - - grouping HFR-ASIC-SUMMARY { - description "HFR ASIC SUMMARY"; - - list sum-data { - description "sum data"; - uses HFR-SUMMARY-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper.yang deleted file mode 100644 index 3ee114d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-asic-errors-oper.yang +++ /dev/null @@ -1,98 +0,0 @@ -module Cisco-IOS-XR-asr9k-asic-errors-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-asic-errors-oper"; - - - prefix "asr9k-asic-errors-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-asic-errors-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-asic-errors package operational data. - - This module contains definitions - for the following management objects: - asic-error-stats: Asic error stats operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container asic-error-stats { - config false; - description "Asic error stats operational data"; - - container racks { - description "Table of racks"; - - list rack { - key "rack"; - description "Number"; - - container nodes { - description "Table of Nodes"; - - list node { - key "node-name"; - description "Information about a particular node"; - - container counts { - description - "Table of all Asic Types information on a - node"; - - list count { - key "type"; - description - "Summary Asic error counts for a Asic Type"; - leaf type { - type xr:Cisco-ios-xr-string; - description "Asic Type"; - } - uses HFR-ASIC-SUMMARY; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - leaf rack { - type int32; - description "Rack number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ext-usb-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ext-usb-cfg.yang deleted file mode 100644 index 0ac6e6e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ext-usb-cfg.yang +++ /dev/null @@ -1,52 +0,0 @@ -module Cisco-IOS-XR-asr9k-ext-usb-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-ext-usb-cfg"; - - - prefix "asr9k-ext-usb-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-ext-usb package configuration. - - This module contains definitions - for the following management objects: - hardware-module-ext-usb: External USB configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hardware-module-ext-usb { - description "External USB configuration"; - leaf disable { - type empty; - description "External USB disable"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fab-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fab-cfg.yang deleted file mode 100644 index 0f0dff5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fab-cfg.yang +++ /dev/null @@ -1,68 +0,0 @@ -module Cisco-IOS-XR-asr9k-fab-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fab-cfg"; - - - prefix "asr9k-fab-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-fab package configuration. - - This module contains definitions - for the following management objects: - fab-vqi-config: Configure Fabric Operation Mode - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Asr9k-fab-mode { - type enumeration { - enum a99-highbandwidth { - value 2; - description "A99 High bandwidth mode"; - } - } - description "Asr9k fab mode"; - } - - container fab-vqi-config { - description "Configure Fabric Operation Mode"; - - container mode { - description "Mode Type"; - leaf fab-mode-type-xr { - type Asr9k-fab-mode; - description "Mode Type"; - } - leaf fab-mode-type { - type Asr9k-fab-mode; - description "Mode Type"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper-sub1.yang deleted file mode 100644 index 0f5f17b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper-sub1.yang +++ /dev/null @@ -1,75 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-fsi-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-fsi-oper { - prefix Cisco-IOS-XR-asr9k-fsi-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-fsi package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FSI-GENERIC-SHOW-COUNTER { - description "Structure containing counter info"; - leaf count { - type uint64; - description "Counter"; - } - leaf counter-name { - type string; - description "Counter Name"; - } - } - - grouping FSI-GENERIC-STATS { - description "Structure containing all stats of one type"; - - list fsi-stat { - max-elements "60"; - description "Stats Table"; - uses FSI-GENERIC-SHOW-COUNTER; - } - } - - grouping FSI-SHOW-GENERIC-STATS { - description "Bag containing fsi stats"; - leaf last-clear-time { - type uint64; - description "Last Clear Time"; - } - leaf stat-table-name { - type string; - description "Stat Table Name"; - } - - list stats-table { - description "Array of counters "; - uses FSI-GENERIC-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper.yang deleted file mode 100644 index 38b9837..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-fsi-oper.yang +++ /dev/null @@ -1,81 +0,0 @@ -module Cisco-IOS-XR-asr9k-fsi-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fsi-oper"; - - - prefix "asr9k-fsi-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-fsi-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-fsi package operational data. - - This module contains definitions - for the following management objects: - fabric-stats: Fabric stats operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container fabric-stats { - config false; - description "Fabric stats operational data"; - - container nodes { - description "Table of Nodes"; - - list node { - key "node-name"; - description "Information about a particular node"; - - container statses { - description "Table of stats information"; - - list stats { - key "type"; - description "Stats information for a particular type"; - leaf type { - type xr:Cisco-ios-xr-string; - description "Fabric asic type"; - } - uses FSI-SHOW-GENERIC-STATS; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg.yang deleted file mode 100644 index 8e5f388..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg.yang +++ /dev/null @@ -1,115 +0,0 @@ -module Cisco-IOS-XR-asr9k-lc-ethctrl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg"; - - - prefix "asr9k-lc-ethctrl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-ethctrl package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ether-ctrl-transport-mode { - type enumeration { - enum wan { - value 1; - description "WAN"; - } - enum otnopu1e { - value 2; - description "OTNOPUle"; - } - enum otnopu2e { - value 3; - description "OTNOPU2e"; - } - } - description "Ether ctrl transport mode"; - } - typedef Permit-pluggable-pid { - type enumeration { - enum all { - value 1; - description "ALL PIDs"; - } - } - description "Permit pluggable pid"; - } - typedef Permit-pluggable { - type enumeration { - enum all { - value 1; - description "ALL types"; - } - } - description "Permit pluggable"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ethernet-control { - description "EthernetControl"; - - container transceiver { - description "Transceiver"; - - container permit { - description "Permit"; - leaf type { - type Permit-pluggable; - description "Permit pluggable type all"; - } - leaf pid { - type Permit-pluggable-pid; - description "Permit pluggable PID (Product ID) all"; - } - } - } - leaf transport-mode { - type Ether-ctrl-transport-mode; - description "Set the transport mode on an interface"; - } - leaf small-frame-padding { - type empty; - description "Enable small frame padding on an interface"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper-sub1.yang deleted file mode 100644 index 85dc33f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper-sub1.yang +++ /dev/null @@ -1,365 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-lc-ethctrl-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-lc-ethctrl-oper { - prefix Cisco-IOS-XR-asr9k-lc-ethctrl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-ethctrl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MLAN-ATU { - description "MLAN ATU"; - leaf db-num { - type uint16; - description "dbNum"; - } - leaf priority { - type uint8; - description "priority"; - } - leaf trunk { - type boolean; - description "trunk"; - } - leaf dpv { - type uint8; - description "dpv"; - } - leaf es { - type uint8; - description "es"; - } - leaf-list macaddr { - type uint16; - max-elements "3"; - description "macaddr"; - } - } - - grouping MLAN-SWITCH-ATU-DATA { - description ""; - - container atu { - description "Switch ATU Data"; - uses MLAN-ATU; - } - leaf entry-num { - type uint32; - description "Index of ATU Entry"; - } - } - - grouping MLAN-PORT-COUNTER { - description "MLAN PORT COUNTER"; - leaf in-good-octets-hi { - type uint32; - description "inGoodOctets hi"; - } - leaf in-good-octets { - type uint32; - description "inGoodOctets"; - } - leaf in-bad-octets { - type uint32; - description "inBadOctets"; - } - leaf in-unicast-pkt { - type uint32; - description "inUnicastPkt"; - } - leaf in-bcast-pkt { - type uint32; - description "inBcastPkt"; - } - leaf in-mcast-pkt { - type uint32; - description "inMcastPkt"; - } - leaf in-pause-pkt { - type uint32; - description "inPausePkt"; - } - leaf in-undersize-pkt { - type uint32; - description "inUndersizePkt"; - } - leaf in-fragments { - type uint32; - description "inFragments"; - } - leaf in-oversize { - type uint32; - description "inOversize"; - } - leaf in-jabber { - type uint32; - description "inJabber"; - } - leaf in-rx-err { - type uint32; - description "inRxErr"; - } - leaf in-fcs-err { - type uint32; - description "inFcsErr"; - } - leaf out-octets-hi { - type uint32; - description "outOctets hi"; - } - leaf out-octets { - type uint32; - description "outOctets"; - } - leaf out-unicast-pkt { - type uint32; - description "outUnicastPkt"; - } - leaf out-bcast-pkt { - type uint32; - description "outBcastPkt"; - } - leaf out-mcast-pkt { - type uint32; - description "outMcastPkt"; - } - leaf out-pause-pkt { - type uint32; - description "outPausePkt"; - } - leaf excessive { - type uint32; - description "excessive"; - } - leaf collisions { - type uint32; - description "collisions"; - } - leaf deferred { - type uint32; - description "deferred"; - } - leaf single { - type uint32; - description "single"; - } - leaf multiple { - type uint32; - description "multiple"; - } - leaf out-fcs-err { - type uint32; - description "outFcsErr"; - } - leaf late { - type uint32; - description "late"; - } - leaf rx-tx-64-octets { - type uint32; - description "rx tx 64 Octets"; - } - leaf rx-tx-65-127-octets { - type uint32; - description "rx tx 65 127 Octets"; - } - leaf rx-tx-128-255-octets { - type uint32; - description "rx tx 128 255 Octets"; - } - leaf rx-tx-256-511-octets { - type uint32; - description "rx tx 256 511 Octets"; - } - leaf rx-tx-512-1023-octets { - type uint32; - description "rx tx 512 1023 Octets"; - } - leaf rx-tx-1024-max-octets { - type uint32; - description "rx tx 1024 Max Octets"; - } - leaf in-discards { - type uint32; - description "inDiscards"; - } - leaf in-filtered { - type uint32; - description "inFiltered"; - } - leaf out-filtered { - type uint32; - description "outFiltered"; - } - } - - grouping MLAN-PORT-COUNTERS { - description ""; - - container mlan-stats { - description "Switch Port Statistics"; - uses MLAN-PORT-COUNTER; - } - leaf port-num { - type uint32; - description "Port Number"; - } - } - - grouping MLAN-SWITCH-STATUS { - description "MLAN SWITCH STATUS"; - leaf ppu { - type uint32; - description "ppu"; - } - leaf mtu { - type uint32; - description "mtu"; - } - leaf mac { - type string { - length "0..6"; - } - description "mac"; - } - leaf cpu-port { - type uint16; - description "cpu port"; - } - leaf cpu-mac { - type uint16; - description "cpu mac"; - } - leaf initialized { - type uint16; - description "initialized"; - } - leaf restarted { - type uint16; - description "restarted"; - } - } - - grouping MLAN-SWITCH-STATUS-DATA { - description ""; - - container sw-reg-1 { - description "Switch Global Registers"; - uses MLAN-SWITCH-REG-BANK; - } - - container sw-reg-2 { - description "Switch Global Registers"; - uses MLAN-SWITCH-REG-BANK; - } - - container sw-status { - description "Switch Status Data"; - uses MLAN-SWITCH-STATUS; - } - leaf rate-limit { - type int32; - description "CPU Interface Rate Limit"; - } - } - - grouping MLAN-SWITCH-REG-BANK { - description "MLAN SWITCH REG BANK"; - leaf-list reg { - type uint16; - max-elements "32"; - description "reg"; - } - } - - grouping MLAN-PORT-CONFIG { - description "MLAN PORT CONFIG"; - leaf speed { - type uint32; - description "speed"; - } - leaf duplex { - type uint32; - description "duplex"; - } - leaf pause { - type uint16; - description "pauseEn"; - } - leaf my-pause { - type uint16; - description "myPause"; - } - leaf loopback { - type uint32; - description "loopback"; - } - } - - grouping MLAN-PORT-STATUS { - description ""; - - container config { - description "Configuration Data"; - uses MLAN-PORT-CONFIG; - } - - container phy { - description "PHY Registers"; - uses MLAN-SWITCH-REG-BANK; - } - - container serdes { - description "SERDES Registers"; - uses MLAN-SWITCH-REG-BANK; - } - - container mac { - description "MAC Registers"; - uses MLAN-SWITCH-REG-BANK; - } - leaf port-num { - type uint32; - description "Port Number"; - } - leaf phy-valid { - type uint32; - description "PHY data valid"; - } - leaf serdes-valid { - type uint32; - description "SERDES data valid"; - } - leaf mac-valid { - type uint32; - description "MAC data valid"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper.yang deleted file mode 100644 index d161084..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-ethctrl-oper.yang +++ /dev/null @@ -1,131 +0,0 @@ -module Cisco-IOS-XR-asr9k-lc-ethctrl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-lc-ethctrl-oper"; - - - prefix "asr9k-lc-ethctrl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-lc-ethctrl-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-ethctrl package operational data. - - This module contains definitions - for the following management objects: - mlan: Management LAN Operational data space - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mlan { - config false; - description "Management LAN Operational data space"; - - container nodes { - description "Table of nodes"; - - list node { - key "node"; - description "Number"; - - container port-status-numbers { - description "Table of port status"; - - list port-status-number { - key "number"; - description "Number"; - - container port-status { - description "mlan port status info"; - uses MLAN-PORT-STATUS; - } - leaf number { - type int32; - description "port number"; - } - } - } - - container switch-status-table { - description "Table of switch status"; - - container switch-status { - description "mlan switch status info"; - uses MLAN-SWITCH-STATUS-DATA; - } - } - - container port-counters-numbers { - description "Table of port counters"; - - list port-counters-number { - key "number"; - description "Number"; - - container port-counters { - description "mlan port counters info"; - uses MLAN-PORT-COUNTERS; - } - leaf number { - type int32; - description "port number"; - } - } - } - - container atu-entry-numbers { - description "Table of switch ATU"; - - list atu-entry-number { - key "entry"; - description "Entry number"; - - container switch-counters { - description "mlan switch counters info"; - uses MLAN-SWITCH-ATU-DATA; - } - leaf entry { - type int32; - description "entry number"; - } - } - } - leaf node { - type xr:Node-id; - description "node number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub1.yang deleted file mode 100644 index c0e5fe1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub1.yang +++ /dev/null @@ -1,183 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-lc-fca-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-lc-fca-oper { - prefix Cisco-IOS-XR-asr9k-lc-fca-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-fca package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Spa-failure-reason { - type enumeration { - enum spa-failure-reason-unknown { - value 1; - description "spa failure reason unknown"; - } - enum spa-failure-reason-spi-failure { - value 2; - description "spa failure reason spi failure"; - } - enum spa-failure-reason-boot { - value 3; - description "spa failure reason boot"; - } - enum spa-failure-reason-hw-failed { - value 4; - description "spa failure reason hw failed"; - } - enum spa-failure-reason-sw-failed { - value 5; - description "spa failure reason sw failed"; - } - enum spa-failure-reason-sw-restart { - value 6; - description "spa failure reason sw restart"; - } - enum spa-failure-reason-check-fpd { - value 7; - description "spa failure reason check fpd"; - } - enum spa-failure-reason-read-type { - value 8; - description "spa failure reason read type"; - } - } - description "SPA failure reasons"; - } - typedef Spa-reset-reason { - type enumeration { - enum spa-reset-reason-unknown { - value 1; - description "spa reset reason unknown"; - } - enum spa-reset-reason-manual { - value 2; - description "spa reset reason manual"; - } - enum spa-reset-reason-fpd-upgrade { - value 3; - description "spa reset reason fpd upgrade"; - } - enum spa-reset-reason-audit-fail { - value 4; - description "spa reset reason audit fail"; - } - enum spa-reset-reason-failure { - value 5; - description "spa reset reason failure"; - } - } - description "SPA reset reasons"; - } - typedef Spa-oper-state { - type enumeration { - enum spa-state-reset { - value 1; - description "spa state reset"; - } - enum spa-state-failed { - value 2; - description "spa state failed"; - } - enum spa-state-booting { - value 3; - description "spa state booting"; - } - enum spa-state-ready { - value 4; - description "spa state ready"; - } - } - description "SPA operational states"; - } - - grouping SPA-BAY-STATUS-INFO { - description "SPA bay status info"; - leaf bay-number { - type uint16; - description "BAY number"; - } - leaf is-spa-inserted { - type boolean; - description "If SPA inserted"; - } - leaf spa-type { - type uint16; - description "SPA type"; - } - leaf is-spa-admin-up { - type boolean; - description "If SPA admin state is Up"; - } - leaf spa-oper-state { - type Spa-oper-state; - description "SPA operational state"; - } - leaf is-spa-power-admin-up { - type boolean; - description "If SPA power admin state is Up"; - } - leaf is-spa-powered { - type boolean; - description "If SPA powered"; - } - leaf is-spa-in-reset { - type boolean; - description "If SPA in reset"; - } - leaf last-reset-reason { - type Spa-reset-reason; - description "Last reset reason"; - } - leaf last-failure-reason { - type Spa-failure-reason; - description "Last Failure Reason"; - } - leaf insertion-time { - type uint32; - units "second"; - description - "Time when SPA last insertedin calendar format: - seconds since00:00:00 UTC, January 1, 1970"; - } - leaf last-ready-time { - type uint32; - units "second"; - description - "Time when SPA last reached Ready statein - calendar format: seconds since00:00:00 UTC, - January 1, 1970"; - } - leaf up-time { - type uint32; - units "second"; - description "Uptime in seconds"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub2.yang deleted file mode 100644 index e7d073b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper-sub2.yang +++ /dev/null @@ -1,82 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-lc-fca-oper-sub2 { - - belongs-to Cisco-IOS-XR-asr9k-lc-fca-oper { - prefix Cisco-IOS-XR-asr9k-lc-fca-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-fca package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping LDA-IFSUBSYS-STATE-EDM-INFO { - description "LDA ifsubsys state"; - leaf bay { - type uint32; - description "bay"; - } - leaf ifsubsys { - type uint32; - description "ifsubsys"; - } - leaf if-state { - type uint8; - description "if state"; - } - leaf if-event { - type uint8; - description "if event"; - } - leaf ep-type { - type uint32; - description "ep type"; - } - leaf ep-state { - type uint8; - description "ep state"; - } - leaf ep-presence { - type uint8; - description "ep presence"; - } - leaf ep-idprom-major { - type uint8; - description "ep idprom major"; - } - leaf ep-idprom-minor { - type uint8; - description "ep idprom minor"; - } - leaf ep-idprom-data { - type string { - length "0..256"; - } - description "ep idprom data"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper.yang deleted file mode 100644 index b8415cf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-fca-oper.yang +++ /dev/null @@ -1,136 +0,0 @@ -module Cisco-IOS-XR-asr9k-lc-fca-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-lc-fca-oper"; - - - prefix "asr9k-lc-fca-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-lc-fca-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-asr9k-lc-fca-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-fca package operational data. - - This module contains definitions - for the following management objects: - mpa-internal: Management LAN Operational data space - mpa: mpa - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mpa-internal { - config false; - description "Management LAN Operational data space"; - - container nodes { - description "Table of nodes"; - - list node { - key "node"; - description "Number"; - leaf node { - type xr:Node-id; - description "node number"; - } - - list bay { - key "number"; - description "Number"; - - container ifsubsies { - description "Table of Ifsubsys"; - - list ifsubsy { - key "number"; - description "Number"; - - container mpa-internal-info { - description "mpa internal info"; - uses LDA-IFSUBSYS-STATE-EDM-INFO; - } - leaf number { - type xr:Hex-integer; - description "ifsubsys number"; - } - } - } - leaf number { - type int32; - description "bay number"; - } - } - } - } - } - - container mpa { - config false; - description "mpa"; - - container nodes { - description "Table of nodes"; - - list node { - key "node"; - description "Number"; - leaf node { - type xr:Node-id; - description "node number"; - } - - list bay { - key "number"; - description "Number"; - - container mpa-detail-table { - description "Table of Mpa Detail Info"; - - container mpa-detail { - description "mpa detail status info"; - uses SPA-BAY-STATUS-INFO; - } - } - leaf number { - type int32; - description "bay number"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg.yang deleted file mode 100644 index be20bb2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg.yang +++ /dev/null @@ -1,76 +0,0 @@ -module Cisco-IOS-XR-asr9k-lc-pwrglide-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg"; - - - prefix "asr9k-lc-pwrglide-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lc-pwrglide package configuration. - - This module contains definitions - for the following management objects: - hardware-module-port-mode: HW module port-mode config - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hardware-module-port-mode { - description "HW module port-mode config"; - - list config-mode { - key "id1"; - description "Active or Pre configuration"; - leaf id1 { - type xr:Cisco-ios-xr-string; - description "act- or pre-config"; - } - - list node { - key "id2"; - description "A node"; - - container port-mode { - description "Linecard port-mode"; - leaf if-port-mode { - type string; - description "Linecard interface port-mode"; - } - } - leaf id2 { - type xr:Cisco-ios-xr-string; - description "Fully qualified line card specification"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper-sub1.yang deleted file mode 100644 index 14a72e6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper-sub1.yang +++ /dev/null @@ -1,174 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-lpts-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-lpts-oper { - prefix Cisco-IOS-XR-asr9k-lpts-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lpts package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PL-PIFIB-POLICE-INFO { - description "PL PIFIB POLICE INFO"; - leaf avgrate { - type uint32; - description "avgrate"; - } - leaf burst { - type uint32; - description "burst"; - } - leaf static-avgrate { - type uint32; - description "static avgrate"; - } - leaf avgrate-type { - type string { - length "0..50"; - } - description "avgrate type"; - } - leaf flow-type { - type string { - length "0..50"; - } - description "flow type"; - } - leaf accepted-stats { - type uint64; - description "accepted stats"; - } - leaf dropped-stats { - type uint64; - description "dropped stats"; - } - leaf policer { - type uint32; - description "policer"; - } - leaf str-iptos-val { - type string { - length "0..8"; - } - description "str iptos val"; - } - leaf change-type { - type uint8; - description "change type"; - } - leaf acl-config { - type uint8; - description "acl config"; - } - leaf acl-str { - type string { - length "0..50"; - } - description "acl str"; - } - } - - grouping PL-PIFIB-SHOW-POLICE { - description "Pre-IFIB platform specific police data structure"; - - list police-info { - description "Per flow type police info"; - uses PL-PIFIB-POLICE-INFO; - } - } - - grouping PL-PIFIB-SHOW-STATS { - description "Pre-IFIB global statistics"; - leaf accepted { - type uint64; - description "Deleted-entry accepted packets counter"; - } - leaf dropped { - type uint64; - description "Deleted-entry dropped packets counter"; - } - leaf clear-ts { - type uint64; - description "Statistics clear timestamp"; - } - leaf no-stats-mem-err { - type uint64; - description "No statistics memory error"; - } - } - - grouping PL-PIFIB-SHOW-STATIC-POLICE-INFO { - description "PL PIFIB SHOW STATIC POLICE INFO"; - leaf punt-reason { - type uint32; - description "punt reason"; - } - leaf sid { - type uint32; - description "sid"; - } - leaf flow-rate { - type uint32; - description "flow rate"; - } - leaf burst-rate { - type uint32; - description "burst rate"; - } - leaf accepted { - type uint64; - description "accepted"; - } - leaf dropped { - type uint64; - description "dropped"; - } - leaf punt-reason-string { - type string { - length "0..50"; - } - description "punt reason string"; - } - leaf change-type { - type uint8; - description "change type"; - } - } - - grouping PL-PIFIB-SHOW-STATIC-POLICE { - description - "Pre-IFIB platform specific punt reason data - structure"; - - list static-info { - description "Per punt reason info"; - uses PL-PIFIB-SHOW-STATIC-POLICE-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper.yang deleted file mode 100644 index 06b2340..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-lpts-oper.yang +++ /dev/null @@ -1,158 +0,0 @@ -module Cisco-IOS-XR-asr9k-lpts-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lpts-oper"; - - - prefix "asr9k-lpts-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-lpts-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-lpts package operational data. - - This module contains definitions - for the following management objects: - platform-lptsp-ifib-static: ASR9K platform ifib operational - data - platform-lptsp-ifib: platform lptsp ifib - platform-lptsp-ifib-np-stats: platform lptsp ifib np stats - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Np-type-lpts { - type string { - pattern "(np0)|(np1)|(np2)|(np3)|(np4)|(np5)|(np6)|(np7)"; - } - description - "np0:NP0, np1:NP1, np2:NP2, np3:NP3, np4:NP4, np5 - :NP5, np6:NP6, np7:NP7"; - } - - container platform-lptsp-ifib-static { - config false; - description "ASR9K platform ifib operational data "; - - container node-statics { - description - "List of nodes with platform specific lpts - operation data"; - - list node-static { - key "node-name"; - description "Node with platform specific lpts data"; - - container police { - description "pl_pifib police data"; - uses PL-PIFIB-SHOW-STATIC-POLICE; - } - - container stats { - description "pl_pifib stats"; - uses PL-PIFIB-SHOW-STATS; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container platform-lptsp-ifib { - config false; - description "platform lptsp ifib"; - - container nodes { - description - "List of nodes with platform specific lpts - operation data"; - - list node { - key "node-name"; - description "Node with platform specific lpts data"; - - container police { - description "pl_pifib police data"; - uses PL-PIFIB-SHOW-POLICE; - } - - container stats { - description "pl_pifib stats"; - uses PL-PIFIB-SHOW-STATS; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container platform-lptsp-ifib-np-stats { - config false; - description "platform lptsp ifib np stats"; - - container node-np-stats { - description - "List of nodes with platform specific lpts - operation data"; - - list node-np-stat { - key "node-name"; - description "Node with platform specific lpts data"; - - container nps { - description "List of all NP"; - - list np { - key "np-name"; - description "np0 to np7"; - - container np-police { - description "pl_pifib police data"; - uses PL-PIFIB-SHOW-POLICE; - } - leaf np-name { - type Np-type-lpts; - description "NP name"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-mlan-cmp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-mlan-cmp-cfg.yang deleted file mode 100644 index 53b0c14..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-mlan-cmp-cfg.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-asr9k-mlan-cmp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-mlan-cmp-cfg"; - - - prefix "asr9k-mlan-cmp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-mlan-cmp package configuration. - - This module contains definitions - for the following management objects: - mlan-disable-cmp: Disable/Enable CMP - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mlan-disable-cmp { - description "Disable/Enable CMP"; - - container nodes { - description - "Fully qualified RSP4/RSP4s/RP2 card - specification"; - - list node { - key "node-name"; - description "A node"; - leaf disable { - type empty; - description "Disable CMP"; - } - leaf node-name { - type xr:Node-id; - description "NodeName"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub1.yang deleted file mode 100644 index 6c5ee75..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub1.yang +++ /dev/null @@ -1,232 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-netflow-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-netflow-oper { - prefix Cisco-IOS-XR-asr9k-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Flow-monitor-name { - type string; - description "Flow monitor name"; - } - - grouping NFSVR-COLLECTOR-INFO { - description "Per collector information"; - leaf exporter-state { - type string; - description "Exporter state"; - } - leaf destination-address { - type string; - description - "Destination IPv4 address in AAA.BBB.CCC.DDD - format"; - } - leaf source-address { - type string; - description "Source IPv4 address in AAA.BBB.CCC.DDD format"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf destination-port { - type uint16; - description "Destination port number"; - } - leaf souce-port { - type uint16; - description "Source port number"; - } - leaf transport-protocol { - type string; - description "Transport protocol"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf flows-sent { - type uint64; - description "Flows sent"; - } - leaf templates-sent { - type uint64; - description "Templates sent"; - } - leaf option-templates-sent { - type uint64; - description "Option templates sent"; - } - leaf option-data-sent { - type uint64; - description "Option data sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf flow-bytes-sent { - type uint64; - units "byte"; - description "Flow bytes sent"; - } - leaf template-bytes-sent { - type uint64; - units "byte"; - description "Template bytes sent"; - } - leaf option-template-bytes-sent { - type uint64; - units "byte"; - description "Option template bytes sent"; - } - leaf option-data-bytes-sent { - type uint64; - units "byte"; - description "Option data bytes sent"; - } - leaf packets-dropped { - type uint64; - description "Packets dropped"; - } - leaf flows-dropped { - type uint64; - description "Flows dropped"; - } - leaf templates-dropped { - type uint64; - description "Templates dropped"; - } - leaf option-templates-dropped { - type uint64; - description "Option templates dropped"; - } - leaf option-data-dropped { - type uint64; - description "Option data dropped"; - } - leaf bytes-dropped { - type uint64; - units "byte"; - description "Bytes dropped"; - } - leaf flow-bytes-dropped { - type uint64; - units "byte"; - description "Flow bytes dropped"; - } - leaf template-bytes-dropped { - type uint64; - units "byte"; - description "Template bytes dropped"; - } - leaf option-template-bytes-dropped { - type uint64; - units "byte"; - description "Option template bytes dropped"; - } - leaf option-data-bytes-dropped { - type uint64; - description "Option data dropped"; - } - leaf last-hour-packest-sent { - type uint64; - description "Total packets exported over the last one hour"; - } - leaf last-hour-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one hour"; - } - leaf last-hour-flows-sent { - type uint64; - description "Total flows exported over the of last one hour"; - } - leaf last-minute-packets { - type uint64; - description "Total packets exported over the last one minute"; - } - leaf last-minute-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one minute"; - } - leaf last-minute-flows-sent { - type uint64; - description "Total flows exported over the last one minute"; - } - leaf last-second-packets-sent { - type uint64; - description "Total packets exported over the last one second"; - } - leaf last-second-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one second"; - } - leaf last-second-flows-sent { - type uint64; - description "Total flows exported over the last one second"; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS { - description "Flow exporter information"; - leaf name { - type string; - description "Exporter name"; - } - leaf memory-usage { - type uint32; - description "Memory usage"; - } - leaf-list used-by-flow-monitor { - type Flow-monitor-name; - description "List of flow monitors that use the exporter"; - } - - list collector { - description "Statistics of all collectors"; - uses NFSVR-COLLECTOR-INFO; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY { - description "Flow exporter information"; - - list statistic { - description "Array of flow exporters"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub2.yang deleted file mode 100644 index 3733179..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper-sub2.yang +++ /dev/null @@ -1,98 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-netflow-oper-sub2 { - - belongs-to Cisco-IOS-XR-asr9k-netflow-oper { - prefix Cisco-IOS-XR-asr9k-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NF-PRODUCER-STATS { - description "Netflow Platform Producer Process statistics"; - leaf ipv4-ingress-flows { - type uint64; - description "IPv4 ingress flows"; - } - leaf ipv4-egress-flows { - type uint64; - description "IPv4 egress flows"; - } - leaf ipv6-ingress-flows { - type uint64; - description "IPv6 ingress flows"; - } - leaf ipv6-egress-flows { - type uint64; - description "IPv6 egress flows"; - } - leaf mpls-ingress-flows { - type uint64; - description "MPLS ingress flows"; - } - leaf mpls-egress-flows { - type uint64; - description "MPLS egress flows"; - } - leaf drops-no-space { - type uint64; - description "Drops (no space)"; - } - leaf drops-others { - type uint64; - description "Drops (others)"; - } - leaf unknown-ingress-flows { - type uint64; - description "Unknown ingress flows"; - } - leaf unknown-egress-flows { - type uint64; - description "Unknown egress flows"; - } - leaf waiting-servers { - type uint64; - description "Number of waiting servers"; - } - leaf spp-rx-counts { - type uint64; - description "Number of Rxed SPP Packets"; - } - leaf flow-packet-counts { - type uint64; - description "Number of Rxed Flow Packets"; - } - leaf last-cleared { - type string; - description - "Last time Statistics cleared in 'Mon Jan 1 12:00 - :00 2xxx' format"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper.yang deleted file mode 100644 index d6cf9d9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-netflow-oper.yang +++ /dev/null @@ -1,106 +0,0 @@ -module Cisco-IOS-XR-asr9k-netflow-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-netflow-oper"; - - - prefix "asr9k-netflow-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-netflow-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-asr9k-netflow-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-netflow package operational data. - - This module contains definitions - for the following management objects: - net-flow: NetFlow operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container net-flow { - config false; - description "NetFlow operational data"; - - container statistics { - description "Node-specific NetFlow statistics information"; - - list statistic { - key "node"; - description - "NetFlow statistics information for a particular - node"; - - container producer { - description "NetFlow producer statistics"; - - container statistics { - description "Statistics information"; - uses NF-PRODUCER-STATS; - } - } - - container server { - description "NetFlow server statistics"; - - container flow-exporters { - description "Flow exporter information"; - - list flow-exporter { - key "exporter-name"; - description "Exporter information"; - - container exporter { - description - "Statistics information for the exporter"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY; - } - leaf exporter-name { - type xr:Cisco-ios-xr-string; - description "Exporter name"; - } - } - } - } - leaf node { - type xr:Node-id; - description "Node location"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper-sub1.yang deleted file mode 100644 index 3d35a4a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper-sub1.yang +++ /dev/null @@ -1,362 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-np-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-np-oper { - prefix Cisco-IOS-XR-asr9k-np-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-np package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PRM-NP-FAST-DROP-A { - description "NP fast drop"; - leaf interface-name { - type string; - description "Interface name"; - } - leaf counter-value { - type uint64; - description "The Value of the counter"; - } - } - - grouping PRM-NP-FAST-DROP { - description "Array of NP Fast Drop Counters"; - - list np-fast-drop { - description "Array of NP Fast Drop Counters"; - uses PRM-NP-FAST-DROP-A; - } - } - - grouping PRM-NP-COUNTERS-A { - description "NP Counters"; - leaf counter-index { - type uint32; - description "Counter Index"; - } - leaf counter-value { - type uint64; - description "The accurate value of the counter"; - } - leaf rate { - type uint32; - units "packet/s"; - description "Rate in Packets Per Second"; - } - leaf counter-type { - type string; - description - "Counter TypeDROP: Drop counterPUNT: Punt - counterFWD: Forward or generic counterUNKNOWN: - Counter type unknown"; - } - leaf counter-name { - type string; - description "Counter name"; - } - } - - grouping PRM-NP-COUNTERS { - description "Array of NP Counters"; - - list np-counter { - description "Array of NP Counters"; - uses PRM-NP-COUNTERS-A; - } - } - - grouping TCAM-VMR-ENTRY { - description "application vmr entry"; - leaf num-vmr-ids { - type uint32; - description "Vmr IDs"; - } - leaf num-active-entries { - type uint32; - description "The number of active vmr entries"; - } - leaf num-allocated-entries { - type uint32; - description "The number of active vmr entries"; - } - } - - grouping ACL-COMM-REGION { - description "acl common region"; - leaf free-entries { - type uint32; - description "Free entries in the table"; - } - leaf allocated-entries { - type uint32; - description "The number of active vmr entries"; - } - } - - grouping TCAM-ODS-TABLE { - description "tcam ods table"; - - container acl-common { - description "ACL common region"; - uses ACL-COMM-REGION; - } - - container app-id-ifib { - description "app IFIB entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-qos { - description "app qos entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-acl { - description "app acl entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-afmon { - description "app afmon entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-li { - description "app LI entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-pbr { - description "app PBR entry"; - uses TCAM-VMR-ENTRY; - } - - container app-id-edpl { - description "app EDPL entry"; - uses TCAM-VMR-ENTRY; - } - leaf free-entries { - type uint32; - description "Free entries in the table"; - } - leaf reserved-entries { - type uint32; - description "The number of active vmr entries"; - } - } - - grouping TCAM-L2-TABLE-A { - description "tcam l2 table"; - leaf partition-id { - type uint32; - description "PartitionID"; - } - leaf priority { - type uint32; - description "Priority"; - } - leaf valid-entries { - type uint32; - description "Valid Entries"; - } - leaf free-entries { - type uint32; - description "Free Entries"; - } - } - - grouping TCAM-SHOW-SUM { - description "tcam summary"; - - container tcam-lt-ods2 { - description "TCAM ODS2 partition summary"; - uses TCAM-ODS-TABLE; - } - - container tcam-lt-ods8 { - description "TCAM ODS8 partition summary"; - uses TCAM-ODS-TABLE; - } - - list tcam-lt-l2 { - description "Array of TCAM L2 partition summaries"; - uses TCAM-L2-TABLE-A; - } - } - - grouping TCAM-VMR-ENTRY-INT { - description "application vmr entry internal"; - leaf num-vmr-ids { - type uint32; - description "Vmr IDs"; - } - leaf total-used-entries { - type uint32; - description "number of used vmr entries"; - } - leaf total-allocated-entries { - type uint32; - description "The number of active vmr entries"; - } - } - - grouping TCAM-ODS-TABLE-INT { - description "tcam ods table internal"; - - container app-id-ifib { - description "app IFIB entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container app-id-qos { - description "app qos entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container app-id-acl { - description "app acl entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container app-id-afmon { - description "app afmon entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container app-id-li { - description "app LI entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container app-id-pbr { - description "app PBR entry"; - uses TCAM-VMR-ENTRY-INT; - } - - container application-edpl-entry { - description "app EDPL entry"; - uses TCAM-VMR-ENTRY-INT; - } - leaf max-entries { - type uint32; - description "Max entries"; - } - leaf free-entries { - type uint32; - description "free entries"; - } - } - - grouping TCAM-L2-TABLE-INT-A { - description "tcam l2 table internal"; - leaf partition-id { - type uint32; - description "PartitionID"; - } - leaf valid-entries { - type uint32; - description "Valid Entries"; - } - leaf free-entries { - type uint32; - description "Free Entries"; - } - } - - grouping TCAM-SHOW-SUM-INT { - description "tcam summary internal"; - - container tcam-lt-ods2 { - description "TCAM LT ODS 2 summary"; - uses TCAM-ODS-TABLE-INT; - } - - container tcam-lt-ods8 { - description "TCAM LT_ODS 8 summary"; - uses TCAM-ODS-TABLE-INT; - } - - list tcam-lt-l2 { - description "Array of TCAM LT L2 partition summaries"; - uses TCAM-L2-TABLE-INT-A; - } - } - - grouping TCAM-INFO-SHOW-SUM { - description "tcam summary info"; - - container internal-tcam-info { - description "Internal tcam summary info"; - uses TCAM-SHOW-SUM-INT; - } - - container tcam-info { - description "External tcam summary info"; - uses TCAM-SHOW-SUM; - } - } - - grouping PRM-NP-CHN-LOAD-A { - description "NP Channel load counters"; - leaf flow-ctr-counter { - type uint32; - description "Flow control counters"; - } - leaf avg-rfd-usage { - type uint32; - description "Average RFD Usage"; - } - leaf peak-rfd-usage { - type uint32; - description "Peak RFD Usage"; - } - leaf avg-guar-rfd-usage { - type uint32; - description "Average of garanteed RFD usage"; - } - leaf peak-guar-rfd-usage { - type uint32; - description "Peak of garanteed RFD usage"; - } - leaf interface-name { - type string; - description "Inerface Name"; - } - } - - grouping PRM-NP-CHN-LOAD { - description "Array of NP Channel load counters"; - - list np-chn-load { - description "Array of NP Channel load counters"; - uses PRM-NP-CHN-LOAD-A; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper.yang deleted file mode 100644 index 5beb391..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-np-oper.yang +++ /dev/null @@ -1,108 +0,0 @@ -module Cisco-IOS-XR-asr9k-np-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-np-oper"; - - - prefix "asr9k-np-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-np-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-np package operational data. - - This module contains definitions - for the following management objects: - hardware-module-np: Hardware NP Counters - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Np { - type string { - pattern "(np0)|(np1)|(np2)|(np3)|(np4)|(np5)|(np6)|(np7)"; - } - description - "np0:NP0, np1:NP1, np2:NP2, np3:NP3, np4:NP4, np5 - :NP5, np6:NP6, np7:NP7"; - } - - container hardware-module-np { - config false; - description "Hardware NP Counters"; - - container nodes { - description "Table of nodes"; - - list node { - key "node-name"; - description "Number"; - - container nps { - description "List of all NP"; - - list np { - key "np-name"; - description "np0 to np7"; - - container chn-load { - description "prm channel load info"; - uses PRM-NP-CHN-LOAD; - } - - container tcam-summary { - description "prm tcam summary info"; - uses TCAM-INFO-SHOW-SUM; - } - - container counters { - description "prm counters info"; - uses PRM-NP-COUNTERS; - } - - container fast-drop { - description "prm fast drop counters info"; - uses PRM-NP-FAST-DROP; - } - leaf np-name { - type Np; - description "NP name"; - } - } - } - leaf node-name { - type xr:Node-id; - description "node number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-prm-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-prm-cfg.yang deleted file mode 100644 index bda0e13..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-prm-cfg.yang +++ /dev/null @@ -1,514 +0,0 @@ -module Cisco-IOS-XR-asr9k-prm-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-prm-cfg"; - - - prefix "asr9k-prm-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-prm package configuration. - - This module contains definitions - for the following management objects: - hardware-module-qos-mode: QoS mode in hardware module port(s) - hardware-module-tcp-mss-adjust: hardware module tcp mss adjust - hardware-module-load-balance: hardware module load balance - hardware-module-tcam: hardware module tcam - hardware-module-efd: hardware module efd - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Asr9k-efd-operation { - type enumeration { - enum less-than { - value 2; - description "Less than"; - } - enum greater-than-or-equal { - value 3; - description "Greater than or equal"; - } - } - description "Asr9k efd operation"; - } - typedef Asr9k-efd-mode { - type enumeration { - enum only-outer-encap { - value 0; - description "Only check outer encap"; - } - enum include-inner-encap { - value 1; - description "Check outer and inner encap"; - } - } - description "Asr9k efd mode"; - } - typedef Prm-tcam-profile { - type enumeration { - enum profile0 { - value 0; - description "Profile 0"; - } - enum profile1 { - value 1; - description "Profile 1"; - } - enum profile2 { - value 2; - description "Profile 2"; - } - } - description "Prm tcam profile"; - } - - grouping VLAN-COS { - description "Common node of node, node-all"; - - container vlan-cos { - presence "Indicates a vlan-cos node is configured."; - description "EFD VLAN parameters"; - leaf cos { - type uint32 { - range "0..7"; - } - mandatory true; - description "VLAN COS threshold"; - } - leaf operation { - type Asr9k-efd-operation; - default "greater-than-or-equal"; - description "VLAN operation"; - } - } - } - - grouping IP-PRECEDENCE { - description "Common node of node, node-all"; - - container ip-precedence { - presence "Indicates a ip-precedence node is configured."; - description "EFD IP parameters"; - leaf precedence { - type uint32 { - range "0..7"; - } - mandatory true; - description "IP TOS precedence threshold"; - } - leaf operation { - type Asr9k-efd-operation; - default "greater-than-or-equal"; - description "IP operation"; - } - } - } - - grouping IP-PRIORITY-MASK { - description "Common node of node, node-all"; - - container ip-priority-mask { - presence "enable ip-priority-mask"; - description "IP Priority Mask"; - leaf prec0 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec1 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec2 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec3 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec4 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec5 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec6 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec7 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - } - } - - grouping VLAN-PRIORITY-MASK { - description "Common node of node, node-all"; - - container vlan-priority-mask { - presence "enable vlan-priority-mask"; - description "VLAN Priority Mask"; - leaf prec0 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec1 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec2 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec3 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec4 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec5 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec6 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec7 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - } - } - - grouping MPLS-PRIORITY-MASK { - description "Common node of node, node-all"; - - container mpls-priority-mask { - presence "enable mpls-priority-mask"; - description "MPLS Priority Mask"; - leaf prec0 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec1 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec2 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec3 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec4 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec5 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec6 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - leaf prec7 { - type uint32 { - range "0..1"; - } - default "0"; - description "Prec"; - } - } - } - - grouping ENABLE { - description "Common node of node, node-all"; - leaf enable { - type empty; - description "Enable EFD for this node"; - } - } - - grouping MODE { - description "Common node of node, node-all"; - leaf mode { - type Asr9k-efd-mode; - description "EFD mode parameter."; - } - } - - grouping MPLS-EXP { - description "Common node of node, node-all"; - - container mpls-exp { - presence "Indicates a mpls-exp node is configured."; - description "EFD MPLS parameters"; - leaf exp { - type uint32 { - range "0..7"; - } - mandatory true; - description "MPLS EXP threshold"; - } - leaf operation { - type Asr9k-efd-operation; - default "greater-than-or-equal"; - description "MPLS operation"; - } - } - } - - container hardware-module-qos-mode { - description "QoS mode in hardware module port(s)"; - - container nodes { - description "QoS applicable nodes"; - - list node { - key "node-name"; - description "A node"; - leaf child-shaping-disable { - type empty; - description "Disable child level/flat policy shaping"; - } - leaf lowburst-enable { - type empty; - description "Enable low burst mode for TM entity"; - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - container hardware-module-tcp-mss-adjust { - description "hardware module tcp mss adjust"; - - container nodes { - description "TCP MSS Adjust applicable nodes"; - - list node { - key "node-name"; - description "A node"; - - container nps { - description "TCP MSS Adjust NPs"; - - list np { - key "np-id"; - description "NP number"; - leaf adjust-value { - type uint32 { - range "1280..1535"; - } - units "byte"; - description "TCP MSS Adjust value"; - } - leaf np-id { - type uint32 { - range "0..7"; - } - description "Number between 0-7"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - container hardware-module-load-balance { - description "hardware module load balance"; - - container bundle { - description "Bundle load balance options"; - - container l2-service { - description "Load balance for L2 services"; - leaf l3-parameters { - type empty; - description - "Load balance L2 services over bundle with L3 - parameters"; - } - } - } - } - - container hardware-module-tcam { - description "hardware module tcam"; - - container nodes { - description "TCAM applicable nodes"; - - list node { - key "node-name"; - description "A TCAM applicable node"; - leaf profile { - type Prm-tcam-profile; - default "profile0"; - description "A TCAM partition profile"; - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - leaf global-profile { - type Prm-tcam-profile; - default "profile0"; - description - "Global TCAM partition profile for all TCAM - applicable nodes"; - } - } - - container hardware-module-efd { - description "hardware module efd"; - - container node-all { - description "All nodes"; - uses VLAN-PRIORITY-MASK; - uses IP-PRECEDENCE; - uses VLAN-COS; - uses ENABLE; - uses IP-PRIORITY-MASK; - uses MPLS-PRIORITY-MASK; - uses MODE; - uses MPLS-EXP; - } - - container nodes { - description "EFD applicable nodes"; - - list node { - key "node-name"; - description "A node"; - leaf node-name { - type xr:Node-id; - description "Node Name"; - } - uses VLAN-PRIORITY-MASK; - uses IP-PRECEDENCE; - uses VLAN-COS; - uses ENABLE; - uses IP-PRIORITY-MASK; - uses MPLS-PRIORITY-MASK; - uses MODE; - uses MPLS-EXP; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-cfg.yang deleted file mode 100644 index b71e24c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-cfg.yang +++ /dev/null @@ -1,64 +0,0 @@ -module Cisco-IOS-XR-asr9k-ptp-pd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ptp-pd-cfg"; - - - prefix "asr9k-ptp-pd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ptp-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-ptp-pd package configuration. - - This YANG module augments the - Cisco-IOS-XR-ptp-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-20" { - description - "IOS-XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:ptp/a1:logging" { - - container servo { - description "PTP PD Servo logging configuration"; - leaf events { - type empty; - description "Enable servo events logging"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ptp-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper-sub1.yang deleted file mode 100644 index 662df40..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper-sub1.yang +++ /dev/null @@ -1,176 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-ptp-pd-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-ptp-pd-oper { - prefix Cisco-IOS-XR-asr9k-ptp-pd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-ptp-pd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-16" { - description - "IOS-XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PTP-PD-BAG-TIMESTAMP { - description "PTP PD timestamp"; - leaf second { - type uint32; - description "value of second"; - } - leaf nano-second { - type uint32; - description "value of nano second"; - } - } - - grouping PTP-PD-SERVO-INFO { - description "PTP PD servo status"; - - container last-set-time { - description "last input of setTime"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t1 { - description "last T1 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t2 { - description "last T2 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t3 { - description "last T3 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t4 { - description "last T4 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t1 { - description "pre T1 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t2 { - description "pre T2 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t3 { - description "pre T3 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t4 { - description "pre T4 timestamp reveiced"; - uses PTP-PD-BAG-TIMESTAMP; - } - leaf lock-status { - type uint16; - description "lock status of device"; - } - leaf running { - type boolean; - description "running status of apr"; - } - leaf device-status { - type string { - length "0..50"; - } - description "status of device"; - } - leaf log-level { - type uint16; - description "log level of apr"; - } - leaf phase-accuracy-last { - type int64; - description " last phase alignment accuracy"; - } - leaf num-sync-timestamp { - type uint32; - description "number of sync timestamp reveiced"; - } - leaf num-delay-timestamp { - type uint32; - description "number of delay timestamp reveiced"; - } - leaf num-set-time { - type uint32; - description "number of setTime() been called"; - } - leaf num-step-time { - type uint32; - description "number of stepTime() been called"; - } - leaf num-adjust-freq { - type uint32; - description "number of adjustFreq() been called"; - } - leaf num-adjust-freq-time { - type uint32; - description "number of adjustFreqTime() been called"; - } - leaf last-adjust-freq { - type int32; - description "last input of adjustFreq"; - } - leaf last-step-time { - type int32; - description "last input of stepTime"; - } - leaf num-discard-sync-timestamp { - type uint32; - description "number of sync timestamp discarded"; - } - leaf num-discard-delay-timestamp { - type uint32; - description "number of delay timestamp discarded"; - } - leaf flagof-last-set-time { - type boolean; - description "last input flag of setTime"; - } - leaf offset-from-master { - type int64; - description "Time Offset From Master"; - } - leaf mean-path-delay { - type int64; - description "Mean Path Delay"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper.yang deleted file mode 100644 index 8489af3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-ptp-pd-oper.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-asr9k-ptp-pd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-ptp-pd-oper"; - - - prefix "asr9k-ptp-pd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-asr9k-ptp-pd-oper-sub1 { - revision-date 2017-03-16; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-ptp-pd package operational data. - - This module contains definitions - for the following management objects: - platform-ptp: PTP PD operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-16" { - description - "IOS-XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container platform-ptp { - config false; - description "PTP PD operational data"; - - container platform-ptp-servo { - description "PTP PD Servo information"; - uses PTP-PD-SERVO-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub1.yang deleted file mode 100644 index 0d936ad..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub1.yang +++ /dev/null @@ -1,833 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-qos-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-qos-oper { - prefix Cisco-IOS-XR-asr9k-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Wred1 { - type enumeration { - enum wred-cos-cmd { - description "wred cos cmd"; - } - enum wred-dscp-cmd { - description "wred dscp cmd"; - } - enum wred-precedence-cmd { - description "wred precedence cmd"; - } - enum wred-discard-class-cmd { - description "wred discard class cmd"; - } - enum wred-mpls-exp-cmd { - description "wred mpls exp cmd"; - } - enum red-with-user-min-max { - description "red with user min max"; - } - enum red-with-default-min-max { - description "red with default min max"; - } - enum wred-dei-cmd { - description "wred dei cmd"; - } - enum wred-ecn-cmd { - description "wred ecn cmd"; - } - enum wred-invalid-cmd { - description "wred invalid cmd"; - } - } - description "Wred1"; - } - typedef Policy-param-unit { - type enumeration { - enum policy-param-unit-invalid { - description "policy param unit invalid"; - } - enum policy-param-unit-bytes { - description "policy param unit bytes"; - } - enum policy-param-unit-kbytes { - description "policy param unit kbytes"; - } - enum policy-param-unit-mbytes { - description "policy param unit mbytes"; - } - enum policy-param-unit-gbytes { - description "policy param unit gbytes"; - } - enum policy-param-unit-bitsps { - description "policy param unit bitsps"; - } - enum policy-param-unit-kbitsps { - description "policy param unit kbitsps"; - } - enum policy-param-unit-mbitsps { - description "policy param unit mbitsps"; - } - enum policy-param-unit-gbitsps { - description "policy param unit gbitsps"; - } - enum policy-param-unit-cells-ps { - description "policy param unit cells ps"; - } - enum policy-param-unit-packets-ps { - description "policy param unit packets ps"; - } - enum policy-param-unit-us { - description "policy param unit us"; - } - enum policy-param-unit-ms { - description "policy param unit ms"; - } - enum policy-param-unit-seconds { - description "policy param unit seconds"; - } - enum policy-param-unit-packets { - description "policy param unit packets"; - } - enum policy-param-unit-cells { - description "policy param unit cells"; - } - enum policy-param-unit-percent { - description "policy param unit percent"; - } - enum policy-param-unit-per-thousand { - description "policy param unit per thousand"; - } - enum policy-param-unit-per-million { - description "policy param unit per million"; - } - enum policy-param-unit-hz { - description "policy param unit hz"; - } - enum policy-param-unit-khz { - description "policy param unit khz"; - } - enum policy-param-unit-mhz { - description "policy param unit mhz"; - } - enum policy-param-unit-ratio { - description "policy param unit ratio"; - } - enum policy-param-unit-max { - description "policy param unit max"; - } - } - description "Policy param unit"; - } - typedef Cac-state { - type enumeration { - enum unknown { - value 0; - description "unknown"; - } - enum admit { - value 1; - description "admit"; - } - enum redirect { - value 2; - description "redirect"; - } - enum ubrl { - value 3; - description "ubrl"; - } - } - description "CAC/UBRL class states"; - } - typedef Policy-state { - type enumeration { - enum active { - value 0; - description "active"; - } - enum suspended { - value 1; - description "suspended"; - } - } - description "Different Interface states"; - } - - grouping CAC-STATS-ST { - description "CAC statistics"; - leaf drop-packets { - type uint64; - description "CAC dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "CAC dropped bytes"; - } - leaf drop-rates { - type uint32; - description "CAC dropped rate"; - } - leaf admitpackets { - type uint64; - units "byte"; - description "Admitted packets (pkts/bytes)"; - } - leaf admit-bytes { - type uint64; - units "byte"; - description "Admitted bytes (pkts/bytes)"; - } - leaf admit-rates { - type uint32; - description "CAC admit rate"; - } - } - - grouping IPHC-STATS-ST { - description "IPHC Stats"; - leaf non-tcp-total-out-packets { - type uint64; - description "TotalNum of Non tcp pkts sent"; - } - leaf non-tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Non Tcp Bytes sent"; - } - leaf non-tcp-bytes-saved { - type uint64; - units "byte"; - description "Non Tcp Bytes saved due to compression"; - } - leaf non-tcp-compressed-packets-out { - type uint64; - description "Num of non tcp compressed pkts sent"; - } - leaf non-tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Non Tcp Bytes sent rate"; - } - leaf non-tcp-full-header-packets-out { - type uint64; - description "Num of non tcp fullheader pkts sent"; - } - leaf tcp-total-out-packets { - type uint64; - description "Total Num of tcp pkts sent"; - } - leaf tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Tcp Bytes sent"; - } - leaf tcp-bytes-saved { - type uint64; - units "byte"; - description "Tcp Bytes saved due to compression"; - } - leaf tcp-compressed-packets-out { - type uint64; - description "Num of tcp compressed pkts sent"; - } - leaf tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Tcp Bytes sent rate"; - } - leaf tcp-full-header-packets-out { - type uint64; - description "Num of tcp fullheader pkts sent"; - } - } - - grouping WRED-TYPE-VALUE { - description "WRED Type Value pairs"; - leaf wred-type { - type Wred1; - description "WRED type DSCP, EXP, PREC etc."; - } - leaf value { - type uint8; - description "WRED value for this type."; - } - } - - grouping RED-PROFILE-STATS { - description "Per RED profile stats"; - leaf profile-title { - type string { - length "0..300"; - } - description "ProfileTitle"; - } - leaf red-transmit-packets { - type uint64; - description "Transmitted packets"; - } - leaf red-transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes"; - } - leaf random-drop-packets { - type uint64; - description "Probabilistically dropped packets"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Probabilisticallydropped bytes"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at - the max-threshold"; - } - leaf red-ecn-marked-packets { - type uint64; - description "ECN marked packets "; - } - leaf red-ecn-marked-bytes { - type uint64; - units "byte"; - description "ECN marked bytes"; - } - - list red-label { - description - "Array of WRED Typevalues as in PRP stats is - available per threshold "; - uses WRED-TYPE-VALUE; - } - } - - grouping PLC-COLOR-CLASS-STATS-ST { - description "Color Aware Policer statistics"; - leaf conform-class-conform-packets { - type uint64; - description - "Packets with classification result conform and - policer result conform"; - } - leaf conform-class-conform-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result conform"; - } - leaf conform-class-conform-rate { - type uint32; - units "kbit/s"; - description "Conform Class Conform rate in kbps"; - } - leaf conform-class-exceed-packets { - type uint64; - description - "Packets with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Conform Class Exceed rate in kbps"; - } - leaf conform-class-violate-packets { - type uint64; - description - "Packets with classification result conform and - policer result violate"; - } - leaf conform-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result violate"; - } - leaf conform-class-violate-rate { - type uint32; - units "kbit/s"; - description "Conform Class Violate rate in kbps"; - } - leaf exceed-class-exceed-packets { - type uint64; - description - "Packets with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Exceed rate in kbps"; - } - leaf exceed-class-violate-packets { - type uint64; - description - "Packets with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Violate rate in kbps"; - } - leaf violate-class-violate-packets { - type uint64; - description - "Packets with classification result violate and - policer result violate"; - } - leaf violate-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result violate and - policer result violate"; - } - leaf violate-class-violate-rate { - type uint32; - units "kbit/s"; - description "Violate Class Violate rate in kbps"; - } - } - - grouping PLC-STATS-ST { - description "Policer statistics"; - - container color-class-stats { - description "color class stats"; - uses PLC-COLOR-CLASS-STATS-ST; - } - leaf drop-packets { - type uint64; - description "Police dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "Police dropped bytes"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the policed rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the policed rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the policed rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the policed rate"; - } - leaf violate-packets { - type uint64; - description "Packets violating the policed rate"; - } - leaf violate-bytes { - type uint64; - units "byte"; - description "Bytes that violate the policed rate"; - } - leaf parent-drop-packets { - type uint64; - description "Dropped pkts by the parent policer"; - } - leaf parent-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes by the parent policer"; - } - leaf conform-rate { - type uint32; - units "kbit/s"; - description "Conform rate in kbps"; - } - leaf exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed rate in kbps"; - } - leaf violate-rate { - type uint32; - units "kbit/s"; - description "Violate rate in kbps"; - } - } - - grouping POLICY-PARAM-UINT32-ST { - description "POLICY PARAM UINT32 ST"; - leaf value { - type uint32; - description "value"; - } - leaf unit { - type Policy-param-unit; - description "unit"; - } - } - - grouping Q-STATS-ST { - description "Queue limit statistics"; - leaf queue-id { - type uint32; - description "Queue Id used for Fabric Stats"; - } - leaf tail-drop-packets { - type uint64; - description "Packets tail dropped"; - } - leaf tail-drop-bytes { - type uint64; - units "byte"; - description "Bytes tail dropped"; - } - leaf atm-clp0-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp0-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf atm-clp1-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp1-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf queue-drop-threshold { - type uint32; - units "byte"; - description "tail drop threshold of the queue in bytes"; - } - leaf forced-wred-stats-display { - type boolean; - description - "flag to forcedisplay of WRED even when per - WredWRED profile stats is not available"; - } - leaf random-drop-packets { - type uint64; - description "Packets probabilistically dropped"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Bytes probabilistically dropped"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at the - max-threshold"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the queue rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the queue rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the queue rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the queue rate"; - } - leaf conform-rate { - type uint32; - description "Conform rate"; - } - leaf exceed-rate { - type uint32; - description "Exceed rate"; - } - - list queue-instance-length { - description "Queue instance length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-average-length { - description "Queue average length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-max-length { - description "Queue maximum length"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping GEN-STATS-ST { - description "Counters common to all features"; - leaf transmit-packets { - type uint64; - units "byte"; - description "Transmitted packets (packets/bytes)"; - } - leaf transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes (packets/bytes)"; - } - leaf total-drop-packets { - type uint64; - units "byte"; - description "Dropped packets (packets/bytes)"; - } - leaf total-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes (packets/bytes)"; - } - leaf total-drop-rate { - type uint32; - units "byte"; - description "Total drop rate (packets/bytes)"; - } - leaf match-data-rate { - type uint32; - units "kbit/s"; - description "Incoming matched data rate in kbps"; - } - leaf total-transmit-rate { - type uint32; - units "kbit/s"; - description "Total transmit rate in kbps"; - } - leaf pre-policy-matched-packets { - type uint64; - description "Matched pkts before applying policy"; - } - leaf pre-policy-matched-bytes { - type uint64; - units "byte"; - description "Matched bytes before applying policy"; - } - } - - grouping CLASS-STATS { - description "CLASS STATS"; - - container general-stats { - description "general stats"; - uses GEN-STATS-ST; - } - - container iphc-stats { - description "IPHC stats"; - uses IPHC-STATS-ST; - } - - container child-policy { - description "child policy"; - } - - container cac-stats { - description "bag for cac stats"; - uses CAC-STATS-ST; - } - leaf counter-validity-bitmask { - type uint64; - units "megabyte"; - description - " Bitmask to indicate which counter or counters - are undetermined. Counters will be marked - undetermined when one or more classes share - queues with class-default because in such cases - the value of counters for each class is invalid. - Based on the flag(s) set, the following counters - will be marked undetermined. For example, if - value of this object returned is 0x00000101, - counters - TransmitPackets/TransmitBytes/TotalTransmitRate - and DropPackets/DropBytes are undetermined - .0x00000001 - Transmit - (TransmitPackets/TransmitBytes/TotalTransmitRate - ), 0x00000002 - Total drop - (TotalDropPackets/TotalDropBytes/TotalDropRate), - 0x00000004 - Match - (MatchDataRate/PrepolicyMatchedPackets - /PrepolicyMatchedBytes), 0x00000100 - Police - drop (DropPackets/DropBytes), 0x00000200 - - Police conform - (ConformPackets/ConformBytes/ConformRate), - 0x00000400 - Police exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00000800 - Police violate - (ViolatePackets/ViolateBytes/ViolateRate), - 0x00001000 - Parent policer drop - (ParentDropPackets/ParentDropBytes), 0x00010000 - - Queueing drop (TailDropPackets/TailDropBytes), - 0x00020000 - Red queue drop - (RandomDropPackets/RandomDropBytes), 0x00040000 - - Queue maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes), - 0x00080000 - Queue conform - (ConformPackets/ConformBytes/ConformRate), - 0x00100000 - Queue exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00200000 - CLP limit drop - (ATM_CLP0DropPackets/ATM_CLP0DropBytes - /ATM_CLP1DropPackets/ATM_CLP1DropBytes), - 0x01000000 - RED transmit - (RedTransmitPackets/RedTransmitBytes), - 0x02000000 - RED drop - (RandomDropPackets/RandomDropBytes), 0x04000000 - - RED maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes)"; - } - leaf class-name { - type string { - length "0..65"; - } - description "ClassName"; - } - leaf shared-queue-id { - type uint32; - description "q-id of the shared queue for this class"; - } - leaf queue-descr { - type string { - length "0..256"; - } - description "Description of queue for the class"; - } - leaf cac-state { - type Cac-state; - description "CACState"; - } - - list queue-stats-array { - description "array of queue stats"; - uses Q-STATS-ST; - } - - list police-stats-array { - description "array of police stats"; - uses PLC-STATS-ST; - } - - list wred-stats-array { - description "array of red stats"; - uses RED-PROFILE-STATS; - } - } - - grouping QOS-STATS { - description "policy map statistics"; - leaf policy-name { - type string { - length "0..65"; - } - description "PolicyName"; - } - leaf subscriber-group { - type string { - length "0..34"; - } - description "SubscriberGroup"; - } - leaf state { - type Policy-state; - description "State"; - } - leaf state-description { - type string { - length "0..128"; - } - description "StateDescription"; - } - leaf satid { - type uint32; - description "to maintain satellite id"; - } - - list class-stat { - description "array of classes contained in policy"; - uses CLASS-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub2.yang deleted file mode 100644 index d8d1fdc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper-sub2.yang +++ /dev/null @@ -1,1163 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-qos-oper-sub2 { - - belongs-to Cisco-IOS-XR-asr9k-qos-oper { - prefix Cisco-IOS-XR-asr9k-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Shape-profiletype-v2 { - type enumeration { - enum invalid { - description "Shape Profile Type Invalid"; - } - enum always { - description "Shape Profile Type Always"; - } - enum never { - description "Shape Profile Type Never"; - } - enum explicit { - description "Shape Profile Type Explicit"; - } - enum scale { - description "Shape Profile Type Scale"; - } - enum grid { - description "Shape Profile Type Grid"; - } - } - description "SHAPE profile type"; - } - typedef Action { - type enumeration { - enum police-transmit { - description "Police action transmit"; - } - enum police-set-transmit { - description "Police action set transmit"; - } - enum police-drop { - description "Police action drop"; - } - enum police-unknown { - description "Police action unknown"; - } - } - description "Action type"; - } - typedef Action-opcode { - type enumeration { - enum precedence { - value 0; - description "Precedence"; - } - enum dscp { - value 1; - description "DSCP"; - } - enum discard-class { - value 2; - description "Discard class"; - } - enum qos-group { - value 3; - description "QoS group"; - } - enum cos-inner { - value 4; - description "COS inner"; - } - enum cos { - value 5; - description "COS"; - } - enum exp-top { - value 6; - description "EXP top"; - } - enum exp-imp { - value 7; - description "EXP IMP"; - } - enum tunnel-precedence { - value 8; - description "Tunnel precedence"; - } - enum tunnel-dscp { - value 9; - description "Tunnel DSCP"; - } - enum itag-dei { - value 10; - description "ITAG DEI"; - } - enum itag-cos { - value 11; - description "ITAG COS"; - } - enum cos-imposition { - value 12; - description "COS imposition"; - } - enum dei-imposition { - value 13; - description "DEI imposition"; - } - enum dei { - value 14; - description "DEI"; - } - enum no-marking { - value 15; - description "No marking"; - } - } - description "Action opcode"; - } - typedef Wred { - type enumeration { - enum wred-cos { - description "WRED based on COS"; - } - enum wred-dscp { - description "WRED based on DSCP"; - } - enum wred-precedence { - description "WRED based on Precedence"; - } - enum wred-discard-class { - description "WRED based on discard class"; - } - enum wred-mpls-exp { - description "WRED based on MPLS EXP"; - } - enum red-with-user-min-max { - description "RED with user defined min and max"; - } - enum red-with-default-min-max { - description "RED with default min and max"; - } - enum wred-dei { - description "WRED DEI"; - } - } - description "WRED type"; - } - typedef Tb-algorithm { - type enumeration { - enum inactive { - value 0; - description "Inactive, configured but disabled"; - } - enum single { - value 1; - description "Single token bucket"; - } - enum single-rate-tcm { - value 2; - description "Single rate three color marker"; - } - enum two-rate-tcm { - value 3; - description "Two rate three color marker"; - } - enum mef-tcm { - value 4; - description "Allows coupling between CIR and PIR tb's"; - } - enum dummy { - value 5; - description - "Internal dummy token bucket for coupled-policer - child"; - } - } - description "Tokenbucket type"; - } - typedef Queue { - type enumeration { - enum port-default { - description "Port default queue"; - } - enum class-default { - description "The default queue in this policy"; - } - enum priority1-queue { - description - "Create the priority 1 queue in the level which - will be shared by other p1 classes"; - } - enum priority2-queue { - description - "Create the priority 2 queue in the level, which - will be shared by other p2 classes"; - } - enum priority3-queue { - description - "Create the priority 3 queue in the level, which - will be shared by other p3 classes"; - } - enum priority4-queue { - description - "Create the priority 4 queue in the level, which - will be shared by other p4 classes"; - } - enum priority5-queue { - description - "Create the priority 5 queue in the level, which - will be shared by other p5 classes"; - } - enum priority6-queue { - description - "Create the priority 6 queue in the level, which - will be shared by other p6 classes"; - } - enum priority7-queue { - description - "Create the priority 7 queue in the level, which - will be shared by other p7 classes"; - } - enum first-p1-class-name { - description "Current level's priority 1 queue"; - } - enum first-p2-class-name { - description "Current level's priority 2 queue"; - } - enum first-p3-class-name { - description "Current level's priority 3 queue"; - } - enum first-p4-class-name { - description "Current level's priority 4 queue"; - } - enum first-p5-class-name { - description "Current level's priority 5 queue"; - } - enum first-p6-class-name { - description "Current level's priority 6 queue"; - } - enum first-p7-class-name { - description "Current level's priority 7 queue"; - } - enum port-priority1 { - description "Port priority 1 queue"; - } - enum port-priority2 { - description "Port priority 2 queue"; - } - enum port-priority3 { - description "Port priority 3 queue"; - } - enum port-priority4 { - description "Port priority 4 queue"; - } - enum port-priority5 { - description "Port priority 5 queue"; - } - enum port-priority6 { - description "Port priority 6 queue"; - } - enum port-priority7 { - description "Port priority 7 queue"; - } - enum new { - description "Create a new queue for this class"; - } - enum parent-class { - description "Under parent queue"; - } - enum priority1 { - description "Priority 1"; - } - enum priority2 { - description "Priority 2"; - } - enum priority3 { - description "Priority 3"; - } - enum priority4 { - description "Priority 4"; - } - enum priority5 { - description "Priority 5"; - } - enum priority6 { - description "Priority 6"; - } - enum priority7 { - description "Priority 7"; - } - enum priority-ignored-normal { - description "Priority ignored level"; - } - enum normal-priority { - description "Normal priority"; - } - enum class-unknown { - description "Class unknown"; - } - enum unknown-priority { - description "Unknown priority"; - } - } - description "Queue type"; - } - typedef Qos-unit { - type enumeration { - enum invalid { - value 0; - description "Invalid type"; - } - enum bytes { - value 1; - description "Bytes"; - } - enum kilobytes { - value 2; - description "Kilobytes"; - } - enum megabytes { - value 3; - description "Megabytes"; - } - enum gigabytes { - value 4; - description "Gigabytes"; - } - enum bps { - value 5; - description "Bits per second"; - } - enum kbps { - value 6; - description "Kilo bits per second"; - } - enum mbps { - value 7; - description "Mega bits per second"; - } - enum gbps { - value 8; - description "Giga bits per second"; - } - enum cells-per-second { - value 9; - description "Cells per second"; - } - enum packets-per-second { - value 10; - description "Packets per second"; - } - enum microsecond { - value 11; - description "Microsecond"; - } - enum millisecond { - value 12; - description "Millisecond"; - } - enum packets { - value 13; - description "Number of packets"; - } - enum cells { - value 14; - description "Number of cells"; - } - enum percentage { - value 15; - description "Percentage"; - } - enum ratio { - value 16; - description "Ratio"; - } - } - description "QoS parameter unit"; - } - - grouping WRED-CURVE-PARAMS-V2 { - description "Typhoon WRED curve parameters"; - - container min-threshold { - description "Minimum threshold"; - uses QOS-PARAM; - } - - container min-threshold-user-config { - description "Minimum threshold WRED context"; - uses QOS-PARAM; - } - - container max-threshold { - description "Maximum threshold"; - uses QOS-PARAM; - } - - container max-threshold-user-config { - description "Maximum threshold WRED context"; - uses QOS-PARAM; - } - leaf absolute-index { - type uint16; - description "Absolute Index"; - } - leaf template-id { - type uint16; - description "Template ID"; - } - leaf curve-id { - type uint16; - description "Curve ID"; - } - leaf match { - type string; - description - "WRED match if precedence start value equals to - end value Format: , else range - Format: "; - } - leaf exp-match { - type string; - description - "WRED exp match if EXP start value equals to end - value Format: , else range Format: - "; - } - } - - grouping WRED-PARAMS-V2 { - description "Typhoon WRED parameters"; - leaf type { - type Wred; - description "WRED type"; - } - leaf curve-xr { - type uint16; - description "Number of curves"; - } - - list curve { - max-elements "64"; - description "Curve details"; - uses WRED-CURVE-PARAMS-V2; - } - } - - grouping PIR-SHAPE-PARAMS-V2 { - description "PIR Shape Params"; - - container pir { - description "PIR in kbps"; - uses QOS-PARAM; - } - - container pbs { - description "PBS in bytes"; - uses QOS-PARAM; - } - leaf chunk-id { - type uint32; - description "Shape Chunk ID"; - } - leaf profile-id { - type uint16; - description "Shape profile ID"; - } - leaf scale-factor { - type uint16; - description "Scale Factor"; - } - } - - grouping CIR-SHAPE-PARAMS-V2 { - description "CIR Shape Params"; - - container cir { - description "CIR in kbps"; - uses QOS-PARAM; - } - - container config-bandwidth { - description "Config bandwidth"; - uses SHAPE-USER-CFG-BW; - } - - container cbs { - description "CBS in bytes"; - uses QOS-PARAM; - } - leaf chunk-id { - type uint32; - description "Shape Chunk ID"; - } - leaf profile-id { - type uint16; - description "Shape profile ID"; - } - leaf scale-factor { - type uint16; - description "Scale Factor"; - } - } - - grouping SHAPER-PARAMS-V2 { - description "Shaper parameters"; - - container cir-shape { - description "CIR shaper params"; - uses CIR-SHAPE-PARAMS-V2; - } - - container pir-shape { - description "PIR shaper params"; - uses PIR-SHAPE-PARAMS-V2; - } - leaf cir-shape-type { - type Shape-profiletype-v2; - description "CIR Shaper type"; - } - leaf pir-shape-type { - type Shape-profiletype-v2; - description "PIR Shaper type"; - } - } - - grouping QUEUE-LIMIT-PARAMS-V2 { - description "Queue limit parameters"; - - container queue-limit { - description "Queue limit in kbytes"; - uses QOS-PARAM; - } - - container config-queue-limit { - description "Config queue limit"; - uses QOS-PARAM; - } - leaf absolute-index { - type uint16; - description "Absolute Index"; - } - leaf template-id { - type uint16; - description "Template ID"; - } - leaf curve-id { - type uint16; - description "Curve ID"; - } - } - - grouping QOS-SHOW-EA-ST-V2 { - description "QoS policy"; - - list qos-show-ea-st-v2 { - description "qos show ea st v2"; - - container queue { - description "Queue parameters"; - uses QUEUE-PARAMS; - } - - container queue-limit-parameters { - description "Queue limit parameters"; - uses QUEUE-LIMIT-PARAMS-V2; - } - - container shape { - description "Shape parameters"; - uses SHAPER-PARAMS-V2; - } - - container police { - description "Police parameters"; - uses POLICE-PARAMS; - } - - container wfq { - description "WFQ parameters"; - uses WFQ-PARAMS; - } - - container wred { - description "WRED parameters"; - uses WRED-PARAMS-V2; - } - - container mark { - description "Mark parameters"; - uses CLASS-MARK-ACTIONS; - } - leaf class-level { - type uint8; - description "Class level"; - } - leaf class-name { - type string { - length "0..65"; - } - description "Class name"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - leaf parent-policy-name { - type string { - length "0..65"; - } - description "Parent policy name"; - } - leaf parent-class-name { - type string { - length "0..65"; - } - description "Parent class name"; - } - } - } - - grouping MARK-ACTION { - description "Marking parameters"; - leaf mark-value { - type uint8; - description "Mark value"; - } - leaf action-opcode { - type Action-opcode; - description "Action opcode"; - } - } - - grouping MARK-ACTION-PER-CATEGORY { - description "Marking action"; - leaf action-type { - type Action; - description "Action type"; - } - - list mark-detail { - max-elements "2"; - description "Mark value"; - uses MARK-ACTION; - } - } - - grouping CLASS-MARK-ACTIONS { - description "Mark parameters"; - - container child-mark { - description "Child mark only"; - uses MARK-ACTION-PER-CATEGORY; - } - - container police-conform { - description "Child police conform mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container police-exceed { - description "Child police exceed mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container police-violate { - description "Child police violate mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container parent-mark { - description "Parent mark only"; - uses MARK-ACTION-PER-CATEGORY; - } - - container parent-police-conform { - description "Parent police conform mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container parent-police-exceed { - description "Parent police exceed mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container parent-police-violate { - description "Parent police violate mark"; - uses MARK-ACTION-PER-CATEGORY; - } - } - - grouping WRED-CURVE-PARAMS-V1 { - description "Trident WRED curve parameters"; - - container min-threshold { - description "Minimum threshold"; - uses QOS-PARAM; - } - - container min-threshold-user-config { - description "Minimum threshold WRED context"; - uses QOS-PARAM; - } - - container max-threshold { - description "Maximum threshold"; - uses QOS-PARAM; - } - - container max-threshold-user-config { - description "Maximum threshold WRED context"; - uses QOS-PARAM; - } - leaf match { - type string; - description - "WRED precedence match if precedence start value - equals to end value Format: , else - range Format: "; - } - } - - grouping WRED-PARAMS-V1 { - description "Trident WRED parameters"; - leaf type { - type Wred; - description "WRED type"; - } - leaf curve-xr { - type uint16; - description "Number of curves"; - } - leaf table-id { - type uint8; - description "Table ID"; - } - leaf profile-id { - type uint32; - description "Profile ID"; - } - leaf scaling-profile-id { - type uint32; - description "Scaling profile ID"; - } - - list curve { - max-elements "64"; - description "Curve details"; - uses WRED-CURVE-PARAMS-V1; - } - } - - grouping WFQ-PARAMS { - description "WFQ parameters"; - - container parent-bandwidth { - description "Parent bandwidth"; - uses QOS-PARAM; - } - - container bandwidth { - description "CFG Bandwidth"; - uses QOS-PARAM; - } - leaf profile-id { - type uint32; - description "WFQ profile"; - } - leaf committed-weight { - type uint32; - description "Committed weight"; - } - leaf excess-weight { - type uint16; - description "Excess weight"; - } - leaf excess-ratio { - type uint16; - description "Parent Excess ratio"; - } - leaf chunk-id { - type uint32; - description "Chunk ID"; - } - leaf level { - type uint8; - description "Level"; - } - } - - grouping CFG-POLICE { - description "Config police parameters"; - - container average-rate { - description "Average rate"; - uses QOS-PARAM; - } - - container peak-rate { - description "Peak rate"; - uses QOS-PARAM; - } - - container conform-burst { - description "Conform burst"; - uses QOS-PARAM; - } - - container exceed-burst { - description "Exceed burst"; - uses QOS-PARAM; - } - } - - grouping POLICE-PARAMS { - description "Police parameters"; - - container cir { - description "CIR"; - uses QOS-PARAM; - } - - container cbs { - description "CBS"; - uses QOS-PARAM; - } - - container pir { - description "PIR"; - uses QOS-PARAM; - } - - container pbs { - description "PBS"; - uses QOS-PARAM; - } - - container police-config-parameters { - description "Police config parameters"; - uses CFG-POLICE; - } - leaf policer-type { - type Tb-algorithm; - description "Policer type"; - } - leaf profile-id { - type uint32; - description "Police profile ID"; - } - } - - grouping SHAPE-USER-CFG-BW { - description "Config bandwidth parameters"; - - container minimum-rate { - description "Minimum bandwidth rate"; - uses QOS-PARAM; - } - } - - grouping SHAPER-PARAMS-V1 { - description "Shaper parameters"; - - container cir { - description "CIR in kbps"; - uses QOS-PARAM; - } - - container config-bandwidth { - description "Config bandwidth"; - uses SHAPE-USER-CFG-BW; - } - - container cbs { - description "CBS in bytes"; - uses QOS-PARAM; - } - - container pir { - description "PIR in kbps"; - uses QOS-PARAM; - } - - container pbs { - description "PBS in bytes"; - uses QOS-PARAM; - } - leaf profile-id { - type uint16; - description "Shape profile ID"; - } - } - - grouping QUEUE-LIMIT-PARAMS-V1 { - description "Queue limit parameters"; - - container queue-limit { - description "Queue limit in kbytes"; - uses QOS-PARAM; - } - - container config-queue-limit { - description "Config queue limit"; - uses QOS-PARAM; - } - leaf profile-id { - type uint32; - description "Profile ID"; - } - leaf scaling-profile-id { - type uint32; - description "Scaling profile ID"; - } - } - - grouping QUEUE-PARAMS { - description "Queue parameters"; - leaf queue-id { - type uint32; - description "Queue ID"; - } - leaf queue-type { - type Queue; - description "Queue type"; - } - leaf class-name { - type string { - length "0..65"; - } - description "Class name"; - } - } - - grouping QOS-SHOW-EA-ST-V1 { - description "QoS policy"; - - list qos-show-ea-st-v1 { - description "qos show ea st v1"; - - container queue { - description "Queue parameters"; - uses QUEUE-PARAMS; - } - - container queue-limit-parameters { - description "Queue limit parameters"; - uses QUEUE-LIMIT-PARAMS-V1; - } - - container shape { - description "Shape parameters"; - uses SHAPER-PARAMS-V1; - } - - container police { - description "Police parameters"; - uses POLICE-PARAMS; - } - - container wfq { - description "WFQ parameters"; - uses WFQ-PARAMS; - } - - container wred { - description "WRED parameters"; - uses WRED-PARAMS-V1; - } - - container mark { - description "Mark parameters"; - uses CLASS-MARK-ACTIONS; - } - leaf class-level { - type uint8; - description "Class level"; - } - leaf class-name { - type string { - length "0..65"; - } - description "Class name"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - leaf parent-policy-name { - type string { - length "0..65"; - } - description "Parent policy name"; - } - leaf parent-class-name { - type string { - length "0..65"; - } - description "Parent class name"; - } - } - } - - grouping QOS-PARAM { - description "Config details"; - leaf value { - type uint32; - description "Config value"; - } - leaf unit { - type Qos-unit; - description "Config unit"; - } - } - - grouping INTF-CONFIG-PROGRAMED { - description "Interface configured and programmed parameters"; - - container port-config-bandwidth { - description "Bandwidth due to port speed change"; - uses QOS-PARAM; - } - - container ancp-config-bandwidth { - description "Bandwidth obtain from IM"; - uses QOS-PARAM; - } - - container ancp-programmed-bandwidth { - description "ANCP bandwidth that was programmed"; - uses QOS-PARAM; - } - - container port-shaper-rate { - description "Bandwidth that was programmed"; - uses QOS-PARAM; - } - } - - grouping QOS-SHOW-EA-HEADER-ST { - description "QoS policy header"; - - container interface-parameters { - description "Interface config and programmed parameters"; - uses INTF-CONFIG-PROGRAMED; - } - - container programmed-bandwidth { - description "Bandwidth that was programmed"; - uses QOS-PARAM; - } - leaf classes { - type uint16; - description "Number of classes"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - } - - grouping QOS-SHOW-EA-POLICY { - description "QoS policy"; - - container header { - description "QoS policy header"; - uses QOS-SHOW-EA-HEADER-ST; - } - - container policy { - description "Trident QoS policy details"; - uses QOS-SHOW-EA-ST-V1; - } - - container policy-typhoon { - description "Typhoon QoS policy details"; - uses QOS-SHOW-EA-ST-V2; - } - } - - grouping QOS-EA-CAPABILITY { - description "QoS capability"; - leaf max-policy-maps { - type uint32; - description "Maximum policy maps per system"; - } - leaf max-policy-hierarchy { - type uint32; - description "Maximum policy hierarchy"; - } - leaf max-policy-name-length { - type uint32; - description "Maximum policy name length"; - } - leaf max-classes-per-child-policy { - type uint32; - description "Maximum classes per child policy"; - } - leaf max-classes-per-policy { - type uint32; - description "Maximum classes per policy"; - } - leaf max-classes-per-grand-parent-policy { - type uint32; - description "Maximum classes per parent policy"; - } - leaf max-police-actions-per-class { - type uint32; - description "Maximum police actions per class"; - } - leaf max-marking-actions-per-class { - type uint32; - description "Maximum marking action per class"; - } - leaf max-matches-per-class { - type uint32; - description "Maximum matches per class"; - } - leaf max-classmap-name-length { - type uint32; - description "Maximum classmap name length"; - } - leaf max-bundle-members { - type uint32; - description "Maximum bundle members"; - } - leaf max-instance-name-length { - type uint32; - description "Maximum instance name length"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper.yang deleted file mode 100644 index fdb1d21..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-qos-oper.yang +++ /dev/null @@ -1,318 +0,0 @@ -module Cisco-IOS-XR-asr9k-qos-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-qos-oper"; - - - prefix "asr9k-qos-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-qos-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-asr9k-qos-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-qos package operational data. - - This module contains definitions - for the following management objects: - platform-qos: QoS ASR9K platform operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NV-SATELLITE-INPUT { - description - "Common node of nv-satellite-interface, - satellite-id, member-interface"; - - container nv-satellite-input { - description - "A piece of Satellite QoS policy-map operational - data for input"; - uses NV-SAT-STATISTICS; - } - } - - grouping DETAILS { - description "Common node of output, input, member-interface"; - - container details { - description "QoS policy direction egress"; - uses QOS-SHOW-EA-POLICY; - } - } - - grouping STATISTICS { - description "Common node of input, output, policy-name"; - - container statistics { - description - "Policy-map statistics operational data for an - interface"; - uses QOS-STATS; - } - } - - grouping INTERFACE { - description - "Common node of interface-table, - nv-interface-table"; - - list interface { - key "interface-name"; - description - "QoS policy-map operational data for a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses MEMBER-INTERFACE-TABLE; - uses SATELLITE-ID-TABLE; - uses INPUT; - uses OUTPUT; - } - } - - grouping INPUT { - description - "Common node of shared-policy-instance, - member-interface, interface"; - - container input { - description - "A piece of QoS policy-map operational data for - an interface"; - uses STATISTICS; - uses POLICY-NAME-TABLE; - } - } - - grouping MEMBER-INTERFACE-TABLE { - description - "Common node of interface, nv-satellite-interface, - shared-policy-instance"; - - container member-interfaces { - description "QoS policy-map member interface table"; - - list member-interface { - key "interface-name"; - description "QoS policy-map member interface statistics"; - leaf interface-name { - type xr:Interface-name; - description "Name of member interface"; - } - uses SATELLITE-ID-TABLE; - uses INPUT; - uses NV-SATELLITE-INPUT; - uses OUTPUT; - uses NV-SATELLITE-OUTPUT; - } - } - } - - grouping QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE { - description - "Common node of interface, nv-satellite-interface, - shared-policy-instanceCommon node of - bundle-output, bundle-input"; - - container member-interfaces { - description "QoS list of member interfaces"; - - list member-interface { - key "interface-name"; - description "QoS interface name"; - leaf interface-name { - type xr:Interface-name; - description "Memeber interface"; - } - uses DETAILS; - } - } - } - - grouping POLICY-NAME-TABLE { - description "Common node of input, output"; - - container policy-names { - description - "Policy-map statistics operational data for an - interface"; - - list policy-name { - key "pmap-name"; - description - "Policy-map statistics operational data for an - interface"; - leaf pmap-name { - type xr:Cisco-ios-xr-string; - description "Name of the policy"; - } - uses STATISTICS; - } - } - } - - grouping NV-SATELLITE-OUTPUT { - description - "Common node of nv-satellite-interface, - satellite-id, member-interface"; - - container nv-satellite-output { - description - "A piece of Satellite QoS policy-map operational - data for an interface"; - uses NV-SAT-STATISTICS; - } - } - - grouping OUTPUT { - description - "Common node of shared-policy-instance, - member-interface, interface"; - - container output { - description - "A piece of QoS policy-map operational data for - an interface"; - uses STATISTICS; - uses POLICY-NAME-TABLE; - } - } - - grouping NV-SAT-STATISTICS { - description - "Common node of nv-satellite-input, - nv-satellite-output"; - - container nv-sat-statistics { - description - "Policy-map statistics operational data for - satellite interface"; - uses QOS-STATS; - } - } - - grouping SATELLITE-ID-TABLE { - description "Common node of interface, member-interface"; - - container satellite-ids { - description "Satellite ID information"; - - list satellite-id { - key "nv-satellite-id"; - description "Satellite ID information"; - leaf nv-satellite-id { - type int32; - description "Satellite ID"; - } - uses NV-SATELLITE-INPUT; - uses NV-SATELLITE-OUTPUT; - } - } - } - - container platform-qos { - config false; - description "QoS ASR9K platform operational data "; - - container nodes { - description - "List of nodes with platform specific QoS - configuration"; - - list node { - key "node-name"; - description "Node with platform specific QoS configuration"; - - container capability { - description "QoS system capability"; - uses QOS-EA-CAPABILITY; - } - - container interfaces { - description "QoS list of interfaces"; - - list interface { - key "interface-name"; - description "QoS interface name"; - - container input { - description "QoS policy direction ingress"; - uses DETAILS; - } - - container output { - description "QoS policy direction egress"; - uses DETAILS; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } - - container bundle-interfaces { - description "QoS list of bundle interfaces"; - - list bundle-interface { - key "interface-name"; - description "QoS interface name"; - - container bundle-output { - description "QoS policy direction output"; - uses QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE; - } - - container bundle-input { - description "QoS policy direction output"; - uses QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE; - } - leaf interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang deleted file mode 100644 index 7ab2e8e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang +++ /dev/null @@ -1,629 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-diag-admin-oper { - prefix Cisco-IOS-XR-asr9k-sc-diag-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-diag-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Diag-slot { - type enumeration { - enum fan-tray { - description "Slot type is fan tray"; - } - enum power-module { - description "Slot type is power module"; - } - enum module { - description "Slot type is module"; - } - } - description "Slot types"; - } - typedef Diag-node { - type enumeration { - enum node { - description "Node type is node"; - } - enum spa { - description "Node type is SPA"; - } - } - description "Node types"; - } - typedef Diag-processor { - type enumeration { - enum mpc8614d { - description "Processor type 8614D"; - } - } - description "Processor types"; - } - typedef Node-state { - type enumeration { - enum not-present { - value 0; - description "Not present"; - } - enum present { - value 1; - description "Present"; - } - enum reset { - value 2; - description "Reset"; - } - enum rommon { - value 3; - description "Card booting or rommon"; - } - enum mbi-boot { - value 4; - description "MBI booting"; - } - enum mbi-run { - value 5; - description "Running MBI"; - } - enum xr-run { - value 6; - description "Running ENA"; - } - enum bring-down { - value 7; - description "Bringdown"; - } - enum xr-fail { - value 8; - description "ENA failure"; - } - enum fdiag-run { - value 9; - description "Running FDIAG"; - } - enum fdiag-fail { - value 10; - description "FDIAG failure"; - } - enum power { - value 11; - description "Powered"; - } - enum unpower { - value 12; - description "Unpowered"; - } - enum mdr-warm-reload { - value 13; - description "MDR warm reload"; - } - enum mdr-mbi-run { - value 14; - description "MDR running MBI"; - } - enum maintenance-mode { - value 15; - description "Maintenance mode"; - } - enum admin-down { - value 16; - description "Admin down"; - } - enum not-monitor { - value 17; - description "No MON"; - } - enum unknown-card { - value 18; - description "Unknown"; - } - enum failed { - value 19; - description "Failed"; - } - enum ok { - value 20; - description "OK"; - } - enum missing { - value 21; - description "Missing"; - } - enum diag-download { - value 22; - description "Field diag downloading"; - } - enum diag-not-monitor { - value 23; - description "Field diag unmonitor"; - } - enum fabric-diag-not-monitor { - value 24; - description "Fabric field diag unmonitor"; - } - enum diag-rp-launch { - value 25; - description "Field diag RP launching"; - } - enum diag-run { - value 26; - description "Field diag running"; - } - enum diag-pass { - value 27; - description "Field diag pass"; - } - enum diag-fail { - value 28; - description "Field diag fail"; - } - enum diag-timeout { - value 29; - description "Field diag timeout"; - } - enum disable { - value 30; - description "Disable"; - } - enum spa-boot { - value 31; - description "SPA booting"; - } - enum not-allowed-online { - value 32; - description "Not allowed online"; - } - enum stop { - value 33; - description "Stopped"; - } - enum incomp-version { - value 34; - description "Incompatible FW version"; - } - enum fpd-hold { - value 35; - description "FPD hold"; - } - enum xr-preparation { - value 36; - description "XR preparation"; - } - enum sync-ready { - value 37; - description "Sync ready state"; - } - enum xr-isolate { - value 38; - description "Node isolate state"; - } - enum ready { - value 39; - description "Ready"; - } - enum invalid { - value 40; - description "Invalid"; - } - enum operational { - value 41; - description "Operational"; - } - enum operational-lock { - value 42; - description "Operational lock"; - } - enum going-down { - value 43; - description "Going down"; - } - enum going-offline { - value 44; - description "Going offline"; - } - enum going-online { - value 45; - description "Going online"; - } - enum offline { - value 46; - description "Offline"; - } - enum up { - value 47; - description "Up"; - } - enum down { - value 48; - description "Down"; - } - enum max { - value 49; - description "Max"; - } - enum unknown { - value 50; - description "Unknown"; - } - } - description "Node state detail"; - } - - grouping DIAG-SUMMARY-ENTRY { - description "Diag summary of a node"; - leaf type { - type Diag-node; - description "Node type"; - } - leaf node { - type xr:Node-id; - description "Node ID"; - } - leaf slot-type { - type Diag-slot; - description "Slot type"; - } - leaf description { - type string; - description "Description"; - } - } - - grouping DIAG-SUMMARY { - description "Diag summary information"; - - list summary { - description "Summary data"; - uses DIAG-SUMMARY-ENTRY; - } - } - - grouping DIAG-CHASSIS { - description "Diag chassis information"; - leaf serial-number { - type string; - description "Serial number"; - } - leaf pid { - type string; - description "PID"; - } - leaf vid { - type string; - description "VID"; - } - leaf description { - type string; - description "Describes in user-readable terms"; - } - leaf clei { - type string; - description "CLEI"; - } - leaf tan { - type string; - description "Top assembly number"; - } - } - - grouping DIAG-SLOT-DETAIL { - description "Slot detail information"; - - list node-detail { - description "Detail information for slot"; - uses DIAG-NODE; - } - - list spa-detail { - description "Detail information for spa"; - uses DIAG-SPA; - } - } - - grouping DIAG-EDM-MAIN { - description "Main information"; - leaf board-type { - type uint32; - description "Board type"; - } - leaf tan { - type string; - description "Top assembly number"; - } - leaf tan-revision { - type string; - description "Top assembly number revision"; - } - leaf deviation-number { - type uint32; - description "Deviation number"; - } - leaf serial-number { - type string; - description "Serial number"; - } - } - - grouping DIAG-SPA { - description "Diag details"; - - container main { - description "Main"; - uses DIAG-EDM-MAIN; - } - - container hardware-revision { - description "Hardware revision"; - uses DIAG-EDM-REVISION; - } - leaf node { - type xr:Node-id; - description "Node"; - } - leaf name { - type string; - description "SPA name"; - } - leaf pca-unit-number { - type string; - description - "Format is C-BN-V where C = Class Code, BN = Base - Number, and V = Version"; - } - leaf pca-revision { - type string; - description "PCA revision information"; - } - leaf pid { - type string; - description "PID"; - } - leaf vid { - type string; - description "VID"; - } - leaf clei { - type string; - description "CLEI"; - } - leaf node-state { - type Node-state; - description "Node state"; - } - } - - grouping DIAG-SSD-REVISION { - description "SSD information"; - leaf number { - type string; - description "SSD number"; - } - leaf fw-rev { - type string; - description "Firmware revision"; - } - leaf serial-number { - type string; - description "Serial number"; - } - } - - grouping DIAG-DIMM-REVISION { - description "DIMM version information"; - leaf size { - type uint32; - description "Size in MB"; - } - leaf speed { - type uint32; - description "Speed in MHz"; - } - leaf locator { - type string; - description "Locator information"; - } - leaf cas { - type uint32; - description "Column address strobe latency in clock cycles"; - } - } - - grouping DIAG-REVISION-NUMBER { - description "Revision detail"; - leaf major-revision { - type uint32; - description "Major revision"; - } - leaf minor-revision { - type uint32; - description "Minor revision"; - } - } - - grouping DIAG-HARDWARE-REVISION { - description "Hardware revision"; - - container hw-rev { - description "Hardware version"; - uses DIAG-REVISION-NUMBER; - } - - container fw-rev { - description "Firmware version"; - uses DIAG-REVISION-NUMBER; - } - - container sw-rev { - description "Software version"; - uses DIAG-REVISION-NUMBER; - } - - container dimm-rev { - description "DIMM version information"; - uses DIAG-DIMM-REVISION; - } - - container ssd-rev { - description "SSD version information"; - uses DIAG-SSD-REVISION; - } - leaf node-description { - type string; - description "Node decsription"; - } - leaf version { - type string; - description "Version information"; - } - } - - grouping DIAG-EDM-REVISION { - description - "Board FPGA/CPLD/ASIC hardware revision - information"; - - list hardware-revision { - description "Board FPGA/CPLD/ASIC hardware revision"; - uses DIAG-HARDWARE-REVISION; - } - } - - grouping DIAG-EDM-PLD-VERSION { - description "PLD version information"; - leaf type { - type uint32; - description "Processor PLD version"; - } - leaf processor-higher-version { - type uint32; - description "HigherVerion"; - } - leaf processor-lower-version { - type uint32; - description "LowerVersion"; - } - } - - grouping DIAG-NODE { - description "Diag node information"; - - container pld { - description "Programmable logic device information"; - uses DIAG-EDM-PLD-VERSION; - } - - container hardware-revision { - description "Hardware revision"; - uses DIAG-EDM-REVISION; - } - - container cbc-active-partition { - description "CBC active partition"; - uses DIAG-REVISION-NUMBER; - } - - container cbc-inactive-partition { - description "CBC inactive partition"; - uses DIAG-REVISION-NUMBER; - } - leaf description { - type string; - description "Describes in user-readable terms"; - } - leaf serial-number { - type string; - description "Main serial number"; - } - leaf tan { - type string; - description "Top assembly number"; - } - leaf pid { - type string; - description "PID"; - } - leaf vid { - type string; - description "VID"; - } - leaf chip-hardware-revision { - type string; - description "Chip hardware revision"; - } - leaf new-deviation-number { - type uint32; - description "New deviation number"; - } - leaf clei { - type string; - description "CLEI"; - } - leaf board-state { - type Node-state; - description "Module operational state"; - } - leaf pld-motherboard { - type string; - description "Motherboard PLD version"; - } - leaf pld-power { - type string; - description "Power PLD version"; - } - leaf monlib { - type string; - description "MONLIB version"; - } - leaf rommon { - type string; - description "ROMMON version"; - } - leaf cpu0 { - type Diag-processor; - description "Processor type"; - } - } - - grouping DIAG-DETAIL { - description "Diag detail"; - - container node { - description "Node information"; - uses DIAG-NODE; - } - - container spa { - description "SPA information"; - uses DIAG-SPA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang deleted file mode 100644 index 371b1b4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang +++ /dev/null @@ -1,157 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-diag-admin-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-sc-diag-admin-oper"; - - - prefix "asr9k-sc-diag-admin-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-diag package - admin-plane operational data. - - This module contains definitions - for the following management objects: - diag: Diag admin operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container diag { - config false; - description "Diag admin operational data"; - - container racks { - description "Diag operational data for available racks"; - - list rack { - key "rack-name"; - description "Diag operational data for a particular rack"; - - container fan-traies { - description "Fan tray table operational data"; - - list fan-tray { - key "fan-tray-name"; - description "Fan tray operational data"; - - container detail { - description "Diag detailed information"; - uses DIAG-DETAIL; - } - leaf fan-tray-name { - type xr:Cisco-ios-xr-string; - description "Fan tray name"; - } - } - } - - container power-supplies { - description "Power supply table operational data"; - - list power-supply { - key "power-supply-name"; - description "Power supply operational data"; - - container detail { - description "Diag detailed information"; - uses DIAG-DETAIL; - } - leaf power-supply-name { - type xr:Cisco-ios-xr-string; - description "Power supply name"; - } - } - } - - container slots { - description - "Diag operational data for all available slots"; - - list slot { - key "slot-name"; - description - "Diag operational data for a particular slot"; - - container detail { - description "Slot detailed information"; - uses DIAG-SLOT-DETAIL; - } - - container instances { - description - "Diag operational data for all available - instances"; - - list instance { - key "instance-name"; - description - "Diag operational data for a particular - instance"; - - container detail { - description "Diag detailed information"; - uses DIAG-DETAIL; - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "Instance name"; - } - } - } - leaf slot-name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - - container chassis { - description "Chassis information"; - uses DIAG-CHASSIS; - } - - container summary { - description "Summary information"; - uses DIAG-SUMMARY; - } - leaf rack-name { - type int32; - description "Rack name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang deleted file mode 100644 index 89a08c1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang +++ /dev/null @@ -1,601 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-diag-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-diag-oper { - prefix Cisco-IOS-XR-asr9k-sc-diag-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-diag package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Diag-slot { - type enumeration { - enum fan-tray { - description "Slot type is fan tray"; - } - enum power-module { - description "Slot type is power module"; - } - enum module { - description "Slot type is module"; - } - } - description "Slot types"; - } - typedef Diag-node { - type enumeration { - enum node { - description "Node type is node"; - } - enum spa { - description "Node type is SPA"; - } - } - description "Node types"; - } - typedef Diag-processor { - type enumeration { - enum mpc8614d { - description "Processor type 8614D"; - } - } - description "Processor types"; - } - typedef Node-state { - type enumeration { - enum not-present { - value 0; - description "Not present"; - } - enum present { - value 1; - description "Present"; - } - enum reset { - value 2; - description "Reset"; - } - enum rommon { - value 3; - description "Card booting or rommon"; - } - enum mbi-boot { - value 4; - description "MBI booting"; - } - enum mbi-run { - value 5; - description "Running MBI"; - } - enum xr-run { - value 6; - description "Running ENA"; - } - enum bring-down { - value 7; - description "Bringdown"; - } - enum xr-fail { - value 8; - description "ENA failure"; - } - enum fdiag-run { - value 9; - description "Running FDIAG"; - } - enum fdiag-fail { - value 10; - description "FDIAG failure"; - } - enum power { - value 11; - description "Powered"; - } - enum unpower { - value 12; - description "Unpowered"; - } - enum mdr-warm-reload { - value 13; - description "MDR warm reload"; - } - enum mdr-mbi-run { - value 14; - description "MDR running MBI"; - } - enum maintenance-mode { - value 15; - description "Maintenance mode"; - } - enum admin-down { - value 16; - description "Admin down"; - } - enum not-monitor { - value 17; - description "No MON"; - } - enum unknown-card { - value 18; - description "Unknown"; - } - enum failed { - value 19; - description "Failed"; - } - enum ok { - value 20; - description "OK"; - } - enum missing { - value 21; - description "Missing"; - } - enum diag-download { - value 22; - description "Field diag downloading"; - } - enum diag-not-monitor { - value 23; - description "Field diag unmonitor"; - } - enum fabric-diag-not-monitor { - value 24; - description "Fabric field diag unmonitor"; - } - enum diag-rp-launch { - value 25; - description "Field diag RP launching"; - } - enum diag-run { - value 26; - description "Field diag running"; - } - enum diag-pass { - value 27; - description "Field diag pass"; - } - enum diag-fail { - value 28; - description "Field diag fail"; - } - enum diag-timeout { - value 29; - description "Field diag timeout"; - } - enum disable { - value 30; - description "Disable"; - } - enum spa-boot { - value 31; - description "SPA booting"; - } - enum not-allowed-online { - value 32; - description "Not allowed online"; - } - enum stop { - value 33; - description "Stopped"; - } - enum incomp-version { - value 34; - description "Incompatible FW version"; - } - enum fpd-hold { - value 35; - description "FPD hold"; - } - enum xr-preparation { - value 36; - description "XR preparation"; - } - enum sync-ready { - value 37; - description "Sync ready state"; - } - enum xr-isolate { - value 38; - description "Node isolate state"; - } - enum ready { - value 39; - description "Ready"; - } - enum invalid { - value 40; - description "Invalid"; - } - enum operational { - value 41; - description "Operational"; - } - enum operational-lock { - value 42; - description "Operational lock"; - } - enum going-down { - value 43; - description "Going down"; - } - enum going-offline { - value 44; - description "Going offline"; - } - enum going-online { - value 45; - description "Going online"; - } - enum offline { - value 46; - description "Offline"; - } - enum up { - value 47; - description "Up"; - } - enum down { - value 48; - description "Down"; - } - enum max { - value 49; - description "Max"; - } - enum unknown { - value 50; - description "Unknown"; - } - } - description "Node state detail"; - } - - grouping DIAG-SUMMARY-ENTRY { - description "Diag summary of a node"; - leaf type { - type Diag-node; - description "Node type"; - } - leaf node { - type xr:Node-id; - description "Node ID"; - } - leaf slot-type { - type Diag-slot; - description "Slot type"; - } - leaf description { - type string; - description "Description"; - } - } - - grouping DIAG-SUMMARY { - description "Diag summary information"; - - list summary { - description "Summary data"; - uses DIAG-SUMMARY-ENTRY; - } - } - - grouping DIAG-DETAIL { - description "Diag detail"; - - container node { - description "Node information"; - uses DIAG-NODE; - } - - container spa { - description "SPA information"; - uses DIAG-SPA; - } - } - - grouping DIAG-EDM-MAIN { - description "Main information"; - leaf board-type { - type uint32; - description "Board type"; - } - leaf tan { - type string; - description "Top assembly number"; - } - leaf tan-revision { - type string; - description "Top assembly number revision"; - } - leaf deviation-number { - type uint32; - description "Deviation number"; - } - leaf serial-number { - type string; - description "Serial number"; - } - } - - grouping DIAG-SPA { - description "Diag details"; - - container main { - description "Main"; - uses DIAG-EDM-MAIN; - } - - container hardware-revision { - description "Hardware revision"; - uses DIAG-EDM-REVISION; - } - leaf node { - type xr:Node-id; - description "Node"; - } - leaf name { - type string; - description "SPA name"; - } - leaf pca-unit-number { - type string; - description - "Format is C-BN-V where C = Class Code, BN = Base - Number, and V = Version"; - } - leaf pca-revision { - type string; - description "PCA revision information"; - } - leaf pid { - type string; - description "PID"; - } - leaf vid { - type string; - description "VID"; - } - leaf clei { - type string; - description "CLEI"; - } - leaf node-state { - type Node-state; - description "Node state"; - } - } - - grouping DIAG-SSD-REVISION { - description "SSD information"; - leaf number { - type string; - description "SSD number"; - } - leaf fw-rev { - type string; - description "Firmware revision"; - } - leaf serial-number { - type string; - description "Serial number"; - } - } - - grouping DIAG-DIMM-REVISION { - description "DIMM version information"; - leaf size { - type uint32; - description "Size in MB"; - } - leaf speed { - type uint32; - description "Speed in MHz"; - } - leaf locator { - type string; - description "Locator information"; - } - leaf cas { - type uint32; - description "Column address strobe latency in clock cycles"; - } - } - - grouping DIAG-REVISION-NUMBER { - description "Revision detail"; - leaf major-revision { - type uint32; - description "Major revision"; - } - leaf minor-revision { - type uint32; - description "Minor revision"; - } - } - - grouping DIAG-HARDWARE-REVISION { - description "Hardware revision"; - - container hw-rev { - description "Hardware version"; - uses DIAG-REVISION-NUMBER; - } - - container fw-rev { - description "Firmware version"; - uses DIAG-REVISION-NUMBER; - } - - container sw-rev { - description "Software version"; - uses DIAG-REVISION-NUMBER; - } - - container dimm-rev { - description "DIMM version information"; - uses DIAG-DIMM-REVISION; - } - - container ssd-rev { - description "SSD version information"; - uses DIAG-SSD-REVISION; - } - leaf node-description { - type string; - description "Node decsription"; - } - leaf version { - type string; - description "Version information"; - } - } - - grouping DIAG-EDM-REVISION { - description - "Board FPGA/CPLD/ASIC hardware revision - information"; - - list hardware-revision { - description "Board FPGA/CPLD/ASIC hardware revision"; - uses DIAG-HARDWARE-REVISION; - } - } - - grouping DIAG-EDM-PLD-VERSION { - description "PLD version information"; - leaf type { - type uint32; - description "Processor PLD version"; - } - leaf processor-higher-version { - type uint32; - description "HigherVerion"; - } - leaf processor-lower-version { - type uint32; - description "LowerVersion"; - } - } - - grouping DIAG-NODE { - description "Diag node information"; - - container pld { - description "Programmable logic device information"; - uses DIAG-EDM-PLD-VERSION; - } - - container hardware-revision { - description "Hardware revision"; - uses DIAG-EDM-REVISION; - } - - container cbc-active-partition { - description "CBC active partition"; - uses DIAG-REVISION-NUMBER; - } - - container cbc-inactive-partition { - description "CBC inactive partition"; - uses DIAG-REVISION-NUMBER; - } - leaf description { - type string; - description "Describes in user-readable terms"; - } - leaf serial-number { - type string; - description "Main serial number"; - } - leaf tan { - type string; - description "Top assembly number"; - } - leaf pid { - type string; - description "PID"; - } - leaf vid { - type string; - description "VID"; - } - leaf chip-hardware-revision { - type string; - description "Chip hardware revision"; - } - leaf new-deviation-number { - type uint32; - description "New deviation number"; - } - leaf clei { - type string; - description "CLEI"; - } - leaf board-state { - type Node-state; - description "Module operational state"; - } - leaf pld-motherboard { - type string; - description "Motherboard PLD version"; - } - leaf pld-power { - type string; - description "Power PLD version"; - } - leaf monlib { - type string; - description "MONLIB version"; - } - leaf rommon { - type string; - description "ROMMON version"; - } - leaf cpu0 { - type Diag-processor; - description "Processor type"; - } - } - - grouping DIAG-SLOT-DETAIL { - description "Slot detail information"; - - list node-detail { - description "Detail information for slot"; - uses DIAG-NODE; - } - - list spa-detail { - description "Detail information for spa"; - uses DIAG-SPA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper.yang deleted file mode 100644 index 96b2059..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-diag-oper.yang +++ /dev/null @@ -1,115 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-diag-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-asr9k-sc-diag-oper"; - - - prefix "asr9k-sc-diag-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-sc-diag-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-diag package operational data. - - This module contains definitions - for the following management objects: - diag: Diag admin operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container diag { - config false; - description "Diag admin operational data"; - - container racks { - description "Diag operational data for available racks"; - - list rack { - key "rack-name"; - description "Diag operational data for a particular rack"; - - container slots { - description - "Diag operational data for all available slots"; - - list slot { - key "slot-name"; - description - "Diag operational data for a particular slot"; - - container detail { - description "Slot detailed information"; - uses DIAG-SLOT-DETAIL; - } - - container instances { - description - "Diag operational data for all available - instances"; - - list instance { - key "instance-name"; - description - "Diag operational data for a particular - instance"; - - container detail { - description "Diag detailed information"; - uses DIAG-DETAIL; - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "Instance name"; - } - } - } - leaf slot-name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - - container summary { - description "Summary information"; - uses DIAG-SUMMARY; - } - leaf rack-name { - type int32; - description "Rack name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang deleted file mode 100644 index b472590..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang +++ /dev/null @@ -1,177 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-envmon-admin-oper { - prefix Cisco-IOS-XR-asr9k-sc-envmon-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-envmon-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-19" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ENVMON-POWER-INFO { - description "Power Info bag"; - leaf power-value { - type int32; - description "Current Power Value of the Unit"; - } - leaf power-max-value { - type int32; - description "Max Power Value of the Unit"; - } - leaf power-unit-multiplier { - type uint32; - description "Unit Multiplier of Power"; - } - leaf power-accuracy { - type uint32; - description "Accuracy of the Power Value"; - } - leaf power-measure-caliber { - type uint32; - description "Measure Caliber"; - } - leaf power-current-type { - type uint32; - description "Current Type of the Unit"; - } - leaf power-origin { - type uint32; - description "The Power Origin of the Unit"; - } - leaf power-admin-state { - type uint32; - description "Admin Status of the Unit"; - } - leaf power-oper-state { - type uint32; - description "Oper Status of the Unit"; - } - leaf power-state-enter-reason { - type string { - length "0..50"; - } - description "Enter Reason for the State"; - } - } - - grouping ENVMON-SENSOR-INFO { - description "ENVMON sensor Info"; - leaf field-validity-bitmap { - type uint32; - description "Sensor valid bitmap"; - } - leaf device-description { - type string { - length "0..50"; - } - description "Device Name"; - } - leaf units { - type string { - length "0..50"; - } - description "Units of variable being read"; - } - leaf device-id { - type uint32; - description "Identifier for this device"; - } - leaf value { - type uint32; - description "Current reading of sensor"; - } - leaf alarm-type { - type uint32; - description "Indicates threshold violation"; - } - leaf data-type { - type uint32; - description "Sensor data type enums"; - } - leaf scale { - type uint32; - description "Sensor scale enums"; - } - leaf precision { - type uint32; - description "Sensor precision range"; - } - leaf status { - type uint32; - description "Sensor operation state enums"; - } - leaf age-time-stamp { - type uint32; - description - "Age of the sensor value; set to the current time - if directly access the value from sensor"; - } - leaf update-rate { - type uint32; - description - "Sensor value update rate;set to 0 if sensor - value is updated and evaluated immediately"; - } - } - - grouping ENVMON-THRESHOLD-INFO { - description "ENVMON threshold Info"; - leaf threshold-severity { - type uint32; - description "Indicates minor, major, critical severities"; - } - leaf threshold-relation { - type uint32; - description - "Indicates relation between sensor value and - threshold"; - } - leaf threshold-value { - type uint32; - description "Value of the configured threshold"; - } - leaf threshold-evaluation { - type boolean; - description - "Indicates the result of the most recent - evaluation of the thresholD"; - } - leaf threshold-notification-enabled { - type boolean; - description - "Indicates whether or not a notification should - result, in case of threshold violation"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang deleted file mode 100644 index be42414..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang +++ /dev/null @@ -1,180 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-envmon-admin-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper"; - - - prefix "asr9k-sc-envmon-admin-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1 { - revision-date 2017-01-19; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-envmon package - admin-plane operational data. - - This module contains definitions - for the following management objects: - environmental-monitoring: Admin Environmental Monitoring - Operational data space - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-19" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container environmental-monitoring { - config false; - description - "Admin Environmental Monitoring Operational data - space"; - - container racks { - description "Table of racks"; - - list rack { - key "rack"; - description "Number"; - - container slots { - description "Table of slots"; - - list slot { - key "slot"; - description "Name"; - - container modules { - description "Table of modules"; - - list module { - key "module"; - description "Name"; - - container sensor-types { - description "Table of sensor types"; - - list sensor-type { - key "type"; - description "Type of sensor"; - - container sensor-names { - description "Table of sensors"; - - list sensor-name { - key "name"; - description "Name of sensor"; - - container thresholds { - description "The threshold information"; - - list threshold { - key "type"; - description "Types of thresholds"; - - container value-detailed { - description - "Detailed sensor threshold - information"; - uses ENVMON-THRESHOLD-INFO; - } - leaf trap { - type boolean; - description - "Threshold trap enable flag - true-ENABLE, false-DISABLE"; - } - leaf value-brief { - type int32; - description - "Threshold value for the sensor"; - } - leaf type { - type xr:Cisco-ios-xr-string; - description "Threshold type"; - } - } - } - - container value-detailed { - description - "Detailed sensor information including - the sensor value"; - uses ENVMON-SENSOR-INFO; - } - leaf value-brief { - type int32; - description "The sensor value"; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Sensor name"; - } - } - } - leaf type { - type xr:Cisco-ios-xr-string; - description "Sensor type"; - } - } - } - - container power { - description "Module Power Draw"; - - container power-bag { - description "Detailed power bag information"; - uses ENVMON-POWER-INFO; - } - } - leaf module { - type xr:Cisco-ios-xr-string; - description "Module name"; - } - } - } - leaf slot { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - leaf rack { - type int32; - description "Rack number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang deleted file mode 100644 index 1d23b77..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang +++ /dev/null @@ -1,177 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-envmon-oper { - prefix Cisco-IOS-XR-asr9k-sc-envmon-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-envmon package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-19" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ENVMON-SENSOR-INFO { - description "ENVMON sensor Info"; - leaf field-validity-bitmap { - type uint32; - description "Sensor valid bitmap"; - } - leaf device-description { - type string { - length "0..50"; - } - description "Device Name"; - } - leaf units { - type string { - length "0..50"; - } - description "Units of variable being read"; - } - leaf device-id { - type uint32; - description "Identifier for this device"; - } - leaf value { - type uint32; - description "Current reading of sensor"; - } - leaf alarm-type { - type uint32; - description "Indicates threshold violation"; - } - leaf data-type { - type uint32; - description "Sensor data type enums"; - } - leaf scale { - type uint32; - description "Sensor scale enums"; - } - leaf precision { - type uint32; - description "Sensor precision range"; - } - leaf status { - type uint32; - description "Sensor operation state enums"; - } - leaf age-time-stamp { - type uint32; - description - "Age of the sensor value; set to the current time - if directly access the value from sensor"; - } - leaf update-rate { - type uint32; - description - "Sensor value update rate;set to 0 if sensor - value is updated and evaluated immediately"; - } - } - - grouping ENVMON-THRESHOLD-INFO { - description "ENVMON threshold Info"; - leaf threshold-severity { - type uint32; - description "Indicates minor, major, critical severities"; - } - leaf threshold-relation { - type uint32; - description - "Indicates relation between sensor value and - threshold"; - } - leaf threshold-value { - type uint32; - description "Value of the configured threshold"; - } - leaf threshold-evaluation { - type boolean; - description - "Indicates the result of the most recent - evaluation of the thresholD"; - } - leaf threshold-notification-enabled { - type boolean; - description - "Indicates whether or not a notification should - result, in case of threshold violation"; - } - } - - grouping ENVMON-POWER-INFO { - description "Power Info bag"; - leaf power-value { - type int32; - description "Current Power Value of the Unit"; - } - leaf power-max-value { - type int32; - description "Max Power Value of the Unit"; - } - leaf power-unit-multiplier { - type uint32; - description "Unit Multiplier of Power"; - } - leaf power-accuracy { - type uint32; - description "Accuracy of the Power Value"; - } - leaf power-measure-caliber { - type uint32; - description "Measure Caliber"; - } - leaf power-current-type { - type uint32; - description "Current Type of the Unit"; - } - leaf power-origin { - type uint32; - description "The Power Origin of the Unit"; - } - leaf power-admin-state { - type uint32; - description "Admin Status of the Unit"; - } - leaf power-oper-state { - type uint32; - description "Oper Status of the Unit"; - } - leaf power-state-enter-reason { - type string { - length "0..50"; - } - description "Enter Reason for the State"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang deleted file mode 100644 index 5530d43..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang +++ /dev/null @@ -1,177 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-envmon-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-sc-envmon-oper"; - - - prefix "asr9k-sc-envmon-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1 { - revision-date 2017-01-19; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-envmon package operational data. - - This module contains definitions - for the following management objects: - environmental-monitoring: Environmental Monitoring Operational - data space - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-19" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container environmental-monitoring { - config false; - description "Environmental Monitoring Operational data space"; - - container racks { - description "Table of racks"; - - list rack { - key "rack"; - description "Number"; - - container slots { - description "Table of slots"; - - list slot { - key "slot"; - description "Name"; - - container modules { - description "Table of modules"; - - list module { - key "module"; - description "Name"; - - container power { - description "Module Power Draw"; - - container power-bag { - description "Detailed power bag information"; - uses ENVMON-POWER-INFO; - } - } - - container sensor-types { - description "Table of sensor types"; - - list sensor-type { - key "type"; - description "Type of sensor"; - - container sensor-names { - description "Table of sensors"; - - list sensor-name { - key "name"; - description "Name of sensor"; - - container thresholds { - description "The threshold information"; - - list threshold { - key "type"; - description "Types of thresholds"; - - container value-detailed { - description - "Detailed sensor threshold - information"; - uses ENVMON-THRESHOLD-INFO; - } - leaf trap { - type boolean; - description - "Threshold trap enable flag - true-ENABLE, false-DISABLE"; - } - leaf value-brief { - type int32; - description - "Threshold value for the sensor"; - } - leaf type { - type xr:Cisco-ios-xr-string; - description "Threshold type"; - } - } - } - - container value-detailed { - description - "Detailed sensor information including - the sensor value"; - uses ENVMON-SENSOR-INFO; - } - leaf value-brief { - type int32; - description "The sensor value"; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Sensor name"; - } - } - } - leaf type { - type xr:Cisco-ios-xr-string; - description "Sensor type"; - } - } - } - leaf module { - type xr:Cisco-ios-xr-string; - description "Module name"; - } - } - } - leaf slot { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - leaf rack { - type int32; - description "Rack number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang deleted file mode 100644 index 26dd4df..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang +++ /dev/null @@ -1,364 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper { - prefix Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-invmgr-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-04" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Card-reset-reason { - type enumeration { - enum reset-unknown { - value 1; - description "reset unknown"; - } - enum power-up { - value 2; - description "power up"; - } - enum parity-error { - value 3; - description "parity error"; - } - enum clear-config-reset { - value 4; - description "clear config reset"; - } - enum manual-reset { - value 5; - description "manual reset"; - } - enum watch-dog-timeout-reset { - value 6; - description "watch dog timeout reset"; - } - enum resource-overflow-reset { - value 7; - description "resource overflow reset"; - } - enum missing-task-reset { - value 8; - description "missing task reset"; - } - enum low-voltage-reset { - value 9; - description "low voltage reset"; - } - enum controller-reset { - value 10; - description "controller reset"; - } - enum system-reset { - value 11; - description "system reset"; - } - enum switchover-reset { - value 12; - description "switchover reset"; - } - enum upgrade-reset { - value 13; - description "upgrade reset"; - } - enum downgrade-reset { - value 14; - description "downgrade reset"; - } - enum cache-error-reset { - value 15; - description "cache error reset"; - } - enum device-driver-reset { - value 16; - description "device driver reset"; - } - enum software-exception-reset { - value 17; - description "software exception reset"; - } - enum restore-config-reset { - value 18; - description "restore config reset"; - } - enum abort-rev-reset { - value 19; - description "abort rev reset"; - } - enum burn-boot-reset { - value 20; - description "burn boot reset"; - } - enum standby-cd-healthier-reset { - value 21; - description "standby cd healthier reset"; - } - enum non-native-config-clear-reset { - value 22; - description "non native config clear reset"; - } - enum memory-protection-error-reset { - value 23; - description "memory protection error reset"; - } - enum card-reset-reason-max { - value 24; - description "card reset reason max"; - } - } - description "Card reset reason"; - } - - grouping INV-PWG-INFO { - description "Power supply group bag"; - leaf power-group-redundancy-mode { - type int32; - description "redundancy mode"; - } - leaf power-group-power-units { - type string; - description "power units"; - } - leaf power-group-available-current { - type int32; - description "available current"; - } - leaf power-group-drawn-current { - type int32; - description "drawn current"; - } - } - - grouping INV-TIMESPEC { - description "Inventory FRU Info Time Spec"; - leaf time-in-seconds { - type int32; - units "second"; - description "Time Value in Seconds"; - } - leaf time-in-nano-seconds { - type int32; - units "nanosecond"; - description "Time Value in Nano-seconds"; - } - } - - grouping INV-CARD-FRU-INFO { - description "card (FRU) operation state bag"; - - container last-operational-state-change { - description "last card oper change state"; - uses INV-TIMESPEC; - } - - container card-up-time { - description "card up time"; - uses INV-TIMESPEC; - } - leaf card-administrative-state { - type int32; - description "card admin state: shutdown or not"; - } - leaf power-administrative-state { - type int32; - description "power admin state: up or down"; - } - leaf card-operational-state { - type int32; - description "card operation state"; - } - leaf card-monitor-state { - type int32; - description - "card is monitored by a manager or left - unmonitored"; - } - leaf card-reset-reason { - type Card-reset-reason; - description "card reset reason enum"; - } - leaf power-current-measurement { - type int32; - description "power current: not implemented"; - } - leaf power-operational-state { - type int32; - description "Power operation state"; - } - } - - grouping INV-PHY-ENTITY-BASIC-INFO { - description - "Bag contains all the basic inventory information - for each entity"; - leaf description { - type string { - length "0..255"; - } - description - "describes in user-readable terms what the - entity in question does"; - } - leaf vendor-type { - type string { - length "0..255"; - } - description "maps to the vendor OID string"; - } - leaf name { - type string { - length "0..255"; - } - description "name string for the entity"; - } - leaf hardware-revision { - type string { - length "0..255"; - } - description "hw revision string"; - } - leaf firmware-revision { - type string { - length "0..255"; - } - description "firmware revision string"; - } - leaf software-revision { - type string { - length "0..255"; - } - description "software revision string"; - } - leaf chip-hardware-revision { - type string { - length "0..255"; - } - description "chip module hw revision string"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "serial number"; - } - leaf manufacturer-name { - type string { - length "0..255"; - } - description "manufacturer's name"; - } - leaf model-name { - type string { - length "0..255"; - } - description "model name"; - } - leaf asset-id-str { - type string { - length "0..255"; - } - description "asset Identification string"; - } - leaf asset-identification { - type int32; - description "asset Identification"; - } - leaf is-field-replaceable-unit { - type boolean; - description "1 if Field Replaceable Unit 0, if not"; - } - leaf manufacturer-asset-tags { - type int32; - description "Manufacture Asset Tags"; - } - leaf composite-class-code { - type int32; - description "Major&minor class of the entity"; - } - leaf memory-size { - type int32; - description - "Size of memory associated with the entity - where applicable"; - } - leaf environmental-monitor-path { - type string { - length "0..255"; - } - description "sysdb name of sensor in the envmon EDM"; - } - leaf alias { - type string { - length "0..255"; - } - description "useful for storing an entity alias "; - } - leaf group-flag { - type boolean; - description "indicates if this entity is group or not"; - } - leaf new-deviation-number { - type int32; - description "integer value for New Deviation Number 0x88"; - } - leaf physical-layer-interface-module-type { - type int32; - description - "integer value for plim type if applicable to - this entity"; - } - leaf unrecognized-fru { - type boolean; - description "1 if UnrecognizedFRU and 0 for recognizedFRU"; - } - leaf redundancystate { - type int32; - description - "integer value for Redundancy State if - applicable to this entity"; - } - leaf ceport { - type boolean; - description "1 if ce port found, 0 if not"; - } - leaf xr-scoped { - type boolean; - description "1 if xr scoped, 0 if not"; - } - leaf unique-id { - type int32; - description "Unique id for an entity"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang deleted file mode 100644 index f96125c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang +++ /dev/null @@ -1,277 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper"; - - - prefix "asr9k-sc-invmgr-admin-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1 { - revision-date 2017-01-04; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-invmgr package - admin-plane operational data. - - This module contains definitions - for the following management objects: - inventory: Inventory operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-04" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PORT-SLOT-TABLE { - description "Common node of module, card"; - - container port-slots { - description - "PortSlotTable contains all optics ports in a - SPA/PLIM."; - - list port-slot { - key "number"; - description "PortSlot number in the SPA/PLIM"; - - container port { - description "Port string"; - uses BASIC-ATTRIBUTES; - } - leaf number { - type int32; - description "portslot number"; - } - uses BASIC-ATTRIBUTES; - } - } - } - - grouping SENSOR-TABLE { - description "Common node of card, hw-component, module"; - - container sensors { - description - "ModuleSensorTable contains all sensors in a - Module."; - - list sensor { - key "number"; - description "Sensor number in the Module"; - leaf number { - type int32; - description "sensor number"; - } - uses BASIC-ATTRIBUTES; - } - } - } - - grouping BASIC-ATTRIBUTES { - description - "Common node of slot, card, sub-slot, module, - port-slot, port, hw-component, sensor"; - - container basic-attributes { - description "Attributes"; - - container fru-info { - description - "Field Replaceable Unit (FRU) inventory - information"; - uses INV-CARD-FRU-INFO; - } - - container basic-info { - description "Inventory information"; - uses INV-PHY-ENTITY-BASIC-INFO; - } - } - } - - grouping VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES { - description - "Common node of slot, card, sub-slot, module, - port-slot, port, hw-component, sensorCommon node - of rack, power-supply-shelf, fan-tray"; - - container basic-attributes { - description "Attributes"; - - container basic-info { - description "Inventory information"; - uses INV-PHY-ENTITY-BASIC-INFO; - } - } - } - - container inventory { - config false; - description "Inventory operational data"; - - container racks { - description "Table of racks"; - - list rack { - key "number"; - description "Rack number"; - - container power-supply-shelfs { - description "Table for rack power supply shelves "; - - list power-supply-shelf { - key "number"; - description "Power Supply Shelf number"; - leaf number { - type int32; - description "Power Shelf number"; - } - uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; - } - } - - container slots { - description "Slot table contains all slots in the rack"; - - list slot { - key "number"; - description "Slot number"; - - container cards { - description - "Card table contains all cards in the slot"; - - list card { - key "number"; - description "Card number"; - - container sub-slots { - description - "SubSlotTable contains all subslots in a - Slot"; - - list sub-slot { - key "number"; - description "SubSlot number"; - - container module { - description "Module string"; - uses PORT-SLOT-TABLE; - uses SENSOR-TABLE; - uses BASIC-ATTRIBUTES; - } - leaf number { - type int32; - description "subslot number"; - } - uses BASIC-ATTRIBUTES; - } - } - - container hw-components { - description - "HWComponent table contains all HW modules - within the card "; - - list hw-component { - key "number"; - description "HWComponent number"; - leaf number { - type int32; - description "node number"; - } - uses SENSOR-TABLE; - uses BASIC-ATTRIBUTES; - } - } - leaf number { - type int32; - description "card number"; - } - uses PORT-SLOT-TABLE; - uses SENSOR-TABLE; - uses BASIC-ATTRIBUTES; - } - } - leaf number { - type int32; - description "Slot number"; - } - uses BASIC-ATTRIBUTES; - } - } - - container fan-traies { - description "Table for rack fan trays"; - - list fan-tray { - key "number"; - description "Fan tray number"; - leaf number { - type int32; - description "Fan tray number"; - } - uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; - } - } - - container power-supply-zones { - description "Table for defining rack power supply zones "; - - list power-supply-zone { - key "number"; - description "Power Supply Zone number"; - - container power-supply-zone-attributes { - description "Power suppy zone attributes "; - - container power-supply-group-info { - description "Power supply group information"; - uses INV-PWG-INFO; - } - } - leaf number { - type int32; - description "Power Zone number"; - } - } - } - leaf number { - type int32; - description "Rack number"; - } - uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang deleted file mode 100644 index 0f7883f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang +++ /dev/null @@ -1,344 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-sc-invmgr-oper { - prefix Cisco-IOS-XR-asr9k-sc-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-04" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Card-reset-reason { - type enumeration { - enum reset-unknown { - value 1; - description "reset unknown"; - } - enum power-up { - value 2; - description "power up"; - } - enum parity-error { - value 3; - description "parity error"; - } - enum clear-config-reset { - value 4; - description "clear config reset"; - } - enum manual-reset { - value 5; - description "manual reset"; - } - enum watch-dog-timeout-reset { - value 6; - description "watch dog timeout reset"; - } - enum resource-overflow-reset { - value 7; - description "resource overflow reset"; - } - enum missing-task-reset { - value 8; - description "missing task reset"; - } - enum low-voltage-reset { - value 9; - description "low voltage reset"; - } - enum controller-reset { - value 10; - description "controller reset"; - } - enum system-reset { - value 11; - description "system reset"; - } - enum switchover-reset { - value 12; - description "switchover reset"; - } - enum upgrade-reset { - value 13; - description "upgrade reset"; - } - enum downgrade-reset { - value 14; - description "downgrade reset"; - } - enum cache-error-reset { - value 15; - description "cache error reset"; - } - enum device-driver-reset { - value 16; - description "device driver reset"; - } - enum software-exception-reset { - value 17; - description "software exception reset"; - } - enum restore-config-reset { - value 18; - description "restore config reset"; - } - enum abort-rev-reset { - value 19; - description "abort rev reset"; - } - enum burn-boot-reset { - value 20; - description "burn boot reset"; - } - enum standby-cd-healthier-reset { - value 21; - description "standby cd healthier reset"; - } - enum non-native-config-clear-reset { - value 22; - description "non native config clear reset"; - } - enum memory-protection-error-reset { - value 23; - description "memory protection error reset"; - } - enum card-reset-reason-max { - value 24; - description "card reset reason max"; - } - } - description "Card reset reason"; - } - - grouping INV-TIMESPEC { - description "Inventory FRU Info Time Spec"; - leaf time-in-seconds { - type int32; - units "second"; - description "Time Value in Seconds"; - } - leaf time-in-nano-seconds { - type int32; - units "nanosecond"; - description "Time Value in Nano-seconds"; - } - } - - grouping INV-CARD-FRU-INFO { - description "card (FRU) operation state bag"; - - container last-operational-state-change { - description "last card oper change state"; - uses INV-TIMESPEC; - } - - container card-up-time { - description "card up time"; - uses INV-TIMESPEC; - } - leaf card-administrative-state { - type int32; - description "card admin state: shutdown or not"; - } - leaf power-administrative-state { - type int32; - description "power admin state: up or down"; - } - leaf card-operational-state { - type int32; - description "card operation state"; - } - leaf card-monitor-state { - type int32; - description - "card is monitored by a manager or left - unmonitored"; - } - leaf card-reset-reason { - type Card-reset-reason; - description "card reset reason enum"; - } - leaf power-current-measurement { - type int32; - description "power current: not implemented"; - } - leaf power-operational-state { - type int32; - description "Power operation state"; - } - } - - grouping INV-PHY-ENTITY-BASIC-INFO { - description - "Bag contains all the basic inventory information - for each entity"; - leaf description { - type string { - length "0..255"; - } - description - "describes in user-readable terms what the - entity in question does"; - } - leaf vendor-type { - type string { - length "0..255"; - } - description "maps to the vendor OID string"; - } - leaf name { - type string { - length "0..255"; - } - description "name string for the entity"; - } - leaf hardware-revision { - type string { - length "0..255"; - } - description "hw revision string"; - } - leaf firmware-revision { - type string { - length "0..255"; - } - description "firmware revision string"; - } - leaf software-revision { - type string { - length "0..255"; - } - description "software revision string"; - } - leaf chip-hardware-revision { - type string { - length "0..255"; - } - description "chip module hw revision string"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "serial number"; - } - leaf manufacturer-name { - type string { - length "0..255"; - } - description "manufacturer's name"; - } - leaf model-name { - type string { - length "0..255"; - } - description "model name"; - } - leaf asset-id-str { - type string { - length "0..255"; - } - description "asset Identification string"; - } - leaf asset-identification { - type int32; - description "asset Identification"; - } - leaf is-field-replaceable-unit { - type boolean; - description "1 if Field Replaceable Unit 0, if not"; - } - leaf manufacturer-asset-tags { - type int32; - description "Manufacture Asset Tags"; - } - leaf composite-class-code { - type int32; - description "Major&minor class of the entity"; - } - leaf memory-size { - type int32; - description - "Size of memory associated with the entity - where applicable"; - } - leaf environmental-monitor-path { - type string { - length "0..255"; - } - description "sysdb name of sensor in the envmon EDM"; - } - leaf alias { - type string { - length "0..255"; - } - description "useful for storing an entity alias "; - } - leaf group-flag { - type boolean; - description "indicates if this entity is group or not"; - } - leaf new-deviation-number { - type int32; - description "integer value for New Deviation Number 0x88"; - } - leaf physical-layer-interface-module-type { - type int32; - description - "integer value for plim type if applicable to - this entity"; - } - leaf unrecognized-fru { - type boolean; - description "1 if UnrecognizedFRU and 0 for recognizedFRU"; - } - leaf redundancystate { - type int32; - description - "integer value for Redundancy State if - applicable to this entity"; - } - leaf ceport { - type boolean; - description "1 if ce port found, 0 if not"; - } - leaf xr-scoped { - type boolean; - description "1 if xr scoped, 0 if not"; - } - leaf unique-id { - type int32; - description "Unique id for an entity"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang deleted file mode 100644 index 8480619..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang +++ /dev/null @@ -1,209 +0,0 @@ -module Cisco-IOS-XR-asr9k-sc-invmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-asr9k-sc-invmgr-oper"; - - - prefix "asr9k-sc-invmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1 { - revision-date 2017-01-04; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-sc-invmgr package operational data. - - This module contains definitions - for the following management objects: - inventory: Logical Router Inventory operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-04" { - description - "IOS-XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PORT-SLOT-TABLE { - description "Common node of module, card"; - - container port-slots { - description - "PortSlotTable contains all optics ports in a - SPA/PLIM."; - - list port-slot { - key "number"; - description "PortSlot number in the SPA/PLIM"; - - container port { - description "Port string"; - uses BASIC-ATTRIBUTES; - } - leaf number { - type int32; - description "portslot number"; - } - uses BASIC-ATTRIBUTES; - } - } - } - - grouping SENSOR-TABLE { - description "Common node of card, hw-component, module"; - - container sensors { - description - "ModuleSensorTable contains all sensors in a - Module."; - - list sensor { - key "number"; - description "Sensor number in the Module"; - leaf number { - type int32; - description "sensor number"; - } - uses BASIC-ATTRIBUTES; - } - } - } - - grouping BASIC-ATTRIBUTES { - description - "Common node of slot, card, sub-slot, module, - port-slot, port, hw-component, sensor"; - - container basic-attributes { - description "Attributes"; - - container basic-info { - description "Inventory information"; - uses INV-PHY-ENTITY-BASIC-INFO; - } - - container fru-info { - description - "Field Replaceable Unit (FRU) inventory - information"; - uses INV-CARD-FRU-INFO; - } - } - } - - container inventory { - config false; - description "Logical Router Inventory operational data"; - - container racks { - description "Table of racks"; - - list rack { - key "number"; - description "Rack number"; - - container slots { - description "Slot table contains all slots in the rack"; - - list slot { - key "number"; - description "Slot number"; - - container cards { - description - "Card table contains all cards in the slot"; - - list card { - key "number"; - description "Card number"; - - container sub-slots { - description - "SubSlotTable contains all subslots in a - Slot"; - - list sub-slot { - key "number"; - description "SubSlot number"; - - container module { - description "Module string"; - uses SENSOR-TABLE; - uses PORT-SLOT-TABLE; - uses BASIC-ATTRIBUTES; - } - leaf number { - type int32; - description "subslot number"; - } - uses BASIC-ATTRIBUTES; - } - } - - container hw-components { - description - "HWComponent table contains all HW modules - within the card "; - - list hw-component { - key "number"; - description "HWComponent number"; - leaf number { - type int32; - description "node number"; - } - uses SENSOR-TABLE; - uses BASIC-ATTRIBUTES; - } - } - leaf number { - type int32; - description "card number"; - } - uses SENSOR-TABLE; - uses PORT-SLOT-TABLE; - uses BASIC-ATTRIBUTES; - } - } - leaf number { - type int32; - description "Slot number"; - } - uses BASIC-ATTRIBUTES; - } - } - leaf number { - type int32; - description "Rack number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang deleted file mode 100644 index 465ecf1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang +++ /dev/null @@ -1,933 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-xbar-oper-sub1 { - - belongs-to Cisco-IOS-XR-asr9k-xbar-oper { - prefix Cisco-IOS-XR-asr9k-xbar-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-xbar package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping XBAR-EDM-SM15-PE-CC-STATS { - description "XBAR EDM SM15 PE CC STATS"; - leaf in-pkt-cnt { - type uint64; - description "IN PKT CNT"; - } - leaf out-path0-pkt-cnt { - type uint64; - description "OUT PATH0 PKT CNT"; - } - leaf out-path1-pkt-cnt { - type uint64; - description "OUT PATH1 PKT CNT"; - } - leaf xbar-ecc-drop-pkt-cnt { - type uint64; - description "XBAR ECC DROP PKT CNT"; - } - leaf mem0-drop-pkt-cnt { - type uint64; - description "MEM0 DROP PKT CNT"; - } - leaf mem1-drop-pkt-cnt { - type uint64; - description "MEM1 DROP PKT CNT"; - } - leaf congn-pkt-cnt { - type uint64; - description "CONGN PKT CNT"; - } - leaf xbar-ecc-single-err-cnt { - type uint64; - description "XBAR ECC SINGLE ERR CNT"; - } - leaf xbar-ecc-double-err-cnt { - type uint64; - description "XBAR ECC DOUBLE ERR CNT"; - } - leaf mem0-ecc-single-err-cnt { - type uint64; - description "MEM0 ECC SINGLE ERR CNT"; - } - leaf mem0-ecc-double-err-cnt { - type uint64; - description "MEM0 ECC DOUBLE ERR CNT"; - } - leaf mem1-ecc-single-err-cnt { - type uint64; - description "MEM1 ECC SINGLE ERR CNT"; - } - leaf mem1-ecc-double-err-cnt { - type uint64; - description "MEM1 ECC DOUBLE ERR CNT"; - } - leaf fc-cc-0-1-trans-cnt { - type uint64; - description "FC CC 0 1 TRANS CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - } - - grouping XBAR-EDM-SM15-PE-MC-STATS { - description "XBAR EDM SM15 PE MC STATS"; - leaf in-pkt-mc-cnt { - type uint64; - description "IN PKT MC CNT"; - } - leaf in-full-line-mc-cnt { - type uint64; - description "IN FULL LINE MC CNT"; - } - leaf pkt-trunc-eop-mc-cnt { - type uint64; - description "PKT TRUNC EOP MC CNT"; - } - leaf pkt-sop-drop-mc-cnt { - type uint64; - description "PKT SOP DROP MC CNT"; - } - leaf pkt-ecc-err-drop-mc-cnt { - type uint64; - description "PKT ECC ERR DROP MC CNT"; - } - leaf pkt-ecc-err-trunc-cnt-mc-cnt { - type uint64; - description "PKT ECC ERR TRUNC CNT MC CNT"; - } - leaf ecc-1bit-err-mc0-cnt { - type uint64; - description "ECC 1BIT ERR MC0 CNT"; - } - leaf ecc-1bit-err-mc1-cnt { - type uint64; - description "ECC 1BIT ERR MC1 CNT"; - } - leaf ecc-1bit-err-mc2-cnt { - type uint64; - description "ECC 1BIT ERR MC2 CNT"; - } - leaf ecc-2bit-err-mc0-cnt { - type uint64; - description "ECC 2BIT ERR MC0 CNT"; - } - leaf ecc-2bit-err-mc1-cnt { - type uint64; - description "ECC 2BIT ERR MC1 CNT"; - } - leaf ecc-2bit-err-mc2-cnt { - type uint64; - description "ECC 2BIT ERR MC2 CNT"; - } - leaf out-pkt-mc-cnt { - type uint64; - description "OUT PKT MC CNT"; - } - leaf fe-mc-sop-eop-pack-cnt { - type uint64; - description "FE MC SOP EOP PACK CNT"; - } - leaf fc-mc-0-1-trans-cnt { - type uint64; - description "FC MC 0 1 TRANS CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - } - - grouping XBAR-EDM-SM15-PE-UC-STATS { - description "XBAR EDM SM15 PE UC STATS"; - leaf in-pkt-uc0-cnt { - type uint64; - description "IN PKT UC0 CNT"; - } - leaf in-pkt-uc1-cnt { - type uint64; - description "IN PKT UC1 CNT"; - } - leaf in-pkt-uc2-cnt { - type uint64; - description "IN PKT UC2 CNT"; - } - leaf in-full-line-uc0-cnt { - type uint64; - description "IN FULL LINE UC0 CNT"; - } - leaf in-full-line-uc1-cnt { - type uint64; - description "IN FULL LINE UC1 CNT"; - } - leaf in-full-line-uc2-cnt { - type uint64; - description "IN FULL LINE UC2 CNT"; - } - leaf pkt-trunc-eop-uc0-cnt { - type uint64; - description "PKT TRUNC EOP UC0 CNT"; - } - leaf pkt-trunc-eop-uc1-cnt { - type uint64; - description "PKT TRUNC EOP UC1 CNT"; - } - leaf pkt-trunc-eop-uc2-cnt { - type uint64; - description "PKT TRUNC EOP UC2 CNT"; - } - leaf pkt-sop-drop-uc0-cnt { - type uint64; - description "PKT SOP DROP UC0 CNT"; - } - leaf pkt-sop-drop-uc1-cnt { - type uint64; - description "PKT SOP DROP UC1 CNT"; - } - leaf pkt-sop-drop-uc2-cnt { - type uint64; - description "PKT SOP DROP UC2 CNT"; - } - leaf pkt-ecc-err-drop-uc-cnt { - type uint64; - description "PKT ECC ERR DROP UC CNT"; - } - leaf pkt-ecc-trunc-cnt-uc-cnt { - type uint64; - description "PKT ECC TRUNC CNT UC CNT"; - } - leaf ecc-1bit-err-uc0-0-cnt { - type uint64; - description "ECC 1BIT ERR UC0 0 CNT"; - } - leaf ecc-1bit-err-uc0-1-cnt { - type uint64; - description "ECC 1BIT ERR UC0 1 CNT"; - } - leaf ecc-1bit-err-uc1-0-cnt { - type uint64; - description "ECC 1BIT ERR UC1 0 CNT"; - } - leaf ecc-1bit-err-uc1-1-cnt { - type uint64; - description "ECC 1BIT ERR UC1 1 CNT"; - } - leaf ecc-1bit-err-uc2-0-cnt { - type uint64; - description "ECC 1BIT ERR UC2 0 CNT"; - } - leaf ecc-1bit-err-uc2-1-cnt { - type uint64; - description "ECC 1BIT ERR UC2 1 CNT"; - } - leaf ecc-2bit-err-uc0-0-cnt { - type uint64; - description "ECC 2BIT ERR UC0 0 CNT"; - } - leaf ecc-2bit-err-uc0-1-cnt { - type uint64; - description "ECC 2BIT ERR UC0 1 CNT"; - } - leaf ecc-2bit-err-uc1-0-cnt { - type uint64; - description "ECC 2BIT ERR UC1 0 CNT"; - } - leaf ecc-2bit-err-uc1-1-cnt { - type uint64; - description "ECC 2BIT ERR UC1 1 CNT"; - } - leaf ecc-2bit-err-uc2-0-cnt { - type uint64; - description "ECC 2BIT ERR UC2 0 CNT"; - } - leaf ecc-2bit-err-uc2-1-cnt { - type uint64; - description "ECC 2BIT ERR UC2 1 CNT"; - } - leaf out-pkt-uc-cnt { - type uint64; - description "OUT PKT UC CNT"; - } - leaf fe-uc-sop-eop-pack-cnt { - type uint64; - description "FE UC SOP EOP PACK CNT"; - } - leaf fc-uc-0-1-trans-cnt { - type uint64; - description "FC UC 0 1 TRANS CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - } - - grouping XBAR-EDM-SM15-PI-CC-STATS { - description "XBAR EDM SM15 PI CC STATS"; - leaf in0-ecc-serr-cnt { - type uint64; - description "IN0 ECC SERR CNT"; - } - leaf in0-ecc-derr-cnt { - type uint64; - description "IN0 ECC DERR CNT"; - } - leaf in1-ecc-serr-cnt { - type uint64; - description "IN1 ECC SERR CNT"; - } - leaf in1-ecc-derr-cnt { - type uint64; - description "IN1 ECC DERR CNT"; - } - leaf data-mem-ecc-serr-cnt { - type uint64; - description "DATA MEM ECC SERR CNT"; - } - leaf data-mem-ecc-derr-cnt { - type uint64; - description "DATA MEM ECC DERR CNT"; - } - leaf data-mem-ovf0-cnt { - type uint64; - description "DATA MEM OVF0 CNT"; - } - leaf data-mem-ovf1-cnt { - type uint64; - description "DATA MEM OVF1 CNT"; - } - leaf fpoe-mem-ecc-serr-cnt { - type uint64; - description "FPOE MEM ECC SERR CNT"; - } - leaf fpoe-mem-ecc-derr-cnt { - type uint64; - description "FPOE MEM ECC DERR CNT"; - } - leaf null-poe-cnt { - type uint64; - description "NULL POE CNT"; - } - leaf shut-ack-cnt { - type uint64; - description "SHUT ACK CNT"; - } - leaf in0-fnc-err-cnt { - type uint64; - description "IN0 FNC ERR CNT"; - } - leaf in1-fnc-err-cnt { - type uint64; - description "IN1 FNC ERR CNT"; - } - leaf in0-drop-cnt { - type uint64; - description "IN0 DROP CNT"; - } - leaf in1-drop-cnt { - type uint64; - description "IN1 DROP CNT"; - } - leaf in0-cong-cnt { - type uint64; - description "IN0 CONG CNT"; - } - leaf in1-cong-cnt { - type uint64; - description "IN1 CONG CNT"; - } - leaf in0-shut-cnt { - type uint64; - description "IN0 SHUT CNT"; - } - leaf in1-shut-cnt { - type uint64; - description "IN1 SHUT CNT"; - } - leaf tail-drop-msg-cnt { - type uint64; - description "TAIL DROP MSG CNT"; - } - leaf in0-pkt-cnt { - type uint64; - description "IN0 PKT CNT"; - } - leaf in1-pkt-cnt { - type uint64; - description "IN1 PKT CNT"; - } - leaf dmem-rd-cnt { - type uint64; - description "DMEM RD CNT"; - } - leaf in-dmem0-cnt { - type uint64; - description "IN DMEM0 CNT"; - } - leaf in-dmem1-cnt { - type uint64; - description "IN DMEM1 CNT"; - } - leaf out-pkt-cnt { - type uint64; - description "OUT PKT CNT"; - } - leaf stop-thrsh-hit-cnt { - type uint64; - description "STOP THRSH HIT CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - } - - grouping XBAR-EDM-SM15-PI-MC-STATS { - description "XBAR EDM SM15 PI MC STATS"; - leaf pkt-rcv-cnt { - type uint64; - description "PKT RCV CNT"; - } - leaf pkt-seq-err-cnt { - type uint64; - description "PKT SEQ ERR CNT"; - } - leaf in-coming-pkt-err-cnt { - type uint64; - description "INCOMING PKT ERR CNT"; - } - leaf min-pkt-len-err-cnt { - type uint64; - description "MIN PKT LEN ERR CNT"; - } - leaf max-pkt-len-err-cnt { - type uint64; - description "MAX PKT LEN ERR CNT"; - } - leaf line-err-drp-pkt { - type uint64; - description "LINE ERR DRP PKT"; - } - leaf pkt-crc-err-cnt { - type uint64; - description "PKT CRC ERR CNT"; - } - leaf pkt-cfh-crc-err-cnt { - type uint64; - description "PKT CFH CRC ERR CNT"; - } - leaf line-s-written-in-mem { - type uint64; - description "LINES WRITTEN IN MEM"; - } - leaf tail-drp-pkt-cnt { - type uint64; - description "TAIL DRP PKT CNT"; - } - leaf data-mem0-ecc-1bit-err-cnt { - type uint64; - description "DATA MEM0 ECC 1BIT ERR CNT"; - } - leaf data-mem1-ecc-1bit-err-cnt { - type uint64; - description "DATA MEM1 ECC 1BIT ERR CNT"; - } - leaf data-mem2-ecc-1bit-err-cnt { - type uint64; - description "DATA MEM2 ECC 1BIT ERR CNT"; - } - leaf data-mem0-ecc-2bit-err-cnt { - type uint64; - description "DATA MEM0 ECC 2BIT ERR CNT"; - } - leaf data-mem1-ecc-2bit-err-cnt { - type uint64; - description "DATA MEM1 ECC 2BIT ERR CNT"; - } - leaf data-mem2-ecc-2bit-err-cnt { - type uint64; - description "DATA MEM2 ECC 2BIT ERR CNT"; - } - leaf diag-pkt-cnt { - type uint64; - description "DIAG PKT CNT"; - } - leaf pkt-sent-to-disabled-port { - type uint64; - description "PKT SENT TO DISABLED PORT"; - } - leaf pkt-fpoe-match-hit-cnt { - type uint64; - description "PKT FPOE MATCH HIT CNT"; - } - leaf pkt-null-poe-sent-cnt { - type uint64; - description "PKT NULL POE SENT CNT"; - } - leaf pkt-fpoe-addr-rng-hit-cnt { - type uint64; - description "PKT FPOE ADDR RNG HIT CNT"; - } - leaf di-hdr-len-err-pkt-cnt { - type uint64; - description "DI HDR LEN ERR PKT CNT"; - } - leaf di-err-pkt-cnt { - type uint64; - description "DI ERR PKT CNT"; - } - leaf fpoe-mem-ecc-1bit-err-cnt { - type uint64; - description "FPOE MEM ECC 1BIT ERR CNT"; - } - leaf fpoe-mem-ecc-2bit-err-cnt { - type uint64; - description "FPOE MEM ECC 2BIT ERR CNT"; - } - leaf pkts-sent-to-mx-cnt { - type uint64; - description "PKTS SENT TO MX CNT"; - } - leaf cpp-head-drop-pkt-from-ma-cnt { - type uint64; - description "CPP HEAD DROP PKT FROM MA CNT"; - } - leaf tr-head-drop-pkt-from-ma-cnt { - type uint64; - description "TR HEAD DROP PKT FROM MA CNT"; - } - leaf tr-pkt-sent-to-mx { - type uint64; - description "TR PKT SENT TO MX"; - } - leaf stop-thrsh-hit-cnt { - type uint64; - description "STOP THRSH HIT CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - leaf crc-stomp-pkt-cnt { - type uint64; - description "CRC STOMP PKT CNT"; - } - } - - grouping XBAR-EDM-SM15-PI-UC-STATS { - description "XBAR EDM SM15 PI UC STATS"; - leaf pkt-rcv-cnt { - type uint64; - description "PKT RCV CNT"; - } - leaf pkt-seq-err-cnt { - type uint64; - description "PKT SEQ ERR CNT"; - } - leaf in-coming-pkt-err-cnt { - type uint64; - description "INCOMING PKT ERR CNT"; - } - leaf min-pkt-len-err-cnt { - type uint64; - description "MIN PKT LEN ERR CNT"; - } - leaf max-pkt-len-err-cnt { - type uint64; - description "MAX PKT LEN ERR CNT"; - } - leaf line-err-drp-pkt { - type uint64; - description "LINE ERR DRP PKT"; - } - leaf pkt-crc-err-cnt { - type uint64; - description "PKT CRC ERR CNT"; - } - leaf pkt-cfh-crc-err-cnt { - type uint64; - description "PKT CFH CRC ERR CNT"; - } - leaf line-s-written-in-mem0 { - type uint64; - description "LINES WRITTEN IN MEM0"; - } - leaf line-s-written-in-mem1 { - type uint64; - description "LINES WRITTEN IN MEM1"; - } - leaf line-s-written-in-mem2 { - type uint64; - description "LINES WRITTEN IN MEM2"; - } - leaf tail-drp-pkt-cnt { - type uint64; - description "TAIL DRP PKT CNT"; - } - leaf uc0-data-mem-ecc-1bit-err-cnt { - type uint64; - description "UC0 DATA MEM ECC 1BIT ERR CNT"; - } - leaf uc1-data-mem-ecc-1bit-err-cnt { - type uint64; - description "UC1 DATA MEM ECC 1BIT ERR CNT"; - } - leaf uc2-data-mem-ecc-1bit-err-cnt { - type uint64; - description "UC2 DATA MEM ECC 1BIT ERR CNT"; - } - leaf uc0-data-mem-ecc-2bit-err-cnt { - type uint64; - description "UC0 DATA MEM ECC 2BIT ERR CNT"; - } - leaf uc1-data-mem-ecc-2bit-err-cnt { - type uint64; - description "UC1 DATA MEM ECC 2BIT ERR CNT"; - } - leaf uc2-data-mem-ecc-2bit-err-cnt { - type uint64; - description "UC2 DATA MEM ECC 2BIT ERR CNT"; - } - leaf diag-pkt-cnt { - type uint64; - description "DIAG PKT CNT"; - } - leaf pkt-sent-to-disabled-port-cnt { - type uint64; - description "PKT SENT TO DISABLED PORT CNT"; - } - leaf pkt-null-poe-sent-ua0-cnt { - type uint64; - description "PKT NULL POE SENT UA0 CNT"; - } - leaf pkt-null-poe-sent-ua1-cnt { - type uint64; - description "PKT NULL POE SENT UA1 CNT"; - } - leaf pkt-null-poe-sent-ua2-cnt { - type uint64; - description "PKT NULL POE SENT UA2 CNT"; - } - leaf pkt-fpoe-addr-rng-hit-cnt { - type uint64; - description "PKT FPOE ADDR RNG HIT CNT"; - } - leaf fpoe-mem-ecc-1bit-err-cnt { - type uint64; - description "FPOE MEM ECC 1BIT ERR CNT"; - } - leaf fpoe-mem-ecc-2bit-err-cnt { - type uint64; - description "FPOE MEM ECC 2BIT ERR CNT"; - } - leaf pkts-sent-to-ux0-cnt { - type uint64; - description "PKTS SENT TO UX0 CNT"; - } - leaf pkts-sent-to-ux1-cnt { - type uint64; - description "PKTS SENT TO UX1 CNT"; - } - leaf pkts-sent-to-ux2-cnt { - type uint64; - description "PKTS SENT TO UX2 CNT"; - } - leaf cpp-head-drop-pkt-cnt { - type uint64; - description "CPP HEAD DROP PKT CNT"; - } - leaf tr-head-drop-pkt-cnt { - type uint64; - description "TR HEAD DROP PKT CNT"; - } - leaf tr-pkt-sent-to-ux { - type uint64; - description "TR PKT SENT TO UX"; - } - leaf stop-thrsh-hit-cnt { - type uint64; - description "STOP THRSH HIT CNT"; - } - leaf rate-cnt { - type uint64; - description "RATE CNT"; - } - leaf calc-rate { - type uint64; - description "calc rate"; - } - leaf crc-stomp-pkt-cnt { - type uint64; - description "CRC STOMP PKT CNT"; - } - } - - grouping XBAR-EDM-SM15-PE-STATS { - description "XBAR EDM SM15 PE STATS"; - leaf total-rate1-cnt { - type uint64; - description "TOTAL RATE1 CNT"; - } - leaf total-rate2-cnt { - type uint64; - description "TOTAL RATE2 CNT"; - } - leaf total-rate3-cnt { - type uint64; - description "TOTAL RATE3 CNT"; - } - leaf total-calc-rate { - type uint64; - description "total calc rate"; - } - leaf mc2uc-preempt-cnt { - type uint64; - description "MC2UC PREEMPT CNT"; - } - } - - grouping XBAR-EDM-SM15-PI-STATS { - description "XBAR EDM SM15 PI STATS"; - leaf total-rate1-cnt { - type uint64; - description "TOTAL RATE1 CNT"; - } - leaf total-rate2-cnt { - type uint64; - description "TOTAL RATE2 CNT"; - } - leaf total-rate3-cnt { - type uint64; - description "TOTAL RATE3 CNT"; - } - leaf total-calc-rate { - type uint64; - description "total calc rate"; - } - } - - grouping XBAR-EDM-SM15-CA-STATS { - description "XBAR EDM SM15 CA STATS"; - leaf dest-drop-pkt-cnt { - type uint64; - description "DEST DROP PKT CNT"; - } - leaf src-dest-pkt-cnt { - type uint64; - description "SRC DEST PKT CNT"; - } - leaf dest-src-pkt-cnt { - type uint64; - description "DEST SRC PKT CNT"; - } - leaf rcv-pkt-cnt { - type uint64; - description "RCV PKT CNT"; - } - leaf tx-pkt-cnt { - type uint64; - description "TX PKT CNT"; - } - leaf rx-drop-pkt-cnt { - type uint64; - description "RX DROP PKT CNT"; - } - } - - grouping XBAR-EDM-SM15-MA-STATS { - description "XBAR EDM SM15 MA STATS"; - leaf dest-drop-pkt-cnt { - type uint64; - description "DEST DROP PKT CNT"; - } - leaf src-dest-pkt-cnt { - type uint64; - description "SRC DEST PKT CNT"; - } - leaf dest-src-pkt-cnt { - type uint64; - description "DEST SRC PKT CNT"; - } - leaf rcv-pkt-cnt { - type uint64; - description "RCV PKT CNT"; - } - leaf tx-pkt-cnt { - type uint64; - description "TX PKT CNT"; - } - leaf rx-drop-pkt-cnt { - type uint64; - description "RX DROP PKT CNT"; - } - leaf rx-re-transmit-cnt { - type uint64; - description "RX RETRANSMIT CNT"; - } - leaf rx-fabric-to-cnt { - type uint64; - description "RX FABRIC TO CNT"; - } - leaf rx-hol-to-cnt { - type uint64; - description "RX HOL TO CNT"; - } - } - - grouping XBAR-EDM-SM15-UA-STATS { - description "XBAR EDM SM15 UA STATS"; - leaf dest-drop-pkt-cnt { - type uint64; - description "DEST DROP PKT CNT"; - } - leaf src-dest-pkt-cnt { - type uint64; - description "SRC DEST PKT CNT"; - } - leaf dest-src-pkt-cnt { - type uint64; - description "DEST SRC PKT CNT"; - } - leaf rcv-pkt-cnt { - type uint64; - description "RCV PKT CNT"; - } - leaf tx-pkt-cnt { - type uint64; - description "TX PKT CNT"; - } - leaf rx-drop-pkt-cnt { - type uint64; - description "RX DROP PKT CNT"; - } - leaf rx-fabric-to-cnt { - type uint64; - description "RX FABRIC TO CNT"; - } - leaf ack-wait-cnt { - type uint64; - description "ACK WAIT CNT"; - } - } - - grouping XBAR-EDM-SM15-PORT-STATS { - description "XBAR EDM SM15 PORT STATS"; - - container ua0-stats { - description "ua0 stats"; - uses XBAR-EDM-SM15-UA-STATS; - } - - container ua1-stats { - description "ua1 stats"; - uses XBAR-EDM-SM15-UA-STATS; - } - - container ua2-stats { - description "ua2 stats"; - uses XBAR-EDM-SM15-UA-STATS; - } - - container ma-stats { - description "ma stats"; - uses XBAR-EDM-SM15-MA-STATS; - } - - container ca-stats { - description "ca stats"; - uses XBAR-EDM-SM15-CA-STATS; - } - - container pi-stats { - description "pi stats"; - uses XBAR-EDM-SM15-PI-STATS; - } - - container pe-stats { - description "pe stats"; - uses XBAR-EDM-SM15-PE-STATS; - } - - container pi-uc-stats { - description "pi uc stats"; - uses XBAR-EDM-SM15-PI-UC-STATS; - } - - container pi-mc-stats { - description "pi mc stats"; - uses XBAR-EDM-SM15-PI-MC-STATS; - } - - container pi-cc-stats { - description "pi cc stats"; - uses XBAR-EDM-SM15-PI-CC-STATS; - } - - container pe-uc-stats { - description "pe uc stats"; - uses XBAR-EDM-SM15-PE-UC-STATS; - } - - container pe-mc-stats { - description "pe mc stats"; - uses XBAR-EDM-SM15-PE-MC-STATS; - } - - container pe-cc-stats { - description "pe cc stats"; - uses XBAR-EDM-SM15-PE-CC-STATS; - } - leaf internal-err-cnt { - type uint64; - description "internal err cnt"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang deleted file mode 100644 index 1b7453e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang +++ /dev/null @@ -1,224 +0,0 @@ -submodule Cisco-IOS-XR-asr9k-xbar-oper-sub2 { - - belongs-to Cisco-IOS-XR-asr9k-xbar-oper { - prefix Cisco-IOS-XR-asr9k-xbar-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR asr9k-xbar package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Q-stats { - type uint64; - description "Q stats"; - } - - grouping XBAR-XML-EDM-PORT-STATS { - description "Bag containing xbar packet stats"; - leaf internal-error-count { - type uint64; - description ""; - } - leaf input-buffer-queued-packet-count-high { - type Q-stats; - description ""; - } - leaf ingress-packet-count-since-last-read-high { - type Q-stats; - description ""; - } - leaf ingress-channel-utilization-count-high { - type Q-stats; - description ""; - } - leaf input-buffer-back-pressure-count-high { - type Q-stats; - description ""; - } - leaf xbar-timeout-drop-count-high { - type Q-stats; - description ""; - } - leaf holdrop-count-high { - type Q-stats; - description ""; - } - leaf null-fpoe-drop-count-high { - type Q-stats; - description ""; - } - leaf diagnostic-packet-count-high { - type Q-stats; - description ""; - } - leaf input-buffer-correctable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf input-buffer-uncorrectable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf header-crc-error-count-high { - type Q-stats; - description ""; - } - leaf short-input-header-error-count-high { - type Q-stats; - description ""; - } - leaf packet-crc-error-count-high { - type Q-stats; - description ""; - } - leaf short-packet-error-count-high { - type Q-stats; - description ""; - } - leaf output-buffer-queued-packet-count-high { - type Q-stats; - description ""; - } - leaf egress-packet-count-since-last-read-high { - type Q-stats; - description ""; - } - leaf egress-channel-utilization-count-high { - type Q-stats; - description ""; - } - leaf output-buffer-back-pressure-count-high { - type Q-stats; - description ""; - } - leaf output-buffer-correctable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf output-buffer-uncorrectable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf fpoedb-correctable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf fpoedb-uncorrectable-ecc-error-count-high { - type Q-stats; - description ""; - } - leaf input-buffer-queued-packet-count-low { - type Q-stats; - description ""; - } - leaf ingress-packet-count-since-last-read-low { - type Q-stats; - description ""; - } - leaf ingress-channel-utilization-count-low { - type Q-stats; - description ""; - } - leaf input-buffer-back-pressure-count-low { - type Q-stats; - description ""; - } - leaf xbar-timeout-drop-count-low { - type Q-stats; - description ""; - } - leaf holdrop-count-low { - type Q-stats; - description ""; - } - leaf null-fpoe-drop-count-low { - type Q-stats; - description ""; - } - leaf diagnostic-packet-count-low { - type Q-stats; - description ""; - } - leaf input-buffer-correctable-ecc-error-count-low { - type Q-stats; - description ""; - } - leaf input-buffer-uncorrectable-ecc-error-count-low { - type Q-stats; - description ""; - } - leaf header-crc-error-count-low { - type Q-stats; - description ""; - } - leaf short-input-header-error-count-low { - type Q-stats; - description ""; - } - leaf packet-crc-error-count-low { - type Q-stats; - description ""; - } - leaf short-packet-error-count-low { - type Q-stats; - description ""; - } - leaf output-buffer-queued-packet-count-low { - type Q-stats; - description ""; - } - leaf egress-packet-count-since-last-read-low { - type Q-stats; - description ""; - } - leaf egress-channel-utilization-count-low { - type Q-stats; - description ""; - } - leaf output-buffer-back-pressure-count-low { - type Q-stats; - description ""; - } - leaf output-buffer-correctable-ecc-error-count-low { - type Q-stats; - description ""; - } - leaf output-buffer-uncorrectable-ecc-error-count-low { - type Q-stats; - description ""; - } - leaf fpoedb-correctable-ecc-error-count-low { - type Q-stats; - description ""; - } - leaf fpoedb-uncorrectable-ecc-error-count-low { - type Q-stats; - description ""; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper.yang deleted file mode 100644 index db7d600..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-asr9k-xbar-oper.yang +++ /dev/null @@ -1,113 +0,0 @@ -module Cisco-IOS-XR-asr9k-xbar-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-xbar-oper"; - - - prefix "asr9k-xbar-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-asr9k-xbar-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-asr9k-xbar-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR asr9k-xbar package operational data. - - This module contains definitions - for the following management objects: - cross-bar-stats: Crossbar stats operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container cross-bar-stats { - config false; - description "Crossbar stats operational data"; - - container nodes { - description "Table of Nodes"; - - list node { - key "node-name"; - description "Information about a particular node"; - - container cross-bar-table { - description "Table of stats information"; - - container pkt-stats { - description "Table of packet stats"; - - list pkt-stat { - description - "Stats information for a particular asic type - and port"; - leaf asic-id { - type xr:Cisco-ios-xr-string; - description "Asic ID"; - } - leaf port { - type xr:Cisco-ios-xr-string; - description "Port"; - } - uses XBAR-XML-EDM-PORT-STATS; - } - } - - container sm15-stats { - description "Table of packet stats for SM15"; - - list sm15-stat { - description - "Stats information for a particular asic type - and port"; - leaf asic-id { - type xr:Cisco-ios-xr-string; - description "Asic ID"; - } - leaf port { - type xr:Cisco-ios-xr-string; - description "Port"; - } - uses XBAR-EDM-SM15-PORT-STATS; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-common-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-common-datatypes.yang deleted file mode 100644 index b9ea835..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-common-datatypes.yang +++ /dev/null @@ -1,132 +0,0 @@ -module Cisco-IOS-XR-atm-common-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-atm-common-datatypes"; - - - prefix "atm-common-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Atm-vp-shaping { - type enumeration { - enum cbr { - value 1; - description "Constant Bit Rate"; - } - enum vbr-nrt { - value 2; - description "Variable Bit Rate-non real time"; - } - enum vbr-rt { - value 3; - description "Variable Bit Rate-real time"; - } - enum ubr { - value 6; - description "Unspecified Bit Rate"; - } - } - description "Atm vp shaping"; - } - typedef Atm-pvc-shaping { - type enumeration { - enum cbr { - value 1; - description "Constant Bit Rate"; - } - enum vbr-nrt { - value 2; - description "Variable Bit Rate-non real time"; - } - enum vbr-rt { - value 3; - description "Variable Bit Rate-real time"; - } - enum ubr { - value 6; - description "Unspecified Bit Rate"; - } - } - description "Atm pvc shaping"; - } - typedef Atm-pvc-data { - type enumeration { - enum data { - value 0; - description "Data"; - } - enum ilmi { - value 2; - description "ILMI"; - } - enum layer2 { - value 3; - description "Layer2"; - } - } - description "Atm pvc data"; - } - typedef Atm-pvc-encapsulation { - type enumeration { - enum snap { - value 3; - description "SNAP"; - } - enum vc-mux { - value 4; - description "VC MUX"; - } - enum nlpid { - value 5; - description "NLPID"; - } - enum aal0 { - value 7; - description "AAL0"; - } - enum aal5 { - value 8; - description "AAL5"; - } - } - description "Atm pvc encapsulation"; - } - typedef Atm-vc-class-name { - type xr:Cisco-ios-xr-string { - length "1..30"; - } - description "Atm vc class name"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-cfg.yang deleted file mode 100644 index 5276cf6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-cfg.yang +++ /dev/null @@ -1,422 +0,0 @@ -module Cisco-IOS-XR-atm-vcm-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-cfg"; - - - prefix "atm-vcm-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-atm-common-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2vpn-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2vpn-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Atm-vpi-bits-mode { - type enumeration { - enum twelve { - value 12; - description "12-bits VPI cell format"; - } - } - description "Atm vpi bits mode"; - } - typedef Vpi-range { - type uint32 { - range "0..4095"; - } - description "Vpi range"; - } - typedef Atm-pvc-test-mode { - type enumeration { - enum loop { - value 1; - description "Loop mode applicable to L2/L3 PVC"; - } - enum reserved { - value 2; - description "Reserved mode applicable to L2 PVC"; - } - } - description "Atm pvc test mode"; - } - typedef Atm-pvp-test-mode { - type enumeration { - enum loop { - value 1; - description "Loop mode"; - } - } - description "Atm pvp test mode"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container atm { - description "ATM Configuration"; - - container pvps { - description "PVP Configuration"; - - list pvp { - key "vpi"; - description "Configuration of particular PVP"; - - container shape { - description "Configure traffic shaping parameters"; - leaf type { - type dt1:Atm-pvc-shaping; - description "Traffic shaping type"; - } - leaf peak-cell-rate { - type uint32 { - range "8..622080"; - } - description "Peak cell rate (kbps)"; - } - leaf sustained-cell-rate { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "8..622080"; - } - description "Sustained cell rate (kbps)"; - } - leaf burst-size { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "1..8192"; - } - description "Burst size in cells"; - } - } - - container cell-packing { - presence "Indicates a cell-packing node is configured."; - description - "Configure cell-packing parameters. All - parameters are mandatory."; - leaf maximum-cells-packed { - type uint32 { - range "2..255"; - } - mandatory true; - description - "Maximum number of cells to be packed in a - packet"; - } - leaf cell-packing-timer-id { - type uint32 { - range "1..3"; - } - mandatory true; - description "Which cell packing timer to use"; - } - } - leaf enable { - type empty; - description "Create the PVP"; - } - leaf test-mode { - type Atm-pvp-test-mode; - description "Configure the PVP test mode"; - } - leaf oam-segment-endpoint { - type empty; - description "Enable L2VPN PVP OAM segment endpoint"; - } - leaf vpi { - type Vpi-range; - description "VPI value"; - } - } - } - - container pvcs { - description "PVC Configuration"; - - list pvc { - key "vpi vci pv-ctype"; - description "Configuration particular PVC"; - - container shape { - description "Configure traffic shaping parameters"; - leaf type { - type dt1:Atm-pvc-shaping; - description "Traffic shaping type"; - } - leaf peak-cell-rate { - type uint32 { - range "8..622080"; - } - description "Peak cell rate (kbps)"; - } - leaf sustained-cell-rate { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "8..622080"; - } - description "Sustained cell rate (kbps)"; - } - leaf burst-size { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "1..8192"; - } - description "Burst size in cells"; - } - } - - container oam-emulation { - description "L2VPN OAM emulation"; - leaf enable { - type empty; - description "Enable OAM emulation"; - } - leaf ais-transmit-rate { - type uint32 { - range "0..60"; - } - description - "AIS cell transmit rate (1 per x seconds)"; - } - } - - container cell-packing { - presence "Indicates a cell-packing node is configured."; - description - "Configure cell-packing parameters. All - parameters are mandatory."; - leaf maximum-cells-packed { - type uint32 { - range "2..255"; - } - mandatory true; - description - "Maximum number of cells to be packed in a - packet"; - } - leaf cell-packing-timer-id { - type uint32 { - range "1..3"; - } - mandatory true; - description "Which cell packing timer to use"; - } - } - leaf vc-class { - type dt1:Atm-vc-class-name; - description "Name of the VC class"; - } - leaf encapsulation { - type dt1:Atm-pvc-encapsulation; - description "Configure encapsulation"; - } - leaf enable { - type empty; - description "Create the PVC"; - } - leaf test-mode { - type Atm-pvc-test-mode; - description "Configure the PVC test mode"; - } - leaf oam-segment-endpoint { - type empty; - description "Enable L2VPN PVC OAM segment endpoint"; - } - leaf vpi { - type Vpi-range; - description "VPI value"; - } - leaf vci { - type uint32 { - range "1..65535"; - } - description "VCI value"; - } - leaf pv-ctype { - type dt1:Atm-pvc-data; - description "PVC type"; - } - } - } - - container maximum-cell-packing-timers { - presence "Indicates a maximum-cell-packing-timers node is"+ - " configured."; - description - "Configure maximum cell-packing timers. All - parameters are mandatory."; - leaf cell-packing-timer1 { - type uint32 { - range "50..4095"; - } - mandatory true; - description "Cell-packing timer1 (micro seconds)"; - } - leaf cell-packing-timer2 { - type uint32 { - range "50..4095"; - } - mandatory true; - description "Cell-packing timer2 (micro seconds)"; - } - leaf cell-packing-timer3 { - type uint32 { - range "50..4095"; - } - mandatory true; - description "Cell-packing timer3 (micro seconds)"; - } - } - - container vp-tunnels { - description "VP tunnel configuration"; - - list vp-tunnel { - key "vpi"; - description "Configure a VP tunnel on this interface"; - - container shape { - description "Configure Traffic shaping parameters"; - leaf type { - type dt1:Atm-vp-shaping; - description "Traffic shaping type"; - } - leaf peak-cell-rate { - type uint32 { - range "8..622080"; - } - description "Peak cell rate (kbps)"; - } - leaf sustained-cell-rate { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "8..622080"; - } - description "Sustained cell rate (kbps)"; - } - leaf burst-size { - when "../type != 'cbr' and ../type != 'ubr'" { - description "../Type != CBR and ../Type != UBR"; - } - type uint32 { - range "1..8192"; - } - description "Burst size in cells"; - } - } - leaf enable-hierarchical-shaping { - type empty; - description "Enable Hierarchical Shaping configuration"; - } - leaf enable { - type empty; - description "Create the VP Tunnel"; - } - leaf disable-f4oam { - type empty; - description "Disable F4 OAM configuration"; - } - leaf vpi { - type Vpi-range; - description "VPI value"; - } - } - } - leaf max-vpi-bits { - type Atm-vpi-bits-mode; - description "Support 12-bits VPI cell format"; - } - leaf vc-class { - type dt1:Atm-vc-class-name; - description "Name of the VC class"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - - container atm-port-mode-parameters { - description - "ATM L2transport Port Mode Parameters - Configuration"; - - container cell-packing { - presence "Indicates a cell-packing node is configured."; - description - "Configure cell-packing parameters. All - parameters are mandatory."; - leaf maximum-cells-packed { - type uint32 { - range "2..255"; - } - mandatory true; - description - "Maximum number of cells to be packed in a - packet"; - } - leaf cell-packing-timer-id { - type uint32 { - range "1..3"; - } - mandatory true; - description "Which cell packing timer to use"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub1.yang deleted file mode 100644 index 090b6a7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub1.yang +++ /dev/null @@ -1,168 +0,0 @@ -submodule Cisco-IOS-XR-atm-vcm-oper-sub1 { - - belongs-to Cisco-IOS-XR-atm-vcm-oper { - prefix Cisco-IOS-XR-atm-vcm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vp-state { - type enumeration { - enum vp-initialized { - value 0; - description "VP-Tunnel State: Initialized"; - } - enum vp-modifying { - value 1; - description "VP-Tunnel State: Modifying"; - } - enum vp-ready { - value 2; - description "VP-Tunnel State: Ready"; - } - enum vp-mgd-down { - value 3; - description "VP-Tunnel State: Managed Down"; - } - enum vp-deleting { - value 4; - description "VP-Tunnel State: Deleting"; - } - enum vp-deleted { - value 5; - description "VP-Tunnel State: Deleted"; - } - enum vp-state-unknown { - value 6; - description "VP-Tunnel State: Unknown"; - } - } - description "VP-Tunnel State"; - } - typedef Vp-traf-shaping { - type enumeration { - enum vp-cbr { - value 1; - description "VP-Tunnel traffic shaping type CBR"; - } - enum vp-vbr-nrt { - value 2; - description "VP-Tunnel traffic shaping type VBR-NR"; - } - enum vp-vbr-rt { - value 3; - description "VP-Tunnel traffic shaping type VBR-RT"; - } - enum vp-abr { - value 4; - description "VP-Tunnel traffic shaping type ABR"; - } - enum vp-ubr-plus { - value 5; - description "VP-Tunnel traffic shaping type UBR+"; - } - enum vp-ubr { - value 6; - description "VP-Tunnel traffic shaping type UBR"; - } - enum vp-traf-shaping-unknown { - value 7; - description - "VP-Tunnel traffic shaping type Unknown - (invalid)"; - } - } - description "VP-Tunnel traffic shaping type"; - } - - grouping ATM-VCM-VP { - description "ATM VP-Tunnel data"; - leaf main-interface { - type xr:Interface-name; - description "Main Interface handle"; - } - leaf vp-interface { - type xr:Interface-name; - description "VP Interfcace handle"; - } - leaf vpi-xr { - type uint16; - description "VP-Tunnel VPI value"; - } - leaf shape { - type Vp-traf-shaping; - description "ATM VP traffic shaping type"; - } - leaf peak-cell-rate { - type uint32; - units "kbit/s"; - description "Peak cell rate in Kbps"; - } - leaf sustained-cell-rate { - type uint32; - units "kbit/s"; - description "Sustained cell rate in Kbps"; - } - leaf burst-rate { - type uint32; - description "Burst size in cells"; - } - leaf f4oam-enabled { - type boolean; - description "F4OAM Enabled flag"; - } - leaf data-vc-count { - type uint32; - description "Number of Data PVCs under this VP-tunnel"; - } - leaf oper-status { - type boolean; - description - "TRUE value indicates that the VP is - operationally UP"; - } - leaf amin-status { - type boolean; - description - "TRUE value indicates that the VP is - administratively UP"; - } - leaf internal-state { - type Vp-state; - description "Internal state"; - } - leaf last-vp-state-change-time { - type uint32; - description "Time when VP-Tunnel state was last changed"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub2.yang deleted file mode 100644 index 7357707..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub2.yang +++ /dev/null @@ -1,134 +0,0 @@ -submodule Cisco-IOS-XR-atm-vcm-oper-sub2 { - - belongs-to Cisco-IOS-XR-atm-vcm-oper { - prefix Cisco-IOS-XR-atm-vcm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-atm-vcm-oper-sub4 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vcm-port { - type enumeration { - enum port-type-layer-2 { - value 0; - description " Layer 2 ATM port type "; - } - enum port-type-layer-3 { - value 1; - description " Layer 3 ATM port type "; - } - enum port-type-unknown { - value 3; - description " ATM port type unknown "; - } - } - description "ATM port type"; - } - - grouping ATM-VCM-IF { - description "ATM Interface configuration"; - - container cell-packing-data { - description "Cell packing specific information"; - uses ATM-VCM-CELL-PACKING-INFO; - } - leaf ilmi-vpi { - type uint32; - description "ILMI VPI"; - } - leaf ilmi-vci { - type uint32; - description "ILMI VCI"; - } - leaf pvc-failures { - type uint32; - description "Number of PVC Failures"; - } - leaf currently-failing-layer2pv-ps { - type uint32; - description "Number of currently failing Layer 2 PVPs"; - } - leaf currently-failing-layer2pv-cs { - type uint32; - description "Number of currently failing Layer 2 PVCs"; - } - leaf currently-failing-layer3vp-tunnels { - type uint32; - description "Number of currently failing Layer 3 VP tunnels"; - } - leaf currently-failing-layer3pv-cs { - type uint32; - description "Number of currently failing Layer 3 PVCs"; - } - leaf pvc-failures-trap-enable { - type boolean; - description "If true, PVC failures trap is enabled"; - } - leaf pvc-notification-interval { - type uint32; - description "PVC trap notification interval"; - } - leaf configured-layer2pv-ps { - type uint32; - description "Number of Layer 2 PVPs configured"; - } - leaf configured-layer2pv-cs { - type uint32; - description "Number of Layer 2 PVCs configured"; - } - leaf configured-layer3vp-tunnels { - type uint32; - description "Number of Layer 3 VP tunnels configured"; - } - leaf configured-layer3pv-cs { - type uint32; - description "Number of Layer 3 PVCs configured"; - } - leaf port-type { - type Vcm-port; - description "ATM interface port type"; - } - leaf main-interface { - type xr:Interface-name; - description "Main Interface handle"; - } - leaf l2-cell-packing-count { - type uint16; - description - "Number of L2 attachment circuits with the cell - packing feature enabled on this main interface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub3.yang deleted file mode 100644 index f0ab672..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub3.yang +++ /dev/null @@ -1,243 +0,0 @@ -submodule Cisco-IOS-XR-atm-vcm-oper-sub3 { - - belongs-to Cisco-IOS-XR-atm-vcm-oper { - prefix Cisco-IOS-XR-atm-vcm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-atm-vcm-oper-sub4 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Class-link-oam-inherit-level { - type enumeration { - enum vc-configured-onvc { - value 0; - description "Configured on VC"; - } - enum vc-class-onvc { - value 1; - description "Class on VC"; - } - enum vc-class-on-sub-interface { - value 2; - description "Class on sub-if"; - } - enum vc-class-on-main-interface { - value 3; - description "Class on main-if"; - } - enum vc-global-default { - value 4; - description "Global default values"; - } - enum vc-inherit-level-unknown { - value 5; - description "Unknown (invalid)"; - } - } - description "ATM VC-class inheritence level for class-link"; - } - typedef Vc-manage-level { - type enumeration { - enum manage { - value 1; - description "Managed"; - } - enum not-managed { - value 2; - description "Not managed"; - } - } - description "ATM Class link manage level"; - } - - grouping ATM-CLASS-LINK-OAM-AIS-RDI { - description "ATM class link AIS/RDI information"; - leaf ais-rdi-up-count { - type uint32; - description "AIS RDI up count"; - } - leaf ais-rdi-up-time { - type uint32; - units "second"; - description - "Time (in seconds) with no AIS/RDI cells before - declaring a VC as up"; - } - leaf ais-rdi-inherit-level { - type Class-link-oam-inherit-level; - description "AIS RDI inherit level"; - } - } - - grouping ATM-CLASS-LINK-OAM-RETRY { - description "ATM class link retry information"; - leaf retry-up-count { - type uint32; - description "Retry Count"; - } - leaf down-count { - type uint32; - description "Down Count"; - } - leaf retry-frequency { - type uint32; - description "Retry frequency"; - } - leaf retry-inherit-level { - type Class-link-oam-inherit-level; - description "Retry inherit level"; - } - } - - grouping ATM-CLASS-LINK-OAM-PVC { - description "ATM class link PVC information"; - leaf manage-level { - type Vc-manage-level; - description "Manage Level"; - } - leaf pvc-frequency { - type uint32; - description "PVC Frequency"; - } - leaf keep-vc-up { - type boolean; - description "Keep vc up"; - } - leaf ais-rdi-failure { - type boolean; - description "AIS RDI failure"; - } - leaf manage-inherit-level { - type Class-link-oam-inherit-level; - description "Manage inherit level"; - } - } - - grouping ATM-CLASS-LINK-ENCAPSULATION { - description "ATM class link encapsulation information"; - leaf encapsulation-type { - type Vc-encap; - description "Encapsulation type"; - } - leaf encapsulation-inherit-level { - type Vc-inherit-level; - description "Encapsulation inherit level"; - } - } - - grouping ATM-CLASS-LINK-SHAPING { - description "ATM class link shaping information"; - leaf shaping-type { - type Vc-traf-shaping; - description "ATM VC traffic shaping type"; - } - leaf peak-output-rate { - type uint32; - units "kbit/s"; - description "Peak output rate in Kbps"; - } - leaf average-output-rate { - type uint32; - description "Average output rate"; - } - leaf burst-output-rate { - type uint32; - description "Burst output rate"; - } - leaf shaping-inherit-level { - type Vc-inherit-level; - description "Shaping inherit level"; - } - } - - grouping ATM-CLASS-LINK-OAM { - description "ATM class link oam information"; - - container class-link-shaping { - description "Traffic Shaping detail of VC class"; - uses ATM-CLASS-LINK-SHAPING; - } - - container class-link-encapsulation { - description "Encapsulation details of VC class"; - uses ATM-CLASS-LINK-ENCAPSULATION; - } - - container oam-pvc { - description "OAM PVC details of VC class"; - uses ATM-CLASS-LINK-OAM-PVC; - } - - container oam-retry { - description "OAM Retry details of VC class"; - uses ATM-CLASS-LINK-OAM-RETRY; - } - - container ais-rdi { - description "AIS RDI details of a VC class"; - uses ATM-CLASS-LINK-OAM-AIS-RDI; - } - } - - grouping ATM-CLASS-LINK-NOT-SUPPORTED { - description "ATM VC Class not supported information"; - leaf encapsulation-not-supported { - type Vc-encap; - description "Encapsulation type not supported"; - } - leaf not-supported-inherit-level { - type Vc-inherit-level; - description "NotSupportedInheritLevel"; - } - } - - grouping ATM-CLASS-LINK-VPI-VCI { - description "ATM class link information"; - - container vc-class-not-supported { - description "Not supported VC class"; - uses ATM-CLASS-LINK-NOT-SUPPORTED; - } - - container oam-config { - description "Oam values for class link"; - uses ATM-CLASS-LINK-OAM; - } - leaf sub-interface-name { - type xr:Interface-name; - description "Sub-interface handle"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub4.yang deleted file mode 100644 index ea05904..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper-sub4.yang +++ /dev/null @@ -1,432 +0,0 @@ -submodule Cisco-IOS-XR-atm-vcm-oper-sub4 { - - belongs-to Cisco-IOS-XR-atm-vcm-oper { - prefix Cisco-IOS-XR-atm-vcm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vc-cell-packing-mode { - type enumeration { - enum vp { - value 1; - description "VP mode"; - } - enum vc { - value 2; - description "VC mode"; - } - enum port-mode { - value 3; - description "Port mode"; - } - } - description "ATM VC cell packing mode"; - } - typedef Vc-test-mode { - type enumeration { - enum test-mode-none { - value 1; - description "VC not in test mode"; - } - enum loop { - value 2; - description "VC in test mode Loop"; - } - enum reserved { - value 3; - description "VC in test mode Reserved"; - } - } - description "VC Test Mode Type"; - } - typedef Vc-state { - type enumeration { - enum initialized { - value 0; - description - "ATM VC State: only VC data structure - initialized "; - } - enum modifying { - value 1; - description - "ATM VC State: configuration currently being - changed"; - } - enum modified { - value 2; - description - "ATM VC State: configuration changed "; - } - enum activating { - value 3; - description - "ATM VC State: command sent to hardware to - activate "; - } - enum activated { - value 4; - description - "ATM VC State: activated in h/w or protocol "; - } - enum not-verified { - value 5; - description - "ATM VC State: OAM/ILMI - yet to verify "; - } - enum ready { - value 6; - description - "ATM VC State: Ready state "; - } - enum deactivating { - value 7; - description - "ATM VC State: command sent to h/w to deactivate"; - } - enum inactive { - value 8; - description - "ATM VC State: inactive/not present in hardware "; - } - enum deleting { - value 9; - description - "ATM VC State: VC is being deleted "; - } - enum deleted { - value 10; - description - "ATM VC State: VC is already delete in hardware "; - } - enum state-unknown { - value 11; - description "ATM VC State: Unknown(invalid)"; - } - } - description "VC State"; - } - typedef Vc-inherit-level { - type enumeration { - enum directly-configured-onvc { - value 0; - description "ATM vc-class inherit level: Config of VC"; - } - enum vc-class-configured-onvc { - value 1; - description "ATM vc-class inherit level: Class of VC"; - } - enum vc-class-configured-on-sub-interface { - value 2; - description "ATM vc-class inherit level: Class of Sub-if"; - } - enum vc-class-configured-on-main-interface { - value 3; - description "ATM vc-class inherit level: Class of Main-if"; - } - enum global-default { - value 4; - description "ATM vc-class inherit level: Global Default"; - } - enum unknown { - value 5; - description "ATM vc-class inherit level: Unknown (invalid)"; - } - enum not-supported { - value 6; - description - "ATM vc-class inherit level: Not supported on - this VC class"; - } - } - description "ATM vc-class inheritence level"; - } - typedef Vc-traf-shaping { - type enumeration { - enum cbr { - value 1; - description "VC traffic shaping type CBR"; - } - enum vbr-nrt { - value 2; - description "VC traffic shaping type VBR-NR"; - } - enum vbr-rt { - value 3; - description "VC traffic shaping type VBR-RT"; - } - enum abr { - value 4; - description "VC traffic shaping type ABR"; - } - enum ubr-plus { - value 5; - description "VC traffic shaping type UBR+"; - } - enum ubr { - value 6; - description "VC traffic shaping type UBR"; - } - enum traf-shaping-unknown { - value 7; - description "VC traffic shaping type Unknown (invalid)"; - } - } - description "VC traffic shaping type"; - } - typedef Vc-encap { - type enumeration { - enum ilmi { - value 1; - description "ILMI Encapsulation"; - } - enum qsaal { - value 2; - description "QSAAL Encapsulation"; - } - enum snap { - value 3; - description "SNAP Encapsulation"; - } - enum mux { - value 4; - description "MUX Encapsulation"; - } - enum nlpid { - value 5; - description "NLPID Encapsulation"; - } - enum f4oam { - value 6; - description "F4OAM Encapsulation"; - } - enum aal0 { - value 7; - description "AAL0 Encapsulation"; - } - enum aal5 { - value 8; - description "AAL5 Encapsulation"; - } - enum encap-unknown { - value 9; - description "Uknown (invalid) Encapsulation"; - } - } - description "VC Encapsulation Type"; - } - typedef Vc { - type enumeration { - enum layer3-vc { - value 0; - description " ATM Layer 3 VC type"; - } - enum layer2-vc { - value 1; - description " ATM Layer 2 VC type"; - } - enum layer2-vp { - value 2; - description " ATM Layer 2 VP type"; - } - enum vc-type-unknown { - value 3; - description " ATM type unknown"; - } - } - description " ATM VC type"; - } - - grouping ATM-CELL-PACKING-DATA { - description "ATM cell packing data"; - - container cell-packing { - description "Cell packing specific data"; - uses ATM-VCM-CELL-PACKING-INFO; - } - leaf sub-interface-name { - type xr:Interface-name; - description "Sub-interface name"; - } - leaf cell-packing-mode { - type Vc-cell-packing-mode; - description "ATM cell packing mode"; - } - leaf vpi { - type uint32; - description "VPI"; - } - leaf vci { - type uint32; - description "VCI"; - } - leaf received-average-cells-packets { - type uint64; - description "Average cells/packets received"; - } - leaf sent-cells-packets { - type uint64; - description "Average cells/packets sent"; - } - } - - grouping ATM-VCM-CELL-PACKING-INFO { - description "ATM Layer 2 VC specific information"; - leaf local-max-cells-packed-per-packet { - type uint16; - description - "Local configuration of maximum number of cells - to be packed per packet"; - } - leaf negotiated-max-cells-packed-per-packet { - type uint16; - description - "Negotiated value of maximum number of cells to - be packed per packed"; - } - leaf max-cell-packed-timeout { - type uint16; - units "microsecond"; - description "Maximum cell packing timeout inmicro seconds"; - } - } - - grouping ATM-VCM-VC { - description "ATM VC data"; - - container cell-packing-data { - description "Cell packing specific data"; - uses ATM-VCM-CELL-PACKING-INFO; - } - leaf main-interface { - type xr:Interface-name; - description "Main Interface handle"; - } - leaf sub-interface { - type xr:Interface-name; - description "Subinterface handle"; - } - leaf vc-interface { - type xr:Interface-name; - description "VC Interfcace handle"; - } - leaf vpi-xr { - type uint16; - description "VC VPI value"; - } - leaf vci-xr { - type uint16; - description "VC VCI value"; - } - leaf type { - type Vc; - description "VC Type"; - } - leaf encapsulation { - type Vc-encap; - description "Encapsulation type"; - } - leaf shape { - type Vc-traf-shaping; - description "ATM VC traffic shaping type"; - } - leaf peak-cell-rate { - type uint32; - units "kbit/s"; - description "Peak cell rate in Kbps"; - } - leaf sustained-cell-rate { - type uint32; - units "kbit/s"; - description "Sustained cell rate in Kbps"; - } - leaf burst-rate { - type uint32; - description "Burst size in cells"; - } - leaf encaps-inherit-level { - type Vc-inherit-level; - description - "Encapsulation inherit level - identifies if - encapsulation is set to default, configured on - the VC, or inherited from the vcclass."; - } - leaf qos-inherit-level { - type Vc-inherit-level; - description - "Quality of Service inherit level - identifies if - QoS is set to default, configured on the VC, or - inherited from the vcclass."; - } - leaf transmit-mtu { - type uint32; - description "Transmit MTU"; - } - leaf receive-mtu { - type uint32; - description "Receive MTU"; - } - leaf vc-onvp-tunnel { - type boolean; - description "VC on VP-tunnel flag"; - } - leaf vc-on-p2p-sub-interface { - type boolean; - description "VC on Point-to-point Sub-interface"; - } - leaf oper-status { - type boolean; - description - "TRUE value indicates that the VC is - operationally UP"; - } - leaf amin-status { - type boolean; - description - "TRUE value indicates that the VC is - administratively UP"; - } - leaf internal-state { - type Vc-state; - description "VC Internal state"; - } - leaf last-state-change-time { - type uint32; - description "Time when VC was last changed"; - } - leaf test-mode { - type Vc-test-mode; - description "VC test mode"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper.yang deleted file mode 100644 index 610db09..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-atm-vcm-oper.yang +++ /dev/null @@ -1,204 +0,0 @@ -module Cisco-IOS-XR-atm-vcm-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-oper"; - - - prefix "atm-vcm-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-atm-common-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-atm-vcm-oper-sub4 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-atm-vcm-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-atm-vcm-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-atm-vcm-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR atm-vcm package operational data. - - This module contains definitions - for the following management objects: - atm-vcm: ATM VCM operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Atm-pvc-vpi-range { - type uint32 { - range "0..4095"; - } - description "Atm pvc vpi range"; - } - typedef Atm-pvc-vci-range { - type uint32 { - range "1..65535"; - } - description "Atm pvc vci range"; - } - - container atm-vcm { - config false; - description "ATM VCM operational data"; - - container nodes { - description "Contains all the nodes"; - - list node { - key "node-name"; - description - "The node on which ATM Interfaces/VCs/VPs are - located"; - - container vcs { - description "Contains all VC information for node"; - - list vc { - key "interface-name"; - description "All VC information on a node"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf vpi { - type Atm-pvc-vpi-range; - description "VPI"; - } - leaf vci { - type Atm-pvc-vci-range; - description "VCI"; - } - uses ATM-VCM-VC; - } - } - - container cell-packs { - description - "Contains all cell packing information for node"; - - list cell-pack { - description "All cell packing information on a node"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf pci { - type int32; - description "PCI"; - } - uses ATM-CELL-PACKING-DATA; - } - } - - container pvps { - description "Contains all L2 PVP information for node"; - - list pvp { - key "interface-name"; - description "All L2 PVP information on a node"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf vpi { - type int32; - description "VPI"; - } - uses ATM-VCM-VC; - } - } - - container class-links { - description - "Contains all class link information for node"; - - list class-link { - key "vpi"; - description "All ATM VC information on a node"; - leaf vpi { - type int32; - description "VPI"; - } - leaf vci { - type int32; - description "VCI"; - } - uses ATM-CLASS-LINK-VPI-VCI; - } - } - - container interfaces { - description "Contains all Interface information for node"; - - list interface { - key "interface-name"; - description "ATM Interface data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ATM-VCM-IF; - } - } - - container vp-tunnels { - description "Contains all VP-tunnel information for node"; - - list vp-tunnel { - key "interface-name"; - description "All VP-tunnel information on a node"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf vpi { - type int32; - description "VPI"; - } - uses ATM-VCM-VP; - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-cfg.yang deleted file mode 100644 index 2748e2d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-cfg.yang +++ /dev/null @@ -1,809 +0,0 @@ -module Cisco-IOS-XR-bundlemgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg"; - - - prefix "bundlemgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-rgmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR bundlemgr package configuration. - - This module contains definitions - for the following management objects: - lacp: Link Aggregation Control Protocol commands - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-rgmgr-cfg, - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-16" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bfd-mode { - type enumeration { - enum no-cfg { - value 0; - description "BFD mode not configured on per-bundle basis"; - } - enum cisco { - value 1; - description "BFD mode Cisco"; - } - enum ietf { - value 2; - description "BFD mode IETF"; - } - } - description "Bfd mode"; - } - typedef Churn-logging { - type enumeration { - enum actor { - value 1; - description "Logging for actor churn only"; - } - enum partner { - value 2; - description "Logging for partner churn only"; - } - enum both { - value 3; - description "Logging for actor and partner churn"; - } - } - description "Churn logging"; - } - typedef Bundle-mode { - type enumeration { - enum on { - value 0; - description "On"; - } - enum active { - value 1; - description "Active"; - } - enum passive { - value 2; - description "Passive"; - } - } - description "Bundle mode"; - } - typedef Bundle-minimum-bandwidth-range { - type enumeration { - enum none { - value 0; - description "None"; - } - enum kbps { - value 1; - description "kbps"; - } - enum mbps { - value 2; - description "mbps"; - } - enum gbps { - value 3; - description "gbps"; - } - } - description "Bundle minimum bandwidth range"; - } - typedef Period-short-enum { - type union { - type enumeration { - enum true { - value 1; - description "Use the standard LACP short period (1s)"; - } - } - type uint32 { - range "1..1000"; - } - } - description "Period short enum"; - } - typedef Bundle-cisco-ext-types { - type enumeration { - enum lon-signaling-off { - value 0; - description "LON signaling disabled"; - } - enum lon-signaling-on { - value 1; - description "LON signaling enabled"; - } - } - description "Bundle cisco ext types"; - } - typedef Bundle-cisco-ext { - type empty; - description "Cisco extensions enabled"; - } - typedef Bundle-maximum-active-links-mode { - type enumeration { - enum default { - value 0; - description "Default"; - } - enum hot-standby { - value 1; - description "Hot standby"; - } - } - description "Bundle maximum active links mode"; - } - typedef Mlacp-switchover { - type enumeration { - enum brute-force { - value 1; - description "Brute force shutdown"; - } - enum revertive { - value 2; - description "Revertive behavior"; - } - } - description "Mlacp switchover"; - } - typedef Bundle-load-balance { - type enumeration { - enum default { - value 0; - description "Default hash function used"; - } - enum efp-auto { - value 1; - description - "Send all traffic for this EFP over an - automatically selected member"; - } - enum efp-value { - value 2; - description - "Send all traffic for this EFP over the member - corresponding to the specified hash function"; - } - enum source-ip { - value 3; - description "Load balance according to source IP address"; - } - enum destination-ip { - value 4; - description - "Load balance according to detination IP address"; - } - } - description "Bundle load balance"; - } - typedef Bundle-port-activity { - type enumeration { - enum on { - value 1; - description "On"; - } - enum active { - value 2; - description "Active"; - } - enum passive { - value 3; - description "Passive"; - } - enum inherit { - value 4; - description "Inherit"; - } - } - description "Bundle port activity"; - } - typedef Mlacp-maximize-parameter { - type enumeration { - enum links { - value 1; - description "Maximize the number of operational links"; - } - enum bandwidth { - value 2; - description "Maximize the operational bandwidth"; - } - } - description "Mlacp maximize parameter"; - } - typedef Bundle-period { - type union { - type enumeration { - enum true { - value 1; - description "Use the standard LACP short period (1s)"; - } - } - type uint32 { - range "1..1000"; - } - } - description "Bundle period"; - } - - container lacp { - description "Link Aggregation Control Protocol commands"; - leaf system-mac { - type yang:mac-address; - description "Unique identifier for this system."; - } - leaf system-priority { - type uint32 { - range "1..65535"; - } - default "32768"; - description - "Priority for this system. Lower value is higher - priority."; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container bfd { - description "BFD over bundle members configuration"; - - container address-family { - description - "Configuration of BFDoBM for all address - families"; - - container ipv6 { - description - "Configuration of BFDoBM for IPv6 address - family"; - - container ipv6-timers { - description "Timers associated with BFDoBM"; - leaf ipv6-nbor-unconfig-timer { - type uint32 { - range "60..3600"; - } - description - "IPv6 Timer associated with aggressiveness on - BFD session peer being unconfigured"; - } - leaf ipv6-start-timer { - type uint32 { - range "60..3600"; - } - description - "IPv6 Timer associated with aggressiveness on - BFD session creation"; - } - } - leaf ipv6-destination-address { - type string; - description - "IPv6 Destination address for BFD sessions - created by bundlemgr"; - } - leaf ipv6-detection-multiplier { - type uint32 { - range "2..50"; - } - description - "IPv6 Detection multiplier for BFD sessions - created by bundlemgr"; - } - leaf ipv6-fast-detect { - type empty; - description - "Configure to enable BFD over bundle members"; - } - leaf ipv6-interval { - type uint32 { - range "3..30000"; - } - description - "IPV6 Hello interval for BFD sessions created - by bundlemgr"; - } - } - - container ipv4 { - description - "Configuration of BFDoBM for IPv4 address - family"; - - container echo { - description "Container for Echo min-multiplier"; - leaf min-interval { - type uint32 { - range "15..2000"; - } - description - "Configure echo min-interval for bundle - interface"; - } - } - - container timers { - description "Timers associated with BFDoBM"; - leaf nbor-unconfig-timer { - type uint32 { - range "60..3600"; - } - description - "Timer associated with aggressiveness on BFD - session peer being unconfigured"; - } - leaf start-timer { - type uint32 { - range "60..3600"; - } - description - "Timer associated with aggressiveness on BFD - session creation"; - } - } - leaf interval { - type uint32 { - range "3..30000"; - } - description - "Hello interval for BFD sessions created by - bundlemgr"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions created - by bundlemgr"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description - "Destination address for BFD sessions created - by bundlemgr"; - } - leaf fast-detect { - type empty; - description - "Configure to enable BFD over bundle members"; - } - } - } - leaf mode { - type Bfd-mode; - default "no-cfg"; - description "Configuration of BFDoBM mode [cisco|ietf]"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container bundle { - description "Generic per-bundle configuration"; - - container bundle-load-balancing { - description "Load-balance configuration"; - - container hash-function { - presence "Indicates a hash-function node is configured."; - description "Enable loadbalancing on this Bundle / EFP"; - leaf hash-type { - type Bundle-load-balance; - mandatory true; - description "The specified hash function to use"; - } - leaf hash-value { - type uint32 { - range "1..64"; - } - mandatory true; - description - "The loadbalance hash value selected. For - non-EFP Value methods, this value must be set - to 1."; - } - } - leaf localize-links { - type uint32 { - range "1..64"; - } - description - "Set thresholds for forwarding bundle traffic - within a rack"; - } - } - - container minimum-active { - description "Minimum criteria for a bundle to be active"; - - container bandwidth { - presence "Indicates a bandwidth node is configured."; - description - "Bandwidth (in kbps) needed to bring up a - bundle"; - leaf min-bandwidth-range { - type Bundle-minimum-bandwidth-range; - mandatory true; - description "Minimum Bandwidth Range"; - } - leaf bandwidth { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Bandwidth"; - } - } - leaf links { - type uint32 { - range "1..64"; - } - default "1"; - description - "Number of active links needed to bring up a - bundle"; - } - } - - container maximum-active { - description - "Set a limit on the number of links that can be - active"; - - container links { - presence "Indicates a links node is configured."; - description "Maximum number of active links in a bundle"; - leaf links { - type uint32 { - range "1..64"; - } - mandatory true; - description "Number of active links"; - } - leaf max-active-links-mode { - type Bundle-maximum-active-links-mode; - description "Maximum active links mode"; - } - } - } - leaf lacp-delay { - type uint32 { - range "1000..15000"; - } - description - "Set the lacp-delay timeout for members of this - bundle"; - } - leaf shutdown { - type empty; - description - "Deactivate all member links (down to Standby - state)"; - } - leaf wait-while { - type uint32 { - range "0..2000"; - } - default "2000"; - description - "Set the wait-while timeout for members of this - bundle"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container lacp { - description - "Link Aggregation Control Protocol per-interface - configuration (for bundle or member)"; - - container cisco-extensions { - presence "Indicates a cisco-extensions node is configured."; - description "Enable bundle Cisco extensions"; - leaf cisco-ext { - type Bundle-cisco-ext; - mandatory true; - description "Cisco extensions"; - } - leaf cisco-ext-type { - type Bundle-cisco-ext-types; - description - "Specific Cisco extension to enable / disable"; - } - } - - container timeout { - description "Set timeout values for LACP-related timers"; - leaf rx-default { - type uint32 { - range "0..3000"; - } - description - "Set the timeout between expired and defaulted - states"; - } - leaf actor-churn { - type uint32 { - range "0..120"; - } - description - "The time in milliseconds for which to run the - timer"; - } - leaf partner-churn { - type uint32 { - range "0..120"; - } - description - "Set the timeout to use before declaring - partner churn"; - } - } - leaf system-priority { - type uint32 { - range "1..65535"; - } - description - "System priority for this bundle. Lower value is - higher priority."; - } - leaf period { - type Bundle-period; - description "Lacp period for the bundle."; - } - leaf collector-max-delay { - type uint32 { - range "0..65535"; - } - description - "Collector Max Delay value to signal to the LACP - partner"; - } - leaf lacp-nonrevertive { - type empty; - description "Configure to enable lacp non-revertive mode"; - } - leaf mode { - type Bundle-mode; - description "Lacp mode for the bundle."; - } - leaf fast-switchover { - type empty; - description "Configure to enable the fast-switchover mode"; - } - leaf suppress-flaps { - type uint32 { - range "100..65535"; - } - description - "Suppress flaps on switchover for the specified - period (in ms)"; - } - leaf system-mac { - type yang:mac-address; - description "System identifier for this bundle."; - } - leaf period-short { - type Period-short-enum; - units "millisecond"; - description - "LACP period to request from the partner (LACP - standard short period, or rate in milliseconds - for use with Cisco-specific extensions). - Default is LACP standard long period (30s)."; - } - leaf churn-logging { - type Churn-logging; - description - "Log churn notifications on the specified - system(s)"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container bundle-member { - description "Generic per-member configuration"; - - container id { - description "Add the port to an aggregated interface."; - leaf bundle-id { - type uint32 { - range "1..65535"; - } - description - "Identifier of the bundle to add the port to."; - } - leaf port-activity { - type Bundle-port-activity; - description "Port Activity"; - } - } - leaf port-priority { - type xr:Cisco-ios-xr-port-number; - default "32768"; - description - "Priority for this port. Lower value is higher - priority."; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container mlacp { - description "Multi-chassis LACP configuration"; - - container maximize { - presence "Indicates a maximize node is configured."; - description - "Set parameters to maximize between the mLACP - peers"; - leaf maximize-by { - type Mlacp-maximize-parameter; - mandatory true; - description "The paramenter which should be maximized"; - } - leaf link-threshold { - type uint32 { - range "0..64"; - } - description - "The number of links below which to switch to - the peer if it has more links available. Only - applicable if maximizing by links. If 0, no - threshold is applied."; - } - leaf bandwidth-threshold { - type uint32 { - range "0..4294967295"; - } - description - "The bandwidth (in kbps) below which to switch - to the peer if it has more bandwidth available - . Only applicable if maximizing by bandwidth. - If 0, no threshold is applied."; - } - } - leaf port-priority { - type xr:Cisco-ios-xr-port-number; - default "32768"; - description - "The LACP port priority (lower value is higher - priority)"; - } - leaf recovery-delay { - type uint32 { - range "0..65535"; - } - default "300"; - description - "Set the delay before the bundle becomes active - after recovery from failure"; - } - leaf switchover-type { - type Mlacp-switchover; - description - "Set the type of mLACP switchover to use for - this bundle"; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description - "Specify an ICCP Group in which this bundle - should operate"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a2:redundancy-group-manager/a2:iccp/a2:iccp-groups"+ - "/a2:iccp-group" { - - container mlacp { - description - "Multi-chassis Link Aggregation Control Protocol - commands"; - leaf connect-timeout { - type uint32 { - range "0..65534"; - } - description - "Number of seconds to wait before assuming mLACP - peer is down."; - } - leaf system-mac { - type yang:mac-address; - description "Unique LACP identifier for this system."; - } - leaf node { - type uint32 { - range "0..7"; - } - description - "Unique identifier for this system in the ICCP - Group."; - } - leaf system-priority { - type uint32 { - range "1..65535"; - } - description - "Priority for this system. Lower value is higher - priority."; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-rgmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub1.yang deleted file mode 100644 index 2e660a3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub1.yang +++ /dev/null @@ -1,245 +0,0 @@ -submodule Cisco-IOS-XR-bundlemgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-bundlemgr-oper { - prefix Cisco-IOS-XR-bundlemgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR bundlemgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-22" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bundle-media1 { - type enumeration { - enum ethernet { - value 0; - description "Ethernet"; - } - enum pos { - value 1; - description "POS"; - } - } - description "Bundle media1"; - } - typedef Load-balance { - type enumeration { - enum default { - value 0; - description "Default"; - } - enum auto { - value 1; - description "Auto"; - } - enum value { - value 2; - description "Value"; - } - enum source-ip { - value 3; - description "Source IP"; - } - enum destination-ip { - value 4; - description "Destination IP"; - } - enum unknown { - value 5; - description "Unknown"; - } - } - description "Load balance"; - } - typedef Bundle-media { - type enumeration { - enum bundle-media-ethernet { - value 0; - description "bundle media ethernet"; - } - enum bundle-media-pos { - value 1; - description "bundle media pos"; - } - enum bundle-media-count { - value 2; - description "bundle media count"; - } - } - description "Bundle media"; - } - typedef Bundle-mlacp-mode { - type enumeration { - enum bundle-mlacp-mode-standby { - value 0; - description "bundle mlacp mode standby"; - } - enum bundle-mlacp-mode-active { - value 1; - description "bundle mlacp mode active"; - } - enum bundle-mlacp-mode-count { - value 2; - description "bundle mlacp mode count"; - } - } - description "Bundle mlacp mode"; - } - - grouping BMA-MEMBER-ITEM { - description "BMA MEMBER ITEM"; - leaf interface-name { - type xr:Interface-name; - description "Member interface"; - } - leaf link-id { - type uint8; - description "Member's link ID in database"; - } - leaf link-order-number { - type uint8; - description "Member's link order number in database"; - } - leaf bandwidth { - type uint8; - description "Member's relative bandwidth"; - } - } - - grouping BMA-BUNDLE-DATA { - description "Adjacency info for a single bundle"; - - container brief { - description "Brief bundle data"; - uses BMA-BRIEF-ITEM; - } - - container load-balance-data { - description "Load Balance data"; - uses BMA-LOAD-BALANCE-DATA; - } - leaf media { - type Bundle-media1; - description "Media type of bundle"; - } - leaf max-member-count { - type uint32; - description "Maximum number of members for the bundle"; - } - leaf avoid-rebalance { - type boolean; - description "Avoid rebalancing traffic flows"; - } - - list member { - description "Members of the bundle"; - uses BMA-MEMBER-ITEM; - } - - list sub-interface { - description "Sub-interfaces of the bundle"; - uses BMA-SUBINTF-ITEM; - } - } - - grouping BMA-LOAD-BALANCE-DATA { - description "Load balance settings on a bundle"; - leaf type { - type Load-balance; - description "Type of load balancing to use"; - } - leaf value { - type uint32; - description "Load balance hash value"; - } - leaf local-link-threshold { - type uint32; - description - "Threshold below which rack-local balancing is - disabled"; - } - } - - grouping BMA-SUBINTF-ITEM { - description "BMA SUBINTF ITEM"; - - container load-balance-data { - description "Load balance data"; - uses BMA-LOAD-BALANCE-DATA; - } - leaf interface-name { - type xr:Interface-name; - description "Sub interface"; - } - } - - grouping BMA-BRIEF-ITEM { - description "Brief information for a single bundle"; - leaf interface-name { - type xr:Interface-name; - description "Bundle interface"; - } - leaf sub-interface-count { - type uint32; - description "Number of sub-interfaces on the bundle"; - } - leaf member-count { - type uint32; - description "Number of members configured to the bundle"; - } - leaf total-weight { - type uint32; - description "Total weighting (relative bandwidth) of bundle"; - } - - list sub-interface { - description "Sub-interfaces of the bundle"; - uses BMA-SUBINTF-ITEM; - } - } - - grouping BMA-BRIEF-DATA { - description "BMA BRIEF DATA"; - - list bundle-data { - description "Data for all bundles on node"; - uses BMA-BRIEF-ITEM; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub2.yang deleted file mode 100644 index 537c791..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper-sub2.yang +++ /dev/null @@ -1,3256 +0,0 @@ -submodule Cisco-IOS-XR-bundlemgr-oper-sub2 { - - belongs-to Cisco-IOS-XR-bundlemgr-oper { - prefix Cisco-IOS-XR-bundlemgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-bundlemgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR bundlemgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-22" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bml-timestamp { - type uint64; - description "Bml timestamp"; - } - typedef Bmd-mlacp-mbr-state-enum { - type enumeration { - enum mbr-state-nak { - description "Member info NAK'd"; - } - enum mbr-state-unknown { - description "No member state TLV received"; - } - enum mbr-state-up { - description "Member is up"; - } - enum mbr-state-down { - description "Member is down"; - } - enum mbr-state-admin-down { - description "Member is admin down"; - } - enum mbr-state-test { - description "Member state TLV reported test"; - } - enum mbr-state-error { - description "Member state TLV reported error"; - } - } - description "State of an mLACP device"; - } - typedef Bmd-mlacp-bdl-state-enum { - type enumeration { - enum bdl-state-nak { - description "Bundle info NAK'd"; - } - enum bdl-state-unknown { - description "No bundle state TLV received"; - } - enum bdl-state-no-sync { - description - "No bundle config TLV with sync bit set received"; - } - enum bdl-state-rec-delay { - description "Revertive delay timer running"; - } - enum bdl-state-up { - description "Bundle is up"; - } - enum bdl-state-down { - description "Bundle is down"; - } - enum bdl-state-admin-down { - description "Bundle is admin down"; - } - enum bdl-state-test { - description "Bundle state TLV reported test"; - } - enum bdl-state-error { - description "Bundle state TLV reported error"; - } - } - description "State of an mLACP device"; - } - typedef Bmd-mlacp-node-sync-enum { - type enumeration { - enum node-sync-req { - description "Sync requested of device"; - } - enum node-sync-done { - description "Sync performed by device"; - } - enum node-sync-start { - description "Sync in progress from device"; - } - enum node-sync-init { - description "Initial sync pending from device"; - } - enum node-sync-singleton { - description "Sync not required for singleton groups"; - } - } - description "Synchronization states of an mLACP device"; - } - typedef Bmd-mlacp-node-state-enum { - type enumeration { - enum node-state-incomplete { - description "Missing some mLACP IG config"; - } - enum node-state-conn-rejected { - description "Connection rejected by peer"; - } - enum node-state-connect-sent { - description "Connect timer running"; - } - enum node-state-unconfigured { - description "Missing some ICCP IG config"; - } - enum node-state-unreachable { - description "ICCP declared peer node unreachable"; - } - enum node-state-iccp-down { - description "ICCP declared peer node down"; - } - enum node-state-nak { - description "System info NAK'd"; - } - enum node-state-unknown { - description "No system state TLV received"; - } - enum node-state-mlacp-down { - description "System state TLV reported down"; - } - enum node-state-admin-down { - description "System state TLV reported admin down"; - } - enum node-state-pe-isolated { - description "System is isolated from core network"; - } - enum node-state-error { - description "System state TLV reported error"; - } - enum node-state-test { - description "System state TLV reported test"; - } - enum node-state-up { - description "System is up"; - } - } - description "State of an mLACP device"; - } - typedef Bmd-node-ldp-id { - type Bm-in4-addr; - description "Bmd node ldp id"; - } - typedef Lacp-churnstates { - type enumeration { - enum no-churn { - value 1; - description "The port is synchronized correctly"; - } - enum churn { - value 2; - description - "The port is OutOfSync and the churn timer has - expired"; - } - enum churn-monitor { - value 3; - description - "The port is OutOfSync but the churn timer has - not expired"; - } - } - description "Lacp churnstates"; - } - typedef Rxstates { - type enumeration { - enum current-rx { - value 1; - description "current rx"; - } - enum expired { - value 2; - description "expired"; - } - enum defaulted { - value 3; - description "defaulted"; - } - enum initialize { - value 4; - description "initialize"; - } - enum lacp-disabled { - value 5; - description "lacp disabled"; - } - enum port-disabled { - value 6; - description "port disabled"; - } - } - description "Rxstates"; - } - typedef Lacp-period-state { - type enumeration { - enum period-s-low { - description "Packets are being sent using a long period"; - } - enum period-fast { - description "Packets are being sent using a short period"; - } - enum period-none { - description "Packets are not being sent"; - } - } - description "Lacp period state"; - } - typedef Lacp-sel-state { - type enumeration { - enum unselected { - description "The link is Unselected"; - } - enum standby { - description "The link is Standby"; - } - enum selected { - description "The link is Selected"; - } - } - description "Lacp sel state"; - } - typedef Bm-link-period-value { - type uint32; - description "Bm link period value"; - } - typedef Bm-link-state-bits { - type uint8; - description "Bm link state bits"; - } - typedef Bm-link-number { - type uint16; - description "Bm link number"; - } - typedef Bm-bdl-id { - type uint16; - description "Bm bdl id"; - } - typedef Bmd-bag-event-rg-item { - type enumeration { - enum bmd-event-rg-idb-create { - description "RG structure created"; - } - enum bmd-event-rg-configured { - description "RG configured by user"; - } - enum bmd-event-rg-user-config { - description "User changed the configuration"; - } - enum bmd-event-rg-connect-ion { - description "Connection to peer"; - } - enum bmd-event-rg-data { - description "Data received"; - } - enum bmd-event-rg-sync { - description "Sync performed"; - } - enum bmd-event-rg-first-retry { - description "First retry"; - } - enum bmd-event-rg-error { - description "Last error"; - } - enum bmd-event-rg-mlacp-tlv { - description "mLACP TLV received"; - } - enum bmd-event-rg-iccp-event { - description "ICCP event received"; - } - enum bmd-event-rg-count { - description "Number of RG events"; - } - } - description "Description of an event for a RG"; - } - typedef Bmd-bag-event-bdl-item { - type enumeration { - enum bmd-event-bdl-idb-create { - description "Bundle structure created"; - } - enum bmd-event-bdl-configured { - description "Bundle configured by user"; - } - enum bmd-event-bdl-im-state { - description "Bundle's IM state changed"; - } - enum bmd-event-bdl-mbr-added { - description "Member added to the bundle"; - } - enum bmd-event-bdl-mbr-deleted { - description "Member removed from the bundle"; - } - enum bmd-event-bdl-mac-addr { - description "Bundle's MAC address changed"; - } - enum bmd-event-bdl-first-retry { - description "First retry"; - } - enum bmd-event-bdl-user-config { - description "User changed the configuration"; - } - enum bmd-event-bdl-error { - description "Last error"; - } - enum bmd-event-bdl-mlacp-tlv { - description "mLACP TLV received"; - } - enum bmd-event-bdl-redundancy-role { - description "redundancy role change"; - } - enum bdl-bfd-state-change { - description "BFD state change"; - } - enum bmd-event-bdl-icl { - description "Inter-chassis link mode changed"; - } - enum bmd-event-bdl-count { - description "Number of bundle events"; - } - } - description "Description of an event for a bundle"; - } - typedef Bmd-bag-item-string { - type string; - description "Bmd bag item string"; - } - typedef Bmd-bag-event-data { - type enumeration { - enum bmd-bag-evt-data-none { - description "No additional data"; - } - enum bmd-bag-evt-data-error { - description "Additional data is an error code"; - } - enum bmd-bag-evt-data-string { - description "Additional data is a string"; - } - } - description "Type of additional info for an event"; - } - typedef Bmd-bag-event-mbr-item { - type enumeration { - enum bmd-event-mbr-idb-create { - description "Member structure created"; - } - enum bmd-event-mbr-bdl-add { - description "Added to bundle"; - } - enum bmd-event-mbr-im-state { - description "Member's IM state changed"; - } - enum bmd-event-mbr-sel-logic { - description "Sel logic state changed"; - } - enum bmd-event-mbr-mux { - description "Mux state changed"; - } - enum bmd-event-mbr-bfd { - description "BFD state changed"; - } - enum bmd-event-mbr-expired { - description "Expired"; - } - enum bmd-event-mbr-defaulted { - description "Defaulted"; - } - enum bmd-event-mbr-first-retry { - description "First retry"; - } - enum bmd-event-mbr-msg { - description "Message from BML"; - } - enum bmd-event-mbr-error { - description "Last error"; - } - enum bmd-event-mbr-mlacp-tlv { - description "mLACP TLV received"; - } - enum bmd-event-mbr-redundancy-role { - description "redundancy role change"; - } - enum bmd-event-mbr-count { - description "Number of member events"; - } - } - description "Description of an event for a member"; - } - typedef Bmd-bag-target { - type enumeration { - enum bm-bag-target-mbr { - description "Information for a member"; - } - enum bm-bag-target-bdl { - description "Information for a bundle"; - } - enum bm-bag-target-node { - description "Information for a node"; - } - enum bm-bag-target-rg { - description "Information for an RG"; - } - } - description "Scope of information"; - } - typedef Bmd-switch-reason { - type enumeration { - enum bm-switch-reason-none { - description "Switch is permitted"; - } - enum bm-switch-reason-noop { - description "Switch has no effect"; - } - enum bm-switch-reason-not-mlacp { - description "mLACP not configured"; - } - enum bm-switch-reason-revertive { - description - "Brute-force or revertive switchover is in - effect"; - } - enum bm-switch-reason-bdl-down { - description "Would-be active bundle is not ready"; - } - enum bm-switch-reason-recovery { - description - "Recovery delay in effect, applications may not - be fully synced"; - } - enum bm-switch-reason-preceding-error { - description "Preceding switch action not viable"; - } - enum bm-switch-reason-wrong-order { - description "Switch actions are scheduled incorrectly"; - } - enum bm-switch-reason-singleton { - description "The ICCP group is operating in singleton mode"; - } - } - description "Bmd switch reason"; - } - typedef Bmd-bag-mlacp-sch-action-item { - type enumeration { - enum switchover { - description "mLACP Switchover scheduled"; - } - enum switchback { - description "mLACP Switchback scheduled"; - } - } - description "Description of scheduled actions for a bundle"; - } - typedef Bmd-member-type-enum { - type enumeration { - enum bmd-mbr-local { - value 0; - description - "Member has been configured on the local device"; - } - enum bmd-mbr-foreign { - value 1; - description - "Member has been configured on an mLACP peer - device"; - } - enum bmd-mbr-unknown { - value 2; - description "Member's type is unknown"; - } - } - description "Bmd member type enum"; - } - typedef Bm-muxreason { - type enumeration { - enum bm-mux-reason-no-reason { - value 0; - description - "Selection logic has not yet been run for the - bundle this link is a member of"; - } - enum bm-mux-reason-link-down { - value 1; - description "Link is down"; - } - enum bm-mux-reason-link-deleted { - value 2; - description "Link is being removed from the bundle"; - } - enum bm-mux-reason-duplex { - value 3; - description "Link has wrong duplexity"; - } - enum bm-mux-reason-bandwidth { - value 4; - description "Link has wrong bandwidth"; - } - enum bm-mux-reason-loop-back { - value 5; - description "Link is a loopback interface"; - } - enum bm-mux-reason-activity-type { - value 6; - description "Link has wrong activity type"; - } - enum bm-mux-reason-link-limit { - value 7; - description - "Link's bundle already has maximum number of - members allowed"; - } - enum bm-mux-reason-shared { - value 8; - description "Link is attached to a shared medium"; - } - enum bm-mux-reason-lagid { - value 9; - description "Link has wrong LAG ID"; - } - enum bm-mux-reason-no-bundle { - value 10; - description "Link's bundle does not exist"; - } - enum bm-mux-reason-no-primary { - value 11; - description "Link's bundle has no primary link"; - } - enum bm-mux-reason-bundle-down { - value 12; - description "Link's bundle is shut down"; - } - enum bm-mux-reason-individual { - value 13; - description "Link is marked individual by partner"; - } - enum bm-mux-reason-defaulted { - value 14; - description - "Link is Defaulted, suggesting it is not - receiving LACPDUs from the peer"; - } - enum bm-mux-reason-in-sync { - value 15; - description "Link is in InSync state"; - } - enum bm-mux-reason-collecting { - value 16; - description "Link is in Collecting state"; - } - enum bm-mux-reason-active-link-limit { - value 17; - description "Link exceeds maximum active limit"; - } - enum bm-mux-reason-distributing { - value 18; - description "Link is in Distributing state"; - } - enum bm-mux-reason-count { - value 19; - description "Enumeration maximum value"; - } - } - description "Bm muxreason"; - } - typedef Bmd-member-state { - type enumeration { - enum bmd-mbr-state-configured { - value 1; - description "Member is configured"; - } - enum bmd-mbr-state-standby { - value 2; - description "Member is standby"; - } - enum bmd-mbr-state-hot-standby { - value 3; - description "Member is hot standby"; - } - enum bmd-mbr-state-negotiating { - value 4; - description "Member is negotiating"; - } - enum bmd-mbr-state-bfd-running { - value 5; - description "Member has a BFD session running"; - } - enum bmd-mbr-state-active { - value 6; - description "Member is active"; - } - } - description "Bmd member state"; - } - typedef Bm-severity { - type enumeration { - enum ok { - value 0; - description "OK"; - } - enum information { - value 1; - description "Information"; - } - enum misconfiguration { - value 2; - description "Misconfiguration"; - } - enum warning { - value 3; - description "Warning"; - } - enum error { - value 5; - description "Error"; - } - } - description "Severity of the member state reason"; - } - typedef Bm-state-reason-target { - type enumeration { - enum member-reason { - description "Member applicable reason"; - } - enum bundle-reason { - description "Bundle applicable reason"; - } - } - description "Scope of the state reason"; - } - typedef Bm-mbr-state-reason { - type enumeration { - enum bm-mbr-state-reason-unknown { - value 0; - description "Reason unavailable (diagnostics error)"; - } - enum bm-mbr-state-reason-unselectable-unknown { - value 1; - description "Link cannot be used (unknown reason)"; - } - enum bm-mbr-state-reason-link-down { - value 2; - description "Link is down"; - } - enum bm-mbr-state-reason-link-deleting { - value 3; - description "Link is being removed from the bundle"; - } - enum bm-mbr-state-reason-creating { - value 4; - description "Link is in the process of being created"; - } - enum bm-mbr-state-reason-bundle-creating { - value 5; - description "Bundle is in the process of being created"; - } - enum bm-mbr-state-reason-bundle-deleting { - value 6; - description "Bundle is in the process of being deleted"; - } - enum bm-mbr-state-reason-bundle-admin-down { - value 7; - description "Bundle has been shut down"; - } - enum bm-mbr-state-reason-replicating { - value 8; - description - "Bundle is in the process of being replicated to - this location"; - } - enum bm-mbr-state-reason-bandwidth { - value 9; - description - "Incompatible with other links in the bundle - (bandwidth out of range)"; - } - enum bm-mbr-state-reason-loop-back { - value 10; - description - "Loopback: Actor and Partner have the same - System ID and Key"; - } - enum bm-mbr-state-reason-activity-type { - value 11; - description - "Incompatible with other links in the bundle - (LACP vs non-LACP)"; - } - enum bm-mbr-state-reason-bundle-shutdown { - value 12; - description "Bundle shutdown is configured for the bundle"; - } - enum bm-mbr-state-reason-min-selected { - value 13; - description - "Not enough links available to meet - minimum-active threshold"; - } - enum bm-mbr-state-reason-max-selected { - value 14; - description - "Link is Standby due to maximum-active links - configuration"; - } - enum bm-mbr-state-reason-link-limit { - value 15; - description "Bundle has too many member links configured"; - } - enum bm-mbr-state-reason-active-limit { - value 16; - description - "Bundle has reached maximum supported number of - active links"; - } - enum bm-mbr-state-reason-standby-unknown { - value 17; - description "Link is Standby (unknown reason)"; - } - enum bm-mbr-state-reason-expired { - value 18; - description - "Link is Expired; LACPDUs are not being received - from the partner"; - } - enum bm-mbr-state-reason-defaulted { - value 19; - description - "Link is Defaulted; LACPDUs are not being - received from the partner"; - } - enum bm-mbr-state-reason-act-or-not-agg { - value 20; - description "Link is Not Aggregatable (unknown reason)"; - } - enum bm-mbr-state-reason-partner-not-agg { - value 21; - description - "Partner has marked the link as Not Aggregatable"; - } - enum bm-mbr-state-reason-lagid { - value 22; - description - "Partner System ID/Key do not match that of the - Selected links"; - } - enum bm-mbr-state-reason-bundle-not-cfgd { - value 23; - description - "Bundle interface is not present in - configuration"; - } - enum bm-mbr-state-reason-bundle-not-ready { - value 24; - description "Wait-while timer is running"; - } - enum bm-mbr-state-reason-partner-ood { - value 25; - description - "Partner has not echoed the correct parameters - for this link"; - } - enum bm-mbr-state-reason-partner-not-in-sync { - value 26; - description - "Partner is not Synchronized (Waiting, Standby, - or LAG ID mismatch)"; - } - enum bm-mbr-state-reason-foreign-partner-oos { - value 27; - description - "Partner is not Synchronized (Waiting, not - Selected, or out-of-date)"; - } - enum bm-mbr-state-reason-attach-unknown { - value 28; - description - "Link is Attached and has not gone Collecting - (unknown reason)"; - } - enum bm-mbr-state-reason-partner-not-collecting { - value 29; - description - "Partner has not advertized that it is - Collecting"; - } - enum bm-mbr-state-reason-collect-unknown { - value 30; - description - "Link is Collecting and has not gone - Distributing (unknown reason)"; - } - enum bm-mbr-state-reason-standby-foreign { - value 31; - description "Link is marked as Standby by mLACP peer"; - } - enum bm-mbr-state-reason-bfd-starting { - value 32; - description "Link is waiting for BFD session to start"; - } - enum bm-mbr-state-reason-bfd-down { - value 33; - description "BFD state of this link is Down"; - } - enum bm-mbr-state-reason-bfd-nbr-unconfig { - value 34; - description "BFD session is unconfigured on the remote end"; - } - enum bm-mbr-state-reason-mlacp { - value 35; - description - "Link is not operational as a result of mLACP - negotiations"; - } - enum bm-mbr-state-reason-pe-isolated { - value 36; - description "ICCP group is isolated from the core network"; - } - enum bm-mbr-state-reason-forced-switchover { - value 37; - description "Forced switchover to the mLACP peer"; - } - enum bm-mbr-state-reason-errdis-unknown { - value 38; - description "Link is error disabled (unknown reason)"; - } - enum bm-mbr-state-reason-mlacp-no-mbr-state-info { - value 39; - description - "Waiting for member state information from mLACP - peer"; - } - enum bm-mbr-state-reason-active { - value 40; - description "Link is Active"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-state-info { - value 41; - description - "Waiting for bundle state information from mLACP - peer"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-config-info { - value 42; - description - "Waiting for bundle configuration information - from mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-sync { - value 43; - description - "Waiting for bundle to complete initial - synchronization with mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-bdl-has-no-peer { - value 44; - description "mLACP bundle does not have a peer device"; - } - enum bm-mbr-state-reason-mlacp-nak { - value 45; - description - "Link is being ignored due to an inconsistency - with mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-transport-unavailable { - value 46; - description "ICCP transport is unavailable"; - } - enum bm-mbr-state-reason-mlacp-not-configured { - value 47; - description "ICCP Group is not fully configured"; - } - enum bm-mbr-state-reason-recovery-timer { - value 48; - description "mLACP recovery delay timer is running"; - } - enum bm-mbr-state-reason-mlacp-standby { - value 49; - description "mLACP peer is active"; - } - enum bm-mbr-state-reason-maximized-out { - value 50; - description "mLACP peer has more links/bandwidth available"; - } - enum bm-mbr-state-reason-mlacp-peer-selected { - value 51; - description "mLACP peer has one or more links Selected"; - } - enum bm-mbr-state-reason-mlacp-connect-timer-running { - value 52; - description - "mLACP bundle does not have a peer device - (connect timer running)"; - } - enum bm-mbr-state-reason-bundle-not-mlacp { - value 53; - description "Bundle is not configured to run mLACP"; - } - enum bm-mbr-state-reason-no-lon { - value 54; - description - "Bundle has too many working links configured - (more than the maximum-active limit)"; - } - enum bm-mbr-state-reason-cumul-rel-bw-limit { - value 55; - description - "Additional bandwidth from link would exceed - load balancing capabilities"; - } - enum bm-mbr-state-reason-no-mac { - value 56; - description "No MAC address available for the bundle"; - } - enum bm-mbr-state-reason-no-system-id { - value 57; - description "No system ID available for use by this bundle"; - } - enum bm-mbr-state-reason-link-shutdown { - value 58; - description "Link is shutdown"; - } - enum bm-mbr-state-reason-activity-mlacp { - value 59; - description "Non-LACP link in mLACP bundle"; - } - enum bm-mbr-state-reason-activity-iccp { - value 60; - description "LACP link in inter-chassis bundle"; - } - enum bm-mbr-state-reason-bundle-icpe-mlacp { - value 61; - description - "Parent bundle is both inter-chassis and - configured for mLACP"; - } - enum bm-mbr-state-reason-no-link-num { - value 62; - description - "Too many bundle members in system; no link - number available"; - } - enum bm-mbr-state-reason-standby-peer-higher-prio { - value 63; - description "mLACP peer has a higher priority link"; - } - enum bm-mbr-state-reason-red-state-standby { - value 64; - description "Link is in standby redundancy state"; - } - enum bm-mbr-state-reason-other-red-state-standby { - value 65; - description - "One or more links in the bundle are in standby - redundancy state"; - } - enum bm-mbr-state-reason-hold-ing { - value 66; - description - "Holding down temporary to avoid churn after - restart"; - } - enum bm-mbr-state-reason-bundle-error-disabled { - value 67; - description "Bundle has been error-disabled"; - } - enum bm-mbr-state-reason-bundle-efd-disabled { - value 68; - description "Bundle has been disabled by EFD"; - } - enum bm-mbr-state-reason-singleton-pe-isolated { - value 69; - description - "Singleton ICCP group is isolated from the core - network"; - } - enum bm-mbr-state-reason-bfd-ipv6-starting { - value 70; - description "Link is waiting for BFDv6 session to start"; - } - enum bm-mbr-state-reason-bfd-ipv6-down { - value 71; - description "BFDv6 state of this link is Down"; - } - enum bm-mbr-state-reason-bfd-ipv6-nbr-unconfig { - value 72; - description - "BFDv6 session is unconfigured on the remote end"; - } - enum bm-mbr-state-reason-timer-running { - value 73; - description "LACP delay timer is running"; - } - enum bm-mbr-state-reason-client-bundle-ctrl { - value 74; - description "Client has configured the bundle state Down"; - } - enum bm-mbr-state-reason-count { - value 75; - description "Enumeration maximum value"; - } - } - description "Bm mbr state reason"; - } - typedef Bm-muxstate { - type enumeration { - enum detached { - value 1; - description "Port is not attached to a bundle"; - } - enum waiting { - value 2; - description "Port has chosen bundle and is waiting to join"; - } - enum attached { - value 3; - description "Port is attached to the bundle but not active"; - } - enum collecting { - value 4; - description "Port is ready to receive data"; - } - enum distributing { - value 5; - description "Port is distributing data"; - } - enum collecting-distributing { - value 6; - description "Port is active and can send and receive data"; - } - } - description "Bm muxstate"; - } - typedef Bmd-mlacp-switchover { - type enumeration { - enum bmd-mlacp-switchover-nonrevertive { - value 0; - description "Non-revertive switchover type"; - } - enum bmd-mlacp-switchover-brute-force { - value 1; - description "Brute force switchover type"; - } - enum bmd-mlacp-switchover-revertive { - value 2; - description "Revertive switchover type"; - } - enum bmd-mlacp-switchover-count { - value 3; - description "Number of switchover types"; - } - } - description "Bmd mlacp switchover"; - } - typedef Bm-feature-status { - type enumeration { - enum bm-feature-not-configured { - description "No configuration is applied for a feature"; - } - enum bm-feature-not-operational { - description "The feature is currently not operational"; - } - enum bm-feature-operational { - description "The feature is currently operational"; - } - } - description "Bm feature status"; - } - typedef Bm-bdl-mac-source { - type enumeration { - enum bm-bdl-mac-source-unknown { - description "The MAC is currently unknown"; - } - enum bm-bdl-mac-source-chassis { - description "The MAC was allocated from the chassis pool"; - } - enum bm-bdl-mac-source-configured { - description "The MAC was configured by the user"; - } - enum bm-bdl-mac-source-member { - description "The MAC belongs to a member"; - } - enum bm-bdl-mac-source-peer { - description "The MAC has come from the peer device"; - } - } - description "Bm bdl mac source"; - } - typedef Bm-bdl-state { - type enumeration { - enum bm-bdl-state-admin-down { - description "The bundle has been configured Down"; - } - enum bm-bdl-state-down { - description "The bundle is Down"; - } - enum bm-bdl-state-client-down { - description "The bundle is controlled by CLIENT Down"; - } - enum bm-bdl-state-ptnr-down { - description "The bundle is Down on the partner device"; - } - enum bm-bdl-state-bundle-shutdown { - description "Bundle shutdown has been configured"; - } - enum bm-bdl-state-pe-isolated { - description "The bundle cannot contact the core"; - } - enum bm-bdl-state-nak { - description "The state is disputed by a peer device"; - } - enum bm-bdl-state-up-active { - description "The bundle is Up"; - } - enum bm-bdl-state-mlacp-hot-standby { - description "The bundle is Up, but is mLACP standby"; - } - enum bm-bdl-state-mlacp-cold-standby { - description - "The bundle is mLACP standby, but will not - eliminate traffic loss"; - } - enum bm-bdl-state-unknown { - description "The bundle state has not been determined"; - } - enum bm-bdl-state-cold-standby { - description - "The bundle is standby, but will not eliminate - traffic loss"; - } - enum bm-bdl-state-error-disabled { - description "The bundle has been error-disabled"; - } - enum bm-bdl-state-efd-disabled { - description "The bundle has been disabled by EFD"; - } - } - description "Bm bdl state"; - } - typedef Bm-in6-addr { - type inet:ipv6-address; - description "Bm in6 addr"; - } - typedef Bm-in4-addr { - type inet:ipv4-address; - description "Bm in4 addr"; - } - typedef Bm-af-id { - type enumeration { - enum bm-af-id-ipv4 { - value 1136568623; - description "IPv4 AFI"; - } - enum bm-af-id-ipv6 { - value 1136568624; - description "IPv6 AFI"; - } - } - description "Bm af id"; - } - typedef Bmd-bfd-bdl-state { - type enumeration { - enum bmd-bfd-bdl-down { - description "BFD is down on the bundle"; - } - enum bmd-bfd-bdl-unknown { - description - "BFD has just started on a bundle, and the state - has not been determined"; - } - enum bmd-bfd-bdl-up { - description "BFD is up on the bundle"; - } - enum bmd-bfd-bdl-count { - description "Number of BFD states on a bundle"; - } - } - description "Bmd bfd bdl state"; - } - typedef Bm-which-system { - type enumeration { - enum bm-which-system-actr { - description "Actor"; - } - enum bm-which-system-ptnr { - description "Partner"; - } - } - description "Bm which system"; - } - - grouping LACP-COUNTERS { - description "Statistics for a port using using LACP"; - leaf lacpd-us-received { - type uint32; - description "LACPDUs received"; - } - leaf lacpd-us-transmitted { - type uint32; - description "LACPDUs transmitted"; - } - leaf marker-packets-received { - type uint32; - description "Marker packets received"; - } - leaf marker-responses-transmitted { - type uint32; - description "Marker response packets transmitted"; - } - leaf illegal-packets-received { - type uint32; - description "Illegal and unknown packets received"; - } - leaf excess-lacpd-us-received { - type uint32; - description "LACPDUs received that exceed the rate limit"; - } - leaf excess-marker-packets-received { - type uint32; - description - "Marker packets received that exceed the rate - limit"; - } - leaf defaulted { - type uint32; - description "State flag set to Defaulted"; - } - leaf expired { - type uint32; - description "State flag set to Expired"; - } - leaf time-since-last-lacpdu-received { - type Bml-timestamp; - description "Time elapsed since last LACPDU received (nsec)"; - } - leaf time-since-cleared { - type Bml-timestamp; - description "Time elapsed since counters last cleared (nsec)"; - } - leaf time-since-unexpected-event { - type Bml-timestamp; - description "Time elapsed since last unexpected event (nsec)"; - } - leaf last-cleared-sec { - type uint32; - description "Last time counters cleared (s) (deprecated)"; - } - leaf last-cleared-nsec { - type uint32; - description "Last time counters cleared (nsec) (deprecated)"; - } - } - - grouping LACP-LINK-DATA { - description - "Link properties for a port using LACP - (Deprecated)"; - leaf interface-handle { - type xr:Interface-name; - description "Member's interface handle"; - } - leaf actor-system-priority { - type uint16; - description "System priority of the actor system"; - } - leaf actor-system-mac-address { - type yang:mac-address; - description "MAC Address of the actor system"; - } - leaf actor-operational-key { - type uint16; - description "Operational key for this port"; - } - leaf partner-system-priority { - type uint16; - description "System priority of partner system"; - } - leaf partner-system-mac-address { - type yang:mac-address; - description "MAC Address used to identify the partner system"; - } - leaf partner-operational-key { - type uint16; - description "Operational key for partner port"; - } - leaf selected-aggregator-id { - type uint32; - description "MIB ifindex of selected bundle"; - } - leaf attached-aggregator-id { - type uint32; - description "MIB ifindex of attached bundle"; - } - leaf actor-port-id { - type uint16; - description "Port number of this port"; - } - leaf actor-port-priority { - type uint16; - description "Priority of this port"; - } - leaf partner-port-id { - type uint16; - description "Port number of the partner's port"; - } - leaf partner-port-priority { - type uint16; - description "Priority of the partner's port"; - } - leaf actor-port-state { - type uint8; - description "LACP state of this port"; - } - leaf partner-port-state { - type uint8; - description "LACP state of the partner's port"; - } - } - - grouping LACP-DROPS { - description "Otherwise unaccounted LACP drops for a node"; - leaf wrong-port-count { - type uint32; - description - "LACP protocol packets received on ports with - LACP inactive/off"; - } - leaf last-wrong-port { - type uint32; - description - "Last unrecognized port on which a packet was - received"; - } - leaf unknown-port-count { - type uint32; - description - "Packets received for which rx port could not be - determined"; - } - leaf undecodable-packets { - type uint32; - description "Packets received which could not be decoded"; - } - leaf time-since-cleared { - type Bml-timestamp; - units "nanosecond"; - description - "Time elapsed since counters were last cleared - (in nanoseconds)"; - } - leaf time-since-unexpected-event { - type Bml-timestamp; - units "nanosecond"; - description - "Time elapsed since last unexpected event (in - nanoseconds)"; - } - leaf time-since-last-updated { - type Bml-timestamp; - units "nanosecond"; - description - "Time elapsed since statistics were last updated - (in nanoseconds)"; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR { - description "Per member mLACP TLV counter information"; - - container mlacp-tlv-counters { - description "Counts of mLACP TLVs sent and received"; - uses BMD-BAG-MLACP-TLV-COUNTERS; - } - leaf port-name { - type string; - description "Port name of member"; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE-DATA { - description - "Peer device specific mLACP TLV counter - information"; - leaf node-id { - type uint32; - description "Device ID"; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group ID"; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE { - description "Per peer device mLACP TLV counter information"; - - container node-data { - description "Peer device mLACP TLV counter information"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE-DATA; - } - - container mlacp-sync-requests-on-all-foreign-ports { - description "Counts of mLACP sync request TLVs on all ports"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - - list member-data { - description "Member mLACP TLV counter information"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL-DATA { - description "Bundle specific mLACP TLV counter information"; - - container mlacp-sync-requests-on-all-local-ports { - description "Counts of mLACP sync request TLVs on all ports"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - leaf bundle-name { - type string; - description "Name of the bundle"; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group ID"; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL { - description "Per bundle mLACP TLV counter information"; - - container bundle-data { - description "Bundle mLACP TLV counter information"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL-DATA; - } - - list node-data { - description "Peer device mLACP TLV counter information"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE; - } - - list member-data { - description "Local member mLACP TLV counter information"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR; - } - } - - grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG { - description "mLACP counter information for multiple items"; - - list items { - description "mLACP counter information items"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL; - } - } - - grouping LACP-SYSTEM-ID { - description "LACP System identification information"; - - container system-id { - description "System ID"; - uses BM-SYSTEM-ID-TYPE; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group that the system ID is for"; - } - leaf system-priority { - type uint16; - description "Priority of the system (deprecated)"; - } - leaf system-mac-address { - type yang:mac-address; - description - "MAC Address used to identify the system - (deprecated)"; - } - } - - grouping BMD-BAG-MLACP-ICCP-EVENT-COUNTERS { - description "Counts of ICCP events"; - leaf transport-up { - type uint32; - description "Number of transport up events"; - } - leaf transport-down { - type uint32; - description "Number of transport down events"; - } - leaf transport-unavailable { - type uint32; - description "Number of transport unavailable events"; - } - leaf configured-set { - type uint32; - description "Number of configure events"; - } - leaf configured-clear { - type uint32; - description "Number of unconfigure events"; - } - leaf reachability-set { - type uint32; - description "Number of reachability events"; - } - leaf reachability-cleared { - type uint32; - description "Number of reachability cleared events"; - } - leaf member-status-up { - type uint32; - description "Number of member status up events"; - } - leaf member-status-down { - type uint32; - description "Number of member status down events"; - } - leaf pe-isolated { - type uint32; - description "Number of PE isolation events"; - } - leaf pe-isolated-clear { - type uint32; - description "Number of PE isolation cleared events"; - } - } - - grouping BMD-BAG-MLACP-ICCP-MSG-COUNTERS { - description "Counts of ICCP messages"; - leaf sent-messages { - type uint32; - description "Number of messages sent"; - } - leaf sent-buffer-messages { - type uint32; - description - "Number of buffers sent (may be multiple per - message)"; - } - leaf received-messages { - type uint32; - description "Number of messages received"; - } - leaf transmission-errors { - type uint32; - description "Number of transmission errors"; - } - } - - grouping BMD-BAG-MLACP-INVALID-TLV-COUNTERS { - description "Counts of invalid TLVs received"; - leaf incorrect-length { - type uint32; - description - "Number of messages received of an incorrect - length"; - } - leaf invalid-type { - type uint32; - description - "Number of messages received with an invalid - mLACP TLV type"; - } - leaf invalid-data { - type uint32; - description - "Number of messages received containing invalid - data"; - } - leaf unknown-bundle { - type uint32; - description - "Number of messages received for an unknown - bundle"; - } - leaf unknown-port { - type uint32; - description "Number of messages received for an unknown port"; - } - } - - grouping BMD-BAG-MLACP-RG-TLV-COUNTERS { - description "Counts of ICCP level TLVs"; - leaf sent-config { - type uint32; - description "Number of config TLVs sent"; - } - leaf received-config { - type uint32; - description "Number of config TLVs received"; - } - leaf sent-state { - type uint32; - description "Number of state TLVs sent"; - } - leaf received-state { - type uint32; - description "Number of state TLVs received"; - } - leaf sent-na-ks { - type uint32; - description "Number of NAK TLVs sent"; - } - leaf received-na-ks { - type uint32; - description "Number of NAK TLVs received"; - } - leaf sent-sync-requests { - type uint32; - description "Number of sync request TLVs sent"; - } - leaf received-sync-requests { - type uint32; - description "Number of sync request TLVs received"; - } - leaf sent-state-sync-requests { - type uint32; - description "Number of state sync request TLVs sent"; - } - leaf received-state-sync-requests { - type uint32; - description "Number of state sync request TLVs received"; - } - leaf sent-config-sync-requests { - type uint32; - description "Number of config sync request TLVs sent"; - } - leaf received-config-sync-requests { - type uint32; - description "Number of state config request TLVs received"; - } - leaf sent-solicited-sync-data { - type uint32; - description "Number of solicited sync data TLVs sent"; - } - leaf received-solicited-sync-data { - type uint32; - description "Number of solicited sync data TLVs received"; - } - leaf sent-unsolicited-sync-data { - type uint32; - description "Number of unsolicited sync data TLVs sent"; - } - leaf received-unsolicited-sync-data { - type uint32; - description "Number of unsolicited sync data TLVs received"; - } - } - - grouping BMD-BAG-MLACP-CONNECTION-COUNTERS { - description "Counts of connection events"; - leaf sent-connects { - type uint32; - description "Number of connect TLVs sent"; - } - leaf received-connects { - type uint32; - description "Number of connect TLVs received"; - } - leaf iccp-invalid-connects { - type uint32; - description "Number of invalid ICCP connects"; - } - leaf iccp-config-connect-errors { - type uint32; - description "Number of ICCP connection errors due to config"; - } - leaf iccp-count-connect-errors { - type uint32; - description - "Number of ICCP connection errors due to max ICCP - group count"; - } - leaf sent-wrong-versions { - type uint32; - description "Number of wrong version TLVs sent"; - } - leaf received-wrong-versions { - type uint32; - description "Number of wrong version TLVs received"; - } - leaf sent-disconnects { - type uint32; - description "Number of disconnect TLVs sent"; - } - leaf received-disconnects { - type uint32; - description "Number of disconnect TLVs received"; - } - leaf iccp-invalid-disconnects { - type uint32; - description "Number of invalid ICCP disconnects"; - } - } - - grouping BMD-BAG-RG-INFO-MLACP-COUNTERS { - description "ICCP group mLACP counters"; - - container connection { - description "Number of connection events"; - uses BMD-BAG-MLACP-CONNECTION-COUNTERS; - } - - container tl-vs { - description "Number TLVs sent and received"; - uses BMD-BAG-MLACP-RG-TLV-COUNTERS; - } - - container invalid-tl-vs { - description "Number invalid TLVs received"; - uses BMD-BAG-MLACP-INVALID-TLV-COUNTERS; - } - - container iccp-messages { - description "Number ICCP messages sent and received"; - uses BMD-BAG-MLACP-ICCP-MSG-COUNTERS; - } - - container iccp-events { - description "Number of ICCP events"; - uses BMD-BAG-MLACP-ICCP-EVENT-COUNTERS; - } - leaf last-time-cleared { - type uint64; - units "nanosecond"; - description - "Time in nsecs from boot when counters were last - cleared (deprecated)"; - } - leaf time-since-cleared { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since counters were last - cleared"; - } - leaf last-unexpected-event { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since last unexpected - event"; - } - } - - grouping BMD-BAG-RG-INFO-MLACP-COUNTERS-RG { - description "mLACP counter information for an ICCP group"; - - container iccp-group-counters { - description "ICCP Group counters"; - uses BMD-BAG-RG-INFO-MLACP-COUNTERS; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group ID"; - } - } - - grouping BMD-EVENT-BAG-MULTIPLE { - description "Bag for returning data about events"; - - list events-item { - description "Event items"; - uses BMD-EVENT-BAG; - } - } - - grouping BM-MAC-ALLOC { - description "Data on MAC address allocation"; - - list mac-address { - description "MAC addresses allocated but unused"; - uses BM-MAC-ADDR-ST; - } - } - - grouping MLACP-MBR-INFO-TYPE { - description "Information for a member"; - leaf port-name { - type string; - description "Port Name"; - } - leaf interface-handle { - type xr:Interface-name; - description - "Member's interface handle (local device's - members only)"; - } - leaf mlacp-node-id { - type uint8; - description "mLACP Device ID"; - } - leaf port-number { - type uint16; - description "Port number of the member"; - } - leaf operational-priority { - type uint16; - description - "Operational priority of the member in the bundle"; - } - leaf configured-priority { - type uint16; - description "Configured priority of the member in the bundle"; - } - leaf member-state { - type Bmd-mlacp-mbr-state-enum; - description "Member state"; - } - } - - grouping MLACP-BDL-INFO-TYPE { - description "Information for a bundle"; - - container mac-address { - description "Bundle MAC address"; - uses BM-MAC-ADDR-ST; - } - leaf bundle-name { - type string; - description "Bundle name"; - } - leaf mlacp-node-id { - type uint8; - description "mLACP Device ID"; - } - leaf aggregator-id { - type uint16; - description "Bundle aggregrator ID"; - } - leaf bundle-state { - type Bmd-mlacp-bdl-state-enum; - description "Bundle state"; - } - leaf port-priority { - type uint16; - description "Bundle port priority"; - } - } - - grouping BMD-BAG-MLACP-BDL { - description "mLACP information for a bundle"; - leaf bundle-interface-key { - type uint16; - description "Bundle interface key"; - } - leaf media-type { - type Bundle-media; - description "The media type of the bundle interface"; - } - leaf redundancy-object-id { - type uint64; - description "Redundancy Object ID of the bundle"; - } - - list mlacp-bundle-data { - description "mLACP information for the bundle"; - uses MLACP-BDL-INFO-TYPE; - } - - list mlacp-member-data { - description "mLACP information for the member"; - uses MLACP-MBR-INFO-TYPE; - } - } - - grouping MLACP-RG-NODE-INFO-TYPE { - description "LACP information for an RG"; - - container system-id { - description "System ID for the ICCP Group"; - uses BM-SYSTEM-ID-TYPE; - } - leaf mlacp-node-id { - type uint8; - description "mLACP Device ID"; - } - leaf ldp-id { - type Bmd-node-ldp-id; - description "LDP ID of the device"; - } - leaf version-number { - type uint32; - description "Version of the protocol being used"; - } - leaf node-state { - type Bmd-mlacp-node-state-enum; - description "Node state"; - } - leaf iccp-group-state { - type Bmd-mlacp-node-sync-enum; - description "Node synchronization state"; - } - } - - grouping BMD-BAG-MLACP-RG { - description "mLACP information for an RG"; - leaf iccp-group-id { - type uint32; - description "ICCP Group that the mLACP information is for"; - } - leaf singleton { - type boolean; - description - "Is the ICCP group in singleton mode (1 = - singleton; 0 = not singleton)"; - } - leaf connect-timer-running { - type uint64; - units "nanosecond"; - description "Time remaining on connect timer innsecs"; - } - - list node-data { - description - "Information for the IG from the local and peer - devices"; - uses MLACP-RG-NODE-INFO-TYPE; - } - } - - grouping BMD-BAG-MLACP-DATA { - description - "Combined mLACP information for bundle and ICCP - Group"; - - container iccp-group-data { - description "ICCP Group information"; - uses BMD-BAG-MLACP-RG; - } - - list bundle-data { - description "Bundle information"; - uses BMD-BAG-MLACP-BDL; - } - } - - grouping BMD-BAG-MLACP-DATA-MULTIPLE { - description - "Combined mLACP information for bundle and ICCP - Group"; - - list mlacp-data { - description "mLACP data for multiple ICCP Groups"; - uses BMD-BAG-MLACP-DATA; - } - } - - grouping BMD-BAG-PROT-MBR-INFO { - description "Protect information for a member"; - leaf interface-handle { - type xr:Interface-name; - description "Member's interface handle"; - } - leaf underlying-link-id { - type uint16; - description "Member's underlying link ID"; - } - leaf link-order-number { - type uint16; - description "Member's link order number"; - } - leaf bandwidth { - type uint32; - description "Member's bandwidth"; - } - leaf node { - type xr:Node-id; - description "Member's node ID"; - } - leaf active { - type boolean; - description "Member is active within its bundle"; - } - leaf notification-received { - type boolean; - description "Received a notification on the member"; - } - leaf slow-path-up { - type boolean; - description "Member is up in the slow path"; - } - leaf time-stamp { - type uint64; - description "Last event for the member"; - } - } - - grouping BMD-BAG-PROT-BDL-INFO { - description "Protect information for a bundle"; - leaf bundle-interface-handle { - type xr:Interface-name; - description "Bundle's interface handle"; - } - leaf interface-up { - type boolean; - description "Whether the bundle interface is up"; - } - leaf registered { - type boolean; - description - "Whether there is a client protect registration - on the bundle interface"; - } - leaf slow-path-up { - type boolean; - description "Bundle is up in the slow path"; - } - leaf slow-path-trigger { - type boolean; - description - "Whether the last protect trigger originated in - the slow path"; - } - leaf minimum-active-links { - type uint32; - description "Minimum active links threshold"; - } - leaf minimum-bandwidth { - type uint32; - description "Minimum bandwidth threshold"; - } - leaf event-type { - type Bmd-bag-target; - description - "Scope of the last event that impacted the bundle"; - } - leaf time-stamp { - type uint64; - description "Last event for the bundle"; - } - - list member-info { - description "Information about the members"; - uses BMD-BAG-PROT-MBR-INFO; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-MULTIPLE { - description - "mLACP counter information for multiple ICCP - groups"; - - list iccp-group { - description "ICCP Group mLACP TLV counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE-DATA { - description - "Peer device specific mLACP TLV counter - information"; - - container mlacp-sync-requests-on-all-foreign-ports { - description "Counts of mLACP sync request TLVs on all ports"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - - container mlacp-sync-requests-on-all-foreign-bundles { - description - "Counts of mLACP sync request TLVs on all bundles"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - leaf node-id { - type uint32; - description "Device ID"; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE { - description "Per peer device mLACP TLV counter information"; - - container node-data { - description "Peer device mLACP TLV counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE-DATA; - } - - list bundle-data { - description - "Peer device bundle mLACP TLV counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL; - } - } - - grouping BMD-BAG-MLACP-SYNC-RQST-COUNTERS { - description "Counts of mLACP sync request TLVs received"; - - container received-sync-requests { - description "Number of mLACP sync request TLVs received"; - uses BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD; - } - leaf last-time-cleared { - type uint64; - units "nanosecond"; - description - "Time in nsecs from boot when counters were last - cleared (deprecated)"; - } - leaf time-since-cleared { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since counters were last - cleared"; - } - } - - grouping OPTIONAL-SYNC-REQUEST-COUNTERS { - description "Optional sync request counters field"; - uses BMD-BAG-MLACP-SYNC-RQST-COUNTERS; - } - - grouping BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD { - description "Counts of mLACP sync request TLVs received"; - leaf all-syncs { - type uint32; - description "Total number of sync requests received"; - } - leaf config-syncs { - type uint32; - description "Number of config sync requests received"; - } - leaf state-syncs { - type uint32; - description "Number of state sync requests received"; - } - } - - grouping BMD-BAG-MLACP-TLV-COUNTERS { - description "Counts of mLACP TLVs sent and received"; - - container received-sync-requests { - description "Number of mLACP sync request TLVs received"; - uses BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD; - } - leaf sent-config-tl-vs { - type uint32; - description "Number of mLACP config TLVs sent"; - } - leaf sent-state-tl-vs { - type uint32; - description "Number of mLACP state TLVs sent"; - } - leaf sent-priority-tl-vs { - type uint32; - description "Number of mLACP priority TLVs sent"; - } - leaf received-priority-tl-vs { - type uint32; - description "Number of mLACP priority TLVs received"; - } - leaf received-nak-tl-vs { - type uint32; - description "Number of mLACP NAK TLVs received"; - } - leaf last-time-cleared { - type uint64; - units "nanosecond"; - description - "Time in nsecs from boot when counters were last - cleared (deprecated)"; - } - leaf time-since-cleared { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since counters were last - cleared"; - } - leaf last-unexpected-event { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since last unexpected - event"; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL { - description "Per bundle mLACP TLV counter information"; - - container mlacp-tlv-counters { - description "Counts of mLACP TLVs sent and received"; - uses BMD-BAG-MLACP-TLV-COUNTERS; - } - leaf bundle-name { - type string; - description "Bundle name"; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-DATA { - description "ICCP group specific mLACP TLV counter information"; - - container mlacp-sync-requests-on-all-local-ports { - description "Counts of mLACP sync request TLVs on all ports"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - - container mlacp-sync-requests-on-all-local-bundles { - description - "Counts of mLACP sync request TLVs on all bundles"; - uses OPTIONAL-SYNC-REQUEST-COUNTERS; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group ID"; - } - - list bundle-data { - description "Local device bundle mLACP counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL; - } - } - - grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG { - description "ICCP group mLACP counter information"; - - container iccp-group-data { - description "ICCP Group mLACP TLV counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-DATA; - } - - list node-data { - description "Peer device bundle mLACP counter information"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE; - } - } - - grouping LACP-LINK-ADDITIONAL-INFO-FOREIGN-TYPE { - description "Additional information for a foreign LACP link"; - leaf peer-address { - type Bmd-node-ldp-id; - description - "The LDP address of the device that the link is - configured on"; - } - leaf member-name { - type string; - description "Member's (short form) name"; - } - } - - grouping LACP-LINK-ADDITIONAL-INFO-LOCAL-TYPE { - description "Additional information for a local LACP link"; - leaf interface-handle { - type xr:Interface-name; - description "Member's interface handle"; - } - } - - grouping LACP-LINK-ADDITIONAL-INFO { - description - "Additional information for the link that is - dependent on type"; - - container local { - when "../mbr-type = 'bmd-mbr-local'" { - description "../MbrType = 'BMD_MBR_LOCAL'"; - } - description "Information for a local port"; - uses LACP-LINK-ADDITIONAL-INFO-LOCAL-TYPE; - } - - container foreign { - when "../mbr-type = 'bmd-mbr-foreign'" { - description "../MbrType = 'BMD_MBR_FOREIGN'"; - } - description "Information for a foreign port"; - uses LACP-LINK-ADDITIONAL-INFO-FOREIGN-TYPE; - } - leaf mbr-type { - type Bmd-member-type-enum; - description "MbrType"; - } - } - - grouping BM-LINK-ID-TYPE { - description "BM LINK ID TYPE"; - leaf link-priority { - type uint16; - description "link priority"; - } - leaf link-number { - type Bm-link-number; - description "link number"; - } - } - - grouping BM-LACP-PORT-INFO-TYPE { - description "BM LACP PORT INFO TYPE"; - - container system { - description "system"; - uses BM-SYSTEM-ID-TYPE; - } - - container port { - description "port"; - uses BM-LINK-ID-TYPE; - } - leaf key { - type Bm-bdl-id; - description "key"; - } - leaf state { - type Bm-link-state-bits; - description "state"; - } - } - - grouping LACP-LINK-DEVICE-INFO-TYPE { - description "Link properties for a port from a device"; - - container port-info { - description "LACP parameters for this device"; - uses BM-LACP-PORT-INFO-TYPE; - } - leaf tx-period { - type Bm-link-period-value; - description "Time (in ms) between transmitting LACPDUs"; - } - } - - grouping LACP-MBR-DATA { - description "Link properties for a port using LACP"; - - container actor-info { - description "LACP information for the port from the actor"; - uses LACP-LINK-DEVICE-INFO-TYPE; - } - - container partner-info { - description "LACP information for the port from the partner"; - uses LACP-LINK-DEVICE-INFO-TYPE; - } - - container additional-info { - description "Additional information for the link"; - uses LACP-LINK-ADDITIONAL-INFO; - } - leaf selected-aggregator-id { - type uint32; - description "MIB ifindex of selected bundle"; - } - leaf attached-aggregator-id { - type uint32; - description "MIB ifindex of attached bundle"; - } - leaf selection-state { - type Lacp-sel-state; - description "State of the Selection Logic state machine"; - } - leaf period-state { - type Lacp-period-state; - description "State of the Period state machine"; - } - leaf receive-machine-state { - type Rxstates; - description "State of the RX state machine"; - } - leaf mux-state { - type Bm-muxstate; - description "State of the Mux state machine"; - } - leaf actor-churn-state { - type Lacp-churnstates; - description "State of the Churn state machine for the Actor"; - } - leaf partner-churn-state { - type Lacp-churnstates; - description - "State of the Churn state machine for the Partner"; - } - leaf iccp-group-id { - type uint32; - description - "The ID of the ICCP group that the link is - configured on"; - } - } - - grouping LACP-COMBINED-DATA { - description "LACP COMBINED DATA"; - - container bundle-data { - description "Bundle information"; - uses LACP-BUNDLE-DATA; - } - - list member-data { - description "Member information"; - uses LACP-MBR-DATA; - } - } - - grouping BMD-BAG-EVENT-ITEM-RG { - description "A single event item for an RG"; - - container data { - description "Additional data for the event"; - uses BMD-BAG-EVENT-DATA; - } - leaf rg-event-type { - type Bmd-bag-event-rg-item; - description "Type of event for RG"; - } - leaf time-stamp { - type uint64; - description "Time stamp of the event"; - } - } - - grouping BMD-BAG-EVENT-ITEM-BDL { - description "A single event item for a bundle"; - - container data { - description "Additional data for the event"; - uses BMD-BAG-EVENT-DATA; - } - leaf bundle-event-type { - type Bmd-bag-event-bdl-item; - description "Type of event for bundle"; - } - leaf time-stamp { - type uint64; - description "Time stamp of the event"; - } - } - - grouping BMD-BAG-EVENT-DATA { - description "Additional data for an event"; - leaf data-type { - type Bmd-bag-event-data; - description "DataType"; - } - leaf no-data { - when "../data-type = 'bmd-bag-evt-data-none'" { - description "../DataType = 'BMD_BAG_EVT_DATA_NONE'"; - } - type uint8; - description "NoData"; - } - leaf error { - when "../data-type = 'bmd-bag-evt-data-error'" { - description "../DataType = 'BMD_BAG_EVT_DATA_ERROR'"; - } - type uint32; - description "Error"; - } - leaf string-data { - when "../data-type = 'bmd-bag-evt-data-string'" { - description "../DataType = 'BMD_BAG_EVT_DATA_STRING'"; - } - type Bmd-bag-item-string; - description "StringData"; - } - } - - grouping BMD-BAG-EVENT-ITEM-MBR { - description "A single event item for a member"; - - container data { - description "Additional data for the event"; - uses BMD-BAG-EVENT-DATA; - } - leaf member-event-type { - type Bmd-bag-event-mbr-item; - description "Type of event for member"; - } - leaf time-stamp { - type uint64; - description "Time stamp of the event"; - } - } - - grouping BMD-BAG-EVENT-ITEM { - description "Event item"; - - container member-evt-info { - when "../event-type = 'bm-bag-target-mbr'" { - description "../EventType = 'BM_BAG_TARGET_MBR'"; - } - description "Event information for a member"; - uses BMD-BAG-EVENT-ITEM-MBR; - } - - container bundle-evt-info { - when "../event-type = 'bm-bag-target-bdl'" { - description "../EventType = 'BM_BAG_TARGET_BDL'"; - } - description "Event information for a bundle"; - uses BMD-BAG-EVENT-ITEM-BDL; - } - - container rg-evt-info { - when "../event-type = 'bm-bag-target-rg'" { - description "../EventType = 'BM_BAG_TARGET_RG'"; - } - description "Event information for an RG"; - uses BMD-BAG-EVENT-ITEM-RG; - } - leaf event-type { - type Bmd-bag-target; - description "EventType"; - } - } - - grouping BMD-EVENT-BAG { - description "Bag for returning data about events"; - leaf item-name { - type string; - description "Name for the current item to use"; - } - - list items { - description "Event items"; - uses BMD-BAG-EVENT-ITEM; - } - } - - grouping BM-BUNDLE-COMBINED-DATA { - description "BM BUNDLE COMBINED DATA"; - - container bundle-data { - description "Bundle information"; - uses BM-BUNDLE-DATA; - } - - list member-data { - description "Member information"; - uses BM-MEMBER-DATA; - } - } - - grouping BMD-BAG-MLACP-SCH-ACTION { - description "Bag for returning data about scheduled actions"; - leaf mlacp-action { - type Bmd-bag-mlacp-sch-action-item; - description "Type of mLACP scheduled action for a bundle"; - } - leaf time-remaining { - type uint64; - units "second"; - description "Seconds left before action"; - } - leaf action-state { - type Bmd-switch-reason; - description "Details whether the switch action is viable"; - } - } - - grouping BMD-SCH-ACTION-BAG { - description "Bag for returning data about scheduled actions"; - leaf bundle-name { - type string; - description "Name of the bundle"; - } - - list scheduled-action { - description "Scheduled actions"; - uses BMD-BAG-MLACP-SCH-ACTION; - } - } - - grouping BMD-BFD-COUNTER-BAG { - description "BFD events"; - leaf member-name { - type string; - description "Name of the member this information is for"; - } - leaf last-time-cleared { - type uint64; - description - "Timestamp when counters were last cleared - (deprecated)"; - } - leaf starting { - type uint32; - description - "Number of times member state changed to starting"; - } - leaf up { - type uint32; - description "Number of times member state changed to up"; - } - leaf down { - type uint32; - description "Number of times member state changed to down"; - } - leaf neighbor-unconfigured { - type uint32; - description - "Number of times member state changed to neighbor - unconfigured"; - } - leaf start-timeouts { - type uint32; - description "Number of timeouts waiting for BFD to start"; - } - leaf neighbor-unconfigured-timeouts { - type uint32; - description - "Number of timeouts waiting for neighbor to - become unconfigured"; - } - leaf time-since-cleared { - type uint64; - units "nanosecond"; - description - "Elapsed time in nsecs since counters were last - cleared"; - } - } - - grouping BM-NAME-BAG { - description "Item Name"; - leaf item-name { - type string; - description "Name of item"; - } - } - - grouping BMD-BFD-COUNTER-BAG-MULTIPLE { - description "BFD events"; - - container bundle-name { - description "Name of the bundle this information is for"; - uses BM-NAME-BAG; - } - - list bfd-counter { - description "BFD event counters"; - uses BMD-BFD-COUNTER-BAG; - } - } - - grouping BM-MBR-STATE-REASON-DATA-TYPE { - description "Additional member state reason data"; - leaf reason-type { - type Bm-state-reason-target; - description "The item the reason applies to"; - } - leaf severity { - type Bm-severity; - description "The severity of the reason"; - } - } - - grouping BM-MUX-DATA { - description "BM MUX DATA"; - - container member-mux-state-reason-data { - description - "Data regarding the reason for last Mux state - change"; - uses BM-MBR-STATE-REASON-DATA-TYPE; - } - leaf mux-state { - type Bm-muxstate; - description "Current state of this bundle member"; - } - leaf error { - type uint32; - description - "Internal value indicating if an error occurred - trying to put a link into the desired state"; - } - leaf member-mux-state-reason { - type Bm-mbr-state-reason; - description "Reason for last Mux state change"; - } - leaf member-state { - type Bmd-member-state; - description "Current internal state of this bundle member"; - } - leaf mux-state-reason { - type Bm-muxreason; - description "Reason for last Mux state change (Deprecated)"; - } - } - - grouping BM-LACP-LINK-DATA { - description "Link properties for a port using LACP "; - leaf interface-handle { - type xr:Interface-name; - description "Member's interface handle"; - } - leaf actor-system-priority { - type uint16; - description "System priority of actor system"; - } - leaf actor-system-mac-address { - type yang:mac-address; - description "MAC Address of the actor system"; - } - leaf actor-operational-key { - type uint16; - description "Operational key for this port"; - } - leaf partner-system-priority { - type uint16; - description "System priority of partner system"; - } - leaf partner-system-mac-address { - type yang:mac-address; - description "MAC Address used to identify the partner system"; - } - leaf partner-operational-key { - type uint16; - description "Operational key for partner port"; - } - leaf selected-aggregator-id { - type uint32; - description "MIB ifindex of selected bundle"; - } - leaf attached-aggregator-id { - type uint32; - description "MIB ifindex of attached bundle"; - } - leaf actor-port-id { - type uint16; - description "Port number of this port"; - } - leaf actor-port-priority { - type uint16; - description "Priority of this port"; - } - leaf partner-port-id { - type uint16; - description "Port number of the partner's port"; - } - leaf partner-port-priority { - type uint16; - description "Priority of the partner's port"; - } - leaf actor-port-state { - type uint8; - description "LACP state of this port"; - } - leaf partner-port-state { - type uint8; - description "LACP state of the partner's port"; - } - } - - grouping BM-LACP-COUNTERS { - description "Statistics for a port using using LACP"; - leaf lacpd-us-received { - type uint32; - description "LACPDUs received"; - } - leaf lacpd-us-transmitted { - type uint32; - description "LACPDUs transmitted"; - } - leaf marker-packets-received { - type uint32; - description "Marker packets received"; - } - leaf marker-responses-transmitted { - type uint32; - description "Marker response packets transmitted"; - } - leaf illegal-packets-received { - type uint32; - description "Illegal and unknown packets received"; - } - leaf excess-lacpd-us-received { - type uint32; - description "LACPDUs received that exceed the rate limit"; - } - leaf excess-marker-packets-received { - type uint32; - description - "Marker packets received that exceed the rate - limit"; - } - leaf defaulted { - type uint32; - description "State flag set to Defaulted"; - } - leaf expired { - type uint32; - description "State flag set to Expired"; - } - leaf last-cleared-sec { - type uint32; - description "Last time counters cleared (s) (deprecated)"; - } - leaf last-cleared-nsec { - type uint32; - description "Last time counters cleared (nsec) (deprecated)"; - } - } - - grouping BM-MEMBER-DATA { - description "Bundle member data for any member"; - - container counters { - description "Counters data about member link"; - uses BM-LACP-COUNTERS; - } - - container link-data { - description "Lacp data about member link"; - uses BM-LACP-LINK-DATA; - } - - container member-mux-data { - description "Mux state machine data"; - uses BM-MUX-DATA; - } - - container mac-address { - description "MAC address of this member (deprecated)"; - uses BM-MAC-ADDR-ST; - } - leaf interface-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type xr:Interface-name; - description "Member's interface name"; - } - leaf port-priority { - type uint16; - description "The priority of this member"; - } - leaf port-number { - type uint16; - description "Member's link number"; - } - leaf underlying-link-id { - type uint16; - description "Member's underlying link ID"; - } - leaf link-order-number { - type uint16; - description "Member's link order number"; - } - leaf iccp-node { - type uint32; - description "Location of member"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth of this member (kbps)"; - } - leaf lacp-enabled { - type string; - description "Boolean indicating LACP enabled or not"; - } - leaf member-type { - type Bmd-member-type-enum; - description "Member's type (local/foreign)"; - } - leaf member-name { - type string; - description "Member's (short form) name"; - } - } - - grouping ETHER-MACADDR-TYPE { - description "ETHER MACADDR TYPE"; - leaf macaddr { - type yang:hex-string; - description "macaddr"; - } - } - - grouping BM-SYSTEM-ID-TYPE { - description "BM SYSTEM ID TYPE"; - - container system-mac-addr { - description "MAC Address used to identify the system"; - uses ETHER-MACADDR-TYPE; - } - leaf system-prio { - type uint16; - description "Priority of the system"; - } - } - - grouping BM-ADDR { - description "BM ADDR"; - leaf af { - type Bm-af-id; - description "AF"; - } - leaf ipv4 { - when "../af = 'bm-af-id-ipv4'" { - description "../AF = 'BM_AF_ID_IPV4'"; - } - type Bm-in4-addr; - description "IPv4 address type"; - } - leaf ipv6 { - when "../af = 'bm-af-id-ipv6'" { - description "../AF = 'BM_AF_ID_IPV6'"; - } - type Bm-in6-addr; - description "IPv6 address type"; - } - } - - grouping BM-BUNDLE-BFD-DATA-TYPE { - description "BM BUNDLE BFD DATA TYPE"; - - container destination-address { - description "Configured destination address for BFD session"; - uses BM-ADDR; - } - leaf bundle-status { - type Bmd-bfd-bdl-state; - description "Status of BFD on the bundle"; - } - leaf start-timer { - type uint32; - description - "Time to wait on session start before declaring - DOWN"; - } - leaf nbr-unconfig-timer { - type uint32; - description - "Time to wait on session NBR_UNCONFIG before - declaring DOWN"; - } - leaf pref-multiplier { - type uint16; - description "Preferred multiplier for the BFD session"; - } - leaf pref-min-interval { - type uint32; - description - "Preferred minimum interval for the BFD session - (ms)"; - } - leaf pref-echo-min-interval { - type uint32; - description - "Preferred echo minimum interval for the BFD - session (ms)"; - } - leaf fast-detect { - type boolean; - description - "Flag indicating if BFD is enabled (1 = enabled; - 0 = not enabled)"; - } - leaf mode-info { - type uint32; - description "Standard used for per-member BFD"; - } - } - - grouping BM-MAC-ADDR-ST { - description "BM MAC ADDR ST"; - leaf address { - type yang:mac-address; - description "MAC address"; - } - } - - grouping BM-BUNDLE-DATA { - description "Data for a bundle interface"; - - container mac-address { - description "MAC address of this member"; - uses BM-MAC-ADDR-ST; - } - leaf bundle-interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - leaf available-bandwidth { - type uint32; - units "kbit/s"; - description - "Bandwidth available to the bundle interface - (kbps)"; - } - leaf effective-bandwidth { - type uint32; - units "kbit/s"; - description - "Effective bandwidth on the bundle interface - (kbps)"; - } - leaf configured-bandwidth { - type uint32; - units "kbit/s"; - description - "Bandwidth configured on the bundle interface - (kbps)"; - } - leaf minimum-active-links { - type uint8; - description - "Minimum number of active links for bundle to go - up"; - } - leaf maximum-active-links { - type uint8; - description "Maximum number of active links in the bundle"; - } - leaf maximum-active-links-source { - type Bm-which-system; - description "Source of maximum active links value"; - } - leaf minimum-bandwidth { - type uint32; - units "kbit/s"; - description - "Minimum bundle bandwidth for bundle to go up - (kbps)"; - } - leaf primary-member { - type xr:Interface-name; - description "Primary bundle member (no longer applicable)"; - } - leaf bundle-status { - type Bm-bdl-state; - description "The state of the bundle"; - } - leaf active-member-count { - type uint16; - description - "The number of active local members on the bundle"; - } - leaf standby-member-count { - type uint16; - description - "The number of standby local members on the - bundle"; - } - leaf configured-member-count { - type uint16; - description - "The number of configured local members on the - bundle"; - } - leaf mac-source { - type Bm-bdl-mac-source; - description "The source of the MAC Address"; - } - leaf mac-source-member { - type xr:Interface-name; - description - "The name of the member that supplied the MAC - address"; - } - leaf inter-chassis { - type boolean; - description - "Indicates if this bundle is operating as an - inter-chassis link (1 = I-C link, 0 = normal)"; - } - leaf is-active { - type boolean; - description - "Indicates the active/standby redundancy state of - the device for the bundle"; - } - leaf lacp-status { - type Bm-feature-status; - description "The status of the LACP feature on the bundle"; - } - leaf mlacp-status { - type Bm-feature-status; - description "The status of the mLACP feature on the bundle"; - } - leaf ipv4bfd-status { - type Bm-feature-status; - description - "The status of the BFD (IPv4) feature on the - bundle"; - } - leaf link-order-status { - type Bm-feature-status; - description - "The status of the link order signaling feature - on the bundle"; - } - leaf ipv6bfd-status { - type Bm-feature-status; - description - "The status of the BFD (IPv6) feature on the - bundle"; - } - leaf load-balance-hash-type { - type string; - description "The type of hash to use for load balancing"; - } - leaf load-balance-locality-threshold { - type uint16; - description - "The number of links required per rack for - localized load balancing"; - } - leaf suppression-timer { - type uint16; - description "Timer for suppressing bundle state flaps"; - } - leaf wait-while-timer { - type uint16; - description "The wait while time used for member ports"; - } - leaf collector-max-delay { - type uint16; - description "Collector Max Delay"; - } - leaf cisco-extensions { - type boolean; - description - "The status of the Cisco Extensions feature (1 = - enabled, 0 = not enabled)"; - } - leaf lacp-nonrevertive { - type boolean; - description - "The status of the LACP nonrevertive feature (1 = - enable, 0 = not enabled)"; - } - leaf iccp-group-id { - type uint32; - description "ICCP Group that the bundle is configured to"; - } - leaf active-foreign-member-count { - type uint16; - description - "The number of active foreign members on the - bundle"; - } - leaf configured-foreign-member-count { - type uint16; - description - "The number of configured local members on the - bundle"; - } - leaf switchover-type { - type Bmd-mlacp-switchover; - description - "How a switchover of the bundle from this device - will occur"; - } - leaf maximize-threshold-value-links { - type uint32; - description - "Attempt to maximize the bundle if links are - below this value"; - } - leaf maximize-threshold-value-band-width { - type uint32; - description - "Attempt to maximize the bundle if bandwidth is - below this value"; - } - leaf mlacp-mode { - type Bundle-mlacp-mode; - description "Indicates the mode of the device for the bundle"; - } - leaf recovery-delay { - type uint16; - units "second"; - description - "Number of seconds to wait before becoming active - after recovering from a failure"; - } - leaf singleton { - type boolean; - description - "Is the ICCP group of the bundle in singleton - mode (1 = singleton; 0 = not singleton)"; - } - - list bfd-config { - description "Configuration values for BFD on bundle members"; - uses BM-BUNDLE-BFD-DATA-TYPE; - } - } - - grouping LACP-BUNDLE-DATA { - description "Data for a LACP-enabled bundle interface"; - - container actor-bundle-data { - description "Basic bundle information"; - uses BM-BUNDLE-DATA; - } - - container bundle-system-id { - description "System ID for the bundle"; - uses BM-SYSTEM-ID-TYPE; - } - leaf actor-operational-key { - type uint16; - description "Operational key of the interface"; - } - leaf partner-system-priority { - type uint16; - description "Priority of the partner system"; - } - leaf partner-system-mac-address { - type yang:mac-address; - description "MAC Address used to identify the partner system"; - } - leaf partner-operational-key { - type uint16; - description "Operational key of the partner"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper.yang deleted file mode 100644 index 71f2e81..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-bundlemgr-oper.yang +++ /dev/null @@ -1,1166 +0,0 @@ -module Cisco-IOS-XR-bundlemgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper"; - - - prefix "bundlemgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-bundlemgr-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-bundlemgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR bundlemgr package operational data. - - This module contains definitions - for the following management objects: - lacp-bundles: LACP bundle data - bundle-information: bundle information - lacp-data: lacp data - bundles: bundles - lacp-bundle-members: lacp bundle members - bundles-adjacency: bundles adjacency - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-22" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lacp-bundles { - config false; - description "LACP bundle data"; - - container bundles { - description "LACP bundle data"; - - list bundle { - key "bundle-interface"; - description "LACP Bundle interface"; - - container data { - description "Data for each Bundle"; - uses LACP-BUNDLE-DATA; - } - - container members { - description "LACP Member interface"; - - list member { - key "member-interface"; - description "Member information"; - leaf member-interface { - type xr:Interface-name; - description "Member interface"; - } - uses BM-MEMBER-DATA; - } - } - leaf bundle-interface { - type xr:Interface-name; - description "LACP Bundle interface"; - } - } - } - } - - container bundle-information { - config false; - description "bundle information"; - - container bfd-counters { - description - "BFD counters information for bundles and members"; - - container bfd-counters-bundles { - description - "Bundle interfaces with BFD counters information"; - - list bfd-counters-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container bfd-counters-bundle-descendant { - description "Data for this item and all its members"; - uses BMD-BFD-COUNTER-BAG-MULTIPLE; - } - - container bfd-counters-bundle-children-members { - description - "Children of bundle with BFD counters - information"; - - list bfd-counters-bundle-children-member { - key "member-interface"; - description - "Bundle member item with BFD counters - information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses BMD-BFD-COUNTER-BAG; - } - } - - container bfd-counters-bundle-item { - description "Data for this item"; - uses BM-NAME-BAG; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container bfd-counters-members { - description - "Member interfaces with BFD counters information"; - - list bfd-counters-member { - key "member-interface"; - description "Member interface"; - - container bfd-counters-member-item { - description "Data for this item"; - uses BMD-BFD-COUNTER-BAG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - } - - container scheduled-actions { - description "Scheduled actions on a bundle"; - - container scheduled-actions-bundles { - description "Bundles with actions scheduled"; - - list scheduled-actions-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container scheduled-actions-bundle-item { - description "Data for this item"; - uses BMD-SCH-ACTION-BAG; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - } - - container bundle { - description "Generic information for bundles and members"; - - container bundle-bundles { - description - "Bundle interfaces with common bundle - information"; - - list bundle-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container bundle-bundle-descendant { - description "Data for this item and all its members"; - uses BM-BUNDLE-COMBINED-DATA; - } - - container bundle-bundle-children-members { - description - "Children of bundle with common bundle - information"; - - list bundle-bundle-children-member { - key "member-interface"; - description - "Bundle member item with common bundle - information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses BM-MEMBER-DATA; - } - } - - container bundle-bundle-item { - description "Data for this item"; - uses BM-BUNDLE-DATA; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container bundle-members { - description - "Member interfaces with common bundle - information"; - - list bundle-member { - key "member-interface"; - description "Member interface"; - - container bundle-member-ancestor { - description "Data for this item and its parent bundle"; - uses BM-BUNDLE-COMBINED-DATA; - } - - container bundle-member-item { - description "Data for this item"; - uses BM-MEMBER-DATA; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - } - - container events-rg { - description - "Bundle ICCP events information for bundles and - members"; - - container events-rg-members { - description - "Bundle Member interfaces with ICCP events - information"; - - list events-rg-member { - key "member-interface"; - description "Member interface"; - - container events-rg-member-ancestor { - description "Data for this item and its parent bundle"; - uses BMD-EVENT-BAG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - - container events-rg-iccp-groups { - description "ICCP events for all ICCP Groups"; - - list events-rg-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container events-rg-bundle-item-iccp-group { - description "Data for this item"; - uses BMD-EVENT-BAG; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - - container events-rg-bundles { - description - "Bundle interfaces with ICCP events information"; - - list events-rg-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container events-rg-bundle-ancestor { - description "Data for this item and its parent bundle"; - uses BMD-EVENT-BAG; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - } - - container lacp { - description "LACP information for bundles and members"; - - container lacp-bundles { - description "Bundle interfaces with LACP information"; - - list lacp-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container lacp-bundle-item { - description "Data for this item"; - uses LACP-BUNDLE-DATA; - } - - container lacp-bundle-descendant { - description "Data for this item and all its members"; - uses LACP-COMBINED-DATA; - } - - container lacp-bundle-children-members { - description "Children of bundle with LACP information"; - - list lacp-bundle-children-member { - key "member-interface"; - description - "Bundle member item with LACP information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses LACP-MBR-DATA; - } - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container lacp-members { - description "Member interfaces with LACP information"; - - list lacp-member { - key "member-interface"; - description "Member interface"; - - container lacp-member-ancestor { - description "Data for this item and its parent bundle"; - uses LACP-COMBINED-DATA; - } - - container lacp-member-item { - description "Data for this item"; - uses LACP-MBR-DATA; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - } - - container mlacp-bundle-counters { - description "Bundle specific counters of mLACP events"; - - container iccp-groups { - description - "ICCP Groups with counters of their bundle's - mLACP events"; - - list iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container iccp-group-item { - description "Data for this item"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - - container bundles { - description - "Bundle interfaces with counters of mLACP events"; - - list bundle { - key "bundle-interface"; - description "Bundle interface"; - - container bundle-item { - description "Data for this item"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-MULTIPLE; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container nodes { - description - "Devices with counters of their bundle's mLACP - events"; - - list node { - key "node"; - description "Node ID"; - - container node-item { - description "Data for this item"; - uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; - } - leaf node { - type string; - description - "For a local device the Node ID e.g. - '0_0_CPU0', for a peer device the LDP ID - followed by the ICCP Group ID e.g. '5.4.3.2 - ,4'"; - } - } - } - } - - container protect { - description - "Information for bundles and members that are in - the protect database"; - - container protect-bundles { - description - "Bundle interfaces with information in the - protect database"; - - list protect-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container protect-bundle-item { - description "Data for this item"; - uses BMD-BAG-PROT-BDL-INFO; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - } - - container mlacp-brief { - description - "mLACP Information for Interchassis Groups and - bundles"; - - container mlacp-bundle-briefs { - description - "Bundle interfaces with brief mLACP information"; - - list mlacp-bundle-brief { - key "bundle-interface"; - description "Bundle interface"; - - container mlacp-bundle-item-brief { - description "Data for this item"; - uses BMD-BAG-MLACP-DATA-MULTIPLE; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container mlacp-brief-iccp-groups { - description "ICCP Groups with brief mLACP information"; - - list mlacp-brief-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container mlacp-brief-iccp-group-item { - description "Data for this item"; - uses BMD-BAG-MLACP-DATA; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container mlacp { - description - "mLACP Information for Interchassis Groups and - bundles"; - - container mlacp-bundles { - description "Bundle interfaces with mLACP information"; - - list mlacp-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container mlacp-bundle-item { - description "Data for this item"; - uses BMD-BAG-MLACP-DATA-MULTIPLE; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container mlacp-iccp-groups { - description "ICCP Groups with mLACP information"; - - list mlacp-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container mlacp-iccp-group-item { - description "Data for this item"; - uses BMD-BAG-MLACP-DATA; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container mac-allocation { - description - "Information about allocated MAC addresses that - are not in use"; - - container mac-allocation-global { - description - "All MAC addresses that are allocated but - currently not in use"; - - container mac-allocation-global-item { - description "Data for this item"; - uses BM-MAC-ALLOC; - } - } - } - - container events { - description "Events information for bundles and members"; - - container events-members { - description "Member interfaces with events information"; - - list events-member { - key "member-interface"; - description "Member interface"; - - container events-member-item { - description "Data for this item"; - uses BMD-EVENT-BAG; - } - - container events-member-ancestor { - description "Data for this item and its parent bundle"; - uses BMD-EVENT-BAG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - - container events-bundles { - description "Bundle interfaces with events information"; - - list events-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container events-bundle-ancestor { - description "Data for this item and its parent bundle"; - uses BMD-EVENT-BAG; - } - - container events-bundle-item { - description "Data for this item"; - uses BMD-EVENT-BAG; - } - - container events-bundle-descendant { - description "Data for this item and all its members"; - uses BMD-EVENT-BAG-MULTIPLE; - } - - container events-bundle-children-members { - description - "Children of bundle with events information"; - - list events-bundle-children-member { - key "member-interface"; - description - "Bundle member item with events information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses BMD-EVENT-BAG; - } - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - } - - container events-bdl { - description - "Bundle events information for bundles and - members"; - - container events-bdl-members { - description - "Member interfaces with bundle events - information"; - - list events-bdl-member { - key "member-interface"; - description "Member interface"; - - container events-bdl-member-ancestor { - description "Data for this item and its parent bundle"; - uses BMD-EVENT-BAG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - - container events-bdl-bundles { - description - "Bundle interfaces with bundle events - information"; - - list events-bdl-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container events-bdl-bundle-item { - description "Data for this item"; - uses BMD-EVENT-BAG; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container events-bdl-iccp-groups { - description "Bundle events for all ICCP Groups"; - - list events-bdl-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container events-bdl-bundle-descendant-iccp-group { - description "Data for this item and all its members"; - uses BMD-EVENT-BAG-MULTIPLE; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container bundle-briefs { - description - "Bundle interfaces with common bundle information"; - - list bundle-brief { - key "bundle-interface"; - description "Bundle interface"; - - container bundle-brief-item { - description "Data for this item"; - uses BM-BUNDLE-DATA; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container events-mbr { - description - "Bundle member events information for bundles and - members"; - - container events-mbr-bundles { - description - "Bundle interfaces with member events - information"; - - list events-mbr-bundle { - key "bundle-interface"; - description "Bundle interface"; - - container events-mbr-bundle-children-members { - description - "Children of bundle with member events - information"; - - list events-mbr-bundle-children-member { - key "member-interface"; - description - "Bundle member item with member events - information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses BMD-EVENT-BAG; - } - } - - container events-mbr-bundle-descendant { - description "Data for this item and all its members"; - uses BMD-EVENT-BAG-MULTIPLE; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container events-mbr-members { - description - "Member interfaces with bundle member events - information"; - - list events-mbr-member { - key "member-interface"; - description "Member interface"; - - container events-mbr-member-item { - description "Data for this item"; - uses BMD-EVENT-BAG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - - container events-mbr-iccp-groups { - description "Member events for all ICCP Groups"; - - list events-mbr-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container events-mbr-bundle-children-member-iccp-groups { - description - "Children of bundle with member events - information"; - - list events-mbr-bundle-children-member-iccp-group { - key "member-interface"; - description - "Bundle member item with ICCP events - information"; - leaf member-interface { - type string; - description "Member interface"; - } - uses BMD-EVENT-BAG; - } - } - - container events-mbr-bundle-descendant-iccp-group { - description "Data for this item and all its members"; - uses BMD-EVENT-BAG-MULTIPLE; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container mlacp-iccp-group-counters { - description "ICCP Group specific counters of mLACP events"; - - container iccp-groups { - description "ICCP Groups with counters of mLACP events"; - - list iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container iccp-group-ancestor-bundle { - description "Data for this item and its parent RG"; - uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; - } - - container iccp-group-ancestor-member { - description "Data for this item and its parent RG"; - uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; - } - - container iccp-group-ancestor-node { - description "Data for this item and its parent RG"; - uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; - } - - container iccp-group-item { - description "Data for this item"; - uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container system-id { - description - "System Identifiers for the local system and all - ICCP Groups"; - - container system-id-global { - description "System Identifier for the local system"; - - container system-id-global-item { - description "Data for this item"; - uses LACP-SYSTEM-ID; - } - } - - container system-id-iccp-groups { - description "System Identifiers for all ICCP Groups"; - - list system-id-iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container system-id-iccp-group-item { - description "Data for this item"; - uses LACP-SYSTEM-ID; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - } - - container mlacp-member-counters { - description "Member specific counters of mLACP events"; - - container iccp-groups { - description - "ICCP Groups with counters of their member's - mLACP events"; - - list iccp-group { - key "iccp-group"; - description "ICCP Group ID"; - - container iccp-group-item { - description "Data for this item and all its members"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; - } - leaf iccp-group { - type uint32 { - range "1..4294967295"; - } - description "ICCP Group ID"; - } - } - } - - container members { - description - "Member interfaces with counters of mLACP events"; - - list member { - key "member-interface"; - description "Member interface"; - - container member-item { - description "Data for this item"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; - } - leaf member-interface { - type string; - description "Member interface"; - } - } - } - - container bundles { - description - "Bundle interfaces with counters of their - member's mLACP events"; - - list bundle { - key "bundle-interface"; - description "Bundle interface"; - - container bundle-item { - description "Data for this item"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL; - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - - container nodes { - description - "Devices with counters of their member's mLACP - events"; - - list node { - key "node"; - description "Node ID"; - - container node-item { - description "Data for this item"; - uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; - } - leaf node { - type string; - description - "For a local device the Node ID e.g. - '0_0_CPU0', for a peer device the LDP ID - followed by the ICCP Group ID e.g. '5.4.3.2 - ,4'"; - } - } - } - } - } - - container lacp-data { - config false; - description "lacp data"; - - container global { - description "Global LACP data"; - - container system-id { - description "LACP System ID"; - uses LACP-SYSTEM-ID; - } - } - } - - container bundles { - config false; - description "bundles"; - - container bundles { - description "Per bundle operational data"; - - list bundle { - key "bundle-interface"; - description "Bundle interface"; - - container data { - description "Data for each Bundle"; - uses BM-BUNDLE-DATA; - } - - container members { - description "Member interface"; - - list member { - key "member-interface"; - description "Member information"; - leaf member-interface { - type xr:Interface-name; - description "Member interface"; - } - uses BM-MEMBER-DATA; - } - } - leaf bundle-interface { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - } - - container lacp-bundle-members { - config false; - description "lacp bundle members"; - - container nodes { - description - "Table of devices with their LACP bundle member - interfaces"; - - list node { - key "node"; - description "Node ID"; - - container counters { - description - "Link counters for LACP bundle members per node"; - uses LACP-DROPS; - } - leaf node { - type string; - description - "For a local device the Node ID e.g. '0_0_CPU0' - , for a peer device the LDP ID followed by the - ICCP Group ID e.g. '5.4.3.2,4'"; - } - } - } - - container members { - description "Table of LACP bundle member interfaces"; - - list member { - key "member-interface"; - description "LACP bundle member interface data"; - - container data { - description "Link data for LACP bundle members"; - uses LACP-LINK-DATA; - } - - container counters { - description "Link counters for LACP bundle members"; - uses LACP-COUNTERS; - } - leaf member-interface { - type xr:Interface-name; - description "Member interface"; - } - } - } - } - - container bundles-adjacency { - config false; - description "bundles adjacency"; - - container nodes { - description "Per bundle operational data"; - - list node { - key "node-name"; - description "Location"; - - container brief { - description "Brief load-balance information for the node"; - uses BMA-BRIEF-DATA; - } - - container bundles { - description "Per bundle operational data"; - - list bundle { - key "bundle-name"; - description "Bundle information"; - - container bundle-info { - description "Data for each Bundle"; - uses BMA-BUNDLE-DATA; - } - leaf bundle-name { - type xr:Interface-name; - description "Bundle interface"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-call-home-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-call-home-cfg.yang deleted file mode 100644 index 156e95f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-call-home-cfg.yang +++ /dev/null @@ -1,651 +0,0 @@ -module Cisco-IOS-XR-call-home-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg"; - - - prefix "call-home-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR call-home package configuration. - - This module contains definitions - for the following management objects: - call-home: Set CallHome parameters - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-13" { - description - "Initial version."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Call-home-mail-send-interval { - type enumeration { - enum daily { - value 0; - description "Daily call-home message"; - } - enum weekly { - value 1; - description "Weekly call-home message"; - } - enum monthly { - value 2; - description "Monthly call-home message"; - } - } - description "Call home mail send interval"; - } - typedef Call-home-day-of-week { - type enumeration { - enum sunday { - value 0; - description "Sunday"; - } - enum monday { - value 1; - description "Monday"; - } - enum tuesday { - value 2; - description "Tuesday"; - } - enum wednesday { - value 3; - description "Wednesday"; - } - enum thursday { - value 4; - description "Thursday"; - } - enum friday { - value 5; - description "Friday"; - } - enum saturday { - value 6; - description "Saturday"; - } - } - description "Call home day of week"; - } - typedef Call-home-event-severity { - type enumeration { - enum debugging { - value 0; - description "Debugging event"; - } - enum normal { - value 1; - description "Normal event"; - } - enum notification { - value 2; - description "Notification event"; - } - enum warning { - value 3; - description "Warning event"; - } - enum minor { - value 4; - description "Minor event"; - } - enum major { - value 5; - description "Major event"; - } - enum critical { - value 6; - description "Critical event"; - } - enum fatal { - value 7; - description "Fatal event"; - } - enum disaster { - value 8; - description "Disaster event"; - } - enum catastrophic { - value 9; - description "Catastrophic event"; - } - } - description "Call home event severity"; - } - typedef Snapshot-interval { - type enumeration { - enum daily { - value 0; - description "Daily call-home message"; - } - enum weekly { - value 1; - description "Weekly call-home message"; - } - enum monthly { - value 2; - description "Monthly call-home message"; - } - } - description "Snapshot interval"; - } - typedef Call-home-trans-method { - type enumeration { - enum email { - value 1; - description "To add email address to lthis profile"; - } - enum http { - value 2; - description "To add destination address(1-200) characters"; - } - } - description "Call home trans method"; - } - typedef Data-privacy-level { - type enumeration { - enum normal { - value 0; - description "Normal"; - } - enum high { - value 1; - description "High"; - } - enum host-name { - value 2; - description "HostName"; - } - } - description "Data privacy level"; - } - - container call-home { - description "Set CallHome parameters"; - - container mail-servers { - description "List of call-home mail_server"; - - list mail-server { - key "mail-serv-address"; - description "Email server"; - leaf priority { - type uint32 { - range "1..100"; - } - description "Mail server with lower # will be used first"; - } - leaf mail-serv-address { - type string; - description "Email server"; - } - } - } - - container syslog-throttling { - description - "Enable or disable call-home syslog message - throttling"; - leaf active { - type boolean; - description "Active syslog throttling"; - } - } - - container smart-licensing { - description - "Enable/disable licensing messages. By default is - enabled."; - leaf profile-name { - type string; - description - "To specify existing profile name used for TG so - that licensing message"; - } - leaf active { - type empty; - description "Active the smart-licensing"; - } - } - - container http-proxy { - description "http proxy server address and port"; - leaf server-address { - type string; - description "http proxy server address"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "http proxy server's port"; - } - } - - container profiles { - description "List of profiles"; - - list profile { - key "profile-name"; - description "A specific profile"; - - container report-type { - description "Choose what data to report"; - - container reporting-callhome-data { - description "Report smart call-home data"; - leaf enable { - type boolean; - description "Enable report smart call-home data"; - } - } - - container reporting-licensing-data { - description "Report smart licensing data"; - leaf enable { - type boolean; - description "Enable report smart licensing data"; - } - } - } - - container methods { - description "Transport method (http or email)"; - - list method { - key "method"; - description "Transport method"; - leaf enable { - type boolean; - description "Enable this transport method"; - } - leaf method { - type Call-home-trans-method; - description "Transport Method"; - } - } - } - - container addresses { - description "List of destination address"; - - list address { - key "method destination-addr"; - description "A specific address"; - leaf enable { - type boolean; - description "Set the address"; - } - leaf method { - type Call-home-trans-method; - description "Transpotation Method"; - } - leaf destination-addr { - type string { - length "1..200"; - } - description "Destination address (1-200) characters"; - } - } - } - - container subscribe-alert-group { - description "Subscribe to alert-group"; - - container environment { - description "environmental info"; - leaf severity { - type Call-home-event-severity; - description "Severity"; - } - } - - container configuration { - description "configuration info"; - - container periodic { - description "Periodic call-home message"; - leaf interval { - type Call-home-mail-send-interval; - description "none"; - } - leaf day { - type uint32 { - range "0..31"; - } - description "Day"; - } - leaf weekday { - type Call-home-day-of-week; - description "Day of week"; - } - leaf hour { - type uint32 { - range "0..23"; - } - description "Hour"; - } - leaf minute { - type uint32 { - range "0..59"; - } - description "Minute"; - } - } - leaf subscribe { - type empty; - description "Subscribe the alert-group"; - } - } - - container snapshot { - description "snapshot info"; - - container periodic { - description "Periodic call-home message"; - leaf interval { - type Snapshot-interval; - description "none"; - } - leaf day { - type uint32 { - range "0..31"; - } - description "Day of month"; - } - leaf weekday { - type Call-home-day-of-week; - description "Day of week"; - } - leaf hour { - type uint32 { - range "0..23"; - } - description "Hour"; - } - leaf minute { - type uint32 { - range "0..59"; - } - description "Minute"; - } - } - } - - container inventory { - description "inventory info"; - - container periodic { - description "Periodic call-home message"; - leaf interval { - type Call-home-mail-send-interval; - description "none"; - } - leaf day { - type uint32 { - range "0..31"; - } - description "Day of month"; - } - leaf weekday { - type Call-home-day-of-week; - description "Day of week"; - } - leaf hour { - type uint32 { - range "0..23"; - } - description "Hour"; - } - leaf minute { - type uint32 { - range "0..59"; - } - description "Minute"; - } - } - leaf subscribe { - type empty; - description "Subscribe the alert-group"; - } - } - - container crash { - description "Crash info"; - leaf subscribe { - type empty; - description "Subscribe crash group"; - } - } - - container syslogs { - description "syslog info"; - - list syslog { - key "syslog-pattern"; - description "Syslog message pattern to be matched"; - leaf severity { - type Call-home-event-severity; - description "Severity"; - } - leaf syslog-pattern { - type string { - length "1..80"; - } - description "Syslog message pattern to be matched"; - } - } - } - } - leaf create { - type empty; - description "Create a profile"; - } - leaf message-format { - type string; - description "none"; - } - leaf anonymous { - type boolean; - description "Enable call-home anonymous reporting only"; - } - leaf message-size-limit { - type uint32 { - range "50..3145728"; - } - description - "To specify message size limit for this profile"; - } - leaf active { - type empty; - description "Activate the current profile"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - } - } - - container alert-groups { - description "List of alert-group"; - - list alert-group { - key "alert-group-name"; - description "A specific alert-group"; - leaf enable { - type boolean; - description "Enable the alert-group"; - } - leaf disable { - type boolean; - description "Disable the alert-group"; - } - leaf alert-group-name { - type xr:Cisco-ios-xr-string; - description "none"; - } - } - } - - container data-privacies { - description "Set call-home data-privacy"; - - list data-privacy { - key "host-name"; - description "level hostname"; - leaf level { - type Data-privacy-level; - description "Set call-home data-privacy level"; - } - leaf host-name { - type string; - description "Data privacy type (hostname or level)"; - } - } - } - - container alert-group-config { - description "alert-group config"; - - container snapshot-commands { - description "snapshot for adding CLI command"; - - list snapshot-command { - key "command"; - description "A specific CLI cmd for snapshot"; - leaf active { - type empty; - description "enable snapshot cmd"; - } - leaf command { - type string { - length "1..127"; - } - description "new added command"; - } - } - } - } - - container authorization { - description - "Config aaa authorization, default username is - callhome"; - leaf username { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Username for authorization. default is callhome"; - } - leaf active { - type empty; - description "Enable call-home aaa-authorization"; - } - } - leaf customer-id { - type string { - length "1..64"; - } - description - "Customer identification for Cisco Smart Call - Home"; - } - leaf phone-number { - type string { - length "1..17"; - } - description "Phone number of the contact person."; - } - leaf contact-smart-licensing { - type boolean; - description "System Contact is Smart Licensing"; - } - leaf contact-email-address { - type string { - length "1..194"; - } - description "Contact person's email address"; - } - leaf rate-limit { - type uint32 { - range "1..5"; - } - description - "Call-home event trigger rate-limit threshold per - minute."; - } - leaf site-id { - type string { - length "1..200"; - } - description "Site identification for Cisco Smart Call Home"; - } - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Vrf routing/forwarding instance name"; - } - leaf street-address { - type string { - length "1..200"; - } - description "Street address, city, state, and zip code."; - } - leaf source-interface { - type xr:Interface-name; - description - "Source interface name to send call-home messages"; - } - leaf contract-id { - type string { - length "1..64"; - } - description - "Contract identification for Cisco Smart Call - Home"; - } - leaf reply-to { - type string; - description "Call home msg's reply-to email address"; - } - leaf from { - type string; - description "Call home msg's from email address"; - } - leaf active { - type empty; - description "Enable call-home service"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-cfg.yang deleted file mode 100644 index c14dfe3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-cfg.yang +++ /dev/null @@ -1,101 +0,0 @@ -module Cisco-IOS-XR-cdp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg"; - - - prefix "cdp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR cdp package configuration. - - This module contains definitions - for the following management objects: - cdp: Global CDP configuration data - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container cdp { - description "Global CDP configuration data"; - leaf timer { - type uint32 { - range "5..255"; - } - default "60"; - description "Specify the rate at which CDP packets are sent"; - } - leaf advertise-v1-only { - type empty; - description "Enable CDPv1 only advertisements"; - } - leaf enable { - type boolean; - default "true"; - description "Enable or disable CDP globally"; - } - leaf hold-time { - type uint32 { - range "10..255"; - } - default "180"; - description - "Length of time (in sec) that the receiver must - keep a CDP packet"; - } - leaf log-adjacency { - type empty; - description "Enable logging of adjacency changes"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container cdp { - description "Interface specific CDP configuration"; - leaf enable { - type empty; - description "Enable or disable CDP on an interface"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper-sub1.yang deleted file mode 100644 index 3cf641f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper-sub1.yang +++ /dev/null @@ -1,287 +0,0 @@ -submodule Cisco-IOS-XR-cdp-oper-sub1 { - - belongs-to Cisco-IOS-XR-cdp-oper { - prefix Cisco-IOS-XR-cdp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR cdp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Revison descritption string."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Im-state { - type uint32; - description "Im state"; - } - typedef Cdp-duplex { - type enumeration { - enum cdp-dplx-none { - value 0; - description "cdp dplx none"; - } - enum cdp-dplx-half { - value 1; - description "cdp dplx half"; - } - enum cdp-dplx-full { - value 2; - description "cdp dplx full"; - } - } - description "Cdp duplex"; - } - typedef In6-addr { - type inet:ipv6-address; - description "In6 addr"; - } - typedef Cdp-l3-addr-protocol { - type enumeration { - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - } - description "Cdp l3 addr protocol"; - } - - grouping CDP-INTERFACE { - description - "Information about an interface that CDP is - running on"; - leaf interface-handle { - type xr:Interface-name; - description "Interface"; - } - leaf basecaps-state { - type Im-state; - description "Interface basecaps state"; - } - leaf cdp-protocol-state { - type Im-state; - description "CDP protocol state"; - } - leaf interface-encaps { - type string; - description "Interface encapsulation"; - } - } - - grouping CDP-STATS { - description "CDP statistics"; - leaf received-packets { - type uint32; - description "Received packets"; - } - leaf received-packets-v1 { - type uint32; - description "Received v1 packets"; - } - leaf received-packets-v2 { - type uint32; - description "Received v2 packets"; - } - leaf transmitted-packets { - type uint32; - description "Transmitted packets"; - } - leaf transmitted-packets-v1 { - type uint32; - description "Transmitted v1 packets"; - } - leaf transmitted-packets-v2 { - type uint32; - description "Transmitted v2 packets"; - } - leaf header-errors { - type uint32; - description "Header syntax errors"; - } - leaf checksum-errors { - type uint32; - description "Checksum errors"; - } - leaf encapsulation-errors { - type uint32; - description "Transmission errors"; - } - leaf bad-packet-errors { - type uint32; - description "Bad packet received and dropped"; - } - leaf out-of-memory-errors { - type uint32; - description "Out-of-memory conditions"; - } - leaf truncated-packet-errors { - type uint32; - description "Truncated messages"; - } - leaf header-version-errors { - type uint32; - description "Can't handle receive version"; - } - leaf open-file-errors { - type uint32; - description "Cannot open file"; - } - } - - grouping CDP-PROTOCOL-HELLO-ENTRY { - description "CDP Protocol Hello entry"; - - list cdp-prot-hello-entry { - description "cdp prot hello entry"; - leaf hello-message { - type yang:hex-string; - description "Protocol Hello msg"; - } - } - } - - grouping CDP-L3-ADDR { - description "CDP L3 ADDR"; - leaf address-type { - type Cdp-l3-addr-protocol; - description "AddressType"; - } - leaf ipv4-address { - when "../address-type = 'ipv4'" { - description "../AddressType = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../address-type = 'ipv6'" { - description "../AddressType = 'IPv6'"; - } - type In6-addr; - description "IPv6 address"; - } - } - - grouping CDP-ADDRESS-ENTRY { - description "CDP Address entry"; - - list cdp-addr-entry { - description "cdp addr entry"; - - container address { - description "Network layer address"; - uses CDP-L3-ADDR; - } - } - } - - grouping CDP-NEIGHBOR-ENTRY-DETAILS { - description "Detailed neighbor info"; - - container network-addresses { - description "List of network addresses "; - uses CDP-ADDRESS-ENTRY; - } - - container protocol-hello-list { - description "List of protocol hello entries"; - uses CDP-PROTOCOL-HELLO-ENTRY; - } - leaf version { - type string; - description "Version TLV"; - } - leaf vtp-domain { - type string; - description "VTP domain"; - } - leaf native-vlan { - type uint32; - description "Native VLAN"; - } - leaf duplex { - type Cdp-duplex; - description "Duplex setting"; - } - leaf system-name { - type string; - description "SysName"; - } - } - - grouping CDP-NEIGHBOR { - description "CDP neighbor info"; - - list cdp-neighbor { - description "cdp neighbor"; - - container detail { - description "Detailed neighbor info"; - uses CDP-NEIGHBOR-ENTRY-DETAILS; - } - leaf receiving-interface-name { - type xr:Interface-name; - description "Interface the neighbor entry was received on "; - } - leaf device-id { - type string; - description "Device identifier"; - } - leaf port-id { - type string; - description "Outgoing port identifier"; - } - leaf header-version { - type uint8; - description "Version number"; - } - leaf hold-time { - type uint16; - description "Remaining hold time"; - } - leaf capabilities { - type string; - description "Capabilities"; - } - leaf platform { - type string; - description "Platform type"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper.yang deleted file mode 100644 index dad5c84..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cdp-oper.yang +++ /dev/null @@ -1,153 +0,0 @@ -module Cisco-IOS-XR-cdp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper"; - - - prefix "cdp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-cdp-oper-sub1 { - revision-date 2015-07-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR cdp package operational data. - - This module contains definitions - for the following management objects: - cdp: CDP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Revison descritption string."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container cdp { - config false; - description "CDP operational data"; - - container nodes { - description "Per node CDP operational data"; - - list node { - key "node-name"; - description - "The CDP operational data for a particular node"; - - container neighbors { - description "The CDP neighbor tables on this node"; - - container details { - description "The detailed CDP neighbor table"; - - list detail { - description - "Detailed information about a CDP neighbor - entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf device-id { - type string; - description "The neighboring device identifier"; - } - uses CDP-NEIGHBOR; - } - } - - container devices { - description "The detailed CDP neighbor table"; - - list device { - key "device-id"; - description - "Detailed information about a CDP neighbor - entry"; - leaf device-id { - type string; - description "The neighboring device identifier"; - } - uses CDP-NEIGHBOR; - } - } - - container summaries { - description "The CDP neighbor summary table"; - - list summary { - description - "Brief information about a CDP neighbor entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf device-id { - type string; - description "The neighboring device identifier"; - } - uses CDP-NEIGHBOR; - } - } - } - - container statistics { - description "The CDP traffic statistics for this node"; - uses CDP-STATS; - } - - container interfaces { - description - "The table of interfaces on which CDP is - running on this node"; - - list interface { - key "interface-name"; - description - "Operational data for an interface on which - CDP is running"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses CDP-INTERFACE; - } - } - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cfgmgr-rollback-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cfgmgr-rollback-act.yang deleted file mode 100755 index 49dc78d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cfgmgr-rollback-act.yang +++ /dev/null @@ -1,108 +0,0 @@ -module Cisco-IOS-XR-cfgmgr-rollback-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act"; - - prefix "rollback-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-04-17" { - description - "IOS XR 6.1.1 revision."; - } - - grouping ROLLBACK-ATTRIBUTES { - leaf force { - when "../best-effort = 'false'" { - description "Only when best-effort is false."; - } - description "Override commit blocks"; - type boolean; - default "false"; - } - leaf best-effort { - when "../force = 'false'" { - description "Only when force is false."; - } - description "Rollback via best-effort operation"; - type boolean; - default "false"; - } - leaf label { - description "Assign a label to this rollback"; - type string; - } - leaf comment { - description "Assign a comment to this rollback"; - type string; - } - } - - rpc roll-back-configuration-last { - description "Rollback last commits made"; - input { - leaf count { - description "Number of commits to rollback"; - type int32 { - range "1..100"; - } - mandatory true; - } - uses ROLLBACK-ATTRIBUTES; - } - } - - rpc roll-back-configuration-to { - description "Rollback up to (and including) a specific commit"; - input { - leaf commit-id { - description "Commit ID"; - type string; - mandatory true; - } - uses ROLLBACK-ATTRIBUTES; - } - } - - rpc roll-back-configuration-to-exclude { - description "Rollback up to (and excluding) a specific commit"; - input { - leaf commit-id { - description "Commit ID"; - type string; - mandatory true; - } - uses ROLLBACK-ATTRIBUTES; - } - } - - rpc roll-back-configuration { - description "Rollback a specific commit"; - input { - leaf commit-id { - description "Commit ID"; - type string; - mandatory true; - } - uses ROLLBACK-ATTRIBUTES; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-cfg.yang deleted file mode 100644 index 1519809..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-cfg.yang +++ /dev/null @@ -1,3296 +0,0 @@ -module Cisco-IOS-XR-clns-isis-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg"; - - - prefix "clns-isis-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-clns-isis-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR clns-isis package configuration. - - This module contains definitions - for the following management objects: - isis: IS-IS configuration for all instances - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-02" { - description - "IOS XR 6.3.2 Removed must statements from key leafs."; - } - - revision "2017-05-22" { - description - "IOS XR 6.3.2 revision with schema changes for opencfg support and some string boundary checking."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Nflag-clear { - type enumeration { - enum disable { - value 0; - description "Disable N-flag-clear"; - } - enum enable { - value 1; - description "Enable N-flag-clear"; - } - } - description "Nflag clear"; - } - typedef Isis-adv-type-inter-level { - type enumeration { - enum inter-level { - value 1; - description "InterLevel"; - } - } - description "Isis adv type inter level"; - } - typedef Isis-interface-state { - type enumeration { - enum shutdown { - value 0; - description "Shutdown"; - } - enum suppressed { - value 1; - description "Suppressed"; - } - enum passive { - value 2; - description "Passive"; - } - enum enabled-active { - value 3; - description "EnabledActive"; - } - } - description "Isis interface state"; - } - typedef Isisfrr { - type enumeration { - enum per-link { - value 1; - description "Prefix independent per-link computation"; - } - enum per-prefix { - value 2; - description "Prefix dependent computation"; - } - } - description "Isisfrr"; - } - typedef Isisfrr-load-sharing { - type enumeration { - enum disable { - value 1; - description - "Disable load sharing of prefixes across - multiple backups"; - } - } - description "Isisfrr load sharing"; - } - typedef Isis-authentication-failure-mode { - type enumeration { - enum drop { - value 0; - description "Drop non-authenticating PDUs"; - } - enum send-only { - value 1; - description "Accept non-authenticating PDUs"; - } - } - description "Isis authentication failure mode"; - } - typedef Isis-apply-weight { - type enumeration { - enum ecmp-only { - value 1; - description "Apply weight to ECMP prefixes"; - } - enum ucmp-only { - value 2; - description "Apply weight to UCMP prefixes"; - } - } - description "Isis apply weight"; - } - typedef Isis-label-preference { - type enumeration { - enum ldp { - value 0; - description "Label Distribution Protocol"; - } - enum segment-routing { - value 1; - description "Segment Routing"; - } - } - description "Isis label preference"; - } - typedef Isis-metric-style-transition { - type enumeration { - enum disabled { - value 0; - description "Disabled"; - } - enum enabled { - value 1; - description "Enabled"; - } - } - description "Isis metric style transition"; - } - typedef Isissid1 { - type enumeration { - enum index { - value 1; - description "SID as an index"; - } - enum absolute { - value 2; - description "SID as an absolute label"; - } - } - description "Isissid1"; - } - typedef Isis-metric { - type enumeration { - enum internal { - value 0; - description "Internal metric"; - } - enum external { - value 1; - description "External metric"; - } - } - description "Isis metric"; - } - typedef Isis-attached-bit { - type enumeration { - enum area { - value 0; - description "Computed from the attached areas"; - } - enum on { - value 1; - description "Forced ON"; - } - enum off { - value 2; - description "Forced OFF"; - } - } - description "Isis attached bit"; - } - typedef Isis-configurable-levels { - type enumeration { - enum level1 { - value 1; - description "Level1"; - } - enum level2 { - value 2; - description "Level2"; - } - enum level1-and2 { - value 3; - description "Both Levels"; - } - } - description "Isis configurable levels"; - } - typedef Isissid { - type uint32 { - range "0..1048575"; - } - description "Isissid"; - } - typedef Isis-hello-padding { - type enumeration { - enum never { - value 0; - description "Never pad Hellos"; - } - enum sometimes { - value 1; - description "Pad Hellos during adjacency formation only"; - } - } - description "Isis hello padding"; - } - typedef Isis-snp-auth { - type enumeration { - enum send-only { - value 0; - description "Authenticate SNP send only"; - } - enum full { - value 1; - description "Authenticate SNP send and recv"; - } - } - description "Isis snp auth"; - } - typedef Isis-interface-af-state { - type enumeration { - enum disable { - value 0; - description "Disable"; - } - } - description "Isis interface af state"; - } - typedef Isisexplicit-null-flag { - type enumeration { - enum disable { - value 0; - description "Disable EXPLICITNULL"; - } - enum enable { - value 1; - description "Enable EXPLICITNULL"; - } - } - description "Isisexplicit null flag"; - } - typedef Isis-redist-proto { - type enumeration { - enum connected { - value 0; - description "Connected"; - } - enum static { - value 1; - description "Static"; - } - enum ospf { - value 2; - description "OSPF"; - } - enum bgp { - value 3; - description "BGP"; - } - enum isis { - value 4; - description "ISIS"; - } - enum ospfv3 { - value 5; - description "OSPFv3"; - } - enum rip { - value 6; - description "RIP"; - } - enum eigrp { - value 7; - description "EIGRP"; - } - enum subscriber { - value 8; - description "Subscriber"; - } - enum application { - value 9; - description "Application"; - } - enum mobile { - value 10; - description "Mobile"; - } - } - description "Isis redist proto"; - } - typedef Isis-tracing-mode { - type enumeration { - enum off { - value 0; - description "No tracing"; - } - enum basic { - value 1; - description "Basic tracing (less overhead)"; - } - enum enhanced { - value 2; - description "Enhanced tracing (more overhead)"; - } - } - description "Isis tracing mode"; - } - typedef Isis-prefix-priority { - type enumeration { - enum critical-priority { - value 0; - description "Critical prefix priority"; - } - enum high-priority { - value 1; - description "High prefix priority"; - } - enum medium-priority { - value 2; - description "Medium prefix priority"; - } - } - description "Isis prefix priority"; - } - typedef Isis-authentication-algorithm { - type enumeration { - enum cleartext { - value 1; - description "Cleartext password"; - } - enum hmac-md5 { - value 2; - description "HMAC-MD5 checksum"; - } - enum keychain { - value 3; - description "Key Chain authentication"; - } - } - description "Isis authentication algorithm"; - } - typedef Isisispf-state { - type enumeration { - enum enabled { - value 1; - description "Enabled"; - } - } - description "Isisispf state"; - } - typedef Isissid-protected { - type enumeration { - enum disable { - value 0; - description "Not protected"; - } - enum enable { - value 1; - description "Protected"; - } - } - description "Isissid protected"; - } - typedef Isis-adv-type-external { - type enumeration { - enum external { - value 1; - description "External"; - } - } - description "Isis adv type external"; - } - typedef Isisphp-flag { - type enumeration { - enum enable { - value 0; - description "Enable PHP"; - } - enum disable { - value 1; - description "Disable PHP"; - } - } - description "Isisphp flag"; - } - typedef Isis-metric-style { - type enumeration { - enum old-metric-style { - value 0; - description "ISO 10589 metric style (old-style)"; - } - enum new-metric-style { - value 1; - description "32-bit metric style (new-style)"; - } - enum both-metric-style { - value 2; - description "Both forms of metric style"; - } - } - description "Isis metric style"; - } - typedef Isis-remote-lfa { - type enumeration { - enum remote-lfa-none { - value 0; - description "No remote LFA option set"; - } - enum remote-lfa-tunnel-ldp { - value 1; - description "Construct remote LFA tunnel using MPLS LDP"; - } - } - description "Isis remote lfa"; - } - typedef Isis-micro-loop-avoidance { - type enumeration { - enum not-set { - value 0; - description "No Avoidance type set"; - } - enum micro-loop-avoidance-all { - value 1; - description "Provide mirco loop avoidance for all prefixes"; - } - enum micro-loop-avoidance-protected { - value 2; - description - "Provide mirco loop avoidance only for protected - prefixes"; - } - enum micro-loop-avoidance-segement-routing { - value 3; - description "Provide segment-routing mirco loop avoidance"; - } - } - description "Isis micro loop avoidance"; - } - typedef Isis-adj-check { - type enumeration { - enum disabled { - value 0; - description "Disabled"; - } - } - description "Isis adj check"; - } - typedef Isis-interface-frr-tiebreaker { - type enumeration { - enum node-protecting { - value 3; - description "Prefer node protecting backup path"; - } - enum srlg-disjoint { - value 6; - description "Prefer SRLG disjoint backup path"; - } - } - description "Isis interface frr tiebreaker"; - } - typedef Isis-overload-bit-mode { - type enumeration { - enum permanently-set { - value 1; - description "Set always"; - } - enum startup-period { - value 2; - description "Set during the startup period"; - } - enum wait-for-bgp { - value 3; - description "Set until BGP comverges"; - } - } - description "Isis overload bit mode"; - } - typedef Isis-nsf-flavor { - type enumeration { - enum cisco-proprietary-nsf { - value 1; - description "Cisco proprietary NSF"; - } - enum ietf-standard-nsf { - value 2; - description "IETF standard NSF"; - } - } - description "Isis nsf flavor"; - } - typedef Isisfrr-tiebreaker { - type enumeration { - enum downstream { - value 0; - description "Prefer backup path via downstream node"; - } - enum lc-disjoint { - value 1; - description "Prefer line card disjoint backup path"; - } - enum lowest-backup-metric { - value 2; - description "Prefer backup path with lowest total metric"; - } - enum node-protecting { - value 3; - description "Prefer node protecting backup path"; - } - enum primary-path { - value 4; - description "Prefer backup path from ECMP set"; - } - enum secondary-path { - value 5; - description "Prefer non-ECMP backup path"; - } - enum srlg-disjoint { - value 6; - description "Prefer SRLG disjoint backup path"; - } - } - description "Isisfrr tiebreaker"; - } - typedef Isis-mib-manual-address-drops-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 2; - description "Enable"; - } - } - description "Isis mib manual address drops boolean"; - } - typedef Isis-mib-authentication-type-failure-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 9; - description "Enable"; - } - } - description "Isis mib authentication type failure boolean"; - } - typedef Isis-mib-max-area-address-mismatch-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 6; - description "Enable"; - } - } - description "Isis mib max area address mismatch boolean"; - } - typedef Isis-mib-sequence-number-skip-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 8; - description "Enable"; - } - } - description "Isis mib sequence number skip boolean"; - } - typedef Isis-mib-database-over-flow-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 1; - description "Enable"; - } - } - description "Isis mib database over flow boolean"; - } - typedef Isis-mib-all-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 19; - description "Enable"; - } - } - description "Isis mib all boolean"; - } - typedef Isis-mib-lsp-too-large-to-propagate-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 14; - description "Enable"; - } - } - description "Isis mib lsp too large to propagate boolean"; - } - typedef Isis-mib-own-lsp-purge-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 7; - description "Enable"; - } - } - description "Isis mib own lsp purge boolean"; - } - typedef Isis-mib-adjacency-change-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 17; - description "Enable"; - } - } - description "Isis mib adjacency change boolean"; - } - typedef Isis-mib-protocols-supported-mismatch-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 16; - description "Enable"; - } - } - description "Isis mib protocols supported mismatch boolean"; - } - typedef Isis-mib-attempt-to-exceed-max-sequence-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 4; - description "Enable"; - } - } - description "Isis mib attempt to exceed max sequence boolean"; - } - typedef Isis-mib-id-length-mismatch-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 5; - description "Enable"; - } - } - description "Isis mib id length mismatch boolean"; - } - typedef Isis-mib-originated-lsp-buffer-size-mismatch-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 15; - description "Enable"; - } - } - description - "Isis mib originated lsp buffer size mismatch - boolean"; - } - typedef Isis-mib-area-mismatch-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 12; - description "Enable"; - } - } - description "Isis mib area mismatch boolean"; - } - typedef Isis-mib-corrupted-lsp-detected-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 3; - description "Enable"; - } - } - description "Isis mib corrupted lsp detected boolean"; - } - typedef Isis-mib-lsp-error-detected-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 18; - description "Enable"; - } - } - description "Isis mib lsp error detected boolean"; - } - typedef Isis-mib-rejected-adjacency-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 13; - description "Enable"; - } - } - description "Isis mib rejected adjacency boolean"; - } - typedef Isis-mib-version-skew-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 11; - description "Enable"; - } - } - description "Isis mib version skew boolean"; - } - typedef Isis-mib-authentication-failure-boolean { - type enumeration { - enum false { - value 0; - description "Disable"; - } - enum true { - value 10; - description "Enable"; - } - } - description "Isis mib authentication failure boolean"; - } - - grouping METRIC-TABLE { - description "Common node of interface-af, af"; - - container metrics { - description "Metric configuration"; - - list metric { - key "level"; - description - "Metric configuration. Legal value depends on - the metric-style specified for the topology. If - the metric-style defined is narrow, then only a - value between <1-63> is allowed and if the - metric-style is defined as wide, then a value - between <1-16777215> is allowed as the metric - value. All routers exclude links with the - maximum wide metric (16777215) from their SPF"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf metric { - type union { - type enumeration { - enum maximum { - value 16777215; - description - "Maximum wide metric. All routers will - exclude this link from their SPF"; - } - } - type uint32 { - range "1..16777215"; - } - } - mandatory true; - description - "Allowed metric: <1-63> for narrow, - <1-16777215> for wide"; - } - } - } - } - - grouping WEIGHT-TABLE { - description "Common node of interface-af, af"; - - container weights { - description "Weight configuration"; - - list weight { - key "level"; - description - "Weight configuration under interface for load - balancing"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf weight { - type uint32 { - range "1..16777214"; - } - mandatory true; - description - "Weight to be configured under interface for - Load Balancing. Allowed weight: <1-16777215>"; - } - } - } - } - - grouping MANUAL-ADJ-SID-TABLE { - description "Common node of interface-af, af"; - - container manual-adj-sids { - description "Manual Adjacecy SID configuration"; - - list manual-adj-sid { - key "level sid-type sid"; - description "Assign adjancency SID to an interface"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf sid-type { - type Isissid1; - description "Sid type aboslute or index"; - } - leaf sid { - type Isissid; - description "Sid value"; - } - leaf protected { - type Isissid-protected; - mandatory true; - description "Enable/Disable SID protection"; - } - } - } - } - - container isis { - description "IS-IS configuration for all instances"; - - container instances { - description "IS-IS instance configuration"; - - list instance { - key "instance-name"; - description "Configuration for a single IS-IS instance"; - - container srgb { - presence "Indicates a srgb node is configured."; - description "Segment Routing Global Block configuration"; - leaf lower-bound { - type uint32 { - range "16000..1048574"; - } - mandatory true; - description "The lower bound of the SRGB"; - } - leaf upper-bound { - type uint32 { - range "16001..1048575"; - } - mandatory true; - description "The upper bound of the SRGB"; - } - } - - container lsp-generation-intervals { - description "LSP generation-interval configuration"; - - list lsp-generation-interval { - key "level"; - description "LSP generation scheduling parameters"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf maximum-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Maximum wait before generating local LSP in - milliseconds"; - } - leaf initial-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Initial wait before generating local LSP in - milliseconds"; - } - leaf secondary-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Secondary wait before generating local LSP - in milliseconds"; - } - } - } - - container lsp-arrival-times { - description "LSP arrival time configuration"; - - list lsp-arrival-time { - key "level"; - description "Minimum LSP arrival time"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf maximum-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Maximum delay expected to take since last - LSPin milliseconds"; - } - leaf initial-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Initial delay expected to take since last - LSPin milliseconds"; - } - leaf secondary-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Secondary delay expected to take since last - LSPin milliseconds"; - } - } - } - - container trace-buffer-size { - description "Trace buffer size configuration"; - leaf detailed { - type uint32 { - range "1..1000000"; - } - description "Buffer size for detailed traces"; - } - leaf standard { - type uint32 { - range "1..1000000"; - } - description "Buffer size for standard traces"; - } - leaf severe { - type uint32 { - range "1..1000000"; - } - description "Buffer size for severe trace"; - } - leaf hello { - type uint32 { - range "1..1000000"; - } - description "Buffer size for hello trace"; - } - } - - container max-link-metrics { - description "Max Link Metric configuration"; - - list max-link-metric { - key "level"; - description "Max Link Metric"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - } - } - - container adjacency-stagger { - presence "enable adjacency-stagger"; - description "Stagger ISIS adjacency bring up"; - leaf initial-nbr { - type uint32 { - range "2..65000"; - } - default "2"; - description - "Adjacency Stagger: Initial number of - neighbors to bring up per area"; - } - leaf max-nbr { - type uint32 { - range "2..65000"; - } - default "64"; - description - "Adjacency Stagger: Subsequent simultaneous - number of neighbors to bring up"; - } - } - - container afs { - description "Per-address-family configuration"; - - list af { - must "af-data or topology-name" { - description - "af-data or topology-name must be present."; - } - key "af-name saf-name"; - description - "Configuration for an IS-IS address-family. If - a named (non-default) topology is being - created it must be multicast."; - - grouping AF-CONTENT { - description "Content grouping."; - - container segment-routing { - description "Enable Segment Routing configuration"; - - container prefix-sid-map { - description - "Enable Segment Routing prefix SID map - configuration"; - leaf advertise-local { - type empty; - description - "Enable Segment Routing prefix SID map - advertise local"; - } - leaf receive { - type boolean; - description - "If TRUE, remote prefix SID map - advertisements will be used. If FALSE, - they will not be used."; - } - } - leaf bundle-member-adj-sid { - type empty; - description - "Enable per bundle member adjacency SID"; - } - leaf mpls { - type Isis-label-preference; - description - "Prefer segment routing labels over LDP - labels"; - } - } - - container metric-styles { - description "Metric-style configuration"; - - list metric-style { - key "level"; - description - "Configuration of metric style in LSPs"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf style { - type Isis-metric-style; - default "old-metric-style"; - description "Metric Style"; - } - leaf transition-state { - when "../style != 'both-metric-style'" { - description "../Style != 2"; - } - type Isis-metric-style-transition; - default "disabled"; - description "Transition state"; - } - } - } - - container frr-table { - description "Fast-ReRoute configuration"; - - container frr-load-sharings { - description - "Load share prefixes across multiple - backups"; - - list frr-load-sharing { - key "level"; - description "Disable load sharing"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf load-sharing { - type Isisfrr-load-sharing; - mandatory true; - description "Load sharing"; - } - } - } - - container priority-limits { - description "FRR prefix-limit configuration"; - - list priority-limit { - key "level frr-type"; - description - "Limit backup computation upto the prefix - priority"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf frr-type { - type Isisfrr; - description "Computation Type"; - } - leaf priority { - type Isis-prefix-priority; - mandatory true; - description - "Compute for all prefixes upto the - specified priority"; - } - } - } - - container frr-remote-lfa-prefixes { - description - "FRR remote LFA prefix list filter - configuration"; - - list frr-remote-lfa-prefix { - key "level"; - description - "Filter remote LFA router IDs using - prefix-list"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf prefix-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - mandatory true; - description "Name of the prefix list"; - } - } - } - - container frr-tiebreakers { - description "FRR tiebreakers configuration"; - - list frr-tiebreaker { - key "level tiebreaker"; - description - "Configure tiebreaker for multiple backups"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf tiebreaker { - type Isisfrr-tiebreaker; - description - "Tiebreaker for which configuration - applies"; - } - leaf index { - type uint32 { - range "1..255"; - } - mandatory true; - description - "Preference order among tiebreakers"; - } - } - } - - container frr-use-cand-onlies { - description - "FRR use candidate only configuration"; - - list frr-use-cand-only { - key "level frr-type"; - description - "Configure use candidate only to exclude - interfaces as backup"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf frr-type { - type Isisfrr; - description "Computation Type"; - } - } - } - } - - container router-id { - description - "Stable IP address for system. Will only be - applied for the unicast sub-address-family."; - leaf address { - type inet:ip-address-no-zone; - must "not(../interface-name)"; - description - "IPv4/IPv6 address to be used as a router - ID. Precisely one of Address and Interface - must be specified."; - } - leaf interface-name { - type xr:Interface-name; - must "not(../address)"; - description - "Interface with designated stable IP - address to be used as a router ID. This - must be a Loopback interface. Precisely - one of Address and Interface must be - specified."; - } - } - - container spf-prefix-priorities { - description "SPF Prefix Priority configuration"; - - list spf-prefix-priority { - key "level prefix-priority-type"; - description "Determine SPF priority for prefixes"; - leaf level { - type dt1:Isis-internal-level; - description - "SPF Level for prefix prioritization"; - } - leaf prefix-priority-type { - type Isis-prefix-priority; - description - "SPF Priority to assign matching prefixes"; - } - leaf admin-tag { - type uint32 { - range "1..4294967295"; - } - must "not(../access-list-name)"; - description - "Tag value to determine prefixes for this - priority"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - must "not(../admin-tag)"; - description - "Access List to determine prefixes for - this priority"; - } - } - } - - container summary-prefixes { - description "Summary-prefix configuration"; - - list summary-prefix { - key "address-prefix"; - description - "Configure IP address prefixes to advertise"; - leaf address-prefix { - type inet:ip-prefix; - description "IP summary address prefix"; - } - leaf tag { - type uint32 { - range "1..4294967295"; - } - description "The tag value"; - } - leaf level { - type uint32 { - range "1..2"; - } - description - "Level in which to summarize routes"; - } - } - } - - container micro-loop-avoidance { - description "Micro Loop Avoidance configuration"; - leaf enable { - type Isis-micro-loop-avoidance; - default "micro-loop-avoidance-all"; - description - "MicroLoop avoidance enable configuration"; - } - leaf rib-update-delay { - type uint32 { - range "1000..65535"; - } - units "millisecond"; - default "5000"; - description - "Value of delay in msecs in updating RIB"; - } - } - - container ucmp { - description - "UCMP (UnEqual Cost MultiPath) configuration"; - - container enable { - description "UCMP feature enable configuration"; - leaf variance { - type uint32 { - range "101..10000"; - } - default "200"; - description "Value of variance"; - } - leaf prefix-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the Prefix List"; - } - } - - container exclude-interfaces { - description - "Interfaces excluded from UCMP path - computation"; - - list exclude-interface { - key "interface-name"; - description - "Exclude this interface from UCMP path - computation"; - leaf interface-name { - type xr:Interface-name; - description - "Name of the interface to be excluded"; - } - } - } - leaf delay-interval { - type uint32 { - range "100..65535"; - } - units "millisecond"; - default "100"; - description - "Delay in msecs between primary SPF and - UCMP computation"; - } - } - - container max-redist-prefixes { - description - "Maximum number of redistributed - prefixesconfiguration"; - - list max-redist-prefix { - key "level"; - description - "An upper limit on the number of - redistributed prefixes which may be - included in the local system's LSP"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf prefix-limit { - type uint32 { - range "1..28000"; - } - mandatory true; - description "Max number of prefixes"; - } - } - } - - container propagations { - description "Route propagation configuration"; - - list propagation { - key "source-level destination-level"; - description - "Propagate routes between IS-IS levels"; - leaf source-level { - type dt1:Isis-internal-level; - description "Source level for routes"; - } - leaf destination-level { - type dt1:Isis-internal-level; - description - "Destination level for routes. Must - differ from SourceLevel"; - } - leaf route-policy-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - mandatory true; - description - "Route policy limiting routes to be - propagated"; - } - } - } - - container redistributions { - description "Protocol redistribution configuration"; - - list redistribution { - must "connected-or-static-or-rip-or-subscriber-or"+ - "-mobile or"+ - " ospf-or-ospfv3-or-isis-or-application or bgp"+ - " or eigrp" { - description - "Connected-or-Static-or-RIP-or-Subscriber-or-Mobile or OSPF-or-OSPFv3-or-ISIS-or-Application or BGP or EIGRP must be present."; - } - key "protocol-name"; - description - "Redistribution of other protocols into - this IS-IS instance"; - - grouping REDISTRIBUTION-CONTENT { - description "REDISTRIBUTION CONTENT"; - leaf metric { - type uint32 { - range "0..16777215"; - } - description - "Metric for redistributed routes: <0-63> - for narrow, <0-16777215> for wide"; - } - leaf levels { - type Isis-configurable-levels; - description - "Levels to redistribute routes into"; - } - leaf route-policy-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Route policy to control redistribution."; - } - leaf metric-type { - type Isis-metric; - description "IS-IS metric type"; - } - leaf ospf-route-type { - type int32; - description - "OSPF route types to redistribute. May - only be specified if Protocol is OSPF."; - } - } - - container "connected-or-static-or-rip-or"+ - "-subscriber-or-mobile" { - when "../protocol-name = 'connected' or"+ - " ../protocol-name = 'static' or"+ - " ../protocol-name = 'rip' or"+ - " ../protocol-name = 'subscriber' or"+ - " ../protocol-name = 'mobile'" { - description - "../ProtocolName = Connected or . - ./ProtocolName = Static or . - ./ProtocolName = RIP or ../ProtocolName - = Subscriber or ../ProtocolName = - Mobile"; - } - presence "Indicates that this node is"+ - " configured."; - description - "connected or static or rip or subscriber - or mobile"; - uses REDISTRIBUTION-CONTENT; - } - leaf protocol-name { - type Isis-redist-proto; - description - "The protocol to be redistributed. OSPFv3 - may not be specified for an IPv4 topology - and OSPF may not be specified for an IPv6 - topology."; - } - - list ospf-or-ospfv3-or-isis-or-application { - when "../protocol-name = 'ospf' or"+ - " ../protocol-name = 'ospfv3' or"+ - " ../protocol-name = 'isis' or"+ - " ../protocol-name = 'application'" { - description - "../ProtocolName = OSPF or . - ./ProtocolName = OSPFv3 or . - ./ProtocolName = ISIS or . - ./ProtocolName = Application"; - } - key "instance-name"; - description - "ospf or ospfv3 or isis or application"; - leaf instance-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Protocol Instance Identifier. Mandatory - for ISIS, OSPF and application, must not - be specified otherwise."; - } - uses REDISTRIBUTION-CONTENT; - } - - list bgp { - when "../protocol-name = 'bgp'" { - description "../ProtocolName = BGP"; - } - key "as-xx as-yy"; - description "bgp"; - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "First half of BGP AS number in XX.YY - format. Mandatory if Protocol is BGP - and must not be specified otherwise. - Must be a non-zero value if second half - is zero."; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "Second half of BGP AS number in XX.YY - format. Mandatory if Protocol is BGP and - must not be specified otherwise. Must be - a non-zero value if first half is zero."; - } - uses REDISTRIBUTION-CONTENT; - } - - list eigrp { - when "../protocol-name = 'eigrp'" { - description "../ProtocolName = EIGRP"; - } - key "as-zz"; - description "eigrp"; - leaf as-zz { - type uint32 { - range "1..65535"; - } - description "Eigrp as number."; - } - uses REDISTRIBUTION-CONTENT; - } - } - } - - container spf-periodic-intervals { - description "Peoridic SPF configuration"; - - list spf-periodic-interval { - key "level"; - description "Maximum interval between spf runs"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf periodic-interval { - type uint32 { - range "0..3600"; - } - units "second"; - mandatory true; - description - "Maximum interval in between SPF runs in - seconds"; - } - } - } - - container spf-intervals { - description "SPF-interval configuration"; - - list spf-interval { - key "level"; - description - "Route calculation scheduling parameters"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf maximum-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Maximum wait before running a route - calculation in milliseconds"; - } - leaf initial-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Initial wait before running a route - calculation in milliseconds"; - } - leaf secondary-wait { - type uint32 { - range "0..120000"; - } - units "millisecond"; - description - "Secondary wait before running a route - calculation in milliseconds"; - } - } - } - - container monitor-convergence { - description "Enable convergence monitoring"; - leaf enable { - type empty; - description "Enable convergence monitoring"; - } - leaf track-ip-frr { - type empty; - description - "Enable the Tracking of IP-Frr Convergence"; - } - leaf prefix-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Enable the monitoring of individual - prefixes (prefix list name)"; - } - } - - container default-information { - description - "Control origination of a default route with - the option of using a policy. If no policy - is specified the default route is - advertised with zero cost in level 2 only."; - leaf use-policy { - type boolean; - description - "Flag to indicate whether default - origination is controlled using a policy"; - } - leaf policy-name { - when "../use-policy != 'false'" { - description "../UsePolicy != 0"; - } - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Policy name"; - } - leaf external { - type empty; - description - "Flag to indicate that the default prefix - should be originated as an external route"; - } - } - - container admin-distances { - description - "Per-route administrative - distanceconfiguration"; - - list admin-distance { - key "address-prefix"; - description - "Administrative distance configuration. The - supplied distance is applied to all routes - discovered from the specified source, or - only those that match the supplied prefix - list if this is specified"; - leaf address-prefix { - type inet:ip-prefix; - description "IP route source prefix"; - } - leaf distance { - type uint32 { - range "1..255"; - } - mandatory true; - description "Administrative distance"; - } - leaf prefix-list { - type string { - length "1..32"; - } - description - "List of prefixes to which this distance - applies"; - } - } - } - - container ispf { - description "ISPF configuration"; - - container states { - description "ISPF state (enable/disable)"; - - list state { - key "level"; - description "Enable/disable ISPF"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf state { - type Isisispf-state; - mandatory true; - description "State"; - } - } - } - } - - container mpls-ldp-global { - description - "MPLS LDP configuration. MPLS LDP - configuration will only be applied for the - IPv4-unicast address-family."; - leaf auto-config { - type boolean; - description - "If TRUE, LDP will be enabled onall IS-IS - interfaces enabled for this address-family"; - } - } - - container mpls { - description - "MPLS configuration. MPLS configuration will - only be applied for the IPv4-unicast - address-family."; - - container router-id { - description - "Traffic Engineering stable IP address for - system"; - leaf address { - type inet:ipv4-address-no-zone; - must "not(../interface-name)"; - description - "IPv4 address to be used as a router ID. - Precisely one of Address and Interface - must be specified."; - } - leaf interface-name { - type xr:Interface-name; - must "not(../address)"; - description - "Interface with designated stable IP - address to be used as a router ID. This - must be a Loopback interface. Precisely - one of Address and Interface must be - specified."; - } - } - - container level { - description - "Enable MPLS for an IS-IS at the given - levels"; - leaf level1 { - type boolean; - description "Level 1 enabled"; - } - leaf level2 { - type boolean; - description "Level 2 enabled"; - } - } - leaf igp-intact { - type empty; - description - "Install TE and non-TE nexthops in the RIB"; - } - leaf multicast-intact { - type empty; - description - "Install non-TE nexthops in the RIB for use - by multicast"; - } - } - leaf maximum-paths { - type uint32 { - range "1..64"; - } - description - "Maximum number of active parallel paths per - route"; - } - leaf topology-id { - type uint32 { - range "6..4095"; - } - description - "Set the topology ID for a named - (non-default) topology. This object must be - set before any other configuration is - supplied for a named (non-default) topology - , and must be the last configuration object - to be removed. This item should not be - supplied for the non-named default - topologies."; - } - leaf single-topology { - type empty; - description - "Run IPv6 Unicast using the standard (IPv4 - Unicast) topology"; - } - leaf adjacency-check { - type Isis-adj-check; - description - "Suppress check for consistent AF support on - received IIHs"; - } - leaf advertise-link-attributes { - type boolean; - description - "If TRUE, advertise additional link - attributes in our LSP"; - } - leaf apply-weight { - type Isis-apply-weight; - description "Apply weights to UCMP or ECMP only"; - } - leaf default-admin-distance { - type uint32 { - range "1..255"; - } - default "115"; - description - "Default IS-IS administrative distance - configuration."; - } - leaf advertise-passive-only { - type empty; - description - "If enabled, advertise prefixes of passive - interfaces only"; - } - leaf ignore-attached-bit { - type boolean; - description - "If TRUE, Ignore other routers attached bit"; - } - leaf attached-bit { - type Isis-attached-bit; - default "area"; - description - "Set the attached bit in this router's level - 1 System LSP"; - } - leaf route-source-first-hop { - type boolean; - description - "If TRUE, routes will be installed with the - IP address of the first-hop node as the - source instead of the originating node"; - } - uses MANUAL-ADJ-SID-TABLE; - uses METRIC-TABLE; - uses WEIGHT-TABLE; - } - - container af-data { - presence "Indicates a af-data node is configured."; - description "Data container."; - uses AF-CONTENT; - } - leaf af-name { - type dt1:Isis-address-family; - description "Address family"; - } - leaf saf-name { - type dt1:Isis-sub-address-family; - description "Sub address family"; - } - - list topology-name { - key "topology-name"; - description "keys: topology-name"; - leaf topology-name { - type dt1:Isis-topology-name; - description "Topology Name"; - } - uses AF-CONTENT; - } - } - } - - container lsp-refresh-intervals { - description "LSP refresh-interval configuration"; - - list lsp-refresh-interval { - key "level"; - description - "Interval between re-flooding of unchanged - LSPs"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "1..65535"; - } - units "second"; - mandatory true; - description "Seconds"; - } - } - } - - container distribute { - presence "enable distribute"; - description "IS-IS Distribute BGP-LS configuration"; - leaf dist-inst-id { - type uint32 { - range "1..65535"; - } - description "Instance ID"; - } - leaf level { - type Isis-configurable-levels; - description "Level"; - } - leaf dist-throttle { - type uint32 { - range "1..20"; - } - units "second"; - description "Seconds"; - } - } - - container lsp-accept-passwords { - description "LSP/SNP accept password configuration"; - - list lsp-accept-password { - key "level"; - description - "LSP/SNP accept passwords. This requires the - existence of an LSPPassword of the same level - ."; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf password { - type xr:Proprietary-password; - mandatory true; - description "Password"; - } - } - } - - container lsp-mtus { - description "LSP MTU configuration"; - - list lsp-mtu { - key "level"; - description "LSP MTU"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf mtu { - type uint32 { - range "128..4352"; - } - units "byte"; - mandatory true; - description "Bytes"; - } - } - } - - container nsf { - description "IS-IS NSF configuration"; - leaf flavor { - type Isis-nsf-flavor; - description "NSF not configured if item is deleted"; - } - leaf interface-timer { - type uint32 { - range "1..20"; - } - units "second"; - default "1"; - description - "Per-interface time period to wait for a - restart ACK during an IETF-NSF restart. This - configuration has no effect if IETF-NSF is - not configured"; - } - leaf max-interface-timer-expiry { - type uint32 { - range "1..10"; - } - default "10"; - description - "Maximum number of times an interface timer - may expire during an IETF-NSF restart before - the NSF restart is aborted. This - configuration has no effect if IETF NSF is - not configured."; - } - leaf lifetime { - type uint32 { - range "5..300"; - } - units "second"; - default "90"; - description - "Maximum route lifetime following restart. - When this lifetime expires, old routes will - be purged from the RIB."; - } - } - - container link-groups { - description "Link Group"; - - list link-group { - key "link-group-name"; - description "Configuration for link group name"; - leaf enable { - type empty; - description - "Flag to indicate that linkgroup should be - running. This must be the first object - created when a linkgroup is configured, and - the last object deleted when it is - deconfigured. When this object is deleted, - the IS-IS linkgroup will be removed."; - } - leaf metric-offset { - type uint32 { - range "0..16777215"; - } - description - "Metric for redistributed routes: <0-63> for - narrow, <0-16777215> for wide"; - } - leaf revert-members { - type uint32 { - range "2..64"; - } - default "2"; - description "Revert Members"; - } - leaf minimum-members { - type uint32 { - range "2..64"; - } - default "2"; - description "Minimum Members"; - } - leaf link-group-name { - type dt1:Isis-link-group-name; - description "Link Group Name"; - } - } - } - - container lsp-check-intervals { - description "LSP checksum check interval configuration"; - - list lsp-check-interval { - key "level"; - description "LSP checksum check interval parameters"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "10..65535"; - } - units "second"; - mandatory true; - description - "LSP checksum check interval time in seconds"; - } - } - } - - container lsp-passwords { - description "LSP/SNP password configuration"; - - list lsp-password { - key "level"; - description - "LSP/SNP passwords. This must exist if an - LSPAcceptPassword of the same level exists."; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf algorithm { - type Isis-authentication-algorithm; - mandatory true; - description "Algorithm"; - } - leaf failure-mode { - type Isis-authentication-failure-mode; - mandatory true; - description "Failure Mode"; - } - leaf authentication-type { - type Isis-snp-auth; - mandatory true; - description "SNP packet authentication mode"; - } - leaf password { - type xr:Proprietary-password; - mandatory true; - description "Password or unencrypted Key Chain name"; - } - } - } - - container nets { - description "NET configuration"; - - list net { - key "net-name"; - description "Network Entity Title (NET)"; - leaf net-name { - type xr:Osi-net; - description "Network Entity Title"; - } - } - } - - container lsp-lifetimes { - description "LSP lifetime configuration"; - - list lsp-lifetime { - key "level"; - description "Maximum LSP lifetime"; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf lifetime { - type uint32 { - range "1..65535"; - } - units "second"; - mandatory true; - description "Seconds"; - } - } - } - - container overload-bits { - description "LSP overload-bit configuration"; - - list overload-bit { - key "level"; - description - "Set the overload bit in the System LSP so - that other routers avoid this one in SPF - calculations. This may be done either - unconditionally, or on startup until either a - set time has passed or IS-IS is informed that - BGP has converged. This is an Object with a - union discriminated on an integer value of - the ISISOverloadBitModeType."; - leaf level { - type dt1:Isis-internal-level; - description "Level to which configuration applies"; - } - leaf overload-bit-mode { - type Isis-overload-bit-mode; - description - "Circumstances under which the overload bit - is set in the system LSP"; - } - leaf hippity-period { - when "../overload-bit-mode = 'startup-period'" { - description "../OverloadBitMode = 2"; - } - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time in seconds to advertise ourself as - overloaded after process startup"; - } - leaf external-adv-type { - type Isis-adv-type-external; - description "Advertise prefixes from other protocols"; - } - leaf inter-level-adv-type { - type Isis-adv-type-inter-level; - description "Advertise prefixes across ISIS levels"; - } - } - } - - container interfaces { - description "Per-interface configuration"; - - list interface { - key "interface-name"; - description "Configuration for an IS-IS interface"; - - container lsp-retransmit-throttle-intervals { - description - "LSP-retransmission-throttle-interval - configuration"; - - list lsp-retransmit-throttle-interval { - key "level"; - description - "Minimum interval betwen retransissions of - different LSPs"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "0..65535"; - } - units "millisecond"; - mandatory true; - description "Milliseconds"; - } - } - } - - container lsp-retransmit-intervals { - description - "LSP-retransmission-interval configuration"; - - list lsp-retransmit-interval { - key "level"; - description - "Interval between retransmissions of the - same LSP"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "0..65535"; - } - units "second"; - mandatory true; - description "Seconds"; - } - } - } - - container bfd { - description "BFD configuration"; - leaf enable-ipv6 { - type boolean; - description - "TRUE to enable BFD. FALSE to disable and to - prevent inheritance from a parent"; - } - leaf enable-ipv4 { - type boolean; - description - "TRUE to enable BFD. FALSE to disable and to - prevent inheritance from a parent"; - } - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by - isis"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions - created by isis"; - } - } - - container priorities { - description "DIS-election priority configuration"; - - list priority { - key "level"; - description "DIS-election priority"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf priority-value { - type uint32 { - range "0..127"; - } - mandatory true; - description "Priority"; - } - } - } - - container hello-accept-passwords { - description "IIH accept password configuration"; - - list hello-accept-password { - key "level"; - description - "IIH accept passwords. This requires the - existence of a HelloPassword of the same - level."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf password { - type xr:Proprietary-password; - mandatory true; - description "Password"; - } - } - } - - container hello-passwords { - description "IIH password configuration"; - - list hello-password { - key "level"; - description - "IIH passwords. This must exist if a - HelloAcceptPassword of the same level - exists."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf algorithm { - type Isis-authentication-algorithm; - mandatory true; - description "Algorithm"; - } - leaf failure-mode { - type Isis-authentication-failure-mode; - mandatory true; - description "Failure Mode"; - } - leaf password { - type xr:Proprietary-password; - mandatory true; - description - "Password or unencrypted Key Chain name"; - } - } - } - - container hello-paddings { - description "Hello-padding configuration"; - - list hello-padding { - key "level"; - description "Pad IIHs to the interface MTU"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf padding-type { - type Isis-hello-padding; - mandatory true; - description "Hello padding type value"; - } - } - } - - container hello-multipliers { - description "Hello-multiplier configuration"; - - list hello-multiplier { - key "level"; - description - "Hello-multiplier configuration. The number - of successive IIHs that may be missed on an - adjacency before it is considered down."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf multiplier { - type uint32 { - range "3..1000"; - } - mandatory true; - description "Hello multiplier value"; - } - } - } - - container lsp-fast-flood-thresholds { - description "LSP fast flood threshold configuration"; - - list lsp-fast-flood-threshold { - key "level"; - description - "Number of LSPs to send back to back on an - interface."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf count { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Count"; - } - } - } - - container prefix-attribute-n-flag-clears { - description - "Prefix attribute N flag clear configuration"; - - list prefix-attribute-n-flag-clear { - key "level"; - description - "Clear the N flag in prefix attribute flags - sub-TLV"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - } - } - - container hello-intervals { - description "Hello-interval configuration"; - - list hello-interval { - key "level"; - description - "Hello-interval configuration. The interval - at which IIH packets will be sent. This - will be three times quicker on a LAN - interface which has been electted DIS."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "1..65535"; - } - units "second"; - mandatory true; - description "Seconds"; - } - } - } - - container interface-afs { - description - "Per-interface address-family configuration"; - - list interface-af { - must "interface-af-data or topology-name" { - description - "interface-af-data or topology-name must be - present."; - } - key "af-name saf-name"; - description - "Configuration for an IS-IS address-family - on a single interface. If a named - (non-default) topology is being created it - must be multicast. Also the topology ID - mustbe set first and delete last in the - router configuration."; - - grouping INTERFACE-AF-CONTENT { - description "Content grouping."; - - container prefix-sid { - presence "Indicates a prefix-sid node is"+ - " configured."; - description - "Assign prefix SID to an interface, - ISISPHPFlag will be rejected if set to - disable, ISISEXPLICITNULLFlag will - override the value of ISISPHPFlag"; - leaf type { - type Isissid1; - mandatory true; - description "SID type for the interface"; - } - leaf value { - type uint32 { - range "0..1048575"; - } - mandatory true; - description "SID value for the interface"; - } - leaf php { - type Isisphp-flag; - mandatory true; - description - "Enable/Disable Penultimate Hop Popping"; - } - leaf explicit-null { - type Isisexplicit-null-flag; - mandatory true; - description - "Enable/Disable Explicit-NULL flag"; - } - leaf nflag-clear { - type Nflag-clear; - mandatory true; - description "Clear N-flag for the prefix-SID"; - } - } - - container interface-frr-table { - description "Fast-ReRoute configuration"; - - container frrlfa-candidate-interfaces { - description "FRR LFA candidate configuration"; - - list frrlfa-candidate-interface { - key "interface-name frr-type"; - description - "Include an interface to LFA candidate - in computation"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf frr-type { - type Isisfrr; - description "Computation Type"; - } - leaf level { - type uint32 { - range "0..2"; - } - mandatory true; - description "Level"; - } - } - } - - container frr-remote-lfa-max-metrics { - description "Remote LFA maxmimum metric"; - - list frr-remote-lfa-max-metric { - key "level"; - description - "Configure the maximum metric for - selecting a remote LFA node"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf max-metric { - type uint32 { - range "1..16777215"; - } - mandatory true; - description "Value of the metric"; - } - } - } - - container frr-types { - description - "Type of FRR computation per level"; - - list frr-type { - key "level"; - description - "Type of computation for prefixes - reachable via interface"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf type { - type Isisfrr; - mandatory true; - description "Computation Type"; - } - } - } - - container frr-remote-lfa-types { - description "Remote LFA Enable"; - - list frr-remote-lfa-type { - key "level"; - description - "Enable remote lfa for a particular - level"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf type { - type Isis-remote-lfa; - mandatory true; - description "Remote LFA Type"; - } - } - } - - container interface-frr-tiebreaker-defaults { - description - "Interface FRR Default tiebreaker - configuration"; - - list interface-frr-tiebreaker-default { - key "level"; - description "Configure default tiebreaker"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - } - } - - container frrtilfa-types { - description "TI LFA Enable"; - - list frrtilfa-type { - key "level"; - description - "Enable TI lfa for a particular level"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - } - } - - container frr-exclude-interfaces { - description "FRR exclusion configuration"; - - list frr-exclude-interface { - key "interface-name frr-type"; - description - "Exclude an interface from computation"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf frr-type { - type Isisfrr; - description "Computation Type"; - } - leaf level { - type uint32 { - range "0..2"; - } - mandatory true; - description "Level"; - } - } - } - - container interface-frr-tiebreakers { - description - "Interface FRR tiebreakers configuration"; - - list interface-frr-tiebreaker { - key "level tiebreaker"; - description - "Configure tiebreaker for multiple - backups"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf tiebreaker { - type Isis-interface-frr-tiebreaker; - description - "Tiebreaker for which configuration - applies"; - } - leaf index { - type uint32 { - range "1..255"; - } - mandatory true; - description - "Preference order among tiebreakers"; - } - } - } - } - - container mpls-ldp { - description "MPLS LDP configuration"; - leaf sync-level { - type uint32 { - range "0..2"; - } - default "0"; - description - "Enable MPLS LDP Synchronization for an - IS-IS level"; - } - } - - container prefix-sspfsid { - presence "Indicates a prefix-sspfsid node is"+ - " configured."; - description - "Assign prefix SSPF SID to an interface, - ISISPHPFlag will be rejected if set to - disable, ISISEXPLICITNULLFlag will - override the value of ISISPHPFlag"; - leaf type { - type Isissid1; - mandatory true; - description "SID type for the interface"; - } - leaf value { - type uint32 { - range "0..1048575"; - } - mandatory true; - description "SID value for the interface"; - } - leaf php { - type Isisphp-flag; - mandatory true; - description - "Enable/Disable Penultimate Hop Popping"; - } - leaf explicit-null { - type Isisexplicit-null-flag; - mandatory true; - description - "Enable/Disable Explicit-NULL flag"; - } - leaf nflag-clear { - type Nflag-clear; - mandatory true; - description "Clear N-flag for the prefix-SID"; - } - } - - container auto-metrics { - description "AutoMetric configuration"; - - list auto-metric { - key "level"; - description - "AutoMetric Proactive-Protect - configuration. Legal value depends on - the metric-style specified for the - topology. If the metric-style defined is - narrow, then only a value between <1-63> - is allowed and if the metric-style is - defined as wide, then a value between - <1-16777214> is allowed as the - auto-metric value."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf proactive-protect { - type uint32 { - range "1..16777214"; - } - mandatory true; - description - "Allowed auto metric:<1-63> for narrow - ,<1-16777214> for wide"; - } - } - } - - container admin-tags { - description "admin-tag configuration"; - - list admin-tag { - key "level"; - description - "Admin tag for advertised interface - connected routes"; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf admin-tag { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description - "Tag to associate with connected routes"; - } - } - } - - container interface-link-group { - presence "Indicates a interface-link-group node"+ - " is configured."; - description "Provide link group name and level"; - leaf link-group { - type dt1:Isis-link-group-name; - mandatory true; - description "Link Group"; - } - leaf level { - type uint32 { - range "0..2"; - } - default "0"; - description - "Level in which link group will be - effective"; - } - } - leaf interface-af-state { - type Isis-interface-af-state; - description "Interface state"; - } - leaf running { - type empty; - description - "The presence of this object allows an - address-family to be run over the - interface in question.This must be the - first object created under the - InterfaceAddressFamily container, and the - last one deleted"; - } - uses MANUAL-ADJ-SID-TABLE; - uses METRIC-TABLE; - uses WEIGHT-TABLE; - } - - container interface-af-data { - description "Data container."; - uses INTERFACE-AF-CONTENT; - } - leaf af-name { - type dt1:Isis-address-family; - description "Address family"; - } - leaf saf-name { - type dt1:Isis-sub-address-family; - description "Sub address family"; - } - - list topology-name { - key "topology-name"; - description "keys: topology-name"; - leaf topology-name { - type dt1:Isis-topology-name; - description "Topology Name"; - } - uses INTERFACE-AF-CONTENT; - } - } - } - - container csnp-intervals { - description "CSNP-interval configuration"; - - list csnp-interval { - key "level"; - description - "CSNP-interval configuration. No fixed - default value as this depends on the media - type of the interface."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "0..65535"; - } - units "second"; - mandatory true; - description "Seconds"; - } - } - } - - container lsp-intervals { - description "LSP-interval configuration"; - - list lsp-interval { - key "level"; - description - "Interval between transmission of LSPs on - interface."; - leaf level { - type dt1:Isis-internal-level; - description - "Level to which configuration applies"; - } - leaf interval { - type uint32 { - range "1..4294967295"; - } - units "millisecond"; - mandatory true; - description "Milliseconds"; - } - } - } - leaf running { - type empty; - description - "This object must be set before any other - configuration is supplied for an interface, - and must be the last per-interface - configuration object to be removed."; - } - leaf circuit-type { - type Isis-configurable-levels; - default "level1-and2"; - description "Configure circuit type for interface"; - } - leaf point-to-point { - type empty; - description - "IS-IS will attempt to form point-to-point - over LAN adjacencies over this interface."; - } - leaf state { - type Isis-interface-state; - description "Enable/Disable routing"; - } - leaf mesh-group { - type union { - type enumeration { - enum blocked { - value 0; - description - "Blocked mesh group. Changed LSPs are not - flooded over blocked interfaces"; - } - } - type uint32 { - range "0..4294967295"; - } - } - description "Mesh-group configuration"; - } - leaf link-down-fast-detect { - type empty; - description - "Configure high priority detection of - interface down event"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - leaf running { - type empty; - description - "Flag to indicate that instance should be - running. This must be the first object - created when an IS-IS instance is configured, - and the last object deleted when it is - deconfigured. When this object is deleted, - the IS-IS instance will exit."; - } - leaf log-adjacency-changes { - type empty; - description "Log changes in adjacency state"; - } - leaf ignore-lsp-errors { - type boolean; - description - "If TRUE, LSPs recieved with bad checksums will - result in the purging of that LSP from the LSP - DB. If FALSE or not set, the received LSP will - just be ignored."; - } - leaf is-type { - type Isis-configurable-levels; - default "level1-and2"; - description "IS type of the IS-IS process"; - } - leaf tracing-mode { - type Isis-tracing-mode; - default "basic"; - description "Tracing mode configuration"; - } - leaf instance-id { - type uint32 { - range "0..65535"; - } - default "0"; - description "Instance ID of the IS-IS process"; - } - leaf dynamic-host-name { - type boolean; - description - "If TRUE, dynamic hostname resolution is - disabled, and system IDs will always be - displayed by show and debug output."; - } - leaf nsr { - type empty; - description "IS-IS NSR configuration"; - } - leaf log-pdu-drops { - type empty; - description "Log PDU drops"; - } - leaf instance-name { - type dt1:Isis-instance-name; - description "Instance identifier"; - } - } - } - } - - augment "/a1:snmp/a1:notification" { - - container isis { - description "Enable ISIS-MIB notifications"; - leaf database-overflow { - type Isis-mib-database-over-flow-boolean; - default "false"; - description "Enable or disable"; - } - leaf manual-address-drops { - type Isis-mib-manual-address-drops-boolean; - default "false"; - description "Enable or disable"; - } - leaf corrupted-lsp-detected { - type Isis-mib-corrupted-lsp-detected-boolean; - default "false"; - description "Enable or disable"; - } - leaf attempt-to-exceed-max-sequence { - type Isis-mib-attempt-to-exceed-max-sequence-boolean; - default "false"; - description "Enable or disable"; - } - leaf id-length-mismatch { - type Isis-mib-id-length-mismatch-boolean; - default "false"; - description "Enable or disable"; - } - leaf max-area-address-mismatch { - type Isis-mib-max-area-address-mismatch-boolean; - default "false"; - description "Enable or disable"; - } - leaf own-lsp-purge { - type Isis-mib-own-lsp-purge-boolean; - default "false"; - description "Enable or disable"; - } - leaf sequence-number-skip { - type Isis-mib-sequence-number-skip-boolean; - default "false"; - description "Enable or disable"; - } - leaf authentication-type-failure { - type Isis-mib-authentication-type-failure-boolean; - default "false"; - description "Enable or disable"; - } - leaf authentication-failure { - type Isis-mib-authentication-failure-boolean; - default "false"; - description "Enable or disable"; - } - leaf version-skew { - type Isis-mib-version-skew-boolean; - default "false"; - description "Enable or disable"; - } - leaf area-mismatch { - type Isis-mib-area-mismatch-boolean; - default "false"; - description "Enable or disable"; - } - leaf rejected-adjacency { - type Isis-mib-rejected-adjacency-boolean; - default "false"; - description "Enable or disable"; - } - leaf lsp-too-large-to-propagate { - type Isis-mib-lsp-too-large-to-propagate-boolean; - default "false"; - description "Enable or disable"; - } - leaf originated-lsp-buffer-size-mismatch { - type Isis-mib-originated-lsp-buffer-size-mismatch-boolean; - default "false"; - description "Enable or disable"; - } - leaf protocols-supported-mismatch { - type Isis-mib-protocols-supported-mismatch-boolean; - default "false"; - description "Enable or disable"; - } - leaf adjacency-change { - type Isis-mib-adjacency-change-boolean; - default "false"; - description "Enable or disable"; - } - leaf lsp-error-detected { - type Isis-mib-lsp-error-detected-boolean; - default "false"; - description "Enable or disable"; - } - leaf all { - type Isis-mib-all-boolean; - default "false"; - description "Enable all isisMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-datatypes.yang deleted file mode 100644 index 9212c1b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-datatypes.yang +++ /dev/null @@ -1,120 +0,0 @@ -module Cisco-IOS-XR-clns-isis-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-clns-isis-datatypes"; - - - prefix "clns-isis-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Isis-address-family { - type enumeration { - enum ipv4 { - value 0; - description "IPv4"; - } - enum ipv6 { - value 1; - description "IPv6"; - } - } - description "Isis address family"; - } - typedef Isis-ipv6-prefix-length { - type uint32 { - range "0..128"; - } - description "Isis ipv6 prefix length"; - } - typedef Isis-ipv4-prefix-length { - type uint32 { - range "0..32"; - } - description "Isis ipv4 prefix length"; - } - typedef Isis-instance-name { - type xr:Cisco-ios-xr-string { - length "1..40"; - } - description "Isis instance name"; - } - typedef Isis-internal-level { - type enumeration { - enum not-set { - value 0; - description "Level not set"; - } - enum level1 { - value 1; - description "Level1"; - } - enum level2 { - value 2; - description "Level2"; - } - } - description "Isis internal level"; - } - typedef Isis-link-group-name { - type xr:Cisco-ios-xr-string { - length "1..40"; - } - description "Isis link group name"; - } - typedef Isis-sub-address-family { - type enumeration { - enum unicast { - value 0; - description "Unicast"; - } - enum multicast { - value 1; - description "Multicast"; - } - } - description "Isis sub address family"; - } - typedef Isis-topology-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Isis topology name"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub1.yang deleted file mode 100644 index df3c0d0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub1.yang +++ /dev/null @@ -1,6419 +0,0 @@ -submodule Cisco-IOS-XR-clns-isis-oper-sub1 { - - belongs-to Cisco-IOS-XR-clns-isis-oper { - prefix Cisco-IOS-XR-clns-isis-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR clns-isis package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Isis-uloop-event { - type enumeration { - enum isis-u-loop-event-none { - description "isis u loop event none"; - } - enum isis-u-loop-event-link-down { - description "isis u loop event link down"; - } - enum isis-u-loop-event-link-up { - description "isis u loop event link up"; - } - enum isis-u-loop-event-ol-bit-set { - description "isis u loop event ol bit set"; - } - enum isis-u-loop-event-ol-bit-unset { - description "isis u loop event ol bit unset"; - } - } - description "Isis uloop event"; - } - typedef Isis-uloop-avoidance { - type enumeration { - enum isis-u-loop-avoidance-type-none { - value 0; - description "No MicroLoop avoidance"; - } - enum isis-u-loop-avoidance-type-all { - value 1; - description "Apply MicroLoop avoidance for all prefixes"; - } - enum isis-u-loop-avoidance-type-protected { - value 2; - description - "Apply MicroLoop avoidance only for protected - prefixes"; - } - enum isis-u-loop-avoidance-type-sr { - value 3; - description - "Segment Routing MicroLoop avoidance for All - single-link changes"; - } - } - description "Isis uloop avoidance"; - } - typedef Isis-metric-style { - type enumeration { - enum isis-metric-style-narrow { - value 0; - description "old-style (ISO 10589) metrics"; - } - enum isis-metric-style-wide { - value 1; - description "new-style 32-bit metrics"; - } - enum isis-metric-style-transition { - value 2; - description "send/accept both forms of metric"; - } - } - description "Isis metric style"; - } - typedef Isis-startup-status { - type enumeration { - enum isis-startup-ssm-active { - description - "Startup-state-machine controlled restart in - progress"; - } - enum isis-startup-ssm-complete { - description - "Startup-state-machine controlled restart - complete"; - } - enum isis-startup-ssm-aborted { - description - "Startup-state-machine controlled restart - aborted"; - } - enum isis-startup-ssm-not-run { - description - "Startup-state-machine controlled not attempted"; - } - } - description "Isis startup status"; - } - typedef Isis-nsf-flavor { - type enumeration { - enum isis-nsf-flav-or-none { - value 0; - description "NSF not configured"; - } - enum isis-nsf-flav-or-cisco { - value 1; - description "Cisco-proprietary NSF"; - } - enum isis-nsf-flav-or-ietf { - value 2; - description "IETF-standard NSF"; - } - enum isis-nsf-flav-or-nsr { - value 3; - description "Cisco-proprietary NSR"; - } - } - description "Isis nsf flavor"; - } - typedef Isis-err-log-level { - type enumeration { - enum isis-err-log-level-info { - value 0; - description "isis err log level info"; - } - enum isis-err-log-level-warn { - value 1; - description "isis err log level warn"; - } - enum isis-err-log-level-critical { - value 2; - description "isis err log level critical"; - } - } - description "Isis err log level"; - } - typedef Isis-if-af-prefix-unknown-reason { - type enumeration { - enum isis-intf-af-prefix-unknown-adv-suppressed { - description "isis intf af prefix unknown adv suppressed"; - } - enum isis-intf-af-prefix-unknown-global-addr-reg-error { - description - "isis intf af prefix unknown global addr reg - error"; - } - enum isis-intf-af-prefix-unknown-internal-error { - description "isis intf af prefix unknown internal error"; - } - } - description "Isis if af prefix unknown reason"; - } - typedef Isis-if-af-fwd-addr-unknown-reason { - type enumeration { - enum isis-intf-af-fwd-addr-unknown-cfg-passive { - description "isis intf af fwd addr unknown cfg passive"; - } - enum isis-intf-af-fwd-addr-unknown-proto-doesnt-exist { - description - "isis intf af fwd addr unknown proto doesnt - exist"; - } - enum isis-intf-af-fwd-addr-unknown-next-hop-reg-error { - description - "isis intf af fwd addr unknown next hop reg - error"; - } - enum isis-intf-af-fwd-addr-unknown-no-link-local-add { - description - "isis intf af fwd addr unknown no link local add"; - } - enum isis-intf-af-fwd-addr-unknown-af-not-up { - description "isis intf af fwd addr unknown af not up"; - } - enum isis-intf-af-fwd-addr-unknown-vrf-enabled { - description "isis intf af fwd addr unknown vrf enabled"; - } - enum isis-intf-af-fwd-addr-unknown-internal-error { - description "isis intf af fwd addr unknown internal error"; - } - } - description "Isis if af fwd addr unknown reason"; - } - typedef Isis-if-af-proto-down-reason { - type enumeration { - enum isis-intf-af-proto-down-imd-conn-fail { - description "isis intf af proto down imd conn fail"; - } - enum isis-intf-af-proto-down-imd-node-doesnt-exist { - description "isis intf af proto down imd node doesnt exist"; - } - enum isis-intf-af-proto-down-imd-exist-reg-error { - description "isis intf af proto down imd exist reg error"; - } - enum isis-intf-af-proto-down-imd-state-reg-error { - description "isis intf af proto down imd state reg error"; - } - enum isis-intf-af-proto-down-af-not-up { - description "isis intf af proto down af not up"; - } - enum isis-intf-af-proto-down-internal-error { - description "isis intf af proto down internal error"; - } - } - description "Isis if af proto down reason"; - } - typedef Isis-if-af-disabled-reason { - type enumeration { - enum isis-intf-af-disabled-no-topo-enabled { - description "isis intf af disabled no topo enabled"; - } - enum isis-intf-af-disabled-internal-error { - description "isis intf af disabled internal error"; - } - } - description "Isis if af disabled reason"; - } - typedef Isis-frr-tiebreaker { - type enumeration { - enum isis-frr-tiebreaker-down-stream { - value 0; - description "Backup path is via downstream node"; - } - enum isis-frr-tiebreaker-lc-disjoint { - value 1; - description "Backup path is line card disjoint"; - } - enum isis-frr-tiebreaker-low-est-backup-metric { - value 2; - description "Backup path has lowest metric"; - } - enum isis-frr-tiebreaker-node-protecting { - value 3; - description "Backup path is node protecting"; - } - enum isis-frr-tiebreaker-primary-path { - value 4; - description "Backup path is ECMP"; - } - enum isis-frr-tiebreaker-secondary-path { - value 5; - description "Backup path is not an ECMP"; - } - enum isis-frr-tiebreaker-srlg-disjoint { - value 6; - description "Backup path is SRLG disjoint"; - } - enum isis-frr-tiebreaker-default { - value 7; - description "Backup path is link protecting"; - } - } - description "Isis frr tiebreaker"; - } - typedef Isis-frr { - type enumeration { - enum isis-frr-type-none { - value 0; - description "Computation disabled"; - } - enum isis-frr-type-per-link { - value 1; - description "Prefix independent per-link computation"; - } - enum isis-frr-type-per-prefix { - value 2; - description "Prefix dependent computation"; - } - enum isis-frr-type-sr-u-loop { - value 3; - description - "Segment Routing Microloop Avoidance computation"; - } - } - description "Isis frr"; - } - typedef Isis-if-topo-adv-prefix-disabled-reason { - type enumeration { - enum isis-intf-topo-adv-prefix-disabled-intf-suppressed { - description - "isis intf topo adv prefix disabled intf - suppressed"; - } - enum isis-intf-topo-adv-prefix-disabled-af-not-up { - description "isis intf topo adv prefix disabled af not up"; - } - enum isis-intf-topo-adv-prefix-disabled-af-prefixes-unknown { - description - "isis intf topo adv prefix disabled af prefixes - unknown"; - } - enum isis-intf-topo-adv-prefix-disabled-internal-error { - description - "isis intf topo adv prefix disabled internal - error"; - } - } - description "Isis if topo adv prefix disabled reason"; - } - typedef Isis-if-topo-adj-form-disabled-reason { - type enumeration { - enum isis-intf-topo-adj-form-disabled-intf-passive { - description "isis intf topo adj form disabled intf passive"; - } - enum isis-intf-topo-adj-form-disabled-af-not-up { - description "isis intf topo adj form disabled af not up"; - } - enum isis-intf-topo-adj-form-disabled-af-fwd-addr-unknown { - description - "isis intf topo adj form disabled af fwd addr - unknown"; - } - enum isis-intf-topo-adj-form-disabled-topo-not-cfg { - description "isis intf topo adj form disabled topo not cfg"; - } - enum "isis-intf-topo-adj-form-disabled-topo-can-not"+ - "-participate" { - description - "isis intf topo adj form disabled topo can not - participate"; - } - enum isis-intf-topo-adj-form-disabled-idle { - description "isis intf topo adj form disabled idle"; - } - enum isis-intf-topo-adj-form-disabled-internal-error { - description - "isis intf topo adj form disabled internal error"; - } - enum isis-intf-topo-adj-form-disabled-mtu { - description "isis intf topo adj form disabled mtu"; - } - enum isis-intf-topo-adj-form-disabled-snpa { - description "isis intf topo adj form disabled snpa"; - } - enum isis-intf-topo-adj-form-disabled-mcast { - description "isis intf topo adj form disabled mcast"; - } - } - description "Isis if topo adj form disabled reason"; - } - typedef Isis-if-topo-disabled-reason { - type enumeration { - enum isis-intf-topo-disabled-not-cfg { - description "isis intf topo disabled not cfg"; - } - enum isis-intf-topo-disabled-internal-error { - description "isis intf topo disabled internal error"; - } - } - description "Isis if topo disabled reason"; - } - typedef Isis-circuit-id { - type yang:hex-string; - description "Isis circuit id"; - } - typedef Isis-if-mcast-invalid-reason { - type enumeration { - enum isis-intf-mcast-invalid-join-error { - description - "Error when attempting to join this multicast - group"; - } - enum isis-intf-mcast-invalid-internal-error { - description "Internal error"; - } - enum isis-intf-mcast-invalid-not-yet-needed { - description "Multicast group membership not yet requested"; - } - } - description "Isis if mcast invalid reason"; - } - typedef Isis-if-clns-snpa-unknown-reason { - type enumeration { - enum isis-intf-clns-snpa-unknown-access-error { - description "isis intf clns snpa unknown access error"; - } - enum isis-intf-clns-snpa-unknown-not-lan { - description "isis intf clns snpa unknown not lan"; - } - enum isis-intf-clns-snpa-unknown-internal-error { - description "isis intf clns snpa unknown internal error"; - } - } - description "Isis if clns snpa unknown reason"; - } - typedef Isis-known { - type enumeration { - enum isis-unknown { - value 0; - description "Unknown"; - } - enum isis-known { - value 1; - description "Known"; - } - } - description "Isis known"; - } - typedef Isis-if-clns-mtu-invalid-reason { - type enumeration { - enum isis-intf-clns-mtu-invalid-too-small { - description "isis intf clns mtu invalid too small"; - } - enum isis-intf-clns-mtu-invalid-internal-error { - description "isis intf clns mtu invalid internal error"; - } - } - description "Isis if clns mtu invalid reason"; - } - typedef Isis-if-clns-proto-down-reason { - type enumeration { - enum isis-intf-clns-proto-down-add-to-intf-stack-fail { - description - "isis intf clns proto down add to intf stack - fail"; - } - enum isis-intf-clns-proto-down-no-imd-conn { - description "isis intf clns proto down no imd conn"; - } - enum isis-intf-clns-proto-down-imd-node-doesnt-exist { - description - "isis intf clns proto down imd node doesnt exist"; - } - enum isis-intf-clns-proto-down-imd-exist-reg-error { - description "isis intf clns proto down imd exist reg error"; - } - enum isis-intf-clns-proto-down-imd-state-reg-error { - description "isis intf clns proto down imd state reg error"; - } - enum isis-intf-clns-proto-down-clns-not-up { - description "isis intf clns proto down clns not up"; - } - } - description "Isis if clns proto down reason"; - } - typedef Isis-up { - type enumeration { - enum isis-down { - value 0; - description "Down"; - } - enum isis-up { - value 1; - description "Up"; - } - } - description "Isis up"; - } - typedef Isis-extended-circuit-number { - type uint32; - description "Isis extended circuit number"; - } - typedef Isis-circuit-number { - type uint8; - description "Isis circuit number"; - } - typedef Isis-if-adv-prefix-disabled-reason { - type enumeration { - enum isis-intf-adv-prefix-disabled-if-cfg-suppressed { - description - "isis intf adv prefix disabled if cfg suppressed"; - } - enum isis-intf-adv-prefix-disabled-no-topo-participate { - description - "isis intf adv prefix disabled no topo - participate"; - } - enum isis-intf-adv-prefix-disabled-internal-error { - description "isis intf adv prefix disabled internal error"; - } - } - description "Isis if adv prefix disabled reason"; - } - typedef Isis-if-adj-form-disabled-reason { - type enumeration { - enum isis-intf-adj-form-disabled-cfg-passive { - description "isis intf adj form disabled cfg passive"; - } - enum isis-intf-adj-form-disabled-no-topo-participate { - description - "isis intf adj form disabled no topo participate"; - } - enum isis-intf-adj-form-disabled-add-to-intf-stack-fail { - description - "isis intf adj form disabled add to intf stack - fail"; - } - enum isis-intf-adj-form-disabled-clns-io { - description "isis intf adj form disabled clns io"; - } - enum isis-intf-adj-form-disabled-internal-error { - description "isis intf adj form disabled internal error"; - } - } - description "Isis if adj form disabled reason"; - } - typedef Isis-if-disabled-reason { - type enumeration { - enum isis-intf-disabled-no-net-cfg { - description "isis intf disabled no net cfg"; - } - enum isis-intf-disabled-area-missing { - description "isis intf disabled area missing"; - } - enum isis-intf-disabled-no-area-running { - description "isis intf disabled no area running"; - } - enum isis-intf-disabled-no-topos-cfg { - description "isis intf disabled no topos cfg"; - } - enum isis-intf-disabled-no-imd-conn { - description "isis intf disabled no imd conn"; - } - enum isis-intf-disabled-imd-reg-error { - description "isis intf disabled imd reg error"; - } - enum isis-intf-disabled-level-mismatch { - description "isis intf disabled level mismatch"; - } - enum isis-intf-disabled-base-caps-error { - description "isis intf disabled base caps error"; - } - enum isis-intf-disabled-intf-doesnt-exist { - description "isis intf disabled intf doesnt exist"; - } - enum isis-intf-disabled-intf-shutdown { - description "isis intf disabled intf shutdown"; - } - enum isis-intf-disabled-internal-error { - description "isis intf disabled internal error"; - } - } - description "Isis if disabled reason"; - } - typedef Isis-enabled { - type enumeration { - enum isis-disabled { - value 0; - description "Disabled"; - } - enum isis-enabled { - value 1; - description "Enabled"; - } - } - description "Isis enabled"; - } - typedef Isis-mesh-group-number { - type uint32; - description "Isis mesh group number"; - } - typedef Isis-sh-route-adv-origin { - type enumeration { - enum isis-sh-route-adv-origin-interface { - description "IS-IS interface prefix"; - } - enum isis-sh-route-adv-origin-redistributed { - description "Redistributed prefix"; - } - enum isis-sh-route-adv-origin-native { - description "Native prefix"; - } - enum isis-sh-route-adv-origin-summary { - description "Summary prefix"; - } - enum isis-sh-route-adv-origin-default { - description "Explicit origination of default prefix"; - } - } - description "Origin of a prefix advertisement"; - } - typedef Isis-prefix-priority { - type enumeration { - enum isis-prefix-priority-critical { - value 0; - description "Critical priority prefixes"; - } - enum isis-prefix-priority-high { - value 1; - description "High priority prefixes"; - } - enum isis-prefix-priority-med { - value 2; - description "Medium priority prefixes"; - } - enum isis-prefix-priority-low { - value 3; - description "Low priority prefixes"; - } - } - description "Isis prefix priority"; - } - typedef Isis-prefix-origin { - type enumeration { - enum isis-prefix-origin-l1-summary-null { - value 0; - description "Level 1 Summary Null Route"; - } - enum isis-prefix-origin-l1 { - value 1; - description "Level 1 Route"; - } - enum isis-prefix-origin-l2-summary-null { - value 2; - description "Level 2 Summary Null Route"; - } - enum isis-prefix-origin-l2 { - value 3; - description "Level 2 Route"; - } - enum isis-prefix-origin-inter-area-summary-null { - value 4; - description "Level 1 Interarea Summary Null Route"; - } - enum isis-prefix-origin-inter-area { - value 5; - description "Level 1 Interarea Route"; - } - enum isis-prefix-origin-default-nearest-attached { - value 6; - description "Nearest Attached Default Route"; - } - } - description "Isis prefix origin"; - } - typedef Isis-string { - type string; - description "Isis string"; - } - typedef Isis-redist-proto { - type enumeration { - enum isis-redist-connected { - value 0; - description "Redistributed protocol is Connected"; - } - enum isis-redist-static { - value 1; - description "Redistributed protocol is Static"; - } - enum isis-redist-ospf { - value 2; - description "Redistributed protocol is OSPF"; - } - enum isis-redist-bgp { - value 3; - description "Redistributed protocol is BGP"; - } - enum isis-redist-isis { - value 4; - description "Redistributed protocol is IS-IS"; - } - enum isis-redist-ospfv3 { - value 5; - description "Redistributed protocol is OSPFv3"; - } - enum isis-redist-rip { - value 6; - description "Redistributed protocol is RIP"; - } - enum isis-redist-eigrp { - value 7; - description "Redistributed protocol is EIGRP"; - } - enum isis-redist-subscriber { - value 8; - description "Redistributed protocol is Subscriber"; - } - enum isis-redist-application { - value 9; - description "Redistributed protocol is Application"; - } - enum isis-redist-mobile { - value 10; - description "Redistributed protocol is Mobile"; - } - } - description "Isis redist proto"; - } - typedef Isis-valid { - type enumeration { - enum isis-invalid { - value 0; - description "Invalid"; - } - enum isis-valid { - value 1; - description "Valid"; - } - } - description "Isis valid"; - } - typedef Isis-tilfa-computation { - type enumeration { - enum isis-tilfa-comp-none { - description "isis tilfa comp none"; - } - enum isis-tilfa-comp-link { - description "isis tilfa comp link"; - } - enum isis-tilfa-comp-node { - description "isis tilfa comp node"; - } - enum isis-tilfa-comp-srlg { - description "isis tilfa comp srlg"; - } - enum isis-tilfa-comp-node-srlg { - description "isis tilfa comp node srlg"; - } - } - description "Isis tilfa computation"; - } - typedef Isis-prefix-tag { - type uint32; - description "Isis prefix tag"; - } - typedef Isis-sh-interface-name { - type string; - description "Isis sh interface name"; - } - typedef Isis-metric { - type uint32; - description "Isis metric"; - } - typedef Isis-reachable { - type enumeration { - enum isis-unreachable { - value 0; - description "Unreachable"; - } - enum isis-reachable { - value 1; - description "Reachable"; - } - } - description "Isis reachable"; - } - typedef Isis-metric-mode { - type enumeration { - enum isis-metric-mode-fixed { - value 0; - description "Fixed"; - } - enum isis-metric-mode-relative { - value 1; - description "Relative"; - } - enum isis-metric-mode-absolute { - value 2; - description "Absolute"; - } - } - description "Isis metric mode"; - } - typedef Isis-ip-prefix-length { - type uint8; - description "Isis ip prefix length"; - } - typedef Isis-spf-trigger { - type enumeration { - enum isis-spf-trig-config { - description "Configuration change"; - } - enum isis-spf-trig-nsr-fo { - description "NSR FO is done"; - } - enum isis-spf-trig-periodic { - description "Periodic SPF"; - } - enum isis-spf-trig-clear { - description "Cleared route table"; - } - enum isis-spf-trig-newadj { - description "New adjacency"; - } - enum isis-spf-trig-deladj { - description "Deleted adjacency"; - } - enum isis-spf-trig-next-hop { - description "IP nexthop address change"; - } - enum isis-spf-trig-metric { - description "Changed interface metric"; - } - enum isis-spf-trig-dis { - description "Change to elected DIS"; - } - enum isis-spf-trig-frr-per-link { - description "Change to per-link FRR config"; - } - enum isis-spf-trig-frr-per-prefix { - description "Change to per-prefix FRR config"; - } - enum isis-spf-trig-ucmp { - description "Change to UCMP config/calculation"; - } - enum isis-spf-trig-new-tunnel { - description "New TE Autoroute Tunnel"; - } - enum isis-spf-trig-del-tunnel { - description "Deleted TE Autoroute Tunnel"; - } - enum isis-spf-trig-chg-tunnel { - description "Changed TE Autoroute Tunnel"; - } - enum isis-spf-trig-new-node { - description "New LSP zero which participates in topology"; - } - enum isis-spf-trig-del-node { - description - "New LSP zero which no longer participates in - topology"; - } - enum isis-spf-trig-newlsp { - description "Previously unseen LSP fragment"; - } - enum isis-spf-trig-lsp-expiry { - description "LSP expired"; - } - enum isis-spf-trig-attach-set { - description "Attached bit set"; - } - enum isis-spf-trig-attach-clr { - description "Attached bit cleared"; - } - enum isis-spf-trig-overload-set { - description "Overload bit set"; - } - enum isis-spf-trig-overload-clr { - description "Overload bit cleared"; - } - enum isis-spf-trig-link-good { - description "Good news link TLV content change"; - } - enum isis-spf-trig-link-bad { - description "Bad news link TLV content change"; - } - enum isis-spf-trig-prefix-good { - description "Good news prefix TLV content change"; - } - enum isis-spf-trig-prefix-bad { - description "Bad news prefix TLV content change"; - } - enum isis-spf-trig-prefix { - description - "Neutral (neither good nor bad news) prefix TLV - content change"; - } - enum isis-spf-trig-area-addr { - description "Area address TLV content change"; - } - enum isis-spf-trig-ip-addr { - description "IP address TLV content change"; - } - enum isis-spf-trig-rtrid { - description "Router id TLV content change"; - } - enum isis-spf-trig-prefix-policy { - description "Prefix policy change"; - } - } - description "Isis spf trigger"; - } - typedef Isis-spf-class { - type enumeration { - enum isis-spf-frr-sr-u-loop { - value 0; - description "Remote microloop avoidance SPF"; - } - enum isis-spf-frr-per-link { - value 1; - description "FRR per-link SPF"; - } - enum isis-spf-partial { - value 2; - description "PRC"; - } - enum isis-spf-frr-per-prefix { - value 3; - description "FRR per-prefix SPF"; - } - enum isis-spf-ucmp-calc { - value 4; - description "UCMP SPF"; - } - enum isis-spf-next-hop { - value 5; - description "Next Hop"; - } - enum isis-spf-incremental { - value 6; - description "Incremental SPF"; - } - enum isis-spf-full { - value 7; - description "Full SPF"; - } - } - description "Types of route calculation"; - } - typedef Isis-sh-te-pce-flooding-scope { - type enumeration { - enum none { - description "Flooding is disabled"; - } - enum area { - description "Area wide flooding"; - } - enum domain { - description "Domain wide flooding"; - } - } - description "Isis sh te pce flooding scope"; - } - typedef Isis-sh-te-link { - type enumeration { - enum isis-sh-te-link-p2p { - description "Tunnel is absolute"; - } - enum isis-sh-te-link-broadcast { - description "Broadcast link"; - } - } - description "Isis sh te link"; - } - typedef Isis-lsp-db-op { - type enumeration { - enum isis-lsp-db-clear { - description "Clear the LSP database"; - } - enum isis-lsp-db-insert-new-lsp { - description "Insertion of new LSP"; - } - enum isis-lsp-db-replace-lsp-with-lsp { - description "LSP replacing LSP"; - } - enum isis-lsp-db-purge-lsp { - description "LSP purged by the local system"; - } - enum isis-lsp-db-delete-lsp { - description "Removal of the LSP from the database"; - } - } - description "Isis lsp db op"; - } - typedef Isis-pseudo-node-number { - type uint8; - description "Isis pseudo node number"; - } - typedef Isis-lsp-trigger { - type enumeration { - enum isis-lsp-trig-config { - description "Any configuration change"; - } - enum isis-lsp-trig-newadj { - description "New adjacency came up"; - } - enum isis-lsp-trig-deladj { - description "Adjacency went down"; - } - enum isis-lsp-trig-dr-change { - description "DIS changed, or pseudonode changed"; - } - enum isis-lsp-trig-area-set { - description "Active area set changed"; - } - enum isis-lsp-trig-attach { - description "Attached bit changed state"; - } - enum isis-lsp-trig-hippity { - description "LSPDB overload bit changed state"; - } - enum isis-lsp-trig-regen { - description "LSP regeneration"; - } - enum isis-lsp-trig-ip-if-up { - description "Directly connected IP prefix up"; - } - enum isis-lsp-trig-ip-if-down { - description "Directly connected IP prefix down"; - } - enum isis-lsp-trig-ip-inter-area { - description "Interarea IP route appeared or gone"; - } - enum isis-lsp-trig-ip-external { - description "Redistributed IP route appeared or gone"; - } - enum isis-lsp-trig-ip-external-full { - description "Full IP redistribution"; - } - enum isis-lsp-trig-ip-def-orig { - description "Default information originate changed"; - } - enum isis-lsp-trig-ip-addr-chg { - description "IP interface address changed"; - } - enum isis-lsp-trig-te-info { - description "TE bandwidth resource information"; - } - enum isis-lsp-trig-te-pce-info { - description "TE PCE information"; - } - enum isis-lsp-trig-te-fa-info { - description "TE forwarding adjacency information"; - } - enum isis-lsp-trig-nsr-fo { - description "NSR FO is done"; - } - enum isis-lsp-trig-pn-cancel { - description "Pseudo-node generation canceled"; - } - enum isis-lsp-trig-lkgp { - description "Link-group offset metric change"; - } - enum isis-lsp-trig-pp { - description "Proactive Protection metric change"; - } - enum isis-lsp-trig-config-force-send { - description - "Any configuration change that requires all LSPs - to be updated"; - } - enum isis-lsp-trig-config-force-init { - description - "Any configuration change that requires the LBD - database re-init."; - } - enum isis-lsp-trig-adj-sid-add { - description "Adjacency SID added"; - } - enum isis-lsp-trig-adj-sid-delete { - description "Adjacency SID deleted"; - } - enum isis-lsp-trig-msd { - description "Maximum SID depth change"; - } - enum isis-lsp-trig-adj-sid-wait-timer { - description "Adjacency SID wait timer expired"; - } - enum isis-lsp-trig-direct-gen { - description "Direct LSP generation"; - } - } - description "Isis lsp trigger"; - } - typedef Isis-adj-topo-status { - type enumeration { - enum isis-adj-topo-status-ok { - description "Topology is included in adjacency"; - } - enum isis-adj-topo-status-intf-not-configured { - description "Topology is not configured on the interface"; - } - enum isis-adj-topo-status-intf-not-running { - description "Topology is not running on the interface"; - } - enum isis-adj-topo-status-init-state { - description "Adjacency is in INIT state"; - } - enum isis-adj-topo-status-neighbor-doesnt-participate { - description "Neighbor doesn't participate in topology"; - } - enum isis-adj-topo-status-ipv4-address-tlv-missing { - description "Neighbor IIH doesn't contain IPv4 address TLV"; - } - enum isis-adj-topo-status-ipv4-address-tlv-empty { - description "Neighbor's IPv4 address TLV is empty"; - } - enum isis-adj-topo-status-ipv6-address-tlv-missing { - description "Neighbor IIH doesn't contain IPv6 address TLV"; - } - enum isis-adj-topo-status-ipv6-address-tlv-empty { - description "Neighbor's IPv6 address TLV is empty"; - } - enum isis-adj-topo-status-ipv4-address-matches-ours { - description "Neighbor's IPv4 address matches ours"; - } - enum isis-adj-topo-status-ipv6-address-matches-ours { - description "Neighbor's IPv6 address matches ours"; - } - enum isis-adj-topo-status-ipv4-address-subnet-mismatch { - description - "Neighbor's IPv4 address is in a different - subnet to ours"; - } - enum isis-adj-topo-status-ipv6-address-not-link-local { - description "Neighbor's IPv6 address is not link local"; - } - } - description "Status of a topology in an adjacency"; - } - typedef Isis-dr-priority { - type uint8; - description "Isis dr priority"; - } - typedef Isis-adj-bfd-state { - type enumeration { - enum isis-adj-bfd-no-state { - value 0; - description "No BFD session created"; - } - enum isis-adj-bfd-down-state { - value 1; - description "BFD session is DOWN"; - } - enum isis-adj-bfd-init-state { - value 2; - description "Waiting for BFD session to come UP"; - } - enum isis-adj-bfd-up-state { - value 3; - description "BFD session is UP"; - } - } - description "Current BFD state of an adjacency"; - } - typedef Isis-adj-topo-change { - type enumeration { - enum isis-adj-topo-up-change { - value 0; - description "Topology up"; - } - enum isis-adj-topo-next-hop-change { - value 1; - description "Topology next-hop changed"; - } - enum isis-adj-topo-down-change { - value 2; - description "Topology down"; - } - } - description "Per-topology change type for an adjacency"; - } - typedef Isis-adj-state-reason { - type enumeration { - enum isis-adj-up-nsf-restart { - value 0; - description "NSF Restart"; - } - enum isis-adj-up-new-adj { - value 1; - description "New adjacency"; - } - enum isis-adj-up-restarted { - value 2; - description "Restarted"; - } - enum isis-adj-up-nsf-restored { - value 3; - description "Restored during NSF"; - } - enum isis-adj-up-chkpt-restored { - value 4; - description "Restored from checkpoint"; - } - enum isis-adj-init-reason { - value 5; - description "Into INIT"; - } - enum isis-adj-init-neighbor-forgot { - value 6; - description "Neighbor forgot us"; - } - enum isis-adj-down-hold-time { - value 7; - description "Holdtime expired"; - } - enum isis-adj-down-if-down { - value 8; - description "Interface state going down"; - } - enum isis-adj-down-cfg-mismatch { - value 9; - description "Area address/level mismatch"; - } - enum isis-adj-down-circ-id { - value 10; - description "Circuit ID changed"; - } - enum isis-adj-down-nsf-ack-fail { - value 11; - description "NSF could not CSNP Ack P2P adjacency"; - } - enum isis-adj-down-db-clear { - value 12; - description "Clear of the Adjacency DB"; - } - enum isis-adj-down-no-common-topology { - value 13; - description "Neighbors have no common link topology"; - } - enum isis-adj-down-restart-tlv-missing { - value 14; - description "Restart TLV missing during IETF NSF restart"; - } - enum isis-adj-down-bfd-down { - value 15; - description "BFD session has gone DOWN"; - } - enum isis-adj-down-3way-down { - value 16; - description "3-way state down"; - } - } - description "Isis adj state reason"; - } - typedef Isis-level { - type enumeration { - enum isis-level0 { - value 0; - description "isis level0"; - } - enum isis-level1 { - value 1; - description "isis level1"; - } - enum isis-level2 { - value 2; - description "isis level2"; - } - } - description "Isis level"; - } - typedef Isis-ipv6-address { - type inet:ipv6-address; - description "Isis ipv6 address"; - } - typedef Isis-nodal-sid-value { - type uint32; - description "Isis nodal sid value"; - } - typedef Isis-ipv4-address { - type inet:ipv4-address; - description "Isis ipv4 address"; - } - typedef Isis-sub-af-id { - type enumeration { - enum unicast { - value 0; - description "Unicast"; - } - enum multicast { - value 1; - description "Multicast"; - } - } - description "Isis sub af id"; - } - typedef Isis-af-id { - type enumeration { - enum ipv4 { - value 0; - description "IPv4"; - } - enum ipv6 { - value 1; - description "IPv6"; - } - } - description "Isis af id"; - } - typedef Isis-media-class { - type enumeration { - enum isis-media-class-lan { - value 0; - description "LAN"; - } - enum isis-media-class-p2p { - value 1; - description "P2P"; - } - enum isis-media-class-loop-back { - value 2; - description "Loopback"; - } - } - description "Isis media class"; - } - typedef Isis-levels { - type enumeration { - enum isis-levels-none { - value 0; - description "isis levels none"; - } - enum isis-levels-1 { - value 1; - description "isis levels 1"; - } - enum isis-levels-2 { - value 2; - description "isis levels 2"; - } - enum isis-levels-12 { - value 3; - description "isis levels 12"; - } - enum isis-levels-total { - value 4; - description "isis levels total"; - } - } - description "Isis levels"; - } - typedef Isis-adj-state { - type enumeration { - enum isis-adj-up-state { - value 0; - description "Adjacency up"; - } - enum isis-adj-init-state { - value 1; - description "Adjacency initializing"; - } - enum isis-adj-failed-state { - value 2; - description "Adjacency down/failed"; - } - } - description "Isis adj state"; - } - - grouping ISIS-SH-CHKPT-TE-TUNNEL { - description "Checkpointed TE tunnel"; - leaf checkpoint-te-level { - type Isis-level; - description "TE database level"; - } - leaf checkpoint-te-system-id { - type xr:Osi-system-id; - description "Destination system ID"; - } - leaf checkpoint-te-interface { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf checkpoint-te-flags { - type uint32; - description "Tunnel flags"; - } - leaf checkpoint-te-nexthop { - type Isis-ipv4-address; - description "Tunnel next-hop IP address"; - } - leaf checkpoint-te-metric { - type int32; - description "Tunnel metric"; - } - leaf checkpoint-te-metric-mode { - type Isis-metric-mode; - description "Tunnel metric mode"; - } - leaf checkpoint-te-bandwidth { - type uint32; - description "Tunnel bandwidth"; - } - leaf checkpoint-te-object-id { - type uint32; - description "Tunnel checkpoint object ID"; - } - } - - grouping NSR-STATS-GBL-TYPE { - description "NSR STATS GBL TYPE"; - leaf no-of-l1-lsp { - type uint32; - description "no of l1 lsp"; - } - leaf no-of-l2-lsp { - type uint32; - description "no of l2 lsp"; - } - leaf no-of-l1-adj { - type uint16; - description "no of l1 adj"; - } - leaf no-of-l2-adj { - type uint16; - description "no of l2 adj"; - } - leaf no-of-live-interface { - type uint16; - description "no of live interface"; - } - leaf no-of-ptp-interface { - type uint16; - description "no of ptp interface"; - } - leaf no-of-lan-interface { - type uint16; - description "no of lan interface"; - } - leaf no-of-loopback-interface { - type uint16; - description "no of loopback interface"; - } - leaf no-of-te-tunnels { - type uint16; - description "no of te tunnels"; - } - leaf no-of-te-links { - type uint16; - description "no of te links"; - } - leaf no-of-ipv4-routes { - type uint32; - description "no of ipv4 routes"; - } - leaf no-of-ipv6-routes { - type uint32; - description "no of ipv6 routes"; - } - leaf seqnum { - type uint32; - description "seqnum"; - } - } - - grouping NSR-STATS-GBL-ARR-TYPE { - description "NSR STATS GBL ARR TYPE"; - - container self { - description "self"; - uses NSR-STATS-GBL-TYPE; - } - - list peer { - max-elements "3"; - description "peer"; - uses NSR-STATS-GBL-TYPE; - } - } - - grouping ISIS-SH-NSR-STATS-GLOBAL { - description "IS-IS process NSR statistics"; - - container isis-nsr-stats-data { - description "ISIS NSR STATS Data"; - uses NSR-STATS-GBL-ARR-TYPE; - } - leaf isis-vm-state { - type uint16; - description "ISIS VM STATE"; - } - } - - grouping ISIS-SH-MESH-ENTRY { - description "Mesh-group informaiton for one interface"; - - list isis-sh-mesh-entry { - description "isis sh mesh entry"; - leaf mesh-group-interface { - type xr:Interface-name; - description "This interface"; - } - leaf mesh-group-number { - type Isis-mesh-group-number; - description "Mesh-group number"; - } - } - } - - grouping ISIS-SH-MESH-GROUPS { - description "IS-IS mesh-group data"; - - container mesh-group-configured-interface-list { - description "List of mesh-group-configured interfaces"; - uses ISIS-SH-MESH-ENTRY; - } - } - - grouping ISIS-SH-CHKPT-LSP { - description "Checkpointed LSP"; - leaf checkpoint-lsp-object-id { - type uint32; - description "LSP Checkpoint table object ID"; - } - leaf checkpoint-lsp-level { - type uint8; - description "LSP level"; - } - leaf checkpoint-lsp-local-flag { - type boolean; - description "TRUE if this is a local LSP"; - } - leaf checkpoint-lsp-id { - type xr:Isis-lsp-id; - description "LSP ID"; - } - } - - grouping ISIS-SH-NBR-SUMM-LEVEL { - description "Neighbor states for one level"; - leaf neighbor-up-count { - type uint32; - description "Neighbors up"; - } - leaf neighbor-init-count { - type uint32; - description "Neighbors being initialized"; - } - leaf neighbor-down-count { - type uint32; - description "Neighbors down"; - } - } - - grouping ISIS-SH-NBR-SUMM { - description "Neighbor summary data"; - - container level1-neighbors { - description "L1-only neighbors"; - uses ISIS-SH-NBR-SUMM-LEVEL; - } - - container level2-neighbors { - description "L2-only neighbors"; - uses ISIS-SH-NBR-SUMM-LEVEL; - } - - container level12-neigbors { - description "L12 neighbors"; - uses ISIS-SH-NBR-SUMM-LEVEL; - } - } - - grouping ISIS-SH-TOPO-AREA { - description "Per-topology, per-area IS-IS protocol data"; - leaf level { - type Isis-level; - description "The level this data refers to"; - } - leaf uses-default-link-topo-flag { - type boolean; - description - "Does this topology use the default link topology"; - } - leaf generated-metric-style { - type Isis-metric-style; - description "Generate metric style"; - } - leaf accepted-metric-style { - type Isis-metric-style; - description "Accept metric style"; - } - leaf metric { - type Isis-metric; - description "Metric"; - } - leaf ispf-state { - type Isis-enabled; - description "ISPF state"; - } - leaf te-enabled { - type boolean; - description "Indicates whether MPLS TE is enabled"; - } - leaf uloop-avoidance-type { - type Isis-uloop-avoidance; - description "Microloop avoidance type"; - } - leaf rib-update-delay { - type uint32; - description "Microloop RIB update delay"; - } - leaf sr-uloop-is-active { - type boolean; - description "Explicit paths installed in the RIB"; - } - leaf duration { - type uint32; - description "SR microloop avoidance duration"; - } - leaf sr-uloop-event { - type Isis-uloop-event; - description "SR microloop avoidance event"; - } - leaf sr-uloop-near-node-id { - type xr:Isis-node-id; - description "SR microloop near node"; - } - leaf sr-uloop-far-node-id { - type xr:Isis-node-id; - description "SR microloop far node"; - } - } - - grouping ISIS-SH-REDIST-ENTRY { - description "Redistributed protocol entry"; - - list isis-sh-redist-entry { - description "isis sh redist entry"; - - container protocol-details { - description - "Relevant details of the redistributed protocol"; - uses ISIS-SH-REDIST-ENTRY-PROTO; - } - } - } - - grouping ISIS-SH-TOPO { - description "Per-topology IS-IS instance data"; - - container id { - description "Topology ID"; - uses ISIS-TOPO-ID-TYPE; - } - - container redist-protocols-list { - description "List of redistributed protocols"; - uses ISIS-SH-REDIST-ENTRY; - } - leaf default-admin-distance { - type uint32; - description "Default administrative distance"; - } - leaf advertise-passive-only { - type boolean; - description "Advertise passive interface prefixes only"; - } - leaf wait-redist-complete { - type boolean; - description "Waiting for redist complete RIB event"; - } - - list per-area-data { - description "Per-area data"; - uses ISIS-SH-TOPO-AREA; - } - } - - grouping ISIS-SH-PROTO { - description "Information about an IS-IS instance"; - leaf nsap-system-id { - type xr:Osi-system-id; - description "Local system ID"; - } - leaf valid-nsap-system-id { - type boolean; - description "Indicates if system ID valid"; - } - leaf instance-id { - type uint16; - description "instance id"; - } - leaf running-levels { - type Isis-levels; - description "Levels running"; - } - leaf configured-nsf-flavor { - type Isis-nsf-flavor; - description "Configured NSF type"; - } - leaf last-restart-nsf-flavor { - type Isis-nsf-flavor; - description "NSF type of last restart"; - } - leaf last-restart-status { - type Isis-startup-status; - description "Last restart status"; - } - leaf te-connection { - type Isis-up; - description "TE connection"; - } - leaf remaining-time-for-next-nsf-restart { - type uint32; - description - "Time remaining until the next NSF restart may be - attempted"; - } - leaf adj-form-count { - type uint32; - description "Adj Forming count"; - } - leaf adj-full-count { - type uint32; - description "Adj Full count"; - } - leaf adj-stagger-enabled { - type boolean; - description "Adjacency Stagger Enabled"; - } - leaf adj-stagger-init { - type uint32; - description - "Adjacency Stagger Initiall Number of Forming - Neighbors Allowed"; - } - leaf adj-stagger-max { - type uint32; - description - "Adjacency Stagger Max Number of Forming - Neighbors Allowed"; - } - leaf srgb-allocated { - type boolean; - description "Is SRGB allocated ?"; - } - leaf srgb-start { - type uint32; - description "First label in SRGB"; - } - leaf srgb-end { - type uint32; - description "Last label in SRGB"; - } - leaf srlb-allocated { - type boolean; - description "Is SRLB allocated ?"; - } - leaf srlb-start { - type uint32; - description "First label in SRLB"; - } - leaf srlb-end { - type uint32; - description "Last label in SRLB"; - } - list manual-area-address { - description "Manual area addresses"; - leaf entry { - type xr:Osi-area-address; - } - } - list active-area-address { - description "Active area addresses"; - leaf entry { - type xr:Osi-area-address; - } - } - - list per-topo-data { - description "Per-topology data"; - uses ISIS-SH-TOPO; - } - } - - grouping ISIS-TRAFFIC-INTF-AREA-LAN-TYPE { - description "Per-interface, per-area LAN-only statistics"; - - container iih-count { - description "IIH statistics"; - uses ISIS-TRAFFIC-PDU-COUNT-TYPE; - } - leaf memory-exhausted-iih-count { - type uint32; - description "IIHs not sent due to memory exhaustion"; - } - leaf dis-election-count { - type uint32; - description "DIS elections"; - } - } - - grouping ISIS-TRAFFIC-INTF-AREA-TYPE { - description "Per-interface, per-area statistics"; - - container lsp-count { - description "LSP statistics"; - uses ISIS-TRAFFIC-PDU-COUNT-TYPE; - } - - container csnp-count { - description "CSNP statistics"; - uses ISIS-TRAFFIC-PDU-COUNT-TYPE; - } - - container psnp-count { - description "PSNP statistics"; - uses ISIS-TRAFFIC-PDU-COUNT-TYPE; - } - leaf lsp-drop-count { - type uint32; - description - "Count of LSPs dropped due to minimum arrival - time config"; - } - leaf lsp-flooding-dup-count { - type uint32; - description - "Count of LSPs already received by neighbors and - not flooded"; - } - } - - grouping ISIS-SH-TRAFFIC-INTF-AREA { - description "Per-interface, per-area data"; - - container statistics { - description "Statistics"; - uses ISIS-TRAFFIC-INTF-AREA-TYPE; - } - - container lan-data { - description - "LAN interface statistics. NULL for non-LAN - interfaces"; - uses ISIS-TRAFFIC-INTF-AREA-LAN-TYPE; - } - leaf level { - type Isis-level; - description "Level of the area this data relates to"; - } - } - - grouping ISIS-TRAFFIC-PDU-COUNT-TYPE { - description "Per-interface, per-PDU statistics"; - leaf pdu-receive-count { - type uint32; - description "PDUs received"; - } - leaf pdu-send-count { - type uint32; - description "PDUs sent"; - } - } - - grouping ISIS-TRAFFIC-INTF-P2P-TYPE { - description "Per-interface point-to-point statistics"; - - container iih-count { - description "IIH statistics"; - uses ISIS-TRAFFIC-PDU-COUNT-TYPE; - } - leaf memory-exhausted-iih-count { - type uint32; - description "IIHs not sent due to memory exhaustion"; - } - leaf lsp-retransmit-count { - type uint32; - description "LSP retransmissions"; - } - } - - grouping ISIS-SH-TRAFFIC-INTF { - description "IS-IS interface traffic data"; - - container p2p-statistics { - description - "P2P interface statistics. NULL for non-P2P - interfaces"; - uses ISIS-TRAFFIC-INTF-P2P-TYPE; - } - leaf traffic-interface { - type xr:Interface-name; - description "Interface to which traffic statistics apply"; - } - leaf interface-media-type { - type Isis-media-class; - description "Interface media class"; - } - - list per-area-data { - description "Per-area data"; - uses ISIS-SH-TRAFFIC-INTF-AREA; - } - } - - grouping ISIS-SH-CHKPT-IDB { - description "Checkpointed interface"; - leaf checkpoint-object-id { - type uint32; - description "Checkpoint object ID"; - } - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf checkpoint-interface-handle { - type xr:Interface-name; - description "Local interface handle"; - } - leaf local-circuit-number { - type Isis-circuit-number; - description "Local circuit number"; - } - leaf dis-areas { - type Isis-levels; - description "Areas in which this system is DIS"; - } - leaf has-adjacency { - type boolean; - description "TRUE if there is an adjacency on this interface"; - } - leaf local-snpa { - type xr:Isis-snpa; - description "SNPA of this interface"; - } - leaf has-joined-mcast-group { - type boolean; - description - "TRUE if multicast group registration succeeded - on this interface"; - } - leaf has-achieved-ldp-sync { - type boolean; - description "MPLS LDP sync status"; - } - leaf has-achieved-ld-pv6-sync { - type boolean; - description "MPLS LDPv6 sync status"; - } - } - - grouping ISIS-SH-ERR-LOG-ENT { - description "An error log entry"; - - container generic-data { - description "Generic entry data"; - uses ISIS-SH-GENERIC-LOG-ENT; - } - leaf error-log-level { - type Isis-err-log-level; - description "Logging level"; - } - leaf error-code { - type uint32; - description "Error code"; - } - leaf error-reason { - type string; - description "Error details"; - } - } - - grouping ISIS-SH-ERR-LOG-STRUC { - description "Error log structure"; - - list log-entry { - description "Error Log entries"; - uses ISIS-SH-ERR-LOG-ENT; - } - } - - grouping ISIS-SH-CHKPT-ADJ { - description "Checkpointed adjacency"; - leaf checkpoint-adjacency-object-id { - type uint32; - description "Checkpoint object ID"; - } - leaf checkpoint-adjacency-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - leaf checkpoint-adjacency-snpa { - type xr:Isis-snpa; - description "Neighbor SNPA"; - } - leaf checkpoint-adjacency-interface { - type xr:Interface-name; - description "Local interface"; - } - leaf checkpoint-adjacency-level { - type Isis-level; - description "Adjacency level"; - } - leaf checkpoint-adjacency-holdtime { - type uint16; - description "Adjacency holdtime (s)"; - } - leaf checkpoint-adjacency-lan-priority { - type Isis-dr-priority; - description "Adjacency LAN priority"; - } - leaf checkpoint-adjacency-circuit-number { - type Isis-circuit-number; - description "Neighbor circuit number"; - } - - list checkpoint-adjacency-per-address-family-next-hop { - description "Per address family next hops"; - uses ISIS-IP-ADDR-TYPE; - } - } - - grouping ISIS-SH-IF-AF-PREFIX-DATA { - description "Address prefix info"; - leaf is-unnumbered { - type boolean; - description "Is the interface unnumbered"; - } - - list prefix { - description "Array of global prefixes"; - uses ISIS-IP-PREFIX-TYPE; - } - } - - grouping ISIS-SH-IF-AF-PREFIX-UNKNOWN { - description "Address prefix unknown info"; - leaf reason-code { - type Isis-if-af-prefix-unknown-reason; - description - "Reason why the global prefix(es) is(are) unknown"; - } - } - - grouping ISIS-SH-IF-AF-PREFIX-STATUS { - description "ISIS SH IF AF PREFIX STATUS"; - - container unknown { - when "../status = 'isis-unknown'" { - description "../Status = 'ISIS_UNKNOWN'"; - } - description "Unknown state for the global prefixes"; - uses ISIS-SH-IF-AF-PREFIX-UNKNOWN; - } - - container prefix-data { - when "../status = 'isis-known'" { - description "../Status = 'ISIS_KNOWN'"; - } - description "Global prefix data for the Address Family"; - uses ISIS-SH-IF-AF-PREFIX-DATA; - } - leaf status { - type Isis-known; - description "Status"; - } - } - - grouping ISIS-IP-ADDR-TYPE { - description "ISIS IP ADDR TYPE"; - leaf af-name { - type Isis-af-id; - description "AFName"; - } - leaf ipv4 { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type Isis-ipv4-address; - description "IPV4 address type"; - } - leaf ipv6 { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Isis-ipv6-address; - description "IPV6 address type"; - } - } - - grouping ISIS-SH-IF-AF-FWD-ADDR-DATA { - description "Address-family forwarding address data"; - leaf unnumbered-interface-name { - type string; - description - "If the interface is unnumbered, then its name, - else NULL"; - } - - list forwarding-address { - description "Array of forwarding addresses"; - uses ISIS-IP-ADDR-TYPE; - } - } - - grouping ISIS-SH-IF-AF-FWD-ADDR-UNKNOWN { - description "Forwarding address unknown data"; - leaf reason-code { - type Isis-if-af-fwd-addr-unknown-reason; - description - "Reason why the forwarding address(es) of an AF - is(are) unknown"; - } - } - - grouping ISIS-SH-IF-AF-FWD-ADDR-STATUS { - description "ISIS SH IF AF FWD ADDR STATUS"; - - container unknown { - when "../status = 'isis-unknown'" { - description "../Status = 'ISIS_UNKNOWN'"; - } - description "Unknown forwarding address data"; - uses ISIS-SH-IF-AF-FWD-ADDR-UNKNOWN; - } - - container forwarding-address-data { - when "../status = 'isis-known'" { - description "../Status = 'ISIS_KNOWN'"; - } - description "Known Forwarding address data"; - uses ISIS-SH-IF-AF-FWD-ADDR-DATA; - } - leaf status { - type Isis-known; - description "Status"; - } - } - - grouping ISIS-SH-IF-AF-PROTO-DOWN { - description "Address family protocol down info"; - leaf reason-code { - type Isis-if-af-proto-down-reason; - description - "Reason why the Address Family protocol status is - down"; - } - } - - grouping ISIS-SH-IF-AF-PROTO-STATUS { - description "ISIS SH IF AF PROTO STATUS"; - - container disabled { - when "../status = 'isis-down'" { - description "../Status = 'ISIS_DOWN'"; - } - description "Disabled state of the Address Family protocol"; - uses ISIS-SH-IF-AF-PROTO-DOWN; - } - leaf status { - type Isis-up; - description "Status"; - } - } - - grouping ISIS-SH-IF-AF-ENABLED { - description "Enabled address-family info of an interface"; - - container protocol-status { - description "Protocol status of the AF"; - uses ISIS-SH-IF-AF-PROTO-STATUS; - } - - container forwarding-address-status { - description "Forwarding status of the AF"; - uses ISIS-SH-IF-AF-FWD-ADDR-STATUS; - } - - container prefix-status { - description "Prefix status of the AF"; - uses ISIS-SH-IF-AF-PREFIX-STATUS; - } - } - - grouping ISIS-SH-IF-AF-DISABLED { - description "Address family disabled info"; - leaf reason-code { - type Isis-if-af-disabled-reason; - description "Reason why the Address Family is disabled"; - } - } - - grouping ISIS-SH-IF-AF-STATUS { - description "ISIS SH IF AF STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description "Disabled info for the AF of an interface"; - uses ISIS-SH-IF-AF-DISABLED; - } - - container af-data { - when "../status = 'isis-enabled'" { - description "../Status = 'ISIS_ENABLED'"; - } - description "Enabled data for the AF of an interface"; - uses ISIS-SH-IF-AF-ENABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-AF { - description "Per Address family info"; - - container af-status { - description "Address Family status of the interface"; - uses ISIS-SH-IF-AF-STATUS; - } - leaf af-name { - type Isis-af-id; - description "Address Family Identifier of the interface"; - } - } - - grouping ISIS-SH-MADJ-SID-IF { - description - "Manual Adjacency SID Interface Configuration and - Operation"; - leaf manual-adjacency-sid-label { - type Isis-nodal-sid-value; - description "Manual Adjacency SID Label"; - } - leaf manual-adjacency-sid-index { - type Isis-nodal-sid-value; - description - "Manual Adjacency SID Index (if configured as - index)"; - } - leaf manual-adjacency-sid-type { - type uint8; - description "Manual Adjacency SID Type (Absolute or Index)"; - } - leaf sid-protected { - type boolean; - description "SID configured as protected by backup path"; - } - leaf sid-active { - type boolean; - description "SID is in use"; - } - } - - grouping ISIS-FRR-TIEBREAKER-SORTED { - description "FRR Tie Breaker Structure"; - leaf tie-breaker { - type Isis-frr-tiebreaker; - description "Tie Breaker Type"; - } - leaf index { - type uint8; - description "Tie Breaker Index"; - } - } - - grouping ISIS-SH-IF-FRR-LEVEL { - description "Per level FRR information"; - leaf frr-type { - type Isis-frr; - description - "FRR type configured per level for this interface"; - } - leaf is-frr { - type boolean; - description "Is FRR enabled per level on this interface"; - } - leaf is-remote-lfa { - type boolean; - description - "Is FRR Remote LFA enabled per level for this - interface"; - } - leaf is-ti-lfa { - type boolean; - description - "Is FRR TI LFA enabled per level for this - interface"; - } - leaf ti-lfa-node-tie-breaker-index { - type uint8; - description "TI LFA node-protecting Tie breaker index"; - } - leaf ti-lfa-srlg-tie-breaker { - type uint8; - description "TI LFA srlg Tie breaker index"; - } - leaf is-tie-breakers-configured { - type boolean; - description - "Is Tiebreaker configured per level for this - interface"; - } - - list frr-tie-breaker { - max-elements "8"; - description - "FRR TieBreakers array per level for this - interface"; - uses ISIS-FRR-TIEBREAKER-SORTED; - } - } - - grouping ISIS-SH-IF-TOPO-ADV-PREFIX-DISABLED { - description - "Topology info when prefix advertisement is - disabled"; - leaf reason-code { - type Isis-if-topo-adv-prefix-disabled-reason; - description - "Reason why the prefix advertisement status of a - topology is disabled"; - } - } - - grouping ISIS-SH-IF-TOPO-ADV-PREFIX-STATUS { - description "ISIS SH IF TOPO ADV PREFIX STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description - "Disabled state for the prefix advertisement - status of a topology"; - uses ISIS-SH-IF-TOPO-ADV-PREFIX-DISABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-TOPO-ADJ-FORM-DISABLED { - description - "Topology info when adjacency formation is - disabled"; - leaf reason-code { - type Isis-if-topo-adj-form-disabled-reason; - description - "Reason why the adjacency formation status of a - topology is disabled"; - } - } - - grouping ISIS-SH-IF-TOPO-ADJ-FORM-STATUS { - description "ISIS SH IF TOPO ADJ FORM STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description - "Disabled state for the adjacency formation - status of a topology"; - uses ISIS-SH-IF-TOPO-ADJ-FORM-DISABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-TOPO-ENABLED { - description "Enabled topology info of an interface"; - - container adjacency-form-status { - description "Adjacency formation status of a topology"; - uses ISIS-SH-IF-TOPO-ADJ-FORM-STATUS; - } - - container adv-prefix-status { - description "Prefix advertisement status of a topology"; - uses ISIS-SH-IF-TOPO-ADV-PREFIX-STATUS; - } - - container level1-frr { - description "Level1 FRR information"; - uses ISIS-SH-IF-FRR-LEVEL; - } - - container level2-frr { - description "Level2 FRR information"; - uses ISIS-SH-IF-FRR-LEVEL; - } - leaf level1-metric { - type Isis-metric; - description "L1 metric for this topology"; - } - leaf level2-metric { - type Isis-metric; - description "L2 metric for this topology"; - } - leaf level1-weight { - type Isis-metric; - description "L1 metric for this topology"; - } - leaf level2-weight { - type Isis-metric; - description "L2 metric for this topology"; - } - leaf max-label-supported { - type uint8; - description "MPLS maximum number of pri labels supported"; - } - leaf max-bkp-label-supported { - type uint8; - description "MPLS maximum number of backup labels supported"; - } - leaf max-srte-label-supported { - type uint8; - description "MPLS maximum number of srte labels supported"; - } - leaf level1ldp-sync-enabled { - type boolean; - description "MPLS LDP sync enabled status for L1"; - } - leaf level2ldp-sync-enabled { - type boolean; - description "MPLS LDP sync enabled status for L2"; - } - leaf ldp-sync-status { - type boolean; - description "Status of MPLS LDP synchronization"; - } - leaf ld-pv6-sync-status { - type boolean; - description "Status of MPLS LDPv6 synchronization"; - } - leaf level1-offset-metric { - type Isis-metric; - description "L1 metric-offset for this topology"; - } - leaf level2-offset-metric { - type Isis-metric; - description "L2 metric-offset for this topology"; - } - leaf level1-lkgp-configured { - type boolean; - description "Link-Group configure status for L1"; - } - leaf level2-lkgp-configured { - type boolean; - description "Link-Group configure status for L2"; - } - leaf level1pp-metric { - type Isis-metric; - description "L1 PP-metric for this topology"; - } - leaf level2pp-metric { - type Isis-metric; - description "L2 PP-metric for this topology"; - } - leaf level1pp-configured { - type boolean; - description "PP configure status for L1"; - } - leaf level2pp-configured { - type boolean; - description "PP configure status for L2"; - } - - list manual-adj-sid { - description "Array of Manual Adjacency SIDs"; - uses ISIS-SH-MADJ-SID-IF; - } - } - - grouping ISIS-SH-IF-TOPO-DISABLED { - description "Disabled topology info of an interface"; - leaf reason-code { - type Isis-if-topo-disabled-reason; - description "Reason why the topology is disabled"; - } - } - - grouping ISIS-SH-IF-TOPO-STATUS { - description "ISIS SH IF TOPO STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description "Disabled information of a topology"; - uses ISIS-SH-IF-TOPO-DISABLED; - } - - container enabled { - when "../status = 'isis-enabled'" { - description "../Status = 'ISIS_ENABLED'"; - } - description "Enabled information of a topology"; - uses ISIS-SH-IF-TOPO-ENABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-TOPO { - description "Per topology info of an interface"; - - container topology-id { - description "Topology identifier"; - uses ISIS-TOPO-ID-TYPE; - } - - container status { - description "Status of the topology"; - uses ISIS-SH-IF-TOPO-STATUS; - } - } - - grouping ISIS-SH-IF-AREA-ACTIVE-LAN { - description - "Per-interface, per-area data for active LAN - interface"; - leaf circuit-lan-id { - type Isis-circuit-id; - description "Circuit LAN ID"; - } - leaf time-until-next-iih { - type uint32; - description "Time (ms) until next IIH"; - } - leaf interface-priority { - type Isis-dr-priority; - description "Interface's DIS-election priority"; - } - leaf dispriority { - type Isis-dr-priority; - description "Priority of current DIS on this LAN"; - } - leaf are-we-dis { - type boolean; - description "Flag indicating if this LAN circuit is the DIS"; - } - } - - grouping ISIS-SH-IF-AREA-ACTIVE { - description "Per-area data for an interface"; - - container lan-data { - description - "LAN data, NULL iff interface has non-LAN media - type"; - uses ISIS-SH-IF-AREA-ACTIVE-LAN; - } - leaf level { - type Isis-level; - description "Level of the area"; - } - leaf adjacency-count { - type uint32; - description "Number of adjacencies"; - } - leaf lsp-pacing-interval { - type uint32; - description "LSP pacing time period (ms)"; - } - leaf psnp-transmit-queue-size { - type uint32; - description "No. of SNP entries queued to be transmitted"; - } - leaf hello-interval { - type uint32; - description "Hello interval"; - } - leaf hello-multiplier { - type uint32; - description "Hello Multiplier"; - } - } - - grouping ISIS-SH-IF-CLNS-P2P-OVER-LAN { - description "Point-to-point over LAN specific CLNS state"; - - container multicast-status { - description "Multicast group membership status"; - uses ISIS-SH-IF-MCAST-STATUS; - } - } - - grouping ISIS-SH-IF-CLNS-P2P { - description "Point-to-point CLNS state"; - - container p2p-over-lan-data { - description "Point-to-point over LAN data"; - uses ISIS-SH-IF-CLNS-P2P-OVER-LAN; - } - } - - grouping ISIS-SH-IF-MCAST-INVALID { - description "Invalid multicast info"; - leaf reason-code { - type Isis-if-mcast-invalid-reason; - description "Reason why the multicast status is invalid"; - } - } - - grouping ISIS-SH-IF-MCAST-STATUS { - description "ISIS SH IF MCAST STATUS"; - - container invalid { - when "../status = 'isis-invalid'" { - description "../Status = 'ISIS_INVALID'"; - } - description - "Information pertaining to the invalid multicast - status"; - uses ISIS-SH-IF-MCAST-INVALID; - } - leaf status { - type Isis-valid; - description "Status"; - } - } - - grouping ISIS-SH-IF-AREA-CLNS { - description "Per interface per area CLNS state"; - - container multicast-status { - description "Multicast group membership status"; - uses ISIS-SH-IF-MCAST-STATUS; - } - leaf level { - type Isis-level; - description "Level of the area"; - } - } - - grouping ISIS-SH-IF-CLNS-LAN { - description "LAN specific CLNS state"; - - list per-area-data { - description "Array of per area CLNS data"; - uses ISIS-SH-IF-AREA-CLNS; - } - } - - grouping ISIS-SH-IF-CLNS-MEDIA-SPECIFIC-STATUS { - description "Media Specific CLNS state"; - - container clns-lan-data { - when "../clns-media-type = 'isis-media-class-lan'" { - description "../CLNSMediaType = 'ISIS_MEDIA_CLASS_LAN'"; - } - description "LAN state"; - uses ISIS-SH-IF-CLNS-LAN; - } - - container clns-p2p-data { - when "../clns-media-type = 'isis-media-class-p2p'" { - description "../CLNSMediaType = 'ISIS_MEDIA_CLASS_P2P'"; - } - description "Point-to-point state"; - uses ISIS-SH-IF-CLNS-P2P; - } - leaf clns-media-type { - type Isis-media-class; - description "CLNSMediaType"; - } - } - - grouping ISIS-SH-IF-CLNS-SNPA-KNOWN { - description "CLNS SNPA info"; - leaf snpa { - type xr:Isis-snpa; - description "Valid SNPA"; - } - } - - grouping ISIS-SH-IF-CLNS-SNPA-UNKNOWN { - description "Interface info with CLNS SNPA unknown"; - leaf reason-code { - type Isis-if-clns-snpa-unknown-reason; - description "Reason why the SNPA is unknown"; - } - } - - grouping ISIS-SH-IF-CLNS-SNPA-STATUS { - description "ISIS SH IF CLNS SNPA STATUS"; - - container unknown { - when "../status = 'isis-unknown'" { - description "../Status = 'ISIS_UNKNOWN'"; - } - description - "Information pertaining to the unknown SNPA state"; - uses ISIS-SH-IF-CLNS-SNPA-UNKNOWN; - } - - container known { - when "../status = 'isis-known'" { - description "../Status = 'ISIS_KNOWN'"; - } - description "Information pertaining to the known SNPA state"; - uses ISIS-SH-IF-CLNS-SNPA-KNOWN; - } - leaf status { - type Isis-known; - description "Status"; - } - } - - grouping ISIS-SH-IF-CLNS-MTU-INVALID { - description "Interface info with invalid MTU"; - leaf reason-code { - type Isis-if-clns-mtu-invalid-reason; - description "Reason why the MTU is invalid"; - } - } - - grouping ISIS-SH-IF-CLNS-MTU-STATUS { - description "ISIS SH IF CLNS MTU STATUS"; - - container invalid { - when "../status = 'isis-invalid'" { - description "../Status = 'ISIS_INVALID'"; - } - description "Information pertaining to the invalid CLNS MTU"; - uses ISIS-SH-IF-CLNS-MTU-INVALID; - } - leaf status { - type Isis-valid; - description "Status"; - } - leaf mtu { - when "../status = 'isis-valid'" { - description "../Status = 'ISIS_VALID'"; - } - type uint32; - description "Valid MTU"; - } - } - - grouping ISIS-SH-IF-CLNS-PROTO-DOWN { - description "Interface info when CLNS is down"; - leaf reason-code { - type Isis-if-clns-proto-down-reason; - description "Reason why CLNS is down"; - } - } - - grouping ISIS-SH-IF-CLNS-STATUS { - description "ISIS SH IF CLNS STATUS"; - - container clns-down-info { - when "../status = 'isis-down'" { - description "../Status = 'ISIS_DOWN'"; - } - description "State describing why CLNS is down"; - uses ISIS-SH-IF-CLNS-PROTO-DOWN; - } - leaf status { - type Isis-up; - description "Status"; - } - } - - grouping ISIS-SH-IF-CLNS { - description "CLNS I/O data for an interface"; - - container clns-status { - description - "Is CLNS protcol up or if not, the reason why it - is not up"; - uses ISIS-SH-IF-CLNS-STATUS; - } - - container mtu-info { - description - "A valid MTU or the reason for the MTU being - invalid"; - uses ISIS-SH-IF-CLNS-MTU-STATUS; - } - - container snpa-state { - description "SNPA state"; - uses ISIS-SH-IF-CLNS-SNPA-STATUS; - } - - container media-specific-state { - description "Media Specific CLNS state"; - uses ISIS-SH-IF-CLNS-MEDIA-SPECIFIC-STATUS; - } - leaf time-until-next-lsp { - type uint32; - description "Time until next LSP may be sent (ms)"; - } - leaf lsp-transmit-requested-flag { - type boolean; - description "TRUE if an LSP transmission has been requested"; - } - leaf lsp-transmitted-flag { - type boolean; - description - "TRUE if an LSP transmission has been sent, - indicates LastLSPLevelTransmitted and - LastLSP_IDTransmitted valid"; - } - leaf lsp-txmitd-b2b-limit { - type uint32; - description - "Number of LSPs that can be sent back to back in - the current window without exceeding the pacing - limit"; - } - leaf lsp-txmt-b2b-msecs { - type uint32; - units "millisecond"; - description - "Time im msecs indicating the end of the window - in which the 'back to back lsps to be sent' - counter applies"; - } - leaf last-lsp-level-transmitted { - type Isis-level; - description "Level of the Last LSP Transmitted"; - } - leaf last-lsp-id-transmitted { - type xr:Isis-lsp-id; - description "Last LSP ID Transmitted"; - } - } - - grouping ISIS-SH-IF-BFD-TYPE { - description "Per-interface BFD data"; - leaf enabled { - type boolean; - description "IPv4 BFD enabled status"; - } - leaf ipv6-enabled { - type boolean; - description "IPv6 BFD enabled status"; - } - leaf interval { - type uint32; - units "millisecond"; - description "BFD hello minimum interval in milliseconds"; - } - leaf multiplier { - type uint32; - description "BFD hello multiplier"; - } - } - - grouping ISIS-SH-IF-ACTIVE-P2P { - description "Per-interface data"; - leaf time-until-next-iih { - type uint32; - description "Time in ms before the next IIH can be sent"; - } - leaf retransmit-lsp-queue-size { - type uint32; - description "No. of LSPs queued to be retransmitted"; - } - leaf retransmit-lsp-interval { - type uint32; - description - "Time in ms until the next scheduled LSP is - retransmitted"; - } - leaf extended-circuit-number { - type Isis-extended-circuit-number; - description - "Extended Circuit Number valid for a P2P - interface"; - } - } - - grouping ISIS-SH-IF-ADV-PREFIX-DISABLED { - description - "Interface info when prefix advertisement is - disabled"; - leaf reason-code { - type Isis-if-adv-prefix-disabled-reason; - description - "Reason why the interface is not able to - advertise prefixes"; - } - } - - grouping ISIS-SH-IF-ADV-PREFIX-STATUS { - description "ISIS SH IF ADV PREFIX STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description - "Disabled info for the prefix advertisement - status"; - uses ISIS-SH-IF-ADV-PREFIX-DISABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-ADJ-FORM-DISABLED { - description - "Interface info when adjacency formation is - disabled"; - leaf reason-code { - type Isis-if-adj-form-disabled-reason; - description - "Reason why the interface is not able to form - adjacencies"; - } - } - - grouping ISIS-SH-IF-ADJ-FORM-STATUS { - description "ISIS SH IF ADJ FORM STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description - "Disabled info for the adjacency formation status"; - uses ISIS-SH-IF-ADJ-FORM-DISABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-ENABLED { - description "State of an enabled interface"; - - container adjacency-form-status { - description "Interface's Adjacency Formation status"; - uses ISIS-SH-IF-ADJ-FORM-STATUS; - } - - container adv-prefix-status { - description "Interface's Prefix Advertisement status"; - uses ISIS-SH-IF-ADV-PREFIX-STATUS; - } - - container p2p-data { - description - "Data for an active P2P interface, NULL if not - active or P2P"; - uses ISIS-SH-IF-ACTIVE-P2P; - } - - container bfd-data { - description "The BFD data for the given interface"; - uses ISIS-SH-IF-BFD-TYPE; - } - - container clns-data { - description "Interface data specific to CLNS I/O services"; - uses ISIS-SH-IF-CLNS; - } - leaf interface-media-type { - type Isis-media-class; - description "Media type of the interface"; - } - leaf enabled-circuit-type { - type Isis-levels; - description "Enabled Circuit type of the interface"; - } - leaf local-circuit-number { - type Isis-circuit-number; - description "Local Circuit Number of the interface"; - } - leaf rsi-srlg-registered { - type boolean; - description "Rsi Srlg Registered"; - } - leaf bandwidth { - type uint32; - description "Bandwidth of the interface"; - } - - list underlying-interface { - description "Underlying interface list for bundle interfaces"; - uses ISIS-SH-INTF-DET; - } - - list per-area-data { - description - "Array of area information for an active - interface"; - uses ISIS-SH-IF-AREA-ACTIVE; - } - - list per-topology-data { - description "Array of topology information"; - uses ISIS-SH-IF-TOPO; - } - - list per-address-family-data { - description "Array of address family information"; - uses ISIS-SH-IF-AF; - } - } - - grouping ISIS-SH-IF-DISABLED { - description "Disabled interface info"; - leaf reason-code { - type Isis-if-disabled-reason; - description "Reason why the interface is disabled"; - } - } - - grouping ISIS-SH-IF-STATUS { - description "ISIS SH IF STATUS"; - - container disabled { - when "../status = 'isis-disabled'" { - description "../Status = 'ISIS_DISABLED'"; - } - description "The interface state if disabled"; - uses ISIS-SH-IF-DISABLED; - } - - container enabled { - when "../status = 'isis-enabled'" { - description "../Status = 'ISIS_ENABLED'"; - } - description "The interface state if enabled"; - uses ISIS-SH-IF-ENABLED; - } - leaf status { - type Isis-enabled; - description "Status"; - } - } - - grouping ISIS-SH-IF-CFG-STATUS { - description "Configured state of an interface"; - leaf adjacency-form-status { - type boolean; - description "Configured adjacency formation status"; - } - leaf adv-prefix-status { - type boolean; - description "Configured prefix advertisement status"; - } - } - - grouping ISIS-SH-IF { - description "All the Information of an IS-IS interface"; - - container configured-status { - description "Configured interface status"; - uses ISIS-SH-IF-CFG-STATUS; - } - - container interface-status-and-data { - description - "Information about the interface status and its - data"; - uses ISIS-SH-IF-STATUS; - } - leaf configured-circuit-type { - type Isis-levels; - description "Configured circuit type for the interface"; - } - leaf mesh-group { - type Isis-mesh-group-number; - description "Interface mesh group"; - } - leaf is-type { - type Isis-levels; - description "IS-type of the router"; - } - leaf nsr-intf { - type boolean; - description "ISIS NSR Interface"; - } - } - - grouping NSR-STATUS-NII-INTF { - description "NSR STATUS NII INTF"; - leaf exist { - type boolean; - description "exist"; - } - leaf brought-up { - type boolean; - description "brought up"; - } - leaf retry-timer { - type boolean; - description "retry timer"; - } - leaf running { - type boolean; - description "running"; - } - leaf has-adj { - type boolean; - description "has adj"; - } - } - - grouping NSR-STATUS-TE { - description "NSR STATUS TE"; - leaf enabled { - type uint8; - description "enabled"; - } - leaf conn-up { - type uint8; - description "conn up"; - } - leaf te-link-cb { - type uint8; - description "te link cb"; - } - leaf te-tunnel-cb { - type uint8; - description "te tunnel cb"; - } - leaf adv-sync-data { - type uint8; - description "adv sync data"; - } - leaf link-purge-time-on { - type uint8; - description "link purge time on"; - } - leaf tunnel-purge-time-on { - type uint8; - description "tunnel purge time on"; - } - leaf has-info-from-te { - type uint8; - description "has info from te"; - } - } - - grouping NSR-STATUS-DS { - description "NSR STATUS DS"; - - container conn-ts { - description "conn ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container conn-cb-ts { - description "conn cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container pub-ts { - description "pub ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container pub-cb-ts { - description "pub cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container reg-ts { - description "reg ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container reg-cb-ts { - description "reg cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container unreg-ts { - description "unreg ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container unreg-cb-ts { - description "unreg cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container disconn-cb-ts { - description "disconn cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container notify-cb-ts { - description "notify cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container del-cb-ts { - description "del cb ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container remove-srv-ts { - description "remove srv ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container conn-status-ts { - description "conn status ts"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - leaf conn { - type uint8; - description "conn"; - } - leaf conn-cb { - type uint8; - description "conn cb"; - } - leaf pub { - type uint8; - description "pub"; - } - leaf pub-cb { - type uint8; - description "pub cb"; - } - leaf reg { - type uint8; - description "reg"; - } - leaf reg-cb { - type uint8; - description "reg cb"; - } - leaf unreg { - type uint8; - description "unreg"; - } - leaf unreg-cb { - type uint8; - description "unreg cb"; - } - leaf disconn-cb { - type uint8; - description "disconn cb"; - } - leaf notify-cb { - type uint8; - description "notify cb"; - } - leaf notify-peer-xr { - type yang:hex-string; - description "notify peer xr"; - } - leaf del-cb { - type uint8; - description "del cb"; - } - leaf remove-srv { - type uint8; - description "remove srv"; - } - leaf conn-status { - type boolean; - description "conn status"; - } - - list notify-peer { - max-elements "4"; - description "notify peer"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - } - - grouping NSR-STATUS-PM { - description "NSR STATUS PM"; - leaf reg { - type uint8; - description "reg"; - } - leaf conn-cb { - type uint8; - description "conn cb"; - } - leaf disconn-cb { - type uint8; - description "disconn cb"; - } - leaf conn-status { - type boolean; - description "conn status"; - } - } - - grouping NSR-STATUS-NCD { - description "NSR STATUS NCD"; - leaf vm-idx { - type uint8; - description "vm idx"; - } - leaf conn-up { - type boolean; - description "conn up"; - } - leaf endp-hdl { - type uint8; - description "endp hdl"; - } - leaf chksum { - type uint16; - description "chksum"; - } - leaf send-seqnum { - type uint32; - description "send seqnum"; - } - leaf recv-cnt { - type uint32; - description "recv cnt"; - } - } - - grouping NSR-STATUS-GEN { - description "NSR STATUS GEN"; - leaf my-nodeid { - type uint32; - description "my nodeid"; - } - leaf my-process-id { - type uint32; - description "my process id"; - } - leaf pm-issu-role { - type uint8; - description "pm issu role"; - } - leaf pm-ha-role { - type uint8; - description "pm ha role"; - } - leaf sysmgr-ha-role { - type uint8; - description "sysmgr ha role"; - } - leaf nsr-send-ready { - type uint8; - description "nsr send ready"; - } - leaf nsr-send-unready { - type uint8; - description "nsr send unready"; - } - leaf nsr-send-err { - type uint32; - description "nsr send err"; - } - leaf nsr-recv-err { - type uint32; - description "nsr recv err"; - } - leaf retry-flag { - type uint32; - description "retry flag"; - } - leaf nsr-enabled { - type boolean; - description "nsr enabled"; - } - leaf nsr-configured { - type boolean; - description "nsr configured"; - } - leaf nsf-configured { - type boolean; - description "nsf configured"; - } - leaf failover { - type boolean; - description "failover"; - } - leaf lanid-req-needed { - type boolean; - description "lanid req needed"; - } - } - - grouping NSR-STATUS-INFRA-TYPE { - description "NSR STATUS INFRA TYPE"; - - container gen { - description "gen"; - uses NSR-STATUS-GEN; - } - - container pm { - description "pm"; - uses NSR-STATUS-PM; - } - - container ds { - description "ds"; - uses NSR-STATUS-DS; - } - - container te { - description "te"; - uses NSR-STATUS-TE; - } - - list ncd { - max-elements "5"; - description "ncd"; - uses NSR-STATUS-NCD; - } - - list nii-idb { - max-elements "3"; - description "nii idb"; - uses NSR-STATUS-NII-INTF; - } - } - - grouping NSR-STATUS-GBL-TYPE { - description "NSR STATUS GBL TYPE"; - list full-sync-achieved { - max-elements "3"; - - description "full sync achieved"; - leaf entry { - type uint32; - } - } - list man-sync-count { - max-elements "3"; - - description "man sync count"; - leaf entry { - type uint32; - } - } - list nsr-chg-count { - max-elements "3"; - - description "nsr chg count"; - leaf entry { - type uint32; - } - } - list uptime { - max-elements "3"; - - description "uptime"; - leaf entry { - type uint32; - } - } - - list uptime-valid { - min-elements "3"; - max-elements "3"; - description "uptime valid"; - leaf entry { - type boolean; - description "Array entry."; - } - } - } - - grouping ISIS-SH-NSR-STATUS-GLOBAL { - description "IS-IS process NSR status"; - - container isis-nsr-peer { - description "ISIS NSR PEER STATUS"; - uses NSR-STATUS-GBL-TYPE; - } - - container isis-nsr-infra { - description "ISIS NSR Infra"; - uses NSR-STATUS-INFRA-TYPE; - } - leaf isis-vm-state { - type uint16; - description "ISIS VM STATE"; - } - } - - grouping ISIS-SH-IPV4-ROUTE-SUMMARIZATION-STATUS { - description "Summarization status"; - - container summary-prefix { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Summarizing Prefix"; - uses ISIS-IPV4-PREFIX-TYPE; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-IPV4-ROUTE-ADV { - description "How a prefix is advertised in a particular level"; - - container summarization-status { - description "Status of summarization for the prefix"; - uses ISIS-SH-IPV4-ROUTE-SUMMARIZATION-STATUS; - } - leaf level { - type Isis-level; - description "Level in which the prefix is advertised"; - } - leaf advertising-origin { - type Isis-sh-route-adv-origin; - description "The origin of the advertisement"; - } - leaf metric { - type Isis-metric; - description "Metric with which the prefix is advertised"; - } - leaf is-propagated { - type boolean; - description - "Has the prefix been propagated from another - level?"; - } - leaf is-external-metric { - type boolean; - description "Is the metric an external metric?"; - } - leaf is-external-reachability { - type boolean; - description "Is the prefix external to the IS-IS domain?"; - } - leaf is-interarea { - type boolean; - description "Is the up/down bit set?"; - } - list tags { - description "Tags associated with the prefix"; - leaf entry { - type Isis-prefix-tag; - } - } - - list nodal-sid { - description "Nodal SIDs with the prefix item"; - uses ISIS-NODAL-SID-TYPE; - } - } - - grouping ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE { - description "Source of a native route"; - leaf source-lsp-id { - type xr:Isis-lsp-id; - description "ID of the LSP advertising the prefix"; - } - leaf source-address { - type Isis-ipv4-address; - description "Source address of the IS advertising the prefix"; - } - list tags { - description "Tags associated with the prefix item"; - leaf entry { - type Isis-prefix-tag; - } - } - - list nodal-sid { - description "Nodal SIDs with the prefix item"; - uses ISIS-NODAL-SID-TYPE; - } - } - - grouping ISIS-SH-IPV4-UCMP-PATH { - description "IPv4 path to a destination"; - - container frr-backup { - description "FRR backup for this path"; - uses ISIS-SH-IPV4-FRR-BACKUP; - } - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv4-address; - description "Next hop neighbor's forwarding address"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf tag { - type Isis-prefix-tag; - description "Tag associated with the path"; - } - leaf total-ucmp-distance { - type Isis-metric; - description "Distance to the network via this UCMP next hop"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - leaf is-te-tunnel-interface { - type boolean; - description "Is path via a TE tunnel"; - } - leaf is-sr-exclude-tunnel-interface { - type boolean; - description "Is path via an SR-exclude TE tunnel"; - } - } - - grouping ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE { - description - "Paths and sources for a native route at a - particular preference"; - leaf origin { - type Isis-prefix-origin; - description "Origin of route"; - } - leaf metric { - type Isis-metric; - description "Distance to network"; - } - leaf multicast-metric { - type Isis-metric; - description "Multicast-intact distance to network"; - } - leaf is-external-metric { - type boolean; - description "Is the metric an external metric?"; - } - leaf administrative-distance { - type uint16; - description "Administrative Distance"; - } - - list paths { - description "First hops toward the prefix"; - uses ISIS-SH-IPV4-PATH; - } - - list ucmp-next-hop { - description "UCMP first hops toward the prefix"; - uses ISIS-SH-IPV4-UCMP-PATH; - } - - list multicast-path { - description "Multicast intact first hops toward the prefix"; - uses ISIS-SH-IPV4-PATH; - } - - list srte-path { - description "SR-TE native first hops toward the prefix"; - uses ISIS-SH-IPV4-PATH; - } - - list explicit-path { - description "SR microloop avoidance paths"; - uses ISIS-SH-IPV4-PATH; - } - - list source { - description "Sources advertising the prefix"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE; - } - - list multicast-source { - description "Multicast-intact sources advertising the prefix"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE; - } - } - - grouping ISIS-SH-IPV4-ROUTE-NATIVE-DETAILS { - description "Details of a native IS-IS route to a prefix"; - - container primary { - description "Primary paths to prefix"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE; - } - leaf priority { - type Isis-prefix-priority; - description "Relative importance of the prefix"; - } - - list backup { - description "Backup paths to prefix"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE; - } - } - - grouping ISIS-SH-IPV4-ROUTE-NATIVE-STATUS { - description "Status of a native IS-IS route to a prefix"; - - container native-details { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Details of the native route"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-DETAILS; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-IPV4-ROUTE { - description "IS-IS IPv4 route"; - - container connected-status { - description - "Status of IS-IS directly connected routes to the - prefix"; - uses ISIS-SH-ROUTE-CONN-STATUS; - } - - container redistributed-status { - description - "Status of other protocols' routes redistributed - into IS-IS"; - uses ISIS-SH-ROUTE-REDIST-STATUS; - } - - container native-status { - description "Status of native IS-IS routes to the prefix"; - uses ISIS-SH-IPV4-ROUTE-NATIVE-STATUS; - } - - list per-level-advertising-detail { - description - "Per level details of how the local system - advertises the prefix"; - uses ISIS-SH-IPV4-ROUTE-ADV; - } - } - - grouping ISIS-SH-IPV6-ROUTE-SUMMARIZATION-STATUS { - description "Summarization status"; - - container summary-prefix { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Summarizing Prefix"; - uses ISIS-IPV6-PREFIX-TYPE; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-IPV6-ROUTE-ADV { - description "How a prefix is advertised in a particular level"; - - container summarization-status { - description "Status of summarization for the prefix"; - uses ISIS-SH-IPV6-ROUTE-SUMMARIZATION-STATUS; - } - leaf level { - type Isis-level; - description "Level in which the prefix is advertised"; - } - leaf advertising-origin { - type Isis-sh-route-adv-origin; - description "The origin of the advertisement"; - } - leaf metric { - type Isis-metric; - description "Metric with which the prefix is advertised"; - } - leaf is-propagated { - type boolean; - description - "Has the prefix been propagated from another - level?"; - } - leaf is-external-metric { - type boolean; - description "Is the metric an external metric?"; - } - leaf is-external-reachability { - type boolean; - description "Is the prefix external to the IS-IS domain?"; - } - leaf is-interarea { - type boolean; - description "Is the up/down bit set?"; - } - list tags { - description "Tags associated with the prefix"; - leaf entry { - type Isis-prefix-tag; - } - } - - list nodal-sid { - description "Nodal SIDs with the prefix item"; - uses ISIS-NODAL-SID-TYPE; - } - } - - grouping ISIS-NODAL-SID-TYPE { - description "ISIS NODAL SID TYPE"; - leaf sid-value { - type Isis-nodal-sid-value; - description "sid value"; - } - leaf rflag { - type uint8; - description "rflag"; - } - leaf nflag { - type uint8; - description "nflag"; - } - leaf pflag { - type uint8; - description "pflag"; - } - leaf eflag { - type uint8; - description "eflag"; - } - leaf vflag { - type uint8; - description "vflag"; - } - leaf lflag { - type uint8; - description "lflag"; - } - leaf algorithm { - type uint8; - description "algorithm"; - } - } - - grouping ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE { - description "Source of a native route"; - leaf source-lsp-id { - type xr:Isis-lsp-id; - description "ID of the LSP advertising the prefix"; - } - leaf source-address { - type Isis-ipv6-address; - description "Source address of the IS advertising the prefix"; - } - list tags { - description "Tags associated with the prefix item"; - leaf entry { - type Isis-prefix-tag; - } - } - - list nodal-sid { - description "Nodal SIDs with the prefix item"; - uses ISIS-NODAL-SID-TYPE; - } - } - - grouping ISIS-SH-IPV6-UCMP-PATH { - description "IPv6 path to a destination"; - - container frr-backup { - description "FRR backup for this path"; - uses ISIS-SH-IPV6-FRR-BACKUP; - } - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv6-address; - description "Next hop neighbor's forwarding address"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf tag { - type Isis-prefix-tag; - description "Tag associated with the path"; - } - leaf total-ucmp-distance { - type Isis-metric; - description "Distance to the network via this UCMP next hop"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - leaf is-te-tunnel-interface { - type boolean; - description "Is path via a TE tunnel"; - } - leaf is-sr-exclude-tunnel-interface { - type boolean; - description "Is path via an SR-exclude TE tunnel"; - } - } - - grouping ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE { - description - "Paths and sources for a native route at a - particular preference"; - leaf origin { - type Isis-prefix-origin; - description "Origin of route"; - } - leaf metric { - type Isis-metric; - description "Distance to network"; - } - leaf multicast-metric { - type Isis-metric; - description "Multicast-intact distance to network"; - } - leaf is-external-metric { - type boolean; - description "Is the metric an external metric?"; - } - leaf administrative-distance { - type uint16; - description "Administrative Distance"; - } - - list paths { - description "First hops toward the prefix"; - uses ISIS-SH-IPV6-PATH; - } - - list ucmp-next-hop { - description "UCMP first hops toward the prefix"; - uses ISIS-SH-IPV6-UCMP-PATH; - } - - list multicast-path { - description "Multicast intact first hops toward the prefix"; - uses ISIS-SH-IPV6-PATH; - } - - list srte-path { - description "SR-TE native first hops toward the prefix"; - uses ISIS-SH-IPV6-PATH; - } - - list explicit-path { - description "SR microloop avoidance paths"; - uses ISIS-SH-IPV6-PATH; - } - - list source { - description "Sources advertising the prefix"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE; - } - - list multicast-source { - description "Multicast-intact sources advertising the prefix"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE; - } - } - - grouping ISIS-SH-IPV6-ROUTE-NATIVE-DETAILS { - description "Details of a native IS-IS route to a prefix"; - - container primary { - description "Primary paths to prefix"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE; - } - leaf priority { - type Isis-prefix-priority; - description "Relative importance of the prefix"; - } - - list backup { - description "Backup paths to prefix"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE; - } - } - - grouping ISIS-SH-IPV6-ROUTE-NATIVE-STATUS { - description "Status of a native IS-IS route to a prefix"; - - container native-details { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Details of the native route"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-DETAILS; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-REDIST-ENTRY-PROTO { - description "Redistributed protocol information"; - leaf protocol { - type Isis-redist-proto; - description "Protocol"; - } - leaf isis-instance-id { - when "../protocol = 'isis-redist-isis'" { - description "../Protocol = 'ISIS_REDIST_ISIS'"; - } - type Isis-string; - description "IS-IS instance identifier"; - } - leaf ospf-process-id { - when "../protocol = 'isis-redist-ospf'" { - description "../Protocol = 'ISIS_REDIST_OSPF'"; - } - type Isis-string; - description "OSPF process identifier"; - } - leaf ospfv3-process-id { - when "../protocol = 'isis-redist-ospfv3'" { - description "../Protocol = 'ISIS_REDIST_OSPFV3'"; - } - type Isis-string; - description "OSPFv3 process identifier"; - } - leaf bgp-as-number { - when "../protocol = 'isis-redist-bgp'" { - description "../Protocol = 'ISIS_REDIST_BGP'"; - } - type Isis-string; - description "BGP Autonomous System number"; - } - leaf eigrp-as-number { - when "../protocol = 'isis-redist-eigrp'" { - description "../Protocol = 'ISIS_REDIST_EIGRP'"; - } - type Isis-string; - description "EIGRP Autonomous System number"; - } - leaf application-name { - when "../protocol = 'isis-redist-application'" { - description "../Protocol = 'ISIS_REDIST_APPLICATION'"; - } - type Isis-string; - description "Application Name"; - } - } - - grouping ISIS-SH-ROUTE-REDIST-LEVEL-DETAILS { - description - "Details of a route redistributed into a - particular level"; - - container owner { - description "Protocol redistributing the route"; - uses ISIS-SH-REDIST-ENTRY-PROTO; - } - leaf level { - type Isis-level; - description "Level into which the route is redistributed"; - } - } - - grouping ISIS-SH-ROUTE-REDIST-DETAILS { - description "ISIS SH ROUTE REDIST DETAILS"; - - list isis-sh-route-redist-detail { - description "isis sh route redist detail"; - uses ISIS-SH-ROUTE-REDIST-LEVEL-DETAILS; - } - } - - grouping ISIS-SH-ROUTE-REDIST-STATUS { - description "Status of redistributed routes to a prefix"; - - container redistribution-details { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Per level details of the redistributed route"; - uses ISIS-SH-ROUTE-REDIST-DETAILS; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-ROUTE-CONN-DETAILS { - description "Details of an IS-IS directly connected prefix"; - list interface { - description "Interfaces"; - leaf entry { - type Isis-sh-interface-name; - } - } - } - - grouping ISIS-SH-ROUTE-CONN-STATUS { - description "Status of an IS-IS directly connected prefix"; - - container connected-details { - when "../is-valid = 'isis-valid'" { - description "../IsValid = 'ISIS_VALID'"; - } - description "Details of the directly connected prefix"; - uses ISIS-SH-ROUTE-CONN-DETAILS; - } - leaf is-valid { - type Isis-valid; - description "IsValid"; - } - } - - grouping ISIS-SH-IPV6-ROUTE { - description "IS-IS IPv6 route"; - - container connected-status { - description - "Status of IS-IS directly connected routes to the - prefix"; - uses ISIS-SH-ROUTE-CONN-STATUS; - } - - container redistributed-status { - description - "Status of other protocols' routes redistributed - into IS-IS"; - uses ISIS-SH-ROUTE-REDIST-STATUS; - } - - container native-status { - description "Status of native IS-IS routes to the prefix"; - uses ISIS-SH-IPV6-ROUTE-NATIVE-STATUS; - } - - list per-level-advertising-detail { - description - "Per level details of how the local system - advertises the prefix"; - uses ISIS-SH-IPV6-ROUTE-ADV; - } - } - - grouping ISIS-SH-IPV6-FRR-BACKUP { - description "FRR backup path"; - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv6-address; - description "Next hop neighbor's forwarding address"; - } - leaf tunnel-egress-interface { - type Isis-sh-interface-name; - description "Tunnel interface to send the packet out of"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf remote-lfa-system-id { - type xr:Osi-system-id; - description "Remote LFA PQ Node's ID"; - } - leaf remote-lfa-router-id { - type Isis-ipv6-address; - description "Remote LFA Router ID"; - } - leaf remote-lfa-system-pid { - type xr:Osi-system-id; - description "Remote LFA PQ Node's ID"; - } - leaf remote-lfa-router-pid { - type Isis-ipv6-address; - description "Remote LFA Router ID"; - } - leaf total-backup-distance { - type Isis-metric; - description "Distance to the network via this backup path"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf num-sid { - type uint32; - description "Number of SIDs in TI-LFA/rLFA"; - } - leaf backup-repair-list-size { - type uint32; - description "Backup Repair List Size"; - } - leaf tilfa-computation { - type Isis-tilfa-computation; - description "Ti LFA computation which provided backup path"; - } - leaf prefix-source-node-id { - type string; - description "PrefixSourceNodeID"; - } - leaf is-downstream { - type boolean; - description "Is the backup path via downstream node?"; - } - leaf is-lc-disjoint { - type boolean; - description - "Is the backup path line card disjoint with - primary?"; - } - leaf is-node-protecting { - type boolean; - description "Is the backup path node protecting?"; - } - leaf is-primary-path { - type boolean; - description "Is the backup path an ECMP to the network?"; - } - leaf is-srlg-disjoint { - type boolean; - description "Is the backup path SRLG disjoint with primary?"; - } - leaf is-remote-lfa { - type boolean; - description "Is the backup path via a Remote LFA?"; - } - leaf is-epcfrr-lfa { - type boolean; - description "Is the backup path via a TI-LFA?"; - } - leaf is-strict-spflfa { - type boolean; - description "Is the backup path TI-LFA strict SPF?"; - } - leaf is-tunnel-requested { - type boolean; - description "Is SR TE tunnel requested"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - list segment-routing-sid-value-entry { - max-elements "3"; - - description "Segment routing sid values for TI-LFA/rLFA"; - leaf entry { - type Isis-nodal-sid-value; - } - } - - list backup-repair { - description "BAckup Repair List"; - uses ISIS-SH-REP-EL; - } - } - - grouping ISIS-SH-IPV6-PATH { - description "IPv6 path to a destination"; - - container frr-backup { - description "FRR backup for this path"; - uses ISIS-SH-IPV6-FRR-BACKUP; - } - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv6-address; - description "Next hop neighbor's forwarding address"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf tag { - type Isis-prefix-tag; - description "Tag associated with the path"; - } - leaf tunnel-interface { - type Isis-sh-interface-name; - description "Explicit path tunnel interface"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - leaf is-te-tunnel-interface { - type boolean; - description "Is path via a TE tunnel"; - } - leaf is-sr-exclude-tunnel-interface { - type boolean; - description "Is path via an SR-exclude TE tunnel"; - } - - list uloop-explicit { - description "Uloop Explicit List"; - uses ISIS-SH-REP-EL; - } - } - - grouping ISIS-SH-IPV6-TOPO-REACHABLE-DETAILS { - description "Status of a reachable IPv6 IS"; - leaf root-distance { - type Isis-metric; - description "Distance to the IS"; - } - leaf multicast-root-distance { - type Isis-metric; - description "Distance to the IS"; - } - - list paths { - description "First hops towards the IS"; - uses ISIS-SH-IPV6-PATH; - } - - list multicast-path { - description "Multicast intact first hops towards the IS"; - uses ISIS-SH-IPV6-PATH; - } - - list parent { - description "Parents of the IS within the SPT"; - uses ISIS-SH-TOPO-NEIGHBOR; - } - - list children { - description "Children of the IS within the SPT"; - uses ISIS-SH-TOPO-NEIGHBOR; - } - } - - grouping ISIS-SH-IPV6-TOPO-REACHABLE-STATUS { - description "Reachability status of an IPv6 IS"; - - container reachable-details { - when "../reachable-status = 'isis-reachable'" { - description "../ReachableStatus = 'ISIS_REACHABLE'"; - } - description "Status of the IS within the SPT"; - uses ISIS-SH-IPV6-TOPO-REACHABLE-DETAILS; - } - leaf reachable-status { - type Isis-reachable; - description "ReachableStatus"; - } - } - - grouping ISIS-SH-IPV6-TOPO-ENTRY { - description "IPv6 IS Link Topology Entry"; - - container reachability-status { - description - "Is the IS reachable, and, if so, its status - within the SPT"; - uses ISIS-SH-IPV6-TOPO-REACHABLE-STATUS; - } - - container advertised-prefix-item-counts { - description - "Per-priority counts of prefix items advertised - by the IS"; - uses ISIS-PER-PRIORITY-COUNTS; - } - leaf source-address { - type Isis-ipv6-address; - description "Source Address"; - } - leaf is-participant { - type boolean; - description "Does the IS participate in the topology?"; - } - leaf is-overloaded { - type boolean; - description "Is the IS overloaded?"; - } - leaf is-attached { - type boolean; - description "Is the IS attached?"; - } - } - - grouping ISIS-SH-TOPO-SUMMARY-NODE-STATS { - description "Reachability counters"; - leaf reachable-node-count { - type uint32; - description "Number of nodes reachable in SPT"; - } - leaf unreachable-node-count { - type uint32; - description "Number of nodes unreachable in SPT"; - } - leaf unreachable-participant-node-count { - type uint32; - description - "Number of participating nodes unreachable in SPT"; - } - } - - grouping ISIS-SH-TOPO-SUMMARY { - description "Summary Statistics for an IS Topology"; - - container router-node-count { - description "Node Counts for System nodes"; - uses ISIS-SH-TOPO-SUMMARY-NODE-STATS; - } - - container pseudonode-node-count { - description "Node Counts for Pseudonode nodes"; - uses ISIS-SH-TOPO-SUMMARY-NODE-STATS; - } - } - - grouping ISIS-SH-TOPO-NEIGHBOR { - description "SPT Neighbor"; - leaf neighbor-id { - type xr:Osi-system-id; - description "Neighbor ID"; - } - leaf intermediate-pseudonode { - type xr:Isis-node-id; - description "Pseudonode between system and its neighbor"; - } - } - - grouping ISIS-SH-REP-EL { - description "OSPF Repair Element"; - leaf repair-element-node-id { - type string; - description "RepairElementNodeID"; - } - leaf repair-ipv4-addr { - type Isis-ipv4-address; - description "RepairIPv4Addr"; - } - leaf repair-ipv6-addr { - type Isis-ipv6-address; - description "RepairIPv6Addr"; - } - leaf repair-label { - type uint32; - description "Repair Label"; - } - leaf repair-element-type { - type uint32; - description "Repair Element Type"; - } - leaf repair-strict-spf-label { - type uint32; - description "Repair Strict SPF Label"; - } - } - - grouping ISIS-SH-IPV4-FRR-BACKUP { - description "FRR backup path"; - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv4-address; - description "Next hop neighbor's forwarding address"; - } - leaf tunnel-egress-interface { - type Isis-sh-interface-name; - description "Tunnel Interface to send the packet out of"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf remote-lfa-system-id { - type xr:Osi-system-id; - description "Remote LFA PQ Node's ID"; - } - leaf remote-lfa-router-id { - type Isis-ipv4-address; - description "Remote LFA Router ID"; - } - leaf remote-lfa-system-pid { - type xr:Osi-system-id; - description "Remote LFA PQ Node's ID"; - } - leaf remote-lfa-router-pid { - type Isis-ipv4-address; - description "Remote LFA Router ID"; - } - leaf total-backup-distance { - type Isis-metric; - description "Distance to the network via this backup path"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf num-sid { - type uint32; - description "Number of SIDs in TI-LFA/rLFA"; - } - leaf backup-repair-list-size { - type uint32; - description "Backup Repair List Size"; - } - leaf tilfa-computation { - type Isis-tilfa-computation; - description "Ti LFA computation which provided backup path"; - } - leaf prefix-source-node-id { - type string; - description "PrefixSourceNodeID"; - } - leaf is-downstream { - type boolean; - description "Is the backup path via downstream node?"; - } - leaf is-lc-disjoint { - type boolean; - description - "Is the backup path line card disjoint with - primary?"; - } - leaf is-node-protecting { - type boolean; - description "Is the backup path node protecting?"; - } - leaf is-primary-path { - type boolean; - description "Is the backup path an ECMP to the network?"; - } - leaf is-srlg-disjoint { - type boolean; - description "Is the backup path SRLG disjoint with primary?"; - } - leaf is-remote-lfa { - type boolean; - description "Is the backup path via a Remote LFA?"; - } - leaf is-epcfrr-lfa { - type boolean; - description "Is the backup path via a TI-LFA?"; - } - leaf is-strict-spflfa { - type boolean; - description "Is the backup path TI-LFA strict SPF?"; - } - leaf is-tunnel-requested { - type boolean; - description "Is SR TE tunnel requested"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - list segment-routing-sid-value-entry { - max-elements "3"; - - description "Segment routing sid values for TI-LFA/rLFA"; - leaf entry { - type Isis-nodal-sid-value; - } - } - - list backup-repair { - description "Backup Repair List"; - uses ISIS-SH-REP-EL; - } - } - - grouping ISIS-SH-IPV4-PATH { - description "IPv4 path to a destination"; - - container frr-backup { - description "FRR backup for this path"; - uses ISIS-SH-IPV4-FRR-BACKUP; - } - leaf neighbor-id { - type xr:Osi-system-id; - description "Next hop neighbor ID"; - } - leaf egress-interface { - type Isis-sh-interface-name; - description "Interface to send the packet out of"; - } - leaf neighbor-address { - type Isis-ipv4-address; - description "Next hop neighbor's forwarding address"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Next hop neighbor's SNPA"; - } - leaf tag { - type Isis-prefix-tag; - description "Tag associated with the path"; - } - leaf tunnel-interface { - type Isis-sh-interface-name; - description "Explicit path tunnel interface"; - } - leaf segment-routing-sid-value { - type Isis-nodal-sid-value; - description - "Segment routing sid value received from first - hop"; - } - leaf weight { - type Isis-metric; - description "Weight configured on the interface"; - } - leaf is-te-tunnel-interface { - type boolean; - description "Is path via a TE tunnel"; - } - leaf is-sr-exclude-tunnel-interface { - type boolean; - description "Is path via an SR-exclude TE tunnel"; - } - - list uloop-explicit { - description "Uloop Explicit List"; - uses ISIS-SH-REP-EL; - } - } - - grouping ISIS-SH-IPV4-TOPO-REACHABLE-DETAILS { - description "Status of a reachable IPv4 IS"; - leaf root-distance { - type Isis-metric; - description "Distance to the IS"; - } - leaf multicast-root-distance { - type Isis-metric; - description "Distance to the IS"; - } - - list paths { - description "First hops towards the IS"; - uses ISIS-SH-IPV4-PATH; - } - - list multicast-path { - description "Multicast intact first hops towards the IS"; - uses ISIS-SH-IPV4-PATH; - } - - list parent { - description "Parents of the IS within the SPT"; - uses ISIS-SH-TOPO-NEIGHBOR; - } - - list children { - description "Children of the IS within the SPT"; - uses ISIS-SH-TOPO-NEIGHBOR; - } - } - - grouping ISIS-SH-IPV4-TOPO-REACHABLE-STATUS { - description "Reachability status of an IPv4 IS"; - - container reachable-details { - when "../reachable-status = 'isis-reachable'" { - description "../ReachableStatus = 'ISIS_REACHABLE'"; - } - description "Status of the IS within the SPT"; - uses ISIS-SH-IPV4-TOPO-REACHABLE-DETAILS; - } - leaf reachable-status { - type Isis-reachable; - description "ReachableStatus"; - } - } - - grouping ISIS-SH-IPV4-TOPO-ENTRY { - description "IPv4 IS Link Topology Entry"; - - container reachability-status { - description - "Is the IS reachable, and, if so, its status - within the SPT"; - uses ISIS-SH-IPV4-TOPO-REACHABLE-STATUS; - } - - container advertised-prefix-item-counts { - description - "Per-priority counts of prefix items advertised - by the IS"; - uses ISIS-PER-PRIORITY-COUNTS; - } - leaf source-address { - type Isis-ipv4-address; - description "Source Address"; - } - leaf is-participant { - type boolean; - description "Does the IS participate in the topology?"; - } - leaf is-overloaded { - type boolean; - description "Is the IS overloaded?"; - } - leaf is-attached { - type boolean; - description "Is the IS attached?"; - } - } - - grouping ISIS-SH-TE-TUNNEL { - description "MPLS TE tunnel"; - leaf te-system-id { - type xr:Osi-system-id; - description "Destination system ID"; - } - leaf te-interface { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf te-bandwidth { - type uint32; - description "Tunnel bandwidth"; - } - leaf teigp-metric { - type int32; - description "Tunnel metric"; - } - leaf te-next-hop-ip-address { - type inet:ipv4-address; - description "Tunnel next-hop IP address"; - } - leaf te-mode-type { - type Isis-metric-mode; - description "Tunnel metric mode"; - } - leaf teipv4fa-enabled { - type boolean; - description - "Indicates whether MPLS TE IPv4 forwarding - adjacency is enabled"; - } - leaf teipv6fa-enabled { - type boolean; - description - "Indicates whether MPLS TE IPv6 forwarding - adjacency is enabled"; - } - leaf teipv4aa-enabled { - type boolean; - description - "Indicates whether MPLS TE IPv4 autoroute - announce is enabled"; - } - leaf teipv6aa-enabled { - type boolean; - description - "Indicates whether MPLS TE IPv6 autoroute - announce is enabled"; - } - leaf te-checkpoint-object-id { - type uint32; - description "Tunnel checkpoint object ID"; - } - leaf te-segment-routing-enabled { - type boolean; - description - "Indicates whether MPLS TE segment routing is - enabled"; - } - leaf te-segment-routing-strict-spf { - type boolean; - description - "Indicates whether MPLS TE segment routing strict - SPF is enabled"; - } - leaf te-segment-routing-exclude { - type boolean; - description - "Indicates whether Segment routing labeled - traffic exclusion is enabled"; - } - } - - grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS { - description "Prefix item counts for the route update phase"; - - container unreachable { - description "Number of unreachable prefixes in the database"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container reachable { - description "Number of reachable prefixes in the database"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container added { - description "Number of prefixes added during calculation"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container deleted { - description "Number of prefixes deleted during calculation"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container modified { - description - "Number of prefixes modified, i.e. a first hop - and/or metric change"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container touched { - description - "Number of prefixes considered whilst updating - the routing table"; - uses ISIS-PER-PRIORITY-COUNTS; - } - } - - grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-NODE-COUNTS { - description "Node counts for the route update phase"; - - container per-priority-touched { - description - "Per-priority count of nodes considered during - route update"; - uses ISIS-PER-PRIORITY-COUNTS; - } - leaf total-touched { - type uint32; - description - "Total number of nodes considered during route - update"; - } - } - - grouping ISIS-PER-PRIORITY-TIMINGS { - description "Per-priority timings"; - - container critical { - description "Critical priority"; - uses ISIS-TIMINGS-TYPE; - } - - container high { - description "High priority"; - uses ISIS-TIMINGS-TYPE; - } - - container medium { - description "Medium priority"; - uses ISIS-TIMINGS-TYPE; - } - - container low { - description "Low priority"; - uses ISIS-TIMINGS-TYPE; - } - } - - grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-TIMINGS-BREAKDOWN { - description - "Breakdown of the time taken to perform the route - update"; - - container local-rib-update { - description "Time to update IS-IS's local RIB"; - uses ISIS-PER-PRIORITY-TIMINGS; - } - - container global-rib-build { - description - "Time to build the update to send to the global - RIB"; - uses ISIS-PER-PRIORITY-TIMINGS; - } - - container global-rib-send { - description "Time to send the update to the global RIB"; - uses ISIS-PER-PRIORITY-TIMINGS; - } - } - - grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE { - description - "Statistics for the route update phase of the - calculation"; - - container duration { - description "Duration of the routing table update"; - uses ISIS-TIMINGS-TYPE; - } - - container duration-breakdown { - description - "Breakdown of the time taken by the routing table - update"; - uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-TIMINGS-BREAKDOWN; - } - - container node-counts { - description "Node counts"; - uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-NODE-COUNTS; - } - - container item-counts { - description "Prefix item counts"; - uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS; - } - - container route-counts { - description "Distinct prefix counts"; - uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS; - } - - container rib-batch-counts { - description "Number of RIB batches sent"; - uses ISIS-PER-PRIORITY-COUNTS; - } - } - - grouping ISIS-SH-SPF-LOG-SPT-CALC-NODE-COUNTS { - description "Node counts for the SPT calculation phase"; - leaf unreachable { - type uint32; - description "Number of unreachable nodes in the database"; - } - leaf reachable { - type uint32; - description "Number of reachable nodes in the database"; - } - leaf added { - type uint32; - description "Number of nodes added to the SPT"; - } - leaf deleted { - type uint32; - description "Number of nodes deleted from the SPT"; - } - leaf modified { - type uint32; - description - "Number of modified nodes (first hop and/or - metric change)"; - } - leaf touched { - type uint32; - description - "Number of nodes touched whilst calculating the - SPT"; - } - } - - grouping ISIS-TIMINGS-TYPE { - description "Duration of an event in real and CPU time"; - leaf real-duration { - type uint32; - units "millisecond"; - description "Real time duration in milliseconds"; - } - leaf cpu-duration { - type uint32; - units "millisecond"; - description "CPU time duration in milliseconds"; - } - } - - grouping ISIS-SH-SPF-LOG-SPT-CALC { - description "Statistics for the SPT calculation phase"; - - container duration { - description "Duration of the SPT calculation"; - uses ISIS-TIMINGS-TYPE; - } - - container node-counts { - description "Node counts"; - uses ISIS-SH-SPF-LOG-SPT-CALC-NODE-COUNTS; - } - } - - grouping ISIS-IPV6-PREFIX-TYPE { - description "IPv4 address and prefix length"; - leaf prefix { - type Isis-ipv6-address; - description "prefix"; - } - leaf prefix-length { - type Isis-ip-prefix-length; - description "prefix length"; - } - } - - grouping ISIS-IPV4-PREFIX-TYPE { - description "IPv4 address and prefix length"; - leaf prefix { - type Isis-ipv4-address; - description "prefix"; - } - leaf prefix-length { - type Isis-ip-prefix-length; - description "prefix length"; - } - } - - grouping ISIS-IP-PREFIX-TYPE { - description "ISIS IP PREFIX TYPE"; - - container ipv4 { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - description "ipv4"; - uses ISIS-IPV4-PREFIX-TYPE; - } - - container ipv6 { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - description "ipv6"; - uses ISIS-IPV6-PREFIX-TYPE; - } - leaf af-name { - type Isis-af-id; - description "AFName"; - } - } - - grouping ISIS-SH-SPF-LOG-TRIGGERS { - description "The reasons for running a calculation"; - - container trigger-prefix { - description - "ID of a changed prefix in the first trigger LSP, - if any"; - uses ISIS-IP-PREFIX-TYPE; - } - leaf unique-trigger-count { - type uint32; - description "Number of unique triggers on this run"; - } - leaf first-trigger-lsp-id { - type xr:Isis-lsp-id; - description - "ID of the first LSP to trigger the calculation, - if any"; - } - leaf trigger-link { - type xr:Isis-node-id; - description - "ID of a changed link in the first trigger LSP, - if any"; - } - leaf trigger-next-hop-id { - type xr:Osi-system-id; - description "ID of a changed next hop, if any"; - } - leaf is-sr-uloop-calculation { - type boolean; - description "Is this SR micro loop calculation?"; - } - leaf is-sr-uloop-link-down { - type boolean; - description - "Is this SR micro loop calculation for link down?"; - } - list trigger { - description "Triggers applying to this log entry"; - leaf entry { - type Isis-spf-trigger; - } - } - } - - grouping ISIS-SH-SPF-LOG-ENT { - description "IS-IS route calculation log entry"; - - container generic-data { - description "Generic entry data."; - uses ISIS-SH-GENERIC-LOG-ENT; - } - - container triggers { - description "Trigger information"; - uses ISIS-SH-SPF-LOG-TRIGGERS; - } - - container spt-calculation-statistics { - description "Statistics for the SPT calculation phase"; - uses ISIS-SH-SPF-LOG-SPT-CALC; - } - - container route-update-statistics { - description "Statistics for the route update phase"; - uses ISIS-SH-SPF-LOG-ROUTE-UPDATE; - } - leaf class { - type Isis-spf-class; - description "Type of calculation."; - } - leaf wait-enforced { - type uint32; - units "millisecond"; - description - "Time between the first trigger and the start of - the route calculation, in milliseconds."; - } - leaf next-wait-interval { - type uint32; - units "millisecond"; - description - "Minimum time from end of this route calculation - until the start of the next, in milliseconds"; - } - leaf updated-lsp-count { - type uint32; - description - "Number of LSPs which arrived during the route - calculation"; - } - } - - grouping ISIS-SH-SPF-LOG-STRUC { - description "Log of IS-IS route calculations"; - - list log-entry { - description "SPF Log entries"; - uses ISIS-SH-SPF-LOG-ENT; - } - } - - grouping ISIS-SH-TE-LOG-ENT { - description "MPLS TE log entry"; - - container generic-data { - description "Generic entry data"; - uses ISIS-SH-GENERIC-LOG-ENT; - } - leaf neighbor-ip-address { - type inet:ipv4-address; - description "Neighbor ip address"; - } - leaf status { - type boolean; - description "Up (TRUE) or down"; - } - leaf log-interface { - type xr:Interface-name; - description "Interface"; - } - leaf te-log-neighbor-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - } - - grouping ISIS-SH-TE-LOG-STRUC { - description "MPLS TE log"; - - list log-entry { - description "Log entries"; - uses ISIS-SH-TE-LOG-ENT; - } - } - - grouping ISIS-SH-TE-PCE-ADV { - description "TE PCE advertisements for an IS-IS level"; - leaf pce-adv-data-present { - type boolean; - description - "Indicates whether any PCE advertisements are - present"; - } - leaf pce-flooding-scope { - type Isis-sh-te-pce-flooding-scope; - description "Flooding scope for PCE advertisement"; - } - leaf pce-address-ipv4 { - type inet:ipv4-address; - description "IPv4 PCE address"; - } - leaf pce-path-scope-bits { - type uint8; - description "PCE path scope bits"; - } - leaf pce-path-scope-prefs { - type uint16; - description "PCE path scope preferences"; - } - } - - grouping ISIS-SH-TE-ADV-SUB-TLV { - description "MPLS TE advertisement sub TLV"; - leaf te-sub-tlv-type { - type uint16; - description "Type of sub TLV"; - } - leaf te-sub-tlv-length { - type uint16; - description "Length of sub TLV"; - } - leaf te-sub-tlv-value { - type yang:hex-string; - description "Value of sub TLV"; - } - } - - grouping ISIS-SH-TE-ADV-ENTRY { - description "MPLS TE advertisement"; - leaf te-neighbor-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - leaf link-type { - type Isis-sh-te-link; - description "Link type"; - } - leaf local-ip-address { - type inet:ipv4-address; - description "Local IP address"; - } - leaf te-neighbor-ip-address { - type inet:ipv4-address; - description "Neighbor IP address"; - } - leaf te-metric { - type uint32; - description "TE metric"; - } - leaf te-physical-link-bandwidth { - type uint32; - description "Physical link bandwidth"; - } - leaf te-reserved-link-bandwidth { - type uint32; - description "Reservable link bandwidth in global pool"; - } - leaf te-subpool-reserved-link-bandwidth { - type uint32; - description "Reservable link bandwidth in subpool"; - } - leaf te-affinity { - type uint32; - description "Affinity bits"; - } - leaf te-ext-admin-num { - type uint32; - description "TE Ext Admin Number"; - } - leaf te-sub-tlv-data-present { - type boolean; - description "Indicates whether any TE sub TLVs are present"; - } - list te-transmitted-bandwidth { - max-elements "8"; - - description "Bandwidth in use in global pool"; - leaf entry { - type uint32; - } - } - list te-subpool-transmitted-bandwidth { - max-elements "8"; - - description "Bandwidth in use in subpool"; - leaf entry { - type uint32; - } - } - list te-ext-admin-sub { - max-elements "8"; - - description "TE Extended Admin Group"; - leaf entry { - type uint32; - } - } - - list te-sub-tlv { - description "List of TE sub TLVs"; - uses ISIS-SH-TE-ADV-SUB-TLV; - } - } - - grouping ISIS-SH-TE-ADV { - description "TE advertisements for an IS-IS level"; - - container tepceadv { - description "TE PCE advertisements"; - uses ISIS-SH-TE-PCE-ADV; - } - leaf te-adv-data-present { - type boolean; - description - "Indicates whether any TE advertisements are - present"; - } - leaf te-system-id { - type xr:Osi-system-id; - description "Local system ID"; - } - leaf te-local-router-id { - type inet:ipv4-address; - description "Local TE router ID"; - } - - list te-adv { - description "List of TE advertisement entries"; - uses ISIS-SH-TE-ADV-ENTRY; - } - } - - grouping ISIS-PER-PRIORITY-COUNTS { - description "Per-priority counts"; - leaf critical { - type uint32; - description "Critical priority"; - } - leaf high { - type uint32; - description "High priority"; - } - leaf medium { - type uint32; - description "Medium priority"; - } - leaf low { - type uint32; - description "Low priority"; - } - } - - grouping ISIS-SH-FRR-LEVEL-SUMMARY { - description "FRR backup statistics for one level"; - - container all-paths-protected { - description - "Number of prefixes with all paths having FRR - backup"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container some-paths-protected { - description - "Number of prefixes with some paths having FRR - backup"; - uses ISIS-PER-PRIORITY-COUNTS; - } - - container unprotected { - description "Number of reachable prefixes without FRR backup"; - uses ISIS-PER-PRIORITY-COUNTS; - } - } - - grouping ISIS-SH-FRR-SUMMARY { - description "FRR summary for an ISIS topology"; - - container level1-prefixes { - description "FRR summary for prefixes reachable in L1"; - uses ISIS-SH-FRR-LEVEL-SUMMARY; - } - - container level2-prefixes { - description "FRR summary for prefixes reachable in L2"; - uses ISIS-SH-FRR-LEVEL-SUMMARY; - } - - container unreachable-prefixes { - description "Unreachable prefixes"; - uses ISIS-PER-PRIORITY-COUNTS; - } - } - - grouping ISIS-SH-LSP-DB-LOG-ENT { - description "LSP Database Log Entry"; - - container generic-data { - description "Generic entry data"; - uses ISIS-SH-GENERIC-LOG-ENT; - } - - container new-lsp-entry { - description - "Entry being inserted or the updated version of - an old entry."; - uses ISIS-SH-LSP-HEADER; - } - - container old-lsp-entry { - description "Entry being replaced."; - uses ISIS-SH-LSP-HEADER; - } - leaf lspdb-operation { - type Isis-lsp-db-op; - description "Operation applying to this entry."; - } - } - - grouping ISIS-SH-LSP-DB-LOG-STRUC { - description "LSP Database Log"; - - list log-entry { - description "Entries"; - uses ISIS-SH-LSP-DB-LOG-ENT; - } - } - - grouping ISIS-SH-LSP-LOG-ENT { - description "LSP-log entry"; - - container generic-data { - description "Generic entry data"; - uses ISIS-SH-GENERIC-LOG-ENT; - } - leaf trigger-count { - type uint32; - description - "Number of triggers on this run. May not be equal - to the number of trigger event types if one or - more trigger events has occurred more than once."; - } - leaf delayed-trigger-count { - type uint32; - description "Number of delayed triggers"; - } - leaf log-interface { - type xr:Interface-name; - description "Appropriate interface, if any"; - } - leaf pseudo-node-number { - type Isis-pseudo-node-number; - description "Pseudo-node number"; - } - list trigger { - description "Triggers applying to this log entry."; - leaf entry { - type Isis-lsp-trigger; - } - } - } - - grouping ISIS-SH-LSP-LOG-STRUC { - description "LSP log"; - - list log-entry { - description "Log entries"; - uses ISIS-SH-LSP-LOG-ENT; - } - } - - grouping ISIS-SH-LSP-HEADER { - description "Contents of an IS-IS LSP header"; - leaf lsp-id { - type xr:Isis-lsp-id; - description "The LSP ID"; - } - leaf local-lsp-flag { - type boolean; - description "TRUE if this is a locally generated LSP"; - } - leaf lsp-active-flag { - type boolean; - description "TRUE if this LSP has not expired"; - } - leaf lsp-holdtime { - type uint16; - units "second"; - description - "Time, in seconds, until LSP expiry (if active) - or deletion (if expired) "; - } - leaf lsp-sequence-number { - type uint32; - description "The LSP sequence number"; - } - leaf lsp-checksum { - type uint16; - description "The LSP checksum"; - } - leaf lsp-partition-repair-supported-flag { - type boolean; - description "TRUE if partition repair is supported"; - } - leaf lsp-attached-flag { - type boolean; - description "TRUE if attached bit is set"; - } - leaf lsp-overloaded-flag { - type boolean; - description "TRUE if the overload bit is set"; - } - leaf lsp-nonv1a-flag { - type uint16; - description "TRUE if the LSP is non-v1a, XXX for testing"; - } - leaf lsp-level { - type Isis-levels; - description "The type of the IS sourcing the LSP"; - } - leaf lsp-length { - type uint16; - description "The total length of the LSP"; - } - leaf max-area-addresses { - type uint8; - description "max area addresses"; - } - leaf id-length { - type uint8; - description "System Id length"; - } - leaf version { - type uint8; - description "isis version"; - } - leaf version2 { - type uint8; - description "isis version2"; - } - } - - grouping ISIS-SH-LSP { - description "An IS-IS LSP"; - - container lsp-header-data { - description "Information from the LSP header"; - uses ISIS-SH-LSP-HEADER; - } - leaf lsp-body { - type yang:hex-string; - description - "LSP as received/sent over the wire, starting - from the LSP ID field"; - } - } - - grouping ISIS-SH-ADJ-TOPO { - description "Per-topology per-adjacency data"; - - container id { - description "Topology ID"; - uses ISIS-TOPO-ID-TYPE; - } - leaf topology-status { - type Isis-adj-topo-status; - description "Status of topology in adjacency"; - } - leaf parallel-p2p-link-suppressed-flag { - type boolean; - description "TRUE if suppressed parallel point-to-point link"; - } - } - - grouping ISIS-SH-ADJ { - description "An IS-IS adjacency"; - leaf adjacency-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - leaf adjacency-snpa { - type xr:Isis-snpa; - description "Neighbor SNPA"; - } - leaf adjacency-interface { - type xr:Interface-name; - description "Local interface"; - } - leaf adjacency-media-type { - type Isis-media-class; - description "Link media type"; - } - leaf adjacency-state { - type Isis-adj-state; - description "Adjacency state"; - } - leaf adjacency-bfd-state { - type Isis-adj-bfd-state; - description "Adjacency IPv4 BFD state"; - } - leaf adjacency-ipv6bfd-state { - type Isis-adj-bfd-state; - description "Adjacency IPv6 BFD state"; - } - leaf adj-ipv4bfd-retry-running { - type boolean; - description "Is IPv4 BFD retry timer running"; - } - leaf adj-ipv6bfd-retry-running { - type boolean; - description "Is IPv6 BFD retry timer running"; - } - leaf adj-ipv4bfd-retry-exp { - type uint32; - description "Time to expiration of IPv4 BFD retry timer (s)"; - } - leaf adj-ipv6bfd-retry-exp { - type uint32; - description "Time to expiration of IPv6 BFD retry timer (s)"; - } - leaf adj-ipv4bfd-retry-count { - type uint32; - description "IPv4 BFD retry counter"; - } - leaf adj-ipv6bfd-retry-count { - type uint32; - description "IPv6 BFD retry counter"; - } - leaf adjacency-uptime-valid-flag { - type boolean; - description "TRUE if AdjacencyUptime is set"; - } - leaf adjacency-uptime { - type uint32; - description "How long the adjacency has been up (s)"; - } - leaf adjacency-holdtime { - type uint32; - description - "Time (s) until adjacency declared down if no IIH - received"; - } - leaf adjacency-checkpoint-object-id { - type uint32; - description "Adjacency checkpoint object ID"; - } - leaf adjacency-ietf-nsf-capable-flag { - type boolean; - description "TRUE if neighbor is IETF-NSF capable"; - } - leaf adjacency-dispriority { - type Isis-dr-priority; - description - "Priority of DIS on this LAN. Valid only if - aj_media_class is ISIS_MEDIA_CLASS_LAN"; - } - leaf adjacency-neighbor-priority { - type Isis-dr-priority; - description - "Neighbor IS priority. Valid only if - aj_media_class is ISIS_MEDIA_CLASS_LAN"; - } - leaf adjacency-local-priority { - type Isis-dr-priority; - description - "Local IS priority. Valid only if aj_media_class - is ISIS_MEDIA_CLASS_LAN"; - } - leaf local-dis-flag { - type boolean; - description - "TRUE if local system is DIS. Valid only if - AdjacencyMediaType is ISIS_MEDIA_CLASS_LAN"; - } - leaf neighbor-dis-flag { - type boolean; - description - "TRUE if neighbor is DIS. Valid only if - AdjacencyMediaType is ISIS_MEDIA_CLASS_LAN"; - } - leaf nsr-standby { - type uint8; - description "ISIS NSR STANDBY"; - } - list adjacency-area-address { - description "Area addresses active over this adjacency"; - leaf entry { - type xr:Osi-area-address; - } - } - - list adjacency-topology { - description "Per-topology data"; - uses ISIS-SH-ADJ-TOPO; - } - - list adjacency-per-address-family-data { - description "Per-address-family data"; - uses ISIS-SH-ADJ-AF; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY-ALL-FRAGMENTS-STATS { - description "All fragment counters"; - - container node-counters { - description "Summary by class of node"; - uses ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY-TOPO-CLASS-COUNTERS { - description "Per-topology related info"; - - container id { - description "Topology ID"; - uses ISIS-TOPO-ID-TYPE; - } - - container overloaded-lsp-count { - description - "Number of LSPs with their per-topology overload - bit set"; - uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; - } - - container attached-lsp-count { - description - "Number of LSPs with their per-topology attached - bit set"; - uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS { - description "LSP status counters"; - leaf active-lsp-count { - type uint32; - description "Number of active LSPs"; - } - leaf purged-lsp-count { - type uint32; - description "Number of purged LSPs"; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS { - description "LSP node type counters"; - - container route-lsp-count { - description "Router LSPs"; - uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; - } - - container pseudo-node-lsp-count { - description "Pseudonode LSPs"; - uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY-FRAGMENT-0-STATS { - description "Fragment-0 counters"; - - container node-counters { - description "Summary by class of node"; - uses ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS; - } - - list per-topology-counter { - description "Per topology counters"; - uses ISIS-SH-LSP-DB-SUMMARY-TOPO-CLASS-COUNTERS; - } - } - - grouping ISIS-SH-LSP-DB-SUMMARY { - description "Summary Statistics for an IS-IS LSP Database"; - - container fragment0lsp-stats { - description "Statistics for fragment 0 LSPs"; - uses ISIS-SH-LSP-DB-SUMMARY-FRAGMENT-0-STATS; - } - - container all-fragment-lsp-stats { - description "Statistics for all LSP fragments"; - uses ISIS-SH-LSP-DB-SUMMARY-ALL-FRAGMENTS-STATS; - } - } - - grouping ISIS-ADJ-LOG-TOPO-TYPE { - description "Per-topology per-adjacency log data"; - - container id { - description "Topology ID"; - uses ISIS-TOPO-ID-TYPE; - } - leaf change { - type Isis-adj-topo-change; - description "Change"; - } - } - - grouping ISIS-SH-GENERIC-LOG-ENT { - description "Generic portion of a log entry"; - - container timestamp { - description "Time in UTC relative to Jan 1st, 1970"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - } - - grouping ISIS-SH-ADJ-LOG-ENT { - description "An adjacency log entry"; - - container generic-data { - description "Generic entry data"; - uses ISIS-SH-GENERIC-LOG-ENT; - } - leaf adj-log-neighbor-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf prev-adj-state { - type Isis-adj-state; - description "Previous adjacency state"; - } - leaf cur-adj-state { - type Isis-adj-state; - description "Current adjacency state"; - } - leaf state-reason { - type Isis-adj-state-reason; - description "Reason adjacency changed state"; - } - - list adjacency-per-topology-change { - description "Per-topology changes"; - uses ISIS-ADJ-LOG-TOPO-TYPE; - } - } - - grouping ISIS-SH-ADJ-LOG-STRUC { - description "Adjacency log structure"; - - list log-entry { - description "Adjacency Log entries"; - uses ISIS-SH-ADJ-LOG-ENT; - } - } - - grouping ISIS-AREA-TOPO-STATS-TYPE { - description "Per-area, per-topology traffic statistics"; - leaf spf-run-count { - type uint32; - description "Number of full SPF calculations run"; - } - leaf ispf-run-count { - type uint32; - description "Number of ISPF calculations run"; - } - leaf nhc-run-count { - type uint32; - description "Number of Next Hop Calculations run"; - } - leaf prc-run-count { - type uint32; - description "Number of PRCs run"; - } - leaf periodic-run-count { - type uint32; - description "Number of periodic SPF calculations run"; - } - } - - grouping ISIS-SH-TRAFFIC-AREA-TOPO { - description "Per-area, per-topology traffic data"; - - container id { - description "Topology ID"; - uses ISIS-TOPO-ID-TYPE; - } - - container statistics { - description "Statistics"; - uses ISIS-AREA-TOPO-STATS-TYPE; - } - } - - grouping ISIS-AREA-STATS-TYPE { - description "Per-area traffic statistics"; - leaf system-lsp-build-count { - type uint32; - description "Number of times system LSP rebuilt"; - } - leaf system-lsp-refresh-count { - type uint32; - description "Number of times system LSP refreshed"; - } - } - - grouping ISIS-SH-TRAFFIC-AREA { - description "Per-area traffic data"; - - container statistics { - description "Statistics"; - uses ISIS-AREA-STATS-TYPE; - } - leaf level { - type Isis-level; - description "Level this data applies to"; - } - - list per-topology-data { - description "Per-topoogy statistics"; - uses ISIS-SH-TRAFFIC-AREA-TOPO; - } - } - - grouping ISIS-SH-TIMESTAMP-TYPE { - description "Timestamp for an event"; - leaf seconds { - type uint32; - units "second"; - description "Timestamp value (seconds)"; - } - leaf nano-seconds { - type uint32; - units "nanosecond"; - description "Timestamp value (nanoseconds)"; - } - } - - grouping ISIS-TRAFFIC-GLOBAL-TYPE { - description "IS-IS process traffic statistics"; - - container avg-hello-process-time { - description "Average hello process time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-csnp-process-time { - description "Average CSNP process time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-psnp-process-time { - description "Average PSNP process time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-lsp-process-time { - description "Average LSP process time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-hello-transmit-time { - description "Average hello transmit time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-csnp-transmit-time { - description "Average CSNP transmit time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-psnp-transmit-time { - description "Average PSNP transmit time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - - container avg-lsp-transmit-time { - description "Average LSP transmit time"; - uses ISIS-SH-TIMESTAMP-TYPE; - } - leaf fast-psnp-lookup-count { - type uint32; - description "Fast-PSNP cache lookups"; - } - leaf fast-psnp-lookup-hit-count { - type uint32; - description "Fast-PSNP cache hits"; - } - leaf fast-csnp-lookup-count { - type uint32; - description "Fast-CSNP cache lookups"; - } - leaf fast-csnp-lookup-hit-count { - type uint32; - description "Fast-CSNP cache hits"; - } - leaf fast-csnp-cache-update-count { - type uint32; - description "Fast-CSNP cache updates"; - } - leaf zero-holdtime-lsp-count { - type uint32; - description "LSPs received with holdtime 0"; - } - leaf invalid-checksum-lsp-count { - type uint32; - description "LSPs received with invalid checksum"; - } - leaf iih-dropped-count { - type uint32; - description "IIHs dropped - Not Used"; - } - leaf lsp-dropped-count { - type uint32; - description "LSPs dropped"; - } - leaf snp-dropped-count { - type uint32; - description "SNPs dropped"; - } - leaf maximum-iih-queue-length { - type uint32; - description "Maximum IIH queue length - Not Used"; - } - leaf maximum-pdu-queue-length { - type uint32; - description "Maximum update PDU queue length"; - } - leaf pdu-queue-length { - type uint32; - description "Update PDU queue length"; - } - leaf avg-hello-recv-rate { - type uint32; - units "packet/s"; - description - "Average hello receive rate in packets per second"; - } - leaf avg-csnp-recv-rate { - type uint32; - units "packet/s"; - description "Average csnp receive rate in packets per second"; - } - leaf avg-psnp-recv-rate { - type uint32; - units "packet/s"; - description "Average psnp receive rate in packets per second"; - } - leaf avg-lsp-recv-rate { - type uint32; - units "packet/s"; - description "Average LSP receive rate in packets per second"; - } - leaf avg-hello-send-rate { - type uint32; - units "packet/s"; - description "Average hello send rate in packets per second"; - } - leaf avg-csnp-send-rate { - type uint32; - units "packet/s"; - description "Average csnp send rate in packets per second"; - } - leaf avg-psnp-send-rate { - type uint32; - units "packet/s"; - description "Average psnp send rate in packets per second"; - } - leaf avg-lsp-send-rate { - type uint32; - units "packet/s"; - description "Average LSP send rate in packets per second"; - } - } - - grouping ISIS-SH-TRAFFIC-GLOBAL { - description "IS-IS process traffic data"; - - container statistics { - description "Statistics"; - uses ISIS-TRAFFIC-GLOBAL-TYPE; - } - - list per-area-data { - description "Per-area data"; - uses ISIS-SH-TRAFFIC-AREA; - } - } - - grouping ISIS-SH-HOST { - description "Bag representing a host (IS)"; - leaf local-is-flag { - type boolean; - description "TRUE if this is the local IS"; - } - leaf host-levels { - type Isis-levels; - description "Host levels"; - } - leaf host-name { - type string; - description "Host name"; - } - } - - grouping ISIS-IPV6-ADJ-SID-BACKUP-INFO { - description "IPv4 Adjacency SID backup information"; - leaf backup-label-stack-size { - type uint8; - description "Number of labels in the backup path label stack"; - } - leaf backup-node-address { - type Isis-ipv6-address; - description - "Neighbor address used as adjacency backup target"; - } - leaf backup-nexthop { - type Isis-ipv6-address; - description "Backup path nexthop address"; - } - leaf backup-interface { - type xr:Interface-name; - description "Backup path interface"; - } - list backup-label-stack { - description "Backup path label stack"; - leaf entry { - type uint32; - } - } - } - - grouping ISIS-IPV6-ADJ-SID { - description "IPv6 Adjacency SID"; - - container adjacency-sid-backup { - description "Adjacency SID Backup Info"; - uses ISIS-IPV6-ADJ-SID-BACKUP-INFO; - } - - container adjacency-sid-backup-te { - description "Adjacency SID Backup Info TE"; - uses ISIS-IPV6-ADJ-SID-BACKUP-INFO; - } - leaf adjacency-sid-value { - type Isis-nodal-sid-value; - description "Adjacency SID value"; - } - } - - grouping ISIS-SH-ADJ-IPV6 { - description "IPv6 Specific Per-Adjacency Data"; - - container adjacency-sid { - description "Adjacency SID"; - uses ISIS-IPV6-ADJ-SID; - } - - container non-frr-adjacency-sid { - description "Adjacency SID not eligible for FRR protection"; - uses ISIS-IPV6-ADJ-SID; - } - leaf next-hop { - type Isis-ipv6-address; - description "Adjacency next hop"; - } - list interface-address { - description "Adjacency interface addresses"; - leaf entry { - type Isis-ipv6-address; - } - } - list underlying-adjacency-sid { - description "Per bundle member Adjacency sid"; - leaf entry { - type Isis-nodal-sid-value; - } - } - - list underlying-interface { - description "Underlying interface list for bundle interfaces"; - uses ISIS-SH-INTF-DET; - } - } - - grouping ISIS-SH-INTF-DET { - description "Interface Detail"; - leaf interface-handle { - type xr:Interface-name; - description "Local interface handle"; - } - leaf interface-name { - type string; - description "Interface name"; - } - } - - grouping ISIS-IPV4-ADJ-SID-BACKUP-INFO { - description "IPv4 Adjacency SID backup information"; - leaf backup-label-stack-size { - type uint8; - description "Number of labels in the backup path label stack"; - } - leaf backup-node-address { - type Isis-ipv4-address; - description - "Neighbor address used as adjacency backup target"; - } - leaf backup-nexthop { - type Isis-ipv4-address; - description "Backup path nexthop address"; - } - leaf backup-interface { - type xr:Interface-name; - description "Backup path interface"; - } - list backup-label-stack { - description "Backup path label stack"; - leaf entry { - type uint32; - } - } - } - - grouping ISIS-IPV4-ADJ-SID { - description "IPv4 Adjacency SID"; - - container adjacency-sid-backup { - description "Adjacency SID Backup Info"; - uses ISIS-IPV4-ADJ-SID-BACKUP-INFO; - } - - container adjacency-sid-backup-te { - description "Adjacency SID Backup Info TE"; - uses ISIS-IPV4-ADJ-SID-BACKUP-INFO; - } - leaf adjacency-sid-value { - type Isis-nodal-sid-value; - description "Adjacency SID value"; - } - } - - grouping ISIS-SH-ADJ-IPV4 { - description "IPv4 Specific Per-Adjacency Data"; - - container adjacency-sid { - description "Adjacency SID"; - uses ISIS-IPV4-ADJ-SID; - } - - container non-frr-adjacency-sid { - description "Adjacency SID not eligible for FRR protection"; - uses ISIS-IPV4-ADJ-SID; - } - leaf next-hop { - type Isis-ipv4-address; - description "Adjacency next hop"; - } - list interface-address { - description "Adjacency interface addresses"; - leaf entry { - type Isis-ipv4-address; - } - } - list underlying-adjacency-sid { - description "Per bundle member Adjacency sid"; - leaf entry { - type Isis-nodal-sid-value; - } - } - - list underlying-interface { - description "Underlying interface list for bundle interfaces"; - uses ISIS-SH-INTF-DET; - } - } - - grouping ISIS-SH-ADJ-AF { - description "ISIS SH ADJ AF"; - - container ipv4 { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - description "IPV4 neighbor info"; - uses ISIS-SH-ADJ-IPV4; - } - - container ipv6 { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - description "IPV6 neighbor info"; - uses ISIS-SH-ADJ-IPV6; - } - leaf af-name { - type Isis-af-id; - description "AFName"; - } - } - - grouping ISIS-TOPO-ID-TYPE { - description "Identification of an IS-IS topology"; - leaf af-name { - type Isis-af-id; - description "AF name"; - } - leaf saf-name { - type Isis-sub-af-id; - description "Sub-AF name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf topology-name { - type string; - description "Topology Name"; - } - } - - grouping ISIS-SH-NBR { - description "A neighbor IS"; - leaf neighbor-system-id { - type xr:Osi-system-id; - description "Neighbor system ID"; - } - leaf neighbor-snpa { - type xr:Isis-snpa; - description "Neighbor SNPA"; - } - leaf local-interface { - type xr:Interface-name; - description "Local interface"; - } - leaf neighbor-state { - type Isis-adj-state; - description "Neighbor (adjacency) state"; - } - leaf neighbor-circuit-type { - type Isis-levels; - description "Circuit type"; - } - leaf neighbor-ietf-nsf-capable-flag { - type uint32; - description "TRUE if neighbor is IETF-NSF capable"; - } - leaf neighbor-media-type { - type Isis-media-class; - description "Link media type"; - } - leaf neighbor-holdtime { - type uint32; - description - "Time (s) until neighbor declared down if no IIH - received"; - } - leaf neighbor-uptime-valid-flag { - type boolean; - description "TRUE if NeighborUptime is set"; - } - leaf neighbor-uptime { - type uint32; - description "How long the neighbor has been up (s)"; - } - leaf nsr-standby { - type boolean; - description "ISIS NSR STANDBY"; - } - list neighbor-active-area-address { - description "Active area addresses"; - leaf entry { - type xr:Osi-area-address; - } - } - - list topologies-supported { - description - "Topologies supported by both neighbor and local - system"; - uses ISIS-TOPO-ID-TYPE; - } - - list neighbor-per-address-family-data { - description "Per address-family data"; - uses ISIS-SH-ADJ-AF; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub2.yang deleted file mode 100644 index d5d5656..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper-sub2.yang +++ /dev/null @@ -1,172 +0,0 @@ -submodule Cisco-IOS-XR-clns-isis-oper-sub2 { - - belongs-to Cisco-IOS-XR-clns-isis-oper { - prefix Cisco-IOS-XR-clns-isis-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR clns-isis package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Srms-mi-flag-e-b { - type enumeration { - enum false { - value 0; - description "False"; - } - enum true { - value 1; - description "True"; - } - } - description "Srms mi flag e b"; - } - typedef In6-addr-t-b { - type inet:ipv6-address; - description "In6 addr t b"; - } - typedef Srms-mi-af-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Srms mi af e b"; - } - typedef Srms-mi-src-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum local { - value 1; - description "Local"; - } - enum remote { - value 2; - description "Remote"; - } - } - description "Srms mi src e b"; - } - - grouping ADDR { - description "ADDR"; - leaf af { - type Srms-mi-af-e-b; - description "AF"; - } - leaf ipv4 { - when "../af = 'ipv4'" { - description "../AF = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4"; - } - leaf ipv6 { - when "../af = 'ipv6'" { - description "../AF = 'IPv6'"; - } - type In6-addr-t-b; - description "IPv6"; - } - } - - grouping SRMS-MI-T-B { - description "SRMS show bag"; - - container addr { - description "addr"; - uses ADDR; - } - leaf src { - type Srms-mi-src-e-b; - description "src"; - } - leaf router { - type string { - length "0..30"; - } - description "Router ID"; - } - leaf area { - type string { - length "0..30"; - } - description "Area (OSPF) or Level (ISIS)"; - } - leaf prefix { - type uint8; - description "Prefix length"; - } - leaf sid-start { - type uint32; - description "Starting SID"; - } - leaf sid-count { - type uint32; - description "SID range"; - } - leaf last-prefix { - type string { - length "0..50"; - } - description "Last IP Prefix"; - } - leaf last-sid-index { - type uint32; - description "Last SID Index"; - } - leaf flag-attached { - type Srms-mi-flag-e-b; - description "Attached flag"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper.yang deleted file mode 100644 index 16932c4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-clns-isis-oper.yang +++ /dev/null @@ -1,590 +0,0 @@ -module Cisco-IOS-XR-clns-isis-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper"; - - - prefix "clns-isis-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-clns-isis-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-clns-isis-oper-sub2 { - revision-date 2017-06-26; - } - - include Cisco-IOS-XR-clns-isis-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR clns-isis package operational data. - - This module contains definitions - for the following management objects: - isis: IS-IS operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping POLICY-MI { - description - "Common node of policy-ipv4-active, - policy-ipv4-backup, policy-ipv6-active, - policy-ipv6-backup"; - - list policy-mi { - key "mi-id"; - description "Mapping Item"; - leaf mi-id { - type xr:Cisco-ios-xr-string; - description "Mapping Item ID (0, 1, 2, ...)"; - } - uses SRMS-MI-T-B; - } - } - - container isis { - config false; - description "IS-IS operational data"; - - container instances { - description "Per-instance operational data"; - - list instance { - key "instance-name"; - description "IS-IS instance"; - - container neighbors { - description "Neighbor table"; - - list neighbor { - description "A single neighbor router"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-NBR; - } - } - - container host-names { - description "Hostname table"; - - list host-name { - key "system-id"; - description "Hostname table entry"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - uses ISIS-SH-HOST; - } - } - - container statistics-global { - description "Per-instance statistics"; - uses ISIS-SH-TRAFFIC-GLOBAL; - } - - container levels { - description "Level table"; - - list level { - key "level"; - description "Per-level operational data"; - - container adjacency-log { - description - "Log of adjacency changes within a single - level"; - uses ISIS-SH-ADJ-LOG-STRUC; - } - - container lsp-table-summary { - description - "Summary information for one level's LSP - database"; - uses ISIS-SH-LSP-DB-SUMMARY; - } - - container adjacencies { - description "Adjacency table"; - - list adjacency { - description "A single IS-IS adjacency"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-ADJ; - } - } - - container detailed-lsps { - description - "Detailed LSP table. Use to retrieve LSPs - with TLV content."; - - list detailed-lsp { - key "lsp-id"; - description - "An IS-IS LSP with detailed TLV data - included"; - leaf lsp-id { - type xr:Isis-lsp-id; - description "LSP ID"; - } - uses ISIS-SH-LSP; - } - } - - container lsps { - description "LSP table"; - - list lsp { - key "lsp-id"; - description - "An IS-IS LSP (header information only)"; - leaf lsp-id { - type xr:Isis-lsp-id; - description "LSP ID"; - } - uses ISIS-SH-LSP; - } - } - - container lsp-log { - description "LSP-log for a single level"; - uses ISIS-SH-LSP-LOG-STRUC; - } - - container database-log { - description "Database-log for a single level"; - uses ISIS-SH-LSP-DB-LOG-STRUC; - } - leaf level { - type dt1:Isis-internal-level; - description "Level"; - } - } - } - - container topologies { - description "Topology table"; - - list topology { - description "Per-topology data"; - - container frr-summary { - description - "FRR summary information for a particular - IS-IS topology"; - uses ISIS-SH-FRR-SUMMARY; - } - - container topology-levels { - description "Per-topology level table"; - - list topology-level { - key "level"; - description "Per-level topology operational data"; - - container te-advertisements { - description - "TE advertisements for a single level and - topology. Only available within the IPv4 - Unicast topology."; - uses ISIS-SH-TE-ADV; - } - - container te-adjacency-log { - description - "TE adjacency-log for a single level and - topology. Only available within the IPv4 - Unicast topology."; - uses ISIS-SH-TE-LOG-STRUC; - } - - container spf-log { - description - "Log of route calculations for a single - level and topology"; - uses ISIS-SH-SPF-LOG-STRUC; - } - - container te-tunnels { - description - "TE tunnels table. Only available within - the IPv4 Unicast topology."; - - list te-tunnel { - description - "A single TE tunnel advertized by IS-IS"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-TE-TUNNEL; - } - } - - container ipv4-link-topologies { - description "IPv4 IS Topology table"; - - list ipv4-link-topology { - key "system-id"; - description "An IS in an IPv4 Link Topology"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - uses ISIS-SH-IPV4-TOPO-ENTRY; - } - } - - container topology-summary { - description - "Summary information for a particular IS - Topology"; - uses ISIS-SH-TOPO-SUMMARY; - } - - container ipv6-link-topologies { - description "IPv6 IS Topology table"; - - list ipv6-link-topology { - key "system-id"; - description "An IS in an IPv6 Link Topology"; - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - uses ISIS-SH-IPV6-TOPO-ENTRY; - } - } - leaf level { - type dt1:Isis-internal-level; - description "Level"; - } - } - } - - container ipv6-routes { - description "IPv6 local route"; - - list ipv6-route { - description "An IPv6 route known to IS-IS"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type dt1:Isis-ipv6-prefix-length; - description "Prefix Length"; - } - uses ISIS-SH-IPV6-ROUTE; - } - } - - container ipv6frr-backups { - description "IPv6 FRR table"; - - list ipv6frr-backup { - description "FRR backup for an IPv6 network"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type dt1:Isis-ipv6-prefix-length; - description "Prefix Length"; - } - uses ISIS-SH-IPV6-ROUTE; - } - } - - container ipv4frr-backups { - description "IPv4 FRR table"; - - list ipv4frr-backup { - description "FRR backup for an IPv4 network"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type dt1:Isis-ipv4-prefix-length; - description "Prefix Length"; - } - uses ISIS-SH-IPV4-ROUTE; - } - } - - container ipv4-routes { - description "IPv4 local route table"; - - list ipv4-route { - description "An IPv4 route known to IS-IS"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type dt1:Isis-ipv4-prefix-length; - description "Prefix Length"; - } - uses ISIS-SH-IPV4-ROUTE; - } - } - leaf af-name { - type dt1:Isis-address-family; - description "Address family"; - } - leaf saf-name { - type dt1:Isis-sub-address-family; - description "Sub address family"; - } - leaf topology-name { - type dt1:Isis-topology-name; - description "Topology Name"; - } - } - } - - container nsr-status { - description "NSR Status information"; - uses ISIS-SH-NSR-STATUS-GLOBAL; - } - - container interfaces { - description "Interface table"; - - list interface { - key "interface-name"; - description "Information about one IS-IS interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-IF; - } - } - - container checkpoint-adjacencies { - description "Checkpointed adjacency table"; - - list checkpoint-adjacency { - description "A checkpointed IS-IS adjacency"; - leaf level { - type dt1:Isis-internal-level; - description "Level"; - } - leaf system-id { - type xr:Osi-system-id; - description "System ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-CHKPT-ADJ; - } - } - - container srms { - description - "Segment Routing Mapping Server operational - data"; - - container policy { - description "Policy operational data"; - - container policy-ipv4 { - description "IPv4 policy operational data"; - - container policy-ipv4-active { - description "IPv4 active policy operational data"; - uses POLICY-MI; - } - - container policy-ipv4-backup { - description "IPv4 backup policy operational data"; - uses POLICY-MI; - } - } - - container policy-ipv6 { - description "IPv6 policy operational data"; - - container policy-ipv6-backup { - description "IPv6 backup policy operational data"; - uses POLICY-MI; - } - - container policy-ipv6-active { - description "IPv6 active policy operational data"; - uses POLICY-MI; - } - } - } - } - - container error-log { - description "Log of errors and warnings"; - uses ISIS-SH-ERR-LOG-STRUC; - } - - container checkpoint-interfaces { - description "Checkpointed interface table"; - - list checkpoint-interface { - key "interface-name"; - description - "Checkpointed information about one IS-IS - interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-CHKPT-IDB; - } - } - - container interface-statistics { - description "Interface statistics table"; - - list interface-statistic { - key "interface-name"; - description "Statistics data for one IS-IS interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-TRAFFIC-INTF; - } - } - - container protocol { - description - "Basic protocol information about an IS-IS - instance"; - uses ISIS-SH-PROTO; - } - - container neighbor-summaries { - description "Neighbor-summary table"; - - list neighbor-summary { - key "interface-name"; - description - "Neighbor-summary data for a single interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-NBR-SUMM; - } - } - - container checkpoint-lsps { - description "Checkpointed LSP table"; - - list checkpoint-lsp { - description "A checkpointed IS-IS LSP"; - leaf level { - type dt1:Isis-internal-level; - description "Level"; - } - leaf lsp-id { - type xr:Isis-lsp-id; - description "LSP ID"; - } - uses ISIS-SH-CHKPT-LSP; - } - } - - container mesh-groups { - description "Mesh-group information"; - uses ISIS-SH-MESH-GROUPS; - } - - container nsr-statistics { - description "NSR Statistics information"; - uses ISIS-SH-NSR-STATS-GLOBAL; - } - - container checkpoint-te-tunnels { - description "Checkpointed TE tunnel table"; - - list checkpoint-te-tunnel { - description "A checkpointed TE tunnel"; - leaf level { - type dt1:Isis-internal-level; - description "Level"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ISIS-SH-CHKPT-TE-TUNNEL; - } - } - leaf instance-name { - type dt1:Isis-instance-name; - description "Instance identifier"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper-sub1.yang deleted file mode 100644 index 170860d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper-sub1.yang +++ /dev/null @@ -1,114 +0,0 @@ -submodule Cisco-IOS-XR-cmproxy-oper-sub1 { - - belongs-to Cisco-IOS-XR-cmproxy-oper { - prefix Cisco-IOS-XR-cmproxy-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR cmproxy package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CMP-INV-ST { - description "cmp inv info"; - leaf valid { - type uint32; - description "valid flag"; - } - leaf card-type { - type uint32; - description "card type"; - } - leaf card-type-string { - type string { - length "0..32"; - } - description "card type string"; - } - leaf nodeid { - type int32; - description "node ID"; - } - leaf node-name { - type string { - length "0..32"; - } - description "node name string"; - } - leaf partner-id { - type int32; - description "partner node id"; - } - leaf partner-name { - type string { - length "0..32"; - } - description "partner name string"; - } - leaf red-state { - type uint32; - description "redundancy state"; - } - leaf red-state-string { - type string { - length "0..32"; - } - description "redundancy state string"; - } - leaf node-sw-state { - type uint32; - description "current software state"; - } - leaf node-sw-state-string { - type string { - length "0..32"; - } - description "current software state string"; - } - leaf prev-sw-state { - type uint32; - description "previous software state"; - } - leaf prev-sw-state-string { - type string { - length "0..32"; - } - description "previous software state string"; - } - leaf node-ip { - type uint32; - description "node IP address"; - } - leaf node-ipv4-string { - type string { - length "0..16"; - } - description "node IPv4 address string"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper.yang deleted file mode 100644 index 7daf98b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-cmproxy-oper.yang +++ /dev/null @@ -1,81 +0,0 @@ -module Cisco-IOS-XR-cmproxy-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper"; - - - prefix "cmproxy-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-cmproxy-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR cmproxy package operational data. - - This module contains definitions - for the following management objects: - sdr-inventory-vm: Platform VM information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container sdr-inventory-vm { - config false; - description "Platform VM information"; - - container nodes { - description "Node directory"; - - list node { - key "name"; - description "Node name"; - - container node-entries { - description "VM Information"; - - list node-entry { - key "name"; - description "VM information for a node"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Node name"; - } - uses CMP-INV-ST; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-common-acl-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-common-acl-datatypes.yang deleted file mode 100644 index a0f92f8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-common-acl-datatypes.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-common-acl-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-common-acl-datatypes"; - - - prefix "common-acl-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Acl-usage-app-id-enum { - type enumeration { - enum pfilter { - value 1; - description "General Usage Statistics"; - } - enum bgp { - value 2; - description "Usage staistics related to BGP Traffic"; - } - enum ospf { - value 3; - description "Usage staistics related to OSPF Traffic"; - } - } - description "Acl usage app id enum"; - } - typedef Acl-sequence-number-range { - type uint32 { - range "1..2147483646"; - } - description "Acl sequence number range"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-cfg.yang deleted file mode 100644 index f861180..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-cfg.yang +++ /dev/null @@ -1,53 +0,0 @@ -module Cisco-IOS-XR-config-cfgmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-config-cfgmgr-cfg"; - - - prefix "config-cfgmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR config-cfgmgr package configuration. - - This module contains definitions - for the following management objects: - cfgmgr: Cfgmgr configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container cfgmgr { - description "Cfgmgr configuration"; - leaf mode-exclusive { - type boolean; - default "true"; - description "Enabled or Disabled"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang deleted file mode 100644 index 8ae8ea0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang +++ /dev/null @@ -1,268 +0,0 @@ -submodule Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1 { - - belongs-to Cisco-IOS-XR-config-cfgmgr-exec-oper { - prefix Cisco-IOS-XR-config-cfgmgr-exec-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR config-cfgmgr-exec package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Hist-record { - type enumeration { - enum cfghist-bag-record-all { - description "All history"; - } - enum cfghist-bag-record-alarm { - description "Alarm history"; - } - enum cfghist-bag-record-cfs-check { - description "CfgCheck history"; - } - enum cfghist-bag-record-commit { - description "Commit history"; - } - enum cfghist-bag-record-oir { - description "OIR history"; - } - enum cfghist-bag-record-shutdown { - description "Shutdown history"; - } - enum cfghist-bag-record-startup { - description "Bootup history"; - } - enum cfghist-bag-record-backup { - description "Backup history"; - } - enum cfghist-bag-record-rebase { - description "Rebase history"; - } - enum cfghist-bag-record-last { - description "Last history"; - } - } - description "Possible types of history"; - } - - grouping HIST-BACKUP { - description "HIST BACKUP"; - leaf comment { - type string; - description "Comment"; - } - } - - grouping HIST-STARTUP { - description "HIST STARTUP"; - leaf how-booted { - type string; - description "How Booted"; - } - leaf boot-path { - type string; - description "Boot Path"; - } - } - - grouping HIST-SHUTDOWN { - description "HIST SHUTDOWN"; - leaf comment { - type string; - description "Comment"; - } - } - - grouping HIST-OIR { - description "HIST OIR"; - leaf config-type { - type string; - description "Config Type"; - } - leaf operation { - type string; - description "Operation"; - } - leaf config-name { - type string; - description "Config Name"; - } - } - - grouping HIST-COMMIT { - description "HIST COMMIT"; - leaf commit-id { - type string; - description "CommitId"; - } - leaf user-id { - type string; - description "UserId"; - } - leaf line { - type string; - description "Line"; - } - leaf client-name { - type string; - description "Client name"; - } - leaf label { - type string; - description "Label"; - } - leaf comment { - type string; - description "Comment"; - } - } - - grouping HIST-CFSCHECK { - description "HIST CFSCHECK"; - leaf user-id { - type string; - description "UserId"; - } - leaf line { - type string; - description "Line"; - } - } - - grouping HIST-ALARM { - description "HIST ALARM"; - leaf state { - type string; - description "State"; - } - leaf where { - type string; - description "Where"; - } - } - - grouping HIST-INFO { - description "Configuration history record information"; - - container alarm-info { - when "../type = 'cfghist-bag-record-alarm'" { - description "../type = 'CFGHIST_BAG_RECORD_ALARM'"; - } - description "alarm info"; - uses HIST-ALARM; - } - - container cfscheck-info { - when "../type = 'cfghist-bag-record-cfs-check'" { - description "../type = 'CFGHIST_BAG_RECORD_CFSCHECK'"; - } - description "cfscheck info"; - uses HIST-CFSCHECK; - } - - container commit-info { - when "../type = 'cfghist-bag-record-commit'" { - description "../type = 'CFGHIST_BAG_RECORD_COMMIT'"; - } - description "commit info"; - uses HIST-COMMIT; - } - - container oir-info { - when "../type = 'cfghist-bag-record-oir'" { - description "../type = 'CFGHIST_BAG_RECORD_OIR'"; - } - description "oir info"; - uses HIST-OIR; - } - - container shutdown-info { - when "../type = 'cfghist-bag-record-shutdown'" { - description "../type = 'CFGHIST_BAG_RECORD_SHUTDOWN'"; - } - description "shutdown info"; - uses HIST-SHUTDOWN; - } - - container startup-info { - when "../type = 'cfghist-bag-record-startup'" { - description "../type = 'CFGHIST_BAG_RECORD_STARTUP'"; - } - description "startup info"; - uses HIST-STARTUP; - } - - container backup-info { - when "../type = 'cfghist-bag-record-backup'" { - description "../type = 'CFGHIST_BAG_RECORD_BACKUP'"; - } - description "backup info"; - uses HIST-BACKUP; - } - leaf type { - type Hist-record; - description "type"; - } - leaf a { - when "../type != 'cfghist-bag-record-alarm' and ../type !="+ - " 'cfghist-bag-record-cfs-check' and ../type !="+ - " 'cfghist-bag-record-commit' and ../type !="+ - " 'cfghist-bag-record-oir' and ../type !="+ - " 'cfghist-bag-record-shutdown' and ../type !="+ - " 'cfghist-bag-record-startup' and ../type !="+ - " 'cfghist-bag-record-backup'" { - description - "../type != 'CFGHIST_BAG_RECORD_ALARM' and . - ./type != 'CFGHIST_BAG_RECORD_CFSCHECK' and . - ./type != 'CFGHIST_BAG_RECORD_COMMIT' and . - ./type != 'CFGHIST_BAG_RECORD_OIR' and ../type - != 'CFGHIST_BAG_RECORD_SHUTDOWN' and ../type - != 'CFGHIST_BAG_RECORD_STARTUP' and ../type != - 'CFGHIST_BAG_RECORD_BACKUP'"; - } - type uint32; - description "B"; - } - } - - grouping CONFIGURATIONHISTORY-ENTRY { - description "Per History Information"; - - container info { - description "Content of the history"; - uses HIST-INFO; - } - leaf timestamp { - type uint32; - description "Time stamp for the history"; - } - leaf record-type { - type Hist-record; - description "Record type"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang deleted file mode 100644 index 0cf6cdc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang +++ /dev/null @@ -1,78 +0,0 @@ -module Cisco-IOS-XR-config-cfgmgr-exec-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-config-cfgmgr-exec-oper"; - - - prefix "config-cfgmgr-exec-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR config-cfgmgr-exec package operational data. - - This module contains definitions - for the following management objects: - cfg-hist-gl: Configuration History Global path information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container cfg-hist-gl { - config false; - description "Configuration History Global path information"; - - list record-type { - key "record-type"; - description - "History summary information for a specific type - of history"; - leaf record-type { - type xr:Cisco-ios-xr-string; - description "Record type"; - } - - list record { - key "record"; - description - "History summary information for a specific type - of history"; - leaf record { - type int32; - description "Record"; - } - uses CONFIGURATIONHISTORY-ENTRY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-oper.yang deleted file mode 100644 index 96293b1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-cfgmgr-oper.yang +++ /dev/null @@ -1,53 +0,0 @@ -module Cisco-IOS-XR-config-cfgmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-config-cfgmgr-oper"; - - - prefix "config-cfgmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR config-cfgmgr package operational data. - - This module contains definitions - for the following management objects: - config: Configuration-related operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container config { - config false; - description "Configuration-related operational data"; - - container global { - description "Global operational data"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mda-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mda-cfg.yang deleted file mode 100644 index df3e80a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mda-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-config-mda-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg"; - - - prefix "config-mda-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR config-mda package configuration. - - This module contains definitions - for the following management objects: - active-nodes: Per-node configuration for active nodes - preconfigured-nodes: preconfigured nodes - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container active-nodes { - description "Per-node configuration for active nodes"; - - list active-node { - key "node-name"; - description "The configuration for an active node"; - leaf node-name { - type xr:Node-id; - description "The identifier for this node"; - } - } - } - - container preconfigured-nodes { - description "preconfigured nodes"; - - list preconfigured-node { - key "node-name"; - description "The configuration for a non-active node"; - leaf node-name { - type xr:Node-id; - description "The identifier for this node"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mibs-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mibs-cfg.yang deleted file mode 100644 index b858fc8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-config-mibs-cfg.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-config-mibs-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg"; - - - prefix "config-mibs-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR config-mibs package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-09-29" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container config-man { - description - "CISCO-CONFIG-MAN-MIB notification configurations"; - leaf enable { - type empty; - description "Enable ciscoConfigManMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-odu-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-odu-datatypes.yang deleted file mode 100644 index 9cefecc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-odu-datatypes.yang +++ /dev/null @@ -1,383 +0,0 @@ -module Cisco-IOS-XR-controller-odu-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-controller-odu-datatypes"; - - - prefix "controller-odu-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Otn-child-controller-name { - type enumeration { - enum odu1 { - value 1; - description "Create lower order odu1 controller"; - } - enum odu2 { - value 2; - description "Create lower order odu2 controller"; - } - enum odu3 { - value 3; - description "Create lower order odu3 controller"; - } - enum odu0 { - value 10; - description "Create lower order odu0 controller"; - } - enum odu2e { - value 11; - description "Create lower order odu2e controller"; - } - enum odu1e { - value 23; - description "Create lower order odu1e controller"; - } - enum odu2f { - value 25; - description "Create lower order odu2f controller"; - } - enum odu3e1 { - value 26; - description "Create lower order odu3e1 controller"; - } - enum odu3e2 { - value 27; - description "Create lower order odu3e2 controller"; - } - } - description "Otn child controller name"; - } - typedef Otn-child-flex-controller-name { - type enumeration { - enum odu-flex { - value 22; - description "Create lower order odu-flex controller"; - } - } - description "Otn child flex controller name"; - } - typedef Otn-flex-mapping { - type enumeration { - enum gfp-f-fixed { - value 1; - description "GFP-FIX Mapping"; - } - enum gfp-resizable { - value 2; - description "GFP-Resizable Mapping"; - } - enum cbr { - value 3; - description "CBR Mapping"; - } - } - description "Otn flex mapping"; - } - typedef Otntcm-mode { - type enumeration { - enum transparent { - value 0; - description "Set TCM Mode as transparent"; - } - enum nim { - value 1; - description "Set TCM Mode as NIM"; - } - enum operational { - value 2; - description "Set TCM Mode as operational"; - } - } - description "Otntcm mode"; - } - typedef Otn-per-mon { - type enumeration { - enum disable { - value 0; - description "Performance Monitoring Disabled"; - } - enum enable { - value 1; - description "Performance Monitoring Enabled"; - } - } - description "Otn per mon"; - } - typedef Odu-time-slot-granularity { - type enumeration { - enum 1.25g { - value 0; - description "1.25G time slot granularity"; - } - enum 2.5g { - value 1; - description "2.5G time slot granularity"; - } - } - description "Odu time slot granularity"; - } - typedef Mode { - type enumeration { - enum mode-invalid { - value 0; - description "prbs Mode Invalid"; - } - enum mode-source { - value 1; - description "Prbs Mode Source"; - } - enum mode-sink { - value 2; - description "Prbs Mode Sink"; - } - enum mode-source-sink { - value 3; - description "Prbs Mode Source_Sink"; - } - } - description "Mode"; - } - typedef Otn-send-tti-type-os { - type enumeration { - enum send-tti-os-ascii/os-ascii { - value 10; - description "Send TTI OS ASCII string"; - } - enum send-tti-os-hex/os-hex { - value 12; - description "Send TTI OS HEX string"; - } - } - description "Otn send tti type os"; - } - typedef Otn-exp-tti-type-sapi { - type enumeration { - enum exp-tti-sapi-ascii/sapi-ascii { - value 15; - description "Expected TTI SAPI ASCII string"; - } - } - description "Otn exp tti type sapi"; - } - typedef Otn-termination { - type enumeration { - enum ether { - value 1; - description "Termination to ether"; - } - } - description "Otn termination"; - } - typedef Otn-send-tti-type-sapi { - type enumeration { - enum send-tti-sapi-ascii/sapi-ascii { - value 14; - description "Send TTI SAPI ASCII string"; - } - } - description "Otn send tti type sapi"; - } - typedef Otn-sec-admin-state { - type enumeration { - enum normal { - value 0; - description "In normal state"; - } - enum maintenance { - value 1; - description "Under maintenance"; - } - } - description "Otn sec admin state"; - } - typedef Otn-mapping { - type enumeration { - enum gfp-f { - value 1; - description "gfp_f for mapping"; - } - enum bmp { - value 3; - description "bmp for mapping"; - } - enum gmp { - value 4; - description "gmp for mapping"; - } - enum gfp-f-ext { - value 6; - description "gfp_f_ext for mapping"; - } - } - description "Otn mapping"; - } - typedef Otn-exp-tti-type-os { - type enumeration { - enum exp-tti-os-ascii/os-ascii { - value 11; - description "Expected TTI OS ASCII string"; - } - enum exp-tti-os-hex/os-hex { - value 13; - description "Expected TTI OS HEX string"; - } - } - description "Otn exp tti type os"; - } - typedef Odu-delay { - type enumeration { - enum disable { - value 0; - description "Delay Disable"; - } - enum enable { - value 1; - description "Delay Enable"; - } - } - description "Odu delay"; - } - typedef Otn-loopback { - type enumeration { - enum line { - value 2; - description "Line loopback"; - } - enum internal { - value 4; - description "Internal loopback"; - } - } - description "Otn loopback"; - } - typedef Otn-exp-tti-type-full { - type enumeration { - enum exp-tti-full-ascii/full-ascii { - value 5; - description "Expected TTI Full ASCII string"; - } - enum exp-tti-hex/hex { - value 7; - description "Expected TTI hex string"; - } - } - description "Otn exp tti type full"; - } - typedef Otn-send-tti-type-full { - type enumeration { - enum send-tti-full-ascii/full-ascii { - value 4; - description "Send TTI Full ASCII string"; - } - enum send-tti-hex/hex { - value 6; - description "Send TTI hex string"; - } - } - description "Otn send tti type full"; - } - typedef Otn-exp-tti-type-dapi { - type enumeration { - enum exp-tti-dapi-ascii/dapi-ascii { - value 9; - description "Expected TTI DAPI ASCII string"; - } - } - description "Otn exp tti type dapi"; - } - typedef Otn-send-tti-type-dapi { - type enumeration { - enum send-tti-dapi-ascii/dapi-ascii { - value 8; - description "Send TTI DAPI ASCII string"; - } - } - description "Otn send tti type dapi"; - } - typedef Otntcmca { - type enumeration { - enum disable { - value 0; - description "Consequent(ial) action for Disabled"; - } - enum enable { - value 1; - description "consequent(ial) action for Enabled"; - } - } - description "Otntcmca"; - } - typedef Pattern { - type enumeration { - enum pattern-none { - value 0; - description "prbs pattern None"; - } - enum pattern-pn31 { - value 1; - description "Prbs pattern pn31"; - } - enum pattern-pn23 { - value 2; - description "Prbs pattern pn23"; - } - enum pattern-pn11 { - value 4; - description "Prbs pattern pn11"; - } - enum pattern-inverted-pn31 { - value 8; - description "Prbs pattern inverted pn31"; - } - enum pattern-inverted-pn11 { - value 16; - description "Prbs pattern inverted pn11"; - } - } - description "Pattern"; - } - typedef Otnpmtimca { - type enumeration { - enum disable { - value 0; - description "Path layer PM TIM Consequent action Disabled"; - } - enum enable { - value 1; - description "Path layer PM TIM Consequent action Enabled"; - } - } - description "Otnpmtimca"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-cfg.yang deleted file mode 100644 index 011a2f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-cfg.yang +++ /dev/null @@ -1,488 +0,0 @@ -module Cisco-IOS-XR-controller-optics-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-controller-optics-cfg"; - - - prefix "controller-optics-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR controller-optics package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Optics-fec { - type enumeration { - enum fec-none { - value 0; - description "No Fec"; - } - enum fec-h15 { - value 1; - description "Enhanced H15"; - } - enum fec-h25 { - value 2; - description "Enhanced H25"; - } - enum fec-h15-de { - value 4; - description "Enhanced H15 DE"; - } - enum fec-h25-de { - value 8; - description "Enhanced H25 DE"; - } - } - description "Optics fec"; - } - typedef Optics-ots-ampli-control-mode { - type enumeration { - enum automatic { - value 1; - description "Automatic Amplifier Mode"; - } - enum manual { - value 2; - description "Manual Amplifier Mode"; - } - } - description "Optics ots ampli control mode"; - } - typedef Threshold { - type enumeration { - enum low { - value 1; - description "Low Threshold"; - } - enum high { - value 2; - description "High Threshold"; - } - } - description "Threshold"; - } - typedef Optics-dwdm-carrier-param { - type enumeration { - enum itu-ch { - value 0; - description "ITU Wave Channel Number"; - } - enum wavelength { - value 1; - description "Wavelength in nm"; - } - enum frequency { - value 2; - description "Frequency in Hertz"; - } - } - description "Optics dwdm carrier param"; - } - typedef Optics-ots-safety-control-mode { - type enumeration { - enum auto { - value 1; - description "Automatic Safety Control Mode"; - } - enum disabled { - value 2; - description "Disable Safety Control Mode"; - } - } - description "Optics ots safety control mode"; - } - typedef Optics-ots-ampli-gain-range { - type enumeration { - enum normal { - value 1; - description "Normal Amplifier Gain Range"; - } - enum extended { - value 2; - description "Extended Amplifier Gain Range"; - } - } - description "Optics ots ampli gain range"; - } - typedef Optics-dwdm-carrier-grid { - type enumeration { - enum 50g-hz-grid { - value 0; - description "50GHz Grid"; - } - enum 100mhz-grid { - value 1; - description "100MHz Grid"; - } - } - description "Optics dwdm carrier grid"; - } - typedef Optics-loopback { - type enumeration { - enum none { - value 0; - description "No Loopback"; - } - enum internal { - value 1; - description "Internal Loopback"; - } - enum line { - value 2; - description "Line Loopback"; - } - } - description "Optics loopback"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container optics { - description "Optics controller configuration"; - - container rx-thresholds { - description "Configure Rx threshold"; - - list rx-threshold { - key "rx-threshold-type"; - description - "Optics RX Low or high threshold configuration"; - leaf rx-threshold-type { - type Threshold; - description "Low or high rx threshold"; - } - leaf rx-threshold { - type int32 { - range "-400..300"; - } - mandatory true; - description "Select power level (in units of 0.1dBm)"; - } - } - } - - container optics-network-srlgs { - description "Configure Network srlgs"; - - list optics-network-srlg { - key "set-id"; - description "Configure network srlg sets"; - leaf set-id { - type uint32 { - range "1..17"; - } - description "Set index"; - } - leaf srlg1 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg2 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg3 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg4 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg5 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg6 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - } - } - - container optics-dwdm-carrier { - presence "Indicates a optics-dwdm-carrier node is"+ - " configured."; - description "Configure optics DWDM Carrier"; - leaf grid-type { - type Optics-dwdm-carrier-grid; - mandatory true; - description "DWDM Channel Grid Type"; - } - leaf param-type { - type Optics-dwdm-carrier-param; - mandatory true; - description - "DWDM Channel Parameter Type ITU-Channel or - Frequency or Wavelength"; - } - leaf param-value { - type uint32 { - range "1..1961000"; - } - mandatory true; - description - "Type ITU-Channel Range 1-100, Frequency Range - 19115-19610, Wavelength Range 1528773-1568362, - 100MHz Frequency Range 1911500-1961000"; - } - } - - container optics-lanes { - description "Optics lanes"; - - list optics-lane { - key "index"; - description "Lane"; - leaf description { - type string { - length "1..255"; - } - description "Configure description for this Lane"; - } - leaf index { - type int32; - description "Lane Number"; - } - } - } - - container tx-thresholds { - description "Configure Tx threshold"; - - list tx-threshold { - key "tx-threshold-type"; - description - "Optics TX Low or high threshold configuration"; - leaf tx-threshold-type { - type Threshold; - description "Low or high tx threshold"; - } - leaf tx-threshold { - type int32 { - range "-400..300"; - } - mandatory true; - description "Select power level (in units of 0.1dBm)"; - } - } - } - leaf optics-transmit-power { - type int32 { - range "-190..20"; - } - description "Select power level (in units of 0.1dBm)"; - } - leaf optics-ots-channel-power-max-delta { - type int32 { - range "-500..300"; - } - description - "Configure max delta among all measured channel - powers "; - } - leaf optics-loopback { - type Optics-loopback; - default "none"; - description "Configure optics loopback mode "; - } - leaf optics-ots-osri { - type boolean; - description - "Configure Optical safety remote interlock - (OSRI)"; - } - leaf optics-ots-amplifier-gain-degrade-high-threshold { - type int32 { - range "0..500"; - } - description - "Select Amplifier Gain Degrade High Threshold(in - units of 0.1dBm)"; - } - leaf optics-ots-rx-voa-attenuation { - type int32 { - range "0..200"; - } - description - "Select RX Voa Attenuation Setpoint(in units of - 0.1dBm)"; - } - leaf optics-fec { - type Optics-fec; - default "fec-none"; - description "Configure optics fec "; - } - leaf optics-dgd-high-threshold { - type int32 { - range "0..18000"; - } - description "Select DGD high threshold(in units of 0.1ps)"; - } - leaf optics-ots-amplifier-channel-power { - type int32 { - range "-500..300"; - } - description - "Select Amplifier Channel Power(in units of 0 - .1dBm)"; - } - leaf optics-ots-amplifier-control-mode { - type Optics-ots-ampli-control-mode; - description "Configure amplifier working mode"; - } - leaf optics-ots-amplifier-gain { - type int32 { - range "0..500"; - } - description - "Select Amplifier Gain value(in units of 0.1dBm)"; - } - leaf optics-ots-amplifier-gain-range { - type Optics-ots-ampli-gain-range; - description "Normal or extended Ampli Gain Range"; - } - leaf optics-ots-safety-control-mode { - type Optics-ots-safety-control-mode; - description "Configure safety Control Mode"; - } - leaf optics-cd-min { - type int32 { - range "-280000..280000"; - } - description - "Select min chromatic dispersion (in units of - ps/nm)"; - } - leaf optics-ots-tx-voa-attenuation { - type int32 { - range "0..200"; - } - description - "Select TX Voa Attenuation Setpoint(in units of - 0.1dBm)"; - } - leaf optics-ots-amplifier-tilt { - type int32 { - range "-50..50"; - } - description - "Select Amplifier Tilt value(in units of 0.1dB)"; - } - leaf optics-transmit-shutdown { - type boolean; - description "Configure optics transmit laser shutdown "; - } - leaf optics-description { - type string { - length "1..255"; - } - description "Configure optics port description "; - } - leaf optics-performance-monitoring { - type boolean; - default "true"; - description - "Select Performance Monitoring as Enable or - Disable"; - } - leaf optics-cd-max { - type int32 { - range "-280000..280000"; - } - description - "Select max chromatic dispersion (in units of - ps/nm)"; - } - leaf optics-lbc-high-threshold { - type int32 { - range "0..100"; - } - description "Select power level (in units of percentage)"; - } - leaf optics-cd-high-threshold { - type int32 { - range "-280000..280000"; - } - description - "Select chromatic dispersion high threshold(in - units of ps/nm)"; - } - leaf optics-osnr-low-threshold { - type int32 { - range "0..4000"; - } - description "Select OSNR low threshold(in units of 0.01db)"; - } - leaf optics-ots-amplifier-gain-degrade-low-threshold { - type int32 { - range "0..500"; - } - description - "Select Amplifier Gain Degrade Low Threshold(in - units of 0.1dBm)"; - } - leaf optics-cd-low-threshold { - type int32 { - range "-280000..280000"; - } - description - "Select chromatic dispersion low threshold(in - units of ps/nm)"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper-sub1.yang deleted file mode 100644 index 8434a89..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper-sub1.yang +++ /dev/null @@ -1,2308 +0,0 @@ -submodule Cisco-IOS-XR-controller-optics-oper-sub1 { - - belongs-to Cisco-IOS-XR-controller-optics-oper { - prefix Cisco-IOS-XR-controller-optics-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR controller-optics package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ethernet-pmd { - type enumeration { - enum optics-eth-not-set { - value 0; - description "Not set"; - } - enum optics-eth-10gbase-lrm { - value 1; - description "10GBASE LRM"; - } - enum optics-eth-10gbase-lr { - value 2; - description "10GBASE LR"; - } - enum optics-eth-10gbase-zr { - value 3; - description "10GBASE ZR"; - } - enum optics-eth-10gbase-er { - value 4; - description "10GBASE ER"; - } - enum optics-eth-10gbase-sr { - value 5; - description "10GBASE SR"; - } - enum optics-eth-10gbase { - value 6; - description "10GBASE T"; - } - enum optics-eth-40gbase-cr4 { - value 7; - description "40GBASE CR4"; - } - enum optics-eth-40gbase-sr4 { - value 8; - description "40GBASE SR4"; - } - enum optics-eth-40gbase-lr4 { - value 9; - description "40GBASE LR4"; - } - enum optics-eth-40gbase-er4 { - value 10; - description "40GBASE ER4"; - } - enum optics-eth-40gbase-psm4 { - value 11; - description "40GBASE PSM4"; - } - enum optics-eth-40gbase-csr4 { - value 12; - description "40GBASE CSR4"; - } - enum optics-eth-40gbase-sr-bd { - value 13; - description "40GBASE SR BD"; - } - enum optics-eth-40g-aoc { - value 14; - description "40G AOC"; - } - enum optics-eth-4x10gbase-lr { - value 15; - description "4X10GBASE LR"; - } - enum optics-eth-4x10gbase-sr { - value 16; - description "4X10GBASE SR"; - } - enum optics-eth-100g-aoc { - value 17; - description "100G AOC"; - } - enum optics-eth-100g-acc { - value 18; - description "100G ACC"; - } - enum optics-eth-100gbase-sr10 { - value 19; - description "100GBASE SR10"; - } - enum optics-eth-100gbase-sr4 { - value 20; - description "100GBASE SR4"; - } - enum optics-eth-100gbase-lr4 { - value 21; - description "100GBASE LR4"; - } - enum optics-eth-100gbase-er4 { - value 22; - description "100GBASE ER4"; - } - enum optics-eth-100gbase-cwdm4 { - value 23; - description "100GBASE CWDM4"; - } - enum optics-eth-100gbase-clr4 { - value 24; - description "100GBASE CLR4"; - } - enum optics-eth-100gbase-psm4 { - value 25; - description "100GBASE PSM4"; - } - enum optics-eth-100gbase-cr4 { - value 26; - description "100GBASE CR4"; - } - enum optics-eth-100gbase-al { - value 27; - description "100GBASE AL"; - } - enum optics-eth-100gbase-pl { - value 28; - description "100GBASE PL"; - } - enum optics-eth-undefined { - value 29; - description "Eth Undefined"; - } - } - description "Ethernet Pmd Type"; - } - typedef Sonet-application-code { - type enumeration { - enum optics-sonet-not-set { - value 0; - description "Not Set"; - } - enum optics-vsr2000-3r2 { - value 1; - description "VSR2000 3R2"; - } - enum optics-vsr2000-3r3 { - value 2; - description "VSR2000 3R3"; - } - enum optics-vsr2000-3r5 { - value 3; - description "VSR2000 3R5"; - } - enum optics-sonet-undefined { - value 4; - description "Undefined"; - } - } - description "Sonet application code"; - } - typedef Otn-application-code { - type enumeration { - enum optics-not-set { - value 0; - description "Not Set"; - } - enum optics-p1l1-2d1 { - value 1; - description "P1L1 2D1"; - } - enum optics-p1s1-2d2 { - value 2; - description "P1S1 2D2"; - } - enum optics-p1l1-2d2 { - value 3; - description "P1L1 2D2"; - } - enum optics-undefined { - value 4; - description "Undefined"; - } - } - description "Otn application code"; - } - typedef Fiber-connector { - type enumeration { - enum optics-connect-or-not-set { - value 0; - description "Not Set"; - } - enum optics-sc-connect-or { - value 1; - description "SC"; - } - enum optics-lc-connect-or { - value 2; - description "LC"; - } - enum optics-mpo-connect-or { - value 3; - description "MPO"; - } - enum optics-undefined-connect-or { - value 4; - description "Undefined"; - } - } - description "Fiber connector"; - } - typedef Optics-amplifier-safety-control-mode { - type enumeration { - enum optics-amplifier-safety-mode-invalid { - value 0; - description "Invalid"; - } - enum optics-amplifier-safety-mode-auto { - value 1; - description "auto"; - } - enum optics-amplifier-safety-mode-disabled { - value 2; - description "disabled"; - } - } - description "Optics amplifier safety control mode"; - } - typedef Optics-amplifier-gain-range { - type enumeration { - enum optics-amplifier-gain-range-invalid { - value 0; - description "Invalid"; - } - enum optics-amplifier-gain-range-normal { - value 1; - description "Normal"; - } - enum optics-amplifier-gain-range-ext-end-ed { - value 2; - description "Extended"; - } - } - description "Optics amplifier gain range"; - } - typedef Optics-amplifier-control-mode { - type enumeration { - enum automatic { - value 1; - description "Automatic"; - } - enum manual { - value 2; - description "Manual"; - } - } - description "Optics amplifier control mode"; - } - typedef Optics-port-status { - type enumeration { - enum active { - value 0; - description "Active"; - } - enum standby { - value 1; - description "Standby"; - } - } - description "Optics port status"; - } - typedef Optics-port { - type enumeration { - enum com { - value 0; - description "Com"; - } - enum line { - value 1; - description "Line"; - } - enum osc { - value 2; - description "Osc"; - } - enum com-check { - value 3; - description "Com Check"; - } - enum work { - value 4; - description "Working"; - } - enum prot { - value 5; - description "Protected"; - } - } - description "Optics port"; - } - typedef Optics-fec { - type enumeration { - enum fec-none { - value 0; - description "FEC NONE"; - } - enum fec-hg15 { - value 1; - description "ENHANCED FEC H15"; - } - enum fec-hg25 { - value 2; - description "ENHANCED FEC H25"; - } - enum fec-hg15-de { - value 4; - description "FEC HG15 DE"; - } - enum fec-hg25-de { - value 8; - description "FEC HG25 DE"; - } - enum fec-enabled { - value 16; - description "FEC ENABLED"; - } - } - description "Optics fec"; - } - typedef Optics-phy { - type enumeration { - enum not-set { - value 0; - description "Not set"; - } - enum invalid { - value 1; - description "Invalid"; - } - enum long-reach-four-lanes { - value 2; - description "Long reach 4 lanes"; - } - enum short-reach-ten-lanes { - value 3; - description "Short reach 10 lanes"; - } - enum short-reach-one-lane { - value 4; - description "Short reach 1 lane"; - } - enum long-reach-one-lane { - value 5; - description "Long reach 1 lane"; - } - enum short-reach-four-lanes { - value 6; - description "Short reach 4 lanes"; - } - enum copper-four-lanes { - value 7; - description "Copper 4 lanes"; - } - enum active-optical-cable { - value 8; - description "Active optical cable"; - } - enum fourty-gig-e-long-reach-four-lanes { - value 9; - description "Long reach 4 lanes"; - } - enum fourty-gig-e-short-reach-four-lanes { - value 10; - description "Short reach 4 lanes"; - } - enum cwdm-four-lanes { - value 11; - description "CWDM 4 lanes"; - } - enum extended-reach-four-lanes { - value 12; - description "Extended reach 4 lanes"; - } - enum psm-four-lanes { - value 13; - description "PSM 4 lanes"; - } - enum active-copper-cable { - value 14; - description "Active copper cable"; - } - enum fourty-gig-e-extended-reach-four-lanes { - value 15; - description "Extended reach 4 lanes"; - } - enum four-x-ten-gig-e-short-reach-one-lane { - value 16; - description "Short reach 1 lane"; - } - enum fourty-gig-epsm-four-lanes { - value 17; - description "PSM 4 lanes"; - } - enum fourty-gig-e-copper-four-lanes { - value 18; - description "Copper 4 lanes"; - } - enum long-reach-mm-one-lane { - value 19; - description "Long reach MM 1 lane"; - } - enum copper-short-reach { - value 20; - description "Copper Short reach 4 lanes"; - } - enum short-reach-srbd { - value 21; - description "Short reach BD 4 lanes"; - } - enum copper-one-lane { - value 22; - description "Copper One Lane"; - } - enum four-x-ten-gig-e-long-reach-one-lane { - value 23; - description "Long reach 1 lane"; - } - enum fourty-gig-eaoc-four-lanes { - value 24; - description "Active optical cable"; - } - enum extended-one-lane { - value 25; - description "Extended One Lane"; - } - enum zr-one-lane { - value 26; - description "ZR One Lane"; - } - enum dwdm-one-lane { - value 27; - description "DWDM One Lane"; - } - enum sx-one-lane { - value 28; - description "SX One Lane"; - } - enum lx-one-lane { - value 29; - description "LX One Lane"; - } - enum ex-one-lane { - value 30; - description "EX One Lane"; - } - enum zx-one-lane { - value 31; - description "ZX One Lane"; - } - enum ba-set-one-lane { - value 32; - description "BASE_T One Lane"; - } - enum aoc-one-lane { - value 33; - description "Active Optical 1 Lane"; - } - enum active-copper-one-lane { - value 34; - description "Active Copper 1 Lane"; - } - enum fourty-gig-eacu-four-lanes { - value 35; - description "Active Copper 4 Lanes"; - } - enum four-x-ten-gig-eacu-one-lanes { - value 36; - description "Active Copper 1 Lane"; - } - enum four-x-ten-gig-ecu-one-lanes { - value 37; - description "Copper 1 Lanes"; - } - enum four-x-ten-gig-eaoc-one-lanes { - value 38; - description "Active Optics 1 Lane"; - } - enum twenty-five-gig-short-reach-one-lane { - value 39; - description "Short reach 1 lane"; - } - enum twenty-five-gig-long-reach-one-lane { - value 40; - description "Long reach 1 lane"; - } - enum twenty-five-gig-extended-reach-one-lane { - value 41; - description "Extended reach 1 lane"; - } - enum twenty-five-gig-copper-one-lane { - value 42; - description "Copper One Lane"; - } - enum twenty-five-gig-active-optical-one-lane { - value 43; - description "Active Optical One Lane"; - } - enum hundred-gig-edwdm-two { - value 44; - description "100GE DWDM Optics"; - } - enum fourty-gig-plr4-four-lanes { - value 45; - description "PLR4 Optics"; - } - enum fourty-gig-esr4-four-lanes { - value 46; - description "ESR4 Optics"; - } - enum smsr-four-lanes { - value 47; - description "SMSR Optics"; - } - enum cazadero-rqsa { - value 48; - description "Cazadero R"; - } - enum trunk-port-cfp2 { - value 49; - description "CFP2 DWDM Optics"; - } - enum short-reach1-lane { - value 50; - description "Short reach 1 lane"; - } - enum inmd-reach1lane { - value 51; - description "Inmd reach 1 lane"; - } - enum long-reach1-lane { - value 52; - description "Long reach 1 lane"; - } - enum twenty-five-gig-ecu-one-lanes { - value 53; - description "Copper 1 Lanes"; - } - enum hundred-gig-e { - value 54; - description "ExtentedReach4Lane"; - } - enum ten-gig-bx { - value 55; - description "10G BX optics"; - } - enum one-geige { - value 56; - description "1G BX optics"; - } - } - description "Optics phy type"; - } - typedef Optics-form-factor { - type enumeration { - enum not-set { - value 0; - description "Not set"; - } - enum invalid { - value 1; - description "Invalid"; - } - enum cpak { - value 2; - description "CPAK"; - } - enum cxp { - value 3; - description "CXP"; - } - enum sfp-plus { - value 4; - description "SFP+"; - } - enum qsfp { - value 5; - description "QSFP"; - } - enum qsfp-plus { - value 6; - description "QSFP+"; - } - enum qsfp28 { - value 7; - description "QSFP28"; - } - enum sfp { - value 8; - description "SFP"; - } - enum cfp { - value 9; - description "CFP"; - } - enum cfp2 { - value 10; - description "CFP2"; - } - enum cfp4 { - value 11; - description "CFP4"; - } - enum xfp { - value 12; - description "XFP"; - } - enum x2 { - value 13; - description "X2"; - } - enum non-pluggable { - value 14; - description "Non pluggable"; - } - enum other { - value 15; - description "Other"; - } - } - description "Optics form factor"; - } - typedef Optics-controller-state { - type enumeration { - enum optics-state-up { - value 0; - description "Up"; - } - enum optics-state-down { - value 1; - description "Down"; - } - enum optics-state-admin-down { - value 2; - description "Administratively Down"; - } - } - description "Optics controller state"; - } - typedef Optics-led-state { - type enumeration { - enum off { - value 0; - description "Off"; - } - enum green-on { - value 1; - description "Green"; - } - enum green-flashing { - value 2; - description "Green Flashing"; - } - enum yellow-on { - value 3; - description "Yellow"; - } - enum yellow-flashing { - value 4; - description "Yellow Flashing"; - } - enum red-on { - value 5; - description "Red"; - } - enum red-flashing { - value 6; - description "Red Flashing"; - } - } - description "Optics led state"; - } - typedef Optics-laser-state { - type enumeration { - enum on { - value 0; - description "On"; - } - enum off { - value 1; - description "Off"; - } - enum unknown { - value 2; - description "Unknown"; - } - enum apr { - value 3; - description "Apr"; - } - } - description "Optics laser state"; - } - typedef Optics { - type enumeration { - enum optics-unknown { - value 0; - description "Unknow Optics Type"; - } - enum optics-grey { - value 1; - description "Grey Optics"; - } - enum optics-dwdm { - value 2; - description "DWDM Optics"; - } - enum optics-cwdm { - value 3; - description "CWDM Optics"; - } - } - description "Optics"; - } - typedef Optics-tas { - type enumeration { - enum tas-ui-oos { - value 0; - description "Out Of Service"; - } - enum tas-ui-main { - value 1; - description "Maintenance"; - } - enum tas-ui-is { - value 2; - description "In Service"; - } - enum tas-ui-ains { - value 3; - description "Automatic In Service"; - } - } - description "Optics tas"; - } - typedef Optics-wave-band { - type enumeration { - enum c-band { - value 0; - description "C BAND"; - } - enum l-band { - value 1; - description "L BAND"; - } - enum c-band-odd { - value 2; - description "C ODD"; - } - enum c-band-even { - value 3; - description "C EVEN"; - } - enum invalid-band { - value 4; - description "Invalid"; - } - } - description "Optics wave band"; - } - - grouping OPTICS-DB-INFO { - description " Optics DB Info"; - - container network-srlg-info { - description "Network SRLG information"; - uses OPTICS-EDM-NETWORK-SRLG-INFO; - } - leaf transport-admin-state { - type Optics-tas; - description "Transport Admin State"; - } - leaf controller-state { - type Optics-controller-state; - description - "Optics controller state: Up, Down or - Administratively Down"; - } - } - - grouping OTS-EDM-SPECTRUM-POWER-INFO { - description "OTS EDM SPECTRUM POWER INFO"; - leaf slice-num { - type uint32; - description "spectrum slice number"; - } - leaf lower-frequency { - type uint64; - description "Lower frequency of the specified PSD"; - } - leaf upper-frequency { - type uint64; - description "Upper frequency of the specified PSD"; - } - leaf rx-power { - type string { - length "0..32"; - } - description "Received Power in dBm"; - } - leaf tx-power { - type string { - length "0..32"; - } - description "Transmit Power in dBm"; - } - leaf rx-psd { - type string { - length "0..32"; - } - description - "Received Power spectral density in microwatts - per megahertz, uW/MHz"; - } - leaf tx-psd { - type string { - length "0..32"; - } - description - "Transmit Power spectral density in microwatts - per megahertz, uW/MHz"; - } - } - - grouping OTS-EDM-SPECTRUM-INFO { - description "power information of slices in optical spectrum"; - leaf total-spectrum-slice-count { - type uint32; - description "Total number of slices in Spectrum"; - } - leaf spectrum-slice-spacing { - type uint32; - description "Spacing between spectrum slices"; - } - leaf first-slice-wavelength { - type string { - length "0..32"; - } - description "Wavelength of first slice"; - } - - list spectrum-slice-power-info { - description "Power information of spectrum slice info"; - uses OTS-EDM-SPECTRUM-POWER-INFO; - } - } - - grouping OPTICS-EXT-THRESHOLD-PARAM { - description - "extended monitored parameter threshold - information"; - leaf snr-alarm-high-threshold { - type int32; - description "High threshold alarm for SNR"; - } - leaf snr-alarm-low-threshold { - type int32; - description "Low threshold alarm for SNR"; - } - leaf snr-warn-high-threshold { - type int32; - description "High threshold warning for SNR"; - } - leaf snr-warn-low-threshold { - type int32; - description "Low threshold warning for SNR"; - } - leaf isi-correction-alarm-high-threshold { - type int32; - description "High threshold alarm for ISI Correction"; - } - leaf isi-correction-alarm-low-threshold { - type int32; - description "Low threshold alarm for ISI Correction"; - } - leaf isi-correction-warn-high-threshold { - type int32; - description "High threshold warning for ISI Correction"; - } - leaf isi-correction-warn-low-threshold { - type int32; - description "Low threshold warning for ISI Correction"; - } - leaf pam-rate-alarm-high-threshold { - type int32; - description "High threshold alarm for PAM Rate"; - } - leaf pam-rate-alarm-low-threshold { - type int32; - description "Low threshold alarm for PAM Rate"; - } - leaf pam-rate-warn-high-threshold { - type int32; - description "High threshold warning for PAM Rate"; - } - leaf pam-rate-warn-low-threshold { - type int32; - description "Low threshold warning for PAM Rate"; - } - leaf pre-fec-ber-alarm-high-threshold { - type int64; - description "High threshold alarm for Pre FEC BER"; - } - leaf pre-fec-ber-alarm-low-threshold { - type int64; - description "Low threshold alarm for Pre FEC BER"; - } - leaf pre-fec-ber-warn-high-threshold { - type int64; - description "High threshold warning for Pre FEC BER"; - } - leaf pre-fec-ber-warn-low-threshold { - type int64; - description "Low threshold warning for Pre FEC BER"; - } - leaf uncorrected-ber-alarm-high-threshold { - type int64; - description "High threshold alarm for Uncorrected BER"; - } - leaf uncorrected-ber-alarm-low-threshold { - type int64; - description "Low threshold alarm for Uncorrected BER"; - } - leaf uncorrected-ber-warn-high-threshold { - type int64; - description "High threshold warning for Uncorrected BER"; - } - leaf uncorrected-ber-warn-low-threshold { - type int64; - description "Low threshold warning for Uncorrected BER"; - } - leaf tec-current-alarm-high-threshold { - type int32; - description "High threshold alarm for TEC Current"; - } - leaf tec-current-alarm-low-threshold { - type int32; - description "Low threshold alarm for TEC Current"; - } - leaf tec-current-warn-high-threshold { - type int32; - description "High threshold warning for TEC Current"; - } - leaf tec-current-warn-low-threshold { - type int32; - description "Low threshold warning for TEC Current"; - } - leaf laser-diff-frequency-alarm-high-threshold { - type int32; - description - "High Threshold Alarm for Differential Laser - Frequency"; - } - leaf laser-diff-frequency-alarm-low-threshold { - type int32; - description - "Low Threshold Alarm for Differential Laser - Frequency"; - } - leaf laser-diff-frequency-warn-high-threshold { - type int32; - description - "High Threshold Warning for Differential Laser - Frequency"; - } - leaf laser-diff-frequency-warn-low-threshold { - type int32; - description - "Low Threshold Warning for Differential Laser - Frequency"; - } - leaf laser-diff-temperature-alarm-high-threshold { - type int32; - description - "High Threshold Alarm for Differential Laser - Temperature"; - } - leaf laser-diff-temperature-alarm-low-threshold { - type int32; - description - "Low Threshold Alarm for Differential Laser - Temperature"; - } - leaf laser-diff-temperature-warn-high-threshold { - type int32; - description - "High Threshold Warning for Differential Laser - Temperature"; - } - leaf laser-diff-temperature-warn-low-threshold { - type int32; - description - "Low Threshold Warning for Differential Laser - Temperature"; - } - leaf pre-fec-ber-latched-min-alarm-high-threshold { - type int64; - description - "High threshold alarm for Latched Min Pre FEC BER"; - } - leaf pre-fec-ber-latched-min-alarm-low-threshold { - type int64; - description "Low threshold alarm for Latched Min Pre FEC BER"; - } - leaf pre-fec-ber-latched-min-warn-high-threshold { - type int64; - description - "High threshold warning for Latched Min Pre FEC - BER"; - } - leaf pre-fec-ber-latched-min-warn-low-threshold { - type int64; - description - "Low threshold warning for Latched Min Pre FEC - BER"; - } - leaf pre-fec-ber-latched-max-alarm-high-threshold { - type int64; - description - "High threshold alarm for Latched Max Pre FEC BER"; - } - leaf pre-fec-ber-latched-max-alarm-low-threshold { - type int64; - description "Low threshold alarm for Latched Max Pre FEC BER"; - } - leaf pre-fec-ber-latched-max-warn-high-threshold { - type int64; - description - "High threshold warning for Latched Max Pre FEC - BER"; - } - leaf pre-fec-ber-latched-max-warn-low-threshold { - type int64; - description - "Low threshold warning for Latched Max Pre FEC - BER"; - } - leaf pre-fec-ber-accumulated-alarm-high-threshold { - type int64; - description - "High threshold alarm for Accumulated Pre FEC BER"; - } - leaf pre-fec-ber-accumulated-alarm-low-threshold { - type int64; - description "Low threshold alarm for Accumulated Pre FEC BER"; - } - leaf pre-fec-ber-accumulated-warn-high-threshold { - type int64; - description - "High threshold warning for Accumulated Pre FEC - BER"; - } - leaf pre-fec-ber-accumulated-warn-low-threshold { - type int64; - description - "Low threshold warning for Accumulated Pre FEC - BER"; - } - leaf pre-fec-ber-instantaneous-alarm-high-threshold { - type int64; - description - "High threshold alarm for Instantaneous Pre FEC - BER"; - } - leaf pre-fec-ber-instantaneous-alarm-low-threshold { - type int64; - description - "Low threshold alarm for Instantaneous Pre FEC - BER"; - } - leaf pre-fec-ber-instantaneous-warn-high-threshold { - type int64; - description - "High threshold warning for Instantaneous Pre FEC - BER"; - } - leaf pre-fec-ber-instantaneous-warn-low-threshold { - type int64; - description - "Low threshold warning for Instantaneous Pre FEC - BER"; - } - leaf uncorrected-ber-latched-min-alarm-high-threshold { - type int64; - description - "High threshold alarm for Latched Min - Uncorrected BER"; - } - leaf uncorrected-ber-latched-min-alarm-low-threshold { - type int64; - description - "Low threshold alarm for Latched Min Uncorrected - BER"; - } - leaf uncorrected-ber-latched-min-warn-high-threshold { - type int64; - description - "High threshold warning for Latched Min - Uncorrected BER"; - } - leaf uncorrected-ber-latched-min-warn-low-threshold { - type int64; - description - "Low threshold alarm for Latched Min Uncorrected - BER"; - } - leaf uncorrected-ber-latched-max-alarm-high-threshold { - type int64; - description - "High threshold alarm for Latched_Max Uncorrected - BER"; - } - leaf uncorrected-ber-latched-max-alarm-low-threshold { - type int64; - description - "Low threshold alarm for Latched_Max Uncorrected - BER"; - } - leaf uncorrected-ber-latched-max-warn-high-threshold { - type int64; - description - "High threshold warning Latched_Max for - Uncorrected BER"; - } - leaf uncorrected-ber-latched-max-warn-low-threshold { - type int64; - description - "Low threshold warning Latched_Max for - Uncorrected BER"; - } - leaf uncorrected-ber-accumulated-alarm-high-threshold { - type int64; - description - "High threshold alarm for Accumulated Uncorrected - BER"; - } - leaf uncorrected-ber-accumulated-alarm-low-threshold { - type int64; - description - "Low threshold alarm for Accumulated Uncorrected - BER"; - } - leaf uncorrected-ber-accumulated-warn-high-threshold { - type int64; - description - "High threshold warning for Accumulated - Uncorrected BER"; - } - leaf uncorrected-ber-accumulated-warn-low-threshold { - type int64; - description - "Low threshold warning for Accumulated - Uncorrected BER"; - } - leaf uncorrected-ber-instantaneous-alarm-high-threshold { - type int64; - description - "High threshold alarm for Instantaneous - Uncorrected BER"; - } - leaf uncorrected-ber-instantaneous-alarm-low-threshold { - type int64; - description - "Low threshold alarm for Instantaneous - Uncorrected BER"; - } - leaf uncorrected-ber-instantaneous-warn-high-threshold { - type int64; - description - "High threshold warning for Instantaneous - Uncorrected BER"; - } - leaf uncorrected-ber-instantaneous-warn-low-threshold { - type int64; - description - "Low threshold warning for Instantaneous - Uncorrected BER"; - } - } - - grouping OPTICS-EXT-PARAM { - description "extended monitored parameter information"; - leaf snr-lane1 { - type int32; - description "Signal to Noise Ratio on Lane 1"; - } - leaf snr-lane2 { - type int32; - description "Signal to Noise Ratio on Lane 2"; - } - leaf isi-correction-lane1 { - type int32; - description "Inter symbol Interference correction on Lane 1"; - } - leaf isi-correction-lane2 { - type int32; - description "Inter symbol Interference correction on Lane 2"; - } - leaf pam-rate-lane1 { - type int32; - description "PAM Histogram parameter on Lane 1"; - } - leaf pam-rate-lane2 { - type int32; - description "PAM Histogram parameter on Lane 2"; - } - leaf pre-fec-ber { - type int64; - description "Pre FEC BER since last counter reset"; - } - leaf uncorrected-ber { - type int64; - description "Uncorrected BER since last counter reset"; - } - leaf tec-current-lane1 { - type int32; - description - "Current flowing to the TEC of a cooled laser on - Lane 1"; - } - leaf tec-current-lane2 { - type int32; - description - "Current flowing to the TEC of a cooled laser on - Lane 2"; - } - leaf laser-diff-frequency-lane1 { - type int32; - description - "Difference between target and actual center - frequency on Lane 1"; - } - leaf laser-diff-frequency-lane2 { - type int32; - description - "Difference between target and actual center - frequency on Lane 2"; - } - leaf laser-diff-temperature-lane1 { - type int32; - description - "Difference between target and actual temperature - on Lane 1"; - } - leaf laser-diff-temperature-lane2 { - type int32; - description - "Difference between target and actual temperature - on Lane 2"; - } - leaf pre-fec-ber-latched-min { - type int64; - description - "Latched minimum Pre FEC BER value since last - read, line ingress"; - } - leaf pre-fec-ber-latched-max { - type int64; - description - "Latched maximum Pre FEC BER value since last - read, line ingress"; - } - leaf pre-fec-ber-accumulated { - type int64; - description - "Pre FEC BER value prior accumulation period, - line ingress"; - } - leaf pre-fec-ber-instantaneous { - type int64; - description "Pre FEC BER value instantaneous line ingress"; - } - leaf uncorrected-ber-latched-min { - type int64; - description - "Latched minimum Uncorrected BER value since last - read, line ingress"; - } - leaf uncorrected-ber-latched-max { - type int64; - description - "Latched maximum Uncorrected BER value since last - read, line ingress"; - } - leaf uncorrected-ber-accumulated { - type int64; - description - "Uncorrected BER value prior accumulation period, - line ingress"; - } - leaf uncorrected-ber-instantaneous { - type int64; - description - "Uncorrected BER value instantaneous line line - ingress"; - } - } - - grouping OPTICS-TRANSCEIVER-DATA { - description "Optics Transceiver Details"; - leaf vendor-info { - type string; - description "Vendor Information"; - } - leaf adapter-vendor-info { - type string; - description "Adapter Vendor Information"; - } - leaf date { - type string; - description "Date in Transceiver"; - } - leaf optics-vendor-rev { - type string; - description "Transceiver vendors revision number"; - } - leaf optics-serial-no { - type string; - description "Transceiver serial number"; - } - leaf optics-vendor-part { - type string; - description "Transceiver vendors part number"; - } - leaf optics-type { - type string; - description "Transceiver optics type"; - } - leaf vendor-name { - type string; - description "Transceiver optics vendor name"; - } - leaf oui-no { - type string; - description "Transceiver optics type"; - } - leaf optics-pid { - type string; - description "Transceiver optics pid"; - } - leaf optics-vid { - type string; - description "Transceiver optics vid"; - } - leaf connector-type { - type Fiber-connector; - description "Connector type"; - } - leaf otn-application-code { - type Otn-application-code; - description "Otn Application Code"; - } - leaf sonet-application-code { - type Sonet-application-code; - description "Sonet Application Code"; - } - leaf ethernet-compliance-code { - type Ethernet-pmd; - description "Ethernet Compliance Code"; - } - leaf internal-temperature { - type int32; - description "Internal Temperature in C"; - } - } - - grouping OTS-EDM-ALARM-INFO { - description "Ots Alarm Information"; - - container low-tx-power { - description "Low Tx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx-power { - description "Low Rx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container rx-los-p { - description "Rx LOS_P"; - uses OPTICS-ALARM-DETAIL; - } - - container rx-loc { - description "Rx LOC"; - uses OPTICS-ALARM-DETAIL; - } - - container amp-gain-deg-low { - description "Ampli Gain Deg Low"; - uses OPTICS-ALARM-DETAIL; - } - - container amp-gain-deg-high { - description "Ampli Gain Deg High"; - uses OPTICS-ALARM-DETAIL; - } - - container auto-laser-shut { - description "Auto Laser Shut"; - uses OPTICS-ALARM-DETAIL; - } - - container auto-power-red { - description "Auto Power Red"; - uses OPTICS-ALARM-DETAIL; - } - - container auto-ampli-ctrl-disabled { - description "Auto Ampli Ctrl Disabled"; - uses OPTICS-ALARM-DETAIL; - } - - container auto-ampli-ctrl-config-mismatch { - description "Auto Ampli Ctrl Config Mismatch"; - uses OPTICS-ALARM-DETAIL; - } - - container switch-to-protect { - description "Switch To Protect"; - uses OPTICS-ALARM-DETAIL; - } - - container auto-ampli-ctrl-running { - description "Auto Ampli Ctrl Running"; - uses OPTICS-ALARM-DETAIL; - } - } - - grouping OPTICS-ALARM-DETAIL { - description " Optics Alarm Detail"; - leaf is-detected { - type boolean; - description "Is defect detected?"; - } - leaf counter { - type uint32; - description "Alarm counter"; - } - } - - grouping OPTICS-EDM-ALARM-INFO { - description "Optics Alarm Information"; - - container high-rx-power { - description "High Rx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx-power { - description "Low Rx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx-power { - description "High Tx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx-power { - description "Low Tx Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-lbc { - description "High laser bias current in units of percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container high-rx1-power { - description "High Rx1 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-rx2-power { - description "High Rx2 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-rx3-power { - description "High Rx3 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-rx4-power { - description "High Rx4 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx1-power { - description "Low Rx1 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx2-power { - description "Low Rx2 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx3-power { - description "Low Rx3 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-rx4-power { - description "Low Rx4 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx1-power { - description "High Tx1 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx2-power { - description "High Tx2 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx3-power { - description "High Tx3 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx4-power { - description "High Tx4 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx1-power { - description "Low Tx1 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx2-power { - description "Low Tx2 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx3-power { - description "Low Tx3 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx4-power { - description "Low Tx4 Power in uints of 0.1 dBm"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx1lbc { - description - "High Tx1 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx2lbc { - description - "High Tx2 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx3lbc { - description - "High Tx3 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container high-tx4lbc { - description - "High Tx4 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx1lbc { - description - "Low Tx1 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx2lbc { - description - "Low Tx2 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx3lbc { - description - "Low Tx3 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container low-tx4lbc { - description - "Low Tx4 laser bias current in units of - percentage"; - uses OPTICS-ALARM-DETAIL; - } - - container rx-los { - description "RX LOS"; - uses OPTICS-ALARM-DETAIL; - } - - container tx-los { - description "TX LOS"; - uses OPTICS-ALARM-DETAIL; - } - - container rx-lol { - description "RX LOL"; - uses OPTICS-ALARM-DETAIL; - } - - container tx-lol { - description "TX LOL"; - uses OPTICS-ALARM-DETAIL; - } - - container tx-fault { - description "TX Fault"; - uses OPTICS-ALARM-DETAIL; - } - - container hidgd { - description "HI DGD"; - uses OPTICS-ALARM-DETAIL; - } - - container oorcd { - description "OOR CD"; - uses OPTICS-ALARM-DETAIL; - } - - container osnr { - description "OSNR"; - uses OPTICS-ALARM-DETAIL; - } - - container wvlool { - description "WVL OOL"; - uses OPTICS-ALARM-DETAIL; - } - - container mea { - description "MEA"; - uses OPTICS-ALARM-DETAIL; - } - - container imp-removal { - description "IMPROPER REM"; - uses OPTICS-ALARM-DETAIL; - } - - container rx-loc { - description "Rx LOC"; - uses OPTICS-ALARM-DETAIL; - } - - container amp-gain-deg-low { - description "Ampli Gain Deg Low"; - uses OPTICS-ALARM-DETAIL; - } - - container amp-gain-deg-high { - description "Ampli Gain Deg High"; - uses OPTICS-ALARM-DETAIL; - } - - container txpwr-mismatch { - description "TX POWER PROV MISMATCH"; - uses OPTICS-ALARM-DETAIL; - } - } - - grouping LANE-ALARM-DETAIL { - description " Lane Alarm Detail"; - leaf is-detected { - type boolean; - description "Is defect detected?"; - } - leaf counter { - type uint32; - description "Alarm counter"; - } - } - - grouping LANE-EDM-ALARM-INFO { - description " Lane Information Detail"; - - container high-rx-power { - description "High Rx Power"; - uses LANE-ALARM-DETAIL; - } - - container low-rx-power { - description "Low Rx Power"; - uses LANE-ALARM-DETAIL; - } - - container high-tx-power { - description "High Tx Power"; - uses LANE-ALARM-DETAIL; - } - - container low-tx-power { - description "Low Tx Power"; - uses LANE-ALARM-DETAIL; - } - - container high-lbc { - description "High laser bias current"; - uses LANE-ALARM-DETAIL; - } - } - - grouping OPTICS-EDM-LANE-DATA { - description "Grey lane data"; - - container lane-alarm-info { - description "Lane Alarm Information"; - uses LANE-EDM-ALARM-INFO; - } - leaf lane-index { - type uint32; - description "The index number of the lane"; - } - leaf laser-bias-current-percent { - type uint32; - units "percentage"; - description "Laser Bias Current in units of 0.01 percentage"; - } - leaf laser-bias-current-milli-amps { - type uint32; - description "Laser Bias Current in units of 0.01mA"; - } - leaf transmit-power { - type int32; - description "Transmit power in the unit of 0.01dBm"; - } - leaf receive-power { - type int32; - description - "Transponder receive power in the unit of 0.01dBm"; - } - leaf receive-signal-power { - type int32; - description - "Transponder receive signal power in the unit of - 0.01dBm"; - } - leaf transmit-signal-power { - type int32; - description "Transmit Signal power in the unit of 0.01dBm"; - } - leaf output-frequency { - type int32; - description - "Output frequency read from hw in the unit 100MHz"; - } - leaf frequency-offset { - type int32; - description "Frequency Offset read from hw in unit of MHz"; - } - } - - grouping OPTICS-EDM-NETWORK-SRLG-STRUCTURE { - description "Network SRLG Information"; - leaf set-number { - type uint32; - description "Array to maintain set number"; - } - leaf-list network-srlg { - type uint32; - description "Network Srlg"; - } - } - - grouping OPTICS-EDM-NETWORK-SRLG-INFO { - description "Network SRLG Information Array"; - - list network-srlg-array { - description "Network Srlg Array"; - uses OPTICS-EDM-NETWORK-SRLG-STRUCTURE; - } - } - - grouping OPTICS-EDM-INFO { - description "optics transponder information"; - - container network-srlg-info { - description "Network SRLG information"; - uses OPTICS-EDM-NETWORK-SRLG-INFO; - } - - container optics-alarm-info { - description "Optics Alarm Information"; - uses OPTICS-EDM-ALARM-INFO; - } - - container ots-alarm-info { - description "Ots Alarm Information"; - uses OTS-EDM-ALARM-INFO; - } - - container transceiver-info { - description "Transceiver Vendor Details"; - uses OPTICS-TRANSCEIVER-DATA; - } - - container ext-param-val { - description "Extended optics parameters"; - uses OPTICS-EXT-PARAM; - } - - container ext-param-threshold-val { - description "Extended optics parameters threshold values"; - uses OPTICS-EXT-THRESHOLD-PARAM; - } - - container spectrum-info { - description "OTS Spectrum information"; - uses OTS-EDM-SPECTRUM-INFO; - } - leaf transport-admin-state { - type Optics-tas; - description "Transport Admin State"; - } - leaf optics-present { - type boolean; - description "Is Optics Present?"; - } - leaf optics-type { - type Optics; - description "Old Optics type name, Use Derived Optics type"; - } - leaf derived-optics-type { - type string; - description "Derived Optics type name"; - } - leaf optics-module { - type string; - description "Optics module name"; - } - leaf dwdm-carrier-band { - type Optics-wave-band; - description "DWDM Carrier Band information"; - } - leaf dwdm-carrier-channel { - type string; - description "Current ITU DWDM Carrier channel number"; - } - leaf dwdm-carrier-frequency { - type string; - description - "DWDM Carrier frequency read from hw in the unit - 1THz"; - } - leaf dwdm-carrier-wavelength { - type string; - description "Wavelength of color optics 0.001nm"; - } - leaf grey-wavelength { - type uint32; - description "Wavelength of grey optics 0.01nm"; - } - leaf rx-low-threshold { - type int32; - description "Rx Low threshold value in units of 0.1dBm"; - } - leaf rx-high-threshold { - type int32; - description "Rx High threshold value in units of 0.1dBm"; - } - leaf lbc-high-threshold { - type int32; - units "percentage"; - description "LBC High threshold value in units of percentage"; - } - leaf tx-low-threshold { - type int32; - description "Tx Low threshold value in units of 0.1dBm"; - } - leaf tx-high-threshold { - type int32; - description "Tx High threshold value in units of 0.1dBm"; - } - leaf lbc-th-high-default { - type int32; - description - "LBC high threshold default value in unit of 0 - .001mA"; - } - leaf lbc-th-low-default { - type int32; - description - "LBC low threshold default value in units of 0 - .001mA"; - } - leaf temp-low-threshold { - type int32; - description "Temp Low threshold value in the units 0.01 C"; - } - leaf temp-high-threshold { - type int32; - description - "Temp High threshold value in the units of 0.01 C"; - } - leaf volt-low-threshold { - type int32; - description "Volt Low threshold value"; - } - leaf volt-high-threshold { - type int32; - description "Volt High threshold value"; - } - leaf cd { - type int32; - description "Chromatic Dispersion ps/nm"; - } - leaf cd-min { - type int32; - description "Chromatic Dispersion Min ps/nm"; - } - leaf cd-max { - type int32; - description "Chromatic Dispersion Max ps/nm"; - } - leaf cd-low-threshold { - type int32; - description "Chromatic Dispersion low threshold ps/nm"; - } - leaf cd-high-threshold { - type int32; - description "Chromatic Dispersion high threshold ps/nm"; - } - leaf osnr-low-threshold { - type string; - description "OSNR low threshold in 0.01 dB"; - } - leaf dgd-high-threshold { - type string; - description "DGD high threshold in 0.1 ps"; - } - leaf polarization-mode-dispersion { - type string; - description "Polarization Mode Dispersion 0.1ps"; - } - leaf second-order-polarization-mode-dispersion { - type string; - description - "Second Order Polarization Mode Dispersion 0 - .1ps^2"; - } - leaf optical-signal-to-noise-ratio { - type string; - description "Optical Signal to Noise Ratio dB"; - } - leaf polarization-dependent-loss { - type string; - description "Polarization Dependent Loss dB"; - } - leaf polarization-change-rate { - type string; - description "Polarization Change Rate rad/s"; - } - leaf differential-group-delay { - type string; - description "Differential Group Delay ps"; - } - leaf phase-noise { - type string; - description "Phase Noise dB"; - } - leaf pm-enable { - type uint32; - description "PmEable or Disable"; - } - leaf laser-state { - type Optics-laser-state; - description "Showing laser state.Either ON or OFF or unknown"; - } - leaf led-state { - type Optics-led-state; - description "Showing Current Colour of led state"; - } - leaf controller-state { - type Optics-controller-state; - description - "Optics controller state: Up, Down or - Administratively Down"; - } - leaf form-factor { - type Optics-form-factor; - description "Optics form factor"; - } - leaf phy-type { - type Optics-phy; - description "Optics physical type"; - } - leaf cfg-tx-power { - type int32; - description "Configured Tx power value in 0.1 dB"; - } - leaf cfg-tx-power-configurable { - type boolean; - description "TX Power Configuration is supported or not"; - } - leaf temperature { - type int32; - description "Temperature value"; - } - leaf voltage { - type int32; - description "Voltage value"; - } - leaf display-volt-temp { - type boolean; - description "Display Volt/Temp ?"; - } - leaf cd-configurable { - type boolean; - description "CD Configurable is supported or not"; - } - leaf optics-fec { - type Optics-fec; - description "Optics FEC"; - } - leaf port-type { - type Optics-port; - description "Showing port type"; - } - leaf port-status { - type Optics-port-status; - description "Showing port status"; - } - leaf rx-voa-attenuation { - type int32; - description "Rx Voa Attenuation in the unit of 0.01dBm"; - } - leaf tx-voa-attenuation { - type int32; - description "Tx Voa Attenuation in the unit of 0.01dBm"; - } - leaf ampli-gain { - type int32; - description "Ampli Gain in the unit of 0.01dBm"; - } - leaf ampli-tilt { - type int32; - description "Ampli Tilt in the unit of 0.01dBm"; - } - leaf rx-power-th-configurable { - type boolean; - description "rx power th configurable"; - } - leaf tx-power-th-configurable { - type boolean; - description "tx power th configurable"; - } - leaf rx-voa-attenuation-config-val { - type int32; - description "rx voa attenuation config val"; - } - leaf tx-voa-attenuation-config-val { - type int32; - description "tx voa attenuation config val"; - } - leaf ampli-control-mode-config-val { - type Optics-amplifier-control-mode; - description "ampli control mode config val"; - } - leaf ampli-gain-range-config-val { - type Optics-amplifier-gain-range; - description "ampli gain range config val"; - } - leaf ampli-gain-config-val { - type int32; - description "ampli gain config val"; - } - leaf ampli-tilt-config-val { - type int32; - description "ampli tilt config val"; - } - leaf ampli-channel-power-config-val { - type int32; - description "ampli channel power config val"; - } - leaf channel-power-max-delta-config-val { - type int32; - description "channel power max delta config val"; - } - leaf ampli-gain-thr-deg-low-config-val { - type int32; - description "ampli gain thr deg low config val"; - } - leaf ampli-gain-thr-deg-high-config-val { - type int32; - description "ampli gain thr deg high config val"; - } - leaf osri-config-val { - type boolean; - description "osri config val"; - } - leaf safety-control-mode-config-val { - type Optics-amplifier-safety-control-mode; - description "safety control mode config val"; - } - leaf total-rx-power { - type int32; - description - "Total Receive Power for Multi-Lane Optics in dBm"; - } - leaf total-tx-power { - type int32; - description - "Total Transmit Power for Multi-Lane Optics in - dBm"; - } - leaf is-bo-configured { - type boolean; - description "Is BO configured ?"; - } - leaf is-ext-param-valid { - type boolean; - description "Are the Extended Parameters Valid ?"; - } - leaf alarm-detected { - type boolean; - description "Are there any alarms ?"; - } - leaf rx-low-warning-threshold { - type int32; - description - "Rx Low Warning threshold value in units of 0 - .1dBm"; - } - leaf rx-high-warning-threshold { - type int32; - description - "Rx High Warning threshold value in units of 0 - .1dBm"; - } - leaf tx-low-warning-threshold { - type int32; - description - "Tx Low Warning threshold value in units of 0 - .1dBm"; - } - leaf tx-high-warning-threshold { - type int32; - description - "Tx High Warning threshold value in units of 0 - .1dBm"; - } - leaf lbc-th-high-warning-default { - type int32; - description - "LBC high Warning threshold default value in unit - of 0.001mA"; - } - leaf lbc-th-low-warning-default { - type int32; - description - "LBC low warning threshold default value in units - of 0.001mA"; - } - leaf temp-low-warning-threshold { - type int32; - description - "Temp Low warning threshold value in the units 0 - .01 C"; - } - leaf temp-high-warning-threshold { - type int32; - description - "Temp High warning threshold value in the units - of 0.01 C"; - } - leaf volt-low-warning-threshold { - type int32; - description "Volt Low warning threshold value"; - } - leaf volt-high-warning-threshold { - type int32; - description "Volt High warning threshold value"; - } - leaf ampli-gain-range { - type Optics-amplifier-gain-range; - description "Ampli gain range"; - } - leaf safety-control-mode { - type Optics-amplifier-safety-control-mode; - description "Safety control mode"; - } - leaf osri { - type boolean; - description "OSRI"; - } - leaf description { - type string; - description "Controller description string"; - } - leaf is-optics-type-string-valid { - type boolean; - description "Is the Optics type string valid ?"; - } - leaf optics-type-str { - type string; - description "optics type String"; - } - - list lane-data { - description "Lane information"; - uses OPTICS-EDM-LANE-DATA; - } - } - - grouping OPTICS-EDM-CHANNEL-WAVELENGTH-MAP-INFO { - description "OPTICS EDM CHANNEL WAVELENGTH MAP INFO"; - leaf itu-chan-num { - type uint32; - description "ITU channel number"; - } - leaf g694-chan-num { - type int32; - description "G694 channel number"; - } - leaf frequency { - type string { - length "0..32"; - } - description "Frequency"; - } - leaf wavelength { - type string { - length "0..32"; - } - description "Wavelength"; - } - } - - grouping OPTICS-EDM-WAVE-INFO { - description "wavelength channel mapping information"; - leaf dwdm-carrier-band { - type Optics-wave-band; - description "DWDM carrier band"; - } - leaf dwdm-carrier-min { - type uint32; - description "Lowest DWDM carrier supported"; - } - leaf dwdm-carrier-max { - type uint32; - description "Highest DWDM carrier supported"; - } - - list dwdm-carrier-map-info { - description "DWDM carrier mapping info"; - uses OPTICS-EDM-CHANNEL-WAVELENGTH-MAP-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper.yang deleted file mode 100644 index 00a533c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-optics-oper.yang +++ /dev/null @@ -1,102 +0,0 @@ -module Cisco-IOS-XR-controller-optics-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-controller-optics-oper"; - - - prefix "controller-optics-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-controller-optics-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR controller-optics package operational data. - - This module contains definitions - for the following management objects: - optics-oper: Optics operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container optics-oper { - config false; - description "Optics operational data"; - - container optics-ports { - description "All Optics Port operational data"; - - list optics-port { - key "name"; - description "Optics operational data"; - - container optics-dwdm-carrrier-channel-map { - description "Optics operational data"; - uses OPTICS-EDM-WAVE-INFO; - } - - container optics-info { - description "Optics operational data"; - uses OPTICS-EDM-INFO; - } - - container optics-lanes { - description "All Optics Port operational data"; - - list optics-lane { - key "number"; - description "Lane Information"; - leaf number { - type int32; - description "Lane Index"; - } - uses OPTICS-EDM-LANE-DATA; - } - } - - container optics-db-info { - description "Optics operational data"; - uses OPTICS-DB-INFO; - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-cfg.yang deleted file mode 100644 index f618bc9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-cfg.yang +++ /dev/null @@ -1,672 +0,0 @@ -module Cisco-IOS-XR-controller-otu-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-controller-otu-cfg"; - - - prefix "controller-otu-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR controller-otu package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-13" { - description - "PRBS Config added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Otu-forward-error-correction { - type enumeration { - enum none { - value 1; - description "No Fec"; - } - enum standard { - value 2; - description "Standard Fec"; - } - enum enhanced-i7 { - value 4; - description "EnhancedI7 Fec"; - } - enum enhanced-i4 { - value 8; - description "Enhanced I4 Fec"; - } - enum enhanced-swizzle { - value 16; - description "EnhancedSwizzle Fec"; - } - enum enhanced-hg20 { - value 32; - description "EnhancedHG20 Fec"; - } - enum enhanced-hg7 { - value 64; - description "EnhancedHG7 Fec"; - } - } - description "Otu forward error correction"; - } - typedef Otn-per-mon { - type enumeration { - enum disable { - value 0; - description "Performance Monitoring Disabled"; - } - enum enable { - value 1; - description "Performance Monitoring Enabled"; - } - } - description "Otn per mon"; - } - typedef Otn-send-tti-type-os { - type enumeration { - enum send-tti-os-ascii/os-ascii { - value 10; - description "Send TTI OS ASCII string"; - } - enum send-tti-os-hex/os-hex { - value 12; - description "Send TTI OS HEX string"; - } - } - description "Otn send tti type os"; - } - typedef Otn-exp-tti-type-sapi { - type enumeration { - enum exp-tti-sapi-ascii/sapi-ascii { - value 15; - description "Expected TTI SAPI ASCII string"; - } - } - description "Otn exp tti type sapi"; - } - typedef Otn-send-tti-type-sapi { - type enumeration { - enum send-tti-sapi-ascii/sapi-ascii { - value 14; - description "Send TTI SAPI ASCII string"; - } - } - description "Otn send tti type sapi"; - } - typedef Otu-mode { - type enumeration { - enum mode-invalid { - value 0; - description "prbs Mode Invalid"; - } - enum mode-source { - value 1; - description "Prbs Mode Source"; - } - enum mode-sink { - value 2; - description "Prbs Mode Sink"; - } - enum mode-source-sink { - value 3; - description "Prbs Mode Source_Sink"; - } - } - description "Otu mode"; - } - typedef Otn-sec-admin-state { - type enumeration { - enum normal { - value 0; - description "In normal state"; - } - enum maintenance { - value 1; - description "Under maintenance"; - } - } - description "Otn sec admin state"; - } - typedef Otn-exp-tti-type-os { - type enumeration { - enum exp-tti-os-ascii/os-ascii { - value 11; - description "Expected TTI OS ASCII string"; - } - enum exp-tti-os-hex/os-hex { - value 13; - description "Expected TTI OS HEX string"; - } - } - description "Otn exp tti type os"; - } - typedef Otn-loopback { - type enumeration { - enum line { - value 2; - description "Line loopback"; - } - enum internal { - value 4; - description "Internal loopback"; - } - } - description "Otn loopback"; - } - typedef Otu-pattern { - type enumeration { - enum pattern-none { - value 0; - description "prbs pattern None"; - } - enum pattern-pn31 { - value 1; - description "Prbs pattern pn31"; - } - enum pattern-pn23 { - value 2; - description "Prbs pattern pn23"; - } - enum pattern-pn11 { - value 4; - description "Prbs pattern pn11"; - } - enum pattern-inverted-pn31 { - value 8; - description "Prbs pattern inverted pn31"; - } - enum pattern-inverted-pn11 { - value 16; - description "Prbs pattern inverted pn11"; - } - enum pattern-pn15 { - value 32; - description "Prbs pattern pn15"; - } - } - description "Otu pattern"; - } - typedef Otn-exp-tti-type-full { - type enumeration { - enum exp-tti-full-ascii/full-ascii { - value 5; - description "Expected TTI Full ASCII string"; - } - enum exp-tti-hex/hex { - value 7; - description "Expected TTI hex string"; - } - } - description "Otn exp tti type full"; - } - typedef Otn-send-tti-type-full { - type enumeration { - enum send-tti-full-ascii/full-ascii { - value 4; - description "Send TTI Full ASCII string"; - } - enum send-tti-hex/hex { - value 6; - description "Send TTI hex string"; - } - } - description "Otn send tti type full"; - } - typedef Otn-exp-tti-type-dapi { - type enumeration { - enum exp-tti-dapi-ascii/dapi-ascii { - value 9; - description "Expected TTI DAPI ASCII string"; - } - } - description "Otn exp tti type dapi"; - } - typedef Otn-send-tti-type-dapi { - type enumeration { - enum send-tti-dapi-ascii/dapi-ascii { - value 8; - description "Send TTI DAPI ASCII string"; - } - } - description "Otn send tti type dapi"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container otu { - description "OTU port controller configuration"; - - container otn-send-ttitcmos { - description "Configure OTN Send TTI value for OS config"; - leaf string-type { - type Otn-send-tti-type-os; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf osascii-string { - when "../string-type = 'send-tti-os-ascii/os-ascii'" { - description - "../StringType = SEND_TTI_OS_ASCII/OS_ASCII"; - } - type string { - length "1..32"; - } - description "OS ASCII text (Max 32 characters)"; - } - leaf oshex-string { - when "../string-type = 'send-tti-os-hex/os-hex'" { - description "../StringType = SEND_TTI_OS_HEX/OS_HEX"; - } - type string { - length "1..64"; - } - description "OS HEX text (Max 64 characters)"; - } - } - - container otn-send-ttitcmdapi { - description "Configure OTN Send TTI value for DAPI configs"; - leaf string-type { - type Otn-send-tti-type-dapi; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf dapi-ascii-string { - when "../string-type = 'send-tti-dapi-ascii/dapi-ascii'" { - description - "../StringType = - SEND_TTI_DAPI_ASCII/DAPI_ASCII"; - } - type string { - length "1..14"; - } - description "DAPI ASCII text (Max 14 characters)"; - } - } - - container otn-expected-ttisapi { - description - "Configure OTN Expected TTI value for SAPI - configs"; - leaf string-type { - type Otn-exp-tti-type-sapi; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf sapi-ascii-string { - when "../string-type = 'exp-tti-sapi-ascii/sapi-ascii'" { - description - "../StringType = EXP_TTI_SAPI_ASCII/SAPI_ASCII"; - } - type string { - length "1..14"; - } - description "SAPI ASCII text (Max 14 characters)"; - } - } - - container proactive-protection { - description "Configure Proactive Protection"; - - container trigger-threshold { - description "Proactive Protection Threshold"; - leaf coefficient { - type uint32 { - range "1..9"; - } - description "Bit error rate coefficient"; - } - leaf power { - type uint32 { - range "3..9"; - } - description "Bit error rate power"; - } - leaf enable { - type empty; - description "Proactive Protection supported"; - } - } - - container revert-window { - description "Proactive Protection Window"; - leaf value { - type uint32 { - range "2000..10000"; - } - description "Integration window for FRR trigger in MS"; - } - leaf enable { - type empty; - description "Enable Proactive Protection"; - } - } - - container trigger-window { - description "Proactive Protection Window"; - leaf value { - type uint32 { - range "10..10000"; - } - description "Integration window for FRR trigger in MS"; - } - leaf enable { - type empty; - description "Enable Proactive Protection"; - } - } - - container revert-threshold { - description "Proactive Protection Threshold"; - leaf coefficient { - type uint32 { - range "1..9"; - } - description "Bit error rate coefficient"; - } - leaf power { - type uint32 { - range "4..10"; - } - description "Bit error rate power"; - } - leaf enable { - type empty; - description "Proactive Protection supported"; - } - } - leaf status { - type empty; - description "Enable Proactive Protection"; - } - } - - container network-srlgs { - description "Configure Network srlgs"; - - list network-srlg { - key "set-id"; - description "Configure network srlg sets"; - leaf set-id { - type uint32 { - range "1..17"; - } - description "Set index"; - } - leaf srlg1 { - type uint32 { - range "0..4294967294"; - } - description "First value for Network SRLG"; - } - leaf srlg2 { - type uint32 { - range "0..4294967294"; - } - description "Second value for Network SRLG"; - } - leaf srlg3 { - type uint32 { - range "0..4294967294"; - } - description "Third value for Network SRLG"; - } - leaf srlg4 { - type uint32 { - range "0..4294967294"; - } - description "Forth value for Network SRLG"; - } - leaf srlg5 { - type uint32 { - range "0..4294967294"; - } - description "Fifth value for Network SRLG"; - } - leaf srlg6 { - type uint32 { - range "0..4294967294"; - } - description "Sixth value for Network SRLG"; - } - } - } - - container otn-send-tti { - description - "Configure OTN Send TTI value for Full ASCII/HEX"; - leaf string-type { - type Otn-send-tti-type-full; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf full-ascii-string { - when "../string-type = 'send-tti-full-ascii/full-ascii'" { - description - "../StringType = - SEND_TTI_FULL_ASCII/FULL_ASCII"; - } - type string { - length "1..64"; - } - description "Full ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'send-tti-hex/hex'" { - description "../StringType = SEND_TTI_HEX/Hex"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128 - The string length - should be an even number)"; - } - } - - container otn-expected-ttitcmdapi { - description - "Configure OTN Expected TTI value for DAPI - configs"; - leaf string-type { - type Otn-exp-tti-type-dapi; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf dapi-ascii-string { - when "../string-type = 'exp-tti-dapi-ascii/dapi-ascii'" { - description - "../StringType = EXP_TTI_DAPI_ASCII/DAPI_ASCII"; - } - type string { - length "1..14"; - } - description "DAPI ASCII text (Max 14 characters)"; - } - } - - container otn-send-ttisapi { - description "Configure OTN Send TTI value for SAPI configs"; - leaf string-type { - type Otn-send-tti-type-sapi; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf sapi-ascii-string { - when "../string-type = 'send-tti-sapi-ascii/sapi-ascii'" { - description - "../StringType = - SEND_TTI_SAPI_ASCII/SAPI_ASCII"; - } - type string { - length "1..14"; - } - description "SAPI ASCII text (Max 14 characters)"; - } - } - - container prbs { - description "Enable Prbs And configure"; - leaf mode-value { - type Otu-mode; - description "Mode value"; - } - leaf patternvalue { - type Otu-pattern; - description "Pattern value"; - } - } - - container otn-expected-ttitcmos { - description - "Configure OTN Expected TTI value for OS config"; - leaf string-type { - type Otn-exp-tti-type-os; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf osascii-string { - when "../string-type = 'exp-tti-os-ascii/os-ascii'" { - description "../StringType = EXP_TTI_OS_ASCII/OS_ASCII"; - } - type string { - length "1..32"; - } - description "OS ASCII text (Max 32 characters)"; - } - leaf oshex-string { - when "../string-type = 'exp-tti-os-hex/os-hex'" { - description "../StringType = EXP_TTI_OS_HEX/OS_HEX"; - } - type string { - length "1..64"; - } - description "OS HEX text (Max 64 characters)"; - } - } - - container otn-expected-tti { - description - "Configure OTN Expected TTI value for Full - ASCII/HEX"; - leaf string-type { - type Otn-exp-tti-type-full; - description - "TTI string type (FULL ASCII or DAPI ASCII or - SAPI ASCII or hex format or OS ASCII or OS - HEX)"; - } - leaf full-ascii-string { - when "../string-type = 'exp-tti-full-ascii/full-ascii'" { - description - "../StringType = EXP_TTI_FULL_ASCII/FULL_ASCII"; - } - type string { - length "1..64"; - } - description "Full ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'exp-tti-hex/hex'" { - description "../StringType = EXP_TTI_HEX/Hex"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128 - The string length - should be an even number)"; - } - } - leaf gcc { - type empty; - description "General Communication Channel configuration"; - } - leaf sf { - type uint32 { - range "5..9"; - } - description "Signal failure threshold"; - } - leaf secondary-admin-state { - type Otn-sec-admin-state; - default "normal"; - description "Configure secondary admin state "; - } - leaf sd { - type uint32 { - range "5..9"; - } - description "Signal degrade threshold"; - } - leaf performance-monitoring { - type Otn-per-mon; - default "enable"; - description "Configure performance monitoring"; - } - leaf loopback { - type Otn-loopback; - description "Type of Loopback"; - } - leaf fec { - type Otu-forward-error-correction; - default "none"; - description "Configure forward error correction"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper-sub1.yang deleted file mode 100644 index cc1bc1a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper-sub1.yang +++ /dev/null @@ -1,864 +0,0 @@ -submodule Cisco-IOS-XR-controller-otu-oper-sub1 { - - belongs-to Cisco-IOS-XR-controller-otu-oper { - prefix Cisco-IOS-XR-controller-otu-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR controller-otu package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-13" { - description - "PRBS Info added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Gmpls-otu-tti-mode { - type enumeration { - enum gmpls-otu-tti-mode-none { - description "Not Set"; - } - enum gmpls-otu-tti-mode-sm { - description "Section Monitoring"; - } - enum gmpls-otu-tti-mode-pm { - description "Path Monitoring"; - } - enum gmpls-otu-tti-mode-tcm { - description "Tandem Connection Monitoring"; - } - } - description "Gmpls otu tti mode"; - } - typedef Otu-pp-intf-state { - type enumeration { - enum otu-pp-intf-up { - value 0; - description "Interface is Up"; - } - enum otu-pp-intf-failing { - value 1; - description "Interface is Going Down"; - } - enum otu-pp-intf-down { - value 2; - description "Interface Down"; - } - } - description "Otu pp intf state"; - } - typedef Otu-pp-fsm-state { - type enumeration { - enum otu-in-active { - value 0; - description "In Active"; - } - enum otu-disabled { - value 1; - description "Disabled"; - } - enum otu-normal-state { - value 2; - description "Normal"; - } - enum otu-local-failing { - value 3; - description "Local Failing"; - } - enum otu-remote-failing { - value 4; - description "Remote Failing"; - } - enum otu-main-t-failing { - value 5; - description "Maintance Failing"; - } - enum otu-regen-failing { - value 6; - description "Regenerator Failing"; - } - enum otu-local-failed { - value 7; - description "Local Failed"; - } - enum otu-remote-failed { - value 8; - description "Remote Failed"; - } - enum otu-main-t-failed { - value 9; - description "Maintance Failed"; - } - enum otu-regen-failed { - value 10; - description "Regenerator Failed"; - } - } - description "Otu pp fsm state"; - } - typedef Otu-per-mon { - type enumeration { - enum disable { - value 0; - description "Disable"; - } - enum enable { - value 1; - description "Enable"; - } - } - description "Otu per mon"; - } - typedef Otu-sec-state { - type enumeration { - enum normal { - value 0; - description "Normal"; - } - enum maintenance { - value 1; - description "Maintenance"; - } - enum ais { - value 2; - description "Automatic In Service"; - } - } - description "Otu sec state"; - } - typedef Otu-der-state { - type enumeration { - enum out-of-service { - value 0; - description "Out Of Service"; - } - enum in-service { - value 1; - description "In Service"; - } - enum maintenance { - value 2; - description "Maintenance"; - } - enum ais { - value 3; - description "Automatic In Service"; - } - } - description "Otu der state"; - } - typedef Otu-g709fec-mode { - type enumeration { - enum otu-bag-none-fec { - value 1; - description "NONE"; - } - enum otu-bag-standard-fec { - value 2; - description "STANDARD"; - } - enum otu-bag-1-i-7-fec { - value 4; - description "ENHANCEDI.7"; - } - enum otu-bag-1-i-4-fec { - value 8; - description "ENHANCEDI.4"; - } - enum otu-bag-swizzle-fec { - value 16; - description "SWIZZLE"; - } - enum otu-bag-hg20-fec { - value 32; - description "HIGH GAIN20"; - } - enum otu-bag-enhanced-hg7-fec { - value 64; - description "Enhanced High Gain 7"; - } - enum otu-bag-sd20-fec { - value 128; - description "Soft-Decision 20"; - } - enum otu-bag-sd7-fec { - value 256; - description "Soft-Decision 7"; - } - enum otu-bag-all-fec { - value 512; - description "ALL"; - } - } - description "Otu g709fec mode"; - } - typedef Otu-loop-back-mode { - type enumeration { - enum none { - value 1; - description "None"; - } - enum line { - value 2; - description "Line"; - } - enum internal { - value 4; - description "Internal"; - } - } - description "Otu loop back mode"; - } - typedef Otu-tti-et { - type enumeration { - enum ascii { - value 0; - description "ASCII"; - } - enum hex { - value 1; - description "HEX"; - } - enum full-ascii { - value 2; - description "FULL ASCII"; - } - enum full-hex { - value 3; - description "FULL HEX"; - } - } - description "Otu tti et"; - } - typedef Otu-state-et { - type enumeration { - enum not-ready { - value 0; - description "Not Ready"; - } - enum admin-down { - value 1; - description "Admin Down"; - } - enum down { - value 2; - description "Down"; - } - enum up { - value 3; - description "Up"; - } - enum shutdown { - value 4; - description "Shutdown"; - } - enum error-disable { - value 5; - description "Error Disable"; - } - enum down-immediate { - value 6; - description "Down Immediate"; - } - enum down-immediate-admin { - value 7; - description "Down Immediate Admin"; - } - enum down-graceful { - value 8; - description "Down Graceful"; - } - enum begin-shutdown { - value 9; - description "Begin Shutdown"; - } - enum end-shutdown { - value 10; - description "End Shutdown"; - } - enum begin-error-disable { - value 11; - description "Begin Error Disable"; - } - enum end-error-disable { - value 12; - description "End Error Disable"; - } - enum begin-down-graceful { - value 13; - description "Begin Down Graceful"; - } - enum reset { - value 14; - description "Reset"; - } - enum operational { - value 15; - description "Operational"; - } - enum not-operational { - value 16; - description "Not Operational"; - } - enum unknown { - value 17; - description "Unknown"; - } - enum last { - value 18; - description "Last"; - } - } - description "Otu state et"; - } - typedef Otu-prbs-status { - type enumeration { - enum locked { - value 0; - description "Locked"; - } - enum unlocked { - value 1; - description "Unlocked"; - } - enum not-applicable { - value 2; - description "Not Applicable"; - } - } - description "Otu prbs status"; - } - typedef Otu-prbs-pattern { - type enumeration { - enum not-applicable { - value 0; - description "OTU PRBS pattern not applicable"; - } - enum pn31 { - value 1; - description "PN31"; - } - enum pn23 { - value 2; - description "PN23"; - } - enum pn11 { - value 4; - description "PN11"; - } - enum inverted-pn31 { - value 8; - description "INVERTED PN31"; - } - enum inverted-pn11 { - value 16; - description "INVERTED PN11"; - } - enum pn15 { - value 32; - description "PN15"; - } - } - description "Otu prbs pattern"; - } - typedef Otu-prbs-mode { - type enumeration { - enum not-applicable { - value 0; - description "OTU PRBS mode not applicable"; - } - enum source { - value 1; - description "Source"; - } - enum sink { - value 2; - description "Sink"; - } - enum source-sink { - value 3; - description "Source Sink"; - } - } - description "Otu prbs mode"; - } - typedef Otu-prbs-test { - type enumeration { - enum disable { - value 0; - description "Disable"; - } - enum enable { - value 1; - description "Enable"; - } - } - description "Otu prbs test"; - } - - grouping FEC-OPER-DATA { - description "FEC Satistics"; - leaf post-fec-ber { - type string; - description "Bit Error Rate After Forward Error Correction"; - } - leaf pre-fec-ber { - type string; - description "Bit Error Rate Before Forward Error Correction"; - } - } - - grouping OTU-PROACTIVE-INFO { - description "Proactive Protection"; - leaf proactive-status { - type boolean; - description "Proactive Status"; - } - leaf inherit-sec-state { - type Otu-sec-state; - description "Secondary Admin State"; - } - leaf config-sec-state { - type Otu-sec-state; - description "Sec State"; - } - leaf proactive-fsm-state { - type Otu-pp-fsm-state; - description "Proactive FSM State"; - } - leaf proactive-fsm-if-state { - type Otu-pp-intf-state; - description "Proactive FSM IF State"; - } - leaf trig-thresh-coeff { - type uint8; - description "Trigger threshold coefficient"; - } - leaf trig-thresh-power { - type uint8; - description "Trigger threshold power"; - } - leaf rvrt-thresh-coeff { - type uint8; - description "Revert threshold coefficient"; - } - leaf rvrt-thresh-power { - type uint8; - description "Revert threshold power"; - } - leaf trigger-window { - type uint32; - description "Trigger Integration window"; - } - leaf revert-window { - type uint32; - description "Revert Integration Window"; - } - } - - grouping OTU-EDM-ALARM { - description " OTU Alarm"; - leaf reporting-enabled { - type boolean; - description "Is reporting enabled?"; - } - leaf is-detected { - type boolean; - description "Is defect detected?"; - } - leaf is-asserted { - type boolean; - description "Is defect delared?"; - } - leaf counter { - type uint64; - description "Alarm counter"; - } - } - - grouping OTU-ALARM-INFO { - description "otu information"; - - container los { - description "Loss of Signal"; - uses OTU-EDM-ALARM; - } - - container lof { - description "Loss of Frame"; - uses OTU-EDM-ALARM; - } - - container lom { - description "Loss of MultiFrame"; - uses OTU-EDM-ALARM; - } - - container oof { - description "Out of Frame"; - uses OTU-EDM-ALARM; - } - - container oom { - description "Out of MultiFrame"; - uses OTU-EDM-ALARM; - } - - container ais { - description "Alarm Indication Signal"; - uses OTU-EDM-ALARM; - } - - container iae { - description "Incoming Alignment Error"; - uses OTU-EDM-ALARM; - } - - container biae { - description "Backward Incoming Alignment Error"; - uses OTU-EDM-ALARM; - } - - container bdi { - description "Backward Defect Indication"; - uses OTU-EDM-ALARM; - } - - container tim { - description "Trace Identifier Mismatch"; - uses OTU-EDM-ALARM; - } - - container eoc { - description "GCC End of Channel"; - uses OTU-EDM-ALARM; - } - - container fec-mismatch { - description "FEC mismatch alarm"; - uses OTU-EDM-ALARM; - } - - container sf-ber { - description "SF BER alarm"; - uses OTU-EDM-ALARM; - } - - container sd-ber { - description "SD BER alarm"; - uses OTU-EDM-ALARM; - } - - container ec { - description "EC alarm"; - uses OTU-EDM-ALARM; - } - - container uc { - description "UC alarm"; - uses OTU-EDM-ALARM; - } - - container fecunc { - description "FEC UnCorrected Word"; - uses OTU-EDM-ALARM; - } - } - - grouping NETWORK-SRLG-SET { - description - "Network Shared Risk Link Group information - expressed in integer format"; - leaf set-id { - type uint32; - description "Array to maintain set id number"; - } - leaf-list srlg { - type uint32; - description - "Shared Risk Link Group information expressed in - integer format"; - } - } - - grouping NETWORK-SRLG-INFO { - description - "Array of Network Shared Risk Link Group - Information"; - - list srlg-info { - description - "Array of Network Shared Risk Link Group - information"; - uses NETWORK-SRLG-SET; - } - } - - grouping OTU-TTI-ST { - description "TTI SAPI DAPI"; - leaf full-tti-ascii-string { - type string; - description "full tti ascii String "; - } - leaf-list sapi { - type uint8; - description "tx String "; - } - leaf-list dapi { - type uint8; - description "exp String "; - } - leaf-list operator-specific { - type uint8; - description "rec String "; - } - } - - grouping OTU-G709-TTI { - description "OTU TTI"; - - container tx { - description "String Sent"; - uses OTU-TTI-ST; - } - - container exp { - description "String Expected"; - uses OTU-TTI-ST; - } - - container rec { - description "String Received"; - uses OTU-TTI-ST; - } - leaf g709tti-sent-mode { - type Otu-tti-et; - description "G709TTI sent"; - } - leaf g709tti-exp-mode { - type Otu-tti-et; - description "G709TTI Expected"; - } - leaf g709tti-rec-mode { - type Otu-tti-et; - description "G709TTI Recieved"; - } - leaf remote-interface { - type string; - description "Remote Interface Name"; - } - leaf remote-host-name { - type string; - description "Remote host name"; - } - leaf remote-ip-addr { - type string; - description "Remote host ip"; - } - } - - grouping OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX { - description "otn otu remote info via tti t rtrid ifindex"; - leaf router-id { - type uint32; - description "Router ID"; - } - leaf if-index { - type uint32; - description "IfIndex"; - } - } - - grouping OTU-PER-PORT-INFO { - description "OTU"; - - container local { - description "TTI"; - uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; - } - - container remote { - description "Remote"; - uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; - } - - container tti-mode { - description "OTU TTI"; - uses OTU-G709-TTI; - } - - container network-srlg { - description "Network Shared Risk Link Group information"; - uses NETWORK-SRLG-INFO; - } - - container otu-alarm-info { - description "OTU layer alarm Information"; - uses OTU-ALARM-INFO; - } - - container proactive { - description "Proactive Protection"; - uses OTU-PROACTIVE-INFO; - } - - container otu-fec-satistics { - description "OTU FEC Statistics"; - uses FEC-OPER-DATA; - } - leaf state { - type Otu-state-et; - description "Admin State"; - } - leaf name { - type string; - description "Interface Name"; - } - leaf sf { - type uint8; - description "SF in the form of 1.0E - "; - } - leaf sd { - type uint8; - description "SD in the form of 1.0E - "; - } - leaf loopback-mode { - type Otu-loop-back-mode; - description "Loopback"; - } - leaf fec-mode { - type Otu-g709fec-mode; - description "FEC"; - } - leaf derivedstate-mode { - type Otu-der-state; - description "Derived State"; - } - leaf inherit-sec-state { - type Otu-sec-state; - description "Sec State"; - } - leaf config-sec-state { - type Otu-sec-state; - description "Sec State"; - } - leaf gcc-mode { - type boolean; - description "OTU GCC"; - } - leaf q { - type uint64; - description "q value calculated"; - } - leaf q-margin { - type uint64; - description "q margin calculated"; - } - leaf performance-monitoring { - type Otu-per-mon; - description "Performance Monitoring"; - } - leaf ec { - type uint64; - description "Average bit errors corrected"; - } - leaf uc { - type uint64; - description "Uncorrected word count"; - } - leaf pre-fec-val { - type int32; - description "Pre FEC BER Value in form 0.00"; - } - leaf pre-fec-mantissa { - type int8; - description "Pre FEC BER Mantissa in form E-"; - } - leaf ec-value { - type boolean; - description "EC value present"; - } - leaf uc-value { - type boolean; - description "Uc value present"; - } - leaf pre-fec-ber-value { - type boolean; - description "Pre fec val present "; - } - leaf pre-fec-ber-mantissa { - type boolean; - description "Pre fec val mantissa"; - } - leaf nv-optical-support { - type boolean; - description "NV Optical support"; - } - leaf gmpls-tti-mode { - type Gmpls-otu-tti-mode; - description "GMPLS TTI MODE"; - } - leaf gmpls-tvm-id { - type uint8; - description "GMPLS TCM ID"; - } - leaf auto-tti-flag { - type boolean; - description "Auto tti flag"; - } - leaf description { - type string; - description "Controller description string"; - } - } - - grouping OTU-PRBS-INFO { - description "PRBS"; - leaf otu-prbs-test { - type Otu-prbs-test; - description "otu prbs test"; - } - leaf otu-prbs-mode { - type Otu-prbs-mode; - description "otu prbs mode"; - } - leaf otu-prbs-pattern { - type Otu-prbs-pattern; - description "otu prbs pattern"; - } - leaf otu-prbs-status { - type Otu-prbs-status; - description "otu prbs status"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper.yang deleted file mode 100644 index 4d08512..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-controller-otu-oper.yang +++ /dev/null @@ -1,88 +0,0 @@ -module Cisco-IOS-XR-controller-otu-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-controller-otu-oper"; - - - prefix "controller-otu-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-controller-otu-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR controller-otu package operational data. - - This module contains definitions - for the following management objects: - otu: OTU operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-13" { - description - "PRBS Info added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container otu { - config false; - description "OTU operational data"; - - container controllers { - description "All OTU Port operational data"; - - list controller { - key "controller-name"; - description "OTU Port operational data"; - - container prbs { - description "OTU port PRBS operational data"; - uses OTU-PRBS-INFO; - } - - container info { - description "OTU port operational data"; - uses OTU-PER-PORT-INFO; - } - leaf controller-name { - type xr:Interface-name; - description "Port name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-act.yang deleted file mode 100755 index 5f079b5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-act.yang +++ /dev/null @@ -1,192 +0,0 @@ -module Cisco-IOS-XR-crypto-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act"; - - prefix "crypto-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-04-17" { - description - "IOS XR 6.1.1 revision."; - } - - grouping KEY-MODULUS { - leaf key-label { - description "RSA keypair label"; - type string; - } - leaf key-modulus { - description "Key modulus in the range of 512 to 4096 for your " - + "General Purpose Keypair. Choosing a key modulus greater " - + "than 512 may take a few minutes"; - type int32 { - range "512..4096"; - } - mandatory true; - } - } - - rpc key-generate-rsa-general-keys { - description "Generate a general purpose RSA key pair for signing and encryption"; - input { - uses KEY-MODULUS; - } - } - - rpc key-generate-rsa-usage-keys { - description "Generate seperate RSA key pairs for signing and encryption"; - input { - uses KEY-MODULUS; - } - } - - rpc key-generate-rsa { - description "Generate seperate RSA key pairs for signing and encryption"; - input { - uses KEY-MODULUS; - } - } - - rpc key-generate-dsa { - description "Generate DSA keys"; - input { - leaf key-modulus { - description "Key modulus size can be 512, 768, or 1024 bits."; - type int32 { - range "512|768|1024"; - } - mandatory true; - } - } - } - - rpc key-zeroize-rsa { - description "Remove RSA keys"; - input { - leaf key-label { - description "RSA key label"; - type string; - } - } - } - - rpc key-zeroize-dsa { - description "Remove DSA keys"; - } - - rpc key-zeroize-authentication-rsa { - description "Remove RSA authentication key"; - } - - rpc key-import-authentication-rsa { - description "Remove RSA authentication key"; - input { - leaf path { - description "Path to RSA pubkey file"; - type string; - mandatory true; - } - } - } - - rpc ca-authenticate { - description "Get the certification authority certificate"; - input { - leaf server-name { - description "CA Server Name"; - type string; - mandatory true; - } - } - } - - rpc ca-enroll { - description "Request a certificate from a CA"; - input { - leaf server-name { - description "CA Server Name"; - type string; - mandatory true; - } - } - } - - rpc ca-import-certificate { - description "Import a certificate from a s/tftp server or the terminal"; - input { - leaf server-name { - description "CA Server Name"; - type string; - mandatory true; - } - } - } - - rpc ca-cancel-enroll { - description "Cancel enrollment from a CA"; - input { - leaf server-name { - description "CA Server Name"; - type string; - mandatory true; - } - } - } - - rpc ca-crl-request { - description "Actions on certificate revocation lists"; - input { - leaf uri { - description "CRL Distribution Point in URI format"; - type string; - mandatory true; - } - } - output { - leaf certificate { - type string; - description "Certificate returned"; - mandatory true; - } - } - } - - rpc ca-trustpool-import-url { - description "Manual import trustpool certificates from URL"; - input { - leaf url { - description "in URL format"; - type string; - } - } - } - - rpc ca-trustpool-import-url-clean { - description "Remove downloaded certificates in trustpool"; - input { - leaf url { - description "in URL format"; - type string; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang deleted file mode 100644 index ca5fe20..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang +++ /dev/null @@ -1,190 +0,0 @@ -module Cisco-IOS-XR-crypto-macsec-mka-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-crypto-macsec-mka-cfg"; - - - prefix "crypto-macsec-mka-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-mka package configuration. - - This module contains definitions - for the following management objects: - macsec: MACSec MKA - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Macsec-mka-window-size { - type uint32 { - range "0..1024"; - } - description "Macsec mka window size"; - } - typedef Macsec-mka-security-policy { - type enumeration { - enum should-secure { - value 0; - description "should secure"; - } - enum must-secure { - value 1; - description "must secure"; - } - } - description "Macsec mka security policy"; - } - typedef Macsec-mka-key-server-priority { - type uint32 { - range "0..255"; - } - description "Macsec mka key server priority"; - } - typedef Macsec-mka-policy-exception { - type enumeration { - enum lacp-in-clear { - value 1; - description "lacp in clear"; - } - } - description "Macsec mka policy exception"; - } - typedef Macsec-mka-cipher-suite { - type enumeration { - enum gcm-aes-128 { - value 1; - description "GCM AES 128"; - } - enum gcm-aes-256 { - value 2; - description "GCM AES 256"; - } - enum gcm-aes-xpn-128 { - value 3; - description "GCM AES XPN 128"; - } - enum gcm-aes-xpn-256 { - value 4; - description "GCM AES XPN 256"; - } - } - description "Macsec mka cipher suite"; - } - typedef Macsec-mka-conf-offset { - type enumeration { - enum conf-off-set-0 { - value 0; - description "CONF OFFSET 0"; - } - enum conf-off-set-30 { - value 30; - description "CONF OFFSET 30"; - } - enum conf-off-set-50 { - value 50; - description "CONF OFFSET 50"; - } - } - description "Macsec mka conf offset"; - } - typedef Macsec-mka-sak-rekey-interval { - type uint32 { - range "0..43200"; - } - description "Macsec mka sak rekey interval"; - } - typedef Macsec-mka-vlan-tags-in-clear { - type uint32 { - range "1..2"; - } - description "Macsec mka vlan tags in clear"; - } - - container macsec { - description "MACSec MKA"; - - list policy { - key "name"; - description "MACSec Policy"; - leaf delay-protection { - type boolean; - description "TRUE enables data delay protection"; - } - leaf security-policy { - type Macsec-mka-security-policy; - description "Security-Policy of Policy"; - } - leaf key-server-priority { - type Macsec-mka-key-server-priority; - description "Key-Server-Priority of Policy"; - } - leaf conf-offset { - type Macsec-mka-conf-offset; - description "Conf-Offset of Policy"; - } - leaf sak-rekey-interval { - type Macsec-mka-sak-rekey-interval; - units "minute"; - description - "Interval after which key-server generates new - SAK for a Secured Session"; - } - leaf policy-exception { - type Macsec-mka-policy-exception; - description - "Macsec policy exception for packets to be in - clear"; - } - leaf window-size { - type Macsec-mka-window-size; - description "Window-Size of Policy"; - } - leaf cipher-suite { - type Macsec-mka-cipher-suite; - description "Cipher-suite of Policy"; - } - leaf include-icv-indicator { - type boolean; - description - "TRUE enables Include ICV Indicator paramset in - MKPDU"; - } - leaf vlan-tags-in-clear { - type Macsec-mka-vlan-tags-in-clear; - description "VLAN-Tags-In-Clear of Policy"; - } - leaf name { - type string { - length "1..16"; - } - description "Name of the Policy of maximum length 16"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang deleted file mode 100644 index c1e14b3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang +++ /dev/null @@ -1,126 +0,0 @@ -module Cisco-IOS-XR-crypto-macsec-mka-if-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-crypto-macsec-mka-if-cfg"; - - - prefix "crypto-macsec-mka-if-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-mka-if package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Eap-list { - type string { - pattern "(eap)"; - } - description "eap: eap config"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container macsec { - description "MACSec service for an interface"; - - container macsec-service { - presence "Indicates a macsec-service node is configured."; - description "macsec-service configuration on interface"; - leaf decrypt-port { - type xr:Interface-name; - mandatory true; - description "macsec service decryption port"; - } - leaf key-chain { - type string { - length "1..32"; - } - mandatory true; - description "name of keychain"; - } - leaf policy { - type string { - length "1..16"; - } - description "name of policy"; - } - } - - container eap { - description - "Enabling MACSec eap Configuration on Interface"; - leaf eap-config { - type Eap-list; - description "Eap config"; - } - leaf policy-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "Name of Policy"; - } - } - - container psk-key-chain { - presence "Indicates a psk-key-chain node is configured."; - description "MACSec MKA Configuration on Interface"; - leaf key-chain-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - mandatory true; - description "Name of KeyChainName"; - } - leaf policy-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "Name of Policy"; - } - leaf fallback-key-chain { - type string { - length "1..32"; - } - description "name of fallback keychain"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang deleted file mode 100644 index 7269668..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang +++ /dev/null @@ -1,405 +0,0 @@ -submodule Cisco-IOS-XR-crypto-macsec-mka-oper-sub1 { - - belongs-to Cisco-IOS-XR-crypto-macsec-mka-oper { - prefix Cisco-IOS-XR-crypto-macsec-mka-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-mka package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PEER-DATA { - description "PEER DATA"; - leaf mi { - type string; - description "Member ID"; - } - leaf sci { - type string; - description "Rx SCI"; - } - leaf mn { - type uint32; - description "Message Number"; - } - leaf priority { - type uint32; - description "KS Priority"; - } - leaf ssci { - type uint32; - description "Peer SSCI"; - } - } - - grouping CA-DATA { - description "CA DATA"; - - container peers-status { - description "Peers Status"; - uses PEERS-STATUS-DATA; - } - leaf is-key-server { - type boolean; - description "Is Key Server"; - } - leaf status { - type uint32; - description "Session Status [Secured/Not Secured]"; - } - leaf num-live-peers { - type uint32; - description "Number of Live Peers"; - } - leaf first-ca { - type boolean; - description "Is First CA"; - } - leaf peer-sci { - type string; - description "Peer SCI(MAC)"; - } - leaf num-live-peers-responded { - type uint32; - description "Number of Live Peers responded"; - } - leaf ckn { - type string; - description "CKN"; - } - leaf my-mi { - type string; - description "Member Identifier"; - } - leaf my-mn { - type uint32; - description "Message Number"; - } - leaf authenticator { - type boolean; - description "authenticator"; - } - leaf status-description { - type string; - description "Status Description"; - } - leaf authentication-mode { - type string; - description - "CA Authentication Mode - :PRIMARY-PSK/FALLBACK-PSK/EAP"; - } - leaf key-chain { - type string; - description "Key Chain name"; - } - - list live-peer { - description "Live Peer List"; - uses PEER-DATA; - } - - list potential-peer { - description "Potential Peer List"; - uses PEER-DATA; - } - - list dormant-peer { - description "Dormant Peer List"; - uses PEER-DATA; - } - } - - grouping PEER-STATUS-DATA-INTERNAL { - description "PEER STATUS DATA INTERNAL"; - leaf mi { - type string { - length "0..25"; - } - description "Member ID"; - } - leaf icv-status { - type string { - length "0..10"; - } - description "ICV Status"; - } - leaf icv-check-timestamp { - type string { - length "0..128"; - } - description "ICV Check Timestamp"; - } - } - - grouping PEER-STATUS-DATA { - description "PEER STATUS DATA"; - - container peer-data { - description "Peer Status Data"; - uses PEER-STATUS-DATA-INTERNAL; - } - leaf sci { - type string { - length "0..17"; - } - description "Rx SCI"; - } - } - - grouping PEERS-STATUS-DATA { - description "PEERS STATUS DATA"; - leaf tx-mkpdu-timestamp { - type string { - length "0..128"; - } - description "Tx MKPDU Timestamp"; - } - leaf peer-count { - type uint32; - description "Peer Count"; - } - - list peer { - description "Peer List"; - uses PEER-STATUS-DATA; - } - } - - grouping FALLBACK-KEEPALIVE-DATA { - description "FALLBACK KEEPALIVE DATA"; - - container peers-status { - description "Peers Status"; - uses PEERS-STATUS-DATA; - } - leaf ckn { - type string { - length "0..65"; - } - description "CKN"; - } - leaf mi { - type string { - length "0..25"; - } - description "Member Identifier"; - } - leaf mn { - type uint32; - description "Message Number"; - } - } - - grouping VP-DATA { - description "VP DATA"; - leaf my-sci { - type string; - description "Local SCI(MAC)"; - } - leaf virtual-port-id { - type uint32; - description "Virtual Port ID"; - } - leaf latest-rx { - type boolean; - description "Latest Rx status"; - } - leaf latest-tx { - type boolean; - description "Latest Tx status"; - } - leaf latest-an { - type uint32; - description "Latest SAK AN"; - } - leaf latest-ki { - type string; - description "Latest SAK KI"; - } - leaf latest-kn { - type uint32; - description "Latest SAK KN"; - } - leaf old-rx { - type boolean; - description "Old Rx status"; - } - leaf old-tx { - type boolean; - description "Old Tx status"; - } - leaf old-an { - type uint32; - description "Old SAK AN"; - } - leaf old-ki { - type string; - description "Old SAK KI"; - } - leaf old-kn { - type uint32; - description "Old SAK KN"; - } - leaf wait-time { - type uint32; - description "SAK Transmit Wait Time"; - } - leaf retire-time { - type uint32; - description "SAK Retire time"; - } - leaf cipher-suite { - type uint32; - description "SAK Cipher Suite"; - } - leaf ssci { - type uint32; - description "SSCI of the Local TxSC"; - } - leaf time-to-sak-rekey { - type string; - description "Next SAK Rekey time in Sec"; - } - - list fallback-keepalive { - description "Fallback Keepalive"; - uses FALLBACK-KEEPALIVE-DATA; - } - } - - grouping MKA-VLAN-TAG { - description "MKA VLAN TAG"; - leaf etype { - type uint16; - description "etype"; - } - leaf priority { - type uint8; - description "priority"; - } - leaf cfi { - type uint8; - description "cfi"; - } - leaf vlan-id { - type uint16; - description "vlan id"; - } - } - - grouping MKA-SESSION-SUMMARY { - description "MKA SESSION SUMMARY"; - - container outer-tag { - description "VLAN Outer TAG"; - uses MKA-VLAN-TAG; - } - - container inner-tag { - description "VLAN Inner TAG"; - uses MKA-VLAN-TAG; - } - leaf interface-name { - type string; - description "macsec configured interface"; - } - leaf inherited-policy { - type boolean; - description "Is Inherited Policy"; - } - leaf policy { - type string; - description "Policy Name"; - } - leaf priority { - type uint32; - description "Key Server Priority"; - } - leaf my-mac { - type string; - description "My MAC"; - } - leaf delay-protection { - type boolean; - description "Delay Protect"; - } - leaf replay-protect { - type boolean; - description "Replay Protect"; - } - leaf window-size { - type uint32; - description "Replay Window Size"; - } - leaf include-icv-indicator { - type boolean; - description "IncludeICVIndicator"; - } - leaf confidentiality-offset { - type uint32; - description "Confidentiality Offset"; - } - leaf algo-agility { - type uint32; - description "Alogorithm Agility"; - } - leaf capability { - type uint32; - description "MACSec Capability"; - } - leaf cipher-str { - type string; - description "Cipher String"; - } - leaf mac-sec-desired { - type boolean; - description "MACSec Desired"; - } - } - - grouping MKA-SESSION { - description "MKA SESSION"; - - container session-summary { - description "Session summary"; - uses MKA-SESSION-SUMMARY; - } - - container vp { - description "Virtual Pointer Info"; - uses VP-DATA; - } - - list ca { - description "CA List for a Session"; - uses CA-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper.yang deleted file mode 100644 index 02293b7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-mka-oper.yang +++ /dev/null @@ -1,77 +0,0 @@ -module Cisco-IOS-XR-crypto-macsec-mka-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-crypto-macsec-mka-oper"; - - - prefix "crypto-macsec-mka-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-crypto-macsec-mka-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-mka package operational data. - - This module contains definitions - for the following management objects: - macsec: Macsec operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container macsec { - config false; - description "Macsec operational data"; - - container mka { - description "MKA Data"; - - container interfaces { - description "MKA Data"; - - list interface { - key "name"; - description "MKA Data for the Interface"; - - container session { - description "MKA Session Data"; - uses MKA-SESSION; - } - leaf name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang deleted file mode 100644 index 3e74329..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang +++ /dev/null @@ -1,1616 +0,0 @@ -submodule Cisco-IOS-XR-crypto-macsec-pl-oper-sub1 { - - belongs-to Cisco-IOS-XR-crypto-macsec-pl-oper { - prefix Cisco-IOS-XR-crypto-macsec-pl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-pl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Macsec-card { - type enumeration { - enum macsec-none { - value 0; - description "macsec none"; - } - enum macsec-msfpga { - value 1; - description "macsec msfpga"; - } - enum macsec-xlmsfpga { - value 2; - description "macsec xlmsfpga"; - } - enum macsec-apm { - value 3; - description "macsec apm"; - } - } - description "Macsec card"; - } - - grouping PL-ES200-FLOW-INFO { - description "Flow Information"; - leaf flow-no { - type uint32; - description "Flow Number"; - } - leaf is-flow-enabled { - type boolean; - description "Is Flow Enabled"; - } - leaf ethertype { - type uint16; - description - "Parsed EtherType to match could be 0 if - Ethertype should'nt - be matched can be 0x88E5 for MACSec tag"; - } - leaf outer-vlan-id { - type uint16; - description - " VLAN ID for outer tag use this when - only one tag should be matched"; - } - leaf outer-vlan-user-pri { - type uint8; - description - "VLAN User Priority for outer tag use - this when only one tag should be matched"; - } - leaf inner-vlan-id { - type uint16; - description - "VLAN ID for inner tag used when two - VLAN Tags should be matched"; - } - leaf inner-vlan-user-pri { - type uint8; - description - " VLAN User priority for inner tag use - when matching two VLAN tags"; - } - leaf psci { - type uint64; - description - " SCI to be matched value required for - ingress only, pass NULL for egress"; - } - leaf match-priority { - type uint8; - description "priority for match 0-15(highest) "; - } - leaf tci-v { - type uint8; - description "value of 'v' in TCI to match (1bit) "; - } - leaf tci-e-xr { - type uint8; - description "value of 'es' in TCI to match (1bit) "; - } - leaf tci-sc { - type uint8; - description "value of 'sc' in TCI to match (1bit) "; - } - leaf tci-scb { - type uint8; - description "value of 'scb' in TCI to match (1bit) "; - } - leaf tci { - type uint8; - description "value of 'e' in TCI to match (1bit )"; - } - leaf tci-c { - type uint8; - description "value of 'c' in TCI to match (1bit) "; - } - leaf tci-chk { - type boolean; - description - "TCI bits will be checked only when this - bit is enabled. All the values of TCI bits - are mandatory when TCI check is used"; - } - leaf pkt-type { - type string; - description "Type of packet. See ethMscCfyEPktType_e"; - } - leaf tag-num { - type string; - description - "No. of MPLS or VLAN tags See ethMscCfyETagNum_e "; - } - leaf inner-vlan-dei { - type boolean; - description "Dei to match for innner Vlan tag"; - } - leaf outer-vlan-dei { - type boolean; - description "Dei to match for outer Vlan tag"; - } - leaf pbb-sid { - type uint32; - description " Service Instance id "; - } - leaf pbb-bvid { - type uint32; - description " Backbone Vlan id "; - } - leaf pbb-pcp { - type uint8; - description " pcp "; - } - leaf pbb-dei { - type uint8; - description " dei "; - } - leaf mpls1-label { - type uint32; - description " label "; - } - leaf mpls1-exp { - type uint8; - description " exp "; - } - leaf mpls1-bos { - type uint8; - description " botton of stack "; - } - leaf mpls2-label { - type uint32; - description " label "; - } - leaf mpls2-exp { - type uint8; - description " exp "; - } - leaf mpls2-bos { - type uint8; - description " botton of stack "; - } - leaf plain-bits { - type uint64; - units "bit"; - description - "Plain bits to compare. Max values: - untagged pkt - 40 bits after EthType - 1 VLAN tag - 24 bits after parsed EthType - 2 VLAN tags- 8 bits after parsed EthType - 1 MPLS tag - 32 bits after 1st tag - 2 MPLS tags- 8 bits following after 2nd - or atmost 5th MPLS tag - PBB - 16 bits after C-SA - PBB with VLAN tag - 16 bits of VLAN tag "; - } - leaf plain-bits-size { - type uint8; - description "No. of bits used in plainBits"; - } - leaf force-ctrl { - type boolean; - description - "Force the pkt as control pkt irrepective - of the results of control packet detector"; - } - leaf drop { - type boolean; - description "Drop the packet"; - } - leaf mask-da { - type uint64; - description "DA mask"; - } - leaf mask-ethertype { - type uint32; - description "Parsed EtherType mask"; - } - leaf mask-plain-bits { - type uint64; - description "Plain Bits mask"; - } - leaf flow-hits { - type uint64; - description "Pkts matching the Flow"; - } - leaf-list macda { - type uint8; - description "MAC DA"; - } - } - - grouping PL-ES200-FLOW { - description "Flow Details"; - - container tx-flow { - description "Tx Flow Details"; - uses PL-ES200-FLOW-INFO; - } - - container rx-flow { - description "Rx Flow Details"; - uses PL-ES200-FLOW-INFO; - } - } - - grouping PL-MSFPGA-FLOW-INFO { - description "Flow Information"; - leaf flow-id { - type uint8; - description "Flow Index"; - } - leaf valid { - type boolean; - description "Flow Validity"; - } - leaf is-egress { - type boolean; - description "rx_tx direction"; - } - leaf in-use { - type boolean; - description "In Use"; - } - leaf action { - type uint8; - description "Action"; - } - leaf smac-inuse { - type boolean; - description "If MAC SA in Use"; - } - leaf dmac-inuse { - type boolean; - description "If MAC DA in Use"; - } - leaf ethertype { - type uint16; - description "Ether Type"; - } - leaf outer-vlan { - type uint16; - description "Outer VLAN ID"; - } - leaf outer-vlan-up { - type uint8; - description "Outer Vlan UserPri"; - } - leaf outer-vlan-tpid { - type uint16; - description "Outer Vlan TPID"; - } - leaf inner-vlan { - type uint16; - description "Inner VLAN ID"; - } - leaf inner-vlan-up { - type uint8; - description "Inner Vlan UserPri"; - } - leaf inner-vlan-tpid { - type uint16; - description "Inner Vlan TPID"; - } - leaf source-port { - type uint32; - description "Source Port"; - } - leaf source-port-chk { - type boolean; - description "Source Port ChkEn"; - } - leaf sci-inuse { - type boolean; - description "If SCI in use"; - } - leaf sci { - type uint64; - description "SCI"; - } - leaf match-pri { - type uint8; - description "Match Priority"; - } - leaf is-ctrl-pkt { - type boolean; - description "Is Control Pkt"; - } - leaf ctrl-check { - type boolean; - description "Ctrl Pkt ChkEn"; - } - leaf match-untagged { - type boolean; - description "MatchUntagged"; - } - leaf match-tagged { - type boolean; - description "MatchTagged"; - } - leaf match-bad-tag { - type boolean; - description "Match Bad Tag"; - } - leaf match-kay-tag { - type boolean; - description "MatchKaYTag"; - } - leaf tci-v { - type uint8; - description "TCI V"; - } - leaf tci-e-xr { - type uint8; - description "TCI ES"; - } - leaf tci-sc { - type uint8; - description "TCI SC"; - } - leaf tci-scb { - type uint8; - description "TCI SCB"; - } - leaf tci { - type uint8; - description "TCI E"; - } - leaf tci-c { - type uint8; - description "TCI C"; - } - leaf tci-an { - type uint8; - description "TCI AN"; - } - leaf tci-an-chk { - type boolean; - description "TciAnChkEn"; - } - leaf tci-chk { - type boolean; - description "TciChkEn"; - } - leaf sai { - type uint32; - description "SAI"; - } - leaf-list macsa { - type uint8; - description "MAC SA"; - } - leaf-list macda { - type uint8; - description "MAC DA"; - } - } - - grouping PL-MSFPGA-FLOW { - description "Flow Details"; - - container tx-flow { - description "Tx Flow Details"; - uses PL-MSFPGA-FLOW-INFO; - } - - container rx-flow { - description "Rx Flow Details"; - uses PL-MSFPGA-FLOW-INFO; - } - } - - grouping PL-MACSEC-FLOW-EXT { - description "PL MACSEC FLOW EXT"; - - container msfpga-flow { - when "../type = 'macsec-msfpga'" { - description "../type = 'MACSEC_MSFPGA'"; - } - description "MSFPGA Flow Information"; - uses PL-MSFPGA-FLOW; - } - - container es200-flow { - when "../type = 'macsec-apm'" { - description "../type = 'MACSEC_APM'"; - } - description "ES200 Flow Information"; - uses PL-ES200-FLOW; - } - leaf type { - type Macsec-card; - description "type"; - } - } - - grouping PL-MACSEC-FLOW { - description "MACSec HW Flow Details"; - - container ext { - description "ext"; - uses PL-MACSEC-FLOW-EXT; - } - } - - grouping PL-ES200-RX-SA-INFO { - description "RX SA specific information"; - - container xform-params { - description " Xform Params"; - uses PL-ES200-XFORM-PARAMS; - } - leaf is-valid { - type boolean; - description "Is structure valid"; - } - leaf sa-id { - type uint8; - description "SA Index"; - } - leaf sc-no { - type uint32; - description "SC Number"; - } - leaf in-pkts-unchecked { - type uint8; - description "frame not valid & validateFrames disabled"; - } - leaf in-pkts-delayed { - type uint8; - description - "PN of packet outside replay window & - validateFrames !strict"; - } - leaf in-pkts-late { - type uint8; - description - "PN of packet outside replay window & - validateFrames strict"; - } - leaf in-pkts-ok { - type uint8; - description "packets with no error"; - } - leaf in-pkts-invalid { - type uint8; - description "packet not valid & validateFrames !strict"; - } - leaf in-pkts-not-valid { - type uint8; - description "packet not valid & validateFrames strict"; - } - leaf in-pkts-not-using-sa { - type uint8; - description - "packet assigned to SA not in use & - validateFrames strict"; - } - leaf in-pkts-unused-sa { - type uint8; - description - "packet assigned to SA not in use& validateFrames - !strict"; - } - leaf in-octets-decrypted-validated1 { - type uint8; - description "octets1 decrypted/validated"; - } - leaf in-octets-validated { - type uint8; - description "octets validated"; - } - } - - grouping PL-ES200-XFORM-PARAMS { - description "SA Xform specific information"; - leaf replay-win-size { - type uint32; - description "range of pkt nos considered valid"; - } - leaf crypt-algo { - type string; - description "Cryptographic algo used"; - } - leaf is-egress-tr { - type boolean; - description - "APM_TRUE if this is Egress Transform record, - APM_FALSE otherwise"; - } - leaf aes-key-len { - type string; - description "AES Key length"; - } - leaf assoc-num { - type uint8; - description "Association Number for egress"; - } - leaf is-seq-num64-bit { - type boolean; - description - "TRUE if Seq Num is 64-bit, FALSE if it is 32-bit"; - } - leaf bgen-auth-key { - type boolean; - description - "TRUE to generate the authKey, so authKey in this - struct not used - APM_FALSE to use provided authKey"; - } - } - - grouping PL-ES200-TX-SA-INFO { - description "TX SA specific information"; - - container xform-params { - description " Xform Params"; - uses PL-ES200-XFORM-PARAMS; - } - leaf is-valid { - type boolean; - description "Is structure valid"; - } - leaf sa-id { - type uint8; - description "SA Index"; - } - leaf sc-no { - type uint32; - description "SC Number"; - } - leaf out-pkts-too-long { - type uint8; - description "packets exceeding egress MTU"; - } - leaf out-pkts-encrypted-protected { - type uint8; - description "packets encrypted/protected"; - } - leaf out-octets-encrypted-protected1 { - type uint8; - description "octets1 encrypted/protected"; - } - leaf initial-pkt-number { - type uint8; - description "Initial Packet Number"; - } - leaf current-pkt-number { - type uint64; - description "Current packet Number"; - } - leaf max-pkt-number { - type uint64; - description "Maximum packet Number"; - } - } - - grouping PL-ES200-SA { - description "SA details"; - - container tx-sa { - description "Tx SA Details"; - uses PL-ES200-TX-SA-INFO; - } - - list rx-sa { - description "Rx SA Details"; - uses PL-ES200-RX-SA-INFO; - } - } - - grouping PL-XLFPGA-RX-SA-INFO { - description "Rx SA specific information"; - leaf protection-enable { - type boolean; - description "Protection Enabled"; - } - leaf secure-mode { - type uint32; - description "Secure Mode - Must/Should"; - } - leaf replay-protect-mode { - type boolean; - description "Replay Protect Mode"; - } - leaf validation-mode { - type uint32; - description "Validation Mode"; - } - leaf replay-window { - type uint32; - description "Replay Window "; - } - leaf secure-channel-id { - type uint64; - description "Secure Channel ID"; - } - leaf cipher-suite { - type uint32; - description "Cipher Suite Used"; - } - leaf confidentiality-offset { - type uint8; - description "Confidentiality Offset"; - } - leaf fcs-err-cfg { - type uint32; - description "FCS Error Config"; - } - leaf auth-err-cfg { - type uint32; - description "Auth Error Config"; - } - leaf max-packet-num { - type uint64; - description "Max Packet Number"; - } - leaf num-an-in-use { - type uint32; - description "Num of AN's in Use"; - } - leaf an { - type yang:hex-string; - description "Association Number"; - } - leaf recent-an { - type uint8; - description "Recent Association Num"; - } - leaf pkt-untagged-detected { - type boolean; - description "Untagged Pkts Detected"; - } - leaf pkt-tagged-detected { - type boolean; - description "Tagged Pkts Detected"; - } - leaf pkt-tagged-validated { - type boolean; - description "Tagged Pkts Validated"; - } - leaf current-packet-num { - type uint64; - description "Current Packet Number"; - } - leaf-list ssci { - type uint32; - max-elements "4"; - description "Short Secure Channel ID"; - } - leaf-list lowest-acceptable-packet-num { - type uint64; - max-elements "4"; - description "Lowest Acceptable Packet Number"; - } - leaf-list next-expected-packet-num { - type uint64; - max-elements "4"; - description "Next expected Packet Number"; - } - leaf-list crc-value { - type uint32; - max-elements "4"; - description "CRC Value"; - } - } - - grouping PL-XLFPGA-TX-SA-INFO { - description "Tx SA specific information"; - leaf protection-enable { - type boolean; - description "Protection Enabled"; - } - leaf secure-mode { - type uint8; - description "Secure Mode - Must/Should"; - } - leaf secure-channel-id { - type uint64; - description "Secure Channel ID"; - } - leaf sectag-length { - type uint32; - units "byte"; - description "Sec Tag Length(bytes) "; - } - leaf cipher-suite { - type uint32; - description "Cipher Suite Used"; - } - leaf confidentiality-offset { - type uint8; - description "Confidentiality Offset"; - } - leaf fcs-err-cfg { - type uint8; - description "FCS Error Config"; - } - leaf max-packet-num { - type uint64; - description "Max Packet Number"; - } - leaf an { - type uint8; - description "Association Number"; - } - leaf initial-packet-number { - type uint64; - description "Initial Packet Number"; - } - leaf ssci { - type uint32; - description "Short Secure Channel ID"; - } - leaf current-packet-num { - type uint64; - description "Current Packet Number"; - } - leaf crc-value { - type uint32; - description "CRC Value"; - } - } - - grouping PL-XLFPGA-SA { - description "Xilinx FPGA SA Detail"; - - container tx-sa { - description "Tx SA Details"; - uses PL-XLFPGA-TX-SA-INFO; - } - - container rx-sa { - description "Rx SA Details"; - uses PL-XLFPGA-RX-SA-INFO; - } - } - - grouping PL-MSFPGA-SA-INFO { - description "SA specific information"; - leaf sa-id { - type uint8; - description "SA Index"; - } - leaf valid { - type boolean; - description "SA Validity"; - } - leaf is-egress { - type boolean; - description "rx_tx direction"; - } - leaf crypto-algo { - type uint8; - description "Crypto Algorithm"; - } - leaf key-len { - type uint8; - description "Key Length"; - } - leaf an { - type uint8; - description "Association Number"; - } - leaf xpn { - type uint8; - description "XPN EN"; - } - leaf sci { - type uint64; - description "SCI"; - } - leaf in-use { - type boolean; - description "In Use"; - } - leaf next-pn { - type uint64; - description "Next Packet Number"; - } - leaf c-offset { - type uint8; - description "Conf offset"; - } - leaf action { - type uint8; - description "Action"; - } - leaf q-bit { - type boolean; - description "Q bit"; - } - leaf qq-bit { - type boolean; - description "QQ bit"; - } - } - - grouping PL-MSFPGA-SA { - description "SA details"; - - container tx-sa { - description "Tx SA Details"; - uses PL-MSFPGA-SA-INFO; - } - - container rx-sa { - description "Rx SA Details"; - uses PL-MSFPGA-SA-INFO; - } - } - - grouping PL-MACSEC-SA-EXT { - description "PL MACSEC SA EXT"; - - container msfpga-sa { - when "../type = 'macsec-msfpga'" { - description "../type = 'MACSEC_MSFPGA'"; - } - description "MSFPGA SA Information"; - uses PL-MSFPGA-SA; - } - - container xlfpga-sa { - when "../type = 'macsec-xlmsfpga'" { - description "../type = 'MACSEC_XLMSFPGA'"; - } - description "XLFPGA SA Information"; - uses PL-XLFPGA-SA; - } - - container es200-sa { - when "../type = 'macsec-apm'" { - description "../type = 'MACSEC_APM'"; - } - description "ES200 SA Information"; - uses PL-ES200-SA; - } - leaf type { - type Macsec-card; - description "type"; - } - } - - grouping PL-MACSEC-SA { - description "MACSec HW SA Details"; - - container ext { - description "ext"; - uses PL-MACSEC-SA-EXT; - } - } - - grouping PL-ES200-PORT-LEVEL-STATS { - description "Port Level Stats"; - leaf multi-flow-match { - type uint64; - description "Pkts matching multiple flow entries"; - } - leaf parser-dropped { - type uint64; - description "Pkts dropped by header parser as invalid"; - } - leaf flow-miss { - type uint64; - description "Pkts matching none of flow entries"; - } - leaf pkts-ctrl { - type uint64; - description "Control pkts forwarded"; - } - leaf pkts-data { - type uint64; - description "Data pkts forwarded"; - } - leaf pkts-dropped { - type uint64; - description "Pkts dropped by classifier"; - } - leaf pkts-err-in { - type uint64; - description "Pkts received with an error indication"; - } - } - - grouping PL-ES200-RX-INTERFACE-MACSEC-STATS { - description "Per Interface Macsec Ingress Stats"; - leaf transform-error-pkts { - type uint64; - description - "counter to count internal errors in the MACSec - core"; - } - leaf in-pkt-ctrl { - type uint64; - description - "ingress packet that is classified as control - packet"; - } - leaf in-pkt-no-tag { - type uint64; - description - "ingress packet untagged & validateFrames is - strict"; - } - leaf in-pkts-untagged { - type uint64; - description - "ingress packet untagged & validateFrames is - !strict"; - } - leaf in-pkt-bad-tag { - type uint64; - description - "ingress frames received with an invalid MACSec - tag or ICV - added with next one gives InPktsSCIMiss"; - } - leaf in-pkt-no-sci { - type uint64; - description - "correctly tagged ingress frames for which no - valid SC found & - validateFrames is strict"; - } - leaf in-pkts-unknown-sci { - type uint64; - description - "correctly tagged ingress frames for which no - valid SC found & - validateFrames is !strict"; - } - leaf in-pkts-tagged-ctrl { - type uint64; - description "ingress packets that are control or KaY packets"; - } - leaf in-octets-unctrl { - type uint64; - description "Octets rx on uncontrolled port"; - } - leaf in-octets-ctrl { - type uint64; - description "Octets rx on controlled port"; - } - leaf in-ucast-pkts-unctrl { - type uint64; - description "Unicast pkts rx on uncontrolled port"; - } - leaf in-ucast-pkts-ctrl { - type uint64; - description "Unicast pkts rx on controlled port"; - } - leaf in-mcast-pkts-unctrl { - type uint64; - description "Multicast pkts rx on uncontrolled port"; - } - leaf in-mcast-pkts-ctrl { - type uint64; - description "Multicast pkts rx on controlled port"; - } - leaf in-bcast-pkts-unctrl { - type uint64; - description "Broadcast pkts rx on uncontrolled port"; - } - leaf in-bcast-pkts-ctrl { - type uint64; - description "Broadcast pkts rx on controlled port"; - } - leaf in-rx-drop-pkts-unctrl { - type uint64; - description "Control pkts dropped due to overrun"; - } - leaf in-rx-drop-pkts-ctrl { - type uint64; - description "Data pkts dropped due to overrun"; - } - leaf in-rx-error-pkts-unctrl { - type uint64; - description "Control pkts error-terminated due to overrun"; - } - leaf in-rx-error-pkts-ctrl { - type uint64; - description "Data pkts error-terminated due to overrun"; - } - leaf in-drop-pkts-class { - type uint64; - description - "Packets dropped due to overflow in - classification pipeline"; - } - leaf in-drop-pkts-data { - type uint64; - description - "Packets dropped due to overflow in processing - pipeline"; - } - } - - grouping PL-ES200-TX-INTERFACE-MACSEC-STATS { - description "Per Interface Macsec Egress Stats"; - leaf transform-error-pkts { - type uint64; - description - "counter to count internal errors in the MACSec - core"; - } - leaf out-pkt-ctrl { - type uint64; - description - "egress packet that is classified as control - packet"; - } - leaf out-pkts-untagged { - type uint64; - description - "egress packet to go out untagged when - protectFrames not set"; - } - leaf out-octets-unctrl { - type uint64; - description "Octets tx on uncontrolled port"; - } - leaf out-octets-ctrl { - type uint64; - description "Octets tx on controlled port"; - } - leaf out-octets-common { - type uint64; - description "Octets tx on common port"; - } - leaf out-ucast-pkts-unctrl { - type uint64; - description "Unicast pkts tx on uncontrolled port"; - } - leaf out-ucast-pkts-ctrl { - type uint64; - description "Unicast pkts tx on controlled port"; - } - leaf out-mcast-pkts-unctrl { - type uint64; - description "Multicast pkts tx on uncontrolled port"; - } - leaf out-mcast-pkts-ctrl { - type uint64; - description "Multicast pkts tx on controlled port"; - } - leaf out-bcast-pkts-unctrl { - type uint64; - description "Broadcast pkts tx on uncontrolled port"; - } - leaf out-bcast-pkts-ctrl { - type uint64; - description "Broadcast pkts tx on controlled port"; - } - leaf out-rx-drop-pkts-unctrl { - type uint64; - description "Control pkts dropped due to overrun"; - } - leaf out-rx-drop-pkts-ctrl { - type uint64; - description "Data pkts dropped due to overrun"; - } - leaf out-rx-err-pkts-unctrl { - type uint64; - description "Control pkts error-terminated due to overrun"; - } - leaf out-rx-err-pkts-ctrl { - type uint64; - description "Data pkts error-terminated due to overrun"; - } - leaf out-drop-pkts-class { - type uint64; - description - "Packets dropped due to overflow in - classification pipeline"; - } - leaf out-drop-pkts-data { - type uint64; - description - "Packets dropped due to overflow in processing - pipeline"; - } - } - - grouping PL-ES200-RX-SC-MACSEC-STATS { - description "RX SC Stats"; - leaf in-pkts-sa-not-in-use { - type uint64; - description "Packets received with SA not in use"; - } - } - - grouping PL-ES200-TX-SC-MACSEC-STATS { - description "TX SC Stats"; - leaf out-pkts-sa-not-in-use { - type uint64; - description "Packets received with SA not in use"; - } - } - - grouping PL-ES200-RX-SA-STATS { - description "Per SA Ingress Stats"; - leaf in-pkts-unchecked { - type uint64; - description "frame not valid & validateFrames disabled"; - } - leaf in-pkts-delayed { - type uint64; - description - "PN of packet outside replay window & - validateFrames !strict"; - } - leaf in-pkts-late { - type uint64; - description - "PN of packet outside replay window & - validateFrames strict"; - } - leaf in-pkts-ok { - type uint64; - description "packets with no error"; - } - leaf in-pkts-invalid { - type uint64; - description "packet not valid & validateFrames !strict"; - } - leaf in-pkts-not-valid { - type uint64; - description "packet not valid & validateFrames strict"; - } - leaf in-pkts-not-using-sa { - type uint64; - description - "packet assigned to SA not in use & - validateFrames strict"; - } - leaf in-pkts-unused-sa { - type uint64; - description - "packet assigned to SA not in use & - validateFrames !strict"; - } - leaf in-octets-decrypted-validated1 { - type uint64; - description "octets1 decrypted/validated"; - } - leaf in-octets-validated { - type uint64; - description "octets validated"; - } - } - - grouping PL-ES200-TX-SA-STATS { - description "Per SA Egress Stats"; - leaf out-pkts-too-long { - type uint64; - description "packets exceeding egress MTU"; - } - leaf out-pkts-encrypted-protected { - type uint64; - description "packets encrypted/protected"; - } - leaf out-octets-encrypted-protected1 { - type uint64; - description "octets1 encrypted/protected ?"; - } - } - - grouping PL-ES200-STATS { - description "Stats Details"; - - container tx-sa-stats { - description "Tx SA Stats"; - uses PL-ES200-TX-SA-STATS; - } - - container rx-sa-stats { - description "Rx SA Stats"; - uses PL-ES200-RX-SA-STATS; - } - - container tx-sc-macsec-stats { - description "Tx SC Macsec Stats"; - uses PL-ES200-TX-SC-MACSEC-STATS; - } - - container rx-sc-macsec-stats { - description "Rx SC Macsec Stats"; - uses PL-ES200-RX-SC-MACSEC-STATS; - } - - container tx-interface-macsec-stats { - description "Tx interface Macsec Stats"; - uses PL-ES200-TX-INTERFACE-MACSEC-STATS; - } - - container rx-interface-macsec-stats { - description "Rx interface Macsec Stats"; - uses PL-ES200-RX-INTERFACE-MACSEC-STATS; - } - - container tx-port-stats { - description "Port level TX Stats"; - uses PL-ES200-PORT-LEVEL-STATS; - } - - container rx-port-stats { - description "Port level RX Stats"; - uses PL-ES200-PORT-LEVEL-STATS; - } - } - - grouping PL-XLFPGA-MACSEC-RX-SA-STATS { - description "Rx SA Level Stats"; - leaf an { - type uint64; - description "Current Rx AN"; - } - leaf sa-ok-pkts { - type uint64; - description "Rx Ok Pkts for Current AN"; - } - leaf sa-not-using-pkts { - type uint64; - description "Rx Pkts not using SA for Current AN"; - } - leaf sa-unused-pkts { - type uint64; - description "Rx Pkts Unused Pkts for Current AN"; - } - leaf sa-not-valid-pkts { - type uint64; - description "Rx Not Valid Pkts for Current AN"; - } - leaf sa-invalid-pkts { - type uint64; - description "Rx Invalid Pkts for current AN"; - } - } - - grouping PL-XLFPGA-MACSEC-RX-STATS { - description "Per SC and SA Level Rx Stats"; - leaf sc-decrypted-octets { - type uint64; - description "Rx Octets Decrypted"; - } - leaf sc-no-tag-pkts { - type uint64; - description "Rx No Tag Packets"; - } - leaf sc-untagged-pkts { - type uint64; - description "Rx Untagged Packets"; - } - leaf sc-bad-tag-pkts { - type uint64; - description "Rx Bad Tag Packets"; - } - leaf sc-late-pkts { - type uint64; - description "Rx Late Pkts"; - } - leaf sc-delayed-pkts { - type uint64; - description "Rx Delayed Pkts"; - } - leaf sc-unchecked-pkts { - type uint64; - description "Rx Unchecked Pkts"; - } - leaf sc-no-sci-pkts { - type uint64; - description "Rx No SCI Pkts"; - } - leaf sc-unknown-sci-pkts { - type uint64; - description "Rx Unknown SCI Pkts"; - } - leaf sc-ok-pkts { - type uint64; - description "Rx Pkts Ok"; - } - leaf sc-not-using-pkts { - type uint64; - description "Rx Pkts Not Using SA"; - } - leaf sc-unused-pkts { - type uint64; - description "Rx Pkts Unused SA"; - } - leaf sc-not-valid-pkts { - type uint64; - description "Rx Not Valid Pkts"; - } - leaf sc-invalid-pkts { - type uint64; - description "Rx Pkts Invalid"; - } - leaf sc-overrun-pkts { - type uint64; - description "Rx Overrun Pkts"; - } - leaf sc-bypass-pkts { - type uint64; - description "Rx Bypass Packets"; - } - leaf sc-eapol-pkts { - type uint64; - description "Rx Eapol Packets"; - } - leaf sc-dropped-pkts { - type uint64; - description "Rx Dropped Packets"; - } - - list rx-sa-stat { - description "Rx SA Level Stats"; - uses PL-XLFPGA-MACSEC-RX-SA-STATS; - } - } - - grouping PL-XLFPGA-MACSEC-TX-STATS { - description "Per SC and SA Level Tx Stats"; - leaf sc-encrypted-octets { - type uint64; - description "Tx Octets Encrypted"; - } - leaf sc-toolong-pkts { - type uint64; - description "Tx Pkts Too Long"; - } - leaf sc-encrypted-pkts { - type uint64; - description "Tx packets Encrypted"; - } - leaf sc-untagged-pkts { - type uint64; - description "Tx Untagged Packets"; - } - leaf sc-overrun-pkts { - type uint64; - description "Tx Overrun Packets"; - } - leaf sc-bypass-pkts { - type uint64; - description "Tx Bypass Packets"; - } - leaf sc-eapol-pkts { - type uint64; - description "Tx Eapol Packets"; - } - leaf sc-dropped-pkts { - type uint64; - description "Tx Dropped Packets"; - } - leaf current-an { - type uint64; - description "Current Tx AN"; - } - leaf sa-encrypted-pkts { - type uint64; - description "Current Tx SA Encrypted Packets"; - } - } - - grouping PL-XLFPGA-STATS { - description "XLFPGA Stats Details"; - - container macsec-tx-stats { - description "Tx SC and SA Level Stats"; - uses PL-XLFPGA-MACSEC-TX-STATS; - } - - container macsec-rx-stats { - description "Rx SC and SA Level Stats"; - uses PL-XLFPGA-MACSEC-RX-STATS; - } - } - - grouping PL-MSFPGA-RX-INTERFACE-MACSEC-STATS { - description "Per Interface Macsec Ingress Stats"; - leaf in-pkt-untagged { - type uint64; - description "Rx Pkts Untagged"; - } - leaf in-pkt-notag { - type uint64; - description "Rx Pkts Notag"; - } - leaf in-pkt-bad-tag { - type uint64; - description "Rx Pkts Bad tag"; - } - leaf in-pkt-no-sci { - type uint64; - description "Rx Pkts No Sci"; - } - leaf in-pkt-unknown-sci { - type uint64; - description "Rx Pkts Unknown Sci"; - } - leaf in-pkt-tagged { - type uint64; - description "Rx Pkts Tagged"; - } - leaf in-pkt-overrun { - type uint64; - description "Rx Pkts Over Run"; - } - leaf in-pkt-uncontrolled { - type uint64; - description "Rx Pkts Uncontrolled"; - } - } - - grouping PL-MSFPGA-TX-INTERFACE-MACSEC-STATS { - description "Per Interface Macsec Egress Stats"; - leaf out-pkt-uncontrolled { - type uint64; - description "Tx Pkts Uncontrolled"; - } - leaf out-pkt-untagged { - type uint64; - description "Tx Pkts Untagged"; - } - leaf out-pkt-too-long { - type uint64; - description "Tx Pkts Too Long"; - } - } - - grouping PL-MSFPGA-RX-SA-STATS { - description "Per SA Ingress Stats"; - leaf in-pkts-unused-sa { - type uint64; - description "Rx Pkts Unused SA"; - } - leaf in-pkts-not-using-sa { - type uint64; - description "Rx Pkts Not Using SA"; - } - leaf in-pkts-not-valid { - type uint64; - description "Rx Pkts Not Valid"; - } - leaf in-pkts-invalid { - type uint64; - description "Rx Pkts Invalid"; - } - leaf in-pkts-ok { - type uint64; - description "Rx Pkts OK"; - } - leaf in-pkts-delayed { - type uint64; - description "Rx Pkts Delayed"; - } - leaf in-pkts-late { - type uint64; - description "Rx Pkts Late"; - } - leaf in-pkts-unchecked { - type uint64; - description "Rx Pkts Unchecked"; - } - leaf in-octets-validated { - type uint64; - description "Rx Octets Validated"; - } - leaf in-octets-decrypted { - type uint64; - description "Rx Octets Decrypted"; - } - } - - grouping PL-MSFPGA-TX-SA-STATS { - description "Per SA Egress Stats"; - leaf out-pkts-protected { - type uint64; - description "Tx Pkts Protected"; - } - leaf out-pkts-encrypted { - type uint64; - description "Tx Pkts Encrypted"; - } - leaf out-octets-protected { - type uint64; - description "Tx Octets Protected"; - } - leaf out-octets-encrypted { - type uint64; - description "Tx Octets Encrypted"; - } - } - - grouping PL-MSFPGA-STATS { - description "Stats Details"; - - container tx-sa-stats { - description "Tx SA Stats"; - uses PL-MSFPGA-TX-SA-STATS; - } - - container rx-sa-stats { - description "Rx SA Stats"; - uses PL-MSFPGA-RX-SA-STATS; - } - - container tx-interface-macsec-stats { - description "Tx interface Macsec Stats"; - uses PL-MSFPGA-TX-INTERFACE-MACSEC-STATS; - } - - container rx-interface-macsec-stats { - description "Rx interface Macsec Stats"; - uses PL-MSFPGA-RX-INTERFACE-MACSEC-STATS; - } - } - - grouping PL-MACSEC-STATS-T-EXT { - description "PL MACSEC STATS T EXT"; - - container msfpga-stats { - when "../type = 'macsec-msfpga'" { - description "../type = 'MACSEC_MSFPGA'"; - } - description "MSFPGA Stats"; - uses PL-MSFPGA-STATS; - } - - container xlfpga-stats { - when "../type = 'macsec-xlmsfpga'" { - description "../type = 'MACSEC_XLMSFPGA'"; - } - description "XLFPGA Stats"; - uses PL-XLFPGA-STATS; - } - - container es200-stats { - when "../type = 'macsec-apm'" { - description "../type = 'MACSEC_APM'"; - } - description "ES200 Stats"; - uses PL-ES200-STATS; - } - leaf type { - type Macsec-card; - description "type"; - } - } - - grouping PL-MACSEC-STATS { - description "Per SA Stats Counters"; - - container ext { - description "ext"; - uses PL-MACSEC-STATS-T-EXT; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper.yang deleted file mode 100644 index 61d3843..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-pl-oper.yang +++ /dev/null @@ -1,119 +0,0 @@ -module Cisco-IOS-XR-crypto-macsec-pl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-crypto-macsec-pl-oper"; - - - prefix "crypto-macsec-pl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-crypto-macsec-pl-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-pl package operational data. - - This module contains definitions - for the following management objects: - macsec-platform: MACSec operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container macsec-platform { - config false; - description "MACSec operational data"; - - container nodes { - description "NodeTable for all the nodes"; - - list node { - key "node-name"; - description "Node where macsec interfaces exist"; - - container interfaces { - description "Table of Interfaces"; - - list interface { - key "name"; - description "Interface Where Macsec is configured"; - - container hw-statistics { - description "The Hardware Statistics"; - uses PL-MACSEC-STATS; - } - - container hw-sas { - description "Table of Hardware SAs"; - - list hw-sa { - key "sa-id"; - description "Hardware Security Association"; - leaf sa-id { - type int32; - description "SA ID"; - } - uses PL-MACSEC-SA; - } - } - - container hw-flow-s { - description "Table of Hardware Flows"; - - list hw-flow { - key "flow-id"; - description "Hardware Flow"; - leaf flow-id { - type int32; - description "FLOW ID"; - } - uses PL-MACSEC-FLOW; - } - } - - container sw-statistics { - description "The Software Statistics"; - uses PL-MACSEC-STATS; - } - leaf name { - type xr:Interface-name; - description "Value"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang deleted file mode 100644 index 9687776..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang +++ /dev/null @@ -1,241 +0,0 @@ -submodule Cisco-IOS-XR-crypto-macsec-secy-oper-sub1 { - - belongs-to Cisco-IOS-XR-crypto-macsec-secy-oper { - prefix Cisco-IOS-XR-crypto-macsec-secy-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-secy package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MACSEC-RX-SA-STATS { - description "MACSEC RX SA STATS"; - leaf in-pkts-ok { - type uint64; - description "InPktsOK"; - } - leaf in-pkts-invalid { - type uint64; - description "InPktsInvalid"; - } - leaf in-pkts-not-valid { - type uint64; - description "InPktsNotValid"; - } - leaf in-pkts-not-using-sa { - type uint64; - description "InPktsNotUsingSA"; - } - leaf in-pkts-unused-sa { - type uint64; - description "InPktsUnusedSA"; - } - leaf next-pn { - type uint64; - description "NextPN"; - } - } - - grouping MACSEC-RX-SC-STATS { - description "MACSEC RX SC STATS"; - leaf rx-sci { - type uint64; - description "Rx SCI"; - } - leaf in-pkts-unchecked { - type uint64; - description "InPktsUnchecked"; - } - leaf in-pkts-delayed { - type uint64; - description "InPktsDelayed"; - } - leaf in-pkts-late { - type uint64; - description "InPktsLate"; - } - leaf in-pkts-ok { - type uint64; - description "InPktsOK"; - } - leaf in-pkts-invalid { - type uint64; - description "InPktsInvalid"; - } - leaf in-pkts-not-valid { - type uint64; - description "InPktsNotValid"; - } - leaf in-pkts-not-using-sa { - type uint64; - description "InPktsNotUsingSA"; - } - leaf in-pkts-unused-sa { - type uint64; - description "InPktsUnusedSA"; - } - leaf in-pkts-untagged-hit { - type uint64; - description "InPktsUntaggedHit"; - } - leaf in-octets-validated { - type uint64; - description "InOctetsValidated"; - } - leaf in-octets-decrypted { - type uint64; - description "InOctetsDecrypted"; - } - - list rxsa-stat { - description "rxsa stats"; - uses MACSEC-RX-SA-STATS; - } - } - - grouping MACSEC-TX-SA-STATS { - description "MACSEC TX SA STATS"; - leaf out-pkts-protected { - type uint64; - description "OutPktsProtected"; - } - leaf out-pkts-encrypted { - type uint64; - description "OutPktsEncrypted"; - } - leaf next-pn { - type uint64; - description "NextPN"; - } - } - - grouping MACSEC-TX-SC-STATS { - description "MACSEC TX SC STATS"; - leaf tx-sci { - type uint64; - description "Tx SCI"; - } - leaf out-pkts-protected { - type uint64; - description "OutPktsProtected"; - } - leaf out-pkts-encrypted { - type uint64; - description "OutPktsEncrypted"; - } - leaf out-octets-protected { - type uint64; - description "OutOctetsProtected"; - } - leaf out-octets-encrypted { - type uint64; - description "OutOctetsEncrypted"; - } - leaf out-pkts-too-long { - type uint64; - description "OutPktsTooLong"; - } - - list txsa-stat { - description "tx sa stats"; - uses MACSEC-TX-SA-STATS; - } - } - - grouping MACSEC-IF-STATS { - description "MACSEC IF STATS"; - leaf in-pkts-untagged { - type uint64; - description "InPktsUntagged"; - } - leaf in-pkts-no-tag { - type uint64; - description "InPktsNoTag"; - } - leaf in-pkts-bad-tag { - type uint64; - description "InPktsBadTag"; - } - leaf in-pkts-unknown-sci { - type uint64; - description "InPktsUnknownSCI"; - } - leaf in-pkts-no-sci { - type uint64; - description "InPktsNoSCI"; - } - leaf in-pkts-overrun { - type uint64; - description "InPktsOverrun"; - } - leaf in-octets-validated { - type uint64; - description "InOctetsValidated"; - } - leaf in-octets-decrypted { - type uint64; - description "InOctetsDecrypted"; - } - leaf out-pkts-untagged { - type uint64; - description "OutPktsUntagged"; - } - leaf out-pkts-too-long { - type uint64; - description "OutPktsTooLong"; - } - leaf out-octets-protected { - type uint64; - description "OutOctetsProtected"; - } - leaf out-octets-encrypted { - type uint64; - description "OutOctetsEncrypted"; - } - } - - grouping MACSEC-SECY-STATS { - description "MACSEC SECY STATS"; - - container intf-stats { - description "Interface stats"; - uses MACSEC-IF-STATS; - } - - container tx-sc-stats { - description "Tx SC Stats"; - uses MACSEC-TX-SC-STATS; - } - - list rx-sc-stats { - description "RX SC Stats List"; - uses MACSEC-RX-SC-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper.yang deleted file mode 100644 index 8fc217c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-macsec-secy-oper.yang +++ /dev/null @@ -1,77 +0,0 @@ -module Cisco-IOS-XR-crypto-macsec-secy-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-crypto-macsec-secy-oper"; - - - prefix "crypto-macsec-secy-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-crypto-macsec-secy-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-macsec-secy package operational data. - - This module contains definitions - for the following management objects: - macsec: Macsec operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container macsec { - config false; - description "Macsec operational data"; - - container secy { - description "MAC Security Entity"; - - container interfaces { - description "MAC Security Data"; - - list interface { - key "name"; - description "MAC Security Data for the Interface"; - - container stats { - description "MACsec Stats"; - uses MACSEC-SECY-STATS; - } - leaf name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-cfg.yang deleted file mode 100644 index d14baee..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-cfg.yang +++ /dev/null @@ -1,83 +0,0 @@ -module Cisco-IOS-XR-crypto-sam-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg"; - - - prefix "crypto-sam-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-sam package configuration. - - This module contains definitions - for the following management objects: - crypto: Crypto configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Crypto-sam-action { - type enumeration { - enum proceed { - value 1; - description "To respond YES to the SAM prompt"; - } - enum terminate { - value 2; - description "To respond NO to the SAM prompt"; - } - } - description "Crypto sam action"; - } - - container crypto { - description "Crypto configuration"; - - container sam { - description "Software Authentication Manager (SAM) Config"; - - container prompt-interval { - presence "Indicates a prompt-interval node is configured."; - description "Set prompt interval at reboot time"; - leaf action { - type Crypto-sam-action; - mandatory true; - description - "Respond to SAM prompt either Proceed/Terminate"; - } - leaf prompt-time { - type uint32 { - range "0..300"; - } - units "second"; - mandatory true; - description "Prompt time from 0 - 300 seconds"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper-sub1.yang deleted file mode 100644 index b1bf7fa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper-sub1.yang +++ /dev/null @@ -1,310 +0,0 @@ -submodule Cisco-IOS-XR-crypto-sam-oper-sub1 { - - belongs-to Cisco-IOS-XR-crypto-sam-oper { - prefix Cisco-IOS-XR-crypto-sam-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR crypto-sam package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Log-tables { - type enumeration { - enum unkown { - description "Table is not known"; - } - enum memory-digest-table { - description "Table is memory digest table"; - } - enum system-database-digest { - description "Table is system database digest table"; - } - enum sam-tables { - description "Table is SAM table"; - } - } - description "Log tables"; - } - typedef Certificate-issuer { - type enumeration { - enum unknown { - description "Issuer is not known"; - } - enum code-signing-server-certificate-authority { - description - "Issuer is code signing server certificate - authority"; - } - } - description "Certificate issuers"; - } - typedef Log-error { - type enumeration { - enum unknown { - description "Log error is not known"; - } - enum log-message-error { - description "Log error is message error"; - } - enum get-issuer-name-failed { - description "Log error is get issuer name failed"; - } - } - description "Log errors"; - } - typedef Log-code { - type enumeration { - enum unknown { - description "Log code is not known"; - } - enum sam-server-restared-router-reboot { - description - "Log code is SAM server restarted through router - reboot"; - } - enum sam-server-restared { - description "Log code is SAM server restarted"; - } - enum added-certificate-in-table { - description "Log code is Added certificate in table"; - } - enum copied-certificate-in-table { - description "Log code is Copied certificate in table"; - } - enum certificate-flag-changed { - description "Log code is Certificate flag changed"; - } - enum validated-certificate { - description "Log code is validated ceritificate"; - } - enum certificate-expired-detected { - description "Log code is Ceritificate expired detected"; - } - enum certificate-revoked-detected { - description "Log code is Ceritificate revoked detected"; - } - enum ca-certificate-expired-detected { - description "Log code is CA Ceritificate expired detected"; - } - enum ca-certificate-revoked-detected { - description "Log code is CA Ceritificate revoked detected"; - } - enum deleted-certificate-from-table { - description "Log code is Deleted certificate from table"; - } - enum crl-added-updated-in-table { - description "Log code is CRL added/updated in table"; - } - enum checked-memory-digest { - description "Log code is Checked memory digest"; - } - enum nvram-digest-mismatch-detected { - description "Log code is NVRAM digest Mistmatch detected"; - } - enum insecure-backup-file-detected { - description "Log code is Insecure backup file detected"; - } - enum error-restore-operation { - description - "Log code is Error during restore operation, - backup file might have not been intact"; - } - enum backup-file-on-nvram-deleted { - description - "Log code is Found backup file on NVRAM for SAM - log had been deleted"; - } - enum sam-log-file-recovered-from-system-database { - description - "Log code is SAM log backup file recovered from - system database"; - } - enum validated-elf { - description "Log code is validated ELF"; - } - enum namespace-deleted-recovered-by-sam { - description - "Log code is SAM system database name space - deleted/recovered by SAM"; - } - } - description "Log code types"; - } - - grouping ISSUER-INFO { - description "CRL issuer information"; - leaf common-name { - type string; - description "Common name"; - } - leaf organization { - type string; - description "Organization"; - } - leaf country { - type string; - description "Country"; - } - } - - grouping CRYPTO-SAM-CRL-INFO { - description "CRL table entry information"; - - container issuer { - description "Issuer name"; - uses ISSUER-INFO; - } - leaf crl-index { - type uint16; - description " CRL index"; - } - leaf updates { - type string; - description "Updated time of CRL is displayed"; - } - } - - grouping FLAGS { - description "Certificate flags"; - leaf is-trusted { - type boolean; - description "Trusted flag"; - } - leaf is-revoked { - type boolean; - description "Revoked flag"; - } - leaf is-expired { - type boolean; - description "Expired flag"; - } - leaf is-validated { - type boolean; - description "Validated flag"; - } - } - - grouping CRYPTO-SAM-CERTIFICATE-COMMON { - description "Certificate table common information"; - - container certificate-flags { - description "Certificate flags"; - uses FLAGS; - } - leaf location { - type string; - description "Certificate location"; - } - leaf certificate-index { - type uint16; - description "Certificate index"; - } - } - - grouping LOG-SAM-INFO { - description "SAM log information"; - leaf time { - type string; - description "Log time"; - } - leaf code { - type Log-code; - description "Log code"; - } - leaf target-device { - type string; - description "Target device"; - } - leaf index { - type uint32; - description "Device index"; - } - leaf error { - type Log-error; - description "Log error message"; - } - leaf issuer { - type Certificate-issuer; - description "Issuer of the certificate"; - } - leaf serial-no { - type string; - description "Serial number"; - } - leaf sam-table-index { - type uint32; - description "SAM table index"; - } - leaf update-time { - type string; - description "Last update time of the certificate"; - } - leaf source-device { - type string; - description "source device name"; - } - leaf table { - type Log-tables; - description "Log table information"; - } - } - - grouping CRYPTO-LOG { - description "SAM logs data"; - leaf total-entries { - type uint32; - description "Total log entries available"; - } - leaf entries-shown { - type uint32; - description "Total entries shown"; - } - - list logs { - description "SAM logs"; - uses LOG-SAM-INFO; - } - } - - grouping CRYPTO-SAM-SYSINFO { - description "SAM system information"; - leaf is-running { - type boolean; - description "True if SAM status information runs"; - } - leaf prompt-interval { - type uint32; - units "second"; - description "Prompt interval atreboot time in seconds"; - } - leaf is-default-response { - type boolean; - description "True if promptdefault response is true"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper.yang deleted file mode 100644 index 77db4cf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-sam-oper.yang +++ /dev/null @@ -1,159 +0,0 @@ -module Cisco-IOS-XR-crypto-sam-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper"; - - - prefix "crypto-sam-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-crypto-sam-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-sam package operational data. - - This module contains definitions - for the following management objects: - sam: Software authentication manager certificate information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container sam { - config false; - description - "Software authentication manager certificate - information"; - - container system-information { - description "SAM system information"; - uses CRYPTO-SAM-SYSINFO; - } - - container log-contents { - description "SAM log content table information"; - - list log-content { - key "number-of-lines"; - description "Number of lines for SAM log message"; - leaf number-of-lines { - type int32; - description "Number of lines"; - } - uses CRYPTO-LOG; - } - } - - container devices { - description "Certificate device table information"; - - list device { - key "device-name"; - description "Certificate table device information"; - - container certificate { - description "Certificate table information"; - - container brief { - description "Certificate table brief information"; - uses CRYPTO-SAM-CERTIFICATE-COMMON; - } - - container certificate-indexes { - description - "Certificate detail index table information"; - - list certificate-index { - key "index"; - description "Certificate detail index information"; - - container detail { - description "Certificate table detail information"; - uses CRYPTO-SAM-CERTIFICATE-COMMON; - } - leaf index { - type int32; - description "Specify certificate index"; - } - } - } - } - leaf device-name { - type xr:Cisco-ios-xr-string; - description "Specify device name"; - } - } - } - - container packages { - description "SAM certificate information package"; - - list package { - key "package-name"; - description - "SAM certificate information for a specific - package"; - leaf package-name { - type string; - description "Specify package name"; - } - uses CRYPTO-SAM-CERTIFICATE-COMMON; - } - } - - container certificate-revocations { - description - "Certificate revocation list index table - information"; - - list certificate-revocation { - key "crl-index"; - description "Certificate revocation list index information"; - - container certificate-revocation-list-detail { - description - "Certificate revocation list detail information"; - uses CRYPTO-SAM-CRL-INFO; - } - leaf crl-index { - type int32; - description "CRL index"; - } - } - } - - container certificate-revocation-list-summary { - description - "Certificate revocation list summary information "; - uses CRYPTO-SAM-CRL-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-cfg.yang deleted file mode 100644 index a7b5dda..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-cfg.yang +++ /dev/null @@ -1,269 +0,0 @@ -module Cisco-IOS-XR-crypto-ssh-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg"; - - - prefix "crypto-ssh-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-crypto-sam-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-ssh package configuration. - - This YANG module augments the - Cisco-IOS-XR-crypto-sam-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-07-15" { - description - "Fixing client rekey support."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-07-13" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping DSCP { - description "Common node of client, server"; - leaf dscp { - type uint32 { - range "0..63"; - } - description "Cisco sshd DSCP value"; - } - } - - grouping VRF { - description "Common node of vrf-table, netconf-vrf-table"; - - list vrf { - key "vrf-name"; - description "Enter VRF name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Enter VRF name"; - } - leaf enable { - type empty; - mandatory true; - description "Enable to use VRF"; - } - leaf ipv4-access-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "SSH v4 access-list name"; - } - leaf ipv6-access-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "SSH v6 access-list name"; - } - } - } - - augment "/a1:crypto" { - - container ssh { - description "Secure Shell configuration"; - - container client { - description "Provide SSH client service"; - - container client-enable { - description "clientenable"; - - container client-cipher { - description "clientcipher"; - leaf aescbc { - type boolean; - default "false"; - description "Enable AES-CBC ciphers for client"; - } - } - } - leaf rekey-volume { - type uint32 { - range "1024..4095"; - } - default "1024"; - description "Configure client volume-based rekey for SSH"; - } - leaf host-public-key { - type string; - description "Filename - where to store known host file"; - } - leaf client-vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Source interface VRF for ssh client sessions"; - } - leaf rekey-time { - type uint32 { - range "30..1440"; - } - default "60"; - description "Configure client time-based rekey for SSH"; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface for ssh client sessions"; - } - uses DSCP; - } - - container server { - description "Provide SSH server service"; - - container disable { - description "disable"; - - container hmac { - description "hmac"; - leaf hmac-sha512 { - type boolean; - default "false"; - description "Disable Hmac-sha2-512 negotiation"; - } - } - } - - container enable { - description "enable"; - - container cipher { - description "cipher"; - leaf aescbc { - type boolean; - default "false"; - description "Enable AES-CBC ciphers"; - } - } - } - - container vrf-table { - description "Cisco sshd VRF name"; - uses VRF; - } - - container capability { - description "Capability"; - leaf netconf-xml { - type boolean; - default "false"; - description "Enable Netconf-XML stack on port 22"; - } - } - - container netconf-vrf-table { - description "Cisco sshd Netconf VRF name"; - uses VRF; - } - leaf rekey-volume { - type uint32 { - range "1024..4095"; - } - default "1024"; - description "Configure volume-based rekey for SSH"; - } - leaf session-limit { - type uint32 { - range "1..1024"; - } - description - "Cisco sshd session-limit of service requests"; - } - leaf netconf { - type uint32 { - range "1..65535"; - } - default "830"; - description - "port number on which ssh service to be started - for netconf"; - } - leaf v2 { - type empty; - description "Cisco sshd force protocol version 2 only"; - } - leaf rekey-time { - type uint32 { - range "30..1440"; - } - default "60"; - description "Time Period in minutes, defalut 60"; - } - leaf logging { - type empty; - description "Enable ssh server logging"; - } - leaf rate-limit { - type uint32 { - range "1..600"; - } - default "60"; - description "Cisco sshd rate-limit of service requests"; - } - leaf timeout { - type uint32 { - range "5..120"; - } - default "30"; - description - "Timeout value between 5-120 seconds defalut 30"; - } - uses DSCP; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-crypto-sam-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang deleted file mode 100644 index f70083a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang +++ /dev/null @@ -1,494 +0,0 @@ -submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 { - - belongs-to Cisco-IOS-XR-crypto-ssh-oper { - prefix Cisco-IOS-XR-crypto-ssh-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR crypto-ssh package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-06-02" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Connection { - type enumeration { - enum undefined { - value 0; - description "connection type not yet known"; - } - enum shell { - value 1; - description "Interactive Shell"; - } - enum exec { - value 2; - description "Remote Command Execution"; - } - enum scp { - value 3; - description "Secure Copy"; - } - enum sftp-subsystem { - value 4; - description "Secure File Transfer"; - } - enum netconf-subsystem { - value 5; - description "Netconf Subsystem"; - } - enum tl1-subsystem { - value 6; - description "TL1 Subsystem"; - } - enum netconf-xml-subsystem { - value 7; - description "Netconf XML Subsystem"; - } - } - description "SSH channel connection types"; - } - typedef Authen { - type enumeration { - enum password { - value 0; - description "Password"; - } - enum rsa-public-key { - value 1; - description "RSA public key encryption type"; - } - enum keyboard-interactive { - value 2; - description "Keyboard interactive"; - } - } - description "SSH session authentication types"; - } - typedef Version { - type enumeration { - enum v2 { - value 0; - description "Version V2"; - } - enum v1 { - value 1; - description "Version V1"; - } - } - description "SSH state versions"; - } - typedef States { - type enumeration { - enum open { - value 1; - description "SSH Open"; - } - enum version-ok { - value 2; - description "SSH version OK"; - } - enum key-exchange-initialize { - value 3; - description "Key exchange(KEX) init message exchanged"; - } - enum key-exchange-dh { - value 4; - description "Diffie-Hellman(DH) secret is generated"; - } - enum new-keys { - value 5; - description "New keys are received"; - } - enum authenticate-information { - value 6; - description "Need more information to authenticate"; - } - enum authenticated { - value 7; - description "The client successfully authenticated"; - } - enum channel-open { - value 8; - description "Channel has been successfully opened"; - } - enum pty-open { - value 9; - description "Allocated PTY"; - } - enum session-open { - value 10; - description "Opened an exec shell"; - } - enum rekey { - value 11; - description "Received rekey request"; - } - enum suspended { - value 12; - description "Session is suspended"; - } - enum session-closed { - value 13; - description "Session has been closed"; - } - } - description "SSH session states"; - } - typedef Mac { - type enumeration { - enum hmac-md5 { - value 0; - description - "Hash-based Message Authentication Code(HMAC) - MD5 algorithm"; - } - enum hmac-sha1 { - value 1; - description - "Hash-based Message Authentication Code(HMAC) - SHA1 algorithm"; - } - enum hmac-sha2-256 { - value 2; - description - "Hash-based Message Authentication Code(HMAC) - SHA2-256 algorithm"; - } - enum hmac-sha2-512 { - value 3; - description - "Hash-based Message Authentication Code(HMAC) - SHA2-512 algorithm"; - } - enum aes-gcm { - value 4; - description - "AES GCM based Authentication Tag as MAC - algorithm"; - } - } - description - "Different Message Authentication Code(MAC) - functions"; - } - typedef Cipher { - type enumeration { - enum aes128-cbc { - value 0; - description - "Advanced Encryption Standard(AES) 128 bits - cipher block chaining(CBC)"; - } - enum aes192-cbc { - value 1; - description - "Advanced Encryption Standard(AES) 192 bits - cipher block chaining(CBC)"; - } - enum aes256-cbc { - value 2; - description - "Advanced Encryption Standard(AES) 256 bits - cipher block chaining(CBC)"; - } - enum triple-des-cbc { - value 3; - description - "Triple Data Encryption Standard(DES) cipher - block chaining(CBC)"; - } - enum aes128-ctr { - value 4; - description - "Advanced Encryption Standard(AES) 128 bits - counter mode (CTR)"; - } - enum aes192-ctr { - value 5; - description - "Advanced Encryption Standard(AES) 192 bits - counter mode (CTR)"; - } - enum aes256-ctr { - value 6; - description - "Advanced Encryption Standard(AES) 256 bits - counter mode (CTR)"; - } - enum aes128-gcm { - value 7; - description - "Advanced Encryption Standard(AES) 128 bits GCM - mode (GCM)"; - } - enum aes256-gcm { - value 8; - description - "Advanced Encryption Standard(AES) 256 bits GCM - mode (GCM)"; - } - } - description "SSH session in and out cipher standards"; - } - typedef Hostkey { - type enumeration { - enum ssh-dss { - value 0; - description "Algorithm type DSS"; - } - enum ssh-rsa { - value 1; - description "Algorithm type RSA"; - } - } - description "SSH session authentication types"; - } - typedef Kex-name { - type enumeration { - enum diffie-hellman-group1 { - value 0; - description "Diffie-Hellman group 1 key exchange algorithm"; - } - enum diffie-hellman-group14 { - value 1; - description - "Diffie-Hellman group 14 key exchange algorithm"; - } - enum diffie-hellman-group15 { - value 2; - description - "Diffie-Hellman group 14 key exchange algorithm"; - } - enum diffie-hellman-group16 { - value 3; - description - "Diffie-Hellman group 16 key exchange algorithm"; - } - enum diffie-hellman-group17 { - value 4; - description - "Diffie-Hellman group 17 key exchange algorithm"; - } - enum diffie-hellman-group18 { - value 5; - description - "Diffie-Hellman key group 18 exchange algorithm"; - } - enum ecdh-nistp256 { - value 6; - description - "Elliptical curve Diffie-Hellman prime 256 key - exchange algorithm"; - } - enum ecdh-nistp384 { - value 7; - description - "Elliptical curve Diffie-Hellman prime 384 key - exchange algorithm"; - } - enum ecdh-nistp521 { - value 8; - description - "Elliptical curve Diffie-Hellman prime 521 - exchange algorithm"; - } - enum password-authenticated { - value 9; - description - "Password authenticated key agreement algorithm"; - } - } - description "Different key-exchange(kex) algorithms"; - } - - grouping SESSION-BRIEF-INFO { - description "Information for a particular session/channel"; - - list session-brief-info { - description "session brief info"; - leaf session-id { - type uint32; - description "Session ID"; - } - leaf channel-id { - type uint32; - description "Channel ID"; - } - leaf vty-assigned { - type boolean; - description - "Boolean indicating whether line VTY line number - is valid"; - } - leaf vty-line-number { - type uint32; - description "VTY line number"; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - leaf session-state { - type States; - description "SSH session state"; - } - leaf user-id { - type string; - description "User ID"; - } - leaf host-address { - type string; - description "Host address"; - } - leaf version { - type Version; - description "SSH state version"; - } - leaf authentication-type { - type Authen; - description "Authentication method"; - } - leaf connection-type { - type Connection; - description "Channel Connection Type"; - } - } - } - - grouping SSH-SESSION-BRIEF { - description "Incoming and outgoing session information"; - - container incoming-sessions { - description "List of incoming sessions"; - uses SESSION-BRIEF-INFO; - } - - container outgoing-sessions { - description "List of outgoing sessions"; - uses SESSION-BRIEF-INFO; - } - } - - grouping SESSION-REKEY-INFO { - description "Session rekey info"; - - list session-rekey-info { - description "session rekey info"; - leaf session-id { - type uint32; - description "Session ID"; - } - leaf session-rekey-count { - type uint32; - description "Session Rekey Count"; - } - leaf time-to-rekey { - type string; - description "Time To Rekey"; - } - leaf volume-to-rekey { - type string; - description "Volume To Rekey"; - } - } - } - - grouping SSH-SESSION-REKEY { - description "Incoming and outgoing session rekey details"; - - container incoming-sessions { - description "List of incoming sessions"; - uses SESSION-REKEY-INFO; - } - - container outgoing-connections { - description "List of outgoing connections"; - uses SESSION-REKEY-INFO; - } - } - - grouping SESSION-DETAIL-INFO { - description "Particular session details"; - - list session-detail-info { - description "session detail info"; - leaf session-id { - type uint32; - description "Session ID"; - } - leaf key-exchange { - type Kex-name; - description "Key exchange name"; - } - leaf public-key { - type Hostkey; - description "Host key algorithm"; - } - leaf in-cipher { - type Cipher; - description "In cipher algorithm"; - } - leaf out-cipher { - type Cipher; - description "Out cipher algorithm"; - } - leaf in-mac { - type Mac; - description "In MAC"; - } - leaf out-mac { - type Mac; - description "Out MAC"; - } - } - } - - grouping SSH-SESSION-DETAIL { - description "Incoming and outgoing session details"; - - container incoming-sessions { - description "List of incoming sessions"; - uses SESSION-DETAIL-INFO; - } - - container outgoing-connections { - description "List of outgoing connections"; - uses SESSION-DETAIL-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper.yang deleted file mode 100644 index 772bde3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-crypto-ssh-oper.yang +++ /dev/null @@ -1,107 +0,0 @@ -module Cisco-IOS-XR-crypto-ssh-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper"; - - - prefix "crypto-ssh-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-crypto-ssh-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR crypto-ssh package operational data. - - This module contains definitions - for the following management objects: - ssh1: Crypto Secure Shell(SSH) data - ssh: ssh - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-06-02" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ssh1 { - config false; - description "Crypto Secure Shell(SSH) data"; - - container kex { - description "key exchange method data"; - - container nodes { - description "Node-specific ssh session details"; - - list node { - key "node-name"; - description "SSH session details for a particular node"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses SSH-SESSION-DETAIL; - } - } - } - } - - container ssh { - config false; - description "ssh"; - - container session { - description "Crypto SSH session"; - - container rekey { - description "SSH session rekey information"; - uses SSH-SESSION-REKEY; - } - - container brief { - description "SSH session brief information"; - uses SSH-SESSION-BRIEF; - } - - container detail { - description "SSH session detail information"; - uses SSH-SESSION-DETAIL; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper-sub1.yang deleted file mode 100644 index ab0b4e2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper-sub1.yang +++ /dev/null @@ -1,1397 +0,0 @@ -submodule Cisco-IOS-XR-dnx-driver-oper-sub1 { - - belongs-to Cisco-IOS-XR-dnx-driver-oper { - prefix Cisco-IOS-XR-dnx-driver-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dnx-driver package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Asic-init-method { - type enumeration { - enum asic-init-method-unset { - value -1; - description "asic init method unset"; - } - enum asic-init-method-no-reset { - value 0; - description "asic init method no reset"; - } - enum asic-init-method-pon-reset { - value 1; - description "asic init method pon reset"; - } - enum asic-init-method-pon-reset-on-intr { - value 2; - description "asic init method pon reset on intr"; - } - enum asic-init-method-hard-reset { - value 3; - description "asic init method hard reset"; - } - enum asic-init-method-warmboot { - value 4; - description "asic init method warmboot"; - } - enum asic-init-method-issu-wb { - value 5; - description "asic init method issu wb"; - } - enum asic-init-method-pci-shutdown { - value 6; - description "asic init method pci shutdown"; - } - enum asic-init-method-quiesce { - value 7; - description "asic init method quiesce"; - } - enum asic-init-method-issu-started { - value 8; - description "asic init method issu started"; - } - enum asic-init-method-issu-rollback { - value 9; - description "asic init method issu rollback"; - } - enum asic-init-method-issu-abort { - value 10; - description "asic init method issu abort"; - } - enum asic-init-method-slice-cleanup { - value 11; - description "asic init method slice cleanup"; - } - enum asic-init-method-lc-remove { - value 12; - description "asic init method lc remove"; - } - enum asic-init-method-node-down { - value 13; - description "asic init method node down"; - } - enum asic-init-method-intr { - value 14; - description "asic init method intr"; - } - enum asic-init-method-board-reload { - value 15; - description "asic init method board reload"; - } - enum asic-init-method-max { - value 16; - description "asic init method max"; - } - } - description "Asic init method"; - } - typedef Asic-access-state { - type enumeration { - enum asic-state-unset { - value -1; - description "asic state unset"; - } - enum asic-state-none { - value 0; - description "asic state none"; - } - enum asic-state-device-off-line { - value 1; - description "asic state device off line"; - } - enum asic-state-device-created { - value 2; - description "asic state device created"; - } - enum asic-state-device-online { - value 3; - description "asic state device online"; - } - enum asic-state-warmboot { - value 4; - description "asic state warmboot"; - } - enum asic-state-de-init-start { - value 5; - description "asic state de init start"; - } - enum asic-state-intr-de-init { - value 6; - description "asic state intr de init"; - } - enum asic-state-bcm-detach { - value 7; - description "asic state bcm detach"; - } - enum asic-state-soc-de-init { - value 8; - description "asic state soc de init"; - } - enum asic-state-de-init-done { - value 9; - description "asic state de init done"; - } - enum asic-state-soc-init { - value 10; - description "asic state soc init"; - } - enum asic-state-bcm-init { - value 11; - description "asic state bcm init"; - } - enum asic-state-intr-init { - value 12; - description "asic state intr init"; - } - enum asic-state-soc-init-start { - value 13; - description "asic state soc init start"; - } - enum asic-state-bcm-init-start { - value 14; - description "asic state bcm init start"; - } - enum asic-state-intr-init-start { - value 15; - description "asic state intr init start"; - } - enum asic-state-hard-reset { - value 16; - description "asic state hard reset"; - } - enum asic-state-normal { - value 17; - description "asic state normal"; - } - enum asic-state-exception { - value 18; - description "asic state exception"; - } - enum asic-state-hp-attached { - value 19; - description "asic state hp attached"; - } - enum asic-state-quiesce { - value 20; - description "asic state quiesce"; - } - enum asic-state-issu-started { - value 21; - description "asic state issu started"; - } - enum asic-state-issu-started-nn { - value 22; - description "asic state issu started nn"; - } - enum asic-state-issu-abort { - value 23; - description "asic state issu abort"; - } - enum asic-state-max { - value 24; - description "asic state max"; - } - } - description "Asic access state"; - } - typedef Asic-oper-state { - type enumeration { - enum asic-oper-unset { - value -1; - description "asic oper unset"; - } - enum asic-oper-unknown { - value 0; - description "asic oper unknown"; - } - enum asic-oper-up { - value 1; - description "asic oper up"; - } - enum asic-oper-down { - value 2; - description "asic oper down"; - } - enum asic-card-down { - value 3; - description "asic card down"; - } - } - description "Asic oper state"; - } - typedef Slice-state { - type enumeration { - enum slice-oper-unset { - value -1; - description "slice oper unset"; - } - enum slice-oper-down { - value 0; - description "slice oper down"; - } - enum slice-oper-up { - value 1; - description "slice oper up"; - } - enum slice-oper-na { - value 2; - description "slice oper na"; - } - } - description "Slice state"; - } - typedef Fc-mode { - type enumeration { - enum fc-mode-unset { - value -1; - description "fc mode unset"; - } - enum fc-mode-unavail { - value 0; - description "fc mode unavail"; - } - enum fc-mode-inband { - value 1; - description "fc mode inband"; - } - enum fc-mode-oob { - value 2; - description "fc mode oob"; - } - } - description "Fc mode"; - } - typedef Link-error-state { - type enumeration { - enum link-error-unset { - value -1; - description "link error unset"; - } - enum link-error-none { - value 0; - description "link error none"; - } - enum link-error-shut { - value 1; - description "link error shut"; - } - enum link-error-max { - value 2; - description "link error max"; - } - } - description "Link error state"; - } - typedef Oper-state { - type enumeration { - enum oper-unset { - value -1; - description "oper unset"; - } - enum oper-unknown { - value 0; - description "oper unknown"; - } - enum oper-up { - value 1; - description "oper up"; - } - enum oper-down { - value 2; - description "oper down"; - } - enum card-down { - value 3; - description "card down"; - } - } - description "Oper state"; - } - typedef Admin-state { - type enumeration { - enum admin-unset { - value -1; - description "admin unset"; - } - enum admin-up { - value 0; - description "admin up"; - } - enum admin-down { - value 1; - description "admin down"; - } - } - description "Admin state"; - } - typedef Link-stage { - type enumeration { - enum link-stage-unset { - value -1; - description "link stage unset"; - } - enum link-stage-unused { - value 0; - description "link stage unused"; - } - enum link-stage-fia { - value 1; - description "link stage fia"; - } - enum link-stage-s1 { - value 2; - description "link stage s1"; - } - enum link-stage-s2 { - value 3; - description "link stage s2"; - } - enum link-stage-s3 { - value 4; - description "link stage s3"; - } - enum link-stage-unknown { - value 5; - description "link stage unknown"; - } - } - description "Link stage"; - } - typedef Link { - type enumeration { - enum link-type-unset { - value -1; - description "link type unset"; - } - enum link-type-unavail { - value 0; - description "link type unavail"; - } - enum link-type-tx { - value 1; - description "link type tx"; - } - enum link-type-rx { - value 2; - description "link type rx"; - } - } - description "Link"; - } - typedef Asic { - type enumeration { - enum asic-unset { - value -1; - description "asic unset"; - } - enum asic-unavail { - value 0; - description "asic unavail"; - } - enum asic-fia { - value 1; - description "asic fia"; - } - enum asic-s123 { - value 2; - description "asic s123"; - } - enum asic-s13 { - value 3; - description "asic s13"; - } - enum asic-s2 { - value 4; - description "asic s2"; - } - enum asic-b2b { - value 5; - description "asic b2b"; - } - enum asic-type-unknown { - value 6; - description "asic type unknown"; - } - } - description "Asic"; - } - typedef Rack { - type enumeration { - enum rack-type-unset { - value -1; - description "rack type unset"; - } - enum rack-type-lcc { - value 0; - description "rack type lcc"; - } - enum rack-type-fcc { - value 1; - description "rack type fcc"; - } - } - description "Rack"; - } - - grouping FIA-EDM-LINK-OVF-COUNTERS { - description "FIA EDM LINK OVF COUNTERS"; - leaf tx-control-cells-counter { - type string { - length "0..6"; - } - description "TX Control cells counter"; - } - leaf tx-data-cell-counter { - type string { - length "0..6"; - } - description "TX Data cell counter"; - } - leaf tx-data-byte-counter { - type string { - length "0..6"; - } - description "TX Data byte counter"; - } - leaf rx-crc-errors-counter { - type string { - length "0..6"; - } - description "RX CRC errors counter"; - } - leaf rx-lfec-fec-correctable-error { - type string { - length "0..6"; - } - description "RX LFEC FEC correctable error"; - } - leaf rx-8b-10b-disparity-errors { - type string { - length "0..6"; - } - description "RX 8b 10b disparity errors"; - } - leaf rx-control-cells-counter { - type string { - length "0..6"; - } - description "RX Control cells counter"; - } - leaf rx-data-cell-counter { - type string { - length "0..6"; - } - description "RX Data cell counter"; - } - leaf rx-data-byte-counter { - type string { - length "0..6"; - } - description "RX Data byte counter"; - } - leaf rx-dropped-retransmitted-control { - type string { - length "0..6"; - } - description "RX dropped retransmitted control"; - } - leaf tx-asyn-fifo-rate { - type string { - length "0..6"; - } - description "TX Asyn fifo rate"; - } - leaf rx-asyn-fifo-rate { - type string { - length "0..6"; - } - description "RX Asyn fifo rate"; - } - leaf rx-lfec-fec-uncorrectable-errors { - type string { - length "0..6"; - } - description "RX LFEC FEC uncorrectable errors"; - } - leaf rx-8b-10b-code-errors { - type string { - length "0..6"; - } - description "RX 8b 10b code errors"; - } - } - - grouping FIA-EDM-LINK-COUNTERS { - description "FIA EDM LINK COUNTERS"; - leaf tx-control-cells-counter { - type uint64; - description "TX Control cells counter"; - } - leaf tx-data-cell-counter { - type uint64; - description "TX Data cell counter"; - } - leaf tx-data-byte-counter { - type uint64; - description "TX Data byte counter"; - } - leaf rx-crc-errors-counter { - type uint64; - description "RX CRC errors counter"; - } - leaf rx-lfec-fec-correctable-error { - type uint64; - description "RX LFEC FEC correctable error"; - } - leaf rx-8b-10b-disparity-errors { - type uint64; - description "RX 8b 10b disparity errors"; - } - leaf rx-control-cells-counter { - type uint64; - description "RX Control cells counter"; - } - leaf rx-data-cell-counter { - type uint64; - description "RX Data cell counter"; - } - leaf rx-data-byte-counter { - type uint64; - description "RX Data byte counter"; - } - leaf rx-dropped-retransmitted-control { - type uint64; - description "RX dropped retransmitted control"; - } - leaf tx-asyn-fifo-rate { - type uint64; - description "TX Asyn fifo rate"; - } - leaf rx-asyn-fifo-rate { - type uint64; - description "RX Asyn fifo rate"; - } - leaf rx-lfec-fec-uncorrectable-errors { - type uint64; - description "RX LFEC FEC uncorrectable errors"; - } - leaf rx-8b-10b-code-errors { - type uint64; - description "RX 8b 10b code errors"; - } - } - - grouping FIA-EDM-LINK-ERROR-STATUS { - description "FIA EDM LINK ERROR STATUS"; - leaf link-crc-error { - type uint32; - description "link crc error"; - } - leaf link-size-error { - type uint32; - description "link size error"; - } - leaf link-mis-align-error { - type uint32; - description "link mis align error"; - } - leaf link-code-group-error { - type uint32; - description "link code group error"; - } - leaf link-no-sig-lock-error { - type uint32; - description "link no sig lock error"; - } - leaf link-no-sig-accept-error { - type uint32; - description "link no sig accept error"; - } - leaf link-tokens-error { - type uint32; - description "link tokens error"; - } - leaf error-token-count { - type uint32; - description "error token count"; - } - } - - grouping FIA-EDM-STATS-ASIC-FMAC { - description "FIA EDM STATS ASIC FMAC"; - - container link-error-status { - description "link error status"; - uses FIA-EDM-LINK-ERROR-STATUS; - } - - container link-counters { - description "link counters"; - uses FIA-EDM-LINK-COUNTERS; - } - - container ovf-status { - description "ovf status"; - uses FIA-EDM-LINK-OVF-COUNTERS; - } - } - - grouping FIA-EDM-STATS-ASIC-FMAC-INFO { - description "FIA EDM STATS ASIC FMAC INFO"; - - container aggr-stats { - description "aggr stats"; - uses FIA-EDM-STATS-ASIC-FMAC; - } - - container incr-stats { - description "incr stats"; - uses FIA-EDM-STATS-ASIC-FMAC; - } - leaf valid { - type boolean; - description "valid"; - } - leaf rack-no { - type uint32; - description "rack no"; - } - leaf slot-no { - type uint32; - description "slot no"; - } - leaf asic-instance { - type uint32; - description "asic instance"; - } - leaf link-no { - type uint32; - description "link no"; - } - leaf link-valid { - type boolean; - description "link valid"; - } - } - - grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { - description "FIA EDM DEVICE STATS FIELD INFO"; - leaf field-name { - type string { - length "0..80"; - } - description "Field Name"; - } - leaf field-value { - type uint64; - description "Field Value"; - } - leaf is-ovf { - type boolean; - description "Is Ovf"; - } - } - - grouping FIA-EDM-DEVICE-STATS-BLK-INFO { - description "FIA EDM DEVICE STATS BLK INFO"; - leaf block-name { - type string { - length "0..10"; - } - description "Block Name"; - } - leaf num-fields { - type uint8; - description "Num Fields"; - } - - list field-info { - max-elements "200"; - description "field info"; - uses FIA-EDM-DEVICE-STATS-FIELD-INFO; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { - description "FIA EDM DEVICE STATS ASIC INFO"; - leaf num-blocks { - type uint8; - description "Num Blocks"; - } - - list block-info { - max-elements "22"; - description "block info"; - uses FIA-EDM-DEVICE-STATS-BLK-INFO; - } - } - - grouping FIA-EDM-STATS-INFO { - description "FIA EDM STATS INFO"; - - container stats-info { - description "stats info"; - uses FIA-EDM-DEVICE-STATS-ASIC-INFO; - } - leaf valid { - type boolean; - description "valid"; - } - leaf rack-no { - type uint32; - description "rack no"; - } - leaf slot-no { - type uint32; - description "slot no"; - } - leaf asic-instance { - type uint32; - description "asic instance"; - } - leaf chip-ver { - type uint16; - description "chip ver"; - } - } - - grouping FIA-EDM-DIAG-SHELL-OUTPUT { - description "FIA EDM DIAG SHELL OUTPUT"; - leaf output-xr { - type string; - description "output xr"; - } - } - - grouping FIA-EDM-TXLINK-STATS { - description "FIA EDM TXLINK STATS"; - leaf dummy { - type uint32; - description "dummy"; - } - } - - grouping FIA-EDM-TXLINK { - description "FIA EDM TXLINK"; - - container this-link { - description "this link"; - uses FIA-EDM-LINK-IDENTITY; - } - - container far-end-link { - description "far end link"; - uses FIA-EDM-LINK-IDENTITY; - } - - container stats { - description "stats"; - uses FIA-EDM-TXLINK-STATS; - } - - container history { - description "history"; - uses FIA-EDM-HISTORY; - } - leaf speed { - type uint32; - description "speed"; - } - leaf stage { - type uint8; - description "stage"; - } - leaf is-link-valid { - type boolean; - description "is link valid"; - } - leaf is-conf-pending { - type boolean; - description "is conf pending"; - } - leaf is-power-enabled { - type boolean; - description "is power enabled"; - } - leaf coeff1 { - type uint32; - description "coeff1"; - } - leaf coeff2 { - type uint32; - description "coeff2"; - } - leaf admin-state { - type Admin-state; - description "Admin State"; - } - leaf oper-state { - type Oper-state; - description "Oper State"; - } - leaf error-state { - type Link-error-state; - description "Error State"; - } - leaf num-admin-shuts { - type uint32; - description "num admin shuts"; - } - } - - grouping FIA-EDM-OIR-HISTORY { - description "FIA EDM OIR HISTORY"; - leaf card-flag { - type int32; - description "card flag"; - } - leaf card-type { - type int32; - description "card type"; - } - leaf reg-flag { - type int32; - description "reg flag"; - } - leaf evt-flag { - type int32; - description "evt flag"; - } - leaf rack-num { - type int32; - description "rack num"; - } - leaf instance { - type int32; - description "instance"; - } - leaf cur-card-state { - type int32; - description "cur card state"; - } - } - - grouping FIA-EDM-OIR-RECORD-CIRCULAR-BUFFER { - description "FIA EDM OIR RECORD CIRCULAR BUFFER"; - leaf count { - type int32; - description "count"; - } - leaf start { - type int32; - description "start"; - } - leaf end { - type int32; - description "end"; - } - - list fia-oir-info { - max-elements "10"; - description "fia oir info"; - uses FIA-EDM-OIR-HISTORY; - } - } - - grouping FIA-EDM-CARD-INFO { - description "FIA EDM CARD INFO"; - - container oir-circular-buffer { - description "oir circular buffer"; - uses FIA-EDM-OIR-RECORD-CIRCULAR-BUFFER; - } - leaf card-type { - type int32; - description "card type"; - } - leaf card-name { - type string; - description "card name"; - } - leaf slot-no { - type int32; - description "slot no"; - } - leaf card-flag { - type int32; - description "card flag"; - } - leaf evt-flag { - type int32; - description "evt flag"; - } - leaf reg-flag { - type int32; - description "reg flag"; - } - leaf instance { - type int32; - description "instance"; - } - leaf card-state { - type uint8; - description "card state"; - } - leaf exp-num-asics { - type uint32; - description "exp num asics"; - } - leaf exp-num-asics-per-fsdb { - type uint32; - description "exp num asics per fsdb"; - } - leaf is-powered { - type boolean; - description "is powered"; - } - leaf cxp-avail-bitmap { - type uint64; - description "cxp avail bitmap"; - } - leaf num-ilkns-per-asic { - type uint32; - description "num ilkns per asic"; - } - leaf num-local-ports-per-ilkn { - type uint32; - description "num local ports per ilkn"; - } - leaf num-cos-per-port { - type uint8; - description "num cos per port"; - } - } - - grouping FIA-EDM-DEVICE { - description "FIA EDM DEVICE"; - - container asic-id { - description "asic id"; - uses FIA-EDM-ASIC-IDENTITY; - } - leaf is-valid { - type boolean; - description "is valid"; - } - leaf fapid { - type uint32; - description "fapid"; - } - leaf hotplug-event { - type uint32; - description "hotplug event"; - } - leaf slice-state { - type Slice-state; - description "Slice State"; - } - leaf admin-state { - type Admin-state; - description "Admin State"; - } - leaf oper-state { - type Asic-oper-state; - description "Oper State"; - } - leaf asic-state { - type Asic-access-state; - description "Asic State"; - } - leaf last-init-cause { - type Asic-init-method; - description "last init cause"; - } - leaf num-pon-resets { - type uint32; - description "num pon resets"; - } - leaf num-hard-resets { - type uint32; - description "num hard resets"; - } - leaf local-switch-state { - type boolean; - description "local switch state"; - } - } - - grouping FIA-EDM-DRIVER-INFO { - description "FIA EDM DRIVER INFO"; - leaf drv-version { - type uint32; - description "drv version"; - } - leaf coeff-major-rev { - type uint32; - description "coeff major rev"; - } - leaf coeff-minor-rev { - type uint32; - description "coeff minor rev"; - } - leaf functional-role { - type uint8; - description "functional role"; - } - leaf issu-role { - type uint8; - description "issu role"; - } - leaf node-id { - type string; - description "node id"; - } - leaf rack-type { - type int32; - description "rack type"; - } - leaf rack-num { - type uint8; - description "rack num"; - } - leaf is-driver-ready { - type boolean; - description "is driver ready"; - } - leaf card-avail-mask { - type uint32; - description "card avail mask"; - } - leaf asic-avail-mask { - type uint64; - description "asic avail mask"; - } - leaf exp-asic-avail-mask { - type uint64; - description "exp asic avail mask"; - } - leaf ucmc-ratio { - type uint32; - description "ucmc ratio"; - } - leaf asic-oper-notify-to-fsdb-pending-bmap { - type uint64; - description "asic oper notify to fsdb pending bmap"; - } - leaf is-full-fgid-download-req { - type boolean; - description "is full fgid download req"; - } - leaf is-fgid-download-in-progress { - type boolean; - description "is fgid download in progress"; - } - leaf is-fgid-download-completed { - type boolean; - description "is fgid download completed"; - } - leaf fsdb-conn-active { - type boolean; - description "fsdb conn active"; - } - leaf fgid-conn-active { - type boolean; - description "fgid conn active"; - } - leaf issu-mgr-conn-active { - type boolean; - description "issu mgr conn active"; - } - leaf fsdb-reg-active { - type boolean; - description "fsdb reg active"; - } - leaf fgid-reg-active { - type boolean; - description "fgid reg active"; - } - leaf issu-mgr-reg-active { - type boolean; - description "issu mgr reg active"; - } - leaf num-pm-conn-reqs { - type uint8; - description "num pm conn reqs"; - } - leaf num-fsdb-conn-reqs { - type uint8; - description "num fsdb conn reqs"; - } - leaf num-fgid-conn-reqs { - type uint8; - description "num fgid conn reqs"; - } - leaf num-fstats-conn-reqs { - type uint8; - description "num fstats conn reqs"; - } - leaf num-cm-conn-reqs { - type uint8; - description "num cm conn reqs"; - } - leaf num-issu-mgr-conn-reqs { - type uint8; - description "num issu mgr conn reqs"; - } - leaf num-peer-fia-conn-reqs { - type uint8; - description "num peer fia conn reqs"; - } - leaf is-gaspp-registered { - type boolean; - description "is gaspp registered"; - } - leaf is-cih-registered { - type boolean; - description "is cih registered"; - } - leaf drvr-initial-startup-timestamp { - type string; - description "drvr initial startup timestamp"; - } - leaf drvr-current-startup-timestamp { - type string; - description "drvr current startup timestamp"; - } - leaf num-intf-ports { - type uint32; - description "num intf ports"; - } - leaf uc-weight { - type uint8; - description "uc weight"; - } - leaf respawn-count { - type uint8; - description "respawn count"; - } - leaf total-asics { - type uint8; - description "total asics"; - } - leaf issu-ready-ntfy-pending { - type boolean; - description "issu ready ntfy pending"; - } - leaf issu-abort-sent { - type boolean; - description "issu abort sent"; - } - leaf issu-abort-rcvd { - type boolean; - description "issu abort rcvd"; - } - leaf fabric-mode { - type uint8; - description "fabric mode"; - } - leaf fc-mode { - type Fc-mode; - description "FC Mode"; - } - leaf board-rev-id { - type uint32; - description "board rev id"; - } - - list device-info { - max-elements "32"; - description "device info"; - uses FIA-EDM-DEVICE; - } - - list card-info { - max-elements "16"; - description "card info"; - uses FIA-EDM-CARD-INFO; - } - } - - grouping FIA-EDM-STATE-CHANGE { - description "FIA EDM STATE CHANGE"; - leaf admin-state { - type Admin-state; - description "Admin State"; - } - leaf oper-state { - type Oper-state; - description "Oper State"; - } - leaf error-state { - type Link-error-state; - description "Error State"; - } - leaf timestamp { - type uint64; - description "timestamp"; - } - leaf reasons { - type string; - description "reasons"; - } - } - - grouping FIA-EDM-HISTORY { - description "FIA EDM HISTORY"; - leaf histnum { - type uint8; - description "histnum"; - } - leaf start-index { - type uint8; - description "start index"; - } - - list hist { - max-elements "5"; - description "hist"; - uses FIA-EDM-STATE-CHANGE; - } - } - - grouping FIA-EDM-ASIC-IDENTITY { - description "FIA EDM ASIC IDENTITY"; - leaf rack-type { - type Rack; - description "Rack Type"; - } - leaf asic-type { - type Asic; - description "Asic Type"; - } - leaf rack-num { - type uint32; - description "rack num"; - } - leaf slot-num { - type uint32; - description "slot num"; - } - leaf asic-instance { - type uint32; - description "asic instance"; - } - } - - grouping FIA-EDM-LINK-IDENTITY { - description "FIA EDM LINK IDENTITY"; - - container asic-id { - description "asic id"; - uses FIA-EDM-ASIC-IDENTITY; - } - leaf link-type { - type Link; - description "Link Type"; - } - leaf link-stage { - type Link-stage; - description "Link Stage"; - } - leaf link-num { - type uint32; - description "link num"; - } - leaf phy-link-num { - type uint32; - description "phy link num"; - } - } - - grouping FIA-EDM-RXLINK { - description "FIA EDM RXLINK"; - - container this-link { - description "this link"; - uses FIA-EDM-LINK-IDENTITY; - } - - container far-end-link { - description "far end link"; - uses FIA-EDM-LINK-IDENTITY; - } - - container far-end-link-in-hw { - description "far end link in hw"; - uses FIA-EDM-LINK-IDENTITY; - } - - container history { - description "history"; - uses FIA-EDM-HISTORY; - } - leaf speed { - type uint32; - description "speed"; - } - leaf stage { - type Link-stage; - description "Stage"; - } - leaf is-link-valid { - type boolean; - description "is link valid"; - } - leaf is-conf-pending { - type boolean; - description "is conf pending"; - } - leaf admin-state { - type Admin-state; - description "Admin State"; - } - leaf oper-state { - type Oper-state; - description "Oper State"; - } - leaf error-state { - type Link-error-state; - description "Error State"; - } - leaf flags { - type string; - description "flags"; - } - leaf flap-cnt { - type uint32; - description "flap cnt"; - } - leaf num-admin-shuts { - type uint32; - description "num admin shuts"; - } - leaf correctable-errors { - type uint64; - description "correctable errors"; - } - leaf uncorrectable-errors { - type uint64; - description "uncorrectable errors"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper.yang deleted file mode 100644 index aa209db..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-driver-oper.yang +++ /dev/null @@ -1,362 +0,0 @@ -module Cisco-IOS-XR-dnx-driver-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-driver-oper"; - - - prefix "dnx-driver-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-dnx-driver-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dnx-driver package operational data. - - This module contains definitions - for the following management objects: - fia: FIA driver operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Link-option-string { - type string { - pattern "(flap)|(topo)"; - } - description - "flap:Display link flap info, topo:Display link - topo info"; - } - typedef Fia-max-asic-instances { - type uint32 { - range "0..255"; - } - description "Fia max asic instances"; - } - typedef Link-info-max-number { - type uint32 { - range "0..47"; - } - description "Link info max number"; - } - typedef Diag-shell-unit-number { - type uint32 { - range "0..63"; - } - description "Diag shell unit number"; - } - - container fia { - config false; - description "FIA driver operational data"; - - container nodes { - description "FIA driver operational data for available nodes"; - - list node { - key "node-name"; - description "FIA operational data for a particular node"; - - container rx-link-information { - description "FIA link rx information"; - - container link-options { - description "Option table for link rx information"; - - list link-option { - key "option"; - description "Option : topo , flag , stats"; - - container rx-asic-instances { - description "Instance table for rx information"; - - list rx-asic-instance { - key "instance"; - description - "Instance number for rx link information"; - - container rx-links { - description - "Link table class for rx information"; - - list rx-link { - description - "Link number for rx link information"; - leaf start-number { - type Link-info-max-number; - description "Start number"; - } - leaf end-number { - type Link-info-max-number; - description "End number"; - } - leaf status-option { - type xr:Cisco-ios-xr-string; - description "RX link status option"; - } - - list rx-link { - key "link"; - description "Single link information"; - leaf link { - type int32; - description "Single link"; - } - uses FIA-EDM-RXLINK; - } - } - } - leaf instance { - type Fia-max-asic-instances; - description "Receive instance"; - } - } - } - leaf option { - type Link-option-string; - description "Link option"; - } - } - } - } - - container driver-information { - description "FIA driver information"; - uses FIA-EDM-DRIVER-INFO; - } - - container clear-statistics { - description "Clear statistics information"; - - container asic-instances { - description - "Instance table for clear statistics - information"; - - list asic-instance { - key "asic-instance"; - description "Asic instance to be cleared"; - leaf asic-instance { - type Fia-max-asic-instances; - description "Asic instance"; - } - leaf instance { - type int32; - mandatory true; - description "Clear value"; - } - } - } - } - - container tx-link-information { - description "FIA link TX information"; - - container tx-status-option-table { - description "Link table for tx information"; - - container tx-status-option { - description "Option: data, ctrl, all- for now none"; - - container tx-asic-instances { - description "Instance table for tx information"; - - list tx-asic-instance { - key "instance"; - description - "Instance number for tx link information"; - - container tx-links { - description "Link table for tx information"; - - list tx-link { - description - "Link number for tx link information"; - leaf start-number { - type Link-info-max-number; - description "Start number"; - } - leaf end-number { - type Link-info-max-number; - description "End number"; - } - - list tx-link { - key "link"; - description "Single link information"; - leaf link { - type int32; - description "Single Link"; - } - uses FIA-EDM-TXLINK; - } - } - } - leaf instance { - type Fia-max-asic-instances; - description "Transmit instance"; - } - } - } - } - } - } - - container diag-shell { - description "FIA diag shell information"; - - container diag-shell-units { - description "Unit table for diag shell"; - - list diag-shell-unit { - key "unit"; - description "Unit number for diag shell statistics"; - - container commands { - description "Command table for diag shell"; - - list command { - key "cmd"; - description "Command for diag shell statistics"; - leaf cmd { - type string; - description "Shell command"; - } - - list output { - key "output"; - description "Added to support datalist"; - leaf output { - type xr:Cisco-ios-xr-string; - description "First line"; - } - uses FIA-EDM-DIAG-SHELL-OUTPUT; - } - } - } - leaf unit { - type Diag-shell-unit-number; - description "Unit number"; - } - } - } - } - - container oir-history { - description "FIA operational data of oir history"; - - container flags { - description "Flag table for history"; - - list flag { - key "flag"; - description "Flag value for physical location"; - - container slots { - description "Slot table for history"; - - list slot { - key "slot"; - description "Slot number for getting history"; - leaf slot { - type int32; - description "Slot number"; - } - uses FIA-EDM-DRIVER-INFO; - } - } - leaf flag { - type int32; - description "Flag value"; - } - } - } - } - - container asic-statistics { - description "FIA asic statistics information"; - - container statistics-asic-instances { - description "Instance table for statistics"; - - list statistics-asic-instance { - key "instance"; - description "Asic instance for statistics"; - - container pbc-statistics { - description "Packet Byte Counter for a Asic"; - - container pbc-stats { - description "PBC stats bag"; - uses FIA-EDM-STATS-INFO; - } - } - - container fmac-statistics { - description "Statistics of FMAC"; - - container fmac-links { - description "Link table for statistics"; - - list fmac-link { - key "link"; - description "Link number for statistics"; - leaf link { - type int32; - description "Link number"; - } - - list fmac-asic { - key "asic"; - description "Single aisc information"; - leaf asic { - type int32; - description "Single asic"; - } - uses FIA-EDM-STATS-ASIC-FMAC-INFO; - } - } - } - } - leaf instance { - type Fia-max-asic-instances; - description "Asic instance"; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang deleted file mode 100644 index a0efa6d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang +++ /dev/null @@ -1,232 +0,0 @@ -submodule Cisco-IOS-XR-dnx-netflow-oper-sub1 { - - belongs-to Cisco-IOS-XR-dnx-netflow-oper { - prefix Cisco-IOS-XR-dnx-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dnx-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Flow-monitor-name { - type string; - description "Flow monitor name"; - } - - grouping NFSVR-COLLECTOR-INFO { - description "Per collector information"; - leaf exporter-state { - type string; - description "Exporter state"; - } - leaf destination-address { - type string; - description - "Destination IPv4 address in AAA.BBB.CCC.DDD - format"; - } - leaf source-address { - type string; - description "Source IPv4 address in AAA.BBB.CCC.DDD format"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf destination-port { - type uint16; - description "Destination port number"; - } - leaf souce-port { - type uint16; - description "Source port number"; - } - leaf transport-protocol { - type string; - description "Transport protocol"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf flows-sent { - type uint64; - description "Flows sent"; - } - leaf templates-sent { - type uint64; - description "Templates sent"; - } - leaf option-templates-sent { - type uint64; - description "Option templates sent"; - } - leaf option-data-sent { - type uint64; - description "Option data sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf flow-bytes-sent { - type uint64; - units "byte"; - description "Flow bytes sent"; - } - leaf template-bytes-sent { - type uint64; - units "byte"; - description "Template bytes sent"; - } - leaf option-template-bytes-sent { - type uint64; - units "byte"; - description "Option template bytes sent"; - } - leaf option-data-bytes-sent { - type uint64; - units "byte"; - description "Option data bytes sent"; - } - leaf packets-dropped { - type uint64; - description "Packets dropped"; - } - leaf flows-dropped { - type uint64; - description "Flows dropped"; - } - leaf templates-dropped { - type uint64; - description "Templates dropped"; - } - leaf option-templates-dropped { - type uint64; - description "Option templates dropped"; - } - leaf option-data-dropped { - type uint64; - description "Option data dropped"; - } - leaf bytes-dropped { - type uint64; - units "byte"; - description "Bytes dropped"; - } - leaf flow-bytes-dropped { - type uint64; - units "byte"; - description "Flow bytes dropped"; - } - leaf template-bytes-dropped { - type uint64; - units "byte"; - description "Template bytes dropped"; - } - leaf option-template-bytes-dropped { - type uint64; - units "byte"; - description "Option template bytes dropped"; - } - leaf option-data-bytes-dropped { - type uint64; - description "Option data dropped"; - } - leaf last-hour-packest-sent { - type uint64; - description "Total packets exported over the last one hour"; - } - leaf last-hour-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one hour"; - } - leaf last-hour-flows-sent { - type uint64; - description "Total flows exported over the of last one hour"; - } - leaf last-minute-packets { - type uint64; - description "Total packets exported over the last one minute"; - } - leaf last-minute-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one minute"; - } - leaf last-minute-flows-sent { - type uint64; - description "Total flows exported over the last one minute"; - } - leaf last-second-packets-sent { - type uint64; - description "Total packets exported over the last one second"; - } - leaf last-second-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one second"; - } - leaf last-second-flows-sent { - type uint64; - description "Total flows exported over the last one second"; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS { - description "Flow exporter information"; - leaf name { - type string; - description "Exporter name"; - } - leaf memory-usage { - type uint32; - description "Memory usage"; - } - leaf-list used-by-flow-monitor { - type Flow-monitor-name; - description "List of flow monitors that use the exporter"; - } - - list collector { - description "Statistics of all collectors"; - uses NFSVR-COLLECTOR-INFO; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY { - description "Flow exporter information"; - - list statistic { - description "Array of flow exporters"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang deleted file mode 100644 index 50d7039..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang +++ /dev/null @@ -1,90 +0,0 @@ -submodule Cisco-IOS-XR-dnx-netflow-oper-sub2 { - - belongs-to Cisco-IOS-XR-dnx-netflow-oper { - prefix Cisco-IOS-XR-dnx-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dnx-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NF-PRODUCER-STATS { - description "Netflow Platform Producer Process statistics"; - leaf ipv4-ingress-flows { - type uint64; - description "IPv4 ingress flows"; - } - leaf ipv4-egress-flows { - type uint64; - description "IPv4 egress flows"; - } - leaf ipv6-ingress-flows { - type uint64; - description "IPv6 ingress flows"; - } - leaf ipv6-egress-flows { - type uint64; - description "IPv6 egress flows"; - } - leaf mpls-ingress-flows { - type uint64; - description "MPLS ingress flows"; - } - leaf mpls-egress-flows { - type uint64; - description "MPLS egress flows"; - } - leaf drops-no-space { - type uint64; - description "Drops (no space)"; - } - leaf drops-others { - type uint64; - description "Drops (others)"; - } - leaf unknown-ingress-flows { - type uint64; - description "Unknown ingress flows"; - } - leaf unknown-egress-flows { - type uint64; - description "Unknown egress flows"; - } - leaf waiting-servers { - type uint64; - description "Number of waiting servers"; - } - leaf last-cleared { - type string; - description - "Last time Statistics cleared in 'Mon Jan 1 12:00 - :00 2xxx' format"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper.yang deleted file mode 100644 index cc56b1a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-netflow-oper.yang +++ /dev/null @@ -1,105 +0,0 @@ -module Cisco-IOS-XR-dnx-netflow-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-netflow-oper"; - - - prefix "dnx-netflow-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-dnx-netflow-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-dnx-netflow-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dnx-netflow package operational data. - - This module contains definitions - for the following management objects: - net-flow: NetFlow operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container net-flow { - config false; - description "NetFlow operational data"; - - container statistics { - description "Node-specific NetFlow statistics information"; - - list statistic { - key "node"; - description - "NetFlow statistics information for a particular - node"; - - container producer { - description "NetFlow producer statistics"; - - container statistics { - description "Statistics information"; - uses NF-PRODUCER-STATS; - } - } - - container server { - description "NetFlow server statistics"; - - container flow-exporters { - description "Flow exporter information"; - - list flow-exporter { - key "exporter-name"; - description "Exporter information"; - - container exporter { - description - "Statistics information for the exporter"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY; - } - leaf exporter-name { - type xr:Cisco-ios-xr-string; - description "Exporter name"; - } - } - } - } - leaf node { - type xr:Node-id; - description "Node location"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang deleted file mode 100644 index fbbb6cd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang +++ /dev/null @@ -1,85 +0,0 @@ -submodule Cisco-IOS-XR-dnx-port-mapper-oper-sub1 { - - belongs-to Cisco-IOS-XR-dnx-port-mapper-oper { - prefix Cisco-IOS-XR-dnx-port-mapper-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dnx-port-mapper package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping OOR-INTERFACE-DETAIL { - description "OOR specific details for the interface"; - leaf interface-name { - type string; - description "Name of the interface"; - } - leaf interface-status { - type string; - description "The current state of the interface"; - } - leaf time-stamp { - type string; - description "Timestamp"; - } - leaf npu-id { - type string; - description "Npuid of the interface"; - } - leaf hardware-resource { - type string; - description "Type of harware resoruce"; - } - } - - grouping OOR-INTERFACE-INFO { - description "OOR specific details for the bundle interface"; - - list interface { - description "Interface details"; - uses OOR-INTERFACE-DETAIL; - } - } - - grouping OOR-SUMMARY { - description "Lists interfaces in each of the three states"; - leaf red { - type uint32; - description "interfaces in red state"; - } - leaf green { - type uint32; - description "interfaces in green state"; - } - leaf yel-low { - type uint32; - description "interfaces in yellow state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper.yang deleted file mode 100644 index f4ccf23..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dnx-port-mapper-oper.yang +++ /dev/null @@ -1,87 +0,0 @@ -module Cisco-IOS-XR-dnx-port-mapper-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-dnx-port-mapper-oper"; - - - prefix "dnx-port-mapper-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-dnx-port-mapper-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dnx-port-mapper package operational data. - - This module contains definitions - for the following management objects: - oor: Out of Resource Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container oor { - config false; - description "Out of Resource Data"; - - container nodes { - description "OOR data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container summary { - description "Summary"; - uses OOR-SUMMARY; - } - - container interface-names { - description "OOR Interface Information"; - - list interface-name { - key "interface-name"; - description "OOR Data for particular interface"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description "The name of the interface"; - } - uses OOR-INTERFACE-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-cfg.yang deleted file mode 100644 index d08a188..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-cfg.yang +++ /dev/null @@ -1,138 +0,0 @@ -module Cisco-IOS-XR-dot1x-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-cfg"; - - - prefix "dot1x-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dot1x package configuration. - - This module contains definitions - for the following management objects: - dot1x: Global Dot1x Configuration - eap: eap - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Dot1xpae { - type string { - pattern "(supplicant)|(authenticator)|(both)"; - } - description - "supplicant:PAE Type as Supplicant, authenticator: - PAE type as Authenticator, both: PAE type as - Supplicant & Authenticator"; - } - typedef Dot1x-reauth-local-interval { - type uint32 { - range "60..5184000"; - } - description "Dot1x reauth local interval"; - } - - container dot1x { - description "Global Dot1x Configuration"; - - list dot1x-profile { - key "profile-name"; - description "Global Dot1x Profile Name"; - - container supplicant { - description "Dot1x Supplicant Related Configuration"; - leaf eap-profile { - type string; - description "EAP Profile for Supplicant"; - } - } - - container authenticator { - description "Dot1x Authenticator Related Configuration"; - - container timers { - description "Timers for Authenticator"; - - container reauth-time { - description - "After this time ReAuthentication will be - trigerred"; - leaf server { - type boolean; - description - "Reauth will be triggerred based on the EAP - server configuration"; - } - leaf local { - type Dot1x-reauth-local-interval; - units "second"; - description - "Reauth will be triggerred based on the - configuration in box"; - } - } - } - } - leaf pae { - type Dot1xpae; - description "Dot1x PAE (Port Access Entity) Role"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Name of the Dot1x Profile"; - } - } - } - - container eap { - description "eap"; - - list eap-profile { - key "profile-name"; - description "Global EAP Profile Configuration"; - - container eaptls { - description "EAP TLS Configuration"; - leaf pki-trustpoint { - type string; - description "Configure PKI Trustpoint"; - } - } - leaf identity { - type string; - description "Configure EAP Identity/UserName"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Name of the EAP Profile"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-if-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-if-cfg.yang deleted file mode 100644 index f01559f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-if-cfg.yang +++ /dev/null @@ -1,59 +0,0 @@ -module Cisco-IOS-XR-dot1x-if-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-if-cfg"; - - - prefix "dot1x-if-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dot1x-if package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container dot1x-interface { - description "Interface Specific Dot1x Configuration"; - leaf dot1x-profile { - type string; - description "Name of Dot1x profile"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper-sub1.yang deleted file mode 100644 index 18295ab..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper-sub1.yang +++ /dev/null @@ -1,475 +0,0 @@ -submodule Cisco-IOS-XR-dot1x-oper-sub1 { - - belongs-to Cisco-IOS-XR-dot1x-oper { - prefix Cisco-IOS-XR-dot1x-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dot1x package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DOT1X-INTERFACE-MKA { - description "DOT1X INTERFACE MKA"; - leaf tie-break-role { - type string; - description - "Dot1x Tie breaker role chosen for mka when PAE - type is BOTH"; - } - leaf eap-based-macsec { - type string; - description "EAP Mode status for MKA"; - } - leaf mka-start-time { - type string; - description - "Time stamp when Dot1x posting a message to MKA - to start session."; - } - leaf mka-stop-time { - type string; - description - "Time stamp when Dot1x posting a message to MKA - to stop session."; - } - leaf mka-response-time { - type string; - description "Time Stamp of MKA acknowledgement to Dot1x"; - } - } - - grouping DOT1X-SUPP-CLIENT-INFO { - description "DOT1X SUPP CLIENT INFO"; - leaf mac { - type string; - description "formatted MAC Address"; - } - leaf eap-method { - type string; - description "EAP Method"; - } - leaf last-auth-time { - type string; - description "Last Authenticated Timestamp (formatted)"; - } - leaf auth-sm-state { - type string; - description "supp SM State"; - } - leaf auth-bend-sm-state { - type string; - description "supp back end SM State"; - } - } - - grouping DOT1X-SUPP-INFO { - description "DOT1X SUPP INFO"; - leaf eap-profile { - type string; - description "EAP profile"; - } - leaf config-dependency { - type string; - description "Configuration Dependency "; - } - - list client { - description "Supp Client info"; - uses DOT1X-SUPP-CLIENT-INFO; - } - } - - grouping DOT1X-AUTH-CLIENT-INFO { - description "DOT1X AUTH CLIENT INFO"; - leaf mac { - type string; - description "formatted MAC Address"; - } - leaf auth-sm-state { - type string; - description "Auth SM State"; - } - leaf auth-bend-sm-state { - type string; - description "Auth back end SM State"; - } - leaf time-to-next-reauth { - type string; - description "remaining time for next reauthentication"; - } - leaf last-auth-time { - type string; - description "Last Authenticated Timestamp (formatted)"; - } - } - - grouping DOT1X-AUTH-INFO { - description "DOT1X AUTH INFO"; - leaf reauth { - type string; - description "Re-Authentication enabled status"; - } - leaf config-dependency { - type string; - description "Configuration Dependency "; - } - - list client { - description "Authenticator client list"; - uses DOT1X-AUTH-CLIENT-INFO; - } - } - - grouping DOT1X-INTERFACE-INFO { - description "DOT1X INTERFACE INFO"; - - container auth-info { - description "Dot1x Authenticator info"; - uses DOT1X-AUTH-INFO; - } - - container supp-info { - description "Dot1x Supplicant info"; - uses DOT1X-SUPP-INFO; - } - leaf pae { - type string; - description "PAE type on interface"; - } - leaf port-status { - type string; - description "Dot1x Port Status"; - } - leaf dot1x-profile { - type string; - description "Dot1x Profile"; - } - } - - grouping DOT1X-INTERFACE-DETAIL { - description "DOT1X INTERFACE DETAIL"; - - container intf-info { - description "Dot1x interface Info"; - uses DOT1X-INTERFACE-INFO; - } - - container mka-status-info { - description "MKA session secure status"; - uses DOT1X-INTERFACE-MKA; - } - leaf interface-name { - type string; - description "Interface Display name "; - } - leaf interface-sname { - type string; - description "Interface Display short_name "; - } - leaf if-handle { - type string; - description "Interface handle"; - } - leaf mac { - type string; - description "formatted MAC Address"; - } - leaf ethertype { - type string; - description "EAPOL Ethertype"; - } - } - - grouping DOT1X-GLOBAL-STATISTICS { - description "DOT1X GLOBAL STATISTICS"; - leaf tx-total { - type uint32; - description "TxTotal"; - } - leaf rx-total { - type uint32; - description "RxTotal"; - } - leaf rx-no-idb { - type uint32; - description "RxNoIDB"; - } - } - - grouping DOT1X-STATISTICS { - description "DOT1X STATISTICS"; - - container gl-stats { - description "Global statistics"; - uses DOT1X-GLOBAL-STATISTICS; - } - - list if-stats { - description "dot1x interface statistics list"; - uses DOT1X-IF-STATISTICS; - } - } - - grouping DOT1X-SUPP-TIMERS { - description "DOT1X SUPP TIMERS"; - leaf auth-period { - type uint32; - units "second"; - description - "in Seconds, supplicant waits for a response from - an authenticator except for EAPOL-START before - timing out"; - } - leaf held-period { - type uint32; - units "second"; - description - "in Seconds, supplicant will stay in the HELD - state (that is, the length of time it will wait - before trying to send the credentials again - after a failed attempt)"; - } - leaf start-period { - type uint32; - units "second"; - description - "Configures the interval, in seconds, between two - successive EAPOL-Start frames when they are - being retransmitted"; - } - leaf max-start { - type uint32; - description - "Max No. of EAPOL-Start frames supplicant can - send to the authenticator"; - } - } - - grouping DOT1X-AUTH-TIMERS { - description "DOT1X AUTH TIMERS"; - leaf quiet-period { - type uint32; - units "second"; - description - "in Seconds, authenticator remains quiet (in the - HELD state) following a failed authentication - exchange before trying to reauthenticate the - client"; - } - leaf tx-period { - type uint32; - units "second"; - description - "in Seconds, Timeout for supplicant reply, - authenticator-to-supplicant retransmission time - for EAP-request-ID packets (assuming that no - response is received) from the client"; - } - leaf max-reauth-req { - type uint32; - description - "Max No. of Reauthentication Attempts (or) - retransmits an EAP-request-ID frame to the - client before restarting the authentication - process"; - } - leaf supp-timeout { - type uint32; - units "second"; - description - "in Seconds, Timeout for supplicant reply, - authenticator-to-supplicant retransmission time - for all EAP messages except for EAP Request ID - packets"; - } - leaf max-req { - type uint32; - description - "Max No. of EAP-Req (except for EAP-Request-ID) - retransmits (authenticator-to-supplicant) before - sending EAP-Failure"; - } - leaf reauth-period { - type uint32; - units "second"; - description - "in Seconds, after which an automatic - reauthentication should be initiated"; - } - } - - grouping DOT1X-DEFAULT { - description "DOT1X DEFAULT"; - - container auth-timers { - description "Dot1x Authenticator default Timer values"; - uses DOT1X-AUTH-TIMERS; - } - - container supp-timers { - description "Dot1x Supllicant default Timer values"; - uses DOT1X-SUPP-TIMERS; - } - leaf version { - type uint32; - description "Dot1x Protocol Version"; - } - } - - grouping DOT1X-IF-SUPP-STATISTICS { - description "DOT1X IF SUPP STATISTICS"; - leaf rx-req { - type uint32; - description "RxReq"; - } - leaf rx-invalid { - type uint32; - description "RxInvalid"; - } - leaf rx-len-err { - type uint32; - description "RxLenErr"; - } - leaf rx-my-mac-err { - type uint32; - description "RxMyMacErr"; - } - leaf rx-total { - type uint32; - description "RxTotal"; - } - leaf tx-start { - type uint32; - description "TxStart"; - } - leaf tx-logoff { - type uint32; - description "TxLogoff"; - } - leaf tx-resp { - type uint32; - description "TxResp"; - } - leaf tx-total { - type uint32; - description "TxTotal"; - } - } - - grouping DOT1X-IF-AUTH-STATISTICS { - description "DOT1X IF AUTH STATISTICS"; - leaf rx-start { - type uint32; - description "RxStart"; - } - leaf rx-logoff { - type uint32; - description "RxLogoff"; - } - leaf rx-resp { - type uint32; - description "RxResp"; - } - leaf rx-resp-id { - type uint32; - description "RxRespID"; - } - leaf rx-invalid { - type uint32; - description "RxInvalid"; - } - leaf rx-len-err { - type uint32; - description "RxLenErr"; - } - leaf rx-my-mac-err { - type uint32; - description "RxMyMacErr"; - } - leaf rx-total { - type uint32; - description "RxTotal"; - } - leaf tx-req { - type uint32; - description "TxReq"; - } - leaf tx-reqid { - type uint32; - description "TxReqID"; - } - leaf tx-total { - type uint32; - description "TxTotal"; - } - } - - grouping DOT1X-IDB-STATISTICS { - description "DOT1X IDB STATISTICS"; - leaf rx-total { - type uint32; - description "RxTotal"; - } - leaf tx-total { - type uint32; - description "TxTotal"; - } - leaf no-rx-on-intf-down { - type uint32; - description "NoRxOnIntfDown"; - } - } - - grouping DOT1X-IF-STATISTICS { - description "DOT1X IF STATISTICS"; - - container idb { - description "Dot1x interface database Statistics"; - uses DOT1X-IDB-STATISTICS; - } - - container auth { - description "Dot1x Authenticator Port Statistics"; - uses DOT1X-IF-AUTH-STATISTICS; - } - - container supp { - description "Dot1x Supplicant Port Statistics"; - uses DOT1X-IF-SUPP-STATISTICS; - } - leaf interface-name { - type string; - description "Interface Display name "; - } - leaf pae { - type string; - description "PAE type on interface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper.yang deleted file mode 100644 index c8af876..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dot1x-oper.yang +++ /dev/null @@ -1,113 +0,0 @@ -module Cisco-IOS-XR-dot1x-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-oper"; - - - prefix "dot1x-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-dot1x-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dot1x package operational data. - - This module contains definitions - for the following management objects: - dot1x: Dot1x operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container dot1x { - config false; - description "Dot1x operational data"; - - container statistics { - description "Dot1x operational data"; - - container interface-statistics { - description "Interfaces with Dot1x"; - - list interface-statistic { - key "name"; - description "Dot1x Data for that Interface"; - leaf name { - type xr:Interface-name; - description "Interface Name"; - } - uses DOT1X-IF-STATISTICS; - } - } - } - - container nodes { - description "Node-specific Dot1x operational data"; - - list node { - key "node-name"; - description "Dot1x operational data for a particular node"; - - container dot1x-defaults { - description "Dot1x Default Values"; - uses DOT1X-DEFAULT; - } - - container statistics { - description "Dot1x Default Values"; - uses DOT1X-STATISTICS; - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - - container session { - description "Dot1x operational data"; - - container interface-sessions { - description "Interfaces with Dot1x"; - - list interface-session { - key "name"; - description "Dot1x Data for that Interface"; - leaf name { - type xr:Interface-name; - description "Interface Name"; - } - uses DOT1X-INTERFACE-DETAIL; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang deleted file mode 100644 index 2cbb76e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang +++ /dev/null @@ -1,105 +0,0 @@ -module Cisco-IOS-XR-drivers-icpe-ethernet-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-drivers-icpe-ethernet-cfg"; - - - prefix "drivers-icpe-ethernet-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR drivers-icpe-ethernet package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Extended-ethernet-loopback { - type enumeration { - enum internal { - value 1; - description "Internal loopback"; - } - enum line { - value 2; - description "Line loopback"; - } - } - description "Extended ethernet loopback"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf laser-squelch { - type empty; - description "Configure Laser-Squelch"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container loopbacks { - description "Configure Extended loopback (diagnostics)"; - - list loopback { - key "level"; - description "Configure extended loopback mode"; - leaf level { - type uint32 { - range "1..3"; - } - description "Level"; - } - leaf loopback { - type Extended-ethernet-loopback; - mandatory true; - description "Loopback"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf perf-mon-disable { - type empty; - description "Configure Performance Monitoring "; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-cfg.yang deleted file mode 100644 index a3c8b5c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-cfg.yang +++ /dev/null @@ -1,284 +0,0 @@ -module Cisco-IOS-XR-drivers-media-eth-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-drivers-media-eth-cfg"; - - - prefix "drivers-media-eth-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR drivers-media-eth package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ethernet-auto-negotiation { - type enumeration { - enum true { - value 1; - description "IEEE Standard auto-negotiation"; - } - enum override { - value 2; - description "Auto-negotiation with configuration override"; - } - } - description "Ethernet auto negotiation"; - } - typedef Ethernet-fec { - type enumeration { - enum none { - value 0; - description "Disable any FEC enabled on the interface"; - } - enum standard { - value 1; - description "Enable standard (Reed-Solomon) FEC"; - } - } - description "Ethernet fec"; - } - typedef Ethernet-flow-ctrl { - type enumeration { - enum ingress { - value 0; - description "Ingress flow control (sending pause frames)"; - } - enum egress { - value 1; - description "Egress flow control (received pause frames)"; - } - enum bidirectional { - value 2; - description "Bi-direction flow control"; - } - } - description "Ethernet flow ctrl"; - } - typedef Ethernet-duplex { - type enumeration { - enum full { - value 0; - description "Full duplex"; - } - enum half { - value 1; - description "Half duplex"; - } - } - description "Ethernet duplex"; - } - typedef Ethernet-loopback { - type enumeration { - enum external { - value 0; - description "External loopback (using loopback connector)"; - } - enum internal { - value 1; - description "Internal loopback"; - } - enum line { - value 2; - description "Line loopback"; - } - } - description "Ethernet loopback"; - } - typedef Ethernet-speed { - type enumeration { - enum 10 { - value 10; - description "10Mbits/s"; - } - enum 100 { - value 100; - description "100Mbits/s"; - } - enum 1000 { - value 1000; - description "1Gbits/s"; - } - } - description "Ethernet speed"; - } - typedef Ethernet-ipg { - type enumeration { - enum non-standard { - value 16; - description "Non standard IPG"; - } - } - description "Ethernet ipg"; - } - typedef Ethernet-pfc { - type enumeration { - enum on { - value 1; - description "Enable priority flow control"; - } - } - description "Ethernet pfc"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ethernet { - description "Ether specific interface configuration"; - - container signal-fail-bit-error-rate { - description "Signal Fail Bit Error Rate handling options"; - leaf signal-remote-fault { - type empty; - description - "Signal a remote fault to the peer device - whenever the link is taken down due to - crossing the SF-BER threshold"; - } - leaf signal-fail-threshold { - type uint32 { - range "4..12"; - } - default "4"; - description - "Set the Signal Fail bit error rate threshold - on an interface to a value of 10e-x, where x - is the value passed in here"; - } - leaf signal-fail-report-disable { - type empty; - description - "Disable generation of an alarm whenever the - SF-BER threshold is crossed for this interface"; - } - } - - container optical-power-degrade { - description "Optical power degrade handling options"; - leaf rx-alarm-threshold { - type int32 { - range "-300..50"; - } - description - "Set the value of the received optical power - degrade alarm threshold on an interface"; - } - } - - container signal-degrade-bit-error-rate { - description - "Signal Degrade Bit Error Rate handling options"; - leaf signal-degrade-threshold { - type uint32 { - range "3..12"; - } - default "6"; - description - "Set the Signal Degrade bit error rate - threshold on an interface to a value of 10e-x, - where x is the value passed in here"; - } - leaf signal-degrade-report { - type empty; - description - "Generate an alarm whenever the SD-BER - threshold is crossed for this interface"; - } - } - - container carrier-delay { - description - "Set the carrier transition delay on an - interface in msecs"; - leaf carrier-delay-up { - type uint32 { - range "0..2147483647"; - } - description "Carrier Delay (up) in msecs"; - } - leaf carrier-delay-down { - type uint32 { - range "0..2147483647"; - } - description "Carrier Delay (down) in msecs"; - } - } - leaf duplex { - type Ethernet-duplex; - description "Configure duplex operational mode"; - } - leaf auto-negotiation { - type Ethernet-auto-negotiation; - description "Link auto-negotiation"; - } - leaf flow-control { - type Ethernet-flow-ctrl; - description "Configure flow-control mode"; - } - leaf forward-error-correction { - type Ethernet-fec; - description "Forward Error Correction"; - } - leaf priority-flow-control { - type Ethernet-pfc; - description "Configure priority flow-control mode"; - } - leaf loopback { - type Ethernet-loopback; - description "Configure loopback mode"; - } - leaf speed { - type Ethernet-speed; - description "Set the ethernet speed on an interface"; - } - leaf inter-packet-gap { - type Ethernet-ipg; - description "Inter-packet gap"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang deleted file mode 100644 index b237adb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang +++ /dev/null @@ -1,2617 +0,0 @@ -submodule Cisco-IOS-XR-drivers-media-eth-oper-sub1 { - - belongs-to Cisco-IOS-XR-drivers-media-eth-oper { - prefix Cisco-IOS-XR-drivers-media-eth-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR drivers-media-eth package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-04-04" { - description - "Added new fields to phy data."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ethernet-dev-if { - type enumeration { - enum no-interface { - description "no interface"; - } - enum xgmii { - description "xgmii"; - } - enum xaui { - description "xaui"; - } - enum ethernet-num-dev-if { - description "ethernet num dev if"; - } - } - description "Ethernet dev if"; - } - typedef Ethernet-dev { - type enumeration { - enum no-device { - description "no device"; - } - enum pma-pmd { - description "pma pmd"; - } - enum wis { - description "wis"; - } - enum pcs { - description "pcs"; - } - enum phy-xs { - description "phy xs"; - } - enum dte-xs { - description "dte xs"; - } - enum ethernet-num-dev { - description "ethernet num dev"; - } - } - description "Ethernet dev"; - } - typedef Ethernet-bert-pattern { - type enumeration { - enum no-test-pattern { - description "no test pattern"; - } - enum high-frequency { - description "high frequency"; - } - enum low-frequency { - description "low frequency"; - } - enum mixed-frequency { - description "mixed frequency"; - } - enum continuous-random { - description "continuous random"; - } - enum continuous-jitter { - description "continuous jitter"; - } - enum long-continuous-random { - description "long continuous random"; - } - enum short-continuous-random { - description "short continuous random"; - } - enum pseudorandom-seed-a { - description "pseudorandom seed a"; - } - enum pseudorandom-seed-b { - description "pseudorandom seed b"; - } - enum prbs31 { - description "prbs31"; - } - enum square-wave { - description "square wave"; - } - enum pseudorandom { - description "pseudorandom"; - } - enum ethernet-bert-pattern-types { - description "ethernet bert pattern types"; - } - } - description "Ethernet test patterns (IEEE spec 36A/48A)"; - } - typedef Ethernet-bert-err-cnt { - type enumeration { - enum no-count-type { - description "no count type"; - } - enum bit-error-count { - description "bit error count"; - } - enum frame-error-count { - description "frame error count"; - } - enum block-error-count { - description "block error count"; - } - enum ethernet-bert-err-cnt-types { - description "ethernet bert err cnt types"; - } - } - description "Ethernet bert err cnt"; - } - typedef Ethernet-bert-mask { - type uint32; - description "Ethernet bert mask"; - } - typedef Ether-ains-status { - type enumeration { - enum ains-soak-status-none { - description "AINS Soak timer not running"; - } - enum ains-soak-status-pending { - description "AINS Soak timer pending"; - } - enum ains-soak-status-running { - description "AINS Soak timer running"; - } - } - description "Ether ains status"; - } - typedef Mac-addr { - type yang:mac-address; - description "Mac addr"; - } - typedef Ether-pfc { - type enumeration { - enum no-pfc { - description "No priority flow control (disabled)"; - } - enum on { - description "Priority flow control enabled"; - } - } - description "Priority flowcontrol type"; - } - typedef Eth-ctrlr-alarm-state { - type enumeration { - enum alarm-not-supported { - value 0; - description "Not supported on this interface"; - } - enum alarm-set { - value 1; - description "Alarm set"; - } - enum alarm-not-set { - value 2; - description "Alarm not set"; - } - } - description "Ethernet alarm state"; - } - typedef Ethernet-ipg { - type enumeration { - enum standard { - description "IEEE standard value of 12"; - } - enum non-standard { - description "Non-standard value of 16"; - } - } - description "Inter packet gap"; - } - typedef Ether-flowcontrol { - type enumeration { - enum no-flowcontrol { - description "No flow control (disabled)"; - } - enum egress { - description "Traffic egress (pause frames ingress)"; - } - enum ingress { - description "Traffic ingress (pause frames egress)"; - } - enum bidirectional { - description "On both ingress and egress"; - } - } - description "Flowcontrol type"; - } - typedef Ethernet-duplex { - type enumeration { - enum ethernet-duplex-invalid { - description "ethernet duplex invalid"; - } - enum half-duplex { - description "half duplex"; - } - enum full-duplex { - description "full duplex"; - } - } - description "Duplexity"; - } - typedef Ethernet-speed { - type enumeration { - enum ethernet-speed-invalid { - value 0; - description "ethernet speed invalid"; - } - enum ten-mbps { - value 1; - description "ten mbps"; - } - enum hundred-mbps { - value 2; - description "hundred mbps"; - } - enum one-gbps { - value 3; - description "one gbps"; - } - enum ten-gbps { - value 4; - description "ten gbps"; - } - enum twenty-five-gbps { - value 5; - description "twenty five gbps"; - } - enum forty-gbps { - value 6; - description "forty gbps"; - } - enum fifty-gbps { - value 7; - description "fifty gbps"; - } - enum hundred-gbps { - value 8; - description "hundred gbps"; - } - enum two-hundred-gbps { - value 9; - description "two hundred gbps"; - } - enum four-hundred-gbps { - value 10; - description "four hundred gbps"; - } - enum ethernet-speed-types-count { - value 11; - description "ethernet speed types count"; - } - } - description "Speed"; - } - typedef Ether-autoneg-mask { - type uint32; - description "Ether autoneg mask"; - } - typedef Ether-led-state { - type enumeration { - enum led-state-unknown { - description "LED state is unknown"; - } - enum led-off { - description "LED is off"; - } - enum green-on { - description "LED is green"; - } - enum green-flashing { - description "LED is flashing green"; - } - enum yellow-on { - description "LED is yellow"; - } - enum yellow-flashing { - description "LED is flashing yellow"; - } - enum red-on { - description "LED is red"; - } - enum red-flashing { - description "LED is flashing red"; - } - } - description "Ether led state"; - } - typedef Ether-link-state { - type enumeration { - enum state-undefined { - description "State undefined"; - } - enum unknown-state { - description "Initializing, true state not yet known"; - } - enum available { - description "Link or light normal, loopback normal"; - } - enum not-available { - description "Link loss or low light, no loopback"; - } - enum remote-fault { - description "Remote fault with no detail"; - } - enum invalid-signal { - description "Invalid signal, applies only to 10BASE-FB"; - } - enum remote-jabber { - description "Remote fault, reason known to be jabber"; - } - enum link-loss { - description - "Remote fault, reason known to be far-end link - loss"; - } - enum remote-test { - description "Remote fault, reason known to be test"; - } - enum offline { - description "Offline (applies to auto-negotiation)"; - } - enum auto-neg-error { - description "Auto-Negotiation Error"; - } - enum pmd-link-fault { - description "PMD/PMA receive link fault"; - } - enum frame-loss { - description "WIS loss of frames"; - } - enum signal-loss { - description "WIS loss of signal"; - } - enum link-fault { - description "PCS receive link fault"; - } - enum excessive-ber { - description - "PCS Bit Error Rate monitor reporting excessive - error rate"; - } - enum dxs-link-fault { - description "DTE XGXS receive link fault"; - } - enum pxs-link-fault { - description "PHY XGXS transmit link fault"; - } - enum security { - description "Security failure (not a valid part)"; - } - enum phy-not-present { - description "The optics for the port are not present"; - } - enum no-optic-license { - description "License error (No advanced optical license)"; - } - enum unsupported-module { - description "Module is not supported"; - } - enum dwdm-laser-shut { - description "DWDM Laser shutdown"; - } - enum wanphy-laser-shut { - description "WANPHY Laser shutdown"; - } - enum incompatible-config { - description "Incompatible configuration"; - } - enum system-error { - description "System error"; - } - enum wan-framing-error { - description "WAN Framing Error"; - } - enum otn-framing-error { - description "OTN Framing Error"; - } - } - description - "Ethernet link state: IEEE 802.3/802.3ae clause 30 - .5.1.1.4"; - } - typedef Ethernet-fec { - type enumeration { - enum not-configured { - description "FEC not configured"; - } - enum standard { - description "Reed-Solomon encoding"; - } - enum disabled { - description "FEC explicitly disabled"; - } - enum base-r { - description "BASE-R encoding"; - } - } - description "FEC type"; - } - typedef Ethernet-loopback { - type enumeration { - enum no-loopback { - description "Disabled"; - } - enum internal { - description "Loopback in the framer"; - } - enum line { - description "Loops peer's packets back to them"; - } - enum external { - description "tx externally connected to rx"; - } - } - description "Loopback type"; - } - typedef Ether-dom-alarm { - type enumeration { - enum no-information { - description "DOM Alarm information is not available"; - } - enum alarm-high { - description "Alarm high"; - } - enum warning-high { - description "Warning high"; - } - enum normal { - description "Within normal parameters"; - } - enum warning-low { - description "Warning low"; - } - enum alarm-low { - description "Alarm low"; - } - } - description "Ether dom alarm"; - } - typedef Ether-phy-present { - type enumeration { - enum phy-not-present { - description "No PHY present"; - } - enum phy-present { - description "PHY is present"; - } - enum no-information { - description "State is unknown"; - } - } - description "Ether phy present"; - } - typedef Ethernet-media { - type enumeration { - enum ethernet-other { - description "IEEE 802.3/802.3ae clause 30.2.5"; - } - enum ethernet-unknown { - description - "Initializing, true state or type not yet known"; - } - enum ethernet-aui { - description "No internal MAU, view from AUI"; - } - enum ethernet-10base5 { - description "Thick coax MAU"; - } - enum ethernet-foirl { - description "FOIRL MAU as specified in 9.9"; - } - enum ethernet-10base2 { - description "Thin coax MAU"; - } - enum ethernet-10broad36 { - description "Broadband DTE MAU"; - } - enum ethernet-10base { - description "UTP MAU, duplexity unknown"; - } - enum ethernet-10base-thd { - description "UTP MAU, half duplex"; - } - enum ethernet-10base-tfd { - description "UTP MAU, full duplex"; - } - enum ethernet-10base-fp { - description "Passive fiber MAU"; - } - enum ethernet-10base-fb { - description "Synchronous fiber MAU"; - } - enum ethernet-10base-fl { - description "Asynchronous fiber MAU, duplexity unknown"; - } - enum ethernet-10base-flhd { - description "Asynchronous fiber MAU, half duplex"; - } - enum ethernet-10base-flfd { - description "Asynchronous fiber MAU, full duplex"; - } - enum ethernet-100base-t4 { - description "Four-pair Category 3 UTP"; - } - enum ethernet-100base-tx { - description "Two-pair Category 5 UTP, duplexity unknown"; - } - enum ethernet-100base-txhd { - description "Two-pair Category 5 UTP, half duplex"; - } - enum ethernet-100base-txfd { - description "Two-pair Category 5 UTP, full duplex"; - } - enum ethernet-100base-fx { - description "X fiber over PMD, duplexity unknown"; - } - enum ethernet-100base-fxhd { - description "X fiber over PMD, half duplex"; - } - enum ethernet-100base-fxfd { - description "X fiber over PMD, full duplex"; - } - enum ethernet-100base-ex { - description "X fiber over PMD (40km), duplexity unknown"; - } - enum ethernet-100base-exhd { - description "X fiber over PMD (40km), half duplex"; - } - enum ethernet-100base-exfd { - description "X fiber over PMD (40km), full duplex"; - } - enum ethernet-100base-t2 { - description "Two-pair Category 3 UTP, duplexity unknown"; - } - enum ethernet-100base-t2hd { - description "Two-pair Category 3 UTP, half duplex"; - } - enum ethernet-100base-t2fd { - description "Two-pair Category 3 UTP, full duplex"; - } - enum ethernet-1000base-x { - description "X PCS/PMA, duplexity unknown"; - } - enum ethernet-1000base-xhd { - description "X 1000BASE-XHDX PCS/PMA, half duplex"; - } - enum ethernet-1000base-xfd { - description "X PCS/PMA, full duplex"; - } - enum ethernet-1000base-lx { - description - "X fiber over long-wl laser PMD, duplexity - unknown"; - } - enum ethernet-1000base-lxhd { - description "X fiber over long-wl laser PMD, half duplex"; - } - enum ethernet-1000base-lxfd { - description "X fiber over long-wl laser PMD, full duplex"; - } - enum ethernet-1000base-sx { - description - "X fiber over short-wl laser PMD, duplexity - unknown"; - } - enum ethernet-1000base-sxhd { - description "X fiber over short-wl laser PMD, half duplex"; - } - enum ethernet-1000base-sxfd { - description "X fiber over short-wl laser PMD, full duplex"; - } - enum ethernet-1000base-cx { - description - "X copper over 150-Ohm balanced PMD, duplexity - unknown"; - } - enum ethernet-1000base-cxhd { - description - "X copper over 150-Ohm balancedPMD, half duplex"; - } - enum ethernet-1000base-cxfd { - description - "X copper over 150-Ohm balancedPMD, full duplex"; - } - enum ethernet-1000base { - description - "Four-pair Category 5 UTP PHY, duplexity unknown"; - } - enum ethernet-1000base-thd { - description "Four-pair Category 5 UTP PHY, half duplex"; - } - enum ethernet-1000base-tfd { - description "Four-pair Category 5 UTP PHY, full duplex"; - } - enum ethernet-10gbase-x { - description "X PCS/PMA "; - } - enum ethernet-10gbase-lx4 { - description "X fiber over 4 lane 1310nm optics"; - } - enum ethernet-10gbase-r { - description "R PCS/PMA"; - } - enum ethernet-10gbase-er { - description "R fiber over 1550nm optics"; - } - enum ethernet-10gbase-lr { - description "R fiber over 1310nm optics"; - } - enum ethernet-10gbase-sr { - description "R fiber over 850nm optics"; - } - enum ethernet-10gbase-w { - description "W PCS/PMA"; - } - enum ethernet-10gbase-ew { - description "W fiber over 1550nm optics"; - } - enum ethernet-10gbase-lw { - description "W fiber over 1310nm optics"; - } - enum ethernet-10gbase-sw { - description "W fiber over 850nm optics"; - } - enum ethernet-1000base-zx { - description "Single-mode fiber over 1550nm optics (Cisco)"; - } - enum ethernet-1000base-cwdm { - description "CWDM with unknown wavelength optics"; - } - enum ethernet-1000base-cwdm-1470 { - description "CWDM with 1470nm optics"; - } - enum ethernet-1000base-cwdm-1490 { - description "CWDM with 1490nm optics"; - } - enum ethernet-1000base-cwdm-1510 { - description "CWDM with 1510nm optics"; - } - enum ethernet-1000base-cwdm-1530 { - description "CWDM with 1530nm optics"; - } - enum ethernet-1000base-cwdm-1550 { - description "CWDM with 1550nm optics"; - } - enum ethernet-1000base-cwdm-1570 { - description "CWDM with 1570nm optics"; - } - enum ethernet-1000base-cwdm-1590 { - description "CWDM with 1590nm optics"; - } - enum ethernet-1000base-cwdm-1610 { - description "CWDM with 1610nm optics"; - } - enum ethernet-10gbase-zr { - description "Cisco-defined, over 1550nm optics"; - } - enum ethernet-10gbase-dwdm { - description "DWDM optics"; - } - enum ethernet-100gbase-lr4 { - description "fiber over 4 lane optics (long reach)"; - } - enum ethernet-1000base-dwdm { - description "DWDM optics"; - } - enum ethernet-1000base-dwdm-1533 { - description "DWDM with 1533nm optics"; - } - enum ethernet-1000base-dwdm-1537 { - description "DWDM with 1537nm optics"; - } - enum ethernet-1000base-dwdm-1541 { - description "DWDM with 1541nm optics"; - } - enum ethernet-1000base-dwdm-1545 { - description "DWDM with 1545nm optics"; - } - enum ethernet-1000base-dwdm-1549 { - description "DWDM with 1549nm optics"; - } - enum ethernet-1000base-dwdm-1553 { - description "DWDM with 1553nm optics"; - } - enum ethernet-1000base-dwdm-1557 { - description "DWDM with 1557nm optics"; - } - enum ethernet-1000base-dwdm-1561 { - description "DWDM with 1561nm optics"; - } - enum ethernet-40gbase-lr4 { - description "fiber over 4 lane optics (long reach)"; - } - enum ethernet-40gbase-er4 { - description "fiber over 4 lane optics (extended reach)"; - } - enum ethernet-100gbase-er4 { - description "fiber over 4 lane optics (extended reach)"; - } - enum ethernet-1000base-ex { - description "X fiber over 1310nm optics"; - } - enum ethernet-1000base-bx10-d { - description "X fibre (D, 10km)"; - } - enum ethernet-1000base-bx10-u { - description "X fibre (U, 10km)"; - } - enum ethernet-1000base-dwdm-1561-42 { - description "DWDM with 1561.42nm optics"; - } - enum ethernet-1000base-dwdm-1560-61 { - description "DWDM with 1560.61nm optics"; - } - enum ethernet-1000base-dwdm-1559-79 { - description "DWDM with 1559.79nm optics"; - } - enum ethernet-1000base-dwdm-1558-98 { - description "DWDM with 1558.98nm optics"; - } - enum ethernet-1000base-dwdm-1558-17 { - description "DWDM with 1558.17nm optics"; - } - enum ethernet-1000base-dwdm-1557-36 { - description "DWDM with 1557.36nm optics"; - } - enum ethernet-1000base-dwdm-1556-55 { - description "DWDM with 1556.55nm optics"; - } - enum ethernet-1000base-dwdm-1555-75 { - description "DWDM with 1555.75nm optics"; - } - enum ethernet-1000base-dwdm-1554-94 { - description "DWDM with 1554.94nm optics"; - } - enum ethernet-1000base-dwdm-1554-13 { - description "DWDM with 1554.13nm optics"; - } - enum ethernet-1000base-dwdm-1553-33 { - description "DWDM with 1553.33nm optics"; - } - enum ethernet-1000base-dwdm-1552-52 { - description "DWDM with 1552.52nm optics"; - } - enum ethernet-1000base-dwdm-1551-72 { - description "DWDM with 1551.72nm optics"; - } - enum ethernet-1000base-dwdm-1550-92 { - description "DWDM with 1550.92nm optics"; - } - enum ethernet-1000base-dwdm-1550-12 { - description "DWDM with 1550.12nm optics"; - } - enum ethernet-1000base-dwdm-1549-32 { - description "DWDM with 1549.32nm optics"; - } - enum ethernet-1000base-dwdm-1548-51 { - description "DWDM with 1548.51nm optics"; - } - enum ethernet-1000base-dwdm-1547-72 { - description "DWDM with 1547.72nm optics"; - } - enum ethernet-1000base-dwdm-1546-92 { - description "DWDM with 1546.92nm optics"; - } - enum ethernet-1000base-dwdm-1546-12 { - description "DWDM with 1546.12nm optics"; - } - enum ethernet-1000base-dwdm-1545-32 { - description "DWDM with 1545.32nm optics"; - } - enum ethernet-1000base-dwdm-1544-53 { - description "DWDM with 1544.53nm optics"; - } - enum ethernet-1000base-dwdm-1543-73 { - description "DWDM with 1543.73nm optics"; - } - enum ethernet-1000base-dwdm-1542-94 { - description "DWDM with 1542.94nm optics"; - } - enum ethernet-1000base-dwdm-1542-14 { - description "DWDM with 1542.14nm optics"; - } - enum ethernet-1000base-dwdm-1541-35 { - description "DWDM with 1541.35nm optics"; - } - enum ethernet-1000base-dwdm-1540-56 { - description "DWDM with 1540.56nm optics"; - } - enum ethernet-1000base-dwdm-1539-77 { - description "DWDM with 1539.77nm optics"; - } - enum ethernet-1000base-dwdm-1538-98 { - description "DWDM with 1538.98nm optics"; - } - enum ethernet-1000base-dwdm-1538-19 { - description "DWDM with 1538.19nm optics"; - } - enum ethernet-1000base-dwdm-1537-40 { - description "DWDM with 1537.40nm optics"; - } - enum ethernet-1000base-dwdm-1536-61 { - description "DWDM with 1536.61nm optics"; - } - enum ethernet-1000base-dwdm-1535-82 { - description "DWDM with 1535.82nm optics"; - } - enum ethernet-1000base-dwdm-1535-04 { - description "DWDM with 1535.04nm optics"; - } - enum ethernet-1000base-dwdm-1534-25 { - description "DWDM with 1534.25nm optics"; - } - enum ethernet-1000base-dwdm-1533-47 { - description "DWDM with 1533.47nm optics"; - } - enum ethernet-1000base-dwdm-1532-68 { - description "DWDM with 1532.68nm optics"; - } - enum ethernet-1000base-dwdm-1531-90 { - description "DWDM with 1531.90nm optics"; - } - enum ethernet-1000base-dwdm-1531-12 { - description "DWDM with 1531.12nm optics"; - } - enum ethernet-1000base-dwdm-1530-33 { - description "DWDM with 1530.33nm optics"; - } - enum ethernet-1000base-dwdm-tunable { - description "DWDM with tunable optics"; - } - enum ethernet-10gbase-dwdm-1561-42 { - description "DWDM with 1561.42nm optics"; - } - enum ethernet-10gbase-dwdm-1560-61 { - description "DWDM with 1560.61nm optics"; - } - enum ethernet-10gbase-dwdm-1559-79 { - description "DWDM with 1559.79nm optics"; - } - enum ethernet-10gbase-dwdm-1558-98 { - description "DWDM with 1558.98nm optics"; - } - enum ethernet-10gbase-dwdm-1558-17 { - description "DWDM with 1558.17nm optics"; - } - enum ethernet-10gbase-dwdm-1557-36 { - description "DWDM with 1557.36nm optics"; - } - enum ethernet-10gbase-dwdm-1556-55 { - description "DWDM with 1556.55nm optics"; - } - enum ethernet-10gbase-dwdm-1555-75 { - description "DWDM with 1555.75nm optics"; - } - enum ethernet-10gbase-dwdm-1554-94 { - description "DWDM with 1554.94nm optics"; - } - enum ethernet-10gbase-dwdm-1554-13 { - description "DWDM with 1554.13nm optics"; - } - enum ethernet-10gbase-dwdm-1553-33 { - description "DWDM with 1553.33nm optics"; - } - enum ethernet-10gbase-dwdm-1552-52 { - description "DWDM with 1552.52nm optics"; - } - enum ethernet-10gbase-dwdm-1551-72 { - description "DWDM with 1551.72nm optics"; - } - enum ethernet-10gbase-dwdm-1550-92 { - description "DWDM with 1550.92nm optics"; - } - enum ethernet-10gbase-dwdm-1550-12 { - description "DWDM with 1550.12nm optics"; - } - enum ethernet-10gbase-dwdm-1549-32 { - description "DWDM with 1549.32nm optics"; - } - enum ethernet-10gbase-dwdm-1548-51 { - description "DWDM with 1548.51nm optics"; - } - enum ethernet-10gbase-dwdm-1547-72 { - description "DWDM with 1547.72nm optics"; - } - enum ethernet-10gbase-dwdm-1546-92 { - description "DWDM with 1546.92nm optics"; - } - enum ethernet-10gbase-dwdm-1546-12 { - description "DWDM with 1546.12nm optics"; - } - enum ethernet-10gbase-dwdm-1545-32 { - description "DWDM with 1545.32nm optics"; - } - enum ethernet-10gbase-dwdm-1544-53 { - description "DWDM with 1544.53nm optics"; - } - enum ethernet-10gbase-dwdm-1543-73 { - description "DWDM with 1543.73nm optics"; - } - enum ethernet-10gbase-dwdm-1542-94 { - description "DWDM with 1542.94nm optics"; - } - enum ethernet-10gbase-dwdm-1542-14 { - description "DWDM with 1542.14nm optics"; - } - enum ethernet-10gbase-dwdm-1541-35 { - description "DWDM with 1541.35nm optics"; - } - enum ethernet-10gbase-dwdm-1540-56 { - description "DWDM with 1540.56nm optics"; - } - enum ethernet-10gbase-dwdm-1539-77 { - description "DWDM with 1539.77nm optics"; - } - enum ethernet-10gbase-dwdm-1538-98 { - description "DWDM with 1538.98nm optics"; - } - enum ethernet-10gbase-dwdm-1538-19 { - description "DWDM with 1538.19nm optics"; - } - enum ethernet-10gbase-dwdm-1537-40 { - description "DWDM with 1537.40nm optics"; - } - enum ethernet-10gbase-dwdm-1536-61 { - description "DWDM with 1536.61nm optics"; - } - enum ethernet-10gbase-dwdm-1535-82 { - description "DWDM with 1535.82nm optics"; - } - enum ethernet-10gbase-dwdm-1535-04 { - description "DWDM with 1535.04nm optics"; - } - enum ethernet-10gbase-dwdm-1534-25 { - description "DWDM with 1534.25nm optics"; - } - enum ethernet-10gbase-dwdm-1533-47 { - description "DWDM with 1533.47nm optics"; - } - enum ethernet-10gbase-dwdm-1532-68 { - description "DWDM with 1532.68nm optics"; - } - enum ethernet-10gbase-dwdm-1531-90 { - description "DWDM with 1531.90nm optics"; - } - enum ethernet-10gbase-dwdm-1531-12 { - description "DWDM with 1531.12nm optics"; - } - enum ethernet-10gbase-dwdm-1530-33 { - description "DWDM with 1530.33nm optics"; - } - enum ethernet-10gbase-dwdm-tunable { - description "DWDM with tunable optics"; - } - enum ethernet-40gbase-dwdm-1561-42 { - description "DWDM with 1561.42nm optics"; - } - enum ethernet-40gbase-dwdm-1560-61 { - description "DWDM with 1560.61nm optics"; - } - enum ethernet-40gbase-dwdm-1559-79 { - description "DWDM with 1559.79nm optics"; - } - enum ethernet-40gbase-dwdm-1558-98 { - description "DWDM with 1558.98nm optics"; - } - enum ethernet-40gbase-dwdm-1558-17 { - description "DWDM with 1558.17nm optics"; - } - enum ethernet-40gbase-dwdm-1557-36 { - description "DWDM with 1557.36nm optics"; - } - enum ethernet-40gbase-dwdm-1556-55 { - description "DWDM with 1556.55nm optics"; - } - enum ethernet-40gbase-dwdm-1555-75 { - description "DWDM with 1555.75nm optics"; - } - enum ethernet-40gbase-dwdm-1554-94 { - description "DWDM with 1554.94nm optics"; - } - enum ethernet-40gbase-dwdm-1554-13 { - description "DWDM with 1554.13nm optics"; - } - enum ethernet-40gbase-dwdm-1553-33 { - description "DWDM with 1553.33nm optics"; - } - enum ethernet-40gbase-dwdm-1552-52 { - description "DWDM with 1552.52nm optics"; - } - enum ethernet-40gbase-dwdm-1551-72 { - description "DWDM with 1551.72nm optics"; - } - enum ethernet-40gbase-dwdm-1550-92 { - description "DWDM with 1550.92nm optics"; - } - enum ethernet-40gbase-dwdm-1550-12 { - description "DWDM with 1550.12nm optics"; - } - enum ethernet-40gbase-dwdm-1549-32 { - description "DWDM with 1549.32nm optics"; - } - enum ethernet-40gbase-dwdm-1548-51 { - description "DWDM with 1548.51nm optics"; - } - enum ethernet-40gbase-dwdm-1547-72 { - description "DWDM with 1547.72nm optics"; - } - enum ethernet-40gbase-dwdm-1546-92 { - description "DWDM with 1546.92nm optics"; - } - enum ethernet-40gbase-dwdm-1546-12 { - description "DWDM with 1546.12nm optics"; - } - enum ethernet-40gbase-dwdm-1545-32 { - description "DWDM with 1545.32nm optics"; - } - enum ethernet-40gbase-dwdm-1544-53 { - description "DWDM with 1544.53nm optics"; - } - enum ethernet-40gbase-dwdm-1543-73 { - description "DWDM with 1543.73nm optics"; - } - enum ethernet-40gbase-dwdm-1542-94 { - description "DWDM with 1542.94nm optics"; - } - enum ethernet-40gbase-dwdm-1542-14 { - description "DWDM with 1542.14nm optics"; - } - enum ethernet-40gbase-dwdm-1541-35 { - description "DWDM with 1541.35nm optics"; - } - enum ethernet-40gbase-dwdm-1540-56 { - description "DWDM with 1540.56nm optics"; - } - enum ethernet-40gbase-dwdm-1539-77 { - description "DWDM with 1539.77nm optics"; - } - enum ethernet-40gbase-dwdm-1538-98 { - description "DWDM with 1538.98nm optics"; - } - enum ethernet-40gbase-dwdm-1538-19 { - description "DWDM with 1538.19nm optics"; - } - enum ethernet-40gbase-dwdm-1537-40 { - description "DWDM with 1537.40nm optics"; - } - enum ethernet-40gbase-dwdm-1536-61 { - description "DWDM with 1536.61nm optics"; - } - enum ethernet-40gbase-dwdm-1535-82 { - description "DWDM with 1535.82nm optics"; - } - enum ethernet-40gbase-dwdm-1535-04 { - description "DWDM with 1535.04nm optics"; - } - enum ethernet-40gbase-dwdm-1534-25 { - description "DWDM with 1534.25nm optics"; - } - enum ethernet-40gbase-dwdm-1533-47 { - description "DWDM with 1533.47nm optics"; - } - enum ethernet-40gbase-dwdm-1532-68 { - description "DWDM with 1532.68nm optics"; - } - enum ethernet-40gbase-dwdm-1531-90 { - description "DWDM with 1531.90nm optics"; - } - enum ethernet-40gbase-dwdm-1531-12 { - description "DWDM with 1531.12nm optics"; - } - enum ethernet-40gbase-dwdm-1530-33 { - description "DWDM with 1530.33nm optics"; - } - enum ethernet-40gbase-dwdm-tunable { - description "DWDM with tunable optics"; - } - enum ethernet-100gbase-dwdm-1561-42 { - description "DWDM with 1561.42nm optics"; - } - enum ethernet-100gbase-dwdm-1560-61 { - description "DWDM with 1560.61nm optics"; - } - enum ethernet-100gbase-dwdm-1559-79 { - description "DWDM with 1559.79nm optics"; - } - enum ethernet-100gbase-dwdm-1558-98 { - description "DWDM with 1558.98nm optics"; - } - enum ethernet-100gbase-dwdm-1558-17 { - description "DWDM with 1558.17nm optics"; - } - enum ethernet-100gbase-dwdm-1557-36 { - description "DWDM with 1557.36nm optics"; - } - enum ethernet-100gbase-dwdm-1556-55 { - description "DWDM with 1556.55nm optics"; - } - enum ethernet-100gbase-dwdm-1555-75 { - description "DWDM with 1555.75nm optics"; - } - enum ethernet-100gbase-dwdm-1554-94 { - description "DWDM with 1554.94nm optics"; - } - enum ethernet-100gbase-dwdm-1554-13 { - description "DWDM with 1554.13nm optics"; - } - enum ethernet-100gbase-dwdm-1553-33 { - description "DWDM with 1553.33nm optics"; - } - enum ethernet-100gbase-dwdm-1552-52 { - description "DWDM with 1552.52nm optics"; - } - enum ethernet-100gbase-dwdm-1551-72 { - description "DWDM with 1551.72nm optics"; - } - enum ethernet-100gbase-dwdm-1550-92 { - description "DWDM with 1550.92nm optics"; - } - enum ethernet-100gbase-dwdm-1550-12 { - description "DWDM with 1550.12nm optics"; - } - enum ethernet-100gbase-dwdm-1549-32 { - description "DWDM with 1549.32nm optics"; - } - enum ethernet-100gbase-dwdm-1548-51 { - description "DWDM with 1548.51nm optics"; - } - enum ethernet-100gbase-dwdm-1547-72 { - description "DWDM with 1547.72nm optics"; - } - enum ethernet-100gbase-dwdm-1546-92 { - description "DWDM with 1546.92nm optics"; - } - enum ethernet-100gbase-dwdm-1546-12 { - description "DWDM with 1546.12nm optics"; - } - enum ethernet-100gbase-dwdm-1545-32 { - description "DWDM with 1545.32nm optics"; - } - enum ethernet-100gbase-dwdm-1544-53 { - description "DWDM with 1544.53nm optics"; - } - enum ethernet-100gbase-dwdm-1543-73 { - description "DWDM with 1543.73nm optics"; - } - enum ethernet-100gbase-dwdm-1542-94 { - description "DWDM with 1542.94nm optics"; - } - enum ethernet-100gbase-dwdm-1542-14 { - description "DWDM with 1542.14nm optics"; - } - enum ethernet-100gbase-dwdm-1541-35 { - description "DWDM with 1541.35nm optics"; - } - enum ethernet-100gbase-dwdm-1540-56 { - description "DWDM with 1540.56nm optics"; - } - enum ethernet-100gbase-dwdm-1539-77 { - description "DWDM with 1539.77nm optics"; - } - enum ethernet-100gbase-dwdm-1538-98 { - description "DWDM with 1538.98nm optics"; - } - enum ethernet-100gbase-dwdm-1538-19 { - description "DWDM with 1538.19nm optics"; - } - enum ethernet-100gbase-dwdm-1537-40 { - description "DWDM with 1537.40nm optics"; - } - enum ethernet-100gbase-dwdm-1536-61 { - description "DWDM with 1536.61nm optics"; - } - enum ethernet-100gbase-dwdm-1535-82 { - description "DWDM with 1535.82nm optics"; - } - enum ethernet-100gbase-dwdm-1535-04 { - description "DWDM with 1535.04nm optics"; - } - enum ethernet-100gbase-dwdm-1534-25 { - description "DWDM with 1534.25nm optics"; - } - enum ethernet-100gbase-dwdm-1533-47 { - description "DWDM with 1533.47nm optics"; - } - enum ethernet-100gbase-dwdm-1532-68 { - description "DWDM with 1532.68nm optics"; - } - enum ethernet-100gbase-dwdm-1531-90 { - description "DWDM with 1531.90nm optics"; - } - enum ethernet-100gbase-dwdm-1531-12 { - description "DWDM with 1531.12nm optics"; - } - enum ethernet-100gbase-dwdm-1530-33 { - description "DWDM with 1530.33nm optics"; - } - enum ethernet-100gbase-dwdm-tunable { - description "DWDM with tunable optics"; - } - enum ethernet-40gbase-kr4 { - description "4 lane copper (backplane)"; - } - enum ethernet-40gbase-cr4 { - description "4 lane copper (very short reach)"; - } - enum ethernet-40gbase-sr4 { - description "fiber over 4 lane optics (short reach)"; - } - enum ethernet-40gbase-fr { - description "serial fiber (2+ km)"; - } - enum ethernet-100gbase-cr10 { - description "10 lane copper (very short reach)"; - } - enum ethernet-100gbase-sr10 { - description "MMF fiber over 10 lane optics (short reach)"; - } - enum ethernet-40gbase-csr4 { - description - "fiber over 4 lane optics (extended short reach)"; - } - enum ethernet-10gbase-cwdm { - description "CWDM optics"; - } - enum ethernet-10gbase-cwdm-tunable { - description "CWDM with tunable optics"; - } - enum ethernet-10gbase-cwdm-1470 { - description "CWDM with 1470nm optics"; - } - enum ethernet-10gbase-cwdm-1490 { - description "CWDM with 1490nm optics"; - } - enum ethernet-10gbase-cwdm-1510 { - description "CWDM with 1510nm optics"; - } - enum ethernet-10gbase-cwdm-1530 { - description "CWDM with 1530nm optics"; - } - enum ethernet-10gbase-cwdm-1550 { - description "CWDM with 1550nm optics"; - } - enum ethernet-10gbase-cwdm-1570 { - description "CWDM with 1570nm optics"; - } - enum ethernet-10gbase-cwdm-1590 { - description "CWDM with 1590nm optics"; - } - enum ethernet-10gbase-cwdm-1610 { - description "CWDM with 1610nm optics"; - } - enum ethernet-40gbase-cwdm { - description "CWDM optics"; - } - enum ethernet-40gbase-cwdm-tunable { - description "CWDM with tunable optics"; - } - enum ethernet-40gbase-cwdm-1470 { - description "CWDM with 1470nm optics"; - } - enum ethernet-40gbase-cwdm-1490 { - description "CWDM with 1490nm optics"; - } - enum ethernet-40gbase-cwdm-1510 { - description "CWDM with 1510nm optics"; - } - enum ethernet-40gbase-cwdm-1530 { - description "CWDM with 1530nm optics"; - } - enum ethernet-40gbase-cwdm-1550 { - description "CWDM with 1550nm optics"; - } - enum ethernet-40gbase-cwdm-1570 { - description "CWDM with 1570nm optics"; - } - enum ethernet-40gbase-cwdm-1590 { - description "CWDM with 1590nm optics"; - } - enum ethernet-40gbase-cwdm-1610 { - description "CWDM with 1610nm optics"; - } - enum ethernet-100gbase-cwdm { - description "CWDM optics"; - } - enum ethernet-100gbase-cwdm-tunable { - description "CWDM with tunable optics"; - } - enum ethernet-100gbase-cwdm-1470 { - description "CWDM with 1470nm optics"; - } - enum ethernet-100gbase-cwdm-1490 { - description "CWDM with 1490nm optics"; - } - enum ethernet-100gbase-cwdm-1510 { - description "CWDM with 1510nm optics"; - } - enum ethernet-100gbase-cwdm-1530 { - description "CWDM with 1530nm optics"; - } - enum ethernet-100gbase-cwdm-1550 { - description "CWDM with 1550nm optics"; - } - enum ethernet-100gbase-cwdm-1570 { - description "CWDM with 1570nm optics"; - } - enum ethernet-100gbase-cwdm-1590 { - description "CWDM with 1590nm optics"; - } - enum ethernet-100gbase-cwdm-1610 { - description "CWDM with 1610nm optics"; - } - enum ethernet-40gbase-elpb { - description "Electrical loopback"; - } - enum ethernet-100gbase-elpb { - description "Electrical loopback"; - } - enum ethernet-100gbase-lr10 { - description "Fiber over 10 lane optics (long reach)"; - } - enum ethernet-40gbase { - description "Four-pair Category 8 STP"; - } - enum ethernet-100gbase-kp4 { - description "4 lane copper (backplane)"; - } - enum ethernet-100gbase-kr4 { - description "Improved 4 lane copper (backplane)"; - } - enum ethernet-10gbase-lrm { - description - "Multimode fiber with 1310nm optics (long reach)"; - } - enum ethernet-10gbase-cx4 { - description "4 lane X copper"; - } - enum ethernet-10gbase { - description "Four-pair Category 6+ UTP"; - } - enum ethernet-10gbase-kx4 { - description "4 lane X copper (backplane)"; - } - enum ethernet-10gbase-kr { - description "Copper (backplane)"; - } - enum ethernet-10gbase-pr { - description "Passive optical network"; - } - enum ethernet-100base-lx { - description "X fiber over 4 lane 1310nm optics"; - } - enum ethernet-100base-zx { - description "Single-mode fiber over 1550nm optics (Cisco)"; - } - enum ethernet-1000base-bx-d { - description "X fibre (D)"; - } - enum ethernet-1000base-bx-u { - description "X fibre (U)"; - } - enum ethernet-1000base-bx20-d { - description "X fibre (D, 20km)"; - } - enum ethernet-1000base-bx20-u { - description "X fibre (U, 20km)"; - } - enum ethernet-1000base-bx40-d { - description "X fibre (D, 40km)"; - } - enum ethernet-1000base-bx40-da { - description "X fibre (D, 40km)"; - } - enum ethernet-1000base-bx40-u { - description "X fibre (U, 40km)"; - } - enum ethernet-1000base-bx80-d { - description "X fibre (D, 80km)"; - } - enum ethernet-1000base-bx80-u { - description "X fibre (U, 80km)"; - } - enum ethernet-1000base-bx120-d { - description "X fibre (D, 120km)"; - } - enum ethernet-1000base-bx120-u { - description "X fibre (U, 120km)"; - } - enum ethernet-10gbase-bx-d { - description "X fibre (D)"; - } - enum ethernet-10gbase-bx-u { - description "X fibre (U)"; - } - enum ethernet-10gbase-bx10-d { - description "X fibre (D, 10km)"; - } - enum ethernet-10gbase-bx10-u { - description "X fibre (U, 10km)"; - } - enum ethernet-10gbase-bx20-d { - description "X fibre (D, 20km)"; - } - enum ethernet-10gbase-bx20-u { - description "X fibre (U, 20km)"; - } - enum ethernet-10gbase-bx40-d { - description "X fibre (D, 40km)"; - } - enum ethernet-10gbase-bx40-u { - description "X fibre (U, 40km)"; - } - enum ethernet-10gbase-bx80-d { - description "X fibre (D, 80km)"; - } - enum ethernet-10gbase-bx80-u { - description "X fibre (U, 80km)"; - } - enum ethernet-10gbase-bx120-d { - description "X fibre (D, 120km)"; - } - enum ethernet-10gbase-bx120-u { - description "X fibre (U, 120km)"; - } - enum ethernet-1000base-dr-lx { - description - "X fiber over long-wl laser PMD, duplexity - unknown, dual rate"; - } - enum ethernet-100gbase-er4l { - description "fiber over 4 lane optics (25km reach) (lite)"; - } - enum ethernet-100gbase-sr4 { - description "fiber over 4 lane optics (short reach)"; - } - enum ethernet-40gbase-sr-bd { - description - "Bi-directional fiber over 2 lane optics (short - reach)"; - } - enum ethernet-25gbase-cr { - description "Twinaxial copper cabling"; - } - enum ethernet-25gbase-cr-s { - description "Twinaxial copper cabling (no RS-FEC)"; - } - enum ethernet-25gbase-kr { - description "One lane electrical backplane"; - } - enum ethernet-25gbase-kr-s { - description "One lane electrical backplane (no RS-FEC)"; - } - enum ethernet-25gbase-r { - description "One lane fiber"; - } - enum ethernet-25gbase-sr { - description "Multimode fiber"; - } - enum ethernet-25gbase-dwdm { - description "DWDM optics"; - } - enum ethernet-25gbase-dwdm-tunable { - description "DWDM with tunable optics"; - } - enum ethernet-25gbase-cwdm { - description "CWDM optics"; - } - enum ethernet-25gbase-cwdm-tunable { - description "CWDM with tunable optics"; - } - enum ethernet-100gbase-psm4 { - description "4 parallel single mode fibers"; - } - enum ethernet-100gbase-er10 { - description "Fiber over 10 lane optics (extended reach)"; - } - enum ethernet-100gbase-er10l { - description - "Fiber over 10 lane optics (extended reach) - (lite)"; - } - enum ethernet-100gbase-acc { - description "Active copper cable"; - } - enum ethernet-100gbase-aoc { - description "Active optical cable"; - } - enum ethernet-100gbase-cwdm4 { - description "4 lane CWDM cable"; - } - enum ethernet-40gbase-psm4 { - description "4 parallel single mode fibers"; - } - enum ethernet-100gbase-cr4 { - description "4 lane copper (very short reach)"; - } - enum ethernet-100gbase-act-loop { - description "Active loopback"; - } - enum ethernet-100gbase-pas-loop { - description "Passive loopback"; - } - enum ethernet-50gbase-cr2 { - description "2 lane copper (very short reach)"; - } - enum ethernet-50gbase-sr2 { - description "fiber over 2 lane optics (short reach)"; - } - enum ethernet-50gbase-psm2 { - description "2 parallel single mode fibers"; - } - enum ethernet-200gbase-cr4 { - description "4 lanes Passive Copper"; - } - enum ethernet-400gbase-fr4 { - description "Duplex SMF LC Connector 2km"; - } - enum ethernet-400gbase-dr4 { - description "SMF with MPO-12 connector"; - } - enum ethernet-400gbase-cr4 { - description "4 lanes Passive Copper"; - } - enum ethernet-base-max { - description "ethernet base max"; - } - } - description - "Ethernet media types: IEEE 802.3/802.3ae clause - 30.5.1.1.2"; - } - typedef Ethernet-port-enable { - type enumeration { - enum disabled { - description "Port disabled, both directions"; - } - enum rx-enabled { - description "Port enabled rx direction only"; - } - enum tx-enabled { - description "Port enabled tx direction only"; - } - enum enabled { - description "Port enabled, both directions"; - } - } - description "Port admin state"; - } - - grouping ETHERNET-BERT-STATUS-TYPE { - description "ETHERNET BERT STATUS TYPE"; - leaf bert-state-enabled { - type boolean; - description "State"; - } - leaf data-availability { - type Ethernet-bert-mask; - description "Flag indicating available data"; - } - leaf receive-count { - type uint64; - description "Receive count (if 0x1 set in flag)"; - } - leaf transmit-count { - type uint64; - description "Transmit count (if 0x2 set in flag)"; - } - leaf receive-errors { - type uint64; - description "Received errors (if 0x4 set in flag)"; - } - leaf error-type { - type Ethernet-bert-err-cnt; - description "Bit, block or frame error"; - } - leaf test-pattern { - type Ethernet-bert-pattern; - description "Test pattern"; - } - leaf device-under-test { - type Ethernet-dev; - description "Device being tested"; - } - leaf interface-device { - type Ethernet-dev-if; - description "Interface being tested"; - } - } - - grouping ETH-SHOWCTRL-BERT { - description "Per port BERT test status information"; - - container bert-status { - description "Current test status"; - uses ETHERNET-BERT-STATUS-TYPE; - } - leaf time-left { - type uint32; - units "second"; - description "Remaining time for this test in seconds"; - } - leaf port-bert-interval { - type uint32; - description "Port BERT interval"; - } - } - - grouping ETH-CTLR-TRANSPORT-INFO { - description "ETH CTLR TRANSPORT INFO"; - leaf maintenance-mode-enabled { - type boolean; - description "Maintenance Mode - TRUE if enabled"; - } - leaf ains-status { - type Ether-ains-status; - description "AINS Soak status"; - } - leaf total-duration { - type uint32; - units "second"; - description "Total duration (seconds) of AINS soak timer"; - } - leaf remaining-duration { - type uint32; - units "second"; - description "Remaining duration (seconds) of AINS soak timer"; - } - } - - grouping ETHER-MCAST-MAC-TYPE { - description "Multicast MAC address"; - leaf mac-address { - type Mac-addr; - description "MAC address"; - } - leaf mask { - type Mac-addr; - description "Mask for this MAC address"; - } - } - - grouping ETH-CTRLR-MCAST-MAC-FILTER { - description "ETH CTRLR MCAST MAC FILTER"; - leaf multicast-promiscuous { - type boolean; - description - "Whether the port is in multicast promiscuous - mode"; - } - - list multicast-mac-address { - description - "MAC addresses in the multicast ingress - destination MAC filter"; - uses ETHER-MCAST-MAC-TYPE; - } - } - - grouping ETH-CTRLR-UCAST-MAC-FILTER { - description "ETH CTRLR UCAST MAC FILTER"; - leaf-list unicast-mac-address { - type Mac-addr; - description - "MAC addresses in the unicast ingress destination - MAC filter"; - } - } - - grouping ETH-CTRLR-MAC-INFO { - description "ETH CTRLR MAC INFO"; - - container unicast-mac-filters { - description "Port unicast MAC filter information"; - uses ETH-CTRLR-UCAST-MAC-FILTER; - } - - container multicast-mac-filters { - description "Port multicast MAC filter information"; - uses ETH-CTRLR-MCAST-MAC-FILTER; - } - leaf mtu { - type uint32; - description "Port operational MTU"; - } - leaf mru { - type uint32; - description "Port operational MRU"; - } - leaf burned-in-mac-address { - type Mac-addr; - description "Port Burned-In MAC address"; - } - leaf operational-mac-address { - type Mac-addr; - description "Port operational MAC address"; - } - } - - grouping ETHER-PFC-DETAILS-TYPE { - description "ETHER PFC DETAILS TYPE"; - leaf priority-flowcontrol { - type Ether-pfc; - description "Port operational priority flow control"; - } - leaf priority-enabled-bitmap { - type uint8; - description "Priority bitmap"; - } - leaf-list rx-frame { - type uint64; - max-elements "8"; - description "RX Frame counts"; - } - leaf-list tx-frame { - type uint64; - max-elements "8"; - description "TX Frame counts"; - } - } - - grouping ETHER-OPD-SETTINGS { - description "ETHER OPD SETTINGS"; - leaf received-optical-power-degrade-threshold-set { - type int32; - description "Rx-OPD alarm threshold set?"; - } - leaf received-optical-power-degrade-threshold { - type int32; - description "Rx-OPD alarm threshold value"; - } - } - - grouping ETH-OPD-MONITORING { - description "ETH OPD MONITORING"; - - container settings { - description "The OPD monitoring settings to be applied"; - uses ETHER-OPD-SETTINGS; - } - leaf supported { - type int32; - description "Whether or not OPD monitoring is supported"; - } - } - - grouping ETHER-BER-SETTINGS { - description "ETHER BER SETTINGS"; - leaf signal-degrade-threshold { - type uint32; - description "BER threshold for signal to degrade"; - } - leaf signal-degrade-alarm { - type int32; - description "Report alarm to indicate signal degrade"; - } - leaf signal-fail-threshold { - type uint32; - description "BER threshold for signal to fail"; - } - leaf signal-fail-alarm { - type int32; - description "Report alarm to indicate signal failure"; - } - leaf signal-remote-fault { - type int32; - description "Whether drivers should signal remote faults"; - } - } - - grouping ETH-BER-MONITORING { - description "ETH BER MONITORING"; - - container settings { - description "The BER monitoring settings to be applied"; - uses ETHER-BER-SETTINGS; - } - leaf supported { - type int32; - description "Whether or not BER monitoring is supported"; - } - } - - grouping ETH-CTRLR-ERROR-COUNTERS { - description "ETH CTRLR ERROR COUNTERS"; - leaf sync-header-errors { - type uint64; - description "Sync-header error count"; - } - leaf pcsbip-errors { - type uint64; - description "PCS BIP error count"; - } - } - - grouping ETH-CTRLR-ALARMS { - description "ETH CTRLR ALARMS"; - leaf received-loss-of-signal-alarm { - type Eth-ctrlr-alarm-state; - description "Received Loss of Signal"; - } - leaf pcs-loss-of-block-lock-alarm { - type Eth-ctrlr-alarm-state; - description "PCS Loss of Block Lock"; - } - leaf local-fault-alarm { - type Eth-ctrlr-alarm-state; - description "Local Fault"; - } - leaf remote-fault-alarm { - type Eth-ctrlr-alarm-state; - description "Remote Fault"; - } - leaf sd-ber-alarm { - type Eth-ctrlr-alarm-state; - description "SD BER"; - } - leaf sf-ber-alarm { - type Eth-ctrlr-alarm-state; - description "SF BER"; - } - leaf loss-of-synchronization-data-alarm { - type Eth-ctrlr-alarm-state; - description "Loss of Synchronization Data"; - } - leaf hi-ber-alarm { - type Eth-ctrlr-alarm-state; - description "Hi BER"; - } - leaf squelch-alarm { - type Eth-ctrlr-alarm-state; - description "Squelch"; - } - leaf rx-opd-alarm { - type Eth-ctrlr-alarm-state; - description "Rx OPD Alarm"; - } - } - - grouping ETHER-AUTONEG-TYPE { - description "Autonegotiation settings"; - leaf autoneg-enabled { - type int32; - description "TRUE if autonegotiation is enabled"; - } - leaf mask { - type Ether-autoneg-mask; - description - "Validity mask: 0x1 speed, 0x2 duplex, 0x4 - flowcontrol, 0x8 fec"; - } - leaf speed { - type Ethernet-speed; - description - "Restricted speed (if relevant bit is set in - mask)"; - } - leaf duplex { - type Ethernet-duplex; - description - "Restricted duplex (if relevant bit is set in - mask)"; - } - leaf flowcontrol { - type Ether-flowcontrol; - description - "Restricted flowcontrol (if relevant bit is set - in mask)"; - } - leaf config-override { - type int32; - description - "If true, configuration overrides negotiated - settings. If false, negotiated settings in - effect"; - } - leaf fec { - type Ethernet-fec; - description - "Restricted FEC (if revelevant bit is set in - mask)"; - } - } - - grouping ETH-CTRLR-L1-INFO { - description "ETH CTRLR L1 INFO"; - - container autoneg { - description "Port autonegotiation configuration settings"; - uses ETHER-AUTONEG-TYPE; - } - - container current-alarms { - description "Current alarms"; - uses ETH-CTRLR-ALARMS; - } - - container previous-alarms { - description "Previous alarms"; - uses ETH-CTRLR-ALARMS; - } - - container error-counts { - description "Statistics for detected errors"; - uses ETH-CTRLR-ERROR-COUNTERS; - } - - container ber-monitoring { - description "BER monitoring details"; - uses ETH-BER-MONITORING; - } - - container opd-monitoring { - description "OPD monitoring details"; - uses ETH-OPD-MONITORING; - } - - container pfc-info { - description "Priority flow control information"; - uses ETHER-PFC-DETAILS-TYPE; - } - leaf link-state { - type Ether-link-state; - description "Link state"; - } - leaf led-state { - type Ether-led-state; - description "State of the LED"; - } - leaf speed { - type Ethernet-speed; - description "Port operational speed"; - } - leaf duplex { - type Ethernet-duplex; - description "Port operational duplexity"; - } - leaf flowcontrol { - type Ether-flowcontrol; - description "Port operational flow control"; - } - leaf ipg { - type Ethernet-ipg; - description "Port operational inter-packet-gap"; - } - leaf laser-squelch-enabled { - type boolean; - description "Laser Squelch - TRUE if enabled"; - } - leaf bandwidth-utilization { - type uint32; - units "percentage"; - description "Bandwidth utilization (hundredths of a percent)"; - } - leaf bandwidth { - type uint64; - description "Port operational bandwidth"; - } - } - - grouping EXTENDED-LOOPBACK-TYPE { - description "EXTENDED LOOPBACK TYPE"; - leaf level { - type uint32; - description "Level"; - } - leaf loopback { - type Ethernet-loopback; - description "Port operational loopback"; - } - } - - grouping ETHER-FEC-DETAILS-TYPE { - description "ETHER FEC DETAILS TYPE"; - leaf fec { - type Ethernet-fec; - description "Port operational FEC type"; - } - leaf corrected-codeword-count { - type uint64; - description "Corrected codeword error count"; - } - leaf uncorrected-codeword-count { - type uint64; - description "Uncorrected codeword error count"; - } - } - - grouping ETH-CTRLR-PHY-DOM-ALARMS { - description "ETH CTRLR PHY DOM ALARMS"; - leaf transceiver-temperature { - type Ether-dom-alarm; - description "Transceiver Temperature Alarm"; - } - leaf transceiver-voltage { - type Ether-dom-alarm; - description "Transceiver Voltage Alarm"; - } - leaf transmit-laser-power { - type Ether-dom-alarm; - description "Transmit Laser Power Alarm"; - } - leaf received-laser-power { - type Ether-dom-alarm; - description "Received Optical Power Alarm"; - } - leaf laser-bias-current { - type Ether-dom-alarm; - description "Laser Bias Current Alarm"; - } - } - - grouping ETH-CTRLR-PHY-DOM-THRESHOLD-VALIDITY { - description "ETH CTRLR PHY DOM THRESHOLD VALIDITY"; - leaf temperature-valid { - type int32; - description "The temperature fields are valid"; - } - leaf voltage-valid { - type int32; - description "The voltage fields are valid"; - } - leaf laser-bias-valid { - type int32; - description "The laser bias fields are valid"; - } - leaf transmit-power-valid { - type int32; - description "The transmit power fields are valid"; - } - leaf receive-power-valid { - type int32; - description "The receive power fields are valid"; - } - } - - grouping ETH-CTRLR-PHY-DOM-THRESHOLDS { - description "ETH CTRLR PHY DOM THRESHOLDS"; - - container field-validity { - description "Field validity"; - uses ETH-CTRLR-PHY-DOM-THRESHOLD-VALIDITY; - } - leaf transceiver-temperature-alarm-high { - type int32; - description - "Transceiver high temperature alarm threshold - (mDegrees C)"; - } - leaf transceiver-temperature-warning-high { - type int32; - description - "Transceiver high temperature warning threshold - (mDegrees C)"; - } - leaf transceiver-temperature-warning-low { - type int32; - description - "Transceiver low temperature warning threshold - (mDegrees C)"; - } - leaf transceiver-temperature-alarm-low { - type int32; - description - "Transceiver low temperature alarm threshold - (mDegrees C)"; - } - leaf transceiver-voltage-alarm-high { - type uint32; - description "Transceiver high voltage alarm threshold (mV)"; - } - leaf transceiver-voltage-warning-high { - type uint32; - description "Transceiver high voltage warning threshold (mV)"; - } - leaf transceiver-voltage-warning-low { - type uint32; - description "Transceiver low voltage warning threshold (mV)"; - } - leaf transceiver-voltage-alarm-low { - type uint32; - description "Transceiver low voltage alarm threshold (mV)"; - } - leaf laser-bias-alarm-high { - type uint32; - description "Laser bias high alarm threshold (uA)"; - } - leaf laser-bias-warning-high { - type uint32; - description "Laser bias high warning threshold (uA)"; - } - leaf laser-bias-warning-low { - type uint32; - description "Laser bias low warning threshold (uA)"; - } - leaf laser-bias-alarm-low { - type uint32; - description "Laser bias low alarm threshold (uA)"; - } - leaf optical-transmit-power-alarm-high { - type uint32; - description - "High optical transmit power alarm threshold (uW)"; - } - leaf optical-transmit-power-warning-high { - type uint32; - description - "High optical transmit power warning threshold - (uW)"; - } - leaf optical-transmit-power-warning-low { - type uint32; - description - "Low optical transmit power warning threshold - (uW)"; - } - leaf optical-transmit-power-alarm-low { - type uint32; - description "Low optical transmit power alarm threshold (uW)"; - } - leaf optical-receive-power-alarm-high { - type uint32; - description "High optical receive power alarm threshold (uW)"; - } - leaf optical-receive-power-warning-high { - type uint32; - description - "High optical receive power warning threshold - (uW)"; - } - leaf optical-receive-power-warning-low { - type uint32; - description - "Low optical receive power warning threshold (uW)"; - } - leaf optical-receive-power-alarm-low { - type uint32; - description "Low optical receive power alarm threshold (uW)"; - } - } - - grouping ETH-CTRLR-PHY-LANE-OPT-MON-VALIDITY { - description "ETH CTRLR PHY LANE OPT MON VALIDITY"; - leaf wavelength-valid { - type int32; - description "The wavelength 'per lane' field is valid"; - } - leaf transmit-power-valid { - type int32; - description "The transmit power 'per lane' field is valid"; - } - leaf receive-power-valid { - type int32; - description "The receive power 'per lane' field is valid"; - } - leaf laser-bias-valid { - type int32; - description "The laser bias 'per lane' field is valid"; - } - } - - grouping ETH-CTRLR-PHY-DOM-LANE-ALARMS { - description "ETH CTRLR PHY DOM LANE ALARMS"; - leaf transmit-laser-power { - type Ether-dom-alarm; - description "Transmit Laser Power Alarm"; - } - leaf received-laser-power { - type Ether-dom-alarm; - description "Received Optical Power Alarm"; - } - leaf laser-bias-current { - type Ether-dom-alarm; - description "Laser Bias Current Alarm"; - } - } - - grouping ETH-CTRLR-PHY-LANE-OPT-MON { - description "ETH CTRLR PHY LANE OPT MON"; - - container dig-opt-mon-alarm { - description "Digital Optical Monitoring alarms"; - uses ETH-CTRLR-PHY-DOM-LANE-ALARMS; - } - leaf center-wavelength { - type uint32; - description "Center Wavelength (nm*1000)"; - } - leaf transmit-laser-power { - type int32; - description "Transmit Laser Power (dBm*1000)"; - } - leaf received-laser-power { - type int32; - description "Received Optical Power (dBm*1000)"; - } - leaf laser-bias-current { - type uint32; - description "Laser Bias Current (uAmps)"; - } - leaf lane-id { - type uint32; - description "Numerical identifier for this lane"; - } - } - - grouping ETHER-PHY-DETAILS-TYPE { - description "ETHER PHY DETAILS TYPE"; - - container lane-field-validity { - description - "Digital Optical Monitoring (per lane - information) validity"; - uses ETH-CTRLR-PHY-LANE-OPT-MON-VALIDITY; - } - - container dig-opt-mon-alarm-thresholds { - description "Digital Optical Monitoring alarm thresholds"; - uses ETH-CTRLR-PHY-DOM-THRESHOLDS; - } - - container dig-opt-mon-alarms { - description "Digital Optical Monitoring alarms"; - uses ETH-CTRLR-PHY-DOM-ALARMS; - } - leaf vendor { - type string; - description "Name of the port optics manufacturer"; - } - leaf vendor-part-number { - type string; - description "Part number for the port optics"; - } - leaf vendor-serial-number { - type string; - description "Serial number for the port optics"; - } - leaf transceiver-temperature { - type int32; - description "The temperature of the transceiver (mDegrees C)"; - } - leaf transceiver-voltage { - type int32; - description "The input voltage to the transceiver (mV)"; - } - leaf transceiver-tx-power { - type int32; - description "The transceiver transmit laser power (uW)"; - } - leaf transceiver-rx-power { - type int32; - description "The transceiver receive optical power (uW)"; - } - leaf transceiver-tx-bias { - type int32; - description "The laser bias of the transceiver (uA)"; - } - leaf optics-wavelength { - type uint32; - description - "Wavelength of the optics being used in nm * 1000"; - } - leaf optics-type { - type string; - description "Optics module type"; - } - leaf revision-number { - type string; - description "Module revision number"; - } - - list lane { - description - "Digital Optical Monitoring (per lane - information)"; - uses ETH-CTRLR-PHY-LANE-OPT-MON; - } - } - - grouping ETH-CTRLR-PHY-INFO { - description "ETH CTRLR PHY INFO"; - - container phy-details { - description "Details about the PHY"; - uses ETHER-PHY-DETAILS-TYPE; - } - - container fec-details { - description "Forward Error Correction information"; - uses ETHER-FEC-DETAILS-TYPE; - } - leaf media-type { - type Ethernet-media; - description "Port media type"; - } - leaf phy-present { - type Ether-phy-present; - description "Presence of PHY"; - } - leaf loopback { - type Ethernet-loopback; - description "Port operational loopback"; - } - - list extended-loopback { - description "Port operational extended loopback"; - uses EXTENDED-LOOPBACK-TYPE; - } - } - - grouping ETHERNET-CONTROLLER-DRIVER-BAG-V2-TYPE { - description - "Ethernet bag for driver state for the show - controllers command"; - - container phy-info { - description "PHY information"; - uses ETH-CTRLR-PHY-INFO; - } - - container layer1-info { - description "Layer 1 information"; - uses ETH-CTRLR-L1-INFO; - } - - container mac-info { - description "MAC Layer information"; - uses ETH-CTRLR-MAC-INFO; - } - - container transport-info { - description "Transport state information"; - uses ETH-CTLR-TRANSPORT-INFO; - } - leaf admin-state { - type Ethernet-port-enable; - description "Port Administrative State"; - } - leaf oper-state-up { - type boolean; - description "Port Operational state - TRUE if up"; - } - } - - grouping ETHERNET-PORT-STATS-TYPE { - description "Port stats counters"; - leaf received-total-bytes { - type uint64; - description "Total octets of all frames"; - } - leaf received-good-bytes { - type uint64; - description "Total octets of all good frames"; - } - leaf received-total-frames { - type uint64; - description "All frames, good or bad"; - } - leaf received8021q-frames { - type uint64; - description "All 802.1Q frames"; - } - leaf received-pause-frames { - type uint64; - description "All pause frames"; - } - leaf received-unknown-opcodes { - type uint64; - description "Unsupported MAC Control frames"; - } - leaf received-total64-octet-frames { - type uint64; - description "All 64 Octet Frame Count"; - } - leaf received-total-octet-frames-from65-to127 { - type uint64; - description "All 65-127 Octet Frame Count"; - } - leaf received-total-octet-frames-from128-to255 { - type uint64; - description "All 128-255 Octet Frame Count"; - } - leaf received-total-octet-frames-from256-to511 { - type uint64; - description "All 256-511 Octet Frame Count"; - } - leaf received-total-octet-frames-from512-to1023 { - type uint64; - description "All 512-1023 Octet Frame Count"; - } - leaf received-total-octet-frames-from1024-to1518 { - type uint64; - description "All 1024-1518 Octet Frame Count"; - } - leaf received-total-octet-frames-from1519-to-max { - type uint64; - description "All > 1518 Octet Frame Count"; - } - leaf received-good-frames { - type uint64; - description "Received Good Frames"; - } - leaf received-unicast-frames { - type uint64; - description "Received unicast Frames"; - } - leaf received-multicast-frames { - type uint64; - description "Received multicast Frames"; - } - leaf received-broadcast-frames { - type uint64; - description "Received broadcast Frames"; - } - leaf number-of-buffer-overrun-packets-dropped { - type uint64; - description "Drops due to buffer overrun"; - } - leaf number-of-aborted-packets-dropped { - type uint64; - description "Drops due to packet abort"; - } - leaf numberof-invalid-vlan-id-packets-dropped { - type uint64; - description "Drops due to invalid VLAN id"; - } - leaf invalid-dest-mac-drop-packets { - type uint64; - description "Drops due to the destination MAC not matching"; - } - leaf invalid-encap-drop-packets { - type uint64; - description - "Drops due to the encapsulation or ether type not - matching"; - } - leaf number-of-miscellaneous-packets-dropped { - type uint64; - description "Any other drops not counted"; - } - leaf dropped-giant-packets-greaterthan-mru { - type uint64; - description "Good frames > MRU, dropped"; - } - leaf dropped-ether-stats-undersize-pkts { - type uint64; - description "Good frames < 64 Octet, dropped"; - } - leaf dropped-jabbers-packets-greaterthan-mru { - type uint64; - description "Bad Frames > MRU, dropped"; - } - leaf dropped-ether-stats-fragments { - type uint64; - description "Bad Frames < 64 Octet, dropped"; - } - leaf dropped-packets-with-crc-align-errors { - type uint64; - description "Frames 64 - MRU with CRC error"; - } - leaf ether-stats-collisions { - type uint64; - description "All collision events"; - } - leaf symbol-errors { - type uint64; - description "Symbol errors"; - } - leaf dropped-miscellaneous-error-packets { - type uint64; - description "Any other errors not counted"; - } - leaf rfc2819-ether-stats-oversized-pkts { - type uint64; - description "RFC2819 etherStatsOversizedPkts"; - } - leaf rfc2819-ether-stats-jabbers { - type uint64; - description "RFC2819 etherStatsJabbers"; - } - leaf rfc2819-ether-stats-crc-align-errors { - type uint64; - description "RFC2819 etherStatsCRCAlignErrors"; - } - leaf rfc3635dot3-stats-alignment-errors { - type uint64; - description "RFC3635 dot3StatsAlignmentErrors"; - } - leaf total-bytes-transmitted { - type uint64; - description "Total octets of all frames"; - } - leaf total-good-bytes-transmitted { - type uint64; - description "Total octets of all good frames"; - } - leaf total-frames-transmitted { - type uint64; - description "All frames, good or bad"; - } - leaf transmitted8021q-frames { - type uint64; - description "All 802.1Q frames"; - } - leaf transmitted-total-pause-frames { - type uint64; - description "All pause frames"; - } - leaf transmitted-total64-octet-frames { - type uint64; - description "All 64 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from65-to127 { - type uint64; - description "All 65-127 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from128-to255 { - type uint64; - description "All 128-255 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from256-to511 { - type uint64; - description "All 256-511 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from512-to1023 { - type uint64; - description "All 512-1023 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from1024-to1518 { - type uint64; - description "All 1024-1518 Octet Frame Count"; - } - leaf transmitted-total-octet-frames-from1518-to-max { - type uint64; - description "All > 1518 Octet Frame Count"; - } - leaf transmitted-good-frames { - type uint64; - description "Transmitted Good Frames"; - } - leaf transmitted-unicast-frames { - type uint64; - description "Transmitted unicast Frames"; - } - leaf transmitted-multicast-frames { - type uint64; - description "Transmitted multicast Frames"; - } - leaf transmitted-broadcast-frames { - type uint64; - description "Transmitted broadcast Frames"; - } - leaf buffer-underrun-packet-drops { - type uint64; - description "Drops due to buffer underrun"; - } - leaf aborted-packet-drops { - type uint64; - description "Drops due to packet abort"; - } - leaf uncounted-dropped-frames { - type uint64; - description "Any other drops not counted"; - } - leaf miscellaneous-output-errors { - type uint64; - description "Any other errors not counted"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper.yang deleted file mode 100644 index 37a5adb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-media-eth-oper.yang +++ /dev/null @@ -1,107 +0,0 @@ -module Cisco-IOS-XR-drivers-media-eth-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-drivers-media-eth-oper"; - - - prefix "drivers-media-eth-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-drivers-media-eth-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR drivers-media-eth package operational data. - - This module contains definitions - for the following management objects: - ethernet-interface: Ethernet operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-04-04" { - description - "Added new fields to phy data."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ethernet-interface { - config false; - description "Ethernet operational data"; - - container statistics { - description "Ethernet controller statistics table"; - - list statistic { - key "interface-name"; - description "Ethernet statistics information"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses ETHERNET-PORT-STATS-TYPE; - } - } - - container interfaces { - description "Ethernet controller info table"; - - list interface { - key "interface-name"; - description "Ethernet controller information"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses ETHERNET-CONTROLLER-DRIVER-BAG-V2-TYPE; - } - } - - container berts { - description "Ethernet controller BERT table"; - - list bert { - key "interface-name"; - description "Ethernet BERT information"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses ETH-SHOWCTRL-BERT; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang deleted file mode 100644 index 6a69a4e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang +++ /dev/null @@ -1,76 +0,0 @@ -module Cisco-IOS-XR-drivers-vpa-infra-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-drivers-vpa-infra-cfg"; - - - prefix "drivers-vpa-infra-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR drivers-vpa-infra package configuration. - - This module contains definitions - for the following management objects: - hardware-module: Configure subslot h/w module - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Hw-module-shutdown-power-mode { - type enumeration { - enum powered { - value 2; - description "Keep the showdown module powered (default)"; - } - } - description "Hw module shutdown power mode"; - } - - container hardware-module { - description "Configure subslot h/w module"; - - container nodes { - description " subslot h/w module"; - - list node { - key "node-name"; - description "The identifier for a SPA node"; - leaf shutdown { - type Hw-module-shutdown-power-mode; - description "Shutdown a subslot h/w module"; - } - leaf node-name { - type xr:Node-id; - description "A SPA node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-cfg.yang deleted file mode 100644 index 8104a16..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-cfg.yang +++ /dev/null @@ -1,892 +0,0 @@ -module Cisco-IOS-XR-dwdm-ui-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg"; - - - prefix "dwdm-ui-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dwdm-ui package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-12-16" { - description - "Adding additional In Service Transport Admin State to allow configuration while dwdm controller is in service"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Prbs-pattern { - type enumeration { - enum none { - value 0; - description "None Pattern"; - } - enum null { - value 1; - description "Null Pattern"; - } - enum pn11 { - value 2; - description "PN11 Pattern"; - } - enum pn23 { - value 3; - description "PN23 Pattern"; - } - enum pn31 { - value 4; - description "PN31 Pattern"; - } - } - description "Prbs pattern"; - } - typedef Proactive { - type enumeration { - enum default { - value 1; - description "Proactive Protection Default Mode"; - } - enum graceful { - value 2; - description "Proactive Protection Graceful Mode"; - } - } - description "Proactive"; - } - typedef Expected-tti { - type enumeration { - enum expected-tti-ascii { - value 3; - description "Expected TTI ascii string"; - } - enum expected-tti-hex { - value 4; - description "Expected TTI hex string"; - } - } - description "Expected tti"; - } - typedef Fec { - type enumeration { - enum none { - value 0; - description "No FEC"; - } - enum standard { - value 1; - description "Standard FEC"; - } - enum enhanced { - value 2; - description "Enhanced FEC"; - } - enum high-gain-hd { - value 3; - description "High-Gain Hard Decision"; - } - enum long-haul-hd { - value 4; - description "Long-Haul Hard Decision"; - } - enum high-gain-sd { - value 5; - description "High-Gain Soft Decision"; - } - enum long-haul-sd { - value 6; - description "Long-Haul Soft Decision"; - } - enum ci-bch { - value 7; - description "Ci BCH"; - } - enum high-gain-multivendor-hd { - value 8; - description - "High-Gain Multivendor Interoperable Hard - Decision"; - } - } - description "Fec"; - } - typedef Framing { - type enumeration { - enum opu1e { - value 1; - description "opu1e Framing"; - } - enum opu2e { - value 2; - description "opu2e Framing"; - } - } - description "Framing"; - } - typedef Otu-threshold { - type enumeration { - enum prefec-sd { - value 0; - description "PREFEC SD BER THRESHOLD"; - } - enum prefec-sf { - value 1; - description "PREFEC SF BER THRESHOLD"; - } - enum otu-sd { - value 4; - description "OTU SD BER threshold"; - } - enum otu-sf { - value 5; - description "OTU SF BER threshold"; - } - } - description "Otu threshold"; - } - typedef Dwdm-loopback { - type enumeration { - enum none { - value 0; - description "No Loopback"; - } - enum line { - value 1; - description "Line Loopback"; - } - enum internal { - value 2; - description "Internal Loopback"; - } - } - description "Dwdm loopback"; - } - typedef Efec { - type enumeration { - enum none { - value 0; - description - "default submode to handle backward - compatibility"; - } - enum i.4 { - value 1; - description "efec i.4"; - } - enum i.7 { - value 2; - description "efec i.7"; - } - } - description "Efec"; - } - typedef Odu-alarm { - type enumeration { - enum oci { - value 14; - description "ODU OCI"; - } - enum odu-ais { - value 15; - description "ODU AIS"; - } - enum lck { - value 16; - description "ODU LCK"; - } - enum odu-bdi { - value 17; - description "ODU BDI"; - } - enum odu-sf { - value 20; - description "ODU SF BER"; - } - enum odu-sd { - value 21; - description "ODU SD BER"; - } - enum plm { - value 22; - description "ODU PTIM"; - } - enum odu-tim { - value 23; - description "ODU TIM"; - } - } - description "Odu alarm"; - } - typedef Prbs-mode { - type enumeration { - enum source { - value 0; - description "Source Mode"; - } - enum sink { - value 1; - description "Sink Mode"; - } - enum source-sink { - value 2; - description "Source-Sink Mode"; - } - enum invalid { - value 3; - description "Invalid Mode"; - } - } - description "Prbs mode"; - } - typedef Tx-tti { - type enumeration { - enum tx-tti-ascii { - value 0; - description "TX TTI ascii string"; - } - enum tx-tti-hex { - value 1; - description "TX TTI hex string"; - } - } - description "Tx tti"; - } - typedef Otu-alarm { - type enumeration { - enum los { - value 0; - description "LOS"; - } - enum lof { - value 1; - description "LOF"; - } - enum lom { - value 2; - description "LOM"; - } - enum iae { - value 6; - description "OTU IAE"; - } - enum otu-bdi { - value 7; - description "OTU BDI"; - } - enum otu-tim { - value 8; - description "OTU TIM"; - } - enum otu-sf { - value 10; - description "OTU SF BER"; - } - enum otu-sd { - value 11; - description "OTU SD BER"; - } - enum fec-mismatch { - value 24; - description "FEC mismatch"; - } - enum prefec-sd-ber { - value 31; - description "PREFEC SD BER"; - } - enum prefec-sf-ber { - value 32; - description "PREFEC SF BER"; - } - } - description "Otu alarm"; - } - typedef Dwdm-admin-state { - type enumeration { - enum out-of-service { - value 0; - description "Out of service"; - } - enum in-service { - value 1; - description "In service"; - } - enum maintenance { - value 2; - description "Out of service maintenance"; - } - enum in-service-config-allowed { - value 3; - description "In service Config allowed"; - } - } - description "Dwdm admin state"; - } - typedef Odu-threshold { - type enumeration { - enum odu-sd { - value 8; - description "ODU SD BER threshold"; - } - enum odu-sf { - value 9; - description "ODU SF BER threshold"; - } - } - description "Odu threshold"; - } - typedef Wave-channel-num { - type enumeration { - enum default { - value 0; - description "Default Wave Channel Number"; - } - enum channel-wavelength { - value 1; - description "Wavelength Wave Channel Number"; - } - enum channel-frequency { - value 2; - description "Frequency Wave Channel Number"; - } - enum 100mhz-frequency { - value 4; - description "Frequency in Steps of 100MHz"; - } - } - description "Wave channel num"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf maintenance-embargo { - type boolean; - description - "configure maintenance embargo flag on the given - interface"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container dwdm { - description "DWDM port controller configuration"; - - container network-srlgs { - description "Configure Network srlgs"; - - list network-srlg { - key "set-id"; - description "Configure network srlg sets"; - leaf set-id { - type uint32 { - range "1..17"; - } - description "Set index"; - } - leaf srlg1 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg2 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg3 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg4 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg5 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - leaf srlg6 { - type uint32 { - range "0..4294967294"; - } - description "none"; - } - } - } - - container g709 { - description "Configure G709 parameters"; - - container odu { - description "Configure ODU parameters"; - - container odu-reports { - description "Configure ODU alarm reporting"; - - list odu-report { - key "alarm"; - description "none"; - leaf alarm { - type Odu-alarm; - description "ODU alarm type"; - } - } - } - - container odu-thresholds { - description "Configure ODU threshold value"; - - list odu-threshold { - key "threshold"; - description "none"; - leaf threshold { - type Odu-threshold; - description "ODU Threshold type"; - } - leaf threshold-value { - type uint32 { - range "1..9"; - } - mandatory true; - description "Bit error rate (10 to the minus n)"; - } - } - } - - container odu-expected-tti { - description "Configure ODU Expected TTI value"; - leaf string-type { - type Expected-tti; - description "TTI string type (ascii or hex format)"; - } - leaf ascii-string { - when "../string-type = 'expected-tti-ascii'" { - description "../StringType = EXPECTED_TTI_ASCII"; - } - type string { - length "1..64"; - } - description "ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'expected-tti-hex'" { - description "../StringType = EXPECTED_TTI_HEX"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128- The string length - should be an even number)"; - } - } - - container odu-tx-tti { - description "Configure ODU TTI value"; - leaf string-type { - type Tx-tti; - description "TTI string type (ascii or hex format)"; - } - leaf ascii-string { - when "../string-type = 'tx-tti-ascii'" { - description "../StringType = TX_TTI_ASCII"; - } - type string { - length "1..64"; - } - description "ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'tx-tti-hex'" { - description "../StringType = TX_TTI_HEX"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128- The string length - should be an even number)"; - } - } - } - - container otu { - description "Configure OTU parameters"; - - container otu-expected-tti { - description "Configure OTU Expected TTI value"; - leaf string-type { - type Expected-tti; - description "TTI string type (ascii or hex format)"; - } - leaf ascii-string { - when "../string-type = 'expected-tti-ascii'" { - description "../StringType = EXPECTED_TTI_ASCII"; - } - type string { - length "1..64"; - } - description "ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'expected-tti-hex'" { - description "../StringType = EXPECTED_TTI_HEX"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128- The string length - should be an even number)"; - } - } - - container otu-thresholds { - description "Configure OTU threshold value"; - - list otu-threshold { - key "threshold"; - description "none"; - leaf threshold { - type Otu-threshold; - description "OTU Threshold type"; - } - leaf threshold-value { - type uint32 { - range "1..9"; - } - mandatory true; - description "Bit error rate (10 to the minus n)"; - } - } - } - - container frr { - description - "Configure FRR thresholds and Window for - trigger and revert"; - - container trigger-window { - presence "Indicates a trigger-window node is"+ - " configured."; - description "Configure FRR trigger window"; - leaf window { - type uint32 { - range "10..10000"; - } - mandatory true; - description - "Integration window for FRR trigger in MS"; - } - leaf dummy { - type uint32 { - range "0..2"; - } - description - "Just a Dummy for window for FRR revert in - MS"; - } - } - - container revert-threshold { - presence "Indicates a revert-threshold node is"+ - " configured."; - description - "Configure proactive protection revert - threshold"; - leaf ber-base { - type uint32 { - range "1..9"; - } - mandatory true; - description "Bit error rate base (x of xE-y)"; - } - leaf ber-power { - type uint32 { - range "3..10"; - } - mandatory true; - description "Bit error rate power (y of xE-y)"; - } - } - - container trigger-threshold { - presence "Indicates a trigger-threshold node is"+ - " configured."; - description - "Configure proactive protection trigger - threshold"; - leaf ber-base { - type uint32 { - range "1..9"; - } - mandatory true; - description "Bit error rate base (x of xE-y)"; - } - leaf ber-power { - type uint32 { - range "2..9"; - } - mandatory true; - description "Bit error rate power (y of xE-y)"; - } - } - - container revert-window { - presence "Indicates a revert-window node is"+ - " configured."; - description "Configure FRR revert window"; - leaf window { - type uint32 { - range "500..100000"; - } - mandatory true; - description - "Integration window for FRR revert in MS"; - } - leaf dummy { - type uint32 { - range "0..2"; - } - description - "Just a Dummy for window for FRR revert in - MS"; - } - } - } - - container otu-reports { - description "Configure OTU alarm reporting"; - - list otu-report { - key "alarm"; - description "none"; - leaf alarm { - type Otu-alarm; - description "OTU alarm type"; - } - } - } - - container otu-tx-tti { - description "Configure OTU TTI value"; - leaf string-type { - type Tx-tti; - description "TTI string type (ascii or hex format)"; - } - leaf ascii-string { - when "../string-type = 'tx-tti-ascii'" { - description "../StringType = TX_TTI_ASCII"; - } - type string { - length "1..64"; - } - description "ASCII text (Max 64 characters)"; - } - leaf hex-string { - when "../string-type = 'tx-tti-hex'" { - description "../StringType = TX_TTI_HEX"; - } - type string { - length "1..128"; - } - description - "Hex nibbles (Max 128- The string length - should be an even number)"; - } - } - } - - container prbs { - presence "Indicates a prbs node is configured."; - description "Configure PRBS mode and pattern"; - leaf prbs-mode { - type Prbs-mode; - mandatory true; - description "Enable PRBS with mode"; - } - leaf prbs-pattern { - type Prbs-pattern; - mandatory true; - description "Enable prbs test with pattern"; - } - } - - container fec { - presence "Indicates a fec node is configured."; - description "Configure FEC mode"; - leaf fec-mode { - type Fec; - mandatory true; - description - "None, Standard, Enhanced, High-Gain, - Long-Haul, Ci-BCH"; - } - leaf efec-mode { - type Efec; - default "none"; - description - "Enhanced FECMode to use i.4, i.7, Other - FECMode to use None"; - } - } - leaf proactive { - type Proactive; - description - "Enable proactive protectioni Graceful or - Default mode"; - } - leaf bdi-to-gais { - type empty; - description "Enable GAIS insertion"; - } - leaf tim-to-gais { - type empty; - description - "Configure Trace Identifier Mismatch alarm - consequence"; - } - leaf proactive-logging-file { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Configure proactive protection log file"; - } - leaf tti-processing { - type empty; - description - "Configure Trail Trace Identifier processing"; - } - leaf enable { - type boolean; - description "Disable or Enable g709 framing"; - } - leaf framing { - type Framing; - description - "Over clocking mode for client signal bw - compatibility"; - } - } - - container wavelength { - presence "Indicates a wavelength node is configured."; - description "Configure transponder wavelength"; - leaf wave-channel { - type uint32 { - range "1..1568362"; - } - mandatory true; - description - "Select a ITU channel number,channel range for - C-band: 1~82,L-band:106~185,spacing:50GHZ or - 100MHz"; - } - leaf wave-channel-number { - type Wave-channel-num; - mandatory true; - description "Wave Channel Number"; - } - leaf prog-frequency { - type string { - length "1..128"; - } - description "Enter Frequency Data in THz"; - } - } - leaf enable-vtxp { - type boolean; - description "Disable or Enable VTXP configuration"; - } - leaf network-port-id { - type string { - length "1..64"; - } - description "Configure network port id"; - } - leaf transport-admin-state { - type Dwdm-admin-state; - default "out-of-service"; - description "Configure transport admin state"; - } - leaf laser { - type empty; - description "Configure laser off/on"; - } - leaf transmit-power { - type int32 { - range "-190..10"; - } - description "Select power level (in units of 0.1dBm)"; - } - leaf rx-threshold { - type int32 { - range "-350..50"; - } - description "Select power level (in units of 0.1dBm)"; - } - leaf network-connection-id { - type string { - length "1..64"; - } - description "Configure network connection id"; - } - leaf loopback { - type Dwdm-loopback; - default "none"; - description "Configure loopback mode "; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang deleted file mode 100644 index 623acb3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang +++ /dev/null @@ -1,1517 +0,0 @@ -submodule Cisco-IOS-XR-dwdm-ui-oper-sub1 { - - belongs-to Cisco-IOS-XR-dwdm-ui-oper { - prefix Cisco-IOS-XR-dwdm-ui-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR dwdm-ui package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef G709aps-byte { - type enumeration { - enum pp-no-protect { - value 0; - description "No Protection"; - } - enum pp-no-request { - value 15; - description "No Request"; - } - enum pp-regen-degrade { - value 63; - description "Regenerator Degrade"; - } - enum pp-sig-degrade { - value 175; - description "Signal Degrade"; - } - enum pp-remote-main { - value 239; - description "Maintenance Request"; - } - enum pp-aps-unknown { - value 255; - description "Unknown"; - } - } - description "G709aps byte"; - } - typedef G709ppintf-state { - type enumeration { - enum pp-intf-up { - value 0; - description "Interface is Up"; - } - enum pp-intf-failing { - value 1; - description "Interface is Going Down"; - } - enum pp-intf-down { - value 2; - description "Interface Down"; - } - } - description "G709ppintf state"; - } - typedef G709ppfsm-state { - type enumeration { - enum in-active { - value 0; - description "In Active"; - } - enum disabled { - value 1; - description "Disabled"; - } - enum normal-state { - value 2; - description "Normal"; - } - enum local-failing { - value 3; - description "Local Failing"; - } - enum remote-failing { - value 4; - description "Remote Failing"; - } - enum main-t-failing { - value 5; - description "Maintance Failing"; - } - enum regen-failing { - value 6; - description "Regenerator Failing"; - } - enum local-failed { - value 7; - description "Local Failed"; - } - enum remote-failed { - value 8; - description "Remote Failed"; - } - enum main-t-failed { - value 9; - description "Maintance Failed"; - } - enum regen-failed { - value 10; - description "Regenerator Failed"; - } - } - description "G709ppfsm state"; - } - typedef G709ppfsm-mode { - type enumeration { - enum pp-disable { - value 0; - description "OFF"; - } - enum pp-default-mode { - value 1; - description "ON (Default Mode)"; - } - enum pp-graceful-mode { - value 2; - description "ON (Graceful Mode)"; - } - } - description "G709ppfsm mode"; - } - typedef Dwdm-wave-channel-owner { - type enumeration { - enum default { - value 0; - description "Hardware Default"; - } - enum configuration { - value 1; - description "Configuration"; - } - enum gmpls { - value 2; - description "GMPLS Signaled"; - } - } - description "Dwdm wave channel owner"; - } - typedef G709efec-mode { - type enumeration { - enum g975-none { - value 0; - description ""; - } - enum g975-1-i4 { - value 1; - description "G975.1 I.4"; - } - enum g975-1-i7 { - value 2; - description "G975.1 I.7"; - } - } - description "G709efec mode"; - } - typedef Dwdmtas-state { - type enumeration { - enum tas-oos { - value 0; - description "Out of Service"; - } - enum tas-is { - value 1; - description "In Service"; - } - enum tas-oos-mt { - value 2; - description "Out of Service Maintenance"; - } - enum tas-is-cfg { - value 3; - description "In Service Config allowed"; - } - } - description "Dwdmtas state"; - } - typedef Dwdm-controller-state { - type enumeration { - enum dwdm-ui-state-up { - value 0; - description "Up"; - } - enum dwdm-ui-state-down { - value 1; - description "Down"; - } - enum dwdm-ui-state-admin-down { - value 2; - description "Administratively Down"; - } - } - description "Dwdm controller state"; - } - typedef G709prbs-mode { - type enumeration { - enum mode-source { - value 0; - description "mode source"; - } - enum mode-sink { - value 1; - description "mode sink"; - } - enum mode-source-sink { - value 2; - description "mode source sink"; - } - enum mode-invalid { - value 3; - description "mode invalid"; - } - } - description "G709prbs mode"; - } - typedef G709prbs-pattern { - type enumeration { - enum pattern-none { - value 0; - description "pattern none"; - } - enum pattern-null { - value 1; - description "pattern null"; - } - enum pattern-pn11 { - value 2; - description "pattern pn11"; - } - enum pattern-pn23 { - value 3; - description "pattern pn23"; - } - enum pattern-pn31 { - value 4; - description "pattern pn31"; - } - } - description "G709prbs pattern"; - } - typedef G709prbs-interval { - type enumeration { - enum current-interval { - value 0; - description "Current interval"; - } - enum previous-interval { - value 1; - description "Previous interval"; - } - enum previous-interval2 { - value 2; - description "Previous interval 2"; - } - enum previous-interval3 { - value 3; - description "Previous interval 3"; - } - enum previous-interval4 { - value 4; - description "Previous interval 4"; - } - enum previous-interval5 { - value 5; - description "Previous interval 5"; - } - enum previous-interval6 { - value 6; - description "Previous interval 6"; - } - enum previous-interval7 { - value 7; - description "Previous interval 7"; - } - enum previous-interval8 { - value 8; - description "Previous interval 8"; - } - enum previous-interval9 { - value 9; - description "Previous interval 9"; - } - enum previous-interval10 { - value 10; - description "Previous interval 10"; - } - enum previous-interval11 { - value 11; - description "Previous interval 11"; - } - enum previous-interval12 { - value 12; - description "Previous interval 12"; - } - enum previous-interval13 { - value 13; - description "Previous interval 13"; - } - enum previous-interval14 { - value 14; - description "Previous interval 14"; - } - enum previous-interval15 { - value 15; - description "Previous interval 15"; - } - enum previous-interval16 { - value 16; - description "Previous interval 16"; - } - enum previous-interval17 { - value 17; - description "Previous interval 17"; - } - enum previous-interval18 { - value 18; - description "Previous interval 18"; - } - enum previous-interval19 { - value 19; - description "Previous interval 19"; - } - enum previous-interval20 { - value 20; - description "Previous interval 20"; - } - enum previous-interval21 { - value 21; - description "Previous interval 21"; - } - enum previous-interval22 { - value 22; - description "Previous interval 22"; - } - enum previous-interval23 { - value 23; - description "Previous interval 23"; - } - enum previous-interval24 { - value 24; - description "Previous interval 24"; - } - enum previous-interval25 { - value 25; - description "Previous interval 25"; - } - enum previous-interval26 { - value 26; - description "Previous interval 26"; - } - enum previous-interval27 { - value 27; - description "Previous interval 27"; - } - enum previous-interval28 { - value 28; - description "Previous interval 28"; - } - enum previous-interval29 { - value 29; - description "Previous interval 29"; - } - enum previous-interval30 { - value 30; - description "Previous interval 30"; - } - enum previous-interval31 { - value 31; - description "Previous interval 31"; - } - enum previous-interval32 { - value 32; - description "Previous interval 32"; - } - } - description "PRBS test interval information"; - } - - grouping DWDM-EDM-VTXP-INFO { - description "VTXP Information"; - leaf vtxp-enable { - type boolean; - description "Is VTXP attribute enabled"; - } - } - - grouping DWDM-EDM-SIGNAL-LOG-INFO { - description "Signal log information"; - leaf is-log-enabled { - type boolean; - description - "'true' if signal log is enabled 'false' - otherwise"; - } - leaf log-filename { - type string { - length "0..64"; - } - description "Log file name "; - } - } - - grouping DWDM-EDM-PROACTIVE-INFO { - description "Proactive Information"; - leaf proactive-feature { - type boolean; - description "Feature Support"; - } - leaf proactive-mode { - type G709ppfsm-mode; - description "Proactive Mode"; - } - leaf proactive-fsm-state { - type G709ppfsm-state; - description "Proactive FSM State"; - } - leaf proactive-fsm-if-state { - type G709ppintf-state; - description "Proactive FSM IF State"; - } - leaf tas-state { - type Dwdmtas-state; - description "TAS State"; - } - leaf trig-thresh-coeff { - type uint8; - description "Trigger threshold coefficient"; - } - leaf trig-thresh-power { - type uint8; - description "Trigger threshold power"; - } - leaf rvrt-thresh-coeff { - type uint8; - description "Revert threshold coefficient"; - } - leaf rvrt-thresh-power { - type uint8; - description "Revert threshold power"; - } - leaf default-trig-thresh-coeff { - type uint8; - description "Default Trigger threshold coefficient"; - } - leaf default-trig-thresh-power { - type uint8; - description "Default Trigger threshold power"; - } - leaf default-rvrt-thresh-coeff { - type uint8; - description "Default Revert threshold coefficient"; - } - leaf default-rvrt-thresh-power { - type uint8; - description "Default Revert threshold power"; - } - leaf trig-samples { - type uint8; - description "Required Trigger Samples"; - } - leaf rvrt-samples { - type uint8; - description "Required Revert Samples"; - } - leaf trigger-window { - type uint32; - description "Trigger Integration window"; - } - leaf revert-window { - type uint32; - description "Revert Integration Window"; - } - leaf protection-trigger { - type boolean; - description "Protection Trigger State"; - } - leaf interface-trigger { - type boolean; - description "Proactive Interface Triffer"; - } - leaf tx-aps { - type uint8; - description "Transmitted APS Byte"; - } - leaf tx-aps-descr { - type G709aps-byte; - description "Tx APS Description"; - } - leaf rx-aps { - type uint8; - description "Received APS byte"; - } - leaf rx-aps-descr { - type G709aps-byte; - description "Rx APS Description"; - } - leaf alarm-state { - type boolean; - description "AlarmState"; - } - leaf trig-ec-cnt { - type uint32; - description "Trigger EC Cnt"; - } - leaf rvrt-ec-cnt { - type uint32; - description "Revert EC Cnt"; - } - leaf prefec-thresh-crossed { - type boolean; - description "Prefec Trigger Thresh Crossed"; - } - } - - grouping DWDM-EDM-NETWORK-SRLG-INFO { - description "Network SRLG Information"; - leaf-list network-srlg { - type uint32; - max-elements "102"; - description "Network Srlg"; - } - } - - grouping DWDM-EDM-TDC-INFO { - description "TDC information"; - leaf tdc-valid { - type boolean; - description "TRUE for Valid else Invalid"; - } - leaf major-alarm { - type boolean; - description "TRUE for Alarm condition else FALSE"; - } - leaf operation-mode { - type boolean; - description "TRUE for MANUAL else AUTO"; - } - leaf tdc-status { - type boolean; - description "TRUE if TDC Aquiring else Locked"; - } - leaf dispersion-offset { - type int32; - description "TDC Dispersion Offset"; - } - leaf reroute-ber { - type int32; - description "Reroute BER"; - } - leaf is-reroute-control-enabled { - type boolean; - description "TRUE for ENABLED else DISABLED"; - } - } - - grouping DWDM-EDM-OPTICS-INFO { - description "optics transponder information"; - leaf optics-type { - type string { - length "0..64"; - } - description "Optics type name"; - } - leaf clock-source { - type uint8; - description "Actual transmit clock source"; - } - leaf wave-frequency-progressive-string { - type string { - length "0..64"; - } - description - "Wave Frequency Information for Progressive - Frequencies"; - } - leaf wavelength-progressive-string { - type string { - length "0..64"; - } - description - "Wavelength Information for Progressive - Frequencies"; - } - leaf is-wave-frequency-progressive-valid { - type boolean; - description - "True if Progressive Frequency is supported by hw"; - } - leaf wavelength-progressive { - type uint32; - description - "Wavelength Information for Progressive - Frequencies"; - } - leaf wave-band { - type uint32; - description "Wavelength band information"; - } - leaf wave-channel { - type uint32; - description "Current ITU wavelength channel number"; - } - leaf wave-frequency { - type uint32; - description - " wavelenght frequency read from hw in the uint 0 - .01nm"; - } - leaf is-wave-frequency-valid { - type boolean; - description - "True if hw supported wavelength frequency - readback"; - } - leaf wave-channel-owner { - type Dwdm-wave-channel-owner; - description "Owner of current wavelength"; - } - leaf gmpls-set-wave-channel { - type uint16; - description "Wavelength channel set by GMPLS"; - } - leaf configured-wave-channel { - type uint16; - description "Wavelength channel set from configuration"; - } - leaf default-wave-channel { - type uint16; - description "Wavelength channel default from hardware"; - } - leaf transmit-power { - type int32; - description "Transmit power in the unit of 0.01dbm"; - } - leaf transmit-power-threshold { - type int32; - description "Transmit power threshold value"; - } - leaf laser-current-bias { - type int32; - description "Laser current bias value"; - } - leaf laser-current-bias-threshold { - type int32; - description " Laser Current Bias threshold value"; - } - leaf receive-power { - type int32; - description "Transponder receive power"; - } - leaf is-rx-los-threshold-supported { - type boolean; - description "TRUE if Rx LOS thresold configurable"; - } - leaf rx-los-threshold { - type int32; - description "Rx LOS threshold value"; - } - leaf transmit-power-min { - type int32; - description - "Transmit power mininum value in the interval - time"; - } - leaf transmit-power-max { - type int32; - description - "Transmit power maximum value in the interval - time"; - } - leaf transmit-power-avg { - type int32; - description - "Transmit optical average value in the interval - time"; - } - leaf receive-power-min { - type int32; - description - "Recieve power mininum value in the interval time"; - } - leaf receive-power-max { - type int32; - description - "Receive power maximum value in the interval time"; - } - leaf receive-power-avg { - type int32; - description - "Recieve power average value in the interval time"; - } - leaf laser-bias-current-min { - type int32; - description - "Laser bias current minimum value in the interval - time"; - } - leaf laser-bias-current-max { - type int32; - description - "Laser bias current maxinum value in the interval - time"; - } - leaf laser-bias-current-avg { - type int32; - description - "Laser bias current average value in the interval - time"; - } - leaf chromatic-dispersion { - type int32; - description "Current chromatic dispersion"; - } - leaf differential-group-delay { - type int32; - description "Current differential group Delay"; - } - leaf polarization-mode-dispersion { - type int32; - description "Current polarization mode dispersion"; - } - leaf signal-to-noise-ratio { - type int32; - description "Current optical signal to noise ratio"; - } - leaf polarization-dependent-loss { - type int32; - description "Current Polarization Dependent loss"; - } - leaf polarization-change-rate { - type uint32; - description "Current Polarization change rate"; - } - leaf phase-noise { - type uint32; - description "Current Phase Noise"; - } - leaf output-power-fail { - type uint32; - description - "Transmit power failure(above/belowe a threshold) - count"; - } - leaf input-power-fail { - type uint32; - description - "Receive power failure(above/belowe a threshold) - count"; - } - } - - grouping DWDM-EDM-G709-ODU { - description "dwdm odu information"; - - container oci { - description "Open Connection Indiction information"; - uses DWDM-EDM-G709-ALARM; - } - - container ais { - description "Alarm Indication Signal information"; - uses DWDM-EDM-G709-ALARM; - } - - container lck { - description "Upstream Connection Locked information"; - uses DWDM-EDM-G709-ALARM; - } - - container bdi { - description "Backward Defect Indication information"; - uses DWDM-EDM-G709-ALARM; - } - - container eoc { - description "GCC End of Channel information"; - uses DWDM-EDM-G709-ALARM; - } - - container ptim { - description "Payload Type Identifier Mismatch information"; - uses DWDM-EDM-G709-ALARM; - } - - container tim { - description "Trace Identifier Mismatch information"; - uses DWDM-EDM-G709-ALARM; - } - - container sf-ber { - description "Signal Fail BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container sd-ber { - description "Signal Degrade BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container bbe-tca { - description "Background Block Error TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container es-tca { - description "Errored Seconds TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container bbe { - description "Background Block Error information"; - uses DWDM-EDM-G709-PM; - } - - container es { - description "Errored Seconds information"; - uses DWDM-EDM-G709-PM; - } - - container ses { - description "Severly Errored Seconds information"; - uses DWDM-EDM-G709-PM; - } - - container uas { - description "Unavailability Seconds information"; - uses DWDM-EDM-G709-PM; - } - - container fc { - description "Failure count information"; - uses DWDM-EDM-G709-PM; - } - - container bber { - description "Background Block Error Rate count information"; - uses DWDM-EDM-G709-PM; - } - - container esr { - description "Errored Seconds Rate information"; - uses DWDM-EDM-G709-PM; - } - - container sesr { - description "Severly Errored Seconds Rate information"; - uses DWDM-EDM-G709-PM; - } - - container tti { - description "Trail Trace Identifier information"; - uses DWDM-EDM-G709-TTI; - } - leaf bip { - type uint64; - description "Bit Interleave Parity(BIP) counter"; - } - leaf bei { - type uint64; - description "Backward Error Indication counter"; - } - } - - grouping DWDM-EDM-G709-TTI { - description "G709 TTI information"; - leaf tx-string-type { - type uint32; - description "Type of String"; - } - leaf expected-string-type { - type uint32; - description "Type of String"; - } - leaf rx-string-type { - type uint32; - description "Type of String"; - } - leaf tx-tti { - type string { - length "0..129"; - } - description "Tx TTI String "; - } - leaf tx-sapi0 { - type string { - length "0..5"; - } - description "Tx SAPI[0] Field"; - } - leaf tx-sapi { - type string { - length "0..16"; - } - description "Tx SAPI[1-15] Field"; - } - leaf tx-sapi-range { - type string { - length "0..6"; - } - description " Tx SAPI Range String"; - } - leaf tx-dapi0 { - type string { - length "0..5"; - } - description "Tx DAPI[0] Field"; - } - leaf tx-dapi { - type string { - length "0..16"; - } - description "Tx DAPI[1-15] Field"; - } - leaf tx-dapi-range { - type string { - length "0..6"; - } - description " Tx DAPI Range String"; - } - leaf tx-oper-spec { - type string { - length "0..33"; - } - description "Tx Operator Specific Field"; - } - leaf tx-oper-spec-range { - type string { - length "0..6"; - } - description " Tx Operator Specific Field Range String"; - } - leaf rx-tti { - type string { - length "0..129"; - } - description "Rx TTI String "; - } - leaf rx-sapi0 { - type string { - length "0..5"; - } - description "Rx SAPI[0] Field"; - } - leaf rx-sapi { - type string { - length "0..16"; - } - description "Rx SAPI[1-15] Field"; - } - leaf rx-sapi-range { - type string { - length "0..6"; - } - description " Rx SAPI Range String"; - } - leaf rx-dapi0 { - type string { - length "0..5"; - } - description "Rx DAPI[0] Field"; - } - leaf rx-dapi { - type string { - length "0..16"; - } - description "Rx DAPI[1-15] Field"; - } - leaf rx-dapi-range { - type string { - length "0..6"; - } - description " Rx DAPI Range String"; - } - leaf rx-oper-spec-range { - type string { - length "0..6"; - } - description " Rx Operator Specific Field Range String"; - } - leaf rx-oper-spec { - type string { - length "0..33"; - } - description "Rx Operator Specific Field"; - } - leaf expected-tti { - type string { - length "0..129"; - } - description "Expected TTI String"; - } - leaf expected-sapi0 { - type string { - length "0..5"; - } - description "Expected SAPI[0] Field"; - } - leaf expected-sapi { - type string { - length "0..16"; - } - description "Expected SAPI[1-15] Field"; - } - leaf exp-sapi-range { - type string { - length "0..6"; - } - description " Expected SAPI Range String"; - } - leaf expected-dapi0 { - type string { - length "0..5"; - } - description "Expected DAPI[0] Field"; - } - leaf expected-dapi { - type string { - length "0..16"; - } - description "Expected DAPI[1-15] Field"; - } - leaf exp-dapi-range { - type string { - length "0..6"; - } - description " Expected DAPI Range String"; - } - leaf expected-oper-spec { - type string { - length "0..33"; - } - description "Expected Operator Specific Field"; - } - leaf exp-oper-spec-range { - type string { - length "0..6"; - } - description " Expected Operator Specific Field Range String"; - } - } - - grouping DWDM-EDM-G709-PM { - description "G709 PM information"; - leaf counter { - type uint64; - description "Performance Monitoring counter"; - } - } - - grouping DWDM-EDM-G709-OTU { - description "DWDM OTU information"; - - container los { - description "Loss of Signal information"; - uses DWDM-EDM-G709-ALARM; - } - - container lof { - description "Loss of Frame information"; - uses DWDM-EDM-G709-ALARM; - } - - container lom { - description "Loss of MultiFrame information"; - uses DWDM-EDM-G709-ALARM; - } - - container oof { - description "Out of Frame information"; - uses DWDM-EDM-G709-ALARM; - } - - container oom { - description "Out of MultiFrame information"; - uses DWDM-EDM-G709-ALARM; - } - - container ais { - description "Alarm Indication Signal information"; - uses DWDM-EDM-G709-ALARM; - } - - container iae { - description "Incoming Alignment Error information"; - uses DWDM-EDM-G709-ALARM; - } - - container bdi { - description "Backward Defect Indication information"; - uses DWDM-EDM-G709-ALARM; - } - - container tim { - description "Trace Identifier Mismatch information"; - uses DWDM-EDM-G709-ALARM; - } - - container eoc { - description "GCC End of Channel information"; - uses DWDM-EDM-G709-ALARM; - } - - container sf-ber { - description "Signal Fail BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container sd-ber { - description "Signal Degrade BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container prefec-sf-ber { - description "Prefec Signal Fail BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container prefec-sd-ber { - description "Prefec Signal Degrade BER information"; - uses DWDM-EDM-G709-ALERT; - } - - container bbe-tca { - description " Backgound Block Error TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container es-tca { - description "Errored Seconds TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container bbe { - description "Backgound Block Error information"; - uses DWDM-EDM-G709-PM; - } - - container es { - description "Errored Seconds information "; - uses DWDM-EDM-G709-PM; - } - - container ses { - description "Severly Errored Seconds information"; - uses DWDM-EDM-G709-PM; - } - - container uas { - description "Unavailability Seconds information"; - uses DWDM-EDM-G709-PM; - } - - container fc { - description "Failure Count information"; - uses DWDM-EDM-G709-PM; - } - - container bber { - description "Backgound Block Error Rate information"; - uses DWDM-EDM-G709-PM; - } - - container esr { - description "Errored Seconds Rate information"; - uses DWDM-EDM-G709-PM; - } - - container sesr { - description "Severly Errored Seconds Rate information"; - uses DWDM-EDM-G709-PM; - } - - container tti { - description "Trail Trace Identifier information"; - uses DWDM-EDM-G709-TTI; - } - leaf bei { - type uint64; - description "Backward Error Indication counter"; - } - leaf bip { - type uint64; - description "Bit Interleave Parity(BIP) counter"; - } - } - - grouping DWDM-EDM-G709-ALERT { - description "G709 Alert Information"; - leaf reporting-enabled { - type boolean; - description "Is reporting enabled?"; - } - leaf is-detected { - type boolean; - description "Is defect detected?"; - } - leaf is-asserted { - type boolean; - description "Is defect delared?"; - } - leaf threshold { - type int32; - description "Error threshold power"; - } - leaf counter { - type uint64; - description "Error counter"; - } - } - - grouping DWDM-EDM-G709-ALARM { - description " G709 Alarm information"; - leaf reporting-enabled { - type boolean; - description "Is reporting enabled?"; - } - leaf is-detected { - type boolean; - description "Is defect detected?"; - } - leaf is-asserted { - type boolean; - description "Is defect delared?"; - } - leaf counter { - type uint64; - description "Alarm counter"; - } - } - - grouping DWDM-EDM-G709-INFO { - description "g709 information"; - - container fec-mismatch { - description "FEC mismatch alarm"; - uses DWDM-EDM-G709-ALARM; - } - - container ec-tca { - description "FEC Corrected bits TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container uc-tca { - description "FEC uncorrected words TCA information"; - uses DWDM-EDM-G709-ALERT; - } - - container otu-info { - description "OTU layer information"; - uses DWDM-EDM-G709-OTU; - } - - container odu-info { - description "ODU layer Information"; - uses DWDM-EDM-G709-ODU; - } - leaf is-g709-enabled { - type boolean; - description " Is G709 framing enabled"; - } - leaf is-fec-mode-default { - type boolean; - description " Is Operating FEC Mode Default"; - } - leaf fec-mode { - type int32; - description "FEC information"; - } - leaf remote-fec-mode { - type int32; - description "Remote FEC information"; - } - leaf efec-mode { - type G709efec-mode; - description "EFEC information"; - } - leaf loopback-mode { - type int32; - description "Loopback information"; - } - leaf ec { - type uint64; - description "Corrected bit error counter "; - } - leaf ec-accum { - type uint64; - description "FEC Corrected bit error accumulated counter"; - } - leaf uc { - type uint64; - description "FEC Uncorrected words counter"; - } - leaf fec-ber { - type uint64; - description "pre fec ber calculated"; - } - leaf fec-ber-man { - type int32; - description "pre fec ber calculated"; - } - leaf q { - type uint64; - description "q value calculated"; - } - leaf q-margin { - type uint64; - description "q margin calculated"; - } - leaf fe-cstr { - type string { - length "0..64"; - } - description "FEC BER String "; - } - leaf qstr { - type string { - length "0..64"; - } - description "Q String "; - } - leaf qmargin-str { - type string { - length "0..64"; - } - description "QMargin String"; - } - leaf network-port-id { - type string { - length "0..65"; - } - description "Network port ID"; - } - leaf network-conn-id { - type string { - length "0..65"; - } - description "Network connection ID"; - } - leaf is-prbs-enabled { - type boolean; - description "'true' if Prbs is enabled 'false' otherwise"; - } - leaf g709-prbs-mode { - type G709prbs-mode; - description "Configured mode of PRBS Test"; - } - leaf g709-prbs-pattern { - type G709prbs-pattern; - description "Pattern of PRBS Test"; - } - leaf prbs-time-stamp { - type uint64; - description "Time stamp for prbs configuration"; - } - } - - grouping DWDM-EDM-PORT-INFO { - description "dwdm port operational information"; - - container g709-info { - description "G709 operational information"; - uses DWDM-EDM-G709-INFO; - } - - container optics-info { - description "Optics operational information"; - uses DWDM-EDM-OPTICS-INFO; - } - - container tdc-info { - description "TDC operational information"; - uses DWDM-EDM-TDC-INFO; - } - - container network-srlg-info { - description "Network SRLG information"; - uses DWDM-EDM-NETWORK-SRLG-INFO; - } - - container proactive { - description "Proactive protection information"; - uses DWDM-EDM-PROACTIVE-INFO; - } - - container signal-log { - description "Signal log information"; - uses DWDM-EDM-SIGNAL-LOG-INFO; - } - leaf controller-state { - type Dwdm-controller-state; - description - "DWDM controller state: Up, Down or - Administratively Down"; - } - leaf transport-admin-state { - type Dwdmtas-state; - description - "DWDM controller TAS state: IS, OOS, OOS-MT or - IS-CFG"; - } - leaf slice-state { - type boolean; - description "DWDM port slice state Up/Down"; - } - } - - grouping DWDM-EDM-WAVE-INFO { - description "wavelength information"; - leaf wave-band { - type uint32; - description "Wavelength band"; - } - leaf wave-channel-min { - type uint32; - description "Lowest ITU wavelength channel number supported"; - } - leaf wave-channel-max { - type uint32; - description "Highest ITU wavelength channel number supported"; - } - } - - grouping PRBS-INTERVAL { - description "PRBS Interval Information"; - leaf interval-index { - type G709prbs-interval; - description "Index of bucket, current and previous"; - } - leaf configured-pattern { - type G709prbs-pattern; - description "Configured pattern of PRBS test"; - } - leaf start-at { - type string { - length "0..64"; - } - description "Interval start timestamp"; - } - leaf stop-at { - type string { - length "0..64"; - } - description "Interval stop timestamp"; - } - leaf received-pattern { - type G709prbs-pattern; - description "Received Pattern of PRBS Test"; - } - leaf bit-error-count { - type uint64; - description "Bit Error Count"; - } - leaf found-count { - type uint64; - description "Count of pattern found in interval"; - } - leaf lost-count { - type uint64; - description "Count of pattern lost in interval"; - } - leaf found-at { - type string { - length "0..64"; - } - description "Pattern first found at timestamp"; - } - leaf lost-at { - type string { - length "0..64"; - } - description "Pattern first lost at timestamp"; - } - } - - grouping DWDM-EDM-PRBS-INFO { - description "PRBS information"; - leaf is-prbs-enabled { - type boolean; - description "'True' if PRBS is enabled 'False' otherwise"; - } - leaf prbs-config-mode { - type G709prbs-mode; - description "Configured mode of PRBS test"; - } - - list prbs-entry { - description "History consists of 15-minute/24-hour intervals"; - uses PRBS-INTERVAL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper.yang deleted file mode 100644 index 095fc82..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-dwdm-ui-oper.yang +++ /dev/null @@ -1,131 +0,0 @@ -module Cisco-IOS-XR-dwdm-ui-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper"; - - - prefix "dwdm-ui-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-dwdm-ui-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR dwdm-ui package operational data. - - This module contains definitions - for the following management objects: - dwdm: DWDM operational data - vtxp: vtxp - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container dwdm { - config false; - description "DWDM operational data"; - - container ports { - description "All DWDM Port operational data"; - - list port { - key "name"; - description "DWDM Port operational data"; - - container prbs { - description "DWDM Port PRBS related data"; - - container twenty-four-hours-bucket { - description "Port 24-hour PRBS statistics table"; - - container twenty-four-hours-statistics { - description "Port 24-hour PRBS statistics data"; - uses DWDM-EDM-PRBS-INFO; - } - } - - container fifteen-minutes-bucket { - description "Port 15-minute PRBS statistics table"; - - container fifteen-minutes-statistics { - description "Port 15-minute PRBS statistics data"; - uses DWDM-EDM-PRBS-INFO; - } - } - } - - container optics { - description "DWDM Port optics operational data"; - - container wave-info { - description "DWDM port wavelength information data"; - uses DWDM-EDM-WAVE-INFO; - } - } - - container info { - description "DWDM port operational data"; - uses DWDM-EDM-PORT-INFO; - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container vtxp { - config false; - description "vtxp"; - - container dwdm-vtxp { - description "DWDM operational data"; - - container port-vtxps { - description "All DWDM Port operational data"; - - list port-vtxp { - key "name"; - description "DWDM Port operational data"; - - container info { - description "DWDM port operational data"; - uses DWDM-EDM-VTXP-INFO; - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-ace-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-ace-cfg.yang deleted file mode 100755 index 27e451f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-ace-cfg.yang +++ /dev/null @@ -1,157 +0,0 @@ -submodule Cisco-IOS-XR-es-ace-cfg { - - belongs-to Cisco-IOS-XR-es-acl-cfg { - prefix es-acl-cfg; - } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ES ACL entry configuration. - - Copyright (c) 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "Initial revision."; - } - - typedef es-acl-grant-enum { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - } - description "ES acl grant enum"; - } - - typedef es-acl-address { - type string { - pattern '([0-9a-fA-F]{1,4}(\.[0-9a-fA-F]{1,4}){2})'; - } - } - - grouping ES-ACL-CONFIG-ACE { - description "ES ACE entry."; - leaf grant { - type es-acl-grant-enum; - description "Whether to forward or drop packets matching the - ACE."; - } - - container source-network { - description "Source network settings."; - leaf source-address { - type es-acl-address; - description "Source address to match, leave unspecified - for any."; - } - leaf source-wild-card-bits { - type es-acl-address; - description "Wildcard bits to apply to source address - (if specified), leave unspecified for no - wildcarding."; - } - } - - container destination-network { - description "Destination network settings."; - leaf destination-address { - type es-acl-address; - description "Destination address to match (if a protocol - was specified), leave unspecified for any."; - } - leaf destination-wild-card-bits { - type es-acl-address; - description "Wildcard bits to apply to destination address - (if specified), leave unspecified for no - wildcarding."; - } - } - leaf vlan1 { - type uint16; - description "VLAN ID/range lower limit"; - } - leaf vlan2 { - type uint16; - description "VLAN ID range higher limit"; - } - leaf cos { - type uint8; - description "COS value"; - } - leaf dei { - type uint8; - description "DEI bit"; - } - leaf inner-vlan1 { - type uint16; - description "Inner VLAN ID/range lower limit"; - } - leaf inner-vlan2 { - type uint16; - description "Inner VLAN ID range higher limit"; - } - leaf inner-cos { - type uint8; - description "Inner COS value"; - } - leaf inner-dei { - type uint8; - description "Inner DEI bit"; - } - - leaf remark { - type string; - description "Comments or a description for the access list."; - } - - leaf ether-type-number { - type uint16; - description "Ethernet type Number"; - } - - leaf capture { - type boolean; - description "Enable capture."; - } - - leaf log-option { - type uint8; - description "Whether and how to log matches against this - entry."; - } - - leaf sequence-str { - type string { - length "1..64"; - } - description "Sequence String for the ace."; - } - - } -} - diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-cfg.yang deleted file mode 100644 index 9364f56..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-cfg.yang +++ /dev/null @@ -1,97 +0,0 @@ -module Cisco-IOS-XR-es-acl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg"; - - - prefix "es-acl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-es-ace-cfg { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR es-acl package configuration. - - This module contains definitions - for the following management objects: - es-acl: Layer 2 ACL configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Es-acl-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Es acl name"; - } - - container es-acl { - description "Layer 2 ACL configuration data"; - - container accesses { - description "Table of access lists"; - - list access { - key "name"; - description "An ACL"; - - container access-list-entries { - description - "ACL entry table; contains list of access list - entries"; - - list access-list-entry { - key "sequence-number"; - description - "An ACL entry; either a description (remark) - or anAccess List Entry to match against"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description "Sequence number of access list entry"; - } - uses ES-ACL-CONFIG-ACE; - } - } - leaf name { - type Es-acl-name; - description "Name of the access list"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-datatypes.yang deleted file mode 100644 index 9b617b8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-datatypes.yang +++ /dev/null @@ -1,75 +0,0 @@ -module Cisco-IOS-XR-es-acl-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes"; - - - prefix "es-acl-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Es-acl-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Es acl name"; - } - typedef Acl-usage-app-id-enum { - type enumeration { - enum pfilter { - value 1; - description "General Usage Statistics"; - } - enum bgp { - value 2; - description "Usage staistics related to BGP Traffic"; - } - enum ospf { - value 3; - description "Usage staistics related to OSPF Traffic"; - } - } - description "Acl usage app id enum"; - } - typedef Acl-sequence-number-range { - type uint32 { - range "1..2147483646"; - } - description "Acl sequence number range"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper-sub1.yang deleted file mode 100644 index 550c6a4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper-sub1.yang +++ /dev/null @@ -1,202 +0,0 @@ -submodule Cisco-IOS-XR-es-acl-oper-sub1 { - - belongs-to Cisco-IOS-XR-es-acl-oper { - prefix Cisco-IOS-XR-es-acl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR es-acl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Acl-action { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - enum encrypt { - value 2; - description "Encrypt"; - } - enum bypass { - value 3; - description "Bypass"; - } - enum fallthrough { - value 4; - description "Fallthrough"; - } - enum invalid { - value 5; - description "Invalid"; - } - } - description "Acl action"; - } - typedef Acl-ace1 { - type enumeration { - enum normal { - description "This is Normal ACE"; - } - enum remark { - description "This is Remark ACE"; - } - enum abf { - description "This is ABF ACE"; - } - } - description "ACE Types"; - } - typedef Acl-ace { - type Acl-ace1; - description "ACE Types"; - } - - grouping ES-ACL-EDM-ACE { - description "ACLE bag"; - leaf ace-type { - type Acl-ace; - description "ACE type (acl, remark)"; - } - leaf ace-sequence-number { - type uint32; - description "ACE sequence number"; - } - leaf hits { - type uint64; - description "ACE hit number"; - } - leaf grant { - type Acl-action; - description "Grant value permit/deny "; - } - leaf source-address { - type xr:Osi-system-id; - description "Source MAC address"; - } - leaf source-wild-card-bits { - type xr:Osi-system-id; - description "Source wild card bits"; - } - leaf destination-address { - type xr:Osi-system-id; - description "Destination MAC address"; - } - leaf destination-wild-card-bits { - type xr:Osi-system-id; - description "Destination wild card bits"; - } - leaf ether-type-number { - type uint16; - description "Ethernet type Number"; - } - leaf vlan1 { - type uint16; - description "VLAN ID/range lower limit"; - } - leaf vlan2 { - type uint16; - description "VLAN ID range higher limit"; - } - leaf cos { - type uint8; - description "COS value"; - } - leaf dei { - type uint8; - description "DEI bit"; - } - leaf inner-header-vlan1 { - type uint16; - description "Inner header VLAN ID/range lower limit"; - } - leaf inner-header-vlan2 { - type uint16; - description "Inner header VLAN ID range higher limit"; - } - leaf inner-header-cos { - type uint8; - description "Inner header COS value"; - } - leaf inner-header-dei { - type uint8; - description "Inner header DEI bit"; - } - leaf capture { - type boolean; - description "Capture option, TRUE if enabled"; - } - leaf log-option { - type uint8; - description "Log option"; - } - leaf remark { - type string; - description "Remark string"; - } - leaf acl-name { - type string; - description "Acl Name"; - } - leaf sequence-string { - type string; - description "Sequence Sring"; - } - } - - grouping ES-ACL-EDM-OOR-DETAIL { - description "Oor deatil config BAG"; - leaf current-configured-ac-ls { - type uint32; - description "Current configured acls"; - } - leaf current-configured-ac-es { - type uint32; - description "Current configured aces"; - } - leaf maximum-configurable-ac-ls { - type uint32; - description "max configurable acls"; - } - leaf maximum-configurable-ac-es { - type uint32; - description "max configurable aces"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper.yang deleted file mode 100644 index 5079da7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-es-acl-oper.yang +++ /dev/null @@ -1,165 +0,0 @@ -module Cisco-IOS-XR-es-acl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper"; - - - prefix "es-acl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-es-acl-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR es-acl package operational data. - - This module contains definitions - for the following management objects: - es-acl: Root class of ES ACL Oper schema tree - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Es-acl-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Es acl name"; - } - - container es-acl { - config false; - description "Root class of ES ACL Oper schema tree"; - - container active { - description - "Out Of Resources, Limits to the resources - allocatable"; - - container oor { - description - "Out Of Resources, Limits to the resources - allocatable"; - - container acl-summary { - description "Resource Limits pertaining to ACLs only"; - - container details { - description - "Details containing the resource limits of the - ACLs"; - uses ES-ACL-EDM-OOR-DETAIL; - } - } - } - - container list { - description "List containing ACLs"; - - container acls { - description "ACL class displaying Usage and Entries"; - - list acl { - key "name"; - description "Name of the Access List"; - - container acl-sequence-numbers { - description - "Table of all the SequenceNumbers per ACL"; - - list acl-sequence-number { - key "sequence-number"; - description "Sequence Number of an ACL entry"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description "ACLEntry Sequence Number"; - } - uses ES-ACL-EDM-ACE; - } - } - leaf name { - type Es-acl-name; - description "Name of the Access List"; - } - } - } - } - - container oor-acls { - description "Resource occupation details for ACLs"; - - list oor-acl { - key "name"; - description - "Resource occupation details for a particular - ACL"; - leaf name { - type Es-acl-name; - description "Name of the Access List"; - } - uses ES-ACL-EDM-OOR-DETAIL; - } - } - - container usages { - description - "Table of Usage statistics of ACLs at different - nodes"; - - list usage { - description "Usage statistics of an ACL at a node"; - leaf location { - type xr:Node-id; - description "Node where ACL is applied"; - } - leaf application-id { - type dt1:Acl-usage-app-id-enum; - description "Application ID"; - } - leaf name { - type Es-acl-name; - description "Name of the ACL"; - } - leaf usage-details { - type string; - mandatory true; - description "Usage Statistics Details"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-cfg.yang deleted file mode 100644 index e6792ac..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-cfg.yang +++ /dev/null @@ -1,1006 +0,0 @@ -module Cisco-IOS-XR-ethernet-cfm-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg"; - - - prefix "ethernet-cfm-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ethernet-cfm-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-infra-sla-datatypes { prefix "dt2"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2-eth-infra-cfg { prefix "a2"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a3"; } - - import Cisco-IOS-XR-infra-sla-cfg { prefix "a4"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2-eth-infra-cfg, - Cisco-IOS-XR-snmp-agent-cfg, - Cisco-IOS-XR-infra-sla-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Cfm-mip-policy { - type enumeration { - enum all { - value 2; - description - "Create MIPs on all ports in the Bridge Domain - or Cross-connect"; - } - enum lower-mep-only { - value 3; - description - "Create MIPs on ports which have a MEP at a - lower level"; - } - } - description "Cfm mip policy"; - } - typedef Cfm-service { - type enumeration { - enum bridge-domain { - value 1; - description - "Use a Bridge Domain - all MEPs will be Up MEPs - and MIPs are permitted"; - } - enum p2p-cross-connect { - value 2; - description - "Use a P2P Cross Connect - all MEPs will be Up - MEPs and MIPs are permitted"; - } - enum mp2mp-cross-connect { - value 3; - description - "Use a MP2MP Cross Connect - all MEPs will be Up - MEPs and MIPs are permitted"; - } - enum vlan-aware-flexible-cross-connect { - value 4; - description - "Use a VLAN-aware Flexible Cross Connect - all - MEPs will be Up MEPs and MIPs are permitted"; - } - enum vlan-unaware-flexible-cross-connect { - value 5; - description - "Use a VLAN-unaware Flexible Cross Connect - all - MEPs will be Up MEPs and MIPs are permitted"; - } - enum down-meps { - value 6; - description "Down MEPs - no MIPs permitted"; - } - } - description "Cfm service"; - } - typedef Cfm-short-ma-name-format { - type enumeration { - enum vlan-id { - value 1; - description "VLAN ID"; - } - enum string { - value 2; - description "String Short MA Name"; - } - enum number { - value 3; - description "Numeric Short MA Name"; - } - enum vpn-id { - value 4; - description "RFC 2685 VPN ID"; - } - enum icc-based { - value 32; - description "ICC-based format"; - } - } - description "Cfm short ma name format"; - } - typedef Cfm-lm-counters-cfg { - type enumeration { - enum aggregate { - value 1; - description "Aggregate Counters"; - } - enum list { - value 2; - description "List of per-CoS counters"; - } - enum range { - value 3; - description "Range of per-CoS counters"; - } - } - description "Cfm lm counters cfg"; - } - typedef Cfm-mdid-format { - type enumeration { - enum null { - value 1; - description "Null MDID"; - } - enum dns-like { - value 2; - description "DNS-like MDID"; - } - enum mac-address { - value 3; - description - "MDID Comprising MAC Address and 16-bit integer"; - } - enum string { - value 4; - description "String MDID"; - } - } - description "Cfm mdid format"; - } - - augment "/a4:sla/a4:protocols" { - - container ethernet { - description "The Ethernet SLA protocol"; - - container profiles { - description "Table of SLA profiles on the protocol"; - - list profile { - key "profile-name"; - description "Name of the profile"; - - container statistics { - description - "Statistics configuration for the SLA profile"; - - list statistic { - key "statistic-name"; - description "Type of statistic"; - - container buckets-size { - presence "Indicates a buckets-size node is"+ - " configured."; - description - "Size of the buckets into which statistics - are collected"; - leaf buckets-size { - type uint32 { - range "1..100"; - } - mandatory true; - description "Size of each bucket"; - } - leaf buckets-size-unit { - type dt2:Sla-buckets-size-units-enum; - mandatory true; - description - "Unit associated with the BucketsSize"; - } - } - - container aggregation { - presence "Indicates a aggregation node is"+ - " configured."; - description - "Aggregation to apply to results for the - statistic"; - leaf bins-count { - type uint32 { - range "0..100"; - } - mandatory true; - description - "Number of bins to aggregate results into - (0 for no aggregation)"; - } - leaf bins-width { - type uint32 { - range "1..10000"; - } - description "Width of each bin"; - } - leaf bins-width-tenths { - type uint32 { - range "0..9"; - } - description "Tenths portion of the bin width"; - } - } - leaf enable { - type empty; - description - "Enable statistic gathering of the metric"; - } - leaf buckets-archive { - type uint32 { - range "1..100"; - } - description - "Number of buckets to archive in memory"; - } - leaf statistic-name { - type dt2:Sla-statistic-type-enum; - description "The type of statistic to measure"; - } - } - } - - container schedule { - presence "Indicates a schedule node is configured."; - description - "Schedule to use for probes within an - operation"; - leaf probe-interval { - type uint32 { - range "1..90"; - } - description - "Interval between probes. This must be - specified if, and only if, ProbeIntervalUnit - is not 'Week' or 'Day'."; - } - leaf probe-interval-day { - type dt2:Sla-probe-interval-day-enum; - description - "Day of week on which to schedule probes. - This must be specified if, and only if, - ProbeIntervalUnit is 'Week'."; - } - leaf probe-interval-unit { - type dt2:Sla-probe-interval-units-enum; - mandatory true; - description - "Time unit associated with the ProbeInterval. - The value must not be 'Once'. If 'Week' or - 'Day' is specified, probes are scheduled - weekly or daily respectively."; - } - leaf start-time-hour { - type uint32 { - range "0..23"; - } - description - "Time after midnight (in UTC) to send the - first packet each day."; - } - leaf start-time-minute { - type uint32 { - range "0..59"; - } - description - "Time after midnight (in UTC) to send the - first packet each day. This must be - specified if, and only if, StartTimeHour is - specified."; - } - leaf start-time-second { - type uint32 { - range "0..59"; - } - description - "Time after midnight (in UTC) to send the - first packet each day. This must only be - specified if StartTimeHour is specified, and - must not be specified if ProbeIntervalUnit - is 'Week' or 'Day'."; - } - leaf probe-duration { - type uint32 { - range "1..3600"; - } - description - "Duration of each probe. This must be - specified if, and only if, ProbeDurationUnit - is specified."; - } - leaf probe-duration-unit { - type dt2:Sla-probe-duration-units-enum; - description - "Time unit associated with the ProbeDuration. - The value must not be 'Once'."; - } - } - - container probe { - description "Probe configuration for the SLA profile"; - - container send { - presence "Indicates a send node is configured."; - description - "Schedule to use for packets within a burst. - The default value is to send a single packet - once."; - leaf burst-interval { - type uint32 { - range "1..3600"; - } - description - "Interval between bursts. This must be - specified if, and only if, the SendType is - 'Burst' and the 'BurstIntervalUnit' is not - 'Once'."; - } - leaf burst-interval-unit { - type dt2:Sla-burst-interval-units-enum; - description - "Time unit associated with the BurstInterval - . This must be specified if, and only if, - SendType is 'Burst'."; - } - leaf packet-interval { - type uint32 { - range "1..30000"; - } - description - "Interval between packets. This must be - specified if, and only if, - PacketIntervalUnit is not 'Once'."; - } - leaf packet-interval-unit { - type dt2:Sla-packet-interval-units-enum; - mandatory true; - description - "Time unit associated with the - PacketInterval"; - } - leaf packet-count { - type uint32 { - range "2..1200"; - } - description - "The number of packets in each burst. This - must be specified if, and only if, the - SendType is 'Burst'."; - } - leaf send-type { - type dt2:Sla-send; - mandatory true; - description - "The packet distribution: single packets or - bursts of packets. If 'Burst' is specified - , PacketCount and BurstInterval must be - specified."; - } - } - - container packet-size-and-padding { - presence "Indicates a packet-size-and-padding node is"+ - " configured."; - description "Minimum size to pad outgoing packet to"; - leaf size { - type uint32 { - range "1..9000"; - } - mandatory true; - description - "Minimum size to pad outgoing packet to"; - } - leaf padding-type { - type dt2:Sla-padding-pattern; - description - "Type of padding to be used for the packet"; - } - leaf padding-value { - type xr:Hex-integer; - description - "Pattern to be used for hex padding. This - can be specified if, and only if, the - PaddingType is 'Hex'."; - } - } - leaf priority { - type uint32 { - range "0..7"; - } - description - "Priority class to assign to outgoing SLA - packets"; - } - leaf synthetic-loss-calculation-packets { - type uint32 { - range "10..12096000"; - } - description - "Number of packets to use in each FLR - calculation"; - } - } - leaf packet-type { - type string; - description - "The possible packet types are cfm-loopback, - cfm-delay-measurement, - cfm-delay-measurement-version-0, - cfm-loss-measurement and - cfm-synthetic-loss-measurement"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-sla-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:ethernet-features" { - - container cfm { - description "CFM interface configuration"; - - container domains { - description "Domain-specific interface configuration"; - - list domain { - key "domain"; - description - "Configuration for a particular Maintenance - Domain"; - - container mep { - description "MEP Configuration"; - - container sla-profile-target-mep-ids { - description "SLA specific configuration"; - - list sla-profile-target-mep-id { - key "profile target-mep-id"; - description - "Configuration for a particular SLA - operation"; - leaf profile { - type xr:Cisco-ios-xr-string; - description "SLA profile name"; - } - leaf target-mep-id { - type dt1:Cfm-mep-id; - description "Target MEP-ID"; - } - } - - list sla-profile-target-mac-address { - key "profile target-mac-address"; - description - "Configuration for a particular SLA - operation"; - leaf profile { - type xr:Cisco-ios-xr-string; - description "SLA profile name"; - } - leaf target-mac-address { - type yang:mac-address; - description "Target MAC address"; - } - } - } - - container mep-properties { - presence "Indicates a mep-properties node is"+ - " configured."; - description "Properties for this MEP"; - leaf service { - type string { - length "1..79"; - } - mandatory true; - description "Service (Maintenance Association)"; - } - leaf mep-id { - type dt1:Cfm-mep-id; - mandatory true; - description "MEP ID"; - } - } - - container loss-measurement-counters { - presence "Indicates a loss-measurement-counters node"+ - " is configured."; - description "Loss-measurement specific configuration"; - leaf cfg-type { - type Cfm-lm-counters-cfg; - mandatory true; - description "Aggregate, List, or Range"; - } - leaf cos0 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - start of - range or list item"; - } - leaf cos1 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - end of - range or list item"; - } - leaf cos2 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - leaf cos3 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - leaf cos4 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - leaf cos5 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - leaf cos6 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - leaf cos7 { - type dt1:Cfm-cos-bits; - description - "CoS bits for per-CoS counters - list item"; - } - } - leaf cos { - type dt1:Cfm-cos-bits; - description "The Class of Service bits for this MEP"; - } - } - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - } - } - - container ais-up { - description "Interface specific AIS configuration"; - - container transmission { - presence "enable transmission"; - description "AIS transmission configuration"; - leaf ais-interval { - type dt1:Cfm-ais-interval; - description "AIS Interval"; - } - leaf cos { - type dt1:Cfm-cos-bits; - description "Class of Service bits"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2-eth-infra-cfg'"; - } - - augment "/a2:ethernet-features" { - - container cfm { - description "CFM global configuration"; - - container traceroute-cache { - description "Traceroute Cache Configuration"; - leaf hold-time { - type uint32 { - range "1..525600"; - } - default "100"; - description "Hold Time in minutes"; - } - leaf cache-size { - type uint32 { - range "1..4294967295"; - } - default "100"; - description "Cache Size limit (number of replies)"; - } - } - - container domains { - description "Domain-specific global configuration"; - - list domain { - key "domain"; - description - "Configuration for a particular Maintenance - Domain"; - - container services { - description "Service-specific global configuration"; - - list service { - key "service"; - description - "Configuration for a particular Service - (Maintenance Association)"; - - container efd2 { - presence "Indicates a efd2 node is configured."; - description - "Enable EFD to bring down ports when MEPs - detect errors"; - leaf enable { - type empty; - mandatory true; - description "Enable EFD"; - } - leaf protection-switching-enable { - type empty; - description - "Enable protection switching notifications"; - } - } - - container continuity-check-interval { - presence "Indicates a continuity-check-interval"+ - " node is configured."; - description - "Continuity Check Interval and Loss - Threshold. Configuring the interval - enables Continuity Check."; - leaf ccm-interval { - type dt1:Cfm-ccm-interval; - mandatory true; - description "CCM Interval"; - } - leaf loss-threshold { - type uint32 { - range "2..255"; - } - description "Loss Threshold (default 3)"; - } - } - - container mip-auto-creation { - presence "Indicates a mip-auto-creation node is"+ - " configured."; - description "MIP Auto-creation Policy"; - leaf mip-policy { - type Cfm-mip-policy; - mandatory true; - description "MIP Auto-creation Policy"; - } - leaf ccm-learning-enable { - type empty; - description - "Enable CCM Learning at MIPs in this - service"; - } - } - - container ais { - description "Service specific AIS configuration"; - - container transmission { - presence "enable transmission"; - description "AIS transmission configuration"; - leaf ais-interval { - type dt1:Cfm-ais-interval; - description "AIS Interval"; - } - leaf cos { - type dt1:Cfm-cos-bits; - description "Class of Service bits"; - } - } - } - - container cross-check { - description "Cross-check configuration"; - - container cross-check-meps { - description "Cross-check MEPs"; - - list cross-check-mep { - key "mep-id"; - description - "MEP ID and optional MAC Address for - Cross-check"; - leaf mep-id { - type dt1:Cfm-mep-id; - description "MEP ID"; - } - leaf enable-mac-address { - type empty; - description "MAC Address is specified"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - } - } - leaf auto { - type empty; - description "Enable automatic MEP cross-check"; - } - } - - container service-properties { - presence "Indicates a service-properties node is"+ - " configured."; - description - "Fundamental properties of the service - (maintenance association)"; - leaf service-type { - type Cfm-service; - mandatory true; - description "Type of Service"; - } - leaf group-name { - type string; - description - "Bridge Group or Cross-connect Group, if - Service Type is BridgeDomain or - CrossConnect"; - } - leaf switching-name { - type string; - description - "Bridge Domain or Cross-connect name, if - Service Type is BridgeDomain or - CrossConnect"; - } - leaf ce-id { - type uint32 { - range "1..16384"; - } - description "Local Customer Edge Identifier"; - } - leaf remote-ce-id { - type uint32 { - range "1..16384"; - } - description "Remote Customer Edge Identifier"; - } - leaf evi { - type uint32 { - range "1..65534"; - } - description "EVPN ID"; - } - leaf short-ma-name-format { - type Cfm-short-ma-name-format; - description "Short MA Name Format"; - } - leaf short-ma-name-string { - type xr:Cisco-ios-xr-string { - length "1..45"; - } - description - "String Short MA Name, if format is String"; - } - leaf short-ma-name-number { - type uint32 { - range "0..65535"; - } - description - "Numeric Short MA Name, if format is VlanID - or Number"; - } - leaf short-ma-name-oui { - type uint32 { - range "0..16777215"; - } - description - "VPN OUI, if Short MA Name format is VPN_ID"; - } - leaf short-ma-name-vpn-index { - type int32; - description - "VPN Index, if Short MA Name format is - VPN_ID"; - } - leaf short-ma-name-icc { - type xr:Cisco-ios-xr-string { - length "1..6"; - } - description - "ITU Carrier Code (ICC), if format is - ICCBased"; - } - leaf short-ma-name-umc { - type xr:Cisco-ios-xr-string { - length "1..12"; - } - description - "Unique MEG ID Code (UMC), if format is - ICCBased"; - } - } - leaf maximum-meps { - type uint32 { - range "2..8190"; - } - default "100"; - description - "Limit on the number of MEPs in the service"; - } - leaf log-cross-check-errors { - type empty; - description - "Log Cross-check Errors detected for peer - MEPs"; - } - leaf continuity-check-archive-hold-time { - type uint32 { - range "1..65535"; - } - default "100"; - description - "How long to store information for peer MEPs - that have timed out"; - } - leaf tags { - type uint32; - description - "The number of tags to use when sending CFM - packets from up MEPs in this Service"; - } - leaf log-continuity-check-state-changes { - type empty; - description "Log peer MEPs state changes"; - } - leaf log-efd { - type empty; - description "Enable logging"; - } - leaf continuity-check-auto-traceroute { - type empty; - description - "Automatically trigger a traceroute when a - peer MEP times out"; - } - leaf log-continuity-check-errors { - type empty; - description "Log CCM Errors detected for peer MEPs"; - } - leaf log-ais { - type empty; - description "Log receipt of AIS and LCK messages"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - } - } - - container domain-properties { - description "Fundamental properties of the domain"; - leaf level { - type dt1:Cfm-level; - description "Maintenance Domain Level"; - } - leaf mdid-format { - type Cfm-mdid-format; - description "Maintenance Domain ID Format"; - } - leaf mdid-mac-address { - when "../mdid-format = 'mac-address'" { - description "../MDIDFormat = MACAddress"; - } - type yang:mac-address; - description - "MAC Address, if MDID Format is MACAddress"; - } - leaf mdid-number { - when "../mdid-format = 'mac-address'" { - description "../MDIDFormat = MACAddress"; - } - type uint32 { - range "0..65535"; - } - description - "Unsigned 16-bit Interger, if MDID Format is - MACAddress"; - } - leaf mdid-string { - when "../mdid-format = 'dns-like' or ../mdid-format"+ - " = 'string'" { - description - "../MDIDFormat = DNSLike or ../MDIDFormat = - String"; - } - type string { - length "1..43"; - } - description - "String MDID, if MDID format is String or - DNSLike"; - } - } - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - } - } - leaf nv-satellite-sla-processing-disable { - type empty; - description - "Disable processing of Ethernet SLA packets on - nV Satellite devices"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2-eth-infra-cfg'"; - } - - augment "/a3:snmp/a3:notification" { - - container cfm { - description - "802.1ag Connectivity Fault Management MIB - notification configuration"; - leaf enable { - type empty; - description - "Enable 802.1ag Connectivity Fault Management - MIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-datatypes.yang deleted file mode 100644 index 89cad74..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-datatypes.yang +++ /dev/null @@ -1,148 +0,0 @@ -module Cisco-IOS-XR-ethernet-cfm-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ethernet-cfm-datatypes"; - - - prefix "ethernet-cfm-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Cfm-bnm-wtr { - type uint32 { - range "0..600"; - } - description "Cfm bnm wtr"; - } - typedef Cfm-ccm-interval { - type enumeration { - enum 3.3ms { - value 1; - description "3.3ms"; - } - enum 10ms { - value 2; - description "10ms"; - } - enum 100ms { - value 3; - description "100ms"; - } - enum 1s { - value 4; - description "1s"; - } - enum 10s { - value 5; - description "10s"; - } - enum 1m { - value 6; - description "1m"; - } - enum 10m { - value 7; - description "10m"; - } - } - description "Cfm ccm interval"; - } - typedef Cfm-mep-id { - type uint32 { - range "1..8191"; - } - description "Cfm mep id"; - } - typedef Cfm-bnm-hold-off { - type uint32 { - range "0..600"; - } - description "Cfm bnm hold off"; - } - typedef Cfm-level { - type uint32 { - range "0..7"; - } - description "Cfm level"; - } - typedef Bandwidth-notification-state { - type enumeration { - enum ok { - value 1; - description "Link is not degraded"; - } - enum degraded { - value 2; - description "Link is in degraded state"; - } - } - description "Bandwidth notification state"; - } - typedef Cfm-cos-bits { - type uint32 { - range "0..7"; - } - description "Cfm cos bits"; - } - typedef Cfm-bnm-loss-threshold { - type uint32 { - range "2..255"; - } - description "Cfm bnm loss threshold"; - } - typedef Cfm-ais-interval { - type enumeration { - enum 1s { - value 4; - description "1s"; - } - enum 1m { - value 6; - description "1m"; - } - } - description "Cfm ais interval"; - } - typedef Cfm-mep-dir { - type enumeration { - enum up { - value 0; - description "Up MEP"; - } - enum down { - value 1; - description "Down MEP"; - } - } - description "Cfm mep dir"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang deleted file mode 100644 index ae8ff1b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang +++ /dev/null @@ -1,924 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-cfm-oper-sub1 { - - belongs-to Cisco-IOS-XR-ethernet-cfm-oper { - prefix Cisco-IOS-XR-ethernet-cfm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Sla-error-string { - type string; - description "Sla error string"; - } - typedef Sla-oper-packet-priority { - type enumeration { - enum priority-none { - value 0; - description "Packet does not use any specified priority."; - } - enum priority-cos { - value 1; - description - "Packet uses a specified 3-bit COS priority - value."; - } - } - description "Priority scheme for packet priority"; - } - typedef Sla-oper-test-pattern-scheme { - type enumeration { - enum hex { - value 0; - description "Packet is padded with a user-specified string"; - } - enum pseudo-random { - value 1; - description - "Packet is padded with a pseudo-random bit - sequence"; - } - } - description "Test pattern scheme for packet padding"; - } - typedef Sla-oper-bucket { - type enumeration { - enum bucket-type-bins { - value 0; - description "SLA metric bin"; - } - enum bucket-type-samples { - value 1; - description "SLA metric sample"; - } - } - description "Type of SLA metric bucket"; - } - typedef Sla-bucket-size { - type enumeration { - enum buckets-per-probe { - value 0; - description - "Bucket size is configured as buckets per probe"; - } - enum probes-per-bucket { - value 1; - description - "Bucket size is configured as probes per bucket"; - } - } - description "Type of configuration of a bucket size"; - } - typedef Sla-recordable-metric { - type enumeration { - enum metric-invalid { - value 0; - description "Not a valid metric type"; - } - enum metric-round-trip-delay { - value 1; - description "Round-trip Delay"; - } - enum metric-one-way-delay-sd { - value 2; - description "One-way Delay (Source->Destination)"; - } - enum metric-one-way-delay-ds { - value 3; - description "One-way Delay (Destination->Source)"; - } - enum metric-round-trip-jitter { - value 4; - description "Round-trip Jitter"; - } - enum metric-one-way-jitter-sd { - value 5; - description "One-way Jitter (Source->Destination)"; - } - enum metric-one-way-jitter-ds { - value 6; - description "One-way Jitter (Destination->Source)"; - } - enum metric-one-way-flr-sd { - value 7; - description - "One-way Frame Loss Ratio (Source->Destination)"; - } - enum metric-one-way-flr-ds { - value 8; - description - "One-way Frame Loss Ratio (Destination->Source)"; - } - } - description "Types of metrics that can be recorded by probes"; - } - typedef Sla-oper-operation { - type enumeration { - enum operation-type-configured { - value 0; - description "Configured SLA operation"; - } - enum operation-type-ondemand { - value 1; - description "On-demand SLA operation"; - } - } - description "Type of SLA operation"; - } - - grouping SLA-OPER-CONFIG-ERRORS { - description - "Most recent configuration error information for - an SLA operation"; - leaf profile-name-xr { - type string; - description "The name of the operation profile."; - } - leaf display-short { - type string; - description "Short display name used by the operation"; - } - leaf rt-delay-inconsistent { - type boolean; - description - "Is the profile configured to collect RT Delay - but the packet type doesn't support it?"; - } - leaf ow-delay-sd-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Delay - (SD) but the packet type doesn't support it?"; - } - leaf ow-delay-ds-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Delay - (DS) but the packet type doesn't support it?"; - } - leaf rt-jitter-inconsistent { - type boolean; - description - "Is the profile configured to collect RT Jitter - but the packet type doesn't support it?"; - } - leaf ow-jitter-sd-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Jitter - (SD) but the packet type doesn't support it?"; - } - leaf ow-jitter-ds-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Delay - (DS) but the packet type doesn't support it?"; - } - leaf ow-loss-sd-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Frame - Loss (SD) but the packet type doesn't support it - ?"; - } - leaf ow-loss-ds-inconsistent { - type boolean; - description - "Is the profile configured to collect OW Frame - Loss (DS) but the packet type doesn't support it - ?"; - } - leaf packet-pad-inconsistent { - type boolean; - description - "Is the profile configured to pad packets but the - packet type doesn't support it?"; - } - leaf packet-rand-pad-inconsistent { - type boolean; - description - "Is the profile configured to pad packets with a - pseudo-random string but the packet type doesn't - support it?"; - } - leaf min-packet-interval-inconsistent { - type boolean; - description - "Is the profile configured to send packets more - frequently than the protocol allows?"; - } - leaf priority-inconsistent { - type boolean; - description - "Is the profile configured to use a packet - priority scheme that the protocol does not - support?"; - } - leaf packet-type-inconsistent { - type boolean; - description - "Is the profile configured to use a packet type - that isn't supported by any protocols?"; - } - leaf profile-doesnt-exist { - type boolean; - description - "Is the operation configured to use a profile - that is not currently defined for the protocol?"; - } - leaf synthetic-loss-not-supported { - type boolean; - description - "The profile is configured to use a packet type - which doesn't support synthetic loss measurement - and the number of packets per FLR calculation - has been configured"; - } - leaf probe-too-big { - type boolean; - description - "The profile is configured to use a packet type - which does not allow more than 72000 packets per - probe and greater than 72000 packets per probe - have been configured"; - } - leaf-list error-string { - type Sla-error-string; - description - "Displays other issues not indicated from the - flags above, for example MIB incompatibility - issues."; - } - } - - grouping SLA-OPER-OPERATION-METRIC { - description "Status for an individual metric on an operation"; - - container metric-config { - description "Configuration of the metric"; - uses SLA-CFG-METRIC-TYPE; - } - leaf current-buckets-archive { - type uint32; - description - "Number of valid buckets currently in the buckets - archive"; - } - } - - grouping SLA-OPER-PACKET-PRIORITY { - description "Union of available types of packet priority"; - leaf priority-type { - type Sla-oper-packet-priority; - description "PriorityType"; - } - leaf cos { - when "../priority-type = 'priority-cos'" { - description "../PriorityType = 'PriorityCOS'"; - } - type uint8; - description "3-bit COS priority value applied to packets"; - } - } - - grouping SLA-OPER-PACKET-PADDING { - description - "Parameters of a probe that are only valid if - packet padding is configured"; - leaf packet-pad-size { - type uint16; - description "Size that packets are being padded to"; - } - leaf test-pattern-pad-scheme { - type Sla-oper-test-pattern-scheme; - description - "Test pattern scheme that is used in the packet - padding"; - } - leaf test-pattern-pad-hex-string { - type uint32; - description "Hex string that is used in the packet padding"; - } - } - - grouping SLA-OPER-OPERATION-PROFILE { - description - "Parameters of an operation that are only valid if - it has a profile"; - - container packet-padding { - description "Configuration of the packet padding"; - uses SLA-OPER-PACKET-PADDING; - } - - container priority { - description - "Priority at which to send the packet, if - configured"; - uses SLA-OPER-PACKET-PRIORITY; - } - - container operation-schedule { - description "Operation schedule"; - uses SLA-OPER-OPERATION-SCHEDULE; - } - leaf probe-type { - type string; - description "Type of probe used by the operation"; - } - leaf packets-per-burst { - type uint16; - description "Number of packets sent per burst"; - } - leaf inter-packet-interval { - type uint16; - units "millisecond"; - description - "Interval between packets within a burst in - milliseconds"; - } - leaf bursts-per-probe { - type uint32; - description "Number of bursts sent per probe"; - } - leaf inter-burst-interval { - type uint32; - units "millisecond"; - description - "Interval between bursts within a probe in - milliseconds"; - } - leaf flr-calculation-interval { - type uint32; - units "millisecond"; - description - "Interval between FLR calculations for SLM, in - milliseconds"; - } - - list operation-metric { - description - "Array of the metrics that are measured by the - operation"; - uses SLA-OPER-OPERATION-METRIC; - } - } - - grouping SLA-OPER-OPERATION { - description "The state of an SLA operation"; - - container profile-options { - description - "Options that are only valid if the operation has - a profile"; - uses SLA-OPER-OPERATION-PROFILE; - } - - container specific-options { - description "Options specific to the type of operation"; - uses SLA-OPER-OPERATION-SPECIFIC-OPTS; - } - leaf display-short { - type string; - description "Short display name used by the operation"; - } - leaf display-long { - type string; - description "Long display name used by the operation"; - } - leaf last-run { - type uint32; - description - "Time that the last probe for the operation was - run, NULL if never run."; - } - } - - grouping SLA-OPER-SAMPLE { - description "Contents of an SLA metric sample"; - leaf sent-at { - type uint32; - units "millisecond"; - description - "The time (in milliseconds relative to the start - time of the bucket) that the sample was sent at"; - } - leaf sent { - type boolean; - description "Whether the sample packet was sucessfully sent"; - } - leaf timed-out { - type boolean; - description "Whether the sample packet timed out"; - } - leaf corrupt { - type boolean; - description "Whether the sample packet was corrupt"; - } - leaf out-of-order { - type boolean; - description - "Whether the sample packet was received - out-of-order"; - } - leaf no-data-packets { - type boolean; - description - "Whether a measurement could not be made because - no data packets were sent in the sample period. - Only applicable for LMM measurements"; - } - leaf result { - type int32; - description - "The result (in microseconds or millionths of a - percent) of the sample, if available"; - } - leaf frames-sent { - type uint32; - description - "For FLR measurements, the number of frames sent, - if available"; - } - leaf frames-lost { - type uint32; - description - "For FLR measurements, the number of frames lost, - if available"; - } - } - - grouping SLA-OPER-BUCKET-UNAGGREGATED { - description "Result samples in an SLA metric bucket"; - - list sample { - description "The samples of an SLA metric bucket"; - uses SLA-OPER-SAMPLE; - } - } - - grouping SLA-OPER-BIN { - description "Contents of an SLA metric bin"; - leaf lower-bound { - type int32; - description - "Lower bound (inclusive) of the bin, in - milliseconds or single units of percent. This - field is not used for LMM measurements"; - } - leaf upper-bound { - type int32; - description - "Upper bound (exclusive) of the bin, in - milliseconds or single units of percent. This - field is not used for LMM measurements"; - } - leaf lower-bound-tenths { - type int32; - units "percentage"; - description - "Lower bound (inclusive) of the bin, in tenths of - percent. This field is only used for LMM - measurements"; - } - leaf upper-bound-tenths { - type int32; - units "percentage"; - description - "Upper bound (exclusive) of the bin, in tenths of - percent. This field is only used for LMM - measurements"; - } - leaf sum { - type int64; - description - "The sum of the results in the bin, in - microseconds or millionths of a percent"; - } - leaf count { - type uint32; - description "The total number of results in the bin"; - } - } - - grouping SLA-OPER-BUCKET-AGGREGATED { - description "Result bins in an SLA metric bucket"; - - list bins { - description "The bins of an SLA metric bucket"; - uses SLA-OPER-BIN; - } - } - - grouping BUCKET-CONTENTS { - description "Contents of an SLA bucket; bins or samples"; - - container aggregated { - when "../bucket-type = 'bucket-type-bins'" { - description "../BucketType = 'BucketTypeBins'"; - } - description "Result bins in an SLA metric bucket"; - uses SLA-OPER-BUCKET-AGGREGATED; - } - - container unaggregated { - when "../bucket-type = 'bucket-type-samples'" { - description "../BucketType = 'BucketTypeSamples'"; - } - description "Result samples in an SLA metric bucket"; - uses SLA-OPER-BUCKET-UNAGGREGATED; - } - leaf bucket-type { - type Sla-oper-bucket; - description "BucketType"; - } - } - - grouping SLA-OPER-BUCKET { - description "The contents of an SLA bucket"; - - container contents { - description "The contents of the bucket; bins or samples"; - uses BUCKET-CONTENTS; - } - leaf start-at { - type uint32; - description - "Absolute time that the bucket started being - filled at"; - } - leaf duration { - type uint32; - units "second"; - description - "Length of time for which the bucket is being - filled in seconds"; - } - leaf sent { - type uint32; - description "Number of packets sent in the probe"; - } - leaf lost { - type uint32; - description "Number of lost packets in the probe"; - } - leaf corrupt { - type uint32; - description "Number of corrupt packets in the probe"; - } - leaf out-of-order { - type uint32; - description - "Number of packets recieved out-of-order in the - probe"; - } - leaf duplicates { - type uint32; - description - "Number of duplicate packets received in the - probe"; - } - leaf minimum { - type int32; - description - "Overall minimum result in the probe, in - microseconds or millionths of a percent"; - } - leaf maximum { - type int32; - description - "Overall minimum result in the probe, in - microseconds or millionths of a percent"; - } - leaf time-of-minimum { - type uint32; - description - "Absolute time that the minimum value was - recorded"; - } - leaf time-of-maximum { - type uint32; - description - "Absolute time that the maximum value was - recorded"; - } - leaf average { - type int32; - description - "Mean of the results in the probe, in - microseconds or millionths of a percent"; - } - leaf standard-deviation { - type int32; - description - "Standard deviation of the results in the probe, - in microseconds or millionths of a percent"; - } - leaf result-count { - type uint32; - description "The count of samples collected in the bucket."; - } - leaf data-sent-count { - type uint32; - description - "The number of data packets sent across the - bucket, used in the calculation of overall FLR."; - } - leaf data-lost-count { - type uint32; - description - "The number of data packets lost across the - bucket, used in the calculation of overall FLR."; - } - leaf overall-flr { - type int32; - units "percentage"; - description - "Frame Loss Ratio across the whole bucket, in - millionths of a percent"; - } - leaf suspect-start-mid-bucket { - type boolean; - description - "Results suspect due to a probe starting mid-way - through a bucket"; - } - leaf suspect-schedule-latency { - type boolean; - description - "Results suspect due to scheduling latency - causing one or more packets to not be sent"; - } - leaf suspect-send-fail { - type boolean; - description - "Results suspect due to failure to send one or - more packets"; - } - leaf suspect-premature-end { - type boolean; - description - "Results suspect due to a probe ending - prematurely"; - } - leaf suspect-clock-drift { - type boolean; - description - "Results suspect as more than 10 seconds time - drift detected"; - } - leaf suspect-memory-allocation-failed { - type boolean; - description - "Results suspect due to a memory allocation - failure"; - } - leaf suspect-cleared-mid-bucket { - type boolean; - description - "Results suspect as bucket was cleared mid-way - through being filled"; - } - leaf suspect-probe-restarted { - type boolean; - description - "Results suspect as probe restarted mid-way - through the bucket"; - } - leaf suspect-management-latency { - type boolean; - description - "Results suspect as processing of results has - been delayed"; - } - leaf suspect-multiple-buckets { - type boolean; - description - "Results suspect as the probe has been configured - across multiple buckets"; - } - leaf suspect-misordering { - type boolean; - description - "Results suspect as misordering has been detected - , affecting results"; - } - leaf suspect-flr-low-packet-count { - type boolean; - description - "Results suspect as FLR calculated based on a low - packet count"; - } - leaf premature-reason { - type uint32; - description - "If the probe ended prematurely, the error that - caused a probe to end"; - } - leaf premature-reason-string { - type string; - description - "Description of the error code that caused the - probe to end prematurely. For informational - purposes only"; - } - } - - grouping SLA-CFG-METRIC-TYPE { - description - "Aggregation configuration for an individual - metric"; - leaf metric-type { - type Sla-recordable-metric; - description - "Type of metric to which this configuration - applies"; - } - leaf bins-count { - type uint16; - description - "Total number of bins into which to aggregate. 0 - if no aggregation."; - } - leaf bins-width { - type uint16; - description - "Width of each bin into which to aggregate. 0 if - no aggregation. For SLM, the units of this value - are in single units of percent; for LMM they are - in tenths of percent; for other measurements - they are in milliseconds."; - } - leaf bucket-size { - type uint8; - description - "Size of buckets into which measurements are - collected"; - } - leaf bucket-size-unit { - type Sla-bucket-size; - description "Whether bucket size is 'per-probe' or 'probes'"; - } - leaf buckets-archive { - type uint32; - description "Maximum number of buckets to store in memory"; - } - } - - grouping SLA-OPER-METRIC-STATISTICS { - description "The results gathered for an individual metric"; - - container config { - description "Configuration of the metric"; - uses SLA-CFG-METRIC-TYPE; - } - - list bucket { - description "Buckets stored for the metric"; - uses SLA-OPER-BUCKET; - } - } - - grouping SLA-OPER-OPERATION-SCHEDULE { - description "Schedule of an operation"; - leaf start-time { - type uint32; - units "second"; - description - "Start time of the first probe, in seconds since - the Unix Epoch"; - } - leaf start-time-configured { - type boolean; - description - "Whether or not the operation start time was - explicitly configured"; - } - leaf schedule-duration { - type uint32; - units "second"; - description - "Duration of a probe for the operation in seconds"; - } - leaf schedule-interval { - type uint32; - units "second"; - description - "Interval between the start times of consecutive - probes, in seconds."; - } - } - - grouping SLA-OPER-OD-OPERATION-SPECIFIC { - description - "Parameters specific to the state of an ondemand - operation"; - leaf ondemand-operation-id { - type uint32; - description "ID of the ondemand operation"; - } - leaf probe-count { - type uint8; - description - "Total number of probes sent during the operation"; - } - } - - grouping SLA-OPER-CFG-OPERATION-SPECIFIC { - description - "Parameters specific to the state of a configured - operation"; - leaf profile-name { - type string; - description "Name of the profile used by the operation"; - } - } - - grouping SLA-OPER-OPERATION-SPECIFIC-OPTS { - description "Parameters specific to the type of SLA operation"; - - container configured-operation-options { - when "../oper-type = 'operation-type-configured'" { - description "../OperType = 'OperationTypeConfigured'"; - } - description "Parameters for a configured operation"; - uses SLA-OPER-CFG-OPERATION-SPECIFIC; - } - - container ondemand-operation-options { - when "../oper-type = 'operation-type-ondemand'" { - description "../OperType = 'OperationTypeOndemand'"; - } - description "Parameters for an ondemand operation"; - uses SLA-OPER-OD-OPERATION-SPECIFIC; - } - leaf oper-type { - type Sla-oper-operation; - description "OperType"; - } - } - - grouping SLA-OPER-OPERATION-STATISTICS { - description "The statistics of an SLA operation"; - - container specific-options { - description "Options specific to the type of operation"; - uses SLA-OPER-OPERATION-SPECIFIC-OPTS; - } - - container operation-schedule { - description "Operation schedule"; - uses SLA-OPER-OPERATION-SCHEDULE; - } - leaf probe-type { - type string; - description "Type of probe used by the operation"; - } - leaf display-short { - type string; - description "Short display name used by the operation"; - } - leaf display-long { - type string; - description "Long display name used by the operation"; - } - leaf flr-calculation-interval { - type uint32; - units "millisecond"; - description - "Interval between FLR calculations for SLM, in - milliseconds"; - } - - list operation-metric { - description "Metrics gathered for the operation"; - uses SLA-OPER-METRIC-STATISTICS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang deleted file mode 100644 index a716ad0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang +++ /dev/null @@ -1,2380 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-cfm-oper-sub2 { - - belongs-to Cisco-IOS-XR-ethernet-cfm-oper { - prefix Cisco-IOS-XR-ethernet-cfm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Cfm-pm-addl-intf-status { - type enumeration { - enum unknown { - value 0; - description "Additional interface status unknown"; - } - enum administratively-down { - value 1; - description - "Interface is explicitly shutdown in - configuration"; - } - enum remote-excessive-errors { - value 2; - description - "Remote interface has exceeded its 802.3 Link - OAM error threshold"; - } - enum local-excessive-errors { - value 3; - description - "Local interface has exceeded its 802.3 Link OAM - error threshold"; - } - } - description "Additional interface status"; - } - typedef Cfm-pm-intf-status { - type enumeration { - enum interface-status-up { - value 1; - description "Interface is up"; - } - enum interface-status-down { - value 2; - description "Interface is down"; - } - enum interface-status-testing { - value 3; - description "Interface is in testing mode"; - } - enum interface-status-unknown { - value 4; - description "Unknown interface status"; - } - enum interface-status-dormant { - value 5; - description "Interface is dormant"; - } - enum interface-status-not-present { - value 6; - description "Interface status not found"; - } - enum interface-status-lower-layer-down { - value 7; - description "Lower layer is down"; - } - } - description "Interface status"; - } - typedef Cfm-pm-port-status { - type enumeration { - enum port-status-blocked { - value 1; - description "Port is STP blocked"; - } - enum port-status-up { - value 2; - description "Port is up"; - } - enum port-status-unknown { - value 3; - description "Unknown port status"; - } - } - description "Port status"; - } - typedef Cfm-pm-rmep-state { - type enumeration { - enum peer-mep-idle { - value 1; - description "Momentary state during reset"; - } - enum peer-mep-start { - value 2; - description - "Loss timer not expired since reset, but no - valid CCM received"; - } - enum peer-mep-failed { - value 3; - description "Loss timer has expired"; - } - enum peer-mep-ok { - value 4; - description - "Loss timer has not expired since last valid CCM"; - } - } - description "State of the Peer MEP state machine"; - } - typedef Cfm-pm-rmep-xc-state { - type enumeration { - enum cross-check-ok { - value 0; - description "Cross-check OK"; - } - enum cross-check-missing { - value 1; - description - "No CCMs received within loss time from peer MEP"; - } - enum cross-check-extra { - value 2; - description - "CCMs received from peer MEP not marked for - cross-check"; - } - } - description "Cross-check state of a peer MEP"; - } - typedef Cfm-pm-ais-receive { - type enumeration { - enum receive-none { - value 0; - description "No signal received"; - } - enum receive-ais { - value 1; - description "Receiving AIS messages"; - } - enum receive-lck { - value 2; - description "Receiving LCK messages"; - } - enum receive-direct { - value 3; - description - "Receiving AIS directly from another MEP on the - same interface"; - } - } - description - "Enumeration of how the MEP is receiving the - signal, directly or via AIS or LCK messages."; - } - typedef Cfm-pm-ais-transmit { - type enumeration { - enum transmit-none { - value 0; - description "AIS not transmitted"; - } - enum transmit-ais { - value 1; - description "AIS transmitted via MIP"; - } - enum transmit-ais-direct { - value 2; - description "AIS signal passed directly to a higher MEP"; - } - } - description - "Enumeration of how the MEP is transmitting AIS, - via a MIP or directly to a higher MEP"; - } - typedef Cfm-pm-mep-defect { - type enumeration { - enum defect-none { - value 0; - description "No defect reported"; - } - enum defect-rdi-ccm { - value 1; - description "Some Peer MEP's CCM has the RDI bit set"; - } - enum defect-ma-cstatus { - value 2; - description - "A Peer MEP port or interface status error has - been reported"; - } - enum defect-remote-ccm { - value 3; - description - "Not receiving valid CCMs from at least one Peer - MEP"; - } - enum defect-error-ccm { - value 4; - description - "Currently receiving invalid CCMs from at least - one Peer MEP"; - } - enum defect-cross-connect-ccm { - value 5; - description - "Currently receiving CCMs from an incorrect - service (MA)"; - } - } - description "Defects that can be reported by a MEP"; - } - typedef Cfm-pm-mep-fng-state { - type enumeration { - enum fng-reset { - value 1; - description "FNG in reset state"; - } - enum fng-defect { - value 2; - description - "FNG has detected but not yet reported a defect"; - } - enum fng-report-defect { - value 3; - description "FNG is in the process of reporting a defect"; - } - enum fng-defect-reported { - value 4; - description "FNG has reported a defect"; - } - enum fng-defect-clearing { - value 5; - description - "No defect present, but the reset timer has not - yet expired"; - } - } - description - "Fault Notification Generation state machine - states"; - } - typedef Cfm-pm-elr-egress-action { - type enumeration { - enum elr-egress-ok { - value 1; - description "OK"; - } - enum elr-egress-down { - value 2; - description "Down"; - } - enum elr-egress-blocked { - value 3; - description "STP Blocked"; - } - enum elr-egress-vid { - value 4; - description "VID Blocked"; - } - enum elr-egress-mac { - value 255; - description "MAC Pruned"; - } - } - description "ELR Egress action"; - } - typedef Cfm-pm-elr-ingress-action { - type enumeration { - enum elr-ingress-ok { - value 1; - description "OK"; - } - enum elr-ingress-down { - value 2; - description "Down"; - } - enum elr-ingress-blocked { - value 3; - description "STP Blocked"; - } - enum elr-ingress-vid { - value 4; - description "VID Blocked"; - } - } - description "ELR Ingress action"; - } - typedef Cfm-pm-elr-relay-action { - type enumeration { - enum elr-relay-hit { - value 1; - description "Target Hit"; - } - enum elr-relay-fdb { - value 2; - description "Filtering database"; - } - enum elr-relay-flood { - value 3; - description "Flood forwarded"; - } - enum elr-relay-drop { - value 4; - description "Dropped"; - } - } - description "ELR relay action"; - } - typedef Cfm-pm-last-hop-fmt { - type enumeration { - enum last-hop-none { - description "No last hop identifier"; - } - enum last-hop-host-name { - description "Last hop identifier is a hostname"; - } - enum last-hop-egress-id { - description "Last hop identifier is an egress ID"; - } - } - description "Last hop identifier format"; - } - typedef Cfm-pm-egress-action { - type enumeration { - enum egress-ok { - value 1; - description "OK"; - } - enum egress-down { - value 2; - description "Down"; - } - enum egress-blocked { - value 3; - description "STP Blocked"; - } - enum egress-vid { - value 4; - description "VID Blocked"; - } - } - description "Egress action"; - } - typedef Cfm-pm-port-id-fmt { - type enumeration { - enum port-id-interface-alias { - value 1; - description "Port ID is an interface alias"; - } - enum port-id-port-component { - value 2; - description "Port ID is a component name"; - } - enum port-id-mac-address { - value 3; - description "Port ID is a MAC address"; - } - enum port-id-network-address { - value 4; - description "Port ID is a network address"; - } - enum port-id-interface-name { - value 5; - description "Port ID is an interface name"; - } - enum port-id-agent-circuit-id { - value 6; - description "Port ID is an agent name"; - } - enum port-id-local { - value 7; - description "Port ID is a local name"; - } - enum port-id-unknown { - value 8; - description "Port ID format unknown"; - } - } - description "Port ID format"; - } - typedef Cfm-pm-ingress-action { - type enumeration { - enum ingress-ok { - value 1; - description "OK"; - } - enum ingress-down { - value 2; - description "Down"; - } - enum ingress-blocked { - value 3; - description "STP Blocked"; - } - enum ingress-vid { - value 4; - description "VID Blocked"; - } - } - description "Ingress action"; - } - typedef Cfm-pm-id-fmt { - type enumeration { - enum id-format-is-string { - value 0; - description "ID format is a string"; - } - enum id-format-is-mac-address { - value 1; - description "ID format is a MAC address"; - } - enum id-format-is-raw-hex { - value 2; - description "ID format is raw hex"; - } - } - description "ID format"; - } - typedef Cfm-pm-chassis-id-fmt { - type enumeration { - enum chassis-id-chassis-component { - value 1; - description "Chassis ID is a component name"; - } - enum chassis-id-interface-alias { - value 2; - description "Chassis ID is an interface alias"; - } - enum chassis-id-port-component { - value 3; - description "Chassis ID is a port component name"; - } - enum chassis-id-mac-address { - value 4; - description "Chassis ID is a MAC address"; - } - enum chassis-id-network-address { - value 5; - description "Chassis ID is a network address"; - } - enum chassis-id-interface-name { - value 6; - description "Chassis ID is an interface name"; - } - enum chassis-id-local { - value 7; - description "Chassis ID is a local name"; - } - enum chassis-id-unknown-type { - value 8; - description "Unknown Chassis ID type"; - } - } - description "Chassis ID type"; - } - typedef Cfm-pm-relay-action { - type enumeration { - enum relay-hit { - value 1; - description "Target Hit"; - } - enum relay-fdb { - value 2; - description "Filtering database"; - } - enum relay-mpdb { - value 3; - description "CCM Learning database"; - } - } - description "LTR relay action"; - } - typedef Cfm-pm-elm-reply-filter { - type enumeration { - enum reply-filter-not-present { - value 0; - description "Reply Filter not present"; - } - enum reply-filter-default { - value 1; - description - "Reply from ports which are not MAC-pruned, - VID-pruned, or STP-blocked"; - } - enum reply-filter-vlan-topology { - value 2; - description - "Reply from ports which are not VID-pruned or - STP-blocked"; - } - enum reply-filter-spanning-tree { - value 3; - description "Reply from ports which are not STP-blocked"; - } - enum reply-filter-all-ports { - value 4; - description "Reply from all ports"; - } - } - description - "Reply filter used for Exploratory Linktrace - operations"; - } - typedef Cfm-pm-elt-delay-model { - type enumeration { - enum delay-model-invalid { - value 0; - description "Not a valid delay model"; - } - enum delay-model-logarithmic { - value 1; - description "Reply using logarithmic delay model"; - } - enum delay-model-constant { - value 2; - description "Reply using constant delay model"; - } - } - description - "Delay model used for Exploratory Linktrace - operations"; - } - typedef Cfm-pm-lt-mode { - type enumeration { - enum cfm-pm-lt-mode-basic { - value 1; - description "Basic IEEE 802.1ag Linktrace"; - } - enum cfm-pm-lt-mode-exploratory { - value 2; - description "Cisco Exploratory Linktrace"; - } - } - description "Type of Linktrace operation"; - } - typedef Cfm-pm-pkt-action { - type enumeration { - enum packet-processed { - value 0; - description "Packet processed successfully"; - } - enum packet-forwarded { - value 1; - description "Packet forwarded"; - } - enum unknown-opcode { - value 2; - description "Packet dropped at a MEP due to unknown opcode"; - } - enum filter-level { - value 3; - description - "Packet dropped due to level/opcode filtering at - a MEP"; - } - enum filter-blocked { - value 4; - description - "Packet dropped because interface is STP blocked"; - } - enum filter-local-mac { - value 5; - description "Packet dropped due to local destination MAC"; - } - enum malformed-ccm-size { - value 6; - description "CCM too short or too long"; - } - enum malformed-ccm-mep-id { - value 7; - description "Invalid MEP-ID"; - } - enum malformed-too-short { - value 8; - description "Packet too short"; - } - enum malformed-destination-mac-unicast { - value 9; - description - "Destination MAC address does not match - interface"; - } - enum malformed-destination-mac-multicast { - value 10; - description "Invalid multicast destination MAC address"; - } - enum malformed-tlv-offset { - value 11; - description - "TLV offset too short or beyond the end of the - packet"; - } - enum malformed-lbm-source-mac { - value 12; - description "Invalid source MAC address for LBM"; - } - enum malformed-ltr-relay-action { - value 13; - description "Unknown LTR relay action"; - } - enum malformed-ltr-reply-tlv { - value 14; - description "LTR has neither reply-ingress or reply-egress"; - } - enum malformed-lt-origin { - value 15; - description "Invalid Linktrace Message origin MAC address"; - } - enum malformed-ltm-target { - value 16; - description "Invalid LTM target MAC address"; - } - enum malformed-source-mac { - value 17; - description "Invalid source MAC address"; - } - enum malformed-header-too-short { - value 18; - description "Packet too short for CFM header"; - } - enum malformed-tlv-header-overrun { - value 19; - description - "TLV header extends beyond the end of the packet"; - } - enum malformed-tlv-overrun { - value 20; - description "TLV extends beyond the end of the packet"; - } - enum malformed-duplicate-sender-id { - value 21; - description "Multiple Sender-ID TLVs found"; - } - enum malformed-duplicate-port-status { - value 22; - description "Multiple Port-status TLVs found"; - } - enum malformed-duplicate-interface-status { - value 23; - description "Multiple Interface-state TLVs found"; - } - enum malformed-wrong-tlv { - value 24; - description "Invalid TLV for this type of packet found"; - } - enum malformed-duplicate-data { - value 25; - description "Multiple Data TLVs found"; - } - enum malformed-duplicate-ltr-egress-id { - value 26; - description "Multiple LTR-Egress-ID TLVs found"; - } - enum malformed-duplicate-reply-ingress { - value 27; - description "Multiple Reply-ingress TLVs found"; - } - enum malformed-duplicate-reply-egress { - value 28; - description "Multiple Reply-egress TLVs found"; - } - enum malformed-duplicate-ltm-egress-id { - value 29; - description "Multiple LTM-Egress-ID TLVs found"; - } - enum malformed-sender-id-size { - value 30; - description "Sender-ID TLV is too short"; - } - enum malformed-chassis-id-size { - value 31; - description - "Sender-ID TLV is too short to contain the - Chassis ID"; - } - enum malformed-mgmt-address-domain-size { - value 32; - description - "Sender-ID TLV is too short to contain the - management address domain"; - } - enum malformed-mgmt-address-size { - value 33; - description - "Sender-ID TLV is too short to contain the - management address"; - } - enum malformed-port-status-size { - value 34; - description "Port-status TLV is too short"; - } - enum malformed-port-status { - value 35; - description "Invalid Port status value"; - } - enum malformed-interface-status-size { - value 36; - description "Interface-status TLV is too short"; - } - enum malformed-interface-status { - value 37; - description "Invalid Interface status value"; - } - enum malformed-organization-specific-tlv-size { - value 38; - description "Organization-specific TLV is too short"; - } - enum malformed-duplicate-mep-name { - value 39; - description "Multiple MEP-name TLVs found"; - } - enum malformed-duplicate-additional-interface-status { - value 40; - description - "Multiple additional-interface-status TLVs found"; - } - enum malformed-ltr-egress-id-size { - value 41; - description "LTR-Egress-ID TLV is too short"; - } - enum malformed-reply-ingress-size { - value 42; - description "Reply-ingress TLV is too short"; - } - enum malformed-ingress-action { - value 43; - description "Invalid ingress-action value"; - } - enum malformed-reply-ingress-mac { - value 44; - description "Reply-ingress TLV has invalid MAC address"; - } - enum malformed-ingress-port-length-size { - value 45; - description - "Reply-ingress TLV is too short to contain the - Port ID type"; - } - enum malformed-ingress-port-id-length { - value 46; - description "Reply-ingress TLV has a zero Port ID length"; - } - enum malformed-ingress-port-id-size { - value 47; - description - "Reply-ingress TLV is too short to contain the - Port ID"; - } - enum malformed-reply-egress-size { - value 48; - description "Reply-egress TLV is too short"; - } - enum malformed-egress-action { - value 49; - description "Invalid egress-action value"; - } - enum malformed-reply-egress-mac { - value 50; - description "Reply-egress TLV has invalid MAC address"; - } - enum malformed-egress-port-length-size { - value 51; - description - "Reply-egress TLV is too short to contain the - Port ID type"; - } - enum malformed-egress-port-id-length { - value 52; - description "Reply-egress TLV has a zero Port ID length"; - } - enum malformed-egress-port-id-size { - value 53; - description - "Reply-egress TLV is too short to contain the - Port ID"; - } - enum malformed-ltm-egress-id-size { - value 54; - description "LTM-Egress_ID TLV is too short"; - } - enum malformed-mep-name-size { - value 55; - description "MEP-name TLV is too short"; - } - enum malformed-mep-name-name-length { - value 56; - description - "MEP-name TLV is too short to contain a MEP name"; - } - enum malformed-additional-interface-status-size { - value 57; - description "Additional-interface-status is too short"; - } - enum malformed-additional-interface-status { - value 58; - description "Invalid additional interface status"; - } - enum malformed-ccm-interval { - value 59; - description "CCM has a zero CCM interval"; - } - enum malformed-mdid-mac-address-length { - value 60; - description - "CCM has a MAC-address MDID but the MDID is the - wrong length"; - } - enum malformed-mdid-length { - value 61; - description "CCM has an invalid MDID length"; - } - enum malformed-sman-length { - value 62; - description "CCM has an invalid Short MA Name length"; - } - enum malformed-sman2-byte-length { - value 63; - description - "CCM has a VID or 16-bit Short MA Name but a - mismatched length"; - } - enum malformed-sman-vpn-id-length { - value 64; - description - "CCM has a VPNID Short MA Name but a mismatched - length"; - } - enum malformed-elr-no-reply-tlv { - value 65; - description "ELR has no ELR Reply TLVs"; - } - enum malformed-separate-elr-reply-egress { - value 66; - description "ELR Reply Egress TLVs not all adjacent"; - } - enum malformed-dcm-destination-multicast { - value 67; - description "DCM has a multicast destination MAC"; - } - enum malformed-dcm-embed-length { - value 68; - description "DCM is too short to contain an Embedded PDU"; - } - enum malformed-dcm-embed-level { - value 69; - description - "DCM Embedded PDU level does not match DCM level"; - } - enum malformed-dcm-embed-version { - value 70; - description - "DCM Embedded PDU version does not match DCM - version"; - } - enum malformed-elr-relay-action { - value 71; - description "Unknown ELR relay action"; - } - enum malformed-elr-tt-ls { - value 73; - description - "Reply Ingress TTL is not one greater than Reply - Egress TTL"; - } - enum malformed-elr-ttl-ingress { - value 74; - description - "Reply Ingress TTL present without ELR Reply - Ingress TLV"; - } - enum malformed-elr-ttl-egress { - value 75; - description - "Reply Egress TTL present without ELR Reply - Egress TLV"; - } - enum malformed-elm-destination-unicast { - value 76; - description "ELM Destination MAC must not be unicast"; - } - enum malformed-elm-egress-id { - value 77; - description "ELM has no LTM Egress ID TLV"; - } - enum malformed-dcm-embed-oui { - value 78; - description "Embedded DCM OUI unrecognized"; - } - enum malformed-dcm-embed-opcode { - value 79; - description "Embedded DCM Opcode is not ELM"; - } - enum malformed-elm-constant-zero { - value 80; - description "ELM Constant Factor is zero"; - } - enum malformed-elr-timeout-zero { - value 81; - description "ELR Next-Hop Timeout is zero"; - } - enum malformed-duplicate-test { - value 82; - description "Multiple Test TLVs found"; - } - enum malformed-dmm-source-mac { - value 83; - description "Invalid source MAC address for DMM"; - } - enum malformed-test-size { - value 84; - description "Test TLV is too short"; - } - enum malformed-dmr-time-stamps { - value 85; - description - "DMR has exactly one of its Rxf and Txb - timestamps unspecified"; - } - enum malformed-dm-time-stamp-fmt { - value 86; - description - "The format of one or more timestamps is invalid"; - } - enum malformed-ais-interval { - value 87; - description - "AIS/LCK has invalid interval value (not 1 - second or 1 minute)"; - } - enum filter-interface-down { - value 88; - description "Packet dropped due to interface being down"; - } - enum filter-forward-standby { - value 89; - description - "Packet dropped - not forwarded because - interface is in standby mode"; - } - enum malformed-sman-icc-based-length { - value 90; - description - "CCM has an ICC-based format Short MA Name but a - mismatched length"; - } - enum filter-foward-issu-secondary { - value 120; - description - "Packet dropped - not forwarded in secondary HA - role"; - } - enum filter-response-standby { - value 121; - description - "Packet dropped - not responded to because - interface is in standby mode"; - } - enum filter-response-issu-secondary { - value 122; - description - "Packet dropped - not responded to in secondary - HA role"; - } - } - description "Action taken for received packet"; - } - - grouping CFM-PM-REMOTE-MEP-STATS { - description "Peer MEP statistics"; - - container last-ccm-received-time { - description "Elapsed time since last CCM received"; - uses CFM-PM-TIMESTAMP; - } - leaf ccms-received { - type uint64; - description "Number of CCMs received"; - } - leaf ccms-wrong-level { - type uint64; - description "Number of CCMs received with an invalid level"; - } - leaf ccms-invalid-maid { - type uint64; - description "Number of CCMs received with an invalid MAID"; - } - leaf ccms-invalid-interval { - type uint64; - description - "Number of CCMs received with an invalid interval"; - } - leaf ccms-invalid-source-mac-address { - type uint64; - description - "Number of CCMs received with an invalid source - MAC address"; - } - leaf ccms-our-mep-id { - type uint64; - description "Number of CCMs received with our MEP ID"; - } - leaf ccms-rdi { - type uint64; - description - "Number of CCMs received with the Remote Defect - Indication bit set"; - } - leaf ccms-out-of-sequence { - type uint64; - description "Number of CCMs received out-of-sequence"; - } - leaf last-ccm-sequence-number { - type uint32; - description "Sequence number of last CCM received"; - } - } - - grouping CFM-PM-MEP-NAME { - description "MEP name"; - leaf name { - type string; - description "MEP name"; - } - } - - grouping CFM-PM-CCM-HDR-V2 { - description "CCM frame header"; - - container mdid { - description "MDID"; - uses CFM-BAG-MDID-V2; - } - - container short-ma-name { - description "Short MA Name"; - uses CFM-BAG-SMAN-V2; - } - leaf level { - type Cfm-bag-md-level; - description "MD level"; - } - leaf version { - type uint8; - description "Version"; - } - leaf interval { - type Cfm-bag-ccm-interval; - description "CCM interval"; - } - leaf rdi { - type boolean; - description "Remote defect indicated"; - } - leaf sequence-number { - type uint32; - description "CCM sequence number"; - } - leaf mep-id { - type uint16; - description "MEP ID"; - } - leaf mdid-format { - type uint8; - description "MDID Format"; - } - leaf short-ma-name-format { - type uint8; - description "Short MA Name format"; - } - } - - grouping CFM-PM-CCM-V2 { - description "Continuity check message (CCM)"; - - container header { - description "Frame header"; - uses CFM-PM-CCM-HDR-V2; - } - - container sender-id { - description "Sender ID TLV"; - uses CFM-PM-SENDER-ID; - } - - container mep-name { - description "MEP name"; - uses CFM-PM-MEP-NAME; - } - leaf port-status { - type Cfm-pm-port-status; - description "Port status"; - } - leaf interface-status { - type Cfm-pm-intf-status; - description "Interface status"; - } - leaf additional-interface-status { - type Cfm-pm-addl-intf-status; - description "Additional interface status"; - } - leaf raw-data { - type yang:hex-string; - description "Undecoded frame"; - } - - list organization-specific-tlv { - description "Organizational-specific TLVs"; - uses CFM-PM-ORG-SPEC-TLV; - } - - list unknown-tlv { - description "Unknown TLVs"; - uses CFM-PM-UNKNOWN-TLV; - } - } - - grouping CFM-PM-REMOTE-MEP-V2 { - description "Peer maintenance endpoint (MEP)"; - - container error-state { - description "Error state"; - uses CFM-PM-RMEP-ERR-STATE; - } - - container last-up-down-time { - description - "Elapsed time since peer MEP became active or - timed out"; - uses CFM-PM-TIMESTAMP; - } - - container last-ccm-received { - description "Last CCM received from the peer MEP"; - uses CFM-PM-CCM-V2; - } - - container statistics { - description "Peer MEP statistics"; - uses CFM-PM-REMOTE-MEP-STATS; - } - leaf mep-id { - type uint16; - description "MEP ID"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - leaf cross-check-state { - type Cfm-pm-rmep-xc-state; - description "Cross-check state"; - } - leaf peer-mep-state { - type Cfm-pm-rmep-state; - description "State of the peer MEP state machine"; - } - leaf ccm-offload { - type Cfm-bag-ccm-offload; - description "Offload status of received CCM handling"; - } - } - - grouping CFM-PM-REMOTE-MEPS-V2-BAG { - description "Peer MEPs table entry"; - - container peer-mep { - description "Peer MEP"; - uses CFM-PM-REMOTE-MEP-V2; - } - leaf domain-xr { - type string; - description "Maintenance domain name"; - } - leaf service-xr { - type string; - description "Service name"; - } - leaf level { - type Cfm-bag-md-level; - description "Maintenance level"; - } - leaf mep-id { - type uint16; - description "MEP ID"; - } - leaf interface-xr { - type xr:Interface-name; - description "Interface"; - } - leaf mep-direction { - type Cfm-bag-direction; - description "MEP facing direction"; - } - leaf standby { - type boolean; - description - "The local MEP is on an interface in standby mode"; - } - } - - grouping CFM-PM-MEP-AIS-STATS { - description "Local MEP AIS information"; - - container sending-start { - description "Time elapsed since AIS sending started"; - uses CFM-PM-TIMESTAMP; - } - - container receiving-start { - description "Time elapsed since AIS receiving started"; - uses CFM-PM-TIMESTAMP; - } - leaf level { - type Cfm-bag-md-level; - description "AIS transmission level"; - } - leaf interval { - type Cfm-bag-ais-interval; - description "AIS transmission interval"; - } - leaf sending-ais { - type Cfm-pm-ais-transmit; - description "Details of how AIS is being transmitted"; - } - leaf receiving-ais { - type Cfm-pm-ais-receive; - description "Details of how the signal is being received"; - } - leaf last-interval { - type Cfm-bag-ais-interval; - description "The interval of the last received AIS packet"; - } - leaf last-mac-address { - type Mac-address; - description - "Source MAC address of the last received AIS - packet"; - } - } - - grouping CFM-PM-MEP-STATS { - description "Local MEP statistics"; - leaf ccms-sent { - type uint64; - description "Number of CCMs sent"; - } - leaf ccms-received { - type uint64; - description "Number of CCMs received"; - } - leaf ccms-out-of-sequence { - type uint64; - description "Number of CCMs received out-of-sequence"; - } - leaf ccms-discarded { - type uint64; - description - "Number of CCMs discarded because maximum MEPs - limit was reached"; - } - leaf lb-ms-sent { - type uint64; - description "Number of LBMs sent"; - } - leaf lb-rs-sent { - type uint64; - description "Number of LBRs sent"; - } - leaf lb-rs-received { - type uint64; - description "Number of LBRs received"; - } - leaf lb-rs-out-of-sequence { - type uint64; - description "Number of LBRs received out-of-sequence"; - } - leaf lb-rs-bad-data { - type uint64; - description - "Number of LBRs received with non-matching - user-specified data"; - } - leaf lb-ms-received { - type uint64; - description "Number of LBMs received"; - } - leaf lt-rs-received-unexpected { - type uint64; - description "Number of unexpected LTRs received"; - } - leaf ai-ss-sent { - type uint64; - description "Number of AIS messages sent"; - } - leaf ai-ss-received { - type uint64; - description "Number of AIS messages received"; - } - leaf lc-ks-received { - type uint64; - description "Number of LCK messages received"; - } - leaf dm-ms-sent { - type uint64; - description "Number of DMM messages sent"; - } - leaf dm-ms-received { - type uint64; - description "Number of DMM messages received"; - } - leaf dm-rs-sent { - type uint64; - description "Number of DMR messages sent"; - } - leaf dm-rs-received { - type uint64; - description "Number of DMR messages received"; - } - leaf sl-ms-sent { - type uint64; - description "Number of SLM messages sent"; - } - leaf sl-ms-received { - type uint64; - description "Number of SLM messages received"; - } - leaf sl-rs-sent { - type uint64; - description "Number of SLR messages sent"; - } - leaf sl-rs-received { - type uint64; - description "Number of SLR messages received"; - } - leaf lm-ms-sent { - type uint64; - description "Number of LMM messages sent"; - } - leaf lm-ms-received { - type uint64; - description "Number of LMM messages received"; - } - leaf lm-rs-sent { - type uint64; - description "Number of LMR messages sent"; - } - leaf lm-rs-received { - type uint64; - description "Number of LMR messages received"; - } - leaf bn-ms-received { - type uint64; - description "Number of BNM messages received"; - } - leaf bn-ms-discarded { - type uint64; - description "Number of BNM messages discarded"; - } - } - - grouping CFM-PM-MEP-STATS-BAG { - description "Local MEP table entry"; - - container statistics { - description "MEP statistics"; - uses CFM-PM-MEP-STATS; - } - - container ais-statistics { - description "MEP AIS statistics"; - uses CFM-PM-MEP-AIS-STATS; - } - - container defects { - description "Defects detected from peer MEPs"; - uses CFM-PM-DEFECTS; - } - leaf domain-xr { - type string; - description "Maintenance domain name"; - } - leaf service-xr { - type string; - description "Service name"; - } - leaf level { - type Cfm-bag-md-level; - description "Maintenance level"; - } - leaf mep-id-xr { - type uint16; - description "MEP ID"; - } - leaf interface-xr { - type xr:Interface-name; - description "Interface"; - } - leaf interface-state { - type string; - description "IM Interface state"; - } - leaf interworking-state { - type Cfm-bag-iw-state; - description "Interface interworking state"; - } - leaf stp-state { - type Cfm-bag-stp-state; - description "STP state"; - } - leaf mep-direction { - type Cfm-bag-direction; - description "MEP facing direction"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - leaf peer-meps-detected { - type uint32; - description "Number of peer MEPs detected"; - } - leaf peer-meps-with-errors-detected { - type uint32; - description "Number of peer MEPs detected with errors"; - } - leaf remote-defect { - type boolean; - description "Remote defect indicated"; - } - leaf fault-notification-state { - type Cfm-pm-mep-fng-state; - description "Fault Notification Generation state"; - } - leaf ccm-generation-enabled { - type boolean; - description "CCM generation enabled"; - } - leaf ccm-interval { - type Cfm-bag-ccm-interval; - description "The interval between CCMs"; - } - leaf ccm-offload { - type Cfm-bag-ccm-offload; - description "Offload status of CCM processing"; - } - leaf highest-defect { - type Cfm-pm-mep-defect; - description - "Highest-priority defect present since last FNG - reset"; - } - leaf rdi-defect { - type boolean; - description "A peer MEP RDI defect has been reported"; - } - leaf mac-status-defect { - type boolean; - description - "A peer MEP port or interface status error has - been reported"; - } - leaf peer-mep-ccm-defect { - type boolean; - description "A peer MEP CCM error has been reported"; - } - leaf error-ccm-defect { - type boolean; - description "A CCM error has been reported"; - } - leaf cross-connect-ccm-defect { - type boolean; - description "A cross-connect CCM error has been reported"; - } - leaf next-lbm-id { - type uint32; - description - "Next Transaction ID to be sent in a Loopback - Message"; - } - leaf next-ltm-id { - type uint32; - description - "Next Transaction ID to be sent in a Linktrace - Message"; - } - leaf cos { - type uint8; - description - "CoS bits the MEP will use for sent packets, if - configured"; - } - leaf efd-triggered { - type boolean; - description "EFD triggered on the interface"; - } - leaf standby { - type boolean; - description - "The local MEP is on an interface in standby mode"; - } - leaf hairpin { - type boolean; - description - "MEP is on a sub-interface in the same - bridge-domain and on the same trunk interface as - another sub-interface"; - } - leaf defects-ignored { - type boolean; - description - "Defects present but ignored due to 'report - defects' configuration"; - } - } - - grouping CFM-PM-ELR-REPLY-EGRESS { - description "ELR Reply egress TLV"; - - container last-egress-id { - description "Last Egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - - container next-egress-id { - description "Next Egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - - container port-id { - description "Port ID"; - uses CFM-PM-PORT-ID; - } - leaf action { - type Cfm-pm-elr-egress-action; - description "Reply egress action"; - } - leaf mac-address { - type Mac-address; - description "MAC address of egress interface"; - } - } - - grouping CFM-PM-ELR-REPLY-INGRESS { - description "ELR Reply ingress TLV"; - - container last-egress-id { - description "Last egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - - container next-egress-id { - description "Next egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - - container port-id { - description "Port ID"; - uses CFM-PM-PORT-ID; - } - leaf action { - type Cfm-pm-elr-ingress-action; - description "ELR Reply ingress action"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - } - - grouping CFM-PM-ELR-HDR { - description "ELR frame header"; - leaf level { - type Cfm-bag-md-level; - description "MD level"; - } - leaf version { - type uint8; - description "Version"; - } - leaf forwarded { - type boolean; - description "ELR was forwarded"; - } - leaf terminal-mep { - type boolean; - description "Terminal MEP reached"; - } - leaf reply-filter-unknown { - type boolean; - description "Reply Filter unrecognized"; - } - leaf transaction-id { - type uint32; - description "Transaction ID"; - } - leaf ttl { - type uint8; - description "TTL"; - } - leaf relay-action { - type Cfm-pm-elr-relay-action; - description "Relay action"; - } - leaf next-hop-timeout { - type uint32; - units "second"; - description "Next Hop Timeout, in seconds"; - } - leaf delay-model { - type Cfm-pm-elt-delay-model; - description "Delay Model"; - } - } - - grouping CFM-PM-ELR { - description "Exploratory Linktrace Reply (ELR) message "; - - container header { - description "Frame header"; - uses CFM-PM-ELR-HDR; - } - - container sender-id { - description "Sender ID TLV"; - uses CFM-PM-SENDER-ID; - } - - container reply-ingress { - description "Reply ingress TLV"; - uses CFM-PM-ELR-REPLY-INGRESS; - } - - container reply-egress { - description "Reply egress TLV"; - uses CFM-PM-ELR-REPLY-EGRESS; - } - - container last-hop { - description "Last hop ID"; - uses CFM-PM-LAST-HOP; - } - leaf raw-data { - type yang:hex-string; - description "Undecoded frame"; - } - - list organization-specific-tlv { - description "Organizational-specific TLVs"; - uses CFM-PM-ORG-SPEC-TLV; - } - - list unknown-tlv { - description "Unknown TLVs"; - uses CFM-PM-UNKNOWN-TLV; - } - } - - grouping CFM-PM-LAST-HOP { - description "Last hop type"; - - container egress-id { - when "../last-hop-format = 'last-hop-egress-id'" { - description "../LastHopFormat = 'LastHopEgressID'"; - } - description "Egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - leaf last-hop-format { - type Cfm-pm-last-hop-fmt; - description "LastHopFormat"; - } - leaf host-name { - when "../last-hop-format = 'last-hop-host-name'" { - description "../LastHopFormat = 'LastHopHostname'"; - } - type Cfm-bag-optional-string; - description "Hostname"; - } - } - - grouping CFM-PM-UNKNOWN-TLV { - description "Unknown TLV"; - leaf typecode { - type uint8; - description "Type code of TLV"; - } - leaf value { - type yang:hex-string; - description "Binary data in TLV"; - } - } - - grouping CFM-PM-ORG-SPEC-TLV { - description "Organizational-specific TLV"; - leaf oui { - type yang:hex-string; - description "Organizationally-unique ID"; - } - leaf subtype { - type uint8; - description "Subtype of TLV"; - } - leaf value { - type yang:hex-string; - description "Binary data in TLV"; - } - } - - grouping CFM-PM-REPLY-EGRESS { - description "Reply egress TLV"; - - container port-id { - description "Port ID"; - uses CFM-PM-PORT-ID; - } - leaf action { - type Cfm-pm-egress-action; - description "Reply egress action"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - } - - grouping CFM-PM-PORT-ID-VAL { - description "Port ID Value"; - leaf port-id-format { - type Cfm-pm-id-fmt; - description "PortIDFormat"; - } - leaf port-id-string { - when "../port-id-format = 'id-format-is-string'" { - description "../PortIDFormat = 'IDFormatIsString'"; - } - type Cfm-bag-optional-string; - description "Port ID String"; - } - leaf port-id-mac { - when "../port-id-format = 'id-format-is-mac-address'" { - description "../PortIDFormat = 'IDFormatIsMACAddress'"; - } - type Mac-address; - description "Port ID MAC Address"; - } - leaf port-id-raw { - when "../port-id-format != 'id-format-is-string' and"+ - " ../port-id-format != 'id-format-is-mac-address'" { - description - "../PortIDFormat != 'IDFormatIsString' and . - ./PortIDFormat != 'IDFormatIsMACAddress'"; - } - type Cfm-bag-optional-hex-data; - description "Raw Port ID"; - } - } - - grouping CFM-PM-PORT-ID { - description "Port ID"; - - container port-id-value { - description "Port ID (Current)"; - uses CFM-PM-PORT-ID-VAL; - } - leaf port-id-type { - type Cfm-pm-port-id-fmt; - description "Port ID type"; - } - leaf port-id-type-value { - type uint8; - description "Port ID type value"; - } - leaf port-id { - type yang:hex-string; - description "Port ID (Deprecated)"; - } - } - - grouping CFM-PM-REPLY-INGRESS { - description "Reply ingress TLV"; - - container port-id { - description "Port ID"; - uses CFM-PM-PORT-ID; - } - leaf action { - type Cfm-pm-ingress-action; - description "Reply ingress action"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - } - - grouping CFM-PM-EGRESS-ID-TYPE { - description "Egress ID"; - leaf unique-id { - type uint16; - description "Unique ID"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - } - - grouping CFM-PM-LTR-EGRESS-ID { - description "LTR Egress ID TLV"; - - container last-egress-id { - description "Last egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - - container next-egress-id { - description "Next egress ID"; - uses CFM-PM-EGRESS-ID-TYPE; - } - } - - grouping CFM-PM-CHASSIS-ID-VAL { - description "Chassis ID Value"; - leaf chassis-id-format { - type Cfm-pm-id-fmt; - description "ChassisIDFormat"; - } - leaf chassis-id-string { - when "../chassis-id-format = 'id-format-is-string'" { - description "../ChassisIDFormat = 'IDFormatIsString'"; - } - type Cfm-bag-optional-string; - description "Chassis ID String"; - } - leaf chassis-id-mac { - when "../chassis-id-format = 'id-format-is-mac-address'" { - description "../ChassisIDFormat = 'IDFormatIsMACAddress'"; - } - type Mac-address; - description "Chassis ID MAC Address"; - } - leaf chassis-id-raw { - when "../chassis-id-format != 'id-format-is-string' and"+ - " ../chassis-id-format != 'id-format-is-mac-address'" { - description - "../ChassisIDFormat != 'IDFormatIsString' and . - ./ChassisIDFormat != 'IDFormatIsMACAddress'"; - } - type Cfm-bag-optional-hex-data; - description "Raw Chassis ID"; - } - } - - grouping CFM-PM-CHASSIS-ID { - description "Chassis ID"; - - container chassis-id-value { - description "Chassis ID (Current)"; - uses CFM-PM-CHASSIS-ID-VAL; - } - leaf chassis-id-type { - type Cfm-pm-chassis-id-fmt; - description "Chassis ID Type"; - } - leaf chassis-id-type-value { - type uint8; - description "Chassis ID Type"; - } - leaf chassis-id { - type yang:hex-string; - description "Chassis ID (Deprecated)"; - } - } - - grouping CFM-PM-SENDER-ID { - description "Sender ID TLV"; - - container chassis-id { - description "Chassis ID"; - uses CFM-PM-CHASSIS-ID; - } - leaf management-address-domain { - type yang:hex-string; - description "Management address domain"; - } - leaf management-address { - type yang:hex-string; - description "Management address"; - } - } - - grouping CFM-PM-LTR-HDR { - description "LTR frame header"; - leaf level { - type Cfm-bag-md-level; - description "MD level"; - } - leaf version { - type uint8; - description "Version"; - } - leaf use-fdb-only { - type boolean; - description "Use filtering DB only"; - } - leaf forwarded { - type boolean; - description "LTR was forwarded"; - } - leaf terminal-mep { - type boolean; - description "Terminal MEP reached"; - } - leaf transaction-id { - type uint32; - description "Transaction ID"; - } - leaf ttl { - type uint8; - description "TTL"; - } - leaf relay-action { - type Cfm-pm-relay-action; - description "Relay action"; - } - } - - grouping CFM-PM-LTR { - description "Linktrace reply (LTR) message "; - - container header { - description "Frame header"; - uses CFM-PM-LTR-HDR; - } - - container sender-id { - description "Sender ID TLV"; - uses CFM-PM-SENDER-ID; - } - - container egress-id { - description "Egress ID TLV"; - uses CFM-PM-LTR-EGRESS-ID; - } - - container reply-ingress { - description "Reply ingress TLV"; - uses CFM-PM-REPLY-INGRESS; - } - - container reply-egress { - description "Reply egress TLV"; - uses CFM-PM-REPLY-EGRESS; - } - - container last-hop { - description "Last hop ID"; - uses CFM-PM-LAST-HOP; - } - leaf raw-data { - type yang:hex-string; - description "Undecoded frame"; - } - - list organization-specific-tlv { - description "Organizational-specific TLVs"; - uses CFM-PM-ORG-SPEC-TLV; - } - - list unknown-tlv { - description "Unknown TLVs"; - uses CFM-PM-UNKNOWN-TLV; - } - } - - grouping CFM-PM-MEP-TR-CACHE-BAG { - description "Traceroute cache table entry"; - - container traceroute-information { - description "Information about the traceroute operation"; - uses CFM-PM-LT-INFO; - } - leaf replies-dropped { - type uint32; - description "Count of ignored replies for this request"; - } - - list linktrace-reply { - description "Received linktrace replies"; - uses CFM-PM-LTR; - } - - list exploratory-linktrace-reply { - description "Received exploratory linktrace replies"; - uses CFM-PM-ELR; - } - } - - grouping CFM-PM-LT-OPTS-EXPLORATORY { - description "options for an Exploratory Linktrace"; - leaf delay-model { - type Cfm-pm-elt-delay-model; - description "Delay model for delay calculations"; - } - leaf delay-constant-factor { - type uint32; - description "Constant Factor for delay calculations"; - } - leaf reply-filter { - type Cfm-pm-elm-reply-filter; - description "Reply Filtering mode used by responders"; - } - } - - grouping CFM-PM-LT-OPTS-BASIC { - description "Options for a basic IEEE 802.1ag Linktrace"; - leaf is-auto { - type boolean; - description "Traceroute was initiated automatically"; - } - leaf fdb-only { - type boolean; - description - "Only use the Filtering Database for forwarding - lookups"; - } - } - - grouping CFM-PM-LT-OPTS { - description "Options affecting the behavior of the traceroute"; - - container basic-options { - when "../mode = 'cfm-pm-lt-mode-basic'" { - description "../Mode = 'CFM_PM_LT_MODE_BASIC'"; - } - description "Options for a basic IEEE 802.1ag Linktrace"; - uses CFM-PM-LT-OPTS-BASIC; - } - - container exploratory-options { - when "../mode = 'cfm-pm-lt-mode-exploratory'" { - description "../Mode = 'CFM_PM_LT_MODE_EXPLORATORY'"; - } - description "Options for an Exploratory Linktrace"; - uses CFM-PM-LT-OPTS-EXPLORATORY; - } - leaf mode { - type Cfm-pm-lt-mode; - description "Mode"; - } - } - - grouping CFM-PM-LT-INFO { - description "Information about a traceroute request"; - - container options { - description "Options affecting traceroute behavior"; - uses CFM-PM-LT-OPTS; - } - leaf domain { - type string; - description "Maintenance domain name"; - } - leaf service { - type string; - description "Service name"; - } - leaf level { - type Cfm-bag-md-level; - description "Maintenance level"; - } - leaf source-mep-id { - type uint16; - description "Source MEP ID"; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface"; - } - leaf source-mac-address { - type Mac-address; - description "Source MAC address"; - } - leaf target-mac-address { - type Mac-address; - description "Target MAC address"; - } - leaf directed-mac-address { - type Mac-address; - description "Directed MAC address"; - } - leaf target-mep-id { - type uint16; - description "Target MEP ID"; - } - leaf timestamp { - type uint64; - units "second"; - description "Timestamp of initiation time (seconds)"; - } - leaf ttl { - type uint8; - description "Time to live"; - } - leaf transaction-id { - type uint32; - description "Transaction ID"; - } - } - - grouping CFM-PM-MEP-INCOMPLETE-TR-BAG { - description "Local MEP incomplete traceroute table entry"; - - container traceroute-information { - description "Information about the traceroute operation"; - uses CFM-PM-LT-INFO; - } - leaf time-left { - type uint64; - units "second"; - description - "Time (in seconds) before the traceroute - completes"; - } - } - - grouping CFM-PM-CLDB-BAG { - description - "Continuity check message learning database table - entry"; - leaf domain-xr { - type string; - description "Maintenance domain name"; - } - leaf level { - type Cfm-bag-md-level; - description "Maintenance level"; - } - leaf service-xr { - type string; - description "Maintenance association name"; - } - leaf source-mac-address { - type Mac-address; - description "Source MAC address"; - } - leaf ingress-interface { - type uint32; - description "The XID of the ingress interface for the CCM"; - } - leaf stale { - type boolean; - description - "The XID is stale and may have been reused for a - different interface"; - } - leaf ingress-interface-string { - type string; - description - "String representation of the Bridge Domain or - Cross-Connect associated with the ingress XID"; - } - } - - grouping CFM-PM-EFP-STATS { - description "EFP statistics"; - leaf malformed-packets { - type uint64; - description - "Number of malformed packets received at this EFP"; - } - leaf dropped-packets { - type uint64; - description "Number of packets dropped at this EFP"; - } - leaf last-malformed-opcode { - type Cfm-bag-opcode; - description "Opcode for last malformed packet"; - } - leaf last-malformed-reason { - type Cfm-pm-pkt-action; - description "Reason last malformed packet was malformed"; - } - } - - grouping CFM-PM-EFP-STATS-BAG { - description "Local interface statistics table entry"; - - container statistics { - description "EFP statistics"; - uses CFM-PM-EFP-STATS; - } - leaf interface-xr { - type xr:Interface-name; - description "Interface"; - } - } - - grouping CFM-PM-TIMESTAMP { - description "Timestamp"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping CFM-PM-RMEP-ERR-STATE { - description "Error state of a Peer MEP"; - leaf loss-threshold-exceeded { - type boolean; - description "Timed out (loss threshold exceeded)"; - } - leaf invalid-level { - type boolean; - description "Invalid level"; - } - leaf invalid-maid { - type boolean; - description "Invalid MAID"; - } - leaf invalid-ccm-interval { - type boolean; - description "Invalid CCM interval"; - } - leaf received-our-mac { - type boolean; - description "Loop detected (our MAC address received)"; - } - leaf received-our-mep-id { - type boolean; - description "Configuration Error (our MEP ID received)"; - } - leaf received-rdi { - type boolean; - description "Remote defection indication received"; - } - } - - grouping CFM-PM-DEFECTS { - description "Defects detected from peer MEPs"; - - container remote-meps-defects { - description "Defects detected from remote MEPs"; - uses CFM-PM-RMEP-ERR-STATE; - } - leaf ais-received { - type boolean; - description "AIS or LCK received"; - } - leaf peer-meps-that-timed-out { - type uint32; - description "Number of peer MEPs that have timed out"; - } - leaf missing { - type uint32; - description "Number of missing peer MEPs"; - } - leaf auto-missing { - type uint32; - description "Number of missing auto cross-check MEPs"; - } - leaf unexpected { - type uint32; - description "Number of unexpected peer MEPs"; - } - leaf local-port-status { - type boolean; - description "The local port or interface is down"; - } - leaf peer-port-status { - type boolean; - description "A peer port or interface is down"; - } - } - - grouping CFM-PM-AIS-STATS { - description "AIS statistics"; - - container defects { - description "Defects detected"; - uses CFM-PM-DEFECTS; - } - - container last-started { - description "Time elapsed since sending last started"; - uses CFM-PM-TIMESTAMP; - } - leaf direction { - type Cfm-bag-direction; - description "Direction of AIS packets"; - } - leaf lowest-level { - type Cfm-bag-md-level; - description "Level of the lowest MEP transmitting AIS"; - } - leaf transmission-level { - type Cfm-bag-md-level; - description "Level that AIS packets are transmitted on"; - } - leaf transmission-interval { - type Cfm-bag-ais-interval; - description "Interval at which AIS packets are transmitted"; - } - leaf sent-packets { - type uint32; - description - "Total number of packets sent by the transmitting - MEP"; - } - leaf-list via-level { - type Cfm-bag-md-level; - description "Levels of other MEPs receiving AIS"; - } - } - - grouping CFM-PM-EFP-AIS-BAG { - description "Local interface AIS table entry"; - - container statistics { - description "AIS statistics"; - uses CFM-PM-AIS-STATS; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf interface-state { - type string; - description "IM Interface state"; - } - leaf interworking-state { - type Cfm-bag-iw-state; - description "Interface interworking state"; - } - leaf stp-state { - type Cfm-bag-stp-state; - description "STP state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang deleted file mode 100644 index b44bcdf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang +++ /dev/null @@ -1,870 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-cfm-oper-sub3 { - - belongs-to Cisco-IOS-XR-ethernet-cfm-oper { - prefix Cisco-IOS-XR-ethernet-cfm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Cfm-bag-sman-fmt { - type enumeration { - enum sman-vlan-id { - value 1; - description "Short MA Name is a 12-bit VLAN-ID"; - } - enum sman-string { - value 2; - description "Short MA Name is a character string"; - } - enum sman-uint16 { - value 3; - description "Short MA Name is a 16-bit unsigned integer"; - } - enum sman-vpn-id { - value 4; - description "Short MA Name is a global VPN identifier"; - } - enum sman-icc { - value 32; - description "Short MA Name uses the ICC-based format"; - } - enum sman-unknown { - value 33; - description "Unknown Short MA Name format"; - } - } - description "Short MA Name format"; - } - typedef Cfm-bag-mdid-fmt { - type enumeration { - enum mdid-null { - value 1; - description "MDID is explicity NULL"; - } - enum mdid-dns-like { - value 2; - description "MDID is based on a DNS name"; - } - enum mdid-mac-address { - value 3; - description "MDID is a (MAC address, integer) pair"; - } - enum mdid-string { - value 4; - description "MDID is a character string"; - } - enum mdid-unknown { - value 5; - description "Unknown MDID format"; - } - } - description "CFM MDID format"; - } - typedef Cfm-bag-ccm-offload { - type enumeration { - enum offload-none { - description "CCM processing has not been offloaded"; - } - enum offload-software { - description "CCM processing has been offloaded to software"; - } - enum offload-hardware { - description "CCM processing has been offloaded to hardware"; - } - } - description "Offload status of CCM processing"; - } - typedef Cfm-bag-optional-hex-data { - type yang:hex-string; - description "Hex binary data which may be optionally present."; - } - typedef Cfm-bag-optional-string { - type string; - description "String which may be optionally present."; - } - typedef Cfm-bag-ccm-interval { - type enumeration { - enum interval-none { - value 0; - description "Invalid CCM interval"; - } - enum interval3-3ms { - value 1; - description "Interval of 3.3ms"; - } - enum interval10ms { - value 2; - description "Interval of 10ms"; - } - enum interval100ms { - value 3; - description "Interval of 100ms"; - } - enum interval1s { - value 4; - description "Interval of 1s"; - } - enum interval10s { - value 5; - description "Interval of 10s"; - } - enum interval1m { - value 6; - description "Interval of 1 min"; - } - enum interval10m { - value 7; - description "Interval of 10 mins"; - } - } - description "CFM CCM intervals"; - } - typedef Cfm-bag-bdid-fmt { - type enumeration { - enum invalid { - value 0; - description "Invalid BDID identifier format"; - } - enum bd-id { - value 1; - description "Identifier is a bridge domain ID"; - } - enum xc-p2p-id { - value 2; - description "Identifier is a P2P cross-connect ID"; - } - enum xc-mp2mp-id { - value 3; - description "Identifier is a MP2MP cross-connect ID"; - } - enum fxc-vlan-aware-id { - value 4; - description - "Identifier is a VLAN-aware flexible - cross-connect ID"; - } - enum fxc-vlan-unaware-id { - value 5; - description - "Identifier is a VLAN-unaware flexible - cross-connect ID"; - } - enum down-only { - value 6; - description "Identifier is a maintenance association name"; - } - } - description "Bridge domain identifier format"; - } - typedef Cfm-ma-mp-variety { - type enumeration { - enum mip { - description "MIP"; - } - enum up-mep { - description "Up MEP"; - } - enum downmep { - description "Down MEP"; - } - enum unknown-mep { - description "Unknown MEP"; - } - } - description "CFM MA Maintenance Point varieties"; - } - typedef Mac-address { - type yang:mac-address; - description "MAC address type"; - } - typedef Cfm-bag-issu-role { - type enumeration { - enum unknown { - value 0; - description "Unknown"; - } - enum primary { - value 1; - description "Primary"; - } - enum secondary { - value 2; - description "Secondary"; - } - } - description "CFM ISSU role"; - } - typedef Cfm-bag-opcode { - type enumeration { - enum reserved { - value 0; - description "Reserved"; - } - enum ccm { - value 1; - description "Continuity Check"; - } - enum lbr { - value 2; - description "Loopback Reply"; - } - enum lbm { - value 3; - description "Loopback Message"; - } - enum ltr { - value 4; - description "Linktrace Reply"; - } - enum ltm { - value 5; - description "Linktrace Message"; - } - } - description "CFM Opcode"; - } - typedef Cfm-bag-ais-interval { - type enumeration { - enum ais-interval-none { - value 0; - description "Invalid AIS interval"; - } - enum ais-interval1s { - value 4; - description "Interval of 1s"; - } - enum ais-interval1m { - value 6; - description "Interval of 1 min"; - } - } - description "CFM AIS intervals"; - } - typedef Cfm-bag-md-level { - type enumeration { - enum level0 { - value 0; - description "CFM level 0"; - } - enum level1 { - value 1; - description "CFM level 1"; - } - enum level2 { - value 2; - description "CFM level 2"; - } - enum level3 { - value 3; - description "CFM level 3"; - } - enum level4 { - value 4; - description "CFM level 4"; - } - enum level5 { - value 5; - description "CFM level 5"; - } - enum level6 { - value 6; - description "CFM level 6"; - } - enum level7 { - value 7; - description "CFM level 7"; - } - enum level-invalid { - value 8; - description "Invalid CFM level"; - } - } - description "CFM level"; - } - typedef Cfm-bag-direction { - type enumeration { - enum direction-up { - value 0; - description "Up"; - } - enum direction-down { - value 1; - description "Down"; - } - enum direction-invalid { - value 2; - description "Invalid direction"; - } - } - description "MEP direction"; - } - typedef Cfm-bag-stp-state { - type enumeration { - enum stp-up { - description "Interface is UP"; - } - enum stp-blocked { - description "Interface is STP-blocked"; - } - enum stp-unknown { - description "Unknown Interface STP state"; - } - } - description "CFM STP state"; - } - typedef Cfm-bag-iw-state { - type enumeration { - enum interworking-up { - description "Interface is UP"; - } - enum interworking-test { - description "Interface is in TEST mode"; - } - } - description "CFM Interworking state"; - } - - grouping CFM-BAG-SMAN-VPNID-NAME { - description "Short MA Name VPN ID name"; - leaf oui { - type uint32; - description "VPN authority organizationally-unique ID"; - } - leaf index { - type uint32; - description "VPN index"; - } - } - - grouping CFM-BAG-SMAN-V2 { - description "Short MA Name types"; - - container vpn-id-name { - when "../short-ma-name-format-value = 'sman-vpn-id'" { - description "../ShortMANameFormatValue = 'SMAN_VPN_ID'"; - } - description "VPN ID name"; - uses CFM-BAG-SMAN-VPNID-NAME; - } - leaf short-ma-name-format-value { - type Cfm-bag-sman-fmt; - description "ShortMANameFormatValue"; - } - leaf vlan-id-name { - when "../short-ma-name-format-value = 'sman-vlan-id'" { - description "../ShortMANameFormatValue = 'SMAN_VLAN_ID'"; - } - type uint16; - description "VLAN ID name"; - } - leaf string-name { - when "../short-ma-name-format-value = 'sman-string'" { - description "../ShortMANameFormatValue = 'SMANString'"; - } - type Cfm-bag-optional-string; - description "String name"; - } - leaf integer-name { - when "../short-ma-name-format-value = 'sman-uint16'" { - description "../ShortMANameFormatValue = 'SMAN_UINT16'"; - } - type uint16; - description "Unsigned integer name"; - } - leaf icc-based { - when "../short-ma-name-format-value = 'sman-icc'" { - description "../ShortMANameFormatValue = 'SMAN_ICC'"; - } - type Cfm-bag-optional-string; - description "ICC-based format"; - } - leaf short-ma-name-data { - when "../short-ma-name-format-value = 'sman-unknown'" { - description "../ShortMANameFormatValue = 'SMANUnknown'"; - } - type Cfm-bag-optional-hex-data; - description "Hex data"; - } - } - - grouping CFM-BAG-MDID-MAC-NAME { - description "MDID MAC name"; - leaf mac-address { - type Mac-address; - description "MAC address"; - } - leaf integer { - type uint16; - description "Integer"; - } - } - - grouping CFM-BAG-MDID-V2 { - description "MDID types"; - - container mac-name { - when "../mdid-format-value = 'mdid-mac-address'" { - description "../MDIDFormatValue = 'MDID_MACAddress'"; - } - description "MAC address name"; - uses CFM-BAG-MDID-MAC-NAME; - } - leaf mdid-format-value { - type Cfm-bag-mdid-fmt; - description "MDIDFormatValue"; - } - leaf dns-like-name { - when "../mdid-format-value = 'mdid-dns-like'" { - description "../MDIDFormatValue = 'MDID_DNSLike'"; - } - type Cfm-bag-optional-string; - description "DNS-like name"; - } - leaf string-name { - when "../mdid-format-value = 'mdid-string'" { - description "../MDIDFormatValue = 'MDIDString'"; - } - type Cfm-bag-optional-string; - description "String name"; - } - leaf mdid-data { - when "../mdid-format-value = 'mdid-unknown'" { - description "../MDIDFormatValue = 'MDIDUnknown'"; - } - type Cfm-bag-optional-hex-data; - description "Hex data"; - } - } - - grouping CFM-BAG-SAT-PDU-CAPS { - description "Satellite PDU Capabilities"; - leaf responder { - type boolean; - description "Responder"; - } - leaf controller { - type boolean; - description "Controller"; - } - } - - grouping CFM-BAG-SAT-ACCESS-PORT-CAPS { - description "Satellite access port capabilities"; - - container loopback { - description "Loopback"; - uses CFM-BAG-SAT-PDU-CAPS; - } - - container delay-measurement { - description "Delay Measurement"; - uses CFM-BAG-SAT-PDU-CAPS; - } - - container synthetic-loss-measurement { - description "Synthetic Loss Measurement"; - uses CFM-BAG-SAT-PDU-CAPS; - } - } - - grouping CFM-MA-MEP-ERRORS { - description "CFM MA MEP Errors"; - - container mep { - description "The MEP that has errors"; - uses CFM-MA-MP; - } - - container service-bridge-domain { - description - "BD/XC ID for the MEP's Service, or Service name - if the Service is 'down-only'"; - uses CFM-BAG-BDID; - } - - container interface-bridge-domain { - description - "ID of the BD/XC that the MEP's EFP is in, if any"; - uses CFM-BAG-BDID; - } - - container satellite-capabilities { - description "Satellite Capabilities"; - uses CFM-BAG-SAT-ACCESS-PORT-CAPS; - } - leaf ccm-interval { - type Cfm-bag-ccm-interval; - description "Interval between CCMs sent on this MEP."; - } - leaf no-domain { - type boolean; - description "The MEP's Domain is not configured"; - } - leaf no-service { - type boolean; - description "The MEP's Service is not configured"; - } - leaf bridge-domain-mismatch { - type boolean; - description - "The MEP's EFP is not in the Service's Bridge - Domain"; - } - leaf level-conflict { - type boolean; - description - "Another MEP facing in the same direction is at - the same Maintenance Level"; - } - leaf ccm-interval-not-supported { - type boolean; - description - "CCM Interval is less than minimum interval - supported by hardware"; - } - leaf offload-out-of-resources { - type boolean; - description "Offload resource limits have been exceeded"; - } - leaf offload-multiple-local-mep { - type boolean; - description - "Multiple offloaded MEPs on the same interface - are not supported."; - } - leaf offload-no-cross-check { - type boolean; - description - "The MEP should be offloaded but crosscheck has - not been configured."; - } - leaf offload-multiple-peer-meps { - type boolean; - description - "The MEP should be offloaded but multiple - crosscheck MEPs have been configured, and this - is not supported."; - } - leaf offload-mep-direction-not-supported { - type boolean; - description "The MEP direction does not support offload."; - } - leaf ais-configured { - type boolean; - description - "AIS is configured on the same interface as the - down MEP"; - } - leaf bundle-level0 { - type boolean; - description - "The MEP is configured in a domain at level 0, on - a bundle interface or sub-interface. This is - not supported"; - } - leaf bridge-domain-not-in-bd-infra { - type boolean; - description - "A BD/XC specified in the MEG config, but it does - not exist globally."; - } - leaf maid-format-not-supported { - type boolean; - description - "The configured MAID format is not supported for - hardware offload."; - } - leaf fatal-offload-error { - type boolean; - description - "The platform returned a fatal error when passed - the offload session."; - } - leaf satellite-limitation { - type boolean; - description - "A satellite limitation is preventing MEP being - offloaded to satellite."; - } - leaf sla-loopback-operations-disabled { - type boolean; - description - "In-progress Ethernet SLA loopback operations are - disabled due to satellite having loopback - responder-only capabilities."; - } - leaf sla-synthetic-loss-operations-disabled { - type boolean; - description - "In-progress Ethernet SLA synthetic loss - measurement operations are disabled due to - satellite having synthetic loss measurement - responder-only capabilities."; - } - leaf sla-delay-measurement-operations-disabled { - type boolean; - description - "In-progress Ethernet SLA delay measurement - operations are disabled due to satellite having - delay measurement responder-only capabilities."; - } - leaf no-valid-mac-address { - type boolean; - description - "The EFP doesn't have a valid MAC address yet. - This will also get set if the MAC address we - have is a multicast address."; - } - leaf no-interface-type { - type boolean; - description - "We haven't yet been able to look up the - interface type to find whether the interface is - a bundle."; - } - leaf not-in-im { - type boolean; - description "The EFP has been deleted from IM."; - } - leaf no-mlacp { - type boolean; - description - "The EFP is a bundle and the mLACP mode is not - yet known."; - } - leaf satellite-error-string { - type string; - description "Error string returned from satellite"; - } - leaf satellite-id { - type uint16; - description "ID of the satellite"; - } - } - - grouping CFM-BAG-BDID { - description "Bridge domain identifier"; - leaf bridge-domain-id-format { - type Cfm-bag-bdid-fmt; - description "Bridge domain identifier format"; - } - leaf group { - type string; - description "Name of the Bridge/XConnect Group"; - } - leaf name { - type string; - description "Name of the Bridge Domain/XConnect"; - } - leaf ce-id { - type uint16; - description "Local Customer Edge Identifier (CE-ID)"; - } - leaf remote-ce-id { - type uint16; - description "Remote Customer Edge Identifier (CE-ID)"; - } - leaf evi { - type uint32; - description "EVPN ID for VLAN-aware flexible cross-connects"; - } - } - - grouping CFM-MA-MP { - description "CFM MA Maintenance Point"; - leaf domain-name { - type string; - description "Domain name"; - } - leaf level { - type Cfm-bag-md-level; - description "Domain level"; - } - leaf service-name { - type string; - description "Service name"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf maintenance-point-type { - type Cfm-ma-mp-variety; - description "Type of Maintenance Point"; - } - leaf mep-id { - type uint16; - description "MEP ID"; - } - } - - grouping CFM-MA-MP-BRIEF { - description "CFM MA Maintenance Point Information"; - - container maintenance-point { - description "Maintenance Point"; - uses CFM-MA-MP; - } - leaf mep-has-error { - type boolean; - description "MEP error flag"; - } - leaf mac-address { - type Mac-address; - description "MAC Address"; - } - } - - grouping CFM-MA-SUMMARY { - description "CFM MA Summary Information"; - leaf domains { - type uint32; - description "The number of domains in the CFM database."; - } - leaf services { - type uint32; - description "The number of services in the CFM database."; - } - leaf ccm-rate { - type uint32; - description "The combined rate of CCMs on this card."; - } - leaf local-meps { - type uint32; - description "The number of local MEPs in the CFM database."; - } - leaf operational-local-meps { - type uint32; - description "The number of operational local MEPs."; - } - leaf down-meps { - type uint32; - description "The number of down-MEPs."; - } - leaf up-meps { - type uint32; - description "The number of up-MEPs."; - } - leaf offloaded { - type uint32; - description - "The number of MEPs for which CCM processing has - been offloaded."; - } - leaf offloaded-at3-3ms { - type uint32; - description - "The number of MEPs offloaded with CCMs at 3.3ms - intervals."; - } - leaf offloaded-at10ms { - type uint32; - description - "The number of MEPs offloaded with CCMs at 10ms - intervals."; - } - leaf disabled-misconfigured { - type uint32; - description - "The number of local MEPs disabled due to - configuration errors."; - } - leaf disabled-out-of-resources { - type uint32; - description - "The number of local MEPs disabled due to lack of - resources."; - } - leaf disabled-operational-error { - type uint32; - description - "The number of local MEPs disabled due to - operational errors."; - } - leaf peer-meps { - type uint32; - description "The number of peer MEPs."; - } - leaf operational-peer-meps { - type uint32; - description - "The number of operational peer MEPs recorded in - the CFM database."; - } - leaf peer-meps-with-defects { - type uint32; - description "The number of peer MEPs with defects."; - } - leaf peer-meps-without-defects { - type uint32; - description "The number of peer MEPs without defects."; - } - leaf peer-meps-timed-out { - type uint32; - description "The number of peer MEPs that have timed out."; - } - leaf mips { - type uint32; - description "The number of MIPs"; - } - leaf interfaces { - type uint32; - description "The number of interfaces running CFM."; - } - leaf bridge-domains-and-xconnects { - type uint32; - description "Number or bridge domains and crossconnects."; - } - leaf traceroute-cache-entries { - type uint32; - description "Number of traceroute cache entries."; - } - leaf traceroute-cache-replies { - type uint32; - description "Number of traceroute cache replies."; - } - leaf ccm-learning-db-entries { - type uint32; - description "Number of entries in the CCM learning database."; - } - leaf issu-role { - type Cfm-bag-issu-role; - description "ISSU Role of CFM-D, if any."; - } - leaf bnm-enabled-links { - type uint32; - description "Number of BNM Enabled Links"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang deleted file mode 100644 index 1bf1017..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang +++ /dev/null @@ -1,71 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-cfm-oper-sub4 { - - belongs-to Cisco-IOS-XR-ethernet-cfm-oper { - prefix Cisco-IOS-XR-ethernet-cfm-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CGM-CFG-ERRORS { - description "CFM Global Manager Service Error Information"; - - container bridge-domain-id { - description - "BD/XC ID, or Service name if the Service is - 'down-only'"; - uses CFM-BAG-BDID; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf level { - type Cfm-bag-md-level; - description "Level"; - } - leaf service-name { - type string; - description "Service name"; - } - leaf bridge-domain-is-configured { - type boolean; - description "The BD/XC is configured globally"; - } - leaf l2-fib-download-error { - type boolean; - description "The BD/XC could not be downloaded to L2FIB"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper.yang deleted file mode 100644 index 60db16c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-oper.yang +++ /dev/null @@ -1,678 +0,0 @@ -module Cisco-IOS-XR-ethernet-cfm-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ethernet-cfm-oper"; - - - prefix "ethernet-cfm-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ethernet-cfm-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-infra-sla-oper { prefix "a1"; } - - include Cisco-IOS-XR-ethernet-cfm-oper-sub4 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ethernet-cfm-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ethernet-cfm-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm package operational data. - - This module contains definitions - for the following management objects: - cfm: CFM operational data - - This YANG module augments the - Cisco-IOS-XR-infra-sla-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Cfm-ais-dir { - type enumeration { - enum up { - value 0; - description "Packets sent inward"; - } - enum down { - value 1; - description "Packets sent outward"; - } - } - description "Cfm ais dir"; - } - - container cfm { - config false; - description "CFM operational data"; - - container nodes { - description "Node table for node-specific operational data"; - - list node { - key "node"; - description "Node-specific data for a particular node"; - - container interface-aises { - description "Interface AIS table"; - - list interface-ais { - key "interface-name direction"; - description "AIS statistics for a particular interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf direction { - type Cfm-ais-dir; - description "AIS Direction"; - } - uses CFM-PM-EFP-AIS-BAG; - } - } - - container interface-statistics { - description "Interface Statistics table"; - - list interface-statistic { - key "interface"; - description "Counters for a particular interface"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses CFM-PM-EFP-STATS-BAG; - } - } - - container summary { - description "Summary"; - uses CFM-MA-SUMMARY; - } - - container ccm-learning-databases { - description "CCMLearningDatabase table"; - - list ccm-learning-database { - key "domain service mac-address"; - description "CCM Learning Database entry"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses CFM-PM-CLDB-BAG; - } - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - - container global { - description "Global operational data"; - - container incomplete-traceroutes { - description "Incomplete Traceroute table"; - - list incomplete-traceroute { - key "domain service mep-id interface transaction-id"; - description - "Information about a traceroute operation that - has not yet timed out"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf mep-id { - type dt1:Cfm-mep-id; - description "MEP ID"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf transaction-id { - type int32; - description "Transaction ID"; - } - uses CFM-PM-MEP-INCOMPLETE-TR-BAG; - } - } - - container maintenance-points { - description "Maintenance Points table"; - - list maintenance-point { - key "domain service interface"; - description - "Information about a particular Maintenance - Point"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses CFM-MA-MP-BRIEF; - } - } - - container global-configuration-errors { - description "Global configuration errors table"; - - list global-configuration-error { - key "domain service"; - description - "Information about a particular configuration - error"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - uses CGM-CFG-ERRORS; - } - } - - container mep-configuration-errors { - description "MEP configuration errors table"; - - list mep-configuration-error { - key "domain service interface"; - description - "Information about a particular configuration - error"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses CFM-MA-MEP-ERRORS; - } - } - - container traceroute-caches { - description "Traceroute Cache table"; - - list traceroute-cache { - key "domain service mep-id interface transaction-id"; - description - "Information about a particular traceroute - operation"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf mep-id { - type dt1:Cfm-mep-id; - description "MEP ID"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf transaction-id { - type int32; - description "Transaction ID"; - } - uses CFM-PM-MEP-TR-CACHE-BAG; - } - } - - container local-meps { - description "Local MEPs table"; - - list local-mep { - key "domain service mep-id interface"; - description "Information about a particular local MEP"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf mep-id { - type dt1:Cfm-mep-id; - description "MEP ID"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses CFM-PM-MEP-STATS-BAG; - } - } - - container peer-me-pv2s { - description "Peer MEPs table Version 2"; - - list peer-me-pv2 { - key "domain service local-mep-id interface peer-mep-id"+ - " peer-mac-address"; - description - "Information about a peer MEP for a particular - local MEP"; - leaf domain { - type string { - length "1..79"; - } - description "Maintenance Domain"; - } - leaf service { - type string { - length "1..79"; - } - description "Service (Maintenance Association)"; - } - leaf local-mep-id { - type dt1:Cfm-mep-id; - description "MEP ID of Local MEP"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf peer-mep-id { - type dt1:Cfm-mep-id; - description "MEP ID of Peer MEP"; - } - leaf peer-mac-address { - type yang:mac-address; - description "Peer MAC address"; - } - uses CFM-PM-REMOTE-MEPS-V2-BAG; - } - } - } - } - - augment "/a1:sla/a1:protocols" { - - container ethernet { - description "The Ethernet SLA protocol"; - - container statistics-on-demand-currents { - description - "Table of current statistics for SLA on-demand - operations"; - - list statistics-on-demand-current { - description - "Current statistics data for an SLA on-demand - operation"; - leaf operation-id { - type uint32 { - range "1..4294967295"; - } - description "Operation ID"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION-STATISTICS; - } - } - - container operations { - description "Table of SLA operations"; - - list operation { - description "SLA operation to get operation data for"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile Name"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION; - } - } - - container statistics-historicals { - description - "Table of historical statistics for SLA - operations"; - - list statistics-historical { - description - "Historical statistics data for an SLA - configured operation"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile Name"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION-STATISTICS; - } - } - - container statistics-on-demand-historicals { - description - "Table of historical statistics for SLA - on-demand operations"; - - list statistics-on-demand-historical { - description - "Historical statistics data for an SLA - on-demand operation"; - leaf operation-id { - type uint32 { - range "1..4294967295"; - } - description "Operation ID"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION-STATISTICS; - } - } - - container config-errors { - description - "Table of SLA configuration errors on configured - operations"; - - list config-error { - description - "SLA operation to get configuration errors data - for"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile Name"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description "MEP ID in the range 1 to 8191"; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format"; - } - uses SLA-OPER-CONFIG-ERRORS; - } - } - - container on-demand-operations { - description "Table of SLA on-demand operations"; - - list on-demand-operation { - description - "SLA on-demand operation to get operation data - for"; - leaf operation-id { - type uint32 { - range "1..4294967295"; - } - description "Operation ID"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION; - } - } - - container statistics-currents { - description - "Table of current statistics for SLA operations"; - - list statistics-current { - description - "Current statistics data for an SLA configured - operation"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile Name"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf mep-id { - type uint32 { - range "1..8191"; - } - description - "MEP ID in the range 1 to 8191. Either MEP ID - or MAC address must be specified."; - } - leaf mac-address { - type yang:mac-address; - description - "Unicast MAC Address in xxxx.xxxx.xxxx format. - Either MEP ID or MAC address must be - specified."; - } - uses SLA-OPER-OPERATION-STATISTICS; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-infra-sla-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang deleted file mode 100644 index b5b2483..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang +++ /dev/null @@ -1,81 +0,0 @@ -module Cisco-IOS-XR-ethernet-cfm-sat-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ethernet-cfm-sat-cfg"; - - - prefix "ethernet-cfm-sat-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ethernet-cfm-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2-eth-infra-cfg { prefix "a2"; } - - import Cisco-IOS-XR-icpe-infra-cfg { prefix "a3"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-cfm-sat package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2-eth-infra-cfg, - Cisco-IOS-XR-icpe-infra-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a3:nv-satellite-fabric-link" { - - container ethernet-features { - description "Ethernet Satellite configuration"; - - container cfm { - description "CFM Satellite configuration"; - leaf continuity-check-interval { - type dt1:Cfm-ccm-interval; - description "Continuity-Check Interval"; - } - leaf level { - type dt1:Cfm-level; - description "Maintenance Domain Level"; - } - leaf enable { - type empty; - description "Enable CFM on Satellite"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-icpe-infra-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-cfg.yang deleted file mode 100644 index 64c6de1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-cfg.yang +++ /dev/null @@ -1,758 +0,0 @@ -module Cisco-IOS-XR-ethernet-link-oam-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ethernet-link-oam-cfg"; - - - prefix "ethernet-link-oam-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2-eth-infra-cfg { prefix "a2"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a3"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-link-oam package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg, - Cisco-IOS-XR-l2-eth-infra-cfg, - Cisco-IOS-XR-ifmgr-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ether-link-oam-threshold-window-multiplier-enum { - type enumeration { - enum none { - value 0; - description "Do not use a multiplier"; - } - enum thousand { - value 1; - description "Use multiplier of 1000"; - } - enum million { - value 2; - description "Use multiplier of 1,000,000"; - } - enum billion { - value 3; - description "Use multiplier of 1,000,000,000"; - } - } - description "Ether link oam threshold window multiplier enum"; - } - typedef Ether-link-oam-threshold-units-frames-enum { - type enumeration { - enum frames { - value 3; - description "Define threshold in frames"; - } - enum ppm { - value 4; - description "Define threshold in parts per million"; - } - } - description "Ether link oam threshold units frames enum"; - } - typedef Ether-link-oam-threshold-units-symbols-enum { - type enumeration { - enum symbols { - value 2; - description "Define threshold in symbols"; - } - enum ppm { - value 4; - description "Define threshold in parts per million"; - } - } - description "Ether link oam threshold units symbols enum"; - } - typedef Ether-link-oam-window-units-symbols-enum { - type enumeration { - enum milliseconds { - value 1; - description "Define window in milliseconds"; - } - enum symbols { - value 2; - description "Define window in symbols"; - } - } - description "Ether link oam window units symbols enum"; - } - typedef Ether-link-oam-window-units-frames-enum { - type enumeration { - enum milliseconds { - value 1; - description "Define window in milliseconds"; - } - enum frames { - value 3; - description "Define window in frames"; - } - } - description "Ether link oam window units frames enum"; - } - typedef Ether-link-oam-require-mode-enum { - type enumeration { - enum passive { - value 0; - description "Ethernet Link OAM Passive mode"; - } - enum active { - value 1; - description "Ethernet Link OAM Active mode"; - } - enum dont-care { - value 2; - description "Ethernet Link OAM mode not required"; - } - } - description "Ether link oam require mode enum"; - } - typedef Ether-link-oam-event-action-enum-efd { - type enumeration { - enum disable { - value 1; - description "Perform no action"; - } - enum error-disable { - value 2; - description "Disable the interface"; - } - enum log { - value 3; - description "Log the event"; - } - enum efd { - value 4; - description "EFD the interface"; - } - } - description "Ether link oam event action enum efd"; - } - typedef Ether-link-oam-event-action-prim-enum { - type enumeration { - enum disable { - value 1; - description "Perform no action"; - } - enum log { - value 3; - description "Log the event"; - } - } - description "Ether link oam event action prim enum"; - } - typedef Ether-link-oam-mode-enum { - type enumeration { - enum passive { - value 0; - description "Ethernet Link OAM Passive mode"; - } - enum active { - value 1; - description "Ethernet Link OAM Active mode"; - } - } - description "Ether link oam mode enum"; - } - typedef Ether-link-oam-event-action-enum { - type enumeration { - enum disable { - value 1; - description "Perform no action"; - } - enum error-disable { - value 2; - description "Disable the interface"; - } - enum log { - value 3; - description "Log the event"; - } - } - description "Ether link oam event action enum"; - } - typedef Ether-link-oam-hello-interval-enum { - type enumeration { - enum 1s { - value 0; - description "1 s OAM hello interval"; - } - enum 100ms { - value 1; - description "100 ms OAM hello interval"; - } - } - description "Ether link oam hello interval enum"; - } - - grouping LINK-MONITORING { - description "Common node of profile, ether-link-oam"; - - container link-monitoring { - description "Configure link monitor parameters"; - - container symbol-period { - description "Symbol-period event configuration"; - - container window { - presence "Indicates a window node is configured."; - description - "Window size configuration for symbol-period - events"; - leaf window { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Size of the symbol-period window"; - } - leaf units { - type Ether-link-oam-window-units-symbols-enum; - mandatory true; - description "Units to use for this window"; - } - leaf multiplier { - type Ether-link-oam-threshold-window-multiplier-enum; - default "none"; - description - "The multiplier to use for this window (only - valid if 'Units' is Symbols and treated as 1 - if unspecified)"; - } - } - - container threshold { - description - "Threshold configuration for symbol-period - events"; - leaf threshold-low { - type uint32 { - range "1..4294967295"; - } - must "../units"; - default "1"; - description "The low threshold for symbol-period"; - } - leaf threshold-high { - type uint32 { - range "1..4294967295"; - } - must "../units"; - description "The high threshold for symbol-period"; - } - leaf units { - type Ether-link-oam-threshold-units-symbols-enum; - must "../threshold-low or ../threshold-high"; - default "symbols"; - description "The units to use for these thresholds"; - } - leaf multiplier-low { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-low and ../units"; - default "none"; - description - "The multiplier to use for the low threshold - (only valid if 'Units' is Symbols and treated - as 1 if unspecified)"; - } - leaf multiplier-high { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-high and ../units"; - description - "The multiplier to use for the high threshold - (only valid if 'Units' is Symbols and treated - as 1 if unspecified)"; - } - } - } - - container frame-period { - description "Frame-period event configuration"; - - container window { - presence "Indicates a window node is configured."; - description - "Window size configuration for frame-period - events"; - leaf window { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Size of the frame-period window"; - } - leaf units { - type Ether-link-oam-window-units-frames-enum; - mandatory true; - description "The units to use for this window"; - } - leaf multiplier { - type Ether-link-oam-threshold-window-multiplier-enum; - default "none"; - description - "The multiplier to use for this window (only - valid if 'Units' is Frames and treated as 1 - if unspecified)"; - } - } - - container threshold { - description - "Threshold configuration for frame-period - events"; - leaf threshold-low { - type uint32 { - range "1..4294967295"; - } - must "../units"; - default "1"; - description "The low threshold for frame-period events"; - } - leaf threshold-high { - type uint32 { - range "1..4294967295"; - } - must "../units"; - description - "The high threshold for frame-period events"; - } - leaf units { - type Ether-link-oam-threshold-units-frames-enum; - must "../threshold-low or ../threshold-high"; - default "ppm"; - description "The units to use for these thresholds"; - } - leaf multiplier-low { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-low and ../units"; - default "none"; - description - "The multiplier to use for the low threshold - (only valid if 'Units' is Frames and treated - as 1 if unspecified)"; - } - leaf multiplier-high { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-high and ../units"; - description - "The multiplier to use for the high threshold - (only valid if 'Units' is Frames and treated - as 1 if unspecified)"; - } - } - } - - container frame-seconds { - description "Frame-seconds event configuration"; - - container threshold { - description - "Threshold configuration for frame-seconds - events"; - leaf threshold-low { - type uint32 { - range "1..900"; - } - units "second"; - default "1"; - description - "The low threshold for frame-seconds events"; - } - leaf threshold-high { - type uint32 { - range "1..900"; - } - units "second"; - description - "The high threshold for frame-seconds events"; - } - } - leaf window { - type uint32 { - range "10000..900000"; - } - units "millisecond"; - default "60000"; - description - "Window size configuration for frame-seconds - events"; - } - } - - container frame { - description "Frame event configuration"; - - container threshold { - description "Threshold configuration for frame events"; - leaf threshold-low { - type uint32 { - range "1..4294967295"; - } - default "1"; - description "The low threshold for frame events"; - } - leaf threshold-high { - type uint32 { - range "1..4294967295"; - } - description "The high threshold for frame events"; - } - leaf multiplier-low { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-low"; - default "none"; - description - "The multiplier to use for the low threshold - (treated as 1 if unspecified)"; - } - leaf multiplier-high { - type Ether-link-oam-threshold-window-multiplier-enum; - must "../threshold-high"; - description - "The multiplier to use for the high threshold - (treated as 1 if unspecified)"; - } - } - leaf window { - type uint32 { - range "1000..60000"; - } - units "millisecond"; - default "1000"; - description "Window size configuration for frame events"; - } - } - leaf monitoring { - type boolean; - description "Enable or disable monitoring"; - } - } - } - - augment "/a3:interface-configurations/a3:interface-configuration"+ - "/a2:ethernet-features" { - leaf ether-link-oam-enable { - type empty; - description "Enable Ethernet Link OAM on the interface"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2-eth-infra-cfg'"; - } - - augment "/a3:interface-configurations/a3:interface-configuration"+ - "/a2:ethernet-features" { - - container ether-link-oam { - description "Ethernet Link OAM Interface Configuration"; - - container action { - description "Configure action parameters"; - leaf dying-gasp { - type Ether-link-oam-event-action-enum; - description "Action to perform when a dying gasp occurs"; - } - leaf link-fault { - type Ether-link-oam-event-action-enum-efd; - description "Action to perform when a link fault occurs"; - } - leaf capabilities-conflict { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a capabilities conflict - occurs"; - } - leaf session-up { - type Ether-link-oam-event-action-prim-enum; - description "Action to perform when a session comes up"; - } - leaf critical-event { - type Ether-link-oam-event-action-enum; - description - "Action to perform when a critical event occurs"; - } - leaf remote-loopback { - type Ether-link-oam-event-action-prim-enum; - description - "Action to perform when remote loopback is - entered or exited"; - } - leaf wiring-conflict { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a wiring conflict - occurs"; - } - leaf high-threshold { - type Ether-link-oam-event-action-enum; - description - "Action to perform when a high-threshold event - occurs"; - } - leaf discovery-timeout { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when discovery timeout - occurs"; - } - leaf session-down { - type Ether-link-oam-event-action-enum-efd; - description "Action to perform when a session comes down"; - } - } - - container require-remote { - description "Configure remote requirement parameters"; - leaf mode { - type Ether-link-oam-require-mode-enum; - description "Possible required peer modes"; - } - leaf mib-retrieval { - type boolean; - description - "Enable or disable MIB retrieval peer - requirement"; - } - leaf remote-loopback { - type boolean; - description - "Enable or disable remote loopback peer - requirement"; - } - leaf link-monitoring { - type boolean; - description - "Enable or disable link monitoring peer - requirement"; - } - } - leaf timeout { - type uint32 { - range "2..30"; - } - description - "Connection timeout period in number of lost - heartbeats"; - } - leaf mode { - type Ether-link-oam-mode-enum; - description "Possible Ethernet Link OAM modes"; - } - leaf mib-retrieval { - type boolean; - description "Enable or disable MIB retrieval"; - } - leaf profile-name { - type string; - description "Set the profile to use on the interface"; - } - leaf remote-loopback { - type boolean; - description "Enable or disable remote loopback"; - } - leaf hello-interval { - type Ether-link-oam-hello-interval-enum; - description "Possible Ethernet Link OAM hello intervals"; - } - leaf udlf { - type boolean; - description - "Enable or disable uni-directional link-fault - detection"; - } - uses LINK-MONITORING; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2-eth-infra-cfg'"; - } - - augment "/a2:ethernet-features" { - - container ether-link-oam { - description "Ethernet Link OAM Global Configuration"; - - container profiles { - description "Table of Ethernet Link OAM profiles"; - - list profile { - key "profile"; - description "Name of the profile"; - - container action { - description "Configure action parameters"; - leaf dying-gasp { - type Ether-link-oam-event-action-enum; - description - "Action to perform when a dying gasp occurs"; - } - leaf session-up { - type Ether-link-oam-event-action-prim-enum; - description - "Action to perform when a session comes up"; - } - leaf critical-event { - type Ether-link-oam-event-action-enum; - description - "Action to perform when a critical event - occurs"; - } - leaf session-down { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a session goes down"; - } - leaf discovery-timeout { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when discovery timeout - occurs"; - } - leaf high-threshold { - type Ether-link-oam-event-action-enum; - description - "Action to perform when a high-threshold - event occurs"; - } - leaf capabilities-conflict { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a capabilities - conflict occurs"; - } - leaf remote-loopback { - type Ether-link-oam-event-action-prim-enum; - description - "Action to perform when remote loopback is - entered or exited"; - } - leaf link-fault { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a link fault message - is received"; - } - leaf wiring-conflict { - type Ether-link-oam-event-action-enum-efd; - description - "Action to perform when a wiring conflict - occurs"; - } - } - - container require-remote { - description "Configure remote requirement parameters"; - leaf mib-retrieval { - type boolean; - description - "Enable or disable MIB retrieval requirement"; - } - leaf mode { - type Ether-link-oam-require-mode-enum; - description "Possible required OAM modes"; - } - leaf remote-loopback { - type boolean; - description - "Enable or disable remote loopback - requirement"; - } - leaf link-monitoring { - type boolean; - description - "Enable or disable link monitoring - requirement"; - } - } - leaf mib-retrieval { - type boolean; - description "Enable or disable MIB retrieval support"; - } - leaf udlf { - type boolean; - description - "Enable or disable uni-directional link-fault - detection support"; - } - leaf hello-interval { - type Ether-link-oam-hello-interval-enum; - description - "Possible Ethernet Link OAM hello intervals"; - } - leaf mode { - type Ether-link-oam-mode-enum; - description "Set the OAM mode to passive"; - } - leaf remote-loopback { - type boolean; - description "Enable or disable remote loopback support"; - } - leaf timeout { - type uint32 { - range "2..30"; - } - description - "Connection timeout period in number of lost - heartbeats"; - } - leaf profile { - type xr:Cisco-ios-xr-string; - description "none"; - } - uses LINK-MONITORING; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2-eth-infra-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container oam { - description "802.3 OAM MIB notification configuration"; - leaf enable { - type empty; - description "Enable 802.3 OAM MIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang deleted file mode 100644 index b1312d5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang +++ /dev/null @@ -1,1290 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-link-oam-oper-sub1 { - - belongs-to Cisco-IOS-XR-ethernet-link-oam-oper { - prefix Cisco-IOS-XR-ethernet-link-oam-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-link-oam package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Log-location { - type enumeration { - enum log-location-local { - value 1; - description "A local event"; - } - enum log-location-remote { - value 2; - description "A remote event"; - } - } - description "The location of the event that caused a log entry"; - } - typedef Log { - type enumeration { - enum log-type-symbol-event { - value 1; - description "Log entry for an errored symbol event"; - } - enum log-type-period-event { - value 2; - description "Log entry for an errored frame period event"; - } - enum log-type-frame-event { - value 3; - description "Log entry for an errored frame event"; - } - enum log-type-secs-event { - value 4; - description - "Log entry for an errored frame seconds summary - event"; - } - enum log-type-link-fault { - value 256; - description "Log entry for a link fault"; - } - enum log-type-dying-gasp { - value 257; - description "Log entry for a dying gasp"; - } - enum log-type-critical-event { - value 258; - description "Log entry for a critical event"; - } - } - description "The type of a log entry"; - } - typedef Action { - type enumeration { - enum no-action { - value 1; - description "Disabled (do nothing)"; - } - enum disable-interface { - value 2; - description "Disable the interface"; - } - enum log { - value 3; - description "Log the event and do nothing else"; - } - enum efd { - value 4; - description "EFD the interface"; - } - } - description "Actions supported by an OAM interface"; - } - typedef Protocol-state { - type enumeration { - enum protocol-state-inactive { - value 0; - description "The protocol is in the INACTIVE state"; - } - enum protocol-state-fault { - value 1; - description "The protocol is in the FAULT state"; - } - enum protocol-state-active-send-local { - value 2; - description - "The protocol is in the ACTIVE_SEND_LOCAL state"; - } - enum protocol-state-passive-wait { - value 3; - description - "The protocol is in the SEND_LOCAL_REMOTE state"; - } - enum protocol-state-send-local-remote { - value 4; - description "The protocol is in the LOCAL_REMOTE state"; - } - enum protocol-state-send-local-remote-ok { - value 5; - description "The protocol is in the LOCAL_REMOTE_OK state"; - } - enum protocol-state-send-any { - value 6; - description "The protocol is in the SEND_ANY state"; - } - } - description "The state the protocol is in"; - } - typedef Mode { - type enumeration { - enum passive { - value 0; - description "Passive mode"; - } - enum active { - value 1; - description "Active mode"; - } - enum dont-care { - value 2; - description "Don't care what the mode is"; - } - } - description "Mode of an OAM interface"; - } - typedef Loopback-status { - type enumeration { - enum none { - value 1; - description "Loopback is not being performed"; - } - enum initiating { - value 2; - description "Initiating master loopback"; - } - enum master-loopback { - value 3; - description "In master loopback mode"; - } - enum terminating { - value 4; - description "Terminating master loopback mode"; - } - enum local-loopback { - value 5; - description "In slave loopback mode"; - } - enum unknown { - value 6; - description "Parser and multiplexer combination unexpected"; - } - } - description "The loopback mode of an OAM interface"; - } - typedef Operational-state { - type enumeration { - enum disabled { - value 1; - description "802.3 OAM is disabled"; - } - enum link-fault { - value 2; - description "802.3 OAM has encountered a link fault"; - } - enum passive-wait { - value 3; - description - "Passive OAM entity waiting to see if peer is - OAM capable"; - } - enum active-send-local { - value 4; - description - "Active OAM entity trying to determine if peer - is OAM capable"; - } - enum send-local-and-remote { - value 5; - description - "OAM discovered peer but still to accept or - reject peer config"; - } - enum send-local-and-remote-ok { - value 6; - description "OAM peering is allowed by local device"; - } - enum peering-locally-rejected { - value 7; - description "OAM peering rejected by local device"; - } - enum peering-remotely-rejected { - value 8; - description "OAM peering rejected by remote device"; - } - enum operational { - value 9; - description "802.3 OAM is operational"; - } - enum operational-half-duplex { - value 10; - description "802.3 OAM is operating in half-duplex mode"; - } - } - description "Operational state of an interface"; - } - - grouping ELOD-STATS { - description "Statistics for an 802.3 OAM interface"; - leaf information-tx { - type uint32; - description "Number of information OAMPDUs transmitted"; - } - leaf information-rx { - type uint32; - description "Number of information OAMPDUs received"; - } - leaf unique-event-notification-tx { - type uint32; - description - "Number of unique event notification OAMPDUs - transmitted"; - } - leaf unique-event-notification-rx { - type uint32; - description - "Number of unique event notification OAMPDUs - received"; - } - leaf duplicate-event-notification-tx { - type uint32; - description - "Number of duplicate event notification OAMPDUs - transmitted"; - } - leaf duplicate-event-notification-rx { - type uint32; - description - "Number of duplicate event notification OAMPDUs - received"; - } - leaf loopback-control-tx { - type uint32; - description "Number of loopback control OAMPDUs transmitted"; - } - leaf loopback-control-rx { - type uint32; - description "Number of loopback control OAMPDUs received"; - } - leaf variable-request-tx { - type uint32; - description "Number of variable request OAMPDUs transmitted"; - } - leaf variable-request-rx { - type uint32; - description "Number of variable request OAMPDUs received"; - } - leaf variable-response-tx { - type uint32; - description "Number of variable response OAMPDUs transmitted"; - } - leaf variable-response-rx { - type uint32; - description "Number of variable response OAMPDUs received"; - } - leaf org-specific-tx { - type uint32; - description - "Number of organization specific OAMPDUs - transmitted"; - } - leaf org-specific-rx { - type uint32; - description - "Number of organization specific OAMPDUs received"; - } - leaf unsupported-codes-tx { - type uint32; - description - "Number of OAMPDUs with unsupported codes - transmitted"; - } - leaf unsupported-codes-rx { - type uint32; - description - "Number of OAMPDUs with unsupported codes - received"; - } - leaf frames-lost-due-to-oam { - type uint32; - description "Number of frames lost due to OAM"; - } - leaf fixed-frames-rx { - type uint32; - description "Number of RX frames 'fixed' by OAM"; - } - leaf local-error-symbol-period-records { - type uint32; - description "Number of local error symbol period records"; - } - leaf local-error-frame-records { - type uint32; - description "Number of local error frame records"; - } - leaf local-error-frame-period-records { - type uint32; - description "Number of local error frame period records"; - } - leaf local-error-frame-second-records { - type uint32; - description "Number of local error frame second records"; - } - leaf remote-error-symbol-period-records { - type uint32; - description "Number of remote error symbol period records"; - } - leaf remote-error-frame-records { - type uint32; - description "Number of remote error frame records"; - } - leaf remote-error-frame-period-records { - type uint32; - description "Number of remote error frame period records"; - } - leaf remote-error-frame-second-records { - type uint32; - description "Number of remote error frame second records"; - } - } - - grouping ELOD-LOG-ENTRY { - description "A single log entry"; - leaf index { - type uint32; - description "Index in the log entries table"; - } - leaf handle { - type xr:Interface-name; - description "Interface handle for this log entry"; - } - leaf oui { - type yang:hex-string; - description "OUI for the log entry"; - } - leaf timestamp { - type uint64; - description - "Timestamp in hundredths of a second since unix - epoch for when the event occurred"; - } - leaf type { - type Log; - description "Type of event that this entry describes"; - } - leaf location { - type Log-location; - description "Where the event occurred"; - } - leaf event-total { - type uint32; - description "Total number of times event has occurred"; - } - leaf action-taken { - type Action; - description "Local action taken (If applicable)"; - } - leaf window { - type uint64; - description "Size of the window (If applicable)"; - } - leaf threshold { - type uint64; - description "Size of the threshold (If applicable)"; - } - leaf local-high-threshold { - type uint64; - description - "Size of the local high threshold (If applicable) - . For remote threshold events this is scaled for - comparison with the Breaching Value. This is to - account for different local and remote window - sizes."; - } - leaf value { - type uint64; - description "Breaching value (If applicable)"; - } - leaf running-total { - type uint64; - description - "The running total number of errors seen since - OAM was enabled on the interface(If applicable)"; - } - leaf window-config-units { - type uint64; - description - "The window in the units that are currently - configured"; - } - leaf window-units { - type uint8; - description - "The units in which the window size is configured - ."; - } - leaf threshold-config-units { - type uint64; - description - "The threshold in the units that are currently - configured"; - } - leaf threshold-units { - type uint8; - description - "The units in which the threshold size is - configured."; - } - leaf local-high-threshold-config-units { - type uint64; - description - "The local high threshold in the units that are - currently configured"; - } - leaf value-config-units { - type uint64; - description - "The breaching value in the units that are - currently configured"; - } - } - - grouping ELOD-SUMMARY-INFO { - description - "Summary information for all 802.3 OAM sessions on - a node"; - leaf interfaces { - type uint32; - description - "The number of interfaces with 802.3 OAM - configured"; - } - leaf port-down { - type uint32; - description "The number of interfaces in 'Port Down' state"; - } - leaf passive-wait { - type uint32; - description - "The number of interfaces in 'Passive Wait' state"; - } - leaf active-send { - type uint32; - description "The number of interfaces in 'Active Send' state"; - } - leaf evaluating { - type uint32; - description "The number of interfaces in 'Evaluating' state"; - } - leaf local-accept { - type uint32; - description - "The number of interfaces in 'Local Accept' state"; - } - leaf local-reject { - type uint32; - description - "The number of interfaces in 'Local Reject' state"; - } - leaf remote-reject { - type uint32; - description - "The number of interfaces in 'Remote Reject' - state"; - } - leaf operational { - type uint32; - description "The number of interfaces in 'Operational' state"; - } - leaf loopback-mode { - type uint32; - description "The number of interfaces in loopback mode"; - } - leaf miswired-connections { - type uint32; - description "The number of miswired connections"; - } - leaf events { - type uint64; - description "The number of events recorded"; - } - leaf local-events { - type uint64; - description "The number of local events recorded"; - } - leaf local-symbol-period { - type uint64; - description - "The number of local symbol period events - recorded"; - } - leaf local-frame { - type uint64; - description "The mumber of local frame error events recorded"; - } - leaf local-frame-period { - type uint64; - description - "The number of local frame period events recorded"; - } - leaf local-frame-seconds { - type uint64; - description "The number of local frame second events recoded"; - } - leaf remote-events { - type uint64; - description "The number of remote events recorded"; - } - leaf remote-symbol-period { - type uint64; - description - "The number of remote symbol period events - recorded"; - } - leaf remote-frame { - type uint64; - description - "The mumber of remote frame error events recorded"; - } - leaf remote-frame-period { - type uint64; - description - "The number of remote frame period events - recorded"; - } - leaf remote-frame-seconds { - type uint64; - description - "The number of remote frame second events recoded"; - } - } - - grouping ELOD-RUNNING-CONFIG { - description - "The configuration currently running on an - interface"; - leaf fast-hello-interval-enabled { - type boolean; - description "Is 100ms hello interval time enabled?"; - } - leaf link-monitor-enabled { - type boolean; - description "Is link monitoring enabled?"; - } - leaf remote-loopback-enabled { - type boolean; - description "Is remote loopback enabled?"; - } - leaf mib-retrieval-enabled { - type boolean; - description "Is MIB retrieval enabled?"; - } - leaf udlf-enabled { - type boolean; - description - "Is uni-directional link-fault detection enabled?"; - } - leaf mode { - type Mode; - description "Configured mode"; - } - leaf connection-timeout { - type uint8; - description "Connection timeout"; - } - leaf symbol-period-window { - type uint32; - description "Symbol period event window size"; - } - leaf symbol-period-window-units { - type uint8; - description "Symbol period event window units"; - } - leaf symbol-period-window-multiplier { - type uint8; - description "Symbol period event window multiplier"; - } - leaf symbol-period-threshold-low { - type uint64; - description "Symbol period event low threshold"; - } - leaf symbol-period-threshold-high { - type uint64; - description "Symbol period event high threshold"; - } - leaf symbol-period-threshold-units { - type uint8; - description "Symbol period event threshold units"; - } - leaf symbol-period-threshold-low-multiplier { - type uint8; - description "Symbol period event threshold low multiplier"; - } - leaf symbol-period-threshold-high-multiplier { - type uint8; - description "Symbol period event threshold high multiplier"; - } - leaf frame-window { - type uint32; - description "Frame event window size"; - } - leaf frame-threshold-low { - type uint64; - description "Frame event low threshold"; - } - leaf frame-threshold-high { - type uint64; - description "Frame event high threshold"; - } - leaf frame-threshold-low-multiplier { - type uint8; - description "Frame period event threshold low multiplier"; - } - leaf frame-threshold-high-multiplier { - type uint8; - description "Frame event threshold high multiplier"; - } - leaf frame-period-window { - type uint32; - description "Frame period event window size"; - } - leaf frame-period-window-units { - type uint8; - description "Frame period event window units"; - } - leaf frame-period-window-multiplier { - type uint8; - description "Frame period event window multiplier"; - } - leaf frame-period-threshold-low { - type uint64; - description "Frame period event low threshold"; - } - leaf frame-period-threshold-high { - type uint64; - description "Frame period event high threshold"; - } - leaf frame-period-threshold-units { - type uint8; - description "Frame period event threshold units"; - } - leaf frame-period-threshold-low-multiplier { - type uint8; - description "Frame period event threshold low multiplier"; - } - leaf frame-period-threshold-high-multiplier { - type uint8; - description "Frame period event threshold high multiplier"; - } - leaf frame-seconds-window { - type uint32; - units "second"; - description "Frame seconds event high threshold"; - } - leaf frame-seconds-threshold-low { - type uint64; - units "second"; - description "Frame seconds event high threshold"; - } - leaf frame-seconds-threshold-high { - type uint64; - units "second"; - description "Frame seconds event high threshold"; - } - leaf high-threshold-action { - type Action; - description - "Action to perform when a high threshold is - breached"; - } - leaf link-fault-action { - type Action; - description "Action to perform when a link fault occurs"; - } - leaf dying-gasp-action { - type Action; - description "Action to perform when a dying gasp occurs"; - } - leaf critical-event-action { - type Action; - description "Action to perform when a critical event occurs"; - } - leaf discovery-timeout-action { - type Action; - description - "Action to perform when a discovery timeout - occurs"; - } - leaf capabilities-conflict-action { - type Action; - description - "Action to perform when a capabilities conflict - occurs"; - } - leaf wiring-conflict-action { - type Action; - description "Action to perform when a wiring conflict occurs"; - } - leaf session-up-action { - type Action; - description "Action to perform when a session comes up"; - } - leaf session-down-action { - type Action; - description "Action to perform when a session comes down"; - } - leaf remote-loopback-action { - type Action; - description - "Action to perform when a session enters or exits - remote loopback"; - } - leaf require-remote-mode { - type Mode; - description "The mode that is required of the remote peer"; - } - leaf require-remote-mib-retrieval { - type boolean; - description - "Require the remote peer to support MIB retrieval"; - } - leaf require-loopback { - type boolean; - description - "Require the remote peer to support loopback mode"; - } - leaf require-link-monitoring { - type boolean; - description - "Require the remote peer to support link - monitoring"; - } - leaf fast-hello-interval-enabled-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf link-monitoring-enabled-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf remote-loopback-enabled-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf mib-retrieval-enabled-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf udlf-enabled-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf mode-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf connection-timeout-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf symbol-period-window-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf symbol-period-threshold-low-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf symbol-period-threshold-high-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-window-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-threshold-low-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-threshold-high-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-period-window-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-period-threshold-low-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-period-threshold-high-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-seconds-window-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-seconds-threshold-low-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf frame-seconds-threshold-high-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf high-threshold-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf link-fault-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf dying-gasp-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf critical-event-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf discovery-timeout-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf capabilities-conflict-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf wiring-conflict-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf session-down-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf session-up-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf remote-loopback-action-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf require-mode-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf require-mib-retrieval-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf require-loopback-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - leaf require-link-monitoring-overridden { - type boolean; - description - "Is this configuration information an interface - override?"; - } - } - - grouping EFD-TRIGGERS { - description - "Triggers currently causing the interface to be - brought down using EFD"; - leaf link-fault-received { - type boolean; - description "Link-fault messages being received"; - } - leaf discovery-timed-out { - type boolean; - description "The discovery process has timed out"; - } - leaf capabilities-conflict { - type boolean; - description "A capabilities conflict has been detected"; - } - leaf wiring-conflict { - type boolean; - description "A wiring conflict has been detected"; - } - leaf session-down { - type boolean; - description "The 802.3 OAM session is down"; - } - } - - grouping ELOD-ERRORS { - description - "Most recent error information for an 802.3 OAM - interface"; - leaf pfi-reason { - type string; - description - "Reason for the Interface Management error (if - applicable)"; - } - leaf pfi-error-code { - type uint32; - description "The Interface Management error/success code"; - } - leaf platform-reason { - type string; - description "Reason for the platform error (if applicable)"; - } - leaf platform-error-code { - type uint32; - description "The platform error/success code"; - } - leaf spio-reason { - type string; - description "Reason for the Packet I/O error (if applicable)"; - } - leaf spio-error-code { - type uint32; - description "The Packet I/O error/success code"; - } - leaf epi-reason { - type string; - description "Reason for the Packet error (if applicable)"; - } - leaf epi-error-code { - type uint32; - description "The Packet error/success code"; - } - leaf caps-add-reason { - type string; - description "Reason for the caps add error (if applicable)"; - } - leaf caps-add-error-code { - type uint32; - description "The caps add error/success code"; - } - } - - grouping ELOD-INTERFACE-STATE { - description "The state of an 802.3 OAM interface"; - - container errors { - description "The errors that have occurred on this interface"; - uses ELOD-ERRORS; - } - - container efd-triggers { - description "Any present EFD triggers"; - uses EFD-TRIGGERS; - } - leaf protocol-code { - type Protocol-state; - description "The state the protocol is in"; - } - leaf rx-fault { - type boolean; - description "Has a uni-directional link-fault been detected?"; - } - leaf local-mwd-key { - type uint32; - description "The local MWD key"; - } - leaf remote-mwd-key-present { - type boolean; - description "Does the remote side have an MWD key?"; - } - leaf remote-mwd-key { - type uint32; - description "The remote MWD key"; - } - } - - grouping ELOD-DISCOVERY-INFO { - description "The results of a 'get discovery info' query"; - leaf name { - type string; - description "Interface Name"; - } - leaf operational-status { - type Operational-state; - description "Operational status"; - } - leaf loopback-mode { - type Loopback-status; - description "The loopback mode the interface is in"; - } - leaf local-mode { - type Mode; - description "Local Mode (passive/active)"; - } - leaf miswired { - type boolean; - description "Has the interface mis-wired?"; - } - leaf local-mwd-key { - type uint32; - description "Local Mis-wiring Detection key"; - } - leaf local-function-unidirectional { - type boolean; - description "Local Unidirectional support"; - } - leaf local-function-loopback { - type boolean; - description "Local loopback support"; - } - leaf local-function-event { - type boolean; - description "Local event support"; - } - leaf local-functionvariable { - type boolean; - description "Local variable retreival support"; - } - leaf local-revision { - type uint32; - description "Local revision"; - } - leaf local-mtu { - type uint32; - description "Local MTU"; - } - leaf local-operational { - type boolean; - description "Is the local OAM session operational?"; - } - leaf local-evaluating { - type boolean; - description "Is the local OAM session evaluating?"; - } - leaf remote-mode { - type Mode; - description "Remote Mode (passive/active)"; - } - leaf remote-unidirectional { - type boolean; - description "Remote unidirectional support"; - } - leaf remote-loopback { - type boolean; - description "Remote loopback support"; - } - leaf remote-event { - type boolean; - description "Remote event support"; - } - leaf remote-variable { - type boolean; - description "Remote variable retreival support"; - } - leaf remote-mtu { - type uint32; - description "Remote MTU"; - } - leaf remote-mac-address { - type yang:mac-address; - description "Remote MAC address"; - } - leaf remote-vendor-oui { - type yang:hex-string; - description "Remote vendor OUI"; - } - leaf remote-revision { - type uint16; - description "Remote revision"; - } - leaf remote-vendor-info { - type uint32; - description "Remote vendor info"; - } - leaf remote-mwd-key { - type uint32; - description "Remote Mis-wiring Detection key"; - } - leaf operational-status-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf loopback-mode-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-mode-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf miswired-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-mwd-key-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-function-unidirectional-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-function-loopback-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-function-event-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-functionvariable-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-revisionvalid { - type boolean; - description "Has this value been received successfully?"; - } - leaf local-mtu-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-mode-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-unidirectional-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-loopback-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-event-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-variable-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-mtu-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-mac-address-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-vendor-oui-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-revisionvalid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-vendor-info-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf remote-mwd-key-valid { - type boolean; - description "Has this value been received successfully?"; - } - leaf received-at-risk-notification-timestamp { - type uint64; - units "second"; - description - "Timestamp of when the last At Risk notification - was received (in seconds since the UNIX epoch), - or 0 if the peer is not currently at risk"; - } - leaf received-at-risk-notification-time-remaining { - type uint16; - units "second"; - description - "Number of seconds remaining that the peer has - indicated it will be At Risk"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper.yang deleted file mode 100644 index 52334df..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-link-oam-oper.yang +++ /dev/null @@ -1,180 +0,0 @@ -module Cisco-IOS-XR-ethernet-link-oam-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ethernet-link-oam-oper"; - - - prefix "ethernet-link-oam-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ethernet-link-oam-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-link-oam package operational data. - - This module contains definitions - for the following management objects: - ether-link-oam: Ethernet Link OAM operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ether-link-oam { - config false; - description "Ethernet Link OAM operational data"; - - container discovery-info-interfaces { - description - "Table of Ethernet Link OAM enabled interfaces - within Discovery Info container"; - - list discovery-info-interface { - key "member-interface"; - description - "Ethernet Link OAM interface to get Discovery - Info for"; - leaf member-interface { - type xr:Interface-name; - description "Member Interface"; - } - uses ELOD-DISCOVERY-INFO; - } - } - - container interface-state-interfaces { - description - "Table of Ethernet Link OAM enabled interfaces - within Interface State container"; - - list interface-state-interface { - key "member-interface"; - description - "Ethernet Link OAM interface to get Interface - State for"; - leaf member-interface { - type xr:Interface-name; - description "Member Interface"; - } - uses ELOD-INTERFACE-STATE; - } - } - - container running-config-interfaces { - description - "Table of Ethernet Link OAM enabled interfaces - within Running Config container"; - - list running-config-interface { - key "member-interface"; - description - "Ethernet Link OAM interface to get Running - Config for"; - leaf member-interface { - type xr:Interface-name; - description "Member Interface"; - } - uses ELOD-RUNNING-CONFIG; - } - } - - container nodes { - description "Node table for node-specific operational data"; - - list node { - key "node-name"; - description "Node-specific data for a particular node"; - - container summary { - description - "Ethernet Link OAM Summary information for the - entire node"; - uses ELOD-SUMMARY-INFO; - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - - container event-log-entry-interfaces { - description - "Table of Ethernet Link OAM enabled interfaces - within Event Log Entry container"; - - list event-log-entry-interface { - key "member-interface"; - description - "Ethernet Link OAM enabled interface to get - Event Log Entry for"; - - container event-log-entry-indexes { - description - "Table of Ethernet Link OAM Event Log entries - on the interface"; - - list event-log-entry-index { - key "event-log-entry-index"; - description - "Ethernet Link OAM Event Log Entry Index to - get data for"; - leaf event-log-entry-index { - type xr:Cisco-ios-xr-string; - description "Event Log Entry index"; - } - uses ELOD-LOG-ENTRY; - } - } - leaf member-interface { - type xr:Interface-name; - description "Member Interface"; - } - } - } - - container stats-interfaces { - description - "Table of Ethernet Link OAM enabled interfaces - within Stats container"; - - list stats-interface { - key "member-interface"; - description "Ethernet Link OAM interface to get Stats for"; - leaf member-interface { - type xr:Interface-name; - description "Member Interface"; - } - uses ELOD-STATS; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-cfg.yang deleted file mode 100644 index 1e305b4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-cfg.yang +++ /dev/null @@ -1,193 +0,0 @@ -module Cisco-IOS-XR-ethernet-lldp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ethernet-lldp-cfg"; - - - prefix "ethernet-lldp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-lldp package configuration. - - This module contains definitions - for the following management objects: - lldp: Enable LLDP, or configure global LLDP subcommands - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lldp { - description "Enable LLDP, or configure global LLDP subcommands"; - - container tlv-select { - presence "Indicates a tlv-select node is configured."; - description "Selection of LLDP TLVs to disable"; - - container system-name { - description "System Name TLV"; - leaf disable { - type boolean; - default "false"; - description "disable System Name TLV"; - } - } - - container port-description { - description "Port Description TLV"; - leaf disable { - type boolean; - default "false"; - description "disable Port Description TLV"; - } - } - - container system-description { - description "System Description TLV"; - leaf disable { - type boolean; - default "false"; - description "disable System Description TLV"; - } - } - - container system-capabilities { - description "System Capabilities TLV"; - leaf disable { - type boolean; - default "false"; - description "disable System Capabilities TLV"; - } - } - - container management-address { - description "Management Address TLV"; - leaf disable { - type boolean; - default "false"; - description "disable Management Address TLV"; - } - } - leaf tlv-select-enter { - type boolean; - mandatory true; - description "enter lldp tlv-select submode"; - } - } - leaf holdtime { - type uint32 { - range "0..65535"; - } - description - "Length of time (in sec) that receiver must - keep this packet"; - } - leaf extended-show-width { - type boolean; - default "false"; - description - "Enable or disable LLDP Show LLDP Neighbor - Extended Width"; - } - leaf enable-subintf { - type boolean; - default "false"; - description - "Enable or disable LLDP on Sub-interfaces as well - globally"; - } - leaf timer { - type uint32 { - range "5..65534"; - } - default "30"; - description - "Specify the rate at which LLDP packets are sent - (in sec)"; - } - leaf reinit { - type uint32 { - range "2..5"; - } - default "2"; - description - "Delay (in sec) for LLDP initialization on any - interface"; - } - leaf enable { - type boolean; - default "false"; - description "Enable or disable LLDP globally"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container lldp { - presence "Indicates a lldp node is configured."; - description "Disable LLDP TX or RX"; - - container transmit { - description "Disable LLDP TX"; - leaf disable { - type boolean; - default "false"; - description "disable LLDP TX"; - } - } - - container receive { - description "Disable LLDP RX"; - leaf disable { - type boolean; - default "false"; - description "disable LLDP RX"; - } - } - leaf lldp-intf-enter { - type boolean; - mandatory true; - description "enter LLDP interface submode"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang deleted file mode 100644 index ec06a74..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang +++ /dev/null @@ -1,390 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-lldp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ethernet-lldp-oper { - prefix Cisco-IOS-XR-ethernet-lldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-lldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef In6-addr { - type inet:ipv6-address; - description "In6 addr"; - } - typedef Lldp-l3-addr-protocol { - type enumeration { - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - } - description "Lldp l3 addr protocol"; - } - - grouping LLDP-STATS { - description "LLDP statistics"; - leaf transmitted-packets { - type uint32; - description "Transmitted packets"; - } - leaf aged-out-entries { - type uint32; - description "Aged out entries"; - } - leaf discarded-packets { - type uint32; - description "Discarded packets"; - } - leaf bad-packets { - type uint32; - description "Bad packet received and dropped"; - } - leaf received-packets { - type uint32; - description "Received packets"; - } - leaf discarded-tl-vs { - type uint32; - description "Discarded TLVs"; - } - leaf unrecognized-tl-vs { - type uint32; - description "Unrecognized TLVs"; - } - leaf out-of-memory-errors { - type uint32; - description "Out-of-memory conditions"; - } - leaf encapsulation-errors { - type uint32; - description "Transmission errors"; - } - leaf queue-overflow-errors { - type uint32; - description "Queue overflows"; - } - leaf table-overflow-errors { - type uint32; - description "Table overflows"; - } - } - - grouping LLDP-INTERFACE { - description - "Information about an interface that LLDP is - running on"; - - container local-network-addresses { - description "Local Management Addresses"; - uses LLDP-ADDRESS-ENTRY; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf tx-enabled { - type uint8; - description "TX Enabled"; - } - leaf rx-enabled { - type uint8; - description "RX Enabled"; - } - leaf tx-state { - type string; - description "TX State"; - } - leaf rx-state { - type string; - description "RX State"; - } - leaf if-index { - type uint32; - description "ifIndex"; - } - leaf port-id { - type string; - description "Outgoing port identifier"; - } - leaf port-id-sub-type { - type uint8; - description "Port ID sub type"; - } - leaf port-description { - type string; - description "Port Description"; - } - } - - grouping LLDP-ORG-DEF-TLV-ENTRY { - description "LLDP Org Def TLV entry"; - - list lldp-org-def-tlv-entry { - description "lldp org def tlv entry"; - leaf oui { - type uint32; - description "Organizationally Unique Identifier"; - } - leaf tlv-subtype { - type uint8; - description "Org Def TLV subtype"; - } - leaf tlv-info-indes { - type uint32; - description "lldpRemOrgDefInfoIndex"; - } - leaf tlv-value { - type yang:hex-string; - description "Org Def TLV payload"; - } - } - } - - grouping LLDP-UNKNOWN-TLV-ENTRY { - description "LLDP Unknown TLV entry"; - - list lldp-unknown-tlv-entry { - description "lldp unknown tlv entry"; - leaf tlv-type { - type uint8; - description "Unknown TLV type"; - } - leaf tlv-value { - type yang:hex-string; - description "Unknown TLV payload"; - } - } - } - - grouping LLDP-NEIGHBOR-ENTRY-MIB-DETAILS { - description "MIB neighbor info"; - - container unknown-tlv-list { - description "Unknown TLV list"; - uses LLDP-UNKNOWN-TLV-ENTRY; - } - - container org-def-tlv-list { - description "Org Def TLV list"; - uses LLDP-ORG-DEF-TLV-ENTRY; - } - leaf rem-time-mark { - type uint32; - description "TimeFilter"; - } - leaf rem-local-port-num { - type uint32; - description "LldpPortNumber"; - } - leaf rem-index { - type uint32; - description "lldpRemIndex"; - } - leaf chassis-id-sub-type { - type uint8; - description "Chassis ID sub type"; - } - leaf chassis-id-len { - type uint16; - description "Chassis ID length"; - } - leaf port-id-sub-type { - type uint8; - description "Port ID sub type"; - } - leaf port-id-len { - type uint16; - description "Port ID length"; - } - leaf combined-capabilities { - type uint32; - description "Supported and combined cpabilities"; - } - } - - grouping LLDP-L3-ADDR { - description "LLDP L3 ADDR"; - leaf address-type { - type Lldp-l3-addr-protocol; - description "AddressType"; - } - leaf ipv4-address { - when "../address-type = 'ipv4'" { - description "../AddressType = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../address-type = 'ipv6'" { - description "../AddressType = 'IPv6'"; - } - type In6-addr; - description "IPv6 address"; - } - } - - grouping LLDP-ADDRESS-ENTRY { - description "LLDP Address entry"; - - list lldp-addr-entry { - description "lldp addr entry"; - - container address { - description "Network layer address"; - uses LLDP-L3-ADDR; - } - leaf ma-subtype { - type uint8; - description "MA sub type"; - } - leaf if-num { - type uint32; - description "Interface num"; - } - } - } - - grouping LLDP-NEIGHBOR-ENTRY-DETAILS { - description "Detailed neighbor info"; - - container network-addresses { - description "Management Addresses"; - uses LLDP-ADDRESS-ENTRY; - } - leaf peer-mac-address { - type yang:mac-address; - description "Peer Mac Address"; - } - leaf port-description { - type string; - description "Port Description"; - } - leaf system-name { - type string; - description "System Name"; - } - leaf system-description { - type string; - description "System Description"; - } - leaf time-remaining { - type uint32; - description "Time remaining"; - } - leaf system-capabilities { - type string; - description "System Capabilities"; - } - leaf enabled-capabilities { - type string; - description "Enabled Capabilities"; - } - leaf auto-negotiation { - type string; - description "Auto Negotiation"; - } - leaf physical-media-capabilities { - type string; - description "Physical media capabilities"; - } - leaf media-attachment-unit-type { - type uint32; - description "Media Attachment Unit type"; - } - leaf port-vlan-id { - type uint32; - description "Vlan ID"; - } - } - - grouping LLDP-NEIGHBOR { - description "LLDP neighbor info"; - - list lldp-neighbor { - description "lldp neighbor"; - - container detail { - description "Detailed neighbor info"; - uses LLDP-NEIGHBOR-ENTRY-DETAILS; - } - - container mib { - description "MIB nieghbor info"; - uses LLDP-NEIGHBOR-ENTRY-MIB-DETAILS; - } - leaf receiving-interface-name { - type xr:Interface-name; - description "Interface the neighbor entry was received on "; - } - leaf receiving-parent-interface-name { - type xr:Interface-name; - description - "Parent Interface the neighbor entry was - received on "; - } - leaf device-id { - type string; - description "Device identifier"; - } - leaf chassis-id { - type string; - description "Chassis id"; - } - leaf port-id-detail { - type string; - description "Outgoing port identifier"; - } - leaf header-version { - type uint8; - description "Version number"; - } - leaf hold-time { - type uint16; - description "Remaining hold time"; - } - leaf enabled-capabilities { - type string; - description "Enabled Capabilities"; - } - leaf platform { - type string; - description "Platform type"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang deleted file mode 100644 index 9b7571b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang +++ /dev/null @@ -1,68 +0,0 @@ -submodule Cisco-IOS-XR-ethernet-lldp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ethernet-lldp-oper { - prefix Cisco-IOS-XR-ethernet-lldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ethernet-lldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping LLDP-MGR-GLOBAL-INFO { - description "LLDP global info"; - leaf chassis-id { - type string; - description "Chassis identifier"; - } - leaf chassis-id-sub-type { - type uint8; - description "Chassis ID sub type"; - } - leaf system-name { - type string; - description "System Name"; - } - leaf timer { - type uint32; - description "Rate at which LLDP packets re sent (in sec)"; - } - leaf hold-time { - type uint32; - description - "Length of time (in sec)that receiver must keep - thispacket"; - } - leaf re-init { - type uint32; - description - "Delay (in sec) for LLDPinitialization on - anyinterface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper.yang deleted file mode 100644 index 8f7511f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ethernet-lldp-oper.yang +++ /dev/null @@ -1,168 +0,0 @@ -module Cisco-IOS-XR-ethernet-lldp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ethernet-lldp-oper"; - - - prefix "ethernet-lldp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ethernet-lldp-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ethernet-lldp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ethernet-lldp package operational data. - - This module contains definitions - for the following management objects: - lldp: Link Layer Discovery Protocol operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lldp { - config false; - description "Link Layer Discovery Protocol operational data"; - - container global-lldp { - description "Global LLDP data"; - - container lldp-info { - description "The LLDP Global Information of this box"; - uses LLDP-MGR-GLOBAL-INFO; - } - } - - container nodes { - description "Per node LLDP operational data"; - - list node { - key "node-name"; - description - "The LLDP operational data for a particular node"; - - container neighbors { - description "The LLDP neighbor tables on this node"; - - container devices { - description - "The detailed LLDP neighbor table on this - device"; - - list device { - description - "Detailed information about a LLDP neighbor - entry"; - leaf device-id { - type string; - description "The neighboring device identifier"; - } - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses LLDP-NEIGHBOR; - } - } - - container details { - description "The detailed LLDP neighbor table"; - - list detail { - description - "Detailed information about a LLDP neighbor - entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf device-id { - type string; - description "The neighboring device identifier"; - } - uses LLDP-NEIGHBOR; - } - } - - container summaries { - description "The LLDP neighbor summary table"; - - list summary { - description - "Brief information about a LLDP neighbor - entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf device-id { - type string; - description "The neighboring device identifier"; - } - uses LLDP-NEIGHBOR; - } - } - } - - container interfaces { - description - "The table of interfaces on which LLDP is - running on this node"; - - list interface { - key "interface-name"; - description - "Operational data for an interface on which - LLDP is running"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses LLDP-INTERFACE; - } - } - - container statistics { - description "The LLDP traffic statistics for this node"; - uses LLDP-STATS; - } - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper-sub1.yang deleted file mode 100644 index 67da28b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper-sub1.yang +++ /dev/null @@ -1,1236 +0,0 @@ -submodule Cisco-IOS-XR-evpn-oper-sub1 { - - belongs-to Cisco-IOS-XR-evpn-oper { - prefix Cisco-IOS-XR-evpn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR evpn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2vpn-evpn-sc-mode { - type enumeration { - enum invalid { - description "Invalid service carving mode"; - } - enum auto { - description "Auto service carving mode"; - } - enum manual { - description "Manual service carving"; - } - } - description "EVPN Ethernet-Segment service carving mode"; - } - typedef L2vpn-evpn-smac-src { - type enumeration { - enum invalid { - description "Incomplete Configuration"; - } - enum not-applicable { - description "Source MAC Not Applicable (EVPN)"; - } - enum local { - description "Local"; - } - enum pbb-bsa { - description "PBB BSA"; - } - enum esi { - description "From ESI"; - } - enum esi-invalid { - description "From ESI, Error"; - } - enum pbb-bsa-overrride { - description "PBB BSA, no ESI"; - } - } - description "L2vpn evpn smac src"; - } - typedef L2vpn-evpn-lb-mode { - type enumeration { - enum invalid-load-balancing { - description "Invalid load balancing"; - } - enum single-homed { - description "Single-homed site or network"; - } - enum multi-homed-aa-per-flow { - description - "Multi-homed access network active/active per - flow"; - } - enum multi-homed-aa-per-service { - description - "Multi-homed access network active/active per - service"; - } - } - description "L2VPN EVPN load balancing mode"; - } - typedef L2vpn-evpn-mf-mode { - type enumeration { - enum invalid { - description "Invalid MAC Flushing mode"; - } - enum tcn-stp { - description "TCN STP MAC Flushing mode"; - } - enum mvrp { - description "MVRP MAC Flushing mode"; - } - } - description "L2VPN EVPN MAC flushing mode"; - } - typedef L2vpn-evpn-rt-origin { - type enumeration { - enum invalid { - description "Incomplete Configuration"; - } - enum extracted { - description "From ESI"; - } - enum configured { - description "Locally configured"; - } - } - description "L2vpn evpn rt origin"; - } - typedef L2vpn-rg-role { - type enumeration { - enum l2vpn-rg-role-not-defined { - description "l2vpn rg role not defined"; - } - enum l2vpn-rg-role-active { - description "l2vpn rg role active"; - } - enum l2vpn-rg-role-standby { - description "l2vpn rg role standby"; - } - enum l2vpn-rg-role-max { - description "l2vpn rg role max"; - } - } - description "L2vpn rg role"; - } - typedef L2vpn-evpn-esi { - type enumeration { - enum esi-type0 { - value 0; - description "ESI type zero"; - } - enum esi-type1 { - value 1; - description "ESI type one"; - } - enum esi-type2 { - value 2; - description "ESI type two"; - } - enum esi-type3 { - value 3; - description "ESI type three"; - } - enum esi-type4 { - value 4; - description "ESI type four"; - } - enum esi-type5 { - value 5; - description "ESI type five"; - } - enum l2vpn-evpn-esi-type-legacy { - value 128; - description "ESI type legacy"; - } - enum l2vpn-evpn-esi-type-override { - value 129; - description "ESI type override (10-octet value)"; - } - enum esi-type-invalid { - value 255; - description "ESI type invalid"; - } - } - description "EVPN ESI types"; - } - typedef L2vpn-ad-rt-role { - type enumeration { - enum both { - value 0; - description "Both"; - } - enum import { - value 1; - description "Import"; - } - enum export { - value 2; - description "Export"; - } - } - description "L2vpn ad rt role"; - } - typedef L2vpn-ad-rt { - type enumeration { - enum l2vpn-ad-rt-none { - value 0; - description "Route target not set"; - } - enum l2vpn-ad-rt-as { - value 1; - description "Route Target with 2 Byte AS number"; - } - enum l2vpn-ad-rt-4byte-as { - value 2; - description "Route Target with 4 Byte AS number"; - } - enum l2vpn-ad-rt-v4-addr { - value 3; - description "Route Target with IPv4 Address"; - } - enum es-import { - value 1538; - description "Ethernet Segment Route Target from BGP"; - } - } - description "L2vpn ad rt"; - } - typedef L2vpn-ad-rd { - type enumeration { - enum l2vpn-ad-rd-none { - value 0; - description "Route Distinguisher not set"; - } - enum l2vpn-ad-rd-auto { - value 1; - description "Route Distinguisher auto-generated"; - } - enum l2vpn-ad-rd-as { - value 2; - description "Route Distinguisher with 2 Byte AS number"; - } - enum l2vpn-ad-rd-4byte-as { - value 3; - description "Route Distinguisher with 4 Byte AS number"; - } - enum l2vpn-ad-rd-v4-addr { - value 4; - description "Route Distinguisher with IPv4 Address"; - } - } - description "L2vpn ad rd"; - } - typedef L2vpn-evpn { - type enumeration { - enum evpn-type-invalid { - description "Unspecify type for that EVI entry"; - } - enum evpn-type-evpn { - description "EVPN service type"; - } - enum evpn-type-pbb-evpn { - description "PBB EVPN service type"; - } - enum evpn-type-evpn-vpws-vlan-unaware { - description "EVPN VPWS vlan-unaware service type"; - } - enum evpn-type-evpn-vpws-vlan-aware { - description "EVPN VPWS vlan-aware service type"; - } - enum evpn-type-max { - description "Max EVPN type"; - } - } - description "L2vpn evpn"; - } - - grouping L2VPN-EVPN-REMOTE-SHG-INFO { - description "L2VPN EVPN remote split horizon group labels"; - leaf next-hop { - type inet:ipv6-address; - description "Next-hop IP address (v6 format)"; - } - leaf label { - type uint32; - description - "Split horizon label associated with next-hop - address"; - } - } - - grouping L2VPN-EVPN-EAD-SERVICE-INFO { - description "L2VPN EVPN EAD Ethernet Tag"; - leaf vpn-id { - type uint32; - description "VPN ID"; - } - leaf type { - type L2vpn-evpn; - description "Service Type"; - } - leaf ethernet-tag { - type uint32; - description "Ethernet Tag"; - } - } - - grouping L2VPN-EVPN-ES-NH-BUFFER { - description - "L2VPN EVPN Ethernet Segment (ES) nexthops - information"; - leaf next-hop { - type inet:ipv6-address; - description "Next-hop IP address (v6 format)"; - } - } - - grouping L2VPN-EVPN-ES { - description "EVPN Ethernet Segment (ES) database information"; - leaf esi-type { - type L2vpn-evpn-esi; - description "ESI Type"; - } - leaf ethernet-segment-name { - type string; - description "Ethernet Segment Name"; - } - leaf ethernet-segment-state { - type uint32; - description "State of the ethernet segment"; - } - leaf if-handle { - type xr:Interface-name; - description "Main port ifhandle"; - } - leaf main-port-role { - type L2vpn-rg-role; - description "Main port redundancy group role"; - } - leaf main-port-mac { - type yang:mac-address; - description "Main Port MAC Address"; - } - leaf num-up-p-ws { - type uint32; - description "Number of PWs in Up state"; - } - leaf route-target { - type yang:mac-address; - description "ES-Import Route Target"; - } - leaf rt-origin { - type L2vpn-evpn-rt-origin; - description "Origin of operational ES-Import RT"; - } - leaf es-bgp-gates { - type string; - description "ES BGP Gates"; - } - leaf es-l2fib-gates { - type string; - description "ES L2FIB Gates"; - } - leaf mac-flushing-mode-config { - type L2vpn-evpn-mf-mode; - description "Configured MAC Flushing mode"; - } - leaf load-balance-mode-config { - type L2vpn-evpn-lb-mode; - description "Configured load balancing mode"; - } - leaf load-balance-mode-is-default { - type boolean; - description "Load balancing mode is default"; - } - leaf load-balance-mode-oper { - type L2vpn-evpn-lb-mode; - description "Operational load balancing mode"; - } - leaf force-single-home { - type boolean; - description "Ethernet-Segment forced to single home"; - } - leaf source-mac-oper { - type yang:mac-address; - description "Operational Source MAC address"; - } - leaf source-mac-origin { - type L2vpn-evpn-smac-src; - description "Origin of operational source MAC address"; - } - leaf peering-timer { - type uint32; - units "second"; - description - "Configured timer for triggering DF election - (seconds)"; - } - leaf peering-timer-left { - type uint32; - units "millisecond"; - description "Milliseconds left on DF election timer"; - } - leaf recovery-timer { - type uint32; - units "second"; - description "Configured timer for (STP) recovery (seconds)"; - } - leaf recovery-timer-left { - type uint32; - units "millisecond"; - description "Milliseconds left on (STP) recovery timer"; - } - leaf service-carving-mode { - type L2vpn-evpn-sc-mode; - description "Service carving mode"; - } - leaf primary-services-input { - type string; - description "Input string of Primary services ESI/I-SIDs"; - } - leaf secondary-services-input { - type string; - description "Input string of Secondary services ESI/I-SIDs"; - } - leaf forwarder-ports { - type uint32; - description "Count of Forwarders (AC, AC PW, VFI PW)"; - } - leaf permanent-forwarder-ports { - type uint32; - description "Count of Forwarders with permanent service"; - } - leaf elected-forwarder-ports { - type uint32; - description "Count of Forwarders with elected service"; - } - leaf not-elected-forwarder-ports { - type uint32; - description "Count of Forwarders with not elected service"; - } - leaf not-config-forwarder-ports { - type uint32; - description - "Count of forwarders with missing config detected"; - } - leaf mp-protected { - type boolean; - description "MP is protected and not under EVPN control"; - } - leaf nve-anycast-vtep { - type boolean; - description "Anycast VTEP mode on NVE main-interface"; - } - leaf nve-ingress-replication { - type boolean; - description - "Ingress-Replication is configured on NVE - main-interface"; - } - leaf local-split-horizon-group-label { - type uint32; - description "Local split horizon group label"; - } - list ethernet-segment-identifier { - description "Ethernet Segment id"; - leaf entry { - type uint8; - } - } - list primary-service { - description "List of Primary services ESI/I-SIDs"; - leaf entry { - type uint32; - } - } - list secondary-service { - description "List of Secondary services ESI/I-SIDs"; - leaf entry { - type uint32; - } - } - list service-carving-i-sidelected-result { - description "Elected ISID service carving results"; - leaf entry { - type uint32; - } - } - list service-carving-isid-not-elected-result { - description "Not elected ISID service carving results"; - leaf entry { - type uint32; - } - } - list service-carving-evi-elected-result { - description "Elected EVI service carving results"; - leaf entry { - type uint32; - } - } - list service-carving-evi-not-elected-result { - description "Not elected EVI service carving results"; - leaf entry { - type uint32; - } - } - - list next-hop { - description "List of nexthop IPv6 addresses"; - uses L2VPN-EVPN-ES-NH-BUFFER; - } - - list service-carving-vpws-permanent-result { - description "Permanent EVPN VPWS service carving results"; - uses L2VPN-EVPN-EAD-SERVICE-INFO; - } - - list remote-split-horizon-group-label { - description "Remote split horizon group labels"; - uses L2VPN-EVPN-REMOTE-SHG-INFO; - } - } - - grouping L2VPN-EVPN-MAC { - description "L2VPN EVPN MAC database information"; - leaf ethernet-tag-xr { - type uint32; - description "Ethernet Tag"; - } - leaf mac-address-xr { - type yang:mac-address; - description "MAC address"; - } - leaf ip-address-xr { - type inet:ipv6-address; - description "IP address (v6 format)"; - } - leaf local-label { - type uint32; - description "Associated local label"; - } - leaf num-paths { - type uint32; - description " Number of items in path list buffer"; - } - leaf is-local-mac { - type boolean; - description "Indication of MAC being locally generated"; - } - leaf is-proxy-entry { - type boolean; - description "Proxy entry"; - } - leaf is-remote-mac { - type boolean; - description "Indication of MAC being remotely generated"; - } - leaf soo-nexthop { - type inet:ipv6-address; - description "SOO nexthop (v6 format)"; - } - leaf ipnh-address { - type inet:ipv6-address; - description "IP nexthop address (v6 format)"; - } - leaf esi-port-key { - type uint16; - description "ESI port key"; - } - leaf local-encap-type { - type uint8; - description "Encap type of local MAC"; - } - leaf remote-encap-type { - type uint8; - description "Encap type of remote MAC"; - } - leaf learned-bridge-port-name { - type string; - description "Port the MAC was learned on"; - } - leaf local-seq-id { - type uint32; - description "local seq id"; - } - leaf remote-seq-id { - type uint32; - description "remote seq id"; - } - leaf local-l3-label { - type uint32; - description "local l3 label"; - } - leaf router-mac-address { - type yang:mac-address; - description "Router MAC address"; - } - leaf mac-flush-requested { - type uint16; - description "Number of flushes requested "; - } - leaf mac-flush-received { - type uint16; - description "Number of flushes received "; - } - leaf internal-label { - type uint32; - description "MPLS Internal Label"; - } - leaf resolved { - type boolean; - description - "Internal Label has resolved per-ES EAD and - per-EVI EAD or MAC routes"; - } - leaf local-is-static { - type boolean; - description - "Indication if Local MAC is statically configured"; - } - leaf remote-is-static { - type boolean; - description - "Indication if Remote MAC is statically - configured"; - } - list local-ethernet-segment-identifier { - description "Local Ethernet Segment id"; - leaf entry { - type uint8; - } - } - list remote-ethernet-segment-identifier { - description "Remote Ethernet Segment id"; - leaf entry { - type uint8; - } - } - - list path-buffer { - description "Path List Buffer"; - uses L2VPN-LABEL-PATH-BUFFER; - } - } - - grouping L2VPN-EVPN-EVI-BGP-RT { - description "EVPN E-VPN ID Route Target information"; - - container route-target { - description "Route Target"; - uses L2VPN-RT; - } - leaf bd-name { - type string; - description "Bridge Domain Name"; - } - leaf evi-xr { - type uint32; - description "VPN ID"; - } - leaf route-target-role { - type L2vpn-ad-rt-role; - description "RT Role"; - } - leaf route-target-stitching { - type boolean; - description "RT Stitching"; - } - } - - grouping L2VPN-EVPN-IMCAST { - description - "L2VPN EVPN Inclusive Multicast database - information"; - leaf evi-xr { - type uint32; - description "E-VPN id"; - } - leaf ethernet-tag-xr { - type uint32; - description "Ethernet Tag"; - } - leaf originating-ip-xr { - type inet:ipv6-address; - description "Originating IP"; - } - leaf next-hop { - type inet:ipv6-address; - description "IP of nexthop"; - } - leaf output-label { - type uint32; - description "Output label"; - } - leaf is-local-entry { - type boolean; - description "Local entry"; - } - leaf is-proxy-entry { - type boolean; - description "Proxy entry"; - } - leaf encap-type { - type uint8; - description "Encap type of local or remote IMCAST route"; - } - } - - grouping L2VPN-LABEL-PATH-BUFFER { - description "L2VPN LABEL PATH BUFFER"; - leaf next-hop { - type inet:ipv6-address; - description "Next-hop IP address (v6 format)"; - } - leaf output-label { - type uint32; - description "Output Label"; - } - leaf srte-tunnel { - type xr:Interface-name; - description - "Segment-Routing Traffic Engineering Tunnel - Interface Handle"; - } - } - - grouping L2VPN-EVPN-EAD { - description "L2VPN EVPN EAD database information"; - leaf ethernet-vpnid { - type uint32; - description "E-VPN id"; - } - leaf type { - type L2vpn-evpn; - description "Service Type"; - } - leaf ethernet-tag-xr { - type uint32; - description "Ethernet Tag"; - } - leaf local-next-hop { - type inet:ipv6-address; - description "Local nexthop IP"; - } - leaf local-label { - type uint32; - description "Associated local label"; - } - leaf is-local-ead { - type boolean; - description - "Indication of EthernetAutoDiscovery Route is - local"; - } - leaf encap { - type uint8; - description "Encap type of local or remote EAD"; - } - leaf redundancy-single-active { - type boolean; - description - "Single-active redundancy configured at remote - EAD"; - } - leaf num-paths { - type uint32; - description " Number of items in path list buffer"; - } - list ethernet-segment-identifier { - description "Ethernet Segment id"; - leaf entry { - type uint8; - } - } - - list path-buffer { - description "Path List Buffer"; - uses L2VPN-LABEL-PATH-BUFFER; - } - } - - grouping L2VPN-EVPN-NEIGHBOR { - description "L2VPN EVPN Neighbor database information"; - leaf evi-xr { - type uint32; - description "E-VPN id"; - } - leaf neighbor { - type inet:ipv6-address; - description "Neighbor IP"; - } - } - - grouping L2VPN-RT-ES-IMPORT { - description "L2VPN RT ES IMPORT"; - leaf high-bytes { - type uint32; - description "Top 4 bytes of ES Import"; - } - leaf low-bytes { - type uint16; - description "Low 2 bytes of ES Import"; - } - } - - grouping L2VPN-RT-V4ADDR { - description "L2VPN RT V4ADDR"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RT-4BYTE-AS { - description "L2VPN RT 4BYTE AS"; - leaf four-byte-as { - type uint32; - description "4 Byte AS Number"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RT-2BYTE-AS { - description "L2VPN RT 2BYTE AS"; - leaf two-byte-as { - type uint16; - description "2 Byte AS Number"; - } - leaf four-byte-index { - type uint32; - description "4 Byte Index"; - } - } - - grouping L2VPN-RT { - description "L2VPN RT"; - - container two-byte-as { - when "../rt = 'l2vpn-ad-rt-as'" { - description "../RT = 'L2VPN_AD_RT_AS'"; - } - description "two byte as"; - uses L2VPN-RT-2BYTE-AS; - } - - container four-byte-as { - when "../rt = 'l2vpn-ad-rt-4byte-as'" { - description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; - } - description "four byte as"; - uses L2VPN-RT-4BYTE-AS; - } - - container v4-addr { - when "../rt = 'l2vpn-ad-rt-v4-addr'" { - description "../RT = 'L2VPN_AD_RT_V4ADDR'"; - } - description "v4 addr"; - uses L2VPN-RT-V4ADDR; - } - - container es-import { - when "../rt = 'es-import'" { - description "../RT = 'ES_Import'"; - } - description "es import"; - uses L2VPN-RT-ES-IMPORT; - } - leaf rt { - type L2vpn-ad-rt; - description "RT"; - } - } - - grouping L2VPN-RD-V4ADDR { - description "L2VPN RD V4ADDR"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RD-4BYTE-AS { - description "L2VPN RD 4BYTE AS"; - leaf four-byte-as { - type uint32; - description "4 Byte AS Number"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RD-2BYTE-AS { - description "L2VPN RD 2BYTE AS"; - leaf two-byte-as { - type uint16; - description "2 Byte AS Number"; - } - leaf four-byte-index { - type uint32; - description "4 Byte Index"; - } - } - - grouping L2VPN-RD-AUTO { - description "L2VPN RD AUTO"; - leaf router-id { - type inet:ipv4-address; - description "BGP Router ID"; - } - leaf auto-index { - type uint16; - description "Auto-generated Index"; - } - } - - grouping L2VPN-RD { - description "L2VPN RD"; - - container auto { - when "../rd = 'l2vpn-ad-rd-auto'" { - description "../RD = 'L2VPN_AD_RD_AUTO'"; - } - description "auto"; - uses L2VPN-RD-AUTO; - } - - container two-byte-as { - when "../rd = 'l2vpn-ad-rd-as'" { - description "../RD = 'L2VPN_AD_RD_AS'"; - } - description "two byte as"; - uses L2VPN-RD-2BYTE-AS; - } - - container four-byte-as { - when "../rd = 'l2vpn-ad-rd-4byte-as'" { - description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; - } - description "four byte as"; - uses L2VPN-RD-4BYTE-AS; - } - - container v4-addr { - when "../rd = 'l2vpn-ad-rd-v4-addr'" { - description "../RD = 'L2VPN_AD_RD_V4ADDR'"; - } - description "v4 addr"; - uses L2VPN-RD-V4ADDR; - } - leaf rd { - type L2vpn-ad-rd; - description "RD"; - } - } - - grouping L2VPN-EVPN-FLOW-LABEL { - description "L2VPN EVPN FLOW LABEL"; - leaf static-flow-label { - type boolean; - description "Static flow label"; - } - leaf global-flow-label { - type boolean; - description "Globally configured flow label"; - } - } - - grouping L2VPN-EVPN-EVI-DETAIL { - description "EVPN E-VPN ID database detail information"; - - container flow-label { - description "Flow Label Information"; - uses L2VPN-EVPN-FLOW-LABEL; - } - - container rd-auto { - description "Automatic Route Distingtuisher"; - uses L2VPN-RD; - } - - container rd-configured { - description "Configured Route Distinguisher"; - uses L2VPN-RD; - } - - container rt-auto { - description "Automatic Route Target"; - uses L2VPN-RT; - } - - container rt-auto-stitching { - description "Automatic Route Target Stitching"; - uses L2VPN-RT; - } - leaf evi-xr { - type uint32; - description "E-VPN id"; - } - leaf description { - type string; - description "EVI description"; - } - leaf bd-name { - type string; - description "Bridge domain name"; - } - leaf type { - type L2vpn-evpn; - description "Service Type"; - } - leaf unicast-label { - type uint32; - description "Unicast Label"; - } - leaf multicast-label { - type uint32; - description "Multicast Label"; - } - leaf cw-disable { - type boolean; - description "Control-Word Disable"; - } - leaf table-policy-name { - type string; - description "Table-policy Name"; - } - leaf forward-class { - type uint8; - description "Forward Class attribute"; - } - leaf rt-import-block-set { - type boolean; - description "Is Import RT None set"; - } - leaf rt-export-block-set { - type boolean; - description "Is Export RT None set"; - } - leaf advertise-mac { - type boolean; - description "Advertise MAC-only routes on this EVI"; - } - leaf advertise-bvi-mac { - type boolean; - description "Advertise BVI MACs routes on this EVI"; - } - leaf aliasing-disabled { - type boolean; - description "Route Aliasing is disabled"; - } - leaf unknown-unicast-flooding-disabled { - type boolean; - description "Unknown-unicast flooding is disabled"; - } - leaf reoriginate-disabled { - type boolean; - description "Route Re-origination is disabled"; - } - leaf stitching { - type uint8; - description "EVPN Instance is Regular/Stitching side"; - } - leaf encapsulation { - type uint8; - description "EVPN Instance encapsulation"; - } - } - - grouping L2VPN-EVPN-SUMMARY { - description "EVPN Information Summary"; - leaf router-id { - type inet:ipv6-address; - description "EVPN Router ID"; - } - leaf as { - type uint32; - description "BGP AS number"; - } - leaf ev-is { - type uint32; - description "Number of EVI DB Entries"; - } - leaf local-mac-routes { - type uint32; - description "Number of Local MAC Routes"; - } - leaf local-ipv4-mac-routes { - type uint32; - description "Number of Local IPv4 MAC-IP Routes"; - } - leaf local-ipv6-mac-routes { - type uint32; - description "Number of Local IPv6 MAC-IP Routes"; - } - leaf es-global-mac-routes { - type uint32; - description "Number of ES:Global MAC Routes"; - } - leaf remote-mac-routes { - type uint32; - description "Number of Remote MAC Routes"; - } - leaf remote-soo-mac-routes { - type uint32; - description "Number of Remote Soo MAC Routes"; - } - leaf remote-ipv4-mac-routes { - type uint32; - description "Number of Remote IPv4 MAC-IP Routes"; - } - leaf remote-ipv6-mac-routes { - type uint32; - description "Number of Remote IPv6 MAC-IP Routes"; - } - leaf local-imcast-routes { - type uint32; - description "Number of Local IMCAST Routes"; - } - leaf remote-imcast-routes { - type uint32; - description "Number of Remote IMCAST Routes"; - } - leaf labels { - type uint32; - description "Number of Internal Labels"; - } - leaf es-entries { - type uint32; - description "Number of ES Entries in DB"; - } - leaf neighbor-entries { - type uint32; - description "Number of neighbor Entries in DB"; - } - leaf local-ead-routes { - type uint32; - description "Number of Local EAD Entries in DB"; - } - leaf remote-ead-routes { - type uint32; - description "Number of Remote EAD Entries in DB"; - } - leaf global-source-mac { - type yang:mac-address; - description "Global Source MAC Address"; - } - leaf peering-time { - type uint32; - units "second"; - description "EVPN ES Peering Time (seconds)"; - } - leaf recovery-time { - type uint32; - units "second"; - description "EVPN ES Recovery Time (seconds)"; - } - leaf mac-secure-move-count { - type uint32; - description - "Number of moves within the move interval before - locking the MAC"; - } - leaf mac-secure-move-interval { - type uint32; - description - "Interval to watch for subsequent mac moves - before locking the MAC"; - } - leaf mac-secure-freeze-time { - type uint32; - description - "Length of time to lock the mac after a MAC - security violation"; - } - leaf mac-secure-retry-count { - type uint32; - description "Number of times to retry after a MAC un-freezes"; - } - leaf cost-out { - type boolean; - description "EVPN Node Cost-out"; - } - leaf startup-cost-in-time { - type uint32; - units "minute"; - description "EVPN Node startup cost-in Time (minutes)"; - } - leaf l2rib-throttle { - type boolean; - description "Send to L2RIB Throttled"; - } - leaf logging-df-election-enabled { - type boolean; - description - "Logging EVPN Designated Forwarder changes - enabled"; - } - } - - grouping L2VPN-EVPN-EVI-SUMMARY { - description "EVPN E-VPN ID database summary information"; - leaf evi-xr { - type uint32; - description "E-VPN id"; - } - leaf bd-name { - type string; - description "Bridge domain name"; - } - leaf type { - type L2vpn-evpn; - description "Service Type"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper.yang deleted file mode 100644 index 2579c78..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-evpn-oper.yang +++ /dev/null @@ -1,426 +0,0 @@ -module Cisco-IOS-XR-evpn-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper"; - - - prefix "evpn-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-evpn-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR evpn package operational data. - - This module contains definitions - for the following management objects: - evpn: EVPN Operational Table - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rd-addr-index { - type uint32 { - range "0..65535"; - } - description "Rd addr index"; - } - typedef Bgp-route-target-role { - type enumeration { - enum both { - value 0; - description "Both Import and export roles"; - } - enum import { - value 1; - description "Import role"; - } - enum export { - value 2; - description "Export role"; - } - } - description "Bgp route target role"; - } - typedef Bgp-route-target { - type enumeration { - enum no-stitching { - value 0; - description "RT is default type"; - } - enum stitching { - value 1; - description "RT is for stitching (Golf-L2)"; - } - } - description "Bgp route target"; - } - typedef Rdas-index { - type uint32 { - range "0..4294967295"; - } - description "Rdas index"; - } - typedef Rdas-range { - type uint32 { - range "1..4294967295"; - } - description "Rdas range"; - } - typedef Bgp-route-target-format { - type enumeration { - enum none { - value 0; - description "No route target"; - } - enum two-byte-as { - value 1; - description "2 Byte AS:nn format"; - } - enum four-byte-as { - value 2; - description "4 byte AS:nn format"; - } - enum ipv4-address { - value 3; - description "IP:nn format"; - } - enum es-import { - value 1538; - description "a.a.i format"; - } - } - description "Bgp route target format"; - } - - grouping EVI-TABLE { - description "Common node of active, standby, node"; - - container evis { - description "L2VPN EVPN EVI Table"; - - list evi { - key "evi"; - description "L2VPN EVPN EVI Entry"; - leaf evi { - type int32; - description "EVPN id"; - } - uses L2VPN-EVPN-EVI-SUMMARY; - } - } - } - - grouping AC-ID-TABLE { - description "Common node of active, standby, node"; - - container ac-ids { - description "EVPN AC ID table"; - - list ac-id { - description "EVPN AC ID table"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf ac-id { - type int32; - description "AC ID"; - } - uses L2VPN-EVPN-NEIGHBOR; - } - } - } - - grouping EVI-DETAIL { - description "Common node of active, standby, node"; - - container evi-detail { - description "L2VPN EVI Detail Table"; - - container elements { - description "EVI BGP RT Detail Info Elements"; - - list element { - key "evi"; - description "EVI BGP RT Detail Info"; - leaf evi { - type int32; - description "EVPN id"; - } - uses L2VPN-EVPN-EVI-DETAIL; - } - } - - container evi-children { - description "Container for all EVI detail info"; - - container neighbors { - description "EVPN Neighbor table"; - - list neighbor { - description "EVPN Neighbor table"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf neighbor-ip { - type inet:ip-address-no-zone; - description "Neighbor IP"; - } - uses L2VPN-EVPN-NEIGHBOR; - } - } - - container ethernet-auto-discoveries { - description "EVPN Ethernet Auto-Discovery table"; - - list ethernet-auto-discovery { - description "EVPN Ethernet Auto-Discovery Entry"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf esi1 { - type xr:Hex-integer; - description "ES id (part 1/5)"; - } - leaf esi2 { - type xr:Hex-integer; - description "ES id (part 2/5)"; - } - leaf esi3 { - type xr:Hex-integer; - description "ES id (part 3/5)"; - } - leaf esi4 { - type xr:Hex-integer; - description "ES id (part 4/5)"; - } - leaf esi5 { - type xr:Hex-integer; - description "ES id (part 5/5)"; - } - leaf ethernet-tag { - type int32; - description "Ethernet Tag ID"; - } - uses L2VPN-EVPN-EAD; - } - } - - container inclusive-multicasts { - description "L2VPN EVPN IMCAST table"; - - list inclusive-multicast { - description "L2VPN EVPN IMCAST table"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf ethernet-tag { - type int32; - description "Ethernet Tag"; - } - leaf originating-ip { - type inet:ip-address-no-zone; - description "Originating IP"; - } - uses L2VPN-EVPN-IMCAST; - } - } - - container route-targets { - description "L2VPN EVPN EVI RT Child Table"; - - list route-target { - description "L2VPN EVPN EVI RT Table"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf role { - type Bgp-route-target-role; - description "Role of the route target"; - } - leaf type { - type Bgp-route-target; - description "Type of the route target"; - } - leaf format { - type Bgp-route-target-format; - description "Format of the route target"; - } - leaf as { - type Rdas-range; - description "Two or Four byte AS Number"; - } - leaf as-index { - type Rdas-index; - description "RT AS Index"; - } - leaf addr-index { - type Rd-addr-index; - description "RT IP Index"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "RT IPv4 Address"; - } - uses L2VPN-EVPN-EVI-BGP-RT; - } - } - - container macs { - description "L2VPN EVPN EVI MAC table"; - - list mac { - description "L2VPN EVPN MAC table"; - leaf evi { - type int32; - description "EVPN id"; - } - leaf ethernet-tag { - type int32; - description "Ethernet Tag ID"; - } - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP Address"; - } - uses L2VPN-EVPN-MAC; - } - } - } - } - } - - grouping ETHERNET-SEGMENT-TABLE { - description "Common node of active, standby, node"; - - container ethernet-segments { - description "EVPN Ethernet-Segment Table"; - - list ethernet-segment { - description "EVPN Ethernet-Segment Entry"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf esi1 { - type xr:Hex-integer; - description "ES id (part 1/5)"; - } - leaf esi2 { - type xr:Hex-integer; - description "ES id (part 2/5)"; - } - leaf esi3 { - type xr:Hex-integer; - description "ES id (part 3/5)"; - } - leaf esi4 { - type xr:Hex-integer; - description "ES id (part 4/5)"; - } - leaf esi5 { - type xr:Hex-integer; - description "ES id (part 5/5)"; - } - uses L2VPN-EVPN-ES; - } - } - } - - grouping SUMMARY { - description "Common node of active, standby, node"; - - container summary { - description "L2VPN EVPN Summary"; - uses L2VPN-EVPN-SUMMARY; - } - } - - container evpn { - config false; - description "EVPN Operational Table"; - - container nodes { - description - "Table of EVPN operational data for a particular - node"; - - list node { - key "node-id"; - description "EVPN operational data for a particular node"; - leaf node-id { - type xr:Node-id; - description "Location"; - } - uses EVI-TABLE; - uses SUMMARY; - uses EVI-DETAIL; - uses ETHERNET-SEGMENT-TABLE; - uses AC-ID-TABLE; - } - } - - container active { - description "Active EVPN operational data"; - uses EVI-TABLE; - uses SUMMARY; - uses EVI-DETAIL; - uses ETHERNET-SEGMENT-TABLE; - uses AC-ID-TABLE; - } - - container standby { - description "Standby EVPN operational data"; - uses EVI-TABLE; - uses SUMMARY; - uses EVI-DETAIL; - uses ETHERNET-SEGMENT-TABLE; - uses AC-ID-TABLE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fabhfr-mib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fabhfr-mib-cfg.yang deleted file mode 100644 index 7aee669..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fabhfr-mib-cfg.yang +++ /dev/null @@ -1,75 +0,0 @@ -module Cisco-IOS-XR-fabhfr-mib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fabhfr-mib-cfg"; - - - prefix "fabhfr-mib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fabhfr-mib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-31" { - description - "Yang Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container fabric-crs { - description "CISCO-FABRIC-HFR-MIB notification configuration"; - leaf bundle-state { - type empty; - description - "Enable cfhBundleStateNotification notification"; - } - leaf plane-state { - type empty; - description "Enable cfhPlaneStateNotification notification"; - } - leaf bundle-downed-link { - type empty; - description - "Enable cfhBundleDownedLinkNotification - notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-hw-profile-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-hw-profile-cfg.yang deleted file mode 100644 index 39a426d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-hw-profile-cfg.yang +++ /dev/null @@ -1,297 +0,0 @@ -module Cisco-IOS-XR-fia-hw-profile-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-fia-hw-profile-cfg"; - - - prefix "fia-hw-profile-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fia-hw-profile package configuration. - - This module contains definitions - for the following management objects: - hw-module-profile-config: none - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-22" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hw-module-profile-config { - description "none"; - - container profile { - description "Configure profile."; - - container tcam-table { - description "Configure profile for TCAM LC cards"; - - container fib-table { - description "FIB table for TCAM LC cards"; - - container ipv4-address { - description "IPv4 table for TCAM LC cards"; - - container ipv4-unicast { - description "Unicast table for TCAM LC cards"; - - container ipv4-unicast-prefix-lengths { - description "IPv4 Unicast prefix "; - - list ipv4-unicast-prefix-length { - key "prefix-length"; - description "IPv4 Unicast prefix length"; - leaf ipv4-unicast-prefix-percent { - type string; - units "percentage"; - description - "curve out percentage of TCAM table - entries"; - } - leaf prefix-length { - type uint32 { - range "0..32"; - } - description "prefix length"; - } - } - } - leaf ipv4-unicast-percent { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "curve out percentage of TCAM table entries"; - } - } - } - - container ipv6-address { - description "IPv6 table for TCAM LC cards"; - - container ipv6-unicast { - description "Unicast table for TCAM LC cards"; - - container ipv6-unicast-prefix-lengths { - description "IPv6 Unicast prefix "; - - list ipv6-unicast-prefix-length { - key "prefix-length"; - description "IPv6 Unicast prefix length"; - leaf ipv6-unicast-prefix-percent { - type string; - units "percentage"; - description - "curve out percentage of TCAM table - entries"; - } - leaf prefix-length { - type uint32 { - range "0..128"; - } - description "prefix length"; - } - } - } - leaf ipv6-unicast-percent { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "curve out percentage of TCAM table entries"; - } - } - } - } - } - - container stats { - description "Configure stats"; - leaf counter-profile { - type int32; - description - "Configure stats for qos-enhanced and - acl-permit"; - } - } - - container qos { - description "Configure profile."; - - container hqos-enable-all { - description "Configure Hqos profile"; - leaf hqos-enable { - type int32; - description " Hqos profile value"; - } - } - - container ingress-model-root-def { - description "Configure Ingress Model Default"; - leaf ingress-model-leaf-def { - type int32; - description "Ingress Model Default"; - } - } - - container ingress-models { - description "Configure Ingress Model Root"; - - list ingress-model { - key "node-name"; - description "Configure Ingress Model"; - leaf node-name { - type xr:Cisco-ios-xr-string; - description "NodeName"; - } - - list ingress-model-leaf { - key "location"; - description "Configure Ingress Model Leaf"; - leaf ingress-model-leaf { - type int32; - mandatory true; - description "IngressModelLeaf"; - } - leaf location { - type int32; - description "Location"; - } - } - } - } - - container trunks { - description "Configure Max Trunk Size"; - leaf trunk-size { - type int32; - description "Max Trunk Size"; - } - } - - container class-maps-root-def { - description "Configure Class Maps Default"; - leaf class-map-size-def { - type int32; - description "Class Map Size Default"; - } - } - - container class-maps { - description "Configure Class Map Root"; - - list class-map { - key "node-name"; - description "Configure Class Maps"; - leaf node-name { - type xr:Cisco-ios-xr-string; - description "NodeName"; - } - - list class-map-size { - key "location"; - description "Class Map Size"; - leaf class-map-size { - type int32; - mandatory true; - description "ClassMapSize"; - } - leaf location { - type int32; - description "Location"; - } - } - } - } - } - } - - container fib-scale { - description "Configure Fib for Scale for noTcam LC."; - - container ipv6-unicast-scale-no-tcam { - description "IPv6 table for NOTCAM LC Scale."; - - container scale-ipv6-no-tcam { - description "Scale for IPv6 table for NoTCAM LC."; - leaf internet-optimized-ipv6-no-tcam { - type string; - description - "Internet-optimized Scale for IPv6 table for - NoTCAM LC."; - } - } - } - - container ipv4-unicast-scale-no-tcam { - description "IPv4 table for NOTCAM LC Scale."; - - container scale-ipv4-no-tcam { - description "Scale for IPv4 table for NoTCAM LC."; - leaf host-optimized-ipv4-no-tcam { - type string; - description - "Host-optimized Scale for IPv4 table for - NoTCAM LC."; - } - leaf internet-optimized-ipv4-no-tcam { - type string; - description - "Internet-optimized Scale for IPv4 table for - NoTCAM LC."; - } - } - } - } - - container tcam { - description "Configure Tcam."; - - container fib-tcam-scale { - description "Configure Fib iscale for Tcam."; - - container ipv4-unicast-scale { - description "IPv4 table for TCAM LC Scale."; - leaf ipv4-scale { - type empty; - description "Scale for IPv4 table for TCAM LC."; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang deleted file mode 100644 index 7958838..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang +++ /dev/null @@ -1,107 +0,0 @@ -submodule Cisco-IOS-XR-fia-internal-tcam-oper-sub1 { - - belongs-to Cisco-IOS-XR-fia-internal-tcam-oper { - prefix Cisco-IOS-XR-fia-internal-tcam-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fia-internal-tcam package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FIA-TCAM-DB { - description "FIA TCAM DB"; - leaf db-id { - type uint32; - description "db id"; - } - leaf db-inuse-entries { - type uint32; - description "db inuse entries"; - } - leaf db-prefix { - type string; - description "db prefix"; - } - } - - grouping FIA-TCAM-BANK { - description "FIA TCAM BANK"; - leaf bank-id { - type string; - description "bank id"; - } - leaf bank-key-size { - type string; - description "bank key size"; - } - leaf bank-free-entries { - type uint32; - description "bank free entries"; - } - leaf bank-inuse-entries { - type uint32; - description "bank inuse entries"; - } - leaf owner { - type string; - description "owner"; - } - leaf nof-dbs { - type uint32; - description "nof dbs"; - } - - list bank-db { - description "bank db"; - uses FIA-TCAM-DB; - } - } - - grouping FIA-NPU-TCAM { - description "FIA NPU TCAM"; - leaf npu-id { - type uint32; - description "npu id"; - } - - list tcam-bank { - description "tcam bank"; - uses FIA-TCAM-BANK; - } - } - - grouping FIA-CARD-TCAM { - description "FIA CARD TCAM"; - - list npu-tcam { - description "npu tcam"; - uses FIA-NPU-TCAM; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper.yang deleted file mode 100644 index 7b5242e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fia-internal-tcam-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-fia-internal-tcam-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fia-internal-tcam-oper"; - - - prefix "fia-internal-tcam-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fia-internal-tcam-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fia-internal-tcam package operational data. - - This module contains definitions - for the following management objects: - controller: Controller Resources - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container controller { - config false; - description "Controller Resources"; - - container dpa { - description "Controller DPA operational data"; - - container nodes { - description "DPA data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container external-tcam-resources { - description "External TCAM Resource Information"; - uses FIA-CARD-TCAM; - } - - container internal-tcam-resources { - description "Internal TCAM Resource Information"; - uses FIA-CARD-TCAM; - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-cfg.yang deleted file mode 100644 index db0842d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-cfg.yang +++ /dev/null @@ -1,136 +0,0 @@ -module Cisco-IOS-XR-fib-common-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg"; - - - prefix "fib-common-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fib-common package configuration. - - This module contains definitions - for the following management objects: - fib: CEF configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fib-pbts-forward-class { - type union { - type enumeration { - enum any { - value 8; - description "Any class"; - } - } - type uint32 { - range "0..8"; - } - } - description "Fib pbts forward class"; - } - typedef Fib-pbts-fallback { - type enumeration { - enum list { - value 1; - description "Fallback to class number list"; - } - enum any { - value 2; - description "Fallback to any class"; - } - enum drop { - value 3; - description "Fallback to drop"; - } - } - description "Fib pbts fallback"; - } - - container fib { - description "CEF configuration"; - - container pbts-forward-class-fallbacks { - description "PBTS class configuration"; - - list pbts-forward-class-fallback { - key "forward-class-number"; - description "Set PBTS class for fallback"; - leaf forward-class-number { - type Fib-pbts-forward-class; - description "PBTS forward class number"; - } - leaf fallback-type { - type Fib-pbts-fallback; - mandatory true; - description "Set PBTS fallback type"; - } - leaf-list fallback-class-number-array { - type uint32 { - range "0..7"; - } - max-elements "7"; - description "Set PBTS fallback class number array"; - } - } - } - - container platform { - description "FIB platform parameters"; - - container label-switched-multicast { - description - "Options for label-switched-multicast parameters"; - leaf frr-holdtime { - type uint32 { - range "3..180"; - } - units "second"; - description - "Set time to keep FRR slots programmed post FRR"; - } - } - } - leaf prefer-aib-routes { - type boolean; - description - "Set options for adjacency routes overriding RIB - routes"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub1.yang deleted file mode 100644 index a23668e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub1.yang +++ /dev/null @@ -1,355 +0,0 @@ -submodule Cisco-IOS-XR-fib-common-oper-sub1 { - - belongs-to Cisco-IOS-XR-fib-common-oper { - prefix Cisco-IOS-XR-fib-common-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mgmt-fib-mpls-frr-state { - type enumeration { - enum partial { - value 0; - description "Partial"; - } - enum active { - value 1; - description "Active"; - } - enum ready { - value 2; - description "Ready"; - } - enum complete { - value 3; - description "Complete"; - } - enum any { - value 4; - description "Any"; - } - } - description "MPLS FRR entry state"; - } - typedef Mgmt-fib-mpls-lsp-role { - type enumeration { - enum head { - value 0; - description "Head"; - } - enum midpoint { - value 1; - description "Midpoint"; - } - } - description "MPLS FRR entry role"; - } - - grouping FIB-MPLS-FRR-DB-MCAST-LEGS { - description "FIB MPLS FRR DB MCAST LEGS"; - - container frr-entry-id { - description "FRR entry ID"; - uses FIB-MPLS-FRR-DB-ENTRY-GEN-ID; - } - leaf tunnel-interface-name { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf input-label { - type uint32; - description "Input label"; - } - leaf outgoing-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf outgoing-label { - type uint32; - description "Outgoing label"; - } - leaf frr-interface-name { - type xr:Interface-name; - description "FRR interface"; - } - leaf frr-label { - type uint32; - description "FRR output label"; - } - leaf entry-frr-state { - type Mgmt-fib-mpls-frr-state; - description "MPLS FRR entry state"; - } - leaf frr-next-hop-ipv4-address { - type inet:ipv4-address; - description "Next hop IPv4 address"; - } - leaf is-mldp-lsp { - type boolean; - description "MLDP or P2MP-TE"; - } - } - - grouping FIB-MPLS-FRR-DB-ENTRY-MID-ID { - description "FIB MPLS FRR DB ENTRY MID ID"; - leaf source-address { - type inet:ipv4-address; - description "Source IPv4 address"; - } - leaf lspid { - type uint32; - description "LSP ID"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - } - - grouping FIB-MPLS-FRR-DB-ENTRY-HEAD-ID { - description "FIB MPLS FRR DB ENTRY HEAD ID"; - leaf destination-prefix { - type inet:ipv4-address; - description "Destination prefix"; - } - leaf destination-prefix-length { - type uint32; - description "Destination prefix length"; - } - } - - grouping FIB-MPLS-FRR-DB-ENTRY-GEN-ID { - description "FIB MPLS FRR DB ENTRY GEN ID"; - - container head { - when "../role = 'head'" { - description "../Role = 'Head'"; - } - description "head"; - uses FIB-MPLS-FRR-DB-ENTRY-HEAD-ID; - } - - container midpoint { - when "../role = 'midpoint'" { - description "../Role = 'Midpoint'"; - } - description "midpoint"; - uses FIB-MPLS-FRR-DB-ENTRY-MID-ID; - } - leaf role { - type Mgmt-fib-mpls-lsp-role; - description "Role"; - } - } - - grouping FIB-MPLS-FRR-DB-ENTRY { - description "FIB MPLS FRR DB ENTRY"; - - container frr-entry-id { - description "FRR entry ID"; - uses FIB-MPLS-FRR-DB-ENTRY-GEN-ID; - } - leaf tunnel-interface-name { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf input-label { - type uint32; - description "Input label"; - } - leaf outgoing-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf outgoing-label { - type uint32; - description "Outgoing label"; - } - leaf frr-interface-name { - type xr:Interface-name; - description "FRR interface"; - } - leaf frr-label { - type uint32; - description "FRR output label"; - } - leaf entry-frr-state { - type Mgmt-fib-mpls-frr-state; - description "MPLS FRR entry state"; - } - leaf frr-next-hop-ipv4-address { - type inet:ipv4-address; - description "Next hop IPv4 address"; - } - leaf is-mldp-lsp { - type boolean; - description "MLDP or P2MP-TE"; - } - leaf is-multicast-tunnel { - type boolean; - description "Multicast tunnel"; - } - leaf multicast-tunnel-legs { - type uint32; - description "Number of legs in MCAST tunnel"; - } - - list multicast-leg { - description "MCAST legs"; - uses FIB-MPLS-FRR-DB-MCAST-LEGS; - } - } - - grouping FIB-MPLS-FRR-DB-SUM { - description "FIB MPLS FRR DB SUM"; - leaf active { - type uint32; - description "Number of FRR rewrites in Active state"; - } - leaf ready { - type uint32; - description "Number of FRR rewrites in Ready state"; - } - leaf partial { - type uint32; - description "Number of FRR rewrites in Partial state"; - } - leaf other { - type uint32; - description "Number of FRR rewrites in an unrecognized state"; - } - } - - grouping FIB-MPLS-SH-TUN-INFO { - description "Information about TE-head tunnel LI"; - leaf tunnel-interface-name { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf tunnel-local-label { - type uint32; - description "Tunnel Local label"; - } - leaf tunnel-fwd-class { - type uint8; - description "Tunnel Forward Class"; - } - leaf tunnel-load-metric { - type uint8; - description " Tunnel Load Metric"; - } - leaf tunnel-is-srte { - type boolean; - description "Is Tunnel SRTE"; - } - leaf tunnel-resolution-incomplete { - type boolean; - description "Tunnel head resolution is incomplete"; - } - leaf tunnel-resolution-inconsistent { - type boolean; - description - "Tunnel head resolition is inconsitent b/w TEhead - and Local label"; - } - leaf tunnel-is-programmed-to-drop { - type boolean; - description "Is Tunnel programmed as drop"; - } - } - - grouping FIB-MPLS-TIMESPEC { - description "FIB MPLS TIMESPEC"; - leaf seconds { - type int32; - units "second"; - description "Seconds part of time valueiin UTC"; - } - leaf nanoseconds { - type int32; - units "nanosecond"; - description "Nanoseconds part of time value"; - } - } - - grouping FIB-MPLS-FRR-EVENT { - description "FIB MPLS FRR EVENT"; - - container start-time { - description - "Time of FRR event processing start, Seconds in - UTC, and Nano Seconds"; - uses FIB-MPLS-TIMESPEC; - } - leaf protected-frr-interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf next-hop { - type uint32; - description "Next Hop"; - } - leaf number-of-rewrites-affected { - type uint32; - description "Number of rewrites affected"; - } - leaf switching-time-nsecs { - type uint32; - units "nanosecond"; - description "Time to switch rewrites [nsecs]"; - } - leaf main-processing { - type uint32; - description "Main Processing for FRR"; - } - leaf fast-bundle-member-down-interface { - type uint32; - description "Fast Bundle Member Down Interface"; - } - leaf frr-event-node-id { - type xr:Node-id; - description "Node on which the FRR event happened"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub2.yang deleted file mode 100644 index 483d3de..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub2.yang +++ /dev/null @@ -1,616 +0,0 @@ -submodule Cisco-IOS-XR-fib-common-oper-sub2 { - - belongs-to Cisco-IOS-XR-fib-common-oper { - prefix Cisco-IOS-XR-fib-common-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fib-common-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Next-hop { - type enumeration { - enum tx { - value 0; - description "TX"; - } - enum rx { - value 1; - description "RX"; - } - enum special { - value 2; - description "Special"; - } - } - description "MPLS Forwarding Next Hop Type"; - } - typedef Proto { - type enumeration { - enum ipv4 { - value 0; - description "IPv4"; - } - enum ipv6 { - value 1; - description "IPv6"; - } - enum mpls { - value 2; - description "MPLS"; - } - } - description "MPLS Forwarding Protocol Type"; - } - - grouping MPLS-FRR-DB-ENTRY { - description "MPLS FRR DB ENTRY"; - - container frr-db { - description "FRR DB"; - uses FIB-MPLS-FRR-DB-ENTRY; - } - leaf outgoing-lable-string { - type string; - description "Output label in string format"; - } - leaf frr-lable-string { - type string; - description "FRR label in string format"; - } - } - - grouping MPLS-SH-TEHEAD { - description "Information about TE tunnel head"; - - container tunnel-info { - description "Tunnel head information"; - uses FIB-MPLS-SH-TUN-INFO; - } - - container fwdg { - description "Tunnel forwarding information"; - uses MPLS-SH-LEAF; - } - } - - grouping MPLS-LABEL-SECURITY-SUMMARY { - description "MPLS LABEL SECURITY SUMMARY"; - leaf rpf-drops { - type uint64; - description "RPF drops"; - } - leaf multi-label-drops { - type uint64; - description "Multi-label drops"; - } - } - - grouping MPLS-LABEL-SECURITY-INTF { - description "MPLS LABEL SECURITY INTF"; - leaf rpf-enabled { - type boolean; - description "RPF is enabled on interface"; - } - leaf rpf-supported { - type boolean; - description "RPF stats supported per interface"; - } - leaf mld-enabled { - type boolean; - description "Multi-label drop is enabled on interface"; - } - leaf mld-supported { - type boolean; - description - "Multi-label drop counters are supported per - interface"; - } - leaf rpf-drops { - type uint64; - description "RPF drops"; - } - leaf multi-label-drops { - type uint64; - description "Multi-label drops"; - } - leaf rpfifh { - type xr:Interface-name; - description "RPF interface handle"; - } - } - - grouping MPLS-MCAST-INFO { - description "Information for mpls multicast entries"; - leaf multicast-mol-base-flags { - type uint32; - description "MOL base flags"; - } - leaf multicast-mol-flags { - type uint16; - description "MOL flags"; - } - leaf multicast-mol-referance-count { - type uint16; - description "MOL refcount"; - } - leaf multicast-tunnel-interface-handler { - type xr:Interface-name; - description "multicast mpls tunnel"; - } - leaf multicast-tunnel-id { - type uint32; - description - "multicast mpls P2MP-TE tunnel id or MLDP Tunnel - LSMID on all nodes"; - } - leaf multicast-tunnel-next-hop-information { - type uint32; - description "multicast nhinfo for p2mp TE Head"; - } - leaf multicast-tunnel-lspvif { - type uint32; - description "multicast LSPVIF for MLDP Tunnels"; - } - leaf multicast-mpls-output-paths { - type uint16; - description "num multicast mpls output paths "; - } - leaf multicast-mpls-protocol-output-paths { - type uint16; - description "num multicast mpls prot output paths "; - } - leaf multicast-mpls-local-output-paths { - type uint16; - description "num multicast mpls local output paths"; - } - leaf multicast-rpf-id { - type uint32; - description "The multicast RPF-ID "; - } - leaf multicast-encap-id { - type uint32; - description "The multicast ENCAP-ID "; - } - leaf multicast-platform-data-length { - type uint8; - description "The multicast platform data len"; - } - leaf multicast-platform-data { - type yang:hex-string; - description "The multicast platform data"; - } - } - - grouping MPLS-LDI-INFO { - description - "Detailed load sharing information for mpls table - entries"; - leaf ldi-hardware-information { - type yang:hex-string; - description "Hardware info"; - } - } - - grouping MPLS-ADJ-EXACT-ROUTE-HASH-INFO { - description "MPLS Adj Exact-Route Hash info"; - leaf hash-index-is-valid { - type boolean; - description "Is Hash Index valid?"; - } - leaf hash-index { - type uint8; - description "Hash Index value"; - } - } - - grouping MPLS-FWD-INFO { - description "MPLS FWD INFO"; - leaf l3-mtu { - type uint32; - description "L3 MTU"; - } - leaf total-encapsulation-size { - type uint32; - description "Total encapsulation size: L2 + MPLS"; - } - leaf mac-size { - type uint32; - description "Length of L2 encapsulation"; - } - leaf transmit-number-of-packets-switched { - type uint64; - description "Number of packets switched"; - } - leaf transmit-number-of-bytes-switched { - type uint64; - units "byte"; - description "Number of Bytes switched"; - } - leaf status { - type int32; - description "Status"; - } - leaf next-hop-interface { - type xr:Interface-name; - description "Next hop interface"; - } - leaf next-hop-protocol { - type Proto; - description "The address family (V4/V6) "; - } - leaf next-hop-string { - type string; - description "Next hop address in string format"; - } - list label-stack { - description "Label stack"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-ADJ-INFO { - description "MPLS ADJ INFO"; - - container label-information-detail { - description "Detail label info"; - uses MPLS-FWD-INFO; - } - - container exact-route-hash-info { - description "Path's Hash info in case of exact-route command"; - uses MPLS-ADJ-EXACT-ROUTE-HASH-INFO; - } - leaf label-information-type { - type uint32; - description "Label-Info type"; - } - leaf local-label { - type uint32; - description "Local label"; - } - leaf outgoing-label { - type uint32; - description "Outgoing label"; - } - leaf mpls-adjacency-flags { - type uint32; - description "MPLS Adjacency flags"; - } - leaf tunnel-id-present { - type boolean; - description "Tunnel id present?"; - } - leaf outgoing-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf outgoing-physical-interface { - type xr:Interface-name; - description "Outgoing Physical Interface"; - } - leaf outgoing-parent-interface { - type xr:Interface-name; - description "Outgoing Parent Interface"; - } - leaf tunnel-interface { - type xr:Interface-name; - description "Tunnel Interface"; - } - leaf label-information-path-index { - type uint32; - description "LabelInformationPathIndex"; - } - leaf label-information-next-hop-type { - type Next-hop; - description "NHinfo Type"; - } - leaf label-information-next-hop-protocol { - type Proto; - description "The address family (v4/v6) "; - } - leaf tx-bytes { - type uint64; - units "byte"; - description "Bytes transmitted per LSP"; - } - leaf tx-packets { - type uint64; - description "Packets transmitted per LSP"; - } - leaf outgoing-interface-string { - type string; - description "Output Interface in string format"; - } - leaf outgoing-label-string { - type string; - description "Output Label in string format"; - } - leaf prefix-or-id { - type string; - description "Prefix Or ID"; - } - leaf label-information-next-hop-string { - type string; - description "Next hop address in string format"; - } - leaf label-information-route-version { - type uint64; - description "The version of the route"; - } - leaf label-information-time-in-milli-seconds { - type uint64; - description "The time of last update in msec"; - } - } - - grouping MPLS-SH-LEAF { - description "Information about label leaf"; - - container ldi-information { - description "LDI-info in FIB leaf"; - uses MPLS-LDI-INFO; - } - - container multicast-information { - description "The multicast info"; - uses MPLS-MCAST-INFO; - } - leaf leaf-local-label { - type uint32; - description "Local label"; - } - leaf eos-bit { - type uint32; - description "EOS bit"; - } - leaf hardware-information { - type yang:hex-string; - description "Hardware info"; - } - leaf leaf-referance-count { - type uint32; - description "Number of references to the leaf"; - } - leaf leaf-flags { - type uint32; - description "The leaf flags"; - } - leaf path-list-referance-count { - type uint32; - description "Number of references to the pathlist"; - } - leaf path-list-flags { - type uint32; - description "The pathlist flags"; - } - leaf ldi-referance-count { - type uint32; - description "Number of references to the LDI"; - } - leaf ldi-flags { - type uint32; - description "The LDI flags"; - } - leaf ldi-type { - type uint32; - description "The LDI type"; - } - leaf ldi-pointer { - type uint32; - description "The pointer to the LDI"; - } - leaf lw-ldi-type { - type uint32; - description "The LW-LDI type"; - } - leaf lw-ldi-pointer { - type uint32; - description "The pointer to the LW-LDI"; - } - leaf lw-ldi-refernace-count { - type uint32; - description "The LW-LDI refcounter"; - } - leaf lw-shared-ldi-pointer { - type uint32; - description "The pointer to the shared LDI in LW-LDI"; - } - leaf lspa-flags { - type uint32; - description "The LSPA flags"; - } - leaf afi-table-id { - type uint32; - description "The AFI table ID"; - } - leaf multicast-label { - type boolean; - description "The unicast or multicast label"; - } - leaf leaf-time-in-milli-seconds { - type uint64; - description "The time of last update in msec"; - } - - list label-information { - description "Label-infos in FIB leaf"; - uses MPLS-ADJ-INFO; - } - } - - grouping MPLS-FWDING-SUMMARY { - description "MPLS FWDING SUMMARY"; - leaf ipv4-imposition-entries { - type uint32; - description "Number of IPv4 imposition entries"; - } - leaf reserved-label-entries { - type uint32; - description "Number of reserved label entries"; - } - leaf label-switched-entries { - type uint32; - description "Number of label swap/disposition entries"; - } - leaf deleted-stale-entries { - type uint32; - description "Number of delete stale label entries"; - } - leaf te-head-entries { - type uint32; - description "Number of TE tunnel head imposition entries"; - } - leaf te-frr-head-entries { - type uint32; - description "Number of TE FRR tunnel head imposition entries"; - } - leaf te-frr-interface-entries { - type uint32; - description "Number of TE FRR protected interface entries"; - } - leaf te-frr-next-hop-entries { - type uint32; - description "Number of TE FRR protected next-hop entries"; - } - leaf te-mid-points-entries { - type uint32; - description "Number of TE MidPoints forwarding entries"; - } - leaf te-frr-mid-points-entries { - type uint32; - description "Number of TE FRR MidPoints forwarding entries"; - } - leaf te-internal-entries { - type uint32; - description "Number of TE internal forwarding entries"; - } - leaf te-frr-internal-entries { - type uint32; - description "Number of TE internal forwarding entries"; - } - leaf total-forwarding-updates { - type uint32; - description "Total forwarding updates from LSD to LFDs"; - } - leaf total-forwarding-update-messages { - type uint32; - description - "Total forwarding update messages from LSD to - LFDs"; - } - leaf total-p2mp-forwarding-updates { - type uint32; - description "Total forwarding updates from MRIB to LFDs"; - } - leaf total-p2mp-forwarding-added-or-modify-messages { - type uint32; - description - "Total p2mp forwarding add/modify messages from - MRIB to LFDs"; - } - leaf total-p2mp-forwarding-delete-messages { - type uint32; - description - "Total p2mp forwarding del messages from MRIB to - LFDs"; - } - leaf total-p2mp-forwarding-drop-messages { - type uint32; - description - "Total p2mp forwarding messages dropped from MRIB - to LFDs"; - } - leaf total-p2mp-iir-forwarding-drop-messages { - type uint32; - description - "Total IIR triggered p2mp forwarding MRIB - messages dropped"; - } - leaf lowest-label { - type uint32; - description "Lowest label in use"; - } - leaf highest-label { - type uint32; - description "Highest Label in use"; - } - leaf ignore-protect { - type uint32; - description "Number of TE tunnels treated as non-protected"; - } - leaf mte-head-entries { - type uint32; - description "Number of MTE tunnel head entries"; - } - leaf mte-ll-entries { - type uint32; - description "Number of MTE local entries"; - } - leaf mte-midpoint-entries { - type uint32; - description "Number of MTE midpoint entries"; - } - leaf global-dropped-packets { - type uint64; - description "Number of global FIB packets dropped"; - } - leaf global-fragmented-packets { - type uint64; - description "Number of global FIB packets fragmented"; - } - leaf global-failed-lookups { - type uint64; - description "Number of global failed lookups"; - } - leaf lrpf-entries { - type uint32; - description "Number of labels with RPF"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub3.yang deleted file mode 100644 index 3107d40..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub3.yang +++ /dev/null @@ -1,3352 +0,0 @@ -submodule Cisco-IOS-XR-fib-common-oper-sub3 { - - belongs-to Cisco-IOS-XR-fib-common-oper { - prefix Cisco-IOS-XR-fib-common-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fib-mpls-llc-entry-bag { - type enumeration { - enum fib-mpls-llc-bag-type-xc { - value 1; - description "fib mpls llc bag type xc"; - } - enum fib-mpls-llc-bag-type-pfx { - value 2; - description "fib mpls llc bag type pfx"; - } - enum fib-mpls-llc-bag-type-lsm { - value 3; - description "fib mpls llc bag type lsm"; - } - enum fib-mpls-llc-bag-type-max { - value 4; - description "fib mpls llc bag type max"; - } - } - description "Fib mpls llc entry bag"; - } - typedef Fib-rpf-mode { - type enumeration { - enum fib-rpf-mode-strict { - description "RPF mode strict"; - } - enum fib-rpf-mode-loose { - description "RPF mode loose"; - } - enum fib-rpf-mode-unknown { - description "RPF mode unknown"; - } - } - description "RPF mode types"; - } - typedef Fibidb-oper { - type enumeration { - enum fibidb-none { - value 0; - description "fibidb none"; - } - enum fibidb-create { - value 1; - description "fibidb create"; - } - enum fibidb-delete { - value 2; - description "fibidb delete"; - } - enum fibidb-modify { - value 3; - description "fibidb modify"; - } - enum fibidb-max { - value 4; - description "fibidb max"; - } - } - description "Fibidb oper"; - } - typedef Fib-sh-tbl-fib-ext-bag { - type enumeration { - enum leaf-extension { - value 1; - description "Leaf Extension"; - } - } - description "Fib sh tbl fib ext bag"; - } - typedef Fib-update-path-lfa-protection { - type enumeration { - enum not-lfa-protected { - description "Not LFA-protected"; - } - enum local-lfa-protected { - description "Local-LFA protected"; - } - enum remote-lfa-protected { - description "Remote-LFA protected"; - } - enum ti-lfa-protected { - description "TI-LFA protected"; - } - } - description "LFA protection type"; - } - typedef Fib-sh-ipencap-hdr { - type enumeration { - enum fib-sh-ip-encap-none { - description "No Header"; - } - enum fib-sh-ip-encap-ip4 { - description "IPv4 Header"; - } - enum fib-sh-ip-encap-ip6 { - description "IPv6 Header"; - } - enum fib-sh-ip-encap-udp { - description "UDP Header"; - } - enum fib-sh-ip-encap-lisp { - description "Lisp Header"; - } - } - description "IP Encap Header Type"; - } - typedef Fib-neh-special { - type enumeration { - enum nh-not-found { - description "nh not found"; - } - enum nh-null0 { - description "nh null0"; - } - enum nh-punt { - description "nh punt"; - } - enum nh-drop { - description "nh drop"; - } - enum nh-glean { - description "nh glean"; - } - enum nh-receive { - description "nh receive"; - } - enum nh-broadcast { - description "nh broadcast"; - } - enum nh-external { - description "nh external"; - } - enum nh-lisp { - description "nh lisp"; - } - enum nh-lookup { - description "nh lookup"; - } - enum nh-max-type { - description "nh max type"; - } - } - description "Fib neh special"; - } - typedef Fib-neh { - type enumeration { - enum nh-local { - description "nh local"; - } - enum nh-remote { - description "nh remote"; - } - enum nh-special { - description "nh special"; - } - } - description "Fib neh"; - } - typedef Fib-adjacency-show { - type enumeration { - enum fib-adjacency-normal { - description "Normal adjacency"; - } - enum fib-adjacency-null { - description "Null adjacency"; - } - enum fib-adjacency-punt { - description "Punt adjacency"; - } - enum fib-adjacency-drop { - description "Drop adjacency"; - } - enum fib-adjacency-glean { - description "Glean adjacency"; - } - enum fib-adjacency-discard { - description "Discard adjacency"; - } - enum fib-adjacency-broadcast { - description "Broadcast adjacency"; - } - enum fib-adjacency-external { - description "external adjacency"; - } - enum fib-adjacency-lisp { - description "LISP adjacency"; - } - enum fib-adjacency-unknown { - description "Unknown adjacency"; - } - } - description "Adjacency types"; - } - typedef Fib-loadshare-show { - type enumeration { - enum fib-load-share-none { - description "No loadsharing"; - } - enum fib-load-share-per-packet { - description "Per packet loadsharing"; - } - enum fib-load-share-dest-sharing { - description "Destination loadsharing"; - } - } - description "Loadsharing type"; - } - typedef Fib-nhinfo-ext-bag { - type enumeration { - enum replicated-nh-info { - description "Replicated NHINFO"; - } - enum shared-nh-info { - description "Shared NHINFO"; - } - } - description "FIB NHINFO extension type"; - } - typedef Fib-frr-protocol-show { - type enumeration { - enum frr-protocol-ipv4 { - description "frr protocol ipv4"; - } - enum frr-protocol-ipv6 { - description "frr protocol ipv6"; - } - enum frr-protocol-mpls { - description "frr protocol mpls"; - } - } - description "Fib frr protocol show"; - } - typedef Ss-lba-state { - type enumeration { - enum l3 { - description "L3 Load Balance config"; - } - enum l4 { - description "L4 Load Balance config"; - } - } - description "Load Balance config"; - } - - grouping FIB-MPLS-LLC-LSM { - description "FIB MPLS LLC LSM"; - leaf nh { - type string { - length "0..52"; - } - description "nh"; - } - leaf mcast-id { - type uint32; - description "mcast id"; - } - } - - grouping FIB-MPLS-LLC-PFX { - description "FIB MPLS LLC PFX"; - leaf pfx { - type string { - length "0..52"; - } - description "pfx"; - } - leaf tbl-id { - type uint32; - description "tbl id"; - } - } - - grouping FIB-MPLS-LLC-TYPE-EXT { - description "FIB MPLS LLC TYPE EXT"; - - container pfx { - when "../type = 'fib-mpls-llc-bag-type-pfx'" { - description "../type = 'FIB_MPLS_LLC_BAG_TYPE_PFX'"; - } - description "pfx"; - uses FIB-MPLS-LLC-PFX; - } - - container lsm { - when "../type = 'fib-mpls-llc-bag-type-lsm'" { - description "../type = 'FIB_MPLS_LLC_BAG_TYPE_LSM'"; - } - description "lsm"; - uses FIB-MPLS-LLC-LSM; - } - leaf type { - type Fib-mpls-llc-entry-bag; - description "type"; - } - } - - grouping FIB-MPLS-LLC { - description "FIB MPLS LLC"; - - container ext { - description "ext"; - uses FIB-MPLS-LLC-TYPE-EXT; - } - leaf local-label { - type uint32; - description "local label"; - } - leaf source-xr { - type uint32; - description "source xr"; - } - leaf update-ts { - type uint64; - description "update ts"; - } - leaf retry-ts { - type uint64; - description "retry ts"; - } - leaf num-retries { - type uint32; - description "num retries"; - } - } - - grouping FIB-SH-PLAT-CAPABILITIES { - description "FIB platform capabilities"; - leaf fpc-num-l3-lbl-levels { - type uint8; - description "L3 LBL levels"; - } - leaf fpc-num-l3-lbl-paths { - type uint8; - description "L3 Hash buckets"; - } - leaf fpc-num-l3-lbl-rec-paths { - type uint8; - description "L3 Recursive Hash buckets"; - } - leaf fpc-num-l3-ucmp-paths { - type uint8; - description "L3 Unequal cost hash buckets"; - } - leaf fpc-num-fwding-stages { - type uint8; - description "Forwarding stages"; - } - leaf fpc-local-label-split { - type uint32; - description "Label split"; - } - leaf fpc-stats-support { - type boolean; - description "Statistics support"; - } - leaf fpc-platf-ready-cb-wait { - type boolean; - description "Plat ready cb register"; - } - leaf fpc-num-paths-per-pbts-class { - type uint8; - description "Path per tunnel class"; - } - leaf fpc-platf-v4-upd-disable { - type boolean; - description "V4 update disable"; - } - leaf fpc-platf-v6-upd-disable { - type boolean; - description "V6 update disable"; - } - leaf fpc-lba-tuples-default { - type uint32; - description "LBA tuples"; - } - leaf fpc-mraps-support { - type boolean; - description "MRAPS support"; - } - leaf fpc-pbts-defclass-support { - type boolean; - description "PBTS default class support"; - } - leaf fpc-loadinfo-filter-support { - type boolean; - description "loadinfo filter support"; - } - leaf fpc-nhid { - type boolean; - description "NHID support"; - } - leaf fpc-platf-temp-back-walk-reqd { - type boolean; - description "Backwalk dependents is required"; - } - leaf fpc-link-mpls-nhinfo-in-ipv6-thread-support { - type boolean; - description "Link MPLS IPv6 NH support"; - } - leaf fpc-exclude-deag-bkup { - type boolean; - description "Exclude Deag backup Paths"; - } - leaf fpc-dlb-support { - type boolean; - description "Per-destination load-balancing support"; - } - leaf fpc-prefix-filter-support { - type uint8; - description "Prefix filter level of support"; - } - leaf fpc-slowpath-ingress-inject-reqd { - type boolean; - description "Slowpath ingress inject required"; - } - - list fpc-lisp-decap-over-v4 { - min-elements "3"; - max-elements "3"; - description "LISP Decap over 4"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list fpc-lisp-decap-over-v6 { - min-elements "3"; - max-elements "3"; - description "LISP Decap over 6"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list fpc-lisp-ucmp { - min-elements "3"; - max-elements "3"; - description "LISP UCMP support"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list fpc-resolve-via-table { - min-elements "3"; - max-elements "3"; - description "Fallback VRF support"; - leaf entry { - type boolean; - description "Array entry."; - } - } - } - - grouping FIB-SH-PROTO-FRR-STATS { - description "FIB per protocol frr counters"; - leaf mi-num-intf-frr { - type uint32; - description "number of FRR events sent on nh interface down"; - } - leaf mi-num-parent-intf-frr { - type uint32; - description - "number of FRR events sent on nh parent interface - down"; - } - leaf mi-num-pfi-intf-down { - type uint32; - description "number of interface down FRR events from PFI"; - } - leaf mi-num-bfd-down { - type uint32; - description "number of NH down FRR events frm BFD"; - } - leaf mi-num-prot-frr-objects { - type uint32; - description "total number of prot FRR objects"; - } - leaf mi-num-bkup-frr-objects { - type uint32; - description "total number of backup FRR objects"; - } - leaf mi-num-tunid-allocs { - type uint32; - description - "total number of successful FRR tunnel ID - allocations"; - } - leaf mi-num-tunid-alloc-failures { - type uint32; - description - "total number of FRR tunnel ID allocation - failures"; - } - leaf mi-num-tunid-frees { - type uint32; - description "total number of successful FRR tunnel ID frees"; - } - leaf mi-num-tunid-free-failures { - type uint32; - description "total number of FRR tunnel ID free failures"; - } - leaf mi-num-frr-reset-queue-adds { - type uint32; - description "number of frr reset queue adds"; - } - leaf mi-num-frr-reset-queue-remove { - type uint32; - description "number of frr reset queue deletes"; - } - leaf mi-num-frr-reset { - type uint32; - description "number of frr resets"; - } - leaf mi-num-frr-proto-events { - type uint32; - description "number of frr events received in proto thread"; - } - leaf mi-num-frr-logs { - type uint32; - description "frr log size"; - } - } - - grouping FIB-SH-ROUTE-DEL-TS { - description "FIB SH ROUTE DEL TS"; - leaf tableid { - type uint32; - description "tableid"; - } - leaf prfx { - type string { - length "0..16"; - } - description "prfx"; - } - leaf prfx-len { - type uint16; - description "prfx len"; - } - leaf prfx-proto { - type uint16; - description "prfx proto"; - } - leaf msec-time { - type uint64; - description "msec time"; - } - } - - grouping FIB-SH-PROTO-PURGE-STATS { - description "FIB per protocol purge counters"; - list fpp-cntr { - max-elements "3"; - - description "the number of frees for this proto"; - leaf entry { - type uint32; - } - } - } - - grouping FIB-SH-GTRIE-FN-TIMING { - description - "FIB timing statistics for individual gtrie - functions"; - leaf fgft-fn { - type string { - length "0..64"; - } - description "Gtrie operation"; - } - leaf fgft-tot-updates { - type uint64; - description "Total number of updates"; - } - leaf fgft-tot-updates-zero { - type uint64; - description - "Total number of updates with zero timing (due to - timestamp granularity)"; - } - leaf fgft-tot-upd-time { - type uint64; - description "Total time for updates"; - } - leaf fgft-max-time { - type uint64; - description "Time for the update"; - } - leaf fgft-max-tstamp { - type uint64; - description "Time stamp of max update"; - } - } - - grouping FIB-SH-GTRIE-TIMING { - description "FIB platform update statistics"; - leaf fgt-num-success { - type uint64; - description "Number of successful updates"; - } - leaf fgt-num-failure { - type uint64; - description "Number of unsuccessful updates"; - } - leaf fgt-upd-total-time { - type uint64; - description "Total time for all pd updates"; - } - - list fgt-gtrie-fn-timing { - description - "Array of max time info indexed by gtrie function"; - uses FIB-SH-GTRIE-FN-TIMING; - } - } - - grouping FIB-SH-OBJ-ACTION-STATS { - description - "FIB Max time statistics for each action types of - an object"; - leaf foas-tot-updates { - type uint64; - description "Total number of updates"; - } - leaf foas-tot-upd-time { - type uint64; - description "Total time for updates"; - } - leaf foas-tot-updates-zero { - type uint64; - description "Total number of updates that took zero time"; - } - leaf foas-num-success { - type uint64; - description "Total number of successful updates"; - } - leaf foas-num-failure { - type uint64; - description "Total number of failed updates"; - } - leaf foas-max-time { - type uint64; - description "Time for the update"; - } - leaf foas-max-tstamp { - type uint64; - description "Time stamp of max update"; - } - } - - grouping FIB-SH-OBJ-STATS { - description "FIB Max time statistics for each FIB object"; - leaf fos-tot-updates { - type uint64; - description "Total number of updates"; - } - leaf fos-tot-upd-time { - type uint64; - description "Total time for updates"; - } - - list fos-obj-act-stat { - description "Array of max time info indexed by action type"; - uses FIB-SH-OBJ-ACTION-STATS; - } - } - - grouping FIB-SH-PLATF-UPD-STATS { - description "FIB platform update statistics"; - leaf fpus-num-success { - type uint64; - description "Number of successful updates"; - } - leaf fpus-num-failure { - type uint64; - description "Number of unsuccessful updates"; - } - leaf fpus-upd-total-time { - type uint64; - description "Total time for all pd updates"; - } - - list fpus-obj-stat { - description "Array of max time info indexed by object type"; - uses FIB-SH-OBJ-STATS; - } - } - - grouping FIB-SH-PROTO-DEBUG-STATS { - description "FIB per protocol debug information"; - - container fpd-platf-upd-stats { - description "platform update statistics"; - uses FIB-SH-PLATF-UPD-STATS; - } - - container fpd-gtrie-timing { - description "Gtrie timing statistics"; - uses FIB-SH-GTRIE-TIMING; - } - leaf fpd-gbltbl-entries { - type uint64; - description "the number of fib entries in global tbl"; - } - leaf fpd-gbltbl-rej-entries { - type uint64; - description "the number of fib entries in global retry tbl"; - } - leaf fpd-vrftbl-entries { - type uint64; - description "the number of fib entries in vrf tbls"; - } - leaf fpd-vrftbl-rej-entries { - type uint64; - description "the number of fib entries in vrf retry tbls"; - } - leaf fpd-num-tbls { - type uint32; - description "the number of tables in table set"; - } - leaf fpd-bcdl-msgs { - type uint64; - description "the number of bcdl msgs"; - } - leaf fpd-route-upd { - type uint64; - description "the number of route updates"; - } - leaf fpd-route-del { - type uint64; - description "the number of route deletes"; - } - leaf fpd-route-rcv { - type uint64; - description "the number of routes received"; - } - leaf fpd-route-drops { - type uint64; - description "the number of routes dropped"; - } - leaf fpd-lbl-recycled { - type uint64; - description - "the number of routes handled with recycled label"; - } - leaf fpd-version-mismatch-drops { - type uint64; - description - "the number of routes dropped because of version - mismatch"; - } - leaf fpd-adj-upd { - type uint64; - description "the number of adjacency updates"; - } - leaf fpd-adj-del { - type uint64; - description "the number of adjacency deletes"; - } - leaf fpd-adj-upd-tx { - type uint64; - description "number of TX adjacency updates from AIB"; - } - leaf fpd-adj-upd-tx-nh-found { - type uint64; - description - "number of TX adjacency updates that found or - created NH"; - } - leaf fpd-adj-upd-tx-retry-created { - type uint64; - description - "number of TX adjacency updates that went to - retry"; - } - leaf fpd-adj-tx-retry-nh-found { - type uint64; - description - "number of TX adj retries that found or created - NH"; - } - leaf fpd-adj-tx-retry-obj-reinit { - type uint64; - description "number of times TX NH retry objects updated"; - } - leaf fpd-adj-drops { - type uint64; - description " number of adj updates dropped because of OOR"; - } - leaf fpd-adj-msg { - type uint64; - description "number of AIB messages"; - } - leaf fpd-te-rcv { - type uint64; - description "the number of TE upds received"; - } - leaf fpd-te-version-mismatch-drops { - type uint64; - description - "the number of TE upds dropped because of version - mismatch"; - } - leaf fpd-num-retry-touts { - type uint64; - description "the number of retry timeouts"; - } - leaf fpd-ldi-num-fixedup { - type uint64; - description "the number of fixup LDIs"; - } - leaf fpd-ldi-num-correct-fixup { - type uint64; - description "the number of corrected fixup LDIs"; - } - leaf fpd-pl-num-queued-fixedup { - type uint64; - description "the number of PL queued for fixup"; - } - leaf fpd-pl-num-correct-fixup { - type uint64; - description "the number of corrected fixup PLs"; - } - leaf fpd-pl-retry-add-exist { - type uint64; - description - "the number PLs added to retry while already in - retry"; - } - leaf fpd-pl-inline-res-q { - type uint64; - description - "the number of PLs linked to resolving tables for - inline res"; - } - leaf fpd-pl-with-backup-create-count { - type uint64; - description "number of pl creates with backu path"; - } - leaf fpd-pl-with-backup-del-count { - type uint64; - description "number of pl deletes with backup path"; - } - leaf fpd-pl-backup-enable-count { - type uint64; - description "number of PLs marked to include backup path"; - } - leaf fpd-pl-backup-disable-count { - type uint64; - description " number of PLs unmarked to include backup path"; - } - leaf fpd-pl-fast-nfn-count { - type uint64; - description "number of PLs visited on fast notification"; - } - leaf fpd-ldi-backup-activate-count { - type uint64; - description "number of ldi backup path activications"; - } - leaf fpd-ldi-last-backup-activate-time { - type uint64; - description "ldi mod time for last backup activation"; - } - leaf fpd-ldi-max-backup-activate-time { - type uint64; - description "max ldi mod time for backup activation"; - } - leaf fpd-ldi-min-backup-activate-time { - type uint64; - description "min ldi mod time for backup activation"; - } - leaf fpd-ldi-total-backup-activate-time { - type uint64; - description "total ldi mod time for backup activation"; - } - leaf fpd-ldi-avg-backup-activate-time { - type uint64; - description "avg ldi mod time for backup activation"; - } - leaf fpd-recursion-constraint-count { - type uint64; - description - "number of resolution failures because of - recursion constraint"; - } - leaf fpd-ldi-num-del-refcnt { - type uint64; - description "the number of deleted with non-zero refcount"; - } - leaf fpd-retryq-size { - type uint32; - description "the number of elements in retryq"; - } - leaf fpd-num-allocs { - type uint64; - description "the number of allocs for this proto"; - } - leaf fpd-num-frees { - type uint64; - description "the number of frees for this proto"; - } - leaf fpd-retryq-timeout { - type uint32; - description "timeout value in msec"; - } - leaf fpd-retryq-sched-time { - type uint32; - description "Scheduler time period in msec"; - } - list fpd-gbltbl-src-entry { - max-elements "14"; - - description - - "Number of global routes from - - each route source"; - leaf entry { - type uint64; - } - } - list fpd-vrftbl-src-entry { - max-elements "14"; - - description - - "Number of vrf routes from - - each route source"; - leaf entry { - type uint64; - } - } - list fpd-num-retry { - description "the number of retries of each type"; - leaf entry { - type uint64; - } - } - } - - grouping FIB-SH-MISC { - description "FIB miscellaneous info"; - - container mi-issu-state { - description "FIB ISSU state"; - uses FIB-ISSU-STATE; - } - - container mi-plat-capabilities { - description "FIB platform capabilities"; - uses FIB-SH-PLAT-CAPABILITIES; - } - leaf mi-pfi-ifh-upd { - type uint64; - description "number of pfi ifh create notif"; - } - leaf mi-pfi-ifh-del { - type uint64; - description "number of pfi ifh delete notif"; - } - leaf mi-pfi-ifh-stale { - type uint64; - description "number of stale ifh removed"; - } - leaf mi-tot-plat-upd-time { - type uint64; - description "total platform update time"; - } - leaf mi-tot-gtrie-time { - type uint64; - description "total time spent in gtrie operations"; - } - leaf mi-tot-dnld-time { - type uint64; - description "total download time"; - } - leaf mi-clock-time { - type uint64; - description "clock download time"; - } - leaf mi-cpu-time { - type uint64; - description "CPU download time"; - } - leaf mi-shm-reset-ts { - type uint64; - description "Last FIB shared memory reset time stamp"; - } - leaf mi-idb-recycle-count { - type uint32; - description "Number of idbs that hit ifh recycle"; - } - leaf mi-idb-recycle-cleanup-count { - type uint32; - description - "Number of idb cleaned up after hitting ifh - recycle"; - } - leaf mi-num-mgmt-list { - type uint32; - description "Number of management interfaces"; - } - leaf mi-num-virtual-ll-addresses-added { - type uint32; - description "mi num virtual ll addresses added"; - } - leaf mi-num-virtual-ll-addresses-deleted { - type uint32; - description "mi num virtual ll addresses deleted"; - } - leaf mi-num-virtual-ll-addresses-dropped { - type uint32; - description "mi num virtual ll addresses dropped"; - } - leaf mi-num-virtual-ll-addresses-cached { - type uint32; - description "mi num virtual ll addresses cached"; - } - leaf mi-cpuless-init { - type boolean; - description "cpuless node list init"; - } - leaf mi-cpuless-count { - type uint32; - description "count of cpuless line cards"; - } - leaf mi-prefer-aib-routes-over-rib-oper { - type boolean; - description - "Prefer AIB routes over RIB/LSD operational state"; - } - leaf mi-prefer-aib-routes-over-rib-cfg { - type boolean; - description "Prefer AIB routes over RIB/LSD configured state"; - } - leaf mi-xpl-ldi-enabled { - type boolean; - description "XPL loadinfo is enabled"; - } - list mi-idb-ext-cleanup-failed-count { - max-elements "3"; - - description - - "Number of recycled idb extensions that failed - - cleanup"; - leaf entry { - type uint32; - } - } - list mi-lrpf-stats-fail { - max-elements "9"; - - description "Per protocol Failure stats for label RPF"; - leaf entry { - type uint32; - } - } - list mi-lrpf-stats-act { - max-elements "24"; - - description "Per protocol actions stats for label RPF"; - leaf entry { - type uint32; - } - } - list mi-lrpf-num { - max-elements "3"; - - description "Per protocol number of label RPFs"; - leaf entry { - type uint32; - } - } - list mi-idb-lsec-enabled-num { - max-elements "3"; - - description - - "Number of interfaces having label security - - enabled"; - leaf entry { - type uint32; - } - } - list mi-num-lisp-eid { - max-elements "3"; - - description "number of LISP EID prefixes"; - leaf entry { - type uint32; - } - } - list mi-num-lisp-valid-eid { - max-elements "3"; - - description - - "number of LISP EID prefixes eligible for - - forwarding"; - leaf entry { - type uint32; - } - } - list mi-cpuless-node { - max-elements "20"; - - description "list of cpuless line cards"; - leaf entry { - type uint32; - } - } - - list mi-proto-dbg-stat { - description "Per protocol debug stats"; - uses FIB-SH-PROTO-DEBUG-STATS; - } - - list mi-idb-purge-cntr { - max-elements "3"; - description - "the number of counters used for purge counter - stats"; - uses FIB-SH-PROTO-PURGE-STATS; - } - - list mi-del { - description "Timestamps of deleted routes"; - uses FIB-SH-ROUTE-DEL-TS; - } - - list mi-frr-stat { - max-elements "3"; - description "FRR statistics"; - uses FIB-SH-PROTO-FRR-STATS; - } - } - - grouping FIB-SH-TBL-EXT-CLIENT-SUM { - description "FIB external client summary information"; - - container ses-pl-sum { - description "ECD pathlist summary"; - uses FIB-SH-TBL-EXT-PL-SUM; - } - leaf ses-client-name { - type string; - description "External client name"; - } - leaf ses-feci-fib-proto { - type uint32; - description "Registration proto"; - } - leaf ses-num-regs { - type uint32; - description "Number of registrations"; - } - leaf ses-num-pending { - type uint32; - description "Number of pending notifs"; - } - leaf ses-client-pulsed-time { - type uint64; - description "Client pulsed timestamp"; - } - leaf ses-comp-id { - type uint32; - description "component-id of the client"; - } - leaf ses-ecd-version { - type uint32; - description "ECD version"; - } - } - - grouping FIB-SH-NHID-ENTRY { - description "FIB per NHID entry information"; - leaf nh-interf-handle { - type xr:Interface-name; - description "Next-hop interface"; - } - leaf nh-address-xr { - type string; - description "Next-hop address"; - } - leaf nh-protocol { - type uint8; - description "Next-hop address protocol, IPv4/IPv6"; - } - leaf nh-link-type { - type uint8; - description "Payload linktype"; - } - leaf nh-table-id { - type uint32; - description "Table-ID entry notified for"; - } - leaf nh-id { - type uint32; - description "NHID value"; - } - leaf nh-id-application { - type uint8; - description "NHID application type"; - } - leaf version { - type uint64; - description "RIB version"; - } - leaf time-of-last-update-in-msec { - type uint64; - description "The time of last update in msec"; - } - } - - grouping EVT-HIST-ENTRY { - description "Event history Entry"; - leaf evt-timestamp { - type string; - description "The timestamp of the event"; - } - leaf evt-name { - type string; - description "Event name"; - } - leaf evt-type { - type uint8; - description "Event type"; - } - leaf evt-many { - type boolean; - description "Multiple instance flag"; - } - leaf evt-sticky { - type boolean; - description "Sticky flag"; - } - list evt-data { - description "Optional data"; - leaf entry { - type uint32; - } - } - } - - grouping EVT-HIST-INFO { - description "Per object event history"; - leaf evt-class-name { - type string; - description "Class name string"; - } - - list evt-entry { - description "Array of event entries"; - uses EVT-HIST-ENTRY; - } - } - - grouping FIB-SH-INT-INTERNAL { - description "FIB per interface internal information"; - - container fib-idb-hist { - description "Event History for IDB"; - uses EVT-HIST-INFO; - } - - container fib-srte-head-hist { - description "Event History for Srtehead"; - uses EVT-HIST-INFO; - } - } - - grouping FIB-SH-INT-DET { - description "FIB per interface detail information"; - leaf interface-mtu { - type uint16; - description "Interface Protocol MTU"; - } - leaf forwarding-flag { - type boolean; - description "Forwarding enabled/disabled flag"; - } - leaf rpf-configured-flag { - type boolean; - description "RPF configured flag"; - } - leaf rpf-mode { - type Fib-rpf-mode; - description "RPF mode"; - } - leaf default-route-with-rpf { - type boolean; - description "Allow default route with RPF"; - } - leaf self-ping-with-rpf { - type boolean; - description "Allow selfping with RPF"; - } - leaf bgp-pa-input-configured-flag { - type boolean; - description "BGP PA configured flag"; - } - leaf source-bgp-pa-input-configured-flag { - type boolean; - description "src BGP PA configured flag"; - } - leaf destination-bgp-pa-input-configured-flag { - type boolean; - description "dst BGP PA configured flag"; - } - leaf bgp-pa-output-configured-flag { - type boolean; - description "BGP PA configured flag"; - } - leaf source-bgp-pa-output-configured-flag { - type boolean; - description "src BGP PA configured flag"; - } - leaf destination-bgp-pa-output-configured-flag { - type boolean; - description "dst BGP PA configured flag"; - } - leaf icmp-flag { - type uint32; - description "ICMP configured flag"; - } - leaf multi-label-drop-flag { - type boolean; - description "Drop packets with multiple-label-stack if set"; - } - } - - grouping FIB-SH-INT { - description "FIB per interface information"; - - container detail-fib-int-information { - description "Detailed FIB interface information"; - uses FIB-SH-INT-DET; - } - - container si-internal { - description "Internal Information"; - uses FIB-SH-INT-INTERNAL; - } - leaf per-interface { - type xr:Interface-name; - description "Interface handle"; - } - leaf fib-interface-type { - type uint32; - description "FIB Interface type"; - } - leaf fib-id-pointer { - type uint32; - description "Pointer to fibidb"; - } - leaf fib-id-flags { - type uint32; - description "Flags on fibidb"; - } - leaf fib-id-extension-pointer { - type uint32; - description "Pointer to fibidb extension"; - } - leaf fib-id-extension-flags { - type uint32; - description "Flags on fibidb extension"; - } - leaf number-of-dependent-next-hop-information { - type uint32; - description "Number of dependent nhinfo's"; - } - leaf vrf-local-cef-information-pointer { - type uint32; - description "Vrf local cef info ptr"; - } - leaf reference-count { - type uint16; - description "Reference count"; - } - leaf last-modified-time { - type uint32; - description "Time last modified"; - } - leaf last-operation { - type Fibidb-oper; - description "Last Oper"; - } - leaf protocol-enabled { - type boolean; - description "Is the protocol configured?"; - } - leaf referance-count-for-protocol { - type uint32; - description "Reference count for the protocol"; - } - leaf number-of-input-packets { - type uint64; - description "Number of input packets"; - } - leaf number-of-input-bytes { - type uint64; - units "byte"; - description "Number of input bytes"; - } - leaf number-of-output-packets { - type uint64; - description "Number of output packets"; - } - leaf number-of-output-bytes { - type uint64; - units "byte"; - description "Number of output bytes"; - } - leaf interface-up-flag { - type boolean; - description "Interface up flag"; - } - leaf per-packet-load-balancing-flag { - type boolean; - description "Per packet loadbalancing flag"; - } - leaf p2p-interface-flag { - type boolean; - description "P2P interface flag"; - } - leaf loopback-interface-flag { - type boolean; - description "Loopback interface flag"; - } - leaf null-interface-flag { - type boolean; - description "Null interface flag"; - } - leaf tunnel-interface-flag { - type boolean; - description "Tunnel interface flag"; - } - leaf gre-tunnel-interface-flag { - type boolean; - description "GRE Tunnel interface flag"; - } - leaf punt-packets-from-fib-switching-flag { - type boolean; - description "Punt packets from FIB switching flag"; - } - leaf drop-packets-while-fib-switching-flag { - type boolean; - description "Drop packets while FIB switching flag"; - } - leaf punt-packets-from-linecard-flag { - type boolean; - description "Punt packets from linecard flag"; - } - leaf primary-ipv4-address { - type string { - length "0..52"; - } - description "Pimary local v4 address for the interface"; - } - leaf primary-ipv6-address { - type string { - length "0..52"; - } - description "Pimary local v6 address for the interface"; - } - } - - grouping FIB-SH-TBL-FIB-EXT-DET { - description "FIB entry extension list information"; - leaf context-label-flag { - type boolean; - description "Context Label Exist"; - } - leaf context-label { - type uint32; - description "Context Label"; - } - } - - grouping FIB-SH-TBL-FIB-EXT-CMN-DET { - description "FIB SH TBL FIB EXT CMN DET"; - - container sfecd-le { - when "../type = 'leaf-extension'" { - description "../type = 'LeafExtension'"; - } - description "sfecd le"; - uses FIB-SH-TBL-FIB-EXT-DET; - } - leaf type { - type Fib-sh-tbl-fib-ext-bag; - description "type"; - } - } - - grouping FIB-SH-LEAF-SRV6-STATS { - description "Statistics for a IPv6 SR prefix"; - leaf srv6-packets-forwarded { - type uint64; - description "SRv6 packets forwarded for a prefix"; - } - leaf srv6-packets-dropped { - type uint64; - description "SRv6 Packets dropped for a prefix"; - } - } - - grouping FIB-SH-LEAF-SRV6-INFO { - description "IPv6 SR related information"; - - container srv6-statistics { - description "Statistics for a IPv6 SR prefix"; - uses FIB-SH-LEAF-SRV6-STATS; - } - leaf route-is-sripv6-flag { - type boolean; - description "Route is an IPv6 Segment-Routing prefix"; - } - leaf srv6-pfx-resolved-via-policy-label { - type boolean; - description - "Route is a SRv6 prefix resolved via Policy label"; - } - leaf sripv6-stats-valid-flag { - type boolean; - description "Statistics are valid for this prefix"; - } - } - - grouping FIB-SH-TBL-MPLS-LABEL-STACK { - description - "mpls label stack information for FIB table - entries"; - leaf number-of-labels { - type uint32; - description "NumberOfLabels"; - } - leaf out-interface { - type xr:Interface-name; - description "OutInterface"; - } - leaf nh-address { - type string { - length "0..52"; - } - description "NHAddress"; - } - list lstack { - max-elements "23"; - - description "lstack"; - leaf entry { - type uint32; - } - } - } - - grouping FIB-SH-TBL-PATH-MPLS-INFO { - description "mpls path information for FIB table entries"; - leaf local-lable { - type uint32; - description "LocalLable"; - } - leaf recursive-fwd-chain { - type boolean; - description "RecursiveFwdChain"; - } - leaf number-of-igp-paths { - type uint32; - description "NumberOfIGPPaths"; - } - leaf remote-backup { - type boolean; - description "RemoteBackupPath"; - } - list recursive-lbl-stack { - description "Recursive Label(s)"; - leaf entry { - type uint32; - } - } - - list igp-label-stack-array { - description "igp label stack array"; - uses FIB-SH-TBL-MPLS-LABEL-STACK; - } - } - - grouping FIB-SH-IPENCAP-HDR-DET { - description "Detailed IP Encap Header Description"; - leaf ip-encap-hdr-type { - type Fib-sh-ipencap-hdr; - description "Header Type"; - } - leaf ip-encap-hdrp { - type yang:hex-string; - description "Static Header"; - } - leaf ip-encap-hdr-dyn { - type uint32; - description "Dynamic Header Fields"; - } - } - - grouping FIB-SH-IPENCAP-DET { - description "Detailed IP Encap Description"; - leaf ip-encap-hdr-count { - type uint8; - description "Header Count"; - } - leaf ip-encap-locks { - type uint32; - description "IPEncap Object Locks"; - } - leaf ip-encap-transport-tbl { - type uint32; - description "Transport Table"; - } - leaf ipe-transport-vrf-name { - type string; - description "Transport VRF name"; - } - leaf ip-encap-transport-af { - type uint32; - description "Transport AF"; - } - leaf ip-encap-payload-af { - type uint32; - description "Payload AF"; - } - leaf ip-encap-payload-mtu { - type uint16; - description "Payload MTU"; - } - leaf ip-encap-parent { - type uint32; - description "Pointer to parent"; - } - leaf ip-encap-parent-type { - type uint32; - description "Parent type enumeration"; - } - - list ip-encap-hdr { - description "Headers"; - uses FIB-SH-IPENCAP-HDR-DET; - } - } - - grouping FIB-SH-TBL-PATH-DET { - description "Detailed path information for FIB table entries"; - leaf ip-address-to-recurse { - type string { - length "0..52"; - } - description "IP address to recurse to"; - } - leaf label-to-recurse { - type uint32; - description "Local label to recurse over"; - } - leaf detail-next-hop-prefix { - type string { - length "0..52"; - } - description "Next hop prefix"; - } - leaf next-hop-mask-length { - type uint8; - description "Next hop mask length"; - } - leaf interface-associated-path { - type xr:Interface-name; - description "Interface associated with this path"; - } - leaf next-hop-interface { - type xr:Interface-name; - description "Next hop interface"; - } - leaf next-hop-vrf { - type string { - length "0..33"; - } - description "Next hop VRF"; - } - leaf tunnle-endpoint-id { - type uint32; - description "Tunnel endpoint id"; - } - leaf lisprlocid { - type uint32; - description "LISP RLOC ID"; - } - leaf number-of-dependencies-this-path { - type uint32; - description "No. of dependents for this path"; - } - leaf robin-reset-value { - type uint8; - description "Round robin reset value"; - } - leaf recurse-prefix-object { - type boolean; - description "Is recursion object a leaf?"; - } - leaf next-prefix-recursion { - type yang:hex-string; - description "Next prefix recursion in the path"; - } - leaf next-prefix-length { - type uint8; - description "Next prefix length"; - } - leaf recurse-prefix-object2 { - type boolean; - description - "Recursion has two leaves (e.g. implicit-null - path)"; - } - leaf next-prefix-recursion2 { - type yang:hex-string; - description "Next prefix2 recursion in the path"; - } - leaf next-prefix-length2 { - type uint8; - description "Next prefix2 length"; - } - leaf detail-fib-adjacency-type { - type Fib-adjacency-show; - description "FIB entry adjacency type"; - } - leaf current-path-flag { - type boolean; - description "Current path flag"; - } - leaf recursive-path-information { - type boolean; - description "Recursive path information is available"; - } - leaf external-adjacency { - type boolean; - description "Path is an external adjacency"; - } - leaf fib-path-nh-information-type { - type Fib-neh; - description "FIB Nhinfo type"; - } - leaf fib-path-nh-information-type-special { - type Fib-neh-special; - description "FIB Nhinfo type special"; - } - leaf weight-of-path { - type uint32; - description "Weight of the path"; - } - leaf tunnel-class { - type uint8; - description "Tunnel class of the path"; - } - leaf tunnel-is-forward-class { - type boolean; - description "Tunnel is forward class"; - } - - list spd-ipencap { - description "IP Encap"; - uses FIB-SH-IPENCAP-DET; - } - } - - grouping FIB-SH-TBL-PATH { - description "Brief path information for FIB table entries"; - - list fib-sh-tbl-path { - description "fib sh tbl path"; - - container more-detail-about-path { - description "More detail about this path entry"; - uses FIB-SH-TBL-PATH-DET; - } - - container mpls-information-for-path { - description "mpls info for this path entry"; - uses FIB-SH-TBL-PATH-MPLS-INFO; - } - leaf hardware-information { - type yang:hex-string; - description "Hardware info"; - } - leaf brief-interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf brief-next-hop-prefix { - type string { - length "0..52"; - } - description "Next hop prefix"; - } - leaf via-label-to-recurse { - type uint32; - description "Local label to recurse over"; - } - leaf brief-pnode-address { - type string { - length "0..52"; - } - description "P-node address"; - } - leaf brief-qnode-address { - type string { - length "0..52"; - } - description "Q-node address"; - } - leaf brief-lfa-protection-type { - type Fib-update-path-lfa-protection; - description "LFA protection type"; - } - leaf resolved-path { - type boolean; - description "Resolved path"; - } - leaf recursive-path { - type boolean; - description "Recursive path"; - } - leaf packets-received-path { - type boolean; - description "Packets received on this path"; - } - leaf attached-path { - type boolean; - description "Attached path"; - } - leaf backup-path { - type boolean; - description "Backup path"; - } - leaf best-external-path { - type boolean; - description "Best external path"; - } - leaf protect-ignore { - type boolean; - description "Is protection ignored"; - } - leaf path-dlb { - type boolean; - description "Is this the path used for DLB"; - } - leaf path-flags { - type uint32; - description "Path flags"; - } - leaf path-info-flags { - type uint16; - description "Path Info flags"; - } - leaf path-index { - type uint8; - description "Path index"; - } - leaf backup-index { - type uint8; - description "Backup path index"; - } - leaf next-hop-index { - type uint32; - description "Next Hop Index"; - } - leaf parent-interface-handle { - type xr:Interface-name; - description "Parent Interface Handle"; - } - leaf recursionvia-len { - type uint8; - description "recursion via /N constraint"; - } - } - } - - grouping FIB-ADDR-STR { - description "FIB address"; - leaf address { - type string { - length "0..60"; - } - description "address"; - } - } - - grouping FIB-SH-TBL-LOADINFO-INT { - description - "Internal load sharing information arrays for FIB - table entries"; - leaf level-ofldis { - type uint8; - description "level of ldis"; - } - leaf number-of-ldis { - type uint8; - description "no. of ldis"; - } - leaf maximum-index-arrays { - type uint32; - description "Maximum index of the arrays"; - } - leaf path-indices { - type yang:hex-string; - description "Path indices"; - } - leaf path-ldi-numbers { - type yang:hex-string; - description "Path indices"; - } - leaf maximum-slots { - type uint32; - description "Maximum slots"; - } - leaf normalized-weights { - type yang:hex-string; - description "Normalized weights"; - } - leaf tunnel-class-value { - type yang:hex-string; - description "Tunnel class value"; - } - leaf is-pbts-info-valid { - type boolean; - description "PBTS info valid flag"; - } - leaf pbts-class-offset { - type yang:hex-string; - description "PBTS class offset"; - } - leaf pbts-class-num-paths { - type yang:hex-string; - description "PBTS class num paths"; - } - leaf pbts-fallback-mapped-class { - type yang:hex-string; - description "PBTS class falls back to class"; - } - leaf round-robin-disable { - type boolean; - description "Round Robin Disable"; - } - leaf ldi-next-hop-buckets { - type uint8; - description "Number of LDI next hop buckets"; - } - leaf platform-hardware-information { - type yang:hex-string; - description "Platform Hardware info"; - } - list sanity-flag { - description "Sanity flag"; - leaf entry { - type boolean; - } - } - list interface-handle { - description "Interface handle"; - leaf entry { - type xr:Interface-name; - } - } - list weights-of-path { - description "Weights of paths"; - leaf entry { - type uint32; - } - } - - list adjacency-address { - description "Adjacency address"; - uses FIB-ADDR-STR; - } - - list pbts-class-is-fallback-mapped { - min-elements "9"; - max-elements "9"; - description "Does PBTS class fall back to drop or any class"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list pbts-fallback-to-drop { - min-elements "9"; - max-elements "9"; - description "PBTS class falls back to drop"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list tunnel-is-forward-class { - min-elements "128"; - max-elements "128"; - description "Tunnel is forward class"; - leaf entry { - type boolean; - description "Array entry."; - } - } - } - - grouping FIB-SH-TBL-LOADINFO-DET { - description - "Detailed load sharing information for FIB table - entries"; - - container load-informtion-internal-data { - description "Loadinfo internal data"; - uses FIB-SH-TBL-LOADINFO-INT; - } - leaf packets-through-load-information { - type uint64; - description "Packets through this loadinfo"; - } - leaf bytes-through-load-information { - type uint64; - units "byte"; - description "Bytes through this loadinfo"; - } - leaf total-packets-through-load-information { - type uint64; - description "Total packets through this loadinfo"; - } - leaf total-bytes-through-load-information { - type uint64; - units "byte"; - description "Total bytes through this loadinfo"; - } - leaf prefix-of-owner { - type uint32; - description "Prefix of the owner"; - } - leaf mask-length-of-owner { - type uint32; - description "Mask length of the owner"; - } - leaf load-information-reference-count { - type uint16; - description "Loadinfo reference count"; - } - leaf per-dest-load-sharing-flag { - type boolean; - description "Per destination load sharing flag"; - } - leaf load-information-owner-deleted-flag { - type boolean; - description "Loadinfo owner deleted flag"; - } - leaf loadinfo-sanity-flag { - type boolean; - description "Loadinfo sanity flag"; - } - leaf is-owner { - type boolean; - description "Owner flag"; - } - } - - grouping FIB-SH-TBL-FIB-DET { - description "Detailed FIB table entry information"; - - container loadshare-information { - description "Detailed Loadshare info"; - uses FIB-SH-TBL-LOADINFO-DET; - } - leaf fib-entry-version { - type uint32; - description "FIB entry version number"; - } - leaf per-prefix-accounting { - type uint8; - description "Per Prefix Accounting"; - } - leaf load-sharing-type { - type Fib-loadshare-show; - description "Load sharing type"; - } - leaf fib-entry-adjacency-type { - type Fib-adjacency-show; - description "FIB entry adjacency type"; - } - leaf fib-protocol-type { - type uint32; - description "FIB Protocol type"; - } - leaf afi-fib-protocol-type { - type uint32; - description "AFI FIB protocol type"; - } - leaf aib-l3-address { - type yang:hex-string; - description "AIB L3 Address"; - } - leaf adjacency-address-length { - type uint32; - description "ADJ ADDR LEN"; - } - leaf adjacency-interface { - type uint32; - description "ADJ IFH"; - } - leaf fib-special-nh-information-type { - type uint32; - description "FIB Special NHINFO Type"; - } - leaf fib-entry-adjacency-address { - type yang:hex-string; - description "FIB entry adj address"; - } - leaf fib-entry-adjacency-interface { - type uint32; - description "FIB entry adjacency interface"; - } - leaf packets-through-fib-entry { - type uint64; - description "Packets through this FIB entry"; - } - leaf bytes-through-fib-entry { - type uint64; - units "byte"; - description "Bytes through this FIB entry"; - } - leaf detailed-prefix-length { - type uint32; - description "Prefix length"; - } - leaf prefix-protocol { - type uint32; - description "Prefix protocol"; - } - leaf precedence-forpackets { - type uint8; - description "Precedence for packets to this entry"; - } - leaf traffic-index-for-packets { - type uint8; - description "Traffic index for packets to this entry"; - } - leaf switch-compontent-id { - type uint32; - description "Switch function compontent ID"; - } - leaf fast-adjacency-flag { - type boolean; - description "Fast adjacency flag"; - } - leaf illegal-fast-adjacency-flag { - type boolean; - description "Illegal fast adjacency flag"; - } - leaf remote-adjacency-flag { - type boolean; - description "Remote adjacency flag"; - } - leaf bgp-attribute-id { - type uint32; - description "BGP attribute id"; - } - leaf bgp-local-attribute-id { - type uint32; - description "BGP local attribute id"; - } - leaf bgp-attribute-origin-as { - type uint32; - description "BGP attribute origin as"; - } - leaf bgp-attribute-next-hop-as { - type uint32; - description "BGP attribute next hop as"; - } - leaf path-string { - type yang:hex-string; - description "As path string"; - } - leaf extcom-string { - type yang:hex-string; - description "extcom st"; - } - leaf com-string { - type yang:hex-string; - description "com st"; - } - leaf extended-community { - type uint32; - description "extended community"; - } - leaf qos-group { - type uint32; - description "qos group"; - } - leaf mpls-fec { - type uint32; - description "mpls fec"; - } - leaf qppb-qos-group-and-ip-precedence { - type uint32; - description "qppb QOS group and IP precedence"; - } - leaf flow-tag { - type uint8; - description "PBR flow-tag"; - } - leaf forward-class { - type uint8; - description "SPP forwarding class ID"; - } - leaf pl-time-of-last-update-in-msec { - type uint64; - description "The time of last update for PL in msec"; - } - leaf ldi-time-of-last-update-in-msec { - type uint64; - description "The time of last update for LDI in msec"; - } - leaf lwldi-time-of-last-update-in-msec { - type uint64; - description "The time of last update for LW-LDI in msec"; - } - leaf pl-time-stamp-type { - type uint32; - description "The type of time-stamp on PL"; - } - } - - grouping FIB-SH-TBL-FIB { - description "Basic FIB table information"; - - container detail-fib-entry-information { - description "Detailed FIB entry information"; - uses FIB-SH-TBL-FIB-DET; - } - - container fib-entry-path { - description "FIB entry path details"; - uses FIB-SH-TBL-PATH; - } - - container srv6-information { - description "Information about IPv6 SR prefix"; - uses FIB-SH-LEAF-SRV6-INFO; - } - leaf protocol-type-fib-entry { - type uint32; - description "Proto type for this entry"; - } - leaf platform-hardware { - type yang:hex-string; - description "Platform Hardware info"; - } - leaf number-of-referances-to-path-list { - type uint32; - description "Number of references to the pathlist"; - } - leaf path-list-flags { - type uint32; - description "The pathlist flags"; - } - leaf path-list-source { - type uint32; - description "The pathlist source"; - } - leaf number-of-referances-to-ldi { - type uint32; - description "Number of references to the LDI"; - } - leaf ldi-flags { - type uint32; - description "The LDI flags"; - } - leaf flags-external-ldi { - type uint32; - description "The flags of ext assocaited with LDI "; - } - leaf pointer-external-ldi { - type uint32; - description "The pointer to the ext assocaited with LDI"; - } - leaf exact-path-interface-handle { - type uint32; - description "exact-path interface handle"; - } - leaf exact-path-gre-interface-handle { - type uint32; - description "exact-path GRE physical interface handle"; - } - leaf exact-route-gre-phys-ifh-avail { - type boolean; - description "exact-route GRE phy ifh available"; - } - leaf exact-route-result { - type boolean; - description "exact-route result"; - } - leaf prefix-is-static-or-connected { - type boolean; - description "Prefix is static or connected"; - } - leaf packet-should-recieve { - type boolean; - description "Packet should always be received"; - } - leaf prefix-connected { - type boolean; - description "Prefix is connected"; - } - leaf prefix-for-adjancency { - type boolean; - description "Prefix is for an adjacency"; - } - leaf prefix-for-pic-next-hop { - type boolean; - description "Prefix is for a PIC nexthop"; - } - leaf purgable-after-purge-interval { - type boolean; - description "Purgable after the purge interval"; - } - leaf broadcast-recive-flag { - type boolean; - description "Broadcast receive flag"; - } - leaf broadcast-forward-flag { - type boolean; - description "Broadcast forward flag"; - } - leaf zero-by-zero-route-as-default { - type boolean; - description "0/0 route added as default route"; - } - leaf external-switch-triggered { - type boolean; - description "External switch function triggered"; - } - leaf route-attribute-flag { - type boolean; - description "Route attributes summary flag"; - } - leaf dummy-real-zero-route { - type boolean; - description "Dummy real zero route"; - } - leaf ldi-lw-flag { - type uint32; - description "The LDI LW flags"; - } - leaf ref-counter-of-ldi-lw-ldi { - type uint32; - description "The refcounter of LDI LW LDI"; - } - leaf type-of-ldi-lw-ldi { - type uint32; - description "The type of LDI LW LDI"; - } - leaf lspa-flags { - type uint32; - description "The LSPA flags"; - } - leaf version-of-route { - type uint64; - description "The version of the route"; - } - leaf fib-route-download-priority { - type uint32; - description "Priority at which the route was downloaded"; - } - leaf time-of-last-update-in-msec { - type uint64; - description "The time of last update in msec"; - } - leaf l2-subscriber-route { - type boolean; - description "Is L2 Subscriber route"; - } - leaf l2-subscriber-xconnect-id { - type uint32; - description "XConnect-id associated with L2 subscriber"; - } - leaf l2-subscriber-ip-protocol { - type uint32; - description "IP protocol associated with L2 subscriber"; - } - leaf l2tpv3-cookie-length-bits { - type uint32; - description "L2TPv3 cookie length for L2 subscriber"; - } - leaf route-for-external-reach-linecard-flag { - type boolean; - description - "Route destined for Line Card that support - External Reach only"; - } - leaf route-is-sr-flag { - type boolean; - description "Route is a MPLS Segment-Routing prefix"; - } - - list extension-object { - description "Leaf Extension Object List"; - uses FIB-SH-TBL-FIB-EXT-CMN-DET; - } - } - - grouping FIB-SH-NHINFO-EXT-REP-DET { - description "NHINFO entry extension object information"; - leaf nh-info-replicated-type { - type uint8; - description "Replicated NHINFO type"; - } - leaf nh-info-replicated-nh-id { - type uint32; - description "NHID of the replicated NHINFO"; - } - leaf nh-info-replicated-interface { - type xr:Interface-name; - description "Interface of the replicated NHINFO"; - } - } - - grouping FIB-SH-NHINFO-EXT-CMN-DET { - description "FIB SH NHINFO EXT CMN DET"; - - container snecd-nhr { - when "../type = 'replicated-nh-info'" { - description "../type = 'ReplicatedNHINFO'"; - } - description "snecd nhr"; - uses FIB-SH-NHINFO-EXT-REP-DET; - } - leaf type { - type Fib-nhinfo-ext-bag; - description "type"; - } - } - - grouping FIB-SH-FIB-OBJ-BASE { - description "FIB object base information"; - leaf object-reference-count { - type uint32; - description "FIB Object Reference Count"; - } - leaf object-flags { - type uint32; - description "FIB Object flags"; - } - leaf object-type { - type uint8; - description "FIB Object type"; - } - leaf object-time-stamp { - type uint64; - description "FIB Object TimeStamp in msec"; - } - leaf object-pointer { - type uint64; - description "FIB Object pointer"; - } - } - - grouping FIB-SH-EXT-BASE { - description "FIB object extension base information"; - - container object-base { - description "FIB Object Base information"; - uses FIB-SH-FIB-OBJ-BASE; - } - leaf parent-object-pointer { - type uint64; - description "FIB Extension Object's parent pointer"; - } - leaf back-object-pointer { - type uint64; - description "FIB Extension Object's back pointer"; - } - } - - grouping FIB-SH-NHINFO-EXT-DET { - description "NHINFO entry extension internal information"; - - container nh-info-extension-base { - description "NHINFO Extension object base information"; - uses FIB-SH-EXT-BASE; - } - - container nh-info-extension-detail { - description "NHINFO Extension Detail Information"; - uses FIB-SH-NHINFO-EXT-CMN-DET; - } - } - - grouping FIB-SH-NHINFO-EXT { - description "FIB per nhinfo info"; - - list nh-info-extension-detail { - description "NHINFO Extension Detail"; - uses FIB-SH-NHINFO-EXT-DET; - } - } - - grouping FIB-SH-NHINFO-PWHE-EXT { - description "FIB PW-HE specific info"; - leaf pwhe-adjacency-client-data { - type uint32; - description "PW-HE specific client data in adjacency"; - } - leaf vctype { - type uint32; - description "VC type"; - } - leaf vc-internal-label { - type uint32; - description "VC Internal Label"; - } - leaf cw-enabled { - type boolean; - description "Is CW enabled?"; - } - leaf l2-overhead-bytes { - type uint16; - units "byte"; - description - "L2 overhead bytes for interface stats accounting"; - } - leaf dot1q-vlan-tag { - type uint32; - description "VLAN tag"; - } - } - - grouping FIB-SH-NHINFO { - description "FIB per nhinfo information"; - - container si-pwhe { - description "PW-HE interface extension"; - uses FIB-SH-NHINFO-PWHE-EXT; - } - - container nh-info-extension { - description "NHinfo Extensions"; - uses FIB-SH-NHINFO-EXT; - } - leaf si-link-proto { - type uint32; - description "FIB Protocol Type for NHINFO linktype"; - } - leaf si-nhinfo { - type uint32; - description "NHinfo object"; - } - leaf si-nhtype { - type uint32; - description "NHinfo Type"; - } - leaf si-ifh { - type uint32; - description "Ifhndl assoc w nhinfo"; - } - leaf si-pfi-interface-type { - type uint32; - description "Pamna Interface Type"; - } - leaf si-adj-ptr { - type uint32; - description "Adj Ptr"; - } - leaf si-adj-present { - type boolean; - description "nhinfo point to adj"; - } - leaf si-special-type { - type uint32; - description "nature of special nhinfo"; - } - leaf si-refcount { - type uint32; - description "refcount"; - } - leaf si-flags { - type uint32; - description "nhinfo flags"; - } - leaf si-adj-if { - type uint32; - description "ADJ Interface"; - } - leaf si-ext-pfx { - type yang:hex-string; - description "Extension Prefix"; - } - leaf si-ext-pfx-len { - type uint32; - description "Extension Prefix Len"; - } - leaf si-ext-pfx-proto { - type uint32; - description "Extension Prefix Protocol"; - } - leaf si-adj-address { - type yang:hex-string; - description "AIB L3 Address"; - } - leaf si-adj-addrlen { - type uint32; - description "ADJ L3 address length"; - } - leaf si-adj-addr-proto { - type uint32; - description "ADJ L3 address Protocol"; - } - leaf si-adj-rw-len { - type uint32; - description "Length of Macstring"; - } - leaf si-adj-rw { - type yang:hex-string; - description "Macstring for Adjacency"; - } - leaf si-dep-nhinfo-type { - type uint32; - description "Depenedent nhinfo type"; - } - leaf si-dep-nhinfo { - type uint32; - description "Dependent nhinfo"; - } - leaf si-dep-nhinfo-ifh { - type uint32; - description "Dependent nhinfo ifhndl"; - } - leaf si-bkup-frr { - type uint32; - description "pointer to Backup FRR obj"; - } - leaf si-protect-frr { - type uint32; - description "pointer to protect FRR object"; - } - leaf si-bkup-nhinfo { - type uint32; - description "Bacckup NHINFO obj"; - } - leaf si-bkup-ifh { - type uint32; - description "Bacckup IFH"; - } - leaf si-bkup-addr { - type yang:hex-string; - description "Bkup L3 Address"; - } - leaf si-bkup-addrlen { - type uint32; - description "BKup L3 address length"; - } - leaf si-bkup-addr-proto { - type uint32; - description "BKup L3 address Protocol"; - } - leaf si-frr-active { - type boolean; - description "is FRR currently active"; - } - leaf si-attr-is-ext-mgd { - type boolean; - description "NH is externally managed"; - } - leaf si-attr-is-incomp { - type boolean; - description "NH is incomplete"; - } - leaf si-attr-is-tunnel { - type boolean; - description "NH is assoc w a TE tunnel"; - } - leaf si-attr-is-tunnel-srte { - type boolean; - description "NH is assoc w a SRTE tunnel"; - } - leaf si-attr-is-gre-tunnel { - type boolean; - description "NH is assoc w a GRE tunnel"; - } - leaf si-gre-ti { - type uint32; - description "GRE tunnel info"; - } - leaf si-gre-ti-flags { - type uint32; - description "Flags on GRE tunnel info"; - } - leaf si-gre-ti-refcnt { - type uint32; - description "Refcount on GRE tunnel info"; - } - leaf si-gre-tos-propagate { - type boolean; - description "Is GRE TOS propagate set"; - } - leaf si-hardware { - type yang:hex-string; - description "Platform Hardware info"; - } - leaf si-nhinfo-ptr { - type uint32; - description "nhinfo pointer"; - } - leaf si-fnb-idb-ptr { - type uint32; - description "pointer to idb"; - } - leaf si-anc-ifh { - type uint32; - description "Ancestor IFH"; - } - leaf si-gre-ti-resolving-leafp { - type uint32; - description "GRE resolving ip-leaf"; - } - leaf si-gre-dest-addr { - type yang:hex-string; - description "GRE dest address"; - } - leaf si-nhid { - type uint32; - description "NHID value in the TX NH"; - } - leaf si-upd-ts { - type uint64; - description "NH update timestamp"; - } - } - - grouping FIB-SH-TIMESPEC { - description "FIB SH TIMESPEC"; - leaf seconds { - type int32; - description "Seconds"; - } - leaf nano-seconds { - type int32; - description "NanoSeconds"; - } - } - - grouping FIB-SH-FRR-LOG { - description "FIB frr log information"; - - container frr-timestamp { - description "frr timestamp"; - uses FIB-SH-TIMESPEC; - } - leaf frr-protocol-type { - type Fib-frr-protocol-show; - description "FIB Protocol Type"; - } - leaf frr-interface-name { - type xr:Interface-name; - description "Interface assoc w frr nh"; - } - leaf frr-prefix { - type string { - length "0..52"; - } - description "nh prefix"; - } - leaf frr-switching-time { - type uint32; - description "frr switching time"; - } - leaf bundle-member-interface-name { - type xr:Interface-name; - description "bundle member"; - } - } - - grouping FIB-SH-TBL-EXT-PL-SUM { - description "FIB external client pathlist summary"; - leaf sep-num-ecd-pathlist { - type uint32; - description "Number of ECD pathlists"; - } - leaf sep-num-ecd-pl-unresolved { - type uint32; - description "Number of ECD pathlists unresolved"; - } - list sep-num-ecd-pl-per-interest { - max-elements "10"; - - description "Number of ECD pathlists per interest"; - leaf entry { - type uint32; - } - } - } - - grouping FIB-SH-TBL-EXT-SUM-ALL { - description - "FIB external brief summary information across all - clients"; - - container sesa-pl-sum { - description "External pathlist summary"; - uses FIB-SH-TBL-EXT-PL-SUM; - } - leaf sesa-num-client { - type uint32; - description "Client information"; - } - } - - grouping FIB-SH-PFX-MASKLEN-CNT { - description "FIB Prefix Masklength counts"; - leaf mask-length { - type uint8; - description "Mask length"; - } - leaf number-of-prefixes { - type uint32; - description "Number of prefixes with given mask length"; - } - } - - grouping FIB-SH-PFX-MASKLEN-DISTRIB { - description "FIB Prefix Masklengths distribution"; - - list unicast-prefixe { - description "Masklength counts for unicast prefixes"; - uses FIB-SH-PFX-MASKLEN-CNT; - } - - list broadcast-prefixe { - description "Masklength counts for broadcast prefixes"; - uses FIB-SH-PFX-MASKLEN-CNT; - } - - list multicast-prefix { - description "Masklength counts for multicast prefixes"; - uses FIB-SH-PFX-MASKLEN-CNT; - } - } - - grouping FIB-PL-LDI-COUNT { - description "FIB Pathlist and Loadinfo summary"; - leaf total-load-sharing-element-bytes { - type uint32; - units "byte"; - description - "Total memory used by load sharing elements in - bytes"; - } - leaf total-load-sharing-element-references { - type uint64; - description - "Total count of references to load sharing - elements"; - } - leaf total-path-list-elements { - type uint32; - description "Total count of Pathlist elements"; - } - leaf recursive-path-list-elements { - type uint32; - description "Count of recursive Pathlist elements"; - } - leaf platform-shared-path-list-elements { - type uint32; - description "Count of platform shared Pathlist elements"; - } - leaf retry-path-list-elements { - type uint32; - description "Count of Pathlist elements in retry"; - } - leaf total-load-info-elements { - type uint32; - description "Total count of Loadinfo elements"; - } - leaf recursive-load-info-elements { - type uint32; - description "Count of recursive Loadinfo elements"; - } - leaf platform-shared-load-info-elements { - type uint32; - description "Count of platform shared Loadinfo elements"; - } - leaf xpl-load-info-elements { - type uint32; - description "Count of XPL Loadinfo elements"; - } - } - - grouping FIB-SH-SUM { - description "FIB summary statistics"; - - container exclusive-load-sharing-element { - description "Exclusive load sharing element"; - uses FIB-PL-LDI-COUNT; - } - - container shared-load-sharing-element { - description "Shared load sharing element"; - uses FIB-PL-LDI-COUNT; - } - - container cross-shared-load-sharing-element { - description "Cross-table shared load sharing element"; - uses FIB-PL-LDI-COUNT; - } - - container label-shared-load-sharing-element { - description "Label-shared load sharing element"; - uses FIB-PL-LDI-COUNT; - } - - container prefix-masklen-distribution { - description "Distribution of prefix mask lengths"; - uses FIB-SH-PFX-MASKLEN-DISTRIB; - } - leaf prefix { - type yang:hex-string; - description "The router-id"; - } - leaf ss-tbl-id { - type uint32; - description "Table Id"; - } - leaf ss-tbl-id-ptr { - type uint32; - description "Table Id Ptr"; - } - leaf ss-vrf-id { - type uint32; - description "Virtual routing forwarding instance Id"; - } - leaf ss-vr-id { - type uint32; - description "Virtual router instance Id"; - } - leaf load-balancing { - type Ss-lba-state; - description "LBA configuration state"; - } - leaf forwarding-elements { - type uint32; - description - "Number of forwarding elements linked to the - table"; - } - leaf routes { - type uint32; - description "Number of routes"; - } - leaf prefix-in-place-modifications { - type uint32; - description "Number of inplace modifications"; - } - leaf stale-prefix-deletes { - type uint32; - description "Number of deleted stale leafs"; - } - leaf load-sharing-elements { - type uint32; - description "Count of load sharing elements"; - } - leaf load-sharing-references { - type uint64; - description "Count of load sharing references"; - } - leaf total-load-share-element-bytes { - type uint32; - description "Total memory used by load sharing elements"; - } - leaf leaves-used-bytes { - type uint32; - description "Total memory used by leaves"; - } - leaf reresolve-entries { - type uint32; - description "Number of reresolved entries"; - } - leaf old-unresolve-entries { - type uint32; - description "Number of old unresolved entries"; - } - leaf new-unresolve-entries { - type uint32; - description "Number of new unresolved entries"; - } - leaf unresolve-entries { - type uint32; - description "Number of total unresolved entries"; - } - leaf cef-route-drops { - type uint32; - description "Number of routes dropped by CEF"; - } - leaf cef-version-mismatch-route-drops { - type uint64; - description - "the number of routes dropped due to version - mismatch"; - } - leaf delete-cache-num-entries { - type uint32; - description "Number of entries in the route delete cache"; - } - leaf existing-leaves-revisions { - type uint32; - description "Number of entries present on addition"; - } - leaf fib-default-prefix { - type uint32; - description "Default prefix"; - } - leaf fib-default-prefix-mask-length { - type uint32; - description "Default prefix mask length"; - } - leaf next-hops { - type uint32; - description "Number of NHINFOS"; - } - leaf incomplete-next-hops { - type uint32; - description "Number of incomplete NHINFOS"; - } - leaf resolution-timer { - type uint32; - units "second"; - description "IP CEF resolution timer in seconds"; - } - leaf slow-process-timer { - type uint32; - units "second"; - description "IP CEF slow processing time in seconds"; - } - leaf max-resolution-timer { - type uint32; - units "second"; - description "IP CEF max resolution time in seconds"; - } - leaf imposition-prefixes { - type uint32; - description "Number of prefixes with imposition LDI"; - } - leaf extended-prefixes { - type uint32; - description "Number of prefixes with extended path-list"; - } - leaf cefl-bl-recycled-routes { - type uint32; - description - "Number of routes updates with recycled label - handled"; - } - leaf ldi-backwalks { - type uint32; - description "pd backwalks on LDI modify with backup path"; - } - leaf ss-prot-route-count { - type uint32; - description "Number of routes with FRR protection"; - } - leaf lisp-eid-prefixes { - type uint32; - description - "Number of lisp eid prefixes associated with - table"; - } - leaf lisp-eid-valid-prefixes { - type uint32; - description - "Number of lisp eid prefixes eligible for - forwarding"; - } - leaf lisp-rloc-objects { - type uint32; - description - "Number of lisp rloc objects associated with - table"; - } - leaf ss-vxlan-ltep-ifh { - type xr:Interface-name; - description "VXLAN local Interface handle"; - } - leaf ss-drop-pl-count { - type uint32; - description "Number of dropped pathlists"; - } - } - - grouping FIB-SH-RSRC-SHM { - description "Shared memory availability"; - leaf srs-curr-mode { - type uint32; - description "OOR mode for this shared memory window"; - } - leaf srs-avg-avail { - type uint64; - units "byte"; - description "Average number of bytes available"; - } - leaf srs-max-avail { - type uint64; - units "byte"; - description "Maximum bytes available"; - } - } - - grouping FIB-SH-RSRC-AVAIL-STATE { - description "FIB resource availability state"; - leaf sr-curr-mode { - type uint32; - description "Current overall oor mode"; - } - leaf sr-hwrsrc-info { - type yang:hex-string; - description "Opaque hardware rsrc state info"; - } - leaf sr-shmwin-oor-count { - type uint8; - description "sr shmwin oor count"; - } - leaf sr-hw-oor-count { - type uint8; - description "sr hw oor count"; - } - leaf sr-in-oor-ts { - type uint64; - description "sr in oor ts"; - } - leaf sr-out-oor-ts { - type uint64; - description "sr out oor ts"; - } - list sr-hwrsrc-mode { - description "Hardware resource mode"; - leaf entry { - type uint32; - } - } - - list sr-shm-state { - description "Current status of shared memories"; - uses FIB-SH-RSRC-SHM; - } - } - - grouping FIB-ISSU-PROTO-STATE { - description "FIB ISSU protocol state"; - leaf protocol-name { - type string { - length "0..6"; - } - description "Protocol name"; - } - leaf aib-eod-time-stamp { - type string { - length "0..33"; - } - description "AIB EODTimeStamp"; - } - leaf rsi-eod-valid { - type boolean; - description "RSI EOD expected/valid"; - } - leaf rsi-eod-time-stamp { - type string { - length "0..33"; - } - description "RSI EOD received timestamp"; - } - leaf lsd-eod-valid { - type boolean; - description "LSD EOD expected/valid"; - } - leaf lsd-eod-time-stamp { - type string { - length "0..33"; - } - description "LSD EOD received timestamp"; - } - leaf lmrib-eod-valid { - type boolean; - description "LMRIB EOD expected/valid"; - } - leaf lmrib-eod-time-stamp { - type string { - length "0..33"; - } - description "LMRIB EOD received timestamp"; - } - leaf rib-info-valid { - type boolean; - description "RIB table info valid"; - } - leaf bcdl-tables { - type uint32; - description "Number of BCDL tables"; - } - leaf converged-tables { - type uint32; - description "Number of tables converged"; - } - leaf rib-tables-converged-time-stamp { - type string { - length "0..33"; - } - description "All RIB tables converged timestamp"; - } - leaf protocol-eod-valid { - type boolean; - description "Protocol EOD expected/valid"; - } - leaf protocol-eod-time-stamp { - type string { - length "0..33"; - } - description "Protocol EOD sent timestamp"; - } - } - - grouping FIB-ISSU-STATE { - description "FIB ISSU state"; - leaf imdr-support { - type boolean; - description "IMDR supported"; - } - leaf slc-support { - type boolean; - description "SLC supported"; - } - leaf fis-issu-restart { - type boolean; - description "ISSU restart"; - } - leaf imdr-eoc-implicit { - type boolean; - description "IMDR End-of-config implicit"; - } - leaf slc-eoc-implicit { - type boolean; - description "SLC End-of-config implicit"; - } - leaf eoc-received-imdr-time-stamp { - type string { - length "0..33"; - } - description "End-of-config received from IMDR timestamp"; - } - leaf eoc-received-slc-time-stamp { - type string { - length "0..33"; - } - description "End-of-config received from SLC timestamp"; - } - leaf eod-received-im-time-stamp { - type string { - length "0..33"; - } - description "End-of-download received from IM timestamp"; - } - leaf eod-sent-imdr-time-stamp { - type string { - length "0..33"; - } - description "End-of-download send to IMDR timestamp"; - } - leaf eod-sent-slc-time-stamp { - type string { - length "0..33"; - } - description "End-of-download send to SLC timestamp"; - } - leaf fis-issu-error-ts { - type uint64; - description "ISSU error sent to ISSUMGR timetstamp"; - } - - list fis-proto-state { - max-elements "3"; - description "IMDR state for the protocols"; - uses FIB-ISSU-PROTO-STATE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub4.yang deleted file mode 100644 index d15e69f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub4.yang +++ /dev/null @@ -1,190 +0,0 @@ -submodule Cisco-IOS-XR-fib-common-oper-sub4 { - - belongs-to Cisco-IOS-XR-fib-common-oper { - prefix Cisco-IOS-XR-fib-common-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FIB-GLOBAL-SUMMARY-OBJ-HISTORY { - description "FIB Global summary object history"; - leaf count { - type uint32; - description "Placeholder for obj history counts"; - } - } - - grouping FIB-GLOBAL-SUMMARY-OBJ-HISTORY-PROTO { - description "FIB GLOBAL SUMMARY OBJ HISTORY PROTO"; - - container base-object { - description "Base object"; - uses FIB-GLOBAL-BASE-ST; - } - - container object-history { - description "Obj History"; - uses FIB-GLOBAL-SUMMARY-OBJ-HISTORY; - } - } - - grouping FIB-GLOBAL-SUMMARY-HEALTH { - description "FIB Global summary health"; - leaf is-retry-db-empty { - type boolean; - description "Is the retry db empty?"; - } - } - - grouping FIB-GLOBAL-BASE-ST { - description "FIB Global Base st"; - leaf protocol { - type uint32; - description "protocol"; - } - } - - grouping FIB-GLOBAL-SUMMARY { - description "FIB Global summary"; - - container base-object { - description "Base object"; - uses FIB-GLOBAL-BASE-ST; - } - - container summary-counts { - description "Global Summary counts"; - uses FIB-GLOBAL-SUMMARY-COUNTS; - } - - container health { - description "Global summary health"; - uses FIB-GLOBAL-SUMMARY-HEALTH; - } - } - - grouping FIB-GLOBAL-SUMMARY-PROTO { - description "FIB GLOBAL SUMMARY PROTO"; - - container common-info { - description "Common Info"; - uses FIB-GLOBAL-SUMMARY-COMMON-INFO; - } - - container summary { - description "Global summary"; - uses FIB-GLOBAL-SUMMARY; - } - } - - grouping FIB-GLOBAL-NUM-OBJECTS-ST { - description "FIB Global summary num retries"; - leaf object-type { - type string { - length "0..30"; - } - description "object"; - } - leaf num-objects { - type uint32; - description "number of elements for this obj type"; - } - } - - grouping FIB-GLOBAL-NUM-RETRIES-ST { - description "FIB Global summary num retries"; - leaf retry-object-type { - type string { - length "0..30"; - } - description "retry object"; - } - leaf num-retries { - type uint64; - description - "number of elements for this obj type in retry db"; - } - } - - grouping FIB-GLOBAL-SUMMARY-COUNTS { - description "FIB Global summary counts"; - leaf num-retry-timeouts { - type uint64; - description "number of retry timeouts"; - } - leaf num-retry-ojbects { - type uint32; - description "number of elements in retry db"; - } - - list array-number-of-retry { - description "number of objects in retry db"; - uses FIB-GLOBAL-NUM-RETRIES-ST; - } - - list array-number-of-object { - description "total number of objects"; - uses FIB-GLOBAL-NUM-OBJECTS-ST; - } - } - - grouping FIB-GLOBAL-SUMMARY-COMMON-INFO { - description "FIB Global summary common"; - leaf count { - type uint32; - description "Placeholder for common info counts"; - } - } - - grouping FIB-GLOBAL-SUMMARY-TOTAL { - description "FIB GLOBAL SUMMARY TOTAL"; - - container common-info { - description "Common info"; - uses FIB-GLOBAL-SUMMARY-COMMON-INFO; - } - - container total-counters { - description "Aggregate counters of all protocols"; - uses FIB-GLOBAL-SUMMARY-COUNTS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub5.yang deleted file mode 100644 index fd80e1d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper-sub5.yang +++ /dev/null @@ -1,142 +0,0 @@ -submodule Cisco-IOS-XR-fib-common-oper-sub5 { - - belongs-to Cisco-IOS-XR-fib-common-oper { - prefix Cisco-IOS-XR-fib-common-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FIB-STATISTICS-BAG-DROPS { - description "FIB drop statistics"; - leaf no-route-packets { - type uint64; - description "no route pkt"; - } - leaf punt-unreachable-packets { - type uint64; - description "Punt generate unreach pkt"; - } - leaf df-unreachable-packets { - type uint64; - description "DF unreachable pkt"; - } - leaf encapsulation-failure-packets { - type uint64; - description "encapsulation failure pkt"; - } - leaf incomplete-adjacency-packets { - type uint64; - description "incomplete adjacency pkt"; - } - leaf unresolved-prefix-packets { - type uint64; - description "unresolved prefix pkt"; - } - leaf unsupported-feature-packets { - type uint64; - description "unsupported feature pkt"; - } - leaf discard-packets { - type uint64; - description "discard pkt"; - } - leaf checksum-error-packets { - type uint64; - description "checksum error pkt"; - } - leaf fragmenation-consumed-packets { - type uint64; - description "frag consumed packet pkt"; - } - leaf fragmenation-failure-packets { - type uint64; - description "fragmenation failure pkt"; - } - leaf null-packets { - type uint64; - description "null0 pkt"; - } - leaf rpf-check-failure-packets { - type uint64; - description "RPF check failures pkt"; - } - leaf acl-in-rpf-packets { - type uint64; - description "ACL in RPF pkt"; - } - leaf rp-destination-drop-packets { - type uint64; - description "rp dest drop pkt"; - } - leaf total-number-of-drop-packets { - type uint64; - description "the total number of drop pkt"; - } - leaf mpls-disabled-interface { - type uint64; - description "mpls disabled in interface"; - } - leaf gre-lookup-failed-drop { - type uint64; - description "GRE tunnel lookup failed drop pkt"; - } - leaf gre-error-drop { - type uint64; - description "GRE processing errors"; - } - leaf lisp-punt-drops { - type uint64; - description "LISP Punt drops"; - } - leaf lisp-encap-error-drops { - type uint64; - description "Lisp encap error drops"; - } - leaf lisp-decap-error-drops { - type uint64; - description "Lisp decap error drops"; - } - leaf multi-label-drops { - type uint64; - description "Drops for the packets with multi[le labels"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper.yang deleted file mode 100644 index b5f83f4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fib-common-oper.yang +++ /dev/null @@ -1,1086 +0,0 @@ -module Cisco-IOS-XR-fib-common-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper"; - - - prefix "fib-common-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fib-common-oper-sub5 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-fib-common-oper-sub4 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-fib-common-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-fib-common-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-fib-common-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fib-common package operational data. - - This module contains definitions - for the following management objects: - fib-statistics: cef interface drops operational data - fib: fib - mpls-forwarding: mpls forwarding - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-20" { - description - "IOS XR 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fib-route-source { - type enumeration { - enum lsd { - value 5; - description "LSD"; - } - enum rib { - value 7; - description "RIB"; - } - enum mrib { - value 13; - description "MRIB"; - } - } - description "Fib route source"; - } - typedef Fib-protocol { - type enumeration { - enum ipv4 { - value 0; - description "ipv4 protocol"; - } - enum ipv6 { - value 1; - description "ipv6 protocol"; - } - enum mpls { - value 2; - description "MPLS protocol"; - } - } - description "Fib protocol"; - } - typedef Fibafi-proto { - type enumeration { - enum ipv4 { - value 0; - description "ipv4 protocol"; - } - enum ipv4-mpls { - value 1; - description "ipv4 mpls protocol"; - } - enum ipv6 { - value 2; - description "ipv6 protocol"; - } - enum ipv6-mpls { - value 3; - description "ipv6 mpls protocol"; - } - } - description "Fibafi proto"; - } - typedef Fib-label { - type uint32 { - range "16..1048575"; - } - description "Fib label"; - } - typedef Fibllc-entry { - type enumeration { - enum xc { - value 1; - description "LabelXconnect"; - } - enum pfx { - value 2; - description "IPPrefix"; - } - } - description "Fibllc entry"; - } - typedef Fib-link { - type enumeration { - enum link-ipv4 { - value 0; - description "IPv4 link protocol"; - } - enum link-ipv6 { - value 1; - description "IPv6 link protocol"; - } - enum link-mpls { - value 2; - description "MPLS link protocol"; - } - } - description "Fib link"; - } - typedef Mpls-label { - type uint32 { - range "16..1048575"; - } - description "Mpls label"; - } - typedef Mplseos { - type enumeration { - enum eos0 { - value 0; - description "EOS Disable"; - } - enum eos1 { - value 1; - description "EOS Enable"; - } - } - description "Mplseos"; - } - - container fib-statistics { - config false; - description "cef interface drops operational data"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Specific node operational data"; - - container drops { - description "Specific node drops"; - uses FIB-STATISTICS-BAG-DROPS; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container fib { - config false; - description "fib"; - - container nodes { - description "Table of nodes"; - - list node { - key "node-name"; - description "Operational data for a specific Node"; - - container global { - description "FIB Global info"; - - container summary { - description "Global Summary"; - - container total { - description "Display total counters and common info"; - uses FIB-GLOBAL-SUMMARY-TOTAL; - } - - container protos { - description "Proto Table"; - - list proto { - key "protocol-name"; - description "Proto Table entry"; - leaf protocol-name { - type Fibafi-proto; - description "Protocol Name"; - } - uses FIB-GLOBAL-SUMMARY-PROTO; - } - } - } - - container object-history { - description "Object History"; - - container obj-history-protos { - description "Proto Table"; - - list obj-history-proto { - key "protocol-name"; - description "Protocol Table entry"; - leaf protocol-name { - type Fibafi-proto; - description "Protocol Name"; - } - uses FIB-GLOBAL-SUMMARY-OBJ-HISTORY-PROTO; - } - } - } - } - - container protocols { - description "Protocol table"; - - list protocol { - key "protocol-name"; - description "Protocol table entry"; - - container issu-state { - description "CEF ISSU State"; - uses FIB-ISSU-STATE; - } - - container resource { - description "Resource information"; - - container resource-detail-info { - description "Detailed info"; - uses FIB-SH-RSRC-AVAIL-STATE; - } - - container resource-hardware-ingress-info { - description - "Detailed info with ingress hardware info"; - uses FIB-SH-RSRC-AVAIL-STATE; - } - - container resource-hardware-egress-info { - description - "Detailed info with egress hardware info"; - uses FIB-SH-RSRC-AVAIL-STATE; - } - - container resource-summary-info { - description "Summary info"; - uses FIB-SH-RSRC-AVAIL-STATE; - } - } - - container fib-summaries { - description "Summary for FIB tables"; - - list fib-summary { - description "Summary for the requested fib table"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - leaf table-id { - type xr:Hex-integer; - description "FIB table id"; - } - uses FIB-SH-SUM; - } - } - - container external-summary-all { - description "Summary for all external clients"; - uses FIB-SH-TBL-EXT-SUM-ALL; - } - - container frr-log { - description "Table of Fast Reroute activation logs"; - - container frr-interfaces { - description "FRR Interface Table"; - - list frr-interface { - key "frr-interface-name"; - description "Specify FRR Interface Name"; - - container logs { - description "FRR log table"; - - list log { - key "log-index"; - description - "Specify index into frr log table"; - leaf log-index { - type int32; - description "FRR Log Index"; - } - uses FIB-SH-FRR-LOG; - } - } - leaf frr-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - } - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF table entry"; - - container nh-info-detail-hardware-egress { - description - "NHInfoTable is accessed by two keys; - {NHInterface,NHAddress}"; - - container nh-info-special-detail-hardware-egress { - description - "Detail hardware engress info for Special - nhinfo"; - - container "nh-info-special-null-detail-hardware"+ - "-egress" { - description - "Detail hardware engress info for - special-null NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-punt-detail-hardware"+ - "-egress" { - description - "Detail hardware engress info for - special-punt NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-discard-detail"+ - "-hardware-egress" { - description - "Detail hardware engress info for - special-discard NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-drop-detail-hardware"+ - "-egress" { - description - "Detail hardware engress info for - special-drop NHInfo entry"; - uses FIB-SH-NHINFO; - } - } - - container nh-info-local-detail-hardware-egresses { - description "Local (non-remote) nhinfo"; - - list nh-info-local-detail-hardware-egress { - description - "Detail hardware egress NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - - container "nh-info-remote-detail-hardware"+ - "-egresses" { - description - "Detail hardware egress info for remote - NHInfo table"; - - list nh-info-remote-detail-hardware-egress { - description - "Detail hardware egress info for NHinfo - entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - } - - container ip-prefix-details { - description "IP FIB prefix detail table"; - - list ip-prefix-detail { - description "IP FIB prefix detail table entry"; - leaf prefix { - type inet:ip-address-no-zone; - description "Destination IP address"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "IP prefix length"; - } - uses FIB-SH-TBL-FIB; - } - } - - container nh-info-detail { - description - "NHInfoTable is accessed by two keys; - {NHInterface,NHAddress}"; - - container nh-info-local-details { - description "Local (non-remote) nhinfo"; - - list nh-info-local-detail { - description "Detail NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - - container nh-info-special-detail { - description "Special nhinfo"; - - container nh-info-special-punt-detail { - description - "Detail special-punt NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-drop-detail { - description - "Detail special-drop NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-null-detail { - description - "Detail special-null NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-discard-detail { - description - "Detail special-discard NHInfo entry"; - uses FIB-SH-NHINFO; - } - } - - container nh-info-remote-details { - description "Detailed Remote NHInfo table"; - - list nh-info-remote-detail { - description "Detailed remote NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - } - - container summary { - description "Operational data for FIB Tablee"; - uses FIB-SH-SUM; - } - - container interface-infos { - description "Table of InterfaceInfo"; - - list interface-info { - key "link-type"; - description "Specify link type"; - - container interfaces { - description "Table of interfaces"; - - list interface { - key "interface-name"; - description "Specify Interface name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses FIB-SH-INT; - } - } - leaf link-type { - type Fib-link; - description "Link type"; - } - } - } - - container ip-prefix-briefs { - description "IP FIB prefix brief table"; - - list ip-prefix-brief { - description "IP FIB prefix brief table entry"; - leaf prefix { - type inet:ip-address-no-zone; - description "Destination IP address"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "IP prefix length"; - } - uses FIB-SH-TBL-FIB; - } - } - - container nh-info-detail-hardware-ingress { - description - "NHInfoTable is accessed by two keys; - {NHInterface,NHAddress}"; - - container "nh-info-remote-detail-hardware"+ - "-ingresses" { - description - "Detailed hardware ingress info for remote - NHInfo table"; - - list nh-info-remote-detail-hardware-ingress { - description - "Detail hardware ingress info for remote - NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - - container "nh-info-local-detail-hardware"+ - "-ingresses" { - description "Local (non-remote) nhinfo"; - - list nh-info-local-detail-hardware-ingress { - description - "Detail hardware ingress NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - - container "nh-info-special-detail-hardware"+ - "-ingress" { - description "Special nhinfo"; - - container "nh-info-special-punt-detail-hardware"+ - "-ingress" { - description - "Detail hardware ingress info for - special-punt NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-null-detail-hardware"+ - "-ingress" { - description - "Detail hardware ingress info for - special-null NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-drop-detail-hardware"+ - "-ingress" { - description - "Detail hardware ingress info for - special-drop NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container "nh-info-special-discard-detail"+ - "-hardware-ingress" { - description - "Detail hardware ingress info for - special-discard NHInfo entry"; - uses FIB-SH-NHINFO; - } - } - } - - container nh-info-brief { - description - "NHInfoTable is accessed by two keys; - {NHInterface,NHAddress}"; - - container nh-info-special-brief { - description "Special nhinfo"; - - container nh-info-special-discard-brief { - description - "Brief special-discard NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-null-brief { - description "Brief special-null NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-punt-brief { - description "Brief special-punt NHInfo entry"; - uses FIB-SH-NHINFO; - } - - container nh-info-special-drop-brief { - description "Brief special-drop NHInfo entry"; - uses FIB-SH-NHINFO; - } - } - - container nh-info-remote-briefs { - description "remote nhinfo"; - - list nh-info-remote-brief { - description "Brief remote NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - - container nh-info-local-briefs { - description "Local (non-remote) nhinfo"; - - list nh-info-local-brief { - description "Brief NHinfo entry"; - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format"; - } - uses FIB-SH-NHINFO; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - } - } - - container exact-routes { - description "Exact Route Table"; - - list exact-route { - description - "Exact route for the given source and - destination addresses"; - leaf protocol-name { - type Fib-protocol; - description "Protocol Name"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - leaf source { - type xr:Cisco-ios-xr-string; - description "Source address"; - } - leaf destination { - type xr:Cisco-ios-xr-string; - description "Destination address"; - } - uses FIB-SH-TBL-FIB; - } - } - - container nh-ids { - description - "NHIdTable is accessed by two keys; - {NHIdValue} and/or {NHInterface,NHAddress"; - - list nh-id { - description "NextHopeId table entry"; - leaf nh-id-value { - type int32; - description "NexthopId Value"; - } - leaf nh-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf nh-address { - type xr:Cisco-ios-xr-string; - description - "Next-hop address in string format (e.g., 1 - .2.3.4)"; - } - uses FIB-SH-NHID-ENTRY; - } - } - - container external-client-summaries { - description "External Client Summary Table"; - - list external-client-summary { - description "Summary of the external clients"; - leaf ecd-ver { - type int32; - description "Ecd Version"; - } - leaf id { - type int32; - description - "ID of the client: ECDv1 is component id, - ECDv2 is client id"; - } - uses FIB-SH-TBL-EXT-CLIENT-SUM; - } - } - - container misc { - description "CEF misc hidden data"; - uses FIB-SH-MISC; - } - - container local-label { - description "Local label"; - - container conflicts { - description "FIB Local-label conflicts database"; - - list conflict { - description "CEF Local-label conflicts entry"; - leaf label { - type Fib-label; - description "Local label"; - } - leaf source { - type Fib-route-source; - description "Route source"; - } - leaf ll-ctype { - type Fibllc-entry; - description "Type of entry"; - } - leaf pfx-tbl-id { - type int32; - description "Table ID of IP prefix"; - } - leaf prefix { - type xr:Cisco-ios-xr-string; - description "IP Prefix"; - } - leaf prefix-len { - type int32; - description "Length of IP Prefix"; - } - uses FIB-MPLS-LLC; - } - } - } - leaf protocol-name { - type Fib-protocol; - description "Protocol Name "; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container mpls-forwarding { - config false; - description "mpls forwarding"; - - container nodes { - description "Table of Nodes"; - - list node { - key "node-name"; - description "Operational data for a specific Node"; - - container forwarding-summary { - description "MPLS forwarding summary"; - uses MPLS-FWDING-SUMMARY; - } - - container frr-logs { - description "FRR Log Table"; - - list frr-log { - key "event-id"; - description "FRR Log information"; - leaf event-id { - type int32; - description "Event ID"; - } - uses FIB-MPLS-FRR-EVENT; - } - } - - container label-fib { - description "Labels For FIB"; - - container forwarding-details { - description "MPLS Forwarding Detail table"; - - list forwarding-detail { - description "MPLS forwarding details"; - leaf label-value { - type Mpls-label; - description "Local label value"; - } - leaf eos { - type Mplseos; - description "End of stack flag"; - } - uses MPLS-SH-LEAF; - } - } - - container informations { - description "Forwarding filtering details"; - - list information { - description "MPLS forwarding information"; - leaf label-value { - type Mpls-label; - description "Local label value"; - } - leaf eos { - type Mplseos; - description "End of stack flag"; - } - uses MPLS-SH-LEAF; - } - } - - container label-security { - description "MPLS label security"; - - container interfaces { - description "MPLS label security interface table"; - - list interface { - key "interface-name"; - description "Specify interface Name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses MPLS-LABEL-SECURITY-INTF; - } - } - - container summary { - description "MPLS label security summary"; - uses MPLS-LABEL-SECURITY-SUMMARY; - } - } - } - - container tunnel { - description "TE Tunnel information"; - - container forwarding-tunnels { - description "Forwarding details for TE tunnels"; - - list forwarding-tunnel { - key "interface-name"; - description - "Forwarding information for the TE tunnel"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses MPLS-SH-TEHEAD; - } - } - } - - container frr-database { - description "MPLS forwarding FRR Database"; - - container frrdb-summary { - description "MPLS forwarding FRR Database Summary"; - uses FIB-MPLS-FRR-DB-SUM; - } - - container frrdb-protected-interface-table-summaries { - description - "MPLS forwarding FRR Database Protected - Interface Summary Table"; - - list frrdb-protected-interface-table-summary { - key "interface-name"; - description - "MPLS forwarding FRR Database Protected - Interface Summary"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses FIB-MPLS-FRR-DB-SUM; - } - } - - container frrdb-tunnel-midpoint-summary { - description - "MPLS forwarding FRR Database Tunnel Midpoint - Summary"; - uses FIB-MPLS-FRR-DB-SUM; - } - - container frrdb-tunnel-midpoints { - description - "MPLS forwarding FRR Database Tunnel Midpoint - Table"; - - list frrdb-tunnel-midpoint { - key "local-label"; - description - "MPLS forwarding FRR Database Tunnel Midpoint - Entry"; - leaf local-label { - type Mpls-label; - description "Local label value"; - } - uses MPLS-FRR-DB-ENTRY; - } - } - - container frrdb-tunnel-heads { - description - "MPLS forwarding FRR Database Tunnel Head - Table"; - - list frrdb-tunnel-head { - key "interface-name"; - description - "MPLS forwarding FRR Database Tunnel Head - Entry"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses MPLS-FRR-DB-ENTRY; - } - } - - container frrdb-tunnel-head-summary { - description - "MPLS forwarding FRR Database Tunnel Head - Summary"; - uses FIB-MPLS-FRR-DB-SUM; - } - - container frrdb-backup-interface-summaries { - description - "MPLS forwarding FRR Database Backup Interface - Summary Table"; - - list frrdb-backup-interface-summary { - key "interface-name"; - description - "MPLS forwarding FRR Database Backup - Interface Summary"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses FIB-MPLS-FRR-DB-SUM; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-flashmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-flashmib-cfg.yang deleted file mode 100644 index 0f229be..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-flashmib-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-flashmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg"; - - - prefix "flashmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR flashmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-12-15" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container flash { - description "CISCO-FLASH-MIB notification configuration"; - leaf insertion { - type empty; - description - "Enable ciscoFlashDeviceInsertedNotif - notification"; - } - leaf removal { - type empty; - description - "Enable ciscoFlashDeviceRemovedNotif - notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-cfg.yang deleted file mode 100644 index 2b9470e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-cfg.yang +++ /dev/null @@ -1,349 +0,0 @@ -module Cisco-IOS-XR-freqsync-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg"; - - - prefix "freqsync-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-config-mda-cfg { prefix "node"; } - - import Cisco-IOS-XR-freqsync-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR freqsync package configuration. - - This module contains definitions - for the following management objects: - frequency-synchronization: frequency synchronization - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg, - Cisco-IOS-XR-ifmgr-cfg - Cisco-IOS-XR-config-mda-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-system-timing-mode { - type enumeration { - enum line-only { - value 2; - description "Line-interfaces only"; - } - enum clock-only { - value 3; - description "Clock-interfaces only"; - } - } - description "Fsync system timing mode"; - } - typedef Fsync-clock-source { - type enumeration { - enum system { - value 1; - description "System"; - } - enum independent { - value 3; - description "Independent"; - } - } - description "Fsync clock source"; - } - typedef Fsync-source-selection-logging { - type enumeration { - enum changes { - value 1; - description "Log selection changes"; - } - enum errors { - value 2; - description "Log selection errors"; - } - } - description "Fsync source selection logging"; - } - - grouping NODE-CFG { - description "active/preconfigured nodes configuration"; - - container clock-interface { - description "Configuration for a clock interface"; - - container clocks { - description "Configuration for a clock interface"; - - list clock { - key "clock-type port"; - description "Configuration for a clock interface"; - - container frequency-synchronization { - description - "Frequency Synchronization clock configuraiton"; - - container output-quality-level { - description "Set the output quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - - container input-quality-level { - description "Set the input quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - leaf wait-to-restore-time { - type uint32 { - range "0..12"; - } - default "5"; - description - "Set the wait-to-restore time for this source"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the priority of this source"; - } - leaf selection-input { - type empty; - description "Assign this source as a selection input"; - } - leaf time-of-day-priority { - type uint32 { - range "1..254"; - } - default "100"; - description - "Set the time-of-day priority of this source"; - } - leaf ssm-disable { - type empty; - description "Disable SSM on this source"; - } - } - leaf clock-type { - type dt1:Fsync-clock; - description "Clock type"; - } - leaf port { - type int32; - description "Clock port"; - } - } - } - } - } - - container frequency-synchronization { - description "frequency synchronization"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - default "option-1"; - description "Quality level option"; - } - leaf enable { - type empty; - description "Enable Frequency Synchronization"; - } - leaf source-selection-logging { - type Fsync-source-selection-logging; - description "Source selection logging option"; - } - leaf clock-interface-source-type { - type Fsync-clock-source; - description "Clock interface source type"; - } - leaf system-timing-mode { - type Fsync-system-timing-mode; - description "System timing mode"; - } - } - - augment "/a2:interface-configurations/a2:interface-configuration" { - - container frequency-synchronization { - description - "Frequency Synchronization interface - configuration"; - - container input-quality-level { - description "Set the input quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - - container output-quality-level { - description "Set the output quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - leaf ssm-disable { - type empty; - description "Disable SSM on this source"; - } - leaf time-of-day-priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the time-of-day priority of this source"; - } - leaf selection-input { - type empty; - description "Assign this source as a selection input"; - } - leaf enable { - type empty; - description "Enable Frequency Synchronization"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the priority of this source"; - } - leaf wait-to-restore-time { - type uint32 { - range "0..12"; - } - default "5"; - description "Set the wait-to-restore time for this source"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container frequency-synchronization { - description "Frequency Synchronization trap configuration"; - leaf enable { - type empty; - description "Enable Frequency Synchronization traps"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/node:active-nodes/node:active-node" { - uses NODE-CFG; - description "This augment extends active nodes configuration"; - } - - augment "/node:preconfigured-nodes/node:preconfigured-node" { - uses NODE-CFG; - description - "This augment extends preconfigured nodes - configuration"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-datatypes.yang deleted file mode 100644 index bb71332..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-datatypes.yang +++ /dev/null @@ -1,169 +0,0 @@ -module Cisco-IOS-XR-freqsync-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-freqsync-datatypes"; - - - prefix "freqsync-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-ql-option { - type enumeration { - enum option-1 { - value 1; - description "ITU-T Option 1"; - } - enum option-2,-generation-1 { - value 2; - description "ITU-T Option 2, Generation 1"; - } - enum option-2,-generation-2 { - value 3; - description "ITU-T Option 2, Generation 2"; - } - } - description "Fsync ql option"; - } - typedef Fsync-clock { - type enumeration { - enum sync { - value 3; - description "Synchronous clock"; - } - enum internal { - value 4; - description "Internal clock"; - } - } - description "Fsync clock"; - } - typedef Fsync-ql-value { - type enumeration { - enum dnu { - value 1; - description - "This signal should not be used for - synchronization"; - } - enum o1-prc { - value 10; - description "ITU-T Option 1: Primary reference clock"; - } - enum o1-ssu-a { - value 11; - description "ITU-T Option 1: Type I or V slave clock"; - } - enum o1-ssu-b { - value 12; - description "ITU-T Option 1: Type IV slave clock"; - } - enum o1-sec { - value 13; - description "ITU-T Option 1: SONET equipment clock"; - } - enum o2-g1-prs { - value 20; - description - "ITU-T Option 2, Generation 1: Primary reference - source"; - } - enum o2-g1-stu { - value 21; - description - "ITU-T Option 2, Generation 1: Synchronized - - traceability unknown"; - } - enum o2-g1-st2 { - value 22; - description "ITU-T Option 2, Generation 1: Stratum 2"; - } - enum o2-g1-st3 { - value 23; - description "ITU-T Option 2, Generation 1: Stratum 3"; - } - enum o2-g1-smc { - value 24; - description - "ITU-T Option 2, Generation 1: SONET clock self - timed"; - } - enum o2-g1-st4 { - value 25; - description - "ITU-T Option 2, Generation 1: Stratum 4 freerun"; - } - enum o2-g2-prs { - value 30; - description - "ITU-T Option 2, Generation 2: Primary reference - source"; - } - enum o2-g2-stu { - value 31; - description - "ITU-T Option 2, Generation 2: Synchronized - - traceability unknown"; - } - enum o2-g2-st2 { - value 32; - description "ITU-T Option 2, Generation 2: Stratum 2"; - } - enum o2-g2-st3 { - value 33; - description "ITU-T Option 2, Generation 2: Stratum 3"; - } - enum o2-g2-tnc { - value 34; - description - "ITU-T Option 2, Generation 2: Transit node - clock"; - } - enum o2-g2-st3e { - value 35; - description "ITU-T Option 2, Generation 2: Stratum 3E"; - } - enum o2-g2-smc { - value 36; - description - "ITU-T Option 2, Generation 2: SONET clock self - timed"; - } - enum o2-g2-st4 { - value 37; - description - "ITU-T Option 2, Generation 2: Stratum 4 freerun"; - } - } - description "Fsync ql value"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper-sub1.yang deleted file mode 100644 index 8eb5dfa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper-sub1.yang +++ /dev/null @@ -1,1466 +0,0 @@ -submodule Cisco-IOS-XR-freqsync-oper-sub1 { - - belongs-to Cisco-IOS-XR-freqsync-oper { - prefix Cisco-IOS-XR-freqsync-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR freqsync package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-bag-stream-state { - type enumeration { - enum stream-invalid { - value 0; - description "Invalid stream"; - } - enum stream-available { - value 2; - description "Stream available"; - } - enum stream-locked { - value 4; - description "Stream locked"; - } - enum stream-holdover { - value 5; - description "Stream in holdover"; - } - enum stream-freerun { - value 6; - description "Stream free running"; - } - enum stream-failed { - value 7; - description "Stream failed"; - } - enum stream-unmonitored { - value 8; - description "Unmonitored stream"; - } - enum stream-error { - value 9; - description "Stream error"; - } - } - description "Platform stream status"; - } - typedef Fsync-output-id { - type uint8; - description "Fsync output id"; - } - typedef Fsync-bag-stream-input { - type enumeration { - enum invalid-input { - value 0; - description "Invalid stream input"; - } - enum source-input { - value 1; - description "Source stream input"; - } - enum selection-point-input { - value 2; - description "Selection point stream input"; - } - } - description "Stream input type"; - } - typedef Fsync-bag-clock-intf-class { - type enumeration { - enum clock-class-bitst1 { - value 0; - description "BITS T1"; - } - enum clock-class-bitse1 { - value 1; - description "BITS E1"; - } - enum clock-class-bits2m { - value 2; - description "BITS 2M"; - } - enum clock-class-bits6m { - value 3; - description "BITS 6M"; - } - enum clock-class-bits64k { - value 4; - description "BITS 64K"; - } - enum clock-class-dti { - value 5; - description "DTI"; - } - enum clock-class-gps { - value 6; - description "GPS"; - } - enum clock-class-chassis-sync { - value 7; - description "Inter-Chassis Sync"; - } - enum clock-class-bitsj1 { - value 8; - description "Bits J1"; - } - } - description "Clock-interface class"; - } - typedef Fsync-bag-optional-string { - type string; - description "Fsync bag optional string"; - } - typedef Fsync-bag-source-state { - type enumeration { - enum source-state-unknown { - value 0; - description "Unknown"; - } - enum source-state-up { - value 1; - description "Up"; - } - enum source-state-down { - value 2; - description "Down"; - } - } - description "Source state"; - } - typedef Fsync-bag-esmc-peer-state { - type enumeration { - enum peer-down { - value 1808240398; - description "Peer state down"; - } - enum peer-up { - value 1808240399; - description "Peer state up"; - } - enum peer-timed-out { - value 1808240400; - description "Peer state timed out"; - } - enum peer-unknown { - value 1808240401; - description "Peer state unknown"; - } - } - description "ESMC peer state"; - } - typedef Fsync-bag-ql-o2-g2-value { - type enumeration { - enum option2-generation2-invalid { - value 0; - description "Invalid"; - } - enum option2-generation2-do-not-use { - value 1; - description "Do not use"; - } - enum option2-generation2-failed { - value 2; - description "Failed"; - } - enum option2-generation2-none { - value 3; - description "None"; - } - enum option2-generation2prs { - value 30; - description "Primary reference source"; - } - enum option2-generation2stu { - value 31; - description "Synchronized - traceability unknown"; - } - enum option2-generation2-stratum2 { - value 32; - description "Stratum 2"; - } - enum option2-generation2-stratum3 { - value 33; - description "Stratum 3"; - } - enum option2-generation2tnc { - value 34; - description "Transit node clock"; - } - enum option2-generation2-stratum3e { - value 35; - description "Stratum 3E"; - } - enum option2-generation2smc { - value 36; - description "SONET clock self timed"; - } - enum option2-generation2-stratum4 { - value 37; - description "Stratum 4 freerun"; - } - } - description "Quality level option 2, generation 2 values"; - } - typedef Fsync-bag-ql-o2-g1-value { - type enumeration { - enum option2-generation1-invalid { - value 0; - description "Invalid"; - } - enum option2-generation1-do-not-use { - value 1; - description "Do not use"; - } - enum option2-generation1-failed { - value 2; - description "Failed"; - } - enum option2-generation1-none { - value 3; - description "None"; - } - enum option2-generation1prs { - value 20; - description "Primary reference source"; - } - enum option2-generation1stu { - value 21; - description "Synchronized - traceability unknown"; - } - enum option2-generation1-stratum2 { - value 22; - description "Stratum 2"; - } - enum option2-generation1-stratum3 { - value 23; - description "Stratum 3"; - } - enum option2-generation1smc { - value 24; - description "SONET clock self timed"; - } - enum option2-generation1-stratum4 { - value 25; - description "Stratum 4 freerun"; - } - } - description "Quality level option 2, generation 1 values"; - } - typedef Fsync-bag-ql-o1-value { - type enumeration { - enum option1-invalid { - value 0; - description "Invalid"; - } - enum option1-do-not-use { - value 1; - description "Do not use"; - } - enum option1-failed { - value 2; - description "Failed"; - } - enum option1-none { - value 3; - description "None"; - } - enum option1prc { - value 10; - description "Primary reference clock"; - } - enum option1ssu-a { - value 11; - description "Type I or V slave clock"; - } - enum option1ssu-b { - value 12; - description "Type VI slave clock"; - } - enum option1sec { - value 13; - description "SONET equipment clock"; - } - } - description "Quality level option 1 values"; - } - typedef Fsync-bag-ql-option { - type enumeration { - enum no-quality-level-option { - value 0; - description "No quality level option"; - } - enum option1 { - value 1; - description "ITU-T Quality level option 1"; - } - enum option2-generation1 { - value 2; - description "ITU-T Quality level option 2, generation 1"; - } - enum option2-generation2 { - value 3; - description "ITU-T Quality level option 2, generation 2"; - } - enum invalid-quality-level-option { - value 4; - description "Invalid quality level option"; - } - } - description "Quality level option"; - } - typedef Fsync-bag-damping-state { - type enumeration { - enum damping-state-down { - value 0; - description "Down"; - } - enum damping-state-coming-up { - value 1; - description "Coming up"; - } - enum damping-state-up { - value 2; - description "Up"; - } - enum damping-state-going-down { - value 3; - description "Going down"; - } - } - description "Damping state"; - } - typedef Fsync-time-pri { - type uint8; - description "Fsync time pri"; - } - typedef Fsync-pri { - type uint8; - description "Fsync pri"; - } - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - typedef Fsync-bag-forwardtrace-node { - type enumeration { - enum forward-trace-node-selection-point { - description "A selection point forwardtrace node"; - } - enum forward-trace-node-source { - description "A timing source forwardtrace node"; - } - } - description "Selection forwardtrace node information"; - } - typedef Fsync-bag-selection-point-desc { - type string; - description "Fsync bag selection point desc"; - } - typedef Fsync-selection-point-type { - type uint8; - description "Fsync selection point type"; - } - typedef Fsync-bag-source-class { - type enumeration { - enum invalid-source { - value 0; - description "Invalid source class"; - } - enum ethernet-interface-source { - value 1; - description "Ethernet interface"; - } - enum sonet-interface-source { - value 2; - description "SONET interface"; - } - enum clock-interface-source { - value 3; - description "Clock interface"; - } - enum internal-clock-source { - value 4; - description "Internal clock"; - } - enum ptp-source { - value 5; - description "PTP clock"; - } - enum satellite-access-interface-source { - value 6; - description "Satellite Access Interface"; - } - enum ntp-source { - value 7; - description "NTP clock"; - } - } - description "Source class"; - } - - grouping FSYNC-BAG-LAST-SP-ID { - description "Last selection point ID"; - - container selection-point { - description "Last selection point"; - uses FSYNC-BAG-SP-ID; - } - leaf output-id { - type Fsync-output-id; - description "Output ID"; - } - } - - grouping FSYNC-BAG-STREAM-ID { - description "Stream ID"; - - container source-id { - when "../stream-input = 'source-input'" { - description "../StreamInput = 'SourceInput'"; - } - description "Source ID"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selection-point-id { - when "../stream-input = 'selection-point-input'" { - description "../StreamInput = 'SelectionPointInput'"; - } - description "Selection point ID"; - uses FSYNC-BAG-LAST-SP-ID; - } - leaf stream-input { - type Fsync-bag-stream-input; - description "StreamInput"; - } - } - - grouping FSYNC-SP-INPUT-INFO { - description "Selection point input information"; - - container input-selection-point { - description "The selection point the input is for"; - uses FSYNC-BAG-SP-ID; - } - - container stream { - description "Stream"; - uses FSYNC-BAG-STREAM-ID; - } - - container original-source { - description "Original source"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level { - description "Quality Level"; - uses FSYNC-BAG-QL; - } - leaf supports-frequency { - type boolean; - description "The selection point input supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The selection point input supports time-of-day"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf selected { - type boolean; - description "The selection point input is selected"; - } - leaf output-id-xr { - type Fsync-output-id; - description "Platform output ID, if the input is selected"; - } - leaf platform-status { - type Fsync-bag-stream-state; - description "Platform status"; - } - leaf platform-failed-reason { - type Fsync-bag-optional-string; - description "Why the stream has failed"; - } - } - - grouping FSYNC-BAG-SP-OUTPUT-DEF { - description - "Output information for a selection point or - interface"; - leaf local-clock-ouput { - type boolean; - description "Used for local clock output"; - } - leaf local-line-output { - type boolean; - description "Used for local line interface output"; - } - leaf local-time-of-day-output { - type boolean; - description "Used for local time-of-day output"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "SPA selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "SPA selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - leaf-list chassis-selection-point { - type Fsync-selection-point-type; - description "Chassis selection points"; - } - leaf-list chassis-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Chassis selection points descrption"; - } - leaf-list router-selection-point { - type Fsync-selection-point-type; - description "Router selection points"; - } - leaf-list router-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Router selection points descrption"; - } - } - - grouping FSYNC-SP-INFO { - description "Selection point information"; - - container output { - description - "Information about the output of the selection - point"; - uses FSYNC-BAG-SP-OUTPUT-DEF; - } - - container last-programmed { - description "Time the SP was last programmed"; - uses FSYNC-BAG-TIMESTAMP; - } - - container last-selection { - description "Time the last selection was made"; - uses FSYNC-BAG-TIMESTAMP; - } - leaf selection-point-type { - type Fsync-selection-point-type; - description "Selection Point Type"; - } - leaf description { - type string; - description "Description"; - } - leaf inputs { - type uint32; - description "Number of inputs"; - } - leaf inputs-selected { - type uint32; - description "Number of inputs that are selected"; - } - leaf time-of-day-selection { - type boolean; - description - "The selection point is a time-of-day selection - point"; - } - } - - grouping FSYNC-SSM-INFO { - description "SSM summary information"; - leaf ethernet-sources { - type uint32; - description - "Number of ethernet interfaces in synchronous - mode"; - } - leaf ethernet-sources-select { - type uint32; - description - "Number of ethernet interfaces assigned for - selection"; - } - leaf ethernet-sources-enabled { - type uint32; - description "Number of ethernet interfaces with SSM enabled"; - } - leaf sonet-sources { - type uint32; - description "Number of SONET interfaces in synchronous mode"; - } - leaf sonet-sources-select { - type uint32; - description - "Number of SONET interfaces assigned for - selection"; - } - leaf sonet-sources-enabled { - type uint32; - description "Number of SONET interfaces with SSM enabled"; - } - leaf events-sent { - type uint32; - description "Total event SSMs sent"; - } - leaf events-received { - type uint32; - description "Total event SSMs received"; - } - leaf infos-sent { - type uint32; - description "Total information SSMs sent"; - } - leaf infos-received { - type uint32; - description "Total information SSMs received"; - } - leaf dn-us-sent { - type uint32; - description "Total DNU SSMs sent"; - } - leaf dn-us-received { - type uint32; - description "Total DNU SSMs received"; - } - } - - grouping FSYNC-PTP-INFO { - description "Frequency Synchronization PTP information"; - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "PTP state"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf frequency-priority { - type Fsync-pri; - description - "The priority of the PTP clock when selected - between frequency sources"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description - "The priority of the PTP clock when selecting - between time-of-day sources"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-ERROR { - description "Source QL config error information"; - - container source { - description "Source"; - uses FSYNC-BAG-SOURCE-ID; - } - - container input-min-ql { - description "Configured minimum input QL"; - uses FSYNC-BAG-QL; - } - - container input-exact-ql { - description "Configured exact input QL"; - uses FSYNC-BAG-QL; - } - - container input-max-ql { - description "Configured maximum input QL"; - uses FSYNC-BAG-QL; - } - - container output-min-ql { - description "Configured mininum output QL"; - uses FSYNC-BAG-QL; - } - - container output-exact-ql { - description "Configured exact output QL"; - uses FSYNC-BAG-QL; - } - - container output-max-ql { - description "Configured exact maximum QL"; - uses FSYNC-BAG-QL; - } - leaf enable-error { - type boolean; - description "Frequency Synchronization enable error"; - } - leaf input-min-error { - type boolean; - description "Minimum input QL config error"; - } - leaf input-exact-error { - type boolean; - description "Exact input QL config error"; - } - leaf input-max-error { - type boolean; - description "Maximum input Ql config error"; - } - leaf ouput-min-error { - type boolean; - description "Minimum output QL config error"; - } - leaf output-exact-error { - type boolean; - description "Exact output QL config error"; - } - leaf output-max-error { - type boolean; - description "Maximum output QL config error"; - } - leaf input-output-mismatch { - type boolean; - description "Input/Output mismatch error"; - } - } - - grouping FSYNC-CONFIG-ERRORS-INFO { - description "Configuration error information"; - - list error-source { - description "Configuration errors"; - uses FSYNC-BAG-ERROR; - } - } - - grouping FSYNC-CLOCK-INFO { - description "Clock interface information"; - - container source { - description "The source ID for the clock"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selected-source { - description "Timing source selected for clock output"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level-received { - description "Received quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-damped { - description "Quality level after damping has been applied"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-output { - description "The effective output quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-selected-source { - description - "The quality level of the source driving this - interface"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "Clock state"; - } - leaf down-reason { - type Fsync-bag-optional-string; - description "Why the clock is down"; - } - leaf description { - type string; - description "Clock description"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf ssm-support { - type boolean; - description "The clock supports SSMs"; - } - leaf ssm-enabled { - type boolean; - description "The clock output is squelched"; - } - leaf loopback { - type boolean; - description "The clock is looped back"; - } - leaf selection-input { - type boolean; - description "The clock is an input for selection"; - } - leaf squelched { - type boolean; - description "The clock output is squelched"; - } - leaf damping-state { - type Fsync-bag-damping-state; - description "Damping state"; - } - leaf damping-time { - type uint32; - description "Time until damping state changes in ms"; - } - leaf input-disabled { - type boolean; - description "Timing input is disabled"; - } - leaf output-disabled { - type boolean; - description "Timing output is disabled"; - } - leaf wait-to-restore-time { - type uint16; - description "Wait-to-restore time for the clock"; - } - leaf clock-type-xr { - type Fsync-bag-clock-intf-class; - description "The type of clock"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-NTP-INFO { - description "Frequency Synchronization NTP information"; - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "NTP state"; - } - leaf supports-frequency { - type boolean; - description "The NTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The NTP clock supports time"; - } - leaf frequency-priority { - type Fsync-pri; - description - "The priority of the NTP clock when selected - between frequency sources"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description - "The priority of the NTP clock when selecting - between time-of-day sources"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-ETH-ESMC-STATS { - description "ESMC Statistics"; - leaf esmc-events-sent { - type uint16; - description "Number of event SSMs sent"; - } - leaf esmc-events-received { - type uint16; - description "Number of event SSMs received"; - } - leaf esmc-infos-sent { - type uint32; - description "Number of info SSMs sent"; - } - leaf esmc-infos-received { - type uint32; - description "Number of info SSms received"; - } - leaf esmc-dn-us-sent { - type uint32; - description "Number of SSMs with DNU QL sent"; - } - leaf esmc-dn-us-received { - type uint32; - description "Number of SSMs with DNU QL received"; - } - leaf esmc-malformed-received { - type uint16; - description "Number of malformed packets received"; - } - leaf esmc-received-error { - type uint16; - description - "Number of received packets that failed to be - handled"; - } - } - - grouping FSYNC-BAG-TIMESTAMP { - description "Timestamp"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping FSYNC-BAG-ETH-PEER-INFO { - description "Ethernet peer information"; - - container peer-state-time { - description "Time of last peer state transition"; - uses FSYNC-BAG-TIMESTAMP; - } - - container last-ssm { - description "Time of last SSM received"; - uses FSYNC-BAG-TIMESTAMP; - } - leaf peer-state { - type Fsync-bag-esmc-peer-state; - description "Peer state"; - } - leaf peer-up-count { - type uint16; - description "Number of times the peer has come up"; - } - leaf peer-timeout-count { - type uint16; - description "Number of times the peer has timed out"; - } - } - - grouping FSYNC-BAG-QL { - description "Quality level"; - leaf quality-level-option { - type Fsync-bag-ql-option; - description "QualityLevelOption"; - } - leaf option1-value { - when "../quality-level-option = 'option1'" { - description "../QualityLevelOption = 'Option1'"; - } - type Fsync-bag-ql-o1-value; - description "ITU-T Option 1 QL value"; - } - leaf option2-generation1-value { - when "../quality-level-option = 'option2-generation1'" { - description "../QualityLevelOption = 'Option2Generation1'"; - } - type Fsync-bag-ql-o2-g1-value; - description "ITU-T Option 2, generation 1 value"; - } - leaf option2-generation2-value { - when "../quality-level-option = 'option2-generation2'" { - description "../QualityLevelOption = 'Option2Generation2'"; - } - type Fsync-bag-ql-o2-g2-value; - description "ITU-T Option 2, generation 2 value"; - } - } - - grouping FSYNC-IF-INFO { - description "Line interface information"; - - container source { - description "The source ID for the interface"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selected-source { - description "Timing source selected for interface output"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level-received { - description "Received quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-damped { - description "Quality level after damping has been applied"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-output { - description "The effective output quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-selected-source { - description - "The quality level of the source driving this - interface"; - uses FSYNC-BAG-QL; - } - - container ethernet-peer-information { - description "Ethernet peer information"; - uses FSYNC-BAG-ETH-PEER-INFO; - } - - container esmc-statistics { - description "ESMC Statistics"; - uses FSYNC-BAG-ETH-ESMC-STATS; - } - leaf name { - type string; - description "Interface name"; - } - leaf state { - type Im-state-enum; - description "Interface state"; - } - leaf ssm-enabled { - type boolean; - description "SSM is enabled on the interface"; - } - leaf squelched { - type boolean; - description "The interface output is squelched"; - } - leaf selection-input { - type boolean; - description "The interface is an input for selection"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf damping-state { - type Fsync-bag-damping-state; - description "Damping state"; - } - leaf damping-time { - type uint32; - description "Time until damping state changes in ms"; - } - leaf wait-to-restore-time { - type uint16; - description "Wait-to-restore time for the interface"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-SUMMARY-TOD-INFO { - description "Time-of-day summary information"; - - container source { - description - "The source associated with this summary - information"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf node-count { - type uint32; - description - "The number of cards having their time-of-day set - by the source"; - } - } - - grouping FSYNC-BAG-SUMMARY-FREQ-INFO { - description "Frequency summary information"; - - container source { - description - "The source associated with this summary - information"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf clock-count { - type uint32; - description - "The number of clock-interfaces being driven by - the source"; - } - leaf ethernet-count { - type uint32; - description - "The number of Ethernet interfaces being driven - by the source"; - } - leaf sonet-count { - type uint32; - description - "The number of SONET/SDH interfaces being driven - by the source"; - } - } - - grouping FSYNC-SUMMARY-INFO { - description "Frequency Synchronization summary information"; - - list frequency-summary { - description "Summary of sources selected for frequency"; - uses FSYNC-BAG-SUMMARY-FREQ-INFO; - } - - list time-of-day-summary { - description "Summary of sources selected for time-of-day"; - uses FSYNC-BAG-SUMMARY-TOD-INFO; - } - } - - grouping FSYNC-BAG-FORWARDTRACE-NODE { - description "Selection forwardtrace node"; - - container selection-point { - when "../node-type = 'forward-trace-node-selection-point'" { - description - "../NodeType = 'ForwardTraceNodeSelectionPoint'"; - } - description "Selection Point"; - uses FSYNC-BAG-SP-ID; - } - - container source { - when "../node-type = 'forward-trace-node-source'" { - description "../NodeType = 'ForwardTraceNodeSource'"; - } - description "Timing Source"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf node-type { - type Fsync-bag-forwardtrace-node; - description "NodeType"; - } - } - - grouping FSYNC-BAG-FORWARDTRACE { - description "Selection forwardtrace"; - - container forward-trace-node { - description - "The source or selection point at this point in - the forwardtrace"; - uses FSYNC-BAG-FORWARDTRACE-NODE; - } - } - - grouping FSYNC-SELECTION-FORWARDTRACE-INFO { - description "Selection forwardtrace information"; - - list forward-trace { - description "Selection ForwardTrace"; - uses FSYNC-BAG-FORWARDTRACE; - } - } - - grouping FSYNC-BAG-SP-ID { - description "Selection point ID"; - leaf selection-point-type { - type Fsync-selection-point-type; - description "Selection point type"; - } - leaf selection-point-description { - type Fsync-bag-selection-point-desc; - description "Selection point descrption"; - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - - grouping FSYNC-BAG-CLOCK-ID { - description "Clock ID"; - leaf node { - type xr:Node-id; - description "Node"; - } - leaf port { - type uint32; - description "Port number"; - } - } - - grouping FSYNC-BAG-SOURCE-ID { - description "Source ID"; - - container clock-id { - when "../source-class = 'clock-interface-source'" { - description "../SourceClass = 'ClockInterfaceSource'"; - } - description "Clock ID"; - uses FSYNC-BAG-CLOCK-ID; - } - leaf source-class { - type Fsync-bag-source-class; - description "SourceClass"; - } - leaf ethernet-interface { - when "../source-class = 'ethernet-interface-source'" { - description "../SourceClass = 'EthernetInterfaceSource'"; - } - type xr:Interface-name; - description "Ethernet interface"; - } - leaf sonet-interface { - when "../source-class = 'sonet-interface-source'" { - description "../SourceClass = 'SONETInterfaceSource'"; - } - type xr:Interface-name; - description "SONET interfaces"; - } - leaf node { - when "../source-class = 'internal-clock-source'" { - description "../SourceClass = 'InternalClockSource'"; - } - type xr:Node-id; - description "Internal Clock Node"; - } - leaf ptp-node { - when "../source-class = 'ptp-source'" { - description "../SourceClass = 'PTPSource'"; - } - type xr:Node-id; - description "PTP Clock Node"; - } - leaf satellite-access-interface { - when "../source-class = 'satellite-access-interface-source'" { - description - "../SourceClass = - 'SatelliteAccessInterfaceSource'"; - } - type xr:Interface-name; - description "Satellite Access Interface"; - } - leaf ntp-node { - when "../source-class = 'ntp-source'" { - description "../SourceClass = 'NTPSource'"; - } - type xr:Node-id; - description "NTP Clock Node"; - } - } - - grouping FSYNC-SELECTION-BACKTRACE-INFO { - description "Selection backtrace information"; - - container selected-source { - description "Source which has been selected for output"; - uses FSYNC-BAG-SOURCE-ID; - } - - list selection-point { - description "List of selection points in the backtrace"; - uses FSYNC-BAG-SP-ID; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper.yang deleted file mode 100644 index 78db3f1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-oper.yang +++ /dev/null @@ -1,345 +0,0 @@ -module Cisco-IOS-XR-freqsync-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper"; - - - prefix "freqsync-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-freqsync-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-freqsync-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR freqsync package operational data. - - This module contains definitions - for the following management objects: - frequency-synchronization: Frequency Synchronization - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-stream { - type enumeration { - enum local { - value 1; - description "Stream input from a local source"; - } - enum selection-point { - value 2; - description - "Stream input from a selection point on a remote - node"; - } - } - description "Fsync stream"; - } - typedef Fsync-source { - type enumeration { - enum ethernet { - value 1; - description "An ethernet interface"; - } - enum sonet { - value 2; - description "A SONET interface"; - } - enum clock { - value 3; - description "A clock interface"; - } - enum internal { - value 4; - description "An internal clock"; - } - enum ptp { - value 5; - description "A PTP clock"; - } - enum satellite-access { - value 6; - description "A satellite access interface clock"; - } - enum ntp { - value 7; - description "An NTP clock"; - } - } - description "Fsync source"; - } - - container frequency-synchronization { - config false; - description "Frequency Synchronization operational data"; - - container global-nodes { - description "Table for global node-specific operational data"; - - list global-node { - key "node"; - description - "Global node-specific data for a particular node"; - - container clock-interface-selection-back-traces { - description - "Selection backtrace operational data for - clock-interfaces"; - - list clock-interface-selection-back-trace { - key "clock-type port"; - description - "Selection backtrace operational data for a - particular clock-interface"; - leaf clock-type { - type dt1:Fsync-clock; - description "Clock type"; - } - leaf port { - type int32; - description "Clock port"; - } - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - } - - container clock-interface-selection-forward-traces { - description - "Selection forwardtrace operational data for - clock-interfaces"; - - list clock-interface-selection-forward-trace { - key "clock-type port"; - description - "Selection forwardtrace operational data for a - particular clock-interface"; - leaf clock-type { - type dt1:Fsync-clock; - description "Clock type"; - } - leaf port { - type int32; - description "Clock port"; - } - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - } - - container time-of-day-back-trace { - description - "Selection backtrace operational data for - time-of-day on a particular node"; - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - - container ntp-selection-forward-trace { - description - "Selection forwardtrace operational data for a - NTP clock"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - - container ptp-selection-forward-trace { - description - "Selection forwardtrace operational data for a - PTP clock"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - - container global-interfaces { - description "Table for global interface operational data"; - - list global-interface { - key "interface-name"; - description - "Global interface information for a particular - interface"; - - container interface-selection-forward-trace { - description - "Selection forwardtrace operational data for a - particular interface"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - - container interface-selection-back-trace { - description - "Selection backtrace operational data for a - particular interface"; - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - - container summary { - description "Summary operational data"; - uses FSYNC-SUMMARY-INFO; - } - - container interfaces { - description "Table for interface operational data"; - - list interface { - key "interface-name"; - description "Operational data for a particular interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses FSYNC-IF-INFO; - } - } - - container nodes { - description "Table for node-specific operational data"; - - list node { - key "node"; - description "Node-specific data for a particular node"; - - container ntp { - description "NTP operational data"; - uses FSYNC-NTP-INFO; - } - - container clocks { - description "Table for clock operational data"; - - list clock { - key "clock-type port"; - description "Operational data for a particular clock"; - leaf clock-type { - type dt1:Fsync-clock; - description "Clock type"; - } - leaf port { - type int32; - description "Clock port"; - } - uses FSYNC-CLOCK-INFO; - } - } - - container configuration-errors { - description "Configuration error operational data"; - uses FSYNC-CONFIG-ERRORS-INFO; - } - - container ptp { - description "PTP operational data"; - uses FSYNC-PTP-INFO; - } - - container ssm-summary { - description "SSM operational data"; - uses FSYNC-SSM-INFO; - } - - container selection-points { - description "Selection point table"; - - list selection-point { - key "selection-point"; - description - "Operational data for a given selection point"; - leaf selection-point { - type int32; - description "Selection point ID"; - } - uses FSYNC-SP-INFO; - } - } - - container selection-point-inputs { - description - "Table for selection point input operational - data"; - - list selection-point-input { - description - "Operational data for a particular selection - point input"; - leaf selection-point { - type int32; - description "Selection point ID"; - } - leaf stream-type { - type Fsync-stream; - description "Type of stream"; - } - leaf source-type { - type Fsync-source; - description "Type of source"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf clock-port { - type int32; - description "Clock port"; - } - leaf last-node { - type xr:Node-id; - description "Last node for a selection point stream"; - } - leaf last-selection-point { - type int32; - description - "Last selection point for a selection point - stream"; - } - leaf output-id { - type int32; - description "Output ID for a selection point stream"; - } - uses FSYNC-SP-INPUT-INFO; - } - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-sat-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-sat-cfg.yang deleted file mode 100644 index 7fbe268..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-freqsync-sat-cfg.yang +++ /dev/null @@ -1,68 +0,0 @@ -module Cisco-IOS-XR-freqsync-sat-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg"; - - - prefix "freqsync-sat-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2-eth-infra-cfg { prefix "a2"; } - - import Cisco-IOS-XR-icpe-infra-cfg { prefix "a3"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR freqsync-sat package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2-eth-infra-cfg, - Cisco-IOS-XR-icpe-infra-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a3:nv-satellite-fabric-link" { - - container frequency-synchronization { - description - "Frequency Synchronization satellite - configuration"; - leaf enable { - type empty; - description "Enable Frequency Synchronization"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-icpe-infra-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang deleted file mode 100644 index 2937da2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang +++ /dev/null @@ -1,52 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-drop-stats package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DROP-STATS { - description "DROP STATS"; - leaf id { - type uint32; - description "id"; - } - leaf name { - type string; - description "name"; - } - leaf count { - type uint64; - description "count"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang deleted file mode 100644 index 54fc779..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang +++ /dev/null @@ -1,91 +0,0 @@ -module Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper"; - - - prefix "fretta-bcm-dpa-drop-stats-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-drop-stats package operational data. - - This module contains definitions - for the following management objects: - drop: Drop stats data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container drop { - config false; - description "Drop stats data"; - - container nodes { - description "Drop data per node"; - - list node { - key "node-name"; - description "Drop stats data for a particular node"; - - container npu-number-for-drop-stats { - description "NPU drop stats"; - - list npu-number-for-drop-stat { - key "npu-id"; - description "All drop stats for a particular NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - - list drop-specific-stats-data { - key "drop-data"; - description "Second argument to the module"; - leaf drop-data { - type int32; - description "Drop ID"; - } - uses DROP-STATS; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang deleted file mode 100644 index 2ab4480..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang +++ /dev/null @@ -1,192 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DPA-SYSDB-STATS-APP-USAGE { - description "DPA SYSDB STATS APP USAGE"; - leaf app-type { - type string; - description "app type"; - } - leaf num-cntrs-for-app { - type uint32; - description "num cntrs for app"; - } - leaf num-cntrs-used { - type uint32; - description "num cntrs used"; - } - } - - grouping DPA-SYSDB-STATS-CNTR-ENG { - description "DPA SYSDB STATS CNTR ENG"; - leaf state { - type string; - description "state"; - } - leaf core-id { - type uint32; - description "core id"; - } - - list apps-info { - description "apps info"; - uses DPA-SYSDB-STATS-APP-USAGE; - } - } - - grouping DPA-SYSDB-STATS-HW-RESOURCE { - description "DPA SYSDB STATS HW RESOURCE"; - leaf sys-cp-cnfg-prof { - type uint32; - description "sys cp cnfg prof"; - } - leaf next-avail-cp-id { - type uint32; - description "next avail cp id"; - } - leaf num-cntr-engines { - type uint32; - description "num cntr engines"; - } - - list cntr-engine { - description "cntr engine"; - uses DPA-SYSDB-STATS-CNTR-ENG; - } - } - - grouping DPA-SYSDB-LT-HW-RESOURCE { - description "DPA SYSDB LT HW RESOURCE"; - leaf lt-id { - type uint32; - description "lt id"; - } - leaf name { - type string; - description "name"; - } - leaf hw-entries { - type uint32; - description "hw entries"; - } - leaf sw-entries { - type uint32; - description "sw entries"; - } - } - - grouping DPA-SYSDB-NPU-HW-RESOURCE { - description "DPA SYSDB NPU HW RESOURCE"; - leaf max-allowed { - type uint32; - description "max allowed"; - } - leaf npu-id { - type uint32; - description "npu id"; - } - leaf max-entries { - type uint32; - description "max entries"; - } - leaf red-oor-threshold { - type uint32; - description "red oor threshold"; - } - leaf red-oor-threshold-percent { - type uint32; - description "red oor threshold percent"; - } - leaf yellow-oor-threshold { - type uint32; - description "yellow oor threshold"; - } - leaf yellow-oor-threshold-percent { - type uint32; - description "yellow oor threshold percent"; - } - leaf inuse-objects { - type uint32; - description "inuse objects"; - } - leaf num-lt { - type uint32; - description "num lt"; - } - leaf oor-change-count { - type uint32; - description "oor change count"; - } - leaf oor-state-change-time1 { - type string; - description "oor state change time1"; - } - leaf oor-state-change-time2 { - type string; - description "oor state change time2"; - } - leaf oor-state { - type string; - description "oor state"; - } - - list lt-hwr { - description "lt hwr"; - uses DPA-SYSDB-LT-HW-RESOURCE; - } - } - - grouping DPA-SYSDB-HW-RESOURCE { - description "DPA SYSDB HW RESOURCE"; - leaf resource-id { - type uint32; - description "resource id"; - } - leaf name { - type string; - description "name"; - } - leaf num-npus { - type uint32; - description "num npus"; - } - - list npu-hwr { - description "npu hwr"; - uses DPA-SYSDB-NPU-HW-RESOURCE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang deleted file mode 100644 index c07b427..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang +++ /dev/null @@ -1,565 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DPA-TRAP-STATS { - description "DPA TRAP STATS"; - leaf trap-strength { - type uint32; - description "Trap Strength of the trap"; - } - leaf priority { - type uint32; - description "Priority of the trap"; - } - leaf trap-id-xr { - type uint32; - description "Id of the trap"; - } - leaf gport { - type uint32; - description "Gport of the trap"; - } - leaf fec-id { - type uint32; - description "Fec id of the trap"; - } - leaf policer-id { - type uint32; - description "Id of the policer on the trap"; - } - leaf stats-id { - type uint32; - description "Stats Id of the trap"; - } - leaf encap-id { - type uint32; - description "Encap Id of the trap"; - } - leaf mc-group { - type uint32; - description "McGroup of the trap"; - } - leaf trap-string { - type string; - description "Name String of the trap"; - } - leaf id { - type uint32; - description "Id for internal use"; - } - leaf offset { - type uint64; - description "Offset for internal use"; - } - leaf npu-id { - type uint64; - description "NpuId on which trap is enabled"; - } - leaf packet-dropped { - type uint64; - description - "Number of packets dropped after hitting the trap"; - } - leaf packet-accepted { - type uint64; - description - "Number of packets accepted after hitting the - trap"; - } - } - - grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { - description "DPA VOQ INGRESS PACKET STATISTICS"; - leaf received-bytes { - type uint64; - units "byte"; - description "Bytes Received on the port"; - } - leaf received-packets { - type uint64; - description "Packets Received on the port"; - } - leaf dropped-bytes { - type uint64; - units "byte"; - description "Bytes Dropped on the port"; - } - leaf dropped-packets { - type uint64; - description "Packets Dropeed on the port"; - } - } - - grouping DPA-VOQ-INTF-PORT { - description "DPA VOQ INTF PORT"; - leaf in-use { - type boolean; - description "Flag to indicate if port is in use"; - } - leaf rack-num { - type uint8; - description "Rack of port"; - } - leaf slot-num { - type uint8; - description "Slot of port"; - } - leaf npu-num { - type uint8; - description "NPU of port"; - } - leaf npu-core { - type uint8; - description "NPU core of port"; - } - leaf port-num { - type uint8; - description "Port Number of port"; - } - leaf if-handle { - type uint32; - description "IfHandle of port"; - } - leaf sys-port { - type uint32; - description "System port of port"; - } - leaf pp-port { - type uint32; - description "PP Port number of port"; - } - leaf port-speed { - type uint32; - description "Port speed of port"; - } - leaf voq-base { - type uint32; - description "Voq Base number of port"; - } - leaf connector-id { - type uint32; - description "Connector id of port"; - } - leaf is-local-port { - type boolean; - description "Flag to indicate if port is local to the node"; - } - - list voq-stat { - max-elements "8"; - description - "Keeps a record of the received and dropped - packets and bytes on the port"; - uses DPA-VOQ-INGRESS-PACKET-STATISTICS; - } - } - - grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { - description "Detailed ASIC statistics field information"; - leaf field-name { - type string { - length "0..80"; - } - description "Field name"; - } - leaf field-value { - type uint64; - description "Field value"; - } - leaf is-overflow { - type boolean; - description "Flag to indicate overflow"; - } - } - - grouping FIA-EDM-DEVICE-STATS-BLK-INFO { - description "Detailed ASIC statistics block information"; - leaf block-name { - type string { - length "0..10"; - } - description "Block name"; - } - leaf num-fields { - type uint8; - description "Number of fields"; - } - - list field-info { - max-elements "200"; - description "Field information"; - uses FIA-EDM-DEVICE-STATS-FIELD-INFO; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { - description "Detailed ASIC statistics information"; - leaf num-blocks { - type uint8; - description "Number of blocks"; - } - - list block-info { - max-elements "22"; - description "Block information"; - uses FIA-EDM-DEVICE-STATS-BLK-INFO; - } - } - - grouping FIA-EDM-STATS-INFO { - description "Detailed ASIC statistics"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { - description "ASIC statistics"; - leaf nbi-rx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from NIF to IRE"; - } - leaf nbi-rx-total-pkt-cnt { - type uint64; - description "Total packets sent from NIF to IRE"; - } - leaf ire-cpu-pkt-cnt { - type uint64; - description "CPU ingress received packet counter"; - } - leaf ire-nif-pkt-cnt { - type uint64; - description "NIF received packet counter"; - } - leaf ire-oamp-pkt-cnt { - type uint64; - description "OAMP ingress received packet counter"; - } - leaf ire-olp-pkt-cnt { - type uint64; - description "OLP ingress received packet counter"; - } - leaf ire-rcy-pkt-cnt { - type uint64; - description "Recycling ingress received packet counter"; - } - leaf ire-fdt-if-cnt { - type uint64; - description "Performance counter of the FDT interface"; - } - leaf idr-mmu-if-cnt { - type uint64; - description "Performance counter of the MMU interface"; - } - leaf idr-ocb-if-cnt { - type uint64; - description "Performance counter of the OCB interface"; - } - leaf iqm-enqueue-pkt-cnt { - type uint64; - description "Counts enqueued packets"; - } - leaf iqm-dequeue-pkt-cnt { - type uint64; - description "Counts dequeued packets"; - } - leaf iqm-deleted-pkt-cnt { - type uint64; - description - "Counts matched packets discarded in the DEQ - process"; - } - leaf iqm-enq-discarded-pkt-cnt { - type uint64; - description "Counts all packets discarded at the ENQ pipe"; - } - leaf ipt-egq-pkt-cnt { - type uint64; - description "EGQ packet counter"; - } - leaf ipt-enq-pkt-cnt { - type uint64; - description "ENQ packet counter"; - } - leaf ipt-fdt-pkt-cnt { - type uint64; - description "FDT packet counter"; - } - leaf ipt-cfg-event-cnt { - type uint64; - description "Configurable event counter"; - } - leaf ipt-cfg-byte-cnt { - type uint64; - units "byte"; - description "Configurable bytes counter"; - } - leaf fdt-ipt-desc-cell-cnt { - type uint64; - description "Descriptor cell counter"; - } - leaf fdt-ire-desc-cell-cnt { - type uint64; - description "IRE internal descriptor cell counter"; - } - leaf fdt-transmitted-data-cells-cnt { - type uint64; - description "Counts all transmitted data cells"; - } - leaf fdr-p1-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 1"; - } - leaf fdr-p2-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 2"; - } - leaf fdr-p3-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 3"; - } - leaf fdr-cell-in-cnt-total { - type uint64; - description "FDR total incoming cell counter"; - } - leaf fda-cells-in-cnt-p1 { - type uint64; - description "FDA input cell counter P1"; - } - leaf fda-cells-in-cnt-p2 { - type uint64; - description "FDA input cell counter P2"; - } - leaf fda-cells-in-cnt-p3 { - type uint64; - description "FDA input cell counter P3"; - } - leaf fda-cells-in-tdm-cnt { - type uint64; - description "FDA input cell counter TDM"; - } - leaf fda-cells-in-meshmc-cnt { - type uint64; - description "FDA input cell counter MESHMC"; - } - leaf fda-cells-in-ipt-cnt { - type uint64; - description "FDA input cell counter IPT"; - } - leaf fda-cells-out-cnt-p1 { - type uint64; - description "FDA output cell counter P1"; - } - leaf fda-cells-out-cnt-p2 { - type uint64; - description "FDA output cell counter P2"; - } - leaf fda-cells-out-cnt-p3 { - type uint64; - description "FDA output cell counter P3"; - } - leaf fda-cells-out-tdm-cnt { - type uint64; - description "FDA output cell counter TDM"; - } - leaf fda-cells-out-meshmc-cnt { - type uint64; - description "FDA output cell counter MESHMC"; - } - leaf fda-cells-out-ipt-cnt { - type uint64; - description "FDA output cell counter IPT"; - } - leaf fda-egq-drop-cnt { - type uint64; - description "FDA EGQ drop counter"; - } - leaf fda-egq-meshmc-drop-cnt { - type uint64; - description "FDA EGQ MESHMC drop counter"; - } - leaf egq-fqp-pkt-cnt { - type uint64; - description "FQP2EPE packet counter"; - } - leaf egq-pqp-uc-pkt-cnt { - type uint64; - description "PQP2FQP unicast packet counter"; - } - leaf egq-pqp-discard-uc-pkt-cnt { - type uint64; - description "PQP discarded unicast packet counter"; - } - leaf egq-pqp-uc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP unicast bytes counter"; - } - leaf egq-pqp-mc-pkt-cnt { - type uint64; - description "PQP2FQP multicast packet counter"; - } - leaf egq-pqp-discard-mc-pkt-cnt { - type uint64; - description "PQP discarded multicast packet counter"; - } - leaf egq-pqp-mc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP multicast bytes counter"; - } - leaf egq-ehp-uc-pkt-cnt { - type uint64; - description "EHP2PQP unicast packet counter"; - } - leaf egq-ehp-mc-high-pkt-cnt { - type uint64; - description "EHP2PQP multicast high packet counter"; - } - leaf egq-ehp-mc-low-pkt-cnt { - type uint64; - description "EHP2PQP multicast low packet counter"; - } - leaf egq-deleted-pkt-cnt { - type uint64; - description "EHP2PQP discarded packet counter"; - } - leaf egq-ehp-mc-high-discard-cnt { - type uint64; - description - "Number of multicast high packets discarded - because multicast FIFO is full"; - } - leaf egq-ehp-mc-low-discard-cnt { - type uint64; - description - "Number of multicast low packets discarded - because multicast FIFO is full"; - } - leaf egq-erpp-lag-pruning-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - LAG multicast pruning"; - } - leaf egq-erpp-pmf-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - ERPP PMF"; - } - leaf egq-erpp-vlan-mbr-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded because - of egress VLAN membership"; - } - leaf epni-epe-byte-cnt { - type uint64; - units "byte"; - description "EPE2PNI bytes counter"; - } - leaf epni-epe-pkt-cnt { - type uint64; - description "EPE2PNI packet counter"; - } - leaf epni-epe-discard-cnt { - type uint64; - description "EPE discarded packet counter"; - } - leaf nbi-tx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from EGQ to NIF"; - } - leaf nbi-tx-total-pkt-cnt { - type uint64; - description "Total packets sent from EGQ to NIF"; - } - } - - grouping FIA-EDM-STATS-BRIEF-INFO { - description "ASIC statistics information"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang deleted file mode 100644 index 2bdbe6f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang +++ /dev/null @@ -1,251 +0,0 @@ -module Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper"; - - - prefix "fretta-bcm-dpa-hw-resources-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. - - This module contains definitions - for the following management objects: - dpa: Stats Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Max-trap-s { - type uint32 { - range "0..4294967295"; - } - description "Max trap s"; - } - typedef Resource { - type enumeration { - enum lem { - value 0; - description "lem"; - } - enum lpm { - value 1; - description "lpm"; - } - enum encap { - value 2; - description "encap"; - } - enum ext-tcam-ipv4 { - value 3; - description "ext tcam ipv4"; - } - enum ext-tcam-ipv6-short { - value 4; - description "ext tcam ipv6 short"; - } - enum ext-tcam-ipv6-long { - value 5; - description "ext tcam ipv6 long"; - } - enum fec { - value 6; - description "fec"; - } - enum ecmpfec { - value 7; - description "ecmp fec"; - } - } - description "Resource"; - } - typedef Max-lc-intf-hand-les { - type uint32 { - range "0..4294967295"; - } - description "Max lc intf hand les"; - } - - container dpa { - config false; - description "Stats Data"; - - container stats { - description "Voq or Trap Data"; - - container nodes { - description "DPA data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container hw-resources-datas { - description "DPA hw resources stats "; - - list hw-resources-data { - key "resource"; - description "Hardware resources table"; - leaf resource { - type Resource; - description "Resource type"; - } - uses DPA-SYSDB-HW-RESOURCE; - } - } - - container asic-statistics { - description "ASIC statistics table"; - - container asic-statistics-for-npu-ids { - description "ASIC statistics"; - - list asic-statistics-for-npu-id { - key "npu-id"; - description "ASIC statistics for a particular NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-BRIEF-INFO; - } - } - - container asic-statistics-detail-for-npu-ids { - description "Detailed ASIC statistics"; - - list asic-statistics-detail-for-npu-id { - key "npu-id"; - description - "Detailed ASIC statistics for a particular - NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-INFO; - } - } - } - - container npu-numbers { - description "Ingress Stats"; - - list npu-number { - key "npu-id"; - description "Stats for a particular npu"; - - container display { - description "show npu specific voq or trap stats"; - - container base-numbers { - description - "Voq stats grouped by voq base numbers"; - - list base-number { - key "base-number"; - description - "Voq Base Number for a particular voq"; - leaf base-number { - type Max-lc-intf-hand-les; - description "Interface handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - - container trap-ids { - description "Trap stats for a particular npu"; - - list trap-id { - key "trap-id"; - description "Filter by specific trap id"; - leaf trap-id { - type Max-trap-s; - description "Trap ID"; - } - uses DPA-TRAP-STATS; - } - } - - container interface-handles { - description - "Voq stats grouped by interface handle"; - - list interface-handle { - key "interface-handle"; - description - "Voq stats for a particular interface - handle"; - leaf interface-handle { - type Max-lc-intf-hand-les; - description "Interface Handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - } - leaf npu-id { - type int32; - description "Npu number"; - } - } - } - - container npu-ids { - description "DPA stats hw resources info "; - - list npu-id { - key "npu-id"; - description "Stats Hardware Info for particular NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses DPA-SYSDB-STATS-HW-RESOURCE; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang deleted file mode 100644 index 78529c6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang +++ /dev/null @@ -1,565 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-npu-stats package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DPA-TRAP-STATS { - description "DPA TRAP STATS"; - leaf trap-strength { - type uint32; - description "Trap Strength of the trap"; - } - leaf priority { - type uint32; - description "Priority of the trap"; - } - leaf trap-id-xr { - type uint32; - description "Id of the trap"; - } - leaf gport { - type uint32; - description "Gport of the trap"; - } - leaf fec-id { - type uint32; - description "Fec id of the trap"; - } - leaf policer-id { - type uint32; - description "Id of the policer on the trap"; - } - leaf stats-id { - type uint32; - description "Stats Id of the trap"; - } - leaf encap-id { - type uint32; - description "Encap Id of the trap"; - } - leaf mc-group { - type uint32; - description "McGroup of the trap"; - } - leaf trap-string { - type string; - description "Name String of the trap"; - } - leaf id { - type uint32; - description "Id for internal use"; - } - leaf offset { - type uint64; - description "Offset for internal use"; - } - leaf npu-id { - type uint64; - description "NpuId on which trap is enabled"; - } - leaf packet-dropped { - type uint64; - description - "Number of packets dropped after hitting the trap"; - } - leaf packet-accepted { - type uint64; - description - "Number of packets accepted after hitting the - trap"; - } - } - - grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { - description "DPA VOQ INGRESS PACKET STATISTICS"; - leaf received-bytes { - type uint64; - units "byte"; - description "Bytes Received on the port"; - } - leaf received-packets { - type uint64; - description "Packets Received on the port"; - } - leaf dropped-bytes { - type uint64; - units "byte"; - description "Bytes Dropped on the port"; - } - leaf dropped-packets { - type uint64; - description "Packets Dropeed on the port"; - } - } - - grouping DPA-VOQ-INTF-PORT { - description "DPA VOQ INTF PORT"; - leaf in-use { - type boolean; - description "Flag to indicate if port is in use"; - } - leaf rack-num { - type uint8; - description "Rack of port"; - } - leaf slot-num { - type uint8; - description "Slot of port"; - } - leaf npu-num { - type uint8; - description "NPU of port"; - } - leaf npu-core { - type uint8; - description "NPU core of port"; - } - leaf port-num { - type uint8; - description "Port Number of port"; - } - leaf if-handle { - type uint32; - description "IfHandle of port"; - } - leaf sys-port { - type uint32; - description "System port of port"; - } - leaf pp-port { - type uint32; - description "PP Port number of port"; - } - leaf port-speed { - type uint32; - description "Port speed of port"; - } - leaf voq-base { - type uint32; - description "Voq Base number of port"; - } - leaf connector-id { - type uint32; - description "Connector id of port"; - } - leaf is-local-port { - type boolean; - description "Flag to indicate if port is local to the node"; - } - - list voq-stat { - max-elements "8"; - description - "Keeps a record of the received and dropped - packets and bytes on the port"; - uses DPA-VOQ-INGRESS-PACKET-STATISTICS; - } - } - - grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { - description "Detailed ASIC statistics field information"; - leaf field-name { - type string { - length "0..80"; - } - description "Field name"; - } - leaf field-value { - type uint64; - description "Field value"; - } - leaf is-overflow { - type boolean; - description "Flag to indicate overflow"; - } - } - - grouping FIA-EDM-DEVICE-STATS-BLK-INFO { - description "Detailed ASIC statistics block information"; - leaf block-name { - type string { - length "0..10"; - } - description "Block name"; - } - leaf num-fields { - type uint8; - description "Number of fields"; - } - - list field-info { - max-elements "200"; - description "Field information"; - uses FIA-EDM-DEVICE-STATS-FIELD-INFO; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { - description "Detailed ASIC statistics information"; - leaf num-blocks { - type uint8; - description "Number of blocks"; - } - - list block-info { - max-elements "22"; - description "Block information"; - uses FIA-EDM-DEVICE-STATS-BLK-INFO; - } - } - - grouping FIA-EDM-STATS-INFO { - description "Detailed ASIC statistics"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { - description "ASIC statistics"; - leaf nbi-rx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from NIF to IRE"; - } - leaf nbi-rx-total-pkt-cnt { - type uint64; - description "Total packets sent from NIF to IRE"; - } - leaf ire-cpu-pkt-cnt { - type uint64; - description "CPU ingress received packet counter"; - } - leaf ire-nif-pkt-cnt { - type uint64; - description "NIF received packet counter"; - } - leaf ire-oamp-pkt-cnt { - type uint64; - description "OAMP ingress received packet counter"; - } - leaf ire-olp-pkt-cnt { - type uint64; - description "OLP ingress received packet counter"; - } - leaf ire-rcy-pkt-cnt { - type uint64; - description "Recycling ingress received packet counter"; - } - leaf ire-fdt-if-cnt { - type uint64; - description "Performance counter of the FDT interface"; - } - leaf idr-mmu-if-cnt { - type uint64; - description "Performance counter of the MMU interface"; - } - leaf idr-ocb-if-cnt { - type uint64; - description "Performance counter of the OCB interface"; - } - leaf iqm-enqueue-pkt-cnt { - type uint64; - description "Counts enqueued packets"; - } - leaf iqm-dequeue-pkt-cnt { - type uint64; - description "Counts dequeued packets"; - } - leaf iqm-deleted-pkt-cnt { - type uint64; - description - "Counts matched packets discarded in the DEQ - process"; - } - leaf iqm-enq-discarded-pkt-cnt { - type uint64; - description "Counts all packets discarded at the ENQ pipe"; - } - leaf ipt-egq-pkt-cnt { - type uint64; - description "EGQ packet counter"; - } - leaf ipt-enq-pkt-cnt { - type uint64; - description "ENQ packet counter"; - } - leaf ipt-fdt-pkt-cnt { - type uint64; - description "FDT packet counter"; - } - leaf ipt-cfg-event-cnt { - type uint64; - description "Configurable event counter"; - } - leaf ipt-cfg-byte-cnt { - type uint64; - units "byte"; - description "Configurable bytes counter"; - } - leaf fdt-ipt-desc-cell-cnt { - type uint64; - description "Descriptor cell counter"; - } - leaf fdt-ire-desc-cell-cnt { - type uint64; - description "IRE internal descriptor cell counter"; - } - leaf fdt-transmitted-data-cells-cnt { - type uint64; - description "Counts all transmitted data cells"; - } - leaf fdr-p1-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 1"; - } - leaf fdr-p2-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 2"; - } - leaf fdr-p3-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 3"; - } - leaf fdr-cell-in-cnt-total { - type uint64; - description "FDR total incoming cell counter"; - } - leaf fda-cells-in-cnt-p1 { - type uint64; - description "FDA input cell counter P1"; - } - leaf fda-cells-in-cnt-p2 { - type uint64; - description "FDA input cell counter P2"; - } - leaf fda-cells-in-cnt-p3 { - type uint64; - description "FDA input cell counter P3"; - } - leaf fda-cells-in-tdm-cnt { - type uint64; - description "FDA input cell counter TDM"; - } - leaf fda-cells-in-meshmc-cnt { - type uint64; - description "FDA input cell counter MESHMC"; - } - leaf fda-cells-in-ipt-cnt { - type uint64; - description "FDA input cell counter IPT"; - } - leaf fda-cells-out-cnt-p1 { - type uint64; - description "FDA output cell counter P1"; - } - leaf fda-cells-out-cnt-p2 { - type uint64; - description "FDA output cell counter P2"; - } - leaf fda-cells-out-cnt-p3 { - type uint64; - description "FDA output cell counter P3"; - } - leaf fda-cells-out-tdm-cnt { - type uint64; - description "FDA output cell counter TDM"; - } - leaf fda-cells-out-meshmc-cnt { - type uint64; - description "FDA output cell counter MESHMC"; - } - leaf fda-cells-out-ipt-cnt { - type uint64; - description "FDA output cell counter IPT"; - } - leaf fda-egq-drop-cnt { - type uint64; - description "FDA EGQ drop counter"; - } - leaf fda-egq-meshmc-drop-cnt { - type uint64; - description "FDA EGQ MESHMC drop counter"; - } - leaf egq-fqp-pkt-cnt { - type uint64; - description "FQP2EPE packet counter"; - } - leaf egq-pqp-uc-pkt-cnt { - type uint64; - description "PQP2FQP unicast packet counter"; - } - leaf egq-pqp-discard-uc-pkt-cnt { - type uint64; - description "PQP discarded unicast packet counter"; - } - leaf egq-pqp-uc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP unicast bytes counter"; - } - leaf egq-pqp-mc-pkt-cnt { - type uint64; - description "PQP2FQP multicast packet counter"; - } - leaf egq-pqp-discard-mc-pkt-cnt { - type uint64; - description "PQP discarded multicast packet counter"; - } - leaf egq-pqp-mc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP multicast bytes counter"; - } - leaf egq-ehp-uc-pkt-cnt { - type uint64; - description "EHP2PQP unicast packet counter"; - } - leaf egq-ehp-mc-high-pkt-cnt { - type uint64; - description "EHP2PQP multicast high packet counter"; - } - leaf egq-ehp-mc-low-pkt-cnt { - type uint64; - description "EHP2PQP multicast low packet counter"; - } - leaf egq-deleted-pkt-cnt { - type uint64; - description "EHP2PQP discarded packet counter"; - } - leaf egq-ehp-mc-high-discard-cnt { - type uint64; - description - "Number of multicast high packets discarded - because multicast FIFO is full"; - } - leaf egq-ehp-mc-low-discard-cnt { - type uint64; - description - "Number of multicast low packets discarded - because multicast FIFO is full"; - } - leaf egq-erpp-lag-pruning-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - LAG multicast pruning"; - } - leaf egq-erpp-pmf-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - ERPP PMF"; - } - leaf egq-erpp-vlan-mbr-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded because - of egress VLAN membership"; - } - leaf epni-epe-byte-cnt { - type uint64; - units "byte"; - description "EPE2PNI bytes counter"; - } - leaf epni-epe-pkt-cnt { - type uint64; - description "EPE2PNI packet counter"; - } - leaf epni-epe-discard-cnt { - type uint64; - description "EPE discarded packet counter"; - } - leaf nbi-tx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from EGQ to NIF"; - } - leaf nbi-tx-total-pkt-cnt { - type uint64; - description "Total packets sent from EGQ to NIF"; - } - } - - grouping FIA-EDM-STATS-BRIEF-INFO { - description "ASIC statistics information"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang deleted file mode 100644 index d881e09..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang +++ /dev/null @@ -1,182 +0,0 @@ -module Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper"; - - - prefix "fretta-bcm-dpa-npu-stats-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-npu-stats package operational data. - - This module contains definitions - for the following management objects: - dpa: Stats Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Max-trap-s { - type uint32 { - range "0..4294967295"; - } - description "Max trap s"; - } - typedef Max-lc-intf-hand-les { - type uint32 { - range "0..4294967295"; - } - description "Max lc intf hand les"; - } - - container dpa { - config false; - description "Stats Data"; - - container stats { - description "Voq or Trap Data"; - - container nodes { - description "DPA data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container asic-statistics { - description "ASIC statistics table"; - - container asic-statistics-for-npu-ids { - description "ASIC statistics"; - - list asic-statistics-for-npu-id { - key "npu-id"; - description "ASIC statistics for a particular NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-BRIEF-INFO; - } - } - - container asic-statistics-detail-for-npu-ids { - description "Detailed ASIC statistics"; - - list asic-statistics-detail-for-npu-id { - key "npu-id"; - description - "Detailed ASIC statistics for a particular - NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-INFO; - } - } - } - - container npu-numbers { - description "Ingress Stats"; - - list npu-number { - key "npu-id"; - description "Stats for a particular npu"; - - container display { - description "show npu specific voq or trap stats"; - - container base-numbers { - description - "Voq stats grouped by voq base numbers"; - - list base-number { - key "base-number"; - description - "Voq Base Number for a particular voq"; - leaf base-number { - type Max-lc-intf-hand-les; - description "Interface handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - - container trap-ids { - description "Trap stats for a particular npu"; - - list trap-id { - key "trap-id"; - description "Filter by specific trap id"; - leaf trap-id { - type Max-trap-s; - description "Trap ID"; - } - uses DPA-TRAP-STATS; - } - } - - container interface-handles { - description - "Voq stats grouped by interface handle"; - - list interface-handle { - key "interface-handle"; - description - "Voq stats for a particular interface - handle"; - leaf interface-handle { - type Max-lc-intf-hand-les; - description "Interface Handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - } - leaf npu-id { - type int32; - description "Npu number"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang deleted file mode 100644 index e395488..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang +++ /dev/null @@ -1,565 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-resources-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DPA-TRAP-STATS { - description "DPA TRAP STATS"; - leaf trap-strength { - type uint32; - description "Trap Strength of the trap"; - } - leaf priority { - type uint32; - description "Priority of the trap"; - } - leaf trap-id-xr { - type uint32; - description "Id of the trap"; - } - leaf gport { - type uint32; - description "Gport of the trap"; - } - leaf fec-id { - type uint32; - description "Fec id of the trap"; - } - leaf policer-id { - type uint32; - description "Id of the policer on the trap"; - } - leaf stats-id { - type uint32; - description "Stats Id of the trap"; - } - leaf encap-id { - type uint32; - description "Encap Id of the trap"; - } - leaf mc-group { - type uint32; - description "McGroup of the trap"; - } - leaf trap-string { - type string; - description "Name String of the trap"; - } - leaf id { - type uint32; - description "Id for internal use"; - } - leaf offset { - type uint64; - description "Offset for internal use"; - } - leaf npu-id { - type uint64; - description "NpuId on which trap is enabled"; - } - leaf packet-dropped { - type uint64; - description - "Number of packets dropped after hitting the trap"; - } - leaf packet-accepted { - type uint64; - description - "Number of packets accepted after hitting the - trap"; - } - } - - grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { - description "DPA VOQ INGRESS PACKET STATISTICS"; - leaf received-bytes { - type uint64; - units "byte"; - description "Bytes Received on the port"; - } - leaf received-packets { - type uint64; - description "Packets Received on the port"; - } - leaf dropped-bytes { - type uint64; - units "byte"; - description "Bytes Dropped on the port"; - } - leaf dropped-packets { - type uint64; - description "Packets Dropeed on the port"; - } - } - - grouping DPA-VOQ-INTF-PORT { - description "DPA VOQ INTF PORT"; - leaf in-use { - type boolean; - description "Flag to indicate if port is in use"; - } - leaf rack-num { - type uint8; - description "Rack of port"; - } - leaf slot-num { - type uint8; - description "Slot of port"; - } - leaf npu-num { - type uint8; - description "NPU of port"; - } - leaf npu-core { - type uint8; - description "NPU core of port"; - } - leaf port-num { - type uint8; - description "Port Number of port"; - } - leaf if-handle { - type uint32; - description "IfHandle of port"; - } - leaf sys-port { - type uint32; - description "System port of port"; - } - leaf pp-port { - type uint32; - description "PP Port number of port"; - } - leaf port-speed { - type uint32; - description "Port speed of port"; - } - leaf voq-base { - type uint32; - description "Voq Base number of port"; - } - leaf connector-id { - type uint32; - description "Connector id of port"; - } - leaf is-local-port { - type boolean; - description "Flag to indicate if port is local to the node"; - } - - list voq-stat { - max-elements "8"; - description - "Keeps a record of the received and dropped - packets and bytes on the port"; - uses DPA-VOQ-INGRESS-PACKET-STATISTICS; - } - } - - grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { - description "Detailed ASIC statistics field information"; - leaf field-name { - type string { - length "0..80"; - } - description "Field name"; - } - leaf field-value { - type uint64; - description "Field value"; - } - leaf is-overflow { - type boolean; - description "Flag to indicate overflow"; - } - } - - grouping FIA-EDM-DEVICE-STATS-BLK-INFO { - description "Detailed ASIC statistics block information"; - leaf block-name { - type string { - length "0..10"; - } - description "Block name"; - } - leaf num-fields { - type uint8; - description "Number of fields"; - } - - list field-info { - max-elements "200"; - description "Field information"; - uses FIA-EDM-DEVICE-STATS-FIELD-INFO; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { - description "Detailed ASIC statistics information"; - leaf num-blocks { - type uint8; - description "Number of blocks"; - } - - list block-info { - max-elements "22"; - description "Block information"; - uses FIA-EDM-DEVICE-STATS-BLK-INFO; - } - } - - grouping FIA-EDM-STATS-INFO { - description "Detailed ASIC statistics"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } - - grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { - description "ASIC statistics"; - leaf nbi-rx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from NIF to IRE"; - } - leaf nbi-rx-total-pkt-cnt { - type uint64; - description "Total packets sent from NIF to IRE"; - } - leaf ire-cpu-pkt-cnt { - type uint64; - description "CPU ingress received packet counter"; - } - leaf ire-nif-pkt-cnt { - type uint64; - description "NIF received packet counter"; - } - leaf ire-oamp-pkt-cnt { - type uint64; - description "OAMP ingress received packet counter"; - } - leaf ire-olp-pkt-cnt { - type uint64; - description "OLP ingress received packet counter"; - } - leaf ire-rcy-pkt-cnt { - type uint64; - description "Recycling ingress received packet counter"; - } - leaf ire-fdt-if-cnt { - type uint64; - description "Performance counter of the FDT interface"; - } - leaf idr-mmu-if-cnt { - type uint64; - description "Performance counter of the MMU interface"; - } - leaf idr-ocb-if-cnt { - type uint64; - description "Performance counter of the OCB interface"; - } - leaf iqm-enqueue-pkt-cnt { - type uint64; - description "Counts enqueued packets"; - } - leaf iqm-dequeue-pkt-cnt { - type uint64; - description "Counts dequeued packets"; - } - leaf iqm-deleted-pkt-cnt { - type uint64; - description - "Counts matched packets discarded in the DEQ - process"; - } - leaf iqm-enq-discarded-pkt-cnt { - type uint64; - description "Counts all packets discarded at the ENQ pipe"; - } - leaf ipt-egq-pkt-cnt { - type uint64; - description "EGQ packet counter"; - } - leaf ipt-enq-pkt-cnt { - type uint64; - description "ENQ packet counter"; - } - leaf ipt-fdt-pkt-cnt { - type uint64; - description "FDT packet counter"; - } - leaf ipt-cfg-event-cnt { - type uint64; - description "Configurable event counter"; - } - leaf ipt-cfg-byte-cnt { - type uint64; - units "byte"; - description "Configurable bytes counter"; - } - leaf fdt-ipt-desc-cell-cnt { - type uint64; - description "Descriptor cell counter"; - } - leaf fdt-ire-desc-cell-cnt { - type uint64; - description "IRE internal descriptor cell counter"; - } - leaf fdt-transmitted-data-cells-cnt { - type uint64; - description "Counts all transmitted data cells"; - } - leaf fdr-p1-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 1"; - } - leaf fdr-p2-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 2"; - } - leaf fdr-p3-cell-in-cnt { - type uint64; - description "FDR total incoming cell counter at pipe 3"; - } - leaf fdr-cell-in-cnt-total { - type uint64; - description "FDR total incoming cell counter"; - } - leaf fda-cells-in-cnt-p1 { - type uint64; - description "FDA input cell counter P1"; - } - leaf fda-cells-in-cnt-p2 { - type uint64; - description "FDA input cell counter P2"; - } - leaf fda-cells-in-cnt-p3 { - type uint64; - description "FDA input cell counter P3"; - } - leaf fda-cells-in-tdm-cnt { - type uint64; - description "FDA input cell counter TDM"; - } - leaf fda-cells-in-meshmc-cnt { - type uint64; - description "FDA input cell counter MESHMC"; - } - leaf fda-cells-in-ipt-cnt { - type uint64; - description "FDA input cell counter IPT"; - } - leaf fda-cells-out-cnt-p1 { - type uint64; - description "FDA output cell counter P1"; - } - leaf fda-cells-out-cnt-p2 { - type uint64; - description "FDA output cell counter P2"; - } - leaf fda-cells-out-cnt-p3 { - type uint64; - description "FDA output cell counter P3"; - } - leaf fda-cells-out-tdm-cnt { - type uint64; - description "FDA output cell counter TDM"; - } - leaf fda-cells-out-meshmc-cnt { - type uint64; - description "FDA output cell counter MESHMC"; - } - leaf fda-cells-out-ipt-cnt { - type uint64; - description "FDA output cell counter IPT"; - } - leaf fda-egq-drop-cnt { - type uint64; - description "FDA EGQ drop counter"; - } - leaf fda-egq-meshmc-drop-cnt { - type uint64; - description "FDA EGQ MESHMC drop counter"; - } - leaf egq-fqp-pkt-cnt { - type uint64; - description "FQP2EPE packet counter"; - } - leaf egq-pqp-uc-pkt-cnt { - type uint64; - description "PQP2FQP unicast packet counter"; - } - leaf egq-pqp-discard-uc-pkt-cnt { - type uint64; - description "PQP discarded unicast packet counter"; - } - leaf egq-pqp-uc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP unicast bytes counter"; - } - leaf egq-pqp-mc-pkt-cnt { - type uint64; - description "PQP2FQP multicast packet counter"; - } - leaf egq-pqp-discard-mc-pkt-cnt { - type uint64; - description "PQP discarded multicast packet counter"; - } - leaf egq-pqp-mc-bytes-cnt { - type uint64; - units "byte"; - description "PQP2FQP multicast bytes counter"; - } - leaf egq-ehp-uc-pkt-cnt { - type uint64; - description "EHP2PQP unicast packet counter"; - } - leaf egq-ehp-mc-high-pkt-cnt { - type uint64; - description "EHP2PQP multicast high packet counter"; - } - leaf egq-ehp-mc-low-pkt-cnt { - type uint64; - description "EHP2PQP multicast low packet counter"; - } - leaf egq-deleted-pkt-cnt { - type uint64; - description "EHP2PQP discarded packet counter"; - } - leaf egq-ehp-mc-high-discard-cnt { - type uint64; - description - "Number of multicast high packets discarded - because multicast FIFO is full"; - } - leaf egq-ehp-mc-low-discard-cnt { - type uint64; - description - "Number of multicast low packets discarded - because multicast FIFO is full"; - } - leaf egq-erpp-lag-pruning-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - LAG multicast pruning"; - } - leaf egq-erpp-pmf-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded due to - ERPP PMF"; - } - leaf egq-erpp-vlan-mbr-discard-cnt { - type uint64; - description - "Number of packet descriptors discarded because - of egress VLAN membership"; - } - leaf epni-epe-byte-cnt { - type uint64; - units "byte"; - description "EPE2PNI bytes counter"; - } - leaf epni-epe-pkt-cnt { - type uint64; - description "EPE2PNI packet counter"; - } - leaf epni-epe-discard-cnt { - type uint64; - description "EPE discarded packet counter"; - } - leaf nbi-tx-total-byte-cnt { - type uint64; - units "byte"; - description "Total bytes sent from EGQ to NIF"; - } - leaf nbi-tx-total-pkt-cnt { - type uint64; - description "Total packets sent from EGQ to NIF"; - } - } - - grouping FIA-EDM-STATS-BRIEF-INFO { - description "ASIC statistics information"; - - container statistics { - description "Statistics"; - uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; - } - leaf valid { - type boolean; - description "Flag to indicate if data is valid"; - } - leaf rack-number { - type uint32; - description "Rack number"; - } - leaf slot-number { - type uint32; - description "Slot number"; - } - leaf asic-instance { - type uint32; - description "ASIC instance"; - } - leaf chip-version { - type uint16; - description "Chip version"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang deleted file mode 100644 index 11f1dce..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang +++ /dev/null @@ -1,131 +0,0 @@ -submodule Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2 { - - belongs-to Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { - prefix Cisco-IOS-XR-fretta-bcm-dpa-resources-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DPA-SYSDB-NPU-TABLE-RESOURCE { - description "DPA SYSDB NPU TABLE RESOURCE"; - leaf npu-id { - type uint32; - description "npu id"; - } - leaf num-objs { - type uint32; - description "num objs"; - } - leaf create-req { - type uint32; - description "create req"; - } - leaf create-ok { - type uint32; - description "create ok"; - } - leaf delete-req { - type uint32; - description "delete req"; - } - leaf delete-ok { - type uint32; - description "delete ok"; - } - leaf update-req { - type uint32; - description "update req"; - } - leaf update-ok { - type uint32; - description "update ok"; - } - leaf eod-req { - type uint32; - description "eod req"; - } - leaf eod-ok { - type uint32; - description "eod ok"; - } - leaf err-hw-fail { - type uint32; - description "err hw fail"; - } - leaf err-ref-resolve { - type uint32; - description "err ref resolve"; - } - leaf err-db-notfound { - type uint32; - description "err db notfound"; - } - leaf err-db-exists { - type uint32; - description "err db exists"; - } - leaf err-db-nomem { - type uint32; - description "err db nomem"; - } - } - - grouping DPA-SYSDB-TABLE-RESOURCE { - description "DPA SYSDB TABLE RESOURCE"; - leaf table-id { - type uint32; - description "table id"; - } - leaf name { - type string { - length "0..64"; - } - description "name"; - } - leaf is-global { - type boolean; - description "is global"; - } - leaf num-npus { - type uint32; - description "num npus"; - } - leaf table-specific-list { - type string; - description "table specific list"; - } - - list npu-tblr { - description "npu tblr"; - uses DPA-SYSDB-NPU-TABLE-RESOURCE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang deleted file mode 100644 index 238529f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang +++ /dev/null @@ -1,223 +0,0 @@ -module Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper"; - - - prefix "fretta-bcm-dpa-resources-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. - - This module contains definitions - for the following management objects: - dpa: Stats Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Max-trap-s { - type uint32 { - range "0..4294967295"; - } - description "Max trap s"; - } - typedef Max-lc-intf-hand-les { - type uint32 { - range "0..4294967295"; - } - description "Max lc intf hand les"; - } - typedef Max-re-source-s-table { - type uint32 { - range "0..124"; - } - description "Max re source s table"; - } - - container dpa { - config false; - description "Stats Data"; - - container resources { - description "DPA Resources Data"; - - container nodes { - description "DPA data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container table-datas { - description "DPA Resources table"; - - list table-data { - key "resource"; - description "Resources table"; - leaf resource { - type Max-re-source-s-table; - description "Resource type"; - } - uses DPA-SYSDB-TABLE-RESOURCE; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - container stats { - description "Voq or Trap Data"; - - container nodes { - description "DPA data for available nodes"; - - list node { - key "node-name"; - description "DPA operational data for a particular node"; - - container asic-statistics { - description "ASIC statistics table"; - - container asic-statistics-for-npu-ids { - description "ASIC statistics"; - - list asic-statistics-for-npu-id { - key "npu-id"; - description "ASIC statistics for a particular NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-BRIEF-INFO; - } - } - - container asic-statistics-detail-for-npu-ids { - description "Detailed ASIC statistics"; - - list asic-statistics-detail-for-npu-id { - key "npu-id"; - description - "Detailed ASIC statistics for a particular - NPU"; - leaf npu-id { - type int32; - description "NPU number"; - } - uses FIA-EDM-STATS-INFO; - } - } - } - - container npu-numbers { - description "Ingress Stats"; - - list npu-number { - key "npu-id"; - description "Stats for a particular npu"; - - container display { - description "show npu specific voq or trap stats"; - - container base-numbers { - description - "Voq stats grouped by voq base numbers"; - - list base-number { - key "base-number"; - description - "Voq Base Number for a particular voq"; - leaf base-number { - type Max-lc-intf-hand-les; - description "Interface handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - - container trap-ids { - description "Trap stats for a particular npu"; - - list trap-id { - key "trap-id"; - description "Filter by specific trap id"; - leaf trap-id { - type Max-trap-s; - description "Trap ID"; - } - uses DPA-TRAP-STATS; - } - } - - container interface-handles { - description - "Voq stats grouped by interface handle"; - - list interface-handle { - key "interface-handle"; - description - "Voq stats for a particular interface - handle"; - leaf interface-handle { - type Max-lc-intf-hand-les; - description "Interface Handle"; - } - uses DPA-VOQ-INTF-PORT; - } - } - } - leaf npu-id { - type int32; - description "Npu number"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang deleted file mode 100644 index 2950d2b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang +++ /dev/null @@ -1,53 +0,0 @@ -submodule Cisco-IOS-XR-fretta-grid-svr-oper-sub1 { - - belongs-to Cisco-IOS-XR-fretta-grid-svr-oper { - prefix Cisco-IOS-XR-fretta-grid-svr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR fretta-grid-svr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping GRID-SVR-SHOW-CLIENT-DATA { - description "Client information and resource ID database"; - leaf res-id { - type uint32; - description "Resource ID"; - } - } - - grouping GRID-SVR-SHOW-CLIENT { - description "Client information"; - - list client-data { - description "Client information"; - uses GRID-SVR-SHOW-CLIENT-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper.yang deleted file mode 100644 index ce8b024..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-fretta-grid-svr-oper.yang +++ /dev/null @@ -1,96 +0,0 @@ -module Cisco-IOS-XR-fretta-grid-svr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-fretta-grid-svr-oper"; - - - prefix "fretta-grid-svr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-fretta-grid-svr-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR fretta-grid-svr package operational data. - - This module contains definitions - for the following management objects: - grid: GRID operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container grid { - config false; - description "GRID operational data"; - - container nodes { - description "Table of nodes"; - - list node { - key "node-name"; - description "Operational data for a particular node"; - - container client-xr { - description "GRID Client Table"; - - list client { - key "client-name"; - description "GRID Client Database"; - leaf client-name { - type xr:Cisco-ios-xr-string; - description "Client name"; - } - uses GRID-SVR-SHOW-CLIENT; - } - } - - container clients { - description "GRID Client Consistency Check"; - - list client { - key "client-name"; - description "GRID Client Consistency Check"; - leaf client-name { - type xr:Cisco-ios-xr-string; - description "Client name"; - } - uses GRID-SVR-SHOW-CLIENT; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-group-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-group-cfg.yang deleted file mode 100755 index 1a5549a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-group-cfg.yang +++ /dev/null @@ -1,59 +0,0 @@ -module Cisco-IOS-XR-group-cfg { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg"; - prefix "group-cfg"; - - import Cisco-IOS-XR-types { - prefix "xr"; - } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 W Tasman Drive - San Jose, CA 95134 - - Tel: +1 1800 553-NETS - - E-mail: cs-yang@cisco.com"; - - - description - "This module contains IOS-XR group YANG data - for flexible cli groups - - Copyright (c) 2013-2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-04-29" { - description - "Initial revision."; - } - - container groups { - description "config groups"; - - list group { - key "group-name"; - description "Group config definition"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "0..32"; - } - description "Group name"; - } - } - } - - container apply-groups { - description "apply groups"; - leaf apply-group { - type xr:Cisco-ios-xr-string; - description "apply-group name"; - } - } - -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-cfg.yang deleted file mode 100644 index 8caee50..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-cfg.yang +++ /dev/null @@ -1,227 +0,0 @@ -module Cisco-IOS-XR-ha-eem-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg"; - - - prefix "ha-eem-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ha-eem package configuration. - - This module contains definitions - for the following management objects: - event-manager: Event manager configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Event-manager-persist-time { - type uint32 { - range "0..4294967295"; - } - description "Event manager persist time"; - } - typedef Event-manager-checksum { - type enumeration { - enum sha-1 { - value 1; - description "Use SHA-1 checksum"; - } - enum md5 { - value 2; - description "Use MD5 checksum"; - } - } - description "Event manager checksum"; - } - typedef Event-manager-policy-sec { - type enumeration { - enum rsa-2048 { - value 2; - description "Cisco Signature"; - } - enum trust { - value 3; - description "Trust Signature"; - } - } - description "Event manager policy sec"; - } - typedef Event-manager-policy-mode { - type enumeration { - enum cisco { - value 1; - description "Cisco Signature"; - } - enum trust { - value 2; - description "Trust Signature"; - } - } - description "Event manager policy mode"; - } - typedef Event-manager-policy { - type enumeration { - enum system { - value 0; - description "Event manager system policy"; - } - enum user { - value 1; - description "Event manager user policy"; - } - } - description "Event manager policy"; - } - - container event-manager { - description "Event manager configuration"; - - container policies { - description "Register an event manager policy"; - - list policy { - key "policy-name"; - description "Name of the policy file"; - leaf policy-name { - type xr:Cisco-ios-xr-string; - description "Name of the policy file"; - } - leaf username { - type string; - mandatory true; - description "A configured username"; - } - leaf persist-time { - type Event-manager-persist-time; - units "second"; - mandatory true; - description - "Time of validity (in seconds) for cached AAA - taskmap of username (default is 3600)"; - } - leaf policy-type { - type Event-manager-policy; - description "Event manager type of this policy"; - } - leaf checksum-type { - type Event-manager-checksum; - description - "Specify Embedded Event Manager policy checksum"; - } - leaf check-sum-value { - type string; - description "CheckSum Value"; - } - leaf policy-security-mode { - type Event-manager-policy-mode; - description - "Specify Embedded Event Manager policy security - mode"; - } - leaf policy-security-level { - type Event-manager-policy-sec; - description "Event Manager policy security Level"; - } - } - } - - container scheduler-script { - description "scheduler classs type"; - - container thread-classes { - description "scheduler thread classs "; - - list thread-class { - key "thread-class-name"; - description "scheduler classs type argument"; - leaf thread-class-name { - type xr:Cisco-ios-xr-string; - description "Name of the global variable"; - } - leaf num-threads { - type uint32 { - range "1..5"; - } - mandatory true; - description "number of scheduler threads"; - } - } - } - } - - container environments { - description - "Set an event manager global variable for event - manager policies"; - - list environment { - key "environment-name"; - description "Name of the global variable"; - leaf environment-name { - type xr:Cisco-ios-xr-string; - description "Name of the global variable"; - } - leaf environment-value { - type string; - mandatory true; - description "Value of the global variable"; - } - } - } - leaf refresh-time { - type uint32 { - range "10..4294967295"; - } - units "second"; - default "1800"; - description - "Set refresh time (in seconds) for policy - username's AAA taskmap"; - } - leaf schedule-suspend { - type boolean; - description "Enable suspend policy scheduling"; - } - leaf directory-user-policy { - type string; - description "Set event manager user policy directory"; - } - leaf directory-user-library { - type string; - description "Path of the user policy library directory"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang deleted file mode 100644 index e73ef6b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang +++ /dev/null @@ -1,129 +0,0 @@ -submodule Cisco-IOS-XR-ha-eem-policy-oper-sub1 { - - belongs-to Cisco-IOS-XR-ha-eem-policy-oper { - prefix Cisco-IOS-XR-ha-eem-policy-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ha-eem-policy package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-05" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping EEM-POLICY { - description "Event manager policy availabe"; - leaf type { - type string; - description "policy type"; - } - leaf time-created { - type string; - description "time created"; - } - leaf policy-name { - type string; - description "policy name"; - } - } - - grouping EEM-POLICY-REG { - description "Event manager policy Registered"; - leaf type { - type string; - description "policy type"; - } - leaf time-created { - type string; - description "time created"; - } - leaf policy-name { - type string; - description "policy name"; - } - leaf class { - type string; - description "class"; - } - leaf event-type { - type string; - description "event type"; - } - leaf trap { - type string; - description "trap"; - } - leaf persist-time { - type uint32; - description "PersistTime "; - } - leaf username { - type string; - description "username"; - } - leaf description { - type string; - description "description"; - } - } - - grouping EEM-REFRESH-TIME { - description "Event manager refresh-time"; - leaf refreshtime { - type uint32; - description "Event manager refresh-time "; - } - } - - grouping EEM-ENV { - description "Event manager environmental"; - leaf name-xr { - type string; - description "variable name"; - } - leaf value { - type string; - description "value"; - } - } - - grouping EEM-DIR-USR { - description "Event manager directory user"; - leaf policy { - type string; - description "policy"; - } - leaf library { - type string; - description "library"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper.yang deleted file mode 100644 index 5ffe956..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ha-eem-policy-oper.yang +++ /dev/null @@ -1,121 +0,0 @@ -module Cisco-IOS-XR-ha-eem-policy-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ha-eem-policy-oper"; - - - prefix "ha-eem-policy-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ha-eem-policy-oper-sub1 { - revision-date 2016-02-05; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ha-eem-policy package operational data. - - This module contains definitions - for the following management objects: - eem: EEM operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-05" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container eem { - config false; - description "EEM operational data"; - - container dir-user { - description "directory user"; - - container library { - description "directory user library"; - uses EEM-DIR-USR; - } - - container policy { - description "directory user policy"; - uses EEM-DIR-USR; - } - } - - container env-variables { - description "list of environmental variables"; - - list env-variable { - key "name"; - description "environmental variables name and value "; - leaf name { - type xr:Cisco-ios-xr-string; - description "Environmental variable name"; - } - uses EEM-ENV; - } - } - - container refresh-time { - description "Refresh time"; - uses EEM-REFRESH-TIME; - } - - container reg-policies { - description "list the registered policies"; - - list reg-policy { - key "name"; - description "policy name and create time "; - leaf name { - type xr:Cisco-ios-xr-string; - description "policy name"; - } - uses EEM-POLICY-REG; - } - } - - container avl-policies { - description "list the available policies"; - - list avl-policy { - key "name"; - description "policy name and create time "; - leaf name { - type xr:Cisco-ios-xr-string; - description "System policy name"; - } - uses EEM-POLICY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-hwmod-mpa-reload-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-hwmod-mpa-reload-act.yang deleted file mode 100755 index d920915..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-hwmod-mpa-reload-act.yang +++ /dev/null @@ -1,45 +0,0 @@ -module Cisco-IOS-XR-hwmod-mpa-reload-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act"; - - prefix "hwmod-mpa-reload-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR MPA reload action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-30" { - description - "IOS XR 6.2.1 revision."; - } - - rpc hw-module-subslot { - description "Execute subslot h/w module operations"; - input { - leaf subslot { - description "Fully qualified location specification"; - type string; - } - leaf reload { - description "Cycle subslot h/w reset"; - type empty; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-cfg.yang deleted file mode 100644 index c92e4f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-cfg.yang +++ /dev/null @@ -1,392 +0,0 @@ -module Cisco-IOS-XR-icpe-infra-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg"; - - - prefix "icpe-infra-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-rgmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package configuration. - - This module contains definitions - for the following management objects: - nv-satellite-global: nV Satellite Global configuration - nv-satellites: nv satellites - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-rgmgr-cfg, - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-sat-id { - type uint32 { - range "100..65534"; - } - description "Icpe sat id"; - } - typedef Icpe-slot { - type uint32 { - range "0..8"; - } - description "Icpe slot"; - } - typedef Icpe-min-links { - type uint32 { - range "1..64"; - } - description "Icpe min links"; - } - typedef Icpe-subslot { - type uint32 { - range "0..8"; - } - description "Icpe subslot"; - } - - grouping ENABLE { - description - "Common node of nv-satellite-fabric-network, - satellites"; - leaf enable { - type empty; - description "Enable"; - } - } - - grouping REMOTE-PORTS-TABLE { - description - "Common node of nv-satellite-fabric-link, - satellites"; - - container remote-ports { - description "Remote Ports table"; - - list remote-port { - key "port-type slot sub-slot"; - description "Remote Ports"; - leaf port-type { - type xr:Cisco-ios-xr-string; - description "Port type"; - } - leaf slot { - type Icpe-slot; - description "Slot"; - } - leaf sub-slot { - type Icpe-subslot; - description "Sub slot"; - } - leaf port-range { - type string; - mandatory true; - description "Port range"; - } - } - } - } - - grouping REDUNDANCY { - description - "Common node of nv-satellite-fabric-link, - nv-satellite-fabric-network"; - - container redundancy { - description "Redundancy submode"; - leaf iccp-group { - type uint32 { - range "0..4294967295"; - } - description - "Links the satellite fabric to the given ICCP - group"; - } - leaf minimum-preferred-links { - type Icpe-min-links; - description "Mininum number of active links preferred"; - } - } - } - - container nv-satellite-global { - description "nV Satellite Global configuration"; - - container chassis-mac { - description "Chassis MAC address"; - leaf mac1 { - type uint32 { - range "0..2147483647"; - } - units "byte"; - description "First two bytes of MAC address"; - } - leaf mac2 { - type uint32 { - range "0..2147483647"; - } - units "byte"; - description "Second two bytes of MAC address"; - } - leaf mac3 { - type uint32 { - range "0..2147483647"; - } - units "byte"; - description "Third two bytes of MAC address"; - } - } - } - - container nv-satellites { - description "nv satellites"; - - list nv-satellite { - key "satellite-id"; - description "Satellite Configuration"; - - container upgrade-on-connect { - description "Satellite auto-upgrade capability"; - leaf connect-type { - type enumeration { - enum on-connection { - value 1; - description "Satellite Upgrade on Connection"; - } - enum on-first-connection { - value 2; - description - "Satellite Upgrade on First Connection after - configuration or host boot"; - } - } - description "When to upgrade the satellite"; - } - leaf reference { - type string; - description "Reference name"; - } - } - - container candidate-fabric-ports { - description - "Enable interfaces on the satellite to be used - as fabric ports table"; - - list candidate-fabric-port { - key "port-type slot sub-slot"; - description - "Enable interfaces on the satellite to be used - as fabric ports"; - leaf port-type { - type xr:Cisco-ios-xr-string; - description "Port type"; - } - leaf slot { - type Icpe-slot; - description "Slot"; - } - leaf sub-slot { - type Icpe-subslot; - description "Sub slot"; - } - leaf port-range { - type string; - mandatory true; - description "Port range"; - } - } - } - - container connection-info { - description "Satellite User"; - leaf username { - type string; - description "Satellite Username"; - } - leaf password { - type xr:Md5-password; - description "Encrypted password for the user"; - } - } - - container redundancy { - description "Redundancy submode"; - leaf host-priority { - type uint32 { - range "0..255"; - } - description - "Priority for this host for the given satellite"; - } - } - leaf vrf { - type string; - description "VRF for Satellite IP Address"; - } - leaf timeout-warning { - type uint32 { - range "0..4294967295"; - } - description "Discovery timeout warning for the satellite"; - } - leaf device-name { - type string; - description "Satellite Name"; - } - leaf description { - type string; - description "Satellite Description"; - } - leaf type { - type string; - description "Satellite Type"; - } - leaf enable { - type empty; - description "Enable"; - } - leaf disc-timeout { - type uint32 { - range "0..4294967295"; - } - description "Discovery timeout for the satellite"; - } - leaf delayed-switchback { - type uint32 { - range "0..4294967295"; - } - units "second"; - description - "Timer (in seconds) for delaying switchback in a - dual home setup"; - } - leaf serial-number { - type string; - description "Satellite Serial Number"; - } - leaf secret { - type xr:Md5-password; - description "Encrypted password for the Satellite"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "Satellite IP Address"; - } - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container nv-satellite-access { - description "nV Satellite Access Link Configuration"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container nv-satellite-fabric-link { - description "nV Satellite Fabric Link Configuration"; - leaf satellite { - type Icpe-sat-id; - description "Hub & Spoke connection to a single Satellite"; - } - leaf minimum-required-links { - type Icpe-min-links; - description "Mininum number of active links required"; - } - uses REDUNDANCY; - uses REMOTE-PORTS-TABLE; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container nv-satellite-fabric-network { - description - "Complex Network connection to one or more - Satellites"; - - container satellites { - description "Connected Satellite table"; - - list satellite { - key "satellite-id"; - description "Connected Satellite"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses REMOTE-PORTS-TABLE; - uses ENABLE; - } - } - uses REDUNDANCY; - uses ENABLE; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a2:redundancy-group-manager/a2:iccp/a2:iccp-groups"+ - "/a2:iccp-group" { - - container nv-satellite { - description "nV Satellite configuration"; - leaf system-mac { - type yang:mac-address; - description "Optional identifier for this system"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-rgmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub1.yang deleted file mode 100644 index 1a3aa5c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub1.yang +++ /dev/null @@ -1,124 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub1 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-INSTALL-OP-STATUS-DETAIL { - description "Detailed breakdown of install status"; - leaf operation-id-xr { - type uint32; - description "Operation ID"; - } - leaf satellite-range { - type Xr-yang-string; - description "Satellite range"; - } - leaf-list sats-not-initiated { - type uint16; - description "Sats not initiated"; - } - leaf-list sats-transferring { - type uint16; - description "Sats transferring"; - } - leaf-list sats-activating { - type uint16; - description "Sats activating"; - } - leaf-list sats-updating { - type uint16; - description "Sats updating"; - } - leaf-list sats-deactivating { - type uint16; - description "Sats deactivating"; - } - leaf-list sats-removing { - type uint16; - description "Sats removing"; - } - leaf-list sats-transfer-failed { - type uint16; - description "Sats transfer failed"; - } - leaf-list sats-activate-failed { - type uint16; - description "Sats activate failed"; - } - leaf-list sats-update-failed { - type uint16; - description "Sats update failed"; - } - leaf-list sats-deactivate-failed { - type uint16; - description "Sats deactivate failed"; - } - leaf-list sats-remove-failed { - type uint16; - description "Sats remove failed"; - } - leaf-list sats-transfer-aborted { - type uint16; - description "Sats transfer aborted"; - } - leaf-list sats-activate-aborted { - type uint16; - description "Sats activate aborted"; - } - leaf-list sats-update-aborted { - type uint16; - description "Sats update aborted"; - } - leaf-list sats-deactivate-aborted { - type uint16; - description "Sats deactivate aborted"; - } - leaf-list sats-remove-aborted { - type uint16; - description "Sats remove aborted"; - } - leaf-list sats-no-operation { - type uint16; - description "Sats no operation"; - } - leaf-list sats-completed { - type uint16; - description "Sats completed"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub10.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub10.yang deleted file mode 100644 index 6bb3bb8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub10.yang +++ /dev/null @@ -1,243 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub10 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-install-sat-state { - type enumeration { - enum icpe-install-sat-state-unknown { - description "Unknown"; - } - enum icpe-install-sat-state-not-initiat-ed { - description "Not initiated"; - } - enum icpe-install-sat-state-transferring { - description "Transferring"; - } - enum icpe-install-sat-state-activating { - description "Activating"; - } - enum icpe-install-sat-state-updating { - description "Updating"; - } - enum icpe-install-sat-state-deactivating { - description "Deactivating"; - } - enum icpe-install-sat-state-removing { - description "Removing"; - } - enum icpe-install-sat-state-success { - description "Success"; - } - enum icpe-install-sat-state-failure { - description "Failure"; - } - enum icpe-install-sat-state-multiple-ops { - description "Multiple ops"; - } - enum icpe-install-sat-state-aborted { - description "Aborted"; - } - enum icpe-install-sat-state-protocol-version { - description "Protocol version"; - } - enum icpe-install-sat-state-pkg-not-present { - description "Pkg not present"; - } - enum icpe-install-sat-state-no-image { - description "No image"; - } - enum icpe-install-sat-state-no-such-file { - description "No such file"; - } - enum icpe-install-sat-state-sat-uncfgd { - description "Sat uncfgd"; - } - enum icpe-install-sat-state-processing { - description "Processing"; - } - } - description "Icpe install sat state"; - } - - grouping ICPE-INSTALL-SHOW-DETAIL-SATELLITE-TYPE { - description "ICPE INSTALL SHOW DETAIL SATELLITE TYPE"; - leaf satellite-id { - type uint16; - description "Satellite ID"; - } - leaf state { - type Icpe-install-sat-state; - description "State"; - } - leaf percentage { - type uint16; - units "percentage"; - description "Percentage"; - } - leaf retries { - type uint16; - description "Retries"; - } - leaf start-time { - type uint32; - description "Start time"; - } - leaf end-time { - type uint32; - description "End time"; - } - leaf info { - type Xr-yang-string; - description "Info"; - } - } - - grouping ICPE-INSTALL-SHOW-DETAIL-TYPE { - description "Detailed breakdown of install status"; - leaf operation-id-xr { - type uint32; - description "Operation ID"; - } - leaf satellite-range { - type Xr-yang-string; - description "Satellite range"; - } - leaf operation-type { - type uint16; - description "Operation type"; - } - leaf progress-percentage { - type uint16; - units "percentage"; - description "Progress percentage"; - } - leaf start-time { - type uint32; - description "Start time"; - } - leaf end-time { - type uint32; - description "End time"; - } - leaf ref-state { - type Icpe-install-sat-state; - description "Ref state"; - } - leaf-list sats-not-initiated { - type uint16; - description "Sats not initiated"; - } - leaf-list sats-transferring { - type uint16; - description "Sats transferring"; - } - leaf-list sats-activating { - type uint16; - description "Sats activating"; - } - leaf-list sats-updating { - type uint16; - description "Sats updating"; - } - leaf-list sats-deactivating { - type uint16; - description "Sats deactivating"; - } - leaf-list sats-removing { - type uint16; - description "Sats removing"; - } - leaf-list sats-transfer-failed { - type uint16; - description "Sats transfer failed"; - } - leaf-list sats-activate-failed { - type uint16; - description "Sats activate failed"; - } - leaf-list sats-update-failed { - type uint16; - description "Sats update failed"; - } - leaf-list sats-deactivate-failed { - type uint16; - description "Sats deactivate failed"; - } - leaf-list sats-remove-failed { - type uint16; - description "Sats remove failed"; - } - leaf-list sats-transfer-aborted { - type uint16; - description "Sats transfer aborted"; - } - leaf-list sats-activate-aborted { - type uint16; - description "Sats activate aborted"; - } - leaf-list sats-update-aborted { - type uint16; - description "Sats update aborted"; - } - leaf-list sats-deactivate-aborted { - type uint16; - description "Sats deactivate aborted"; - } - leaf-list sats-remove-aborted { - type uint16; - description "Sats remove aborted"; - } - leaf-list sats-no-operation { - type uint16; - description "Sats no operation"; - } - leaf-list sats-completed { - type uint16; - description "Sats completed"; - } - leaf-list name-string { - type Xr-yang-string; - description "Name strings"; - } - - list satellite { - description "Breakdown per satellite table"; - uses ICPE-INSTALL-SHOW-DETAIL-SATELLITE-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub11.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub11.yang deleted file mode 100644 index 4bf1703..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub11.yang +++ /dev/null @@ -1,292 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub11 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-opm-resync-fsm-state { - type enumeration { - enum icpe-opm-resync-fsm-state-not-open { - description "Not open"; - } - enum icpe-opm-resync-fsm-state-stable { - description "Stable"; - } - enum icpe-opm-resync-fsm-state-in-resync { - description "In resync"; - } - enum icpe-opm-resync-fsm-state-queued { - description "Queued"; - } - enum icpe-opm-resync-fsm-state-resync-req { - description "Resync req"; - } - } - description "Icpe opm resync fsm state"; - } - typedef Icpe-opm-chan-fsm-state { - type enumeration { - enum icpe-opm-chan-fsm-state-down { - description "Down"; - } - enum icpe-opm-chan-fsm-state-closed { - description "Closed"; - } - enum icpe-opm-chan-fsm-state-opening { - description "Opening"; - } - enum icpe-opm-chan-fsm-state-opened { - description "Opened"; - } - enum icpe-opm-chan-fsm-state-open { - description "Open"; - } - } - description "Icpe opm chan fsm state"; - } - typedef Icpe-opm-controller { - type enumeration { - enum icpe-opm-controller-unknown { - description "Unknown"; - } - enum icpe-opm-controller-primary { - description "Primary"; - } - enum icpe-opm-controller-secondary { - description "Secondary"; - } - } - description "Icpe opm controller"; - } - typedef Icpe-opm-sync-fsm-state { - type enumeration { - enum icpe-opm-sync-fsm-state-split-brain { - description "Split brain"; - } - enum icpe-opm-sync-fsm-state-waiting { - description "Waiting"; - } - enum icpe-opm-sync-fsm-state-whole-brain { - description "Whole brain"; - } - } - description "Icpe opm sync fsm state"; - } - typedef Icpe-opm-arbitration-fsm-state { - type enumeration { - enum icpe-opm-arbitration-fsm-state-unarbitrated { - description "Unarbitrated"; - } - enum icpe-opm-arbitration-fsm-state-waiting { - description "Waiting"; - } - enum icpe-opm-arbitration-fsm-state-arbitrating { - description "Arbitrating"; - } - enum icpe-opm-arbitration-fsm-state-arbitrated { - description "Arbitrated"; - } - } - description "Icpe opm arbitration fsm state"; - } - typedef Icpe-opm-auth-fsm-state { - type enumeration { - enum icpe-opm-auth-fsm-state-unauth { - description "Unauth"; - } - enum icpe-opm-auth-fsm-state-waiting { - description "Waiting"; - } - enum icpe-opm-auth-fsm-state-waiting-for-auth { - description "Waiting for auth"; - } - enum icpe-opm-auth-fsm-state-waiting-for-reply { - description "Waiting for reply"; - } - enum icpe-opm-auth-fsm-state-authed { - description "Authed"; - } - } - description "Icpe opm auth fsm state"; - } - typedef Icpe-opm-transport-state { - type enumeration { - enum icpe-opm-transport-state-disconnected { - description "Disconnected"; - } - enum icpe-opm-transport-state-iccp-unavailable { - description "ICCP unavailable"; - } - enum icpe-opm-transport-state-no-member-present { - description "No member present"; - } - enum icpe-opm-transport-state-member-down { - description "Member down"; - } - enum icpe-opm-transport-state-member-not-reachable { - description "Member not reachable"; - } - enum icpe-opm-transport-state-waiting-for-app-connect { - description "Waiting for app connect"; - } - enum "icpe-opm-transport-state-waiting-for-app-connect"+ - "-response" { - description "Waiting for app connect response"; - } - enum icpe-opm-transport-state-connected { - description "Connected"; - } - } - description "Icpe opm transport state"; - } - typedef Icpe-opm-sess-state { - type enumeration { - enum icpe-opm-sess-state-disconnected { - description "Disconnected"; - } - enum icpe-opm-sess-state-connecting { - description "Connecting"; - } - enum icpe-opm-sess-state-authenticating { - description "Authenticating"; - } - enum icpe-opm-sess-state-arbitrating { - description "Arbitrating"; - } - enum icpe-opm-sess-state-waiting-for-resyncs { - description "Waiting for resyncs"; - } - enum icpe-opm-sess-state-connected { - description "Connected"; - } - } - description "Icpe opm sess state"; - } - - grouping ICPE-REDUNDANCY-CHAN-TYPE { - description "ICPE REDUNDANCY CHAN TYPE"; - - container channel-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - - container resync-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - leaf channel-id { - type uint32; - description "Channel ID"; - } - leaf chan-state { - type Icpe-opm-chan-fsm-state; - description "Chan state"; - } - leaf resync-state { - type Icpe-opm-resync-fsm-state; - description "Resync state"; - } - leaf control-messages-sent { - type uint64; - description "Control messages sent"; - } - leaf normal-messages-sent { - type uint64; - description "Normal messages sent"; - } - leaf control-messages-received { - type uint64; - description "Control messages received"; - } - leaf normal-messages-received { - type uint64; - description "Normal messages received"; - } - } - - grouping ICPE-REDUNDANCY-SESSION { - description "nV Satellite Redundancy Protocol Information"; - - container protocol-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - leaf iccp-group-xr { - type uint32; - description "ICCP group"; - } - leaf protocol-state { - type Icpe-opm-sess-state; - description "Protocol state"; - } - leaf transport-state { - type Icpe-opm-transport-state; - description "Transport state"; - } - leaf authentication-state { - type Icpe-opm-auth-fsm-state; - description "Authentication state"; - } - leaf arbitration-state { - type Icpe-opm-arbitration-fsm-state; - description "Arbitration state"; - } - leaf synchronization-state { - type Icpe-opm-sync-fsm-state; - description "Synchronization state"; - } - leaf primacy { - type Icpe-opm-controller; - description "Primacy"; - } - leaf system-mac { - type yang:mac-address; - description "System MAC"; - } - leaf isolated { - type boolean; - description "Isolated"; - } - - list channel { - description "Channels on this session table"; - uses ICPE-REDUNDANCY-CHAN-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub12.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub12.yang deleted file mode 100644 index 7228ee0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub12.yang +++ /dev/null @@ -1,68 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub12 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-RELOAD-OP-STATUS-DETAIL { - description "Detailed breakdown of reload status"; - leaf operation-id-xr { - type uint32; - description "Operation ID"; - } - leaf satellite-range { - type Xr-yang-string; - description "Satellite range"; - } - leaf-list sats-not-initiated { - type uint16; - description "Sats not initiated"; - } - leaf-list sats-reloading { - type uint16; - description "Sats reloading"; - } - leaf-list sats-reloaded { - type uint16; - description "Sats reloaded"; - } - leaf-list sats-reload-failed { - type uint16; - description "Sats reload failed"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub2.yang deleted file mode 100644 index 27abaf7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub2.yang +++ /dev/null @@ -1,71 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub2 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-install-pkg-supp { - type enumeration { - enum icpe-install-pkg-supp-unknown { - description "Unknown"; - } - enum icpe-install-pkg-supp-not-supported { - description "Not supported"; - } - enum icpe-install-pkg-supp-supported { - description "Supported"; - } - } - description "Icpe install pkg supp"; - } - - grouping ICPE-OPER-SAT-PACKAGE-INFORMATION-TYPE { - description "Satellite Software Package Information"; - - container install-package-info { - description "Package Data on this Satellite"; - uses ICPE-OPER-PACKAGE-INFO-TYPE; - } - leaf satellite-id-xr { - type uint16; - description "Satellite ID"; - } - leaf package-support { - type Icpe-install-pkg-supp; - description "Package support"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub3.yang deleted file mode 100644 index 58285c1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub3.yang +++ /dev/null @@ -1,775 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub3 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-oper-multichassis-redundancy { - type enumeration { - enum icpe-oper-multi-chassis-redundancy-not-redundant { - description "Not redundant"; - } - enum icpe-oper-multi-chassis-redundancy-active { - description "Active"; - } - enum icpe-oper-multi-chassis-redundancy-standby { - description "Standby"; - } - } - description "Icpe oper multichassis redundancy"; - } - typedef Icpe-oper-discd-link-state { - type enumeration { - enum icpe-oper-discd-link-state-stopped { - description "Stopped"; - } - enum icpe-oper-discd-link-state-probing { - description "Probing"; - } - enum icpe-oper-discd-link-state-configuring { - description "Configuring"; - } - enum icpe-oper-discd-link-state-ready { - description "Ready"; - } - } - description "Icpe oper discd link state"; - } - typedef Icpe-oper-port { - type enumeration { - enum icpe-oper-port-unknown { - description "Unknown"; - } - enum icpe-oper-port-gigabit-ethernet { - description "Gigabit ethernet"; - } - enum icpe-oper-port-ten-gig-e { - description "Ten gig e"; - } - } - description "Icpe oper port"; - } - typedef Icpe-oper-install-state { - type enumeration { - enum icpe-oper-install-state-stable { - description "Stable"; - } - enum icpe-oper-install-state-transferring { - description "Transferring"; - } - enum icpe-oper-install-state-transferred { - description "Transferred"; - } - enum icpe-oper-install-state-installing { - description "Installing"; - } - enum icpe-oper-install-state-in-progress { - description "In progress"; - } - } - description "Icpe oper install state"; - } - typedef Icpe-gco-oper-control-reason { - type enumeration { - enum icpe-gco-oper-control-reason-unknown-error { - description "Unknown error"; - } - enum icpe-gco-oper-control-reason-wrong-chassis-type { - description "Wrong chassis type"; - } - enum icpe-gco-oper-control-reason-wrong-chassis-serial { - description "Wrong chassis serial"; - } - enum icpe-gco-oper-control-reason-needs-to-upgrade { - description "Needs to upgrade"; - } - enum icpe-gco-oper-control-reason-none { - description "None"; - } - } - description "Icpe gco oper control reason"; - } - typedef Icpe-oper-sdacp-sess-state { - type enumeration { - enum icpe-oper-sdacp-sess-state-not-created { - description "Not created"; - } - enum icpe-oper-sdacp-sess-state-created { - description "Created"; - } - enum icpe-oper-sdacp-sess-state-authentication-not-ok { - description "Authentication not OK"; - } - enum icpe-oper-sdacp-sess-state-authentication-ok { - description "Authentication OK"; - } - enum icpe-oper-sdacp-sess-state-version-not-ok { - description "Version not OK"; - } - enum icpe-oper-sdacp-sess-state-up { - description "Up"; - } - enum icpe-oper-sdacp-sess-state-issu { - description "ISSU"; - } - } - description "Icpe oper sdacp sess state"; - } - typedef Icpe-oper-conflict { - type enumeration { - enum icpe-oper-conflict-not-calculated { - description "Not calculated"; - } - enum icpe-oper-conflict-no-conflict { - description "No conflict"; - } - enum icpe-oper-conflict-satellite-not-configured { - description "Satellite not configured"; - } - enum icpe-oper-conflict-satellite-no-type { - description "Satellite no type"; - } - enum icpe-oper-conflict-satellite-id-invalid { - description "Satellite id invalid"; - } - enum icpe-oper-conflict-satellite-no-ipv4-addr { - description "Satellite no ipv4 addr"; - } - enum icpe-oper-conflict-satellite-conflicting-ipv4-addr { - description "Satellite conflicting ipv4 addr"; - } - enum icpe-oper-conflict-no-configured-links { - description "No configured links"; - } - enum icpe-oper-conflict-no-discovered-links { - description "No discovered links"; - } - enum icpe-oper-conflict-invalid-ports { - description "Invalid ports"; - } - enum icpe-oper-conflict-ports-overlap { - description "Ports overlap"; - } - enum icpe-oper-conflict-waiting-for-ipv4-addr { - description "Waiting for ipv4 addr"; - } - enum icpe-oper-conflict-waiting-for-vrf { - description "Waiting for VRF"; - } - enum icpe-oper-conflict-different-ipv4-addr { - description "Different ipv4 addr"; - } - enum icpe-oper-conflict-different-vrf { - description "Different VRF"; - } - enum icpe-oper-conflict-satellite-link-ipv4-overlap { - description "Satellite link ipv4 overlap"; - } - enum icpe-oper-conflict-waiting-for-ident { - description "Waiting for ident"; - } - enum icpe-oper-conflict-multiple-ids { - description "Multiple ids"; - } - enum icpe-oper-conflict-multiple-satellites { - description "Multiple satellites"; - } - enum icpe-oper-conflict-ident-rejected { - description "Ident rejected"; - } - enum icpe-oper-conflict-interface-down { - description "Interface down"; - } - enum icpe-oper-conflict-auto-ip-unavailable { - description "Auto IP unavailable"; - } - enum icpe-oper-conflict-satellite-auto-ip-link-manual-ip { - description "Satellite auto IP link manual IP"; - } - enum icpe-oper-conflict-link-auto-ip-satellite-manual-ip { - description "Link auto IP satellite manual IP"; - } - enum icpe-oper-conflict-serial-num-mismatch { - description "Serial num mismatch"; - } - enum icpe-oper-conflict-satellite-not-identified { - description "Satellite not identified"; - } - enum icpe-oper-conflict-satellite-unsupported-type { - description "Satellite unsupported type"; - } - enum icpe-oper-conflict-satellite-partition-unsupported { - description "Satellite partition unsupported"; - } - enum icpe-oper-conflict-satellite-no-serial-number { - description "Satellite no serial number"; - } - enum icpe-oper-conflict-satellite-conflicting-serial-number { - description "Satellite conflicting serial number"; - } - enum icpe-oper-conflict-satellite-link-waiting-for-arp { - description "Satellite link waiting for arp"; - } - enum icpe-oper-conflict-host-pe-isolated-split-brain { - description "Host PE isolated split brain"; - } - enum icpe-oper-conflict-fabric-iccp-group-inconsistent { - description "Fabric ICCP group inconsistent"; - } - enum icpe-oper-conflict-invalid-iccp-group { - description "Invalid ICCP group"; - } - enum icpe-oper-conflict-port-rejected { - description "Port rejected"; - } - enum icpe-oper-conflict-satellite-icl-not-supported { - description "Satellite ICL not supported"; - } - enum icpe-oper-conflict-multiple-serial-number { - description "Multiple serial number"; - } - enum icpe-oper-conflict-multiple-mac-address { - description "Multiple MAC address"; - } - } - description "Icpe oper conflict"; - } - typedef Icpe-optical-sync-state { - type enumeration { - enum icpe-optical-sync-state-unknown { - description "Unknown"; - } - enum icpe-optical-sync-state-syncing { - description "Syncing"; - } - enum icpe-optical-sync-state-synced { - description "Synced"; - } - enum icpe-optical-sync-state-not-connected { - description "Not connected"; - } - } - description "Icpe optical sync state"; - } - typedef Icpe-oper-ver-check-state { - type enumeration { - enum icpe-oper-ver-check-state-unknown { - description "Unknown"; - } - enum icpe-oper-ver-check-state-not-compatible { - description "Not compatible"; - } - enum icpe-oper-ver-check-state-current-version { - description "Current version"; - } - enum icpe-oper-ver-check-state-compatible-older { - description "Compatible older"; - } - enum icpe-oper-ver-check-state-compatible-newer { - description "Compatible newer"; - } - } - description "Icpe oper ver check state"; - } - typedef Icpe-oper-fabric-port { - type enumeration { - enum icpe-oper-fabric-port-unknown { - description "Unknown"; - } - enum icpe-oper-fabric-port-n-v-fabric-gig-e { - description "n v fabric- gig e"; - } - enum icpe-oper-fabric-port-n-v-fabric-ten-gig-e { - description "n v fabric- ten gig e"; - } - enum icpe-oper-fabric-port-n-v-fabric-hundred-gig-e { - description "n v fabric- hundred gig e"; - } - } - description "Icpe oper fabric port"; - } - typedef Xr-yang-string { - type string; - description "Xr yang string"; - } - - grouping ICPE-OPER-PACKAGE-ITEM-TYPE { - description "ICPE OPER PACKAGE ITEM TYPE"; - leaf name { - type Xr-yang-string; - description "Name"; - } - leaf version { - type Xr-yang-string; - description "Version"; - } - leaf is-base-image { - type boolean; - description "Is base image"; - } - } - - grouping ICPE-OPER-PACKAGE-LIST-TYPE { - description "ICPE OPER PACKAGE LIST TYPE"; - - list package { - description "A package on this Satellite table"; - uses ICPE-OPER-PACKAGE-ITEM-TYPE; - } - } - - grouping ICPE-OPER-PACKAGE-INFO-TYPE { - description "ICPE OPER PACKAGE INFO TYPE"; - - container active-packages { - description "Active Packages running on this Satellite"; - uses ICPE-OPER-PACKAGE-LIST-TYPE; - } - - container inactive-packages { - description "Inactive Packages on this Satellite"; - uses ICPE-OPER-PACKAGE-LIST-TYPE; - } - - container committed-packages { - description "Committed Packages running on this Satellite"; - uses ICPE-OPER-PACKAGE-LIST-TYPE; - } - } - - grouping ICPE-OPER-DISCD-LINK-TYPE { - description "ICPE OPER DISCD LINK TYPE"; - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf state { - type Icpe-oper-discd-link-state; - description "State"; - } - leaf conflict-reason { - type Icpe-oper-conflict; - description "Conflict reason"; - } - leaf conflict-context { - type Xr-yang-string; - description "Conflict context"; - } - } - - grouping ICPE-OPER-PORT-RANGE-TYPE { - description "ICPE OPER PORT RANGE TYPE"; - leaf slot { - type uint32; - description "Slot"; - } - leaf subslot { - type uint32; - description "Subslot"; - } - leaf low-port { - type uint32; - description "Low port"; - } - leaf high-port { - type uint32; - description "High port"; - } - leaf port-type { - type Icpe-oper-port; - description "Port type"; - } - leaf conflict-reason { - type Icpe-oper-conflict; - description "Conflict reason"; - } - leaf conflict-context { - type Xr-yang-string; - description "Conflict context"; - } - } - - grouping ICPE-OPER-CFGD-LINK-TYPE { - description "ICPE OPER CFGD LINK TYPE"; - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf ip-address { - type inet:ipv4-address; - description "IP address"; - } - leaf ip-address-auto { - type boolean; - description "IP address auto"; - } - leaf vrf-id-present { - type boolean; - description "VRF ID present"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf minimum-preferred-links { - type uint32; - description "Minimum preferred links"; - } - leaf number-active-links { - type uint32; - description "Number active links"; - } - leaf min-links-satisfied { - type boolean; - description "Min links satisfied"; - } - leaf minimum-required-links { - type uint32; - description "Minimum required links"; - } - leaf required-min-links-satisfied { - type boolean; - description "Required min links satisfied"; - } - leaf conflict-reason { - type Icpe-oper-conflict; - description "Conflict reason"; - } - leaf conflict-context { - type Xr-yang-string; - description "Conflict context"; - } - - list port-range { - description "Port ranges table"; - uses ICPE-OPER-PORT-RANGE-TYPE; - } - - list discovered-link { - description "Discovered Links table"; - uses ICPE-OPER-DISCD-LINK-TYPE; - } - } - - grouping ICPE-OPTICAL-APPLICATION-STATE-TYPE { - description "ICPE OPTICAL APPLICATION STATE TYPE"; - leaf name { - type Xr-yang-string; - description "Name"; - } - leaf sync-state { - type Icpe-optical-sync-state; - description "Sync state"; - } - } - - grouping ICPE-OPTICAL-STATUS-TYPE { - description "ICPE OPTICAL STATUS TYPE"; - leaf chassis-sync-state { - type Icpe-optical-sync-state; - description "Chassis sync state"; - } - - list application { - description "Application State table"; - uses ICPE-OPTICAL-APPLICATION-STATE-TYPE; - } - } - - grouping ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE { - description "ICPE OPER CAND FAB PORTS CURR TYPE"; - leaf port-type { - type Icpe-oper-fabric-port; - description "Port type"; - } - leaf slot { - type uint16; - description "Slot"; - } - leaf subslot { - type uint16; - description "Subslot"; - } - leaf port { - type uint16; - description "Port"; - } - leaf permanent { - type boolean; - description "Permanent"; - } - leaf requested { - type boolean; - description "Requested"; - } - } - - grouping ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE { - description "ICPE OPER CAND FAB PORTS CFGD TYPE"; - leaf port-type { - type Icpe-oper-fabric-port; - description "Port type"; - } - leaf slot { - type uint16; - description "Slot"; - } - leaf subslot { - type uint16; - description "Subslot"; - } - leaf port { - type uint16; - description "Port"; - } - leaf valid { - type boolean; - description "Valid"; - } - } - - grouping ICPE-OPER-CAND-FAB-PORTS-TYPE { - description "ICPE OPER CAND FAB PORTS TYPE"; - leaf channel-up { - type boolean; - description "Channel up"; - } - leaf out-of-sync { - type boolean; - description "Out of sync"; - } - leaf error-string { - type Xr-yang-string; - description "Error string"; - } - - list configured-port { - description "Configured Candidate Fabric Ports table"; - uses ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE; - } - - list current-port { - description - "Current Candidate Fabric Ports on this Satellite - table"; - uses ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE; - } - } - - grouping ICPE-OPER-SAT-STATUS { - description "Satellite status information"; - - container candidate-fabric-ports { - description "Candidate Fabric Ports on this Satellite"; - uses ICPE-OPER-CAND-FAB-PORTS-TYPE; - } - - container optical-status { - description "Optical Satellite Status"; - uses ICPE-OPTICAL-STATUS-TYPE; - } - - container redundancy-out-of-sync-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - leaf satellite-id-xr { - type uint16; - description "Satellite ID"; - } - leaf version-check-state { - type Icpe-oper-ver-check-state; - description "Version check state"; - } - leaf remote-version-present { - type boolean; - description "Remote version present"; - } - leaf type { - type Xr-yang-string; - description "Type"; - } - leaf ethernet-fabric-supported { - type boolean; - description "Ethernet fabric supported"; - } - leaf optical-supported { - type boolean; - description "Optical supported"; - } - leaf ip-address { - type inet:ipv4-address; - description "IP address"; - } - leaf ip-address-present { - type boolean; - description "IP address present"; - } - leaf ip-address-auto { - type boolean; - description "IP address auto"; - } - leaf ipv6-address { - type inet:ipv6-address; - description "IPV6 address"; - } - leaf ipv6-address-present { - type boolean; - description "IPV6 address present"; - } - leaf vrf-name { - type Xr-yang-string; - description "VRF name"; - } - leaf vrfid { - type uint32; - description "VRFID"; - } - leaf description { - type Xr-yang-string; - description "Description"; - } - leaf description-present { - type boolean; - description "Description present"; - } - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf mac-address-present { - type boolean; - description "MAC address present"; - } - leaf configured-serial-number { - type Xr-yang-string; - description "Configured serial number"; - } - leaf configured-serial-number-present { - type boolean; - description "Configured serial number present"; - } - leaf received-serial-number { - type Xr-yang-string; - description "Received serial number"; - } - leaf received-serial-number-present { - type boolean; - description "Received serial number present"; - } - leaf password { - type Xr-yang-string; - description "Password"; - } - leaf password-error { - type Xr-yang-string; - description "Password error"; - } - leaf received-host-name { - type Xr-yang-string; - description "Received hostname"; - } - leaf cfgd-timeout { - type uint32; - description "Cfgd timeout"; - } - leaf timeout-warning { - type uint32; - description "Timeout warning"; - } - leaf conflict-reason { - type Icpe-oper-conflict; - description "Conflict reason"; - } - leaf conflict-context { - type Xr-yang-string; - description "Conflict context"; - } - leaf redundancy-iccp-group { - type uint32; - description "Redundancy ICCP group"; - } - leaf recovery-delay-time-left { - type uint16; - description "Recovery delay time left"; - } - leaf host-treating-as-active { - type boolean; - description "Host treating as active"; - } - leaf satellite-treating-as-active { - type boolean; - description "Satellite treating as active"; - } - leaf sdacp-session-state { - type Icpe-oper-sdacp-sess-state; - description "SDACP session state"; - } - leaf sdacp-session-failure-reason { - type Icpe-gco-oper-control-reason; - description "SDACP session failure reason"; - } - leaf install-state { - type Icpe-oper-install-state; - description "Install state"; - } - leaf-list remote-version { - type Xr-yang-string; - description "Remote version"; - } - - list configured-link { - description "Configured Links on this Satellite table"; - uses ICPE-OPER-CFGD-LINK-TYPE; - } - } - - grouping ICPE-TIMESTAMP-TYPE { - description "ICPE TIMESTAMP TYPE"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub4.yang deleted file mode 100644 index 8354dfe..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub4.yang +++ /dev/null @@ -1,64 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub4 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-RELOAD-STATUS-DETAIL { - description "Detailed breakdown of reload status"; - leaf satellite-range-xr { - type Xr-yang-string; - description "Satellite range"; - } - leaf-list sats-not-initiated { - type uint16; - description "Sats not initiated"; - } - leaf-list sats-reloading { - type uint16; - description "Sats reloading"; - } - leaf-list sats-reloaded { - type uint16; - description "Sats reloaded"; - } - leaf-list sats-reload-failed { - type uint16; - description "Sats reload failed"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub5.yang deleted file mode 100644 index a5c3e8c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub5.yang +++ /dev/null @@ -1,53 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub5 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-INSTALL-PROGRESS { - description "Current percentage of install"; - leaf operation-id-xr { - type uint32; - description "Operation ID"; - } - leaf progress-percentage { - type uint16; - units "percentage"; - description "Progress percentage"; - } - leaf satellite-count { - type uint32; - description "Satellite count"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub6.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub6.yang deleted file mode 100644 index 7c4e4f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub6.yang +++ /dev/null @@ -1,52 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub6 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-OPER-INSTALL-REF-INFO-TYPE { - description "Install Reference Information"; - leaf reference-name-xr { - type Xr-yang-string; - description "Reference name"; - } - leaf-list reference-file { - type Xr-yang-string; - description "Reference files"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub7.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub7.yang deleted file mode 100644 index f16dfa4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub7.yang +++ /dev/null @@ -1,235 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub7 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-oper-topo-remote-source { - type enumeration { - enum icpe-oper-topo-remote-source-unknown { - description "Unknown"; - } - enum icpe-oper-topo-remote-source-remote-icl-id { - description "Remote ICL ID"; - } - enum icpe-oper-topo-remote-source-remote-satellite-mac { - description "Remote satellite MAC"; - } - enum icpe-oper-topo-remote-source-remote-host-mac { - description "Remote host MAC"; - } - enum icpe-oper-topo-remote-source-direct-satellite { - description "Direct satellite"; - } - enum icpe-oper-topo-remote-source-direct-host { - description "Direct host"; - } - } - description "Icpe oper topo remote source"; - } - - grouping ICPE-OPER-TOPO-REMOTE-SFL-TYPE { - description "ICPE OPER TOPO REMOTE SFL TYPE"; - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf source { - type Icpe-oper-topo-remote-source; - description "Source"; - } - leaf remote-is-satellite { - type boolean; - description "Remote is satellite"; - } - leaf remote-is-local-host { - type boolean; - description "Remote is local host"; - } - leaf icl-id { - type uint32; - description "ICL ID"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf interface-name { - type Xr-yang-string; - description "Interface name"; - } - } - - grouping ICPE-OPER-TOPO-LOCAL-SFL-TYPE { - description "ICPE OPER TOPO LOCAL SFL TYPE"; - leaf icl-id { - type uint32; - description "ICL ID"; - } - leaf interface-name { - type Xr-yang-string; - description "Interface name"; - } - leaf display-name { - type Xr-yang-string; - description "Display name"; - } - leaf redundant { - type boolean; - description "Redundant"; - } - leaf active { - type boolean; - description "Active"; - } - leaf obsolete { - type boolean; - description "Obsolete"; - } - - list remote-device { - description "Remote Device table"; - uses ICPE-OPER-TOPO-REMOTE-SFL-TYPE; - } - } - - grouping ICPE-OPER-TOPO-SATTUN-TYPE { - description "ICPE OPER TOPO SATTUN TYPE"; - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf configured { - type boolean; - description "Configured"; - } - leaf num-hops { - type uint16; - description "Num hops"; - } - leaf type { - type Xr-yang-string; - description "Type"; - } - leaf satellite-id { - type uint16; - description "Satellite ID"; - } - leaf received-serial-number { - type Xr-yang-string; - description "Received serial number"; - } - leaf received-serial-number-present { - type boolean; - description "Received serial number present"; - } - leaf vlan-id { - type uint16; - description "VLAN ID"; - } - leaf display-name { - type Xr-yang-string; - description "Display name"; - } - leaf conflict-reason { - type Icpe-oper-conflict; - description "Conflict reason"; - } - leaf conflict-context { - type Xr-yang-string; - description "Conflict context"; - } - - list fabric-link { - description "Local Satellite Fabric Link table"; - uses ICPE-OPER-TOPO-LOCAL-SFL-TYPE; - } - } - - grouping ICPE-OPER-TOPO-DSFL-TYPE { - description "ICPE OPER TOPO DSFL TYPE"; - leaf interface-name { - type Xr-yang-string; - description "Interface name"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf discovery-running { - type boolean; - description "Discovery running"; - } - } - - grouping ICPE-OPER-TOPO-CSFL-TYPE { - description "Satellite Topology Information"; - leaf interface-name-xr { - type Xr-yang-string; - description "Interface name"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf redundancy-iccp-group { - type uint32; - description "Redundancy ICCP group"; - } - leaf is-physical { - type boolean; - description "Is physical"; - } - leaf ring-whole { - type boolean; - description "Ring whole"; - } - - list discovered-link { - description "Discovered Links table"; - uses ICPE-OPER-TOPO-DSFL-TYPE; - } - - list satellite { - description "Satellite table"; - uses ICPE-OPER-TOPO-SATTUN-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub8.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub8.yang deleted file mode 100644 index ec82275..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub8.yang +++ /dev/null @@ -1,91 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub8 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-OPER-SAT-VERSION-TYPE { - description "ICPE OPER SAT VERSION TYPE"; - leaf version-check-state { - type Icpe-oper-ver-check-state; - description "Version check state"; - } - leaf remote-version-present { - type boolean; - description "Remote version present"; - } - leaf-list remote-version { - type Xr-yang-string; - description "Remote version"; - } - } - - grouping ICPE-OPER-SAT-REMOTE-VERSION-TYPE { - description "Satellite remote version information"; - - container active-version { - description "Satellite active version information"; - uses ICPE-OPER-SAT-VERSION-TYPE; - } - - container transferred-version { - description "Satellite transferred version information"; - uses ICPE-OPER-SAT-VERSION-TYPE; - } - - container committed-version { - description "Satellite committed version information"; - uses ICPE-OPER-SAT-VERSION-TYPE; - } - leaf satellite-id-xr { - type uint16; - description "Satellite ID"; - } - leaf version-check-state { - type Icpe-oper-ver-check-state; - description "Version check state"; - } - leaf remote-version-present { - type boolean; - description "Remote version present"; - } - leaf-list remote-version { - type Xr-yang-string; - description "Remote version"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub9.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub9.yang deleted file mode 100644 index 6eacb63..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper-sub9.yang +++ /dev/null @@ -1,72 +0,0 @@ -submodule Cisco-IOS-XR-icpe-infra-oper-sub9 { - - belongs-to Cisco-IOS-XR-icpe-infra-oper { - prefix Cisco-IOS-XR-icpe-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-GCO-PRIORITY-OPER-TYPE { - description "Satellite priority information"; - leaf satellite-id-xr { - type uint16; - description "Satellite ID"; - } - leaf rgid { - type uint32; - description "RG ID"; - } - leaf best-path-hops { - type uint32; - description "Best path hops"; - } - leaf configured-priority { - type uint8; - description "Configured priority"; - } - leaf host-priority { - type uint64; - description "Host priority"; - } - leaf partner-priority { - type uint64; - description "Partner priority"; - } - leaf multichassis-redundancy { - type Icpe-oper-multichassis-redundancy; - description "Multichassis redundancy"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper.yang deleted file mode 100644 index 5c8f971..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-infra-oper.yang +++ /dev/null @@ -1,321 +0,0 @@ -module Cisco-IOS-XR-icpe-infra-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-oper"; - - - prefix "icpe-infra-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-icpe-infra-oper-sub12 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub11 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub10 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub9 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub8 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub7 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub6 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub5 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub4 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-infra-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR icpe-infra package operational data. - - This module contains definitions - for the following management objects: - nv-satellite: Satellite operational information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-sat-id { - type uint32 { - range "100..65534"; - } - description "Icpe sat id"; - } - - container nv-satellite { - config false; - description "Satellite operational information"; - - container reload-op-statuses { - description "Detailed breakdown of reload status table"; - - list reload-op-status { - key "operation-id"; - description "Detailed breakdown of reload status"; - leaf operation-id { - type uint32 { - range "0..4294967295"; - } - description "Operation ID"; - } - uses ICPE-RELOAD-OP-STATUS-DETAIL; - } - } - - container sdacp-redundancies { - description - "nV Satellite Redundancy Protocol Information - table"; - - list sdacp-redundancy { - key "iccp-group"; - description "nV Satellite Redundancy Protocol Information"; - leaf iccp-group { - type uint32 { - range "0..4294967295"; - } - description "ICCP group"; - } - uses ICPE-REDUNDANCY-SESSION; - } - } - - container install-shows { - description "Detailed breakdown of install status table"; - - list install-show { - key "operation-id"; - description "Detailed breakdown of install status"; - leaf operation-id { - type uint32 { - range "0..4294967295"; - } - description "Operation ID"; - } - uses ICPE-INSTALL-SHOW-DETAIL-TYPE; - } - } - - container satellite-statuses { - description "Satellite status information table"; - - list satellite-status { - key "satellite-id"; - description "Satellite status information"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses ICPE-OPER-SAT-STATUS; - } - } - - container satellite-priorities { - description "Satellite priority information table"; - - list satellite-priority { - key "satellite-id"; - description "Satellite priority information"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses ICPE-GCO-PRIORITY-OPER-TYPE; - } - } - - container satellite-versions { - description "Satellite remote version information table"; - - list satellite-version { - key "satellite-id"; - description "Satellite remote version information"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses ICPE-OPER-SAT-REMOTE-VERSION-TYPE; - } - } - - container satellite-topologies { - description "Satellite Topology Information table"; - - list satellite-topology { - key "interface-name"; - description "Satellite Topology Information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ICPE-OPER-TOPO-CSFL-TYPE; - } - } - - container install-reference-info { - description "Satellite Install Reference Information"; - - container references { - description "Install Reference Information table"; - - list reference { - key "reference-name"; - description "Install Reference Information"; - leaf reference-name { - type xr:Cisco-ios-xr-string; - description "Reference name"; - } - uses ICPE-OPER-INSTALL-REF-INFO-TYPE; - } - } - } - - container install-op-progresses { - description "Current percentage of install table"; - - list install-op-progress { - key "operation-id"; - description "Current percentage of install"; - leaf operation-id { - type uint32 { - range "0..4294967295"; - } - description "Operation ID"; - } - uses ICPE-INSTALL-PROGRESS; - } - } - - container reload-statuses { - description "Detailed breakdown of reload status table"; - - list reload-status { - key "satellite-range"; - description "Detailed breakdown of reload status"; - leaf satellite-range { - type xr:Cisco-ios-xr-string; - description "Satellite range"; - } - uses ICPE-RELOAD-STATUS-DETAIL; - } - } - - container install { - description "Satellite Install Information"; - - container satellite-software-versions { - description "Satellite Software Package Information table"; - - list satellite-software-version { - key "satellite-id"; - description "Satellite Software Package Information"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses ICPE-OPER-SAT-PACKAGE-INFORMATION-TYPE; - } - } - } - - container install-op-statuses { - description "Detailed breakdown of install status table"; - - list install-op-status { - key "operation-id"; - description "Detailed breakdown of install status"; - leaf operation-id { - type uint32 { - range "0..4294967295"; - } - description "Operation ID"; - } - uses ICPE-INSTALL-OP-STATUS-DETAIL; - } - } - - container satellite-properties { - description "ICPE GCO operational information"; - - container id-ranges { - description "Satellite ID range table"; - - list id-range { - key "sat-id-range"; - description "Satellite ID range"; - leaf sat-id-range { - type xr:Cisco-ios-xr-string; - description "Sat ID range"; - } - leaf min { - type uint32 { - range "0..2147483647"; - } - description "Min"; - } - leaf max { - type uint32 { - range "0..2147483647"; - } - description "Max"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang deleted file mode 100644 index 2d7ca1f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang +++ /dev/null @@ -1,240 +0,0 @@ -submodule Cisco-IOS-XR-icpe-sdacp-oper-sub1 { - - belongs-to Cisco-IOS-XR-icpe-sdacp-oper { - prefix Cisco-IOS-XR-icpe-sdacp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-sdacp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-cpm-chan-fsm-state { - type enumeration { - enum icpe-cpm-chan-fsm-state-down { - description "Down"; - } - enum icpe-cpm-chan-fsm-state-not-supported { - description "Not supported"; - } - enum icpe-cpm-chan-fsm-state-closed { - description "Closed"; - } - enum icpe-cpm-chan-fsm-state-opening { - description "Opening"; - } - enum icpe-cpm-chan-fsm-state-opened { - description "Opened"; - } - enum icpe-cpm-chan-fsm-state-open { - description "Open"; - } - } - description "Icpe cpm chan fsm state"; - } - typedef Icpe-cpm-channel-resync-state { - type enumeration { - enum icpe-cpm-channel-resync-state-unknown { - description "Unknown"; - } - enum icpe-cpm-channel-resync-state-not-in-resync { - description "Not in resync"; - } - enum icpe-cpm-channel-resync-state-in-client-resync { - description "In client resync"; - } - enum icpe-cpm-channel-resync-state-in-satellite-resync { - description "In satellite resync"; - } - } - description "Icpe cpm channel resync state"; - } - typedef Icpe-cpm-control-fsm-state { - type enumeration { - enum icpe-cpm-control-fsm-state-disconnected { - description "Disconnected"; - } - enum icpe-cpm-control-fsm-state-connecting { - description "Connecting"; - } - enum icpe-cpm-control-fsm-state-authenticating { - description "Authenticating"; - } - enum icpe-cpm-control-fsm-state-check-ing-ver { - description "Checking Version"; - } - enum icpe-cpm-control-fsm-state-connected { - description "Connected"; - } - enum icpe-cpm-control-fsm-state-issu { - description "ISSU In Progress"; - } - } - description "Icpe cpm control fsm state"; - } - - grouping ICPE-CPM-OPER-CHAN-TYPE { - description "ICPE CPM OPER CHAN TYPE"; - - container capabilities { - description "Capabilities"; - uses ICPE-YANG-CAPABILITIES-TYPE; - } - - container resync-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - - container channel-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - leaf channel-id { - type uint16; - description "Channel ID"; - } - leaf resync-state { - type Icpe-cpm-channel-resync-state; - description "Resync state"; - } - leaf channel-state { - type Icpe-cpm-chan-fsm-state; - description "Channel state"; - } - leaf control-messages-sent { - type uint64; - description "Control messages sent"; - } - leaf normal-messages-sent { - type uint64; - description "Normal messages sent"; - } - leaf control-messages-received { - type uint64; - description "Control messages received"; - } - leaf normal-messages-received { - type uint64; - description "Normal messages received"; - } - leaf control-messages-dropped { - type uint64; - description "Control messages dropped"; - } - leaf normal-messages-dropped { - type uint64; - description "Normal messages dropped"; - } - leaf secs-since-last-cleared { - type uint64; - units "second"; - description "Secs since last cleared"; - } - leaf version { - type uint16; - description "Version"; - } - } - - grouping ICPE-CPM-TIMESTAMP-TYPE { - description "ICPE CPM TIMESTAMP TYPE"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping ICPE-TIMESTAMP-TYPE { - description "ICPE TIMESTAMP TYPE"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping ICPE-CPM-OPER-SAT { - description "SDAC Protocol Discovery information"; - - container protocol-state-timestamp { - description "Timestamp"; - uses ICPE-TIMESTAMP-TYPE; - } - - container transport-error-timestamp { - description "Timestamp"; - uses ICPE-CPM-TIMESTAMP-TYPE; - } - leaf satellite-id-xr { - type uint16; - description "Satellite ID"; - } - leaf satellite-ip-address { - type inet:ipv4-address; - description "Satellite IP address"; - } - leaf ip-address-auto { - type boolean; - description "IP address auto"; - } - leaf vrf-name { - type Xr-yang-string; - description "VRF name"; - } - leaf control-protocol-state { - type Icpe-cpm-control-fsm-state; - description "Control protocol state"; - } - leaf transport-error { - type uint32; - description "Transport error"; - } - - list channel { - description "Channels on satellite table"; - uses ICPE-CPM-OPER-CHAN-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang deleted file mode 100644 index 8868b70..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang +++ /dev/null @@ -1,359 +0,0 @@ -submodule Cisco-IOS-XR-icpe-sdacp-oper-sub2 { - - belongs-to Cisco-IOS-XR-icpe-sdacp-oper { - prefix Cisco-IOS-XR-icpe-sdacp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-sdacp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Dpm-proto-host-state { - type enumeration { - enum dpm-proto-host-state-idle { - description "Idle"; - } - enum dpm-proto-host-state-discovered { - description "Discovered"; - } - enum dpm-proto-host-state-rejecting { - description "Rejecting"; - } - } - description "Dpm proto host state"; - } - typedef Dpm-proto-state { - type enumeration { - enum dpm-proto-state-idle { - description "Idle"; - } - enum dpm-proto-state-probing { - description "Probing"; - } - enum dpm-proto-state-legacy { - description "Legacy"; - } - enum dpm-proto-state-configuring { - description "Configuring"; - } - enum dpm-proto-state-discovered { - description "Discovered"; - } - enum dpm-proto-state-rejecting { - description "Rejecting"; - } - enum dpm-proto-state-seen { - description "Seen"; - } - } - description "Dpm proto state"; - } - typedef Xr-yang-string { - type string; - description "Xr yang string"; - } - - grouping ICPE-YANG-CAPABILITIES-TLV-TYPE { - description "ICPE YANG CAPABILITIES TLV TYPE"; - leaf type { - type uint32; - description "Type"; - } - leaf debug { - type Xr-yang-string; - description "Debug"; - } - leaf-list value { - type uint8; - description "Value"; - } - } - - grouping ICPE-YANG-CAPABILITIES-TYPE { - description "ICPE YANG CAPABILITIES TYPE"; - - list tl-vs { - description "Capability TLVs table"; - uses ICPE-YANG-CAPABILITIES-TLV-TYPE; - } - } - - grouping DPM-OPER-HOST-TYPE { - description "DPM OPER HOST TYPE"; - leaf host-chassis-mac { - type yang:mac-address; - description "Host chassis MAC"; - } - leaf host-interface-mac { - type yang:mac-address; - description "Host interface MAC"; - } - leaf discovery-protocol-state { - type Dpm-proto-host-state; - description "Discovery protocol state"; - } - leaf route-length { - type uint32; - description "Route length"; - } - leaf current-timeout { - type uint32; - description "Current timeout"; - } - leaf host-ack-packets-received { - type uint64; - description "Host ack packets received"; - } - leaf host-ack-packets-sent { - type uint64; - description "Host ack packets sent"; - } - leaf secs-since-pkts-cleaned { - type uint64; - units "second"; - description "Secs since pkts cleaned"; - } - } - - grouping DPM-OPER-SAT-TYPE { - description "DPM OPER SAT TYPE"; - leaf satellite-id { - type uint16; - description "Satellite ID"; - } - leaf satellite-interface-id { - type uint32; - description "Satellite interface ID"; - } - leaf satellite-interface-mac { - type yang:mac-address; - description "Satellite interface MAC"; - } - leaf satellite-ip-address { - type inet:ipv4-address; - description "Satellite IP address"; - } - leaf host-ip-address { - type inet:ipv4-address; - description "Host IP address"; - } - leaf satellite-chassis-type { - type Xr-yang-string; - description "Satellite chassis type"; - } - leaf satellite-chassis-vendor { - type Xr-yang-string; - description "Satellite chassis vendor"; - } - leaf satellite-chassis-mac { - type yang:mac-address; - description "Satellite chassis MAC"; - } - leaf satellite-serial-id { - type Xr-yang-string; - description "Satellite serial id"; - } - leaf satellite-module-type { - type Xr-yang-string; - description "Satellite module type"; - } - leaf satellite-module-vendor { - type Xr-yang-string; - description "Satellite module vendor"; - } - leaf satellite-module-mac { - type yang:mac-address; - description "Satellite module MAC"; - } - leaf conflict-reason { - type uint32; - description "Conflict reason"; - } - leaf received-sys-mac { - type yang:mac-address; - description "Received sys MAC"; - } - leaf host-chassis-type { - type Xr-yang-string; - description "Host chassis type"; - } - leaf host-chassis-vendor { - type Xr-yang-string; - description "Host chassis vendor"; - } - leaf host-chassis-mac { - type yang:mac-address; - description "Host chassis MAC"; - } - leaf discovery-protocol-state { - type Dpm-proto-state; - description "Discovery protocol state"; - } - leaf last-imdr-state { - type uint32; - description "Last IMDR state"; - } - leaf current-timeout { - type uint32; - description "Current timeout"; - } - leaf is-queued-for-efd { - type boolean; - description "Is queued for EFD"; - } - leaf is-queued-for-oc { - type boolean; - description "Is queued for OC"; - } - leaf ifmgr-state { - type boolean; - description "Ifmgr state"; - } - leaf legacy { - type boolean; - description "Legacy"; - } - leaf deleting { - type boolean; - description "Deleting"; - } - leaf ident-packets-received { - type uint64; - description "Ident packets received"; - } - leaf ready-packets-received { - type uint64; - description "Ready packets received"; - } - leaf los-packets-received { - type uint64; - description "Los packets received"; - } - leaf invalid-packets-received { - type uint64; - description "Invalid packets received"; - } - leaf configuration-packets-sent { - type uint64; - description "Configuration packets sent"; - } - leaf ack-packets-sent { - type uint64; - description "Ack packets sent"; - } - leaf reject-packets-sent { - type uint64; - description "Reject packets sent"; - } - leaf secs-since-pkts-cleaned { - type uint64; - units "second"; - description "Secs since pkts cleaned"; - } - } - - grouping DPM-OPER-IF { - description "ICPE DPM operational information"; - leaf discovery-interface-xr { - type Xr-yang-string; - description "Discovery interface"; - } - leaf discovery-interface-handle { - type xr:Interface-name; - description "Discovery interface handle"; - } - leaf discovery-interface-status { - type Dpm-proto-state; - description "Discovery interface status"; - } - leaf ident-packets-received { - type uint64; - description "Ident packets received"; - } - leaf ready-packets-received { - type uint64; - description "Ready packets received"; - } - leaf los-packets-received { - type uint64; - description "Los packets received"; - } - leaf invalid-packets-received { - type uint64; - description "Invalid packets received"; - } - leaf configuration-packets-sent { - type uint64; - description "Configuration packets sent"; - } - leaf ack-packets-sent { - type uint64; - description "Ack packets sent"; - } - leaf reject-packets-sent { - type uint64; - description "Reject packets sent"; - } - leaf probe-packets-sent { - type uint64; - description "Probe packets sent"; - } - leaf host-ack-packets-received { - type uint64; - description "Host ack packets received"; - } - leaf host-ack-packets-sent { - type uint64; - description "Host ack packets sent"; - } - leaf secs-since-pkts-cleaned { - type uint64; - units "second"; - description "Secs since pkts cleaned"; - } - - list satellite { - description - "ICPE DPM satellite operational information table"; - uses DPM-OPER-SAT-TYPE; - } - - list remote-host { - description - "ICPE DPM remote host operational information - table"; - uses DPM-OPER-HOST-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang deleted file mode 100644 index 204b4a2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang +++ /dev/null @@ -1,148 +0,0 @@ -submodule Cisco-IOS-XR-icpe-sdacp-oper-sub3 { - - belongs-to Cisco-IOS-XR-icpe-sdacp-oper { - prefix Cisco-IOS-XR-icpe-sdacp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR icpe-sdacp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ICPE-SDACP-DISC-SAT-LINK-TYPE { - description "ICPE SDACP DISC SAT LINK TYPE"; - leaf interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf satellite-status { - type Dpm-proto-state; - description "Satellite status"; - } - leaf conflict-reason { - type uint32; - description "Conflict reason"; - } - leaf satellite-chassis-vendor { - type Xr-yang-string; - description "Satellite chassis vendor"; - } - leaf satellite-interface-id { - type uint32; - description "Satellite interface ID"; - } - leaf satellite-interface-mac { - type yang:mac-address; - description "Satellite interface MAC"; - } - leaf satellite-chassis-mac { - type yang:mac-address; - description "Satellite chassis MAC"; - } - leaf satellite-serial-id { - type Xr-yang-string; - description "Satellite serial id"; - } - leaf satellite-module-vendor { - type Xr-yang-string; - description "Satellite module vendor"; - } - } - - grouping ICPE-SDACP-SAT-TYPE { - description "ICPE SDACP SAT TYPE"; - leaf satellite-id { - type uint16; - description "Satellite ID"; - } - leaf satellite-status { - type Dpm-proto-state; - description "Satellite status"; - } - leaf conflict-reason { - type uint32; - description "Conflict reason"; - } - leaf satellite-ip-address { - type inet:ipv4-address; - description "Satellite IP address"; - } - leaf host-ip-address { - type inet:ipv4-address; - description "Host IP address"; - } - - list interface { - description - "ICPE Discovered satellite state information - table"; - uses ICPE-SDACP-DISC-SAT-LINK-TYPE; - } - } - - grouping ICPE-SDACP-DISC-SFL-TYPE { - description "ICPE SDACP DISC SFL TYPE"; - leaf interface-name { - type Xr-yang-string; - description "Interface name"; - } - leaf interface-status { - type Dpm-proto-state; - description "Interface status"; - } - } - - grouping ICPE-SDACP-CFG-SFL { - description "ICPE Configured interface state information"; - leaf interface-name-xr { - type Xr-yang-string; - description "Interface name"; - } - - list interface { - description - "ICPE Discovery interface state information table"; - uses ICPE-SDACP-DISC-SFL-TYPE; - } - - list satellite { - description "ICPE Satellite state information table"; - uses ICPE-SDACP-SAT-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper.yang deleted file mode 100644 index 4422987..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-icpe-sdacp-oper.yang +++ /dev/null @@ -1,127 +0,0 @@ -module Cisco-IOS-XR-icpe-sdacp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-sdacp-oper"; - - - prefix "icpe-sdacp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-icpe-infra-oper { prefix "a1"; } - - include Cisco-IOS-XR-icpe-sdacp-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-icpe-sdacp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR icpe-sdacp package operational data. - - This YANG module augments the - Cisco-IOS-XR-icpe-infra-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Icpe-sat-id { - type uint32 { - range "100..65534"; - } - description "Icpe sat id"; - } - - augment "/a1:nv-satellite" { - - container sdacp-discovery2s { - description - "ICPE Configured interface state information - table"; - - list sdacp-discovery2 { - key "interface-name"; - description "ICPE Configured interface state information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses ICPE-SDACP-CFG-SFL; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-icpe-infra-oper'"; - } - - augment "/a1:nv-satellite" { - - container icpe-dpms { - description "ICPE DPM operational information table"; - - list icpe-dpm { - key "discovery-interface"; - description "ICPE DPM operational information"; - leaf discovery-interface { - type xr:Interface-name; - description "Discovery interface"; - } - uses DPM-OPER-IF; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-icpe-infra-oper'"; - } - - augment "/a1:nv-satellite" { - - container sdacp-controls { - description "SDAC Protocol Discovery information table"; - - list sdacp-control { - key "satellite-id"; - description "SDAC Protocol Discovery information"; - leaf satellite-id { - type Icpe-sat-id; - description "Satellite ID"; - } - uses ICPE-CPM-OPER-SAT; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-icpe-infra-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-cfg.yang deleted file mode 100644 index 96289c6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-cfg.yang +++ /dev/null @@ -1,190 +0,0 @@ -module Cisco-IOS-XR-iedge4710-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-cfg"; - - - prefix "iedge4710-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR iedge4710 package configuration. - - This module contains definitions - for the following management objects: - subscriber-manager: iEdge subscriber manager configuration - subscriber-featurette: subscriber featurette - iedge-license-manager: iedge license manager - sub-manager: sub manager - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container subscriber-manager { - description "iEdge subscriber manager configuration"; - - container accounting { - description "iEdge accounting feature"; - - container send-stop { - description "Accounting send stop feature"; - - container setup-failure { - description "Setup failure feature"; - leaf method-list-name { - type string; - description - "AAA List name either default or preconfigured"; - } - } - } - - container interim { - description "interim accounting related"; - - container variation { - description - "variation of first session or service interim - record from configured timeout"; - leaf maximum-percentage-variation { - type uint32 { - range "0..50"; - } - units "percentage"; - description - "maximum percentage variation (maximum - absolute variation is 15 minutes)"; - } - } - } - } - - container srg { - description "SRG specific config"; - leaf sync-account-session-id { - type empty; - description "sync account session id from master to slave"; - } - } - } - - container subscriber-featurette { - description "subscriber featurette"; - - list identity-change { - key "identity-change"; - description "enable identity change processing"; - leaf enable { - type int32; - description "instance of identity-change"; - } - leaf identity-change { - type xr:Cisco-ios-xr-string; - description "identity change"; - } - } - } - - container iedge-license-manager { - description "iedge license manager"; - - list node { - key "node-name"; - description "Location. For eg., 0/1/CPU0"; - leaf session-limit { - type int32; - description "Session limit configured on linecard"; - } - leaf session-threshold { - type int32; - description "Session threshold configured on linecard"; - } - leaf node-name { - type xr:Cisco-ios-xr-string; - description "The node id to filter on. For eg., 0/1/CPU0"; - } - } - } - - container sub-manager { - description "sub manager"; - - list location { - key "location1"; - description "Select location"; - - container trace { - description "Subscriber manager trace"; - leaf trace-level { - type int32; - description "Subscriber manager trace level"; - } - } - leaf history { - type empty; - description "Disable history for subscriber manager"; - } - leaf location1 { - type xr:Cisco-ios-xr-string; - description "Specify location"; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container service-policies { - description - "Interface control subscriber policy - configuration"; - - list service-policy { - key "service-policy-name"; - description - "Service policy to be applied to access - interface for subscribers"; - leaf service-policy-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub1.yang deleted file mode 100644 index 289f6b4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub1.yang +++ /dev/null @@ -1,56 +0,0 @@ -submodule Cisco-IOS-XR-iedge4710-oper-sub1 { - - belongs-to Cisco-IOS-XR-iedge4710-oper { - prefix Cisco-IOS-XR-iedge4710-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR iedge4710 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ISLM-SUMMARY-DATA { - description "ISLM SUMMARY DATA"; - leaf session-limit { - type uint32; - description "configured session limit"; - } - leaf session-threshold { - type uint32; - description "configured session threshold"; - } - leaf session-license-count { - type uint32; - description "number of license"; - } - leaf session-count { - type uint32; - description "number of sessions"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub2.yang deleted file mode 100644 index 481729b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub2.yang +++ /dev/null @@ -1,1079 +0,0 @@ -submodule Cisco-IOS-XR-iedge4710-oper-sub2 { - - belongs-to Cisco-IOS-XR-iedge4710-oper { - prefix Cisco-IOS-XR-iedge4710-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR iedge4710 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Iedge-oper-session-af-state { - type enumeration { - enum not-started { - description "Not started"; - } - enum down { - description "Down"; - } - enum up-pending { - description "Up Pending"; - } - enum up { - description "Up"; - } - } - description "Subscriber session address family state"; - } - typedef Aaa-terminate-cause { - type enumeration { - enum none { - description "None"; - } - enum user-request { - description "User request"; - } - enum lost-carrier { - description "Lost carrier"; - } - enum lost-service { - description "Lost service"; - } - enum idle-timeout { - description "Idle timeout"; - } - enum session-timeout { - description "Session timeout"; - } - enum admin-reset { - description "Admin reset"; - } - enum admin-reboot { - description "Admin reboot"; - } - enum port-error { - description "Port error"; - } - enum nas-error { - description "NAS error"; - } - enum nas-request { - description "NAS request"; - } - enum nas-reboot { - description "NAS reboot"; - } - enum port-unneeded { - description "Port unneeded"; - } - enum port-preempted { - description "Port preempted"; - } - enum port-suspended { - description "Port suspended"; - } - enum service-unavailable { - description "Service unavailable"; - } - enum callback { - description "Callback"; - } - enum user-error { - description "User error"; - } - enum host-request { - description "Host request"; - } - enum supplicant-restart { - description "Supplicant restart"; - } - enum reauthorization-failure { - description "Reauthorization failure"; - } - enum port-reinitialized { - description "Port reinitialized"; - } - enum admin-disabled { - description "Admin disabled"; - } - } - description "AAA terminate cause types"; - } - typedef Aaa-interface { - type enumeration { - enum none { - description "None"; - } - enum primary-rate { - description "Primary rate"; - } - enum basic-rate { - description "Basic rate"; - } - enum serial { - description "Serial"; - } - enum asynchronous { - description "Asynchronous"; - } - enum vty { - description "VTY"; - } - enum atm { - description "ATM"; - } - enum ethernet { - description "Ethernet"; - } - enum ppp-over-atm { - description "PPP over ATM"; - } - enum pppoe-over-atm { - description "PPPoE over ATM"; - } - enum pppoe-over-ethernet { - description "PPPoE over ethernet"; - } - enum ppp-over-vlan { - description "PPP over VLAN"; - } - enum ppp-over-qinq { - description "PPP over Q in Q"; - } - enum v120 { - description "V120"; - } - enum v110 { - description "V110"; - } - enum piafs { - description "PHS internet access forum standard"; - } - enum x75 { - description "X75"; - } - enum ip-sec { - description "IP sec"; - } - enum other { - description "Other"; - } - enum virtual-pppoe-over-ethernet { - description "Virtual PPPoE over ethernet"; - } - enum virtual-pppoe-over-vlan { - description "Virtual PPPoE over VLAN"; - } - enum virtual-pppoe-over-qinq { - description "Virtual PPPoE over Q in Q"; - } - enum ipo-e-over-ethernet { - description "IPoE over ethernet"; - } - enum ipo-e-over-vlan { - description "IPoE over VLAN"; - } - enum ipo-e-over-qinq { - description "IPoE over Q in Q"; - } - enum virtual-i-po-e-over-ethernet { - description "Virtual IPoE over ethernet"; - } - enum virtual-i-po-e-over-vlan { - description "Virtual IPoE over VLAN"; - } - enum virtual-i-po-e-over-qinq { - description "Virtual IPoE over Q in Q"; - } - } - description "AAA interface types"; - } - typedef Aaa-tunnel-proto { - type enumeration { - enum none { - description "None"; - } - enum pptp { - description "Point-to-point tunneling protocol"; - } - enum l2f { - description "Layer 2 forwarding"; - } - enum l2tp { - description "Layer 2 tunneling protocol"; - } - enum atmp { - description "Ascend tunnel management protocol"; - } - enum vtp { - description "VLAN trunk protocol"; - } - enum ah { - description "Authentication header"; - } - enum ip-over-ip { - description "IP over IP"; - } - enum minimum-ip-over-ip { - description "Minimum IP over IP"; - } - enum esp { - description "Encapsulating security payload"; - } - enum gre { - description "Generic routing encapsulation"; - } - enum bay-dvs { - description "Bay dial virtual services"; - } - enum ip-in-ip { - description "IP in IP"; - } - enum vlan { - description "VLAN"; - } - } - description "Tunnel protocol types"; - } - typedef Aaa-tunnel-medium { - type enumeration { - enum none { - description "None"; - } - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - enum nsap { - description "NSAP"; - } - enum hdlc { - description "HDLC"; - } - enum bbn { - description "BBN"; - } - enum all802 { - description "ALL 802"; - } - } - description "Tunnel medium types"; - } - typedef Aaa-auth-service { - type enumeration { - enum none { - description "None"; - } - enum login { - description "Login"; - } - enum framed { - description "Framed"; - } - enum callback-login { - description "Callback login"; - } - enum callback-framed { - description "Callback framed"; - } - enum outbound { - description "Outbound"; - } - enum administrator { - description "Administrator"; - } - enum prompt { - description "Prompt"; - } - enum authentication-only { - description "Authentication only"; - } - enum callback-nas-prompt { - description "Callback NAS prompt"; - } - enum call-check { - description "Call check"; - } - enum callback-administrator { - description "Callback administrator"; - } - enum voice { - description "Voice"; - } - enum fax { - description "Fax"; - } - enum modem-relay { - description "Modem relay"; - } - enum eap-over-udp { - description "EAP over UDP"; - } - } - description "AAA authorization service types"; - } - typedef Iedge-oper-session-state { - type enumeration { - enum initialize { - description "Initialize"; - } - enum connecting { - description "Connecting"; - } - enum connected { - description "Connected"; - } - enum activated { - description "Activated"; - } - enum idle { - description "Idle"; - } - enum disconnecting { - description "Disconnecting"; - } - enum end { - description "End"; - } - } - description "Subscriber session states"; - } - typedef Mac-address { - type yang:mac-address; - description "MAC address type"; - } - typedef Hex-binary { - type yang:hex-string; - description "Hex binary data"; - } - typedef Ipv4-address { - type inet:ipv4-address; - description "IP address type"; - } - typedef Iedge-ppp-sub { - type enumeration { - enum pta { - description "PPP termination and aggregation"; - } - enum lac { - description "L2TP access controller"; - } - } - description "PPPoE sub types"; - } - typedef Iedge-oper-session { - type enumeration { - enum unknown { - description "Unknown"; - } - enum pppoe { - description "PPPoE/PPP client"; - } - enum ppp { - description "PPP serial client"; - } - enum ip-packet-trigger { - description "IP subscriber - packet trigger"; - } - enum ip-packet-dhcp-trigger { - description "IP subscriber - DHCP trigger"; - } - } - description "Subscriber session types"; - } - - grouping IEDGE-MOBILITY-SESSION-DATA { - description "Mobility attributes"; - leaf mpc-protocol { - type boolean; - description "Cisco MPC Protocol"; - } - leaf mobility-ipv4-address { - type string; - description "IPv4 address of Mobility Node"; - } - leaf mobility-default-ipv4-gateway { - type string; - description "Default Gateway IPv4 Address"; - } - leaf mobility-dns-server { - type string; - description "DNS Server Primary"; - } - leaf mobility-dhcp-server { - type string; - description "DHCP Server"; - } - leaf mobility-ipv4-netmask { - type string; - description "IPv4 Netmask"; - } - leaf domain-name { - type string; - description "Domain Name"; - } - leaf uplink-gre-key { - type string; - description "Uplink GRE Key"; - } - leaf downlink-gre-key { - type string; - description "Downlink GRE Key"; - } - leaf lease-time { - type string; - units "second"; - description "Duration of lease in seconds"; - } - } - - grouping IEDGE-AAA-ATTR { - description "AAA attributes"; - leaf ipv4mtu { - type uint32; - description "IPv4 maximum transmission unit"; - } - leaf ipv4-unnumbered { - type string; - description "IPv4 unnumbered"; - } - leaf authorization-service-type { - type Aaa-auth-service; - description "Authorization service type"; - } - leaf tunnel-client-endpoint { - type Ipv4-address; - description "Tunnel client endpoint"; - } - leaf tunnel-server-endpoint { - type Ipv4-address; - description "Tunnel server endpoint"; - } - leaf tunnel-tos-setting { - type uint32; - description "Tunnel TOS setting"; - } - leaf tunnel-medium { - type Aaa-tunnel-medium; - description "Tunnel medium"; - } - leaf tunnel-preference { - type uint32; - description "Tunnel preference"; - } - leaf tunnel-client-authentication-id { - type string; - description "Tunnel client authentication ID"; - } - leaf tunnel-protocol { - type Aaa-tunnel-proto; - description "Tunnel protocol"; - } - leaf actual-data-rate-upstream { - type uint32; - units "Mbit/s"; - description "Actual data rate upstream (in Mbps)"; - } - leaf actual-data-rate-downstream { - type uint32; - units "Mbit/s"; - description "Actual data rate downstream (in Mbps)"; - } - leaf attainable-data-rate-upstream { - type uint32; - units "Mbit/s"; - description "Attainable data rate upstream (in Mbps)"; - } - leaf attainable-data-rate-downstream { - type uint32; - units "Mbit/s"; - description "Attainable data rate downstream (in Mbps)"; - } - leaf pool-address { - type string; - description "IP address pool"; - } - leaf circuit-id { - type string; - description "Circuit ID"; - } - leaf connection-receive-speed { - type uint32; - description "Connection receive speed"; - } - leaf connection-transmission-speed { - type uint32; - description "Connection transmission speed"; - } - leaf destination-station-id { - type string; - description "Destination station ID"; - } - leaf primary-dns-server-address { - type Ipv4-address; - description "Primary DNS server address"; - } - leaf secondary-dns-server-address { - type Ipv4-address; - description "Secondary DNS server address"; - } - leaf formatted-calling-station-id { - type string; - description "Formatted calling station id"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf interface-type { - type Aaa-interface; - description "Interface type"; - } - leaf interim-accounting-interval { - type uint32; - description "Interim accounting interval"; - } - leaf ingress-access-list { - type string; - description "Ingress access list"; - } - leaf egress-access-list { - type string; - description "Egress access list"; - } - leaf ip-netmask { - type Ipv4-address; - description "IP netmask for the user"; - } - leaf is-interworking-functionality { - type boolean; - description "True, if interworking functionality"; - } - leaf max-interleaving-delay-downstream { - type uint32; - units "Mbit/s"; - description "Maximum interleaving delay downstream (in Mbps)"; - } - leaf max-interleaving-delay-upstream { - type uint32; - units "Mbit/s"; - description "Maximum interleaving delay upstream (in Mbps)"; - } - leaf max-data-rate-upstream { - type uint32; - units "Mbit/s"; - description "Maximum data rate upstream (in Mbps)"; - } - leaf max-data-rate-downstream { - type uint32; - units "Mbit/s"; - description "Maximum data rate downstream (in Mbps)"; - } - leaf min-data-rate-downstream { - type uint32; - units "Mbit/s"; - description "Minimum data rate downstream (in Mbps)"; - } - leaf min-data-rate-downstream-low-power { - type uint32; - units "Mbit/s"; - description - "Minimum data rate downstream low power (in Mbps)"; - } - leaf min-data-rate-upstream-low-power { - type uint32; - units "Mbit/s"; - description "Minimum data rate upstream low power (in Mbps)"; - } - leaf primary-net-bios-server-address { - type Ipv4-address; - description "Primary net bios server address"; - } - leaf secondary-net-bios-server-address { - type Ipv4-address; - description "Secondary net bios server address"; - } - leaf parent-interface-name { - type xr:Interface-name; - description "Parent interface name"; - } - leaf remote-id { - type string; - description "Remote ID"; - } - leaf route { - type string; - description "Route information for a user session"; - } - leaf session-timeout { - type uint32; - units "second"; - description "Session timeout (in seconds)"; - } - leaf strict-rpf-packets { - type uint32; - description "Strict RPF packets"; - } - leaf accounting-session-id { - type string; - description "Accounting session ID"; - } - leaf upstream-parameterized-qos-policy { - type string; - description - "Upstream parameterized QoS policy to be applied - on the subscriber side"; - } - leaf downstream-parameterized-qos-policy { - type string; - description - "Downstream parameterized QoS policy to be - applied on the subscriber side"; - } - leaf upstream-qos-policy { - type string; - description - "Upstream QoS policy to be applied on the - subscriber side"; - } - leaf downstream-qos-policy { - type string; - description - "Downstream QoS policy to be applied on the - subscriber side"; - } - leaf session-termination-cause { - type Aaa-terminate-cause; - description "Session termination cause"; - } - } - - grouping IEDGE-OPER-COA-DATA { - description "IEDGE OPER COA DATA"; - leaf request-acked { - type boolean; - description "Coa Request Acked"; - } - leaf request-time { - type string; - description - "Request time in DDD MMM DD HH:MM:SS YYYY format - eg: Tue Apr 11 21:30:47 2011"; - } - leaf coa-request-attributes { - type yang:hex-string; - description - "List of Request Attributes collected in COA - response"; - } - leaf reply-time { - type string; - description - "Reply time in DDD MMM DD HH:MM:SS YYYY format eg - : Tue Apr 11 21:30:47 2011"; - } - leaf coa-reply-attributes { - type yang:hex-string; - description - "List of Reply Attributes collected in COA - response"; - } - } - - grouping IEDGE-OPER-ACCOUNTING-DATA { - description "Session/Service accounting information"; - leaf accounting-state-rc { - type uint32; - description - "Accounting State Error Code for Accounting - Session"; - } - leaf accounting-stop-state { - type uint32; - description "Accounting Stop State"; - } - leaf record-context-name { - type string; - description "Accounting record context name"; - } - leaf method-list-name { - type string; - description "AAA method list name used to perform accounting"; - } - leaf account-session-id { - type string; - description "Accounting session ID"; - } - leaf accounting-start-time { - type string; - description - "Accounting start time in DDD MMM DD HH:MM:SS - YYYY format eg: Tue Feb 15 15:12:49 2011"; - } - leaf is-interim-accounting-enabled { - type boolean; - description "True if interim accounting is enabled"; - } - leaf interim-interval { - type uint32; - units "minute"; - description "Interim accounting interval (in minutes)"; - } - leaf last-successful-interim-update-time { - type string; - description - "Time of last successful interim update in DDD - MMM DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30 - :47 2011"; - } - leaf next-interim-update-attempt-time { - type uint32; - units "second"; - description - "Time of next interim update attempt (in seconds)"; - } - leaf last-interim-update-attempt-time { - type string; - description - "Time of last interim update attempt in DDD MMM - DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 - 2011"; - } - leaf sent-interim-updates { - type uint32; - description "Number of interim updates sent"; - } - leaf accepted-interim-updates { - type uint32; - description "Number of interim updates accepted"; - } - leaf rejected-interim-updates { - type uint32; - description "Number of interim updates rejected"; - } - leaf sent-interim-update-failures { - type uint32; - description "Number of interim update send failures"; - } - } - - grouping IEDGE-ACCNT-DATA { - description "Accounting information"; - - list accounting-session { - description "Accounting information"; - uses IEDGE-OPER-ACCOUNTING-DATA; - } - } - - grouping SUBSCRIBER-SESSION-DATA { - description "Subscriber session information"; - - container accounting { - description "Accounting information"; - uses IEDGE-ACCNT-DATA; - } - - container user-profile-attributes { - description - "List of user profile attributes collected for - subscriber session"; - uses IEDGE-AAA-ATTR; - } - - container mobility-attributes { - description - "List of mobility attributes collected for - subscriber session"; - uses IEDGE-MOBILITY-SESSION-DATA; - } - leaf session-type { - type Iedge-oper-session; - description "Subscriber session type"; - } - leaf pppoe-sub-type { - type Iedge-ppp-sub; - description "PPPoE sub type"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - leaf circuit-id { - type string; - description "Circuit ID"; - } - leaf remote-id { - type string; - description "Remote ID"; - } - leaf lns-address { - type Ipv4-address; - description "PPPoE LNS address"; - } - leaf lac-address { - type Ipv4-address; - description "PPPoE LAC address"; - } - leaf tunnel-client-authentication-id { - type string; - description "PPPoE LAC tunnel client authentication ID"; - } - leaf tunnel-server-authentication-id { - type string; - description "PPPoE LAC tunnel server authentication ID"; - } - leaf session-ip-address { - type Ipv4-address; - description "Session ip address"; - } - leaf session-ipv6-address { - type string; - description "Session IPv6 address"; - } - leaf session-ipv6-prefix { - type string; - description "Session IPv6 prefix"; - } - leaf delegated-ipv6-prefix { - type string; - description "Session delegated IPv6 prefix"; - } - leaf ipv6-interface-id { - type Hex-binary; - description "IPv6 Interface ID"; - } - leaf mac-address { - type Mac-address; - description "MAC address"; - } - leaf account-session-id { - type string; - description "Accounting session ID"; - } - leaf nas-port { - type string; - description "NAS port"; - } - leaf username { - type string; - description "Username"; - } - leaf clientname { - type string; - description "Client Username"; - } - leaf formattedname { - type string; - description "Formatted Username"; - } - leaf is-session-authentic { - type boolean; - description "If true, session is authentic"; - } - leaf is-session-author { - type boolean; - description "If true, session is authorized"; - } - leaf session-state { - type Iedge-oper-session-state; - description "Session state"; - } - leaf session-creation-time { - type string; - description - "Session creation time in DDD MMM DD HH:MM:SS - YYYY format eg: Tue Apr 11 21:30:47 2011"; - } - leaf idle-state-change-time { - type string; - description - "Time when idle state change occurred in DDD MMM - DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 - 2011"; - } - leaf total-session-idle-time { - type uint32; - units "second"; - description "Total session idle time (in seconds)"; - } - leaf access-interface-name { - type xr:Interface-name; - description - "Access interface name associated with the - session"; - } - leaf pending-callbacks { - type uint64; - description "Active pending callbacks bitmask"; - } - leaf af-up-status { - type uint32; - description "AF status per Subscriber Session"; - } - leaf session-ipv4-state { - type Iedge-oper-session-af-state; - description "Session IPv4 state"; - } - leaf session-ipv6-state { - type Iedge-oper-session-af-state; - description "Session IPv6 state"; - } - - list session-change-of-authorization { - description "Subscriber change of authorization information"; - uses IEDGE-OPER-COA-DATA; - } - } - - grouping SUBSCRIBER-SESSION-AF-COUNTS { - description "Subscriber address family session counts"; - leaf in-progress-sessions { - type uint32; - description "Sessions with undecided address family"; - } - leaf ipv4-only-sessions { - type uint32; - description "IPv4 only sessions "; - } - leaf ipv6-only-sessions { - type uint32; - description "IPv6 only sessions "; - } - leaf dual-part-up-sessions { - type uint32; - description "Dual stack partially up sessions"; - } - leaf dual-up-sessions { - type uint32; - description "Dual stack up sessions"; - } - leaf lac-sessions { - type uint32; - description "LAC sessions"; - } - } - - grouping SUBSCRIBER-SESSION-AF-SUMMARY { - description - "Subscriber session address family summary - information"; - - container pppoe { - description "PPPoE summary"; - uses SUBSCRIBER-SESSION-AF-COUNTS; - } - - container ip-subscriber-dhcp { - description "IP subscriber DHCP summary"; - uses SUBSCRIBER-SESSION-AF-COUNTS; - } - - container ip-subscriber-packet { - description "IP subscriber packet summary"; - uses SUBSCRIBER-SESSION-AF-COUNTS; - } - } - - grouping SUBSCRIBER-SESSION-STATE-COUNTS { - description "Subscriber state session counts"; - leaf initialized-sessions { - type uint32; - description "Sessions in initialized state"; - } - leaf connecting-sessions { - type uint32; - description "Sessions in connecting state"; - } - leaf connected-sessions { - type uint32; - description "Sessions in connected state"; - } - leaf activated-sessions { - type uint32; - description "Sessions in activated state"; - } - leaf idle-sessions { - type uint32; - description "Sessions in idle state"; - } - leaf disconnecting-sessions { - type uint32; - description "Sessions in disconnecting state"; - } - leaf end-sessions { - type uint32; - description "Sessions in end state"; - } - } - - grouping SUBSCRIBER-SESSION-STATE-SUMMARY { - description "Subscriber session state summary information"; - - container pppoe { - description "PPPoE summary"; - uses SUBSCRIBER-SESSION-STATE-COUNTS; - } - - container ip-subscriber-dhcp { - description "IP subscriber DHCP summary"; - uses SUBSCRIBER-SESSION-STATE-COUNTS; - } - - container ip-subscriber-packet { - description "IP subscriber packet summary"; - uses SUBSCRIBER-SESSION-STATE-COUNTS; - } - } - - grouping SUBSCRIBER-SESSION-SUMMARY { - description "Subscriber session summary information"; - - container state-xr { - description "State summary"; - uses SUBSCRIBER-SESSION-STATE-SUMMARY; - } - - container address-family-xr { - description "Address family summary"; - uses SUBSCRIBER-SESSION-AF-SUMMARY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub3.yang deleted file mode 100644 index b7340c5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper-sub3.yang +++ /dev/null @@ -1,651 +0,0 @@ -submodule Cisco-IOS-XR-iedge4710-oper-sub3 { - - belongs-to Cisco-IOS-XR-iedge4710-oper { - prefix Cisco-IOS-XR-iedge4710-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR iedge4710 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping IEDGE-STATS-SRG-DATA { - description "Geo Redundancy statistics"; - leaf txlist-send-triggered { - type uint32; - description "Txlist Send Triggered"; - } - leaf txlist-send-failed { - type uint32; - description "Txlist Send Failed"; - } - leaf txlist-send-failed-notactive { - type uint32; - description "Txlist send failed due to not active"; - } - leaf actual-txlist-sent { - type uint32; - description "Txlist Send Success"; - } - leaf alreadyin-txlist { - type uint32; - description "Element already in Txlist"; - } - leaf txlist-encode { - type uint32; - description "Txlist Encode"; - } - leaf txlist-encode-fail { - type uint32; - description "Txlist encode Failed"; - } - leaf create-update-encode { - type uint32; - description "Txlist Create Update Encode"; - } - leaf delete-encode { - type uint32; - description "Txlist Delete Encode"; - } - leaf create-upd-clean-callback { - type uint32; - description "Txlist Create/update clean callback"; - } - leaf delete-clean-callback { - type uint32; - description "Txlist Delete clean callback"; - } - leaf slave-recv-entry { - type uint32; - description "Slave Recieved Sync"; - } - leaf slave-decode-fail { - type uint32; - description "Decode failed on Slave"; - } - leaf slave-create-update { - type uint32; - description "Create Update received on slave"; - } - leaf slave-delete { - type uint32; - description "Delete received on slave"; - } - leaf srg-context-malloc { - type uint32; - description "SRG context allocated"; - } - leaf srg-context-free { - type uint32; - description "SRG context freed"; - } - leaf sod-count { - type uint32; - description "Number of SODs Received"; - } - leaf eod-count { - type uint32; - description "Number of EODs Received"; - } - leaf sod-eod-replay-req-count { - type uint32; - description "Number of Replay Requests Within SOD EOD Window"; - } - leaf sod-eod-dirty-mark-count { - type uint32; - description - "Number of Sessions Marked as Invalid Within SOD - EOD Window"; - } - leaf sod-eod-dirty-delete-count { - type uint32; - description - "Number of Sessions Invalid Deletes Within SOD - EOD Window"; - } - leaf ack-to-srg { - type uint32; - description "Number of ACKs sent to Srg"; - } - leaf nack-to-srg { - type uint32; - description "Number of NACKs sent to Srg"; - } - leaf nack-to-srg-fail-cnt { - type uint32; - description "Number of NACKs Failed to send to Srg"; - } - leaf txlist-remove-all { - type uint32; - description "Number of Txlist remove all calls"; - } - leaf txlist-del-sync { - type uint32; - description "Number for Txlist delete for sync msg"; - } - leaf txlist-del-sync-notlinked { - type uint32; - description - "Number of Txlist delete for sync which are not - linked"; - } - leaf txlist-del-app { - type uint32; - description "Number of Txlist delete for App msg"; - } - leaf txlist-del-app-notlinked { - type uint32; - description - "Number of Txlist delete for App which are not - linked"; - } - leaf txlist-clean-invalid-state { - type uint32; - description - "Number of Txlist Cleanup called on Invalid - subscriber srg state"; - } - leaf txlist-remove-all-internal-error { - type uint32; - description - "Number of Internal errors upon Master Txlist - remove all call"; - } - leaf is-srg-flow-control-enabled { - type boolean; - description "Flag indicating SRG Flow control enabled or not"; - } - leaf max-inflight-sessoin-count { - type uint32; - description "Maximum no.of inflight sessions allowed"; - } - leaf flow-control-resume-threshold { - type uint32; - description "Threshold Limit to resume the flow control"; - } - leaf inflight-session-count { - type uint32; - description "No.of Sessions inflight at given time"; - } - leaf inflight-add-count { - type uint32; - description "No.of inflight sessions added"; - } - leaf inflight-under-run-count { - type uint32; - description "Inflight Underrun Counter"; - } - leaf inflight-alloc-fails { - type uint32; - description "Memory Alloc Failures for Inflight Entry"; - } - leaf inflight-insert-failures { - type uint32; - description "Inflight Entry Insert Failures"; - } - leaf inflight-deletes { - type uint32; - description "Inflight Deletes Count"; - } - leaf inflight-not-found { - type uint32; - description "Inflight Entries not found during delete"; - } - leaf inflight-delete-failures { - type uint32; - description "Inflight Entry Delete Failures"; - } - leaf total-pause-count { - type uint32; - description "Total No.of times Pause is Enabled"; - } - leaf total-resume-count { - type uint32; - description "Total No.of times Resume is triggered"; - } - leaf total-dont-send-to-txlist { - type uint32; - description "Total No of times Dont send to Txlist"; - } - leaf total-srg-not-master { - type uint32; - description "Total No of times SRG Not Master"; - } - leaf total-master-eoms-pending { - type uint32; - description "Total No of times Master EOMS Pending"; - } - leaf last-pause-period { - type uint64; - description - "Amount of time paused during last flow control - window"; - } - leaf total-pause-time { - type uint64; - description - "Total Amount of time paused during all flow - control windows"; - } - leaf last-pause-time { - type uint64; - description "Timestamp of recent Pause Event"; - } - leaf last-resume-time { - type uint64; - description "Timestamp of recent Resume Event"; - } - } - - grouping IEDGE-STATS-SUMMARY-DATA { - description "Summary statistics"; - leaf no-subscriber-control-policy-on-interface { - type uint64; - description - "Subscriber control policy not applied on - interface"; - } - leaf no-class-match-in-start-request { - type uint64; - description - "No control policy class match during subscriber - start"; - } - leaf nas-port-attribute-format-warnings { - type uint64; - description "NAS port attribute format warnings"; - } - leaf nas-port-id-attribute-format-warnings { - type uint64; - description "NAS port ID attribute format warnings"; - } - leaf destination-station-id-attribute-format-warnings { - type uint64; - description - "Destination station ID attribute format warnings"; - } - leaf calling-station-id-attribute-format-warnings { - type uint64; - description "Calling station ID attribute format warnings"; - } - leaf username-attribute-format-warnings { - type uint64; - description "Username attribute format warnings"; - } - leaf install-user-profiles { - type uint64; - description "User profiles installed"; - } - leaf user-profile-install-errors { - type uint64; - description "User profile install errors"; - } - leaf user-profile-removals { - type uint64; - description "User profile removals"; - } - leaf user-profile-errors { - type uint64; - description "User profile errors"; - } - leaf sess-disc-quota-exhausts { - type uint64; - description "Session Disconnect Quota Exhausts"; - } - leaf sess-disc-no-quota { - type uint64; - description "Session Disconnect Request Queued, no quota"; - } - leaf sess-disc-quota-avail { - type uint64; - description - "Session Disconnect Request Accepted, quota - available"; - } - leaf sess-disc-recon-ip { - type uint64; - description - "Session Disconnect Requests not Dequeued, - reconciliation in progress"; - } - leaf sess-disc-none-started { - type uint64; - description - "Session Disconnect Requests not Dequeued, no - quota"; - } - leaf sess-disc-quota { - type uint32; - description "Session Disconnect Quota"; - } - leaf sess-disc-quota-remaining { - type uint32; - description "Session Disconnect Quota Remaining"; - } - leaf sess-disc-q-count { - type uint32; - description "Session Disconnect Requests Queued"; - } - } - - grouping IEDGE-STATS-CH-REQ-STATS { - description "Change of authorization request statistics"; - leaf received-requests { - type uint64; - description "Received requests"; - } - leaf acknowledged-requests { - type uint64; - description "Acknowledged requests"; - } - leaf non-acknowledged-requests { - type uint64; - description "Non acknowledged requests"; - } - } - - grouping IEDGE-STATS-CH-DATA { - description "Change of authorization statistics"; - - container account-logon { - description "Account logon request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container account-logoff { - description "Account logoff request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container account-update { - description "Account update request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container session-disconnect { - description "Session disconnect request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container single-service-logon { - description "Service logon request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container single-service-logoff { - description "Single Service logoff request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container single-service-modify { - description "Single Service Modify request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - - container service-multi { - description "MA-CoA Service request statistics"; - uses IEDGE-STATS-CH-REQ-STATS; - } - leaf unknown-account-cmd-resps { - type uint64; - description "Responses to unknown account command"; - } - leaf unknown-service-cmd-resps { - type uint64; - description "Responses to unknown service command"; - } - leaf unknown-cmd-resps { - type uint64; - description "Responses to unknown command"; - } - leaf attr-list-retrieve-failure-resps { - type uint64; - description "Responses to attribute list failure errors"; - } - leaf resp-send-failure { - type uint64; - description "Response send failures"; - } - leaf internal-err-resps { - type uint64; - description "Responses to internal error"; - } - leaf service-profile-push-failure-resps { - type uint64; - description "Responses to service profile push failures"; - } - leaf no-cmd-resps { - type uint64; - description "Responses empty (no command) COA request"; - } - leaf no-session-found-resps { - type uint64; - description - "Responses to COA with unknown session identifier"; - } - leaf no-session-peer-resps { - type uint64; - description "Responses to session peer not found error"; - } - } - - grouping IEDGE-STATS-COORD-ALL-DATA { - description "IEDGE STATS COORD ALL DATA"; - - container accounting-statistics { - description "List of stats for accounting"; - uses IEDGE-STATS-COORD-ACCT-DATA; - } - - container authentication-statistics { - description "List of stats for authentication"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container authorization-statistics { - description "List of stats for authorization"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container change-of-authorization-statistics { - description "List of stats for COA"; - uses IEDGE-STATS-CH-DATA; - } - - container mobility-statistics { - description "List of stats for Mobility"; - uses IEDGE-STATS-MOB-DATA; - } - } - - grouping IEDGE-STATS-MOB-DATA { - description "Mobility statistics"; - leaf send-request-successes { - type uint64; - description "Request send success"; - } - leaf send-request-failures { - type uint64; - description "Request send failures"; - } - leaf receive-response-successes { - type uint64; - description "Response receive success"; - } - leaf receive-response-failures { - type uint64; - description "Response receive failures"; - } - } - - grouping IEDGE-STATS-COORD-AUTH-DATA { - description "Authorization & authentication statistics"; - leaf sent-requests { - type uint64; - description "Requests sent to radius server"; - } - leaf accepted-requests { - type uint64; - description "Request accepted by Radius server"; - } - leaf successful-requests { - type uint64; - description "Requests which are successful"; - } - leaf rejected-requests { - type uint64; - description "Requests rejected by radius server"; - } - leaf unreachable-requests { - type uint64; - description "Radius server not available"; - } - leaf errored-requests { - type uint64; - description "Unexpected errors"; - } - leaf incomplete-requests { - type uint64; - description "Incomplete requests - missing attributes"; - } - leaf terminated-requests { - type uint64; - description "Requests terminated by disconnect"; - } - } - - grouping IEDGE-INTERIM-INFLIGHT-COORD-DATA { - description "Interim inflight information"; - leaf quota-exhausts { - type uint32; - description "Quota exhausts"; - } - leaf denied-requests { - type uint32; - description "Denied requests"; - } - leaf accepted-requests { - type uint32; - description "Accepted requests"; - } - leaf total-quota-of-requests { - type uint32; - description "Total quota of requests"; - } - leaf remaining-quota-of-requests { - type uint32; - description "Remaining quota of requests"; - } - leaf low-water-mark-quota-of-requests { - type uint32; - description "Low water mark quota of requests"; - } - } - - grouping IEDGE-STATS-COORD-ACCT-REQ-STATS { - description "AAA accounting request-response statistics"; - leaf received-requests { - type uint64; - description "Received requests"; - } - leaf errored-requests { - type uint64; - description "Errored requests"; - } - leaf aaa-errored-requests { - type uint64; - description "AAA errored requests"; - } - leaf aaa-sent-requests { - type uint64; - description "AAA requests sent"; - } - leaf aaa-succeeded-responses { - type uint64; - description "AAA succeeded responses"; - } - leaf aaa-failed-responses { - type uint64; - description "AAA failed responses"; - } - } - - grouping IEDGE-STATS-COORD-ACCT-DATA { - description "AAA accounting statistics"; - - container start { - description "Start statistics"; - uses IEDGE-STATS-COORD-ACCT-REQ-STATS; - } - - container stop { - description "Stop statistics"; - uses IEDGE-STATS-COORD-ACCT-REQ-STATS; - } - - container interim { - description "Interim statistics"; - uses IEDGE-STATS-COORD-ACCT-REQ-STATS; - } - - container pass-through { - description "Pass-through statistics"; - uses IEDGE-STATS-COORD-ACCT-REQ-STATS; - } - - container update { - description "Update statistics"; - uses IEDGE-STATS-COORD-ACCT-REQ-STATS; - } - - container interim-inflight { - description "Interim inflight details"; - uses IEDGE-INTERIM-INFLIGHT-COORD-DATA; - } - leaf active-sessions { - type uint32; - description "Active sessions"; - } - leaf started-sessions { - type uint64; - description "Started sessions"; - } - leaf stopped-sessions { - type uint64; - description "Stopped sessions"; - } - leaf policy-plane-errored-requests { - type uint64; - description "Policy plane errored requests"; - } - leaf policy-plane-unknown-requests { - type uint64; - description "Policy plane unknown requests"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper.yang deleted file mode 100644 index 7037486..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-iedge4710-oper.yang +++ /dev/null @@ -1,504 +0,0 @@ -module Cisco-IOS-XR-iedge4710-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-oper"; - - - prefix "iedge4710-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-iedge4710-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-iedge4710-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-iedge4710-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR iedge4710 package operational data. - - This module contains definitions - for the following management objects: - subscriber: Subscriber operational data - iedge-license-manager: iedge license manager - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Subscriber-author-state-filter-flag { - type enumeration { - enum un-authorized { - value 0; - description "UnAuthorized"; - } - enum authorized { - value 1; - description "Authorized"; - } - } - description "Subscriber author state filter flag"; - } - typedef Subscriber-address-family-filter-flag { - type enumeration { - enum ipv4-only { - value 0; - description "IPv4 only"; - } - enum ipv6-only { - value 1; - description "IPv6 only"; - } - enum ipv4-all { - value 2; - description "IPv4 all"; - } - enum ipv6-all { - value 3; - description "IPv6 all"; - } - enum dual-all { - value 4; - description "Dual all"; - } - enum dual-part-up { - value 5; - description "Dual part up"; - } - enum dual-up { - value 6; - description "Dual up"; - } - enum lac { - value 7; - description "LAC"; - } - } - description "Subscriber address family filter flag"; - } - typedef Subscriber-state-filter-flag { - type enumeration { - enum initializing { - value 0; - description "Initializing"; - } - enum connecting { - value 1; - description "Connecting"; - } - enum connected { - value 2; - description "Connected"; - } - enum activated { - value 3; - description "Activated"; - } - enum idle { - value 4; - description "Idle"; - } - enum disconnecting { - value 5; - description "Disconnecting"; - } - enum end { - value 6; - description "End"; - } - } - description "Subscriber state filter flag"; - } - typedef Subscriber-authen-state-filter-flag { - type enumeration { - enum un-authenticated { - value 0; - description "UnAuthenticated"; - } - enum authenticated { - value 1; - description "Authenticated"; - } - } - description "Subscriber authen state filter flag"; - } - - container subscriber { - config false; - description "Subscriber operational data"; - - container manager { - description "Subscriber manager operational data"; - - container nodes { - description "Subscriber manager list of nodes"; - - list node { - key "node-name"; - description - "Subscriber manager operational data for a - particular node"; - - container statistics { - description "Subscriber manager statistics"; - - container aaa { - description "AAA statistics"; - - container aggregate-accounting { - description "Aggregate accounting statistics"; - uses IEDGE-STATS-COORD-ACCT-DATA; - } - - container authentication { - description "Authentication statistics"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container aggregate-mobility { - description "Aggregate mobility statistics"; - uses IEDGE-STATS-MOB-DATA; - } - - container aggregate-authentication { - description "Aggregate authentication statistics"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container accounting-stats-all { - description - "Display all subscriber management - statistics"; - uses IEDGE-STATS-COORD-ALL-DATA; - } - - container change-of-authorization { - description - "Change of authorization (COA) statistics"; - uses IEDGE-STATS-CH-DATA; - } - - container authorization { - description "Authorization statistics"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container aggregate-authorization { - description "Aggregate authorization statistics"; - uses IEDGE-STATS-COORD-AUTH-DATA; - } - - container aggregate-accounting-stats-all { - description - "Display all subscriber management total - statistics"; - uses IEDGE-STATS-COORD-ALL-DATA; - } - - container accounting { - description "Accounting statistics"; - uses IEDGE-STATS-COORD-ACCT-DATA; - } - - container mobility { - description "Mobility statistics"; - uses IEDGE-STATS-MOB-DATA; - } - - container aggregate-change-of-authorization { - description - "Aggregate change of authorization (COA) - statistics"; - uses IEDGE-STATS-CH-DATA; - } - } - - container aggregate-summary { - description "Aggregate summary of statistics"; - uses IEDGE-STATS-SUMMARY-DATA; - } - - container srg { - description "Geo Redundancy statistics"; - uses IEDGE-STATS-SRG-DATA; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container session { - description "Subscriber session operational data"; - - container nodes { - description "List of subscriber session supported nodes"; - - list node { - key "node-name"; - description - "Subscriber session operational data for a - particular node"; - - container author-summaries { - description - "Summary information filtered by authorization - state"; - - list author-summary { - key "author-state"; - description "authorization summary"; - leaf author-state { - type Subscriber-author-state-filter-flag; - description "Authorization state"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container summary { - description "Subscriber session summary information"; - uses SUBSCRIBER-SESSION-SUMMARY; - } - - container mac-summaries { - description - "Summary information filtered by MAC address"; - - list mac-summary { - key "mac-address"; - description "MAC address summary"; - leaf mac-address { - type yang:mac-address; - description "Subscriber MAC address"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container interface-summaries { - description "Summary information filtered by interface"; - - list interface-summary { - key "interface-name"; - description "Interface summary"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container authentication-summaries { - description - "Summary information filtered by - authentication state"; - - list authentication-summary { - key "authentication-state"; - description "authentication summary"; - leaf authentication-state { - type Subscriber-authen-state-filter-flag; - description "Authentication state"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container state-summaries { - description - "Summary information filtered by session state"; - - list state-summary { - key "state"; - description "State summary"; - leaf state { - type Subscriber-state-filter-flag; - description "Subscriber state"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container ipv4-address-vrf-summaries { - description - "Summary information filtered by IPv4 address - and VRF"; - - list ipv4-address-vrf-summary { - description "IPv4 address and VRF summary"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Subscriber IPv4 address"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container address-family-summaries { - description - "Summary information filtered by address - family"; - - list address-family-summary { - key "address-family"; - description "Address family summary"; - leaf address-family { - type Subscriber-address-family-filter-flag; - description "Address family"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container username-summaries { - description "Summary information filtered by username"; - - list username-summary { - key "username"; - description "Username summary"; - leaf username { - type xr:Cisco-ios-xr-string; - description "Subscriber username"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container access-interface-summaries { - description - "Summary information filtered by access - interface"; - - list access-interface-summary { - key "interface-name"; - description "Access interface summary"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container ipv4-address-summaries { - description - "Summary information filtered by subscriber - IPv4 address"; - - list ipv4-address-summary { - key "address"; - description "IPv4 address summary"; - leaf address { - type inet:ipv4-address-no-zone; - description "Subscriber IPv4 address"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container vrf-summaries { - description "Summary information filtered by VRF"; - - list vrf-summary { - key "vrf-name"; - description "VRF summary"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses SUBSCRIBER-SESSION-SUMMARY; - } - } - - container sessions { - description "IP subscriber sessions"; - - list session { - key "session-id"; - description "Subscriber session information"; - leaf session-id { - type xr:Hex-integer; - description "Session ID"; - } - uses SUBSCRIBER-SESSION-DATA; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - } - - container iedge-license-manager { - config false; - description "iedge license manager"; - - container nodes { - description - "Session License Manager operational data for a - location"; - - list node { - key "nodeid"; - description "Location. For example, 0/1/CPU0"; - - container iedge-license-manager-summary { - description - "Display Session License Manager summary data"; - uses ISLM-SUMMARY-DATA; - } - leaf nodeid { - type xr:Node-id; - description - "The node id to filter on. For example, - 0/1/CPU0"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-cfg.yang deleted file mode 100644 index 9258ec5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-cfg.yang +++ /dev/null @@ -1,294 +0,0 @@ -module Cisco-IOS-XR-ifmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg"; - - - prefix "ifmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ifmgr package configuration. - - This module contains definitions - for the following management objects: - global-interface-configuration: Global scoped configuration - for interfaces - interface-configurations: interface configurations - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Interface-mode-enum { - type enumeration { - enum default { - value 0; - description "Default Interface Mode"; - } - enum point-to-point { - value 1; - description "Point-to-Point Interface Mode"; - } - enum multipoint { - value 2; - description "Multipoint Interface Mode"; - } - enum l2-transport { - value 3; - description "L2 Transport Interface Mode"; - } - } - description "Interface mode enum"; - } - typedef Interface-active { - type string { - pattern "(act)|(pre)"; - } - description "act:The interface is active, pre:Preconfiguration"; - } - typedef Secondary-admin-state-enum { - type enumeration { - enum normal { - value 0; - description "Normal Mode"; - } - enum maintenance { - value 1; - description "Maintenance Mode"; - } - } - description "Secondary admin state enum"; - } - typedef Link-status-enum { - type enumeration { - enum default { - value 0; - description - "Display link status messages for physical links"; - } - enum disable { - value 1; - description "Disable link status messages"; - } - enum software-interfaces { - value 2; - description - "Display link status messages for all interfaces"; - } - } - description "Link status enum"; - } - - container global-interface-configuration { - description "Global scoped configuration for interfaces"; - leaf link-status { - type Link-status-enum; - default "default"; - description "Enable or disable link-status messages"; - } - } - - container interface-configurations { - description "interface configurations"; - - list interface-configuration { - key "active interface-name"; - description "The configuration for an interface"; - - container dampening { - description - "Whether this interface's state changes are - dampened or not"; - leaf args { - type enumeration { - enum default-values { - value 0; - description "Default values"; - } - enum specify-half-life { - value 1; - description "Half Life Specified"; - } - enum specify-all { - value 4; - description - "All Arguments except Restart Penalty - Specified"; - } - enum specify-rp { - value 5; - description "All Arguments Specified"; - } - } - description "Dampening Arguments"; - } - leaf half-life { - when "../args = 'specify-half-life' or ../args ="+ - " 'specify-all' or ../args = 'specify-rp'" { - description - "../Args = 1 or ../Args = 4 or ../Args = 5"; - } - type uint32 { - range "1..45"; - } - units "minute"; - description "Decay half life (in minutes)"; - } - leaf reuse-threshold { - when "../args = 'specify-all' or ../args = 'specify-rp'" { - description "../Args = 4 or ../Args = 5"; - } - type uint32 { - range "1..20000"; - } - description "Reuse threshold"; - } - leaf suppress-threshold { - when "../args = 'specify-all' or ../args = 'specify-rp'" { - description "../Args = 4 or ../Args = 5"; - } - type uint32 { - range "1..20000"; - } - description "Suppress threshold"; - } - leaf suppress-time { - when "../args = 'specify-all' or ../args = 'specify-rp'" { - description "../Args = 4 or ../Args = 5"; - } - type uint32 { - range "1..255"; - } - units "minute"; - description "Max suppress time (in minutes)"; - } - leaf restart-penalty { - when "../args = 'specify-rp'" { - description "../Args = 5"; - } - type uint32 { - range "0..20000"; - } - description "Restart penalty"; - } - } - - container mtus { - description "The MTU configuration for the interface"; - - list mtu { - key "owner"; - description "The MTU for the interface"; - leaf owner { - type xr:Cisco-ios-xr-string; - description - "The Owner of the interface - eg. for - 'LoopbackX' main interface this is 'loopback'"; - } - leaf mtu { - type uint32 { - range "64..65535"; - } - mandatory true; - description "The MTU value"; - } - } - } - - container encapsulation { - description "The encapsulation on the interface"; - leaf encapsulation { - type string; - description "The encapsulation - e.g. hdlc, ppp"; - } - leaf capsulation-options { - type int32; - description - "The options for this capsulation, usually '0'"; - } - } - leaf shutdown { - type empty; - description - "The existence of this configuration indicates - the interface is shut down"; - } - leaf interface-virtual { - type empty; - description - "The mode in which an interface is running. The - existence of this object causes the creation of - the software virtual/subinterface."; - } - leaf secondary-admin-state { - type Secondary-admin-state-enum; - description "The secondary admin state of the interface"; - } - leaf interface-mode-non-physical { - type Interface-mode-enum; - default "default"; - description - "The mode in which an interface is running. The - existence of this object causes the creation of - the software subinterface."; - } - leaf bandwidth { - type uint32 { - range "0..4294967295"; - } - units "kbit/s"; - description "The bandwidth of the interface in kbps"; - } - leaf link-status { - type empty; - description - "Enable interface and line-protocol state change - alarms"; - } - leaf description { - type string; - description "The description of this interface"; - } - leaf active { - type Interface-active; - description - "Whether the interface is active or - preconfigured"; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub1.yang deleted file mode 100644 index 5ce5927..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub1.yang +++ /dev/null @@ -1,110 +0,0 @@ -submodule Cisco-IOS-XR-ifmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-ifmgr-oper { - prefix Cisco-IOS-XR-ifmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ifmgr-oper-sub2 { - revision-date 2015-07-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ifmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping IMDS-IFATTR-BASE-INFO { - description "Basic interface information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf parent-interface { - type xr:Interface-name; - description "Parent Interface"; - } - leaf type { - type string; - description "Interface type"; - } - leaf state { - type Im-state-enum; - description "Operational state"; - } - leaf actual-state { - type Im-state-enum; - description - "Operational state with no translation of error - disable or shutdown"; - } - leaf line-state { - type Im-state-enum; - description "Line protocol state"; - } - leaf actual-line-state { - type Im-state-enum; - description - "Line protocol state with no translation of error - disable or shutdown"; - } - leaf encapsulation { - type string; - description "Interface encapsulation"; - } - leaf encapsulation-type-string { - type string { - length "0..32"; - } - description "Interface encapsulation description string"; - } - leaf mtu { - type uint32; - units "byte"; - description "MTU in bytes"; - } - leaf sub-interface-mtu-overhead { - type uint32; - description "Subif MTU overhead"; - } - leaf l2-transport { - type boolean; - description "L2 transport"; - } - leaf bandwidth { - type uint32; - description "Interface bandwidth (Kb/s)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub2.yang deleted file mode 100644 index 10a910e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper-sub2.yang +++ /dev/null @@ -1,190 +0,0 @@ -submodule Cisco-IOS-XR-ifmgr-oper-sub2 { - - belongs-to Cisco-IOS-XR-ifmgr-oper { - prefix Cisco-IOS-XR-ifmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ifmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - - grouping IM-SHOW-DAMP-NODE { - description "IM SHOW DAMP NODE"; - - container capsulation-dampening { - description "Capsulation dampening"; - uses IM-SHOW-DAMP-NODE-INFO; - } - leaf capsulation-number { - type string; - description "Capsulation number"; - } - } - - grouping IM-SHOW-DAMP-NODE-INFO { - description "IM SHOW DAMP NODE INFO"; - leaf penalty { - type uint32; - description "Dampening penalty of the interface"; - } - leaf is-suppressed-enabled { - type boolean; - description "Flag showing if state is suppressed"; - } - leaf seconds-remaining { - type uint32; - units "second"; - description "Remaining period of suppression in secs"; - } - leaf flaps { - type uint32; - description "Number of underlying state flaps"; - } - leaf state { - type Im-state-enum; - description "Underlying state of the node"; - } - } - - grouping IM-SHOW-DAMP-INFO { - description "IM show dampening bag"; - - container interface-dampening { - description "Interface dampening"; - uses IM-SHOW-DAMP-NODE-INFO; - } - leaf state-transition-count { - type uint32; - description "The number of times the state has changed"; - } - leaf last-state-transition-time { - type uint32; - description - "The time elasped after the last state transition"; - } - leaf is-dampening-enabled { - type boolean; - description "Flag showing if dampening is enabled"; - } - leaf half-life { - type uint32; - units "minute"; - description "Configured decay half life in mins"; - } - leaf reuse-threshold { - type uint32; - description "Configured reuse threshold"; - } - leaf suppress-threshold { - type uint32; - description "Value of suppress threshold"; - } - leaf maximum-suppress-time { - type uint32; - units "minute"; - description "Maximum suppress time in mins"; - } - leaf restart-penalty { - type uint32; - description "Configured restart penalty"; - } - - list capsulation { - description "Dampening information for capsulations"; - uses IM-SHOW-DAMP-NODE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper.yang deleted file mode 100644 index a07cc7f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ifmgr-oper.yang +++ /dev/null @@ -1,231 +0,0 @@ -module Cisco-IOS-XR-ifmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper"; - - - prefix "ifmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ifmgr-oper-sub2 { - revision-date 2015-07-30; - } - - include Cisco-IOS-XR-ifmgr-oper-sub1 { - revision-date 2015-07-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ifmgr package operational data. - - This module contains definitions - for the following management objects: - interface-dampening: Interface dampening data - interface-properties: interface properties - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping INTERFACE-TABLE { - description - "Common node of system-view, locationview, - pq-node-location"; - - container interfaces { - description - "Operational data for all interfaces and - controllers"; - - list interface { - key "interface-name"; - description - "The operational attributes for a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IMDS-IFATTR-BASE-INFO; - } - } - } - - container interface-dampening { - config false; - description "Interface dampening data"; - - container interfaces { - description - "The interface list for which dampening info is - available"; - - list interface { - key "interface-name"; - description - "The interface for which dampening info is being - queried"; - - container if-dampening { - description "Dampening info for the interface"; - uses IM-SHOW-DAMP-INFO; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the"; - } - } - } - - container nodes { - description "The location of the interface(s) being queried"; - - list node { - key "node-name"; - description - "The location of the interface(s) being queried"; - - container show { - description "Show details for the interfaces"; - - container dampening { - description - "Dampening information of the interface(s) - being queried"; - - container if-handles { - description - "Interface handle for which dampening info - queried"; - - list if-handle { - key "interface-handle-name"; - description - "Dampening info for the interface handle"; - leaf interface-handle-name { - type xr:Cisco-ios-xr-string; - description "The interface handle"; - } - uses IM-SHOW-DAMP-INFO; - } - } - - container interfaces { - description - "Table of interfaces for which dampening info - can be queried"; - - list interface { - key "interface-name"; - description "Dampening info for the interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the"; - } - uses IM-SHOW-DAMP-INFO; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "The location of the interface(s)"; - } - } - } - } - - container interface-properties { - config false; - description "interface properties"; - - container data-nodes { - description "Operational data for interfaces"; - - list data-node { - key "data-node-name"; - description - "The location of a (D)RP in the same LR as the - interface being queried"; - - container locationviews { - description - "Location-specific view of interface - operational data"; - - list locationview { - key "locationview-name"; - description - "Operational data for all interfaces and - controllers on a particular node"; - leaf locationview-name { - type xr:Node-id; - description "The location to filter on"; - } - uses INTERFACE-TABLE; - } - } - - container pq-node-locations { - description - "Partially qualified Location-specific view of - interface operational data"; - - list pq-node-location { - key "pq-node-name"; - description - "Operational data for all interfaces and - controllers on a particular pq_node"; - leaf pq-node-name { - type xr:Pq-node-id; - description - "The partially qualified location to filter - on"; - } - uses INTERFACE-TABLE; - } - } - - container system-view { - description - "System-wide view of interface operational data"; - uses INTERFACE-TABLE; - } - leaf data-node-name { - type xr:Node-id; - description "The location of the (D)RP"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-cfg.yang deleted file mode 100644 index f3cd360..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-cfg.yang +++ /dev/null @@ -1,117 +0,0 @@ -module Cisco-IOS-XR-infra-alarm-logger-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-alarm-logger-cfg"; - - - prefix "infra-alarm-logger-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-infra-alarm-logger-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-infra-syslog-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-alarm-logger package configuration. - - This YANG module augments the - Cisco-IOS-XR-infra-syslog-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-23" { - description - "Added pre-config suppression feature"; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:syslog" { - - container alarm-logger { - description "Alarm Logger Properties"; - - container alarm-filter-strings { - description "List of filter strings"; - - list alarm-filter-string { - key "filter-string"; - description "Match string to filter alarms"; - leaf filter-string { - type xr:Cisco-ios-xr-string; - description "Filter String"; - } - } - } - leaf pre-config-suppression { - type empty; - description - "Suppress events from a card/VM till its - configuration is complete"; - } - leaf severity-level { - type dt1:Alarm-logger-severity-level; - description - "Log all events with equal or higher (lower - level) severity than this"; - } - leaf pre-config-suppression-timeout { - type uint32 { - range "1..60"; - } - units "minute"; - default "15"; - description - "Timeout (in minutes) for pre-config events - suppression (default 15)"; - } - leaf buffer-size { - type uint32 { - range "1024..1024000"; - } - description "Set size of the local event buffer"; - } - leaf source-location { - type empty; - description "Enable alarm source location in message text"; - } - leaf threshold { - type uint32 { - range "10..100"; - } - default "90"; - description "Configure threshold (%) for capacity alarm"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-syslog-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang deleted file mode 100644 index c7289f2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-infra-alarm-logger-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-alarm-logger-datatypes"; - - - prefix "infra-alarm-logger-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Alarm-logger-severity-level { - type enumeration { - enum emergency { - value 0; - description "Emergency"; - } - enum alert { - value 1; - description "Alert"; - } - enum critical { - value 2; - description "Critical"; - } - enum error { - value 3; - description "Error"; - } - enum warning { - value 4; - description "Warning"; - } - enum notice { - value 5; - description "Notice"; - } - enum informational { - value 6; - description "Informational"; - } - } - description "Alarm logger severity level"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang deleted file mode 100644 index 69ec65b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang +++ /dev/null @@ -1,177 +0,0 @@ -submodule Cisco-IOS-XR-infra-alarm-logger-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-alarm-logger-oper { - prefix Cisco-IOS-XR-infra-alarm-logger-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-alarm-logger package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Al-alarm-bistate { - type enumeration { - enum not-available { - value 0; - description "not available"; - } - enum active { - value 1; - description "active"; - } - enum clear { - value 2; - description "clear"; - } - } - description "Al alarm bistate"; - } - typedef Al-alarm-severity { - type enumeration { - enum unknown { - value -1; - description "unknown"; - } - enum emergency { - value 0; - description "emergency"; - } - enum alert { - value 1; - description "alert"; - } - enum critical { - value 2; - description "critical"; - } - enum error { - value 3; - description "error"; - } - enum warning { - value 4; - description "warning"; - } - enum notice { - value 5; - description "notice"; - } - enum informational { - value 6; - description "informational"; - } - enum debugging { - value 7; - description "debugging"; - } - } - description "Al alarm severity"; - } - - grouping AL-ALDEMS-ALARM-BAG { - description "Alarm-Logger alarm"; - leaf source-id { - type string; - description - "Source Identifier(Location).Indicates the node - in which the alarm was generated"; - } - leaf timestamp { - type uint64; - units "millisecond"; - description - "Time when the alarm was generated. It is - expressed in number of milliseconds since 00:00 - :00 UTC, January 1, 1970"; - } - leaf category { - type string; - description "Category of the alarm"; - } - leaf group { - type string; - description - "Group of messages to which this alarm belongs to"; - } - leaf code { - type string; - description - "Alarm code which further qualifies the alarm - within a message group"; - } - leaf severity { - type Al-alarm-severity; - description "Severity of the alarm"; - } - leaf state { - type Al-alarm-bistate; - description "State of the alarm (bistate alarms only)"; - } - leaf correlation-id { - type uint32; - description "Correlation Identifier"; - } - leaf is-admin { - type boolean; - description "Indicates the event id admin-level"; - } - leaf additional-text { - type string; - description "Full text of the Alarm"; - } - } - - grouping AL-LOGGING-INFO-BAG { - description "Logging information"; - leaf log-buffer-size { - type uint32; - units "byte"; - description "Current Logging Buffer Size (Bytes)"; - } - leaf max-log-buffer-size { - type uint32; - units "byte"; - description "Maximum Logging Buffer Size (Bytes) "; - } - leaf record-count { - type uint32; - description "Number of Records in the Buffer"; - } - leaf capacity-threshold { - type uint32; - units "percentage"; - description - "Percentage of the buffer utilization which, when - exceeded, triggers the generation of a - notification for the clients of the XML agent"; - } - leaf severity-filter { - type Al-alarm-severity; - description "Severity Filter"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper.yang deleted file mode 100644 index 91a9cb7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-alarm-logger-oper.yang +++ /dev/null @@ -1,76 +0,0 @@ -module Cisco-IOS-XR-infra-alarm-logger-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-alarm-logger-oper"; - - - prefix "infra-alarm-logger-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-infra-alarm-logger-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-alarm-logger package operational data. - - This module contains definitions - for the following management objects: - alarm-logger: Alarm Logger operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container alarm-logger { - config false; - description "Alarm Logger operational data"; - - container buffer-status { - description - "Describes buffer utilization and parameters - configured"; - uses AL-LOGGING-INFO-BAG; - } - - container alarms { - description - "Table that contains the database of logged - alarms"; - - list alarm { - key "event-id"; - description "One of the logged alarms"; - leaf event-id { - type int32; - description "Event ID"; - } - uses AL-ALDEMS-ALARM-BAG; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang deleted file mode 100644 index 6907b1e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang +++ /dev/null @@ -1,71 +0,0 @@ -module Cisco-IOS-XR-infra-ceredundancymib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-ceredundancymib-cfg"; - - - prefix "infra-ceredundancymib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-ceredundancymib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container entity-redundancy { - description - "CISCO-ENTITY-REDUNDANCY-MIB notification - configuration"; - leaf switchover { - type empty; - description "Enable switchover notification"; - } - leaf enable { - type empty; - description - "Enable CISCO-ENTITY-REDUNDANCY-MIB notification"; - } - leaf status { - type empty; - description "Enable status change notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-confcopymib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-confcopymib-cfg.yang deleted file mode 100644 index c7281ef..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-confcopymib-cfg.yang +++ /dev/null @@ -1,61 +0,0 @@ -module Cisco-IOS-XR-infra-confcopymib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-confcopymib-cfg"; - - - prefix "infra-confcopymib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-confcopymib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container config-copy { - description - "CISCO-CONFIG-COPY-MIB notification configuration"; - leaf completion { - type empty; - description "Enable ccCopyCompletion notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-cfg.yang deleted file mode 100644 index 99599cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-cfg.yang +++ /dev/null @@ -1,507 +0,0 @@ -module Cisco-IOS-XR-infra-correlator-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-correlator-cfg"; - - - prefix "infra-correlator-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-infra-syslog-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-correlator package configuration. - - This YANG module augments the - Cisco-IOS-XR-infra-syslog-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CONTEXT-CORRELATION { - description "Common node of non-stateful, stateful"; - leaf context-correlation { - type empty; - description "Enable correlation on alarm context"; - } - } - - grouping NON-ROOT-CAUSE-TABLE { - description "Common node of non-stateful, stateful"; - - container non-root-causes { - description "Table of configured non-rootcause"; - - list non-root-cause { - key "category group message-code"; - description "A non-rootcause"; - leaf category { - type string; - description "Correlated message category"; - } - leaf group { - type string; - description "Correlated message group"; - } - leaf message-code { - type string; - description "Correlated message code"; - } - } - } - } - - grouping TIMEOUT-ROOT-CAUSE { - description "Common node of non-stateful, stateful"; - leaf timeout-root-cause { - type uint32 { - range "1..7200000"; - } - units "millisecond"; - description - "Rootcause Timeout (time to wait for rootcause) - in milliseconds"; - } - } - - grouping APPLIED-TO { - description "Common node of rule, rule-set"; - - container applied-to { - description "Applied to the Rule or Ruleset"; - - container contexts { - description "Table of configured contexts to apply"; - - list context { - key "context"; - description "A context"; - leaf context { - type string { - length "1..32"; - } - description "Context"; - } - } - } - - container locations { - description "Table of configured locations to apply"; - - list location { - key "location"; - description "A location"; - leaf location { - type xr:Node-id; - description "Location"; - } - } - } - leaf all { - type empty; - description "Apply to all of the router"; - } - } - } - - grouping TIMEOUT { - description "Common node of non-stateful, stateful"; - leaf timeout { - type uint32 { - range "1..7200000"; - } - units "millisecond"; - description - "Timeout (time to wait for active correlation) in - milliseconds"; - } - } - - grouping ROOT-CAUSE { - description "Common node of non-stateful, stateful"; - - container root-cause { - description "The root cause"; - leaf category { - type string; - description "Root message category"; - } - leaf group { - type string; - description "Root message group"; - } - leaf message-code { - type string; - description "Root message code"; - } - } - } - - augment "/a1:syslog" { - - container correlator { - description "Configure properties of the event correlator"; - - container rules { - description "Table of configured rules"; - - list rule { - key "name"; - description "Rule name"; - - container definition { - description "Configure a specified correlation rule"; - leaf timeout { - type uint32 { - range "1..7200000"; - } - description - "Timeout (time the rule is to be active) in - milliseconds"; - } - leaf category-name-entry1 { - type string; - description "Root message category name"; - } - leaf group-name-entry1 { - type string; - description "Root message group name"; - } - leaf message-code-entry1 { - type string; - description "Root message code"; - } - leaf category-name-entry2 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry2 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry2 { - type string; - description "Correlated message code"; - } - leaf category-name-entry3 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry3 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry3 { - type string; - description "Correlated message code"; - } - leaf category-name-entry4 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry4 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry4 { - type string; - description "Correlated message code"; - } - leaf category-name-entry5 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry5 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry5 { - type string; - description "Correlated message code"; - } - leaf category-name-entry6 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry6 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry6 { - type string; - description "Correlated message code"; - } - leaf category-name-entry7 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry7 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry7 { - type string; - description "Correlated message code"; - } - leaf category-name-entry8 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry8 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry8 { - type string; - description "Correlated message code"; - } - leaf category-name-entry9 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry9 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry9 { - type string; - description "Correlated message code"; - } - leaf category-name-entry10 { - type string; - description "Correlated message category name"; - } - leaf group-name-entry10 { - type string; - description "Correlated message group name"; - } - leaf message-code-entry10 { - type string; - description "Correlated message code"; - } - } - - container non-stateful { - description "The Non-Stateful Rule Type"; - uses CONTEXT-CORRELATION; - uses TIMEOUT-ROOT-CAUSE; - uses NON-ROOT-CAUSE-TABLE; - uses ROOT-CAUSE; - uses TIMEOUT; - } - - container stateful { - description "The Stateful Rule Type"; - leaf reparent { - type empty; - description - "Enable reparent of alarm on rootcause alarm - clear"; - } - leaf reissue { - type empty; - description - "Enable reissue of non-bistate alarms on - rootcause alarm clear"; - } - uses CONTEXT-CORRELATION; - uses TIMEOUT-ROOT-CAUSE; - uses NON-ROOT-CAUSE-TABLE; - uses ROOT-CAUSE; - uses TIMEOUT; - } - - container apply-to { - description "Apply the Rules"; - - container contexts { - description - "Apply rule to a specified list of contexts, - e.g. interfaces"; - leaf-list context { - type string; - max-elements "32"; - description "One or more context names"; - } - } - - container locations { - description - "Apply rule to a specified list of Locations"; - leaf-list location { - type xr:Node-id; - max-elements "32"; - description "One or more Locations"; - } - } - leaf all-of-router { - type empty; - description "Apply the rule to all of the router"; - } - } - leaf name { - type string { - length "1..32"; - } - description "Rule name"; - } - uses APPLIED-TO; - } - } - - container rule-sets { - description "Table of configured rulesets"; - - list rule-set { - key "name"; - description "Ruleset name"; - - container rulenames { - description "Table of configured rulenames"; - - list rulename { - key "rulename"; - description "A rulename"; - leaf rulename { - type string { - length "1..32"; - } - description "Rule name"; - } - } - } - leaf name { - type string { - length "1..32"; - } - description "Ruleset name"; - } - uses APPLIED-TO; - } - } - leaf buffer-size { - type uint32 { - range "1024..52428800"; - } - description "Configure size of the correlator buffer"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-syslog-cfg'"; - } - - augment "/a1:syslog" { - - container suppression { - description - "Configure properties of the syslog/alarm - suppression"; - - container rules { - description "Table of configured rules"; - - list rule { - key "name"; - description "Rule name"; - - container applied-to { - description "Applied to the Rule"; - - container sources { - description "Table of configured sources to apply"; - - list source { - key "source"; - description "An alarm source"; - leaf source { - type xr:Node-id; - description "Source"; - } - } - } - leaf all { - type empty; - description "Apply to all of the router"; - } - } - - container alarm-causes { - description "Causes of alarms to be suppressed"; - - list alarm-cause { - key "category group code"; - description - "Category, Group and Code of alarm/syslog to - be suppressed"; - leaf category { - type string { - length "1..32"; - } - description "Category"; - } - leaf group { - type string { - length "1..32"; - } - description "Group"; - } - leaf code { - type string { - length "1..32"; - } - description "Code"; - } - } - } - leaf all-alarms { - type empty; - description "Suppress all alarms"; - } - leaf name { - type string { - length "1..32"; - } - description "Rule name"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-syslog-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper-sub1.yang deleted file mode 100644 index b52aef3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper-sub1.yang +++ /dev/null @@ -1,408 +0,0 @@ -submodule Cisco-IOS-XR-infra-correlator-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-correlator-oper { - prefix Cisco-IOS-XR-infra-correlator-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-correlator package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Al-alarm-bistate { - type enumeration { - enum not-available { - value 0; - description "not available"; - } - enum active { - value 1; - description "active"; - } - enum clear { - value 2; - description "clear"; - } - } - description "Al alarm bistate"; - } - typedef Context { - type string { - length "0..33"; - } - description "Context"; - } - typedef Al-alarm-severity { - type enumeration { - enum unknown { - value -1; - description "unknown"; - } - enum emergency { - value 0; - description "emergency"; - } - enum alert { - value 1; - description "alert"; - } - enum critical { - value 2; - description "critical"; - } - enum error { - value 3; - description "error"; - } - enum warning { - value 4; - description "warning"; - } - enum notice { - value 5; - description "notice"; - } - enum informational { - value 6; - description "informational"; - } - enum debugging { - value 7; - description "debugging"; - } - } - description "Al alarm severity"; - } - typedef Ac-rule-state { - type enumeration { - enum rule-unapplied { - value 0; - description "Rule is in Unapplied state"; - } - enum rule-applied { - value 1; - description - "Rule is Applied to specified RacksSlots, - Contexts and Sources"; - } - enum rule-applied-all { - value 2; - description "Rule is Applied to all of router"; - } - } - description "Ac rule state"; - } - - grouping AC-RULE-DETAIL-BAG { - description "Correlation Rule detail information"; - - container rule-summary { - description "Rule summary, name, etc"; - uses AC-RULE-SUMMARY-BAG; - } - leaf timeout { - type uint32; - description - "Time window (in ms) for which root/all messages - are kept in correlater before sending them to - the logger"; - } - leaf root-cause-timeout { - type uint32; - description "Timeout before root cause alarm"; - } - leaf internal { - type boolean; - description "True if the rule is internal"; - } - leaf reissue-non-bistate { - type boolean; - description "Whether to reissue non-bistate alarms"; - } - leaf reparent { - type boolean; - description "Reparent"; - } - leaf context-correlation { - type boolean; - description "Whether context correlation is enabled"; - } - leaf-list apply-location { - type xr:Node-id; - description "Locations (R/S/M) to which the rule is applied"; - } - leaf-list apply-context { - type Context; - description - "Contexts (Interfaces) to which the rule is - applied"; - } - - list codes { - description "Message codes defining the rule."; - uses AC-MSG-CODE; - } - } - - grouping AC-RULE-SUMMARY-BAG { - description "Correlation Rule summary information"; - leaf rule-name-xr { - type string; - description "Correlation Rule Name"; - } - leaf stateful { - type boolean; - description "Whether the rule is stateful"; - } - leaf rule-state { - type Ac-rule-state; - description - "Applied state of the rule It could be not - applied, applied or applied to all"; - } - leaf buffered-alarms-count { - type uint32; - description - "Number of buffered alarms correlated to this - rule"; - } - } - - grouping AC-RULESET-DETAIL-BAG { - description "Correlation Ruleset detail information"; - leaf rule-set-name-xr { - type string; - description "Ruleset Name"; - } - - list rules { - description "Rules contained in a ruleset"; - uses AC-RULE-SUMMARY-BAG; - } - } - - grouping AC-RULESET-SUMMARY-BAG { - description "Correlation Ruleset summary information"; - leaf rule-set-name-xr { - type string; - description "Ruleset Name"; - } - } - - grouping AL-ALDEMS-ALARM-BAG { - description "Alarm-Logger alarm"; - leaf source-id { - type string; - description - "Source Identifier(Location).Indicates the node - in which the alarm was generated"; - } - leaf timestamp { - type uint64; - units "millisecond"; - description - "Time when the alarm was generated. It is - expressed in number of milliseconds since 00:00 - :00 UTC, January 1, 1970"; - } - leaf category { - type string; - description "Category of the alarm"; - } - leaf group { - type string; - description - "Group of messages to which this alarm belongs to"; - } - leaf code { - type string; - description - "Alarm code which further qualifies the alarm - within a message group"; - } - leaf severity { - type Al-alarm-severity; - description "Severity of the alarm"; - } - leaf state { - type Al-alarm-bistate; - description "State of the alarm (bistate alarms only)"; - } - leaf correlation-id { - type uint32; - description "Correlation Identifier"; - } - leaf is-admin { - type boolean; - description "Indicates the event id admin-level"; - } - leaf additional-text { - type string; - description "Full text of the Alarm"; - } - } - - grouping AC-ALDEMS-ALARM-BAG { - description "Correlator Alarm"; - - container alarm-info { - description "Correlated alarm information"; - uses AL-ALDEMS-ALARM-BAG; - } - leaf rule-name { - type string; - description "Correlation rule name"; - } - leaf context { - type string; - description "Context string for the alarm"; - } - } - - grouping AC-BUFFER-INFO-BAG { - description "Correlator buffer usage information"; - leaf current-size { - type uint32; - description "Current buffer usage"; - } - leaf configured-size { - type uint32; - description "Configured buffer size"; - } - } - - grouping AC-RULE-INFO-BAG { - description "Deprecated bag for correlation rule information"; - leaf rule-name-xr { - type string; - description "Correlation Rule Name"; - } - leaf timeout { - type uint32; - description - "Time window (in ms) for which root/all messages - are kept in correlater before sending them to - the logger"; - } - leaf rule-state { - type Ac-rule-state; - description - "Applied state of the rule It could be not - applied, applied or applied to all"; - } - leaf-list apply-location { - type xr:Node-id; - max-elements "32"; - description "Locations (R/S/M) to which the rule is applied"; - } - leaf-list apply-context { - type Context; - max-elements "32"; - description - "Contexts (Interfaces) to which the rule is - applied"; - } - - list codes { - max-elements "10"; - description "Message codes defining the rule."; - uses AC-MSG-CODE; - } - } - - grouping AC-MSG-CODE { - description "MSG group code pair"; - leaf category { - type string; - description - "Category of messages to which this alarm belongs"; - } - leaf group { - type string; - description "Group of messages to which this alarm belongs"; - } - leaf code { - type string; - description - "Alarm code which further qualifies the alarm - within a message group"; - } - } - - grouping AC-SUPPR-RULE-DETAIL-BAG { - description "Suppress Rule detail information"; - - container rule-summary { - description "Rule summary, name, etc"; - uses AC-SUPPR-RULE-SUMMARY-BAG; - } - leaf all-alarms { - type boolean; - description "Match any alarm"; - } - leaf alarm-severity { - type Al-alarm-severity; - description "Severity level to suppress"; - } - leaf-list apply-source { - type xr:Node-id; - description "Sources (R/S/M) to which the rule is applied"; - } - - list codes { - description "Message codes defining the rule."; - uses AC-MSG-CODE; - } - } - - grouping AC-SUPPR-RULE-SUMMARY-BAG { - description "Suppress Rule summary information"; - leaf rule-name-xr { - type string; - description "Suppress Rule Name"; - } - leaf rule-state { - type Ac-rule-state; - description - "Applied state of the rule It could be not - applied, applied or applied to all"; - } - leaf suppressed-alarms-count { - type uint32; - description - "Number of suppressed alarms associated with this - rule"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper.yang deleted file mode 100644 index 6792c41..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-correlator-oper.yang +++ /dev/null @@ -1,207 +0,0 @@ -module Cisco-IOS-XR-infra-correlator-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-correlator-oper"; - - - prefix "infra-correlator-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-infra-correlator-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-correlator package operational data. - - This module contains definitions - for the following management objects: - suppression: Suppression operational data - correlator: correlator - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container suppression { - config false; - description "Suppression operational data"; - - container rule-summaries { - description - "Table that contains the database of suppression - rule summary"; - - list rule-summary { - key "rule-name"; - description "One of the suppression rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Suppression Rule Name"; - } - uses AC-SUPPR-RULE-SUMMARY-BAG; - } - } - - container rule-details { - description - "Table that contains the database of suppression - rule details"; - - list rule-detail { - key "rule-name"; - description "Details of one of the suppression rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Suppression Rule Name"; - } - uses AC-SUPPR-RULE-DETAIL-BAG; - } - } - } - - container correlator { - config false; - description "correlator"; - - container rules { - description - "Table that contains the database of correlation - rules"; - - list rule { - key "rule-name"; - description "One of the correlation rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Correlation Rule Name"; - } - uses AC-RULE-INFO-BAG; - } - } - - container buffer-status { - description - "Describes buffer utilization and parameters - configured"; - uses AC-BUFFER-INFO-BAG; - } - - container alarms { - description "Correlated alarms Table"; - - list alarm { - key "alarm-id"; - description "One of the correlated alarms"; - leaf alarm-id { - type int32; - description "Alarm ID"; - } - uses AC-ALDEMS-ALARM-BAG; - } - } - - container rule-set-summaries { - description "Table that contains the ruleset summary info"; - - list rule-set-summary { - key "rule-set-name"; - description "Summary of one of the correlation rulesets"; - leaf rule-set-name { - type string { - length "1..32"; - } - description "Ruleset Name"; - } - uses AC-RULESET-SUMMARY-BAG; - } - } - - container rule-set-details { - description "Table that contains the ruleset detail info"; - - list rule-set-detail { - key "rule-set-name"; - description "Detail of one of the correlation rulesets"; - leaf rule-set-name { - type string { - length "1..32"; - } - description "Ruleset Name"; - } - uses AC-RULESET-DETAIL-BAG; - } - } - - container rule-details { - description - "Table that contains the database of correlation - rule details"; - - list rule-detail { - key "rule-name"; - description "Details of one of the correlation rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Correlation Rule Name"; - } - uses AC-RULE-DETAIL-BAG; - } - } - - container rule-summaries { - description - "Table that contains the database of correlation - rule summary"; - - list rule-summary { - key "rule-name"; - description "One of the correlation rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Correlation Rule Name"; - } - uses AC-RULE-SUMMARY-BAG; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-cfg.yang deleted file mode 100644 index fa5c87e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-cfg.yang +++ /dev/null @@ -1,396 +0,0 @@ -module Cisco-IOS-XR-infra-dumper-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-cfg"; - - - prefix "infra-dumper-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-dumper package configuration. - - This module contains definitions - for the following management objects: - exception: Core dump configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-28" { - description - "Fix the schema for config exception"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Copy { - type enumeration { - enum default { - value 0; - description "copy not configured"; - } - enum copy { - value 512; - description - "Dump to local memory: for time critical - processes"; - } - } - description "Copy"; - } - typedef Context { - type enumeration { - enum default { - value 0; - description "context not configured"; - } - enum context { - value 65536; - description - "Dump context info only: Overrides other options - except for 'no-core'"; - } - } - description "Context"; - } - typedef Sharedmemory { - type enumeration { - enum default { - value 0; - description "shared memory not configured"; - } - enum shared-memory { - value 2; - description "Dump shared memory of the target process"; - } - } - description "Sharedmemory"; - } - typedef Sparse { - type enumeration { - enum default { - value 0; - description "sparse not configured"; - } - enum sparse { - value 1024; - description - "Dump memory relevant to stack trace only: for - time critical processes"; - } - } - description "Sparse"; - } - typedef Nocore { - type enumeration { - enum default { - value 0; - description "no core not configured"; - } - enum no-core { - value 131072; - description - "Disable core dump for the target process: - Overrides other options"; - } - } - description "Nocore"; - } - typedef Packetmemory { - type enumeration { - enum default { - value 0; - description "packet memory not configured"; - } - enum packet-memory { - value 8; - description "Dump packet memory of the target process"; - } - } - description "Packetmemory"; - } - typedef Skipcpuinfo { - type enumeration { - enum default { - value 0; - description "skip-cpu-info not configured"; - } - enum skip-cpu-info { - value 4096; - description - "Skip CPU usage snapshot: for time critical - processes"; - } - } - description "Skipcpuinfo"; - } - typedef Mainmemory { - type enumeration { - enum default { - value 0; - description "main memory not configured"; - } - enum main-memory { - value 1; - description "Dump main memory of the target process"; - } - } - description "Mainmemory"; - } - - container exception { - description "Core dump configuration commands"; - - container choice1 { - description "Preference of the dump location"; - leaf compress { - type boolean; - must "../file-path"; - description - "Specify 'true' to compress core files dumped on - this path, 'false' to not compress"; - } - leaf lower-limit { - type uint32 { - range "0..4"; - } - must "../compress and ../file-path and ../filename and ../higher-limit"; - description - "Lower limit. This is required if Filename is - specified."; - } - leaf higher-limit { - type uint32 { - range "5..64"; - } - must "../compress and ../file-path and ../filename and ../lower-limit"; - description - "Higher limit. This is required if Filename is - specified."; - } - leaf file-path { - type string; - must "../compress"; - description "Protocol and directory"; - } - leaf filename { - type string; - must "../compress and ../file-path and ../lower-limit and ../higher-limit"; - description "Dump filename"; - } - } - - container choice3 { - description "Preference of the dump location"; - leaf compress { - type boolean; - must "../file-path"; - description - "Specify 'true' to compress core files dumped on - this path, 'false' to not compress"; - } - leaf lower-limit { - type uint32 { - range "0..4"; - } - must "../compress and ../file-path and ../filename and ../higher-limit"; - description - "Lower limit. This is required if Filename is - specified."; - } - leaf higher-limit { - type uint32 { - range "5..64"; - } - must "../compress and ../file-path and ../filename and ../lower-limit"; - description - "Higher limit. This is required if Filename is - specified."; - } - leaf file-path { - type string; - must "../compress"; - description "Protocol and directory"; - } - leaf filename { - type string; - must "../compress and ../file-path and ../lower-limit and ../higher-limit"; - description "Dump filename"; - } - } - - container process-names { - description "Specify per process configuration"; - - list process-name { - key "processname"; - description "Specify per process configuration"; - - container core-option { - description "Specify per process core option"; - leaf main-memoryval { - type Mainmemory; - default "default"; - description "Dump main memory of the target process"; - } - leaf shared-memoryval { - type Sharedmemory; - default "default"; - description "Dump shared memory of the target process"; - } - leaf packet-memoryval { - type Packetmemory; - default "default"; - description "Dump packet memory of the target process"; - } - leaf copyval { - type Copy; - default "default"; - description - "Dump to local memory: for time critical - processes"; - } - leaf sparseval { - type Sparse; - default "default"; - description - "Dump memory relevant to stack trace only: for - time critical processes"; - } - leaf skipcpuinfoval { - type Skipcpuinfo; - default "default"; - description - "Skip CPU usage snapshot: for time critical - processes"; - } - leaf contextval { - type Context; - default "default"; - description - "Dump context info only: Overrides other - options except for 'no-core'"; - } - leaf nocoreval { - type Nocore; - default "default"; - description - "Disable core dump for the target process: - Overrides other options"; - } - } - leaf processname { - type xr:Cisco-ios-xr-string; - description "Specify per process configuration"; - } - } - } - - container choice2 { - description "Preference of the dump location"; - leaf compress { - type boolean; - must "../file-path"; - description - "Specify 'true' to compress core files dumped on - this path, 'false' to not compress"; - } - leaf lower-limit { - type uint32 { - range "0..4"; - } - must "../compress and ../file-path and ../filename and ../higher-limit"; - description - "Lower limit. This is required if Filename is - specified."; - } - leaf higher-limit { - type uint32 { - range "5..64"; - } - must "../compress and ../file-path and ../filename and ../lower-limit"; - description - "Higher limit. This is required if Filename is - specified."; - } - leaf file-path { - type string; - must "../compress"; - description "Protocol and directory"; - } - leaf filename { - type string; - must "../compress and ../file-path and ../lower-limit and ../higher-limit"; - description "Dump filename"; - } - } - leaf sparse { - type boolean; - description - "Specify 'true' to enable sparse core dump, - 'false' to disable sparse core dump"; - } - leaf core-verification { - type boolean; - description "Disable core file verification"; - } - leaf core-size { - type uint32 { - range "1..4095"; - } - description - "Only print out stack trace and create no core - file beyond this size"; - } - leaf kernel-debugger { - type empty; - description "Enable kernel debugger"; - } - leaf packet-memory { - type boolean; - description - "Specify 'true' to dump packet memory for all - process, 'false' to disable dump of packet - memory"; - } - leaf sparse-size { - type uint32 { - range "1..4095"; - } - description "Switch to sparse core dump at this size"; - } - leaf memory-threshold { - type uint32 { - range "3..40"; - } - units "percentage"; - description - "Give up core dump if specified free memory can - not be secured"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang deleted file mode 100644 index 60f6a1f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang +++ /dev/null @@ -1,241 +0,0 @@ -submodule Cisco-IOS-XR-infra-dumper-exception-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-dumper-exception-oper { - prefix Cisco-IOS-XR-infra-dumper-exception-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-dumper-exception package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DISPLAY-SIZE-ST { - description "displayConfiguration"; - leaf string { - type string; - description "String "; - } - } - - grouping DISPLAY-KERNEL-TFTP-ROUTE-CONFIG-ST { - description "displayConfiguration"; - leaf slot { - type uint32; - description "Slot "; - } - leaf port { - type uint32; - description "Port "; - } - leaf ip-addr { - type string; - description "IP Address"; - } - leaf mask { - type string; - description "Mask"; - } - leaf destination { - type string; - description "Destination "; - } - leaf next-hop { - type string; - description "NextHop "; - } - } - - grouping DISPLAY-KERNEL-CONFIGURATION-ST { - description "displayFallback Configuration"; - leaf choice-fall-back { - type string; - description "Choice "; - } - leaf path { - type string; - description "Path "; - } - leaf file-name { - type string; - description "Name of the File "; - } - leaf memory { - type string; - description "Memory "; - } - } - - grouping DISPLAY-FALLBACK-CONFIGURATION-ST { - description "displayFallback Configuration"; - leaf choice-fall-back { - type string; - description "Choice "; - } - leaf path { - type string; - description "Path "; - } - leaf compress { - type string; - description "Compress on/off "; - } - leaf file-name { - type string; - description "Name of the File "; - } - leaf boot-device-str { - type string; - description "Boot Device String "; - } - leaf range-low { - type uint32; - description "Range Low "; - } - leaf range-high { - type uint32; - description "Range High "; - } - } - - grouping DISPLAY-CONFIGURATION-ST { - description "display Configuration"; - leaf choice { - type string; - description "Choice "; - } - leaf path { - type string; - description "Path "; - } - leaf compress { - type string; - description "Compress on/off "; - } - leaf file-name { - type string; - description "Name of the File "; - } - leaf range-low { - type uint32; - description "Range Low "; - } - leaf range-high { - type uint32; - description "Range High "; - } - } - - grouping DUMPER-EXCEPTION-CONFIG-XML { - description "Exception Information"; - - container display-config1 { - description "Display Configuration"; - uses DISPLAY-CONFIGURATION-ST; - } - - container display-config2 { - description "Display Configuration"; - uses DISPLAY-CONFIGURATION-ST; - } - - container display-config3 { - description "Display Configuration"; - uses DISPLAY-CONFIGURATION-ST; - } - - container display-fall-back-config1 { - description "Display fallback Configuration"; - uses DISPLAY-FALLBACK-CONFIGURATION-ST; - } - - container display-fall-back-config2 { - description "Display fallback Configuration"; - uses DISPLAY-FALLBACK-CONFIGURATION-ST; - } - - container display-fall-back-config3 { - description "Display fallback Configuration"; - uses DISPLAY-FALLBACK-CONFIGURATION-ST; - } - - container kernel-config { - description "Kernel Configuration"; - uses DISPLAY-KERNEL-CONFIGURATION-ST; - } - - container kernel-route-config { - description "Kernel Route Configuration"; - uses DISPLAY-KERNEL-TFTP-ROUTE-CONFIG-ST; - } - - container core-size { - description "Core Size"; - uses DISPLAY-SIZE-ST; - } - - container memory-threshold { - description "Memory Threshold "; - uses DISPLAY-SIZE-ST; - } - - container proc-size { - description "Proc Size"; - uses DISPLAY-SIZE-ST; - } - - container qsize { - description "QSIZE "; - uses DISPLAY-SIZE-ST; - } - leaf pak-mem { - type string; - description "Pak MEM"; - } - leaf sparse { - type string; - description "Sparse "; - } - leaf spr-size { - type string; - description "Spr Size"; - } - leaf core-verification { - type string; - description "Core Verification "; - } - leaf dump-time-out { - type string; - description "Dump Timeout "; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper.yang deleted file mode 100644 index 3e1112b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-exception-oper.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-infra-dumper-exception-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-dumper-exception-oper"; - - - prefix "infra-dumper-exception-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-infra-dumper-exception-oper-sub1 { - revision-date 2017-05-05; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-dumper-exception package operational data. - - This module contains definitions - for the following management objects: - exception: Show all exception dump configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container exception { - config false; - description "Show all exception dump configuration"; - - container enter { - description "exception bag"; - uses DUMPER-EXCEPTION-CONFIG-XML; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper-sub1.yang deleted file mode 100644 index 7c4cb2d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper-sub1.yang +++ /dev/null @@ -1,174 +0,0 @@ -submodule Cisco-IOS-XR-infra-dumper-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-dumper-oper { - prefix Cisco-IOS-XR-infra-dumper-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-dumper package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DUMPER-PKG-TABLE { - description "Package Information"; - leaf name { - type string; - description "Package name"; - } - leaf source { - type string; - description "Package Source"; - } - } - - grouping DUMPER-DLL-TABLE { - description "DLL Information"; - leaf path { - type string; - description "DLL Path"; - } - leaf text-addr { - type uint32; - description "text addr"; - } - leaf text-size { - type uint32; - description "text size"; - } - leaf data-addr { - type uint32; - description "data addr"; - } - leaf data-size { - type uint32; - description "data size"; - } - leaf version { - type uint32; - description "version"; - } - } - - grouping STACK-TRACE-ST { - description "Stack Trace"; - leaf stack-trace { - type uint32; - description "stack trace"; - } - } - - grouping CONTEXT-LOGS { - description "Context of a process core"; - leaf process-name { - type string; - description "Process name"; - } - leaf pid { - type uint32; - description "Process ID"; - } - leaf tid { - type uint32; - description "Thread ID"; - } - leaf core-dump-time { - type string; - description "Core dump time/Crash time"; - } - leaf sig-num { - type uint32; - description "Signal number"; - } - leaf sin-err-str { - type string; - description "Signal error string"; - } - leaf sig-send-pid { - type uint32; - description "Sender pid"; - } - leaf sig-code { - type uint32; - description "Signal code"; - } - leaf sin-info { - type string; - description "Signal info"; - } - leaf core-for-process { - type string; - description "Core for process at "; - } - leaf registers-info { - type string; - description "Registers Info"; - } - - list stack-trace { - description "Stack Trace"; - uses STACK-TRACE-ST; - } - - list dll-info { - description "DLL Information"; - uses DUMPER-DLL-TABLE; - } - } - - grouping DUMPER-CONTEXT-INFO-XML { - description "Dumper Context of a process core"; - leaf node { - type string; - description "Node name"; - } - - list context-info { - description "Context Information"; - uses CONTEXT-LOGS; - } - - list crash-package-information { - description "Crash Package Information"; - uses DUMPER-PKG-TABLE; - } - } - - grouping DUMPER-CRASH-INFO-XML { - description "all crash info"; - - list crash-info { - description "All crash info"; - uses DUMPER-CONTEXT-INFO-XML; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper.yang deleted file mode 100644 index 4a102d4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-dumper-oper.yang +++ /dev/null @@ -1,139 +0,0 @@ -module Cisco-IOS-XR-infra-dumper-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-infra-dumper-oper"; - - - prefix "infra-dumper-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-dumper-oper-sub1 { - revision-date 2017-05-05; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-dumper package operational data. - - This module contains definitions - for the following management objects: - context: Core dump configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ALL { - description - "Common node of context, context-number, - context-location"; - - container all { - description "context bag"; - uses DUMPER-CRASH-INFO-XML; - } - } - - grouping ENTER { - description "Common node of location, number"; - - container enter { - description "Context info bag"; - uses DUMPER-CRASH-INFO-XML; - } - } - - container context { - config false; - description "Core dump configuration commands"; - - container context-numbers { - description "Context number table"; - - list context-number { - key "context-num"; - description "Context number "; - - container locations { - description "Core Context location table"; - - list location { - key "node-name"; - description - "Operational Context for a particular location"; - leaf node-name { - type xr:Node-id; - description "The node"; - } - uses ENTER; - } - } - leaf context-num { - type int32; - description "Context for which crash dump info required"; - } - uses ALL; - } - } - - container context-locations { - description "Core Context location table"; - - list context-location { - key "node-name"; - description "Operational Context for a particular location"; - - container numbers { - description "Context number Table"; - - list number { - key "context-num"; - description "Context number"; - leaf context-num { - type int32; - description - "Context for which crash dump info required"; - } - uses ENTER; - } - } - leaf node-name { - type xr:Node-id; - description "The node"; - } - uses ALL; - } - } - uses ALL; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-cfg.yang deleted file mode 100644 index b3620f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-cfg.yang +++ /dev/null @@ -1,95 +0,0 @@ -module Cisco-IOS-XR-infra-infra-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg"; - - - prefix "infra-infra-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-infra package configuration. - - This module contains definitions - for the following management objects: - banners: Schema for Banner configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-16" { - description - "Initial Rev 1"; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Banner { - type enumeration { - enum exec { - value 0; - description "Set EXEC process creation banner"; - } - enum incoming { - value 1; - description "Set incoming terminal line banner"; - } - enum motd { - value 2; - description "Set Message of the Day banner"; - } - enum login { - value 3; - description "Set login banner"; - } - enum slip-ppp { - value 4; - description "Set Message for SLIP/PPP"; - } - enum prompt-timeout { - value 5; - description "Set Message for login authentication timeout"; - } - } - description "Banner"; - } - - container banners { - description "Schema for Banner configuration commands"; - - list banner { - key "banner-name"; - description "Select a Banner Type"; - leaf banner-name { - type Banner; - description "Banner Type"; - } - leaf banner-text { - type string; - mandatory true; - description "Banner text message"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-cfg.yang deleted file mode 100644 index 8df60b6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-cfg.yang +++ /dev/null @@ -1,232 +0,0 @@ -module Cisco-IOS-XR-infra-infra-clock-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-infra-clock-cfg"; - - - prefix "infra-infra-clock-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-infra-clock package configuration. - - This module contains definitions - for the following management objects: - clock: Configure time-of-day clock - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Clock-month { - type enumeration { - enum january { - value 0; - description "January"; - } - enum february { - value 1; - description "February"; - } - enum march { - value 2; - description "March"; - } - enum april { - value 3; - description "April"; - } - enum may { - value 4; - description "May"; - } - enum june { - value 5; - description "June"; - } - enum july { - value 6; - description "July"; - } - enum august { - value 7; - description "August"; - } - enum september { - value 8; - description "September"; - } - enum october { - value 9; - description "October"; - } - enum november { - value 10; - description "November"; - } - enum december { - value 11; - description "December"; - } - } - description "Clock month"; - } - typedef Clock-summer-time-mode { - type enumeration { - enum recurring { - value 0; - description "Recurring summer time"; - } - enum date { - value 1; - description "Absolute summer time"; - } - } - description "Clock summer time mode"; - } - - container clock { - description "Configure time-of-day clock"; - - container summer-time { - presence "Indicates a summer-time node is configured."; - description "Configure summer (daylight savings) time"; - leaf time-zone-name { - type string; - mandatory true; - description "Name of time zone in summer"; - } - leaf mode { - type Clock-summer-time-mode; - mandatory true; - description "Summer time mode"; - } - leaf start-week-number-or-start-date { - type uint32 { - range "1..31"; - } - description - " If Mode is set to 'Recurring' specify Week - number of the Month to start (first and last - strings are not allowed as they are in CLI) , - if Mode is set to 'Date' specify Date to start "; - } - leaf start-weekday-or-start-year { - type uint32 { - range "0..2035"; - } - description - " If Mode is set to 'Recurring' specify Weekday - to start , if Mode is set to 'Date' specify - Year to start "; - } - leaf start-month { - type Clock-month; - description " Month to start "; - } - leaf start-hour { - type uint32 { - range "0..23"; - } - description "Hour to start "; - } - leaf start-minute { - type uint32 { - range "0..59"; - } - description "Minute to start "; - } - leaf end-week-number-or-end-date { - type uint32 { - range "1..31"; - } - description - "If Mode is set to 'Recurring' specify Week - number of the Month to end (first and last - strings are not allowed as they are in CLI), if - Mode is set to 'Date' specify Date to End"; - } - leaf end-weekday-or-end-year { - type uint32 { - range "0..2035"; - } - description - "If Mode is set to 'Recurring' specify Weekday - to end , if Mode is set to 'Date' specify Year - to end"; - } - leaf end-month { - type Clock-month; - description " Month to end "; - } - leaf end-hour { - type uint32 { - range "0..23"; - } - description "Hour to end "; - } - leaf end-minute { - type uint32 { - range "0..59"; - } - description "Minute to end "; - } - leaf offset { - type uint32 { - range "1..1440"; - } - units "minute"; - description "Offset to add in minutes "; - } - } - - container time-zone { - presence "Indicates a time-zone node is configured."; - description "Configure time zone"; - leaf time-zone-name { - type string; - mandatory true; - description "Name of time zone"; - } - leaf hour-offset { - type int32 { - range "-23..23"; - } - units "hour"; - mandatory true; - description "Hours offset from UTC"; - } - leaf minute-offset { - type uint32 { - range "0..59"; - } - units "minute"; - default "0"; - description "Minutes offset from UTC"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang deleted file mode 100644 index 714a8cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-infra-infra-clock-linux-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-infra-clock-linux-cfg"; - - - prefix "infra-infra-clock-linux-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-infra-clock-linux package configuration. - - This module contains definitions - for the following management objects: - clock: Configure time-of-day clock - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container clock { - description "Configure time-of-day clock"; - - container time-zone { - presence "Indicates a time-zone node is configured."; - description "Configure time zone"; - leaf time-zone-name { - type string; - mandatory true; - description "Name of time zone"; - } - leaf area-name { - type string; - mandatory true; - description "Area File in zoneinfo package"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-locale-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-locale-cfg.yang deleted file mode 100644 index 3803c01..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-infra-locale-cfg.yang +++ /dev/null @@ -1,1574 +0,0 @@ -module Cisco-IOS-XR-infra-infra-locale-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-infra-locale-cfg"; - - - prefix "infra-infra-locale-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-infra-locale package configuration. - - This module contains definitions - for the following management objects: - locale: Define the geographical locale - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Locale-country { - type enumeration { - enum ad { - value 1; - description "Andorra"; - } - enum ae { - value 2; - description "United Arab Emirates"; - } - enum af { - value 3; - description "Afghanistan"; - } - enum ag { - value 4; - description "Antigua and Barbuda"; - } - enum ai { - value 5; - description "Anguilla"; - } - enum al { - value 6; - description "Albania"; - } - enum am { - value 7; - description "Armenia"; - } - enum an { - value 8; - description "Netherlands Antilles"; - } - enum ao { - value 9; - description "Angola"; - } - enum aq { - value 10; - description "Antarctica"; - } - enum ar { - value 11; - description "Argentina"; - } - enum as { - value 12; - description "American Samoa"; - } - enum at { - value 13; - description "Austria"; - } - enum au { - value 14; - description "Australia"; - } - enum aw { - value 15; - description "Aruba"; - } - enum az { - value 16; - description "Azerbaijan"; - } - enum ba { - value 17; - description "Bosnia and Herzegovina"; - } - enum bb { - value 18; - description "Barbados"; - } - enum bd { - value 19; - description "Bangladesh"; - } - enum be { - value 20; - description "Belgium"; - } - enum bf { - value 21; - description "Burkina Faso"; - } - enum bg { - value 22; - description "Bulgaria"; - } - enum bh { - value 23; - description "Bahrain"; - } - enum bi { - value 24; - description "Burundi"; - } - enum bj { - value 25; - description "Benin"; - } - enum bm { - value 26; - description "Bermuda"; - } - enum bn { - value 27; - description "Brunei Darussalam"; - } - enum bo { - value 28; - description "Bolivia"; - } - enum br { - value 29; - description "Brazil"; - } - enum bs { - value 30; - description "Bahamas"; - } - enum bt { - value 31; - description "Bhutan"; - } - enum bv { - value 32; - description "Bouvet Island"; - } - enum bw { - value 33; - description "Botswana"; - } - enum by { - value 34; - description "Belarus"; - } - enum bz { - value 35; - description "Belize"; - } - enum ca { - value 36; - description "Canada"; - } - enum cc { - value 37; - description "Cocos (Keeling) Islands"; - } - enum cd { - value 38; - description "Congo, The Democratic Republic of the (Zaire)"; - } - enum cf { - value 39; - description "Central African Republic"; - } - enum cg { - value 40; - description "Congo"; - } - enum ch { - value 41; - description "Switzerland"; - } - enum ci { - value 42; - description "Cote D'Ivoire"; - } - enum ck { - value 43; - description "Cook Islands"; - } - enum cl { - value 44; - description "Chile"; - } - enum cm { - value 45; - description "Cameroon"; - } - enum cn { - value 46; - description "China"; - } - enum co { - value 47; - description "Colombia"; - } - enum cr { - value 48; - description "Costa Rica"; - } - enum cu { - value 49; - description "Cuba"; - } - enum cv { - value 50; - description "Cape Verde"; - } - enum cx { - value 51; - description "Christmas Island"; - } - enum cy { - value 52; - description "Cyprus"; - } - enum cz { - value 53; - description "Czech Republic"; - } - enum de { - value 54; - description "Germany"; - } - enum dj { - value 55; - description "Djibouti"; - } - enum dk { - value 56; - description "Denmark"; - } - enum dm { - value 57; - description "Dominica"; - } - enum do { - value 58; - description "Dominican Republic"; - } - enum dz { - value 59; - description "Algeria"; - } - enum ec { - value 60; - description "Ecuador"; - } - enum ee { - value 61; - description "Estonia"; - } - enum eg { - value 62; - description "Egypt"; - } - enum eh { - value 63; - description "Western Sahara"; - } - enum er { - value 64; - description "Eritrea"; - } - enum es { - value 65; - description "Spain"; - } - enum et { - value 66; - description "Ethiopia"; - } - enum fi { - value 67; - description "Finland"; - } - enum fj { - value 68; - description "Fiji"; - } - enum fk { - value 69; - description "Falkland Islands (Malvinas)"; - } - enum fm { - value 70; - description "Micronesia, Federated States of"; - } - enum fo { - value 71; - description "Faroe Islands"; - } - enum fr { - value 72; - description "France"; - } - enum ga { - value 73; - description "Gabon"; - } - enum gb { - value 74; - description "United Kingdom"; - } - enum gd { - value 75; - description "Grenada"; - } - enum ge { - value 76; - description "Georgia"; - } - enum gf { - value 77; - description "French Guiana"; - } - enum gh { - value 78; - description "Ghana"; - } - enum gi { - value 79; - description "Gibraltar"; - } - enum gl { - value 80; - description "Greenland"; - } - enum gm { - value 81; - description "Gambia"; - } - enum gn { - value 82; - description "Guinea"; - } - enum gp { - value 83; - description "Guadeloupe"; - } - enum gq { - value 84; - description "Equatorial Guinea"; - } - enum gr { - value 85; - description "Greece"; - } - enum gs { - value 86; - description "South Georgia and the South Sandwich Islands"; - } - enum gt { - value 87; - description "Guatemala"; - } - enum gu { - value 88; - description "Guam"; - } - enum gw { - value 89; - description "Guinea Bissau"; - } - enum gy { - value 90; - description "Guyana"; - } - enum hk { - value 91; - description "Hong Kong"; - } - enum hm { - value 92; - description "Heard Island and McDonald Islands"; - } - enum hn { - value 93; - description "Honduras"; - } - enum hr { - value 94; - description "Croatia"; - } - enum ht { - value 95; - description "Haiti"; - } - enum hu { - value 96; - description "Hungary"; - } - enum id { - value 97; - description "Indonesia"; - } - enum ie { - value 98; - description "Ireland"; - } - enum il { - value 99; - description "Israel"; - } - enum in { - value 100; - description "India"; - } - enum io { - value 101; - description "British Indian Ocean Territory"; - } - enum iq { - value 102; - description "Iraq"; - } - enum ir { - value 103; - description "Iran, Islamic Republic of"; - } - enum is { - value 104; - description "Iceland"; - } - enum it { - value 105; - description "Italy"; - } - enum jm { - value 106; - description "Jamaica"; - } - enum jo { - value 107; - description "Jordan"; - } - enum jp { - value 108; - description "Japan"; - } - enum ke { - value 109; - description "Kenya"; - } - enum kg { - value 110; - description "Kyrgyzstan"; - } - enum kh { - value 111; - description "Cambodia"; - } - enum ki { - value 112; - description "Kiribati"; - } - enum km { - value 113; - description "Comoros"; - } - enum kn { - value 114; - description "Saint Kitts and Nevis"; - } - enum kp { - value 115; - description "Korea, Democratic People's Republic of"; - } - enum kr { - value 116; - description "Korea, Republic of"; - } - enum kw { - value 117; - description "Kuwait"; - } - enum ky { - value 118; - description "Cayman Islands"; - } - enum kz { - value 119; - description "Kazakstan"; - } - enum la { - value 120; - description "Lao People's Democratic Republic"; - } - enum lb { - value 121; - description "Lebanon"; - } - enum lc { - value 122; - description "Saint Lucia"; - } - enum li { - value 123; - description "Liechtenstein"; - } - enum lk { - value 124; - description "Sri Lanka"; - } - enum lr { - value 125; - description "Liberia"; - } - enum ls { - value 126; - description "Lesotho"; - } - enum lt { - value 127; - description "Lithuania"; - } - enum lu { - value 128; - description "Luxembourg"; - } - enum lv { - value 129; - description "Latvia"; - } - enum ly { - value 130; - description "Libyan Arab Jamahiriya"; - } - enum ma { - value 131; - description "Morocco"; - } - enum mc { - value 132; - description "Monaco"; - } - enum md { - value 133; - description "Moldova, Republic of"; - } - enum mg { - value 134; - description "Madagascar"; - } - enum mh { - value 135; - description "Marshall Islands"; - } - enum mk { - value 136; - description "Macedonia, The Former Yugoslav Republic of"; - } - enum ml { - value 137; - description "Mali"; - } - enum mm { - value 138; - description "Myanmar"; - } - enum mn { - value 139; - description "Mongolia"; - } - enum mo { - value 140; - description "Macau"; - } - enum mp { - value 141; - description "Northern Mariana Islands"; - } - enum mq { - value 142; - description "Martinique"; - } - enum mr { - value 143; - description "Mauritania"; - } - enum ms { - value 144; - description "Montserrat"; - } - enum mt { - value 145; - description "Malta"; - } - enum mu { - value 146; - description "Mauritius"; - } - enum mv { - value 147; - description "Maldives"; - } - enum mw { - value 148; - description "Malawi"; - } - enum mx { - value 149; - description "Mexico"; - } - enum my { - value 150; - description "Malaysia"; - } - enum mz { - value 151; - description "Mozambique"; - } - enum na { - value 152; - description "Namibia"; - } - enum nc { - value 153; - description "New Caledonia"; - } - enum ne { - value 154; - description "Niger"; - } - enum nf { - value 155; - description "Norfolk Island"; - } - enum ng { - value 156; - description "Nigeria"; - } - enum ni { - value 157; - description "Nicaragua"; - } - enum nl { - value 158; - description "Netherlands"; - } - enum no { - value 159; - description "Norway"; - } - enum np { - value 160; - description "Nepal"; - } - enum nr { - value 161; - description "Nauru"; - } - enum nu { - value 162; - description "Niue"; - } - enum nz { - value 163; - description "New Zealand"; - } - enum om { - value 164; - description "Oman"; - } - enum pa { - value 165; - description "Panama"; - } - enum pe { - value 166; - description "Peru"; - } - enum pf { - value 167; - description "French Polynesia"; - } - enum pg { - value 168; - description "Papua New Guinea"; - } - enum ph { - value 169; - description "Philippines"; - } - enum pk { - value 170; - description "Pakistan"; - } - enum pl { - value 171; - description "Poland"; - } - enum pm { - value 172; - description "Saint Pierre and Miquelon"; - } - enum pn { - value 173; - description "Pitcairn"; - } - enum pr { - value 174; - description "Puerto Rico"; - } - enum pt { - value 175; - description "Portugal"; - } - enum pw { - value 176; - description "Palau"; - } - enum py { - value 177; - description "Paraguay"; - } - enum qa { - value 178; - description "Qatar"; - } - enum re { - value 179; - description "Reunion"; - } - enum ro { - value 180; - description "Romania"; - } - enum ru { - value 181; - description "Russian Federation"; - } - enum rw { - value 182; - description "Rwanda"; - } - enum sa { - value 183; - description "Saudi Arabia"; - } - enum sb { - value 184; - description "Solomon Islands"; - } - enum sc { - value 185; - description "Seychelles"; - } - enum sd { - value 186; - description "Sudan"; - } - enum se { - value 187; - description "Sweden"; - } - enum sg { - value 188; - description "Singapore"; - } - enum sh { - value 189; - description "Saint Helena"; - } - enum si { - value 190; - description "Slovenia"; - } - enum sj { - value 191; - description "Svalbard and Jan Mayen"; - } - enum sk { - value 192; - description "Slovakia"; - } - enum sl { - value 193; - description "Sierra Leone"; - } - enum sm { - value 194; - description "San Marino"; - } - enum sn { - value 195; - description "Senegal"; - } - enum so { - value 196; - description "Somalia"; - } - enum sr { - value 197; - description "Suriname"; - } - enum st { - value 198; - description "Sao Tome and Principe"; - } - enum sv { - value 199; - description "El Salvador"; - } - enum sy { - value 200; - description "Syrian Arab Republic"; - } - enum sz { - value 201; - description "Swaziland"; - } - enum tc { - value 202; - description "Turks and Caicos Islands"; - } - enum td { - value 203; - description "Chad"; - } - enum tf { - value 204; - description "French Southern Territories"; - } - enum tg { - value 205; - description "Togo"; - } - enum th { - value 206; - description "Thailand"; - } - enum tj { - value 207; - description "Tajikistan"; - } - enum tk { - value 208; - description "Tokelau"; - } - enum tm { - value 209; - description "Turkmenistan"; - } - enum tn { - value 210; - description "Tunisia"; - } - enum to { - value 211; - description "Tonga"; - } - enum tp { - value 212; - description "East Timor"; - } - enum tr { - value 213; - description "Turkey"; - } - enum tt { - value 214; - description "Trinidad and Tobago"; - } - enum tv { - value 215; - description "Tuvalu"; - } - enum tw { - value 216; - description "Taiwan, Province of China"; - } - enum tz { - value 217; - description "Tanzania, United Republic of"; - } - enum ua { - value 218; - description "Ukraine"; - } - enum ug { - value 219; - description "Uganda"; - } - enum um { - value 220; - description "United States Minor Outlying Islands"; - } - enum us { - value 221; - description "United States"; - } - enum uy { - value 222; - description "Uruguay"; - } - enum uz { - value 223; - description "Uzbekistan"; - } - enum va { - value 224; - description "Holy See (Vatican City State)"; - } - enum vc { - value 225; - description "Saint Vincent and The Grenadines"; - } - enum ve { - value 226; - description "Venezuela"; - } - enum vg { - value 227; - description "Virgin Islands, British"; - } - enum vi { - value 228; - description "Virgin Islands, U.S."; - } - enum vn { - value 229; - description "Vietnam"; - } - enum vu { - value 230; - description "Vanuatu"; - } - enum wf { - value 231; - description "Wallis and Futuna"; - } - enum ws { - value 232; - description "Samoa"; - } - enum ye { - value 233; - description "Yemen"; - } - enum yt { - value 234; - description "Mayotte"; - } - enum yu { - value 235; - description "Yugoslavia"; - } - enum za { - value 236; - description "South Africa"; - } - enum zm { - value 237; - description "Zambia"; - } - enum zw { - value 238; - description "Zimbabwe"; - } - } - description "Locale country"; - } - typedef Locale-language { - type enumeration { - enum aa { - value 1; - description "Afar"; - } - enum ab { - value 2; - description "Abkhazian"; - } - enum af { - value 3; - description "Afrikaans"; - } - enum am { - value 4; - description "Amharic"; - } - enum ar { - value 5; - description "Arabic"; - } - enum as { - value 6; - description "Assamese"; - } - enum ay { - value 7; - description "Aymara"; - } - enum az { - value 8; - description "Azerbaijani"; - } - enum ba { - value 9; - description "Bashkir"; - } - enum be { - value 10; - description "Byelorussian"; - } - enum bg { - value 11; - description "Bulgarian"; - } - enum bh { - value 12; - description "Bihari"; - } - enum bi { - value 13; - description "Bislama"; - } - enum bn { - value 14; - description "Bengali"; - } - enum bo { - value 15; - description "Tibetan"; - } - enum br { - value 16; - description "Breton"; - } - enum ca { - value 17; - description "Catalan"; - } - enum co { - value 18; - description "Corsican"; - } - enum cs { - value 19; - description "Czech"; - } - enum cy { - value 20; - description "Welsh"; - } - enum da { - value 21; - description "Danish"; - } - enum de { - value 22; - description "German"; - } - enum dz { - value 23; - description "Bhutani"; - } - enum el { - value 24; - description "Greek"; - } - enum en { - value 25; - description "English"; - } - enum eo { - value 26; - description "Esperanto"; - } - enum es { - value 27; - description "Spanish"; - } - enum et { - value 28; - description "Estonian"; - } - enum eu { - value 29; - description "Basque"; - } - enum fa { - value 30; - description "Persian"; - } - enum fi { - value 31; - description "Finnish"; - } - enum fj { - value 32; - description "Fiji"; - } - enum fo { - value 33; - description "Faroese"; - } - enum fr { - value 34; - description "French"; - } - enum fy { - value 35; - description "Frisian"; - } - enum ga { - value 36; - description "Irish"; - } - enum gd { - value 37; - description "Scots Gaelic"; - } - enum gl { - value 38; - description "Galician"; - } - enum gn { - value 39; - description "Guarani"; - } - enum gu { - value 40; - description "Gujarati"; - } - enum ha { - value 41; - description "Hausa"; - } - enum he { - value 42; - description "Hebrew"; - } - enum hi { - value 43; - description "Hindi"; - } - enum hr { - value 44; - description "Croatian"; - } - enum hu { - value 45; - description "Hungarian"; - } - enum hy { - value 46; - description "Armenian"; - } - enum ia { - value 47; - description "Interlingua"; - } - enum id { - value 48; - description "Indonesian"; - } - enum ie { - value 49; - description "Interlingue"; - } - enum ik { - value 50; - description "Inupiak"; - } - enum is { - value 51; - description "Icelandic"; - } - enum it { - value 52; - description "Italian"; - } - enum iu { - value 53; - description "Inuktitut"; - } - enum ja { - value 54; - description "Japanese"; - } - enum jw { - value 55; - description "Javanese"; - } - enum ka { - value 56; - description "Georgian"; - } - enum kk { - value 57; - description "Kazakh"; - } - enum kl { - value 58; - description "Greenlandic"; - } - enum km { - value 59; - description "Cambodian"; - } - enum kn { - value 60; - description "Kannada"; - } - enum ko { - value 61; - description "Korean"; - } - enum ks { - value 62; - description "Kashmiri"; - } - enum ku { - value 63; - description "Kurdish"; - } - enum ky { - value 64; - description "Kirghiz"; - } - enum la { - value 65; - description "Latin"; - } - enum ln { - value 66; - description "Lingala"; - } - enum lo { - value 67; - description "Laothian"; - } - enum lt { - value 68; - description "Lithuanian"; - } - enum lv { - value 69; - description "Latvian, Lettish"; - } - enum mg { - value 70; - description "Malagasy"; - } - enum mi { - value 71; - description "Maori"; - } - enum mk { - value 72; - description "Macedonian"; - } - enum ml { - value 73; - description "Malayalam"; - } - enum mn { - value 74; - description "Mongolian"; - } - enum mo { - value 75; - description "Moldavian"; - } - enum mr { - value 76; - description "Marathi"; - } - enum ms { - value 77; - description "Malay"; - } - enum mt { - value 78; - description "Maltese"; - } - enum my { - value 79; - description "Burmese"; - } - enum na { - value 80; - description "Nauru"; - } - enum ne { - value 81; - description "Nepali"; - } - enum nl { - value 82; - description "Dutch"; - } - enum no { - value 83; - description "Norwegian"; - } - enum oc { - value 84; - description "Occitan"; - } - enum om { - value 85; - description "(Afan) Oromo"; - } - enum or { - value 86; - description "Oriya"; - } - enum pa { - value 87; - description "Punjabi"; - } - enum pl { - value 88; - description "Polish"; - } - enum ps { - value 89; - description "Pashto, Pushto"; - } - enum pt { - value 90; - description "Portuguese"; - } - enum qu { - value 91; - description "Quechua"; - } - enum rm { - value 92; - description "Rhaeto Romance"; - } - enum rn { - value 93; - description "Kirundi"; - } - enum ro { - value 94; - description "Romanian"; - } - enum ru { - value 95; - description "Russian"; - } - enum rw { - value 96; - description "Kinyarwanda"; - } - enum sa { - value 97; - description "Sanskrit"; - } - enum sd { - value 98; - description "Sindhi"; - } - enum sg { - value 99; - description "Sangho"; - } - enum sh { - value 100; - description "Serbo Croatian"; - } - enum si { - value 101; - description "Sinhalese"; - } - enum sk { - value 102; - description "Slovak"; - } - enum sl { - value 103; - description "Slovenian"; - } - enum sm { - value 104; - description "Samoan"; - } - enum sn { - value 105; - description "Shona"; - } - enum so { - value 106; - description "Somali"; - } - enum sq { - value 107; - description "Albanian"; - } - enum sr { - value 108; - description "Serbian"; - } - enum ss { - value 109; - description "Siswati"; - } - enum st { - value 110; - description "Sesotho"; - } - enum su { - value 111; - description "Sundanese"; - } - enum sv { - value 112; - description "Swedish"; - } - enum sw { - value 113; - description "Swahili"; - } - enum ta { - value 114; - description "Tamil"; - } - enum te { - value 115; - description "Telugu"; - } - enum tg { - value 116; - description "Tajik"; - } - enum th { - value 117; - description "Thai"; - } - enum ti { - value 118; - description "Tigrinya"; - } - enum tk { - value 119; - description "Turkmen"; - } - enum tl { - value 120; - description "Tagalog"; - } - enum tn { - value 121; - description "Setswana"; - } - enum to { - value 122; - description "Tonga"; - } - enum tr { - value 123; - description "Turkish"; - } - enum ts { - value 124; - description "Tsonga"; - } - enum tt { - value 125; - description "Tatar"; - } - enum tw { - value 126; - description "Twi"; - } - enum ug { - value 127; - description "Uighur"; - } - enum uk { - value 128; - description "Ukrainian"; - } - enum ur { - value 129; - description "Urdu"; - } - enum uz { - value 130; - description "Uzbek"; - } - enum vi { - value 131; - description "Vietnamese"; - } - enum vo { - value 132; - description "Volapuk"; - } - enum wo { - value 133; - description "Wolof"; - } - enum xh { - value 134; - description "Xhosa"; - } - enum yi { - value 135; - description "Yiddish"; - } - enum yo { - value 136; - description "Yoruba"; - } - enum za { - value 137; - description "Zhuang"; - } - enum zh { - value 138; - description "Chinese"; - } - enum zu { - value 139; - description "Zulu"; - } - } - description "Locale language"; - } - - container locale { - description "Define the geographical locale"; - leaf country { - type Locale-country; - description "Name of country locale"; - } - leaf language { - type Locale-language; - description "Name of language locale"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ltrace-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ltrace-cfg.yang deleted file mode 100644 index 8299ba4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-ltrace-cfg.yang +++ /dev/null @@ -1,121 +0,0 @@ -module Cisco-IOS-XR-infra-ltrace-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg"; - - - prefix "infra-ltrace-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-config-mda-cfg { prefix "node"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-ltrace package configuration. - - This YANG module augments the - Cisco-IOS-XR-config-mda-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Infra-ltrace-mode { - type enumeration { - enum static { - value 1; - description "Set ltrace memory allocation to static mode"; - } - enum dynamic { - value 2; - description "Set ltrace memory allocation to dynamic mode"; - } - } - description "Infra ltrace mode"; - } - typedef Infra-ltrace-scale { - type enumeration { - enum 0 { - value 0; - description "Use platform-defined scale-factor"; - } - enum 1 { - value 1; - description "Do not scale down ltrace memory request"; - } - enum 2 { - value 2; - description "Scale down ltrace memory request by 2"; - } - enum 4 { - value 4; - description "Scale down ltrace memory request by 4"; - } - enum 8 { - value 8; - description "Scale down ltrace memory request by 8"; - } - enum 16 { - value 16; - description "Scale down ltrace memory request by 16"; - } - } - description "Infra ltrace scale"; - } - - grouping NODE-CFG { - description "active/preconfigured nodes configuration"; - - container ltrace { - description "Ltrace Memory configuration"; - - container allocation-params { - description "Select Ltrace mode and scale-factor"; - leaf mode { - type Infra-ltrace-mode; - description - "Select an allocation mode (static:1, dynamic - :2)"; - } - leaf scale-factor { - type Infra-ltrace-scale; - description "Select a scaling down factor"; - } - } - } - } - - augment "/node:active-nodes/node:active-node" { - uses NODE-CFG; - description "This augment extends active nodes configuration"; - } - - augment "/node:preconfigured-nodes/node:preconfigured-node" { - uses NODE-CFG; - description - "This augment extends preconfigured nodes - configuration"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-nsr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-nsr-cfg.yang deleted file mode 100644 index 83d5301..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-nsr-cfg.yang +++ /dev/null @@ -1,62 +0,0 @@ -module Cisco-IOS-XR-infra-nsr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg"; - - - prefix "infra-nsr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-nsr package configuration. - - This module contains definitions - for the following management objects: - nsr: NSR global configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-27" { - description - "IOS XR 6.4.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container nsr { - description "NSR global configuration"; - - container process-failure { - description - "Recovery action for process failures on active - RP/DRP"; - leaf switchover { - type empty; - description "Enable RP/DRP switchover on process failures"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-cfg.yang deleted file mode 100644 index 26825af..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-cfg.yang +++ /dev/null @@ -1,789 +0,0 @@ -module Cisco-IOS-XR-infra-objmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg"; - - - prefix "infra-objmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-objmgr package configuration. - - This module contains definitions - for the following management objects: - object-group: Object-group configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Start-port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Start port"; - } - typedef Port-operator { - type enumeration { - enum equal { - value 0; - description - "Match packets on ports equal to entered port - number"; - } - enum not-equal { - value 1; - description - "Match packets on ports not equal to entered - port number"; - } - enum greater-than { - value 2; - description - "Match packets on ports greater than entered - port number"; - } - enum less-than { - value 3; - description - "Match packets on ports less than entered port - number"; - } - } - description "Port operator"; - } - typedef Port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Port"; - } - typedef End-port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "End port"; - } - - container object-group { - description "Object-group configuration"; - - container port { - description "Port object group"; - - container udf-objects { - description "Table of port objects groups"; - - list udf-object { - key "object-name"; - description "Port object group"; - - container operators { - description "Table of port operators"; - - list operator { - key "operator-type port"; - description "op class"; - leaf operator-type { - type Port-operator; - description "operation for ports"; - } - leaf port { - type Port; - description "Port number"; - } - } - } - - container nested-groups { - description "Table of nested port object groups"; - - list nested-group { - key "nested-group-name"; - description "nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Name of a nested object group"; - } - } - } - - container port-ranges { - description "Table of port range addresses"; - - list port-range { - key "start-port end-port"; - description - "Match only packets on a given port range"; - leaf start-port { - type Start-port; - description "Port number"; - } - leaf end-port { - type End-port; - description "Port number"; - } - } - } - leaf description { - type string { - length "1..100"; - } - description - "Up to 100 characters describing this object"; - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Port object group name - maximum 64 - characters"; - } - } - } - } - - container network { - description "Network object group"; - - container ipv6 { - description "IPv6 object group"; - - container udf-objects { - description "Table of ipv6 object groups"; - - list udf-object { - key "object-name"; - description "IPv6 object group"; - - container nested-groups { - description "Table of nested ipv6 object groups"; - - list nested-group { - key "nested-group-name"; - description "nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Enter the name of a nested object group"; - } - } - } - - container address-ranges { - description "Table of ipv6 address ranges"; - - list address-range { - key "start-address end-address"; - description "Range of host addresses"; - leaf start-address { - type inet:ip-address-no-zone; - description "IPv6 address"; - } - leaf end-address { - type inet:ip-address-no-zone; - description "IPv6 address"; - } - } - } - - container addresses { - description "Table of ipv6 addresses"; - - list address { - key "prefix prefix-length"; - description "IPv6 address"; - leaf prefix { - type inet:ip-address-no-zone; - description "IPv6 prefix x:x::x/y"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix of the IP Address"; - } - } - } - - container hosts { - description "Table of ipv6 host addresses"; - - list host { - key "host-address"; - description "A single host address"; - leaf host-address { - type inet:ip-address-no-zone; - description "host ipv6 address"; - } - } - } - leaf description { - type string { - length "1..100"; - } - description - "Up to 100 characters describing this object"; - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "IPv6 object group name - maximum 64 - characters"; - } - } - } - } - - container ipv4 { - description "IPv4 object group"; - - container udf-objects { - description "Table of ipv4 object groups"; - - list udf-object { - key "object-name"; - description "IPv4 object group"; - - container nested-groups { - description "Table of nested ipv4 object groups"; - - list nested-group { - key "nested-group-name"; - description "Nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - } - } - - container address-ranges { - description "Table of ipv4 host address ranges"; - - list address-range { - key "start-address end-address"; - description "Range of host addresses"; - leaf start-address { - type inet:ip-address-no-zone; - description "IPv4 address"; - } - leaf end-address { - type inet:ip-address-no-zone; - description "IPv4 address"; - } - } - } - - container addresses { - description "Table of addresses"; - - list address { - key "prefix prefix-length"; - description "IPv4 address"; - leaf prefix { - type inet:ip-address-no-zone; - description "IPv4 address/prefix"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix of the IP Address"; - } - } - } - - container hosts { - description "Table of host addresses"; - - list host { - key "host-address"; - description "A single host address"; - leaf host-address { - type inet:ip-address-no-zone; - description "Host ipv4 address"; - } - } - } - leaf description { - type string { - length "1..100"; - } - description - "Up to 100 characters describing this object"; - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "IPv4 object group name - maximum 64 - characters"; - } - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang deleted file mode 100644 index f03ceae..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang +++ /dev/null @@ -1,147 +0,0 @@ -submodule Cisco-IOS-XR-infra-objmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-objmgr-oper { - prefix Cisco-IOS-XR-infra-objmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-objmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping OBJ-GROUP-IPV4-MEMBER-HOST { - description "Member host address bag"; - leaf host-address-xr { - type inet:ipv4-address; - description "Host address"; - } - } - - grouping OBJ-GROUP-IPV4-MEMBER-RANGE { - description "Member range bag"; - leaf start-address-xr { - type inet:ipv4-address; - description "Range start address"; - } - leaf end-address-xr { - type inet:ipv4-address; - description "Range end address"; - } - } - - grouping OBJ-GROUP-IPV4-MEMBER-ADDRESS { - description "Member address bag"; - leaf prefix-xr { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf prefix-length-xr { - type uint32; - description "Prefix length"; - } - } - - grouping OBJ-GROUP-IPV6-MEMBER-HOST { - description "Member host address bag"; - leaf host-address-xr { - type inet:ipv6-address; - description "Host address"; - } - } - - grouping OBJ-GROUP-IPV6-MEMBER-RANGE { - description "Member range bag"; - leaf start-address-xr { - type inet:ipv6-address; - description "Range start address"; - } - leaf end-address-xr { - type inet:ipv6-address; - description "Range end address"; - } - } - - grouping OBJ-GROUP-IPV6-MEMBER-ADDRESS { - description "Member address bag"; - leaf prefix-xr { - type inet:ipv6-address; - description "IPv4 Address"; - } - leaf prefix-length-xr { - type uint32; - description "Prefix length"; - } - } - - grouping OBJ-GROUP-PARENT { - description "Group parent bag"; - leaf parent-name { - type string; - description "Parent node"; - } - } - - grouping OBJ-GROUP-PORT-MEMBER-RANGE { - description "Member port range bag"; - leaf start-port-xr { - type uint32; - description "Port start address"; - } - leaf end-port-xr { - type uint32; - description "Port end address"; - } - } - - grouping OBJ-GROUP-PORT-MEMBER-PORT { - description "Member port operator port bag"; - leaf operator-type-xr { - type uint32; - description "Operator"; - } - leaf port-xr { - type uint32; - description "Port"; - } - } - - grouping OBJ-GROUP-MEMBER-NESTED { - description "Member nested bag"; - leaf nested-group-name-xr { - type string; - description "Nested group"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper.yang deleted file mode 100644 index 4048fb6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-objmgr-oper.yang +++ /dev/null @@ -1,825 +0,0 @@ -module Cisco-IOS-XR-infra-objmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-infra-objmgr-oper"; - - - prefix "infra-objmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-objmgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-objmgr package operational data. - - This module contains definitions - for the following management objects: - object-group: Object-group operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Start-port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Start port"; - } - typedef Port-operator { - type enumeration { - enum equal { - value 0; - description - "Match packets on ports equal to entered port - number"; - } - enum not-equal { - value 1; - description - "Match packets on ports not equal to entered - port number"; - } - enum greater-than { - value 2; - description - "Match packets on ports greater than entered - port number"; - } - enum less-than { - value 3; - description - "Match packets on ports less than entered port - number"; - } - } - description "Port operator"; - } - typedef Port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Port"; - } - typedef End-port { - type union { - type enumeration { - enum echo { - value 7; - description "Echo (7)"; - } - enum discard { - value 9; - description "Discard (9)"; - } - enum daytime { - value 13; - description "Daytime (13)"; - } - enum chargen { - value 19; - description "Character generator (19)"; - } - enum ftp-data { - value 20; - description - "FTP data connections (used infrequently, 20)"; - } - enum ftp { - value 21; - description "File Transfer Protocol (21)"; - } - enum ssh { - value 22; - description "Secure Shell (22)"; - } - enum telnet { - value 23; - description "Telnet (23)"; - } - enum smtp { - value 25; - description "Simple Mail Transport Protocol (25)"; - } - enum time { - value 37; - description "Time (37)"; - } - enum nicname { - value 43; - description "Nicname (43)"; - } - enum tacacs { - value 49; - description "TAC Access Control System (49)"; - } - enum domain { - value 53; - description "Domain Name Service (53)"; - } - enum gopher { - value 70; - description "Gopher (70)"; - } - enum finger { - value 79; - description "Finger (79)"; - } - enum www { - value 80; - description "World Wide Web (HTTP, 80)"; - } - enum host-name { - value 101; - description "NIC hostname server (101)"; - } - enum pop2 { - value 109; - description "Post Office Protocol v2 (109)"; - } - enum pop3 { - value 110; - description "Post Office Protocol v3 (110)"; - } - enum sun-rpc { - value 111; - description "Sun Remote Procedure Call (111)"; - } - enum ident { - value 113; - description "Ident Protocol (113)"; - } - enum nntp { - value 119; - description "Network News Transport Protocol (119)"; - } - enum bgp { - value 179; - description "Border Gateway Protocol (179)"; - } - enum irc { - value 194; - description "Internet Relay Chat (194)"; - } - enum pim-auto-rp { - value 496; - description "PIM Auto-RP (496)"; - } - enum exec { - value 512; - description "Exec (rsh, 512)"; - } - enum login { - value 513; - description "Login (rlogin, 513)"; - } - enum cmd { - value 514; - description "Remote commands (rcmd, 514)"; - } - enum lpd { - value 515; - description "Printer service (515)"; - } - enum uucp { - value 540; - description "Unix-to-Unix Copy Program (540)"; - } - enum klogin { - value 543; - description "Kerberos login (543)"; - } - enum kshell { - value 544; - description "Kerberos shell (544)"; - } - enum talk { - value 517; - description "Talk (517)"; - } - enum ldp { - value 646; - description "LDP session connection attempts (MPLS, 646)"; - } - } - type uint32 { - range "0..65535"; - } - } - description "End port"; - } - - container object-group { - config false; - description "Object-group operational data"; - - container port { - description "Port object group"; - - container objects { - description "Table of Object"; - - list object { - key "object-name"; - description "Port object group"; - - container nested-groups { - description "Table of NestedGroup"; - - list nested-group { - key "nested-group-name"; - description "nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - uses OBJ-GROUP-MEMBER-NESTED; - } - } - - container operators { - description "Table of Operator"; - - list operator { - description "op class"; - leaf operator-type { - type Port-operator; - description "operation for ports"; - } - leaf port { - type Port; - description "Port number"; - } - uses OBJ-GROUP-PORT-MEMBER-PORT; - } - } - - container port-ranges { - description "Table of PortRange"; - - list port-range { - description - "Match only packets on a given port range"; - leaf start-port { - type Start-port; - description "Start port number"; - } - leaf end-port { - type End-port; - description "End port number"; - } - uses OBJ-GROUP-PORT-MEMBER-RANGE; - } - } - - container parent-groups { - description "Table of ParentGroup"; - - list parent-group { - key "parent-group-name"; - description "Parent object group"; - leaf parent-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - uses OBJ-GROUP-PARENT; - } - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Port object group name"; - } - } - } - } - - container network { - description "Network object group"; - - container ipv6 { - description "IPv6 object group"; - - container objects { - description "Table of Object"; - - list object { - key "object-name"; - description "IPv6 object group"; - - container nested-groups { - description "Table of NestedGroup"; - - list nested-group { - key "nested-group-name"; - description "nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Enter the name of a nested object group"; - } - uses OBJ-GROUP-MEMBER-NESTED; - } - } - - container addresses { - description "Table of Address"; - - list address { - description "IPv6 address"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "IPv6 prefix x:x::x/y"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix of the IP Address"; - } - uses OBJ-GROUP-IPV6-MEMBER-ADDRESS; - } - } - - container address-ranges { - description "Table of AddressRange"; - - list address-range { - description "Range of host addresses"; - leaf start-address { - type inet:ipv6-address-no-zone; - description "IPv6 address"; - } - leaf end-address { - type inet:ipv6-address-no-zone; - description "IPv6 address"; - } - uses OBJ-GROUP-IPV6-MEMBER-RANGE; - } - } - - container parent-groups { - description "Table of parent object group"; - - list parent-group { - key "parent-group-name"; - description "Parent object group"; - leaf parent-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - uses OBJ-GROUP-PARENT; - } - } - - container hosts { - description "Table of Host"; - - list host { - key "host-address"; - description "A single host address"; - leaf host-address { - type inet:ipv6-address-no-zone; - description "host ipv6 address"; - } - uses OBJ-GROUP-IPV6-MEMBER-HOST; - } - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "IPv6 object group name - maximum 64 - characters"; - } - } - } - } - - container ipv4 { - description "IPv4 object group"; - - container objects { - description "Table of Object"; - - list object { - key "object-name"; - description "IPv4 object group"; - - container nested-groups { - description "Table of NestedGroup"; - - list nested-group { - key "nested-group-name"; - description "Nested object group"; - leaf nested-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - uses OBJ-GROUP-MEMBER-NESTED; - } - } - - container addresses { - description "Table of Address"; - - list address { - description "IPv4 address"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "IPv4 address/prefix"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix of the IP Address"; - } - uses OBJ-GROUP-IPV4-MEMBER-ADDRESS; - } - } - - container address-ranges { - description "Table of AddressRange"; - - list address-range { - description "Range of host addresses"; - leaf start-address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - leaf end-address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - uses OBJ-GROUP-IPV4-MEMBER-RANGE; - } - } - - container parent-groups { - description "Table of parent object group"; - - list parent-group { - key "parent-group-name"; - description "Parent object group"; - leaf parent-group-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Nested object group"; - } - uses OBJ-GROUP-PARENT; - } - } - - container hosts { - description "Table of Host"; - - list host { - key "host-address"; - description "A single host address"; - leaf host-address { - type inet:ipv4-address-no-zone; - description "Host ipv4 address"; - } - uses OBJ-GROUP-IPV4-MEMBER-HOST; - } - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "IPv4 object group name - maximum 64 - characters"; - } - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-cfg.yang deleted file mode 100755 index c7f44be..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-cfg.yang +++ /dev/null @@ -1,1931 +0,0 @@ - module Cisco-IOS-XR-infra-policymgr-cfg { - - namespace - "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg"; - - prefix "infra-policymgr-cfg"; - - import ietf-inet-types { - prefix inet; - } - - organization "Cisco Systems, Inc."; - - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ASR9k policy manager configuration. - - Copyright (c) 2013, 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-08-11" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2017-06-27" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2017-05-15" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2017-04-03" { - description - "IOS XR 6.3.1 revision."; - } - revision "2017-03-03" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2017-02-15" { - description - "IOS XR 6.2.1 revision."; - } - revision "2017-02-08" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2016-12-15" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-05-18" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2013-07-22" { - description - "Initial revision."; - } - typedef mac-address { - type string { - pattern '[0-9a-fA-F]{4}(\.[0-9a-fA-F]{4}){2}'; - } - description - "The mac-address type represents a MAC address. - The canonical representation uses lowercase characters. - It is made of three groups of four hexadecimal digits - separated by dots (.)"; - } - typedef Class-map-type { - type enumeration { - enum qos { - value 1; - description "QoS Classmap."; - } - enum traffic { - value 3; - description "TRAFFIC Classmap."; - } - enum control { - value 4; - description "Control Subscriber Classmap."; - } - } - description "Policy manager class-map type."; - } - - typedef Alarm-severity { - type string { - pattern "(informational)|(notification)|(warning)|(error)|"+ - "(critical)|(alert)|(emergency)"; - } - description "Alaram severity types."; - } - - typedef Policy-map-type { - type enumeration { - enum qos { - value 1; - description "QoS Policymap"; - } - enum pbr { - value 2; - description "PBR Policymap"; - } - enum traffic { - value 3; - description "TRAFFIC Policymap"; - } - enum subscriber-control { - value 4; - description "SUBSCRIBER-CONTROL Policymap"; - } - enum redirect { - value 6; - description "REDIRECT Policy map"; - } - enum flow-monitor { - value 7; - description "FLOWMONITOR Policy map"; - } - } - description "Policy manager policy-map type."; - } - - typedef Service-policy-type { - type string { - pattern "(PBR)|(QOS)|(REDIRECT)|(TRAFFIC)|"+ - "(pbr)|(qos)|(redirect)|(traffic)"; - } - description "Policy manager service-policy type."; - } - - typedef Pmap-class-map-type { - type enumeration { - enum qos { - value 1; - description "QoS Classmap."; - } - enum traffic { - value 2; - description "TRAFFIC Classmap."; - } - enum subscriber-control { - value 3; - description "Subscriber Control Classmap."; - } - } - description "Policy manager class-map type."; - } - - typedef Bandwidth-units { - type string { - pattern "(bps)|(kbps)|(mbps)|(gbps)|(percent)|(per-million)|"+ - "(per-thousand)"; - } - description "Supported units for bandwidth. - bps - units in Bits/Sec - kbps - units in KiloBits/Sec - mbps - units in MegaBits/Sec - gbps - units in GigaBits/Sec - percent - units in Percentage - per-million - parts per-million bandwidth value - per-thousand - Parts per-thousand bandwidth value"; - } - - typedef Bandwidth-remaining-units { - type string { - pattern "(percent)|(ratio)"; - } - description "Supported units for bandwidth remaining. - percent - units in Percentage - ratio - units in Ratio"; - } - - typedef Rate-units { - type string { - pattern "(bps)|(kbps)|(mbps)|(gbps)|(pps)|(percent)|(cellsps)"; - } - description "Supported units for police rate or peak-rate. - bps - units in Bits/Sec - kbps - units in KiloBits/Sec - mbps - units in MegaBits/Sec - gbps - units in GigaBits/Sec - pps - units in Packets/Sec - percent - units in Percentage - cellsps - units in Cells/Sec"; - } - - typedef Cac-rate-units { - type string { - pattern "(bps)|(kbps)|(mbps)|(gbps)|(cellsps)"; - } - description "Supported units for CAC rate or flow-rate. - bps - units in Bits/Sec - kbps - units in KiloBits/Sec - mbps - units in MegaBits/Sec - gbps - units in GigaBits/Sec - cellsps - units in Cells/Sec"; - } - - typedef Queue-units { - type string { - pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|"+ - "(packets)|(cells)|(percent)"; - } - description "Supported units for queue. - bytes - units in Bytes - kbytes - units in KiloBytes - mbytes - units in MegaBytes - gbytes - units in Gigabytes - us - units in Microseconds - ms - units in Milliseconds - packets - units in Packets - cells - units in Cells - percent - units in Percent"; - } - - typedef Threshold-units { - type string { - pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|"+ - "(packets)|(cells)"; - } - description "Supported units for RED threshold. - bytes - units in Bytes - kbytes - units in KiloBytes - mbytes - units in MegaBytes - gbytes - units in GigaBytes - us - units in Microseconds - ms - units in Milliseconds - packets - units in Packets - cells - units in Cells"; - } - - typedef Pfc-units { - type string { - pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|"+ - "(packets)|(cells)"; - } - description "Supported units for pfc. - bytes - units in Bytes - kbytes - units in KiloBytes - mbytes - units in MegaBytes - gbytes - units in Gigabytes - us - units in Microseconds - ms - units in Milliseconds - packets - units in Packets - cells - units in Cells"; - } - typedef Float-str { - type string { - pattern '[0-9]+(\.[0-9]+)?'; - } - description "Floating point number string representation."; - } - - typedef Dscp { - type string { - pattern "([0-9]|[1-5][0-9]|6[0-3])|"+ - "(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|"+ - "(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|"+ - "(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7)"; - } - description "DSCP value string representation. - Should be single value 0..63 or predefined string."; - } - - typedef Dscp-range { - type string { - pattern "([0-9]|[1-5][0-9]|6[0-3])|"+ - "(([0-9]|[1-5][0-9]|6[0-3])-"+ - "([0-9]|[1-5][0-9]|6[0-3]))|"+ - "(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|"+ - "(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|"+ - "(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7)"; - } - description "DSCP value or range string representation. - Should be single value 0..63 or predefined string - or range -."; - } - - typedef Num-range { - type string { - pattern '(\d+)|(\d+\-\d+)'; - } - description "Numeric value or range string representation. - Should be single value or range -."; - } - - typedef Protocol { - type string { - pattern - '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|'+ - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\-'+ - '([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))|'+ - '((ahp)|(dhcpv4)|(dhcpv6)|(eigrp)|(esp)|(gre)|(icmp)|'+ - '(igmp)|(igrp)|(ipinip)|(ipv4)|(ipv6)|(ipv6icmp)|(mpls)|'+ - '(nos)|(ospf)|(pcp)|(pim)|(ppp)|(sctp)|(tcp)|(udp))'; - } - description "Numeric value or range or string representation. - Should be single value or range 0..255."; - } - - typedef Ethertype { - type string { - pattern - "((153[6-9]|15[4-9][0-9]|1[6-9][0-9][0-9]|[2-9][0-9][0-9][0-9])|"+ - "([1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9])|"+ - "(65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]))|"+ - "((arp)|(ipv4)|(ipv6))"; - } - description "Numeric value or string representation. - Should be single value 1536..65535 or predefined string."; - } - - typedef Precedence { - type union { - type uint8 { - range "0..7"; - } - type string { - pattern "(critical)|(flash)|(flash-override)|(immediate)|"+ - "(internet)|(network)|(priority)|(routine)"; - } - } - description "Precedence value. - critical Critical precedence (5) - flash Flash precedence (3) - flash-override Flash override precedence (4) - immediate Immediate precedence (2) - internet Internetwork control precedence (6) - network Network control precedence (7) - priority Priority precedence (1) - routine Routine precedence (0)"; - } - - typedef Cos { - type uint8 { - range "0..7"; - } - description "Cos value."; - } - - typedef Idle-timeout-number { - type uint16 { - range "10..2550"; - } - units "seconds"; - description "String that idle-timeout can take."; - } - - typedef Idle-timeout-string { - type string { - pattern "(None)|(none)"; - } - description "This flow does not expire."; - } - - typedef Idle-timeout { - type union { - type Idle-timeout-number; - type Idle-timeout-string; - } - description "Idle timeout."; - } - - typedef Event-type { - type enumeration { - enum account-logoff { - description "Account logoff event."; - } - enum account-logon { - description "Account logon event."; - } - enum authentication-failure { - description "Authentication failure event."; - } - enum authentication-no-response { - description "Authentication no response event."; - } - enum authorization-failure { - description "Authorization failure event."; - } - enum authorization-no-response { - description "Authorization no response event."; - } - enum credit-exhausted { - description "Credit exhaustion event."; - } - enum exception { - description "Exception event."; - } - enum idle-timeout { - description "Idle timeout event."; - } - enum quota-depleted { - description "Quota depletion event."; - } - enum service-start { - description "Service start event."; - } - enum service-stop { - description "Service stop event."; - } - enum session-activate { - description "Session activate event."; - } - enum session-start { - description "Session start event."; - } - enum session-stop { - description "Session stop event."; - } - enum timer-expiry { - description "Timer expiry event."; - } - } - description "Event type."; - } - - typedef Execution-strategy { - type enumeration { - enum do-all { - description "Do all actions."; - } - enum do-until-failure { - description "Do all actions until failure."; - } - enum do-until-success { - description "Do all actions until success."; - } - } - description "Executuion strategy."; - } - - typedef Authorize-identifier { - type enumeration { - enum circuit-id { - description "Authorize circuit ID."; - } - enum dhcp-client-id { - description "Authorize dhcp client ID."; - } - enum remote-id { - description "Authorize remote ID."; - } - enum source-address-ipv4 { - description "Authorize source IPv4 address."; - } - enum source-address-ipv6 { - description "Authorize source IPv6 address."; - } - enum source-address-mac { - description "Authorize source MAC address."; - } - enum username { - description "Authorize username."; - } - } - description "Authorize identifier."; - } - - typedef dhcp-client-id-options { - type string { - pattern "(none)|(ascii)|(hex)"; - } - description "DHCP client Id Flag option."; - } - - grouping MATCH { - description "Supported 'match' or 'match-not' actions."; - leaf-list ipv4-dscp { - type Dscp-range; - description "Match IPv4 DSCP."; - } - leaf-list ipv6-dscp { - type Dscp-range; - description "Match IPv6 DSCP."; - } - leaf-list dscp { - type Dscp-range; - description "Match DSCP."; - } - leaf-list ipv4-precedence { - type Precedence; - description "Match IPv4 precedence."; - } - leaf-list ipv6-precedence { - type Precedence; - description "Match IPv6 precedence."; - } - leaf-list precedence { - type Precedence; - description "Match precedence."; - } - leaf-list qos-group { - type Num-range; - description "Match QoS group. - Should be value 0..512 or range."; - } - leaf-list traffic-class { - type Num-range; - description "Match Traffic Class. - Should be value 0..63 or range."; - } - leaf-list cos { - type Cos; - description "Match CoS."; - } - leaf-list inner-cos { - type Cos; - description "Match inner CoS."; - } - leaf dei { - type uint8 { - range "0..1"; - } - description "Match DEI bit."; - } - leaf dei-inner { - type uint8 { - range "0..1"; - } - description "Match DEI INNER bit."; - } - leaf-list protocol { - type Protocol; - description "Match protocol."; - } - leaf ipv4-acl { - type string { - length "1..64"; - } - description "Match IPv4 ACL."; - } - leaf ipv6-acl { - type string { - length "1..64"; - } - description "Match IPv6 ACL."; - } - leaf ethernet-services-acl { - type string { - length "1..64"; - } - description "Match Ethernet Services"; - } - leaf-list mpls-experimental-topmost { - type Cos; - description "Match MPLS experimental topmost label."; - } - leaf-list mpls-experimental-imposition { - type Cos; - description "Match MPLS experimental imposition label."; - } - leaf-list discard-class { - type Cos; - description "Match discard class."; - } - leaf-list ipv4-packet-length { - type Num-range; - description "Match IPv4 packet length. - Should be value 0..65535 or range."; - } - leaf-list ipv6-packet-length { - type Num-range; - description "Match IPv6 packet length. - Should be value 0..65535 or range."; - } - leaf-list packet-length { - type Num-range; - description "Match packet length. - Should be value 0..65535 or range."; - } - leaf mpls-disposition-ipv4-access-list { - type string { - length "1..32"; - } - description "Match MPLS Label Disposition IPv4 access list."; - } - leaf mpls-disposition-ipv6-access-list { - type string { - length "1..32"; - } - description "Match MPLS Label Disposition IPv6 access list."; - } - leaf-list vlan { - type Num-range; - description "Match VLAN ID."; - } - leaf-list inner-vlan { - type Num-range; - description "Match inner VLAN ID."; - } - leaf-list flow-tag { - type Num-range; - description "Match flow-tag. Should be value 1..63 or range."; - } - leaf-list ethertype { - type Ethertype; - description "Match Ethertype."; - } - list destination-address-ipv4 { - key "address netmask"; - description "Match destination IPv4 address."; - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address."; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "IPv4 netmask."; - } - } - list destination-address-ipv6 { - key "address prefix-length"; - description "Match destination IPv6 address."; - leaf address { - type inet:ipv6-address-no-zone; - description "IPv6 address."; - } - leaf prefix-length { - type uint8 { - range "0..128"; - } - description "IPv6 prefix length."; - } - } - leaf-list destination-port { - type Num-range; - description "Match destination port. - Should be value 0..65535 or range."; - } - leaf-list fragment-type { - type string { - pattern "(first-fragment)|(is-fragment)|(last-fragment)"; - } - max-elements 3; - description "Match fragment type for a packet."; - } - leaf-list frame-relay-dlci { - type Num-range; - description "Match frame-relay DLCI value. - Should be value 16..1007 or range."; - } - leaf fr-de { - type uint8 { - range "0..1"; - } - description "Set FrameRelay DE bit."; - } - leaf-list icmpv4-code { - type Num-range; - description "Match IPv4 ICMP code. - Should be value 0..255 or range."; - } - leaf-list icmpv4-type { - type Num-range; - description "Match IPv4 ICMP type. - Should be value 0..255 or range."; - } - leaf-list icmpv6-code { - type Num-range; - description "Match IPv6 ICMP code. - Should be value 0..255 or range."; - } - leaf-list icmpv6-type { - type Num-range; - description "Match IPv6 ICMP type. - Should be value 0..255 or range."; - } - list source-address-ipv4 { - key "address netmask"; - description "Match source IPv4 address."; - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address."; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "IPv4 netmask."; - } - } - list source-address-ipv6 { - key "address prefix-length"; - description "Match source IPv6 address."; - leaf address { - type inet:ipv6-address-no-zone; - description "IPv6 address."; - } - leaf prefix-length { - type uint8 { - range "0..128"; - } - description "IPv6 prefix length."; - } - } - leaf-list source-port { - type Num-range; - description "Match source port. - Should be value 0..65535 or range."; - } - leaf tcp-flag { - type uint16 { - range "0..4095"; - } - description "Match TCP flags."; - } - leaf authen-status { - type string { - pattern "(authenticated)|(unauthenticated)"; - } - description "Match authentication status."; - } - leaf-list circuit-id { - type string { - length "1..32"; - } - description "Match Circuit ID."; - } - leaf-list circuit-id-regex { - type string { - length "1..32"; - } - description "Match Circuit id regex."; - } - list dhcp-client-id { - key "value flag"; - description "Match dhcp client ID."; - leaf value { - type string { - length "1..32"; - } - description "Dhcp client Id."; - } - leaf flag{ - type dhcp-client-id-options; - description "Dhcp client id Ascii/Hex"; - } - } - list dhcp-client-id-regex { - key "value flag"; - description "Match dhcp client id regex."; - leaf value { - type string { - length "1..32"; - } - description "Dhcp client id regular expression."; - } - leaf flag { - type dhcp-client-id-options; - description "Dhcp client Id regex Ascii/Hex."; - } - } - list domain-name { - key "name format"; - description "Match domain name."; - leaf name { - type string { - length "1..32"; - } - description "Domain name or regular expression."; - } - leaf format { - type string { - length "1..32"; - } - description "Domain-format name."; - } - } - list domain-name-regex { - key "regex format"; - description "Match domain name."; - leaf regex { - type string { - length "1..32"; - } - description "Domain name or regular expression."; - } - leaf format { - type string { - length "1..32"; - } - description "Domain-format name."; - } - } - leaf-list remote-id { - type string { - length "1..32"; - } - description "Match remote ID."; - } - leaf-list remote-id-regex { - type string { - length "1..32"; - } - description "Match remote id regex."; - } - leaf-list service-name { - type string { - length "1..32"; - } - description "Match servicve name."; - } - leaf-list service-name-regex { - type string { - length "1..32"; - } - description "Match servicve name regular expression."; - } - leaf-list timer { - type string { - length "1..32"; - } - description "Match timer."; - } - leaf-list timer-regex { - type string { - length "1..32"; - } - description "Match timer regular expression."; - } - leaf-list user-name { - type string { - length "1..32"; - } - description "Match user name."; - } - leaf-list user-name-regex { - type string { - length "1..32"; - } - description "Match user name regular expression."; - } - leaf-list source-mac { - type string; - description "Match source MAC address."; - } - leaf-list destination-mac { - type string; - description "Match destination MAC address."; - } - leaf vpls-control { - type empty; - description "Match VPLS control"; - } - leaf vpls-broadcast{ - type empty; - description "Match VPLS Broadcast"; - } - leaf vpls-multicast { - type empty; - description "Match VPLS Multicast"; - } - leaf vpls-known { - type empty; - description "Match VPLS Known"; - } - leaf vpls-unknown { - type empty; - description "Match VPLS Unknown"; - } - } - - grouping MATCH-MATCHNOT { - description "match or match-not containers."; - container match { - description "Match rules."; - uses MATCH; - - leaf atm-clp { - type uint8 { - range "0..1"; - } - description "Match ATM CLP bit."; - } - leaf atm-oam { - type empty; - description "Match ATM OAM."; - } - leaf cac-admit { - type empty; - description "Match CAC admitted."; - } - leaf cac-unadmit { - type empty; - description "Match CAC unadmitted."; - } - container flow { - description "Match flow."; - leaf-list flow-key { - type string { - pattern "(SourceIP)|(DestinationIP)|(5Tuple)"; - } - description "Configure the flow-key parameters."; - } - container flow-cache { - description "Configure the flow-cache parameters"; - leaf idle-timeout { - type Idle-timeout; - description "Maximum time of inactivity for a flow."; - } - } - } - } - container match-not { - description "Match not rules."; - uses MATCH; - container flow { - description "Match flow."; - leaf-list flow-tag { - type uint16 { - range "1..63"; - } - description "Configure the flow-tag parameters."; - } - } - } - } - grouping CLASS-MAP-RULE { - description "Class-map rule"; - leaf class-map-mode-match-any { - when "count(../class-map-mode-match-all) = 0" { - description "Class MUST have only one mode."; - } - type empty; - description "Match all match criteria"; - } - leaf class-map-mode-match-all { - when "count(../class-map-mode-match-any) = 0" { - description "Class MUST have only one mode."; - } - type empty; - description "Match any match criteria."; - } - uses MATCH-MATCHNOT; - leaf description { - type string; - description "Description for this policy-map."; - } - } - - grouping POLICY-MARK { - description "Policy packet marking actions."; - leaf dscp { - type Dscp; - description - "Marks a packet by setting the DSCP in the ToS byte."; - } - leaf qos-group { - type uint16 { - range "0..512"; - } - description - "Sets the QoS group identifiers on IPv4 or MPLS packets. - The set qos-group is supported only on an ingress policy."; - } - leaf traffic-class { - type uint8 { - range "0..63"; - } - description - "Sets the Traffic class identifiers on IPv4 or MPLS packets."; - } - leaf discard-class { - type uint8 { - range "0..7"; - } - description - "Sets the discard class on IPv4 or MPLS packets. - The discard-class can be used only in service policies - that are attached in the ingress policy."; - } - leaf forward-class { - type uint8 { - range "0..7"; - } - description - "Sets the forward class."; - } - leaf df { - type uint8 { - range "0..1"; - } - description "Set DF bit."; - } - leaf cos { - type uint8 { - range "0..7"; - } - description - "Sets the specific IEEE 802.1Q Layer 2 CoS value of an - outgoing packet. - This command should be used by a router if a user wants - to mark a packet that is being sent to a switch. - Switches can leverage Layer 2 header information, - including a CoS value marking. Packets entering an - interface cannot be set with a CoS value."; - } - leaf inner-cos { - type uint8 { - range "0..7"; - } - description "Set inner cos."; - } - leaf precedence { - type Precedence; - description "Sets the precedence value in the IP header."; - } - leaf precedence-tunnel { - type Precedence; - description "Sets the precedence tunnel value for ipsec."; - } - leaf mpls-experimental-top-most { - type uint8 { - range "0..7"; - } - description - "Sets the experimental value of the MPLS packet top-most - labels."; - } - leaf mpls-experimental-imposition { - type uint8 { - range "0..7"; - } - description - "Sets the experimental value of the MPLS packet - imposition labels. - Imposition can be used only in service policies that - are attached in the ingress policy"; - } - leaf srp-priority { - type uint8 { - range "0..7"; - } - description - "Sets the spatial reuse protocol priority value of an - outgoing packet."; - } - leaf fr-de { - type uint8 { - range "0..1"; - } - description "Set FrameRelay DE bit."; - } - leaf dei { - type uint8 { - range "0..1"; - } - description "Set DEI bit."; - } - leaf dei-imposition { - type uint8 { - range "0..1"; - } - description "Set DEI imposition bit."; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source IPv4 address."; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination IPv4 address."; - } - } - - grouping CAC-RATE-VALUE { - description "CAC rate value."; - leaf value { - type uint32 { - range "1..4294967295"; - } - must "../units" { - description "units must be set."; - } - description "Rate value."; - } - leaf units { - type Cac-rate-units; - description "Rate units."; - } - } - - grouping POLICE-ACTION { - description "Police action."; - leaf Transmit { - type empty; - description "Police action transmit."; - } - leaf drop { - type empty; - description "Police action drop."; - } - container set { - description "Police action packet marking."; - uses POLICY-MARK; - } - } - - grouping POLICY-MAP-RULE { - description "Class-map rule."; - list event { - key "event-type"; - description "Policy event."; - leaf event-type { - type Event-type; - description "Event type."; - } - leaf event-mode-match-all { - when "count(../event-mode-match-first) = 0" { - description "Event MUST have only one mode."; - } - type empty; - description "Execute all the matched classes."; - } - leaf event-mode-match-first { - when "count(../event-mode-match-all) = 0" { - description "Event MUST have only one mode."; - } - type empty; - description "Execute only the first matched class."; - } - list class { - key "class-name class-type"; - description "Class-map rule."; - leaf class-name { - type string { - pattern '[a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}'; - } - description "Name of class."; - } - leaf class-type { - type Pmap-class-map-type; - description "Type of class."; - } - leaf class-execution-strategy { - type Execution-strategy; - description "Class execution strategy."; - } - list action-rule { - key "action-sequence-number"; - description "Action rule."; - leaf action-sequence-number { - type uint16 { - range "1..65535"; - } - description "Sequence number for this action."; - } - container activate-dynamic-template { - presence "This container is present only if actions is - related to dynamic templates."; - description "Activate dynamic templates."; - leaf name { - type string; - mandatory true; - description "Dynamic template name."; - } - leaf aaa-list { - type string; - description "Name of the AAA method list."; - } - } - container authenticate { - description "Authentication related configuration."; - leaf aaa-list { - type string; - description "Name of the AAA method list."; - } - } - container authorize { - must "format or identifier" { - description "format or identifier must be set."; - } - presence "This container is present only if actions is - related to authorization."; - description "Authorize."; - leaf aaa-list { - type string; - mandatory true; - description "Name of the AAA method list."; - } - leaf format { - type string; - description "Specify an Authorize format name."; - } - leaf identifier { - type Authorize-identifier; - description "Specify an Authorize format name."; - } - leaf password { - type string; - mandatory true; - description "Specify a password to be used for AAA - request."; - } - } - container deactivate-dynamic-template { - presence "This container is present only if actions is - related to dynamic templates."; - description "Deactivate dynamic templates."; - leaf name { - type string; - mandatory true; - description "Dynamic template name."; - } - leaf aaa-list { - type string; - description "Name of the AAA method list."; - } - } - leaf disconnect { - type empty; - description "Disconnect session."; - } - leaf monitor { - type empty; - description "Monitor session."; - } - container set-timer { - presence "This container is present only if actions is - related to timer."; - description "Set a timer to execute a rule on its - expiry"; - leaf timer-name { - type string; - mandatory true; - description "Name of the timer."; - } - leaf timer-value { - type uint32; - units "minutes"; - mandatory true; - description "Timer value in minutes."; - } - } - container stop-timer { - description "Disable timer before it expires."; - leaf timer-name { - type string; - description "Name of the timer."; - } - } - } - } - } - list policy-map-rule { - key "class-name class-type"; - description "Class-map rule."; - leaf class-name { - type string { - pattern '[a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}'; - } - description "Name of class-map."; - } - leaf class-type { - type Pmap-class-map-type; - description "Type of class-map."; - } - container shape { - must "rate" { - description "rate container must be present."; - } - description "Policy action shape."; - container rate { - description "Rate configuration."; - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Shape bandwidth value."; - } - leaf unit { - type Bandwidth-units; - description "Shape bandwidth units."; - } - } - container burst { - description "Burst size configuration."; - leaf value { - type uint32; - must "../units" { - description "units must be set."; - } - description "Burst size value."; - } - leaf units { - type Threshold-units; - description "Burst size units."; - } - } - } - container min-bandwidth { - description "Policy action minimum bandwidth queue."; - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Minimum bandwidth value."; - } - leaf unit { - type Bandwidth-units; - description "Minimum bandwidth units."; - } - } - container bandwidth-remaining { - description "Policy action bandwidth remaining queue."; - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Remaining bandwidth value."; - } - leaf unit { - type Bandwidth-remaining-units; - description "Remaining bandwidth units."; - } - } - container queue-limit { - description "Policy action queue limit."; - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Remaining bandwidth value."; - } - leaf unit { - type Queue-units; - description "Remaining bandwidth units."; - } - } - container pfc { - description "Policy action pfc."; - leaf pfc-pause-set { - type empty; - description "Pfc Pause set value."; - } - container pfc-buffer-size { - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Pfc buffer size value."; - } - leaf unit { - type Pfc-units; - description "Pfc buffer size units."; - } - } - container pfc-pause-threshold { - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Pfc pause threshold value."; - } - leaf unit { - type Pfc-units; - description "Pfc pause threshold units."; - } - } - container pfc-resume-threshold { - leaf value { - type uint32; - must "../unit" { - description "unit must be set."; - } - description "Pfc resume threshold value."; - } - leaf unit { - type Pfc-units; - description "Pfc resume threshold units."; - } - } - } - leaf priority-level { - type uint8 { - range "1..7"; - } - description "Priority level."; - } - leaf default-red { - type empty; - description "Default random early detection"; - } - leaf ecn-red { - type empty; - description "ECN based random early detection"; - } - list random-detect { - key "threshold-min-value threshold-min-units "+ - "threshold-max-value threshold-max-units"; - description "Random early detection. - All RED profiles in a class must be based - on the same field."; - leaf threshold-min-value { - type uint32; - description "Minimum RED threshold value."; - } - leaf threshold-min-units { - type Threshold-units; - description "Minimum RED threshold units."; - } - leaf threshold-max-value { - type uint32; - description "Maximum RED threshold value."; - } - leaf threshold-max-units { - type Threshold-units; - description "Maximum RED threshold units."; - } - leaf-list cos { - type Dscp-range; - description "WRED based on CoS."; - } - leaf-list discard-class { - type Cos; - description "WRED based on discard class."; - } - leaf-list dscp { - type Dscp-range; - description "WRED based on DSCP."; - } - leaf-list mpls-exp { - type Cos; - description "MPLS Experimental value based WRED."; - } - leaf-list precedence { - type Precedence; - description "WRED based on precedence."; - } - leaf dei { - type uint8 { - range "0..1"; - } - description "DEI based WRED."; - } - leaf ecn { - type empty; - description "ECN based WRED."; - } - } - container set { - description "Policy action packet marking."; - uses POLICY-MARK; - } - container police { - must "rate" { - description "rate container must be present."; - } - description "Configures traffic policing action."; - container rate { - description "Rate configuration."; - leaf value { - type uint32; - must "../units" { - description "units must be set."; - } - description "Rate value."; - } - leaf units { - type Rate-units; - description "Rate units."; - } - } - container peak-rate { - description "Peak rate configuration."; - leaf value { - type uint32; - must "../units" { - description "units must be set."; - } - description "Peak rate value."; - } - leaf units { - type Rate-units; - description "Peak rate units."; - } - } - container burst { - description "Burst configuration."; - leaf value { - type uint32; - must "../units" { - description "units must be set."; - } - description "Burst value."; - } - leaf units { - type Threshold-units; - description "Burst units."; - } - } - container peak-burst { - description "Peak burst configuration."; - leaf value { - type uint32; - must "../units" { - description "units must be set."; - } - description "Peak burst value."; - } - leaf units { - type Threshold-units; - description "Peak burst units."; - } - } - container conform-action { - description - "Configures the action to take on packets that conform - to the rate limit."; - uses POLICE-ACTION; - } - container exceed-action { - description - "Configures the action to take on packets that exceed - the rate limit."; - uses POLICE-ACTION; - } - container violate-action { - description - "Configures the action to take on packets that violate - the rate limit."; - uses POLICE-ACTION; - } - } - container service-policy { - description - "Configure a child service policy."; - leaf policy-name { - type string { - pattern '[a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}'; - } - description "Name of service-policy."; - } - leaf type { - type Service-policy-type; - description "Type of service-policy."; - } - } - container cac-local { - description "Policy action CAC."; - container rate { - description "The rate allocated for all flows."; - uses CAC-RATE-VALUE; - } - container flow-rate { - description "The rate allocated per flow."; - uses CAC-RATE-VALUE; - } - leaf flow-idle-timeout { - type Idle-timeout; - description "The interval after which a flow is removed, - if there is no activity. - If timeout is 0 this flow does not expire."; - } - } - container flow-params { - description "Policy flow monitoring action."; - leaf max-flow { - type uint16 { - range "0..4096"; - } - description - "Max simultaneous flows monitored per policy class"; - } - leaf interval-duration { - type uint32; - units "seconds"; - description "Monitored interval duration."; - } - leaf history { - type uint32; - description - "Keep stats/metrics on box for so many intervals."; - } - leaf timeout { - type uint32; - units "seconds"; - description "Declare a flow dead if no packets received in - so much time"; - } - } - container metrics-ipcbr { - description "Policy IP-CBR metric action."; - container rate { - description "Nominal per-flow data rate."; - leaf layer3 { - type uint32; - units "bps"; - description "Nominal rate specified at the L3 (IP)."; - } - leaf packet { - type uint32; - units "pps"; - description "Nominal IP layer packet rate (in pps)."; - } - leaf media { - type uint32 { - range "1..3000000000"; - } - units "bps"; - description - "Nominal data rate of the media flow (ip payload)."; - } - } - container media-packet { - description "Media-packet structure."; - leaf size { - type uint16; - units "bytes"; - description "Nominal size of the media-packet."; - } - leaf count-in-layer3 { - type uint8 { - range "1..64"; - } - units "packets"; - description - "Nominal number of media packets in an IP payload."; - } - } - } - container react { - description "Policy action react."; - leaf descrition { - type string; - description "String describing the react statement."; - } - container action { - description "Action on alert."; - leaf syslog { - type empty; - description "Syslog."; - } - leaf snmp { - type empty; - description "SNMP."; - } - } - container alarm { - description "Alaram settings."; - container type { - description "Alarm type."; - leaf discrete { - type empty; - description "Discrete alarm type."; - } - leaf group-count { - type uint16; - units "number of flows"; - description "Number of flows to reach before - triggering alarm"; - } - leaf group-percent { - type uint16; - units "percentage"; - description "Percent to reach before triggering alarm"; - } - } - leaf severity { - type Alarm-severity; - description "Severity of the alarm."; - } - } - container threshold { - description "Alarm threshold settings."; - container trigger-value { - description "Alarm trigger value settings."; - leaf greater-than { - type string; - description "Greater than"; - } - leaf greater-than-equal { - type string; - description "Greater than equal"; - } - leaf less-than { - type string; - description "Less than"; - } - leaf less-than-equal { - type string; - description "Less than equal"; - } - leaf range { - type string; - description "Range"; - } - } - container trigger-type { - description "Alarm trigger type settings."; - leaf immediate { - type empty; - description "Immediate trigger."; - } - leaf average { - type uint32; - description "Trigger averaged over N intervals."; - } - } - } - leaf criterion-delay-factor { - type empty; - description "React criterion delay factor."; - } - leaf criterion-media-stop { - type empty; - description "React criterion media stop."; - } - leaf criterion-mrv { - type empty; - description "React criterion mrv."; - } - leaf criterion-flow-count { - type empty; - description "React criterion flow count."; - } - leaf criterion-packet-rate { - type empty; - description "React criterion packet rate."; - } - } - leaf http-redirect { - type string; - description "Policy action http redirect. - Redirect to this url."; - } - leaf pbr-transmit { - type empty; - description "Policy action PBR transmit."; - } - leaf pbr-drop { - type empty; - description "Policy action PBR drop."; - } - leaf decap-gre { - type empty; - description "Policy action DECAP GRE."; - } - container pbr-redirect { - description "Policy action redirect"; - container ipv4 { - description "Policy action redirect IPv4"; - leaf ipv4-next-hop { - type inet:ipv4-address-no-zone; - description "IPv4 address."; - } - leaf vrf { - type string; - description "IPv4 VRF."; - } - } - container ipv6 { - description "Policy action redirect IPv6"; - leaf ipv6-next-hop { - type inet:ipv6-address-no-zone; - description "IPv6 address."; - } - leaf vrf { - type string; - description "IPv6 VRF."; - } - } - container next-hop { - description "Next hop address."; - container route-target { - description "Route Target"; - container ipv4-address { - description "IPv4 address."; - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address."; - } - leaf netmask { - type string; - description "IPv4 netmask."; - } - } - leaf as-number { - type uint32 { - range "1..4294967295"; - } - description "2-byte/4-byte AS number"; - } - leaf index { - type uint32 { - range "0..4294967295"; - } - description "ASN2:index 2/4 byte (hex or decimal format)"; - } - } - } - } - container pbr-forward { - description "Policy action PBR forward."; - leaf default { - type empty; - description "Use system default routing table."; - } - container next-hop { - description "Use specific next-hop. - Here we present 5 different combination - for the pbf next-hop. - 1. vrf with v6 address - 2. vrf with v4 address - 3. vrf - 4. v4 address - 5. v6 address"; - leaf vrf { - type string; - description "VRF name."; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address."; - } - leaf ipv6-address { - type inet:ipv6-address; - description "IPv6 address."; - } - } - } - leaf service-fragment { - type string; - description "Policy action service fragment. - Service fragment name"; - } - leaf fragment { - type string; - description "Policy action fragment. Fragment name"; - } - container service-function-path { - presence "This container is present for service- - function-path configuration"; - description "Policy action service function path."; - leaf path-id { - type uint32 { - range "1..16777215"; - } - mandatory true; - description "Service function path id."; - } - leaf index { - type uint8 { - range "1..255"; - } - mandatory true; - description "Service function path index."; - } - leaf metadata { - type string; - description "Service function path metadata name."; - } - } - } - leaf description { - type string; - description "Description for this policy-map."; - } - } - container policy-manager { - description "Global Policy Manager configuration."; - - container class-maps { - description "Class-maps configuration."; - list class-map { - key "type name"; - description "Class-map configuration."; - leaf type { - type Class-map-type; - description "Type of class-map."; - } - leaf name { - type string { - pattern '[a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}'; - } - description "Name of class-map."; - } - - uses CLASS-MAP-RULE; - } - } - - container policy-maps { - description "Policy-maps configuration."; - list policy-map { - key "type name"; - description "Policy-map configuration."; - leaf type { - type Policy-map-type; - description "Type of policy-map."; - } - leaf name { - type string { - pattern '[a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}'; - } - description "Name of policy-map."; - } - - uses POLICY-MAP-RULE; - } - } - } - } diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-oper.yang deleted file mode 100644 index 39dc230..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-policymgr-oper.yang +++ /dev/null @@ -1,7100 +0,0 @@ -module Cisco-IOS-XR-infra-policymgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-policymgr-oper"; - - - prefix "infra-policymgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-policymgr package operational data. - - This module contains definitions - for the following management objects: - policy-manager: Policy-map operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-27" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Policymgr-policy-map { - type enumeration { - enum qos { - value 1; - description "QoS Policymap"; - } - enum pbr { - value 2; - description "PBR Policymap"; - } - enum traffic { - value 3; - description "TRAFFIC Policymap"; - } - enum subscriber-control { - value 4; - description "SUBSCONTROL Policymap"; - } - enum accounting { - value 5; - description "ACCOUNTING Policymap"; - } - enum redirect { - value 6; - description "REDIRECT Policy map"; - } - enum flow-monitor { - value 7; - description "FlOWMONITOR Policy map"; - } - } - description "Policymgr policy map"; - } - typedef Policymgr-class-map { - type enumeration { - enum qos { - value 1; - description "QoS Classmap"; - } - enum pbr { - value 2; - description "PBR Classmap"; - } - enum traffic { - value 3; - description "TRAFFIC Classmap"; - } - enum subscriber-control { - value 4; - description "SUBSCONTROL Classmap"; - } - } - description "Policymgr class map"; - } - typedef Pclass-exec-strat-en { - type enumeration { - enum pclass-exe-strat-unspecified { - description "Unspecified"; - } - enum pclass-exe-strat-do-all { - description "Exec all actions"; - } - enum pclass-exe-strat-do-until-success { - description "Exec until one of actions succeeds"; - } - enum pclass-exe-strat-do-until-failure { - description "Exec until there is a failure"; - } - enum pclass-exe-strat-max { - description "Invalid"; - } - } - description "Policy class execution strategy"; - } - typedef Policy-map-hd-inbag { - type uint64; - description "Policy map hd inbag"; - } - typedef Match-available-id-en { - type enumeration { - enum match-avail-ident-unspecified { - value 0; - description "match avail ident unspecified"; - } - enum match-avail-ident-dnis { - value 1; - description "match avail ident dnis"; - } - enum match-avail-ident-domain { - value 2; - description "match avail ident domain"; - } - enum match-avail-ident-circuit-id { - value 3; - description "match avail ident circuit id"; - } - enum match-avail-ident-remote-id { - value 4; - description "match avail ident remote id"; - } - enum match-avail-ident-media { - value 5; - description "match avail ident media"; - } - enum match-avail-ident-nas-port { - value 6; - description "match avail ident nas port"; - } - enum match-avail-ident-protocol { - value 7; - description "match avail ident protocol"; - } - enum match-avail-ident-source-address-ipv4 { - value 8; - description "match avail ident source address ipv4"; - } - enum match-avail-ident-source-address-ipv6 { - value 9; - description "match avail ident source address ipv6"; - } - enum match-avail-ident-source-address-mac { - value 10; - description "match avail ident source address mac"; - } - enum match-avail-ident-tunnel-name { - value 11; - description "match avail ident tunnel name"; - } - enum match-avail-ident-user-name { - value 12; - description "match avail ident user name"; - } - enum match-avail-ident-vendor-id { - value 13; - description "match avail ident vendor id"; - } - enum match-avail-ident-dhcp-client-id { - value 14; - description "match avail ident dhcp client id"; - } - enum match-avail-ident-max { - value 15; - description "match avail ident max"; - } - } - description "Match available id en"; - } - typedef Afmon-alarm-type-en { - type enumeration { - enum afmon-alm-type-invalid { - value 0; - description "afmon alm type invalid"; - } - enum afmon-alm-discrete { - value 1; - description "afmon alm discrete"; - } - enum afmon-alm-grp-cnt { - value 2; - description "afmon alm grp cnt"; - } - enum afmon-alm-grp-pct { - value 3; - description "afmon alm grp pct"; - } - enum afmon-alm-type-max { - value 4; - description "afmon alm type max"; - } - } - description "Afmon alarm type en"; - } - typedef Decode-identifier-en { - type enumeration { - enum policy-decid-unspecified { - value 0; - description "policy decid unspecified"; - } - enum policy-decid-remote-id { - value 1; - description "policy decid remote id"; - } - enum policy-decid-circuit-id { - value 2; - description "policy decid circuit id"; - } - enum policy-decid-user-name { - value 3; - description "policy decid user name"; - } - enum policy-decid-max { - value 4; - description "policy decid max"; - } - } - description "Decode identifier en"; - } - typedef Class-map-name { - type string { - length "0..65"; - } - description "Class map name"; - } - typedef Policy-chk-sum { - type string { - length "0..16"; - } - description "Policy chk sum"; - } - typedef Policy-action-en { - type enumeration { - enum policy-action-none { - value 0; - description "Policy Action None"; - } - enum policy-action-unspecified { - value 1; - description "Policy Action is not specified"; - } - enum policy-action-mark { - value 2; - description "Policy Action Mark"; - } - enum policy-action-mark2 { - value 3; - description "Policy Action Mark2"; - } - enum policy-action-wred { - value 4; - description "Policy Action WRED"; - } - enum policy-action-encap-seq { - value 5; - description "Policy action encap-sequence number"; - } - enum policy-action-priority { - value 6; - description "Policy Action Priority Queue"; - } - enum policy-action-iphc { - value 7; - description "Policy Action IP Header Compression"; - } - enum policy-action-bw-remaining { - value 8; - description "Policy Action Bandwidth Remaining Queue"; - } - enum policy-action-min-bw { - value 9; - description "Policy Action Minimum Bandwidth Queue"; - } - enum policy-action-authenticate-aaa { - value 10; - description "Policy Action authenticate"; - } - enum policy-action-collect-id { - value 11; - description "Policy Action collect identifier"; - } - enum policy-action-disconnect { - value 12; - description "Policy Action disconnect session"; - } - enum policy-action-set-timer { - value 13; - description "Policy Action set timer"; - } - enum policy-action-stop-timer { - value 14; - description "Policy Action stop timer"; - } - enum policy-action-query-ancp { - value 15; - description "Policy Action query ancp"; - } - enum policy-action-accounting-aaa-list { - value 16; - description "Policy Action accounting aaa"; - } - enum policy-action-prepaid-config { - value 17; - description "Policy Action prepaid config"; - } - enum policy-action-timeout-idle { - value 18; - description "Policy Action timeout idle"; - } - enum policy-action-proxy-aaa { - value 19; - description "Policy Action proxy aaa"; - } - enum policy-action-template-activate { - value 20; - description "Policy Action activate template"; - } - enum policy-action-template-deactivate { - value 21; - description "Policy Action deactivate template"; - } - enum policy-action-decode-identifier { - value 22; - description "Policy Action decode identifier"; - } - enum policy-action-q-limit { - value 23; - description "Policy Action Queue Limit"; - } - enum policy-action-authorize-id { - value 24; - description "Policy Action authorize idetifier"; - } - enum policy-action-accounting-event-aaa-list { - value 25; - description "Policy Action accounting event"; - } - enum policy-action-afmon-react { - value 26; - description "Policy Action React (afmon)"; - } - enum policy-action-httpr { - value 27; - description "Policy Action httpr (pbr)"; - } - enum policy-action-pbr-transmit { - value 28; - description "Policy Action pbr transmit"; - } - enum policy-action-pbr-drop { - value 29; - description "Policy Action pbr drop"; - } - enum policy-action-punt { - value 30; - description "Policy Action pbr punt"; - } - enum policy-action-copy { - value 31; - description "Policy Action pbr copy"; - } - enum policy-action-sfrag { - value 32; - description "Policy Action Service fragment"; - } - enum policy-action-monitor { - value 33; - description "Policy Action Monitor"; - } - enum policy-action-redirect { - value 34; - description "Policy Action redirect"; - } - enum policy-action-ipv4-nh { - value 35; - description "Policy Action ipv4 next hop"; - } - enum policy-action-ipv6-nh { - value 36; - description "Policy Action ipv6 next hop"; - } - enum policy-action-vlan-pop { - value 37; - description "Policy Action pop"; - } - enum policy-action-pbr-next-hop { - value 38; - description "Policy Action PBR Forward"; - } - enum policy-action-decap-gre { - value 39; - description "Policy Action decapsule GRE"; - } - enum policy-action-output-interface { - value 40; - description "Policy Action PBR redirect interface"; - } - enum policy-action-service-function-path { - value 41; - description "Policy Action PBR service chaining"; - } - enum policy-action-ptrs { - value 42; - description "Dummy action for internal use"; - } - enum policy-action-police { - value 43; - description "Policy Action Police"; - } - enum policy-action-shape { - value 44; - description "Policy Action Shape"; - } - enum policy-action-serv-pol { - value 45; - description "Policy Action Service Policy"; - } - enum policy-action-cac { - value 46; - description "Policy Action CAC"; - } - enum policy-action-afmon-flow-parm { - value 47; - description "Policy Action Flow params (afmon)"; - } - enum policy-action-afmon-ipcbr-metric { - value 48; - description "Policy Action IP-CBR Metric (afmon)"; - } - enum policy-action-afmon-rtp-metric { - value 49; - description "Policy Action RTP-Custom Metric (afmon)"; - } - enum policy-action-afmon-rtp-mmr-metric { - value 50; - description "Policy Action RTP-MMR Metric (afmon)"; - } - enum policy-action-afmon-rtp-j2k-metric { - value 51; - description "Policy Action RTP-J2K Metric (afmon)"; - } - enum policy-action-afmon-rtp-voice-metric { - value 52; - description "Policy Action RTP-Voice Metric (afmon)"; - } - enum policy-action-afmon-mdi-metric { - value 53; - description "Policy Action MDI Metric (afmon)"; - } - enum policy-action-afmon-mdi-rtp-metric { - value 54; - description "Policy Action MDI RTP Metric (afmon)"; - } - enum policy-action-afmon-fmm { - value 55; - description "Policy Action flow monitor (afmon)"; - } - enum policy-action-pfc { - value 56; - description "Policy Action PFC"; - } - enum policy-action-max { - value 57; - description "Policy Action Max (Invalid)"; - } - } - description "Policy Actions Enumeration"; - } - typedef Cac-flow-actn-type-e { - type uint8; - description "Cac flow actn type e"; - } - typedef Authorize-id-en { - type enumeration { - enum policy-authorize-ident-unspecified { - value 0; - description "policy authorize ident unspecified"; - } - enum policy-authorize-ident-dnis { - value 1; - description "policy authorize ident dnis"; - } - enum policy-authorize-ident-domain { - value 2; - description "policy authorize ident domain"; - } - enum policy-authorize-ident-user-name { - value 3; - description "policy authorize ident user name"; - } - enum policy-authorize-ident-nas-port { - value 4; - description "policy authorize ident nas port"; - } - enum policy-authorize-ident-source-address-ipv4 { - value 5; - description "policy authorize ident source address ipv4"; - } - enum policy-authorize-ident-source-address-ipv6 { - value 6; - description "policy authorize ident source address ipv6"; - } - enum policy-authorize-ident-source-address-mac { - value 7; - description "policy authorize ident source address mac"; - } - enum policy-authorize-ident-auto-detect { - value 8; - description "policy authorize ident auto detect"; - } - enum policy-authorize-ident-tunnel-name { - value 9; - description "policy authorize ident tunnel name"; - } - enum policy-authorize-ident-dhcp-client-id { - value 10; - description "policy authorize ident dhcp client id"; - } - enum policy-authorize-ident-circuit-id { - value 11; - description "policy authorize ident circuit id"; - } - enum policy-authorize-ident-remote-id { - value 12; - description "policy authorize ident remote id"; - } - enum policy-authorize-ident-vendor-id { - value 13; - description "policy authorize ident vendor id"; - } - enum policy-authorize-ident-service-name { - value 14; - description "policy authorize ident service name"; - } - enum policy-authorize-ident-max { - value 15; - description "policy authorize ident max"; - } - } - description "Authorize id en"; - } - typedef Afmon-ipcbr-parm-type-en { - type enumeration { - enum afmon-ipcbr-parm-invalid { - value 0; - description "afmon ipcbr parm invalid"; - } - enum afmon-ipcbr-parm-ip-pkt-rate { - value 1; - description "afmon ipcbr parm ip pkt rate"; - } - enum afmon-ipcbr-parm-ip-bit-rate { - value 2; - description "afmon ipcbr parm ip bit rate"; - } - enum afmon-ipcbr-parm-media-bit-rate { - value 3; - description "afmon ipcbr parm media bit rate"; - } - enum afmon-ipcbr-parm-media-pkt-size { - value 4; - description "afmon ipcbr parm media pkt size"; - } - enum afmon-ipcbr-parm-media-pkts-per-ip { - value 5; - description "afmon ipcbr parm media pkts per ip"; - } - enum afmon-ipcbr-parm-max { - value 6; - description "afmon ipcbr parm max"; - } - } - description "Afmon ipcbr parm type en"; - } - typedef Match-media-type-en { - type enumeration { - enum match-media-type-unspecified { - value 0; - description "match media type unspecified"; - } - enum match-media-type-async { - value 1; - description "match media type async"; - } - enum match-media-type-atm { - value 2; - description "match media type atm"; - } - enum match-media-type-ether { - value 3; - description "match media type ether"; - } - enum match-media-type-ip { - value 4; - description "match media type ip"; - } - enum match-media-type-isdn { - value 5; - description "match media type isdn"; - } - enum match-media-type-mpls { - value 6; - description "match media type mpls"; - } - enum match-media-type-sync { - value 7; - description "match media type sync"; - } - enum match-media-type-max { - value 8; - description "match media type max"; - } - } - description "Match media type en"; - } - typedef Plmgr-appln-type-en { - type enumeration { - enum qos { - value 1; - description "Application type QOS"; - } - enum pbr { - value 2; - description "Application type PBR"; - } - enum subscriber-control { - value 3; - description "Application type subscriber control"; - } - enum accounting { - value 4; - description "Application type accounting"; - } - enum traffic { - value 5; - description "Application type traffic"; - } - enum performance-traffic { - value 6; - description "Application type performance traffic"; - } - } - description "Different Application types"; - } - typedef Policy-route-target-en { - type enumeration { - enum policy-rt-type-none { - value 0; - description "policy rt type none"; - } - enum policy-rt-type-asn2 { - value 1; - description "policy rt type asn2"; - } - enum policy-rt-type-ipv4 { - value 2; - description "policy rt type ipv4"; - } - enum policy-rt-type-asn4 { - value 3; - description "policy rt type asn4"; - } - enum policy-rt-type-max { - value 4; - description "policy rt type max"; - } - } - description "Policy route target en"; - } - typedef Identifier-en { - type enumeration { - enum policy-ident-unspecified { - value 0; - description "policy ident unspecified"; - } - enum policy-ident-authen-status { - value 1; - description "policy ident authen status"; - } - enum policy-ident-dnis { - value 2; - description "policy ident dnis"; - } - enum policy-ident-media { - value 3; - description "policy ident media"; - } - enum policy-ident-mlp-negotiated { - value 4; - description "policy ident mlp negotiated"; - } - enum policy-ident-nas-port { - value 5; - description "policy ident nas port"; - } - enum policy-ident-no-user-name { - value 6; - description "policy ident no user name"; - } - enum policy-ident-protocol { - value 7; - description "policy ident protocol"; - } - enum policy-ident-service-name { - value 8; - description "policy ident service name"; - } - enum policy-ident-source-address-ipv4 { - value 9; - description "policy ident source address ipv4"; - } - enum policy-ident-source-address-ipv6 { - value 10; - description "policy ident source address ipv6"; - } - enum policy-ident-source-address-mac { - value 11; - description "policy ident source address mac"; - } - enum policy-ident-timer { - value 12; - description "policy ident timer"; - } - enum policy-ident-tunnel-name { - value 13; - description "policy ident tunnel name"; - } - enum policy-ident-auth-domain { - value 14; - description "policy ident auth domain"; - } - enum policy-ident-auth-user-name { - value 15; - description "policy ident auth user name"; - } - enum policy-ident-unauth-domain { - value 16; - description "policy ident unauth domain"; - } - enum policy-ident-unauth-user-name { - value 17; - description "policy ident unauth user name"; - } - enum policy-ident-max { - value 18; - description "policy ident max"; - } - } - description "Identifier en"; - } - typedef Mark-type-en { - type enumeration { - enum mark-type-none { - value 0; - description "Mark None"; - } - enum mark-type-dscp { - value 1; - description "Mark DSCP"; - } - enum mark-type-prec { - value 2; - description "Mark Precedence"; - } - enum mark-type-mpls-exp-topmost { - value 3; - description "Mark MPLS EXP on topmost header"; - } - enum mark-type-mpls-exp-imposition { - value 4; - description "Mark MPLS EXP on imposition header"; - } - enum mark-type-qos-group { - value 5; - description "Mark QoS Group"; - } - enum mark-type-discard-class { - value 6; - description "Mark Discard Class"; - } - enum mark-type-cos { - value 7; - description "Mark CoS"; - } - enum mark-type-cos-inner { - value 8; - description "Mark COS Inner"; - } - enum mark-type-srp-priority { - value 9; - description "Mark Priority"; - } - enum mark-type-atm-clp { - value 10; - description "Mark ATM CLP"; - } - enum mark-type-fr-de { - value 11; - description "Mark FR DE"; - } - enum mark-type-dscp-tunnel { - value 12; - description "Mark DSCP in Tunnel Header"; - } - enum mark-type-prec-tunnel { - value 13; - description "Mark Precedence in Tunnel Header"; - } - enum mark-type-dei { - value 14; - description "Mark DEI"; - } - enum mark-type-dei-imposition { - value 15; - description "Mark DEI on imposition header"; - } - enum mark-type-forward-class { - value 16; - description "Mark forward class"; - } - enum mark-type-df { - value 17; - description "Mark DF bit"; - } - enum mark-type-traffic-class { - value 18; - description "Mark Traffic Class"; - } - enum mark-type-src-mac { - value 19; - description "Mark source mac"; - } - enum mark-type-dst-mac { - value 20; - description "Mark destination mac"; - } - enum mark-type-ipv4-src-addr { - value 21; - description "Mark ipv4 source address"; - } - enum mark-type-ipv4-dst-addr { - value 22; - description "Mark ipv4 destination address"; - } - enum mark-type-vlan-id { - value 23; - description "Mark vlan id"; - } - enum mark-type-udp-src-port { - value 24; - description "Mark type udp source port"; - } - enum mark-type-udp-dst-port { - value 25; - description "Mark type udp destination port"; - } - enum mark-type-tcp-src-port { - value 26; - description "Mark type tcp source port"; - } - enum mark-type-tcp-dst-port { - value 27; - description "Mark type tcp destination port"; - } - enum mark-type-sctp-src-port { - value 28; - description "Mark type sctp source port"; - } - enum mark-type-sctp-dst-port { - value 29; - description "Mark type sctp destination port"; - } - enum mark-type-max { - value 30; - description "Mark Type Max (Invalid)"; - } - } - description "Mark Type Enumeration"; - } - typedef Qlimit-type-en { - type enumeration { - enum qlimit-cmd { - value 0; - description "Queue Limit"; - } - enum qlimit-discard-class { - value 1; - description "Queue Limit based on Discard Class"; - } - enum qlimit-qos-group { - value 2; - description "Queue Limit based on Qos Group"; - } - enum qlimit-precedence { - value 3; - description "Queue Limit based on Precedence"; - } - enum qlimit-mpls-exp { - value 4; - description "Queue Limit based on Mpls Exp"; - } - enum qlimit-dscp { - value 5; - description "Queue Limit based on Dscp"; - } - enum qlimit-max { - value 6; - description "Queue Limit Max (Invalid)"; - } - } - description "Queue Limit Types"; - } - typedef Afmon-react-criterion-en { - type enumeration { - enum afmon-react-crit-invalid { - value 0; - description "afmon react crit invalid"; - } - enum afmon-react-mrv { - value 1; - description "afmon react mrv"; - } - enum afmon-react-df { - value 2; - description "afmon react df"; - } - enum afmon-react-mse { - value 3; - description "afmon react mse"; - } - enum afmon-react-pkt-rate { - value 4; - description "afmon react pkt rate"; - } - enum afmon-react-flow-cnt { - value 5; - description "afmon react flow cnt"; - } - enum afmon-react-rtp-loss-fraction { - value 6; - description "afmon react rtp loss fraction"; - } - enum afmon-react-rtp-jitter { - value 7; - description "afmon react rtp jitter"; - } - enum afmon-react-rtp-max-jitter { - value 8; - description "afmon react rtp max jitter"; - } - enum afmon-react-rtp-out-of-order { - value 9; - description "afmon react rtp out of order"; - } - enum afmon-react-rtp-loss-pkts { - value 10; - description "afmon react rtp loss pkts"; - } - enum afmon-react-rtp-ta { - value 11; - description "afmon react rtp ta"; - } - enum afmon-react-rtp-es { - value 12; - description "afmon react rtp es"; - } - enum afmon-react-mdi-mlr { - value 13; - description "afmon react mdi mlr"; - } - enum afmon-react-mdi-mdc { - value 14; - description "afmon react mdi mdc"; - } - enum afmon-react-mdi-jitter { - value 15; - description "afmon react mdi jitter"; - } - enum afmon-react-mdi-loss-pkts { - value 16; - description "afmon react mdi loss pkts"; - } - enum afmon-react-mdi-ta { - value 17; - description "afmon react mdi ta"; - } - enum afmon-react-mdi-es { - value 18; - description "afmon react mdi es"; - } - enum afmon-react-crit-max { - value 19; - description "afmon react crit max"; - } - } - description "Afmon react criterion en"; - } - typedef Pfc-pause-type { - type enumeration { - enum pfc-buffer-size-defined { - description "pfc buffer size defined"; - } - enum pfc-pause-threshold-defined { - description "pfc pause threshold defined"; - } - enum pfc-resume-threshold-defined { - description "pfc resume threshold defined"; - } - enum pfc-buffer-size-value { - description "pfc buffer size value"; - } - enum pfc-pause-threshold-value { - description "pfc pause threshold value"; - } - enum pfc-resume-threshold-value { - description "pfc resume threshold value"; - } - } - description "Pfc pause type"; - } - typedef Police-actn-category-en { - type enumeration { - enum police-actn-category-conform { - value 0; - description "Conform action"; - } - enum police-actn-category-exceed { - value 1; - description "Exceed action"; - } - enum police-actn-category-violate { - value 2; - description "Violate action"; - } - enum police-actn-category-max { - value 3; - description "Maximum police action categories"; - } - } - description "Police Action Categories"; - } - typedef Redirect-type-e { - type uint8; - description "Redirect type e"; - } - typedef Match-nas-port-sub-id-en { - type enumeration { - enum match-nas-port-sub-id-unspecified { - value 0; - description "match nas port sub id unspecified"; - } - enum match-nas-port-sub-id-adapter { - value 1; - description "match nas port sub id adapter"; - } - enum match-nas-port-sub-id-channel { - value 2; - description "match nas port sub id channel"; - } - enum match-nas-port-sub-id-ip-addr { - value 3; - description "match nas port sub id ip addr"; - } - enum match-nas-port-sub-id-port { - value 4; - description "match nas port sub id port"; - } - enum match-nas-port-sub-id-shelf { - value 5; - description "match nas port sub id shelf"; - } - enum match-nas-port-sub-id-slot { - value 6; - description "match nas port sub id slot"; - } - enum match-nas-port-sub-id-sub-interface { - value 7; - description "match nas port sub id sub interface"; - } - enum match-nas-port-sub-id-type { - value 8; - description "match nas port sub id type"; - } - enum match-nas-port-sub-id-vci { - value 9; - description "match nas port sub id vci"; - } - enum match-nas-port-sub-id-vlan { - value 10; - description "match nas port sub id vlan"; - } - enum match-nas-port-sub-id-vpi { - value 11; - description "match nas port sub id vpi"; - } - enum match-nas-port-sub-id-max { - value 12; - description "match nas port sub id max"; - } - } - description "Match nas port sub id en"; - } - typedef Mark-type-e { - type uint8; - description "Mark type e"; - } - typedef Object-name { - type string { - length "0..65"; - } - description "Object name"; - } - typedef Cac-flow-actn-type-en { - type enumeration { - enum cac-flow-actn-type-local { - value 0; - description "CAC flow local"; - } - enum cac-flow-actn-type-max { - value 1; - description "Max CAC flow types"; - } - } - description "CAC flow types"; - } - typedef Policy-map-table-type-e { - type uint8; - description "Policy map table type e"; - } - typedef Enum-val-t { - type uint16; - description "Enum val t"; - } - typedef Afmon-react-actn-en { - type enumeration { - enum afmon-react-actn-none { - value 0; - description "afmon react actn none"; - } - enum afmon-react-syslog { - value 1; - description "afmon react syslog"; - } - enum afmon-react-snmp { - value 2; - description "afmon react snmp"; - } - enum afmon-react-clone { - value 3; - description "afmon react clone"; - } - } - description "Afmon react actn en"; - } - typedef Pevent-cond-eval-en { - type enumeration { - enum pevent-cond-eval-unspecified { - description "Unspecified execution strategy"; - } - enum pevent-cond-eval-match-first { - description "Match-first execution strategy"; - } - enum pevent-cond-eval-match-all { - description "Match-all execution strategy"; - } - enum pevent-cond-eval-max { - description "Internal use only"; - } - } - description "Policy event execution strategy enumeration"; - } - typedef Dpss-snid-type-en { - type enumeration { - enum dpss-snid-invalid { - value 0; - description "dpss snid invalid"; - } - enum dpss-snid-index { - value 1; - description "dpss snid index"; - } - enum dpss-snid-name { - value 2; - description "dpss snid name"; - } - enum dpss-snid-type-max { - value 3; - description "dpss snid type max"; - } - } - description "Dpss snid type en"; - } - typedef Pclass-data-avl-inbag { - type uint64; - description "Pclass data avl inbag"; - } - typedef Match-type-en { - type enumeration { - enum match-type-none { - description "Match Type None"; - } - enum match-type-ipv4-dscp { - description "Match Type IPv4 DSCP"; - } - enum match-type-ipv4-prec { - description "Match Type IPv4 Precedence"; - } - enum match-type-ipv6-dscp { - description "Match Type IPv6 DSCP"; - } - enum match-type-packet-length { - description "Match Type Packet length"; - } - enum match-type-ipv4-packet-length { - description "Match Type IPv4 Packet length"; - } - enum match-type-ipv6-packet-length { - description "Match Type IPv6 Packet length"; - } - enum match-type-flow-tag { - description "Match Type Flow Tag"; - } - enum match-type-icmpv4-type { - description "Match Type IPv4 icmp-type"; - } - enum match-type-icmpv4-code { - description "Match Type IPv4 icmp-code"; - } - enum match-type-icmpv6-type { - description "Match Type IPv6 icmp-type"; - } - enum match-type-icmpv6-code { - description "Match Type IPv6 icmp-code"; - } - enum match-type-ipv6-prec { - description "Match Type IPv6 Precedence"; - } - enum match-type-fragment-type { - description "Match type fragment-type"; - } - enum match-type-tcp-flag { - description "Match type TCP flag"; - } - enum match-type-dscp { - description "Match Type DSCP"; - } - enum match-type-prec { - description "Match Type Precedence"; - } - enum match-type-proto { - description "Match Type Protocol"; - } - enum match-type-proto-icmpv4 { - description "Match Type protocol ICMPv4"; - } - enum match-type-proto-icmpv6 { - description "Match Type protocol ICMPv6"; - } - enum match-type-mpls-exp-top { - description "Match Type MPLS EXP Topmost"; - } - enum match-type-mpls-exp-imp { - description "Match Type MPLS EXP Imposition"; - } - enum match-type-mpls-disp-ipv4-acl { - description "Match Type MPLS DISP IPv4 ACL"; - } - enum match-type-mpls-disp-ipv6-acl { - description "Match Type MPLS DISP IPv6 ACL"; - } - enum match-type-mpls-topmost-eos { - description "Match Type MPLS TOPMOST EOS"; - } - enum match-type-mpls-topmost-label { - description "Match Type MPLS TOPMOST LABEL"; - } - enum match-type-cos { - description "Match Type COS"; - } - enum match-type-cos-inner { - description "Match Type inner COS"; - } - enum match-type-dei { - description "Match Type DEI"; - } - enum match-type-dei-inner { - description "Match Type inner DEI"; - } - enum match-type-vlan { - description "Match Type VLAN"; - } - enum match-type-vlan-inner { - description "Match Type inner VLAN"; - } - enum match-type-fr-dlci { - description "Match Type FR DLCI"; - } - enum match-type-src-mac { - description "Match Type Source MAC Address"; - } - enum match-type-dst-mac { - description "Match Type Destination MAC Address"; - } - enum match-type-atm-oam { - description "Match Type ATM OAM"; - } - enum match-type-atm-clp { - description "Match Type ATM CLP"; - } - enum match-type-fr-de { - description "Match Type FR DE"; - } - enum match-type-qos-grp { - description "Match Type QoS Group"; - } - enum match-type-traffic-class { - description "Match Type Traffic Class"; - } - enum match-type-disc-cls { - description "Match Type Discard Class"; - } - enum match-type-vpls-known { - description "Match Type VPLS Known"; - } - enum match-type-vpls-unknown { - description "Match Type VPLS Unknown"; - } - enum match-type-vpls-mcast { - description "Match Type VPLS Multicast"; - } - enum match-type-vpls-bcast { - description "Match Type VPLS Broadcast"; - } - enum match-type-vpls-control { - description "Match Type VPLS Control"; - } - enum match-type-ipv4-acl { - description "Match Type IPv4 ACL"; - } - enum match-type-ipv6-acl { - description "Match Type IPv6 ACL"; - } - enum match-type-flow-key { - description "Match Type Flow Key"; - } - enum match-type-avail-id { - description "Match Type Available Identifier"; - } - enum match-type-authen-status { - description "Match Type Authentication Status"; - } - enum match-type-media { - description "Match Type Media"; - } - enum match-type-mlp-negotiated { - description "Match Type MLP Negotiated"; - } - enum match-type-subs-protocol { - description "Match Type Protocol"; - } - enum match-type-dnis { - description "Match Type DNIS"; - } - enum match-type-dnis-regexp { - description "Match Type DNIS Regular Exp"; - } - enum match-type-domain { - description "Match Type Domain"; - } - enum match-type-domain-regexp { - description "Match Type Domain Regular Exp"; - } - enum match-type-nas-port { - description "Match Type NAS Port"; - } - enum match-type-service-name { - description "Match Type Service Name"; - } - enum match-type-service-name-regexp { - description "Match Type Service Name Regular Exp"; - } - enum match-type-src-addr-ipv4 { - description "Match Type Source Address IPV4"; - } - enum match-type-dst-addr-ipv4 { - description "Match Type Source Address IPV4"; - } - enum match-type-src-addr-ipv6 { - description "Match Type Source Address IPV6"; - } - enum match-type-dst-addr-ipv6 { - description "Match Type Source Address IPV6"; - } - enum match-type-src-addr-mac { - description "Match Type Source Address Mac"; - } - enum match-type-src-port { - description "Match Type Source Port"; - } - enum match-type-dst-port { - description "Match Type Source Port"; - } - enum match-type-timer { - description "Match Type Timer"; - } - enum match-type-timer-regexp { - description "Match Type Timer Regular Exp"; - } - enum match-type-tunnel-name { - description "Match Type Tunnel Name"; - } - enum match-type-tunnel-name-regexp { - description "Match Type Tunnel Name Regular Exp"; - } - enum match-type-user-name { - description "Match Type User Name"; - } - enum match-type-user-name-regexp { - description "Match Type User Name Regular Exp"; - } - enum match-type-auth-user-name { - description "Match Type Authenticated User Name"; - } - enum match-type-auth-user-name-regexp { - description "Match Type Authenticated Userame Reg Exp"; - } - enum match-type-unauth-user-name { - description "Match Type Unauthenticated Username"; - } - enum match-type-unauth-user-name-regexp { - description "Match Type Unauthenicated Username RegEx"; - } - enum match-type-no-user-name { - description "Match Type No Username"; - } - enum match-type-auth-domain { - description "Match Type Authenticated Domain"; - } - enum match-type-auth-domain-regexp { - description "Match Type Authenticated Domain RegEx"; - } - enum match-type-unauth-domain { - description "Match Type Unauthenticated Domain"; - } - enum match-type-unauth-domain-regexp { - description "Match Type Unauthenticated Domain RegEx"; - } - enum match-type-vendor-id { - description "Match Type Vendor ID"; - } - enum match-type-vendor-id-regexp { - description "Match Type Vendor ID RegEx"; - } - enum match-type-access-interface { - description "Match Type Access Interface"; - } - enum match-type-input-interface { - description "Match Type Input Interface"; - } - enum match-type-input-interface-hdl { - description "Match Type Input Interface handle"; - } - enum match-type-ether-type { - description "Match Type Ethernet Type"; - } - enum match-type-dhcp-client-id { - description "Match DHCP Client ID"; - } - enum match-type-dhcp-client-id-regexp { - description "Match DHCP Client ID RegEx"; - } - enum match-type-circuit-id { - description "Match Type Circuit ID"; - } - enum match-type-circuit-id-regexp { - description "Match Type Circuit ID RegEx"; - } - enum match-type-remote-id { - description "Match Type Remote ID"; - } - enum match-type-remote-id-regexp { - description "Match Type Remote ID RegEx"; - } - enum match-type-cac-admit-local { - description "Match Type CAC admitted"; - } - enum match-type-cac-unadmit-local { - description "Match Type CAC unadmitted"; - } - enum match-type-any-internal { - description "Match Type Any (Used only for class-default)"; - } - enum match-type-ethernet-service-s-acl { - description "Match Type Ethernet-Services ACL"; - } - enum match-type-ptrs { - description "Dummy match type for internal use"; - } - enum match-type-max { - description "Match Type Max (Invalid)"; - } - } - description "Match Type"; - } - typedef Flow-key-en { - type enumeration { - enum flow-key-invalid { - value 0; - description "Flow key invalid"; - } - enum flow-key-src-ip { - value 1; - description "Flow key source ip"; - } - enum flow-key-dst-ip { - value 2; - description "Flow key destination ip"; - } - enum flow-key-five-tuple { - value 3; - description "Flow key five tuple"; - } - enum flow-key-max { - value 4; - description "Flow key max"; - } - } - description "Flow key en"; - } - typedef Match-attr-e { - type enumeration { - enum value { - value 0; - description "Match attribute value"; - } - enum range { - value 1; - description "Match attribute range"; - } - enum mask { - value 2; - description "Match attribute mask"; - } - } - description "Match attribute type"; - } - typedef Afmon-alarm-sev-en { - type enumeration { - enum afmon-alm-none { - value 0; - description "afmon alm none"; - } - enum afmon-alm-info { - value 1; - description "afmon alm info"; - } - enum afmon-alm-notif { - value 2; - description "afmon alm notif"; - } - enum afmon-alm-warn { - value 3; - description "afmon alm warn"; - } - enum afmon-alm-error { - value 4; - description "afmon alm error"; - } - enum afmon-alm-crit { - value 5; - description "afmon alm crit"; - } - enum afmon-alm-alert { - value 6; - description "afmon alm alert"; - } - enum afmon-alm-emerg { - value 7; - description "afmon alm emerg"; - } - enum afmon-alm-sev-max { - value 8; - description "afmon alm sev max"; - } - } - description "AFMon Alarm Severities"; - } - typedef Acct-en { - type enumeration { - enum policy-acct-evt-unspecified { - value 0; - description "policy acct evt unspecified"; - } - enum policy-acct-evt-start { - value 1; - description "policy acct evt start"; - } - enum policy-acct-evt-stop { - value 2; - description "policy acct evt stop"; - } - enum policy-acct-evt-update { - value 3; - description "policy acct evt update"; - } - } - description "Acct en"; - } - typedef String-arr { - type string; - description "String arr"; - } - typedef Match-logical-operator-en { - type enumeration { - enum match-operator-unspecified { - value 0; - description "match operator unspecified"; - } - enum match-equal-to { - value 1; - description "match equal to"; - } - enum match-greater-than { - value 2; - description "match greater than"; - } - enum match-greater-than-or-equal { - value 3; - description "match greater than or equal"; - } - enum match-less-than { - value 4; - description "match less than"; - } - enum match-less-than-or-equal { - value 5; - description "match less than or equal"; - } - enum match-operator-max { - value 6; - description "match operator max"; - } - } - description "Logical Operators"; - } - typedef Pclass-diff-inbag { - type uint64; - description "Pclass diff inbag"; - } - typedef Shared-bucket-name { - type string { - length "0..65"; - } - description "Shared bucket name"; - } - typedef Policy-param-unit-type { - type enumeration { - enum policy-param-unit-invalid { - description "policy param unit invalid"; - } - enum policy-param-unit-bytes { - description "policy param unit bytes"; - } - enum policy-param-unit-kbytes { - description "policy param unit kbytes"; - } - enum policy-param-unit-mbytes { - description "policy param unit mbytes"; - } - enum policy-param-unit-gbytes { - description "policy param unit gbytes"; - } - enum policy-param-unit-bitsps { - description "policy param unit bitsps"; - } - enum policy-param-unit-kbitsps { - description "policy param unit kbitsps"; - } - enum policy-param-unit-mbitsps { - description "policy param unit mbitsps"; - } - enum policy-param-unit-gbitsps { - description "policy param unit gbitsps"; - } - enum policy-param-unit-cells-ps { - description "policy param unit cells ps"; - } - enum policy-param-unit-packets-ps { - description "policy param unit packets ps"; - } - enum policy-param-unit-us { - description "policy param unit us"; - } - enum policy-param-unit-ms { - description "policy param unit ms"; - } - enum policy-param-unit-seconds { - description "policy param unit seconds"; - } - enum policy-param-unit-packets { - description "policy param unit packets"; - } - enum policy-param-unit-cells { - description "policy param unit cells"; - } - enum policy-param-unit-percent { - description "policy param unit percent"; - } - enum policy-param-unit-per-thousand { - description "policy param unit per thousand"; - } - enum policy-param-unit-per-million { - description "policy param unit per million"; - } - enum policy-param-unit-hz { - description "policy param unit hz"; - } - enum policy-param-unit-khz { - description "policy param unit khz"; - } - enum policy-param-unit-mhz { - description "policy param unit mhz"; - } - enum policy-param-unit-ratio { - description "policy param unit ratio"; - } - enum policy-param-unit-max { - description "policy param unit max"; - } - } - description "Policy param unit type"; - } - typedef Pevent-type-en { - type enumeration { - enum pevent-type-unspecified { - description "Unspecified event"; - } - enum pevent-type-acct-logon { - description "Log on event"; - } - enum pevent-type-acct-logoff { - description "Log off event"; - } - enum pevent-type-credit-exhausted { - description "Credit exhausted event"; - } - enum pevent-type-idle-timeout { - description "Idle timeout event"; - } - enum pevent-type-absolute-timeout { - description "Absolute timeout event"; - } - enum pevent-type-quota-depleted { - description "Quota depletion event"; - } - enum pevent-type-service-start { - description "Service start event"; - } - enum pevent-type-service-stop { - description "Service stop event"; - } - enum pevent-type-session-start { - description "Session start event"; - } - enum pevent-type-session-activate { - description "Session activate event"; - } - enum pevent-type-session-restart { - description "Session restart event"; - } - enum pevent-type-session-stop { - description "Session stop event"; - } - enum pevent-type-session-disconnect { - description "Session disconnect event"; - } - enum pevent-type-session-update { - description "Session update event"; - } - enum pevent-type-flow-start { - description "Flow start event"; - } - enum pevent-type-flow-stop { - description "Flow stop event"; - } - enum pevent-type-accouting-start { - description "Accounting start event"; - } - enum pevent-type-acountng-g-stop { - description "Accounting stop event"; - } - enum pevent-type-acountng-g-update { - description "Accounting update event"; - } - enum pevent-type-timer-expiry { - description "Timer expierd event"; - } - enum pevent-type-threshold-reached { - description "Threshold reached event"; - } - enum pevent-type-ka-success { - description "Keep alive success event"; - } - enum pevent-type-ka-failure { - description "Keep alive failure event"; - } - enum pevent-type-link-up { - description "Link up event"; - } - enum pevent-type-link-down { - description "Link down event"; - } - enum pevent-type-authorization-failure { - description "Authorization failure event"; - } - enum pevent-type-authorization-no-response { - description "Authorization no response event"; - } - enum pevent-type-authentication-failure { - description "Authentication failure event"; - } - enum pevent-type-authentication-no-response { - description "Authentication no response event"; - } - enum pevent-type-exception { - description "Exception event"; - } - enum pevent-type-session-ident-chg { - description "Session identity change event"; - } - enum pevent-type-max { - description "Internal use only"; - } - } - description "Policy event enumeration"; - } - typedef Afmon-react-parm-type-en { - type enumeration { - enum afmon-react-parm-invalid { - value 0; - description "invalid"; - } - enum afmon-react-parm-oper-id { - value 1; - description "Operation ID"; - } - enum afmon-react-parm-crit-erion { - value 2; - description "Criterion"; - } - enum afmon-react-parm-desc { - value 3; - description "Description"; - } - enum afmon-react-parm-trig-value { - value 4; - description "Trigger value"; - } - enum afmon-react-parm-trig-type { - value 5; - description "Trigger Type"; - } - enum afmon-react-parm-action { - value 6; - description "Action"; - } - enum afmon-react-parm-alm-type { - value 7; - description "Alarm type"; - } - enum afmon-react-parm-alm-severity { - value 8; - description "Alarm Severity"; - } - enum afmon-react-parm-max { - value 9; - description "Maximum react parm type"; - } - } - description "(afmon) React submode param types"; - } - typedef Plmgr-var-type-en { - type enumeration { - enum plmgr-var-type-class-name { - description "plmgr var type class name"; - } - enum plmgr-var-type-uint8 { - description "plmgr var type uint8"; - } - enum plmgr-var-type-uint16 { - description "plmgr var type uint16"; - } - enum plmgr-var-type-uint32 { - description "plmgr var type uint32"; - } - enum plmgr-var-type-param-uint32 { - description "plmgr var type param uint32"; - } - enum plmgr-var-type-dscp { - description "plmgr var type dscp"; - } - enum plmgr-var-type-prec { - description "plmgr var type prec"; - } - enum plmgr-var-type-max { - description "plmgr var type max"; - } - } - description "Type of default variable values"; - } - typedef Var-cmap-name { - type string { - length "0..65"; - } - description "Var cmap name"; - } - typedef Policy-map-name { - type string { - length "0..65"; - } - description "Policy map name"; - } - typedef Policy-action-attr-en { - type enumeration { - enum action-attribute { - value 1; - description "action attribute"; - } - enum sub-action-attribute { - value 2; - description "sub action attribute"; - } - } - description "Policy action attribute enum"; - } - typedef String-td { - type string; - description "String td"; - } - typedef Policy-obj-enc-en { - type enumeration { - enum policy-obj-enc-name { - description "Name of the Policy"; - } - enum policy-obj-enc-hdl { - description "Policy Handle"; - } - enum policy-obj-enc-var-idx { - description "Policy Variable Index"; - } - enum policy-obj-enc-in-line { - description "Inline Class"; - } - } - description "Child policy related encoding information"; - } - typedef Plmgr-app-fwding-type-e { - type enumeration { - enum layer2 { - value 0; - description " Forwarding type layer2"; - } - enum layer3 { - value 1; - description " Forwarding type layer3"; - } - enum any { - value 2; - description "Forwarding type any"; - } - } - description "Forwarding types"; - } - typedef Class-map-type-en { - type enumeration { - enum class-map-type-none { - description "class map type none"; - } - enum class-map-type-qos { - description "class map type qos"; - } - enum class-map-type-pbr { - description "class map type pbr"; - } - enum class-map-type-traffic { - description "class map type traffic"; - } - enum class-map-type-subs-control { - description "class map type subs control"; - } - enum class-map-type-max { - description "class map type max"; - } - } - description "Class map type en"; - } - typedef Wred-type-en { - type enumeration { - enum wred-cos-cmd { - description "wred cos cmd"; - } - enum wred-dscp-cmd { - description "wred dscp cmd"; - } - enum wred-precedence-cmd { - description "wred precedence cmd"; - } - enum wred-discard-class-cmd { - description "wred discard class cmd"; - } - enum wred-mpls-exp-cmd { - description "wred mpls exp cmd"; - } - enum red-with-user-min-max { - description "red with user min max"; - } - enum red-with-default-min-max { - description "red with default min max"; - } - enum wred-dei-cmd { - description "wred dei cmd"; - } - enum wred-ecn-cmd { - description "wred ecn cmd"; - } - enum wred-invalid-cmd { - description "wred invalid cmd"; - } - } - description "Wred type en"; - } - typedef Policy-map-table-type-en { - type enumeration { - enum policy-map-table-type-none { - description "policy map table type none"; - } - enum policy-map-table-type-l2-any { - description "policy map table type l2 any"; - } - enum policy-map-table-type-l2-l3 { - description "policy map table type l2 l3"; - } - enum policy-map-table-type-l3-ipv4 { - description "policy map table type l3 ipv4"; - } - enum policy-map-table-type-l3-ds { - description "policy map table type l3 ds"; - } - enum policy-map-table-type-traffic-ingress { - description "policy map table type traffic ingress"; - } - enum policy-map-table-type-qos-ingress { - description "policy map table type qos ingress"; - } - enum policy-map-table-type-qos-egress { - description "policy map table type qos egress"; - } - enum policy-map-table-type-max { - description "policy map table type max"; - } - } - description "Policy-Map Table Type"; - } - typedef Shared-bucket-type { - type enumeration { - enum shared-bucket-type-not-specified { - description "shared bucket type not specified"; - } - enum shared-bucket-referred { - description "shared bucket referred"; - } - enum shared-bucket-defined { - description "shared bucket defined"; - } - } - description "Shared bucket type"; - } - typedef Afmon-rtp-clock-rate-type-en { - type enumeration { - enum afmon-rtp-cr-invalid { - value 0; - description "afmon rtp cr invalid"; - } - enum afmon-rtp-cr-8k { - value 1; - description "afmon rtp cr 8k"; - } - enum afmon-rtp-cr-16k { - value 2; - description "afmon rtp cr 16k"; - } - enum afmon-rtp-cr-11025 { - value 3; - description "afmon rtp cr 11025"; - } - enum afmon-rtp-cr-22050 { - value 4; - description "afmon rtp cr 22050"; - } - enum afmon-rtp-cr-44100 { - value 5; - description "afmon rtp cr 44100"; - } - enum afmon-rtp-cr-48k { - value 6; - description "afmon rtp cr 48k"; - } - enum afmon-rtp-cr-90k { - value 7; - description "afmon rtp cr 90k"; - } - enum afmon-rtp-cr-27m { - value 8; - description "afmon rtp cr 27m"; - } - enum afmon-rtp-cr-148500k { - value 9; - description "afmon rtp cr 148500k"; - } - enum afmon-rtp-cr-148351k { - value 10; - description "afmon rtp cr 148351k"; - } - enum afmon-rtp-cr-max { - value 11; - description "afmon rtp cr max"; - } - } - description "Afmon rtp clock rate type en"; - } - typedef Afmon-trig-relop-en { - type enumeration { - enum afmon-trig-relop-invalid { - value 0; - description "afmon trig relop invalid"; - } - enum afmon-trig-lt { - value 1; - description "afmon trig lt"; - } - enum afmon-trig-le { - value 2; - description "afmon trig le"; - } - enum afmon-trig-gt { - value 3; - description "afmon trig gt"; - } - enum afmon-trig-ge { - value 4; - description "afmon trig ge"; - } - enum afmon-trig-range { - value 5; - description "afmon trig range"; - } - enum afmon-trig-relop-max { - value 6; - description "afmon trig relop max"; - } - } - description "Afmon trig relop en"; - } - typedef Match-no-username-en { - type enumeration { - enum match-no-user-name-unspecified { - value 0; - description "match no user name unspecified"; - } - enum match-no-user-name { - value 1; - description "match no user name"; - } - enum match-user-name { - value 2; - description "match user name"; - } - enum match-no-user-name-max { - value 3; - description "match no user name max"; - } - } - description "Match no username en"; - } - typedef Afmon-rtp-parm-type-en { - type enumeration { - enum afmon-rtp-parm-invalid { - value 0; - description "afmon rtp parm invalid"; - } - enum afmon-rtp-parm-min-seq { - value 1; - description "afmon rtp parm min seq"; - } - enum afmon-rtp-parm-max-drop { - value 2; - description "afmon rtp parm max drop"; - } - enum afmon-rtp-parm-max-mis-order { - value 3; - description "afmon rtp parm max mis order"; - } - enum afmon-rtp-parm-seq-ext-cop4 { - value 4; - description "afmon rtp parm seq ext cop4"; - } - enum afmon-rtp-parm-clock-rate { - value 5; - description "afmon rtp parm clock rate"; - } - enum afmon-rtp-parm-max { - value 6; - description "afmon rtp parm max"; - } - } - description "Afmon rtp parm type en"; - } - typedef Policy-map-type-en { - type enumeration { - enum policy-map-type-none { - description "policy map type none"; - } - enum policy-map-type-qos { - description "policy map type qos"; - } - enum policy-map-type-pbr { - description "policy map type pbr"; - } - enum policy-map-type-traffic { - description "policy map type traffic"; - } - enum policy-map-type-subs-control { - description "policy map type subs control"; - } - enum policy-map-type-accounting { - description "policy map type accounting"; - } - enum policy-map-type-redirect { - description "policy map type redirect"; - } - enum policy-map-type-afmon { - description "policy map type afmon"; - } - enum policy-map-type-merge { - description "policy map type merge"; - } - enum policy-map-type-max { - description "policy map type max"; - } - } - description "Policy map type en"; - } - typedef Redirect-type-en { - type enumeration { - enum redirect-type-none { - value 0; - description "Redirect None"; - } - enum redirect-type-output-interface { - value 1; - description "Redirect to output intreface"; - } - enum redirect-type-max { - value 2; - description "Redirect Max (Invalid)"; - } - } - description "Redirect types Enumeration"; - } - typedef Policy-action-exec-type-e { - type enumeration { - enum execution-immediate { - value 1; - description "execution immediate"; - } - enum execution-deferred { - value 2; - description "execution deferred"; - } - } - description "Policy action execution type enum"; - } - typedef Class-map-mode-en { - type enumeration { - enum class-map-mode-match-any { - value 0; - description "Type Match-Any"; - } - enum class-map-mode-match-all { - value 1; - description "Type Match-All"; - } - enum class-map-mode-max { - value 2; - description "Not a valid mode"; - } - enum class-map-mode-usr-def { - value 1073741824; - description "User defined match type"; - } - } - description "Class-Map Mode"; - } - typedef Match-subs-protocol-en { - type enumeration { - enum match-subs-protocol-unspecified { - value 0; - description "match subs protocol unspecified"; - } - enum match-subs-protocol-ipv4 { - value 1; - description "match subs protocol ipv4"; - } - enum match-subs-protocol-ppp { - value 2; - description "match subs protocol ppp"; - } - enum match-subs-protocol-dhcpv4 { - value 3; - description "match subs protocol dhcpv4"; - } - enum match-subs-protocol-dhcpv6 { - value 4; - description "match subs protocol dhcpv6"; - } - enum match-subs-protocol-max { - value 5; - description "match subs protocol max"; - } - } - description "Match subs protocol en"; - } - typedef Vsvc-service-type-t { - type enumeration { - enum vsvc-service-invalid { - value 0; - description "vsvc service invalid"; - } - enum vsvc-service-v-path { - value 1; - description "vsvc service v path"; - } - enum vsvc-service-ipsec { - value 2; - description "vsvc service ipsec"; - } - enum vsvc-service-cgn { - value 3; - description "vsvc service cgn"; - } - enum vsvc-service-o-flow { - value 4; - description "vsvc service o flow"; - } - enum vsvc-service-output { - value 5; - description "vsvc service output"; - } - enum vsvc-service-cfg-v-path { - value 6; - description "vsvc service cfg v path"; - } - enum vsvc-service-sfp { - value 7; - description "vsvc service sfp"; - } - enum vsvc-service-sfl { - value 8; - description "vsvc service sfl"; - } - enum vsvc-service-sffl { - value 9; - description "vsvc service sffl"; - } - enum vsvc-service-max { - value 10; - description "vsvc service max"; - } - } - description "Vsvc service type t"; - } - typedef Class-map-hd-inbag { - type uint64; - description "Class map hd inbag"; - } - typedef Afmon-flow-parm-type-en { - type enumeration { - enum afmon-flow-parm-invalid { - value 0; - description "invalid"; - } - enum afmon-flow-parm-max-mon-flow-s { - value 1; - description "Max monitored flows"; - } - enum afmon-flow-parm-mon-interval { - value 2; - description "Monitoring interval"; - } - enum afmon-flow-parm-intvl-hist { - value 3; - description "Interval History"; - } - enum afmon-flow-parm-flow-timeout { - value 4; - description "Flow Timeout"; - } - enum afmon-flow-parm-max { - value 5; - description "Maximum flow parm type"; - } - } - description "(afmon) Flow submode param types"; - } - typedef Afmon-trig-type-en { - type enumeration { - enum afmon-trig-type-invalid { - value 0; - description "afmon trig type invalid"; - } - enum afmon-trig-immed { - value 1; - description "afmon trig immed"; - } - enum afmon-trig-avg { - value 2; - description "afmon trig avg"; - } - enum afmon-trig-type-max { - value 3; - description "afmon trig type max"; - } - } - description "Afmon trig type en"; - } - typedef Match-authen-status-en { - type enumeration { - enum match-authen-status-unspecified { - value 0; - description "match authen status unspecified"; - } - enum match-authen-status-authenticated { - value 1; - description "match authen status authenticated"; - } - enum match-authen-status-unauthenticated { - value 2; - description "match authen status unauthenticated"; - } - enum match-authen-status-max { - value 3; - description "match authen status max"; - } - } - description "Match authen status en"; - } - typedef Policy-class-info-en { - type enumeration { - enum policy-class-info-key-type { - description "Policy Class Info Key"; - } - enum policy-class-info-mod-type { - description "Policy Class Info Modify Bag"; - } - } - description "Policy class info en"; - } - typedef Afmon-mdi-parm-type-en { - type enumeration { - enum afmon-mdi-parm-invalid { - value 0; - description "afmon mdi parm invalid"; - } - enum afmon-mdi-parm-pids { - value 1; - description "afmon mdi parm pids"; - } - enum afmon-mdi-parm-pkt-rate { - value 2; - description "afmon mdi parm pkt rate"; - } - enum afmon-mdi-parm-ip-pkt-rate { - value 3; - description "afmon mdi parm ip pkt rate"; - } - enum afmon-mdi-parm-ip-bit-rate { - value 4; - description "afmon mdi parm ip bit rate"; - } - enum afmon-mdi-parm-max { - value 5; - description "afmon mdi parm max"; - } - } - description "Afmon mdi parm type en"; - } - typedef Police-action-type-en { - type enumeration { - enum police-action-none { - value 0; - description "Policer Action None"; - } - enum police-action-transmit { - value 1; - description "Policer Action Transmit"; - } - enum police-action-drop { - value 2; - description "Policer Action Drop"; - } - enum police-action-mark { - value 3; - description "Policer Action Mark"; - } - enum police-action-max { - value 4; - description "Policer Action Max"; - } - } - description "Policer Action Type"; - } - typedef Match-mlp-negotiated-en { - type enumeration { - enum match-mlp-negotiated-unspecified { - value 0; - description "match mlp negotiated unspecified"; - } - enum match-mlp-negotiated { - value 1; - description "match mlp negotiated"; - } - enum match-mlp-not-negotiated { - value 2; - description "match mlp not negotiated"; - } - enum match-mlp-max { - value 3; - description "match mlp max"; - } - } - description "Match mlp negotiated en"; - } - typedef Match-cap-e { - type uint8; - description "Match cap e"; - } - typedef Policy-action-e { - type uint8; - description "Policy action e"; - } - typedef Match-nas-port-intf-type-en { - type enumeration { - enum match-nas-port-intf-type-unspecified { - value 0; - description "match nas port intf type unspecified"; - } - enum match-nas-port-intf-type-async { - value 1; - description "match nas port intf type async"; - } - enum match-nas-port-intf-type-atm { - value 2; - description "match nas port intf type atm"; - } - enum match-nas-port-intf-type-bri { - value 3; - description "match nas port intf type bri"; - } - enum match-nas-port-intf-type-ether { - value 4; - description "match nas port intf type ether"; - } - enum match-nas-port-intf-type-ipsec { - value 5; - description "match nas port intf type ipsec"; - } - enum match-nas-port-intf-type-none { - value 6; - description "match nas port intf type none"; - } - enum match-nas-port-intf-type-piafs { - value 7; - description "match nas port intf type piafs"; - } - enum match-nas-port-intf-type-pppatm { - value 8; - description "match nas port intf type pppatm"; - } - enum match-nas-port-intf-type-ppp-ether { - value 9; - description "match nas port intf type ppp ether"; - } - enum match-nas-port-intf-type-pppoeatm { - value 10; - description "match nas port intf type pppoeatm"; - } - enum match-nas-port-intf-type-pppqinq { - value 11; - description "match nas port intf type pppqinq"; - } - enum match-nas-port-intf-type-pppvlan { - value 12; - description "match nas port intf type pppvlan"; - } - enum match-nas-port-intf-type-pri { - value 13; - description "match nas port intf type pri"; - } - enum match-nas-port-intf-type-sync { - value 14; - description "match nas port intf type sync"; - } - enum match-nas-port-intf-type-v110 { - value 15; - description "match nas port intf type v110"; - } - enum match-nas-port-intf-type-v120 { - value 16; - description "match nas port intf type v120"; - } - enum match-nas-port-intf-type-vty { - value 17; - description "match nas port intf type vty"; - } - enum match-nas-port-intf-type-x75 { - value 18; - description "match nas port intf type x75"; - } - enum match-nas-port-intf-type-max { - value 19; - description "match nas port intf type max"; - } - } - description "Match nas port intf type en"; - } - - grouping DEI-BIT { - description "DEI BIT"; - uses DEI-BIT-ST; - } - - grouping UINT64-ARRAY { - description "UINT64 ARRAY"; - leaf-list uint64_array { - type uint64; - description "uint64 array"; - } - } - - grouping DEI-BIT-ST { - description "DEI BIT ST"; - leaf bit-value { - type uint32; - description "Value of the DEI bit"; - } - } - - grouping ACTION-PBF-INFO-ST { - description "action pbr pbf"; - leaf addr { - type inet:ipv6-address; - description "v4 or v6 address"; - } - leaf vrf { - type String-td; - description "vrf name"; - } - leaf rt-type { - type uint8; - description "route target type"; - } - leaf rt { - type yang:hex-string; - description "route target"; - } - } - - grouping MAC-ADDR-ARRAY { - description "MAC ADDR ARRAY"; - - list mac-addr-array { - description "mac addr array"; - uses MAC-ADDR-ST; - } - } - - grouping ACTION-SERVICE-FUNCTION-PATH-ST { - description "service function path"; - leaf path-id { - type uint32; - description "service path id"; - } - leaf service-index { - type uint8; - description "service path index"; - } - leaf meta-name { - type string; - description "metadata name"; - } - leaf vs-index { - type uint32; - description "vservice index"; - } - } - - grouping ACTION-AFMON-FMM-INFO-P { - description "ACTION AFMON FMM INFO P"; - uses ACTION-AFMON-FMM-INFO-ST; - } - - grouping ACTION-MARK2-INFO { - description "ACTION MARK2 INFO"; - - list action-mark2-info { - description "action mark2 info"; - uses ACTION-MARK2-INFO-ST; - } - } - - grouping ACTION-AUTHEN-AAA-INFO-P { - description "ACTION AUTHEN AAA INFO P"; - uses ACTION-AUTHEN-AAA-ST; - } - - grouping ACTION-IPV4-NH-INFO-ST { - description "ipv4 next hop action"; - leaf nh-addr { - type inet:ipv4-address; - description "nh addr"; - } - leaf vrf-name { - type string; - description "Vrf name"; - } - } - - grouping ACTION-AFMON-REACT-ST { - description "AFMon React Configuration"; - leaf oper-id { - type uint32; - description "React Operation ID"; - } - leaf description { - type String-td; - description "Describing the oper"; - } - leaf trig-num-intvls { - type uint32; - description "Averaged over N intvls"; - } - leaf clone-ifh { - type uint32; - description "Clone interface handle"; - } - leaf notif-actns { - type uint8; - description "Bitmap of actions on alert"; - } - leaf criterion { - type uint8; - description "React Criterion"; - } - leaf trig-type { - type uint8; - description "Immediate or averaged thresh trigger"; - } - leaf trig-relop { - type uint8; - description "Trigger LT|LE|GT|GE|Range"; - } - leaf trig-level-1 { - type String-td; - description "Trigger threshold 1/lower"; - } - leaf trig-level-2 { - type String-td; - description "Trigger upper threshold for range"; - } - leaf alm-grp-thresh { - type uint16; - units "percentage"; - description "Num/percent in grp"; - } - leaf alm-type { - type uint8; - description "Discrete | grouped alarm"; - } - leaf alm-severity { - type uint8; - description "Major|Minor|... alarm"; - } - } - - grouping ACTION-STOP-TIMER-INFO-P { - description "ACTION STOP TIMER INFO P"; - uses ACTION-STOP-TIMER-ST; - } - - grouping PMAP-VAR-LIST-ST { - description "PMAP VAR LIST ST"; - leaf-list offset { - type uint8; - description "offset"; - } - - list pmap-var-list-arr { - description "pmap var list arr"; - uses PMAP-VAR-INFO-ST; - } - } - - grouping ACTION-AFMON-MDI-INFO-ST { - description "AFMon MDI Configuration"; - - container ip-bit-rate { - description "data rate in bps"; - uses POLICY-PARAM-UINT32-ST; - } - leaf action-metric-type { - type Policy-action-en; - description "metric type"; - } - leaf filtered-pkt-rate { - type uint32; - description "filtered packet rate"; - } - leaf ip-pkt-rate { - type uint32; - description "packet rate in pps"; - } - leaf-list pids { - type uint32; - description "array of monitoredcd pids"; - } - } - - grouping INLINE-CLASS-MAP-BG { - description "Inline Class-map bag"; - - container match-infop { - description "Pointer to the first Match info"; - uses CLASS-MATCH-INFO-ST; - } - leaf mode { - type Class-map-mode-en; - description "Inline Class-Map Mode Match any/all"; - } - leaf flags { - type uint32; - description "Inline Class-Map flags"; - } - leaf match-count { - type uint32; - description "Number of Match infos"; - } - } - - grouping ACTION-AFMON-FLOW-PARM-INFO-ST { - description "(afmon) flow-parm submode action"; - leaf max-mon-flows { - type uint32; - description "max simult flows monitored per policy class"; - } - leaf mon-interval { - type uint32; - units "second"; - description "monitored interval duration in secs"; - } - leaf intvl-hist { - type uint32; - description "num intervals of data stored on rtr"; - } - leaf flow-timeout { - type uint32; - units "second"; - description "timeout in secs"; - } - } - - grouping ACTION-TIMEOUT-IDLE-INFO-P { - description "ACTION TIMEOUT IDLE INFO P"; - uses ACTION-TIMEOUT-IDLE-ST; - } - - grouping ACTION-ACCOUNTING-EVENT-ST { - description "ACTION ACCOUNTING EVENT ST"; - leaf action { - type Acct-en; - description "action"; - } - leaf aaa-list-name { - type string; - description "aaa list name"; - } - } - - grouping PLMGR-VRF-STATS-BG { - description "List of Stats of all class type"; - leaf pmap-name { - type string; - description "pmap name"; - } - - list cmap-stats-arr { - description "cmap stats arr"; - uses PLMGR-CMAP-STATS-ARR-ST; - } - } - grouping POLICY-MAP-BG { - description "Policy-map Bag"; - - list policy-map-bg { - description "policy map bg"; - - container pmap-var-list { - description "pmap var list"; - uses PMAP-VAR-LIST-ST; - } - - container event-infop { - description "event infop"; - uses POLICY-EVENT-INFO-BG; - } - leaf name { - type Policy-map-name; - description "name"; - } - leaf type { - type Policy-map-type-en; - description "type"; - } - leaf description { - type String-td; - description "description"; - } - } - } - grouping MATCH-IPV4-ST { - description "Source Address IPv4"; - leaf prefix { - type inet:ipv4-address; - description "prefix"; - } - leaf mask { - type inet:ipv4-address; - description "mask"; - } - } - - grouping ACTION-IPV4-NH-INFO-P { - description "ACTION IPV4 NH INFO P"; - uses ACTION-IPV4-NH-INFO-ARRAY; - } - - grouping ACTION-QLIMIT-INFO-ST { - description "Queue Limit structure"; - - container qlim { - description "qlim"; - uses POLICY-PARAM-UINT32-ST; - } - - container atmclp-qlim { - description "atmclp qlim"; - uses POLICY-PARAM-UINT32-ST; - } - - container match-values { - description "match values"; - uses UINT8-RNG-ARRAY; - } - leaf type { - type Qlimit-type-en; - description "type"; - } - leaf qlimit-flags { - type uint32; - description "qlimit flags"; - } - } - - grouping POLICY-MAP-APPLIED-SHOW-BG { - description "Policy-map applied show bag"; - leaf parent-pmap-name { - type Policy-map-name; - description "parent pmap name"; - } - leaf pmap-type { - type Policy-map-type-en; - description "pmap type"; - } - leaf-list subscriber-grp { - type Object-name; - description "subscriber grp"; - } - - list pmaps { - description "pmaps"; - uses POLICY-MAP-BG; - } - - list pmap-var-list { - description "pmap var list"; - uses PLMGR-APPLIED-VARLIST-BG; - } - } - - grouping POLICY-PARAM-UINT32-ST { - description "POLICY PARAM UINT32 ST"; - leaf value { - type uint32; - description "value"; - } - leaf unit { - type Policy-param-unit-type; - description "unit"; - } - } - - grouping ACTION-PFC-INFO-P { - description "ACTION PFC INFO P"; - uses ACTION-PFC-INFO-ST; - } - - grouping VALUE-ATTR-T { - description " Value attribute for a match type"; - leaf minimum { - type uint32; - description "Minimum value for a match type"; - } - leaf maximum { - type uint32; - description "Maximum value for a match type"; - } - } - - grouping POLICY-MAP-APPLIED-DATA-BG { - description "Policy-map applied data bag"; - leaf applied-pmap-name { - type Policy-map-name; - description "applied pmap name"; - } - leaf pmap-type { - type Policy-map-type-en; - description "pmap type"; - } - leaf-list merged-pmap-name-arr { - type Policy-map-name; - description "merged pmap name arr"; - } - leaf-list subscriber-grp { - type Object-name; - description "subscriber grp"; - } - - list pmap-var-list { - description "pmap var list"; - uses PLMGR-APPLIED-VARLIST-BG; - } - } - - grouping PACTION-DATA-HD { - description "PACTION DATA HD"; - uses POLICY-ACTION-INFO-ST; - } - - grouping PLMGR-CMAP-DIFF-BG { - description "Class-map diff Bag"; - - container del { - description "del"; - uses CLASS-MAP-BG; - } - - container add { - description "add"; - uses CLASS-MAP-BG; - } - } - - grouping ACTION-MARK-INFO { - description "ACTION MARK INFO"; - - list action-mark-info { - description "action mark info"; - uses ACTION-MARK-INFO-ST; - } - } - - grouping POLICY-CLASS-INFO-MOD-BG { - description "Policy-class modify Bag"; - - list policy-class-info-mod-bg { - description "policy class info mod bg"; - - container new-value { - description "new value"; - uses POLICY-CLASS-INFO-BG; - } - - container old-value { - description "old value"; - uses POLICY-CLASS-INFO-BG; - } - } - } - - grouping POLICY-ACTION-INFO-ST { - description "Per class action structure"; - - list policy-action-info-st { - description "policy action info st"; - - container actp { - description "actp"; - uses POLICY-ACTION-DATAP-UN; - } - leaf seq { - type uint16; - description "seq"; - } - leaf flags { - type uint16; - description "flags"; - } - } - } - - grouping CMATCH-DATA-HD { - description "CMATCH DATA HD"; - uses CLASS-MATCH-INFO-ST; - } - - grouping ACTION-QLIMIT-INFO-P { - description "ACTION QLIMIT INFO P"; - uses ACTION-QLIMIT-INFO-ARRAY; - } - - grouping PLMGR-APP-TB-ACTION-CAP-T { - description "Policy action capability"; - - container policy-action-attribute { - description "Policy Action attribute info"; - uses PLMGR-ACTION-ATTR-UN; - } - leaf policy-action { - type Policy-action-e; - description "Policy action "; - } - } - - grouping PLMGR-CMAP-STATS-ARR-ST { - description "Statistics per ClassMap"; - leaf cmap-name { - type string { - length "0..65"; - } - description "cmap name"; - } - leaf matched-bytes { - type uint64; - description "matched bytes"; - } - leaf matched-packets { - type uint64; - description "matched packets"; - } - leaf transmit-bytes { - type uint64; - description "transmit bytes"; - } - leaf transmit-packets { - type uint64; - description "transmit packets"; - } - } - - grouping POL-CLASS-ENC-UN { - description "Union of object name and app object ptr"; - - container inline-cmap { - when "../enc = 'policy-obj-enc-in-line'" { - description "../enc = 'POLICY_OBJ_ENC_INLINE'"; - } - description "inline cmap"; - uses INLINE-CLASS-MAP-BG; - } - leaf enc { - type Policy-obj-enc-en; - description "enc"; - } - leaf class-name { - when "../enc = 'policy-obj-enc-name'" { - description "../enc = 'POLICY_OBJ_ENC_NAME'"; - } - type Class-map-name; - description "class name"; - } - leaf hd { - when "../enc = 'policy-obj-enc-hdl'" { - description "../enc = 'POLICY_OBJ_ENC_HDL'"; - } - type Class-map-hd-inbag; - description "hd"; - } - leaf idx { - when "../enc = 'policy-obj-enc-var-idx'" { - description "../enc = 'POLICY_OBJ_ENC_VAR_IDX'"; - } - type uint8; - description "idx"; - } - } - - grouping ACTION-SERVICE-FUNCTION-PATH-P { - description "ACTION SERVICE FUNCTION PATH P"; - uses ACTION-SERVICE-FUNCTION-PATH-ST; - } - - grouping ACTION-SHAPE-INFO-ST { - description "Shape info bag"; - - container bw { - description "bw"; - uses POLICY-PARAM-UINT32-ST; - } - - container be { - description "be"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping ACTION-SERVICE-POLICY-INFO-P { - description "ACTION SERVICE POLICY INFO P"; - uses CHLD-POL-ENC-UN; - } - - grouping ACTION-PFC-INFO-ST { - description "Pfc info bag"; - - container buffer-size { - description "buffer size"; - uses POLICY-PARAM-UINT32-ST; - } - - container pause-threshold { - description "pause threshold"; - uses POLICY-PARAM-UINT32-ST; - } - - container resume-threshold { - description "resume threshold"; - uses POLICY-PARAM-UINT32-ST; - } - leaf pfc-pause-set { - type uint32; - description "pfc pause set"; - } - leaf buffer-size-flag { - type uint32; - description "buffer size flag"; - } - } - grouping MATCH-NAS-PORT-ST { - description "NAS Port"; - leaf sub-id { - type Match-nas-port-sub-id-en; - description "sub id"; - } - leaf operator { - type Match-logical-operator-en; - description "operator"; - } - leaf value { - type uint32; - description "value"; - } - } - - grouping PLMGR-APP-GL-COOKIE-CAP-T { - description "Cookie capability of a network element"; - leaf policy-map-cookie { - type boolean; - description "Specifies policy-map cookie supported or not"; - } - leaf inline-class-cookie { - type boolean; - description "Specifies class cookie supported or not"; - } - } - - grouping CMAP-DATA-HD { - description "CMAP DATA HD"; - uses CLASS-MAP-BG; - } - - grouping ACTION-AUTHEN-AAA-ST { - description "Authenticate AAA list info"; - leaf aaa-list-name { - type string; - description "aaa list name"; - } - leaf authen-password { - type string; - description "authen password"; - } - } - - grouping ACTION-SET-TIMER-INFO-P { - description "ACTION SET TIMER INFO P"; - uses ACTION-SET-TIMER-ST; - } - - grouping MAC-ADDR-ST { - description "MAC ADDR ST"; - leaf-list mac-addr { - type uint16; - max-elements "3"; - description "MAC address"; - } - leaf-list mask { - type uint16; - max-elements "3"; - description "MAC mask"; - } - } - - grouping PLMGR-ACTION-ATTR-UN { - description - "Union of default values corrosponding to variable - type"; - - container sub-action { - when "../action-type = 'sub-action-attribute'" { - description "../action_type = 'SubActionAttribute'"; - } - description "sub action"; - uses POLICY-SUB-ACTIONS-T; - } - - container action-attr { - when "../action-type = 'action-attribute'" { - description "../action_type = 'ActionAttribute'"; - } - description "action attr"; - uses POLICY-ACTION-ATTR-T; - } - leaf action-type { - type Policy-action-attr-en; - description "action type"; - } - } - - grouping PLMGR-APP-GL-SYSTEM-CAP-T { - description "System level capability of a network element"; - leaf maximum-inline-classes-per-system { - type uint32; - description - "Maximum number of inline classes supported on a - network element"; - } - leaf maximum-policy-maps-per-system { - type uint32; - description - "Maximum number of unique policy-map supported on - a network element"; - } - } - - grouping ACTION-PRIO-INFO-ST { - description "Priority action"; - leaf prio-lvl { - type uint32; - description "prio lvl"; - } - } - - grouping ACTION-AFMON-RTP-INFO-P { - description "ACTION AFMON RTP INFO P"; - uses ACTION-AFMON-RTP-INFO-ST; - } - - grouping PLMGR-MATCH-ATTR-UN { - description - "Union of default values corrosponding to variable - type"; - - container val-attr { - when "../match-attr-type = 'value'" { - description "../match_attr_type = 'Value'"; - } - description "val attr"; - uses VALUE-ATTR-T; - } - - container rng-attr { - when "../match-attr-type = 'range'" { - description "../match_attr_type = 'Range'"; - } - description "rng attr"; - uses VALUE-ATTR-T; - } - - container mask-attr { - when "../match-attr-type = 'mask'" { - description "../match_attr_type = 'Mask'"; - } - description "mask attr"; - uses MASK-ATTR-T; - } - leaf match-attr-type { - type Match-attr-e; - description "match attr type"; - } - } - - grouping UINT16-RNG-ARRAY { - description "UINT16 RNG ARRAY"; - - list uint16_rng_array { - description "uint16 rng array"; - uses UINT16-RNG-ST; - } - } - - grouping PLMGR-PMAP-TARGETS-SUMMARY-BG { - description - "Policymap targets summary info. returned to show - client(from policymgr)"; - leaf total-policy-maps-input-direction { - type uint32; - description "Total policymapsin the input direction"; - } - leaf total-policy-maps-output-direction { - type uint32; - description "Total policymapsin the output direction"; - } - leaf total-child-policy-maps-input-direction { - type uint32; - description - "Totalpolicymaps applied as child policy in the - input direction"; - } - leaf total-child-policy-maps-output-direction { - type uint32; - description - "Totalpolicymaps applied as child policy in the - output direction"; - } - leaf total-interfaces-input-direction { - type uint32; - description - "Totalinterfaces with service-policy in the input - direction"; - } - leaf total-interfaces-output-direction { - type uint32; - description - "Totalinterfaces with service-policy in the - output direction"; - } - } - - grouping POLICY-MAP-DETAILED-SHOW-BG { - description "Policy-map detail show bag"; - - container pmap { - description "Policy map info"; - uses POLICY-MAP-BG; - } - - container ipv4-acl { - description "IPv4 Access-list"; - uses STRING-ARRAY; - } - - container ipv6-acl { - description "IPv6 Access-list"; - uses STRING-ARRAY; - } - - container ether-service-acl { - description "Ethernet-Services Access-list"; - uses STRING-ARRAY; - } - } - - grouping PLMGR-SUMMARY-BG { - description "The policymgr database"; - leaf total-class-maps { - type uint32; - description "Total number of Classmaps configured"; - } - leaf total-class-map-types { - type uint32; - description "Total number of Classmap types configured"; - } - leaf total-policy-maps { - type uint32; - description "Total number of Policymaps configured"; - } - leaf total-policy-map-types { - type uint32; - description "Total number of Policymap types configured"; - } - - list class-maps { - description "Summary of Classmap database"; - uses PLMGR-APP-DB-BG; - } - - list policy-maps { - description "Summary of Policymap database"; - uses PLMGR-APP-DB-BG; - } - } - - grouping ACTION-IPV6-NH-INFO-ARRAY { - description "ACTION IPV6 NH INFO ARRAY"; - - list action-ipv6-nh-info-array { - description "action ipv6 nh info array"; - uses ACTION-IPV6-NH-INFO-ST; - } - } - - grouping ACTION-PREPAID-CONFIG-INFO-P { - description "ACTION PREPAID CONFIG INFO P"; - uses ACTION-PREPAID-CFG-ST; - } - - grouping PCLASS-KEY-HD { - description "PCLASS KEY HD"; - uses POLICY-CLASS-INFO-KEY-BG; - } - - grouping CLASS-MATCH-INFO-ST { - description "Class-map match info"; - - list class-match-info-st { - description "class match info st"; - - container match-data { - description "Match criteria"; - uses CLASS-MATCH-DATA-UN; - } - leaf flags { - type uint32; - description "Flags"; - } - } - } - - grouping ACTION-CAC-INFO-ST { - description "CAC action info bag"; - - container flow-rate { - description "flow rate"; - uses POLICY-PARAM-UINT32-ST; - } - - container rate { - description "rate"; - uses POLICY-PARAM-UINT32-ST; - } - leaf cac-type { - type Cac-flow-actn-type-e; - description "cac type"; - } - leaf idle-timeout { - type uint16; - description "idle timeout"; - } - } - - grouping AFMON-RTP-CLOCK-RATE-ST { - description "AFMon RTP clock rate params"; - leaf pt { - type uint32; - description "pt"; - } - leaf frequency { - type uint32; - description "frequency"; - } - } - - grouping ACTION-ACCT-AAA-LIST-INFO-P { - description "ACTION ACCT AAA LIST INFO P"; - uses ACTION-ACCT-AAA-LIST-ST; - } - - grouping PLMGR-APP-TB-PERSISTENT-CAP-T { - description "Table persistent capability"; - leaf persistent { - type boolean; - description "Table persistent support"; - } - } - - grouping ACTION-BWREM-INFO-P { - description "ACTION BWREM INFO P"; - uses ACTION-BWREM-INFO-ST; - } - - grouping PLMGR-APP-TB-TRANSIENT-CAP-T { - description "Table transient support capability"; - leaf transient { - type boolean; - description "Table transient support"; - } - } - - grouping PCLASS-DATA-HD { - description "PCLASS DATA HD"; - uses POLICY-CLASS-INFO-BG; - } - - grouping PLMGR-OBJ-REF-PMAP-BG { - description "Object detail."; - leaf total-internal-reference-objects { - type uint32; - description "Total number of internal reference objects"; - } - leaf total-class-maps { - type uint32; - description "Total number of Classmaps in a Policymap"; - } - leaf total-flows { - type uint32; - description "Total flows in a Policymap"; - } - } - - grouping PLMGR-VAR-VAL-UN { - description - "Union of default values corrosponding to variable - type"; - leaf type { - type Plmgr-var-type-en; - description "type"; - } - leaf class-name { - when "../type = 'plmgr-var-type-class-name'" { - description "../type = 'PLMGR_VAR_TYPE_CLASS_NAME'"; - } - type Var-cmap-name; - description "class name"; - } - leaf uint8_val { - when "../type = 'plmgr-var-type-uint8'" { - description "../type = 'PLMGR_VAR_TYPE_UINT8'"; - } - type uint8; - description "uint8 val"; - } - leaf uint16_val { - when "../type = 'plmgr-var-type-uint16'" { - description "../type = 'PLMGR_VAR_TYPE_UINT16'"; - } - type uint16; - description "uint16 val"; - } - leaf uint32_val { - when "../type = 'plmgr-var-type-uint32'" { - description "../type = 'PLMGR_VAR_TYPE_UINT32'"; - } - type uint32; - description "uint32 val"; - } - leaf param-uint32-val { - when "../type = 'plmgr-var-type-param-uint32'" { - description "../type = 'PLMGR_VAR_TYPE_PARAM_UINT32'"; - } - type uint32; - description "param uint32 val"; - } - leaf dscp-val { - when "../type = 'plmgr-var-type-dscp'" { - description "../type = 'PLMGR_VAR_TYPE_DSCP'"; - } - type uint8; - description "dscp val"; - } - leaf prec-val { - when "../type = 'plmgr-var-type-prec'" { - description "../type = 'PLMGR_VAR_TYPE_PREC'"; - } - type uint8; - description "prec val"; - } - } - - grouping ACTION-AUTHORIZE-ID-ST { - description "authorize identifiers"; - leaf id { - type uint8; - description "id"; - } - leaf aaa-list-name { - type string; - description "aaa list name"; - } - leaf format-name { - type string; - description "format name"; - } - leaf password { - type string; - description "password"; - } - } - - grouping ACTION-ENCAP-INFO-ST { - description "Encapsulation sequence action"; - leaf seq { - type uint8; - description "seq"; - } - } - - grouping IPV4-ADDR-ARRAY { - description "IPV4 ADDR ARRAY"; - - list ipv4-addr-array { - description "ipv4 addr array"; - uses MATCH-IPV4-ST; - } - } - - grouping NAS-PORT-ARRAY { - description "NAS PORT ARRAY"; - - list nas-port-array { - description "nas port array"; - uses MATCH-NAS-PORT-ST; - } - } - - grouping ACTION-AFMON-IPCBR-INFO-ST { - description "AFMon IP-CBR Configuration"; - - container ip-bit-rate { - description "data rate in bps"; - uses POLICY-PARAM-UINT32-ST; - } - - container media-bit-rate { - description "media data rate in bps"; - uses POLICY-PARAM-UINT32-ST; - } - leaf action-metric-type { - type Policy-action-en; - description "metric type"; - } - leaf ip-pkt-rate { - type uint32; - description "packet rate in pps"; - } - leaf media-pkt-size { - type uint32; - units "byte"; - description "media packet size in bytes"; - } - leaf media-pkts-per-ip { - type uint32; - description "media packets per ip pkt"; - } - } - - grouping ACTION-AFMON-IPCBR-INFO-P { - description "ACTION AFMON IPCBR INFO P"; - uses ACTION-AFMON-IPCBR-INFO-ST; - } - - grouping ACTION-IPV4-NH-INFO-ARRAY { - description "ACTION IPV4 NH INFO ARRAY"; - - list action-ipv4-nh-info-array { - description "action ipv4 nh info array"; - uses ACTION-IPV4-NH-INFO-ST; - } - } - - grouping PEVENT-DATA-HD { - description "PEVENT DATA HD"; - uses POLICY-EVENT-INFO-BG; - } - - grouping ACTION-REDIRECT-INFO-ST { - description "redirect action"; - leaf value { - type uint32; - description "value"; - } - leaf type { - type Redirect-type-e; - description "type"; - } - } - - grouping CLASS-MAP-BG { - description "Class-map bag"; - - list class-map-bg { - description "class map bg"; - - container match-infop { - description "Pointer to the first Match info"; - uses CLASS-MATCH-INFO-ST; - } - leaf name { - type Class-map-name; - description "Name of the class-map"; - } - leaf type { - type Class-map-type-en; - description "Class-Map Type QoS/PBR/Netflow/..."; - } - leaf mode { - type Class-map-mode-en; - description "Class-Map Mode Match any/Match all"; - } - leaf description { - type String-td; - description "description"; - } - } - } - - grouping MATCH-IPV6-ST { - description "MATCH IPV6 ST"; - leaf prefix { - type inet:ipv6-address; - description "IPV6 prefix"; - } - leaf mask { - type uint32; - description "IPV6 mask"; - } - } - - grouping ACTION-SERVICE-POLICY-INFO-ST { - description "ACTION SERVICE POLICY INFO ST"; - uses CHLD-POL-ENC-UN; - } - - grouping ACTION-ENCAP-INFO-P { - description "ACTION ENCAP INFO P"; - uses ACTION-ENCAP-INFO-ST; - } - - grouping ACTION-PBF-INFO-ARRAY { - description "ACTION PBF INFO ARRAY"; - - list action-pbf-info-array { - description "action pbf info array"; - uses ACTION-PBF-INFO-ST; - } - } - - grouping ACTION-HTTPR-INFO-ST { - description "httpr action"; - leaf redirect-url { - type string; - description "redirect url"; - } - } - - grouping POLICY-ACTION-DATAP-UN { - description "Pointers to the action data of different type"; - - container mark { - when "../type = 'policy-action-mark'" { - description "../type = 'POLICY_ACTION_MARK'"; - } - description "mark"; - uses ACTION-MARK-INFO; - } - - container mark2 { - when "../type = 'policy-action-mark2'" { - description "../type = 'POLICY_ACTION_MARK2'"; - } - description "mark2"; - uses ACTION-MARK2-INFO; - } - - container wred { - when "../type = 'policy-action-wred'" { - description "../type = 'POLICY_ACTION_WRED'"; - } - description "wred"; - uses ACTION-WRED-INFO; - } - - container encap { - when "../type = 'policy-action-encap-seq'" { - description "../type = 'POLICY_ACTION_ENCAP_SEQ'"; - } - description "encap"; - uses ACTION-ENCAP-INFO-ST; - } - - container prio { - when "../type = 'policy-action-priority'" { - description "../type = 'POLICY_ACTION_PRIORITY'"; - } - description "prio"; - uses ACTION-PRIO-INFO-ST; - } - - container bwrem { - when "../type = 'policy-action-bw-remaining'" { - description "../type = 'POLICY_ACTION_BW_REMAINING'"; - } - description "bwrem"; - uses ACTION-BWREM-INFO-ST; - } - - container min-bw { - when "../type = 'policy-action-min-bw'" { - description "../type = 'POLICY_ACTION_MIN_BW'"; - } - description "min bw"; - uses ACTION-MINBW-INFO-ST; - } - - container authen-aaa { - when "../type = 'policy-action-authenticate-aaa'" { - description "../type = 'POLICY_ACTION_AUTHENTICATE_AAA'"; - } - description "authen aaa"; - uses ACTION-AUTHEN-AAA-ST; - } - - container collect-id { - when "../type = 'policy-action-collect-id'" { - description "../type = 'POLICY_ACTION_COLLECT_ID'"; - } - description "collect id"; - uses ACTION-COLLECT-ID-ST; - } - - container decode-id { - when "../type = 'policy-action-decode-identifier'" { - description "../type = 'POLICY_ACTION_DECODE_IDENTIFIER'"; - } - description "decode id"; - uses ACTION-DECODE-IDENTIFIER-ST; - } - - container set-timer { - when "../type = 'policy-action-set-timer'" { - description "../type = 'POLICY_ACTION_SET_TIMER'"; - } - description "set timer"; - uses ACTION-SET-TIMER-ST; - } - - container stop-timer { - when "../type = 'policy-action-stop-timer'" { - description "../type = 'POLICY_ACTION_STOP_TIMER'"; - } - description "stop timer"; - uses ACTION-STOP-TIMER-ST; - } - - container acct-aaa-list { - when "../type = 'policy-action-accounting-aaa-list'" { - description "../type = 'POLICY_ACTION_ACCOUNTING_AAA_LIST'"; - } - description "acct aaa list"; - uses ACTION-ACCT-AAA-LIST-ST; - } - - container query-ancp { - when "../type = 'policy-action-query-ancp'" { - description "../type = 'POLICY_ACTION_QUERY_ANCP'"; - } - description "query ancp"; - uses ACTION-QUERY-ANCP-SESSION-ST; - } - - container prepaid-cfg { - when "../type = 'policy-action-prepaid-config'" { - description "../type = 'POLICY_ACTION_PREPAID_CONFIG'"; - } - description "prepaid cfg"; - uses ACTION-PREPAID-CFG-ST; - } - - container timeout-idle { - when "../type = 'policy-action-timeout-idle'" { - description "../type = 'POLICY_ACTION_TIMEOUT_IDLE'"; - } - description "timeout idle"; - uses ACTION-TIMEOUT-IDLE-ST; - } - - container proxy-aaa { - when "../type = 'policy-action-proxy-aaa'" { - description "../type = 'POLICY_ACTION_PROXY_AAA'"; - } - description "proxy aaa"; - uses ACTION-PROXY-AAA-ST; - } - - container act-template { - when "../type = 'policy-action-template-activate'" { - description "../type = 'POLICY_ACTION_TEMPLATE_ACTIVATE'"; - } - description "act template"; - uses ACTION-TEMPLATE-ST; - } - - container deact-template { - when "../type = 'policy-action-template-deactivate'" { - description "../type = 'POLICY_ACTION_TEMPLATE_DEACTIVATE'"; - } - description "deact template"; - uses ACTION-TEMPLATE-ST; - } - - container qlimit { - when "../type = 'policy-action-q-limit'" { - description "../type = 'POLICY_ACTION_Q_LIMIT'"; - } - description "qlimit"; - uses ACTION-QLIMIT-INFO-ARRAY; - } - - container accounting-event-aaa { - when "../type = 'policy-action-accounting-event-aaa-list'" { - description - "../type = - 'POLICY_ACTION_ACCOUNTING_EVENT_AAA_LIST'"; - } - description "accounting event aaa"; - uses ACTION-ACCOUNTING-EVENT-ST; - } - - container authorize-id { - when "../type = 'policy-action-authorize-id'" { - description "../type = 'POLICY_ACTION_AUTHORIZE_ID'"; - } - description "authorize id"; - uses ACTION-AUTHORIZE-ID-ST; - } - - container afm-react { - when "../type = 'policy-action-afmon-react'" { - description "../type = 'POLICY_ACTION_AFMON_REACT'"; - } - description "afm react"; - uses ACTION-AFMON-REACT-INFO; - } - - container httpr { - when "../type = 'policy-action-httpr'" { - description "../type = 'POLICY_ACTION_HTTPR'"; - } - description "httpr"; - uses ACTION-HTTPR-INFO-ST; - } - - container punt { - when "../type = 'policy-action-punt'" { - description "../type = 'POLICY_ACTION_PUNT'"; - } - description "punt"; - uses ACTION-PUNT-INFO-ST; - } - - container copy { - when "../type = 'policy-action-copy'" { - description "../type = 'POLICY_ACTION_COPY'"; - } - description "copy"; - uses ACTION-COPY-INFO-ST; - } - - container sfrag { - when "../type = 'policy-action-sfrag'" { - description "../type = 'POLICY_ACTION_SFRAG'"; - } - description "sfrag"; - uses ACTION-SFRAG-INFO-ST; - } - - container redirect { - when "../type = 'policy-action-redirect'" { - description "../type = 'POLICY_ACTION_REDIRECT'"; - } - description "redirect"; - uses ACTION-REDIRECT-INFO-ST; - } - - container out-intf { - when "../type = 'policy-action-output-interface'" { - description "../type = 'POLICY_ACTION_OUTPUT_INTERFACE'"; - } - description "out intf"; - uses ACTION-OUTPUT-INTERFACE-INFO-ST; - } - - container serv-func { - when "../type = 'policy-action-service-function-path'" { - description - "../type = 'POLICY_ACTION_SERVICE_FUNCTION_PATH'"; - } - description "serv func"; - uses ACTION-SERVICE-FUNCTION-PATH-ST; - } - - container police { - when "../type = 'policy-action-police'" { - description "../type = 'POLICY_ACTION_POLICE'"; - } - description "police"; - uses ACTION-POLICE-INFO-ST; - } - - container shape { - when "../type = 'policy-action-shape'" { - description "../type = 'POLICY_ACTION_SHAPE'"; - } - description "shape"; - uses ACTION-SHAPE-INFO-ST; - } - - container child-policy { - when "../type = 'policy-action-serv-pol'" { - description "../type = 'POLICY_ACTION_SERV_POL'"; - } - description "child policy"; - uses CHLD-POL-ENC-UN; - } - - container cac { - when "../type = 'policy-action-cac'" { - description "../type = 'POLICY_ACTION_CAC'"; - } - description "cac"; - uses ACTION-CAC-INFO-ST; - } - - container pfc { - when "../type = 'policy-action-pfc'" { - description "../type = 'POLICY_ACTION_PFC'"; - } - description "pfc"; - uses ACTION-PFC-INFO-ST; - } - - container flow-parm { - when "../type = 'policy-action-afmon-flow-parm'" { - description "../type = 'POLICY_ACTION_AFMON_FLOW_PARM'"; - } - description "flow parm"; - uses ACTION-AFMON-FLOW-PARM-INFO-ST; - } - - container ipcbr { - when "../type = 'policy-action-afmon-ipcbr-metric'" { - description "../type = 'POLICY_ACTION_AFMON_IPCBR_METRIC'"; - } - description "ipcbr"; - uses ACTION-AFMON-IPCBR-INFO-ST; - } - - container rtp { - when "../type = 'policy-action-afmon-rtp-metric'" { - description "../type = 'POLICY_ACTION_AFMON_RTP_METRIC'"; - } - description "rtp"; - uses ACTION-AFMON-RTP-INFO-ST; - } - - container rtp-mmr { - when "../type = 'policy-action-afmon-rtp-mmr-metric'" { - description - "../type = 'POLICY_ACTION_AFMON_RTP_MMR_METRIC'"; - } - description "rtp mmr"; - uses ACTION-AFMON-RTP-INFO-ST; - } - - container rtp-j2k { - when "../type = 'policy-action-afmon-rtp-j2k-metric'" { - description - "../type = 'POLICY_ACTION_AFMON_RTP_J2K_METRIC'"; - } - description "rtp j2k"; - uses ACTION-AFMON-RTP-INFO-ST; - } - - container rtp-voice { - when "../type = 'policy-action-afmon-rtp-voice-metric'" { - description - "../type = - 'POLICY_ACTION_AFMON_RTP_VOICE_METRIC'"; - } - description "rtp voice"; - uses ACTION-AFMON-RTP-INFO-ST; - } - - container mdi { - when "../type = 'policy-action-afmon-mdi-metric'" { - description "../type = 'POLICY_ACTION_AFMON_MDI_METRIC'"; - } - description "mdi"; - uses ACTION-AFMON-MDI-INFO-ST; - } - - container mdi-rtp { - when "../type = 'policy-action-afmon-mdi-rtp-metric'" { - description - "../type = 'POLICY_ACTION_AFMON_MDI_RTP_METRIC'"; - } - description "mdi rtp"; - uses ACTION-AFMON-MDI-INFO-ST; - } - - container fmm { - when "../type = 'policy-action-afmon-fmm'" { - description "../type = 'POLICY_ACTION_AFMON_FMM'"; - } - description "fmm"; - uses ACTION-AFMON-FMM-INFO-ST; - } - - container pbf { - when "../type = 'policy-action-pbr-next-hop'" { - description "../type = 'POLICY_ACTION_PBR_NEXTHOP'"; - } - description "pbf"; - uses ACTION-PBF-INFO-ARRAY; - } - - container ipv4-nh { - when "../type = 'policy-action-ipv4-nh'" { - description "../type = 'POLICY_ACTION_IPV4_NH'"; - } - description "ipv4 nh"; - uses ACTION-IPV4-NH-INFO-ARRAY; - } - - container ipv6-nh { - when "../type = 'policy-action-ipv6-nh'" { - description "../type = 'POLICY_ACTION_IPV6_NH'"; - } - description "ipv6 nh"; - uses ACTION-IPV6-NH-INFO-ARRAY; - } - leaf type { - type Policy-action-en; - description "type"; - } - leaf data-p { - when "../type != 'policy-action-mark' and ../type !="+ - " 'policy-action-mark2' and ../type !="+ - " 'policy-action-wred' and ../type !="+ - " 'policy-action-encap-seq' and ../type !="+ - " 'policy-action-priority' and ../type !="+ - " 'policy-action-bw-remaining' and ../type !="+ - " 'policy-action-min-bw' and ../type !="+ - " 'policy-action-authenticate-aaa' and ../type !="+ - " 'policy-action-collect-id' and ../type !="+ - " 'policy-action-decode-identifier' and ../type !="+ - " 'policy-action-set-timer' and ../type !="+ - " 'policy-action-stop-timer' and ../type !="+ - " 'policy-action-accounting-aaa-list' and ../type !="+ - " 'policy-action-query-ancp' and ../type !="+ - " 'policy-action-prepaid-config' and ../type !="+ - " 'policy-action-timeout-idle' and ../type !="+ - " 'policy-action-proxy-aaa' and ../type !="+ - " 'policy-action-template-activate' and ../type !="+ - " 'policy-action-template-deactivate' and ../type !="+ - " 'policy-action-q-limit' and ../type !="+ - " 'policy-action-accounting-event-aaa-list' and ../type !="+ - " 'policy-action-authorize-id' and ../type !="+ - " 'policy-action-afmon-react' and ../type !="+ - " 'policy-action-httpr' and ../type !="+ - " 'policy-action-punt' and ../type != 'policy-action-copy'"+ - " and ../type != 'policy-action-sfrag' and ../type !="+ - " 'policy-action-redirect' and ../type !="+ - " 'policy-action-output-interface' and ../type !="+ - " 'policy-action-service-function-path' and ../type !="+ - " 'policy-action-police' and ../type !="+ - " 'policy-action-shape' and ../type !="+ - " 'policy-action-serv-pol' and ../type !="+ - " 'policy-action-cac' and ../type != 'policy-action-pfc'"+ - " and ../type != 'policy-action-afmon-flow-parm' and"+ - " ../type != 'policy-action-afmon-ipcbr-metric' and"+ - " ../type != 'policy-action-afmon-rtp-metric' and ../type"+ - " != 'policy-action-afmon-rtp-mmr-metric' and ../type !="+ - " 'policy-action-afmon-rtp-j2k-metric' and ../type !="+ - " 'policy-action-afmon-rtp-voice-metric' and ../type !="+ - " 'policy-action-afmon-mdi-metric' and ../type !="+ - " 'policy-action-afmon-mdi-rtp-metric' and ../type !="+ - " 'policy-action-afmon-fmm' and ../type !="+ - " 'policy-action-pbr-next-hop' and ../type !="+ - " 'policy-action-ipv4-nh' and ../type !="+ - " 'policy-action-ipv6-nh'" { - description - "../type != 'POLICY_ACTION_MARK' and ../type != - 'POLICY_ACTION_MARK2' and ../type != - 'POLICY_ACTION_WRED' and ../type != - 'POLICY_ACTION_ENCAP_SEQ' and ../type != - 'POLICY_ACTION_PRIORITY' and ../type != - 'POLICY_ACTION_BW_REMAINING' and ../type != - 'POLICY_ACTION_MIN_BW' and ../type != - 'POLICY_ACTION_AUTHENTICATE_AAA' and ../type - != 'POLICY_ACTION_COLLECT_ID' and ../type != - 'POLICY_ACTION_DECODE_IDENTIFIER' and ../type - != 'POLICY_ACTION_SET_TIMER' and ../type != - 'POLICY_ACTION_STOP_TIMER' and ../type != - 'POLICY_ACTION_ACCOUNTING_AAA_LIST' and . - ./type != 'POLICY_ACTION_QUERY_ANCP' and . - ./type != 'POLICY_ACTION_PREPAID_CONFIG' and . - ./type != 'POLICY_ACTION_TIMEOUT_IDLE' and . - ./type != 'POLICY_ACTION_PROXY_AAA' and . - ./type != 'POLICY_ACTION_TEMPLATE_ACTIVATE' - and ../type != - 'POLICY_ACTION_TEMPLATE_DEACTIVATE' and . - ./type != 'POLICY_ACTION_Q_LIMIT' and ../type - != 'POLICY_ACTION_ACCOUNTING_EVENT_AAA_LIST' - and ../type != 'POLICY_ACTION_AUTHORIZE_ID' - and ../type != 'POLICY_ACTION_AFMON_REACT' and - ../type != 'POLICY_ACTION_HTTPR' and ../type - != 'POLICY_ACTION_PUNT' and ../type != - 'POLICY_ACTION_COPY' and ../type != - 'POLICY_ACTION_SFRAG' and ../type != - 'POLICY_ACTION_REDIRECT' and ../type != - 'POLICY_ACTION_OUTPUT_INTERFACE' and ../type - != 'POLICY_ACTION_SERVICE_FUNCTION_PATH' and . - ./type != 'POLICY_ACTION_POLICE' and ../type - != 'POLICY_ACTION_SHAPE' and ../type != - 'POLICY_ACTION_SERV_POL' and ../type != - 'POLICY_ACTION_CAC' and ../type != - 'POLICY_ACTION_PFC' and ../type != - 'POLICY_ACTION_AFMON_FLOW_PARM' and ../type != - 'POLICY_ACTION_AFMON_IPCBR_METRIC' and ../type - != 'POLICY_ACTION_AFMON_RTP_METRIC' and . - ./type != 'POLICY_ACTION_AFMON_RTP_MMR_METRIC' - and ../type != - 'POLICY_ACTION_AFMON_RTP_J2K_METRIC' and . - ./type != - 'POLICY_ACTION_AFMON_RTP_VOICE_METRIC' and . - ./type != 'POLICY_ACTION_AFMON_MDI_METRIC' and - ../type != - 'POLICY_ACTION_AFMON_MDI_RTP_METRIC' and . - ./type != 'POLICY_ACTION_AFMON_FMM' and . - ./type != 'POLICY_ACTION_PBR_NEXTHOP' and . - ./type != 'POLICY_ACTION_IPV4_NH' and ../type - != 'POLICY_ACTION_IPV6_NH'"; - } - type uint32; - description "data p"; - } - } - - grouping ACTION-DECODE-IDENTIFIER-ST { - description "ACTION DECODE IDENTIFIER ST"; - leaf id { - type Decode-identifier-en; - description "id"; - } - leaf format-name { - type string; - description "format name"; - } - } - - grouping ACTION-POLICE-INFO-ST { - description "Police action info bag"; - - container rate { - description "rate"; - uses POLICY-PARAM-UINT32-ST; - } - - container burst { - description "burst"; - uses POLICY-PARAM-UINT32-ST; - } - - container peak-rate { - description "peak rate"; - uses POLICY-PARAM-UINT32-ST; - } - - container peak-burst { - description "peak burst"; - uses POLICY-PARAM-UINT32-ST; - } - - container cdvt { - description "cdvt"; - uses POLICY-PARAM-UINT32-ST; - } - - container conform-actns { - description "conform actns"; - uses POLICE-ACTION-ARRAY; - } - - container exceed-actns { - description "exceed actns"; - uses POLICE-ACTION-ARRAY; - } - - container violate-actns { - description "violate actns"; - uses POLICE-ACTION-ARRAY; - } - - container confclass-encode { - description "confclass encode"; - uses POL-CLASS-ENC-UN; - } - - container confclass-p { - description "confclass p"; - uses CLASS-MAP-BG; - } - - container excdclass-encode { - description "excdclass encode"; - uses POL-CLASS-ENC-UN; - } - - container excdclass-p { - description "excdclass p"; - uses CLASS-MAP-BG; - } - leaf flags { - type uint32; - description "flags"; - } - leaf police-flags { - type uint32; - description "police flags"; - } - leaf sbuck-name { - type Shared-bucket-name; - description "sbuck name"; - } - leaf sbuck-type { - type Shared-bucket-type; - description "sbuck type"; - } - } - - grouping PLMGR-APP-GL-BULK-BEST-EFFORT-CAP-T { - description " Best effort capability of a network element"; - leaf best-effort-per-bulk-instance { - type boolean; - description - "Specifies policymgr supports bulk configuration - best effort behavior or not"; - } - } - - grouping POLICY-CLASS-INFO-KEY-BG { - description "Policy-class key Bag"; - - list policy-class-info-key-bg { - description "policy class info key bg"; - leaf policy-class-hd { - type uint32; - description "policy class hd"; - } - leaf seq { - type uint32; - description "seq"; - } - } - } - - grouping ACTION-COLLECT-ID-INFO-P { - description "ACTION COLLECT ID INFO P"; - uses ACTION-COLLECT-ID-ST; - } - - grouping POLICY-CLASS-INFO-UN { - description "POLICY CLASS INFO UN"; - - container key { - when "../type = 'policy-class-info-key-type'" { - description "../type = 'POLICY_CLASS_INFO_KEY_TYPE'"; - } - description "key"; - uses POLICY-CLASS-INFO-KEY-BG; - } - - container mod-data { - when "../type = 'policy-class-info-mod-type'" { - description "../type = 'POLICY_CLASS_INFO_MOD_TYPE'"; - } - description "mod data"; - uses POLICY-CLASS-INFO-MOD-BG; - } - leaf type { - type Policy-class-info-en; - description "type"; - } - } - - grouping ACTION-PRIO-INFO-P { - description "ACTION PRIO INFO P"; - uses ACTION-PRIO-INFO-ST; - } - - grouping ACTION-QUERY-ANCP-SESSION-P { - description "ACTION QUERY ANCP SESSION P"; - uses ACTION-QUERY-ANCP-SESSION-ST; - } - - grouping PLMGR-TABLE-CAP-BG { - description "Table Capability details "; - - list table-capabilty { - description "Table capability"; - uses PLMGR-APP-TB-CAPS-T; - } - } - - grouping POLICE-ACTION-UN { - description "Police action bag"; - - container mark { - when "../type = 'police-action-mark'" { - description "../type = 'POLICE_ACTION_MARK'"; - } - description "mark"; - uses ACTION-MARK-INFO-ST; - } - leaf type { - type Police-action-type-en; - description "type"; - } - } - - grouping UINT32-RNG-ST { - description "UINT32 RNG ST"; - leaf min { - type uint32; - description "Lower limit of the range"; - } - leaf max { - type uint32; - description "Upper limit of the range"; - } - } - - grouping ACTION-COLLECT-ID-ST { - description "Collect identifiers"; - leaf id { - type Identifier-en; - description "id"; - } - leaf aaa-list-name { - type string; - description "aaa list name"; - } - } - - grouping ACTION-SHAPE-INFO-P { - description "ACTION SHAPE INFO P"; - uses ACTION-SHAPE-INFO-ST; - } - - grouping PLMGR-PMAP-DIFF-BG { - description "Policy-map diff Bag"; - - container del { - description "del"; - uses POLICY-MAP-BG; - } - - container add { - description "add"; - uses POLICY-MAP-BG; - } - } - - grouping ACTION-WRED-INFO-P { - description "ACTION WRED INFO P"; - uses ACTION-WRED-INFO; - } - - grouping PLMGR-APP-GL-STATS-CAP-T { - description "Stats capability of a network element"; - leaf maximum-class-stats-polling-rate { - type uint32; - description - "Maximum statistics polling rate supported by a - network in terms of class stats per sec"; - } - } - - grouping UINT32-ARRAY { - description "UINT32 ARRAY"; - leaf-list uint32_array { - type uint32; - description "uint32 array"; - } - } - - grouping PLMGR-OBJ-REF-SUMMARY-BG { - description "Object detail."; - leaf object-name { - type string { - length "0..64"; - } - description "Name of object (Policymap/Classmap)"; - } - } - - grouping ACTION-COPY-INFO-ST { - description "copy action"; - leaf num-byte { - type uint32; - units "byte"; - description "number of bytes"; - } - leaf sn-type { - type Dpss-snid-type-en; - description "service node ID type"; - } - leaf sn-index { - type uint32; - description "service node index"; - } - leaf sn-name { - type string; - description "service node url"; - } - leaf app-id { - type uint32; - description "application ID"; - } - leaf local-id { - type uint32; - description "local ID"; - } - leaf vsnode-type { - type Vsvc-service-type-t; - description "vservice node type"; - } - } - - grouping ACTION-SFRAG-INFO-P { - description "ACTION SFRAG INFO P"; - uses ACTION-SFRAG-INFO-ST; - } - - grouping PLMGR-APP-TB-CLASS-CAP-T { - description " Table class capability"; - leaf classmap-class-support { - type boolean; - description "ClassmapClassSupport"; - } - leaf class-sequence-number-support { - type boolean; - description "ClassSequenceNumberSupport"; - } - leaf class-ordering-support { - type boolean; - description "ClassOrderingSupport"; - } - leaf class-idel-timeout-support { - type boolean; - description "ClassIdelTimeoutSupport"; - } - leaf inline-c-lass-support { - type boolean; - description "InlineCLassSupport"; - } - leaf maximum-inline-class-provision-rate { - type uint32; - description "MaximumInlineClassProvisionRate"; - } - leaf maximum-inline-class-per-table { - type uint32; - description "MaximumInlineClassPerTable"; - } - } - - grouping PLMGR-PMAP-TARGETS-ARR-BG { - description "The array bag"; - - list plmgr-pmap-targets { - description "plmgr pmap targets"; - uses PLMGR-PMAP-TARGETS-BG; - } - } - - grouping CLASS-MATCH-DATA-UN { - description "Union of pointers to the supported match criteria"; - - container ipv4-dscp { - when "../type = 'match-type-ipv4-dscp'" { - description "../type = 'MATCH_TYPE_IPV4_DSCP'"; - } - description "IPv4 DSCP"; - uses UINT8-RNG-ARRAY; - } - - container ipv6-dscp { - when "../type = 'match-type-ipv6-dscp'" { - description "../type = 'MATCH_TYPE_IPV6_DSCP'"; - } - description "IPv6 DSCP"; - uses UINT8-RNG-ARRAY; - } - - container dscp { - when "../type = 'match-type-dscp'" { - description "../type = 'MATCH_TYPE_DSCP'"; - } - description "Match DSCP range array"; - uses UINT8-RNG-ARRAY; - } - - container ipv4-prec { - when "../type = 'match-type-ipv4-prec'" { - description "../type = 'MATCH_TYPE_IPV4_PREC'"; - } - description "IPv4 Precedence"; - uses UINT8-ARRAY; - } - - container ipv6-prec { - when "../type = 'match-type-ipv6-prec'" { - description "../type = 'MATCH_TYPE_IPV6_PREC'"; - } - description "IPv6 Precedence"; - uses UINT8-ARRAY; - } - - container prec { - when "../type = 'match-type-prec'" { - description "../type = 'MATCH_TYPE_PREC'"; - } - description "Match Precedence array"; - uses UINT8-ARRAY; - } - - container discard-class { - when "../type = 'match-type-disc-cls'" { - description "../type = 'MATCH_TYPE_DISC_CLS'"; - } - description "Match Discard Class array"; - uses UINT8-ARRAY; - } - - container qos-group { - when "../type = 'match-type-qos-grp'" { - description "../type = 'MATCH_TYPE_QOS_GRP'"; - } - description "Match QoS group array"; - uses UINT16-RNG-ARRAY; - } - - container traffic-class { - when "../type = 'match-type-traffic-class'" { - description "../type = 'MATCH_TYPE_TRAFFIC_CLASS'"; - } - description "Match Traffic class array"; - uses UINT8-RNG-ARRAY; - } - - container proto { - when "../type = 'match-type-proto'" { - description "../type = 'MATCH_TYPE_PROTO'"; - } - description "Match Protocol array"; - uses UINT16-RNG-ARRAY; - } - - container icmp-v4 { - when "../type = 'match-type-proto-icmpv4'" { - description "../type = 'MATCH_TYPE_PROTO_ICMPV4'"; - } - description "Match ICMPV4 Protocol"; - uses PROTO-ICMP-ST; - } - - container icmp-v6 { - when "../type = 'match-type-proto-icmpv6'" { - description "../type = 'MATCH_TYPE_PROTO_ICMPV6'"; - } - description "Match ICMPV6 Protocol array"; - uses PROTO-ICMP-ST; - } - - container ipv4-packet-len { - when "../type = 'match-type-ipv4-packet-length'" { - description "../type = 'MATCH_TYPE_IPV4_PACKET_LENGTH'"; - } - description "IPv4 packet length array"; - uses UINT16-RNG-ARRAY; - } - - container ipv6-packet-len { - when "../type = 'match-type-ipv6-packet-length'" { - description "../type = 'MATCH_TYPE_IPV6_PACKET_LENGTH'"; - } - description "IPv6 packet length array"; - uses UINT16-RNG-ARRAY; - } - - container packet-len { - when "../type = 'match-type-packet-length'" { - description "../type = 'MATCH_TYPE_PACKET_LENGTH'"; - } - description "Match packet length array"; - uses UINT16-RNG-ARRAY; - } - - container flow-tag { - when "../type = 'match-type-flow-tag'" { - description "../type = 'MATCH_TYPE_FLOW_TAG'"; - } - description "Match flow-tag array"; - uses UINT8-RNG-ARRAY; - } - - container tcp-flag { - when "../type = 'match-type-tcp-flag'" { - description "../type = 'MATCH_TYPE_TCP_FLAG'"; - } - description "Match tcp flag value"; - uses TCP-FLAG-ST; - } - - container icmpv4-type { - when "../type = 'match-type-icmpv4-type'" { - description "../type = 'MATCH_TYPE_ICMPV4_TYPE'"; - } - description "Match ipv4 icmp type"; - uses UINT8-RNG-ARRAY; - } - - container icmpv4-code { - when "../type = 'match-type-icmpv4-code'" { - description "../type = 'MATCH_TYPE_ICMPV4_CODE'"; - } - description "Match ipv4 icmp code"; - uses UINT8-RNG-ARRAY; - } - - container icmpv6-type { - when "../type = 'match-type-icmpv6-type'" { - description "../type = 'MATCH_TYPE_ICMPV6_TYPE'"; - } - description "Match ipv6 icmp type"; - uses UINT8-RNG-ARRAY; - } - - container icmpv6-code { - when "../type = 'match-type-icmpv6-code'" { - description "../type = 'MATCH_TYPE_ICMPV6_CODE'"; - } - description "Match ipv6 icmp code"; - uses UINT8-RNG-ARRAY; - } - - container mpls-exp { - when "../type = 'match-type-mpls-exp-top'" { - description "../type = 'MATCH_TYPE_MPLS_EXP_TOP'"; - } - description "Match MPLS experimental topmost array"; - uses UINT8-ARRAY; - } - - container mpls-exp-imp { - when "../type = 'match-type-mpls-exp-imp'" { - description "../type = 'MATCH_TYPE_MPLS_EXP_IMP'"; - } - description "Match MPLS experimental imposition array"; - uses UINT8-ARRAY; - } - - container mpls-disp-ipv4-acl { - when "../type = 'match-type-mpls-disp-ipv4-acl'" { - description "../type = 'MATCH_TYPE_MPLS_DISP_IPV4_ACL'"; - } - description "MPLS Disposition IPv4 Access-list"; - uses STRING-ARRAY; - } - - container mpls-disp-ipv6-acl { - when "../type = 'match-type-mpls-disp-ipv6-acl'" { - description "../type = 'MATCH_TYPE_MPLS_DISP_IPV6_ACL'"; - } - description "MPLS Disposition IPv6 Access-list"; - uses STRING-ARRAY; - } - - container mpls-top-label { - when "../type = 'match-type-mpls-topmost-label'" { - description "../type = 'MATCH_TYPE_MPLS_TOPMOST_LABEL'"; - } - description "MPLS Topmost LABEL"; - uses UINT32-RNG-ARRAY; - } - - container cos { - when "../type = 'match-type-cos'" { - description "../type = 'MATCH_TYPE_COS'"; - } - description "Match CoS array"; - uses UINT8-ARRAY; - } - - container cos-inr { - when "../type = 'match-type-cos-inner'" { - description "../type = 'MATCH_TYPE_COS_INNER'"; - } - description "Match inner header CoS"; - uses UINT8-ARRAY; - } - - container dei { - when "../type = 'match-type-dei'" { - description "../type = 'MATCH_TYPE_DEI'"; - } - description "Match DEI Bit"; - uses DEI-BIT-ST; - } - - container dei-inr { - when "../type = 'match-type-dei-inner'" { - description "../type = 'MATCH_TYPE_DEI_INNER'"; - } - description "Match inner DEI Bit"; - uses DEI-BIT-ST; - } - - container vlan { - when "../type = 'match-type-vlan'" { - description "../type = 'MATCH_TYPE_VLAN'"; - } - description "Match VLAN array"; - uses VLAN-ID-ARRAY; - } - - container vlan-inr { - when "../type = 'match-type-vlan-inner'" { - description "../type = 'MATCH_TYPE_VLAN_INNER'"; - } - description "Match inner header VLAN range array"; - uses UINT16-RNG-ARRAY; - } - - container fr-dlci { - when "../type = 'match-type-fr-dlci'" { - description "../type = 'MATCH_TYPE_FR_DLCI'"; - } - description "Match FR DLCI range array"; - uses UINT16-RNG-ARRAY; - } - - container src-mac { - when "../type = 'match-type-src-mac'" { - description "../type = 'MATCH_TYPE_SRC_MAC'"; - } - description "Match Source MAC address"; - uses MAC-ADDR-ST; - } - - container dst-mac { - when "../type = 'match-type-dst-mac'" { - description "../type = 'MATCH_TYPE_DST_MAC'"; - } - description "Match Destination MAC address"; - uses MAC-ADDR-ST; - } - - container atm-clp { - when "../type = 'match-type-atm-clp'" { - description "../type = 'MATCH_TYPE_ATM_CLP'"; - } - description "Match ATM CLP level"; - uses UINT8-ARRAY; - } - - container fr-de { - when "../type = 'match-type-fr-de'" { - description "../type = 'MATCH_TYPE_FR_DE'"; - } - description "Match FR DE value"; - uses UINT8-ARRAY; - } - - container ipv4-acl { - when "../type = 'match-type-ipv4-acl'" { - description "../type = 'MATCH_TYPE_IPV4_ACL'"; - } - description "IPv4 Access-list"; - uses STRING-ARRAY; - } - - container ipv6-acl { - when "../type = 'match-type-ipv6-acl'" { - description "../type = 'MATCH_TYPE_IPV6_ACL'"; - } - description "IPv6 Access-list"; - uses STRING-ARRAY; - } - - container ether-service-acl { - when "../type = 'match-type-ethernet-service-s-acl'" { - description "../type = 'MATCH_TYPE_ETHERNET_SERVICES_ACL'"; - } - description "Ethernet-Services Access-list"; - uses STRING-ARRAY; - } - - container avail-id { - when "../type = 'match-type-avail-id'" { - description "../type = 'MATCH_TYPE_AVAIL_ID'"; - } - description "Available Identifiers"; - uses UINT8-ARRAY; - } - - container media-type { - when "../type = 'match-type-media'" { - description "../type = 'MATCH_TYPE_MEDIA'"; - } - description "Media Type"; - uses UINT8-ARRAY; - } - - container subs-protocol { - when "../type = 'match-type-subs-protocol'" { - description "../type = 'MATCH_TYPE_SUBS_PROTOCOL'"; - } - description "Protocol"; - uses UINT8-ARRAY; - } - - container dnis { - when "../type = 'match-type-dnis'" { - description "../type = 'MATCH_TYPE_DNIS'"; - } - description "DNIS"; - uses STRING-ARRAY; - } - - container dnis-regex { - when "../type = 'match-type-dnis-regexp'" { - description "../type = 'MATCH_TYPE_DNIS_REGEXP'"; - } - description "DNIS Regular Expression"; - uses STRING-ARRAY; - } - - container domain { - when "../type = 'match-type-domain'" { - description "../type = 'MATCH_TYPE_DOMAIN'"; - } - description "Domain Name"; - uses DOMAIN-ARRAY; - } - - container domain-regex { - when "../type = 'match-type-domain-regexp'" { - description "../type = 'MATCH_TYPE_DOMAIN_REGEXP'"; - } - description "Domain Regular Expression"; - uses DOMAIN-ARRAY; - } - - container nas-port { - when "../type = 'match-type-nas-port'" { - description "../type = 'MATCH_TYPE_NAS_PORT'"; - } - description "NAS Port"; - uses NAS-PORT-ARRAY; - } - - container service-name { - when "../type = 'match-type-service-name'" { - description "../type = 'MATCH_TYPE_SERVICE_NAME'"; - } - description "Service Name"; - uses STRING-ARRAY; - } - - container service-name-regex { - when "../type = 'match-type-service-name-regexp'" { - description "../type = 'MATCH_TYPE_SERVICE_NAME_REGEXP'"; - } - description "Service Name Regular Exp"; - uses STRING-ARRAY; - } - - container src-addr-ipv4 { - when "../type = 'match-type-src-addr-ipv4'" { - description "../type = 'MATCH_TYPE_SRC_ADDR_IPV4'"; - } - description "Source Address IPV4"; - uses IPV4-ADDR-ARRAY; - } - - container dst-addr-ipv4 { - when "../type = 'match-type-dst-addr-ipv4'" { - description "../type = 'MATCH_TYPE_DST_ADDR_IPV4'"; - } - description "Destination Address IPV4"; - uses IPV4-ADDR-ARRAY; - } - - container src-addr-ipv6 { - when "../type = 'match-type-src-addr-ipv6'" { - description "../type = 'MATCH_TYPE_SRC_ADDR_IPV6'"; - } - description "Source Address IPV6"; - uses IPV6-ADDR-ARRAY; - } - - container dst-addr-ipv6 { - when "../type = 'match-type-dst-addr-ipv6'" { - description "../type = 'MATCH_TYPE_DST_ADDR_IPV6'"; - } - description "Destination Address IPV6"; - uses IPV6-ADDR-ARRAY; - } - - container src-addr-mac { - when "../type = 'match-type-src-addr-mac'" { - description "../type = 'MATCH_TYPE_SRC_ADDR_MAC'"; - } - description "Source Address MAC"; - uses MAC-ADDR-ARRAY; - } - - container timer { - when "../type = 'match-type-timer'" { - description "../type = 'MATCH_TYPE_TIMER'"; - } - description "Timer"; - uses STRING-ARRAY; - } - - container timer-regexp { - when "../type = 'match-type-timer-regexp'" { - description "../type = 'MATCH_TYPE_TIMER_REGEXP'"; - } - description "Timer Regular Expression"; - uses STRING-ARRAY; - } - - container tunnel-name { - when "../type = 'match-type-tunnel-name'" { - description "../type = 'MATCH_TYPE_TUNNEL_NAME'"; - } - description "Tunnel Name"; - uses STRING-ARRAY; - } - - container tunnel-name-regex { - when "../type = 'match-type-tunnel-name-regexp'" { - description "../type = 'MATCH_TYPE_TUNNEL_NAME_REGEXP'"; - } - description "Tunnel Name Regular Expression"; - uses STRING-ARRAY; - } - - container user-name { - when "../type = 'match-type-user-name'" { - description "../type = 'MATCH_TYPE_USERNAME'"; - } - description "User Name"; - uses STRING-ARRAY; - } - - container user-name-regex { - when "../type = 'match-type-user-name-regexp'" { - description "../type = 'MATCH_TYPE_USERNAME_REGEXP'"; - } - description "User Name Regular Expression"; - uses STRING-ARRAY; - } - - container auth-username { - when "../type = 'match-type-auth-user-name'" { - description "../type = 'MATCH_TYPE_AUTH_USERNAME'"; - } - description "Authenticated User Name"; - uses STRING-ARRAY; - } - - container auth-username-regex { - when "../type = 'match-type-auth-user-name-regexp'" { - description "../type = 'MATCH_TYPE_AUTH_USERNAME_REGEXP'"; - } - description "Authenticated User Name RegEx"; - uses STRING-ARRAY; - } - - container unauth-username { - when "../type = 'match-type-unauth-user-name'" { - description "../type = 'MATCH_TYPE_UNAUTH_USERNAME'"; - } - description "Unauthenticated User Name"; - uses STRING-ARRAY; - } - - container unauth-username-regex { - when "../type = 'match-type-unauth-user-name-regexp'" { - description "../type = 'MATCH_TYPE_UNAUTH_USERNAME_REGEXP'"; - } - description "Unauthenticated User Name RegEx"; - uses STRING-ARRAY; - } - - container auth-domain { - when "../type = 'match-type-auth-domain'" { - description "../type = 'MATCH_TYPE_AUTH_DOMAIN'"; - } - description "Authenticated domain name"; - uses STRING-ARRAY; - } - - container auth-domain-regex { - when "../type = 'match-type-auth-domain-regexp'" { - description "../type = 'MATCH_TYPE_AUTH_DOMAIN_REGEXP'"; - } - description "Authenticated Domain Name RegEx"; - uses STRING-ARRAY; - } - - container unauth-domain { - when "../type = 'match-type-unauth-domain'" { - description "../type = 'MATCH_TYPE_UNAUTH_DOMAIN'"; - } - description "Unauthenticated Domain Name"; - uses STRING-ARRAY; - } - - container unauth-domain-regex { - when "../type = 'match-type-unauth-domain-regexp'" { - description "../type = 'MATCH_TYPE_UNAUTH_DOMAIN_REGEXP'"; - } - description "Unauthenticated Domain Name RegEx"; - uses STRING-ARRAY; - } - - container vendor-id { - when "../type = 'match-type-vendor-id'" { - description "../type = 'MATCH_TYPE_VENDOR_ID'"; - } - description "Vendor ID"; - uses STRING-ARRAY; - } - - container vendor-id-regex { - when "../type = 'match-type-vendor-id-regexp'" { - description "../type = 'MATCH_TYPE_VENDOR_ID_REGEXP'"; - } - description "Vendor ID RegEx"; - uses STRING-ARRAY; - } - - container access-interface { - when "../type = 'match-type-access-interface'" { - description "../type = 'MATCH_TYPE_ACCESS_INTERFACE'"; - } - description "Access interface"; - uses STRING-ARRAY; - } - - container input-interface { - when "../type = 'match-type-input-interface'" { - description "../type = 'MATCH_TYPE_INPUT_INTERFACE'"; - } - description "Input interface"; - uses STRING-ARRAY; - } - - container input-intfhdl { - when "../type = 'match-type-input-interface-hdl'" { - description "../type = 'MATCH_TYPE_INPUT_INTERFACE_HDL'"; - } - description "Input interface handle"; - uses UINT64-ARRAY; - } - - container ethertype { - when "../type = 'match-type-ether-type'" { - description "../type = 'MATCH_TYPE_ETHERTYPE'"; - } - description "Ethernet type"; - uses UINT16-RNG-ARRAY; - } - - container flow-key-data { - when "../type = 'match-type-flow-key'" { - description "../type = 'MATCH_TYPE_FLOW_KEY'"; - } - description "Flow key structure"; - uses FLOW-KEY-ST; - } - - container dhcp-client-id { - when "../type = 'match-type-dhcp-client-id'" { - description "../type = 'MATCH_TYPE_DHCP_CLIENT_ID'"; - } - description "Dhcp Client ID"; - uses STRING-ARRAY; - } - - container dhcp-client-id-regex { - when "../type = 'match-type-dhcp-client-id-regexp'" { - description "../type = 'MATCH_TYPE_DHCP_CLIENT_ID_REGEXP'"; - } - description "Dhcp Client ID RegEx"; - uses STRING-ARRAY; - } - - container circuit-id { - when "../type = 'match-type-circuit-id'" { - description "../type = 'MATCH_TYPE_CIRCUIT_ID'"; - } - description "Circuit ID"; - uses STRING-ARRAY; - } - - container circuit-id-regex { - when "../type = 'match-type-circuit-id-regexp'" { - description "../type = 'MATCH_TYPE_CIRCUIT_ID_REGEXP'"; - } - description "Circuit ID RegEx"; - uses STRING-ARRAY; - } - - container remote-id { - when "../type = 'match-type-remote-id'" { - description "../type = 'MATCH_TYPE_REMOTE_ID'"; - } - description "Remote ID"; - uses STRING-ARRAY; - } - - container remote-id-regex { - when "../type = 'match-type-remote-id-regexp'" { - description "../type = 'MATCH_TYPE_REMOTE_ID_REGEXP'"; - } - description "Remote ID RegEx"; - uses STRING-ARRAY; - } - - container src-port { - when "../type = 'match-type-src-port'" { - description "../type = 'MATCH_TYPE_SRC_PORT'"; - } - description "Source port"; - uses UINT16-RNG-ARRAY; - } - - container dst-port { - when "../type = 'match-type-dst-port'" { - description "../type = 'MATCH_TYPE_DST_PORT'"; - } - description "Destination port"; - uses UINT16-RNG-ARRAY; - } - leaf type { - type Match-type-en; - description "type"; - } - leaf mpls-top-eos { - when "../type = 'match-type-mpls-topmost-eos'" { - description "../type = 'MATCH_TYPE_MPLS_TOPMOST_EOS'"; - } - type uint8; - description "MPLS Topmost EOS"; - } - leaf fragment-type { - when "../type = 'match-type-fragment-type'" { - description "../type = 'MATCH_TYPE_FRAGMENT_TYPE'"; - } - type uint8; - description "Fragment type"; - } - leaf authen-status { - when "../type = 'match-type-authen-status'" { - description "../type = 'MATCH_TYPE_AUTHEN_STATUS'"; - } - type Match-authen-status-en; - description "Authentication Status"; - } - leaf mlp-negotiated { - when "../type = 'match-type-mlp-negotiated'" { - description "../type = 'MATCH_TYPE_MLP_NEGOTIATED'"; - } - type Match-mlp-negotiated-en; - description "MLP Negotiated"; - } - } - - grouping ACTION-OUTPUT-INTERFACE-INFO-P { - description "ACTION OUTPUT INTERFACE INFO P"; - uses ACTION-OUTPUT-INTERFACE-INFO-ST; - } - - grouping UINT32-RNG-ARRAY { - description "UINT32 RNG ARRAY"; - - list uint32_rng_array { - description "uint32 rng array"; - uses UINT32-RNG-ST; - } - } - - grouping TCP-FLAG-ST { - description "TCP FLAG ST"; - leaf value { - type uint16; - description "Value of TCP flag"; - } - leaf match-any { - type boolean; - description "Match any TCP flag bit"; - } - } - - grouping ACTION-AUTHORIZE-ID-INFO-P { - description "ACTION AUTHORIZE ID INFO P"; - uses ACTION-AUTHORIZE-ID-ST; - } - - grouping PLMGR-APPLIED-VARLIST-BG { - description "Policy-map applied variable list"; - - list var-list { - description "var list"; - uses PLMGR-VAR-VAL-UN; - } - } - - grouping ACTION-IPV6-NH-INFO-P { - description "ACTION IPV6 NH INFO P"; - uses ACTION-IPV6-NH-INFO-ARRAY; - } - - grouping ACTION-PROXY-AAA-ST { - description "ACTION PROXY AAA ST"; - leaf aaa-list-name { - type string; - description "aaa list name"; - } - } - - grouping ACTION-PROXY-AAA-INFO-P { - description "ACTION PROXY AAA INFO P"; - uses ACTION-PROXY-AAA-ST; - } - - grouping ACTION-SFRAG-INFO-ST { - description "service fragment action"; - leaf name { - type string; - description "Service Fragment Name"; - } - } - - grouping ACTION-MINBW-INFO-P { - description "ACTION MINBW INFO P"; - uses ACTION-MINBW-INFO-ST; - } - - grouping ACTION-PUNT-INFO-P { - description "ACTION PUNT INFO P"; - uses ACTION-PUNT-INFO-ST; - } - - grouping ACTION-COPY-INFO-P { - description "ACTION COPY INFO P"; - uses ACTION-COPY-INFO-ST; - } - - grouping ACTION-DECODE-IDENTIFIER-INFO-P { - description "ACTION DECODE IDENTIFIER INFO P"; - uses ACTION-DECODE-IDENTIFIER-ST; - } - - grouping ACTION-CAC-INFO-P { - description "ACTION CAC INFO P"; - uses ACTION-CAC-INFO-ST; - } - - grouping PLMGR-OBJ-CMAP-DETAIL-BG { - description "Object detail."; - leaf total-reference-objects { - type uint32; - description - "Total number of Policymaps referencing a - Classmap"; - } - - list policy-map-reference { - description "List of Policymaps referencing a Classmap"; - uses PLMGR-PMAP-LIST; - } - } - - grouping ACTION-BWREM-INFO-ST { - description "BW remaining action"; - - container bwrem { - description "bwrem"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping PMAP-DATA-HD { - description "PMAP DATA HD"; - uses POLICY-MAP-BG; - } - - grouping ACTION-AFMON-REACT-INFO-P { - description "ACTION AFMON REACT INFO P"; - uses ACTION-AFMON-REACT-INFO; - } - - grouping POLICY-SUB-ACTIONS-T { - description ""; - - list sub-action-attribute { - description ""; - uses POLICY-SUB-ACTION-ATTR-T; - } - } - - grouping PLMGR-PIPELINE-CAP-BG { - description " Pipeline capabilities details"; - - list pipeline-capability { - description "Pipelinecapability"; - uses PLMGR-APP-PLN-CAPS-T; - } - } - - grouping ACTION-MARK-INFO-ST { - description "Mark action"; - leaf type { - type Mark-type-en; - description "type"; - } - leaf mark-flags { - type uint32; - description "mark flags"; - } - leaf value { - type uint16; - description "value"; - } - } - - grouping ACTION-TIMEOUT-IDLE-ST { - description "ACTION TIMEOUT IDLE ST"; - leaf secs { - type uint32; - description "secs"; - } - } - - grouping ACTION-AFMON-MDI-INFO-P { - description "ACTION AFMON MDI INFO P"; - uses ACTION-AFMON-MDI-INFO-ST; - } - - grouping ACTION-MINBW-INFO-ST { - description "Min BW action"; - - container bw { - description "bw"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping POLICY-MAP-HD-ST { - description "POLICY MAP HD ST"; - - container data-hd { - description "data hd"; - } - leaf hd { - type Policy-map-hd-inbag; - description "hd"; - } - } - - grouping MATCH-DOMAIN-ST { - description "Domain Format"; - leaf domain-name { - type String-td; - description "domain name"; - } - leaf format-name { - type String-td; - description "format name"; - } - } - - grouping STRING-ARRAY { - description "STRING ARRAY"; - leaf-list string-array { - type String-td; - description "string array"; - } - } - - grouping ACTION-ACCT-AAA-LIST-ST { - description "ACTION ACCT AAA LIST ST"; - leaf aaa-list-name { - type string; - description "aaa list name"; - } - leaf secs { - type uint32; - description "secs"; - } - } - - grouping PMAP-VAR-INFO-ST { - description "PMAP VAR INFO ST"; - - container val { - description "val"; - uses PLMGR-VAR-VAL-UN; - } - leaf name { - type string { - length "0..32"; - } - description "name"; - } - leaf id { - type uint32; - description "id"; - } - } - - grouping PLMGR-PMAP-STR-TARGETS-BG { - description - "Policymap and target info returned to the show - client"; - leaf-list targets { - type String-arr; - description "targets"; - } - leaf-list parent-targets { - type String-arr; - description "parent targets"; - } - } - - grouping IPV6-ADDR-ARRAY { - description "IPV6 ADDR ARRAY"; - - list ipv6-addr-array { - description "ipv6 addr array"; - uses MATCH-IPV6-ST; - } - } - - grouping PLMGR-APP-PLN-CAPS-T { - description " Pipe line capabilty info"; - leaf pipeline-id { - type uint32; - description "Pipe line id"; - } - leaf description { - type string; - description "Description"; - } - leaf-list table-type { - type Policy-map-table-type-e; - description - "List of table types in the pipeline in the - order"; - } - } - - grouping PLMGR-APP-GL-STATUS-CAP-T { - description "Status capabilty of a network element"; - leaf status-per-match { - type boolean; - description "Filter operation status capability"; - } - leaf status-per-action { - type boolean; - description "Action operation status capability"; - } - leaf status-per-inline-class { - type boolean; - description "Inline class operation status capability"; - } - leaf status-per-class-map { - type boolean; - description "Class map operation status capability"; - } - leaf status-per-policy-map { - type boolean; - description "Policy map operation status capability"; - } - leaf status-per-bulk { - type boolean; - description "Bulk operation status capability"; - } - } - - grouping POLICY-SUB-ACTION-ATTR-T { - description ""; - - container action-attribute { - description ""; - uses POLICY-ACTION-ATTR-T; - } - leaf sub-action { - type uint32; - description ""; - } - } - - grouping ACTION-AFMON-FMM-INFO-ST { - description "AFMon flow monitor configuration"; - leaf fmm-name { - type string { - length "0..33"; - } - description "flow monitor name"; - } - } - - grouping ACTION-WRED-INFO-ST { - description "WRED parameters info structure"; - - container match-ranges { - description "match ranges"; - uses UINT8-RNG-ARRAY; - } - - container min-threshold { - description "min threshold"; - uses POLICY-PARAM-UINT32-ST; - } - - container max-threshold { - description "max threshold"; - uses POLICY-PARAM-UINT32-ST; - } - leaf type { - type Wred-type-en; - description "cos/prec/dscp/ based WRED"; - } - leaf wred-flags { - type uint32; - description "wred flags"; - } - leaf probability { - type uint32; - description "probability"; - } - } - - grouping ACTION-AFMON-FLOW-PARM-INFO-P { - description "ACTION AFMON FLOW PARM INFO P"; - uses ACTION-AFMON-FLOW-PARM-INFO-ST; - } - - grouping ACTION-MARK-INFO-P { - description "ACTION MARK INFO P"; - uses ACTION-MARK-INFO; - } - - grouping ACTION-PUNT-INFO-ST { - description "punt action"; - leaf sn-type { - type Dpss-snid-type-en; - description "service node ID type"; - } - leaf sn-index { - type uint32; - description "service node index"; - } - leaf sn-name { - type string; - description "service node name"; - } - leaf app-id { - type uint32; - description "application ID"; - } - leaf local-id { - type uint32; - description "local ID"; - } - leaf vsnode-type { - type Vsvc-service-type-t; - description "vservice node type"; - } - } - - grouping PLMGR-VRF-STATS-ARR-BG { - description "The array bag"; - leaf pmap-name { - type string; - description "pmap name"; - } - leaf vrf-name { - type string; - description "vrf name"; - } - leaf appln-type { - type uint32; - description "appln type"; - } - leaf addr-family { - type uint32; - description "addr family"; - } - leaf rc { - type int32; - description "rc"; - } - - list plmgr-vrf-stats { - description "plmgr vrf stats"; - uses PLMGR-VRF-STATS-BG; - } - } - - grouping UINT8-RNG-ARRAY { - description "UINT8 RNG ARRAY"; - - list uint8_rng_array { - description "uint8 rng array"; - uses UINT8-RNG-ST; - } - } - - grouping POLICE-ACTION-ARRAY { - description "POLICE ACTION ARRAY"; - - list police-action-array { - description "police action array"; - uses POLICE-ACTION-UN; - } - } - - grouping POLICY-MAP-TYPE-N-NAME-ST { - description "POLICY MAP TYPE N NAME ST"; - leaf name { - type Policy-map-name; - description "name"; - } - leaf type { - type Policy-map-type-en; - description "type"; - } - } - - grouping ACTION-PBF-INFO-P { - description "ACTION PBF INFO P"; - uses ACTION-PBF-INFO-ARRAY; - } - - grouping ACTION-ACCT-EVENT-INFO-P { - description "ACTION ACCT EVENT INFO P"; - uses ACTION-ACCOUNTING-EVENT-ST; - } - - grouping ACTION-SET-TIMER-ST { - description "ACTION SET TIMER ST"; - leaf timer-name { - type string; - description "timer name"; - } - leaf duration { - type uint32; - description "duration"; - } - leaf absolute-time { - type string; - description "absolute time"; - } - } - - grouping ACTION-AFMON-RTP-INFO-ST { - description "AFMon RTP Configuration"; - leaf action-metric-type { - type Policy-action-en; - description "metric type"; - } - leaf min-sequential { - type uint32; - description "min sequential"; - } - leaf max-dropout { - type uint32; - description "max dropout"; - } - leaf max-misorder { - type uint32; - description "max misorder"; - } - leaf seq-ext-cop4 { - type uint32; - description "enable seq extension cop4"; - } - - list clock-rate { - description "clock rate"; - uses AFMON-RTP-CLOCK-RATE-ST; - } - } - - grouping PCLASS-MOD-DATA-HD { - description "PCLASS MOD DATA HD"; - uses POLICY-CLASS-INFO-MOD-BG; - } - - grouping PLMGR-PCLASS-DIFF-BG { - description "Policy-class diff Bag"; - - container del { - description "del"; - uses POLICY-CLASS-INFO-UN; - } - - container mod { - description "mod"; - uses POLICY-CLASS-INFO-UN; - } - - container add { - description "add"; - uses POLICY-CLASS-INFO-UN; - } - } - - grouping ACTION-MARK2-INFO-P { - description "ACTION MARK2 INFO P"; - uses ACTION-MARK2-INFO; - } - - grouping ACTION-IPV6-NH-INFO-ST { - description "ipv6 next hop action"; - leaf nh-addr { - type inet:ipv6-address; - description "IPV6 Address"; - } - leaf vrf-name { - type string; - description "Vrf name"; - } - } - - grouping PLMGR-APP-GL-ATOMICITY-CAP-T { - description " Atomicity capability of network element "; - leaf atomicity-per-bulk { - type boolean; - description - "Specifies policymgr bulk configuration atomicity - supported or not"; - } - leaf atomicity-per-inline-class { - type boolean; - description - "Specifies policymgr inline class configuration - atomicity supported or not"; - } - leaf atomicity-per-policy-map { - type boolean; - description - "Specifies policymgr policy-map configuration - atomicity supported or not"; - } - } - - grouping PLMGR-APP-TB-MATCH-CAP-T { - description "Match capability"; - leaf match-capability-type { - type Match-cap-e; - description "Match type"; - } - - list match-attribute { - description "Match attribute"; - uses PLMGR-MATCH-ATTR-UN; - } - } - - grouping ACTION-STOP-TIMER-ST { - description "ACTION STOP TIMER ST"; - leaf timer-name { - type string; - description "timer name"; - } - } - - grouping CHLD-POL-ENC-UN { - description "Union of object name and app object ptr"; - - container info { - when "../enc = 'policy-obj-enc-name'" { - description "../enc = 'POLICY_OBJ_ENC_NAME'"; - } - description "info"; - uses POLICY-MAP-TYPE-N-NAME-ST; - } - - container hd-info { - when "../enc = 'policy-obj-enc-hdl'" { - description "../enc = 'POLICY_OBJ_ENC_HDL'"; - } - description "hd info"; - uses POLICY-MAP-HD-ST; - } - leaf enc { - type Policy-obj-enc-en; - description "enc"; - } - } - - grouping POLICY-CLASS-INFO-BG { - description "Class per policy info"; - - list policy-class-info-bg { - description "policy class info bg"; - - container cl-encode { - description "cl encode"; - uses POL-CLASS-ENC-UN; - } - - container clmp-p { - description "clmp p"; - uses CLASS-MAP-BG; - } - - container act-infop { - description "act infop"; - uses POLICY-ACTION-INFO-ST; - } - leaf policy-class-hd { - type uint32; - description "policy class hd"; - } - leaf seq { - type uint32; - description "seq"; - } - leaf flags { - type uint32; - description "flags"; - } - leaf ctype { - type Class-map-type-en; - description "ctype"; - } - leaf num-actions { - type uint16; - description "num actions"; - } - leaf version { - type uint8; - description "version"; - } - leaf exe-strat { - type Pclass-exec-strat-en; - description "exe strat"; - } - } - } - - grouping ACTION-TEMPLATE-ST { - description "ACTION TEMPLATE ST"; - leaf template-name { - type string; - description "template name"; - } - leaf aaa-list-name { - type string; - description "aaa list name"; - } - leaf flags { - type uint32; - description "flags"; - } - } - - grouping ACTION-QLIMIT-INFO-ARRAY { - description "ACTION QLIMIT INFO ARRAY"; - - list action-qlimit-info-array { - description "action qlimit info array"; - uses ACTION-QLIMIT-INFO-ST; - } - } - grouping UINT16-ARRAY { - description "UINT16 ARRAY"; - leaf-list uint16_array { - type uint16; - description "uint16 array"; - } - } - - grouping ACTION-MARK2-INFO-ST { - description "Mark action"; - leaf value { - type uint32; - description "value"; - } - leaf value-overflow { - type uint16; - description "value overflow"; - } - leaf type { - type Mark-type-e; - description "type"; - } - leaf mark-flags { - type uint8; - description "mark flags"; - } - } - - grouping ACTION-AFMON-REACT-INFO { - description "ACTION AFMON REACT INFO"; - - list action-afmon-react-info { - description "action afmon react info"; - uses ACTION-AFMON-REACT-ST; - } - } - - grouping PLMGR-APP-TB-STATS-CAP-T { - description " Table stats capability"; - leaf class-aggregate-targetaggregate-stats { - type boolean; - description - "Specifies if complete table stats is supported - or not"; - } - leaf class-target-aggregate { - type boolean; - description - "Specifies if class statistics aggregated for - all targets is supporte dor not"; - } - leaf class-target-stats { - type boolean; - description - "Specifies if class statistics for each target - supported or not"; - } - leaf table-target-stats { - type boolean; - description - "Specifies if per targets statistics retrieval is - supporte dor not"; - } - leaf action-taget-stats { - type boolean; - description - "Specifies per action per target statistics - supoorted or not"; - } - } - - grouping PROTO-ICMP-ST { - description "PROTO ICMP ST"; - leaf type { - type uint8; - description "Protocol type"; - } - leaf code { - type uint8; - description "Protocol code"; - } - } - - grouping ACTION-OUTPUT-INTERFACE-INFO-ST { - description "output_interface action"; - leaf out-ifname { - type string; - description "output interface name"; - } - } - - grouping VLAN-ID-ARRAY { - description "VLAN ID ARRAY"; - - list vlan-id-array { - description "vlan id array"; - uses VLAN-ID-ST; - } - } - - grouping PLMGR-PMAP-TARGETS-BG { - description - "Policymap and targets info. returned to Policymgr - (from policy client)"; - leaf policy-map-name { - type string { - length "0..64"; - } - description "PolicyMapName"; - } - leaf num-targets { - type uint32; - description "NumTargets"; - } - leaf num-parent-targets { - type uint32; - description "NumParentTargets"; - } - leaf-list pmap-targets { - type uint8; - description "pmap targets"; - } - leaf-list pmap-parent-targets { - type uint8; - description "pmap parent targets"; - } - } - - grouping PLMGR-PMAP-LIST { - description "policy-map list"; - leaf object-type { - type Plmgr-appln-type-en; - description "Application type configured"; - } - leaf policy-map-name { - type string { - length "0..64"; - } - description "Name of Policymap referencing a Classmap"; - } - } - - grouping ACTION-REDIRECT-INFO-P { - description "ACTION REDIRECT INFO P"; - uses ACTION-REDIRECT-INFO-ST; - } - - grouping POLICY-EVENT-INFO-BG { - description "Event info bag"; - - list policy-event-info-bg { - description "policy event info bg"; - - container class-infop { - description "class infop"; - uses POLICY-CLASS-INFO-BG; - } - leaf event-type { - type Pevent-type-en; - description "event type"; - } - leaf cond-eval { - type Pevent-cond-eval-en; - description "cond eval"; - } - leaf avl-tree { - type Pclass-data-avl-inbag; - description "avl tree"; - } - leaf flags { - type uint32; - description "flags"; - } - } - } - - grouping INLINE-CMAP-DATA-HD { - description "INLINE CMAP DATA HD"; - uses INLINE-CLASS-MAP-BG; - } - - grouping UINT8-RNG-ST { - description "UINT8 RNG ST"; - leaf min { - type uint8; - description "Lower limit of the range"; - } - leaf max { - type uint8; - description "Upper limit of the range"; - } - } - - grouping PLMGR-APP-TB-CAPS-T { - description "Policymgr application table capabilty info"; - - container stats-capabilty { - description "Stats capabaility"; - uses PLMGR-APP-TB-STATS-CAP-T; - } - - container transient-capability { - description "Transient capability"; - uses PLMGR-APP-TB-TRANSIENT-CAP-T; - } - - container persistent-capability { - description "Persistent capability"; - uses PLMGR-APP-TB-PERSISTENT-CAP-T; - } - - container class-capability { - description "Class capabaility"; - uses PLMGR-APP-TB-CLASS-CAP-T; - } - leaf table-type { - type Policy-map-table-type-e; - description " Table type"; - } - leaf-list forwarding-type { - type Plmgr-app-fwding-type-e; - description "Forwarding type supported "; - } - - list match-capability { - description "Match capability "; - uses PLMGR-APP-TB-MATCH-CAP-T; - } - - list action-capability { - description "Action capability"; - uses PLMGR-APP-TB-ACTION-CAP-T; - } - } - - grouping DOMAIN-ARRAY { - description "DOMAIN ARRAY"; - - list domain-array { - description "domain array"; - uses MATCH-DOMAIN-ST; - } - } - - grouping FLOW-KEY-ST { - description "FLOW KEY ST"; - - container flow-keys { - description "flow keys"; - uses FLOW-KEY-ARRAY; - } - leaf max-count { - type uint16; - description "Maximum count of flows"; - } - leaf idle-timeout { - type uint16; - units "second"; - description "Idle timeout of flows (in seconds)"; - } - } - - grouping POLICY-MAP-HDR-BG { - description "Policy-map Header Bag"; - leaf name { - type Policy-map-name; - description "name"; - } - leaf type { - type Policy-map-type-en; - description "type"; - } - leaf table-id { - type uint32; - description "table id"; - } - leaf flags { - type uint32; - description "flags"; - } - } - - grouping ACTION-TEMPLATE-INFO-P { - description "ACTION TEMPLATE INFO P"; - uses ACTION-TEMPLATE-ST; - } - - grouping ACTION-HTTPR-INFO-P { - description "ACTION HTTPR INFO P"; - uses ACTION-HTTPR-INFO-ST; - } - - grouping ACTION-POLICE-INFO-P { - description "ACTION POLICE INFO P"; - uses ACTION-POLICE-INFO-ST; - } - - grouping VLAN-ID-ST { - description "VLAN ID ST"; - leaf min { - type uint16; - description "Lower limit of the range"; - } - leaf max { - type uint16; - description "Upper limit of the range"; - } - leaf mask { - type uint16; - description "VLAN mask"; - } - } - - grouping PLMGR-APP-GL-CAP-T { - description "Global capability of network element"; - - container system-capability { - description "system capability"; - uses PLMGR-APP-GL-SYSTEM-CAP-T; - } - - container atomicity-capability { - description "atomicity capability"; - uses PLMGR-APP-GL-ATOMICITY-CAP-T; - } - - container stats-capability { - description "stats capability"; - uses PLMGR-APP-GL-STATS-CAP-T; - } - - container cookie-capability { - description "cookie capability"; - uses PLMGR-APP-GL-COOKIE-CAP-T; - } - - container status-capability { - description "status capability"; - uses PLMGR-APP-GL-STATUS-CAP-T; - } - - container bulk-best-effort-capability { - description "bulk best effort capability"; - uses PLMGR-APP-GL-BULK-BEST-EFFORT-CAP-T; - } - } - - grouping ACTION-WRED-INFO { - description "ACTION WRED INFO"; - - list action-wred-info { - description "action wred info"; - uses ACTION-WRED-INFO-ST; - } - } - - grouping FLOW-KEY-ARRAY { - description "FLOW KEY ARRAY"; - leaf keys { - type yang:hex-string; - description "keys"; - } - leaf num { - type uint8; - description "num"; - } - } - - grouping UINT8-ARRAY { - description "UINT8 ARRAY"; - leaf-list uint8_array { - type uint8; - description "uint8 array"; - } - } - - grouping POLICY-ACTION-ATTR-T { - description " Policy action attribute"; - leaf policy-action-exec-type { - type Policy-action-exec-type-e; - description "policy action exec type"; - } - leaf num-instances { - type uint32; - description "num instances"; - } - } - - grouping ACTION-QUERY-ANCP-SESSION-ST { - description "ACTION QUERY ANCP SESSION ST"; - leaf enable { - type uint8; - description "enable"; - } - } - - grouping MASK-ATTR-T { - description "Mask attributes for a match type"; - leaf subnet { - type boolean; - description "Subnet mask support for a match type"; - } - leaf arbitrary { - type boolean; - description "Arbitrary mask support for a match type"; - } - leaf wild-card { - type boolean; - description "Wild card mask support for a match type"; - } - } - - grouping PLMGR-GLOBAL-CAP-BG { - description "Global Capabaility details "; - - list global-capability { - description "Global capability"; - uses PLMGR-APP-GL-CAP-T; - } - } - - grouping UINT16-RNG-ST { - description "UINT16 RNG ST"; - leaf min { - type uint16; - description "Lower limit of the range"; - } - leaf max { - type uint16; - description "Upper limit of the range"; - } - } - - grouping ACTION-PREPAID-CFG-ST { - description "ACTION PREPAID CFG ST"; - leaf prepaid-config-profile-name { - type string; - description "prepaid config profile name"; - } - } - - grouping PLMGR-APP-DB-BG { - description "Per application Classmap/Policymap database"; - leaf object-type { - type Plmgr-appln-type-en; - description "Application type configured"; - } - leaf total-objects { - type uint32; - description - "Total number of objects configured for a - specific object type"; - } - leaf transient { - type boolean; - description "Transient object"; - } - - list reference { - description "Each Policymap details"; - uses PLMGR-OBJ-REF-PMAP-BG; - } - - list objects { - description "Each object details"; - uses PLMGR-OBJ-REF-SUMMARY-BG; - } - - list class-map-reference { - description "Each Classmapdetails"; - uses PLMGR-OBJ-CMAP-DETAIL-BG; - } - } - grouping TARGETS { - description "Common node of node, global"; - - container target-policy-map-types { - description "Targets of a policymap"; - - list target-policy-map-type { - key "type"; - description "Policymgr application type"; - - container policy-map-targets { - description "Policy-map table"; - - list policy-map-target { - key "policy-map-name"; - description "Policy-map targets"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-PMAP-STR-TARGETS-BG; - } - } - - container policy-map-target-summary { - description "Policy-map table"; - uses PLMGR-PMAP-TARGETS-SUMMARY-BG; - } - - container target-summary-per-policy-maps { - description "Policy-map table per Policy-map"; - - list target-summary-per-policy-map { - key "policy-map-name"; - description "Policy-map targets summary"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-PMAP-TARGETS-SUMMARY-BG; - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - } - - grouping CLASS-MAP { - description "Common node of node, global"; - - container class-map { - description "List of classmap details"; - - container class-map-types { - description "Application type of a classmap"; - - list class-map-type { - key "type"; - description "Policymgr application type"; - - container class-map-details { - description "Class-map detail table"; - - list class-map-detail { - key "class-map-name"; - description "Class-map detail information"; - leaf class-map-name { - type string { - length "1..63"; - } - description "Name of class-map"; - } - uses PLMGR-APP-DB-BG; - } - } - - container class-maps { - description "Class-map definition table"; - - list class-map { - key "class-map-name"; - description "Class-map configuration"; - leaf class-map-name { - type string { - length "1..63"; - } - description "Name of class-map"; - } - uses CLASS-MAP-BG; - } - } - - container class-map-briefs { - description "Class-map brief table"; - - list class-map-brief { - key "class-map-name"; - description "Class-map brief information"; - leaf class-map-name { - type string { - length "1..63"; - } - description "Name of class-map"; - } - uses PLMGR-APP-DB-BG; - } - } - leaf type { - type Policymgr-class-map; - description "The application type"; - } - } - } - } - } - - grouping SUMMARY { - description "Common node of node, global"; - - container summary { - description - "Summary of policy-maps and class-maps configured"; - uses PLMGR-SUMMARY-BG; - } - } - - grouping POLICY-MAP { - description "Common node of node, global"; - - container policy-map { - description "List of policymap details"; - - container transient-policy-map-type-xr { - description "Application type of transient policy-map"; - - list transient-policy-map-type { - key "type"; - description "Transient policy-map type"; - - container transient-policy-map-names { - description "Transient policy-map definition table"; - - list transient-policy-map-name { - key "policy-map-name"; - description "Transient policy-map definition table"; - - container class-handles { - description - "Transient policy-map class handle table"; - - list class-handle { - key "inline-classhandle"; - description "Transient policy-map class handle"; - leaf inline-classhandle { - type int32; - description "inline class handle"; - } - uses POLICY-MAP-BG; - } - } - - container class-seq-nums { - description - "Transient policy-map sequence number table"; - - list class-seq-num { - key "sequence-num"; - description - "Transient policy-map sequence number"; - leaf sequence-num { - type int32; - description "sequence number"; - } - uses POLICY-MAP-BG; - } - } - - container definition { - description "Transient Policy-map type name"; - uses POLICY-MAP-BG; - } - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - - container policy-map-unused-types { - description "Policy-map unused table"; - - list policy-map-unused-type { - key "type"; - description "Policy-map unused"; - - container unuseds { - description "Policy-map unused"; - - list unused { - key "policy-map-name"; - description "Policy-map unused information"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-APP-DB-BG; - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - - container policy-map-types { - description "Application type of a policymap"; - - list policy-map-type { - key "type"; - description "Policymgr application type"; - - container policy-maps { - description "Policy-map definition table"; - - list policy-map { - key "policy-map-name"; - description "Policy-map configuration"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses POLICY-MAP-BG; - } - } - - container policy-map-details { - description "Policy-map table"; - - list policy-map-detail { - key "policy-map-name"; - description "Policy-map detail information"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-APP-DB-BG; - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - - container transient-policy-map-types { - description "Application type of transient policy-map list"; - - list transient-policy-map-type { - key "type"; - description "Transient policy-map type"; - - container transient-list-unuseds { - description "Transient policy-map list unused table"; - - list transient-list-unused { - key "policy-map-name"; - description "Policy-map list unused"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-APP-DB-BG; - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - } - } - - grouping DETAIL { - description "Common node of transient-input, transient-output"; - - container detail { - description "Policy map"; - uses POLICY-MAP-APPLIED-SHOW-BG; - } - } - - grouping POLICYMGR-OPER-DETAIL { - description - "Common node of transient-input, - transient-outputCommon node of output, input"; - - container detail { - description "WORD interface name"; - uses POLICY-MAP-APPLIED-SHOW-BG; - } - } - - container policy-manager { - config false; - description "Policy-map operational data"; - - container global { - description "Global QOS operational data"; - - container policy-map-applied-types { - description "List of Applied policymap details"; - - list policy-map-applied-type { - key "type"; - description "Policymgr application type"; - - container if-names { - description "Interface table"; - - list if-name { - key "interface-name"; - description "WORD interface name"; - - container input { - description "Input direction table"; - uses POLICYMGR-OPER-DETAIL; - } - - container output { - description "Output direction table"; - uses POLICYMGR-OPER-DETAIL; - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - - container transient-policy-map-targets-types { - description "Transient policy-map target table"; - - list transient-policy-map-targets-type { - key "type"; - description "Transient Policymgr application type"; - - container transient-target-summary-per-policy-maps { - description "Transient Policy-map table per Policy-map"; - - list transient-target-summary-per-policy-map { - key "policy-map-name"; - description "Policy-map targets summary"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-PMAP-TARGETS-SUMMARY-BG; - } - } - - container transient-policy-map-target-summary { - description "Transient Policy-map table"; - uses PLMGR-PMAP-TARGETS-SUMMARY-BG; - } - - container transient-policy-map-targets { - description "Transient Policy-map table"; - - list transient-policy-map-target { - key "policy-map-name"; - description "Transient Policy-map targets"; - leaf policy-map-name { - type string { - length "1..63"; - } - description "Name of policy-map"; - } - uses PLMGR-PMAP-STR-TARGETS-BG; - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - - container transient-policy-map-applied-types { - description "Transient policy-map applied type"; - - list transient-policy-map-applied-type { - key "type"; - description "Transient policy-map applied type"; - - container transient-interface-names { - description "Interface table"; - - list transient-interface-name { - key "interface-name"; - description "WORD interface name"; - - container transient-output { - description "Output direction table"; - uses DETAIL; - } - - container transient-input { - description "Input direction table"; - uses DETAIL; - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - } - } - leaf type { - type Policymgr-policy-map; - description "The application type"; - } - } - } - uses TARGETS; - uses CLASS-MAP; - uses POLICY-MAP; - uses SUMMARY; - } - - container nodes { - description "Node-specific Policymgr operational data"; - - list node { - key "node-name"; - description - "Policymgr operational data for a particular - node"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses TARGETS; - uses CLASS-MAP; - uses POLICY-MAP; - uses SUMMARY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-cfg.yang deleted file mode 100644 index 89ca21b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-cfg.yang +++ /dev/null @@ -1,304 +0,0 @@ -module Cisco-IOS-XR-infra-rcmd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg"; - - - prefix "infra-rcmd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rcmd package configuration. - - This module contains definitions - for the following management objects: - router-convergence: Configure Router Convergence Monitoring - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rcmd-priority { - type enumeration { - enum critical { - value 0; - description "Critical routes"; - } - enum high { - value 1; - description "High priority routes"; - } - enum medium { - value 2; - description "Medium priority routes"; - } - enum low { - value 3; - description "Low priority routes"; - } - } - description "Rcmd priority"; - } - typedef Protocol-name { - type enumeration { - enum ospf { - value 0; - description "Configure parameters related to OSPF"; - } - enum isis { - value 1; - description "Configure parameters related to ISIS"; - } - } - description "Protocol name"; - } - - container router-convergence { - description "Configure Router Convergence Monitoring"; - - container protocols { - description "Table of Protocol"; - - list protocol { - key "protocol-name"; - description - "Protocol for which to configure RCMD parameters"; - - container priorities { - description "Table of Priority"; - - list priority { - key "rcmd-priority"; - description "Priority"; - leaf threshold { - type int32; - description - "Threshold value for convergence (in msec)"; - } - leaf leaf-networks { - type uint32 { - range "10..100"; - } - description - "Specify the maximum number of leaf networks - monitored"; - } - leaf disable { - type empty; - description - "Disables the monitoring of route convergence - for specified priority"; - } - leaf enable { - type empty; - description - "Enable Priority. Deletion of this object - also causes deletion of all associated - objects under Priority."; - } - leaf frr-threshold { - type uint32 { - range "1..100"; - } - units "percentage"; - description - "Threshold value for Fast ReRoute Coverage - (in percentage)"; - } - leaf rcmd-priority { - type Rcmd-priority; - description "Specify the priority"; - } - } - } - leaf enable { - type empty; - description - "Enable Protocol for which to configure RCMD - parameters. Deletion of this object also - causes deletion of all associated objects - under Protocol."; - } - leaf protocol-name { - type Protocol-name; - description "Specify the protocol"; - } - } - } - - container storage-location { - presence "Indicates a storage-location node is configured."; - description - "Absolute directory path for saving the archive - files. Example /disk0:/rcmd/ or - /rcmd/"; - leaf diagnostics { - type string; - description - "Absolute directory path for storing diagnostic - reports. Example /disk0:/rcmd/ or - /rcmd/"; - } - leaf diagnostics-size { - type uint32 { - range "5..80"; - } - description - "Maximum size of diagnostics dir (5% - 80%) for - local storage."; - } - leaf reports-size { - type uint32 { - range "5..80"; - } - description - "Maximum size of reports dir (5% - 80%) for - local storage."; - } - leaf reports { - type string; - description - "Absolute directory path for storing reports. - Example /disk0:/rcmd/ or /rcmd/"; - } - } - - container mpls-ldp { - presence "Indicates a mpls-ldp node is configured."; - description "RCMD related configuration for MPLS-LDP"; - - container remote-lfa { - presence "Indicates a remote-lfa node is configured."; - description "Monitoring configuration for Remote LFA"; - leaf threshold { - type uint32 { - range "1..100"; - } - units "percentage"; - description - "Threshold value for label coverage (in - percentage)"; - } - } - } - - container collect-diagnostics { - description "Table of CollectDiagnostics"; - - list collect-diagnostic { - key "node-name"; - description "Collect diagnostics on specified node"; - leaf enable { - type empty; - description - "Enables collection of diagnostics on the - specified location"; - } - leaf node-name { - type xr:Node-id; - description "Specified location"; - } - } - } - - container nodes { - description "Table of Node"; - - list node { - key "node-name"; - description - "Configure parameters for the specified node - (Partially qualified location allowed)"; - leaf disable { - type empty; - description - "Disables the monitoring of route convergence - on specified location"; - } - leaf enable { - type empty; - description - "Enable Configure parameters for the specified - node (Partially qualified location allowed). - Deletion of this object also causes deletion - of all associated objects under Node."; - } - leaf node-name { - type xr:Pq-node-id; - description - "Wildcard expression(eg. */*/*, R/*/*, R/S/*, - R/S/I)"; - } - } - } - leaf event-buffer-size { - type uint32 { - range "100..500"; - } - description - "Event buffer size for storing event traces (as - number of events)"; - } - leaf prefix-monitor-limit { - type uint32 { - range "0..100"; - } - description "Limits Individual Prefix Monitoring"; - } - leaf disable { - type empty; - description - "Disable the monitoring of route convergence on - the entire router"; - } - leaf enable { - type empty; - description - "Enable Configure Router Convergence Monitoring. - Deletion of this object also causes deletion of - all associated objects under RouterConvergence."; - } - leaf max-events-stored { - type uint32 { - range "10..500"; - } - description "Maximum number of events stored in the server"; - } - leaf monitoring-interval { - type uint32 { - range "5..120"; - } - units "minute"; - description "Interval in which to collect logs (in mins)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang deleted file mode 100644 index a7af27d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang +++ /dev/null @@ -1,2344 +0,0 @@ -submodule Cisco-IOS-XR-infra-rcmd-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-rcmd-oper { - prefix Cisco-IOS-XR-infra-rcmd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-rcmd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rcmd-show-inst-state { - type enumeration { - enum unknown { - value 0; - description "Unknown state"; - } - enum active { - value 1; - description "Active state"; - } - enum in-active { - value 2; - description "InActive state"; - } - enum na { - value 3; - description "Max state"; - } - } - description "instance state"; - } - typedef Rcmd-show-intf-event { - type enumeration { - enum create { - value 1; - description "Create"; - } - enum delete { - value 2; - description "Delete"; - } - enum link-up { - value 3; - description "LinkUp"; - } - enum link-down { - value 4; - description "LinkDown"; - } - enum primary-address { - value 5; - description "PrimaryAddress"; - } - enum secondary-address { - value 6; - description "SecondaryAddress"; - } - enum ipv6-link-local-address { - value 7; - description "Ipv6LinkLocalAddress"; - } - enum ipv6-global-address { - value 8; - description "Ipv6GlobalAddress"; - } - enum mtu { - value 9; - description "MTU"; - } - enum band-width { - value 10; - description "BandWidth"; - } - enum ldp-sync { - value 11; - description "LDPSync"; - } - enum forward-reference { - value 12; - description "ForwardReference"; - } - enum ldp-no-sync { - value 13; - description "LDPNoSync"; - } - } - description "Rcmd show intf event"; - } - typedef Rcmd-show-comp-id { - type enumeration { - enum ospf { - description "OSPF component"; - } - enum isis { - description "ISIS component"; - } - enum un-known { - description "Max NA"; - } - } - description "Component Info"; - } - typedef Rcmd-show-ldp-conv-state { - type enumeration { - enum not-full { - description "Not Fully Covered"; - } - enum fully-covered { - description "Fully Covered"; - } - enum coverage-above-threshold { - description "Backup Coverage Above Threshold"; - } - enum coverage-below-threshold { - description "Backup Coverage Below Threshold"; - } - enum coverage-flapping { - description "Backup Coverage is Flappping"; - } - } - description "LDP Convergence States"; - } - typedef Rcmd-show-ldp-session-state { - type enumeration { - enum gr-down { - description "GR Down State"; - } - enum gr-converging { - description "GR Converging State"; - } - enum establishing { - description "Establishing State"; - } - enum converging { - description "Converging State"; - } - enum converged { - description "Converged State"; - } - enum retrying { - description "Retrying State"; - } - enum total { - description "Cumulative Coverage for all the States"; - } - } - description "LDP Session State"; - } - typedef Rcmd-protocol-id { - type enumeration { - enum ospf { - value 0; - description "OSPF protocol"; - } - enum isis { - value 1; - description "ISIS Prrotocol"; - } - enum na { - value 2; - description "Max NA"; - } - } - description "Protocol Info"; - } - typedef Rcmd-show-ldp-neighbour-status { - type enumeration { - enum down { - description "Down State"; - } - enum up { - description "Up State"; - } - } - description "LDP Adjacency Session Status"; - } - typedef Rcmd-ldp-event { - type enumeration { - enum neighbor { - value 1; - description "Neighbor Event"; - } - enum adjacency { - value 2; - description "Adjacency Event"; - } - } - description "Type of LDP Event"; - } - typedef Rcmd-show-mem { - type enumeration { - enum standard { - value 0; - description "Standard type"; - } - enum chunk { - value 1; - description "Chunk type"; - } - enum edm { - value 2; - description "EDM type"; - } - enum string { - value 3; - description "String type"; - } - enum static { - value 4; - description "Static type"; - } - enum unknown { - value 5; - description "Unknown type"; - } - } - description "RCMD Memory Manager type"; - } - typedef Rcmd-isis-spf { - type enumeration { - enum full { - value 0; - description "Full"; - } - enum incremental { - value 1; - description "Incremental"; - } - enum next-hop { - value 2; - description "Next hop calculation"; - } - enum partial-route { - value 3; - description "Partial route calculation"; - } - } - description "Type of an ISIS SPF run"; - } - typedef Rcmd-isis-lvl { - type enumeration { - enum l1 { - value 0; - description "Level 1"; - } - enum l2 { - value 1; - description "Level 2"; - } - } - description "Type of an ISIS Level"; - } - typedef Rcmd-bag-enbl-dsbl { - type enumeration { - enum dsbl { - value 0; - description "Disabled"; - } - enum enbl { - value 1; - description "Enabled"; - } - } - description "status enum"; - } - typedef Rcmd-show-node { - type enumeration { - enum unknown { - value 0; - description "Unknown Type"; - } - enum lc { - value 1; - description "LC Type"; - } - enum rp { - value 2; - description "RP Type"; - } - } - description "Type of Node"; - } - typedef Rcmd-bool-yes-no { - type enumeration { - enum no { - value 0; - description "No"; - } - enum yes { - value 1; - description "Yes"; - } - } - description "Boolean enum"; - } - typedef Rcmd-show-prcs-state { - type enumeration { - enum success { - value 0; - description "Success"; - } - enum cpu { - value 1; - description "Cpu overload"; - } - enum memory { - value 2; - description "Memory overload"; - } - } - description "Post Processing Info"; - } - typedef Rcmd-bag-enable-disable { - type enumeration { - enum disable { - value 0; - description "Disabled"; - } - enum enable { - value 1; - description "Enabled"; - } - } - description "status enum"; - } - typedef Rcmd-show-ipfrr-lfa { - type enumeration { - enum none { - description "No IP Frr LFA Type "; - } - enum local { - description "IP Frr Local LFA"; - } - enum remote { - description "IP Frr Remote LFA"; - } - } - description "IP Frr LFA Types"; - } - typedef Rcmd-show-route-path-change { - type enumeration { - enum primary { - value 0; - description "Primary path is changed"; - } - enum backup { - value 1; - description "Backup path is changed"; - } - } - description "Type of route change"; - } - typedef Rcmd-linecard-speed { - type enumeration { - enum other { - value 0; - description "Other linecard"; - } - enum fastest { - value 1; - description "Fastest linecard"; - } - enum slowest { - value 2; - description "Slowest linecard"; - } - } - description "Comparative speed of programming on linecard"; - } - typedef Rcmd-ls-change { - type enumeration { - enum new { - value 0; - description "Added"; - } - enum delete { - value 1; - description "Deleted"; - } - enum modify { - value 2; - description "Modified"; - } - enum noop { - value 3; - description "No operation"; - } - } - description "Type of change"; - } - typedef Rcmd-lsa { - type enumeration { - enum unknown { - value 0; - description "Invalid LSA"; - } - enum router { - value 1; - description "Router LSA"; - } - enum network { - value 2; - description "Network LSA"; - } - enum summary { - value 3; - description "Summary LSA"; - } - enum asbr { - value 4; - description "ASBR LSA"; - } - enum external { - value 5; - description "External LSA"; - } - enum multicast { - value 6; - description "Multicast LSA"; - } - enum nssa { - value 7; - description "NSSA LSA"; - } - } - description "Type of LSA"; - } - typedef Rcmd-spf-state { - type enumeration { - enum complete { - value 0; - description "Complete"; - } - enum in-complete { - value 1; - description "InComplete"; - } - enum collecting { - value 2; - description "Collecting data"; - } - enum no-route-change { - value 3; - description "No Route Change"; - } - } - description "Type of an ISIS Level"; - } - typedef Rcmd-change { - type enumeration { - enum none { - value 0; - description "Invalid"; - } - enum add { - value 1; - description "Added"; - } - enum delete { - value 2; - description "Deleted"; - } - enum modify { - value 3; - description "Modified"; - } - enum no-change { - value 4; - description "No Change"; - } - } - description "Type of change"; - } - typedef Rcmd-show-route { - type enumeration { - enum ospf { - description "OSPF route init"; - } - enum intra { - description "OSPF Intra route"; - } - enum inter { - description "OSPF Inter route"; - } - enum ext-1 { - description "OSPF External Type-1 Route"; - } - enum ext-2 { - description "OSPF External Type-2 Route"; - } - enum nssa-1 { - description "OSPF NSSA Type-1 Route"; - } - enum nssa-2 { - description "OSPF NSSA Type-2 Route"; - } - enum isis { - description "ISIS route init"; - } - enum l1-summary { - description "ISIS L1 Summary"; - } - enum l1 { - description "ISIS L1"; - } - enum l2-summary { - description "ISIS L2 Summary"; - } - enum l2 { - description "ISIS L2"; - } - enum inter-area-summary { - description "ISIS Inter Area Summary"; - } - enum inter-area { - description "ISIS Inter Area"; - } - enum default-attached { - description "ISIS Default Route Attached"; - } - } - description "Route Types"; - } - typedef Rcmd-priority-level { - type enumeration { - enum critical { - value 0; - description "Critical"; - } - enum high { - value 1; - description "High"; - } - enum medium { - value 2; - description "Medium"; - } - enum low { - value 3; - description "Low"; - } - } - description "Level of priority"; - } - - grouping RCMD-SHOW-INSTANCE { - description "Instance Information"; - leaf instance-id { - type uint32; - description "Instance Id"; - } - leaf instance-state { - type Rcmd-show-inst-state; - description "Instance State"; - } - leaf instance-deleted { - type Rcmd-bool-yes-no; - description "Instance Deleted"; - } - leaf fwd-referenced { - type Rcmd-bool-yes-no; - description "Forward Referenced"; - } - leaf last-update-time { - type string; - description "Last Updated Time"; - } - leaf node-id { - type uint32; - description "Node Id"; - } - leaf spf-offset { - type uint32; - description "SPF Offset"; - } - leaf total-spf-nos { - type uint32; - description "Total spf nos"; - } - leaf arch-spf-run { - type uint32; - description "spf run can be archived"; - } - leaf route-change-spf-nos { - type uint32; - description "Route change spf nos"; - } - leaf no-route-change-spf-nos { - type uint32; - description "No Route change spf nos"; - } - leaf not-interested-spf-nos { - type uint32; - description "Not Interested SPF nos"; - } - leaf total-spt-nos { - type uint32; - description "Total spt nos"; - } - } - - grouping RCMD-SHOW-INSTANCE-NAME { - description "Instance Name Information"; - leaf name { - type string; - description "Instance Name"; - } - leaf last-update-time { - type string; - description "Last Updated Time"; - } - leaf total-spf-nos { - type uint32; - description "Total spf nos"; - } - leaf route-change-spf-nos { - type uint32; - description "Route change spf nos"; - } - leaf no-route-change-spf-nos { - type uint32; - description "No Route change spf nos"; - } - leaf not-interested-spf-nos { - type uint32; - description "Not Interested SPF nos"; - } - leaf lsp-regeneration-count { - type uint32; - description "LSP Regen Count"; - } - leaf lsp-regeneration-serial { - type uint32; - description "Last Serial"; - } - leaf arch-spf-event { - type uint32; - description "Archive SPF event"; - } - leaf arch-lsp-regeneration { - type uint32; - description "Archive Lsp regen"; - } - - list instance { - description "Instance Information"; - uses RCMD-SHOW-INSTANCE; - } - } - - grouping RCMD-SHOW-PROCESS-INFO { - description "Process Information"; - leaf protocol-id { - type Rcmd-protocol-id; - description "Protocol id"; - } - leaf process-name { - type string; - description "Process Name"; - } - - list instance-name { - description "Instance/VRF Name"; - uses RCMD-SHOW-INSTANCE-NAME; - } - } - - grouping RCMD-SHOW-PROCESS { - description "Process Information"; - - list process { - description "Process Information"; - uses RCMD-SHOW-PROCESS-INFO; - } - } - - grouping RCMD-SHOW-INTF-EVENT { - description "Interface event information"; - leaf sequence-no { - type uint32; - description "Sequence No"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf component { - type Rcmd-show-comp-id; - description "Component info"; - } - leaf event-type { - type Rcmd-show-intf-event; - description "Event Info"; - } - leaf event-time { - type string; - description "Event Time"; - } - leaf primary-address { - type inet:ipv4-address; - description "Primary Address"; - } - } - - grouping RCMD-SHOW-LDP-RLFA-LOG { - description "LDP RLFA Logs information"; - leaf log-time { - type string; - description "Event Time (eg: Apr 24 13:16:04.961)"; - } - leaf label-coverage-state { - type Rcmd-show-ldp-conv-state; - description "Label Coverage State"; - } - leaf route-count { - type uint32; - description "Total Route Count"; - } - leaf remote-label-count { - type uint32; - description "Remote Label Count"; - } - } - - grouping RCMD-SHOW-LDP-RLFA-PQ-NODE { - description "LDP Remote Lfa Remote Node information"; - leaf remote-node-id { - type inet:ipv4-address; - description "Remote Node ID"; - } - leaf lsr-id { - type inet:ipv4-address; - description "Label Space Router ID"; - } - leaf transport-address { - type inet:ipv4-address; - description "Transport Address"; - } - leaf in-use-time { - type string; - description "Inuse time of the Session"; - } - leaf session-state { - type Rcmd-show-ldp-session-state; - description "Session State"; - } - leaf route-count { - type uint32; - description "Total Route Count"; - } - leaf path-count { - type uint32; - description "Total Path Count"; - } - leaf remote-label-count { - type uint32; - description "Remote Label Count"; - } - leaf protected-route-count { - type uint32; - description "Protected Route Count"; - } - leaf protected-path-count { - type uint32; - description "Protected Path Count"; - } - } - - grouping RCMD-SHOW-LDP-RLFA-STAT { - description "LDP RLFA Session Statistics information"; - leaf session-state { - type Rcmd-show-ldp-session-state; - description "Session State"; - } - leaf session-count { - type uint32; - description "LDP Session Count"; - } - leaf route-count { - type uint32; - description "Total Route Count"; - } - leaf path-count { - type uint32; - description "Total Path Count"; - } - leaf remote-label-count { - type uint32; - description "Remote Label Count"; - } - leaf protected-route-count { - type uint32; - description "Protected Route Count"; - } - leaf protected-path-count { - type uint32; - description "Protected Path Count"; - } - } - - grouping RCMD-SHOW-LDP-RLFA-EVENT { - description "LDP RLFA information"; - leaf event-id-xr { - type uint32; - description "LDP-rLFA Event ID"; - } - leaf end-of-calculation-time { - type string; - description - "End of IGP LFA Calculation Time (eg: Apr 24 13 - :16:04.961)"; - } - leaf igp-protocol { - type Rcmd-protocol-id; - description "IGP Protocol"; - } - leaf process-name { - type string; - description "Process Name"; - } - leaf ipfrr-event-id { - type uint32; - description - "IGP IP-FRR Event ID (ref: - rcmd_show_ipfrr_event_info(EventID))"; - } - leaf below-threshold { - type boolean; - description "Coverage Below Threshold"; - } - - list session-statistic { - description "RLFA Statistics categorized by session state"; - uses RCMD-SHOW-LDP-RLFA-STAT; - } - - list remote-node { - description "Remote Node Information"; - uses RCMD-SHOW-LDP-RLFA-PQ-NODE; - } - - list logs { - description "Logs Information"; - uses RCMD-SHOW-LDP-RLFA-LOG; - } - } - - grouping RCMD-SHOW-LDP-SESSION-EVENT { - description "LDP Session Event"; - leaf event-id-xr { - type uint32; - description "Event ID"; - } - leaf event-type { - type Rcmd-ldp-event; - description "Type of event"; - } - leaf event-time { - type string; - description "Event Time"; - } - leaf lsr-id { - type inet:ipv4-address; - description "Label Space Router ID"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf address { - type inet:ipv4-address; - description "transport address or adjacency address"; - } - leaf state { - type Rcmd-show-ldp-neighbour-status; - description "Adjacency Session Status"; - } - } - - grouping RCMD-SHOW-STRING-MEMORY-INFO { - description "string memory Information"; - leaf size { - type uint32; - description "Size of the block"; - } - leaf total { - type uint32; - description "Total request"; - } - leaf success { - type uint32; - description "Cache-hit success"; - } - leaf failure { - type uint32; - description "Cache-hit failure"; - } - } - - grouping RCMD-SHOW-EDM-MEMORY-INFO { - description "edm memory Information"; - leaf size { - type uint32; - description "Size of the block"; - } - leaf total { - type uint32; - description "Total request"; - } - leaf success { - type uint32; - description "Cache-hit success"; - } - leaf failure { - type uint32; - description "Cache-hit failure"; - } - } - - grouping RCMD-SHOW-MEMORY-INFO { - description "memory Information"; - leaf structure-name { - type string; - description "Structure Name"; - } - leaf size { - type uint32; - description "Size of the datastructure"; - } - leaf current-count { - type uint32; - description "Current Count"; - } - leaf alloc-fails { - type uint32; - description "Allocation Fails"; - } - leaf alloc-count { - type uint32; - description "Allocated count"; - } - leaf freed-count { - type uint32; - description "Freed Count"; - } - leaf memory-type { - type Rcmd-show-mem; - description "Memory Type"; - } - } - - grouping RCMD-SHOW-MEMORY { - description "Memory Information"; - - list memory-info { - description "Memory Info"; - uses RCMD-SHOW-MEMORY-INFO; - } - - list edm-memory-info { - description "Memory Info"; - uses RCMD-SHOW-EDM-MEMORY-INFO; - } - - list string-memory-info { - description "Memory Info"; - uses RCMD-SHOW-STRING-MEMORY-INFO; - } - } - - grouping RCMD-REGEN-LSP-INFO { - description "Regenerated LSP information"; - leaf serial-number-xr { - type uint32; - description "Serial Number of the session event"; - } - leaf lsp-id { - type string; - description "LSP ID"; - } - leaf sequence-number { - type uint32; - description "Sequence Number"; - } - leaf reception-time { - type string; - description "Reception Time on router (in hh:mm:ss.msec)"; - } - leaf isis-level { - type Rcmd-isis-lvl; - description "ISIS Level"; - } - leaf spf-run-number { - type uint32; - description "SPF Run Number"; - } - leaf reason { - type string; - description - "Trigger reasons for LSP regeneration. Example: - pr^ - periodic, cr^ - clear (Check the - documentation for the entire list)"; - } - } - - grouping RCMD-LSP-INFO { - description "LSP information"; - leaf lsp-id { - type string; - description "LSP ID"; - } - leaf sequence-number { - type uint32; - description "Sequence Number"; - } - leaf change-type { - type Rcmd-ls-change; - description "Add, Delete, Modify"; - } - leaf reception-time { - type string; - description "Reception Time on router (in hh:mm:ss.msec)"; - } - } - - grouping RCMD-ISIS-SPF-RUN-SUMMARY { - description "SPF summary information"; - leaf topology { - type uint32; - description "Topology index (multi-topology)"; - } - leaf isis-level { - type Rcmd-isis-lvl; - description "ISIS Level"; - } - leaf type { - type Rcmd-isis-spf; - description "Type of SPF"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - leaf state { - type Rcmd-spf-state; - description "SPF state"; - } - leaf is-data-complete { - type boolean; - description "Whether the event has all information"; - } - leaf trigger-time { - type string; - description "Trigger time (in hh:mm:ss.msec)"; - } - leaf duration { - type string; - description "Duration of SPF calculation (in ss.msec)"; - } - leaf total-lsp-changes { - type uint16; - description "Total number of LSP changes processed"; - } - - list priority-summary { - description - "Convergence information summary on per-priority - basis"; - uses RCMD-PRIORITY-SUMMARY; - } - } - - grouping RCMD-ISIS-SPF-RUN { - description "ISIS SPF run information"; - - container spf-summary { - description "SPF summary information"; - uses RCMD-ISIS-SPF-RUN-SUMMARY; - } - - container node-statistics { - description "SPF Node statistics"; - uses RCMD-STAT; - } - leaf start-time { - type string; - description - "Start time (offset from event trigger time in ss - .msec)"; - } - leaf wait-time { - type uint32; - description "Wait time applied at SPF schedule (in msec)"; - } - leaf reason { - type string; - description - "Trigger reasons for SPF run. Example: pr^ - - periodic, cr^ - clear (Check the documentation - for the entire list)"; - } - - list trigger-lsp { - description "Trigger LSP"; - uses RCMD-LSP-INFO; - } - - list priority { - description "Convergence information on per-priority basis"; - uses RCMD-PRIORITY; - } - - list lsp-processed { - description "List of LSP changes processed"; - uses RCMD-LSP-INFO; - } - - list lsp-regenerated { - description "List of LSP regenerated"; - uses RCMD-REGEN-LSP-INFO; - } - } - - grouping RCMD-SHOW-NODE-INFO { - description "Node Information"; - leaf node-id { - type uint32; - description "Node Id"; - } - leaf node-name { - type string; - description "Node Name"; - } - leaf rack-id { - type uint32; - description "Rack Id"; - } - leaf last-update-time { - type string; - description "Last Updated Time"; - } - leaf fwd-referenced { - type Rcmd-bool-yes-no; - description "Forward Referenced"; - } - leaf node-type { - type Rcmd-show-node; - description "Node Type"; - } - leaf software-state { - type uint32; - description "Software State"; - } - leaf card-state { - type uint32; - description "Card State"; - } - leaf node-state { - type Rcmd-bool-yes-no; - description "Node State"; - } - leaf status { - type Rcmd-bag-enbl-dsbl; - description "Status"; - } - leaf diag-mode { - type uint32; - description "Diag Mode"; - } - leaf redundancy-state { - type uint32; - description "Redundancy State"; - } - } - - grouping RCMD-SHOW-NODE { - description "Node Information"; - - list node-information { - description "Node Info"; - uses RCMD-SHOW-NODE-INFO; - } - } - - grouping RCMD-SHOW-LTRACE { - description "Trace Information"; - leaf trace-name { - type string; - description "Configured Hostname"; - } - leaf total-stats { - type uint32; - description "Server Total Status"; - } - leaf last-run-stats { - type uint32; - description "Server Last Run Status"; - } - leaf error-stats { - type uint32; - description "Server Error Status"; - } - } - - grouping RCMD-SHOW-SERVER-DETAIL { - description "RCMD server detailed information"; - leaf overload-suspend { - type uint32; - description "Overload suspend"; - } - leaf memory-suspend { - type uint32; - description "Memory Suspend"; - } - - list trace-information { - description "Trace Information"; - uses RCMD-SHOW-LTRACE; - } - } - - grouping RCMD-SHOW-CFG-PROTO-PRIO { - description "Priority Level Configuration"; - leaf priority-name { - type Rcmd-priority-level; - description "Priority Level"; - } - leaf threshold { - type uint32; - description "threshold value"; - } - leaf disable { - type Rcmd-bool-yes-no; - description "Enable/Disable cfg"; - } - } - - grouping RCMD-SHOW-CFG-PROTO { - description "Protocol Configuration"; - leaf protocol-name { - type string; - description "Protocol Name"; - } - - list priority { - description "Priority level configuration"; - uses RCMD-SHOW-CFG-PROTO-PRIO; - } - } - - grouping RCMD-SHOW-SERVER { - description "RCMD Server Information"; - leaf host-name { - type string; - description "Configured Hostname"; - } - leaf status { - type Rcmd-bag-enable-disable; - description "Server Status"; - } - leaf max-events { - type uint32; - description "Maximum Events"; - } - leaf event-buffer-size { - type uint32; - description "Event Buffer Size"; - } - leaf monitoring-interval { - type uint32; - description "Configured Monitor Interval"; - } - leaf next-interval { - type uint32; - description "Time for next processing"; - } - leaf max-interface-count { - type uint32; - description "Max Interface events count"; - } - leaf interface-count { - type uint32; - description "Interface events count"; - } - leaf node-rp-count { - type uint32; - description "RP count"; - } - leaf node-lc-count { - type uint32; - description "LC count"; - } - leaf diag-node-count { - type uint32; - description "Diag Node count"; - } - leaf disabled-node-count { - type uint32; - description "Disabled Node count"; - } - leaf in-active-node-count { - type uint32; - description "Disabled Node count"; - } - leaf last-process-start-time { - type string; - description "Last Processing Start Time"; - } - leaf last-process-duration { - type string; - description "Last Processing Duration"; - } - leaf last-process-state { - type Rcmd-show-prcs-state; - description "Process state"; - } - leaf process-count { - type uint32; - description "Post Processing count"; - } - leaf spf-process-count { - type uint32; - description "SPF Processing count"; - } - leaf reports-archive-path { - type string; - description "Reports Archival Path"; - } - leaf reports-archive-node { - type string; - description - "Reports Archival Node (Applicable for local - location)"; - } - leaf last-archival-status { - type string; - description "Last Archival Status"; - } - leaf last-archival-error { - type string; - description "Last Archival Error"; - } - leaf last-archival-error-time { - type string; - description "Last Archival Status"; - } - leaf archive-count { - type uint32; - description "Archive Count"; - } - leaf diagnostics-archive-path { - type string; - description "Diagnostics Archival Path"; - } - leaf diagnostics-archive-node { - type string; - description - "Diagnostics Archival Node (Applicable for local - location)"; - } - - list protocol-config { - description "Protocol level configuration"; - uses RCMD-SHOW-CFG-PROTO; - } - - list server-detail { - description "Detailed Information"; - uses RCMD-SHOW-SERVER-DETAIL; - } - } - - grouping RCMD-SHOW-TYPE357-STATS-INFO { - description "prefix statistics information"; - leaf inter-area-routes { - type uint32; - description "Total Inter-Area Routes"; - } - leaf inter-area-added { - type uint32; - description "Total IA Routes Added"; - } - leaf inter-area-modified { - type uint32; - description "Total IA Routes Modified"; - } - leaf inter-area-deleted { - type uint32; - description "Total IA Routes Deleted"; - } - leaf inter-area-critical { - type uint32; - description "Total IA Routes Critical"; - } - leaf inter-area-high { - type uint32; - description "Total IA Routes High"; - } - leaf inter-area-medium { - type uint32; - description "Total IA Routes Medium"; - } - leaf inter-area-low { - type uint32; - description "Total IA Routes Low"; - } - leaf external-routes { - type uint32; - description "Total External Routes"; - } - leaf external-added { - type uint32; - description "Total Ext Routes Added"; - } - leaf external-modified { - type uint32; - description "Total Ext Routes Modified"; - } - leaf external-deleted { - type uint32; - description "Total Ext Routes Deleted"; - } - leaf external-critical { - type uint32; - description "Total Ext Routes Critical"; - } - leaf external-high { - type uint32; - description "Total Ext Routes High"; - } - leaf external-medium { - type uint32; - description "Total Ext Routes Medium"; - } - leaf external-low { - type uint32; - description "Total Ext Routes Low"; - } - } - - grouping RCMD-SHOW-PREFIX-LC-INFO { - description "Linecard timeline details"; - leaf node-name { - type string; - description "Linecard node name"; - } - leaf speed { - type Rcmd-linecard-speed; - description "Relative convergence speed"; - } - leaf fib-complete { - type string; - description "Completion point of FIB"; - } - } - - grouping RCMD-SHOW-PREFIX-TIMELINE { - description - "Timeline information details at each component - level"; - leaf route-origin { - type string; - description "Route origin (routing protocol)"; - } - leaf ri-bv4-enter { - type string; - description "Entry point of IPv4 RIB"; - } - leaf ri-bv4-exit { - type string; - description "Exit point from IPv4 RIB to FIBs"; - } - leaf ri-bv4-redistribute { - type string; - description "Route Redistribute point from IPv4 RIB to LDP"; - } - leaf ldp-enter { - type string; - description "Entry point of LDP"; - } - leaf ldp-exit { - type string; - description "Exit point of LDP to LSD"; - } - leaf lsd-enter { - type string; - description "Entry point of LSD"; - } - leaf lsd-exit { - type string; - description "Exit point of LSD to FIBs"; - } - - list lc-ip { - description - "List of Linecards' completion point for IP - routes"; - uses RCMD-SHOW-PREFIX-LC-INFO; - } - - list lc-mpls { - description - "List of Linecards' completion point for MPLS - labels"; - uses RCMD-SHOW-PREFIX-LC-INFO; - } - } - - grouping RCMD-SHOW-IPFRR-LFA-PATH { - description "IP Frr Path information"; - leaf lfa-type { - type Rcmd-show-ipfrr-lfa; - description "Type of LFA"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf neighbour-address { - type inet:ipv4-address; - description "Nexthop Address"; - } - leaf change-type { - type Rcmd-change; - description "Event Add/Delete"; - } - leaf path-metric { - type uint32; - description "Path Metric"; - } - leaf remote-node-id { - type inet:ipv4-address; - description "Remote Node ID, in case of Remote LFA"; - } - } - - grouping RCMD-SHOW-PREFIX-PATH { - description "Prefix Path information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf neighbour-address { - type inet:ipv4-address; - description "Nexthop Address"; - } - leaf change-type { - type Rcmd-change; - description "Event Add/Delete"; - } - leaf path-metric { - type uint32; - description "Path Metric"; - } - - list lfa-path { - description "Backup Path Informatoin"; - uses RCMD-SHOW-IPFRR-LFA-PATH; - } - } - - grouping RCMD-SHOW-PREFIX-EVENT { - description "Event information"; - - container ip-convergence-time { - description "Convergence time for IP route programming"; - uses RCMD-TIMESTAMP; - } - - container mpls-convergence-time { - description "Convergence time for MPLS label programming"; - uses RCMD-TIMESTAMP; - } - leaf prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf prefix-lenth { - type uint32; - description "Prefix length"; - } - leaf spf-run-no { - type uint32; - description "Referenced SPF Run No (0 - Not Applicable)"; - } - leaf ipfrr-event-id { - type uint32; - description "Referenced IP-FRR Event ID (0 - Not Applicable)"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - leaf priority { - type Rcmd-priority-level; - description "Event processed priority"; - } - leaf change-type { - type Rcmd-change; - description "Event Add/Delete"; - } - leaf route-type { - type Rcmd-show-route; - description "Route Type intra/inter/l1/l2"; - } - leaf route-path-change-type { - type Rcmd-show-route-path-change; - description "Route Path Change Type"; - } - leaf cost { - type uint32; - description "Protocol route cost"; - } - leaf trigger-time { - type string; - description "Event trigger time"; - } - - list path { - description "Path information"; - uses RCMD-SHOW-PREFIX-PATH; - } - - list trigger-lsa { - description "LSA that triggered this event"; - uses RCMD-LSA-INFO; - } - - list time-line { - description "Timeline information"; - uses RCMD-SHOW-PREFIX-TIMELINE; - } - - list lsa-processed { - description "List of LSAs processed"; - uses RCMD-LSA-INFO; - } - } - - grouping RCMD-IAEXT-PRIORITY-SUMMARY { - description - "Priority Summary for Inter-area & external - calculation"; - - container route-statistics { - description "Route statistics"; - uses RCMD-STAT; - } - - container ip-convergence-time { - description "Convergence time for IP route programming"; - uses RCMD-TIMESTAMP; - } - - container mpls-convergence-time { - description "Convergence time for MPLS label programming"; - uses RCMD-TIMESTAMP; - } - leaf level { - type Rcmd-priority-level; - description "Critical, High, Medium or Low"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - leaf type3ls-as { - type uint32; - description "Number of Type 3 LSA"; - } - leaf type4ls-as { - type uint32; - description "Number of Type 4 LSA"; - } - leaf type57ls-as { - type uint32; - description "Number of Type 5/7 LSA"; - } - } - - grouping RCMD-IAEXT-PRIORITY { - description - "Convergence information for a priority in - Inter-area and external calculation"; - - container priority-summary { - description "Summary of the priority"; - uses RCMD-IAEXT-PRIORITY-SUMMARY; - } - - list convergence-timeline { - description "Convergence timeline details"; - uses RCMD-TIMELINE; - } - - list leaf-networks-added { - description "List of Leaf Networks Added"; - uses RCMD-NETWORK; - } - - list leaf-networks-deleted { - description "List of Leaf Networks Deleted"; - uses RCMD-NETWORK; - } - } - - grouping RCMD-OSPF-IAEXT-INFO { - description "Inter-area & external calculation information"; - - list priority { - description "Convergence information on a per-priority basis"; - uses RCMD-IAEXT-PRIORITY; - } - } - - grouping RCMD-NETWORK { - description "Network"; - leaf address { - type inet:ipv4-address; - description "IP address"; - } - leaf net-mask { - type uint8; - description "Mask"; - } - } - - grouping RCMD-LC-INFO { - description "Linecard timeline details"; - - container fib-complete { - description "Completion point of FIB"; - uses RCMD-TIME; - } - leaf node-name { - type string; - description "Linecard node name"; - } - leaf speed { - type Rcmd-linecard-speed; - description "Relative convergence speed"; - } - } - - grouping RCMD-TIME { - description "The timestamps for each module"; - leaf start-time { - type string; - description - "First route process time relative to event - trigger time (in ss.msec)"; - } - leaf end-time { - type string; - description - "Last route process time relative to event - trigger time (in ss.msec)"; - } - leaf duration { - type string; - description "Duration of processing (in ss.msec)"; - } - } - - grouping RCMD-TIMELINE { - description - "Timeline information details at each component - level"; - - container route-origin { - description "Route origin (routing protocol)"; - uses RCMD-TIME; - } - - container ri-bv4-enter { - description "Entry point of IPv4 RIB"; - uses RCMD-TIME; - } - - container ri-bv4-exit { - description "Exit point from IPv4 RIB to FIBs"; - uses RCMD-TIME; - } - - container ri-bv4-redistribute { - description "Route Redistribute point from IPv4 RIB to LDP"; - uses RCMD-TIME; - } - - container ldp-enter { - description "Entry point of LDP"; - uses RCMD-TIME; - } - - container ldp-exit { - description "Exit point of LDP to LSD"; - uses RCMD-TIME; - } - - container lsd-enter { - description "Entry point of LSD"; - uses RCMD-TIME; - } - - container lsd-exit { - description "Exit point of LSD to FIBs"; - uses RCMD-TIME; - } - - list lc-ip { - description - "List of Linecards' completion point for IP - routes"; - uses RCMD-LC-INFO; - } - - list lc-mpls { - description - "List of Linecards' completion point for MPLS - labels"; - uses RCMD-LC-INFO; - } - } - - grouping RCMD-PRIORITY { - description "Convergence information for a priority"; - - container priority-summary { - description "Summary of the priority"; - uses RCMD-PRIORITY-SUMMARY; - } - - list convergence-timeline { - description "Convergence timeline details"; - uses RCMD-TIMELINE; - } - - list leaf-networks-added { - description "List of Leaf Networks Added"; - uses RCMD-NETWORK; - } - - list leaf-networks-deleted { - description "List of Leaf Networks Deleted"; - uses RCMD-NETWORK; - } - } - - grouping RCMD-LSA-INFO { - description "LSA information"; - leaf lsa-id { - type inet:ipv4-address; - description "LSA ID"; - } - leaf sequence-number { - type string; - description "Sequence Number"; - } - leaf lsa-type { - type Rcmd-lsa; - description "LSA type"; - } - leaf origin-router-id { - type inet:ipv4-address; - description "Originating Router ID"; - } - leaf change-type { - type Rcmd-ls-change; - description "Add, Delete, Modify"; - } - leaf reception-time { - type string; - description "Reception Time on router (in hh:mm:ss.msec)"; - } - } - - grouping RCMD-OSPF-SPT-INFO { - description "Dijkstra run information"; - leaf dijkstra-run-number { - type uint32; - description "Area Dijkstra run number"; - } - leaf area-id { - type inet:ipv4-address; - description "Area ID"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - leaf trigger-time { - type string; - description "Trigger time (in hh:mm:ss.msec)"; - } - leaf start-time { - type string; - description - "Start time (offset from event trigger time in ss - .msec)"; - } - leaf wait-time { - type uint32; - description - "Wait time (offset from event trigger time in ss - .msec)"; - } - leaf duration { - type string; - description "Duration of Dijktra calculation (in ss.msec)"; - } - - list trigger-lsa { - description "LSA that triggered the Dijkstra run"; - uses RCMD-LSA-INFO; - } - - list priority { - description "Convergence information on per-priority basis"; - uses RCMD-PRIORITY; - } - - list lsa-processed { - description "List of type 1/2 LSA changes processed"; - uses RCMD-LSA-INFO; - } - } - - grouping RCMD-TIMESTAMP { - description "Time range"; - leaf minimum-time { - type string; - units "millisecond"; - description "Minimum time(in seconds.milliseconds)"; - } - leaf maximum-time { - type string; - units "millisecond"; - description "Maximum time(in seconds.milliseconds)"; - } - leaf slowest-node-name { - type string; - description "Linecard node name which took the maximum time"; - } - leaf fastest-node-name { - type string; - description "Linecard node name which took the minimum time"; - } - } - - grouping RCMD-SHOW-FRR-STAT { - description "Priority Summary for Frr Statistics"; - leaf total-routes { - type uint32; - description "Total Number of Routes"; - } - leaf fully-protected-routes { - type uint32; - description "Fully Protected Routes"; - } - leaf partially-protected-routes { - type uint32; - description "Partially Protected Routes"; - } - leaf coverage { - type string; - units "percentage"; - description "Coverage in percentage"; - } - } - - grouping RCMD-STAT { - description "Statistics"; - leaf adds { - type uint32; - description "Added"; - } - leaf deletes { - type uint32; - description "Deleted"; - } - leaf modifies { - type uint32; - description "Modified"; - } - leaf reachables { - type uint32; - description "Reachable"; - } - leaf unreachables { - type uint32; - description "Unreachable"; - } - leaf touches { - type uint32; - description "Touched"; - } - } - - grouping RCMD-PRIORITY-SUMMARY { - description "Summary of convergence information for a priority"; - - container route-statistics { - description "Route statistics"; - uses RCMD-STAT; - } - - container ip-convergence-time { - description "Convergence time for IP route programming"; - uses RCMD-TIMESTAMP; - } - - container mpls-convergence-time { - description "Convergence time for MPLS label programming"; - uses RCMD-TIMESTAMP; - } - leaf level { - type Rcmd-priority-level; - description "Critical, High, Medium or Low"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - - list frr-statistic { - description "Fast Re-Route Statistics"; - uses RCMD-SHOW-FRR-STAT; - } - } - - grouping RCMD-OSPF-SPF-RUN-SUMMARY { - description "SPF summary information"; - leaf state { - type Rcmd-spf-state; - description "SPF state"; - } - leaf is-data-complete { - type boolean; - description "Whether the event has all information"; - } - leaf threshold-exceeded { - type boolean; - description "Threshold exceeded"; - } - leaf trigger-time { - type string; - description "Trigger time (in hh:mm:ss.msec)"; - } - leaf start-time { - type string; - description - "Start time (offset from event trigger time in ss - .msec)"; - } - leaf duration { - type string; - description - "Duration of complete SPF calculation (in ss - .msec)"; - } - leaf total-dijkstra-runs { - type uint16; - description "Total number of Dijkstra runs"; - } - leaf total-inter-area-and-external-batches { - type uint16; - description - "Total number of inter-area/external computation - batches"; - } - leaf total-type12lsa-changes { - type uint16; - description "Total number of Type 1/2 LSA changes processed"; - } - leaf total-type357lsa-changes { - type uint16; - description - "Total number of Type 3/5/7 LSA changes processed"; - } - - list priority-summary { - description - "Convergence information summary on per-priority - basis"; - uses RCMD-PRIORITY-SUMMARY; - } - } - - grouping RCMD-OSPF-SPF-RUN { - description "SPF run information"; - - container spf-summary { - description "SPF summary information"; - uses RCMD-OSPF-SPF-RUN-SUMMARY; - } - - list dijkstra-run { - description "List of Dijkstra runs"; - uses RCMD-OSPF-SPT-INFO; - } - - list inter-area-and-external { - description "Inter-area & external calculation information"; - uses RCMD-OSPF-IAEXT-INFO; - } - } - - grouping RCMD-SHOW-PREFIX-INFO { - description "prefix statistics information"; - leaf prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf prefix-lenth { - type uint32; - description "Prefix length"; - } - leaf last-event-time { - type string; - description "Last event trigger time"; - } - leaf last-priority { - type Rcmd-priority-level; - description "Last event processed priority"; - } - leaf last-route-type { - type Rcmd-show-route; - description "Last event Route Type"; - } - leaf last-change-type { - type Rcmd-change; - description "Last event Add/Delete"; - } - leaf last-cost { - type uint32; - description "Last Known Cost"; - } - leaf critical-priority { - type uint32; - description "No. of times processed under Critical Priority"; - } - leaf high-priority { - type uint32; - description "No. of times processed under High Priority"; - } - leaf medium-priority { - type uint32; - description "No. of times processed under Medium Priority"; - } - leaf low-priority { - type uint32; - description "No. of times processed under Low Priority"; - } - leaf add-count { - type uint32; - description "No. of times route gets Added"; - } - leaf modify-count { - type uint32; - description "No. of times route gets Deleted"; - } - leaf delete-count { - type uint32; - description "No. of times route gets Deleted"; - } - leaf threshold-exceed-count { - type uint32; - description "No. of times threshold got exceeded"; - } - } - - grouping RCMD-SHOW-IPFRR-PATH { - description "IP-Frr Remote Node Primary Path information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf neighbour-address { - type inet:ipv4-address; - description "Nexthop Address"; - } - } - - grouping RCMD-SHOW-IPFRR-RLFA-PQ-NODE { - description "IP-Frr Remote Node information"; - leaf remote-node-id { - type inet:ipv4-address; - description "Remote-LFA Node ID"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf neighbour-address { - type inet:ipv4-address; - description "Nexthop Address"; - } - leaf path-count { - type uint32; - description "Number of paths protected by this Remote Node"; - } - leaf in-use-time { - type string; - description - "Inuse time of the Remote Node (eg: Apr 24 13:16 - :04.961)"; - } - - list primary-path { - description "Protected Primary Paths"; - uses RCMD-SHOW-IPFRR-PATH; - } - } - - grouping RCMD-SHOW-IPFRR-STATS { - description "IP-Frr statistics information"; - leaf priority { - type Rcmd-priority-level; - description "Priority"; - } - leaf total-routes { - type uint32; - description "Total Number of Routes"; - } - leaf fully-protected-routes { - type uint32; - description "Fully Protected Routes"; - } - leaf partially-protected-routes { - type uint32; - description "Partially Protected Routes"; - } - leaf coverage { - type string; - units "percentage"; - description "Coverage in percentage"; - } - leaf local-lfa-coverage { - type string; - units "percentage"; - description "Local LFA Coverage in percentage"; - } - leaf remote-lfa-coverage { - type string; - units "percentage"; - description "Remote LFA Coverage in percentage"; - } - leaf below-threshold { - type boolean; - description "Covearge is below Configured Threshold"; - } - } - - grouping RCMD-SHOW-IPFRR-EVENT-INFO { - description "IP-Frr Run information"; - leaf event-id-xr { - type uint32; - description "IP-Frr Event ID"; - } - leaf trigger-time { - type string; - description "Trigger time (eg: Apr 24 13:16:04.961)"; - } - leaf trigger-spf-run { - type uint32; - description "IP-Frr Triggered reference SPF Run Number"; - } - leaf wait-time { - type uint32; - units "millisecond"; - description "Waiting Time (in milliseconds)"; - } - leaf start-time-offset { - type string; - units "millisecond"; - description - "Start Time offset from trigger time (in - milliseconds)"; - } - leaf duration { - type string; - units "millisecond"; - description "Duration for the calculation (in milliseconds)"; - } - leaf completed-spf-run { - type uint32; - description "IP-Frr Completed reference SPF Run Number"; - } - leaf total-routes { - type uint32; - description "Cumulative Number of Routes for all priorities"; - } - leaf fully-protected-routes { - type uint32; - description "Cumulative Number of Fully Protected Routes"; - } - leaf partially-protected-routes { - type uint32; - description "Cumulative Number of Partially Protected Routes"; - } - leaf coverage { - type string; - units "percentage"; - description "Coverage in percentage for all priorities"; - } - - list ipfrr-statistic { - description "IP-Frr Statistics categorized by priority"; - uses RCMD-SHOW-IPFRR-STATS; - } - - list remote-node { - description "Remote Node Information"; - uses RCMD-SHOW-IPFRR-RLFA-PQ-NODE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper.yang deleted file mode 100644 index 164f9b6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rcmd-oper.yang +++ /dev/null @@ -1,502 +0,0 @@ -module Cisco-IOS-XR-infra-rcmd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper"; - - - prefix "infra-rcmd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-rcmd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rcmd package operational data. - - This module contains definitions - for the following management objects: - rcmd: Show command for Route Convergence Monitoring & - Diagnostics - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container rcmd { - config false; - description - "Show command for Route Convergence Monitoring & - Diagnostics"; - - container ospf { - description "Operational data for OSPF"; - - container instances { - description "Operational data"; - - list instance { - key "instance-name"; - description "Operational data for a particular instance"; - - container ipfrr-event-summaries { - description "OSPF IP-FRR events summary data"; - - list ipfrr-event-summary { - key "event-id"; - description "IP-FRR Event data"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific IP-FRR Event"; - } - uses RCMD-SHOW-IPFRR-EVENT-INFO; - } - } - - container prefix-event-statistics { - description "OSPF Prefix events summary data"; - - list prefix-event-statistic { - key "prefix-info"; - description "Prefix Event statistics"; - leaf prefix-info { - type inet:ip-prefix; - description "Events with Prefix"; - } - uses RCMD-SHOW-PREFIX-INFO; - } - } - - container spf-run-summaries { - description "OSPF SPF run summary data"; - - list spf-run-summary { - key "spf-run-number"; - description "SPF Event data"; - leaf spf-run-number { - type uint32 { - range "1..4294967295"; - } - description "Specific SPF run"; - } - uses RCMD-OSPF-SPF-RUN; - } - } - - container ipfrr-event-offlines { - description "OSPF IP-FRR Event offline data"; - - list ipfrr-event-offline { - key "event-id"; - description - "Offline operational data for particular OSPF - IP-FRR Event"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific IP-FRR Event"; - } - uses RCMD-SHOW-IPFRR-EVENT-INFO; - } - } - - container spf-run-offlines { - description "OSPF SPF run offline data"; - - list spf-run-offline { - key "spf-run-number"; - description - "Offline operational data for particular OSPF - SPF run"; - leaf spf-run-number { - type uint32 { - range "1..4294967295"; - } - description "Specific SPF run"; - } - uses RCMD-OSPF-SPF-RUN; - } - } - - container summary-external-event-summaries { - description - "OSPF Summary-External Prefix events summary - data"; - - list summary-external-event-summary { - key "event-id"; - description "OSPF Summary-External Prefix Event data"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container prefix-event-summaries { - description "OSPF Prefix events summary data"; - - list prefix-event-summary { - key "event-id"; - description "OSPF Prefix Event data"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container summary-external-event-offlines { - description - "OSPF Summary-External Prefix events offline - data"; - - list summary-external-event-offline { - key "event-id"; - description - "Offline operational data for particular OSPF - Prefix Event"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container prefix-event-offlines { - description "OSPF Prefix events offline data"; - - list prefix-event-offline { - key "event-id"; - description - "Offline operational data for particular OSPF - Prefix Event"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container summary-external-event-statistics { - description - "Summary-External prefix monitoring statistics"; - uses RCMD-SHOW-TYPE357-STATS-INFO; - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "Operational data for a particular instance"; - } - } - } - } - - container server { - description "Server Info"; - - container normal { - description "Server Info"; - uses RCMD-SHOW-SERVER; - } - - container detail { - description "Server Info"; - uses RCMD-SHOW-SERVER; - } - } - - container node { - description "Node Info"; - uses RCMD-SHOW-NODE; - } - - container isis { - description "Operational data for ISIS"; - - container instances { - description "Operational data"; - - list instance { - key "instance-name"; - description "Operational data for a particular instance"; - - container ipfrr-event-summaries { - description "ISIS IP-FRR events summary data"; - - list ipfrr-event-summary { - key "event-id"; - description "IP-FRR Event data"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific IP-FRR Event"; - } - uses RCMD-SHOW-IPFRR-EVENT-INFO; - } - } - - container prefix-event-statistics { - description "ISIS Prefix events statistics data"; - - list prefix-event-statistic { - key "prefix-info"; - description "Monitoring Statistics"; - leaf prefix-info { - type inet:ip-prefix; - description "Events with Prefix"; - } - uses RCMD-SHOW-PREFIX-INFO; - } - } - - container spf-run-summaries { - description "ISIS SPF run summary data"; - - list spf-run-summary { - key "spf-run-number"; - description "SPF Event data"; - leaf spf-run-number { - type uint32 { - range "1..4294967295"; - } - description "Specific SPF run"; - } - uses RCMD-ISIS-SPF-RUN; - } - } - - container ipfrr-event-offlines { - description "ISIS IP-FRR Event offline data"; - - list ipfrr-event-offline { - key "event-id"; - description - "Offline operational data for particular ISIS - IP-FRR Event"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific IP-FRR Event"; - } - uses RCMD-SHOW-IPFRR-EVENT-INFO; - } - } - - container spf-run-offlines { - description "ISIS SPF run offline data"; - - list spf-run-offline { - key "spf-run-number"; - description - "Offline operational data for particular ISIS - SPF run"; - leaf spf-run-number { - type uint32 { - range "1..4294967295"; - } - description "Specific SPF run"; - } - uses RCMD-ISIS-SPF-RUN; - } - } - - container prefix-event-summaries { - description "ISIS Prefix events summary data"; - - list prefix-event-summary { - key "event-id"; - description "Prefix Event data"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container prefix-event-offlines { - description "ISIS Prefix events offline data"; - - list prefix-event-offline { - key "event-id"; - description - "Offline operational data for particular ISIS - Prefix Event"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-PREFIX-EVENT; - } - } - - container lsp-regenerateds { - description "Regenerated LSP data"; - - list lsp-regenerated { - key "serial-number"; - description "Regenerated LSP data"; - leaf serial-number { - type uint32 { - range "1..4294967295"; - } - description "Data for a particular regenerated LSP"; - } - uses RCMD-REGEN-LSP-INFO; - } - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "Operational data for a particular instance"; - } - } - } - } - - container memory { - description "Memory Info"; - uses RCMD-SHOW-MEMORY; - } - - container ldp { - description "LDP data"; - - container sessions { - description "Session Events"; - - list session { - key "event-id"; - description "Session"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-LDP-SESSION-EVENT; - } - } - - container remote-lfa-s { - description "Remote LFA Coverage Events"; - - list remote-lfa { - key "event-id"; - description "RemoteLFA"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-LDP-RLFA-EVENT; - } - } - - container remote-lfa-summaries { - description "Remote LFA Coverage Events"; - - list remote-lfa-summary { - key "event-id"; - description "Summary operational data for Remote LFA"; - leaf event-id { - type uint32 { - range "1..4294967295"; - } - description "Specific Event ID"; - } - uses RCMD-SHOW-LDP-RLFA-EVENT; - } - } - } - - container intf { - description "Interface data"; - - container events { - description "Events"; - - list event { - key "event-no"; - description "Events"; - leaf event-no { - type uint32 { - range "1..4294967295"; - } - description "Specific Event No."; - } - uses RCMD-SHOW-INTF-EVENT; - } - } - } - - container process { - description "Process information"; - - container isis { - description "ISIS Process Information"; - uses RCMD-SHOW-PROCESS; - } - - container ospf { - description "OSPF Process Information"; - uses RCMD-SHOW-PROCESS; - } - - container ldp { - description "LDP Process Information"; - uses RCMD-SHOW-PROCESS; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper-sub1.yang deleted file mode 100644 index 06c5484..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper-sub1.yang +++ /dev/null @@ -1,119 +0,0 @@ -submodule Cisco-IOS-XR-infra-rmf-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-rmf-oper { - prefix Cisco-IOS-XR-infra-rmf-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-rmf package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RED-SUMMARY { - description "rmf show"; - leaf err-log { - type string; - description "Error Log"; - } - - list red-pair { - description "Redundancy Pair"; - uses RED-SUMMARY-PAIR; - } - } - - grouping RED-GROUP-INFO { - description "RED GROUP INFO"; - leaf active { - type string; - description "Active"; - } - leaf standby { - type string; - description "Standby"; - } - leaf ha-state { - type string; - description "HAState"; - } - leaf nsr-state { - type string; - description "NSRState"; - } - } - - grouping RED-SUMMARY-PAIR { - description "rmf row show"; - leaf active { - type string; - description "Active node name R/S/I"; - } - leaf standby { - type string; - description "Standby node name R/S/I"; - } - leaf ha-state { - type string; - description "High Availability state Ready/Not Ready"; - } - leaf nsr-state { - type string; - description "NSR state Configured/Not Configured"; - } - - list groupinfo { - description "groupinfo"; - uses RED-GROUP-INFO; - } - } - - grouping RED-NODE-INFO { - description "Node Information"; - - container redundancy { - description "Row information"; - uses RED-SUMMARY-PAIR; - } - leaf log { - type string; - description "Reload and boot logs"; - } - leaf active-reboot-reason { - type string; - description "Active node reload"; - } - leaf standby-reboot-reason { - type string; - description "Standby node reload"; - } - leaf err-log { - type string; - description "Error Log"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper.yang deleted file mode 100644 index a2664c0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rmf-oper.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-infra-rmf-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper"; - - - prefix "infra-rmf-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-rmf-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rmf package operational data. - - This module contains definitions - for the following management objects: - redundancy: Redundancy show information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container redundancy { - config false; - description "Redundancy show information"; - - container nodes { - description "Location show information"; - - list node { - key "node-id"; - description "Redundancy Node Information"; - leaf node-id { - type xr:Node-id; - description "Node Location"; - } - uses RED-NODE-INFO; - } - } - - container summary { - description "Redundancy Summary of Nodes"; - uses RED-SUMMARY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-cfg.yang deleted file mode 100644 index 546d717..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-cfg.yang +++ /dev/null @@ -1,566 +0,0 @@ -module Cisco-IOS-XR-infra-rsi-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg"; - - - prefix "infra-rsi-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rsi package configuration. - - This module contains definitions - for the following management objects: - vrfs: VRF configuration - global-af: global af - srlg: srlg - vrf-groups: vrf groups - selective-vrf-download: selective vrf download - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-snmp-agent-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Vrf-sub-address-family { - type enumeration { - enum unicast { - value 1; - description "Unicast"; - } - enum multicast { - value 2; - description "Multicast"; - } - enum flow-spec { - value 133; - description "Flow spec"; - } - } - description "Vrf sub address family"; - } - typedef Vrf-address-family { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Vrf address family"; - } - typedef Srlg-priority { - type enumeration { - enum critical { - value 0; - description "Critical"; - } - enum high { - value 1; - description "High"; - } - enum default { - value 2; - description "Default"; - } - enum low { - value 3; - description "Low"; - } - enum very-low { - value 4; - description "Very low"; - } - } - description "Srlg priority"; - } - - grouping AF-TABLE { - description "Common node of vrf, global-af"; - - container afs { - description "VRF address family configuration"; - - list af { - key "af-name saf-name topology-name"; - description "VRF address family configuration"; - leaf create { - type empty; - description - "VRF configuration for a particular address - family"; - } - leaf af-name { - type Vrf-address-family; - description "Address family"; - } - leaf saf-name { - type Vrf-sub-address-family; - description "Sub-Address family"; - } - leaf topology-name { - type xr:Cisco-ios-xr-string { - length "1..244"; - } - description "Topology name"; - } - } - } - } - - container vrfs { - description "VRF configuration"; - - list vrf { - key "vrf-name"; - description "VRF configuration"; - - container vpn-id { - presence "Indicates a vpn-id node is configured."; - description "VPN-ID for the VRF"; - leaf vpn-oui { - type uint32 { - range "0..16777215"; - } - mandatory true; - description "OUI of VPNID OUI"; - } - leaf vpn-index { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description "Index of VPNID Index"; - } - } - leaf fallback-vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Fallback VRF"; - } - leaf remote-route-filter-disable { - type empty; - description - "For disabling remote route filtering for this - VRF on core-facing card"; - } - leaf create { - type empty; - description "VRF global configuration"; - } - leaf mode-big { - type empty; - description "Configuration enable of big VRF"; - } - leaf description { - type string { - length "1..244"; - } - description "A textual description of the VRF"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - uses AF-TABLE; - } - } - - container global-af { - description "global af"; - uses AF-TABLE; - } - - container srlg { - description "srlg"; - - container interfaces { - description "Set of interfaces configured with SRLG"; - - list interface { - key "interface-name"; - description "Interface configurations"; - - container include-optical { - description - "Include optical configuration for an interface"; - leaf enable { - type empty; - description "Enable SRLG interface include optical"; - } - leaf priority { - type Srlg-priority; - default "default"; - description "Priority for optical domain values"; - } - } - - container interface-group { - description "Group configuration for an interface"; - - container group-names { - description "Set of group name under an interface"; - - list group-name { - key "group-name-index"; - description "Group name included under interface"; - leaf group-name-index { - type uint32; - description "Group name index"; - } - leaf group-name { - type string; - mandatory true; - description "Group name"; - } - leaf srlg-priority { - type Srlg-priority; - default "default"; - description "SRLG priority"; - } - } - } - leaf enable { - type empty; - description "Enable SRLG interface group submode"; - } - } - - container values { - description "SRLG Value configuration for an interface"; - - list value { - key "srlg-index"; - description "SRLG value data"; - leaf srlg-index { - type uint32 { - range "1..65535"; - } - description "SRLG index"; - } - leaf srlg-value { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description "SRLG value"; - } - leaf srlg-priority { - type Srlg-priority; - default "default"; - description "SRLG priority"; - } - } - } - - container interface-srlg-names { - description "SRLG Name configuration for an interface"; - - list interface-srlg-name { - key "srlg-name"; - description "SRLG name data"; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - } - } - leaf enable { - type empty; - description "Enable SRLG interface"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - - container srlg-names { - description "Set of SRLG name configuration"; - - list srlg-name { - key "srlg-name"; - description "SRLG name configuration"; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - leaf srlg-value { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description "SRLG value"; - } - } - } - - container groups { - description "Set of groups configured with SRLG"; - - list group { - key "group-name"; - description "Group configurations"; - - container group-values { - description "Set of SRLG values configured under a group"; - - list group-value { - key "srlg-index"; - description "Group SRLG values with attribute"; - leaf srlg-index { - type uint32 { - range "1..65535"; - } - description "SRLG index"; - } - leaf srlg-value { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description "SRLG value"; - } - leaf srlg-priority { - type Srlg-priority; - default "default"; - description "SRLG priority"; - } - } - } - leaf enable { - type empty; - description "Enable SRLG group"; - } - leaf group-name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - } - } - - container inherit-nodes { - description "Set of inherit nodes configured with SRLG"; - - list inherit-node { - key "inherit-node-name"; - description "Inherit node configurations"; - - container inherit-node-values { - description - "Set of SRLG values configured under an inherit - node"; - - list inherit-node-value { - key "srlg-index"; - description "Inherit node SRLG value with attributes"; - leaf srlg-index { - type uint32 { - range "1..65535"; - } - description "SRLG index"; - } - leaf srlg-value { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description "SRLG value"; - } - leaf srlg-priority { - type Srlg-priority; - default "default"; - description "SRLG priority"; - } - } - } - leaf enable { - type empty; - description "Enable SRLG inherit node"; - } - leaf inherit-node-name { - type xr:Pq-node-id; - description "The inherit node name"; - } - } - } - leaf enable { - type empty; - description "Enable SRLG"; - } - } - - container vrf-groups { - description "vrf groups"; - - list vrf-group { - key "vrf-group-name"; - description "VRF group configuration"; - - container vrfs { - description "Set of VRFs configured under a VRF group"; - - list vrf { - key "vrf-name"; - description "VRF configuration"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - } - leaf enable { - type empty; - description "Enable VRF group"; - } - leaf vrf-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF group name"; - } - } - } - - container selective-vrf-download { - description "selective vrf download"; - leaf disable { - type empty; - description "Disable selective VRF download"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Assign the interface to a VRF"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container afs { - - list af { - key "af-name saf-name"; - description - "The presence of this object enables the - givenaddress-family and topology on the - interface."; - leaf af-name { - type Vrf-address-family; - description "Address-family"; - } - leaf saf-name { - type Vrf-sub-address-family; - description "Sub-address-family"; - } - } - - list af-topology-name { - key "topology-name af-name saf-name"; - description - "The presence of this object enables the - givenaddress-family and topology on the - interface."; - leaf topology-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Topology name"; - } - leaf af-name { - type Vrf-address-family; - description "Address-family"; - } - leaf saf-name { - type Vrf-sub-address-family; - description "Sub-address-family"; - } - } - description "Per-address-family and topology configuration"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container selective-vrf-download { - description - "CISCO-SELECTIVE-VRF-DOWNLOAD-MIB notification - configuration"; - leaf role-change { - type empty; - description - "Enable csvdEntityRoleChangeNotification - notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub1.yang deleted file mode 100644 index e3ce91c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub1.yang +++ /dev/null @@ -1,57 +0,0 @@ -submodule Cisco-IOS-XR-infra-rsi-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-rsi-oper { - prefix Cisco-IOS-XR-infra-rsi-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-rsi package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef String1 { - type string; - description "String1"; - } - - grouping RSI-MASTER-STATE { - description "RSI MASTER STATE"; - leaf is-svd-enabled { - type boolean; - description "Is SVD Enabled Operational"; - } - leaf is-svd-enabled-cfg { - type boolean; - description "Is SVD Enabled Config"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub2.yang deleted file mode 100644 index dd5c0e2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper-sub2.yang +++ /dev/null @@ -1,280 +0,0 @@ -submodule Cisco-IOS-XR-infra-rsi-oper-sub2 { - - belongs-to Cisco-IOS-XR-infra-rsi-oper { - prefix Cisco-IOS-XR-infra-rsi-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-infra-rsi-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-rsi package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Source { - type enumeration { - enum configured { - value 1; - description "Configured"; - } - enum from-group { - value 2; - description "From group"; - } - enum inherited { - value 4; - description "Inherited"; - } - enum from-optical { - value 8; - description "From optical"; - } - enum configured-and-notified { - value 17; - description "Configured and notified"; - } - enum from-group-and-notified { - value 18; - description "From group and notified"; - } - enum inherited-and-notified { - value 20; - description "Inherited and notified"; - } - enum from-optical-and-notified { - value 24; - description "From optical and notified"; - } - } - description "Source"; - } - typedef Priority { - type enumeration { - enum critical { - value 0; - description "Critical"; - } - enum high { - value 1; - description "High"; - } - enum medium { - value 2; - description "Medium"; - } - enum low { - value 3; - description "Low"; - } - enum very-low { - value 4; - description "Very low"; - } - } - description "Priority"; - } - - grouping RSI-SRLG-NAME-INTF-SHOW { - description "RSI SRLG NAME INTF SHOW"; - - container interfaces { - description "Interfaces information"; - uses RSI-SRLG-INTF-SHOW; - } - leaf srlg-name-xr { - type string; - description "SRLG name"; - } - leaf srlg-value { - type uint32; - description "SRLG value"; - } - } - - grouping RSI-SRLG-INTF-SHOW { - description "RSI SRLG INTF SHOW"; - leaf-list interface-name { - type String1; - description "Interface name"; - } - } - - grouping RSI-SRLG-ATTR-DETAIL { - description "RSI SRLG ATTR DETAIL"; - leaf srlg-value { - type uint32; - description "SRLG value"; - } - leaf priority { - type Priority; - description "Priority"; - } - leaf source { - type Source; - description "Source"; - } - leaf source-name { - type string; - description "Source name"; - } - leaf srlg-index { - type uint16; - description "Index"; - } - } - - grouping RSI-SRLG-INTF-DETAIL-SHOW { - description "RSI SRLG INTF DETAIL SHOW"; - leaf groups { - type uint32; - description "Groups"; - } - leaf nodes { - type uint32; - description "Nodes"; - } - - list srlg-attribute { - description "SRLG attributes"; - uses RSI-SRLG-ATTR-DETAIL; - } - } - - grouping RSI-SRLG-INTF-BRIEF-SHOW { - description "RSI SRLG INTF BRIEF SHOW"; - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf value-count { - type uint32; - description "Values"; - } - leaf registrations { - type uint32; - description "Registrations"; - } - leaf-list srlg-value { - type uint32; - description "SRLG values"; - } - } - - grouping RSI-SRLG-INHLOC-SHOW { - description "RSI SRLG INHLOC SHOW"; - leaf node-name { - type string; - description "Inherit node name"; - } - leaf node-values { - type uint32; - description "Node values"; - } - - list srlg-attribute { - description "SRLG attribute"; - uses RSI-SRLG-ATTR-BRIEF; - } - } - - grouping RSI-SRLG-ATTR-BRIEF { - description "RSI SRLG ATTR BRIEF"; - leaf srlg-value { - type uint32; - description "SRLG value"; - } - leaf priority { - type Priority; - description "Priority"; - } - leaf srlg-index { - type uint16; - description "Index"; - } - } - - grouping RSI-SRLG-GROUP-SHOW { - description "RSI SRLG GROUP SHOW"; - leaf group-name-xr { - type string; - description "Group name"; - } - leaf group-values { - type uint32; - description "Group values"; - } - - list srlg-attribute { - description "SRLG attribute"; - uses RSI-SRLG-ATTR-BRIEF; - } - } - - grouping RSI-SRLG-NAME-VALUE-SHOW { - description "RSI SRLG NAME VALUE SHOW"; - leaf srlg-value { - type uint32; - description "SRLG value"; - } - leaf srlg-name-xr { - type string; - description "SRLG name"; - } - } - - grouping RSI-VRFGROUP-ATTR-BRIEF { - description "RSI VRFGROUP ATTR BRIEF"; - leaf vrf-name { - type string; - description "VRF name"; - } - } - - grouping RSI-VRFGROUP-GROUP-SHOW { - description "RSI VRFGROUP GROUP SHOW"; - leaf vr-fs { - type uint32; - description "Number of VRFs in this VRF group"; - } - leaf forward-reference { - type boolean; - description "VRF group not present but used"; - } - - list vrf { - description "VRF group's VRF"; - uses RSI-VRFGROUP-ATTR-BRIEF; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper.yang deleted file mode 100644 index 5b75096..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-oper.yang +++ /dev/null @@ -1,257 +0,0 @@ -module Cisco-IOS-XR-infra-rsi-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper"; - - - prefix "infra-rsi-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-rsi-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-infra-rsi-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rsi package operational data. - - This module contains definitions - for the following management objects: - vrf-group: VRF group operational data - srlg: srlg - selective-vrf-download: selective vrf download - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container vrf-group { - config false; - description "VRF group operational data"; - - container nodes { - description "Node operational data"; - - list node { - key "node-name"; - description "Node details"; - - container groups { - description "Group operational data"; - - list group { - key "group-name"; - description "Group details"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Group name"; - } - uses RSI-VRFGROUP-GROUP-SHOW; - } - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - } - - container srlg { - config false; - description "srlg"; - - container srlg-maps { - description "Set of SRLG name, value maps configured"; - - list srlg-map { - key "srlg-name"; - description "Configured SRLG name details "; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - uses RSI-SRLG-NAME-VALUE-SHOW; - } - } - - container nodes { - description "RSI SRLG operational data"; - - list node { - key "node-name"; - description "RSI SRLG operational data"; - - container srlg-maps { - description "Set of SRLG name, value maps configured"; - - list srlg-map { - key "srlg-name"; - description "Configured SRLG name details "; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - uses RSI-SRLG-NAME-VALUE-SHOW; - } - } - - container groups { - description "Set of Groups configured for SRLG"; - - list group { - key "group-name"; - description "SRLG group details"; - leaf group-name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - uses RSI-SRLG-GROUP-SHOW; - } - } - - container inherit-nodes { - description - "Set of inherit locations configured for SRLG"; - - list inherit-node { - key "inherit-node-name"; - description "SRLG inherit location details"; - leaf inherit-node-name { - type xr:Pq-node-id; - description "Inherit node"; - } - uses RSI-SRLG-INHLOC-SHOW; - } - } - - container interfaces { - description "Set of interfaces configured for SRLG"; - - list interface { - key "interface-name"; - description "SRLG interface summary"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses RSI-SRLG-INTF-BRIEF-SHOW; - } - } - - container interface-details { - description "Set of interfaces configured for SRLG"; - - list interface-detail { - key "interface-name"; - description "SRLG interface details"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses RSI-SRLG-INTF-DETAIL-SHOW; - } - } - - container srlg-values { - description "Set of SRLG values configured"; - - list srlg-value { - key "value"; - description "Configured SRLG value details "; - leaf value { - type int32; - description "SRLG value"; - } - uses RSI-SRLG-INTF-SHOW; - } - } - - container interface-srlg-names { - description "Set of SRLG names configured"; - - list interface-srlg-name { - key "srlg-name"; - description "Configured SRLG name details "; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - uses RSI-SRLG-NAME-INTF-SHOW; - } - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - - container interface-srlg-names { - description "Set of SRLG names configured"; - - list interface-srlg-name { - key "srlg-name"; - description "Configured SRLG name details "; - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG name"; - } - uses RSI-SRLG-NAME-INTF-SHOW; - } - } - } - - container selective-vrf-download { - config false; - description "selective vrf download"; - - container state { - description "Selective VRF Download feature state details"; - uses RSI-MASTER-STATE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang deleted file mode 100644 index 3bc7aa8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang +++ /dev/null @@ -1,87 +0,0 @@ -module Cisco-IOS-XR-infra-rsi-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-rsi-subscriber-cfg"; - - - prefix "infra-rsi-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-rsi-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping VRF { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Assign the interface to a VRF "; - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses VRF; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses VRF; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses VRF; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-cfg.yang deleted file mode 100644 index 230b5c0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-cfg.yang +++ /dev/null @@ -1,278 +0,0 @@ -module Cisco-IOS-XR-infra-serg-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg"; - - - prefix "infra-serg-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-serg package configuration. - - This module contains definitions - for the following management objects: - session-redundancy: Session Redundancy configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Session-redundancy-group-role { - type enumeration { - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "Session redundancy group role"; - } - typedef Serg-addr-family { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 10; - description "IPv6"; - } - } - description "Serg addr family"; - } - - container session-redundancy { - description "Session Redundancy configuration"; - - container groups { - description "Table of Group"; - - list group { - key "group-id"; - description "Redundancy Group configuration"; - - container peer { - description "None"; - - container ipaddress { - description "IPv4 or IPv6 Address of SERG Peer"; - leaf address-family { - type Serg-addr-family; - description "Type of IPv4/IPv6 address"; - } - leaf prefix-string { - type inet:ip-address-no-zone; - description "IPv4/IPv6 address"; - } - } - } - - container revertive-timer { - description "None"; - leaf max-value { - type uint32 { - range "1..65535"; - } - description "Value of MAX Revertive Timer"; - } - leaf value { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Value of revertive time in minutes"; - } - } - - container interface-list { - description "List of Interfaces for this Group"; - - container interface-ranges { - description "Table of InterfaceRange"; - - list interface-range { - key "interface-name sub-interface-range-start"+ - " sub-interface-range-end"; - description "Interface for this Group"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf sub-interface-range-start { - type uint32 { - range "0..2147483647"; - } - description "Sub Interface Start Range"; - } - leaf sub-interface-range-end { - type uint32 { - range "0..2147483647"; - } - description "Sub Interface End Range"; - } - leaf interface-id-range-start { - type uint32 { - range "1..65535"; - } - description "Interface ID Start Range"; - } - leaf interface-id-range-end { - type uint32 { - range "1..65535"; - } - description "Interface ID End Range"; - } - } - } - - container interfaces { - description "Table of Interface"; - - list interface { - key "interface-name"; - description "Interface for this Group"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-id { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Interface Id for the interface"; - } - } - } - leaf enable { - type empty; - description - "Enable List of Interfaces for this Group. - Deletion of this object also causes deletion - of all associated objects under InterfaceList - ."; - } - } - leaf core-tracking-object { - type string; - description "Core Tracking Object for this Group"; - } - leaf disable-tracking-object { - type empty; - description "Disable Tracking Object for this Group"; - } - leaf redundancy-disable { - type empty; - description "Disable"; - } - leaf enable { - type empty; - description - "Enable Redundancy Group configuration. - Deletion of this object also causes deletion - of all associated objects under Group."; - } - leaf description { - type string; - description "Description for this Group"; - } - leaf access-tracking-object { - type string; - description "Access Tracking Object for this Group"; - } - leaf preferred-role { - type Session-redundancy-group-role; - description "Set preferred role"; - } - leaf hold-timer { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Set hold time (in Minutes)"; - } - leaf group-id { - type uint32 { - range "1..500"; - } - description "Group ID"; - } - } - } - - container revertive-timer { - description "None"; - leaf max-value { - type uint32 { - range "1..65535"; - } - description "Value of MAX Revertive Timer"; - } - leaf value { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Value of revertive time in minutes"; - } - } - leaf redundancy-disable { - type empty; - description "Disable"; - } - leaf enable { - type empty; - description - "Enable Session Redundancy configuration. - Deletion of this object also causes deletion of - all associated objects under SessionRedundancy."; - } - leaf source-interface { - type xr:Interface-name; - description - "Source Interface for Redundancy Peer - Communication"; - } - leaf preferred-role { - type Session-redundancy-group-role; - description "Set preferred role"; - } - leaf hold-timer { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Set hold time (in Minutes)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub1.yang deleted file mode 100644 index a8bc78a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub1.yang +++ /dev/null @@ -1,1395 +0,0 @@ -submodule Cisco-IOS-XR-infra-serg-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-serg-oper { - prefix Cisco-IOS-XR-infra-serg-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-serg package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Serg-show-so-reason { - type enumeration { - enum internal { - value 0; - description "SwitchOver for Internal Reason"; - } - enum admin { - value 1; - description "SwitchOver for Admin"; - } - enum peer-up { - value 2; - description "SwitchOver for Peer UP"; - } - enum peer-down { - value 3; - description "SwitchOver for Peer Down"; - } - enum object-tracking-status-change { - value 4; - description "SwitchOver for Object Tracking status change"; - } - enum serg-show-so-reason-max { - value 5; - description "Unknown Switchover Reason"; - } - } - description "Session Redundancy Switchover Reason"; - } - typedef Serg-peer-status { - type enumeration { - enum not-configured { - value 0; - description "Peer not configured"; - } - enum initialize { - value 1; - description "Peer initialization"; - } - enum retry { - value 2; - description "Peer retry pending"; - } - enum connect { - value 3; - description "Connection in Progress"; - } - enum listen { - value 4; - description "Listening in Progress"; - } - enum registration { - value 5; - description "Awaiting Registration from Peer"; - } - enum cleanup { - value 6; - description "Peer cleanup in progress"; - } - enum connected { - value 7; - description "Peer Connected"; - } - enum established { - value 8; - description "Peer Established"; - } - } - description "SERG Peer Status"; - } - typedef Serg-show-session-error { - type enumeration { - enum none { - value 0; - description "Invalid Error"; - } - enum hard { - value 1; - description "Hard Error"; - } - enum soft { - value 2; - description "Soft Error"; - } - } - description "SERG Session Error Operation"; - } - typedef Serg-show-session-operation { - type enumeration { - enum none { - value 0; - description "No Operation"; - } - enum update { - value 1; - description "SERG Session Update Operation"; - } - enum delete { - value 2; - description "SERG Session Delete Operation"; - } - enum in-sync { - value 3; - description "SERG Session In Sync"; - } - } - description "SERG Session Operation"; - } - typedef Serg-show-comp { - type enumeration { - enum serga { - value 0; - description "SERG Agent"; - } - enum ipv6nd { - value 1; - description "IPv6ND"; - } - enum dhcpv6 { - value 2; - description "DHCPv6"; - } - } - description "SERG Components"; - } - typedef Serg-show-slave-mode { - type enumeration { - enum none { - value 0; - description "Not Configured"; - } - enum warm { - value 1; - description "Warm Modem"; - } - enum hot { - value 2; - description "Hot Mode"; - } - } - description "SERG Slave Mode"; - } - typedef Serg-show-role { - type enumeration { - enum none { - value 0; - description "Not Configured"; - } - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "SERG Role"; - } - typedef Serg-show-im-role { - type enumeration { - enum none { - value 0; - description "Not Determined"; - } - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "SERG Interface Management Role"; - } - - grouping SERG-AGT-SHOW-GROUP-LIST-ENTRY { - description - "Session Redundancy Agent Group Summary - Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf role { - type Serg-show-im-role; - description "SERG Role"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf peer-status { - type Serg-peer-status; - description "Peer Status"; - } - leaf preferred-role { - type Serg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Serg-show-slave-mode; - description "Slave Mode"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf interface-count { - type uint32; - description "Interface Count"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf pending-add-session-count { - type uint32; - description "Pending Session Count for Synchornization"; - } - } - - grouping SERG-SHOW-TXLSTAT { - description "serg txlstat"; - leaf tx-list-encode-marker-ok { - type uint32; - description "TxListEncodeMarkerOk"; - } - leaf tx-list-encode-marker-partial-write { - type uint32; - description "TxListEncodeMarkerPartialWrite"; - } - leaf tx-list-clean-marker { - type uint32; - description "TxListCleanMarker"; - } - leaf tx-list-encode-command-ok { - type uint32; - description "TxListEncodeCommandOk"; - } - leaf tx-list-encode-command-partial-write { - type uint32; - description "TxListEncodeCommandPartialWrite"; - } - leaf tx-list-clean-command { - type uint32; - description "TxListCleanCommand"; - } - leaf tx-list-encode-negotiation-ok { - type uint32; - description "TxListEncodeNegotiationOk"; - } - leaf tx-list-encode-negotiation-partial-write { - type uint32; - description "TxListEncodeNegotiationPartialWrite"; - } - leaf tx-list-clean-negotiation { - type uint32; - description "TxListCleanNegotiation"; - } - } - - grouping SERG-SHOW-IDB-STATUS-STAT { - description "serg idb status stat"; - leaf pend-caps-rem-cnt { - type uint32; - description "No. of interfaces pending caps remove"; - } - leaf pend-reg-disable-cnt { - type uint32; - description "No. of interfaces pending red disable"; - } - leaf pend-other-batch-oper-cnt { - type uint32; - description - "No. of interfaces pending for other (except - unreg/caps rem) batch oper"; - } - leaf non-stale-cnt { - type uint32; - description "No. of non stale interfaces"; - } - leaf grp-bound-cnt { - type uint32; - description "No. of interface bound to a group"; - } - } - - grouping SERG-SHOW-TXSEND-TCP-STATISTICS { - description "TxSend Global Statistics Information"; - leaf messages-sent { - type uint32; - description "Message Sent Count"; - } - leaf bytes-sent { - type uint32; - units "byte"; - description "Bytes Sent Count"; - } - leaf messages-received { - type uint32; - description "Message Received Count"; - } - leaf bytes-received { - type uint32; - units "byte"; - description "Bytes Received Count"; - } - leaf connect-count { - type uint32; - description "Socket Connect Count"; - } - leaf blocked-connect-count { - type uint32; - description "Blocked Socket Connect Count"; - } - leaf connect-retry-count { - type uint32; - description "Socket Connect Retry Count"; - } - leaf remote-node-down-count { - type uint32; - description "Remote Peer DisConnect Count"; - } - leaf accept-count { - type uint32; - description "Socket Accept Count"; - } - leaf maximum-sent-message-size { - type uint32; - description "Maximum Size of Sent Message"; - } - leaf maximum-received-message-size { - type uint32; - description "Maximum Size of Received Message"; - } - leaf peer-pause-count { - type uint32; - description "Peer Pause Count"; - } - leaf buffer-full-occurence-count { - type uint32; - description "Buffer Full on Write Occurence Count"; - } - leaf mem-move-message-count { - type uint32; - description "Partial Message Memory Move Occurence Count"; - } - leaf mem-move-bytes-count { - type uint32; - description "Partial Message Memory Move Byte Count"; - } - leaf socket-read-count { - type uint32; - description "Socket Read Count"; - } - leaf socket-write-count { - type uint32; - description "Socket Write Count"; - } - leaf active-socket-count { - type uint16; - description "Active Socket Count"; - } - leaf maximum-requested-buffer-size { - type uint32; - description "Maximum Size of Requested Buffer"; - } - leaf buffer-freed-count { - type uint16; - description "Buffer Free Count"; - } - leaf buffer-cache-hit { - type uint16; - description "Buffer Cache Hit Count"; - } - leaf buffer-cache-miss { - type uint16; - description "Buffer Cache Miss Count"; - } - } - - grouping SERG-SHOW-OPQ-MEM-STATS { - description "serg show opq mem stats"; - leaf component { - type Serg-show-comp; - description "Component"; - } - leaf session-count { - type uint32; - description "Session count for each component"; - } - leaf opaque-size { - type uint32; - description "Current Opaque Memory Size for each component"; - } - leaf opaque-high-size { - type uint32; - description - "High Watermark of Opaque Data Size for each - component"; - } - leaf opaque-data-size { - type uint32; - description "Current Opaque Data Size for each component"; - } - } - - grouping SERG-SHOW-AGT-CLIENT-STATUS { - description "serg show agt client status"; - leaf component { - type Serg-show-comp; - description "Component"; - } - leaf client-connection-status { - type boolean; - description "ClientConnectionStatus"; - } - leaf client-initialization-synchronization-pending { - type boolean; - description "ClientInitializationSynchronizationPending"; - } - leaf client-synchronization-end-of-download-pending { - type boolean; - description "ClientSynchronizationEndOfDownloadPending"; - } - leaf up-time-stamp { - type string; - description "UpTimeStamp"; - } - leaf down-time-stamp { - type string; - description "DownTimeStamp"; - } - leaf clean-up-timer-remaining { - type uint32; - units "second"; - description "Value in Seconds to trigger the client cleanup"; - } - } - - grouping SERG-SHOW-AGT-STATISTICS { - description "serg agt stats t"; - - container intf-status-statistics { - description "intf status statistics"; - uses SERG-SHOW-IDB-STATUS-STAT; - } - - container tx-list-statistics { - description "tx list statistics"; - uses SERG-SHOW-TXLSTAT; - } - leaf source-interface-name { - type string; - description "Source Interface Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf source-interface-ipv4-address { - type inet:ipv4-address; - description "Source Interface IPv4 Address"; - } - leaf source-interface-ipv6-address { - type inet:ipv6-address; - description "Source Interface IPv6 Address"; - } - leaf redundancy-role { - type string; - description "Redundancy Role"; - } - leaf restart-client-sync-in-progress { - type boolean; - description "Restart Client Sync In Progress Flag"; - } - leaf client-init-sync-time-stamp { - type string; - description "Synchronization TimeStamp"; - } - leaf restart-peer-sync-in-progress { - type boolean; - description "Restart Peer Sync In Progress Flag"; - } - leaf peer-init-sync-time-stamp { - type string; - description "Synchronization TimeStamp"; - } - leaf sync-in-progress { - type boolean; - description "Sync In Progress Flag"; - } - leaf peer-action-timer { - type uint32; - units "second"; - description "Value in Seconds to trigger the peer actions"; - } - leaf retry-timer-remaining { - type uint32; - units "second"; - description "Value in Seconds to trigger the retry"; - } - leaf tx-list-client-registration-invalid { - type uint32; - description "TxListClientRegistrationInvalid"; - } - leaf tx-list-client-de-registration-invalid { - type uint32; - description "TxListClientDeRegistrationInvalid"; - } - leaf tx-list-client-connection-up { - type uint32; - description "TxListClientConnectionUp"; - } - leaf tx-list-client-connection-down { - type uint32; - description "TxListClientConnectionDown"; - } - leaf tx-list-client-peer-done { - type uint32; - description "TxListClientPeerDone"; - } - leaf tx-list-client-message-call-back { - type uint32; - description "TxListClientMessageCallBack"; - } - leaf tx-list-client-receive-valid { - type uint32; - description "TxListClientReceiveValid"; - } - leaf tx-list-client-receive-invalid { - type uint32; - description "TxListClientReceiveInValid"; - } - leaf tx-list-client-receive-command-valid { - type uint32; - description "TxListClientReceiveCommandValid"; - } - leaf tx-list-client-receive-command-invalid { - type uint32; - description "TxListClientReceiveCommandInValid"; - } - leaf tx-list-client-receive-session-sessionvalid { - type uint32; - description "TxListClientReceiveSessionSessionValid"; - } - leaf tx-list-client-receive-session-session-invalid { - type uint32; - description "TxListClientReceiveSessionSessionInValid"; - } - leaf tx-list-peer-timer-handler { - type uint32; - description "TxListPeerTimerHandler"; - } - leaf tx-list-peer-registration-invalid { - type uint32; - description "TxListPeerRegistrationInValid"; - } - leaf tx-list-peer-de-registration-invalid { - type uint32; - description "TxListPeerDeRegistrationInValid"; - } - leaf tx-list-peer-message-call-back-valid { - type uint32; - description "TxListPeerMessageCallBackValid"; - } - leaf tx-list-peer-message-call-back-invalid { - type uint32; - description "TxListPeerMessageCallBackInValid"; - } - leaf tx-list-peer-done { - type uint32; - description "TxListPeerDone"; - } - leaf tx-list-peer-cmd-connection-up-not-ok { - type uint32; - description "TxListPeerCmdConnectionUpNotOk"; - } - leaf tx-list-peer-cmd-connection-down-not-ok { - type uint32; - description "TxListPeerCmdConnectionDownNotOk"; - } - leaf tx-list-peer-session-connection-up-not-ok { - type uint32; - description "TxListPeerSessionConnectionUpNotOk"; - } - leaf tx-list-peer-session-connection-down-not-ok { - type uint32; - description "TxListPeerSessionConnectionDownNotOk"; - } - - list client-status { - description "Client Status"; - uses SERG-SHOW-AGT-CLIENT-STATUS; - } - - list opaque-memory-status { - description "Opaque memory Stats"; - uses SERG-SHOW-OPQ-MEM-STATS; - } - - list tx-list-over-tcp-status { - description "TCP TxList Statistics"; - uses SERG-SHOW-TXSEND-TCP-STATISTICS; - } - } - - grouping SERG-SHOW-AGT-INTF-CLIENT-STATUS { - description "serg show agt intf client status"; - leaf component { - type Serg-show-comp; - description "Component"; - } - leaf serg-show-idb-client-eoms-pending { - type boolean; - description "SERG SHOW IDB CLIENT EOMS PENDING"; - } - leaf serg-show-idb-client-sync-eod-pending { - type boolean; - description "SERG SHOW IDB CLIENT SYNC EOD PENDING"; - } - leaf session-count { - type uint32; - description "session count"; - } - } - - grouping SERG-SHOW-INTF-STATUS { - description "Session Redundancy Interface Status"; - leaf idb-state-fwd-ref { - type boolean; - description "Interface Forward Referenced"; - } - leaf idb-state-stale { - type boolean; - description "Interface State Stale"; - } - leaf idb-state-registered { - type boolean; - description "Interface State Registered"; - } - leaf idb-state-caps-added { - type boolean; - description "Interface State Caps Added"; - } - leaf idb-state-owned-re-source { - type boolean; - description "Interface State Owned Resource"; - } - leaf idb-client-eoms-pending { - type boolean; - description "Interface Client EOMS Pending"; - } - leaf idb-state-p-end-caps-rem { - type boolean; - description "Interface Caps Remove Pending"; - } - leaf idb-state-p-end-reg-disable { - type boolean; - description "Interface Registration Disable Pending"; - } - } - - grouping SERG-SHOW-INTF-OPER { - description "Session Redundancy Interface Operational Status"; - leaf idb-oper-reg-enable { - type boolean; - description "Operational Registration Enabled"; - } - leaf idb-oper-reg-disable { - type boolean; - description "Operational Registration Disabled"; - } - leaf idb-oper-caps-add { - type boolean; - description "Operational Caps Add"; - } - leaf idb-oper-caps-remove { - type boolean; - description "Operational Caps Remove"; - } - leaf idb-oper-attr-update { - type boolean; - description "Operational Attribute Update"; - } - } - - grouping SERG-SHOW-AGT-INTF-ENTRY { - description "Session Redundancy Agent Interface Information"; - - container interface-oper { - description "Interface Batch Operation"; - uses SERG-SHOW-INTF-OPER; - } - - container interface-status { - description "Interface Status"; - uses SERG-SHOW-INTF-STATUS; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-synchronization-id { - type uint32; - description "Interface Sync ID"; - } - leaf group-id { - type uint32; - description "Group ID"; - } - leaf role { - type Serg-show-im-role; - description "SERG Role"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf interface-enable-error-count { - type uint32; - description "Interface Enable Error Count"; - } - leaf interface-disable-error-count { - type uint32; - description "Interface Disable Error Count"; - } - leaf interface-caps-add-error-count { - type uint32; - description "Interface Caps Add Error Count"; - } - leaf interface-caps-remove-error-count { - type uint32; - description "Interface Caps Remove Error Count"; - } - leaf interface-attribute-update-error-count { - type uint32; - description "Interface Attribute Update Error Count"; - } - - list client-status { - description "Interface status for each client"; - uses SERG-SHOW-AGT-INTF-CLIENT-STATUS; - } - } - - grouping SERG-SHOW-GROUP-INTF-INFO { - description - "Session Redundancy Group Interface-List - Information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-synchronization-id { - type uint32; - description "Interface Synchronization ID"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - } - - grouping SERG-SHOW-CLIENT-SESSION-COUNT { - description - "Session Redundancy Client Session Count - Information"; - leaf component { - type Serg-show-comp; - description "Component"; - } - leaf session-count { - type uint32; - description "Session count"; - } - } - - grouping SERG-SHOW-GROUP-ENTRY { - description "Session Redundancy Group Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf description { - type string; - description "Group Description"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf init-role { - type Serg-show-role; - description "Preferred Init Role"; - } - leaf negotiating-role { - type Serg-show-role; - description "Negotiating Role"; - } - leaf current-role { - type Serg-show-role; - description "Current Role"; - } - leaf slave-mode { - type Serg-show-slave-mode; - description "Slave Mode"; - } - leaf hold-timer { - type uint32; - description "Switch Over Hold Time"; - } - leaf core-tracking-object-name { - type string; - description "Core Object Tracking Name"; - } - leaf core-tracking-object-status { - type boolean; - description "Core Object Tracking Status"; - } - leaf access-tracking-object-name { - type string; - description "Access Object Tracking Name"; - } - leaf access-tracking-object-status { - type boolean; - description "Access Object Tracking Status"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf peer-status { - type Serg-peer-status; - description "Peer Status"; - } - leaf peer-last-negotiation-time { - type string; - description "Last Negotiation time of Peer"; - } - leaf peer-last-up-time { - type string; - description "Last UP time of Peer"; - } - leaf peer-last-down-time { - type string; - description "Last Down time of Peer"; - } - leaf peer-init-role { - type Serg-show-role; - description "Peer Preferred Init Role"; - } - leaf peer-negotiating-role { - type Serg-show-role; - description "Peer Negotiating Role"; - } - leaf peer-current-role { - type Serg-show-role; - description "Peer Current Role"; - } - leaf peer-object-tracking-status { - type boolean; - description "Peer Object Tracking Status"; - } - leaf last-switchover-time { - type string; - description "Last Switchover time"; - } - leaf switchover-count { - type uint32; - description "Switchover Count"; - } - leaf last-switchover-reason { - type Serg-show-so-reason; - description "Last Switchover Reason"; - } - leaf switchover-hold-time { - type uint32; - units "second"; - description "Switchover Hold Time in seconds"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf slave-update-failure-count { - type uint32; - description "Slave Session update fail count"; - } - leaf pending-session-update-count { - type uint32; - description "Pending Session Update Count"; - } - leaf pending-session-delete-count { - type uint32; - description "Pending Session Delete Count"; - } - leaf interface-count { - type uint32; - description "No. of Configured Interfaces"; - } - leaf revertive-timer { - type uint32; - description "Revertive timer for SWO back"; - } - leaf switchover-revert-time { - type uint32; - units "second"; - description "Switchover Revert Time in seconds"; - } - - list client-session-count { - description "Client Session Count"; - uses SERG-SHOW-CLIENT-SESSION-COUNT; - } - - list interface { - description "Interface List"; - uses SERG-SHOW-GROUP-INTF-INFO; - } - } - - grouping SERG-SHOW-AGT-CLIENT-STATISTICS { - description "serg agt c stats t"; - leaf tx-list-start-of-download-add-ok { - type uint32; - description "TxListStartOfDownloadAddOk"; - } - leaf tx-list-start-of-download-add-not-ok { - type uint32; - description "TxListStartOfDownloadAddNotOk"; - } - leaf tx-list-end-of-download-add-ok { - type uint32; - description "TxListEndOfDownloadAddOk"; - } - leaf tx-list-end-of-download-add-not-ok { - type uint32; - description "TxListEndOfDownloadAddNotOk"; - } - leaf tx-list-end-of-message-add-ok { - type uint32; - description "TxListEndOfMessageAddOk"; - } - leaf tx-list-end-of-message-add-not-ok { - type uint32; - description "TxListEndOfMessageAddNotOk"; - } - leaf tx-list-clear-all-add-ok { - type uint32; - description "TxListClearAllAddOk"; - } - leaf tx-list-clear-all-add-not-ok { - type uint32; - description "TxListClearAllAddNotOk"; - } - leaf tx-list-clear-selected-add-ok { - type uint32; - description "TxListClearSelectedAddOk"; - } - leaf tx-list-clear-selected-add-not-ok { - type uint32; - description "TxListClearSelectedAddNotOk"; - } - leaf tx-list-replay-all-add-ok { - type uint32; - description "TxListReplayAllAddOk"; - } - leaf tx-list-replay-all-add-not-ok { - type uint32; - description "TxListReplayAllAddNotOk"; - } - leaf tx-list-replay-selected-add-ok { - type uint32; - description "TxListReplaySelectedAddOk"; - } - leaf tx-list-replay-selected-add-not-ok { - type uint32; - description "TxListReplaySelectedAddNotOk"; - } - leaf tx-list-session-session-add-ok { - type uint32; - description "TxListSessionSessionAddOk"; - } - leaf tx-list-session-session-add-not-ok { - type uint32; - description "TxListSessionSessionAddNotOk"; - } - leaf tx-list-session-session-update-ok { - type uint32; - description "TxListSessionSessionUpdateOk"; - } - leaf tx-list-session-session-update-not-ok { - type uint32; - description "TxListSessionSessionUpdateNotOk"; - } - leaf tx-list-session-session-delete { - type uint32; - description "TxListSessionSessionDelete"; - } - leaf clean-call-back { - type uint32; - description "CleanCallBack"; - } - leaf tx-list-encode-session-session-ok { - type uint32; - description "TxListEncodeSessionSessionOk"; - } - leaf tx-list-encode-session-session-partial-write { - type uint32; - description "TxListEncodeSessionSessionPartialWrite"; - } - leaf last-replay-all-count { - type uint32; - description "LastReplayAllCount"; - } - leaf tx-list-receive-command-replay-all { - type uint32; - description "TxListReceiveCommandReplayAll"; - } - leaf tx-list-receive-command-replay-selected { - type uint32; - description "TxListReceiveCommandReplaySelected"; - } - leaf tx-list-receive-session-session-delete-valid { - type uint32; - description "TxListReceiveSessionSessionDeleteValid"; - } - leaf tx-list-receive-session-session-delete-invalid { - type uint32; - description "TxListReceiveSessionSessionDeleteInValid"; - } - leaf tx-list-receive-session-session-update-valid { - type uint32; - description "TxListReceiveSessionSessionUpdateValid"; - } - leaf tx-list-receive-session-session-update-invalid { - type uint32; - description "TxListReceiveSessionSessionUpdateInValid"; - } - leaf tx-list-receive-session-session-sod-all { - type uint32; - description "TxListReceiveSessionSessionSODAll"; - } - leaf tx-list-receive-session-session-sod-selected { - type uint32; - description "TxListReceiveSessionSessionSODSelected"; - } - leaf tx-list-receive-session-session-eod-all { - type uint32; - description "TxListReceiveSessionSessionEODAll"; - } - leaf tx-list-receive-session-session-eod-selected { - type uint32; - description "TxListReceiveSessionSessionEODSelected"; - } - leaf tx-list-receive-session-session-eoms { - type uint32; - description "TxListReceiveSessionSessionEOMS"; - } - leaf tx-list-receive-session-session-clear-all { - type uint32; - description "TxListReceiveSessionSessionClearAll"; - } - leaf tx-list-receive-session-session-clear-selected { - type uint32; - description "TxListReceiveSessionSessionClearSelected"; - } - leaf tx-list-receive-session-session-neg-ack { - type uint32; - description "TxListReceiveSessionSessionNegAck"; - } - leaf tx-list-receive-session-session-neg-ack-not-ok { - type uint32; - description "TxListReceiveSessionSessionNegAckNotOk"; - } - leaf tx-list-client-registration-ok { - type uint32; - description "TxListClientRegistrationOk"; - } - leaf tx-list-client-registration-not-ok { - type uint32; - description "TxListClientRegistrationNotOk"; - } - leaf tx-list-client-de-registration { - type uint32; - description "TxListClientDeRegistration"; - } - leaf tx-list-client-connection-down { - type uint32; - description "TxListClientConnectionDown"; - } - leaf tx-list-client-cleanup { - type uint32; - description "TxListClientCleanup"; - } - leaf tx-list-active-ok { - type uint32; - description "TxListActiveOk"; - } - leaf tx-list-active-not-ok { - type uint32; - description "TxListActiveNotOk"; - } - leaf tx-list-de-active-ok { - type uint32; - description "TxListDeActiveOk"; - } - leaf tx-list-de-active-not-ok { - type uint32; - description "TxListDeActiveNotOk"; - } - } - - grouping SERG-SHOW-SESSION-ERROR-INFO { - description - "Session Redundancy Session Verbose Client Error - Information"; - leaf sync-error-count { - type uint16; - description "No. of Errors occured during Synchronization"; - } - leaf last-error-code { - type uint32; - description "Last Error Code"; - } - leaf last-error-type { - type Serg-show-session-error; - description "Last Error Type"; - } - } - - grouping SERG-SHOW-SESSION-CLIENT { - description - "Session Redundancy Session Verbose Client - Information"; - leaf component { - type Serg-show-comp; - description "Component"; - } - leaf operation { - type Serg-show-session-operation; - description "Operation Code"; - } - leaf tx-list-queue-fail { - type boolean; - description "Tx List Queue Failed"; - } - leaf marked-for-sweeping { - type boolean; - description "Marked For Sweeping"; - } - leaf marked-for-cleanup { - type boolean; - description "Marked For Cleanup"; - } - } - - grouping SERG-SHOW-SESSION-ENTRY { - description "Session Redundancy Session Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf key-index { - type string; - description "Key index"; - } - leaf role-master { - type boolean; - description "Master Role is Set"; - } - leaf negative-acknowledgement-update-all { - type boolean; - description "Negative Acknowledgement Update Flag is Set"; - } - - list session-detailed-information { - description "More Session Information"; - uses SERG-SHOW-SESSION-CLIENT; - } - - list session-sync-error-information { - description "Session Synchroniation Error Information"; - uses SERG-SHOW-SESSION-ERROR-INFO; - } - } - - grouping SERG-SHOW-MGR-SUMMARY { - description "Session Redundancy Manager Summary Information"; - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf active-state { - type boolean; - description "Process Active State"; - } - leaf preferred-role { - type Serg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Serg-show-slave-mode; - description "Slave Mode"; - } - leaf hold-timer { - type uint32; - description "Switch Over Hold Time"; - } - leaf source-interface-name { - type string; - description "Source Interface Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf source-interface-ipv4-address { - type inet:ipv4-address; - description "Source Interface IPv4 Address"; - } - leaf source-interface-ipv6-address { - type inet:ipv6-address; - description "Source Interface IPv6 Address"; - } - leaf group-count { - type uint32; - description "No. of Configured Groups"; - } - leaf disabled-group-count { - type uint32; - description "No. of Disabled Groups by Config"; - } - leaf master-group-count { - type uint32; - description "No. of Master/Active Groups"; - } - leaf slave-group-count { - type uint32; - description "No. of Slave Groups"; - } - leaf interface-count { - type uint32; - description "No. of Configured Interfaces"; - } - leaf master-interface-count { - type uint32; - description "No. of Master/Active Interfaces"; - } - leaf slave-interface-count { - type uint32; - description "No. of Slave Interfaces"; - } - } - - grouping SERG-SHOW-MGR-GROUP-ENTRY { - description "Session Redundancy Manager Group Information"; - leaf group-id { - type uint32; - description "Group ID"; - } - leaf description { - type string; - description "Group Description"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf role { - type Serg-show-im-role; - description "SERG Role"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf interface-count { - type uint32; - description "Interface Count"; - } - leaf preferred-role { - type Serg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Serg-show-slave-mode; - description "Slave Mode"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf node-name { - type string; - description "Node Information"; - } - } - - grouping SERG-SHOW-MGR-INTF-ENTRY { - description "Session Redundancy Manager Interface Information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-mapping-id { - type uint32; - description "Interface Mapping ID"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf group-id { - type uint32; - description "Group ID"; - } - leaf role { - type Serg-show-im-role; - description "SERG Role"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub2.yang deleted file mode 100644 index 06937ab..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper-sub2.yang +++ /dev/null @@ -1,156 +0,0 @@ -submodule Cisco-IOS-XR-infra-serg-oper-sub2 { - - belongs-to Cisco-IOS-XR-infra-serg-oper { - prefix Cisco-IOS-XR-infra-serg-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-serg package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Serg-show-mem { - type enumeration { - enum standard { - value 0; - description "Standard type"; - } - enum chunk { - value 1; - description "Chunk type"; - } - enum edm { - value 2; - description "EDM type"; - } - enum string { - value 3; - description "String type"; - } - enum static { - value 4; - description "Static type"; - } - enum unknown { - value 5; - description "Unknown type"; - } - } - description "SERG Memory Manager type"; - } - - grouping SERG-SHOW-STRING-MEMORY-INFO { - description "string memory Information"; - leaf size { - type uint32; - description "Size of the block"; - } - leaf total { - type uint32; - description "Total request"; - } - leaf success { - type uint32; - description "Cache-hit success"; - } - leaf failure { - type uint32; - description "Cache-hit failure"; - } - } - - grouping SERG-SHOW-EDM-MEMORY-INFO { - description "edm memory Information"; - leaf size { - type uint32; - description "Size of the block"; - } - leaf total { - type uint32; - description "Total request"; - } - leaf success { - type uint32; - description "Cache-hit success"; - } - leaf failure { - type uint32; - description "Cache-hit failure"; - } - } - - grouping SERG-SHOW-MEMORY-INFO { - description "memory Information"; - leaf structure-name { - type string; - description "Structure Name"; - } - leaf size { - type uint32; - description "Size of the datastructure"; - } - leaf current-count { - type uint32; - description "Current Count"; - } - leaf alloc-fails { - type uint32; - description "Allocation Fails"; - } - leaf alloc-count { - type uint32; - description "Allocated count"; - } - leaf freed-count { - type uint32; - description "Freed Count"; - } - leaf memory-type { - type Serg-show-mem; - description "Memory Type"; - } - } - - grouping SERG-SHOW-MEMORY { - description "Memory Information"; - - list memory-info { - description "Memory Info"; - uses SERG-SHOW-MEMORY-INFO; - } - - list edm-memory-info { - description "EDM Memory Info"; - uses SERG-SHOW-EDM-MEMORY-INFO; - } - - list string-memory-info { - description "String Memory Info"; - uses SERG-SHOW-STRING-MEMORY-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper.yang deleted file mode 100644 index e8d7937..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-serg-oper.yang +++ /dev/null @@ -1,194 +0,0 @@ -module Cisco-IOS-XR-infra-serg-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper"; - - - prefix "infra-serg-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-serg-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-infra-serg-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-serg package operational data. - - This module contains definitions - for the following management objects: - session-redundancy-manager: Session Redundancy Manager - information - session-redundancy-agent: session redundancy agent - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container session-redundancy-manager { - config false; - description "Session Redundancy Manager information"; - - container interfaces { - description "Subscriber Redundancy Manager interface table"; - - list interface { - key "interface"; - description "interface redundancy manager interface"; - leaf interface { - type xr:Cisco-ios-xr-string; - description "Interface"; - } - uses SERG-SHOW-MGR-INTF-ENTRY; - } - } - - container groups { - description "Session Redundancy Manager group table"; - - list group { - key "group"; - description "Session redundancy manager group"; - leaf group { - type xr:Cisco-ios-xr-string; - description "Group"; - } - uses SERG-SHOW-MGR-GROUP-ENTRY; - } - } - - container summary { - description "Session redundancy manager summary"; - uses SERG-SHOW-MGR-SUMMARY; - } - } - - container session-redundancy-agent { - config false; - description "session redundancy agent"; - - container nodes { - description - "List of nodes for which session data is - collected"; - - list node { - key "node-name"; - description "Session data for a particular node"; - - container group-id-xr { - description - "Data for particular subscriber group session"; - - list group-id { - key "group-id"; - description "Group id for subscriber group session"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "GroupId"; - } - uses SERG-SHOW-SESSION-ENTRY; - } - } - - container client-ids { - description "Stats Client"; - - list client-id { - key "stats-client-id"; - description "Specify stats client"; - leaf stats-client-id { - type int32; - description "Client Id"; - } - uses SERG-SHOW-AGT-CLIENT-STATISTICS; - } - } - - container memory { - description "Show Memory"; - uses SERG-SHOW-MEMORY; - } - - container group-ids { - description "Data for particular subscriber group "; - - list group-id { - key "group-id"; - description "Group id for subscriber group"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "Group Id"; - } - uses SERG-SHOW-GROUP-ENTRY; - } - } - - container interfaces { - description "List of interfaces"; - - list interface { - key "interface"; - description "Specify interface name"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses SERG-SHOW-AGT-INTF-ENTRY; - } - } - - container stats-global { - description "Stats Global"; - uses SERG-SHOW-AGT-STATISTICS; - } - - container group-summaries { - description "Session data for a particular node"; - - list group-summary { - key "group-id"; - description "Session redundancy agent group summary"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "GroupId"; - } - uses SERG-AGT-SHOW-GROUP-LIST-ENTRY; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-cfg.yang deleted file mode 100644 index f4a443f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-cfg.yang +++ /dev/null @@ -1,51 +0,0 @@ -module Cisco-IOS-XR-infra-sla-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg"; - - - prefix "infra-sla-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-sla package configuration. - - This module contains definitions - for the following management objects: - sla: SLA prtocol and profile Configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container sla { - description "SLA prtocol and profile Configuration"; - - container protocols { - description "Table of all SLA protocols"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-datatypes.yang deleted file mode 100644 index f11a559..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-datatypes.yang +++ /dev/null @@ -1,413 +0,0 @@ -module Cisco-IOS-XR-infra-sla-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-sla-datatypes"; - - - prefix "infra-sla-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Sla-burst-interval-units-enum { - type enumeration { - enum once { - value 1; - description "Send one burst per probe"; - } - enum milliseconds { - value 2; - description - "Send bursts within a probe with an interval - unit of milliseconds"; - } - enum seconds { - value 3; - description - "Send bursts within a probe with an interval - unit of seconds"; - } - enum minutes { - value 4; - description - "Send bursts within a probe with an interval - unit of minutes"; - } - enum hours { - value 5; - description - "Send bursts within a probe with an interval - unit of hours"; - } - } - description "Sla burst interval units enum"; - } - typedef Sla-send { - type enumeration { - enum packet { - value 0; - description "Send individual packets"; - } - enum burst { - value 1; - description "Send bursts of packets"; - } - } - description "Sla send"; - } - typedef Sla-probe-interval-day-enum { - type enumeration { - enum monday { - value 1; - description "Schedule every Monday"; - } - enum tuesday { - value 2; - description "Schedule every Tuesday"; - } - enum wednesday { - value 3; - description "Schedule every Wednesday"; - } - enum thursday { - value 4; - description "Schedule every Thursday"; - } - enum friday { - value 5; - description "Schedule every Friday"; - } - enum saturday { - value 6; - description "Schedule every Saturday"; - } - enum sunday { - value 7; - description "Schedule every Sunday"; - } - } - description "Sla probe interval day enum"; - } - typedef Sla-packet-interval-units-enum { - type enumeration { - enum once { - value 1; - description "Send one packet per burst"; - } - enum milliseconds { - value 2; - description - "Send packets with an interval unit of - milliseconds"; - } - enum seconds { - value 3; - description "Send packets with an interval unit of seconds"; - } - enum minutes { - value 4; - description "Send packets with an interval unit of minutes"; - } - enum hours { - value 5; - description "Send packets with an interval unit of hours"; - } - } - description "Sla packet interval units enum"; - } - typedef Sla-on-demand-repeat-interval-units-enum { - type enumeration { - enum seconds { - value 3; - description - "Schedule probes to repeat with an interval unit - of seconds"; - } - enum minutes { - value 4; - description - "Schedule probes to repeat with an interval unit - of minutes"; - } - enum hours { - value 5; - description - "Schedule probes to repeat with an interval unit - of hours"; - } - } - description "Sla on demand repeat interval units enum"; - } - typedef Sla-probe-duration-units-enum { - type enumeration { - enum seconds { - value 3; - description - "Schedule probes to run with a duration unit of - seconds"; - } - enum minutes { - value 4; - description - "Schedule probes to run with a duration unit of - minutes"; - } - enum hours { - value 5; - description - "Schedule probes to run with a duration unit of - hours"; - } - enum day { - value 6; - description - "Schedule probes to run for a duration of 1 day"; - } - enum week { - value 7; - description - "Schedule probes to run for a duration of 1 week"; - } - } - description "Sla probe duration units enum"; - } - typedef Sla-statistic-type-enum { - type enumeration { - enum round-trip-delay { - value 1; - description "Collect round trip delay metric data"; - } - enum one-way-delay-sd { - value 2; - description - "Collect one way delay source->dest metric data"; - } - enum one-way-delay-ds { - value 3; - description - "Collect one way delay dest->source metric data"; - } - enum round-trip-jitter { - value 4; - description "Collect round trip delay metric data"; - } - enum one-way-jitter-sd { - value 5; - description - "Collect one way jitter source->dest metric data"; - } - enum one-way-jitter-ds { - value 6; - description - "Collect one way jitter dest->source metric data"; - } - enum one-way-loss-sd { - value 7; - description "Collect one way loss source->dest metric data"; - } - enum one-way-loss-ds { - value 8; - description "Collect one way loss dest->source metric data"; - } - } - description "Sla statistic type enum"; - } - typedef Sla-buckets-size-units-enum { - type enumeration { - enum buckets-per-probe { - value 0; - description - "Store results as a number of buckets per probe - - note that this option has been DEPRECATED"; - } - enum probes-per-bucket { - value 1; - description - "Store results as a number of probes per bucket"; - } - } - description "Sla buckets size units enum"; - } - typedef Sla-probe-interval-units-enum { - type enumeration { - enum minutes { - value 4; - description - "Schedule probes to run with an interval unit of - minutes"; - } - enum hours { - value 5; - description - "Schedule probes to run with an interval unit of - hours"; - } - enum day { - value 6; - description "Schedule probes to run every day"; - } - enum week { - value 7; - description "Schedule probes to run every week"; - } - } - description "Sla probe interval units enum"; - } - typedef Sla-on-demand-start-month-enum { - type enumeration { - enum january { - value 0; - description "January"; - } - enum february { - value 1; - description "February"; - } - enum march { - value 2; - description "March"; - } - enum april { - value 3; - description "April"; - } - enum may { - value 4; - description "May"; - } - enum june { - value 5; - description "June"; - } - enum july { - value 6; - description "July"; - } - enum august { - value 7; - description "August"; - } - enum september { - value 8; - description "September"; - } - enum october { - value 9; - description "October"; - } - enum november { - value 10; - description "November"; - } - enum december { - value 11; - description "December"; - } - } - description "Sla on demand start month enum"; - } - typedef Sla-padding-pattern { - type enumeration { - enum hex { - value 0; - description - "Use an optionally specified hex pattern for - packet padding"; - } - enum pseudo-random { - value 1; - description - "Use a pseudo-random bit sequence for packet - padding"; - } - } - description "Sla padding pattern"; - } - typedef Sla-on-demand-start-time-types-enum { - type enumeration { - enum now { - value 0; - description "Start immediately"; - } - enum absolute { - value 1; - description "Start at a specified time"; - } - enum relative { - value 2; - description "Start after a specified period"; - } - } - description "Sla on demand start time types enum"; - } - typedef Sla-on-demand-probe-duration-units-enum { - type enumeration { - enum seconds { - value 3; - description - "Schedule probes to run with a duration unit of - seconds"; - } - enum minutes { - value 4; - description - "Schedule probes to run with a duration unit of - minutes"; - } - enum hours { - value 5; - description - "Schedule probes to run with a duration unit of - hours"; - } - } - description "Sla on demand probe duration units enum"; - } - typedef Sla-on-demand-start-time-relative-units-enum { - type enumeration { - enum seconds { - value 3; - description - "Schedule probe to start after a unit of seconds"; - } - enum minutes { - value 4; - description - "Schedule probe to start after a unit of minutes"; - } - enum hours { - value 5; - description "Schedule probe to start after a unit of hours"; - } - } - description "Sla on demand start time relative units enum"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-oper.yang deleted file mode 100644 index 048f69f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-sla-oper.yang +++ /dev/null @@ -1,58 +0,0 @@ -module Cisco-IOS-XR-infra-sla-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper"; - - - prefix "infra-sla-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-sla package operational data. - - This module contains definitions - for the following management objects: - sla: SLA oper commands - sla-nodes: sla nodes - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container sla { - config false; - description "SLA oper commands"; - - container protocols { - description "Table of all SLA protocols"; - } - } - - container sla-nodes { - config false; - description "sla nodes"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-cfg.yang deleted file mode 100644 index 134edc5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-cfg.yang +++ /dev/null @@ -1,104 +0,0 @@ -module Cisco-IOS-XR-infra-statsd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg"; - - - prefix "infra-statsd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-statsd package configuration. - - This module contains definitions - for the following management objects: - statistics: Global statistics configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container statistics { - description "Global statistics configuration"; - - container period { - description "Collection period for statistics polling"; - - container service-accounting { - description - "Collection polling period for service - accounting collectors"; - leaf polling-period { - type uint32 { - range "30..3600"; - } - must "not(../polling-disable)"; - default "900"; - description - "Collection polling period for service - accounting collectors"; - } - leaf polling-disable { - type empty; - must "not(../polling-period)"; - description - "Disable periodic statistics polling for - service accounting collectors"; - } - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container statistics { - description "Per-interface statistics configuration"; - leaf load-interval { - type uint32 { - range "0..600"; - } - default "300"; - description - "Specify interval for load calculation for an - interface"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper-sub1.yang deleted file mode 100644 index 3f7a3bb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper-sub1.yang +++ /dev/null @@ -1,309 +0,0 @@ -submodule Cisco-IOS-XR-infra-statsd-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-statsd-oper { - prefix Cisco-IOS-XR-infra-statsd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-statsd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping STATSDBAG-DATARATE { - description "Datarate information"; - leaf input-data-rate { - type uint64; - units "bit/s"; - description "Input data rate in 1000's of bps"; - } - leaf input-packet-rate { - type uint64; - units "packet/s"; - description "Input packets per second"; - } - leaf output-data-rate { - type uint64; - units "bit/s"; - description "Output data rate in 1000's of bps"; - } - leaf output-packet-rate { - type uint64; - units "packet/s"; - description "Output packets per second"; - } - leaf peak-input-data-rate { - type uint64; - description "Peak input data rate"; - } - leaf peak-input-packet-rate { - type uint64; - description "Peak input packet rate"; - } - leaf peak-output-data-rate { - type uint64; - description "Peak output data rate"; - } - leaf peak-output-packet-rate { - type uint64; - description "Peak output packet rate"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth (in kbps)"; - } - leaf load-interval { - type uint32; - description "Number of 30-sec intervals less one"; - } - leaf output-load { - type uint8; - description "Output load as fraction of 255"; - } - leaf input-load { - type uint8; - description "Input load as fraction of 255"; - } - leaf reliability { - type uint8; - description "Reliability coefficient"; - } - } - - grouping IFSTATSBAG-GENERIC { - description "Generic set of interface counters"; - leaf packets-received { - type uint64; - description "Packets received"; - } - leaf bytes-received { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf multicast-packets-received { - type uint64; - description "Multicast packets received"; - } - leaf broadcast-packets-received { - type uint64; - description "Broadcast packets received"; - } - leaf multicast-packets-sent { - type uint64; - description "Multicast packets sent"; - } - leaf broadcast-packets-sent { - type uint64; - description "Broadcast packets sent"; - } - leaf output-drops { - type uint32; - description "Total output drops"; - } - leaf output-queue-drops { - type uint32; - description "Output queue drops"; - } - leaf input-drops { - type uint32; - description "Total input drops"; - } - leaf input-queue-drops { - type uint32; - description "Input queue drops"; - } - leaf runt-packets-received { - type uint32; - description "Received runt packets"; - } - leaf giant-packets-received { - type uint32; - description "Received giant packets"; - } - leaf throttled-packets-received { - type uint32; - description "Received throttled packets"; - } - leaf parity-packets-received { - type uint32; - description "Received parity packets"; - } - leaf unknown-protocol-packets-received { - type uint32; - description "Unknown protocol packets received"; - } - leaf input-errors { - type uint32; - description "Total input errors"; - } - leaf crc-errors { - type uint32; - description "Input CRC errors"; - } - leaf input-overruns { - type uint32; - description "Input overruns"; - } - leaf framing-errors-received { - type uint32; - description "Framing-errors received"; - } - leaf input-ignored-packets { - type uint32; - description "Input ignored packets"; - } - leaf input-aborts { - type uint32; - description "Input aborts"; - } - leaf output-errors { - type uint32; - description "Total output errors"; - } - leaf output-underruns { - type uint32; - description "Output underruns"; - } - leaf output-buffer-failures { - type uint32; - description "Output buffer failures"; - } - leaf output-buffers-swapped-out { - type uint32; - description "Output buffers swapped out"; - } - leaf applique { - type uint32; - description "Applique"; - } - leaf resets { - type uint32; - description "Number of board resets"; - } - leaf carrier-transitions { - type uint32; - description "Carrier transitions"; - } - leaf availability-flag { - type uint32; - description "Availability bit mask"; - } - leaf last-data-time { - type uint32; - units "second"; - description - "Time when counters were last written (in - seconds)"; - } - leaf seconds-since-last-clear-counters { - type uint32; - units "second"; - description "Number of seconds since last clear counters"; - } - leaf last-discontinuity-time { - type uint32; - units "second"; - description - "SysUpTime when counters were last reset (in - seconds)"; - } - leaf seconds-since-packet-received { - type uint32; - units "second"; - description "Seconds since packet received"; - } - leaf seconds-since-packet-sent { - type uint32; - units "second"; - description "Seconds since packet sent"; - } - } - - grouping IFSTATSBAG-PROTO { - description "Interface counters per protocol"; - leaf bytes-received { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf packets-received { - type uint64; - description "Packets received"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf protocol { - type uint32; - description "Protocol number"; - } - leaf last-data-time { - type uint32; - units "second"; - description - "Time when counters were last written (in - seconds)"; - } - leaf input-data-rate { - type uint64; - units "bit/s"; - description "Input data rate in 1000's of bps"; - } - leaf input-packet-rate { - type uint64; - units "packet/s"; - description "Input packets per second"; - } - leaf output-data-rate { - type uint64; - units "bit/s"; - description "Output data rate in 1000's of bps"; - } - leaf output-packet-rate { - type uint64; - units "packet/s"; - description "Output packets per second"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper.yang deleted file mode 100644 index a187b1b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-statsd-oper.yang +++ /dev/null @@ -1,143 +0,0 @@ -module Cisco-IOS-XR-infra-statsd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-infra-statsd-oper"; - - - prefix "infra-statsd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-statsd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-statsd package operational data. - - This module contains definitions - for the following management objects: - infra-statistics: Statistics Infrastructure - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DATA-RATE { - description "Common node of latest, cache, total, interface"; - - container data-rate { - description "Datarate information"; - uses STATSDBAG-DATARATE; - } - } - - grouping PROTOCOL-TABLE { - description "Common node of latest, cache, total, interface"; - - container protocols { - description "List of protocols"; - - list protocol { - key "protocol-name"; - description "Interface counters per protocol"; - leaf protocol-name { - type xr:Cisco-ios-xr-string; - description "Name of the protocol"; - } - uses IFSTATSBAG-PROTO; - } - } - } - - grouping INTERFACES-MIB-COUNTERS { - description "Common node of latest, cache, total, interface"; - - container interfaces-mib-counters { - description - "Set of interface counters as displayed by the - InterfacesMIB"; - uses IFSTATSBAG-GENERIC; - } - } - - grouping GENERIC-COUNTERS { - description "Common node of latest, cache, total, interface"; - - container generic-counters { - description "Generic set of interface counters"; - uses IFSTATSBAG-GENERIC; - } - } - - container infra-statistics { - config false; - description "Statistics Infrastructure"; - - container interfaces { - description "List of interfaces"; - - list interface { - key "interface-name"; - description "Statistics of an interface"; - - container cache { - description "Cached stats data of interfaces"; - uses PROTOCOL-TABLE; - uses INTERFACES-MIB-COUNTERS; - uses DATA-RATE; - uses GENERIC-COUNTERS; - } - - container latest { - description "Latest stats data of interfaces"; - uses PROTOCOL-TABLE; - uses INTERFACES-MIB-COUNTERS; - uses DATA-RATE; - uses GENERIC-COUNTERS; - } - - container total { - description "Total stats data of interfaces"; - uses PROTOCOL-TABLE; - uses INTERFACES-MIB-COUNTERS; - uses DATA-RATE; - uses GENERIC-COUNTERS; - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses PROTOCOL-TABLE; - uses INTERFACES-MIB-COUNTERS; - uses DATA-RATE; - uses GENERIC-COUNTERS; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-cfg.yang deleted file mode 100644 index 806db53..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-cfg.yang +++ /dev/null @@ -1,1305 +0,0 @@ -module Cisco-IOS-XR-infra-syslog-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg"; - - - prefix "infra-syslog-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-syslog package configuration. - - This module contains definitions - for the following management objects: - syslog-service: Syslog Timestamp Services - syslog: syslog - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-22" { - description - "file path removed from logging file config"; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Logging-tos { - type enumeration { - enum precedence { - value 0; - description "Logging TOS type precedence"; - } - enum dscp { - value 1; - description "Logging TOS type DSCP"; - } - } - description "Logging tos"; - } - typedef Logging-dscp-value { - type union { - type enumeration { - enum default { - value 0; - description "Applicable to DSCP: bits 000000"; - } - enum af11 { - value 10; - description "Applicable to DSCP: bits 001010"; - } - enum af12 { - value 12; - description "Applicable to DSCP: bits 001100"; - } - enum af13 { - value 14; - description "Applicable to DSCP: bits 001110"; - } - enum af21 { - value 18; - description "Applicable to DSCP: bits 010010"; - } - enum af22 { - value 20; - description "Applicable to DSCP: bits 010100"; - } - enum af23 { - value 22; - description "Applicable to DSCP: bits 010110"; - } - enum af31 { - value 26; - description "Applicable to DSCP: bits 011010"; - } - enum af32 { - value 28; - description "Applicable to DSCP: bits 011100"; - } - enum af33 { - value 30; - description "Applicable to DSCP: bits 011110"; - } - enum af41 { - value 34; - description "Applicable to DSCP: bits 100010"; - } - enum af42 { - value 36; - description "Applicable to DSCP: bits 100100"; - } - enum af43 { - value 38; - description "Applicable to DSCP: bits 100110"; - } - enum ef { - value 46; - description "Applicable to DSCP: bits 101110"; - } - enum cs1 { - value 8; - description "Applicable to DSCP: bits 001000"; - } - enum cs2 { - value 16; - description "Applicable to DSCP: bits 010000"; - } - enum cs3 { - value 24; - description "Applicable to DSCP: bits 011000"; - } - enum cs4 { - value 32; - description "Applicable to DSCP: bits 100000"; - } - enum cs5 { - value 40; - description "Applicable to DSCP: bits 101000"; - } - enum cs6 { - value 48; - description "Applicable to DSCP: bits 110000"; - } - enum cs7 { - value 56; - description "Applicable to DSCP: bits 111000"; - } - } - type uint32 { - range "0..63"; - } - } - description "Logging dscp value"; - } - typedef Logging-precedence-value { - type union { - type enumeration { - enum routine { - value 0; - description "Applicable to precedence: value 0"; - } - enum priority { - value 1; - description "Applicable to precedence: value 1"; - } - enum immediate { - value 2; - description "Applicable to precedence: value 2"; - } - enum flash { - value 3; - description "Applicable to precedence: value 3"; - } - enum flash-override { - value 4; - description "Applicable to precedence: value 4"; - } - enum critical { - value 5; - description "Applicable to precedence: value 5"; - } - enum internet { - value 6; - description "Applicable to precedence: value 6"; - } - enum network { - value 7; - description "Applicable to precedence: value 7"; - } - } - type uint32 { - range "0..7"; - } - } - description "Logging precedence value"; - } - typedef Facility { - type enumeration { - enum kern { - value 0; - description "Kernel Facility"; - } - enum user { - value 8; - description "User Facility"; - } - enum mail { - value 16; - description "Mail Facility"; - } - enum daemon { - value 24; - description "Daemon Facility"; - } - enum auth { - value 32; - description "Auth Facility"; - } - enum syslog { - value 40; - description "Syslog Facility"; - } - enum lpr { - value 48; - description "Lpr Facility"; - } - enum news { - value 56; - description "News Facility"; - } - enum uucp { - value 64; - description "Uucp Facility"; - } - enum cron { - value 72; - description "Cron Facility"; - } - enum authpriv { - value 80; - description "Authpriv Facility"; - } - enum ftp { - value 88; - description "Ftp Facility"; - } - enum local0 { - value 128; - description "Local0 Facility"; - } - enum local1 { - value 136; - description "Local1 Facility"; - } - enum local2 { - value 144; - description "Local2 Facility"; - } - enum local3 { - value 152; - description "Local3 Facility"; - } - enum local4 { - value 160; - description "Local4 Facility"; - } - enum local5 { - value 168; - description "Local5 Facility"; - } - enum local6 { - value 176; - description "Local6 Facility"; - } - enum local7 { - value 184; - description "Local7 Facility"; - } - enum sys9 { - value 192; - description "System9 Facility"; - } - enum sys10 { - value 200; - description "System10 Facility"; - } - enum sys11 { - value 208; - description "System11 Facility"; - } - enum sys12 { - value 216; - description "System12 Facility"; - } - enum sys13 { - value 224; - description "System13 Facility"; - } - enum sys14 { - value 232; - description "System14 Facility"; - } - } - description "Facility"; - } - typedef Logging-dscp { - type enumeration { - enum dscp { - value 1; - description "Logging TOS type DSCP"; - } - } - description "Logging dscp"; - } - typedef Logging-levels { - type enumeration { - enum emergency { - value 0; - description "Emergency Level Msg"; - } - enum alert { - value 1; - description "Alert Level Msg"; - } - enum critical { - value 2; - description "Critical Level Msg"; - } - enum error { - value 3; - description "Error Level Msg"; - } - enum warning { - value 4; - description "Warning Level Msg"; - } - enum notice { - value 5; - description "Notification Level Msg"; - } - enum info { - value 6; - description "Informational Level Msg"; - } - enum debug { - value 7; - description "Debugging Level Msg"; - } - enum disable { - value 15; - description "Disable logging"; - } - } - description "Logging levels"; - } - typedef Logging-precedence { - type enumeration { - enum precedence { - value 0; - description "Logging TOS type precedence"; - } - } - description "Logging precedence"; - } - typedef Time-info { - type enumeration { - enum disable { - value 0; - description "Exclude"; - } - enum enable { - value 1; - description "Include"; - } - } - description "Time info"; - } - typedef Log-message-severity { - type enumeration { - enum emergency { - value 0; - description - "System is unusable (severity=0)"; - } - enum alert { - value 1; - description - "Immediate action needed (severity=1)"; - } - enum critical { - value 2; - description - "Critical conditions (severity=2)"; - } - enum error { - value 3; - description - "Error conditions (severity=3)"; - } - enum warning { - value 4; - description - "Warning conditions (severity=4)"; - } - enum notice { - value 5; - description - "Normal but significant conditions (severity=5)"; - } - enum informational { - value 6; - description - "Informational messages (severity=6)"; - } - enum debug { - value 7; - description - "Debugging messages (severity=7)"; - } - } - description "Log message severity"; - } - typedef Log-collect-frequency { - type enumeration { - enum weekly { - value 1; - description "Collect log in files on a weekly basis"; - } - enum daily { - value 2; - description "Collect log in files on a daily basis"; - } - } - description "Log collect frequency"; - } - typedef Log-severity { - type enumeration { - enum emergency { - value 0; - description - "System is unusable (severity=0)"; - } - enum alert { - value 1; - description - "Immediate action needed (severity=1)"; - } - enum critical { - value 2; - description - "Critical conditions (severity=2)"; - } - enum error { - value 3; - description - "Error conditions (severity=3)"; - } - enum warning { - value 4; - description - "Warning conditions (severity=4)"; - } - enum notice { - value 5; - description - "Normal but significant conditions (severity=5)"; - } - enum informational { - value 6; - description - "Informational messages (severity=6)"; - } - enum debug { - value 7; - description - "Debugging messages (severity=7)"; - } - } - description "Log severity"; - } - - container syslog-service { - description "Syslog Timestamp Services"; - - container timestamps { - description "Timestamp debug/log messages configuration"; - - container log { - description "Timestamp log messages"; - - container log-datetime { - description "Timestamp with date and time"; - - container log-datetime-value { - description "Set timestamp for log message"; - leaf time-stamp-value { - type Time-info; - default "enable"; - description "Time"; - } - leaf msec { - type Time-info; - units "second"; - default "enable"; - description "Seconds"; - } - leaf time-zone { - type Time-info; - default "disable"; - description "Timezone"; - } - leaf year { - type Time-info; - default "disable"; - description "Year"; - } - } - } - leaf log-uptime { - type empty; - description "Timestamp with systime uptime"; - } - leaf log-timestamp-disable { - type empty; - description "Disable timestamp log messages"; - } - } - - container debug { - description "Timestamp debug messages"; - - container debug-datetime { - description "Timestamp with date and time"; - - container datetime-value { - description "Set time format for debug msg"; - leaf time-stamp-value { - type Time-info; - default "enable"; - description "Time"; - } - leaf msec { - type Time-info; - units "second"; - default "enable"; - description "Seconds"; - } - leaf time-zone { - type Time-info; - default "disable"; - description "Timezone"; - } - leaf year { - type Time-info; - default "disable"; - description "Year"; - } - } - } - leaf debug-timestamp-disable { - type empty; - description "Disable timestamp debug messages"; - } - leaf debug-uptime { - type empty; - description "Timestamp with systime uptime"; - } - } - leaf enable { - type empty; - description "Enable timestamp debug/log messages"; - } - } - } - - container syslog { - description "syslog"; - - container monitor-logging { - description "Set monitor logging"; - - container monitor-discriminator { - description "Set monitor logging discriminators"; - leaf match2 { - type string; - description "Set monitor logging match2 discriminator"; - } - leaf nomatch1 { - type string; - description "Set monitor logging no-match1 discriminator"; - } - leaf match1 { - type string; - description "Set monitor logging match1 discriminator"; - } - leaf nomatch3 { - type string; - description "Set monitor logging no-match3 discriminator"; - } - leaf match3 { - type string; - description "Set monitor logging match3 discriminator"; - } - leaf nomatch2 { - type string; - description "Set monitor logging no-match2 discriminator"; - } - } - leaf logging-level { - type Logging-levels; - default "debug"; - description "Monitor Logging Level"; - } - } - - container history-logging { - description "Set history logging"; - leaf history-size { - type uint32 { - range "1..500"; - } - default "1"; - description "Logging history size"; - } - leaf logging-level { - type Logging-levels; - default "warning"; - description "History logging level"; - } - } - - container logging-facilities { - description "Modify message logging facilities"; - leaf facility-level { - type Facility; - default "local7"; - description "Facility from which logging is done"; - } - } - - container trap-logging { - description "Set trap logging"; - leaf logging-level { - type Logging-levels; - default "info"; - description "Trap logging level"; - } - } - - container buffered-logging { - description "Set buffered logging parameters"; - - container buffered-discriminator { - description "Set buffered logging discriminators"; - leaf match2 { - type string; - description "Set buffered logging match2 discriminator"; - } - leaf nomatch1 { - type string; - description - "Set buffered logging no-match1 discriminator"; - } - leaf match1 { - type string; - description "Set buffered logging match1 discriminator"; - } - leaf nomatch3 { - type string; - description - "Set buffered logging no-match3 discriminator"; - } - leaf match3 { - type string; - description "Set buffered logging match3 discriminator"; - } - leaf nomatch2 { - type string; - description - "Set buffered logging no-match2 discriminator"; - } - } - leaf logging-level { - type Logging-levels; - default "debug"; - description "Logging level for Buffered logging"; - } - leaf buffer-size { - type uint32 { - range "4096..4294967295"; - } - default "2097152"; - description "Logging buffered size"; - } - } - - container host-server { - description "Configure logging host"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF specific data"; - - container ipv6s { - description "List of the IPv6 logging host"; - - list ipv6 { - must "ipv6-severity-port" { - description "ipv6-severity-port must be present."; - } - key "address"; - description "IPv6 address of the logging host"; - - container ipv6-severity-port { - presence "Indicates ipv6-severity-port container is configured."; - description "Severity/Port for the logging host"; - leaf severity { - type int32; - default "6"; - description "Severity for the logging host"; - } - leaf port { - type int32; - default "514"; - description "Port for the logging host"; - } - } - - container ipv6-discriminator { - description "Set IPv6 logging discriminators"; - leaf nomatch2 { - type string; - description - "Set IPv6 logging no-match2 discriminator"; - } - leaf match3 { - type string; - description - "Set IPv6 logging match3 discriminator"; - } - leaf nomatch3 { - type string; - description - "Set IPv6 logging no-match3 discriminator"; - } - leaf match1 { - type string; - description - "Set IPv6 logging match1 discriminator"; - } - leaf nomatch1 { - type string; - description - "Set IPv6 logging no-match1 discriminator"; - } - leaf match2 { - type string; - description - "Set IPv6 logging match2 discriminator"; - } - } - - container ipv6-severity-levels { - status "obsolete"; - description - "Severity container of the logging host"; - - list ipv6-severity-level { - status "obsolete"; - key "severity"; - description "Severity for the logging host"; - leaf severity { - type Log-severity; - description "Severity for the logging host"; - } - } - } - leaf address { - type inet:ipv6-address-no-zone; - description "IPv6 address of the logging host"; - } - } - } - - container hosts { - description "List of the logging host"; - - list host { - must "host-severity-port" { - description "host-severity-port must be present."; - } - key "host-name"; - description "Name of the logging host"; - - container host-name-severities { - status "obsolete"; - description - "Severity container of the logging host"; - - list host-name-severity { - status "obsolete"; - key "severity"; - description "Severity for the logging host"; - leaf severity { - type Log-severity; - description "Severity for the logging host"; - } - } - } - - container host-name-discriminator { - description "Set Hostname logging discriminators"; - leaf nomatch2 { - type string; - description - "Set hostname logging no-match2 - discriminator"; - } - leaf match3 { - type string; - description - "Set hostname logging match3 discriminator"; - } - leaf nomatch3 { - type string; - description - "Set hostname logging no-match3 - discriminator"; - } - leaf match1 { - type string; - description - "Set hostname logging match1 discriminator"; - } - leaf nomatch1 { - type string; - description - "Set hostname logging no-match1 - discriminator"; - } - leaf match2 { - type string; - description - "Set hostname logging match2 discriminator"; - } - } - - container host-severity-port { - presence "Indicates host-severity-port container is configured."; - description "Severity/Port for the logging host"; - leaf severity { - type int32; - default "6"; - description "Severity for the logging host"; - } - leaf port { - type int32; - default "514"; - description "Port for the logging host"; - } - } - leaf host-name { - type string; - description "Name of the logging host"; - } - } - } - - container ipv4s { - description "List of the IPv4 logging host"; - - list ipv4 { - must "ipv4-severity-port" { - description "ipv4-severity-port must be present."; - } - key "address"; - description "IPv4 address of the logging host"; - - container ipv4-severity-levels { - status "obsolete"; - description - "Severity container of the logging host"; - - list ipv4-severity-level { - status "obsolete"; - key "severity"; - description "Severity for the logging host"; - leaf severity { - type Log-severity; - description "Severity for the logging host"; - } - } - } - - container ipv4-severity-port { - presence "Indicates ipv4-severity-port container is configured."; - description "Severity/Port for the logging host"; - leaf severity { - type int32; - default "6"; - description "Severity for the logging host"; - } - leaf port { - type int32; - default "514"; - description "Port for the logging host"; - } - } - - container ipv4-discriminator { - description "Set IPv4 logging discriminators"; - leaf nomatch2 { - type string; - description - "Set IPv4 logging no-match2 discriminator"; - } - leaf match3 { - type string; - description - "Set IPv4 logging match3 discriminator"; - } - leaf nomatch3 { - type string; - description - "Set IPv4 logging no-match3 discriminator"; - } - leaf match1 { - type string; - description - "Set IPv4 logging match1 discriminator"; - } - leaf nomatch1 { - type string; - description - "Set IPv4 logging no-match1 discriminator"; - } - leaf match2 { - type string; - description - "Set IPv4 logging match2 discriminator"; - } - } - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address of the logging host"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF instance"; - } - } - } - } - - container console-logging { - description "Set console logging"; - - container console-discriminator { - description "Set console logging discriminators"; - leaf match2 { - type string; - description "Set console logging match2 discriminator"; - } - leaf nomatch1 { - type string; - description "Set console logging no-match1 discriminator"; - } - leaf match1 { - type string; - description "Set console logging match1 discriminator"; - } - leaf nomatch3 { - type string; - description "Set console logging no-match3 discriminator"; - } - leaf match3 { - type string; - description "Set console logging match3 discriminator"; - } - leaf nomatch2 { - type string; - description "Set console logging no-match2 discriminator"; - } - } - leaf logging-level { - type Logging-levels; - default "warning"; - description "Console logging level"; - } - } - - container files { - description "Configure logging file destination"; - - list file { - key "file-name"; - description "Specify File Name"; - - container file-specification { - status "obsolete"; - description - "Specifications of the logging file destination"; - leaf path { - type string; - description "File path"; - } - leaf max-file-size { - type int32; - default "1024"; - description "Maximum file size (in KB)"; - } - leaf severity { - type int32; - default "6"; - description "Severity of messages"; - } - } - - container file-log-attributes { - description "Attributes of the logging file destination"; - leaf max-file-size { - type int32; - default "1024"; - description "Maximum file size (in KB)"; - } - leaf severity { - type int32; - default "6"; - description "Severity of messages"; - } - } - - container file-log-discriminator { - description "Set File logging discriminators"; - leaf nomatch2 { - type string; - description "Set file logging no match discriminator 2"; - } - leaf match3 { - type string; - description "Set file logging match discriminator 3"; - } - leaf nomatch3 { - type string; - description "Set file logging no match discriminator 3"; - } - leaf match1 { - type string; - description "Set file logging match discriminator 1"; - } - leaf nomatch1 { - type string; - description "Set file logging no match discriminator 1"; - } - leaf match2 { - type string; - description "Set file logging match discriminator 2"; - } - } - leaf file-name { - type xr:Cisco-ios-xr-string; - description "Name of the file"; - } - } - } - - container ipv4 { - description "Syslog TOS bit for outgoing messages"; - - container dscp { - status "obsolete"; - presence "Indicates a dscp node is configured."; - description "DSCP value"; - leaf type { - type Logging-dscp; - mandatory true; - description "Logging TOS type DSCP"; - } - leaf unused { - type Logging-precedence-value; - description "Unused"; - } - leaf value { - type Logging-dscp-value; - mandatory true; - description "Logging DSCP value"; - } - } - - container tos { - description "Type of service"; - leaf type { - type Logging-tos; - description "Logging TOS type DSCP or precedence"; - } - leaf precedence { - when "../type = 'precedence'" { - description "../Type = Precedence"; - } - type Logging-precedence-value; - description "Logging precedence value"; - } - leaf dscp { - when "../type = 'dscp'" { - description "../Type = DSCP"; - } - type Logging-dscp-value; - description "Logging DSCP value"; - } - } - - container precedence { - status "obsolete"; - presence "Indicates a precedence node is configured."; - description "Precedence value"; - leaf type { - type Logging-precedence; - mandatory true; - description "Logging TOS type precedence"; - } - leaf value { - type Logging-precedence-value; - mandatory true; - description "Logging precedence value"; - } - leaf unused { - type Logging-dscp-value; - description "Unused"; - } - } - } - - container archive { - description "Archive attributes configuration"; - leaf size { - type uint32 { - range "1..2047"; - } - description "The total size of the archive"; - } - leaf file-size { - type uint32 { - range "1..2047"; - } - description "The maximum file size for a single log file."; - } - leaf device { - type string; - description "'/disk0:' or '/disk1:' or '/harddisk:'"; - } - leaf threshold { - type uint32 { - range "1..99"; - } - units "percentage"; - description - "The size threshold at which a syslog is - generated"; - } - leaf frequency { - type Log-collect-frequency; - description "The collection interval for logs"; - } - leaf severity { - type Log-message-severity; - description - "The minimum severity of log messages to archive"; - } - leaf length { - type uint32 { - range "1..256"; - } - description - "The maximum number of weeks of log to maintain"; - } - } - - container ipv6 { - description "Syslog traffic class bit for outgoing messages"; - - container dscp { - status "obsolete"; - presence "Indicates a dscp node is configured."; - description "DSCP value"; - leaf type { - type Logging-dscp; - mandatory true; - description "Logging TOS type DSCP"; - } - leaf unused { - type Logging-precedence-value; - description "Unused"; - } - leaf value { - type Logging-dscp-value; - mandatory true; - description "Logging DSCP value"; - } - } - - container traffic-class { - description "Type of traffic class"; - leaf type { - type Logging-tos; - description "Logging TOS type DSCP or precedence"; - } - leaf precedence { - when "../type = 'precedence'" { - description "../Type = Precedence"; - } - type Logging-precedence-value; - description "Logging precedence value"; - } - leaf dscp { - when "../type = 'dscp'" { - description "../Type = DSCP"; - } - type Logging-dscp-value; - description "Logging DSCP value"; - } - } - - container precedence { - status "obsolete"; - presence "Indicates a precedence node is configured."; - description "Precedence value"; - leaf type { - type Logging-precedence; - mandatory true; - description "Logging TOS type precedence"; - } - leaf value { - type Logging-precedence-value; - mandatory true; - description "Logging precedence value"; - } - leaf unused { - type Logging-dscp-value; - description "Unused"; - } - } - } - - container source-interface-table { - description "Configure source interface"; - - container source-interface-values { - description - "Specify interface for source address in logging - transactions"; - - list source-interface-value { - key "src-interface-name-value"; - description "Source interface"; - - container source-interface-vrfs { - description "Configure source interface VRF"; - - list source-interface-vrf { - key "vrf-name"; - description "Specify VRF for source interface"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF instance"; - } - } - } - leaf src-interface-name-value { - type xr:Interface-name; - description "Which Interface"; - } - } - } - } - leaf host-name-prefix { - type string; - description "Hostname prefix to add on msgs to servers"; - } - leaf local-log-file-size { - type uint32 { - range "0..4294967295"; - } - default "32768"; - description "Set size of the local log file"; - } - leaf enable-console-logging { - type boolean; - description "Enabled or disabled"; - } - leaf suppress-duplicates { - type empty; - description "Suppress consecutive duplicate messages"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper-sub1.yang deleted file mode 100644 index 0d254f1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper-sub1.yang +++ /dev/null @@ -1,313 +0,0 @@ -submodule Cisco-IOS-XR-infra-syslog-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-syslog-oper { - prefix Cisco-IOS-XR-infra-syslog-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-syslog package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-24" { - description - "Schema added for Show logging files CLI"; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef System-message-severity { - type enumeration { - enum message-severity-unknown { - value -1; - description "Unknown"; - } - enum message-severity-emergency { - value 0; - description "Emergency"; - } - enum message-severity-alert { - value 1; - description "Alert"; - } - enum message-severity-critical { - value 2; - description "Critical"; - } - enum message-severity-error { - value 3; - description "Error"; - } - enum message-severity-warning { - value 4; - description "Warning"; - } - enum message-severity-notice { - value 5; - description "Notice"; - } - enum message-severity-informational { - value 6; - description "Informational"; - } - enum message-severity-debug { - value 7; - description "Debug"; - } - } - description "System message severity"; - } - - grouping FILE-LOG-STATS { - description "System log file destination statistics"; - leaf file-name { - type string; - description "File name for logging messages"; - } - leaf message-count { - type uint32; - description "Message count"; - } - } - - grouping TLS-REMOTE-LOG-STATS { - description "System log tls remote statistics"; - leaf remote-host-name { - type string; - description "TLS Remote hostname"; - } - leaf message-count { - type uint32; - description "Message count"; - } - } - - grouping REMOTE-LOG-STATS { - description "System log remote statistics"; - leaf remote-host-name { - type string; - description "Remote hostname"; - } - leaf message-count { - type uint32; - description "Message count"; - } - } - - grouping LOG-DEST-STATS { - description "System log statistics"; - leaf is-log-enabled { - type boolean; - description "Is log enabled"; - } - leaf severity { - type System-message-severity; - description "Configured severity"; - } - leaf message-count { - type uint32; - description "Message count"; - } - leaf buffer-size { - type uint32; - units "byte"; - description - "Buffer size in bytes if logging buffer isenabled"; - } - } - - grouping LOG-ENABLE-STATS { - description "System log discard statistics"; - leaf is-log-enabled { - type boolean; - description "Is log enabled"; - } - leaf drop-count { - type uint32; - description "Number of messages dropped"; - } - leaf flush-count { - type uint32; - description "Number of messages flushed"; - } - leaf overrun-count { - type uint32; - description "Number of messages overrun"; - } - } - - grouping SYSTEM-MESSAGE-STATISTICS { - description "System message statistics"; - - container logging-stats { - description "Logging statistics"; - uses LOG-ENABLE-STATS; - } - - container console-logging-stats { - description "Console logging statistics"; - uses LOG-DEST-STATS; - } - - container monitor-logging-stats { - description "Monitor loggingstatistics"; - uses LOG-DEST-STATS; - } - - container trap-logging-stats { - description "Trap logging statistics"; - uses LOG-DEST-STATS; - } - - container buffer-logging-stats { - description "Buffer logging statistics"; - uses LOG-DEST-STATS; - } - - list remote-logging-stat { - description "Remote logging statistics"; - uses REMOTE-LOG-STATS; - } - - list tls-remote-logging-stat { - description "TLS Remote logging statistics"; - uses TLS-REMOTE-LOG-STATS; - } - - list file-logging-stat { - description "File logging statistics"; - uses FILE-LOG-STATS; - } - } - - grouping SYSTEM-MESSAGE { - description "System message"; - leaf card-type { - type string; - description - "Message card location: 'RP', 'DRP', 'LC', 'SC', - 'SP' or 'UNK' "; - } - leaf node-name { - type xr:Node-id; - description "Message source location"; - } - leaf time-stamp { - type uint64; - units "millisecond"; - description - "Time in milliseconds since 00:00:00 UTC, January - 11970 of when message was generated"; - } - leaf time-of-day { - type string; - description - "Time of day of event in DDD MMM DD YYYY HH:MM - :SS format, e.g Wed Apr 01 2009 15:50:26"; - } - leaf time-zone { - type string; - description - "Time Zone in UTC+/-HH:MM format, e.g UTC+5:30, - UTC-6"; - } - leaf process-name { - type string; - description "Process name"; - } - leaf category { - type string; - description "Message category"; - } - leaf group { - type string; - description "Message group"; - } - leaf message-name { - type string; - description "Message name"; - } - leaf severity { - type System-message-severity; - description "Message severity"; - } - leaf text { - type string; - description "Additional message text"; - } - } - - grouping AN-REMOTE-LOG-SERVER { - description "A System log AN remote log server structure"; - leaf ip-address { - type string; - description "IP Address"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf vrf-severity { - type string; - description "VRF Severity"; - } - leaf rh-discriminator { - type string; - description "Remote-Host Discriminator"; - } - } - - grouping AN-REMOTE-LOG-SERVERS { - description "System log All AN remote servers"; - - list an-remote-log-server { - description "AN Remote Log Servers"; - uses AN-REMOTE-LOG-SERVER; - } - } - - grouping FILE-LOG-DETAILS { - description "System log file details"; - leaf file-path { - type string; - description "File path for logging messages"; - } - leaf file-name { - type string; - description "File name for logging messages"; - } - } - - grouping FILE-LOG-LIST-PATH { - description "System log files list and path"; - - list file-log-detail { - description "Logging Files"; - uses FILE-LOG-DETAILS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper.yang deleted file mode 100644 index 19d3d78..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-syslog-oper.yang +++ /dev/null @@ -1,105 +0,0 @@ -module Cisco-IOS-XR-infra-syslog-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-infra-syslog-oper"; - - - prefix "infra-syslog-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-infra-syslog-oper-sub1 { - revision-date 2016-06-24; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-syslog package operational data. - - This module contains definitions - for the following management objects: - logging: Logging History data - syslog: syslog - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-24" { - description - "Schema added for Show logging files CLI"; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container logging { - config false; - description "Logging History data"; - - container history { - description "Syslog Info "; - leaf properties { - type string; - description "Syslog Properties"; - } - leaf message { - type string; - description "Syslog Message"; - } - } - } - - container syslog { - config false; - description "syslog"; - - container logging-files { - description "Logging Files information"; - uses FILE-LOG-LIST-PATH; - } - - container an-remote-servers { - description "Logging AN remote servers information"; - uses AN-REMOTE-LOG-SERVERS; - } - - container messages { - description "Message table information"; - - list message { - key "message-id"; - description "A system message"; - leaf message-id { - type int32; - description "Message ID of the system message"; - } - uses SYSTEM-MESSAGE; - } - } - - container logging-statistics { - description "Logging statistics information"; - uses SYSTEM-MESSAGE-STATISTICS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-systemmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-systemmib-cfg.yang deleted file mode 100644 index 9254910..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-systemmib-cfg.yang +++ /dev/null @@ -1,60 +0,0 @@ -module Cisco-IOS-XR-infra-systemmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-infra-systemmib-cfg"; - - - prefix "infra-systemmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-systemmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container system { - description "CISCO-SYSTEM-MIB notification configuration"; - leaf enable { - type empty; - description "Enable ciscoSystemMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-cfg.yang deleted file mode 100644 index f8c1efd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-cfg.yang +++ /dev/null @@ -1,172 +0,0 @@ -module Cisco-IOS-XR-infra-tc-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg"; - - - prefix "infra-tc-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-tc package configuration. - - This module contains definitions - for the following management objects: - traffic-collector: Global Traffic Collector configuration - commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef History-size { - type union { - type enumeration { - enum max { - value 10; - description "Max history"; - } - } - type uint32 { - range "1..10"; - } - } - description "History size"; - } - typedef Collect-ion-interval { - type enumeration { - enum 1-minute { - value 1; - description "Interval1minute"; - } - enum 2-minutes { - value 2; - description "Interval2minutes"; - } - enum 3-minutes { - value 3; - description "Interval3minutes"; - } - enum 4-minutes { - value 4; - description "Interval4minutes"; - } - enum 5-minutes { - value 5; - description "Interval5minutes"; - } - enum 6-minutes { - value 6; - description "Interval6minutes"; - } - enum 10-minutes { - value 10; - description "Interval10minutes"; - } - enum 12-minutes { - value 12; - description "Interval12minutes"; - } - enum 15-minutes { - value 15; - description "Interval15inutes"; - } - enum 20-minutes { - value 20; - description "Interval20minutes"; - } - enum 30-minutes { - value 30; - description "Interval30minutes"; - } - enum 60-minutes { - value 60; - description "Interval60minutes"; - } - } - description "Collect ion interval"; - } - typedef History-timeout { - type union { - type enumeration { - enum max { - value 720; - description "Max timeout"; - } - } - type uint32 { - range "0..720"; - } - } - description "History timeout"; - } - - container traffic-collector { - description "Global Traffic Collector configuration commands"; - - container external-interfaces { - description "Configure external interfaces"; - - list external-interface { - key "interface-name"; - description "Configure an external internface"; - leaf enable { - type empty; - description "Enable traffic collector on this interface"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of interface"; - } - } - } - - container statistics { - description "Configure statistics related parameters"; - leaf history-size { - type History-size; - description "Configure statistics history size"; - } - leaf collection-interval { - type Collect-ion-interval; - description "Configure statistics collection interval"; - } - leaf enable-traffic-collector-statistics { - type empty; - description "Enable traffic collector statistics"; - } - leaf history-timeout { - type History-timeout; - description "Configure statistics history timeout interval"; - } - } - leaf enable-traffic-collector { - type empty; - description "Enable traffic collector"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper-sub1.yang deleted file mode 100644 index 4bdbd87..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper-sub1.yang +++ /dev/null @@ -1,267 +0,0 @@ -submodule Cisco-IOS-XR-infra-tc-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-tc-oper { - prefix Cisco-IOS-XR-infra-tc-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-tc package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping TC-MGMT-MSG-STAT { - description "TC Server Message Statistics"; - leaf packet-sent { - type uint64; - description "Number of packets sent"; - } - leaf byte-sent { - type uint64; - units "byte"; - description "Number of bytes sent"; - } - leaf packet-received { - type uint64; - description "Number of packets received"; - } - leaf byte-received { - type uint64; - units "byte"; - description "Number of bytes received"; - } - leaf maximum-roundtrip-latency { - type uint32; - description "Maximum roundtrip latency in msec"; - } - leaf maimum-latency-timestamp { - type uint64; - description "Timestamp of maximum latency"; - } - } - - grouping TC-MGMT-VRF-STAT { - description "Statistics on VRF Table and its sub-tables"; - - container database-statistics-ipv4 { - description "Database statistics for IPv4 table"; - uses TC-MGMT-DB-STAT; - } - - container database-statistics-tunnel { - description "Database statistics for Tunnel table"; - uses TC-MGMT-DB-STAT; - } - leaf vrf-name { - type string; - description "VRF name"; - } - } - - grouping TC-MGMT-DB-STAT { - description "Database statistics"; - leaf number-of-entries { - type uint32; - description "Number of DB entries"; - } - leaf number-of-stale-entries { - type uint32; - description "Number of stale entries"; - } - leaf number-of-add-o-perations { - type uint64; - description "Number of add operations"; - } - leaf number-of-delete-o-perations { - type uint64; - description "Number of delete operations"; - } - } - - grouping TC-MGMT-SUMMARY { - description "TC Server Summary"; - - container database-statistics-external-interface { - description "Database statistics for External Interface"; - uses TC-MGMT-DB-STAT; - } - leaf collection-interval { - type uint8; - units "minute"; - description "Statistic collection interval in minutes"; - } - leaf collection-timer-is-running { - type boolean; - description "TRUE if collection timer is running"; - } - leaf timeout-interval { - type uint16; - units "hour"; - description "Statistic history timeout interval in hours"; - } - leaf timeout-timer-is-running { - type boolean; - description "TRUE if history timeout timer is running"; - } - leaf history-size { - type uint8; - description "Statistics history size"; - } - - list vrf-statistic { - description "VRF table statistics"; - uses TC-MGMT-VRF-STAT; - } - - list collection-message-statistic { - description "Statistics per message type for STAT collector"; - uses TC-MGMT-MSG-STAT; - } - - list checkpoint-message-statistic { - description "Statistics per message type for Chkpt"; - uses TC-MGMT-MSG-STAT; - } - } - - grouping TC-MGMT-EXT-IF-DATA { - description "TC Server external interface data"; - leaf interface-name-xr { - type string; - description "Interface name in Display format"; - } - leaf interface-handle { - type uint32; - description "Interface handle"; - } - leaf vrfid { - type uint32; - description "Interface VRF ID"; - } - leaf is-interface-enabled { - type boolean; - description "Flag to indicate interface enabled or not"; - } - } - - grouping TC-MGMT-TUNNEL-DATA { - description "TC Server external interface data"; - - container base-counter-statistics { - description "Base counter statistics"; - uses TC-MGMT-COUNT-STATS; - } - leaf interface-name-xr { - type string; - description "Interface name in Display format"; - } - leaf interface-handle { - type uint32; - description "Interface handle"; - } - leaf vrfid { - type uint32; - description "Interface VRF ID"; - } - leaf is-active { - type boolean; - description - "Interface is Active and collecting new - Statistics"; - } - } - - grouping TC-MGMT-COUNT-HISTORY { - description "TC Server counter statistics"; - leaf event-start-timestamp { - type uint64; - description "Event Start timestamp"; - } - leaf event-end-timestamp { - type uint64; - description "Event End timestamp"; - } - leaf transmit-number-of-packets-switched { - type uint64; - description "Number of packets switched in this interval"; - } - leaf transmit-number-of-bytes-switched { - type uint64; - units "byte"; - description "Number of Bytes switched in this interval"; - } - leaf is-valid { - type boolean; - description "Flag to indicate if this history entry is valid"; - } - } - - grouping TC-MGMT-COUNT-STATS { - description "TC Server counter statistics"; - leaf transmit-packets-per-second-switched { - type uint64; - units "packet/s"; - description "Average Rate of Packets/second switched"; - } - leaf transmit-bytes-per-second-switched { - type uint64; - units "byte/s"; - description "Average Rate of Bytes/second switched"; - } - - list count-history { - description "Counter History"; - uses TC-MGMT-COUNT-HISTORY; - } - } - - grouping TC-MGMT-PREFIX-DATA { - description "TC Server Prefix data"; - - container base-counter-statistics { - description "Base counter statistics"; - uses TC-MGMT-COUNT-STATS; - } - - container traffic-matrix-counter-statistics { - description "Traffic Matrix (TM) counter statistics"; - uses TC-MGMT-COUNT-STATS; - } - leaf prefix { - type string; - description "Prefix Address (V4 or V6 Format)"; - } - leaf label-xr { - type uint32; - description "Label"; - } - leaf is-active { - type boolean; - description "Prefix is Active and collecting new Statistics"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper.yang deleted file mode 100644 index fd7b732..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-tc-oper.yang +++ /dev/null @@ -1,159 +0,0 @@ -module Cisco-IOS-XR-infra-tc-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper"; - - - prefix "infra-tc-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-tc-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-tc package operational data. - - This module contains definitions - for the following management objects: - traffic-collector: Global Traffic Collector configuration - commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tc-oper-af-name { - type enumeration { - enum ipv4 { - value 0; - description "IPv4"; - } - enum ipv6 { - value 1; - description "IPv6"; - } - } - description "Tc oper af name"; - } - typedef Tc-oper-local-label { - type uint32 { - range "16..1048575"; - } - description "Tc oper local label"; - } - - grouping AF-TABLE { - description "Common node of default-vrf, traffic-collector"; - - container afs { - description "Address Family specific operational data"; - - list af { - key "af-name"; - description "Operational data for given Address Family"; - - container counters { - description "Show Counters"; - - container prefixes { - description "Prefix Database"; - - list prefix { - description "Show Prefix Counter"; - leaf ipaddr { - type xr:Cisco-ios-xr-string; - description "IP Address"; - } - leaf mask { - type xr:Cisco-ios-xr-string; - description "Prefix Mask"; - } - leaf label { - type Tc-oper-local-label; - description "Local Label"; - } - uses TC-MGMT-PREFIX-DATA; - } - } - - container tunnels { - description "Tunnels"; - - list tunnel { - key "interface-name"; - description "Tunnel information"; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses TC-MGMT-TUNNEL-DATA; - } - } - } - leaf af-name { - type Tc-oper-af-name; - description "Address Family name"; - } - } - } - } - - container traffic-collector { - config false; - description "Global Traffic Collector configuration commands"; - - container external-interfaces { - description "External Interface"; - - list external-interface { - key "interface-name"; - description "External Interface "; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses TC-MGMT-EXT-IF-DATA; - } - } - - container summary { - description "Traffic Collector summary"; - uses TC-MGMT-SUMMARY; - } - - container vrf-table { - description "VRF specific operational data"; - - container default-vrf { - description "DefaultVRF specific operational data"; - uses AF-TABLE; - } - } - uses AF-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-cfg.yang deleted file mode 100644 index e14e3a8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-cfg.yang +++ /dev/null @@ -1,406 +0,0 @@ -module Cisco-IOS-XR-infra-xtc-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg"; - - - prefix "infra-xtc-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-xtc package configuration. - - This module contains definitions - for the following management objects: - pce: PCE configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-31" { - description - "Revision description string."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pce-disjoint-path { - type enumeration { - enum link { - value 1; - description "Link"; - } - enum node { - value 2; - description "Node"; - } - enum srlg { - value 3; - description "SRLG"; - } - } - description "Pce disjoint path"; - } - typedef Pce-explicit-path-hop { - type enumeration { - enum address { - value 1; - description "Address"; - } - enum sid-node { - value 2; - description "SID Node"; - } - enum sid-adjancency { - value 3; - description "SID Adjacency"; - } - enum binding-sid { - value 4; - description "Binding SID"; - } - } - description "Pce explicit path hop"; - } - - grouping ENABLE { - description - "Common node of pce, lsp-name, rsvp-te, - explicit-path, pcc-address"; - leaf enable { - type empty; - description "True only"; - } - } - - container pce { - description "PCE configuration data"; - - container pcc-addresses { - description "Path computation client configuration"; - - list pcc-address { - key "address"; - description "Path computation client address"; - - container lsp-names { - description "MPLS label switched path"; - - list lsp-name { - key "name"; - description "MPLS label switched path"; - - container rsvp-te { - description "RSVP-TE configuration"; - - container affinity { - description "LSP Affinity"; - leaf include-any { - type xr:Hex-integer; - description "Include-any affinity value"; - } - leaf include-all { - type xr:Hex-integer; - description "Include-all affinity value"; - } - leaf exclude-any { - type xr:Hex-integer; - description "Exclude-any affinity value"; - } - } - - container priority { - presence "Indicates a priority node is configured."; - description "Tunnel Setup and Hold Priorities"; - leaf setup-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Setup Priority"; - } - leaf hold-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Hold Priority"; - } - } - leaf fast-protect { - type empty; - description "Enable fast protection"; - } - leaf bandwidth { - type int32; - units "kbit/s"; - description "Bandwidth configuration"; - } - uses ENABLE; - } - leaf undelegate { - type empty; - description "Undelegate LSP"; - } - leaf explicit-path-name { - type string; - description "Explicit-path name"; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "LSP name"; - } - uses ENABLE; - } - } - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - uses ENABLE; - } - } - - container logging { - description "PCE logging configuration"; - leaf no-path { - type empty; - description "Logging NO-PATH configuration"; - } - leaf fallback { - type empty; - description "Logging fallback configuration"; - } - } - - container backoff { - description "PCE backoff configuration"; - leaf ratio { - type uint32 { - range "0..255"; - } - default "2"; - description "Backoff common ratio configuration"; - } - leaf threshold { - type uint32 { - range "0..3600"; - } - default "0"; - description "Backoff threshold configuration"; - } - leaf difference { - type uint32 { - range "0..255"; - } - default "2"; - description "Backoff common difference configuration"; - } - } - - container state-syncs { - description "Standby PCE configuration"; - - list state-sync { - key "address"; - description "Standby PCE ipv4 address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - } - } - - container segment-routing { - description "PCE segment-routing configuration"; - leaf te-latency { - type empty; - description "Use te-latency algorithm configuration"; - } - leaf strict-sid-only { - type empty; - description "Use strict-sid-only configuration"; - } - } - - container timers { - description "PCE Timers configuration"; - leaf reoptimization-timer { - type uint32 { - range "10..3600"; - } - units "second"; - default "60"; - description "Topology reoptimization timer configuration"; - } - leaf keepalive { - type uint32 { - range "0..255"; - } - units "second"; - default "30"; - description - "Keepalive interval in seconds, zero to disable"; - } - leaf minimum-peer-keepalive { - type uint32 { - range "0..255"; - } - units "second"; - default "20"; - description - "Minimum acceptable peer proposed keepalive - interval"; - } - } - - container netconf { - description "NETCONF configuration"; - - container netconf-ssh { - description "NETCONF SSH configuration"; - leaf netconf-ssh-password { - type xr:Proprietary-password; - description "Password to use for NETCONF SSH connections"; - } - leaf netconf-ssh-user { - type string; - description - "User name to use for NETCONF SSH connections"; - } - } - } - - container disjoint-path { - description "Disjoint path configuration"; - - container groups { - description "Association configuration"; - - list group { - key "group-id dp-type sub-id"; - description "Association Group Configuration"; - leaf strict { - type empty; - description "Disable Fallback"; - } - leaf group-id { - type uint32 { - range "1..65535"; - } - description "Group ID"; - } - leaf dp-type { - type Pce-disjoint-path; - description "Disjoiness type"; - } - leaf sub-id { - type uint32 { - range "0..65535"; - } - description "Sub group ID, 0 to unset"; - } - } - } - } - - container explicit-paths { - description "Explicit paths"; - - list explicit-path { - key "name"; - description "Explicit-path configuration"; - - container path-hops { - description "Path Hops"; - - list path-hop { - key "index"; - description "Explicit path hop configuration"; - leaf index { - type uint32 { - range "1..65535"; - } - description "Hop Index"; - } - leaf hop-type { - type Pce-explicit-path-hop; - description "Path hop type"; - } - leaf address { - when "../hop-type = 'address' or ../hop-type ="+ - " 'sid-node' or ../hop-type = 'sid-adjancency'" { - description - "../HopType = Address or ../HopType = - SIDNode or ../HopType = SIDAdjancency"; - } - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "IPv4 Address"; - } - leaf remote-address { - when "../hop-type = 'sid-adjancency'" { - description "../HopType = SIDAdjancency"; - } - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "Remote IPv4 address"; - } - leaf mpls-label { - when "../hop-type = 'sid-node' or ../hop-type ="+ - " 'sid-adjancency' or ../hop-type = 'binding-sid'" { - description - "../HopType = SIDNode or ../HopType = - SIDAdjancency or ../HopType = BindingSID"; - } - type uint32 { - range "0..1048575"; - } - default "0"; - description "MPLS Label"; - } - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Explicit-path name"; - } - uses ENABLE; - } - } - leaf server-address { - type inet:ipv4-address-no-zone; - description "IPv4 address of PCE server"; - } - leaf password { - type xr:Proprietary-password; - description "MD5 password"; - } - uses ENABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper-sub1.yang deleted file mode 100644 index 0c04845..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper-sub1.yang +++ /dev/null @@ -1,1490 +0,0 @@ -submodule Cisco-IOS-XR-infra-xtc-oper-sub1 { - - belongs-to Cisco-IOS-XR-infra-xtc-oper { - prefix Cisco-IOS-XR-infra-xtc-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR infra-xtc package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-05-31" { - description - "Revision description string."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pce-cspf-rc { - type enumeration { - enum pce-cspf-not-set { - description "Not set"; - } - enum pce-cspf-src-not-found { - description "Source not found"; - } - enum pce-cspf-dst-not-found { - description "Destination not found"; - } - enum pce-cspf-second-src-not-found { - description "Second source not found"; - } - enum pce-cspf-second-dst-not-found { - description "Second destination not found"; - } - enum pce-cspf-no-mem { - description "No memory"; - } - enum pce-cspf-ex-path-not-resolved { - description "Second path not resolved"; - } - enum pce-cspf-no-path { - description "No path"; - } - enum pce-cspf-sp-success { - description "Shortest path success"; - } - enum pce-cspf-error { - description "Error"; - } - enum pce-cspf-fallback-srlg-node-node { - description "Fallback from SRLG-NODE to NODE"; - } - enum pce-cspf-fallback-srlg-node-link { - description "Fallback from SRLG-NODE to LINK"; - } - enum pce-cspf-fallback-srlg-node-sp { - description "Fallback from SRLG-NODE to SP"; - } - enum pce-cspf-fallback-node-link { - description "Fallback from NODE to LINK"; - } - enum pce-cspf-fallback-link-sp { - description "Fallback from LINK to SP"; - } - enum pce-cspf-fallback-node-sp { - description "Fallback from NODE to SP"; - } - enum pce-cspf-fallback-srlg-link { - description "Fallback from SRLG to LINK"; - } - enum pce-cspf-fallback-srlg-sp { - description "Fallback from SRLG to SP"; - } - enum pce-cspf-dp-success { - description "Disjoint path success"; - } - } - description "PCE CSPF Result Code"; - } - typedef Pce-headend-swap { - type enumeration { - enum pcehs-none { - description "Headends not swapped"; - } - enum pcehs-plain { - description "Headends swapped"; - } - enum pcehs-rwi { - description "Headends swapped with increment"; - } - } - description "PCE Headends Swap Code"; - } - typedef Pce-ipv6-address { - type inet:ipv6-address; - description "Pce ipv6 address"; - } - typedef Pce-af-id { - type enumeration { - enum none { - value 0; - description "None"; - } - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Pce af id"; - } - typedef Sid { - type enumeration { - enum sr-protected-adj-sid { - value 1; - description "Protected Adjacency SID"; - } - enum sr-unprotected-adj-sid { - value 2; - description "Unprotected Adjacency SID"; - } - enum sr-bgp-egress-peer-engineering-sid { - value 3; - description "BGP egress peer engineering SID"; - } - enum sr-reqular-prefix-sid { - value 4; - description "Regular prefix SID"; - } - enum sr-strict-prefix-sid { - value 5; - description "Strict prefix SID"; - } - } - description "SID Types"; - } - typedef Pce-ipv4-address { - type inet:ipv4-address; - description "Pce ipv4 address"; - } - typedef Pce-igp-info-id { - type enumeration { - enum isis { - value 1; - description "ISIS"; - } - enum ospf { - value 2; - description "OSPF"; - } - enum bgp { - value 3; - description "BGP"; - } - } - description "IGP IDs"; - } - typedef Pcep-state { - type enumeration { - enum tcp-close { - description "TCP close"; - } - enum tcp-listen { - description "TCP listen"; - } - enum tcp-connect { - description "TCP connect"; - } - enum pcep-closed { - description "PCEP closed"; - } - enum pcep-opening { - description "PCEP opening"; - } - enum pcep-open { - description "PCEP open"; - } - } - description "PCEP State"; - } - typedef Pce-proto { - type enumeration { - enum pcep { - description "PCE protocol"; - } - enum netconf { - description "Netconf protocol"; - } - } - description "PCE peer protocol"; - } - typedef Pce-rro { - type enumeration { - enum rro-type-ipv4-address { - description "IPv4 Address"; - } - enum rro-type-mpls-label { - description "MPLS Label"; - } - enum rro-type-sripv4-node-sid { - description "Segment Routing IPv4 Node SID"; - } - enum rro-type-sripv4-adjacency-sid { - description "Segment Routing IPv4 Adjacency SID"; - } - enum rro-type-sr-nai-null { - description "Segment Routing with NAI null"; - } - } - description "PCE RRO type"; - } - typedef Pce-sr-sid { - type enumeration { - enum ipv4-node-sid { - description "IPv4 Node SID"; - } - enum ipv4-adjacency-sid { - description "IPv4 Adjacency SID"; - } - enum unknown-sid { - description "Unknown SID"; - } - } - description "PCE SR SID type"; - } - typedef Lsp-state { - type enumeration { - enum lsp-down { - description "LSP is down"; - } - enum lsp-up { - description "LSP is up"; - } - } - description "LSP setup type"; - } - typedef Pcep-lsp-state { - type enumeration { - enum lsp-down { - description "LSP is down"; - } - enum lsp-up { - description "LSP is up"; - } - enum lsp-active { - description "LSP is active (carrying traffic)"; - } - enum lsp-going-down { - description "LSP is going down"; - } - enum lsp-being-signaled { - description "LSP is being signaled"; - } - } - description "PCEP operation protocol"; - } - typedef Lsp-setup { - type enumeration { - enum setup-rsvp { - description "LSP is established using RSVP-TE"; - } - enum setup-sr { - description "LSP is established using SR-TE"; - } - enum setup-unknown { - description "Unknown LSP establishment method"; - } - } - description "LSP setup type"; - } - - grouping PCE-ADDR-BAG { - description "PCE Address Information"; - leaf address-family { - type uint8; - description "Address Family"; - } - leaf ipv4-prefix { - type inet:ipv4-address; - description "IPv4 prefix"; - } - leaf ipv6-prefix { - type inet:ipv6-address; - description "IPv6 prefix"; - } - } - - grouping PCE-PATH-BAG { - description "PCE path information"; - - container source { - description "Source of path"; - uses PCE-IP-ADDR-TYPE; - } - - container destination { - description "Destination of path"; - uses PCE-IP-ADDR-TYPE; - } - leaf cost { - type uint64; - description "Cost"; - } - - list hops { - description "Hop addresses"; - uses PCE-ADDR-BAG; - } - } - - grouping PCE-PATH-LIST-BAG { - description "PCE path list"; - leaf headends-swapped { - type Pce-headend-swap; - description "Headends swapped"; - } - leaf cspf-result { - type Pce-cspf-rc; - description "CSPF Result"; - } - - list output-path { - description "Output PCE paths"; - uses PCE-PATH-BAG; - } - } - - grouping PCE-ASSO-LSP-INFO { - description "Association LSP common information"; - leaf pcc-address { - type inet:ipv4-address; - description "PCC address"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - leaf lspid { - type uint32; - description "LSP ID"; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf pce-based { - type boolean; - description "PCE Based"; - } - leaf plsp-id { - type uint32; - description "PLSP ID"; - } - } - - grouping PCE-ASSO-BAG { - description "PCE Association information"; - leaf association-type { - type uint32; - description "Association Type"; - } - leaf association-id { - type uint32; - description "Association ID"; - } - leaf association-source { - type inet:ipv4-address; - description "Association Source"; - } - leaf strict { - type boolean; - description "Association Strict Mode"; - } - leaf status { - type uint32; - description "Association Status"; - } - leaf headends-swapped { - type uint32; - description "Headends Swapped"; - } - - list association-lsp { - description "Association LSP Info"; - uses PCE-ASSO-LSP-INFO; - } - } - - grouping PCE-PFX-BAG { - description "PCE Prefix Information"; - - container node-protocol-identifier { - description "Node protocol identifier"; - uses PCE-NODE-PID-BAG; - } - leaf node-identifier-xr { - type uint32; - description "Node identifier"; - } - - list address { - description "Prefix address"; - uses PCE-IP-ADDR-TYPE; - } - } - - grouping PCE-IPV6-LINK-BAG { - description "PCE IPv6 Link Information"; - - container local-igp-information { - description "Local node IGP information"; - uses PCE-IGP-INFO-BAG; - } - - container remote-node-protocol-identifier { - description "Remote node protocol identifier"; - uses PCE-NODE-PID-BAG; - } - leaf local-ipv6-address { - type inet:ipv6-address; - description "Local IPv6 address"; - } - leaf remote-ipv6-address { - type inet:ipv6-address; - description "Remote IPv6 address"; - } - leaf igp-metric { - type uint32; - description "IGP Metric"; - } - leaf te-metric { - type uint32; - description "TE Metric"; - } - leaf maximum-link-bandwidth { - type uint64; - description "Max link bandwidth"; - } - leaf max-reservable-bandwidth { - type uint64; - description "Max Reservable bandwidth"; - } - - list adjacency-sid { - description "Adjacency SIDs"; - uses PCE-SID-BAG; - } - } - - grouping PCE-IPV4-LINK-BAG { - description "PCE IPv4 Link Information"; - - container local-igp-information { - description "Local node IGP information"; - uses PCE-IGP-INFO-BAG; - } - - container remote-node-protocol-identifier { - description "Remote node protocol identifier"; - uses PCE-NODE-PID-BAG; - } - leaf local-ipv4-address { - type inet:ipv4-address; - description "Local IPv4 address"; - } - leaf remote-ipv4-address { - type inet:ipv4-address; - description "Remote IPv4 address"; - } - leaf igp-metric { - type uint32; - description "IGP Metric"; - } - leaf te-metric { - type uint32; - description "TE Metric"; - } - leaf maximum-link-bandwidth { - type uint64; - description "Max link bandwidth"; - } - leaf max-reservable-bandwidth { - type uint64; - description "Max Reservable bandwidth"; - } - leaf-list srlgs { - type uint32; - description "SRLG Values"; - } - - list adjacency-sid { - description "Adjacency SIDs"; - uses PCE-SID-BAG; - } - } - - grouping PCE-IP-ADDR-TYPE { - description "PCE IP ADDR TYPE"; - leaf af-name { - type Pce-af-id; - description "AFName"; - } - leaf ipv4 { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type Pce-ipv4-address; - description "IPv4 address type"; - } - leaf ipv6 { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Pce-ipv6-address; - description "IPv6 address type"; - } - } - - grouping PCE-SID-BAG { - description "PCE SID bags"; - - container sid-prefix { - description "Prefix"; - uses PCE-IP-ADDR-TYPE; - } - leaf sid-type { - type Sid; - description "SID Type"; - } - leaf mpls-label { - type uint32; - description "MPLS Label"; - } - leaf domain-identifier { - type uint64; - description "Domain identifier"; - } - leaf rflag { - type boolean; - description "R Flag"; - } - leaf nflag { - type boolean; - description "N Flag"; - } - leaf pflag { - type boolean; - description "P Flag"; - } - leaf eflag { - type boolean; - description "E Flag"; - } - leaf vflag { - type boolean; - description "V Flag"; - } - leaf lflag { - type boolean; - description "L Flag"; - } - } - - grouping PCE-SRGB-INFO-BAG { - description "PCE SRGB information bag"; - - container igp-srgb { - description "IGP-specific information"; - uses PCE-IGP-INFO-TYPE; - } - leaf start { - type uint32; - description "SRGB start"; - } - leaf size { - type uint32; - description "SRGB size"; - } - } - - grouping PCE-IGP-INFO-BGP { - description "PCE BGP Information"; - leaf router-id { - type Pce-ipv4-address; - description "BGP router ID"; - } - leaf confed-asn { - type uint32; - description "Confederation ASN"; - } - } - - grouping PCE-IGP-INFO-OSPF { - description "PCE OSPF Information"; - leaf router-id { - type Pce-ipv4-address; - description "OSPF router ID"; - } - leaf area { - type uint32; - description "OSPF area"; - } - } - - grouping PCE-IGP-INFO-ISIS { - description "PCE ISIS Information"; - leaf system-id { - type string; - description "ISIS system ID"; - } - leaf level { - type uint32; - description "ISIS level"; - } - } - - grouping PCE-IGP-INFO-TYPE { - description "PCE IGP INFO TYPE"; - - container isis { - when "../igp-id = 'isis'" { - description "../IGP_ID = 'ISIS'"; - } - description "ISIS information"; - uses PCE-IGP-INFO-ISIS; - } - - container ospf { - when "../igp-id = 'ospf'" { - description "../IGP_ID = 'OSPF'"; - } - description "OSPF information"; - uses PCE-IGP-INFO-OSPF; - } - - container bgp { - when "../igp-id = 'bgp'" { - description "../IGP_ID = 'BGP'"; - } - description "BGP information"; - uses PCE-IGP-INFO-BGP; - } - leaf igp-id { - type Pce-igp-info-id; - description "IGP ID"; - } - } - - grouping PCE-IGP-INFO-BAG { - description "PCE IGP information bag"; - - container igp { - description "IGP-specific information"; - uses PCE-IGP-INFO-TYPE; - } - leaf domain-identifier { - type uint64; - description "Domain identifier"; - } - leaf autonomous-system-number { - type uint32; - description "Autonomous System Number"; - } - } - - grouping PCE-NODE-PID-BAG { - description "PCE Node Protocol Identifier Information"; - leaf node-name { - type string; - description "Node Name"; - } - leaf ipv4-bgp-router-id-set { - type boolean; - description "True if IPv4 BGP router ID is set"; - } - leaf ipv4-bgp-router-id { - type inet:ipv4-address; - description "IPv4 TE router ID"; - } - leaf ipv4te-router-id-set { - type boolean; - description "True if IPv4 TE router ID is set"; - } - leaf ipv4te-router-id { - type inet:ipv4-address; - description "IPv4 BGP router ID"; - } - - list igp-information { - description "IGP information"; - uses PCE-IGP-INFO-BAG; - } - - list srgb-information { - description "SRGB information"; - uses PCE-SRGB-INFO-BAG; - } - } - - grouping PCE-XTC-NODE-BAG { - description "PCE XTC Node Information"; - - container node-protocol-identifier { - description "Node protocol identifier"; - uses PCE-NODE-PID-BAG; - } - leaf node-identifier-xr { - type uint32; - description "Node identifier"; - } - leaf overload { - type boolean; - description "Node Overload Bit"; - } - - list prefix-sid { - description "Prefix SIDs"; - uses PCE-SID-BAG; - } - - list ipv4-link { - description "IPv4 Link information"; - uses PCE-IPV4-LINK-BAG; - } - - list ipv6-link { - description "IPv6 Link information"; - uses PCE-IPV6-LINK-BAG; - } - } - - grouping PCE-TOPO-STATS-BAG { - description "Statistics on topology update"; - leaf num-nodes-added { - type uint32; - description "Number of nodes added"; - } - leaf num-nodes-deleted { - type uint32; - description "Number of nodes deleted"; - } - leaf num-links-added { - type uint32; - description "Number of links added"; - } - leaf num-links-deleted { - type uint32; - description "Number of links deleted"; - } - leaf num-prefixes-added { - type uint32; - description "Number of prefixes added"; - } - leaf num-prefixes-deleted { - type uint32; - description "Number of prefixes deleted"; - } - } - - grouping PCE-NODE-SUMMARY-BAG { - description "PCE Node Summary Information"; - - container stats-topology-update { - description "Statistics on topology update"; - uses PCE-TOPO-STATS-BAG; - } - leaf nodes { - type uint32; - description "Number of PCE nodes"; - } - leaf lookup-nodes { - type uint32; - description "Number of lookup nodes"; - } - leaf prefixes { - type uint32; - description "Number of prefixes"; - } - leaf prefix-sids { - type uint32; - description "Number of total prefix SIDs"; - } - leaf regular-prefix-sids { - type uint32; - description "Number of reguar prefix SIDs"; - } - leaf strict-prefix-sids { - type uint32; - description "Number of strict prefix SIDs"; - } - leaf links { - type uint32; - description "Number of links"; - } - leaf epe-links { - type uint32; - description "Number of EPE links"; - } - leaf adjacency-sids { - type uint32; - description "Number of total adjacency SIDs"; - } - leaf epesids { - type uint32; - description "Number of total EPE SIDs"; - } - leaf protected-adjacency-sids { - type uint32; - description "Number of protected adjacency SIDs"; - } - leaf un-protected-adjacency-sids { - type uint32; - description "Number of unprotected adjacency SIDs"; - } - leaf topology-consistent { - type boolean; - description "True if topology is consistent"; - } - } - - grouping PCE-PEER-BAG { - description "Peer information"; - - container brief-pcep-information { - description "PCE protocol information"; - uses PCE-PCEP-BAG; - } - leaf peer-address-xr { - type inet:ipv4-address; - description "Peer address"; - } - leaf peer-protocol { - type Pce-proto; - description "Protocol between PCE and peer"; - } - } - - grouping PCE-PCEP-ERROR-BAG { - description "PCEP Error information"; - leaf pc-error-type { - type uint8; - description "PCEP Error type"; - } - leaf pc-error-value { - type uint8; - description "PCEP Error Value"; - } - } - - grouping PCE-PCEP-BAG { - description "PCEP information"; - leaf pcep-state { - type Pcep-state; - description "PCEP State"; - } - leaf stateful { - type boolean; - description "Stateful"; - } - leaf capability-update { - type boolean; - description "Update capability"; - } - leaf capability-instantiate { - type boolean; - description "Instantiation capability"; - } - leaf capability-segment-routing { - type boolean; - description "Segment Routing capability"; - } - leaf capability-triggered-sync { - type boolean; - description "Triggered Synchronization capability"; - } - leaf capability-db-version { - type boolean; - description "DB version capability"; - } - leaf capability-delta-sync { - type boolean; - description "Delta Synchronization capability"; - } - } - - grouping PCE-PCEP-DETAIL-BAG { - description "Detailed PCE protocol information"; - - container brief-pcep-information { - description "Brief PCE protocol information"; - uses PCE-PCEP-BAG; - } - - container last-error-rx { - description "Last PCError received"; - uses PCE-PCEP-ERROR-BAG; - } - - container last-error-tx { - description "Last PCError sent"; - uses PCE-PCEP-ERROR-BAG; - } - leaf error { - type string; - description "Error (for display only)"; - } - leaf speaker-id { - type string; - description "Speaker Entity ID"; - } - leaf pcep-up-time { - type uint32; - description "PCEP Up Time"; - } - leaf keepalives { - type uint32; - description "Keepalive count"; - } - leaf md5-enabled { - type boolean; - description "MD5 Authentication Enabled"; - } - leaf keychain-enabled { - type boolean; - description "Keychain based Authentication Enabled"; - } - leaf negotiated-local-keepalive { - type uint32; - description "Negotiated KA"; - } - leaf negotiated-remote-keepalive { - type uint32; - description "Negotiated KA"; - } - leaf negotiated-dead-time { - type uint32; - description "Negotiated DT"; - } - leaf pce-request-rx { - type uint32; - description "PCEReq Rx"; - } - leaf pce-request-tx { - type uint32; - description "PCEReq Tx"; - } - leaf pce-reply-rx { - type uint32; - description "PCERep Rx"; - } - leaf pce-reply-tx { - type uint32; - description "PCERep Tx"; - } - leaf pce-error-rx { - type uint32; - description "PCEErr Rx"; - } - leaf pce-error-tx { - type uint32; - description "PCEErr Tx"; - } - leaf pce-open-tx { - type uint32; - description "PCEOpen Tx"; - } - leaf pce-open-rx { - type uint32; - description "PCEOpen Rx"; - } - leaf pce-report-rx { - type uint32; - description "PCERpt Rx"; - } - leaf pce-report-tx { - type uint32; - description "PCERpt Tx"; - } - leaf pce-update-rx { - type uint32; - description "PCEUpd Rx"; - } - leaf pce-update-tx { - type uint32; - description "PCEUpd Tx"; - } - leaf pce-initiate-rx { - type uint32; - description "PCEInit Rx"; - } - leaf pce-initiate-tx { - type uint32; - description "PCEInit Tx"; - } - leaf pce-keepalive-tx { - type uint64; - description "PCE Keepalive Tx"; - } - leaf pce-keepalive-rx { - type uint64; - description "PCE Keepalive Rx"; - } - leaf local-session-id { - type uint8; - description "Local PCEP session ID"; - } - leaf remote-session-id { - type uint8; - description "Remote PCEP session ID"; - } - leaf minimum-keepalive-interval { - type uint8; - description "Minimum keepalive interval for the peer"; - } - leaf maximum-dead-interval { - type uint8; - description "Maximum dead interval for the peer"; - } - } - - grouping PCE-PEER-DETAIL-BAG { - description "Detailed PCEP peer information"; - - container detail-pcep-information { - description "Detailed PCE protocol information"; - uses PCE-PCEP-DETAIL-BAG; - } - leaf peer-address-xr { - type inet:ipv4-address; - description "Peer address"; - } - leaf peer-protocol { - type Pce-proto; - description "Protocol between PCE and peer"; - } - } - - grouping PCE-EVENT-INFO { - description "PCE Event information"; - leaf event-message { - type string; - description "Event message"; - } - leaf time-stamp { - type uint32; - description "Event time, relative to Jan 1, 1970"; - } - } - - grouping PCE-EVENT-BAG { - description "Private LSP information"; - - list event-buffer { - description "LSP Event buffer"; - uses PCE-EVENT-INFO; - } - } - - grouping PCE-LSPA-INFO { - description "PCE LSP attribute information"; - leaf affinity-exclude-any { - type uint32; - description "Affinity exclude any"; - } - leaf affinity-include-any { - type uint32; - description "Affinity include any"; - } - leaf affinity-include-all { - type uint32; - description "Affinity include all"; - } - leaf setup-priority { - type uint8; - description "Setup Priority"; - } - leaf hold-priority { - type uint8; - description "Hold Priority"; - } - leaf local-protection { - type boolean; - description "True, if local protection is desired"; - } - } - - grouping PCE-ASSO-INFO { - description "PCE LSP association information"; - leaf association-type { - type uint32; - description "Association Type"; - } - leaf association-id { - type uint32; - description "Association ID"; - } - leaf association-source { - type inet:ipv4-address; - description "Association Source"; - } - } - - grouping PCE-LSP-RSVP-ERROR-BAG { - description "RSVP error information"; - leaf node-address { - type inet:ipv4-address; - description "RSVP error node address"; - } - leaf error-flags { - type uint8; - description "RSVP error flags"; - } - leaf error-code { - type uint8; - description "RSVP error code"; - } - leaf error-value { - type uint16; - description "RSVP error value"; - } - } - - grouping PCE-PCEP-INFO { - description "PCEP LSP information"; - - container rsvp-error { - description "RSVP error info"; - uses PCE-LSP-RSVP-ERROR-BAG; - } - leaf pcepid { - type uint32; - description "PCE protocol identifier"; - } - leaf pcep-flag-d { - type boolean; - description "PCEP LSP delegation flag"; - } - leaf pcep-flag-s { - type boolean; - description "PCEP LSP state-sync flag"; - } - leaf pcep-flag-r { - type boolean; - description "PCEP LSP remove flag"; - } - leaf pcep-flag-a { - type boolean; - description "PCEP LSP admin flag"; - } - leaf pcep-flag-o { - type uint8; - description "PCEP LSP operation flag"; - } - } - - grouping PCE-RRO-INFO { - description "RRO information"; - - container sr-rro { - description "Segment Routing RRO info"; - uses PCE-SR-HOP-TYPE; - } - leaf rro-type { - type Pce-rro; - description "RRO Type"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address of RRO"; - } - leaf mpls-label { - type uint32; - description "MPLS label of RRO"; - } - leaf flags { - type uint8; - description "RRO Flags"; - } - } - - grouping PCE-SR-HOP-TYPE { - description "SR hop type"; - leaf sid-type { - type Pce-sr-sid; - description "SID type"; - } - leaf mpls-label { - type uint32; - description "Label"; - } - leaf local-addr { - type inet:ipv4-address; - description "Local Address"; - } - leaf remote-addr { - type inet:ipv4-address; - description "Remote Address"; - } - } - - grouping PCE-RSVP-HOP-TYPE { - description "RSVP hop type"; - leaf hop-address { - type inet:ipv4-address; - description "RSVP hop address"; - } - } - - grouping PCE-ERO-INFO { - description "ERO information"; - leaf reported-metric-type { - type uint32; - description "Reported Metric Type"; - } - leaf reported-metric-value { - type uint32; - description "Reported Metric Value"; - } - leaf computed-metric-type { - type uint32; - description "Computed Metric Type"; - } - leaf computed-metric-value { - type uint32; - description "Computed Metric Value"; - } - leaf computed-hop-list-time { - type uint32; - description "Computed Hop List Time"; - } - - list reported-rsvp-path { - description "Reported RSVP path"; - uses PCE-RSVP-HOP-TYPE; - } - - list reported-sr-path { - description "Reported SR path"; - uses PCE-SR-HOP-TYPE; - } - - list computed-rsvp-path { - description "Computed RSVP path"; - uses PCE-RSVP-HOP-TYPE; - } - - list computed-sr-path { - description "Computed SR path"; - uses PCE-SR-HOP-TYPE; - } - } - - grouping PCE-LSP-DETAIL-INFO { - description "Detailed LSP information"; - - container brief-lsp-information { - description "Brief LSP information"; - uses PCE-LSP-INFO; - } - - container er-os { - description "Paths"; - uses PCE-ERO-INFO; - } - - container lsppcep-information { - description "PCEP related LSP information"; - uses PCE-PCEP-INFO; - } - - container lsp-association-info { - description "LSP association information"; - uses PCE-ASSO-INFO; - } - - container lsp-attributes { - description "LSP attributes"; - uses PCE-LSPA-INFO; - } - leaf signaled-bandwidth-specified { - type boolean; - description "True if router notifies signal bandwidth"; - } - leaf signaled-bandwidth { - type uint64; - description "Signaled Bandwidth"; - } - leaf actual-bandwidth-specified { - type boolean; - description "True if router notifies actual bandwidth"; - } - leaf actual-bandwidth { - type uint64; - description "Actual bandwidth utilized in the data-plane"; - } - leaf lsp-role { - type uint32; - description "LSP Role"; - } - leaf computing-pce { - type uint32; - description "Computing PCE"; - } - leaf sub-delegated-pce { - type inet:ipv4-address; - description "Sub delegated PCE"; - } - leaf state-sync-pce { - type inet:ipv4-address; - description "State-sync PCE"; - } - leaf reporting-pcc-address { - type inet:ipv4-address; - description "Reporting PCC address"; - } - leaf-list srlg-info { - type uint32; - description "List of SLRGs used by LSP"; - } - - list rro { - description "RRO"; - uses PCE-RRO-INFO; - } - } - - grouping PCE-TUN-DETAIL-BAG { - description "Tunnel detail information"; - - container private-lsp-information { - description "Private LSP information"; - uses PCE-EVENT-BAG; - } - leaf pcc-address { - type inet:ipv4-address; - description "PCC address"; - } - leaf tunnel-name-xr { - type string; - description "Tunnel Name"; - } - - list detail-lsp-information { - description "Detail LSP information"; - uses PCE-LSP-DETAIL-INFO; - } - } - - grouping PCE-LSP-COUNTS-BAG { - description "Number of LSPs"; - leaf all-ls-ps { - type uint32; - description "Number of all LSPs"; - } - leaf up-ls-ps { - type uint32; - description "Number of operational LSPs"; - } - leaf admin-up-ls-ps { - type uint32; - description "Number of administratively up LSPs"; - } - leaf sr-ls-ps { - type uint32; - description "Number of LSPs with Segment routing setup type"; - } - leaf rsvp-ls-ps { - type uint32; - description "Number of LSPs with RSVP setup type"; - } - } - - grouping PCE-LSP-PER-PEER-SUMMARY-BAG { - description "Number of LSPs for specific peer"; - - container lsp-summary { - description "Number of LSPs for specific peer"; - uses PCE-LSP-COUNTS-BAG; - } - leaf peer-address { - type inet:ipv4-address; - description "Peer IPv4 address"; - } - } - - grouping PCE-LSP-SUMMARY-BAG { - description "PCE LSP summary information"; - - container all-ls-ps { - description "Summary for all peers"; - uses PCE-LSP-COUNTS-BAG; - } - - list peer-ls-ps-info { - description "Number of LSPs for specific peer"; - uses PCE-LSP-PER-PEER-SUMMARY-BAG; - } - } - - grouping PCE-LSP-INFO { - description "LSP common information"; - leaf source-address { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - leaf lspid { - type uint32; - description "LSP ID"; - } - leaf binding-sid { - type uint32; - description "Binding SID"; - } - leaf lsp-setup-type { - type Lsp-setup; - description "LSP Setup Type"; - } - leaf operational-state { - type Pcep-lsp-state; - description "Operational state"; - } - leaf administrative-state { - type Lsp-state; - description "Admin state"; - } - } - - grouping PCE-TUN-BAG { - description "Tunnel information"; - leaf pcc-address { - type inet:ipv4-address; - description "PCC address"; - } - leaf tunnel-name-xr { - type string; - description "Tunnel Name"; - } - - list brief-lsp-information { - description "Brief LSP information"; - uses PCE-LSP-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper.yang deleted file mode 100644 index c24bfa0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-infra-xtc-oper.yang +++ /dev/null @@ -1,347 +0,0 @@ -module Cisco-IOS-XR-infra-xtc-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper"; - - - prefix "infra-xtc-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-infra-xtc-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR infra-xtc package operational data. - - This module contains definitions - for the following management objects: - pce-lsp-data: PCE LSP's data - pce-peer: pce peer - pce-topology: pce topology - pce: pce - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-05-31" { - description - "Revision description string."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pce-asso { - type enumeration { - enum unknown { - value 0; - description "Unknown type"; - } - enum link { - value 1; - description "LINK"; - } - enum node { - value 2; - description "NODE"; - } - enum srlg { - value 3; - description "SRLG"; - } - } - description "Pce asso"; - } - - grouping PEER-TABLE { - description "Common node of pce, pce-peer"; - - container peer-infos { - description "Peers database in XTC"; - - list peer-info { - key "peer-address"; - description "PCE peer information"; - leaf peer-address { - type inet:ip-address-no-zone; - description "Peer Address"; - } - uses PCE-PEER-BAG; - } - } - } - - grouping PEER-DETAIL-TABLE { - description "Common node of pce, pce-peer"; - - container peer-detail-infos { - description "Detailed peers database in XTC"; - - list peer-detail-info { - key "peer-address"; - description "Detailed PCE peer information"; - leaf peer-address { - type inet:ip-address-no-zone; - description "Peer Address"; - } - uses PCE-PEER-DETAIL-BAG; - } - } - } - - grouping PREFIX-TABLE { - description "Common node of pce, pce-topology"; - - container prefix-infos { - description "Prefixes database in XTC"; - - list prefix-info { - key "node-identifier"; - description "PCE prefix information"; - leaf node-identifier { - type int32; - description "Node ID"; - } - uses PCE-PFX-BAG; - } - } - } - - grouping TUNNEL-TABLE { - description "Common node of pce, pce-lsp-data"; - - container tunnel-infos { - description "Tunnel database in XTC"; - - list tunnel-info { - key "peer-address plsp-id tunnel-name"; - description "Tunnel information"; - leaf peer-address { - type inet:ip-address-no-zone; - description "Peer Address"; - } - leaf plsp-id { - type int32; - description "PCEP LSP ID"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel name"; - } - uses PCE-TUN-BAG; - } - } - } - - grouping TOPOLOGY-SUMMARY { - description "Common node of pce, pce-topology"; - - container topology-summary { - description "Node summary database in XTC"; - uses PCE-NODE-SUMMARY-BAG; - } - } - - grouping LSP-SUMMARY { - description "Common node of pce, pce-lsp-data"; - - container lsp-summary { - description "LSP summary database in XTC"; - uses PCE-LSP-SUMMARY-BAG; - } - } - - grouping TOPOLOGY-NODE-TABLE { - description "Common node of pce, pce-topology"; - - container topology-nodes { - description "Node database in XTC"; - - list topology-node { - key "node-identifier"; - description "Node information"; - leaf node-identifier { - type int32; - description "Node Identifier"; - } - uses PCE-XTC-NODE-BAG; - } - } - } - - grouping TUNNEL-DETAIL-TABLE { - description "Common node of pce, pce-lsp-data"; - - container tunnel-detail-infos { - description "Detailed tunnel database in XTC"; - - list tunnel-detail-info { - key "peer-address plsp-id tunnel-name"; - description "Detailed tunnel information"; - leaf peer-address { - type inet:ip-address-no-zone; - description "Peer Address"; - } - leaf plsp-id { - type int32; - description "PCEP LSP ID"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel name"; - } - uses PCE-TUN-DETAIL-BAG; - } - } - } - - container pce-lsp-data { - config false; - description "PCE LSP's data"; - uses TUNNEL-TABLE; - uses LSP-SUMMARY; - uses TUNNEL-DETAIL-TABLE; - } - - container pce-peer { - config false; - description "pce peer"; - uses PEER-DETAIL-TABLE; - uses PEER-TABLE; - } - - container pce-topology { - config false; - description "pce topology"; - uses TOPOLOGY-SUMMARY; - uses TOPOLOGY-NODE-TABLE; - uses PREFIX-TABLE; - } - - container pce { - config false; - description "pce"; - - container association-infos { - description "Associaition database in XTC"; - - list association-info { - key "group-id"; - description "PCE Association information"; - leaf group-id { - type int32; - description "Group ID"; - } - leaf type { - type Pce-asso; - description "Type"; - } - leaf sub-id { - type int32; - description "Sub ID"; - } - uses PCE-ASSO-BAG; - } - } - - container cspf { - description "CSPF path info"; - - container cspf-paths { - description - "This table models the path calculation - capabilities in XTC.A GET operation for the - complete table will return no entries."; - - list cspf-path { - key "af source1 destination1 metric-type source2"+ - " destination2 disjoint-level disjoint-strict"+ - " shortest-path"; - description - "A GET operation on this class returns the path - ."; - leaf af { - type int32; - description "Address Family"; - } - leaf source1 { - type inet:ip-address-no-zone; - description "Source of path 1"; - } - leaf destination1 { - type inet:ip-address-no-zone; - description "Destination of path 1"; - } - leaf metric-type { - type int32; - description "Metric type"; - } - leaf source2 { - type inet:ip-address-no-zone; - description "Source of path 2"; - } - leaf destination2 { - type inet:ip-address-no-zone; - description "Destination of path 2"; - } - leaf disjoint-level { - type int32; - description "Disjointness level"; - } - leaf disjoint-strict { - type int32; - description "Strict disjointness required"; - } - leaf shortest-path { - type int32; - description "Whether path 1 or 2 should be shortest"; - } - uses PCE-PATH-LIST-BAG; - } - } - } - uses TOPOLOGY-SUMMARY; - uses TUNNEL-TABLE; - uses PEER-DETAIL-TABLE; - uses TOPOLOGY-NODE-TABLE; - uses PREFIX-TABLE; - uses LSP-SUMMARY; - uses PEER-TABLE; - uses TUNNEL-DETAIL-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang deleted file mode 100644 index 8ebf534..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang +++ /dev/null @@ -1,161 +0,0 @@ -submodule Cisco-IOS-XR-installmgr-admin-oper-sub1 { - - belongs-to Cisco-IOS-XR-installmgr-admin-oper { - prefix Cisco-IOS-XR-installmgr-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR installmgr-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Instmgr-bag-log-entry-user-msg-category { - type enumeration { - enum user-error { - value 1; - description "User error"; - } - enum non-specific { - value 2; - description "Non-specific message"; - } - enum warning { - value 3; - description "Warning message"; - } - enum information { - value 4; - description "Information message"; - } - enum user-prompt { - value 5; - description "User prompt"; - } - enum log { - value 6; - description "Log message"; - } - enum system-error { - value 7; - description "System error"; - } - enum user-response { - value 8; - description "User response"; - } - } - description "Category type"; - } - - grouping INSTMGR-BAG-LOG-ENTRY-USER-MSG-SCOPE-TYPE { - description "INSTMGR BAG LOG ENTRY USER MSG SCOPE TYPE"; - leaf admin-read { - type boolean; - description "Does the admin want to read this?"; - } - leaf affected-sd-rs { - type uint32; - description "Which SDRs are affected by the message"; - } - } - - grouping INSTMGR-BAG-LOG-ENTRY-V3 { - description "INSTMGR BAG LOG ENTRY V3"; - - container scope { - description "Scope of the message"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-SCOPE-TYPE; - } - leaf category { - type Instmgr-bag-log-entry-user-msg-category; - description "Category of the message"; - } - leaf message { - type string; - description "Message"; - } - } - - grouping MSG-CONTENTS { - description "MSG CONTENTS"; - - container v3 { - when "../version = '3'" { - description "../Version = '3'"; - } - description "v3"; - uses INSTMGR-BAG-LOG-ENTRY-V3; - } - leaf version { - type uint32; - description "Version"; - } - } - - grouping INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3 { - description "A user message"; - - container log-contents { - description "Log contents"; - uses MSG-CONTENTS; - } - } - - grouping INSTALL-LOG-ENTRY-4 { - description "Install manager history log entry"; - - list header { - description "Header information"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - - list summary { - description "Summary information"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - - list message { - description "Status Information Logs"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - - list change { - description "Install changes"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - - list detail { - description "Install details"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - - list communication { - description "Install communications"; - uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang deleted file mode 100644 index 2eb93cb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang +++ /dev/null @@ -1,787 +0,0 @@ -submodule Cisco-IOS-XR-installmgr-admin-oper-sub2 { - - belongs-to Cisco-IOS-XR-installmgr-admin-oper { - prefix Cisco-IOS-XR-installmgr-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR installmgr-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Path { - type string; - description - "The path of the file from the root directory of - the package group"; - } - typedef Instmgr-group { - type enumeration { - enum inst-pkg-group-undefined { - description "Undefined grouping"; - } - enum inst-pkg-group-grouped { - description "Packages are grouped"; - } - enum inst-pkg-group-individual { - description "Packages are all individual"; - } - } - description "Group type"; - } - typedef Instmgr-pkg { - type enumeration { - enum inst-pkg-type-undefined { - description "Undefined package"; - } - enum inst-pkg-type-root { - description "Root package"; - } - enum inst-pkg-type-standard { - description "Standard package"; - } - enum inst-pkg-type-internal { - description "Internal package"; - } - } - description "Package type"; - } - typedef Instmgr-card { - type string; - description "A card-type"; - } - typedef Instmgr-install-phase { - type enumeration { - enum inst-phase-unknown { - value 0; - description "Unknown operational phase"; - } - enum inst-phase-download { - value 10; - description "Downloading"; - } - enum inst-phase-sw-change { - value 50; - description "Performing software changes"; - } - enum inst-phase-cleaning-up { - value 1000; - description "Cleaning up after op"; - } - } - description "Current operation phase"; - } - typedef Instmgr-bag-ii-state { - type enumeration { - enum idle { - value 1; - description "Node to be upraded"; - } - enum in-progress { - value 2; - description "Node is being upraded"; - } - enum completed { - value 3; - description "Node upgraded successfully"; - } - enum aborted { - value 4; - description "Node reverted to the old S/W"; - } - enum rebooted { - value 5; - description "Node rebooted and held in MBI"; - } - } - description "The Incremental Install state of an install"; - } - typedef Instmgr-bag-ii-direction { - type enumeration { - enum not-incremental { - description "Not incremental install operation"; - } - enum installing { - description "Installing"; - } - enum unwinding { - description "Unwinding"; - } - } - description "The Incremental Install direction"; - } - typedef Instmgr-bag-user-msg-category { - type enumeration { - enum user-error { - value 1; - description "User error"; - } - enum non-specific { - value 2; - description "Non-specific message"; - } - enum warning { - value 3; - description "Warning message"; - } - enum information { - value 4; - description "Information message"; - } - enum user-prompt { - value 5; - description "User prompt"; - } - enum log { - value 6; - description "Log message"; - } - enum system-error { - value 7; - description "System error"; - } - enum user-response { - value 8; - description "User response"; - } - } - description "Instmgr bag user msg category"; - } - typedef Instmgr-issu-abort-impact { - type enumeration { - enum undefined { - description "Unknown abort impact"; - } - enum hitless { - description "Abort is hitless"; - } - enum traffic-outage { - description "Abort will not affect traffic"; - } - enum not-applicable { - description "Abort impact: n/a"; - } - } - description "Abort impact"; - } - typedef Instmgr-issu-abort-method { - type enumeration { - enum method-undefined { - description "Unknown abort method"; - } - enum method-no-operation { - description "No abort is required"; - } - enum method-standby-reload { - description "Abort will reload standby nodes"; - } - enum method-system-reload { - description "Abort will reload the whole system"; - } - enum method-rollback { - description "Abort will rollback"; - } - enum method-not-possible { - description "Abort is not possible"; - } - enum method-admin-only { - description "Abort is not possible by SDR user"; - } - } - description "Abort method"; - } - typedef Instmgr-bag-abort-state { - type enumeration { - enum abortable { - value 1; - description "Operation can be aborted"; - } - enum no-longer-abortable { - value 2; - description "Operation can no longer be aborted"; - } - enum never-abortable { - value 3; - description "Operation cannot be aborted"; - } - enum already-aborted { - value 4; - description "Operation has been aborted"; - } - } - description "The abortable state of an install command"; - } - typedef Instmgr-request { - type enumeration { - enum add { - value 1; - description "install add"; - } - enum accept { - value 2; - description "install accept"; - } - enum clean { - value 3; - description "install clean"; - } - enum activate { - value 4; - description "install activate"; - } - enum deactivate { - value 5; - description "install deactivate"; - } - enum commit { - value 6; - description "install commit"; - } - enum verify { - value 7; - description "install verify"; - } - enum rollback { - value 8; - description "install rollback"; - } - enum clear-rollback { - value 9; - description "install clear rollback oldest"; - } - enum clear-log { - value 10; - description "install clear historylog"; - } - enum health-check { - value 11; - description "(Deprecated) install healthcheck"; - } - enum operation { - value 12; - description "install run/accept/complete"; - } - enum stop-timer { - value 13; - description "install auto-abort-timer stop"; - } - enum label { - value 14; - description "install label"; - } - enum clear-label { - value 15; - description "clear install label"; - } - enum extend { - value 16; - description "install extend"; - } - } - description "Instmgr request"; - } - typedef Instmgr-request-option { - type int32; - description "Install manager request option bitset"; - } - typedef Instmgr-bag-request-trigger { - type enumeration { - enum cli { - value 1; - description "Request triggered by CLI"; - } - enum xr-xml { - value 2; - description "Request triggered by XML"; - } - } - description "The trigger type of an install request"; - } - typedef Lr-name { - type string; - description "SDR name"; - } - typedef Instmgr-node { - type uint64; - description "Instmgr node"; - } - - grouping BOOT-IMG { - description "Install manager boot image"; - leaf system-image-file { - type string; - description "The boot image"; - } - } - - grouping LOCATION-SPECIFIC-LOADPATH { - description "SDR specific load path information"; - leaf request-id { - type uint32; - description "Install op affecting scope"; - } - leaf secure-domain-router-name { - type Lr-name; - description "SDR name"; - } - leaf node-name { - type xr:Node-id; - description "Node identifier"; - } - - list load-path { - description "Load path"; - uses PKG-INFO; - } - - list standby-load-path { - description "Load paths for standby nodes"; - uses PKG-INFO; - } - } - - grouping LR-SPECIFIC-LOADPATH { - description "SDR specific load path information"; - leaf request-id { - type uint32; - description "Install op affecting scope"; - } - leaf secure-domain-router-name { - type Lr-name; - description "SDR name"; - } - - list load-path { - description "Load path"; - uses PKG-INFO; - } - - list standby-load-path { - description "Load paths for standby nodes"; - uses PKG-INFO; - } - } - - grouping ADMIN-LOADPATH { - description "Admin Resources Load path information"; - leaf request-id { - type uint32; - description "Install op affecting scope"; - } - - list load-path { - description "Admin Resources load path"; - uses PKG-INFO; - } - - list standby-load-path { - description "Load paths for standby nodes"; - uses PKG-INFO; - } - } - - grouping DEFAULT-LOADPATH { - description "Default Load path information"; - leaf request-id { - type uint32; - description "Install op affecting scope"; - } - leaf admin-match { - type boolean; - description "Does this match the Admin Resources load path?"; - } - leaf-list secure-domain-router-name { - type Lr-name; - description "Names of SDRs this applies to"; - } - - list load-path { - description "Default load path"; - uses PKG-INFO; - } - - list standby-load-path { - description "Load paths for standby nodes"; - uses PKG-INFO; - } - } - - grouping INSTALL-INVENTORY-SUMMARY { - description "Inventory summary information"; - - container default-load-path { - description "Default load path"; - uses DEFAULT-LOADPATH; - } - - container admin-load-path { - description "Admin Resources load path"; - uses ADMIN-LOADPATH; - } - - list sdr-load-path { - description "SDR load paths"; - uses LR-SPECIFIC-LOADPATH; - } - - list location-load-path { - description "Location load paths"; - uses LOCATION-SPECIFIC-LOADPATH; - } - } - - grouping INSTMGR-COMPONENT-INFO { - description "Information about a single component"; - leaf name { - type string; - description "Name of the component"; - } - leaf version { - type string; - description "Version of the component"; - } - leaf release { - type string; - description "Release that the component belongs to"; - } - leaf description { - type string; - description "Description of the component"; - } - leaf-list files { - type Path; - description "The set of files belonging to the component"; - } - } - - grouping INSTMGR-SUB-PKG-INFO { - description "INSTMGR SUB PKG INFO"; - leaf name { - type string; - description "Name of the sub-package"; - } - leaf node-types { - type Instmgr-node; - description "Node types of the package"; - } - } - - grouping INSTMGR-PKG-INFO { - description "Information about a package"; - leaf name { - type string; - description "Name of the package"; - } - leaf version { - type string; - description "Version of the package"; - } - leaf description { - type string; - description "Description of the package"; - } - leaf release { - type string; - description "Release that the package belongs to"; - } - leaf vendor { - type string; - description - "Information about the vendor that supplied the - package"; - } - leaf date { - type string; - description "Time and date that the package was built"; - } - leaf source { - type string; - description "Identifies the provider of the package"; - } - leaf base { - type string; - description - "Identifies the base bundle that the package is - for"; - } - leaf bootable { - type boolean; - description "TRUE if package has BOOTIMAGE tag set"; - } - leaf composite { - type boolean; - description "TRUE if package is a composite package"; - } - leaf restart-info { - type string; - description "Restart info of the package"; - } - leaf package-type { - type Instmgr-pkg; - description "Type of the package"; - } - leaf group-type { - type Instmgr-group; - description "Group type of the package"; - } - leaf depth { - type uint32; - description "Number of layers of parent packages"; - } - leaf uncompressed-size { - type uint32; - description "Uncompressed size of package"; - } - leaf compressed-size { - type uint32; - description "Compressed size of package"; - } - leaf-list cards { - type Instmgr-card; - description - "Card types that the package should be installed - on"; - } - - list sub-pkg { - description "Sub-package info of the package"; - uses INSTMGR-SUB-PKG-INFO; - } - } - - grouping INSTMGR-BAG-II-NODE-STATE-TYPE { - description "The state of Incremental Install for a given node"; - leaf node-name { - type xr:Node-id; - description "Node identifier"; - } - leaf state { - type Instmgr-bag-ii-state; - description "State"; - } - } - - grouping INSTMGR-BAG-II-INFO-TYPE { - description "Incremental Install info"; - leaf direction { - type Instmgr-bag-ii-direction; - description "Install direction"; - } - leaf ii-error { - type string; - description "First error during incremental install"; - } - - list nodes { - description "Participating nodes"; - uses INSTMGR-BAG-II-NODE-STATE-TYPE; - } - } - - grouping INSTMGR-BAG-USER-MSG-SCOPE-TYPE { - description "INSTMGR BAG USER MSG SCOPE TYPE"; - leaf admin-read { - type boolean; - description "Does the admin want to read this?"; - } - leaf affected-sd-rs { - type uint32; - description "Which LRs are affected by the message"; - } - } - - grouping INSTMGR-BAG-USER-MSG-TYPE { - description "A user message"; - - container scope { - description "Scope of the message"; - uses INSTMGR-BAG-USER-MSG-SCOPE-TYPE; - } - leaf category { - type Instmgr-bag-user-msg-category; - description "Category of the message"; - } - leaf message { - type string; - description "Message"; - } - } - - grouping INSTMGR-ISSU-ABORT-STATUS { - description "Abort status"; - leaf abort-method { - type Instmgr-issu-abort-method; - description "Method of abort"; - } - leaf abort-impact { - type Instmgr-issu-abort-impact; - description "Impact of abort"; - } - } - - grouping INSTMGR-BAG-REQUEST-INFO { - description "Request information"; - leaf request-id { - type uint32; - description "Install id of operation"; - } - leaf user-id { - type string; - description "User ID that started the reqeust"; - } - leaf trigger-type { - type Instmgr-bag-request-trigger; - description "Request trigger type"; - } - leaf request-option { - type Instmgr-request-option; - description - "Options affecting processing of install requests"; - } - leaf operation-type { - type Instmgr-request; - description "Requested operation type"; - } - leaf operation-detail { - type string; - description "Detail operation information"; - } - } - - grouping INSTMGR-INSTALL-STATUS { - description "Status for an install request"; - - container request-information { - description "Requested install operation"; - uses INSTMGR-BAG-REQUEST-INFO; - } - - container abort-status { - description "How the abort will occur"; - uses INSTMGR-ISSU-ABORT-STATUS; - } - - container incremental-install-information { - description "Incremental Install information"; - uses INSTMGR-BAG-II-INFO-TYPE; - } - leaf percentage { - type uint8; - units "percentage"; - description "Percentage completed"; - } - leaf abort-state { - type Instmgr-bag-abort-state; - description "Abort state"; - } - leaf downloaded-bytes { - type uint32; - units "byte"; - description "Downloaded bytes"; - } - leaf unanswered-query { - type boolean; - description - "Whether the operation is blocked waiting for a - response from the user"; - } - leaf operation-phase { - type Instmgr-install-phase; - description "Phase of the operation"; - } - - list issu-message { - description "Messages related to ISSU operations"; - uses INSTMGR-BAG-USER-MSG-TYPE; - } - - list message { - description "Messages output to the user"; - uses INSTMGR-BAG-USER-MSG-TYPE; - } - } - - grouping PKG-GROUP { - description "Package group"; - leaf device-name { - type string; - description "Device name"; - } - leaf name { - type string; - description "Package group name"; - } - } - - grouping PKG-INFO { - description "Package information"; - - container package { - description "Package"; - uses PKG-GROUP; - } - leaf version { - type string; - description "Version"; - } - leaf build-information { - type string; - description "Build information"; - } - } - - grouping INVENTORY { - description "Inventory"; - leaf major { - type uint32; - description "Major data version number"; - } - leaf minor { - type uint32; - description "Minor data version number"; - } - leaf boot-image-name { - type string; - description "Name of the boot image"; - } - leaf node-type { - type Instmgr-node; - description "Node's type"; - } - leaf secure-domain-router-name { - type Lr-name; - description "SDR name"; - } - - list load-path { - description "Load path"; - uses PKG-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang deleted file mode 100644 index b7e368b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang +++ /dev/null @@ -1,674 +0,0 @@ -submodule Cisco-IOS-XR-installmgr-admin-oper-sub3 { - - belongs-to Cisco-IOS-XR-installmgr-admin-oper { - prefix Cisco-IOS-XR-installmgr-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR installmgr-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Instmgr-ism-fsm-state { - type enumeration { - enum idle { - value 0; - description "No ISSU in progress"; - } - enum init-done { - value 1; - description "LOAD init"; - } - enum load-shut { - value 2; - description "LOAD preparation"; - } - enum load-wait { - value 3; - description "LOAD wait"; - } - enum load-stp-root-before { - value 4; - description "LOAD root SC FO"; - } - enum load-standby-root-sc-upgrade { - value 5; - description "LOAD standby ROOT SC Upgrade"; - } - enum load-standby-management-upgrade { - value 6; - description "LOAD standby management upgrade"; - } - enum load-stp-root-after { - value 7; - description "LOAD NDSC FO"; - } - enum load-fabric-upgrade { - value 8; - description "LOAD fabric upgrade"; - } - enum load-management-issu-ready { - value 9; - description "LOAD ISSU ready"; - } - enum load-done { - value 10; - description "LOAD done"; - } - enum run-prep { - value 11; - description "RUN preparation"; - } - enum run-wait { - value 12; - description "RUN wait"; - } - enum runi-mdr-prep { - value 13; - description "RUN iMDR preparation"; - } - enum runi-mdr-start { - value 14; - description "RUN iMDR start"; - } - enum runi-mdr-complete { - value 15; - description "RUN iMDR complete"; - } - enum run-make-standby-ready { - value 16; - description "RUN make standby ready"; - } - enum run-root-scfo { - value 17; - description "RUN root SC FO"; - } - enum run-ndscfo { - value 18; - description "RUN NDSC FO"; - } - enum run-transient1 { - value 19; - description "RUN transient1"; - } - enum run-dscfo { - value 20; - description "RUN DSC FO"; - } - enum run-fo-complete { - value 21; - description "RUN FO compelte"; - } - enum run-stp-root-return { - value 22; - description "Run STP Root Return"; - } - enum runi-mdr-continue { - value 23; - description "RUN iMDR continue"; - } - enum run-am-i-ready-afteri-mdr { - value 24; - description "RUN I am ready after iMDR"; - } - enum run-nsf-ready { - value 25; - description "RUN NSF ready"; - } - enum run-nsf-begin { - value 26; - description "RUN iMDR begin"; - } - enum runi-mdr-done { - value 27; - description "RUN iMDR done"; - } - enum run-management-issu-ready { - value 28; - description "RUN mgmt issu ready"; - } - enum run-un-shut { - value 29; - description "RUN unshut"; - } - enum run-is-done { - value 30; - description "RUN done"; - } - enum state-max { - value 31; - description "Max ISSU state"; - } - } - description "Install manager FSM state"; - } - typedef Installmgr-ism-node-conforming { - type enumeration { - enum conforming { - value 0; - description "Conforming Nodes"; - } - enum none-conforming { - value 1; - description "Non-conforming nodes"; - } - enum upgrade-fail { - value 2; - description "Node Upgrade failed"; - } - enum none-conforming-spa { - value 3; - description "Non-conforming SPAs"; - } - enum spa-upgrade-fail { - value 4; - description "SPA Upgrade failed"; - } - } - description "ISSU manage node inventory type"; - } - typedef Instmgr-ism-node-state { - type enumeration { - enum none { - value 0; - description "No ISSU in progress"; - } - enum issu-node-gsp-ready { - value 1; - description "Node GSP ready"; - } - enum load-shut-done { - value 2; - description "Load shut done"; - } - enum standby-management-upgrade-done { - value 3; - description "Standby management nodes upgrade done"; - } - enum fabric-upgrade-done { - value 4; - description "Fabric nodes upgrade done"; - } - enum imdr-preparation-ack-received { - value 5; - description "iMDR preparation ACK received"; - } - enum imdr-preparation-failed { - value 6; - description "iMDR preparation ACK failed"; - } - enum imdr-start-ack-received { - value 7; - description "iMDR start AVK received"; - } - enum imdr-start-failed { - value 8; - description "iMDR start failed"; - } - enum imdr-complete-ack-received { - value 9; - description "iMDR complete ACK received"; - } - enum imdr-complete-failed { - value 10; - description "iMDR complete failed"; - } - enum standby-management-ready { - value 11; - description "Standby management nodes ready"; - } - enum fo-acknowledged { - value 12; - description "FO acked"; - } - enum fo-complete { - value 13; - description "FO complete"; - } - enum standby-ready-after-fo { - value 14; - description "Standby nodes ready after FO"; - } - enum iam-ready-afteri-mdr { - value 15; - description "Node is ready after iMDR"; - } - enum nsf-ready { - value 16; - description "NSF ready"; - } - enum nsf-begin-ack-received { - value 17; - description "NSF begin ACK received"; - } - enum imdr-done { - value 18; - description "iMDR done"; - } - enum unshut-done { - value 19; - description "Unshut done"; - } - enum run-done { - value 20; - description "Run done"; - } - enum imdr-abort-sent { - value 21; - description "iMDR abort sent"; - } - enum imdr-abort-ack-received { - value 22; - description "iMDR abort ACK Received"; - } - enum imdr-abort-failed { - value 23; - description "iMDR abort failed"; - } - enum standby-management-downgrade-done { - value 24; - description "Standby management nodes downgrade done"; - } - enum fabric-downgrade-done { - value 25; - description "Fabric nodes downgrade done"; - } - enum reload-during-issu { - value 26; - description "Node reloaded during ISSU"; - } - enum timneout { - value 27; - description "Node time out"; - } - enum fabric-upgrade-failed { - value 28; - description "Fabric upgrade failed"; - } - enum unsupported-hw { - value 29; - description "Unsupported hardware"; - } - enum not-reachable { - value 30; - description "Node unreachable"; - } - enum max { - value 32; - description "Max node state"; - } - } - description "ISSU manager node state"; - } - typedef Instmgr-pi-card { - type enumeration { - enum type-rp { - value 0; - description "Card type RP"; - } - enum type-drp { - value 1; - description "Card Type DRP"; - } - enum type-lc { - value 2; - description "Card type LC"; - } - enum type-sc { - value 3; - description "Card type SC"; - } - enum type-sp { - value 4; - description "Card type SP"; - } - enum type-other { - value 5; - description "Card type other"; - } - } - description "PI card types"; - } - typedef Instmgr-node-role { - type enumeration { - enum redundency-unknown { - value 0; - description "Redundency unknown"; - } - enum redundency-active { - value 1; - description "Redundency active"; - } - enum redundency-standby { - value 2; - description "Redundency standby"; - } - enum redundency-unusable { - value 3; - description "Redundency unusable"; - } - } - description "Node role"; - } - typedef Instmgr-card-state { - type enumeration { - enum instmgr-card-not-present { - value 0; - description "instmgr card not present"; - } - enum instmgr-card-present { - value 1; - description "instmgr card present"; - } - enum instmgr-card-reset { - value 2; - description "instmgr card reset"; - } - enum instmgr-card-booting { - value 3; - description "instmgr card booting"; - } - enum instmgr-card-mbi-booting { - value 4; - description "instmgr card mbi booting"; - } - enum instmgr-card-running-mbi { - value 5; - description "instmgr card running mbi"; - } - enum instmgr-card-running-ena { - value 6; - description "instmgr card running ena"; - } - enum instmgr-card-bring-down { - value 7; - description "instmgr card bring down"; - } - enum instmgr-card-ena-failure { - value 8; - description "instmgr card ena failure"; - } - enum instmgr-card-f-diag-run { - value 9; - description "instmgr card f diag run"; - } - enum instmgr-card-f-diag-failure { - value 10; - description "instmgr card f diag failure"; - } - enum instmgr-card-powered { - value 11; - description "instmgr card powered"; - } - enum instmgr-card-unpowered { - value 12; - description "instmgr card unpowered"; - } - enum instmgr-card-mdr { - value 13; - description "instmgr card mdr"; - } - enum instmgr-card-mdr-running-mbi { - value 14; - description "instmgr card mdr running mbi"; - } - enum instmgr-card-main-t-mode { - value 15; - description "instmgr card main t mode"; - } - enum instmgr-card-admin-down { - value 16; - description "instmgr card admin down"; - } - enum instmgr-card-no-mon { - value 17; - description "instmgr card no mon"; - } - enum instmgr-card-unknown { - value 18; - description "instmgr card unknown"; - } - enum instmgr-card-failed { - value 19; - description "instmgr card failed"; - } - enum instmgr-card-ok { - value 20; - description "instmgr card ok"; - } - enum instmgr-card-missing { - value 21; - description "instmgr card missing"; - } - enum instmgr-card-field-diag-downloading { - value 22; - description "instmgr card field diag downloading"; - } - enum instmgr-card-field-diag-unmonitor { - value 23; - description "instmgr card field diag unmonitor"; - } - enum instmgr-card-fabric-field-diag-unmonitor { - value 24; - description "instmgr card fabric field diag unmonitor"; - } - enum instmgr-card-field-diag-rp-launching { - value 25; - description "instmgr card field diag rp launching"; - } - enum instmgr-card-field-diag-running { - value 26; - description "instmgr card field diag running"; - } - enum instmgr-card-field-diag-pass { - value 27; - description "instmgr card field diag pass"; - } - enum instmgr-card-field-diag-fail { - value 28; - description "instmgr card field diag fail"; - } - enum instmgr-card-field-diag-timeout { - value 29; - description "instmgr card field diag timeout"; - } - enum instmgr-card-disabled { - value 30; - description "instmgr card disabled"; - } - enum instmgr-card-spa-booting { - value 31; - description "instmgr card spa booting"; - } - enum instmgr-card-not-allowed-online { - value 32; - description "instmgr card not allowed online"; - } - enum instmgr-card-stopped { - value 33; - description "instmgr card stopped"; - } - enum instmgr-card-incompatible-fw-ver { - value 34; - description "instmgr card incompatible fw ver"; - } - enum instmgr-card-fpd-hold { - value 35; - description "instmgr card fpd hold"; - } - enum instmgr-card-updating-fpd { - value 37; - description "instmgr card updating fpd"; - } - enum instmgr-card-num-states { - value 38; - description "instmgr card num states"; - } - } - description "Instmgr card state"; - } - - grouping NODE-LIST { - description "List of nodes"; - leaf-list node { - type xr:Node-id; - description "node"; - } - } - - grouping INSTALL-ISSU-STAGE { - description "stage details for an install ISSU op"; - - container node-in-progress { - description "Nodes in progress"; - uses NODE-LIST; - } - - container nodes-in-load { - description "Node in LOAD phase"; - uses NODE-LIST; - } - - container nodes-in-run { - description "Node in RUN phase"; - uses NODE-LIST; - } - - container nc-nodes { - description "None-conforming nodes"; - uses NODE-LIST; - } - leaf issu-state { - type string; - description "Current ISSU state"; - } - leaf issu-op-id { - type uint32; - description "ISSU operational ID"; - } - leaf percentage { - type uint32; - units "percentage"; - description "ISSU progress percentage"; - } - leaf is-issu-aborted { - type boolean; - description "ISSU aborted?"; - } - leaf is-issu-aborted-by-ism { - type boolean; - description "ISSU aborted by ISM?"; - } - leaf issu-manager-fsm-state { - type Instmgr-ism-fsm-state; - description "ISM FSM state"; - } - leaf participating-node-all { - type uint32; - description "Number of participating nodes"; - } - leaf num-nodes-in-progress { - type uint32; - description "Number of node in progress"; - } - leaf num-of-nodes-in-load { - type uint32; - description "Number of nodes in LOAD phase"; - } - leaf num-of-nodes-in-run { - type uint32; - description "Number of nodes in RUN phase"; - } - leaf numof-nc-nodes { - type uint32; - description "Number of none-conforming nodes"; - } - } - - grouping ISM-CARD-STATUS { - description "ism card status td"; - leaf node-name { - type xr:Node-id; - description "Node identifier"; - } - leaf partner-node-name { - type xr:Node-id; - description "Partner Node IDs"; - } - leaf node-state { - type Instmgr-card-state; - description "Node state"; - } - leaf node-role { - type Instmgr-node-role; - description "Node roll"; - } - leaf node-type-pi { - type Instmgr-pi-card; - description "PI Node type"; - } - leaf node-type-issu { - type string; - description "ISSU node type"; - } - leaf node-current-state { - type Instmgr-ism-node-state; - description "Current node ISSU state"; - } - leaf node-expected-state { - type Instmgr-ism-node-state; - description "Expected ISSU state"; - } - leaf node-failure-reason { - type string; - description "Node failure reason"; - } - leaf is-conforming-node { - type Installmgr-ism-node-conforming; - description "Node none-cnforming"; - } - leaf attempts { - type uint32; - description "Number of attempts made"; - } - leaf is-node-upgraded { - type boolean; - description "Is node upgraded?"; - } - } - - grouping ISM-CARD-INVENTORY-SUMMARY { - description "ISM inventory summary for a given card type"; - - list summary { - description "node state for all nodes"; - uses ISM-CARD-STATUS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper.yang deleted file mode 100644 index 33fab59..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-installmgr-admin-oper.yang +++ /dev/null @@ -1,411 +0,0 @@ -module Cisco-IOS-XR-installmgr-admin-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-installmgr-admin-oper"; - - - prefix "installmgr-admin-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-installmgr-admin-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-installmgr-admin-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-installmgr-admin-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR installmgr package - admin-plane operational data. - - This module contains definitions - for the following management objects: - install: Information of software packages and install - operations - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ism-card-type-family { - type enumeration { - enum ndsc-active-rp { - value 1; - description "Active NDSC RPs"; - } - enum ndsc-standby-rp { - value 2; - description "Standby NDSC RPs"; - } - enum active-drp { - value 3; - description "Active DRP"; - } - enum standby-drp { - value 4; - description "Standby DRP"; - } - enum dsc-active-rp { - value 5; - description "Active dSC"; - } - enum dsc-standby-rp { - value 6; - description "Standby dSC"; - } - enum active-sc { - value 7; - description "Active non-root SC"; - } - enum standby-sc { - value 8; - description "Standby non-root SC"; - } - enum root-active-sc { - value 9; - description "Active root SC"; - } - enum root-standby-sc { - value 10; - description "Standby root SC"; - } - enum lc { - value 11; - description "Line card"; - } - enum sp { - value 12; - description "Non-Fabric SP"; - } - enum fabric-sp { - value 13; - description "Fabric SP"; - } - enum spa { - value 14; - description "SPA"; - } - } - description "Ism card type family"; - } - - grouping INVENTORY-TABLE { - description - "Common node of active, active, inactive, inactive - , committed, committed"; - - container inventories { - description "Software inventory"; - - list inventory { - key "node-name"; - description "Inventory information for specific node"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses INVENTORY; - } - } - } - - grouping SUMMARY { - description "Common node of active, inactive, committed"; - - container summary { - description "Summarized inventory information"; - uses INSTALL-INVENTORY-SUMMARY; - } - } - - container install { - config false; - description - "Information of software packages and install - operations"; - - container configuration-registers { - description "Configuration register (confreg) information"; - - list configuration-register { - key "node-name"; - description "Configuration register for specific node"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - leaf config-register { - type xr:Hex-integer; - mandatory true; - description "Configuration register value"; - } - } - } - - container request-statuses { - description "Install operation request status"; - - list request-status { - key "request-id"; - description "Request status Information"; - leaf request-id { - type int32; - description "Install operation request ID"; - } - uses INSTMGR-INSTALL-STATUS; - } - } - - container boot-variables { - description "Boot variable information"; - - list boot-variable { - key "node-name"; - description "Boot variable for specific node"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - leaf boot-variable { - type string; - mandatory true; - description "Boot variable value"; - } - } - } - - container software { - description - "Software package,component and alias information"; - - container alias-devices { - description "Package alias information"; - - list alias-device { - key "device-name"; - description - "Package alias information for specific device"; - - container aliases { - description "alias information"; - - list alias { - key "package-name"; - description "Aliases for specific package"; - leaf package-name { - type string; - description "Package Name"; - } - leaf alias-names { - type string; - mandatory true; - description "Alias names"; - } - } - } - leaf device-name { - type xr:Cisco-ios-xr-string; - description "Device Name"; - } - } - } - - container package-devices { - description "Package information"; - - list package-device { - key "device-name"; - description "Package information for specific device"; - - container packages { - description "Package information for specific package"; - - list package { - key "package-name"; - description "Package information"; - leaf package-name { - type string; - description "Package Name"; - } - uses INSTMGR-PKG-INFO; - } - } - leaf device-name { - type xr:Cisco-ios-xr-string; - description "Device Name"; - } - } - } - - container component-devices { - description "Software component information"; - - list component-device { - key "device-name"; - description "Component information for specific device"; - - container component-packages { - description "Software package information"; - - list component-package { - key "package-name"; - description - "Component information for specific package"; - leaf package-name { - type string; - description "Package Name"; - } - - list component { - key "component-name"; - description "Component information"; - leaf component-name { - type string; - description "Component Name"; - } - uses INSTMGR-COMPONENT-INFO; - } - } - } - leaf device-name { - type xr:Cisco-ios-xr-string; - description "Device Name"; - } - } - } - } - - container software-inventory { - description "Information of install operations"; - - container committed { - description "Committed inventory information"; - uses SUMMARY; - uses INVENTORY-TABLE; - } - - container inactive { - description "Inactive inventory information"; - uses SUMMARY; - uses INVENTORY-TABLE; - } - - container requests { - description "Install operation requests"; - - container requests { - description "Install operation request history"; - - list request { - key "request-id"; - description "Install operation request information"; - - container inventories { - description - "Inventory information of install operation - request"; - - list inventory { - key "node-name"; - description "Inventory information"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses INVENTORY; - } - } - leaf request-id { - type int32; - description "Install operation request ID"; - } - } - } - } - - container active { - description "Active inventory information"; - uses SUMMARY; - uses INVENTORY-TABLE; - } - } - - container issu { - description "Information of install ISSU operations"; - - container card-inventories { - description "ISSU manager card inventory table"; - - list card-inventory { - key "card-type-id"; - description - "ISSU manager inventory summary of the same - card type"; - leaf card-type-id { - type Ism-card-type-family; - description "ISSU manager card type ID"; - } - uses ISM-CARD-INVENTORY-SUMMARY; - } - } - - container stage { - description "Summarized ISSU stage information"; - uses INSTALL-ISSU-STAGE; - } - } - - container boot-image { - description "System Boot Image"; - uses BOOT-IMG; - } - - container logs { - description "Install operation log"; - - list log { - key "request-id"; - description "Log information"; - leaf request-id { - type int32; - description "Install operation request ID"; - } - uses INSTALL-LOG-ENTRY-4; - } - } - leaf log-size { - type int32; - description "Install operation log history size"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-cfg.yang deleted file mode 100644 index 01ac604..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-cfg.yang +++ /dev/null @@ -1,61 +0,0 @@ -module Cisco-IOS-XR-invmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg"; - - - prefix "invmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR invmgr package configuration. - - This module contains definitions - for the following management objects: - inventory-configurations: Configuration for inventory entities - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container inventory-configurations { - description "Configuration for inventory entities"; - - list entity { - key "name"; - description "Entity name"; - leaf name { - type string; - description "Entity name"; - } - leaf name-xr { - type string; - mandatory true; - description "Entity name"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub1.yang deleted file mode 100644 index c4865db..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub1.yang +++ /dev/null @@ -1,442 +0,0 @@ -submodule Cisco-IOS-XR-invmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-invmgr-oper { - prefix Cisco-IOS-XR-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RMA-DETAIL { - description "EEPROM RMA data content"; - leaf test-history { - type string { - length "0..255"; - } - description "Test history"; - } - leaf rma-number { - type string { - length "0..255"; - } - description "RMA tracking number format is N-N-N"; - } - leaf rma-history { - type string { - length "0..255"; - } - description "RMA history"; - } - } - - grouping DIAG-EEPROM { - description "Diag EEPROM data content"; - - container rma { - description "RMA Data"; - uses RMA-DETAIL; - } - leaf description { - type string { - length "0..255"; - } - description "A textual description of physical entity"; - } - leaf idprom-format-rev { - type string { - length "0..255"; - } - description "IDPROM Format Revision"; - } - leaf controller-family { - type string { - length "0..255"; - } - description "Controller family"; - } - leaf controller-type { - type string { - length "0..255"; - } - description "Controller type"; - } - leaf vid { - type string { - length "0..255"; - } - description "Version ID"; - } - leaf hwid { - type string { - length "0..255"; - } - description "Hardware Revision"; - } - leaf pid { - type string { - length "0..255"; - } - description "Product ID"; - } - leaf udi-description { - type string { - length "0..255"; - } - description "UDI description"; - } - leaf udi-name { - type string { - length "0..255"; - } - description "UDI name"; - } - leaf clei { - type string { - length "0..255"; - } - description - "Common Language Equipment Identifier (CLEI) code"; - } - leaf eci { - type string { - length "0..255"; - } - description "Equipment Catalog Item (ECI) number"; - } - leaf top-assem-part-num { - type string { - length "0..255"; - } - description "Top assembly part number"; - } - leaf top-assem-vid { - type string { - length "0..255"; - } - description "Top assembly revision number"; - } - leaf pca-num { - type string { - length "0..255"; - } - description "PCA number"; - } - leaf pcavid { - type string { - length "0..255"; - } - description "PCA revision ID"; - } - leaf chassis-sid { - type string { - length "0..255"; - } - description "Chassis serial number"; - } - leaf dev-num1 { - type string { - length "0..255"; - } - description "Deviation Number # 1"; - } - leaf dev-num2 { - type string { - length "0..255"; - } - description "Deviation Number # 2"; - } - leaf dev-num3 { - type string { - length "0..255"; - } - description "Deviation Number # 3"; - } - leaf dev-num4 { - type string { - length "0..255"; - } - description "Deviation Number # 4"; - } - leaf dev-num5 { - type string { - length "0..255"; - } - description "Deviation Number # 5"; - } - leaf dev-num6 { - type string { - length "0..255"; - } - description "Deviation Number # 6"; - } - leaf dev-num7 { - type string { - length "0..255"; - } - description "Deviation Number # 7"; - } - leaf manu-test-data { - type string { - length "0..255"; - } - description "Manufacturing Test Data"; - } - leaf asset-id { - type string { - length "0..255"; - } - description "Asset ID"; - } - leaf asset-alias { - type string { - length "0..255"; - } - description "Asset Alias"; - } - leaf base-mac-address1 { - type string { - length "0..255"; - } - description "Base Mac Address #1"; - } - leaf mac-add-blk-size1 { - type string { - length "0..255"; - } - description "Mac Address Block Size #1"; - } - leaf base-mac-address2 { - type string { - length "0..255"; - } - description "Base Mac Address #2"; - } - leaf mac-add-blk-size2 { - type string { - length "0..255"; - } - description "Mac Address Block Size #2"; - } - leaf base-mac-address3 { - type string { - length "0..255"; - } - description "Base Mac Address #3"; - } - leaf mac-add-blk-size3 { - type string { - length "0..255"; - } - description "Mac Address Block Size #3"; - } - leaf base-mac-address4 { - type string { - length "0..255"; - } - description "Base Mac Address #4"; - } - leaf mac-add-blk-size4 { - type string { - length "0..255"; - } - description "Mac Address Block Size #4"; - } - leaf pcb-serial-num { - type string { - length "0..255"; - } - description "PCB Serial Number"; - } - leaf power-supply-type { - type string { - length "0..255"; - } - description "Power Supply Type"; - } - leaf power-consumption { - type string { - length "0..255"; - } - description "Power Consumption"; - } - leaf block-signature { - type string { - length "0..255"; - } - description "Block Signature"; - } - leaf block-version { - type string { - length "0..255"; - } - description "Block Version"; - } - leaf block-length { - type string { - length "0..255"; - } - description "Block Length"; - } - leaf block-checksum { - type string { - length "0..255"; - } - description "Block Checksum"; - } - leaf eeprom-size { - type string { - length "0..255"; - } - description "EEPROM Size"; - } - leaf block-count { - type string { - length "0..255"; - } - description "Block Count"; - } - leaf fru-major-type { - type string { - length "0..255"; - } - description "FRU Major Type"; - } - leaf fru-minor-type { - type string { - length "0..255"; - } - description "FRU Minor Type"; - } - leaf oem-string { - type string { - length "0..255"; - } - description "OEM String"; - } - leaf product-id { - type string { - length "0..255"; - } - description "Product ID"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "Serial Number"; - } - leaf part-number { - type string { - length "0..255"; - } - description "Part Number"; - } - leaf part-revision { - type string { - length "0..255"; - } - description "Part Revision"; - } - leaf mfg-deviation { - type string { - length "0..255"; - } - description "MFG Deviation"; - } - leaf hw-version { - type string { - length "0..255"; - } - description "Hardware Version"; - } - leaf mfg-bits { - type string { - length "0..255"; - } - description "MFG Bits"; - } - leaf engineer-use { - type string { - length "0..255"; - } - description "Engineer Use"; - } - leaf snmpoid { - type string { - length "0..255"; - } - description "SNMP OID"; - } - leaf rma-code { - type string { - length "0..255"; - } - description "RMA Code"; - } - } - - grouping INVMGR-EEPROM-OPAQUE-DATA { - description "invmgr eeprom opaque data"; - - container eeprom { - description "EEPROM data not from hex data"; - uses DIAG-EEPROM; - } - leaf inv-card-type { - type uint8; - description "Inventory card type"; - } - leaf opaque-data { - type yang:hex-string; - description "EEPROM hex data"; - } - leaf opaque-data-size { - type uint32; - description "size of the EEPROM hex data"; - } - leaf has-eeprom { - type uint32; - description "use eeprom instead of opaque data"; - } - leaf description { - type string { - length "0..255"; - } - description "A textual description of physical entity"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub2.yang deleted file mode 100644 index bf00033..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub2.yang +++ /dev/null @@ -1,414 +0,0 @@ -submodule Cisco-IOS-XR-invmgr-oper-sub2 { - - belongs-to Cisco-IOS-XR-invmgr-oper { - prefix Cisco-IOS-XR-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Card-reset-reason { - type enumeration { - enum reset-unknown { - value 1; - description "reset unknown"; - } - enum power-up { - value 2; - description "power up"; - } - enum parity-error { - value 3; - description "parity error"; - } - enum clear-config-reset { - value 4; - description "clear config reset"; - } - enum manual-reset { - value 5; - description "manual reset"; - } - enum watch-dog-timeout-reset { - value 6; - description "watch dog timeout reset"; - } - enum resource-overflow-reset { - value 7; - description "resource overflow reset"; - } - enum missing-task-reset { - value 8; - description "missing task reset"; - } - enum low-voltage-reset { - value 9; - description "low voltage reset"; - } - enum controller-reset { - value 10; - description "controller reset"; - } - enum system-reset { - value 11; - description "system reset"; - } - enum switchover-reset { - value 12; - description "switchover reset"; - } - enum upgrade-reset { - value 13; - description "upgrade reset"; - } - enum downgrade-reset { - value 14; - description "downgrade reset"; - } - enum cache-error-reset { - value 15; - description "cache error reset"; - } - enum device-driver-reset { - value 16; - description "device driver reset"; - } - enum software-exception-reset { - value 17; - description "software exception reset"; - } - enum restore-config-reset { - value 18; - description "restore config reset"; - } - enum abort-rev-reset { - value 19; - description "abort rev reset"; - } - enum burn-boot-reset { - value 20; - description "burn boot reset"; - } - enum standby-cd-healthier-reset { - value 21; - description "standby cd healthier reset"; - } - enum non-native-config-clear-reset { - value 22; - description "non native config clear reset"; - } - enum memory-protection-error-reset { - value 23; - description "memory protection error reset"; - } - enum card-reset-reason-max { - value 24; - description "card reset reason max"; - } - } - description "Card reset reason"; - } - - grouping INV-TIMESPEC { - description "Inventory FRU Info Time Spec"; - leaf time-in-seconds { - type int32; - units "second"; - description "Time Value in Seconds"; - } - leaf time-in-nano-seconds { - type int32; - units "nanosecond"; - description "Time Value in Nano-seconds"; - } - } - - grouping INV-CARD-FRU-INFO { - description "card (FRU) operation state bag"; - - container last-operational-state-change { - description "last card oper change state"; - uses INV-TIMESPEC; - } - - container card-up-time { - description "card up time"; - uses INV-TIMESPEC; - } - leaf card-administrative-state { - type int32; - description "card admin state: shutdown or not"; - } - leaf power-administrative-state { - type int32; - description "power admin state: up or down"; - } - leaf card-operational-state { - type int32; - description "card operation state"; - } - leaf card-monitor-state { - type int32; - description - "card is monitored by a manager or left - unmonitored"; - } - leaf card-reset-reason { - type Card-reset-reason; - description "card reset reason enum"; - } - leaf power-current-measurement { - type int32; - description "power current: not implemented"; - } - leaf power-operational-state { - type int32; - description "Power operation state"; - } - } - - grouping INV-PWG-INFO { - description "Power supply group bag"; - leaf power-group-redundancy-mode { - type int32; - description "redundancy mode"; - } - leaf power-group-power-units { - type string; - description "power units"; - } - leaf power-group-available-current { - type int32; - description "available current"; - } - leaf power-group-drawn-current { - type int32; - description "drawn current"; - } - } - - grouping INV-PHY-ENTITY-ASSET-INFO { - description "The physical entity detaled asset attribute bag"; - leaf part-number { - type string { - length "0..255"; - } - description ""; - } - leaf manufacturer-assembly-number { - type string { - length "0..255"; - } - description "Manufacture Assembly number"; - } - leaf manufacturer-assembly-revision { - type string { - length "0..255"; - } - description "Manufacture assembly revision"; - } - leaf manufacturer-firmware-identifier { - type string { - length "0..255"; - } - description ""; - } - leaf manufacturer-software-identifier { - type string { - length "0..255"; - } - description ""; - } - leaf manufacturer-common-language-equipment-identifier { - type string { - length "0..255"; - } - description - "Common Language Equipment Identifier - number"; - } - leaf original-equipment-manufacturer-string { - type string { - length "0..255"; - } - description - "String containing OEM information if - applicable"; - } - } - - grouping INV-PHY-ENTITY-BASIC-INFO { - description - "Bag contains all the basic inventory information - for each entity"; - leaf description { - type string { - length "0..255"; - } - description - "describes in user-readable terms what the - entity in question does"; - } - leaf vendor-type { - type string { - length "0..255"; - } - description "maps to the vendor OID string"; - } - leaf name { - type string { - length "0..255"; - } - description "name string for the entity"; - } - leaf hardware-revision { - type string { - length "0..255"; - } - description "hw revision string"; - } - leaf firmware-revision { - type string { - length "0..255"; - } - description "firmware revision string"; - } - leaf software-revision { - type string { - length "0..255"; - } - description "software revision string"; - } - leaf chip-hardware-revision { - type string { - length "0..255"; - } - description "chip module hw revision string"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "serial number"; - } - leaf manufacturer-name { - type string { - length "0..255"; - } - description "manufacturer's name"; - } - leaf model-name { - type string { - length "0..255"; - } - description "model name"; - } - leaf asset-id-str { - type string { - length "0..255"; - } - description "asset Identification string"; - } - leaf asset-identification { - type int32; - description "asset Identification"; - } - leaf is-field-replaceable-unit { - type boolean; - description "1 if Field Replaceable Unit 0, if not"; - } - leaf manufacturer-asset-tags { - type int32; - description "Manufacture Asset Tags"; - } - leaf composite-class-code { - type int32; - description "Major&minor class of the entity"; - } - leaf memory-size { - type int32; - description - "Size of memory associated with the entity - where applicable"; - } - leaf environmental-monitor-path { - type string { - length "0..255"; - } - description "sysdb name of sensor in the envmon EDM"; - } - leaf alias { - type string { - length "0..255"; - } - description "useful for storing an entity alias "; - } - leaf group-flag { - type boolean; - description "indicates if this entity is group or not"; - } - leaf new-deviation-number { - type int32; - description "integer value for New Deviation Number 0x88"; - } - leaf physical-layer-interface-module-type { - type int32; - description - "integer value for plim type if applicable to - this entity"; - } - leaf unrecognized-fru { - type boolean; - description "1 if UnrecognizedFRU and 0 for recognizedFRU"; - } - leaf redundancystate { - type int32; - description - "integer value for Redundancy State if - applicable to this entity"; - } - leaf ceport { - type boolean; - description "1 if ce port found, 0 if not"; - } - leaf xr-scoped { - type boolean; - description "1 if xr scoped, 0 if not"; - } - leaf unique-id { - type int32; - description "Unique id for an entity"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub3.yang deleted file mode 100644 index dfb136e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub3.yang +++ /dev/null @@ -1,131 +0,0 @@ -submodule Cisco-IOS-XR-invmgr-oper-sub3 { - - belongs-to Cisco-IOS-XR-invmgr-oper { - prefix Cisco-IOS-XR-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ENVMON-THRESHOLD-INFO { - description "ENVMON threshold Info"; - leaf threshold-severity { - type uint32; - description "Indicates minor, major, critical severities"; - } - leaf threshold-relation { - type uint32; - description - "Indicates relation between sensor value and - threshold"; - } - leaf threshold-value { - type uint32; - description "Value of the configured threshold"; - } - leaf threshold-evaluation { - type boolean; - description - "Indicates the result of the most recent - evaluation of the thresholD"; - } - leaf threshold-notification-enabled { - type boolean; - description - "Indicates whether or not a notification should - result, in case of threshold violation"; - } - } - - grouping ENVMON-SENSOR-INFO { - description "ENVMON sensor Info"; - leaf field-validity-bitmap { - type uint32; - description "Sensor valid bitmap"; - } - leaf device-description { - type string { - length "0..50"; - } - description "Device Name"; - } - leaf units { - type string { - length "0..50"; - } - description "Units of variable being read"; - } - leaf device-id { - type uint32; - description "Identifier for this device"; - } - leaf value { - type uint32; - description "Current reading of sensor"; - } - leaf alarm-type { - type uint32; - description "Indicates threshold violation"; - } - leaf data-type { - type uint32; - description "Sensor data type enums"; - } - leaf scale { - type uint32; - description "Sensor scale enums"; - } - leaf precision { - type uint32; - description "Sensor precision range"; - } - leaf status { - type uint32; - description "Sensor operation state enums"; - } - leaf age-time-stamp { - type uint32; - description - "Age of the sensor value; set to the current time - if directly access the value from sensor"; - } - leaf update-rate { - type uint32; - description - "Sensor value update rate;set to 0 if sensor - value is updated and evaluated immediately"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub4.yang deleted file mode 100644 index a47c2cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper-sub4.yang +++ /dev/null @@ -1,257 +0,0 @@ -submodule Cisco-IOS-XR-invmgr-oper-sub4 { - - belongs-to Cisco-IOS-XR-invmgr-oper { - prefix Cisco-IOS-XR-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Threshold-relation { - type enumeration { - enum less-than { - value 1; - description "Sensor value is less than threshold"; - } - enum less-or-equal { - value 2; - description - "Sensor value is lesser than or equal to - threshold"; - } - enum greater-than { - value 3; - description "Sensor value is greater than threshold"; - } - enum greater-or-equal { - value 4; - description - "Sensor value is greater than or equal to - threshold"; - } - enum equal { - value 5; - description "Sensor value is equal to threshold"; - } - enum not-equal { - value 6; - description "Sensor value is not equal to threshold"; - } - } - description "Threshold relation"; - } - typedef Threshold-severity { - type enumeration { - enum other { - value 1; - description "Other"; - } - enum minor { - value 10; - description "Minor"; - } - enum major { - value 20; - description "Major"; - } - enum critical { - value 30; - description "Critical"; - } - } - description "Threshold severity"; - } - typedef Sensor-status { - type enumeration { - enum ok { - value 1; - description "State ok"; - } - enum unavailable { - value 2; - description "State Unavailable"; - } - enum non-operational { - value 3; - description "State no operational"; - } - } - description "Sensor status"; - } - typedef Sensor-data { - type enumeration { - enum unknown { - value 2; - description "Datatype unknown"; - } - enum ac-volts { - value 3; - description "AC volts"; - } - enum dc-volts { - value 4; - description "DC volts"; - } - enum amperes { - value 5; - description "Amperes"; - } - enum watts { - value 6; - description "Power in watts"; - } - enum hertz { - value 7; - description "Frequency in hertz"; - } - enum celsius { - value 8; - description "Celsius"; - } - enum rpm { - value 10; - description "Rotations per minute"; - } - enum dbm { - value 14; - description "Power in dBm"; - } - enum db { - value 15; - description "Power in dB"; - } - } - description "Sensor measurement data types"; - } - typedef Unit { - type enumeration { - enum celsius { - description "Degree in celsius"; - } - enum milli-volts { - description "Milli volts"; - } - enum milli-amperes { - description "Milli amperes"; - } - enum rpm { - description "Rotations per minute"; - } - enum watts { - description "Watts"; - } - enum dbm { - description "dBm"; - } - enum db { - description "dB"; - } - } - description "Unit information"; - } - - grouping ENVMON-THRESHOLD-TYPE { - description "Threshold information of a specific type"; - leaf threshold-severity { - type Threshold-severity; - description "Indicates minor, major, critical severities"; - } - leaf threshold-relation { - type Threshold-relation; - description - "Indicates relation between sensor value and - threshold"; - } - leaf threshold-value { - type int32; - description "Value of the configured threshold"; - } - leaf threshold-name { - type string { - length "0..50"; - } - description "Threshold name"; - } - } - - grouping ENVMON-THRESHOLD-INFO-XML { - description "Threshold information"; - - list threshold-array { - description "Array of threshold"; - uses ENVMON-THRESHOLD-TYPE; - } - } - - grouping ENVMON-SENSOR-INFO-XML { - description "Environment monitoring sensor information"; - - container threshold { - description "Threshold information"; - uses ENVMON-THRESHOLD-INFO-XML; - } - leaf description { - type string { - length "0..50"; - } - description "Device Name"; - } - leaf units { - type Unit; - description "Units of variable being read"; - } - leaf value { - type string { - length "0..50"; - } - description - "Current reading of sensor Displays in decimal(ex - 1.234) for powersupply sensor type"; - } - leaf data-type { - type Sensor-data; - description "Sensor data type"; - } - leaf status { - type Sensor-status; - description "Sensor operation state"; - } - leaf update-rate { - type uint32; - description - "Sensor value update rate; set to 0 if sensor - value is updated and evaluated immediately"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper.yang deleted file mode 100644 index 63b848e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-invmgr-oper.yang +++ /dev/null @@ -1,429 +0,0 @@ -module Cisco-IOS-XR-invmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper"; - - - prefix "invmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-invmgr-oper-sub4 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-invmgr-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-invmgr-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-invmgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR invmgr package operational data. - - This module contains definitions - for the following management objects: - inventory: Inventory information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping THRESH-BAG { - description - "Common node of minor-lo, minor-hi, major-lo, - major-hi, critical-lo, critical-hi"; - - container thresh-bag { - description "Environment threshold info"; - uses ENVMON-THRESHOLD-INFO; - } - } - - grouping ATTRIBUTES { - description - "Common node of rack, slot, tsi1, tsi2, tsi3, tsi4 - , tsi5, tsi6, tsi7, tsi8, tsi9, tsi10, tsi11"; - - container attributes { - description "Attributes"; - - container env-sensor-info { - description "Environment sensor info"; - uses ENVMON-SENSOR-INFO; - } - - container pwg-info { - description "Inventory EDM PWG info"; - uses INV-PWG-INFO; - } - - container env-sensor-info-xml { - description "Environment sensor info XML"; - uses ENVMON-SENSOR-INFO-XML; - } - - container inv-asset-bag { - description "Inventory Asset Bag"; - uses INV-PHY-ENTITY-ASSET-INFO; - } - - container threshold { - description "Threshold"; - - container major-lo { - description "Major Low"; - uses THRESH-BAG; - } - - container critical-hi { - description "Critical High"; - uses THRESH-BAG; - } - - container minor-hi { - description "Minor High"; - uses THRESH-BAG; - } - - container major-hi { - description "Major High"; - uses THRESH-BAG; - } - - container critical-lo { - description "Critical Low"; - uses THRESH-BAG; - } - - container minor-lo { - description "Minor Low"; - uses THRESH-BAG; - } - } - - container fru-info { - description "Inventory EDM FRU info"; - uses INV-CARD-FRU-INFO; - } - - container inv-basic-bag { - description "Inventory Basic Bag"; - uses INV-PHY-ENTITY-BASIC-INFO; - } - - container inv-eeprom-info { - description "Inventory EDM EEPROM Information Bag"; - uses INVMGR-EEPROM-OPAQUE-DATA; - } - leaf module-done { - type int32; - default "1"; - description "Inventory EDM Module Done Tuple"; - } - leaf vm-node-id { - type uint32 { - range "0..4294967295"; - } - description "VM Node ID Tuple"; - } - leaf vm-done { - type int32; - description "VM Done Tuple"; - } - leaf node-id { - type uint32 { - range "0..4294967295"; - } - description "Node ID Tuple"; - } - } - } - - grouping SLOT { - description "Common node of powershelf, fantray, entity"; - - list slot { - key "name"; - description "Slot number"; - - container tsi1s { - description "Entity Level 1"; - - list tsi1 { - key "name"; - description "TSI1"; - - container tsi2s { - description "Entity Level 2"; - - list tsi2 { - key "name"; - description "TSI2"; - - container tsi3s { - description "Entity Level 3"; - - list tsi3 { - key "name"; - description "TSI3"; - - container tsi4s { - description "Entity Level 4"; - - list tsi4 { - key "name"; - description "TSI4"; - - container tsi5s { - description "Entity Level 5"; - - list tsi5 { - key "name"; - description "TSI5"; - - container tsi6s { - description "Entity Level 6"; - - list tsi6 { - key "name"; - description "TSI6"; - - container tsi7s { - description "Entity Level 7"; - - list tsi7 { - key "name"; - description "TSI7"; - - container tsi8s { - description "Entity Level 8"; - - list tsi8 { - key "name"; - description "TSI8"; - - container tsi9s { - description - "Entity Level 9"; - - list tsi9 { - key "name"; - description "TSI9"; - - container tsi10s { - description - "Entity Level 10"; - - list tsi10 { - key "name"; - description "TSI10"; - - container tsi11s { - description - "Entity Level 11"; - - list tsi11 { - key "name"; - description - "TSI11"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "TSI11"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI10"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI9"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI8"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI7"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI6"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI5"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI4"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI3"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI2"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "TSI1"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - uses ATTRIBUTES; - } - } - - container inventory { - config false; - description "Inventory information"; - - container entities { - description "Entities Table"; - - list entity { - key "name"; - description "Entity name"; - - container subentities { - description "SubEntities Table"; - - list subentity { - key "name"; - description "Subentity name"; - leaf name { - type string; - description "Subentity name"; - } - leaf name-xr { - type string; - mandatory true; - description "Subentity name"; - } - } - } - - container attributes { - description "Attributes"; - - container inv-basic-bag { - description "Inventory Basic Bag"; - uses INV-PHY-ENTITY-BASIC-INFO; - } - - container inv-asset-bag { - description "Inventory Asset Bag"; - uses INV-PHY-ENTITY-ASSET-INFO; - } - } - leaf name { - type string; - description "Entity name"; - } - } - } - - container racks { - description "RackTable"; - - list rack { - key "name"; - description "Rack name"; - - container entity { - description "Entity information"; - uses SLOT; - } - - container powershelf { - description "Powershelf information"; - uses SLOT; - } - - container fantray { - description "Fantray information"; - uses SLOT; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Rack name"; - } - uses ATTRIBUTES; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-cfg.yang deleted file mode 100644 index 5f982e2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-cfg.yang +++ /dev/null @@ -1,335 +0,0 @@ -module Cisco-IOS-XR-ip-bfd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg"; - - - prefix "ip-bfd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-bfd package configuration. - - This module contains definitions - for the following management objects: - bfd: BFD Configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bfd-echo-startup-validate { - type enumeration { - enum off { - value 0; - description "Disable echo startup validation"; - } - enum on { - value 1; - description "Enable echo startup validation"; - } - enum force { - value 2; - description "Force echo startup validation"; - } - } - description "Bfd echo startup validate"; - } - typedef Bfd-bundle-coexistence-bob-blb { - type enumeration { - enum inherited { - value 1; - description "Inherited coexistence mode"; - } - enum logical { - value 2; - description "Logical coexistence mode"; - } - } - description "Bfd bundle coexistence bob blb"; - } - typedef Bfd-if-echo-usage { - type enumeration { - enum enable { - value 0; - description "Enable echo"; - } - enum disable { - value 1; - description "Disable echo"; - } - } - description "Bfd if echo usage"; - } - typedef Bfd-if-ipv6-checksum-usage { - type enumeration { - enum disable { - value 0; - description "Disable IPv6 checksum"; - } - enum enable { - value 1; - description "Enable IPv6 checksum"; - } - } - description "Bfd if ipv6 checksum usage"; - } - - container bfd { - description "BFD Configuration"; - - container flap-damp { - description "Flapping class container"; - - container bundle-member { - description "Bundle per member feature class container"; - leaf initial-delay { - type uint32 { - range "1..518400000"; - } - units "millisecond"; - default "16000"; - description "Initial delay before bringing up session"; - } - leaf maximum-delay { - type uint32 { - range "1..518400000"; - } - units "millisecond"; - default "600000"; - description "Maximum delay before bringing up session"; - } - leaf secondary-delay { - type uint32 { - range "1..518400000"; - } - units "millisecond"; - default "20000"; - description "Secondary delay before bringing up session"; - } - leaf l3-only-mode { - type empty; - description - "Apply immediate dampening and only when - failure is L3 specific"; - } - } - - container extensions { - description "Extensions to the BFD dampening feature"; - leaf down-monitor { - type empty; - description - "If set, DOWN state monitoring mode is enabled"; - } - } - leaf threshold { - type uint32 { - range "60000..3600000"; - } - units "millisecond"; - default "120000"; - description "Stability threshold to enable dampening"; - } - leaf initial-delay { - type uint32 { - range "1..3600000"; - } - units "millisecond"; - default "2000"; - description "Initial delay before bringing up session"; - } - leaf maximum-delay { - type uint32 { - range "1..3600000"; - } - units "millisecond"; - default "120000"; - description "Maximum delay before bringing up session"; - } - leaf dampen-disable { - type empty; - description "Dampening Enable/Disable"; - } - leaf secondary-delay { - type uint32 { - range "1..3600000"; - } - units "millisecond"; - default "5000"; - description "Secondary delay before bringing up session"; - } - } - - container echo-latency { - description "BFD echo latency feature class container"; - - container detect { - description "BFD echo latency detection"; - leaf latency-detect-enabled { - type boolean; - default "false"; - description "If set, echo latency detect is enabled"; - } - leaf latency-detect-percentage { - type uint32 { - range "100..250"; - } - units "percentage"; - default "100"; - description "Echo latency detect percentage"; - } - leaf latency-detect-count { - type uint32 { - range "1..10"; - } - default "1"; - description "Echo latency detect count"; - } - } - } - - container echo-startup { - description "BFD echo startup feature class container"; - leaf validate { - type Bfd-echo-startup-validate; - default "off"; - description "BFD echo validation prior to session bringup"; - } - } - - container interfaces { - description "Interface configuration"; - - list interface { - key "interface-name"; - description "Single interface configuration"; - leaf interface-echo-usage { - type Bfd-if-echo-usage; - default "enable"; - description "Echo usage for this interface"; - } - leaf ipv6-checksum { - type Bfd-if-ipv6-checksum-usage; - default "enable"; - description - "IPv6 checksum usage for this interface - - Interface config will always take precedence - over global config"; - } - leaf interface-ipv4-echo-source { - type inet:ip-address-no-zone; - description - "Interface IPv4 echo source address - configuration"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container multi-path-includes { - description "Multipath Include configuration"; - - list multi-path-include { - key "location"; - description "Location configuration"; - leaf location { - type xr:Node-id; - description "Location"; - } - } - } - - container bundle { - description "Configuration related to BFD over Bundle"; - - container coexistence { - description "Coexistence mode for BFD on bundle feature"; - leaf bob-blb { - type Bfd-bundle-coexistence-bob-blb; - description "Coexistence mode for BoB and BLB feature"; - } - } - } - leaf global-echo-usage { - type empty; - description "Echo configuration"; - } - leaf ipv6-checksum-disable { - type empty; - description "To disable IPv6 checksum configuration"; - } - leaf global-echo-min-interval { - type uint32 { - range "15..2000"; - } - units "millisecond"; - default "15"; - description - "Configure echo min-interval for bundle interface"; - } - leaf ttl-drop-threshold { - type uint32 { - range "0..254"; - } - description "Multihop TTL Drop Threshold"; - } - leaf single-hop-trap { - type empty; - description "Single hop trap configuration"; - } - leaf global-ipv4-echo-source { - type inet:ip-address-no-zone; - description "IPv4 echo source address configuration"; - } - } - - augment "/a1:snmp/a1:notification" { - - container bfd { - description "CISCO-IETF-BFD-MIB notification configuration"; - leaf enable { - type empty; - description "Enable CISCO-IETF-BFD-MIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang deleted file mode 100644 index c3cfb65..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang +++ /dev/null @@ -1,229 +0,0 @@ -module Cisco-IOS-XR-ip-bfd-oper-sub1-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang"; - - prefix "cisco-xr-bfd-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import Cisco-IOS-XR-ip-bfd-oper { prefix bfd; } - - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations of ip-bfd package - model set for Cisco IOS-XR. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-16" { - description - "Initial revision applicable to IOS-XR 6.1.2 and older releases"; - } - - deviation /bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:session-details/bfd:session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } - - deviation /bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds { - deviate replace { - type "uint32"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1.yang deleted file mode 100644 index 5696d4d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper-sub1.yang +++ /dev/null @@ -1,1160 +0,0 @@ -submodule Cisco-IOS-XR-ip-bfd-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-bfd-oper { - prefix Cisco-IOS-XR-ip-bfd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-bfd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bfd-mp-download-state { - type enumeration { - enum bfd-mp-download-none { - value 0; - description "bfd mp download none"; - } - enum bfd-mp-download-no-lc { - value 1; - description "bfd mp download no lc"; - } - enum bfd-mp-download-downloaded { - value 2; - description "bfd mp download downloaded"; - } - enum bfd-mp-download-ack { - value 3; - description "bfd mp download ack"; - } - enum bfd-mp-download-nack { - value 4; - description "bfd mp download nack"; - } - enum bfd-mp-download-delete { - value 5; - description "bfd mp download delete"; - } - } - description "Bfd mp download state"; - } - typedef Bfd-mgmt-session-diag { - type enumeration { - enum bfd-mgmt-session-diag-none { - value 0; - description "No diagnostic"; - } - enum bfd-mgmt-session-diag-control-detect-expired { - value 1; - description "Control Detection Time Expired"; - } - enum bfd-mgmt-session-diag-echo-function-failed { - value 2; - description "Echo Function Failed"; - } - enum bfd-mgmt-session-diag-nb-or-signaled-down { - value 3; - description "Neighbor Signaled Session Down"; - } - enum bfd-mgmt-session-diag-fwding-plane-reset { - value 4; - description "Forwarding Plane Reset"; - } - enum bfd-mgmt-session-diag-path-down { - value 5; - description "Path Down"; - } - enum bfd-mgmt-session-diag-conc-path-down { - value 6; - description "Concatenated Path Down"; - } - enum bfd-mgmt-session-diag-admin-down { - value 7; - description "Administratively Down"; - } - enum bfd-mgmt-session-diag-rev-conc-path-down { - value 8; - description "Reverse Concatenated Path Down"; - } - enum bfd-mgmt-session-diag-num { - value 10; - description "Unknown diagnostic state"; - } - } - description "BFD session diagnostic"; - } - typedef Bfd-in6-addr { - type inet:ipv6-address; - description "Bfd in6 addr"; - } - typedef Bfd-in-addr { - type inet:ipv4-address; - description "Bfd in addr"; - } - typedef Bfd-af-id { - type enumeration { - enum bfd-af-id-none { - value 0; - description "No Address"; - } - enum bfd-af-id-ipv4 { - value 2; - description "IPv4 AFI"; - } - enum bfd-af-id-ipv6 { - value 10; - description "IPv6 AFI"; - } - } - description "Bfd af id"; - } - typedef Bfd-discr { - type uint32; - description "Bfd discr"; - } - typedef Bfd-mgmt-pkt-display { - type enumeration { - enum bfd-mgmt-pkt-display-type-none { - value 0; - description "None"; - } - enum bfd-mgmt-pkt-display-type-bob-mbr { - value 1; - description "Display Type Bundle RTR Member"; - } - enum bfd-mgmt-pkt-display-type-max { - value 2; - description "Display Type Enum Max Value"; - } - } - description "BFD session type"; - } - typedef Bfd-session { - type enumeration { - enum undefined { - description "Session type is undefined"; - } - enum bundle-member { - description "Session type is bundle member"; - } - enum bundle-interface { - description "Session type is bundle interface"; - } - enum state-inheriting { - description "Session type is state inheriting"; - } - enum bundle-vlan { - description "Session type is bundle vlan"; - } - enum mpls-tp { - description "Session type is MPLS-TP"; - } - enum gre { - description "Session type is GRE tunnel"; - } - enum pseudowire-headend { - description "Session type is PW-HE"; - } - enum ip-single-hop { - description "Session type is IP single hop"; - } - } - description "BFD session type"; - } - typedef Bfd-mgmt-session-state { - type enumeration { - enum bfd-mgmt-session-state-admin-down { - value 0; - description "Session in Administratively Shutdown State"; - } - enum bfd-mgmt-session-state-down { - value 1; - description "Session in Down State"; - } - enum bfd-mgmt-session-state-init { - value 2; - description "Session in Initializing State"; - } - enum bfd-mgmt-session-state-up { - value 3; - description "Session in Up State"; - } - enum bfd-mgmt-session-state-failing { - value 4; - description "Session in Failing State"; - } - enum bfd-mgmt-session-state-unknown { - value 6; - description "Session in Unknown State"; - } - } - description "BFD session states"; - } - - grouping BFD-MGMT-RELATION-LINK-DETAIL { - description "Detail Member Link Information"; - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf interface-name { - type string { - length "0..64"; - } - description "Session Interface Name"; - } - leaf local-discriminator { - type Bfd-discr; - description "Session's Local discriminator"; - } - } - - grouping BFD-MGMT-RELATION { - description "BFD Relation Detail Information"; - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf local-discriminator { - type Bfd-discr; - description "Session's Local discriminator"; - } - - list link-information { - description "Detail Member Link Information"; - uses BFD-MGMT-RELATION-LINK-DETAIL; - } - - list association-information { - description "Association session information"; - uses BFD-MGMT-SESSION-ASSOCIATION-INFORMATION; - } - } - - grouping BFD-MGMT-RELATION-LINK-BRIEF { - description "Brief Member Link Information"; - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf interface-name { - type string { - length "0..64"; - } - description "Session Interface Name"; - } - } - - grouping BFD-MGMT-RELATION-BRIEF { - description "BFD Relation Brief Information"; - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - - list link-information { - description "Brief Member Link Information"; - uses BFD-MGMT-RELATION-LINK-BRIEF; - } - } - - grouping BFD-MGMT-MIB-DATABASE { - description "BFD MIB Mapping Database Entry Information"; - - container dest-address { - description "Session Destination address"; - uses IP-ADDR-T-UNION; - } - leaf local-discriminator { - type Bfd-discr; - description "Sessions' Local Discriminator"; - } - leaf remote-discriminator { - type Bfd-discr; - description "Sessions' Remote Discriminator"; - } - leaf sessionversion { - type uint32; - description "Session BFD Version"; - } - leaf session-state { - type uint32; - description "Session State"; - } - leaf trap-bitmap { - type uint32; - description "Trap Generator Bitmap"; - } - leaf pkt-in { - type uint64; - description "Packet In Counter"; - } - leaf pkt-out { - type uint64; - description "Packet Out Counter"; - } - leaf last-up-time-sec { - type uint64; - units "second"; - description "Last Session Up Time (seconds)"; - } - leaf last-up-time-nsec { - type uint32; - units "nanosecond"; - description "Last Session Up Time (nanoseconds)"; - } - leaf last-down-time-sec { - type uint64; - units "second"; - description "Last Session Down Time (seconds)"; - } - leaf last-down-time-nsec { - type uint32; - units "nanosecond"; - description "Last Session Down Time (nanoseconds)"; - } - leaf last-down-diag { - type Bfd-mgmt-session-diag; - description "Last Session Down Diag"; - } - leaf up-counter { - type uint32; - description "Up Count"; - } - leaf last-time-cached { - type uint64; - description "Last Time Session Info Queried"; - } - leaf interface-name { - type string { - length "0..64"; - } - description "Session Interface Name"; - } - leaf int-handle { - type uint32; - description "Session Interface Handle"; - } - leaf detection-multiplier { - type uint32; - description "Detection Multiplier"; - } - leaf desired-min-tx-interval { - type uint32; - description "Desired Min TX Interval"; - } - leaf required-min-rx-interval { - type uint32; - description "Required Min RX Interval"; - } - leaf required-min-rx-echo-interval { - type uint32; - description "Required Min RX Echo Interval"; - } - } - - grouping BFD-LOC-MGMT-SESSION-STATE-INFORMATION { - description "BFD Location Session State Information"; - leaf total-count { - type uint32; - description "Number of sessions in database"; - } - leaf up-count { - type uint32; - description "Number of sessions in up state"; - } - leaf down-count { - type uint32; - description "Number of sessions in down state"; - } - leaf unknown-count { - type uint32; - description "Number of sessions in unknown state"; - } - leaf retry-count { - type uint32; - description "Number of sessions in retry state"; - } - leaf standby-count { - type uint32; - description "Number of sessions in standby state"; - } - } - - grouping BFD-MGMT-BFD-LOC-INFORMATION { - description "BFD Location Summary Information"; - - container session-state { - description "Statistics of states for sessions"; - uses BFD-LOC-MGMT-SESSION-STATE-INFORMATION; - } - } - - grouping BFD-MGMT-SUMMARY { - description "BFD MGMT SUMMARY"; - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - leaf pps-allocated-value { - type uint32; - description "Allocated PPS value"; - } - leaf ppsmp-allocated-value { - type uint32; - description "Allocated MP PPS value"; - } - leaf pps-max-value { - type uint32; - description "Max PPS value"; - } - leaf ppsmp-max-value { - type uint32; - description "Max MP PPS value"; - } - leaf total-session-number { - type uint32; - description "Total Session Number"; - } - leaf mp-session-number { - type uint32; - description "MP Session Number"; - } - leaf max-session-number { - type uint32; - description "Max Session Number"; - } - leaf pps-all-percentage { - type uint32; - units "percentage"; - description "All PPS percentage"; - } - leaf ppsmp-percentage { - type uint32; - units "percentage"; - description "MP PPS percentage"; - } - } - - grouping BFD-MGMT-LSP-PING-INFO { - description "BFD LSP Ping info"; - - container lsp-ping-tx-last-time { - description "LSP Ping last sent time"; - uses BFD-TIMESPEC; - } - - container lsp-ping-tx-last-error-time { - description "LSP Ping last error time"; - uses BFD-TIMESPEC; - } - - container lsp-ping-rx-last-time { - description "LSP Ping last received time"; - uses BFD-TIMESPEC; - } - leaf lsp-ping-tx-count { - type uint32; - description "LSP Ping Tx count"; - } - leaf lsp-ping-tx-error-count { - type uint32; - description "LSP Ping Tx error count"; - } - leaf lsp-ping-tx-last-rc { - type string; - description "LSP Ping Tx last result"; - } - leaf lsp-ping-tx-last-error-rc { - type string; - description "LSP Ping Tx last error"; - } - leaf lsp-ping-rx-last-discr { - type Bfd-discr; - description "LSP Ping Rx last received discriminator"; - } - leaf lsp-ping-rx-count { - type uint32; - description "LSP Ping numer of times received"; - } - leaf lsp-ping-rx-last-code { - type uint8; - description "LSP Ping Rx Last Code"; - } - leaf lsp-ping-rx-last-subcode { - type uint8; - description "LSP Ping Rx Last Subcode"; - } - leaf lsp-ping-rx-last-output { - type string; - description "LSP Ping Rx Last Output"; - } - } - - grouping BFD-TIMESPEC { - description "BFD TIMESPEC"; - leaf seconds { - type uint64; - units "second"; - description "seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "nanoseconds"; - } - } - - grouping BFD-MGMT-MP-DOWNLOAD-STATE-INFO { - description "BFD Download State"; - - container change-time { - description "Change time"; - uses BFD-TIMESPEC; - } - leaf mp-download-state { - type Bfd-mp-download-state; - description "MP Download State"; - } - } - - grouping BFD-MGMT-SESSION-ASSOCIATION-INFORMATION { - description "BFD Session Association Information"; - - container ip-destination-address { - description "IPv4/v6 dest address"; - uses IP-ADDR-T-UNION; - } - leaf interface-name { - type string { - length "0..64"; - } - description "Session Interface Name"; - } - leaf sessiontype { - type Bfd-session; - description "Session type"; - } - leaf local-discriminator { - type Bfd-discr; - description "Session's Local discriminator"; - } - - list owner-information { - description "Client applications owning the session"; - uses BFD-MGMT-SESSION-OWNER-INFORMATION; - } - } - - grouping BFD-MGMT-SESSION-OWNER-INFORMATION { - description "BFD Session Owner Information"; - leaf interval { - type uint32; - units "microsecond"; - description - "Client specified minimum transmit interval in - micro-seconds"; - } - leaf detection-multiplier { - type uint32; - description - "Client specified detection multiplier to compute - detection time"; - } - leaf adjusted-interval { - type uint32; - units "millisecond"; - description - "Adjusted minimum transmit interval in - milli-seconds"; - } - leaf adjusted-detection-multiplier { - type uint32; - description - "Adjusted detection multiplier to compute - detection time"; - } - leaf name { - type string { - length "0..257"; - } - description "Client process name"; - } - } - - grouping BFD-MGMT-INTERVAL-STATISTICS { - description "BFD Agent Interval between packets Information"; - leaf number { - type uint32; - description - "Number of Interval Samples between Packets - sent/received"; - } - leaf minimum { - type uint32; - units "millisecond"; - description - "Minimum of Transmit/Receive Interval (in - milli-seconds)"; - } - leaf maximum { - type uint32; - units "millisecond"; - description - "Maximum of Transmit/Receive Interval (in - milli-seconds)"; - } - leaf average { - type uint32; - units "millisecond"; - description - "Average of Transmit/Receive Interval (in - milli-seconds)"; - } - leaf last { - type uint32; - units "millisecond"; - description - "Time since last Transmit/Receive (in - milli-seconds)"; - } - } - - grouping BFD-MGMT-CONTROL-PACKET { - description "BFD Control Packet"; - leaf version { - type uint8; - description "Version"; - } - leaf diagnostic { - type Bfd-mgmt-session-diag; - description "Diagnostic"; - } - leaf ihear-you { - type int32; - description "I Hear You (v0)"; - } - leaf state { - type Bfd-mgmt-session-state; - description "State (v1)"; - } - leaf demand { - type int32; - description "Demand mode"; - } - leaf poll { - type int32; - description "Poll bit"; - } - leaf final { - type int32; - description "Final bit"; - } - leaf control-plane-independent { - type int32; - description - "BFD implementation does not share fate with its - control plane"; - } - leaf authentication-present { - type int32; - description "Requesting authentication for the session"; - } - leaf detection-multiplier { - type uint32; - description "Detection Multiplier"; - } - leaf length { - type uint32; - description "Length"; - } - leaf my-discriminator { - type Bfd-discr; - description "My Discriminator"; - } - leaf your-discriminator { - type Bfd-discr; - description "Your Discriminator"; - } - leaf desired-minimum-transmit-interval { - type uint32; - units "microsecond"; - description - "Desired minimum transmit interval in - micro-seconds"; - } - leaf required-minimum-receive-interval { - type uint32; - units "microsecond"; - description "Required receive interval in micro-seconds"; - } - leaf required-minimum-echo-receive-interval { - type uint32; - units "microsecond"; - description "Required echo receive interval in micro-seconds"; - } - } - - grouping BFD-MGMT-SESSION-STATE-TIME { - description "BFD Session State Transition Time Information"; - leaf days { - type uint32; - units "day"; - description - "Number of days since last session state - transition"; - } - leaf hours { - type uint8; - units "hour"; - description - "Number of hours since last session state - transition"; - } - leaf minutes { - type uint8; - units "minute"; - description - "Number of mins since last session state - transition"; - } - leaf seconds { - type uint8; - units "second"; - description - "Number of seconds since last session state - transition"; - } - } - - grouping IP-ADDR-T-UNION { - description "IP ADDR T UNION"; - leaf afi { - type Bfd-af-id; - description "AFI"; - } - leaf dummy { - when "../afi = 'bfd-af-id-none'" { - description "../AFI = 'BFD_AF_ID_NONE'"; - } - type uint8; - description "No Address"; - } - leaf ipv4 { - when "../afi = 'bfd-af-id-ipv4'" { - description "../AFI = 'BFD_AF_ID_IPV4'"; - } - type Bfd-in-addr; - description "IPv4 address type"; - } - leaf ipv6 { - when "../afi = 'bfd-af-id-ipv6'" { - description "../AFI = 'BFD_AF_ID_IPV6'"; - } - type Bfd-in6-addr; - description "IPv6 address type"; - } - } - - grouping BFD-MGMT-SESSION-STATUS-INFORMATION { - description "BFD Agent detailed Session Information"; - - container source-address { - description "Source address"; - uses IP-ADDR-T-UNION; - } - - container last-state-change { - description "Time since last state change"; - uses BFD-MGMT-SESSION-STATE-TIME; - } - - container transmit-packet { - description "Transmit Packet"; - uses BFD-MGMT-CONTROL-PACKET; - } - - container receive-packet { - description "Receive Packet"; - uses BFD-MGMT-CONTROL-PACKET; - } - - container status-brief-information { - description "Brief Status Information"; - uses BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF; - } - - container async-transmit-statistics { - description - "Statistics of Interval between Async Packets - Transmitted (in milli-seconds)"; - uses BFD-MGMT-INTERVAL-STATISTICS; - } - - container async-receive-statistics { - description - "Statistics of Interval between Async Packets - Received (in milli-seconds)"; - uses BFD-MGMT-INTERVAL-STATISTICS; - } - - container echo-transmit-statistics { - description - "Statistics of Interval between Echo Packets - Transmitted (in milli-seconds)"; - uses BFD-MGMT-INTERVAL-STATISTICS; - } - - container echo-received-statistics { - description - "Statistics of Interval between Echo Packets - Received (in milli-seconds)"; - uses BFD-MGMT-INTERVAL-STATISTICS; - } - leaf sessiontype { - type Bfd-session; - description "Session type"; - } - leaf session-subtype { - type string; - description "Session subtype"; - } - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf local-discriminator { - type Bfd-discr; - description "Session's Local discriminator"; - } - leaf remote-discriminator { - type Bfd-discr; - description "Session's Remote discriminator"; - } - leaf to-up-state-count { - type uint32; - description "Number of times session state went to UP"; - } - leaf desired-minimum-echo-transmit-interval { - type uint32; - units "millisecond"; - description - "Desired minimum echo transmit interval in - milli-seconds"; - } - leaf remote-negotiated-interval { - type uint32; - units "millisecond"; - description "Remote Negotiated Interval in milli-seconds"; - } - leaf latency-number { - type uint32; - description - "Number of Latency Samples. Time between Transmit - and Receive"; - } - leaf latency-minimum { - type uint32; - units "microsecond"; - description "Minimum value of Latency (in micro-seconds)"; - } - leaf latency-maximum { - type uint32; - units "microsecond"; - description "Maximum value of Latency (in micro-seconds)"; - } - leaf latency-average { - type uint32; - units "microsecond"; - description "Average value of Latency (in micro-seconds)"; - } - leaf node-id { - type xr:Node-id; - description "Location where session is housed"; - } - leaf internal-label { - type uint32; - description "Internal Label"; - } - } - - grouping BFD-MGMT-SESSION-DETAIL { - description "BFD Detailed Session Information"; - - container status-information { - description "Session status information"; - uses BFD-MGMT-SESSION-STATUS-INFORMATION; - } - - container mp-download-state { - description "MP Dowload State"; - uses BFD-MGMT-MP-DOWNLOAD-STATE-INFO; - } - - container lsp-ping-info { - description "LSP Ping Info"; - uses BFD-MGMT-LSP-PING-INFO; - } - - list owner-information { - description "Client applications owning the session"; - uses BFD-MGMT-SESSION-OWNER-INFORMATION; - } - - list association-information { - description "Association session information"; - uses BFD-MGMT-SESSION-ASSOCIATION-INFORMATION; - } - } - - grouping BFD-MGMT-MULTIPLE-PATHS { - description "BFD Multiple paths Info"; - leaf session-subtype { - type string; - description "Session subtype"; - } - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf local-discriminator { - type Bfd-discr; - description "Session's Local discriminator"; - } - leaf node-id { - type xr:Node-id; - description "Location where session is housed"; - } - leaf incoming-label-xr { - type uint32; - description "Incoming Label"; - } - leaf session-interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - - grouping BFD-MGMT-CLIENT-FLAGS { - description "BFD Client Flags"; - leaf is-zombie-state { - type int32; - description "Client is in Zombie State"; - } - leaf is-recreate-state { - type int32; - description "Client is in Recreate State"; - } - } - - grouping BFD-MGMT-CLIENT-BRIEF-INFORMATION { - description "BFD Brief Client Information"; - leaf name-xr { - type string { - length "0..257"; - } - description "Client process name"; - } - leaf node-id { - type xr:Node-id; - description "Location where client resides"; - } - leaf session-count { - type uint32; - description "Number of sessions created by this client"; - } - } - - grouping BFD-MGMT-CLIENT-DETAIL-INFORMATION { - description "BFD detailed Client Information"; - - container brief { - description "Brief client information"; - uses BFD-MGMT-CLIENT-BRIEF-INFORMATION; - } - - container flags { - description "The BFD Client Flags"; - uses BFD-MGMT-CLIENT-FLAGS; - } - leaf recreate-time { - type uint32; - units "second"; - description "Recreate Time in Seconds"; - } - } - - grouping BFD-MGMT-PACKET-COUNT { - description "BFD Agent Packet Count Info"; - leaf hello-transmit-count { - type uint32; - description "Number of Hellos transmitted"; - } - leaf hello-receive-count { - type uint32; - description "Number of Hellos received"; - } - leaf echo-transmit-count { - type uint32; - description "Number of echo packets transmitted"; - } - leaf echo-receive-count { - type uint32; - description "Number of echo packets received"; - } - leaf display-type { - type Bfd-mgmt-pkt-display; - description "Packet Display Type"; - } - } - - grouping BFD-MGMT-SESSION-STATE-INFORMATION { - description "BFD Session State Information"; - leaf total-count { - type uint32; - description "Number of sessions in database"; - } - leaf down-count { - type uint32; - description "Number of sessions in down state"; - } - leaf up-count { - type uint32; - description "Number of sessions in up state"; - } - leaf unknown-count { - type uint32; - description "Number of sessions in unknown state"; - } - } - - grouping BFD-MGMT-BFD-INFORMATION { - description "BFD Summary Information"; - - container session-state { - description "Statistics of states for sessions"; - uses BFD-MGMT-SESSION-STATE-INFORMATION; - } - } - - grouping BFD-MGMT-ECHO-INTERVAL-MULTIPLIER-INFORMATION { - description - "BFD Agent Echo Interval and Detection Multiplier - Information"; - leaf negotiated-transmit-interval { - type uint32; - units "microsecond"; - description "Negotiated transmit interval in micro-seconds"; - } - leaf detection-time { - type uint32; - units "microsecond"; - description "Detection time in micro-seconds"; - } - leaf detection-multiplier { - type uint32; - description "Detection Multiplier"; - } - } - - grouping BFD-MGMT-ASYNC-INTERVAL-MULTIPLIER-INFORMATION { - description - "BFD Agent Async Interval and Detection Multiplier - Information"; - leaf negotiated-remote-transmit-interval { - type uint32; - units "microsecond"; - description - "Negotiated remote transmit interval in - micro-seconds"; - } - leaf negotiated-local-transmit-interval { - type uint32; - units "microsecond"; - description - "Negotiated local transmit interval in - micro-seconds"; - } - leaf detection-time { - type uint32; - units "microsecond"; - description "Detection time in micro-seconds"; - } - leaf detection-multiplier { - type uint32; - description "Detection Multiplier"; - } - } - - grouping BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF { - description "BFD Session Status Brief Information "; - - container async-interval-multiplier { - description - "Async Interval and Detect Multiplier Information"; - uses BFD-MGMT-ASYNC-INTERVAL-MULTIPLIER-INFORMATION; - } - - container echo-interval-multiplier { - description "Echo Interval and Detect Multiplier Information"; - uses BFD-MGMT-ECHO-INTERVAL-MULTIPLIER-INFORMATION; - } - } - - grouping BFD-MGMT-SESSION-BRIEF { - description "BFD Brief Session Information"; - - container status-brief-information { - description "Brief Status Information"; - uses BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF; - } - leaf node-id { - type xr:Node-id; - description "Location where session is housed"; - } - leaf state { - type Bfd-mgmt-session-state; - description "State"; - } - leaf session-type { - type Bfd-session; - description "Session type"; - } - leaf session-subtype { - type string; - description "Session subtype"; - } - leaf session-flags { - type uint32; - description "Session Flags"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper.yang deleted file mode 100644 index ca0062e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-bfd-oper.yang +++ /dev/null @@ -1,1414 +0,0 @@ -module Cisco-IOS-XR-ip-bfd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper"; - - - prefix "ip-bfd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-bfd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-bfd package operational data. - - This module contains definitions - for the following management objects: - bfd: Bidirectional Forwarding Detection(BFD) operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container bfd { - config false; - description - "Bidirectional Forwarding Detection(BFD) - operational data"; - - container label-session-briefs { - description - "Table of brief information about all Label BFD - sessions in the System"; - - list label-session-brief { - description - "Brief information for a single Label BFD - session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv4bf-do-mplste-tail-summary { - description - "Summary information of IPv4 BFD over MPLS-TE - Tail"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container ipv6-single-hop-counters { - description "IPv6 single hop Counters"; - - container ipv6-single-hop-packet-counters { - description "Table of IPv6 single hop Packet counters"; - - list ipv6-single-hop-packet-counter { - key "interface-name"; - description "Interface IPv6 single hop Packet counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container counters { - description "Counters"; - - container packet-counters { - description "Table of Packet counters"; - - list packet-counter { - key "interface-name"; - description "Interface Packet counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container client-details { - description "Table of detailed information about BFD clients"; - - list client-detail { - key "client-name"; - description "Detailed information of client"; - leaf client-name { - type xr:Cisco-ios-xr-string; - description "Client Name"; - } - uses BFD-MGMT-CLIENT-DETAIL-INFORMATION; - } - } - - container ipv4-single-hop-summary { - description - "Summary information of BFD IPv4 singlehop - sessions"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container ipv6-single-hop-summary { - description - "Summary information of BFD IPv6 singlehop - sessions"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container label-multi-paths { - description "Label multipath"; - - list label-multi-path { - description "Label multipath table"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4-multi-hop-session-details { - description - "Table of detailed information about all IPv4 - multihop BFD sessions in the System "; - - list ipv4-multi-hop-session-detail { - description - "Detailed information for a single IPv4 multihop - BFD session"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv4-single-hop-session-details { - description - "Table of detailed information about all IPv4 - singlehop BFD sessions in the System "; - - list ipv4-single-hop-session-detail { - description - "Detailed information for a single IPv4 - singlehop BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv4-multi-hop-session-briefs { - description - "Table of brief information about all IPv4 - multihop BFD sessions in the System"; - - list ipv4-multi-hop-session-brief { - description - "Brief information for a single IPv4 multihop - BFD session"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container generic-summaries { - description "Generic summary information about BFD location"; - - list generic-summary { - key "location"; - description - "Generic summary information for bfd location - table"; - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SUMMARY; - } - } - - container ipv6-single-hop-multi-paths { - description "IPv6 single hop multipath"; - - list ipv6-single-hop-multi-path { - description "IPv6 single hop multipath table"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4-single-hop-node-location-summaries { - description - "Table of summary information about BFD IPv4 - singlehop sessions per location"; - - list ipv4-single-hop-node-location-summary { - key "location"; - description - "Summary information for BFD IPv4 singlehop - sessions for location"; - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container label-summary { - description "Summary information of Label BFD"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container ipv4bf-do-mplste-head-session-briefs { - description - "Table of brief information about all IPv4 BFD - over MPLS-TE Head sessions in the System"; - - list ipv4bf-do-mplste-head-session-brief { - description - "Brief information for a single IPv4 BFD over - MPLS-TE Head session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv4bf-do-mplste-tail-session-details { - description - "Table of detailed information about all IPv4 BFD - over MPLS-TE Tail sessions in the System"; - - list ipv4bf-do-mplste-tail-session-detail { - description - "Detailed information for a single IPv4 BFD over - MPLS-TE Tail session"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv4-multi-hop-node-location-summaries { - description - "Table of summary information about BFD IPv4 - multihop sessions per location"; - - list ipv4-multi-hop-node-location-summary { - key "location"; - description - "Summary information for BFD IPv4 multihop - sessions for location"; - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container ipv4bf-do-mplste-tail-session-briefs { - description - "Table of brief information about all IPv4 BFD - over MPLS-TE Tail sessions in the System"; - - list ipv4bf-do-mplste-tail-session-brief { - description - "Brief information for a single IPv4 BFD over - MPLS-TE session"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv6-multi-hop-node-location-summaries { - description - "Table of summary information about BFD IPv6 - multihop sessions per location"; - - list ipv6-multi-hop-node-location-summary { - key "location"; - description - "Summary information for BFD IPv6 multihop - sessions for location"; - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container ipv4-multi-hop-summary { - description - "Summary information of BFD IPv4 multihop - sessions"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container ipv4-single-hop-counters { - description "IPv4 single hop Counters"; - - container ipv4-single-hop-packet-counters { - description "Table of IPv4 single hop Packet counters"; - - list ipv4-single-hop-packet-counter { - key "interface-name"; - description "Interface IPv4 single hop Packet counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container ipv6-multi-hop-session-details { - description - "Table of detailed information about all IPv6 - multihop BFD sessions in the System "; - - list ipv6-multi-hop-session-detail { - description - "Detailed information for a single IPv6 multihop - BFD session"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv6-multi-hop-multi-paths { - description "IPv6 multi hop multipath"; - - list ipv6-multi-hop-multi-path { - description "IPv6 multihop multipath table"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4bf-do-mplste-head-counters { - description "IPv4 BFD over MPLS-TE Counters"; - - container ipv4bf-do-mplste-head-packet-counters { - description - "Table of IPv4 BFD over MPLS-TE Packet counters"; - - list ipv4bf-do-mplste-head-packet-counter { - description - "Interface IPv4 BFD over MPLS-TE Packet - counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container session-mibs { - description "BFD session MIB database"; - - list session-mib { - key "discriminator"; - description "Brief information for BFD session MIB"; - leaf discriminator { - type int32; - description "Sesison Discr "; - } - uses BFD-MGMT-MIB-DATABASE; - } - } - - container ipv6-multi-hop-summary { - description - "Summary information of BFD IPv6 multihop - sessions"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container label-summary-nodes { - description - "Table of summary about Label BFD sessions for - location"; - - list label-summary-node { - key "location-name"; - description "Summary of Label BFD "; - leaf location-name { - type xr:Cisco-ios-xr-string; - description "Location name"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container ipv6-multi-hop-session-briefs { - description - "Table of brief information about all IPv6 - multihop BFD sessions in the System"; - - list ipv6-multi-hop-session-brief { - description - "Brief information for a single IPv6 multihop - BFD session"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container session-briefs { - description - "Table of brief information about singlehop IPv4 - BFD sessions in the System"; - - list session-brief { - description - "Brief information for a single IPv4 singlehop - BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv6-single-hop-node-location-summaries { - description - "Table of summary information about BFD IPv6 - singlehop sessions per location"; - - list ipv6-single-hop-node-location-summary { - key "location"; - description - "Summary information for BFD IPv6 singlehop - sessions for location"; - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container summary { - description - "Summary information of BFD IPv4 singlehop - sessions"; - uses BFD-MGMT-BFD-INFORMATION; - } - - container ipv4bfd-mplste-tail-node-summaries { - description - "Table of summary about IPv4 TE tail BFD sessions - for location"; - - list ipv4bfd-mplste-tail-node-summary { - key "location-name"; - description "Summary of IPv4 BFD over MPLS-TE tail"; - leaf location-name { - type xr:Cisco-ios-xr-string; - description "Location name"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container ipv4-single-hop-location-summaries { - description - "Table of summary information about IPv4 - singlehop BFD sessions for location"; - - list ipv4-single-hop-location-summary { - key "location-name"; - description - "Summary information for BFD IPv4 singlehop - sessions for location"; - leaf location-name { - type xr:Cisco-ios-xr-string; - description "Location Name"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container ipv4bfd-mplste-head-summary-nodes { - description - "Table of summary about IPv4 TE head BFD sessions - for location"; - - list ipv4bfd-mplste-head-summary-node { - key "location-name"; - description "Summary of IPv4 BFD over MPLS-TE head"; - leaf location-name { - type xr:Cisco-ios-xr-string; - description "Location name"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container label-session-details { - description - "Table of detailed information about all Label - BFD sessions in the System "; - - list label-session-detail { - description "Detailed information for a single BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv6-single-hop-session-details { - description - "Table of detailed information about all IPv6 - singlehop BFD sessions in the System "; - - list ipv6-single-hop-session-detail { - description - "Detailed information for a single IPv6 - singlehop BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv4-multi-hop-counters { - description "IPv4 multiple hop Counters"; - - container ipv4-multi-hop-packet-counters { - description "Table of IPv4 multiple hop Packet counters"; - - list ipv4-multi-hop-packet-counter { - description "IPv4 multiple hop Packet counters"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container session-details { - description - "Table of detailed information about IPv4 - singlehop BFD sessions in the System "; - - list session-detail { - description - "Detailed information for a single IPv4 - singlehop BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container ipv4-single-hop-multi-paths { - description "IPv4 single hop multipath"; - - list ipv4-single-hop-multi-path { - description "IPv4 single hop multipath table"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4-single-hop-session-briefs { - description - "Table of brief information about all IPv4 - singlehop BFD sessions in the System"; - - list ipv4-single-hop-session-brief { - description - "Brief information for a single IPv4 singlehop - BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv6-multi-hop-counters { - description "IPv6 multiple hop Counters"; - - container ipv6-multi-hop-packet-counters { - description "Table of IPv6 multiple hop Packet counters"; - - list ipv6-multi-hop-packet-counter { - description "IPv4 multiple hop Packet counters"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container ipv6-single-hop-location-summaries { - description - "Table of summary information about BFD IPv6 - singlehop sessions per location"; - - list ipv6-single-hop-location-summary { - key "location-name"; - description - "Summary information for BFD IPv6 singlehop - sessions for location"; - leaf location-name { - type xr:Cisco-ios-xr-string; - description "Location Name"; - } - uses BFD-MGMT-BFD-LOC-INFORMATION; - } - } - - container label-counters { - description "Label Counters"; - - container label-packet-counters { - description "Table of Label Packet counters"; - - list label-packet-counter { - description "Interface Label Packet counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container ipv4bf-do-mplste-head-session-details { - description - "Table of detailed information about all IPv4 BFD - over MPLS-TE Head sessions in the System"; - - list ipv4bf-do-mplste-head-session-detail { - description - "Detailed information for a single IPv4 BFD over - MPLS-TE head session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-DETAIL; - } - } - - container relation-briefs { - description - "Table of brief information about all BFD - relations in the System"; - - list relation-brief { - description - "Brief information for relation of a single BFD - session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - uses BFD-MGMT-RELATION-BRIEF; - } - } - - container client-briefs { - description "Table of Brief information about BFD clients"; - - list client-brief { - key "name"; - description "Brief information of client"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Client Name"; - } - uses BFD-MGMT-CLIENT-BRIEF-INFORMATION; - } - } - - container ipv4bf-do-mplste-head-multi-paths { - description "IPv4 BFD over MPLS-TE Head multipath"; - - list ipv4bf-do-mplste-head-multi-path { - description "Label multipath table"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container relation-details { - description - "Table of detail information about all BFD - relations in the System"; - - list relation-detail { - description - "Detail information for relation of a single BFD - session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - uses BFD-MGMT-RELATION; - } - } - - container ipv4bf-do-mplste-tail-counters { - description "IPv4 BFD over MPLS-TE Counters"; - - container ipv4bf-do-mplste-tail-packet-counters { - description - "Table of IPv4 BFD over MPLS-TE Packet counters"; - - list ipv4bf-do-mplste-tail-packet-counter { - description - "Interface IPv4 BFD over MPLS-TE Packet - counters"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-PACKET-COUNT; - } - } - } - - container ipv6-single-hop-session-briefs { - description - "Table of brief information about all IPv6 - singlehop BFD sessions in the System"; - - list ipv6-single-hop-session-brief { - description - "Brief information for a single IPv6 singlehop - BFD session"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-SESSION-BRIEF; - } - } - - container ipv4bf-do-mplste-tail-multi-paths { - description "IPv4 BFD over MPLS-TE Tail multipath"; - - list ipv4bf-do-mplste-tail-multi-path { - description "Label multipath table"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf incoming-label { - type int32; - description "Incoming Label"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf fec-subgroup-id { - type int32; - description "FEC Subgroup ID"; - } - leaf feclspid { - type int32; - description "FEC LSP ID"; - } - leaf fec-tunnel-id { - type int32; - description "FEC Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "FEC Extended Tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address-no-zone; - description "FEC Source"; - } - leaf fec-destination { - type inet:ipv4-address-no-zone; - description "FEC Destination"; - } - leaf fecp2mpid { - type int32; - description "FEC P2MP ID"; - } - leaf fec-subgroup-originator { - type inet:ipv4-address-no-zone; - description "FEC Subgroup originator"; - } - leaf fec-ctype { - type int32; - description "FEC C Type"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4-multi-hop-multi-paths { - description "IPv4 multi-hop multipath"; - - list ipv4-multi-hop-multi-path { - description "IPv4 multi hop multipath table"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination Address"; - } - leaf location { - type xr:Node-id; - description "Location"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses BFD-MGMT-MULTIPLE-PATHS; - } - } - - container ipv4bf-do-mplste-head-summary { - description - "Summary information of IPv4 BFD over MPLS-TE - Head"; - uses BFD-MGMT-BFD-INFORMATION; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-cfg.yang deleted file mode 100644 index 27ab618..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-cfg.yang +++ /dev/null @@ -1,298 +0,0 @@ -module Cisco-IOS-XR-ip-daps-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg"; - - - prefix "ip-daps-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-daps package configuration. - - This module contains definitions - for the following management objects: - address-pool-service: Address Pool configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container address-pool-service { - description "Address Pool configuration data"; - - container vrfs { - description "Enter VRF specific config mode"; - - list vrf { - key "vrf-name"; - description "Specify VRF Name"; - - container ipv6 { - description "Enter IPv6 specific mode"; - - container pools { - description "IPv6 Pool Name"; - - list pool { - key "ipv6-pool-name"; - description "Enter the IPv6 Pool name"; - - container address-ranges { - description "Specify address range for allocation"; - - list address-range { - key "start-address"; - description "None"; - leaf start-address { - type inet:ip-address-no-zone; - description "Start address of the range"; - } - leaf blocked { - type int32; - description "Blocked flag"; - } - leaf end-address { - type inet:ip-address-no-zone; - mandatory true; - description "End Address of the range"; - } - } - } - - container excludes { - description "Exclude IPv6 addresses / prefixes"; - - list exclude { - key "start-address"; - description "None"; - leaf start-address { - type inet:ip-address-no-zone; - description - "First Address in IPv6 exclude range"; - } - leaf end-address { - type inet:ip-address-no-zone; - mandatory true; - description "Last address in exclude Range"; - } - } - } - - container utilization-mark { - description "Specify utilization mark"; - leaf high-mark { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "Specify numerical value as percentage"; - } - leaf low-mark { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "Specify numerical value as percentage"; - } - } - - container prefix-ranges { - description "Specify prefix range for allocation"; - - list prefix-range { - key "start-prefix"; - description "None"; - leaf start-prefix { - type inet:ip-address-no-zone; - description "First prefix of range"; - } - leaf blocked { - type int32; - description "Blocked flag"; - } - leaf end-prefix { - type inet:ip-address-no-zone; - mandatory true; - description "Last prefix of range"; - } - } - } - - container networks { - description "Specify network for allocation"; - - list network { - key "prefix"; - description "None"; - leaf prefix { - type inet:ip-address-no-zone; - description "None"; - } - leaf blocked { - type int32; - description "Blocked flag"; - } - leaf prefix-length { - type uint32 { - range "1..128"; - } - mandatory true; - description "Prefix length for the IPv6 Prefix"; - } - } - } - leaf prefix-length { - type uint32 { - range "1..128"; - } - description "Enter the prefix-length for the Pool"; - } - leaf ipv6-pool-name { - type xr:Cisco-ios-xr-string; - description "Enter the IPv6 Pool name"; - } - } - } - } - - container ipv4 { - description "Enter IPv4 specific configuration"; - - container pools { - description "IPv4 Pool Table"; - - list pool { - key "pool-name"; - description "IPv4 Pool name"; - - container address-ranges { - description "address range for allocation"; - - list address-range { - key "start-address"; - description "Specify first address in range"; - leaf start-address { - type inet:ipv4-address-no-zone; - description - "Specify first address of the range"; - } - leaf end-address { - type inet:ip-address-no-zone; - mandatory true; - description "Last address of the range"; - } - leaf blocked { - type int32; - description "Blocked flag"; - } - } - } - - container excludes { - description "Exclude addresses"; - - list exclude { - key "start-address"; - description "First address in range"; - leaf start-address { - type inet:ipv4-address-no-zone; - description "First address in exclude range"; - } - leaf end-address { - type inet:ip-address-no-zone; - mandatory true; - description "Last address in excluded range"; - } - } - } - - container utilization-mark { - description "Specify utilization mark"; - leaf high { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "Specify numerical value as percentage"; - } - leaf low { - type uint32 { - range "0..100"; - } - units "percentage"; - description - "Specify numerical value as percentage"; - } - } - - container networks { - description "Specify network for allocation"; - - list network { - key "ipv4-prefix"; - description "Network Prefix"; - leaf ipv4-prefix { - type inet:ip-address-no-zone; - description "None"; - } - leaf blocked { - type int32; - description "Blocked flag"; - } - leaf prefix-length { - type int32; - mandatory true; - description "Subnet Length for IPv4 subnet"; - } - leaf default-router { - type inet:ipv4-address-no-zone; - description "Default Gateway for IPv4 subnet"; - } - } - } - leaf pool-name { - type xr:Cisco-ios-xr-string; - description "Enter the IPv4 Pool name"; - } - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "none"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-mib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-mib-cfg.yang deleted file mode 100644 index 12fcc21..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-mib-cfg.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-ip-daps-mib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg"; - - - prefix "ip-daps-mib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-daps-mib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container addresspool-mib { - description "Enable SNMP daps traps"; - leaf high { - type boolean; - description "Enable SNMP Address Pool High Threshold trap"; - } - leaf low { - type boolean; - description "Enable SNMP Address Pool Low Threshold trap"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper-sub1.yang deleted file mode 100644 index 502623c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper-sub1.yang +++ /dev/null @@ -1,438 +0,0 @@ -submodule Cisco-IOS-XR-ip-daps-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-daps-oper { - prefix Cisco-IOS-XR-ip-daps-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-daps package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Daps-client { - type enumeration { - enum none { - value 0; - description "Client type is None"; - } - enum ppp { - value 1; - description "Client type is PPP"; - } - enum dhcp { - value 2; - description "Client type is DHCP"; - } - enum dhcpv6 { - value 4; - description "Client type is DHCPv6"; - } - enum ipv6nd { - value 5; - description "Client type is IPv6ND"; - } - } - description "DAPS client types"; - } - typedef Ipv6-addr { - type inet:ipv6-address; - description "Ipv6 addr"; - } - typedef Ip-addr { - type enumeration { - enum ipv4 { - value 2; - description "IPv4 address"; - } - enum ipv6 { - value 10; - description "IPv6 address"; - } - } - description "Address type"; - } - - grouping DAPS-VRF-POOL-INFO { - description "VRF pool information"; - leaf pool-name { - type string { - length "0..64"; - } - description "Pool name"; - } - leaf vrf-name { - type string { - length "0..64"; - } - description "VRF name"; - } - leaf used { - type uint32; - description "Used allocations"; - } - leaf excluded { - type uint32; - description "Excluded allocations"; - } - leaf free { - type uint32; - description "Free allocations"; - } - leaf total { - type uint32; - description "Total allocations"; - } - } - - grouping DAPS-VRF-ALLOCATION-SUMMARY { - description "VRF allocation summary"; - leaf used { - type uint32; - description "Used allocations"; - } - leaf excluded { - type uint32; - description "Excluded allocations"; - } - leaf free { - type uint32; - description "Free allocations"; - } - leaf total { - type uint32; - description "Total allocations"; - } - leaf high-utilization-threshold { - type uint8; - units "percentage"; - description "High utilization threshold in percentage"; - } - leaf low-utilization-threshold { - type uint8; - units "percentage"; - description "Low utilization threshold in percentage"; - } - leaf utilization { - type uint8; - units "percentage"; - description "Current utilization in percentage"; - } - } - - grouping DAPS-VRF-INFO { - description " VRF information"; - - container allocation-summary { - description "Allocation summary"; - uses DAPS-VRF-ALLOCATION-SUMMARY; - } - - list pools { - description "Pools data"; - uses DAPS-VRF-POOL-INFO; - } - } - - grouping IP-DAPS-SHOW-POOL-TOTAL-UTIL { - description "IP DAPS pool total utilization"; - leaf total-utilization-high-mark { - type uint8; - description "High utilization mark"; - } - leaf total-utilization-low-mark { - type uint8; - description "Low utilization mark"; - } - leaf current-total-utilization { - type uint8; - description "Current utilization"; - } - } - - grouping IP-DAPS-SHOW-POOL-CFG { - description "IP DAPS pool configuration"; - leaf pool-name { - type string { - length "0..64"; - } - description "Pool name"; - } - leaf pool-id { - type uint32; - description "Pool ID for MIBS"; - } - leaf vrf-name { - type string { - length "0..64"; - } - description "VRF name"; - } - leaf pool-scope { - type string { - length "0..64"; - } - description "Pool Scope"; - } - leaf pool-prefix-length { - type uint32; - description "Prefix length"; - } - leaf high-utilization-mark { - type uint8; - description "High utilization mark"; - } - leaf low-utilization-mark { - type uint8; - description "Low utilization mark"; - } - leaf current-utilization { - type uint8; - description "Current utilization"; - } - leaf utilization-high-count { - type uint32; - description - "Number of times High utilization threshold was - crossed"; - } - leaf utilization-low-count { - type uint32; - description - "Number of times Low utilization threshold was - crossed"; - } - } - - grouping DAPS-POOL-IN-USE-ADDRESS { - description "In-use address data"; - - container address { - description "Client address"; - uses IP-ADDR-ST; - } - leaf client-type { - type Daps-client; - description "Client type"; - } - } - - grouping DAPS-POOL-RANGE { - description "Pool address range data"; - - container start-address { - description "Range start"; - uses IP-ADDR-ST; - } - - container end-address { - description "Range end"; - uses IP-ADDR-ST; - } - leaf used { - type uint32; - description "Used allocations"; - } - leaf excluded { - type uint32; - description "Excluded allocations"; - } - leaf free { - type uint32; - description "Free allocations"; - } - } - - grouping DAPS-POOL-THRESHOLD { - description "Pool threshold information"; - leaf threshold { - type uint32; - units "percentage"; - description "Threshold in percentage"; - } - leaf triggers { - type uint32; - description "Number of Triggers"; - } - leaf time-last-crossed { - type string; - description - "Last time at which threshold crossed in DDD MMM - DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 - 2011"; - } - } - - grouping DAPS-POOL-ALLOCATIONS { - description "Pool allocations data"; - - container high-threshold { - description "High threshold data"; - uses DAPS-POOL-THRESHOLD; - } - - container low-threshold { - description "Low threshold data"; - uses DAPS-POOL-THRESHOLD; - } - leaf vrf-name { - type string { - length "0..64"; - } - description "VRF name"; - } - leaf used { - type uint32; - description "Used allocations"; - } - leaf excluded { - type uint32; - description "Excluded allocations"; - } - leaf free { - type uint32; - description "Free allocations"; - } - leaf total { - type uint32; - description "Total allocations"; - } - leaf utilization { - type uint32; - units "percentage"; - description "Current utilization in percentage"; - } - } - - grouping DAPS-POOL-DETAIL { - description "Pool data"; - - container pool-allocations { - description "Pool allocations"; - uses DAPS-POOL-ALLOCATIONS; - } - - list address-range { - description "Address ranges"; - uses DAPS-POOL-RANGE; - } - - list in-use-address { - description "In-use addresses"; - uses DAPS-POOL-IN-USE-ADDRESS; - } - } - - grouping IP-ADDR-UN { - description "Daps Address"; - leaf address-family { - type Ip-addr; - description "AddressFamily"; - } - leaf ipv4-address { - when "../address-family = 'ipv4'" { - description "../AddressFamily = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../address-family = 'ipv6'" { - description "../AddressFamily = 'IPv6'"; - } - type Ipv6-addr; - description "IPv6 address"; - } - } - - grouping IP-ADDR-ST { - description "IP address information"; - - container address { - description "Address"; - uses IP-ADDR-UN; - } - } - - grouping IP-DAPS-SHOW-POOL-BRIEF { - description "IP DAPS pool parameters"; - - container start-address-xr { - description "Range start"; - uses IP-ADDR-ST; - } - - container end-address { - description "Range end"; - uses IP-ADDR-ST; - } - - container default-router { - description "Default router"; - uses IP-ADDR-ST; - } - leaf pool-name { - type string { - length "0..64"; - } - description "Pool name"; - } - leaf vrf-name { - type string { - length "0..64"; - } - description "VRF name"; - } - leaf pool-scope { - type string { - length "0..64"; - } - description "Pool scope"; - } - leaf allocated-addresses { - type uint32; - description "Number of addresses allocated"; - } - leaf free-addresses { - type uint32; - description "Number of addresses free"; - } - leaf excluded-addresses { - type uint32; - description "Number of addresses excluded"; - } - leaf network-blocked-status { - type uint32; - description "Is network blocked"; - } - leaf network-blocked-status-trp { - type uint32; - description "Is network blocked trap send"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper.yang deleted file mode 100644 index 831f255..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-daps-oper.yang +++ /dev/null @@ -1,134 +0,0 @@ -module Cisco-IOS-XR-ip-daps-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper"; - - - prefix "ip-daps-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-daps-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-daps package operational data. - - This module contains definitions - for the following management objects: - address-pool-service: Pool operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container address-pool-service { - config false; - description "Pool operational data"; - - container nodes { - description "Pool operational data for a particular location"; - - list node { - key "node-name"; - description "Location. For eg., 0/1/CPU0"; - - container pools { - description "List of IPv4/IPv6 pool data"; - - list pool { - key "pool-name"; - description "Pool data by pool name"; - - container address-ranges { - description "Summary info for pool"; - - list address-range { - key "start-address"; - description "Start Address of the Range"; - leaf start-address { - type inet:ip-address-no-zone; - description "IP Address"; - } - uses IP-DAPS-SHOW-POOL-BRIEF; - } - } - - container allocated-addresses { - description "Detailed info for the Pool"; - uses DAPS-POOL-DETAIL; - } - - container configuration { - description "Configuration info for pool"; - uses IP-DAPS-SHOW-POOL-CFG; - } - leaf pool-name { - type xr:Cisco-ios-xr-string; - description "The pool name"; - } - } - } - - container total-utilization { - description "Show total utilization for pool"; - uses IP-DAPS-SHOW-POOL-TOTAL-UTIL; - } - - container vrfs { - description "Pool VRF data"; - - list vrf { - key "vrf-name"; - description "VRF level Pool information"; - - container ipv4 { - description "IPv4 pool VRF data"; - uses DAPS-VRF-INFO; - } - - container ipv6 { - description "IPv6 Pool VRF data"; - uses DAPS-VRF-INFO; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "The VRF name"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-cfg.yang deleted file mode 100644 index 6bfceb4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-cfg.yang +++ /dev/null @@ -1,169 +0,0 @@ -module Cisco-IOS-XR-ip-domain-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg"; - - - prefix "ip-domain-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-domain package configuration. - - This module contains definitions - for the following management objects: - ip-domain: IP domain configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-05-13" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ip-domain { - description "IP domain configuration"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF specific data"; - - container ipv6-hosts { - description "IPv6 host"; - - list ipv6-host { - key "host-name"; - description "Host name and up to 4 host IPv6 addresses"; - leaf host-name { - type string; - description "A hostname"; - } - leaf-list address { - type inet:ipv6-address-no-zone; - min-elements "1"; - max-elements "4"; - description "Host IPv6 addresses"; - } - } - } - - container servers { - description "Name server addresses"; - - list server { - key "order server-address"; - description "Name server address"; - leaf order { - type int32; - description - "This is used to sort the servers in the - order of precedence"; - } - leaf server-address { - type inet:ip-address-no-zone; - description "A name server address"; - } - } - } - - container lists { - description - "Domain names to complete unqualified host - names"; - - list list { - key "order list-name"; - description - "Domain name to complete unqualified host - names"; - leaf order { - type int32; - description - "This is used to sort the names in the order - of precedence"; - } - leaf list-name { - type xr:Cisco-ios-xr-string; - description "A domain name"; - } - } - } - - container ipv4-hosts { - description "IPv4 host"; - - list ipv4-host { - key "host-name"; - description "Host name and up to 8 host IPv4 addresses"; - leaf host-name { - type string; - description "A hostname"; - } - leaf-list address { - type inet:ipv4-address-no-zone; - min-elements "1"; - max-elements "8"; - description "Host IPv4 addresses"; - } - } - } - leaf lookup { - type empty; - description - "Disable Domain Name System hostname - translation"; - } - leaf multicast-domain { - type string; - description "Default multicast domain name"; - } - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - connections"; - } - leaf name { - type string; - description "Default domain name"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF instance"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper-sub1.yang deleted file mode 100644 index 8b903b9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper-sub1.yang +++ /dev/null @@ -1,164 +0,0 @@ -submodule Cisco-IOS-XR-ip-domain-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-domain-oper { - prefix Cisco-IOS-XR-ip-domain-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-domain package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-09-29" { - description - "IOS XR 6.0.0 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef String1 { - type string { - length "0..256"; - } - description "String1"; - } - typedef Domain-ipv6-address { - type inet:ipv6-address; - description "Domain ipv6 address"; - } - identity Host-address-base { - description "Base identity for Host-address"; - } - identity ipv4 { - base Host-address-base; - description "IPv4 family address"; - } - identity ipv6 { - base Host-address-base; - description "IPv6 family address"; - } - typedef Host-address { - type identityref { - base Host-address-base; - } - description "Host Address Type"; - } - typedef Server-domain-lkup { - type enumeration { - enum static-mapping { - value 0; - description "Static mapping"; - } - enum domain-service { - value 1; - description "Domain service"; - } - } - description "Domain look up"; - } - - grouping DOMAIN-HOST-ALIAS-BAG { - description "Domain host alias"; - leaf-list host-alias { - type String1; - description "Host alias list"; - } - } - - grouping DOMAIN-SH-HOSTS-BAG { - description "Domain hosts"; - - container host-alias-list { - description "Host alias"; - uses DOMAIN-HOST-ALIAS-BAG; - } - leaf af-name { - type Host-address; - description "Address type"; - } - leaf age { - type uint16; - units "hour"; - description "Age in hours"; - } - - list host-address { - description "Host address list"; - uses DOMAIN-IPADDRESS; - } - } - - grouping DOMAIN-IPADDRESS { - description "IP Address"; - leaf af-name { - type Host-address; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Domain-ipv6-address; - description "IPv6 address"; - } - } - - grouping DOMAIN-SH-SERVER-BAG { - description "Domain servers"; - leaf domain-lookup { - type Server-domain-lkup; - description "Domain lookup"; - } - leaf domain-name { - type string { - length "0..256"; - } - description "Domain name"; - } - leaf-list domain { - type String1; - description "Domain list"; - } - - list server-address { - description "Server address list"; - uses DOMAIN-IPADDRESS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper.yang deleted file mode 100644 index b1e4f81..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-domain-oper.yang +++ /dev/null @@ -1,98 +0,0 @@ -module Cisco-IOS-XR-ip-domain-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper"; - - - prefix "ip-domain-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-domain-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-domain package operational data. - - This module contains definitions - for the following management objects: - ip-domain: Domain server and host data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-09-29" { - description - "IOS XR 6.0.0 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ip-domain { - config false; - description "Domain server and host data"; - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "VRF instance"; - - container server { - description "Domain server data"; - uses DOMAIN-SH-SERVER-BAG; - } - - container hosts { - description "List of domain hosts"; - - list host { - key "host-name"; - description - "IP domain-name, lookup style, nameservers for - specific host"; - leaf host-name { - type string; - description "Hostname"; - } - uses DOMAIN-SH-HOSTS-BAG; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-cfg.yang deleted file mode 100644 index b15c878..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-cfg.yang +++ /dev/null @@ -1,109 +0,0 @@ -module Cisco-IOS-XR-ip-iarm-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg"; - - - prefix "ip-iarm-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm package configuration. - - This module contains definitions - for the following management objects: - ip-arm: IP Address Repository Manager (IPv4/IPv6 ARM) - configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ip-arm-conflict-policy { - type enumeration { - enum lowest-rack-slot { - value 0; - description "Lowest Rack/Slot"; - } - enum static { - value 1; - description "UP interfaces unaffected"; - } - enum longest-prefix { - value 2; - description "Longest Prefix"; - } - enum highest-ip { - value 4; - description "Highest IP"; - } - } - description "Ip arm conflict policy"; - } - - grouping CONFLICT-POLICY-TABLE { - description "Common node of ipv4, ipv6"; - - container conflict-policy-table { - description "IP ARM conflict policy configuration"; - leaf conflict-policy { - type Ip-arm-conflict-policy; - description "IP ARM conflict policy value definitions"; - } - } - } - - grouping MULTICAST-HOST { - description "Common node of ipv4, ipv6"; - - container multicast-host { - description "IP ARM Multicast Host configuration"; - leaf multicast-host-interface { - type xr:Interface-name; - description "Default multicast host interface name"; - } - } - } - - container ip-arm { - description - "IP Address Repository Manager (IPv4/IPv6 ARM) - configuration data"; - - container ipv4 { - description "IPv4 ARM configuration"; - uses CONFLICT-POLICY-TABLE; - uses MULTICAST-HOST; - } - - container ipv6 { - description "IPv6 ARM configuration"; - uses CONFLICT-POLICY-TABLE; - uses MULTICAST-HOST; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-datatypes.yang deleted file mode 100644 index 2d25b04..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-datatypes.yang +++ /dev/null @@ -1,46 +0,0 @@ -module Cisco-IOS-XR-ip-iarm-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ip-iarm-datatypes"; - - - prefix "ip-iarm-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ipv6arm-prefix-length { - type uint32 { - range "0..128"; - } - description "Ipv6arm prefix length"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang deleted file mode 100644 index 89a9298..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang +++ /dev/null @@ -1,215 +0,0 @@ -submodule Cisco-IOS-XR-ip-iarm-v4-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-iarm-v4-oper { - prefix Cisco-IOS-XR-ip-iarm-v4-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm-v4 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef String1 { - type string; - description "String1"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - - grouping IP-ARM-EDM-DB-RTRID-BAG-TYPE { - description "Router-id information by VRF"; - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID"; - } - } - - grouping IP-ARM-EDM-DB-VRF-BAG-TYPE { - description "VRF summary information"; - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - } - - grouping IP-ARM-EDM-SUMMARY-BAG-TYPE { - description "IP-ARM summary information"; - leaf producer-count { - type int32; - description "Number of producers"; - } - leaf address-conflict-count { - type int32; - description "Number of address conflicts"; - } - leaf unnumbered-conflict-count { - type int32; - description "Number of unnumbered interface conflicts"; - } - leaf db-master-version { - type uint32; - description "IP-ARM DB master version"; - } - leaf vrf-count { - type int32; - description "Number of known VRFs"; - } - } - - grouping IP-ARM-EDM-DB-IF-BAG-TYPE { - description "Database information by interface"; - leaf referenced-interface { - type String1; - description - "Referenced Interface - only valid for an - unnumbered interface"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - - list address { - description "Address info"; - uses IP-ARM-EDM-ADDR-TYPE; - } - } - - grouping ARM-ADDRTYPE { - description "ARM ADDRTYPE"; - leaf afi { - type int32; - description "AFI"; - } - leaf ipv4-address { - when "../afi = '2'" { - description "../AFI = '2'"; - } - type inet:ipv4-address; - description "IPV4 Address"; - } - leaf ipv6-address { - when "../afi = '10'" { - description "../AFI = '10'"; - } - type Ipv6-address; - description "IPV6 Address"; - } - } - - grouping IP-ARM-EDM-ADDR-TYPE { - description "IP ARM EDM ADDR TYPE"; - - container address { - description "Address"; - uses ARM-ADDRTYPE; - } - leaf prefix-length { - type uint32; - description "Prefix length"; - } - leaf route-tag { - type uint32; - description "Route Tag of the address"; - } - leaf is-primary { - type boolean; - description - "Is address primary - valid only for IPv4 - addresses"; - } - leaf is-tentative { - type boolean; - description - "Is address valid/tentative - valid only for IPV6 - addresses"; - } - leaf is-prefix-sid { - type boolean; - description - "Is prefix_sid valid - valid only for IPV6 - addresses"; - } - leaf producer { - type string; - description "Producer Name"; - } - } - - grouping IP-ARM-EDM-DB-NET-BAG-TYPE { - description "Database information by network"; - - container address-xr { - description "Address info"; - uses IP-ARM-EDM-ADDR-TYPE; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf referenced-interface { - type String1; - description - "Referenced Interface - only valid for an - unnumbered interface"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper.yang deleted file mode 100644 index b928364..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v4-oper.yang +++ /dev/null @@ -1,160 +0,0 @@ -module Cisco-IOS-XR-ip-iarm-v4-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper"; - - - prefix "ip-iarm-v4-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-iarm-v4-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm-v4 package operational data. - - This module contains definitions - for the following management objects: - ipv4arm: IPv4 Address Repository Manager (IPv4 ARM) - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv4arm-prefix-length { - type uint32 { - range "0..32"; - } - description "Ipv4arm prefix length"; - } - - container ipv4arm { - config false; - description - "IPv4 Address Repository Manager (IPv4 ARM) - operational data"; - - container addresses { - description "IPv4 ARM address database information"; - - container vrfs { - description "IPv4 ARM address database information per VRF"; - - list vrf { - key "vrf-name"; - description - "IPv4 ARM address database information in a VRF"; - - container networks { - description - "IPv4 ARM address database information by - network"; - - list network { - description "An IPv4 Address in IPv4 ARM"; - leaf address { - type inet:ipv4-address-no-zone; - description "Address"; - } - leaf prefix-length { - type Ipv4arm-prefix-length; - description "Prefix Length"; - } - leaf handle { - type xr:Interface-name; - description "Interface"; - } - uses IP-ARM-EDM-DB-NET-BAG-TYPE; - } - } - - container interfaces { - description - "IPv4 ARM address database information by - interface"; - - list interface { - key "interface"; - description "An IPv4 address in IPv4 ARM"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses IP-ARM-EDM-DB-IF-BAG-TYPE; - } - } - leaf vrf-name { - type string; - description "VRF name"; - } - } - } - } - - container summary { - description "IPv4 ARM summary information"; - uses IP-ARM-EDM-SUMMARY-BAG-TYPE; - } - - container vrf-summaries { - description "IPv4 ARM VRFs summary information"; - - list vrf-summary { - key "vrf-name"; - description "IPv4 ARM VRF summary information"; - leaf vrf-name { - type string; - description "VRF name"; - } - uses IP-ARM-EDM-DB-VRF-BAG-TYPE; - } - } - - container router-id { - description "IPv4 ARM Router ID information"; - uses IP-ARM-EDM-DB-RTRID-BAG-TYPE; - } - leaf multicast-host-interface { - type xr:Interface-name; - description "Default multicast host interface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang deleted file mode 100644 index 820d62f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang +++ /dev/null @@ -1,195 +0,0 @@ -submodule Cisco-IOS-XR-ip-iarm-v6-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-iarm-v6-oper { - prefix Cisco-IOS-XR-ip-iarm-v6-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm-v6 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef String1 { - type string; - description "String1"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - - grouping IP-ARM-EDM-DB-VRF-BAG-TYPE { - description "VRF summary information"; - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - } - - grouping IP-ARM-EDM-SUMMARY-BAG-TYPE { - description "IP-ARM summary information"; - leaf producer-count { - type int32; - description "Number of producers"; - } - leaf address-conflict-count { - type int32; - description "Number of address conflicts"; - } - leaf unnumbered-conflict-count { - type int32; - description "Number of unnumbered interface conflicts"; - } - leaf db-master-version { - type uint32; - description "IP-ARM DB master version"; - } - leaf vrf-count { - type int32; - description "Number of known VRFs"; - } - } - - grouping IP-ARM-EDM-DB-IF-BAG-TYPE { - description "Database information by interface"; - leaf referenced-interface { - type String1; - description - "Referenced Interface - only valid for an - unnumbered interface"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - - list address { - description "Address info"; - uses IP-ARM-EDM-ADDR-TYPE; - } - } - - grouping ARM-ADDRTYPE { - description "ARM ADDRTYPE"; - leaf afi { - type int32; - description "AFI"; - } - leaf ipv4-address { - when "../afi = '2'" { - description "../AFI = '2'"; - } - type inet:ipv4-address; - description "IPV4 Address"; - } - leaf ipv6-address { - when "../afi = '10'" { - description "../AFI = '10'"; - } - type Ipv6-address; - description "IPV6 Address"; - } - } - - grouping IP-ARM-EDM-ADDR-TYPE { - description "IP ARM EDM ADDR TYPE"; - - container address { - description "Address"; - uses ARM-ADDRTYPE; - } - leaf prefix-length { - type uint32; - description "Prefix length"; - } - leaf route-tag { - type uint32; - description "Route Tag of the address"; - } - leaf is-primary { - type boolean; - description - "Is address primary - valid only for IPv4 - addresses"; - } - leaf is-tentative { - type boolean; - description - "Is address valid/tentative - valid only for IPV6 - addresses"; - } - leaf is-prefix-sid { - type boolean; - description - "Is prefix_sid valid - valid only for IPV6 - addresses"; - } - leaf producer { - type string; - description "Producer Name"; - } - } - - grouping IP-ARM-EDM-DB-NET-BAG-TYPE { - description "Database information by network"; - - container address-xr { - description "Address info"; - uses IP-ARM-EDM-ADDR-TYPE; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf referenced-interface { - type String1; - description - "Referenced Interface - only valid for an - unnumbered interface"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper.yang deleted file mode 100644 index db70ef9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-v6-oper.yang +++ /dev/null @@ -1,155 +0,0 @@ -module Cisco-IOS-XR-ip-iarm-v6-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper"; - - - prefix "ip-iarm-v6-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-iarm-v6-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm-v6 package operational data. - - This module contains definitions - for the following management objects: - ipv6arm: IPv6 Address Repository Manager (IPv6 ARM) - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6arm-prefix-length { - type uint32 { - range "0..128"; - } - description "Ipv6arm prefix length"; - } - - container ipv6arm { - config false; - description - "IPv6 Address Repository Manager (IPv6 ARM) - operational data"; - - container addresses { - description "IPv6 ARM address database information"; - - container vrfs { - description "IPv6 ARM address database information per VRF"; - - list vrf { - key "vrf-name"; - description - "IPv6 ARM address database information in a VRF"; - - container networks { - description - "IPv6 ARM address database information by - network"; - - list network { - description "An IPv6 Address in IPv6 ARM"; - leaf address { - type inet:ipv6-address-no-zone; - description "Address"; - } - leaf prefix-length { - type Ipv6arm-prefix-length; - description "Prefix Length"; - } - leaf handle { - type xr:Interface-name; - description "Interface"; - } - uses IP-ARM-EDM-DB-NET-BAG-TYPE; - } - } - - container interfaces { - description - "IPv6 ARM address database information by - interface"; - - list interface { - key "interface"; - description "An IPv6 address in IPv6 ARM"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses IP-ARM-EDM-DB-IF-BAG-TYPE; - } - } - leaf vrf-name { - type string; - description "VRF name"; - } - } - } - } - - container summary { - description "IPv6 ARM summary information"; - uses IP-ARM-EDM-SUMMARY-BAG-TYPE; - } - - container vrf-summaries { - description "IPv6 ARM VRFs summary information"; - - list vrf-summary { - key "vrf-name"; - description "IPv6 ARM VRF summary information"; - leaf vrf-name { - type string; - description "VRF name"; - } - uses IP-ARM-EDM-DB-VRF-BAG-TYPE; - } - } - leaf multicast-host-interface { - type xr:Interface-name; - description "Default multicast host interface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang deleted file mode 100644 index 05864a9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang +++ /dev/null @@ -1,75 +0,0 @@ -module Cisco-IOS-XR-ip-iarm-vrf-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg"; - - - prefix "ip-iarm-vrf-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-infra-rsi-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iarm-vrf package configuration. - - This YANG module augments the - Cisco-IOS-XR-infra-rsi-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping INTERFACE { - description "Common node of ipv4, ipv6"; - leaf interface { - type xr:Interface-name; - description "Default multicast host interface name"; - } - } - - augment "/a1:vrfs/a1:vrf" { - - container multicast-host { - description "Multicast host stack configuration"; - - container ipv4 { - description "IPv4 configuration"; - uses INTERFACE; - } - - container ipv6 { - description "IPv6 configuration"; - uses INTERFACE; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-rsi-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-icmp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-icmp-cfg.yang deleted file mode 100644 index afc289f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-icmp-cfg.yang +++ /dev/null @@ -1,113 +0,0 @@ -module Cisco-IOS-XR-ip-icmp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg"; - - - prefix "ip-icmp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-icmp package configuration. - - This module contains definitions - for the following management objects: - icmp: IP ICMP configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-08" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Source-policy { - type enumeration { - enum vrf { - value 1; - description "Set Source Selection Policy to vrf"; - } - enum rfc { - value 2; - description "Set Source Selection Policy to rfc"; - } - } - description "Source policy"; - } - - grouping SOURCE { - description "Common node of ipv4, ipv6"; - - container source { - description "IP ICMP Source Address Selection Policy"; - leaf source-address-policy { - type Source-policy; - description "Configure Source Address Policy"; - } - } - } - - grouping RATE-LIMIT { - description "Common node of ipv4, ipv6"; - - container rate-limit { - description "Set ratelimit of ICMP packets"; - - container unreachable { - description "Set unreachable ICMP packets ratelimit"; - leaf rate { - type uint32 { - range "0..4294967295"; - } - description "Rate Limit of Unreachable ICMP packets"; - } - leaf fragmentation { - type uint32 { - range "0..4294967295"; - } - description "Rate Limit of Unreachable DF packets"; - } - } - } - } - - container icmp { - description "IP ICMP configuration data"; - - container ipv6 { - description "IP Protocol Type"; - uses RATE-LIMIT; - uses SOURCE; - } - - container ipv4 { - description "IP Protocol Type"; - uses RATE-LIMIT; - uses SOURCE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-cfg.yang deleted file mode 100644 index 6bf8da1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-cfg.yang +++ /dev/null @@ -1,208 +0,0 @@ -module Cisco-IOS-XR-ip-iep-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg"; - - - prefix "ip-iep-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iep package configuration. - - This module contains definitions - for the following management objects: - ip-explicit-paths: IP Explicit Path config data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ip-iep-num { - type enumeration { - enum unnumbered { - value 1; - description "Unnumbered"; - } - enum numbered { - value 2; - description "Numbered"; - } - } - description "Ip iep num"; - } - typedef Ip-iep-hop { - type enumeration { - enum next-strict { - value 2; - description "NextStrict"; - } - enum next-loose { - value 3; - description "NextLoose"; - } - enum exclude { - value 4; - description "Exclude"; - } - enum exclude-srlg { - value 5; - description "Exclude Shared Risk Link Group"; - } - enum next-label { - value 6; - description "NextLabel"; - } - } - description "Ip iep hop"; - } - typedef Ip-iep-path { - type enumeration { - enum identifier { - value 1; - description "Identifier"; - } - enum name { - value 2; - description "Name"; - } - } - description "Ip iep path"; - } - - container ip-explicit-paths { - description "IP Explicit Path config data"; - - container paths { - description "A list of explicit paths"; - - list path { - must "name or identifier" { - description "Name or Identifier must be present."; - } - key "type"; - description "Config data for a specific explicit path"; - - grouping PATH-CONTENT { - description "PATH CONTENT"; - - container hops { - description "List of Hops"; - - list hop { - key "index-number"; - description "Hop Information"; - leaf index-number { - type uint32 { - range "1..65535"; - } - description "Index number"; - } - leaf ip-address { - when "../hop-type != 'next-label'" { - description "../HopType != NextLabel"; - } - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "IP address of the hop"; - } - leaf hop-type { - type Ip-iep-hop; - default "next-strict"; - description - "Include or exclude this hop in the path"; - } - leaf if-index { - when "../hop-type != 'next-label'" { - description "../HopType != NextLabel"; - } - type int32; - default "0"; - description "Ifindex value"; - } - leaf num-type { - when "../hop-type != 'next-label'" { - description "../HopType != NextLabel"; - } - type Ip-iep-num; - default "numbered"; - description "Number type Numbered or Unnumbered"; - } - leaf mpls-label { - when "../hop-type = 'next-label'" { - description "../HopType = NextLabel"; - } - type uint32 { - range "0..1048575"; - } - description "MPLS Label"; - } - } - } - leaf disable { - type empty; - description "Disable the explicit path"; - } - } - leaf type { - type Ip-iep-path; - description "Path type"; - } - - list name { - when "../type = 'name'" { - description "../Type = Name"; - } - key "name"; - description "name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Path name"; - } - uses PATH-CONTENT; - } - - list identifier { - when "../type = 'identifier'" { - description "../Type = Identifier"; - } - key "id"; - description "identifier"; - leaf id { - type uint32 { - range "1..65535"; - } - description "Path identifier"; - } - uses PATH-CONTENT; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper-sub1.yang deleted file mode 100644 index d1b46b5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper-sub1.yang +++ /dev/null @@ -1,121 +0,0 @@ -submodule Cisco-IOS-XR-ip-iep-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-iep-oper { - prefix Cisco-IOS-XR-ip-iep-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-iep package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Iep-hop { - type enumeration { - enum strict { - description "Hop type is strict"; - } - enum loose { - description "Hop type is loose"; - } - } - description "Hop types of the next-address configured"; - } - typedef Iep-address { - type enumeration { - enum next { - description "Address type is next"; - } - enum exclude { - description "Address type is exclude"; - } - enum exclude-srlg { - description "Address type is exclude SRLG"; - } - } - description "Address types"; - } - typedef Iep-status { - type enumeration { - enum enabled { - description "Status is enabled"; - } - enum disabled { - description "Status is disabled"; - } - } - description "Status of the path"; - } - - grouping IEP-IP-ADDRESS-ENTRY { - description "IP address configured in the explicit path"; - leaf index { - type uint32; - description - "Index number at which the path entry is inserted - or modified"; - } - leaf if-index { - type uint32; - description "Interface Index of the path"; - } - leaf address-type { - type Iep-address; - description "Specifies the address type"; - } - leaf hop-type { - type Iep-hop; - description - "Specifies the next unicast address in the path - as a strict or loose hop"; - } - leaf address { - type inet:ipv4-address; - description "IPv4 unicast address"; - } - leaf mpls-label { - type uint32; - description "MPLS label"; - } - } - - grouping IEP-EXPLICIT-PATH { - description "Explicit path details"; - leaf status { - type Iep-status; - description "Status of the path"; - } - - list address { - description - "List of IP addresses configured in the explicit - path"; - uses IEP-IP-ADDRESS-ENTRY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper.yang deleted file mode 100644 index 0900699..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-iep-oper.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-ip-iep-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper"; - - - prefix "ip-iep-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-iep-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-iep package operational data. - - This module contains definitions - for the following management objects: - explicit-paths: Configured IP explicit paths - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container explicit-paths { - config false; - description "Configured IP explicit paths"; - - container identifiers { - description - "List of configured IP explicit path identifiers, - this corresponds to mplsTunnelHopTable in TE MIB"; - - list identifier { - key "identifier-id"; - description - "IP explicit path configured for a particular - identifier"; - leaf identifier-id { - type int32; - description "Identifier ID"; - } - uses IEP-EXPLICIT-PATH; - } - } - - container names { - description - "List of configured IP explicit path names, this - corresponds to mplsTunnelHopTable in TE MIB"; - - list name { - key "path-name"; - description - "IP explicit path configured for a particular - path name"; - leaf path-name { - type xr:Cisco-ios-xr-string; - description "Path name"; - } - uses IEP-EXPLICIT-PATH; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-cfg.yang deleted file mode 100644 index 15eba38..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-cfg.yang +++ /dev/null @@ -1,1120 +0,0 @@ -module Cisco-IOS-XR-ip-mobileip-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-cfg"; - - - prefix "ip-mobileip-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-mobileip package configuration. - - This module contains definitions - for the following management objects: - mobile-ip: MobileIP configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-09-02" { - description - "Initial version"; - } - - typedef Gre-key-type { - type enumeration { - enum symmetric { - value 1; - description - "Symmetric GRE Key (same Uplink and Downlink - key)"; - } - } - description "Gre key type"; - } - typedef Service-type { - type enumeration { - enum ipv4 { - value 1; - description "ipv4 service type"; - } - enum ipv6 { - value 2; - description "ipv6 service type"; - } - enum dual { - value 3; - description "dual service type"; - } - } - description "Service type"; - } - typedef Lma-service { - type enumeration { - enum service-mll { - value 1; - description "Wireless Private Routing service"; - } - } - description "Lma service"; - } - typedef Redist-type { - type enumeration { - enum home-address { - value 1; - description "Redistribute HoA/HNP routes"; - } - } - description "Redist type"; - } - typedef Redist-sub-type { - type enumeration { - enum host-prefix { - value 1; - description "Redistribute HoA/HNP host prefix routes"; - } - enum disable { - value 2; - description - "Disable redistribution of HoA/HNP host and pool - refix routes"; - } - } - description "Redist sub type"; - } - typedef Lma-role { - type enumeration { - enum 3gma { - value 0; - description "3GMA mode"; - } - } - description "Lma role"; - } - typedef Lma-rat { - type enumeration { - enum virtual { - value 0; - description "VIRTUAL rat"; - } - enum ppp { - value 1; - description "PPP rat"; - } - enum ethernet { - value 2; - description "ETHERNET rat"; - } - enum wlan { - value 3; - description "WLAN rat"; - } - enum wi-max { - value 4; - description "WIMAX rat"; - } - enum 3gppgeran { - value 5; - description "3GPP_GERAN rat"; - } - enum 3gpputran { - value 6; - description "3GPP_UTRAN rat"; - } - enum 3gppeutran { - value 7; - description "3GPP_E_UTRAN rat"; - } - enum 3gpp2ehrpd { - value 8; - description "3GPP2_EHRPD rat"; - } - enum 3gpp2hrpd { - value 9; - description "3GPP2_HRPD rat"; - } - enum 3gpp21rtt { - value 10; - description "3GPP2_1RTT rat"; - } - enum 3gpp2umb { - value 11; - description "3GPP2_UMB rat"; - } - } - description "Lma rat"; - } - typedef Encap-opt { - type enumeration { - enum greipv4 { - value 4; - description "GRE IPv4 tunnel encap"; - } - enum greipv6 { - value 5; - description "GRE IPv6 tunnel encap"; - } - enum mgreipv4 { - value 7; - description "mGRE IPv4 tunnel encap"; - } - enum mgreipv6 { - value 8; - description "mGRE IPv6 tunnel encap"; - } - } - description "Encap opt"; - } - - container mobile-ip { - description "MobileIP configuration"; - - container domains { - description "Table of Domain"; - - list domain { - key "domain-name"; - description "PMIPv6 domain configuration"; - - container mags { - description "Table of MAG"; - - list mag { - key "mag-name"; - description "MAG within domain"; - leaf mag-name { - type xr:Cisco-ios-xr-string { - length "1..125"; - } - description "MAG Identifier"; - } - } - } - - container nais { - description "Table of NAI"; - - list nai { - key "nai-name"; - description "Network access identifier or Realm"; - leaf lma { - type string { - length "1..125"; - } - description "LMA for this MN"; - } - leaf apn { - type string { - length "1..125"; - } - description "Access point network for this MN"; - } - leaf customer { - type xr:Cisco-ios-xr-string { - length "1..125"; - } - description "Customer name for this MN"; - } - leaf service { - type Service-type; - description "Service type for this MN"; - } - leaf network { - type string { - length "1..125"; - } - description "Network name (Address pool) for this MN"; - } - leaf nai-name { - type string { - length "1..125"; - } - description "MN Identifier"; - } - } - } - - container authenticate-option { - description - "Authentication option between PMIPV6 entities"; - leaf spi { - type xr:Hex-integer; - description "SPI in hex value"; - } - leaf key { - type string { - length "1..125"; - } - description "ASCII string"; - } - } - - container lmas { - description "Table of LMA"; - - list lma { - key "lma-name"; - description "LMA within domain"; - leaf lma-name { - type xr:Cisco-ios-xr-string { - length "1..125"; - } - description "LMA Identifier"; - } - } - } - leaf enable { - type empty; - description - "Enable PMIPv6 domain configuration. Deletion - of this object also causes deletion of all - associated objects under Domain."; - } - leaf domain-name { - type xr:Cisco-ios-xr-string { - length "1..125"; - } - description "Domain Name"; - } - } - } - - container lmas { - description "Table of LMA"; - - list lma { - key "lma-name domain-name"; - description "PMIPv6 LMA configuration"; - - container binding-revocation-attributes { - description "LMA Binding Revocation Attributes"; - - container delay { - description - "Time to wait before Retransmitting BRI - Message"; - leaf br-min { - type uint32 { - range "500..65535"; - } - description "Specify in millisec"; - } - leaf br-max { - type uint32 { - range "500..65535"; - } - description "Specify in millisec"; - } - } - leaf retry { - type uint32 { - range "1..10"; - } - description - "Number of Retransmissons Allowed for BRI - Message"; - } - } - - container rat-attributes { - description - "Radio access technology type config this LMA"; - leaf lma-rat { - type Lma-rat; - description "LMA rat type"; - } - leaf priority-value { - type uint32 { - range "1..255"; - } - description "Specify the priority value"; - } - } - - container heart-beat-attributes { - description "heartbeat config for this LMA"; - leaf interval { - type uint32 { - range "10..3600"; - } - description "Specify the interval value in second"; - } - leaf retries { - type uint32 { - range "1..10"; - } - description "Specify the retry value"; - } - leaf timeout { - type uint32 { - range "1..3600"; - } - description "Specify the timeout value"; - } - } - - container lmaipv6-addresses { - description "Table of LMAIPv6Address"; - - list lmaipv6-address { - key "address"; - description "Configure IPv6 address for this LMA"; - leaf address { - type inet:ipv6-address-no-zone; - description "LMA IPv6 address"; - } - } - } - - container hnp { - description "LMA HNP options"; - leaf maximum { - type uint32 { - range "1..3"; - } - description "maximum HNPs allowed per MN interface"; - } - } - - container redistribute { - description "Redistribute routes"; - leaf redist-type { - type Redist-type; - description "Redistribute type"; - } - leaf redist-sub-type { - type Redist-sub-type; - description "Redistribute sub-type"; - } - } - - container aaa { - description "AAA configuration for this LMA"; - - container accounting { - description "AAA accounting for this LMA"; - leaf enable { - type empty; - description "Set constant integer"; - } - leaf interim-interval { - type uint32 { - range "1..86400"; - } - units "minute"; - description "Interim acounting interval (in minutes)"; - } - } - } - - container dscp { - description "DSCP for packets originating from this LMA"; - leaf value { - type uint32 { - range "1..63"; - } - description "Specify the DSCP value"; - } - leaf force { - type empty; - description "Set constant integer"; - } - } - - container lmaipv4-addresses { - description "Table of LMAIPv4Address"; - - list lmaipv4-address { - key "address"; - description "Configure IPv4 address for this LMA"; - leaf address { - type inet:ipv4-address-no-zone; - description "LMA IPv4 address"; - } - } - } - - container roles { - description "Table of Role"; - - list role { - key "lma-role"; - description "Role of this LMA"; - leaf lma-role { - type Lma-role; - description "LMA role mode"; - } - } - } - - container binding-attributes { - description "LMA binding attributes"; - leaf refresh-time { - type uint32 { - range "4..65000"; - } - units "second"; - description "Specify in seconds, (multiples of 4)"; - } - leaf delete-wait-interval { - type uint32 { - range "100..65535"; - } - description "bce delete wait time interval"; - } - leaf create-wait-interval { - type uint32 { - range "100..65535"; - } - description "bce create wait time interval"; - } - leaf max-life-time { - type uint32 { - range "10..65535"; - } - units "second"; - description "Maximum bce lifetime permitted"; - } - leaf maximum { - type uint32 { - range "1..128000"; - } - description "Specify max. number of bindings"; - } - } - - container mags { - description "Table of MAG"; - - list mag { - key "mag-name domain-name"; - description "MAG within LMA"; - - container authenticate-option { - description - "Authentication option between PMIPV6 - entities"; - leaf spi { - type xr:Hex-integer; - description "SPI in hex value"; - } - leaf key { - type string { - length "1..125"; - } - description "ASCII string"; - } - } - - container dscp { - description - "DSCP for packets originating from this MAG"; - leaf value { - type uint32 { - range "1..63"; - } - description "Specify the DSCP value"; - } - leaf force { - type empty; - description "Set constant integer"; - } - } - leaf encap-option { - type Encap-opt; - description - "Encapsulation option between PMIPV6 entities"; - } - leaf ipv4-address { - type inet:ipv4-address-no-zone; - description "Configure IPv4 address for this MAG"; - } - leaf ipv6-address { - type inet:ipv6-address-no-zone; - description "Configure IPv6 address for this MAG"; - } - leaf tunnel { - type xr:Interface-name; - description "static tunnel for this peer MAG"; - } - leaf mag-name { - type string { - length "1..125"; - } - description "MAG identifier"; - } - leaf domain-name { - type string { - length "1..125"; - } - description "Domain name"; - } - } - } - - container tunnel-attributes { - description "tunnel attributes"; - leaf mtu { - type uint32 { - range "68..17916"; - } - description "maximum transmission unit for tunnel"; - } - leaf acl { - type string { - length "1..125"; - } - description "access list to apply for tunnel"; - } - } - - container services { - description "Table of Service"; - - list service { - key "lma-service"; - description "Service of this LMA"; - - container customers { - description "Table of Customer"; - - list customer { - key "customer-name vrf-name"; - description - "customer configuration on this mobile local - loop service"; - - container authenticate-option { - description - "Authentication option between PMIPV6 - entities"; - leaf spi { - type xr:Hex-integer; - description "SPI in hex value"; - } - leaf key { - type string { - length "1..125"; - } - description "ASCII string"; - } - } - - container heart-beat-attributes { - description "heartbeat config for this Customer"; - leaf interval { - type uint32 { - range "10..3600"; - } - description - "Specify the interval value in second"; - } - leaf retries { - type uint32 { - range "1..10"; - } - description "Specify the retry value"; - } - leaf timeout { - type uint32 { - range "1..3600"; - } - description "Specify the timeout value"; - } - } - - container transports { - description "Table of Transport"; - - list transport { - key "vrf-name"; - description "Customer transport attributes"; - leaf ipv4-address { - type inet:ipv4-address-no-zone; - description - "Configure IPv4 address for this LMA"; - } - leaf ipv6-address { - type inet:ipv6-address-no-zone; - description - "Configure IPv6 address for this LMA"; - } - leaf vrf-name { - type string { - length "1..125"; - } - description "VRF Name"; - } - } - } - - container network-attributes { - description "network parameters for the customer"; - - container authorizes { - description "Table of Authorize"; - - list authorize { - key "name"; - description - "not authorize the network prefixes"; - - container pool-attributes { - description "Pool configs for this network"; - - container mobile-node { - description - "pool configs for the mobile nodes"; - - container ipv4-pool { - description "None"; - leaf start-address { - type inet:ipv4-address-no-zone; - description "Pool IPv4 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..30"; - } - description "IPv4 Pool Prefix value"; - } - } - - container ipv6-pool { - description "None"; - leaf start-address { - type inet:ipv6-address-no-zone; - description "Pool IPv6 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..62"; - } - description "IPv6 Pool Prefix value"; - } - } - } - - container mobile-network { - description - "pool configs for the mobile network"; - - container mripv6-pools { - description "Table of MRIPV6Pool"; - - list mripv6-pool { - key "start-address"; - description "ipv6 pool"; - leaf start-address { - type inet:ipv6-address-no-zone; - description - "Pool IPv6 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..64"; - } - description - "IPv6 Pool Prefix value"; - } - leaf network-prefix { - type uint32 { - range "8..64"; - } - description - "IPv4 Network Prefix value"; - } - } - } - - container mripv4-pools { - description "Table of MRIPV4Pool"; - - list mripv4-pool { - key "start-address"; - description "ipv4 pool"; - leaf start-address { - type inet:ipv4-address-no-zone; - description - "Pool IPv4 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..30"; - } - description - "IPv4 Pool Prefix value"; - } - leaf network-prefix { - type uint32 { - range "8..32"; - } - description - "IPv4 Network Prefix value"; - } - } - } - } - } - leaf name { - type string { - length "1..125"; - } - description "ASCII string"; - } - } - } - leaf unauthorize { - type empty; - description - "not authorize the network prefixes"; - } - } - - container gre-key { - description "Customer specific GRE key"; - leaf gre-key-type { - type Gre-key-type; - description "GRE key type"; - } - leaf gre-key-value { - type uint32 { - range "1..4294967295"; - } - description "GRE key value"; - } - } - - container binding-attributes { - description - "Customer specific binding attributes"; - leaf max-life-time { - type uint32 { - range "10..65535"; - } - units "second"; - description "Maximum bce lifetime permitted"; - } - } - leaf mnp-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for customer"; - } - leaf mnp-ipv4-lmn { - type uint32 { - range "1..32"; - } - description - "mnp limit config for customer specific - logical mn"; - } - leaf mnp-ipv6-lmn { - type uint32 { - range "1..32"; - } - description - "mnp limit config for customer specific - logical mn"; - } - leaf mnp-lmn { - type uint32 { - range "1..32"; - } - description - "mnp limit config for customer specific - logical mn"; - } - leaf mnp-ipv4-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for customer"; - } - leaf mnp-ipv6-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for customer"; - } - leaf mobile-route-ad { - type uint32 { - range "1..254"; - } - description "Specify the Admin Distance value"; - } - leaf bandwidth-aggregate { - type uint32 { - range "1..4294967295"; - } - units "kbit/s"; - description - "Aggregate bandwidth across all logical MNs"; - } - leaf customer-name { - type string { - length "1..32"; - } - description "Customer name"; - } - leaf vrf-name { - type string { - length "1..32"; - } - description "VRF name"; - } - } - } - leaf mnp-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for all customer's"; - } - leaf mnp-ipv4-lmn { - type uint32 { - range "1..32"; - } - description "mnp limit config for all logical mn's"; - } - leaf mnp-ipv6-lmn { - type uint32 { - range "1..32"; - } - description "mnp limit config for all logical mn's"; - } - leaf mnp-lmn { - type uint32 { - range "1..32"; - } - description "mnp limit config for all logical mn's"; - } - leaf ignore-home-address { - type empty; - description "Ignore HoA/HNP option"; - } - leaf mnp-ipv4-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for all customer's"; - } - leaf mnp-ipv6-customer { - type uint32 { - range "1..4000000"; - } - description "mnp limit config for all customer's"; - } - leaf lma-service { - type Lma-service; - description "LMA service mode"; - } - } - } - - container networks { - description "Table of Network"; - - list network { - key "lma-network"; - description "network for this LMA"; - - container pool-attributes { - description "Pool configs for this network"; - - container mobile-node { - description "pool configs for the mobile nodes"; - - container ipv4-pool { - description "None"; - leaf start-address { - type inet:ipv4-address-no-zone; - description "Pool IPv4 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..30"; - } - description "IPv4 Pool Prefix value"; - } - } - - container ipv6-pool { - description "None"; - leaf start-address { - type inet:ipv6-address-no-zone; - description "Pool IPv6 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..62"; - } - description "IPv6 Pool Prefix value"; - } - } - } - - container mobile-network { - description "pool configs for the mobile network"; - - container mripv6-pools { - description "Table of MRIPV6Pool"; - - list mripv6-pool { - key "start-address"; - description "ipv6 pool"; - leaf start-address { - type inet:ipv6-address-no-zone; - description "Pool IPv6 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..64"; - } - description "IPv6 Pool Prefix value"; - } - leaf network-prefix { - type uint32 { - range "8..64"; - } - description "IPv4 Network Prefix value"; - } - } - } - - container mripv4-pools { - description "Table of MRIPV4Pool"; - - list mripv4-pool { - key "start-address"; - description "ipv4 pool"; - leaf start-address { - type inet:ipv4-address-no-zone; - description "Pool IPv4 start address"; - } - leaf pool-prefix { - type uint32 { - range "8..30"; - } - description "IPv4 Pool Prefix value"; - } - leaf network-prefix { - type uint32 { - range "8..32"; - } - description "IPv4 Network Prefix value"; - } - } - } - } - } - leaf lma-network { - type string { - length "1..125"; - } - description "Network name"; - } - } - } - - container replay-protection { - description "Replay Protection Method"; - leaf timestamp-window { - type uint32 { - range "1..255"; - } - units "second"; - description "Specify timestamp window value in seconds"; - } - } - leaf generate { - type empty; - description "generate gre key for LMA bindings"; - } - leaf mobile-route-ad { - type uint32 { - range "1..254"; - } - description "Specify the Admin Distance value"; - } - leaf ani { - type empty; - description "enable ani option processing in LMA"; - } - leaf multipath { - type empty; - description "enable multipath support for LMA"; - } - leaf dynamic { - type empty; - description "enable dynamic mag learning for LMA"; - } - leaf enforce { - type empty; - description "enforce heartbeat values to MAG"; - } - leaf default-profile { - type string { - length "1..125"; - } - description "Default MN profile for LMA"; - } - leaf interface { - type xr:Interface-name; - description "CN facing interface name"; - } - leaf mobile-map { - type string { - length "1..125"; - } - description "Mobile Map for this LMA"; - } - leaf pgw-subs-cont { - type empty; - description "Feature related to interface with PGW"; - } - leaf lma-name { - type string { - length "1..125"; - } - description "LMA name"; - } - leaf domain-name { - type string { - length "1..125"; - } - description "Domain name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang deleted file mode 100644 index bd61d58..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang +++ /dev/null @@ -1,1284 +0,0 @@ -submodule Cisco-IOS-XR-ip-mobileip-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-mobileip-oper { - prefix Cisco-IOS-XR-ip-mobileip-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-mobileip package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-03-10" { - description - "Initial version"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pmipv6-encap { - type enumeration { - enum none { - description "None"; - } - enum ipv6 { - description "IPV6 Tunnel"; - } - enum ipv6-ipv4 { - description "IPV6 in IPV4 Tunnel"; - } - enum ipv6-udp { - description "IPV6 in IPV4 UDP Tunnel"; - } - enum gre-ipv4 { - description "GRE IPV4 Tunnel"; - } - enum gre-ipv6 { - description "GRE IPV6 Tunnel"; - } - enum gre { - description "GRE Tunnel"; - } - enum mgre-ipv4 { - description "MGRE IPV4 Tunnel"; - } - enum mgre-ipv6 { - description "MGRE IPV6 Tunnel"; - } - enum mip-udp { - description "MIP UDP Tunnel"; - } - enum mip-mudp { - description "MIP MUDP Tunnel"; - } - enum max { - description "MAX Encap Type"; - } - } - description "ENCAP Types"; - } - typedef Pmipv6-addr { - type enumeration { - enum none { - description "None"; - } - enum ipv4 { - description "IPV4 Address"; - } - enum ipv6 { - description "IPV6 Address"; - } - enum pmipv6-addr-ipv4-ipv6 { - description "Both IPV4 and IPV6 Address"; - } - } - description "Address Types"; - } - typedef Pmipv6-role { - type enumeration { - enum wlan { - description "WLAN"; - } - enum gpp { - description "3GPP"; - } - enum lte { - description "LTE"; - } - enum wi-max { - description "WiMAX"; - } - enum gma { - description "3GMA"; - } - enum rmax { - description "MAX Role"; - } - } - description "PMIPV6 Role Types"; - } - - grouping PMIPV6-DOMAIN-CUST-BD { - description "PMIPV6 Customer Configs"; - leaf cust { - type boolean; - description "Customer Present"; - } - leaf vrf { - type boolean; - description "Customer VRF Present"; - } - leaf t-vrf { - type boolean; - description "Transport VRF Present"; - } - leaf auth-option { - type boolean; - description "Authentication Option"; - } - leaf heart-beat { - type boolean; - description "HeartBeat Option"; - } - leaf reg-time { - type uint32; - description "BCE Registration Lifetime"; - } - leaf cust-name { - type string; - description "CUSTOMER Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf t-vrf-name { - type string; - description "Transport VRF Name"; - } - } - - grouping PMIPV6-SHOW-LMA-NW-BD { - description "PMIPV6 LMA NW"; - leaf v4pool { - type boolean; - description "IPV4 pool Present"; - } - leaf v6pool { - type boolean; - description "IPV6 pool Present"; - } - leaf network { - type string; - description "Network Name"; - } - leaf ipv4 { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf ipv6 { - type inet:ipv6-address; - description "IPv6 Address"; - } - leaf v4pfx-len { - type uint8; - description "v4 prefix len"; - } - leaf v6pfx-len { - type uint8; - description "v6 prefix len"; - } - leaf mrnet { - type uint8; - description "num of mrnet"; - } - } - - grouping PMIPV6-DOMAIN-PARAM-PEER-BD { - description "PMIPV6 Domain Param Peer"; - leaf peer { - type string; - description "Peer Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf interface { - type string; - description "Peer static tunnel intf"; - } - leaf encap { - type Pmipv6-encap; - description "Encapsulation Type"; - } - leaf auth { - type boolean; - description "Authentication Option"; - } - leaf vrf { - type boolean; - description "VRF Present"; - } - leaf statictunnel { - type boolean; - description "Static tunnel Present"; - } - } - - grouping PMIPV6-SHOW-MAG-INTERFACES-BD { - description "PMIPV6 MAG Interface"; - leaf apn { - type boolean; - description "APN Present"; - } - leaf interface { - type string; - description "Access Interface Name"; - } - leaf apn-name { - type string; - description "APN Name"; - } - } - - grouping PMIPV6-ENTITY-ID-BD { - description "Entity ID"; - leaf entity { - type string; - description "Identifier of PMIP Node"; - } - leaf addr-type { - type Pmipv6-addr; - description "IPV4 or IPV6 or Both"; - } - leaf address { - type inet:ipv6-address; - description "IPV6 address of LMA/MAG"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPV4 addrress of LMA/MAG"; - } - } - - grouping PMIPV6-DOMAIN-PARAM-BD { - description "PMIPV6 Domain Param"; - - container self-id { - description "Self Identifier"; - uses PMIPV6-ENTITY-ID-BD; - } - leaf timestamp { - type boolean; - description "Timestamp method in use"; - } - leaf window { - type uint64; - description "Timestamp Validity Window"; - } - leaf auth-option { - type boolean; - description "Authentication Option"; - } - leaf reg-time { - type uint32; - description "BCE Registration Lifetime"; - } - leaf ref-time { - type uint32; - description "BCE Refresh Time"; - } - leaf retx { - type uint16; - description "Refresh Retransmit Init"; - } - leaf ret-max { - type uint16; - description "Refresh Retransmit Max"; - } - leaf bri-init { - type uint16; - description "BRI Init Delay time"; - } - leaf bri-retries { - type uint16; - description "BRI Max Retries"; - } - leaf bri-max { - type uint16; - description "BRI Max Delay time"; - } - leaf max-bindings { - type uint32; - description "Allowed Max. Bindings"; - } - leaf hnp { - type uint8; - description "Allowed HNPs per MN Intf."; - } - leaf encap { - type Pmipv6-encap; - description "Encapsulation Type"; - } - leaf delete-time { - type uint16; - description "BCE Delete Hold Timer"; - } - leaf create-time { - type uint16; - description "BCE Create Wait Timer"; - } - leaf up-grekey { - type uint32; - description "Upstream GRE Key"; - } - leaf down-grekey { - type uint32; - description "Downstream GRE Key"; - } - } - - grouping PMIPV6-SHOW-GLOBALS-BD { - description "PMIPv6 Globals"; - - container parameters { - description "Domain Parameters"; - uses PMIPV6-DOMAIN-PARAM-BD; - } - - container mll-service { - description "MLL service parameters"; - uses PMIPV6-LMA-MLL-SERVICE-BD; - } - leaf domain { - type string; - description "Domain Name"; - } - leaf selfid { - type string; - description "Self ID"; - } - leaf apn-name { - type string; - description "APN Name"; - } - leaf role { - type Pmipv6-role; - description "Role Type"; - } - leaf count { - type uint32; - description "Number of Networks/Intf"; - } - leaf peers { - type uint32; - description "Number of Peers"; - } - leaf customers { - type uint32; - description "Number of Customers"; - } - leaf num-network { - type uint32; - description "Number of Networks"; - } - leaf discover-mn { - type boolean; - description "Discover MN Detachment"; - } - leaf local-routing { - type boolean; - description "Local Routing"; - } - leaf aaa-accounting { - type boolean; - description "AAA Accounting"; - } - leaf default-mn { - type boolean; - description "Default MN Enabled"; - } - leaf apn { - type boolean; - description "APN Present"; - } - leaf learn-mag { - type boolean; - description "Learn MAG"; - } - leaf session-mgr { - type boolean; - description "Session Manager"; - } - leaf service { - type uint8; - description "Service"; - } - leaf profile { - type string; - description "Default MN Profile Name"; - } - leaf ddp { - type uint32; - description "Discover Detach Period"; - } - leaf ddt { - type uint32; - description "Discover Detach Timeout"; - } - leaf ddr { - type uint8; - description "Discover Detach Retries"; - } - - list intf { - description "MAG Access List"; - uses PMIPV6-SHOW-MAG-INTERFACES-BD; - } - - list peer { - description "Peer Parameters"; - uses PMIPV6-DOMAIN-PARAM-PEER-BD; - } - - list network { - description "LMA Network Parameters"; - uses PMIPV6-SHOW-LMA-NW-BD; - } - - list cust { - description "Customer parameters"; - uses PMIPV6-DOMAIN-CUST-BD; - } - } - - grouping PMIPV6-LMA-MLL-SERVICE-BD { - description "PMIPV6 Service"; - leaf ignore-hoa { - type boolean; - description "Ignore Home Address"; - } - leaf mnp-ipv4-lmn-max { - type uint16; - description "Max IPv4 prefixes per LMN"; - } - leaf mnp-ipv6-lmn-max { - type uint16; - description "Max IPv6 prefixes per LMN"; - } - leaf mnp-lmn-max { - type uint16; - description "Max prefixes per LMN"; - } - leaf mnp-ipv4-cust-max { - type uint32; - description "Max IPv4 prefixes per Customer"; - } - leaf mnp-ipv6-cust-max { - type uint32; - description "Max IPv6 prefixes per Customer"; - } - leaf mnp-cust-max { - type uint32; - description "Max prefixes per Customer"; - } - leaf mnp-ipv4-cust-cur { - type uint32; - description "Current IPv4 prefixes per Customer"; - } - leaf mnp-ipv6-cust-cur { - type uint32; - description "Current IPv6 prefixes per Customer"; - } - } - - grouping PMIPV6-SHOW-CUST-GLOBALS-BD { - description "PMIPV6 Customer Globals"; - - container mll-service { - description "MLL service parameters"; - uses PMIPV6-LMA-MLL-SERVICE-BD; - } - leaf cust-name { - type string; - description "Customer Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf auth-option { - type boolean; - description "Authentication Option"; - } - } - - grouping PMIPV6-SHOW-HB-PATH-BD { - description "Heartbeat Path"; - leaf vrf { - type string; - description "VRF Name"; - } - leaf customer-name { - type string; - description "Customer Name"; - } - leaf source-port { - type uint32; - description "Source Port"; - } - leaf destination-port { - type uint32; - description "Destination Port"; - } - leaf source-ipv4-address { - type inet:ipv4-address; - description "Source IPv4 Address"; - } - leaf destination-ipv4-address { - type inet:ipv4-address; - description "Destination IPv4 Address"; - } - leaf source-ipv6-address { - type inet:ipv6-address; - description "Source IPv6 Address"; - } - leaf destination-ipv6-address { - type inet:ipv6-address; - description "Destination IPv6 Address"; - } - leaf status { - type boolean; - description "Path Status"; - } - leaf ipv6-path { - type boolean; - description "IPv6 Path"; - } - } - - grouping PMIPV6-V6-PREFIX-BD { - description "IPv6 Prefix"; - leaf pfxlen { - type uint8; - description "IPv6 prefix length"; - } - leaf prefix { - type inet:ipv6-address; - description "IPv6 prefix"; - } - } - - grouping PMIPV6-V4-PREFIX-BD { - description "IPv4 Prefix"; - leaf pfxlen { - type uint8; - description "IPv4 prefix length"; - } - leaf prefix { - type inet:ipv4-address; - description "IPv4 prefix"; - } - } - - grouping PMIPV6-SHOW-BINDING-COA-BD { - description "COA entry"; - leaf llid { - type string; - description "Link Layer Identifier"; - } - leaf peer-name { - type string; - description "Peer Name"; - } - leaf tunnel { - type string; - description "Tunnel Interface"; - } - leaf e-label { - type string; - description "Egress Label"; - } - leaf color { - type string; - description "Label Color"; - } - leaf roa-min-tf { - type string; - description "Roaming Intf"; - } - leaf pstate { - type string; - description "COA STATE"; - } - leaf msisdn { - type string; - description "MSISDN"; - } - leaf imsi { - type string; - description "IMSI or IMSI NAI"; - } - leaf cdma-nai { - type string; - description "CDMA NAI"; - } - leaf pgw-apn { - type string; - description "Subscriber APN on PWG"; - } - leaf pgw-trans-vrf { - type string; - description "Subscriber Transport VRF on PGW"; - } - leaf att { - type uint16; - description "MN ATT"; - } - leaf lifetime { - type uint32; - description "Life Time of coa"; - } - leaf lifetime-remaining { - type uint32; - description "Life Time remain of coa"; - } - leaf refresh { - type uint32; - description "refresh Time of coa"; - } - leaf refresh-rem { - type uint32; - description "refresh Time remain of coa"; - } - leaf dnkey { - type uint32; - description "down key for coa tunnel"; - } - leaf upkey { - type uint32; - description "up key for coa tunnel"; - } - leaf coa-v4 { - type inet:ipv4-address; - description "IPv4 CoA"; - } - leaf coa-v6 { - type inet:ipv6-address; - description "IPv6 CoA"; - } - } - - grouping PMIPV6-SHOW-BINDING-BD { - description "PMIPV6 Binding"; - leaf mnnai { - type string; - description "Mobile Node Identifier"; - } - leaf customer-name-xr { - type string; - description "Customer name"; - } - leaf llid { - type string; - description "Link Layer Identifier"; - } - leaf peer-id { - type string; - description "Peer Identifier"; - } - leaf phyintf { - type string; - description "Access Interface"; - } - leaf tunnel { - type string; - description "Tunnel Interface"; - } - leaf state { - type string; - description "State Name"; - } - leaf apn { - type string; - description "Access Point Network"; - } - leaf att { - type uint16; - description "MN ATT"; - } - leaf hoa { - type inet:ipv4-address; - description "MN HOA"; - } - leaf dflt { - type inet:ipv4-address; - description "MN Default Router"; - } - leaf lifetime { - type uint32; - description "Life Time of Binding"; - } - leaf liferem { - type uint32; - description "Life Time Remaining"; - } - leaf refresh { - type uint32; - description "Refresh Time of Binding"; - } - leaf refresh-rem { - type uint32; - description "Refresh Time Remaining"; - } - leaf prefix-len { - type uint8; - description "Prefix Length"; - } - leaf num-hnps { - type uint8; - description "HNP count"; - } - leaf num-coa { - type uint8; - description "COA count"; - } - leaf num-dmnp-v4 { - type uint8; - description "IPv4 DMNP count"; - } - leaf num-dmnp-v6 { - type uint8; - description "IPv6 DMNP count"; - } - leaf hnps { - type inet:ipv6-address; - description "MN Home Network Prefixes"; - } - leaf ignore-home-address { - type boolean; - description "Ignore HoA/HNP"; - } - leaf up-stream-grekey { - type uint32; - description "Upstream GRE Key"; - } - leaf down-stream-grekey { - type uint32; - description "DownStream GRE Key"; - } - leaf vrfid { - type uint32; - description "VRF ID of Access Interface"; - } - - list coa { - description "COA entries"; - uses PMIPV6-SHOW-BINDING-COA-BD; - } - - list dmnp-v4 { - description "IPv4 DMNP prefixes"; - uses PMIPV6-V4-PREFIX-BD; - } - - list dmnp-v6 { - description "IPv6 DMNP prefixes"; - uses PMIPV6-V6-PREFIX-BD; - } - } - - grouping PMIPV6-SHOW-LMA-PEER-STATS-BD { - description "PMIPv6 LMA Peer Statistics"; - - container protocol-statistics { - description "LMA Protocol Statistics"; - uses PMIPV6-LMA-PROTO-STATS-BD; - } - leaf lma-identifier { - type string; - description "LMA Identifier"; - } - } - - grouping PMIPV6-MM-PKT-STATS-BD { - description "Packet Statistics"; - leaf checksum-errors { - type uint64; - description "Checksumm errors"; - } - leaf send-drops { - type uint64; - description "Drop count of sent packets"; - } - leaf receive-drops { - type uint64; - description "Drop count of received packets"; - } - leaf packets-received { - type uint64; - description "Count of received packets"; - } - leaf packets-sent { - type uint64; - description "Count of sent packets"; - } - leaf send-drops-ipv6 { - type uint64; - description "Drop count of IPv6 sent packets"; - } - leaf receive-drops-ipv6 { - type uint64; - description "Drop count of IPv6 received packets"; - } - leaf packets-received-ipv6 { - type uint64; - description "Count of IPv6 received packets"; - } - leaf packets-sent-ipv6 { - type uint64; - description "Count of IPv6 sent packets"; - } - } - - grouping PMIPV6-SHOW-LMA-STATS-BD { - description "PMIPv6 LMA Statistics"; - - container packet-statistics { - description "Packet Statistics"; - uses PMIPV6-MM-PKT-STATS-BD; - } - - container protocol-statistics { - description "LMA Protocol Statistics"; - uses PMIPV6-LMA-PROTO-STATS-BD; - } - - container accounting-statistics { - description "LMA Accounting Statistics"; - uses PMIPV6-ACCT-STATS-BD; - } - leaf lma-identifier { - type string; - description "LMA Identifier"; - } - leaf bce-count { - type uint32; - description "Count of Bindings"; - } - leaf handoff-count { - type uint32; - description "Count of Handoffs"; - } - leaf single-tenant-count { - type uint32; - description "Count of Single Tenants"; - } - leaf multi-tenant-count { - type uint32; - description "Count of Multi Tenants"; - } - } - - grouping PMIPV6-SHOW-LMA-LICENSE-STATS-BD { - description "PMIPv6 LMA License Statistics"; - leaf lma-identifier { - type string; - description "LMA Identifier"; - } - leaf bce-count { - type uint32; - description "Instantaneous Count of Bindings"; - } - leaf peak-bce-count { - type uint32; - description "Peak Count of Bindings"; - } - leaf peak-bce-count-reset-timestamp { - type uint32; - description - "Timestamp when the Peak Count of Bindings was - reset"; - } - } - - grouping PMIPV6-ACCT-STATS-BD { - description "PMIPv6 Accounting Statistics"; - leaf accounting-start-sent-count { - type uint64; - description "Count of Accounting Start Records Sent"; - } - leaf accounting-update-sent-count { - type uint64; - description "Count of Accounting Update Records Sent"; - } - leaf accounting-stop-sent-count { - type uint64; - description "Count of Accounting Stop Records Sent"; - } - } - - grouping PMIPV6-PBRA-STATS-BD { - description "PMIPv6 PBRA Statistics"; - leaf pbra-count { - type uint64; - description "Count of PBRAs"; - } - leaf pbra-drop-count { - type uint32; - description "Count of PBRAs dropped"; - } - leaf success-count { - type uint32; - description "Count of Revoc Status - Success"; - } - leaf partial-success-count { - type uint32; - description "Count of Revoc Status - Partial Success"; - } - leaf no-binding-count { - type uint32; - description "Count of Revoc Status - Binding Does Not Exist"; - } - leaf hoa-required-count { - type uint32; - description - "Count of Revoc Status - IPv4 Home Address Option - Required"; - } - leaf no-author-for-global-revoc-count { - type uint32; - description - "Count of Revoc Status - Global Revocation NOT - Authorized"; - } - leaf mn-identity-required-count { - type uint32; - description - "Count of Revoc Status - Revoked Mobile Node - Identity Required"; - } - leaf mn-attached-count { - type uint32; - description - "Count of Revoc Status - Revocation Failed - MN - is Attached"; - } - leaf unknown-revoc-trigger-count { - type uint32; - description - "Count of Revoc Status - Revocation Trigger NOT - supported"; - } - leaf revoc-function-not-supported-count { - type uint32; - description - "Count of Revoc Status - Revocation Function NOT - Supported"; - } - leaf pbr-not-supported-count { - type uint32; - description - "Count of Revoc Status - Proxy Binding Revocation - NOT Supported"; - } - } - - grouping PMIPV6-PBRI-STATS-BD { - description "PMIPv6 PBRI Statistics"; - leaf pbri-count { - type uint64; - description "Count of PBRIs"; - } - leaf pbri-drop-count { - type uint32; - description "Count of PBRIs dropped"; - } - leaf unspecified-count { - type uint32; - description "Count of Revoc Trigger - Unspecified"; - } - leaf admin-reason-count { - type uint32; - description "Count of Revoc Trigger - Administrative Reason"; - } - leaf mag-handover-same-att-count { - type uint32; - description - "Count of Revoc Trigger - Inter MAG Handover Same - ATT"; - } - leaf mag-handover-different-att-count { - type uint32; - description - "Count of Revoc Trigger - Inter MAG Handover - Different ATT"; - } - leaf mag-handover-unknown-count { - type uint32; - description - "Count of Revoc Trigger - Inter MAG Handover - Unknown"; - } - leaf user-session-termination-count { - type uint32; - description - "Count of Revoc Trigger - User Init Session - Terminatation"; - } - leaf network-session-termination-count { - type uint32; - description - "Count of Revoc Trigger - Access Network Session - Termination"; - } - leaf out-of-sync-bce-state-count { - type uint32; - description - "Count of Revoc Trigger - Possible Out-of-Sync - BCE State"; - } - leaf per-peer-policy-count { - type uint32; - description "Count of Revoc Trigger - Per-Peer Policy"; - } - leaf revoking-mn-local-policy-count { - type uint32; - description - "Count of Revoc Trigger - Revoking Mobility Node - Local Policy"; - } - } - - grouping PMIPV6-PBA-STATS-BD { - description "PMIPv6 PBA Statistics"; - leaf pba-count { - type uint64; - description "Count of PBAs"; - } - leaf pba-drop-count { - type uint32; - description "Count of PBAs dropped"; - } - leaf accepted-count { - type uint32; - description "Count of Status Code - Binding Update accepted"; - } - leaf unknown-count { - type uint32; - description - "Count of Status Code - Last BA status code sent."; - } - leaf unspecified-failure-count { - type uint32; - description "Count of Status Code - Reason unspecified"; - } - leaf admin-failure-count { - type uint32; - description - "Count of Status Code - Administratively - prohibited"; - } - leaf resource-failure-count { - type uint32; - description "Count of Status Code - Insufficient resources"; - } - leaf home-reg-failure-count { - type uint32; - description - "Count of Status Code - Home registration not - supported"; - } - leaf home-subnet-failure-count { - type uint32; - description "Count of Status Code - Not home subnet"; - } - leaf bad-sequence-failure-count { - type uint32; - description - "Count of Status Code - Sequence number out of - window"; - } - leaf reg-type-failure-count { - type uint32; - description "Count of Status Code - Registration type change"; - } - leaf authen-failure-count { - type uint32; - description "Count of Status Code - Auth Fail"; - } - leaf proxy-reg-not-enabled-count { - type uint32; - description - "Count of Status Code - Proxy Registration not - enabled"; - } - leaf not-lma-for-this-mn-count { - type uint32; - description - "Count of Status Code - Not LMA for this Mobile - Node"; - } - leaf no-author-for-proxy-reg-count { - type uint32; - description - "Count of Status Code - MAG not auth.for proxyreg"; - } - leaf no-author-for-hnp-count { - type uint32; - description "Count of Status Code - Not authorized for HNP"; - } - leaf timestamp-mismatch-count { - type uint32; - description "Count of Status Code - Invalid timestamp value"; - } - leaf timestamp-lower-than-previous-accepted-count { - type uint32; - description - "Count of Status Code - Timestamp lower than - previous accepted"; - } - leaf missing-hnp-opt-count { - type uint32; - description - "Count of Status Code - Missing Home Network - Prefix option"; - } - leaf received-hnps-do-not-match-bce-hnps-count { - type uint32; - description - "Count of Status Code - Recevied HNPs do not - match with BCE"; - } - leaf missing-mn-id-opt-count { - type uint32; - description - "Count of Status Code - Missing MN identifier - option"; - } - leaf missing-hi-opt-count { - type uint32; - description - "Count of Status Code - Missing Handoff Indicator"; - } - leaf missing-access-tech-type-opt-count { - type uint32; - description "Count of Status Code - Missing ATT option"; - } - leaf no-author-for-ipv4-mobility-count { - type uint32; - description - "Count of Status Code - Not authorized for IPv4 - mobility"; - } - leaf no-author-for-ipv4-hoa-count { - type uint32; - description - "Count of Status Code - Not authorized for IPv4 - HoA"; - } - leaf no-author-for-ipv6-mobility-count { - type uint32; - description - "Count of Status Code - Not authorized for IPv6 - mobility"; - } - leaf multiple-ipv4-ho-a-not-supported-count { - type uint32; - description - "Count of Status Code - Multiple IPv4 HoA not - supported"; - } - leaf gre-key-opt-required-count { - type uint32; - description - "Count of Status Code - GRE Key option is - required"; - } - } - - grouping PMIPV6-PBU-STATS-BD { - description "PMIPv6 PBU Statistics"; - leaf pbu-count { - type uint64; - description "Count of PBUs"; - } - leaf pbu-drop-count { - type uint32; - description "Count of PBUs Dropped"; - } - } - - grouping PMIPV6-LMA-PROTO-STATS-BD { - description "PMIPv6 LMA Protocol Statistics"; - - container pbu-receive-statistics { - description "PBU Receive Statistics"; - uses PMIPV6-PBU-STATS-BD; - } - - container pba-send-statistics { - description "PBA Send Statistics"; - uses PMIPV6-PBA-STATS-BD; - } - - container pbri-send-statistics { - description "PBRI Send Statistics"; - uses PMIPV6-PBRI-STATS-BD; - } - - container pbri-receive-statistics { - description "PBRI Receive Statistics"; - uses PMIPV6-PBRI-STATS-BD; - } - - container pbra-send-statistics { - description "PBRA Send Statistics"; - uses PMIPV6-PBRA-STATS-BD; - } - - container pbra-receive-statistics { - description "PBRA Receive Statistics"; - uses PMIPV6-PBRA-STATS-BD; - } - } - - grouping PMIPV6-SHOW-LMA-CUST-STATS-BD { - description "PMIPv6 LMA Customer Statistics"; - - container protocol-statistics { - description "LMA Protocol Statistics"; - uses PMIPV6-LMA-PROTO-STATS-BD; - } - - container accounting-statistics { - description "LMA Accounting Statistics"; - uses PMIPV6-ACCT-STATS-BD; - } - leaf lma-identifier { - type string; - description "LMA Identifier"; - } - leaf bce-count { - type uint32; - description "Count of Bindings"; - } - leaf handoff-count { - type uint32; - description "Count of Handoffs"; - } - leaf ipv4-mnp-count { - type uint32; - description "Count of IPv4 Mobile Node Prefixes"; - } - leaf ipv6-mnp-count { - type uint32; - description "Count of IPv6 Mobile Node Prefixes"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper.yang deleted file mode 100644 index 5e30e4b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-mobileip-oper.yang +++ /dev/null @@ -1,169 +0,0 @@ -module Cisco-IOS-XR-ip-mobileip-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper"; - - - prefix "ip-mobileip-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-mobileip-oper-sub1 { - revision-date 2016-03-10; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-mobileip package operational data. - - This module contains definitions - for the following management objects: - pmipv6: Proxy Mobile IPv6 - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-03-10" { - description - "Initial version"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container pmipv6 { - config false; - description "Proxy Mobile IPv6"; - - container lma { - description "None"; - - container statistics { - description "None"; - - container customer-statistics { - description "Table of CustomerStatistics"; - - list customer-statistic { - key "customer-name"; - description "Customer statistics"; - leaf customer-name { - type xr:Cisco-ios-xr-string; - description "Customer Name"; - } - uses PMIPV6-SHOW-LMA-CUST-STATS-BD; - } - } - - container license { - description "LMA License Statistics"; - uses PMIPV6-SHOW-LMA-LICENSE-STATS-BD; - } - - container global { - description "Global Statistics"; - uses PMIPV6-SHOW-LMA-STATS-BD; - } - - container mag-statistics { - description "Table of MAGStatistics"; - - list mag-statistic { - key "mag-name"; - description "Peer MAG statistics"; - leaf mag-name { - type xr:Cisco-ios-xr-string; - description "Peer MAG Name"; - } - uses PMIPV6-SHOW-LMA-PEER-STATS-BD; - } - } - } - - container bindings { - description "Table of Binding"; - - list binding { - description "Binding Parameters"; - leaf mag-name { - type xr:Cisco-ios-xr-string; - description "Peer MAG ID"; - } - leaf nai-string { - type xr:Cisco-ios-xr-string; - description "NAI String"; - } - leaf imsi-string { - type xr:Cisco-ios-xr-string; - description "IMSI String"; - } - leaf customer-name { - type xr:Cisco-ios-xr-string; - description "Customer String"; - } - uses PMIPV6-SHOW-BINDING-BD; - } - } - - container heartbeats { - description "Table of Heartbeat"; - - list heartbeat { - key "peer-addr"; - description "Heartbeat information"; - leaf peer-addr { - type inet:ip-address-no-zone; - description "IPv4 or IPv6 address"; - } - uses PMIPV6-SHOW-HB-PATH-BD; - } - } - - container config-variables { - description "Global Configuration Variables"; - - container customer-variables { - description "Table of CustomerVariables"; - - list customer-variable { - key "customer-name"; - description "Customer name string"; - leaf customer-name { - type xr:Cisco-ios-xr-string; - description "Customer name"; - } - uses PMIPV6-SHOW-CUST-GLOBALS-BD; - } - } - - container global-variables { - description "Global Configuration Variables"; - uses PMIPV6-SHOW-GLOBALS-BD; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang deleted file mode 100644 index e6c4217..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang +++ /dev/null @@ -1,457 +0,0 @@ -submodule Cisco-IOS-XR-ip-ntp-admin-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-ntp-admin-oper { - prefix Cisco-IOS-XR-ip-ntp-admin-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-ntp-admin package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ntp-peer-status { - type enumeration { - enum ntp-ctl-pst-sel-reject { - description " reject"; - } - enum ntp-ctl-pst-sel-sane { - description " x falsetick"; - } - enum ntp-ctl-pst-sel-correct { - description " . excess "; - } - enum ntp-ctl-pst-sel-selcand { - description " - outlyer"; - } - enum ntp-ctl-pst-sel-sync-cand { - description " + candidate"; - } - enum ntp-ctl-pst-sel-distsys-peer { - description " # selected"; - } - enum ntp-ctl-pst-sel-sys-peer { - description " * sys peer"; - } - enum ntp-ctl-pst-sel-pps { - description " o pps peer"; - } - } - description "Type of peer status"; - } - typedef Ntp-mode { - type enumeration { - enum ntp-mode-unspec { - description "Unspecified probably old NTP version"; - } - enum ntp-mode-symetric-active { - description "Symmetric active"; - } - enum ntp-mode-symetric-passive { - description "Symmetric passive"; - } - enum ntp-mode-client { - description "Client mode"; - } - enum ntp-mode-server { - description "Server mode"; - } - enum ntp-mode-xcast-server { - description "Broadcast mode"; - } - enum ntp-mode-control { - description "Control mode packet"; - } - enum ntp-mode-private { - description "Implementation defined function"; - } - enum ntp-mode-xcast-client { - description "A broadcast client mode"; - } - } - description "Type of mode"; - } - typedef Clock-update-node { - type enumeration { - enum clk-never-updated { - value 0; - description " clock is never updated"; - } - enum clk-updated { - value 1; - description " clock is updated"; - } - enum clk-no-update-info { - value 2; - description " clock has no update info"; - } - } - description "Mode of Clock Update"; - } - typedef Ntp-loop-filter-state { - type enumeration { - enum ntp-loop-flt-n-set { - value 0; - description " never set"; - } - enum ntp-loop-flt-f-set { - value 1; - description " drift set from file"; - } - enum ntp-loop-flt-spik { - value 2; - description " spike"; - } - enum ntp-loop-flt-freq { - value 3; - description " drift being measured"; - } - enum ntp-loop-flt-sync { - value 4; - description " normal controlled loop"; - } - enum ntp-loop-flt-unkn { - value 5; - description " unknown"; - } - } - description "Loop filter state"; - } - typedef Ntp-leap { - type enumeration { - enum ntp-leap-no-warning { - description "Normal, no leap second warning"; - } - enum ntp-leap-addse-cond { - description "Last minute of day has 61 seconds"; - } - enum ntp-leap-delse-cond { - description "Last minute of day has 59 seconds"; - } - enum ntp-leap-not-in-sync { - description "Overload, clock is free running"; - } - } - description "Type of leap"; - } - - grouping FILTER-DETAILS { - description "Sub part of peer info"; - leaf filter-delay { - type string; - description "filter delay"; - } - leaf filter-offset { - type string; - description "filter offset"; - } - leaf filter-disp { - type string; - description "filter disp"; - } - } - - grouping NTP-EDM-PEER-DETAIL-INFO { - description "Peer Detail Information"; - - container peer-info-common { - description "Common peer info"; - uses NTP-EDM-PEER-INFO-COMMON; - } - - container ref-time { - description "Reference time"; - uses EDM-L-FP; - } - - container originate-time { - description "Originate timestamp"; - uses EDM-L-FP; - } - - container receive-time { - description "Receive timestamp"; - uses EDM-L-FP; - } - - container transmit-time { - description "Transmit timestamp"; - uses EDM-L-FP; - } - leaf leap { - type Ntp-leap; - description "Leap"; - } - leaf peer-mode { - type Ntp-mode; - description "Peer's association mode"; - } - leaf poll-interval { - type uint8; - description "Peer poll interval"; - } - leaf is-ref-clock { - type boolean; - description "Is refclock"; - } - leaf is-authenticated { - type boolean; - description "Is authenticated"; - } - leaf root-delay { - type string; - description "Root delay"; - } - leaf root-dispersion { - type string; - description "Root dispersion"; - } - leaf synch-distance { - type string; - description "Synch distance"; - } - leaf precision { - type int8; - description "Precision"; - } - leaf version { - type uint8; - description "NTP version"; - } - leaf filter-index { - type uint32; - description "Index into filter shift register"; - } - - list filter-detail { - max-elements "8"; - description "Filter Details"; - uses FILTER-DETAILS; - } - } - - grouping NTP-EDM-ASSOC-DETAIL-RESULT { - description "The NTP association detail result"; - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-leap { - type Ntp-leap; - description "Leap"; - } - - list peer-detail-info { - description "Peer info"; - uses NTP-EDM-PEER-DETAIL-INFO; - } - } - - grouping NTP-EDM-PEER-INFO-COMMON { - description "Peer common info"; - leaf host-mode { - type Ntp-mode; - description "Association mode with this peer"; - } - leaf is-configured { - type boolean; - description "Is configured"; - } - leaf address { - type string; - description "Peer Address"; - } - leaf reference-id { - type inet:ipv4-address; - description "Peer reference ID"; - } - leaf host-poll { - type uint8; - description "Host poll"; - } - leaf reachability { - type uint8; - description "Reachability"; - } - leaf stratum { - type uint8; - description "Peer stratum"; - } - leaf status { - type Ntp-peer-status; - description "Peer status"; - } - leaf delay { - type string; - description "Peer delay"; - } - leaf offset { - type string; - description "Peer offset"; - } - leaf dispersion { - type string; - description "Peer dispersion"; - } - leaf is-sys-peer { - type boolean; - description "Indicates whether this is syspeer"; - } - } - - grouping NTP-EDM-PEER-SUMMARY-INFO { - description "Peer summary info"; - - container peer-info-common { - description "Common peer info"; - uses NTP-EDM-PEER-INFO-COMMON; - } - leaf time-since { - type int32; - description "Time since last frame received (-1=none)"; - } - } - - grouping NTP-EDM-ASSOC-SUMMARY-RESULT { - description "The NTP association result"; - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-leap { - type Ntp-leap; - description "Leap"; - } - - list peer-summary-info { - description "Peer info"; - uses NTP-EDM-PEER-SUMMARY-INFO; - } - } - - grouping EDM-UL-F { - description "EDM UL F"; - leaf frac { - type uint32; - description "Fractional format in NTP reference code"; - } - } - - grouping EDM-UL-I { - description "EDM UL I"; - leaf int { - type uint32; - description "Integer format in NTP reference code"; - } - } - - grouping EDM-L-FP { - description "EDM L FP"; - - container sec { - description "Second part in 64-bit NTP timestamp"; - uses EDM-UL-I; - } - - container frac-secs { - description "Fractional part in 64-bit NTP timestamp"; - uses EDM-UL-F; - } - } - - grouping NTP-EDM-STATUS-RESULT { - description "The NTP status result"; - - container sys-ref-time { - description "Reference time"; - uses EDM-L-FP; - } - - container sys-drift { - description "System Drift"; - uses EDM-L-FP; - } - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-dispersion { - type string; - description "Peer dispersion"; - } - leaf sys-offset { - type string; - description "Clock offset"; - } - leaf clock-period { - type uint32; - units "nanosecond"; - description "Clock period in nanosecs"; - } - leaf sys-leap { - type Ntp-leap; - description "leap"; - } - leaf sys-precision { - type int8; - description "Precision"; - } - leaf sys-stratum { - type uint8; - description "Stratum"; - } - leaf sys-ref-id { - type inet:ipv4-address; - description "Reference clock ID"; - } - leaf sys-root-delay { - type string; - description "Root delay"; - } - leaf sys-root-dispersion { - type string; - description "Root dispersion"; - } - leaf loop-filter-state { - type Ntp-loop-filter-state; - description "Loop Filter State"; - } - leaf poll-interval { - type uint8; - description "Peer poll interval"; - } - leaf is-updated { - type Clock-update-node; - description "Is clock updated"; - } - leaf last-update { - type int32; - description "Last Update"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper.yang deleted file mode 100644 index 1051cfd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-admin-oper.yang +++ /dev/null @@ -1,111 +0,0 @@ -module Cisco-IOS-XR-ip-ntp-admin-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ip-ntp-admin-oper"; - - - prefix "ip-ntp-admin-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-ip-ntp-admin-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-ntp package - admin-plane operational data. - - This module contains definitions - for the following management objects: - ntp: NTP admin operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ntp { - config false; - description "NTP admin operational data"; - - container racks { - description "Rack-specific NTP operational data"; - - list rack { - key "number"; - description "NTP operational data for a particular rack"; - - container slots { - description "Node-specific NTP operational data"; - - list slot { - key "number"; - description - "NTP operational data for a particular slot"; - - container instances { - description "Instance-specific NTP operational data"; - - list instance { - key "number"; - description - "NTP operational data for a particular - instance"; - - container status { - description "Status of NTP peer(s)"; - uses NTP-EDM-STATUS-RESULT; - } - - container associations { - description "NTP Associations information"; - uses NTP-EDM-ASSOC-SUMMARY-RESULT; - } - - container associations-detail { - description "NTP Associations Detail information"; - uses NTP-EDM-ASSOC-DETAIL-RESULT; - } - leaf number { - type int32; - description "The instance number"; - } - } - } - leaf number { - type int32; - description "The slot number"; - } - } - } - leaf number { - type int32; - description "The rack number"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-cfg.yang deleted file mode 100644 index a6129e9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-cfg.yang +++ /dev/null @@ -1,570 +0,0 @@ -module Cisco-IOS-XR-ip-ntp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg"; - - - prefix "ip-ntp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-ntp package configuration. - - This module contains definitions - for the following management objects: - ntp: NTP configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ntp-prefer-peer { - type empty; - description "Prefer"; - } - typedef Ntpdscp { - type enumeration { - enum ntp-precedence { - value 0; - description "Precedence Value"; - } - enum ntpdscp { - value 1; - description "DSCP Value"; - } - } - description "Ntpdscp"; - } - typedef Ntp-key-number { - type uint32 { - range "1..65535"; - } - description "Ntp key number"; - } - typedef Ntpttl { - type uint32 { - range "1..255"; - } - description "Ntpttl"; - } - typedef Ntp-burst { - type empty; - description "Burst"; - } - typedef Ntpi-burst { - type empty; - description "IBurst"; - } - typedef Ntp-version { - type uint32 { - range "2..4"; - } - description "Ntp version"; - } - typedef Ntp-peer { - type enumeration { - enum peer { - value 0; - description "Peer"; - } - enum server { - value 1; - description "Server"; - } - } - description "Ntp peer"; - } - typedef Ntp-access-af { - type enumeration { - enum ipv4 { - value 0; - description "IPv4"; - } - enum ipv6 { - value 1; - description "IPv6"; - } - } - description "Ntp access af"; - } - typedef Ntp-access { - type enumeration { - enum peer { - value 0; - description "Peer"; - } - enum serve { - value 1; - description "Serve"; - } - enum serve-only { - value 2; - description "Serve Only"; - } - enum query-only { - value 3; - description "Query Only"; - } - } - description "Ntp access"; - } - - container ntp { - presence "Indicates a ntp node is configured."; - description "NTP configuration"; - - container peer-vrfs { - description "Configures NTP Peers or Servers"; - - list peer-vrf { - key "vrf-name"; - description - "Configures NTP Peers or Servers for a single - VRF. The 'default' must also be specified for - default VRF"; - - container peer-ipv4s { - description "Configures IPv4 NTP Peers or Servers"; - - list peer-ipv4 { - key "address-ipv4"; - description "Configure an IPv4 NTP server or peer"; - leaf address-ipv4 { - type inet:ipv4-address-no-zone; - description "IPv4 Address of a peer"; - } - - list peer-type-ipv4 { - key "peer-type"; - description "Configure an IPv4 NTP server or peer"; - leaf peer-type { - type Ntp-peer; - description "Peer or Server"; - } - leaf ntp-version { - type Ntp-version; - description "NTP version"; - } - leaf authentication-key { - type Ntp-key-number; - description "Authentication Key"; - } - leaf min-poll { - type uint32 { - range "4..17"; - } - description "Minimum poll interval"; - } - leaf max-poll { - type uint32 { - range "4..17"; - } - description "Maxinum poll interval"; - } - leaf preferred-peer { - type Ntp-prefer-peer; - description "Preferred peer"; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface of this peer"; - } - leaf burst { - type Ntp-burst; - description "Use burst mode"; - } - leaf iburst { - type Ntpi-burst; - description "Use iburst mode"; - } - } - } - } - - container peer-ipv6s { - description "Configuration NTP Peers or Servers of IPV6"; - - list peer-ipv6 { - key "address-ipv6"; - description "Configure a NTP server or peer"; - leaf address-ipv6 { - type inet:ipv6-address-no-zone; - description "Address of a peer"; - } - - list peer-type-ipv6 { - key "peer-type"; - description "Configure a NTP server or peer"; - leaf peer-type { - type Ntp-peer; - description "Peer or Server"; - } - leaf ntp-version { - type Ntp-version; - description "NTP version"; - } - leaf authentication-key { - type Ntp-key-number; - description "Authentication Key"; - } - leaf min-poll { - type uint32 { - range "4..17"; - } - description "Minimum poll interval"; - } - leaf max-poll { - type uint32 { - range "4..17"; - } - description "Maxinum poll interval"; - } - leaf preferred-peer { - type Ntp-prefer-peer; - description "Preferred peer"; - } - leaf source-interface { - type xr:Interface-name; - description "Source interface of this peer"; - } - leaf burst { - type Ntp-burst; - description "Use burst mode"; - } - leaf iburst { - type Ntpi-burst; - description "Use iburst mode"; - } - leaf address-ipv6 { - type inet:ipv6-address-no-zone; - description "IPv6 address"; - } - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container dscp-ipv4 { - presence "Indicates a dscp-ipv4 node is configured."; - description - " Set IP DSCP value for outgoing NTP IPV4 packets"; - leaf mode { - type Ntpdscp; - mandatory true; - description - "NTPPRECEDENCE (0) to specify Precedence value - NTPDSCP (1) to specify DSCP value"; - } - leaf dscp-or-precedence-value { - type uint32 { - range "0..63"; - } - mandatory true; - description - "If Mode is set to 'NTPPRECEDENCE(0)' specify - Precedence value , if Mode is set to - 'NTPDSCP(1)' specify DSCP"; - } - } - - container dscp-ipv6 { - presence "Indicates a dscp-ipv6 node is configured."; - description - " Set IP DSCP value for outgoing NTP IPV6 packets"; - leaf mode { - type Ntpdscp; - mandatory true; - description - "NTPPRECEDENCE(0) to specify Precedence value - NTPDSCP(1) to specify DSCP value"; - } - leaf dscp-or-precedence-value { - type uint32 { - range "0..63"; - } - mandatory true; - description - "If Mode is set to 'NTPPRECEDENCE(0)' specify - Precedence value , if Mode is set to - 'NTPDSCP(1)' specify DSCP"; - } - } - - container sources { - description "Configure NTP source interface"; - - list source { - key "vrf-name"; - description "Configure NTP source interface"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf source-interface { - type xr:Interface-name; - mandatory true; - description "Source Interface for NTP"; - } - } - } - - container authentication { - description "Configure NTP Authentication keys"; - - container keies { - description "Authentication Key Table"; - - list key { - key "key-number"; - description "Authentication key for trusted time sources"; - leaf key-number { - type Ntp-key-number; - description "Authentication Key number"; - } - leaf authentication-key { - type string; - mandatory true; - description - "Authentication key - maximum 32 characters"; - } - } - } - - container trusted-keies { - description "Key numbers for trusted time sources"; - - list trusted-key { - key "key-number"; - description "Configure NTP trusted key"; - leaf key-number { - type Ntp-key-number; - description "Key number"; - } - } - } - leaf enable { - type empty; - description "Enable NTP authentication keys"; - } - } - - container passive { - description "Configure NTP passive associations"; - leaf enable { - type empty; - description "Enable NTP Passive associations"; - } - } - - container interface-tables { - description "NTP per interface configuration"; - - list interface-table { - key "vrf-name"; - description "NTP per interface configuration"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - - list interface { - key "interface"; - description "Name of the interface"; - - container interface-multicast { - description "Configure NTP multicast service"; - - container multicast-clients { - description "Configures multicast client peers"; - - list multicast-client { - key "ip-address"; - description "Listen to NTP multicasts"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of a multicast group"; - } - } - } - - container multicast-servers { - description "Configures multicast server peers"; - - list multicast-server { - key "ip-address"; - description - "Configure NTP multicast group server peer"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of a multicast group"; - } - leaf authentication-key { - type Ntp-key-number; - description "Authentication key"; - } - leaf version { - type Ntp-version; - description "NTP version"; - } - leaf ttl { - type Ntpttl; - description "TTL"; - } - } - } - } - - container interface-broadcast { - description "Configure NTP broadcast service"; - - container broadcast { - description "Configure NTP broadcast"; - leaf address { - type inet:ipv4-address-no-zone; - description "Destination broadcast IPv4 address"; - } - leaf authentication-key { - type Ntp-key-number; - description "Authentication key"; - } - leaf ntp-version { - type Ntp-version; - description "NTP version"; - } - } - leaf broadcast-client { - type empty; - description "Listen to NTP broadcasts"; - } - } - leaf disable { - type empty; - description "Disable NTP"; - } - leaf interface { - type xr:Interface-name; - description "interface"; - } - } - } - } - - container access-group-tables { - description "Control NTP access"; - - list access-group-table { - key "vrf-name"; - description "Control NTP access"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - - list access-group-af-table { - key "af"; - description "Configure NTP access address family"; - leaf af { - type Ntp-access-af; - description "Address family"; - } - - list access-group { - key "access-group-type"; - description "Configure NTP access group"; - leaf access-group-type { - type Ntp-access; - description "Access group type"; - } - leaf access-list-name { - type string; - mandatory true; - description - "Access list name - maximum 32 characters"; - } - } - } - } - } - leaf max-associations { - type int32; - description "Set maximum number of associations"; - } - leaf master { - type uint32 { - range "1..15"; - } - default "8"; - description "Act as NTP master clock"; - } - leaf broadcast-delay { - type uint32 { - range "1..999999"; - } - description "Estimated round-trip delay"; - } - leaf log-internal-sync { - type empty; - description "To enable logging internal sync conflicts"; - } - leaf update-calendar { - type empty; - description "To enable calendar update with NTP time"; - } - } - - augment "/a1:snmp/a1:notification" { - - container ntp { - description "CISCO-NTP-MIB notification configuration"; - leaf enable { - type empty; - description "Enable ciscoNtpMIB notification configuration"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper-sub1.yang deleted file mode 100644 index 2811e62..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper-sub1.yang +++ /dev/null @@ -1,457 +0,0 @@ -submodule Cisco-IOS-XR-ip-ntp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-ntp-oper { - prefix Cisco-IOS-XR-ip-ntp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-ntp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Clock-update-node { - type enumeration { - enum clk-never-updated { - value 0; - description " clock is never updated"; - } - enum clk-updated { - value 1; - description " clock is updated"; - } - enum clk-no-update-info { - value 2; - description " clock has no update info"; - } - } - description "Mode of Clock Update"; - } - typedef Ntp-loop-filter-state { - type enumeration { - enum ntp-loop-flt-n-set { - value 0; - description " never set"; - } - enum ntp-loop-flt-f-set { - value 1; - description " drift set from file"; - } - enum ntp-loop-flt-spik { - value 2; - description " spike"; - } - enum ntp-loop-flt-freq { - value 3; - description " drift being measured"; - } - enum ntp-loop-flt-sync { - value 4; - description " normal controlled loop"; - } - enum ntp-loop-flt-unkn { - value 5; - description " unknown"; - } - } - description "Loop filter state"; - } - typedef Ntp-peer-status { - type enumeration { - enum ntp-ctl-pst-sel-reject { - description " reject"; - } - enum ntp-ctl-pst-sel-sane { - description " x falsetick"; - } - enum ntp-ctl-pst-sel-correct { - description " . excess "; - } - enum ntp-ctl-pst-sel-selcand { - description " - outlyer"; - } - enum ntp-ctl-pst-sel-sync-cand { - description " + candidate"; - } - enum ntp-ctl-pst-sel-distsys-peer { - description " # selected"; - } - enum ntp-ctl-pst-sel-sys-peer { - description " * sys peer"; - } - enum ntp-ctl-pst-sel-pps { - description " o pps peer"; - } - } - description "Type of peer status"; - } - typedef Ntp-mode { - type enumeration { - enum ntp-mode-unspec { - description "Unspecified probably old NTP version"; - } - enum ntp-mode-symetric-active { - description "Symmetric active"; - } - enum ntp-mode-symetric-passive { - description "Symmetric passive"; - } - enum ntp-mode-client { - description "Client mode"; - } - enum ntp-mode-server { - description "Server mode"; - } - enum ntp-mode-xcast-server { - description "Broadcast mode"; - } - enum ntp-mode-control { - description "Control mode packet"; - } - enum ntp-mode-private { - description "Implementation defined function"; - } - enum ntp-mode-xcast-client { - description "A broadcast client mode"; - } - } - description "Type of mode"; - } - typedef Ntp-leap { - type enumeration { - enum ntp-leap-no-warning { - description "Normal, no leap second warning"; - } - enum ntp-leap-addse-cond { - description "Last minute of day has 61 seconds"; - } - enum ntp-leap-delse-cond { - description "Last minute of day has 59 seconds"; - } - enum ntp-leap-not-in-sync { - description "Overload, clock is free running"; - } - } - description "Type of leap"; - } - - grouping NTP-EDM-PEER-SUMMARY-INFO { - description "Peer summary info"; - - container peer-info-common { - description "Common peer info"; - uses NTP-EDM-PEER-INFO-COMMON; - } - leaf time-since { - type int32; - description "Time since last frame received (-1=none)"; - } - } - - grouping NTP-EDM-ASSOC-SUMMARY-RESULT { - description "The NTP association result"; - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-leap { - type Ntp-leap; - description "Leap"; - } - - list peer-summary-info { - description "Peer info"; - uses NTP-EDM-PEER-SUMMARY-INFO; - } - } - - grouping NTP-EDM-STATUS-RESULT { - description "The NTP status result"; - - container sys-ref-time { - description "Reference time"; - uses EDM-L-FP; - } - - container sys-drift { - description "System Drift"; - uses EDM-L-FP; - } - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-dispersion { - type string; - description "Peer dispersion"; - } - leaf sys-offset { - type string; - description "Clock offset"; - } - leaf clock-period { - type uint32; - units "nanosecond"; - description "Clock period in nanosecs"; - } - leaf sys-leap { - type Ntp-leap; - description "leap"; - } - leaf sys-precision { - type int8; - description "Precision"; - } - leaf sys-stratum { - type uint8; - description "Stratum"; - } - leaf sys-ref-id { - type inet:ipv4-address; - description "Reference clock ID"; - } - leaf sys-root-delay { - type string; - description "Root delay"; - } - leaf sys-root-dispersion { - type string; - description "Root dispersion"; - } - leaf loop-filter-state { - type Ntp-loop-filter-state; - description "Loop Filter State"; - } - leaf poll-interval { - type uint8; - description "Peer poll interval"; - } - leaf is-updated { - type Clock-update-node; - description "Is clock updated"; - } - leaf last-update { - type int32; - description "Last Update"; - } - } - - grouping FILTER-DETAILS { - description "Sub part of peer info"; - leaf filter-delay { - type string; - description "filter delay"; - } - leaf filter-offset { - type string; - description "filter offset"; - } - leaf filter-disp { - type string; - description "filter disp"; - } - } - - grouping EDM-UL-F { - description "EDM UL F"; - leaf frac { - type uint32; - description "Fractional format in NTP reference code"; - } - } - - grouping EDM-UL-I { - description "EDM UL I"; - leaf int { - type uint32; - description "Integer format in NTP reference code"; - } - } - - grouping EDM-L-FP { - description "EDM L FP"; - - container sec { - description "Second part in 64-bit NTP timestamp"; - uses EDM-UL-I; - } - - container frac-secs { - description "Fractional part in 64-bit NTP timestamp"; - uses EDM-UL-F; - } - } - - grouping NTP-EDM-PEER-INFO-COMMON { - description "Peer common info"; - leaf host-mode { - type Ntp-mode; - description "Association mode with this peer"; - } - leaf is-configured { - type boolean; - description "Is configured"; - } - leaf address { - type string; - description "Peer Address"; - } - leaf reference-id { - type inet:ipv4-address; - description "Peer reference ID"; - } - leaf host-poll { - type uint8; - description "Host poll"; - } - leaf reachability { - type uint8; - description "Reachability"; - } - leaf stratum { - type uint8; - description "Peer stratum"; - } - leaf status { - type Ntp-peer-status; - description "Peer status"; - } - leaf delay { - type string; - description "Peer delay"; - } - leaf offset { - type string; - description "Peer offset"; - } - leaf dispersion { - type string; - description "Peer dispersion"; - } - leaf is-sys-peer { - type boolean; - description "Indicates whether this is syspeer"; - } - } - - grouping NTP-EDM-PEER-DETAIL-INFO { - description "Peer Detail Information"; - - container peer-info-common { - description "Common peer info"; - uses NTP-EDM-PEER-INFO-COMMON; - } - - container ref-time { - description "Reference time"; - uses EDM-L-FP; - } - - container originate-time { - description "Originate timestamp"; - uses EDM-L-FP; - } - - container receive-time { - description "Receive timestamp"; - uses EDM-L-FP; - } - - container transmit-time { - description "Transmit timestamp"; - uses EDM-L-FP; - } - leaf leap { - type Ntp-leap; - description "Leap"; - } - leaf peer-mode { - type Ntp-mode; - description "Peer's association mode"; - } - leaf poll-interval { - type uint8; - description "Peer poll interval"; - } - leaf is-ref-clock { - type boolean; - description "Is refclock"; - } - leaf is-authenticated { - type boolean; - description "Is authenticated"; - } - leaf root-delay { - type string; - description "Root delay"; - } - leaf root-dispersion { - type string; - description "Root dispersion"; - } - leaf synch-distance { - type string; - description "Synch distance"; - } - leaf precision { - type int8; - description "Precision"; - } - leaf version { - type uint8; - description "NTP version"; - } - leaf filter-index { - type uint32; - description "Index into filter shift register"; - } - - list filter-detail { - max-elements "8"; - description "Filter Details"; - uses FILTER-DETAILS; - } - } - - grouping NTP-EDM-ASSOC-DETAIL-RESULT { - description "The NTP association detail result"; - leaf is-ntp-enabled { - type boolean; - description "Is NTP enabled"; - } - leaf sys-leap { - type Ntp-leap; - description "Leap"; - } - - list peer-detail-info { - description "Peer info"; - uses NTP-EDM-PEER-DETAIL-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper.yang deleted file mode 100644 index 0b1c59e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-ntp-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-ip-ntp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper"; - - - prefix "ip-ntp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-ntp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-ntp package operational data. - - This module contains definitions - for the following management objects: - ntp: NTP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ntp { - config false; - description "NTP operational data"; - - container nodes { - description "Node-specific NTP operational data"; - - list node { - key "node"; - description "NTP operational data for a particular node"; - - container associations-detail { - description "NTP Associations Detail information"; - uses NTP-EDM-ASSOC-DETAIL-RESULT; - } - - container status { - description "Status of NTP peer(s)"; - uses NTP-EDM-STATUS-RESULT; - } - - container associations { - description "NTP Associations information"; - uses NTP-EDM-ASSOC-SUMMARY-RESULT; - } - leaf node { - type xr:Node-id; - description "The node identifier"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-cfg.yang deleted file mode 100644 index 1a1d6d2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-cfg.yang +++ /dev/null @@ -1,353 +0,0 @@ -module Cisco-IOS-XR-ip-pfilter-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg"; - - - prefix "ip-pfilter-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-pfilter package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv6-packet-filter { - description - "IPv6 Packet Filtering configuration for the - interface"; - - container inbound { - description - "IPv6 Packet filter to be applied to inbound - packets"; - leaf common-acl-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv6 - Packet Filter Name to be applied to Inbound - packets, ACL providing HW optimization when - applied on multiple interfaces. NOTE: This - parameter is mandatory if 'Name' is not - specified."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv6 - Packet Filter Name to be applied to Inbound - NOTE: This parameter is mandatory if - 'CommonACLName' is not specified."; - } - leaf interface-statistics { - type empty; - description - "True if packets hitting the ACL should be - counted in hardware per interface.The default - is not to count them. NOTE: - InterfaceStatistics is allowed only if Name is - specified."; - } - leaf compression-level { - type uint32 { - range "0..3"; - } - description - "The level of compression applied to the ACL on - this interface. The range is 0 to 3 with - default being no compression (0)."; - } - leaf-list acl-name-array { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - max-elements "5"; - description - "Array of IPv6 Packet Filter Names to be - applied to Inbound packets"; - } - leaf-list is-common-array { - type boolean; - max-elements "5"; - description - "Array of CommonACL flags for each ACL. TRUE - indicates HW optimization on multiple - interfaces is provided"; - } - } - - container outbound { - description - "IPv6 Packet filter to be applied to outbound - packets"; - leaf do-not-use { - type string { - length "1..65"; - } - description "Reserved. Error if specified."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv6 - Packet Filter Name to be applied to Outbound - packets."; - } - leaf interface-statistics { - type empty; - description - "True if packets hitting the ACL should be - counted in hardware per interface.The default - is not to count them."; - } - leaf compression-level { - type uint32 { - range "0..3"; - } - description - "The level of compression applied to the ACL on - this interface. The range is 0 to 3 with - default being no compression (0)."; - } - leaf-list acl-name-array { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - max-elements "5"; - description - "Array of IPv6 Packet Filter Names to be - applied to Inbound packets"; - } - leaf-list is-common-array { - type boolean; - max-elements "5"; - description - "Array of CommonACL flags for each ACL. TRUE - indicates HW optimization on multiple - interfaces is provided"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container es-packet-filter { - description - "ES Packet Filtering configuration for the - interface"; - leaf outbound { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Name of filter to be applied to outbound - packets"; - } - leaf inbound { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Name of filter to be applied to inbound packets"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv4-packet-filter { - description - "IPv4 Packet Filtering configuration for the - interface"; - - container outbound { - description - "IPv4 Packet filter to be applied to outbound - packets"; - leaf do-not-use { - type string { - length "1..65"; - } - description "Reserved. Error if specified."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv4 - Packet Filter Name to be applied to Outbound - packets NOTE: This parameter is mandatory if - 'CommonACLName' is not specified."; - } - leaf hardware-count { - type empty; - description - "True if packets hitting the ACL should be - counted in the hardware. The default is not - to count them."; - } - leaf interface-statistics { - type empty; - description - "True if packets hitting the ACL should be - counted in hardware per interface.The default - is not to count them."; - } - leaf compression-level { - type uint32 { - range "0..3"; - } - description - "The level of compression applied to the ACL on - this interface. The range is 0 to 3 with - default being no compression (0)."; - } - leaf-list acl-name-array { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - max-elements "5"; - description - "Array of IPv4 Packet Filter Names to be - applied to Outbound packets"; - } - leaf-list is-common-array { - type boolean; - max-elements "5"; - description - "Array of CommonACL flags for each ACL. TRUE - indicates HW optimization on multiple - interfaces is provided"; - } - } - - container inbound { - description - "IPv4 Packet filter to be applied to inbound - packets"; - leaf common-acl-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv4 - Packet Filter Name to be applied to Inbound - packets, ACL providing HW optimization when - applied on multiple interfaces. NOTE: This - parameter is mandatory if 'Name' is not - specified."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "Reserved for backward compatibility. IPv4 - Packet Filter Name to be applied to Inbound - packets NOTE: This parameter is mandatory if - 'CommonACLName' is not specified."; - } - leaf hardware-count { - type empty; - description - "True if packets hitting the ACL should be - counted in the hardware. The default is not - to count them. NOTE: HardwareCount is allowed - only if Name is specified."; - } - leaf interface-statistics { - type empty; - description - "True if packets hitting the ACL should be - counted in hardware per interface.The default - is not to count them. NOTE: - InterfaceStatistics is allowed only if Name is - specified."; - } - leaf compression-level { - type uint32 { - range "0..3"; - } - description - "The level of compression applied to the ACL on - this interface. The range is 0 to 3 with - default being no compression (0)."; - } - leaf-list acl-name-array { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - max-elements "5"; - description - "Array of IPv4 Packet Filter Names to be - applied to Inbound packets"; - } - leaf-list is-common-array { - type boolean; - max-elements "5"; - description - "Array of CommonACL flags for each ACL. TRUE - indicates HW optimization on multiple - interfaces is provided"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang deleted file mode 100644 index 7b74bcd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang +++ /dev/null @@ -1,44 +0,0 @@ -submodule Cisco-IOS-XR-ip-pfilter-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-pfilter-oper { - prefix Cisco-IOS-XR-ip-pfilter-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-pfilter package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PFILTER-INTF-ACL-INFO { - description "Pfilter interface ACL details"; - leaf acl-info { - type string; - description "acl information"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper.yang deleted file mode 100644 index 0d44243..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-oper.yang +++ /dev/null @@ -1,105 +0,0 @@ -module Cisco-IOS-XR-ip-pfilter-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper"; - - - prefix "ip-pfilter-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-pfilter-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-pfilter package operational data. - - This module contains definitions - for the following management objects: - pfilter-ma: Root class of PfilterMa Oper schema - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ACL-INFO-TABLE { - description "Common node of ipv4, ipv6"; - - container acl-info-table { - description "Operational data for pfilter"; - - container interface-infos { - description "Operational data for pfilter"; - - list interface-info { - key "interface-name"; - description "Operational data for pfilter in bag"; - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses PFILTER-INTF-ACL-INFO; - } - } - } - } - - container pfilter-ma { - config false; - description "Root class of PfilterMa Oper schema"; - - container nodes { - description "Node-specific operational data"; - - list node { - key "node-name"; - description - "PfilterMa operational data for a particular - node"; - - container process { - description "Operational data for pfilter"; - - container ipv6 { - description "Operational data for pfilter"; - uses ACL-INFO-TABLE; - } - - container ipv4 { - description "Operational data for pfilter"; - uses ACL-INFO-TABLE; - } - } - leaf node-name { - type xr:Node-id; - description "The node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang deleted file mode 100644 index 8d7d818..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang +++ /dev/null @@ -1,218 +0,0 @@ -module Cisco-IOS-XR-ip-pfilter-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ip-pfilter-subscriber-cfg"; - - - prefix "ip-pfilter-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-pfilter-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping IPV6-PACKET-FILTER { - description - "Common node of ppp, subscriber-service, - ip-subscriber"; - - container ipv6-packet-filter { - description - "IPv6 Packet Filtering configuration for the - interface"; - - container inbound { - description - "IPv6 Packet filter to be applied to inbound - packets"; - leaf common-acl-name { - type string; - description "Not supported (Leave unspecified)."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "IPv6 Packet Filter Name to be applied to - Inbound NOTE: This parameter is mandatory if - 'CommonACLName' is not specified."; - } - leaf interface-statistics { - type empty; - description "Not supported (Leave unspecified)."; - } - } - - container outbound { - presence "Indicates a outbound node is configured."; - description - "IPv6 Packet filter to be applied to outbound - packets"; - leaf common-acl-name { - type string; - description "Not supported (Leave unspecified)."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - mandatory true; - description - "IPv6 Packet Filter Name to be applied to - Outbound packets."; - } - leaf interface-statistics { - type empty; - description "Not supported (Leave unspecified)."; - } - } - } - } - - grouping IPV4-PACKET-FILTER { - description - "Common node of ppp, subscriber-service, - ip-subscriber"; - - container ipv4-packet-filter { - description - "IPv4 Packet Filtering configuration for the - template"; - - container outbound { - presence "Indicates a outbound node is configured."; - description - "IPv4 Packet filter to be applied to outbound - packets"; - leaf common-acl-name { - type string; - description "Not supported (Leave unspecified)."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - mandatory true; - description - "IPv4 Packet Filter Name to be applied to - Outbound packets."; - } - leaf hardware-count { - type empty; - description "Not supported (Leave unspecified)."; - } - leaf interface-statistics { - type empty; - description "Not supported (Leave unspecified)."; - } - } - - container inbound { - description - "IPv4 Packet filter to be applied to inbound - packets"; - leaf common-acl-name { - type string; - description "Not supported (Leave unspecified)."; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description - "IPv4 Packet Filter Name to be applied to - Inbound packets NOTE: This parameter is - mandatory if 'CommonACLName' is not specified."; - } - leaf hardware-count { - type empty; - description "Not supported (Leave unspecified)."; - } - leaf interface-statistics { - type empty; - description "Not supported (Leave unspecified)."; - } - } - } - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-PACKET-FILTER; - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-PACKET-FILTER; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-PACKET-FILTER; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-PACKET-FILTER; - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-PACKET-FILTER; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-PACKET-FILTER; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-cfg.yang deleted file mode 100644 index 6a1090d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-cfg.yang +++ /dev/null @@ -1,136 +0,0 @@ -module Cisco-IOS-XR-ip-rib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg"; - - - prefix "ip-rib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-infra-rsi-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rib package configuration. - - This module contains definitions - for the following management objects: - rib: RIB configuration. - - This YANG module augments the - Cisco-IOS-XR-infra-rsi-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NEXT-HOP-DAMPENING-DISABLE { - description "Common node of ipv4, ipv6"; - leaf next-hop-dampening-disable { - type empty; - description "Disable next-hop dampening"; - } - } - - grouping REDISTRIBUTION-HISTORY { - description "Common node of ipv4, ipv6"; - - container redistribution-history { - description "Redistribution history related configs"; - - container keep { - description - "Retain redistribution history after disconnect."; - leaf bcdl { - type empty; - description "Enable retain BCDL history"; - } - } - leaf bcdl-client { - type uint32 { - range "10..2000000"; - } - description "Maximum BCDL redistribution history size."; - } - leaf protocol-client { - type uint32 { - range "10..250000"; - } - description "Maximum protocol redistribution history size."; - } - } - } - - container rib { - description "RIB configuration."; - - container af { - description "RIB address family configuration"; - - container ipv4 { - description "IPv4 configuration"; - uses NEXT-HOP-DAMPENING-DISABLE; - uses REDISTRIBUTION-HISTORY; - } - - container ipv6 { - description "IPv6 configuration"; - uses NEXT-HOP-DAMPENING-DISABLE; - uses REDISTRIBUTION-HISTORY; - } - } - leaf max-recursion-depth { - type uint32 { - range "5..16"; - } - description "Set maximum depth for route recursion check"; - } - } - - augment "/a1:vrfs/a1:vrf/a1:afs/a1:af" { - - container maximum-prefix { - presence "Indicates a maximum-prefix node is configured."; - description "Set maximum prefix limits"; - leaf prefix-limit { - type uint32 { - range "32..5000000"; - } - mandatory true; - description "Set table's maximum prefix limit"; - } - leaf mid-threshold { - type uint32 { - range "1..100"; - } - description "Mid-threshold (% of maximum)"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-rsi-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang deleted file mode 100644 index d977673..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang +++ /dev/null @@ -1,692 +0,0 @@ -submodule Cisco-IOS-XR-ip-rib-ipv4-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-rib-ipv4-oper { - prefix Cisco-IOS-XR-ip-rib-ipv4-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-rib-ipv4 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv4-rib-edm-addr { - type inet:ipv4-address; - description "Ipv4 rib edm addr"; - } - - grouping IPV4-RIB-EDM-TABLE { - description "Information of a routing table"; - leaf tableid { - type uint32; - description "Table id"; - } - leaf afi { - type uint32; - description "Address Family"; - } - leaf safi { - type uint32; - description "sub Address Family"; - } - leaf vrf-name { - type string; - description "VRF Name of the table"; - } - leaf table-name { - type string; - description "Name of the table"; - } - leaf version { - type uint64; - description "Table version"; - } - leaf conf-prefix-limit { - type uint32; - description "Configured prefix limit"; - } - leaf current-prefix-count { - type uint32; - description "Num prefixes in table"; - } - leaf num-svdlcl-prefix { - type uint32; - description "Num SVD local prefixes"; - } - leaf num-svdrem-prefix { - type uint32; - description "Num SVD remote prefixes"; - } - leaf table-version { - type uint64; - description "Version no. of the table"; - } - leaf prefix-limit-notified { - type boolean; - description "Prefix limit state indicator"; - } - leaf fwd-referenced { - type boolean; - description "Table in fwd reference state?"; - } - leaf deleted { - type boolean; - description "Table deleted?"; - } - leaf initial-converge { - type boolean; - description "Table has reached convergence"; - } - } - - grouping RIB-EDM-ROUTE-COUNT { - description "Specifics of route count"; - leaf active-routes-count { - type uint32; - description "Number of active routes"; - } - leaf num-backup-routes { - type uint32; - description "Number of backup (inactive) routes"; - } - leaf num-active-paths { - type uint32; - description "Number of paths to active routes"; - } - leaf num-backup-paths { - type uint32; - description "Number of paths to backup routes"; - } - } - - grouping RIB-EDM-PROTO-ROUTE-SUMM-DETAIL { - description "Details of Protocol route types"; - - container proto-route-count { - description "Count for proto. instance"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-none { - description "No route type"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-other { - description "Unknown route type"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-intra { - description "OSPF route within an area"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-inter { - description "OSPF route across diff. areas"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-extern1 { - description "OSPF external route of type 1"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-extern2 { - description "OSPF external route of type 2"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-sum { - description "IS-IS summary route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l1 { - description "IS-IS level 1 route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l2 { - description "IS-IS level 2 route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l1-ia { - description "IS-IS level1 inter-area route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-int { - description "iBGP route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-ext { - description "eBGP route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-loc { - description "BGP local route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-nssa1 { - description "OSPF NSSA ext. route type 1"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-nssa2 { - description "OSPF NSSA ext. route type 2"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-igrp2-int { - description "EIGRP internal route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-igrp2-ext { - description "EIGRP external route"; - uses RIB-EDM-ROUTE-COUNT; - } - leaf name { - type string; - description "Proto name"; - } - leaf instance { - type string; - description "Instance"; - } - } - - grouping IPV4-RIB-EDM-ADVERT { - description "Route advertisement information"; - - list ipv4-rib-edm-advert { - description "ipv4 rib edm advert"; - leaf protocol-id { - type uint32; - description "Protocol advertising the route"; - } - leaf client-id { - type uint32; - description " Client advertising the route"; - } - leaf number-of-extended-communities { - type uint32; - description "Number of extended communities"; - } - leaf extended-communities { - type yang:hex-string; - description "Extended communities"; - } - leaf protocol-opaque-flags { - type uint8; - description "OSPF area-id flags"; - } - leaf protocol-opaque { - type uint32; - description "OSPF area-id"; - } - leaf code { - type int8; - description "Protocol code"; - } - leaf instance-name { - type string { - length "0..41"; - } - description "Instance name"; - } - } - } - - grouping IPV4-RIB-EDM-PROTO { - description "Information of a rib protocol"; - leaf protocol-names { - type string; - description "Name"; - } - leaf instance { - type string; - description "Instance"; - } - leaf version { - type uint32; - description "Proto version"; - } - leaf redistribution-client-count { - type uint32; - description "Number of redist clients"; - } - leaf protocol-clients-count { - type uint32; - description "Number of proto clients"; - } - leaf routes-counts { - type uint32; - description - "Number of routes (including active, backup and - deleted), where, number of backup routes = - RoutesCounts - ActiveRoutesCount - - DeletedRoutesCount "; - } - leaf active-routes-count { - type uint32; - description "Number of active routes (not deleted)"; - } - leaf deleted-routes-count { - type uint32; - description "Number of deleted routes"; - } - leaf paths-count { - type uint32; - description "Number of paths for all routes"; - } - leaf protocol-route-memory { - type uint32; - units "byte"; - description "Memory for proto's routes and paths in bytes"; - } - leaf backup-routes-count { - type uint32; - description "Number of backup routes"; - } - } - - grouping RIB-EDM-OPAQUE-OBJ { - description "Informaton of an opaque data"; - leaf key { - type yang:hex-string; - description "key"; - } - leaf data { - type yang:hex-string; - description "data"; - } - } - - grouping IPV4-RIB-EDM-PATH { - description "Information of a rib path"; - - list ipv4-rib-edm-path { - description "ipv4 rib edm path"; - leaf address { - xr:event-telemetry "Subscribe Telemetry Event"; - type Ipv4-rib-edm-addr; - description "Nexthop"; - } - leaf information-source { - xr:event-telemetry "Subscribe Telemetry Event"; - type Ipv4-rib-edm-addr; - description "Infosource"; - } - leaf v6-nexthop { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv6-address; - description "V6 nexthop"; - } - leaf v6-information-source { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv6-address; - description "V6 Infosource"; - } - leaf interface-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type xr:Interface-name; - description "Interface Name"; - } - leaf metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Metrics"; - } - leaf load-metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Load Metrics"; - } - leaf flags64 { - type uint64; - description "Flags extended to 64 bits"; - } - leaf flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint16; - description "Flags"; - } - leaf private-flags { - type uint16; - description "Private Flags"; - } - leaf looped { - type boolean; - description "Looping path"; - } - leaf next-hop-table-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Nexthop tableid"; - } - leaf next-hop-vrf-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "VRF Name of the nh table"; - } - leaf next-hop-table-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "NH table name"; - } - leaf next-hop-afi { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NH afi"; - } - leaf next-hop-safi { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NH safi"; - } - leaf route-label { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Label associated with this path"; - } - leaf tunnel-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Tunnel ID associated with this path"; - } - leaf pathid { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Path id of this path"; - } - leaf backup-pathid { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Path id of this path's backup"; - } - leaf ref-cnt-of-backup { - type uint32; - description "Refcnt of backup"; - } - leaf number-of-extended-communities { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Number of extended communities"; - } - leaf mvpn-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "MVPN attribute present"; - } - leaf path-rt-present { - type boolean; - description "Path RT present"; - } - leaf vrf-import-rt-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "VRFIMPORTRTPresent"; - } - leaf source-asrt-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SOURCEASRTPresent"; - } - leaf source-rd-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SOURCERDPresent"; - } - leaf segmented-nexthop-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SegmentedNexthopPresent"; - } - leaf next-hop-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NHID associated with this path"; - } - leaf next-hop-id-refcount { - type uint32; - description "NHID references"; - } - leaf ospf-area-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "OSPF area associated with the path"; - } - leaf has-labelstk { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "Path has a label stack"; - } - leaf num-labels { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Number of labels in stack"; - } - leaf binding-label { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "binding Label for this path"; - } - leaf nhid-feid { - type uint64; - description "Fib nhid encap id"; - } - leaf mpls-feid { - type uint64; - description "Fib mpls encap id"; - } - list remote-backup-addr { - max-elements "2"; - - description "Remote backup node address"; - leaf entry { - xr:event-telemetry "Subscribe Telemetry Event"; - - type Ipv4-rib-edm-addr; - } - } - list labelstk { - description "Outgoing label stack for this path"; - leaf entry { - xr:event-telemetry "Subscribe Telemetry Event"; - - type uint32; - } - } - } - } - - grouping IPV4-RIB-EDM-ROUTE { - description - "Information of a rib route head and rib proto - route"; - - container route-path { - description "Path(s) of the route"; - uses IPV4-RIB-EDM-PATH; - } - leaf prefix { - type Ipv4-rib-edm-addr; - description "Route prefix"; - } - leaf prefix-length-xr { - type uint8; - description "Length of prefix"; - } - leaf route-version { - type uint32; - description "Route version"; - } - leaf protocol-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Protocol advertising the route"; - } - leaf protocol-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description " Name of Protocol"; - } - leaf instance { - type string; - description "Instance name"; - } - leaf client-id { - type uint32; - description "Client adding the route to RIB"; - } - leaf route-type { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint16; - description "Route type"; - } - leaf priority { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route priority"; - } - leaf svd-type { - type uint8; - description "SVD Type of route"; - } - leaf flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Route flags"; - } - leaf extended-flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint64; - description "Extended Route flags"; - } - leaf tag { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Opaque proto specific info"; - } - leaf distance { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Distance of the route"; - } - leaf diversion-distance { - type uint32; - description "Diversion distance of the route"; - } - leaf metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Route metric"; - } - leaf paths-count { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Number of paths"; - } - leaf attribute-identity { - type uint32; - description "BGP Attribute ID"; - } - leaf traffic-index { - type uint8; - description "BGP Traffic Index"; - } - leaf route-precedence { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route ip precedence"; - } - leaf qos-group { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route qos group"; - } - leaf flow-tag { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Flow tag"; - } - leaf fwd-class { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Forward Class"; - } - leaf pic-count { - type uint8; - description "Number of pic paths in this route"; - } - leaf active { - type boolean; - description "Is the route active or backup"; - } - leaf diversion { - type boolean; - description "Route has a diversion path"; - } - leaf diversion-proto-name { - type string; - description "Diversion route protocol name"; - } - leaf route-age { - type uint32; - units "second"; - description "Age of route (seconds)"; - } - leaf route-label { - type uint32; - description "Local label of the route"; - } - leaf version { - type uint32; - description "Route Version"; - } - leaf tbl-version { - type uint64; - description "Table Version"; - } - leaf route-modify-time { - type uint64; - units "nanosecond"; - description "Route modification time(nanoseconds)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper.yang deleted file mode 100644 index 9d053a6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv4-oper.yang +++ /dev/null @@ -1,569 +0,0 @@ -module Cisco-IOS-XR-ip-rib-ipv4-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper"; - - - prefix "ip-rib-ipv4-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-rib-ipv4-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rib-ipv4 package operational data. - - This module contains definitions - for the following management objects: - rib-stdby: RIB standby node operational data - rib: rib - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rib-saf-name { - type string { - pattern "(Unicast)|(Multicast)"; - } - description - "Unicast: Comment: Ucast string for , - Multicast: Comment: Mcast string for "; - } - typedef Rib-af-name { - type string { - pattern "(IPv4)|(IPv6)"; - } - description - "IPv4: Comment: v4 string for , IPv6: - Comment: v6 string for "; - } - - grouping VRF-TABLE { - description "Common node of rib, rib-stdby"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "Specific VRF"; - - container afs { - description "Address Family (AF) table"; - - list af { - key "af-name"; - description "Specific AF information"; - - container safs { - description "Subsequent Address Family (SAF) table"; - - list saf { - key "saf-name"; - description "Specific SAF information"; - - container ip-rib-route-table-names { - description "Global container of routes"; - - list ip-rib-route-table-name { - key "route-table-name"; - description - "IP RIB Route table name for a topology"; - - container routes { - description "Route information "; - - list route { - description - "Route information of a specific Network - Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - leaf next-hop-address { - type inet:ipv4-address-no-zone; - description "NextHop Address"; - } - leaf interface-name { - type xr:Interface-name; - description "Outgoing Interface"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container deleted-routes { - description "Deleted"; - - list deleted-route { - description - "Route information for a specific - deleted address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container destination-kw { - description "Destination KW"; - - container dest-best-routes { - description "Best Local"; - - list dest-best-route { - key "address"; - description - "Best local route information for a - specific Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container dest-q-routes { - description "Quarantine"; - - list dest-q-route { - description - "Route information of a specific Backup - Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container dest-backup-routes { - description "Backup"; - - list dest-backup-route { - description - "Route information of a specific Backup - Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container dest-next-hop-routes { - description "Resolving next hop"; - - list dest-next-hop-route { - key "address"; - description - "Nexthop information for a specific - address"; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - } - - container opaques { - description "Opaque information "; - - list opaque { - description "Opaque item "; - leaf opaque-clientid { - type int32; - description "Opaque Client ID"; - } - leaf opaque-protoid { - type int32; - description "Opaque Proto ID"; - } - leaf opaque-key-type { - type int32; - description "Opaque key type"; - } - leaf opaque-key-size { - type int32; - description "Opaque key size"; - } - leaf opaque-data-size { - type int32; - description "Opaque data size"; - } - leaf opaque-string { - type xr:Cisco-ios-xr-string; - description "Opaque string"; - } - uses RIB-EDM-OPAQUE-OBJ; - } - } - - container protocol { - description - "Contains the classification of routes by - protocol"; - - container mobile { - description "Mobile Protocol"; - uses NON-AS; - } - - container subscriber { - description "Subscriber Protocol"; - uses NON-AS; - } - - container connected { - description "Connected Protocol"; - uses NON-AS; - } - - container dagr { - description - "DAGR Protocol(Direct-Attached Gateway - Redundancy) Protocol"; - uses NON-AS; - } - - container rip { - description "RIP Protocol"; - uses NON-AS; - } - - container ospf { - description "OSPF Protocol"; - uses AS; - } - - container static { - description "Static Protocol"; - uses NON-AS; - } - - container rpl { - description "RPL Protocol"; - uses AS; - } - - container application { - description "Application Protocol"; - uses NON-AS; - } - - container te-client { - description "TEClient Protocol"; - uses NON-AS; - } - - container eigrp { - description "EIGRP Protocol"; - uses AS; - } - - container local { - description "Local Protocol"; - - container smiap { - description "SMIAP"; - uses PROTOCOL-ROUTE-TABLE; - uses INFORMATION; - } - - container lspv { - description - "LSPV(Label Switched Path Verification) - Protocol"; - uses PROTOCOL-ROUTE-TABLE; - uses INFORMATION; - } - uses NON-AS; - } - - container bgp { - description "BGP Protocol"; - uses AS; - } - - container isis { - description "ISIS Protocol"; - uses AS; - } - } - - container q-routes { - description "Quarantine"; - - list q-route { - description - "Route information for a specific - quarantined address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container backup-routes { - description - "Backup route information for the given - table"; - - list backup-route { - description - "Route information for a specific backup - address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - leaf protoid { - type int32; - description "Proto ID"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - - container adverts { - description "Route advertiser information "; - - list advert { - description - "Route information of a specific Network - Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ADVERT; - } - } - leaf route-table-name { - type xr:Cisco-ios-xr-string; - description "Name of the route table"; - } - } - } - leaf saf-name { - type Rib-saf-name; - description "Name of the SAF"; - } - } - } - leaf af-name { - type Rib-af-name; - description "Name of the AF"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF"; - } - } - } - } - - grouping AS { - description "Common node of bgp, ospf, isis, eigrp, rpl"; - - list as { - key "as"; - description "Autonomous System of protocol"; - leaf as { - type xr:Cisco-ios-xr-string; - description "Autonomous system"; - } - uses PROTOCOL-ROUTE-TABLE; - uses INFORMATION; - } - } - - grouping INFORMATION { - description "Common node of as, non-as, smiap, lspv"; - - container information { - description "Protocol related Information"; - uses IPV4-RIB-EDM-PROTO; - } - } - - grouping RIB-TABLE { - description "Common node of rib, rib-stdby"; - - container rib-table-ids { - description "RIB table"; - - list rib-table-id { - key "tableid"; - description "Specific Table"; - - container summary-protos { - description "RIB table summary"; - - list summary-proto { - key "protoid"; - description - "Route summary information for a specific - table/protocol "; - leaf protoid { - type int32; - description "Proto ID"; - } - uses RIB-EDM-PROTO-ROUTE-SUMM-DETAIL; - } - } - - container rib-table-itf-hndls { - description "RIB table interface"; - - list rib-table-itf-hndl { - key "handle"; - description "Interface handle"; - leaf handle { - type int32; - description "Itf Handle"; - } - - list itf-route { - key "address"; - description - "Route information for a specific - table/interface "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - } - - container information { - description "Table related Information"; - uses IPV4-RIB-EDM-TABLE; - } - leaf tableid { - type xr:Hex-integer; - description "Table ID"; - } - } - } - } - - grouping NON-AS { - description - "Common node of local, connected, rip, static, - subscriber, mobile, dagr, application, te-client"; - - container non-as { - description "Non Autonomous System of protocol"; - uses PROTOCOL-ROUTE-TABLE; - uses INFORMATION; - } - } - - grouping PROTOCOL-ROUTE-TABLE { - description "Common node of as, non-as, smiap, lspv"; - - container protocol-routes { - description "Protocol specific Route"; - - list protocol-route { - description - " Route information of a specific Network - Address "; - leaf address { - type inet:ipv4-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - uses IPV4-RIB-EDM-ROUTE; - } - } - } - - container rib-stdby { - config false; - description "RIB standby node operational data"; - uses VRF-TABLE; - uses RIB-TABLE; - } - - container rib { - config false; - description "rib"; - uses VRF-TABLE; - uses RIB-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang deleted file mode 100644 index f270433..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang +++ /dev/null @@ -1,680 +0,0 @@ -submodule Cisco-IOS-XR-ip-rib-ipv6-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-rib-ipv6-oper { - prefix Cisco-IOS-XR-ip-rib-ipv6-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-rib-ipv6 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6-rib-edm-addr { - type inet:ipv6-address; - description "Ipv6 rib edm addr"; - } - - grouping IPV6-RIB-EDM-PROTO { - description "Information of a rib protocol"; - leaf protocol-names { - type string; - description "Name"; - } - leaf instance { - type string; - description "Instance"; - } - leaf version { - type uint32; - description "Proto version"; - } - leaf redistribution-client-count { - type uint32; - description "Number of redist clients"; - } - leaf protocol-clients-count { - type uint32; - description "Number of proto clients"; - } - leaf routes-counts { - type uint32; - description - "Number of routes (including active, backup and - deleted), where, number of backup routes = - RoutesCounts - ActiveRoutesCount - - DeletedRoutesCount "; - } - leaf active-routes-count { - type uint32; - description "Number of active routes (not deleted)"; - } - leaf deleted-routes-count { - type uint32; - description "Number of deleted routes"; - } - leaf paths-count { - type uint32; - description "Number of paths for all routes"; - } - leaf protocol-route-memory { - type uint32; - units "byte"; - description "Memory for proto's routes and paths in bytes"; - } - leaf backup-routes-count { - type uint32; - description "Number of backup routes"; - } - } - - grouping IPV6-RIB-EDM-ADVERT { - description "Route advertisement information"; - - list ipv6-rib-edm-advert { - description "ipv6 rib edm advert"; - leaf protocol-id { - type uint32; - description "Protocol advertising the route"; - } - leaf client-id { - type uint32; - description " Client advertising the route"; - } - leaf number-of-extended-communities { - type uint32; - description "Number of extended communities"; - } - leaf extended-communities { - type yang:hex-string; - description "Extended communities"; - } - leaf protocol-opaque-flags { - type uint8; - description "OSPF area-id flags"; - } - leaf protocol-opaque { - type uint32; - description "OSPF area-id"; - } - leaf code { - type int8; - description "Protocol code"; - } - leaf instance-name { - type string { - length "0..41"; - } - description "Instance name"; - } - } - } - - grouping IPV6-RIB-EDM-PATH { - description "Information of a rib path"; - - list ipv6-rib-edm-path { - description "ipv6 rib edm path"; - leaf address { - xr:event-telemetry "Subscribe Telemetry Event"; - type Ipv6-rib-edm-addr; - description "Nexthop"; - } - leaf information-source { - xr:event-telemetry "Subscribe Telemetry Event"; - type Ipv6-rib-edm-addr; - description "Infosource"; - } - leaf v6-nexthop { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv6-address; - description "V6 nexthop"; - } - leaf v6-information-source { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv6-address; - description "V6 Infosource"; - } - leaf interface-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type xr:Interface-name; - description "Interface Name"; - } - leaf metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Metrics"; - } - leaf load-metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Load Metrics"; - } - leaf flags64 { - type uint64; - description "Flags extended to 64 bits"; - } - leaf flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint16; - description "Flags"; - } - leaf private-flags { - type uint16; - description "Private Flags"; - } - leaf looped { - type boolean; - description "Looping path"; - } - leaf next-hop-table-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Nexthop tableid"; - } - leaf next-hop-vrf-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "VRF Name of the nh table"; - } - leaf next-hop-table-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "NH table name"; - } - leaf next-hop-afi { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NH afi"; - } - leaf next-hop-safi { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NH safi"; - } - leaf route-label { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Label associated with this path"; - } - leaf tunnel-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Tunnel ID associated with this path"; - } - leaf pathid { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Path id of this path"; - } - leaf backup-pathid { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Path id of this path's backup"; - } - leaf ref-cnt-of-backup { - type uint32; - description "Refcnt of backup"; - } - leaf number-of-extended-communities { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Number of extended communities"; - } - leaf mvpn-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "MVPN attribute present"; - } - leaf path-rt-present { - type boolean; - description "Path RT present"; - } - leaf vrf-import-rt-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "VRFIMPORTRTPresent"; - } - leaf source-asrt-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SOURCEASRTPresent"; - } - leaf source-rd-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SOURCERDPresent"; - } - leaf segmented-nexthop-present { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "SegmentedNexthopPresent"; - } - leaf next-hop-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "NHID associated with this path"; - } - leaf next-hop-id-refcount { - type uint32; - description "NHID references"; - } - leaf ospf-area-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description "OSPF area associated with the path"; - } - leaf has-labelstk { - xr:event-telemetry "Subscribe Telemetry Event"; - type boolean; - description "Path has a label stack"; - } - leaf num-labels { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Number of labels in stack"; - } - leaf binding-label { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "binding Label for this path"; - } - leaf nhid-feid { - type uint64; - description "Fib nhid encap id"; - } - leaf mpls-feid { - type uint64; - description "Fib mpls encap id"; - } - list remote-backup-addr { - max-elements "2"; - - description "Remote backup node address"; - leaf entry { - xr:event-telemetry "Subscribe Telemetry Event"; - - type Ipv6-rib-edm-addr; - } - } - list labelstk { - description "Outgoing label stack for this path"; - leaf entry { - xr:event-telemetry "Subscribe Telemetry Event"; - - type uint32; - } - } - } - } - - grouping IPV6-RIB-EDM-ROUTE { - description - "Information of a rib route head and rib proto - route"; - - container route-path { - description "Path(s) of the route"; - uses IPV6-RIB-EDM-PATH; - } - leaf prefix { - type Ipv6-rib-edm-addr; - description "Route prefix"; - } - leaf prefix-length-xr { - type uint8; - description "Length of prefix"; - } - leaf route-version { - type uint32; - description "Route version"; - } - leaf protocol-id { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Protocol advertising the route"; - } - leaf protocol-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type string; - description " Name of Protocol"; - } - leaf instance { - type string; - description "Instance name"; - } - leaf client-id { - type uint32; - description "Client adding the route to RIB"; - } - leaf route-type { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint16; - description "Route type"; - } - leaf priority { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route priority"; - } - leaf svd-type { - type uint8; - description "SVD Type of route"; - } - leaf flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Route flags"; - } - leaf extended-flags { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint64; - description "Extended Route flags"; - } - leaf tag { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Opaque proto specific info"; - } - leaf distance { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Distance of the route"; - } - leaf diversion-distance { - type uint32; - description "Diversion distance of the route"; - } - leaf metric { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Route metric"; - } - leaf paths-count { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Number of paths"; - } - leaf attribute-identity { - type uint32; - description "BGP Attribute ID"; - } - leaf traffic-index { - type uint8; - description "BGP Traffic Index"; - } - leaf route-precedence { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route ip precedence"; - } - leaf qos-group { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Route qos group"; - } - leaf flow-tag { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Flow tag"; - } - leaf fwd-class { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint8; - description "Forward Class"; - } - leaf pic-count { - type uint8; - description "Number of pic paths in this route"; - } - leaf active { - type boolean; - description "Is the route active or backup"; - } - leaf diversion { - type boolean; - description "Route has a diversion path"; - } - leaf diversion-proto-name { - type string; - description "Diversion route protocol name"; - } - leaf route-age { - type uint32; - units "second"; - description "Age of route (seconds)"; - } - leaf route-label { - type uint32; - description "Local label of the route"; - } - leaf version { - type uint32; - description "Route Version"; - } - leaf tbl-version { - type uint64; - description "Table Version"; - } - leaf route-modify-time { - type uint64; - units "nanosecond"; - description "Route modification time(nanoseconds)"; - } - } - - grouping RIB-EDM-ROUTE-COUNT { - description "Specifics of route count"; - leaf active-routes-count { - type uint32; - description "Number of active routes"; - } - leaf num-backup-routes { - type uint32; - description "Number of backup (inactive) routes"; - } - leaf num-active-paths { - type uint32; - description "Number of paths to active routes"; - } - leaf num-backup-paths { - type uint32; - description "Number of paths to backup routes"; - } - } - - grouping RIB-EDM-PROTO-ROUTE-SUMM-DETAIL { - description "Details of Protocol route types"; - - container proto-route-count { - description "Count for proto. instance"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-none { - description "No route type"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-other { - description "Unknown route type"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-intra { - description "OSPF route within an area"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-inter { - description "OSPF route across diff. areas"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-extern1 { - description "OSPF external route of type 1"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-extern2 { - description "OSPF external route of type 2"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-sum { - description "IS-IS summary route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l1 { - description "IS-IS level 1 route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l2 { - description "IS-IS level 2 route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-isis-l1-ia { - description "IS-IS level1 inter-area route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-int { - description "iBGP route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-ext { - description "eBGP route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-bgp-loc { - description "BGP local route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-nssa1 { - description "OSPF NSSA ext. route type 1"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-ospf-nssa2 { - description "OSPF NSSA ext. route type 2"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-igrp2-int { - description "EIGRP internal route"; - uses RIB-EDM-ROUTE-COUNT; - } - - container rtype-igrp2-ext { - description "EIGRP external route"; - uses RIB-EDM-ROUTE-COUNT; - } - leaf name { - type string; - description "Proto name"; - } - leaf instance { - type string; - description "Instance"; - } - } - - grouping IPV6-RIB-EDM-TABLE { - description "Information of a routing table"; - leaf tableid { - type uint32; - description "Table id"; - } - leaf afi { - type uint32; - description "Address Family"; - } - leaf safi { - type uint32; - description "sub Address Family"; - } - leaf vrf-name { - type string; - description "VRF Name of the table"; - } - leaf table-name { - type string; - description "Name of the table"; - } - leaf version { - type uint64; - description "Table version"; - } - leaf conf-prefix-limit { - type uint32; - description "Configured prefix limit"; - } - leaf current-prefix-count { - type uint32; - description "Num prefixes in table"; - } - leaf num-svdlcl-prefix { - type uint32; - description "Num SVD local prefixes"; - } - leaf num-svdrem-prefix { - type uint32; - description "Num SVD remote prefixes"; - } - leaf table-version { - type uint64; - description "Version no. of the table"; - } - leaf prefix-limit-notified { - type boolean; - description "Prefix limit state indicator"; - } - leaf fwd-referenced { - type boolean; - description "Table in fwd reference state?"; - } - leaf deleted { - type boolean; - description "Table deleted?"; - } - leaf initial-converge { - type boolean; - description "Table has reached convergence"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper.yang deleted file mode 100644 index 51989ec..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rib-ipv6-oper.yang +++ /dev/null @@ -1,502 +0,0 @@ -module Cisco-IOS-XR-ip-rib-ipv6-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper"; - - - prefix "ip-rib-ipv6-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-rib-ipv6-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rib-ipv6 package operational data. - - This module contains definitions - for the following management objects: - ipv6-rib: RIB operational data - ipv6-rib-stdby: ipv6 rib stdby - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping VRF-TABLE { - description "Common node of ipv6-rib, ipv6-rib-stdby"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "Specific VRF"; - - container afs { - description "Address Family (AF) table"; - - list af { - key "af-name"; - description "Specific AF information"; - - container safs { - description "Subsequent Address Family (SAF) table"; - - list saf { - key "saf-name"; - description "Specific SAF information"; - - container ip-rib-route-table-names { - description "Global container of routes"; - - list ip-rib-route-table-name { - key "route-table-name"; - description - "IP RIB Route table name for a topology"; - - container destination-kw { - description "Destination KW"; - - container dest-q-routes { - description "Quarantine"; - - list dest-q-route { - description - "Route information of a specific Backup - Address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container dest-backup-routes { - description "Backup"; - - list dest-backup-route { - description - "Route information of a specific Backup - Address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container dest-best-routes { - description "Best Local"; - - list dest-best-route { - key "address"; - description - "Best local route information for a - specific Address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container dest-next-hop-routes { - description "Resolving next hop"; - - list dest-next-hop-route { - key "address"; - description - "Nexthop information for a specific - address"; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - } - - container adverts { - description "Route advertiser information "; - - list advert { - description - "Route information of a specific Network - Address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ADVERT; - } - } - - container deleted-routes { - description "Deleted"; - - list deleted-route { - description - "Route information for a specific - deleted address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container protocol { - description - "Contains the classification of routes by - protocol"; - - container local { - description "Local Protocol"; - - container lspv { - description - "LSPV(Label Switched Path Verification) - protocol"; - uses INFORMATION; - uses PROTOCOL-ROUTE-TABLE; - } - uses NON-AS; - } - - container bgp { - description "BGP Protocol"; - uses AS; - } - - container mobile { - description "Mobile Protocol"; - uses NON-AS; - } - - container eigrp { - description "EIGRP Protocol"; - uses AS; - } - - container rpl { - description "RPL Protocol"; - uses AS; - } - - container static { - description "Static Protocol"; - uses NON-AS; - } - - container te-client { - description "TEClient protocol"; - uses NON-AS; - } - - container subscriber { - description "Subscriber Protocol"; - uses NON-AS; - } - - container ospf { - description "OSPF Protocol"; - uses AS; - } - - container connected { - description "Connected Protocol"; - - container l2vpn { - description "L2VPN"; - uses INFORMATION; - uses PROTOCOL-ROUTE-TABLE; - } - uses NON-AS; - } - - container isis { - description "ISIS Protocol"; - uses AS; - } - } - - container routes { - description "Route information "; - - list route { - description - "Route information of a specific Network - Address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - leaf next-hop-address { - type inet:ipv6-address-no-zone; - description "NextHop Address "; - } - leaf interface-name { - type xr:Interface-name; - description "Outgoing Interface "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container q-routes { - description "Quarantine"; - - list q-route { - description - "Route information for a specific - quarantined address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - - container backup-routes { - description - "Backup route information for the given - table"; - - list backup-route { - description - "Route information for a specific backup - address "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - leaf protoid { - type int32; - description "Proto ID"; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - leaf route-table-name { - type xr:Cisco-ios-xr-string; - description "Name of the route table "; - } - } - } - leaf saf-name { - type xr:Cisco-ios-xr-string; - description "Name of the SAF"; - } - } - } - leaf af-name { - type xr:Cisco-ios-xr-string; - description "Name of the AF - 'IPv6'"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF"; - } - } - } - } - - grouping AS { - description "Common node of bgp, ospf, isis, eigrp, rpl"; - - list as { - key "as"; - description "Autonomous System of protocol"; - leaf as { - type xr:Cisco-ios-xr-string; - description "Autonomous system"; - } - uses INFORMATION; - uses PROTOCOL-ROUTE-TABLE; - } - } - - grouping INFORMATION { - description "Common node of as, non-as, l2vpn, lspv"; - - container information { - description "Protocol related Information"; - uses IPV6-RIB-EDM-PROTO; - } - } - - grouping RIB-TABLE { - description "Common node of ipv6-rib, ipv6-rib-stdby"; - - container rib-table-ids { - description "RIB table"; - - list rib-table-id { - key "tableid"; - description "Specific Table"; - - container information { - description "Table related Information"; - uses IPV6-RIB-EDM-TABLE; - } - - container summary-protos { - description "RIB table summary"; - - list summary-proto { - key "protoid"; - description - "Route summary information for a specific - table/protocol "; - leaf protoid { - type int32; - description "Proto ID"; - } - uses RIB-EDM-PROTO-ROUTE-SUMM-DETAIL; - } - } - - container rib-table-itf-hndls { - description "RIB table interface"; - - list rib-table-itf-hndl { - key "handle"; - description "Interface handle"; - leaf handle { - type int32; - description "Itf Handle"; - } - - list itf-route { - key "address"; - description - "Route information for a specific - table/interface "; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - } - leaf tableid { - type xr:Hex-integer; - description "Table ID"; - } - } - } - } - - grouping NON-AS { - description - "Common node of local, connected, static, - subscriber, mobile, te-client"; - - container non-as { - description "Non Autonomous System of protocol"; - uses INFORMATION; - uses PROTOCOL-ROUTE-TABLE; - } - } - - grouping PROTOCOL-ROUTE-TABLE { - description "Common node of as, non-as, l2vpn, lspv"; - - container protocol-routes { - description "Protocol specific Route"; - - list protocol-route { - description - "Route information of a specific Network Address"; - leaf address { - type inet:ipv6-address-no-zone; - description "Network Address"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix Length "; - } - uses IPV6-RIB-EDM-ROUTE; - } - } - } - - container ipv6-rib { - config false; - description "RIB operational data"; - uses RIB-TABLE; - uses VRF-TABLE; - } - - container ipv6-rib-stdby { - config false; - description "ipv6 rib stdby"; - uses RIB-TABLE; - uses VRF-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-cfg.yang deleted file mode 100644 index 4977335..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-cfg.yang +++ /dev/null @@ -1,692 +0,0 @@ -module Cisco-IOS-XR-ip-rip-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg"; - - - prefix "ip-rip-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rip package configuration. - - This module contains definitions - for the following management objects: - rip: RIP configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rip-ext-community { - type enumeration { - enum as { - value 0; - description "AS:nn format"; - } - enum ipv4-address { - value 1; - description "IPV4Address:nn format"; - } - enum four-byte-as { - value 2; - description "4-byte ASN format"; - } - } - description "Rip ext community"; - } - typedef Default-redist-route { - type enumeration { - enum all { - value 0; - description "All routes"; - } - } - description "Default redist route"; - } - typedef Default-information-option { - type enumeration { - enum always { - value 0; - description "Always"; - } - enum policy { - value 1; - description "Use route-policy"; - } - } - description "Default information option"; - } - typedef Isis-redist-route { - type enumeration { - enum level1 { - value 1; - description "Level-1 routes only"; - } - enum level2 { - value 2; - description "Level-1 routes only"; - } - enum level1-and2 { - value 3; - description "Level-1 and level-2 routes"; - } - } - description "Isis redist route"; - } - typedef Bgp-redist-route { - type enumeration { - enum all { - value 0; - description "All routes"; - } - enum internal { - value 512; - description "Internal routes only"; - } - enum external { - value 1024; - description "External routes only"; - } - enum local { - value 2048; - description "Local routes only"; - } - } - description "Bgp redist route"; - } - typedef Rip-auth-mode { - type enumeration { - enum text { - value 2; - description "Text mode"; - } - enum md5 { - value 3; - description "MD5 mode"; - } - } - description "Rip auth mode"; - } - - grouping DISTANCE { - description "Common node of default-vrf, vrf"; - leaf distance { - type uint32 { - range "0..255"; - } - default "120"; - description "Administrative distance"; - } - } - - grouping VALIDATE-SOURCE-DISABLE { - description "Common node of default-vrf, vrf"; - leaf validate-source-disable { - type empty; - description - "Disable validation of source address of routing - updates"; - } - } - - grouping AUTO-SUMMARY { - description "Common node of default-vrf, vrf"; - leaf auto-summary { - type empty; - description "Enable automatic network number summarization"; - } - } - - grouping TIMERS { - description "Common node of default-vrf, vrf"; - - container timers { - presence "Indicates a timers node is configured."; - description "Various routing timers"; - leaf update-timer { - type uint32 { - range "5..50000"; - } - mandatory true; - description "Interval between updates"; - } - leaf invalid-timer { - type uint32 { - range "15..200000"; - } - mandatory true; - description "Invalid"; - } - leaf holddown-timer { - type uint32 { - range "15..200000"; - } - mandatory true; - description "Holddown"; - } - leaf flush-timer { - type uint32 { - range "16..250000"; - } - mandatory true; - description "Flush"; - } - } - } - - grouping REDISTRIBUTION { - description "Common node of default-vrf, vrf"; - - container redistribution { - description - "Redistribute information from another routing - protocol"; - - container connected { - presence "enable connected"; - description "Redistribute connected routes"; - leaf route-policy-name { - type string; - description "Route Policy name"; - } - leaf route-type { - type Default-redist-route; - description "Route type"; - } - } - - container bgps { - description "Redistribute BGP routes"; - - list bgp { - key "asnxx asnyy"; - description "Autonomous system number"; - leaf asnxx { - type uint32 { - range "0..65535"; - } - description "Higher 16 bits of 4-byte BGP AS number"; - } - leaf asnyy { - type uint32 { - range "0..4294967295"; - } - description "2-byte or 4-byte BGP AS number"; - } - leaf policy { - type string; - description "Route Policy name"; - } - leaf type { - type Bgp-redist-route; - description "Route type"; - } - } - } - - container isises { - description "Redistribute IS-IS routes"; - - list isis { - key "isis-name"; - description "Redistribute IS-IS routes"; - leaf isis-name { - type xr:Cisco-ios-xr-string; - description "IS-IS instance name"; - } - leaf route-policy-name { - type string; - description "Route Policy name"; - } - leaf route-type { - type Isis-redist-route; - description "Route type"; - } - } - } - - container eigrp-s { - description "Redistribute EIGRP routes"; - - list eigrp { - key "as"; - description "Redistribute EIGRP routes"; - leaf as { - type uint32 { - range "1..65535"; - } - description "Autonomous system number"; - } - leaf route-policy-name { - type string; - description "Route Policy name"; - } - leaf route-type { - type Default-redist-route; - description "Route type"; - } - } - } - - container static { - presence "enable static"; - description "Redistribute static routes"; - leaf route-policy-name { - type string; - description "Route Policy name"; - } - leaf route-type { - type Default-redist-route; - description "Route type"; - } - } - - container ospfs { - description "Redistribute OSPF routes"; - - list ospf { - key "ospf-name"; - description "Redistribute OSPF routes"; - leaf ospf-name { - type xr:Cisco-ios-xr-string; - description "Process ID for the OSPF instance"; - } - leaf route-policy-name { - type string; - description "Route Policy name"; - } - leaf internal { - type boolean; - description "Internal routes"; - } - leaf external { - type boolean; - description "External routes"; - } - leaf external-type { - type uint32 { - range "0..2"; - } - description "External route type"; - } - leaf nssa-external { - type boolean; - description "NSSA External routes"; - } - leaf nssa-external-type { - type uint32 { - range "0..2"; - } - description "NSSA External route type"; - } - } - } - } - } - - grouping DEFAULT-INFORMATION { - description "Common node of default-vrf, vrf"; - - container default-information { - presence "Indicates a default-information node is configured."; - description "Controls default information origination"; - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf option { - type Default-information-option; - mandatory true; - description "Origination option"; - } - } - } - - grouping IP-DISTANCE-TABLE { - description "Common node of default-vrf, vrf"; - - container ip-distances { - description "Table of IP specific administrative distances"; - - list ip-distance { - key "address netmask"; - description "IP specific administrative distance"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP Source address"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "IP address mask"; - } - leaf distance { - type uint32 { - range "0..255"; - } - mandatory true; - description "Administrative distance"; - } - } - } - } - - grouping MAXIMUM-PATHS { - description "Common node of default-vrf, vrf"; - leaf maximum-paths { - type uint32 { - range "1..128"; - } - default "4"; - description "Maximum number of paths allowed per route"; - } - } - - grouping POLICY-IN { - description "Common node of default-vrf, vrf"; - leaf policy-in { - type string; - description "Route Policy for inbbound routing updates"; - } - } - - grouping POLICY-OUT { - description "Common node of default-vrf, vrf"; - leaf policy-out { - type string; - description "Route Policy for outbound routing updates"; - } - } - - grouping INTERFACE-TABLE { - description "Common node of default-vrf, vrf"; - - container interfaces { - description "Table of RIP interfaces"; - - list interface { - key "interface-name"; - description "RIP interface name"; - - container authentication { - presence "Indicates a authentication node is configured."; - description "Authentication keychain and mode"; - leaf keychain { - type string; - mandatory true; - description "Name of keychain"; - } - leaf mode { - type Rip-auth-mode; - mandatory true; - description "Authentication mode"; - } - } - - container site-of-origin { - description - "SOO community for prefixes learned over this - interface"; - leaf type { - type Rip-ext-community; - description "Extended community type"; - } - leaf as-xx { - when "../type != 'as' and ../type != 'ipv4-address'" { - description - "../Type != AS and ../Type != IPV4Address"; - } - type uint32 { - range "0..65535"; - } - description "AS Number for AS:nn format"; - } - leaf as-yy { - when "../type != 'ipv4-address'" { - description "../Type != IPV4Address"; - } - type uint32 { - range "0..4294967295"; - } - description "32 bit value for AS:nn format"; - } - leaf as-index { - when "../type != 'ipv4-address'" { - description "../Type != IPV4Address"; - } - type uint32 { - range "0..4294967295"; - } - description "AS Number Index"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IPV4 address for IPV4Address:nn format"; - } - leaf address-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type uint32 { - range "0..65535"; - } - description "16bit value for IPV4Address:nn format"; - } - } - - container receive-version { - description - "RIP versions supported for receiving - advertisements"; - leaf version1 { - type boolean; - description "Support RIP version 1"; - } - leaf version2 { - type boolean; - default "true"; - description "Support RIP version 2"; - } - } - - container send-version { - description - "RIP versions supported for sending - advertisements"; - leaf version1 { - type boolean; - description "Support RIP version 1"; - } - leaf version2 { - type boolean; - default "true"; - description "Support RIP version 2"; - } - } - leaf broadcast-for-v2 { - type empty; - description - "Send RIP v2 output packets to broadcast - address"; - } - leaf poison-reverse { - type empty; - description "Enable poison reverse"; - } - leaf passive { - type empty; - description "Suppress routing updates on this interface"; - } - leaf enable { - type empty; - description "Starts RIP interface configuration"; - } - leaf policy-out { - type string; - description "Route Policy for outbound routing updates"; - } - leaf accept-metric-zero { - type empty; - description "Accept RIP updates with metric 0"; - } - leaf policy-in { - type string; - description "Route Policy for inbound routing updates"; - } - leaf split-horizon-disable { - type empty; - description "Disable split horizon"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - } - - grouping BROADCAST-FOR-V2 { - description "Common node of default-vrf, vrf"; - leaf broadcast-for-v2 { - type empty; - description "Send RIP v2 output packets to broadcast address"; - } - } - - grouping NSF { - description "Common node of default-vrf, vrf"; - leaf nsf { - type empty; - description "Enable Cisco Non Stop Forwarding"; - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbors { - description "Configure RIP Neighbors"; - - list neighbor { - key "neighbor-address"; - description "Neighbor address"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - } - } - } - - grouping OUTPUT-DELAY { - description "Common node of default-vrf, vrf"; - leaf output-delay { - type uint32 { - range "8..50"; - } - units "millisecond"; - description "Inter-packet delay for RIP updates"; - } - } - - grouping DEFAULT-METRIC { - description "Common node of default-vrf, vrf"; - leaf default-metric { - type uint32 { - range "0..16"; - } - description "Default metric of redistributed routes"; - } - } - - container rip { - description "RIP configuration"; - - container default-vrf { - description "RIP configuration for Default VRF"; - leaf enable { - type empty; - description "Starts RIP configuration for Default VRF"; - } - uses BROADCAST-FOR-V2; - uses DISTANCE; - uses DEFAULT-INFORMATION; - uses DEFAULT-METRIC; - uses OUTPUT-DELAY; - uses AUTO-SUMMARY; - uses REDISTRIBUTION; - uses IP-DISTANCE-TABLE; - uses POLICY-OUT; - uses INTERFACE-TABLE; - uses NEIGHBOR-TABLE; - uses VALIDATE-SOURCE-DISABLE; - uses MAXIMUM-PATHS; - uses NSF; - uses POLICY-IN; - uses TIMERS; - } - - container vrfs { - description "VRF related RIP configuration"; - - list vrf { - key "vrf-name"; - description "RIP configuration for a particular VRF"; - leaf enable { - type empty; - description - "Starts RIP configuration for a particular VRF"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses BROADCAST-FOR-V2; - uses DISTANCE; - uses DEFAULT-INFORMATION; - uses DEFAULT-METRIC; - uses OUTPUT-DELAY; - uses AUTO-SUMMARY; - uses REDISTRIBUTION; - uses IP-DISTANCE-TABLE; - uses POLICY-OUT; - uses INTERFACE-TABLE; - uses NEIGHBOR-TABLE; - uses VALIDATE-SOURCE-DISABLE; - uses MAXIMUM-PATHS; - uses NSF; - uses POLICY-IN; - uses TIMERS; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper-sub1.yang deleted file mode 100644 index cee18dd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper-sub1.yang +++ /dev/null @@ -1,637 +0,0 @@ -submodule Cisco-IOS-XR-ip-rip-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-rip-oper { - prefix Cisco-IOS-XR-ip-rip-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-rip package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Interface-state { - type enumeration { - enum interface-none { - value 0; - description "Interface does not exist"; - } - enum interface-down { - value 1; - description "Interface exists but IP is down"; - } - enum interface-up { - value 2; - description "Interface exists and IP is up"; - } - enum interface-unknown { - value 3; - description "Unknown state"; - } - } - description "Interface state"; - } - typedef Rip-route-origin { - type enumeration { - enum rip-rt-org-runover { - value 0; - description "configured 'network'"; - } - enum rip-rt-org-redist { - value 1; - description "redistributed"; - } - enum rip-rt-org-auto-summary { - value 2; - description "auto summary"; - } - enum rip-rt-org-rip { - value 3; - description "learned via RIP"; - } - enum rip-rt-org-intsummary { - value 4; - description "interface summary-address"; - } - enum rip-rt-org-unused { - value 5; - description "route stay in for triggered rip"; - } - } - description "Rip route origin"; - } - - grouping RIP-SHOW-PROTO-PROC-BD { - description "RIP protocol process data"; - leaf vrf-config-count { - type uint32; - description "Number of VRFs configured"; - } - leaf vrf-active-count { - type uint32; - description "Number of active VRFs"; - } - leaf socket-descriptor { - type int32; - description "Socket descriptior"; - } - leaf current-oom-state { - type int32; - description "Current OOM state"; - } - leaf route-count { - type uint32; - description "Number of routes allocated"; - } - leaf path-count { - type uint32; - description "Number of paths allocated"; - } - - list vrf-summary { - description "List of VRFs configured"; - uses RIP-SHOW-VRF-SUMM-BD; - } - } - - grouping RIP-SHOW-IF-SUMM-BD { - description "RIP Interface summary data"; - leaf interface-name { - type string; - description "Interface name"; - } - leaf enabled { - type boolean; - description "RIP enabled indicator"; - } - leaf state { - type Interface-state; - description "Interface state"; - } - leaf destination-address { - type inet:ipv4-address; - description "IP address"; - } - leaf prefix-length { - type uint32; - description "Prefix length of IP address"; - } - leaf oom-flags { - type uint32; - description "Current OOM flags"; - } - leaf send-version { - type uint32; - description "RIP versions this interface sends out"; - } - leaf receive-version { - type uint32; - description "RIP versions this interface will receive"; - } - leaf neighbor-count { - type uint32; - description "Number of neighbors seen"; - } - } - - grouping RIP-SHOW-VRF-SUMM-BD { - description "RIP VRF summary data"; - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf active { - type boolean; - description "VRF Active indicator"; - } - leaf oom-flags { - type uint32; - description "Current OOM flags"; - } - leaf route-count { - type uint32; - description "Number of routes allocated"; - } - leaf path-count { - type uint32; - description "Number of paths allocated"; - } - leaf update-timer { - type uint32; - description "Update timer"; - } - leaf next-update-time { - type uint32; - description "Time left for next update"; - } - leaf invalid-timer { - type uint32; - description "Invalid timer"; - } - leaf hold-down-timer { - type uint32; - description "Holddown timer"; - } - leaf flush-timer { - type uint32; - description "Flush timer"; - } - leaf interface-configured-count { - type uint32; - description "Number of interfaces configured"; - } - leaf active-interface-count { - type uint32; - description "Number of active interfaces"; - } - } - - grouping RIP-SHOW-PROTO-VRF-BD { - description "RIP protocol VRF data"; - - container vrf-summary { - description "VRF summary data"; - uses RIP-SHOW-VRF-SUMM-BD; - } - - list interface-summary { - description "List of Interfaces configured"; - uses RIP-SHOW-IF-SUMM-BD; - } - } - - grouping RIP-PEER-BD { - description "A RIP peer"; - leaf peer-uptime { - type uint32; - description "Uptime of this peer"; - } - leaf peer-address { - type inet:ipv4-address; - description "IP Address of this peer"; - } - leaf peer-version { - type uint8; - description "RIP version for this peer"; - } - leaf discarded-peer-packets { - type uint32; - description "Discarded packets from this peer"; - } - leaf discarded-peer-routes { - type uint32; - description "Discarded routes from this peer"; - } - } - - grouping RIP-SUMMARY-BD { - description "A RIP summary route"; - leaf prefix { - type inet:ipv4-address; - description "Summary address prefix"; - } - leaf prefix-length { - type uint32; - description "Summary address prefix length"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Summary address next hop"; - } - leaf metric { - type int32; - description "Summary metric"; - } - } - - grouping RIP-SHOW-INTERFACE-BD { - description "A RIP-enabled interface"; - leaf interface { - type string; - description "Interface name"; - } - leaf if-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf rip-enabled { - type boolean; - description "Whether RIP is enabled on this interface"; - } - leaf is-passive-interface { - type boolean; - description "Passive interface indicator"; - } - leaf multicast-address { - type boolean; - description "Use broadcast address for v2 packets"; - } - leaf accept-metric { - type boolean; - description "Accept routes of metric 0 indicator"; - } - leaf send-version { - type uint32; - description "Versions that the interface is sending"; - } - leaf receive-version { - type uint32; - description "Versions that the interface will recieve"; - } - leaf state { - type Interface-state; - description "Current state of the interface"; - } - leaf destination-address { - type inet:ipv4-address; - description "IP Address of this interface"; - } - leaf prefix-length { - type uint32; - description "Prefix length of the IP address"; - } - leaf metric-cost { - type uint32; - description "Cost added to routes through this interface"; - } - leaf split-horizon { - type boolean; - description "Split horizon enabled indicator"; - } - leaf poison-horizon { - type boolean; - description "Poisoned reverse enabled indicator"; - } - leaf triggered-rip { - type boolean; - description "Triggered RIP enabled indicator"; - } - leaf neighbor-address { - type inet:ipv4-address; - description "Interface's triggered RIP neighbor"; - } - leaf oom-flags { - type uint32; - description "Out-of-memory status flags"; - } - leaf join-status { - type boolean; - description "Multicast group join status"; - } - leaf lpts-state { - type boolean; - description "LPTSState"; - } - leaf auth-mode { - type uint32; - description "Authentication Mode"; - } - leaf auth-keychain { - type string; - description "Authentication Keychain Name"; - } - leaf send-auth-key-exists { - type boolean; - description "Authentication send key exists"; - } - leaf auth-key-md5 { - type boolean; - description - "Authentication key programmed with MD5 algorithm"; - } - leaf auth-key-send-id { - type uint64; - description "Current active Send Authentication Key Id"; - } - leaf total-pkt-recvd { - type uint32; - description "Total packets received"; - } - leaf pkt-drop-wrong-kc { - type uint32; - description - "Packets dropped due to wrong keychain configured"; - } - leaf pkt-drop-no-auth { - type uint32; - description - "Packets dropped due to missing authentication - data"; - } - leaf pkt-drop-invalid-auth { - type uint32; - description - "Packets dropped due to invalid authentication - data"; - } - leaf pkt-accepted-valid-auth { - type uint32; - description "Packets accepted with valid authentication data"; - } - - list rip-summary { - description "User defined summary addresses"; - uses RIP-SUMMARY-BD; - } - - list rip-peer { - description "Neighbors on this interface"; - uses RIP-PEER-BD; - } - } - - grouping RIP-SHOW-STATISTICS-BD { - description "RIP statistics"; - leaf received-packets { - type uint32; - description "Total packets received"; - } - leaf discarded-packets { - type uint32; - description "Total discarded packets"; - } - leaf discarded-routes { - type uint32; - description "Total discarded routes"; - } - leaf standby-packets-received { - type uint32; - description "Packets rx in SRP"; - } - leaf sent-messages { - type uint32; - description "Number of messages sent"; - } - leaf sent-message-failures { - type uint32; - description "Number of message send failures"; - } - leaf query-responses { - type uint32; - description "Number of RIP queries responded to"; - } - leaf periodic-updates { - type uint32; - description "Number of periodic RIP updates"; - } - leaf route-count { - type uint32; - description "Number of routes allocated"; - } - leaf path-count { - type uint32; - description "Number of paths allocated"; - } - leaf route-malloc-failures { - type uint32; - description - "Number of failures to allocate memory for a - route"; - } - leaf path-malloc-failures { - type uint32; - description - "Number of failures to allocate memory for a path"; - } - leaf rib-updates { - type uint32; - description "Number of route updates to RIB made by RIP"; - } - } - - grouping RIP-SHOW-GLOBAL-CONFIG-BD { - description "RIP's configuration settings"; - leaf active { - type boolean; - description "VRF active indicator"; - } - leaf vr-fised-socket { - type boolean; - description "VRF added to socket indicator"; - } - leaf rip-version { - type int32; - description "Version of RIP configured"; - } - leaf default-metric { - type uint8; - description "Default metric for RIP routes"; - } - leaf maximum-paths { - type uint8; - description "Maximum number of paths a route can have"; - } - leaf auto-summarize { - type boolean; - description "Auto-summarization indicator"; - } - leaf multicast-address { - type boolean; - description "Use broadcast/multicast address indicator"; - } - leaf flash-threshold { - type uint8; - description "Flash update threshold"; - } - leaf input-q-length { - type uint16; - description "Length of the input queue"; - } - leaf triggered-rip { - type boolean; - description "Triggered RIP enabled indicator"; - } - leaf validation-indicator { - type boolean; - description "Incoming packet source validation indicator"; - } - leaf update-timer { - type uint32; - description "Update timer"; - } - leaf next-update-time { - type uint32; - description "Time left for next update"; - } - leaf invalid-timer { - type uint32; - description "Invalid timer"; - } - leaf hold-down-timer { - type uint32; - description "Holddown timer"; - } - leaf flush-timer { - type uint32; - description "Flush timer"; - } - leaf oom-flags { - type uint32; - description "Out-of-memory status flags"; - } - leaf nsf-status { - type boolean; - description "NSF Enable status"; - } - leaf nsf-life-time { - type uint32; - description "NSF life time"; - } - } - - grouping RIP-PATH-BD { - description "A RIP route path"; - leaf source-address { - type inet:ipv4-address; - description "Source address"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next hop address"; - } - leaf metric { - type uint16; - description "Metric"; - } - leaf tag { - type uint16; - description "Tag"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf uptime { - type uint32; - description "Up time"; - } - leaf is-permanent { - type boolean; - description "Permanent indicator"; - } - } - - grouping RIP-SHOW-ROUTE-BD { - description "A route in RIP's local routing table"; - leaf destination-address { - type inet:ipv4-address; - description "Destination IP Address for this route"; - } - leaf prefix-length-xr { - type uint32; - description "Prefix length of IP address"; - } - leaf distance { - type uint16; - description "Route administrative distance"; - } - leaf bgp-count { - type uint16; - description "Hop count for this route"; - } - leaf route-type { - type uint16; - description "Type of this route"; - } - leaf route-summary { - type boolean; - description "Summary route placeholder indicator"; - } - leaf route-tag { - type uint16; - description "Generic route information"; - } - leaf version { - type uint8; - description "RIB supplied version number"; - } - leaf attributes { - type uint32; - description "RIB supplied route attributes"; - } - leaf active { - type boolean; - description "Active route indicator"; - } - leaf path-origin { - type Rip-route-origin; - description "Where this route was learnt"; - } - leaf hold-down { - type boolean; - description "Indicates whether route is in holddown"; - } - - list paths { - description "The paths for this route"; - uses RIP-PATH-BD; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper.yang deleted file mode 100644 index e4ebae4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rip-oper.yang +++ /dev/null @@ -1,166 +0,0 @@ -module Cisco-IOS-XR-ip-rip-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper"; - - - prefix "ip-rip-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-rip-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rip package operational data. - - This module contains definitions - for the following management objects: - rip: RIP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ROUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container routes { - description "RIP route database"; - - list route { - description "A route in the RIP database"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Network prefix"; - } - leaf prefix-length { - type uint32 { - range "0..32"; - } - description "Prefix length"; - } - uses RIP-SHOW-ROUTE-BD; - } - } - } - - grouping STATISTICS { - description "Common node of default-vrf, vrf"; - - container statistics { - description "RIP statistics information"; - uses RIP-SHOW-STATISTICS-BD; - } - } - - grouping DEFAULT-VRF { - description "Common node of rip, protocol"; - - container default-vrf { - description "RIP operational data for Default VRF"; - uses ROUTE-TABLE; - uses CONFIGURATION; - uses STATISTICS; - uses INTERFACE-TABLE; - uses GLOBAL; - } - } - - grouping CONFIGURATION { - description "Common node of default-vrf, vrf"; - - container configuration { - description "RIP global configuration"; - uses RIP-SHOW-GLOBAL-CONFIG-BD; - } - } - - grouping INTERFACE-TABLE { - description "Common node of default-vrf, vrf"; - - container interfaces { - description "RIP interfaces"; - - list interface { - key "interface-name"; - description "Information about a particular RIP interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses RIP-SHOW-INTERFACE-BD; - } - } - } - - grouping GLOBAL { - description "Common node of default-vrf, vrf"; - - container global { - description "Global Information "; - uses RIP-SHOW-PROTO-VRF-BD; - } - } - - container rip { - config false; - description "RIP operational data"; - - container vrfs { - description "VRF related operational data"; - - list vrf { - key "vrf-name"; - description "Operational data for a particular VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF"; - } - uses ROUTE-TABLE; - uses CONFIGURATION; - uses STATISTICS; - uses INTERFACE-TABLE; - uses GLOBAL; - } - } - - container protocol { - description "Protocol operational data"; - - container process { - description "RIP global process "; - uses RIP-SHOW-PROTO-PROC-BD; - } - uses DEFAULT-VRF; - } - uses DEFAULT-VRF; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-cfg.yang deleted file mode 100644 index d4ddcf2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-cfg.yang +++ /dev/null @@ -1,690 +0,0 @@ -module Cisco-IOS-XR-ip-rsvp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg"; - - - prefix "ip-rsvp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rsvp package configuration. - - This module contains definitions - for the following management objects: - rsvp: Global RSVP configuration commands - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rsvp-rdm { - type enumeration { - enum rdm { - value 1; - description "RDM Keyword Specified"; - } - enum not-specified { - value 2; - description "RDM Keyword Not Specified"; - } - enum use-default-bandwidth { - value 3; - description "Use Default Bandwidth - 75% Link Bandwidth"; - } - } - description "Rsvp rdm"; - } - typedef Rsvp-bc0 { - type enumeration { - enum bc0 { - value 1; - description "Keyword is bc0"; - } - enum global-pool { - value 2; - description "Keyword is global-pool"; - } - enum not-specified { - value 3; - description "Keyword is not specified"; - } - } - description "Rsvp bc0"; - } - typedef Rsvp-bw-cfg { - type enumeration { - enum absolute { - value 0; - description "Configuration is in absolute bandwidth values"; - } - enum percentage { - value 1; - description - "Configuration is in percentage of physical - bandwidth values"; - } - } - description "Rsvp bw cfg"; - } - typedef Rsvp-bc1 { - type enumeration { - enum bc1 { - value 1; - description "Keyword is bc1"; - } - enum sub-pool { - value 2; - description "Keyword is sub-pool"; - } - } - description "Rsvp bc1"; - } - - grouping AUTHENTICATION { - description "Common node of rsvp, interface, neighbor"; - - container authentication { - description "Configure RSVP authentication"; - leaf life-time { - type uint32 { - range "30..86400"; - } - units "second"; - description - "Life time (in seconds) for each security - association"; - } - leaf enable { - type boolean; - description "Enable or disable RSVP authentication"; - } - leaf window-size { - type uint32 { - range "1..64"; - } - description - "Window-size to limit number of out-of-order - messages"; - } - leaf key-chain { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Key chain to authenticate RSVP signalling - messages"; - } - } - } - - grouping OUT-OF-BAND { - description "Common node of cntl-signalling, if-signalling"; - - container out-of-band { - description - "Configure RSVP out-of-band signalling parameters"; - leaf missed-messages { - type uint32 { - range "1..110000"; - } - default "38000"; - description - "Configure max number of consecutive missed - messages for state expiry for out-of-band - tunnels"; - } - leaf refresh-interval { - type uint32 { - range "180..86400"; - } - units "second"; - description - "Configure interval between successive refreshes - for out-of-band tunnels"; - } - } - } - - container rsvp { - description "Global RSVP configuration commands"; - - container neighbors { - description "RSVP Neighbor Table"; - - list neighbor { - key "neighbor"; - description "RSVP neighbor configuration"; - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - uses AUTHENTICATION; - } - } - - container controllers { - description "Controller table"; - - list controller { - key "controller-name"; - description "Controller configuration"; - - container cntl-signalling { - description "Configure RSVP signalling parameters"; - uses OUT-OF-BAND; - } - leaf enable { - type empty; - description "Enable RSVP on an interface"; - } - leaf controller-name { - type xr:Interface-name; - description "Name of controller"; - } - } - } - - container global-logging { - description "Global Logging"; - leaf log-nsr-status { - type empty; - description "Enable NSR Status Logging"; - } - leaf log-issu-status { - type empty; - description "Enable ISSU Status Logging"; - } - } - - container global-bandwidth { - description "Configure Global Bandwidth Parameters"; - - container default-interface-percent { - description "Configure Global RSVP signalling parameters"; - - container mam { - description - "Configure global default MAM I/F percent - bandwidth parameters"; - leaf max-res-percent { - type uint32 { - range "0..10000"; - } - description "Default maximum reservable I/F % B/W "; - } - leaf bc0-percent { - type uint32 { - range "0..10000"; - } - description "Default BC0 pool I/F % B/W "; - } - leaf bc1-percent { - type uint32 { - range "0..10000"; - } - description "Default BC1 pool I/F % B/W "; - } - } - - container rdm { - description - "Configure global default RDM I/F percent - bandwidth parameters"; - leaf bc0-percent { - type uint32 { - range "0..10000"; - } - description "Default BC0 pool I/F % B/W "; - } - leaf bc1-percent { - type uint32 { - range "0..10000"; - } - description "Default BC1 pool I/F % B/W "; - } - } - } - } - - container interfaces { - description "Interface table"; - - list interface { - key "name"; - description "Interface configuration"; - - container if-signalling { - description "Configure RSVP signalling parameters"; - - container refresh-reduction { - description - "Configure RSVP Refresh Reduction parameters"; - leaf disable { - type empty; - description "Disable refresh reduction"; - } - leaf reliable-ack-max-size { - type uint32 { - range "20..65000"; - } - units "byte"; - default "4096"; - description - "Configure max size of a single RSVP ACK - message"; - } - leaf reliable-ack-hold-time { - type uint32 { - range "100..5000"; - } - units "millisecond"; - default "400"; - description - "Configure hold time for sending RSVP ACK - message(s)"; - } - leaf reliable-retransmit-time { - type uint32 { - range "100..10000"; - } - units "millisecond"; - default "2100"; - description - "Configure min delay to wait for an ACK - before a retransmit"; - } - leaf reliable-s-refresh { - type empty; - description - "Configure use of reliable messaging for - summary refresh"; - } - leaf summary-max-size { - type uint32 { - range "20..65000"; - } - units "byte"; - default "4096"; - description - "Configure max size of a single RSVP summary - refresh message"; - } - leaf bundle-message-max-size { - type uint32 { - range "512..65000"; - } - units "byte"; - default "4096"; - description - "Configure maximum size of a single RSVP - Bundle message"; - } - } - - container interval-rate { - description - "Configure number of messages to be sent per - interval"; - leaf messages-per-interval { - type uint32 { - range "1..500"; - } - default "100"; - description - "Number of messages to be sent per interval"; - } - leaf interval-size { - type uint32 { - range "250..2000"; - } - units "millisecond"; - default "1000"; - description "Size of an interval (milliseconds)"; - } - } - leaf dscp { - type uint32 { - range "0..63"; - } - description "Differentiated Services Code Point (DSCP)"; - } - leaf missed-messages { - type uint32 { - range "1..8"; - } - default "4"; - description - "Configure max number of consecutive missed - messages for state expiry"; - } - leaf hello-graceful-restart-if-based { - type empty; - description - "Enable IF-based Hello adjacency on a RSVP - interface"; - } - leaf pacing { - type empty; - description "Enable rate-limiting on the interface"; - } - leaf refresh-interval { - type uint32 { - range "10..180"; - } - units "second"; - default "45"; - description - "Configure interval between successive - refreshes"; - } - uses OUT-OF-BAND; - } - - container bandwidth { - description "Configure Bandwidth"; - - container mam { - description "Configure MAM bandwidth parameters"; - leaf max-resv-bandwidth { - type uint32 { - range "0..4294967295"; - } - description - "Maximum reservable bandwidth (Kbps or - percent of physical bandwidth)"; - } - leaf max-resv-flow { - type uint32 { - range "0..4294967295"; - } - description - "Largest reservable flow (Kbps or percent of - physical bandwidth)"; - } - leaf bc0-bandwidth { - type uint32 { - range "0..4294967295"; - } - description - "Reservable bandwidth in BC0 (Kbps or percent - of physical bandwidth)"; - } - leaf bc1-bandwidth { - type uint32 { - range "0..4294967295"; - } - description - "Reservable bandwidth in BC1 (Kbps or percent - of physical bandwidth)"; - } - leaf bandwidth-mode { - type Rsvp-bw-cfg; - units "percentage"; - description "Absolute or Percentage bandwidth mode"; - } - } - - container rdm { - description "Configure RDM bandwidth parameters"; - leaf max-resv-flow { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type uint32 { - range "0..4294967295"; - } - description - "Largest reservable flow (Kbps or percent of - physical bandwidth)"; - } - leaf bc0-bandwidth { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type uint32 { - range "0..4294967295"; - } - description - "Reservable bandwidth in BC0 (Kbps or percent - of physical bandwidth)"; - } - leaf bc1-bandwidth { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type uint32 { - range "0..4294967295"; - } - description - "Reservable bandwidth in BC1 (Kbps or percent - of physical bandwidth)"; - } - leaf rdm-keyword { - type Rsvp-rdm; - description "Set requests should always use RDM"; - } - leaf bc0-keyword { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type Rsvp-bc0; - description "Set requests should always use BC0"; - } - leaf bc1-keyword { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type Rsvp-bc1; - description "Set requests should always use BC1"; - } - leaf bandwidth-mode { - when "../rdm-keyword = 'rdm' or ../rdm-keyword ="+ - " 'not-specified'" { - description - "../RDMKeyword = RDM or ../RDMKeyword = - NotSpecified"; - } - type Rsvp-bw-cfg; - units "percentage"; - description "Absolute or Percentage bandwidth mode"; - } - } - } - leaf enable { - type empty; - description "Enable RSVP on an interface"; - } - leaf name { - type xr:Interface-name; - description "Name of interface"; - } - uses AUTHENTICATION; - } - } - - container signalling { - description "Configure Global RSVP signalling parameters"; - - container global-out-of-band { - description "Configure out-of-band signalling parameters"; - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF used for out-of-band control signalling"; - } - } - - container graceful-restart { - description "Configure RSVP Graceful-Restart parameters"; - - container lsp-class-type { - description - "Send LSP's ctype for recovery and suggested - label"; - leaf enable { - type boolean; - description - "Send LSP's ctype for recovery and suggested - label"; - } - } - leaf enable { - type boolean; - description "Enable RSVP graceful restart"; - } - leaf restart-time { - type uint32 { - range "60..3600"; - } - units "second"; - default "120"; - description "Graceful restart time (seconds)"; - } - leaf recovery-time { - type uint32 { - range "0..3600"; - } - units "second"; - default "120"; - description "Graceful restart recovery time (seconds)"; - } - } - - container prefix-filtering { - description "Configure prefix filtering parameters"; - - container default-deny-action { - description - "Configure RSVP behaviour for scenarios where - ACL match yields a default (implicit) deny"; - leaf drop { - type empty; - description - "Configure RSVP to drop packets when ACL match - yields a default (implicit) deny"; - } - } - leaf acl { - type string { - length "1..65"; - } - description - "Configure an ACL to perform prefix filtering - of RSVP Router Alert messages"; - } - } - - container pesr { - description "Sending Path Error with State-Removal flag"; - leaf disable { - type empty; - description "Disable RSVP PESR"; - } - } - - container checksum { - description "RSVP message checksum computation"; - leaf disable { - type empty; - description "Disable RSVP message checksum computation"; - } - } - leaf hello-graceful-restart-misses { - type uint32 { - range "1..10"; - } - default "3"; - description - "Configure max number of consecutive missed - Hello messages"; - } - leaf hello-graceful-restart-interval { - type uint32 { - range "3000..30000"; - } - units "millisecond"; - default "5000"; - description - "Configure interval between successive Hello - messages"; - } - } - uses AUTHENTICATION; - } - - augment "/a1:snmp/a1:notification" { - - container rsvp { - description "Enable RSVP-MIB notifications"; - leaf lost-flow { - type empty; - description "Enable lostFlow notification"; - } - leaf new-flow { - type empty; - description "Enable newFlow notification"; - } - leaf enable { - type empty; - description "Enable all RSVP notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang deleted file mode 100644 index 88244a7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang +++ /dev/null @@ -1,3990 +0,0 @@ -submodule Cisco-IOS-XR-ip-rsvp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-rsvp-oper { - prefix Cisco-IOS-XR-ip-rsvp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-rsvp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Igpte-lib-bw-model { - type enumeration { - enum rdm { - value 0; - description "Russian Dolls Model"; - } - enum mam { - value 1; - description "Maximum Allocation Model"; - } - enum not-set { - value 2; - description "No model set"; - } - } - description "Bandwidth model"; - } - typedef Rsvp-mgmt-restart-state { - type enumeration { - enum done { - description "Restart is done"; - } - enum recovery { - description "Neighbor is in recovery"; - } - enum abort { - description "Neighbor recovery aborted"; - } - } - description "RSVP GR (Graceful Restart) Restart states"; - } - typedef Rsvp-mgmt-hello-down-reason { - type enumeration { - enum not-applicable { - description "Not applicable. This means RSVP Hellos are up"; - } - enum wrong-destination-instance { - description - "Incorrect destination instance in received - Hellos"; - } - enum wrong-source-instance { - description "Incorrect source instance in received Hellos"; - } - enum hello-missed { - description "Hellos not being received"; - } - enum interface-down { - description "Interface went down"; - } - enum neighbor-disabled-hello { - description "Neighbor disabled Hellos"; - } - enum control-channel-down { - description "Control channel went down"; - } - } - description "Reasons why RSVP Hellos went down"; - } - typedef Rsvp-mgmt-hello-instance-owner { - type enumeration { - enum mpls-graceful-restart { - description "MPLS Graceful Restart"; - } - enum mpls-ouni { - description "MPLS OUNI"; - } - } - description "RSVP Hello instance owner"; - } - typedef Rsvp-mgmt-association { - type enumeration { - enum none { - value 0; - description "No ASSOCIATION Object present"; - } - enum ipv4 { - value 1; - description "IPv4 ASSOCIATION Type"; - } - enum ipv6 { - value 2; - description "IPv6 ASSOCIATION Type"; - } - enum extended-ipv4 { - value 3; - description "EXTENDED IPv4 ASSOCIATION Type"; - } - enum extended-ipv6 { - value 4; - description "EXTENDED IPv6 ASSOCIATION Type"; - } - } - description "RSVP ASSOCIATION Types"; - } - typedef Rsvp-mgmt-rro-subobj { - type enumeration { - enum ipv4rro-type { - value 1; - description "IPv4 RRO Type"; - } - enum label-rro-type { - value 3; - description "Label RRO Type"; - } - enum unnumbered-rro-type { - value 4; - description "Unnumbered RRO Type"; - } - enum srlg-rro-type { - value 34; - description "SRLG RRO Type"; - } - } - description "RSVP RRO Types"; - } - typedef Rsi-vrf-id { - type uint32; - description "Rsi vrf id"; - } - typedef Rsvp-mgmt-frr-state-enum { - type enumeration { - enum ready-state { - value 0; - description "Ready State"; - } - enum pending-state { - value 1; - description "Pending"; - } - enum active-state { - value 2; - description "Active State"; - } - } - description "RSVP FRR States"; - } - typedef Rsvp-proc-nsr-not-ready-reason { - type enumeration { - enum collab-time-out { - description "Collab connection time out"; - } - enum collab-conntection-idt { - description "Collab connection down or IDT not done"; - } - enum nsr-peer-not-connected { - description "NSR peer not connected"; - } - enum nsr-peer-not-in-sync { - description "NSR peer not in sync"; - } - } - description "Rsvp proc nsr not ready reason"; - } - typedef Rsvp-sync-status { - type enumeration { - enum not-ready { - description "Not Ready"; - } - enum ready { - description "Ready"; - } - } - description "Rsvp sync status"; - } - typedef Rsvp-mgmt-gr-app { - type enumeration { - enum ouni { - description "Application is OUNI"; - } - enum gmpls { - description "Application is GMPLS"; - } - } - description "RSVP Graceful Restart application type"; - } - typedef Rsvp-proc-role { - type enumeration { - enum unknown { - description "Unknown"; - } - enum v1-active { - description "V1 Active"; - } - enum v1-standby { - description "V1 Standby"; - } - enum v2-active { - description "V2 Active"; - } - enum v2-standby { - description "V2 Standby"; - } - enum v1-active-post-big-bang { - description "V1 Active post big-bang"; - } - enum v1-standby-post-big-bang { - description "V1 Standbyi post big-bang"; - } - enum count { - description "Count"; - } - } - description "RSVP Process Role"; - } - typedef Rsvp-mgmt-auth-challenge-status { - type enumeration { - enum rsvp-mgmt-auth-cs-not-cfg { - description "Not configured"; - } - enum rsvp-mgmt-auth-cs-completed { - description "Complete"; - } - enum rsvp-mgmt-auth-cs-in-progress { - description "In Progress"; - } - enum rsvp-mgmt-auth-cs-failure { - description "Failed"; - } - enum rsvp-mgmt-auth-cs-not-supported { - description "Not supported"; - } - } - description "RSVP Authentication Challenge Status"; - } - typedef Rsvp-mgmt-hello-instance { - type enumeration { - enum active { - description "Hello requests and ACKs are sent"; - } - enum passive { - description "Hello ACKs only are sent"; - } - } - description "RSVP Hello instance types"; - } - typedef Rsvp-mgmt-hello-state { - type enumeration { - enum hello-state-init { - description "No Hello messages ever received from neighbor"; - } - enum hello-state-up { - description - "Receiving expected Hello messages from neighbor"; - } - enum hello-state-down { - description - "Stopped receiving expected Hello messages from - neighbor"; - } - } - description "RSVP Hello instance states"; - } - typedef Rsvp-mgmt-reservation-type-enum { - type enumeration { - enum rsvp-mgmt-ff-option { - value 10; - description "Single Reservation"; - } - enum rsvp-mgmt-wf-option { - value 17; - description "Shared Reservation, Unlimited Scope"; - } - enum rsvp-mgmt-se-option { - value 18; - description "Shared Reservation, Limited Scope"; - } - } - description "RSVP Reservation Types"; - } - typedef Rsvp-mgmt-flow-spec { - type enumeration { - enum g709otn { - value 5; - description "G709 OTN FlowSpec Type"; - } - } - description "RSVP Generic FlowSpec Types"; - } - typedef Rsvp-mgmt-qos-service-enum { - type enumeration { - enum rsvp-mgmt-qos-unknown { - value 0; - description "QOS Unknown"; - } - enum rsvp-mgmt-qos-guaranteed { - value 3; - description "QOS Guaranteed"; - } - enum rsvp-mgmt-qos-controlled-load { - value 5; - description "QOS Controlled Load"; - } - enum rsvp-mgmt-qos-qualitative { - value 6; - description "QOS Qualitative"; - } - } - description "QOS Types"; - } - typedef Rsvp-mgmt-messageid { - type uint32; - description "Rsvp mgmt messageid"; - } - typedef Rsvp-timer-state { - type enumeration { - enum rsvp-timer-running-and-sleeping { - value 1; - description "RSVP timer running and sleeping"; - } - enum rsvp-timer-running { - value 2; - description "RSVP timer running"; - } - enum rsvp-timer-not-running { - value 3; - description "RSVP timer not running"; - } - } - description "RSVP Timer States"; - } - typedef Rsvp-mgmt-ero-subobj-status { - type enumeration { - enum rsvp-mgmt-ero-status-not-available { - value 0; - description "ERO is not available in topology"; - } - enum rsvp-mgmt-ero-status-available { - value 1; - description "ERO is available in topology"; - } - enum rsvp-mgmt-ero-status-bw-not-available { - value 2; - description "ERO doesn't have bw available in topology"; - } - } - description "RSVP ERO Status"; - } - typedef Rsvp-mgmt-ero-subobj { - type enumeration { - enum rsvp-mgmt-ero-type-ipv4 { - value 1; - description "IPv4 ERO Type"; - } - enum rsvp-mgmt-ero-type-un-num { - value 4; - description "Unnumbered ERO Type"; - } - } - description "RSVP ERO Types"; - } - typedef Rsvp-mgmt-generic-label { - type enumeration { - enum rsvp-mgmt-label-type-gmpls { - value 2; - description "Generalized Label Type"; - } - } - description "RSVP Generic Label Types"; - } - typedef Rsvp-mgmt-mpls-label { - type uint32; - description "Rsvp mgmt mpls label"; - } - typedef Rsvp-mgmt-tspec { - type enumeration { - enum g709otn { - value 5; - description "G709 OTN Sender Tspec Type"; - } - enum intsrv { - value 12; - description "Int-Serv Sender Tspec Type"; - } - } - description "RSVP Generic Sender Tspec Types"; - } - typedef Rsvp-mgmt-filter { - type enumeration { - enum rsvp-mgmt-filter-type-ipv4 { - value 1; - description "IPv4 FilterSpec Type"; - } - enum rsvp-mgmt-filter-type-p2mp-lsp-ipv4 { - value 12; - description "P2MP LSP IPv4 FilterSpec Type"; - } - } - description "RSVP Filter Types"; - } - typedef Rsvp-mgmt-session { - type enumeration { - enum rsvp-mgmt-session-type-udp-ipv4 { - value 1; - description "UDP IPv4 Session Type"; - } - enum rsvp-mgmt-session-type-lsp-ipv4 { - value 7; - description "LSP IPv4 Session Type"; - } - enum rsvp-mgmt-session-type-uni-ipv4 { - value 9; - description "UNI IPv4 Session Type"; - } - enum rsvp-mgmt-session-type-p2mp-lsp-ipv4 { - value 13; - description "P2MP LSP IPv4 Session Type"; - } - } - description "RSVP Session Types"; - } - typedef Rsvp-mgmt-auth-ki { - type enumeration { - enum rsvp-mgmt-auth-ki-type-none { - description "None"; - } - enum rsvp-mgmt-auth-ki-type-global { - description "Global"; - } - enum rsvp-mgmt-auth-ki-type-interface { - description "Interface"; - } - enum rsvp-mgmt-auth-ki-type-neighbor { - description "Neighbor"; - } - } - description "RSVP Authentication KeyInfo Type"; - } - typedef Rsvp-mgmt-auth-direction { - type enumeration { - enum rsvp-mgmt-auth-direction-send { - description "Send"; - } - enum rsvp-mgmt-auth-direction-recv { - description "Receive"; - } - } - description "RSVP Authentication Direction Types"; - } - typedef Rsvp-mgmt-dste-modes { - type enumeration { - enum pre-standard { - value 1; - description "pre standard"; - } - enum standard { - value 3; - description "standard"; - } - } - description "RSVP DSTE modes"; - } - - grouping RSVP-MGMT-RXSB-DETAIL { - description "Detailed Form of RSVP Proxy Reservation"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container style { - description "RSVP Style"; - uses RSVP-MGMT-STYLE; - } - - container filter { - description "RSVP Filter"; - uses RSVP-MGMT-FILTER-INFO; - } - - container flow-spec { - description "Flow Spec Information"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec Information"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - - container hop { - description "Path Hop Info"; - uses RSVP-MGMT-HOP-INFO; - } - - container rsvp-header { - description "RSVP Header"; - uses RSVP-MGMT-HEADER-INFO; - } - leaf input-interface { - type string; - description "Path Input Interface"; - } - leaf dynamic-state { - type uint32; - description "Dynamic State Handle"; - } - } - - grouping RSVP-MGMT-PXSB-DETAIL { - description "Detailed Form of RSVP Proxy Path"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container template { - description "RSVP Template"; - uses RSVP-MGMT-FILTER-INFO; - } - - container traffic-spec { - description "RSVP Traffic Spec Info"; - uses RSVP-MGMT-TRAFFIC-SPEC; - } - - container generic-traffic-spec { - description "RSVP Generic Traffic Spec Info"; - uses RSVP-MGMT-GEN-TRAFFIC-SPEC; - } - - container hop { - description "Path Hop Info"; - uses RSVP-MGMT-HOP-INFO; - } - - container rsvp-header { - description "RSVP Header"; - uses RSVP-MGMT-HEADER-INFO; - } - leaf input-interface { - type string; - description "Path Input Interface"; - } - leaf dynamic-state { - type uint32; - description "Dynamic State Handle"; - } - } - - grouping RSVP-MGMT-GLBL-BW-POOL-INFO { - description "Global B/W pool information"; - leaf max-res-pool-percent { - type uint32; - units "percentage"; - description "Maxium reservable I/F percent B/W"; - } - leaf bc0-percent { - type uint32; - units "percentage"; - description "BC0 I/F percent B/W"; - } - leaf bc1-percent { - type uint32; - units "percentage"; - description "BC1 I/F percent B/W"; - } - leaf is-max-res-pool-percent-configured { - type boolean; - description - "Is maximum reservable default I/F percent - configured"; - } - leaf is-bc0-percent-configured { - type boolean; - description "Is BC0 default I/F percent configured"; - } - leaf is-bc1-percent-configured { - type boolean; - description "Is BC1 default I/F percent configured"; - } - leaf bandwidth-configuration-model { - type Igpte-lib-bw-model; - description - "Bandwith configuration model currently in use - (MAM/RDM)"; - } - } - - grouping RSVP-MGMT-GLBL-NBR-COMPACT { - description "Compact Info for RSVP Global Neighbor"; - - container global-neighbor-flags { - description "Global Neighbor Flags"; - uses RSVP-MGMT-GLBL-NBR-FLAGS; - } - leaf is-gr-enabled { - type boolean; - description "Is GR enabled"; - } - leaf node-address { - type inet:ipv4-address; - description "Neighbor node address"; - } - leaf restart-state { - type Rsvp-mgmt-restart-state; - description "Restart state"; - } - leaf-list local-node-address { - type inet:ipv4-address; - description "Local node address"; - } - leaf-list neighbor-hello-state { - type Rsvp-mgmt-hello-state; - description "Neighbor Hello state"; - } - leaf-list lost-communication-reason { - type Rsvp-mgmt-hello-down-reason; - description "Reason why communication was lost"; - } - leaf-list lost-communication-total { - type uint16; - description "Total number of times communication got lost"; - } - - list up-time { - description "Time hellos have been up"; - uses RSVP-MGMT-TIMESPEC; - } - - list lost-communication-time { - description "Time when communication was lost"; - uses RSVP-MGMT-TIMESPEC; - } - } - - grouping RSVP-MGMT-PATH-COMPACT { - description "Compact Form of RSVP Path Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container template { - description "RSVP Template"; - uses RSVP-MGMT-FILTER-INFO; - } - - container session-attribute { - description "RSVP Session Attribute"; - uses RSVP-MGMT-SESSION-ATTRIBUTE; - } - - container traffic-spec { - description "RSVP Traffic Spec Info"; - uses RSVP-MGMT-TRAFFIC-SPEC; - } - - container generic-traffic-spec { - description "RSVP Generic Traffic Spec Info"; - uses RSVP-MGMT-GEN-TRAFFIC-SPEC; - } - leaf input-interface { - type string; - description "Path Input Interface"; - } - } - - grouping RSVP-MGMT-GLBL-NBR-FLAGS { - description "Global Neighbor Flags"; - leaf is-application-ouni { - type boolean; - description "OUNI Application"; - } - leaf is-application-mpls { - type boolean; - description "MPLS Application"; - } - } - - grouping RSVP-MGMT-GLBL-NBR-DETAIL { - description "Detail Info for RSVP Global Neighbor"; - - container global-neighbor-flags { - description "Global Neighbor Flags"; - uses RSVP-MGMT-GLBL-NBR-FLAGS; - } - - container restart-time-left { - description "How much restart time remains"; - uses RSVP-MGMT-TIMESPEC; - } - - container restart-timer-expiry-time { - description "When will restart timer expire"; - uses RSVP-MGMT-TIMESPEC; - } - - container recovery-time-left { - description "How much recovery timer remains"; - uses RSVP-MGMT-TIMESPEC; - } - - container recovery-timer-exp-time { - description "Time at which recovery timer will expire"; - uses RSVP-MGMT-TIMESPEC; - } - leaf is-gr-enabled { - type boolean; - description "Is GR enabled"; - } - leaf node-address { - type inet:ipv4-address; - description "Neighbor node address"; - } - leaf restart-state { - type Rsvp-mgmt-restart-state; - description "Current restart state"; - } - leaf restart-time { - type uint32; - units "millisecond"; - description "GR Restart Time (milliseconds)"; - } - leaf is-restart-timer-running { - type boolean; - description "Is GR restart timer running"; - } - leaf recovery-time { - type uint32; - units "millisecond"; - description "GR Recovery Time (milliseconds)"; - } - leaf is-recovery-timer-running { - type boolean; - description "Is RSVP recovery timer running"; - } - leaf hello-interval { - type uint32; - units "millisecond"; - description "Hello Interval (milliseconds)"; - } - leaf missed-hellos { - type uint8; - description "Hello missed count"; - } - leaf pending-states { - type uint32; - description "Number of pending states for this neighbor"; - } - leaf-list local-node-address { - type inet:ipv4-address; - description "Local node address"; - } - leaf-list interface-neighbor { - type inet:ipv4-address; - description "Interface Neighbor List"; - } - leaf-list neighbor-hello-state { - type Rsvp-mgmt-hello-state; - description "Neighbor's hello state"; - } - leaf-list lost-communication-reason { - type Rsvp-mgmt-hello-down-reason; - description "Reason why communication was lost"; - } - leaf-list lost-communication-total { - type uint16; - description "Total number of times communication got lost"; - } - - list up-time { - description "Hello up time"; - uses RSVP-MGMT-TIMESPEC; - } - - list lost-communication-time { - description "Time when communication was lost"; - uses RSVP-MGMT-TIMESPEC; - } - } - - grouping RSVP-MGMT-HELLO-INSTANCE-DETAIL { - description "Detail Info for RSVP Hello Instance"; - - container up-time { - description "Hello up time"; - uses RSVP-MGMT-TIMESPEC; - } - - container communication-lost-time { - description "Time when communication was lost"; - uses RSVP-MGMT-TIMESPEC; - } - leaf source-address-xr { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination address"; - } - leaf hello-instance-owner { - type Rsvp-mgmt-hello-instance-owner; - description "Hello instance owner"; - } - leaf neighbor-hello-state { - type Rsvp-mgmt-hello-state; - description "Neighbor Hello state"; - } - leaf instance-type { - type Rsvp-mgmt-hello-instance; - description "Hello instance type"; - } - leaf hello-interface { - type xr:Interface-name; - description "Interface to use"; - } - leaf hello-interval { - type uint32; - description "Hello Interval"; - } - leaf missed-acks-allowed { - type uint32; - description "Number of missed Hello allowed"; - } - leaf source-instance { - type uint32; - description "Source Instance"; - } - leaf destination-instance { - type uint32; - description "Destination Instance"; - } - leaf communication-lost-reason { - type Rsvp-mgmt-hello-down-reason; - description "Reason why communication was lost"; - } - leaf total-communication-lost { - type uint16; - description "Total number of times communication got lost"; - } - leaf communication-lost-hello-missed { - type uint16; - description "Lost Comm. Hello missed count"; - } - leaf communication-lost-wrong-source-inst { - type uint16; - description "Count of lost comm. due to wrong Source Inst"; - } - leaf communication-lost-wrong-destination-inst { - type uint16; - description - "Count of lost comm. due to wrong Destination - Inst"; - } - leaf communication-lost-interface-down { - type uint16; - description "Count of lost comm. due to interface down"; - } - leaf communication-lost-neighbor-disabled-hello { - type uint16; - description - "Count of lost comm. due to nbor disabling Hellos"; - } - leaf hello-messages-sent { - type uint64; - description "Number of hello messages sent"; - } - leaf hello-messages-received { - type uint64; - description "Number of hello messages received"; - } - leaf hello-request-suppressed { - type uint64; - description "Count of Hello Requests suppessed"; - } - } - - grouping RSVP-SESSION-RSB-DETAIL { - description "RSVP Detail Session Reservation Info"; - - container generic-out-label { - description "Generic Label for outbound traffic"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container flow-spec { - description "Flow spec object"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec object"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - leaf is-valid { - type boolean; - description "Entry validity"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf out-interface { - type xr:Interface-name; - description "Interface on which outbound message was sent"; - } - leaf out-label { - type Rsvp-mgmt-mpls-label; - description "Label for outbound traffic"; - } - leaf backup-interface { - type xr:Interface-name; - description "Backup tunnel interface"; - } - leaf backup-label { - type Rsvp-mgmt-mpls-label; - description "Backup label"; - } - leaf is-rro-valid { - type boolean; - description "RRO validity"; - } - leaf is-flow-spec-valid { - type boolean; - description "FlowSpec validity"; - } - - list rro { - description "Record route object"; - uses RSVP-MGMT-RRO-SUBOBJ; - } - } - - grouping RSVP-MGMT-REV-LSP-UNSUPPORTED-SUBOBJ { - description "RSVP MGMT REV LSP UNSUPPORTED SUBOBJ"; - leaf-list rsvp-mgmt-rev-lsp-unsupported-subobj { - type uint8; - description "rsvp mgmt rev lsp unsupported subobj"; - } - } - - grouping RSVP-MGMT-REVERSE-LSP { - description "RSVP REVERSE_LSP Object"; - - container generic-traffic-spec { - description "Generic Traffic Spec object"; - uses RSVP-MGMT-GEN-TRAFFIC-SPEC; - } - - list ero { - description "Explicit Route Sub Objects"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list unsup-sub-object { - description "Unsupported REVERSE_LSP Sub Objects"; - uses RSVP-MGMT-REV-LSP-UNSUPPORTED-SUBOBJ; - } - } - - grouping RSVP-MGMT-PROTECTION-LINK-FLAGS { - description "RSVP PROTECTION Object Link Flags"; - leaf enhanced { - type boolean; - description "Indicates Enhanced Protection Scheme"; - } - leaf ded1-plus1 { - type boolean; - description "Dedicated 1+1 Protection"; - } - leaf ded1-to1 { - type boolean; - description "Dedicated 1:1 Protection"; - } - leaf shared { - type boolean; - description "Shared Link Layer Protection"; - } - leaf unprotected { - type boolean; - description "LSP should not use any Link Layer Protection"; - } - leaf extra-traffic { - type boolean; - description - "LSP should use Links that are protecting other - (primary) traffic"; - } - leaf reserved-bit1 { - type boolean; - description "Reserved Bit 1"; - } - leaf reserved-bit2 { - type boolean; - description "Reserved Bit 2"; - } - } - - grouping RSVP-MGMT-PROTECTION-LSP-FLAGS { - description "RSVP PROTECTION Object LSP Flags"; - leaf rerouting { - type boolean; - description "Full Rerouting"; - } - leaf rerouting-no-et { - type boolean; - description "Rerouting Without Extra-Traffic"; - } - leaf one-to-n-protection-et { - type boolean; - description "1:N Protection with Extra-Traffic"; - } - leaf one-plus-one-uni { - type boolean; - description "1+1 Unidirectional Protection"; - } - leaf one-plus-one-bi { - type boolean; - description "1+1 Bidirectional Protection"; - } - } - - grouping RSVP-MGMT-PROTECTION { - description "RSVP PROTECTION Object Info"; - - container lsp-flags { - description "PROTECTION Object LSP Flags"; - uses RSVP-MGMT-PROTECTION-LSP-FLAGS; - } - - container link-flags { - description "PROTECTION Object Link Flags"; - uses RSVP-MGMT-PROTECTION-LINK-FLAGS; - } - leaf s { - type boolean; - description "Secondary Bit"; - } - leaf p { - type boolean; - description "Protecting Bit"; - } - leaf n { - type boolean; - description "Notification Bit"; - } - leaf o { - type boolean; - description "Operational Bit"; - } - } - - grouping RSVP-MGMT-ASSOCIATION-IPV6-EXT { - description "RSVP EXTENDED ASSOCIATION IPv6 Object Info"; - leaf type { - type uint16; - description "Association Type (RFC 4872)"; - } - leaf id { - type uint16; - description "Association ID"; - } - leaf source { - type inet:ipv6-address; - description "Association IPV6 Source Address"; - } - leaf global-source { - type uint32; - description "Global Association Source"; - } - leaf-list extended-id { - type uint32; - description "Extended Association ID"; - } - } - - grouping RSVP-MGMT-ASSOCIATION-IPV4-EXT { - description "RSVP EXTENDED ASSOCIATION IPv4 Object Info"; - leaf type { - type uint16; - description "Association Type (RFC 4872)"; - } - leaf id { - type uint16; - description "Association ID"; - } - leaf source { - type inet:ipv4-address; - description "Association IPV4 Source Address"; - } - leaf global-source { - type uint32; - description "Global Association Source"; - } - leaf-list extended-id { - type uint32; - description "Extended Association ID"; - } - } - - grouping RSVP-MGMT-ASSOCIATION-IPV6 { - description "RSVP ASSOCIATION IPv6 Object Info"; - leaf type { - type uint16; - description "Association Type (RFC 4872)"; - } - leaf id { - type uint16; - description "Association ID"; - } - leaf source { - type inet:ipv6-address; - description "Association IPV6 Source Address"; - } - } - - grouping RSVP-MGMT-ASSOCIATION-IPV4 { - description "RSVP ASSOCIATION IPv4 Object Info"; - leaf type { - type uint16; - description "Association Type (RFC 4872)"; - } - leaf id { - type uint16; - description "Association ID"; - } - leaf source { - type inet:ipv4-address; - description "Association IPV4 Source Address"; - } - } - - grouping RSVP-MGMT-ASSOCIATION { - description "Union of the different ASSOCIATION types"; - - container ipv4 { - when "../association-type = 'ipv4'" { - description "../AssociationType = 'IPv4'"; - } - description "IPV4 ASSOCIATION Object"; - uses RSVP-MGMT-ASSOCIATION-IPV4; - } - - container ipv6 { - when "../association-type = 'ipv6'" { - description "../AssociationType = 'IPv6'"; - } - description "IPV6 ASSOCIATION Object"; - uses RSVP-MGMT-ASSOCIATION-IPV6; - } - - container extended-ipv4 { - when "../association-type = 'extended-ipv4'" { - description "../AssociationType = 'ExtendedIPv4'"; - } - description "EXTENDED IPV4 ASSOCIATION Object"; - uses RSVP-MGMT-ASSOCIATION-IPV4-EXT; - } - - container extended-ipv6 { - when "../association-type = 'extended-ipv6'" { - description "../AssociationType = 'ExtendedIPv6'"; - } - description "EXTENDED IPV6 ASSOCIATION Object"; - uses RSVP-MGMT-ASSOCIATION-IPV6-EXT; - } - leaf association-type { - type Rsvp-mgmt-association; - description "AssociationType"; - } - } - - grouping RSVP-MGMT-RRO-SRLG-SUBOBJ { - description "RSVP RRO SRLG subobject"; - leaf-list srl-gs { - type uint32; - description "The RRO Subobject SRLGs"; - } - } - - grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS { - description "RSVP RRO UNNUMBERED Subobject Flags"; - leaf is-protection-available { - type boolean; - description "Local Protection Available"; - } - leaf is-protection-in-use { - type boolean; - description "Local Protection In Use"; - } - leaf is-bandwidth-protected { - type boolean; - description "Bandwidth Protection Available"; - } - leaf is-node-protection-available { - type boolean; - description "Node Protection Available"; - } - leaf is-node-id { - type boolean; - description "Node ID In Use"; - } - } - - grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ { - description "RSVP RRO Unnumbered subobject"; - - container flags { - description "The RRO Subobject Unnumbered Flags"; - uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS; - } - leaf interface-address { - type inet:ipv4-address; - description "The RRO Interface Address"; - } - leaf interface-id { - type uint32; - description "The RRO Interface ID"; - } - } - - grouping RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS { - description "RSVP RRO Label Subobject Flags"; - leaf is-global-label { - type boolean; - description "Label is Global across all interfaces"; - } - } - - grouping RSVP-MGMT-RRO-LABEL-SUBOBJ { - description "RSVP RRO Label subobject"; - - container flags { - description "The RRO Subobject Label Flags"; - uses RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS; - } - leaf label { - type uint32; - description "The RRO Subobject Label Value"; - } - leaf is-label-variable-length { - type boolean; - description "Is the RRO Subobject Label Variable Length"; - } - leaf-list variable-length-label { - type uint32; - description "The RRO Subobject Variable Length Label"; - } - } - - grouping RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS { - description "RSVP RRO IPV4 Subobject Flags"; - leaf is-protection-available { - type boolean; - description "Local Protection Available"; - } - leaf is-protection-in-use { - type boolean; - description "Local Protection In Use"; - } - leaf is-bandwidth-protected { - type boolean; - description "Bandwidth Protection Available"; - } - leaf is-node-protection-available { - type boolean; - description "Node Protection Available"; - } - leaf is-node-id { - type boolean; - description "Node ID In Use"; - } - } - - grouping RSVP-MGMT-RRO-IPV4-SUBOBJ { - description "RSVP RRO IPV4 subobject"; - - container flags { - description "The RRO IPV4 Subobject Flags"; - uses RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS; - } - leaf rro-address { - type inet:ipv4-address; - description "The RRO IPV4 Address"; - } - } - - grouping RSVP-MGMT-RRO-SUBOBJ { - description "Union of the different RSVP RRO types"; - - container ipv4rro-sub-object { - when "../rro-type = 'ipv4rro-type'" { - description "../RROType = 'IPv4RROType'"; - } - description "IPV4 RRO Sub Object"; - uses RSVP-MGMT-RRO-IPV4-SUBOBJ; - } - - container label-rro-sub-object { - when "../rro-type = 'label-rro-type'" { - description "../RROType = 'LabelRROType'"; - } - description "Label RRO Sub Object"; - uses RSVP-MGMT-RRO-LABEL-SUBOBJ; - } - - container unnumbered-rro-sub-object { - when "../rro-type = 'unnumbered-rro-type'" { - description "../RROType = 'UnnumberedRROType'"; - } - description "Unnumbered RRO Sub Object"; - uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ; - } - - container srlg-rro-sub-object { - when "../rro-type = 'srlg-rro-type'" { - description "../RROType = 'SRLG_RROType'"; - } - description "SRLG RRO Sub Object"; - uses RSVP-MGMT-RRO-SRLG-SUBOBJ; - } - leaf rro-type { - type Rsvp-mgmt-rro-subobj; - description "RROType"; - } - } - - grouping RSVP-SESSION-PSB-DETAIL { - description "RSVP Detail Session Path Info"; - - container generic-in-label { - description "Generic Label for inbound traffic"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container traffic-spec { - description "Traffic Spec object"; - uses RSVP-MGMT-TRAFFIC-SPEC; - } - - container generic-traffic-spec { - description "Generic Traffic Spec object"; - uses RSVP-MGMT-GEN-TRAFFIC-SPEC; - } - - container association { - description "Association object"; - uses RSVP-MGMT-ASSOCIATION; - } - - container protection { - description "Protection object"; - uses RSVP-MGMT-PROTECTION; - } - - container reverse-lsp { - description "Reverse LSP object"; - uses RSVP-MGMT-REVERSE-LSP; - } - leaf is-valid { - type boolean; - description "Entry validity"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf lsp-id { - type uint32; - description "LSP ID"; - } - leaf p2mp-sub-group-origin { - type inet:ipv4-address; - description "Point to Multipoint SubGroup Origin"; - } - leaf sub-group-id { - type uint16; - description "Point to Multipoint Subgroup ID"; - } - leaf in-interface { - type xr:Interface-name; - description "Interface on which inbound message was received"; - } - leaf in-label { - type Rsvp-mgmt-mpls-label; - description "Label for inbound traffic"; - } - leaf lsp-wrap-label { - type Rsvp-mgmt-mpls-label; - description "LSP Wrap Label"; - } - leaf is-bad-address { - type boolean; - description "Address validity"; - } - leaf incoming-interface-address { - type inet:ipv4-address; - description "IP address of Path's incoming interface"; - } - leaf is-ero-valid { - type boolean; - description "ERO validity"; - } - leaf is-rro-valid { - type boolean; - description "RRO validity"; - } - leaf is-traffic-spec-valid { - type boolean; - description "Traffic Spec validity"; - } - leaf tunnel-name { - type string; - description "Tunnel name"; - } - - list ero { - description "Explicit Route Sub Objects"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list rro { - description "Record Route Sub Objects"; - uses RSVP-MGMT-RRO-SUBOBJ; - } - } - - grouping RSVP-SESSION-PSB-RSB-DETAIL { - description "List of Path and Reservation Info"; - - list psb-info { - description "Path Info"; - uses RSVP-SESSION-PSB-DETAIL; - } - - list rsb-info { - description "Reservation Info"; - uses RSVP-SESSION-RSB-DETAIL; - } - } - - grouping RSVP-MGMT-SESSION-DETAIL { - description "RSVP Detail Session Info"; - - container compact { - description "Compact session data"; - uses RSVP-MGMT-SESSION-COMPACT; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - list psb-rsb-info { - description "Path and Reservation Info"; - uses RSVP-SESSION-PSB-RSB-DETAIL; - } - } - - grouping RSVP-MGMT-KEY { - description "Key to uniquely identify some RSVP records"; - leaf p2mp-id { - type uint32; - description "Point-to-multipoint ID"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf destination-port-or-tunnel-id { - type uint32; - description - "Destination Port or Tunnel ID. For the LSP and - OUNI session types this represents the Tunnel ID - whereas for the UDP session type this represents - the Destination Port"; - } - leaf protocol { - type uint32; - description - "Protocol. UDP session type this represents the - Protocol (UDP not supported at present)"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description - "Protocol or Extended Tunnel ID. For the LSP and - OUNI sesion types this represents the Extended - Tunnel ID"; - } - leaf session-type { - type Rsvp-mgmt-session; - description "Session Type (e.g. LSP, OUNI or UDP)"; - } - leaf source-address { - type inet:ipv4-address; - description "Source Address"; - } - leaf source-port-or-lsp-id { - type uint32; - description - "Source Port or LSP_ID. For the LSP and OUNI - session types this represents the LSP_ID whereas - for the UDP session type this represents the - SourcePort"; - } - leaf p2mp-sub-group-origin { - type inet:ipv4-address; - description "Point to Multipoint SubGroup Origin"; - } - leaf sub-group-id { - type uint16; - description "Point to Multipoint Subgroup ID"; - } - leaf vrfid { - type Rsi-vrf-id; - description "Signalling VRF ID"; - } - } - - grouping RSVP-MGMT-REQUEST-FLAGS { - description "Request state flags"; - leaf is-local-receiver { - type boolean; - description "Local Receiver"; - } - leaf is-refreshing { - type boolean; - description "Is neighbor refreshing"; - } - leaf is-send-confirm { - type boolean; - description "Send Confirm message"; - } - leaf is-ack-outstanding { - type boolean; - description "Is ACK message outstanding"; - } - leaf is-message-id-allocated { - type boolean; - description "Is MessageID allocated"; - } - leaf is-nack-received { - type boolean; - description "A NACK message was received"; - } - leaf is-retransmit { - type boolean; - description "Retransmit the message"; - } - leaf is-paced { - type boolean; - description "Message is paced"; - } - leaf is-label-request-in-path { - type boolean; - description "The Path message contains Label Request"; - } - leaf is-rro-in-path { - type boolean; - description "The Path message contains RRO"; - } - leaf is-record-label-in-path { - type boolean; - description - "Path has Session-Attr object with Record Labels - set"; - } - leaf is-merge-point { - type boolean; - description "Is node a Merge Point"; - } - } - - grouping RSVP-MGMT-REQUEST-DETAIL { - description "Detailed Form of RSVP Request Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container flow-spec { - description "Flow Spec Information"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec Information"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - - container filter { - description "RSVP Filter"; - uses RSVP-MGMT-FILTER-INFO; - } - - container style { - description "RSVP Style"; - uses RSVP-MGMT-STYLE; - } - - container req-flags { - description "Request flags"; - uses RSVP-MGMT-REQUEST-FLAGS; - } - - container hop { - description "Hop Infomation"; - uses RSVP-MGMT-HOP-INFO; - } - - container header { - description "RSVP Header Information"; - uses RSVP-MGMT-HEADER-INFO; - } - - container policy-sources { - description "RSVP Policy Sources"; - uses RSVP-MGMT-POLICY-SOURCES; - } - - container policy-flags { - description "RSVP Policy Flags"; - uses RSVP-MGMT-POLICY-FLAGS; - } - - container policy-query-flags { - description "RSVP Query Flags"; - uses RSVP-MGMT-POLICY-QUERY-FLAGS; - } - leaf output-interface { - type string; - description "output Interface"; - } - - list psb-key { - description "List of RSB keys"; - uses RSVP-MGMT-KEY; - } - - list rsb-key { - description "List of RSB keys"; - uses RSVP-MGMT-KEY; - } - } - - grouping RSVP-MGMT-REQUEST-COMPACT { - description "Compact Form of RSVP Request Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container flow-spec { - description "Flow Spec Information"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec Information"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - - container filter { - description "RSVP Filter"; - uses RSVP-MGMT-FILTER-INFO; - } - - container style { - description "RSVP Style"; - uses RSVP-MGMT-STYLE; - } - leaf output-interface { - type string; - description "Output Interface"; - } - } - - grouping RSVP-MGMT-FRR-STATES-DETAIL { - description "RSVP states for one FRR LSP"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - leaf path-status { - type Rsvp-mgmt-frr-state-enum; - description "RSVP FRR Path States"; - } - leaf reservation-status { - type Rsvp-mgmt-frr-state-enum; - description "RSVP FRR Reservation States"; - } - } - - grouping RSVP-GLOBAL-INFO { - description "RSVP global information"; - - container issu-status { - description "Issu status"; - uses RSVP-NSR-ISSU-STATUS-INFO; - } - - container nsr-status { - description "NSR status"; - uses RSVP-NSR-ISSU-STATUS-INFO; - } - - container database-counters { - description "All database counters"; - uses RSVP-MGMT-ALL-DB-COUNTERS; - } - leaf interfaces { - type uint32; - description "Total interfaces"; - } - leaf ls-ps { - type uint32; - description "Total LSPs"; - } - } - - grouping RSVP-IDT-STATUS { - description "IDT status information"; - leaf sync-status { - type Rsvp-sync-status; - description "Sync status"; - } - leaf not-ready-reason { - type Rsvp-proc-nsr-not-ready-reason; - description "Not ready reason"; - } - leaf idt-start-time { - type uint32; - units "second"; - description "IDT start timestamp in seconds"; - } - leaf idt-end-time { - type uint32; - units "second"; - description "IDT end timestamp in seconds"; - } - leaf declare-time { - type uint32; - units "second"; - description "Declare ready timestamp in seconds"; - } - leaf withdraw-time { - type uint32; - units "second"; - description "Withdraw ready timestamp in seconds"; - } - } - - grouping RSVP-NSR-ISSU-STATUS-INFO { - description "NSR/ISSU status information"; - - container idt-status { - description "IDT status"; - uses RSVP-IDT-STATUS; - } - - container previous-idt-status { - description "Previous IDT status"; - uses RSVP-IDT-STATUS; - } - leaf role { - type Rsvp-proc-role; - description "Process role"; - } - } - - grouping RSVP-MGMT-IF-NBR-DETAIL { - description "Detail Info for RSVP Interface Neighbor"; - leaf interface-neighbor-address { - type inet:ipv4-address; - description "Interface Neighbor address"; - } - leaf neighbor-interface-name { - type xr:Interface-name; - description "Neighbor's Interface handle"; - } - leaf is-rr-enabled { - type boolean; - description "Is Neighbor's RR enable"; - } - leaf neighbor-epoch { - type uint32; - description "Neighbor's epoch value"; - } - leaf out-of-order-messages { - type uint32; - description "Number of out of order msgs"; - } - leaf retransmitted-messages { - type uint32; - description "Number of retransmitted msgs"; - } - } - - grouping RSVP-MGMT-NBR-DETAIL { - description "Detail Info for RSVP Neighbor"; - leaf node-address { - type inet:ipv4-address; - description "Neighbor node address"; - } - - list interface-neighbor-list-detail { - description "Detail list of I/F Neighbors"; - uses RSVP-MGMT-IF-NBR-DETAIL; - } - } - - grouping RSVP-MGMT-HELLO-IF-INSTANCE-DETAIL { - description "Detail Info for IF-based RSVP Hello Instance"; - - container last-message-sent-time { - description "Last Ack/msg sent time"; - uses RSVP-MGMT-TIMESPEC; - } - leaf source-address-xr { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination address"; - } - leaf hello-global-neighbor-id { - type inet:ipv4-address; - description "Global Neighbor ID"; - } - leaf instance-type { - type Rsvp-mgmt-hello-instance; - description "Hello instance type"; - } - leaf hello-interface { - type xr:Interface-name; - description "Interface to use"; - } - leaf source-instance { - type uint32; - description "Source Instance"; - } - leaf destination-instance { - type uint32; - description "Destination Instance"; - } - leaf hello-messages-sent { - type uint64; - description "Number of hello messages sent"; - } - leaf hello-messages-received { - type uint64; - description "Number of hello messages received"; - } - } - - grouping RSVP-MGMT-HELLO-IF-INSTANCE-COMPACT { - description "Compact Info for IF-based RSVP Hello Instance"; - leaf source-address-xr { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination address"; - } - leaf instance-type { - type Rsvp-mgmt-hello-instance; - description "Hello instance type"; - } - leaf hello-interface { - type xr:Interface-name; - description "Interface to use"; - } - } - - grouping RSVP-MGMT-LOCAL-NODE-ID-IPV4 { - description "Local Node-id"; - leaf local-node-ip-address { - type inet:ipv4-address; - description "Local node address"; - } - leaf application-type { - type Rsvp-mgmt-gr-app; - description "GR local node-id app type"; - } - } - - grouping RSVP-MGMT-GRACEFUL-RESTART { - description "RSVP Graceful Restart Info"; - - container recovery-time-left { - description "How much recovery timer remains"; - uses RSVP-MGMT-TIMESPEC; - } - - container recovery-timer-exp-time { - description "Time at which recovery timer will expire"; - uses RSVP-MGMT-TIMESPEC; - } - leaf is-gr-enabled { - type boolean; - description "Whether GR is enabled"; - } - leaf global-neighbors { - type uint32; - description "Global neighbor count"; - } - leaf restart-time { - type uint32; - units "millisecond"; - description "Restart time (milliseconds)"; - } - leaf recovery-time { - type uint32; - units "millisecond"; - description "Recovery time (milliseconds)"; - } - leaf is-recovery-timer-running { - type boolean; - description "Whether recovery timer is running"; - } - leaf hello-interval { - type uint32; - description "Interval at which hello messages are sent"; - } - leaf missed-hellos { - type uint8; - description - "Max number of hellos missed before hellos - declared down"; - } - leaf pending-states { - type uint32; - description "Total number of pending states"; - } - - list local-node-address { - description "Local node address"; - uses RSVP-MGMT-LOCAL-NODE-ID-IPV4; - } - } - - grouping RSVP-MGMT-INTERFACE-COMPACT { - description "Compact Form of RSVP interface Info"; - - container bandwidth-information { - description "Interface bandwidth information"; - uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; - } - leaf interface-name-xr { - type string; - description "Interface Name"; - } - } - - grouping RSVP-MGMT-ALL-DB-COUNTERS { - description "All database counters"; - leaf sessions { - type uint32; - description "Number of sessions"; - } - leaf incoming-paths { - type uint32; - description - "Number of locally created and incoming path - states"; - } - leaf outgoing-paths { - type uint32; - description "Number of outgoing path states"; - } - leaf incoming-reservations { - type uint32; - description - "Number of locally created and incoming - reservation states"; - } - leaf outgoing-reservations { - type uint32; - description "Number of outgoing reservation states"; - } - leaf interfaces { - type uint32; - description "Number of Interfaces"; - } - } - - grouping RSVP-SYNC-COUNT-INFO { - description "RSVP sync sent and received counters information"; - leaf last-cleared-timestamp { - type uint32; - units "second"; - description - "The timestamp, in seconds, when these statistics - are cleared since 00:00:00 UTC, - January 1, 1970"; - } - leaf rsvp-process-role { - type Rsvp-proc-role; - description "Process role"; - } - leaf last-idt-states { - type uint32; - description "Last IDT number of states"; - } - leaf total-states { - type uint32; - description "Total number of states"; - } - leaf total-deletions { - type uint32; - description "Total number of deletions"; - } - leaf total-nacks { - type uint64; - description "Total number of NACKs"; - } - leaf total-id-ts { - type uint32; - description "Total number of IDTs"; - } - } - - grouping RSVP-MGMT-EVENT-COUNT-INFO { - description "Count of events"; - leaf expired-paths { - type uint32; - description "Counter for Expired Path states"; - } - leaf expired-reservations { - type uint32; - description "Counter for Expired Reservation states"; - } - leaf nac-ks { - type uint32; - description "Counter for NACKs received"; - } - } - - grouping RSVP-MGMT-COUNTERS-OOR { - description - "Counters for all messages dropped in OOR - condition"; - leaf dropped-path-messages { - type uint32; - description - "Count of Path messages dropped due to an out of - resource condition"; - } - } - - grouping RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO { - description "Prefix filtering interface counters"; - - container forwarded { - description "Count of messages which got forwarded"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container locally-destined { - description "Count of locally destined messages"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container dropped { - description "Count of messages dropped"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container default-action-dropped { - description - "Count of messages which got dropped due to - default ACL action"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container default-action-processed { - description - "Count of messages which were processed due to - default ACL action"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container total { - description "Count of total messages"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - } - - grouping RSVP-MGMT-COUNT-PREFIX-MSG { - description "Message types for prefix filtering"; - leaf path { - type uint32; - description "Count of Path messages"; - } - leaf path-tear { - type uint32; - description "Count of PathTear messages"; - } - leaf reservation-confirm { - type uint32; - description "Count of ReservationConfirm messages"; - } - leaf total { - type uint32; - description "Total count of messages"; - } - } - - grouping RSVP-MGMT-COUNT-PREFIX-ACL-INFO { - description "Prefix filtering ACL counters"; - - container forwarded { - description "Count of messages which got forwarded"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container locally-destined { - description "Count of locally destined messages"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container dropped { - description "Count of messages dropped"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - - container total { - description "Count of total messages"; - uses RSVP-MGMT-COUNT-PREFIX-MSG; - } - } - - grouping RSVP-MGMT-COUNTS { - description "Counters for all known RSVP message types"; - leaf path { - type uint32; - description "Count of Path messages"; - } - leaf reservation { - type uint32; - description "Count of Reservation messages"; - } - leaf path-error { - type uint32; - description "Count of PathError messages"; - } - leaf reservation-error { - type uint32; - description "Count of ReservationError messages"; - } - leaf path-tear { - type uint32; - description "Count of PathTear messages"; - } - leaf reservation-tear { - type uint32; - description "Count of ReservationTear messages"; - } - leaf reservation-confirm { - type uint32; - description "Count of ReservationConfirm messages"; - } - leaf bundle { - type uint32; - description "Count of Bundle messages"; - } - leaf ack { - type uint32; - description "Count of ACK messages"; - } - leaf srefresh { - type uint32; - description "Count of Srefresh messages"; - } - leaf hello { - type uint32; - description "Count of Hello messages"; - } - leaf challenge { - type uint32; - description "Count of Integrity Challenge messages"; - } - leaf response { - type uint32; - description "Count of Integrity Response messages"; - } - } - - grouping RSVP-MGMT-COUNT-MESSAGE { - description "Counters for all messages"; - - container received-messages { - description "Count of messages received"; - uses RSVP-MGMT-COUNTS; - } - - container transmitted-messages { - description "Count of messages transmitted"; - uses RSVP-MGMT-COUNTS; - } - - container bundle-received-messages { - description "Count of Bundle messages received"; - uses RSVP-MGMT-COUNTS; - } - - container bundle-transmitted-messages { - description "Count of Bundle messages transmitted"; - uses RSVP-MGMT-COUNTS; - } - leaf retransmitted-messages { - type uint32; - description "Count of messages retransmitted"; - } - leaf out-of-order-messages { - type uint32; - description "Count of Out of Order messages"; - } - leaf rate-limited-messages { - type uint32; - description "Count of Rate Limited messages"; - } - } - - grouping RSVP-MGMT-RESERVATION-COMPACT { - description "Compact Form of RSVP Reservation Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container flow-spec { - description "Flow Spec Information"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec Info"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - - container style { - description "RSVP Style"; - uses RSVP-MGMT-STYLE; - } - - container filter { - description "RSVP Filter"; - uses RSVP-MGMT-FILTER-INFO; - } - leaf input-interface { - type string; - description "Reservation Input Interface"; - } - } - - grouping RSVP-MGMT-AUTH-RECV-TYPE-COUNTERS { - description "RSVP Authentication Receive Type Counters"; - leaf authentication-received-valid-messages { - type uint32; - description "Valid messages"; - } - leaf authentication-received-challenges-sent { - type uint32; - description "Challenges sent"; - } - leaf authentication-received-challenge-response { - type uint32; - description "Challenge responses received"; - } - leaf authentication-received-challenges-resent { - type uint32; - description "Challenges resent"; - } - leaf authentication-received-challenge-timeouts { - type uint32; - description "Challenge timeouts"; - } - leaf authentication-received-during-challenge { - type uint32; - description "Authentication received during challenge"; - } - leaf authentication-received-incomplete { - type uint32; - description "Authentication received incomplete"; - } - leaf authentication-received-no-integrity { - type uint32; - description "Authentication received with no integrity"; - } - leaf authentication-received-bad-digest { - type uint32; - description "Authentication received with bad digest"; - } - leaf authentication-received-wrong-digest-type { - type uint32; - description "Authentication received with wrong digest type"; - } - leaf authentication-received-sequence-number-duplicate { - type uint32; - description - "Authentication received with duplicate sequence - number"; - } - leaf authentication-received-sequence-number-outof-range { - type uint32; - description - "Authentication received with sequence number out - of range"; - } - leaf authentication-received-wrong-challenges-response { - type uint32; - description "Incorect challenge responses received"; - } - leaf authentication-received-challenges-response-duplicate { - type uint32; - description "Duplicate challenge responses received"; - } - leaf authentication-received-response-late { - type uint32; - description "Challenge responses received late"; - } - leaf authentication-received-bad-message-format { - type uint32; - description "Authentication received with bad mesage format"; - } - } - - grouping RSVP-MGMT-AUTH-DIRECTION-RECV { - description "RSVP Authentication Recieve Type Information"; - - container counters { - description "Counters"; - uses RSVP-MGMT-AUTH-RECV-TYPE-COUNTERS; - } - leaf sequence { - type uint64; - description "Sequence number"; - } - leaf sequence-window-size { - type uint32; - description "Sequence window size"; - } - leaf sequence-window-count { - type uint32; - description "Sequence window count"; - } - leaf-list sequence-window { - type uint64; - max-elements "64"; - description "Sequence window"; - } - } - - grouping RSVP-MGMT-AUTH-SEND-TYPE-COUNTERS { - description "RSVP Authentication Send Type Counters"; - leaf authentication-sent { - type uint32; - description "Messages sent"; - } - leaf authentication-failures { - type uint32; - description "Failures"; - } - leaf authentication-send-challenges-received { - type uint32; - description "Challenges received"; - } - leaf authentication-challenge-responses-sent { - type uint32; - description "Challenge responses sent"; - } - } - - grouping RSVP-MGMT-AUTH-DIRECTION-SEND { - description "RSVP Authentication Send Type Information"; - - container counters { - description "Counters"; - uses RSVP-MGMT-AUTH-SEND-TYPE-COUNTERS; - } - leaf sequence { - type uint64; - description "Sequence number"; - } - } - - grouping RSVP-MGMT-AUTH-DIRECTION { - description - "Union of the different RSVP Authentication - Direction types"; - - container send-info { - when "../auth-direction = 'rsvp-mgmt-auth-direction-send'" { - description - "../AuthDirection = 'RSVPMgmtAuthDirectionSend'"; - } - description "send info"; - uses RSVP-MGMT-AUTH-DIRECTION-SEND; - } - - container receive-info { - when "../auth-direction = 'rsvp-mgmt-auth-direction-recv'" { - description - "../AuthDirection = 'RSVPMgmtAuthDirectionRecv'"; - } - description "receive info"; - uses RSVP-MGMT-AUTH-DIRECTION-RECV; - } - leaf auth-direction { - type Rsvp-mgmt-auth-direction; - description "AuthDirection"; - } - } - - grouping RSVP-MGMT-AUTHENTICATION-DETAIL { - description "Authentication Detail Information"; - - container auth-compact { - description "Basic authentication data"; - uses RSVP-MGMT-AUTHENTICATION-COMPACT; - } - - container direction-info { - description "direction info"; - uses RSVP-MGMT-AUTH-DIRECTION; - } - leaf key-status { - type uint32; - description "Key status"; - } - leaf key-digest-info { - type uint32; - description "Direction"; - } - leaf lifetime { - type uint32; - units "second"; - description "Lifetime (seconds)"; - } - leaf lifetime-left { - type uint32; - units "second"; - description "Remaining lifetime (seconds)"; - } - leaf challenge-status { - type Rsvp-mgmt-auth-challenge-status; - description "Challenge status"; - } - } - - grouping RSVP-MGMT-HELLO-INSTANCE-COMPACT { - description "Compact Info for RSVP Hello Instance"; - leaf source-address-xr { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination address"; - } - leaf neighbor-hello-state { - type Rsvp-mgmt-hello-state; - description "Neighbor Hello state"; - } - leaf instance-type { - type Rsvp-mgmt-hello-instance; - description "Hello instance type"; - } - leaf hello-interface { - type xr:Interface-name; - description "Interface to use"; - } - leaf lost-communication-total { - type uint16; - description "Total number of times communication got lost"; - } - } - - grouping RSVP-MGMT-RSB-FLAGS { - description "Reservation State Block Flags"; - leaf is-local-receiver { - type boolean; - description "Local Receiver"; - } - leaf is-message-id-valid { - type boolean; - description "MessageID Valid"; - } - leaf is-local-repair { - type boolean; - description "Rerouted"; - } - leaf is-merge-point { - type boolean; - description "Is node a Merge Point"; - } - leaf is-lockout { - type boolean; - description "Locked Out"; - } - } - - grouping RSVP-MGMT-STYLE { - description "RSVP Reservation Style"; - leaf reservation-type { - type Rsvp-mgmt-reservation-type-enum; - description "The Reservation Type: WF, SE or FF"; - } - } - - grouping RSVP-MGMT-FLOW-SPEC-G709-OTN { - description "RSVP G709 OTN FlowSpec Info"; - leaf flow-signal-type { - type uint8; - description "G709 OTN Flow Signal Type (Refer G709 v3)"; - } - leaf flow-nvc { - type uint16; - description "G709 OTN Flow NVC"; - } - leaf flow-multiplier { - type uint16; - description "G709 OTN Flow Multiplier"; - } - leaf flow-bit-rate { - type uint64; - description "G709 OTN Flow Bit Rate"; - } - } - - grouping RSVP-MGMT-GEN-FLOW-SPEC { - description "Union of different RSVP Generic FlowSpec types"; - - container g709otn-flow-spec { - when "../flow-spec-type = 'g709otn'" { - description "../FlowSpecType = 'G709OTN'"; - } - description "G709 OTN FlowSpec"; - uses RSVP-MGMT-FLOW-SPEC-G709-OTN; - } - leaf flow-spec-type { - type Rsvp-mgmt-flow-spec; - description "FlowSpecType"; - } - } - - grouping RSVP-MGMT-FLOW-SPEC { - description "RSVP Flow Spec"; - leaf flow-average-rate { - type uint64; - units "byte/s"; - description "The Flow Average Rate in bytes per second"; - } - leaf flow-max-burst { - type uint64; - description "The Flow Maximum Burst"; - } - leaf flow-peak-rate { - type uint64; - units "byte/s"; - description "The Flow Peak Rate in bytes per second"; - } - leaf flow-min-unit { - type uint32; - description "The Flow Minimum Unit"; - } - leaf flow-max-unit { - type uint32; - description "The Flow Maximum Unit"; - } - leaf flow-requested-rate { - type uint64; - units "byte/s"; - description "The Flow Requested Rate in bytes per second"; - } - leaf flow-slack { - type uint32; - description "The Flow Slack"; - } - leaf flow-qos { - type Rsvp-mgmt-qos-service-enum; - description "The Flow Quality of Service"; - } - } - - grouping RSVP-MGMT-RESERVATION-DETAIL { - description "Detailed Form of RSVP Reservation Info"; - - container flow-spec { - description "Flow Spec Information"; - uses RSVP-MGMT-FLOW-SPEC; - } - - container generic-flow-spec { - description "Generic Flow Spec Information"; - uses RSVP-MGMT-GEN-FLOW-SPEC; - } - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container style { - description "RSVP Style"; - uses RSVP-MGMT-STYLE; - } - - container filter { - description "RSVP Filter"; - uses RSVP-MGMT-FILTER-INFO; - } - - container rsb-flags { - description "Reservation State Block Flags"; - uses RSVP-MGMT-RSB-FLAGS; - } - - container hop { - description "Hop Infomation"; - uses RSVP-MGMT-HOP-INFO; - } - - container policy-sources { - description "RSVP Policy Sources"; - uses RSVP-MGMT-POLICY-SOURCES; - } - - container header { - description "RSVP Header Information"; - uses RSVP-MGMT-HEADER-INFO; - } - - container policy-flags { - description "RSVP Policy Flags"; - uses RSVP-MGMT-POLICY-FLAGS; - } - - container expiry-time { - description "Expiry Time"; - uses RSVP-MGMT-TIMESPEC; - } - - container policy-query-flags { - description "RSVP Query Flags"; - uses RSVP-MGMT-POLICY-QUERY-FLAGS; - } - - container label-info { - description "Label Information"; - uses RSVP-MGMT-LABEL-INFO; - } - leaf input-adjusted-interface { - type string; - description "Input Adjusted Interface"; - } - leaf input-physical-interface { - type string; - description "Input Physical Interface"; - } - } - - grouping RSVP-MGMT-FRR-STATE-STATUS-COUNTERS { - description "FRR state counters"; - leaf total { - type uint32; - description "Total number of instances of this state"; - } - leaf active-instances { - type uint32; - description "Number of active instances of this state"; - } - leaf ready-instances { - type uint32; - description "Number of ready instances of this state"; - } - leaf active-wait-instances { - type uint32; - description - "Number of instances of this state awaiting Path - messages to be sent out or Resv messages to be - received"; - } - } - - grouping RSVP-MGMT-FRR-STATES-COMPACT { - description "Count of RSVP FRR States"; - - container path-states { - description "Path state counters"; - uses RSVP-MGMT-FRR-STATE-STATUS-COUNTERS; - } - - container reservation-states { - description "Rerservation state counters"; - uses RSVP-MGMT-FRR-STATE-STATUS-COUNTERS; - } - } - - grouping RSVP-MGMT-MESSAGEID { - description "RSVP Message ID"; - leaf message-id { - type Rsvp-mgmt-messageid; - description "Message ID"; - } - } - - grouping RSVP-MGMT-NBOR { - description "Neighbor"; - - container expiry-time { - description "Expiry time"; - uses RSVP-MGMT-TIMESPEC; - } - leaf is-neighbor-refresh-reduction-capable { - type boolean; - description "Is neighbor capable of Refresh Reduction"; - } - leaf neighbor-address { - type inet:ipv4-address; - description "IP address of the neighbor"; - } - leaf message-ids { - type uint32; - description "Number of MessageIDs"; - } - leaf outgoing-states { - type int32; - description "Number of outgoing states to the neighbour"; - } - - list neighbor-message-id { - max-elements "6"; - description "List of Neighbor MessageIDs"; - uses RSVP-MGMT-MESSAGEID; - } - } - - grouping RSVP-MGMT-INTERFACE-FLAGS { - description "Interface related flags"; - leaf is-mpls-enabled { - type boolean; - description "MPLS enabled on interface"; - } - leaf is-refresh-reduction-enabled { - type boolean; - description "Refresh Reduction enabled"; - } - leaf is-pacing-enabled { - type boolean; - description "Message pacing enabled"; - } - leaf is-refresh-enabled { - type boolean; - description "Refresh enabled"; - } - leaf is-s-refresh-enabled { - type boolean; - description "Summary Refresh enabled"; - } - leaf is-interface-down { - type boolean; - description "Interface is DOWN"; - } - leaf is-interface-created { - type boolean; - description "Interface is created"; - } - leaf is-rel-s-refresh-enabled { - type boolean; - description "Use reliable xmt for SRefresh"; - } - leaf is-backup-tunnel { - type boolean; - description "This is backup tunnel"; - } - leaf is-rsvp-configured { - type boolean; - description "RSVP explicitly configured"; - } - leaf is-non-default-vrf { - type boolean; - description "Interface is defined in non-Default VRF"; - } - leaf is-message-bundling-enabled { - type boolean; - description "Use bundling for outgoing RSVP messages."; - } - } - - grouping RSVP-MGMT-INTERFACE-DETAIL { - description "Detail Form of RSVP interface Info"; - - container bandwidth-information { - description "Interface bandwidth information"; - uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; - } - - container flags { - description "Interface flags"; - uses RSVP-MGMT-INTERFACE-FLAGS; - } - leaf interface-name-xr { - type string; - description "Interface Name"; - } - leaf signalling-ip-tos { - type uint8; - description - "IP TOS (precedence/DSCP) to use in signalling - messages"; - } - leaf integrity-send-password { - type string { - length "0..40"; - } - description "Integrity send password"; - } - leaf integrity-receive-password { - type string { - length "0..40"; - } - description "Integrity receive password"; - } - leaf integrity-receive-password-optional { - type uint8; - description "Integrity recv password optional"; - } - leaf refresh-timer-state { - type Rsvp-timer-state; - description "Refresh timer state"; - } - leaf summary-refresh-timer-state { - type Rsvp-timer-state; - description "Summary refresh timer state"; - } - leaf refresh-interval { - type int32; - units "millisecond"; - description "Refresh interval in msecs"; - } - leaf out-of-band-refresh-interval { - type uint32; - units "millisecond"; - description "Out-of-band Refresh interval in msecs"; - } - leaf summary-refresh-max-size { - type uint32; - units "byte"; - description "Max size in bytes of a single SRefresh"; - } - leaf bundle-message-max-size { - type uint32; - units "byte"; - description "Max size in bytes of a single Bundle message"; - } - leaf expiry-timer-state { - type Rsvp-timer-state; - description "Expiry timer state"; - } - leaf expiry-states { - type int32; - description "Number of states for expiry check"; - } - leaf expiry-interval { - type int32; - units "millisecond"; - description "Expiry interval in msecs"; - } - leaf expiry-drops-tolerated { - type int32; - description "Number of missed messages tolerated"; - } - leaf out-of-band-expiry-drops-tolerated { - type uint32; - description "Number of out-of-band missed messages tolerated"; - } - leaf ack-hold-time { - type uint32; - description "ACK hold time in msec"; - } - leaf ack-max-size { - type uint32; - description "Max size for ACK message"; - } - leaf retransmit-time { - type uint32; - description "Retransmit time in msec"; - } - leaf pacing-interval { - type uint32; - units "millisecond"; - description "Pacing interval in msecs"; - } - leaf pacing-message-rate { - type uint32; - description "No. of messages per interval"; - } - leaf pacing-timer-state { - type Rsvp-timer-state; - description "State of pacing timer"; - } - leaf pacing-messages { - type int32; - description "Number of messages deferred for pacing"; - } - - list neighbor-array { - max-elements "6"; - description "Neighbor array"; - uses RSVP-MGMT-NBOR; - } - } - - grouping RSVP-MGMT-ERO-UNNUM-SUBOBJ { - description "RSVP ERO UNNUM subobject"; - leaf is-strict-route { - type boolean; - description "ERO Entry Is Strict"; - } - leaf ero-interface-id { - type uint32; - description "The Interface ID in ERO"; - } - leaf ero-router-id { - type inet:ipv4-address; - description "The Router ID in ERO"; - } - leaf status { - type Rsvp-mgmt-ero-subobj-status; - description "Status of ERO"; - } - } - - grouping RSVP-MGMT-ERO-IPV4-SUBOBJ { - description "RSVP ERO IPV4 subobject"; - leaf is-strict-route { - type boolean; - description "ERO Entry Is Strict"; - } - leaf ero-address { - type inet:ipv4-address; - description "The ERO IPV4 Address"; - } - leaf prefix-length { - type uint8; - description "ERO Prefix Length"; - } - } - - grouping RSVP-MGMT-ERO-SUBOBJ { - description "Union of the different RSVP ERO types"; - - container ipv4ero-sub-object { - when "../ero-type = 'rsvp-mgmt-ero-type-ipv4'" { - description "../EROType = 'RSVP_MGMT_ERO_TYPE_IPv4'"; - } - description "IPV4 ERO Sub Object"; - uses RSVP-MGMT-ERO-IPV4-SUBOBJ; - } - - container unnumbered-ero-sub-object { - when "../ero-type = 'rsvp-mgmt-ero-type-un-num'" { - description "../EROType = 'RSVP_MGMT_ERO_TYPE_UNNUM'"; - } - description "Unnumbered ERO Sub Object"; - uses RSVP-MGMT-ERO-UNNUM-SUBOBJ; - } - leaf ero-type { - type Rsvp-mgmt-ero-subobj; - description "EROType"; - } - } - - grouping RSVP-MGMT-CT-INFO { - description "Class-Type Information"; - leaf is-class-type-info-valid { - type boolean; - description "Is the Class-Type information valid"; - } - leaf class-type { - type uint8; - description "DS-TE Class-Type"; - } - } - - grouping RSVP-MGMT-GENERALIZED-LABEL { - description "RSVP Generalized Label"; - leaf-list value { - type uint32; - description "Generalized Label Value"; - } - } - - grouping RSVP-MGMT-GENERIC-LABEL { - description "Union of different RSVP Generic Label types"; - - container generalized-label { - when "../generic-label-type = 'rsvp-mgmt-label-type-gmpls'" { - description - "../GenericLabelType = - 'RSVP_MGMT_LABEL_TYPE_GMPLS'"; - } - description "Generalized Label"; - uses RSVP-MGMT-GENERALIZED-LABEL; - } - leaf generic-label-type { - type Rsvp-mgmt-generic-label; - description "GenericLabelType"; - } - } - - grouping RSVP-MGMT-LABEL-INFO { - description "Label Information"; - - container generic-local-downstream-label { - description "Generic Local Downstream Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container generic-outgoing-downstream-label { - description "Generic Outgoing Downstream Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container generic-merge-point-label { - description "Generic MergePoint Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container generic-outgoing-upstream-label { - description "Generic Outgoing Upstream Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container generic-local-upstream-label { - description "Generic Local Upstream Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - - container generic-recovery-label { - description "Generic Recovery Label"; - uses RSVP-MGMT-GENERIC-LABEL; - } - leaf is-valid { - type boolean; - description "Is the label information valid"; - } - leaf local-downstream-label { - type Rsvp-mgmt-mpls-label; - description "Local Downstream Label"; - } - leaf outgoing-downstream-label { - type Rsvp-mgmt-mpls-label; - description "Outgoing Downstream Label"; - } - leaf merge-point-label { - type Rsvp-mgmt-mpls-label; - description "MergePoint Label"; - } - leaf outgoing-upstream-label { - type Rsvp-mgmt-mpls-label; - description "Outgoing Upstream Label"; - } - leaf local-upstream-label { - type Rsvp-mgmt-mpls-label; - description "Local Upstream Label"; - } - leaf recovery-label { - type Rsvp-mgmt-mpls-label; - description "Recovery Label"; - } - leaf lsp-wrap-label { - type Rsvp-mgmt-mpls-label; - description "LSP Wrap Label"; - } - } - - grouping RSVP-PATH-FORWARDING-CONTEXT { - description "RSVP Path Forwarding Context"; - - container policy-flags { - description "Policy Flags"; - uses RSVP-MGMT-POLICY-FLAGS; - } - - container policy-query-flags { - description "Policy Query Flags"; - uses RSVP-MGMT-POLICY-QUERY-FLAGS; - } - leaf output-interface { - type string; - description "Output interface"; - } - } - - grouping RSVP-MGMT-POLICY-QUERY-FLAGS { - description "RSVP Policy Query Flags"; - leaf is-needed { - type boolean; - description "Needed"; - } - leaf is-report-required { - type boolean; - description "Report Required"; - } - leaf is-resync { - type boolean; - description "Resynchronization"; - } - leaf is-bypass { - type boolean; - description "Bypass"; - } - } - - grouping RSVP-MGMT-POLICY-FLAGS { - description "RSVP Policy Flags"; - leaf is-accepted { - type boolean; - description "Accepted"; - } - leaf is-installed { - type boolean; - description "Installed"; - } - leaf is-forwarding { - type boolean; - description "Forwarding"; - } - } - - grouping RSVP-MGMT-TIMESPEC { - description "RSVP Time Spec"; - leaf seconds { - type int32; - units "second"; - description "Time Value in Seconds"; - } - leaf nanoseconds { - type int32; - units "nanosecond"; - description "Time Value in Nano-seconds"; - } - } - - grouping RSVP-MGMT-HEADER-INFO { - description "RSVP/IP Header Info"; - leaf rsvp-version { - type uint8; - description "RSVP Version"; - } - leaf rsvp-header-flags { - type uint8; - description - "RSVP Header Flags (defined in RFC2205 Section 3 - .1.1)"; - } - leaf rsvp-ttl { - type uint8; - description "RSVP TTL"; - } - leaf rsvp-message-type { - type uint8; - description "RSVP Message Type"; - } - leaf ip-tos { - type uint8; - description "IP Type of Service"; - } - leaf ip-ttl { - type uint8; - description "IP TTL"; - } - leaf ip-source-address { - type inet:ipv4-address; - description "IP Source Address"; - } - } - - grouping RSVP-MGMT-POLICY-SOURCES { - description "RSVP Policy Sources"; - leaf is-te-link { - type boolean; - description "Policy Source is TE Link"; - } - leaf is-local { - type boolean; - description "Policy Source is Local"; - } - leaf is-cops { - type boolean; - description "Policy Source is COPS"; - } - leaf is-default { - type boolean; - description "Policy Source is Default"; - } - leaf is-cable { - type boolean; - description "Policy Source is Cable"; - } - } - - grouping RSVP-MGMT-HOP-INFO { - description "Hop Info"; - leaf neighbor-address { - type inet:ipv4-address; - description "IP address of the neighbor"; - } - leaf neighbor-logical-interface-name { - type xr:Interface-name; - description "Neighbor Logical Interface Name"; - } - } - - grouping RSVP-MGMT-PATH-FLAGS { - description "RSVP Path Flags"; - leaf is-non-rsvp-hop-upstream { - type boolean; - description "Non-RSVP Hop Upstream"; - } - leaf is-local-sender { - type boolean; - description "Local Sender"; - } - leaf is-message-id-valid { - type boolean; - description "MessageID Valid"; - } - leaf is-local-repair { - type boolean; - description "Rerouted"; - } - leaf is-bidirectional { - type boolean; - description "Bidirectional"; - } - leaf is-lockout { - type boolean; - description "Locked Out"; - } - } - - grouping RSVP-MGMT-TSPEC-G709-OTN { - description "RSVP G709 OTN Sender Tspec Info"; - leaf traffic-signal-type { - type uint8; - description "G709 OTN Traffic Signal Type (Refer G709 v3)"; - } - leaf traffic-nvc { - type uint16; - description "G709 OTN Traffic NVC"; - } - leaf traffic-multiplier { - type uint16; - description "G709 OTN Traffic Multiplier"; - } - leaf traffic-bit-rate { - type uint64; - description "G709 OTN Traffic Bit Rate"; - } - } - - grouping RSVP-MGMT-GEN-TRAFFIC-SPEC { - description - "Union of different RSVP Generic Sender Tspec - types"; - - container g709otn-tspec { - when "../tspec-type = 'g709otn'" { - description "../TspecType = 'G709OTN'"; - } - description "G709 OTN Sender Tspec"; - uses RSVP-MGMT-TSPEC-G709-OTN; - } - - container intsrv-tspec { - when "../tspec-type = 'intsrv'" { - description "../TspecType = 'INTSRV'"; - } - description "Integrated Services Sender Tspec"; - uses RSVP-MGMT-TRAFFIC-SPEC; - } - leaf tspec-type { - type Rsvp-mgmt-tspec; - description "TspecType"; - } - } - - grouping RSVP-MGMT-TRAFFIC-SPEC { - description "RSVP Traffic Spec Info"; - leaf traffic-average-rate { - type uint64; - units "byte/s"; - description "Traffic Average Rate in bytes per second"; - } - leaf traffic-max-burst { - type uint64; - description "Traffic Maximum Burst"; - } - leaf traffic-peak-rate { - type uint64; - units "byte/s"; - description "Traffic Peak Rate in bytes per second"; - } - leaf traffic-min-unit { - type uint32; - description "Traffic Minimum Unit"; - } - leaf traffic-max-unit { - type uint32; - description "Traffic Maximum Unit"; - } - } - - grouping RSVP-MGMT-SESSION-ATTRIBUTE-FLAGS { - description "RSVP Session Attribute Flags"; - leaf is-local-protect { - type boolean; - description "Local Protection"; - } - leaf is-node-protect { - type boolean; - description "Node Protection"; - } - leaf is-bandwidth-protect { - type boolean; - description "Bandwidth Protection"; - } - leaf is-record-labels { - type boolean; - description "Records Labels"; - } - leaf is-shared-explicit-requested { - type boolean; - description "Shared Explicit Requested"; - } - } - - grouping RSVP-MGMT-SESSION-ATTRIBUTE { - description "RSVP Session Attributes"; - - container sess-attribute-flags { - description "Session Attributes"; - uses RSVP-MGMT-SESSION-ATTRIBUTE-FLAGS; - } - leaf setup-priority { - type uint8; - description "Setup Priority"; - } - leaf reservation-priority { - type uint8; - description "Reservation Priority"; - } - } - - grouping RSVP-MGMT-FILTER-P2MP-IPV4 { - description "RSVP P2MP IPv4 FilterSpec"; - leaf source-address { - type inet:ipv4-address; - description "Source Address"; - } - leaf source-port { - type uint16; - description "Source Port"; - } - leaf p2mp-sub-group-origin { - type inet:ipv4-address; - description "Point to Multipoint SubGroup Origin"; - } - leaf sub-group-id { - type uint16; - description "Point to Multipoint Subgroup ID"; - } - } - - grouping RSVP-MGMT-FILTER-IPV4 { - description "RSVP Filter"; - leaf source-address { - type inet:ipv4-address; - description "Source Address"; - } - leaf source-port { - type uint16; - description "Source Port"; - } - } - - grouping RSVP-FILTER-UNION { - description "Union of the different RSVP filterspec types"; - - container udp-ipv4-session { - when "../filter-type = 'rsvp-mgmt-filter-type-ipv4'" { - description "../FilterType = 'RSVPMgmtFilterTypeIPv4'"; - } - description "UDP IPV4 FilterSpec"; - uses RSVP-MGMT-FILTER-IPV4; - } - - container p2mp-ipv4-session { - when "../filter-type ="+ - " 'rsvp-mgmt-filter-type-p2mp-lsp-ipv4'" { - description - "../FilterType = - 'RSVPMgmtFilterTypeP2MP_LSP_IPv4'"; - } - description "IPv4 P2MP LSP FilterSpec"; - uses RSVP-MGMT-FILTER-P2MP-IPV4; - } - leaf filter-type { - type Rsvp-mgmt-filter; - description "FilterType"; - } - } - - grouping RSVP-MGMT-FILTER-INFO { - description "RSVP FilterSpec Info"; - - container rsvp-filter { - description "RSVP Filter"; - uses RSVP-FILTER-UNION; - } - } - - grouping RSVP-MGMT-S2L-SUB-LSP-IPV4 { - description "RSVP S2L Sub-LSP"; - leaf s2l-destination-address { - type inet:ipv4-address; - description "S2L Sub-LSP Destination Address"; - } - } - - grouping RSVP-MGMT-PATH-DETAIL { - description "Detailed Form of RSVP Path Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - - container s2l-sub-lsp { - description "RSVP S2L Sub-LSP information"; - uses RSVP-MGMT-S2L-SUB-LSP-IPV4; - } - - container template { - description "RSVP Template"; - uses RSVP-MGMT-FILTER-INFO; - } - - container session-attribute { - description "RSVP Session Attribute"; - uses RSVP-MGMT-SESSION-ATTRIBUTE; - } - - container traffic-spec { - description "RSVP Traffic Spec Info"; - uses RSVP-MGMT-TRAFFIC-SPEC; - } - - container generic-traffic-spec { - description "RSVP Generic Traffic Spec Info"; - uses RSVP-MGMT-GEN-TRAFFIC-SPEC; - } - - container path-flags { - description "Path Flags"; - uses RSVP-MGMT-PATH-FLAGS; - } - - container hop { - description "Path Hop Info"; - uses RSVP-MGMT-HOP-INFO; - } - - container policy-source-info { - description "Policy Sources Info"; - uses RSVP-MGMT-POLICY-SOURCES; - } - - container header { - description "RSVP Header Info"; - uses RSVP-MGMT-HEADER-INFO; - } - - container expiry-time { - description "Expiry Time"; - uses RSVP-MGMT-TIMESPEC; - } - - container policy-flags { - description "Policy Flags"; - uses RSVP-MGMT-POLICY-FLAGS; - } - - container policy-query-flags { - description "Policy Query Flags"; - uses RSVP-MGMT-POLICY-QUERY-FLAGS; - } - - container label-info { - description "Label Information"; - uses RSVP-MGMT-LABEL-INFO; - } - - container class-type { - description "DS-TE Class-Type"; - uses RSVP-MGMT-CT-INFO; - } - leaf input-interface { - type string; - description "Path Input Interface"; - } - leaf backup-tunnel-name { - type string; - description "Path Backup Tunnel"; - } - leaf is-in-ero-valid { - type boolean; - description "Incoming ERO validity"; - } - leaf is-out-ero-valid { - type boolean; - description "Outgoing ERO validity"; - } - - list pfc { - description "Path Forwarding Contexts"; - uses RSVP-PATH-FORWARDING-CONTEXT; - } - - list in-ero { - description "Incoming Explicit Route Sub Objects"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list out-ero { - description "Outgoing Explicit Route Sub Objects"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - } - - grouping RSVP-MGMT-SESSION-P2MP-LSP-TUNNEL-IPV4 { - description "RSVP P2MP-LSP-Tunnel-IPv4 Session"; - leaf p2mp-id { - type uint32; - description "The Point to Multipoint ID"; - } - leaf tunnel-id { - type uint16; - description "The Session Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "The Session Extended Tunnel ID"; - } - } - - grouping RSVP-MGMT-SESSION-UNI-IPV4 { - description "RSVP UNI IPv4 Session"; - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf tunnel-id { - type uint16; - description "The Session Tunnel ID"; - } - leaf extended-address { - type inet:ipv4-address; - description "The Session Extended Address"; - } - } - - grouping RSVP-MGMT-SESSION-LSP-TUNNEL-IPV4 { - description "RSVP LSP-Tunnel-IPv4 Session"; - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf tunnel-id { - type uint16; - description "The Session Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "The Session Extended Tunnel ID"; - } - } - - grouping RSVP-MGMT-SESSION-UDP-IPV4 { - description "RSVP UDP IPv4 Session"; - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf protocol { - type uint8; - description - "Protocol type (originally defined in RFC 790, - further values in subsequent RFCs)"; - } - leaf destination-port { - type uint16; - description "The Session Destination Port"; - } - } - - grouping RSVP-SESSION-UNION { - description "Union of the different RSVP session types"; - - container ipv4 { - when "../session-type = 'rsvp-mgmt-session-type-udp-ipv4'" { - description - "../SessionType = 'RSVPMgmtSessionTypeUDP_IPv4'"; - } - description "UDP IPv4 session"; - uses RSVP-MGMT-SESSION-UDP-IPV4; - } - - container ipv4-lsp-session { - when "../session-type = 'rsvp-mgmt-session-type-lsp-ipv4'" { - description - "../SessionType = 'RSVPMgmtSessionTypeLSP_IPv4'"; - } - description "IPv4 LSP session"; - uses RSVP-MGMT-SESSION-LSP-TUNNEL-IPV4; - } - - container ipv4-uni-session { - when "../session-type = 'rsvp-mgmt-session-type-uni-ipv4'" { - description - "../SessionType = 'RSVPMgmtSessionTypeUNI_IPv4'"; - } - description "IPv4 UNI session"; - uses RSVP-MGMT-SESSION-UNI-IPV4; - } - - container ipv4-p2mp-lsp-session { - when "../session-type ="+ - " 'rsvp-mgmt-session-type-p2mp-lsp-ipv4'" { - description - "../SessionType = - 'RSVPMgmtSessionTypeP2MP_LSP_IPv4'"; - } - description "IPv4 P2MP LSP session"; - uses RSVP-MGMT-SESSION-P2MP-LSP-TUNNEL-IPV4; - } - leaf session-type { - type Rsvp-mgmt-session; - description "SessionType"; - } - } - - grouping RSVP-MGMT-SESSION-INFO { - description "RSVP Session Info"; - - container rsvp-session { - description "RSVP Session"; - uses RSVP-SESSION-UNION; - } - } - - grouping RSVP-MGMT-SESSION-COMPACT { - description "RSVP Compact Session Info"; - - container session { - description "RSVP Session Information"; - uses RSVP-MGMT-SESSION-INFO; - } - leaf ps-bs { - type uint32; - description "Number of path state block states"; - } - leaf rs-bs { - type uint32; - description "Number of reservation state block states"; - } - leaf requests { - type uint32; - description "Number of request states"; - } - leaf detail-list-size { - type uint32; - description "Number of elements in detail list"; - } - } - - grouping RSVP-MGMT-AUTHENTICATION-COMPACT { - description "Authentication Compact Information"; - leaf source-address-xr { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination address"; - } - leaf neighbor-address { - type inet:ipv4-address; - description "Neighbor address"; - } - leaf direction { - type Rsvp-mgmt-auth-direction; - description "Direction"; - } - leaf key-type { - type Rsvp-mgmt-auth-ki; - description "Key type"; - } - leaf key-source { - type string; - description "Key source"; - } - leaf key-id { - type uint64; - description "Key ID"; - } - leaf key-id-valid { - type uint32; - description "Key validity"; - } - } - - grouping RSVP-MGMT-INTERFACE-BW-STD-DSTE { - description - "RSVP interface bandwidth info with standard based - DSTE enabled"; - leaf allocated-bit-rate { - type uint64; - units "bit/s"; - description "Bandwidth (bits per second) now allocated"; - } - leaf max-flow-bandwidth { - type uint64; - units "bit/s"; - description - "Max bandwidth (bits per second) allowed per flow"; - } - leaf max-bandwidth { - type uint64; - units "bit/s"; - description "Max bandwidth (bits per second) allowed"; - } - leaf max-pool0-bandwidth { - type uint64; - units "bit/s"; - description - "Max bandwidth (bits per second) allowed in BC0 - pool"; - } - leaf max-pool1-bandwidth { - type uint64; - units "bit/s"; - description - "Max bandwidth (bits per second) allowed in BC1 - pool"; - } - leaf is-max-bandwidth-absolute { - type boolean; - description - "True if the Max B/W is an absolute value and - false if its a percentage"; - } - leaf is-max-bc0-bandwidth-absolute { - type boolean; - description - "True if the Max BC0 B/W is an absolute value and - false if its a percentage"; - } - leaf is-max-bc1-bandwidth-absolute { - type boolean; - description - "True if the Max BC1 sub-pool B/W is an absolute - value and false if its a percentage"; - } - } - - grouping RSVP-MGMT-INTERFACE-BW-PRESTD-DSTE { - description "Prestandard DSTE interface bandwidth information"; - leaf allocated-bit-rate { - type uint64; - units "bit/s"; - description "Bandwidth (bits per second) now allocated"; - } - leaf max-flow-bandwidth { - type uint64; - units "bit/s"; - description - "Max bandwidth (bits per second) allowed per flow"; - } - leaf max-bandwidth { - type uint64; - units "bit/s"; - description "Max bandwidth (bits per second) allowed"; - } - leaf max-subpool-bandwidth { - type uint64; - units "bit/s"; - description - "Max bandwidth (bits per second) allowed in - subpool"; - } - leaf is-max-bandwidth-absolute { - type boolean; - description - "True if the Max B/W is an absolute value and - false if its a percentage"; - } - leaf is-max-subpool-bandwidth-absolute { - type boolean; - description - "True if the Max sub-pool B/W is an absolute - value and false if its a percentage"; - } - } - - grouping RSVP-MGMT-DSTE-MODE-INTERFACE-BW { - description - "Union of the different RSVP interface bandwidth - types"; - - container pre-standard-dste-interface { - when "../dste-mode = 'pre-standard'" { - description "../DSTEMode = 'PreStandard'"; - } - description "Prestandard DSTE interface information"; - uses RSVP-MGMT-INTERFACE-BW-PRESTD-DSTE; - } - - container standard-dste-interface { - when "../dste-mode = 'standard'" { - description "../DSTEMode = 'Standard'"; - } - description "Standard DSTE interface information"; - uses RSVP-MGMT-INTERFACE-BW-STD-DSTE; - } - leaf dste-mode { - type Rsvp-mgmt-dste-modes; - description "DSTEMode"; - } - } - - grouping RSVP-MGMT-INTERFACE-SUMMARY { - description "Summary Form of RSVP interface Info"; - - container bandwidth-information { - description "Interface bandwidth information"; - uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; - } - leaf interface-name-xr { - type string; - description "Interface Name"; - } - leaf paths-in { - type uint32; - description - "Number of locally created and incoming path - states"; - } - leaf paths-out { - type uint32; - description "Number of outgoing path states"; - } - leaf reservations-in { - type uint32; - description - "Number of locally created and incoming - reservation states"; - } - leaf reservations-out { - type uint32; - description "Number of outgoing reservation states"; - } - } - - grouping RSVP-MGMT-IF-NBR-COMPACT { - description "Compact Info for RSVP Interface Neighbor"; - leaf interface-neighbor-address { - type inet:ipv4-address; - description "Interface Neighbor address"; - } - leaf neighbor-interface-name { - type xr:Interface-name; - description "Neighbor's Interface handle"; - } - } - - grouping RSVP-MGMT-NBR-COMPACT { - description "Compact Info for RSVP Neighbor"; - leaf node-address { - type inet:ipv4-address; - description "Neighbor node address"; - } - - list interface-neighbor-list-compact { - description "Compact list of I/F Neighbors"; - uses RSVP-MGMT-IF-NBR-COMPACT; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang deleted file mode 100644 index 490f341..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang +++ /dev/null @@ -1,230 +0,0 @@ -submodule Cisco-IOS-XR-ip-rsvp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ip-rsvp-oper { - prefix Cisco-IOS-XR-ip-rsvp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-rsvp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MPLS-RSVP-INTERFACE-COUNTERS { - description "MPLS RSVP interface counters"; - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf in-path-messages { - type uint64; - description "Per interface count of path messages received"; - } - leaf in-path-error-messages { - type uint64; - description - "Per interface count of path error messages - received"; - } - leaf in-path-tear-messages { - type uint64; - description - "Per interface count of path tear messages - received"; - } - leaf in-reservation-messages { - type uint64; - description - "Per interface count of reservation messages - received"; - } - leaf in-reservation-error-messages { - type uint64; - description - "Per interface count of reservation error - messages received"; - } - leaf in-reservation-tear-messages { - type uint64; - description - "Per interface count of reservation tear messages - received"; - } - leaf in-hello-messages { - type uint64; - description "Per interface count of hello messages received"; - } - leaf in-srefresh-messages { - type uint64; - description - "Per interface count of srefresh messages - received"; - } - leaf in-ack-messages { - type uint64; - description "Per interface count of ack messages received"; - } - leaf out-path-messages { - type uint64; - description "Per interface count of path messages send"; - } - leaf out-path-error-messages { - type uint64; - description "Per interface count of path error messages send"; - } - leaf out-path-tear-messages { - type uint64; - description "Per interface count of path tear messages send"; - } - leaf out-reservation-messages { - type uint64; - description - "Per interface count of reservation messages send"; - } - leaf out-reservation-error-messages { - type uint64; - description - "Per interface count of reservation error - messages send"; - } - leaf out-reservation-tear-messages { - type uint64; - description - "Per interface count of reservation tear messages - send"; - } - leaf out-hello-messages { - type uint64; - description "Per interface count of hello messages send"; - } - leaf out-srefresh-messages { - type uint64; - description "Per interface count of srefresh messages send"; - } - leaf out-ack-messages { - type uint64; - description "Per interface count of ack messages send"; - } - } - - grouping MPLS-RSVP-GLOBAL-COUNTERS { - description "MPLS RSVP global counters"; - leaf path-timeouts { - type uint64; - description "Global count of Path Timeouts"; - } - leaf reservation-timeouts { - type uint64; - description "Global count of reservation timeouts"; - } - leaf rate-limited-messages { - type uint64; - description "Global count of rate limited messages"; - } - leaf in-path-messages { - type uint64; - description "Global count of path messages received"; - } - leaf in-path-error-messages { - type uint64; - description "Global count of path error messages received"; - } - leaf in-path-tear-messages { - type uint64; - description "Global count of path tear messages received"; - } - leaf in-reservation-messages { - type uint64; - description "Global count of reservation messages received"; - } - leaf in-reservation-error-messages { - type uint64; - description - "Global count of reservation error messages - received"; - } - leaf in-reservation-tear-messages { - type uint64; - description - "Global count of reservation tear messages - received"; - } - leaf in-hello-messages { - type uint64; - description "Global count of hello messages received"; - } - leaf in-srefresh-messages { - type uint64; - description "Global count of srefresh messages received"; - } - leaf in-ack-messages { - type uint64; - description "Global count of ack messages received"; - } - leaf out-path-messages { - type uint64; - description "Global count of path messages send"; - } - leaf out-path-error-messages { - type uint64; - description "Global count of path error messages send"; - } - leaf out-path-tear-messages { - type uint64; - description "Global count of path tear messages send"; - } - leaf out-reservation-messages { - type uint64; - description "Global count of reservation messages send"; - } - leaf out-reservation-error-messages { - type uint64; - description "Global count of reservation error messages send"; - } - leaf out-reservation-tear-messages { - type uint64; - description "Global count of reservation tear messages send"; - } - leaf out-hello-messages { - type uint64; - description "Global count of hello messages send"; - } - leaf out-srefresh-messages { - type uint64; - description "Global count of srefresh messages send"; - } - leaf out-ack-messages { - type uint64; - description "Global count of ack messages send"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper.yang deleted file mode 100644 index 4cadba3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-rsvp-oper.yang +++ /dev/null @@ -1,1374 +0,0 @@ -module Cisco-IOS-XR-ip-rsvp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper"; - - - prefix "ip-rsvp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-rsvp-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ip-rsvp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-rsvp package operational data. - - This module contains definitions - for the following management objects: - rsvp-standby: RSVP operational data for standby role - rsvp: rsvp - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Rsvp-mode { - type enumeration { - enum send { - value 0; - description "Send"; - } - enum receive { - value 1; - description "Receive"; - } - } - description "Rsvp mode"; - } - typedef Rsvp-session { - type enumeration { - enum ipv4 { - value 1; - description "Show IPv4 sessions only"; - } - enum p2p-lsp-ipv4 { - value 7; - description "Show IPv4 P2P LSP sessions only"; - } - enum ouni-ipv4 { - value 9; - description "Show IPv4 OUNI sessions only"; - } - enum p2mp-lsp-ipv4 { - value 13; - description "Show IPv4 P2MP LSP sessions only"; - } - } - description "Rsvp session"; - } - - grouping INTERFACE-NEIGHBOR-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container interface-neighbor-details { - description "Table of detailed info about I/F neighbors"; - - list interface-neighbor-detail { - key "neighbor-address"; - description "Detailed info for a single interface neighbor"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Address of global neighbor"; - } - uses RSVP-MGMT-NBR-DETAIL; - } - } - } - - grouping COUNTERS { - description "Common node of rsvp, rsvp-standby"; - - container counters { - description "Counters"; - - container interface-messages { - description "Table of message counters"; - - list interface-message { - key "interface-name"; - description "Interface message counters"; - leaf interface-name { - type xr:Interface-name; - description - "Interface Name. 'None' is used internally - where the true interface is unknown (e.g. for - routed packets)"; - } - uses RSVP-MGMT-COUNT-MESSAGE; - } - } - - container message-summary { - description - "Summary information for all RSVP message - counters"; - uses RSVP-MGMT-COUNT-MESSAGE; - } - - container prefix-filtering { - description "Prefix filtering counters"; - - container accesses { - description - "AccessList specific prefix filtering counters"; - - list access { - key "access-list-name"; - description - "Prefix filtering counters for a specific - AccessList"; - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "AccessList Name"; - } - uses RSVP-MGMT-COUNT-PREFIX-ACL-INFO; - } - } - - container interfaces { - description - "Interface specific prefix filtering counters"; - - container summary { - description - "Summary of prefix filtering counts for all - interfaces"; - uses RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO; - } - - container interfaces { - description - "Table of interface specific prefix filtering - counters"; - - list interface { - key "interface-name"; - description - "Prefix filtering counters for a specific - interface"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description - "Interface Name. 'None' is used internally - where the true interface is unknown (e.g. - for routed packets)"; - } - uses RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO; - } - } - } - } - - container out-of-resource { - description "Out of resource counters"; - - container interfaces { - description "Interface specific out of resource counters"; - - container summary { - description - "Summary of out of resource counts for all - interfaces"; - uses RSVP-MGMT-COUNTERS-OOR; - } - - container interfaces { - description - "Table of interface specific out of resource - counters"; - - list interface { - key "interface-name"; - description - "Out of resource counters for a specific - interface"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description - "Interface Name. 'None' is used internally - where the true interface is unknown (e.g. - for routed packets)"; - } - uses RSVP-MGMT-COUNTERS-OOR; - } - } - } - } - - container interface-events { - description "Event counters"; - - list interface-event { - key "interface-name"; - description "Event counters for an interface"; - leaf interface-name { - type xr:Interface-name; - description - "Interface Name. 'None' is used internally - where the true interface is unknown (e.g. for - routed packets)"; - } - uses RSVP-MGMT-EVENT-COUNT-INFO; - } - } - - container nsr { - description "Summary information for all RSVP NSR counters"; - uses RSVP-SYNC-COUNT-INFO; - } - - container issu { - description - "Summary information for all RSVP ISSU counters"; - uses RSVP-SYNC-COUNT-INFO; - } - - container database { - description - "Summary information for all RSVP database - counters"; - uses RSVP-MGMT-ALL-DB-COUNTERS; - } - - container event-syncs { - description "Table containing event sync counters"; - - list event-sync { - key "interface-name"; - description "Event sync counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses RSVP-MGMT-EVENT-COUNT-INFO; - } - } - } - } - - grouping HELLO-INTERFACE-INSTANCE-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container hello-interface-instance-details { - description - "Table of detailed info about i/f-based hello - instances"; - - list hello-interface-instance-detail { - key "source-address destination-address"; - description - "Detailed info for a single interface-based - hello instance"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - uses RSVP-MGMT-HELLO-IF-INSTANCE-DETAIL; - } - } - } - - grouping AUTHENTICATION-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container authentication-briefs { - description "Table for Authentication related information"; - - list authentication-brief { - key "source-address destination-address mode-id"+ - " interface-name"; - description "Brief Authentication information"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf mode-id { - type Rsvp-mode; - description "Mode (Tx or Rx)"; - } - leaf interface-name { - type xr:Interface-name; - description "InterfaceName"; - } - uses RSVP-MGMT-AUTHENTICATION-COMPACT; - } - } - } - - grouping REQUEST-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container request-details { - description "Table of detail info about requests"; - - list request-detail { - description "Detail info for a request"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port"; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-REQUEST-DETAIL; - } - } - } - - grouping RSB-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container rsb-briefs { - description - "Table of brief info about reservation state - blocks"; - - list rsb-brief { - description - "Brief info for a single reservation state block"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port "; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-RESERVATION-COMPACT; - } - } - } - - grouping OPEN-CONFIG { - description "Common node of rsvp, rsvp-standby"; - - container open-config { - description "OpenConfig info"; - - container global-counters { - description "Platform wide RSVP statistics and counters"; - uses MPLS-RSVP-GLOBAL-COUNTERS; - } - - container interface-counters { - description - "Table of info about RSVP-enabled interface - counters for OpenConfig"; - - list interface-counter { - key "interface-name"; - description - "Info about an RSVP-enabled interface counters"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-RSVP-INTERFACE-COUNTERS; - } - } - } - } - - grouping REQUEST-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container request-briefs { - description "Table of brief info about requests"; - - list request-brief { - description "Brief info for a request"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port"; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-REQUEST-COMPACT; - } - } - } - - grouping HELLO-INTERFACE-INSTANCE-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container hello-interface-instance-briefs { - description - "Table of brief info about i/f-based hello - instances"; - - list hello-interface-instance-brief { - key "source-address destination-address"; - description - "Brief info for a single interface-based hello - instance"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - uses RSVP-MGMT-HELLO-IF-INSTANCE-COMPACT; - } - } - } - - grouping INTERFACE-NEIGHBOR-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container interface-neighbor-briefs { - description "Table of brief info about I/F neighbors"; - - list interface-neighbor-brief { - key "neighbor-address"; - description "Brief info for a single interface neighbor"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Address of global neighbor"; - } - uses RSVP-MGMT-NBR-COMPACT; - } - } - } - - grouping PSB-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container psb-briefs { - description "Table of brief info about path state blocks"; - - list psb-brief { - description "Brief info for a single path state block"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port "; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-PATH-COMPACT; - } - } - } - - grouping GLOBAL-NEIGHBOR-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container global-neighbor-briefs { - description "Table of brief info about global neighbors"; - - list global-neighbor-brief { - key "neighbor-address"; - description "Brief info for a single global neighbor"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Address of global neighbor"; - } - uses RSVP-MGMT-GLBL-NBR-COMPACT; - } - } - } - - grouping SESSION-DETAILED-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container session-detaileds { - description "Table of detailed info about sessions"; - - list session-detailed { - description "Detailed info about session"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-SESSION-DETAIL; - } - } - } - - grouping AUTHENTICATION-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container authentication-details { - description - "Table for detailed authentication related - information"; - - list authentication-detail { - key "source-address destination-address mode-id"+ - " interface-name"; - description "Brief Authentication information"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf mode-id { - type Rsvp-mode; - description "Mode (Tx or Rx)"; - } - leaf interface-name { - type xr:Interface-name; - description "InterfaceName"; - } - uses RSVP-MGMT-AUTHENTICATION-DETAIL; - } - } - } - - grouping GLOBAL-NEIGHBOR-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container global-neighbor-details { - description "Table of detailed info about global neighbors"; - - list global-neighbor-detail { - key "neighbor-address"; - description "Detail info for a single global neighbor"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Address of global neighbor"; - } - uses RSVP-MGMT-GLBL-NBR-DETAIL; - } - } - } - - grouping INTERFACE-SUMMARY-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container interface-summaries { - description - "Table of summary info about RSVP-enabled - interfaces"; - - list interface-summary { - key "interface-name"; - description "Summary info about an RSVP-enabled interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses RSVP-MGMT-INTERFACE-SUMMARY; - } - } - } - - grouping INTERFACE-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container interface-briefs { - description - "Table of brief info about RSVP-enabled - interfaces"; - - list interface-brief { - key "interface-name"; - description "Brief info about an RSVP-enabled interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses RSVP-MGMT-INTERFACE-COMPACT; - } - } - } - - grouping HELLO-INSTANCE-DETAIL-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container hello-instance-details { - description "Table of detailed info about hello instances"; - - list hello-instance-detail { - key "source-address destination-address"; - description "Detailed info for a single hello instance"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - uses RSVP-MGMT-HELLO-INSTANCE-DETAIL; - } - } - } - - grouping SUMMARY { - description "Common node of rsvp, rsvp-standby"; - - container summary { - description "RSVP summary information"; - uses RSVP-GLOBAL-INFO; - } - } - - grouping PSB-DETAILED-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container psb-detaileds { - description "Table of detailed info about path state blocks"; - - list psb-detailed { - description "Detailed info for a single path state block"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port "; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-PATH-DETAIL; - } - } - } - - grouping NSR { - description "Common node of rsvp, rsvp-standby"; - - container nsr { - description "RSVP NSR information"; - - container status { - description "RSVP NSR status information"; - uses RSVP-NSR-ISSU-STATUS-INFO; - } - } - } - - grouping GRACEFUL-RESTART { - description "Common node of rsvp, rsvp-standby"; - - container graceful-restart { - description "Info about graceful-restart"; - uses RSVP-MGMT-GRACEFUL-RESTART; - } - } - - grouping FRR-SUMMARY { - description "Common node of rsvp, rsvp-standby"; - - container frr-summary { - description "Fast Re-Route Summary State Information"; - uses RSVP-MGMT-FRR-STATES-COMPACT; - } - } - - grouping RSB-DETAILED-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container rsb-detaileds { - description - "Table of detailed info about reservation state - blocks"; - - list rsb-detailed { - description - "Detailed info for a single reservation state - block"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port "; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-RESERVATION-DETAIL; - } - } - } - - grouping HELLO-INSTANCE-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container hello-instance-briefs { - description "Table of brief info about hello instances"; - - list hello-instance-brief { - key "source-address destination-address"; - description "Brief info for a single hello instance"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - uses RSVP-MGMT-HELLO-INSTANCE-COMPACT; - } - } - } - - grouping FRR-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container frrs { - description - "Table of detailed info about Fast Re-route - states"; - - list frr { - description - "Detailed info for a single Fast Re-route state"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port"; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-FRR-STATES-DETAIL; - } - } - } - - grouping CONTROLLER-SUMMARY-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container controller-summaries { - description - "Table of summary info about RSVP-enabled - controllers"; - - list controller-summary { - key "controller-name"; - description "Summary info about an RSVP-enabled controller"; - leaf controller-name { - type xr:Interface-name; - description "Controller Name"; - } - uses RSVP-MGMT-INTERFACE-SUMMARY; - } - } - } - - grouping SESSION-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container session-briefs { - description "Table of brief info about sessions"; - - list session-brief { - description "Brief info about session"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-SESSION-COMPACT; - } - } - } - - grouping INTERFACE-DETAILED-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container interface-detaileds { - description - "Table of detailed info about RSVP-enabled - interfaces"; - - list interface-detailed { - key "interface-name"; - description "Detailed info about an RSVP-enabled interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses RSVP-MGMT-INTERFACE-DETAIL; - } - } - } - - grouping CONTROLLER-BRIEF-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container controller-briefs { - description - "Table of brief info about RSVP-enabled - controller"; - - list controller-brief { - key "controller-name"; - description "Brief info about an RSVP-enabled controller"; - leaf controller-name { - type xr:Interface-name; - description "Controller Name"; - } - uses RSVP-MGMT-INTERFACE-COMPACT; - } - } - } - - grouping CONTROLLER-DETAILED-TABLE { - description "Common node of rsvp, rsvp-standby"; - - container controller-detaileds { - description - "Table of detailed info about RSVP-enabled - controllers"; - - list controller-detailed { - key "controller-name"; - description - "Detailed info about an RSVP-enabled controller"; - leaf controller-name { - type xr:Interface-name; - description "Controller Name"; - } - uses RSVP-MGMT-INTERFACE-DETAIL; - } - } - } - - container rsvp-standby { - config false; - description "RSVP operational data for standby role"; - uses INTERFACE-NEIGHBOR-BRIEF-TABLE; - uses CONTROLLER-SUMMARY-TABLE; - uses AUTHENTICATION-BRIEF-TABLE; - uses SESSION-BRIEF-TABLE; - uses PSB-DETAILED-TABLE; - uses CONTROLLER-DETAILED-TABLE; - uses FRR-SUMMARY; - uses RSB-DETAILED-TABLE; - uses INTERFACE-SUMMARY-TABLE; - uses HELLO-INSTANCE-BRIEF-TABLE; - uses AUTHENTICATION-DETAIL-TABLE; - uses RSB-BRIEF-TABLE; - uses OPEN-CONFIG; - uses COUNTERS; - uses INTERFACE-DETAILED-TABLE; - uses CONTROLLER-BRIEF-TABLE; - uses GRACEFUL-RESTART; - uses HELLO-INTERFACE-INSTANCE-BRIEF-TABLE; - uses HELLO-INTERFACE-INSTANCE-DETAIL-TABLE; - uses INTERFACE-NEIGHBOR-DETAIL-TABLE; - uses NSR; - uses SUMMARY; - uses FRR-TABLE; - uses REQUEST-BRIEF-TABLE; - uses REQUEST-DETAIL-TABLE; - uses INTERFACE-BRIEF-TABLE; - uses SESSION-DETAILED-TABLE; - uses HELLO-INSTANCE-DETAIL-TABLE; - uses GLOBAL-NEIGHBOR-DETAIL-TABLE; - uses PSB-BRIEF-TABLE; - uses GLOBAL-NEIGHBOR-BRIEF-TABLE; - } - - container rsvp { - config false; - description "rsvp"; - - container issu { - description "RSVP ISSU information"; - - container status { - description "RSVP ISSU status information"; - uses RSVP-NSR-ISSU-STATUS-INFO; - } - } - - container bw-pool-info { - description "All B/W Pool info"; - uses RSVP-MGMT-GLBL-BW-POOL-INFO; - } - - container pxsb-details { - description "Table of detailed PXSB info"; - - list pxsb-detail { - description "Detailed PXSB info"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port"; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-PXSB-DETAIL; - } - } - - container rxsb-details { - description "Table of detailed RXSB info"; - - list rxsb-detail { - description "Detailed RXSB info"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf destination-port { - type int32; - description "Destination Port"; - } - leaf protocol { - type int32; - description "Protocol"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf session-type { - type Rsvp-session; - description "Session Type"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf source-port { - type int32; - description "Source Port"; - } - leaf sub-group-origin { - type inet:ipv4-address-no-zone; - description "Subgroup Origin"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses RSVP-MGMT-RXSB-DETAIL; - } - } - uses INTERFACE-NEIGHBOR-BRIEF-TABLE; - uses CONTROLLER-SUMMARY-TABLE; - uses AUTHENTICATION-BRIEF-TABLE; - uses SESSION-BRIEF-TABLE; - uses PSB-DETAILED-TABLE; - uses CONTROLLER-DETAILED-TABLE; - uses FRR-SUMMARY; - uses RSB-DETAILED-TABLE; - uses INTERFACE-SUMMARY-TABLE; - uses HELLO-INSTANCE-BRIEF-TABLE; - uses AUTHENTICATION-DETAIL-TABLE; - uses RSB-BRIEF-TABLE; - uses OPEN-CONFIG; - uses COUNTERS; - uses INTERFACE-DETAILED-TABLE; - uses CONTROLLER-BRIEF-TABLE; - uses GRACEFUL-RESTART; - uses HELLO-INTERFACE-INSTANCE-BRIEF-TABLE; - uses HELLO-INTERFACE-INSTANCE-DETAIL-TABLE; - uses INTERFACE-NEIGHBOR-DETAIL-TABLE; - uses NSR; - uses SUMMARY; - uses FRR-TABLE; - uses REQUEST-BRIEF-TABLE; - uses REQUEST-DETAIL-TABLE; - uses INTERFACE-BRIEF-TABLE; - uses SESSION-DETAILED-TABLE; - uses HELLO-INSTANCE-DETAIL-TABLE; - uses GLOBAL-NEIGHBOR-DETAIL-TABLE; - uses PSB-BRIEF-TABLE; - uses GLOBAL-NEIGHBOR-BRIEF-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-cfg.yang deleted file mode 100644 index 8762664..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-cfg.yang +++ /dev/null @@ -1,168 +0,0 @@ -module Cisco-IOS-XR-ip-sbfd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg"; - - - prefix "ip-sbfd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-sbfd package configuration. - - This module contains definitions - for the following management objects: - sbfd: SBFD Configuration ,Seamless-BFD is method for detecting - faultsbetween two different nodes in a network - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping REMOTE-DISCRIMINATOR { - description "Common node of ipv4-address, ipv6-address"; - - list remote-discriminator { - key "remote-discriminator"; - description "Remote Discriminator value"; - leaf remote-discriminator { - type uint32 { - range "1..4294967295"; - } - description "Remote Discriminator Value"; - } - } - } - - container sbfd { - description - "SBFD Configuration ,Seamless-BFD is method for - detecting faultsbetween two different nodes in a - network"; - - container remote-target { - description "configure remote target"; - - container ipv4-addresses { - description "ipv4 address as target"; - - list ipv4-address { - key "address"; - description - "IP Address Value for RemoteDiscriminatorTable"; - leaf address { - type inet:ipv4-address-no-zone; - description " IPv4 address"; - } - uses REMOTE-DISCRIMINATOR; - } - } - - container ipv6-addresses { - description "ipv6 address as target"; - - list ipv6-address { - key "address"; - description - "IP Address Value for RemoteDiscriminatorTable"; - leaf address { - type inet:ipv6-address-no-zone; - description " IPv6 adddress"; - } - uses REMOTE-DISCRIMINATOR; - } - } - } - - container local-discriminator { - description "Configure local discriminator"; - - container intf-discriminators { - description - "Configure local discriminator from interface - address"; - - list intf-discriminator { - key "interface-name"; - description "interface address as discriminator"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container dynamic-discriminators { - description "Configure local discriminator dynamically"; - - list dynamic-discriminator { - key "discriminator"; - description "Local discriminator value"; - leaf discriminator { - type uint32 { - range "0..1"; - } - description "Dynamic discriminator value"; - } - } - } - - container ipv4-discriminators { - description - "Configure local discriminator as an ipv4 - address"; - - list ipv4-discriminator { - key "address"; - description "ipv4 address as discriminator"; - leaf address { - type inet:ip-address-no-zone; - description " IPv4 address"; - } - } - } - - container val32-discriminators { - description "Configure local discriminator as an integer"; - - list val32-discriminator { - key "discriminator"; - description "Local discriminator value"; - leaf discriminator { - type uint32 { - range "1..4294967295"; - } - description "Local discriminator value"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang deleted file mode 100644 index 547ddfc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang +++ /dev/null @@ -1,162 +0,0 @@ -submodule Cisco-IOS-XR-ip-sbfd-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-sbfd-oper { - prefix Cisco-IOS-XR-ip-sbfd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-sbfd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bfd-discr { - type uint32; - description "Bfd discr"; - } - typedef Bfd-in6-addr { - type inet:ipv6-address; - description "Bfd in6 addr"; - } - typedef Bfd-in-addr { - type inet:ipv4-address; - description "Bfd in addr"; - } - typedef Bfd-af-id { - type enumeration { - enum bfd-af-id-none { - value 0; - description "No Address"; - } - enum bfd-af-id-ipv4 { - value 2; - description "IPv4 AFI"; - } - enum bfd-af-id-ipv6 { - value 10; - description "IPv6 AFI"; - } - } - description "Bfd af id"; - } - typedef Sbfd-address-family { - type enumeration { - enum ipv4 { - value 1; - description "ipv4"; - } - enum ipv6 { - value 2; - description "ipv6"; - } - } - description "Sbfd address family"; - } - - grouping BFD-MGMT-TGT-IDENTIFIER-LOCAL { - description "SBFD Target Identifier Table"; - leaf discr { - type uint32; - description "Local discriminator"; - } - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - leaf flags { - type string; - description "MODE name"; - } - leaf status { - type string; - description "Status"; - } - leaf discr-src { - type string; - description "Discriminator source name"; - } - } - - grouping IP-ADDR-T-UNION { - description "IP ADDR T UNION"; - leaf afi { - type Bfd-af-id; - description "AFI"; - } - leaf dummy { - when "../afi = 'bfd-af-id-none'" { - description "../AFI = 'BFD_AF_ID_NONE'"; - } - type uint8; - description "No Address"; - } - leaf ipv4 { - when "../afi = 'bfd-af-id-ipv4'" { - description "../AFI = 'BFD_AF_ID_IPV4'"; - } - type Bfd-in-addr; - description "IPv4 address type"; - } - leaf ipv6 { - when "../afi = 'bfd-af-id-ipv6'" { - description "../AFI = 'BFD_AF_ID_IPV6'"; - } - type Bfd-in6-addr; - description "IPv6 address type"; - } - } - - grouping BFD-MGMT-TGT-IDENTIFIER-REMOTE { - description "SBFD Target Identifier Table"; - - container ip-address { - description "IP address"; - uses IP-ADDR-T-UNION; - } - leaf tid-type { - type Sbfd-address-family; - description "Target identifier for sbfd"; - } - leaf discr { - type Bfd-discr; - description "Remote discriminator"; - } - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - leaf status { - type string; - description "Status"; - } - leaf discr-src { - type string; - description "Discriminator source name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper.yang deleted file mode 100644 index 5ca132e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-sbfd-oper.yang +++ /dev/null @@ -1,116 +0,0 @@ -module Cisco-IOS-XR-ip-sbfd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper"; - - - prefix "ip-sbfd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-sbfd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-sbfd package operational data. - - This module contains definitions - for the following management objects: - sbfd: Seamless BFD (S-BFD) operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container sbfd { - config false; - description "Seamless BFD (S-BFD) operational data"; - - container target-identifier { - description "Target-identifier information"; - - container remote-vrfs { - description "SBFD remote discriminator data"; - - list remote-vrf { - key "vrf-name"; - description "Table of remote discriminator data per VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - - list remote-discriminator { - description "SBFD remote discriminator "; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name "; - } - leaf remote-discriminator { - type int32; - description "Remote Discriminator"; - } - leaf address { - type inet:ip-address-no-zone; - description "Address"; - } - uses BFD-MGMT-TGT-IDENTIFIER-REMOTE; - } - } - } - - container local-vrfs { - description "SBFD local discriminator data"; - - list local-vrf { - key "vrf-name"; - description "Table of local discriminator data per VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - - list local-discriminator { - description "SBFD local discriminator "; - leaf local-discriminator { - type int32; - description "Local discriminator"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name "; - } - uses BFD-MGMT-TGT-IDENTIFIER-LOCAL; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-static-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-static-cfg.yang deleted file mode 100644 index 66975c5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-static-cfg.yang +++ /dev/null @@ -1,437 +0,0 @@ -module Cisco-IOS-XR-ip-static-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg"; - - - prefix "ip-static-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-static package configuration. - - This module contains definitions - for the following management objects: - router-static: This class represents router static - configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-09-10" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping VRF-ROUTE { - description "Common node of vrf-prefix, vrf-prefix-topology"; - - container vrf-route { - description "A connected or recursive static route"; - - container vrf-next-hop-table { - description - "The set of nexthop information configured for - this route"; - uses VRF-NEXT-HOP; - } - } - } - - grouping VRF-NEXT-HOP { - description - "Common node of vrf-next-hop-table, - vrf-recursive-next-hop-table, - segment-route-next-hop-table"; - - grouping VRF-NEXT-HOP-CONTENT { - description "VRF NEXT HOP CONTENT"; - leaf bfd-fast-detect { - type boolean; - default "false"; - description "If set, bfd is enabled"; - } - leaf minimum-interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - default "100"; - description "BFD Hello interval in milliseconds"; - } - leaf detect-multiplier { - type uint32 { - range "1..10"; - } - default "3"; - description "BFD Detect Multiplier"; - } - leaf metric { - type uint32 { - range "1..254"; - } - default "1"; - description "Distance metric for this path"; - } - leaf tag { - type uint32 { - range "1..4294967295"; - } - description "Tag for this path"; - } - leaf permanent { - type boolean; - default "false"; - description "If set, path is permanent"; - } - leaf vrf-lable { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "VRF LABEL"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - default "0"; - description "Tunnel ID for this path"; - } - leaf object-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the object to track"; - } - leaf description { - type string; - description "Short Description of Static Route"; - } - leaf load-metric { - type uint32 { - range "1..16777214"; - } - default "1"; - description "UCMP load metric"; - } - leaf index { - type string; - description "Nexthop Identifier for OC Yang model"; - } - } - - list vrf-next-hop-interface-name { - key "interface-name"; - description - "A forwarding interface or Segement Routing mpls - path name and/or the address of a nexthop router - for this route (one of these must be specified)"; - leaf interface-name { - type xr:Interface-name; - description "Forwarding interface"; - } - uses VRF-NEXT-HOP-CONTENT; - } - - list vrf-next-hop-interface-name-next-hop-address { - key "interface-name next-hop-address"; - description - "A forwarding interface or Segement Routing mpls - path name and/or the address of a nexthop router - for this route (one of these must be specified)"; - leaf interface-name { - type xr:Interface-name; - description "Forwarding interface"; - } - leaf next-hop-address { - type inet:ip-address-no-zone; - description "Next hop address"; - } - uses VRF-NEXT-HOP-CONTENT; - } - - list vrf-next-hop-next-hop-address { - key "next-hop-address"; - description - "A forwarding interface or Segement Routing mpls - path name and/or the address of a nexthop router - for this route (one of these must be specified)"; - leaf next-hop-address { - type inet:ip-address-no-zone; - description "Next hop address"; - } - uses VRF-NEXT-HOP-CONTENT; - } - - list vrf-next-hop-next-hop-address-explicit-path-name { - key "next-hop-address explicit-path-name"; - description - "A forwarding interface or Segement Routing mpls - path name and/or the address of a nexthop router - for this route (one of these must be specified)"; - leaf next-hop-address { - type inet:ip-address-no-zone; - description "Next hop address"; - } - leaf explicit-path-name { - type xr:Cisco-ios-xr-string; - description "Segment Routing mpls path name"; - } - uses VRF-NEXT-HOP-CONTENT; - } - - list vrf-next-hop-explicit-path-name { - key "explicit-path-name"; - description - "A forwarding interface or Segement Routing mpls - path name and/or the address of a nexthop router - for this route (one of these must be specified)"; - leaf explicit-path-name { - type xr:Cisco-ios-xr-string; - description "Segment Routing mpls path name"; - } - uses VRF-NEXT-HOP-CONTENT; - } - } - - grouping VRF-SEG-ROUTE { - description "Common node of vrf-prefix, vrf-prefix-topology"; - - container vrf-seg-route { - description "A static segment route"; - - container segment-route-next-hop-table { - description - "The set of nexthop information configured for - this route"; - uses VRF-NEXT-HOP; - } - } - } - - grouping VRF-RECURSE-ROUTE-TABLE { - description "Common node of vrf-prefix, vrf-prefix-topology"; - - container vrf-recurse-routes { - description "A recursive next VRF static route"; - - list vrf-recurse-route { - key "vrf-name"; - description "A recursive next vrf static route"; - - container vrf-recursive-next-hop-table { - description - "The set of nexthop information configured for - this route"; - uses VRF-NEXT-HOP; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Fallback or recusive VRF name"; - } - } - } - } - - grouping TOPOLOGY-TABLE { - description "Common node of vrf-unicast, vrf-multicast"; - - container topologies { - description "Topology static configuration container"; - - list topology { - key "topology-name"; - description "Topology static configuration"; - leaf topology-name { - type xr:Cisco-ios-xr-string; - description "Topology name"; - } - uses VRF-PREFIX-TOPOLOGY-TABLE; - } - } - } - - grouping VRF-PREFIX-TABLE { - description "Common node of vrf-unicast, vrf-multicast"; - - container vrf-prefixes { - description "The set of all Static Topologies for this AFI."; - - list vrf-prefix { - key "prefix prefix-length"; - description "A static route"; - leaf prefix { - type inet:ip-address-no-zone; - description "Destination prefix"; - } - leaf prefix-length { - type uint32 { - range "0..128"; - } - description "Destination prefix length"; - } - uses VRF-ROUTE; - uses VRF-RECURSE-ROUTE-TABLE; - uses VRF-SEG-ROUTE; - } - } - } - - grouping ADDRESS-FAMILY { - description "Common node of default-vrf, vrf"; - - container address-family { - description "Address family configuration"; - - container vrfipv4 { - description "IPv4 static configuration"; - uses VRF-UNICAST; - uses VRF-MULTICAST; - } - - container vrfipv6 { - description "IPv6 static configuration"; - uses VRF-UNICAST; - uses VRF-MULTICAST; - } - } - } - - grouping VRF-PREFIX-TOPOLOGY-TABLE { - description "Common node of default-topology, topology"; - - container vrf-prefix-topologies { - description "The set of all Static Topologies for this AFI."; - - list vrf-prefix-topology { - key "prefix prefix-length"; - description "A static route"; - leaf prefix { - type inet:ip-address-no-zone; - description "Destination prefix"; - } - leaf prefix-length { - type uint32 { - range "0..128"; - } - description "Destination prefix length"; - } - uses VRF-ROUTE; - uses VRF-RECURSE-ROUTE-TABLE; - uses VRF-SEG-ROUTE; - } - } - } - - grouping DEFAULT-TOPOLOGY { - description "Common node of vrf-unicast, vrf-multicast"; - - container default-topology { - description "Default topology configuration"; - uses VRF-PREFIX-TOPOLOGY-TABLE; - } - } - - grouping VRF-UNICAST { - description "Common node of vrfipv4, vrfipv6"; - - container vrf-unicast { - description "Unicast static configuration"; - uses TOPOLOGY-TABLE; - uses VRF-PREFIX-TABLE; - uses DEFAULT-TOPOLOGY; - } - } - - grouping VRF-MULTICAST { - description "Common node of vrfipv4, vrfipv6"; - - container vrf-multicast { - description "Multicast static configuration"; - uses TOPOLOGY-TABLE; - uses VRF-PREFIX-TABLE; - uses DEFAULT-TOPOLOGY; - } - } - - container router-static { - description "This class represents router static configuration"; - - container vrfs { - description "VRF static configuration container"; - - list vrf { - key "vrf-name"; - description "VRF static configuration"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses ADDRESS-FAMILY; - } - } - - container default-vrf { - description "Default VRF configuration"; - uses ADDRESS-FAMILY; - } - - container maximum-routes { - description - "The maximum number of static routes that can be - configured."; - leaf ipv6-routes { - type uint32 { - range "1..140000"; - } - default "4000"; - description - "The maximum number of static routes that can be - configured for IPv6 AFI."; - } - leaf ipv4-routes { - type uint32 { - range "1..140000"; - } - default "4000"; - description - "The maximum number of static routes that can be - configured for IPv4 AFI."; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-cfg.yang deleted file mode 100644 index d8c0eb5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-cfg.yang +++ /dev/null @@ -1,303 +0,0 @@ -module Cisco-IOS-XR-ip-tcp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg"; - - - prefix "ip-tcp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package configuration. - - This module contains definitions - for the following management objects: - ip-tcp: Global IP TCP configuration - ip: ip - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping TFTP { - description "Common node of ipv4, ipv6"; - - container tftp { - description "TFTP server configuration commands"; - - container udp { - presence "Indicates a udp node is configured."; - description "UDP details"; - leaf access-list-name { - type string; - description "Access list"; - } - leaf maximum-server { - type uint32 { - range "0..2147483647"; - } - description - "Set number of allowable servers, 0 for - no-limit"; - } - leaf home-directory { - type string; - mandatory true; - description - "Specify device name where file is read from (e - .g. flash:)"; - } - leaf dscp-value { - type int32; - description - "Set IP DSCP (DiffServ CodePoint) for TFTP - Server Packets"; - } - } - } - } - - grouping SMALL-SERVERS { - description "Common node of ipv4, ipv6"; - - container small-servers { - description "Describing IPV4 and IPV6 small servers"; - - container tcp-small-servers { - presence "Indicates a tcp-small-servers node is configured."; - description - "Describing TCP related IPV4 and IPV6 small - servers"; - leaf access-control-list-name { - type string; - description "Specify the access list"; - } - leaf small-server { - type uint32 { - range "1..2147483647"; - } - mandatory true; - description - "Set number of allowable TCP small servers, - specify 0 for no-limit"; - } - } - } - } - - grouping TELNET { - description "Common node of ipv4, ipv6"; - - container telnet { - description "TELNET server configuration commands"; - - container tcp { - presence "Indicates a tcp node is configured."; - description "TCP details"; - leaf access-list-name { - type string; - description "Access list"; - } - leaf maximum-server { - type uint32 { - range "1..100"; - } - mandatory true; - description "Set number of allowable servers"; - } - } - } - } - - container ip-tcp { - description "Global IP TCP configuration"; - - container directory { - presence "Indicates a directory node is configured."; - description "TCP directory details"; - leaf directoryname { - type string; - mandatory true; - description "Directory name "; - } - leaf max-debug-files { - type uint32 { - range "1..10000"; - } - mandatory true; - description "Set number of Debug files"; - } - leaf max-file-size-files { - type uint32 { - range "1024..4294967295"; - } - units "byte"; - mandatory true; - description "Set size of debug files in bytes"; - } - } - - container throttle { - presence "Indicates a throttle node is configured."; - description "Throttle TCP receive buffer (in percentage)"; - leaf tcpmin-throttle { - type uint32 { - range "0..100"; - } - mandatory true; - description "Min throttle"; - } - leaf tcpmaxthrottle { - type uint32 { - range "0..100"; - } - mandatory true; - description "Max throttle"; - } - } - - container num-thread { - presence "Indicates a num-thread node is configured."; - description "TCP InQueue and OutQueue threads"; - leaf tcp-in-q-threads { - type uint32 { - range "1..16"; - } - mandatory true; - description "InQ Threads"; - } - leaf tcp-out-q-threads { - type uint32 { - range "1..16"; - } - mandatory true; - description "OutQ Threads"; - } - } - leaf accept-rate { - type uint32 { - range "1..1000"; - } - default "500"; - description "TCP connection accept rate"; - } - leaf selective-ack { - type empty; - description "Enable TCP selective-ACK"; - } - leaf window-size { - type uint32 { - range "2048..65535"; - } - units "byte"; - description "TCP receive window size (bytes)"; - } - leaf receive-q { - type uint32 { - range "40..800"; - } - description "TCP receive Queue Size"; - } - leaf maximum-segment-size { - type uint32 { - range "68..10000"; - } - description "TCP initial maximum segment size"; - } - leaf syn-wait-time { - type uint32 { - range "5..30"; - } - units "second"; - description "Time to wait on new TCP connections in seconds"; - } - leaf timestamp { - type empty; - description "Enable TCP timestamp option"; - } - leaf path-mtu-discovery { - type int32; - units "minute"; - default "10"; - description - "Aging time; 0 for infinite, and range be (10,30)"; - } - } - - container ip { - description "ip"; - - container cinetd { - description "Cinetd configuration data"; - - container services { - description "Describing services of cinetd"; - - container ipv4 { - description "IPV4 related services"; - uses SMALL-SERVERS; - } - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF specific data"; - - container ipv6 { - description "IPV6 related services"; - uses TELNET; - uses TFTP; - } - - container ipv4 { - description "IPV4 related services"; - uses TELNET; - uses TFTP; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF instance"; - } - } - } - - container ipv6 { - description "IPV6 related services"; - uses SMALL-SERVERS; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub1.yang deleted file mode 100644 index b97d3b4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub1.yang +++ /dev/null @@ -1,1512 +0,0 @@ -submodule Cisco-IOS-XR-ip-tcp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-tcp-oper { - prefix Cisco-IOS-XR-ip-tcp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Nsr-down-reason { - type enumeration { - enum none { - description "None, i.e. NSR was never up"; - } - enum init-sync-aborted { - description "Initial sync was aborted"; - } - enum client-disabled { - description "Disabled by Active APP"; - } - enum client-disconnect { - description "Standby APP disconnected"; - } - enum tcp-disconnect { - description "Standby TCP disconnected"; - } - enum failover { - description "RP/DRP Failover occurred"; - } - enum nsr-clear { - description "Clear nsr command"; - } - enum internal-error { - description "Internal error occurred"; - } - enum retransmit-threshold-exceed { - description - "Retransmission threshold exceededprobably - becauseS-TCP was not healthy"; - } - enum init-sync-failure-thresh-exceeded { - description - "Init-sync repeat failures have exceeded - threshold"; - } - enum audit-timeout { - description "Audit operation timed out"; - } - enum audit-failed { - description "Audit operation failed"; - } - enum standby-sscb-deleted { - description "Standby SSCB deleted"; - } - enum standby-session-close { - description "Session was closed on standby"; - } - enum standby-rxpath-frozen { - description "RX-Path was frozen on standby"; - } - enum partner-deleted { - description "Partner was deleted from set"; - } - } - description "NSR-Down Reasons"; - } - typedef Nsr-status { - type enumeration { - enum down { - description "NSR Stream Down"; - } - enum up { - description "NSR Stream Up"; - } - enum na { - description "NSR Stream Not applicable"; - } - } - description "NSR Stream Status"; - } - typedef Addr-family { - type enumeration { - enum internetwork { - value 2; - description "Internetwork: UDP, TCP, etc."; - } - enum ip-version6 { - value 10; - description "IP version 6"; - } - } - description "Address Family Types"; - } - - grouping TCP-NSR-PCB-STATS-BAG { - description "SSO/NSR statistics of a TCP connection"; - - container snd-counters { - description "Send path counters for the PCB"; - uses TCP-NSR-SND-COUNTERS-NODE; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf number-of-times-nsr-up { - type uint32; - description "no. of times nsr went up"; - } - leaf number-of-timers-nsr-down { - type uint32; - description "no. of times nsr went down"; - } - leaf number-of-times-nsr-disabled { - type uint32; - description "no. of times nsr was disabled"; - } - leaf number-of-times-nsr-fail-over { - type uint32; - description "no. of times fail-over occured"; - } - leaf internal-ack-drops-not-replicated { - type uint64; - description - "Number of iACKs dropped because session is not - replicated"; - } - leaf internal-ack-drops-initsync-first-phase { - type uint64; - description - "Number of iACKs dropped because 1st phase of - init-sync is in progress"; - } - leaf internal-ack-drops-stale { - type uint64; - description "Number of stale iACKs dropped"; - } - leaf internal-ack-drops-immediate-match { - type uint64; - description - "Number of iACKs not held because of an immediate - match"; - } - leaf last-cleared-time { - type uint32; - units "second"; - description - "Time of last clear (in seconds since 1st Jan - 1970 00:00:00)"; - } - } - - grouping TCP-NSR-SSCB-STATS-BAG { - description "SSO/NSR statistics of a Session Set"; - leaf sscb { - type uint64; - description "SSCB Address"; - } - leaf set-id { - type uint32; - description "ID of this Session-set"; - } - leaf number-of-attempted-init-sync { - type uint32; - description "no. of initial-sync attempts"; - } - leaf number-of-succeeded-init-sync { - type uint32; - description "no. of initial-sync successes"; - } - leaf number-of-failed-init-sync { - type uint32; - description "no. of initial-sync failures"; - } - leaf number-of-failover { - type uint32; - description "Number of Switch-overs"; - } - leaf number-of-nsr-resets { - type uint32; - description "Number of times NSR was reset for the session"; - } - leaf last-cleared-time { - type uint32; - units "second"; - description - "Time of last clear (in seconds since 1st Jan - 1970 00:00:00)"; - } - } - - grouping TCP-NSR-CCB-STATS-BAG { - description "SSO/NSR statistics of a Client"; - leaf ccb { - type uint64; - description "Address of the Client Control Block"; - } - leaf pid { - type uint32; - description "PID of the Client"; - } - leaf process-name { - type string; - description "Proc name of Clinet"; - } - leaf job-id { - type int32; - description "JOb ID of Client"; - } - leaf instance { - type uint32; - description "Instance of the Client"; - } - leaf connected-at { - type uint32; - units "second"; - description - "Time of connect (in seconds since 1st Jan 1970 - 00:00:00)"; - } - leaf number-of-created-sscb { - type uint32; - description "Num of created session sets"; - } - leaf number-of-deleted-sscb { - type uint32; - description "Num of deleted session sets"; - } - leaf last-cleared-time { - type uint32; - units "second"; - description - "Time of last clear (in seconds since 1st Jan - 1970 00:00:00)"; - } - - list notification-statistic { - description "Various types of notification stats"; - uses TSS-NOTIF-STATS; - } - } - - grouping TCP-NSR-AUDIT-COUNTERS-AGGR-ONLY-NODE { - description "Aggregate-only counters for NSR audit"; - leaf mark-session-set-rcv-drop-aggr { - type uint32; - description - "Number of session-set Mark messages dropped by - standby"; - } - leaf session-rcv-drop-aggr { - type uint32; - description - "Number of session audit messages dropped by - standby"; - } - leaf sweep-session-set-rcv-drop-aggr { - type uint32; - description - "Number of session-set Sweep messages dropped by - standby"; - } - leaf session-set-response-rcv-drop-aggr { - type uint32; - description - "Number of session-set response messages dropped - by active"; - } - leaf mark-session-set-ack-rcv-drop-aggr { - type uint32; - description - "Number of session-set mark ack messages dropped - by active"; - } - leaf mark-session-set-nack-rcv-drop-aggr { - type uint32; - description - "Number of session-set mark nack messages dropped - by active"; - } - } - - grouping TCP-NSR-AUDIT-COUNTERS-NODE { - description "Audit counters"; - leaf mark-session-set-send { - type uint32; - description - "Number of successful session-set Mark's sent by - active"; - } - leaf mark-session-set-send-drop { - type uint32; - description "Number of failed session-set Mark's"; - } - leaf mark-session-set-rcv { - type uint32; - description - "Number of successful session-set Mark's received - by standby"; - } - leaf mark-session-set-rcv-drop { - type uint32; - description "Number of session-set Mark's dropped by standby"; - } - leaf session-send { - type uint32; - description - "Number of successful session audits sent by - active"; - } - leaf session-send-drop { - type uint32; - description - "Number of session audits that couldn't be sent - by active"; - } - leaf session-rcv { - type uint32; - description "Number of session audits received by standby"; - } - leaf session-rcv-drop { - type uint32; - description "Number of session audits dropped by standby"; - } - leaf sweep-session-set-send { - type uint32; - description - "Number of successful session-set Sweep's sent by - active"; - } - leaf sweep-session-set-send-drop { - type uint32; - description "Number of failed session-set Sweep's"; - } - leaf sweep-session-set-rcv { - type uint32; - description - "Number of successful session-set Sweep's - received by standby"; - } - leaf sweep-session-set-rcv-drop { - type uint32; - description - "Number of session-set Sweep's dropped by standby"; - } - leaf session-set-response-send { - type uint32; - description - "Number of successful audit responses sent by - standby"; - } - leaf session-set-response-send-drop { - type uint32; - description - "Number of audit responses that couldn't be sent - by standby"; - } - leaf session-set-response-rcv { - type uint32; - description "Number of audit responses received by active"; - } - leaf session-set-response-rcv-drop { - type uint32; - description "Number of audit responses dropped by active"; - } - leaf mark-session-set-ack-send { - type uint32; - description - "Number of successful audit mark acks sent by - standby"; - } - leaf mark-session-set-ack-send-drop { - type uint32; - description - "Number of audit mark acks that couldn't be sent - by standby"; - } - leaf mark-session-set-ack-rcv { - type uint32; - description "Number of audit mark acks received by active"; - } - leaf mark-session-set-ack-rcv-drop { - type uint32; - description "Number of audit mark acks dropped by active"; - } - leaf mark-session-set-nack-send { - type uint32; - description - "Number of successful audit mark nacks sent by - standby"; - } - leaf mark-session-set-nack-send-drop { - type uint32; - description - "Number of audit mark nacks that couldn't be sent - by standby"; - } - leaf mark-session-set-nack-rcv { - type uint32; - description "Number of audit mark nacks received by active"; - } - leaf mark-session-set-nack-rcv-drop { - type uint32; - description "Number of audit mark nacks dropped by active"; - } - leaf abort { - type uint32; - description - "Number of times the active aborted an audit - session"; - } - } - - grouping TCP-NSR-AUDIT-COUNTERS-AGGR-NODE { - description "Aggregate counters for NSR audit"; - - container common { - description "Common audit counters"; - uses TCP-NSR-AUDIT-COUNTERS-NODE; - } - - container aggr-only { - description "Aggregate only audit counters"; - uses TCP-NSR-AUDIT-COUNTERS-AGGR-ONLY-NODE; - } - } - - grouping TCP-NSR-SND-COUNTERS-AGGR-ONLY-NODE { - description "Send path aggregate only counters"; - leaf data-xfer-rcv-drop-no-pcb { - type uint32; - description - "Number of Data transfer messages dropped because - PCB wasn't found"; - } - leaf data-xfer-rcv-drop-no-scb-dp { - type uint32; - description - "Number of Data transfer messages dropped because - SCB DP wasn't found"; - } - leaf seg-instr-rcv-drop-no-pcb { - type uint32; - description - "Number of Segmentation instruction messages - dropped because PCB wasn't found"; - } - leaf seg-instr-rcv-drop-no-scb-dp { - type uint32; - description - "Number of Segmentation instruction messages - dropped because SCB DP wasn't found"; - } - leaf nack-rcv-drop-no-pcb { - type uint32; - description - "Number of NACK messages dropped because PCB - wasn't found"; - } - leaf nack-rcv-drop-no-scb-dp { - type uint32; - description - "Number of NACK messages dropped because SCB DP - wasn't found"; - } - leaf cleanup-rcv-drop-no-pcb { - type uint32; - description - "Number of Cleanup messages dropped because PCB - wasn't found"; - } - leaf cleanup-rcv-drop-no-scb-dp { - type uint32; - description - "Number of Cleanup messages dropped because SCB - DP wasn't found"; - } - } - - grouping TCP-NSR-SND-COUNTERS-NODE { - description "Send path counters"; - leaf data-xfer-send { - type uint32; - description "Number of successful DATA transfers"; - } - leaf data-xfer-send-total { - type uint64; - description "Amount of data transferred"; - } - leaf data-xfer-send-drop { - type uint32; - description "Number of failed DATA transfers"; - } - leaf data-xfer-send-iov-alloc { - type uint32; - description - "Number of data transfer msgs., that required new - IOV's to be allocated"; - } - leaf data-xfer-rcv { - type uint32; - description "Number of received DATA transfers"; - } - leaf data-xfer-rcv-success { - type uint32; - description "Number of successfully received DATA transfers"; - } - leaf data-xfer-rcv-fail-buffer-trim { - type uint32; - description - "Number of received DATA transfers that had - buffer trim failures"; - } - leaf data-xfer-rcv-fail-snd-una-out-of-sync { - type uint32; - description - "Number of received DATA transfers that had - failures because the send path was out of sync"; - } - leaf seg-instr-send { - type uint32; - description - "Number of successful Segmentation instruction - messages"; - } - leaf seg-instr-send-units { - type uint32; - description - "Number of segement units transferred via the - successful Segmentation instruction messages"; - } - leaf seg-instr-send-drop { - type uint32; - description - "Number of failed Segmentation instruction - messages"; - } - leaf seg-instr-rcv { - type uint32; - description - "Number of received Segmentation instruction - messages"; - } - leaf seg-instr-rcv-success { - type uint32; - description - "Number of successfully received Segmentation - instruction messages"; - } - leaf seg-instr-rcv-fail-buffer-trim { - type uint32; - description - "Number of received Segmentation instructions - that had buffer trim failures"; - } - leaf seg-instr-rcv-fail-tcp-process { - type uint32; - description - "Number of received Segmentation instructions - that had failures during TCP processing"; - } - leaf nack-send { - type uint32; - description "Number of successful NACK messages"; - } - leaf nack-send-drop { - type uint32; - description "Number of failed NACK messages"; - } - leaf nack-rcv { - type uint32; - description "Number of received NACK messages"; - } - leaf nack-rcv-success { - type uint32; - description "Number of successfully received NACK messages"; - } - leaf nack-rcv-fail-data-send { - type uint32; - description - "Number of received NACK messages that had - failures when sending data in response to the - NACK"; - } - leaf cleanup-send { - type uint32; - description "Number of successful Cleanup messages"; - } - leaf cleanup-send-drop { - type uint32; - description "Number of failed Cleanup messages"; - } - leaf cleanup-rcv { - type uint32; - description "Number of received Cleanup messages"; - } - leaf cleanup-rcv-success { - type uint32; - description - "Number of successfully received Cleanup messages"; - } - leaf cleanup-rcv-fail-buffer-trim { - type uint32; - description - "Number of Cleanup messages that had trim - failures"; - } - } - - grouping TCP-NSR-SND-COUNTERS-AGGR-NODE { - description "Send path aggregate counters"; - - container common { - description "Common send path counters"; - uses TCP-NSR-SND-COUNTERS-NODE; - } - - container aggr-only { - description "Aggregate only send path counters"; - uses TCP-NSR-SND-COUNTERS-AGGR-ONLY-NODE; - } - } - - grouping TSS-NOTIF-STATS { - description "notif stats structure used in ccb stats bag"; - leaf queued-count { - type uint32; - description "how many were queued"; - } - leaf failed-count { - type uint32; - description "Errors while queuing the notifs"; - } - leaf delivered-count { - type uint32; - description "How many were picked up by app?"; - } - leaf dropped-count { - type uint32; - description "How many were dropped because of timeout"; - } - } - - grouping TCP-NSR-SUMMARY-STATS-BAG { - description "Summary SSO/NSR statistics"; - - container snd-counters { - description "Aggregate Send path counters"; - uses TCP-NSR-SND-COUNTERS-AGGR-NODE; - } - - container audit-counters { - description "Aggregate Audit counters"; - uses TCP-NSR-AUDIT-COUNTERS-AGGR-NODE; - } - leaf last-cleared-time { - type uint32; - units "second"; - description - "Time of last clear (in seconds since 1st Jan - 1970 00:00:00)"; - } - leaf number-of-connected-clients { - type uint32; - description "Number of disconnected clients"; - } - leaf number-of-disconnected-clients { - type uint32; - description "Number of disconnected clients"; - } - leaf number-of-current-clients { - type uint32; - description "Number of current clients"; - } - leaf number-of-created-session-sets { - type uint32; - description "Number of created session sets"; - } - leaf number-of-destroyed-session-sets { - type uint32; - description "Number of destroyed session sets"; - } - leaf number-of-current-session-sets { - type uint32; - description "Number of current session sets"; - } - leaf number-of-added-sessions { - type uint32; - description "Number of added sessions"; - } - leaf number-of-deleted-sessions { - type uint32; - description "Number of deleted sessions"; - } - leaf number-of-current-sessions { - type uint32; - description "Number of current sessions"; - } - leaf number-of-partner-node { - type uint32; - description " Number of Parner Nodes"; - } - leaf number-of-attempted-init-sync { - type uint32; - description "no. of initial-sync attempts"; - } - leaf number-of-succeeded-init-sync { - type uint32; - description "no. of initial-sync successes"; - } - leaf number-of-failed-init-sync { - type uint32; - description "no. of initial-sync fails"; - } - leaf number-of-held-packets { - type uint32; - description "Number of Packets held by Active TCP"; - } - leaf number-of-held-but-dropped-packets { - type uint32; - description "Number of held packets dropped by Active TCP"; - } - leaf number-of-held-internal-acks { - type uint32; - description "Number of Internal Acks held by Active TCP"; - } - leaf number-of-held-but-dropped-internal-acks { - type uint32; - description - "Number of held Internal Acks dropped by Active - TCP"; - } - leaf number-of-sent-internal-acks { - type uint32; - description - "Number of Internal Acks sent to Active TCP by - Standby TCP"; - } - leaf number-of-received-internal-acks { - type uint32; - description "Number of Internal Acks received by Active TCP"; - } - leaf number-of-qad-receive-messages-drops { - type uint32; - description - "Number of dropped messages from partner TCP - stack(s)"; - } - leaf number-of-qad-receive-messages-unknowns { - type uint32; - description - "Number of unknown messages from partner TCP - stack(s)"; - } - leaf number-of-qad-receive-messages-accepts { - type uint32; - description - "Number of messages accepted from partner TCP - stack(s)"; - } - leaf number-of-qad-stale-receive-messages-drops { - type uint32; - description - "Number of dropped messages from partner TCP - stack(s) because they were out-of-order"; - } - leaf number-of-qad-transfer-message-sent { - type uint32; - description "Number of messages sent to partner TCP stack(s)"; - } - leaf number-of-qad-transfer-message-drops { - type uint32; - description - "Number of messages failed to be sent to partner - TCP stack(s)"; - } - leaf number-of-internal-ack-drops-no-pcb { - type uint32; - description "Number of iACKs dropped because there is no PCB"; - } - leaf number-of-internal-ack-drops-no-scbdp { - type uint32; - description - "Number of iACKs dropped because there is no - datapath SCB"; - } - leaf internal-ack-drops-not-replicated { - type uint32; - description - "Number of iACKs dropped because session is not - replicated"; - } - leaf internal-ack-drops-initsync-first-phase { - type uint32; - description - "Number of iACKs dropped because init-sync is in - 1st phase"; - } - leaf internal-ack-drops-stale { - type uint32; - description "Number of stale iACKs dropped"; - } - leaf internal-ack-drops-immediate-match { - type uint32; - description - "Number of iACKs not held because of an immediate - match"; - } - leaf held-packet-drops { - type uint32; - description - "Number of held packets dropped because of errors"; - } - - list notification-statistic { - description "Various types of notification stats"; - uses TSS-NOTIF-STATS; - } - } - - grouping TCP-NSR-SSCB-DETAILED-BAG { - description "Detailed Information about an SSO/NSR Session-set"; - leaf sscb { - type uint64; - description "Address of the Session Set Control Block"; - } - leaf pid { - type uint32; - description "PID of the Client that owns this Session-set"; - } - leaf set-id { - type uint32; - description "ID of this Session-set"; - } - leaf sso-role { - type uint32; - description "TCP role for this set?"; - } - leaf mode { - type uint32; - description "Session-set mode"; - } - leaf address-family { - type Addr-family; - description "Address Family of the sessions in this set"; - } - leaf well-known-port { - type uint16; - description "Well Known Port of the client"; - } - leaf local-node { - type xr:Node-id; - description "Local node of this set"; - } - leaf local-instance { - type uint32; - description - "Instance of the client application on the local - node"; - } - leaf protect-node { - type xr:Node-id; - description "The node protecting this set"; - } - leaf protect-instance { - type uint32; - description - "Instance of the client application on the - protection node"; - } - leaf number-of-sessions { - type uint32; - description "Number of Sessions in the set"; - } - leaf number-of-synced-sessions-up-stream { - type uint32; - description - "How many sessions are synced with upstream - partner"; - } - leaf number-of-synced-sessions-down-stream { - type uint32; - description - "How many sessions are synced with downstream - partner"; - } - leaf is-init-sync-in-progress { - type boolean; - description "Is an initial sync in progress currently?"; - } - leaf is-init-sync-second-phase { - type boolean; - description "Is initial sync in the second phase?"; - } - leaf sequence-number-of-init-sync { - type uint32; - description - "ID of the current or the last initial sync - operation"; - } - leaf init-sync-timer { - type uint32; - description "Time left on the initial sync timer"; - } - leaf total-number-of-init-sync-sessions { - type uint32; - description - "Number of sessions being synced as part of the - current initial sync operation"; - } - leaf number-of-init-synced-sessions { - type uint32; - description - "Number of sessions that are synced as part of - the current initial sync operation"; - } - leaf number-of-sessions-init-sync-failed { - type uint32; - description - "Number of sessions that failed to sync as part - of the current initial sync operation"; - } - leaf init-sync-error { - type string; - description "Initial sync failure reason, if any"; - } - leaf is-init-sync-error-local { - type boolean; - description - "Initial sync failed due to a local error or - remote stack"; - } - leaf init-sync-start-time { - type uint32; - units "second"; - description - "Time at which last or current initial sync - operation was started (in seconds since 1st Jan - 1970 00:00:00)"; - } - leaf init-sync-end-time { - type uint32; - units "second"; - description - "Time at which the last initial sync operation - was ended (in seconds since 1st Jan 1970 00:00 - :00)"; - } - leaf is-sscb-init-sync-ready { - type boolean; - description "Is the SSCB ready for another initial sync?"; - } - leaf init-sync-ready-start-time { - type uint32; - units "second"; - description - "Time at which the session was ready for initial - sync last (in seconds since 1st Jan 1970 00:00 - :00)"; - } - leaf init-sync-ready-end-time { - type uint32; - units "second"; - description - "Time at which the session set last went - not-ready for initial sync (in seconds since 1st - Jan 1970 00:00:00)"; - } - leaf nsr-reset-time { - type uint32; - units "second"; - description - "Time at which NSR was last reset on the session - set (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf is-audit-in-progress { - type boolean; - description "Is an audit in progress currently?"; - } - leaf audit-seq-number { - type uint32; - description "ID of the current or the last audit operation"; - } - leaf audit-start-time { - type uint32; - units "second"; - description - "Time at which last or current audit operation - was started (in seconds since 1st Jan 1970 00:00 - :00)"; - } - leaf audit-end-time { - type uint32; - units "second"; - description - "Time at which the last audit operation was ended - (in seconds since 1st Jan 1970 00:00:00)"; - } - } - - grouping TCP-NSR-CCB-BRIEF-BAG { - description "Summary Information about an SSO/NSR Client"; - leaf ccb { - type uint64; - description "Address of the Client Control Block"; - } - leaf pid { - type uint32; - description "PID of the Client"; - } - leaf process-name { - type string; - description "Proc name of Clinet"; - } - leaf job-id { - type int32; - description "JOb ID of Client"; - } - leaf instance { - type uint32; - description "Instance of the Client"; - } - leaf numberof-sets { - type uint32; - description "Number of Sets owned by this client "; - } - leaf number-of-sessions { - type uint32; - description "Number of sessions owned by this client "; - } - leaf number-of-up-sessions { - type uint32; - description "Number of sessions with NSR up "; - } - } - - grouping TCP-NSR-CCB-DETAILED-BAG { - description "Detailed Information about an SSO/NSR Client"; - leaf ccb { - type uint64; - description "Address of the Client Control Block"; - } - leaf pid { - type uint32; - description "PID of the Client"; - } - leaf process-name { - type string; - description "Proc name of Clinet"; - } - leaf job-id { - type int32; - description "JOb ID of Client"; - } - leaf instance { - type uint32; - description "Instance of the Client"; - } - leaf numberof-sets { - type uint32; - description "Number of Sets owned by this client "; - } - leaf number-of-sessions { - type uint32; - description "Number of sessions owned by this client "; - } - leaf number-of-up-sessions { - type uint32; - description "Number of sessions with NSR up"; - } - leaf connected-at { - type uint32; - units "second"; - description - "Time of connect (in seconds since 1st Jan 1970 - 00:00:00)"; - } - leaf is-notification-registered { - type boolean; - description "Registered with TCP for notifications?"; - } - } - - grouping TCP-NSR-HOLD-QUEUE-NODE { - description "Info about the Packet or iACK held"; - leaf sequence-number { - type uint32; - description "Sequence Number"; - } - leaf data-length { - type uint32; - description "Data Length"; - } - leaf acknoledgement-number { - type uint32; - description "Ack Number"; - } - } - - grouping TCP-NSR-SSCB-BRIEF-BAG { - description "Summary Information about an SSO/NSR Session-set"; - leaf sscb { - type uint64; - description "Address of the Session Set Control Block"; - } - leaf pid { - type uint32; - description "PID of the Client that owns this Session-set"; - } - leaf client-name { - type string; - description "the name of Clinet that owns this Session-set"; - } - leaf client-instance { - type uint32; - description - "Instance of the Client that owns this - Session-set"; - } - leaf set-id { - type uint32; - description "ID of this Session-set"; - } - leaf sso-role { - type uint32; - description "TCP role for this set?"; - } - leaf mode { - type uint32; - description "Session-set mode"; - } - leaf address-family { - type Addr-family; - description "Address Family of the sessions in this set"; - } - leaf well-known-port { - type uint16; - description "Well Known Port of the client"; - } - leaf local-node { - type xr:Node-id; - description "Local node of this set"; - } - leaf local-instance { - type uint32; - description - "Instance of the client application on the local - node"; - } - leaf protect-node { - type xr:Node-id; - description "The node protecting this set"; - } - leaf protect-instance { - type uint32; - description - "Instance of the client application on the - protection node"; - } - leaf number-of-sessions { - type uint32; - description "Number of Sessions in the set"; - } - leaf number-of-synced-sessions-up-stream { - type uint32; - description - "How many sessions are synced with upstream - partner"; - } - leaf number-of-synced-sessions-down-stream { - type uint32; - description - "How many sessions are synced with downstream - partner"; - } - leaf is-init-sync-in-progress { - type boolean; - description "Is an initial sync in progress currently?"; - } - leaf is-sscb-init-sync-ready { - type boolean; - description "Is the SSCB ready for another initial sync?"; - } - } - - grouping TCP-NSR-PCB-DETAILED-BAG { - description - "Detailed SSO/NSR information about a TCP - connection"; - - container set-information { - description "Sesson-set information"; - uses TCP-NSR-SSCB-BRIEF-BAG; - } - leaf address-family { - type Addr-family; - description "Address family"; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf sscb { - type uint64; - description "SSCB Address"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf vrf-id { - type uint32; - description "VRF Id"; - } - leaf is-admin-configured-up { - type boolean; - description "Is NSR administratively configured?"; - } - leaf is-us-operational-up { - type Nsr-status; - description "Is Upstream NSR operational?"; - } - leaf is-ds-operational-up { - type Nsr-status; - description "Is Downstream NSR operational?"; - } - leaf is-only-receive-path-replication { - type boolean; - description "Is replication limited to receive-path only"; - } - leaf cookie { - type uint64; - description "Cookie provided by active APP"; - } - leaf is-session-replicated { - type boolean; - description "Has the session been replicated to standby?"; - } - leaf is-session-synced { - type boolean; - description "Has the session completed initial-sync?"; - } - leaf fist-standby-sequence-number { - type uint32; - description - "If initial sync is completed, then the FSSN - - First Standby Sequence Number"; - } - leaf fssn-offset { - type uint32; - description "Offset of FSSN in input stream"; - } - leaf nsr-down-reason { - type Nsr-down-reason; - description "If NSR is not up, the reason for it."; - } - leaf nsr-down-time { - type uint32; - description "Time at which NSR went down"; - } - leaf sequence-number-of-init-sync { - type uint32; - description "ID of the Initial sync operation"; - } - leaf is-init-sync-in-progress { - type boolean; - description "Is initial-sync currently in progress?"; - } - leaf is-init-sync-second-phase { - type boolean; - description "Is initial sync in the second phase?"; - } - leaf init-sync-error { - type string; - description "Initial sync failure reason, if any"; - } - leaf is-init-sync-error-local { - type boolean; - description - "Initial sync failed due to a local error or - remote stack"; - } - leaf init-sync-start-time { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - started (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf init-sync-end-time { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - ended (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf init-sync-flags { - type uint32; - description "Init Sync flags for the session"; - } - leaf sequence-number-of-init-sync-up-stream { - type uint32; - description "ID of the Initial sync operation"; - } - leaf peer-endp-hdl-up-stream { - type uint64; - description "Peer NCD endp handle"; - } - leaf init-sync-start-time-up-stream { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - started (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf init-sync-end-time-up-stream { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - ended (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf fist-standby-sequence-number-up-stream { - type uint32; - description "FSSN for the upstream partner"; - } - leaf nsr-down-reason-up-stream { - type Nsr-down-reason; - description - "The reason NSR is not up towards the upstream - partner"; - } - leaf nsr-down-time-up-stream { - type uint32; - description "Time at which NSR went down"; - } - leaf sequence-number-of-init-sync-down-stream { - type uint32; - description "ID of the Initial sync operation"; - } - leaf peer-endp-hdl-down-stream { - type uint64; - description "Peer NCD endp handle"; - } - leaf init-sync-start-time-down-stream { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - started (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf init-sync-end-time-down-stream { - type uint32; - units "second"; - description - "Time at which the initial sync operation was - ended (in seconds since 1st Jan 1970 00:00:00)"; - } - leaf fist-standby-sequence-number-down-stream { - type uint32; - description "FSSN for the upstream partner"; - } - leaf nsr-down-reason-down-stream { - type Nsr-down-reason; - description - "The reason NSR is not up towards the upstream - partner"; - } - leaf nsr-down-time-down-stream { - type uint32; - description "Time at which NSR went down"; - } - leaf max-number-of-held-packet { - type int32; - description "Max number of incoming packets have been held"; - } - leaf max-number-of-held-packet-reach-time { - type uint32; - description "Max number of held incoming packets reaches at"; - } - leaf max-number-of-held-internal-ack { - type int32; - description "Max number of internal acks have been held"; - } - leaf max-number-of-held-internal-ack-reach-time { - type uint32; - description "Max number of held internal acks reaches at"; - } - leaf-list local-address { - type inet:ipv4-address; - max-elements "4"; - description "Local address"; - } - leaf-list foreign-address { - type inet:ipv4-address; - max-elements "4"; - description "Foreign address"; - } - - list packet-hold-queue { - description - "Sequence Number and datalength of each node in - hold_pakqueue"; - uses TCP-NSR-HOLD-QUEUE-NODE; - } - - list internal-ack-hold-queue { - description - "Sequence Number and datalength of each node in - hold_iackqueue"; - uses TCP-NSR-HOLD-QUEUE-NODE; - } - } - - grouping TCP-NSR-PCB-BRIEF-BAG { - description "Summary NSR information about a TCP connection"; - leaf address-family { - type Addr-family; - description "Address family"; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf sscb { - type uint64; - description "SSCB Address"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf vrf-id { - type uint32; - description "VRF Id"; - } - leaf is-admin-configured-up { - type boolean; - description "Is NSR administratively configured?"; - } - leaf is-us-operational-up { - type Nsr-status; - description "Is Upstream NSR operational?"; - } - leaf is-ds-operational-up { - type Nsr-status; - description "Is Downstream NSR operational?"; - } - leaf is-only-receive-path-replication { - type boolean; - description "Is replication limited to receive-path only"; - } - leaf-list local-address { - type inet:ipv4-address; - max-elements "4"; - description "Local address"; - } - leaf-list foreign-address { - type inet:ipv4-address; - max-elements "4"; - description "Foreign address"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub2.yang deleted file mode 100644 index 5c096af..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub2.yang +++ /dev/null @@ -1,70 +0,0 @@ -submodule Cisco-IOS-XR-ip-tcp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ip-tcp-oper { - prefix Cisco-IOS-XR-ip-tcp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping IP-TCP { - description "TCP Traffic Information"; - leaf tcp-input-packets { - type uint32; - description "TCP packets received"; - } - leaf tcp-checksum-error-packets { - type uint32; - description "TCP packets with checksum errors"; - } - leaf tcp-dropped-packets { - type uint32; - description "TCP packets dropped (no port)"; - } - leaf tcp-output-packets { - type uint32; - description "TCP packets transmitted"; - } - leaf tcp-retransmitted-packets { - type uint32; - description "TCP packets retransmitted"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub3.yang deleted file mode 100644 index de0fd8e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub3.yang +++ /dev/null @@ -1,1502 +0,0 @@ -submodule Cisco-IOS-XR-ip-tcp-oper-sub3 { - - belongs-to Cisco-IOS-XR-ip-tcp-oper { - prefix Cisco-IOS-XR-ip-tcp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tcp-timer { - type enumeration { - enum retransmission-timer { - value 0; - description "Retransmission timer"; - } - enum window-probe-timer { - value 1; - description "Send Window Probe timer"; - } - enum timewait-state-timer { - value 2; - description "TIMEWAIT state timer"; - } - enum ack-hold-timer { - value 3; - description "ACK Hold timer"; - } - enum keep-alive-timer { - value 4; - description "Keep Alive timer"; - } - enum pmtu-ager-timer { - value 5; - description "PMTU Ager Timer"; - } - enum retransmission-giveup-timer { - value 6; - description "Retransmission Giveup timer"; - } - enum throttle-timer { - value 7; - description "Throttle (for PAW/xipc) timer"; - } - } - description "TCP Timer Type"; - } - typedef Pak-prio { - type enumeration { - enum unspecified-packet { - value 0; - description "Unspecified"; - } - enum normal-packet { - value 1; - description - "Normal: all traffic routed via this router, - Telnet/FTP traffic generated from within this - router"; - } - enum medium-packet { - value 2; - description - "Medium: Packets with low drop probability e.g. - Routing updates & requests"; - } - enum high-packet { - value 3; - description - "High: Packets with very low drop probability - and normal delivery e.g. L3 Keepalives like - OSPF/ISIS Hellos"; - } - enum crucial-packet { - value 4; - description - "Crucial: Packets with very low drop probability - and expedited delivery e.g L2 keepalives, HDLC - Keepalives"; - } - } - description "Packet Priority Types"; - } - typedef Tcp-in6-addr { - type inet:ipv6-address; - description "Tcp in6 addr"; - } - typedef Tcp-conn-state { - type enumeration { - enum closed { - value 0; - description "Closed"; - } - enum listen { - value 1; - description "Listen"; - } - enum syn-sent { - value 2; - description "Syn sent"; - } - enum syn-received { - value 3; - description "Syn received"; - } - enum established { - value 4; - description "Established"; - } - enum close-wait { - value 5; - description "Close wait"; - } - enum fin-wait1 { - value 6; - description "FIN Wait1"; - } - enum closing { - value 7; - description "Closing"; - } - enum last-ack { - value 8; - description "Last ack"; - } - enum fin-wait2 { - value 9; - description "FIN Wait2"; - } - enum time-wait { - value 10; - description "Time wait"; - } - } - description "TCP Connection State"; - } - typedef Tcp-address-family { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 10; - description "IPv6"; - } - } - description "Address Family Type"; - } - - grouping TCP-SH-BRIEF-BAG { - description "Summary information about a TCP connection"; - - container local-address { - description "Local address"; - uses TCP-ADDRESS-TYPE; - } - - container foreign-address { - description "Foreign address"; - uses TCP-ADDRESS-TYPE; - } - leaf af-name { - type Tcp-address-family; - description "Address family"; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf connection-state { - type Tcp-conn-state; - description "Connection state"; - } - leaf local-pid { - type uint32; - description "Id of the local process"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf current-receive-queue-size { - type uint32; - units "byte"; - description "Current receive queue size in bytes"; - } - leaf current-send-queue-size { - type uint32; - units "byte"; - description "Current send queue size in bytes"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - } - - grouping TCP-SOCKBUF-STATES-BAG { - description "TCP Socket Buffer State Flags"; - leaf locked { - type boolean; - description "Lock on data queue (so_rcv only)"; - } - leaf waiting-for-lock { - type boolean; - description "Someone is waiting to lock"; - } - leaf waiting-for-data { - type boolean; - description "Someone is waiting for data/space"; - } - leaf input-select { - type boolean; - description "Buffer is selected for INPUT"; - } - leaf async-io { - type boolean; - description "Async I/O"; - } - leaf not-interruptible { - type boolean; - description "Not interruptible"; - } - leaf io-timer-set { - type boolean; - description "Read/write timer set"; - } - leaf delayed-wakeup { - type boolean; - description "Want delayed wakeups"; - } - leaf wakeup { - type boolean; - description "Read/write wakeup pending"; - } - leaf connect-wakeup { - type boolean; - description "Connect wakeup pending"; - } - leaf output-select { - type boolean; - description "Buffer is selected for OUTPUT"; - } - leaf out-of-band-select { - type boolean; - description "Buffer is selected for OBAND"; - } - } - - grouping SACKHOLE-BAG { - description "Sack send hole entry"; - leaf start { - type uint32; - description "Start seq no. of hole"; - } - leaf end { - type uint32; - description "End seq no. of hole"; - } - leaf duplicated-ack { - type uint32; - description "Number of dup (s)acks for this hole"; - } - leaf retransmitted { - type uint32; - description "Next seq. no in hole to be retransmitted"; - } - } - - grouping SACKBLK-BAG { - description "Sack block entry"; - leaf start { - type uint32; - description "Start seq no. of sack block"; - } - leaf end { - type uint32; - description "End seq no. of sack block"; - } - } - - grouping TCP-CONN-STATES-BAG { - description "TCP Connection states"; - leaf nagle-wait { - type boolean; - description "Nagle has delayed output"; - } - leaf ack-needed { - type boolean; - description "Send an ACK"; - } - leaf fin-sent { - type boolean; - description "FIN has been sent"; - } - leaf probing { - type boolean; - description "Probing a closed window"; - } - leaf need-push { - type boolean; - description "Need to push data out"; - } - leaf pushed { - type boolean; - description "A segment is pushed due to MSG_PUSH"; - } - leaf in-syn-cache { - type boolean; - description "Connection is in SYN cache"; - } - leaf path-mtu-ager { - type boolean; - description "Path MTU aging timer is running"; - } - } - - grouping TCP-CONN-FEATURES-BAG { - description "TCP Connection features"; - leaf selective-ack { - type boolean; - description "Selective ack on?"; - } - leaf md5 { - type boolean; - description "MD5 option on?"; - } - leaf timestamps { - type boolean; - description "Timestamps on?"; - } - leaf window-scaling { - type boolean; - description "Window-scaling on?"; - } - leaf nagle { - type boolean; - description "Nagle algorithm on?"; - } - leaf giveup-timer { - type boolean; - description "Giveup timer is on?"; - } - leaf connection-keep-alive-timer { - type boolean; - description "Keepalive timer is on?"; - } - leaf path-mtu-discovery { - type boolean; - description "Path MTU Discovery feature is on?"; - } - leaf mss-cisco { - type boolean; - description "tcp mss feature is on?"; - } - } - - grouping TCP-SOCK-STATES-BAG { - description "TCP Socket State Flags"; - leaf no-file-descriptor-reference { - type boolean; - description "No file descriptor ref"; - } - leaf is-connected { - type boolean; - description "Socket is connected to peer"; - } - leaf is-connecting { - type boolean; - description "Connecting in progress"; - } - leaf is-disconnecting { - type boolean; - description "Disconnecting in progress"; - } - leaf cant-send-more { - type boolean; - description "Can't send more data to peer"; - } - leaf cant-receive-more { - type boolean; - description "Can't recv more data from peer"; - } - leaf received-at-mark { - type boolean; - description "At mark on input"; - } - leaf privileged { - type boolean; - description "Privileged for broadcast, raw..."; - } - leaf block-close { - type boolean; - description - "Close is blocked (i.e. socket is a replicated - socket on a standby node"; - } - leaf async-io-notify { - type boolean; - description "Async i/o notify"; - } - leaf is-confirming { - type boolean; - description "Deciding to accept connection req"; - } - leaf is-solock { - type boolean; - description "Mutex acquired by solock()"; - } - leaf is-detached { - type boolean; - description "PCB and socket are detached"; - } - leaf block-receive { - type boolean; - description - "Socket is blocked for receive - while going - through SSO initial sync"; - } - leaf block-send { - type boolean; - description - "Socket is blocked for send (if it is a - replicated socket on a standby node)"; - } - } - - grouping TCP-SOCK-OPTIONS-BAG { - description "TCP Socket Option Flags "; - leaf debug { - type boolean; - description "Turn on debugging info recording"; - } - leaf accept-connection { - type boolean; - description "Socket has had listen()"; - } - leaf reuse-address { - type boolean; - description "Allow local address reuse"; - } - leaf keep-alive { - type boolean; - description "Keep connections alive"; - } - leaf dont-route { - type boolean; - description "Just use interface addresses"; - } - leaf broadcast { - type boolean; - description "Permit sending of broadcast msgs"; - } - leaf use-loopback { - type boolean; - description "Bypass hardware when possible"; - } - leaf linger { - type boolean; - description "Linger on close if data present"; - } - leaf out-of-band-inline { - type boolean; - description "Leave received Out-of-band data inline"; - } - leaf reuse-port { - type boolean; - description "Allow local address & port reuse"; - } - leaf nonblocking-io { - type boolean; - description "Nonblocking socket I/O operation"; - } - } - - grouping TCP-TIMER-BAG { - description "TCP Timer Info"; - leaf timer-type { - type Tcp-timer; - description "Timer Type"; - } - leaf timer-activations { - type uint32; - description "Count of timer activations"; - } - leaf timer-expirations { - type uint32; - description "Count of timer expirations"; - } - leaf timer-next-activation { - type uint32; - description "Timer next activation (msec)"; - } - } - - grouping TCP-ADDRESS-TYPE { - description "TCP ADDRESS TYPE"; - leaf af-name { - type Tcp-address-family; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf ipv6-address { - when "../af-name != 'ipv4'" { - description "../AFName != 'IPv4'"; - } - type Tcp-in6-addr; - description "IPv6 Address"; - } - } - - grouping TCP-SH-TABLE-BAG { - description "Detailed information about a TCP connection"; - - container local-address { - description "Local address"; - uses TCP-ADDRESS-TYPE; - } - - container foreign-address { - description "Foreign address"; - uses TCP-ADDRESS-TYPE; - } - - container socket-option-flags { - description "Socket option flags"; - uses TCP-SOCK-OPTIONS-BAG; - } - - container socket-state-flags { - description "Socket state flags"; - uses TCP-SOCK-STATES-BAG; - } - - container feature-flags { - description "Connection feature flags"; - uses TCP-CONN-FEATURES-BAG; - } - - container state-flags { - description "Connection state flags"; - uses TCP-CONN-STATES-BAG; - } - - container request-flags { - description "Connection request flags"; - uses TCP-CONN-FEATURES-BAG; - } - - container receive-buf-state-flags { - description "Receive buffer state flags"; - uses TCP-SOCKBUF-STATES-BAG; - } - - container send-buf-state-flags { - description "Send buffer state flags"; - uses TCP-SOCKBUF-STATES-BAG; - } - leaf address-family { - type Tcp-address-family; - description "Address Family"; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf so { - type uint64; - description "Socket Address"; - } - leaf tcpcb { - type uint64; - description "TCPCB Address"; - } - leaf vrf-id { - type uint32; - description "VRF Id"; - } - leaf connection-state { - type Tcp-conn-state; - description "Connection state"; - } - leaf established-time { - type uint32; - description "Time at which connection is established"; - } - leaf local-pid { - type uint32; - description "Id of the local process"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf packet-priority { - type Pak-prio; - description "Priority given to packets on this socket"; - } - leaf packet-tos { - type uint16; - description - "Type of Service value to be applied to - transmistted packets"; - } - leaf packet-ttl { - type uint16; - description "TTL to be applied to transmited packets"; - } - leaf hash-index { - type uint32; - description "Index of the Hash Bucket"; - } - leaf current-receive-queue-size { - type uint32; - units "byte"; - description "Current receive queue size in bytes"; - } - leaf max-receive-queue-size { - type uint32; - units "byte"; - description "Max receive queue size in bytes"; - } - leaf current-send-queue-size { - type uint32; - units "byte"; - description "Current send queue size in bytes"; - } - leaf max-send-queue-size { - type uint32; - units "byte"; - description "Max send queue size in bytes"; - } - leaf current-receive-queue-packet-size { - type uint32; - description "Current receive queue size in packets"; - } - leaf max-receive-queue-packet-size { - type uint32; - description "Max receive queue size in packets"; - } - leaf save-queue-size { - type uint32; - units "byte"; - description "Save queue (out-of seq data) size in bytes"; - } - leaf send-initial-sequence-num { - type uint32; - description "Initial send sequence number"; - } - leaf send-unack-sequence-num { - type uint32; - description "Sequence number of unacked data"; - } - leaf send-next-sequence-num { - type uint32; - description "Sequence number of next data to be sent"; - } - leaf send-max-sequence-num { - type uint32; - description "Highest sequence number sent"; - } - leaf send-window-size { - type uint32; - units "byte"; - description "Send window size in bytes"; - } - leaf send-congestion-window-size { - type uint32; - units "byte"; - description "Send congestion window size in bytes"; - } - leaf receive-initial-sequence-num { - type uint32; - description "Initial receive sequence number"; - } - leaf receive-next-sequence-num { - type uint32; - description "Next sequence number expected"; - } - leaf receive-adv-window-size { - type uint32; - units "byte"; - description "Receive advertised window size in bytes"; - } - leaf receive-window-size { - type uint32; - units "byte"; - description "Receive window size in bytes"; - } - leaf mss { - type uint32; - units "byte"; - description "Max segment size calculated in bytes"; - } - leaf peer-mss { - type uint32; - units "byte"; - description "Max segment size offered by the peer in bytes"; - } - leaf srtt { - type uint32; - description "Smoothed round trip time * 8 (msec)"; - } - leaf rtto { - type uint32; - description "Round trip timeout (msec)"; - } - leaf krtt { - type uint32; - description "Round trip time (karn algorithm) (msec)"; - } - leaf srtv { - type uint32; - description "Smoothed round trip time variance * 4 (msec)"; - } - leaf min-rtt { - type uint32; - description "Min RTT (msec)"; - } - leaf max-rtt { - type uint32; - description "Max RTT (msec)"; - } - leaf retries { - type uint32; - description "Number of retries"; - } - leaf ack-hold-time { - type uint32; - description "ACK hold time (msec)"; - } - leaf giveup-time { - type uint32; - description "Giveup time (msec)"; - } - leaf keep-alive-time { - type uint32; - description "Keepalive time (msec)"; - } - leaf syn-wait-time { - type uint32; - description "SYN wait time (msec)"; - } - leaf rxsy-naclname { - type string { - length "0..64"; - } - description "RX Syn acl name"; - } - leaf soft-error { - type int32; - description "Error code from ICMP Notify"; - } - leaf sock-error { - type int32; - description "Socket error code"; - } - leaf is-retrans-forever { - type boolean; - description "Retransimit forever?"; - } - leaf min-mss { - type uint32; - description "Lowest MSS ever used"; - } - leaf max-mss { - type uint32; - description "Highest MSS ever used"; - } - leaf connect-retries { - type uint16; - description "Number of times connect will be retried?"; - } - leaf connect-retry-interval { - type uint16; - units "second"; - description "Connect retry interval in seconds"; - } - leaf receive-window-scale { - type uint32; - description "Window scaling for receive window"; - } - leaf send-window-scale { - type uint32; - description "Window scaling for send window"; - } - leaf request-receive-window-scale { - type uint32; - description "Requested receive window scale"; - } - leaf rqst-send-wnd-scale { - type uint32; - description "Requested send window scale"; - } - leaf time-stamp-recent { - type uint32; - description "Timestamp from remote host"; - } - leaf time-stamp-recent-age { - type uint32; - description "Timestamp when last updated"; - } - leaf last-ack-sent { - type uint32; - description "ACK number of a sent segment"; - } - leaf sendbuf-lowwat { - type uint32; - description "Send buffer's low water mark"; - } - leaf recvbuf-lowwat { - type uint32; - description "Receive buffer's low water mark"; - } - leaf sendbuf-hiwat { - type uint32; - description "Send buffer's high water mark"; - } - leaf recvbuf-hiwat { - type uint32; - description "Receive buffer's high water mark"; - } - leaf sendbuf-notify-thresh { - type uint32; - description "Send buffer's notify threshold"; - } - leaf recvbuf-datasize { - type uint32; - description "Receive buffer's data size"; - } - leaf queue-length { - type uint32; - description "Incoming connection queue size"; - } - leaf queue-zero-length { - type uint32; - description "Incoming half-connection queue size"; - } - leaf queue-limit { - type uint32; - description "Incoming connection queue limit"; - } - leaf socket-error { - type uint32; - description "Socket error status"; - } - leaf auto-rearm { - type uint32; - description "Socket auto rearm state"; - } - leaf send-pdu-count { - type uint32; - description "# of PDU's in Send Buffer"; - } - leaf output-ifhandle { - type uint32; - description "Cached Outgoing interface handle"; - } - leaf fib-pd-ctx-size { - type uint32; - description "Cached fib pd context size"; - } - leaf num-labels { - type uint32; - description "Number of labels returned by fib lookup"; - } - leaf local-app-instance { - type uint32; - description "Instance number of the local process"; - } - leaf-list fib-pd-ctx { - type uint32; - max-elements "4"; - description "Cached fib pd context"; - } - leaf-list fib-label-output { - type uint32; - max-elements "7"; - description "Cached Label stack"; - } - - list timer { - max-elements "8"; - description "Timers"; - uses TCP-TIMER-BAG; - } - - list sack-blk { - max-elements "6"; - description "Seq nos. of sack blocks"; - uses SACKBLK-BAG; - } - - list send-sack-hole { - max-elements "6"; - description "Sorted list of sack holes"; - uses SACKHOLE-BAG; - } - } - - grouping TCP-SH-STATS-BAG { - description "TCP Statistics"; - leaf syn-cache-count { - type uint32; - description "Current number of SYN cache entries"; - } - leaf num-open-sockets { - type uint32; - description "Number of Open sockets"; - } - leaf total-pakets-sent { - type uint32; - description "Total packets sent"; - } - leaf send-packets-dropped { - type uint32; - description - "Total transmit packets dropped due to general - failures"; - } - leaf send-auth-packets-dropped { - type uint32; - description - "Total transmit packets dropped due to - authentication failures"; - } - leaf data-pakets-sent { - type uint32; - description "Data packets sent"; - } - leaf data-bytes-sent { - type uint32; - units "byte"; - description "Data bytes sent"; - } - leaf packets-retransmitted { - type uint32; - description "Data packets retransmitted"; - } - leaf bytes-retransmitted { - type uint32; - units "byte"; - description "Data bytes retransmitted"; - } - leaf ack-only-packets-sent { - type uint32; - description "Ack only packets sent (incl. delay)"; - } - leaf delay-ack-packets-sent { - type uint32; - description "Delay ack packets sent"; - } - leaf urgent-only-packets-sent { - type uint32; - description "Urgent only packets sent"; - } - leaf window-probe-packets-sent { - type uint32; - description "Window probe packets sent"; - } - leaf window-update-packets-sent { - type uint32; - description "Window update packets sent"; - } - leaf control-packets-sent { - type uint32; - description "Control (SYN|FIN|RST) packets sent"; - } - leaf rst-packets-sent { - type uint32; - description "RST packets sent"; - } - leaf total-packets-received { - type uint32; - description "Total packets received"; - } - leaf received-packets-dropped { - type uint32; - description - "Received packets dropped due to general failures"; - } - leaf synacl-match-pkts-dropped { - type uint32; - description - "Received packets dropped due to ACL DENY on SYN - pkts"; - } - leaf received-packets-dropped-stale-c-hdr { - type uint32; - description - "Received packets dropped due to stale cached - header"; - } - leaf received-auth-packets-dropped { - type uint32; - description - "Received packets dropped due to authentication - failures"; - } - leaf ack-packets-received { - type uint32; - description "Ack packets received"; - } - leaf ackbytes-received { - type uint32; - units "byte"; - description "Bytes acked by ack packets"; - } - leaf duplicated-ack-packets-received { - type uint32; - description "Duplicate ack packets"; - } - leaf ack-packets-for-unsent-received { - type uint32; - description "Ack packets for unsent data"; - } - leaf data-packets-received-in-sequence { - type uint32; - description "Data packets received in sequence"; - } - leaf data-bytes-received-in-sequence { - type uint32; - units "byte"; - description "Data bytes received in sequence"; - } - leaf duplicate-packets-received { - type uint32; - description "Duplicate packets received"; - } - leaf duplicate-bytes-received { - type uint32; - units "byte"; - description "Duplicate bytes received"; - } - leaf partial-duplicate-ack-received { - type uint32; - description "Packets with partial dup data"; - } - leaf partial-duplicate-bytes-received { - type uint32; - units "byte"; - description "Bytes with partial dup data"; - } - leaf out-of-order-packets-received { - type uint32; - description "Out-of-order packets received"; - } - leaf out-of-order-bytes-received { - type uint32; - units "byte"; - description "Out-of-order bytes received"; - } - leaf after-window-packets-received { - type uint32; - description "After-window packets received"; - } - leaf after-window-bytes-received { - type uint32; - units "byte"; - description "After-window bytes received"; - } - leaf window-probe-packets-received { - type uint32; - description "Window probe packets received"; - } - leaf window-update-packets-received { - type uint32; - description "Window update packets received"; - } - leaf packets-received-after-close-packet { - type uint32; - description "Packets received after close"; - } - leaf bad-checksum-packets-received { - type uint32; - description "Packets received with bad checksum"; - } - leaf too-short-packets-received { - type uint32; - description "Packets received with too short size"; - } - leaf malformed-packets-received { - type uint32; - description "Packets received with malformed header"; - } - leaf no-port-packets-received { - type uint32; - description "Packets rcceived with no wild listener"; - } - leaf connections-requested { - type uint32; - description "Connection requests sent"; - } - leaf connections-accepted { - type uint32; - description "Connection requests accepted"; - } - leaf connections-established { - type uint32; - description "Connections established"; - } - leaf connections-forcibly-closed { - type uint32; - description "Connections forcibly closed"; - } - leaf connections-closed { - type uint32; - description "connections closed (incl. drops)"; - } - leaf connections-dropped { - type uint32; - description "connections dropped"; - } - leaf embryonic-connection-dropped { - type uint32; - description "Embryonic connections dropped"; - } - leaf connections-failed { - type uint32; - description "Connections failed"; - } - leaf established-connections-reset { - type uint32; - description "Established connections reset"; - } - leaf retransmit-timeouts { - type uint32; - description "Retransmit timeouts (incl. data packets)"; - } - leaf retransmit-dropped { - type uint32; - description "Connection drops during retransmit timeouts"; - } - leaf keep-alive-timeouts { - type uint32; - description "Keepalive timeouts"; - } - leaf keep-alive-dropped { - type uint32; - description "Connection drops due to keepalive timeouts"; - } - leaf keep-alive-probes { - type uint32; - description "Keepalive probes sent"; - } - leaf paws-dropped { - type uint32; - description "Segments dropped due to PAWS"; - } - leaf persist-dropped { - type uint32; - description "Segments dropped due to window probe"; - } - leaf try-lock-dropped { - type uint32; - description "Segments dropped due to trylock fail"; - } - leaf connection-rate-limited { - type uint32; - description "Connections rate-limited"; - } - leaf syn-cache-added { - type uint32; - description "SYN Cache entries added"; - } - leaf syn-cache-completed { - type uint32; - description "SYN Cache connections completed"; - } - leaf syn-cache-timed-out { - type uint32; - description "SYN Cache entries timed out"; - } - leaf syn-cache-overflow { - type uint32; - description "SYN Cache entries dropped due to overflow"; - } - leaf syn-cache-reset { - type uint32; - description "SYN Cache entries dropped due to RST"; - } - leaf syn-cache-unreach { - type uint32; - description "SYN Cache entries dropped due to ICMP unreach"; - } - leaf syn-cache-bucket-oflow { - type uint32; - description - "SYN Cache entries dropped due to bucket overflow"; - } - leaf syn-cache-aborted { - type uint32; - description "SYN Cache entries aborted (no mem)"; - } - leaf syn-cache-duplicate-sy-ns { - type uint32; - description "SYN Cache duplicate SYNs received"; - } - leaf syn-cache-dropped { - type uint32; - description "SYN Cache entries dropped (no route/mem)"; - } - leaf pulse-errors { - type uint32; - description "Punt (down to ip) failures"; - } - leaf socket-layer-packets { - type uint32; - description "Packets owned by the socket layer"; - } - leaf reassembly-packets { - type uint32; - description "Packets owned by TCP reassembly"; - } - leaf recovered-packets { - type uint32; - description "Packets freed after starvation"; - } - leaf packet-failures { - type uint32; - description "Packet allocation errors"; - } - leaf mss-up { - type uint32; - description "Number of times MSS was increased"; - } - leaf mss-down { - type uint32; - description "Number of times MSS was decreased"; - } - leaf truncated-write-iov { - type uint32; - description - "Segments truncated due to insufficient Write I/O - vectors"; - } - leaf no-throttle { - type uint32; - description "Number of times throttle mode was off"; - } - leaf low-water-mark-throttle { - type uint32; - description "Number of times low water mark throttle was on"; - } - leaf high-water-mark-throttle { - type uint32; - description "Number of times high water mark throttle was on"; - } - leaf stalled-timer-tickle-count { - type uint32; - description "Number of times a stalled tcp timer was tickled"; - } - leaf stalled-timer-tickle-time { - type uint32; - description - "Last timestamp when a stalled tcp timer was - tickled"; - } - leaf iq-sock-writes { - type uint32; - description - "Number of write attempts from socket-lib into an - IQ"; - } - leaf iq-sock-retries { - type uint32; - description "Number of retried write attempts"; - } - leaf iq-sock-aborts { - type uint32; - description "Number of aborted socket-lib writes"; - } - leaf iq-ingress-drops { - type uint32; - description "Number of total ingress dropped packets"; - } - leaf total-i-qs { - type uint32; - description "Number of TCP internal queues in use"; - } - } - - grouping TCP-ASYNC-SESSION-STATS-BAG { - description "TCP Async Session Statistic"; - leaf async-session { - type boolean; - description "Flag of async session"; - } - leaf-list data-write-success-num { - type uint32; - max-elements "2"; - description "Number of successful data write to XIPC"; - } - leaf-list data-read-success-num { - type uint32; - max-elements "2"; - description "Number of successful data read from XIPC"; - } - leaf-list data-write-error-num { - type uint32; - max-elements "2"; - description "Number of failed data write to XIPC"; - } - leaf-list data-read-error-num { - type uint32; - max-elements "2"; - description "Number of failed data read from XIPC"; - } - leaf-list control-write-success-num { - type uint32; - max-elements "5"; - description "Number of successful control write to XIPC"; - } - leaf-list control-read-success-num { - type uint32; - max-elements "5"; - description "Number of successful control read to XIPC"; - } - leaf-list control-write-error-num { - type uint32; - max-elements "5"; - description "Number of failed control write to XIPC"; - } - leaf-list control-read-error-num { - type uint32; - max-elements "5"; - description "Number of failed control read from XIPC"; - } - leaf-list data-write-byte { - type uint64; - units "byte"; - max-elements "2"; - description "Number of bytes data has been written"; - } - leaf-list data-read-byte { - type uint64; - units "byte"; - max-elements "2"; - description "Number of bytes data has been read"; - } - } - - grouping TCP-IO-COUNTS-BAG { - description "Counts of I/O events"; - leaf io-count { - type uint32; - description "Number of I/O operations done by application"; - } - leaf arm-count { - type uint32; - description "How many times socket was armed by application"; - } - leaf unarm-count { - type uint32; - description - "How many times socket was unarmed by application"; - } - leaf autoarm-count { - type uint32; - description "How many times socket was auto-armed by TCP"; - } - } - - grouping TCP-SH-PCB-STATS-BAG { - description "TCP PCB Statistics"; - - container read-io-counts { - description "Read I/O counts"; - uses TCP-IO-COUNTS-BAG; - } - - container write-io-counts { - description "Write I/O counts"; - uses TCP-IO-COUNTS-BAG; - } - - container async-session-stats { - description "Statistics of Async TCP Sessions"; - uses TCP-ASYNC-SESSION-STATS-BAG; - } - leaf pcb { - type uint64; - description "PCB Address"; - } - leaf vrf-id { - type uint32; - description "VRF Id"; - } - leaf packets-sent { - type uint64; - description "Packets received from application"; - } - leaf xipc-pulse-received { - type uint64; - description "XIPC pulses received from application"; - } - leaf segment-instruction-received { - type uint32; - description "Segment Instruction received from partner node"; - } - leaf send-packets-queued { - type uint64; - description "Packets queued to v4/v6 IO"; - } - leaf send-packets-queued-net-io { - type uint64; - description "Packets queued to NetIO"; - } - leaf send-queue-failed { - type uint32; - description "Packets failed to be queued to v4/v6 IO"; - } - leaf send-queue-net-io-failed { - type uint32; - description "Packets failed to be queued to NetIO"; - } - leaf packets-received { - type uint64; - description "Packets received from network"; - } - leaf receive-queue-failed { - type uint32; - description - "Received packets failed to be queued to - application"; - } - leaf received-packets-queued { - type uint64; - description "Received packets queued to application"; - } - leaf send-window-shrink-ignored { - type uint32; - description - "No. of times send window shrinkage by peer was - ignored"; - } - leaf is-paw-socket { - type boolean; - description "PAW or non-PAW socket?"; - } - leaf read-io-time { - type uint32; - description "Time at which receive buffer was last read from"; - } - leaf write-io-time { - type uint32; - description "Time at which send buffer was last written to"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub4.yang deleted file mode 100644 index f22683f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub4.yang +++ /dev/null @@ -1,649 +0,0 @@ -submodule Cisco-IOS-XR-ip-tcp-oper-sub4 { - - belongs-to Cisco-IOS-XR-ip-tcp-oper { - prefix Cisco-IOS-XR-ip-tcp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-tcp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Message-id { - type uint32; - description "Message id"; - } - typedef Message-type-igmp { - type enumeration { - enum membership-query { - value 17; - description "IGMP Packet type: Membership query"; - } - enum v1-membership-report { - value 18; - description "IGMP Packet type: V1 membership report"; - } - enum dvmrp { - value 19; - description "IGMP Packet type: DVMRP"; - } - enum pi-mv1 { - value 20; - description "IGMP Packet type: PIM version 1"; - } - enum cisco-trace-messages { - value 21; - description "IGMP Packet type: Cisco Trace Messages"; - } - enum v2-membership-report { - value 22; - description "IGMP Packet type: V2 membership report"; - } - enum v2-leave-group { - value 23; - description "IGMP Packet type: V2 leave group"; - } - enum multicast-traceroute-response { - value 30; - description - "IGMP Packet type: Multicast traceroute response"; - } - enum multicast-traceroute { - value 31; - description "IGMP Packet type: MulticastTraceroute"; - } - enum v3-membership-report { - value 34; - description "IGMP Packet type: V3 membership report"; - } - enum multicast-router-advertisement { - value 48; - description - "IGMP Packet type: Multicast router - advertisement"; - } - enum multicast-router-solicitation { - value 49; - description - "IGMP Packet type: Multicast router solicitation"; - } - enum multicast-router-termination { - value 50; - description - "IGMP Packet type: Multicast router termination"; - } - } - description "LPTS IGMP message types"; - } - typedef Message-igmp { - type Message-type-igmp; - description "Message igmp"; - } - typedef Message-type-icmpv6 { - type enumeration { - enum destination-unreachable { - value 1; - description "ICMPv6 Packet type: Destination unreachable"; - } - enum packet-too-big { - value 2; - description "ICMPv6 Packet type: packet too big"; - } - enum time-exceeded { - value 3; - description "ICMPv6 Packet type: Time exceeded"; - } - enum parameter-problem { - value 4; - description "ICMPv6 Packet type: Parameter problem"; - } - enum echo-request { - value 128; - description "ICMPv6 Packet type: Echo request"; - } - enum echo-reply { - value 129; - description "ICMPv6 Packet type: Echo reply"; - } - enum multicast-listener-query { - value 130; - description "ICMPv6 Packet type: Multicast listener query"; - } - enum multicast-listener-report { - value 131; - description "ICMPv6 Packet type: Multicast listener report"; - } - enum multicast-listener-done { - value 132; - description "ICMPv6 Packet type: Multicast listener done"; - } - enum router-solicitation { - value 133; - description "ICMPv6 Packet type: Router solicitation"; - } - enum router-advertisement { - value 134; - description "ICMPv6 Packet type: Router advertisement"; - } - enum neighbor-solicitation { - value 135; - description "ICMPv6 Packet type: Neighbor solicitation"; - } - enum neighbor-advertisement { - value 136; - description "ICMPv6 Packet type: Neighbor advertisement"; - } - enum redirect-message { - value 137; - description "ICMPv6 Packet type: Redirect message"; - } - enum router-renumbering { - value 138; - description "ICMPv6 Packet type: Router renumbering"; - } - enum node-information-query { - value 139; - description "ICMPv6 Packet type: Node information query"; - } - enum node-information-reply { - value 140; - description "ICMPv6 Packet type: Node information reply"; - } - enum inverse-neighbor-discovery-solicitaion { - value 141; - description - "ICMPv6 Packet type: Inverse neighbor discovery - solicitation message"; - } - enum inverse-neighbor-discover-advertisement { - value 142; - description - "ICMPv6 Packet type: Inverse neighbor discovery - advertisement message"; - } - enum v2-multicast-listener-report { - value 143; - description - "ICMPv6 Packet type: Version 2 multicast - listener report"; - } - enum home-agent-address-discovery-request { - value 144; - description - "ICMPv6 Packet type: Home agent address - discovery request message"; - } - enum home-agent-address-discovery-reply { - value 145; - description - "ICMPv6 Packet type: Home agent address - discovery reply message"; - } - enum mobile-prefix-solicitation { - value 146; - description - "ICMPv6 Packet type: Mobile prefix solicitation"; - } - enum mobile-prefix-advertisement { - value 147; - description - "ICMPv6 Packet type: Mobile prefix advertisement"; - } - enum certification-path-solicitation-message { - value 148; - description - "ICMPv6 Packet type: Certification path - solicitation message"; - } - enum certification-path-advertisement-message { - value 149; - description - "ICMPv6 Packet type: Certification path - advertisement message"; - } - enum experimental-mobility-protocols { - value 150; - description - "ICMPv6 Packet type: ICMP messages utilized by - experimental mobility protocols such as - seamoby"; - } - enum multicast-router-advertisement { - value 151; - description - "ICMPv6 Packet type: Multicast router - advertisement"; - } - enum multicast-router-solicitation { - value 152; - description - "ICMPv6 Packet type: Multicast router - solicitation"; - } - enum multicast-router-termination { - value 153; - description - "ICMPv6 Packet type: Multicast router - termination"; - } - enum fmipv6-messages { - value 154; - description "ICMPv6 Packet type: FMIPv6 messages"; - } - } - description "LPTS ICMPv6 message types"; - } - typedef Message-icmpv6 { - type Message-type-icmpv6; - description "Message icmpv6"; - } - typedef Message-type-icmp { - type enumeration { - enum echo-reply { - value 0; - description "ICMP Packet type: Echo reply"; - } - enum destination-unreachable { - value 3; - description "ICMP Packet type: Destination unreachable"; - } - enum source-quench { - value 4; - description "ICMP Packet type: Source quench"; - } - enum redirect { - value 5; - description "ICMP Packet type: Redirect"; - } - enum alternate-host-address { - value 6; - description "ICMP Packet type: Alternate host address"; - } - enum echo { - value 8; - description "ICMP Packet type: Echo"; - } - enum router-advertisement { - value 9; - description "ICMP Packet type: Router advertisement"; - } - enum router-selection { - value 10; - description "ICMP Packet type: Router selection"; - } - enum time-exceeded { - value 11; - description "ICMP Packet type: Time exceeded"; - } - enum parameter-problem { - value 12; - description "ICMP Packet type: Parameter problem"; - } - enum time-stamp { - value 13; - description "ICMP Packet type: Time stamp"; - } - enum time-stamp-reply { - value 14; - description "ICMP Packet type: Time stamp reply"; - } - enum information-request { - value 15; - description "ICMP Packet type: Information request"; - } - enum information-reply { - value 16; - description "ICMP Packet type: Information reply"; - } - enum address-mask-request { - value 17; - description "ICMP Packet type: Address mask request"; - } - enum address-mask-reply { - value 18; - description "ICMP Packet type: Address mask reply"; - } - enum trace-route { - value 30; - description "ICMP Packet type: Trace route"; - } - enum datagram-conversion-error { - value 31; - description "ICMP Packet type: Datagram Conversion error"; - } - enum mobile-host-redirect { - value 32; - description "ICMP Packet type: Mobile host redirect"; - } - enum where-are-you { - value 33; - description "ICMP Packet type: IPv6 where-are-you"; - } - enum iam-here { - value 34; - description "ICMP Packet type: IPv6 i-am-here"; - } - enum mobile-registration-request { - value 35; - description "ICMP Packet type: Mobile registration request"; - } - enum mobile-registration-reply { - value 36; - description "ICMP Packet type: Mobile registration reply"; - } - enum domain-name-request { - value 37; - description "ICMP Packet type: Domain name request"; - } - } - description "LPTS ICMP message types"; - } - typedef Message-icmp { - type Message-type-icmp; - description "Message icmp"; - } - typedef Packet { - type enumeration { - enum icmp { - description "ICMP packet type"; - } - enum icm-pv6 { - description "ICMPv6 packet type"; - } - enum igmp { - description "IGMP packet type"; - } - enum unknown { - description "Packet type unknown"; - } - } - description "Packet type"; - } - typedef Lpts-ipv6-address { - type inet:ipv6-address; - description "Lpts ipv6 address"; - } - - grouping PKT-TYPE { - description "PKT TYPE"; - leaf type { - type Packet; - description "Type"; - } - leaf icmp-message-type { - when "../type = 'icmp'" { - description "../Type = 'ICMP'"; - } - type Message-icmp; - description "ICMP message type"; - } - leaf icm-pv6-message-type { - when "../type = 'icm-pv6'" { - description "../Type = 'ICMPv6'"; - } - type Message-icmpv6; - description "ICMPv6 message type"; - } - leaf igmp-message-type { - when "../type = 'igmp'" { - description "../Type = 'IGMP'"; - } - type Message-igmp; - description "IGMP message type"; - } - leaf message-id { - when "../type = 'unknown'" { - description "../Type = 'Unknown'"; - } - type Message-id; - description "Message type in number"; - } - } - - grouping LPTS-RX-FILTER { - description "LPTS Interface Filter"; - - container packet-type { - description "Protocol-specific packet type"; - uses PKT-TYPE; - } - - container remote-address { - description "Remote address"; - uses IP-ADDR; - } - - container local-address { - description "Local address"; - uses IP-ADDR; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf remote-length { - type uint16; - description "Remote address length"; - } - leaf local-length { - type uint16; - description "Local address length"; - } - leaf receive-remote-port { - type uint16; - description "Receive Remote port"; - } - leaf receive-local-port { - type uint16; - description "Receive Local port"; - } - leaf priority { - type uint8; - description "Priority"; - } - leaf ttl { - type uint8; - description "Minimum TTL"; - } - leaf flow-types-info { - type uint32; - description "flow information"; - } - } - - grouping LPTS-ACCEPT-MASK { - description "LPTS accept mask"; - leaf is-interface { - type boolean; - description "Set interface"; - } - leaf is-packet-type { - type boolean; - description "Set packet type"; - } - leaf is-remote-address { - type boolean; - description "Set Remote address"; - } - leaf is-remote-port { - type boolean; - description "Set Remote Port"; - } - leaf is-local-address { - type boolean; - description "Set Local Address"; - } - leaf is-local-port { - type boolean; - description "Set Local Port"; - } - } - - grouping LPTS-FLAGS { - description "LPTS flags"; - leaf is-pcb-bound { - type boolean; - description "PCB bound"; - } - leaf is-local-address-ignore { - type boolean; - description "Sent drop packets"; - } - leaf is-ignore-vrf-filter { - type boolean; - description "Ignore VRF Filter"; - } - } - - grouping LPTS-OPTIONS { - description "LPTS options"; - leaf is-receive-filter { - type boolean; - description "Receive filter enabled"; - } - leaf is-ip-sla { - type boolean; - description "IP SLA"; - } - } - - grouping LPTS-PCB { - description "LPTS PCB information block"; - - container options { - description "Receive options"; - uses LPTS-OPTIONS; - } - - container lpts-flags { - description "LPTS flags"; - uses LPTS-FLAGS; - } - - container accept-mask { - description "AcceptMask"; - uses LPTS-ACCEPT-MASK; - } - leaf ttl { - type uint8; - description "Minimum TTL"; - } - leaf flow-types-info { - type uint32; - description "flow information"; - } - - list filter { - description "Interface Filters"; - uses LPTS-RX-FILTER; - } - } - - grouping COMMON-PCB-INFO { - description "Common information for all PCB types"; - - container lpts-pcb { - description "LPTS PCB information"; - uses LPTS-PCB; - } - leaf af-name { - type Addr-family; - description "Address Family"; - } - } - - grouping IP-ADDR { - description "IP Address"; - leaf af-name { - type Addr-family; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'internetwork'" { - description "../AFName = 'Internetwork'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../af-name = 'ip-version6'" { - description "../AFName = 'IPVersion6'"; - } - type Lpts-ipv6-address; - description "IPv6 address"; - } - } - - grouping SHOW-PCB-INFO { - description "PCB information to display"; - - container local-address { - description "Local IP address"; - uses IP-ADDR; - } - - container foreign-address { - description "Remote IP address"; - uses IP-ADDR; - } - - container common { - description "Common PCB information"; - uses COMMON-PCB-INFO; - } - leaf l4-protocol { - type uint32; - description "Layer 4 protocol"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Remote port"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub5.yang deleted file mode 100644 index 49d6c4b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper-sub5.yang +++ /dev/null @@ -1,76 +0,0 @@ -submodule Cisco-IOS-XR-ip-tcp-oper-sub5 { - - belongs-to Cisco-IOS-XR-ip-tcp-oper { - prefix Cisco-IOS-XR-ip-tcp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping TRANSP-CLIENT-STATS-BAG { - description "Aggregated statistics of a transport client"; - leaf client-jid { - type int32; - description "Job ID of the transport client"; - } - leaf client-name { - type string { - length "0..21"; - } - description "Transport client name"; - } - leaf ipv4-received-packets { - type uint32; - description "Total IPv4 packets received from client"; - } - leaf ipv4-sent-packets { - type uint32; - description "Total IPv4 packets sent to client"; - } - leaf ipv6-received-packets { - type uint32; - description "Total IPv6 packets received from app"; - } - leaf ipv6-sent-packets { - type uint32; - description "Total IPv6 packets sent to app"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper.yang deleted file mode 100644 index c4630a2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-tcp-oper.yang +++ /dev/null @@ -1,453 +0,0 @@ -module Cisco-IOS-XR-ip-tcp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper"; - - - prefix "ip-tcp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-tcp-oper-sub5 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ip-tcp-oper-sub4 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ip-tcp-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ip-tcp-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ip-tcp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-tcp package operational data. - - This module contains definitions - for the following management objects: - tcp-connection: TCP connection operational data - tcp: tcp - tcp-nsr: tcp nsr - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Show { - type enumeration { - enum all { - value 0; - description "To dispay all"; - } - enum static-policy { - value 1; - description "To display static policy"; - } - enum interface-filter { - value 2; - description "To display interface filter"; - } - enum packet-filter { - value 3; - description "To display packet type filter"; - } - } - description "Show"; - } - - container tcp-connection { - config false; - description "TCP connection operational data"; - - container nodes { - description - "Table of information about all nodes present on - the system"; - - list node { - key "id"; - description "Information about a single node"; - - container statistics { - description "Statistics of all TCP connections"; - - container clients { - description "Table listing clients"; - - list client { - key "client-id"; - description "Describing Client ID"; - leaf client-id { - type uint32 { - range "0..4294967295"; - } - description - "Displaying client's aggregated statistics"; - } - uses TRANSP-CLIENT-STATS-BAG; - } - } - - container pcbs { - description - "Table listing the TCP connections for which - statistics are provided"; - - list pcb { - key "id"; - description "Protocol Control Block ID"; - leaf id { - type uint32 { - range "0..4294967295"; - } - description - "Displaying statistics associated with a - particular PCB"; - } - uses TCP-SH-PCB-STATS-BAG; - } - } - - container summary { - description - "Summary statistics across all TCP connections"; - uses TCP-SH-STATS-BAG; - } - } - - container extended-information { - description "Extended Filter related Information"; - - container display-types { - description "Table listing display types"; - - list display-type { - key "disp-type"; - description "Describing particular display type"; - leaf disp-type { - type Show; - description "Specifying display type"; - } - - list connection-id { - key "pcb-id"; - description "Describing connection ID"; - leaf pcb-id { - type uint32 { - range "0..4294967295"; - } - description - "Displaying inforamtion based on selected - display type associatedwith a particular - PCB"; - } - uses SHOW-PCB-INFO; - } - } - } - } - - container detail-informations { - description - "Table listing TCP connections for which - detailed information is provided"; - - list detail-information { - key "pcb-id"; - description "Protocol Control Block ID"; - leaf pcb-id { - type uint32 { - range "0..4294967295"; - } - description - "Detail information about TCP connection, put - null for all"; - } - uses TCP-SH-TABLE-BAG; - } - } - - container brief-informations { - description - "Table listing connections for which brief - information is provided.Note that not all - connections are listed in the brief table."; - - list brief-information { - key "pcb-id"; - description "Brief information about a TCP connection"; - leaf pcb-id { - type uint32 { - range "0..4294967295"; - } - description "Protocol Control Block ID"; - } - uses TCP-SH-BRIEF-BAG; - } - } - leaf id { - type xr:Node-id; - description "Describing a location"; - } - } - } - } - - container tcp { - config false; - description "tcp"; - - container nodes { - description "Node-specific TCP operational data"; - - list node { - key "node-name"; - description "TCP operational data for a particular node"; - - container statistics { - description "Statistical TCP operational data for a node"; - - container ipv4-traffic { - description "TCP Traffic statistics for IPv4"; - uses IP-TCP; - } - - container ipv6-traffic { - description "TCP Traffic statistics for IPv6"; - uses IP-TCP; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container tcp-nsr { - config false; - description "tcp nsr"; - - container nodes { - description - "Table of information about all nodes present on - the system"; - - list node { - key "id"; - description "Information about a single node"; - - container session { - description "Information about TCP NSR Sessions"; - - container brief-sessions { - description "Information about TCP NSR Sessions"; - - list brief-session { - key "id"; - description "Brief information about NSR Sessions"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Sesison"; - } - uses TCP-NSR-PCB-BRIEF-BAG; - } - } - - container detail-sessions { - description "Table about TCP NSR Sessions details"; - - list detail-session { - key "id"; - description - "showing detailed information of NSR Sessions"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Sesison"; - } - uses TCP-NSR-PCB-DETAILED-BAG; - } - } - } - - container client { - description "Information about TCP NSR Client"; - - container detail-clients { - description "Table about TCP NSR Client details"; - - list detail-client { - key "id"; - description - "showing detailed information of NSR Clients"; - leaf id { - type xr:Hex-integer; - description "ID of NSR client"; - } - uses TCP-NSR-CCB-DETAILED-BAG; - } - } - - container brief-clients { - description "Information about TCP NSR Client"; - - list brief-client { - key "id"; - description "Brief information about NSR Client"; - leaf id { - type xr:Hex-integer; - description "ID of NSR client"; - } - uses TCP-NSR-CCB-BRIEF-BAG; - } - } - } - - container session-set { - description "Information about TCP NSR Session Sets"; - - container detail-sets { - description "Table about TCP NSR Session Sets details"; - - list detail-set { - key "id"; - description - "showing detailed information of NSR Session - Sets"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Sesison Set"; - } - uses TCP-NSR-SSCB-DETAILED-BAG; - } - } - - container brief-sets { - description "Information about TCP NSR Session Sets"; - - list brief-set { - key "id"; - description - "Brief information about NSR Session Sets"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Session Set"; - } - uses TCP-NSR-SSCB-BRIEF-BAG; - } - } - } - - container statistics { - description - "Statis Information about TCP NSR connections"; - - container summary { - description - "Summary statistics across all NSR connections"; - uses TCP-NSR-SUMMARY-STATS-BAG; - } - - container statistic-clients { - description - "Table listing NSR connections for which - statistic information is provided"; - - list statistic-client { - key "id"; - description - "showing statistic information of NSR Clients"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Client"; - } - uses TCP-NSR-CCB-STATS-BAG; - } - } - - container statistic-sets { - description - "Table listing NSR connections for which - statistic information is provided"; - - list statistic-set { - key "id"; - description - "showing statistic information of NSR Session - Set"; - leaf id { - type xr:Hex-integer; - description "ID of NSR Session Set"; - } - uses TCP-NSR-SSCB-STATS-BAG; - } - } - - container statistic-sessions { - description - "Table listing NSR connections for which - statistic information is provided"; - - list statistic-session { - key "id"; - description - "showing statistic information of TCP - connections"; - leaf id { - type xr:Hex-integer; - description "ID of TCP connection"; - } - uses TCP-NSR-PCB-STATS-BAG; - } - } - } - leaf id { - type xr:Node-id; - description "Describing a location"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-cfg.yang deleted file mode 100644 index 932d280..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-cfg.yang +++ /dev/null @@ -1,185 +0,0 @@ -module Cisco-IOS-XR-ip-udp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg"; - - - prefix "ip-udp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ip-tcp-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package configuration. - - This module contains definitions - for the following management objects: - ip-udp: Global IP UDP configuration - - This YANG module augments the - Cisco-IOS-XR-ip-tcp-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ip-udp { - description "Global IP UDP configuration"; - - container num-thread { - presence "Indicates a num-thread node is configured."; - description "UDP InQueue and OutQueue threads"; - leaf udp-in-q-threads { - type uint32 { - range "1..16"; - } - mandatory true; - description "InQ Threads"; - } - leaf udp-out-q-threads { - type uint32 { - range "1..16"; - } - mandatory true; - description "OutQ Threads"; - } - } - - container directory { - presence "Indicates a directory node is configured."; - description "UDP directory details"; - leaf directoryname { - type string; - mandatory true; - description "Directory name"; - } - leaf max-udp-debug-files { - type uint32 { - range "1..5000"; - } - mandatory true; - description "Set number of Debug files"; - } - leaf max-file-size-files { - type uint32 { - range "1024..4294967295"; - } - units "byte"; - mandatory true; - description "Set size of debug files in bytes"; - } - } - leaf receive-q { - type uint32 { - range "40..800"; - } - description "UDP receive Queue Size"; - } - } - - augment "/a1:ip" { - - container forward-protocol { - description - "Controls forwarding of physical and directed IP - broadcasts"; - - container udp { - description "Packets to a specific UDP port"; - - container ports { - description "Port configuration"; - - list port { - key "port-id"; - description - "Well-known ports are enabled by default and - non well-known ports are disabled by default. - It is not allowed to configure the default."; - leaf port-id { - type xr:Cisco-ios-xr-port-number; - description "Port number"; - } - leaf enable { - type boolean; - mandatory true; - description - "Specify 'false' to disable well-known ports - Domain (53), TFTP (69), NameServer (42), - TACACS (49), NetBiosNameService (137), or - NetBiosDatagramService (138). Specify - 'true' to enable non well-known ports."; - } - } - } - leaf disable { - type empty; - description "Disable IP Forward Protocol UDP"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ip-tcp-cfg'"; - } - - augment "/a1:ip/a1:cinetd/a1:services/a1:ipv4/a1:small-servers" { - - container udp-small-servers { - presence "Indicates a udp-small-servers node is configured."; - description "UDP small servers configuration"; - leaf access-control-list-name { - type string; - description "Specify the access list"; - } - leaf small-server { - type uint32 { - range "1..2147483647"; - } - mandatory true; - description - "Set number of allowable small servers, specify - 0 for no-limit"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ip-tcp-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub1.yang deleted file mode 100644 index 9c9c108..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub1.yang +++ /dev/null @@ -1,286 +0,0 @@ -submodule Cisco-IOS-XR-ip-udp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ip-udp-oper { - prefix Cisco-IOS-XR-ip-udp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Udp-in6-addr { - type inet:ipv6-address; - description "Udp in6 addr"; - } - typedef Udp-address-family { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 10; - description "IPv6"; - } - } - description "Address Family Type"; - } - - grouping UDP-SH-BRIEF-BAG { - description "UDP connection brief information"; - - container local-address { - description "Local address"; - uses UDP-ADDRESS-TYPE; - } - - container foreign-address { - description "Foreign address"; - uses UDP-ADDRESS-TYPE; - } - leaf af-name { - type Udp-address-family; - description "Address family"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf receive-queue { - type uint32; - description "Receive queue count"; - } - leaf send-queue { - type uint32; - description "Send queue count"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - } - - grouping UDP-ADDRESS-TYPE { - description "UDP ADDRESS TYPE"; - leaf af-name { - type Udp-address-family; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf ipv6-address { - when "../af-name != 'ipv4'" { - description "../AFName != 'IPv4'"; - } - type Udp-in6-addr; - description "IPv6 Address"; - } - } - - grouping UDP-SH-TABLE-BAG { - description "UDP detail pcb information"; - - container local-address { - description "Local address"; - uses UDP-ADDRESS-TYPE; - } - - container foreign-address { - description "Foreign address"; - uses UDP-ADDRESS-TYPE; - } - leaf af-name { - type Udp-address-family; - description "Address family"; - } - leaf local-process-id { - type uint32; - description "ID of local process"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Foreign port"; - } - leaf receive-queue { - type uint32; - description "Receive queue count"; - } - leaf send-queue { - type uint32; - description "Send queue count"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - } - - grouping UDP-PCB-RECEIVE-STATS-TYPE { - description "UDP receive statistics"; - leaf received-network-packets { - type uint64; - description "Packets received from network"; - } - leaf failed-queued-application-packets { - type uint32; - description "Packets failed queued to application"; - } - leaf queued-application-packets { - type uint64; - description "Packets queued to application"; - } - leaf failed-queued-application-socket-packets { - type uint32; - description - "Packet that couldn't be queued to application.on - socket"; - } - leaf queued-application-socket-packets { - type uint64; - description "Packets queued to application on socket"; - } - } - - grouping UDP-PCB-SEND-STATS-TYPE { - description "UDP send statistics"; - leaf received-application-bytes { - type uint64; - units "byte"; - description "Bytes received from application"; - } - leaf received-xipc-pulses { - type uint64; - description "XIPC pulses received from application"; - } - leaf sent-network-packets { - type uint64; - description "Packets sent to network (v4/v6 IO)"; - } - leaf sent-net-io-packets { - type uint64; - description "Packets sent to network (NetIO)"; - } - leaf failed-queued-network-packets { - type uint32; - description - "Packets failed getting queued to network (v4/v6 - IO)"; - } - leaf failed-queued-net-io-packets { - type uint32; - description - "Packets failed getting queued to network (NetIO)"; - } - } - - grouping UDP-SH-PCB-STATS-BAG { - description "UDP statistics"; - - container send { - description "UDP send statistics"; - uses UDP-PCB-SEND-STATS-TYPE; - } - - container receive { - description "UDP receive statistics"; - uses UDP-PCB-RECEIVE-STATS-TYPE; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf is-paw-socket { - type boolean; - description "True if paw socket"; - } - } - - grouping UDP-SH-STATS-BAG { - description "UDP statistics summary"; - leaf received-total-packets { - type uint32; - description "Total packets received"; - } - leaf received-no-port-packets { - type uint32; - description "Packets received when no wild listener"; - } - leaf received-bad-checksum-packets { - type uint32; - description "Packets received has bad checksum"; - } - leaf received-too-short-packets { - type uint32; - description "Packets received is too short"; - } - leaf received-drop-packets { - type uint32; - description "Packets dropped for other reasons"; - } - leaf sent-total-packets { - type uint32; - description "Total packets sent"; - } - leaf sent-error-packets { - type uint32; - description "Total send erorr packets"; - } - leaf forward-broadcast-packets { - type uint32; - description "Total forwarding broadcast packets"; - } - leaf cloned-packets { - type uint32; - description "Total cloned packets"; - } - leaf failed-clone-packets { - type uint32; - description "Total failed cloned packets"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub2.yang deleted file mode 100644 index 1703215..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub2.yang +++ /dev/null @@ -1,813 +0,0 @@ -submodule Cisco-IOS-XR-ip-udp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ip-udp-oper { - prefix Cisco-IOS-XR-ip-udp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Message-id { - type uint32; - description "Message id"; - } - typedef Message-type-igmp { - type enumeration { - enum membership-query { - value 17; - description "IGMP Packet type: Membership query"; - } - enum v1-membership-report { - value 18; - description "IGMP Packet type: V1 membership report"; - } - enum dvmrp { - value 19; - description "IGMP Packet type: DVMRP"; - } - enum pi-mv1 { - value 20; - description "IGMP Packet type: PIM version 1"; - } - enum cisco-trace-messages { - value 21; - description "IGMP Packet type: Cisco Trace Messages"; - } - enum v2-membership-report { - value 22; - description "IGMP Packet type: V2 membership report"; - } - enum v2-leave-group { - value 23; - description "IGMP Packet type: V2 leave group"; - } - enum multicast-traceroute-response { - value 30; - description - "IGMP Packet type: Multicast traceroute response"; - } - enum multicast-traceroute { - value 31; - description "IGMP Packet type: MulticastTraceroute"; - } - enum v3-membership-report { - value 34; - description "IGMP Packet type: V3 membership report"; - } - enum multicast-router-advertisement { - value 48; - description - "IGMP Packet type: Multicast router - advertisement"; - } - enum multicast-router-solicitation { - value 49; - description - "IGMP Packet type: Multicast router solicitation"; - } - enum multicast-router-termination { - value 50; - description - "IGMP Packet type: Multicast router termination"; - } - } - description "LPTS IGMP message types"; - } - typedef Message-igmp { - type Message-type-igmp; - description "Message igmp"; - } - typedef Message-type-icmpv6 { - type enumeration { - enum destination-unreachable { - value 1; - description "ICMPv6 Packet type: Destination unreachable"; - } - enum packet-too-big { - value 2; - description "ICMPv6 Packet type: packet too big"; - } - enum time-exceeded { - value 3; - description "ICMPv6 Packet type: Time exceeded"; - } - enum parameter-problem { - value 4; - description "ICMPv6 Packet type: Parameter problem"; - } - enum echo-request { - value 128; - description "ICMPv6 Packet type: Echo request"; - } - enum echo-reply { - value 129; - description "ICMPv6 Packet type: Echo reply"; - } - enum multicast-listener-query { - value 130; - description "ICMPv6 Packet type: Multicast listener query"; - } - enum multicast-listener-report { - value 131; - description "ICMPv6 Packet type: Multicast listener report"; - } - enum multicast-listener-done { - value 132; - description "ICMPv6 Packet type: Multicast listener done"; - } - enum router-solicitation { - value 133; - description "ICMPv6 Packet type: Router solicitation"; - } - enum router-advertisement { - value 134; - description "ICMPv6 Packet type: Router advertisement"; - } - enum neighbor-solicitation { - value 135; - description "ICMPv6 Packet type: Neighbor solicitation"; - } - enum neighbor-advertisement { - value 136; - description "ICMPv6 Packet type: Neighbor advertisement"; - } - enum redirect-message { - value 137; - description "ICMPv6 Packet type: Redirect message"; - } - enum router-renumbering { - value 138; - description "ICMPv6 Packet type: Router renumbering"; - } - enum node-information-query { - value 139; - description "ICMPv6 Packet type: Node information query"; - } - enum node-information-reply { - value 140; - description "ICMPv6 Packet type: Node information reply"; - } - enum inverse-neighbor-discovery-solicitaion { - value 141; - description - "ICMPv6 Packet type: Inverse neighbor discovery - solicitation message"; - } - enum inverse-neighbor-discover-advertisement { - value 142; - description - "ICMPv6 Packet type: Inverse neighbor discovery - advertisement message"; - } - enum v2-multicast-listener-report { - value 143; - description - "ICMPv6 Packet type: Version 2 multicast - listener report"; - } - enum home-agent-address-discovery-request { - value 144; - description - "ICMPv6 Packet type: Home agent address - discovery request message"; - } - enum home-agent-address-discovery-reply { - value 145; - description - "ICMPv6 Packet type: Home agent address - discovery reply message"; - } - enum mobile-prefix-solicitation { - value 146; - description - "ICMPv6 Packet type: Mobile prefix solicitation"; - } - enum mobile-prefix-advertisement { - value 147; - description - "ICMPv6 Packet type: Mobile prefix advertisement"; - } - enum certification-path-solicitation-message { - value 148; - description - "ICMPv6 Packet type: Certification path - solicitation message"; - } - enum certification-path-advertisement-message { - value 149; - description - "ICMPv6 Packet type: Certification path - advertisement message"; - } - enum experimental-mobility-protocols { - value 150; - description - "ICMPv6 Packet type: ICMP messages utilized by - experimental mobility protocols such as - seamoby"; - } - enum multicast-router-advertisement { - value 151; - description - "ICMPv6 Packet type: Multicast router - advertisement"; - } - enum multicast-router-solicitation { - value 152; - description - "ICMPv6 Packet type: Multicast router - solicitation"; - } - enum multicast-router-termination { - value 153; - description - "ICMPv6 Packet type: Multicast router - termination"; - } - enum fmipv6-messages { - value 154; - description "ICMPv6 Packet type: FMIPv6 messages"; - } - } - description "LPTS ICMPv6 message types"; - } - typedef Message-icmpv6 { - type Message-type-icmpv6; - description "Message icmpv6"; - } - typedef Message-type-icmp { - type enumeration { - enum echo-reply { - value 0; - description "ICMP Packet type: Echo reply"; - } - enum destination-unreachable { - value 3; - description "ICMP Packet type: Destination unreachable"; - } - enum source-quench { - value 4; - description "ICMP Packet type: Source quench"; - } - enum redirect { - value 5; - description "ICMP Packet type: Redirect"; - } - enum alternate-host-address { - value 6; - description "ICMP Packet type: Alternate host address"; - } - enum echo { - value 8; - description "ICMP Packet type: Echo"; - } - enum router-advertisement { - value 9; - description "ICMP Packet type: Router advertisement"; - } - enum router-selection { - value 10; - description "ICMP Packet type: Router selection"; - } - enum time-exceeded { - value 11; - description "ICMP Packet type: Time exceeded"; - } - enum parameter-problem { - value 12; - description "ICMP Packet type: Parameter problem"; - } - enum time-stamp { - value 13; - description "ICMP Packet type: Time stamp"; - } - enum time-stamp-reply { - value 14; - description "ICMP Packet type: Time stamp reply"; - } - enum information-request { - value 15; - description "ICMP Packet type: Information request"; - } - enum information-reply { - value 16; - description "ICMP Packet type: Information reply"; - } - enum address-mask-request { - value 17; - description "ICMP Packet type: Address mask request"; - } - enum address-mask-reply { - value 18; - description "ICMP Packet type: Address mask reply"; - } - enum trace-route { - value 30; - description "ICMP Packet type: Trace route"; - } - enum datagram-conversion-error { - value 31; - description "ICMP Packet type: Datagram Conversion error"; - } - enum mobile-host-redirect { - value 32; - description "ICMP Packet type: Mobile host redirect"; - } - enum where-are-you { - value 33; - description "ICMP Packet type: IPv6 where-are-you"; - } - enum iam-here { - value 34; - description "ICMP Packet type: IPv6 i-am-here"; - } - enum mobile-registration-request { - value 35; - description "ICMP Packet type: Mobile registration request"; - } - enum mobile-registration-reply { - value 36; - description "ICMP Packet type: Mobile registration reply"; - } - enum domain-name-request { - value 37; - description "ICMP Packet type: Domain name request"; - } - } - description "LPTS ICMP message types"; - } - typedef Message-icmp { - type Message-type-icmp; - description "Message icmp"; - } - typedef Packet { - type enumeration { - enum icmp { - description "ICMP packet type"; - } - enum icm-pv6 { - description "ICMPv6 packet type"; - } - enum igmp { - description "IGMP packet type"; - } - enum unknown { - description "Packet type unknown"; - } - } - description "Packet type"; - } - typedef Lpts-ipv6-address { - type inet:ipv6-address; - description "Lpts ipv6 address"; - } - typedef Addr-family { - type enumeration { - enum unspecified { - value 0; - description "Unspecified"; - } - enum local { - value 1; - description "Local to host (pipes, portals)"; - } - enum inet { - value 2; - description "Internetwork: UDP, TCP, etc."; - } - enum implink { - value 3; - description "arpanet imp addresses"; - } - enum pup { - value 4; - description "Pup protocols: e.g. BSP"; - } - enum chaos { - value 5; - description "mit CHAOS protocols"; - } - enum ns { - value 6; - description "XEROX NS protocols"; - } - enum iso { - value 7; - description "ISO protocols"; - } - enum ecma { - value 8; - description "European computer manufacturers"; - } - enum data-kit { - value 9; - description "Datakit protocols"; - } - enum ccitt { - value 10; - description "CCITT protocols, X.25 etc"; - } - enum sna { - value 11; - description "IBM SNA"; - } - enum de-cnet { - value 12; - description "DECnet"; - } - enum dli { - value 13; - description "DEC Direct data link interface"; - } - enum lat { - value 14; - description "LAT"; - } - enum hylink { - value 15; - description "NSC Hyperchannel"; - } - enum appletalk { - value 16; - description "Apple Talk"; - } - enum route { - value 17; - description "Internal Routing Protocol"; - } - enum link { - value 18; - description "Link layer interface"; - } - enum pseudo-xtp { - value 19; - description "eXpress Transfer Protocol (no AF)"; - } - enum coip { - value 20; - description "Connection-oriented IP, aka ST II"; - } - enum cnt { - value 21; - description "Computer Network Technology"; - } - enum pseudo-rtip { - value 22; - description "Help Identify RTIP packets"; - } - enum ipx { - value 23; - description "Novell Internet Protocol"; - } - enum sip { - value 24; - description "Simple Internet Protocol"; - } - enum pseudo-pip { - value 25; - description "Help Identify PIP packets"; - } - enum inet6 { - value 26; - description "IP version 6"; - } - enum snap { - value 27; - description "802.2 SNAP sockets"; - } - enum clnl { - value 28; - description "SAP_CLNS + nlpid encaps"; - } - enum chdlc { - value 29; - description "cisco HDLC on serial"; - } - enum ppp { - value 30; - description "PPP sockets"; - } - enum host-cas { - value 31; - description "Host-based CAS signaling"; - } - enum dsp { - value 32; - description "DSP messaging"; - } - enum sap { - value 33; - description "SAP Sockets"; - } - enum atm { - value 34; - description "ATM Sockets"; - } - enum fr { - value 35; - description "Frame Relay sockets"; - } - enum mso { - value 36; - description "Voice Media Stream Sockets"; - } - enum dchan { - value 37; - description "ISDN D Channel Sockets"; - } - enum cas { - value 38; - description "Trunk Framer media IF Sockets"; - } - enum nat { - value 39; - description "Network Address Translation Sockets"; - } - enum ether { - value 40; - description "Generic Ethernet Sockets"; - } - enum srp { - value 41; - description "Spatial Reuse Protocol Sockets"; - } - } - description "Address Family Types"; - } - - grouping PKT-TYPE { - description "PKT TYPE"; - leaf type { - type Packet; - description "Type"; - } - leaf icmp-message-type { - when "../type = 'icmp'" { - description "../Type = 'ICMP'"; - } - type Message-icmp; - description "ICMP message type"; - } - leaf icm-pv6-message-type { - when "../type = 'icm-pv6'" { - description "../Type = 'ICMPv6'"; - } - type Message-icmpv6; - description "ICMPv6 message type"; - } - leaf igmp-message-type { - when "../type = 'igmp'" { - description "../Type = 'IGMP'"; - } - type Message-igmp; - description "IGMP message type"; - } - leaf message-id { - when "../type = 'unknown'" { - description "../Type = 'Unknown'"; - } - type Message-id; - description "Message type in number"; - } - } - - grouping LPTS-RX-FILTER { - description "LPTS Interface Filter"; - - container packet-type { - description "Protocol-specific packet type"; - uses PKT-TYPE; - } - - container remote-address { - description "Remote address"; - uses IP-ADDR; - } - - container local-address { - description "Local address"; - uses IP-ADDR; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf remote-length { - type uint16; - description "Remote address length"; - } - leaf local-length { - type uint16; - description "Local address length"; - } - leaf receive-remote-port { - type uint16; - description "Receive Remote port"; - } - leaf receive-local-port { - type uint16; - description "Receive Local port"; - } - leaf priority { - type uint8; - description "Priority"; - } - leaf ttl { - type uint8; - description "Minimum TTL"; - } - leaf flow-types-info { - type uint32; - description "flow information"; - } - } - - grouping LPTS-ACCEPT-MASK { - description "LPTS accept mask"; - leaf is-interface { - type boolean; - description "Set interface"; - } - leaf is-packet-type { - type boolean; - description "Set packet type"; - } - leaf is-remote-address { - type boolean; - description "Set Remote address"; - } - leaf is-remote-port { - type boolean; - description "Set Remote Port"; - } - leaf is-local-address { - type boolean; - description "Set Local Address"; - } - leaf is-local-port { - type boolean; - description "Set Local Port"; - } - } - - grouping LPTS-FLAGS { - description "LPTS flags"; - leaf is-pcb-bound { - type boolean; - description "PCB bound"; - } - leaf is-local-address-ignore { - type boolean; - description "Sent drop packets"; - } - leaf is-ignore-vrf-filter { - type boolean; - description "Ignore VRF Filter"; - } - } - - grouping LPTS-OPTIONS { - description "LPTS options"; - leaf is-receive-filter { - type boolean; - description "Receive filter enabled"; - } - leaf is-ip-sla { - type boolean; - description "IP SLA"; - } - } - - grouping LPTS-PCB { - description "LPTS PCB information block"; - - container options { - description "Receive options"; - uses LPTS-OPTIONS; - } - - container lpts-flags { - description "LPTS flags"; - uses LPTS-FLAGS; - } - - container accept-mask { - description "AcceptMask"; - uses LPTS-ACCEPT-MASK; - } - leaf ttl { - type uint8; - description "Minimum TTL"; - } - leaf flow-types-info { - type uint32; - description "flow information"; - } - - list filter { - description "Interface Filters"; - uses LPTS-RX-FILTER; - } - } - - grouping COMMON-PCB-INFO { - description "Common information for all PCB types"; - - container lpts-pcb { - description "LPTS PCB information"; - uses LPTS-PCB; - } - leaf af-name { - type Addr-family; - description "Address Family"; - } - } - - grouping IP-ADDR { - description "IP Address"; - leaf af-name { - type Addr-family; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'inet'" { - description "../AFName = 'INET'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../af-name = 'inet6'" { - description "../AFName = 'INET6'"; - } - type Lpts-ipv6-address; - description "IPv6 address"; - } - } - - grouping SHOW-PCB-INFO { - description "PCB information to display"; - - container local-address { - description "Local IP address"; - uses IP-ADDR; - } - - container foreign-address { - description "Remote IP address"; - uses IP-ADDR; - } - - container common { - description "Common PCB information"; - uses COMMON-PCB-INFO; - } - leaf l4-protocol { - type uint32; - description "Layer 4 protocol"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf foreign-port { - type uint16; - description "Remote port"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub3.yang deleted file mode 100644 index 06670ed..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub3.yang +++ /dev/null @@ -1,71 +0,0 @@ -submodule Cisco-IOS-XR-ip-udp-oper-sub3 { - - belongs-to Cisco-IOS-XR-ip-udp-oper { - prefix Cisco-IOS-XR-ip-udp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping TRANSP-CLIENT-STATS-BAG { - description "Aggregated statistics of a transport client"; - leaf client-jid { - type int32; - description "Job ID of the transport client"; - } - leaf client-name { - type string { - length "0..21"; - } - description "Transport client name"; - } - leaf ipv4-received-packets { - type uint32; - description "Total IPv4 packets received from client"; - } - leaf ipv4-sent-packets { - type uint32; - description "Total IPv4 packets sent to client"; - } - leaf ipv6-received-packets { - type uint32; - description "Total IPv6 packets received from app"; - } - leaf ipv6-sent-packets { - type uint32; - description "Total IPv6 packets sent to app"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub4.yang deleted file mode 100644 index 79ffe0f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper-sub4.yang +++ /dev/null @@ -1,69 +0,0 @@ -submodule Cisco-IOS-XR-ip-udp-oper-sub4 { - - belongs-to Cisco-IOS-XR-ip-udp-oper { - prefix Cisco-IOS-XR-ip-udp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping IP-UDP { - description "UDP Traffic Information"; - leaf udp-input-packets { - type uint32; - description "UDP Received"; - } - leaf udp-checksum-error-packets { - type uint32; - description "UDP Checksum Errors"; - } - leaf udp-no-port-packets { - type uint32; - description "UDP No Port"; - } - leaf udp-bad-length-packets { - type uint32; - description "UDP bad length"; - } - leaf udp-output-packets { - type uint32; - description "UDP Transmitted"; - } - leaf udp-dropped-packets { - type uint32; - description "UDP drop for other reason"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper.yang deleted file mode 100644 index e08195a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ip-udp-oper.yang +++ /dev/null @@ -1,252 +0,0 @@ -module Cisco-IOS-XR-ip-udp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper"; - - - prefix "ip-udp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ip-udp-oper-sub4 { - revision-date 2016-02-26; - } - - include Cisco-IOS-XR-ip-udp-oper-sub3 { - revision-date 2016-02-26; - } - - include Cisco-IOS-XR-ip-udp-oper-sub2 { - revision-date 2016-02-26; - } - - include Cisco-IOS-XR-ip-udp-oper-sub1 { - revision-date 2016-02-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ip-udp package operational data. - - This module contains definitions - for the following management objects: - udp: IP UDP Operational Data - udp-connection: udp connection - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-26" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Lpts-pcb-query { - type enumeration { - enum all { - value 0; - description "No filter"; - } - enum static-policy { - value 1; - description "Static policy filter"; - } - enum interface { - value 2; - description "Interface filter"; - } - enum packet { - value 3; - description "Packet type filter"; - } - } - description "Lpts pcb query"; - } - - container udp { - config false; - description "IP UDP Operational Data"; - - container nodes { - description "Node-specific UDP operational data"; - - list node { - key "node-name"; - description "UDP operational data for a particular node"; - - container statistics { - description "Statistical UDP operational data for a node"; - - container ipv4-traffic { - description "UDP Traffic statistics for IPv4"; - uses IP-UDP; - } - - container ipv6-traffic { - description "UDP Traffic statistics for IPv6"; - uses IP-UDP; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container udp-connection { - config false; - description "udp connection"; - - container nodes { - description "List of UDP connections nodes"; - - list node { - key "node-name"; - description "Information about a particular node"; - - container statistics { - description "Statistics of UDP connections"; - - container clients { - description "Table listing clients"; - - list client { - key "client-id"; - description "Describing Client ID"; - leaf client-id { - type uint32 { - range "0..4294967295"; - } - description - "Displaying client's aggregated statistics"; - } - uses TRANSP-CLIENT-STATS-BAG; - } - } - - container summary { - description - "Summary statistics across all UDP connections"; - uses UDP-SH-STATS-BAG; - } - - container pcb-statistics { - description - "Table listing the UDP connections for which - statistics are provided"; - - list pcb-statistic { - key "pcb-address"; - description - "Satistics associated with a particular PCB"; - leaf pcb-address { - type uint32 { - range "0..4294967295"; - } - description "Protocol Control Block address"; - } - uses UDP-SH-PCB-STATS-BAG; - } - } - } - - container lpts { - description "LPTS statistical data"; - - container queries { - description "List of query options"; - - list query { - key "query-name"; - description "Query option"; - - container pcbs { - description "List of PCBs"; - - list pcb { - key "pcb-address"; - description "A PCB information"; - leaf pcb-address { - type uint32 { - range "0..4294967295"; - } - description "PCB address"; - } - uses SHOW-PCB-INFO; - } - } - leaf query-name { - type Lpts-pcb-query; - description "Query option"; - } - } - } - } - - container pcb-details { - description - "Detail information for list of UDP connections - ."; - - list pcb-detail { - key "pcb-address"; - description "Detail information about a UDP connection"; - leaf pcb-address { - type uint32 { - range "0..4294967295"; - } - description "Protocol Control Block address"; - } - uses UDP-SH-TABLE-BAG; - } - } - - container pcb-briefs { - description - "Brief information for list of UDP connections."; - - list pcb-brief { - key "pcb-address"; - description "Brief information about a UDP connection"; - leaf pcb-address { - type uint32 { - range "0..4294967295"; - } - description "Protocol Control Block address"; - } - uses UDP-SH-BRIEF-BAG; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ace-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ace-cfg.yang deleted file mode 100644 index 223aecb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ace-cfg.yang +++ /dev/null @@ -1,486 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ace-cfg { - - belongs-to Cisco-IOS-XR-ipv4-acl-cfg { - prefix ipv4-acl-cfg; - } - - import Cisco-IOS-XR-ipv4-acl-datatypes { - prefix "ipv4-acl-dt"; - } - - import ietf-inet-types { - prefix "inet"; - } - - import Cisco-IOS-XR-types { - prefix "xr"; - } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv4 ACL entry configuration. - - Copyright (c) 2013, 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-08" { - description - "6.3.1 fragment-type revision"; - } - - revision "2017-05-11" { - description - "6.3.1 revision"; - } - - revision "2016-11-07" { - description - "6.2.1 revision"; - } - - revision "2015-11-09" { - description - "Initial revision."; - } - - typedef Next-hop-type { - type enumeration { - enum none-next-hop { - description "None next-hop."; - } - enum regular-next-hop { - description "Regular next-hop."; - } - enum default-next-hop { - description "Default next-hop."; - } - } - description "Next-hop type."; - } - - grouping IPV4-ACE { - description "IPv4 ACL entry."; - leaf grant { - type ipv4-acl-dt:Ipv4-acl-grant-enum; - description "Whether to forward or drop packets matching the - ACE."; - } - - leaf protocol-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "Protocol operator. Leave unspecified - if no protocol comparison is to be done."; - } - - leaf protocol { - type ipv4-acl-dt:Ipv4-acl-protocol-number; - description "Protocol to match."; - } - - leaf protocol2 { - type ipv4-acl-dt:Ipv4-acl-protocol-number; - description "Protocol2 to match."; - } - - container source-network { - description "Source network settings."; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source IPv4 address to match, leave unspecified - for any."; - } - leaf source-wild-card-bits { - type inet:ipv4-address-no-zone; - description "Wildcard bits to apply to source address - (if specified), leave unspecified for no - wildcarding."; - } - leaf source-prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix length to apply to source address - (if specified), leave unspecified for no - wildcarding."; - } - } - - container destination-network { - description "Destination network settings."; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination IPv4 address to match (if a protocol - was specified), leave unspecified for any."; - } - leaf destination-wild-card-bits { - type inet:ipv4-address-no-zone; - description "Wildcard bits to apply to destination address - (if specified), leave unspecified for no - wildcarding."; - } - leaf destination-prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix length to apply to destination address - (if specified), leave unspecified for no - wildcarding."; - } - } - - container source-port { - when "../protocol = '6' or ../protocol = 'tcp' or " + - "../protocol = '17' or ../protocol = 'udp' or " + - "../protocol = '132' or ../protocol = 'sctp'" { - description "Applicable only to TCP, SCTP and UDP."; - } - description "Source port settings."; - leaf source-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "Source comparison operator . Leave unspecified - if no source port comparison is to be done."; - } - leaf first-source-port { - type ipv4-acl-dt:Ipv4-acl-port-number; - description "First source port for comparison, leave - unspecified if source port comparison is not to - be performed."; - } - leaf second-source-port { - type ipv4-acl-dt:Ipv4-acl-port-number; - description "Second source port for comparion, leave - unspecified if source port comparison is not to - be performed."; - } - } - - container destination-port { - when "../protocol = '6' or ../protocol = 'tcp' or " + - "../protocol = '17' or ../protocol = 'udp' or " + - "../protocol = '132' or ../protocol = 'sctp'" { - description "Applicable only to TCP, SCTP and UDP."; - } - description "Destination port settings."; - leaf destination-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "Destination comparison operator. Leave - unspecified if no destination port comparison is - to be done."; - } - leaf first-destination-port { - type ipv4-acl-dt:Ipv4-acl-port-number; - description "First destination port for comparison, leave - unspecified if destination port comparison is - not to be performed."; - } - leaf second-destination-port { - type ipv4-acl-dt:Ipv4-acl-port-number; - description "Second destination port for comparion, leave - unspecified if destination port comparison is - not to be performed."; - } - } - - container icmp { - when "../protocol = '1' or ../protocol = 'icmp'" { - description "Applicable only to ICMP."; - } - description "ICMP settings."; - leaf icmp-type-code { - type ipv4-acl-dt:Ipv4-acl-icmp-type-code-enum; - description "Well known ICMP message code types to match, - leave unspecified if ICMP message code type - comparion is not to be performed."; - } - } - - container tcp { - when "../protocol = '6' or ../protocol = 'tcp'" { - description "Applicable only to TCP."; - } - description "TCP settings."; - leaf tcp-bits-match-operator { - type ipv4-acl-dt:Ipv4-acl-tcp-match-operator-enum; - description "TCP Bits match operator. Leave unspecified if - flexible comparison of TCP bits is not - required."; - } - leaf tcp-bits { - type ipv4-acl-dt:Ipv4-acl-tcp-bits-number; - description "TCP bits to match. - Leave unspecified if comparison of TCP bits is - not required."; - } - leaf tcp-bits-mask { - type ipv4-acl-dt:Ipv4-acl-tcp-bits-number; - description "TCP bits mask to use for flexible TCP matching. - Leave unspecified if tcp-bits-match-operator is - unspecified."; - } - } - - container packet-length { - description "Packet length settings."; - leaf packet-length-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "Packet length operator applicable if Packet - length is to be compared. Leave unspecified if - no packet length comparison is to be done."; - } - leaf packet-length-min { - type ipv4-acl-dt:Ipv4-acl-plen-range; - description "Minimum packet length for comparison, leave - unspecified if packet length comparison is not - to be performed or if only the maximum packet - length should be considered."; - } - leaf packet-length-max { - type ipv4-acl-dt:Ipv4-acl-plen-range; - description "Maximum packet length for comparion, leave - unspecified if packet length comparison is not - to be performed or if only the minimum packet - length should be considered."; - } - } - - container time-to-live { - description "TTL settings."; - leaf time-to-live-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "TTL operator is applicable if TTL is to be - compared. Leave unspecified if TTL - classification is not required."; - } - leaf time-to-live-min { - type ipv4-acl-dt:Ipv4-acl-ttl-range; - description "TTL value for comparison OR Minimum TTL value - for TTL range comparision, leave unspecified if - TTL classification is not required."; - } - leaf time-to-live-max { - type ipv4-acl-dt:Ipv4-acl-ttl-range; - description "Maximum TTL for comparion, leave unspecified if - TTL comparison is not to be performed or if only - the minimum TTL should be considered."; - } - } - - container fragment-offset { - description "Fragment-offset settings."; - leaf fragment-offset-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "Fragment-offset operator if fragment-offset is - to be compared. Leave unspecified if fragment-offset - classification is not required."; - } - leaf fragment-offset-1 { - type ipv4-acl-dt:Ipv4-acl-frag-offset-range; - description "Fragment-offset value for comparison or first - fragment-offset value for fragment-offset range - comparision, leave unspecified if fragment-offset - classification is not required."; - } - leaf fragment-offset-2 { - type ipv4-acl-dt:Ipv4-acl-frag-offset-range; - description "Second fragment-offset value for comparion, - leave unspecified if fragment-offset comparison is - not to be performed or if only the first fragment-offset - should be considered."; - } - } - - leaf fragment-type { - type ipv4-acl-dt:Ipv4-acl-frag-flags; - description "Fragment flags, such as dont-fragment, is-fragment, - first-fragment and last-fragment."; - } - - container next-hop { - description "Next-hop settings."; - leaf next-hop-type { - type Next-hop-type; - description "The nexthop type."; - } - container next-hop-1 { - description "The first next-hop settings."; - leaf next-hop { - type inet:ipv4-address-no-zone; - description "The IPv4 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - container next-hop-2 { - description "The second next-hop settings."; - leaf next-hop { - type inet:ipv4-address-no-zone; - description "The IPv4 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - container next-hop-3 { - description "The third next-hop settings."; - leaf next-hop { - type inet:ipv4-address-no-zone; - description "The IPv4 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - } - - leaf counter-name { - type string; - description "Counter name."; - } - - leaf igmp-message-type { - when "../protocol = '2' or ../protocol = 'igmp'" { - description "Applicable only to IGMP."; - } - type ipv4-acl-dt:Ipv4-acl-igmp-number; - description "IGMP message type to match. Leave unspecified if - no message type comparison is to be done."; - } - - container dscp { - description "DSCP settings."; - leaf dscp-operator { - type ipv4-acl-dt:Ipv4-acl-operator-enum; - description "DSCP operator is applicable only when DSCP - range is configured. Leave unspecified if - DSCP range is not required."; - } - leaf dscp-min { - type ipv4-acl-dt:Ipv4-acl-dscp-number; - description "DSCP value to match or minimum DSCP value - for DSCP range comparison, leave unspecified - if DSCP comparion is not to be performed."; - } - leaf dscp-max { - type ipv4-acl-dt:Ipv4-acl-dscp-number; - description "Maximum DSCP value for comparion, leave - unspecified if DSCP comparison is not to - be performed or if only the minimum DSCP - should be considered."; - } - } - - leaf precedence { - type ipv4-acl-dt:Ipv4-acl-precedence-number; - description "Precedence value to match (if a protocol was - specified), leave unspecified if precedence - comparion is not to be performed."; - } - - leaf log-option { - type ipv4-acl-dt:Ipv4-acl-logging-enum; - description "Whether and how to log matches against this - entry."; - } - - leaf capture { - type boolean; - description "Enable capture."; - } - - leaf icmp-off { - type empty; - description "To turn off ICMP generation for deny ACEs."; - } - - leaf qos-group { - type ipv4-acl-dt:Ipv4-acl-qos-group-number; - description "Set qos-group number"; - } - - leaf set-ttl { - type ipv4-acl-dt:Ipv4-acl-ttl-range; - description "Set TTL Value. Ranges from 0-255"; - } - - leaf fragments { - when "../protocol = '1' or ../protocol = 'icmp' or " + - "../protocol = '2' or ../protocol = 'igmp' or " + - "../protocol = '6' or ../protocol = 'tcp' or " + - "../protocol = '17' or ../protocol = 'udp' or " + - "../protocol = '132' or ../protocol = 'sctp'" { - description "Applicable only to TCP, SCTP, UDP, IGMP and - ICMP."; - } - type empty; - description "Check non-initial fragments. Item is mutually - exclusive with TCP, SCTP, UDP, IGMP and ICMP - comparions and with logging."; - } - - leaf remark { - type string; - description "Comments or a description for the access list."; - } - - leaf source-prefix-group { - type string { - length "1..64"; - } - description "IPv4 source network object group name."; - } - - leaf destination-prefix-group { - type string { - length "1..64"; - } - description "IPv4 destination network object group name."; - } - - leaf source-port-group { - type string { - length "1..64"; - } - description "Source port object group name."; - } - - leaf destination-port-group { - type string { - length "1..64"; - } - description "Destination port object group name."; - } - - leaf sequence-str { - type string { - length "1..64"; - } - description "Sequence String for the ace."; - } - - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-cfg.yang deleted file mode 100644 index cafcde1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-cfg.yang +++ /dev/null @@ -1,199 +0,0 @@ -module Cisco-IOS-XR-ipv4-acl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg"; - - - prefix "ipv4-acl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-ipv4-acl-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ipv4-ace-cfg { - revision-date 2017-06-08; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-acl package configuration. - - This module contains definitions - for the following management objects: - ipv4-acl-and-prefix-list: IPv4 ACL configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-08" { - description - "6.3.1 fragment-type revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv4-acl-and-prefix-list { - description "IPv4 ACL configuration data"; - - container accesses { - description - "Table of access lists. Entries in this table - and the AccessListExistenceTable table must be - kept consistent"; - - list access { - key "access-list-name"; - description "An ACL"; - - container access-list-entries { - description "ACL entry table; contains list of ACEs"; - - list access-list-entry { - key "sequence-number"; - description - "An ACL entry; either a description (remark) - or an ACE to match against"; - leaf sequence-number { - type dt1:Ipv4-acl-sequence-number-range-acl; - description "Sequence number for this entry"; - } - uses IPV4-ACE; - } - } - leaf access-list-name { - type string; - description "Access list name - 64 characters max"; - } - } - } - - container prefixes { - description - "Table of ACL prefix lists. Entries in this - table and the PrefixListExistenceTable table - must be kept consistent"; - - list prefix { - key "prefix-list-name"; - description "Name of a prefix list"; - - container prefix-list-entries { - presence "Indicates a prefix-list-entries node is"+ - " configured."; - description "Sequence of entries forming a prefix list"; - - list prefix-list-entry { - key "sequence-number"; - description - "A prefix list entry; either a description - (remark) or a prefix to match against"; - leaf sequence-number { - type dt1:Ipv4-acl-sequence-number-range; - description "Sequence number of prefix list"; - } - leaf grant { - type dt1:Ipv4-acl-grant-enum; - description - "Whether to forward or drop packets matching - the prefix list"; - } - leaf prefix { - type inet:ipv4-address-no-zone; - description "IPv4 address prefix to match"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "Mask of IPv4 address prefix"; - } - leaf match-exact-length { - type empty; - description - "Set to perform an exact prefix length match. - Item is mutually exclusive with minimum and - maximum length match items"; - } - leaf exact-prefix-length { - type dt1:Ipv4-acl-prefix-length-range; - description - "If exact prefix length matching specified, - set the length of prefix to be matched"; - } - leaf match-max-length { - type empty; - description - "Set to perform a maximum length prefix match - . Item is mutually exclusive with exact - length match item"; - } - leaf max-prefix-length { - type dt1:Ipv4-acl-prefix-length-range; - description - "If maximum length prefix matching specified, - set the maximum length of prefix to be - matched"; - } - leaf match-min-length { - type empty; - description - "Set to perform a minimum length prefix match - . Item is mutually exclusive with exact - length match item"; - } - leaf min-prefix-length { - type dt1:Ipv4-acl-prefix-length-range; - description - "If minimum length prefix matching specified, - set the minimum length of prefix to be - matched"; - } - leaf remark { - type string; - description - "Comments or a description for the prefix - list. Item is mutually exclusive with all - others in the object"; - } - } - } - leaf prefix-list-name { - type string; - description "Prefix list name - max 32 characters"; - } - } - } - - container log-update { - description "Control access lists log updates"; - leaf threshold { - type dt1:Ipv4-acl-log-threshold-range; - description "Log update threshold (number of hits)"; - } - leaf rate { - type dt1:Ipv4-acl-log-rate-range; - description "Log update rate (log msgs per second)"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-datatypes.yang deleted file mode 100644 index 7d96b81..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-datatypes.yang +++ /dev/null @@ -1,967 +0,0 @@ -module Cisco-IOS-XR-ipv4-acl-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ipv4-acl-datatypes"; - - - prefix "ipv4-acl-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv4-acl-prefix-match-range { - type uint32 { - range "0..32"; - } - description "Ipv4 acl prefix match range"; - } - typedef Ipv4-acl-protocol-number { - type union { - type enumeration { - enum ip { - value 0; - description "Any IP protocol"; - } - enum icmp { - value 1; - description "Internet Control Message Protocol"; - } - enum igmp { - value 2; - description "Internet Gateway Message Protocol"; - } - enum ip-in-ip { - value 4; - description "IP in IP tunneling"; - } - enum tcp { - value 6; - description "Transport Control Protocol"; - } - enum igrp { - value 9; - description "Cisco's IGRP Routing Protocol"; - } - enum udp { - value 17; - description "User Datagram Protocol"; - } - enum gre { - value 47; - description "Cisco's GRE tunneling"; - } - enum esp { - value 50; - description "Encapsulation Security Protocol"; - } - enum ahp { - value 51; - description "Authentication Header Protocol"; - } - enum eigrp { - value 88; - description "Cisco's EIGRP Routing Protocol"; - } - enum ospf { - value 89; - description "OSPF Routing Protocol"; - } - enum nos { - value 94; - description "KA9Q NOS Compatible IP over IP tunneling"; - } - enum pim { - value 103; - description "Protocol Independent Multicast"; - } - enum pcp { - value 108; - description "Payload Compression Protocol"; - } - enum sctp { - value 132; - description "Stream Control Transmission Protocol"; - } - } - type uint32 { - range "0..255"; - } - } - description "Ipv4 acl protocol number"; - } - typedef Ipv4-acl-frag-offset-range { - type uint32 { - range "0..8191"; - } - description "Ipv4 acl frag offset range"; - } - typedef Ipv4-acl-prefix-length-range { - type uint32 { - range "0..32"; - } - description "Ipv4 acl prefix length range"; - } - typedef Ipv4-acl-tcp-match-operator-enum { - type enumeration { - enum match-all { - value 1; - description "Match only packet with all the given TCP bits"; - } - enum match-any { - value 3; - description - "Match only packet with any of the given TCP - bits"; - } - } - description "Ipv4 acl tcp match operator enum"; - } - typedef Ipv4-acl-grant-enum { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - } - description "Ipv4 acl grant enum"; - } - typedef Ipv4-acl-operator-enum { - type enumeration { - enum equal { - value 1; - description "Match only packets on a given port number"; - } - enum greater-than { - value 2; - description "Match only packet with a greater port number"; - } - enum less-than { - value 3; - description "Match only packet with a lower port number"; - } - enum not-equal { - value 4; - description "Match only packets not on a given port number"; - } - enum range { - value 5; - description - "Match only packets in the range of port numbers"; - } - } - description "Ipv4 acl operator enum"; - } - typedef Ipv4-acl-precedence-number { - type union { - type enumeration { - enum critical { - value 5; - description "Match packets with critical precedence"; - } - enum flash { - value 3; - description "Match packets with flash precedence"; - } - enum flash-override { - value 4; - description - "Match packets with flash override precedence"; - } - enum immediate { - value 2; - description "Match packets with immediate precedence"; - } - enum internet { - value 6; - description - "Match packets with internetwork control - precedence"; - } - enum network { - value 7; - description - "Match packets with network control precedence"; - } - enum priority { - value 1; - description "Match packets with priority precedence"; - } - enum routine { - value 0; - description "Match packets with routine precedence"; - } - } - type uint32 { - range "0..7"; - } - } - description "Ipv4 acl precedence number"; - } - typedef Ipv4-acl-plen-range { - type uint32 { - range "0..65535"; - } - description "Ipv4 acl plen range"; - } - typedef Ipv4-acl-ttl-range { - type uint32 { - range "0..255"; - } - description "Ipv4 acl ttl range"; - } - typedef Ipv4-acl-port-number { - type union { - type enumeration { - enum echo { - value 7; - description "Match on the 'echo' port number"; - } - enum discard { - value 9; - description "Match on the 'discard' port number"; - } - enum daytime { - value 13; - description - "Match on the 'daytime' port number (TCP/SCTP - only)"; - } - enum char-gen { - value 19; - description - "Match on the 'chargen' port number (TCP/SCTP - only)"; - } - enum ftp-data { - value 20; - description - "Match on the FTP data connections port number - (TCP/SCTP only)"; - } - enum ftp { - value 21; - description - "Match on the 'ftp' port number (TCP/SCTP only)"; - } - enum telnet { - value 23; - description - "Match on the 'telnet' port number (TCP/SCTP - only)"; - } - enum smtp { - value 25; - description - "Match on the 'smtp' port number (TCP/SCTP - only)"; - } - enum time { - value 37; - description "Match on the 'time' port number"; - } - enum name-server { - value 42; - description - "Match on the IEN116 name service port number - (UDP only)"; - } - enum who-is { - value 43; - description - "Match on the 'nicname' port number (TCP/SCTP - only)"; - } - enum tacacs { - value 49; - description "Match on the 'tacacs' port number"; - } - enum dns { - value 53; - description "Match on the 'dns' port number"; - } - enum boot-ps { - value 67; - description - "Match on the Bootstrap Protocol server port - number (UDP only)"; - } - enum boot-pc { - value 68; - description - "Match on the Bootstrap Protocol client port - number (UDP only)"; - } - enum tftp { - value 69; - description "Match on the 'tftp' port number (UDP only)"; - } - enum gopher { - value 70; - description - "Match on the 'gopher' port number (TCP/SCTP - only)"; - } - enum finger { - value 79; - description - "Match on the 'finger' port number (TCP/SCTP - only)"; - } - enum www { - value 80; - description - "Match on the 'http' port number (TCP/SCTP - only)"; - } - enum host-name { - value 101; - description - "Match on the NIC hostname server port number - (TCP/SCTP only)"; - } - enum pop2 { - value 109; - description - "Match on the 'pop2' port number (TCP/SCTP - only)"; - } - enum pop3 { - value 110; - description - "Match on the 'pop3' port number (TCP/SCTP - only)"; - } - enum sun-rpc { - value 111; - description "Match on the Sun RPC port number"; - } - enum ident { - value 113; - description - "Match on the 'ident' port number (TCP/SCTP - only)"; - } - enum nntp { - value 119; - description - "Match on the 'nntp' port number (TCP/SCTP - only)"; - } - enum ntp { - value 123; - description "Match on the 'ntp' port number (UDP only)"; - } - enum net-bios-ns { - value 137; - description - "Match on the NetBIOS name service port number - (UDP only)"; - } - enum net-bios-dgs { - value 138; - description - "Match on the NetBIOS datagram service port - number (UDP only)"; - } - enum net-bios-ss { - value 139; - description - "Match on the NetBIOS session service port - number (UDP only)"; - } - enum snmp { - value 161; - description "Match on the 'snmp' port number (UDP only)"; - } - enum snmp-trap { - value 162; - description - "Match on the SNMP traps port number (UDP only)"; - } - enum xdmcp { - value 177; - description "Match on the 'xdmcp' port number (UDP only)"; - } - enum bgp { - value 179; - description - "Match on the 'bgp' port number (TCP/SCTP only)"; - } - enum irc { - value 194; - description - "Match on the 'irc' port number (TCP/SCTP only)"; - } - enum dnsix { - value 195; - description - "Match on the DNSIX security protocol auditing - port number (UDP only)"; - } - enum mobile-ip { - value 434; - description - "Match on the mobile IP registration port - number (UDP only)"; - } - enum pim-auto-rp { - value 496; - description "Match on the PIM Auto-RP port number"; - } - enum isakmp { - value 500; - description - "Match on the 'isakmp' port number (UDP only)"; - } - enum exec-or-biff { - value 512; - description - "Match on the port used by TCP/SCTP for 'exec' - and by UDP for 'biff'"; - } - enum login-or-who { - value 513; - description - "Match on the port used by TCP/SCTP for 'login' - and by UDP for 'rwho'"; - } - enum cmd-or-syslog { - value 514; - description - "Match on the port used by TCP/SCTP for 'rcmd' - and by UDP for 'syslog'"; - } - enum lpd { - value 515; - description - "Match on the 'lpd' port number (TCP/SCTP only)"; - } - enum talk { - value 517; - description "Match on the 'talk' port number"; - } - enum rip { - value 520; - description "Match on the 'rip' port number (UDP only)"; - } - enum uucp { - value 540; - description - "Match on the 'uucp' port number (TCP/SCTP - only)"; - } - enum klogin { - value 543; - description - "Match on the Kerberos login port number - (TCP/SCTP only)"; - } - enum kshell { - value 544; - description - "Match on the Kerberos shell port number - (TCP/SCTP only)"; - } - enum ldp { - value 646; - description "Match on the LDP port"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Ipv4 acl port number"; - } - typedef Ipv4-acl-log-rate-range { - type uint32 { - range "1..1000"; - } - description "Ipv4 acl log rate range"; - } - typedef Ipv4-acl-igmp-number { - type union { - type enumeration { - enum host-query { - value 17; - description "Host query"; - } - enum host-report { - value 18; - description "Host report"; - } - enum dvmrp { - value 19; - description "Distance Vector Multicast Routing Protocol"; - } - enum pim { - value 20; - description "Portocol Independent Multicast"; - } - enum trace { - value 21; - description "Multicast Trace"; - } - enum v2-report { - value 22; - description "Version 2 report"; - } - enum v2-leave { - value 23; - description "Version 2 leave"; - } - enum mtrace-response { - value 30; - description "MTrace response"; - } - enum mtrace { - value 31; - description "MTrace"; - } - enum v3-report { - value 34; - description "Version 3 report"; - } - } - type uint32 { - range "0..255"; - } - } - description "Ipv4 acl igmp number"; - } - typedef Ipv4-acl-dscp-number { - type union { - type enumeration { - enum default { - value 0; - description "Default DSCP"; - } - enum af11 { - value 10; - description "Match packets with AF11 DSCP"; - } - enum af12 { - value 12; - description "Match packets with AF12 DSCP"; - } - enum af13 { - value 14; - description "Match packets with AF13 DSCP"; - } - enum af21 { - value 18; - description "Match packets with AF21 DSCP"; - } - enum af22 { - value 20; - description "Match packets with AF22 DSCP"; - } - enum af23 { - value 22; - description "Match packets with AF23 DSCP"; - } - enum af31 { - value 26; - description "Match packets with AF31 DSCP"; - } - enum af32 { - value 28; - description "Match packets with AF32 DSCP"; - } - enum af33 { - value 30; - description "Match packets with AF33 DSCP"; - } - enum af41 { - value 34; - description "Match packets with AF41 DSCP"; - } - enum af42 { - value 36; - description "Match packets with AF42 DSCP"; - } - enum af43 { - value 38; - description "Match packets with AF43 DSCP"; - } - enum cs1 { - value 8; - description "Match packets with CS1 (precedence 1) DSCP"; - } - enum cs2 { - value 16; - description "Match packets with CS2 (precedence 2) DSCP"; - } - enum cs3 { - value 24; - description "Match packets with CS3 (precedence 3) DSCP"; - } - enum cs4 { - value 32; - description "Match packets with CS4 (precedence 4) DSCP"; - } - enum cs5 { - value 40; - description "Match packets with CS5 (precedence 5) DSCP"; - } - enum cs6 { - value 48; - description "Match packets with CS6 (precedence 6) DSCP"; - } - enum cs7 { - value 56; - description "Match packets with CS7 (precedence 7) DSCP"; - } - enum ef { - value 46; - description "Match packets with EF DSCP"; - } - } - type uint32 { - range "0..63"; - } - } - description "Ipv4 acl dscp number"; - } - typedef Ipv4-acl-status-enum { - type enumeration { - enum disabled { - value 0; - description "Disabled"; - } - enum enabled { - value 1; - description "Enabled"; - } - } - description "Ipv4 acl status enum"; - } - typedef Ipv4-acl-icmp-code-range { - type uint32 { - range "0..255"; - } - description "Ipv4 acl icmp code range"; - } - typedef Ipv4-acl-qos-group-number { - type uint32 { - range "0..512"; - } - description "Ipv4 acl qos group number"; - } - typedef Ipv4-acl-sequence-number-range-acl { - type uint32 { - range "1..2147483643"; - } - description "Ipv4 acl sequence number range acl"; - } - typedef Ipv4-acl-log-threshold-range { - type uint32 { - range "1..2147483647"; - } - description "Ipv4 acl log threshold range"; - } - typedef Ipv4-acl-icmp-type-code-enum { - type enumeration { - enum echo-reply { - value 65535; - description "Echo reply"; - } - enum network-unreachable { - value 196608; - description "Network unreachable"; - } - enum host-unreachable { - value 196609; - description "Host unreachable"; - } - enum protocol-unreachable { - value 196610; - description "Protocol unreachable"; - } - enum port-unreachable { - value 196611; - description "Port unreachable"; - } - enum packet-too-big { - value 196612; - description "Fragmentation needed and DF set"; - } - enum source-route-failed { - value 196613; - description "Source route failed"; - } - enum network-unknown { - value 196614; - description "Network unknown"; - } - enum host-unknown { - value 196615; - description "Host unknown"; - } - enum host-isolated { - value 196616; - description "Host isolated"; - } - enum dod-net-prohibited { - value 196617; - description "Network prohibited"; - } - enum dod-host-prohibited { - value 196618; - description "Host prohibited"; - } - enum host-tos-unreachable { - value 196619; - description "Host unreachable for TOS"; - } - enum net-tos-unreachable { - value 196620; - description "Network unreachable for TOS"; - } - enum administratively-prohibited { - value 196621; - description "Administratively prohibited"; - } - enum host-precedence-unreachable { - value 196622; - description "Host unreachable for precedence"; - } - enum precedence-unreachable { - value 196623; - description "Precedence cutoff"; - } - enum unreachable { - value 262143; - description "All unreachables"; - } - enum source-quench { - value 327679; - description "Source quenches"; - } - enum network-redirect { - value 327680; - description "Network redirect"; - } - enum host-redirect { - value 327681; - description "Host redirect"; - } - enum net-tos-redirect { - value 327682; - description "Network redirect for TOS"; - } - enum host-tos-redirect { - value 327683; - description "Host redirect for TOS"; - } - enum redirect { - value 393215; - description "All redirects"; - } - enum alternate-address { - value 458751; - description "Alternate address"; - } - enum echo { - value 589823; - description "Echo (ping)"; - } - enum router-advertisement { - value 655359; - description "Router discovery advertisements"; - } - enum router-solicitation { - value 720895; - description "Router discovery solicitations"; - } - enum ttl-exceeded { - value 720896; - description "TTL exceeded"; - } - enum reassembly-timeout { - value 720897; - description "Reassembly timeout"; - } - enum time-exceeded { - value 786431; - description "All time exceeds"; - } - enum general-parameter-problem { - value 786432; - description "Parameter problem"; - } - enum option-missing { - value 786433; - description "Parameter required but not present"; - } - enum no-room-for-option { - value 786434; - description "Parameter required but no room"; - } - enum parameter-problem { - value 851967; - description "All parameter problems"; - } - enum timestamp-request { - value 917503; - description "Timestamp requests"; - } - enum timestamp-reply { - value 983039; - description "Timestamp replies"; - } - enum information-request { - value 1048575; - description "Information request"; - } - enum information-reply { - value 1114111; - description "Information replies"; - } - enum mask-request { - value 1179647; - description "Mask requests"; - } - enum mask-reply { - value 1245183; - description "Mask replies"; - } - enum traceroute { - value 2031615; - description "Traceroute"; - } - enum conversion-error { - value 2097151; - description "Datagram conversion"; - } - enum mobile-redirect { - value 2162687; - description "Mobile host redirect"; - } - } - description "Ipv4 acl icmp type code enum"; - } - typedef Ipv4-acl-sequence-number-range { - type uint32 { - range "1..2147483646"; - } - description "Ipv4 acl sequence number range"; - } - typedef Ipv4-acl-frag-flags { - type enumeration { - enum dont-fragment { - value 1; - description "Match don't fragment flag"; - } - enum is-fragment { - value 2; - description "Match is fragment flag"; - } - enum first-fragment { - value 4; - description "Match first fragment flag"; - } - enum last-fragment { - value 8; - description "Match last fragment flag"; - } - } - description "Ipv4 acl frag flags"; - } - typedef Ipv4-acl-tcp-bits-number { - type union { - type enumeration { - enum established { - value 20; - description "Match established connections (0x14)"; - } - enum ack { - value 16; - description "Match on the ACK bit (0x10)"; - } - enum rst { - value 4; - description "Match on the RST bit (0x04)"; - } - enum fin { - value 1; - description "Match on the FIN bit (0x01)"; - } - enum psh { - value 8; - description "Match on the PSH bit (0x08)"; - } - enum syn { - value 2; - description "Match on the SYN bit (0x02)"; - } - enum urg { - value 32; - description "Match on the URG bit (0x20)"; - } - } - type uint32 { - range "0..63"; - } - } - description "Ipv4 acl tcp bits number"; - } - typedef Ipv4-acl-icmp-type-range { - type uint32 { - range "0..255"; - } - description "Ipv4 acl icmp type range"; - } - typedef Ipv4-acl-logging-enum { - type enumeration { - enum log { - value 1; - description "Log matches against this entry"; - } - enum log-input { - value 2; - description - "Log matches against this entry, including input - interface"; - } - } - description "Ipv4 acl logging enum"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang deleted file mode 100644 index a2d1a2c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang +++ /dev/null @@ -1,638 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-acl-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-acl-oper { - prefix Cisco-IOS-XR-ipv4-acl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-acl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Acl-frag-offset-operator { - type Acl-port-operator; - description "Acl frag offset operator"; - } - typedef Bag-acl-nh-at-status { - type enumeration { - enum unknown { - description "AT State Unknown"; - } - enum up { - description "AT State UP"; - } - enum down { - description "AT State DOWN"; - } - enum not-present { - description "AT State Not Present"; - } - enum max { - description "invalid status"; - } - } - description "Bag acl nh at status"; - } - typedef Bag-acl-nh-status { - type enumeration { - enum not-present { - description "State Not Present"; - } - enum unknown { - description "State Unknown"; - } - enum down { - description "State DOWN"; - } - enum up { - description "State UP"; - } - enum max { - description "invalid status"; - } - } - description "Bag acl nh status"; - } - typedef Bag-acl-nh { - type enumeration { - enum nexthop-none { - description "Next Hop None"; - } - enum nexthop-default { - description "Nexthop Default"; - } - enum nexthop { - description "Nexthop"; - } - } - description "Bag acl nh"; - } - typedef Acl-ttl-operator { - type Acl-port-operator; - description "Acl ttl operator"; - } - typedef Acl-plen-operator { - type Acl-port-operator; - description "Acl plen operator"; - } - typedef Acl-tcpflags-operator { - type enumeration { - enum match-none { - description "Match None"; - } - enum match-all { - description "Match All"; - } - enum match-any-old { - description "Match any old"; - } - enum match-any { - description "Match any"; - } - } - description "Acl tcpflags operator"; - } - typedef Acl-log { - type enumeration { - enum log-none { - value 0; - description "Log None"; - } - enum log { - value 1; - description "Log Regular"; - } - enum log-input { - value 2; - description "Log Input"; - } - } - description "Acl log"; - } - typedef Acl-port-operator { - type enumeration { - enum none { - value 0; - description "None"; - } - enum eq { - value 1; - description "Equal"; - } - enum gt { - value 2; - description "Greater than"; - } - enum lt { - value 3; - description "Less than"; - } - enum neq { - value 4; - description "Not Equal"; - } - enum range { - value 5; - description "Range"; - } - enum onebyte { - value 8; - description "One Byte"; - } - enum twobytes { - value 9; - description "Two Bytes"; - } - } - description "Acl port operator"; - } - typedef Acl-action { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - enum encrypt { - value 2; - description "Encrypt"; - } - enum bypass { - value 3; - description "Bypass"; - } - enum fallthrough { - value 4; - description "Fallthrough"; - } - enum invalid { - value 5; - description "Invalid"; - } - } - description "Acl action"; - } - typedef Acl-ace1 { - type enumeration { - enum normal { - description "This is Normal ACE"; - } - enum remark { - description "This is Remark ACE"; - } - enum abf { - description "This is ABF ACE"; - } - } - description "ACE Types"; - } - typedef Acl-ace { - type Acl-ace1; - description "ACE Types"; - } - - grouping IPV4-ACL-EDM-OOR-DETAIL { - description "Oor deatil config BAG"; - leaf default-max-ac-ls { - type uint32; - description "default max configurable acls"; - } - leaf default-max-ac-es { - type uint32; - description "default max configurable aces"; - } - leaf current-configured-ac-ls { - type uint32; - description "Current configured acls"; - } - leaf current-configured-ac-es { - type uint32; - description "Current configured aces"; - } - leaf current-max-configurable-ac-ls { - type uint32; - description "Current max configurable acls"; - } - leaf current-max-configurable-ac-es { - type uint32; - description "Current max configurable aces"; - } - leaf max-configurable-ac-ls { - type uint32; - description "max configurable acls"; - } - leaf max-configurable-ac-es { - type uint32; - description "max configurable aces"; - } - } - - grouping IPV4-ACL-BAG-OBJGRP-INFO { - description "Objgrp info structure"; - leaf obj-grp-name { - type string { - length "0..64"; - } - description "Object-group name"; - } - leaf obj-grp-type { - type uint32; - description "Object-group Type"; - } - } - - grouping IPV4-ACL-EDM-OBJGRP { - description "Objgrp BAG"; - - list obj-grp-info { - description "Object-group info"; - uses IPV4-ACL-BAG-OBJGRP-INFO; - } - } - - grouping ACL-UDF-ACE { - description "ACL UDF ACE"; - leaf udf-name { - type string { - length "0..17"; - } - description "UDF Name"; - } - leaf udf-value { - type uint32; - description "UDF Value"; - } - leaf udf-mask { - type uint32; - description "UDF Mask"; - } - } - - grouping IPV4-ACL-BAG-HW-NH-INFO { - description "HW_NH_Info structure"; - leaf next-hop { - type uint32; - description "The Next Hop"; - } - leaf type { - type Bag-acl-nh; - description "the next-hop type"; - } - leaf vrf-name { - type string { - length "0..32"; - } - description "VRF name"; - } - } - - grouping IPV4-ACL-BAG-NH-INFO { - description "NH_Info structure"; - leaf next-hop { - type inet:ipv4-address; - description "The next hop"; - } - leaf track-name { - type string; - description "Track name"; - } - leaf status { - type Bag-acl-nh-status; - description "The next hop status"; - } - leaf at-status { - type Bag-acl-nh-at-status; - description "The next hop at status"; - } - leaf is-acl-next-hop-exist { - type boolean; - description "The nexthop exist"; - } - } - - grouping IPV4-ACL-EDM-ACE { - description "ACLE bag"; - - container hw-next-hop-info { - description "HW Next hop info"; - uses IPV4-ACL-BAG-HW-NH-INFO; - } - leaf item-type { - type Acl-ace; - description "ACE type (acl, remark)"; - } - leaf sequence { - type uint32; - description "ACLE sequence number"; - } - leaf grant { - type Acl-action; - description "Permit/deny"; - } - leaf protocol-operator { - type uint16; - description "IPv4 protocol operator"; - } - leaf protocol { - type uint16; - description "IPv4 protocol type"; - } - leaf protocol2 { - type uint16; - description "IPv4 protocol 2"; - } - leaf source-address { - type inet:ipv4-address; - description "Source address"; - } - leaf source-address-mask { - type inet:ipv4-address; - description "Source mask"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf destination-address-mask { - type inet:ipv4-address; - description "Destination mask"; - } - leaf source-operator { - type Acl-port-operator; - description "Source operator"; - } - leaf source-port1 { - type uint16; - description "Source port 1"; - } - leaf source-port2 { - type uint16; - description "Source port 2"; - } - leaf sorce-operator { - type Acl-port-operator; - description "Deprecated by Source operator"; - } - leaf sorce-port1 { - type uint16; - description "Deprecated by SourcePort1"; - } - leaf sorce-port2 { - type uint16; - description "Deprecated by SourcePort2"; - } - leaf destination-operator { - type Acl-port-operator; - description "Destination operator"; - } - leaf destination-port1 { - type uint16; - description "Destination port 1"; - } - leaf destination-port2 { - type uint16; - description "Destination port 2"; - } - leaf log-option { - type Acl-log; - description "Log option"; - } - leaf counter-name { - type string; - description "Counter name"; - } - leaf capture { - type boolean; - description "Capture option, TRUE if enabled"; - } - leaf dscp-present { - type boolean; - description "DSCP present"; - } - leaf dscp { - type uint8; - description "DSCP or DSCP range start"; - } - leaf dscp2 { - type uint8; - description "DSCP Range End"; - } - leaf dscp-operator { - type uint8; - description "DSCP Operator"; - } - leaf precedence-present { - type boolean; - description "Precedence present"; - } - leaf precedence { - type uint8; - description "Precedence"; - } - leaf tcp-flags-operator { - type Acl-tcpflags-operator; - description "TCP flags operator"; - } - leaf tcp-flags { - type uint8; - description "TCP flags"; - } - leaf tcp-flags-mask { - type uint8; - description "TCP flags mask"; - } - leaf fragments { - type uint8; - description "Fragments"; - } - leaf packet-length-operator { - type Acl-plen-operator; - description "Packet length operator"; - } - leaf packet-length1 { - type uint16; - description "Packet length 1"; - } - leaf packet-length2 { - type uint16; - description "Packet length 2"; - } - leaf ttl-operator { - type Acl-ttl-operator; - description "TTL operator"; - } - leaf ttl1 { - type uint16; - description "TTL 1"; - } - leaf ttl2 { - type uint16; - description "TTL 2"; - } - leaf no-stats { - type boolean; - description "No stats"; - } - leaf hits { - type uint64; - description "Number of hits"; - } - leaf is-icmp-off { - type boolean; - description "True if ICMP off"; - } - leaf qos-group { - type uint16; - description "Qos group number"; - } - leaf next-hop-type { - type Bag-acl-nh; - description "Next hop type"; - } - leaf remark { - type string; - description "Remark String"; - } - leaf dynamic { - type boolean; - description "Is dynamic ACE"; - } - leaf source-prefix-group { - type string; - description "Source prefix object-group"; - } - leaf destination-prefix-group { - type string; - description "Destination prefix object-group"; - } - leaf source-port-group { - type string; - description "Source port object-group"; - } - leaf destination-port-group { - type string; - description "Destination port object-group"; - } - leaf acl-name { - type string; - description "ACL Name"; - } - leaf sequence-str { - type string; - description "Sequence String"; - } - leaf fragment-offset-operator { - type Acl-frag-offset-operator; - description "Fragment offset operator"; - } - leaf fragment-offset1 { - type uint16; - description "Fragment offset 1"; - } - leaf fragment-offset2 { - type uint16; - description "Fragment offset 2"; - } - leaf set-ttl { - type uint16; - description "SET TTL"; - } - leaf fragment-flags { - type uint8; - description "Fragment flags"; - } - - list next-hop-info { - max-elements "3"; - description "Next hop info"; - uses IPV4-ACL-BAG-NH-INFO; - } - - list udf { - description "UDF BAG"; - uses ACL-UDF-ACE; - } - } - - grouping IPV4-PFX-EDM-ACE { - description "Prefix list entry BAG"; - leaf item-type { - type Acl-ace; - description "ACE type (prefix, remark)"; - } - leaf sequence { - type uint32; - description "ACLE sequence number"; - } - leaf grant { - type Acl-action; - description "Grant value permit/deny "; - } - leaf prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf prefix-length { - type uint32; - description "Prefix length "; - } - leaf operator { - type Acl-port-operator; - description "Port Operator"; - } - leaf minimum-length { - type uint32; - description "Min length"; - } - leaf maximum-length { - type uint32; - description "Maximum length"; - } - leaf hits { - type uint32; - description "Number of hits"; - } - leaf remark { - type string; - description "Remark String"; - } - leaf acl-name { - type string; - description "ACL Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper.yang deleted file mode 100644 index 079ac50..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-acl-oper.yang +++ /dev/null @@ -1,229 +0,0 @@ -module Cisco-IOS-XR-ipv4-acl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper"; - - - prefix "ipv4-acl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ipv4-acl-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-acl package operational data. - - This module contains definitions - for the following management objects: - ipv4-acl-and-prefix-list: Root class of IPv4 Oper schema tree - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv4-acl-and-prefix-list { - config false; - description "Root class of IPv4 Oper schema tree"; - - container access-list-manager { - description - "Access list manager containing access lists and - prefix lists"; - - container prefixes { - description "Table of prefix lists"; - - list prefix { - key "prefix-list-name"; - description "Name of the prefix list"; - - container prefix-list-sequences { - description - "Table of all the SequenceNumbers per prefix - list"; - - list prefix-list-sequence { - key "sequence-number"; - description "Sequence Number of a prefix list entry"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description - "Sequence Number of the prefix list entry"; - } - uses IPV4-PFX-EDM-ACE; - } - } - leaf prefix-list-name { - type string; - description "Name of the prefix list"; - } - } - } - - container accesses { - description - "Access listL class displaying Usage and Entries"; - - list access { - key "access-list-name"; - description "Name of the Access List"; - - container access-list-sequences { - description - "Table of all the SequenceNumbers per access - list"; - - list access-list-sequence { - key "sequence-number"; - description "Sequence Number of an access list entry"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description "ACLEntry Sequence Number"; - } - uses IPV4-ACL-EDM-ACE; - } - } - - container object-group { - description "Object Group in an Access list"; - uses IPV4-ACL-EDM-OBJGRP; - } - leaf access-list-name { - type string; - description "Name of the Access List"; - } - } - } - - container usages { - description - "Table of Usage statistics of access lists at - different nodes"; - - list usage { - description - "Usage statistics of an access list at a node"; - leaf node-name { - type xr:Node-id; - description "Node where access list is applied"; - } - leaf application-id { - type dt1:Acl-usage-app-id-enum; - description "Application ID"; - } - leaf access-list-name { - type string; - description "Name of the access list"; - } - leaf usage-details { - type string; - mandatory true; - description "Usage Statistics Details"; - } - } - } - } - - container oor { - description - "Out Of Resources, Limits to the resources - allocatable"; - - container details { - description - "Details of the Overall Out Of Resources Limits"; - uses IPV4-ACL-EDM-OOR-DETAIL; - } - - container oor-prefixes { - description "Resource occupation details for prefix lists"; - - list oor-prefix { - key "prefix-list-name"; - description - "Resource occupation details for a particular - prefix list"; - leaf prefix-list-name { - type string; - description "Name of a prefix list"; - } - uses IPV4-ACL-EDM-OOR-DETAIL; - } - } - - container oor-accesses { - description "Resource occupation details for access lists"; - - list oor-access { - key "access-list-name"; - description - "Resource occupation details for a particular - access list"; - leaf access-list-name { - type string; - description "Name of the Access List"; - } - uses IPV4-ACL-EDM-OOR-DETAIL; - } - } - - container access-list-summary { - description - "Resource limits pertaining to access lists only"; - - container details { - description - "Details containing the resource limits of the - access lists"; - uses IPV4-ACL-EDM-OOR-DETAIL; - } - } - - container prefix-list-summary { - description - "Summary of the prefix Lists resource - utilization"; - - container details { - description - "Summary Detail of the prefix list Resource - Utilisation"; - uses IPV4-ACL-EDM-OOR-DETAIL; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-cfg.yang deleted file mode 100644 index 13de0ad..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-cfg.yang +++ /dev/null @@ -1,407 +0,0 @@ -module Cisco-IOS-XR-ipv4-arp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg"; - - - prefix "ipv4-arp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-arp package configuration. - - This module contains definitions - for the following management objects: - arp: ARP configuraiton - iedge-cfg: iedge cfg - arpgmp: arpgmp - arp-redundancy: arp redundancy - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Arp-entry { - type enumeration { - enum static { - value 0; - description "Static ARP entry type"; - } - enum alias { - value 1; - description "Alias ARP entry type"; - } - } - description "Arp entry"; - } - typedef Arp-encap { - type enumeration { - enum arpa { - value 1; - description "Encapsulation type ARPA"; - } - enum srp { - value 4; - description "Encapsulation type SRP"; - } - enum srpa { - value 5; - description "Encapsulation type SRPA"; - } - enum srpb { - value 6; - description "Encapsulation type SRPB"; - } - } - description "Arp encap"; - } - - container arp { - description "ARP configuraiton"; - leaf max-entries { - type uint32 { - range "1..256000"; - } - description - "Configure maximum number of safe ARP entries per - line card"; - } - leaf inner-cos { - type uint32 { - range "0..7"; - } - description "Configure inner cos values for arp packets"; - } - leaf outer-cos { - type uint32 { - range "0..7"; - } - description "Configure outer cos values for arp packets"; - } - } - - container iedge-cfg { - description "iedge cfg"; - leaf subscriber-uncond-proxy { - type empty; - description "ARP Subscriber Enable Unconditional Proxy ARP"; - } - leaf subscriber-scale-mode { - type empty; - description "ARP Subscriber Scale Mode Configuration"; - } - } - - container arpgmp { - description "arpgmp"; - - list vrf { - key "vrf-name"; - description - "Per VRF configuration, for the default VRF use - 'default'"; - - container entries { - description "ARP static and alias entry configuration"; - - list entry { - key "address"; - description - "ARP static and alias entry configuration item"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP Address"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - leaf encapsulation { - type Arp-encap; - description "Encapsulation type"; - } - leaf entry-type { - type Arp-entry; - description "Entry type"; - } - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container arp-redundancy { - description "arp redundancy"; - - container redundancy { - presence "Indicates a redundancy node is configured."; - description "Configure parameter for ARP Geo redundancy"; - - container groups { - description "Table of Group"; - - list group { - key "group-id"; - description "None"; - - container peers { - description "Table of Peer"; - - list peer { - key "prefix-string"; - description "None"; - leaf prefix-string { - type inet:ip-address-no-zone; - description "Neighbor IPv4 address"; - } - } - } - - container interface-list { - presence "Indicates a interface-list node is"+ - " configured."; - description "List of Interfaces for this Group"; - - container interfaces { - description "Table of Interface"; - - list interface { - key "interface-name"; - description "Interface for this Group"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-id { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Interface Id for the interface"; - } - } - } - leaf enable { - type empty; - mandatory true; - description - "Enable List of Interfaces for this Group. - Deletion of this object also causes deletion - of all associated objects under - InterfaceList."; - } - } - leaf source-interface { - type xr:Interface-name; - description "Interface name"; - } - leaf group-id { - type uint32 { - range "1..32"; - } - description "Group ID"; - } - } - } - leaf enable { - type empty; - mandatory true; - description - "Enable Configure parameter for ARP Geo - redundancy. Deletion of this object also causes - deletion of all associated objects under - ArpRedundancy."; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container dagrs { - description - "Direct-Attached Gateway Redundancy configuration"; - - list dagr { - key "ip-addr"; - description "The DAGR entry being configured"; - - container sub { - description "DAGR Submode configuration"; - - container metric { - description "Set Route Metric"; - leaf metric-norm { - type uint32 { - range "0..256"; - } - default "100"; - description "Normal Route Metric"; - } - leaf metric-prio { - type uint32 { - range "0..256"; - } - default "90"; - description "Priority Route Metric"; - } - } - - container timers { - description "Set Query Timers"; - leaf query-time { - type uint32 { - range "1..10000"; - } - default "1"; - description "Query Timeout"; - } - leaf sby-time { - type uint32 { - range "1..10000"; - } - default "20"; - description "Standby Query Timeout"; - } - } - - container distance { - description "Set Route Distance"; - leaf dist-norm { - type uint32 { - range "0..256"; - } - default "150"; - description "Normal Route Distance"; - } - leaf dist-prio { - type uint32 { - range "0..256"; - } - default "5"; - description "Priority Route Distance"; - } - } - leaf priority-timeout { - type uint32 { - range "1..10000"; - } - default "20"; - description "Priority Timeout value"; - } - } - leaf enter { - type empty; - description "DAGR Group Enter item"; - } - leaf ip-addr { - type inet:ipv4-address-no-zone; - description "DAGR Peer IPv4 address"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv4arp { - description "Configure Address Resolution Protocol"; - leaf learning-local { - type empty; - description - "Enable the dynamic learning of ARP entries(for - local subnet) on the interface"; - } - leaf learning-solicited { - type empty; - description "ARP learning solicited configuration"; - } - leaf gratuitous-ignore { - type empty; - description - "Ignore the receipt of Gratuitous ARP packets on - the interface"; - } - leaf proxy-arp { - type empty; - description "Proxy ARP configuration"; - } - leaf purge-delay { - type uint32 { - range "1..65535"; - } - description - "Time to delay purging arp entries when the - interface goes down"; - } - leaf learning-disable { - type empty; - description - "Disable the dynamic learning of ARP entries on - the interface"; - } - leaf local-proxy-arp { - type empty; - description "Local Proxy ARP configuration"; - } - leaf timeout { - type uint32 { - range "30..2144448000"; - } - units "second"; - description "Number of seconds for ARP cache timeout"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang deleted file mode 100644 index 87cad36..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang +++ /dev/null @@ -1,515 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-arp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-arp-oper { - prefix Cisco-IOS-XR-ipv4-arp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-arp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ip-arp-bag-encap { - type enumeration { - enum none { - value 0; - description "No encapsulation"; - } - enum arpa { - value 1; - description "ARPA"; - } - enum snap { - value 2; - description "SNAP"; - } - enum ieee802-1q { - value 3; - description "802 1Q"; - } - enum srp { - value 4; - description "SRP"; - } - enum srpa { - value 5; - description "SRPA"; - } - enum srpb { - value 6; - description "SRPB"; - } - } - description "ARP encapsulation"; - } - typedef Ip-arp-bag-flags { - type enumeration { - enum flag-none { - value 0; - description "No Flag"; - } - enum flag-dynamic { - value 1; - description "Dynamic learnt entry"; - } - enum flag-evpn-sync { - value 2; - description "EVPN Synced entry"; - } - enum flag-max { - value 3; - description "Maximum Flag number"; - } - } - description "ARP flags"; - } - typedef Ip-arp-bag-state { - type enumeration { - enum state-none { - value 0; - description "No state"; - } - enum state-interface { - value 1; - description "Interface"; - } - enum state-standby { - value 2; - description "Standby"; - } - enum state-static { - value 3; - description "Static"; - } - enum state-alias { - value 4; - description "Alias"; - } - enum state-mobile { - value 5; - description "Mobile"; - } - enum state-incomplete { - value 6; - description "Incomplete"; - } - enum state-deleted { - value 7; - description "Deleted"; - } - enum state-dynamic { - value 8; - description "Dynamic"; - } - enum state-probe { - value 9; - description "Probe"; - } - enum state-purge-delayed { - value 10; - description "Purge delayed"; - } - enum state-dhcp { - value 11; - description "DHCP installed"; - } - enum state-vxlan { - value 12; - description "VXLAN installed"; - } - enum state-evpn-sync { - value 13; - description "EVPN-SYNC installed"; - } - enum state-sat { - value 14; - description "Satellite installed"; - } - enum state-r-sync { - value 15; - description "Geo-redundancy sync'ed"; - } - enum state-max { - value 16; - description "Maximum state number"; - } - } - description "ARP state"; - } - typedef Ip-arp-bag-media { - type enumeration { - enum media-arpa { - value 0; - description "ARPA"; - } - enum media-srp { - value 1; - description "SRP"; - } - enum media-unknown { - value 2; - description "Unknown"; - } - } - description "ARP media type"; - } - typedef Arp-resolution-history-status { - type enumeration { - enum status-none { - value 0; - description "No Status"; - } - enum status-resolution-request { - value 1; - description "Resolution Request Received"; - } - enum status-resolved-reply { - value 2; - description "Resolved with ARP reply"; - } - enum status-resolved-grat-arp { - value 3; - description "Resolved with Grat ARP"; - } - enum status-resolved-request { - value 4; - description "Resolved with ARP Request"; - } - enum status-resolved-lc-sync { - value 5; - description "Resolved via a Linecard sync"; - } - enum status-resolved-lc-sync-purge-delay { - value 6; - description - "Resolved via a Linecard sync while purge - delayed"; - } - enum status-resolved-client { - value 7; - description "Resolved from an ARP API client"; - } - enum status-removed-client { - value 8; - description "Removed by an ARP API client"; - } - enum status-already-resolved { - value 9; - description "Already Resolved"; - } - enum status-failed { - value 10; - description "Resolution Failed"; - } - enum status-dropped-interface-down { - value 11; - description "Dropped because the Interface was down"; - } - enum status-dropped-broadcast-disabled { - value 12; - description - "Dropped because the Interface was broadcast - disabled"; - } - enum status-dropped-interface-unavailable { - value 13; - description - "Dropped because the Interface was unavailable - to arp"; - } - enum status-dropped-bad-subnet { - value 14; - description - "The requested IP address didn't belong to the - subnet"; - } - enum status-dropped-dynamic-learning-disabled { - value 15; - description - "Dynamic learning of ARP entries is disabled on - the interface"; - } - enum status-dropped-out-of-subnet-disabled { - value 16; - description - "Out of Subnet address learning is disabled on - the interface"; - } - enum status-removed-client-sweep { - value 17; - description "Removed by an ARP API client during a resync"; - } - enum status-added-client { - value 18; - description "Added by an ARP API client"; - } - enum status-added-v1 { - value 19; - description "Added by replication from ARP V1 during ISSU"; - } - enum status-removed-v1 { - value 20; - description - "Removed by replication from ARP V1 during ISSU"; - } - enum status-resolved-peer-sync { - value 21; - description "Resolved via a Peer Router sync"; - } - enum status-dropped-unsolicited-pak { - value 22; - description - "Learning unsolicited ARP packets is disabled on - this Interface"; - } - } - description "Arp resolution history status"; - } - - grouping IP-ARP-TABLE-ENTRY { - description "IP ARP Table entry"; - leaf media-type { - type Ip-arp-bag-media; - description "Media type for this entry"; - } - leaf state { - type Ip-arp-bag-state; - description "State of this entry"; - } - leaf flag { - type Ip-arp-bag-flags; - description "Flags of this entry"; - } - leaf age { - type uint64; - description "Age of this entry"; - } - leaf encapsulation-type { - type Ip-arp-bag-encap; - description "Source encapsulation type"; - } - leaf hardware-length { - type uint8; - description "Source hardware length"; - } - leaf hardware-address { - type yang:mac-address; - description "Hardware address"; - } - } - - grouping IP-ARP-STATISTICS { - description "IP ARP Statistics information"; - leaf requests-received { - type uint32; - description "Total ARP requests received"; - } - leaf replies-received { - type uint32; - description "Total ARP replies received"; - } - leaf requests-sent { - type uint32; - description "Total ARP requests sent"; - } - leaf replies-sent { - type uint32; - description "Total ARP replies sent"; - } - leaf proxy-replies-sent { - type uint32; - description "Total Proxy ARP replies sent"; - } - leaf subscr-requests-received { - type uint32; - description - "Total ARP requests received over subscriber - interface"; - } - leaf subscr-replies-sent { - type uint32; - description - "Total ARP replies sent over subscriber interface"; - } - leaf subscr-replies-gratg-sent { - type uint32; - description - "Total ARP grat replies sent over subscriber - interface"; - } - leaf local-proxy-replies-sent { - type uint32; - description "Total Local Proxy ARP replies sent"; - } - leaf gratuitous-replies-sent { - type uint32; - description "Total Gratuituous ARP replies sent"; - } - leaf resolution-requests-received { - type uint32; - description "Total ARP resolution requests received"; - } - leaf resolution-replies-received { - type uint32; - description "Total ARP resolution replies received"; - } - leaf resolution-requests-dropped { - type uint32; - description "total ARP resolution requests dropped"; - } - leaf out-of-memory-errors { - type uint32; - description "Total errors for out of memory"; - } - leaf no-buffer-errors { - type uint32; - description "Total errors for no buffer"; - } - leaf total-entries { - type uint32; - description "Total ARP entries in the cache"; - } - leaf dynamic-entries { - type uint32; - description "Total dynamic entries in the cache"; - } - leaf static-entries { - type uint32; - description "Total static entries in the cache"; - } - leaf alias-entries { - type uint32; - description "Total alias entries in the cache"; - } - leaf interface-entries { - type uint32; - description "Total interface entries in the cache"; - } - leaf standby-entries { - type uint32; - description "Total standby entries in the cache"; - } - leaf dhcp-entries { - type uint32; - description "Total DHCP entries in the cache"; - } - leaf vxlan-entries { - type uint32; - description "Total VXLAN entries in the cache"; - } - leaf ip-packets-dropped-node { - type uint32; - description "Total ip packets droped on this node"; - } - leaf arp-packet-node-out-of-subnet { - type uint32; - description "Total ARP packets on node due to out of subnet"; - } - leaf ip-packets-dropped-interface { - type uint32; - description "Total ip packets droped on this interface"; - } - leaf arp-packet-interface-out-of-subnet { - type uint32; - description - "Total arp packets on interface due to out of - subnet"; - } - leaf arp-packet-unsolicited-packet { - type uint32; - description "Total unsolicited arp packets dropped"; - } - leaf idb-structures { - type uint32; - description "Total idb structures on this node"; - } - } - - grouping ARP-RESHIST-ENTRY { - description "ARP resolution history entry"; - leaf nsec-timestamp { - type uint64; - units "nanosecond"; - description - "Timestamp for entry in nanoseconds since Epoch, - i.e. since 00:00:00 UTC, January 1, 1970"; - } - leaf idb-interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf status { - type Arp-resolution-history-status; - description "Resolution status"; - } - leaf client-id { - type int32; - description "Resolving Client ID"; - } - leaf entry-state { - type int32; - description "ARP entry state"; - } - leaf resolution-request-count { - type uint32; - description "Resolution Request count"; - } - } - - grouping ARP-RESHIST { - description "ARP Resolution History"; - - list arp-entry { - description "Resolution history array"; - uses ARP-RESHIST-ENTRY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang deleted file mode 100644 index 9e2660a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang +++ /dev/null @@ -1,185 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-arp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-arp-oper { - prefix Cisco-IOS-XR-ipv4-arp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-arp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Arp-gmp-bag-entry { - type enumeration { - enum null { - value 0; - description "No state"; - } - enum static { - value 1; - description "Static"; - } - enum alias { - value 2; - description "Alias"; - } - } - description "ARP Entry type"; - } - typedef Arp-gmp-bag-encap { - type enumeration { - enum none { - value 0; - description "No encapsulation"; - } - enum arpa { - value 1; - description "ARPA"; - } - enum snap { - value 2; - description "SNAP"; - } - enum ieee802-1q { - value 3; - description "802 1Q"; - } - enum srp { - value 4; - description "SRP"; - } - enum srpa { - value 5; - description "SRPA"; - } - enum srpb { - value 6; - description "SRPB"; - } - } - description "ARP encapsulation"; - } - - grouping ARP-GMP-INTF-ENTRY { - description "ARP GMP entries associated with an interface"; - - container associated-configuration-entry { - description "Associated configuration entry"; - uses ARP-GMP-CONFIG-ENTRY; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface name"; - } - leaf reference-count { - type uint32; - description "Route reference count"; - } - } - - grouping ARP-GMP-ROUTE-ENTRY { - description "ARP GMP route entry"; - leaf ip-address { - type inet:ipv4-address; - description "IP address"; - } - leaf prefix-length-xr { - type uint8; - description "IP address length"; - } - leaf interface-name-xr { - type xr:Interface-name; - description - "Interface name (first element of InterfaceNames - array)"; - } - leaf-list interface-name { - type xr:Interface-name; - description "Interface names"; - } - } - - grouping ARP-GMP-CONFIG-ENTRY { - description "ARP GMP configuration entry"; - leaf ip-address { - type inet:ipv4-address; - description "IP address"; - } - leaf hardware-address { - type yang:mac-address; - description "Hardware address "; - } - leaf encapsulation-type { - type Arp-gmp-bag-encap; - description "Encap type"; - } - leaf entry-type { - type Arp-gmp-bag-entry; - description "Entry type static/alias"; - } - } - - grouping ARP-GMP-VRF-ENTRY { - description "ARP GMP VRF entry"; - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - leaf vrf-id-number { - type uint32; - description "VRF ID"; - } - leaf table-id { - type uint32; - description "IPv4 unicast table ID"; - } - leaf rsi-handle { - type uint32; - description "RSI registration handle"; - } - leaf rsi-handle-high { - type uint32; - description "RSI registration handle (top 32-bits)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper.yang deleted file mode 100644 index 1c7c9c2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-arp-oper.yang +++ /dev/null @@ -1,237 +0,0 @@ -module Cisco-IOS-XR-ipv4-arp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper"; - - - prefix "ipv4-arp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-arp-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ipv4-arp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-arp package operational data. - - This module contains definitions - for the following management objects: - arp-gmp: ARP-GMP global operational data - arp: arp - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container arp-gmp { - config false; - description "ARP-GMP global operational data"; - - container vrf-infos { - description "Table of VRF related ARP-GMP operational data"; - - list vrf-info { - key "vrf-name"; - description "VRF related ARP-GMP operational data"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name for the default VRF use 'default'"; - } - uses ARP-GMP-VRF-ENTRY; - } - } - - container vrfs { - description "Table of per VRF ARP-GMP operational data"; - - list vrf { - key "vrf-name"; - description "Per VRF ARP-GMP operational data"; - - container configured-ip-addresses { - description - "Table of ARP-GMP configured IP addresses - information"; - - list configured-ip-address { - key "address"; - description "ARP-GMP configured IP address information"; - leaf address { - type inet:ipv4-address-no-zone; - description "Configured ARP-GMP IP"; - } - uses ARP-GMP-CONFIG-ENTRY; - } - } - - container routes { - description "Table of ARP GMP route information"; - - list route { - description "ARP GMP route information"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP address"; - } - leaf prefix-length { - type uint32 { - range "0..32"; - } - description "Prefix length"; - } - uses ARP-GMP-ROUTE-ENTRY; - } - } - - container interface-configured-ips { - description - "Table of ARP GMP interface and associated - configured IP data"; - - list interface-configured-ip { - description - "ARP GMP interface and associated configured - IP data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Configured ARP-GMP IP"; - } - uses ARP-GMP-INTF-ENTRY; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name for the default VRF use 'default'"; - } - } - } - } - - container arp { - config false; - description "arp"; - - container nodes { - description "Table of per-node ARP operational data"; - - list node { - key "node-name"; - description "Per-node ARP operational data"; - - container resolution-history-dynamic { - description - "Per node dynamically-resolved ARP resolution - history data"; - uses ARP-RESHIST; - } - - container traffic-vrfs { - description "ARP Traffic information per VRF"; - - list traffic-vrf { - key "vrf-name"; - description "Per VRF traffic data"; - leaf vrf-name { - type string; - description "VRF name"; - } - uses IP-ARP-STATISTICS; - } - } - - container traffic-node { - description "Per node ARP Traffic data"; - uses IP-ARP-STATISTICS; - } - - container resolution-history-client { - description - "Per node client-installed ARP resolution - history data"; - uses ARP-RESHIST; - } - - container entries { - description "Table of ARP entries"; - - list entry { - key "address interface-name"; - description "ARP entry"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP Address of ARP entry"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses IP-ARP-TABLE-ENTRY; - } - } - - container traffic-interfaces { - description "ARP Traffic information per interface"; - - list traffic-interface { - key "interface-name"; - description "Per interface traffic data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses IP-ARP-STATISTICS; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-datatypes.yang deleted file mode 100644 index 49ac9a3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-datatypes.yang +++ /dev/null @@ -1,53 +0,0 @@ -module Cisco-IOS-XR-ipv4-autorp-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-autorp-datatypes"; - - - prefix "ipv4-autorp-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Auto-rp-protocol-mode { - type enumeration { - enum sparse { - value 0; - description "Sparse Mode"; - } - enum bidirectional { - value 1; - description "Bidirectional Mode"; - } - } - description "Auto rp protocol mode"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang deleted file mode 100644 index d45c55b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang +++ /dev/null @@ -1,139 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-autorp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-autorp-oper { - prefix Cisco-IOS-XR-ipv4-autorp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - include Cisco-IOS-XR-ipv4-autorp-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-autorp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping AUTORP-MAP-SUMMARY-BAG { - description "Auto-RP Mapping Agent summary"; - leaf is-maximum-disabled { - type boolean; - description "Is maximum enforcement disabled ?"; - } - leaf cache-limit { - type uint32; - description "Maximum group to RP mapping entries allowed"; - } - leaf cache-count { - type uint32; - description - "Number of group to RP mapping entries in the - cache"; - } - } - - grouping AUTORP-MAP-RANGE-BAG { - description "MRIB multicast-routing entry-interface"; - leaf prefix { - type inet:ipv4-address; - description "Prefix of the range"; - } - leaf prefix-length { - type uint8; - description "Prefix length of the range"; - } - leaf protocol-mode { - type Autorp-protocol-mode; - description "Protocol Mode"; - } - leaf is-advertised { - type boolean; - description "Is this entry advertised ?"; - } - leaf create-type { - type uint8; - description "Source of the entry"; - } - leaf check-point-object-id { - type uint32; - description "Checkpoint object id"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - } - - grouping AUTORP-MAP-RP-BAG { - description "Auto-RP Mapping Agent entry"; - leaf rp-address-xr { - type inet:ipv4-address; - description "Candidate-RP address"; - } - leaf expiry-time { - type uint64; - units "second"; - description "Time for expiration in seconds"; - } - leaf pim-version { - type uint8; - description "PIM version of the CRP"; - } - - list range { - description "Array of ranges"; - uses AUTORP-MAP-RANGE-BAG; - } - } - - grouping AUTORP-MAP-TRAFFIC-BAG { - description "Auto-RP Mapping Agent Traffic Counters"; - leaf active-sent-packets { - type uint32; - description "Number of packets sent in active role"; - } - leaf standby-sent-packets { - type uint32; - description - "Number of packets dropped in send path in - standby role"; - } - leaf active-received-packets { - type uint32; - description "Number of packets received in active role"; - } - leaf standby-received-packets { - type uint32; - description - "Number of packets dropped in receive path in - standby role"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang deleted file mode 100644 index 27d2c98..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang +++ /dev/null @@ -1,89 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-autorp-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-autorp-oper { - prefix Cisco-IOS-XR-ipv4-autorp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-autorp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Autorp-protocol-mode { - type enumeration { - enum sparse { - value 0; - description "sparse"; - } - enum bidirectional { - value 1; - description "bidirectional"; - } - } - description "Autorp protocol mode"; - } - - grouping AUTORP-CRP-BAG { - description "Auto-RP Candidate RP entry"; - leaf access-list-name { - type string; - description "ACL Name"; - } - leaf candidate-rp-address { - type inet:ipv4-address; - description "Candidate RP IP Address"; - } - leaf ttl { - type int32; - description "TTL"; - } - leaf announce-period { - type int32; - description "Announce Period"; - } - leaf protocol-mode-xr { - type Autorp-protocol-mode; - description "Protocol Mode"; - } - } - - grouping AUTORP-CRP-TRAFFIC-BAG { - description "Auto-RP Candidate Traffic Counters"; - leaf active-sent-packets { - type uint32; - description "Number of packets sent in active role"; - } - leaf standby-sent-packets { - type uint32; - description - "Number of packets dropped in send path in - standby role"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper.yang deleted file mode 100644 index 0badd34..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-autorp-oper.yang +++ /dev/null @@ -1,136 +0,0 @@ -module Cisco-IOS-XR-ipv4-autorp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper"; - - - prefix "ipv4-autorp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ipv4-autorp-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ipv4-autorp-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ipv4-autorp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-autorp package operational data. - - This module contains definitions - for the following management objects: - auto-rp: AutoRP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MAPPING-AGENT { - description "Common node of active, standby"; - - container mapping-agent { - description "AutoRP Mapping Agent Table"; - - container traffic { - description "AutoRP Mapping Agent Traffic Counters"; - uses AUTORP-MAP-TRAFFIC-BAG; - } - - container rp-addresses { - description "AutoRP Mapping Agent Table Entries"; - - list rp-address { - key "rp-address"; - description "AutoRP Mapping Agent Entry"; - leaf rp-address { - type inet:ipv4-address-no-zone; - description "RP Address"; - } - uses AUTORP-MAP-RP-BAG; - } - } - - container summary { - description "AutoRP Mapping Agent Summary Information"; - uses AUTORP-MAP-SUMMARY-BAG; - } - } - } - - grouping CANDIDATE-RP { - description "Common node of active, standby"; - - container candidate-rp { - description "AutoRP Candidate RP"; - - container traffic { - description "AutoRP Candidate Traffic Counters"; - uses AUTORP-CRP-TRAFFIC-BAG; - } - - container rps { - description "AutoRP Candidate RP Table"; - - list rp { - description "AutoRP Candidate RP Entry"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf protocol-mode { - type dt1:Auto-rp-protocol-mode; - description "Protocol Mode"; - } - uses AUTORP-CRP-BAG; - } - } - } - } - - container auto-rp { - config false; - description "AutoRP operational data"; - - container standby { - description "Standby Process"; - uses CANDIDATE-RP; - uses MAPPING-AGENT; - } - - container active { - description "Active Process"; - uses CANDIDATE-RP; - uses MAPPING-AGENT; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-cfg.yang deleted file mode 100644 index b435fe0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-cfg.yang +++ /dev/null @@ -1,5377 +0,0 @@ -module Cisco-IOS-XR-ipv4-bgp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg"; - - - prefix "ipv4-bgp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ipv4-bgp-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-infra-rsi-cfg { prefix "a1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-bgp package configuration. - - This module contains definitions - for the following management objects: - bgp: BGP configuration commands - bmp-server-all: bmp server all - bmp-servers: bmp servers - - This YANG module augments the - Cisco-IOS-XR-infra-rsi-cfg, - Cisco-IOS-XR-snmp-agent-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-08-27" { - description - "IOS XR 5.3.2 revision."; - } - - typedef Bgp-mvpn-sfs-select { - type enumeration { - enum all-paths { - value 1; - description "Select all paths as single forwarder PE"; - } - enum highest-ip-address { - value 2; - description - "Select PE with highest address as single - forwarder PE"; - } - } - description "Bgp mvpn sfs select"; - } - typedef Bmp-policy-select { - type enumeration { - enum post-policy { - value 2; - description "Pickup routes after policy application"; - } - } - description "Bmp policy select"; - } - typedef Bgp-default-metric-range { - type uint32 { - range "0..4294967295"; - } - description "Bgp default metric range"; - } - typedef Bgp-ebgp-send-dmz-enable-mode { - type enumeration { - enum disable { - value 0; - description "Disable Mode - Prevent inheritance"; - } - enum default { - value 1; - description - "Default Mode - Send dmz link bandwidth value to - ebgp neighbor"; - } - enum cumulative { - value 2; - description - "Strict Mode - Send cumulative dmz link - bandwidth value to ebgp neighbor"; - } - } - description "Bgp ebgp send dmz enable mode"; - } - typedef Bgp-signal { - type enumeration { - enum bgp-disable { - value 1; - description "Signalling BGP disable"; - } - enum ldp-disable { - value 2; - description "Signalling LDP disable"; - } - } - description "Bgp signal"; - } - typedef Bgp-vrf-route-target { - type enumeration { - enum as { - value 0; - description "AS format RT"; - } - enum ipv4-address { - value 1; - description "IPv4 address format RT"; - } - enum four-byte-as { - value 2; - description "4-byte AS format RT"; - } - } - description "Bgp vrf route target"; - } - typedef Bgp-rnh-install-format { - type enumeration { - enum ext-comm { - value 0; - description "Install RNH as opaque and extcomm"; - } - enum ext-comm-only { - value 1; - description "Install RNH as extcomm only"; - } - } - description "Bgp rnh install format"; - } - typedef Bgp-bfd-enable-mode { - type enumeration { - enum disable { - value 0; - description "Disable Mode - Prevent inheritance"; - } - enum default { - value 1; - description "Default Mode - Default BFD behavior"; - } - enum strict { - value 2; - description - "Strict Mode - Hold down adj until BFD session - up"; - } - } - description "Bgp bfd enable mode"; - } - typedef Route-target-as-index { - type uint32 { - range "0..4294967295"; - } - description "Route target as index"; - } - typedef Bmp-route-direction { - type enumeration { - enum inbound { - value 1; - description "Pickup routes at inbound direction from peer"; - } - } - description "Bmp route direction"; - } - typedef Bgp-send-mcast-attr-cfg { - type enumeration { - enum enable { - value 1; - description "Enable SendMcastAttr"; - } - enum disable { - value 2; - description "Disable SendMcastAttr"; - } - } - description "Bgp send mcast attr cfg"; - } - typedef Bgp-aigp-cfg-poi { - type enumeration { - enum pre-best-path { - value 1; - description "AIGP Pre-bestpath POI"; - } - enum igp-cost { - value 2; - description "AIGP igp-cost POI"; - } - } - description "Bgp aigp cfg poi"; - } - typedef Bgp-flowspec-validation-cfg { - type enumeration { - enum enable { - value 1; - description "Enable Flowspec validation"; - } - enum disable { - value 2; - description "Disable Flowspec validation"; - } - enum redirect-nexhop-disable { - value 3; - description "Disable Flowspec redirect nexthop validation"; - } - } - description "Bgp flowspec validation cfg"; - } - typedef Route-target-addr-index { - type uint32 { - range "0..65535"; - } - description "Route target addr index"; - } - typedef Bgp-orf { - type enumeration { - enum none { - value 0; - description "No capability to send or receive"; - } - enum receive { - value 1; - description "Receive ORF capability"; - } - enum send { - value 2; - description "Send ORF capability"; - } - enum both { - value 3; - description "Send and receive ORF capability"; - } - } - description "Bgp orf"; - } - typedef Bgp-rpki-transport { - type enumeration { - enum tcp { - value 0; - description "TCP Transport"; - } - enum ssh { - value 1; - description "SSH Transport"; - } - } - description "Bgp rpki transport"; - } - typedef Bgp-reorg-opt { - type enumeration { - enum bgp-cfg-adv { - value 1; - description "Advertise translated routes"; - } - enum bgp-cfg-adv-reorg { - value 2; - description "Advertise Reorig routes"; - } - enum bgp-cfg-adv-disable { - value 3; - description "Disable adv of routes"; - } - enum bgp-cfg-adv-local { - value 4; - description "Advertise local routes"; - } - enum bgp-cfg-adv-def-vrf-imp-disable { - value 5; - description "Disable adv of Def VRF Imported routes"; - } - enum bgp-cfg-adv-vrf-re-imp-disable { - value 6; - description "Disable adv of VRF ReImported routes"; - } - } - description "Bgp reorg opt"; - } - typedef Bgp-af-encapsulation { - type enumeration { - enum vx-lan { - value 1; - description "VxLAN encapsulation type"; - } - } - description "Bgp af encapsulation"; - } - typedef Bgp-aigp-cfg { - type enumeration { - enum enable { - value 1; - description "Enable AIGP"; - } - enum disable { - value 2; - description "Disable AIGP"; - } - } - description "Bgp aigp cfg"; - } - typedef Bgp-route-distinguisher { - type enumeration { - enum auto { - value 1; - description "Automatically assigned"; - } - enum as { - value 2; - description "AS format RD"; - } - enum four-byte-as { - value 3; - description "4-byte AS format RD"; - } - enum ipv4-address { - value 4; - description "IPv4 address format RD"; - } - } - description "Bgp route distinguisher"; - } - typedef Bgp-adv-rt { - type enumeration { - enum bgp-regular-rt { - value 0; - description "Regular RT type"; - } - enum bgp-stitching-rt { - value 1; - description "Stitching RT type"; - } - } - description "Bgp adv rt"; - } - typedef Bgp-tcp-mode { - type enumeration { - enum either { - value 0; - description "Either active or passive mode"; - } - enum active-only { - value 1; - description "Active mode only"; - } - enum passive-only { - value 2; - description "Passive mode only"; - } - } - description "Bgp tcp mode"; - } - typedef Bgp-site-of-origin { - type enumeration { - enum as { - value 0; - description "AS format SoO"; - } - enum ipv4-address { - value 1; - description "IPv4 address format SoO"; - } - enum four-byte-as { - value 2; - description "4-byte AS format SoO"; - } - } - description "Bgp site of origin"; - } - typedef Bgp-cluster-id { - type enumeration { - enum number { - value 1; - description "Number"; - } - enum ipv4-address { - value 2; - description "IPv4 Address"; - } - } - description "Bgp cluster id"; - } - - grouping ADVERTISE-DISABLE { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-disable { - description "Disable Advertise Of Routes to the peer"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping TABLE-POLICY { - description "Common node of global-af, vrf-global-af"; - leaf table-policy { - type string; - description - "Configure policy for installation of routes to - RIB"; - } - } - - grouping MAXIMUM-PREFIXES { - description - "Common node of global-af, vrf-global-afCommon - node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container maximum-prefixes { - presence "Indicates a maximum-prefixes node is configured."; - description - "Maximum number of prefixes to accept from this - peer"; - leaf prefix-limit { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Maximum prefixes limit"; - } - leaf warning-percentage { - type uint32 { - range "1..100"; - } - default "75"; - description - "Threshold value (%) at which to generate a - warning message."; - } - leaf warning-only { - type boolean; - default "false"; - description - "TRUE to only give a warning message when limit - is exceeded. FALSE to accept max prefix limit - only."; - } - leaf restart-time { - type uint32 { - range "0..65535"; - } - default "0"; - description "Restart interval"; - } - leaf discard-extra-paths { - type boolean; - default "false"; - description "Discard extra paths when limit is exceeded"; - } - } - } - - grouping DISTANCE { - description "Common node of global-af, vrf-global-af"; - - container distance { - description "Define an administrative distance"; - leaf external-routes { - type uint32 { - range "1..255"; - } - default "20"; - description "Distance for routes external to the AS"; - } - leaf internal-routes { - type uint32 { - range "1..255"; - } - default "200"; - description "Distance for routes internal to the AS"; - } - leaf local-routes { - type uint32 { - range "1..255"; - } - default "200"; - description "Distance for local routes"; - } - } - } - - grouping UPDATE-SOURCE-INTERFACE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf update-source-interface { - type xr:Interface-name; - description "Select an interface to configure"; - } - } - - grouping MULTI-PATH-AS-PATH-IGNORE-ONWARDS { - description "Common node of global, vrf-global"; - leaf multi-path-as-path-ignore-onwards { - type empty; - description - "Change default multi-route selection criteria to - ignore everything onwards as-path check"; - } - } - - grouping PROPAGATE-DMZ-LINK-BANDWIDTH { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf propagate-dmz-link-bandwidth { - type boolean; - description - "TRUE to propagate DMZ link bandwidth. FALSE to - not propagate and to prevent inheritance from a - parent"; - } - } - - grouping DISABLE-AUTO-SOFT-RESET { - description "Common node of global, vrf-global"; - leaf disable-auto-soft-reset { - type empty; - description - "Disable automatic soft peer reset on policy - reconfiguration"; - } - } - - grouping MSG-LOG-IN { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container msg-log-in { - description "Message log inbound"; - leaf msg-buf-count { - type uint32 { - range "1..100"; - } - description "Inbound message log buffer size"; - } - leaf msg-log-disable { - type boolean; - description "Disable inbound message logging"; - } - leaf msg-log-inherit-disable { - type boolean; - description - "TRUE, to prevent this entity from having a - inbound message logging if parent has one"; - } - } - } - - grouping DISABLE-ENFORCE-FIRST-AS { - description "Common node of global, vrf-global"; - leaf disable-enforce-first-as { - type empty; - description "Disable enforce the first AS for EBGP routes"; - } - } - - grouping ROUTE-TARGET-TABLE { - description - "Common node of import-route-targets, - export-route-targets"; - - container route-targets { - description "Route target table"; - - list route-target { - must "as-or-four-byte-as or ipv4-address" { - description - "AS-or-FourByteAS or IPV4Address must be - present."; - } - key "type"; - description "Route target"; - leaf type { - type Bgp-vrf-route-target; - description "Type of RT"; - } - - list as-or-four-byte-as { - when "../type = 'as' or ../type = 'four-byte-as'" { - description "../Type = AS or ../Type = FourByteAS"; - } - key "as-xx as as-index stitching-rt"; - description "as or four byte as"; - leaf as-xx { - type uint32; - description "AS number"; - } - leaf as { - type uint32 { - range "1..4294967295"; - } - description "AS number"; - } - leaf as-index { - type Route-target-as-index; - description "AS number Index"; - } - leaf stitching-rt { - type uint32 { - range "0..1"; - } - description "Stitching RT"; - } - } - - list ipv4-address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - key "address address-index stitching-rt"; - description "ipv4 address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP address"; - } - leaf address-index { - type Route-target-addr-index; - description "IP address Index"; - } - leaf stitching-rt { - type uint32 { - range "0..1"; - } - description "Stitching RT"; - } - } - } - } - } - - grouping REMOTE-AS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container remote-as { - description "Set remote AS"; - leaf as-xx { - type dt1:Bgp-as-range; - description "xx of AS number xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - description "yy of AS number xx.yy"; - } - } - } - - grouping ADDITIONAL-PATHS-SEND { - description "Common node of global-af, vrf-global-af"; - leaf additional-paths-send { - type dt1:Bgp-af-additional-paths-cfg; - description "Advertise additional paths Send capability"; - } - } - - grouping UPDATE-IN-FILTERING { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container update-in-filtering { - description "Inbound update filtering"; - - container update-in-filtering-message-buffers { - presence "Indicates a update-in-filtering-message-buffers"+ - " node is configured."; - description "Message buffers to store filtered updates"; - leaf number-of-buffers { - type uint32 { - range "0..25"; - } - mandatory true; - description "Number of message buffers"; - } - leaf non-circular-buffer { - type boolean; - mandatory true; - description "TRUE to configure non-circular buffer"; - } - } - leaf enable { - type empty; - description "Configure inbound update filtering"; - } - leaf update-in-filtering-attribute-filter-group { - type string; - description - "Attribute-filter group name for update - filtering"; - } - leaf update-in-filtering-syslog-disable { - type empty; - description - "Disable inbound update filtering syslog - messages"; - } - } - } - - grouping SHUTDOWN { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf shutdown { - type boolean; - description - "TRUE to shutdown this entity, FALSE to prevent - this entity from being shutdown even if the - parent is."; - } - } - - grouping BMP-ACTIVATE-TABLE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container bmp-activates { - description "Enable BMP logging for this neighbor"; - - list bmp-activate { - key "server-id"; - description "Enable BMP logging for this particular server"; - leaf server-id { - type uint32 { - range "1..8"; - } - description "BMP Server ID"; - } - } - } - } - - grouping ADVERTISE-VRF-IMP-DISABLE-V4 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-vrf-imp-disable-v4 { - description "Disable Advertise Of VRF ReImported Routes"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf adv-option { - type Bgp-reorg-opt; - description "Advertise option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping ADVERTISE-VRF-IMP-DISABLE-V6 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-vrf-imp-disable-v6 { - description "Disable Advertise Of VRF ReImported Routes"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf adv-option { - type Bgp-reorg-opt; - description "Advertise option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping SITE-OF-ORIGIN { - description - "Common node of neighbor-group-af, vrf-neighbor-af - , af-group-af"; - - container site-of-origin { - description - "Site-of-Origin extended community associated - with the neighbor"; - leaf type { - type Bgp-site-of-origin; - description "Type of Extended community"; - } - leaf as-xx { - when "../type = 'as' or ../type = 'four-byte-as'" { - description "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-as-range; - description "AS number"; - } - leaf as { - when "../type = 'as' or ../type = 'four-byte-as'" { - description "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-as-range; - description "AS number"; - } - leaf as-index { - when "../type = 'as' or ../type = 'four-byte-as'" { - description "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-extcomm-asn-index; - description "AS number Index"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IP address"; - } - leaf address-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type dt1:Bgp-extcomm-v4-addr-index; - description "IP address Index"; - } - } - } - - grouping ROUTE-POLICY-OUT { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf route-policy-out { - type string; - description "Route policy name to apply to outbound routes"; - } - } - - grouping ADVERTISE-V4 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-v4 { - description "Advertise Translated Routes to the peer"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping ADVERTISE-V6 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-v6 { - description "Advertise Translated Routes to the peer"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping DEFAULT-ORIGINATE { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container default-originate { - description "Originate default route to this neighbor"; - leaf enable { - type boolean; - default "false"; - description - "FALSE to prevent default-originate from, being - inherited from a parent. TRUE otherwise."; - } - leaf route-policy-name { - type string; - description - "Route policy name to specify criteria to - originate default."; - } - } - } - - grouping IDLE-WATCH-TIME { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf idle-watch-time { - type uint32 { - range "30..1800"; - } - units "second"; - description - "Time to wait for deleteing IDLE state Dynamic - peer"; - } - } - - grouping TIMERS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container timers { - description "BGP per neighbor timers."; - leaf keepalive-interval { - type uint32 { - range "0..65535"; - } - default "60"; - description "Keepalive interval"; - } - leaf hold-time { - type uint32 { - range "0..65535"; - } - default "180"; - description - "Hold time. Specify 0 to disable - keepalives/hold time"; - } - leaf min-accept-hold-time { - type uint32 { - range "0..65535"; - } - default "3"; - description - "Minimum acceptable hold time. Specify 0 to - disable keepalives/hold time"; - } - } - } - - grouping DISABLE-FAST-EXTERNAL-FALLOVER { - description "Common node of global, vrf-global"; - leaf disable-fast-external-fallover { - type empty; - description - "Disable immediate reset session if a link to a - directly connected external peer goes down"; - } - } - - grouping SEND-COMMUNITY-EBGP { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf send-community-ebgp { - type boolean; - description - "TRUE to send communities to the external - neighbor/neighbor-group/af-group. FALSE not to - send and to prevent inheritance from a parent"; - } - } - - grouping ADDITIONAL-PATHS-RECEIVE-CAPABILITY { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf additional-paths-receive-capability { - type dt1:Bgp-nbr-cap-additional-paths-cfg; - description "Advertise additional paths Receive capability"; - } - } - - grouping SEND-EXT-COMMUNITY-EBGP { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf send-ext-community-ebgp { - type boolean; - description - "TRUE to send extended communities to the - external neighbor/neighbor-group/af-group. - FALSE not to send and to prevent inheritance - from a parent"; - } - } - - grouping AF-GROUP { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af"; - leaf af-group { - type string; - description - "Inherit configuration for this address-family - from an AF-group"; - } - } - - grouping ROUTE-POLICY-IN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf route-policy-in { - type string; - description "Route policy name to apply to inbound routes"; - } - } - - grouping LABEL-MODE { - description "Common node of global-af, vrf-global-af"; - - container label-mode { - description "BGP 6PE/MPLS-VPN label allocation mode"; - leaf label-allocation-mode { - type string; - description - "Label allocation mode: per-ce Set per CE label - mode, per-vrf Set per VRF label mode, - per-prefix Set per Prefix label mode (for - MPLS-VPN only)"; - } - leaf route-policy-name { - type string; - description "Label mode route policy name"; - } - } - } - - grouping APP-ROUTE-TABLE { - description "Common node of global-af, vrf-global-af"; - - container application-routes { - description - "Redistribute information for Application routes."; - - list application-route { - key "instance-name"; - description "Redistribute application routes"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "OnePK application name"; - } - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - } - - grouping DEFAULT-INFO-ORIGINATE { - description "Common node of global, vrf-global"; - leaf default-info-originate { - type empty; - description "Control distribution of default information"; - } - } - - grouping ENFORCE-FIRST-AS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf enforce-first-as { - type boolean; - description - "TRUE to enforce first AS; FALSE to not enforce - first AS."; - } - } - - grouping SOFT-RECONFIGURATION { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container soft-reconfiguration { - description - "Enable/disable inbound soft reconfiguration for - this neighbor/neighbor-group/af-group"; - leaf inbound-soft { - type boolean; - default "false"; - description - "FALSE to prohibit inbound soft reconfiguration. - TRUE otherwise."; - } - leaf soft-always { - type boolean; - default "false"; - description - "TRUE to always use soft reconfig, even if route - refresh is supported. FALSE otherwise."; - } - } - } - - grouping NEIGHBOR-GRACEFUL-RESTART { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf neighbor-graceful-restart { - type boolean; - description - "TRUE to Enable graceful restart support for - neighbor. FALSE to disable graceful restart - support for neighbor."; - } - } - - grouping ADVERTISE-DEF-IMP-DISABLE-V4 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-def-imp-disable-v4 { - description - "Disable Advertise Of Default VRF Imported Routes"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf adv-option { - type Bgp-reorg-opt; - description "Advertise option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping ADVERTISE-DEF-IMP-DISABLE-V6 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-def-imp-disable-v6 { - description - "Disable Advertise Of Default VRF Imported Routes"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf adv-option { - type Bgp-reorg-opt; - description "Advertise option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping LOCAL-ADDRESS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container local-address { - description "Local ip address"; - leaf local-address-disable { - type boolean; - description - "TRUE to prevent this entity from having a local - address if the parent has one.FALSE to specify - local ip address"; - } - leaf local-ip-address { - when "../local-address-disable = 'false'" { - description "../LocalAddressDisable = 0"; - } - type inet:ip-address-no-zone; - description "Local ip address for neighbor"; - } - } - } - - grouping AS-OVERRIDE { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf as-override { - type boolean; - default "true"; - description - "TRUE to override matching AS-number while - sending update. FALSE to prevent as-override - from being inherited from the parent"; - } - } - - grouping IGNORE-CONNECTED-CHECK-EBGP { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-afCommon node of - neighbor-group, neighbor, vrf-neighbor, - session-group"; - leaf ignore-connected-check-ebgp { - type boolean; - description - "TRUE to disable the connected nexthop check for - this peer.FALSE to enable the connected nexthop - check for this peer."; - } - } - - grouping REMOTE-AS-LIST { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf remote-as-list { - type string; - description "Remote-as-list group name"; - } - } - - grouping SEND-MULTICAST-ATTR { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-af"; - leaf send-multicast-attr { - type Bgp-send-mcast-attr-cfg; - description - "Config send multicast attribute for this - neighbor"; - } - } - - grouping ENCAPSULATION-TYPE { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-afCommon node of neighbor-group-af, - neighbor-af, vrf-neighbor-af, af-group-af"; - leaf encapsulation-type { - type Bgp-af-encapsulation; - description "Encapsulation type for this neighbor"; - } - } - - grouping ADVERTISE-PERMANENT-NETWORK { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf advertise-permanent-network { - type empty; - description "Advertise Permanent Networks to the peer"; - } - } - - grouping BEST-PATH-COST-COMMUNITY { - description "Common node of global, vrf-global"; - leaf best-path-cost-community { - type empty; - description - "Change default route selection criteria to - ignore cost community comparison"; - } - } - - grouping RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-af"; - leaf rpki-bestpath-origin-as-allow-invalid { - type empty; - description "RPKI bestpath origin-AS allow invalid"; - } - } - - grouping BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-afCommon node of neighbor-group, - neighbor, session-group"; - leaf rpki-bestpath-origin-as-allow-invalid { - type empty; - description "RPKI bestpath origin-AS allow invalid"; - } - } - - grouping NEIGHBOR-GRACEFUL-RESTART-TIME { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf neighbor-graceful-restart-time { - type uint32 { - range "1..4095"; - } - units "second"; - default "120"; - description "Restart time advertised to neighbor"; - } - } - - grouping TOS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container tos { - description "TOS (Type Of Service)"; - leaf type { - type dt1:Bgp-tos; - description "Set type of service"; - } - leaf value { - type dt1:Bgp-precedence-dscp; - description "TOS value to set"; - } - } - } - - grouping NEIGHBOR-CLUSTER-ID { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container neighbor-cluster-id { - description "Neighbor Cluster-id"; - leaf cluster-id-number { - type uint32 { - range "1..4294967295"; - } - description "Route-Reflector Cluster ID as 32 bit quantity"; - } - leaf cluster-id-address { - type inet:ipv4-address-no-zone; - description - "Route-Reflector Cluster ID in IPV4 address - format"; - } - } - } - - grouping ACTIVATE { - description - "Common node of neighbor-af, vrf-neighbor-af, - neighbor-group-af"; - leaf activate { - type empty; - description - "Activate an address family for this neighbor. - Deletion of this object causes deletion of all - the objects under - NeighborAF/VRFNeighborAF/NeighborGroupAF - associated with this object."; - } - } - - grouping NEXT-HOP-SELF { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf next-hop-self { - type boolean; - description - "Disable the next hop calculation and insert - your own address in the nexthop field of - advertised routes you learned from the neighbor."; - } - } - - grouping ALLOW-AS-IN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf allow-as-in { - type uint32 { - range "1..10"; - } - default "3"; - description "Allow as-path with my AS present in it"; - } - } - - grouping ADVERTISE-LOCAL-V4 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-local-v4 { - description - "Advertise Of Local Routes to the peer with - different RT"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping ADVERTISE-LOCAL-V6 { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-local-v6 { - description - "Advertise Of Local Routes to the peer with - different RT"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping BEST-EXTERNAL { - description "Common node of global-af, vrf-global-af"; - leaf best-external { - type boolean; - description - "TRUE to enable BE FALSE to disable BE - inheritance from a parent"; - } - } - - grouping ATTRIBUTE-DOWNLOAD { - description "Common node of global-af, vrf-global-af"; - leaf attribute-download { - type empty; - description "Attribute download configuration"; - } - } - - grouping ADDITIONAL-PATHS-SELECTION { - description "Common node of global-af, vrf-global-af"; - - container additional-paths-selection { - description "Configure additional paths selection"; - leaf selection { - type dt1:Bgp-af-additional-paths-cfg; - description "Enable/disable selection "; - } - leaf route-policy-name { - type string; - description "Route policy for selection"; - } - } - } - - grouping NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf neighbor-af-long-lived-graceful-restart-capable { - type boolean; - default "false"; - description - "TRUE to treat neighbor as Long-lived - Graceful-restart capable. FALSE to rely on - capability negotiation."; - } - } - - grouping BEST-PATH-AS-MULTIPATH-RELAX { - description "Common node of global, vrf-global"; - leaf best-path-as-multipath-relax { - type empty; - description - "Change default multi-route selection criteria to - relax as-path checking - only require same - aspath length"; - } - } - - grouping GLOBAL-TIMERS { - description "Common node of global, vrf-global"; - - container global-timers { - description "Adjust routing timers."; - leaf keepalive { - type uint32 { - range "0..65535"; - } - units "second"; - default "60"; - description "Keepalive interval (seconds)"; - } - leaf hold-time { - type uint32 { - range "0..65535"; - } - units "second"; - default "180"; - description - "Hold time (seconds). Specify 0 to disable - keepalives/hold time"; - } - leaf min-accept-hold-time { - type uint32 { - range "0..65535"; - } - units "second"; - default "3"; - description - "Minimum acceptable hold time (seconds). Specify - 0 to disable keepalives/hold time"; - } - } - } - - grouping NEIGHBOR-GROUP-ADD-MEMBER { - description "Common node of neighbor, vrf-neighbor"; - leaf neighbor-group-add-member { - type string; - description "Inherit configuration from a neighbor-group"; - } - } - - grouping MOBILE-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container mobile-routes { - presence "enable mobile-routes"; - description "Redistribute mobile routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - - grouping LOCAL-PREFERENCE { - description "Common node of global, vrf-global"; - leaf local-preference { - type uint32 { - range "0..4294967295"; - } - default "100"; - description "Configure default local preference"; - } - } - - grouping CREATE { - description "Common node of neighbor-group, session-group"; - leaf create { - type empty; - description - "Create this group. Deletion of this object - causes deletion of all the objects under - NeighborGroup/SessionGroup associated with this - object."; - } - } - - grouping EBGP-SEND-DMZ-ENABLE-MODES { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf ebgp-send-dmz-enable-modes { - type Bgp-ebgp-send-dmz-enable-mode; - description - "Default mode, Cumulative mode or Disable to - prevent inheritance from a parent"; - } - } - - grouping SEND-SOCKET-BUFFER-SIZES { - description "Common node of global, vrf-global"; - - container send-socket-buffer-sizes { - description "set socket parameters"; - leaf socket-send-size { - type uint32 { - range "4096..131072"; - } - units "byte"; - default "24576"; - description "Send socket buffer size in bytes"; - } - leaf bgp-send-size { - type uint32 { - range "4096..131072"; - } - units "byte"; - default "4096"; - description "BGP Write buffer size in bytes"; - } - } - } - - grouping RECEIVE-SOCKET-BUFFER-SIZES { - description - "Common node of global, vrf-globalCommon node of - global, vrf-global"; - - container receive-socket-buffer-sizes { - description "Set socket and BGP receive buffer sizes"; - leaf socket-receive-size { - type uint32 { - range "512..131072"; - } - units "byte"; - default "32768"; - description "Receive socket buffer size in bytes"; - } - leaf bgp-receive-size { - type uint32 { - range "512..131072"; - } - units "byte"; - default "4096"; - description "BGP Read buffer size in bytes"; - } - } - } - - grouping BFD-ENABLE-MODES { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf bfd-enable-modes { - type Bgp-bfd-enable-mode; - description - "Strict mode, Default mode or Disable to prevent - inheritance from a parent"; - } - } - - grouping RESET-WEIGHT-ON-IMPORT { - description "Common node of global-af, vrf-global-af"; - leaf reset-weight-on-import { - type boolean; - description - "TRUE to reset weight on import. FALSE to not - reset and to prevent inheritance from a parent"; - } - } - - grouping AGGREGATE-ADDRESS-TABLE { - description "Common node of global-af, vrf-global-af"; - - container aggregate-addresses { - description "Configure BGP aggregate entries"; - - list aggregate-address { - key "aggregate-addr aggregate-prefix"; - description "Aggregate address configuration"; - leaf aggregate-addr { - type inet:ip-address; - description - "Aggregate in prefix/length format (address - part)"; - } - leaf aggregate-prefix { - type uint16 { - range "0..128"; - } - description - "Aggregate in prefix/length format (prefix - part)"; - } - leaf generate-set-info { - type boolean; - description - "TRUE to generate AS set path information, - FALSE otherwise"; - } - leaf generate-confederation-set-info { - type boolean; - description - "TRUE to generate AS confederation set path - information, FALSE otherwise"; - } - leaf summary-only { - type boolean; - description - "TRUE to filter more specific routes from - updates, FALSEotherwise"; - } - leaf route-policy-name { - type string; - description - "Route policy on which to condition - advertisement, suppression, and attributes"; - } - } - } - } - - grouping EBGP-MULTIHOP { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container ebgp-multihop { - description - "Allow EBGP neighbors not on directly connected - networks"; - leaf max-hop-count { - type uint32 { - range "1..255"; - } - default "255"; - description "Maximum hop count"; - } - leaf mpls-deactivation { - type boolean; - default "false"; - description "TRUE to not enable MPLS and NULL rewrite."; - } - } - } - - grouping NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf neighbor-graceful-restart-stalepath-time { - type uint32 { - range "1..4095"; - } - units "second"; - default "360"; - description - "Maximum time to wait for restart of GR capable - peer"; - } - } - - grouping BEST-PATH-AIGP-IGNORE { - description "Common node of global, vrf-global"; - leaf best-path-aigp-ignore { - type empty; - description - "Change default route selection criteria to - ignore AIGP unless both paths whichare compared - have AIGP attribute"; - } - } - - grouping SESSION-GROUP-ADD-MEMBER { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor"; - leaf session-group-add-member { - type string; - description - "Inherit address-family independent config from a - session-group"; - } - } - - grouping BFD-MULTIPLIER { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf bfd-multiplier { - type uint32 { - range "2..16"; - } - description - "Detection multiplier for BFD sessions created by - BGP"; - } - } - - grouping FLOWSPEC-VALIDATION { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf flowspec-validation { - type Bgp-flowspec-validation-cfg; - description "Config Flowspec validation for this neighbor"; - } - } - - grouping TTL-SECURITY { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf ttl-security { - type boolean; - description - "TRUE to enable BGP TTL Security. FALSE to not - enable it and to prevent inheritance from a - parent"; - } - } - - grouping BEST-PATH-MED-ALWAYS { - description "Common node of global, vrf-global"; - leaf best-path-med-always { - type empty; - description - "Change default route selection criteria and - allow comparing of MED from different neighbors"; - } - } - - grouping MAX-PEERS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf max-peers { - type uint32 { - range "1..4096"; - } - description "Set Maximum Peers in Dynamic Range"; - } - } - - grouping SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf send-community-ebgp-graceful-shutdown { - type boolean; - description - "TRUE to send communities to the external - neighbor/neighbor-group/af-group. FALSE not to - send and to prevent inheritance from a parent"; - } - } - - grouping DISABLE-MSG-LOG { - description "Common node of global, vrf-global"; - leaf disable-msg-log { - type empty; - description - "Disable inbound and outbound messagelogging for - all neighbors under the vrf"; - } - } - - grouping LOCAL-AS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container local-as { - description "Specify a local-as number"; - leaf as-xx { - type dt1:Bgp-as-range; - must "../as-yy and not(../disable)"; - description "xx of AS number xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - must "../as-xx and not(../disable)"; - description "yy of AS number xx.yy"; - } - leaf no-prepend { - type empty; - must "../as-xx and ../as-yy and not(../disable)"; - description - "Do not prepend Local AS to announcements from - this neighbor"; - } - leaf disable { - type empty; - must "not(../as-xx or ../as-yy or ../no-prepend or ../replace-as or ../dual-as)"; - description - "Disable Local AS and prevent it from being - inherited from a parent"; - } - leaf replace-as { - type empty; - must "../as-xx and ../as-yy and ../no-prepend and not(../disable)"; - description - "Prepend only Local AS to announcements from - this neighbor"; - } - leaf dual-as { - type empty; - must "../as-xx and ../as-yy and ../no-prepend and ../replace-as and not(../disable)"; - description "Dual-AS mode"; - } - } - } - - grouping LISP-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container lisp-routes { - presence "enable lisp-routes"; - description "Redistribute lisp routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - } - } - - grouping ADDITIONAL-PATHS-SEND-CAPABILITY { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf additional-paths-send-capability { - type dt1:Bgp-nbr-cap-additional-paths-cfg; - description "Advertise additional paths Send capability"; - } - } - - grouping L2VPN-SIGNALLING { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-af"; - leaf l2vpn-signalling { - type Bgp-signal; - description "Disable signalling type on the peer"; - } - } - - grouping DAMPENING { - description "Common node of global-af, vrf-global-af"; - - container dampening { - presence "enable dampening"; - description "Enable route-flap dampening"; - leaf half-life { - type uint32 { - range "1..45"; - } - units "minute"; - description "Half-life time for the penalty (minutes)."; - } - leaf reuse-threshold { - type uint32 { - range "1..20000"; - } - description "Value to start reusing a route."; - } - leaf suppress-threshold { - type uint32 { - range "1..20000"; - } - description "Value to start suppressing a route."; - } - leaf suppress-time { - type uint32 { - range "1..255"; - } - units "second"; - description - "Maximum duration to suppress a stable route - (seconds)."; - } - leaf route-policy-name { - type string; - description - "Route policy to specify criteria for dampening. - This cannot be specified if any other - parameters are specified."; - } - } - } - - grouping ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST { - description "Common node of global-af, vrf-global-af"; - leaf advertise-local-labeled-route-safi-unicast { - type dt1:Bgp-advertise-local-labeled-route-cfg; - description - "Enable/disable advertisement of routes with - local-label via Unicast SAFI"; - } - } - - grouping SUBSCRIBER-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container subscriber-routes { - presence "enable subscriber-routes"; - description "Redistribute subscriber routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - - grouping INTERNAL-VPN-CLIENT-IBGP-CE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf internal-vpn-client-ibgp-ce { - type boolean; - description - "TRUE to preserve the CE path attributes.FALSE to - override CE path attributes."; - } - } - - grouping ACCEPT-ROUTE-LEGACY-RT { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf accept-route-legacy-rt { - type boolean; - description - "TRUE to configure as a accept-route-legacy-RT. - FALSE to prevent accept-route-legacy-RT from - being inherited."; - } - } - - grouping PERMANENT-NETWORK { - description "Common node of global-af, vrf-global-af"; - leaf permanent-network { - type string; - description "Route policy for permanent networks"; - } - } - - grouping ENABLE { - description "Common node of global-af, vrf-global-af"; - leaf enable { - type empty; - description - "Enable the address family. Deletion of this - object causes deletion of all the objects under - GlobalAF/VRFGlobalAF associated with this object - ."; - } - } - - grouping EBGP-RECV-DMZ { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf ebgp-recv-dmz { - type boolean; - description - "TRUE to receive DMZ link bandwidth from ebgp - peer. FALSE to not receive from ebgp peer and to - prevent inheritance from a parent"; - } - } - - grouping ADVERTISEMENT-INTERVAL { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container advertisement-interval { - presence "Indicates a advertisement-interval node is"+ - " configured."; - description - "Minimum interval between sending BGP routing - updates"; - leaf minimum-interval { - type uint32 { - range "0..600"; - } - units "second"; - mandatory true; - description - "Minimum advertisement interval time, secs part"; - } - leaf minimum-interval-msecs { - type uint32 { - range "0..999"; - } - units "millisecond"; - description - "Minimum advertisement interval time, msecs part"; - } - } - } - - grouping IMPORT { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container import { - description - "Import Reorigination options for Routes from the - peer"; - leaf import-stitching { - type boolean; - description - "TRUE to Import with Stitching RTs, FALSE to - Import with normal RTs"; - } - leaf import-reoriginate { - type boolean; - description - "TRUE to Reoriginate imported routes, FALSE to - not Reoriginate imported routes - not supported"; - } - leaf import-reoriginate-stitching { - type boolean; - description - "TRUE to Reoriginate imported routes with - Stitching RTs, FALSE to Reoriginate imported - routes with normal RTs"; - } - } - } - - grouping ACCEPT-OWN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf accept-own { - type boolean; - description - "Handle self-originated routes with Accept-Own - community. Valid for following neighbor - address-families: VPNv4Unicast, VPNv6Unicast."; - } - } - - grouping ADDITIONAL-PATHS-RECEIVE { - description "Common node of global-af, vrf-global-af"; - leaf additional-paths-receive { - type dt1:Bgp-af-additional-paths-cfg; - description "Advertise additional paths Receive capability"; - } - } - - grouping MPLS-ACTIVATED-INTERFACE-TABLE { - description "Common node of global, vrf-global"; - - container mpls-activated-interfaces { - description "Configure list of MPLS activated interfaces"; - - list mpls-activated-interface { - key "interface-name"; - description "Configure a MPLS activated interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - } - - grouping MULTIPATH { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf multipath { - type empty; - description - "Allow paths from this neighbor to be eligible - for selective multipath"; - } - } - - grouping EIGRP-ROUTE-TABLE { - description "Common node of global-af, vrf-global-af"; - - container eigrp-routes { - description "Redistribute information for EIGRP routes."; - - list eigrp-route { - key "instance-name"; - description "Redistribute EIGRP routes"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "EIGRP router tag"; - } - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf redist-type { - type xr:Hex-integer; - description - "Redistribution type: 01 for internal routes, - 02 for external routes, Logical combinations - permitted."; - } - } - } - } - - grouping ROUTE-REFLECTOR-CLIENT { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf route-reflector-client { - type boolean; - description - "TRUE to configure as a route-reflector-client. - FALSE to prevent route-reflector-client from - being inherited."; - } - } - - grouping ADVERTISE-LOCAL-LABELED-ROUTE { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf advertise-local-labeled-route { - type dt1:Bgp-advertise-local-labeled-route-cfg; - description - "Enable/disable advertisement of routes with - local-label"; - } - } - - grouping SESSION-OPEN-MODE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf session-open-mode { - type Bgp-tcp-mode; - default "either"; - description "TCP mode to be used to establish BGP session"; - } - } - - grouping STATIC-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container static-routes { - presence "enable static-routes"; - description "Redistribute static routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - - grouping PASSWORD { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container password { - description "Set or disable a password"; - leaf password-disable { - type boolean; - description - "TRUE to prevent this entity from having a - password even if the parent has one. FALSEto - specify a password"; - } - leaf password { - when "../password-disable = 'false'" { - description "../PasswordDisable = 0"; - } - type xr:Proprietary-password; - description - "The neighbor password. Leave unspecified when - disabling the password."; - } - } - } - - grouping NEXT-HOP-UNCHANGED-MULTIPATH { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-groupCommon node of - neighbor-group-af, neighbor-af, vrf-neighbor-af, - af-group-af"; - leaf next-hop-unchanged-multipath { - type boolean; - description - "TRUE to disable overwriting of next hop for - multipaths. FALSE to prevent next-hop-unchanged - for multipaths."; - } - } - - grouping NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM { - description "Common node of global-af, vrf-global-af"; - leaf next-hop-resolution-prefix-length-minimum { - type uint32 { - range "0..128"; - } - default "0"; - description "Minimum prefix-length for nexthop resolution"; - } - } - - grouping BEST-PATH-AS-PATH-LENGTH { - description "Common node of global, vrf-global"; - leaf best-path-as-path-length { - type empty; - description - "Change default route selection criteria to - ignore AS path length"; - } - } - - grouping MSG-LOG-OUT { - description - "Common node of global, vrf-globalCommon node of - neighbor-group, neighbor, vrf-neighbor, - session-group"; - - container msg-log-out { - description "Message log outbound"; - leaf msg-buf-count { - type uint32 { - range "1..100"; - } - description "Outbound message log buffer size"; - } - leaf msg-log-disable { - type boolean; - description "Disable inbound message logging"; - } - leaf msg-log-inherit-disable { - type boolean; - description - "TRUE, to prevent this entity from having a - outbound message logging if parent has one"; - } - } - } - - grouping ENFORCE-MULTIPLE-LABELS { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf enforce-multiple-labels { - type boolean; - description "TRUE to enforce multiple labels support."; - } - } - - grouping PREFIX-ORF-POLICY { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-afCommon node of - neighbor-group-af, neighbor-af, vrf-neighbor-af, - af-group-af"; - leaf prefix-orf-policy { - type string; - description "Prefix ORF policy name for incoming updates"; - } - } - - grouping SOURCED-NETWORK-TABLE { - description "Common node of global-af, vrf-global-af"; - - container sourced-networks { - description "Specify a network to announce via BGP"; - - list sourced-network { - key "network-addr network-prefix"; - description "Sourced network configuration"; - leaf network-addr { - type inet:ip-address; - description - "Network in prefix/length format (address part)"; - } - leaf network-prefix { - type uint16 { - range "0..128"; - } - description - "Network in prefix/length format (prefix part)"; - } - leaf backdoor { - type boolean; - description - "Specify a BGP backdoor route, default is FALSE"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - } - } - } - - grouping REMOVE-PRIVATE-AS-ENTIRE-AS-PATH { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container remove-private-as-entire-as-path { - presence "Indicates a remove-private-as-entire-as-path node"+ - " is configured."; - description "Remove private AS number from outbound updates"; - leaf enable { - type boolean; - mandatory true; - description - "TRUE to remove private AS from outbound updates - . FALSE to prevent remove-private-AS from - being inherited."; - } - leaf entire { - type boolean; - description - "TRUE to remove private AS from outbound updates - if all ASes in aspath areprivate. FALSE to - prevent remove-private-ASfrom being inherited."; - } - } - } - - grouping GRACEFUL-MAINTENANCE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container graceful-maintenance { - description "Graceful Maintenance mode"; - - container graceful-maintenance-local-preference { - description "Set Local Preference to advertise routes with"; - leaf gshut-loc-pref-disable { - type boolean; - description - "TRUE, to prevent inheritance of Local Pref - value from its parents.FALSE, otherwise"; - } - leaf local-preference { - type uint32 { - range "0..4294967295"; - } - description "Local Preference Value"; - } - } - - container graceful-maintenance-as-prepends { - description - "Number of times to prepend local AS number to - the AS path"; - leaf gshut-prepends-disable { - type boolean; - description - "TRUE, to prevent inheritance of AS Prepends - value from its parents.FALSE, otherwise"; - } - leaf as-prepends { - type uint32 { - range "0..6"; - } - description "number of times AS prepends"; - } - } - leaf enable { - type empty; - description - "Enter Graceful Maintenance mode to configure - parametrs"; - } - leaf graceful-maintenance-activate { - type boolean; - description "Initiate the graceful shutdown procedure"; - } - } - } - - grouping NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container neighbor-af-long-lived-graceful-restart-stale-time { - description - "Maximum time to wait before purging long lived - routes"; - leaf stale-time-send { - type uint32 { - range "0..16777215"; - } - units "second"; - default "0"; - description "Max time (seconds)"; - } - leaf stale-time-accept { - type uint32 { - range "0..16777215"; - } - units "second"; - default "0"; - description "Max time (seconds)"; - } - } - } - - grouping BFD { - description "Common node of global, vrf-global"; - - container bfd { - description "BFD configuration"; - leaf detection-multiplier { - type uint32 { - range "2..16"; - } - description - "Detection multiplier for BFD sessions created - by BGP"; - } - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by BGP"; - } - } - } - - grouping ALLOCATE-LABEL { - description "Common node of global-af, vrf-global-af"; - - container allocate-label { - description "Label allocation policy"; - leaf all { - type boolean; - description - "Whether all nets should be labeled, default is - FALSE"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - } - } - - grouping SEND-BUFFER-SIZE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container send-buffer-size { - description - "Set socket send buffer size and BGP write buffer - size"; - leaf socket-send-size { - type uint32 { - range "4096..131072"; - } - units "byte"; - default "24576"; - description "Send socket buffer size in bytes"; - } - leaf bgp-send-size { - type uint32 { - range "4096..131072"; - } - units "byte"; - default "4096"; - description "BGP write buffer size in bytes"; - } - } - } - - grouping BEST-PATH-MED-MISSING { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-groupCommon node of global, - vrf-global"; - leaf best-path-med-missing { - type empty; - description "Treat missing MED as the least preferred one"; - } - } - - grouping SUPPRESS-ALL-CAPABILITIES { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf suppress-all-capabilities { - type boolean; - description - "TRUE to suppress all capabilities. FALSE to not - suppress and to prevent inheritance from a - parent"; - } - } - - grouping DEFAULT-WEIGHT { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-groupCommon node of - neighbor-group-af, neighbor-af, vrf-neighbor-af, - af-group-af"; - leaf default-weight { - type uint32 { - range "0..65535"; - } - description - "Set default weight for routes from this - neighbor/neighbor-group/af-group"; - } - } - - grouping SUPPRESS-FOUR-BYTE-AS-CAPABILITY { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf suppress-four-byte-as-capability { - type boolean; - description - "TRUE to suppress BGP 4-byte-as capability. - FALSE to not suppress it and to prevent - inheritance from a parent"; - } - } - - grouping ADVERTISE-LOCAL-L2VPN-EVPN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-local-l2vpn-evpn { - description - "Advertise Of Local Routes to the peer with - different RT"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping EGRESS-PEER-ENGINEERING { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf egress-peer-engineering { - type boolean; - description - "TRUE to enable egress peer engineering FALSE to - disable egress peer engineering and to prevent - inheritance from a parent"; - } - } - - grouping BEST-PATH-CONFEDERATION-PATHS { - description "Common node of global, vrf-global"; - leaf best-path-confederation-paths { - type empty; - description - "Change default route selection criteria and - allow the comparing of MED among confederation - paths"; - } - } - - grouping DYNAMIC-MED-INTERVAL { - description "Common node of global-af, vrf-global-af"; - leaf dynamic-med-interval { - type uint32 { - range "0..10"; - } - units "minute"; - default "10"; - description - "Update generation delay (in minutes) after a MED - change"; - } - } - - grouping REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container remove-private-as-entire-as-path-inbound { - presence "Indicates a"+ - " remove-private-as-entire-as-path-inbound node is"+ - " configured."; - description "Remove private AS number from inbound updates"; - leaf enable { - type boolean; - mandatory true; - description - "TRUE to remove private AS from inbound updates. - FALSE to prevent remove-private-AS from being - inherited."; - } - leaf entire { - type boolean; - description - "TRUE to remove private AS from inbound updates - if all ASes in aspath areprivate. FALSE to - prevent remove-private-ASfrom being inherited."; - } - } - } - - grouping CONNECTED-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container connected-routes { - presence "enable connected-routes"; - description "Redistribute connected routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - - grouping IGP-REDIST-INTERNAL { - description "Common node of global, vrf-global"; - leaf igp-redist-internal { - type empty; - description - "Allow redistribution of iBGP into IGPs - (dangerous)"; - } - } - - grouping AIGP-SEND-MED { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf aigp-send-med { - type Bgp-aigp-cfg; - description "Enable/Disable sending AIGP in MED "; - } - } - - grouping AIGP { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf aigp { - type Bgp-aigp-cfg; - description - "Enable Accumulated IGP Metric for this neighbor."; - } - } - - grouping ADVERTISE-ORF { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf advertise-orf { - type Bgp-orf; - default "none"; - description "Advertise ORF capability to the peer"; - } - } - - grouping BFD-MINIMUM-INTERVAL { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf bfd-minimum-interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description "Hello interval for BFD sessions created by BGP"; - } - } - - grouping AIGP-COST-COMMUNITY { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container aigp-cost-community { - presence "Indicates a aigp-cost-community node is configured."; - description "Send AIGP value in Cost Community. "; - leaf enable { - type boolean; - mandatory true; - description - "TRUE to enable sending cost community, FALSE - otherwise "; - } - leaf cost-community-id { - type uint32 { - range "0..255"; - } - mandatory true; - description "Cost Community ID"; - } - leaf transitive { - type boolean; - description - "True to send transitive cost community FALSE - otherwise"; - } - leaf cost-community-poi-type { - type Bgp-aigp-cfg-poi; - mandatory true; - description "Cost Community POI"; - } - } - } - - grouping DISABLE-AS-PATH-LOOP-CHECK { - description "Common node of global-af, vrf-global-af"; - leaf disable-as-path-loop-check { - type empty; - description "Disable outbound AS Path loop check"; - } - } - - grouping BEST-PATH-ROUTER-ID { - description "Common node of global, vrf-global"; - leaf best-path-router-id { - type empty; - description - "Change default route selection criteria and - compare router-id for identical EBGP paths"; - } - } - - grouping RIP-ROUTES { - description "Common node of global-af, vrf-global-af"; - - container rip-routes { - presence "enable rip-routes"; - description "Redistribute RIP routes"; - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf not-used { - type uint32 { - range "0..127"; - } - description "Not used"; - } - } - } - - grouping DESCRIPTION { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - leaf description { - type string; - description "Up to 80 characters describing this neighbor"; - } - } - - grouping ADVERTISE-L2VPN-EVPN { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - - container advertise-l2vpn-evpn { - description "Advertise Translated Routes to the peer"; - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf reorg-option { - type Bgp-reorg-opt; - description "Reorigination option"; - } - leaf rt-type { - type Bgp-adv-rt; - description "RT type"; - } - } - } - - grouping KEYCHAIN { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container keychain { - description "Set or disable keychain based authentication"; - leaf keychain-disable { - type boolean; - description - "TRUE to prevent this entity from having a - keychain based authentication even if the - parent has one.FALSE to specify a keychain name"; - } - leaf keychain-name { - when "../keychain-disable = 'false'" { - description "../KeychainDisable = 0"; - } - type string; - description "Name of the keychain associated with neighbor"; - } - } - } - - grouping RECEIVE-BUFFER-SIZE { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container receive-buffer-size { - description - "Set socket receive buffer size and BGP read - buffer size"; - leaf socket-receive-size { - type uint32 { - range "512..131072"; - } - units "byte"; - default "32768"; - description "Receive socket buffer size in bytes"; - } - leaf bgp-receive-size { - type uint32 { - range "512..131072"; - } - units "byte"; - default "4096"; - description "BGP read buffer size in bytes"; - } - } - } - - grouping NEXT-HOP-UNCHANGED { - description - "Common node of neighbor-group-af, neighbor-af, - vrf-neighbor-af, af-group-af"; - leaf next-hop-unchanged { - type boolean; - description - "TRUE to disable overwriting of next hop before - advertising to eBGP peers. FALSE to prevent - next-hop-unchanged from being inherited."; - } - } - - grouping OSPF-ROUTE-TABLE { - description "Common node of global-af, vrf-global-af"; - - container ospf-routes { - description "Redistribute information for OSPF routes."; - - list ospf-route { - key "instance-name"; - description "Redistribute OSPF routes"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "OSPF router tag"; - } - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf redist-type { - type xr:Hex-integer; - description - "Redistribution type: 01 for internal routes, - 02 for external routes of type 1, 04 for - external routes of type 2, 08 for NSSA - external routes of type 1, 10 for NSSA - external routes of type 2, 20 for external - routes, 40 for NSSA external routes. Logical - combinations permitted."; - } - } - } - } - - grouping ROUTER-ID { - description "Common node of global, vrf-global"; - leaf router-id { - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "Configure Router-id"; - } - } - - grouping DEFAULT-METRIC { - description "Common node of global, vrf-global"; - leaf default-metric { - type uint32 { - range "1..4294967295"; - } - description "Default redistributed metric"; - } - } - - grouping RPKI-ORIGIN-AS-VALIDATION-DISABLE { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-af"; - leaf rpki-origin-as-validation-disable { - type empty; - description "RPKI origin-AS validation disable"; - } - } - - grouping BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE { - description - "Common node of neighbor-group-af, neighbor-af, - af-group-afCommon node of neighbor-group, - neighbor, session-group"; - leaf rpki-origin-as-validation-disable { - type empty; - description "RPKI origin-AS validation disable"; - } - } - - grouping DISABLE-NEIGHBOR-LOGGING { - description "Common node of global, vrf-global"; - leaf disable-neighbor-logging { - type empty; - description "Disable neighbor change logging"; - } - } - - grouping TCPMSS { - description - "Common node of neighbor-group, neighbor, - vrf-neighbor, session-group"; - - container tcpmss { - description "TCP Maximum segment size"; - leaf tcpmss-disable { - type boolean; - description - "TRUE, to prevent inheritance ofTCP MSS - valuefrom its parents.FALSE, otherwise"; - } - leaf mss { - type uint32 { - range "68..10000"; - } - description "Maximum Segment Size"; - } - } - } - - container bgp { - description "BGP configuration commands"; - - list instance { - key "instance-name"; - description "BGP instance configuration commands"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "Instance Name. For Default instance use - - default"; - } - - list instance-as { - key "as"; - description "Autonomous system"; - leaf as { - type dt1:Bgp-as-range; - description - "Higher 16 bits of 4-byte Autonomous system - number"; - } - - list four-byte-as { - key "as"; - description "4-byte Autonomous system"; - - container vrfs { - description "VRF config"; - - list vrf { - key "vrf-name"; - description "VRF config"; - - container vrf-global { - description "VRF attribute config"; - - container route-distinguisher { - description "Route distinguisher"; - leaf type { - type Bgp-route-distinguisher; - description "Type of RD"; - } - leaf as-xx { - when "../type = 'as' or ../type ="+ - " 'four-byte-as'" { - description - "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-as-range; - description "AS number"; - } - leaf as { - when "../type = 'as' or ../type ="+ - " 'four-byte-as'" { - description - "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-as-range; - description "AS number"; - } - leaf as-index { - when "../type = 'as' or ../type ="+ - " 'four-byte-as'" { - description - "../Type = AS or ../Type = FourByteAS"; - } - type dt1:Bgp-extcomm-asn-index; - description "ASN Index"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IP address"; - } - leaf address-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type dt1:Bgp-extcomm-v4-addr-index; - description "IP address index"; - } - } - - container vrf-global-afs { - description "Global VRF-specific configuration"; - - list vrf-global-af { - key "af-name"; - description - "Global VRF AF-specific configuration"; - - container mvpn { - description "MVPN configurations"; - leaf single-forwarder-selection { - type Bgp-mvpn-sfs-select; - description - "Select MVPN single forwarder selection"; - } - } - - container ebgp { - presence "Indicates a ebgp node is"+ - " configured."; - description "Use eBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..32"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description "UNUSED"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP - metric"; - } - } - - container eibgp { - presence "Indicates a eibgp node is"+ - " configured."; - description "Use eiBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..32"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description "UNUSED"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP - metric"; - } - } - - container ibgp { - presence "Indicates a ibgp node is"+ - " configured."; - description "Use iBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..32"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description - "Allow multipaths to have different IGP - metrics"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP - metric"; - } - } - leaf rt-download { - type empty; - description - "Route-Target download configuration"; - } - leaf allow-vpn-default-originate { - type boolean; - description - "TRUE to send default orig route to VPN - neighborFALSE to not send default - originate route "; - } - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - uses AGGREGATE-ADDRESS-TABLE; - uses DYNAMIC-MED-INTERVAL; - uses DAMPENING; - uses ENABLE; - uses RIP-ROUTES; - uses LISP-ROUTES; - uses STATIC-ROUTES; - uses DISTANCE; - uses TABLE-POLICY; - uses APP-ROUTE-TABLE; - uses ATTRIBUTE-DOWNLOAD; - uses LABEL-MODE; - uses EIGRP-ROUTE-TABLE; - uses BEST-EXTERNAL; - uses SOURCED-NETWORK-TABLE; - uses CONNECTED-ROUTES; - uses ADDITIONAL-PATHS-RECEIVE; - uses PERMANENT-NETWORK; - uses ALLOCATE-LABEL; - uses ADDITIONAL-PATHS-SELECTION; - uses NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM; - uses RESET-WEIGHT-ON-IMPORT; - uses OSPF-ROUTE-TABLE; - uses ADDITIONAL-PATHS-SEND; - uses ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST; - uses MOBILE-ROUTES; - uses DISABLE-AS-PATH-LOOP-CHECK; - uses SUBSCRIBER-ROUTES; - } - } - leaf exists { - type empty; - description - "Create this VRF. Deletion of this object - causes deletion of all the objects under - VRF associated with this object."; - } - uses ROUTER-ID; - uses DISABLE-ENFORCE-FIRST-AS; - uses BEST-PATH-COST-COMMUNITY; - uses BEST-PATH-AIGP-IGNORE; - uses BEST-PATH-AS-PATH-LENGTH; - uses IGP-REDIST-INTERNAL; - uses MULTI-PATH-AS-PATH-IGNORE-ONWARDS; - uses DISABLE-FAST-EXTERNAL-FALLOVER; - uses DEFAULT-METRIC; - uses DEFAULT-INFO-ORIGINATE; - uses BEST-PATH-CONFEDERATION-PATHS; - uses BEST-PATH-AS-MULTIPATH-RELAX; - uses MPLS-ACTIVATED-INTERFACE-TABLE; - uses DISABLE-AUTO-SOFT-RESET; - uses DISABLE-MSG-LOG; - uses GLOBAL-TIMERS; - uses BFD; - uses DISABLE-NEIGHBOR-LOGGING; - uses SEND-SOCKET-BUFFER-SIZES; - uses BEST-PATH-MED-ALWAYS; - uses RECEIVE-SOCKET-BUFFER-SIZES; - uses BEST-PATH-ROUTER-ID; - uses BEST-PATH-MED-MISSING; - uses LOCAL-PREFERENCE; - } - - container vrf-neighbors { - - grouping VRF-NEIGHBOR-CONTENT { - description "VRF NEIGHBOR CONTENT"; - - container vrf-neighbor-afs { - description - "Address family type of a VRF neighbor"; - - list vrf-neighbor-af { - key "af-name"; - description - "Address family type of a VRF neighbor"; - leaf af-name { - type dt1:Bgp-address-family; - description "BGP neighbor address family"; - } - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-CAPABLE"; - uses SEND-EXT-COMMUNITY-EBGP; - uses ACCEPT-ROUTE-LEGACY-RT; - uses AIGP-COST-COMMUNITY; - uses SEND-COMMUNITY-EBGP; - uses ADVERTISE-DEF-IMP-DISABLE-V6; - uses ADVERTISE-DISABLE; - uses MAXIMUM-PREFIXES; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; - uses NEXT-HOP-UNCHANGED; - uses ADVERTISE-LOCAL-LABELED-ROUTE; - uses ADVERTISE-DEF-IMP-DISABLE-V4; - uses FLOWSPEC-VALIDATION; - uses ADVERTISE-L2VPN-EVPN; - uses ADVERTISE-LOCAL-L2VPN-EVPN; - uses ENCAPSULATION-TYPE; - uses ENFORCE-MULTIPLE-LABELS; - uses AS-OVERRIDE; - uses MULTIPATH; - uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; - uses ACTIVATE; - uses PREFIX-ORF-POLICY; - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-STALE-TIME"; - uses SITE-OF-ORIGIN; - uses AIGP; - uses AIGP-SEND-MED; - uses ADVERTISE-V6; - uses ALLOW-AS-IN; - uses ADVERTISE-ORF; - uses ROUTE-REFLECTOR-CLIENT; - uses NEXT-HOP-SELF; - uses ADVERTISE-LOCAL-V6; - uses ROUTE-POLICY-IN; - uses IMPORT; - uses DEFAULT-ORIGINATE; - uses SOFT-RECONFIGURATION; - uses ADVERTISE-VRF-IMP-DISABLE-V6; - uses DEFAULT-WEIGHT; - uses AF-GROUP; - uses ADVERTISE-V4; - uses NEXT-HOP-UNCHANGED-MULTIPATH; - uses ACCEPT-OWN; - uses ROUTE-POLICY-OUT; - uses ADVERTISE-LOCAL-V4; - uses ADVERTISE-PERMANENT-NETWORK; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; - uses ADVERTISE-VRF-IMP-DISABLE-V4; - } - } - uses INTERNAL-VPN-CLIENT-IBGP-CE; - uses LOCAL-ADDRESS; - uses BMP-ACTIVATE-TABLE; - uses EBGP-MULTIHOP; - uses SESSION-GROUP-ADD-MEMBER; - uses EGRESS-PEER-ENGINEERING; - uses REMOTE-AS; - uses LOCAL-AS; - uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; - uses SHUTDOWN; - uses DESCRIPTION; - uses NEIGHBOR-GROUP-ADD-MEMBER; - uses PASSWORD; - uses EBGP-RECV-DMZ; - uses ADVERTISEMENT-INTERVAL; - uses NEIGHBOR-CLUSTER-ID; - uses NEIGHBOR-GRACEFUL-RESTART; - uses ENFORCE-FIRST-AS; - uses IDLE-WATCH-TIME; - uses TCPMSS; - uses SESSION-OPEN-MODE; - uses TOS; - uses UPDATE-IN-FILTERING; - uses EBGP-SEND-DMZ-ENABLE-MODES; - uses MSG-LOG-OUT; - uses SUPPRESS-ALL-CAPABILITIES; - uses MAX-PEERS; - uses RECEIVE-BUFFER-SIZE; - uses MSG-LOG-IN; - uses ADDITIONAL-PATHS-SEND-CAPABILITY; - uses PROPAGATE-DMZ-LINK-BANDWIDTH; - uses BFD-ENABLE-MODES; - uses SEND-BUFFER-SIZE; - uses TTL-SECURITY; - uses NEIGHBOR-GRACEFUL-RESTART-TIME; - uses TIMERS; - uses BFD-MULTIPLIER; - uses BFD-MINIMUM-INTERVAL; - uses REMOTE-AS-LIST; - uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; - uses KEYCHAIN; - uses IGNORE-CONNECTED-CHECK-EBGP; - uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; - uses UPDATE-SOURCE-INTERFACE; - uses GRACEFUL-MAINTENANCE; - } - - list vrf-neighbor { - key "neighbor-address"; - description "A particular VRF peer"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses VRF-NEIGHBOR-CONTENT; - } - - list vrf-neighbor-prefix-length { - key "prefix-length neighbor-address"; - description "A particular VRF peer"; - leaf prefix-length { - type uint32 { - range "0..127"; - } - description "Prefix length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses VRF-NEIGHBOR-CONTENT; - } - description "BGP VRF peer"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container default-vrf { - description "Global default config"; - - container bgp-entity { - description - "Neighbor, neighbor-group, af-group and - session-group configuration"; - - container neighbors { - - grouping NEIGHBOR-CONTENT { - description "NEIGHBOR CONTENT"; - - container neighbor-afs { - description - "BGP neighbor AF configuration table"; - - list neighbor-af { - key "af-name"; - description "Address family type of neighbor"; - leaf af-name { - type dt1:Bgp-address-family; - description "BGP neighbor address family"; - } - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-CAPABLE"; - uses L2VPN-SIGNALLING; - uses SEND-EXT-COMMUNITY-EBGP; - uses ACCEPT-ROUTE-LEGACY-RT; - uses AIGP-COST-COMMUNITY; - uses SEND-COMMUNITY-EBGP; - uses ADVERTISE-DEF-IMP-DISABLE-V6; - uses ADVERTISE-DISABLE; - uses SEND-MULTICAST-ATTR; - uses MAXIMUM-PREFIXES; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; - uses NEXT-HOP-UNCHANGED; - uses ADVERTISE-LOCAL-LABELED-ROUTE; - uses ADVERTISE-DEF-IMP-DISABLE-V4; - uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses FLOWSPEC-VALIDATION; - uses ADVERTISE-L2VPN-EVPN; - uses ADVERTISE-LOCAL-L2VPN-EVPN; - uses ENCAPSULATION-TYPE; - uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses ENFORCE-MULTIPLE-LABELS; - uses AS-OVERRIDE; - uses MULTIPATH; - uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; - uses ACTIVATE; - uses PREFIX-ORF-POLICY; - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-STALE-TIME"; - uses AIGP; - uses AIGP-SEND-MED; - uses ADVERTISE-V6; - uses ALLOW-AS-IN; - uses ADVERTISE-ORF; - uses ROUTE-REFLECTOR-CLIENT; - uses NEXT-HOP-SELF; - uses ADVERTISE-LOCAL-V6; - uses ROUTE-POLICY-IN; - uses IMPORT; - uses DEFAULT-ORIGINATE; - uses SOFT-RECONFIGURATION; - uses ADVERTISE-VRF-IMP-DISABLE-V6; - uses DEFAULT-WEIGHT; - uses AF-GROUP; - uses ADVERTISE-V4; - uses NEXT-HOP-UNCHANGED-MULTIPATH; - uses ACCEPT-OWN; - uses ROUTE-POLICY-OUT; - uses ADVERTISE-LOCAL-V4; - uses ADVERTISE-PERMANENT-NETWORK; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; - uses ADVERTISE-VRF-IMP-DISABLE-V4; - } - } - uses INTERNAL-VPN-CLIENT-IBGP-CE; - uses LOCAL-ADDRESS; - uses BMP-ACTIVATE-TABLE; - uses EBGP-MULTIHOP; - uses SESSION-GROUP-ADD-MEMBER; - uses EGRESS-PEER-ENGINEERING; - uses REMOTE-AS; - uses LOCAL-AS; - uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; - uses SHUTDOWN; - uses DESCRIPTION; - uses NEIGHBOR-GROUP-ADD-MEMBER; - uses PASSWORD; - uses EBGP-RECV-DMZ; - uses ADVERTISEMENT-INTERVAL; - uses NEIGHBOR-CLUSTER-ID; - uses NEIGHBOR-GRACEFUL-RESTART; - uses ENFORCE-FIRST-AS; - uses IDLE-WATCH-TIME; - uses TCPMSS; - uses SESSION-OPEN-MODE; - uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses TOS; - uses UPDATE-IN-FILTERING; - uses EBGP-SEND-DMZ-ENABLE-MODES; - uses MSG-LOG-OUT; - uses SUPPRESS-ALL-CAPABILITIES; - uses MAX-PEERS; - uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses RECEIVE-BUFFER-SIZE; - uses MSG-LOG-IN; - uses ADDITIONAL-PATHS-SEND-CAPABILITY; - uses PROPAGATE-DMZ-LINK-BANDWIDTH; - uses BFD-ENABLE-MODES; - uses SEND-BUFFER-SIZE; - uses TTL-SECURITY; - uses NEIGHBOR-GRACEFUL-RESTART-TIME; - uses TIMERS; - uses BFD-MULTIPLIER; - uses BFD-MINIMUM-INTERVAL; - uses REMOTE-AS-LIST; - uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; - uses KEYCHAIN; - uses IGNORE-CONNECTED-CHECK-EBGP; - uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; - uses UPDATE-SOURCE-INTERFACE; - uses GRACEFUL-MAINTENANCE; - } - - list neighbor { - key "neighbor-address"; - description "A particular BGP peer"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses NEIGHBOR-CONTENT; - } - - list neighbor-prefix-length { - key "prefix-length neighbor-address"; - description "A particular BGP peer"; - leaf prefix-length { - type uint32 { - range "0..127"; - } - description "Prefix length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses NEIGHBOR-CONTENT; - } - description "Neighbor configuration"; - } - - container neighbor-groups { - description "Neighbor-group configuration"; - - list neighbor-group { - key "neighbor-group-name"; - description "A particular BGP neighbor group"; - - container neighbor-group-afs { - description - "BGP neighbor-group AF configuration table"; - - list neighbor-group-af { - key "af-name"; - description - "Address family type of neighbor group"; - leaf af-name { - type dt1:Bgp-address-family; - description - "BGP neighbor group address family"; - } - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-CAPABLE"; - uses L2VPN-SIGNALLING; - uses SEND-EXT-COMMUNITY-EBGP; - uses ACCEPT-ROUTE-LEGACY-RT; - uses AIGP-COST-COMMUNITY; - uses SEND-COMMUNITY-EBGP; - uses ADVERTISE-DEF-IMP-DISABLE-V6; - uses ADVERTISE-DISABLE; - uses SEND-MULTICAST-ATTR; - uses MAXIMUM-PREFIXES; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; - uses NEXT-HOP-UNCHANGED; - uses ADVERTISE-LOCAL-LABELED-ROUTE; - uses ADVERTISE-DEF-IMP-DISABLE-V4; - uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses FLOWSPEC-VALIDATION; - uses ADVERTISE-L2VPN-EVPN; - uses ADVERTISE-LOCAL-L2VPN-EVPN; - uses ENCAPSULATION-TYPE; - uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses ENFORCE-MULTIPLE-LABELS; - uses AS-OVERRIDE; - uses MULTIPATH; - uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; - uses ACTIVATE; - uses PREFIX-ORF-POLICY; - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-STALE-TIME"; - uses SITE-OF-ORIGIN; - uses AIGP; - uses AIGP-SEND-MED; - uses ADVERTISE-V6; - uses ALLOW-AS-IN; - uses ADVERTISE-ORF; - uses ROUTE-REFLECTOR-CLIENT; - uses NEXT-HOP-SELF; - uses ADVERTISE-LOCAL-V6; - uses ROUTE-POLICY-IN; - uses IMPORT; - uses DEFAULT-ORIGINATE; - uses SOFT-RECONFIGURATION; - uses ADVERTISE-VRF-IMP-DISABLE-V6; - uses DEFAULT-WEIGHT; - uses AF-GROUP; - uses ADVERTISE-V4; - uses NEXT-HOP-UNCHANGED-MULTIPATH; - uses ACCEPT-OWN; - uses ROUTE-POLICY-OUT; - uses ADVERTISE-LOCAL-V4; - uses ADVERTISE-PERMANENT-NETWORK; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; - uses ADVERTISE-VRF-IMP-DISABLE-V4; - } - } - leaf neighbor-group-add-member { - type string; - description - "Inherit configuration from a - neighbor-group"; - } - leaf neighbor-group-name { - type xr:Cisco-ios-xr-string; - description "BGP neighbor group name"; - } - uses INTERNAL-VPN-CLIENT-IBGP-CE; - uses LOCAL-ADDRESS; - uses BMP-ACTIVATE-TABLE; - uses EBGP-MULTIHOP; - uses SESSION-GROUP-ADD-MEMBER; - uses EGRESS-PEER-ENGINEERING; - uses REMOTE-AS; - uses LOCAL-AS; - uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; - uses SHUTDOWN; - uses DESCRIPTION; - uses PASSWORD; - uses EBGP-RECV-DMZ; - uses ADVERTISEMENT-INTERVAL; - uses NEIGHBOR-CLUSTER-ID; - uses NEIGHBOR-GRACEFUL-RESTART; - uses ENFORCE-FIRST-AS; - uses IDLE-WATCH-TIME; - uses TCPMSS; - uses SESSION-OPEN-MODE; - uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses TOS; - uses UPDATE-IN-FILTERING; - uses EBGP-SEND-DMZ-ENABLE-MODES; - uses MSG-LOG-OUT; - uses SUPPRESS-ALL-CAPABILITIES; - uses MAX-PEERS; - uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses RECEIVE-BUFFER-SIZE; - uses MSG-LOG-IN; - uses ADDITIONAL-PATHS-SEND-CAPABILITY; - uses PROPAGATE-DMZ-LINK-BANDWIDTH; - uses BFD-ENABLE-MODES; - uses SEND-BUFFER-SIZE; - uses TTL-SECURITY; - uses NEIGHBOR-GRACEFUL-RESTART-TIME; - uses TIMERS; - uses BFD-MULTIPLIER; - uses BFD-MINIMUM-INTERVAL; - uses REMOTE-AS-LIST; - uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; - uses KEYCHAIN; - uses IGNORE-CONNECTED-CHECK-EBGP; - uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; - uses UPDATE-SOURCE-INTERFACE; - uses CREATE; - uses GRACEFUL-MAINTENANCE; - } - } - - container af-groups { - description "AF-group configuration"; - - list af-group { - key "af-group-name"; - description "A particular BGP AF group"; - - container af-group-afs { - description "AF group configuration table"; - - list af-group-af { - key "af-name"; - description - "Address family type of an AF group"; - leaf af-group { - type string; - description - "Inherit configuration for this - address-family from an AF-group"; - } - leaf create { - type empty; - description - "Create this address family group. - Deletion of this object causes deletion - of all the objects under AFGroup - associated with this object."; - } - leaf af-name { - type dt1:Bgp-address-family; - description "BGP AF group address family"; - } - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-CAPABLE"; - uses L2VPN-SIGNALLING; - uses SEND-EXT-COMMUNITY-EBGP; - uses ACCEPT-ROUTE-LEGACY-RT; - uses AIGP-COST-COMMUNITY; - uses SEND-COMMUNITY-EBGP; - uses ADVERTISE-DEF-IMP-DISABLE-V6; - uses ADVERTISE-DISABLE; - uses SEND-MULTICAST-ATTR; - uses MAXIMUM-PREFIXES; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; - uses NEXT-HOP-UNCHANGED; - uses ADVERTISE-LOCAL-LABELED-ROUTE; - uses ADVERTISE-DEF-IMP-DISABLE-V4; - uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses FLOWSPEC-VALIDATION; - uses ADVERTISE-L2VPN-EVPN; - uses ADVERTISE-LOCAL-L2VPN-EVPN; - uses ENCAPSULATION-TYPE; - uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses ENFORCE-MULTIPLE-LABELS; - uses AS-OVERRIDE; - uses MULTIPATH; - uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; - uses PREFIX-ORF-POLICY; - uses "NEIGHBOR-AF-LONG-LIVED"+ - "-GRACEFUL-RESTART-STALE-TIME"; - uses SITE-OF-ORIGIN; - uses AIGP; - uses AIGP-SEND-MED; - uses ADVERTISE-V6; - uses ALLOW-AS-IN; - uses ADVERTISE-ORF; - uses ROUTE-REFLECTOR-CLIENT; - uses NEXT-HOP-SELF; - uses ADVERTISE-LOCAL-V6; - uses ROUTE-POLICY-IN; - uses IMPORT; - uses DEFAULT-ORIGINATE; - uses SOFT-RECONFIGURATION; - uses ADVERTISE-VRF-IMP-DISABLE-V6; - uses DEFAULT-WEIGHT; - uses ADVERTISE-V4; - uses NEXT-HOP-UNCHANGED-MULTIPATH; - uses ACCEPT-OWN; - uses ROUTE-POLICY-OUT; - uses ADVERTISE-LOCAL-V4; - uses ADVERTISE-PERMANENT-NETWORK; - uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; - uses ADVERTISE-VRF-IMP-DISABLE-V4; - } - } - leaf af-group-name { - type xr:Cisco-ios-xr-string; - description "BGP AF group name"; - } - } - } - - container session-groups { - description "Session group configuration"; - - list session-group { - key "session-group-name"; - description "A particular BGP session group"; - leaf session-group-add-member { - type string; - description - "Inherit address-family independent config - from a session-group"; - } - leaf session-group-name { - type xr:Cisco-ios-xr-string; - description "BGP session group name"; - } - uses INTERNAL-VPN-CLIENT-IBGP-CE; - uses LOCAL-ADDRESS; - uses BMP-ACTIVATE-TABLE; - uses EBGP-MULTIHOP; - uses EGRESS-PEER-ENGINEERING; - uses REMOTE-AS; - uses LOCAL-AS; - uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; - uses SHUTDOWN; - uses DESCRIPTION; - uses PASSWORD; - uses EBGP-RECV-DMZ; - uses ADVERTISEMENT-INTERVAL; - uses NEIGHBOR-CLUSTER-ID; - uses NEIGHBOR-GRACEFUL-RESTART; - uses ENFORCE-FIRST-AS; - uses IDLE-WATCH-TIME; - uses TCPMSS; - uses SESSION-OPEN-MODE; - uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; - uses TOS; - uses UPDATE-IN-FILTERING; - uses EBGP-SEND-DMZ-ENABLE-MODES; - uses MSG-LOG-OUT; - uses SUPPRESS-ALL-CAPABILITIES; - uses MAX-PEERS; - uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; - uses RECEIVE-BUFFER-SIZE; - uses MSG-LOG-IN; - uses ADDITIONAL-PATHS-SEND-CAPABILITY; - uses PROPAGATE-DMZ-LINK-BANDWIDTH; - uses BFD-ENABLE-MODES; - uses SEND-BUFFER-SIZE; - uses TTL-SECURITY; - uses NEIGHBOR-GRACEFUL-RESTART-TIME; - uses TIMERS; - uses BFD-MULTIPLIER; - uses BFD-MINIMUM-INTERVAL; - uses REMOTE-AS-LIST; - uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; - uses KEYCHAIN; - uses IGNORE-CONNECTED-CHECK-EBGP; - uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; - uses UPDATE-SOURCE-INTERFACE; - uses CREATE; - uses GRACEFUL-MAINTENANCE; - } - } - } - - container global { - description "Global default config"; - - container cluster-id { - description "Configure Route-Reflector Cluster-id"; - leaf cluster-id-number { - type uint32 { - range "1..4294967295"; - } - description - "Route-Reflector Cluster ID as 32 bit - quantity"; - } - leaf cluster-id-address { - type inet:ipv4-address-no-zone; - description - "Route-Reflector Cluster ID in IPV4 address - format"; - } - } - - container write-limit { - description - "Set write-queue limit for each update group"; - leaf formatted-messages { - type uint32 { - range "500..100000000"; - } - default "50000"; - description - "Number of messages to be formatted per - update group"; - } - leaf enqueued-messages { - type uint32 { - range "500..100000000"; - } - default "250000"; - description - "Number of messages that can be enqueued in - total"; - } - leaf desynchronize { - type boolean; - default "false"; - description - "TRUE to enable desynchronization, FALSE - otherwise."; - } - } - - container update-delay { - description - "Set the max initial delay for sending - updates"; - leaf delay { - type uint32 { - range "0..3600"; - } - units "second"; - default "120"; - description "Delay value (seconds)"; - } - leaf always { - type boolean; - default "false"; - description - "Set to TRUE to disable keepalive trigger - bestpath and delay is enforced."; - } - } - - container as-league { - description "AS League"; - - container peers { - description "AS League Peers"; - - list peer { - key "as-xx as-yy"; - description "AS League Peer AS"; - leaf as-xx { - type dt1:Bgp-as-range; - description "xx of peer AS xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - description "yy of peer AS xx.yy"; - } - } - } - leaf enable { - type empty; - description "AS League creation"; - } - } - - container rpki-servers { - description "RPKI server configuration"; - - list rpki-server { - key "server"; - description "RPKI server configuration"; - - container transport { - description "RPKI server transport"; - leaf transport { - type Bgp-rpki-transport; - default "ssh"; - description "RPKI server transport"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - default "22"; - description "port"; - } - } - leaf enable { - type empty; - description "RPKI server configuration"; - } - leaf shutdown { - type empty; - description "RPKI server shutdown"; - } - leaf password { - type string; - description "RPKI server password"; - } - leaf response-time { - type int32; - units "second"; - description - "RPKI server response-time (seconds)"; - } - leaf username { - type string; - description "RPKI server username"; - } - leaf refresh-time { - type int32; - units "second"; - description - "RPKI server refresh-time (seconds)"; - } - leaf purge-time { - type int32; - units "second"; - description "RPKI server purge-time (seconds)"; - } - leaf server { - type string; - description "Server address (opaque string)"; - } - } - } - - container as-list-groups { - description "AS-list group lists"; - - list as-list-group { - key "as-list-group-name"; - description "AS-List group"; - - container ases { - description "AS list"; - - list as { - key "as-xx as-yy"; - description "AS-List group"; - leaf as-xx { - type dt1:Bgp-as-range; - description - "xx of AS number/confed peer xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - description - "yy of AS number/confed peer xx.yy"; - } - } - } - leaf enable { - type empty; - description "AS-List group creation"; - } - leaf as-list-group-name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - } - } - - container limits { - description "Maximum number that can be configured"; - leaf maximum-neighbors { - type uint32 { - range "1..15000"; - } - default "10000"; - description - "Maximum number of neighbors that can be - configured"; - } - } - - container confederation-domain { - description "Set routing domain confederation AS"; - leaf as-xx { - type dt1:Bgp-as-range; - description "xx of AS number xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - description "yy of AS number xx.yy"; - } - } - - container confederation-peer-ases { - description "Define peer ASes in BGP confederation"; - - list confederation-peer-as { - key "as-xx as-yy"; - description "Confederation peer AS"; - leaf as-xx { - type dt1:Bgp-as-range; - description "xx of AS number/confed peer xx.yy"; - } - leaf as-yy { - type dt1:Bgp-as-range; - description "yy of AS number/confed peer xx.yy"; - } - } - } - - container attribute-filter-groups { - description "Attribute-filter groups list"; - - list attribute-filter-group { - key "attribute-filter-group-name"; - description "Attribute-filter group"; - - container attribute-filters { - description - "Attribute-filter group attributes list"; - - list attribute-filter { - key "attribute-start attribute-end"; - description - "Attribute-filter group attribute"; - leaf attribute-start { - type dt1:Bgp-attribute-range; - description "Start of attribute range"; - } - leaf attribute-end { - type dt1:Bgp-attribute-range; - description "End of attribute range"; - } - leaf filter-action { - type dt1:Bgp-update-filter-action; - mandatory true; - description "Filtering action"; - } - } - } - leaf enable { - type empty; - description "Attribute-filter group creation"; - } - leaf attribute-filter-group-name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - } - } - - container global-graceful-maintenance-activate { - description - "Activate Graceful Maintenance Mode for all - neighbors with graceful maintenance config"; - leaf all-neighbors { - type boolean; - description - "Also for neighbors without graceful - maintenance config"; - } - leaf retain-routes { - type boolean; - description "Keep routes in RIB once BGP stops"; - } - } - - container global-afs { - description "Global AF-specific configuration"; - - list global-af { - key "af-name"; - description "Global AF-specific configuration"; - - container isis-routes { - description - "Redistribute information for IS-IS routes - ."; - - list isis-route { - key "instance-name"; - description "Redistribute IS-IS routes"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "IS-IS instance name"; - } - leaf default-metric { - type Bgp-default-metric-range; - description "Default metric"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - leaf redist-type { - type xr:Hex-integer; - description - "Redistribution type: 01 for level 1 - routes, 02 for level 2 routes, 04 for - level 1 inter-area routes. Logical - combinations permitted."; - } - } - } - - container domain-distinguisher { - presence "Indicates a domain-distinguisher node"+ - " is configured."; - description - " tuple to use to identify - the link-state domain"; - leaf as { - type dt1:Bgp-as-range; - mandatory true; - description "AS Number"; - } - leaf router-id { - type inet:ipv4-address-no-zone; - mandatory true; - description "Router ID"; - } - } - - container vrf-all { - description - "Configurations to be inherited to all - vrfs"; - - container label-mode { - description "MPLS-VPN label allocation mode"; - leaf label-allocation-mode { - type string; - description - "Label allocation mode: per-ce Set per - CE label mode, per-vrf Set per VRF - label mode"; - } - leaf route-policy-name { - type string; - description "Label mode route policy name"; - } - } - leaf rnh-install-format { - type Bgp-rnh-install-format; - description - "RNH install format type: extcomm - - install rnh as opaque and extcomms, - extcomm-only - install rnh as extcomms - only"; - } - leaf enable { - type empty; - description - "Enable vrf all configuration submode"; - } - leaf table-policy { - type string; - description - "Configure policy for installation of - routes to RIB"; - } - leaf source-rt-import-policy { - type empty; - description - "Enable sourcing of import route-targets - from import-policy"; - } - } - - container disable-cluster-client-to-client-rrs { - description - "Disable client-to-client reflection for a - cluster"; - - list disable-cluster-client-to-client-rr { - must "number or ipv4-address" { - description - "Number or IPV4Address must be present."; - } - key "cluster-type"; - description - "Cluster ID for which reflection is to be - disbled"; - leaf cluster-type { - type Bgp-cluster-id; - description "Type of cluster-id"; - } - - list number { - when "../cluster-type = 'number'" { - description "../ClusterType = Number"; - } - key "cluster-id-number"; - description "number"; - leaf cluster-id-number { - type uint32 { - range "0..4294967295"; - } - description - "Cluster ID: if configured as a number"; - } - } - - list ipv4-address { - when "../cluster-type = 'ipv4-address'" { - description - "../ClusterType = IPV4Address"; - } - key "cluster-id-address"; - description "ipv4 address"; - leaf cluster-id-address { - type inet:ip-address-no-zone; - description - "Cluster ID: if configured as an IP - Address"; - } - } - } - } - - container label-delay { - presence "Indicates a label-delay node is"+ - " configured."; - description - "Delay timer to batch label processing."; - leaf seconds { - type uint32 { - range "0..10"; - } - units "second"; - mandatory true; - description "Delay, seconds part"; - } - leaf milliseconds { - type uint32 { - range "0..999"; - } - units "millisecond"; - mandatory true; - description "Delay, milliseconds part"; - } - } - - container ebgp { - presence "Indicates a ebgp node is configured."; - description "Use eBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..64"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description "UNUSED"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP metric"; - } - } - - container eibgp { - presence "Indicates a eibgp node is configured."; - description "Use eiBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..64"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description "UNUSED"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP metric"; - } - } - - container retain-rt { - description - "Accept received updates with the - specified attributes"; - leaf all { - type boolean; - description - "Whether all RTs are to be retained, - default is FALSE"; - } - leaf route-policy-name { - type string; - description "Route policy name"; - } - } - - container ibgp { - presence "Indicates a ibgp node is configured."; - description "Use iBGP multipaths"; - leaf paths-value { - type uint32 { - range "2..64"; - } - mandatory true; - description "Number of paths"; - } - leaf unequal-cost { - type boolean; - default "false"; - description - "Allow multipaths to have different IGP - metrics"; - } - leaf selective { - type boolean; - default "false"; - description - "Allow multipaths only from marked - neighbors"; - } - leaf order-by-igp-metric { - type boolean; - default "false"; - description - "Order candidate multipaths by IGP metric"; - } - } - - container import-delay { - presence "Indicates a import-delay node is"+ - " configured."; - description - "Delay timer to batch import processing."; - leaf seconds { - type uint32 { - range "0..10"; - } - units "second"; - mandatory true; - description "Delay, seconds part"; - } - leaf milliseconds { - type uint32 { - range "0..999"; - } - units "millisecond"; - mandatory true; - description "Delay, milliseconds part"; - } - } - leaf rnh-install-format { - type Bgp-rnh-install-format; - description - "RNH install format type: extcomm - - install rnh as opaque and extcomms, - extcomm-only - install rnh as extcomms - only"; - } - leaf inter-as-install { - type empty; - description - "Enable install remote MVPN routes to PIM - in default VRF"; - } - leaf segmented-mcast { - type empty; - description "Enable segmented multicast"; - } - leaf disable-default-martian-check { - type empty; - description "Disable default Martian Check"; - } - leaf next-hop-critical-trigger-delay { - type uint32 { - range "0..4294967295"; - } - units "millisecond"; - default "3000"; - description "Next hop Critical Trigger Delay"; - } - leaf next-hop-non-critical-trigger-delay { - type uint32 { - range "0..4294967295"; - } - units "millisecond"; - default "10000"; - description - "Next hop Non-critical Trigger Delay"; - } - leaf label-security-rpf { - type empty; - description - "Calculate label-security RPF lists and - install to RIB/LSD"; - } - leaf use-igpsr-label { - type empty; - description - "Use IGP SR label for resolution - configuration"; - } - leaf label-retain { - type uint32 { - range "3..60"; - } - units "minute"; - description "Label retention time in minutes"; - } - leaf scan-time { - type uint32 { - range "5..3600"; - } - units "second"; - default "60"; - description - "Configure background scanner interval for - this address family"; - } - leaf rpki-origin-as-validation-disable { - type empty; - description "RPKI origin-AS validation disable"; - } - leaf rpki-origin-as-validity-signal-ibgp { - type empty; - description - "RPKI origin-AS validity signal ibgp"; - } - leaf update-limit-sub-group-ebgp { - type uint32 { - range "1..512"; - } - units "megabyte"; - default "32"; - description - "Upper bound on update generation - transient memory usage for every EBGP - Sub-group"; - } - leaf update-limit-address-family { - type uint32 { - range "4..2048"; - } - units "megabyte"; - default "256"; - description - "Upper bound on update generation - transient memory usage for the - address-family"; - } - leaf rpki-bestpath-use-origin-as-validity { - type empty; - description - "RPKI bestpath use origin-AS validity"; - } - leaf update-limit-sub-group-ibgp { - type uint32 { - range "1..512"; - } - units "megabyte"; - default "32"; - description - "Upper bound on update generation - transient memory usage for every IBGP - Sub-group"; - } - leaf rpki-bestpath-origin-as-allow-invalid { - type empty; - description - "RPKI bestpath origin-AS allow invalid"; - } - leaf disable-client-to-client-rr { - type empty; - description - "Disable client-to-client reflection"; - } - leaf next-hop-route-policy { - type string; - description - "Next hop policy to filter out nexthop - notification"; - } - leaf global-table-mcast { - type empty; - description "Enable global table multicast"; - } - leaf wait-rib-install { - type empty; - description - "Wait for route install before sending - updates to neighbors"; - } - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - uses AGGREGATE-ADDRESS-TABLE; - uses DYNAMIC-MED-INTERVAL; - uses DAMPENING; - uses ENABLE; - uses RIP-ROUTES; - uses LISP-ROUTES; - uses STATIC-ROUTES; - uses DISTANCE; - uses TABLE-POLICY; - uses APP-ROUTE-TABLE; - uses ATTRIBUTE-DOWNLOAD; - uses LABEL-MODE; - uses EIGRP-ROUTE-TABLE; - uses BEST-EXTERNAL; - uses SOURCED-NETWORK-TABLE; - uses CONNECTED-ROUTES; - uses ADDITIONAL-PATHS-RECEIVE; - uses PERMANENT-NETWORK; - uses ALLOCATE-LABEL; - uses ADDITIONAL-PATHS-SELECTION; - uses NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM; - uses RESET-WEIGHT-ON-IMPORT; - uses OSPF-ROUTE-TABLE; - uses ADDITIONAL-PATHS-SEND; - uses ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST; - uses MOBILE-ROUTES; - uses DISABLE-AS-PATH-LOOP-CHECK; - uses SUBSCRIBER-ROUTES; - } - } - - container rpki-static-routes { - description "RPKI static route configuration"; - - list rpki-static-route { - key "addrress minimum maximum as"; - description "RPKI static route"; - leaf addrress { - type inet:ip-address-no-zone; - description "Address"; - } - leaf minimum { - type int32; - description "Minimum Prefix Length"; - } - leaf maximum { - type int32; - description "Maximum Prefix Length"; - } - leaf as { - type int32; - description "AS Number"; - } - } - } - leaf graceful-restart { - type empty; - description "Enable graceful restart support"; - } - leaf update-out-logging { - type empty; - description - "Enables logging of update generation events"; - } - leaf install-diversion { - type empty; - description "Install diversion path to RIB/CEF"; - } - leaf next-hop-trigger-delay { - type uint32 { - range "0..300"; - } - units "second"; - default "5"; - description - "Set the delay for triggering nexthop - recalculations"; - } - leaf nsr { - type boolean; - description - "TRUE to Enable non-stop routing - supportFALSE to Disable non-stop routing - support"; - } - leaf neighbor-logging-detail { - type empty; - description - "Include extra detail in neighbor change - messages"; - } - leaf mvpn { - type empty; - description "Connect to PIM/PIM6"; - } - leaf rpki-origin-as-validation-disable { - type empty; - description "RPKI origin-AS validation disable"; - } - leaf rpki-origin-as-validity-signal-ibgp { - type empty; - description "RPKI origin-AS validity signal ibgp"; - } - leaf global-scan-time { - type uint32 { - range "5..3600"; - } - units "second"; - default "60"; - description - "Configure background scanner interval for - generic scanner"; - } - leaf rpki-bestpath-use-origin-as-validity { - type empty; - description "RPKI bestpath use origin-AS validity"; - } - leaf rpki-origin-as-validation-time { - type uint32 { - range "0..60"; - } - units "second"; - description - "Prefix validation time (in seconds). Range - : 5 - 60. Specify 0 to disable the timer"; - } - leaf rpki-bestpath-origin-as-allow-invalid { - type empty; - description "RPKI bestpath origin-AS allow invalid"; - } - leaf graceful-restart-purge-time { - type uint32 { - range "1..6000"; - } - units "second"; - default "600"; - description "Time before stale routes are purged."; - } - leaf enforce-ibgp-out-policy { - type empty; - description - "Allow all attributes to be modified by - outbound policy for iBGP peers"; - } - leaf update-limit-process { - type uint32 { - range "16..2048"; - } - units "megabyte"; - default "512"; - description - "Upper bound on update generation transient - memory usage for the process"; - } - leaf graceful-restart-time { - type uint32 { - range "1..4095"; - } - units "second"; - default "120"; - description "Restart time advertised to neighbors"; - } - leaf update-error-handling-basic-ibgp-disable { - type empty; - description - "Inbound update basic error-handling for - IBGP neighbors"; - } - leaf read-only { - type empty; - description - "Allow duplicate table config and disable - update generation"; - } - leaf graceful-restart-stalepath-time { - type uint32 { - range "1..4095"; - } - units "second"; - default "360"; - description - "Maximum time to wait for restart of GR - capable peers"; - } - leaf update-error-handling-extended-ebgp { - type empty; - description - "Inbound update extended error-handling for - EBGP neighbors"; - } - leaf update-error-handling-basic-ebgp-disable { - type empty; - description - "Inbound update basic error-handling for - EBGP neighbors"; - } - leaf graceful-reset { - type empty; - description - "Reset gracefully if configuration change - forces a peer reset"; - } - leaf igp-loop-check { - type empty; - description - "Enable AS-path loop checking for iBGP peers"; - } - leaf update-error-handling-extended-ibgp { - type empty; - description - "Inbound update extended error-handling for - IBGP neighbors"; - } - uses ROUTER-ID; - uses DISABLE-ENFORCE-FIRST-AS; - uses BEST-PATH-COST-COMMUNITY; - uses BEST-PATH-AIGP-IGNORE; - uses BEST-PATH-AS-PATH-LENGTH; - uses IGP-REDIST-INTERNAL; - uses MULTI-PATH-AS-PATH-IGNORE-ONWARDS; - uses DISABLE-FAST-EXTERNAL-FALLOVER; - uses DEFAULT-METRIC; - uses DEFAULT-INFO-ORIGINATE; - uses BEST-PATH-CONFEDERATION-PATHS; - uses BEST-PATH-AS-MULTIPATH-RELAX; - uses MPLS-ACTIVATED-INTERFACE-TABLE; - uses DISABLE-AUTO-SOFT-RESET; - uses DISABLE-MSG-LOG; - uses GLOBAL-TIMERS; - uses BFD; - uses DISABLE-NEIGHBOR-LOGGING; - uses SEND-SOCKET-BUFFER-SIZES; - uses BEST-PATH-MED-ALWAYS; - uses RECEIVE-SOCKET-BUFFER-SIZES; - uses BEST-PATH-ROUTER-ID; - uses BEST-PATH-MED-MISSING; - uses LOCAL-PREFERENCE; - } - } - leaf bgp-running { - type empty; - description - "Enable BGP. Deletion of this object causes - deletion of all the objects under FourByteAS - associated with this object."; - } - leaf as { - type dt1:Bgp-as-range; - description "2-byte or 4-byte Autonomous system number"; - } - } - } - } - } - - container bmp-server-all { - description "bmp server all"; - - container route-monitoring { - description - "Enable Route Monitoring capability for the BMP - servers.\nBGP update messages messages will be - regenrated with a table walk\n"; - leaf policy { - type Bmp-policy-select; - description - "Specify if the routes packed in update messages - should be\nbefore or after the application of - route-policy"; - } - leaf direction { - type Bmp-route-direction; - description - "Specify if the routes should be picked up at - inbound\nor outbound direction"; - } - } - leaf maximum-buffer-size { - type uint32 { - range "1..4294967295"; - } - units "megabyte"; - description - "Range in MegaBytes for the maximum buffer size - of BMP message queue.\nThe maximum buf-size is - 20% and default buf-size is 15% of the - platform\nvirtual memory max-limit (aka rlimit). - Please run show bgp process - performance-statistics\nto see the individual - values. Unit is in Megabytes"; - } - } - - container bmp-servers { - description "bmp servers"; - - list bmp-server { - key "server-id"; - description "A particular BMP server"; - - container initial-refresh-delay { - description "Initial refresh to generate BGP updates"; - leaf delay { - type uint32 { - range "1..3600"; - } - units "second"; - must "not(../skip)"; - description - "Delay in seconds before sending Refresh - request to Peers"; - } - leaf spread { - type uint32 { - range "1..3600"; - } - must "../delay and not(../skip)"; - description - "Spread over which to send initial Refresh - request to Peers"; - } - leaf skip { - type empty; - must "not(../delay or ../spread)"; - description "Skip Route Refresh request to Peers"; - } - } - - container host-port { - description - "Configure Host Name/Address and Port for BMP - Server"; - leaf host { - type string; - description - "Name of the BMP server(accepts IPv4/IPv6 - Address format too)"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "Port Number of listening BMP server"; - } - } - - container tos { - description "TOS (Type Of Service)"; - leaf type { - type dt1:Bgp-tos; - description "Set type of service"; - } - leaf value { - type dt1:Bgp-precedence-dscp; - description "TOS value to set"; - } - } - leaf create { - type empty; - description "BMP Server Creation"; - } - leaf maximum-buffer-size { - type uint32 { - range "1..4294967295"; - } - units "megabyte"; - description - "Range in MegaBytes for the maximum buffer size - of BMP message queue.\nThe maximum buf-size is - 20% and default buf-size is 15% of the - platform\nvirtual memory max-limit (aka rlimit) - . Please run show bgp process - performance-statistics\nto see the individual - values. Unit is in Megabytes"; - } - leaf initial-delay { - type uint32 { - range "1..3600"; - } - units "second"; - description - "Initial connect delay in seconds in sending - updates"; - } - leaf flapping-delay { - type uint32 { - range "60..3600"; - } - units "second"; - description - "Delay in connecting to BMP Server after a flap - had been detected."; - } - leaf status-report-interval { - type uint32 { - range "1..3600"; - } - units "second"; - description "Stats reporting period for BMP server"; - } - leaf description { - type string; - description "String to describe the BMP server"; - } - leaf bmptcp-maximum-segment-size { - type uint32 { - range "68..10000"; - } - units "byte"; - description - "configure TCP maximum segment size. - Default=16384."; - } - leaf bmptcp-keep-alive { - type uint32 { - range "0..7200"; - } - units "second"; - description - "configure TCP keep alives to be exchanged - between client and server. Default=1000"; - } - leaf vrf { - type string; - description "VRF for BMP Server"; - } - leaf shutdown { - type empty; - description "Shutdown connection to BMP server"; - } - leaf update-source-interface { - type xr:Interface-name; - description "Select an interface to configure"; - } - leaf server-id { - type uint32 { - range "1..8"; - } - description "BMP Server ID"; - } - } - } - - augment "/a2:snmp/a2:notification" { - - container bgp { - description - "BGP4-MIB and CISCO-BGP4-MIB notification - configuration"; - - container bgp4mib { - description - "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only - notifications: bgpEstablishedNotification, - bgpBackwardTransNotification, - cbgpFsmStateChange, cbgpBackwardTransition, - cbgpPrefixThresholdExceeded, - cbgpPrefixThresholdClear."; - leaf enable { - type empty; - description - "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only - notifications"; - } - leaf up-down { - type empty; - description - "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only - up/down notifications"; - } - } - - container cisco-bgp4mib { - description - "Enable CISCO-BGP4-MIB v2 notifications: - cbgpPeer2EstablishedNotification, - cbgpPeer2BackwardTransNotification, - cbgpPeer2FsmStateChange, - cbgpPeer2BackwardTransition, - cbgpPeer2PrefixThresholdExceeded, - cbgpPeer2PrefixThresholdClear."; - leaf enable { - type empty; - description "Enable CISCO-BGP4-MIB v2 notifications"; - } - leaf up-down { - type empty; - description - "Enable CISCO-BGP4-MIB v2 up/down notifications"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:vrfs/a1:vrf/a1:afs/a1:af" { - - container bgp { - description "BGP AF VRF config"; - - container import-route-targets { - description "Import Route targets"; - uses ROUTE-TARGET-TABLE; - } - - container export-route-targets { - description "Export Route targets"; - uses ROUTE-TARGET-TABLE; - } - - container vrf-to-global-export-route-policy { - presence "Indicates a vrf-to-global-export-route-policy"+ - " node is configured."; - description - "Route policy for vrf to global export filtering"; - leaf route-policy-name { - type string; - mandatory true; - description "Vrf to global export route policy"; - } - leaf allow-imported-vpn { - type boolean; - description - "TRUE Enable imported VPN paths to be exported - to Default VRF.FALSE Disable imported VPN - paths to be exported to Default VRF."; - } - } - - container export-vrf-options { - description "Export VRF options"; - leaf allow-imported-vpn { - type boolean; - description - "TRUE Enable imported VPN paths to be exported - to non-default VRFFALSE Disable imported VPN - paths to be exported to non-default VRF"; - } - leaf import-stitching-rt { - type boolean; - description - "TRUE Use stitchng RTs to import extranet - pathsFALSE Use regular RTs to import extranet - paths"; - } - } - - container global-to-vrf-import-route-policy { - presence "Indicates a global-to-vrf-import-route-policy"+ - " node is configured."; - description - "Route policy for global to vrf import filtering"; - leaf route-policy-name { - type string; - mandatory true; - description "Global to vrf import route policy"; - } - leaf advertise-as-vpn { - type boolean; - description - "TRUE Enable advertising imported paths to - PEsFALSE Disable advertising imported paths to - PEs"; - } - } - leaf export-route-policy { - type string; - description "Route policy for export filtering"; - } - leaf import-route-policy { - type string; - description "Route policy for import filtering"; - } - leaf import-vrf-options { - type boolean; - description - "TRUE Enable advertising imported paths to - PEsFALSE Disable advertising imported paths to - PEs"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-infra-rsi-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-datatypes.yang deleted file mode 100644 index ad65739..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-datatypes.yang +++ /dev/null @@ -1,467 +0,0 @@ -module Cisco-IOS-XR-ipv4-bgp-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ipv4-bgp-datatypes"; - - - prefix "ipv4-bgp-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2015-08-27" { - description - "IOS XR 5.3.2 revision."; - } - - typedef Bgp-official-address-family { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - enum l2vpn { - value 25; - description "L2VPN"; - } - enum ls { - value 16388; - description "LS"; - } - enum all { - value 65534; - description "All"; - } - } - description "Bgp official address family"; - } - typedef Bgp-extcomm-v4-addr-index { - type uint32 { - range "0..65535"; - } - description "Bgp extcomm v4 addr index"; - } - typedef Bgp-nbr-cap-additional-paths-cfg { - type enumeration { - enum enable { - value 1; - description "Enable"; - } - enum disable { - value 2; - description "Disable"; - } - } - description "Bgp nbr cap additional paths cfg"; - } - typedef Bgp-advertise-local-labeled-route-cfg { - type enumeration { - enum enable { - value 1; - description "Enable"; - } - enum disable { - value 2; - description "Disable"; - } - } - description "Bgp advertise local labeled route cfg"; - } - typedef Bgp-tos { - type enumeration { - enum precedence { - value 0; - description "Precedence"; - } - enum dscp { - value 1; - description "DSCP"; - } - } - description "Bgp tos"; - } - typedef Bgp-address-family { - type enumeration { - enum ipv4-unicast { - value 0; - description "IPv4 unicast"; - } - enum ipv4-multicast { - value 1; - description "IPv4 multicast"; - } - enum ipv4-labeled-unicast { - value 2; - description "IPv4 labeled-unicast"; - } - enum ipv4-tunnel { - value 3; - description "IPv4 tunnel"; - } - enum vpnv4-unicast { - value 4; - description "VPNv4 unicast"; - } - enum ipv6-unicast { - value 5; - description "IPv6 unicast"; - } - enum ipv6-multicast { - value 6; - description "IPv6 multicast"; - } - enum ipv6-labeled-unicast { - value 7; - description "IPv6 labeled-unicast"; - } - enum vpnv6-unicast { - value 8; - description "VPNv6 unicast"; - } - enum ipv4-mdt { - value 9; - description "IPv4 MDT"; - } - enum l2vpn-vpls { - value 10; - description "L2VPN VPLS-VPWS"; - } - enum ipv4rt-constraint { - value 11; - description "IPv4 rt-filter"; - } - enum ipv4-mvpn { - value 12; - description "IPv4 MVPN"; - } - enum ipv6-mvpn { - value 13; - description "IPv6 MVPN"; - } - enum l2vpn-evpn { - value 14; - description "L2VPN EVPN"; - } - enum lsls { - value 15; - description "Link-state link-state"; - } - enum vpnv4-multicast { - value 16; - description "VPNv4 Multicast"; - } - enum vpnv6-multicast { - value 17; - description "VPNv6 Multicast"; - } - enum ipv4-flowspec { - value 18; - description "IPv4 flowspec"; - } - enum ipv6-flowspec { - value 19; - description "IPv6 flowspec"; - } - enum vpnv4-flowspec { - value 20; - description "VPNv4 flowspec"; - } - enum vpnv6-flowspec { - value 21; - description "VPNv6 flowspec"; - } - enum l2vpn-mspw { - value 22; - description "L2VPN MSPW"; - } - enum ipv4-sr-policy { - value 23; - description "IPv4 SRPolicy"; - } - enum ipv6-sr-policy { - value 24; - description "IPv6 SRPolicy"; - } - enum all-address-family { - value 25; - description "All Address Families"; - } - } - description "Bgp address family"; - } - typedef Bgp-update-filter-action { - type enumeration { - enum treat-as-withdraw { - value 1; - description "Treat as withdraw"; - } - enum discard-attibute { - value 2; - description "Discard attribute"; - } - } - description "Bgp update filter action"; - } - typedef Bgp-attribute-range { - type uint32 { - range "0..256"; - } - description "Bgp attribute range"; - } - typedef Bgp-precedence-dscp { - type union { - type enumeration { - enum af11 { - value 10; - description "AF11 dscp (001010)"; - } - enum af12 { - value 12; - description "AF12 dscp (001100)"; - } - enum af13 { - value 14; - description "AF13 dscp (001110)"; - } - enum af21 { - value 18; - description "AF21 dscp (010010)"; - } - enum af22 { - value 20; - description "AF22 dscp (010100)"; - } - enum af23 { - value 22; - description "AF23 dscp (010110)"; - } - enum af31 { - value 26; - description "AF31 dscp (011010)"; - } - enum af32 { - value 28; - description "AF32 dscp (011100)"; - } - enum af33 { - value 30; - description "AF33 dscp (011110)"; - } - enum af41 { - value 34; - description "AF41 dscp (100010)"; - } - enum af42 { - value 36; - description "AF42 dscp (100100)"; - } - enum af43 { - value 38; - description "AF43 dscp (100110)"; - } - enum cs1 { - value 8; - description "CS1 dscp (001000)"; - } - enum cs2 { - value 16; - description "CS2 dscp (010000)"; - } - enum cs3 { - value 24; - description "CS3 dscp (011000)"; - } - enum cs4 { - value 32; - description "CS4 dscp (100000)"; - } - enum cs5 { - value 40; - description "CS5 dscp (101000)"; - } - enum cs6 { - value 48; - description "CS6 dscp (110000)"; - } - enum cs7 { - value 56; - description "CS7 dscp (111000)"; - } - enum ef { - value 46; - description "EF dscp (101110)"; - } - enum critical { - value 5; - description "critical precedence (5)"; - } - enum flash { - value 3; - description "flash precedence (3)"; - } - enum flash-override { - value 4; - description "flash override precedence (4)"; - } - enum immediate { - value 2; - description "immediate precedence (2)"; - } - enum internet { - value 6; - description "internetwork control precedence (6)"; - } - enum network { - value 7; - description "network control precedence (7)"; - } - enum priority { - value 1; - description "priority precedence (1)"; - } - enum default-or-routine { - value 0; - description "default dscp or routine precedence (0)"; - } - } - type uint32 { - range "0..63"; - } - } - description "Bgp precedence dscp"; - } - typedef Bgp-af-additional-paths-cfg { - type enumeration { - enum enable { - value 1; - description "Enable"; - } - enum disable { - value 2; - description "Disable"; - } - } - description "Bgp af additional paths cfg"; - } - typedef Bgp-as-range { - type uint32 { - range "0..4294967295"; - } - description "Bgp as range"; - } - typedef Bgp-subsequent-address-family { - type enumeration { - enum unicast { - value 1; - description "Unicast"; - } - enum multicast { - value 2; - description "Multicast"; - } - enum labeled-unicast { - value 4; - description "Labeled unicast"; - } - enum mvpn { - value 5; - description "MVPN"; - } - enum mspw { - value 6; - description "MSPW"; - } - enum tunnel { - value 64; - description "Tunnel"; - } - enum vpls { - value 65; - description "VPLS"; - } - enum mdt { - value 66; - description "MDT"; - } - enum vpws { - value 68; - description "VPWS"; - } - enum evpn { - value 70; - description "EVPN"; - } - enum ls { - value 71; - description "LS"; - } - enum sr-policy { - value 73; - description "SRPolicy"; - } - enum vpn { - value 128; - description "VPN"; - } - enum vpn-mcast { - value 129; - description "VPN MCAST"; - } - enum rt-filter { - value 132; - description "Rt filter"; - } - enum flowspec { - value 133; - description "Flowspec"; - } - enum vpn-flowspec { - value 134; - description "VPN Flowspec"; - } - enum all { - value 254; - description "All"; - } - } - description "Bgp subsequent address family"; - } - typedef Bgp-extcomm-asn-index { - type uint32 { - range "0..4294967295"; - } - description "Bgp extcomm asn index"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang deleted file mode 100644 index c326c96..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang +++ /dev/null @@ -1,309 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-bgp-oc-oper { - prefix Cisco-IOS-XR-ipv4-bgp-oc-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-bgp-oc package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bgp-oc-invalid-route-reason { - type enumeration { - enum valid-route { - value 1; - description "Valid route"; - } - enum invalid-clsuter-loop { - value 2; - description "ClusterLoop"; - } - enum invalid-as-path-loop { - value 3; - description "AsPathLoop"; - } - enum invalid-origin-at-or-id { - value 4; - description "OriginatorID"; - } - enum invalid-as-confed-loop { - value 5; - description "ASConfedLoop"; - } - } - description "Invalid route reason"; - } - typedef Bgp-oc-origin-attr { - type enumeration { - enum igp { - value 0; - description "IGP"; - } - enum egp { - value 1; - description "EGP"; - } - enum incomplete { - value 2; - description "Incomplete"; - } - } - description "Origin Type"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - typedef Bgp-oc-afi { - type enumeration { - enum ipv4 { - value 0; - description "IPv4 unicast"; - } - enum ipv6 { - value 5; - description "IPv6 unicast"; - } - } - description "BGP Address family"; - } - - grouping BGP-OC-RIB-COMMON-BAG { - description "OpenConfig BGP_RIB common attributes"; - leaf num-routes { - type uint64; - description "NumRoutes"; - } - } - - grouping BGP-OC-DATE-AND-TIME { - description "BGP OC DATE AND TIME"; - leaf time-value { - type string; - description "TimeValue"; - } - } - - grouping BGP-OC-UNKNOWN-ATTR-TYPE { - description "BGP OC UNKNOWN ATTR TYPE"; - leaf attribute-type { - type uint16; - description "AttributeType"; - } - leaf attribute-length { - type uint16; - description "AttributeLength"; - } - leaf attribute-value { - type yang:hex-string; - description "Atributevalue"; - } - } - - grouping BGP-OC-EXT-ATTR { - description "BGP OC EXT ATTR"; - leaf originator-id { - type inet:ipv4-address; - description "OriginatorID"; - } - leaf aigp { - type uint64; - description "AIGP"; - } - leaf path-id { - type uint32; - description "PathId"; - } - leaf-list cluster { - type inet:ipv4-address; - description "ClusterList"; - } - - list ext-community { - description "ExtendedCommunityArray"; - uses BGP-OC-STRING-TYPE; - } - - list unknown-attributes { - description "UnknownAttributes"; - uses BGP-OC-UNKNOWN-ATTR-TYPE; - } - } - - grouping BGP-OC-STRING-TYPE { - description "Names of bgp oc objects"; - leaf objects { - type string; - description "BGP OC objects"; - } - } - - grouping BGP-OC-AGGREGATOR-TYPE { - description "BGP OC AGGREGATOR TYPE"; - leaf as { - type uint32; - description "AS number"; - } - leaf as4 { - type uint32; - description "AS4 number"; - } - leaf address { - type inet:ipv4-address; - description "IPv4 address"; - } - } - - grouping BGP-OC-ROUTE-ATTR { - description "BGP OC ROUTE ATTR"; - - container next-hop { - description "NextHopAddress"; - uses BGP-OC-ADDRTYPE; - } - - container aggregrator-attributes { - description "AggregatorList"; - uses BGP-OC-AGGREGATOR-TYPE; - } - leaf origin-type { - type Bgp-oc-origin-attr; - description "Origin Attribute Type"; - } - leaf as-path { - type string; - description "AS Path"; - } - leaf as4-path { - type string; - description "AS4 Path"; - } - leaf med { - type uint32; - description "Med"; - } - leaf local-pref { - type uint32; - description "LocalPref"; - } - leaf atomic-aggr { - type boolean; - description "AtomicAggr"; - } - - list community { - description "CommunityArray"; - uses BGP-OC-STRING-TYPE; - } - } - - grouping BGP-OC-ADDRTYPE { - description "BGP OC ADDRTYPE"; - leaf afi { - type Bgp-oc-afi; - description "AFI"; - } - leaf ipv4-address { - when "../afi = 'ipv4'" { - description "../AFI = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 Addr"; - } - leaf ipv6-address { - when "../afi = 'ipv6'" { - description "../AFI = 'IPv6'"; - } - type Ipv6-address; - description "IPv6 Addr"; - } - } - - grouping BGP-OC-PREFIXTYPE { - description "BGP OC PREFIXTYPE"; - - container prefix { - description "Prefix"; - uses BGP-OC-ADDRTYPE; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - } - - grouping BGP-OC-ROUTE-BAG { - description "OpenConfig BGP_RIB Route"; - - container prefix-name { - description "Prefix"; - uses BGP-OC-PREFIXTYPE; - } - - container route-attr-list { - description "RouteAttributesList"; - uses BGP-OC-ROUTE-ATTR; - } - - container ext-attributes-list { - description "ExtAttributesList"; - uses BGP-OC-EXT-ATTR; - } - - container last-modified-date { - description "LastModifiedDate"; - uses BGP-OC-DATE-AND-TIME; - } - - container last-update-recieved { - description "LastUpdateRecieved"; - uses BGP-OC-DATE-AND-TIME; - } - leaf valid-route { - type boolean; - description "ValidRoute"; - } - leaf invalid-reason { - type Bgp-oc-invalid-route-reason; - description "IndentityRef"; - } - leaf best-path { - type boolean; - description "BestPath"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang deleted file mode 100644 index 4b96dee..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang +++ /dev/null @@ -1,174 +0,0 @@ -module Cisco-IOS-XR-ipv4-bgp-oc-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper"; - - - prefix "ipv4-bgp-oc-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-ipv4-bgp-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-bgp-oc package operational data. - - This module contains definitions - for the following management objects: - oc-bgp: OC-BGP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ROUTE-TABLE { - description - "Common node of loc-rib, adj-rib-in-pre, - adj-rib-in-post, adj-rib-out-pre, - adj-rib-out-post"; - - container routes { - description "routes table"; - - list route { - description "route entry"; - leaf route { - type inet:ip-prefix; - description "Network in prefix/length format"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf path-id { - type int32; - description "Path ID"; - } - uses BGP-OC-ROUTE-BAG; - } - } - } - - grouping LOC-RIB { - description "Common node of ipv4-unicast, ipv6-unicast"; - - container loc-rib { - description "Local rib route table"; - uses ROUTE-TABLE; - uses NUM-ROUTES; - } - } - - grouping NUM-ROUTES { - description - "Common node of loc-rib, adj-rib-in-pre, - adj-rib-in-post, adj-rib-out-pre, - adj-rib-out-post"; - - container num-routes { - description - "Number of routes in adjacency rib out-bound - post-policy table"; - uses BGP-OC-RIB-COMMON-BAG; - } - } - - grouping OPEN-CONFIG-NEIGHBOR-TABLE { - description "Common node of ipv4-unicast, ipv6-unicast"; - - container open-config-neighbors { - description "Neighbor list"; - - list open-config-neighbor { - key "neighbor-address"; - description "Neighbor name"; - - container adj-rib-in-post { - description "Adjacency rib in-bound post-policy table"; - uses ROUTE-TABLE; - uses NUM-ROUTES; - } - - container adj-rib-out-post { - description "Adjacency rib out-bound post-policy table"; - uses ROUTE-TABLE; - uses NUM-ROUTES; - } - - container adj-rib-out-pre { - description "Adjacency rib out-bound pre-policy table"; - uses ROUTE-TABLE; - uses NUM-ROUTES; - } - - container adj-rib-in-pre { - description "Adjacency rib in-bound pre-policy table"; - uses ROUTE-TABLE; - uses NUM-ROUTES; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor Address"; - } - } - } - } - - container oc-bgp { - config false; - description "OC-BGP operational data"; - - container bgp-rib { - description "BGP-RIB operational data"; - - container afi-safi-table { - description "AFI-SAFIs information"; - - container ipv4-unicast { - description "IPv4 Unicast"; - uses LOC-RIB; - uses OPEN-CONFIG-NEIGHBOR-TABLE; - } - - container ipv6-unicast { - description "IPv6 Unicast"; - uses LOC-RIB; - uses OPEN-CONFIG-NEIGHBOR-TABLE; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang deleted file mode 100644 index 47ae883..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang +++ /dev/null @@ -1,13468 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-bgp-oper { - prefix Cisco-IOS-XR-ipv4-bgp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-bgp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-08-27" { - description - "IOS XR 5.3.2 revision."; - } - - typedef Bgp-label-rpf-install { - type enumeration { - enum bgp-label-rpf-install-rib { - value 0; - description "Install via RIB"; - } - enum bgp-label-rpf-install-lsd { - value 1; - description "Install via LSD"; - } - } - description "BGP Label RPF Install Path"; - } - typedef Bgp-rpki-perror { - type enumeration { - enum none { - description "No protocol error"; - } - enum message-version { - description "Message version error"; - } - enum message-type { - description "Message type error"; - } - enum message-length { - description "Message length error"; - } - enum nonce-mismatch { - description "Server nonce mismatch"; - } - enum bad-prefix { - description "Bad ROA"; - } - enum fsm { - description "FSM error"; - } - enum no-response { - description "No response from server"; - } - enum error-report { - description "Server sent error-report"; - } - } - description "Bgp rpki perror"; - } - typedef Bgp-rpki-pstate { - type enumeration { - enum not-started { - description "Server protocol has not started"; - } - enum reset { - description "Server protocol reset"; - } - enum refresh { - description "Server protocol resumed"; - } - enum reset-query-sent { - description "Reset query sent to server"; - } - enum serial-query-sent { - description "Serial query sent to server"; - } - enum data-start { - description "Server started sending data"; - } - enum data-end { - description "Server ended sending data"; - } - } - description "Bgp rpki pstate"; - } - typedef Bgp-rpki-creason { - type enumeration { - enum no-close-reason { - value 0; - description "No close reason"; - } - enum read-error { - value 1; - description "Socket Read error"; - } - enum write-error { - value 2; - description "Socket Write error"; - } - enum proto-error { - value 3; - description "Protocol error"; - } - enum config-shutdown { - value 4; - description "Shutdown by configuration"; - } - enum config-removed { - value 5; - description "Configuration removed"; - } - enum config-changed { - value 6; - description "Configuration changed"; - } - enum nsr-disabled { - value 7; - description "NSR disabled"; - } - enum user-clear { - value 8; - description "Explicity user clear"; - } - enum ssh-died { - value 9; - description "SSH process died"; - } - enum tcp-died { - value 10; - description "TCP process died"; - } - } - description "Bgp rpki creason"; - } - typedef Bgp-rpki-state { - type enumeration { - enum idle { - value 0; - description "Server is idle"; - } - enum attempt-connect { - value 1; - description "Connect attempt made to server"; - } - enum connected { - value 2; - description "Server is connected"; - } - } - description "Bgp rpki state"; - } - typedef Bgp-ism-conn-state { - type enumeration { - enum none { - description "None - ST 0"; - } - enum connect-done { - description "ISSUMgr connection done - ST 1"; - } - } - description "Bgp ism conn state"; - } - typedef Bgp-ds-conn-state { - type enumeration { - enum none { - description "DS connection not initiated - ST 0"; - } - enum connect-init { - description "DS connection initiated - ST 1"; - } - enum connect-fail { - description "DS connection failed - ST 2"; - } - enum connect-estb { - description "DS connection established - ST 3"; - } - enum disconnect-init { - description "DS disconnect initiated - ST 4"; - } - enum disconnect-fail { - description "DS disconnect failed - ST 5"; - } - enum disconnect-done { - description "DS disconnect done - ST 6"; - } - } - description "Bgp ds conn state"; - } - typedef Bgp-scoped-sync-state { - type enumeration { - enum bgp-scope-sync-state-none { - description "State none"; - } - enum bgp-scope-sync-state-not-nsr-ready { - description "Oper Down when NSR not ready"; - } - enum bgp-scope-sync-state-timer-start { - description "Timer started for active batch"; - } - enum bgp-scope-sync-state-add-list { - description "Start adding neighbors to pending batch"; - } - enum bgp-scope-sync-state-batch-acitve { - description "Active batch"; - } - } - description "Bgp scoped sync state"; - } - typedef Bgp-bmp-upd-mode { - type enumeration { - enum bgp-bmp-upd-n-either { - value 0; - description "Neither of the modes are enabled"; - } - enum bgp-bmp-upd-route-mon { - value 1; - description "Route Monotoring mode enabled"; - } - enum bgp-bmp-upd-route-mirr { - value 2; - description "Route Mirroring mode is enabled"; - } - } - description "Bgp bmp upd mode"; - } - typedef Bgp-bmp-state { - type enumeration { - enum none { - value 0; - description "BMP NOT Connected"; - } - enum connecting { - value 1; - description "BMP Under Connection"; - } - enum established { - value 2; - description "BMP Connection Established"; - } - enum closing { - value 3; - description "BMP Connection Closing"; - } - } - description "BMP Connection State"; - } - typedef Bgp-bag-upd-filter-action { - type enumeration { - enum none { - value 0; - description "No Action"; - } - enum withdraw { - value 1; - description "Withdraw NLRI"; - } - enum attribute-discard { - value 2; - description "Discard Attribute"; - } - } - description "Bgp bag upd filter action"; - } - typedef Bgp-bag-upd-err-action { - type enumeration { - enum bgp-bag-upd-err-action-none { - value 0; - description "No Action"; - } - enum bgp-bag-upd-err-action-discard-msg { - value 1; - description "Discard Message"; - } - enum bgp-bag-upd-err-action-reset { - value 2; - description "Session Reset"; - } - enum bgp-bag-upd-err-action-wdr-or-reset { - value 3; - description "Withdraw NLRI or Reset"; - } - enum bgp-bag-upd-err-action-wdr { - value 4; - description "Withdraw NLRI"; - } - enum bgp-bag-upd-err-action-discard-attr { - value 5; - description "Discard Attribute"; - } - enum bgp-bag-upd-err-action-local-repair { - value 6; - description "Local Repair"; - } - enum bgp-bag-upd-err-action-max { - value 7; - description "Maximum number of actions"; - } - } - description "Bgp bag upd err action"; - } - typedef Bgp-sync-nbr-nsr-state { - type enumeration { - enum bgp-nbr-nsr-st-none { - description "None - ST 0"; - } - enum bgp-nbr-nsr-st-oper-down { - description "TCP OPER_DOWN notfn received - ST 1"; - } - enum bgp-nbr-nsr-st-tcp-init-sync { - description "TCP initial sync in progress - ST 2"; - } - enum bgp-nbr-nsr-st-tcp-phase-two { - description "TCP initial sync phase two in progress - ST 3"; - } - enum bgp-nbr-nsr-st-bgp-init-sync { - description "BGP initial sync in progress - ST 4"; - } - enum bgp-nbr-nsr-st-nsr-ready { - description "Neighbor NSR ready - ST 5"; - } - } - description "Bgp sync nbr nsr state"; - } - typedef Bgp-peer-reset-reason-index { - type enumeration { - enum bgp-read-remote-closed { - value 1; - description "Remote closed the session"; - } - enum bgp-read-failed { - value 2; - description "Read failed"; - } - enum bgp-write-failed { - value 3; - description "Write failed"; - } - enum bgp-sock-disconnected { - value 4; - description "Socket disconnected"; - } - enum bgp-sock-select-failed { - value 5; - description "Socket select failed"; - } - enum bgp-peer-reset-reason-none { - value 6; - description "None"; - } - } - description "Bgp peer reset reason index"; - } - typedef Bgp-reset-reason-index { - type enumeration { - enum bgp-none { - value 0; - description "None"; - } - enum bgp-init { - value 1; - description "BGP neighbor initialized"; - } - enum bgp-no-memory { - value 2; - description "No memory"; - } - enum not-received { - value 3; - description "BGP Notification received"; - } - enum not-sent { - value 4; - description "BGP Notification sent"; - } - enum conn-collision { - value 5; - description "Error during connection collision"; - } - enum peer-closed { - value 6; - description "Peer closing down the session"; - } - enum max-prefix-exceeded { - value 7; - description "Peer exceeding maximum prefix limit"; - } - enum interface-flap { - value 8; - description "Interface flap"; - } - enum neighbor-deleted { - value 9; - description "Neighbor deleted"; - } - enum admin-shutdown { - value 10; - description "Admin. shutdown"; - } - enum af-activated { - value 11; - description "Address family activated"; - } - enum af-deactivated { - value 12; - description "Address family removed"; - } - enum protocol-error { - value 13; - description "Protocol Error"; - } - enum listen-closed { - value 14; - description "Listen socket was closed"; - } - enum rib-failed { - value 15; - description "Routing Table process not responding"; - } - enum user-clear { - value 16; - description "User clear requested"; - } - enum user-clear-gr { - value 17; - description "User clear with graceful restart requested"; - } - enum router-id-changed { - value 18; - description "Router ID changed"; - } - enum remote-as-changed { - value 19; - description "Remote AS configuration changed"; - } - enum orf-changed { - value 20; - description "Outbound route filter configuration changed"; - } - enum rr-client-changed { - value 21; - description "RR client configuration changed"; - } - enum legacy-pe-rt-changed { - value 22; - description "Legacy-pe-RT configuration changed"; - } - enum softre-config-changed { - value 23; - description "Soft reconfiguration configuration changed"; - } - enum local-as-changed { - value 24; - description "Local AS configuration changed"; - } - enum low-memory { - value 25; - description "Shutdown during SEVERE low memory condition"; - } - enum bfd-down { - value 26; - description - "BFD (Bidirectional forwarding detection) - session down"; - } - enum allow-as-in-changed { - value 27; - description "Allowas-in configuration has changed"; - } - enum recv-dmz-cfg { - value 28; - description "Recv DMZ Config changed"; - } - enum cap-4byteas-changed { - value 29; - description "Capablity 4-byte-as configuration has changed"; - } - enum tcp-oper-down { - value 30; - description "Received tcp oper down"; - } - enum scoped-sync-retry { - value 31; - description - "Scoped sync is repeated due to strict - prefix check failure"; - } - enum cluster-id-changed { - value 32; - description "Neighbor moved to a new cluster"; - } - enum rr-disable-changed { - value 33; - description - "Client-to-client reflection disabled/enabled - for cluster to which neighbor belongs"; - } - enum aigp-changed { - value 34; - description - "AIGP configuration has changed - for cluster to which neighbor belongs"; - } - enum signalling-changed { - value 35; - description "L2VPN Signalling Changed"; - } - enum open-check-s-failed { - value 36; - description "Session open checks failed"; - } - enum ao-changed { - value 37; - description "Accept-own changed"; - } - enum llgr-staletime-changed { - value 38; - description - "Long-lived graceful-restart stale-time - configuration changed"; - } - enum llgr-capable-changed { - value 39; - description - "Long-lived graceful-restart capable - configuration changed"; - } - enum nbr-local-addr-changed { - value 40; - description "Neighbor local address configuration changed"; - } - enum internal-vpn-client-changed { - value 41; - description "Internal-vpn-client configuration changed"; - } - enum cap-suppress-all-changed { - value 42; - description "All capabilities suppression changed"; - } - } - description "Bgp reset reason index"; - } - typedef Bgp-bfd-enable-mode { - type enumeration { - enum bgp-bfd-enable-mode-disable { - value 0; - description "BFD fast detect disabled "; - } - enum bgp-bfd-enable-mode-def { - value 1; - description "BFD fast detect default mode "; - } - enum bgp-bfd-enable-mode-strict { - value 2; - description "BFD fast detect hold down aka strict mode"; - } - } - description "BFD enable mode"; - } - typedef Bgp-bfd-state { - type enumeration { - enum bgp-bfd-state-not-configured { - value 0; - description "BFD not configured"; - } - enum bgp-bfd-state-admin-down { - value 1; - description "BFD session disabled (neighbor shutdown)"; - } - enum bgp-bfd-state-not-supported { - value 2; - description - "BFD session disabled (interface type not - supported)"; - } - enum bgp-bfd-state-not-created { - value 3; - description "BFD session configured, not yet created"; - } - enum bgp-bfd-state-created { - value 4; - description - "BFD session created, state notification not - received"; - } - enum bgp-bfd-state-up { - value 5; - description "BFD session up"; - } - enum bgp-bfd-state-down { - value 6; - description "BFD session down"; - } - enum bgp-bfd-state-nbr-not-configured { - value 7; - description "BFD session down (peer not configured)"; - } - enum bgp-bfd-state-none { - value 8; - description "BFD session (yet ro rcv Notification)"; - } - } - description "BFD session state"; - } - typedef Bgp-open-check-err { - type enumeration { - enum none { - value 0; - description "No error"; - } - enum neighbor-down { - value 1; - description "Neighbor down"; - } - enum no-update-group-set { - value 2; - description "No update-group set"; - } - enum no-af-config { - value 3; - description "No AF configured"; - } - enum update-group-pending { - value 4; - description "Update-group pending"; - } - enum low-memory { - value 5; - description "Low memory"; - } - enum neighbor-shutdown { - value 6; - description "Neighbor shutdown"; - } - enum ebgp-neighbor-remote { - value 7; - description "eBGP neighbor is remote"; - } - enum update-source-interface-null { - value 8; - description "Update source invalid"; - } - enum no-ipv6-address { - value 9; - description "No global IPv6 address found"; - } - enum first-hop-interface-null { - value 10; - description "First-hop interface invalid"; - } - enum no-ipv6ll-address { - value 11; - description "No LL IPv6 address found"; - } - enum no-update-source-config { - value 12; - description "No update-source configured"; - } - enum no-router-id { - value 13; - description "No router-identifier"; - } - enum update-source-interface-get-failed { - value 14; - description "Update-source interface get failed"; - } - enum update-source-interface-state-get-failed { - value 15; - description "Update-source interface state get failed"; - } - enum update-source-interface-down { - value 16; - description "Update-source interface down"; - } - enum update-source-interface-ll-get-failed { - value 17; - description "Update-source interface LL get failed"; - } - enum update-source-interface-address-get-failed { - value 18; - description "Update-source interface address get failed"; - } - enum source-address-af-invalid { - value 19; - description "Source-address AF invalid"; - } - enum no-update-source-ll-peering { - value 20; - description "No update-source for LL peering"; - } - enum local-address-get-failed { - value 21; - description "Local-address get failed"; - } - enum no-best-local-address { - value 22; - description "No best local-address"; - } - enum neighbor-address-equals-local-address { - value 23; - description "Neighbor address is local address"; - } - enum neighbor-closing { - value 24; - description "Neighbor in closing state"; - } - enum neighbor-pending-reset { - value 25; - description "Neighbor in pending reset state"; - } - enum out-interface-set-failed { - value 26; - description "Out-interface set failed"; - } - enum local-address-mismatch { - value 27; - description "Local-address mismatch"; - } - enum neighbor-active-only { - value 28; - description "Neighbor in active only mode"; - } - enum socket-init-failed { - value 29; - description "Socket init failed"; - } - enum socket-operation-failed { - value 30; - description "Socket operation failed"; - } - enum local-neighbor { - value 31; - description "Neighbor is local"; - } - enum multi-hop-neighbor { - value 32; - description "No router to multi-hop neighbor"; - } - } - description "BGP open check error types"; - } - typedef Bgp-conn-state { - type enumeration { - enum bgp-st-dont-care { - value 0; - description "DontCare"; - } - enum bgp-st-idle { - value 1; - description "Idle"; - } - enum bgp-st-connect { - value 2; - description "Connect"; - } - enum bgp-st-active { - value 3; - description "Active"; - } - enum bgp-st-open-sent { - value 4; - description "OpenSent"; - } - enum bgp-st-open-confirm { - value 5; - description "OpenConfirm"; - } - enum bgp-st-estab { - value 6; - description "Established"; - } - enum bgp-st-closing { - value 7; - description "Closing"; - } - enum bgp-st-closing-sync { - value 8; - description "ClosingSync"; - } - } - description "Bgp conn state"; - } - typedef Bgp-nh-validate { - type enumeration { - enum bgp-nh-validate-sync { - description "bgp nh validate sync"; - } - enum bgp-nh-validate-async { - description "bgp nh validate async"; - } - enum bgp-nh-validate-none { - description "bgp nh validate none"; - } - } - description "Bgp nh validate"; - } - typedef Bgp-nh-update { - type enumeration { - enum bgp-nh-update-none { - value 0; - description "No nh update yet"; - } - enum bgp-nh-update-crit-not-f { - value 1; - description "Last nh update is crit notf"; - } - enum bgp-nh-update-crit-sync { - value 2; - description "Last nh update is crit sync update"; - } - enum bgp-nh-update-crit-rib-conv { - value 3; - description - "Last nh update is crit update caused by rib - converge"; - } - enum bgp-nh-update-crit-table-down { - value 4; - description - "Last nh update is crit update caused by table - down"; - } - enum bgp-nh-update-non-crit-not-f { - value 5; - description "Last nh update is non-crit notf"; - } - enum bgp-nh-update-non-crit-sync { - value 6; - description "Last nh update is non-crit sync update"; - } - enum bgp-nh-update-non-crit-rib-conv { - value 7; - description - "Last nh update is non-crit update caused by rib - converge"; - } - enum bgp-nh-update-non-crit-table-down { - value 8; - description - "Last nh update is non-crit update caused by - table down"; - } - } - description "Bgp nh update"; - } - typedef Bgp-nh-event { - type enumeration { - enum bgp-nh-event-crit-not-f { - value 0; - description "Last event received is a crit notf"; - } - enum bgp-nh-event-non-crit-not-f { - value 1; - description "Last event received is a non-crit notf"; - } - enum bgp-nh-event-registration { - value 2; - description "Last event sent is a registration"; - } - } - description "Bgp nh event"; - } - typedef Bgp-rtr-state { - type enumeration { - enum bgp-router-read-only { - value 0; - description "Read only mode"; - } - enum bgp-router-do-best-path { - value 1; - description "Bestpath calculation mode"; - } - enum bgp-router-do-tunnel-update { - value 2; - description "Tunnel update mode"; - } - enum bgp-router-do-import { - value 3; - description "Import mode"; - } - enum bgp-router-do-label-alloc { - value 4; - description "Label Allocation mode"; - } - enum bgp-router-do-ribupd { - value 5; - description "RIB update mode"; - } - enum bgp-router-read-write { - value 6; - description "Normal (read/write) mode"; - } - enum bgp-router-mode-count { - value 7; - description "Number of router modes"; - } - } - description "Bgp rtr state"; - } - typedef Mac-address { - type yang:mac-address; - description "MAC Address type"; - } - typedef Bgp-rnh-addr-len { - type enumeration { - enum none { - value 0; - description "NO address length"; - } - enum v4 { - value 4; - description "IP v4 address length"; - } - enum mac { - value 6; - description "MAC address length"; - } - enum v6 { - value 16; - description "IP v6 address length"; - } - } - description "BGP RNH Address Length"; - } - typedef Sr-sid { - type enumeration { - enum label { - value 1; - description "MPLS Label sid"; - } - enum ipv4 { - value 2; - description "IPv4 address"; - } - enum ipv6 { - value 3; - description "IPv6 address"; - } - } - description "Segment id type"; - } - typedef Bgp-srpolicy-req-state { - type enumeration { - enum request-pending { - value 0; - description - "SR policy install in dataplane not requested - yet"; - } - enum requested { - value 1; - description "Requested SR policy install dataplane"; - } - enum notified-up { - value 2; - description "SR policy is UP"; - } - enum notified-down { - value 4; - description "SR policy is notified down by XTC"; - } - enum marked-stale { - value 8; - description - "SR policy is marked stale due to XTC agent down"; - } - enum marked-disable { - value 16; - description - "SR policy is marked disabled from the config in - XTC"; - } - } - description "BGP SR Policy Internal State"; - } - typedef Bgp-binding-sid { - type enumeration { - enum none { - value 0; - description "None"; - } - enum label { - value 1; - description "Binding SID type MPLS label"; - } - enum v6 { - value 2; - description "Binding SID type ipv6"; - } - } - description "BGP Binding SID type"; - } - typedef Bgp-bp-stage { - type enumeration { - enum bgp-bp-comp-not-compared { - value 0; - description "Best path comparison not performed"; - } - enum bgp-bp-comp-imulti-path { - value 1; - description "Path is an iBGP multipath"; - } - enum bgp-bp-comp-emulti-path { - value 2; - description "Path is an eBGP multipath"; - } - enum bgp-bp-comp-eimulti-path { - value 3; - description "Path is an eiBGP multipath"; - } - enum bgp-bp-invalid-path { - value 4; - description "Invalid path"; - } - enum bgp-bp-comp-pre-cost-comm { - value 5; - description "TODO"; - } - enum bgp-bp-comp-weight { - value 6; - description "Path has a lower weight"; - } - enum bgp-bp-comp-locpref { - value 7; - description "Path has a lower local preference"; - } - enum bgp-bp-comp-rpki { - value 8; - description "Path has worse origin validation state"; - } - enum bgp-bp-comp-aigp { - value 9; - description "TODO"; - } - enum bgp-bp-comp-local { - value 10; - description "Path is not local"; - } - enum bgp-bp-comp-local-rib { - value 11; - description "TODO"; - } - enum bgp-bp-comp-as-path-len { - value 12; - description "Path has a longer AS path"; - } - enum bgp-bp-comp-origin { - value 13; - description "Path has a less favorable origin"; - } - enum bgp-bp-comp-med { - value 14; - description "Path has a lower MED"; - } - enum bgp-bp-comp-ebgp { - value 15; - description "Path lost to an eBGP path"; - } - enum bgp-bp-comp-ao { - value 16; - description "Path has Accept-Own community"; - } - enum bgp-bp-comp-igp-metric { - value 17; - description "Path has a higher IGP metric"; - } - enum bgp-bp-comp-igp-cost-comm { - value 18; - description "TODO"; - } - enum bgp-bp-comp-rtr-id { - value 19; - description "Path has a higher router ID"; - } - enum bgp-bp-comp-clstr-len { - value 20; - description "Path has a longer cluster length"; - } - enum bgp-bp-comp-nbr-addr { - value 21; - description "Path has a higher neighbor address"; - } - enum bgp-bp-comp-suppressed { - value 22; - description "Path is newer than best path"; - } - enum bgp-bp-comp-mismatch { - value 23; - description - "Best path comparison failed, perhaps due to - recent configuration changes"; - } - enum bgp-bp-comp-persistence { - value 24; - description "Path is persistent"; - } - } - description "Bgp bp stage"; - } - typedef Bgp-v4-v6-len { - type enumeration { - enum gwnone { - value 0; - description "NO address length"; - } - enum gwipv4 { - value 4; - description "IP v4 address length"; - } - enum gwipv6 { - value 16; - description "IP v6 address length"; - } - } - description "BGP GW Address Length"; - } - typedef Bgp-tunnel { - type enumeration { - enum tunnel-none { - value 0; - description "Tunnel not applicable"; - } - enum attrset { - value 1; - description "Attribute set TE tunnel"; - } - enum sr-policy { - value 2; - description "SR Policy"; - } - enum odn-color { - value 3; - description "ODN color"; - } - } - description "BGP tunnel type"; - } - typedef Bgp-route1 { - type enumeration { - enum bgp-route-type-used { - value 0; - description "Used path from neighbor"; - } - enum bgp-route-type-rcvd-only { - value 1; - description "Received only path from neighbor"; - } - enum bgp-route-type-safi-label-ed-ucast-used { - value 2; - description - "Used path from neighbor received via - labeled-unicast SAFI"; - } - enum bgp-route-type-safi-label-ed-ucast-rcvd-only { - value 3; - description - "Received only path from neighbor received via - labeled-unicast SAFI"; - } - enum bgp-route-type-rib { - value 4; - description "Redistributed from the RIB"; - } - enum bgp-route-type-aggregate { - value 5; - description "Locally generated aggregate"; - } - enum bgp-route-type-max { - value 6; - description "Number of route types"; - } - } - description "Bgp route1"; - } - typedef Bgp-rpki-af { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 26; - description "IPv6"; - } - } - description "Bgp rpki af"; - } - typedef Bgp-tcp-mode { - type enumeration { - enum bgp-tcp-mode-type-either { - value 0; - description "Use either active or passive mode"; - } - enum bgp-tcp-mode-type-active-only { - value 1; - description "Use active mode only"; - } - enum bgp-tcp-mode-type-passive-only { - value 2; - description "Use passive mode only"; - } - } - description "Bgp tcp mode"; - } - typedef Bgp-ebgp-send-dmz-enable-mode { - type enumeration { - enum bgp-ebgp-send-dmz-disable { - value 0; - description - "EBGP send extended community dmz link bandwidth - disabled "; - } - enum bgp-ebgp-send-dmz-dflt { - value 1; - description - "EBGP send extended community dmz link bandwidth - default mode "; - } - enum bgp-ebgp-send-dmz-cumulative { - value 2; - description - "EBGP send extended community dmz link bandwidth - cumulative mode"; - } - } - description - "EBGP send extended community dmz link bandwidth - enable mode"; - } - typedef Bgp-entities { - type enumeration { - enum af-group { - value 0; - description "AF groups"; - } - enum session-group { - value 1; - description "Session Groups"; - } - enum neighbor-group { - value 2; - description "Neighbor Groups"; - } - enum neighbor { - value 3; - description "Neighbors"; - } - } - description "Entity type"; - } - typedef Ipv6-flowspec-address { - type xr:Bgp-ipv6-flowspec-address; - description "IPv6 Flowspec Address type"; - } - typedef Ipv4-flowspec-address { - type xr:Bgp-ipv4-flowspec-address; - description "IPv4 Flowspec Address type"; - } - typedef Ls-ls-address { - type xr:Bgp-ls-addr; - description "LINKSTATE LINKSTATE Address type"; - } - typedef L2vpn-evpn-address { - type xr:Bgp-l2vpn-evpn-addrs; - description "L2VPN EVPN Address type"; - } - typedef Ipv4mvpn-address { - type xr:Bgp-ipv4-mvpn-addr; - description "IPV4 MVPN Address type"; - } - typedef Ipv6mvpn-address { - type xr:Bgp-ipv6-mvpn-addr; - description "IPV6 MVPN Address type"; - } - typedef Rt-constraint-address { - type xr:Bgp-rt-constrt-addr; - description "IPV4 RTConstraint Address type"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - typedef Ipv4-mdt-address { - type xr:Bgp-ipv4-mdt-addr; - description "IPV4MDT Address type"; - } - typedef Ipv4-tunnel-address { - type xr:Bgp-ipv4-tunnel-addr; - description "IPV4Tunnel Address type"; - } - typedef Bgp-afi { - type enumeration { - enum ipv4 { - value 0; - description "IP v4 unicast"; - } - enum ipv4-multicast { - value 1; - description "IP v4 multicast"; - } - enum ipv4-labeled { - value 2; - description "IP v4 label"; - } - enum ipv4-tunnel { - value 3; - description "IP v4 Tunnel"; - } - enum vpnv4 { - value 4; - description "IP v4 virtual private network"; - } - enum ipv6 { - value 5; - description "IP v6 unicast"; - } - enum ipv6-multicast { - value 6; - description "IP v6 multicast"; - } - enum ipv6-labeled { - value 7; - description "IP v6 label"; - } - enum vpnv6 { - value 8; - description "IP v6 virtual private network"; - } - enum ipv4-mdt { - value 9; - description "IP v4 Multicast Distribution Tree"; - } - enum l2vpn-vpls { - value 10; - description "L2VPN VPLS"; - } - enum rt-constraint { - value 11; - description "IP RT-Constraint"; - } - enum ipv4-mvpn { - value 12; - description "IP v4 mvpn"; - } - enum ipv6-mvpn { - value 13; - description "IP v6 mvpn"; - } - enum l2vpn-evpn { - value 14; - description "L2VPN EVPN"; - } - enum ls-ls { - value 15; - description "Link-state Link-state"; - } - enum vpnv4-multicast { - value 16; - description "IP v4 virtual private network for multicast"; - } - enum vpnv6-multicast { - value 17; - description "IP v6 virtual private network for multicast"; - } - enum ipv4-flowspec { - value 18; - description "IP v4 flowspec"; - } - enum ipv6-flowspec { - value 19; - description "IP v6 flowspec"; - } - enum vpnv4-flowspec { - value 20; - description "IP v4 vpn flowspec"; - } - enum vpnv6-flowspec { - value 21; - description "IP v6 vpn flowspec"; - } - enum l2vpn-mspw { - value 22; - description "L2VPN Multi-segment pseudowire"; - } - enum ipv4-sr-policy { - value 23; - description "IP v4 SR Policy"; - } - enum ipv6-sr-policy { - value 24; - description "IP v6 SR Policy"; - } - enum no-address-family { - value 25; - description "Address-family not applicable"; - } - enum all-address-families { - value 26; - description "All address-families"; - } - } - description "BGP Address family"; - } - - grouping BGP-INSTANCE-INFO { - description "BGP instance information"; - leaf instance-identifier { - type uint16; - description "Instance Identifier"; - } - leaf placed-group-id { - type uint16; - description "Placed Group Identifier"; - } - leaf instance-name-str { - type string; - description "Instance Name"; - } - leaf as-number { - type uint32; - description "AS Number"; - } - leaf number-of-vrfs { - type uint32; - description "Number of VRFs"; - } - leaf read-only-enabled { - type boolean; - description "Read-only is enabled"; - } - leaf install-diversion-enabled { - type boolean; - description "Install diversion is enabled"; - } - leaf srgb-start-configured { - type uint32; - description - "Configured start value of Segment-routing global - block"; - } - leaf srgb-end-configured { - type uint32; - description - "Configured end value of Segment-routing global - block"; - } - - list af-array { - min-elements "25"; - max-elements "25"; - description "Array of Address Families"; - leaf entry { - type boolean; - description "Array entry."; - } - } - } - - grouping BGP-INSTANCES-INFO-BAG { - description "BGP instances information bag"; - - list instance { - description "Array of instance information"; - uses BGP-INSTANCE-INFO; - } - } - - grouping BGP-EDM-LABEL-RPF-NBR { - description "BGP EDM LABEL RPF NBR"; - leaf ip { - type inet:ipv4-address; - description "ip"; - } - leaf ip6 { - type inet:ipv6-address; - description "ip6"; - } - leaf count { - type uint32; - description "count"; - } - leaf flags { - type uint32; - description "flags"; - } - } - - grouping BGP-EDM-LABEL-RPF-INFO { - description "BGP EDM LABEL RPF INFO"; - leaf label { - type uint32; - description "label"; - } - leaf flags { - type uint32; - description "flags"; - } - leaf install { - type Bgp-label-rpf-install; - description "install"; - } - - list rpf { - description "rpf"; - uses BGP-EDM-LABEL-RPF-NBR; - } - } - - grouping BGP-LABEL-RPF-BAG { - description "BGP LABEL RPF BAG"; - - container rpf { - description "rpf"; - uses BGP-EDM-LABEL-RPF-INFO; - } - } - - grouping BGP-RPKI-SUMMARY-BAG { - description "BGP RPKI SUMMARY BAG"; - leaf servers { - type uint32; - description "Number of RPKI Servers configured"; - } - leaf ipv4roa-nets { - type uint32; - description "Number of IPv4 ROA Nets"; - } - leaf ipv4roa-paths { - type uint32; - description "Number of IPv4 ROA Paths"; - } - leaf ipv6roa-nets { - type uint32; - description "Number of IPv6 ROA Nets"; - } - leaf ipv6roa-paths { - type uint32; - description "Number of IPv6 ROA Paths"; - } - leaf rpki-disabled { - type boolean; - description "RPKI Knob disabled"; - } - leaf rpki-use-validity { - type boolean; - description "Use RPKI validity for bestpath calculation"; - } - leaf rpki-allow-invalid { - type boolean; - description "Allow invalid paths"; - } - leaf rpki-signal-ibgp { - type boolean; - description "Signal RPKI validity to iBGP peers"; - } - } - - grouping BGP-UPDERR-PROC-BAG { - description "BGP Update error-handling Process information"; - - container last-update-malformed-timestamp { - description - "Last malformed messages received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-error-handling-basic-ebgp { - type boolean; - description "Is basic error-handling for EBGP enabled"; - } - leaf update-error-handling-basic-ibgp { - type boolean; - description "Is basic error-handling for IBGP enabled"; - } - leaf update-error-handling-extended-ebgp { - type boolean; - description "Is extended error-handling for EBGP enabled"; - } - leaf update-error-handling-extended-ibgp { - type boolean; - description "Is extended error-handling for IBGP enabled"; - } - leaf update-malformed-message-count { - type uint32; - description "Malformed messages count"; - } - leaf update-malformed-neighbor-count { - type uint32; - description - "Count of neighbors that received malformed - messages"; - } - leaf last-update-malformed-age { - type uint32; - units "second"; - description - "Time since last malformed messages received - event (in seconds)"; - } - } - - grouping BGP-EDM-RPKI-ROUTE { - description "BGP EDM RPKI ROUTE"; - leaf af-name { - type Bgp-rpki-af; - description "Address Family"; - } - leaf address { - type string; - description "Address Prefix"; - } - leaf min-prefix-len { - type uint8; - description "Minimum Prefix Length"; - } - leaf max-prefix-len { - type uint8; - description "Maximum Prefix Length"; - } - leaf as { - type uint32; - description "AS number"; - } - leaf refcount { - type uint16; - description "Refcount"; - } - leaf server { - type string; - description "Source Server"; - } - leaf stale { - type boolean; - description "ROA is stale"; - } - } - - grouping BGP-RPKI-ROUTES-BAG { - description "BGP RPKI ROUTES BAG"; - - list rpki-route { - description "Array or RPKI routes"; - uses BGP-EDM-RPKI-ROUTE; - } - } - - grouping BGP-EDM-LABEL-STATS { - description "BGP EDM LABEL STATS"; - leaf nbgp-label-alloc-type-gbl-ipv4 { - type uint32; - description "nBGP LABEL ALLOC TYPE GBL IPv4"; - } - leaf nbgp-label-alloc-type-gbl-ipv6 { - type uint32; - description "nBGP LABEL ALLOC TYPE GBL IPv6"; - } - leaf nbgp-label-alloc-type-vrf-ipv4 { - type uint32; - description "nBGP LABEL ALLOC TYPE VRF IPv4"; - } - leaf nbgp-label-alloc-type-vrf-ipv6 { - type uint32; - description "nBGP LABEL ALLOC TYPE VRF IPv6"; - } - leaf nbgp-label-alloc-type-ce-ipv4 { - type uint32; - description "nBGP LABEL ALLOC TYPE CE IPv4"; - } - leaf nbgp-label-alloc-type-ce-ipv6 { - type uint32; - description "nBGP LABEL ALLOC TYPE CE IPv6"; - } - leaf nbgp-label-alloc-type-tbl-ipv4 { - type uint32; - description "nBGP LABEL ALLOC TYPE TBL IPv4"; - } - leaf nbgp-label-alloc-type-tbl-ipv6 { - type uint32; - description "nBGP LABEL ALLOC TYPE TBL IPv6"; - } - leaf nbgp-label-alloc-type-vpn-ipv4 { - type uint32; - description "nBGP LABEL ALLOC TYPE VPN IPv4"; - } - leaf nbgp-label-alloc-type-vpn-ipv6 { - type uint32; - description "nBGP LABEL ALLOC TYPE VPN IPv6"; - } - leaf nbgp-label-alloc-type-asbr-nh { - type uint32; - description "nBGP LABEL ALLOC TYPE ASBR NH"; - } - leaf nbgp-labels { - type uint32; - description "nBGP LABELS"; - } - leaf bgp-label-rpf-lists { - type uint32; - description "bgp label rpf lists"; - } - leaf bgp-label-rpf-nodes { - type uint32; - description "bgp label rpf nodes"; - } - } - - grouping BGP-LABEL-SUMMARY-BAG { - description "BGP LABEL SUMMARY BAG"; - - container stats { - description "stats"; - uses BGP-EDM-LABEL-STATS; - } - } - - grouping BGP-EDM-RPKI-CACHE { - description "BGP EDM RPKI CACHE"; - leaf name { - type string; - description "Server Name"; - } - leaf preference { - type uint32; - description "Server Preference"; - } - leaf port { - type uint32; - description "Server TCP Port number"; - } - leaf state { - type Bgp-rpki-state; - description "Server Internal State"; - } - leaf state-time { - type uint32; - description "Server Internal State timestamp (unix time)"; - } - leaf shutdown { - type boolean; - description "Server Shutdown"; - } - leaf retries { - type uint32; - description "Number of connection retries"; - } - leaf close-reason { - type Bgp-rpki-creason; - description "Server close reason"; - } - leaf close-time { - type uint32; - description "Server close elapsed time"; - } - leaf close-time-real { - type uint32; - description "Server close real timestamp (unix time)"; - } - leaf read-bytes { - type uint32; - units "byte"; - description "Number of bytes read from the server"; - } - leaf write-bytes { - type uint32; - units "byte"; - description "Number of bytes written to the server"; - } - leaf transport { - type uint32; - description "Server transport type"; - } - leaf username { - type string; - description "Server SSH username"; - } - leaf password { - type string; - description "Server SSH password"; - } - leaf sshpid { - type uint32; - description "Server SSH process ID"; - } - leaf proto-state { - type Bgp-rpki-pstate; - description "Server Protocol state"; - } - leaf proto-state-time { - type uint32; - description "Server Protocol state timestamp (unix time)"; - } - leaf serial { - type uint32; - description "Server serial number"; - } - leaf nonce { - type uint32; - description "Server nonce"; - } - leaf refresh-time { - type int32; - units "second"; - description "Server refresh time (seconds)"; - } - leaf response-time { - type int32; - units "second"; - description "Server response time (seconds)"; - } - leaf purge-time { - type int32; - units "second"; - description "Server purge time (seconds)"; - } - leaf ipv4roa { - type uint32; - description "Total IPv4 ROAs currently recv'd from server"; - } - leaf ipv4roa-announce { - type uint32; - description "Total IPv4 ROAs announced by the server"; - } - leaf ipv4roa-withdraw { - type uint32; - description "Total IPv4 ROAs withdrawn by the server"; - } - leaf ipv6roa { - type uint32; - description "Total IPv6 ROAs currently recv'd from server"; - } - leaf ipv6roa-announce { - type uint32; - description "Total IPv6 ROAs announced by the server"; - } - leaf ipv6roa-withdraw { - type uint32; - description "Total IPv6 ROAs withdrawn by the server"; - } - leaf proto-error { - type Bgp-rpki-perror; - description "Protocol Error Reason"; - } - } - - grouping BGP-RPKI-CACHES-BAG { - description "BGP RPKI CACHES BAG"; - - list rpki-server { - description "Array of RPKI servers"; - uses BGP-EDM-RPKI-CACHE; - } - } - - grouping BGP-ATTRFILTER-ENTRY-BAG { - description "BGP attribute-filter entry information"; - leaf attribute-filter-entry-requested-action { - type Bgp-bag-upd-filter-action; - description "Requested filtering action"; - } - leaf attribute-filter-entry-range-start { - type uint32; - description "Start of attribute range"; - } - leaf attribute-filter-entry-range-end { - type uint32; - description "End of attribute range"; - } - } - - grouping BGP-ATTRFILTER-GROUP-BAG { - description "BGP attribute-filter group information"; - leaf attribute-filter-group-name { - type string; - description "Attribute-filter group name"; - } - leaf attribute-filter-total-group-count { - type uint32; - description "Total number of attriute-filter groups"; - } - - list attribute-filter-entry { - description "List of attriute-filter entries"; - uses BGP-ATTRFILTER-ENTRY-BAG; - } - } - - grouping BGP-EDM-LABEL-ENTRY { - description "BGP EDM LABEL ENTRY"; - leaf label { - type uint32; - description "label"; - } - leaf rds { - type string; - description "rds"; - } - leaf vrf { - type string; - description "vrf"; - } - leaf ip { - type inet:ipv4-address; - description "ip"; - } - leaf ip6 { - type inet:ipv6-address; - description "ip6"; - } - leaf rpc-set-id { - type uint32; - description "rpc set id"; - } - leaf masklen { - type uint16; - description "masklen"; - } - leaf ts-sec { - type uint32; - description "ts sec"; - } - leaf ts-ssec { - type uint32; - description "ts ssec"; - } - leaf info { - type uint16; - description "info"; - } - leaf refcount { - type uint32; - description "refcount"; - } - leaf inactive { - type boolean; - description "inactive"; - } - } - - grouping BGP-LABEL-BAG { - description "BGP LABEL BAG"; - - container entry { - description "entry"; - uses BGP-EDM-LABEL-ENTRY; - } - } - - grouping BGP-EDM-RT-ENTRY { - description "BGP EDM RT ENTRY"; - leaf route-target { - type string; - description "route target"; - } - } - - grouping BGP-VRF-RT-BAG { - description "BGP VRF RT BAG"; - - container rt { - description "rt"; - uses BGP-EDM-RT-ENTRY; - } - leaf afs { - type string; - description "afs"; - } - } - - grouping BGP-UPDFILTER-PROC-BAG { - description "BGP Update filtering Process information"; - - container last-update-filtered-timestamp { - description - "Last filtered messages received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-filtered-message-count { - type uint32; - description "Filtered messages count"; - } - leaf update-filtered-neighbor-count { - type uint32; - description - "Count of neighbors that received filtered - messages"; - } - leaf last-update-filtered-age { - type uint32; - units "second"; - description - "Time since last filtered messages received event - (in seconds)"; - } - } - - grouping BGP-NBR-MSG { - description "Neighbor In/Out Message entry"; - - container message-timestamp { - description - "message received time: time elapsed since 00:00 - :00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf message-type-received { - type uint8; - description "Type of messages Received"; - } - leaf total-logged-message-count { - type uint32; - description "Total logged messages count"; - } - leaf message-data-length { - type uint16; - description "Message data length"; - } - list logged-message-data { - description "Raw Message data in binary format"; - leaf entry { - type uint8; - } - } - } - - grouping BGP-MSGLOG-NBR-BAG { - description "BGP Message logging Neighbor information"; - - list neighbor-message { - description "Array of Neighbor Messages in one direction"; - uses BGP-NBR-MSG; - } - } - - grouping BGP-NBR-INSTANCE { - description "Dynamic Neighbor Instance"; - - container neighbor-address { - description "Dynamic Neighbor address"; - uses BGP-ADDRTYPE; - } - - container neighbor-age { - description "Neighbor age"; - uses BGP-TIMESPEC; - } - - container idle-watch-timer-remaining-value { - description "Idle watch timer remaining time"; - uses BGP-TIMESPEC; - } - leaf is-idle-watch-timer-running { - type boolean; - description "Is idle watch timer running"; - } - leaf connection-state { - type Bgp-conn-state; - description "State of connection"; - } - } - - grouping BGP-NBR-RANGE-AF { - description "BGP neighbor address family specific information"; - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf is-neighbor-route-reflector-client { - type boolean; - description "Nbr is a route reflector client"; - } - leaf is-legacy-pe-rt { - type boolean; - description - "Nbr accepts route from legacy PE for - RT-Constraint AF "; - } - leaf is-neighbor-af-capable { - type boolean; - description - "Address family capability received from neighbor"; - } - leaf is-soft-reconfiguration-inbound-allowed { - type boolean; - description "Inbound soft reconfiguration allowed"; - } - leaf is-use-soft-reconfiguration-always-on { - type boolean; - description "Soft reconf overrides route refresh"; - } - leaf remove-private-as-from-updates { - type boolean; - description - "Private AS numbers removed from updates to this - nbr"; - } - leaf remove-private-as-entire-aspath-from-updates { - type boolean; - description - "Private AS numbers removed from updates to - thisnbr only if the aspath hasonly private ASes"; - } - leaf remove-private-as-from-inbound-updates { - type boolean; - description - "Private AS numbers removed from updates from - this nbr"; - } - leaf remove-private-as-entire-aspath-from-inbound-updates { - type boolean; - description - "Private AS numbers removed from updates from - this nbr only if the aspath has only private - ASes"; - } - leaf flowspec-validation-d-isable { - type boolean; - description "Flowspec Validation Disabled"; - } - leaf flowspec-redirect-validation-d-isable { - type boolean; - description "Flowspec Redirect Validation Disabled"; - } - leaf orr-group-name { - type string; - description "ORR Group Name"; - } - leaf orr-group-index { - type uint32; - description "ORR Group Index"; - } - leaf is-orr-root-address-configured { - type boolean; - description - "ORR Root address configuredfor the neighbor - connection"; - } - leaf advertise-afi { - type boolean; - description "Encode in Advertise AFI"; - } - leaf advertise-afi-reorg { - type boolean; - description "Encode in Advertise AFI"; - } - leaf advertise-afi-local { - type boolean; - description "Encode in Advertise AFI"; - } - leaf advertise-afi-disable { - type boolean; - description "Encode in Advertise AFI"; - } - leaf always-use-next-hop-local { - type boolean; - description "Local router always used for next-hop"; - } - leaf next-hop-unchanged { - type boolean; - description "router does not change next-hop"; - } - leaf sent-community-to-neighbor { - type boolean; - description "Community attribute sent to neighbor"; - } - leaf sent-gshut-community-to-neighbor { - type boolean; - description "GSHUT Community attribute sent to neighbor"; - } - leaf sent-extended-community-to-neighbor { - type boolean; - description "Extended community attribute sent to neighbor"; - } - leaf neighbor-default-originate { - type boolean; - description "Neighbor originates default"; - } - leaf is-orf-sent { - type boolean; - description "Outbound route filter sent to neighbor"; - } - leaf is-update-deferred { - type boolean; - description - "Update deferred until ORF/route refresh received"; - } - leaf is-orf-send-scheduled { - type boolean; - description "Scheduled to send prefix based ORF"; - } - leaf vpn-update-gen-enabled { - type boolean; - description "RT Nbr enabled for updategento another"; - } - leaf vpn-update-gen-trigger-enabled { - type boolean; - description "RT Nbr enabled for updategento another"; - } - leaf is-addpath-send-operational { - type boolean; - description "Addpath is operational on send-side"; - } - leaf is-addpath-receive-operational { - type boolean; - description "Addpath is operational on receive-side"; - } - leaf weight { - type uint32; - description "Weight for this AF"; - } - leaf max-prefix-limit { - type uint32; - description "Max limit for # of prefixes"; - } - leaf use-max-prefix-warning-only { - type boolean; - description "Warning only when maximum prefix limit reached"; - } - leaf max-prefix-discard-extra-paths { - type boolean; - description "Discard extra paths when prefix limit reached"; - } - leaf max-prefix-exceed-discard-paths { - type boolean; - description - "Did we discard extra paths when prefix limit - reached"; - } - leaf max-prefix-threshold-percent { - type uint8; - units "percentage"; - description - "Percentage of maximum no. of prefixes at which - to generate warning"; - } - leaf max-prefix-restart-time { - type uint16; - units "minute"; - description - "Time interval (in minutes) after which peering - session will be reestablished"; - } - leaf is-peer-orf-capable { - type boolean; - description "Peer has outbound route filter capability"; - } - leaf is-advertised-orf-send { - type boolean; - description - "Prefix based ORF send mode capability advertised"; - } - leaf is-received-orf-send-capable { - type boolean; - description "Prefix based ORF send mode capability received"; - } - leaf is-advertised-orf-receive { - type boolean; - description - "Prefix based ORF receive mode capability - advertised"; - } - leaf is-received-orf-receive-capable { - type boolean; - description - "Prefix based ORF receive mode capability - received"; - } - leaf is-advertised-graceful-restart { - type boolean; - description "Graceful Restart Capability advertised"; - } - leaf is-graceful-restart-state-flag { - type boolean; - description "Restart state flag enabled"; - } - leaf is-received-graceful-restart-capable { - type boolean; - description "Graceful Restart Capability received"; - } - leaf is-add-path-send-capability-advertised { - type boolean; - description "Addpath Send capability advertised"; - } - leaf is-add-path-send-capability-received { - type boolean; - description "Addpath Send capability received"; - } - leaf is-add-path-receive-capability-advertised { - type boolean; - description "Addpath Receive capability advertised"; - } - leaf is-add-path-receive-capability-received { - type boolean; - description "Addpath Receive capability received"; - } - leaf restart-time { - type uint32; - units "second"; - description "Restart time advertised (seconds)"; - } - leaf local-restart-time { - type uint32; - units "second"; - description "Local Restart time (seconds)"; - } - leaf stale-path-timeout { - type uint32; - units "second"; - description "Stale path timeout time (in seconds)"; - } - leaf rib-purge-timeout-value { - type uint32; - units "second"; - description "RIB purge timeout time (in seconds)"; - } - leaf neighbor-preserved-forwarding-state { - type boolean; - description "Neighbor preserved forwarding state"; - } - leaf long-lived-graceful-restart-stale-time-configured { - type boolean; - description - "Long-lived graceful-restart stale time is - configured"; - } - leaf long-lived-graceful-restart-stale-time-sent { - type uint32; - units "second"; - description - "Stale time sent in long-lived graceful-restart - capability (seconds)"; - } - leaf long-lived-graceful-restart-stale-time-accept { - type uint32; - units "second"; - description - "Maximum long-lived graceful-restart stale time - acceptable from the neighbor (seconds)"; - } - leaf long-lived-graceful-restart-capability-received { - type boolean; - description - "Long-lived graceful-restart capability received - from the neighbor"; - } - leaf long-lived-graceful-restart-stale-time-received { - type uint32; - units "second"; - description - "Long-lived graceful-restart stale time received - from the neighbor (seconds)"; - } - leaf neighbor-preserved-long-lived-forwarding-state { - type boolean; - description "Neighbor preserved long-lived forwarding state"; - } - leaf neighbor-long-lived-graceful-restart-capable { - type boolean; - description - "Treat neighbor as long-lived graceful-restart - capable"; - } - leaf neighbor-long-lived-graceful-restart-time-remaining { - type uint32; - description "Remaining long-lived graceful-restart time"; - } - leaf is-prefix-orf-present { - type boolean; - description "Outbound route filter prefix ORF present"; - } - leaf orf-entries-received { - type uint32; - description - "Number of outbound route filter entries received"; - } - leaf route-policy-prefix-orf { - type string; - description "Prefix based ORF for incoming updates"; - } - leaf route-policy-in { - type string; - description "Incoming route policy name"; - } - leaf route-policy-out { - type string; - description "Outgoing route policy name"; - } - leaf route-policy-default-originate { - type string; - description "Default-originate route policy name"; - } - leaf is-neighbor-ebgp-without-inbound-policy { - type boolean; - description "eBGP neighbor with no configured inbound policy"; - } - leaf is-neighbor-ebgp-without-outbound-policy { - type boolean; - description - "eBGP neighbor with no configured outbound policy"; - } - leaf is-as-override-set { - type boolean; - description "As override set "; - } - leaf is-allow-as-in-set { - type boolean; - description "Allowas-in set "; - } - leaf allow-as-in-count { - type uint32; - description "Allowas-in count config"; - } - leaf address-family-long-lived-time { - type uint32; - description "AF specific Long-lived-time config"; - } - leaf is-aigp-set { - type boolean; - description "AIGP set "; - } - leaf is-rt-present { - type boolean; - description "RT attribute list present"; - } - leaf is-rt-present-standby { - type boolean; - description "RT attribute list present"; - } - leaf accept-own-enabled { - type boolean; - description "Accept-Own enabled"; - } - leaf selective-multipath-eligible { - type boolean; - description "Selective multipath eligible"; - } - leaf afrpki-disable { - type boolean; - description "Prefix validation disabled"; - } - leaf afrpki-use-validity { - type boolean; - description "Prefix v. use validity"; - } - leaf afrpki-allow-invalid { - type boolean; - description "Prefix v. allow invalid"; - } - leaf afrpki-signal-ibgp { - type boolean; - description "Prefix v. signal ibgp"; - } - leaf is-advertise-permanent-network { - type boolean; - description "Advertise Permanent Network"; - } - leaf is-send-mcast-attr { - type boolean; - description "Send Mcast Attr"; - } - leaf import-stitching { - type boolean; - description "Import Stitching enabled"; - } - leaf import-reoriginate { - type boolean; - description "Import Reoriginate enabled"; - } - leaf import-reoriginate-stitching { - type boolean; - description "Import Reoriginate Stitching enabled"; - } - leaf advertise-v4-flags { - type uint32; - description "Advertise options for VPNV4"; - } - leaf advertise-v6-flags { - type uint32; - description "Advertise options for VPNV6"; - } - list extended-community { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - list extended-community-standby { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - } - - grouping BGP-NBR-RANGE-BAG { - description "BGP Neighbor Range Information"; - - container connection-local-address { - description "Local address for the connection"; - uses BGP-ADDRTYPE; - } - - container connection-remote-address { - description "Remote address for the connection"; - uses BGP-ADDRTYPE; - } - - container graceful-maintenance { - description "Graceful Maintenance"; - uses BGP-NBR-GSHUT; - } - - container cfg-local-address { - description "Configured local address"; - uses BGP-ADDRTYPE; - } - leaf speaker-id { - type uint8; - description "Speaker this neighbor is allocated to"; - } - leaf description { - type string; - description "Description"; - } - leaf local-as { - type uint32; - description "Local AS number"; - } - leaf remote-as { - type uint32; - description "Remote AS number"; - } - leaf has-internal-link { - type boolean; - description "Internal link to neighbor"; - } - leaf is-local-address-configured { - type boolean; - description - "Local address configured for the neighbor - connection"; - } - leaf neighbor-range-prefix-length { - type uint8; - description "Neighbor Range Prefix Length"; - } - leaf is-administratively-shut-down { - type boolean; - description "Neighbor is administratively shut down"; - } - leaf is-neighbor-max-prefix-shutdown { - type boolean; - description - "Neighbor shut down because it exceeded max prfx - count"; - } - leaf is-out-of-memory-forced-up { - type boolean; - description - "Neighbor forced up during a low memory condition"; - } - leaf ttl-security-enabled { - type boolean; - description "TTL Security enabled"; - } - leaf suppress4-byte-as { - type boolean; - description "Suppress 4byteas capability"; - } - leaf bfd-session-enable-mode { - type Bgp-bfd-enable-mode; - description "BFD enable mode for this peer"; - } - leaf bfd-minintervalval { - type uint32; - description "BFD Mininterval for this peer"; - } - leaf bfd-multiplierval { - type uint32; - description "BFD Multiplier for this peer"; - } - leaf ebgp-time-to-live { - type uint32; - description - "Maximum number of hops for external BGP neighbor"; - } - leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { - type boolean; - description - "If true, MPLS and NULL rewrite is disabled; if - false, it is enabled"; - } - leaf tcpmss { - type uint32; - description - "Neighbor TCP Maximum Segment - size"; - } - leaf msg-log-in { - type uint32; - description "Message in log count"; - } - leaf msg-log-out { - type uint32; - description "Message out log count"; - } - leaf neighbor-local-as { - type uint32; - description "Local AS configured on the neighbor"; - } - leaf local-as-no-prepend { - type boolean; - description - "Option to not prepend the Local AS to - announcements"; - } - leaf is-capability-negotiation-performed { - type boolean; - description "Capability negotiation performed"; - } - leaf configured-hold-time { - type uint16; - units "second"; - description - "Hold time (in secs) configured for this - connection"; - } - leaf configured-keepalive { - type uint16; - units "second"; - description - "Keepalive time (in secs) configured for this - connection"; - } - leaf configured-min-acc-hold-time { - type uint16; - units "second"; - description - "Minimum acceptable hold time from neighbor (in - secs) configured for this connection"; - } - leaf min-advertise-interval { - type uint32; - units "second"; - description "Minimum advertisement interval, secs part"; - } - leaf min-advertise-interval-msecs { - type uint32; - units "millisecond"; - description "Minimum advertisement interval, msecs part"; - } - leaf min-origination-interval { - type uint16; - units "second"; - description "Minimum origination interval (in secs)"; - } - leaf remote-as-number { - type uint32; - description "Remote AS number"; - } - leaf dmz-link-bandwidth { - type uint32; - description "Bandwidth of link to single-hop eBGP peer"; - } - leaf ebgp-recv-dmz { - type boolean; - description - "Receive Bandwidth of link to single-hop eBGP - peer"; - } - leaf ebgp-send-dmz-mode { - type Bgp-ebgp-send-dmz-enable-mode; - description "Ebgp send dmz link bw mode"; - } - leaf tos-type { - type uint8; - description "Precedence or DSCP type"; - } - leaf tos-value { - type uint8; - description "Precedence or DSCP value"; - } - leaf tcp-session-open-mode { - type Bgp-tcp-mode; - description - "The TCP mode to be used to set up BGP session - with the neighbor"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf standby-rp { - type boolean; - description "Standby RP socket inited for Active Open"; - } - leaf nsr-enabled { - type boolean; - description "Neighbor supports NSR"; - } - leaf graceful-restart-enabled-nbr { - type boolean; - description "Neighbor supports graceful-restart"; - } - leaf gr-restart-time { - type uint32; - units "second"; - description "Neighbor restart time (in seconds)"; - } - leaf gr-stale-path-time { - type uint32; - units "second"; - description "Neighbor stale-path time (in seconds)"; - } - leaf is-passive-close { - type boolean; - description - "If true, active socket canbe closed if passive - openis received for a GRcapable neighbor"; - } - leaf nbr-enforce-first-as { - type boolean; - description "Neighbor enforce first AS"; - } - leaf active-bmp-servers { - type uint8; - description "BMP Servers to which the neighbor sends logs"; - } - leaf nbr-cluster-id { - type uint32; - description "Cluster id"; - } - leaf nbr-in-cluster { - type uint8; - description "Type of cluster_id:undefined/number/Ip address"; - } - leaf ignore-connected { - type boolean; - description "If true, the VPN client isan IBGP CE peer"; - } - leaf internal-vpn-client { - type boolean; - description "If true, don't do NHconnected check for nbr"; - } - leaf local-as-replace-as { - type boolean; - description "Local AS Replace-AS option"; - } - leaf local-as-dual-as { - type boolean; - description "Local AS Dual-AS option"; - } - leaf local-as-dual-as-mode-native { - type boolean; - description - "Applies only if Local AS Dual-AS option is - enabled. Indicates if Dual-AS mode is native."; - } - leaf egress-peer-engineering-enabled { - type boolean; - description "Indicates if Egress Peer Engineering is enabled"; - } - leaf discard-as4-path { - type uint32; - description - "Discard AS4_PATH in case there is a discrepancy - in merging AS_PATH and AS4_PATH,retain ASPATH"; - } - leaf rpki-disable { - type boolean; - description "Prefix validation disabled"; - } - leaf rpki-use-validity { - type boolean; - description "Prefix v. use validity"; - } - leaf rpki-allow-invalid { - type boolean; - description "Prefix v. allow invalid"; - } - leaf rpki-signal-ibgp { - type boolean; - description "Prefix v. signal ibgp"; - } - leaf remote-as-list-name { - type string; - description "Remote AS List Name"; - } - leaf nbr-rcv-size { - type uint32; - description "Nbr Receive Size"; - } - leaf nbr-send-size { - type uint32; - description "Nbr Send Size"; - } - leaf islocal-address-cfg { - type boolean; - description "Local address configured"; - } - leaf update-source { - type string; - description "Update Source"; - } - leaf addpath-send-enable { - type boolean; - description "Addpath Send enabled"; - } - leaf addpath-receive-enable { - type boolean; - description "Addpath Receive enable"; - } - leaf addpath-send-disable { - type boolean; - description "Addpath Send Disabled"; - } - leaf addpath-receive-disable { - type boolean; - description "Addpath Receive Disabled"; - } - leaf upd-errh-noreset { - type boolean; - description "Update errh noreset"; - } - leaf msg-buf-count { - type uint32; - description "Message Buf Count"; - } - leaf msg-bug-circular { - type boolean; - description "Message Buf Circular"; - } - leaf syslog-enable { - type boolean; - description "syslog enable"; - } - leaf oper-attrf-enable { - type boolean; - description "Oper attrf Enable"; - } - leaf attrf-group-name { - type string; - description "Attrf Group Name"; - } - leaf max-peers { - type uint32; - description "Max Dynamic nbrs in range"; - } - leaf idle-watch-time { - type uint32; - units "second"; - description "Dynamic Neighbor idle-watch time (in seconds)"; - } - leaf current-peers { - type uint32; - description "Current Dynamic nbrs in range"; - } - leaf range-open-match { - type uint32; - description "Passive open matching range"; - } - leaf range-open-accepted { - type uint32; - description "open accepted"; - } - leaf range-max-drop { - type uint32; - description "open drop due to max peers"; - } - leaf range-inst-error { - type uint32; - description "Error during instance creation"; - } - - list af-data { - max-elements "25"; - description "Address family specific neighbor data"; - uses BGP-NBR-RANGE-AF; - } - - list instance { - description "Dynamic Neighbor Instance List"; - uses BGP-NBR-INSTANCE; - } - } - - grouping BGP-NEXTHOP-VRF-BAG { - description "BGP nexthop processing information for a VRF"; - leaf total-processing-time { - type uint32; - description "Total time spent in processing"; - } - leaf max-proc-notification-time { - type uint32; - description - "How long since the maximum processing time - notifcation was received"; - } - leaf max-notification-bestpath-deletes { - type uint32; - description - "Number of bestpath deletes caused by - notification which resulted in maximum - processing"; - } - leaf max-notification-bestpath-changes { - type uint32; - description - "Number of bestpath changes caused by - notification which resulted in maximum - processing"; - } - leaf maximum-processing-time { - type uint32; - description - "Maximum time spent procesing a single batch - notification"; - } - leaf last-notificationication-time { - type uint32; - description "Time since the last notification was received"; - } - leaf last-notification-processing-time { - type uint32; - description "Processing time for the last notification"; - } - } - - grouping BGP-NBR-BRIEF-BAG { - description "BGP Neighbor brief Information"; - - container connection-local-address { - description "Local address for the connection"; - uses BGP-ADDRTYPE; - } - - container connection-remote-address { - description "Remote address for the connection"; - uses BGP-ADDRTYPE; - } - leaf speaker-id { - type uint8; - description "Speaker this neighbor is allocated to"; - } - leaf description { - type string; - description "Description"; - } - leaf local-as { - type uint32; - description "Local AS number"; - } - leaf remote-as { - type uint32; - description "Remote AS number"; - } - leaf messages-queued-in { - type uint32; - description "No. of msgs on receive queue"; - } - leaf messages-queued-out { - type uint32; - description "No. of messages on send queue"; - } - leaf connection-state { - type Bgp-conn-state; - description "State of connection"; - } - leaf is-local-address-configured { - type boolean; - description - "Local address configured for the neighbor - connection"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf nsr-enabled { - type boolean; - description "Neighbor supports NSR"; - } - leaf nsr-state { - type Bgp-sync-nbr-nsr-state; - description "NSR state"; - } - leaf postit-pending { - type boolean; - description "Nbr has postits pending"; - } - } - - grouping BGP-PERF-PROCESS-VRF { - description "BGP PERF PROCESS VRF"; - leaf lpts-set-up-time { - type uint32; - description "Time spent setting up LPTS socket opt (ms)"; - } - leaf lpts-calls { - type uint32; - description "Number of times LPTS socket opt set up"; - } - leaf read-throttles-count { - type uint32; - description "Number of partial read throttles"; - } - leaf low-throttled-read-count { - type uint32; - description - "Number of socket reads for nbrs above low - threshold"; - } - leaf high-throttled-read-count { - type uint32; - description - "Number of socket reads for nbrs above high - threshold"; - } - leaf read-calls-count { - type uint32; - description "No. of calls to function to read inbound data"; - } - leaf read-messages-count { - type uint32; - description "Number of BGP messages read"; - } - leaf data-bytes-read { - type uint32; - units "byte"; - description "No. of bytes of data read"; - } - leaf io-read-time { - type uint32; - description "Time spent reading inbound data (ms)"; - } - leaf write-calls-count { - type uint32; - description "No. of calls to function to write outbound data"; - } - leaf data-bytes-written { - type uint32; - units "byte"; - description "Number of bytes of data written"; - } - leaf io-write-time { - type uint32; - description "Time spent writing outbound data (ms)"; - } - leaf write-subgroup-calls-count { - type uint32; - description - "No. of calls to to funvction to process - sub-group message list"; - } - leaf write-subgroup-messages-count { - type uint32; - description "Number of sub-group messages processed"; - } - leaf subgroup-list-time { - type uint32; - units "millisecond"; - description - "Time spent processing sub-group message list - (milliseconds)"; - } - leaf write-queue-calls-count { - type uint32; - description "No. of Calls to function to process write queue"; - } - leaf write-queue-messages-count { - type uint32; - description "Number of write queue messages processed"; - } - leaf write-queue-time { - type uint32; - description "Time spent processing write queue (ms)"; - } - leaf inbound-update-messages { - type uint32; - description "Number of inbound update messages processed"; - } - leaf inbound-update-messages-time { - type uint32; - units "millisecond"; - description - "Time spent processing imbound update messages - (milliseconds)"; - } - } - - grouping BGP-ISSU-MILESTONE-BAG { - description "BGP ISSU MILESTONE BAG"; - leaf milestone-name { - type string; - description "Milestone name"; - } - leaf milestone-start-timestamp { - type uint32; - description "Milestone start timestamp"; - } - leaf milestone-met-timestamp { - type uint32; - description "Milestone met timestamp"; - } - } - - grouping BGP-PERF-NPL-ENDP-INFO-BAG { - description "BGP PERF NPL ENDP INFO BAG"; - leaf endpoint-name { - type string; - description "Endpoint name"; - } - leaf sync-group-name { - type string; - description "Syncgroup associated with this endpoint"; - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - leaf endpoint-handle { - type uint64; - description "NCD endpoint handle"; - } - leaf endpoint-stale-flag { - type boolean; - description "Endpoint stale flag"; - } - leaf endpoint-issu-role { - type string; - description - "Endpoint's ISSU Role. Values are 'Primary', - 'Secondary' and 'Tertiary'"; - } - leaf endpoint-active-flag { - type boolean; - description "Endpoint active flag"; - } - leaf msg-size { - type uint32; - description "Message size for this entity"; - } - leaf wheel-id { - type uint32; - description "Wheel ID for this endpoint"; - } - leaf expected-sequence-num { - type uint32; - description "Expected sequence number"; - } - list endpoint { - description "NCD endpoint bytestream"; - leaf entry { - type uint8; - - units "byte"; - } - } - } - - grouping NSR-PL-RECV-DROP-ARRAY { - description "NSR PL RECV DROP ARRAY"; - list nsr-pl-recv-drop-array { - max-elements "16"; - - description "nsr pl recv drop array"; - leaf entry { - type uint32; - } - } - } - - grouping NSR-PL-SEND-DROP-ARRAY { - description "NSR PL SEND DROP ARRAY"; - list nsr-pl-send-drop-array { - max-elements "7"; - - description "nsr pl send drop array"; - leaf entry { - type uint32; - } - } - } - - grouping NSR-PL-CLIENT-STATS-TYPE { - description "NSR PL stats information"; - list num-sent { - max-elements "5"; - - description "Total sent"; - leaf entry { - type uint64; - } - } - list num-recv { - max-elements "6"; - - description "Total recvd"; - leaf entry { - type uint64; - } - } - - list num-sent-drop { - max-elements "5"; - description "Sent Error/drops"; - uses NSR-PL-SEND-DROP-ARRAY; - } - - list num-recv-drop { - max-elements "6"; - description "Recv Errors/drops"; - uses NSR-PL-RECV-DROP-ARRAY; - } - } - - grouping BGP-PERF-DS-NPL-INFO-BAG { - description "BGP PERF DS NPL INFO BAG"; - leaf dir-service-conn-state { - type Bgp-ds-conn-state; - description "Current Directory Service connectionstate"; - } - leaf issu-mgr-conn-state { - type Bgp-ism-conn-state; - description "Current ISSU Mgr connection state"; - } - leaf issu-phase { - type string; - description "Current ISSU Phase"; - } - leaf issu-type-ng { - type boolean; - description "ISSU type is Next Gen"; - } - leaf issuha-option { - type string; - description "Current ISSU HA option"; - } - leaf local-ds-handle { - type uint64; - description "Local Directory Service handle"; - } - leaf service-name { - type string; - description "Local DS service name"; - } - leaf dsissu-status-flag { - type uint32; - description "DS ISSU status flag"; - } - - list npl-priority-statistic { - max-elements "2"; - description "NPL priority statistics"; - uses NSR-PL-CLIENT-STATS-TYPE; - } - - list npl-endpoint { - description "NPL endpoint information"; - uses BGP-PERF-NPL-ENDP-INFO-BAG; - } - } - - grouping BGP-PERF-SERVER-CONN-STAT-BAG { - description "BGP PERF SERVER CONN STAT BAG"; - - container first-connection-up-timestamp { - description "First connection Up event timestamp"; - uses BGP-TIMESPEC; - } - - container last-connection-up-timestamp { - description "Last connection Up event timestamp"; - uses BGP-TIMESPEC; - } - - container first-connection-down-timestamp { - description "First connection Down event timestamp"; - uses BGP-TIMESPEC; - } - - container last-connection-down-timestamp { - description "Last connection Down event timestamp"; - uses BGP-TIMESPEC; - } - leaf is-connection-up { - type boolean; - description "Is Connection Up?"; - } - leaf connection-up-count { - type uint32; - description "Number of connection Up events"; - } - leaf last-connection-up-age { - type uint32; - units "second"; - description - "Time since last connection Up event (in seconds)"; - } - leaf connection-down-count { - type uint32; - description "Number of connection down events"; - } - leaf last-connection-down-age { - type uint32; - units "second"; - description - "Time since last connection Down event (in - seconds)"; - } - } - - grouping BGP-PERF-RIB-GBL-INFO-BAG { - description "BGP PERF RIB GBL INFO BAG"; - - container first-rib-connection-up-timestamp { - description "First RIB connection Up event timestamp"; - uses BGP-TIMESPEC; - } - - container last-rib-connection-up-timestamp { - description "Last RIB connection Up event timestamp"; - uses BGP-TIMESPEC; - } - - container first-rib-connection-down-timestamp { - description "First RIB connection Down event timestamp"; - uses BGP-TIMESPEC; - } - - container last-rib-connection-down-timestamp { - description "Last RIB connection Down event timestamp"; - uses BGP-TIMESPEC; - } - leaf is-rib-connection-up { - type boolean; - description "Is RIB Connection Up?"; - } - leaf rib-connection-up-count { - type uint32; - description "Number of RIB connection Up events"; - } - leaf last-rib-connection-up-age { - type uint32; - units "second"; - description - "Time since last RIB connection Up event (in - seconds)"; - } - leaf rib-connection-down-count { - type uint32; - description "Number of RIB connection Down events"; - } - leaf last-rib-connection-down-age { - type uint32; - units "second"; - description - "Time since last RIB connection Down event (in - seconds)"; - } - } - - grouping BGP-POSTIT-COUNT-INFO { - description "BGP POSTIT COUNT INFO"; - - container neighbor-address { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - leaf postit-count { - type uint32; - description "Count of the number of postits for this nbr"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - } - - grouping BGP-PERF-PROCESS-GBL { - description "BGP PERF PROCESS GBL"; - - container ipv4rib-server { - description "IPv4 RIB server global info"; - uses BGP-PERF-RIB-GBL-INFO-BAG; - } - - container ipv6rib-server { - description "IPv6 RIB server global info"; - uses BGP-PERF-RIB-GBL-INFO-BAG; - } - - container te-connection { - description "MPLS TE server connection info"; - uses BGP-PERF-SERVER-CONN-STAT-BAG; - } - - container lsd-connection { - description "MPLS LSD server connection info"; - uses BGP-PERF-SERVER-CONN-STAT-BAG; - } - - container ds-npl { - description "NSR related DS and NPL information"; - uses BGP-PERF-DS-NPL-INFO-BAG; - } - leaf configuration-items-processed { - type uint32; - description "Number of config items processed"; - } - leaf configuration-processing-time { - type uint32; - units "millisecond"; - description "Time spent processing config (milliseconds)"; - } - leaf edm-requests-count { - type uint32; - description "Number of EDM requests processed"; - } - leaf edm-processing-time { - type uint32; - description "Time spent processing EDM requests (ms)"; - } - leaf brib-api-output-messages-sent { - type uint32; - description "bRIB API output messages sent"; - } - leaf brib-api-output-bytes-sent { - type uint32; - units "byte"; - description "bRIB API output bytes sent"; - } - leaf brib-api-output-bytes-generated { - type uint32; - units "byte"; - description "bRIB API output bytes generated"; - } - leaf brib-api-output-prefixes-advertised { - type uint32; - description "bRIB API output prefixes advertised"; - } - leaf brib-api-output-prefixes-withdrawn { - type uint32; - description "bRIB API output prefixes withdrawn"; - } - leaf brib-api-output-sending-time { - type uint32; - description "Time spent sending output to bRIB API (ms)"; - } - leaf brib-api-output-generation-time { - type uint32; - units "millisecond"; - description - "Time spent generating output for bRIB API - (milliseconds)"; - } - leaf brib-api-output-calls { - type uint32; - description "bRIB API calls to generate output"; - } - leaf brib-api-input-messages { - type uint32; - description "bRIB API input messages"; - } - leaf brib-api-input-bytes { - type uint32; - units "byte"; - description "bRIB API input bytes"; - } - leaf brib-api-input-prefixes-received { - type uint32; - description "bRIB API input advertised prefixes received"; - } - leaf brib-api-input-withdrawn-prefixes { - type uint32; - description "bRIB API input withdrawn prefixes received"; - } - leaf brib-api-input-processing-time { - type uint32; - units "millisecond"; - description - "Time spent processing input from bRIB API - (milliseconds)"; - } - leaf instance-node-role { - type boolean; - description "Node role - active/passive"; - } - leaf active-nsrtcp-phase-two-enter-time { - type uint32; - units "second"; - description - "Time that NSR TCP Init Sync Phase Two entered on - active (seconds since Jan 1 1970)"; - } - leaf sec-active-nsrtcp-phase-two-enter-time { - type uint32; - units "second"; - description - "Time that NSR TCP Init Sync Phase Two entered on - active (seconds since Jan 1 1970)"; - } - leaf proc-scoped-sync-state { - type Bgp-scoped-sync-state; - description "BGP scoped sync state"; - } - leaf initial-sync-sessions-added { - type boolean; - description - "If true, BGP has at least one established - session when NSR initial synchronization is - started"; - } - leaf in-event-attach-calls { - type uint32; - description "event_file_attach calls for input"; - } - leaf out-event-attach-calls { - type uint32; - description "event_file_attach calls for output"; - } - leaf in-out-event-attach-calls { - type uint32; - description "event_file_attach calls for input"; - } - leaf updgen-timer-id { - type uint32; - description "Updgen master timer ID"; - } - leaf updgen-tree-timer-left { - type uint64; - description "Time left before the QNX timer would expire"; - } - leaf updgen-tree-timer-expiry { - type uint64; - description "Time as per tree->mtexptime"; - } - leaf current-clock-time { - type uint64; - description "Current time"; - } - leaf updgen-handler-tm { - type uint64; - description "Timestamp when updgen timer handler got called"; - } - leaf io-timer-id { - type uint32; - description "IO master timer ID"; - } - leaf io-tree-timer-left { - type uint64; - description "Time left before the QNX timer would expire"; - } - leaf io-tree-timer-expiry { - type uint64; - description "Time as per tree->mtexptime"; - } - leaf io-handler-tm { - type uint64; - description "Timestamp when IO timer handler got called"; - } - leaf qad-messages-sent { - type uint32; - description "Messages sent on QAD "; - } - leaf qadack-sent { - type uint32; - description "Acks sent on QAD "; - } - leaf qad-send-failure { - type uint32; - description "Send failure on QAD "; - } - leaf qad-ac-ks-failure { - type uint32; - description "Ack failure on QAD "; - } - leaf qad-suspends { - type uint32; - description "QAD send suspend"; - } - leaf qad-resumes { - type uint32; - description "QAD send resume "; - } - leaf qad-send-drops { - type uint32; - description "Send packets dropped due to null peer "; - } - leaf qad-messages-received { - type uint32; - description "Messages received on QAD "; - } - leaf qad-processed { - type uint32; - description "Messages processed"; - } - leaf qad-ac-ks-received { - type uint32; - description "Acks received on QAD "; - } - leaf qad-timeout-received { - type uint32; - description "Timeouts received on QAD "; - } - leaf qad-init-drops { - type uint32; - description - "Packets dropped on standby during initialization"; - } - leaf qadoos-drops { - type uint32; - description - "Packets dropped due to out of sequence - packetreceived"; - } - leaf qad-recv-drops { - type uint32; - description "Received packet dropped due to null peer "; - } - leaf qad-timeout-recvd { - type uint32; - description "Number of packet send timeouts "; - } - leaf nsr-last-reset-reason { - type uint8; - description "Reason for last nsr state machine reset"; - } - leaf redcon-nsr-ready { - type boolean; - description - "NSR state conveyed to Redcon by bgp - nsr - ready/unready"; - } - leaf redcon-state-time { - type uint32; - description "Time when nsr state wasconveyed to Redcon last"; - } - leaf active-nsr-state { - type uint32; - description "Current Active BGP nsrstate"; - } - leaf sec-active-nsr-state { - type uint32; - description "Current Sec Active BGP nsrstate"; - } - leaf total-outstanding-postits { - type uint32; - description "Total outstanding postits across all neighbors"; - } - leaf total-neighbors-with-pending-postits { - type uint32; - description "Total nbrs with pending postits"; - } - leaf tep2p-auto-tunnel-enabled { - type boolean; - description "TE support for P2P auto tunnel"; - } - list active-nsr-mode-enter-time { - max-elements "26"; - - description - - "Time that each mode was entered (seconds since - - Jan 1 1970)"; - leaf entry { - type uint32; - - units "second"; - } - } - list standby-nsr-mode-enter-time { - max-elements "7"; - - description - - "Time that each mode was entered (seconds since - - Jan 1 1970)"; - leaf entry { - type uint32; - - units "second"; - } - } - list active-nsrfo-time { - max-elements "10"; - - description - - "Time that each thread isdone with its - - go-activeprocessing (seconds since Jan 1 1970)"; - leaf entry { - type uint32; - - units "second"; - } - } - - list postit-count-info { - description "List of neighbors and their postit counts"; - uses BGP-POSTIT-COUNT-INFO; - } - - list issu-milestone { - description "ISSU Milestones"; - uses BGP-ISSU-MILESTONE-BAG; - } - } - - grouping BGP-PERF-PROCESS { - description "BGP PERF PROCESS"; - - container global { - description "Global information"; - uses BGP-PERF-PROCESS-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-PERF-PROCESS-VRF; - } - } - - grouping BGP-PROCESS-INFO-VRF { - description "BGP PROCESS INFO VRF"; - leaf neighbors-count { - type uint32; - description "Number of neighbors"; - } - leaf established-neighbors-count { - type uint32; - description "Number of established neighbors"; - } - leaf update-messages-received { - type uint32; - description "Number of update messages received"; - } - leaf update-messages-sent { - type uint32; - description "No. of update messages sent"; - } - leaf notifications-received { - type uint32; - description "No. of notifications received"; - } - leaf notifications-sent { - type uint32; - description "No. of notifications sent"; - } - leaf network-count { - type uint32; - description "Number of networks"; - } - leaf path-count { - type uint32; - description "Number of paths"; - } - } - - grouping BGP-PROCESS-INFO-GBL { - description "BGP PROCESS INFO GBL"; - leaf process-instance-node { - type string; - description "Node the process instance is on"; - } - leaf restart-count { - type uint32; - description "No. of times BGP has started"; - } - leaf path-attributes-entry-count { - type uint32; - description "No. of path attribute entries"; - } - leaf path-attribute-memory { - type uint32; - units "byte"; - description "Memory (bytes) used by path attribute entries"; - } - leaf as-path-entry-count { - type uint32; - description "Number of AS-path entries"; - } - leaf as-path-entries-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by AS-path entries"; - } - leaf community-entry-count { - type uint32; - description "Number of community entries"; - } - leaf community-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by community entries"; - } - leaf extended-community-entry-count { - type uint32; - description "Number of extended community entries"; - } - leaf extended-community-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used by extended community - entries"; - } - leaf pe-distinguisher-label-entry-count { - type uint32; - description "Number of PE distinguisher label entries"; - } - leaf pe-distinguisher-label-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used by PE distinguisher - labels entries"; - } - leaf pta-entry-count { - type uint32; - description "Number of PTA entries"; - } - leaf pta-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by PTA entries"; - } - leaf tunnel-encap-entry-count { - type uint32; - description "Number of Tunnel encap entries"; - } - leaf tunnel-encap-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by tunnel encap entries"; - } - leaf ribrnh-entry-count { - type uint32; - description "Number of RIBRNH entries"; - } - leaf ribrnh-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by RIBRNH entries"; - } - leaf ppmp-entry-count { - type uint32; - description "Number of PPMP entries"; - } - leaf ppmp-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by PPMP entries"; - } - leaf route-reflectors { - type uint32; - description "Number of route reflector info entries"; - } - leaf route-reflector-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used by route reflector info - entries"; - } - leaf nexthop-count { - type uint32; - description "Number of nexthop attribute info entries"; - } - leaf nexthop-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used by nexthop attribute info - entries"; - } - leaf lsattr-entry-count { - type uint32; - description "Number of LASATTR entries"; - } - leaf lsattr-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by LSATTR entries"; - } - leaf attr-set-entry-count { - type uint32; - description "Number of ATTRSET entries"; - } - leaf attr-set-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by ATTRSET entries"; - } - leaf lindex-entry-count { - type uint32; - description "Number of LINDEX entries"; - } - leaf lindex-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by LINDEX entries"; - } - leaf local-as { - type uint32; - description "Local autonomous system number"; - } - leaf total-vrf-count { - type uint32; - description "total vrf count"; - } - leaf neighbors-count-total { - type uint32; - description "Total number of neighbors"; - } - leaf established-neighbors-count-total { - type uint32; - description "Total umber of established neighbors"; - } - leaf sn-num-non-dflt-vrf-nbrs { - type uint32; - description "sn num non dflt vrf nbrs"; - } - leaf sn-num-non-dflt-vrf-nbrs-estab { - type uint32; - description "sn num non dflt vrf nbrs estab"; - } - leaf large-community-entry-count { - type uint32; - description "Number of large community entries"; - } - leaf large-community-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used by large community - entries"; - } - list pool-size { - max-elements "15"; - - description "pool size"; - leaf entry { - type uint32; - } - } - list pool-alloc-count { - max-elements "15"; - - description "pool alloc count"; - leaf entry { - type uint32; - } - } - list pool-free-count { - max-elements "15"; - - description "pool free count"; - leaf entry { - type uint32; - } - } - list msg-log-pool-size { - max-elements "5"; - - description "msg log pool size"; - leaf entry { - type uint32; - } - } - list msg-log-pool-alloc-count { - max-elements "5"; - - description "msg log pool alloc count"; - leaf entry { - type uint32; - } - } - list msg-log-pool-free-count { - max-elements "5"; - - description "msg log pool free count"; - leaf entry { - type uint32; - } - } - list bmp-pool-size { - max-elements "20"; - - description "bmp pool size"; - leaf entry { - type uint32; - } - } - list bmp-pool-alloc-count { - max-elements "20"; - - description "bmp pool alloc count"; - leaf entry { - type uint32; - } - } - list bmp-pool-free-count { - max-elements "20"; - - description "bmp pool free count"; - leaf entry { - type uint32; - } - } - } - - grouping BGP-PROCESS-INFO-BAG { - description "BGP Process information"; - - container global { - description "Global information"; - uses BGP-PROCESS-INFO-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-PROCESS-INFO-VRF; - } - - container performance-statistics { - description "Performance statistics"; - uses BGP-PERF-PROCESS; - } - leaf process-instance { - type uint8; - description "ID for the BGP process instance"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf vrf-totals { - type boolean; - description "per VRF counts aggregated across all VRFs"; - } - } - - grouping BGP-BMP-NBR-BAG { - description "BMP per Neighbor Details"; - - container bmp-neighbor-address { - description "Address of Nbr that logs to BMP server"; - uses BGP-ADDRTYPE; - } - leaf bmp-neighbor-msg-pending { - type uint32; - description - "Number of messages pending to be sent to BMP - Server from this Neighbor"; - } - leaf bmp-neighbor-msg-dropped { - type uint32; - description - "Number of messages dropped sent from this - neighbor"; - } - leaf bmp-neighbor-peer-up-sent { - type uint32; - description - "Number of Peer UP Messages sent from this - neighbor"; - } - leaf bmp-neighbor-peer-down-sent { - type uint32; - description - "Number of Peer DOWN Messages sent from this - neighbor"; - } - leaf bmp-neighbor-route-monitor-sent { - type uint32; - description "Number of Route Monitor Messages sent"; - } - leaf bmp-neighbor-route-monitor-eor-sent { - type uint32; - description "Number of Route Monitor EOR Messages sent"; - } - leaf bmp-neighbor-path-update-sent { - type uint32; - description "Number of Path UpdateMessages sent"; - } - leaf bmp-neighbor-path-withdraw-sent { - type uint32; - description "Number of Path WithdrawMessages sent"; - } - leaf bmp-neighbor-path-update-drop { - type uint32; - description "Number of path update drop "; - } - leaf bmp-neighbor-path-withdraw-drop { - type uint32; - description "Number of path wdraw drop "; - } - leaf bmp-neighbor-upd-msg-sent { - type uint32; - description "Number of update message sent"; - } - leaf bmp-neighbor-wdraw-msg-sent { - type uint32; - description "Number of withdraw message sent"; - } - } - - grouping BGP-BMP-SRVR-AFI { - description "BMP AFI Server Details"; - - container bmp-resume-prefix { - description "BMP Resume prefix"; - uses BGP-PREFIXTYPE; - } - - container bmp-filter-neighbor-address { - description "Filter Neighbor Address"; - uses BGP-ADDRTYPE; - } - leaf bmpaf-name { - type Bgp-afi; - description "BMP Address family identifier"; - } - leaf bmp-resume-prefix-len { - type uint32; - description "BMP Resume prefix Len"; - } - leaf bmp-upd-gen-resume-start-version { - type uint32; - description "Update Gen ResumeWalk start version"; - } - leaf bmp-upd-gen-resume-end-version { - type uint32; - description "Update Gen ResumeWalk end version"; - } - leaf bmp-upd-gen-walk-stopped { - type boolean; - description "Update Gen WalkStopped"; - } - leaf bmp-upd-gen-resume-net-version { - type uint32; - description "Update Gen ResumeWalk Net version"; - } - leaf bmp-upd-gen-walk-run-time-stamp { - type uint64; - description "Last Update Gen Run time stamp"; - } - leaf bmp-upd-gen-walk-run-count { - type uint64; - description "Number of times Update Gen ran"; - } - leaf bmp-upd-gen-walk-stop-time-stamp { - type uint64; - description "Last Update Gen Stop time stamp"; - } - leaf bmp-upd-gen-walk-stop-count { - type uint64; - description "Number of times Update Gen Stopped"; - } - leaf bmp-init-eor-end-version { - type uint32; - description "Version to reach to send EOR"; - } - leaf bmp-init-eor-pending-cnt { - type uint32; - description "Count for pending EOR"; - } - leaf bmp-filter-neighbor-address-set { - type boolean; - description "Filter Neighbor Address Set ?"; - } - leaf bmp-filter-nbr-cnt { - type uint32; - description "Filter nbr Count for this AFI"; - } - leaf bmp-send-version { - type uint32; - description - "Table Version that this BMP server has caught - upto"; - } - } - - grouping BGP-BMP-SRVR-BAG { - description "BMP Server Details"; - - container bmp-server-state-age { - description "Age of current state of BMP Server"; - uses BGP-TIMESPEC; - } - - container bmp-server-state-time-spec { - description "Timespec of current state of BMP Server"; - uses BGP-TIMESPEC; - } - - container bmp-server-last-discon-time { - description - "Timespec of Last Disconnect event received from - BMP server"; - uses BGP-TIMESPEC; - } - - container update-source-address { - description - "Address of Interface configured as Update Source"; - uses BGP-ADDRTYPE; - } - leaf bmp-server-id { - type uint8; - description "BMP Server ID"; - } - leaf bmp-server-host-name { - type string; - description "BMP Server Hostname"; - } - leaf bmp-server-port { - type uint32; - description "BMP Server Port Number"; - } - leaf bmp-server-state { - type Bgp-bmp-state; - description "Connection state of the BMP server"; - } - leaf bmp-server-is-flapping { - type boolean; - description "Connection to the BMP server Flapping"; - } - leaf bmp-server-nbr-count { - type uint32; - description "Neighbor count for the BMP Server"; - } - leaf bmp-init-msg-count { - type uint32; - description - "Number of Initiation Msgs sent by this BMP - Server"; - } - leaf bmp-termination-msg-count { - type uint32; - description - "Number of Termination Messages sent by this BMP - Server"; - } - leaf bmp-status-report-count { - type uint32; - description - "Number of Status ReportMessages sent by this BMP - Server"; - } - leaf bmp-per-peer-msg-count { - type uint32; - description "Total number of per peer messages sent"; - } - leaf bmp-peer-msg-drop-count { - type uint32; - description "Total number of messages dropped"; - } - leaf bmp-peer-msg-pending-count { - type uint32; - description "Total number of bmpQ msgs pending"; - } - leaf tos-type { - type uint8; - description "Precedence (0) or DSCP (1) type"; - } - leaf tos-value { - type uint8; - description "Precedence or DSCP value"; - } - leaf update-source-interface-name { - type string; - description "Interface configured as Update Source"; - } - leaf update-source-vrf-id { - type uint32; - description "VRF ID of interface configured as Update Source"; - } - leaf bmp-vrf-name { - type string; - description "VRF Name configured"; - } - leaf bmp-vrf-id { - type uint32; - description "VRF ID for the vrf name configured"; - } - leaf bmp-update-mode { - type Bgp-bmp-upd-mode; - description - "Update sending mode configured for this BMP - server"; - } - leaf tcp-keep-alive-interval { - type uint32; - description "TCP Keep alive interval configured"; - } - leaf tcp-maximum-segment-size { - type uint32; - description "TCP Maximum Segments size configured"; - } - leaf tcp-write-cb-pending { - type uint32; - description "Are we waiting for TCP write callback ?"; - } - leaf tcp-last-write-result { - type uint32; - description "Last TCP Socket write status"; - } - leaf tcp-last-write-cb-time { - type uint64; - description "Last TCP Write CB time"; - } - leaf tcp-last-write-time { - type uint64; - description "Last TCP Write time"; - } - leaf bmpq-last-write-pulse-sent-time { - type uint64; - description "Last BMPQ write pulse Sent time"; - } - leaf bmpq-last-all-write-pulse-sent-time { - type uint64; - description "Last BMPQ write pulse Sent for all BMP servers "; - } - leaf bmpq-last-write-pulse-cb-time { - type uint64; - description "Last BMPQ write pulse callback time"; - } - leaf path-update-count { - type uint32; - description "Number of path update sent "; - } - leaf path-withdraw-count { - type uint32; - description "Number of path wdraw sent"; - } - leaf path-update-drop { - type uint32; - description "Number of path update drop "; - } - leaf path-withdraw-drop { - type uint32; - description "Number of path wdraw drop "; - } - leaf bmp-peer-msg-pending-count-max { - type uint32; - description "Total bmpQ msgs pending max"; - } - leaf bmp-peer-msg-pending-count-hwts { - type uint64; - description "Total bmpQ msgs pending max time"; - } - leaf bmp-bytes-written-tcp { - type uint64; - units "byte"; - description "Total bytes sent to TCP"; - } - leaf tcp-write-time { - type uint32; - units "millisecond"; - description - "Time spent processing sending msg to - TCP(milliseconds)"; - } - leaf bmpr-mon-upd-messages { - type uint32; - description "Total bmpQ update msgs "; - } - leaf bmpr-mon-wdraw-messages { - type uint32; - description "Total bmpQ withdraw msgs "; - } - leaf bmp-messages-wdraw-discarded { - type uint32; - description - "Total bmpQ wdraw msgs discarded because of peer - down"; - } - leaf bmp-pfx-wdraw-discarded { - type uint32; - description - "Total bmpQ wdraw pfxes discarded because of peer - down"; - } - leaf bmp-per-peer-msg-route-mon-count { - type uint32; - description - "Total number of per peer route mon messages sent"; - } - leaf bmpr-mon-update-gen-time { - type uint32; - units "millisecond"; - description "Time spent in update generation(milliseconds)"; - } - leaf bmpr-mon-eo-rmessages { - type uint32; - description "Total bmpQ EOR update msgs "; - } - leaf bmp-rmon-cur-buffer-size { - type uint64; - description "Current Buffer usage per BMP Route Mon"; - } - leaf bmp-maximum-buffer-size-route-mon { - type uint64; - description "Buffer limit used for route mon"; - } - leaf bmp-server-up-count { - type uint32; - description "Number of BMP server that are UP"; - } - leaf bmp-upd-gen-in-progress { - type boolean; - description "Update generation in progress"; - } - leaf bmp-reset-walk-in-progress { - type boolean; - description "Reset walk in progress"; - } - - list bmpafi-info { - description "AFI specific info for BMP server"; - uses BGP-BMP-SRVR-AFI; - } - } - - grouping BGP-UPDFILTER-ELEM-BAG { - description "BGP Update filtering element information"; - leaf update-attribute-flags { - type uint8; - description "Attribute Flags [RFC4271: BGP4]"; - } - leaf update-attribute-code { - type uint8; - description "Attribute code [RFC4271: BGP4]"; - } - leaf update-filter-action { - type Bgp-bag-upd-filter-action; - description "Filtering action"; - } - } - - grouping BGP-UPDFILTER-MSG-BAG { - description "BGP Update filter message information"; - - container update-filter-message-timestamp { - description - "Message timestamp: time elapsed since 00:00:00 - UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-filtered-attribute-count { - type uint32; - description "Filtered attributes count"; - } - leaf update-filter-final-action { - type Bgp-bag-upd-filter-action; - description "Filtering final action"; - } - leaf update-filter-nlri-address-family { - type Bgp-afi; - description "NLRI address-family"; - } - leaf update-filter-nlri-string { - type string; - description "List of NLRIs in string format"; - } - leaf update-filter-nlri-string-truncated { - type boolean; - description - "Indicates whether NLRI string was truncated due - to lack of space"; - } - list update-filter-message-data { - description "Raw Message data in binary format"; - leaf entry { - type uint8; - } - } - - list update-filter-element { - max-elements "3"; - description "Filtering element list"; - uses BGP-UPDFILTER-ELEM-BAG; - } - } - - grouping BGP-UPDFILTER-ATTRF-ATTR-BAG { - description "BGP Update filtering attributes information"; - - container last-update-filter-match-timestamp { - description - "Last attribute filtered time: time elapsed since - 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-internal-attribute-code { - type uint32; - description "Internal attribute code [RFC4271: BGP4]"; - } - leaf update-filter-action { - type Bgp-bag-upd-filter-action; - description "Filtering action"; - } - leaf update-filter-match-count { - type uint32; - description "Filter match counter"; - } - leaf establishment-update-filter-match-count { - type uint32; - description - "Filter match counter since last session - establishment"; - } - leaf last-update-filter-match-age { - type uint32; - units "second"; - description - "Time since this attribute was last filtered (in - seconds)"; - } - } - - grouping BGP-UPDFILTER-NBR-BAG { - description "BGP Update filtering Neighbor information"; - - container update-neighbor-address { - description "Neighbor address"; - uses BGP-ADDRTYPE; - } - - container first-update-filtered-timestamp { - description - "First filtered message received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container last-update-filtered-timestamp { - description - "Last filtered message received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-filter-logging-enabled { - type boolean; - description "Logging is enabled"; - } - leaf configured-update-filter-message-buffer-count { - type uint32; - description "Configured Filtered message buffer count"; - } - leaf operational-update-filter-message-buffer-count { - type uint32; - description "Operational Filtered messages buffer count"; - } - leaf update-filter-message-buffer-circular { - type boolean; - description "Indicates if the message buffers are circular"; - } - leaf update-attribute-filter-group-name { - type string; - description "Update attribute-filter group name"; - } - leaf operational-update-attribute-filtering-enabled { - type boolean; - description "Attribute filtering is enabled"; - } - leaf message-update-attribute-filtering-enabled { - type boolean; - description - "Attribute filtering is enabled for the current - message being parsed"; - } - leaf total-filter-update-message-count { - type uint32; - description "Total update messages count"; - } - leaf establishment-total-filter-update-message-count { - type uint32; - description - "Total update messages count since session - establishment"; - } - leaf update-filtered-message-count { - type uint32; - description "Filtered messages count"; - } - leaf establishment-update-filtered-message-count { - type uint32; - description - "Filtered messages count since session - establishment"; - } - leaf last-update-filtered-age { - type uint32; - units "second"; - description - "Time since last filtered message received event - (in seconds)"; - } - leaf update-filter-message-list-count { - type uint32; - description "Filtered messages list count"; - } - - list update-attribute-filter-attributes { - description "List of attributes that can be filtered"; - uses BGP-UPDFILTER-ATTRF-ATTR-BAG; - } - - list update-filter-message { - description "List of filtered messages"; - uses BGP-UPDFILTER-MSG-BAG; - } - } - - grouping BGP-UPDERR-ELEM-BAG { - description "BGP Update error-handling element information"; - leaf update-attribute-flags { - type uint8; - description "Attribute Flags [RFC4271: BGP4]"; - } - leaf update-attribute-code { - type uint8; - description "Attribute code [RFC4271: BGP4]"; - } - leaf update-attribute-length { - type uint16; - description "Attribute Length [RFC4271: BGP4]"; - } - leaf update-error-data { - type yang:hex-string; - description "Error data"; - } - leaf update-error-data-length { - type uint16; - description "Error data length"; - } - leaf update-error-action { - type Bgp-bag-upd-err-action; - description "Error action"; - } - } - - grouping BGP-UPDERR-RESET-DATA-BAG { - description - "BGP Update error-handling session reset - information"; - leaf update-error-reset-reason { - type Bgp-reset-reason-index; - description "Reset Reason"; - } - leaf update-error-reset-notification-code { - type uint8; - description "Notification code"; - } - leaf update-error-reset-notification-sub-code { - type uint16; - description "Notification sub code"; - } - leaf update-error-reset-notification-data { - type yang:hex-string; - description "Notification data"; - } - leaf update-error-reset-notification-data-length { - type uint16; - description "Notification data length"; - } - } - - grouping BGP-UPDERR-MSG-BAG { - description "BGP Update error message information"; - - container update-message-timestamp { - description - "Message timestamp: time elapsed since 00:00:00 - UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container update-message-reset-data { - description "Reset data"; - uses BGP-UPDERR-RESET-DATA-BAG; - } - leaf update-error-final-action { - type Bgp-bag-upd-err-action; - description "Error final action"; - } - leaf update-attribute-discard-count { - type uint32; - description "Discarded attribute count"; - } - leaf update-error-nlri-address-family { - type Bgp-afi; - description "NLRI address-family"; - } - leaf update-error-nlri-string { - type string; - description "List of NLRIs in string format"; - } - leaf update-error-nlri-string-truncated { - type boolean; - description - "Indicates whether NLRI string was truncated due - to lack of space"; - } - list update-message-data { - description "Raw Message data in binary format"; - leaf entry { - type uint8; - } - } - - list update-error-element { - max-elements "3"; - description "Error element list"; - uses BGP-UPDERR-ELEM-BAG; - } - } - - grouping BGP-UPDERR-NBR-BAG { - description "BGP Update error-handling Neighbor information"; - - container update-neighbor-address { - description "Neighbor address"; - uses BGP-ADDRTYPE; - } - - container first-update-malformed-timestamp { - description - "First malformed message received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container last-update-malformed-timestamp { - description - "Last malformed message received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container first-update-memory-allocation-fail-timestamp { - description - "First memory allocation failure time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container last-update-memory-allocation-fail-timestamp { - description - "Last memory allocation failure time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container first-update-error-handling-reset-timestamp { - description - "First error-handling reset time: time elapsed - since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - - container last-error-handling-reset-timestamp { - description - "Last error-handling reset time: time elapsed - since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-error-handling-avoid-reset { - type boolean; - description "Configure error-handling to avoid resets"; - } - leaf total-update-message-count { - type uint32; - description "Total update messages count"; - } - leaf update-malformed-message-count { - type uint32; - description "Malformed messages count"; - } - leaf last-update-malformed-age { - type uint32; - units "second"; - description - "Time since last malformed message received event - (in seconds)"; - } - leaf update-memory-allocation-fail-count { - type uint32; - description "Memory allocation failure count"; - } - leaf last-update-memory-allocation-fail-age { - type uint32; - units "second"; - description - "Time since last memory allocation failure event - (in seconds)"; - } - leaf update-error-handling-reset-count { - type uint32; - description "Error-handling reset count"; - } - leaf last-error-handling-reset-age { - type uint32; - units "second"; - description - "Time since last error-handling reset event (in - seconds)"; - } - leaf update-error-message-list-count { - type uint32; - description "Malformed messages list count"; - } - leaf update-attribute-discard-count { - type uint32; - description "Discarded attribute count"; - } - leaf establishment-total-update-message-count { - type uint32; - description - "Total update messages count since session - establishment"; - } - list establishment-action-count { - max-elements "7"; - - description - - "Number of occurence of each action type since - - session establishment"; - leaf entry { - type uint32; - } - } - - list update-error-message { - description "List of malformed messages"; - uses BGP-UPDERR-MSG-BAG; - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-VRF { - description "BGP GLOBAL PROCESS INFO VRF"; - leaf vrf-is-active { - type boolean; - description "VRF state"; - } - leaf route-distinguisher { - type yang:hex-string; - description "Route Distinguisher"; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID for the VRF"; - } - leaf configured-router-id { - type inet:ipv4-address; - description "Configured router ID"; - } - leaf is-redistribute-ibgp-to-ig-ps-enabled { - type boolean; - description "Redistribute iBGP into IGPs enabled"; - } - leaf is-fast-external-fallover-enabled { - type boolean; - description "Fast external fallover enabled"; - } - leaf is-bestpath-missing-med-is-worst-enabled { - type boolean; - description "Bestpath: Treat missing MED as worst"; - } - leaf is-bestpath-always-compare-med-enabled { - type boolean; - description "Bestpath: Always compare MED"; - } - leaf is-bestpath-ignore-as-path-enabled { - type boolean; - description "Bestpath: Ignore AS path"; - } - leaf is-bestpath-as-path-mpath-relax-enabled { - type boolean; - description "Bestpath: Relax AS path for mpath"; - } - leaf is-bestpath-compare-med-from-confed-peer-enabled { - type boolean; - description "Bestpath: Compare MED from confed peer"; - } - leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled { - type boolean; - description "Bestpath: Compare routerID for eBGP peers"; - } - leaf is-bestpath-aigp-ignore-enabled { - type boolean; - description - "Bestpath: Ignore AIGP unless both paths have - AIGP attribute"; - } - leaf is-multipath-as-path-ignore-onwards-enabled { - type boolean; - description - "Multipath: Ignore everything AS path onwards for - mpath"; - } - leaf is-enforce-first-as-enabled { - type boolean; - description "Enforce first AS"; - } - leaf default-local-preference { - type uint32; - description "Default local preference"; - } - leaf keep-alive-time { - type uint16; - units "second"; - description "Default keepalive timer (seconds)"; - } - leaf hold-time { - type uint16; - units "second"; - description "Default hold timer (seconds)"; - } - leaf min-acceptable-hold-time { - type uint16; - units "second"; - description - "Default min acceptable hold time from - neighbor(seconds)"; - } - leaf is-neighbor-logging { - type boolean; - description "Neighbor logging enabled"; - } - leaf is-default-metric-configured { - type boolean; - description "Default metric configured"; - } - leaf default-metric { - type uint32; - description "Default metric"; - } - leaf is-default-originate-configured { - type boolean; - description "Default route originate configured"; - } - leaf is-graceful-restart { - type boolean; - description "Graceful restart enabled"; - } - leaf is-nsr { - type boolean; - description "Non-stop routing enabled"; - } - leaf restart-time { - type uint32; - units "second"; - description "Restart time (in seconds)"; - } - leaf stale-path-time { - type uint32; - units "second"; - description "Stale path timeout time (in seconds)"; - } - leaf rib-purge-timeout { - type uint32; - units "second"; - description "RIB purge timeout time (in seconds)"; - } - } - - grouping COLOR-ID-BAG { - description "COLOR ID BAG"; - leaf color-id-val { - type uint32; - description "Color ID "; - } - } - - grouping CLUSTER-ID-BAG { - description "CLUSTER ID BAG"; - leaf cluster-id-val { - type uint32; - description "Cluster ID "; - } - leaf cluster-id-type { - type uint8; - description "Cluster ID type: number or IPv4 address"; - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-GBL { - description "BGP GLOBAL PROCESS INFO GBL"; - leaf in-standalone-mode { - type boolean; - description "Standalone or Distributed mode"; - } - leaf local-as { - type uint32; - description "Local autonomous system number"; - } - leaf instance-name { - type string; - description "Name of BGP instance"; - } - leaf restart-count { - type uint32; - description "No of times BGP has started"; - } - leaf update-delay { - type uint32; - units "second"; - description "Update delay timeout time (in seconds)"; - } - leaf generic-scan-period { - type uint16; - units "second"; - description "Period (in seconds) of generic scanner runs"; - } - leaf confederation-id { - type uint32; - description "Confederation ID"; - } - leaf cluster-id { - type uint32; - description "Cluster ID"; - } - leaf configured-cluster-id { - type uint32; - description "Configured cluster ID"; - } - leaf is-cluster-id-specified-as-ip { - type boolean; - description "Cluster ID specified as an IP address"; - } - leaf asn-format { - type uint32; - description "BGP AS Number Format"; - } - leaf srgb-start-configured { - type uint32; - description - "Configured segment-routing Global Block start - value"; - } - leaf srgb-end-configured { - type uint32; - description - "Configured segment-routing Global Block end - value"; - } - leaf srgb-start { - type uint32; - description "In use segment-routing Global Block start value"; - } - leaf srgb-end { - type uint32; - description "In use Segment-routing Global Block end value"; - } - leaf graceful-maintenance { - type boolean; - description "Graceful Maintenance"; - } - leaf graceful-maint-all-nbrs { - type boolean; - description - "Graceful Maintenance also for neighbors without - GM configuration"; - } - leaf graceful-maint-retain-routes { - type boolean; - description - "Retaining routes in RIB when BGP process stops - while in Graceful Maintenance"; - } - leaf process-rlimit { - type uint64; - description "Platform RLIMIT max for the process"; - } - leaf bmp-maximum-buffer-size { - type uint64; - description - "Maximum limit user can configure for - max-buffer-size command under bmp-server"; - } - leaf bmp-default-buffer-size { - type uint64; - description - "Default value for BMP buffer limit when a value - is not configured"; - } - leaf bmp-current-buffer-size { - type uint64; - description "Current value for BMP buffer "; - } - leaf bmp-cur-maximum-buffer-size { - type uint64; - description - "Maximum limit user has configure using - max-buffer-size command under bmp-server"; - } - - list cluster-id-entry { - description "All configured Cluster IDs"; - uses CLUSTER-ID-BAG; - } - - list color-id { - description "All configured Color IDs"; - uses COLOR-ID-BAG; - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-BAG { - description - "BGP process information common to all BGP - processes"; - - container global { - description "Global information"; - uses BGP-GLOBAL-PROCESS-INFO-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-GLOBAL-PROCESS-INFO-VRF; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf vrfid { - type uint32; - description "VRF ID"; - } - } - - grouping BGP-POSTIT-INFO { - description "BGP POSTIT INFO"; - - container postit-notification { - description "Postit notification"; - uses BGP-NOTFNTYPE; - } - leaf postit-type { - type uint32; - description "Postit Type"; - } - leaf postit-subtype { - type uint32; - description "Postit Subtype"; - } - leaf postit-flags { - type uint8; - description "Postit Flags"; - } - leaf postit-af-name { - type Bgp-afi; - description "Postit Afi"; - } - leaf postit-ts { - type uint64; - description "Postit TS"; - } - leaf postit-direction { - type uint8; - description "Postit Direction"; - } - leaf postit-id { - type uint32; - description "Postit ID"; - } - leaf peer-id { - type uint32; - description "Peer ID"; - } - leaf postit-policy { - type string; - description "Policy"; - } - leaf postit-reset { - type Bgp-reset-reason-index; - description "Reset"; - } - } - - grouping BGP-NEIGHBOR-NSR-BAG { - description "BGP neighbor nsr bag"; - - container neighbors-address { - description "Neighbor Addr"; - uses BGP-ADDRTYPE; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf connect-state { - type uint32; - description "State"; - } - leaf start-time { - type uint32; - description "StartTime"; - } - leaf nsr-state { - type Bgp-sync-nbr-nsr-state; - description "NSR state"; - } - - list neighbor-af { - min-elements "25"; - max-elements "25"; - description "Neighbor Afi"; - leaf entry { - type boolean; - description "Array entry."; - } - } - - list postit-info { - description "Postit Info"; - uses BGP-POSTIT-INFO; - } - } - - grouping BGP-UPDFILTER-VRF-BAG { - description "BGP Update filtering VRF information"; - - container last-update-filtered-timestamp { - description - "Last Filtered messages received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-filtered-message-count { - type uint32; - description "Filtered messages count"; - } - leaf update-filtered-neighbor-count { - type uint32; - description - "Count of neighbors that received filtered - messages"; - } - leaf last-update-filtered-age { - type uint32; - units "second"; - description - "Time since last filtered messages received event - (in seconds)"; - } - } - - grouping BGP-VRF-INFO-BAG { - description "BGP VRF information bag"; - leaf route-distinguisher { - type xr:Route-dist; - description "Route Distinguisher"; - } - } - - grouping BGP-PFXLST { - description "Prefix list entry"; - - list bgp-pfxlst { - description "bgp pfxlst"; - - container bgp-prefix { - description "BGP prefix"; - uses BGP-PREFIXTYPE; - } - leaf sequence-number { - type uint32; - description "Sequence number"; - } - leaf is-prefix-grant { - type boolean; - description "TRUE = permit, FALSE = deny"; - } - leaf min-prefix-length { - type uint8; - description "Minimum prefix length"; - } - leaf max-prefix-length { - type uint8; - description "Maximum prefix length"; - } - } - } - - grouping BGP-RCV-PFXLST-BAG { - description "Received prefix filter"; - - container neighbor-address-xr { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - - container prefix-list-info { - description "Prefix list"; - uses BGP-PFXLST; - } - leaf af-name { - type Bgp-afi; - description "Address family identfier"; - } - } - - grouping BGP-UPDGEN-AF-BAG { - description "BGP Update generation address-family information"; - - container update-statistics { - description "Upate statistics"; - uses BGP-UPDGEN-STATS-BAG; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf update-main-table-version { - type uint32; - description "Main table version"; - } - leaf update-rib-version { - type uint32; - description "RIB version"; - } - leaf update-min-neighbor-version { - type uint32; - description "Minimum Neighbor version"; - } - leaf current-update-limit-af { - type uint32; - description "Current AF update limit"; - } - leaf configured-update-limit-af { - type uint32; - description "Configured AF update limit"; - } - leaf current-update-limit-subgrp-ebgp { - type uint32; - description "Current EBGP sub-group update limit"; - } - leaf configured-update-limit-subgrp-ebgp { - type uint32; - description "Configured EBGP sub-group update limit"; - } - leaf current-update-limit-sub-group-ibgp { - type uint32; - description "Current IBGP sub-group update limit"; - } - leaf configured-update-limit-sub-group-ibgp { - type uint32; - description "Configured IBGP sub-group update limit"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue messsages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue size"; - } - leaf update-throttled { - type boolean; - description "Is Update throttled"; - } - leaf update-update-group-count { - type uint32; - description "Update-group count"; - } - leaf update-sub-group-count { - type uint32; - description "Sub-group count"; - } - leaf sub-group-throttled-count { - type uint32; - description "Throttled sub-group count"; - } - leaf refresh-sub-group-count { - type uint32; - description "Refresh sub-group count"; - } - leaf refresh-sub-group-throttled-count { - type uint32; - description "Throttled refresh sub-group count"; - } - leaf filter-group-count { - type uint32; - description "Filter-group count"; - } - leaf neighbor-count { - type uint32; - description "Neighbor count"; - } - leaf update-table-vrf-name { - type string; - description "VRF Name"; - } - leaf update-vrfaf-name { - type uint32; - description "Address family identifier"; - } - leaf update-vrf-rd-version { - type uint32; - description "RD Version"; - } - leaf update-vrf-table-rib-version { - type uint32; - description "VRF Table RIB version"; - } - leaf table-update-group-count { - type uint32; - description "VRF Table update-group count"; - } - leaf update-table-sub-group-count { - type uint32; - description "VRF Table sub-group count"; - } - leaf table-sub-group-throttled-count { - type uint32; - description "VRF Table throttled sub-group count"; - } - leaf table-refresh-sub-group-count { - type uint32; - description "VRF Table refresh sub-group count"; - } - leaf table-refresh-sub-group-throttled-count { - type uint32; - description "VRF Table throttled refresh sub-group count"; - } - leaf update-table-filter-group-count { - type uint32; - description "VRF Table filter-group count"; - } - leaf table-neighbor-count { - type uint32; - description "VRF Table neighbor count"; - } - } - - grouping BGP-UPDGEN-NBR-BAG { - description "BGP Update generation Neighbor information"; - - container update-neighbor-address { - description "Neighbor address"; - uses BGP-ADDRTYPE; - } - - container last-sub-group-add-timestamp { - description "Last added time"; - uses BGP-TIMESPEC; - } - - container last-sub-group-remove-timestamp { - description "Last removed time"; - uses BGP-TIMESPEC; - } - - container last-filter-group-add-timestamp { - description "Last added time"; - uses BGP-TIMESPEC; - } - - container last-filter-group-remove-timestamp { - description "Last removed time"; - uses BGP-TIMESPEC; - } - - container first-default-originate-timestamp { - description "First default-origination time"; - uses BGP-TIMESPEC; - } - - container last-default-originate-timestamp { - description "Last default-origination time"; - uses BGP-TIMESPEC; - } - - container last-update-group-start-timestamp { - description "Last update-group timer start"; - uses BGP-TIMESPEC; - } - - container last-update-group-expiry-timestamp { - description "Last update-group timer expiry"; - uses BGP-TIMESPEC; - } - - container first-update-queued-timestamp { - description "First update queued time"; - uses BGP-TIMESPEC; - } - - container last-update-queued-timestamp { - description "Last update queued time"; - uses BGP-TIMESPEC; - } - - container last-refresh-update-queued-timestamp { - description "Last refresh update queued time"; - uses BGP-TIMESPEC; - } - - container first-update-write-timestamp { - description "First update write time"; - uses BGP-TIMESPEC; - } - - container last-update-write-timestamp { - description "Last update write time"; - uses BGP-TIMESPEC; - } - - container last-refresh-update-write-timestamp { - description "Last refresh update write time"; - uses BGP-TIMESPEC; - } - - container update-statistics { - description "Update statistics"; - uses BGP-UPDGEN-STATS-BAG; - } - leaf process-id { - type uint32; - description "ProcessID"; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf update-filter-group-index { - type uint32; - description "Filter-group index"; - } - leaf refresh-filter-group-index { - type uint32; - description "Refresh Filter-group index"; - } - leaf sub-group-index-xr { - type uint32; - description "Sub-group index"; - } - leaf refresh-sub-group-index { - type uint32; - description "Refresh Sub-group index"; - } - leaf refresh-sub-group-id { - type uint32; - description "Refresh sub-group ID"; - } - leaf update-group-index-xr { - type uint32; - description "Update-group index"; - } - leaf update-main-table-version { - type uint32; - description "Main table version"; - } - leaf update-vrf-table-rib-version { - type uint32; - description "VRF Table RIB version"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue messages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue size"; - } - leaf refresh-update-out-queue-messages { - type uint32; - description "Refresh OutQueue messages"; - } - leaf refresh-update-out-queue-size { - type uint32; - description "Refresh OutQueue size"; - } - leaf update-filter-group-messages { - type uint32; - description "Filter-group messages"; - } - leaf version { - type uint32; - description "Version"; - } - leaf pending-target-version { - type uint32; - description "Pending target version"; - } - leaf next-resume-version { - type uint32; - description "Resume version"; - } - leaf ack-version { - type uint32; - description "Ack version"; - } - leaf synced-ack-version { - type uint32; - description "Synced ack version"; - } - leaf outstanding-version-count { - type uint32; - description "Outstanding version count"; - } - leaf update-refresh-version { - type uint32; - description "Refresh version"; - } - leaf refresh-requested-target-version { - type uint32; - description "Requested refresh target version"; - } - leaf update-refresh-target-version { - type uint32; - description "Refresh target version"; - } - leaf refresh-pending-target-version { - type uint32; - description "Pending refresh target version"; - } - leaf refresh-next-resume-version { - type uint32; - description "Refresh resume version"; - } - leaf refresh-ack-version { - type uint32; - description "Refresh Ack version"; - } - leaf last-default-originate-age { - type uint32; - units "second"; - description - "Time since last default-origination event (in - seconds)"; - } - leaf default-originate-state { - type int32; - description "Default-origination state"; - } - leaf default-originate-internal-context { - type int32; - description "Default-origination context"; - } - leaf is-eor-outstanding { - type boolean; - description "Number of EORs outstanding"; - } - leaf outbound-refresh-count { - type uint32; - description "Refresh Outbound count"; - } - leaf inbound-refresh-count { - type uint32; - description "Refresh Inbound count"; - } - leaf is-update-group-timer-running { - type boolean; - description "Is update-group timer running"; - } - leaf current-update-group-af-name { - type Bgp-afi; - description "Current Update-group address-family identifier"; - } - leaf last-update-group-af-name { - type Bgp-afi; - description "Last Update-group address-family identifier"; - } - leaf last-update-queued-age { - type uint32; - units "second"; - description - "Time since last update queued event (in seconds)"; - } - leaf last-refresh-update-queued-age { - type uint32; - units "second"; - description - "Time since last refresh update queued event (in - seconds)"; - } - leaf last-update-write-age { - type uint32; - units "second"; - description "Time since last update write event (in seconds)"; - } - leaf last-refresh-update-write-age { - type uint32; - units "second"; - description - "Time since last refresh update write event (in - seconds)"; - } - } - - grouping BGP-NBR-GSHUT { - description "BGP NBR GSHUT"; - leaf gshut-exists { - type boolean; - description "Graceful Maintenance enabled"; - } - leaf gshut-local-active { - type boolean; - description "Graceful Maintenance locally activated"; - } - leaf gshut-active { - type boolean; - description "Graceful Maintenance activated"; - } - leaf gshut-locpref-set { - type boolean; - description "Graceful Maintenance Local Preference set"; - } - leaf gshut-locpref { - type uint32; - description "Graceful Maintenance Local Preference"; - } - leaf gshut-prepends { - type uint8; - description "Graceful Maintenance number of AS prepends"; - } - } - - grouping BGP-NBR-MSG-STATS-UNIT { - description "BGP NBR MSG STATS UNIT"; - - container last-time-spec { - description "Last timespec"; - uses BGP-TIMESPEC; - } - leaf count { - type uint32; - description "Count"; - } - } - - grouping BGP-NBR-MSG-STATS-OP { - description "BGP NBR MSG STATS OP"; - - container tx { - description "Transmit"; - uses BGP-NBR-MSG-STATS-UNIT; - } - - container rx { - description "Receive"; - uses BGP-NBR-MSG-STATS-UNIT; - } - } - - grouping BGP-NBR-MSG-STATS { - description "BGP NBR MSG STATS"; - - container open { - description "Open"; - uses BGP-NBR-MSG-STATS-OP; - } - - container notification { - description "Notification"; - uses BGP-NBR-MSG-STATS-OP; - } - - container update { - description "Update"; - uses BGP-NBR-MSG-STATS-OP; - } - - container keepalive { - description "Keepalive"; - uses BGP-NBR-MSG-STATS-OP; - } - - container route-refresh { - description "Route refresh"; - uses BGP-NBR-MSG-STATS-OP; - } - - container total { - description "Total"; - uses BGP-NBR-MSG-STATS-OP; - } - } - - grouping BGP-PERF-NBR-AF { - description "BGP PERF NBR AF"; - leaf sub-group-pending-message-count { - type uint32; - description - "No. of sub-group messages waiting to be sent out - on this neighbor -- DEPRECATED -- "; - } - leaf processed-messages { - type uint32; - description - "Number of messages processed from the neighbor's - write queue"; - } - leaf sent-messages { - type uint32; - description - "Number of messages sent from the neighbor's - write queue"; - } - leaf split-horizon-update-transmit { - type uint32; - description - "No. of update messages with split-horizon flag - that were sent out"; - } - leaf split-horizon-update-blocked { - type uint32; - description - "No. of update messages with split-horizon flag - that were blocked"; - } - leaf split-horizon-withdraw-transmit { - type uint32; - description - "No. of withdraw messages with split-horizon flag - that were sent out"; - } - leaf split-horizon-withdraw-blocked { - type uint32; - description - "No. of withdraw messages with split-horizon flag - that were blocked"; - } - } - - grouping BGP-NBR-AF { - description "BGP neighbor address family specific information"; - - container neighbor-af-performance-statistics { - description "Neighbor AF statistics"; - uses BGP-PERF-NBR-AF; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf is-neighbor-route-reflector-client { - type boolean; - description "Nbr is a route reflector client"; - } - leaf is-legacy-pe-rt { - type boolean; - description - "Nbr accepts route from legacy PE for - RT-Constraint AF "; - } - leaf is-neighbor-af-capable { - type boolean; - description - "Address family capability received from neighbor"; - } - leaf is-soft-reconfiguration-inbound-allowed { - type boolean; - description "Inbound soft reconfiguration allowed"; - } - leaf is-use-soft-reconfiguration-always-on { - type boolean; - description "Soft reconf overrides route refresh"; - } - leaf remove-private-as-from-updates { - type boolean; - description - "Private AS numbers removed from updates to this - nbr"; - } - leaf remove-private-as-entire-aspath-from-updates { - type boolean; - description - "Private AS numbers removed from updates to - thisnbr only if the aspath hasonly private ASes"; - } - leaf remove-private-as-from-inbound-updates { - type boolean; - description - "Private AS numbers removed from updates from - this nbr"; - } - leaf remove-private-as-entire-aspath-from-inbound-updates { - type boolean; - description - "Private AS numbers removed from updates from - this nbr only if the aspath has only private - ASes"; - } - leaf flowspec-validation-d-isable { - type boolean; - description "Flowspec Validation Disabled"; - } - leaf flowspec-redirect-validation-d-isable { - type boolean; - description "Flowspec Redirect Validation Disabled"; - } - leaf orr-group-name { - type string; - description "ORR Group Name"; - } - leaf orr-group-index { - type uint32; - description "ORR Group Index"; - } - leaf is-orr-root-address-configured { - type boolean; - description - "ORR Root address configuredfor the neighbor - connection"; - } - leaf advertise-afi { - type boolean; - description "Encode in Advertise AFI"; - } - leaf advertise-afi-reorg { - type boolean; - description "Encode in Advertise AFI"; - } - leaf advertise-afi-disable { - type boolean; - description "Encode in Advertise AFI"; - } - leaf encapsulation-type { - type uint32; - description "Encapsulation type"; - } - leaf advertise-rt-type { - type uint8; - description "Advertise RT type"; - } - leaf advertise-afi-def-vrf-imp-disable { - type boolean; - description "Advertise of default VRF import disable"; - } - leaf advertise-evpnv4-afi-def-vrf-imp-disable { - type boolean; - description "Advertise of v4 default VRF import disable"; - } - leaf advertise-evpnv6-afi-def-vrf-imp-disable { - type boolean; - description "Advertise of v6 default VRF import disable"; - } - leaf advertise-afi-vrf-re-imp-disable { - type boolean; - description "Advertise of VRF re-import disable"; - } - leaf advertise-evpnv4-afi-vrf-re-imp-disable { - type boolean; - description "Advertise of v4 VRF re-import disable"; - } - leaf advertise-evpnv6-afi-vrf-re-imp-disable { - type boolean; - description "Advertise of v6 VRF re-import disable"; - } - leaf advertise-afi-eo-r-ready { - type boolean; - description "EoR Can be sent for Advertise AFI"; - } - leaf always-use-next-hop-local { - type boolean; - description "Local router always used for next-hop"; - } - leaf sent-community-to-neighbor { - type boolean; - description "Community attribute sent to neighbor"; - } - leaf sent-gshut-community-to-neighbor { - type boolean; - description "GSHUT Community attribute sent to neighbor"; - } - leaf sent-extended-community-to-neighbor { - type boolean; - description "Extended community attribute sent to neighbor"; - } - leaf neighbor-default-originate { - type boolean; - description "Neighbor originates default"; - } - leaf is-orf-sent { - type boolean; - description "Outbound route filter sent to neighbor"; - } - leaf is-update-deferred { - type boolean; - description - "Update deferred until ORF/route refresh received"; - } - leaf is-orf-send-scheduled { - type boolean; - description "Scheduled to send prefix based ORF"; - } - leaf update-group-number { - type uint32; - description "Update group index"; - } - leaf filter-group-index { - type uint32; - description "Filter group index"; - } - leaf is-update-throttled { - type boolean; - description "Updates Throttled becausewrite limit is reached"; - } - leaf is-update-leaving { - type boolean; - description "Nbr leaving update-groupto another"; - } - leaf vpn-update-gen-enabled { - type boolean; - description "RT Nbr enabled for updategento another"; - } - leaf vpn-update-gen-trigger-enabled { - type boolean; - description "RT Nbr enabled for updategento another"; - } - leaf is-addpath-send-operational { - type boolean; - description "Addpath is operational on send-side"; - } - leaf is-addpath-receive-operational { - type boolean; - description "Addpath is operational on receive-side"; - } - leaf neighbor-version { - type uint32; - description "Neighbor version"; - } - leaf weight { - type uint32; - description "Weight for this AF"; - } - leaf max-prefix-limit { - type uint32; - description "Max limit for # of prefixes"; - } - leaf use-max-prefix-warning-only { - type boolean; - description "Warning only when maximum prefix limit reached"; - } - leaf max-prefix-discard-extra-paths { - type boolean; - description "Discard extra paths when prefix limit reached"; - } - leaf max-prefix-exceed-discard-paths { - type boolean; - description - "Did we discard extra paths when prefix limit - reached"; - } - leaf max-prefix-threshold-percent { - type uint8; - units "percentage"; - description - "Percentage of maximum no. of prefixes at which - to generate warning"; - } - leaf max-prefix-restart-time { - type uint16; - units "minute"; - description - "Time interval (in minutes) after which peering - session will be reestablished"; - } - leaf prefixes-accepted { - type uint32; - description "No. of prefixes accepted"; - } - leaf prefixes-synced { - type uint32; - description "Number of prefixes synced to standby"; - } - leaf prefixes-withdrawn-not-found { - type uint32; - description "No. of prefixes withdrawn but not found"; - } - leaf prefixes-denied { - type uint32; - description "No. of prefixes denied"; - } - leaf prefixes-denied-no-policy { - type uint32; - description - "No. of prefixes denied because there was no - inbound policy"; - } - leaf prefixes-denied-rt-permit { - type uint32; - description - "No. of prefixes denied because RT extended - community is not imported"; - } - leaf prefixes-denied-orf-policy { - type uint32; - description - "No. of prefixes denied by prefix based ORF - policy"; - } - leaf prefixes-denied-policy { - type uint32; - description "No. of prefixes denied by inbound policy"; - } - leaf number-of-bestpaths { - type uint32; - description "No. of bestpaths from this neighbor"; - } - leaf number-of-best-externalpaths { - type uint32; - description "No. of best-external paths from this neighbor"; - } - leaf prefixes-advertised { - type uint32; - description "No. of prefixes advertised"; - } - leaf prefixes-be-advertised { - type uint32; - description "No BE prefixes advertised"; - } - leaf prefixes-suppressed { - type uint32; - description "No. of prefixes suppressed"; - } - leaf prefixes-withdrawn { - type uint32; - description "No. of prefixes withdrawn"; - } - leaf is-peer-orf-capable { - type boolean; - description "Peer has outbound route filter capability"; - } - leaf is-advertised-orf-send { - type boolean; - description - "Prefix based ORF send mode capability advertised"; - } - leaf is-received-orf-send-capable { - type boolean; - description "Prefix based ORF send mode capability received"; - } - leaf is-advertised-orf-receive { - type boolean; - description - "Prefix based ORF receive mode capability - advertised"; - } - leaf is-received-orf-receive-capable { - type boolean; - description - "Prefix based ORF receive mode capability - received"; - } - leaf is-advertised-graceful-restart { - type boolean; - description "Graceful Restart Capability advertised"; - } - leaf is-graceful-restart-state-flag { - type boolean; - description "Restart state flag enabled"; - } - leaf is-received-graceful-restart-capable { - type boolean; - description "Graceful Restart Capability received"; - } - leaf is-add-path-send-capability-advertised { - type boolean; - description "Addpath Send capability advertised"; - } - leaf is-add-path-send-capability-received { - type boolean; - description "Addpath Send capability received"; - } - leaf is-add-path-receive-capability-advertised { - type boolean; - description "Addpath Receive capability advertised"; - } - leaf is-add-path-receive-capability-received { - type boolean; - description "Addpath Receive capability received"; - } - leaf is-ext-nh-encoding-capability-received { - type boolean; - description "Extended nexthop encoding capability received"; - } - leaf is-ext-nh-encoding-capability-sent { - type boolean; - description "Extended nexhop encoding capability Sent"; - } - leaf restart-time { - type uint32; - units "second"; - description "Restart time advertised (seconds)"; - } - leaf local-restart-time { - type uint32; - units "second"; - description "Local Restart time (seconds)"; - } - leaf stale-path-timeout { - type uint32; - units "second"; - description "Stale path timeout time (in seconds)"; - } - leaf rib-purge-timeout-value { - type uint32; - units "second"; - description "RIB purge timeout time (in seconds)"; - } - leaf neighbor-preserved-forwarding-state { - type boolean; - description "Neighbor preserved forwarding state"; - } - leaf long-lived-graceful-restart-stale-time-configured { - type boolean; - description - "Long-lived graceful-restart stale time is - configured"; - } - leaf long-lived-graceful-restart-stale-time-sent { - type uint32; - units "second"; - description - "Stale time sent in long-lived graceful-restart - capability (seconds)"; - } - leaf long-lived-graceful-restart-stale-time-accept { - type uint32; - units "second"; - description - "Maximum long-lived graceful-restart stale time - acceptable from the neighbor (seconds)"; - } - leaf long-lived-graceful-restart-capability-received { - type boolean; - description - "Long-lived graceful-restart capability received - from the neighbor"; - } - leaf long-lived-graceful-restart-stale-time-received { - type uint32; - units "second"; - description - "Long-lived graceful-restart stale time received - from the neighbor (seconds)"; - } - leaf neighbor-preserved-long-lived-forwarding-state { - type boolean; - description "Neighbor preserved long-lived forwarding state"; - } - leaf neighbor-long-lived-graceful-restart-capable { - type boolean; - description - "Treat neighbor as long-lived graceful-restart - capable"; - } - leaf neighbor-long-lived-graceful-restart-time-remaining { - type uint32; - description "Remaining long-lived graceful-restart time"; - } - leaf route-refreshes-received { - type uint32; - description "Number of route refresh requests received"; - } - leaf route-refreshes-sent { - type uint32; - description "Number of route refresh requests sent"; - } - leaf refresh-target-version { - type uint32; - description "Target version for refresh update generation"; - } - leaf refresh-version { - type uint32; - description - "Version till which refresh updates have been - generated"; - } - leaf refresh-acked-version { - type uint32; - description - "Version acked by the peer for refresh updates - sent"; - } - leaf is-prefix-orf-present { - type boolean; - description "Outbound route filter prefix ORF present"; - } - leaf orf-entries-received { - type uint32; - description - "Number of outbound route filter entries received"; - } - leaf is-default-originate-sent { - type boolean; - description "Default origination update sent"; - } - leaf route-policy-prefix-orf { - type string; - description "Prefix based ORF for incoming updates"; - } - leaf route-policy-in { - type string; - description "Incoming route policy name"; - } - leaf route-policy-out { - type string; - description "Outgoing route policy name"; - } - leaf route-policy-default-originate { - type string; - description "Default-originate route policy name"; - } - leaf is-neighbor-ebgp-without-inbound-policy { - type boolean; - description "eBGP neighbor with no configured inbound policy"; - } - leaf is-neighbor-ebgp-without-outbound-policy { - type boolean; - description - "eBGP neighbor with no configured outbound policy"; - } - leaf is-as-override-set { - type boolean; - description "As override set "; - } - leaf is-allow-as-in-set { - type boolean; - description "Allowas-in set "; - } - leaf allow-as-in-count { - type uint32; - description "Allowas-in count config"; - } - leaf address-family-long-lived-time { - type uint32; - description "AF specific Long-lived-time config"; - } - leaf eo-r-received-in-read-only { - type boolean; - description "An EoR was received while in read-only mode"; - } - leaf acked-version { - type uint32; - description "Version mapped from acked seqNo"; - } - leaf synced-acked-version { - type uint32; - description - "Version mapped from acked seqNo that was synced - last"; - } - leaf outstanding-version { - type uint32; - description - "Version mapped from acked seqNo that was synced - last"; - } - leaf outstanding-version-max { - type uint32; - description - "Version mapped from acked seqNo that was synced - last"; - } - leaf is-aigp-set { - type boolean; - description "AIGP set "; - } - leaf is-rt-present { - type boolean; - description "RT attribute list present"; - } - leaf is-rt-present-standby { - type boolean; - description "RT attribute list present"; - } - leaf accept-own-enabled { - type boolean; - description "Accept-Own enabled"; - } - leaf selective-multipath-eligible { - type boolean; - description "Selective multipath eligible"; - } - leaf afrpki-disable { - type boolean; - description "Prefix validation disabled"; - } - leaf afrpki-use-validity { - type boolean; - description "Prefix v. use validity"; - } - leaf afrpki-allow-invalid { - type boolean; - description "Prefix v. allow invalid"; - } - leaf afrpki-signal-ibgp { - type boolean; - description "Prefix v. signal ibgp"; - } - leaf is-advertise-permanent-network { - type boolean; - description "Advertise Permanent Network"; - } - leaf is-send-mcast-attr { - type boolean; - description "Send Mcast Attr"; - } - leaf import-stitching { - type boolean; - description "Import Stitching enabled"; - } - leaf import-reoriginate { - type boolean; - description "Import Reoriginate enabled"; - } - leaf import-reoriginate-stitching { - type boolean; - description "Import Reoriginate Stitching enabled"; - } - leaf advertise-v4-flags { - type uint32; - description "Advertise options for VPNV4"; - } - leaf advertise-v6-flags { - type uint32; - description "Advertise options for VPNV6"; - } - leaf advertise-local-labeled-route-unicast { - type boolean; - description "Advertise routes with "; - } - leaf prefixes-denied-non-cumulative { - type uint32; - description "No. of prefixes exactly denied (non cumulative)"; - } - leaf enable-label-stack { - type boolean; - description "Enable label stack"; - } - list extended-community { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - list extended-community-standby { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - } - - grouping BGP-PERF-NBR { - description "BGP PERF NBR"; - leaf read-throttles { - type uint32; - description "Number of partial read throttles"; - } - leaf low-throttled-read { - type uint32; - description - "Num socket reads after nbrs crossed low - threshold"; - } - leaf high-throttled-read { - type uint32; - description - "Num of socket reads after nbr crossed high - threshold"; - } - leaf time-since-last-throttled-read { - type uint32; - units "second"; - description - "Time (in secs) since last read after being - throttled"; - } - leaf read-calls-count { - type uint32; - description "No. of calls to function to read inbound data"; - } - leaf read-messages-count { - type uint32; - description "Number of BGP messages read"; - } - leaf data-bytes-read { - type uint32; - units "byte"; - description "No. of bytes of data read"; - } - leaf io-read-time { - type uint32; - units "millisecond"; - description "Time spent reading inbound data (milliseconds)"; - } - leaf write-calls-count { - type uint32; - description "No. of calls to function to write outbound data"; - } - leaf data-bytes-written { - type uint32; - units "byte"; - description "No. of data bytes written"; - } - leaf io-write-time { - type uint32; - units "millisecond"; - description "Time spent writing outbound data (milliseconds)"; - } - leaf last-sent-seq-no { - type uint32; - description "Seq No of the last sent byte"; - } - leaf write-subgroup-calls-count { - type uint32; - description - "No. of calls to function to process sub-group - message list"; - } - leaf write-subgroup-messages-count { - type uint32; - description "Number of sub-group msgs processed"; - } - leaf subgroup-list-time { - type uint32; - units "millisecond"; - description - "Time spent processing sub-group message list - (milliseconds)"; - } - leaf write-queue-calls-count { - type uint32; - description "No. of calls to function to process write queue"; - } - leaf write-queue-messages-count { - type uint32; - description "Number of write queue messages processed"; - } - leaf write-queue-time { - type uint32; - units "millisecond"; - description - "Time spent processing write queue (milliseconds)"; - } - leaf inbound-update-messages { - type uint32; - description "Number of inbound update messages processed"; - } - leaf inbound-update-messages-time { - type uint32; - units "millisecond"; - description - "Time spent processing inbound update messages - (milliseconds)"; - } - leaf maximum-read-size { - type uint32; - units "millisecond"; - description "Size of largest socket (milliseconds)"; - } - leaf actives { - type uint32; - description - "Number of retried Active opens for this neighbor"; - } - leaf failed-post-actives { - type uint32; - description - "Number of Active Opens that failed in the Post - Active State for this neighbor"; - } - leaf passives { - type uint32; - description - "Number of retried Passive opens for this - neighbor"; - } - leaf rejected-passives { - type uint32; - description - "Number of rejected Passive opens for this - neighbor"; - } - leaf active-collision { - type uint32; - description - "Number of Closed Active connections for this - neighbor due to collision "; - } - leaf passive-collision { - type uint32; - description - "Number of Closed Remote opens for this - neighborneighbor due to collision "; - } - leaf control-to-read-thread-trigger { - type uint32; - description - "Number of times io-control thread trigger read - thread"; - } - leaf control-to-write-thread-trigger { - type uint32; - description - "Number of times io-control thread trigger write - thread"; - } - leaf network-status { - type uint32; - description "Socket status, TRUE if socket closed"; - } - leaf reset-flags { - type uint32; - description "Reset flags, per thread"; - } - leaf nbr-flags { - type uint32; - description "Nbr flags, per thread"; - } - leaf nbr-fd { - type int32; - description "Primary FD, per nbr"; - } - leaf reset-retries { - type uint8; - description "Reset Retries, per nbr"; - } - leaf sync-flags { - type uint32; - description "Sync flags, per nbr"; - } - leaf nsr-oper-down-count { - type uint32; - description "Number of times NSR scoped sync has been done"; - } - leaf last-nsr-scoped-sync { - type uint32; - description - "Last time NSR scoped syncwas done for the - neighbor"; - } - } - - grouping BGP-NOTFNTYPE { - description "BGP NOTFNTYPE"; - leaf time-since-last-notification { - type uint32; - units "second"; - description - "Time since the last notification was sent or - received (seconds)"; - } - leaf notification-error-code { - type uint8; - description "Error code in last notification"; - } - leaf notification-error-subcode { - type uint8; - description "Error subcode in last notification"; - } - list last-notification-data { - description "Message data in last notification"; - leaf entry { - type uint8; - } - } - } - - grouping BGP-NBR-BAG { - description "BGP Neighbor Information"; - - container connection-local-address { - description "Local address for the connection"; - uses BGP-ADDRTYPE; - } - - container connection-remote-address { - description "Remote address for the connection"; - uses BGP-ADDRTYPE; - } - - container send-notification-info { - description "Information on the last notification sent"; - uses BGP-NOTFNTYPE; - } - - container received-notification-info { - description "Information on the last notification received"; - uses BGP-NOTFNTYPE; - } - - container performance-statistics { - description "Performance statistics"; - uses BGP-PERF-NBR; - } - - container message-statistics { - description "Message statistics"; - uses BGP-NBR-MSG-STATS; - } - - container tcp-init-sync-time-spec { - description "Time When neighbor entered TCP Init Sync"; - uses BGP-TIMESPEC; - } - - container tcp-init-sync-phase-two-time-spec { - description - "Time when neighbor entered TCP Init Sync Phase - Two"; - uses BGP-TIMESPEC; - } - - container tcp-init-sync-done-time-spec { - description "Time when neighbor entered TCP Init Sync Done"; - uses BGP-TIMESPEC; - } - - container graceful-maintenance { - description "Graceful Maintenance"; - uses BGP-NBR-GSHUT; - } - leaf speaker-id { - type uint8; - description "Speaker this neighbor is allocated to"; - } - leaf description { - type string; - description "Description"; - } - leaf local-as { - type uint32; - description "Local AS number"; - } - leaf remote-as { - type uint32; - description "Remote AS number"; - } - leaf has-internal-link { - type boolean; - description "Internal link to neighbor"; - } - leaf is-external-neighbor-not-directly-connected { - type boolean; - description "External neighbor not directly connected"; - } - leaf messages-received { - type uint32; - description "Number of messages received"; - } - leaf messages-sent { - type uint32; - description "Number of messages sent"; - } - leaf update-messages-in { - type uint32; - description "No. of update msgs received"; - } - leaf update-messages-out { - type uint32; - description "No. of update messages sent"; - } - leaf messages-queued-in { - type uint32; - description "No. of msgs on receive queue"; - } - leaf messages-queued-out { - type uint32; - description "No. of messages on send queue"; - } - leaf connection-established-time { - type uint32; - units "second"; - description - "Time (in secs) that the connection has been - established"; - } - leaf connection-state { - type Bgp-conn-state; - description "State of connection"; - } - leaf previous-connection-state { - type uint32; - description "Previous state of connection"; - } - leaf connection-admin-status { - type uint32; - description "Administrative status of connection"; - } - leaf open-check-error-code { - type Bgp-open-check-err; - description "Open check error code"; - } - leaf is-local-address-configured { - type boolean; - description - "Local address configured for the neighbor - connection"; - } - leaf connection-local-port { - type uint32; - description "Local port for the connection"; - } - leaf connection-remote-port { - type uint32; - description "Remote port for the connection"; - } - leaf neighbor-interface-handle { - type uint32; - description "Interface Handle of Neighbor"; - } - leaf reset-notification-sent { - type boolean; - description "Notification was sent during last reset"; - } - leaf is-administratively-shut-down { - type boolean; - description "Neighbor is administratively shut down"; - } - leaf is-neighbor-max-prefix-shutdown { - type boolean; - description - "Neighbor shut down because it exceeded max prfx - count"; - } - leaf is-out-of-memory-shutdown { - type boolean; - description - "Neighbor shut down during a SEVERE low memory - condition"; - } - leaf is-out-of-memory-forced-up { - type boolean; - description - "Neighbor forced up during a low memory condition"; - } - leaf is-ebgp-peer-as-league { - type boolean; - description "EBGP peer belongs to AS League"; - } - leaf is-ebgp-peer-common-admin { - type boolean; - description "EBGP peer with common administation"; - } - leaf ttl-security-enabled { - type boolean; - description "TTL Security enabled"; - } - leaf suppress4-byte-as { - type boolean; - description "Suppress 4byteas capability"; - } - leaf bfd-session-state { - type Bgp-bfd-state; - description "BFD state for this peer"; - } - leaf bfd-session-created-state { - type Bgp-bfd-state; - description "BFD state for this peer"; - } - leaf bfd-session-enable-mode { - type Bgp-bfd-enable-mode; - description "BFD enable mode for this peer"; - } - leaf bfd-minintervalval { - type uint32; - description "BFD Mininterval for this peer"; - } - leaf bfd-multiplierval { - type uint32; - description "BFD Multiplier for this peer"; - } - leaf bfd-state-ts { - type uint64; - description "Timestamp since when nbr is in this bfd state"; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID for the neighbor"; - } - leaf negotiated-protocol-version { - type uint16; - description "Negotiated protocol version"; - } - leaf ebgp-time-to-live { - type uint32; - description - "Maximum number of hops for external BGP neighbor"; - } - leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { - type boolean; - description - "If true, MPLS and NULL rewrite is disabled; if - false, it is enabled"; - } - leaf tcpmss { - type uint32; - description - "Neighbor TCP Maximum Segment - size"; - } - leaf msg-log-in { - type uint32; - description "Message in log count"; - } - leaf msg-log-out { - type uint32; - description "Message out log count"; - } - leaf neighbor-local-as { - type uint32; - description "Local AS configured on the neighbor"; - } - leaf local-as-no-prepend { - type boolean; - description - "Option to not prepend the Local AS to - announcements"; - } - leaf is-capability-negotiation-suppressed { - type boolean; - description "Capability negotiation suppressed"; - } - leaf is-capability-negotiation-performed { - type boolean; - description "Capability negotiation performed"; - } - leaf is-route-refresh-capability-received { - type boolean; - description "Route refresh capability received"; - } - leaf is-route-refresh-old-capability-received { - type boolean; - description "Route refresh old capability received"; - } - leaf is-gr-aware { - type boolean; - description "GR awareness received"; - } - leaf is4-byte-as-capability-received { - type boolean; - description "4-byte AScapability received"; - } - leaf is4-byte-as-capability-sent { - type boolean; - description "4-byte AScapability Snt"; - } - leaf multi-protocol-capability-received { - type boolean; - description "Multi-protocol capability has been received"; - } - leaf hold-time { - type uint16; - units "second"; - description - "Hold time (in secs) negotiated for this - connection"; - } - leaf keep-alive-time { - type uint16; - units "second"; - description - "Keepalive time (in secs) negotiated for this - connection"; - } - leaf configured-hold-time { - type uint16; - units "second"; - description - "Hold time (in secs) configured for this - connection"; - } - leaf configured-keepalive { - type uint16; - units "second"; - description - "Keepalive time (in secs) configured for this - connection"; - } - leaf configured-min-acc-hold-time { - type uint16; - units "second"; - description - "Minimum acceptable hold time from neighbor (in - secs) configured for this connection"; - } - leaf min-advertise-interval { - type uint32; - units "second"; - description "Minimum advertisement interval, secs part"; - } - leaf min-advertise-interval-msecs { - type uint32; - units "millisecond"; - description "Minimum advertisement interval, msecs part"; - } - leaf min-origination-interval { - type uint16; - units "second"; - description "Minimum origination interval (in secs)"; - } - leaf connect-retry-interval { - type uint16; - units "second"; - description "Time (in secs) for connect retry timer"; - } - leaf time-since-last-update { - type uint32; - units "second"; - description - "Time (in secs) since last update message was - received"; - } - leaf time-since-last-read { - type uint32; - units "second"; - description "Time (in secs) since last read"; - } - leaf time-since-last-read-reset { - type uint32; - units "second"; - description - "Time (in secs) since last read before last reset"; - } - leaf time-last-cb { - type uint64; - description "CB"; - } - leaf time-last-cb-reset { - type uint32; - description "Last CB before reset"; - } - leaf time-last-fb { - type uint64; - description "FB"; - } - leaf count-last-write { - type uint32; - description "Count"; - } - leaf time-since-last-write { - type uint32; - units "second"; - description "Time (in secs) since last write"; - } - leaf attempted-last-write-bytes { - type uint32; - description "Attempted size of last write"; - } - leaf actual-last-write-bytes { - type uint32; - description "Actual size of last write"; - } - leaf time-since-second-last-write { - type uint32; - units "second"; - description "Time (in secs) since second last write"; - } - leaf attempted-second-last-write-bytes { - type uint32; - description "Attempted size of second last write"; - } - leaf actual-second-last-write-bytes { - type uint32; - description "Actual size of second last write"; - } - leaf time-since-last-write-reset { - type uint32; - units "second"; - description - "Time (in secs) since last write before last - reset"; - } - leaf attempted-last-write-reset-bytes { - type uint32; - description "Attempted size of last write before reset"; - } - leaf actual-last-write-reset-bytes { - type uint32; - description "Actual size of last write before reset"; - } - leaf time-since-second-last-write-reset { - type uint32; - units "second"; - description - "Time (in secs) since last write before last - reset"; - } - leaf attempted-second-last-write-reset-bytes { - type uint32; - description - "Attempted size of second last write before reset"; - } - leaf actual-second-last-write-reset-bytes { - type uint32; - description "Actual size of second last write before reset"; - } - leaf last-write-event { - type uint32; - units "second"; - description "Time (in secs) since last write thread event"; - } - leaf second-last-write-event { - type uint32; - units "second"; - description - "Time (in secs) since second last write thread - event"; - } - leaf last-k-aexpiry-reset { - type uint32; - units "second"; - description - "Time (in secs) since last KA timer expiry before - reset"; - } - leaf second-last-k-aexpiry-reset { - type uint32; - units "second"; - description - "Time (in secs) since second last KA timer expiry - before reset"; - } - leaf last-k-anotsent-reset { - type uint32; - units "second"; - description - "Duration (in secs) since last time that KA was - not sent before reset"; - } - leaf last-k-aerror-reset { - type uint32; - units "second"; - description - "Duration (in secs) since last time that an error - was encountered after KA expiry"; - } - leaf last-k-astart-reset { - type uint32; - units "second"; - description - "Time (in secs) since the last KA timer start - before reset"; - } - leaf second-last-k-astart-reset { - type uint32; - units "second"; - description - "Time (in secs) since the second last KA timer - start before reset"; - } - leaf connection-up-count { - type uint32; - description "Number of times the connection was established"; - } - leaf connection-down-count { - type uint32; - description "Number of times connection was dropped"; - } - leaf time-since-connection-last-dropped { - type uint32; - units "second"; - description - "Time since the connection last went down - (seconds)"; - } - leaf reset-reason { - type Bgp-reset-reason-index; - description "Reason for last connection reset"; - } - leaf peer-reset-reason { - type Bgp-peer-reset-reason-index; - description "Reason for last peer close event"; - } - leaf peer-error-code { - type uint32; - description "If peer closed, error received from transport"; - } - leaf last-notify-error-code { - type uint8; - description - "Code for the last error notification seen on the - connection"; - } - leaf last-notify-error-subcode { - type uint8; - description - "Error subcode of the last error notification - seen on the connection"; - } - leaf error-notifies-received { - type uint32; - description - "Number of error notifications received on the - connection"; - } - leaf error-notifies-sent { - type uint32; - description - "Number of error notifications sent on the - connection"; - } - leaf remote-as-number { - type uint32; - description "Remote AS number"; - } - leaf dmz-link-bandwidth { - type uint32; - description "Bandwidth of link to single-hop eBGP peer"; - } - leaf ebgp-recv-dmz { - type boolean; - description - "Receive Bandwidth of link to single-hop eBGP - peer"; - } - leaf ebgp-send-dmz-mode { - type Bgp-ebgp-send-dmz-enable-mode; - description "Ebgp send dmz link bw mode"; - } - leaf tos-type { - type uint8; - description "Precedence or DSCP type"; - } - leaf tos-value { - type uint8; - description "Precedence or DSCP value"; - } - leaf tcp-session-open-mode { - type Bgp-tcp-mode; - description - "The TCP mode to be used to set up BGP session - with the neighbor"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf standby-rp { - type boolean; - description "Standby RP socket inited for Active Open"; - } - leaf nsr-enabled { - type boolean; - description "Neighbor supports NSR"; - } - leaf graceful-restart-enabled-nbr { - type boolean; - description "Neighbor supports graceful-restart"; - } - leaf gr-restart-time { - type uint32; - units "second"; - description "Neighbor restart time (in seconds)"; - } - leaf gr-stale-path-time { - type uint32; - units "second"; - description "Neighbor stale-path time (in seconds)"; - } - leaf fssn-offset { - type uint32; - description "First standby SeqNo offset"; - } - leaf fpbsn-offset { - type uint32; - description "First standby PDU boundary SeqNo offset"; - } - leaf last-ackd-seq-no { - type uint32; - description "SeqNo of the last Ackd byte"; - } - leaf bytes-written { - type uint32; - units "byte"; - description "Total bytes written by write thread"; - } - leaf bytes-read { - type uint32; - units "byte"; - description "Total bytes read"; - } - leaf socket-read-bytes { - type uint32; - units "byte"; - description "Total read bytes value insocket-lib"; - } - leaf is-read-disabled { - type boolean; - description "If true, socket read isdisabled"; - } - leaf update-bytes-read { - type uint32; - units "byte"; - description "Total update bytes read"; - } - leaf nsr-state { - type Bgp-sync-nbr-nsr-state; - description "NSR state"; - } - leaf is-passive-close { - type boolean; - description - "If true, active socket canbe closed if passive - openis received for a GRcapable neighbor"; - } - leaf nbr-enforce-first-as { - type boolean; - description "Neighbor enforce first AS"; - } - leaf active-bmp-servers { - type uint8; - description "BMP Servers to which the neighbor sends logs"; - } - leaf nbr-cluster-id { - type uint32; - description "Cluster id"; - } - leaf nbr-in-cluster { - type uint8; - description "Type of cluster_id:undefined/number/Ip address"; - } - leaf ignore-connected { - type boolean; - description "If true, the VPN client isan IBGP CE peer"; - } - leaf internal-vpn-client { - type boolean; - description "If true, don't do NHconnected check for nbr"; - } - leaf io-armed { - type boolean; - description - "If true, socket has beenauto-armed for io - control"; - } - leaf read-armed { - type boolean; - description "If true, socket has beenauto-armed for read"; - } - leaf write-armed { - type boolean; - description "If true, socket has beenauto-armed for write"; - } - leaf discard-data-bytes { - type uint32; - units "byte"; - description "Remaining discard data (bytes) on Standby"; - } - leaf local-as-replace-as { - type boolean; - description "Local AS Replace-AS option"; - } - leaf local-as-dual-as { - type boolean; - description "Local AS Dual-AS option"; - } - leaf local-as-dual-as-mode-native { - type boolean; - description - "Applies only if Local AS Dual-AS option is - enabled. Indicates if Dual-AS mode is native."; - } - leaf egress-peer-engineering-enabled { - type boolean; - description "Indicates if Egress Peer Engineering is enabled"; - } - leaf discard-as4-path { - type uint32; - description - "Discard AS4_PATH in case there is a discrepancy - in merging AS_PATH and AS4_PATH,retain ASPATH"; - } - leaf rpki-disable { - type boolean; - description "Prefix validation disabled"; - } - leaf rpki-use-validity { - type boolean; - description "Prefix v. use validity"; - } - leaf rpki-allow-invalid { - type boolean; - description "Prefix v. allow invalid"; - } - leaf rpki-signal-ibgp { - type boolean; - description "Prefix v. signal ibgp"; - } - leaf dynamic-neighbor { - type boolean; - description "Dynamic neighbor"; - } - - list af-data { - max-elements "25"; - description "Address family specific neighbor data"; - uses BGP-NBR-AF; - } - } - - grouping BGP-PATH-MULTI { - description "BGP path set"; - - list paths { - description "paths"; - uses BGP-PATH-BAG; - } - - list adv-path-info { - description "Net Advertized Paths"; - uses BGP-PATH-ADV-BAG; - } - } - - grouping BGP-NBR-ADV-CNT-BAG { - description "BGP Neighbor adv cnt bag"; - leaf max-prefix-advertisedcount { - type uint32; - description "Number of prefixes advertsied to neighbor"; - } - } - - grouping BGP-EPE-SET-BAG { - description "BGP EPE SET BAG"; - - container epe-local-address { - description "Local address"; - uses BGP-ADDRTYPE; - } - - container epe-next-hop { - description "Nexthop address"; - uses BGP-ADDRTYPE; - } - leaf epe-key-length-xr { - type uint8; - description "EPE key length in bits"; - } - leaf epe-version { - type uint32; - description "EPE object's version"; - } - leaf epe-flags { - type uint8; - description "EPE object's flags"; - } - leaf epe-local-asn { - type uint32; - description "Local AS Number"; - } - leaf epe-remote-asn { - type uint32; - description "Remote AS Number"; - } - leaf epe-remote-router-id { - type uint32; - description "Remote router id"; - } - leaf epe-local-router-id { - type uint32; - description "Local router id"; - } - leaf label { - type uint32; - description "Label assigned to the RPCnext-hop set"; - } - leaf ref-count { - type uint32; - description "Refcount"; - } - list epe-key { - description "Key of EPE object"; - leaf entry { - type uint8; - } - } - list nexthop-id { - description "List of nexthop ID of EPE"; - leaf entry { - type uint32; - } - } - list ifhandle { - description "List of ifhandle of EPE"; - leaf entry { - type uint32; - } - } - - list first-hop { - description "List of firsthops of EPE"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-UPDGEN-FILTERGRP-BAG { - description "BGP Update generation Filter-group information"; - leaf process-id { - type uint32; - description "ProcessID"; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf update-filter-group-index { - type uint32; - description "Filter-group index"; - } - leaf parent-filter-group-index { - type uint32; - description "Parent Filter-group index"; - } - leaf sub-group-index-xr { - type uint32; - description "Sub-group index"; - } - leaf sub-group-id-xr { - type uint32; - description "Sub-group identifier"; - } - leaf parent-sub-group-index { - type uint32; - description "Parent Sub-group index"; - } - leaf parent-sub-group-id { - type uint32; - description "Parent Sub-group identifier"; - } - leaf update-group-index-xr { - type uint32; - description "Update-group index"; - } - leaf neighbor-count { - type uint32; - description "Neighbor count"; - } - } - - grouping BGP-UPDGEN-UPDGRP-BAG { - description "BGP Update generation Update-group information"; - - container last-update-timer-start-timestamp { - description "Last update timer start time"; - uses BGP-TIMESPEC; - } - - container last-update-timer-stop-timestamp { - description "Last update timer stop time"; - uses BGP-TIMESPEC; - } - - container last-update-timer-expiry-timestamp { - description "Last update timer expiry time"; - uses BGP-TIMESPEC; - } - - container last-update-timer-remaining-value { - description "Update timer remaining time"; - uses BGP-TIMESPEC; - } - - container last-update-timer-delay-value { - description "Last update timer delay value"; - uses BGP-TIMESPEC; - } - - container update-statistics { - description "Update statistics"; - uses BGP-UPDGEN-STATS-BAG; - } - leaf process-id { - type uint32; - description "ProcessID"; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf neighbor-session-af-name { - type uint8; - description "Neighbor session address family"; - } - leaf update-group-index-xr { - type uint32; - description "Update-group index"; - } - leaf update-group-flags2 { - type uint32; - description "Update-group internal flags2"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue Messages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue Size"; - } - leaf update-sub-group-count { - type uint32; - description "Sub-group count"; - } - leaf sub-group-throttled-count { - type uint32; - description "Throttled sub-group count"; - } - leaf refresh-sub-group-count { - type uint32; - description "Refresh sub-group count"; - } - leaf refresh-sub-group-throttled-count { - type uint32; - description "Throttled refresh sub-group count"; - } - leaf filter-group-count { - type uint32; - description "Filter-group count"; - } - leaf neighbor-count { - type uint32; - description "Neighbor count"; - } - leaf neighbor-leaving-count { - type uint32; - description "Count of neighbors leaving the update-group"; - } - leaf update-generation-recovery-pending { - type boolean; - description "Is update generation recovery pending"; - } - leaf last-update-timer-expiry-age { - type uint32; - description "Time since last update timer expiry event"; - } - leaf is-update-timer-running { - type boolean; - description "Is update timer running"; - } - leaf perm-pelem-encountered { - type uint32; - description "Count of Perm Pelems seen by updgen"; - } - leaf perm-pelem-allowed { - type uint32; - description "Count of Perm Pelems allowed by updgen"; - } - leaf perm-pelem-not-allowed { - type uint32; - description "Count of Perm Pelems not allowed by updgen"; - } - leaf perm-pelem-exp-wdr { - type uint32; - description "Count of Perm Pelems explicitly wdrn by updgen"; - } - leaf perm-pelem-spur-wdr { - type uint32; - description - "Count of Perm Pelems Spurious withdraws by - updgen"; - } - leaf is-permanent { - type boolean; - description "Permanent UG check"; - } - } - - grouping BGP-BMP-PATH-BAG { - description "BMP Table path details"; - - container neighbor-address { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - leaf bmp-path-flags { - type uint32; - description "Flags associated with path"; - } - leaf bmp-path-adv-bit-map { - type uint16; - description "Path's Adv bit map"; - } - leaf bmp-path-snd-bit-map { - type uint16; - description "Path's pending snd bit map"; - } - leaf bmp-nbr-bit-map { - type uint32; - description "Paths Nbr bmp bit map"; - } - leaf local-path { - type boolean; - description "Is path originated locally?"; - } - leaf received-label { - type uint32; - description "Label received from peer"; - } - leaf bpath-pointer { - type uint64; - description "BGP Path pointer"; - } - } - - grouping BGP-BMP-NET-BAG { - description "BMP Table net details"; - - container bgp-prefix { - description "BGP prefix"; - uses BGP-PREFIXTYPE; - } - - container version-timestamp { - description "Net Version bump timestamp"; - uses BGP-TIMESPEC; - } - - container version-age { - description "Net Version bump age"; - uses BGP-TIMESPEC; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf bmp-net-flags { - type uint32; - description "Flags associated with net"; - } - leaf bmp-net-version { - type uint32; - description "Net's version"; - } - leaf num-of-path { - type uint32; - description "Number of path for the net"; - } - leaf has-local-label { - type boolean; - description "Net has local label"; - } - leaf net-local-label { - type uint32; - description "Local label"; - } - - list bmp-path { - description "List of paths under the BMP net"; - uses BGP-BMP-PATH-BAG; - } - } - - grouping BGP-RTSET { - description "BGP RT-set"; - leaf rt-set-len { - type uint8; - units "byte"; - description "Length in bytes of set of route targets"; - } - leaf rt-set-id { - type uint32; - description "Identifier of the rtset"; - } - leaf rt-set-net-count { - type uint32; - description "Count of nets with paths with the rtset"; - } - list rt-set { - description "Set of route targets"; - leaf entry { - type uint8; - } - } - } - - grouping BGP-RTSET-BAG { - description "BGP RT-set information"; - - container route-target-set { - description "Route Target set"; - uses BGP-RTSET; - } - } - - grouping BGP-INT-NH-GW { - description "BGP Internal Nexthop Gateway Information"; - leaf gateway-flags { - type uint32; - description "Gateway flags"; - } - leaf registration-type { - type Bgp-nh-validate; - description "Nexthop registration type"; - } - leaf registration-since { - type uint32; - description "Time since registration"; - } - } - - grouping BGP-INT-NH { - description "BGP Internal Nexthop information"; - - container nexthop-address { - description "Nexthop address"; - uses BGP-ADDRTYPE; - } - leaf nexthop-id { - type uint32; - description "Comm librray ID"; - } - leaf nexthop-version { - type uint32; - description "Table version"; - } - leaf nexthop-flags { - type uint32; - description "Nexthop flags"; - } - leaf nexthop-if-handle { - type uint32; - description "Nexthop ifhandle"; - } - leaf nexthop-af-user-bits { - type uint32; - description - "Bitmask indicating the AFs which share the - nexthop"; - } - leaf nexthop-label { - type uint32; - description "Nexthop label"; - } - leaf gateway-flags { - type uint32; - description "Gateway flags"; - } - list nexthop-metrice { - description "Nexthop metrices"; - leaf entry { - type uint32; - } - } - list nexthop-refcount { - description "Nexthop refcounts"; - leaf entry { - type uint32; - } - } - - list nexthop-gateway-internal-info { - description "Internal nexthop Gateway info"; - uses BGP-INT-NH-GW; - } - } - - grouping BGP-NEXTHOP-GW-INFO { - description "BGP Nexthop GW info"; - - container nexthop-route { - description "Route resolving the nethop"; - uses BGP-ADDRTYPE; - } - leaf nexthop-route-prefix-length { - type uint8; - description - "Prefix length of the route resolving the nexthop"; - } - leaf nexthop-route-protocol { - type string; - description "Protocol that resolves the route to the nexthop"; - } - leaf nexthop-route-path-count { - type uint32; - description "Number of paths in the resolving route"; - } - leaf nexthop-af-invalid-bits { - type uint16; - description - "Bitmask indicating the AFs which have been - invalidated for the nexthop"; - } - leaf nexthop-status { - type uint8; - description "Nexthop status"; - } - leaf nexthop-tableid { - type uint64; - description "Nexthop Table id"; - } - leaf nexthop-metric { - type uint32; - description "IGP metric for nexthop"; - } - leaf last-event-type { - type Bgp-nh-event; - description "Last nexthop event type"; - } - leaf last-update-type { - type Bgp-nh-update; - description "Last nexthop update type"; - } - leaf critical-events { - type uint32; - description "Number of critical events received from RIB"; - } - leaf non-critical-events { - type uint32; - description "Number of non-critical events received from RIB"; - } - leaf last-event-since { - type uint32; - description - "Time since the last event sent to or received - from RIB"; - } - leaf last-rib-update { - type uint32; - description "Time since the last rib update happened"; - } - leaf nexthop-mpls-enabled { - type boolean; - description - "TRUE if MPLS is configured for IAS/CsC - application"; - } - leaf nexthop-mpls-interfaces { - type uint32; - description "Number of interfaces on which MPLS is enabled"; - } - leaf nexthop-mpls-label { - type uint32; - description "Local label allocated for IAS/CsC application"; - } - - list nexthop-route-path { - description "Nexthops of the resolving route"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-NEXTHOP-BAG { - description "BGP Nexthop info"; - - container nexthop-address { - description "Nexthop address"; - uses BGP-ADDRTYPE; - } - - container nh-tunnel { - description "NH tunnel information"; - uses BGP-TE-TUNNEL; - } - - container nexthop-internal-info { - description "Internal nexthop info"; - uses BGP-INT-NH; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf rib-nexthop-id { - type uint32; - description "RIB Nexthop Id"; - } - leaf nexthop-pending-registration { - type uint8; - description "Nexthop registration is pending"; - } - leaf nexthop-reference-count { - type uint32; - description - "Number of neighbors/prefixes referencing this - nexthop"; - } - leaf nh-reference-count-total { - type uint32; - description - "Number of neighbors/prefixes referencing this - nexthop (AFs)"; - } - leaf nh-first-hop-if-handle { - type xr:Interface-name; - description "First-hop interface handle"; - } - leaf nexthop-aigp-metric { - type uint32; - description "AIGP metrice of nexthop"; - } - leaf nexthop-gateway-reachable { - type boolean; - description "Is Gateway reachable ?"; - } - leaf nexthop-gateway-prefix-connected { - type boolean; - description "Is Gateway resolved through Connected route ?"; - } - leaf nexthop-gateway-prefix-length { - type uint32; - description "Gateway prefix length"; - } - - list nexthop-gateway-info { - description - "Gateway related info, includingOptimal Route - Reflector Gateways"; - uses BGP-NEXTHOP-GW-INFO; - } - - list neighbor-address { - description "Neighbor Address List"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-NEXTHOP-PERF-VRF-AF-BAG { - description "BGP nexthop statistics for a VRF AF"; - leaf critical-notf-count { - type uint32; - description "Number of critical event notifications from RIB"; - } - leaf noncritical-notf-count { - type uint32; - description - "Number of non-critical event notifications from - RIB"; - } - leaf last-notf-bestpath-deletes { - type uint32; - description - "Number of bestpath deletes due to last - notification"; - } - leaf last-notf-bestpath-changes { - type uint32; - description - "Number of bestpath changes due to last - notification"; - } - leaf nh-sync-reg-calls { - type uint32; - description "NH sync register calls"; - } - leaf nha-sync-reg-calls { - type uint32; - description "NH async register calls"; - } - leaf nha-sync-un-reg-calls { - type uint32; - description "NH async unregister calls"; - } - leaf nh-pending-registrations { - type uint32; - description "NH Registration List Count"; - } - leaf nh-peak-registrations { - type uint32; - description "NH Registration List Count Peak"; - } - leaf nh-batch-finish-calls { - type uint32; - description "NH batch finish calls"; - } - leaf nh-flush-timer-calls { - type uint32; - description "NH flush timer calls"; - } - leaf nh-last-sync-reg-ts { - type uint32; - description "NH Last sync Register TS"; - } - leaf nh-last-a-sync-reg-ts { - type uint32; - description "NH Last async Register TS"; - } - leaf nh-last-a-sync-un-reg-ts { - type uint32; - description "NH Last async UnRegister TS"; - } - leaf nh-last-batch-finish-ts { - type uint32; - description "NH Last batch finish TS"; - } - leaf nh-last-flush-timer-ts { - type uint32; - description "NH Last flush timer TS"; - } - leaf nhrib-update-calls { - type uint32; - description "No. of calls to RIB update function"; - } - leaf nhrib-update-time { - type uint32; - units "millisecond"; - description "Time spent sending RIB updates (milliseconds)"; - } - leaf nexthops-sent-to-rib { - type uint32; - description "No. of nexthops sent to RIB"; - } - leaf nexthops-resent-to-rib { - type uint32; - description "No. of nexthops re-sent to RIB"; - } - leaf nexthops-removed-from-rib { - type uint32; - description "No. of nexthops withdrawn from RIB"; - } - leaf rib-sync-registers-failed { - type uint32; - description "No. of sync registers with RIB that failed"; - } - leaf riba-sync-registers-failed { - type uint32; - description "No. of async registers with RIB that failed"; - } - leaf ribnh-reg-failed-for-no-tbl-id { - type uint32; - description "No. of nh registers failed because of no tbl-id"; - } - leaf ribnh-reg-failed-for-no-rib-conn { - type uint32; - description - "No. of nh registers failed because of no rib - conn"; - } - leaf tunnel-walk-nh-not-found { - type uint32; - description - "No. of times nexthop was not found during tunnel - walk"; - } - leaf tunnel-walk-gw-not-found { - type uint32; - description - "No. of times gw was not found during tunnel walk"; - } - leaf tunnel-walk-backup-creates { - type uint32; - description - "No. of times backup tid created during tunnel - walk"; - } - } - - grouping BGP-NEXTHOP-VRF-AF-BAG { - description "BGP nexthop processing information for a VRF AF"; - - container performance-statistics { - description "Performance statistics"; - uses BGP-NEXTHOP-PERF-VRF-AF-BAG; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf gwaf-name { - type Bgp-afi; - description "GW Address family identifier"; - } - leaf total-nexthops { - type uint32; - description "Total number of nexthops"; - } - leaf critical-trigger-delay { - type uint32; - description "Trigger delay for critical event processing"; - } - leaf non-critical-trigger-delay { - type uint32; - description "Trigger delay for non-critical event processing"; - } - leaf table-active { - type boolean; - description "Whether the VRF is active"; - } - leaf nh-rib-up { - type boolean; - description "Whether the VRF is active"; - } - leaf nh-rib-version { - type uint32; - description "RIB version for gw_ctx"; - } - leaf nh-nexthop-version { - type uint32; - description "NH version for gw_ctx"; - } - leaf nh-table-id { - type uint32; - description "Gateway context table id"; - } - leaf epe-table-version { - type uint32; - description "Version of the EPE table"; - } - leaf epe-label-version { - type uint32; - description "Version of the EPE label walk"; - } - leaf epe-downloaded-version { - type uint32; - description "Version of the EPE table downloaded"; - } - leaf epe-standby-version { - type uint32; - description - "Version of the EPE table processed by sync - thread"; - } - } - - grouping BGP-UPDGEN-SUBGRP-BAG { - description "BGP Update generation Sub-group information"; - - container creation-timestamp { - description "Creation time"; - uses BGP-TIMESPEC; - } - - container last-merge-timestamp { - description "Last merge time"; - uses BGP-TIMESPEC; - } - - container first-update-walk-start-timestamp { - description "First update walk start time"; - uses BGP-TIMESPEC; - } - - container first-update-walk-end-timestamp { - description "First update walk end time"; - uses BGP-TIMESPEC; - } - - container last-update-walk-start-timestamp { - description "Last update walk start time"; - uses BGP-TIMESPEC; - } - - container last-update-walk-end-timestamp { - description "Last update walk end time"; - uses BGP-TIMESPEC; - } - - container last-update-queued-timestamp { - description "Last update queued time"; - uses BGP-TIMESPEC; - } - - container update-statistics { - description "Update statistics"; - uses BGP-UPDGEN-STATS-BAG; - } - leaf process-id { - type uint32; - description "ProcessID"; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf sub-group-index-xr { - type uint32; - description "Sub-group index"; - } - leaf sub-group-id-xr { - type uint32; - description "Sub-group ID"; - } - leaf parent-sub-group-index { - type uint32; - description "Parent Sub-group index"; - } - leaf parent-sub-group-id { - type uint32; - description "Parent Sub-group identifier"; - } - leaf update-group-index-xr { - type uint32; - description "Update-group index"; - } - leaf update-main-table-version { - type uint32; - description "Main table version"; - } - leaf update-vrf-table-rib-version { - type uint32; - description "VRF Table RIB version"; - } - leaf current-update-limit-sub-group { - type uint32; - description "Current update limit"; - } - leaf configured-update-limit-sub-group { - type uint32; - description "Configured update limit"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue messages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue size"; - } - leaf update-throttled { - type boolean; - description "Is update throttled"; - } - leaf refresh-sub-group-count { - type uint32; - description "Refresh sub-group count"; - } - leaf filter-group-count { - type uint32; - description "Filter-group count"; - } - leaf neighbor-count { - type uint32; - description "Neighbor count"; - } - leaf version { - type uint32; - description "Version"; - } - leaf nsr-version { - type uint32; - description "NSR version"; - } - leaf pending-target-version { - type uint32; - description "Pending target version"; - } - leaf next-resume-version { - type uint32; - description "Next resume version"; - } - leaf update-refresh-target-version { - type uint32; - description "Refresh target version"; - } - leaf io-write-event-pending { - type boolean; - description "Is IO write event pending"; - } - leaf update-default-route-sent { - type boolean; - description "Is default route sent"; - } - leaf merge-count { - type uint32; - description "Merge count"; - } - leaf last-merged-sub-group-index { - type uint32; - description "Last merged sub-group index"; - } - leaf eo-r-attempted { - type boolean; - description "Sending EoR has been attempted"; - } - leaf last-update-walk-end-age { - type uint32; - description "Time since last update walk end event"; - } - leaf last-update-queued-age { - type uint32; - units "second"; - description - "Time since last update queued event (in seconds)"; - } - } - - grouping BGP-ATTR-BAG { - description "BGP attribute information"; - - container attribute-info { - description "Attributes"; - uses BGP-ATTR; - } - leaf process-instance-id { - type uint8; - description "Process instance ID"; - } - leaf attribute-instance-id { - type uint8; - description "Attribute Instance ID"; - } - leaf attribute-structure-id { - type uint32; - description "ID of attribute structure"; - } - leaf attribute-structure-hash-value { - type uint32; - description "Hash value for attribute structure"; - } - leaf reference-count { - type uint32; - description - "Number of paths which use this attribute - structure"; - } - } - - grouping BGP-UPD-FILTERGRP { - description "Update filter-group entry"; - leaf update-filter-group-number { - type uint32; - description "Update sub-group index"; - } - leaf rts { - type uint32; - description "RT count per filter group"; - } - leaf fgroup-flags { - type uint8; - description "Flags per filter group"; - } - leaf fgroup-neighbors { - type uint16; - description "Nbrs per filter group"; - } - leaf fgroup-created-message-elements { - type uint32; - description "Number of message elems created for filtergroup"; - } - leaf fgroup-deleted-message-elements { - type uint32; - description "Number of message elems deleted"; - } - leaf fgroup-queued-message-elements { - type uint32; - description "Number of message elems queued"; - } - leaf fgroup-advertised-prefixes { - type uint32; - description - "Number of prefixes advertised to filtergroup in - last update walk"; - } - leaf fgroup-total-advertised-prefixes { - type uint32; - description - "Number of prefixes advertised to filtergroup in - all update walk"; - } - leaf fgroup-withdrawn-prefixes { - type uint32; - description - "Number of prefixes withdrawn f`rom filtergroupin - last update walk"; - } - leaf fgroup-total-withdrawn-prefixes { - type uint32; - description - "Number of prefixes withdrawn f`rom filtergroupin - all update walk"; - } - leaf fgroup-total-non-optimised-prefixes { - type uint32; - description - "Number of prefixes non-optm from filtergroupin - all update walk"; - } - leaf fgroup-skipped-prefixes { - type uint32; - description - "Number of prefixes skipped for filtergroup in - last update walk"; - } - leaf fgroup-suppressed-prefixes { - type uint32; - description - "Number of prefixes suppressed for filtergroup in - last update walk"; - } - leaf is-rt-present { - type boolean; - description "RT attribute list present"; - } - list extended-community { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - - list neighbor { - description "Neighbors in this update sub-group"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-UPD-SUBGRP { - description "Update sub-group entry"; - leaf update-sub-group-number { - type uint32; - description "Update sub-group index"; - } - leaf filter-group { - type uint16; - description "Update sub-group fgrp-num"; - } - leaf wait-for-eo-rs { - type boolean; - description "Wait for RT Nbr EoRs"; - } - - list update-filter-group { - description "Update f-group list"; - uses BGP-UPD-FILTERGRP; - } - - list neighbor { - description "Neighbors in this subgrp not in any filtergrp"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-PERF-UPDGRP { - description "BGP PERF UPDGRP"; - leaf update-generation-calls { - type uint32; - description "No. of calls to update generation function"; - } - leaf update-generation-prefixes-count { - type uint32; - description "No. of prefixes updates generated for"; - } - leaf update-generation-be-prefixes-count { - type uint32; - description "No. of be prefixes updates generated for"; - } - leaf update-generation-messages-count { - type uint32; - description "No. of update messages generated"; - } - leaf update-generation-time { - type uint32; - units "millisecond"; - description "Time spent generating updates (milliseconds)"; - } - leaf updgen-timer-start-time { - type uint64; - description "Timestamp when update timer started for updgrp"; - } - leaf updgen-timer-stop-time { - type uint64; - description "Timestamp when update timer stopped for updgrp"; - } - leaf updgen-timer-process-time { - type uint64; - description - "Timestamp when update timer processed for updgrp"; - } - } - - grouping BGP-UPDGRP-BAG { - description "BGP Update Group information"; - - container performance-statistics { - description "Performance statistics"; - uses BGP-PERF-UPDGRP; - } - leaf process-instance-id { - type uint8; - description "Process instance ID"; - } - leaf session-af-name { - type uint8; - description "Neighbor session Address family"; - } - leaf update-group-number { - type uint32; - description "Update group index"; - } - leaf update-group-af-name { - type Bgp-afi; - description "Address family for update group"; - } - leaf should-send-communities { - type boolean; - description "Send communities"; - } - leaf should-send-ext-communities { - type boolean; - description "Send Extended communities"; - } - leaf should-send-stitching-rt { - type boolean; - description "Send Stitching RT"; - } - leaf has-orf-receive-capability { - type boolean; - description "ORF receive capability"; - } - leaf is-route-reflector-client { - type boolean; - description "Route-reflector client"; - } - leaf is-client-reflection-disabled { - type boolean; - description - "True if client-to-client reflection is disabled "; - } - leaf accepts-legacy-pe-rt-route { - type boolean; - description "accept-legacy-pe-RT route"; - } - leaf updgrp-cluster-id { - type uint32; - description - "Cluster ID (populated ifclient-to-client - reflectionis disabled)"; - } - leaf updgrp-cluster-type { - type uint8; - description "Cluster ID type:undefined/number/Ip address"; - } - leaf orr-group-name { - type string; - description "ORR Group Name"; - } - leaf orr-group-index { - type uint32; - description "ORR Group Index"; - } - leaf is-orr-root-address-configured { - type boolean; - description - "ORR Root address configuredfor the neighbor - connection"; - } - leaf should-remove-private-a-ss { - type boolean; - description "Remove private AS numbers"; - } - leaf should-remove-private-as-ent-path { - type boolean; - description - "Remove private AS numbersif the entire path - consistsof private ASes"; - } - leaf use-next-hop-self { - type boolean; - description "Next hop self"; - } - leaf use-next-hop-unchanged-mpath { - type boolean; - description "Next-hop-unchanged multipath"; - } - leaf is-internal-peers { - type boolean; - description "Internal peers"; - } - leaf is-common-admin-peers { - type boolean; - description "Common admin peers"; - } - leaf is4-byte-as-peer { - type boolean; - description "4-byte AS capable peers"; - } - leaf is-addpath-capable { - type boolean; - description "Add-path capable peers"; - } - leaf is-send-mcast-attr-enabled { - type boolean; - description "Send mcast attribute enabled"; - } - leaf is-aigp-capable { - type boolean; - description "AIGP capable peers"; - } - leaf is-aigp-cost-community-capable { - type boolean; - description "Send AIGP cost community to peers"; - } - leaf is-aigp-med-capable { - type boolean; - description "Send AIGP cost in MED"; - } - leaf is-llgr-capable { - type boolean; - description "Send Long-lived Stale paths"; - } - leaf is-adv-capable { - type boolean; - description "Send tranlsated paths"; - } - leaf is-adv-reorg-capable { - type boolean; - description "Send Re-orig paths"; - } - leaf disable-native-advertisement { - type boolean; - description "Disable advertising native routes"; - } - leaf disable-def-vrf-imp-advertisement { - type boolean; - description - "Disable advertising default VRF imported routes"; - } - leaf disable-vrf-re-imp-advertisement { - type boolean; - description "Disable advertising VRF re-imported routes"; - } - leaf encapsulation-type { - type uint32; - description "Encapsulation type"; - } - leaf advertise-rt-type { - type uint8; - description "Advertise RT type"; - } - leaf is-directly-connected-ebgp-v6-peers { - type boolean; - description "Directly connected EBGP v6 peers"; - } - leaf minimum-advertisement-interval { - type uint32; - units "second"; - description "Minimum advertisement interval, secs part"; - } - leaf minimum-advertisement-interval-msecs { - type uint32; - units "millisecond"; - description "Minimum advertisement interval, msecs part"; - } - leaf local-as { - type uint32; - description "Local AS number"; - } - leaf route-policy-out { - type string; - description "Outbound route policy name"; - } - leaf desync-count { - type uint32; - description - "Number of times the update has been - desynchronized"; - } - leaf subgrp-merge-count { - type uint32; - description "Number of times sub-groups have been merged"; - } - leaf refresh-subgrp-count { - type uint32; - description "Current count of refresh subgroups"; - } - leaf updates-formatted { - type uint32; - description "Number of updates formatted"; - } - leaf updates-replicated { - type uint32; - description "No. of updates replicated"; - } - leaf local-as-replace-as { - type boolean; - description "Local AS Replace-AS option"; - } - leaf as-override { - type boolean; - description "AS Override option"; - } - leaf soo-value { - type string; - description "Site-of-origin value"; - } - leaf split-horizon { - type boolean; - description "Split horizon check"; - } - leaf is-labeled-afi-enabled { - type boolean; - description "Update group has labeled AFI enabled"; - } - leaf is-unlabeled-afi-enabled { - type boolean; - description "Update group has unlabeled AFI enabled"; - } - leaf ext-nh-encoding { - type boolean; - description "Extended nexthop encoding cap received"; - } - leaf remote-as { - type uint32; - description "Remote AS number"; - } - leaf is-adv-perm-net-capable { - type boolean; - description "Advertise Permanent-Net capable peers"; - } - leaf should-send-gshut-community { - type boolean; - description "Send GSHUT community"; - } - leaf gshut-active { - type boolean; - description "GSHUT active"; - } - leaf gshut-locpref-set { - type boolean; - description "GSHUT local preference set"; - } - leaf gshut-locpref { - type uint32; - description "GSHUT local preference"; - } - leaf gshut-prepends { - type uint8; - description "GSHUT AS prepends"; - } - leaf advertise-local-labeled-route-unicast { - type boolean; - description - "Advertise routes with local-label via Unicast - SAFI"; - } - leaf enable-label-stack { - type boolean; - description "Enable label stack"; - } - - list neighbor { - description - "Neighbors in this update group which are not in - any sub-group"; - uses BGP-ADDRTYPE; - } - - list update-sub-group { - description "Update sub-group list"; - uses BGP-UPD-SUBGRP; - } - } - - grouping BGP-STATIC-ROUTES-BAG { - description "BGP static routes information"; - - container sourced-prefix { - description "Prefix length"; - uses BGP-PREFIXTYPE; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf is-backdoor { - type boolean; - description "TRUE if net is a backdoor route"; - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-AF-VRF { - description "BGP GLOBAL PROCESS INFO AF VRF"; - leaf table-is-active { - type boolean; - description "Table state is active"; - } - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-version { - type uint32; - description "Table version"; - } - leaf rd-version { - type uint32; - description "RD version"; - } - leaf rib-version { - type uint32; - description "Table version synced to RIB"; - } - leaf nsr-conv-version { - type uint32; - description "NSR conv version"; - } - leaf nsr-is-conv { - type boolean; - description "NSR is converged"; - } - leaf client-reflection-enabled { - type boolean; - description "Client reflection enabled"; - } - leaf dampening-enabled { - type boolean; - description "Dampening enabled"; - } - leaf ebgp-distance { - type uint16; - description "Distance for eBGP routes (external)"; - } - leaf ibgp-distance { - type uint16; - description "Distance for iBGP routes (internal)"; - } - leaf aggregates-distance { - type uint16; - description "Dist for aggregate routes (local)"; - } - leaf dynamic-med-enabled { - type boolean; - description "Update generation enabled for MED change"; - } - leaf dynamic-med-interval { - type uint16; - units "minute"; - description - "Delay in update generation after a MED change - (in minutes)"; - } - leaf dynamic-med-timer-running { - type boolean; - description "Dynamic MED timer running"; - } - leaf dynamic-med-timer-value { - type uint16; - units "second"; - description - "Dynamic MED timer value (in seconds) left on the - timer"; - } - leaf dynamic-med-periodic-timer-running { - type boolean; - description "Dynamic MED periodic timer running"; - } - leaf dynamic-med-periodic-timer-value { - type uint16; - units "second"; - description - "Dynamic MED periodic timer value (in seconds) - left on the timer"; - } - leaf rib-has-converged { - type boolean; - description "Received convergence notification from RIB"; - } - leaf rib-convergence-version { - type uint32; - description "Last convergence version received from RIB"; - } - leaf is-rib-table-full { - type boolean; - description "Indicates if RIB table is in prefix-limit state"; - } - leaf rib-table-full-version { - type uint32; - description - "Version when RIB table became full (from - non-full)"; - } - leaf nexthop-resolution-minimum-prefix-length-configured { - type boolean; - description - "Is nexthop resoultion minimum prefix-length - configured ?"; - } - leaf nexthop-resolution-minimum-prefix-length { - type uint32; - description "Nexthop resoultion minimum prefix-length"; - } - leaf selective-ebgp-multipath-enabled { - type boolean; - description "Selective eBGP multipath isenabled"; - } - leaf selective-ibgp-multipath-enabled { - type boolean; - description "Selective iBGP multipath isenabled"; - } - leaf selective-eibgp-multipath-enabled { - type boolean; - description "Selective eiBGP multipath isenabled"; - } - leaf rib-acked-table-version { - type uint32; - description "Table version acked by RIB"; - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-AF-GBL { - description "BGP GLOBAL PROCESS INFO AF GBL"; - - container rib-install { - description "RIB install info"; - uses BGP-RIB-INSTALL-TIME-INFO; - } - leaf scanner-period { - type uint16; - units "second"; - description - "Period (in seconds) of address-family scanner - runs"; - } - leaf nh-tunnel-version { - type uint32; - description "NH Tunnel Version"; - } - leaf scan-prefixes { - type uint32; - description "Total prefixes of address-family scanned"; - } - leaf scan-segment-prefixes { - type uint32; - description - "Number of prefixes scanned in a segment of - address-family"; - } - leaf scan-segments { - type uint8; - description - "Number of segments to scan all prefixes of - address-family"; - } - leaf inter-as-install-enabled { - type boolean; - description "Is inter-AS install to pim on ASBR enabled"; - } - leaf global-mcast-enabled { - type boolean; - description "Is global table mcast enabled"; - } - leaf segmented-mcast-enabled { - type boolean; - description "Is segmented mcast enabled"; - } - leaf gblafrpki-disable { - type boolean; - description "Prefix validation disabled"; - } - leaf gblafrpki-use-validity { - type boolean; - description "Prefix v. use validity"; - } - leaf gblafrpki-allow-invalid { - type boolean; - description "Prefix v. allow invalid"; - } - leaf gblafrpki-signal-ibgp { - type boolean; - description "Prefix v. signal ibgp"; - } - leaf update-wait-install-enabled { - type boolean; - description "Update wait-install enabled"; - } - leaf rib-ack-requests { - type uint32; - description "Counter for RIB ack requests"; - } - leaf rib-acks-received { - type uint32; - description "Counter for RIB ack received"; - } - leaf rib-slow-acks { - type uint32; - description "Counter for slow RIB acks"; - } - leaf is-perm-net-cfg { - type boolean; - description "Permanent Network Enabled"; - } - leaf perm-net-del-count { - type uint16; - description "Count of removed perm paths"; - } - leaf perm-net-stale-del-count { - type uint16; - description "Count of stale perm paths"; - } - leaf perm-net-stale-mark-count { - type uint16; - description "Count of stale marked perm paths"; - } - leaf perm-net-insert-count { - type uint16; - description "Count of inserted perm paths"; - } - leaf perm-net-existing-count { - type uint16; - description "Count of existing perm paths"; - } - leaf perm-net-rpl-query-count { - type uint16; - description "Count of perm nets given by RPL"; - } - leaf perm-net-rpl-process-count { - type uint16; - description "Count of perm nets processed in RPL"; - } - leaf perm-nbr-count { - type uint16; - description "Count of neighbors configured with perm net"; - } - leaf rib-perm-pelem-not-found-count { - type uint16; - description ""; - } - leaf rib-perm-path-not-found-count { - type uint16; - description ""; - } - leaf rib-perm-pelem-found-count { - type uint16; - description ""; - } - leaf rib-reg-path-found-count { - type uint16; - description ""; - } - leaf rib-perm-path-found-count { - type uint16; - description ""; - } - leaf perm-pelem-free-count { - type uint16; - description "Count of freed perm pelems"; - } - leaf perm-path-refresh-count { - type uint16; - description "Count of perm paths refreshed"; - } - leaf perm-pelem-bump-count { - type uint16; - description "Count of bumped perm pelems"; - } - leaf perm-pelem-all-bump-count { - type uint16; - description "Count of bumped perm pelems"; - } - list syncgrp-version { - max-elements "2"; - - description "Sync-group Version"; - leaf entry { - type uint32; - } - } - } - - grouping BGP-GLOBAL-PROCESS-INFO-AF-BAG { - description - "BGP address family specific information common to - all BGP processes"; - - container global { - description "Global information"; - uses BGP-GLOBAL-PROCESS-INFO-AF-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-GLOBAL-PROCESS-INFO-AF-VRF; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf af-name { - type Bgp-afi; - description "Address family id"; - } - leaf is-nsr-enabled { - type boolean; - description "Non-stop routing enabled"; - } - } - - grouping BGP-RPC-SET-BAG { - description "BGP RPC SET BAG"; - leaf next-hop-xr { - type uint32; - description "Number of multipath next-hops"; - } - leaf label { - type uint32; - description "Label assigned to the RPCnext-hop set"; - } - leaf ref-count { - type uint32; - description "Refcount"; - } - - list next-hop { - description "List of multipath next-hops"; - uses BGP-ADDRTYPE; - } - } - - grouping BGP-BMP-TBL-GBL-BAG { - description "BMP Table global information"; - - container bmp-version-wrap-time-spec { - description "Version Wrap timestamp"; - uses BGP-TIMESPEC; - } - - container bmp-version-wrap-start-time-spec { - description "Version Wrap handle start timestamp"; - uses BGP-TIMESPEC; - } - - container bmp-version-wrap-done-time-spec { - description "Version Wrap handle Done timestamp"; - uses BGP-TIMESPEC; - } - leaf bmp-route-monitoringe-enabled { - type boolean; - description "Is Route Monitoring mode enabled"; - } - leaf bmp-table-version { - type uint32; - description "Table version"; - } - leaf network-count { - type uint32; - description "Number of nets in the table"; - } - leaf path-count { - type uint32; - description "Number of paths in the table"; - } - leaf bmp-version-wrapped { - type uint32; - description "Number of times Table Version Wrapped"; - } - leaf bmp-version-wrapped-tid { - type uint32; - description "Version Wrapped trigger thread id"; - } - leaf bmp-version-inprogress { - type boolean; - description "Is Version wrap in progress"; - } - leaf bmp-version-incremented { - type boolean; - description "Is Version being incremented"; - } - } - - grouping BGP-PERF-PROCESS-AF-VRF { - description "BGP PERF PROCESS AF VRF"; - - container time-rib-coverged { - description "Time last RIB ack was sent "; - uses BGP-TIMESPEC; - } - - container time-rib-down { - description - "Time last RIB down wassent. This field is - deprecated"; - uses BGP-TIMESPEC; - } - - container first-rib-table-full-timestamp { - description - "Timestamp when RIB table was full for the first - time"; - uses BGP-TIMESPEC; - } - - container last-rib-table-full-timestamp { - description - "Timestamp when RIB table was full for the last - time"; - uses BGP-TIMESPEC; - } - - container first-rib-table-has-space-timestamp { - description - "Timestamp when RIB table had space for the first - time"; - uses BGP-TIMESPEC; - } - - container last-rib-table-has-space-timestamp { - description - "Timestamp when RIB table had space for the last - time"; - uses BGP-TIMESPEC; - } - - container time-label-retain { - description "Time last label retentiontriggered "; - uses BGP-TIMESPEC; - } - leaf update-generation-calls { - type uint32; - description "No. of calls to update generation function"; - } - leaf update-generation-prefixes-count { - type uint32; - description "No. of prefixes updates generated for"; - } - leaf update-generation-be-prefixes-count { - type uint32; - description "No. of be prefixes updates generated for"; - } - leaf update-generation-messages-count { - type uint32; - description "No. of update messages generated"; - } - leaf update-generation-time { - type uint32; - units "millisecond"; - description "Time spent generating updates (milliseconds)"; - } - leaf rib-update-calls { - type uint32; - description "No. of calls to RIB update function"; - } - leaf rib-update-time { - type uint32; - units "millisecond"; - description "Time spent sending RIB updates (milliseconds)"; - } - leaf prefixes-sent-to-rib { - type uint32; - description "No. of prefixes sent to RIB"; - } - leaf prefixes-resent-to-rib { - type uint32; - description "No. of prefixes re-sent to RIB"; - } - leaf prefixes-not-sent-to-rib { - type uint32; - description - "No. of prefixes not sent to RIB due to - unsupported label stack size"; - } - leaf prefixes-removed-from-rib { - type uint32; - description "No. of prefixes withdrawn from RIB"; - } - leaf attributes-sent-to-rib { - type uint32; - description "No. of attributes sent to RIB"; - } - leaf attributes-removed-from-rib { - type uint32; - description "No. of attributes withdrawn from RIB"; - } - leaf attributes-recover-from-rib { - type uint32; - description "No. of attributes recovered from RIB"; - } - leaf scanner-runs { - type uint32; - description "# of times scanner has run"; - } - leaf scanner-time { - type uint32; - units "millisecond"; - description "Time spent running scanner (milliseconds)"; - } - leaf rib-tbl-del-calls { - type uint32; - description - "No. of rib update skipped on account of table - delete"; - } - leaf rib-tbl-invalid-calls { - type uint32; - description "No. of rib update skipped due to table invalid"; - } - leaf rib-tbl-skip-calls { - type uint32; - description "No. of rib update skipped"; - } - leaf rib-tbl-local-label { - type uint32; - description - "No. of rib update skipped. due to no local label"; - } - leaf rib-tbl-retry { - type uint32; - description "No. of table rib retires."; - } - leaf time-last-update-sent { - type uint32; - units "second"; - description - "Time last update was sent (seconds since Jan 1 - 1970)"; - } - leaf is-rib-table-full { - type boolean; - description "Indicates if RIB table is in prefix-limit state"; - } - leaf rib-table-full-version { - type uint32; - description - "Version when RIB table became full (from - non-full)"; - } - leaf first-rib-table-full-version { - type uint32; - description - "Version when RIB table was full for the first - time"; - } - leaf last-rib-table-full-version { - type uint32; - description - "Version when RIB table was full for the last - time"; - } - leaf last-rib-table-full-age { - type uint32; - units "second"; - description - "Time since RIB table was full for the last time - (in seconds)"; - } - leaf first-rib-table-has-space-version { - type uint32; - description - "Version when RIB table had space for the first - time"; - } - leaf last-rib-table-has-space-version { - type uint32; - description - "Version when RIB table had space for the last - time"; - } - leaf last-rib-table-has-space-age { - type uint32; - units "second"; - description - "Times since RIB table had space for the last - time (in seconds)"; - } - leaf rib-trigger { - type boolean; - description "Rib trigger enabled"; - } - leaf vrf-flags { - type uint32; - description "VRF flags for debug display"; - } - leaf label-calls { - type uint32; - description - "No. of calls to label allocation processing - function"; - } - leaf label-time { - type uint32; - units "millisecond"; - description - "Time spent running label processing - (milliseconds)"; - } - leaf label-rewrite-count { - type uint32; - description "Number of label rewrites created"; - } - leaf label-release-count { - type uint32; - description "Number of labels released"; - } - leaf label-added-count { - type uint32; - description "Number of labels requested"; - } - leaf import-calls { - type uint32; - description "Number of calls to import processing function"; - } - leaf import-time { - type uint32; - units "millisecond"; - description - "Time spent in import processing (milliseconds) - Note time accounted against source nets."; - } - leaf import-src-net-processed-count { - type uint32; - description "Number of source nets processed"; - } - leaf import-dest-net-processed-count { - type uint32; - description "Number of destination nets processed"; - } - leaf import-added-path-count { - type uint32; - description "Number of imported paths added"; - } - leaf import-removed-path-count { - type uint32; - description "Number of imported paths removed"; - } - leaf import-replaced-path-count { - type uint32; - description "Number of imported paths "; - } - leaf update-group-count { - type uint32; - description "No. of update group"; - } - leaf subgroup-count { - type uint32; - description "No. of update subgroup"; - } - } - - grouping BGP-PERF-PROCESS-AF-GBL { - description "BGP PERF PROCESS AF GBL"; - leaf has-converged { - type boolean; - description "TRUE if process has converged"; - } - leaf first-nbr-up-time { - type uint32; - units "second"; - description - "Time when first peer came up (seconds since Jan - 1 1970)"; - } - leaf total-pim-install { - type uint32; - description "Total number of install to PIM"; - } - leaf total-pim-callbacks { - type uint32; - description "Total number of PIM callbacks"; - } - leaf total-pim-callback-batch { - type uint32; - description "Total number of Pim callback batches"; - } - list mode-enter-time { - max-elements "7"; - - description - - "Time that each mode was entered (seconds since - - Jan 1 1970)"; - leaf entry { - type uint32; - - units "second"; - } - } - list total-pim-install-add { - max-elements "7"; - - description "Total number of install to PIM for add"; - leaf entry { - type uint32; - } - } - list total-pim-install-del { - max-elements "7"; - - description "Total number of install to PIM for del"; - leaf entry { - type uint32; - } - } - list total-pim-callback-add { - max-elements "7"; - - description "Total number of Pim callbacks for add"; - leaf entry { - type uint32; - } - } - list total-pim-callback-del { - max-elements "7"; - - description "Total number of Pim callbacks for del"; - leaf entry { - type uint32; - } - } - list total-pim-callback-add-local { - max-elements "7"; - - description "Total number of Pim callbacks for local add"; - leaf entry { - type uint32; - } - } - list total-pim-callback-del-local { - max-elements "7"; - - description "Total number of Pim callbacks for Local del"; - leaf entry { - type uint32; - } - } - } - - grouping BGP-PERF-PROCESS-AF { - description "BGP PERF PROCESS AF"; - - container global { - description "Global information"; - uses BGP-PERF-PROCESS-AF-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-PERF-PROCESS-AF-VRF; - } - } - - grouping BGP-PROCESS-INFO-AF-VRF { - description "BGP PROCESS INFO AF VRF"; - leaf network-entry-count { - type uint32; - description "Number of network entries"; - } - leaf paths-count { - type uint32; - description "Number of paths"; - } - leaf imported-paths { - type uint32; - description "Number of imported paths"; - } - leaf local-paths { - type uint32; - description "Number of local paths"; - } - leaf path-elems-count { - type uint32; - description "Number of path elems"; - } - leaf path-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by path data"; - } - leaf imported-path-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by imported paths"; - } - leaf local-path-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by local paths"; - } - leaf prefix-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by prefix data"; - } - leaf path-elem-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by pathelem data"; - } - leaf received-path-count { - type uint32; - description - "Number of (unused) received paths for inbound - soft reconfiguration"; - } - leaf history-path-count { - type uint32; - description "Number of history paths (for dampening)"; - } - leaf damped-path-count { - type uint32; - description "Number of dampened paths"; - } - leaf malloced-prefix-count { - type uint32; - description "Activity: Number of prefixes malloced"; - } - leaf freed-prefix-count { - type uint32; - description "Activity: Number of prefixes freed"; - } - leaf malloced-path-count { - type uint32; - description "Activity: Number of paths malloced"; - } - leaf freed-path-count { - type uint32; - description "Activity: Number of paths freed"; - } - leaf malloced-path-elem-count { - type uint32; - description "Activity: Number of path elems malloced"; - } - leaf freed-path-elem-count { - type uint32; - description "Activity: Number of pathelems freed"; - } - leaf any-ebgp-neighbor-missing-policy { - type boolean; - description - "Is there any neighbor which is missing either - inbound or outbound or both routing policy for - this address family?"; - } - leaf attribute-download { - type boolean; - description "Attribute download is "; - } - leaf route-target-download { - type boolean; - description "Route Target download is enabled"; - } - leaf add-path-install-enable { - type boolean; - description "Additional paths installation is enabled"; - } - leaf add-path-install-disable { - type boolean; - description "Additional paths installation is disabled"; - } - leaf best-external { - type boolean; - description "Best External is enabled"; - } - leaf best-external-disable { - type boolean; - description "Best External is enabled"; - } - leaf label-retain { - type boolean; - description "Label retention is enabled"; - } - leaf label-retainvalue { - type uint32; - description "Label retention value enabled"; - } - leaf tbl-bitf-size { - type uint16; - description "Bitfield size on table"; - } - leaf tbl-chunk-bitf-size { - type uint16; - description "Chunk Bitfield size on table"; - } - leaf is-route-reflector { - type boolean; - description "Router is an RR for this AF"; - } - leaf asbr { - type boolean; - description "Router is an ASBR for this AF"; - } - leaf retain-rt-all { - type boolean; - description "Retain-RT-All enabled"; - } - leaf ibgp-nexthop-self-count { - type uint32; - description "Number of iBGP sessions configured with nh-self"; - } - leaf use-igpsr-label { - type boolean; - description "Use IGP SR label for resolution"; - } - leaf bmp-network-entry-count { - type uint32; - description "Number of BMP net entries"; - } - leaf bmp-paths-count { - type uint32; - description "Total Number of BMP paths"; - } - leaf bmp-prefix-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by prefix data"; - } - leaf bmp-path-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by path data"; - } - } - - grouping BGP-RIB-INSTALL-TIME-INFO { - description "BGP RIB INSTALL TIME INFO"; - - container update-time { - description "RIB update time"; - uses BGP-TIMESPEC; - } - - container install-time { - description "RIB install time"; - uses BGP-TIMESPEC; - } - leaf installed-count { - type uint32; - description "Installed routes"; - } - leaf modified-count { - type uint32; - description "Modified routes"; - } - leaf skipped-count { - type uint32; - description "Skipped routes"; - } - leaf withdrawn-count { - type uint32; - description "Withdrawn routes"; - } - leaf start-version { - type uint32; - description "Start version"; - } - leaf target-version { - type uint32; - description "Target version"; - } - } - - grouping BGP-THREAD-TRIGGER-INFO-STAT { - description "BGP THREAD TRIGGER INFO STAT"; - - container trigger-time-spec { - description "trigger time spec"; - uses BGP-TIMESPEC; - } - leaf trigger-version { - type uint32; - description "TriggerVersion"; - } - leaf trigger-table-version { - type uint32; - description "TriggerTableVersion"; - } - } - - grouping BGP-THREAD-TRIGGER-INFO { - description "BGP THREAD TRIGGER INFO"; - leaf triggers { - type uint32; - description "Triggers"; - } - - list statistic { - description "statistic"; - uses BGP-THREAD-TRIGGER-INFO-STAT; - } - } - - grouping BGP-PROCESS-INFO-AF-GBL { - description "BGP PROCESS INFO AF GBL"; - - container version-wrap-time-spec { - description "Version Wrap timestamp"; - uses BGP-TIMESPEC; - } - - container version-wrap-start-time-spec { - description "Version Wrap handle start timestamp"; - uses BGP-TIMESPEC; - } - - container version-wrap-done-time-spec { - description "Version Wrap handle Done timestamp"; - uses BGP-TIMESPEC; - } - - container trigger-rib { - description "Trigger RIB"; - uses BGP-THREAD-TRIGGER-INFO; - } - - container trigger-import { - description "Trigger import"; - uses BGP-THREAD-TRIGGER-INFO; - } - - container trigger-update { - description "Trigger update"; - uses BGP-THREAD-TRIGGER-INFO; - } - - container trigger-label { - description "Trigger label"; - uses BGP-THREAD-TRIGGER-INFO; - } - - container rib-install { - description "RIB install info"; - uses BGP-RIB-INSTALL-TIME-INFO; - } - leaf router-state { - type Bgp-rtr-state; - description "Router state"; - } - leaf table-version { - type uint32; - description "BGP table version"; - } - leaf version-wrapped { - type uint32; - description "Number of times Version Wrap happened"; - } - leaf version-wrapped-tid { - type uint32; - description "Version Wrapped trigger tid"; - } - leaf max-active-pelem-version { - type uint32; - description "Maximum Active Pelem Version"; - } - leaf merged-table-version { - type uint32; - description "Merged Table Version"; - } - leaf route-download-go-active-done-pending { - type uint32; - description "Route Download Go Active Done Pending"; - } - leaf rib-brib-received-version { - type uint32; - description "Version received from "; - } - leaf table-brib-version { - type uint32; - description "Version sent to RIB/bRIB"; - } - leaf label-version { - type uint32; - description "Version updated by label thread"; - } - leaf import-version { - type uint32; - description "Version updated by import thread"; - } - leaf standby-version { - type uint32; - description "Version updated by sync thread"; - } - leaf send-version { - type uint32; - description "Version for sending updates to peers"; - } - leaf num-init-sync-pfx { - type uint32; - description "Num of prefix synced during Initsync"; - } - leaf max-label-stack-depth-v4-next-hop { - type uint32; - description - "Max supported label stack depth for IPv4 Nexthop"; - } - leaf max-label-stack-depth-v6-next-hop { - type uint32; - description - "Max supported label stack depth for IPv6 Nexthop"; - } - leaf local-networks-num { - type uint32; - description "Total local networks"; - } - leaf local-networks-memory { - type uint32; - description "Total local networks memory"; - } - leaf local-networks-malloced-num { - type uint32; - description "Total local networks malloced"; - } - leaf local-networks-freed-num { - type uint32; - description "Total local networks freed"; - } - leaf local-paths-num { - type uint32; - description "Total local paths"; - } - leaf local-paths-memory { - type uint32; - description "Total local paths memory"; - } - leaf local-paths-malloced-num { - type uint32; - description "Total local paths malloced"; - } - leaf local-paths-freed-num { - type uint32; - description "Total local paths freed"; - } - leaf imported-paths-num { - type uint32; - description "Total impoorted paths "; - } - leaf imported-paths-memory { - type uint32; - description "Total imported paths memory"; - } - leaf networks-num { - type uint32; - description "Total Num of networks"; - } - leaf networks-memory { - type uint32; - description "Total networks memory"; - } - leaf networks-malloced-num { - type uint32; - description "Total networks malloced"; - } - leaf networks-freed-num { - type uint32; - description "Total networks freed"; - } - leaf paths-num { - type uint32; - description "Total Num of paths"; - } - leaf paths-memory { - type uint32; - description "Total paths memory"; - } - leaf paths-malloced-num { - type uint32; - description "Total paths malloced"; - } - leaf paths-freed-num { - type uint32; - description "Total paths freed"; - } - leaf path-elems-num { - type uint32; - description "Total Num of path-elems"; - } - leaf path-elems-memory { - type uint32; - description "Total path-elems memory"; - } - leaf path-elems-malloced-num { - type uint32; - description "Total path-elems malloced"; - } - leaf path-elems-freed-num { - type uint32; - description "Total path-elems freed"; - } - leaf label-last-trigger { - type uint64; - description "Timestamp when Label thread is last triggered"; - } - leaf last-label-version { - type uint32; - description "Label thread version when last triggered"; - } - leaf label-bgp-version { - type uint32; - description "BGP version when label thread is last triggered"; - } - leaf label-triggers { - type uint32; - description "Label thread triggers"; - } - leaf rib-last-trigger { - type uint64; - description "Timestamp when RIB thread is last triggered"; - } - leaf last-rib-version { - type uint32; - description "RIB thread version when last triggered"; - } - leaf rib-bgp-version { - type uint32; - description "BGP version when RIB thread is last triggered"; - } - leaf rib-triggers { - type uint32; - description "RIB thread triggers"; - } - leaf import-last-trigger { - type uint64; - description "Timestamp when Import thread is last triggered"; - } - leaf last-import-version { - type uint32; - description "Import thread version when last triggered"; - } - leaf import-bgp-version { - type uint32; - description - "BGP version when Import thread is last triggered"; - } - leaf import-triggers { - type uint32; - description "Import thread triggers"; - } - leaf update-gen-last-trigger { - type uint64; - description - "Timestamp when Update generation thread is last - triggered"; - } - leaf update-gen-bgp-version { - type uint32; - description - "BGP version when Update generation thread is - last triggered"; - } - leaf update-triggers { - type uint32; - description "Update thread triggers"; - } - leaf total-r-ds-num { - type uint32; - description "Total Num of RDs"; - } - leaf total-remote-r-ds-num { - type uint32; - description "Total Num of remote RDs"; - } - leaf total-same-r-ds-num { - type uint32; - description "Total Num of same RDs"; - } - leaf malloced-rd-count { - type uint32; - description "Activity: Number of RDs malloced"; - } - leaf freed-rd-count { - type uint32; - description "Activity: Number of RDs freed"; - } - leaf rd-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used by RD data"; - } - leaf multipath-network-entry-count { - type uint32; - description "Number of multipath network entries"; - } - leaf multipath-network-entry-memory { - type uint32; - units "byte"; - description - "Memory (in bytes) used bymultipath network - entries"; - } - leaf multipath-paths-count { - type uint32; - description "Number of multipath paths"; - } - leaf multipath-paths-memory { - type uint32; - units "byte"; - description "Memory (in bytes) used bymultimpath paths"; - } - leaf update-wait-install-enabled { - type uint32; - description "Update wait-install enabled"; - } - leaf rib-acked-table-version { - type uint32; - description "Table version acked by RIB"; - } - leaf rib-ack-requests { - type uint32; - description "Counter for RIB ack requests"; - } - leaf rib-acks-received { - type uint32; - description "Counter for RIB ack received"; - } - leaf rib-slow-acks { - type uint32; - description "Counter for slow RIB acks"; - } - } - - grouping BGP-PROCESS-INFO-AF-BAG { - description "BGP address family specific process information"; - - container global { - description "Global information"; - uses BGP-PROCESS-INFO-AF-GBL; - } - - container vrf { - description "VRF information"; - uses BGP-PROCESS-INFO-AF-VRF; - } - - container performance-statistics { - description "Performance statistics"; - uses BGP-PERF-PROCESS-AF; - } - leaf af-name { - type Bgp-afi; - description "Address family id"; - } - leaf process-instance { - type uint8; - description "ID for the BGP process instance"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf vrf-totals { - type boolean; - description "per VRF information aggregated across all VRFs"; - } - } - - grouping BGP-CONVERGENCE-BAG { - description "BGP Convergence"; - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf has-converged { - type boolean; - description "Convergence has been reached"; - } - leaf are-write-queues-empty { - type boolean; - description "All neighbor write queues are empty"; - } - } - - grouping BGP-PATH-ADV-BAG { - description "BGP path with advertised attributes information"; - - container neighbor-address-xr { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - - container path-info-after-policy-in { - description "Path information after inbound policy"; - uses BGP-PATH; - } - - container path-info-after-policy-out { - description "Path information after outbound policy"; - uses BGP-PATH; - } - - container attributes-after-policy-in { - description "Attributes after inbound policy"; - uses BGP-ATTR; - } - - container attributes-after-policy-out { - description "Attributes after outbound policy"; - uses BGP-ATTR; - } - leaf no-path { - type boolean; - description - "No path exists All 'sp_path_in' fields except - 'sp_path_in->bag_prefix' are invalid. All - 'sp_path_out' fields are invalid."; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf route-distinguisher { - type xr:Route-dist; - description "Route Distinguisher"; - } - leaf source-route-distinguisher { - type xr:Route-dist; - description "Source Route Distinguisher"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - } - - grouping BGP-PATH-ELEM-BAG { - description "BGP path element"; - - container pelem-path-nexthop { - description "Path nexthop address"; - uses BGP-ADDRTYPE; - } - - container nh-tunnel { - description "NH tunnel information"; - uses BGP-TE-TUNNEL; - } - - container pelem-path-neighbor-addr { - description "Path neighbor address"; - uses BGP-ADDRTYPE; - } - leaf pelem-path-id { - type uint32; - description "Local Path ID"; - } - leaf pelem-version { - type uint32; - description "Version"; - } - leaf pelem-flags { - type uint32; - description "Flags"; - } - leaf pelem-gw-metric { - type uint32; - description "Gateway metric"; - } - leaf pelem-path-flags { - type uint64; - description "Path flags"; - } - leaf pelem-path-peer-path-id { - type uint32; - description "Path peer path ID"; - } - leaf pelem-table-attr-version { - type uint32; - description "Table Attr version"; - } - leaf pelem-path-table-attr-version { - type uint32; - description "Path Table Attr version"; - } - leaf pelem-no-bestpath-table-attr-version { - type uint32; - description "No-bestpath Table Attr version"; - } - leaf pelem-no-addpath-table-attr-version { - type uint32; - description "No-addpath Table Attr version"; - } - leaf is-perm-path-pelem { - type boolean; - description "Pelem for permanent path"; - } - } - - grouping BGP-ATTR-RNH-ADDR { - description "BGP ATTR RNH ADDR"; - leaf len { - type Bgp-rnh-addr-len; - description "len"; - } - leaf ipv4-address { - when "../len = 'v4'" { - description "../len = 'v4'"; - } - type inet:ipv4-address; - description "IPv4 Addr"; - } - leaf ipv6-address { - when "../len = 'v6'" { - description "../len = 'v6'"; - } - type Ipv6-address; - description "IPv6 Addr"; - } - leaf mac-address { - when "../len = 'mac'" { - description "../len = 'Mac'"; - } - type Mac-address; - description "MAC Addr"; - } - } - - grouping BGP-BAG-LARGECOMM { - description "Large Community"; - leaf global-admin { - type uint32; - description "Global Administrator"; - } - leaf local-data1 { - type uint32; - description "Local Data 1"; - } - leaf local-data2 { - type uint32; - description "Local Data 2"; - } - } - - grouping SR-SID { - description "Segement id value"; - leaf type { - type Sr-sid; - description "Type"; - } - leaf label { - when "../type = 'label'" { - description "../Type = 'Label'"; - } - type uint32; - description "MPLS Label value"; - } - leaf ipv4-address { - when "../type = 'ipv4'" { - description "../Type = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 Address value"; - } - leaf ipv6-address { - when "../type = 'ipv6'" { - description "../Type = 'IPv6'"; - } - type Ipv6-address; - description "IPv6 address value"; - } - } - - grouping SR-EXPPATH { - description "SR Policy Explicit Path"; - leaf weight { - type uint8; - description "Weight of segment list"; - } - - list segment { - description "Segments in segment list"; - uses SR-SID; - } - } - - grouping BGP-BINDING-SID { - description "BGP BINDING SID"; - leaf type { - type Bgp-binding-sid; - description "Type"; - } - leaf label { - when "../type = 'label'" { - description "../Type = 'label'"; - } - type uint32; - description "MPLS Label"; - } - leaf ipv6-address { - when "../type = 'v6'" { - description "../Type = 'v6'"; - } - type Ipv6-address; - description "IPv6 Addr"; - } - } - - grouping BGP-SRPOLICY-ENTRY { - description "SR policy Entry"; - - container binding-sid { - description "SR Policy incoming Binding sid"; - uses BGP-BINDING-SID; - } - - container allocated-binding-sid { - description "SR Policy allocated Binding sid by the router"; - uses BGP-BINDING-SID; - } - leaf tunnel-encap-type { - type uint16; - description "Tunnel Encapsulation Type"; - } - leaf preference { - type uint32; - description "SR Policy Preference"; - } - leaf state { - type boolean; - description "SR Policy active state in forwarding"; - } - leaf request-state { - type Bgp-srpolicy-req-state; - description "SR Policy programming Status"; - } - - list segment-list { - description "SR Policy Segment Lists"; - uses SR-EXPPATH; - } - } - - grouping BGP-TUNENCAP-ENTRY { - description "Tunnel Encap attribute entry"; - - container sr-policy { - description "Tunnel encap type SR policy"; - uses BGP-SRPOLICY-ENTRY; - } - } - - grouping BGP-PEDISTLBL-ENTRY { - description "PE distinguisher Label entry"; - leaf pe-address { - type inet:ipv4-address; - description " PE address"; - } - leaf label { - type uint32; - description "Label"; - } - } - - grouping BGP-COMMON-ATTR-ENTRY { - description "Common Set of attribute entry"; - - container tunnel-encap { - description "Tunnel Encapsulation attribute"; - uses BGP-TUNENCAP-ENTRY; - } - leaf is-metric-present { - type boolean; - description "Metric attribute present"; - } - leaf is-local-pref-present { - type boolean; - description "Local Preference attribute present"; - } - leaf is-atomic-aggregate-present { - type boolean; - description "Atomic aggregate attribute present"; - } - leaf is-aggregator-present { - type boolean; - description "Aggregator attribute present"; - } - leaf is-origin-present { - type boolean; - description "Origin attribute present"; - } - leaf is-as-path-present { - type boolean; - description "AS path attribute present"; - } - leaf is-community-present { - type boolean; - description "Community attribute present"; - } - leaf is-extended-community-present { - type boolean; - description "Extended community attribute present"; - } - leaf is-ssa-present { - type boolean; - description "SSA attribute present"; - } - leaf is-connector-present { - type boolean; - description "Connector present"; - } - leaf is-pmsi-present { - type boolean; - description "PMSI Attribute present"; - } - leaf is-pppmp-present { - type boolean; - description "PPMP Attribute present"; - } - leaf is-aigp-present { - type boolean; - description "AIGP Present"; - } - leaf is-pe-distinguisher-label-present { - type boolean; - description "PE distinguisher label attribute present"; - } - leaf is-ls-attribute-present { - type boolean; - description "BGP LS attribute present"; - } - leaf is-label-index-present { - type boolean; - description "Label Index attribute present"; - } - leaf neighbor-as { - type uint32; - description "Neighbor AS number"; - } - leaf aggregator-as { - type uint32; - description "AS where aggregation was last performed"; - } - leaf aggregator-address { - type inet:ipv4-address; - description "Address where aggregation was performed"; - } - leaf metric { - type uint32; - description "Metric"; - } - leaf local-preference { - type uint32; - description "Local preference"; - } - leaf origin { - type uint16; - description "Origin"; - } - leaf as-path { - type string; - description "AS path attribute"; - } - leaf extended-community-flags { - type uint8; - description "Extended community Flags"; - } - leaf originator { - type inet:ipv4-address; - description "Originator attribute"; - } - leaf l2tpv3-session-id { - type uint32; - description "L2TPv3 session id"; - } - leaf connector-type { - type uint16; - description "Connector Type"; - } - leaf aigp-metric-value { - type uint64; - description "AIGP metric value"; - } - leaf pmsi-type { - type uint16; - description "PMSI Type"; - } - leaf pmsi-flags { - type uint8; - description "PMSI Value"; - } - leaf pmsi-label { - type uint32; - description "PMSI label"; - } - leaf ppm-pvalue { - type uint32; - description "PPMP Value"; - } - leaf is-large-community-present { - type boolean; - description "Large Community attribute present"; - } - list community { - description "Community attribute"; - leaf entry { - type uint32; - } - } - list extended-community { - description "Extended community attribute"; - leaf entry { - type uint8; - } - } - list unknown-attribute { - description "Unknown attributes"; - leaf entry { - type uint8; - } - } - list cluster { - description "Cluster list attribute"; - leaf entry { - type uint32; - } - } - list l2tpv3-cookie { - description "L2TPv3 Cookie"; - leaf entry { - type uint8; - } - } - list connector-value { - description "Connector Value"; - leaf entry { - type uint8; - } - } - list pmsi-value { - description "PMSI Value"; - leaf entry { - type uint8; - } - } - list ls-attr { - description "BGP LS attribute"; - leaf entry { - type uint8; - } - } - list label-index-attr { - description "Label Index attribute"; - leaf entry { - type uint8; - } - } - - list pe-distinguisher-label { - description "PE distinguisher label attribute"; - uses BGP-PEDISTLBL-ENTRY; - } - - list large-community { - description "Large Community attribute"; - uses BGP-BAG-LARGECOMM; - } - } - - grouping BGP-ATTR { - description "BGP Attributes"; - - container common-attributes { - description "Common attributes"; - uses BGP-COMMON-ATTR-ENTRY; - } - - container attr-set { - description "ATTR_SET attribute"; - uses BGP-COMMON-ATTR-ENTRY; - } - - container rnh-addr { - description "RNH Address"; - uses BGP-ATTR-RNH-ADDR; - } - - container ribrnh-ip { - description "RIB RNH IP Address"; - uses BGP-ADDRTYPE; - } - leaf is-as-path2-byte { - type boolean; - description "AS path encoded as 2-byte"; - } - leaf is-application-gateway-present { - type boolean; - description "Application gateway present"; - } - leaf is-attr-set-present { - type boolean; - description "BGP ATTR_SET attribute present"; - } - leaf set-aigp-inbound-igp { - type boolean; - description "AIGP set by policy inbound IGP "; - } - leaf set-aigp-inbound-metric { - type boolean; - description "AIGP set by policy inbound metric"; - } - leaf is-rnh-present { - type boolean; - description "RNH Attribute present"; - } - leaf is-ribrnh-present { - type boolean; - description "RIB RNH Attribute present"; - } - leaf attribute-key-number { - type uint32; - description "Attribute key number"; - } - leaf attribute-reuse-id-config { - type boolean; - description "Attribute reuse ID Configured"; - } - leaf attribute-reuse-id-max-id { - type uint32; - description "Attribute reuse ID maximum ID"; - } - leaf attribute-reuse-id-node { - type uint32; - description "Attribute reuse ID nodes"; - } - leaf attribute-reuse-id-current { - type uint32; - description "Attribute reuse ID current ID"; - } - leaf attribute-reuse-id-keys { - type uint32; - description "Attribute reuse ID allocated keys"; - } - leaf attribute-reuse-id-recover-sec { - type uint32; - units "second"; - description "Attribute reuse ID timer in seconds"; - } - leaf vpn-distinguisher { - type uint32; - description "VPN Distinguisher"; - } - leaf rnh-type { - type uint16; - description "RNH Type"; - } - leaf rnh-len { - type uint8; - description "RNH Length"; - } - leaf rnh-addr-len { - type uint32; - description "RNH Address Length"; - } - leaf ribrnh-table { - type uint32; - description "RIB RNH Table"; - } - leaf ribrnh-mac { - type Mac-address; - description "RIB RNH MAC Address"; - } - leaf ribrnhip-table { - type uint32; - description "RIB RNH IP Table"; - } - leaf ribrnh-vni { - type uint32; - description "RIB RNH Vni"; - } - leaf ribrnh-encap { - type uint8; - description "RIB RNH Encapsulation Type"; - } - } - - grouping BGP-V4-V6 { - description "BGP V4 V6"; - leaf len { - type Bgp-v4-v6-len; - description "len"; - } - leaf ipv4-address { - when "../len = 'gwipv4'" { - description "../len = 'gwipv4'"; - } - type inet:ipv4-address; - description "IPv4 Addr"; - } - leaf ipv6-address { - when "../len = 'gwipv6'" { - description "../len = 'gwipv6'"; - } - type Ipv6-address; - description "IPv6 Addr"; - } - } - - grouping BGP-TE-TUNNEL { - description "BGP TE TUNNEL"; - leaf tunnel-type { - type Bgp-tunnel; - description "Nexthop Tunnel Type"; - } - leaf tunnel-name { - type string; - description "Tunnel name attribute"; - } - leaf is-tunnel-up { - type boolean; - description "Tunnel Up flag"; - } - leaf is-tunnel-info-stale { - type boolean; - description "Tunnel is stale"; - } - leaf is-tunnel-registered { - type boolean; - description "Tunnel registered flag"; - } - leaf tunnel-v6-required { - type boolean; - description "Tunnel need IPv6"; - } - leaf tunnel-v6-enabled { - type boolean; - description "IPv6 enabled"; - } - leaf binding-label { - type uint32; - description "Binding label for the tunnel"; - } - leaf tunnel-if-handle { - type uint32; - description "Interface handle for the tunnel"; - } - leaf last-tunnel-update { - type uint32; - description "Time since the last tunnel update happened"; - } - } - - grouping BGP-PATH { - description "BGP Path"; - - container bgp-prefix { - description "BGP prefix"; - uses BGP-PREFIXTYPE; - } - - container neighbor-address { - description "Neighbor address"; - uses BGP-ADDRTYPE; - } - - container next-hop { - description "Next hop"; - uses BGP-ADDRTYPE; - } - - container nh-tunnel { - description "NH tunnel information"; - uses BGP-TE-TUNNEL; - } - - container mdt-group-addr { - description "IPv4 MDT Group Address for the path"; - uses BGP-ADDRTYPE; - } - - container gw-addr { - description "Path GW Address"; - uses BGP-V4-V6; - } - - container nh-addr { - description "Path next-hop Address"; - uses BGP-V4-V6; - } - - container best-path-comp-winner { - description - "Neighbor address of the path which won best path - comparison"; - uses BGP-ADDRTYPE; - } - - container mvpn-nbr-addr { - description "Mvpn nbr Address for the path"; - uses BGP-ADDRTYPE; - } - - container mvpn-nexthop-addr { - description "Mvpn nexthop Address for the path"; - uses BGP-ADDRTYPE; - } - - container vpn-nexthop-addr { - description "Vpn nexthop Address for the path"; - uses BGP-ADDRTYPE; - } - leaf route-type { - type Bgp-route1; - description "Route Type of path"; - } - leaf is-path-valid { - type boolean; - description "Path attributes are usable"; - } - leaf is-path-damped { - type boolean; - description "Path suppressed due to dampening"; - } - leaf is-path-history-held { - type boolean; - description "Path entry held to remember history"; - } - leaf is-internal-path { - type boolean; - description "Received over an internal link"; - } - leaf is-best-path { - type boolean; - description "Best available path"; - } - leaf is-as-best { - type boolean; - description "Best available path within AS"; - } - leaf is-spkr-as-best { - type boolean; - description "Best available path within AS in speaker"; - } - leaf is-partial-best { - type boolean; - description "Partial best path within distributed speaker"; - } - leaf is-aggregation-suppressed { - type boolean; - description "Path suppressed due to aggregation"; - } - leaf is-import-dampened { - type boolean; - description "net import dampened"; - } - leaf is-import-suspect { - type boolean; - description "net import suspect"; - } - leaf is-path-not-advertised { - type boolean; - description "Not advertised to any peer"; - } - leaf is-path-not-advertised-to-ebgps { - type boolean; - description "Not advertised to EBGPs"; - } - leaf is-path-advertised-local-as-only { - type boolean; - description "Not advertised outside local AS"; - } - leaf is-path-from-route-reflector { - type boolean; - description "Path received from route reflector"; - } - leaf is-path-received-only { - type boolean; - description "Path is received only"; - } - leaf is-received-path-not-modified { - type boolean; - description "Received path used without modification"; - } - leaf is-path-locally-sourced { - type boolean; - description "Path sourced locally"; - } - leaf is-path-local-aggregate { - type boolean; - description "Path is a locally created aggregate"; - } - leaf is-path-from-network-command { - type boolean; - description "Path sourced by network command"; - } - leaf is-path-from-redistribute-command { - type boolean; - description "Path sourced by redistribute command"; - } - leaf is-path-imported { - type boolean; - description "Path is imported"; - } - leaf is-path-reoriginated { - type boolean; - description "Path is reoriginated"; - } - leaf is-path-reoriginated-stitching { - type boolean; - description "Path is reoriginated with stitching RTs"; - } - leaf is-path-vpn-only { - type boolean; - description "Path is not in the vrf"; - } - leaf is-path-from-confederation-peer { - type boolean; - description "Path received from confederation peer"; - } - leaf is-path-synced-with-igp { - type boolean; - description "Path synchronized with IGP"; - } - leaf is-path-multipath { - type boolean; - description "Path is one of multipath best routes"; - } - leaf is-path-imp-candidate { - type boolean; - description "Path is a candidate for multipath import"; - } - leaf is-path-stale { - type boolean; - description "Stale routes learnt before neighbor restarts"; - } - leaf is-path-long-lived-stale { - type boolean; - description - "Long lived stale routes learnt before neighbor - restarts"; - } - leaf is-path-backup { - type boolean; - description "Path is a backup path "; - } - leaf is-path-backup-protect-multipath { - type boolean; - description "Path is a backup path to protect multipaths"; - } - leaf is-path-best-external { - type boolean; - description "Path is a best external path"; - } - leaf is-path-additional-path { - type boolean; - description "Path is an additional-path"; - } - leaf is-path-nexthop-discarded { - type boolean; - description "Path is redirected to Null0"; - } - leaf rcvd-label-count { - type uint32; - description "Path received label count"; - } - leaf has-local-net-label { - type boolean; - description "Path has local label"; - } - leaf local-label { - type uint32; - description "Path local label"; - } - leaf igp-metric { - type uint32; - description "IGP metric to the gateway"; - } - leaf path-weight { - type uint16; - description "Weight for the path"; - } - leaf neighbor-router-id { - type inet:ipv4-address; - description "Router ID of the neighbor for the path"; - } - leaf has-mdt-group-addr { - type boolean; - description "Path has MDT Group Address"; - } - leaf l2vpn-size { - type uint32; - description "Path block size"; - } - leaf l2vpn-evpn-esi { - type string; - description "L2VPN EVPN ESI"; - } - leaf has-gw-addr { - type boolean; - description "Path has GW Address"; - } - leaf has-nh-addr { - type boolean; - description "Path has next-hop Address"; - } - leaf has-second-label { - type boolean; - description "Path has second received label"; - } - leaf second-label { - type uint32; - description "Path second received label"; - } - leaf path-flap-count { - type uint32; - description "Number of times this route has flapped"; - } - leaf seconds-since-first-flap { - type uint32; - units "second"; - description "Seconds since route first flapped"; - } - leaf time-to-unsuppress { - type uint32; - units "second"; - description "Seconds until route is unsuppressed"; - } - leaf dampen-penalty { - type uint32; - description "Dampening penalty"; - } - leaf halflife-time { - type uint32; - description "Half-life time for the penalty"; - } - leaf suppress-penalty { - type uint32; - description "Value to start suppressing a route"; - } - leaf reuse-value { - type uint32; - description "Value to start reusing a route"; - } - leaf maximum-suppress-time { - type uint32; - description "Maximum duration to suppress a stable route"; - } - leaf best-path-comp-stage { - type Bgp-bp-stage; - description - "Stage where the path lost to the best path or - group best"; - } - leaf best-path-id-comp-winner { - type uint32; - description - "Path ID of the path which won best path - comparison"; - } - leaf path-flags { - type uint64; - description "Flags associated with path"; - } - leaf path-import-flags { - type uint32; - description "Path import flags"; - } - leaf best-path-id { - type uint32; - description "Best path ID; DEPRECATED BYLocalPathId"; - } - leaf local-path-id { - type uint32; - description "Local path ID"; - } - leaf rcvd-path-id { - type uint32; - description "Received path ID"; - } - leaf path-table-version { - type uint32; - description "Table version # for pelem"; - } - leaf advertisedto-pe { - type boolean; - description - "Net could be advertised - to PE peers"; - } - leaf rib-failed { - type boolean; - description - "Is net failed installed - in RIB"; - } - leaf sn-rpki-origin-as-validity { - type uint8; - description "RPKI origin validation state"; - } - leaf show-rpki-origin-as-validity { - type boolean; - description "Display validity state ?"; - } - leaf ibgp-signaled-validity { - type boolean; - description "IBGP signalled validation"; - } - leaf rpki-origin-as-validation-disabled { - type boolean; - description "RPKI originAS V. Disabled"; - } - leaf accept-own-path { - type boolean; - description "Accept Own"; - } - leaf accept-own-self-originated-p-ath { - type boolean; - description "Accept-Own self-originated"; - } - leaf aigp-metric { - type uint64; - description "Total AIGP metric"; - } - leaf mvpn-sfs-path { - type boolean; - description "Is MVPN single forwarder PE path"; - } - leaf fspec-invalid-path { - type boolean; - description "Is Fspec invalid path"; - } - leaf has-mvpn-nbr-addr { - type boolean; - description "Path has Mvpn nbr Address"; - } - leaf has-mvpn-nexthop-addr { - type boolean; - description "Path has MVPN nexthop Address"; - } - leaf has-mvpn-pmsi { - type boolean; - description "Path has MVPN PMSI feedback"; - } - leaf mvpn-pmsi-type { - type uint16; - description "Mvpn PMSI Type"; - } - leaf mvpn-pmsi-flags { - type uint8; - description "Mvpn PMSI Value"; - } - leaf mvpn-pmsi-label { - type uint32; - description "Mvpn PMSI label"; - } - leaf has-mvpn-extcomm { - type boolean; - description "Path has MVPN EXTCOMM feedback"; - } - leaf mvpn-path-flags { - type uint16; - description "Mvpn path flags"; - } - leaf local-nh { - type boolean; - description "Path has local nexthop"; - } - leaf rt-set-limit-enabled { - type boolean; - description "Path subject to RT-set net limit"; - } - leaf path-rt-set-id { - type uint32; - description "RT-set id of the path"; - } - leaf path-rt-set-route-count { - type uint32; - description "Count in RT-set"; - } - leaf is-path-af-install-eligible { - type boolean; - description "Path can be installed in AF RIB"; - } - leaf is-permanent-path { - type boolean; - description "Path is of type Permanent path"; - } - leaf graceful-shutdown { - type boolean; - description "Marked for graceful shutdown"; - } - leaf labeled-unicast-safi-path { - type boolean; - description "Path was learnt by labeled-unicast SAFI"; - } - leaf vpn-path-flags { - type uint8; - description "Vpn path flags"; - } - leaf has-vpn-nexthop-addr { - type boolean; - description "Path has VPN nexthop Address"; - } - leaf is-orig-src-rd-present { - type boolean; - description "Original Source RD present"; - } - leaf af-name { - type Bgp-afi; - description "Original Source Address family identifier"; - } - leaf route-distinguisher { - type xr:Route-dist; - description "Original Source Route Distinguisher"; - } - list rcvd-label { - max-elements "10"; - - description "Path received label stack"; - leaf entry { - type uint32; - } - } - list l2vpn-circuit-status-value { - description "L2VPN Circuit Status Value"; - leaf entry { - type uint8; - } - } - list mvpn-pmsi-value { - description "Mvpn PMSI Value"; - leaf entry { - type uint8; - } - } - list extended-community { - description "Mvpn Extended community attribute"; - leaf entry { - type uint8; - } - } - - list local-peers-advertised-to { - description - "Local peers that this prefix has been advertised - to"; - uses BGP-ADVINFO-TYPE; - } - - list pe-peers-advertised-to { - description - "PE peers that this prefix has been advertised to"; - uses BGP-ADVINFO-TYPE; - } - - list best-path-orr-bitfield { - description "ORR Best path Bitfields"; - uses BGP-ADVINFO-TYPE; - } - - list add-path-orr-bitfield { - description "ORR Add path Bitfields"; - uses BGP-ADVINFO-TYPE; - } - } - - grouping BGP-PATH-BAG { - description "BGP path"; - - container neighbor-address-xr { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - - container path-information { - description "Path information"; - uses BGP-PATH; - } - - container attributes-after-policy-in { - description "Attributes after inbound policy applied"; - uses BGP-ATTR; - } - leaf no-path { - type boolean; - description - "No path exists. All 'sp_path' fields except - 'sp_path->bag_prefix' are invalid"; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf process-instance-id { - type uint8; - description "Process instance ID"; - } - leaf label-oor { - type boolean; - description "LSD label space is exhausted"; - } - leaf label-o-or-version { - type uint32; - description "Label Version when OOR happens"; - } - leaf label-fail { - type boolean; - description "LSD label allocation failed "; - } - leaf route-distinguisher { - type xr:Route-dist; - description "Route Distinguisher"; - } - leaf source-route-distinguisher { - type xr:Route-dist; - description "Source Route Distinguisher"; - } - leaf prefix-version { - type uint32; - description "Version of BGP Prefix Table"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf source-vrf-name { - type string; - description "Name of the source VRF"; - } - leaf srcaf-name { - type Bgp-afi; - description "Address family identifier"; - } - } - - grouping BGP-ADVINFO-TYPE { - description "Peers being advertised to"; - - container neighbor-address { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - leaf is-neighbor { - type boolean; - description "Entry is a neighbor (not an update group)"; - } - leaf update-group-number { - type uint32; - description "Update group index"; - } - } - - grouping BGP-PREFIXTYPE { - description "BGP PREFIXTYPE"; - - container prefix { - description "Prefix"; - uses BGP-ADDRTYPE; - } - leaf prefix-length { - type uint16; - description "Prefix length"; - } - } - - grouping BGP-NET-BAG { - description "BGP network"; - - container bgp-prefix { - description "BGP prefix"; - uses BGP-PREFIXTYPE; - } - - container version-timestamp { - description "Version timestamp"; - uses BGP-TIMESPEC; - } - - container version-age { - description "Version age"; - uses BGP-TIMESPEC; - } - leaf af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf process-instance-id { - type uint8; - description "Process instance ID"; - } - leaf has-inconsistent-paths { - type boolean; - description "Net has inconsistent paths"; - } - leaf is-net-aggregation-suppressed { - type boolean; - description "Net suppressed due to aggregation"; - } - leaf is-net-ldp-signaled { - type boolean; - description "L2VPN Net LDP signaled aggregation"; - } - leaf table-version { - type uint32; - description "Table version # for net"; - } - leaf table-brib-version { - type uint32; - description "Table version # for updates"; - } - leaf advertisedto-pe { - type boolean; - description - "Net could be advertised - to PE peers"; - } - leaf has-local-label { - type boolean; - description "Net has local label"; - } - leaf net-local-label { - type uint32; - description "Local label"; - } - leaf net-local-label-rewrite { - type boolean; - description "Net label has rewrite"; - } - leaf net-local-label-srgb { - type boolean; - description - "Net label allocated fromSegment routing global - block"; - } - leaf has-lbl-retained { - type boolean; - description "Net has label retained"; - } - leaf route-distinguisher { - type xr:Route-dist; - description "Route Distinguisher"; - } - leaf vrf-name { - type string; - description "Name of the VRF"; - } - leaf net-flags { - type uint32; - description - "Flags associated with - net"; - } - leaf net-extended-flags { - type uint32; - description "Net extended flags"; - } - leaf net-multipath { - type boolean; - description "Net has multipaths"; - } - leaf net-eibgp-multipath { - type boolean; - description "Net has EIBGP multipaths"; - } - leaf net-backup-available { - type boolean; - description "Net has backup path"; - } - leaf net-backup-label-rewrite-available { - type boolean; - description "Net has label rewrite for backup path"; - } - leaf rib-failed { - type boolean; - description "RIB install failed"; - } - leaf gateway-array { - type uint32; - description "Gateway array ID"; - } - leaf resilient-nexthop-set { - type uint32; - description "Resilient nexthop set ID"; - } - leaf is-permanent-network { - type boolean; - description "Permanent Network"; - } - leaf num-of-path { - type uint32; - description "Number of path for this net"; - } - leaf version { - type uint32; - description "Version"; - } - leaf bit { - type uint16; - description "Bit"; - } - leaf flags { - type uint8; - description "Flags"; - } - - list local-peers-advertised-to { - description - "Local peers that this prefix has been advertised - to"; - uses BGP-ADVINFO-TYPE; - } - - list pe-peers-advertised-to { - description - "PE peers that this prefix has been advertised to"; - uses BGP-ADVINFO-TYPE; - } - - list best-path-orr-bitfield { - description "ORR Best path Bitfields"; - uses BGP-ADVINFO-TYPE; - } - - list add-path-orr-bitfield { - description "ORR Add path Bitfields"; - uses BGP-ADVINFO-TYPE; - } - - list local-process-instance-path { - description "Local (to process instance) paths for this net "; - uses BGP-PATH-BAG; - } - - list active-process-instance-path { - description "Active's paths for this net "; - uses BGP-PATH-BAG; - } - - list local-path-element { - description "Local path element list"; - uses BGP-PATH-ELEM-BAG; - } - - list active-path-element { - description "Path element list received from Active inst"; - uses BGP-PATH-ELEM-BAG; - } - } - - grouping BGP-UPDERR-VRF-BAG { - description "BGP Update error-handling VRF information"; - - container last-update-malformed-timestamp { - description - "Last malformed messages received time: time - elapsed since 00:00:00 UTC, January 1, 1970"; - uses BGP-TIMESPEC; - } - leaf update-vrf-name { - type string; - description "VRF Name"; - } - leaf update-malformed-message-count { - type uint32; - description "Malformed messages count"; - } - leaf update-malformed-neighbor-count { - type uint32; - description - "Count of neighbors that received malformed - messages"; - } - leaf last-update-malformed-age { - type uint32; - units "second"; - description - "Time since last malformed messages received - event (in seconds)"; - } - } - - grouping BGP-EDM-RPKI-REFRESH-ENTRY { - description "BGP EDM RPKI REFRESH ENTRY"; - leaf af-name { - type Bgp-rpki-af; - description "Address Family"; - } - leaf neighbor { - type string; - description "BGP neighbor"; - } - leaf policy { - type string; - description "Route Policy"; - } - leaf paths { - type uint32; - description "Number of BGP paths modified or dropped"; - } - leaf drop { - type boolean; - description "BGP paths were dropped"; - } - } - - grouping BGP-RPKI-REFRESH-LIST-BAG { - description "BGP RPKI REFRESH LIST BAG"; - - list refresh-entry { - description "Array of refresh entries"; - uses BGP-EDM-RPKI-REFRESH-ENTRY; - } - } - - grouping BGP-TIMESPEC { - description "BGP TIMESPEC"; - leaf seconds { - type uint32; - units "second"; - description "Seconds part of time value"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds part of time value"; - } - } - - grouping BGP-UPDGEN-STATS-BAG { - description - "BGP Update generation common statistics - information"; - - container last-update-discard-timestamp { - description "Last Discarded time"; - uses BGP-TIMESPEC; - } - - container last-update-cleared-timestamp { - description "Last Cleared time"; - uses BGP-TIMESPEC; - } - - container last-update-throttle-timestamp { - description "Last Throttled time"; - uses BGP-TIMESPEC; - } - - container last-update-recovery-timestamp { - description "Last Recovery time"; - uses BGP-TIMESPEC; - } - - container last-update-memory-allocation-fail-timestamp { - description "Memory allocation failure time"; - uses BGP-TIMESPEC; - } - leaf update-out-queue-messages-high { - type uint32; - description "OutQueue High Messages"; - } - leaf update-out-queue-messages-cumulative { - type uint32; - description "OutQueue Cumulative Messages"; - } - leaf update-out-queue-messages-discarded { - type uint32; - description "OutQueue Discarded Messages"; - } - leaf update-out-queue-messages-cleared { - type uint32; - description "OutQueue Cleared Messages"; - } - leaf update-out-queue-size-high { - type uint32; - description "OutQueue Hi Size"; - } - leaf update-out-queue-size-cumulative { - type uint64; - description "OutQueue Cumulative Size"; - } - leaf update-out-queue-size-discarded { - type uint64; - description "OutQueue Discarded Size"; - } - leaf update-out-queue-size-cleared { - type uint64; - description "OutQueue Cleared Size"; - } - leaf last-update-discard-age { - type uint32; - units "second"; - description "Time since last Discard event (in seconds)"; - } - leaf last-update-cleard-age { - type uint32; - units "second"; - description "Time since last Clear event (in seconds)"; - } - leaf update-throttle-count { - type uint32; - description "Throttle Count"; - } - leaf last-update-throttle-age { - type uint32; - units "second"; - description "Time since last Throttle event (in seconds)"; - } - leaf update-recovery-count { - type uint32; - description "Recovery Count"; - } - leaf last-update-recovery-age { - type uint32; - units "second"; - description "Time since last Recovery event (in seconds)"; - } - leaf update-memory-allocation-fail-count { - type uint32; - description "Memory allocation failure count"; - } - leaf last-update-memory-allocation-fail-age { - type uint32; - units "second"; - description - "Time since last memory allocation failure event - (in seconds)"; - } - } - - grouping BGP-UPDGEN-AF-SUMMARY-BAG { - description - "BGP Update generation address-family summary - information"; - leaf update-group-af-name { - type Bgp-afi; - description "Address family identifier"; - } - leaf current-update-limit-af { - type uint32; - description "Current AF update limit"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue messages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue size"; - } - leaf update-throttled { - type boolean; - description "Is update throttled"; - } - leaf update-update-group-count { - type uint32; - description "Update-group count"; - } - leaf update-sub-group-count { - type uint32; - description "Sub-group count"; - } - leaf sub-group-throttled-count { - type uint32; - description "Throttled sub-group count"; - } - leaf refresh-sub-group-count { - type uint32; - description "Refresh sub-group count"; - } - leaf refresh-sub-group-throttled-count { - type uint32; - description "Throttled refresh sub-group count"; - } - leaf filter-group-count { - type uint32; - description "Filter-group count"; - } - leaf neighbor-count { - type uint32; - description "Neighbor count"; - } - } - - grouping BGP-UPDGEN-PROC-BAG { - description "BGP Update generation Process information"; - - container update-statistics { - description "Update statistics"; - uses BGP-UPDGEN-STATS-BAG; - } - leaf update-out-logging { - type boolean; - description - "Enable syslog messages for update generation - events"; - } - leaf current-update-limit-process { - type uint32; - description "Current Process update limit"; - } - leaf configured-update-limit-process { - type uint32; - description "Configured Process update limit"; - } - leaf update-out-queue-messages { - type uint32; - description "OutQueue messages"; - } - leaf update-out-queue-size { - type uint32; - description "OutQueue size"; - } - leaf update-throttled { - type boolean; - description "Is update throttled"; - } - - list update-address-family { - description "List of address-families"; - uses BGP-UPDGEN-AF-SUMMARY-BAG; - } - } - - grouping BGP-CONFIG-RELATIVES-BAG { - description "BGP config ancestors/children information"; - - container neighbor-address-xr { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - - container af-independent-relatives { - description "AF-independent relatives"; - uses BGP-CONFIG-ENTID; - } - leaf group-name { - type string; - description "Entity/group name"; - } - leaf configuration-type { - type Bgp-entities; - description "Entity type"; - } - leaf address-family-identifier { - type uint8; - description "AF identifier"; - } - - list af-dependent-relative { - max-elements "25"; - description "AF-dependent relatives"; - uses BGP-CONFIG-ENTID; - } - } - - grouping BGP-AF-DEP { - description "BGP AF-dependent configuration information"; - - container orr-root-address { - description "ORR Root Address"; - uses BGP-ADDRTYPE; - } - - container orf-capability-info { - description "ORF capability item info"; - uses BGP-CONFIG-INFO; - } - - container default-originate-info { - description "Default-originate item info"; - uses BGP-CONFIG-INFO; - } - - container max-prefixes-info { - description "Maximum prefixes to accept item info"; - uses BGP-CONFIG-INFO; - } - - container orr-info { - description "Orr item info"; - uses BGP-CONFIG-INFO; - } - - container next-hop-self-info { - description "Next hop self item info"; - uses BGP-CONFIG-INFO; - } - - container next-hop-unchanged-info { - description "Next hop unchanged info"; - uses BGP-CONFIG-INFO; - } - - container route-policy-in-info { - description "Inbound route policy item info"; - uses BGP-CONFIG-INFO; - } - - container route-policy-out-info { - description "Outbound route policy item info"; - uses BGP-CONFIG-INFO; - } - - container prefix-filter-info { - description "Inbound prefix based filter item info"; - uses BGP-CONFIG-INFO; - } - - container remove-private-as-info { - description "Outbound private-AS removal item info"; - uses BGP-CONFIG-INFO; - } - - container remove-private-as-in-info { - description "Inbound private-AS removal item info"; - uses BGP-CONFIG-INFO; - } - - container route-reflector-info { - description "Route-reflector client item info"; - uses BGP-CONFIG-INFO; - } - - container legacy-pe-rt-info { - description "Accept-legacy-pe-RT item info"; - uses BGP-CONFIG-INFO; - } - - container af-enabled-info { - description "Address family activate item info"; - uses BGP-CONFIG-INFO; - } - - container send-community-info { - description "Send community attribute item info"; - uses BGP-CONFIG-INFO; - } - - container send-graceful-shutdown-community-info { - description - "Send Graceful shutdown related community - attribute item info"; - uses BGP-CONFIG-INFO; - } - - container send-extended-community-info { - description "Send extended community item info"; - uses BGP-CONFIG-INFO; - } - - container soft-reconfig-info { - description "Soft reconf item info"; - uses BGP-CONFIG-INFO; - } - - container so-o-info { - description "BGP Site-of-Origin info"; - uses BGP-CONFIG-INFO; - } - - container weight-info { - description "Default weight item info"; - uses BGP-CONFIG-INFO; - } - - container allowas-in-info { - description "Allowas-in item info"; - uses BGP-CONFIG-INFO; - } - - container af-long-lived-graceful-start-stale-time-info { - description "Long-lived-time item info"; - uses BGP-CONFIG-INFO; - } - - container af-long-lived-graceful-start-capable-info { - description "Long-lived-time item info"; - uses BGP-CONFIG-INFO; - } - - container as-override-info { - description "As-override info "; - uses BGP-CONFIG-INFO; - } - - container aigp-info { - description "AIGP info "; - uses BGP-CONFIG-INFO; - } - - container aigp-cost-community-info { - description "AIGP Cost Community info "; - uses BGP-CONFIG-INFO; - } - - container aigp-med { - description "AIGP MED info "; - uses BGP-CONFIG-INFO; - } - - container accept-own-info { - description "Accept-Own info"; - uses BGP-CONFIG-INFO; - } - - container multipath-info { - description "Multipath info"; - uses BGP-CONFIG-INFO; - } - - container fspec-valid-info { - description "FSPEC Valid info"; - uses BGP-CONFIG-INFO; - } - - container next-hop-unchanged-mpath-info { - description "Next hop unchanged mpath info"; - uses BGP-CONFIG-INFO; - } - - container permanent-network-info { - description "Permanent network Info "; - uses BGP-CONFIG-INFO; - } - - container send-mcast-attr-info { - description "Send mcast attr info"; - uses BGP-CONFIG-INFO; - } - - container advertise-v4-afi-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-v6-afi-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-l2vpn-evpn-afi-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-dis-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-def-vrf-imp-disable-afi-v4-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-def-vrf-imp-disable-afi-v6-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-vrf-re-imp-disable-afi-v4-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-vrf-re-imp-disable-afi-v6-info { - description "Advertise Afi Info "; - uses BGP-CONFIG-INFO; - } - - container af-encapsulation-type-info { - description "Encapsulation type Info "; - uses BGP-CONFIG-INFO; - } - - container import-afi-info { - description "Import Afi Info "; - uses BGP-CONFIG-INFO; - } - - container advertise-local-labeled-route-info { - description "Advertise routes with local-label"; - uses BGP-CONFIG-INFO; - } - - container enforce-multiple-labels-info { - description "Enforce multiple labels"; - uses BGP-CONFIG-INFO; - } - leaf has-orf-capability { - type uint32; - description "ORF capability"; - } - leaf is-default-originate-not-disabled { - type boolean; - description "TRUE if default-originate is not disabled"; - } - leaf default-originate-route-policy { - type string; - description "Default-originate route policy name"; - } - leaf max-prefixes { - type uint32; - description "Maximum prefixes to accept"; - } - leaf max-prefix-warn-threshold { - type uint32; - description "Warning message threshhold"; - } - leaf is-max-prefix-warn-only { - type boolean; - description "Warning messages only"; - } - leaf max-prefix-restart-time { - type uint32; - description "Restart time Value"; - } - leaf is-max-prefix-discard-extra-paths { - type boolean; - description "Discard extra paths"; - } - leaf is-next-hop-self-disabled { - type boolean; - description "Disable next-hop calc"; - } - leaf is-next-hop-unchanged { - type boolean; - description "Don't change next-hop"; - } - leaf permanent-network { - type boolean; - description "Permanent Network"; - } - leaf route-policy-in { - type string; - description "Inbound route policy name"; - } - leaf route-policy-out { - type string; - description "Outbound route policy name"; - } - leaf prefix-orf-filter { - type string; - description "Inbound prefix based filter"; - } - leaf remove-private-as-out { - type boolean; - description "Outbound private-AS removal"; - } - leaf entire-aspath-out { - type boolean; - description - "Outbound private-AS removalif the entire AS Path - hasprivate ASes"; - } - leaf remove-private-asin { - type boolean; - description "Inbound private-AS removal"; - } - leaf entire-aspath-in { - type boolean; - description - "Inbound private-AS removal if the entire AS Path - has private ASes"; - } - leaf client-route-reflector { - type boolean; - description "Route-reflector client"; - } - leaf accept-route-legacy-pe-rt { - type boolean; - description "accept-legacy-pe RT route"; - } - leaf is-af-enabled { - type boolean; - description "Entity is activated for this address family"; - } - leaf send-community-attribute { - type boolean; - description "Send community attribute"; - } - leaf send-graceful-shut-community-attributes { - type boolean; - description - "Send Graceful shutdown related community - attributes"; - } - leaf send-extended-community-attribute { - type boolean; - description "Send extended community attribute"; - } - leaf soft-reconfig-not-disabled { - type boolean; - description "TRUE if soft reconf is not disabled"; - } - leaf alway-use-soft-reconfig { - type boolean; - description "Always use soft reconfig"; - } - leaf site-of-origin { - type string; - description "Site of Origin"; - } - leaf default-weight { - type uint32; - description "Default weight"; - } - leaf default-allowas { - type uint32; - description "Default allowas_in count"; - } - leaf af-long-lived-graceful-restart-stale-time-send { - type uint32; - description - "Stale time to be sent in long-lived - graceful-restart capability"; - } - leaf af-long-lived-graceful-restart-stale-time-accept { - type uint32; - description - "Maxmimum acceptable long-lived stale time - acceptable from neighbor"; - } - leaf af-long-lived-graceful-restart-capable { - type uint32; - description "Long-lived graceful-restart capable"; - } - leaf is-as-override-disabled { - type boolean; - description "Disable as override"; - } - leaf is-aigp-enabled { - type boolean; - description "AIGP enabled"; - } - leaf is-aigp-cost-community-enabled { - type boolean; - description "AIGP cost community enabled"; - } - leaf is-aigp-cost-community-id { - type uint32; - description "AIGP cost community ID"; - } - leaf is-aigp-cost-community-transitive { - type uint32; - description "AIGP cost community ID is transitive"; - } - leaf aigp-cost-community-poi { - type uint32; - description "Point of insertion for AIGP cost community"; - } - leaf is-aigp-med-enabled { - type boolean; - description "AIGP to MED enabled"; - } - leaf accept-own { - type boolean; - description "Accept Own"; - } - leaf multipath { - type boolean; - description "multipath"; - } - leaf is-fspec-valid-enabled { - type boolean; - description "FSPEC VALID enabled"; - } - leaf is-next-hop-unchanged-mpath { - type boolean; - description "Don't change mpath next-hop"; - } - leaf is-send-mcast-attr-enabled { - type boolean; - description "Send mcast attr enabled"; - } - leaf advertise-v4 { - type uint8; - description "Advertise afi"; - } - leaf advertise-v6 { - type uint8; - description "Advertise afi"; - } - leaf advertise-l2vpn-evpn { - type uint8; - description "Advertise afi"; - } - leaf advertise-disable { - type uint8; - description "Advertise afi"; - } - leaf advertise-def-vrf-imp-disable-v4 { - type uint8; - description "Advertise afi"; - } - leaf advertise-def-vrf-imp-disable-v6 { - type uint8; - description "Advertise afi"; - } - leaf advertise-vrf-re-imp-disable-v4 { - type uint8; - description "Advertise afi"; - } - leaf advertise-vrf-re-imp-disable-v6 { - type uint8; - description "Advertise afi"; - } - leaf encapsulation-type { - type uint32; - description "Encapsulation type"; - } - leaf import { - type boolean; - description "Import"; - } - leaf import-stitching { - type boolean; - description "Import stitching RTs"; - } - leaf import-reoriginate { - type boolean; - description "Import reoriginate"; - } - leaf import-reoriginate-stitching { - type boolean; - description "Import reoriginate stitching RTs"; - } - leaf advertise-local-labeled-route { - type uint32; - description "Advertise routes with local-label"; - } - leaf enforce-multiple-labels { - type uint32; - description "Enforce multiple labels"; - } - } - - grouping BGP-CONFIG-ENTID { - description "BGP config group entity identification"; - - list bgp-config-entid { - description "bgp config entid"; - - container neighbor-address { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - leaf address-family-identifier { - type uint8; - description "Address family identfier"; - } - leaf configuration-type { - type Bgp-entities; - description "Entity type"; - } - leaf group-name { - type string; - description "Group name"; - } - } - } - - grouping BGP-CONFIG-INFO { - description "BGP item config information"; - - container inheritance-chain { - description "Pointer to the inheritance chain"; - uses BGP-CONFIG-ENTID; - } - leaf is-item-configured { - type boolean; - description - "TRUE if the item value is a configured value - different from the default"; - } - } - - grouping BGP-AF-INDEP { - description "BGP AF-independent configuration information"; - - container local-ip-address { - description - "Local ipv4 or ipv6 address for neighbor - connection"; - uses BGP-ADDRTYPE; - } - - container remote-as-info { - description "Remote AS number item info"; - uses BGP-CONFIG-INFO; - } - - container speaker-id-info { - description "Configured speaker ID item info"; - uses BGP-CONFIG-INFO; - } - - container min-advertisement-info { - description "Minimum advertisement interval item info"; - uses BGP-CONFIG-INFO; - } - - container description-info { - description "Description item info"; - uses BGP-CONFIG-INFO; - } - - container ebgp-hop-count-info { - description "EBGP neighbors hop count item info"; - uses BGP-CONFIG-INFO; - } - - container tcpmss-info { - description "TCP Maximum Segment Size item info"; - uses BGP-CONFIG-INFO; - } - - container bmp-servers-info { - description "BMP Servers Configuredinfo"; - uses BGP-CONFIG-INFO; - } - - container keychain-info { - description "Neighbor Keychain item info"; - uses BGP-CONFIG-INFO; - } - - container local-as-info { - description "Local AS number item info"; - uses BGP-CONFIG-INFO; - } - - container password-info { - description "Neighbor password item info"; - uses BGP-CONFIG-INFO; - } - - container receive-buffer-info { - description "Receive buffer sizes item info"; - uses BGP-CONFIG-INFO; - } - - container send-buffer-info { - description "Send buffer sizes item info"; - uses BGP-CONFIG-INFO; - } - - container shutdown-info { - description "Shutdown item info"; - uses BGP-CONFIG-INFO; - } - - container timers-info { - description "Timers item info"; - uses BGP-CONFIG-INFO; - } - - container local-address-info { - description "Local address item info"; - uses BGP-CONFIG-INFO; - } - - container msg-log-in-info { - description "Message Log Inbound item info"; - uses BGP-CONFIG-INFO; - } - - container msg-log-out-info { - description "Message Log Outbound item info"; - uses BGP-CONFIG-INFO; - } - - container update-source-info { - description "Update source item info"; - uses BGP-CONFIG-INFO; - } - - container dmz-link-bandwidth-info { - description "DMZ link bandwidth item "; - uses BGP-CONFIG-INFO; - } - - container ebgp-recv-dmz-info { - description "EBGP receive DMZ link bandwidth item info"; - uses BGP-CONFIG-INFO; - } - - container ebgp-send-dmz-info { - description "EBGP send DMZ link bandwidth item info"; - uses BGP-CONFIG-INFO; - } - - container ttl-security-info { - description "BGP TTL Security item info"; - uses BGP-CONFIG-INFO; - } - - container suppress4-bbyte-as-info { - description "BGP suppress 4byte-as item info"; - uses BGP-CONFIG-INFO; - } - - container session-open-mode-info { - description "TCP conn open mode info"; - uses BGP-CONFIG-INFO; - } - - container bfd-info { - description "BFD item info"; - uses BGP-CONFIG-INFO; - } - - container bfd-mininterval-info { - description "BFD Mininterval item info"; - uses BGP-CONFIG-INFO; - } - - container bfd-multiplier-info { - description "BFD Multiplier item info"; - uses BGP-CONFIG-INFO; - } - - container tos-info { - description "TOS item info"; - uses BGP-CONFIG-INFO; - } - - container nsr-disabled-info { - description "NSR item info"; - uses BGP-CONFIG-INFO; - } - - container graceful-restart-disabled-info { - description "Graceful-restart item info"; - uses BGP-CONFIG-INFO; - } - - container nbr-restart-time-info { - description "Restart time item info"; - uses BGP-CONFIG-INFO; - } - - container nbr-stale-path-time-info { - description "Stale-path time item info"; - uses BGP-CONFIG-INFO; - } - - container nbr-enforce-first-as-info { - description "Neighbor enforce first AS info"; - uses BGP-CONFIG-INFO; - } - - container cluster-id-info { - description "Cluster ID item info"; - uses BGP-CONFIG-INFO; - } - - container ignore-connected-info { - description "Ignore Connected Info"; - uses BGP-CONFIG-INFO; - } - - container internal-vpn-client-info { - description "Internal VPN Client Info"; - uses BGP-CONFIG-INFO; - } - - container addpath-send-capability-info { - description "Addpath send capability info"; - uses BGP-CONFIG-INFO; - } - - container addpath-receive-capability-info { - description "Addpath receive capability info"; - uses BGP-CONFIG-INFO; - } - - container egress-peer-engineering-info { - description "Egress Peer Engineering info"; - uses BGP-CONFIG-INFO; - } - - container update-error-handling-no-reset-info { - description "Error-handling avoid-reset config info"; - uses BGP-CONFIG-INFO; - } - - container prefix-validation-disable-info { - description "RPKI disable info"; - uses BGP-CONFIG-INFO; - } - - container prefix-validation-use-validit-info { - description "RPKI use validity"; - uses BGP-CONFIG-INFO; - } - - container prefix-validation-allow-invalid-info { - description "RPKI allow invalid info"; - uses BGP-CONFIG-INFO; - } - - container prefix-validation-signal-ibgp-info { - description "RPKI signal ibgp info"; - uses BGP-CONFIG-INFO; - } - - container neighbor-update-filter-exists-info { - description "Neighbor update filter configuration info"; - uses BGP-CONFIG-INFO; - } - - container neighbor-update-filter-message-buffer-count-info { - description - "Neighbor update filter message buffer count info"; - uses BGP-CONFIG-INFO; - } - - container neighbor-update-filter-syslog-disable-info { - description "Neighbor update filter syslog disable info"; - uses BGP-CONFIG-INFO; - } - - container neighbor-update-filter-attribute-info { - description - "Neighbor update filter attribute-filter group - info"; - uses BGP-CONFIG-INFO; - } - - container graceful-shutdown-info { - description "GracefulShutdown info"; - uses BGP-CONFIG-INFO; - } - - container graceful-shutdown-loc-pref-info { - description "GracefulShutdownLocPref info"; - uses BGP-CONFIG-INFO; - } - - container graceful-shutdown-as-prepends-info { - description "GracefulShutdownASPrepends info"; - uses BGP-CONFIG-INFO; - } - - container graceful-shutdown-activate-info { - description "GracefulShutdownAcivate info"; - uses BGP-CONFIG-INFO; - } - - container capability-negotiation-suppressed-info { - description "Capability negotiation suppressed info"; - uses BGP-CONFIG-INFO; - } - - container neighbor-remote-as-list-info { - description "Neighbor range remote-as-list group info"; - uses BGP-CONFIG-INFO; - } - - container max-peers-info { - description "Max dynamic nbrs in range info"; - uses BGP-CONFIG-INFO; - } - - container idle-watch-time-info { - description "Idle Watch time item info"; - uses BGP-CONFIG-INFO; - } - leaf remote-as-number-xx { - type uint32; - description "First half of Remote ASN"; - } - leaf remote-as-number-yy { - type uint32; - description "Second half of Remote ASN"; - } - leaf configured-speaker-id { - type uint32; - description "Configured speaker ID"; - } - leaf tcp-mss { - type uint32; - description "Maximum Segment Size"; - } - leaf min-advertisement-interval { - type uint32; - units "second"; - description "Minimum advertisement interval, secs part"; - } - leaf min-advertisement-interval-msecs { - type uint32; - units "millisecond"; - description "Minimum advertisement interval, msecs part"; - } - leaf description { - type string; - description "Description"; - } - leaf ebgp-hop-count { - type uint32; - description "EBGP neighbors hop count"; - } - leaf bmp-servers { - type uint32; - description "BMP Servers activated"; - } - leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { - type boolean; - description - "If true, MPLS and NULL rewrite is disabled; if - false, it is enabled"; - } - leaf keychain { - type string; - description "Neighbor keychain Name"; - } - leaf local-as-number-xx { - type uint32; - description "First half of Local ASN"; - } - leaf local-as-number-yy { - type uint32; - description "Second half of Local ASN"; - } - leaf local-as-no-prepend { - type boolean; - description "Local AS no-prepend option"; - } - leaf password { - type string; - description "Neighbor password"; - } - leaf socket-buffer-receive-size { - type uint32; - description "Socket receive buffer size"; - } - leaf bgp-buffer-receive-size { - type uint32; - description "BGP receive buffer size"; - } - leaf socket-buffer-send-size { - type uint32; - description "Socket send buffer size"; - } - leaf bgp-buffer-send-size { - type uint32; - description "BGP send buffer size"; - } - leaf adminstrative-shutdown { - type boolean; - description "Administrative shutdown"; - } - leaf keepalive-interval { - type uint32; - description "Keepalive interval"; - } - leaf hold-time-value { - type uint32; - description "Holdtime"; - } - leaf min-acc-hold-time-value { - type uint32; - description "Min acceptable holdtimefrom neighbor"; - } - leaf msg-log-in-buf-count { - type uint32; - description "Message Log Inbound buffer count"; - } - leaf msg-log-out-buf-count { - type uint32; - description "Message Log Outbound buffer count"; - } - leaf route-updates-source { - type string; - description "Source of routing updates"; - } - leaf dmz-link-bandwidth { - type uint32; - description "Propagate the DMZ link bandwidth"; - } - leaf ebgp-recv-dmz { - type uint32; - description - "Receive Bandwidth of link to single-hop eBGP - peer"; - } - leaf ebgp-send-dmz-mode { - type Bgp-ebgp-send-dmz-enable-mode; - description "Send DMZ link bandwidthto ebgp peer"; - } - leaf ttl-security { - type uint32; - description "Enable BGP TTL Security"; - } - leaf suppress4-byte-as { - type uint32; - description "Suppress BGP 4byteas Cap"; - } - leaf capability-negotiation-suppressed { - type uint32; - description "Capability negotiation is suppressed"; - } - leaf session-open-mode { - type Bgp-tcp-mode; - description "TCP open mode to be used "; - } - leaf bfd { - type uint32; - description "Fast failure detection using BFD"; - } - leaf bfd-mininterval { - type uint32; - description "BFD Minimum Interval"; - } - leaf bfd-multiplier { - type uint32; - description "BFD Multiplier"; - } - leaf tos-type-info { - type uint8; - description "Precedence or DSCP type"; - } - leaf tos-value-info { - type uint8; - description "Precedence or DSCP value"; - } - leaf nsr-disabled { - type uint32; - description "Support for NSR"; - } - leaf graceful-restart-disabled { - type uint32; - description "Support for graceful-restart"; - } - leaf nbr-restart-time { - type uint32; - units "second"; - description "Restart time (in seconds)"; - } - leaf nbr-stale-path-time { - type uint32; - units "second"; - description "Stale-path time(in seconds)"; - } - leaf nbr-enforce-first-as-status { - type boolean; - description "Neighbor enforce first AS status"; - } - leaf nbr-cluster-id-type-info { - type uint8; - description "Cluster ID Type"; - } - leaf nbr-cluster-id-info { - type uint32; - description "Cluster ID value"; - } - leaf ignore-connected-check { - type boolean; - description "If true, don't do NHconnected check for nbr"; - } - leaf internal-vpn-client { - type boolean; - description "If true, the VPN client isan iBGP CE peer"; - } - leaf addpath-send-capability { - type uint32; - description - "Indicates if addpath send capability is enabled - or disabled"; - } - leaf update-error-handling-no-reset { - type uint32; - description - "Indicates if avoid-reset behavior is enabled - during update error-handling"; - } - leaf addpath-receive-capability { - type uint32; - description - "Indicates if addpath receive capability is - enabled or disabled"; - } - leaf egress-peer-engineering { - type uint32; - description "Indicates egress peer engineering is enabled"; - } - leaf prefix-validation-disable { - type uint32; - description "Prefix validation disable"; - } - leaf bestpath-use-origin-as-validity { - type uint32; - description "Bestpath Use Origin-AS Va"; - } - leaf prefix-validation-allow-invalid { - type uint32; - description "Prefix validation allow invalid"; - } - leaf prefix-validation-signal-ibgp { - type uint32; - description "Prefix validation signal ibgp"; - } - leaf neighbor-update-filter-exists { - type boolean; - description - "Indicates if neighbor filter configuration - exists"; - } - leaf neighbor-update-filter-message-buffer-count { - type uint32; - description "Count of neighbor filter message buffers"; - } - leaf neighbor-update-filter-message-buffer-is-non-circular { - type boolean; - description - "Indicates if neighbor update filter message - buffer is circular or not"; - } - leaf neighbor-update-filter-logging-disable { - type boolean; - description - "Indicates if neighbor filter logging is disabled"; - } - leaf neighbor-update-filter-attribute-filter-group-name { - type string; - description "Neighbor filter attribute-filter group name"; - } - leaf graceful-shutdown-exists { - type uint32; - description - "re-advertise all routes to and from this - neighbor with the GSHUT community during - Shutdown or bring-up"; - } - leaf graceful-shutdown-loc-pref { - type uint32; - description - "Local Preference to advertise routes with during - Graceful Shutdown to IBGP. Default=No Touch"; - } - leaf graceful-shutdown-as-prepends { - type uint32; - description - "Prepend the local AS this many times to the AS - path of routes advertised during Graceful - Shutdown"; - } - leaf graceful-shutdown-activate { - type uint32; - description "Graceful Shutdown state is activated"; - } - leaf neighbor-remote-as-list-group-name { - type string; - description "Neighbor Range remote-as-list group name"; - } - leaf max-peers { - type uint32; - description "Maximum dynamic nbrs in range"; - } - leaf idle-watch-time { - type uint32; - units "second"; - description "Idle Watch time(in seconds)"; - } - leaf local-as-replace-as { - type boolean; - description "Local AS Replace-AS option"; - } - leaf local-as-dual-as { - type boolean; - description "Local AS Dual-AS option"; - } - } - - grouping BGP-IPV6-SRPOLICY-ADDR { - description "BGP IPV6 SRPOLICY ADDR"; - leaf ipv6-srpolicy-address { - type yang:hex-string; - description "ipv6 srpolicy address"; - } - } - - grouping IPV6-SR-POLICY-ADDRESS-TYPE { - description "IPv6 SR Policy Address type"; - uses BGP-IPV6-SRPOLICY-ADDR; - } - - grouping BGP-IPV4-SRPOLICY-ADDR { - description "BGP IPV4 SRPOLICY ADDR"; - leaf ipv4-srpolicy-address { - type yang:hex-string; - description "ipv4 srpolicy address"; - } - } - - grouping IPV4-SR-POLICY-ADDRESS-TYPE { - description "IPv4 SR Policy Address type"; - uses BGP-IPV4-SRPOLICY-ADDR; - } - - grouping BGP-L2VPN-MSPW-ADDR { - description "BGP L2VPN MSPW ADDR"; - leaf l2vpn-address { - type yang:hex-string; - description "l2vpn address"; - } - } - - grouping L2VPN-MSPW-ADDRESS-TYPE { - description "L2VPN MSPW Address type"; - uses BGP-L2VPN-MSPW-ADDR; - } - - grouping BGP-L2VPN-ADDR { - description "BGP L2VPN ADDR"; - leaf l2vpn-address { - type yang:hex-string; - description "l2vpn address"; - } - } - - grouping BGP-ADDRTYPE { - description "BGP ADDRTYPE"; - - container l2vpn-vpls-address { - when "../afi = 'l2vpn-vpls'" { - description "../AFI = 'L2VPN_VPLS'"; - } - description "L2VPN VPLS Addr"; - uses BGP-L2VPN-ADDR; - } - - container l2vpn-mspw-address { - when "../afi = 'l2vpn-mspw'" { - description "../AFI = 'L2VPN_MSPW'"; - } - description "L2VPN MSPW Addr"; - uses L2VPN-MSPW-ADDRESS-TYPE; - } - - container ipv4-sr-policy-address { - when "../afi = 'ipv4-sr-policy'" { - description "../AFI = 'IPv4SRPolicy'"; - } - description "IPV4 Policy Addr"; - uses IPV4-SR-POLICY-ADDRESS-TYPE; - } - - container ipv6-sr-policy-address { - when "../afi = 'ipv6-sr-policy'" { - description "../AFI = 'IPv6SRPolicy'"; - } - description "IPV6 Policy Addr"; - uses IPV6-SR-POLICY-ADDRESS-TYPE; - } - leaf afi { - type Bgp-afi; - description "AFI"; - } - leaf ipv4-address { - when "../afi = 'ipv4'" { - description "../AFI = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 Addr"; - } - leaf ipv4-mcast-address { - when "../afi = 'ipv4-multicast'" { - description "../AFI = 'IPv4Multicast'"; - } - type inet:ipv4-address; - description "IPv4 Mcast Addr"; - } - leaf ipv4-label-address { - when "../afi = 'ipv4-labeled'" { - description "../AFI = 'IPv4Labeled'"; - } - type inet:ipv4-address; - description "IPv4 Label Addr"; - } - leaf ipv4-tunnel-address { - when "../afi = 'ipv4-tunnel'" { - description "../AFI = 'IPv4Tunnel'"; - } - type Ipv4-tunnel-address; - description "IPv4 Tunnel"; - } - leaf ipv4-mdt-address { - when "../afi = 'ipv4-mdt'" { - description "../AFI = 'IPv4MDT'"; - } - type Ipv4-mdt-address; - description "IPv4 MDT Addr"; - } - leaf ipv4vpn-address { - when "../afi = 'vpnv4'" { - description "../AFI = 'VPNv4'"; - } - type inet:ipv4-address; - description "IPv4 VPN Addr"; - } - leaf ipv4vpna-mcastddress { - when "../afi = 'vpnv4-multicast'" { - description "../AFI = 'VPNv4Multicast'"; - } - type inet:ipv4-address; - description "IPv4 VPN Mcast Addr"; - } - leaf ipv6-address { - when "../afi = 'ipv6'" { - description "../AFI = 'IPv6'"; - } - type Ipv6-address; - description "IPV6 Addr"; - } - leaf ipv6-mcast-address { - when "../afi = 'ipv6-multicast'" { - description "../AFI = 'IPv6Multicast'"; - } - type Ipv6-address; - description "IPV6 Mcast Addr"; - } - leaf ipv6-label-address { - when "../afi = 'ipv6-labeled'" { - description "../AFI = 'IPv6Labeled'"; - } - type Ipv6-address; - description "IPv6 Label Addr"; - } - leaf ipv6vpn-address { - when "../afi = 'vpnv6'" { - description "../AFI = 'VPNv6'"; - } - type Ipv6-address; - description "IPv6 VPN Addr"; - } - leaf ipv6vpn-mcast-address { - when "../afi = 'vpnv6-multicast'" { - description "../AFI = 'VPNv6Multicast'"; - } - type Ipv6-address; - description "IPv6 VPN Mcast Addr"; - } - leaf rt-constraint-address { - when "../afi = 'rt-constraint'" { - description "../AFI = 'RTConstraint'"; - } - type Rt-constraint-address; - description "RT Constrt Addr"; - } - leaf ipv6mvpn-address { - when "../afi = 'ipv6-mvpn'" { - description "../AFI = 'IPv6MVPN'"; - } - type Ipv6mvpn-address; - description "MVPN addr"; - } - leaf ipv4mvpn-address { - when "../afi = 'ipv4-mvpn'" { - description "../AFI = 'IPv4MVPN'"; - } - type Ipv4mvpn-address; - description "MVPN4 addr"; - } - leaf l2vpn-evpn-address { - when "../afi = 'l2vpn-evpn'" { - description "../AFI = 'L2VPN_EVPN'"; - } - type L2vpn-evpn-address; - description "L2VPN EVPN Addr"; - } - leaf ls-ls-address { - when "../afi = 'ls-ls'" { - description "../AFI = 'LS_LS'"; - } - type Ls-ls-address; - description "LINKSTATE LINKSTATE Addr"; - } - leaf ipv4-flowspec-address { - when "../afi = 'ipv4-flowspec'" { - description "../AFI = 'IPv4Flowspec'"; - } - type Ipv4-flowspec-address; - description "IPV4 Flowspec Addr"; - } - leaf ipv6-flowspec-address { - when "../afi = 'ipv6-flowspec'" { - description "../AFI = 'IPv6Flowspec'"; - } - type Ipv6-flowspec-address; - description "IPV6 Flowspec Addr"; - } - leaf ipv4vpn-flowspec-address { - when "../afi = 'vpnv4-flowspec'" { - description "../AFI = 'VPNv4Flowspec'"; - } - type Ipv4-flowspec-address; - description "IPV4 VPN Flowspec Addr"; - } - leaf ipv6vpn-flowspec-address { - when "../afi = 'vpnv6-flowspec'" { - description "../AFI = 'VPNv6Flowspec'"; - } - type Ipv6-flowspec-address; - description "IPV6 VPN Flowspec Addr"; - } - } - - grouping BGP-CONFIG-ENTITY-BAG { - description "BGP entity config information"; - - container neighbor-address-xr { - description "Neighbor Address"; - uses BGP-ADDRTYPE; - } - - container af-independent-config { - description "AF-independent config"; - uses BGP-AF-INDEP; - } - leaf group-name { - type string; - description "Entity/group name"; - } - leaf configuration-type { - type Bgp-entities; - description "Entity type"; - } - leaf address-family-identifier { - type uint8; - description "AF identifier"; - } - - list af-dependent-config { - max-elements "25"; - description "Af-dependent config"; - uses BGP-AF-DEP; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper.yang deleted file mode 100644 index edc05ae..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-oper.yang +++ /dev/null @@ -1,1410 +0,0 @@ -module Cisco-IOS-XR-ipv4-bgp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper"; - - - prefix "ipv4-bgp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ipv4-bgp-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ipv4-bgp-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-bgp package operational data. - - This module contains definitions - for the following management objects: - bgp: BGP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-08-27" { - description - "IOS XR 5.3.2 revision."; - } - - typedef Bgp-rpki-edm-af { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 10; - description "IPv6"; - } - } - description "Bgp rpki edm af"; - } - typedef Bgp-route { - type enumeration { - enum used { - value 0; - description "Used path from neighbor"; - } - enum received-only { - value 1; - description "Received only path from neighbor"; - } - enum safi-labeled-unicast-used { - value 2; - description - "Used path from neighbor received via - labeled-unicast SAFI"; - } - enum safi-labeled-unicast-received-only { - value 3; - description - "Received only path from neighbor received via - labeled-unicast SAFI"; - } - enum rib { - value 4; - description "Redistributed from the RIB"; - } - enum aggregate { - value 5; - description "Locally generated aggregate"; - } - } - description "Bgp route"; - } - typedef Bgp-entity { - type enumeration { - enum af-group { - value 0; - description "Address family group"; - } - enum session-group { - value 1; - description "Session group"; - } - enum neighbor-group { - value 2; - description "Neighbor group"; - } - enum neighbor { - value 3; - description "Neighbor"; - } - } - description "Bgp entity"; - } - typedef Bgp-route-distinguisher { - type string; - description "Bgp route distinguisher"; - } - - grouping UPDATE-GENERATION-PROCESS { - description "Common node of instance-active, instance-standby"; - - container update-generation-process { - description "Update generation for the process"; - uses BGP-UPDGEN-PROC-BAG; - } - } - - grouping PATH { - description - "Common node of path-table, path-used-table, - path-labeled-table"; - - list path { - description "A BGP path table entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for ip - prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Network prefix Length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor adddress"; - } - leaf route-type { - type Bgp-route; - description "Route Type"; - } - leaf source-rd { - type Bgp-route-distinguisher; - description "Source Route Distinguisher value"; - } - leaf path-id { - type int32; - description "Received Path ID"; - } - uses BGP-PATH-BAG; - } - } - - grouping BMP { - description "Common node of default-vrf, vrf"; - - container bmp { - description "BMP related Operational Data"; - - container server-summaries { - description "Table of BMP Servers"; - - list server-summary { - key "server-id"; - description "Summary Information about BMP server"; - leaf server-id { - type uint32 { - range "1..8"; - } - description "BMP Server ID"; - } - uses BGP-BMP-SRVR-BAG; - } - } - - container server-neighbors { - description "Table of Neighbors for a BMP Server"; - - list server-neighbor { - key "server-id"; - description - "BMP Server under which neighbor info are - needed"; - - container monitored-neighbors { - description - "List of Neighbors under which BMP Server is - confgiured"; - - list monitored-neighbor { - key "neighbor-address"; - description - "Information about a neighbor monitored by - BMP server"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-BMP-NBR-BAG; - } - } - leaf server-id { - type uint32 { - range "1..8"; - } - description "BMP Server ID"; - } - } - } - } - } - - grouping ATTRIBUTE-FILTER-GROUP-TABLE { - description "Common node of instance-active, instance-standby"; - - container attribute-filter-groups { - description "All attribute-filter groups in this instance"; - - list attribute-filter-group { - key "group-name"; - description "Attribute-filter group"; - leaf group-name { - type xr:Cisco-ios-xr-string; - description "Attribute-filter group name"; - } - uses BGP-ATTRFILTER-GROUP-BAG; - } - } - } - - grouping ATTRIBUTE-TABLE { - description - "Common node of instance-active, instance-standby, - af"; - - container attributes { - description "The BGP Attribute table"; - - list attribute { - description "A BGP Attribute table entry"; - leaf attribute-iid { - type int32; - description "Attribute IID"; - } - leaf attribute-cache-bucket { - type int32; - description "Attribute cache bucket"; - } - leaf attribute-cache-id { - type int32; - description "Attribute cache ID"; - } - uses BGP-ATTR-BAG; - } - } - } - - grouping SESSION-TABLE { - description "Common node of default-vrf, vrf"; - - container sessions { - description "The BGP session table"; - - list session { - key "neighbor-address"; - description "A BGP session table entry"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-NBR-BRIEF-BAG; - } - } - } - - grouping POSTIT-TABLE { - description "Common node of default-vrf, vrf"; - - container postits { - description "The BGP Neighbor table"; - - list postit { - key "neighbor-address"; - description "A BGP Postit table entry"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-NEIGHBOR-NSR-BAG; - } - } - } - - grouping UPDATE-INBOUND-ERROR-PROCESS { - description "Common node of instance-active, instance-standby"; - - container update-inbound-error-process { - description - "Update inbound error information for the process"; - uses BGP-UPDERR-PROC-BAG; - } - } - - grouping NEXT-HOP-VRF { - description "Common node of default-vrf, vrf"; - - container next-hop-vrf { - description "A BGP Next-hop VRF table entry"; - uses BGP-NEXTHOP-VRF-BAG; - } - } - - grouping RPKI-SUMMARY { - description "Common node of instance-active, instance-standby"; - - container rpki-summary { - description "RPKI Summary Info"; - uses BGP-RPKI-SUMMARY-BAG; - } - } - - grouping VRF-TABLE { - description "Common node of instance-active, instance-standby"; - - container vrfs { - description "VRF related operational data"; - - list vrf { - key "vrf-name"; - description "Operational data for a particular VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF"; - } - uses UPDATE-INBOUND-ERROR-VRF; - uses AF-TABLE; - uses INFORMATION; - uses UPDATE-INBOUND-FILTER-VRF; - uses POSTIT-TABLE; - uses GLOBAL-PROCESS-INFO; - uses UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE; - uses UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE; - uses BMP; - uses PROCESS-INFO; - uses SESSION-TABLE; - uses NEIGHBOR-TABLE; - uses NEXT-HOP-VRF; - uses NEIGHBOR-RANGE-TABLE; - uses MESSAGE-LOG-TABLE; - } - } - } - - grouping UPDATE-INBOUND-FILTER-VRF { - description "Common node of default-vrf, vrf"; - - container update-inbound-filter-vrf { - description - "Update inbound filtering information for the VRF"; - uses BGP-UPDFILTER-VRF-BAG; - } - } - - grouping RPKI-REFRESH-AF-TABLE { - description "Common node of instance-active, instance-standby"; - - container rpki-refresh-afs { - description "RPKI Refresh Table (per AF)"; - - list rpki-refresh-af { - key "af-name"; - description "RPKI Refresh List"; - leaf af-name { - type Bgp-rpki-edm-af; - description "Adress family"; - } - uses BGP-RPKI-REFRESH-LIST-BAG; - } - } - } - - grouping INFORMATION { - description "Common node of default-vrf, vrf"; - - container information { - description "Meta data for VRF"; - uses BGP-VRF-INFO-BAG; - } - } - - grouping ENTITY-CONFIGURATION-TABLE { - description - "Common node of config-instance-default-vrf, - config-vrf"; - - container entity-configurations { - description "The BGP Entity Configuration table"; - - list entity-configuration { - description "A BGP Entity Configuration table entry"; - leaf entity-type { - type Bgp-entity; - description "Entity type"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf entity-name { - type xr:Cisco-ios-xr-string; - description "Entity name"; - } - uses BGP-CONFIG-ENTITY-BAG; - } - } - } - - grouping DEFAULT-VRF { - description "Common node of instance-active, instance-standby"; - - container default-vrf { - description "Default VRF related operational data"; - uses UPDATE-INBOUND-ERROR-VRF; - uses AF-TABLE; - uses INFORMATION; - uses UPDATE-INBOUND-FILTER-VRF; - uses POSTIT-TABLE; - uses GLOBAL-PROCESS-INFO; - uses UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE; - uses UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE; - uses BMP; - uses PROCESS-INFO; - uses SESSION-TABLE; - uses NEIGHBOR-TABLE; - uses NEXT-HOP-VRF; - uses NEIGHBOR-RANGE-TABLE; - uses MESSAGE-LOG-TABLE; - } - } - - grouping UPDATE-INBOUND-ERROR-VRF { - description "Common node of default-vrf, vrf"; - - container update-inbound-error-vrf { - description "Update inbound error information for the VRF"; - uses BGP-UPDERR-VRF-BAG; - } - } - - grouping UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE { - description "Common node of default-vrf, vrf"; - - container update-inbound-filter-neighbors { - description - "Update inbound filtering information for all - neighbors"; - - list update-inbound-filter-neighbor { - key "neighbor-address"; - description - "Update inbound filtering information for - neighbor"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-UPDFILTER-NBR-BAG; - } - } - } - - grouping NEIGHBOR-RANGE-TABLE { - description - "Common node of default-vrf, vrfCommon node of - default-vrf, vrf"; - - container neighbor-ranges { - description "The BGP Dynamic Neighbor Range table"; - - list neighbor-range { - key "neighbor-range-address"; - description "A BGP Neighbor Range table entry"; - leaf neighbor-range-address { - type inet:ip-prefix; - description "Neighbor Range prefix"; - } - uses BGP-NBR-RANGE-BAG; - } - } - } - - grouping CONFIGURATION-USER-TABLE { - description - "Common node of config-instance-default-vrf, - config-vrf"; - - container configuration-users { - description "The BGP configuration users table"; - - list configuration-user { - description "A BGP configuration user table entry"; - leaf entity-type { - type Bgp-entity; - description "Entity type"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf entity-name { - type xr:Cisco-ios-xr-string; - description "Entity name"; - } - uses BGP-CONFIG-RELATIVES-BAG; - } - } - } - - grouping NEIGHBOR { - description "Common node of neighbors, neighbor-af-table"; - - list neighbor { - key "neighbor-address"; - description "A BGP Neighbor table entry"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-NBR-BAG; - } - } - - grouping UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE { - description "Common node of default-vrf, vrf"; - - container update-inbound-error-neighbors { - description - "Update inbound error information for all - neighbors"; - - list update-inbound-error-neighbor { - key "neighbor-address"; - description "Update inbound error information for neighbor"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-UPDERR-NBR-BAG; - } - } - } - - grouping RPKI-SERVER-LIST { - description "Common node of instance-active, instance-standby"; - - container rpki-server-list { - description "RPKI Server Table"; - uses BGP-RPKI-CACHES-BAG; - } - } - - grouping GLOBAL-PROCESS-INFO { - description "Common node of default-vrf, vrf"; - - container global-process-info { - description "The Global Process information table"; - uses BGP-GLOBAL-PROCESS-INFO-BAG; - } - } - - grouping RT-TABLE { - description "Common node of instance-active, instance-standby"; - - container rt-entries { - description "BGP Route Target Sets Table"; - - list rt-entry { - description "BGP Route Target Set Entry"; - leaf route-target-lower-bytes { - type int32; - description "Lower 4 bytes of RT"; - } - leaf route-target-upper-bytes { - type int32; - description "Upper 4 bytes of RT"; - } - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - leaf request-id { - type int32; - description "Random Request ID"; - } - uses BGP-VRF-RT-BAG; - } - } - } - - grouping RPKI-ROUTE-TABLE { - description "Common node of instance-active, instance-standby"; - - container rpki-routes { - description "BGP RPKI ROA table"; - - list rpki-route { - description "RPKI Path Group"; - leaf af-name { - type Bgp-rpki-edm-af; - description "Address family"; - } - leaf address { - type xr:Cisco-ios-xr-string; - description "Route Address (IPv4 / IPv6)"; - } - leaf minimum { - type int32; - description "Minimum Prefix Length"; - } - leaf maximum { - type int32; - description "Maximum Prefix Length"; - } - uses BGP-RPKI-ROUTES-BAG; - } - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbors { - description "The BGP Neighbor table"; - uses NEIGHBOR; - } - } - - grouping MESSAGE-LOG-TABLE { - description "Common node of default-vrf, vrf"; - - container message-logs { - description "The BGP Neighbor Message table"; - - list message-log { - description "A BGP Message log entry"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf direction { - type int32; - description "Direction"; - } - uses BGP-MSGLOG-NBR-BAG; - } - } - } - - grouping AF-TABLE { - description "Common node of default-vrf, vrf"; - - container afs { - description "BGP address family table"; - - list af { - key "af-name"; - description "A particular address family"; - - container network-lookup-all-rds { - description "The BGP Network Lookup Table"; - - list network-lookup-all-rd { - key "network-prefix"; - description "The BGP Network Lookup table"; - - container network-lookup-rds { - description "The BGP Network Lookup table"; - - list network-lookup-rd { - key "rd"; - description "A BGP Network table entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - uses BGP-NET-BAG; - } - } - leaf network-prefix { - type inet:ip-address-no-zone; - description "Network "; - } - } - } - - container policies { - description "The BGP Policy Table"; - - list policy { - description "A BGP Policy table entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Network prefix Length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-PATH-ADV-BAG; - } - } - - container convergence { - description "A BGP Convergence table entry"; - uses BGP-CONVERGENCE-BAG; - } - - container af-process-info { - description "A BGP Process address family table entry"; - uses BGP-PROCESS-INFO-AF-BAG; - } - - container path-used-table { - description "The BGP Path Used Table"; - uses PATH; - } - - container bmp-path-table-generic { - description "Summary Info about BMP Table"; - uses BGP-BMP-TBL-GBL-BAG; - } - - container rpc-sets { - description "BGP next-hop set table"; - - list rpc-set { - key "rpc-set-index"; - description "A BGP next-hop set"; - leaf rpc-set-index { - type int32; - description "Nexthop set index"; - } - uses BGP-RPC-SET-BAG; - } - } - - container global-af-process-info { - description - "The Global Address Family Process information - table"; - uses BGP-GLOBAL-PROCESS-INFO-AF-BAG; - } - - container network-prefixes { - description "The BGP Network Lookup table"; - - list network-prefix { - description "A BGP Network Lookup prefix entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network-prefix { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - uses BGP-NET-BAG; - } - } - - container advertised-path-xr { - description "The BGP Advertised path table (bestpath)"; - - list advertised-path { - description - "A BGP Advertised path table entry (bestpath)"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Network prefix Length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-PATH-BAG; - } - } - - container sourced-networks { - description "The BGP Convergence table"; - - list sourced-network { - key "network"; - description "A BGP network command table entry"; - leaf network { - type inet:ip-prefix; - description "Network in prefix/length format"; - } - uses BGP-STATIC-ROUTES-BAG; - } - } - - container update-groups { - description "The BGP Update group table"; - - list update-group { - description "A BGP Update group table entry"; - leaf update-group-id { - type int32; - description "Update group index"; - } - leaf filter-group-id { - type int32; - description "Filter group index"; - } - uses BGP-UPDGRP-BAG; - } - } - - container update-generation-sub-groups { - description "Update generation for all sub-groups"; - - list update-generation-sub-group { - description "Update generation for sub-group"; - leaf update-group-index { - type int32; - description "Update-group index"; - } - leaf sub-group-index { - type int32; - description "Sub-group index"; - } - leaf sub-group-id { - type int32; - description "Sub-group ID"; - } - uses BGP-UPDGEN-SUBGRP-BAG; - } - } - - container next-hop-address-families { - description "Address family of nexthop table"; - - list next-hop-address-family { - key "next-hop-af-name"; - description "Nexthop Address family"; - - container next-hop-af-vrf-af { - description "A BGP Next-hop VRF AF table entry"; - uses BGP-NEXTHOP-VRF-AF-BAG; - } - - container next-hop-afs { - description "The BGP Next-hop table"; - - list next-hop-af { - description "A BGP Next hop entry"; - leaf next-hop-address { - type inet:ip-address-no-zone; - description "Next hop address"; - } - leaf attribute-set { - type xr:Cisco-ios-xr-string; - description "Attribute Set Name"; - } - uses BGP-NEXTHOP-BAG; - } - } - leaf next-hop-af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - } - } - - container rt-set-counters { - description "The RT-set counter table"; - - list rt-set-counter { - key "rt-set-id"; - description "One RT-set counter table entry"; - leaf rt-set-id { - type int32; - description "RTSet ID"; - } - uses BGP-RTSET-BAG; - } - } - - container bmp-paths { - description "The paths in BMP Table"; - - list bmp-path { - description "A BMP path table entry"; - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Network prefix Length"; - } - uses BGP-BMP-NET-BAG; - } - } - - container update-generation-update-groups { - description "Update generation for all update-groups"; - - list update-generation-update-group { - key "update-group-index"; - description "Update generation for update-group"; - leaf update-group-index { - type int32; - description "Update-group index"; - } - uses BGP-UPDGEN-UPDGRP-BAG; - } - } - - container update-generation-filter-groups { - description - "Update generation for all filter-groups under - a sub-group"; - - list update-generation-filter-group { - description "Update generation for filter-group"; - leaf update-group-index { - type int32; - description "Update-group index"; - } - leaf sub-group-index { - type int32; - description "Sub-group index"; - } - leaf sub-group-id { - type int32; - description "Sub-group ID"; - } - leaf filter-group-index { - type int32; - description "Filter-group index"; - } - uses BGP-UPDGEN-FILTERGRP-BAG; - } - } - - container networks { - description "The BGP Network Table"; - - list network { - description "A BGP Network table entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Prefix Length"; - } - uses BGP-NET-BAG; - } - } - - container path-table { - description "The BGP Path Table"; - uses PATH; - } - - container epes { - description "The BGP Egress Engineering table"; - - list epe { - description "A BGP Egress Engineering table entry"; - leaf epe-key-length { - type int32; - description "Epe Key Length"; - } - leaf epe-set-key { - type xr:Cisco-ios-xr-string; - description "Epe Set Key"; - } - uses BGP-EPE-SET-BAG; - } - } - - container advertised-path-counts { - description "The BGP Advertised paths table (bestpath)"; - - list advertised-path-count { - key "neighbor-address"; - description - "The BGP Advertised path table Count - (bestpath)"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-NBR-ADV-CNT-BAG; - } - } - - container path-labeled-table { - description "The BGP Path Labeled Table"; - uses PATH; - } - - container advertised-paths { - description "The BGP Advertised paths table (add-paths)"; - - list advertised-path { - description - "A BGP Advertised paths table entry - (add-paths)"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "Network prefix length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor "; - } - uses BGP-PATH-MULTI; - } - } - - container neighbor-af-table { - description "The BGP Neighbor AF table"; - uses NEIGHBOR; - } - - container network-all-rds { - description "The BGP Network Lookup Table"; - - list network-all-rd { - description "The BGP Network Lookup table"; - - container network-rds { - description "The BGP Network Lookup table"; - - list network-rd { - key "rd"; - description "A BGP Network table entry"; - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - uses BGP-NET-BAG; - } - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf prefix-length { - type int32; - description "prefix length"; - } - } - } - - container update-generation-neighbors { - description "Update generation for all neighbors"; - - list update-generation-neighbor { - description "Update generation for neighbor"; - leaf update-group-index { - type int32; - description "Update-group index"; - } - leaf sub-group-index { - type int32; - description "Sub-group index"; - } - leaf sub-group-id { - type int32; - description "Sub-group ID"; - } - leaf filter-group-index { - type int32; - description "Filter-group index"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-UPDGEN-NBR-BAG; - } - } - - container update-generation-address-family { - description "Update generation for address-family"; - uses BGP-UPDGEN-AF-BAG; - } - - container dampenings { - description "The BGP Dampening table"; - - list dampening { - description "A BGP Dampening table entry"; - leaf reuse { - type int32; - description "Reuse array index"; - } - leaf version { - type int32; - description "Version number"; - } - leaf rd { - type Bgp-route-distinguisher; - description "Route Distinguisher value"; - } - leaf network { - type xr:Cisco-ios-xr-string; - description - "Network prefix in dotted decimal format for - ip prefix, else in hex string format"; - } - leaf length { - type int32; - description "Prefix length"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf source-rd { - type Bgp-route-distinguisher; - description "Source Route Distinguisher value"; - } - leaf path-id { - type int32; - description "Received Path ID"; - } - uses BGP-PATH-BAG; - } - } - - container prefix-filters { - description "The BGP Prefix Filter table"; - - list prefix-filter { - key "neighbor-address"; - description "A BGP prefix filter table entry"; - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses BGP-RCV-PFXLST-BAG; - } - } - leaf af-name { - type dt1:Bgp-address-family; - description "Address family"; - } - uses ATTRIBUTE-TABLE; - } - } - } - - grouping PROCESS-INFO { - description - "Common node of default-vrf, vrfCommon node of - default-vrf, vrf"; - - container process-info { - description "A Process instance table entry"; - uses BGP-PROCESS-INFO-BAG; - } - } - - grouping CONFIGURATION-INHERITANCE-TABLE { - description - "Common node of config-instance-default-vrf, - config-vrf"; - - container configuration-inheritances { - description "The BGP configurataion inheritance table"; - - list configuration-inheritance { - description "A BGP configuration inheritance table entry"; - leaf entity-type { - type Bgp-entity; - description "Entity type"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - leaf entity-name { - type xr:Cisco-ios-xr-string; - description "Entity name"; - } - uses BGP-CONFIG-RELATIVES-BAG; - } - } - } - - grouping UPDATE-INBOUND-FILTER-PROCESS { - description "Common node of instance-active, instance-standby"; - - container update-inbound-filter-process { - description - "Update inbound filtering information for the - process"; - uses BGP-UPDFILTER-PROC-BAG; - } - } - - container bgp { - config false; - description "BGP operational data"; - - container config-instances { - description "Instance specific BGP data"; - - list config-instance { - key "instance-name"; - description "Instance specific BGP data"; - - container config-instance-default-vrf { - description "Default VRF related configuration data"; - uses ENTITY-CONFIGURATION-TABLE; - uses CONFIGURATION-USER-TABLE; - uses CONFIGURATION-INHERITANCE-TABLE; - } - - container config-vrfs { - description "VRF related configuration data"; - - list config-vrf { - key "vrf-name"; - description "Configuration data for a particular VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF"; - } - uses ENTITY-CONFIGURATION-TABLE; - uses CONFIGURATION-USER-TABLE; - uses CONFIGURATION-INHERITANCE-TABLE; - } - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "Name of the BGP instance"; - } - } - } - - container instances { - description "Instance specific BGP data"; - - list instance { - key "instance-name"; - description "Instance specific BGP data"; - - container instance-active { - description "Active BGP operational data"; - - container label-entries { - description "BGP Label Table"; - - list label-entry { - key "label"; - description "BGP Label Entry"; - leaf label { - type int32; - description "Label index"; - } - uses BGP-LABEL-BAG; - } - } - - container label-summary { - description "BGP Label Summary"; - uses BGP-LABEL-SUMMARY-BAG; - } - - container label-rpf-entries { - description "BGP Label RPF Table"; - - list label-rpf-entry { - key "label"; - description "BGP Label RPF Entry"; - leaf label { - type int32; - description "Label index"; - } - uses BGP-LABEL-RPF-BAG; - } - } - uses UPDATE-GENERATION-PROCESS; - uses RPKI-REFRESH-AF-TABLE; - uses VRF-TABLE; - uses DEFAULT-VRF; - uses UPDATE-INBOUND-FILTER-PROCESS; - uses ATTRIBUTE-TABLE; - uses RT-TABLE; - uses ATTRIBUTE-FILTER-GROUP-TABLE; - uses RPKI-SERVER-LIST; - uses RPKI-ROUTE-TABLE; - uses UPDATE-INBOUND-ERROR-PROCESS; - uses RPKI-SUMMARY; - } - - container instance-standby { - description "Standby BGP operational data"; - uses UPDATE-GENERATION-PROCESS; - uses RPKI-REFRESH-AF-TABLE; - uses VRF-TABLE; - uses DEFAULT-VRF; - uses UPDATE-INBOUND-FILTER-PROCESS; - uses ATTRIBUTE-TABLE; - uses RT-TABLE; - uses ATTRIBUTE-FILTER-GROUP-TABLE; - uses RPKI-SERVER-LIST; - uses RPKI-ROUTE-TABLE; - uses UPDATE-INBOUND-ERROR-PROCESS; - uses RPKI-SUMMARY; - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "Name of the BGP instance"; - } - } - } - - container bpm-instances-table { - description "BGP instances information"; - - container bpm-instances { - description "BGP instances information"; - uses BGP-INSTANCES-INFO-BAG; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-cinetd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-cinetd-cfg.yang deleted file mode 100644 index 501cb4e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-cinetd-cfg.yang +++ /dev/null @@ -1,63 +0,0 @@ -module Cisco-IOS-XR-ipv4-cinetd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg"; - - - prefix "ipv4-cinetd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ip-tcp-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-cinetd package configuration. - - This YANG module augments the - Cisco-IOS-XR-ip-tcp-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-22" { - description - "IOS XR 6.4.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:ip/a1:cinetd" { - leaf rate-limit { - type uint32 { - range "1..100"; - } - default "1"; - description "Number of service requests accepted per second"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ip-tcp-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang deleted file mode 100644 index dc4d763..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang +++ /dev/null @@ -1,2092 +0,0 @@ -module Cisco-IOS-XR-ipv4-dhcpd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg"; - - - prefix "ipv4-dhcpd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-dhcpd package configuration. - - This module contains definitions - for the following management objects: - ipv4-dhcpd: DHCP IPV4 configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv4dhcpd-client-id { - type uint32 { - range "1..4294967295"; - } - description "Ipv4dhcpd client id"; - } - typedef Dhcpv4-match-option { - type enumeration { - enum 60/60 { - value 60; - description "Vendor class ID"; - } - enum 77/77 { - value 77; - description "77 User class"; - } - enum 124/124 { - value 124; - description "Vendor identifying class"; - } - enum 125/125 { - value 125; - description "Vendor specific information"; - } - } - description "Dhcpv4 match option"; - } - typedef Ipv4dhcpd-layer { - type enumeration { - enum layer2 { - value 2; - description "Layer2"; - } - enum layer3 { - value 3; - description "Layer3"; - } - } - description "Ipv4dhcpd layer"; - } - typedef Dhcpv4-limit-lease1 { - type enumeration { - enum interface { - value 1; - description "Interface"; - } - enum circuit-id { - value 2; - description "Circuit ID"; - } - enum remote-id { - value 3; - description "Remote ID"; - } - enum circuit-id-remote-id { - value 4; - description "Circuit ID Remote ID"; - } - } - description "Dhcpv4 limit lease1"; - } - typedef Matchoption { - type enumeration { - enum circuitid { - value 1; - description - "Match circuit id of option 82 Relay-agent - specific class"; - } - enum remoteid { - value 2; - description - "Match remote id of option 82 Relay-agent - specific class"; - } - enum 60 { - value 60; - description "Match option 60 vendor class id"; - } - enum 77 { - value 77; - description "Match option 77 user class"; - } - enum 124 { - value 124; - description - "Match option 124 vendor-identifying vendor - class"; - } - enum 125 { - value 125; - description - "Match option 125 vendor-indentifying - vendor-specific info"; - } - } - description "Matchoption"; - } - typedef Ipv4dhcpd-giaddr-policy { - type enumeration { - enum giaddr-policy-keep { - value 1; - description "Giaddr Policy Keep"; - } - } - description "Ipv4dhcpd giaddr policy"; - } - typedef Lease-limit-value { - type enumeration { - enum per-interface { - value 1; - description "Insert the limit lease type interface"; - } - enum per-circuit-id { - value 2; - description "Insert the limit lease type circuit-id"; - } - enum per-remote-id { - value 3; - description "Insert the limit lease type remote-id"; - } - } - description "Lease limit value"; - } - typedef Dhcpv4-auth-username { - type enumeration { - enum auth-username-mac { - value 1; - description "Authentication Username formating mac"; - } - enum auth-username-giaddr { - value 2; - description "Authentication Username formating giaddr"; - } - } - description "Dhcpv4 auth username"; - } - typedef Proxy-action { - type enumeration { - enum allow { - value 0; - description "Allow vendor specific DHCP Discover"; - } - enum drop { - value 1; - description "Drop vendor specific DHCP Discover"; - } - } - description "Proxy action"; - } - typedef Ipv4dhcpd-broadcast-flag-policy { - type enumeration { - enum ignore { - value 0; - description "Ignore"; - } - enum check { - value 1; - description "check"; - } - enum unicast-always { - value 2; - description "Unicast always"; - } - } - description "Ipv4dhcpd broadcast flag policy"; - } - typedef Base-action { - type enumeration { - enum allow { - value 0; - description "Allow vendor specific DHCP Discover"; - } - enum drop { - value 1; - description "Drop vendor specific DHCP Discover"; - } - } - description "Base action"; - } - typedef Dhcpv4-limit-lease { - type uint32 { - range "1..240000"; - } - description "Dhcpv4 limit lease"; - } - typedef Ipv4dhcpd-mode { - type enumeration { - enum base { - value 0; - description "Base"; - } - enum relay { - value 1; - description "Relay"; - } - enum snoop { - value 2; - description "Snoop"; - } - enum server { - value 3; - description "Server"; - } - enum proxy { - value 4; - description "Proxy"; - } - enum base2 { - value 5; - description "Base2"; - } - } - description "Ipv4dhcpd mode"; - } - typedef Matchaction { - type enumeration { - enum allow { - value 0; - description "Allow DHCP Discover"; - } - enum drop { - value 1; - description "Drop DHCP Discover"; - } - } - description "Matchaction"; - } - typedef Policy { - type enumeration { - enum ignore { - value 0; - description "Ignore the broadcast policy"; - } - enum check { - value 1; - description "Check for broadcast flag"; - } - enum unicastalways { - value 2; - description "Always Unicast the reply"; - } - } - description "Policy"; - } - typedef Ipv4dhcpd-relay-info-optionvpn-mode { - type enumeration { - enum rfc { - value 0; - description "RFC"; - } - enum cisco { - value 1; - description "Cisco"; - } - } - description "Ipv4dhcpd relay info optionvpn mode"; - } - typedef Ipv4dhcpd-fmt { - type enumeration { - enum no-format { - value 0; - description "Not a Format String"; - } - enum format { - value 1; - description "Format String"; - } - } - description "Ipv4dhcpd fmt"; - } - typedef Ipv4dhcpd-relay-info-option-authenticate { - type enumeration { - enum received { - value 0; - description "Received"; - } - enum inserted { - value 1; - description "Inserted"; - } - } - description "Ipv4dhcpd relay info option authenticate"; - } - typedef Ipv4dhcpd-relay-info-option-policy { - type enumeration { - enum replace { - value 0; - description "Replace"; - } - enum keep { - value 1; - description "Keep"; - } - enum drop { - value 2; - description "Drop"; - } - enum encapsulate { - value 3; - description "Encapsulate"; - } - } - description "Ipv4dhcpd relay info option policy"; - } - typedef Ipv4dhcpd-fmt-specifier { - type enumeration { - enum physical-chassis { - value 1; - description "Physical chassis"; - } - enum physical-slot { - value 2; - description "Physical slot"; - } - enum physical-sub-slot { - value 3; - description "Physical sub-slot"; - } - enum physical-port { - value 4; - description "Physical port"; - } - enum physical-sub-port { - value 5; - description "Physical sub-port"; - } - enum inner-vlan-id { - value 6; - description "Inner VLAN ID"; - } - enum outer-vlan-id { - value 7; - description "Outer VLAN ID"; - } - enum l2-interface { - value 8; - description "L2 Interface"; - } - } - description "Ipv4dhcpd fmt specifier"; - } - typedef Mac-mismatch-action { - type enumeration { - enum forward { - value 0; - description "Forward"; - } - enum drop { - value 1; - description "Drop"; - } - } - description "Mac mismatch action"; - } - - grouping OPTION-CODE-TABLE { - description "Common node of server, class"; - - container option-codes { - description "Table of OptionCode"; - - list option-code { - key "option-code"; - description "DHCP option code"; - leaf option-code { - type uint32 { - range "0..255"; - } - description "DHCP option code"; - } - leaf ascii-string { - type string; - description "ASCII string"; - } - leaf hex-string { - type string; - description "Hexadecimal string"; - } - leaf force-insert { - type int32; - description "Set constant integer"; - } - leaf-list ip-address { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "Server's IP address"; - } - } - } - } - - container ipv4-dhcpd { - description "DHCP IPV4 configuration"; - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF table"; - - container profile { - presence "Indicates a profile node is configured."; - description "Profile name and mode"; - leaf vrf-profile-name { - type string; - mandatory true; - description "Profile name"; - } - leaf mode { - type Ipv4dhcpd-mode; - mandatory true; - description "Dhcp mode"; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - } - } - - container profiles { - description "DHCP IPV4 Profile Table"; - - list profile { - key "profile-name"; - description "DHCP IPV4 Profile"; - - container modes { - description "DHCP IPV4 Profile modes"; - - list mode { - key "mode"; - description "DHCP IPV4 Profile mode"; - - container snoop { - description "DHCP Snoop profile"; - - container relay-information-option { - description "DHCP Snoop profile"; - - container remote-id { - description "Enter remote-id value"; - leaf format-type { - type uint32 { - range "1..2"; - } - description "Format type, 1. Hex 2. ASCII"; - } - leaf remote-id-value { - type string; - description "Enter remote-id value"; - } - } - leaf insert { - type empty; - description - "Insert Relay Agent Information circuit ID - and remote ID suboptions in client request"; - } - leaf allow-untrusted { - type empty; - description "Forward untrusted packets"; - } - leaf policy { - type Ipv4dhcpd-relay-info-option-policy; - description "Relay information option policy"; - } - } - leaf trusted { - type empty; - description "Trusted sources"; - } - } - - container base { - description "DHCP Base Profile"; - - container default-profile { - description "Enable the default profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Profile name"; - } - leaf profile-mode { - type int32; - description "none"; - } - } - - container match { - description "Insert match keyword"; - - container option-filters { - description "Table of Option"; - - list option-filter { - key "matchoption pattern format"; - description "Specify match option"; - leaf option-action { - type Base-action; - description "Vendor action"; - } - leaf matchoption { - type int32; - description "Match option 60"; - } - leaf pattern { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter hex pattern string"; - } - leaf format { - type int32; - description "Set constant integer"; - } - } - } - - container def-options { - description "Table of Option"; - - list def-option { - key "def-matchoption"; - description "Specify match option"; - leaf def-matchoption { - type int32; - description "Match option 60"; - } - leaf def-matchaction { - type Base-action; - mandatory true; - description "Vendor action"; - } - } - } - } - - container base-relay-opt { - description - "Insert Relay Agent Information circuit ID - and remote ID suboptions in client request"; - leaf remote-id { - type string { - length "1..256"; - } - description "Enter remote-id value"; - } - leaf authenticate { - type int32; - description - "Specify Relay Agent Information Option - authenticate"; - } - } - - container base-match { - description "Insert match keyword"; - - container options { - description "Specify match option"; - - list option { - key "opt60 opt60-hex-str format"; - description "none"; - - container option-profile { - description "Enter a profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Profile name"; - } - leaf profile-mode { - type int32; - description "none"; - } - } - leaf opt60 { - type int32; - description "none"; - } - leaf opt60-hex-str { - type xr:Cisco-ios-xr-string; - description "Enter hex pattern string"; - } - leaf format { - type int32; - description "Set constant integer"; - } - } - } - } - leaf enable { - type empty; - description "Enable the DHCP IPv4 Base Profile"; - } - } - - container server { - description "DHCP Server profile"; - - container server-id-check { - description "Validate server ID check"; - leaf check { - type empty; - description "specify server-id-check disable"; - } - } - - container lease-limit { - description "Specify limit lease"; - leaf lease-limit-value { - type Lease-limit-value; - description "Configure Lease limit value"; - } - leaf range { - type uint32 { - range "1..240000"; - } - description - "Value of limit lease count in Decimal"; - } - } - - container requested-ip-address { - description "Validate Requested IP Address"; - leaf check { - type empty; - description - "specify requested-ip-address-check disable"; - } - } - - container aaa-server { - description "Enable aaa dhcp option force-insert"; - - container dhcp-option { - description "Enable aaa dhcp option force-insert"; - leaf force-insert { - type empty; - description - "Enable aaa dhcp option force-insert"; - } - } - } - - container default-routers { - description "default routers"; - leaf-list default-router { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "Router's IP address"; - } - } - - container net-bios-name-servers { - description "NetBIOS name servers"; - leaf-list net-bios-name-server { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "NetBIOSNameServer's IP address"; - } - } - - container match { - description "Insert match keyword"; - - container option-defaults { - description "Table of OptionDefault"; - - list option-default { - key "matchoption"; - description "Specify match option"; - leaf matchoption { - type Matchoption; - description "Match option 60"; - } - leaf matchaction { - type Matchaction; - mandatory true; - description "Vendor action"; - } - } - } - - container options { - description "Table of Option"; - - list option { - key "matchoption pattern format"; - description "Specify match option"; - leaf matchoption { - type Matchoption; - description "Match option 60"; - } - leaf pattern { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter hex pattern string"; - } - leaf format { - type int32; - description "Set constant integer"; - } - leaf matchaction { - type Matchaction; - mandatory true; - description "Vendor action"; - } - } - } - } - - container broadcast-flag { - description "None"; - leaf policy { - type Policy; - description "Specify broadcast flag policy"; - } - } - - container session { - description "Change sessions configuration"; - - container throttle-type { - description - "Throttle DHCP sessions based on MAC - address"; - - container mac-throttle { - description - "Throttle DHCP sessions from any one MAC - address"; - leaf num-discover { - type uint32 { - range "1..65535"; - } - description - "Number of discovers at which to throttle"; - } - leaf num-request { - type uint32 { - range "1..100"; - } - units "second"; - description - "Throttle request period (in secs)"; - } - leaf num-block { - type uint32 { - range "1..100"; - } - units "second"; - description - "Throttle blocking period (in secs)"; - } - } - } - } - - container classes { - description "Table of Class"; - - list class { - key "class-name"; - description - "Create or enter server profile class"; - - container default-routers { - description "default routers"; - leaf-list default-router { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "Router's IP address"; - } - } - - container net-bios-name-servers { - description "NetBIOS name servers"; - leaf-list net-bios-name-server { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "NetBIOSNameServer's IP address"; - } - } - - container class-match { - description "Insert match keyword"; - - container class-options { - description "Table of Class-Option"; - - list class-option { - key "matchoption"; - description "Specify match option"; - leaf matchoption { - type Matchoption; - description "Match options"; - } - leaf pattern { - type string { - length "1..64"; - } - description "Enter hex pattern string"; - } - leaf bit-mask { - type string { - length "1..64"; - } - description - "Enter bit mask pattern string"; - } - } - } - leaf l2-interface { - type xr:Interface-name; - description "Specify match l2-interface"; - } - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Specify match VRF"; - } - } - - container lease { - description "lease"; - leaf infinite { - type string; - description "Set string"; - } - leaf days { - type uint32 { - range "0..365"; - } - units "day"; - description "Days"; - } - leaf hours { - type uint32 { - range "0..23"; - } - units "hour"; - description "Hours"; - } - leaf minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "Minutes"; - } - } - - container netbios-node-type { - description "NetBIOS node type"; - leaf broadcast-node { - type string; - description "Set string"; - } - leaf hybrid-node { - type string; - description "Set string"; - } - leaf mixed-node { - type string; - description "Set string"; - } - leaf peer-to-peer-node { - type string; - description "Set string"; - } - leaf hexadecimal { - type xr:Hex-integer; - description "Hexadecimal number"; - } - } - - container dns-servers { - description "DNS servers"; - leaf-list dns-server { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "DNS Server's IP address"; - } - } - leaf subnet-mask { - type inet:ipv4-address-no-zone; - description "Configure Subnet Mask"; - } - leaf pool { - type string; - description "Specify the pool"; - } - leaf enable { - type empty; - description - "Enable Create or enter server profile - class. Deletion of this object also - causes deletion of all associated objects - under Class."; - } - leaf infinite-lease { - type empty; - description "Infinite lease"; - } - leaf domain-name { - type xr:Cisco-ios-xr-string { - length "1..256"; - } - description "Domain name"; - } - leaf boot-filename { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Boot Filename"; - } - leaf next-server { - type inet:ipv4-address-no-zone; - description - "Configure the tftp-server IP to be used - by the client"; - } - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "class name"; - } - uses OPTION-CODE-TABLE; - } - } - - container relay { - description - "Specify Relay Agent Information Option - configuration"; - leaf authenticate { - type int32; - description - "Specify Relay Agent Information Option - authenticate"; - } - } - - container lease { - description "lease"; - leaf infinite { - type string; - description "Set string"; - } - leaf days { - type uint32 { - range "0..365"; - } - units "day"; - description "Days"; - } - leaf hours { - type uint32 { - range "0..23"; - } - units "hour"; - description "Hours"; - } - leaf minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "Minutes"; - } - } - - container netbios-node-type { - description "NetBIOS node type"; - leaf broadcast-node { - type string; - description "Set string"; - } - leaf hybrid-node { - type string; - description "Set string"; - } - leaf mixed-node { - type string; - description "Set string"; - } - leaf peer-to-peer-node { - type string; - description "Set string"; - } - leaf hexadecimal { - type xr:Hex-integer; - description "Hexadecimal number"; - } - } - - container dns-servers { - description "DNS servers"; - leaf-list dns-server { - type inet:ipv4-address-no-zone; - max-elements "8"; - description "DNS Server's IP address"; - } - } - leaf server-allow-move { - type empty; - description "Allow dhcp subscriber move"; - } - leaf subnet-mask { - type inet:ipv4-address-no-zone; - description "Configure Subnet Mask"; - } - leaf pool { - type string { - length "1..64"; - } - description "Specify the Pool name"; - } - leaf infinite-lease { - type empty; - description "Infinite lease"; - } - leaf domain-name { - type xr:Cisco-ios-xr-string { - length "1..256"; - } - description "Domain name"; - } - leaf secure-arp { - type empty; - description "Enable Secure Arp"; - } - leaf boot-filename { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Boot Filename"; - } - leaf next-server { - type inet:ipv4-address-no-zone; - description - "Configure the tftp-server IP to be used by - the client"; - } - uses OPTION-CODE-TABLE; - } - - container relay { - description "DHCP Relay profile"; - - container gi-addr-policy { - description "GIADDR policy"; - leaf policy { - type Ipv4dhcpd-giaddr-policy; - description "GIADDR policy"; - } - } - - container vrfs { - description "VRF Helper Addresses"; - - list vrf { - key "vrf-name"; - description "VRF Name"; - - container helper-addresses { - description "Helper Addresses"; - - list helper-address { - key "ip-address"; - description "Helper Address"; - leaf ip-address { - type inet:ipv4-address-no-zone; - description "IPV4 Address"; - } - leaf enable { - type empty; - description "Enable helper - deprecated"; - } - leaf gateway-address { - type inet:ipv4-address-no-zone; - description "GatewayAddress"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - } - } - - container relay-information-option { - description "Relay agent information option"; - leaf vpn-mode { - type Ipv4dhcpd-relay-info-optionvpn-mode; - description "VPN Mode"; - } - leaf subscriber-id { - type string; - description "Subscriber ID"; - } - leaf insert { - type empty; - description - "Insert Relay Agent Information circuit ID - and remote ID suboptions in client - requests"; - } - leaf check { - type empty; - description - "Check Relay Agent Information Option in - server reply"; - } - leaf vpn { - type empty; - description "Insert VPN options"; - } - leaf allow-untrusted { - type empty; - description "Forward untrusted packets"; - } - leaf policy { - type Ipv4dhcpd-relay-info-option-policy; - description "Relay information option policy"; - } - } - - container broadcast-policy { - description "Broadcast Flag policy"; - leaf policy { - type Ipv4dhcpd-broadcast-flag-policy; - description "Broadcast flag policy"; - } - } - leaf mac-mismatch-action { - type Mac-mismatch-action; - description - "Action to take if L2 header source Mac and - dhcp header mac address don't match"; - } - } - - container proxy { - description "DHCP proxy profile"; - - container giaddr { - description "Specify gateway address policy"; - leaf policy { - type Ipv4dhcpd-giaddr-policy; - description "Gateway address policy"; - } - } - - container classes { - description "DHCP class table"; - - list class { - key "class-name"; - description "DHCP class"; - - container match { - description "Match option"; - - container option { - description "Match option"; - leaf option-type { - type Dhcpv4-match-option; - description "Match option"; - } - leaf pattern { - type string; - description "Hex pattern string"; - } - leaf bit-mask { - type string; - description "Bit mask pattern"; - } - } - leaf vrf { - type string; - description "Match VRF name"; - } - } - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "VRF name"; - - container helper-addresses { - description "Helper addresses"; - - list helper-address { - key "server-address"; - description "Helper address"; - leaf server-address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - leaf gateway-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Gateway address"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - leaf enable { - type empty; - description "Enable the DHCP IPV4 proxy class"; - } - leaf class-name { - type xr:Cisco-ios-xr-string; - description "Class name"; - } - } - } - - container auth-username { - presence "Indicates a auth-username node is"+ - " configured."; - description "Authentication Username formating"; - leaf arg1 { - type Dhcpv4-auth-username; - mandatory true; - description "Username Formatting first argument "; - } - leaf arg2 { - type Dhcpv4-auth-username; - description - "Username Formatting second argument "; - } - } - - container relay-information { - description "Relay agent information option"; - leaf option { - type empty; - description - "Insert relay rgent information circuit ID - and remote ID suboptions in client - requests"; - } - leaf vpn { - type empty; - description "Insert VPN options"; - } - leaf allow-untrusted { - type empty; - description "Forward untrusted packets"; - } - leaf circuit-id { - type empty; - description "Insert Circuit-id sub-option"; - } - leaf policy { - type Ipv4dhcpd-relay-info-option-policy; - description "Relay information option policy"; - } - leaf vpn-mode { - type Ipv4dhcpd-relay-info-optionvpn-mode; - description "VPN Mode"; - } - leaf remote-id-xr { - type empty; - description "Insert Remote-id sub-option"; - } - leaf remote-id-suppress { - type empty; - description "Suppress Remote ID"; - } - leaf check { - type empty; - description - "Check relay agent information option in - server reply"; - } - leaf remote-id { - type string; - description "Remote ID"; - } - leaf authenticate { - type Ipv4dhcpd-relay-info-option-authenticate; - description - "Relay information option authenticate"; - } - } - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "VRF name"; - - container helper-addresses { - description "Helper addresses"; - - list helper-address { - key "server-address"; - description "Helper address"; - leaf server-address { - type inet:ipv4-address-no-zone; - description "IPv4 address"; - } - leaf gateway-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Gateway address"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container sessions { - description "Change sessions configuration"; - - container proxy-throttle-type { - description - "Throttle DHCP sessions based on MAC - address"; - - container proxy-mac-throttle { - description - "Throttle DHCP sessions from any one MAC - address"; - leaf num-discover { - type uint32 { - range "1..65535"; - } - description - "Number of discovers at which to throttle"; - } - leaf num-request { - type uint32 { - range "1..100"; - } - units "second"; - description - "Throttle request period (in secs)"; - } - leaf num-block { - type uint32 { - range "1..100"; - } - units "second"; - description - "Throttle blocking period (in secs)"; - } - } - } - } - - container limit-lease { - presence "Indicates a limit-lease node is"+ - " configured."; - description "Proxy limit lease"; - leaf limit-type { - type Dhcpv4-limit-lease1; - mandatory true; - description "Lease limit type"; - } - leaf limit-lease-count { - type Dhcpv4-limit-lease; - mandatory true; - description "Limit lease count"; - } - } - - container lease-proxy { - description "DHCPv4 lease proxy"; - leaf client-lease-time { - type uint32 { - range "300..4294967295"; - } - description "Specify client lease proxy time"; - } - leaf set-server-options { - type empty; - description - "Set DHCP server sent options in lease - proxy generating ACK"; - } - } - - container broadcast-flag { - description "Specify broadcast flag"; - leaf policy { - type Ipv4dhcpd-broadcast-flag-policy; - description "Broadcast flag policy"; - } - } - - container match { - description "Insert match keyword"; - - container def-options { - description "Table of Option"; - - list def-option { - key "def-matchoption"; - description "Specify match option"; - leaf def-matchoption { - type int32; - description "Match option 60"; - } - leaf def-matchaction { - type Proxy-action; - mandatory true; - description "Vendor action"; - } - } - } - - container option-filters { - description "Table of Option"; - - list option-filter { - key "matchoption pattern format"; - description "Specify match option"; - leaf matchoption { - type int32; - description "Match option 60"; - } - leaf pattern { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter hex pattern string"; - } - leaf format { - type int32; - description "Set constant integer"; - } - leaf matchaction { - type Proxy-action; - mandatory true; - description "Vendor action"; - } - } - } - } - leaf proxy-allow-move { - type empty; - description "Allow dhcp subscriber move"; - } - leaf secure-arp { - type empty; - description - "DHCP IPV4 profile proxy secure-arp enable"; - } - leaf delayed-authen-proxy { - type empty; - description - "For BNG session, delay the authentication"; - } - leaf enable { - type empty; - description "DHCP IPV4 profile mode enable"; - } - } - leaf enable { - type empty; - description "Enable the DHCP IPV4 Profile mode"; - } - leaf mode { - type Ipv4dhcpd-mode; - description "DHCP IPV4 Profile mode"; - } - } - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile Name"; - } - } - } - - container database { - description - "Enable DHCP binding database storage to file - system"; - leaf proxy { - type empty; - description - "Enable DHCP proxy binding database storage to - file system"; - } - leaf server { - type empty; - description - "Enable DHCP server binding database storage to - file system"; - } - leaf snoop { - type empty; - description - "Enable DHCP snoop binding database storage to - file system"; - } - leaf full-write-interval { - type uint32 { - range "1..1440"; - } - default "10"; - description "Full file write interval (default 10 minutes)"; - } - leaf incremental-write-interval { - type uint32 { - range "1..1440"; - } - default "1"; - description - "Incremental file write interval (default 1 - minutes)"; - } - } - - container interfaces { - description "DHCP IPV4 Interface Table"; - - list interface { - key "interface-name"; - description "DHCP IPV4 Interface"; - - container proxy-interface { - description "DHCP IPv4 proxy information"; - - container dhcp-circuit-id { - presence "Indicates a dhcp-circuit-id node is"+ - " configured."; - description "Circuit ID value"; - leaf circuit-id { - type string; - mandatory true; - description "DHCP IPv4 circuit ID value"; - } - leaf format { - type Ipv4dhcpd-fmt; - mandatory true; - description "Format String"; - } - leaf argument1 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument2 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument3 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument4 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument5 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument6 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument7 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument8 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument9 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument10 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument11 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument12 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument13 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument14 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument15 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument16 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - } - leaf profile { - type string; - description "Interface profile name"; - } - } - - container base-interface { - description "DHCP IPv4 Base profile information"; - - container base-dhcp-circuit-id { - presence "Indicates a base-dhcp-circuit-id node is"+ - " configured."; - description "Circuit ID value"; - leaf circuit-id { - type string; - mandatory true; - description "DHCP IPv4 circuit ID value"; - } - leaf format { - type Ipv4dhcpd-fmt; - mandatory true; - description "Format String"; - } - leaf argument1 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument2 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument3 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument4 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument5 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument6 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument7 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument8 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument9 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument10 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument11 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument12 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument13 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument14 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument15 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument16 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - } - leaf profile { - type string; - description "Interface profile name"; - } - } - - container relay-interface { - description "DHCP IPv4 relay information"; - - container relay-dhcp-circuit-id { - presence "Indicates a relay-dhcp-circuit-id node is"+ - " configured."; - description "Circuit ID value"; - leaf circuit-id { - type string; - mandatory true; - description "DHCP IPv4 circuit ID value"; - } - leaf format { - type Ipv4dhcpd-fmt; - mandatory true; - description "Format String"; - } - leaf argument1 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument2 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument3 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument4 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument5 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument6 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument7 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument8 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument9 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument10 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument11 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument12 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument13 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument14 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument15 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument16 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - } - } - - container static-mode { - description - "Static Table Entries containing MAC address to - IP address bindings"; - - container statics { - description - "Static Table Entries containing MAC address - to IP address bindings"; - - list static { - key "mac-address client-id layer"; - description - "DHCP static binding of Mac address to IP - address"; - leaf mac-address { - type yang:mac-address; - description "MACAddress"; - } - leaf client-id { - type Ipv4dhcpd-client-id; - description "Client Id"; - } - leaf layer { - type Ipv4dhcpd-layer; - description "DHCP IPV4 Static layer"; - } - leaf static-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "IP address"; - } - } - } - } - - container profile { - presence "Indicates a profile node is configured."; - description "Profile name and mode"; - leaf profile-name { - type string; - mandatory true; - description "Profile name"; - } - leaf mode { - type Ipv4dhcpd-mode; - mandatory true; - description "DHCP mode"; - } - } - - container server-interface { - description "DHCP IPv4 Server information"; - - container server-dhcp-circuit-id { - presence "Indicates a server-dhcp-circuit-id node is"+ - " configured."; - description "Circuit ID value"; - leaf circuit-id { - type string; - mandatory true; - description "DHCP IPv4 circuit ID value"; - } - leaf format { - type Ipv4dhcpd-fmt; - mandatory true; - description "Format String"; - } - leaf argument1 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument2 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument3 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument4 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument5 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument6 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument7 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument8 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument9 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument10 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument11 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument12 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument13 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument14 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument15 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - leaf argument16 { - type Ipv4dhcpd-fmt-specifier; - description "Argument"; - } - } - leaf profile { - type string; - description "Interface profile name"; - } - } - - container snoop-interface { - description "DHCP IPv4 snoop information"; - - container snoop-circuit-id { - description - "Configure circuit ID for snoop 1. Hex 2. - ASCII"; - leaf format-type { - type uint32 { - range "1..2"; - } - description "Format type, 1. Hex 2. ASCII"; - } - leaf circuit-id-value { - type string; - description "Enter circuit-id value"; - } - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container duplicate-mac-allowed { - presence "Indicates a duplicate-mac-allowed node is"+ - " configured."; - description "Allow Duplicate MAC Address"; - leaf duplicate-mac { - type empty; - mandatory true; - description "Duplicate mac is allowed"; - } - leaf exclude-vlan { - type empty; - description "Exclude vlan"; - } - leaf include-giaddr { - type empty; - description "Include giaddr"; - } - } - - container rate-limit { - description "Rate limit ingress packets"; - leaf num-period { - type uint32 { - range "1..1000"; - } - default "200"; - description - "Rate limiter period in msec (default: 200 msec)"; - } - leaf num-discover { - type uint32 { - range "0..1000"; - } - default "100"; - description - "Max DISCOVER packets per rate-limiter period - (default 100)"; - } - } - leaf enable { - type empty; - description "DHCP IPV4 configuration"; - } - leaf outer-cos { - type uint32 { - range "0..7"; - } - description "Configure outer cos values for dhcp packets"; - } - leaf allow-client-id-change { - type empty; - description - "For BNG session, allow client id change for a - client MAC"; - } - leaf inner-cos { - type uint32 { - range "0..7"; - } - description "Configure inner cos values for dhcp packets"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang deleted file mode 100644 index ff61cc0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang +++ /dev/null @@ -1,1378 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-dhcpd-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-dhcpd-oper { - prefix Cisco-IOS-XR-ipv4-dhcpd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-dhcpd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vrf-string { - type string { - length "0..33"; - } - description "Vrf string"; - } - typedef Dhcp-issu-version { - type enumeration { - enum version1 { - value 0; - description "Version 1"; - } - enum version2 { - value 1; - description "Version 2"; - } - } - description "Dhcp issu version"; - } - typedef Dhcp-issu-phase { - type enumeration { - enum phase-not-started { - value 0; - description "An ISSU event has not started"; - } - enum phase-load { - value 1; - description "ISSU Load Phase"; - } - enum phase-run { - value 2; - description "ISSU Run Phase"; - } - enum phase-completed { - value 3; - description "An ISSU event has completed successfully"; - } - enum phase-aborted { - value 4; - description "An ISSU event has aborted"; - } - } - description "Dhcp issu phase"; - } - typedef Dhcp-issu-role { - type enumeration { - enum role-primary { - value 0; - description "Primary role"; - } - enum role-secondary { - value 1; - description "Secondary role"; - } - } - description "Dhcp issu role"; - } - typedef Bag-dhcpd-intf-srg-role { - type enumeration { - enum none { - value 0; - description "DHCPv4 Interface SRG role NONE"; - } - enum master { - value 1; - description "DHCPv4 Interface SRG role Master"; - } - enum slave { - value 2; - description "DHCPv4 Interface SRG role Slave"; - } - } - description "Bag dhcpd intf srg role"; - } - typedef Bag-dhcpd-proxy-state { - type enumeration { - enum initializing { - value 0; - description "Initializing"; - } - enum selecting { - value 1; - description "Selecting"; - } - enum requesting { - value 2; - description "Requesting"; - } - enum bound { - value 3; - description "Bound"; - } - enum renewing { - value 4; - description "Renewing"; - } - enum informing { - value 5; - description "Informing"; - } - enum deleting { - value 6; - description "Deleting"; - } - enum create-dpm { - value 7; - description "Create dpm"; - } - enum offer-sent { - value 8; - description "Offer sent"; - } - enum update-dpm { - value 9; - description "Update dpm"; - } - enum route-install { - value 10; - description "Route install"; - } - enum disc-dpm { - value 11; - description "Disc dpm"; - } - enum renew-new-intf { - value 12; - description "Renew new intf"; - } - enum other-intf-dpm { - value 13; - description "Other intf dpm"; - } - enum request-dpm { - value 14; - description "Request dpm"; - } - enum change-addr-dpm { - value 15; - description "Change addr dpm"; - } - enum max { - value 16; - description "Max"; - } - } - description "Bag dhcpd proxy state"; - } - typedef Proxy-lease-limit { - type enumeration { - enum none { - description "Proxy lease limit type none"; - } - enum interface { - description "Proxy lease limit type interface"; - } - enum circuit-id { - description "Proxy lease limit type circuit ID"; - } - enum remote-id { - description "Proxy lease limit type remote ID"; - } - enum remote-id-circuit-id { - description "Proxy lease limit type remote ID + circuit ID"; - } - } - description "Proxy profile lease limit type"; - } - typedef Broadcast-flag { - type enumeration { - enum ignore { - description "Broadcast policy ignore"; - } - enum check { - description "Broadcast policy check"; - } - enum unicast-always { - description "Broadcast policy unicast always"; - } - } - description "Proxy profile broadcast flag"; - } - typedef Relay-info-vpn-mode { - type enumeration { - enum rfc { - description "RFC Mode"; - } - enum cisco { - description "Cisco Mode"; - } - } - description "Relay Info Vpn Mode"; - } - typedef Relay-info-authenticate { - type enumeration { - enum received { - description "Relay authenticate received"; - } - enum inserted { - description "Relay authenticate inserted"; - } - } - description "Profile relay authenticate"; - } - typedef Relay-info-policy { - type enumeration { - enum replace { - description "Relay policy replace"; - } - enum keep { - description "Relay policy keep"; - } - enum drop { - description "Relay policy drop"; - } - enum encapsulate { - description "Relay policy encapsulate"; - } - } - description "Proxy profile relay policy"; - } - typedef String1 { - type string { - length "0..33"; - } - description "String1"; - } - - grouping IPV4-DHCPD-RELAY-FILTERED-STATS { - description "DHCP IPv4 filtered statistics"; - leaf received-packets { - type uint64; - description "Received packets"; - } - leaf transmitted-packets { - type uint64; - description "Transmitted packets"; - } - leaf dropped-packets { - type uint64; - description "Dropped packets"; - } - } - - grouping IPV4-DHCPD-RELAY-STATS { - description "ipv4 dhcpd relay stats parameters"; - - list ipv4-dhcpd-relay-stat { - description "ipv4 dhcpd relay stat"; - - container statistics { - description "Public relay statistics"; - uses IPV4-DHCPD-RELAY-FILTERED-STATS; - } - leaf relay-statistics-vrf-name { - type string { - length "0..33"; - } - description "DHCP L3 VRF Name"; - } - } - } - - grouping IPV4-DHCPD-RELAY-STATS-INFO { - description "ipv4 dhcpd relay stats info"; - leaf relay-stats-timestamp { - type uint32; - description "Relay Stats timestamp"; - } - } - - grouping IPV4-DHCPD-RELAY-PROFILE { - description "ipv4 dhcpd relay profile parameters"; - leaf relay-profile-name { - type string { - length "0..65"; - } - description "Profile Name"; - } - leaf relay-profile-uid { - type uint32; - description "Profile UID"; - } - leaf relay-profile-helper-count { - type uint8; - description "Helper address count"; - } - leaf relay-profile-relay-info-option { - type uint8; - description "Relay info option"; - } - leaf relay-profile-relay-info-policy { - type uint8; - description "Relay info policy"; - } - leaf relay-profile-relay-info-allow-untrusted { - type uint8; - description "Relay info untrusted"; - } - leaf relay-profile-relay-info-optionvpn { - type uint8; - description "Relay info option vpn"; - } - leaf relay-profile-relay-info-optionvpn-mode { - type Relay-info-vpn-mode; - description "Relay info option vpn-mode"; - } - leaf relay-profile-relay-info-check { - type uint8; - description "Relay info check"; - } - leaf relay-profile-gi-addr-policy { - type uint8; - description "GIADDR policy"; - } - leaf relay-profile-broadcast-flag-policy { - type uint8; - description "Broadcast policy"; - } - leaf relay-profile-mac-mismatch-action { - type uint8; - description "Mac Mismatch Action"; - } - leaf-list relay-profile-helper-address { - type inet:ipv4-address; - max-elements "32"; - description "Helper addresses"; - } - leaf-list relay-profile-helper-vrf { - type Vrf-string; - max-elements "32"; - description "Helper address vrfs"; - } - leaf-list relay-profile-gi-addr { - type inet:ipv4-address; - max-elements "32"; - description "Gateway addresses"; - } - } - - grouping IPV4-DHCPD-SERVER-PROFILE { - description "ipv4 dhcpd server profile parameters"; - leaf server-profile-name-xr { - type string { - length "0..65"; - } - description "Profile Name"; - } - leaf secure-arp { - type boolean; - description "Secure ARP"; - } - leaf requested-address-check { - type boolean; - description "Requested Address Check"; - } - leaf server-id-check { - type boolean; - description "Server ID Check"; - } - leaf duplicate-mac-address-check { - type boolean; - description "Duplicate MAC Address Check"; - } - leaf duplicate-ip-address-check { - type boolean; - description "Duplicate IP Address Check"; - } - leaf is-move-allowed { - type boolean; - description "Is true if dhcp subscriber is allowed to move"; - } - leaf bcast-policy { - type uint8; - description "Bcast Policy"; - } - leaf giaddr-policy { - type uint8; - description "Giaddr Policy"; - } - leaf subnet-mask { - type inet:ipv4-address; - description "Subnet Mask"; - } - leaf server-pool-name { - type string { - length "0..65"; - } - description "Pool Name"; - } - leaf server-profile-lease { - type uint32; - description "Lease"; - } - leaf server-profile-netbios-node-type { - type uint8; - description "Server netbios node type"; - } - leaf server-bootfile-name { - type string { - length "0..256"; - } - description "Server Bootfile name"; - } - leaf server-domain-name { - type string { - length "0..256"; - } - description "Server Domain name"; - } - leaf server-profileiedge-check { - type uint8; - description "Server iEdge Check"; - } - leaf server-profile-server-dns-count { - type uint8; - description "Server DNS Count"; - } - leaf server-profiledefault-router-count { - type uint8; - description "Server default count "; - } - leaf server-profile-netbios-name-svr-count { - type uint8; - description "Server netbios svr count "; - } - leaf server-profile-time-svr-count { - type uint8; - description "Server time svr count "; - } - leaf lease-limit-type { - type uint8; - description "Lease Limit Type"; - } - leaf lease-limit-count { - type uint32; - description "Lease Limit Count"; - } - leaf-list server-profile-dns { - type inet:ipv4-address; - max-elements "9"; - description "Server DNS addresses"; - } - leaf-list server-profile-default-router { - type inet:ipv4-address; - max-elements "9"; - description "Server default addresses"; - } - leaf-list server-profile-netbious-name-server { - type inet:ipv4-address; - max-elements "9"; - description "Server netbios addresses"; - } - leaf-list server-profile-time-server { - type inet:ipv4-address; - max-elements "9"; - description "Server Time addresses"; - } - } - - grouping IPV4-DHCPD-DATABASE { - description "IPv4 DHCP database"; - leaf configured { - type boolean; - description "Database feature configured"; - } - leaf version { - type uint32; - description "Current file version"; - } - leaf full-file-write-interval { - type uint32; - units "minute"; - description "Full file write interval in minutes"; - } - leaf last-full-write-file-name { - type string { - length "0..64"; - } - description "Last full write file name"; - } - leaf last-full-write-time { - type uint32; - description "Last full write time since epoch"; - } - leaf full-file-write-count { - type uint32; - description "Full file write count"; - } - leaf failed-full-file-write-count { - type uint32; - description "Failed full file write count"; - } - leaf full-file-record-count { - type uint32; - description "Full file record count"; - } - leaf last-full-file-write-error-timestamp { - type uint32; - description - "Last full file write error timestamp since epoch"; - } - leaf incremental-file-write-interval { - type uint32; - units "minute"; - description "Incremental file write interval in minutes"; - } - leaf last-incremental-write-file-name { - type string { - length "0..64"; - } - description "Last incremental write file name"; - } - leaf last-incremental-write-time { - type uint32; - description "Last incremental write time since epoch"; - } - leaf incremental-file-write-count { - type uint32; - description "Incremental file write count"; - } - leaf failed-incremental-file-write-count { - type uint32; - description "Failed incremental file write count"; - } - leaf incremental-file-record-count { - type uint32; - description "Incremental file record count"; - } - leaf last-incremental-file-write-error-timestamp { - type uint32; - description - "Last incremental file write error timestamp - since epoch"; - } - } - - grouping IPV4-DHCPD-BASE-CHILD-PROFILE-INFO { - description "ipv4 dhcpd base child profile information"; - - list ipv4-dhcpd-base-child-profile-info { - description "ipv4 dhcpd base child profile info"; - leaf base-child-profile-name { - type string { - length "0..65"; - } - description "Base Child Profile name"; - } - leaf mode { - type uint8; - description "Profile mode"; - } - leaf matched-option-code { - type uint8; - description "Matched option code"; - } - leaf matched-option-len { - type uint8; - description "Matched option len"; - } - leaf option-data { - type yang:hex-string; - description "Matched option data"; - } - } - } - - grouping IPV4-DHCPD-BASE-INTERFACE-REFERENCE { - description "ipv4 dhcpd base profile reference"; - - list ipv4-dhcpd-base-interface-reference { - description "ipv4 dhcpd base interface reference"; - leaf base-reference-interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - } - } - - grouping IPV4-DHCPD-BASE-PROFILE { - description "IPv4 dhcpd base profile parameters"; - - container interface-references { - description "Interface references"; - uses IPV4-DHCPD-BASE-INTERFACE-REFERENCE; - } - - container child-profile-info { - description "child profile info"; - uses IPV4-DHCPD-BASE-CHILD-PROFILE-INFO; - } - leaf base-default-profile-name { - type string { - length "0..65"; - } - description "Base Default Profile name"; - } - leaf default-profile-mode { - type uint8; - description "Default Profile mode"; - } - leaf relay-authenticate { - type Relay-info-authenticate; - description "Relay authenticate"; - } - leaf remote-id { - type string { - length "0..768"; - } - description "DHCP configured Remote ID"; - } - leaf child-profile-count { - type uint8; - description "Child profile count"; - } - leaf intf-ref-count { - type uint8; - description "Interface reference count"; - } - } - - grouping DHCPD-ISSU-STATUS-INFO { - description "DHCP ISSU Status"; - leaf issu-sync-complete-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU sync complete in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf issu-sync-start-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU sync start in nanoseconds - since Epoch, i.e. since 00:00:00 UTC, January 1, - 1970"; - } - leaf issu-ready-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU ready declaration in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf big-bang-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the Big Bang notification time in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf primary-role-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the change to Primary role - notification time in nanoseconds since Epoch, i - .e. since 00:00:00 UTC, January 1, 1970"; - } - leaf role { - type Dhcp-issu-role; - description "The current role of the DHCP process"; - } - leaf phase { - type Dhcp-issu-phase; - description "The current ISSU phase of the DHCP process"; - } - leaf version { - type Dhcp-issu-version; - description - "The current version of the DHCP process in the - context of an ISSU"; - } - leaf issu-ready-issu-mgr-connection { - type boolean; - description - "Whether or not DHCP is currently connected to - ISSU Manager during the ISSU Load Phase"; - } - leaf issu-ready-entries-replicate { - type boolean; - description - "Whether or not DHCP has received all replicated - entries during the ISSU Load Phase"; - } - } - - grouping IPV4-DHCPD-PROXY-INTERFACE { - description "ipv4 dhcpd proxy interface"; - leaf intf-ifhandle { - type uint32; - description "Ifhandle of the interface"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - leaf intf-mode { - type uint32; - description "Mode of interface"; - } - leaf intf-is-ambiguous { - type uint32; - description "Is interface ambiguous"; - } - leaf intf-profile-name { - type string { - length "0..65"; - } - description "Name of profile attached to the interface"; - } - leaf intf-lease-limit-type { - type uint32; - description "Lease limit type on interface"; - } - leaf intf-lease-limit-count { - type uint32; - description "Lease limit count on interface"; - } - leaf srg-role { - type Bag-dhcpd-intf-srg-role; - description "DHCPv6 Interface SRG role"; - } - leaf mac-throttle { - type boolean; - description "Mac Throttle Status"; - } - } - - grouping IPV4-DHCPD-PROXY-BINDINGS-SUMMARY { - description "DHCP IPv4 proxy bindings summary"; - leaf clients { - type uint32; - description "Total number of clients"; - } - leaf initializing-clients { - type uint32; - description "Number of clients in init state"; - } - leaf waiting-for-dpm-init { - type uint32; - description "Number of clients in Init DPM wait state"; - } - leaf waiting-for-dpm-request { - type uint32; - description "Number of clients in Request DPM wait state"; - } - leaf waiting-for-daps-init { - type uint32; - description "Number of clients in Init DAPS wait state"; - } - leaf selecting-clients { - type uint32; - description "Number of clients in selecting state"; - } - leaf offer-sent-for-client { - type uint32; - description "Number of clients in Offer sent state"; - } - leaf requesting-clients { - type uint32; - description "Number of clients in requesting state"; - } - leaf request-waiting-for-dpm { - type uint32; - description - "Number of clients in Waiting for DPM with - Request"; - } - leaf ack-waiting-for-dpm { - type uint32; - description "Number of clients in Waiting for DPM with ACK"; - } - leaf bound-clients { - type uint32; - description "Number of clients in bound state"; - } - leaf renewing-clients { - type uint32; - description "Number of clients in renewing state"; - } - leaf informing-clients { - type uint32; - description "Number of clients in informing state"; - } - leaf reauthorizing-clients { - type uint32; - description "Number of clients in reauth state"; - } - leaf waiting-for-dpm-disconnect { - type uint32; - description - "Number of clients in waiting for DPM disconnect - state"; - } - leaf waiting-for-dpm-addr-change { - type uint32; - description - "Number of clients in Waiting for DPM after addr - change"; - } - leaf deleting-clients-d { - type uint32; - description "Number of clients in deleting state"; - } - leaf disconnected-clients { - type uint32; - description "Number of clients in disconnected state"; - } - leaf restarting-clients { - type uint32; - description "Number of clients in restarting state"; - } - } - - grouping IPV4-DHCPD-PROXY-BINDING { - description "DHCP IPv4 proxy binding entry"; - leaf client-id-xr { - type string { - length "0..1275"; - } - description "DHCP client identifier"; - } - leaf mac-address { - type string; - description "DHCP client MAC address"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCP client/subscriber VRF name"; - } - leaf server-vrf-name { - type string { - length "0..33"; - } - description "DHCP server VRF name"; - } - leaf ip-address { - type inet:ipv4-address; - description "DHCP IP address"; - } - leaf client-gi-addr { - type inet:ipv4-address; - description "DHCP client GIADDR"; - } - leaf to-server-gi-addr { - type inet:ipv4-address; - description "DHCP to server GIADDR"; - } - leaf server-ip-address { - type inet:ipv4-address; - description "DHCP server IP address"; - } - leaf reply-server-ip-address { - type inet:ipv4-address; - description "DHCP reply server IP address"; - } - leaf lease-time { - type uint32; - units "second"; - description "Lease time in seconds"; - } - leaf remaining-lease-time { - type uint32; - units "second"; - description "Remaining lease time in seconds"; - } - leaf state { - type Bag-dhcpd-proxy-state; - description "DHCP client state"; - } - leaf interface-name { - type xr:Interface-name; - description "DHCP access interface to client"; - } - leaf access-vrf-name { - type string { - length "0..33"; - } - description "DHCP access interface VRF name"; - } - leaf proxy-binding-outer-tag { - type uint32; - description "DHCP VLAN outer VLAN"; - } - leaf proxy-binding-inner-tag { - type uint32; - description "DHCP VLAN inner VLAN"; - } - leaf profile-name { - type string { - length "0..65"; - } - description "DHCP profile name"; - } - leaf is-nak-next-renew { - type boolean; - description - "Is true if DHCP next renew from client will be - NAK'd"; - } - leaf subscriber-label { - type uint32; - description "DHCP subscriber label"; - } - leaf old-subscriber-label { - type uint32; - description "DHCP old subscriber label"; - } - leaf subscriber-interface-name { - type xr:Interface-name; - description "DHCP subscriber interface"; - } - leaf rx-circuit-id { - type string { - length "0..768"; - } - description "DHCP received circuit ID"; - } - leaf tx-circuit-id { - type string { - length "0..768"; - } - description "DHCP transmitted circuit ID"; - } - leaf rx-remote-id { - type string { - length "0..768"; - } - description "DHCP received Remote ID"; - } - leaf tx-remote-id { - type string { - length "0..768"; - } - description "DHCP transmitted Remote ID"; - } - leaf rx-vsiso { - type string { - length "0..768"; - } - description "DHCP received VSISO"; - } - leaf tx-vsiso { - type string { - length "0..768"; - } - description "DHCP transmitted VSISO"; - } - leaf is-auth-received { - type boolean; - description - "Is true if authentication is on received - option82"; - } - leaf is-mbl-subscriber { - type boolean; - description "Is true if DHCP subscriber is Mobile"; - } - leaf param-request { - type string { - length "0..513"; - } - description "DHCP parameter request option"; - } - leaf param-response { - type string { - length "0..2051"; - } - description "DHCP saved options"; - } - leaf session-start-time { - type uint64; - description "session start time"; - } - leaf srg-state { - type uint32; - description "DHCPV4 SRG state"; - } - leaf-list event-history { - type uint32; - max-elements "20"; - description "event history"; - } - } - - grouping IPV4-DHCPD-PROXY-STATS { - description "DHCP IPv4 proxy statistics"; - - list ipv4-dhcpd-proxy-stat { - description "ipv4 dhcpd proxy stat"; - - container statistics { - description "Proxy statistics"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCP L3 VRF name"; - } - } - } - - grouping IPV4-DHCPD-PROXY-INTERFACE-REFERENCE { - description "ipv4 dhcpd proxy profile reference"; - - list ipv4-dhcpd-proxy-interface-reference { - description "ipv4 dhcpd proxy interface reference"; - leaf proxy-reference-interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - } - } - - grouping IPV4-DHCPD-PROXY-VRF-REFERENCE { - description "ipv4 dhcpd proxy profile reference"; - - list ipv4-dhcpd-proxy-vrf-reference { - description "ipv4 dhcpd proxy vrf reference"; - leaf proxy-reference-vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - } - } - - grouping IPV4-DHCPD-PROXY-PROFILE { - description "IPv4 dhcpd proxy profile parameters"; - - container vrf-references { - description "VRF references"; - uses IPV4-DHCPD-PROXY-VRF-REFERENCE; - } - - container interface-references { - description "Interface references"; - uses IPV4-DHCPD-PROXY-INTERFACE-REFERENCE; - } - leaf is-relay-option-enabled { - type boolean; - description "Is true if relay option is enabled"; - } - leaf relay-policy { - type Relay-info-policy; - description "Relay policy"; - } - leaf relay-authenticate { - type Relay-info-authenticate; - description "Relay authenticate"; - } - leaf is-relay-allow-untrusted-enabled { - type boolean; - description "Is true if relay untrusted is enabled"; - } - leaf is-relay-optionvpn-enabled { - type boolean; - description "Is true if relay VPN enabled"; - } - leaf relay-optionvpn-enabled-mode { - type Relay-info-vpn-mode; - description "Relay VPN RFC/Cisco mode"; - } - leaf is-relay-check { - type boolean; - description "Is true if relay check enabled"; - } - leaf is-move-allowed { - type boolean; - description "Is true if dhcp subscriber is allowed to move"; - } - leaf proxy-broadcast-flag-policy { - type Broadcast-flag; - description "Broadcast policy"; - } - leaf proxy-profile-client-lease-time { - type uint32; - units "second"; - description "Client lease time in seconds"; - } - leaf proxy-lease-limit-type { - type Proxy-lease-limit; - description "Lease limit type"; - } - leaf proxy-lease-limit-count { - type uint32; - description "Lease limit count"; - } - leaf-list profile-helper-address { - type inet:ipv4-address; - max-elements "8"; - description "Helper addresses"; - } - leaf-list vrf-name { - type String1; - max-elements "8"; - description "VRF names"; - } - leaf-list gi-addr { - type inet:ipv4-address; - max-elements "8"; - description "Gateway addresses"; - } - } - - grouping IPV4-DHCPD-PROXY-FILTERED-STATS { - description "DHCP IPv4 filtered statistics"; - leaf received-packets { - type uint64; - description "Received packets"; - } - leaf transmitted-packets { - type uint64; - description "Transmitted packets"; - } - leaf dropped-packets { - type uint64; - description "Dropped packets"; - } - } - - grouping IPV4-DHCPD-PROXY-TYPE { - description "Proxy packets"; - - container discover { - description "DHCP discover packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container offer { - description "DHCP offer packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container request { - description "DHCP request packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container decline { - description "DHCP decline packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container ack { - description "DHCP ack packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container nak { - description "DHCP nak packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container release { - description "DHCP release packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container inform { - description "DHCP inform packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container lease-query { - description "DHCP lease query packets"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container lease-not-assigned { - description "DHCP lease not assigned"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container lease-unknown { - description "DHCP lease unknown"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container lease-active { - description "DHCP lease active"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container bootp-request { - description "DHCP BOOTP request"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - - container bootp-reply { - description "DHCP BOOTP reply"; - uses IPV4-DHCPD-PROXY-FILTERED-STATS; - } - } - - grouping IPV4-DHCPD-PROXY-STATS-INFO { - description "ipv4 dhcpd proxy stats info"; - leaf proxy-stats-timestamp { - type uint32; - description "Proxy Stats timestamp"; - } - } - - grouping IPV4-DHCPD-SNOOP-STATS { - description "ipv4 dhcpd snoop stats parameters"; - leaf snoop-statistics-bridge-name { - type string { - length "0..74"; - } - description "DHCP L2 bridge name"; - } - leaf-list snoop-statistic { - type uint64; - max-elements "45"; - description "Public snoop statistics"; - } - } - - grouping IPV4-DHCPD-SNOOP-PROFILE { - description "ipv4 dhcpd snoop profile parameters"; - leaf snoop-profile-name { - type string { - length "0..65"; - } - description "Profile Name"; - } - leaf snoop-profile-uid { - type uint32; - description "Profile unique ID"; - } - leaf snoop-profile-relay-info-option { - type uint8; - description "Relay info option"; - } - leaf snoop-profile-relay-info-allow-untrusted { - type uint8; - description "Allow untrusted relay info"; - } - leaf snoop-profile-relay-info-policy { - type uint8; - description "Relay info policy"; - } - leaf snoop-profile-trusted { - type uint8; - description "Trust"; - } - } - - grouping IPV4-DHCPD-SNOOP-STATS-INFO { - description "ipv4 dhcpd snoop stats info"; - leaf snoop-stats-timestamp { - type uint32; - description "Snoop Stats timestamp"; - } - } - - grouping IPV4-DHCPD-SNOOP-BINDING-STATISTICS { - description "ipv4 dhcpd snoop binding statistics"; - leaf snoop-binding-total { - type uint32; - description "Total number of snoop bindings"; - } - leaf snoop-binding-timestamp { - type uint32; - description "Snoop binding timestamp"; - } - } - - grouping IPV4-DHCPD-SNOOP-BINDING { - description "ipv4 dhcpd snoop binding entry"; - leaf snoop-binding-ch-addr { - type yang:hex-string; - description "DHCP client MAC address"; - } - leaf snoop-binding-ch-addr-len { - type uint8; - description "DHCP client MAC address length"; - } - leaf snoop-binding-i-addr { - type inet:ipv4-address; - description "DHCP iaddr"; - } - leaf snoop-binding-client-id { - type yang:hex-string; - description "DHCP client id"; - } - leaf snoop-binding-client-id-len { - type uint8; - description "DHCP client id len"; - } - leaf snoop-binding-state { - type uint8; - description "DHCP sm state"; - } - leaf snoop-binding-lease { - type uint32; - description "DHCP lease time"; - } - leaf snoop-binding-lease-start-time { - type uint32; - description "DHCP lease start time"; - } - leaf snoop-binding-profile-name { - type string { - length "0..65"; - } - description "DHCP profile name"; - } - leaf snoop-bindng-interface-name { - type string { - length "0..321"; - } - description "DHCP interface to client"; - } - leaf snoop-binding-bridge-name { - type string { - length "0..74"; - } - description "DHCP L2 bridge name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang deleted file mode 100644 index c8fa76e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang +++ /dev/null @@ -1,328 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-dhcpd-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-dhcpd-oper { - prefix Cisco-IOS-XR-ipv4-dhcpd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-dhcpd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Dhcpc-ipv4-state { - type enumeration { - enum init { - value 0; - description "Init state"; - } - enum init-reboot { - value 1; - description "Init Reboot state"; - } - enum rebooting { - value 2; - description "Rebooting state"; - } - enum selecting { - value 3; - description "Selecting state"; - } - enum requesting { - value 4; - description "Requesting state"; - } - enum bound { - value 5; - description "Bound state"; - } - enum renewing { - value 6; - description "Renewing state"; - } - enum rebinding { - value 7; - description "Rebinding state"; - } - enum invalid { - value 8; - description "Invalid state"; - } - } - description "Dhcp Client IPv4 State"; - } - - grouping DHCPC-EDM-CLIENT-IPV4-BAG { - description "ipv4 dhcp client"; - leaf interface-name { - type string { - length "0..65"; - } - description "Dhcp Client interface name"; - } - leaf client-mac-address { - type string { - length "0..17"; - } - description "Dhcp Client Interface MAC address"; - } - leaf client-id { - type string { - length "0..256"; - } - description "Dhcp Client ID"; - } - leaf ipv4-client-state { - type Dhcpc-ipv4-state; - description "Dhcp Client State"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "Dhcp Client IP Address"; - } - leaf ipv4-subnet-mask { - type inet:ipv4-address; - description "Dhcp Client IP Address mask"; - } - leaf ipv4-server-address { - type inet:ipv4-address; - description "Dhcp Client selected server IP Address"; - } - leaf next-hop-ipv4-address { - type inet:ipv4-address; - description "Dhcp Client next hop IP Address"; - } - leaf ipv4-lease-time { - type uint32; - description "Dhcp Client Lease time"; - } - leaf ipv4-renew-time { - type uint32; - description "Dhcp Client Renew time"; - } - leaf ipv4-rebind-time { - type uint32; - description "Dhcp Client Rebind time"; - } - leaf ipv4-address-configured { - type boolean; - description - "Dhcp Client IPV4 address configured in interface"; - } - } - - grouping DHCPC-EDM-CLIENT-IPV4-STATS-BAG { - description "ipv4 dhcp client statistics"; - leaf interface-name { - type string { - length "0..65"; - } - description "Dhcp Client interface name"; - } - leaf num-events-received { - type uint32; - description "Number of events received"; - } - leaf num-create-event-received { - type uint32; - description "Number of create client event received"; - } - leaf num-delete-event-received { - type uint32; - description "Number of delete client event received"; - } - leaf num-reboot-event-received { - type uint32; - description "Number of client rebooted event received"; - } - leaf num-reinit-event-received { - type uint32; - description "Number of reinit client event received"; - } - leaf num-packet-event-received { - type uint32; - description "Number of packet event received"; - } - leaf num-init-timer-eventi { - type uint32; - description "Number of init timer event"; - } - leaf num-t1-timer-event { - type uint32; - description "Number of T1 timer event"; - } - leaf num-t2-timer-event { - type uint32; - description "Number of T2 timer event"; - } - leaf num-lease-timer-event { - type uint32; - description "Number of Lease timer event"; - } - leaf num-discovers-sent-successfully { - type uint32; - description "Number of discovers sent successfully"; - } - leaf num-requests-sent-successfully { - type uint32; - description "Number of requests sent successfully"; - } - leaf num-releases-sent-successfully { - type uint32; - description "Number of releases sent successfully"; - } - leaf num-renews-sent-successfully { - type uint32; - description "Number of renews sent successfully"; - } - leaf num-rebinds-sent-successfully { - type uint32; - description "Number of rebinds sent successfully"; - } - leaf num-declines-sent-successfully { - type uint32; - description "Number of declines sent successfully"; - } - leaf num-request-after-reboot-sent { - type uint32; - description "Number of requests sent after reboot"; - } - leaf num-valid-offers-received { - type uint32; - description "Number of valid offers received"; - } - leaf num-valid-acks-received { - type uint32; - description "Number of valid acks received"; - } - leaf num-valid-nacks-received { - type uint32; - description "Number of valid nacks received"; - } - leaf num-unicast-packet-sent-successfully { - type uint32; - description "Number of unicast packet sent successfully"; - } - leaf num-broadcast-packet-sent-success { - type uint32; - description "Number of broadcast packet sent successfully"; - } - leaf num-init-timer-start { - type uint32; - description "Number of init timer starts"; - } - leaf num-init-timer-stop { - type uint32; - description "Number of init timer stops"; - } - leaf num-t1-timer-start { - type uint32; - description "Number of T1 timer starts"; - } - leaf num-t1-timer-stop { - type uint32; - description "Number of T1 timer stops"; - } - leaf num-t2-timer-start { - type uint32; - description "Number of T2 timer starts"; - } - leaf num-t2-timer-stop { - type uint32; - description "Number of T2 timer stops"; - } - leaf num-lease-timer-start { - type uint32; - description "Number of Lease timer starts"; - } - leaf num-lease-timer-stop { - type uint32; - description "Number of Lease timer stops"; - } - leaf num-invalid-events { - type uint32; - description "Number of invalid events received"; - } - leaf num-discovers-failed { - type uint32; - description "Number of discover send failed"; - } - leaf num-requests-failed { - type uint32; - description "Number of request send failed"; - } - leaf num-releases-failed { - type uint32; - description "Number of release send failed"; - } - leaf num-renews-failed { - type uint32; - description "Number of renew send failed"; - } - leaf num-rebinds-failed { - type uint32; - description "Number of rebind send failed"; - } - leaf num-declines-failed { - type uint32; - description "Number of decline send failed"; - } - leaf num-request-after-reboot-failed { - type uint32; - description "Number of requests sent after reboot failed"; - } - leaf num-invalid-offers { - type uint32; - description "Number of invalid offers received"; - } - leaf num-invalid-acks { - type uint32; - description "Number of invalid acks received"; - } - leaf num-invalid-nacks { - type uint32; - description "Number of invalid nacks received"; - } - leaf num-invalid-packets { - type uint32; - description "Number of invalid packets dropped"; - } - leaf num-unicast-failed { - type uint32; - description "Number of unicast packet send failed"; - } - leaf num-broadcast-failed { - type uint32; - description "Number of broadcast packet send failed"; - } - leaf num-xid-mismatch { - type uint32; - description "Number of XID mismatch packets received"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper.yang deleted file mode 100644 index 325ff68..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-oper.yang +++ /dev/null @@ -1,425 +0,0 @@ -module Cisco-IOS-XR-ipv4-dhcpd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper"; - - - prefix "ipv4-dhcpd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-dhcpd-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ipv4-dhcpd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-dhcpd package operational data. - - This module contains definitions - for the following management objects: - dhcp-client: DHCP client operational data - ipv4-dhcpd: ipv4 dhcpd - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container dhcp-client { - config false; - description "DHCP client operational data"; - - container nodes { - description "DHCP client list of nodes"; - - list node { - key "node-name"; - description "DHCP client particular node name"; - - container client-stats { - description "IPv4 DHCP client statistics table"; - - list client-stat { - key "client-ifhandle"; - description "DHCP client binding statistics"; - leaf client-ifhandle { - type xr:Cisco-ios-xr-string; - description "Client Ifhandle"; - } - uses DHCPC-EDM-CLIENT-IPV4-STATS-BAG; - } - } - - container clients { - description "IPv4 DHCP client table"; - - list client { - key "client-ifhandle"; - description "Single DHCP client binding"; - leaf client-ifhandle { - type xr:Cisco-ios-xr-string; - description "Client Ifhandle"; - } - uses DHCPC-EDM-CLIENT-IPV4-BAG; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container ipv4-dhcpd { - config false; - description "ipv4 dhcpd"; - - container snoop { - description "DHCP Snoop operational data"; - - container bindings { - description "DHCP Snoop Bindings"; - - list binding { - key "client-uid"; - description "DHCP Snoop binding"; - leaf client-uid { - type xr:Cisco-ios-xr-string; - description "Client opaque handle"; - } - uses IPV4-DHCPD-SNOOP-BINDING; - } - } - - container binding-statistics { - description "DHCP snoop binding statistics"; - uses IPV4-DHCPD-SNOOP-BINDING-STATISTICS; - } - - container statistics-info { - description "DHCP snoop statistics info"; - uses IPV4-DHCPD-SNOOP-STATS-INFO; - } - - container profiles { - description "DHCP Snoop Profile"; - - list profile { - key "profile-name"; - description "DHCP Snoop profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - uses IPV4-DHCPD-SNOOP-PROFILE; - } - } - - container statistics { - description "DHCP Snoop Statistics"; - - list statistic { - key "bridge-name"; - description "DHCP Snoop bridge domain statistics"; - leaf bridge-name { - type xr:Cisco-ios-xr-string; - description "Bridge domain name"; - } - uses IPV4-DHCPD-SNOOP-STATS; - } - } - } - - container nodes { - description - "IPv4 DHCPD operational data for a particular - location"; - - list node { - key "nodeid"; - description "Location. For eg., 0/1/CPU0"; - - container proxy { - description "IPv4 DHCP proxy operational data"; - - container statistics-info { - description "DHCP proxy stats info"; - uses IPV4-DHCPD-PROXY-STATS-INFO; - } - - container vrfs { - description "DHCP proxy list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv4 DHCP proxy VRF name"; - - container statistics { - description "IPv4 DHCP proxy statistics"; - uses IPV4-DHCPD-PROXY-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container profiles { - description "IPv4 DHCP proxy profile"; - - list profile { - key "profile-name"; - description "IPv4 DHCP proxy profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - uses IPV4-DHCPD-PROXY-PROFILE; - } - } - - container statistics { - description "DHCP proxy statistics"; - uses IPV4-DHCPD-PROXY-STATS; - } - - container binding { - description "DHCP proxy bindings"; - - container clients { - description "DHCP proxy client bindings"; - - list client { - key "client-id"; - description "Single DHCP proxy binding"; - leaf client-id { - type xr:Cisco-ios-xr-string; - description "Client ID"; - } - uses IPV4-DHCPD-PROXY-BINDING; - } - } - - container summary { - description "DHCP proxy binding summary"; - uses IPV4-DHCPD-PROXY-BINDINGS-SUMMARY; - } - } - } - - container interfaces { - description "IPv4 DHCP proxy/server Interface"; - - list interface { - key "interface-name"; - description "IPv4 DHCP proxy/server interface info"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description "Interface Name"; - } - uses IPV4-DHCPD-PROXY-INTERFACE; - } - } - - container base { - description "IPv4 DHCP base operational data"; - - container statistics { - description "DHCP base statistics"; - uses IPV4-DHCPD-PROXY-STATS; - } - - container issu-status { - description "IPv4 DHCP ISSU status"; - uses DHCPD-ISSU-STATUS-INFO; - } - - container vrfs { - description "DHCP base list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv4 DHCP base VRF name"; - - container statistics { - description "IPv4 DHCP base statistics"; - uses IPV4-DHCPD-PROXY-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container profiles { - description "IPv4 DHCP Base profile"; - - list profile { - key "profile-name"; - description "IPv4 DHCP base profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - uses IPV4-DHCPD-BASE-PROFILE; - } - } - - container database { - description "IPv4 DHCP database"; - uses IPV4-DHCPD-DATABASE; - } - } - - container server { - description "IPv4 DHCP Server operational data"; - - container profiles { - description "IPv4 DHCP Server profile"; - - list profile { - key "server-profile-name"; - description "IPv4 DHCP server profile"; - leaf server-profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - uses IPV4-DHCPD-SERVER-PROFILE; - } - } - - container statistics { - description "DHCP Server statistics"; - uses IPV4-DHCPD-PROXY-STATS; - } - - container binding { - description "DHCP server bindings"; - - container summary { - description "DHCP server binding summary"; - uses IPV4-DHCPD-PROXY-BINDINGS-SUMMARY; - } - - container clients { - description "DHCP server client bindings"; - - list client { - key "client-id"; - description "Single DHCP Server binding"; - leaf client-id { - type xr:Cisco-ios-xr-string; - description "Client ID"; - } - uses IPV4-DHCPD-PROXY-BINDING; - } - } - } - - container statistics-info { - description "DHCP proxy stats info"; - uses IPV4-DHCPD-PROXY-STATS-INFO; - } - - container vrfs { - description "DHCP Server list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv4 DHCP server VRF name"; - - container statistics { - description "IPv4 DHCP server statistics"; - uses IPV4-DHCPD-PROXY-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - } - - container relay { - description "IPv4 DHCPD Relay operational data"; - - container profiles { - description "DHCP Relay Profiles"; - - list profile { - key "profile-name"; - description "DHCP Relay profile"; - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - uses IPV4-DHCPD-RELAY-PROFILE; - } - } - - container statistics-info { - description "DHCP relay statistics info"; - uses IPV4-DHCPD-RELAY-STATS-INFO; - } - - container statistics { - description "DHCP Relay VRF statistics"; - uses IPV4-DHCPD-RELAY-STATS; - } - - container vrfs { - description "DHCP relay list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv4 DHCP relay VRF name"; - - container vrf-statistics { - description "IPv4 DHCP relay statistics"; - uses IPV4-DHCPD-PROXY-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - } - leaf nodeid { - type xr:Node-id; - description "The node id to filter on. For eg., 0/1/CPU0"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang deleted file mode 100644 index 3d6adaa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang +++ /dev/null @@ -1,76 +0,0 @@ -module Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg"; - - - prefix "ipv4-dhcpd-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-dhcpd-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - - container dhcpd { - description "Interface dhcpv4 configuration data"; - leaf class { - type string; - description "The class to be used for proxy/server profile"; - } - leaf default-gateway { - type inet:ipv4-address-no-zone; - description "The Default Gateway IP address"; - } - leaf session-limit { - type int32; - description "The pool to be used for Prefix Delegation"; - } - leaf dhcpv4-option { - type string; - description - "Cisco VSA to configure any dhcp4 option per - subscriber"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-filesystems-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-filesystems-cfg.yang deleted file mode 100644 index 45b1d93..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-filesystems-cfg.yang +++ /dev/null @@ -1,169 +0,0 @@ -module Cisco-IOS-XR-ipv4-filesystems-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-filesystems-cfg"; - - - prefix "ipv4-filesystems-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-filesystems package configuration. - - This module contains definitions - for the following management objects: - rcp: RCP configuration - ftp: ftp - tftp: tftp - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-07-17" { - description - "IOS XR 6.4.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping USERNAME { - description "Common node of ftp-client, rcp-client"; - leaf username { - type string; - description "Specify username for connections"; - } - } - - grouping SOURCE-INTERFACE { - description - "Common node of ftp-client, tftp-client, - rcp-client"; - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - connections"; - } - } - - container rcp { - description "RCP configuration"; - - container rcp-client { - description "RCP client configuration"; - uses USERNAME; - uses SOURCE-INTERFACE; - } - } - - container ftp { - description "ftp"; - - container ftp-client { - description "FTP client configuration"; - leaf passive { - type empty; - description "Enable connect using passive mode"; - } - leaf password { - type xr:Proprietary-password; - description "Specify password for ftp connnection"; - } - leaf anonymous-password { - type string; - description - "Password for anonymous user (ftp server - dependent)"; - } - uses USERNAME; - uses SOURCE-INTERFACE; - } - } - - container tftp { - description "tftp"; - - container tftp-client { - description "TFTP client configuration"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF specific data"; - leaf source-interface { - type xr:Interface-name; - description - "Specify interface for source address in - connections"; - } - leaf retry { - type uint32 { - range "0..256"; - } - description - "Specify the number of retries when client - requests TFTP connections"; - } - leaf timeout { - type uint32 { - range "0..256"; - } - units "second"; - description - "Specify the timeout for every TFTP connection - in seconds"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of the VRF instance"; - } - } - } - leaf retry { - type uint32 { - range "0..256"; - } - description - "Specify the number of retries when client - requests TFTP connections"; - } - leaf timeout { - type uint32 { - range "0..256"; - } - units "second"; - description - "Specify the timeout for every TFTP connection - in seconds"; - } - uses SOURCE-INTERFACE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-cfg.yang deleted file mode 100644 index 172193b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-cfg.yang +++ /dev/null @@ -1,829 +0,0 @@ -module Cisco-IOS-XR-ipv4-hsrp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg"; - - - prefix "ipv4-hsrp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-hsrp package configuration. - - This module contains definitions - for the following management objects: - hsrp: HSRP configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Hsrp-linklocal { - type enumeration { - enum manual { - value 0; - description "Manual Linklocal address configuration"; - } - enum auto { - value 1; - description "Automatic Linklocal address configuration"; - } - enum legacy { - value 2; - description - "Automatic legacy-compatible Linklocal address - configuration"; - } - } - description "Hsrp linklocal"; - } - - container hsrp { - description "HSRP configuration"; - - container interfaces { - description "Interface Table for HSRP configuration"; - - list interface { - key "interface-name"; - description "Per-interface HSRP configuration"; - - container ipv6 { - description "IPv6 HSRP configuration"; - - container version2 { - description "Version 2 HSRP configuration"; - - container groups { - description "The HSRP group configuration table"; - - list group { - key "group-number"; - description "The HSRP group being configured"; - - container bfd { - description - "Enable use of Bidirectional Forwarding - Detection"; - leaf address { - type inet:ipv6-address-no-zone; - description "Enable BFD for this remote IP"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name to run BFD"; - } - } - - container tracked-interfaces { - description - "The HSRP tracked interface configuration - table"; - - list tracked-interface { - key "interface-name"; - description "Interface being tracked"; - leaf interface-name { - type xr:Interface-name; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container tracked-objects { - description - "The HSRP tracked interface configuration - table"; - - list tracked-object { - key "object-name"; - description "Object being tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container timers { - description "Hello and hold timers"; - leaf hello-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hello time configured in - milliseconds, FALSE - Hello time - configured in seconds"; - } - leaf hello-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hello time in msecs"; - } - leaf hello-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "3"; - description "Hello time in seconds"; - } - leaf hold-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hold time configured in - milliseconds, FALSE - Hold time - configured in seconds"; - } - leaf hold-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hold time in msecs"; - } - leaf hold-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "10"; - description "Hold time in seconds"; - } - } - - container link-local-ipv6-address { - description - "The HSRP IPv6 virtual linklocal address"; - leaf address { - when "../auto-configure = 'manual'" { - description "../AutoConfigure = Manual"; - } - type inet:ipv6-address-no-zone; - description - "HSRP IPv6 virtual linklocal address"; - } - leaf auto-configure { - type Hsrp-linklocal; - default "manual"; - description "Linklocal Configuration Type"; - } - } - - container global-ipv6-addresses { - description - "The table of HSRP virtual global IPv6 - addresses"; - - list global-ipv6-address { - key "address"; - description - "A HSRP virtual global IPv6 IP address"; - leaf address { - type inet:ipv6-address-no-zone; - description - "HSRP virtual global IPv6 address"; - } - } - } - leaf priority { - type uint32 { - range "0..255"; - } - default "100"; - description "Priority value"; - } - leaf preempt { - type int32; - default "0"; - description "Force active if higher priority"; - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "HSRP Session name (for MGO)"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "HSRP MAC address"; - } - leaf group-number { - type uint32 { - range "0..4095"; - } - description "HSRP group number"; - } - } - } - } - - container slave-groups { - description "The HSRP slave group configuration table"; - - list slave-group { - key "slave-group-number"; - description "The HSRP slave group being configured"; - - container link-local-ipv6-address { - description - "The HSRP IPv6 virtual linklocal address"; - leaf address { - when "../auto-configure = 'manual'" { - description "../AutoConfigure = Manual"; - } - type inet:ipv6-address-no-zone; - description "HSRP IPv6 virtual linklocal address"; - } - leaf auto-configure { - type Hsrp-linklocal; - default "manual"; - description "Linklocal Configuration Type"; - } - } - - container global-ipv6-addresses { - description - "The table of HSRP virtual global IPv6 - addresses"; - - list global-ipv6-address { - key "address"; - description - "A HSRP virtual global IPv6 IP address"; - leaf address { - type inet:ipv6-address-no-zone; - description "HSRP virtual global IPv6 address"; - } - } - } - leaf follow { - type string; - description - "HSRP Group name for this slave to follow"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "HSRP MAC address"; - } - leaf slave-group-number { - type uint32 { - range "0..4095"; - } - description "HSRP group number"; - } - } - } - } - - container bfd { - description "BFD configuration"; - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions created - by hsrp"; - } - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by - hsrp"; - } - } - - container delay { - description "Minimum and Reload Delay"; - leaf minimum-delay { - type uint32 { - range "0..10000"; - } - units "second"; - default "1"; - description "Minimum delay in seconds"; - } - leaf reload-delay { - type uint32 { - range "0..10000"; - } - units "second"; - default "5"; - description "Reload delay in seconds"; - } - } - - container ipv4 { - description "IPv4 HSRP configuration"; - - container slave-groups { - description "The HSRP slave group configuration table"; - - list slave-group { - key "slave-group-number"; - description "The HSRP slave group being configured"; - - container secondary-ipv4-addresses { - description "Secondary HSRP IP address Table"; - - list secondary-ipv4-address { - key "address"; - description "Secondary HSRP IP address"; - leaf address { - type inet:ipv4-address-no-zone; - description "HSRP IP address"; - } - } - } - leaf follow { - type string; - description - "HSRP Group name for this slave to follow"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "HSRP MAC address"; - } - leaf primary-ipv4-address { - type inet:ipv4-address-no-zone; - description "Primary HSRP IP address"; - } - leaf slave-group-number { - type uint32 { - range "0..4095"; - } - description "HSRP group number"; - } - } - } - - container version1 { - description "Version 1 HSRP configuration"; - - container groups { - description "The HSRP group configuration table"; - - list group { - key "group-number"; - description "The HSRP group being configured"; - - container tracked-interfaces { - description - "The HSRP tracked interface configuration - table"; - - list tracked-interface { - key "interface-name"; - description "Interface being tracked"; - leaf interface-name { - type xr:Interface-name; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container bfd { - description - "Enable use of Bidirectional Forwarding - Detection"; - leaf address { - type inet:ipv4-address-no-zone; - description "Enable BFD for this remote IP"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name to run BFD"; - } - } - - container tracked-objects { - description - "The HSRP tracked interface configuration - table"; - - list tracked-object { - key "object-name"; - description "Object being tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container timers { - description "Hello and hold timers"; - leaf hello-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hello time configured in - milliseconds, FALSE - Hello time - configured in seconds"; - } - leaf hello-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hello time in msecs"; - } - leaf hello-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "3"; - description "Hello time in seconds"; - } - leaf hold-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hold time configured in - milliseconds, FALSE - Hold time - configured in seconds"; - } - leaf hold-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hold time in msecs"; - } - leaf hold-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "10"; - description "Hold time in seconds"; - } - } - - container primary-ipv4-address { - description "Primary HSRP IP address"; - leaf virtual-ip-learn { - type boolean; - description - "TRUE if the HSRP protocol is to learn the - virtual IP address it is to use"; - } - leaf address { - when "../virtual-ip-learn = 0" { - description "../VirtualIPLearn = "; - } - type inet:ipv4-address-no-zone; - description "HSRP IP address."; - } - } - - container secondary-ipv4-addresses { - description "Secondary HSRP IP address Table"; - - list secondary-ipv4-address { - key "address"; - description "Secondary HSRP IP address"; - leaf address { - type inet:ipv4-address-no-zone; - description "HSRP IP address"; - } - } - } - leaf authentication { - type string { - length "1..8"; - } - default "cisco"; - description "Authentication string"; - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "HSRP Session name (for MGO)"; - } - leaf priority { - type uint32 { - range "0..255"; - } - default "100"; - description "Priority value"; - } - leaf preempt { - type int32; - default "0"; - description "Force active if higher priority"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "HSRP MAC address"; - } - leaf group-number { - type uint32 { - range "0..255"; - } - description "HSRP group number"; - } - } - } - } - - container version2 { - description "Version 2 HSRP configuration"; - - container groups { - description "The HSRP group configuration table"; - - list group { - key "group-number"; - description "The HSRP group being configured"; - - container secondary-ipv4-addresses { - description "Secondary HSRP IP address Table"; - - list secondary-ipv4-address { - key "address"; - description "Secondary HSRP IP address"; - leaf address { - type inet:ipv4-address-no-zone; - description "HSRP IP address"; - } - } - } - - container bfd { - description - "Enable use of Bidirectional Forwarding - Detection"; - leaf address { - type inet:ipv4-address-no-zone; - description "Enable BFD for this remote IP"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name to run BFD"; - } - } - - container primary-ipv4-address { - description "Primary HSRP IP address"; - leaf virtual-ip-learn { - type boolean; - description - "TRUE if the HSRP protocol is to learn the - virtual IP address it is to use"; - } - leaf address { - when "../virtual-ip-learn = 0" { - description "../VirtualIPLearn = "; - } - type inet:ipv4-address-no-zone; - description "HSRP IP address."; - } - } - - container tracked-objects { - description - "The HSRP tracked interface configuration - table"; - - list tracked-object { - key "object-name"; - description "Object being tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container tracked-interfaces { - description - "The HSRP tracked interface configuration - table"; - - list tracked-interface { - key "interface-name"; - description "Interface being tracked"; - leaf interface-name { - type xr:Interface-name; - description "Interface being tracked"; - } - leaf priority-decrement { - type uint32 { - range "1..255"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container timers { - description "Hello and hold timers"; - leaf hello-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hello time configured in - milliseconds, FALSE - Hello time - configured in seconds"; - } - leaf hello-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hello time in msecs"; - } - leaf hello-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "3"; - description "Hello time in seconds"; - } - leaf hold-msec-flag { - type boolean; - default "false"; - description - "TRUE - Hold time configured in - milliseconds, FALSE - Hold time - configured in seconds"; - } - leaf hold-msec { - type uint32 { - range "100..3000"; - } - units "millisecond"; - description "Hold time in msecs"; - } - leaf hold-sec { - type uint32 { - range "1..255"; - } - units "second"; - default "10"; - description "Hold time in seconds"; - } - } - leaf preempt { - type int32; - default "0"; - description "Force active if higher priority"; - } - leaf priority { - type uint32 { - range "0..255"; - } - default "100"; - description "Priority value"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "HSRP MAC address"; - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "HSRP Session name (for MGO)"; - } - leaf group-number { - type uint32 { - range "0..4095"; - } - description "HSRP group number"; - } - } - } - } - } - leaf mac-refresh { - type uint32 { - range "0..10000"; - } - default "60"; - description "HSRP MGO slave MAC refresh rate"; - } - leaf use-bia { - type empty; - description "Use burned-in address"; - } - leaf redirects-disable { - type empty; - description "Disable HSRP filtered ICMP redirects"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - - container logging { - description "HSRP logging options"; - leaf state-change-disable { - type empty; - description "HSRP state change IOS messages disable"; - } - } - } - - augment "/a1:snmp/a1:notification" { - - container hsrp { - description "CISCO-HSRP-MIB notification configuration"; - leaf enable { - type empty; - description "Enable CISCO-HSRP-MIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang deleted file mode 100644 index 64cf229..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang +++ /dev/null @@ -1,1178 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-hsrp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-hsrp-oper { - prefix Cisco-IOS-XR-ipv4-hsrp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-hsrp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Hsrp-vmac-state { - type enumeration { - enum stored { - value 0; - description "VMAC stored locally"; - } - enum reserved { - value 1; - description "VMAC reserved in mac table"; - } - enum active { - value 2; - description "VMAC active in mac table"; - } - enum reserving { - value 3; - description "VMAC not yet reserved in mac table"; - } - } - description "Hsrp vmac state"; - } - typedef Hsrp-state-change-reason { - type enumeration { - enum state-change-bfd-down { - value 0; - description "BFD session down"; - } - enum state-change-vip-learnt { - value 1; - description "Virtual IP learnt"; - } - enum state-change-interface-ip { - value 2; - description "Interface IP update"; - } - enum state-change-delay-timer { - value 3; - description "Delay timer expired"; - } - enum state-change-startup { - value 4; - description "Ready on startup"; - } - enum state-change-shutdown { - value 5; - description "HSRP shut down"; - } - enum state-change-interface-up { - value 6; - description "Interface Up update"; - } - enum state-change-interface-down { - value 7; - description "Interface Down update"; - } - enum state-change-active-timer { - value 8; - description "Active timer expired"; - } - enum state-change-standby-timer { - value 9; - description "Standby timer expired"; - } - enum state-change-resign { - value 10; - description "Resign received"; - } - enum state-change-coup { - value 11; - description "Coup received"; - } - enum state-change-higher-priority-speak { - value 12; - description "Higher priority speak received"; - } - enum state-change-higher-priority-standby { - value 13; - description "Higher priority standby received"; - } - enum state-change-lower-priority-standby { - value 14; - description "Lower priority standby received"; - } - enum state-change-higher-priority-active { - value 15; - description "Higher priority active received"; - } - enum state-change-lower-priority-active { - value 16; - description "Lower priority active received"; - } - enum state-change-virtual-ip-configured { - value 17; - description "Virtual IP configured"; - } - enum state-change-virtual-ip-lost { - value 18; - description "Virtual IP lost"; - } - enum state-change-recovered-from-checkpoint { - value 19; - description "Recovered from checkpoint"; - } - enum state-change-mac-update { - value 20; - description "MAC address update"; - } - enum state-change-admin { - value 21; - description "Forwarder Admin state change"; - } - enum state-change-parent { - value 22; - description "MGO parent change"; - } - enum state-change-chkpt-update { - value 23; - description "Checkpoint update from Primary HSRP instance"; - } - enum state-change-issu-resync { - value 24; - description "Resync following ISSU primary event"; - } - enum state-change-reset-to-learn { - value 25; - description "Reset to learn parameters"; - } - enum state-change-max { - value 26; - description "Maximum reason in enumeration"; - } - } - description "Hsrp state change reason"; - } - typedef Hsrp-bfd-session-state { - type enumeration { - enum bfd-state-none { - value 0; - description "None"; - } - enum bfd-state-inactive { - value 1; - description "Inactive"; - } - enum bfd-state-up { - value 2; - description "Up"; - } - enum bfd-state-down { - value 3; - description "Down"; - } - } - description "Hsrp bfd session state"; - } - typedef Standby-grp-state { - type enumeration { - enum state-initial { - value 1; - description "Initial"; - } - enum state-learn { - value 2; - description "Learn"; - } - enum state-listen { - value 3; - description "Listen"; - } - enum state-speak { - value 4; - description "Speak"; - } - enum state-standby { - value 5; - description "Standby"; - } - enum state-active { - value 6; - description "Active"; - } - } - description "Standby grp state"; - } - typedef Hsrp-version { - type uint8; - description "Hsrp version"; - } - typedef Hsrp-b-af { - type enumeration { - enum ipv4 { - description "IPv4 Address Family"; - } - enum ipv6 { - description "IPv6 Address Family"; - } - enum count { - description "The number of supported address families"; - } - } - description "Hsrp b af"; - } - - grouping HSRP-SUMMARY-INFO { - description "HSRP summary statistics"; - leaf ipv4-sessions-active { - type uint32; - description "Number of IPv4 sessions in ACTIVE state"; - } - leaf ipv4-sessions-standby { - type uint32; - description "Number of IPv4 sessions in STANDBY state"; - } - leaf ipv4-sessions-speak { - type uint32; - description "Number of IPv4 sessions in SPEAK state"; - } - leaf ipv4-sessions-listen { - type uint32; - description "Number of IPv4 sessions in LISTEN state"; - } - leaf ipv4-sessions-learn { - type uint32; - description "Number of IPv4 sessions in LEARN state"; - } - leaf ipv4-sessions-init { - type uint32; - description "Number of IPv4 sessions in INIT state"; - } - leaf ipv4-slaves-active { - type uint32; - description "Number of IPv4 slaves in ACTIVE state"; - } - leaf ipv4-slaves-standby { - type uint32; - description "Number of IPv4 slaves in STANDBY state"; - } - leaf ipv4-slaves-speak { - type uint32; - description "Number of IPv4 slaves in SPEAK state"; - } - leaf ipv4-slaves-listen { - type uint32; - description "Number of IPv4 slaves in LISTEN state"; - } - leaf ipv4-slaves-learn { - type uint32; - description "Number of IPv4 slaves in LEARN state"; - } - leaf ipv4-slaves-init { - type uint32; - description "Number of IPv4 slaves in INIT state"; - } - leaf ipv4-virtual-ip-addresses-active-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in ACTIVE state"; - } - leaf ipv4-virtual-ip-addresses-active-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in ACTIVE state"; - } - leaf ipv4-virtual-ip-addresses-standby-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in STANDBY state"; - } - leaf ipv4-virtual-ip-addresses-standby-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in STANDBY state"; - } - leaf ipv4-virtual-ip-addresses-speak-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in SPEAK state"; - } - leaf ipv4-virtual-ip-addresses-speak-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in SPEAK state"; - } - leaf ipv4-virtual-ip-addresses-listen-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in LISTEN state"; - } - leaf ipv4-virtual-ip-addresses-listen-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in LISTEN state"; - } - leaf ipv4-virtual-ip-addresses-learn-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in LEARN state"; - } - leaf ipv4-virtual-ip-addresses-learn-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in LEARN state"; - } - leaf ipv4-virtual-ip-addresses-init-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on groups - in INIT state"; - } - leaf ipv4-virtual-ip-addresses-init-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - groups in INIT state"; - } - leaf ipv6-sessions-active { - type uint32; - description "Number of IPv6 sessions in ACTIVE state"; - } - leaf ipv6-sessions-standby { - type uint32; - description "Number of IPv6 sessions in STANDBY state"; - } - leaf ipv6-sessions-speak { - type uint32; - description "Number of IPv6 sessions in SPEAK state"; - } - leaf ipv6-sessions-listen { - type uint32; - description "Number of IPv6 sessions in LISTEN state"; - } - leaf ipv6-sessions-learn { - type uint32; - description "Number of IPv6 sessions in LEARN state"; - } - leaf ipv6-sessions-init { - type uint32; - description "Number of IPv6 sessions in INIT state"; - } - leaf ipv6-slaves-active { - type uint32; - description "Number of IPv6 slaves in ACTIVE state"; - } - leaf ipv6-slaves-standby { - type uint32; - description "Number of IPv6 slaves in STANDBY state"; - } - leaf ipv6-slaves-speak { - type uint32; - description "Number of IPv6 slaves in SPEAK state"; - } - leaf ipv6-slaves-listen { - type uint32; - description "Number of IPv6 slaves in LISTEN state"; - } - leaf ipv6-slaves-learn { - type uint32; - description "Number of IPv6 slaves in LEARN state"; - } - leaf ipv6-slaves-init { - type uint32; - description "Number of IPv6 slaves in INIT state"; - } - leaf ipv6-virtual-ip-addresses-active-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in ACTIVE state"; - } - leaf ipv6-virtual-ip-addresses-active-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in ACTIVE state"; - } - leaf ipv6-virtual-ip-addresses-standby-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in STANDBY state"; - } - leaf ipv6-virtual-ip-addresses-standby-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in STANDBY state"; - } - leaf ipv6-virtual-ip-addresses-speak-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in SPEAK state"; - } - leaf ipv6-virtual-ip-addresses-speak-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in SPEAK state"; - } - leaf ipv6-virtual-ip-addresses-listen-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in LISTEN state"; - } - leaf ipv6-virtual-ip-addresses-listen-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in LISTEN state"; - } - leaf ipv6-virtual-ip-addresses-learn-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in LEARN state"; - } - leaf ipv6-virtual-ip-addresses-learn-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in LEARN state"; - } - leaf ipv6-virtual-ip-addresses-init-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on groups - in INIT state"; - } - leaf ipv6-virtual-ip-addresses-init-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - groups in INIT state"; - } - leaf interfaces-ipv4-state-up { - type uint32; - description - "Number of HSRP interfaces with IPv4 caps in UP - state"; - } - leaf interfaces-ipv4-state-down { - type uint32; - description - "Number of HSRP interfaces with IPv4 caps in DOWN - state"; - } - leaf tracked-interfaces-ipv4-state-up { - type uint32; - description - "Number of tracked interfaces with IPv4 caps in - UP state"; - } - leaf tracked-interfaces-ipv4-state-down { - type uint32; - description - "Number of tracked interfaces with IPv4 caps in - DOWN state"; - } - leaf tracked-objects-up { - type uint32; - description "Number of tracked objects in UP state"; - } - leaf tracked-objects-down { - type uint32; - description "Number of tracked objects in DOWN state"; - } - leaf interfaces-ipv6-state-up { - type uint32; - description - "Number of HSRP interfaces with IPv6 caps in UP - state"; - } - leaf interfaces-ipv6-state-down { - type uint32; - description - "Number of HSRP interfaces with IPv6 caps in DOWN - state"; - } - leaf tracked-interfaces-ipv6-state-up { - type uint32; - description - "Number of tracked interfaces with IPv6 caps in - UP state"; - } - leaf tracked-interfaces-ipv6-state-down { - type uint32; - description - "Number of tracked interfaces with IPv6 caps in - DOWN state"; - } - leaf bfd-sessions-up { - type uint32; - description "Number of HSRP BFD sessions in UP state"; - } - leaf bfd-sessions-down { - type uint32; - description "Number of HSRP BFD sessions in DOWN state"; - } - leaf bfd-session-inactive { - type uint32; - description "Number of HSRP BFD sessions in INACTIVE state"; - } - } - - grouping HSRP-BFD-GROUP-INFO { - description "BFD Group Information"; - leaf interface-name { - type string { - length "0..64"; - } - description "Interface Name"; - } - leaf hsrp-group-number { - type uint32; - description "HSRP Group number"; - } - } - - grouping STANDBY-BFD-INFO { - description "BFD session information"; - leaf bfd-interface-name { - type string { - length "0..64"; - } - description "BFD Interface Name"; - } - leaf session-address-family { - type Hsrp-b-af; - description "Session Address family"; - } - leaf destination-address { - type inet:ipv4-address; - description "BFD destination address"; - } - leaf destination-ipv6-address { - type inet:ipv6-address; - description "BFD IPv6 destination address"; - } - leaf bfd-session-state { - type Hsrp-bfd-session-state; - description "BFD session state"; - } - leaf bfd-interval { - type uint32; - description "BFD packet send interval"; - } - leaf bfd-multiplier { - type uint32; - description "BFD multiplier"; - } - - list group { - description "HSRP Groups tracking the BFD session"; - uses HSRP-BFD-GROUP-INFO; - } - } - - grouping HSRP-SLAVE-INFO-TYPE { - description "Slave info"; - leaf slave-group-interface { - type string { - length "0..64"; - } - description "Interface of slave group"; - } - leaf slave-group-number { - type uint32; - description "Group number of slave group"; - } - } - - grouping HSRP-MGO-INFO { - description "MGO group data"; - leaf primary-session-name { - type string { - length "0..16"; - } - description "Session Name"; - } - leaf primary-session-interface { - type xr:Interface-name; - description "Interface of primary session"; - } - leaf primary-af-name { - type Hsrp-b-af; - description "Address family of primary session"; - } - leaf primary-session-number { - type uint32; - description "Group number of primary session"; - } - leaf primary-session-state { - type Standby-grp-state; - description "State of primary session"; - } - - list slave { - description "List of slaves following this primary session"; - uses HSRP-SLAVE-INFO-TYPE; - } - } - - grouping HSRP-IF-STATS-TYPE { - description "HSRP Interface Statistics"; - leaf advert-packets-sent { - type uint32; - description "Number of advertisement packets sent"; - } - leaf advert-packets-received { - type uint32; - description "Number of advertisement packets received"; - } - leaf long-packets-received { - type uint32; - description "Number of packets received that were too Long"; - } - leaf short-packets-received { - type uint32; - description "Number of packets received that were too short"; - } - leaf invalid-version-received { - type uint32; - description "Number of packets received with invalid version"; - } - leaf invalid-operation-code-received { - type uint32; - description - "Number of packets received with invalid - operation code"; - } - leaf unknown-group-received { - type uint32; - description - "Number of packets received for an unknown group - id"; - } - leaf inoperational-group-received { - type uint32; - description - "Number of packets received for an inoperational - group"; - } - leaf conflict-source-ip-address-received { - type uint32; - description - "Number of packets received from a conflicting - Source IP address"; - } - } - - grouping STANDBY-IF-INFO { - description "Use burnt in mac address information"; - - container statistics { - description "HSRP Interface Statistics"; - uses HSRP-IF-STATS-TYPE; - } - leaf interface { - type xr:Interface-name; - description "IM Interface"; - } - leaf use-bia-flag { - type boolean; - description "Use burnt in mac address flag"; - } - } - - grouping STANDBY-TRACKEDIF-INFO { - description "Interface tracking information"; - leaf interface { - type xr:Interface-name; - description "IM Interface"; - } - leaf hsrp-group-number { - type uint32; - description "HSRP Group number"; - } - leaf priority-decrement { - type uint32; - description "Priority weighting"; - } - leaf interface-up-flag { - type boolean; - description "Interface up flag"; - } - leaf tracked-interface-name-xr { - type string { - length "0..64"; - } - description "Tracked Interface Name"; - } - leaf is-object { - type boolean; - description "Tracked Object Flag"; - } - } - - grouping HSRP-GROUP-STATS-TYPE { - description "HSRP Group Statistics"; - leaf active-transitions { - type uint32; - description "Number of transitions to Active State"; - } - leaf standby-transitions { - type uint32; - description "Number of transitions to Standby State"; - } - leaf speak-transitions { - type uint32; - description "Number of transitions to Speak State"; - } - leaf listen-transitions { - type uint32; - description "Number of transitions to Listen State"; - } - leaf learn-transitions { - type uint32; - description "Number of transitions to Learn State"; - } - leaf init-transitions { - type uint32; - description "Number of transitions to Init State"; - } - leaf hello-packets-sent { - type uint32; - description "Number of Hello Packets sent (NB: Bundles only)"; - } - leaf resign-packets-sent { - type uint32; - description "Number of Resign Packets sent"; - } - leaf coup-packets-sent { - type uint32; - description "Number of Coup Packets sent"; - } - leaf hello-packets-received { - type uint32; - description "Number of Hello Packets received"; - } - leaf resign-packets-received { - type uint32; - description "Number of Resign Packets received"; - } - leaf coup-packets-received { - type uint32; - description "Number of Coup Packets received"; - } - leaf auth-fail-received { - type uint32; - description - "Number of Packets received that failed - authentication"; - } - leaf invalid-timer-received { - type uint32; - description - "Number of packets received with invalid Hello - Time value"; - } - leaf mismatch-virtual-ip-address-received { - type uint32; - description - "Number of packets received with mismatching - virtual IP address"; - } - } - - grouping HSRP-STATE-CHANGE-INFO-TYPE { - description "State change info"; - - container time { - description "Time of state change"; - uses HSRP-BAG-TIMESTAMP; - } - leaf old-state { - type Standby-grp-state; - description "Old State"; - } - leaf new-state { - type Standby-grp-state; - description "New State"; - } - leaf reason { - type Hsrp-state-change-reason; - description "Reason for state change"; - } - } - - grouping HSRP-BAG-TIMESTAMP { - description "Timestamp"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping IPV6-BAG-ADDR { - description "IPV6 BAG ADDR"; - leaf ipv6-address { - type inet:ipv6-address; - description "IPV6Address"; - } - } - - grouping STANDBY-GRP-INFO { - description "Detailed group specfic information"; - - container resign-sent-time { - description "Time last resign was sent"; - uses HSRP-BAG-TIMESTAMP; - } - - container resign-received-time { - description "Time last resign was received"; - uses HSRP-BAG-TIMESTAMP; - } - - container coup-sent-time { - description "Time last coup was sent"; - uses HSRP-BAG-TIMESTAMP; - } - - container coup-received-time { - description "Time last coup was received"; - uses HSRP-BAG-TIMESTAMP; - } - - container statistics { - description "HSRP Group statistics"; - uses HSRP-GROUP-STATS-TYPE; - } - leaf authentication-string { - type string { - length "0..9"; - } - description "Authentication string"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "Virtual mac address"; - } - leaf hsrp-group-number { - type uint32; - description "HSRP Group number"; - } - leaf address-family { - type Hsrp-b-af; - description "Address family"; - } - leaf version { - type Hsrp-version; - description "HSRP Protocol Version"; - } - leaf session-name { - type string { - length "0..16"; - } - description "Session Name"; - } - leaf slaves { - type uint32; - description "Number of slaves following state"; - } - leaf is-slave { - type boolean; - description "Group is a slave group"; - } - leaf followed-session-name { - type string { - length "0..16"; - } - description "Followed Session Name"; - } - leaf configured-priority { - type uint8; - description "Configured priority"; - } - leaf preempt-delay { - type uint32; - units "second"; - description "Preempt delay time in seconds"; - } - leaf preempt-timer-secs { - type uint32; - units "second"; - description "Preempt time remaining in seconds"; - } - leaf hello-time { - type uint32; - units "millisecond"; - description "Hellotime in msecs"; - } - leaf hold-time { - type uint32; - units "millisecond"; - description "Holdtime in msecs"; - } - leaf learned-hello-time { - type uint32; - units "millisecond"; - description "Learned hellotime in msecs"; - } - leaf learned-hold-time { - type uint32; - units "millisecond"; - description "Learned holdtime in msecs"; - } - leaf min-delay-time { - type uint32; - units "millisecond"; - description "Minimum delay time in msecs"; - } - leaf reload-delay-time { - type uint32; - units "millisecond"; - description "Reload delay time in msecs"; - } - leaf virtual-ip-address { - type inet:ipv4-address; - description "Configured Virtual IPv4 address"; - } - leaf virtual-linklocal-ipv6-address { - type inet:ipv6-address; - description "Virtual linklocal IPv6 address"; - } - leaf active-ip-address { - type inet:ipv4-address; - description "Active router's IP address"; - } - leaf active-ipv6-address { - type inet:ipv6-address; - description "Active router's IPv6 address"; - } - leaf active-mac-address { - type yang:mac-address; - description "Active router's interface MAC address"; - } - leaf standby-ip-address { - type inet:ipv4-address; - description "Standby router's IP address"; - } - leaf standby-ipv6-address { - type inet:ipv6-address; - description "Standby router's IPv6 address"; - } - leaf standby-mac-address { - type yang:mac-address; - description "Standby router's interface MAC address"; - } - leaf hsrp-router-state { - type Standby-grp-state; - description "HSRP router state"; - } - leaf interface-name-xr { - type string { - length "0..64"; - } - description "Interface Name"; - } - leaf interface { - type xr:Interface-name; - description "IM Interface"; - } - leaf router-priority { - type uint8; - description "Priority of the router"; - } - leaf active-priority { - type uint8; - description "Priority of the Active router"; - } - leaf active-timer-flag { - type boolean; - description "Active timer running flag"; - } - leaf active-timer-secs { - type uint32; - units "second"; - description "Active timer running time secs"; - } - leaf active-timer-msecs { - type uint32; - units "millisecond"; - description "Active timer running time msecs"; - } - leaf standby-timer-flag { - type boolean; - description "Standby timer running flag"; - } - leaf standby-timer-secs { - type uint32; - units "second"; - description "Standby timer running time secs"; - } - leaf standby-timer-msecs { - type uint32; - units "millisecond"; - description "Standby timer running time msecs"; - } - leaf hello-timer-flag { - type boolean; - description "Hello timer running flag"; - } - leaf hello-timer-secs { - type uint32; - units "second"; - description "Hello timer running time secs"; - } - leaf hello-timer-msecs { - type uint32; - units "millisecond"; - description "Hello timer running time msecs"; - } - leaf delay-timer-flag { - type boolean; - description "Delay timer running flag"; - } - leaf delay-timer-secs { - type uint32; - units "second"; - description "Delay timer running time secs"; - } - leaf delay-timer-msecs { - type uint32; - units "millisecond"; - description "Delay timer running time msecs"; - } - leaf current-state-timer-secs { - type uint32; - units "second"; - description "Time in current state secs"; - } - leaf state-change-count { - type uint32; - description "Number of state changes"; - } - leaf tracked-interface-count { - type uint32; - description "Number of tracked interfaces"; - } - leaf tracked-interface-up-count { - type uint32; - description "Number of tracked interfaces up"; - } - leaf preempt-enabled { - type boolean; - description "Preempt enabled"; - } - leaf use-configured-timers { - type boolean; - description "Use configured timers"; - } - leaf use-configured-virtual-ip { - type boolean; - description "Use configured virtual IP"; - } - leaf use-bia-configured { - type boolean; - description "Use burnt in MAC address configured"; - } - leaf configured-timers { - type boolean; - description "Non-default timers are configured"; - } - leaf configured-mac-address { - type boolean; - description "MAC address configured"; - } - leaf redirects-disabled { - type boolean; - description "HSRP redirects disabled"; - } - leaf bfd-enabled { - type boolean; - description "HSRP BFD fast failover"; - } - leaf bfd-interface { - type xr:Interface-name; - description "BFD Interface"; - } - leaf bfd-peer-ip-address { - type inet:ipv4-address; - description "BFD Peer IP address"; - } - leaf bfd-peer-ipv6-address { - type inet:ipv6-address; - description "BFD Peer IPv6 address"; - } - leaf bfd-session-state { - type Hsrp-bfd-session-state; - description "BFD session state"; - } - leaf bfd-interval { - type uint32; - description "BFD packet send interval"; - } - leaf bfd-multiplier { - type uint32; - description "BFD multiplier"; - } - leaf virtual-mac-address-state { - type Hsrp-vmac-state; - description "Virtual mac address state"; - } - leaf-list secondary-address { - type inet:ipv4-address; - description "Secondary virtual IP addresses"; - } - - list global-address { - description "Global virtual IPv6 addresses"; - uses IPV6-BAG-ADDR; - } - - list state-change-history { - description "State change history"; - uses HSRP-STATE-CHANGE-INFO-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper.yang deleted file mode 100644 index 2639fbd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-hsrp-oper.yang +++ /dev/null @@ -1,213 +0,0 @@ -module Cisco-IOS-XR-ipv4-hsrp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper"; - - - prefix "ipv4-hsrp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-hsrp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-hsrp package operational data. - - This module contains definitions - for the following management objects: - hsrp: HSRP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hsrp { - config false; - description "HSRP operational data"; - - container ipv4 { - description "IPv4 HSRP information"; - - container groups { - description "The HSRP standby group table"; - - list group { - key "interface-name group-number"; - description "An HSRP standby group"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf group-number { - type int32; - description "The HSRP group number"; - } - uses STANDBY-GRP-INFO; - } - } - - container tracked-interfaces { - description "The HSRP tracked interfaces table"; - - list tracked-interface { - key "interface-name group-number tracked-interface-name"; - description "An HSRP tracked interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name of the interface"; - } - leaf group-number { - type int32; - description "The HSRP group number"; - } - leaf tracked-interface-name { - type xr:Interface-name; - description - "The interface name of the interface being - tracked"; - } - uses STANDBY-TRACKEDIF-INFO; - } - } - - container interfaces { - description "The HSRP interface information table"; - - list interface { - key "interface-name"; - description "A HSRP interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses STANDBY-IF-INFO; - } - } - } - - container mgo-sessions { - description "HSRP MGO session table"; - - list mgo-session { - key "session-name"; - description "HSRP MGO session"; - leaf session-name { - type xr:Cisco-ios-xr-string; - description "HSRP MGO session name"; - } - uses HSRP-MGO-INFO; - } - } - - container ipv6 { - description "IPv6 HSRP information"; - - container tracked-interfaces { - description "The HSRP tracked interfaces table"; - - list tracked-interface { - key "interface-name group-number tracked-interface-name"; - description "An HSRP tracked interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name of the interface"; - } - leaf group-number { - type int32; - description "The HSRP group number"; - } - leaf tracked-interface-name { - type xr:Interface-name; - description - "The interface name of the interface being - tracked"; - } - uses STANDBY-TRACKEDIF-INFO; - } - } - - container groups { - description "The HSRP standby group table"; - - list group { - key "interface-name group-number"; - description "An HSRP standby group"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf group-number { - type int32; - description "The HSRP group number"; - } - uses STANDBY-GRP-INFO; - } - } - - container interfaces { - description "The HSRP interface information table"; - - list interface { - key "interface-name"; - description "A HSRP interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses STANDBY-IF-INFO; - } - } - } - - container bfd-sessions { - description "The table of HSRP BFD Sessions"; - - list bfd-session { - key "interface-name ip-address"; - description "An HSRP BFD Session"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "Destination IP Address of BFD Session"; - } - uses STANDBY-BFD-INFO; - } - } - - container summary { - description "HSRP summary statistics"; - uses HSRP-SUMMARY-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-cfg.yang deleted file mode 100644 index e928125..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-cfg.yang +++ /dev/null @@ -1,716 +0,0 @@ -module Cisco-IOS-XR-ipv4-igmp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg"; - - - prefix "ipv4-igmp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-igmp package configuration. - - This module contains definitions - for the following management objects: - igmp: IGMPconfiguration - amt: amt - mld: mld - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-10" { - description - "Removed invalid configs from VRF container"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Igmp-filter { - type enumeration { - enum include { - value 0; - description "Include"; - } - enum exclude { - value 1; - description "Exclude"; - } - enum star-g { - value 2; - description "StarG"; - } - } - description "Igmp filter"; - } - - grouping MAXIMUM-GROUPS-PER-INTERFACE-OOR { - description "Common node of inheritable-defaults, interface"; - - container maximum-groups-per-interface-oor { - presence "Indicates a maximum-groups-per-interface-oor node"+ - " is configured."; - description - "Configure maximum number of groups accepted per - interface by this router"; - leaf maximum-groups { - type uint32 { - range "1..40000"; - } - mandatory true; - description - "Maximum number of groups accepted per interface - by this router"; - } - leaf warning-threshold { - type uint32 { - range "1..40000"; - } - default "25000"; - description - " WarningThreshold for number of groups accepted - per interface by this router"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list to account for"; - } - } - } - - grouping VRF-TABLE { - description "Common node of mld, igmp"; - - container vrfs { - description "VRF related configuration"; - - list vrf { - key "vrf-name"; - description "Configuration for a particular vrf"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name for this vrf"; - } - uses TRAFFIC; - uses INHERITABLE-DEFAULTS; - uses SSM-ACCESS-GROUP-TABLE; - uses MAXIMUM; - uses SSMDNS-QUERY-GROUP; - uses INTERFACE-TABLE; - uses ROBUSTNESS; - } - } - } - - grouping TRAFFIC { - description "Common node of vrf, default-context"; - - container traffic { - description "Configure IGMP Traffic variables"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Configure the route-policy profile"; - } - } - } - - grouping INHERITABLE-DEFAULTS { - description "Common node of vrf, default-context"; - - container inheritable-defaults { - description "Inheritable Defaults"; - uses MAXIMUM-GROUPS-PER-INTERFACE-OOR; - uses QUERY-TIMEOUT; - uses ACCESS-GROUP; - uses QUERY-MAX-RESPONSE-TIME; - uses VERSION; - uses ROUTER-ENABLE; - uses QUERY-INTERVAL; - uses EXPLICIT-TRACKING; - } - } - - grouping ROBUSTNESS { - description "Common node of vrf, default-context"; - leaf robustness { - type uint32 { - range "2..10"; - } - default "2"; - description "Configure IGMP Robustness variable"; - } - } - - grouping VERSION { - description "Common node of inheritable-defaults, interface"; - leaf version { - type uint32 { - range "1..3"; - } - default "3"; - description "Version number"; - } - } - - grouping MAXIMUM { - description "Common node of vrf, default-context"; - - container maximum { - description "Configure IGMP State Limits"; - leaf maximum-groups { - type uint32 { - range "1..75000"; - } - default "50000"; - description - "Configure maximum number of groups accepted by - this router"; - } - } - } - - grouping INTERFACE-TABLE { - description "Common node of vrf, default-context"; - - container interfaces { - description "Interface-level configuration"; - - list interface { - key "interface-name"; - description "The name of the interface"; - - container join-groups { - - grouping JOIN-GROUP-CONTENT { - description "JOIN GROUP CONTENT"; - leaf mode { - type Igmp-filter; - mandatory true; - description "Filter mode"; - } - } - - list join-group { - key "group-address"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - uses JOIN-GROUP-CONTENT; - } - - - list join-group-source-address { - key "group-address source-address"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "Optional IP source address"; - } - uses JOIN-GROUP-CONTENT; - } - - presence "Indicates a join-groups node is configured."; - description "IGMP join multicast group"; - } - - container static-group-group-addresses { - description "IGMP static multicast group"; - - grouping STATIC-GROUP-CONTENT { - description "STATIC GROUP CONTENT"; - leaf group-count { - type uint32 { - range "1..512"; - } - default "1"; - description - "Number of groups to join (do not set without - GroupAddressMask)"; - } - leaf source-count { - type uint32 { - range "1..512"; - } - default "1"; - description - "Number of sources to join (do not set - without SourceAddressMask)"; - } - leaf suppress-report { - type boolean; - default "false"; - description "Suppress reports"; - } - } - - list static-group-group-address { - key "group-address"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - uses STATIC-GROUP-CONTENT; - } - - list static-group-group-address-source-address { - key "group-address source-address"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "IP source address"; - } - uses STATIC-GROUP-CONTENT; - } - - list "static-group-group-address-source-address-source"+ - "-address-mask" { - key "group-address source-address source-address-mask"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "IP source address"; - } - leaf source-address-mask { - type inet:ip-address-no-zone; - description "Mask for Source Address"; - } - uses STATIC-GROUP-CONTENT; - } - - list static-group-group-address-group-address-mask { - key "group-address group-address-mask"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf group-address-mask { - type inet:ip-address-no-zone; - description "Mask for Group Address"; - } - uses STATIC-GROUP-CONTENT; - } - - list "static-group-group-address-group-address-mask"+ - "-source-address" { - key "group-address group-address-mask source-address"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf group-address-mask { - type inet:ip-address-no-zone; - description "Mask for Group Address"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "IP source address"; - } - uses STATIC-GROUP-CONTENT; - } - - list "static-group-group-address-group-address-mask"+ - "-source-address-source-address-mask" { - key "group-address group-address-mask source-address"+ - " source-address-mask"; - description - "IP group address and optional source address - to include"; - leaf group-address { - type inet:ip-address-no-zone; - description "IP group address"; - } - leaf group-address-mask { - type inet:ip-address-no-zone; - description "Mask for Group Address"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "IP source address"; - } - leaf source-address-mask { - type inet:ip-address-no-zone; - description "Mask for Source Address"; - } - uses STATIC-GROUP-CONTENT; - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses MAXIMUM-GROUPS-PER-INTERFACE-OOR; - uses QUERY-TIMEOUT; - uses ACCESS-GROUP; - uses QUERY-MAX-RESPONSE-TIME; - uses VERSION; - uses ROUTER-ENABLE; - uses QUERY-INTERVAL; - uses EXPLICIT-TRACKING; - } - } - } - - grouping ACCESS-GROUP { - description "Common node of inheritable-defaults, interface"; - leaf access-group { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access list specifying access group range"; - } - } - - grouping SSM-ACCESS-GROUP-TABLE { - description "Common node of vrf, default-context"; - - container ssm-access-groups { - description "IGMP Source specific mode"; - - list ssm-access-group { - key "source-address"; - description "SSM static Access Group"; - leaf source-address { - type inet:ip-address-no-zone; - description "IP source address"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - mandatory true; - description "Access list specifying access group"; - } - } - } - } - - grouping QUERY-MAX-RESPONSE-TIME { - description "Common node of inheritable-defaults, interface"; - leaf query-max-response-time { - type uint32 { - range "1..12"; - } - units "second"; - default "10"; - description "Query response value in seconds"; - } - } - - grouping DEFAULT-CONTEXT { - description "Common node of igmp, mld"; - - container default-context { - presence "Indicates a default-context node is configured."; - description "Default Context"; - - container nsf { - description "Configure NSF specific options"; - leaf lifetime { - type uint32 { - range "10..3600"; - } - units "second"; - default "60"; - description "Maximum time for IGMP NSF mode in seconds"; - } - } - - container unicast-qos-adjust { - description - "Configure IGMP QoS shapers for subscriber - interfaces"; - leaf download-interval { - type uint32 { - range "10..500"; - } - units "millisecond"; - default "100"; - description - "Configure the QoS download interval (in - milliseconds)"; - } - leaf adjustment-delay { - type uint32 { - range "0..10"; - } - units "second"; - default "1"; - description - "Configure the QoS delay before programming (in - seconds)"; - } - leaf hold-off { - type uint32 { - range "5..1800"; - } - units "second"; - default "180"; - description - "Configure the QoS hold off time (in seconds)"; - } - } - - container accounting { - description - "Configure IGMP accounting for logging - join/leave records"; - leaf max-history { - type uint32 { - range "0..365"; - } - units "day"; - default "0"; - description - "Configure IGMP accounting Maximum History - setting"; - } - } - uses TRAFFIC; - uses INHERITABLE-DEFAULTS; - uses SSM-ACCESS-GROUP-TABLE; - uses MAXIMUM; - uses SSMDNS-QUERY-GROUP; - uses INTERFACE-TABLE; - uses ROBUSTNESS; - } - } - - grouping QUERY-INTERVAL { - description "Common node of inheritable-defaults, interface"; - leaf query-interval { - type uint32 { - range "1..3600"; - } - units "second"; - default "60"; - description "Query interval in seconds"; - } - } - - grouping ROUTER-ENABLE { - description "Common node of inheritable-defaults, interface"; - leaf router-enable { - type boolean; - default "true"; - description - "Enabled or disabled, when value is TRUE or FALSE - respectively"; - } - } - - grouping SSMDNS-QUERY-GROUP { - description "Common node of vrf, default-context"; - leaf ssmdns-query-group { - type empty; - description "Enable SSM mapping using DNS Query"; - } - } - - grouping QUERY-TIMEOUT { - description "Common node of inheritable-defaults, interface"; - leaf query-timeout { - type uint32 { - range "60..300"; - } - units "second"; - description "IGMP previous querier timeout"; - } - } - - grouping EXPLICIT-TRACKING { - description "Common node of inheritable-defaults, interface"; - - container explicit-tracking { - presence "Indicates a explicit-tracking node is configured."; - description "IGMPv3 explicit host tracking"; - leaf enable { - type boolean; - mandatory true; - description - "Enabled or disabled, when value is TRUE or - FALSE respectively"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access list specifying tracking group range"; - } - } - } - - container igmp { - presence "Indicates a igmp node is configured."; - description "IGMPconfiguration"; - uses VRF-TABLE; - uses DEFAULT-CONTEXT; - } - - container amt { - description "amt"; - - container relay-adv-add { - presence "Indicates a relay-adv-add node is configured."; - description "Configure AMT Relay IPv4 Advertisement Address"; - leaf address { - type inet:ipv4-address-no-zone; - mandatory true; - description "AMT Relay IPv4 Advertisement Address"; - } - leaf interface { - type xr:Interface-name; - description "Relay Advertisement Interface"; - } - } - - container relay-anycast-prefix { - presence "Indicates a relay-anycast-prefix node is"+ - " configured."; - description "Configure AMT Relay IPv4 Anycast-Prefix"; - leaf address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Anycast-Prefix Address"; - } - leaf prefix-length { - type uint32 { - range "1..32"; - } - description "Mask Length for Anycast Prefix"; - } - } - leaf maximum-v4-route-gateway { - type uint32 { - range "1..4294967295"; - } - description - "Configure Maximum number of IPv4 route-gateways - (Tunnels)"; - } - leaf gateway-filter { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access list for Gateway Filter"; - } - leaf maximum-v4-routes { - type uint32 { - range "1..4294967295"; - } - description "Configure Maximum number of IPv4 Routes"; - } - leaf amttos { - type uint32 { - range "1..255"; - } - description "Configure AMT Relay TOS"; - } - leaf amtttl { - type uint32 { - range "1..255"; - } - description "Configure AMT Relay TTL"; - } - leaf maximum-v6-route-gateway { - type uint32 { - range "1..4294967295"; - } - description - "Configure Maximum number of IPv6 route-gateways - (Tunnels)"; - } - leaf maximum-gateway { - type uint32 { - range "1..4294967295"; - } - description "Configure AMT maximum number of Gateways"; - } - leaf maximum-v6-routes { - type uint32 { - range "1..4294967295"; - } - description "Configure Maximum number of IPv6 Routes"; - } - leaf amtqqic { - type uint32 { - range "1..4294967295"; - } - description "Configure AMT QQIC value"; - } - leaf amtmtu { - type uint32 { - range "100..65535"; - } - description "Configure AMT Relay MTU"; - } - } - - container mld { - presence "Indicates a mld node is configured."; - description "mld"; - uses VRF-TABLE; - uses DEFAULT-CONTEXT; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang deleted file mode 100644 index f305cb3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang +++ /dev/null @@ -1,148 +0,0 @@ -module Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg"; - - - prefix "ipv4-igmp-dyn-tmpl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-igmp-dyn-tmpl package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Dyn-tmpl-multicast-mode { - type enumeration { - enum qos-correlation { - value 1; - description "QOS Correlation"; - } - enum passive { - value 2; - description "Passive"; - } - } - description "Dyn tmpl multicast mode"; - } - - grouping IGMP { - description "Common node of ppp, ip-subscriber"; - - container igmp { - description "IGMPconfiguration"; - - container default-vrf { - description "Default VRF"; - - container explicit-tracking { - presence "Indicates a explicit-tracking node is"+ - " configured."; - description "IGMPv3 explicit host tracking"; - leaf enable { - type boolean; - mandatory true; - description - "Enable or disable, when value is TRUE or - FALSE respectively"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access list specifying tracking group range"; - } - } - leaf max-groups { - type uint32 { - range "1..40000"; - } - default "25000"; - description "IGMP Max Groups"; - } - leaf access-group { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access list specifying access-list group range"; - } - leaf version { - type uint32 { - range "1..3"; - } - default "3"; - description "IGMP Version"; - } - leaf query-interval { - type uint32 { - range "1..3600"; - } - units "second"; - default "60"; - description "Query interval in seconds"; - } - leaf query-max-response-time { - type uint32 { - range "1..12"; - } - units "second"; - default "10"; - description "Query response value in seconds"; - } - leaf multicast-mode { - type Dyn-tmpl-multicast-mode; - description "Configure Multicast mode variable"; - } - } - } - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IGMP; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IGMP; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang deleted file mode 100644 index ad337cf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang +++ /dev/null @@ -1,1382 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-igmp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-igmp-oper { - prefix Cisco-IOS-XR-ipv4-igmp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-igmp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Igmp-edm-protocol { - type enumeration { - enum no-route { - value 0; - description "no route"; - } - enum sm { - value 1; - description "sm"; - } - enum dm { - value 2; - description "dm"; - } - enum bidir { - value 3; - description "bidir"; - } - enum ssm { - value 4; - description "ssm"; - } - enum any { - value 6; - description "any"; - } - } - description "IGMP Protocol"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - typedef Igmp-afi { - type enumeration { - enum ipv4-unicast { - value 0; - description "IP v4 unicast"; - } - enum ipv6-unicast { - value 1; - description "IP v6 unicast"; - } - } - description "Address family"; - } - typedef Im-state { - type uint32; - description "Im state"; - } - - grouping IGMP-EDM-NSF-BAG { - description "IGMP NSF state"; - leaf is-multicast-nsf-active { - type boolean; - description "Is Multicast NSF active"; - } - leaf multicast-nsf-timeout { - type uint32; - units "second"; - description "Multicast NSF timeout in secs"; - } - leaf multicast-nsf-time-left { - type uint32; - units "second"; - description "Multicast NSF time remaining in secs"; - } - leaf respawn-count { - type uint32; - description "Respawn Count"; - } - leaf last-nsf-on { - type int64; - description "Last NSF time ON"; - } - leaf last-nsf-off { - type int64; - description "Last NSF time off"; - } - leaf last-nsf-on-min { - type int32; - units "second"; - description "Last NSF time ON in Seconds"; - } - leaf last-nsf-off-min { - type int32; - units "second"; - description "Last NSF time OFF in Seconds"; - } - leaf last-icd-notif-recv { - type int64; - description "Last ICD Notif Recv"; - } - leaf last-icd-notif-recv-min { - type int32; - units "second"; - description "Last ICD Notif Recv in Seconds"; - } - } - - grouping IGMP-EDM-BVI-STATS-BAG { - description "IGMP EDM BVI STATS BAG"; - leaf receive-buffers { - type uint32; - description "Number of AIPC buffers received"; - } - leaf release-buffers { - type uint32; - description "Number of AIPC buffers released"; - } - leaf send-blocks { - type uint32; - description "Number of AIPC buffers send blocked"; - } - leaf release-fail-buffers { - type uint32; - description "Number of AIPC buffers release failed"; - } - leaf null-buffer-handles { - type uint32; - description "Number of AIPC NULL buffer handles"; - } - leaf rx-ipc-open-notif { - type uint32; - description "Number of AIPC open notifications received"; - } - leaf rx-ipc-close-notif { - type uint32; - description "Number of AIPC close notifications received"; - } - leaf rx-ipc-error-notif { - type uint32; - description "Number of AIPC error notifications received"; - } - leaf rx-ipc-lwm-notif { - type uint32; - description "Number of AIPC LWM notifications received"; - } - leaf rx-ipc-input-wait-notif { - type uint32; - description - "Number of AIPC input waiting notifications - received"; - } - leaf rx-ipc-send-status-notif { - type uint32; - description - "Number of AIPC send status notifications - received"; - } - leaf rx-ipc-publish-notif { - type uint32; - description "Number of AIPC publish notifications received"; - } - leaf rx-ipc-q-full-notif { - type uint32; - description - "Number of AIPC queue full notifications received"; - } - leaf rx-ipc-output-notif { - type uint32; - description "Number of AIPC output notifications received"; - } - leaf rx-ipc-connect-notif { - type uint32; - description "Number of AIPC connect notifications received"; - } - leaf rx-igmp-packet-success { - type uint32; - description "Number of IGMP protocol messages received"; - } - leaf rx-add-mrouter-msg { - type uint32; - description "Number of IGMP Mrouter Add messages received"; - } - leaf rx-delete-mrouter-msg { - type uint32; - description "Number of IGMP Mrouter Delete messages received"; - } - leaf rx-sweep-mrouter-msg { - type uint32; - description "Number of IGMP Mrouter Sweep messages received"; - } - leaf tx-add-mrouter-msg { - type uint32; - description "Number of IGMP Mrouter Add messages transmitted"; - } - leaf tx-delete-mrouter-msg { - type uint32; - description - "Number of IGMP Mrouter Delete messages - transmitted"; - } - leaf tx-sweep-mrouter-msg { - type uint32; - description "Number of IGMP Mrouter Sweep messages received"; - } - leaf rx-unknown-mrouter-msg { - type uint32; - description - "Number of IGMP Mrouter Unknown messages received"; - } - leaf tx-unknown-mrouter-msg { - type uint32; - description - "Number of IGMP Mrouter Unknown messages - transmitted"; - } - leaf tx-buffer-errors { - type uint32; - description "Number of AIPC transmission errors"; - } - leaf tx-buffers { - type uint32; - description "Number of AIPC buffers transmited"; - } - leaf tx-protocol-buffers { - type uint32; - description "Number of IGMP protocol buffers transmitted"; - } - leaf tx-mrouter-buffers { - type uint32; - description "Number of IGMP Mrouter buffers transmitted"; - } - leaf tx-unknown-buffers { - type uint32; - description "Number of IGMP Unknown buffers transmited"; - } - leaf wtx-msg-recvd { - type uint32; - description "Number of WTX messages received"; - } - leaf wtx-msg-sent { - type uint32; - description "Number of WTX messages sent"; - } - leaf wtx-msg-proto-sent { - type uint32; - description "Number of WTX messages sent to Protocol"; - } - leaf wtx-msg-drop-dc { - type uint32; - description - "Number of WTX messages dropped due to disconnect"; - } - leaf wtx-msg-drop-nomem { - type uint32; - description "Number of WTX messages dropped to memory"; - } - leaf wtx-msg-freed { - type uint32; - description "Number of WTX messages freed"; - } - } - - grouping IGMP-EDM-I2Q-STATS-BAG { - description "IGMP Rate Adjust Stats"; - leaf queues { - type uint16; - description "I2Q Queue count"; - } - leaf batches { - type uint16; - description "I2Q Rate Batch count"; - } - leaf add-to-batches { - type uint32; - description "Add to batch count"; - } - leaf delete-to-batches { - type uint32; - description "Delete to batch count"; - } - leaf send-success { - type uint32; - description "Send Success count"; - } - leaf send-errors { - type uint32; - description "Number of Send errors in batch"; - } - leaf send-comm-errors { - type uint32; - description "Send Error due to comms count"; - } - leaf send-partial-errors { - type uint32; - description "Send Error due to partial issue count"; - } - leaf received-resync-requests { - type uint32; - description "Number of Resync request received"; - } - leaf sent-resync-bulks { - type uint32; - description "Number of bulks sent for last resync received"; - } - leaf is-resync-received { - type boolean; - description "Is Resync request received"; - } - leaf is-resync-required { - type boolean; - description "Is Resync required"; - } - leaf is-resync-start-sent { - type boolean; - description "Is Resync Start message sent"; - } - leaf is-qos-s-sweeped { - type boolean; - description "Is QOS Sweeped once "; - } - leaf last-sweep-time { - type uint64; - units "second"; - description - "Time elapsed since Last mark and sweep in - seconds"; - } - leaf last-download-time { - type uint64; - units "second"; - description - "Time elapsed since Last download to QOS in - seconds"; - } - } - - grouping AMT-GW-BAG { - description "AMT GW info"; - leaf amtgw { - type inet:ipv4-address; - description "GW"; - } - leaf amt-port { - type uint32; - description "Port"; - } - leaf key-len { - type uint32; - description "Len"; - } - leaf amtnh { - type uint32; - description "AMT NH"; - } - leaf amt-nonce { - type uint32; - description "Nonce"; - } - leaf idb { - type uint64; - description "IDB"; - } - leaf mem-upd-in { - type uint32; - description "UpdIn"; - } - leaf mem-upd-out { - type uint32; - description "UpdOut"; - } - } - - grouping IGMP-EDM-NSR-BAG { - description "IGMP NSR state"; - leaf state { - type uint8; - description "NSR state"; - } - leaf partner-proc-connected { - type boolean; - description "Partner process connected"; - } - leaf collab-conv-done { - type boolean; - description "Collaborators convergence done"; - } - leaf rmf-notification-done { - type boolean; - description "RMF Notification done"; - } - leaf last-proc { - type uint64; - description "Time when process came up"; - } - leaf last-proc-connection-up { - type uint64; - description "Time when process connection went up"; - } - leaf last-proc-connection-dn { - type uint64; - description "Time when process connection went down"; - } - leaf last-rmf-ready { - type uint64; - description "Time when RMF Rdy notif was sent"; - } - leaf last-rmf-not-ready { - type uint64; - description "Time when RMF Not-Rdy notif was sent"; - } - leaf count-proc-connection-up { - type uint32; - description "No. of times process connection went up"; - } - leaf count-proc-connection-dn { - type uint32; - description "No. of times process connection went down"; - } - leaf count-rmf-ready { - type uint32; - description "No. of times RMF Ready notif was sent"; - } - leaf count-rmf-not-ready { - type uint32; - description "No. of times RMF Not Ready notif was sent"; - } - } - - grouping AMT-SUMMARY-BAG { - description "AMT summary info"; - leaf anycast-prefix { - type inet:ipv4-address; - description "Robustness variable"; - } - leaf prefix-length { - type uint32; - description "Advertize AMT prefix length"; - } - leaf relay-address { - type inet:ipv4-address; - description "Advertaisment for AMT Relay address"; - } - leaf mtu { - type uint32; - description "AMT Tunnel MTU"; - } - leaf tos { - type uint32; - description "Type Of Service value in AMT header"; - } - leaf ttl { - type uint32; - description "Time To Live value in AMT header"; - } - leaf query-interval { - type uint32; - description "AMT Query interval"; - } - leaf gateway-count { - type uint32; - description "Number of AMT Gateway"; - } - leaf max-gateway { - type uint32; - description "Maximum Gateway allowed"; - } - leaf tunnel-count { - type uint32; - description "AMT Tunnel Count"; - } - leaf tunnel-configured-maximum { - type uint32; - description "AMT Tunnel configured Maximum"; - } - leaf is-acl-configured { - type boolean; - description "ACL configured under AMT"; - } - leaf is-gateway-simulation { - type boolean; - description "AMT Gateway Simulation"; - } - leaf is-ou-of-resource { - type boolean; - description "AMT Out Of Resource"; - } - } - - grouping IGMP-EDM-SSM-MAP-DETAIL-BAG { - description "IGMP SSM Map Detail List"; - - container map-info { - description "Basic Map Info"; - uses IGMP-EDM-SSM-MAP-BAG; - } - leaf expiration-time { - type uint32; - units "second"; - description "Expiration Time in Seconds"; - } - leaf response-pending { - type boolean; - description "Response Pending"; - } - leaf query-interval { - type uint32; - description "Query interval"; - } - leaf elapsed-time { - type uint64; - description "Elapsed time"; - } - - list sources { - description "List of sources"; - uses IGMP-ADDRTYPE; - } - } - - grouping IGMP-EDM-IDB-SUMM-BAG { - description "IGMP Interface DB summary"; - leaf interface-count { - type uint32; - description "Interface Count"; - } - leaf configuration-count { - type uint32; - description "Configuration count"; - } - } - - grouping IGMP-EDM-GROUPS-SUMMARY-BAG { - description "IGMP group summary entry"; - leaf groutes { - type uint32; - description "No. of (*,G) routes"; - } - leaf sg-routes { - type uint32; - description "No. of (S,G) routes"; - } - leaf group-count { - type uint32; - description "Current groups accepted"; - } - leaf is-low-memory { - type boolean; - description "Node is running low on memory"; - } - } - - grouping IGMP-EDM-TRAFFIC-BAG { - description "IGMP Traffic Counters bag"; - leaf elapsed-time { - type uint32; - description "Running time for counters"; - } - leaf packets-in { - type uint32; - description "Packets in"; - } - leaf packets-out { - type uint32; - description "Packets out"; - } - leaf format-errors { - type uint32; - description "Malformed packets in"; - } - leaf packet-manager-input-errors { - type uint32; - description "Incoming Packet Manager packets dropped"; - } - leaf packet-manager-output-errors { - type uint32; - description "Outgoing Packet Manager packets dropped"; - } - leaf checksum-errors { - type uint32; - description "Checksum errors"; - } - leaf receive-socket-errors { - type uint32; - description "Socket errors on reception"; - } - leaf socket-errors { - type uint32; - description "Socket errors on send"; - } - leaf bad-scope-errors { - type uint32; - description "BadScope errors"; - } - leaf auxillary-data-length-errors { - type uint32; - description "AuxDataLen errors"; - } - leaf invalid-source-address-errors { - type uint32; - description "Invalid Source Address errors"; - } - leaf no-socket-connection { - type uint32; - description "Packets dropped since no socket connection"; - } - leaf miscellaneous-errors { - type uint32; - description "Packets dropped for other reasons"; - } - leaf input-queries { - type uint32; - description "Query packets in"; - } - leaf input-reports { - type uint32; - description "Reports in"; - } - leaf input-leaves { - type uint32; - description "Leaves in"; - } - leaf input-mtrace { - type uint32; - description "Mtrace packets in"; - } - leaf input-dvmrp { - type uint32; - description "DVMRP packets in"; - } - leaf input-pim { - type uint32; - description "PIM packets in"; - } - leaf output-queries { - type uint32; - description "Query packets out"; - } - leaf output-reports { - type uint32; - description "Reports out"; - } - leaf output-leaves { - type uint32; - description "Leaves out"; - } - leaf output-mtrace { - type uint32; - description "Mtrace packets out"; - } - leaf output-dvmrp { - type uint32; - description "DVMRP packets out"; - } - leaf output-pim { - type uint32; - description "PIM packets out"; - } - leaf get-packet-failure { - type uint32; - description "Packet get failed"; - } - leaf output-no-parent-interface-handle { - type uint32; - description "Failures setting 2nd ifhandle"; - } - leaf input-no-idb { - type uint32; - description "Packets received without idb"; - } - leaf input-no-vrf-in-idb { - type uint32; - description "Packets received on idb without VRF"; - } - leaf input-disabled-idb { - type uint32; - description "Packet received on disabled idb"; - } - leaf input-martian-address { - type uint32; - description "Packets received with Martian Address"; - } - leaf input-no-assigned-vrf-id { - type uint32; - description "Packets received with no assigned vrf id"; - } - leaf input-no-vrf-mtrace { - type uint32; - description "mtrace packets with no vrf associated"; - } - leaf input-no-platform-support-mtrace { - type uint32; - description "mtrace packets without platform support"; - } - } - - grouping IGMP-EDM-IDB-IFRS-BAG { - description "IGMP IFRS interface entry"; - - container igmp-interface-entry { - description "IGMP interface entry"; - uses IGMP-EDM-IDB-BAG; - } - leaf join-group-count { - type uint32; - description "Join group count"; - } - } - - grouping IGMP-GROUP-RANGE { - description "IGMP Group-Map Range"; - - container group-address-xr { - description "Group address"; - uses IGMP-ADDRTYPE; - } - leaf prefix-length { - type uint32; - description "Prefix length"; - } - leaf protocol { - type Igmp-edm-protocol; - description "Protocol"; - } - leaf is-stale { - type boolean; - description "Is the entry stale"; - } - } - - grouping IGMP-EDM-I2Q-INTF-RATE-BAG { - description "IGMP-QOS Interface Rate"; - - container source-address { - description "Source address"; - uses IGMP-ADDRTYPE; - } - - container group-address { - description "Group address"; - uses IGMP-ADDRTYPE; - } - leaf is-add { - type boolean; - description "Is this a rate increment"; - } - leaf weight { - type uint32; - description "Weight from policy"; - } - leaf received-time { - type uint64; - description "Time this update is received"; - } - } - - grouping IGMP-EDM-I2Q-INTF-STATS-BAG { - description "IGMP-QOS Interface Stats"; - leaf is-virtual-access { - type boolean; - description "Is VirtualAccess Interface"; - } - leaf rate { - type uint32; - units "kbit/s"; - description "Overall rate in Kbps"; - } - leaf rate-increments { - type uint32; - description "Count of rate increments"; - } - leaf rate-decrements { - type uint32; - description "Count of rate decrements"; - } - - list update { - max-elements "5"; - description "List of updates"; - uses IGMP-EDM-I2Q-INTF-RATE-BAG; - } - } - - grouping IGMP-EDM-GROUPS-HOST-BAG { - description "IGMP Groups host entry"; - - container address { - description "Host Address"; - uses IGMP-ADDRTYPE; - } - leaf uptime { - type uint32; - units "second"; - description "Uptime in seconds"; - } - leaf is-exclude { - type boolean; - description "Exclude flag set"; - } - leaf expiration-time { - type uint32; - units "second"; - description "Expiration time in seconds"; - } - leaf source-count { - type uint32; - description "No. of sources in entry"; - } - - list source-address { - max-elements "3"; - description "First 3 source addresses"; - uses IGMP-ADDRTYPE; - } - } - - grouping IGMP-EDM-GROUPS-ET-BAG { - description "IGMP group explicit-tracking entry"; - - container group-info { - description "Basic Group information"; - uses IGMP-EDM-GROUPS-BAG; - } - leaf include-hosts { - type uint32; - description "No. of hosts who are included"; - } - leaf exclude-hosts { - type uint32; - description "No. of hosts who are excluded"; - } - - list host { - description "List of hosts"; - uses IGMP-EDM-GROUPS-HOST-BAG; - } - } - - grouping IGMP-EDM-SSM-MAP-BAG { - description "IGMP SSM Map List"; - - container group-address-xr { - description "Group Address"; - uses IGMP-ADDRTYPE; - } - leaf map-type { - type uint32; - description "Map Type of group"; - } - leaf source-counts { - type uint32; - description "Count of Sources"; - } - } - - grouping IGMP-EDM-NOT-ACTIVE-GROUP-BAG { - description "IGMP Non active group"; - - container group-address { - description "Group Address"; - uses IGMP-ADDRTYPE; - } - - container source-address { - description "Source Address"; - uses IGMP-ADDRTYPE; - } - leaf interface { - type string { - length "0..65"; - } - description "Interface Name"; - } - leaf reason-for-non-activity { - type string { - length "0..257"; - } - description "Reason for group join not being processed"; - } - } - - grouping IGMP-EDM-NOT-ACTIVE-ALLGROUPS-BAG { - description "IGMP Non active groups list"; - - list non-active-groups { - description "List of non-active groups"; - uses IGMP-EDM-NOT-ACTIVE-GROUP-BAG; - } - } - - grouping IGMP-EDM-GROUPS-SOURCE-BAG { - description "IGMP Groups source entry"; - - container source-address { - description "Source Address"; - uses IGMP-ADDRTYPE; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expiration-time { - type int32; - units "second"; - description "Expiration time in seconds"; - } - leaf is-local { - type boolean; - description "Is this a local source"; - } - leaf is-remote { - type boolean; - description "Is this a remote source"; - } - leaf is-forward { - type boolean; - description "Should we forward on this entry"; - } - leaf is-we-report { - type boolean; - description "Should we report the source"; - } - leaf flags { - type int32; - description "Source flags"; - } - leaf is-added { - type boolean; - description "Joined"; - } - } - - grouping IGMP-EDM-GROUPS-BAG { - description "IGMP group entry"; - - container group-address-xr { - description "Group Address"; - uses IGMP-ADDRTYPE; - } - - container last-reporter { - description "Last reporter address"; - uses IGMP-ADDRTYPE; - } - - container source-address { - description "Source Address"; - uses IGMP-ADDRTYPE; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expiration-time { - type int32; - units "second"; - description "Expiration time in seconds"; - } - leaf explicit-tracking-enabled { - type boolean; - description "Is explicit tracking enabled"; - } - leaf is-self-join { - type boolean; - description - "If local system is member of this group on this - interface"; - } - leaf row-status { - type string { - length "0..16"; - } - description "interface on or off for the group"; - } - leaf is-low-memory { - type boolean; - description "Node is running low on memory"; - } - leaf router-filter-mode { - type uint8; - description "Filter mode"; - } - leaf older-host-version1-timer { - type uint32; - description "IGMP Hostversion1timer"; - } - leaf older-host-version2-timer { - type uint32; - description "IGMP Hostversion2timer"; - } - leaf is-added { - type boolean; - description "Joined"; - } - leaf is-suppressed { - type boolean; - description "Suppressed"; - } - } - - grouping IGMP-EDM-GROUPS-DETAIL-BAG { - description "IGMP group detail entry"; - - container group-info { - description "Basic Group information"; - uses IGMP-EDM-GROUPS-BAG; - } - leaf is-router-exclude-mode { - type boolean; - description "Group router filter mode"; - } - leaf is-host-exclude-mode { - type boolean; - description "Group host filter mode"; - } - - list source { - description "List of sources"; - uses IGMP-EDM-GROUPS-SOURCE-BAG; - } - } - - grouping IGMP-ADDRTYPE { - description "IGMP ADDRTYPE"; - leaf af-name { - type Igmp-afi; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4-unicast'" { - description "../AFName = 'IPv4Unicast'"; - } - type inet:ipv4-address; - description "IPv4 Addr"; - } - leaf ipv6-address { - when "../af-name = 'ipv6-unicast'" { - description "../AFName = 'IPv6Unicast'"; - } - type Ipv6-address; - description "IPV6 Addr"; - } - } - - grouping IGMP-EDM-IDB-BAG { - description "IGMP interface entry"; - - container address { - description "IP address"; - uses IGMP-ADDRTYPE; - } - - container querier-address { - description "Address of the Querier"; - uses IGMP-ADDRTYPE; - } - - container subscriber-address { - description "Address of subscriber"; - uses IGMP-ADDRTYPE; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf state { - type Im-state; - description "Interface state"; - } - leaf prefix-length { - type uint32; - description "Prefix length"; - } - leaf is-interface-up { - type boolean; - description "Is interface up"; - } - leaf is-ip-enabled { - type boolean; - description "Is IP enabled"; - } - leaf is-router-enabled { - type boolean; - description "Is Router functionality enabled"; - } - leaf igmp-version { - type uint8; - description "IGMP Router version"; - } - leaf host-version { - type uint8; - description "IGMP Host version"; - } - leaf query-interval { - type uint16; - units "second"; - description "Query Interval value in seconds"; - } - leaf query-timeout { - type uint16; - description "Query Timeout value"; - } - leaf query-maximum-response-time { - type uint16; - description "Max Response Timeout value"; - } - leaf last-member-query-interval { - type uint16; - description "Last Member Query Interval"; - } - leaf group-joins { - type uint32; - description "No. of group joins"; - } - leaf group-leaves { - type uint32; - description "No. of group leaves"; - } - leaf is-querier { - type boolean; - description "Are we querier"; - } - leaf total-active-groups { - type uint32; - description "Actual number of groups on interface"; - } - leaf robustness { - type uint32; - description "Robustness Variable value"; - } - leaf proxy-interface { - type xr:Interface-name; - description "Proxy interface index"; - } - leaf querier-uptime { - type uint16; - description "Time since the last querier took over"; - } - leaf las-ll-registration-count { - type uint32; - description "LAS reg count"; - } - leaf las-get-address-count { - type uint32; - description "LAS get addr count"; - } - leaf las-update-count { - type uint32; - description "LAS Update count"; - } - leaf las-ll-remove-update-count { - type uint32; - description "LAS LL remove update count"; - } - leaf las-ll-add-update-count { - type uint32; - description "LAS LL add update count"; - } - leaf las-null-update-count { - type uint32; - description "LAS Null update count"; - } - leaf las-unregistration-count { - type uint32; - description "LAS unreg count"; - } - leaf is-las-request { - type boolean; - description "LAS req"; - } - leaf is-las-registered { - type boolean; - description "LAS registered"; - } - leaf vrf-id { - type uint32; - description "VRF id"; - } - leaf mte-vrf-id { - type uint32; - description "MTE VRF id"; - } - leaf location { - type uint32; - description "Location"; - } - leaf mtu { - type uint32; - description "MTU"; - } - leaf vrf-state { - type uint32; - description "Vrf State"; - } - leaf is-configurationverify { - type boolean; - description "CFG verify"; - } - leaf configurationvrf-set { - type boolean; - description "CFG vrf set"; - } - leaf configurationvrf-error { - type boolean; - description "CFG vrf error"; - } - leaf configuration-mcast-vrf-set { - type boolean; - description "Is mcast set"; - } - leaf configuration-mcast-vrf-error { - type boolean; - description "Is mcast error"; - } - leaf is-im-state-registered { - type boolean; - description "Im state registered"; - } - leaf is-subscriber { - type boolean; - description "Subscriber interface"; - } - leaf subscriber-mode { - type uint32; - description "Subscriber mode"; - } - leaf is-identity-present { - type boolean; - description "Subscriber ID or Address available from AAA"; - } - leaf subscriber-id { - type string { - length "0..257"; - } - description "ID string of subscriber"; - } - leaf parent-ifhandle { - type xr:Interface-name; - description "Parent If Handle"; - } - leaf time-since-last-query-in-seconds { - type uint32; - description "Time elapsed since last query"; - } - leaf time-since-last-report-in-seconds { - type uint32; - description "Time elapsed since last report"; - } - leaf router-uptime-in-seconds { - type uint32; - description "Uptime since router enabled event"; - } - leaf mte-tuple-count { - type uint32; - description "MTE Tuple count"; - } - } - - grouping IGMP-EDM-INTF-SUMMARY-BAG { - description "IGMP interface summary info"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf group-limit { - type uint32; - description "Maximum groups accepted per interface"; - } - leaf group-count { - type uint32; - description "Current groups accepted per interface"; - } - leaf parent-ifhandle { - type xr:Interface-name; - description "Parent if handle"; - } - leaf on-off { - type boolean; - description "Enabled/Disabled"; - } - leaf time-since-last-query-in-seconds { - type uint32; - description "Time elapsed since last query"; - } - leaf time-since-last-report-in-seconds { - type uint32; - description "Time elapsed since last report"; - } - leaf router-uptime-in-seconds { - type uint32; - description "Time elapsed since router enabled event"; - } - } - - grouping IGMP-EDM-SUMMARY-BAG { - description "IGMP summary info"; - leaf robustness { - type uint32; - description "Robustness variable"; - } - leaf group-limit { - type uint32; - description "Maximum groups accepted"; - } - leaf group-count { - type uint32; - description "Current groups accepted"; - } - leaf is-disabled { - type boolean; - description "Is maximum enforcement disabled"; - } - leaf supported-interfaces { - type uint32; - description "No. of supported interfaces"; - } - leaf unsupported-interfaces { - type uint32; - description "No. of unsupported interfaces"; - } - leaf enabled-interface-count { - type uint32; - description "No. of enabled interfaces"; - } - leaf disabled-interface-count { - type uint32; - description "No. of disabled interfaces"; - } - leaf tunnel-mte-config-count { - type uint32; - description "No. of static group commands"; - } - leaf node-low-memory { - type boolean; - description "Is node in low memory condition"; - } - - list interface { - description - "Maximum and current groups accepted for each - interface"; - uses IGMP-EDM-INTF-SUMMARY-BAG; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper.yang deleted file mode 100644 index d1dd7a3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-igmp-oper.yang +++ /dev/null @@ -1,503 +0,0 @@ -module Cisco-IOS-XR-ipv4-igmp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper"; - - - prefix "ipv4-igmp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-igmp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-igmp package operational data. - - This module contains definitions - for the following management objects: - mld: MLD operational data - igmp: igmp - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Igmpssm-map { - type enumeration { - enum static { - value 0; - description "Static"; - } - enum dns { - value 1; - description "Dns"; - } - enum all { - value 2; - description "All"; - } - } - description "Igmpssm map"; - } - - grouping INTERFACE-STATE-OFF-TABLE { - description "Common node of vrf, default-context"; - - container interface-state-offs { - description "IGMP Interface state off"; - - list interface-state-off { - key "interface-name"; - description "IGMP Interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IGMP-EDM-IDB-BAG; - } - } - } - - grouping RANGE-TABLE { - description "Common node of vrf, default-context"; - - container ranges { - description "Range table"; - - list range { - description "Range information"; - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - leaf group-mask { - type int32; - description "Group Mask"; - } - uses IGMP-GROUP-RANGE; - } - } - } - - grouping SSM-MAP-DETAIL-TABLE { - description "Common node of vrf, default-context"; - - container ssm-map-details { - description "SSM Map Detail"; - - list ssm-map-detail { - description "SSM Map Detail Table information"; - leaf ssm-map-type { - type Igmpssm-map; - description "SSM Map Type"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - uses IGMP-EDM-SSM-MAP-DETAIL-BAG; - } - } - } - - grouping EXPLICIT-GROUP-TABLE { - description "Common node of vrf, default-context"; - - container explicit-groups { - description "IGMP Explicit Group Database"; - - list explicit-group { - description "IGMP Explicit Group Entry Information"; - leaf group-address { - type inet:ip-address-no-zone; - description "Group Address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "Source/Host Address"; - } - uses IGMP-EDM-GROUPS-ET-BAG; - } - } - } - - grouping GROUP-TABLE { - description "Common node of vrf, default-context"; - - container groups { - description "IGMP Group Database Table"; - - list group { - description "IGMP Group Entry Information"; - leaf group-address { - type inet:ip-address-no-zone; - description "Group Address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IGMP-EDM-GROUPS-BAG; - } - } - } - - grouping GROUP-SUMMARY { - description "Common node of vrf, default-context"; - - container group-summary { - description "IGMP Groups Summary"; - uses IGMP-EDM-GROUPS-SUMMARY-BAG; - } - } - - grouping VRF-TABLE { - description "Common node of active, standby"; - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF table Names"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - uses SUMMARY; - uses INTERFACE-STATE-ON-TABLE; - uses DETAIL-GROUP-TABLE; - uses NON-ACTIVE-GROUPS; - uses SSM-MAP-TABLE; - uses EXPLICIT-GROUP-TABLE; - uses INTERFACE-TABLE; - uses INTERFACE-UNICAST-QOS-ADJUST-TABLE; - uses RANGE-TABLE; - uses IFRS-INTERFACE-TABLE; - uses TRAFFIC-COUNTERS; - uses GROUP-TABLE; - uses GROUP-SUMMARY; - uses IFRS-INTERFACE-SUMMARY; - uses GLOBAL-INTERFACE-TABLE; - uses SSM-MAP-DETAIL-TABLE; - uses INTERFACE-STATE-OFF-TABLE; - } - } - } - - grouping INTERFACE-STATE-ON-TABLE { - description "Common node of vrf, default-context"; - - container interface-state-ons { - description "IGMP Interface state on"; - - list interface-state-on { - key "interface-name"; - description "IGMP Interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IGMP-EDM-IDB-BAG; - } - } - } - - grouping INTERFACE { - description - "Common node of interface-table, - global-interface-table"; - - list interface { - key "interface-name"; - description "IGMP Interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IGMP-EDM-IDB-BAG; - } - } - - grouping IFRS-INTERFACE-TABLE { - description "Common node of vrf, default-context"; - - container ifrs-interfaces { - description "IGMP Interface specific"; - - list ifrs-interface { - key "interface-name"; - description "IGMP IFRS Interface"; - leaf interface-name { - type xr:Interface-name; - description "IFRS Interface Name"; - } - uses IGMP-EDM-IDB-IFRS-BAG; - } - } - } - - grouping PROCESS { - description "Common node of active, standby"; - - container process { - description "Process"; - - container amt-summary { - description "MRIB RouteDB Expiry Information"; - uses AMT-SUMMARY-BAG; - } - - container nsr { - description "NSR Information"; - uses IGMP-EDM-NSR-BAG; - } - - container amt-gatewaies { - description - "Table containing AMT Gateway DataBase - information"; - - list amt-gateway { - description "AMT Gateway DataBase information"; - leaf gateway-address { - type inet:ip-address-no-zone; - description "Gateway Address"; - } - leaf port { - type int32; - description "Port"; - } - uses AMT-GW-BAG; - } - } - - container unicast-qos-adjust-stats { - description "IGMP Unicast-Qos-Adjust Statistics"; - uses IGMP-EDM-I2Q-STATS-BAG; - } - - container bvi-statistics { - description "IGMP BVI Stats"; - uses IGMP-EDM-BVI-STATS-BAG; - } - - container nsf { - description "NSF Information"; - uses IGMP-EDM-NSF-BAG; - } - } - } - - grouping TRAFFIC-COUNTERS { - description "Common node of vrf, default-context"; - - container traffic-counters { - description "IGMP Message Traffic Counters"; - uses IGMP-EDM-TRAFFIC-BAG; - } - } - - grouping GLOBAL-INTERFACE-TABLE { - description "Common node of vrf, default-context"; - - container global-interface-table { - description "IGMP Global Interface "; - uses INTERFACE; - } - } - - grouping ACTIVE { - description "Common node of igmp, mld"; - - container active { - description "Active Process"; - uses VRF-TABLE; - uses PROCESS; - uses DEFAULT-CONTEXT; - } - } - - grouping INTERFACE-UNICAST-QOS-ADJUST-TABLE { - description "Common node of vrf, default-context"; - - container interface-unicast-qos-adjusts { - description "IGMP Interface Unicast-Qos-Adjust"; - - list interface-unicast-qos-adjust { - key "interface-name"; - description "IGMP Interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IGMP-EDM-I2Q-INTF-STATS-BAG; - } - } - } - - grouping INTERFACE-TABLE { - description "Common node of vrf, default-context"; - - container interface-table { - description "IGMP Interface specific Table"; - uses INTERFACE; - } - } - - grouping SUMMARY { - description "Common node of vrf, default-context"; - - container summary { - description "IGMP Summary Information"; - uses IGMP-EDM-SUMMARY-BAG; - } - } - - grouping NON-ACTIVE-GROUPS { - description "Common node of vrf, default-context"; - - container non-active-groups { - description "IGMP Non-Active Groups Information"; - uses IGMP-EDM-NOT-ACTIVE-ALLGROUPS-BAG; - } - } - - grouping DETAIL-GROUP-TABLE { - description "Common node of vrf, default-context"; - - container detail-groups { - description "IGMP Detail Group Database"; - - list detail-group { - description "IGMP Detail Group Entry Information"; - leaf group-address { - type inet:ip-address-no-zone; - description "Group Address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - leaf source-address { - type inet:ip-address-no-zone; - description "Source/Host Address"; - } - uses IGMP-EDM-GROUPS-DETAIL-BAG; - } - } - } - - grouping SSM-MAP-TABLE { - description "Common node of vrf, default-context"; - - container ssm-maps { - description "SSM Map Table"; - - list ssm-map { - description "SSM Map information"; - leaf ssm-map-type { - type Igmpssm-map; - description "SSM Map Type"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - uses IGMP-EDM-SSM-MAP-BAG; - } - } - } - - grouping DEFAULT-CONTEXT { - description "Common node of active, standby"; - - container default-context { - description "Default Context"; - uses SUMMARY; - uses INTERFACE-STATE-ON-TABLE; - uses DETAIL-GROUP-TABLE; - uses NON-ACTIVE-GROUPS; - uses SSM-MAP-TABLE; - uses EXPLICIT-GROUP-TABLE; - uses INTERFACE-TABLE; - uses INTERFACE-UNICAST-QOS-ADJUST-TABLE; - uses RANGE-TABLE; - uses IFRS-INTERFACE-TABLE; - uses TRAFFIC-COUNTERS; - uses GROUP-TABLE; - uses GROUP-SUMMARY; - uses IFRS-INTERFACE-SUMMARY; - uses GLOBAL-INTERFACE-TABLE; - uses SSM-MAP-DETAIL-TABLE; - uses INTERFACE-STATE-OFF-TABLE; - } - } - - grouping IFRS-INTERFACE-SUMMARY { - description "Common node of vrf, default-context"; - - container ifrs-interface-summary { - description "IGMP IFRS Interface summary"; - uses IGMP-EDM-IDB-SUMM-BAG; - } - } - - grouping STANDBY { - description "Common node of igmp, mld"; - - container standby { - description "Standby Process"; - uses VRF-TABLE; - uses PROCESS; - uses DEFAULT-CONTEXT; - } - } - - container mld { - config false; - description "MLD operational data"; - uses STANDBY; - uses ACTIVE; - } - - container igmp { - config false; - description "igmp"; - uses STANDBY; - uses ACTIVE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-cfg.yang deleted file mode 100644 index 0e53f95..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-cfg.yang +++ /dev/null @@ -1,359 +0,0 @@ -module Cisco-IOS-XR-ipv4-io-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg"; - - - prefix "ipv4-io-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-io package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ipv4-reachable { - type enumeration { - enum any { - value 0; - description "Source is reachable via any interface"; - } - enum received { - value 1; - description - "Source is reachable via interface on which - packet was received"; - } - } - description "Ipv4 reachable"; - } - typedef Ipv4-self-ping { - type enumeration { - enum disabled { - value 0; - description "Doesn't allow router to ping itself"; - } - enum enabled { - value 1; - description "Allow router to ping itself"; - } - } - description "Ipv4 self ping"; - } - typedef Ipv4-default-ping { - type enumeration { - enum disabled { - value 0; - description - "Default route is not allowed to match when - checking source address"; - } - enum enabled { - value 1; - description - "Allow default route to match when checking - source address"; - } - } - description "Ipv4 default ping"; - } - typedef Ipv4-interface-qppb { - type enumeration { - enum ip-precedence { - value 1; - description "Enable IP precedence based QPPB"; - } - enum qos-group { - value 2; - description "Enable QoS-group based QPPB"; - } - enum both { - value 3; - description - "Enable both IP precedence and QoS-group based - QPPB"; - } - } - description "Ipv4 interface qppb"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv4-network { - description "Interface IPv4 Network configuration data"; - - container bgp-pa { - description "Interface ipv4 bgp configuration"; - - container input { - description "Input"; - leaf source-accounting { - type boolean; - description "BGP PA configuration on source"; - } - leaf destination-accounting { - type boolean; - description "BGP PA configuration on destination"; - } - } - - container output { - description "Output"; - leaf source-accounting { - type boolean; - description "BGP PA configuration on source"; - } - leaf destination-accounting { - type boolean; - description "BGP PA configuration on destination"; - } - } - } - - container verify { - description "Enable Verify handling for this interface"; - leaf reachable { - type Ipv4-reachable; - description - "Source is reachable via any interface or - interface on which packet was received"; - } - leaf self-ping { - type Ipv4-self-ping; - description - "Allow router to ping itself (opens - vulnerability in verification)"; - } - leaf default-ping { - type Ipv4-default-ping; - description - "Allow default route to match when checking - source address"; - } - } - - container bgp { - description "Interface ipv4 bgp configuration"; - - container qppb { - description - "Interface ipv4 bgp policy propagation - configuration"; - - container input { - description "Input"; - leaf source { - type Ipv4-interface-qppb; - description "QPPB configuration on source"; - } - leaf destination { - type Ipv4-interface-qppb; - description "QPPB configuration on destination"; - } - } - } - - container flow-tag { - description - "Interface ipv4 bgp policy propagation flow tag - configuration"; - - container flow-tag-input { - description "Input"; - leaf source { - type boolean; - description "FlowTag configuration on source"; - } - leaf destination { - type boolean; - description "FlowTag configuration on destination"; - } - } - } - } - - container addresses { - description "Set the IP address of an interface"; - - container secondaries { - description "Specify a secondary address"; - - list secondary { - key "address"; - description "IP address and Mask"; - leaf address { - type inet:ipv4-address-no-zone; - description "Secondary IP address"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - mandatory true; - description "Netmask"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - } - - container primary { - presence "Indicates a primary node is configured."; - description "IP address and Mask"; - leaf address { - type inet:ipv4-address-no-zone; - mandatory true; - description "IP address"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - mandatory true; - description "Netmask"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - leaf unnumbered { - type xr:Interface-name; - description - "Enable IP processing without an explicit - address"; - } - leaf dhcp { - type empty; - description "IPv4 address and Mask negotiated via DHCP"; - } - } - - container helper-addresses { - description - "The set of IP destination addresses for UDP - broadcasts"; - - list helper-address { - key "address vrf-name"; - description - "An IP destination addresses for UDP broadcasts"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP destination address"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - } - leaf forwarding-enable { - type empty; - description - "IPv4 forwarding to get enabled on an interface"; - } - leaf icmp-mask-reply { - type empty; - description - "The flag for enabling sending of ICMP mask - reply messages"; - } - leaf tcp-mss-adjust-enable { - type empty; - description "Enable TCP MSS Adjust on an interface"; - } - leaf ttl-propagate-disable { - type empty; - description "Disable TTL propagate on an interface"; - } - leaf point-to-point { - type empty; - description - "Enable point-to-point handling for this - interface."; - } - leaf mtu { - type uint32 { - range "68..65535"; - } - description "The IP Maximum Transmission Unit"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv4-network-forwarding { - description - "Interface IPv4 Network configuration data also - used for forwarding"; - leaf directed-broadcast { - type empty; - description "Enable forwarding of directed broadcast"; - } - leaf unreachables { - type empty; - description "Disable sending ICMP unreachables"; - } - leaf redirects { - type empty; - description "Enable sending ICMP Redirect messages"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub1.yang deleted file mode 100644 index bcdac95..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub1.yang +++ /dev/null @@ -1,391 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-io-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-io-oper { - prefix Cisco-IOS-XR-ipv4-io-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-io package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "this schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping IPV4-IO-ICMP-TRAFFIC { - description "ICMP Traffic Information"; - leaf received { - type uint32; - description "ICMP Received"; - } - leaf checksum-error { - type uint32; - description "ICMP Checksum Errors"; - } - leaf unknown { - type uint32; - description "ICMP Unknown"; - } - leaf output { - type uint32; - description "ICMP Transmitted"; - } - leaf admin-unreachable-sent { - type uint32; - description "ICMP Admin Unreachable Sent"; - } - leaf network-unreachable-sent { - type uint32; - description "ICMP Network Unreachable Sent"; - } - leaf host-unreachable-sent { - type uint32; - description "ICMP Host Unreachable Sent"; - } - leaf protocol-unreachable-sent { - type uint32; - description "ICMP Protocol Unreachable Sent"; - } - leaf port-unreachable-sent { - type uint32; - description "ICMP Port Unreachable Sent"; - } - leaf fragment-unreachable-sent { - type uint32; - description "ICMP Fragment Unreachable Sent"; - } - leaf admin-unreachable-received { - type uint32; - description "ICMP Admin Unreachable Received"; - } - leaf network-unreachable-received { - type uint32; - description "ICMP Network Unreachable Received"; - } - leaf host-unreachable-received { - type uint32; - description "ICMP Host Unreachable Received"; - } - leaf protocol-unreachable-received { - type uint32; - description "ICMP Protocol Unreachable Received"; - } - leaf port-unreachable-received { - type uint32; - description "ICMP Port Unreachable Received"; - } - leaf fragment-unreachable-received { - type uint32; - description "ICMP Fragment Unreachable Received"; - } - leaf hopcount-sent { - type uint32; - description "ICMP Hopcount Sent"; - } - leaf reassembly-sent { - type uint32; - description "ICMP Reassembly Sent"; - } - leaf hopcount-received { - type uint32; - description "ICMP Hopcount Received"; - } - leaf reassebly-received { - type uint32; - description "ICMP Reassembly Received"; - } - leaf param-error-received { - type uint32; - description "ICMP Parameter Error Received"; - } - leaf param-error-send { - type uint32; - description "ICMP Parameter Error Sent"; - } - leaf echo-request-sent { - type uint32; - description "ICMP Echo Request Sent"; - } - leaf echo-request-received { - type uint32; - description "ICMP Echo Request Sent"; - } - leaf echo-reply-sent { - type uint32; - description "ICMP Echo Reply Sent"; - } - leaf echo-reply-received { - type uint32; - description "ICMP Echo Reply Received"; - } - leaf mask-request-sent { - type uint32; - description "ICMP Mask Sent"; - } - leaf mask-request-received { - type uint32; - description "ICMP Mask Received"; - } - leaf mask-reply-sent { - type uint32; - description "ICMP Mask Sent"; - } - leaf mask-reply-received { - type uint32; - description "ICMP Mask Received"; - } - leaf source-quench-received { - type uint32; - description "ICMP Source Quench"; - } - leaf redirect-received { - type uint32; - description "ICMP Redirect Received"; - } - leaf redirect-send { - type uint32; - description "ICMP Redirect Sent"; - } - leaf timestamp-received { - type uint32; - description "ICMP Timestamp Received"; - } - leaf timestamp-reply-received { - type uint32; - description "ICMP Timestamp Reply Received"; - } - leaf router-advert-received { - type uint32; - description "ICMP Router Advertisement Received"; - } - leaf router-solicit-received { - type uint32; - description "ICMP Router Solicited Received"; - } - } - - grouping IPV4-IO-TRAFFIC { - description "IP Traffic Information"; - leaf input-packets { - type uint32; - description "Input Packets"; - } - leaf received-packets { - type uint32; - description "Received Packets"; - } - leaf format-errors { - type uint32; - description "Format Errors"; - } - leaf bad-hop-count { - type uint32; - description "Bad Hop Count"; - } - leaf bad-source-address { - type uint32; - description "Bad Source Address"; - } - leaf bad-header { - type uint32; - description "Bad Header"; - } - leaf no-protocol { - type uint32; - description "No Protocol"; - } - leaf no-gateway { - type uint32; - description "No Gateway"; - } - leaf reassemble-input { - type uint32; - description "RaInput"; - } - leaf reassembled { - type uint32; - description "Reassembled"; - } - leaf reassemble-timeout { - type uint32; - description "Reassembly Timeout"; - } - leaf reassemble-max-drop { - type uint32; - description "Reassembly Max Drop"; - } - leaf reassemble-failed { - type uint32; - description "Reassembly Failed"; - } - leaf options-present { - type uint32; - description "IP Options Present"; - } - leaf bad-option { - type uint32; - description "Bad Option"; - } - leaf unknown-option { - type uint32; - description "Unknown Option"; - } - leaf bad-security-option { - type uint32; - description "Bad Security Option"; - } - leaf basic-security-option { - type uint32; - description "Basic Security Option"; - } - leaf extended-security-option { - type uint32; - description "Extended Security Option"; - } - leaf cipso-option { - type uint32; - description "Cipso Option"; - } - leaf strict-source-route-option { - type uint32; - description "Strict Source Route Option"; - } - leaf loose-source-route-option { - type uint32; - description "Loose Source Route Option"; - } - leaf record-route-option { - type uint32; - description "Record Route Option"; - } - leaf sid-option { - type uint32; - description "SID Option"; - } - leaf timestamp-option { - type uint32; - description "Timestamp Option"; - } - leaf router-alert-option { - type uint32; - description "Router Alert Option"; - } - leaf noop-option { - type uint32; - description "Noop Option"; - } - leaf end-option { - type uint32; - description "End Option"; - } - leaf packets-output { - type uint32; - description "Packets Output"; - } - leaf packets-forwarded { - type uint32; - description "Packets Forwarded"; - } - leaf packets-fragmented { - type uint32; - description "Packets Fragmented"; - } - leaf fragment-count { - type uint32; - description "Fragment Count"; - } - leaf encapsulation-failed { - type uint32; - description "Encapsulation Failed"; - } - leaf no-router { - type uint32; - description "No Router"; - } - leaf packet-too-big { - type uint32; - description "Packet Too Big"; - } - leaf multicast-in { - type uint32; - description "Multicast In"; - } - leaf multicast-out { - type uint32; - description "Multicast Out"; - } - leaf broadcast-in { - type uint32; - description "Broadcast In"; - } - leaf broadcast-out { - type uint32; - description "Broadcast Out"; - } - leaf lisp-v4-encap { - type uint32; - description "Lisp IPv4 encapped packets"; - } - leaf lisp-v4-decap { - type uint32; - description "Lisp IPv4 decapped packets"; - } - leaf lisp-v6-encap { - type uint32; - description "Lisp IPv6 encapped packets"; - } - leaf lisp-v6-decap { - type uint32; - description "Lisp IPv6 decapped packets"; - } - leaf lisp-encap-error { - type uint32; - description "Lisp encap errors"; - } - leaf lisp-decap-error { - type uint32; - description "Lisp decap errors"; - } - } - - grouping IP-TRAFFIC { - description "IP and ICMP Traffic Information"; - - container ipv4-stats { - description "IPv4 Network Stats"; - uses IPV4-IO-TRAFFIC; - } - - container icmp-stats { - description "ICMP Stats"; - uses IPV4-IO-ICMP-TRAFFIC; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub2.yang deleted file mode 100644 index 95f3708..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper-sub2.yang +++ /dev/null @@ -1,415 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-io-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-io-oper { - prefix Cisco-IOS-XR-ipv4-io-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-io package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "this schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Rpf-mode { - type enumeration { - enum strict { - description "Strict RPF"; - } - enum loose { - description "Loose RPF"; - } - } - description "Interface line states"; - } - typedef Str { - type string; - description "Str"; - } - typedef Ipv4-ma-oper-line-state { - type enumeration { - enum unknown { - description "Interface state is unknown"; - } - enum shutdown { - description "Interface has been shutdown"; - } - enum down { - description "Interface state is down"; - } - enum up { - description "Interface state is up"; - } - } - description "Interface line states"; - } - - grouping IF-SUMMARY { - description - "Count of assigned/unnumbered/unassigned - interfaces"; - leaf ip-assigned { - type uint32; - description "Number of interfaces with explicit addresses"; - } - leaf ip-unnumbered { - type uint32; - description - "Number of unnumbered interfaces with explicit - addresses"; - } - leaf ip-unassigned { - type uint32; - description - "Number of unassigned interfaces with explicit - addresses"; - } - } - - grouping IPV4-IF-SUMMARY { - description "Summary info of IP interfaces"; - - container if-up-up { - description "Number of interfaces (up,up)"; - uses IF-SUMMARY; - } - - container if-up-down { - description "Number of interfaces (up,down)"; - uses IF-SUMMARY; - } - - container if-down-down { - description "Number of interfaces (down,down)"; - uses IF-SUMMARY; - } - - container if-shutdown-down { - description "Number of interfaces (shutdown,down)"; - uses IF-SUMMARY; - } - leaf if-up-down-basecaps-up { - type uint32; - description "Number of interfaces (up,down) with basecaps up"; - } - } - - grouping TIMEVAL-ENTRY { - description "Creation or Update Time"; - } - - grouping BGP-PA-DIR { - description "BGP PA config for ingress/egress direction"; - leaf enable { - type boolean; - description "Enable BGP PA for ingress/egress"; - } - leaf source { - type boolean; - description "Enable source accouting"; - } - leaf destination { - type boolean; - description "Enable destination accouting"; - } - } - - grouping BGP-PA-CONFIG { - description "BGP PA config information"; - - container input { - description "BGP PA input config"; - uses BGP-PA-DIR; - } - - container output { - description "BGP PA output config"; - uses BGP-PA-DIR; - } - } - - grouping RPF-CONFIG { - description "RPF config information"; - leaf enable { - type boolean; - description "Enable RPF config"; - } - leaf allow-default-route { - type boolean; - description "Allow Default Route"; - } - leaf allow-self-ping { - type boolean; - description "Allow Self Ping"; - } - leaf mode { - type Rpf-mode; - description "RPF Mode (loose/strict)"; - } - } - - grouping HADDR-ARRAY { - description "Helper Address List "; - list address-array { - description "Helper address"; - leaf entry { - type inet:ipv4-address; - } - } - } - - grouping MULTI-ACL-CONFIG { - description "Multi ACL config information"; - list inbound { - max-elements "5"; - - description "Inbound ACLs"; - leaf entry { - type Str; - } - } - list outbound { - max-elements "5"; - - description "Outbound ACLs"; - leaf entry { - type Str; - } - } - list common { - max-elements "5"; - - description "Common ACLs"; - leaf entry { - type Str; - } - } - } - - grouping ACL-CONFIG { - description "ACL config information"; - leaf inbound { - type string; - description "ACL applied to incoming packets"; - } - leaf outbound { - type string; - description "ACL applied to outgoing packets"; - } - leaf common-in-bound { - type string; - description "Common ACL applied to incoming packets"; - } - leaf common-out-bound { - type string; - description "Common ACL applied to outgoing packets"; - } - } - - grouping IP-ADDR-NODE { - description "List of IP Addresses "; - leaf address { - type inet:ipv4-address; - description "Address"; - } - leaf prefix-length { - type uint32; - description "Prefix length of address"; - } - leaf route-tag { - type uint32; - description - "Route Tag associated with this address (0 = no - tag)"; - } - } - - grouping MCAST-GROUP { - description "MCast Group List "; - leaf group-address { - type inet:ipv4-address; - description "Address of multicast group"; - } - } - - grouping IPV4-IF-DETAIL { - description "Detailed Info of IP Interface"; - - container acl { - description "ACLs configured on the interface"; - uses ACL-CONFIG; - } - - container multi-acl { - description "Multi ACLs configured on the interface"; - uses MULTI-ACL-CONFIG; - } - - container helper-address { - description "Helper Addresses configured on the interface"; - uses HADDR-ARRAY; - } - - container rpf { - description "RPF config on the interface"; - uses RPF-CONFIG; - } - - container bgp-pa { - description "BGP PA config on the interface"; - uses BGP-PA-CONFIG; - } - - container pub-utime { - description "Address Publish Time"; - uses TIMEVAL-ENTRY; - } - - container idb-utime { - description "IDB Create Time"; - uses TIMEVAL-ENTRY; - } - - container caps-utime { - description "CAPS Add Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-en-utime { - description "FWD ENABLE Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-dis-utime { - description "FWD DISABLE Time"; - uses TIMEVAL-ENTRY; - } - leaf primary-address { - type inet:ipv4-address; - description "Primary address"; - } - leaf vrf-id { - type uint32; - description "VRF ID of the interface"; - } - leaf line-state { - type Ipv4-ma-oper-line-state; - description "Line state of the interface"; - } - leaf prefix-length { - type uint32; - description "Prefix length of primary address"; - } - leaf route-tag { - type uint32; - description - "Route tag associated with the primary address (0 - = no tag)"; - } - leaf mtu { - type uint32; - description "IP MTU of the interface"; - } - leaf unreachable { - type boolean; - description "Are ICMP unreachables sent on the interface?"; - } - leaf redirect { - type boolean; - description "Are ICMP redirects sent on the interface?"; - } - leaf direct-broadcast { - type boolean; - description "Are direct broadcasts sent on the interface?"; - } - leaf mask-reply { - type boolean; - description "Are mask replies sent on the interface?"; - } - leaf rg-id-exists { - type boolean; - description "Does ICCP RG ID exist on the interface?"; - } - leaf mlacp-active { - type boolean; - description "Is mLACP state Active (valid if RG ID exists)"; - } - leaf unnumbered-interface-name { - type string; - description - "Name of referenced interface (valid if - unnumbered)"; - } - leaf proxy-arp-disabled { - type boolean; - description "Is Proxy ARP disabled on the interface?"; - } - leaf flow-tag-src { - type boolean; - description "Is BGP Flow Tag Source is enable"; - } - leaf flow-tag-dst { - type boolean; - description "Is BGP Flow Tag Destination is enable"; - } - - list multicast-group { - description "Multicast groups joined on the interface"; - uses MCAST-GROUP; - } - - list secondary-address { - description "Secondary addresses on the interface"; - uses IP-ADDR-NODE; - } - } - - grouping IPV4-IF-BRIEF { - description "Brief Summary of IP Interface"; - leaf primary-address { - type inet:ipv4-address; - description "Primary address"; - } - leaf vrf-id { - type uint32; - description "VRF ID of the interface"; - } - leaf vrf-name { - type string; - description "VRF name of the interface"; - } - leaf line-state { - type Ipv4-ma-oper-line-state; - description "Line state of the interface"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper.yang deleted file mode 100644 index 753e33a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-io-oper.yang +++ /dev/null @@ -1,151 +0,0 @@ -module Cisco-IOS-XR-ipv4-io-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper"; - - - prefix "ipv4-io-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-io-oper-sub2 { - revision-date 2015-10-20; - } - - include Cisco-IOS-XR-ipv4-io-oper-sub1 { - revision-date 2015-10-20; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-io package operational data. - - This module contains definitions - for the following management objects: - ipv4-network: IPv4 network operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "this schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ipv4-network { - config false; - description "IPv4 network operational data"; - - container nodes { - description "Node-specific IPv4 network operational data"; - - list node { - key "node-name"; - description - "IPv4 network operational data for a particular - node"; - - container interface-data { - description "IPv4 network operational interface data"; - - container vrfs { - description - "VRF specific IPv4 network operational - interface data"; - - list vrf { - key "vrf-name"; - description "VRF name of an interface belong to"; - - container briefs { - description - "Brief interface IPv4 network operational - data for a node"; - - list brief { - key "interface-name"; - description - "Brief interface IPv4 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV4-IF-BRIEF; - } - } - - container details { - description - "Detail interface IPv4 network operational - data for a node"; - - list detail { - key "interface-name"; - description - "Detail interface IPv4 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV4-IF-DETAIL; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "The VRF name"; - } - } - } - - container summary { - description - "Summary of IPv4 network operational interface - data on a node"; - uses IPV4-IF-SUMMARY; - } - } - - container statistics { - description - "Statistical IPv4 network operational data for - a node"; - - container traffic { - description "Traffic statistics for a node"; - uses IP-TRAFFIC; - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-cfg.yang deleted file mode 100644 index 81a9d0e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-cfg.yang +++ /dev/null @@ -1,144 +0,0 @@ -module Cisco-IOS-XR-ipv4-ma-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg"; - - - prefix "ipv4-ma-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ma package configuration. - - This module contains definitions - for the following management objects: - ipv4-network-global: IPv4 network global configuration data - subscriber-pta: subscriber pta - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ipv4-qppb { - type enumeration { - enum none { - value 0; - description "No QPPB configuration"; - } - enum ip-prec { - value 1; - description "Enable ip-precedence based QPPB"; - } - enum qos-grp { - value 2; - description "Enable qos-group based QPPB"; - } - enum both { - value 3; - description - "Enable both ip-precedence and qos-group based - QPPB"; - } - } - description "Ipv4 qppb"; - } - - container ipv4-network-global { - description "IPv4 network global configuration data"; - - container unnumbered { - description - "Enable IPv4 processing without an explicit - address"; - - container mpls { - description "Configure MPLS routing protocol parameters"; - - container te { - description "IPv4 commands for MPLS Traffic Engineering"; - leaf interface { - type string; - description - "Enable IP processing without an explicit - address on MPLS Traffic-Eng"; - } - } - } - } - - container qppb { - description "QPPB"; - leaf source { - type Ipv4-qppb; - description "QPPB configuration on source"; - } - leaf destination { - type Ipv4-qppb; - description "QPPB configuration on destination"; - } - } - leaf source-route { - type boolean; - default "true"; - description - "The flag for enabling whether to process packets - with source routing header options"; - } - leaf reassemble-max-packets { - type uint32 { - range "1..50"; - } - units "percentage"; - description - "Percentage of total packets available in the - system"; - } - leaf reassemble-time-out { - type uint32 { - range "1..120"; - } - units "second"; - description - "Number of seconds a reassembly queue will hold - before timeout"; - } - } - - container subscriber-pta { - description "subscriber pta"; - leaf tcp-mss-adjust { - type uint32 { - range "1280..1536"; - } - units "byte"; - description "TCP MSS Adjust (bytes)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang deleted file mode 100644 index 0c540ff..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang +++ /dev/null @@ -1,404 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ma-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-ma-oper { - prefix Cisco-IOS-XR-ipv4-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "IPV4 MA schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Rpf-mode { - type enumeration { - enum strict { - description "Strict RPF"; - } - enum loose { - description "Loose RPF"; - } - } - description "Interface line states"; - } - typedef Str { - type string; - description "Str"; - } - typedef Ipv4-ma-oper-line-state { - type enumeration { - enum unknown { - description "Interface state is unknown"; - } - enum shutdown { - description "Interface has been shutdown"; - } - enum down { - description "Interface state is down"; - } - enum up { - description "Interface state is up"; - } - } - description "Interface line states"; - } - - grouping IF-SUMMARY { - description - "Count of assigned/unnumbered/unassigned - interfaces"; - leaf ip-assigned { - type uint32; - description "Number of interfaces with explicit addresses"; - } - leaf ip-unnumbered { - type uint32; - description - "Number of unnumbered interfaces with explicit - addresses"; - } - leaf ip-unassigned { - type uint32; - description - "Number of unassigned interfaces with explicit - addresses"; - } - } - - grouping IPV4-IF-SUMMARY { - description "Summary info of IP interfaces"; - - container if-up-up { - description "Number of interfaces (up,up)"; - uses IF-SUMMARY; - } - - container if-up-down { - description "Number of interfaces (up,down)"; - uses IF-SUMMARY; - } - - container if-down-down { - description "Number of interfaces (down,down)"; - uses IF-SUMMARY; - } - - container if-shutdown-down { - description "Number of interfaces (shutdown,down)"; - uses IF-SUMMARY; - } - leaf if-up-down-basecaps-up { - type uint32; - description "Number of interfaces (up,down) with basecaps up"; - } - } - - grouping IPV4-IF-BRIEF { - description "Brief Summary of IP Interface"; - leaf primary-address { - type inet:ipv4-address; - description "Primary address"; - } - leaf vrf-id { - type uint32; - description "VRF ID of the interface"; - } - leaf vrf-name { - type string; - description "VRF name of the interface"; - } - leaf line-state { - type Ipv4-ma-oper-line-state; - description "Line state of the interface"; - } - } - - grouping TIMEVAL-ENTRY { - description "Creation or Update Time"; - } - - grouping BGP-PA-DIR { - description "BGP PA config for ingress/egress direction"; - leaf enable { - type boolean; - description "Enable BGP PA for ingress/egress"; - } - leaf source { - type boolean; - description "Enable source accouting"; - } - leaf destination { - type boolean; - description "Enable destination accouting"; - } - } - - grouping BGP-PA-CONFIG { - description "BGP PA config information"; - - container input { - description "BGP PA input config"; - uses BGP-PA-DIR; - } - - container output { - description "BGP PA output config"; - uses BGP-PA-DIR; - } - } - - grouping RPF-CONFIG { - description "RPF config information"; - leaf enable { - type boolean; - description "Enable RPF config"; - } - leaf allow-default-route { - type boolean; - description "Allow Default Route"; - } - leaf allow-self-ping { - type boolean; - description "Allow Self Ping"; - } - leaf mode { - type Rpf-mode; - description "RPF Mode (loose/strict)"; - } - } - - grouping HADDR-ARRAY { - description "Helper Address List "; - leaf-list address-array { - type inet:ipv4-address; - description "Helper address"; - } - } - - grouping MULTI-ACL-CONFIG { - description "Multi ACL config information"; - leaf-list inbound { - type Str; - max-elements "5"; - description "Inbound ACLs"; - } - leaf-list outbound { - type Str; - max-elements "5"; - description "Outbound ACLs"; - } - leaf-list common { - type Str; - max-elements "5"; - description "Common ACLs"; - } - } - - grouping ACL-CONFIG { - description "ACL config information"; - leaf inbound { - type string; - description "ACL applied to incoming packets"; - } - leaf outbound { - type string; - description "ACL applied to outgoing packets"; - } - leaf common-in-bound { - type string; - description "Common ACL applied to incoming packets"; - } - leaf common-out-bound { - type string; - description "Common ACL applied to outgoing packets"; - } - } - - grouping IP-ADDR-NODE { - description "List of IP Addresses "; - leaf address { - type inet:ipv4-address; - description "Address"; - } - leaf prefix-length { - type uint32; - description "Prefix length of address"; - } - leaf route-tag { - type uint32; - description - "Route Tag associated with this address (0 = no - tag)"; - } - } - - grouping MCAST-GROUP { - description "MCast Group List "; - leaf group-address { - type inet:ipv4-address; - description "Address of multicast group"; - } - } - - grouping IPV4-IF-DETAIL { - description "Detailed Info of IP Interface"; - - container acl { - description "ACLs configured on the interface"; - uses ACL-CONFIG; - } - - container multi-acl { - description "Multi ACLs configured on the interface"; - uses MULTI-ACL-CONFIG; - } - - container helper-address { - description "Helper Addresses configured on the interface"; - uses HADDR-ARRAY; - } - - container rpf { - description "RPF config on the interface"; - uses RPF-CONFIG; - } - - container bgp-pa { - description "BGP PA config on the interface"; - uses BGP-PA-CONFIG; - } - - container pub-utime { - description "Address Publish Time"; - uses TIMEVAL-ENTRY; - } - - container idb-utime { - description "IDB Create Time"; - uses TIMEVAL-ENTRY; - } - - container caps-utime { - description "CAPS Add Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-en-utime { - description "FWD ENABLE Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-dis-utime { - description "FWD DISABLE Time"; - uses TIMEVAL-ENTRY; - } - leaf primary-address { - type inet:ipv4-address; - description "Primary address"; - } - leaf vrf-id { - type uint32; - description "VRF ID of the interface"; - } - leaf line-state { - type Ipv4-ma-oper-line-state; - description "Line state of the interface"; - } - leaf prefix-length { - type uint32; - description "Prefix length of primary address"; - } - leaf route-tag { - type uint32; - description - "Route tag associated with the primary address (0 - = no tag)"; - } - leaf mtu { - type uint32; - description "IP MTU of the interface"; - } - leaf unreachable { - type boolean; - description "Are ICMP unreachables sent on the interface?"; - } - leaf redirect { - type boolean; - description "Are ICMP redirects sent on the interface?"; - } - leaf direct-broadcast { - type boolean; - description "Are direct broadcasts sent on the interface?"; - } - leaf mask-reply { - type boolean; - description "Are mask replies sent on the interface?"; - } - leaf rg-id-exists { - type boolean; - description "Does ICCP RG ID exist on the interface?"; - } - leaf mlacp-active { - type boolean; - description "Is mLACP state Active (valid if RG ID exists)"; - } - leaf unnumbered-interface-name { - type string; - description - "Name of referenced interface (valid if - unnumbered)"; - } - leaf proxy-arp-disabled { - type boolean; - description "Is Proxy ARP disabled on the interface?"; - } - leaf flow-tag-src { - type boolean; - description "Is BGP Flow Tag Source is enable"; - } - leaf flow-tag-dst { - type boolean; - description "Is BGP Flow Tag Destination is enable"; - } - - list multicast-group { - description "Multicast groups joined on the interface"; - uses MCAST-GROUP; - } - - list secondary-address { - description "Secondary addresses on the interface"; - uses IP-ADDR-NODE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper.yang deleted file mode 100644 index 65c36c7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-oper.yang +++ /dev/null @@ -1,102 +0,0 @@ -module Cisco-IOS-XR-ipv4-ma-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper"; - - - prefix "ipv4-ma-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ipv4-io-oper { prefix "a1"; } - - include Cisco-IOS-XR-ipv4-ma-oper-sub1 { - revision-date 2015-10-20; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ma package operational data. - - This YANG module augments the - Cisco-IOS-XR-ipv4-io-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "IPV4 MA schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:ipv4-network" { - - container interfaces { - description "IPv4 network operational interface data"; - - list interface { - key "interface-name"; - description "Interface names with VRF"; - - container vrfs { - description "List of VRF on the interface"; - - list vrf { - key "vrf-name"; - description "VRF information on the interface"; - - container detail { - description - "Detail IPv4 network operational data for an - interface"; - uses IPV4-IF-DETAIL; - } - - container brief { - description - "Brief IPv4 network operational data for an - interface"; - uses IPV4-IF-BRIEF; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "The VRF name"; - } - } - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-ipv4-io-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang deleted file mode 100644 index 1383eef..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang +++ /dev/null @@ -1,106 +0,0 @@ -module Cisco-IOS-XR-ipv4-ma-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-ma-subscriber-cfg"; - - - prefix "ipv4-ma-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ma-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping IPV4-NETWORK { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - - container ipv4-network { - description "Interface IPv4 Network configuration data"; - leaf unnumbered { - type string; - description - "Enable IP processing without an explicit - address"; - } - leaf mtu { - type uint32 { - range "68..65535"; - } - units "byte"; - description "The IP Maximum Transmission Unit"; - } - leaf unreachables { - type boolean; - default "false"; - description "TRUE if enabled, FALSE if disabled"; - } - leaf rpf { - type boolean; - default "true"; - description "TRUE if enabled, FALSE if disabled"; - } - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-NETWORK; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-NETWORK; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV4-NETWORK; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-mfwd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-mfwd-cfg.yang deleted file mode 100644 index 944034f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-mfwd-cfg.yang +++ /dev/null @@ -1,308 +0,0 @@ -module Cisco-IOS-XR-ipv4-mfwd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg"; - - - prefix "ipv4-mfwd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-mfwd package configuration. - - This module contains definitions - for the following management objects: - mfwd: Multicast routing configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-01" { - description - "Initial IOS-XR MFWD native model"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Accounting-mode { - type enumeration { - enum enable { - value 0; - description "Enable per (S,G) accounting"; - } - enum forward-only-enable { - value 1; - description "Enable per (S,G) forward-only accounting"; - } - } - description "Accounting mode"; - } - - grouping MOFRR-LOSS-DETECTION-TIMER-CONFIG { - description "Common node of ipv4, ipv6"; - leaf mofrr-loss-detection-timer-config { - type uint32 { - range "1..3600"; - } - description "Mofrr Loss Detection timer value"; - } - } - - grouping INTERFACE-INHERITANCE-DISABLE { - description "Common node of ipv4, ipv6"; - leaf interface-inheritance-disable { - type empty; - description "Disable interface inheritance configuration"; - } - } - - grouping STATIC-RPF-RULE-TABLE { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - - container static-rpf-rules { - description "Configure a static RPF rule for a given prefix"; - - list static-rpf-rule { - key "address prefix-mask"; - description "RPF prefix address and mask"; - leaf address { - type inet:ip-address-no-zone; - description "IP address of the RPF prefix"; - } - leaf prefix-mask { - type uint32 { - range "0..128"; - } - description "Prefix mask of the RPF Prefix"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - mandatory true; - description "Neighbor address of the RPF Prefix"; - } - leaf interface-name { - type xr:Interface-name; - mandatory true; - description "The name of the RPF interface"; - } - } - } - } - - grouping FORWARDING-LATENCY { - description "Common node of ipv4, ipv6"; - leaf forwarding-latency { - type uint32 { - range "5..500"; - } - units "millisecond"; - description - "Knob to delay traffic being forwarded on a route"; - } - } - - grouping LOG-TRAPS { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - leaf log-traps { - type empty; - description "Enable logging trap event"; - } - } - - grouping MULTICAST-FORWARDING { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - leaf multicast-forwarding { - type empty; - description "Enable IP multicast routing and forwarding"; - } - } - - grouping MOFRR-LOCKOUT-TIMER-CONFIG { - description "Common node of ipv4, ipv6"; - leaf mofrr-lockout-timer-config { - type uint32 { - range "1..3600"; - } - description "Mofrr Lockout timer value"; - } - } - - grouping INTERFACE-TABLE { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - - container interfaces { - description "Interface-level Configuration"; - - list interface { - key "interface-name"; - description "The name of the interface"; - leaf ttl-threshold { - type uint32 { - range "1..255"; - } - description "TTL threshold for multicast packets"; - } - leaf enable-on-interface { - type boolean; - description - "Enable or disable IP multicast on the - interface"; - } - leaf boundary { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Boundary for administratively scoped multicast - addresses"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - } - - grouping ENABLE-ON-ALL-INTERFACES { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - leaf enable-on-all-interfaces { - type empty; - description - "Configure all interfaces for multicast routing - and forwarding"; - } - } - - grouping RATE-PER-ROUTE { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - leaf rate-per-route { - type empty; - description "Enable per (S,G) rate calculation"; - } - } - - grouping ACCOUNTING { - description "Common node of ipv4, ipv6, ipv4, ipv6"; - leaf accounting { - type Accounting-mode; - description "Per-prefix accounting mode"; - } - } - - grouping MAXIMUM-CHECKING-DISABLE { - description "Common node of ipv4, ipv6"; - leaf maximum-checking-disable { - type empty; - description "Disable state limit maximum checking"; - } - } - - container mfwd { - presence "Indicates a mfwd node is configured."; - description "Multicast routing configuration"; - - container default-context { - presence "Indicates a default-context node is configured."; - description "Default Context"; - - container ipv6 { - description "IPV6 commands in the default context"; - uses ENABLE-ON-ALL-INTERFACES; - uses MAXIMUM-CHECKING-DISABLE; - uses RATE-PER-ROUTE; - uses INTERFACE-INHERITANCE-DISABLE; - uses STATIC-RPF-RULE-TABLE; - uses MOFRR-LOCKOUT-TIMER-CONFIG; - uses FORWARDING-LATENCY; - uses MOFRR-LOSS-DETECTION-TIMER-CONFIG; - uses INTERFACE-TABLE; - uses MULTICAST-FORWARDING; - uses LOG-TRAPS; - uses ACCOUNTING; - } - - container ipv4 { - description "IPV4 commands in the default context"; - leaf out-of-memory-handling { - type empty; - description "Enable out-of-memory handling"; - } - uses ENABLE-ON-ALL-INTERFACES; - uses MAXIMUM-CHECKING-DISABLE; - uses RATE-PER-ROUTE; - uses INTERFACE-INHERITANCE-DISABLE; - uses STATIC-RPF-RULE-TABLE; - uses MOFRR-LOCKOUT-TIMER-CONFIG; - uses FORWARDING-LATENCY; - uses MOFRR-LOSS-DETECTION-TIMER-CONFIG; - uses INTERFACE-TABLE; - uses MULTICAST-FORWARDING; - uses LOG-TRAPS; - uses ACCOUNTING; - } - } - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF table names"; - - container ipv6 { - description "VRF table for IPV6 commands"; - uses ENABLE-ON-ALL-INTERFACES; - uses RATE-PER-ROUTE; - uses STATIC-RPF-RULE-TABLE; - uses INTERFACE-TABLE; - uses MULTICAST-FORWARDING; - uses LOG-TRAPS; - uses ACCOUNTING; - } - - container ipv4 { - description "VRF table for IPV4 commands"; - uses ENABLE-ON-ALL-INTERFACES; - uses RATE-PER-ROUTE; - uses STATIC-RPF-RULE-TABLE; - uses INTERFACE-TABLE; - uses MULTICAST-FORWARDING; - uses LOG-TRAPS; - uses ACCOUNTING; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF Name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-msdp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-msdp-cfg.yang deleted file mode 100644 index 8526bd2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-msdp-cfg.yang +++ /dev/null @@ -1,346 +0,0 @@ -module Cisco-IOS-XR-ipv4-msdp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg"; - - - prefix "ipv4-msdp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-msdp package configuration. - - This module contains definitions - for the following management objects: - msdp: MSDP Configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Msdp-filter-type-vrf { - type enumeration { - enum incoming { - value 1; - description "Incoming Mode"; - } - enum outgoing { - value 2; - description "Outgoing Mode"; - } - } - description "Msdp filter type vrf"; - } - typedef Msdp-list-type-vrf { - type enumeration { - enum list { - value 3; - description "List"; - } - enum rp-list { - value 4; - description "RPList"; - } - } - description "Msdp list type vrf"; - } - - grouping TTL-THRESHOLD { - description "Common node of default-context, vrf, peer"; - leaf ttl-threshold { - type uint32 { - range "1..255"; - } - description "Configure TTL Threshold for MSDP Peer"; - } - } - - grouping ORIGINATOR-ID { - description "Common node of default-context, vrf"; - leaf originator-id { - type xr:Interface-name; - description "Configure interface name used as originator ID"; - } - } - - grouping PEER-TABLE { - description "Common node of default-context, vrf"; - - container peers { - description "Entering Peer Configuration"; - - list peer { - key "peer-address"; - description "Peer address"; - - container remote-as { - presence "Indicates a remote-as node is configured."; - description "Configure the remote AS of this peer"; - leaf as-xx { - type uint32 { - range "0..65535"; - } - default "0"; - description - "First half of ASN in asdot format or 0 in - asplain"; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description - "Second half of ASN in asdot format or - complete ASN in asplain"; - } - } - leaf shutdown { - type empty; - description "MSDP Peer Shutdown"; - } - leaf description { - type string { - length "1..80"; - } - description "Up to 80 characters describing this peer"; - } - leaf enable { - type empty; - description "Enabling Peer Configuration"; - } - leaf max-sa { - type uint32 { - range "1..75000"; - } - description "Maximum SA accepted from this peer"; - } - leaf nsr-down { - type empty; - description "Disable NSR for the peer"; - } - leaf peer-password { - type xr:Proprietary-password; - description "Configuration of password of peer"; - } - leaf mesh-group { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Configure an MSDP mesh-group"; - } - leaf peer-address { - type inet:ipv4-address-no-zone; - description "Peer address"; - } - uses TTL-THRESHOLD; - uses KEEP-ALIVE; - uses CONNECT-SOURCE; - uses SA-FILTER-TABLE; - } - } - } - - grouping MAX-PEER-SA { - description "Common node of default-context, vrf"; - leaf max-peer-sa { - type uint32 { - range "1..75000"; - } - description "Configure inheritable MAX SA state for peers"; - } - } - - grouping KEEP-ALIVE { - description "Common node of default-context, vrf, peer"; - - container keep-alive { - presence "Indicates a keep-alive node is configured."; - description "MSDP keep alive period"; - leaf keep-alive-period { - type uint32 { - range "1..60"; - } - units "second"; - mandatory true; - description "Keep alive period in seconds"; - } - leaf peer-timeout-period { - type uint32 { - range "1..75"; - } - units "second"; - mandatory true; - description "Peer timeout period in seconds"; - } - } - } - - grouping CONNECT-SOURCE { - description "Common node of default-context, vrf, peer"; - leaf connect-source { - type xr:Interface-name; - description - "Configure interface name used for MSDP - connection"; - } - } - - grouping DEFAULT-PEER { - description "Common node of default-context, vrf"; - leaf default-peer { - type inet:ipv4-address-no-zone; - description "Configure default peers for the box"; - } - } - - grouping MAX-SA { - description "Common node of default-context, vrf"; - leaf max-sa { - type uint32 { - range "1..75000"; - } - description "Configure context's MAX SA state for the router"; - } - } - - grouping SA-FILTER-TABLE { - description "Common node of default-context, vrf, peer"; - - container sa-filters { - description "Filter SA messages from peer"; - - list sa-filter { - key "list filter-type"; - description "SA-Filter incoming/outgoing list or RPlist"; - leaf list { - type Msdp-list-type-vrf; - description "Src List/RP List"; - } - leaf filter-type { - type Msdp-filter-type-vrf; - description "Incoming/Outgoing ACL"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - mandatory true; - description "Access list name"; - } - } - } - } - - grouping CACHE-STATE { - description "Common node of default-context, vrf"; - - container cache-state { - description "Configure this systems SA cache access-lists"; - leaf sa-holdtime { - type uint32 { - range "150..3600"; - } - units "second"; - default "150"; - description "SA State Holdtime period"; - } - leaf list { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access list name"; - } - leaf rp-list { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list for originating RP"; - } - } - } - - container msdp { - description "MSDP Configuration"; - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF Name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - uses TTL-THRESHOLD; - uses MAX-PEER-SA; - uses DEFAULT-PEER; - uses ORIGINATOR-ID; - uses MAX-SA; - uses CACHE-STATE; - uses KEEP-ALIVE; - uses PEER-TABLE; - uses CONNECT-SOURCE; - uses SA-FILTER-TABLE; - } - } - - container default-context { - presence "Indicates a default-context node is configured."; - description "Default Context"; - uses TTL-THRESHOLD; - uses MAX-PEER-SA; - uses DEFAULT-PEER; - uses ORIGINATOR-ID; - uses MAX-SA; - uses CACHE-STATE; - uses KEEP-ALIVE; - uses PEER-TABLE; - uses CONNECT-SOURCE; - uses SA-FILTER-TABLE; - } - leaf global-max-sa { - type uint32 { - range "1..75000"; - } - description - "Configure the global MAX SA state for the router"; - } - leaf nsr-delay { - type uint32 { - range "5..90"; - } - units "second"; - description "NSR-Ready delay period for MSDP Peer"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-act.yang deleted file mode 100755 index cca254c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-act.yang +++ /dev/null @@ -1,242 +0,0 @@ -module Cisco-IOS-XR-ipv4-ospf-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act"; - - prefix "ospf-act"; - - import Cisco-IOS-XR-types { prefix "xr"; } - - import ietf-inet-types { prefix "inet"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR OSPF action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-14" { - description - "IOS XR 6.2.1 revision."; - } - - rpc clear-ospf-routes { - description "Clear OSPF route table"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - leaf route { - description "Clear OSPF route table"; - mandatory true; - type empty; - } - } - } - - rpc clear-ospf-redistribution { - description "Clear OSPF route redistribution"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - leaf redistribution { - description "Clear OSPF route redistribution"; - mandatory true; - type empty; - } - } - } - - rpc clear-ospf-statistics { - description "Clear OSPF counters and statistics"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - leaf all { - description "All OSPF counters and statistics"; - type empty; - } - leaf message-queue { - description "Message-queue statistics"; - type empty; - } - leaf spf { - description "SPF statistics"; - type empty; - } - leaf neighbor { - description "Neighbor statistics per neighbor id"; - type empty; - } - leaf interface-name { - description "OSPF interface statistics"; - type empty; - } - } - } - - rpc clear-ospf-statistics-neighbor { - description "Clear OSPF neighbor statistics per interface or neighbor id"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - container neighbor { - leaf neighbor-id { - description "Neighbor ID"; - type inet:ipv4-address; - } - leaf interface-name { - description "Interface"; - type xr:Interface-name; - } - } - } - } - - rpc clear-ospf-statistics-interface { - description "Clear OSPF interface statistics"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - container interface { - leaf interface-name { - description "OSPF interface statistics"; - type xr:Interface-name; - } - } - } - } - - rpc clear-ospf-process { - description "Clear (reset) OSPF process"; - input { - container instance { - description "Clear data from OSPF instance"; - leaf instance-identifier { - description "OSPF process instance identifier"; - type string; - } - } - leaf process { - description "Reset OSPF process"; - mandatory true; - type empty; - } - } - } - - grouping OSPF-STAT-ATTRIBUTES { - leaf process { - description "Reset OSPF process"; - type empty; - } - leaf redistribution { - description "Clear OSPF route redistrbution"; - type empty; - } - leaf route { - description "Clear OSPF route table"; - type empty; - } - container stats { - description "OSPF counters and statistics"; - leaf spf { - description "SPF statistics"; - type empty; - } - leaf message-queue { - description "Message-queue statistics"; - type empty; - } - container interface { - description "OSPF interface statistics"; - leaf interface-name { - type xr:Interface-name; - } - } - container neighbor { - description "Neighbor statistics per interface or neighbor id"; - leaf neighbor-id { - description "Neighbor ID"; - type inet:ipv4-address; - } - container interface { - leaf interface-name { - description "OSPF interface statistics"; - type xr:Interface-name; - } - } - } - } - } - - rpc clear-ospf-instance-vrf { - description "Clear one or more non-default OSPF VRFs in process"; - input { - container instance { - description "OSPF instance name"; - leaf instance-identifier { - description "OSPF process instance identifier"; - mandatory true; - type string; - } - - container vrf { - description "Clear one or more non-default OSPF VRFs in process"; - leaf vrf-name { - description "OSPF VRF name"; - type string; - } - uses OSPF-STAT-ATTRIBUTES; - } - - container all { - description "Clear all non-default OSPF VRFs"; - uses OSPF-STAT-ATTRIBUTES; - } - - container all-inclusive { - description "Clear all non-default and default OSPF VRFs"; - uses OSPF-STAT-ATTRIBUTES; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-cfg.yang deleted file mode 100644 index ecd6da0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-cfg.yang +++ /dev/null @@ -1,3550 +0,0 @@ -module Cisco-IOS-XR-ipv4-ospf-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg"; - - - prefix "ipv4-ospf-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ospf package configuration. - - This module contains definitions - for the following management objects: - ospf: OSPF configuration data - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-07-14" { - description - "Trace buffer size added in yang xml request repsonse."; - } - - revision "2017-06-09" { - description - "Datatype modified to Range for area id, distribute tag and prefix tag."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-02" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospf-proc-frr-rlfa-tunnel { - type enumeration { - enum none { - value 0; - description "Disabled"; - } - enum mpls-ldp { - value 1; - description "MPLS LDP"; - } - } - description "Ospf proc frr rlfa tunnel"; - } - typedef Ospf-sub-address-family { - type enumeration { - enum unicast { - value 1; - description "Unicast"; - } - } - description "Ospf sub address family"; - } - typedef Ospf-network { - type enumeration { - enum broadcast { - value 1; - description "Broadcast"; - } - enum non-broadcast { - value 2; - description "NonBroadcast"; - } - enum point-to-point { - value 3; - description "Point to Point"; - } - enum point-to-multipoint { - value 4; - description "Point to Multipoint"; - } - enum non-broadcast-point-to-multipoint { - value 5; - description "NonBroadcast Point to Multipoint"; - } - } - description "Ospf network"; - } - typedef Ospf-fast-reroute-tiebreakers-intf { - type enumeration { - enum downstream { - value 0; - description "Downstream"; - } - enum line-card-disjoint { - value 1; - description "LC Disjoint"; - } - enum lowest-metric { - value 2; - description "Lowest metric"; - } - enum node-protect { - value 3; - description "Node protection"; - } - enum primary-path { - value 4; - description "Primary path"; - } - enum secondary-path { - value 5; - description "Secondar path"; - } - enum srlg-disjoint { - value 6; - description "SRLG"; - } - } - description "Ospf fast reroute tiebreakers intf"; - } - typedef Ospf-authentication { - type enumeration { - enum none { - value 0; - description "No Authentication"; - } - enum plain { - value 1; - description "Plain Text Authentication"; - } - enum md5 { - value 2; - description "MD5 Message Digest"; - } - } - description "Ospf authentication"; - } - typedef Ospf-eigrp-route { - type enumeration { - enum internal { - value 0; - description "EIGRP Internal Type"; - } - enum external { - value 1; - description "EIGRP External Type"; - } - } - description "Ospf eigrp route"; - } - typedef Ospf-sid { - type enumeration { - enum index { - value 0; - description "Index"; - } - enum absolute { - value 1; - description "Absolute"; - } - } - description "Ospf sid"; - } - typedef Ospf-link-state-metric { - type enumeration { - enum type1 { - value 1; - description "Type 1 External"; - } - enum type2 { - value 2; - description "Type 2 External"; - } - } - description "Ospf link state metric"; - } - typedef Ospf-keychain-auth { - type enumeration { - enum none { - value 0; - description "No Keychain Authentication"; - } - enum keychain { - value 3; - description "Keychain Authentication"; - } - } - description "Ospf keychain auth"; - } - typedef Ospf-fast-reroute-tiebreakers { - type enumeration { - enum downstream { - value 0; - description "Downstream"; - } - enum line-card-disjoint { - value 1; - description "LC Disjoint"; - } - enum lowest-metric { - value 2; - description "Lowest metric"; - } - enum node-protect { - value 3; - description "Node protection"; - } - enum primary-path { - value 4; - description "Primary path"; - } - enum secondary-path { - value 5; - description "Secondar path"; - } - enum srlg-disjoint { - value 6; - description "SRLG"; - } - } - description "Ospf fast reroute tiebreakers"; - } - typedef Ospf-uloop-avoidance { - type enumeration { - enum protected { - value 1; - description "Protected prefixes only"; - } - enum all { - value 2; - description "All prefixes"; - } - enum segment-routing { - value 3; - description "Microloop avoidance using Segment Routing"; - } - } - description "Ospf uloop avoidance"; - } - typedef Ospf-shutdown { - type enumeration { - enum full { - value 1; - description "Full graceful shutdown"; - } - enum hostmode { - value 2; - description "Enter host only mode"; - } - enum onreload { - value 3; - description "Full graceful shutdown post reload"; - } - } - description "Ospf shutdown"; - } - typedef Ospf-domain-id { - type enumeration { - enum type0005 { - value 5; - description "Type 0x0005"; - } - enum type0105 { - value 261; - description "Type 0x0105"; - } - enum type0205 { - value 517; - description "Type 0x0205"; - } - enum type8005 { - value 32773; - description "Type 0x8005"; - } - } - description "Ospf domain id"; - } - typedef Ospf-frr-rlfa-tunnel { - type enumeration { - enum none { - value 0; - description "Disabled"; - } - enum mpls-ldp { - value 1; - description "MPLS LDP"; - } - } - description "Ospf frr rlfa tunnel"; - } - typedef Ospf-log-adj { - type enumeration { - enum brief { - value 0; - description "Limited output"; - } - enum detail { - value 1; - description "Verbose output"; - } - enum suppress { - value 2; - description "No output"; - } - } - description "Ospf log adj"; - } - typedef Ospf-fast-reroute { - type enumeration { - enum none { - value 0; - description "None"; - } - enum per-link { - value 1; - description "Per link"; - } - enum per-prefix { - value 2; - description "Per prefix"; - } - } - description "Ospf fast reroute"; - } - typedef Ospf-cisco-nsf { - type enumeration { - enum always { - value 1; - description "Do not require all neighbors to run NSF"; - } - enum require-nsf-neighbors { - value 2; - description "Require all neighbors to run NSF"; - } - } - description "Ospf cisco nsf"; - } - typedef Ospf-proc-fast-reroute { - type enumeration { - enum none { - value 0; - description "None"; - } - enum per-link { - value 1; - description "Per link"; - } - enum per-prefix { - value 2; - description "Per prefix"; - } - } - description "Ospf proc fast reroute"; - } - typedef Ospf-redist-lsa { - type enumeration { - enum summary { - value 3; - description "Type 3 (summary) LSA"; - } - enum external { - value 5; - description "Type 5 (external) LSA"; - } - } - description "Ospf redist lsa"; - } - typedef Ospf-dist-list-protocol { - type enumeration { - enum all { - value 0; - description "Default"; - } - enum connected { - value 1; - description "Connected Routes"; - } - enum static { - value 3; - description "Static Routes"; - } - enum bgp { - value 4; - description "BGP"; - } - enum ospf { - value 7; - description "OSPF"; - } - enum dagr { - value 9; - description "DAGR"; - } - } - description "Ospf dist list protocol"; - } - typedef Bfd-enable-mode { - type enumeration { - enum disable { - value 0; - description "Disable Mode - Prevent inheritance"; - } - enum default { - value 1; - description "Default Mode - Default BFD behavior"; - } - enum strict { - value 2; - description - "Strict Mode - Hold down adj until BFD sesion up"; - } - } - description "Bfd enable mode"; - } - typedef Ospf-segment-routing-forwarding { - type enumeration { - enum disable { - value 0; - description "Disable"; - } - enum mpls { - value 1; - description "Mpls"; - } - } - description "Ospf segment routing forwarding"; - } - typedef Ospf-ietf-nsf { - type enumeration { - enum all { - value 3; - description "Use IETF NSF in planned and unplanned cases"; - } - } - description "Ospf ietf nsf"; - } - typedef Nsr { - type enumeration { - enum true { - value 1; - description "Enable non-stop routing"; - } - enum false { - value 2; - description "Disable non-stop routing"; - } - } - description "Nsr"; - } - typedef Ospf-trace-buf-size { - type enumeration { - enum size0 { - value 0; - description "Disable trace"; - } - enum size256 { - value 256; - description "Buffer size 256"; - } - enum size512 { - value 512; - description "Buffer size 512"; - } - enum size1024 { - value 1024; - description "Buffer size 1024"; - } - enum size2048 { - value 2048; - description "Buffer size 2048"; - } - enum size4096 { - value 4096; - description "Buffer size 4096"; - } - enum size8192 { - value 8192; - description "Buffer size 8192"; - } - enum size16384 { - value 16384; - description "Buffer size 16384"; - } - enum size32768 { - value 32768; - description "Buffer size 32768"; - } - enum size65536 { - value 65536; - description "Buffer size 65536"; - } - } - description "Ospf trace buf size"; - } - typedef Ospf-redist-protocol { - type enumeration { - enum all { - value 0; - description "Default"; - } - enum connected { - value 1; - description "Connected Routes"; - } - enum static { - value 3; - description "Static Routes"; - } - enum bgp { - value 4; - description "BGP"; - } - enum rip { - value 5; - description "RIP"; - } - enum isis { - value 6; - description "ISIS"; - } - enum ospf { - value 7; - description "OSPF"; - } - enum eigrp { - value 8; - description "EIGRP"; - } - enum dagr { - value 9; - description "DAGR"; - } - enum subscriber { - value 10; - description "Subscriber Routes"; - } - enum application { - value 11; - description "Application Routes"; - } - enum mobile { - value 12; - description "Mobile Routes"; - } - } - description "Ospf redist protocol"; - } - typedef Ospf-route-level { - type enumeration { - enum type1 { - value 1; - description "Type 1 only"; - } - enum type2 { - value 2; - description "Type 2 only"; - } - enum type1-and2 { - value 3; - description "Both Type 1 and Type 2"; - } - } - description "Ospf route level"; - } - typedef Ospf-ietf-nsf-support { - type enumeration { - enum never { - value 0; - description "Do not perform IETF NSF helper role"; - } - } - description "Ospf ietf nsf support"; - } - typedef Ospf-segment-routing { - type enumeration { - enum disable { - value 0; - description "Disable"; - } - enum mpls { - value 1; - description "Mpls"; - } - } - description "Ospf segment routing"; - } - typedef Ospf-address-family { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - } - description "Ospf address family"; - } - typedef Ospf-fast-reroute-priority { - type enumeration { - enum critical { - value 0; - description "Critical"; - } - enum high { - value 2; - description "High"; - } - enum medium { - value 4; - description "Medium"; - } - enum low { - value 6; - description "low"; - } - } - description "Ospf fast reroute priority"; - } - - grouping DISTANCE { - description "Common node of default-vrf, vrf"; - - container distance { - description "Administrative distance configuration"; - - container ospf-distance { - description "OSPF distance configuration"; - leaf intra-area { - type uint32 { - range "1..255"; - } - default "110"; - description "Distance for intra-area routes"; - } - leaf inter-area { - type uint32 { - range "1..255"; - } - default "110"; - description "Distance for inter-area routes"; - } - leaf external-routes { - type uint32 { - range "1..255"; - } - default "110"; - description - "Distance for external type 5 and type 7 routes"; - } - } - - container ip-distances { - description - "IP specific administrative distance - configuration"; - - list ip-distance { - key "address wildcard"; - description - "Administrative distance configuration for a - particular IP address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP source address"; - } - leaf wildcard { - type inet:ipv4-address-no-zone; - description "IP wild card bits -- inverted mask"; - } - leaf distance { - type uint32 { - range "1..255"; - } - default "110"; - description "Administrative distance"; - } - leaf access-list-name { - type string; - description "Access Control List name"; - } - } - } - leaf admin-distance { - type uint32 { - range "1..255"; - } - default "110"; - description "Define an administrative distance"; - } - } - } - - grouping MAX-METRIC { - description "Common node of default-vrf, vrf"; - - container max-metric { - description "Set maximum metric configuration"; - - container max-metric-on-proc-restart { - description - "Set maximum metric on-proc-restart - configuration"; - leaf wait-for-bgp { - type boolean; - default "false"; - description - "Let BGP decide when to originate router-LSA - with normal metric"; - } - leaf startup-max { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time in seconds to originate router-LSA with - max-metric"; - } - leaf include-stub { - type boolean; - description - "Set maximum metric for stub links in - router-LSAs"; - } - leaf summary-lsa { - type boolean; - description - "Override summary-lsa metric with max-metric - value"; - } - leaf summary-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in summary-LSAs (default - 16711680)"; - } - leaf external-lsa { - type boolean; - description - "Override external-lsa metric with max-metric - value"; - } - leaf external-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in external-LSAs (default - 16711680)"; - } - } - - container max-metric-on-startup { - description "Set maximum metric on-startup configuration"; - leaf wait-for-bgp { - type boolean; - default "false"; - description - "Let BGP decide when to originate router-LSA - with normal metric"; - } - leaf startup-max { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time in seconds to originate router-LSA with - max-metric"; - } - leaf include-stub { - type boolean; - description - "Set maximum metric for stub links in - router-LSAs"; - } - leaf summary-lsa { - type boolean; - description - "Override summary-lsa metric with max-metric - value"; - } - leaf summary-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in summary-LSAs (default - 16711680)"; - } - leaf external-lsa { - type boolean; - description - "Override external-lsa metric with max-metric - value"; - } - leaf external-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in external-LSAs (default - 16711680)"; - } - } - - container max-metric-on-proc-migration { - description - "Set maximum metric on-proc-migration - configuration"; - leaf wait-for-bgp { - type boolean; - default "false"; - description - "Let BGP decide when to originate router-LSA - with normal metric"; - } - leaf startup-max { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time in seconds to originate router-LSA with - max-metric"; - } - leaf include-stub { - type boolean; - description - "Set maximum metric for stub links in - router-LSAs"; - } - leaf summary-lsa { - type boolean; - description - "Override summary-lsa metric with max-metric - value"; - } - leaf summary-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in summary-LSAs (default - 16711680)"; - } - leaf external-lsa { - type boolean; - description - "Override external-lsa metric with max-metric - value"; - } - leaf external-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in external-LSAs (default - 16711680)"; - } - } - - container max-metric-always { - description "Set maximum metric always configuration"; - leaf include-stub { - type boolean; - default "false"; - description - "Set maximum metric for stub links in - router-LSAs"; - } - leaf summary-lsa { - type boolean; - description - "Override summary-lsa metric with max-metric - value"; - } - leaf summary-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in summary-LSAs (default - 16711680)"; - } - leaf external-lsa { - type boolean; - description - "Override external-lsa metric with max-metric - value"; - } - leaf external-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in external-LSAs (default - 16711680)"; - } - } - - container max-metric-on-switchover { - description - "Set maximum metric on-switchover configuration"; - leaf wait-for-bgp { - type boolean; - default "false"; - description - "Let BGP decide when to originate router-LSA - with normal metric"; - } - leaf startup-max { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time in seconds to originate router-LSA with - max-metric"; - } - leaf include-stub { - type boolean; - description - "Set maximum metric for stub links in - router-LSAs"; - } - leaf summary-lsa { - type boolean; - description - "Override summary-lsa metric with max-metric - value"; - } - leaf summary-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in summary-LSAs (default - 16711680)"; - } - leaf external-lsa { - type boolean; - description - "Override external-lsa metric with max-metric - value"; - } - leaf external-lsa-maximum-metric { - type uint32 { - range "1..16777215"; - } - description - "Overriding metric in external-LSAs (default - 16711680)"; - } - } - leaf max-metric-no-abr-off { - type empty; - description - "Block ABR-disable mode entry while in - max-metric mode"; - } - } - } - - grouping DEMAND-CIRCUIT { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf demand-circuit { - type boolean; - default "false"; - description "Enable/Disable OSPF demand circuit"; - } - } - - grouping MAXIMUM-INTERFACES { - description "Common node of default-vrf, vrf"; - leaf maximum-interfaces { - type uint32 { - range "1..4294967295"; - } - default "1024"; - description - "Max number of interfaces allowed to be - configured"; - } - } - - grouping EXCLUDE-INTERFACE-TABLE { - description "Common node of per-link, per-prefix, ucmp"; - - container exclude-interfaces { - description - "Fast-reroute per-link/per-prefix or UCMP exclude - interface configuration"; - - list exclude-interface { - key "interface-name"; - description - "Exclude an interface from becoming a backup or - UCMP"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE { - description - "Common node of per-link, per-prefix, ucmpCommon - node of per-link, per-prefix"; - - container exclude-interfaces { - description - "Fast-reroute per-link/per-prefix or UCMP exclude - interface configuration"; - - list exclude-interface { - key "interface-name"; - description - "Exclude an interface from becoming a backup or - UCMP"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping RUNNING { - description - "Common node of process, area, name-scope, - virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - leaf running { - type empty; - description "Enable routing on an IP network"; - } - } - - grouping TRANSMIT-DELAY { - description - "Common node of process-scope, area-scope, - name-scope, virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - default "1"; - description "Number of seconds to delay transmission of LSAs"; - } - } - - grouping NO-OPAQUE { - description "Common node of default-vrf, vrf"; - leaf no-opaque { - type empty; - description "Disable opaque LSAs"; - } - } - - grouping COST-FALLBACK { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope"; - - container cost-fallback { - description "Interface fallback cost"; - leaf cost { - type uint32 { - range "1..65535"; - } - description "Fallback cost of link"; - } - leaf threshold { - type uint32 { - range "1..4294967"; - } - description "Bandwidth threshold"; - } - } - } - - grouping SEGMENT-ROUTING { - description "Common node of process-scope, area"; - leaf segment-routing { - type Ospf-segment-routing; - description - "segment-routing configuration Applicable only in - Default VRF"; - } - } - - grouping SUMMARY-IN { - description "Common node of process-scope, area"; - leaf summary-in { - type boolean; - description - "Enable/Disable an OSPF area to advertise - external prefixes into this area as summary"; - } - } - - grouping LDP-AUTO-CONFIG { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf ldp-auto-config { - type empty; - description "Enable MPLS LDP Auto Config"; - } - } - - grouping PASSIVE { - description - "Common node of process-scope, area-scope, - name-scopeCommon node of process-scope, - area-scope, name-scope, - multi-area-interface-scope"; - leaf passive { - type boolean; - default "false"; - description - "When enabled, prevent sending HELLO packets over - link"; - } - } - - grouping AREA-TABLE { - description "Common node of default-vrf, vrf"; - - container area-addresses { - description "Area configuration"; - - grouping AREA-CONTENT { - description "AREA CONTENT"; - - container virtual-link-scopes { - description "Virtual Link scope configurations"; - - list virtual-link-scope { - key "address"; - description "Virtual Link configuration"; - leaf address { - type inet:ipv4-address-no-zone; - description "Router ID of virtual link neighbor"; - } - uses AUTHENTICATION; - uses HELLO-INTERVAL; - uses TRANSMIT-DELAY; - uses DEAD-INTERVAL-MINIMAL; - uses RETRANSMIT-INTERVAL; - uses RUNNING; - } - } - - container sham-link-scopes { - description "Sham Link scope configurations"; - - list sham-link-scope { - key "source-address destination-address"; - description "Sham Link configuration"; - leaf source { - type inet:ipv4-address-no-zone; - description - "Address of the local sham-link endpoint. - Enter an IP Address"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Address of the local sham-link endpoint"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description - "Address of the remote sham-link endpoint"; - } - uses COST; - uses AUTHENTICATION; - uses HELLO-INTERVAL; - uses TRANSMIT-DELAY; - uses DEAD-INTERVAL-MINIMAL; - uses RETRANSMIT-INTERVAL; - uses RUNNING; - } - } - - container area-scope { - description "Area scope configuration"; - uses DISTRIBUTE-LIST; - uses COST; - uses BFD; - uses PREFIX-SUPPRESSION-PRIMARY; - uses MTU-IGNORE; - uses AUTHENTICATION; - uses LDP-SYNC-IGP-SHORTCUTS; - uses LDP-AUTO-CONFIG; - uses SECURITY; - uses NETWORK-TYPE; - uses HELLO-INTERVAL; - uses LOOPBACK-STUB-NETWORK; - uses PREFIX-SUPPRESSION-SECONDARY; - uses DEMAND-CIRCUIT; - uses PASSIVE; - uses TRANSMIT-DELAY; - uses PACKET-SIZE; - uses LDP-SYNC; - uses DATABASE-FILTER; - uses DEAD-INTERVAL-MINIMAL; - uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; - uses LINK-DOWN-FAST-DETECT; - uses SEGMENT-ROUTING-FORWARDING; - uses RETRANSMIT-INTERVAL; - uses IPV4-OSPF-CFG-PRIORITY; - uses FLOOD-REDUCTION; - uses COST-FALLBACK; - } - - container name-scopes { - description "Name scope configurations"; - - list name-scope { - key "interface-name"; - description "Name scope configuration"; - - container prefix-sid { - presence "Indicates a prefix-sid node is configured."; - description "Prefix SID"; - leaf sid-value { - type uint32 { - range "0..1048575"; - } - mandatory true; - description "SID value"; - } - leaf explicit-null { - type boolean; - default "false"; - description - "Force Penultimate Hop To Send Explicit-Null - Label"; - } - leaf type { - type Ospf-sid; - mandatory true; - description "OSPF SID Type"; - } - leaf n-flag-clear { - type boolean; - default "false"; - description "Not a node SID"; - } - } - - container prefix-sid-strict { - presence "Indicates a prefix-sid-strict node is"+ - " configured."; - description "Strict Prefix SID"; - leaf sid-value { - type uint32 { - range "0..1048575"; - } - mandatory true; - description "SID value"; - } - leaf explicit-null { - type boolean; - default "false"; - description - "Force Penultimate Hop To Send Explicit-Null - Label"; - } - leaf type { - type Ospf-sid; - mandatory true; - description "OSPF SID Type"; - } - leaf n-flag-clear { - type boolean; - default "false"; - description "Not a node SID"; - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of Interface to configure"; - } - uses DISTRIBUTE-LIST; - uses COST; - uses BFD; - uses PREFIX-SUPPRESSION-PRIMARY; - uses MTU-IGNORE; - uses AUTHENTICATION; - uses LDP-SYNC-IGP-SHORTCUTS; - uses LDP-AUTO-CONFIG; - uses SECURITY; - uses NEIGHBOR-TABLE; - uses NETWORK-TYPE; - uses HELLO-INTERVAL; - uses LOOPBACK-STUB-NETWORK; - uses PREFIX-SUPPRESSION-SECONDARY; - uses DEMAND-CIRCUIT; - uses PASSIVE; - uses TRANSMIT-DELAY; - uses PACKET-SIZE; - uses LDP-SYNC; - uses DATABASE-FILTER; - uses DEAD-INTERVAL-MINIMAL; - uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; - uses LINK-DOWN-FAST-DETECT; - uses SEGMENT-ROUTING-FORWARDING; - uses RETRANSMIT-INTERVAL; - uses IPV4-OSPF-CFG-PRIORITY; - uses FLOOD-REDUCTION; - uses COST-FALLBACK; - uses RUNNING; - } - } - - container multi-area-interface-scopes { - description "Multi Area Interface scope configurations"; - - list multi-area-interface-scope { - key "interface-name"; - description "Multi Area Interface configuration"; - leaf interface-name { - type xr:Interface-name; - description - "Name of Multi Area Interface to configure"; - } - uses DISTRIBUTE-LIST; - uses COST; - uses MTU-IGNORE; - uses AUTHENTICATION; - uses NEIGHBOR-TABLE; - uses HELLO-INTERVAL; - uses PASSIVE; - uses TRANSMIT-DELAY; - uses PACKET-SIZE; - uses DATABASE-FILTER; - uses DEAD-INTERVAL-MINIMAL; - uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; - uses RETRANSMIT-INTERVAL; - uses COST-FALLBACK; - uses RUNNING; - } - } - - container area-ranges { - description - "Summarize routes matching address/mask (border - routers only)"; - - list area-range { - key "address netmask"; - description "Ordering index"; - leaf not-advertise { - type boolean; - description "Do not advertise this range"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "IP address to match"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "IP netmask for address"; - } - } - } - - container nssa { - description "Specify area as a NSSA area"; - leaf no-redistribution { - type boolean; - default "false"; - description "No redistribution into this NSSA area"; - } - leaf default-info-originate { - type boolean; - default "false"; - description "Originate Type 7 default into NSSA area"; - } - leaf no-summary { - type boolean; - default "false"; - description "Do not send summary LSA into NSSA"; - } - leaf nssa-def-metric { - type uint32 { - range "1..16777214"; - } - description "OSPF default metric"; - } - leaf metric-type { - type Ospf-link-state-metric; - default "type2"; - description "OSPF External metric type"; - } - } - leaf route-policy-in { - type string; - description - "Configure a route policy for inbound type-3 - lsa filtering"; - } - leaf default-cost { - type uint32 { - range "1..16777215"; - } - default "1"; - description - "Set the summary default-cost of a NSSA/stub - area"; - } - leaf route-policy-out { - type string; - description - "Configure a route policy for outbound type-3 - lsa filtering"; - } - leaf stub { - type boolean; - description - "Specify the area as a stub area (send summary - LSA stub area)"; - } - leaf mpls-traffic-eng { - type empty; - description - "Configure an OSPF area to run MPLS Traffic - Engineering"; - } - uses EXTERNAL-OUT; - uses SUMMARY-IN; - uses SEGMENT-ROUTING; - uses RUNNING; - } - - list area-address { - key "address"; - description "Configuration for a particular area"; - leaf address { - type inet:ipv4-address-no-zone; - description "Area ID if in IP address format"; - } - uses AREA-CONTENT; - } - - list area-area-id { - key "area-id"; - description "Configuration for a particular area"; - leaf area-id { - type uint32 { - range "0..4294967295"; - } - description "Area ID if in integer format"; - } - uses AREA-CONTENT; - } - } - } - - grouping AUTO-COST { - description "Common node of default-vrf, vrf"; - - container auto-cost { - description "Controls automatic cost based on bandwidth"; - leaf disable { - type boolean; - default "false"; - description "Disabling auto costing"; - } - leaf bandwidth { - type uint32 { - range "1..4294967"; - } - units "Mbit/s"; - default "100"; - description - "The reference bandwidth in terms of Mbits per - second"; - } - } - } - - grouping TIMERS { - description "Common node of default-vrf, vrf"; - - container timers { - description "Adjust routing timers"; - - container spf-timer { - description "OSPF SPF timers (in milliseconds)"; - leaf initial-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "5000"; - description "Number of milliseconds before first SPF run"; - } - leaf backoff-increment { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "10000"; - description - "Number of milliseconds delay between - successive SPF runs"; - } - leaf max-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "10000"; - description - "Max number of milliseconds between consecutive - SPF calculations"; - } - } - - container lsa-generation-timer { - description "OSPF LSA timers (in milliseconds)"; - leaf initial-delay { - type uint32 { - range "0..600000"; - } - units "millisecond"; - default "50"; - description - "Number of milliseconds before generating first - LSA"; - } - leaf backoff-increment { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "200"; - description - "Number of milliseconds delay between - successive LSA builds"; - } - leaf max-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "200"; - description - "Max number of milliseconds between consecutive - LSA builds "; - } - } - leaf lsa-pacing-flood { - type uint32 { - range "5..100"; - } - units "second"; - description - "Seconds between group of LSAs being refreshed - or maxaged"; - } - leaf fast-reroute-timer { - type uint32 { - range "50..600000"; - } - units "millisecond"; - default "500"; - description - "Number of ms between end of SPF and start of - IPFRR computation"; - } - leaf lsa-refresh { - type uint32 { - range "1800..2700"; - } - units "second"; - default "1800"; - description - "How often self-originated LSAs should be - refreshed"; - } - leaf lsa-group-pacing { - type uint32 { - range "10..1800"; - } - units "second"; - default "240"; - description - "LSA group pacing timer (Seconds between group - of LSAs being refreshed or maxaged)"; - } - leaf lsa-min-arrival { - type uint32 { - range "0..600000"; - } - units "millisecond"; - default "100"; - description - "MinLSArrival timer (minimum interval in - milliseconds between accepting the same LSA)"; - } - } - } - - grouping NETWORK-TYPE { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf network-type { - type Ospf-network; - description "Type of attached network"; - } - } - - grouping REDISTRIBUTION { - description "Common node of default-vrf, vrf"; - - container redistribution { - description "Redistribute configurations"; - - container redistributes { - description - "Redistribute information from another routing - protocol"; - - list redistribute { - must "connected-or-static-or-dagr-or-subscriber-or-mobile"+ - "-or-rip or application-or-isis-or-ospf or bgp or eigrp" { - description - "Connected-or-Static-or-DAGR-or-Subscriber-or-Mobile-or-RIP or Application-or-ISIS-or-OSPF or BGP or EIGRP must be present."; - } - key "protocol-name"; - description - "Redistribute information from another routing - protocol"; - - grouping REDISTRIBUTE-CONTENT { - description "REDISTRIBUTE CONTENT"; - leaf classful { - type boolean; - default "false"; - description "Disallow subnetting"; - } - leaf default-redistributed-route-metric { - type uint32 { - range "1..16777214"; - } - description - "Default metric for routes being - redistributed into OSPF"; - } - leaf tag { - type uint32 { - range "0..4294967295"; - } - description - "Set tag for routes redistributed into OSPF"; - } - leaf metric-type { - type Ospf-link-state-metric; - description "Set OSPF External metric type"; - } - leaf eigrp-route-type { - type Ospf-eigrp-route; - description "EIGRP route type"; - } - leaf isis-levels { - type Ospf-route-level; - description "Levels of ISIS routes"; - } - leaf ospf-internal { - type boolean; - description "OSPF_Internal route type"; - } - leaf ospf-external { - type Ospf-route-level; - description "OSPF external route types"; - } - leaf ospf-nssa-level { - type Ospf-route-level; - description "OSPF NSSA external route types"; - } - leaf route-policy-name { - type string; - description "Routing policy name"; - } - leaf bgp-preserve-med { - type boolean; - description "Preserve MED of BGP routes"; - } - leaf bgp-preserve-default-info { - type boolean; - description - "Preserve Metric and Metric Type of BGP - Default Route"; - } - leaf ospf-redist-lsa-type { - type Ospf-redist-lsa; - default "external"; - description "LSA type for redistributed routes"; - } - leaf ospfnssa-only { - type boolean; - description "Only redistribute to NSSA areas"; - } - } - - container "connected-or-static-or-dagr-or-subscriber-or"+ - "-mobile-or-rip" { - when "../protocol-name = 'connected' or"+ - " ../protocol-name = 'static' or ../protocol-name ="+ - " 'dagr' or ../protocol-name = 'subscriber' or"+ - " ../protocol-name = 'mobile' or ../protocol-name ="+ - " 'rip'" { - description - "../ProtocolName = Connected or . - ./ProtocolName = Static or ../ProtocolName - = DAGR or ../ProtocolName = Subscriber or . - ./ProtocolName = Mobile or ../ProtocolName - = RIP"; - } - presence "Indicates that this node is configured."; - description - "connected or static or dagr or subscriber or - mobile or rip"; - uses REDISTRIBUTE-CONTENT; - } - leaf protocol-name { - type Ospf-redist-protocol; - description "Distribute list protocol type"; - } - - list application-or-isis-or-ospf { - when "../protocol-name = 'application' or"+ - " ../protocol-name = 'isis' or ../protocol-name ="+ - " 'ospf'" { - description - "../ProtocolName = Application or . - ./ProtocolName = ISIS or ../ProtocolName = - OSPF"; - } - key "instance-name"; - description "application or isis or ospf"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "OSPF or ISIS process name or protocol name: - bgp, eigrp, connected"; - } - uses REDISTRIBUTE-CONTENT; - } - - list bgp { - when "../protocol-name = 'bgp'" { - description "../ProtocolName = BGP"; - } - key "instance-name as-xx as-yy"; - description "bgp"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "OSPF or ISIS process name or protocol name: - bgp, eigrp, connected"; - } - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "First half of BGP AS number in XX.YY format. - Mandatory if Protocol is BGP and must not be - specified otherwise. Must be a non-zero - value if second half is zero."; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "Second half of BGP AS number in XX.YY format - . Mandatory if Protocol is BGP or EIGRP and - must not be specified otherwise. Must be a - non-zero value if first half is zero."; - } - uses REDISTRIBUTE-CONTENT; - } - - list eigrp { - when "../protocol-name = 'eigrp'" { - description "../ProtocolName = EIGRP"; - } - key "instance-name as-xx"; - description "eigrp"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description - "OSPF or ISIS process name or protocol name: - bgp, eigrp, connected"; - } - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "First half of BGP AS number in XX.YY format. - Mandatory if Protocol is BGP and must not be - specified otherwise. Must be a non-zero - value if second half is zero."; - } - uses REDISTRIBUTE-CONTENT; - } - } - } - } - } - - grouping EXTERNAL-OUT { - description "Common node of process-scope, area"; - leaf external-out { - type boolean; - description - "Enable/Disable an OSPF area to advertise - intra-area prefixes out of this area as external"; - } - } - - grouping AF { - description "Common node of default-vrf, vrf"; - - container af { - presence "Indicates a af node is configured."; - description "OSPF address family"; - leaf af-name { - type Ospf-address-family; - mandatory true; - description "Address family"; - } - leaf saf-name { - type Ospf-sub-address-family; - description "Sub-Address family"; - } - } - } - - grouping DEFAULT-INFORMATION { - description "Common node of default-vrf, vrf"; - - container default-information { - description "Control distribution of default information"; - leaf always-advertise { - type boolean; - default "false"; - description "Always advertise default route"; - } - leaf metric { - type uint32 { - range "1..16777214"; - } - default "1"; - description "OSPF metric"; - } - leaf metric-type { - type Ospf-link-state-metric; - default "type2"; - description "OSPF External metric type"; - } - leaf route-policy-name { - type string; - description "Routing policy name"; - } - } - } - - grouping PREFIX-SUPPRESSION-SECONDARY { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf prefix-suppression-secondary { - type boolean; - default "false"; - description - "Enable/Disable prefix suppression for secondary - addresses"; - } - } - - grouping MAXIMUM-PATHS { - description "Common node of default-vrf, vrf"; - leaf maximum-paths { - type uint32 { - range "1..64"; - } - description - "Forward packets over multiple paths (number of - paths)"; - } - } - - grouping DATABASE-FILTER { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope"; - leaf database-filter { - type boolean; - default "false"; - description - "Filter OSPF LSA during synchronization and - flooding"; - } - } - - grouping LINK-DOWN-FAST-DETECT { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf link-down-fast-detect { - type boolean; - default "false"; - description - "Enable/Disable registration for early interface - down notifications"; - } - } - - grouping LDP-SYNC-IGP-SHORTCUTS { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf ldp-sync-igp-shortcuts { - type boolean; - description "Enable/Disable MPLS LDP sync for igp-shortcuts"; - } - } - - grouping MICROLOOP { - description "Common node of default-vrf, vrf"; - - container microloop { - description "Microloop configuration"; - - container avoidance { - description "Microloop avoidance configuration"; - leaf enable { - type Ospf-uloop-avoidance; - default "all"; - description - "MicroLoop avoidance feature enable - configuration"; - } - leaf rib-update-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - default "5000"; - description - "Delay to introduce between SPF and RIB update - in msecs"; - } - } - } - } - - grouping DEAD-INTERVAL-MINIMAL { - description - "Common node of process-scope, area-scope, - name-scope, virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - - container dead-interval-minimal { - description - "Interval after which a neighbor is declared dead"; - leaf interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval size in seconds after which a neighbor - is declared dead"; - } - leaf multiplier { - type uint32 { - range "3..20"; - } - description "Number of Hellos in one second"; - } - } - } - - grouping CANDIDATE-INTERFACE-TABLE { - description "Common node of per-link, per-prefix"; - - container candidate-interfaces { - description - "Fast-reroute per-link/per-prefix candidate - interface configuration"; - - list candidate-interface { - key "interface-name"; - description "Candidate backup interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE { - description - "Common node of per-link, per-prefixCommon node of - per-link, per-prefix"; - - container candidate-interfaces { - description - "Fast-reroute per-link/per-prefix candidate - interface configuration"; - - list candidate-interface { - key "interface-name"; - description "Candidate backup interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping QUEUE { - description "Common node of default-vrf, vrf"; - - container queue { - description - "Adjust OSPF input queue sizes and processing - quantums"; - leaf dispatch-rate-limited-flush { - type uint32 { - range "30..3000"; - } - default "150"; - description - "Maximum number of continuous rate-limited LSAs - processed for FLUSH"; - } - leaf limit-high { - type uint32 { - range "1000..30000"; - } - default "9500"; - description - "Hello events are dropped when incoming event - queue exceeds this"; - } - leaf dispatch-spf-lsa-limit { - type uint32 { - range "30..3000"; - } - default "150"; - description - "Maximum number of continuous summary or - external LSAs processed"; - } - leaf limit-low { - type uint32 { - range "1000..30000"; - } - default "8000"; - description - "DBDs/Updates are dropped when incoming event - queue exceeds this"; - } - leaf dispatch-rate-limited { - type uint32 { - range "30..3000"; - } - default "150"; - description - "Maximum number of continuous rate-limited LSAs - processed"; - } - leaf limit-medium { - type uint32 { - range "1000..30000"; - } - default "9000"; - description - "LSA ACKs are dropped when incoming event queue - exceeds this"; - } - leaf dispatch-incoming { - type uint32 { - range "30..3000"; - } - default "300"; - description - "Maximum number of continuous incoming - packet-related events processed"; - } - } - } - - grouping AUTHENTICATION { - description - "Common node of process-scope, area-scope, - name-scope, virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - - container authentication { - description "Authentication"; - - container type { - description "Authentication type"; - leaf authen-type { - type Ospf-authentication; - description "Authentication type code "; - } - leaf keychain-authen-type { - type Ospf-keychain-auth; - description "Keychain authentication type"; - } - leaf keychain-name { - type string; - description "Keychain name"; - } - } - - container message-digest-keies { - description - "Message digest authentication password (key) - configurations, first 16 chars used"; - - list message-digest-key { - key "key-id"; - description - "Message digest authentication password (key) - configuration"; - leaf key-id { - type uint32 { - range "1..255"; - } - description "Key ID"; - } - leaf password { - type xr:Proprietary-password; - mandatory true; - description "Password"; - } - } - } - leaf key { - type xr:Proprietary-password; - description "Authentication key configuration"; - } - } - } - - grouping MAXIMUM-REDISTRIBUTE-PREFIX { - description "Common node of default-vrf, vrf"; - - container maximum-redistribute-prefix { - description - "Maximum number of prefixes redistributed into - OSPF"; - leaf number-of-prefixes { - type uint32 { - range "1..4294967295"; - } - description "Maximum number of prefixes redistributed"; - } - leaf threshold { - type uint32 { - range "1..100"; - } - description - "Threshold value (%) at which to generate a - warning msg"; - } - leaf warning-only { - type boolean; - description - "Only give warning messsage when limit is - exceeded"; - } - } - } - - grouping SEGMENT-ROUTING-FORWARDING { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf segment-routing-forwarding { - type Ospf-segment-routing-forwarding; - description - "segment-routing forwarding configuration - Applicableonly in Default VRF"; - } - } - - grouping DISTRIBUTE-LIST { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope"; - - container distribute-list { - presence "enable distribute-list"; - description - "Filter networks intalled to RIB (disable as ACL - name means filtering is disabled)"; - leaf access-list-name { - type string; - must "not(../route-policy-name)"; - description "Access Control List name"; - } - leaf route-policy-name { - type string; - must "not(../access-list-name)"; - description "Route Policy name"; - } - } - } - - grouping COST { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope, - sham-link-scope"; - leaf cost { - type uint32 { - range "1..65535"; - } - description "Interface cost"; - } - } - - grouping PACKET-SIZE { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope"; - leaf packet-size { - type uint32 { - range "576..10000"; - } - description "Customize size of OSPF packets upto MTU"; - } - } - - grouping FAST-REROUTE { - description "Common node of default-vrf, vrf"; - - container fast-reroute { - description "Fast-reroute instance scoped parameters"; - - container per-link { - description "Fast-reroute per-link global configuration"; - uses PRIORITY; - } - - container per-prefix { - description "Fast-reroute per-prefix global configuration"; - - container tiebreakers { - description "Fast-reroute tiebreakers configurations"; - - list tiebreaker { - key "tiebreaker-type"; - description "Fast-reroute tiebreakers configuration"; - leaf tiebreaker-type { - type Ospf-fast-reroute-tiebreakers; - description "Tiebreaker type"; - } - leaf tiebreaker-index { - type uint32 { - range "0..255"; - } - mandatory true; - description - "Index value for a tiebreaker, 0 to disable"; - } - } - } - leaf load-sharing-disable { - type empty; - description - "Disable load sharing between multiple backups"; - } - uses PRIORITY; - } - } - } - - grouping IPV4-OSPF-FRR-CFG-FAST-REROUTE { - description - "Common node of default-vrf, vrfCommon node of - area-scope, name-scope, - multi-area-interface-scope"; - - container fast-reroute { - description "Fast-reroute configuration"; - - container per-link { - description "Fast-reroute per-link configuration"; - uses FAST-REROUTE-USE-CANDIDATE-ONLY; - uses IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE; - uses IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE; - } - - container per-prefix { - description "Fast-reroute per-prefix global configuration"; - - container remote-lfa { - description "Remote LFA configuration"; - leaf tunnel { - type Ospf-frr-rlfa-tunnel; - description "Enable/Disable remote LFA computation"; - } - leaf maximum-cost { - type uint32 { - range "1..4294967295"; - } - description "Maximum path cost to remote LFA"; - } - } - - container tiebreakers { - description "Fast-reroute tiebreakers configurations"; - - list tiebreaker { - key "tiebreaker-type"; - description "Fast-reroute tiebreakers configuration"; - leaf tiebreaker-type { - type Ospf-fast-reroute-tiebreakers-intf; - description "Tiebreaker type"; - } - leaf tiebreaker-index { - type uint32 { - range "0..255"; - } - mandatory true; - description - "Index value for a tiebreaker, 0 to disable"; - } - } - } - leaf topology-independent-lfa { - type boolean; - description "Topology Independet LFA configuration"; - } - uses FAST-REROUTE-USE-CANDIDATE-ONLY; - uses IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE; - uses IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE; - } - leaf fast-reroute-enable { - type Ospf-fast-reroute; - description - "Enable/Disable Fast-reroute per-link or - per-prefix"; - } - } - } - - grouping SUMMARY-PREFIX-TABLE { - description "Common node of default-vrf, vrf"; - - container summary-prefixes { - description "Configure IP prefix summary"; - - grouping SUMMARY-PREFIX-CONTENT { - description "Content grouping."; - leaf not-advertise { - type boolean; - default "false"; - description - "Do not advertise when translating OSPF type-7 - LSA"; - } - leaf tag { - type uint32 { - range "0..4294967295"; - } - description "32-bit tag value"; - } - } - - container summary-prefix-data { - description "Data container."; - uses SUMMARY-PREFIX-CONTENT; - } - - list prefix-and-netmask { - key "prefix netmask"; - description "keys: prefix, netmask"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "IP summary prefix"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "Summary netmask"; - } - uses SUMMARY-PREFIX-CONTENT; - } - - list prefix { - key "prefix"; - description "keys: prefix"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "IP summary prefix"; - } - uses SUMMARY-PREFIX-CONTENT; - } - - list netmask { - key "netmask"; - description "keys: netmask"; - leaf netmask { - type inet:ipv4-address-no-zone; - description "Summary netmask"; - } - uses SUMMARY-PREFIX-CONTENT; - } - } - } - - grouping SECURITY { - description - "Common node of process-scope, area-scope, - name-scope"; - - container security { - description - "Container class for security related - configuration parameters"; - - container ttl { - description "Enabling turns on TTL security"; - leaf enable { - type boolean; - description "Enable TTL security"; - } - leaf hop-count { - type uint32 { - range "1..254"; - } - description "Hop count"; - } - } - } - } - - grouping HELLO-INTERVAL { - description - "Common node of process-scope, area-scope, - name-scope, virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Interval between HELLO packets in seconds"; - } - } - - grouping ADJACENCY-CHANGES { - description "Common node of default-vrf, vrf"; - leaf adjacency-changes { - type Ospf-log-adj; - description "Log changes in adjacency state"; - } - } - - grouping PROCESS-SCOPE { - description "Common node of default-vrf, vrf"; - - container process-scope { - description "Process scope configuration"; - - container srgb { - presence "Indicates a srgb node is configured."; - description "Segment Routing Global Block configuration"; - leaf lower-bound { - type uint32 { - range "16000..1048575"; - } - mandatory true; - description "The lower bound of the SRGB"; - } - leaf upper-bound { - type uint32 { - range "16000..1048575"; - } - mandatory true; - description "The upper bound of the SRGB"; - } - } - - container fast-reroute { - description "Fast-reroute configuration"; - - container per-link { - description "Fast-reroute per-link configuration"; - uses CANDIDATE-INTERFACE-TABLE; - uses IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY; - uses EXCLUDE-INTERFACE-TABLE; - } - - container per-prefix { - description "Fast-reroute per-prefix configuration"; - - container remote-lfa { - description "Remote LFA configuration"; - leaf tunnel { - type Ospf-proc-frr-rlfa-tunnel; - description "Enable/Disable remote LFA computation"; - } - leaf maximum-cost { - type uint32 { - range "1..4294967295"; - } - description "Maximum path cost to remote LFA"; - } - } - leaf topology-independent-lfa { - type boolean; - description "Topology Independet LFA configuration"; - } - uses CANDIDATE-INTERFACE-TABLE; - uses IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY; - uses EXCLUDE-INTERFACE-TABLE; - } - leaf fast-reroute-enable { - type Ospf-proc-fast-reroute; - description - "Enable/Disable Fast-reroute per-link or - per-prefix"; - } - } - uses DISTRIBUTE-LIST; - uses COST; - uses BFD; - uses EXTERNAL-OUT; - uses PREFIX-SUPPRESSION-PRIMARY; - uses MTU-IGNORE; - uses AUTHENTICATION; - uses LDP-SYNC-IGP-SHORTCUTS; - uses LDP-AUTO-CONFIG; - uses SECURITY; - uses SUMMARY-IN; - uses NETWORK-TYPE; - uses HELLO-INTERVAL; - uses LOOPBACK-STUB-NETWORK; - uses PREFIX-SUPPRESSION-SECONDARY; - uses DEMAND-CIRCUIT; - uses SEGMENT-ROUTING; - uses PASSIVE; - uses TRANSMIT-DELAY; - uses PACKET-SIZE; - uses LDP-SYNC; - uses DATABASE-FILTER; - uses DEAD-INTERVAL-MINIMAL; - uses LINK-DOWN-FAST-DETECT; - uses SEGMENT-ROUTING-FORWARDING; - uses RETRANSMIT-INTERVAL; - uses IPV4-OSPF-CFG-PRIORITY; - uses FLOOD-REDUCTION; - uses COST-FALLBACK; - } - } - - grouping UCMP { - description "Common node of default-vrf, vrf"; - - container ucmp { - description "Unequal Cost Multi-ptah configuration"; - - container enable { - description "UCMP feature enable configuration"; - leaf variance { - type uint32 { - range "101..10000"; - } - default "200"; - description "Value of variance"; - } - leaf prefix-list-name { - type string; - description "Name of the Prefix List"; - } - } - leaf delay-interval { - type uint32 { - range "1..5000"; - } - units "millisecond"; - default "100"; - description - "Delay in msecs between primary SPF and UCMP - computation"; - } - uses EXCLUDE-INTERFACE-TABLE; - } - } - - grouping NSF { - description "Common node of default-vrf, vrf"; - - container nsf { - description "Non Stop Forwarding configuration"; - leaf lifetime { - type uint32 { - range "90..1800"; - } - units "second"; - default "90"; - description - "Maximum route lifetime following restart in - seconds"; - } - leaf ietf { - type Ospf-ietf-nsf; - description "Enable IETF Non Stop Forwarding"; - } - leaf ietf-support-role { - type Ospf-ietf-nsf-support; - description - "Disable helper support role for IETF Non Stop - Forwarding"; - } - leaf cisco { - type Ospf-cisco-nsf; - description "Enable Cisco Non Stop Forwarding"; - } - leaf interval { - type uint32 { - range "90..3600"; - } - units "second"; - default "90"; - description - "Minimum interval between Non Stop Forwarding - restarts in seconds"; - } - leaf flush-delay-time { - type uint32 { - range "1..3600"; - } - units "second"; - default "60"; - description - "Maximum time allowed for external route - learning (seconds)"; - } - leaf ietf-strict-lsa-checking { - type empty; - description "Enable Strict LSA checking of IETF NSF"; - } - } - } - - grouping MTU-IGNORE { - description - "Common node of process-scope, area-scope, - name-scope, multi-area-interface-scope"; - leaf mtu-ignore { - type boolean; - default "false"; - description "Enable/Disable ignoring of MTU in DBD packets"; - } - } - - grouping FAST-REROUTE-USE-CANDIDATE-ONLY { - description "Common node of per-link, per-prefix"; - leaf fast-reroute-use-candidate-only { - type boolean; - default "false"; - description - "Use only interfaces on the candidate list as a - backup path"; - } - } - - grouping IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY { - description - "Common node of per-link, per-prefixCommon node of - per-link, per-prefix"; - leaf fast-reroute-use-candidate-only { - type boolean; - default "false"; - description - "Use only interfaces on the candidate list as a - backup path"; - } - } - - grouping BFD { - description - "Common node of process-scope, area-scope, - name-scope"; - - container bfd { - description "BFD configuration"; - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by OSPF"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions created - by OSPF"; - } - leaf fast-detect-mode { - type Bfd-enable-mode; - description " use of Bidirectional Forwarding Detection"; - } - } - } - - grouping LOOPBACK-STUB-NETWORK { - description - "Common node of process-scope, area-scope, - name-scopeCommon node of process-scope, - area-scope, name-scope"; - leaf loopback-stub-network { - type boolean; - default "false"; - description - "Enable/Disable advertising loopback as a stub - network"; - } - } - - grouping PREFIX-SUPPRESSION-PRIMARY { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf prefix-suppression-primary { - type boolean; - default "false"; - description - "Enable/Disable prefix suppression for primary - addresses"; - } - } - - grouping FLOOD-REDUCTION { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf flood-reduction { - type boolean; - default "false"; - description "Enable/Disable OSPF flood reduction"; - } - } - - grouping MAX-LSA { - description "Common node of default-vrf, vrf"; - - container max-lsa { - presence "Indicates a max-lsa node is configured."; - description "Set max-lsa configuration"; - leaf max-lsa-limit { - type uint32 { - range "1..4294967294"; - } - mandatory true; - description "Set maximum number of non self-generated LSAs"; - } - leaf max-lsa-threshold { - type uint32 { - range "1..100"; - } - description - "Set max-lsa threshold for generating a warning - message"; - } - leaf max-lsa-warning-only { - type boolean; - description - "Only give warning message when limit is - exceeded"; - } - leaf max-lsa-ignore-time { - type uint32 { - range "1..35791394"; - } - description - "Set time during which all adjacencies are - suppressed"; - } - leaf max-lsa-ignore-count { - type uint32 { - range "1..4294967294"; - } - description - "Set count on how many times adjacencies can be - suppressed"; - } - leaf max-lsa-reset-time { - type uint32 { - range "2..71582788"; - } - units "minute"; - description - "Set number of minutes after which ignore-count - is reset to zero"; - } - } - } - - grouping OUTGOING-ROUTE-UPDATE-TABLE { - description "Common node of default-vrf, vrf"; - - container outgoing-route-updates { - description "Filter outgoing routing updates"; - - list outgoing-route-update { - key "protocol-name"; - description - "Filter outgoing routing updates for a - particular protocol"; - leaf protocol-name { - type Ospf-dist-list-protocol; - description "Distribute list protocol type"; - } - leaf access-list-name { - type string; - description "Access Control List name"; - } - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "First half of BGP AS number in XX.YY format. - Mandatory if Protocol is BGP and must not be - specified otherwise. Must be a non-zero value - if second half is zero."; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "Second half of BGP AS number in XX.YY format. - Mandatory if Protocol is BGP and must not be - specified otherwise. Must be a non-zero value - if first half is zero."; - } - leaf ospf-process-name { - type string; - description "OSPF process name"; - } - } - } - } - - grouping LDP-SYNC { - description - "Common node of process-scope, area-scope, - name-scope"; - leaf ldp-sync { - type boolean; - description "Enable/Disable MPLS LDP sync"; - } - } - - grouping IGNORE-MOSPF { - description "Common node of default-vrf, vrf"; - leaf ignore-mospf { - type empty; - description "Ignore MOSPF (Type 6) LSAs"; - } - } - - grouping NEIGHBOR-TABLE { - description - "Common node of name-scope, - multi-area-interface-scope"; - - container neighbors { - description "Neighbor router configuration information"; - - list neighbor { - key "neighbor-address"; - description - "Router configuration information for a - particular neighbor"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf priority { - type uint32 { - range "0..255"; - } - default "0"; - description "OSPF priority of non-broadcast neighbor"; - } - leaf poll-interval { - type uint32 { - range "0..65535"; - } - units "second"; - default "40"; - description "OSPF dead router poll-interval in seconds"; - } - leaf cost { - type uint32 { - range "1..65535"; - } - default "1"; - description "OSPF cost for point-to-multipoint neighbor"; - } - leaf database-filter { - type boolean; - default "false"; - description - "Database filter: Filter OSPF LSA during - synchronization and flooding for - point-to-multipoint"; - } - } - } - } - - grouping TYPE7 { - description "Common node of default-vrf, vrf"; - leaf type7 { - type empty; - description "Prefer type7 externals over type5"; - } - } - - grouping SPF-PREFIX-PRIORITY { - description "Common node of default-vrf, vrf"; - leaf spf-prefix-priority { - type string; - description - "Configure a route-policy for prioritizing RIB - route install."; - } - } - - grouping SNMP-CONTEXT { - description "Common node of default-vrf, vrf"; - leaf snmp-context { - type string; - description "OSPF SNMP context configuration"; - } - } - - grouping ROUTER-ID { - description "Common node of default-vrf, vrf"; - leaf router-id { - type inet:ipv4-address-no-zone; - description - "Router ID for this OSPF process. Enter an IP - Address."; - } - } - - grouping ADJACENCY-STAGGER { - description - "Common node of default-vrf, vrfCommon node of - default-vrf, vrf"; - - container adjacency-stagger { - description "Staggering OSPF adjacency bring up"; - leaf disable { - type empty; - description "Disable OSPF adjacency stagger"; - } - leaf initial-nbr { - type uint32 { - range "1..65535"; - } - default "2"; - description - "Adjacency Stagger: Initial number of neighbors - to bring up per area"; - } - leaf max-nbr { - type uint32 { - range "1..65535"; - } - default "64"; - description - "Adjacency Stagger: Subsequent simultaneous - number of neighbors to bring up"; - } - } - } - - grouping DEFAULT-METRIC { - description "Common node of default-vrf, vrf"; - leaf default-metric { - type uint32 { - range "1..16777214"; - } - default "1"; - description "Set default metric of redistributed routes"; - } - } - - grouping RETRANSMIT-INTERVAL { - description - "Common node of process-scope, area-scope, - name-scope, virtual-link-scope, sham-link-scope, - multi-area-interface-scope"; - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - default "5"; - description - "Time in seconds between retransmitting lost link - state advertisements"; - } - } - - grouping PRIORITY { - description "Common node of per-link, per-prefix"; - leaf priority { - type Ospf-fast-reroute-priority; - description - "Fast-reroute per-link/per-prefix priority-limit - command"; - } - } - - grouping IPV4-OSPF-CFG-PRIORITY { - description - "Common node of per-link, per-prefixCommon node of - process-scope, area-scope, name-scope"; - leaf priority { - type uint32 { - range "0..255"; - } - default "1"; - description "Router priority for DR and BDR election"; - } - } - - container ospf { - description "OSPF configuration data"; - - container processes { - description "Process related configuration"; - - list process { - key "process-name"; - description - "Configuration for a particular OSPF process and - associated default VRF"; - - container snmp { - description "OSPF SNMP configuration"; - - container trap-rate-limit { - presence "Indicates a trap-rate-limit node is"+ - " configured."; - description "Per OSPF process SNMP trap rate-limit"; - leaf window-size { - type uint32 { - range "2..60"; - } - mandatory true; - description "Trap rate limit sliding window size"; - } - leaf max-window-traps { - type uint32 { - range "0..300"; - } - mandatory true; - description - "Max number of traps to send in window time"; - } - } - } - - container distribute { - presence "enable distribute"; - description - "Enable distribution of link-state database - services"; - leaf throttle { - type uint32 { - range "1..3600"; - } - units "second"; - description "Seconds"; - } - leaf instance-id { - type uint32 { - range "0..4294967295"; - } - description "Instance ID"; - } - } - - container vrfs { - description "VRF related configuration"; - - list vrf { - key "vrf-name"; - description "Configuration for a particular OSPF vrf"; - - container domain-id { - description "OSPF Domain ID"; - - container primary-domain-id { - description "OSPF Primary domain ID"; - leaf domain-id-type { - type Ospf-domain-id; - description "Primary domain ID type"; - } - leaf domain-id-name { - type string; - description "Primary domain ID value"; - } - } - - container secondary-domain-ids { - description "Secondary domain ID Table"; - - list secondary-domain-id { - key "domain-id-type domain-id-name"; - description "OSPF Secondary domain ID"; - leaf domain-id-type { - type Ospf-domain-id; - description "Secondary domain ID type"; - } - leaf domain-id-name { - type xr:Cisco-ios-xr-string; - description "Secondary domain ID value"; - } - } - } - } - leaf vrf-start { - type empty; - description "Start OSPF VRF configuration"; - } - leaf snmp-trap-enabled { - type boolean; - default "false"; - description "Enable/disable OSPF SNMP trap"; - } - leaf domain-tag { - type uint32 { - range "1..4294967295"; - } - description "32 bit Domain tag value"; - } - leaf vrf-lite { - type empty; - description "VRF lite capability"; - } - leaf disable-dn-bit-check { - type empty; - description "Disable DN bit check"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name for this vrf"; - } - uses MICROLOOP; - uses IGNORE-MOSPF; - uses MAXIMUM-REDISTRIBUTE-PREFIX; - uses DEFAULT-INFORMATION; - uses AF; - uses QUEUE; - uses ROUTER-ID; - uses TYPE7; - uses MAX-METRIC; - uses SNMP-CONTEXT; - uses MAXIMUM-INTERFACES; - uses NO-OPAQUE; - uses NSF; - uses PROCESS-SCOPE; - uses SPF-PREFIX-PRIORITY; - uses REDISTRIBUTION; - uses ADJACENCY-STAGGER; - uses MAX-LSA; - uses AUTO-COST; - uses UCMP; - uses MAXIMUM-PATHS; - uses FAST-REROUTE; - uses SUMMARY-PREFIX-TABLE; - uses ADJACENCY-CHANGES; - uses OUTGOING-ROUTE-UPDATE-TABLE; - uses DISTANCE; - uses AREA-TABLE; - uses TIMERS; - uses DEFAULT-METRIC; - } - } - - container trace-bufs { - description - "Configuration to change size of trace buffer"; - - list trace-buf { - key "trace-buf-name"; - description - "Changes the size of the specified trace - buffer"; - leaf trace-buf-name { - type xr:Cisco-ios-xr-string; - description "Name for this trace buffer"; - } - leaf bufsize { - type Ospf-trace-buf-size; - mandatory true; - description "Buffer size"; - } - } - } - - container graceful-shutdown-timers { - description "Adjust routing timers"; - leaf graceful-shutdown-retain-routes { - type uint32 { - range "0..90"; - } - units "second"; - default "5"; - description - "Time to keep OSPF routes active after - graceful shutdown(in seconds)"; - } - leaf graceful-shutdown-initial-delay { - type uint32 { - range "0..90"; - } - units "second"; - default "5"; - description - "Number of seconds to delay before beginning - graceful shutdown"; - } - } - - container default-vrf { - description "Default VRF related configuration"; - - container monitor-convergence { - description "Enable convergence monitoring"; - leaf enable { - type empty; - description "Enable convergence monitoring"; - } - leaf prefix-list { - type string; - description - "Enable the monitoring of individual prefixes - (prefix list name)"; - } - leaf track-ip-frr { - type empty; - description - "Enable the Tracking of IP-Frr Convergence"; - } - leaf track-external-routes { - type empty; - description - "Enable the monitoring of External routes"; - } - leaf track-summary-routes { - type empty; - description "Enable the monitoring of Summary routes"; - } - } - - container segment-routing { - description - "Segment Routing instance scoped parameters"; - - container sr-prefer { - description - "Prefer segment routing labels over LDP - labels"; - leaf enable { - type boolean; - description - "Enable SR labels to be preferred over LDP - labels"; - } - leaf prefix-list-name { - type string; - description "Name of the Prefix List"; - } - } - leaf prefix-sid-map-receive-disable { - type empty; - description "Disable prefix-SID mapping client"; - } - leaf prefix-sid-map-advertise-local { - type empty; - description - "Enable advertisement of local SRMS entries"; - } - leaf strict-spf-disable { - type empty; - description - "Strict-SPF support and SID advertisement"; - } - } - - container mpls { - description - "Configure MPLS routing protocol parameters"; - - container mpls-router-id { - description - "MPLS-TE stable loopback address for this - OSPF process.Enter either as IP Address or - Interface name, but not both. Unused field - must be nil"; - leaf address { - type inet:ipv4-address-no-zone; - description - "MPLS-TE stable IP address for this OSPF - process"; - } - leaf interface-name { - type xr:Interface-name; - description - "MPLS-TE stable loopback interface for this - OSPF process"; - } - } - leaf igp-intact { - type empty; - description "Enable igp-intact mode in OSPF"; - } - leaf ldp-sync-update { - type empty; - description - "Enable LDP sync induced metric propagation"; - } - leaf multicast-intact { - type empty; - description "Enable multicast-intact mode in OSPF"; - } - leaf autoroute-exclude { - type string; - description - "Exclude IP destinations from using TE - tunnels"; - } - } - uses MICROLOOP; - uses IGNORE-MOSPF; - uses MAXIMUM-REDISTRIBUTE-PREFIX; - uses DEFAULT-INFORMATION; - uses AF; - uses QUEUE; - uses ROUTER-ID; - uses TYPE7; - uses MAX-METRIC; - uses SNMP-CONTEXT; - uses MAXIMUM-INTERFACES; - uses NO-OPAQUE; - uses NSF; - uses PROCESS-SCOPE; - uses SPF-PREFIX-PRIORITY; - uses REDISTRIBUTION; - uses ADJACENCY-STAGGER; - uses MAX-LSA; - uses AUTO-COST; - uses UCMP; - uses MAXIMUM-PATHS; - uses FAST-REROUTE; - uses SUMMARY-PREFIX-TABLE; - uses ADJACENCY-CHANGES; - uses OUTGOING-ROUTE-UPDATE-TABLE; - uses DISTANCE; - uses AREA-TABLE; - uses TIMERS; - uses DEFAULT-METRIC; - } - leaf start { - type empty; - description "Start OSPF configuration"; - } - leaf nsr { - type Nsr; - default "true"; - description "Enable non-stop routing"; - } - leaf protocol-shutdown { - type Ospf-shutdown; - description "Type of protocol shutdown"; - } - leaf process-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name for this OSPF process"; - } - uses RUNNING; - } - } - - container global { - description "OSPF global configuration data"; - leaf dns-name-lookup { - type empty; - description "Display OSPF router ids as DNS names"; - } - } - } - - augment "/a1:snmp/a1:notification" { - - container ospf { - description "OSPF-MIB notification configuration"; - - container lsa { - description "SNMP notifications related to LSAs"; - leaf max-age-lsa { - type empty; - description "Enable ospfMaxAgeLsa notification"; - } - leaf originate-lsa { - type empty; - description "Enable ospfOriginateLsa notification"; - } - } - - container state-change { - description "SNMP notifications for OSPF state change"; - leaf interface { - type empty; - description "Enable ospfIfStateChange notification"; - } - leaf virtual-interface { - type empty; - description "Enable ospfVirtIfStateChange notification"; - } - leaf virtual-neighbor { - type empty; - description "Enable ospfVirtNbrStateChange notification"; - } - leaf neighbor { - type empty; - description "Enable ospfNbrStateChange notification"; - } - } - - container retransmit { - description "SNMP notifications for packet retransmissions"; - leaf virtual-packet { - type empty; - description "Enable ospfVirtIfTxRetransmit notification"; - } - leaf packet { - type empty; - description "Enable ospfTxRetransmit notification"; - } - } - - container error { - description "SNMP notifications for OSPF errors"; - leaf config-error { - type empty; - description "Enable ospfIfConfigError notification"; - } - leaf authentication-failure { - type empty; - description "Enable ospfIfAuthFailure notification"; - } - leaf virtual-config-error { - type empty; - description "Enable ospfVirtIfConfigError notification"; - } - leaf virtual-authentication-failure { - type empty; - description "Enable ospfVirtIfAuthFailure notification"; - } - leaf bad-packet { - type empty; - description "Enable ospfIfRxBadPacket notification"; - } - leaf virtual-bad-packet { - type empty; - description "Enable ospfVirtIfRxBadPacket notification"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang deleted file mode 100644 index 4579412..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang +++ /dev/null @@ -1,172 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ospf-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-ospf-oper { - prefix Cisco-IOS-XR-ipv4-ospf-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ospf package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-02" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Srms-mi-flag-e-b { - type enumeration { - enum false { - value 0; - description "False"; - } - enum true { - value 1; - description "True"; - } - } - description "Srms mi flag e b"; - } - typedef In6-addr-t-b { - type inet:ipv6-address; - description "In6 addr t b"; - } - typedef Srms-mi-af-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Srms mi af e b"; - } - typedef Srms-mi-src-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum local { - value 1; - description "Local"; - } - enum remote { - value 2; - description "Remote"; - } - } - description "Srms mi src e b"; - } - - grouping ADDR { - description "ADDR"; - leaf af { - type Srms-mi-af-e-b; - description "AF"; - } - leaf ipv4 { - when "../af = 'ipv4'" { - description "../AF = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4"; - } - leaf ipv6 { - when "../af = 'ipv6'" { - description "../AF = 'IPv6'"; - } - type In6-addr-t-b; - description "IPv6"; - } - } - - grouping SRMS-MI-T-B { - description "SRMS show bag"; - - container addr { - description "addr"; - uses ADDR; - } - leaf src { - type Srms-mi-src-e-b; - description "src"; - } - leaf router { - type string { - length "0..30"; - } - description "Router ID"; - } - leaf area { - type string { - length "0..30"; - } - description "Area (OSPF) or Level (ISIS)"; - } - leaf prefix { - type uint8; - description "Prefix length"; - } - leaf sid-start { - type uint32; - description "Starting SID"; - } - leaf sid-count { - type uint32; - description "SID range"; - } - leaf last-prefix { - type string { - length "0..50"; - } - description "Last IP Prefix"; - } - leaf last-sid-index { - type uint32; - description "Last SID Index"; - } - leaf flag-attached { - type Srms-mi-flag-e-b; - description "Attached flag"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang deleted file mode 100644 index 3374cb3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang +++ /dev/null @@ -1,5361 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ospf-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-ospf-oper { - prefix Cisco-IOS-XR-ipv4-ospf-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ospf package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-02" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospf-sh-opq-ri-pce-addr-types { - type enumeration { - enum mgmt-ospf-opq-pce-addr-type-invalid { - value 0; - description "Invalid PCE Address"; - } - enum mgmt-ospf-opq-pce-addr-type-ipv4 { - value 1; - description "IPv4 PCE Address"; - } - enum mgmt-ospf-opq-pce-addr-type-ipv6 { - value 2; - description "IPv6 PCE Address"; - } - } - description "OSPF PCE Address Type"; - } - typedef Ospf-sh-opq-ri-tlv-types { - type enumeration { - enum mgmt-ospf-opq-ri-tlv-type-unknown { - description "Unknown"; - } - enum mgmt-ospf-opq-ri-tlv-type-rtrcap { - description "Router Capabilities"; - } - enum mgmt-ospf-opq-ri-tlv-type-pce-discovery { - description "PCE Discovery"; - } - enum mgmt-ospf-opq-ri-tlv-type-sr-algo { - description "Segment Routing Algorithm"; - } - enum mgmt-ospf-opq-ri-tlv-type-sr-range { - description "Segment Routing SID Range"; - } - enum mgmt-ospf-opq-ri-tlv-type-node-msd { - description "Node MSD (Max SID Depth)"; - } - } - description "OSPF Router Information TLV types"; - } - typedef Ospf-lsa-opq-ri-scope { - type enumeration { - enum mgmt-lsa-opq-ri-scope-link { - value 9; - description "Link-local Router Information LSA"; - } - enum mgmt-lsa-opq-ri-scope-area { - value 10; - description "Area-scope Router Information LSA"; - } - enum mgmt-lsa-opq-ri-scope-as { - value 11; - description "AS-scope Router Information LSA"; - } - } - description "OSPF Router Information LSA scope types"; - } - typedef Ospf-gr-reason { - type enumeration { - enum mgmt-gr-reason-unknown { - description "Unknown"; - } - enum mgmt-gr-reason-sw-restart { - description "Software restart"; - } - enum mgmt-gr-reason-sw-upgrade { - description "Software reload/upgrade"; - } - enum mgmt-gr-reason-switchover { - description "Switch to redundant control processor"; - } - } - description "Ospf gr reason"; - } - typedef Stlv { - type enumeration { - enum mgmt-rrr-link-type { - value 1; - description "Link Type"; - } - enum mgmt-rrr-link-id { - value 2; - description "Link ID"; - } - enum mgmt-rrr-link-local-if-addr { - value 3; - description "Local interface IP address"; - } - enum mgmt-rrr-link-remote-if-addr { - value 4; - description "Remote interface IP address"; - } - enum mgmt-rrr-link-metric { - value 5; - description "Traffic Engineering metric"; - } - enum mgmt-rrr-link-max-bw { - value 6; - description "Maximum Link Bandwidth"; - } - enum mgmt-rrr-link-max-reservable-bw { - value 7; - description "Maximum Reservable bandwidth"; - } - enum mgmt-rrr-link-unreserved-bw { - value 8; - description "Unreserved Bandwidth"; - } - enum mgmt-rrr-link-re-source-class { - value 9; - description "Administrative group"; - } - enum mgmt-rrr-link-in-out-if-id { - value 11; - description "Link Local/Remote Identifiers"; - } - enum mgmt-rrr-link-if-switching-cap-desc { - value 15; - description "Interface Switching Capability Descriptor"; - } - enum mgmt-ospf-rrr-link-srlg { - value 16; - description "Shared Risk Link Group"; - } - enum mgmt-rrr-link-bw-constraints-sub { - value 17; - description "Bandwidth constraints"; - } - enum mgmt-ospf-rrr-link-uni-delay { - value 27; - description "Unidirectional link delay"; - } - enum mgmt-ospf-rrr-link-max-reservable-bw-sub { - value 32768; - description "Maximum reservable sub-pool bandwidth"; - } - enum mgmt-ospf-rrr-link-unreserved-bw-sub { - value 32769; - description "Unreserved sub-pool bandwidth"; - } - enum mgmt-rrr-link-igp-metric { - value 32770; - description "IGP Link Metric"; - } - enum mgmt-ospf-rrr-link-ext-admin-sub { - value 32771; - description "Extended admin"; - } - } - description "OSPF Opaque-area Type 1 sub TLV types"; - } - typedef Ex-metric { - type enumeration { - enum mgmt-ex-metric-type-none { - value 0; - description "No metric type"; - } - enum mgmt-ex-metric-type-1 { - value 1; - description "Type 1 External"; - } - enum mgmt-ex-metric-type-2 { - value 2; - description "Type 2 External"; - } - } - description "Ex metric"; - } - typedef Ospf-link-types { - type enumeration { - enum mgmt-rtr-link { - value 1; - description "Link to a Router"; - } - enum mgmt-trans-link { - value 2; - description "Link to a transit network"; - } - enum mgmt-stub-net { - value 3; - description "Link to Stub network"; - } - enum mgmt-vitural-link { - value 4; - description "Link to Virtual Link"; - } - } - description "Type of router LSA links"; - } - typedef Ospf-internal-lsa-types { - type enumeration { - enum mgmt-rtr-type { - value 1; - description "Router LSA"; - } - enum mgmt-ntwk-type { - value 2; - description "Network LSA"; - } - enum mgmt-sum-type { - value 3; - description "Summary and ASBR summary LSA"; - } - enum mgmt-ext-type { - value 4; - description "Type 5 and NSSA external LSA"; - } - enum mgmt-opq-type { - value 5; - description "Generic AS/Area Opaque LSA"; - } - enum mgmt-opq-link-type { - value 6; - description "Generic Link Opaque LSA"; - } - enum mgmt-opq-rrr-type { - value 7; - description "Opaque Area type 1 LSA"; - } - enum mgmt-opq-gr-type { - value 8; - description "Opaque link type 1 LSA"; - } - enum mgmt-opq-ri-type { - value 9; - description "Opaque Router Information LSA"; - } - enum mgmt-opq-epl-type { - value 10; - description "Opaque Area type 128"; - } - enum mgmt-opq-ell-type { - value 11; - description "Opaque Area type 8"; - } - } - description "OSPF LSA format types"; - } - typedef Timer { - type enumeration { - enum mgmt-db-stop { - description "Timer stopped"; - } - enum mgmt-db-refresh { - description "Refresh"; - } - enum mgmt-db-checksum { - description "Checksum"; - } - enum mgmt-db-max-age { - description "Maxage"; - } - } - description - "The LSA timer running can be refresh, checksum or - maxage"; - } - typedef Timer-table { - type enumeration { - enum mgmt-db-no-table { - description "Not in time table"; - } - enum mgmt-db-sec-table { - description "In second table"; - } - enum mgmt-db-buffer-table { - description "In buffer table"; - } - enum mgmt-db-min-table { - description "In minute table"; - } - } - description - "The throttled LSA can be in second, buffer or - minute timer table"; - } - typedef Ospf-srgb-status { - type enumeration { - enum not-allocated { - value 0; - description "Not allocated"; - } - enum pending { - value 1; - description "Allocation pending"; - } - enum allocated { - value 2; - description "Allocated"; - } - } - description "Ospf srgb status"; - } - typedef Uloop-avoidance { - type enumeration { - enum none { - value 0; - description "No uloop avoidance"; - } - enum protected-prefixes { - value 1; - description - "Apply Local uloop avoidance only for protected - prefixes"; - } - enum all-prefixes { - value 2; - description "Apply Local uloop avoidance for all prefixes"; - } - enum segment-routing-uloop { - value 3; - description "Apply segment routing uloop avoidance"; - } - } - description "Uloop avoidance"; - } - typedef Gs-state { - type enumeration { - enum mgmt-gs-init { - description "Process in initialization "; - } - enum mgmt-gs-normal { - description "Graceful Shutdown not running"; - } - enum mgmt-gs-delay { - description "Delaying before Graceful Shutdown"; - } - enum mgmt-gs-flush { - description "Flushing self originated LSAs"; - } - enum mgmt-gs-hello { - description "Sending empty hellos"; - } - enum mgmt-gs-quiet { - description "Shutdown mode."; - } - } - description "Gs state"; - } - typedef Max-metric-unset-reason { - type enumeration { - enum mgmt-max-metric-unset-none { - description "none"; - } - enum mgmt-max-metric-unset-bgp { - description "BGP converged"; - } - enum mgmt-max-metric-unset-timer { - description "timer expired"; - } - enum mgmt-max-metric-unset-cfg { - description "unconfigured"; - } - enum mgmt-max-metric-unset-process-cleared { - description "process cleared"; - } - enum mgmt-max-metric-unset-over-write { - description "set for other reason"; - } - } - description "Max metric unset reason"; - } - typedef Ospf-max-metric-abr-off-reasons { - type enumeration { - enum ospf-max-metric-abr-off-reason-none { - value 0; - description "No reason"; - } - enum ospf-max-metric-abr-off-reason-no-nbr { - value 1; - description "No neighbors seen yet"; - } - enum ospf-max-metric-abr-off-reason-new-nbr { - value 2; - description "New neighbor seen recently"; - } - enum ospf-max-metric-abr-off-reason-nbr-full { - value 4; - description "Adjacency FULL seen recently"; - } - enum ospf-max-metric-abr-off-reason-flush-p-end { - value 8; - description "LSA flushes pending"; - } - } - description "Ospf max metric abr off reasons"; - } - typedef Max-metric-set-reason { - type enumeration { - enum mgmt-max-metric-on-proc-migration { - description "proc migration"; - } - enum mgmt-max-metric-on-proc-restart { - description "proc restart"; - } - enum mgmt-max-metric-on-switchover { - description "switch over"; - } - enum mgmt-max-metric-on-startup { - description "start up"; - } - enum mgmt-max-metric-always { - description "always"; - } - enum mgmt-max-metric-reason-none { - description "none"; - } - } - description "Max metric set reason"; - } - typedef Sr-uloop-event { - type enumeration { - enum none { - value 0; - description "No SR uloop event"; - } - enum link-down { - value 1; - description "SR Uloop Event Link Down"; - } - enum link-up { - value 2; - description "SR Uloop Event Link Up"; - } - } - description "Sr uloop event"; - } - typedef Ospf-br { - type enumeration { - enum mgmt-d-type-abr-asbr { - description "Both Area Border Router and AS Border Router"; - } - enum mgmt-d-type-asbr { - description "AS Border Router"; - } - enum mgmt-d-type-abr { - description "Area Border Router"; - } - } - description "Ospf br"; - } - typedef Ipfrr-tbrkr { - type enumeration { - enum downstream { - value 0; - description "Downsteram"; - } - enum line-card-disjoint { - value 1; - description "LC Disjoint"; - } - enum backup-metric { - value 2; - description "Backup metric"; - } - enum node-protect { - value 3; - description "Node protection"; - } - enum primary-path { - value 4; - description "Primary path"; - } - enum secondary-path { - value 5; - description "Secondary path"; - } - enum srlg-disjoint { - value 6; - description "SRLG disjoint"; - } - enum tunnel { - value 7; - description "Tunnel"; - } - enum post-convergence { - value 8; - description "Post Convergence"; - } - } - description "FRR Tiebreakers"; - } - typedef Ipfrr { - type enumeration { - enum none { - value 0; - description "Disabled"; - } - enum per-link { - value 1; - description "Per link"; - } - enum per-prefix { - value 2; - description "Per prefix"; - } - } - description "FRR Types"; - } - typedef Interface-state { - type enumeration { - enum mgmt-ifs-unknown { - description "Interface state unknown"; - } - enum mgmt-ifs-admin-down { - description "Interface is administratively down"; - } - enum mgmt-ifs-down { - description "Interface is down"; - } - enum mgmt-ifs-up { - description "Interface is up"; - } - enum mgmt-ifs-shutdown { - description "Interface is administratively down"; - } - } - description "Interface state"; - } - typedef Authentication { - type enumeration { - enum mgmt-ospf-auth-none { - value 0; - description "No Authentication"; - } - enum mgmt-ospf-auth-ct { - value 1; - description "Clear Text"; - } - enum mgmt-ospf-auth-md { - value 2; - description "MD5"; - } - enum mgmt-ospf-auth-kc { - value 3; - description "Keychain"; - } - } - description "Authentication"; - } - typedef Ospf-interface-state { - type enumeration { - enum mgmt-ospf-ifs-down { - value 0; - description "Down"; - } - enum mgmt-ospf-ifs-loop-back { - value 1; - description "Loopback"; - } - enum mgmt-ospf-ifs-waiting { - value 2; - description "Waiting"; - } - enum mgmt-ospf-ifs-point-to-m-point { - value 3; - description "Point to multipoint"; - } - enum mgmt-ospf-ifs-point-to-point { - value 4; - description "Point to point"; - } - enum mgmt-ospf-ifs-dr { - value 5; - description "DesignatedRouter"; - } - enum mgmt-ospf-ifs-backup { - value 6; - description "Backup Designated Router"; - } - enum mgmt-ospf-ifs-other { - value 7; - description "Designated Router Other"; - } - } - description "Ospf interface state"; - } - typedef String1 { - type string; - description "String1"; - } - typedef Redist-protocol { - type enumeration { - enum mgmt-rib-protocol-all { - description "Unknown"; - } - enum mgmt-rib-protocol-connected { - description "Connected"; - } - enum mgmt-rib-protocol-local { - description "Local"; - } - enum mgmt-rib-protocol-static { - description "Static"; - } - enum mgmt-rib-protocol-bgp { - description "BGP"; - } - enum mgmt-rib-protocol-rip { - description "RIP"; - } - enum mgmt-rib-protocol-isis { - description "ISIS"; - } - enum mgmt-rib-protocol-ospf { - description "OSPF"; - } - enum mgmt-rib-protocol-eigrp { - description "EIGRP"; - } - enum mgmt-rib-protocol-dagr { - description "DAGR"; - } - enum mgmt-rib-protocol-subscriber { - description "Subscriber"; - } - enum mgmt-rib-protocol-application { - description "Application"; - } - enum mgmt-rib-protocol-mobile { - description "Mobile"; - } - } - description "Redist protocol"; - } - typedef Ospf-route { - type enumeration { - enum mgmt-r-type-none { - value 0; - description "No route type"; - } - enum mgmt-r-type-other { - value 1; - description "Not set"; - } - enum mgmt-r-type-intra { - value 2; - description "Intra-area route"; - } - enum mgmt-r-type-inter { - value 4; - description "Inter-area route"; - } - enum mgmt-r-type-extern1 { - value 8; - description "Type 1 External route"; - } - enum mgmt-r-type-extern2 { - value 16; - description "Type 2 External route"; - } - enum mgmt-r-type-isis-sum { - value 32; - description "IS-IS summary route"; - } - enum mgmt-r-type-isis-l1 { - value 64; - description "IS-IS level 1 route"; - } - enum mgmt-r-type-isis-l2 { - value 128; - description "IS-IS level 2 route"; - } - enum mgmt-r-type-isis-l1-ia { - value 256; - description "IS-IS level 1 inter-area route"; - } - enum mgmt-r-type-bgp-int { - value 512; - description "iBGP route"; - } - enum mgmt-r-type-bgp-ext { - value 1024; - description "eBGP route"; - } - enum mgmt-r-type-bgp-loc { - value 2048; - description "BGP local route"; - } - enum mgmt-r-type-nssa1 { - value 4096; - description "Type 1 NSSA route"; - } - enum mgmt-r-type-nssa2 { - value 8192; - description "Type 2 NSSA route"; - } - enum mgmt-r-type-i-grp2-int { - value 16384; - description "EIGRP internal route"; - } - enum mgmt-r-type-i-grp2-ext { - value 32768; - description "EIGRP external route"; - } - } - description "Ospf route"; - } - typedef Nsf-rtr { - type enumeration { - enum mgmt-nsf-rtr-none { - description "None"; - } - enum mgmt-nsf-rtr-requester { - description "Requester"; - } - enum mgmt-nsf-rtr-receiver { - description "Receiver"; - } - } - description "Nsf rtr"; - } - typedef Interface { - type enumeration { - enum mgmt-if-broadcast { - value 1; - description "Broadcast"; - } - enum mgmt-if-nonbroadcast { - value 2; - description "Non broadcast multi access"; - } - enum mgmt-if-point-to-point { - value 3; - description "Point to Point"; - } - enum mgmt-if-point-to-m-point { - value 4; - description "Point to multipoint"; - } - enum mgmt-if-p2mp-non-bcast { - value 5; - description "Non broadcast point to multipoint"; - } - enum mgmt-if-virtual-link { - value 6; - description "Virtual link"; - } - enum mgmt-if-sham-link { - value 7; - description "Sham link"; - } - enum mgmt-if-loop-back { - value 8; - description "Loopback"; - } - } - description "Interface"; - } - typedef Dr-bdr-state { - type enumeration { - enum mgmt-dbdr-none { - description "None"; - } - enum mgmt-dbdr-dr { - description "Designated Router"; - } - enum mgmt-dbdr-bdr { - description "Backup Designated Router"; - } - enum mgmt-dbdr-dr-other { - description "Designated Router Other"; - } - } - description "Dr bdr state"; - } - typedef Neighbor-state { - type enumeration { - enum mgmt-nbr-down { - value 0; - description "Down"; - } - enum mgmt-nbr-attempt { - value 1; - description "Attempt"; - } - enum mgmt-nbr-init { - value 2; - description "Init"; - } - enum mgmt-nbr-2way { - value 3; - description "2 Way"; - } - enum mgmt-nbr-ex-start { - value 4; - description "Exstart"; - } - enum mgmt-nbr-ex-change { - value 5; - description "Exchange"; - } - enum mgmt-nbr-load-ing { - value 6; - description "Loading"; - } - enum mgmt-nbr-full { - value 7; - description "Full"; - } - enum mgmt-nbr-sc-virtual { - value 8; - description "SCvirtual"; - } - } - description "Neighbor state"; - } - typedef Mpls-te-opt-tlv { - type enumeration { - enum mpls-te-opt-tlv-type-none { - value 0; - description "None"; - } - enum mpls-te-opt-tlv-type-srlg { - value 1; - description "SRLGs"; - } - enum mpls-te-opt-tlv-type-bc { - value 2; - description "Bandwidth Constraints"; - } - enum mpls-te-opt-tlv-type-ixcd { - value 3; - description "Intarface Switching Capability Descriptor"; - } - enum mpls-te-opt-tlv-type-uni-delay { - value 4; - description "Unidirectional Link Delay"; - } - } - description "Mpls te opt tlv"; - } - typedef Igpte-lib-bw-model { - type enumeration { - enum rdm { - value 0; - description "Russian Dolls Model"; - } - enum mam { - value 1; - description "Maximum Allocation Model"; - } - enum not-set { - value 2; - description "No model set"; - } - } - description "Bandwidth model"; - } - typedef Link-subnet { - type enumeration { - enum mgmt-igp-subnet-type-none { - value 0; - description "None"; - } - enum mgmt-igp-subnet-type-p2p { - value 1; - description "Point to Point"; - } - enum mgmt-igp-subnet-type-broadcast { - value 2; - description "Broadcast"; - } - enum mgmt-igp-subnet-type-nbma { - value 3; - description "Non Broadcast Multi Access"; - } - enum mgmt-igp-subnet-type-p2mp { - value 4; - description "Point to multipoint"; - } - enum mgmt-igp-subnet-type-loop-back { - value 5; - description "Loopback"; - } - enum mgmt-igp-subnet-type-max { - value 6; - description "Unsupported"; - } - } - description "Link subnet"; - } - typedef Lsa { - type enumeration { - enum mgmt-lsa-type-rtr { - value 1; - description "Router LSA"; - } - enum mgmt-lsa-type-net { - value 2; - description "Network LSA"; - } - enum mgmt-lsa-type-sum-net { - value 3; - description "Summary LSA"; - } - enum mgmt-lsa-type-sum-asb { - value 4; - description "Summary-ASBR LSA"; - } - enum mgmt-lsa-type-ext { - value 5; - description "AS external LSA"; - } - enum mgmt-lsa-type-mospf { - value 6; - description "MOSPF LSA"; - } - enum mgmt-lsa-type-7-ase { - value 7; - description "Type-7 External LSA"; - } - enum mgmt-lsa-type-8-ignore { - value 8; - description "Invalid type"; - } - enum mgmt-lsa-type-opq-link { - value 9; - description "Opaque link LSA"; - } - enum mgmt-lsa-type-opq-area { - value 10; - description "Opaque Area LSA"; - } - enum mgmt-lsa-type-opq-as { - value 11; - description "Opaque AS LSA"; - } - } - description "Lsa"; - } - - grouping OSPF-SH-IPFRR-TOPO-ENTRY { - description "OSPF_IPFRR Topology Entry"; - leaf node-id { - type inet:ipv4-address; - description "IPFRR Topology Node ID"; - } - leaf distance { - type uint32; - description "IPFRR Topology Distance"; - } - leaf distance-reverse { - type uint32; - description "IPFRR Topology Reverse Distance"; - } - leaf type4 { - type boolean; - description "IPFRR Topoogy Type-4 entry"; - } - leaf revision { - type uint32; - description "IPFRR Topology Revision"; - } - leaf neighbor-sourced { - type boolean; - description "IPFRR Topology Neighbor Sourced"; - } - leaf dr { - type boolean; - description "IPFRR Topology DR entry"; - } - leaf poison { - type boolean; - description "IPFRR Topology rSPT poison"; - } - } - - grouping OSPF-SH-IPFRR-TOPO { - description "OSPF IPFRR Topology Information"; - leaf ipfrr-topo-area-id { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted decimal - format"; - } - leaf ipfrr-router-id { - type inet:ipv4-address; - description "OSPF Router ID"; - } - leaf ipfrr-area-revision { - type uint32; - description "IPFRR Topology Revision"; - } - - list ipfrr-topo { - description "IPFRR Topology entries"; - uses OSPF-SH-IPFRR-TOPO-ENTRY; - } - } - - grouping OSPF-SH-STATS-AGGT { - description "OSPF SH STATS AGGT"; - leaf sa-num-nbrs { - type uint32; - description "sa num nbrs"; - } - leaf sa-num-nbrs-up { - type uint32; - description "sa num nbrs up"; - } - leaf sa-num-intf { - type uint32; - description "sa num intf"; - } - leaf sa-num-intf-up { - type uint32; - description "sa num intf up"; - } - leaf sa-num-vintf-up { - type uint32; - description "sa num vintf up"; - } - leaf sa-num-slintf-up { - type uint32; - description "sa num slintf up"; - } - leaf sa-num-areas { - type uint32; - description "sa num areas"; - } - leaf sa-lsa-cnt-type-rtr { - type uint32; - description "sa lsa cnt type rtr"; - } - leaf sa-lsa-cnt-type-net { - type uint32; - description "sa lsa cnt type net"; - } - leaf sa-lsa-cnt-type-sum-net { - type uint32; - description "sa lsa cnt type sum net"; - } - leaf sa-lsa-cnt-type-sum-asb { - type uint32; - description "sa lsa cnt type sum asb"; - } - leaf sa-lsa-cnt-type-ase { - type uint32; - description "sa lsa cnt type ase"; - } - leaf sa-lsa-cnt-type-mospf { - type uint32; - description "sa lsa cnt type mospf"; - } - leaf sa-lsa-cnt-type-7ase { - type uint32; - description "sa lsa cnt type 7ase"; - } - leaf sa-lsa-cnt-type-8-ignore { - type uint32; - description "sa lsa cnt type 8 ignore"; - } - leaf sa-lsa-cnt-type-opq-link { - type uint32; - description "sa lsa cnt type opq link"; - } - leaf sa-lsa-cnt-type-opq-area { - type uint32; - description "sa lsa cnt type opq area"; - } - leaf sa-lsa-cnt-type-opq-as { - type uint32; - description "sa lsa cnt type opq as"; - } - } - - grouping OSPF-SH-SUMMARY-ADDRESS { - description "OSPF Summary Address"; - leaf summary-prefix { - type inet:ipv4-address; - description "Summary prefix"; - } - leaf summary-mask { - type inet:ipv4-address; - description "Summary Netmask"; - } - leaf summary-metric { - type uint32; - description "Cost of Summary"; - } - leaf summary-metric-type { - type Ex-metric; - description "Type of Metric"; - } - leaf summary-tag { - type uint32; - description "Tag associated with this summary prefix"; - } - } - - grouping OSPF-SH-DB-AS-SUM { - description "OSPF AS Scope LSA Database Summary counters"; - - list as-lsa-counter { - description "Summary counter for AS scope LSAs"; - uses OSPF-SH-DB-SUM-CNTR; - } - } - - grouping OSPF-SH-DB-SUM-CNTR { - description "OSPF Summary counters for a type"; - leaf lsa-type { - type Lsa; - description "Type of LSAs"; - } - leaf lsa-count { - type int32; - description "Number of LSAs of this type"; - } - leaf lsa-delete-count { - type int32; - description "Number of deleted LSAs of this type"; - } - leaf lsa-maxage-count { - type int32; - description "Number of MaxAged LSAs of this type"; - } - leaf lsa-self-count { - type int32; - description "Number of self-generated LSAs"; - } - } - - grouping OSPF-SH-DB-AREA-SUM { - description "OSPF Area Scope Database Summary counters"; - leaf dbase-sum-area-id-string { - type string { - length "0..16"; - } - description "Area id"; - } - - list area-lsa-counter { - description "Summary counters for Area scope LSAs"; - uses OSPF-SH-DB-SUM-CNTR; - } - } - - grouping OSPF-SH-DATABASE { - description "OSPF Database Information"; - - container lsa-header { - description "LSA header information"; - uses OSPF-SH-DB-HEADER; - } - leaf external-tag { - type uint32; - description "Route Tag"; - } - leaf link-count { - type uint16; - description "Number of links"; - } - } - - grouping OSPF-SH-LSA-OPQ-ELL { - description - "OSPF Opaque-area type 8 ExtendedLink LSA - Information"; - - list tlv { - description "List of TLVs"; - uses OSPF-SH-OPQ-TLV; - } - } - - grouping OSPF-SH-LSA-OPQ-EPL { - description - "OSPF Opaque-area type 128 ExtendedPrefix LSA - Information"; - - list tlv { - description "List of TLVs"; - uses OSPF-SH-OPQ-TLV; - } - } - - grouping OSPF-SH-OPQ-RI-MSD-SUBTYPE { - description "OSPF MSD Subtype"; - leaf msd-sub-type { - type uint8; - description "MSD SubType"; - } - leaf msd-value { - type uint8; - description "MSD Value"; - } - } - - grouping OSPF-SH-OPQ-RI-NODE-MSD-TLV { - description "OSPF Node MSD TLV"; - - container node-msd-sub-types { - description "Node MSD Subtypes"; - uses OSPF-SH-OPQ-RI-MSD-SUBTYPE; - } - leaf node-msdtlv-length { - type uint16; - description "Length of TLV"; - } - } - - grouping OSPF-SH-SR-SID-STLV { - description "OSPF PCE-Discovery PCE Scope SubTLV"; - leaf sr-sid-length { - type uint16; - description "Length of sub-TLV"; - } - leaf sr-sid-value { - type uint32; - description "SID Value"; - } - } - - grouping OSPF-SH-OPQ-RI-SR-RANGE-TLV { - description "OSPF SR Range TLV"; - - container sidtlv { - description "SID sub-TLV"; - uses OSPF-SH-SR-SID-STLV; - } - leaf sr-range-length { - type uint16; - description "Length of TLV"; - } - leaf sr-range-size { - type uint32; - description "SR Range Size"; - } - } - - grouping OSPF-SH-OPQ-RI-SR-ALGO-TLV { - description "OSPF SR Algorithm TLV"; - leaf sr-algo-length { - type uint16; - description "Length of TLV"; - } - leaf sr-algo-value { - type yang:hex-string; - description "SR Algorithms"; - } - } - - grouping OSPF-SH-OPQ-RI-PCED-SCOPE-STLV { - description "OSPF PCE-Discovery PCE Scope SubTLV"; - leaf lbit { - type boolean; - description "L Bit"; - } - leaf rbit { - type boolean; - description "R Bit"; - } - leaf rd-bit { - type boolean; - description "Rd Bit"; - } - leaf sbit { - type boolean; - description "S Bit"; - } - leaf sd-bit { - type boolean; - description "Sd Bit"; - } - leaf ybit { - type boolean; - description "Y Bit"; - } - leaf pref-l { - type uint8; - description "Pref L"; - } - leaf pref-r { - type uint8; - description "Pref R"; - } - leaf pref-s { - type uint8; - description "Pref S"; - } - leaf pref-y { - type uint8; - description "Pref Y"; - } - leaf all-scope-info-bits { - type uint32; - description "PCE Scope Information"; - } - } - - grouping OSPF-SH-OPQ-RI-PCE-IPV6-ADDR-STLV { - description "PCE IPv6 Address SubTLV"; - leaf pceipv6-addr { - type inet:ipv6-address; - description "PCE IPv6 Address"; - } - } - - grouping OSPF-SH-OPQ-RI-PCE-IPV4-ADDR-STLV { - description "PCE IPv4 Address SubTLV"; - leaf pceipv4-addr { - type inet:ipv4-address; - description "PCE IPv4 Address"; - } - } - - grouping OSPF-SH-OPQ-RI-PCE-ADDR-STLVS-UNION { - description "OSPF PCE Address SubTLVs"; - - container pce-addr-unknown-tlv { - when "../pce-addr-type ="+ - " 'mgmt-ospf-opq-pce-addr-type-invalid'" { - description - "../PCEAddrType = - 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_INVALID'"; - } - description "Unknown PCE Addr TLV"; - uses OSPF-SH-OPQ-RI-UNKNOWN-TLV; - } - - container ipv4pce-addr { - when "../pce-addr-type = 'mgmt-ospf-opq-pce-addr-type-ipv4'" { - description - "../PCEAddrType = - 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_IPV4'"; - } - description "IPv4 PCE Address"; - uses OSPF-SH-OPQ-RI-PCE-IPV4-ADDR-STLV; - } - - container ipv6pce-addr { - when "../pce-addr-type = 'mgmt-ospf-opq-pce-addr-type-ipv6'" { - description - "../PCEAddrType = - 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_IPV6'"; - } - description "IPv6 PCE Address"; - uses OSPF-SH-OPQ-RI-PCE-IPV6-ADDR-STLV; - } - leaf pce-addr-type { - type Ospf-sh-opq-ri-pce-addr-types; - description "PCEAddrType"; - } - } - - grouping OSPF-SH-OPQ-RI-PCED-TLV { - description "OSPF PCE Discovery TLV"; - - container pced-addr { - description "PCE Address"; - uses OSPF-SH-OPQ-RI-PCE-ADDR-STLVS-UNION; - } - - container pced-scope { - description "PCE Scope Information"; - uses OSPF-SH-OPQ-RI-PCED-SCOPE-STLV; - } - leaf pcedtlv-length { - type uint16; - description "Length of TLV"; - } - } - - grouping OSPF-SH-OPQ-RI-RTRCAP-TLV { - description "OSPF Router Capabilities TLV"; - leaf rtr-cap-tlv-length { - type uint16; - description "Length of TLV"; - } - leaf rtr-cap-graceful-restart { - type boolean; - description "Graceful Restart Capability"; - } - leaf rtr-cap-graceful-restart-helper { - type boolean; - description "Graceful Restart Helper Capability"; - } - leaf rtr-cap-stub-rtr { - type boolean; - description "Stub Router capability"; - } - leaf rtr-cap-area-te { - type boolean; - description "Traffic Engineering capability of area"; - } - leaf rtr-cap-p2plan { - type boolean; - description "P2P LAN Capability"; - } - leaf rtr-cap-te-exp { - type boolean; - description "TE Experimental bit"; - } - leaf rtr-cap-all-bits { - type uint32; - description "All capability bits"; - } - leaf rtr-cap-additional-info { - type yang:hex-string; - description "Additional Information in TLV"; - } - } - - grouping OSPF-SH-OPQ-RI-UNKNOWN-TLV { - description "OSPF Opaque Router Information TLV"; - leaf ri-gen-tlv-type { - type uint16; - description "Type of TLV"; - } - leaf ri-gen-tlv-length { - type uint16; - description "Length of TLV"; - } - leaf ri-genvalue { - type yang:hex-string; - description "Data in TLV"; - } - } - - grouping OSPF-SH-OPQ-RI-TLVS-UNION { - description "OSPF Router Information TLVs"; - - container unknown-tlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-unknown'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_UNKNOWN'"; - } - description "Unknown Rtr Info TLV"; - uses OSPF-SH-OPQ-RI-UNKNOWN-TLV; - } - - container rtr-cap-tlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-rtrcap'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_RTRCAP'"; - } - description "Rtr Cap TLV"; - uses OSPF-SH-OPQ-RI-RTRCAP-TLV; - } - - container pcedtlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-pce-discovery'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_PCEDISCOVERY'"; - } - description "PCE Discovery TLV"; - uses OSPF-SH-OPQ-RI-PCED-TLV; - } - - container sr-algo-tlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-sr-algo'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_SR_ALGO'"; - } - description "SR Algorithm TLV"; - uses OSPF-SH-OPQ-RI-SR-ALGO-TLV; - } - - container sr-range-tlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-sr-range'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_SR_RANGE'"; - } - description "SR Range TLV"; - uses OSPF-SH-OPQ-RI-SR-RANGE-TLV; - } - - container node-msdtlv { - when "../ritlv-internal-type ="+ - " 'mgmt-ospf-opq-ri-tlv-type-node-msd'" { - description - "../RITLVInternalType = - 'MGMT_OSPF_OPQ_RI_TLV_TYPE_NODE_MSD'"; - } - description "Node MSD TLV"; - uses OSPF-SH-OPQ-RI-NODE-MSD-TLV; - } - leaf ritlv-internal-type { - type Ospf-sh-opq-ri-tlv-types; - description "RITLVInternalType"; - } - } - - grouping OSPF-SH-LSA-OPQ-RI { - description "OSPF Router Information LSA"; - leaf opaque-rilsa-scope { - type Ospf-lsa-opq-ri-scope; - description - "Opaque LSA flooding scope, a.k.a., Opaque LSA - Type"; - } - leaf opaque-ri-interface-name { - type xr:Interface-name; - description - "Interface on which this Link-Local Opaque link - LSA is received"; - } - - list opaque-ritlv { - description "Router Information TLV"; - uses OSPF-SH-OPQ-RI-TLVS-UNION; - } - } - - grouping OSPF-SH-LSA-OPQ-GRACE { - description "OSPF Opaque-link type 3 grace LSA Information"; - leaf grace-period { - type uint32; - description - "The amount of time the router's neighbor should - advertise it fully adjacent (s)"; - } - leaf grace-reason { - type Ospf-gr-reason; - description "Reason for router restart"; - } - leaf ip-address { - type inet:ipv4-address; - description - "IP interface address on the subnet associated - with the grace LSA"; - } - } - - grouping OSPF-SH-OPQ-SUBTLV { - description "OSPF Opaque LSA Sub-TLV Information"; - leaf sub-tlv-type { - type Stlv; - description "Type of sub TLV"; - } - leaf sub-tlv-length { - type uint16; - description "Length of sub TLV"; - } - leaf sub-tlv-value { - type yang:hex-string; - description "Value of sub TLV"; - } - } - - grouping OSPF-SH-OPQ-TLV { - description "OSPF Opaque LSA TLV Information"; - leaf tlv-type { - type uint16; - description "Type of top-level TLV"; - } - leaf tlv-length { - type uint16; - description "Length of top-level TLV"; - } - leaf mpls-router-id { - type uint32; - description "MPLS-TE Router ID"; - } - leaf mpls-dste-link { - type boolean; - description "MPLS DS-TE supported"; - } - leaf tlv-data { - type yang:hex-string; - description "TLV direct data"; - } - - list te-link-sub-tlv { - description "List of Sub-TLVs"; - uses OSPF-SH-OPQ-SUBTLV; - } - } - - grouping OSPF-SH-LSA-OPQ-RRR { - description "OSPF Opaque-area type 1 MPLS-TE LSA Information"; - - list tlv { - description "List of TLVs"; - uses OSPF-SH-OPQ-TLV; - } - } - - grouping OSPF-SH-LSA-OPQ-LINK { - description "OSPF Opaque-link LSA Information"; - leaf opaque-interface-name { - type xr:Interface-name; - description - "Interface on which the Opaque link LSA is - received"; - } - } - - grouping OSPF-SH-LSA-EX-TOS { - description - "OSPF External Type of service specific - Information"; - leaf external-metric { - type uint32; - description "Cost of this route"; - } - leaf external-metric-type { - type Ex-metric; - description "External LSA metric type"; - } - leaf external-tos { - type uint32; - description "Type of Service"; - } - leaf forwarding-address { - type inet:ipv4-address; - description "Forwarding Address"; - } - leaf external-tag { - type uint32; - description "Route Tag"; - } - } - - grouping OSPF-SH-LSA-EXTERNAL { - description "OSPF External LSA"; - leaf external-prefix-length { - type uint32; - description "Prefix length"; - } - leaf internal-external-lsa { - type boolean; - description "If true, internal max-metric LSA"; - } - - list external-tos-metric { - description "Type of service information"; - uses OSPF-SH-LSA-EX-TOS; - } - } - - grouping OSPF-SH-LSA-SUMMARY { - description "OSPF Summary LSA"; - leaf summary-prefix-length { - type uint32; - description "Summary LSA prefix length"; - } - leaf internal-sum-lsa { - type boolean; - description "If true, internal max-metric LSA"; - } - list summary-lsa-metric { - description "Metric"; - leaf entry { - type uint32; - } - } - } - - grouping OSPF-SH-LSA-NETWORK { - description "OSPF Network LSA"; - leaf network-prefix-length { - type uint32; - description "Network prefix length"; - } - list neighbor-router { - description "Neighbor router list"; - leaf entry { - type inet:ipv4-address; - } - } - } - - grouping OSPF-SH-TOS-METRIC { - description "OSPF Router LSA TOS Metric"; - leaf router-tos { - type uint16; - description "Type of Service"; - } - leaf tos-cost { - type uint16; - description "Type of service specific metric"; - } - } - - grouping OSPF-SH-LINK { - description "OSPF Router LSA Links"; - leaf link-id { - type inet:ipv4-address; - description "Link ID"; - } - leaf link-data { - type inet:ipv4-address; - description "Link Data"; - } - leaf link-type { - type Ospf-link-types; - description "Type of link"; - } - leaf link-metric { - type uint16; - description "Cost for using this link"; - } - - list link-tos { - description "List of type of service metrics"; - uses OSPF-SH-TOS-METRIC; - } - } - - grouping OSPF-SH-LSA-ROUTER { - description "OSPF Router LSA"; - leaf router-asbr { - type boolean; - description - "If True, router is an Autonomous system Border - Router"; - } - leaf router-abr { - type boolean; - description "If True, router is an Area Border Router"; - } - leaf internal-lsa { - type boolean; - description "If true, internal LSA"; - } - - list link { - description "List of links in this LSA"; - uses OSPF-SH-LINK; - } - - list internal-link { - description "List of links for internal LSA"; - uses OSPF-SH-LINK; - } - } - - grouping OSPF-LSA-INTERNAL-UNION { - description "LSA internal information for an LSA"; - - container router-lsa-type { - when "../internal-lsa-type = 'mgmt-rtr-type'" { - description "../InternalLSAType = 'MGMT_RTR_TYPE'"; - } - description "Router LSA"; - uses OSPF-SH-LSA-ROUTER; - } - - container network-lsa-type { - when "../internal-lsa-type = 'mgmt-ntwk-type'" { - description "../InternalLSAType = 'MGMT_NTWK_TYPE'"; - } - description "Network LSA"; - uses OSPF-SH-LSA-NETWORK; - } - - container summary-lsa-type { - when "../internal-lsa-type = 'mgmt-sum-type'" { - description "../InternalLSAType = 'MGMT_SUM_TYPE'"; - } - description "Summary LSA"; - uses OSPF-SH-LSA-SUMMARY; - } - - container external-lsa-type { - when "../internal-lsa-type = 'mgmt-ext-type'" { - description "../InternalLSAType = 'MGMT_EXT_TYPE'"; - } - description "External LSA"; - uses OSPF-SH-LSA-EXTERNAL; - } - - container opaque-link-lsa-type { - when "../internal-lsa-type = 'mgmt-opq-link-type'" { - description "../InternalLSAType = 'MGMT_OPQ_LINK_TYPE'"; - } - description "Opaque-Link LSA"; - uses OSPF-SH-LSA-OPQ-LINK; - } - - container opaque-mpls-te-lsa-type { - when "../internal-lsa-type = 'mgmt-opq-rrr-type'" { - description "../InternalLSAType = 'MGMT_OPQ_RRR_TYPE'"; - } - description "Opaque-Area, opaque type 1 LSA"; - uses OSPF-SH-LSA-OPQ-RRR; - } - - container opaque-grace-lsa { - when "../internal-lsa-type = 'mgmt-opq-gr-type'" { - description "../InternalLSAType = 'MGMT_OPQ_GR_TYPE'"; - } - description "Opaque-link, opaque type 3 Grace LSA"; - uses OSPF-SH-LSA-OPQ-GRACE; - } - - container opaque-router-info-lsa-type { - when "../internal-lsa-type = 'mgmt-opq-ri-type'" { - description "../InternalLSAType = 'MGMT_OPQ_RI_TYPE'"; - } - description "Opaque Router Information LSA"; - uses OSPF-SH-LSA-OPQ-RI; - } - - container opaque-ep-lsa-type { - when "../internal-lsa-type = 'mgmt-opq-epl-type'" { - description "../InternalLSAType = 'MGMT_OPQ_EPL_TYPE'"; - } - description "Extende Prefix LSA type"; - uses OSPF-SH-LSA-OPQ-EPL; - } - - container opaque-el-lsa-type { - when "../internal-lsa-type = 'mgmt-opq-ell-type'" { - description "../InternalLSAType = 'MGMT_OPQ_ELL_TYPE'"; - } - description "Extended Link LSA type"; - uses OSPF-SH-LSA-OPQ-ELL; - } - leaf internal-lsa-type { - type Ospf-internal-lsa-types; - description "InternalLSAType"; - } - } - - grouping OSPF-SH-DB-NOT-DELETE { - description "Reason why LSA is not deleted"; - leaf free-time { - type uint32; - description - "The amount of time since the last check was made - to free this LSA (s)"; - } - leaf no-delete { - type boolean; - description - "If true, the reason not to delete this LSA is - because delete flag not set on this LSA"; - } - leaf neighbor-exchange { - type boolean; - description - "If true, the reason not to delete this LSA is - because neighbor is in exchange state"; - } - leaf routing-table { - type boolean; - description - "If true, the reason not to delete this LSA is - because it has a contributing entry in the - routing table"; - } - leaf acknowledgement { - type boolean; - description - "If true, the reason not to delete this LSA is - because it's Acknowledgement list is not empty"; - } - leaf maximum-age { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is in Maxage Queue"; - } - leaf partial-spf { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is in partial SPF queue"; - } - leaf flood-pending { - type boolean; - description - "If true, the reason not to delete this LSA is - because waiting for flooding or retransmission"; - } - leaf rate-limit { - type boolean; - description - "If true, the reason not to delete this LSA is - because waiting for next wait-interval to expire"; - } - leaf nsr-ack-pending { - type boolean; - description - "If true, the reason not to delete this LSA is - because NSR ACK from standby is pending"; - } - leaf sum-orig-pending { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is pending summary LSA originating"; - } - leaf nsr-flood-required { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is pending flooding on switchover"; - } - } - - grouping OSPF-SH-DB-THROTTLE-TIMER { - description "OSPF LSA throttle timer table information"; - leaf timer-location { - type Timer-table; - description "Timer table"; - } - leaf timer-type { - type Timer; - description "Timer type"; - } - leaf second-table-index { - type uint8; - description "Second table index"; - } - leaf minute-table-index { - type uint8; - description "Minute table index"; - } - leaf last-inst-second-table-index { - type uint8; - description "Last Second table index processed"; - } - leaf last-inst-minute-table-index { - type uint8; - description "Last Minute table index processed"; - } - } - - grouping OSPF-SH-DB-DETAIL { - description "OSPF Detailed LSA Database Information"; - - container lsa-throttle-timer { - description "LSA throttle timer table information"; - uses OSPF-SH-DB-THROTTLE-TIMER; - } - - container lsa-last-updated-time { - description "Time LSA was last updated"; - uses OSPF-SH-TIME; - } - - container lsadb-base-time-stamp { - description "Current time stamp"; - uses OSPF-SH-TIME; - } - - container not-delete { - description "Reason why LSA is not deleted"; - uses OSPF-SH-DB-NOT-DELETE; - } - leaf tos-capable { - type boolean; - description - "If true, type of service capable indicated by - LSA's option field"; - } - leaf nssa-translation { - type boolean; - description - "If true, capable of type 7 to 5 translation - indicated by LSA's option field"; - } - leaf demand-circuit { - type boolean; - description - "If true, capable of demand circuit as indicated - by LSA's option field"; - } - leaf dn-bit { - type boolean; - description - "if true, DN bit set on the summary LSA indicated - by LSA's option field"; - } - leaf lsa-rate-limit-due-time { - type uint32; - description "Due time for rate-limit timer (ms)"; - } - leaf lsadb-base-clock { - type uint64; - description "Clock stamp since boot"; - } - leaf routing-bit { - type boolean; - description "If true, Routing Bit set on the LSA"; - } - leaf advertising-router-reachable { - type boolean; - description "If true, Advertising Router is reachable"; - } - leaf length { - type uint16; - description "Length of the LSA"; - } - leaf sum-origin { - type uint16; - description "Summary Origin"; - } - leaf ase-origin { - type uint16; - description "External Origin"; - } - leaf in-sync { - type uint8; - description "Not In Sync With Active"; - } - leaf lsa-prefix-priority { - type uint8; - description "Current LSA prefix priority"; - } - leaf new-lsa-prefix-priority { - type uint8; - description "New LSA prefix priority"; - } - leaf lsa-flood-required-post-fail-over { - type boolean; - description "LSA flood required after FO"; - } - } - - grouping OSPF-SH-DB-HEADER { - description "OSPF LSA Database Header"; - leaf ls-type { - type Lsa; - description "LSA type"; - } - leaf lsid { - type inet:ipv4-address; - description "LS ID"; - } - leaf advertising-router { - type inet:ipv4-address; - description "Router ID of Advertising Router"; - } - leaf lsa-area-id { - type string { - length "0..16"; - } - description "Area ID in decimal or dotted-decimal format"; - } - leaf lsa-age { - type uint16; - description "LSA's Age (s)"; - } - leaf dn-age-lsa { - type boolean; - description "If true, Do Not Age this LSA"; - } - leaf nsf { - type boolean; - description "If true, LSA received from neighbor during NSF"; - } - leaf sequence-number { - type uint32; - description "Current Sequence number"; - } - leaf checksum { - type uint16; - description "Checksum value"; - } - } - - grouping OSPF-SH-DATABASE-DETAIL { - description "OSPF Database Information"; - - container lsa-header { - description "Header information"; - uses OSPF-SH-DB-HEADER; - } - - container lsa-detail-data { - description "Detailed LSA Information"; - uses OSPF-SH-DB-DETAIL; - } - - container lsa-internal-data { - description "Information pertaining to a specific LSA type"; - uses OSPF-LSA-INTERNAL-UNION; - } - } - - grouping OSPF-SH-SLINK-NEIGHBOR { - description "Sham Link Neighbor Information"; - - container sham-link-retransmissoin { - description "Neighbor retransmission info"; - uses OSPF-SH-NEIGHBOR-RETRANS; - } - leaf sham-link-suppress-hello { - type boolean; - description "If true Hellos suppressed"; - } - leaf sham-link-state { - type Neighbor-state; - description "Adjacency state"; - } - } - - grouping OSPF-SH-SHAM-LINKS { - description "OSPF Sham Link"; - - container sham-link-neighbor { - description "Neighbor information"; - uses OSPF-SH-SLINK-NEIGHBOR; - } - leaf sham-link-name-xr { - type string; - description "Sham link name"; - } - leaf sham-link-neighbor-id { - type inet:ipv4-address; - description "Neighbor on other end of this sham link"; - } - leaf sham-link-source-address { - type inet:ipv4-address; - description "Sham-link source"; - } - leaf sham-link-dest-address { - type inet:ipv4-address; - description "Sham-link dest"; - } - leaf sham-link-state { - type Ospf-interface-state; - description "OSPF interface state for the sham link"; - } - leaf sham-link-demand-circuit { - type boolean; - description "If true, the link runs as demand circuit"; - } - leaf sham-link-dc-bitless-lsa { - type uint32; - description "Number of LSA's with demand circuit bit not set"; - } - leaf sham-link-ifindex { - type uint32; - description "Sham-link ifindex"; - } - leaf sham-link-area { - type string; - description "Area id"; - } - leaf sham-link-cost { - type uint16; - description "Cost of the sham link"; - } - leaf sham-link-transmission-delay { - type uint16; - units "second"; - description "Transmission delay in seconds"; - } - leaf sham-link-hello-interval { - type uint32; - description "Hello interval (s)"; - } - leaf sham-link-hello-interval-ms { - type uint32; - description "Hello interval (ms)"; - } - leaf sham-link-dead-interval { - type uint32; - description "Dead interval (s)"; - } - leaf sham-link-wait-interval { - type uint32; - description "Wait interval (s)"; - } - leaf sham-link-retransmission-interval { - type uint32; - description "Retransmission interval (s)"; - } - leaf sham-link-next-hello { - type uint32; - description "Time until next hello (s)"; - } - leaf sham-link-next-hello-ms { - type uint32; - description "Time until next hello (ms)"; - } - leaf sham-link-passive { - type boolean; - description "If true, interface is passive"; - } - leaf sham-link-authentication-type { - type Authentication; - description "Authentication type"; - } - leaf sham-link-youngest-md-key { - type boolean; - description "If true, MD key configured"; - } - leaf sham-link-youngest-md-key-id { - type uint16; - description "Youngest MD key ID"; - } - leaf sham-link-old-md-key-count { - type uint32; - description - "Number of neighbors still using the old key - (rollover in progress)"; - } - leaf sham-link-keychain-id { - type uint64; - description "Sham Link Keychain ID"; - } - leaf sham-link-nsf-enabled { - type boolean; - description "If true, NSF enabled"; - } - leaf sham-link-nsf { - type boolean; - description - "If true, NSF restart in progress on the sham - link"; - } - leaf sham-link-last-nsf { - type uint32; - units "second"; - description "Time in seconds since last NSF"; - } - list sham-link-md-key { - description "List of old MD keys (if any)"; - leaf entry { - type uint16; - } - } - } - - grouping OSPF-SH-DOMAIN-ID-ENTRY { - description "OSPF Domain ID"; - leaf domain-id-type { - type uint16; - description "Domain ID Type"; - } - leaf domain-id-value { - type yang:hex-string; - description "Domain ID value"; - } - } - - grouping OSPF-SH-DOMAIN-ID { - description "OSPF Domain ID entries"; - - container primary-domain-id { - description "Primary Domain ID"; - uses OSPF-SH-DOMAIN-ID-ENTRY; - } - - list secondary-domain-id { - description "List of secondary domain IDs"; - uses OSPF-SH-DOMAIN-ID-ENTRY; - } - } - - grouping OSPF-SH-MAX-METRIC { - description "OSPF Max-metric Information"; - - container maximum-metric-time-unset { - description "Time max-metric condition was cleared"; - uses OSPF-SH-TIME; - } - leaf max-metric-reason { - type uint8; - description "Max-metric reason"; - } - leaf max-metric-enabled { - type boolean; - description "Max-metric enabled"; - } - leaf unset-maximum-metric { - type boolean; - description - "If true, BGP is up, no maximum metric Router LSA"; - } - leaf saved-unset-maximum-metric { - type boolean; - description "Saved UnsetMaximumMetric"; - } - leaf maximum-metric-start-time { - type uint32; - description - "Time remaining until we will start using normal - metrics (s)"; - } - leaf saved-startup-time { - type uint32; - description "Hold time configured (s)"; - } - leaf maximum-metric-include-stubs { - type boolean; - description "If true, set max-metric in stub links"; - } - leaf maximum-metric-summary-lsa { - type boolean; - description "If true, advertise max-metric in summary-LSAs"; - } - leaf maximum-metric-summary-lsa-metric { - type uint32; - description "Max-metric value to advertise in summary-LSAs"; - } - leaf maximum-metric-external-lsa { - type boolean; - description "If true, advertise max-metric in external-LSAs"; - } - leaf maximum-metric-external-lsa-metric { - type uint32; - description "Max-metric value to advertise in external-LSAs"; - } - leaf maximum-metric-originated-for { - type uint32; - description "Time max-metric was used for"; - } - leaf maximum-metric-unset-reason { - type Max-metric-unset-reason; - description "Max-metric unset reason"; - } - } - - grouping OSPF-SH-SUMMARY { - description "OSPF Summary"; - - container domain-id { - description "Domain ID information"; - uses OSPF-SH-DOMAIN-ID; - } - leaf role-standby { - type boolean; - description "If true, Role is Standby, Active otherwise"; - } - leaf role { - type uint32; - description "Role, V1/V2 Active/Standby"; - } - leaf nsr-enabled { - type boolean; - description "If true, NSR is enabled"; - } - leaf nsr-switchover-on-restart { - type boolean; - description - "Trigger RP Switchover on detectable process - restart"; - } - leaf igp-intact-on { - type boolean; - description "If true, running in IGP-Intact mode"; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf tos-options { - type uint8; - description "Type of Service supported"; - } - leaf opaque-capable { - type boolean; - description "Opaque LSA capable"; - } - leaf area-border-router { - type boolean; - description "If true, is an Area Border Router"; - } - leaf as-border-router { - type boolean; - description "If true, is an AS Border Router"; - } - leaf vrf-lite-enabled { - type boolean; - description "If true, vrf lite is enabled"; - } - leaf maximum-metric-start { - type boolean; - description - "If true, originate Router LSA with maximum - metric"; - } - leaf maximum-metric-start-timer { - type uint32; - description "Time remaining for hold down timer (s)"; - } - leaf maximum-metric-set-reason { - type Max-metric-set-reason; - description "Max-metric set reason"; - } - leaf maximum-metric-abr-off-mode { - type boolean; - description "If true, ABR duties temporarily disabled"; - } - leaf maximum-metric-abr-off-reasons { - type Ospf-max-metric-abr-off-reasons; - description - "Reasons for ABR duties being temporarily - disabled"; - } - leaf maximum-metric-abr-off-buffer-time { - type uint32; - units "second"; - description - "Buffer time in seconds since last neighbor - activity, to remain in max-metric ABR off state"; - } - leaf spf-start-time { - type uint16; - description - "Scheduling delay for SPF (ms) This is valid if - configured below 64k Deprecated by - SPFStartTimeU32]"; - } - leaf spf-hold-time { - type uint16; - description - "Minimum delay time between SPF runs (ms) This is - valid if configured below 64k Deprecated by - SPFHoldTimeU32]"; - } - leaf spf-maximum-time { - type uint16; - description - "Maximum delay time between SPF runs (ms) This is - valid if configured below 64k Deprecated by - SPFMaximumTimeU32]"; - } - leaf spf-start-time-u32 { - type uint32; - description "Scheduling delay for SPF (ms)"; - } - leaf spf-hold-time-u32 { - type uint32; - description "Minimum delay time between SPF runs (ms)"; - } - leaf spf-maximum-time-u32 { - type uint32; - description "Maximum delay time between SPF runs (ms)"; - } - leaf spf-prefix-priority { - type boolean; - description "If true, prefix-priority policy is configured"; - } - leaf spf-prefix-priority-route-policy { - type string; - description "SPF Prefix-priority route policy"; - } - leaf lsa-start-time { - type int32; - description "Inital LSA throttle delay (ms)"; - } - leaf lsa-hold-time { - type uint32; - description "Second delay before generating next LSA (ms)"; - } - leaf lsa-maximum-time { - type uint32; - description "Maximum delay before generating an LSA (ms)"; - } - leaf minimum-lsa-interval { - type uint16; - description - "Minimum time between LSA regeneration (ms) Rel 4 - .0.1, deprecated by MinimumLSAIntervalU32]"; - } - leaf minimum-lsa-interval-u32 { - type uint32; - description "Minimum time between LSA regeneration (ms)"; - } - leaf lsa-refresh-interval { - type uint32; - description "LSA refresh interval (sec)"; - } - leaf minimum-lsa-arrival-interval { - type uint16; - description - "Minimum time between accepting LSAs (ms) Rel 4.0 - .1, deprecated by MinimumLSAArrivalIntervalU32]"; - } - leaf minimum-lsa-arrival-interval-u32 { - type uint32; - description "Minimum time between accepting LSAs (ms)"; - } - leaf if-flood-pacing-interval { - type uint16; - description "Flood pacing timer (ms)"; - } - leaf if-retrans-pacing-interval { - type uint16; - description "Retransmission pacing timer (ms)"; - } - leaf adj-stag-init-num-nbr { - type uint16; - description "Num of nbrs brought up initially per area"; - } - leaf adj-stag-max-num-nbr { - type uint16; - description - "Max num of nbrs brought up simultaneously per - OSPF instance"; - } - leaf adj-stagger-enabled { - type boolean; - description - "If true, OSPF Adjacency Staggering is configured"; - } - leaf adj-stag-num-nbr-forming { - type uint16; - description "Num of nbrs currently forming for OSPF instance"; - } - leaf number-nbrs-full { - type uint16; - description "Num of full nbrs"; - } - leaf as-lsa-count { - type uint32; - description "Number of AS scope LSAs"; - } - leaf as-lsa-checksum { - type uint32; - description "Sum of AS scope LSA checksum"; - } - leaf opaque-lsa-count { - type uint32; - description "Number of Opaque LSAs"; - } - leaf opaque-lsa-checksum { - type uint32; - description "Sum of opaque LSA checksum"; - } - leaf as-dc-bitless-lsa-count { - type uint32; - description - "Number of External and AS Opaque LSAs with - demand circut bit not set"; - } - leaf as-dna-lsa-count { - type uint32; - description - "Number of External and AS Opaque LSAs with - DoNotAge set "; - } - leaf area-count { - type uint16; - description "Number of areas"; - } - leaf normal-area-count { - type uint16; - description "Number of normal Areas"; - } - leaf stub-area-count { - type uint16; - description "Number of Stub and Total Stub Areas"; - } - leaf nssa-area-count { - type uint16; - description "Number of NSSA Areas"; - } - leaf maximum-interfaces { - type uint32; - description "Maximum number of interfaces"; - } - leaf as-lsa-flood-list-length { - type uint32; - description "Length of AS LSAs flood list"; - } - leaf nsf-enabled { - type boolean; - description "If true, NSF enabled"; - } - leaf last-nsf-time { - type uint32; - description " Length of time since the last NSF (s)"; - } - leaf nsf-time { - type uint32; - description "Total time to complete NSF (s)"; - } - leaf redistribution-limit { - type uint32; - description "The number of redistributed prefixes allowed"; - } - leaf redistribution-threshold { - type uint32; - description - "When the number of redistributed prefixes - reaches this threshold, a warning message is - issued"; - } - leaf redistribution-limit-warn { - type boolean; - description - "If true, only a syslog message is printed when - redistribution prefix limit is reached"; - } - leaf graceful-shutdown-retention-time { - type uint32; - description - "Amount of time routes are retained after - graceful shutdown (s)"; - } - leaf graceful-shutdown-state { - type Gs-state; - description "State of graceful shutdown"; - } - leaf table-prefix-limit-reached { - type boolean; - description - "If true, prefix limit for table has been - reached"; - } - leaf non-self-lsa-count { - type uint32; - description "Non self-generated LSA count"; - } - leaf max-lsa-enabled { - type boolean; - description "If true, max-lsa protection enabled"; - } - leaf max-lsa-limit { - type uint32; - description - "Maximum allowed number of non self-generated - LSAs"; - } - leaf max-lsa-treshold { - type uint32; - description "max-lsa protection warning threshold"; - } - leaf max-lsa-warning-only { - type boolean; - description "Warning only when max-lsa reached"; - } - leaf max-lsa-ignore-time { - type uint32; - description "Time ignoring new LSAs after max-lsa reached"; - } - leaf max-lsa-reset-time { - type uint32; - description - "Time after which LSA protection counter is reset"; - } - leaf max-lsa-ignore-limit { - type uint32; - description "Max allowed number of entering ignore state"; - } - leaf max-lsa-ignore-count { - type uint32; - description "How many times ignore state has been entered"; - } - leaf max-lsa-ignore-timer { - type uint32; - description "Remaining time when ignore timer is running"; - } - leaf max-lsa-reset-timer { - type uint32; - description "Remaining time when reset timer is running"; - } - leaf context-name { - type string { - length "0..32"; - } - description "Context name"; - } - leaf snmp-trap-enabled { - type boolean; - description "If true, snmp trap is enabled"; - } - leaf ucmp { - type boolean; - description "If true, UCMP is enabled"; - } - leaf ucmp-prefix-list { - type string; - description "UCMP Prefix-list"; - } - leaf ucmp-variance { - type int32; - description "UCMP Variance"; - } - leaf ucmp-delay { - type uint32; - description - "Delay between end of SPF and start of UCMP - calculation (ms)"; - } - leaf microloop-avoidance-type { - type Uloop-avoidance; - description "Microloop avoidance type configured"; - } - leaf microloop-avoidance-delay { - type uint32; - description - "Microloop delay time after which actual - post convergence paths are given to RIB (s)"; - } - leaf microloop-avoidance-active { - type boolean; - description "If true, Uloop is active"; - } - leaf microloop-avoidance-delay-expiry { - type uint32; - description - "Remaining time for uloop delay timer - to expire (s)"; - } - leaf lsd-connected { - type boolean; - description "True if connected to LSD"; - } - leaf lsd-registered { - type boolean; - description "True if registered with LSD"; - } - leaf lsd-bound { - type boolean; - description "True if bound to LSD"; - } - leaf lsd-connection-revision { - type uint32; - description "LSD Connection Revision"; - } - leaf srgb-configured { - type boolean; - description "True if Segment Routing Global Block configured"; - } - leaf srgb-start { - type uint32; - description "Segment Routing Global Block start label value"; - } - leaf srgb-end { - type uint32; - description "Segment Routing Global Block end label value"; - } - leaf srgb-status { - type Ospf-srgb-status; - description "Segment Routing Global Block allocation status"; - } - leaf sr-strict-spf-cap { - type boolean; - description "True if Segment Routing Strict-SPF capable"; - } - - list maximum-metric { - description "Max-metric list"; - uses OSPF-SH-MAX-METRIC; - } - - list redistribution { - description "Redistribution list"; - uses OSPF-SH-REDIST; - } - } - - grouping OSPF-SH-AREA-RANGE { - description "OSPF Area Range Information"; - leaf range-prefix { - type inet:ipv4-address; - description "IP prefix for summarization"; - } - leaf range-mask { - type inet:ipv4-address; - description "Network mask"; - } - leaf cost { - type uint32; - description "Cost"; - } - leaf advertise-flag { - type boolean; - description - "Whether to advertise Summary LSAs for this range"; - } - } - - grouping OSPF-SH-AREA { - description "OSPF Area Summary Information"; - leaf area-id-string { - type string { - length "0..16"; - } - description "Area ID string"; - } - leaf backbone-area-active { - type boolean; - description "If true, Backbone area is active"; - } - leaf area-interface-count { - type uint16; - description "Number of interfaces in the area"; - } - leaf area-stub { - type boolean; - description "If true, stub area"; - } - leaf area-total-stub { - type boolean; - description "If true, totally stubby area"; - } - leaf stub-default-cost { - type uint16; - description "Default cost for Stub or NSSA area"; - } - leaf area-nssa { - type boolean; - description "If true, area is a NSSA"; - } - leaf nssa-no-redistribution { - type boolean; - description "If true, No redistribution into this NSSA area"; - } - leaf nssa-translate { - type boolean; - description "If true, perform 7/5 translation"; - } - leaf nssa-default { - type boolean; - description "If true, generate NSSA default route"; - } - leaf te-enabled { - type boolean; - description "If true, MPLS-TE enabled"; - } - leaf te-topology-version { - type uint32; - description "TE area topology version number"; - } - leaf external-out { - type boolean; - description - "If true, advertise intra-area prefixes as - external"; - } - leaf summary-in { - type boolean; - description - "If true, advertise redistributedprefixes as - summary"; - } - leaf segment-routing { - type uint32; - description "If true, Segment Routing enabled"; - } - leaf sr-strict-spf-cap { - type boolean; - description - "If true, All routers in Area are SR Strict-SPF - Capable"; - } - leaf sr-strict-spfsids-available { - type boolean; - description - "If true, All routers in Area have SR Strict-SPF - SIDs"; - } - leaf sr-microloop-avoidance-active { - type boolean; - description - "If true, Segment routing Uloop avoidance - is currently active in this area"; - } - leaf sr-microloop-avoidance-event-type { - type Sr-uloop-event; - description - "Event for which SR uloop is triggered - Link Up/Link Down"; - } - leaf sr-microloop-avoidance-near-end-id { - type inet:ipv4-address; - description - "Link State ID of the near end - of the topology change"; - } - leaf sr-microloop-avoidance-far-end-id { - type inet:ipv4-address; - description - "Link State ID of the far end - of the topology change"; - } - leaf sr-microloop-avoidance-pseudonode-id { - type inet:ipv4-address; - description - "Link State ID of the pseudo node, - if the change is on a broadcast link"; - } - leaf authentication-type { - type Authentication; - description "Authentication type"; - } - leaf spf-count { - type uint32; - description "Number of SPF calculations run"; - } - leaf area-policy-in { - type boolean; - description "If true, inbound policy is configured"; - } - leaf area-policy-in-name { - type string; - description "Inbound summary lsa filtering policy"; - } - leaf area-policy-out { - type boolean; - description "If true, outbound policy is configured"; - } - leaf area-policy-out-name { - type string; - description "Outbound summary lsa filtering policy"; - } - leaf area-lsa-count { - type uint32; - description "Number of LSAs in the Area"; - } - leaf area-lsa-checksum { - type uint32; - description "Sum of all area LSAs checksum"; - } - leaf area-opaque-lsa-count { - type uint32; - description "Number of Opaque LSAs in the Area"; - } - leaf area-opaque-lsa-checksum { - type uint32; - description "Sum of opaque LSA checksums"; - } - leaf area-dc-bitless-lsa-count { - type uint32; - description "Number of LSA with demand circuit bit not set"; - } - leaf indication-lsa-count { - type uint32; - description "Number of indication LSAs"; - } - leaf dna-lsa-count { - type uint32; - description "Number of DoNotAge LSAs"; - } - leaf flood-list-length { - type uint32; - description "Number of LSAs which need to be flooded"; - } - leaf area-lfa-interface-count { - type uint32; - description "Number of LFA enabled interfaces"; - } - leaf area-per-prefix-lfa-interface-count { - type uint32; - description "Number of Per Prefix LFA enabled interfaces"; - } - leaf area-lfa-revision { - type uint32; - description "Area LFA revision"; - } - leaf area-adj-stag-num-nbr-forming { - type uint16; - description "Num of nbrs currently forming"; - } - leaf area-num-nbr-full { - type uint16; - description "Num of full nbrs in area"; - } - - list area-range { - description "List of ranges to summarize"; - uses OSPF-SH-AREA-RANGE; - } - } - - grouping OSPF-SH-REDIST { - description "OSPF Redistribution Information"; - - container redistribution-protocol { - description "Protocol Information"; - uses OSPF-SH-REDIST-PROTO; - } - leaf metric-flag { - type boolean; - description "If true, Metric configured"; - } - leaf metric { - type uint32; - description "Route metric"; - } - leaf classless { - type boolean; - description "Whether to use CIDR"; - } - leaf nssa-only { - type boolean; - description "To NSSA areas only"; - } - } - - grouping OSPF-SH-PROTOCOL { - description "OSPF Protocol Information"; - leaf protocol-router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf protocol-distance { - type uint32; - description "Administrative distance"; - } - leaf administrative-distance-inter-area { - type uint32; - description "Administrative Distance for Inter Area routes"; - } - leaf administrative-distance-external { - type uint32; - description "Administrative Distance for External routes"; - } - leaf protocol-nsf { - type boolean; - description "True if NSF enabled"; - } - leaf dist-list-in { - type string; - description "Distribute List In"; - } - } - - grouping OSPF-SH-PROTO-INTF { - description "OSPF Protocol Interface Information"; - leaf protocol-interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf protocol-authentication-type { - type Authentication; - description "Authentication type"; - } - leaf protocol-interface-dist-list-in { - type string; - description "Distribute List In"; - } - } - - grouping OSPF-SH-PROTO-AREA { - description "OSPF Protocol Area Information"; - leaf protcol-area { - type string { - length "0..16"; - } - description - "Area ID string in decimal and dotted-decimal - format"; - } - leaf protocol-mpls { - type boolean; - description "MPLS-TE enabled"; - } - leaf protocol-area-dist-list-in { - type string; - description "Distribute List In"; - } - - list protocol-interface { - description "Interface list"; - uses OSPF-SH-PROTO-INTF; - } - } - - grouping OSPF-SH-BR-PATH { - description "OSPF Border Router Path"; - leaf border-router-route-type { - type Ospf-route; - description "Route type"; - } - leaf border-router-route-metric { - type uint32; - description "Metric"; - } - leaf border-router-next-hop { - type inet:ipv4-address; - description "Next hop address"; - } - leaf border-router-next-hop-interface-name { - type xr:Interface-name; - description "Next hop Interface"; - } - leaf border-router-type { - type Ospf-br; - description "Border router type"; - } - leaf border-router-area-id { - type string { - length "0..16"; - } - description "Area string in decimal or dotted-decimal format"; - } - leaf spf-version { - type uint64; - description "SPF run instance count"; - } - } - - grouping OSPF-SH-BORDER-ROUTER { - description "OSPF Border Router"; - leaf border-router-id-xr { - type inet:ipv4-address; - description "Router ID of Border Router"; - } - - list border-router-path { - description "List of Border Router paths"; - uses OSPF-SH-BR-PATH; - } - } - - grouping OSPF-SH-SEC-ADDR { - description "OSPF Secondary Address"; - leaf secondary-addr { - type inet:ipv4-address; - description "Secondary Address Type"; - } - leaf secondary-prefix { - type uint32; - description "Secondary Prefix Length"; - } - } - - grouping OSPF-SH-IPFRR-TB { - description "OSPF IPFRR Tiebreakers"; - leaf tiebreaker-type { - type Ipfrr-tbrkr; - description "Tiebreaker Type"; - } - leaf tiebreaker-index { - type uint32; - description "Tiebreaker Index"; - } - } - - grouping OSPF-SH-INTERFACE-UP { - description "OSPF Interface Up-only Information"; - leaf wait-time { - type uint32; - description "Wait time for DR/BDR selection (s)"; - } - leaf interface-area-flood-index { - type uint32; - description "Area scope LSAs flood index"; - } - leaf interface-as-flood-index { - type uint32; - description "AS scope LSAs flood index"; - } - leaf interface-flood-length { - type uint32; - description "Flood queue length"; - } - leaf interface-area-next-flood { - type uint32; - description "Next LSA to flood (Area scope)"; - } - leaf interface-area-next-flood-index { - type uint32; - description "Index of next LSA to flood (Area scope)"; - } - leaf interface-as-next-flood { - type uint32; - description "Next LSA to flood (AS scope)"; - } - leaf interface-as-next-flood-index { - type uint32; - description "Index of next LSA to flood (AS scope)"; - } - leaf flood-scan-length { - type uint32; - description "Last flood scan length"; - } - leaf maximum-flood-length { - type uint32; - description "Maximum flood length"; - } - leaf last-flood-time { - type uint32; - description "Last flood scan time (ms)"; - } - leaf maximum-flood-time { - type uint32; - description "Maximum flood time (ms)"; - } - leaf interface-flood-pacing-timer { - type uint32; - description "Time until next flood pacing timer (ms)"; - } - leaf interface-neighbor-count { - type uint16; - description "Total number of Neighbors"; - } - leaf suppress-hello-count { - type uint16; - description - "Number of neighbors for which hellos are - suppressed"; - } - leaf interface-authentication-type { - type Authentication; - description "Authentication type"; - } - leaf youngest-md-key { - type boolean; - description "If true, MD key is configured"; - } - leaf old-md5-key-neighbor-count { - type uint32; - description - "Number of neighbors using the old key (if - rollover in progress)"; - } - leaf youngest-md-key-id { - type uint16; - description "Youngest MD key ID"; - } - leaf keychain-id { - type uint64; - description "Keychain ID"; - } - list md-keys { - description "List of old MD keys"; - leaf entry { - type uint16; - } - } - } - - grouping OSPF-SH-INTERFACE-BFD { - description "Interface BFD information"; - leaf bfd-intf-enable-mode { - type uint32; - description "BFD enable mode - Default/Strict"; - } - leaf interval { - type uint32; - description "BFD interval (ms)"; - } - leaf detection-multiplier { - type uint32; - description "BFD detection multiplier"; - } - } - - grouping OSPF-SH-INTERFACE-NBR { - description "OSPF Interface Neighbor Information"; - leaf interface-neighbor-id { - type inet:ipv4-address; - description "Neighbor Router ID"; - } - leaf interface-neighbor-cost { - type uint32; - description "Cost of link to neighbor"; - } - leaf neighbor-dr { - type boolean; - description "If true, Designated router"; - } - leaf neighbor-bdr { - type boolean; - description "If true, Backup designated router"; - } - leaf suppress-hello { - type boolean; - description "If true, hellos suppressed"; - } - } - - grouping OSPF-SH-INTERFACE { - description "OSPF Interface Information"; - - container interface-bfd-information { - description "BFD information"; - uses OSPF-SH-INTERFACE-BFD; - } - - container active-interface { - description "Active interface details"; - uses OSPF-SH-INTERFACE-UP; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf interface-state { - type Interface-state; - description "Interface state"; - } - leaf interface-line-state { - type boolean; - description "If true, line protocol is up"; - } - leaf interface-address { - type inet:ipv4-address; - description "Interface IP Address"; - } - leaf interface-mask { - type uint32; - description "Interface IP Mask"; - } - leaf interface-area { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted-decimal - format"; - } - leaf interface-sid { - type uint32; - description "Interface SID"; - } - leaf interface-sid-php-off { - type boolean; - description "SID PHP Off"; - } - leaf interface-sid-n-flag-clear { - type boolean; - description "SID N-Flag Clear"; - } - leaf interface-strict-spf-sid { - type uint32; - description "Interface Strict-SPF SID"; - } - leaf interface-strict-spf-sid-php-off { - type boolean; - description "Strict-SPF SID PHP Off"; - } - leaf interface-strict-spf-sid-n-flag-clear { - type boolean; - description "Strict-SPF SID N-Flag Clear"; - } - leaf interface-router-id { - type inet:ipv4-address; - description "Interface Router ID"; - } - leaf network-type { - type Interface; - description "Network type"; - } - leaf ip-mtu { - type uint16; - description "IP MTU"; - } - leaf maximum-packet-size { - type uint16; - description "Maximum Packet Size"; - } - leaf interface-tunnel-flags { - type uint32; - description "Interface tunnel flags"; - } - leaf interface-link-cost { - type uint16; - description "Interface link cost"; - } - leaf interface-bandwidth { - type uint32; - description "Interface bandwidth"; - } - leaf cfg-cost-fallback { - type boolean; - description "If true, cost fallback is configured"; - } - leaf interface-cost-fallback { - type uint16; - description "Interface fallback cost"; - } - leaf cost-fallback-active { - type boolean; - description "If true, cost fallback is active"; - } - leaf configured-ldp-sync { - type boolean; - description "If true, configured as LDP sync"; - } - leaf configured-ldp-sync-igp-shortcuts { - type boolean; - description "If true, sync igp shortcuts"; - } - leaf interface-ldp-sync { - type boolean; - description "If true, interface LDP sync is achieved"; - } - leaf configured-demand-circuit { - type boolean; - description "If true, configured as demand circuit"; - } - leaf interface-demand-circuit { - type boolean; - description "If true, interface running as demand circuit"; - } - leaf interface-dc-bitless-lsa-count { - type uint32; - description - "Number of LSAs with demand circuit bit not set - for the area in which the interface is running"; - } - leaf transmission-delay { - type uint16; - description "Interface Transmission delay"; - } - leaf ospf-interface-state { - type Ospf-interface-state; - description "Interface OSPF state"; - } - leaf interface-priority { - type uint8; - description "Interface priority"; - } - leaf designated-router { - type boolean; - description "If true, designated router"; - } - leaf designated-router-id { - type inet:ipv4-address; - description "Designated router ID"; - } - leaf designated-router-address { - type inet:ipv4-address; - description "Designated router interface address"; - } - leaf backup-designated-router { - type boolean; - description "If true, backup designated router"; - } - leaf backup-designated-router-id { - type inet:ipv4-address; - description "Backup designated router ID"; - } - leaf backup-designated-router-address { - type inet:ipv4-address; - description "Backup designated router interface address"; - } - leaf network-lsa-flush-timer { - type uint32; - units "second"; - description - "The amount of time in seconds before flush timer - for old network LSA expires"; - } - leaf interface-lsa-filter { - type boolean; - description "Filter is configured for out going LSAs"; - } - leaf hello-interval { - type uint32; - description "Configured hello interval (s)"; - } - leaf hello-interval-ms { - type uint32; - description "Configured hello interval (ms)"; - } - leaf dead-interval { - type uint32; - description "Configured dead interval (s)"; - } - leaf wait-interval { - type uint32; - description "Configured wait interval (s)"; - } - leaf interface-retransmission-interrval { - type uint32; - description "Configured retransmit interval (s)"; - } - leaf interface-nsf-enabled { - type boolean; - description "If true, NSF is enabled"; - } - leaf interface-nsf { - type boolean; - description - "If true, NSF restart in progress on this - interface"; - } - leaf interface-last-nsf { - type uint32; - description "Time since last NSF restart (s)"; - } - leaf passive-interface { - type boolean; - description "If true, passive interface"; - } - leaf next-hello-time { - type uint32; - description "Time until next Hello (s)"; - } - leaf next-hello-time-ms { - type uint32; - description "Time until next Hello (ms)"; - } - leaf ttl-security-enabled { - type boolean; - description "TTL security enabled on the interface"; - } - leaf ttl-security-hop-count { - type uint32; - description "TTL security hop counts"; - } - leaf interfaceis-madj { - type boolean; - description "If true, interface is multi-area"; - } - leaf interface-madj-count { - type uint16; - description "Total number of multi-area"; - } - leaf prefix-suppress-primary-addresses { - type boolean; - description "Prefix Suppression for primary addresses"; - } - leaf prefix-suppress-secondary-addresses { - type boolean; - description "Prefix Suppression for secondary addresses"; - } - leaf is-loopback-stub-network { - type boolean; - description - "If true, loopback interface is advertised as a - stub network"; - } - leaf interface-ack-list-count { - type uint32; - description "Ack List Count"; - } - leaf interface-ack-list-high-watermark { - type uint32; - description "Ack List High Watermark"; - } - leaf registered-for-link-down-fast-detection { - type boolean; - description "Registered for Link Down Fast Detection"; - } - leaf fast-detect-hold-down-time { - type uint32; - description "Hold-down time in ms for fast-detect event"; - } - leaf interface-fast-detect-hold-down { - type boolean; - description - "Link in hold-down state due to fast detect event"; - } - leaf fast-detect-hold-down-time-remaining { - type uint32; - description "Remaining hold down time in ms"; - } - leaf fast-reroute-type { - type Ipfrr; - description "IP Fast Reroute Type"; - } - leaf fast-reroute-topology-independent-lfa { - type boolean; - description "Topology Independent LFA"; - } - leaf interface-unnum { - type xr:Interface-name; - description "Unnumbered interface"; - } - leaf interface-forw { - type boolean; - description "Forward reference interface"; - } - leaf interface-pri-labels { - type uint8; - description "Max number of primary labels"; - } - leaf interface-bkp-labels { - type uint8; - description "Max number of backup labels"; - } - leaf interface-srte-labels { - type uint8; - description "Max number of SRTE labels"; - } - list srlg { - description "SRLG Values"; - leaf entry { - type uint32; - } - } - - list interface-neighbor { - description "Information for neighbors on the interface"; - uses OSPF-SH-INTERFACE-NBR; - } - - list interface-madj { - description "Information for multi-area on the interface"; - uses OSPF-SH-INTERFACE-MADJ; - } - - list ipfrr-tiebreakers { - description "IPFRR-Tiebreakers list"; - uses OSPF-SH-IPFRR-TB; - } - - list ip-sec-addr { - description "Secondary IP address list"; - uses OSPF-SH-SEC-ADDR; - } - } - - grouping OSPF-SH-VLINK-NEIGHBOR { - description "Virtual Link Neighbor Information"; - - container virtual-link-retransmissoin { - description "Neighbor retransmission info"; - uses OSPF-SH-NEIGHBOR-RETRANS; - } - leaf virtual-link-suppress-hello { - type boolean; - description "If true Hellos suppressed"; - } - leaf virtual-link-state { - type Neighbor-state; - description "Adjacency state"; - } - } - - grouping OSPF-SH-VIRTUAL-LINKS { - description "OSPF Virtual Link"; - - container virtual-link-neighbor { - description "Neighbor information"; - uses OSPF-SH-VLINK-NEIGHBOR; - } - leaf virtual-link-name-xr { - type string; - description "Virtual link name"; - } - leaf virtual-link-neighbor-id { - type inet:ipv4-address; - description "Neighbor on other end of this virtual link"; - } - leaf virtual-link-state { - type Ospf-interface-state; - description "OSPF interface state for the virtual link"; - } - leaf virtual-link-demand-circuit { - type boolean; - description "If true, the link runs as demand circuit"; - } - leaf virtual-link-dc-bitless-lsa { - type uint32; - description "Number of LSA's with demand circuit bit not set"; - } - leaf transit-area { - type string; - description "Transit area id"; - } - leaf virtual-link-interface-name { - type xr:Interface-name; - description "Interface on which this virtual link is formed"; - } - leaf virtual-link-cost { - type uint16; - description "Cost of the virtual link"; - } - leaf virual-link-transmission-delay { - type uint16; - units "second"; - description "Transmission delay in seconds"; - } - leaf virtual-link-hello-interval { - type uint32; - description "Hello interval (s)"; - } - leaf virtual-link-hello-interval-ms { - type uint32; - description "Hello interval (ms)"; - } - leaf virtual-link-dead-interval { - type uint32; - description "Dead interval (s)"; - } - leaf virtual-link-wait-interval { - type uint32; - description "Wait interval (s)"; - } - leaf virtaul-link-retransmission-interval { - type uint32; - description "Retransmission interval (s)"; - } - leaf virtual-link-next-hello { - type uint32; - description "Time until next hello (s)"; - } - leaf virtual-link-next-hello-ms { - type uint32; - description "Time until next hello (ms)"; - } - leaf virtual-link-passive { - type boolean; - description "If true, interface is passive"; - } - leaf virtual-link-authentication-type { - type Authentication; - description "Authentication type"; - } - leaf virtual-link-youngest-md-key { - type boolean; - description "If true, MD key configured"; - } - leaf virtual-link-youngest-md-key-id { - type uint16; - description "Youngest MD key ID"; - } - leaf virtual-link-old-md-key-count { - type uint32; - description - "Number of neighbors still using the old key - (rollover in progress)"; - } - leaf virtual-link-keychain-id { - type uint64; - description "Virtual Link Keychain ID"; - } - leaf virtual-link-nsf-enabled { - type boolean; - description "If true, NSF enabled"; - } - leaf virtual-link-nsf { - type boolean; - description - "If true, NSF restart in progress on the virtual - link"; - } - leaf virtual-link-last-nsf { - type uint32; - units "second"; - description "Time in seconds since last NSF"; - } - list virtual-link-md-key { - description "List of old MD keys (if any)"; - leaf entry { - type uint16; - } - } - } - - grouping OSPF-SH-INTERFACE-MADJ { - description "OSPF Interface Multi-Area Information"; - leaf interface-area { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted-decimal - format"; - } - leaf madj-area-id { - type uint32; - description "Area ID"; - } - leaf interface-neighbor-count { - type uint16; - description "Number of Neighbors"; - } - leaf interface-adj-neighbor-count { - type uint16; - description "Total number of Adjacent Neighbors"; - } - leaf interface-link-cost { - type uint16; - description "Interface link cost"; - } - leaf ospf-interface-state { - type Ospf-interface-state; - description "Interface OSPF state"; - } - } - - grouping OSPF-SH-IF-BRIEF { - description "OSPF Interface Brief Information"; - leaf interface-name-xr { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-area { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted-decimal - format"; - } - leaf interface-address { - type inet:ipv4-address; - description "Interface IP Address"; - } - leaf interface-mask { - type uint32; - description "Interface IP Mask"; - } - leaf interface-link-cost { - type uint16; - description "Interface link cost"; - } - leaf ospf-interface-state { - type Ospf-interface-state; - description "Interface OSPF state"; - } - leaf interface-fast-detect-hold-down { - type boolean; - description "Interface in fast detect hold down state"; - } - leaf interface-neighbor-count { - type uint16; - description "Total number of Neighbors"; - } - leaf interface-adj-neighbor-count { - type uint16; - description "Total number of Adjacent Neighbors"; - } - leaf interfaceis-madj { - type boolean; - description "If true, interface is multi-area"; - } - leaf interface-madj-count { - type uint16; - description "Total number of multi-area"; - } - - list interface-madj { - description "Information for multi-area on the interface"; - uses OSPF-SH-INTERFACE-MADJ; - } - } - - grouping OSPF-SH-ROUTE-EXTENDED-COMM { - description - "OSPF External Route Extended Community - Information"; - leaf extended-community-domain-id-value { - type yang:hex-string; - description "Domain ID value"; - } - leaf extended-communityl-domain-id-type { - type uint16; - description "Domain ID type"; - } - leaf extended-community-area-id { - type uint32; - description "Area id"; - } - leaf extended-community-router-id { - type inet:ipv4-address; - description "Router id"; - } - leaf extended-community-route-type { - type uint8; - description "Route type"; - } - leaf extended-community-options { - type uint8; - description "Route Options"; - } - } - - grouping OSPF-SH-REDIST-PROTO { - description "Redistributed protocol instance"; - leaf protocol-type { - type Redist-protocol; - description "ProtocolType"; - } - leaf isis-instance-id { - when "../protocol-type = 'mgmt-rib-protocol-isis'" { - description "../ProtocolType = 'MGMT_RIB_PROTOCOL_ISIS'"; - } - type String1; - description "ISIS instance identifier"; - } - leaf ospf-process-id { - when "../protocol-type = 'mgmt-rib-protocol-ospf'" { - description "../ProtocolType = 'MGMT_RIB_PROTOCOL_OSPF'"; - } - type String1; - description "OSPF process identifier"; - } - leaf bgp-as-number { - when "../protocol-type = 'mgmt-rib-protocol-bgp'" { - description "../ProtocolType = 'MGMT_RIB_PROTOCOL_BGP'"; - } - type String1; - description "BGP Autonomous System Number"; - } - leaf eigrp-as-number { - when "../protocol-type = 'mgmt-rib-protocol-eigrp'" { - description "../ProtocolType = 'MGMT_RIB_PROTOCOL_EIGRP'"; - } - type String1; - description "Autonomous System Number"; - } - leaf connected-instance { - when "../protocol-type = 'mgmt-rib-protocol-connected'" { - description - "../ProtocolType = 'MGMT_RIB_PROTOCOL_CONNECTED'"; - } - type String1; - description "Connected instance name"; - } - } - - grouping OSPF-SH-ROUTE-EXT { - description "OSPF External Route Information"; - - container route-information { - description "Route information"; - uses OSPF-SH-TOPOLOGY; - } - - container protocol-name { - description - "Name of protocol from which the external route - was redistributed"; - uses OSPF-SH-REDIST-PROTO; - } - - container route-extended-community { - description "Extended communities in the route"; - uses OSPF-SH-ROUTE-EXTENDED-COMM; - } - } - - grouping OSPF-SH-ROUTE-SUMM-COMMON { - description "OSPF Route Summary Common Information"; - leaf external-type1s { - type uint32; - description "External type 1 count"; - } - leaf external-type2s { - type uint32; - description "External type 2 count"; - } - leaf external-nssa-type1s { - type uint32; - description "External NSSA type 1 count"; - } - leaf external-nssa-type2s { - type uint32; - description "External NSSA type 2 count"; - } - leaf inter-areas { - type uint32; - description "Inter-area count"; - } - leaf intra-areas { - type uint32; - description "Intra-area count"; - } - leaf total { - type uint32; - description "Total count"; - } - } - - grouping OSPF-SH-ROUTE-SUMMARY { - description "OSPF Route Summary Information"; - - container failure-time { - description "Last time failed"; - uses OSPF-SH-TIME; - } - - container common { - description "OSPF route summary Information"; - uses OSPF-SH-ROUTE-SUMM-COMMON; - } - leaf failures { - type uint32; - description "RIB failure count"; - } - leaf failure-address { - type inet:ipv4-address; - description "Last failed address"; - } - } - - grouping OSPF-SH-TOP-PATH { - description "OSPF Route Path Information"; - - container sr-microloop-avoidance-path { - description "SR Microloop avoidance Path Info"; - uses OSPF-SH-SR-ULOOP-PATH; - } - leaf route-interface-name { - type xr:Interface-name; - description "Next hop Interface"; - } - leaf route-next-hop-address { - type inet:ipv4-address; - description "Nexthop IP address"; - } - leaf route-source { - type inet:ipv4-address; - description "IP address of source of route"; - } - leaf route-lsaid { - type inet:ipv4-address; - description "LSA ID, see RFC2328"; - } - leaf route-path-is-mcast-intact { - type boolean; - description "Multicast-intact path"; - } - leaf route-path-is-ucmp-path { - type boolean; - description "UCMP path"; - } - leaf route-metric { - type uint32; - description "Metric"; - } - leaf lsa-type { - type uint8; - description "LSA type, see RFC2328 etc."; - } - leaf area-id { - type uint32; - description "Area ID"; - } - leaf area-format { - type boolean; - description "Area format IP or uint32"; - } - } - - grouping OSPF-SH-TOPOLOGY { - description "OSPF Route Information"; - - container route-info { - description "Route information"; - uses OSPF-SH-TOP-COMMON; - } - leaf route-prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf route-prefix-length { - type uint32; - description "Prefix length"; - } - leaf route-metric { - type uint32; - description "Metric"; - } - leaf route-type { - type Ospf-route; - description "Route type"; - } - leaf route-connected { - type boolean; - description "If true, connected route"; - } - - list route-path { - description "List of paths to this route"; - uses OSPF-SH-TOP-PATH; - } - } - - grouping OSPF-SH-SR-ULOOP-PATH { - description "OSPF Route SR Uloop Path Information"; - leaf microloop-repair-list-size { - type uint32; - description "Microloop Repair List Size"; - } - leaf microloop-tunnel-interface-name { - type xr:Interface-name; - description "Microloop Tunnel Interface name"; - } - leaf microloop-strict-spf { - type boolean; - description "Strict SPF SID"; - } - - list microloop-repair { - max-elements "10"; - description "Microloop Repair List"; - uses OSPF-SH-REP-EL; - } - } - - grouping OSPF-SH-REP-EL { - description "OSPF Repair Element"; - leaf repair-element-id { - type inet:ipv4-address; - description "Repair Element ID"; - } - leaf repair-label { - type uint32; - description "Repair Label"; - } - leaf repair-element-type { - type uint32; - description "Repair Element Type"; - } - } - - grouping OSPF-SH-BACKUP-PATH { - description "OSPF Route Backup Path Information"; - leaf backup-route-interface-name { - type xr:Interface-name; - description "Next hop Interface"; - } - leaf backup-route-next-hop-address { - type inet:ipv4-address; - description "Nexthop IP address"; - } - leaf backup-route-source { - type inet:ipv4-address; - description "IP address of source of route"; - } - leaf backup-metric { - type uint32; - description "Metric"; - } - leaf primary-path { - type boolean; - description "Primary Path"; - } - leaf line-card-disjoint { - type boolean; - description "Line Card Disjoint"; - } - leaf downstream { - type boolean; - description "Downstream"; - } - leaf node-protect { - type boolean; - description "Node Protect"; - } - leaf srlg-disjoint { - type boolean; - description "SRLG Disjoint"; - } - leaf backup-remote-lfa { - type inet:ipv4-address; - description "IP address of remote LFA"; - } - leaf backup-repair-list-size { - type uint32; - description "Repair List Size"; - } - leaf backup-tunnel-interface-name { - type xr:Interface-name; - description "Backup Tunnel Interface"; - } - - list backup-repair { - max-elements "10"; - description "Backup Repair List"; - uses OSPF-SH-REP-EL; - } - } - - grouping OSPF-SH-TOP-PATH-BACKUP { - description "OSPF Route Path Wit Backup Path Information"; - - container route-backup-path { - description "Backup Path Info"; - uses OSPF-SH-BACKUP-PATH; - } - - container sr-microloop-avoidance-path { - description "SR Microloop avoidance Path Info"; - uses OSPF-SH-SR-ULOOP-PATH; - } - leaf route-interface-name { - type xr:Interface-name; - description "Next hop Interface"; - } - leaf route-next-hop-address { - type inet:ipv4-address; - description "Nexthop IP address"; - } - leaf route-source { - type inet:ipv4-address; - description "IP address of source of route"; - } - leaf route-lsaid { - type inet:ipv4-address; - description "LSA ID, see RFC2328"; - } - leaf route-path-is-mcast-intact { - type boolean; - description "Multicast-intact path"; - } - leaf route-path-is-ucmp-path { - type boolean; - description "UCMP path"; - } - leaf route-metric { - type uint32; - description "Metric"; - } - leaf route-path-id { - type uint16; - description "Path ID of path"; - } - leaf lsa-type { - type uint8; - description "LSA type, see RFC2328 etc."; - } - } - - grouping OSPF-SH-TOP-COMMON { - description "OSPF Common Route Information"; - - container route-update-time { - description "Last time updated"; - uses OSPF-SH-TIME; - } - - container route-fail-time { - description "Last time update failed"; - uses OSPF-SH-TIME; - } - leaf route-area-id { - type uint32; - description "Area ID"; - } - leaf route-te-metric { - type uint32; - description "TE metric"; - } - leaf route-rib-version { - type uint32; - description "RIB version"; - } - leaf route-spf-version { - type uint64; - description "SPF version"; - } - leaf route-forward-distance { - type uint32; - description "Forward distance"; - } - leaf route-source { - type uint16; - description "Protocol source"; - } - leaf route-spf-priority { - type uint8; - description "SPF priority"; - } - leaf route-auto-excluded { - type boolean; - description "If true, exclude from TE paths"; - } - leaf route-srte-prefix-registered { - type boolean; - description "If true, SRTE registered prefix route"; - } - leaf route-srte-nbr-registered { - type uint16; - description "SRTE registered neigbhor count on route"; - } - } - - grouping OSPF-SH-TOPOLOGY-BACKUP { - description "OSPF Route Information With Backup Path"; - - container route-info { - description "Route information"; - uses OSPF-SH-TOP-COMMON; - } - leaf route-prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf route-prefix-length { - type uint32; - description "Prefix length"; - } - leaf route-metric { - type uint32; - description "Metric"; - } - leaf route-type { - type Ospf-route; - description "Route type"; - } - leaf route-connected { - type boolean; - description "If true, connected route"; - } - - list route-path { - description "List of paths to this route"; - uses OSPF-SH-TOP-PATH-BACKUP; - } - } - - grouping OSPF-SH-NEIGHBOR-RETRANS { - description "OSPF Neighbor Retransmission Information"; - leaf dbd-retransmission-count { - type uint32; - description - "Number of DBD retransmissions during last - exchange"; - } - leaf dbd-retransmission-total-count { - type uint32; - description - "Total number of DBD retransmissions for this - neighbor"; - } - leaf area-flooding-index { - type uint32; - description "Area scope LSA's flood index"; - } - leaf as-flood-index { - type uint32; - description "AS scope LSA's flood index"; - } - leaf neighbor-retransmission-count { - type uint32; - description "Retransmission queue length"; - } - leaf number-of-retransmissions { - type uint32; - description "Number of retransmissions for this neighbor"; - } - leaf area-first-flood-information { - type uint32; - description "First flood item for area scope LSAs"; - } - leaf area-first-flood-information-index { - type uint32; - description - "Index of the first flood item for area scope - LSAs"; - } - leaf as-first-flood-information { - type uint32; - description "First flood item for AS scope LSAs"; - } - leaf as-first-flood-information-index { - type uint32; - description "Index for first flood item for AS scope LSAs"; - } - leaf area-next-flood-information { - type uint32; - description "Next flood item for area scope LSAs"; - } - leaf area-next-flood-information-index { - type uint32; - description "Index of next flood item for Area scope LSAs"; - } - leaf as-next-flood-information { - type uint32; - description "Next flood item for AS scope LSAs"; - } - leaf as-next-flood-information-index { - type uint32; - description "Index of next flood item for AS scope LSAs"; - } - leaf last-retransmission-length { - type uint32; - description "Number of LSAs sent in last retransmission"; - } - leaf maximum-retransmission-length { - type uint32; - description "Maximum number of LSAs sent in a retransmission"; - } - leaf last-retransmission-time { - type uint32; - description "Last retransmission scan time (ms)"; - } - leaf maximum-retransmission-time { - type uint32; - description "Maximum retransmission scan time (ms)"; - } - leaf lsa-retransmission-timer { - type uint32; - description "Time until next LSA retransmission (ms)"; - } - } - - grouping OSPF-SH-NEIGHBOR-DETAIL { - description "OSPF Neighbor Detailed Information"; - - container neighbor-summary { - description "Neighbor summary information"; - uses OSPF-SH-NEIGHBOR; - } - - container neighbor-bfd-information { - description "Neighbor BFD information"; - uses OSPF-SH-NEIGHBOR-BFD; - } - - container neighbor-retransmission-information { - description "Retransmission information with this neighbor"; - uses OSPF-SH-NEIGHBOR-RETRANS; - } - leaf neighbor-area-id { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted-decimal - format"; - } - leaf state-change-count { - type uint16; - description "Number of state changes"; - } - leaf neighbor-cost { - type uint16; - description "Cost of path to this neighbor"; - } - leaf neighbor-filter { - type boolean; - description "If true, filter outgoing LSAs"; - } - leaf neighbor-designated-router-address { - type inet:ipv4-address; - description "Address of designated router"; - } - leaf neighbor-backup-designated-router-address { - type inet:ipv4-address; - description "Address of backup designated router"; - } - leaf interface-type { - type Interface; - description "Interface type"; - } - leaf poll-interval { - type uint32; - description "Poll interval (s)"; - } - leaf next-poll-interval { - type uint32; - units "second"; - description - "For NBMA networks, amount of time remaining in - seconds before the next poll interval expires - and Hello is sent (s)"; - } - leaf neighbor-option { - type uint8; - description - " This is bitmaks of neighbor's option field - received"; - } - leaf pending-events { - type uint16; - description "Number of pending events"; - } - leaf neighbor-lls-option { - type uint32; - description - "This is a bitmask of Link Local signalling - options received from the neighbor"; - } - leaf oob-resynchronization { - type boolean; - description "Out-Of-Bound resynchronization in progress"; - } - leaf nsf-router-state { - type Nsf-rtr; - description - "For cisco NSF, the router is either Requester or - Receiver"; - } - leaf last-oob-time { - type uint32; - units "second"; - description - "The amount of time in seconds since last time - Out-Of-Band resynchronization was done with this - neighbor"; - } - leaf lfa-interface { - type xr:Interface-name; - description "LFA Interface"; - } - leaf lfa-next-hop { - type inet:ipv4-address; - description "LFA Next Hop"; - } - leaf lfa-neighbor-id { - type inet:ipv4-address; - description "LFA Neighbor ID"; - } - leaf lfa-neighbor-revision { - type uint32; - description "LFA Neighbor Revision"; - } - leaf neighbor-ack-list-count { - type uint32; - description "Ack List Count"; - } - leaf neighbor-ack-list-high-watermark { - type uint32; - description "Ack List High Watermark"; - } - leaf adjacency-sid-label { - type uint32; - description "SR Adjacency SID Label"; - } - leaf adjacency-sid-protected { - type boolean; - description "SR Adjacency SID Protected"; - } - leaf adjacency-sid-unprotected-label { - type uint32; - description "SR Adjacency SID Unprotected Label"; - } - leaf neighbor-interface-id { - type uint16; - description "Interface ID of neighbor recived via LLS"; - } - } - - grouping OSPF-SH-RETRANS-LIST { - description "OSPF Retransmission List"; - leaf retransmission-neighbor-id { - type inet:ipv4-address; - description "Neighbor ID"; - } - leaf retransmission-neighbor-ip-address { - type inet:ipv4-address; - description "Neighbor IP Address"; - } - leaf retransmission-interface-name { - type xr:Interface-name; - description "Retransmission list interface"; - } - leaf retransmission-timer { - type uint32; - description - "Amount of time remaining on retransmission timer - (ms)"; - } - leaf retransmission-count { - type uint32; - description "Retransmission queue length"; - } - - list retransmission-area-db { - description "List of Area scope entries"; - uses OSPF-SH-LSA-SUM; - } - - list retransmission-asdb { - description "List of AS Scope entries"; - uses OSPF-SH-LSA-SUM; - } - } - - grouping OSPF-SH-REQUEST-LIST { - description "OSPF Request List Information"; - leaf request-neighbor-id { - type inet:ipv4-address; - description "Neighbor ID"; - } - leaf request-neighbor-address { - type inet:ipv4-address; - description "Neighbor IP address"; - } - leaf request-interface-name { - type xr:Interface-name; - description "Request list interface"; - } - - list request { - description "List of request list entries"; - uses OSPF-SH-LSA-SUM; - } - } - - grouping OSPF-SH-NEIGHBOR-BFD { - description "OSPF Neighbor BFD information"; - leaf bfd-intf-enable-mode { - type uint32; - description "BFD enable mode - Default/Strict"; - } - leaf bfd-status-flag { - type uint8; - description "Status of the BFD Session"; - } - } - - grouping OSPF-SH-NEIGHBOR { - description "OSPF Neighbor Summary Information"; - - container neighbor-bfd-information { - description "Neighbor BFD information"; - uses OSPF-SH-NEIGHBOR-BFD; - } - leaf neighbor-id { - type inet:ipv4-address; - description "Neighbor ID"; - } - leaf neighbor-address-xr { - type inet:ipv4-address; - description "Neighbor IP Address"; - } - leaf neighbor-interface-name { - type xr:Interface-name; - description "Interface via which the neighbor is seen"; - } - leaf neighbor-dr-priority { - type uint8; - description "Neighbor's DR priority"; - } - leaf neighbor-state { - type Neighbor-state; - description "Neighbor's state"; - } - leaf dr-bdr-state { - type Dr-bdr-state; - description "Designated Router state"; - } - leaf neighbor-dead-timer { - type uint32; - description "Time until neighbor's dead timer expires (s)"; - } - leaf neighbor-up-time { - type uint32; - description "Amount of time since the adjacency is up (s)"; - } - leaf neighbor-madj-interface { - type boolean; - description "Interface is MADJ"; - } - } - - grouping OSPF-SH-TIME { - description "OSPF SH TIME"; - leaf second { - type uint32; - description "Second"; - } - leaf nanosecond { - type uint32; - description "Nanosecond"; - } - } - - grouping OSPF-SH-MPLS-FRAGMENT { - description "OSPF MPLS-TE Fragment Information"; - leaf fragment-instance { - type uint32; - description "Fragment instance"; - } - leaf fragment-id { - type uint32; - description "Fragment ID"; - } - leaf dste-model-id { - type uint8; - description "DS-TE Allocation Model ID"; - } - leaf same-fragment-count { - type uint8; - description - "Number of fragment links which haven't changed - since the last update"; - } - - list mpls-te-link { - description "List of fragment links"; - uses OSPF-SH-MPLS-LINK; - } - } - - grouping OSPF-SH-MPLS-EAG { - description "EXTENDED administrative group TLVs"; - leaf extended-admin-size { - type uint32; - description "Size of the extended admin group"; - } - list ext-admin-data { - description "Value of Extended Admin Group"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TEL-OPT-UNID-VAL { - description "MPLS TE Link Optional TLV IXCD Data"; - leaf uni-dir-delay { - type uint32; - description "Uni Dir Delay"; - } - } - - grouping BW-FLEX-SUBTLV-VALUE { - description "Value of Flex Sub TLV"; - - container flex-sub-tlv-value-common { - description "Flex Sub TLV Value"; - uses BW-SUB-TLV-VALUE-COMMON; - } - list unres-lspbw { - max-elements "8"; - - description "Array of Unres LSP BW"; - leaf entry { - type uint64; - } - } - list max-lspbw { - max-elements "8"; - - description "Max LSP BW Array"; - leaf entry { - type uint64; - } - } - } - - grouping BW-SUB-TLV-VALUE-COMMON { - description "Common values in both Fixed and Flex Sub TLV"; - leaf signal-type { - type uint8; - description "Signal Type"; - } - leaf num-stages { - type uint8; - description "Number of stages"; - } - leaf tbit { - type uint8; - description "T Bit"; - } - leaf sbit { - type uint8; - description "S Bit"; - } - leaf tsg { - type uint8; - description "TSG"; - } - leaf res { - type uint8; - description "Res"; - } - leaf priority-bit0 { - type uint8; - description "Priority 0"; - } - leaf priority-bit1 { - type uint8; - description "Priority 1"; - } - leaf priority-bit2 { - type uint8; - description "Priority 2"; - } - leaf priority-bit3 { - type uint8; - description "Priority 3"; - } - leaf priority-bit4 { - type uint8; - description "Priority 4"; - } - leaf priority-bit5 { - type uint8; - description "Priority 5"; - } - leaf priority-bit6 { - type uint8; - description "Priority 6"; - } - leaf priority-bit7 { - type uint8; - description "Priority 7"; - } - leaf stage { - type yang:hex-string; - description "Array of Stages"; - } - } - - grouping BW-FIXED-SUBTLV-VALUE { - description "Value of Fixed Sub TLV"; - - container fixed-sub-tlv-value { - description "Value of Fixed Sub TLV"; - uses BW-SUB-TLV-VALUE-COMMON; - } - list unres-oduj-prio { - max-elements "8"; - - description "Array of Unres Oduj Prio"; - leaf entry { - type uint32; - } - } - } - - grouping IXCD-BW-SUB-TLV-VALUE-UNION { - description "Sub Tlv values for IXCD Bandwidth"; - - container fixed-bw-sub-tlv-value { - when "../ixcdbw-sub-tlv-type = '1'" { - description "../IXCDBWSubTLVType = '1'"; - } - description "Value of Fixed Sub TLV"; - uses BW-FIXED-SUBTLV-VALUE; - } - - container flex-bw-sub-tlv-value { - when "../ixcdbw-sub-tlv-type = '2'" { - description "../IXCDBWSubTLVType = '2'"; - } - description "Value of Flex Sub TLV"; - uses BW-FLEX-SUBTLV-VALUE; - } - leaf ixcdbw-sub-tlv-type { - type uint16; - description "IXCDBWSubTLVType"; - } - } - - grouping IXCD-BW-SUB-TLV { - description "IXCD BW sub tlv"; - - container bw-sub-tlv-value { - description "Value of BW Sub TLV"; - uses IXCD-BW-SUB-TLV-VALUE-UNION; - } - leaf bw-sub-tlv-type { - type uint16; - description "Type of Sub TLV"; - } - leaf bw-sub-tlv-length { - type uint16; - description "Length of BW Sub TLV"; - } - } - - grouping IXCD-BW-SUB-TLV-ARR { - description "Array of BW Sub TLVs"; - - list arr-bw-sub-tlv { - description "Array of sub tlvs"; - uses IXCD-BW-SUB-TLV; - } - } - - grouping IXCD-LE-PSC-INFO { - description "IXCD LE PSC information"; - leaf min-lsp-bandwidth { - type uint64; - description "Min LSP bandwidth"; - } - leaf psc-interface-mtu { - type uint16; - description " Interface MTU"; - } - } - - grouping IXCD-TLV-SWITCHINGCAP-VALUE-UNION { - description "Switching Cap values"; - - container ixcdpsc-info { - when "../switching-cap-type = 'rrr-proto-l-switch-cap-psc4'" { - description - "../SwitchingCapType = - 'RRR_PROTO_LSWITCH_CAP_PSC4'"; - } - description "IXCD PSC information"; - uses IXCD-LE-PSC-INFO; - } - - container ixcdbw-sub-tlv { - when "../switching-cap-type ="+ - " 'rrr-proto-l-switch-cap-otn-tdm'" { - description - "../SwitchingCapType = - 'RRR_PROTO_LSWITCH_CAP_OTN_TDM'"; - } - description "Sub TLVs"; - uses IXCD-BW-SUB-TLV-ARR; - } - leaf switching-cap-type { - type uint8; - description "SwitchingCapType"; - } - } - - grouping MPLS-TEL-OPT-IXCD-VAL { - description "MPLS TE Link Optional TLV IXCD Data"; - - container ixcd-switching-cap-type { - description "Switching Cap type"; - uses IXCD-TLV-SWITCHINGCAP-VALUE-UNION; - } - leaf switching-cap { - type uint8; - description "SCap"; - } - leaf rile-len-code { - type uint8; - description "Rile LenCode"; - } - leaf fixed-scsi-count { - type uint32; - description "Fixed SCSI count"; - } - leaf flex-scsi-count { - type uint32; - description "Flexible SCSI count"; - } - list max-lspbw { - max-elements "8"; - - description "Max LSP bandwidth array"; - leaf entry { - type int64; - } - } - } - - grouping MPLS-TEL-OPT-SRLG-VAL { - description "MPLS TE Link Optional TLV SRLG Data"; - leaf srlg-len { - type uint32; - description "Length of SRLG TLV"; - } - leaf num-srl-gs { - type uint32; - description "Number of SRLG TLVs"; - } - list mplste-link-srlg-data { - description "Value of SRLG TLV"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TEL-OPT-BC-VAL { - description "MPLS TE Link Optional TLV BC Data"; - leaf model-id { - type uint8; - description "Allocation Model ID"; - } - leaf num-b-cs { - type uint32; - description "Number of BC TLVs"; - } - list mplste-link-bc-bandwidth { - description "Value of BC TLV"; - leaf entry { - type uint64; - } - } - } - - grouping MPLSTEL-TLV-VALUE-UNION { - description "Value of TLVs"; - - container bctlv-value { - when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-bc'" { - description "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_BC'"; - } - description "Value of Bandwidth Constraints TLV"; - uses MPLS-TEL-OPT-BC-VAL; - } - - container srlgtlv-value { - when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-srlg'" { - description - "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_SRLG'"; - } - description "Value of SRLG TLV"; - uses MPLS-TEL-OPT-SRLG-VAL; - } - - container ixcdtlv-value { - when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-ixcd'" { - description - "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_IXCD'"; - } - description "Value of IXCD TLV"; - uses MPLS-TEL-OPT-IXCD-VAL; - } - - container unidtlv-value { - when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-uni-delay'" { - description - "../OpaqueTLVType = - 'MPLS_TE_OPT_TLV_TYPE_UNI_DELAY'"; - } - description "Value of Uni Delay TLV"; - uses MPLS-TEL-OPT-UNID-VAL; - } - leaf opaque-tlv-type { - type Mpls-te-opt-tlv; - description "OpaqueTLVType"; - } - } - - grouping OSPF-SH-MPLS-TEL-OPT-TLV { - description "MPLS TE Link Optional TLVs"; - leaf mplste-link-opt-tlv-type { - type Mpls-te-opt-tlv; - description "Type of Opt TLV"; - } - leaf mplste-link-opt-tlv-len { - type uint16; - description "Length of Opt TLV"; - } - - list mplste-link-opt-tlv-value { - description "Value of Opt TLV"; - uses MPLSTEL-TLV-VALUE-UNION; - } - } - - grouping OSPF-SH-MPLS-IXCD-CAP { - description "Link switching capability"; - leaf link-switching-capability { - type uint8; - description "Link Switching Capability"; - } - leaf link-encoding { - type uint8; - description "Link Encoding"; - } - leaf minimum-lsp-bw { - type uint64; - units "byte/s"; - description "Minimum LSP bandwidth (bytes/s)"; - } - leaf link-mtu { - type uint16; - units "byte"; - description "Link MTU size (bytes)"; - } - list maximum-lsp-bw-per-priority { - max-elements "8"; - - description - - "Maximum LSP bandwidth for each priority - - (bytes/s)"; - leaf entry { - type uint64; - - units "byte/s"; - } - } - } - - grouping OSPF-SH-MPLS-LINK-PROTOPRIO { - description "Link protocol and priority capability"; - leaf link-protocol-capability { - type uint8; - description "Link protocol capability"; - } - leaf link-protocol-priority { - type uint8; - description "Link protocol priority"; - } - } - - grouping OSPF-SH-MPLS-BW { - description "Available bandwidth for each priority level"; - list bw-per-priority { - max-elements "8"; - - description - - "Unreserved bandwidth for each priority (bytes/s)"; - leaf entry { - type uint64; - - units "byte/s"; - } - } - } - - grouping OSPF-SH-MPLS-LINK { - description "OSPF MPLS-TE link Information"; - - container global-unreserve-bw-per-priority { - description - "Global pool unreserved bandwidth for each - priority (bytes/s)"; - uses OSPF-SH-MPLS-BW; - } - - container sub-pool-unreserve-bw-per-priority { - description - "Sub pool unreserved bandwidth for each priority - (bytes/s)"; - uses OSPF-SH-MPLS-BW; - } - - container link-protocol-priority-capability { - description "Link protocol and protocol priority capability"; - uses OSPF-SH-MPLS-LINK-PROTOPRIO; - } - - container link-sw-capability { - description "Link switching capability"; - uses OSPF-SH-MPLS-IXCD-CAP; - } - - container extended-admin-group-list { - description "Extended Admin Group"; - uses OSPF-SH-MPLS-EAG; - } - leaf new-link { - type boolean; - description "If true, Link is new"; - } - leaf fragment-id { - type uint32; - description "Fragment ID for this link"; - } - leaf mpls-link-instance { - type uint32; - description "Link instance"; - } - leaf mpls-link-type { - type Link-subnet; - description "Type of link"; - } - leaf neighbor-system-id { - type inet:ipv4-address; - description "Neighbor system ID"; - } - leaf link-address { - type inet:ipv4-address; - description "The local interface address"; - } - leaf neighbor-ip-address { - type inet:ipv4-address; - description "Neighbor IP address."; - } - leaf igp-metric { - type uint32; - description "Link IGP metric"; - } - leaf te-metric { - type uint32; - description "Link TE metric"; - } - leaf maximum-link-bw { - type uint32; - units "byte/s"; - description "Maximum link bandwidth (bytes/s)"; - } - leaf maximum-link-reservable-bw { - type uint32; - units "byte/s"; - description - "Maximum link global pool reservable bandwidth - (bytes/s)"; - } - leaf maximum-link-sub-reservable-bw { - type uint32; - units "byte/s"; - description - "Maximum link subpool reservable bandwidth - (bytes/s)"; - } - leaf priority-count { - type int32; - description "Number of priorities."; - } - leaf affinity { - type uint32; - description "Affinity"; - } - leaf output-interface-id { - type uint32; - description "Output interface ID"; - } - leaf input-interface-id { - type uint32; - description "Input interface ID"; - } - leaf dste-in-use { - type boolean; - description "A DS-TE Allocation Model in use"; - } - leaf dste-allocation-model-id { - type Igpte-lib-bw-model; - description "DS-TE Allocation Model ID"; - } - leaf number-of-optional-tl-vs { - type uint8; - description "Number of Optional TLVs"; - } - - list mplste-link-opt-tlv { - description "List of Optional TLVs"; - uses OSPF-SH-MPLS-TEL-OPT-TLV; - } - } - - grouping OSPF-SH-MPLS { - description "OSPF MPLS-TE Information"; - leaf mpls-te-router-id { - type inet:ipv4-address; - description "OSPF MPLS-TE router ID"; - } - leaf mpls-te-enabled { - type boolean; - description "If true, MPLS-TE enabled in area"; - } - leaf mpls-te-initialized { - type boolean; - description "If true, MPLS-TE initialized in the area"; - } - leaf mpls-te-area-id { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted decimal - format"; - } - leaf mpls-te-area-instance { - type uint32; - description "Area information instance"; - } - leaf mpls-te-router-address { - type inet:ipv4-address; - description "MPLS-TE router address"; - } - leaf mpls-te-next-fragment-id { - type uint32; - description "Next MPLS-TE fragment ID"; - } - leaf spacious-fragment { - type boolean; - description "If true, fragment has space for next link"; - } - - list mpls-te-link { - description "MPLS-TE links in the area"; - uses OSPF-SH-MPLS-LINK; - } - - list mpls-te-fragment { - description "MPLS TE fragments in the area"; - uses OSPF-SH-MPLS-FRAGMENT; - } - } - - grouping OSPF-SH-LSA-SUM { - description "LSA Summary Entry"; - leaf header-lsa-type { - type Lsa; - description "LSA Type"; - } - leaf header-lsa-age { - type uint16; - description "Age of the LSA (s)"; - } - leaf header-ls-id { - type inet:ipv4-address; - description "LSA ID"; - } - leaf header-advertising-router { - type inet:ipv4-address; - description "Router ID of the Advertising Router"; - } - leaf header-sequence-number { - type uint32; - description "Current LSA sequence number"; - } - leaf header-lsa-checksum { - type uint16; - description "Checksum of the LSA"; - } - } - - grouping OSPF-SH-FLOOD-LIST { - description "OSPF Flood List"; - leaf flood-interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf flood-pacing-timer { - type uint32; - description "Time until next LS update due (ms)"; - } - leaf flood-lsa-count { - type uint32; - description "Number of LSAs currently being flooded"; - } - - list area-flood { - description "Area scope floodlist"; - uses OSPF-SH-LSA-SUM; - } - - list as-flood { - description "AS scope floodlist"; - uses OSPF-SH-LSA-SUM; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang deleted file mode 100644 index cde3591..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang +++ /dev/null @@ -1,1080 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ospf-oper-sub3 { - - belongs-to Cisco-IOS-XR-ipv4-ospf-oper { - prefix Cisco-IOS-XR-ipv4-ospf-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-ospf-oper-sub2 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ospf package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-02" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping OSPF-SH-IF-STATS-ENTRY { - description "OSPF interface entry for statistics"; - leaf madj-intf { - type boolean; - description "OSPF madj interface"; - } - leaf area-id { - type uint32; - description "OSPF area id"; - } - leaf area-id-str { - type string; - description "OSPF aread id string"; - } - list if-stat { - description "OSPF interface statistics"; - leaf entry { - type uint32; - } - } - } - - grouping OSPF-SH-IF-STATS { - description "OSPF interface statistics"; - leaf handle { - type xr:Interface-name; - description "interface handle type"; - } - leaf if-name-str { - type string; - description "interface name"; - } - - list if-entry { - description "interface entry"; - uses OSPF-SH-IF-STATS-ENTRY; - } - } - - grouping OSPF-SH-RAW-STATS { - description "OSPF SH RAW STATS"; - leaf out-sent { - type uint32; - description "out sent"; - } - leaf out-bytes-sent { - type uint32; - description "out bytes sent"; - } - leaf out-no-conn-discarded { - type uint32; - description "out no conn discarded"; - } - leaf out-null-src-discarded { - type uint32; - description "out null src discarded"; - } - leaf out-no-pak-discarded { - type uint32; - description "out no pak discarded"; - } - leaf out-ipv4-hdr-err-discarded { - type uint32; - description "out ipv4 hdr err discarded"; - } - leaf out-send-pak-err-discarded { - type uint32; - description "out send pak err discarded"; - } - leaf in-rcv { - type uint32; - description "in rcv"; - } - leaf in-bytes-rcv { - type uint32; - description "in bytes rcv"; - } - leaf in-short-msg-discarded { - type uint32; - description "in short msg discarded"; - } - leaf in-no-mem-discarded { - type uint32; - description "in no mem discarded"; - } - leaf in-raw-event { - type uint32; - description "in raw event"; - } - leaf disconnects { - type uint32; - description "disconnects"; - } - leaf in-standby-discarded { - type uint32; - description "in standby discarded"; - } - leaf nsr-not-ready-discarded { - type uint32; - description "nsr not ready discarded"; - } - leaf raw-connected { - type boolean; - description "raw connected"; - } - leaf sl-raw-connected { - type boolean; - description "sl raw connected"; - } - } - - grouping OSPF-SH-PROTOPKT-STATS { - description "OSPF SH PROTOPKT STATS"; - leaf inputs { - type uint32; - description "inputs"; - } - leaf input-hello { - type uint32; - description "input hello"; - } - leaf input-dbdes { - type uint32; - description "input dbdes"; - } - leaf input-dbdes-lsa { - type uint32; - description "input dbdes lsa"; - } - leaf input-req { - type uint32; - description "input req"; - } - leaf input-req-lsa { - type uint32; - description "input req lsa"; - } - leaf input-lsupd { - type uint32; - description "input lsupd"; - } - leaf input-lsupd-lsa { - type uint32; - description "input lsupd lsa"; - } - leaf input-ack { - type uint32; - description "input ack"; - } - leaf input-ack-lsa { - type uint32; - description "input ack lsa"; - } - leaf checksumerr { - type uint32; - description "checksumerr"; - } - leaf input-autherr { - type uint32; - description "input autherr"; - } - leaf outputs { - type uint32; - description "outputs"; - } - leaf output-hello { - type uint32; - description "output hello"; - } - leaf output-dbdes { - type uint32; - description "output dbdes"; - } - leaf output-dbdes-lsa { - type uint32; - description "output dbdes lsa"; - } - leaf output-req { - type uint32; - description "output req"; - } - leaf output-req-lsa { - type uint32; - description "output req lsa"; - } - leaf output-lsupd { - type uint32; - description "output lsupd"; - } - leaf output-lsupd-lsa { - type uint32; - description "output lsupd lsa"; - } - leaf output-ack { - type uint32; - description "output ack"; - } - leaf output-ack-lsa { - type uint32; - description "output ack lsa"; - } - leaf output-autherr { - type uint32; - description "output autherr"; - } - leaf h-input-dbdes { - type uint32; - description "h input dbdes"; - } - leaf h-input-req { - type uint32; - description "h input req"; - } - leaf h-input-lsupd { - type uint32; - description "h input lsupd"; - } - leaf h-input-ack { - type uint32; - description "h input ack"; - } - } - - grouping OSPF-SH-TE-STATS { - description "OSPF SH TE STATS"; - leaf te-connected { - type boolean; - description "te connected"; - } - leaf control-disconnects { - type uint32; - description "control disconnects"; - } - leaf te-disconnects { - type uint32; - description "te disconnects"; - } - leaf adj-gets { - type uint32; - description "adj gets"; - } - leaf link-floods { - type uint32; - description "link floods"; - } - leaf link-fragment-floods { - type uint32; - description "link fragment floods"; - } - leaf lsp-gets { - type uint32; - description "lsp gets"; - } - leaf tunnel-announces { - type uint32; - description "tunnel announces"; - } - leaf total-tunnels { - type uint32; - description "total tunnels"; - } - leaf control-batch-reads { - type uint32; - description "control batch reads"; - } - leaf control-batch-writes { - type uint32; - description "control batch writes"; - } - leaf link-batch-reads { - type uint32; - description "link batch reads"; - } - leaf link-batch-writes { - type uint32; - description "link batch writes"; - } - leaf adj-changes { - type uint32; - description "adj changes"; - } - leaf fragment-deletes { - type uint32; - description "fragment deletes"; - } - leaf fragment-announces { - type uint32; - description "fragment announces"; - } - leaf data-trans-completes { - type uint32; - description "data trans completes"; - } - leaf pce-listen { - type uint32; - description "pce listen"; - } - leaf pce-stoplisten { - type uint32; - description "pce stoplisten"; - } - leaf pce-flood { - type uint32; - description "pce flood"; - } - leaf pce-get { - type uint32; - description "pce get"; - } - leaf pce-br-lookup { - type uint32; - description "pce br lookup"; - } - leaf pce-br-lkup-num-dests { - type uint32; - description "pce br lkup num dests"; - } - leaf pce-br-resp-fails { - type uint32; - description "pce br resp fails"; - } - leaf pce-node-announce-batches { - type uint32; - description "pce node announce batches"; - } - leaf pce-node-delete-batches { - type uint32; - description "pce node delete batches"; - } - leaf pce-num-node-announce { - type uint32; - description "pce num node announce"; - } - leaf pce-num-node-delete { - type uint32; - description "pce num node delete"; - } - leaf pce-node-send-fails { - type uint32; - description "pce node send fails"; - } - leaf te-sr-path-reg-idt-recvd { - type boolean; - description "te sr path reg idt recvd"; - } - leaf te-sr-idt-sent { - type boolean; - description "te sr idt sent"; - } - leaf sr-num-area-enabled { - type uint32; - description "sr num area enabled"; - } - } - - grouping OSPF-SH-IPFRR-STATS { - description "OSPF SH IPFRR STATS"; - leaf fs-paths { - type uint32; - description "Number of IPFRR paths"; - } - leaf fs-paths-eligible { - type uint32; - description "Number of paths enabled for protection"; - } - leaf fs-paths-protected { - type uint32; - description "Number of paths protected"; - } - } - - grouping NSR-PL-RECV-DROP-ARRAY { - description "NSR PL RECV DROP ARRAY"; - list nsr-pl-recv-drop-array { - max-elements "16"; - - description "nsr pl recv drop array"; - leaf entry { - type uint32; - } - } - } - - grouping NSR-PL-SEND-DROP-ARRAY { - description "NSR PL SEND DROP ARRAY"; - list nsr-pl-send-drop-array { - max-elements "7"; - - description "nsr pl send drop array"; - leaf entry { - type uint32; - } - } - } - - grouping NSR-PL-CLIENT-STATS-TYPE { - description "NSR PL stats information"; - list num-sent { - max-elements "5"; - - description "Total sent"; - leaf entry { - type uint64; - } - } - list num-recv { - max-elements "6"; - - description "Total recvd"; - leaf entry { - type uint64; - } - } - - list num-sent-drop { - max-elements "5"; - description "Sent Error/drops"; - uses NSR-PL-SEND-DROP-ARRAY; - } - - list num-recv-drop { - max-elements "6"; - description "Recv Errors/drops"; - uses NSR-PL-RECV-DROP-ARRAY; - } - } - - grouping OSPF-SH-NCD-STATS { - description "OSPF SH NCD STATS"; - - list ncd-pri { - max-elements "2"; - description "ncd pri"; - uses NSR-PL-CLIENT-STATS-TYPE; - } - } - - grouping BAG-TIMESPEC { - description "BAG TIMESPEC"; - leaf second { - type uint32; - description "Second"; - } - leaf nanosecond { - type uint32; - description "Nanosecond"; - } - } - - grouping OSPF-SH-STATS-RIB-THREAD { - description "OSPF SH STATS RIB THREAD"; - - container rib-base-time { - description "rib base time"; - uses BAG-TIMESPEC; - } - leaf wq-thread-active { - type boolean; - description "wq thread active"; - } - leaf wq-dqtime { - type uint64; - description "wq dqtime"; - } - leaf wqe-qtime { - type uint64; - description "wqe qtime"; - } - leaf wq-len-cur { - type int32; - description "wq len cur"; - } - leaf wq-len-max { - type int32; - description "wq len max"; - } - leaf wq-total-queued { - type uint32; - description "wq total queued"; - } - leaf wq-total-dequeued { - type uint32; - description "wq total dequeued"; - } - leaf rib-version { - type uint32; - description "rib version"; - } - leaf rib-pkts-sent { - type uint32; - description "rib pkts sent"; - } - leaf rib-signals { - type uint32; - description "rib signals"; - } - leaf rib-send-errs { - type uint32; - description "rib send errs"; - } - leaf rib-queue-errs { - type uint32; - description "rib queue errs"; - } - leaf rib-pfx-limit-errs { - type uint32; - description "rib pfx limit errs"; - } - leaf rib-dequeue-errs { - type uint32; - description "rib dequeue errs"; - } - leaf rib-empty-batches { - type uint32; - description "rib empty batches"; - } - leaf rib-drop-before { - type uint32; - description "rib drop before"; - } - leaf rib-drop-after { - type uint32; - description "rib drop after"; - } - leaf rib-drop-conn { - type uint32; - description "rib drop conn"; - } - leaf rib-table-not-created { - type uint32; - description "rib table not created"; - } - leaf priority-level { - type string { - length "0..40"; - } - description "priority level"; - } - leaf rib-base-clock { - type uint64; - description "rib base clock"; - } - } - - grouping OSPF-SH-STATS-WORK-QUEUES { - description "OSPF SH STATS WORK QUEUES"; - - container internalwq { - description "internalwq"; - uses OSPF-SH-STATS-RIB-THREAD; - } - - list ribqueue { - max-elements "8"; - description "ribqueue"; - uses OSPF-SH-STATS-RIB-THREAD; - } - } - - grouping OSPF-SH-NSR-STATS-PRI { - description "OSPF SH NSR STATS PRI"; - leaf nsr-sched-pri { - type uint32; - description "nsr sched pri"; - } - leaf nsr-sched-quant { - type uint8; - description "nsr sched quant"; - } - leaf nsr-sched-remain-quant { - type uint8; - description "nsr sched remain quant"; - } - leaf nsr-sched-evs-in-q { - type uint16; - description "nsr sched evs in q"; - } - leaf nsr-sched-max-evs { - type uint16; - description "nsr sched max evs"; - } - leaf nsr-sched-peak-q-len { - type uint16; - description "nsr sched peak q len"; - } - leaf nsr-sched-evs-qd { - type uint64; - description "nsr sched evs qd"; - } - leaf nsr-sched-enq-fails { - type uint64; - description "nsr sched enq fails"; - } - leaf nsr-sched-evs-deqd { - type uint64; - description "nsr sched evs deqd"; - } - } - - grouping OSPF-SH-NSR-SCHED-STATS { - description "OSPF SH NSR SCHED STATS"; - leaf nsr-pulse-quant { - type int32; - description "nsr pulse quant"; - } - leaf nsr-events-in-q { - type uint32; - description "nsr events in q"; - } - leaf nsr-events-tx { - type uint64; - description "nsr events tx"; - } - leaf nsr-events-rx { - type uint64; - description "nsr events rx"; - } - leaf nsr-bad-pulses-rx { - type uint64; - description "nsr bad pulses rx"; - } - leaf nsr-good-pulses-rx { - type uint64; - description "nsr good pulses rx"; - } - leaf nsr-pulses-tx { - type uint64; - description "nsr pulses tx"; - } - leaf nsr-pulse-tx-fails { - type uint64; - description "nsr pulse tx fails"; - } - - list nsr-pri { - max-elements "3"; - description "nsr pri"; - uses OSPF-SH-NSR-STATS-PRI; - } - } - - grouping OSPF-SH-NSR-STATS { - description "OSPF SH NSR STATS"; - - container nsr-thd-sched { - description "nsr thd sched"; - uses OSPF-SH-NSR-SCHED-STATS; - } - - container nsr-rtr-thd-sched { - description "nsr rtr thd sched"; - uses OSPF-SH-NSR-SCHED-STATS; - } - leaf nsr-rev { - type int32; - description "nsr rev"; - } - leaf nsr-fsm-state { - type int32; - description "nsr fsm state"; - } - leaf nsr-version { - type uint32; - description "nsr version"; - } - leaf nsr-nodeid { - type uint32; - description "nsr nodeid"; - } - leaf nsr-peer-version { - type uint32; - description "nsr peer version"; - } - leaf nsr-peer-nodeid { - type uint32; - description "nsr peer nodeid"; - } - leaf nsr-mtu { - type uint32; - description "nsr mtu"; - } - leaf nsr-nbr-qad-qid { - type uint32; - description "nsr nbr qad qid"; - } - leaf nsr-lsa-qad-qid { - type uint32; - description "nsr lsa qad qid"; - } - leaf nsr-nbr-qad-mdata-count { - type uint32; - description "nsr nbr qad mdata count"; - } - leaf nsr-lsa-qad-mdata-count { - type uint32; - description "nsr lsa qad mdata count"; - } - leaf nsr-nbr-init-sync-pend-count { - type int32; - description "nsr nbr init sync pend count"; - } - leaf nsr-lsa-init-sync-pend-count { - type int32; - description "nsr lsa init sync pend count"; - } - leaf nsr-nbr-seq-no { - type uint32; - description "nsr nbr seq no"; - } - leaf nsr-intf-seq-no { - type uint32; - description "nsr intf seq no"; - } - leaf nsr-tmr-quant { - type int32; - description "nsr tmr quant"; - } - leaf nsr-conn-to-active-attempts { - type uint64; - description "nsr conn to active attempts"; - } - leaf nsr-conn-to-active-fails { - type uint64; - description "nsr conn to active fails"; - } - leaf nsr-conn-to-active-opens { - type uint64; - description "nsr conn to active opens"; - } - leaf nsr-conn-to-active-closes { - type uint64; - description "nsr conn to active closes"; - } - leaf nsr-conn-to-active-errors { - type uint64; - description "nsr conn to active errors"; - } - } - - grouping OSPF-SH-RIB-BATCH { - description "OSPF SH RIB BATCH"; - leaf batches-sent { - type uint32; - description "batches sent"; - } - leaf routes-sent { - type uint32; - description "routes sent"; - } - leaf routes-pending { - type uint32; - description "routes pending"; - } - leaf max-routes { - type uint32; - description "max routes"; - } - leaf paths-sent { - type uint32; - description "paths sent"; - } - leaf paths-pending { - type uint32; - description "paths pending"; - } - leaf paths-add { - type uint32; - description "paths add"; - } - leaf paths-add-errs { - type uint32; - description "paths add errs"; - } - leaf paths-del { - type uint32; - description "paths del"; - } - leaf paths-del-errs { - type uint32; - description "paths del errs"; - } - leaf lfas-pending { - type uint32; - description "lfas pending"; - } - leaf lfas-add { - type uint32; - description "lfas add"; - } - leaf lfas-del { - type uint32; - description "lfas del"; - } - leaf lfas-sent { - type uint32; - description "lfas sent"; - } - leaf priority-level { - type string { - length "0..40"; - } - description "priority level"; - } - } - - grouping OSPF-SH-RIB-BATCH-PRIORITY-QUEUES { - description "OSPF SH RIB BATCH PRIORITY QUEUES"; - - list priority-batch { - max-elements "8"; - description "priority batch"; - uses OSPF-SH-RIB-BATCH; - } - } - - grouping OSPF-EDM-AREA-SUMM { - description "OSPF EDM AREA SUMM"; - leaf area-id { - type uint32; - description "area id"; - } - leaf spf-count { - type uint32; - description "spf count"; - } - } - - grouping OSPF-HEADER-INFO { - description "OSPF HEADER INFO"; - leaf router-id { - type inet:ipv4-address; - description "router id"; - } - leaf spf-count { - type uint32; - description "spf count"; - } - - list area-summ { - description "area summ"; - uses OSPF-EDM-AREA-SUMM; - } - } - - grouping OSPF-EDM-SPF-AREA-STATS { - description "OSPF EDM SPF AREA STATS"; - - container spf-time { - description "spf time"; - uses OSPF-SPF-TIME; - } - leaf area-id { - type uint32; - description "area id"; - } - list lsa-type-cnt { - max-elements "7"; - - description "lsa type cnt"; - leaf entry { - type uint32; - } - } - } - - grouping OSPF-LSA-CHANGE { - description "OSPF LSA CHANGE"; - leaf area-id { - type uint32; - description "area id"; - } - leaf adv-rtr { - type inet:ipv4-address; - description "adv rtr"; - } - leaf id { - type inet:ipv4-address; - description "id"; - } - leaf type { - type uint8; - description "type"; - } - leaf flush { - type boolean; - description "flush"; - } - } - - grouping OSPF-SPF-TIME { - description "OSPF SPF TIME"; - leaf spf-dijkstra { - type uint32; - description "spf dijkstra"; - } - leaf spf-intra-prefix { - type uint32; - description "spf intra prefix"; - } - leaf spf-intra-prefix-del { - type uint32; - description "spf intra prefix del"; - } - leaf spf-inter-prefix { - type uint32; - description "spf inter prefix"; - } - leaf spf-inter-prefix-del { - type uint32; - description "spf inter prefix del"; - } - leaf spf-ext-prefix { - type uint32; - description "spf ext prefix"; - } - leaf spf-ext-prefix-del { - type uint32; - description "spf ext prefix del"; - } - } - - grouping OSPF-RUNTIME-STATS { - description "OSPF RUNTIME STATS"; - - container gbl-spf-time { - description "gbl spf time"; - uses OSPF-SPF-TIME; - } - leaf spf-start-time { - type uint32; - description "spf start time"; - } - leaf lsa-change-cnt { - type int16; - description "lsa change cnt"; - } - - list lsa-info { - max-elements "5"; - description "lsa info"; - uses OSPF-LSA-CHANGE; - } - - list area-stat { - description "area stat"; - uses OSPF-EDM-SPF-AREA-STATS; - } - } - - grouping OSPF-SH-STAT-PARTIAL { - description "OSPF SH STAT PARTIAL"; - - container sp-start-time { - description "sp start time"; - uses OSPF-SH-TIME; - } - - container sp-duration { - description "sp duration"; - uses OSPF-SH-TIME; - } - leaf sp-adv-rtr-id { - type uint32; - description "sp adv rtr id"; - } - leaf sp-dest-count { - type uint32; - description "sp dest count"; - } - leaf sp-dest-addr { - type uint32; - description "sp dest addr"; - } - } - - grouping OSPF-SH-STAT-INTRA { - description "OSPF SH STAT INTRA"; - - container si-start-time { - description "si start time"; - uses OSPF-SH-TIME; - } - - container si-duration { - description "si duration"; - uses OSPF-SH-TIME; - } - leaf si-area-id-str { - type string; - description "si area id str"; - } - leaf si-change-flags { - type uint16; - description "si change flags"; - } - } - - grouping OSPF-SH-STATS-SPF { - description "OSPF SH STATS SPF"; - - container spf-header { - description "spf header"; - uses OSPF-HEADER-INFO; - } - - list os-runtime { - description "os runtime"; - uses OSPF-SH-STAT-INTRA; - } - - list os-sum-runtime { - description "os sum runtime"; - uses OSPF-SH-STAT-PARTIAL; - } - - list os-ex-runtime { - description "os ex runtime"; - uses OSPF-SH-STAT-PARTIAL; - } - - list runtime { - description "runtime"; - uses OSPF-RUNTIME-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper.yang deleted file mode 100644 index c420d44..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ospf-oper.yang +++ /dev/null @@ -1,1093 +0,0 @@ -module Cisco-IOS-XR-ipv4-ospf-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper"; - - - prefix "ipv4-ospf-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-ospf-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ipv4-ospf-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-ipv4-ospf-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-ospf package operational data. - - This module contains definitions - for the following management objects: - ospf: OSPF operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-01-02" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospf-prefix-length { - type uint32 { - range "0..32"; - } - description "Ospf prefix length"; - } - typedef Ospf-ls { - type enumeration { - enum router { - value 1; - description "Router LSA"; - } - enum network { - value 2; - description "Network LSA"; - } - enum summary { - value 3; - description "Summary LSA"; - } - enum asbr-summary { - value 4; - description "ASBR-Summary LSA"; - } - enum external { - value 5; - description "External LSA"; - } - enum nssa-external { - value 7; - description "NSSA External LSA"; - } - enum opaque-link { - value 9; - description "Opaque LSALink Scope"; - } - enum opaque-area { - value 10; - description "Opaque LSA Area Scope"; - } - enum opaque-as { - value 11; - description "Opaque LSA AS Scope"; - } - } - description "Ospf ls"; - } - - grouping ROUTE { - description - "Common node of route-table, - multicast-intact-route-table"; - - list route { - description "An OSPF route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - grouping FLOOD-LIST { - description - "Common node of flood-list-table, - flood-list-area-table"; - - list flood { - key "interface-name"; - description "Flooding information for a specific interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPF-SH-FLOOD-LIST; - } - } - - grouping BORDER-ROUTER-TABLE { - description "Common node of default-vrf, vrf"; - - container border-routers { - description "Border router table"; - - list border-router { - key "border-router-id"; - description "Information for a particular border router"; - leaf border-router-id { - type inet:ipv4-address-no-zone; - description "Router address"; - } - uses OSPF-SH-BORDER-ROUTER; - } - } - } - - grouping AREA-TABLE { - description "Common node of default-vrf, vrf"; - - container areas { - description "Area table"; - - list area { - key "area-id"; - description "Container for per area data"; - - container flood-list-area-table { - description "Area specific flood list table"; - uses FLOOD-LIST; - } - leaf area-id { - type int32; - description "Area ID"; - } - uses NEIGHBOR-TABLE; - uses INTERFACE-BRIEF-TABLE; - uses REQUEST-LIST-TABLE; - uses RETRANSMISSION-LIST-TABLE; - uses AREA-STATISTICS; - uses NEIGHBOR-DETAIL-TABLE; - uses INTERFACE-TABLE; - } - } - } - - grouping INTERFACE-STATS-TABLE { - description "Common node of statistics, area-statistics"; - - container interface-stats-entries { - description "Statistics innformation Interface table"; - - list interface-stats-entry { - key "interface-name"; - description - "Statistics information for a specific interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPF-SH-IF-STATS; - } - } - } - - grouping STATISTICS { - description "Common node of default-vrf, vrf"; - - container statistics { - description "Container for Statistics"; - - container spf-stats { - description "OSPF SPF statistics"; - uses OSPF-SH-STATS-SPF; - } - - container rib-batch-stats { - description - "Stats concerning RIB route updates using the - Batching API"; - uses OSPF-SH-RIB-BATCH-PRIORITY-QUEUES; - } - - container issu-stats { - description "OSPF ISSU statistics"; - uses OSPF-SH-NSR-STATS; - } - - container rib-thread-stats { - description "OSPF RIB thread statistics"; - uses OSPF-SH-STATS-WORK-QUEUES; - } - - container nsr-pl-stats { - description "OSPF NSR packet library statistics"; - uses OSPF-SH-NCD-STATS; - } - - container nsr-stats { - description "OSPF NSR thread statistics"; - uses OSPF-SH-NSR-STATS; - } - - container frr-stats { - description "OSPF fast-reroute statistics"; - uses OSPF-SH-IPFRR-STATS; - } - - container te-stats { - description "OSPF TE IO statistics"; - uses OSPF-SH-TE-STATS; - } - - container protocol-stats { - description "OSPF Protocol statistics"; - uses OSPF-SH-PROTOPKT-STATS; - } - - container raw-io-stats { - description "OSPF RAW IO statistics"; - uses OSPF-SH-RAW-STATS; - } - uses INTERFACE-STATS-TABLE; - } - } - - grouping OSPF-SUMMARY { - description "Common node of default-vrf, vrf"; - - container ospf-summary { - description "Fast-reroute topology information"; - uses OSPF-SH-STATS-AGGT; - } - } - - grouping PROCESS-INFORMATION { - description "Common node of default-vrf, vrf"; - - container process-information { - description "Container for OSPF Process information"; - - container protocol-areas { - description "Protocol Area table"; - - list protocol-area { - description "Area information"; - leaf area-id { - type int32; - description "Area ID if in integer format"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Area ID if in IP address format"; - } - uses OSPF-SH-PROTO-AREA; - } - } - - container protocol-summary { - description "Basic OSPF protocol information"; - uses OSPF-SH-PROTOCOL; - } - - container redistributions { - description "Redistribution information table"; - - list redistribution { - description "Redistribution information"; - leaf protocol-name { - type xr:Cisco-ios-xr-string; - description "Protocol name"; - } - leaf process-name { - type xr:Cisco-ios-xr-string; - description "Process name"; - } - uses OSPF-SH-REDIST; - } - } - - container process-areas { - description "Process Area table"; - - list process-area { - description "Detailed information for a particular area"; - leaf area-id { - type int32; - description "Area ID if in integer format"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Area ID if in IP address format"; - } - uses OSPF-SH-AREA; - } - } - - container process-summary { - description "Basic OSPF summary information"; - uses OSPF-SH-SUMMARY; - } - } - } - - grouping ADJACENCY-INFORMATION { - description "Common node of default-vrf, vrf"; - - container adjacency-information { - description "Container for OSPF Interfaces"; - uses NEIGHBOR-TABLE; - uses REQUEST-LIST-TABLE; - uses RETRANSMISSION-LIST-TABLE; - uses NEIGHBOR-DETAIL-TABLE; - } - } - - grouping RETRANSMISSION-LIST-TABLE { - description "Common node of adjacency-information, area"; - - container retransmissions { - description "Retransmission list table"; - - list retransmission { - description - "Retransmission list for a particular adjacency"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPF-SH-RETRANS-LIST; - } - } - } - - grouping LSA-SUMMARY-TABLE { - description "Common node of database, database-area"; - - container lsa-summaries { - description "Link state advertisement summary table"; - - list lsa-summary { - description "LSA summary information"; - leaf area-id { - type int32; - description "Area ID"; - } - leaf ls-type { - type Ospf-ls; - description "Link state type"; - } - leaf ls-id { - type inet:ipv4-address-no-zone; - description "Link state ID"; - } - leaf advertising-router { - type inet:ipv4-address-no-zone; - description "Advertising Router ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPF-SH-DATABASE; - } - } - } - - grouping ROUTE-INFORMATION { - description "Common node of default-vrf, vrf"; - - container route-information { - description "Container for OSPF routing tables"; - - container backup-routes { - description "OSPF Route Table Including Backup Paths"; - - list backup-route { - description "OSPF route including backup paths"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY-BACKUP; - } - } - - container multicast-intact-route-table { - description - "OSPF Route Table including multicast-intact - routes"; - uses ROUTE; - } - - container multicast-intact-backup-routes { - description - "OSPF Route Table Including Multicast intact - Backup Paths"; - - list multicast-intact-backup-route { - description "OSPF route including multicast backup paths"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY-BACKUP; - } - } - - container summary-information { - description "OSPF route summary statistics"; - uses OSPF-SH-ROUTE-SUMMARY; - } - - container connected-routes { - description "OSPF Connected Route Table"; - - list connected-route { - description "Connected route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - container local-routes { - description "OSPF Local Route Table"; - - list local-route { - description "Local route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - container route-areas { - description "OSPF Area Route Table"; - - list route-area { - key "area-id"; - description "OSPF Area Route"; - - container multicast-intact-backup-route-areas { - description - "OSPF Route Table Including Multicast Intace - Backup Paths in an area"; - - list multicast-intact-backup-route-area { - description - "OSPF route including Multicast intact backup - paths"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY-BACKUP; - } - } - - container connected-route-areas { - description "OSPF Connected Route Table in an area"; - - list connected-route-area { - description "Connected route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - container backup-route-areas { - description - "OSPF Route Table Including Backup Paths in an - area"; - - list backup-route-area { - description "OSPF route including backup paths"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY-BACKUP; - } - } - - container route-area-informations { - description "OSPF Area Route Entry"; - - list route-area-information { - description "An OSPF route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - container multicast-intact-route-areas { - description - "OSPF Area multicast-intact included route - entry"; - - list multicast-intact-route-area { - description "A Muliticast OSPF route in an area"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - - container summary-area-information { - description "OSPF route summary statistics"; - uses OSPF-SH-ROUTE-SUMMARY; - } - - container local-route-areas { - description "OSPF Local Route Table"; - - list local-route-area { - description "Local route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-TOPOLOGY; - } - } - leaf area-id { - type int32; - description "Area ID"; - } - } - } - - container route-table { - description "OSPF Route Table"; - uses ROUTE; - } - - container external-routes { - description "OSPF External Route Table"; - - list external-route { - description "OSPF external route"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type Ospf-prefix-length; - description "Prefix Length"; - } - uses OSPF-SH-ROUTE-EXT; - } - } - } - } - - grouping FAST-REROUTE { - description "Common node of default-vrf, vrf"; - - container fast-reroute { - description "Container for FastReroute"; - - container topologies { - description "Fast-reroute topology information table"; - - list topology { - description "Fast-reroute topology information"; - leaf router-id { - type inet:ipv4-address-no-zone; - description "Router ID"; - } - leaf area-id { - type int32; - description "Area ID"; - } - uses OSPF-SH-IPFRR-TOPO; - } - } - } - } - - grouping POLICY-MI { - description - "Common node of policy-ipv4-active, - policy-ipv4-backup"; - - list policy-mi { - key "mi-id"; - description "Mapping Item"; - leaf mi-id { - type xr:Cisco-ios-xr-string; - description "Mapping Item ID (0, 1, 2, ...)"; - } - uses SRMS-MI-T-B; - } - } - - grouping MPLS-TE { - description "Common node of default-vrf, vrf"; - - container mpls-te { - description "Container for MPLS TE"; - - container mpls-te-links { - description "MPLS TE link information table"; - - list mpls-te-link { - key "area-id"; - description "MPLS TE link information"; - leaf area-id { - type int32; - description "Area ID"; - } - uses OSPF-SH-MPLS; - } - } - - container mpls-te-fragments { - description "MPLS TE Fragment information table"; - - list mpls-te-fragment { - key "area-id"; - description "MPLS TE Fragment"; - leaf area-id { - type int32; - description "Area ID"; - } - uses OSPF-SH-MPLS; - } - } - } - } - - grouping FLOOD-LIST-TABLE { - description "Common node of default-vrf, vrf"; - - container flood-list-table { - description "Flood list table"; - uses FLOOD-LIST; - } - } - - grouping SUMMARY-PREFIX-TABLE { - description "Common node of default-vrf, vrf"; - - container summary-prefixes { - description "Summary prefix table"; - - list summary-prefix { - description "Summary prefix information"; - leaf prefix { - type inet:ipv4-address-no-zone; - description "Summary Prefix"; - } - leaf netmask { - type inet:ipv4-address-no-zone; - description "Summary Mask"; - } - uses OSPF-SH-SUMMARY-ADDRESS; - } - } - } - - grouping NEIGHBOR-DETAIL-TABLE { - description "Common node of adjacency-information, area"; - - container neighbor-details { - description "Neighbor detail table"; - - list neighbor-detail { - description "A single neighbor's detail information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPF-SH-NEIGHBOR-DETAIL; - } - } - } - - grouping REQUEST-LIST-TABLE { - description "Common node of adjacency-information, area"; - - container requests { - description "Request List table"; - - list request { - description "Request list for a particular adjacency"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPF-SH-REQUEST-LIST; - } - } - } - - grouping AREA-STATISTICS { - description "Common node of default-vrf, vrf, area"; - - container area-statistics { - description "Container for Statistics"; - uses INTERFACE-STATS-TABLE; - } - } - - grouping INTERFACE-TABLE { - description "Common node of interface-information, area"; - - container interfaces { - description "OSPF Interface Table"; - - list interface { - key "interface-name"; - description "OSPF interface information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPF-SH-INTERFACE; - } - } - } - - grouping INTERFACE-BRIEF-TABLE { - description "Common node of interface-information, area"; - - container interface-briefs { - description "OSPF Interface Brief Table"; - - list interface-brief { - key "interface-name"; - description "OSPF interface brief information"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - uses OSPF-SH-IF-BRIEF; - } - } - } - - grouping DATABASE { - description "Common node of default-vrf, vrf"; - - container database { - description "OSPF Link State Database"; - - container database-areas { - description "Per-Area view of Link state database"; - - list database-area { - key "area-id"; - description "Per-Area Link State Database data"; - leaf area-id { - type int32; - description "Area ID"; - } - uses LSA-TABLE; - uses LSA-SUMMARY-TABLE; - } - } - - container database-summaries { - description "Link State database summary table"; - - list database-summary { - key "area-id"; - description - "Link State Database summary for a particular - area"; - leaf area-id { - type int32; - description "Area ID"; - } - uses OSPF-SH-DB-AREA-SUM; - } - } - - container database-summary-as { - description "Link State Database summary for the AS"; - uses OSPF-SH-DB-AS-SUM; - } - uses LSA-TABLE; - uses LSA-SUMMARY-TABLE; - } - } - - grouping INTERFACE-INFORMATION { - description "Common node of default-vrf, vrf"; - - container interface-information { - description "Container for OSPF Interfaces/links"; - - container virtual-links { - description "Virtual Link table"; - - list virtual-link { - key "virtual-link-name"; - description "Information for one Virtual link"; - leaf virtual-link-name { - type xr:Cisco-ios-xr-string; - description "Virtual link"; - } - uses OSPF-SH-VIRTUAL-LINKS; - } - } - uses INTERFACE-BRIEF-TABLE; - uses INTERFACE-TABLE; - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of adjacency-information, area"; - - container neighbors { - description "Neighbor table"; - - list neighbor { - description "Neighbor information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPF-SH-NEIGHBOR; - } - } - } - - grouping LSA-TABLE { - description "Common node of database-area, database"; - - container lsas { - description "Link State Database Table"; - - list lsa { - description "Link State Advertisement information"; - leaf area-id { - type int32; - description "Area ID"; - } - leaf ls-type { - type Ospf-ls; - description "Link state type"; - } - leaf ls-id { - type inet:ipv4-address-no-zone; - description "Link state ID"; - } - leaf advertising-router { - type inet:ipv4-address-no-zone; - description "Advertising Router ID"; - } - leaf interface-name { - type xr:Interface-name; - description "InterfaceName"; - } - uses OSPF-SH-DATABASE-DETAIL; - } - } - } - - container ospf { - config false; - description "OSPF operational data"; - - container processes { - description "Table for each process"; - - list process { - key "process-name"; - description - "Operational data for a particular OSPF process"; - - container vrfs { - description "Table for each VRF"; - - list vrf { - key "vrf-name"; - description - "Operational data for a particular VRF - (instance) in the OSPF process"; - - container interface-vrf-information { - description - "Container for OSPF Interfaces/links under a - VRF"; - - container sham-links { - description "Sham Link table"; - - list sham-link { - key "sham-link-name"; - description "Information for one Sham link"; - leaf sham-link-name { - type xr:Cisco-ios-xr-string; - description "Sham link"; - } - uses OSPF-SH-SHAM-LINKS; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses FLOOD-LIST-TABLE; - uses MPLS-TE; - uses STATISTICS; - uses ADJACENCY-INFORMATION; - uses ROUTE-INFORMATION; - uses INTERFACE-INFORMATION; - uses BORDER-ROUTER-TABLE; - uses PROCESS-INFORMATION; - uses AREA-TABLE; - uses DATABASE; - uses SUMMARY-PREFIX-TABLE; - uses AREA-STATISTICS; - uses OSPF-SUMMARY; - uses FAST-REROUTE; - } - } - - container srms { - description - "Segment Routing Mapping Server operational - data"; - - container policy { - description "Policy operational data"; - - container policy-ipv4 { - description "IPv4 policy operational data"; - - container policy-ipv4-backup { - description "IPv4 backup policy operational data"; - uses POLICY-MI; - } - - container policy-ipv4-active { - description "IPv4 active policy operational data"; - uses POLICY-MI; - } - } - } - } - - container default-vrf { - description - "Operational data for the default VRF - (instance) in the OSPF process"; - uses FLOOD-LIST-TABLE; - uses MPLS-TE; - uses STATISTICS; - uses ADJACENCY-INFORMATION; - uses ROUTE-INFORMATION; - uses INTERFACE-INFORMATION; - uses BORDER-ROUTER-TABLE; - uses PROCESS-INFORMATION; - uses AREA-TABLE; - uses DATABASE; - uses SUMMARY-PREFIX-TABLE; - uses AREA-STATISTICS; - uses OSPF-SUMMARY; - uses FAST-REROUTE; - } - leaf process-name { - type xr:Cisco-ios-xr-string; - description "OSPF process"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-cfg.yang deleted file mode 100644 index 7cc6c86..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-cfg.yang +++ /dev/null @@ -1,1631 +0,0 @@ -module Cisco-IOS-XR-ipv4-pim-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg"; - - - prefix "ipv4-pim-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ipv4-autorp-datatypes { prefix "dt1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-pim package configuration. - - This module contains definitions - for the following management objects: - pim: PIM configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-22" { - description - "Updated node naming to be consistent with the CLI"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pim-bsr-priority { - type uint32 { - range "1..255"; - } - description "Pim bsr priority"; - } - typedef Auto-rp-announce-period { - type uint32 { - range "1..600"; - } - description "Auto rp announce period"; - } - typedef Pim-multipath { - type enumeration { - enum enable { - value 0; - description "Enable PIM multipath"; - } - enum interface-hash { - value 1; - description - "Enable PIM multipath with interface based - hashing"; - } - enum source-hash { - value 2; - description - "Enable PIM multipath with source based hashing"; - } - enum source-next-hop-hash { - value 3; - description - "Enable PIM multipath with source next-hop - hashing"; - } - enum source-group-hash { - value 4; - description - "Enable PIM multipath with source, group based - hashing"; - } - } - description "Pim multipath"; - } - typedef Auto-rp-ttl { - type uint32 { - range "1..255"; - } - description "Auto rp ttl"; - } - typedef Pim-protocol-mode { - type enumeration { - enum sm { - value 0; - description "Sparse Mode"; - } - enum bidir { - value 1; - description "Bidirectional"; - } - } - description "Pim protocol mode"; - } - - grouping SUPPRESS-DATA-REGISTERS { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf suppress-data-registers { - type empty; - description - "Suppress data registers after initial state - setup"; - } - } - - grouping ROUTE-POLICY { - description "Common node of rpf, rpf-redirect"; - leaf route-policy { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Route policy to select RPF topology"; - } - } - - grouping INTERFACE-ENABLE { - description "Common node of interface, interface, interface"; - leaf interface-enable { - type boolean; - description "Enable PIM processing on the interface"; - } - } - - grouping BSR-BORDER { - description "Common node of interface, interface, interface"; - leaf bsr-border { - type boolean; - description "BSR Border configuration for Interface"; - } - } - - grouping JOIN-PRUNE-MTU { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf join-prune-mtu { - type uint32 { - range "576..65535"; - } - units "byte"; - description "Join-Prune MTU in Bytes"; - } - } - - grouping NEIGHBOR-CHECK-ON-RECEIVE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf neighbor-check-on-receive { - type empty; - description - "Enable PIM neighbor checking when receiving PIM - messages"; - } - } - - grouping RPF { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container rpf { - description "Configure RPF options"; - uses ROUTE-POLICY; - } - } - - grouping MOFRR { - description "Common node of ipv4, ipv4"; - - container mofrr { - description "Multicast Only Fast Re-Route"; - - container clone-joins { - description "Clone multicast joins"; - - list clone-join { - key "source primary backup prefix-length"; - description - "Clone S,G joins as S1,G joins and S2,G joins"; - leaf source { - type inet:ipv4-address-no-zone; - description "Original source address (S)"; - } - leaf primary { - type inet:ipv4-address-no-zone; - description "Primary cloned address (S1)"; - } - leaf backup { - type inet:ipv4-address-no-zone; - description "Backup cloned address (S2)"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Mask length"; - } - } - } - - container clone-sources { - description "Clone multicast traffic"; - - list clone-source { - key "source primary backup prefix-length"; - description - "Clone S,G traffic as S1,G traffic and S2,G - traffic"; - leaf source { - type inet:ipv4-address-no-zone; - description "Original source address (S)"; - } - leaf primary { - type inet:ipv4-address-no-zone; - description "Primary cloned address (S1)"; - } - leaf backup { - type inet:ipv4-address-no-zone; - description "Backup cloned address (S2)"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Mask length"; - } - } - } - leaf rib { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access-list specifying SG that should do RIB - MOFRR"; - } - leaf non-revertive { - type empty; - description "Non-revertive Multicast Only Fast Re-Route"; - } - leaf enable { - type empty; - description "Enable Multicast Only FRR"; - } - leaf flow { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access-list specifying SG that should do FLOW - MOFRR"; - } - } - } - - grouping EMBEDDED-RP { - description "Common node of ipv6, ipv6"; - - container embedded-rp-addresses { - description "Set Embedded RP processing support"; - - list embedded-rp-address { - key "rp-address"; - description "Set Embedded RP processing support"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address of the Rendezvous Point"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - mandatory true; - description - "Access list of groups that should map to a - given RP"; - } - } - } - } - - grouping NEIGHBOR-CHECK-ON-SEND { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf neighbor-check-on-send { - type empty; - description - "Enable PIM neighbor checking when sending - join-prunes"; - } - } - - grouping EMBEDDED-RP-DISABLE { - description "Common node of ipv6, ipv6"; - leaf embedded-rp-disable { - type empty; - description "Set Embedded RP processing support"; - } - } - - grouping BSR { - description "Common node of ipv4, ipv4"; - - container bsr { - description "PIM BSR configuration"; - - container candidate-bsr { - presence "Indicates a candidate-bsr node is configured."; - description "PIM Candidate BSR configuration"; - leaf address { - type inet:ip-address-no-zone; - mandatory true; - description "BSR Address configured"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - default "30"; - description "Hash Mask Length for this candidate BSR"; - } - leaf priority { - type Pim-bsr-priority; - default "1"; - description "Priority of the Candidate BSR"; - } - } - uses CANDIDATE-RP-TABLE; - } - } - - grouping IPV6-PIM-CFG-BSR { - description - "Common node of ipv4, ipv4Common node of ipv6, - ipv6"; - - container bsr { - description "PIM BSR configuration"; - - container candidate-bsr { - presence "Indicates a candidate-bsr node is configured."; - description "PIM Candidate BSR configuration"; - leaf address { - type inet:ipv6-address-no-zone; - mandatory true; - description "BSR Address configured"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - default "126"; - description "Hash Mask Length for this candidate BSR"; - } - leaf priority { - type Pim-bsr-priority; - default "1"; - description "Priority of the Candidate BSR"; - } - } - uses CANDIDATE-RP-TABLE; - } - } - - grouping SPARSE-MODE-RP-ADDRESS-TABLE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container sparse-mode-rp-addresses { - description "Configure Sparse-Mode Rendezvous Point"; - - list sparse-mode-rp-address { - key "rp-address"; - description "Address of the Rendezvous Point"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address of Rendezvous Point"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access list of groups that should map to a - given RP"; - } - leaf auto-rp-override { - type boolean; - description - "TRUE Indicates if static RP config overrides - AutoRP and BSR"; - } - } - } - } - - grouping INHERITABLE-DEFAULTS { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container inheritable-defaults { - description "Inheritable defaults"; - leaf convergence-timeout { - type uint32 { - range "1800..2400"; - } - units "second"; - description "Convergency timeout in seconds"; - } - uses HELLO-INTERVAL; - uses PROPAGATION-DELAY; - uses DR-PRIORITY; - uses JOIN-PRUNE-MTU; - uses JP-INTERVAL; - uses OVERRIDE-INTERVAL; - } - } - - grouping AUTO-RP-DISABLE { - description "Common node of ipv4, ipv4"; - leaf auto-rp-disable { - type empty; - description - "Disable Rendezvous Point discovery through the - AutoRP protocol"; - } - } - - grouping ROUTES { - description "Common node of maximum, maximum"; - - container routes { - presence "Indicates a routes node is configured."; - description "Override default maximum for number of routes"; - leaf maximum-routes { - type uint32 { - range "1..200000"; - } - mandatory true; - description "Maximum number of PIM routes"; - } - leaf warning-threshold { - type uint32 { - range "1..200000"; - } - default "100000"; - description "Set threshold to print warning"; - } - } - } - - grouping RP-STATIC-DENY { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf rp-static-deny { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Configure static RP deny range"; - } - } - - grouping SSM { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container ssm { - description "Configure IP Multicast SSM"; - leaf disable { - type boolean; - default "false"; - description "TRUE if SSM is disabled on this router"; - } - leaf range { - type string { - length "1..64"; - } - description "Access list of groups enabled with SSM"; - } - } - } - - grouping OVERRIDE-INTERVAL { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf override-interval { - type uint32 { - range "400..65535"; - } - units "millisecond"; - description "Override interval in milliseconds"; - } - } - - grouping CONVERGENCE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container convergence { - description "Configure convergence parameters"; - leaf rpf-conflict-join-delay { - type uint32 { - range "0..15"; - } - units "second"; - description - "Dampen first join if RPF path is through one of - the downstream neighbor"; - } - leaf link-down-prune-delay { - type uint32 { - range "0..60"; - } - units "second"; - description - "Delay prunes if route join state transitions to - not-joined on link down"; - } - } - } - - grouping REGISTER-SOURCE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf register-source { - type xr:Interface-name; - description "Source address to use for register messages"; - } - } - - grouping CANDIDATE-RP-TABLE { - description "Common node of bsr, bsr"; - - container candidate-rps { - description "PIM RP configuration"; - - list candidate-rp { - key "address mode"; - description "Address of PIM SM BSR Candidate-RP"; - leaf address { - type inet:ip-address-no-zone; - description "Address of Candidate-RP"; - } - leaf mode { - type Pim-protocol-mode; - description "SM or Bidir"; - } - leaf group-list { - type string { - length "1..64"; - } - description - "Access-list specifying the group range for the - Candidate-RP"; - } - leaf priority { - type Pim-bsr-priority; - default "192"; - description "Priority of the CRP"; - } - leaf interval { - type uint32 { - range "30..600"; - } - default "60"; - description "Advertisement interval"; - } - } - } - } - - grouping PROPAGATION-DELAY { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf propagation-delay { - type uint32 { - range "100..32767"; - } - units "millisecond"; - description "Propagation delay in milli seconds"; - } - } - - grouping GROUP-MAPPINGS-AUTO-RP { - description "Common node of maximum, maximum"; - - container group-mappings-auto-rp { - presence "Indicates a group-mappings-auto-rp node is"+ - " configured."; - description - "Override default maximum for number of group - mappings from autorp mapping agent"; - leaf maximum-group-ranges-auto-rp { - type uint32 { - range "1..10000"; - } - mandatory true; - description - "Maximum number of PIM group mappings from - autorp"; - } - leaf threshold-group-ranges-auto-rp { - type uint32 { - range "1..10000"; - } - default "450"; - description - "Warning threshold number of PIM group mappings - from autorp"; - } - } - } - - grouping SPT-THRESHOLD-INFINITY { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf spt-threshold-infinity { - type string; - description - "Configure threshold of infinity for switching to - SPT on last-hop"; - } - } - - grouping NEIGHBOR-FILTER { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf neighbor-filter { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list of neighbors to be filtered"; - } - } - - grouping IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER { - description - "Common node of ipv4, ipv4, ipv6, ipv6Common node - of interface, interface, interface"; - leaf neighbor-filter { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list of neighbors to be filtered"; - } - } - - grouping ROUTE-INTERFACES { - description "Common node of maximum, maximum"; - - container route-interfaces { - presence "Indicates a route-interfaces node is configured."; - description - "Override default maximum for number of - route-interfaces"; - leaf maximum-route-interfaces { - type uint32 { - range "1..1100000"; - } - mandatory true; - description "Maximum number of PIM route-interfaces"; - } - leaf warning-threshold { - type uint32 { - range "1..1100000"; - } - default "300000"; - description "Set threshold to print warning"; - } - } - } - - grouping SSM-ALLOW-OVERRIDE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf ssm-allow-override { - type empty; - description - "Allow SSM ranges to be overridden by more - specific ranges"; - } - } - - grouping LOG-NEIGHBOR-CHANGES { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf log-neighbor-changes { - type empty; - description - "PIM neighbor state change logging is turned on - if configured"; - } - } - - grouping MAXIMUM { - description "Common node of ipv4, ipv6"; - - container maximum { - description "Configure PIM State Limits"; - uses GROUP-MAPPINGS-AUTO-RP; - uses BSR-GROUP-MAPPINGS; - uses REGISTER-STATES; - uses ROUTE-INTERFACES; - uses BSR-CANDIDATE-RP-CACHE; - uses ROUTES; - } - } - - grouping IPV4-PIM-COMMON-CFG-MAXIMUM { - description - "Common node of ipv4, ipv6Common node of ipv4, - ipv6"; - - container maximum { - description "Configure PIM State Limits"; - - container bsr-global-group-mappings { - presence "Indicates a bsr-global-group-mappings node is"+ - " configured."; - description - "Override default global maximum and threshold - for PIM group mapping ranges from BSR"; - leaf bsr-maximum-global-group-mappings { - type uint32 { - range "1..10000"; - } - mandatory true; - description - "Global Maximum number of PIM group mapping - ranges from BSR"; - } - leaf warning-threshold { - type uint32 { - range "1..10000"; - } - default "500"; - description "Set threshold to print warning"; - } - } - - container global-routes { - presence "Indicates a global-routes node is configured."; - description "Override default maximum for number of routes"; - leaf maximum-routes { - type uint32 { - range "1..200000"; - } - mandatory true; - description "Maximum number of PIM routes"; - } - leaf warning-threshold { - type uint32 { - range "1..200000"; - } - default "100000"; - description "Set threshold to print warning"; - } - } - - container global-group-mappings-auto-rp { - presence "Indicates a global-group-mappings-auto-rp node is"+ - " configured."; - description - "Maximum for number of group mappings from - autorp mapping agent"; - leaf maximum-global-group-ranges-auto-rp { - type uint32 { - range "1..10000"; - } - mandatory true; - description - "Maximum number of PIM group mappings from - autorp"; - } - leaf threshold-global-group-ranges-auto-rp { - type uint32 { - range "1..10000"; - } - default "450"; - description - "Warning threshold number of PIM group mappings - from autorp"; - } - } - - container bsr-global-candidate-rp-cache { - presence "Indicates a bsr-global-candidate-rp-cache node is"+ - " configured."; - description - "Override default global maximum and threshold - for C-RP set in BSR"; - leaf bsr-maximum-global-candidate-rp-cache { - type uint32 { - range "1..10000"; - } - mandatory true; - description - "Global Maximum number of PIM C-RP Sets from - BSR"; - } - leaf warning-threshold { - type uint32 { - range "1..10000"; - } - default "100"; - description "Set threshold to print warning"; - } - } - - container global-register-states { - presence "Indicates a global-register-states node is"+ - " configured."; - description - "Override default maximum for number of - sparse-mode source registers"; - leaf maximum-register-states { - type uint32 { - range "0..75000"; - } - mandatory true; - description - "Maximum number of PIM Sparse-Mode register - states"; - } - leaf warning-threshold { - type uint32 { - range "0..75000"; - } - default "20000"; - description "Set threshold to print warning"; - } - } - - container global-route-interfaces { - presence "Indicates a global-route-interfaces node is"+ - " configured."; - description - "Override default maximum for number of - route-interfaces"; - leaf maximum-route-interfaces { - type uint32 { - range "1..1100000"; - } - mandatory true; - description "Maximum number of PIM route-interfaces"; - } - leaf warning-threshold { - type uint32 { - range "1..1100000"; - } - default "300000"; - description "Set threshold to print warning"; - } - } - leaf global-low-priority-packet-queue { - type uint32 { - range "0..2147483648"; - } - units "byte"; - description "Maximum packet queue size in bytes"; - } - leaf global-high-priority-packet-queue { - type uint32 { - range "0..2147483648"; - } - units "byte"; - description "Maximum packet queue size in bytes"; - } - uses GROUP-MAPPINGS-AUTO-RP; - uses BSR-GROUP-MAPPINGS; - uses REGISTER-STATES; - uses ROUTE-INTERFACES; - uses BSR-CANDIDATE-RP-CACHE; - uses ROUTES; - } - } - - grouping SG-EXPIRY-TIMER { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container sg-expiry-timer { - description "Configure expiry timer for S,G routes"; - leaf interval { - type uint32 { - range "40..57600"; - } - units "second"; - description "(S,G) expiry time in seconds"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list of applicable S,G routes"; - } - } - } - - grouping INTERFACE-TABLE { - description "Common node of ipv4, ipv6"; - - container interfaces { - description "Interface-level Configuration"; - - list interface { - key "interface-name"; - description "The name of the interface"; - leaf enable { - type empty; - description "Enter PIM Interface processing"; - } - leaf interface-name { - type xr:Interface-name; - description "The name of interface"; - } - uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; - uses HELLO-INTERVAL; - uses BSR-BORDER; - uses MAXIMUM-ROUTES; - uses PROPAGATION-DELAY; - uses BFD; - uses DR-PRIORITY; - uses JOIN-PRUNE-MTU; - uses INTERFACE-ENABLE; - uses JP-INTERVAL; - uses OVERRIDE-INTERVAL; - } - } - } - - grouping REGISTER-STATES { - description "Common node of maximum, maximum"; - - container register-states { - presence "Indicates a register-states node is configured."; - description - "Override default maximum for number of - sparse-mode source registers"; - leaf maximum-register-states { - type uint32 { - range "0..75000"; - } - mandatory true; - description - "Maximum number of PIM Sparse-Mode register - states"; - } - leaf warning-threshold { - type uint32 { - range "0..75000"; - } - default "20000"; - description "Set threshold to print warning"; - } - } - } - - grouping MULTIPATH { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf multipath { - type Pim-multipath; - description "Enable equal-cost multipath routing"; - } - } - - grouping HELLO-INTERVAL { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf hello-interval { - type uint32 { - range "1..3600"; - } - units "second"; - description "Hello interval in seconds"; - } - } - - grouping BIDIR-RP-ADDRESS-TABLE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container bidir-rp-addresses { - description "Configure Bidirectional PIM Rendezvous Point"; - - list bidir-rp-address { - key "rp-address"; - description "Address of the Rendezvous Point"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address of Rendezvous Point"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access list of groups that should map to a - given RP"; - } - leaf auto-rp-override { - type boolean; - description - "TRUE Indicates if static RP config overrides - AutoRP and BSR"; - } - } - } - } - - grouping BSR-CANDIDATE-RP-CACHE { - description "Common node of maximum, maximum"; - - container bsr-candidate-rp-cache { - presence "Indicates a bsr-candidate-rp-cache node is"+ - " configured."; - description - "Override default maximum and threshold for BSR - C-RP cache setting"; - leaf bsr-maximum-candidate-rp-cache { - type uint32 { - range "1..10000"; - } - mandatory true; - description "Maximum number of BSR C-RP cache setting"; - } - leaf warning-threshold { - type uint32 { - range "1..10000"; - } - default "100"; - description "Set threshold to print warning"; - } - } - } - - grouping JP-INTERVAL { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf jp-interval { - type uint32 { - range "10..600"; - } - units "second"; - description "Join-Prune interval in seconds"; - } - } - - grouping NSF { - description "Common node of ipv4, ipv6"; - - container nsf { - description "Configure Non-stop forwarding (NSF) options"; - leaf lifetime { - type uint32 { - range "10..600"; - } - units "second"; - description - "Override default maximum lifetime for PIM NSF - mode"; - } - } - } - - grouping DR-PRIORITY { - description - "Common node of inheritable-defaults, interface, - interface, interface"; - leaf dr-priority { - type uint32 { - range "0..4294967295"; - } - description - "Hello DR priority, preference given to larger - value"; - } - } - - grouping BFD { - description "Common node of interface, interface, interface"; - - container bfd { - description "BFD configuration"; - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions created - by PIM"; - } - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by PIM"; - } - leaf enable { - type boolean; - description - "TRUE to enable BFD. FALSE to disable and to - prevent inheritance from a parent"; - } - } - } - - grouping RPF-VECTOR-INJECT { - description "Common node of ipv4, ipv4"; - - container paths { - description "Inject PIM RPF Vector Proxy's"; - - list path { - key "source-address prefix-length"; - description "Inject PIM RPF Vector Proxy's"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Masklen"; - } - leaf-list rpf-proxy-address { - type inet:ipv4-address-no-zone; - min-elements "1"; - max-elements "22"; - description "RPF Proxy Address"; - } - } - } - } - - grouping BSR-GROUP-MAPPINGS { - description "Common node of maximum, maximum"; - - container bsr-group-mappings { - presence "Indicates a bsr-group-mappings node is configured."; - description - "Override default maximum and threshold for - number of group mappings from BSR"; - leaf bsr-maximum-group-ranges { - type uint32 { - range "1..10000"; - } - mandatory true; - description "Maximum number of PIM group mappings from BSR"; - } - leaf warning-threshold { - type uint32 { - range "1..10000"; - } - default "500"; - description "Set threshold to print warning"; - } - } - } - - grouping ACCEPT-REGISTER { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf accept-register { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Access-list which specifies unauthorized sources"; - } - } - - grouping OLD-REGISTER-CHECKSUM { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - leaf old-register-checksum { - type empty; - description - "Generate registers compatible with older IOS - versions"; - } - } - - grouping ALLOW-RP { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container allow-rp { - presence "enable allow-rp"; - description "Enable allow-rp filtering for SM joins"; - leaf rp-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list specifiying applicable RPs"; - } - leaf group-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list specifiying applicable groups"; - } - } - } - - grouping MAXIMUM-ROUTES { - description "Common node of interface, interface, interface"; - - container maximum-routes { - presence "Indicates a maximum-routes node is configured."; - description - "Maximum number of allowed routes for this - interface"; - leaf maximum { - type uint32 { - range "1..1100000"; - } - mandatory true; - description "Maximum number of routes for this interface"; - } - leaf warning-threshold { - type uint32 { - range "1..1100000"; - } - description "Set threshold to print warning"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Access-list to account for"; - } - } - } - - grouping SUPPRESS-RPF-PRUNES { - description - "Common node of interface, interface, - interfaceCommon node of ipv4, ipv4, ipv6, ipv6"; - leaf suppress-rpf-prunes { - type empty; - description - "Suppress prunes triggered as a result of RPF - changes"; - } - } - - grouping RPF-VECTOR-ENABLE { - description "Common node of ipv4, ipv4, ipv6, ipv6"; - - container rpf-vector-enable { - presence "Indicates a rpf-vector-enable node is configured."; - description "Enable PIM RPF Vector Proxy's"; - leaf enable { - type empty; - mandatory true; - description "RPF Vector is turned on if configured"; - } - leaf allow-ebgp { - type empty; - description - "Allow RPF Vector origination over eBGP sessions"; - } - leaf disable-ibgp { - type empty; - description - "Disable RPF Vector origination over iBGP - sessions"; - } - } - } - - grouping EXPLICIT-RPF-VECTOR { - description "Common node of ipv4, ipv4"; - - container injects { - description "Inject Explicit PIM RPF Vector Proxy's"; - - list inject { - key "source-address prefix-length"; - description "Inject Explicit PIM RPF Vector Proxy's"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Masklen"; - } - leaf-list rpf-proxy-address { - type inet:ipv4-address-no-zone; - min-elements "1"; - max-elements "22"; - description "RPF Proxy Address"; - } - } - } - } - - container pim { - presence "Indicates a pim node is configured."; - description "PIM configuration"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF name"; - - container ipv4 { - description "IPV4 commands"; - uses NEIGHBOR-CHECK-ON-RECEIVE; - uses OLD-REGISTER-CHECKSUM; - uses SPARSE-MODE-RP-ADDRESS-TABLE; - uses NEIGHBOR-FILTER; - uses INHERITABLE-DEFAULTS; - uses SPT-THRESHOLD-INFINITY; - uses LOG-NEIGHBOR-CHANGES; - uses RPF; - uses REGISTER-SOURCE; - uses MAXIMUM; - uses ACCEPT-REGISTER; - uses SG-EXPIRY-TIMER; - uses RPF-VECTOR-ENABLE; - uses SUPPRESS-RPF-PRUNES; - uses SSM; - uses EXPLICIT-RPF-VECTOR; - uses BIDIR-RP-ADDRESS-TABLE; - uses SSM-ALLOW-OVERRIDE; - uses BSR; - uses MOFRR; - uses MULTIPATH; - uses RP-STATIC-DENY; - uses RPF-VECTOR-INJECT; - uses ALLOW-RP; - uses SUPPRESS-DATA-REGISTERS; - uses NEIGHBOR-CHECK-ON-SEND; - uses CONVERGENCE; - uses INTERFACE-TABLE; - uses AUTO-RP-DISABLE; - } - - container ipv6 { - description "IPV6 commands"; - uses NEIGHBOR-CHECK-ON-RECEIVE; - uses OLD-REGISTER-CHECKSUM; - uses SPARSE-MODE-RP-ADDRESS-TABLE; - uses NEIGHBOR-FILTER; - uses INHERITABLE-DEFAULTS; - uses SPT-THRESHOLD-INFINITY; - uses LOG-NEIGHBOR-CHANGES; - uses RPF; - uses REGISTER-SOURCE; - uses MAXIMUM; - uses ACCEPT-REGISTER; - uses SG-EXPIRY-TIMER; - uses RPF-VECTOR-ENABLE; - uses EMBEDDED-RP-DISABLE; - uses SUPPRESS-RPF-PRUNES; - uses SSM; - uses BIDIR-RP-ADDRESS-TABLE; - uses SSM-ALLOW-OVERRIDE; - uses MULTIPATH; - uses IPV6-PIM-CFG-BSR; - uses RP-STATIC-DENY; - uses ALLOW-RP; - uses SUPPRESS-DATA-REGISTERS; - uses NEIGHBOR-CHECK-ON-SEND; - uses EMBEDDED-RP; - uses CONVERGENCE; - uses INTERFACE-TABLE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - } - - container default-context { - presence "Indicates a default-context node is configured."; - description "Default Context"; - - container ipv6 { - description "IPV6 commands"; - - container interfaces { - description "Interface-level Configuration"; - - list interface { - key "interface-name"; - description "The name of the interface"; - leaf enable { - type empty; - description "Enter PIM Interface processing"; - } - leaf interface-name { - type xr:Interface-name; - description "The name of interface"; - } - uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; - uses HELLO-INTERVAL; - uses BSR-BORDER; - uses MAXIMUM-ROUTES; - uses PROPAGATION-DELAY; - uses BFD; - uses DR-PRIORITY; - uses JOIN-PRUNE-MTU; - uses INTERFACE-ENABLE; - uses JP-INTERVAL; - uses OVERRIDE-INTERVAL; - } - } - uses NEIGHBOR-CHECK-ON-RECEIVE; - uses OLD-REGISTER-CHECKSUM; - uses SPARSE-MODE-RP-ADDRESS-TABLE; - uses NEIGHBOR-FILTER; - uses INHERITABLE-DEFAULTS; - uses SPT-THRESHOLD-INFINITY; - uses LOG-NEIGHBOR-CHANGES; - uses RPF; - uses REGISTER-SOURCE; - uses ACCEPT-REGISTER; - uses SG-EXPIRY-TIMER; - uses RPF-VECTOR-ENABLE; - uses NSF; - uses EMBEDDED-RP-DISABLE; - uses SUPPRESS-RPF-PRUNES; - uses IPV4-PIM-COMMON-CFG-MAXIMUM; - uses SSM; - uses BIDIR-RP-ADDRESS-TABLE; - uses SSM-ALLOW-OVERRIDE; - uses MULTIPATH; - uses IPV6-PIM-CFG-BSR; - uses RP-STATIC-DENY; - uses ALLOW-RP; - uses SUPPRESS-DATA-REGISTERS; - uses NEIGHBOR-CHECK-ON-SEND; - uses EMBEDDED-RP; - uses CONVERGENCE; - } - - container ipv4 { - description "IPV4 commands"; - - container rpf-redirect { - description "Configure RPF-redirect feature"; - uses ROUTE-POLICY; - } - - container interfaces { - description "Interface-level Configuration"; - - list interface { - key "interface-name"; - description "The name of the interface"; - - container redirect-bundle { - description - "Configure RPF-redirect bundle for interface. - Applicable for IPv4 only"; - leaf bundle-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bundle name"; - } - leaf interface-bandwidth { - type uint32 { - range "0..100000000"; - } - units "kbit/s"; - must "../bundle-name and ../threshold-bandwidth"; - description "Interface bandwidth in Kbps"; - } - leaf threshold-bandwidth { - type uint32 { - range "0..100000000"; - } - units "kbit/s"; - must "../bundle-name and ../interface-bandwidth"; - description "Threshold bandwidth in Kbps"; - } - } - leaf enable { - type empty; - description "Enter PIM Interface processing"; - } - leaf interface-name { - type xr:Interface-name; - description "The name of interface"; - } - uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; - uses HELLO-INTERVAL; - uses BSR-BORDER; - uses MAXIMUM-ROUTES; - uses PROPAGATION-DELAY; - uses BFD; - uses DR-PRIORITY; - uses JOIN-PRUNE-MTU; - uses INTERFACE-ENABLE; - uses JP-INTERVAL; - uses OVERRIDE-INTERVAL; - } - } - - container auto-rp-candidate-rps { - description "Configure Candidate-RPs"; - - list auto-rp-candidate-rp { - key "interface-name protocol-mode"; - description "Specifications for a Candidate-RP"; - leaf interface-name { - type xr:Interface-name; - description - "Interface from which Candidate-RP packets - will be sourced"; - } - leaf protocol-mode { - type dt1:Auto-rp-protocol-mode; - description "Protocol Mode"; - } - leaf ttl { - type Auto-rp-ttl; - mandatory true; - description "TTL in Hops"; - } - leaf access-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - default "224-4"; - description - "Access-list specifying the group range for - the Candidate-RP"; - } - leaf announce-period { - type Auto-rp-announce-period; - units "second"; - default "60"; - description - "Time between announcements "; - } - } - } - - container auto-rp-mapping-agent { - description "Configure AutoRP Mapping Agent"; - - container parameters { - presence "Indicates a parameters node is configured."; - description - "Specifications for Mapping Agent configured - on this box"; - leaf interface-name { - type xr:Interface-name; - mandatory true; - description - "Interface from which mapping packets will be - sourced "; - } - leaf ttl { - type Auto-rp-ttl; - mandatory true; - description "TTL in Hops"; - } - leaf announce-period { - type Auto-rp-announce-period; - units "second"; - default "60"; - description - "Time between discovery messages "; - } - } - - container cache-limit { - presence "Indicates a cache-limit node is configured."; - description "Mapping Agent cache size limit"; - leaf maximum-cache-entry { - type uint32 { - range "1..1000"; - } - mandatory true; - description "Maximum number of mapping cache entries"; - } - leaf threshold-cache-entry { - type uint32 { - range "1..1000"; - } - default "450"; - description - "Warning threshold number of cache entries"; - } - } - } - uses NEIGHBOR-CHECK-ON-RECEIVE; - uses OLD-REGISTER-CHECKSUM; - uses SPARSE-MODE-RP-ADDRESS-TABLE; - uses NEIGHBOR-FILTER; - uses INHERITABLE-DEFAULTS; - uses SPT-THRESHOLD-INFINITY; - uses LOG-NEIGHBOR-CHANGES; - uses RPF; - uses REGISTER-SOURCE; - uses ACCEPT-REGISTER; - uses SG-EXPIRY-TIMER; - uses RPF-VECTOR-ENABLE; - uses NSF; - uses SUPPRESS-RPF-PRUNES; - uses IPV4-PIM-COMMON-CFG-MAXIMUM; - uses SSM; - uses EXPLICIT-RPF-VECTOR; - uses BIDIR-RP-ADDRESS-TABLE; - uses SSM-ALLOW-OVERRIDE; - uses BSR; - uses MOFRR; - uses MULTIPATH; - uses RP-STATIC-DENY; - uses RPF-VECTOR-INJECT; - uses ALLOW-RP; - uses SUPPRESS-DATA-REGISTERS; - uses NEIGHBOR-CHECK-ON-SEND; - uses CONVERGENCE; - uses AUTO-RP-DISABLE; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang deleted file mode 100644 index 6537c55..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang +++ /dev/null @@ -1,3469 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-pim-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-pim-oper { - prefix Cisco-IOS-XR-ipv4-pim-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-pim-oper-sub2 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-pim package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-27" { - description - "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pim-show-local-interest { - type enumeration { - enum null { - value 1; - description "null"; - } - enum li { - value 2; - description "Local Interest"; - } - enum ld { - value 3; - description "Local Disinterest"; - } - } - description "Pim show local interest"; - } - typedef Pim-internal-interest-info { - type enumeration { - enum null { - value 21; - description "null"; - } - enum ii { - value 22; - description "Internal Interest"; - } - enum id { - value 23; - description "Internal Disinterest"; - } - } - description "Pim internal interest info"; - } - typedef Pim-show-range-client { - type enumeration { - enum no-client { - value 0; - description "no client"; - } - enum embedded-config { - value 1; - description "embedded config"; - } - enum embedded { - value 2; - description "embedded"; - } - enum permanent { - value 3; - description "permanent"; - } - enum auto-rp { - value 4; - description "auto rp"; - } - enum bsr { - value 5; - description "bsr"; - } - enum config { - value 6; - description "config"; - } - enum static { - value 7; - description "static"; - } - } - description "Pim show range client"; - } - typedef Pim-show-protocol { - type enumeration { - enum no-route { - value 0; - description "no route"; - } - enum sm { - value 1; - description "sm"; - } - enum dm { - value 2; - description "dm"; - } - enum bidir { - value 3; - description "bidir"; - } - enum ssm { - value 4; - description "ssm"; - } - enum maximum { - value 5; - description "maximum"; - } - enum any { - value 6; - description "any"; - } - } - description "Pim show protocol"; - } - - grouping PIM-ISSU-BAG { - description "ISSU information"; - leaf informationvalid { - type boolean; - description "Is Information valid ?"; - } - leaf role-ha { - type int32; - description "HA role"; - } - leaf role-issu { - type int32; - description "ISSU role"; - } - leaf phase-issu { - type int32; - description "ISSU Phase"; - } - leaf last-ha-role-notification-received { - type uint64; - description "Time when last HA role nfn was received"; - } - leaf last-issu-role-notification-received { - type uint64; - description "Time when last ISSU role nfn was received"; - } - leaf last-issu-phase-notification-received { - type uint64; - description "Time when last ISSU Phase nfn was received"; - } - leaf is-eoc-received { - type boolean; - description "Was EOC received ?"; - } - leaf eoc-received-timestamp { - type uint64; - description "Time when EOC was received"; - } - leaf is-ihms-done-received { - type boolean; - description "Was IHMS done received ?"; - } - leaf ihms-received-timestamp { - type uint64; - description "Time when IHMS done was received"; - } - leaf is-rib-sync-received { - type boolean; - description "Was RIB Sync received ?"; - } - leaf rib-sync-received-timestamp { - type uint64; - description "Time when RIB Sync was received"; - } - leaf is-nbr-sync-received { - type boolean; - description "Was NBR Sync achieved ?"; - } - leaf nbr-sync-received-timestamp { - type uint64; - description "Time when NBR Sync was achieved"; - } - leaf is-checkpoint-idt-done { - type boolean; - description "Was Checkpoint IDT done ?"; - } - leaf checkpoint-idt-timestamp { - type uint64; - description "Time when Checkpoint IDT done"; - } - } - - grouping PIM-NSF-BAG { - description "PIM NSF state"; - leaf configured-state { - type boolean; - description "Is Multicast NSF Configured"; - } - leaf nsf-state { - type boolean; - description "Are we currently in NSF"; - } - leaf nsf-timeout { - type uint32; - units "second"; - description "Multicast NSF timeout in seconds"; - } - leaf nsf-time-left { - type uint32; - units "second"; - description "Multicast NSF time left in seconds"; - } - leaf waiting-timer { - type boolean; - description "Waiting for NSF timer expiry"; - } - leaf waiting-membership { - type boolean; - description "Waiting for IGMP/MLD"; - } - leaf respawn-count { - type uint32; - description "Respawn Count"; - } - leaf last-nsf-on { - type int64; - description "Last NSF time ON"; - } - leaf last-nsf-off { - type int64; - description "Last NSF time off"; - } - leaf last-nsf-on-sec { - type int32; - units "second"; - description "Last NSF time ON in Seconds"; - } - leaf last-nsf-off-sec { - type int32; - units "second"; - description "Last NSF time OFF in Seconds"; - } - leaf last-icd-notif-recv { - type int64; - description "Last ICD Notif Recv"; - } - leaf last-icd-notif-recv-sec { - type int32; - units "second"; - description "Last ICD Notif Recv in Seconds"; - } - } - - grouping PIM-NSR-BAG { - description "NSR Related information"; - leaf state { - type uint8; - description "NSR state"; - } - leaf partner-connected { - type boolean; - description "Partner process connected"; - } - leaf rmf-notification-done { - type boolean; - description "RMF Notification done"; - } - leaf rmf-timer-valid { - type boolean; - description "Is RMF timer running ?"; - } - leaf rmf-timer-expiry { - type uint64; - description "Time for RMF timer to expire"; - } - leaf last-connection-up { - type uint64; - description "Time when connection went up"; - } - leaf last-connection-dn { - type uint64; - description "Time when connection went down"; - } - leaf last-rmf-ready { - type uint64; - description "Time when RMF Rdy notif was sent"; - } - leaf last-rmf-not-ready { - type uint64; - description "Time when RMF Not-Rdy notif was sent"; - } - leaf count-connection-up { - type uint32; - description "No. of times connection went up"; - } - leaf count-connection-dn { - type uint32; - description "No. of times connection went down"; - } - leaf count-rmf-ready { - type uint32; - description "No. of times RMF Ready notif was sent"; - } - leaf count-rmf-not-ready { - type uint32; - description "No. of times RMF Not Ready notif was sent"; - } - } - - grouping PIM-MSTATIC-BAG { - description "Multicast Static Routes entry"; - - container prefix { - description "Prefix"; - uses PIM-ADDRTYPE; - } - - container nexthop { - description "Next Hop"; - uses PIM-ADDRTYPE; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Handle"; - } - leaf distance { - type uint32; - description "Distance"; - } - leaf prefix-length-xr { - type uint8; - description "Prefix Length"; - } - leaf is-via-lsm { - type boolean; - description "LSM flag"; - } - } - - grouping PIM-RPF-RDRCT-BNDL-BAG { - description "PIM RPF Redirect bundle information"; - leaf rpf-redirect-bundle-name { - type string { - length "0..33"; - } - description "RPF redirect bundle name"; - } - leaf rpf-redirect-interface-name { - type string { - length "0..33"; - } - description "RPF redirect interface name"; - } - leaf available-bandwidth { - type int32; - units "kbit/s"; - description "Bandwidth available in Kbps"; - } - leaf allocated-bandwidth { - type int32; - units "kbit/s"; - description "Bandwidth allocated in Kbps"; - } - leaf total-bandwidth { - type int32; - units "kbit/s"; - description "Total bandwidth used in Kbps"; - } - leaf topology-bandwidth-used { - type int32; - units "kbit/s"; - description "Bandwidth used by topology in Kbps"; - } - leaf snooping-bandwidth-used { - type int32; - units "kbit/s"; - description "Bandwidth used by snooped entries in Kbps"; - } - leaf allocated-threshold-bandwidth { - type int32; - units "kbit/s"; - description "Configured threshold in Kbps"; - } - leaf available-threshold-bandwidth { - type int32; - units "kbit/s"; - description "Available threshold in Kbps"; - } - } - - grouping PIM-RPF-RDRCT-RINTF-BAG { - description - "PIM RPF-redirct bundle non-local route OLE - information"; - - container rpf-address { - description "RPF Address"; - uses PIM-ADDRTYPE; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expiry { - type uint64; - units "second"; - description "Expiry in seconds"; - } - leaf is-rpf-interface { - type boolean; - description "Is RPF Interface"; - } - leaf is-outgoing-interface { - type boolean; - description "Is outgoing Interface"; - } - leaf is-snoop-interface { - type boolean; - description "Is snooping Interface"; - } - } - - grouping PIM-RPF-RDRCT-ROUTE-BAG { - description "PIM RPF Redirect route information"; - - container group-address-xr { - description "Group ddress"; - uses PIM-ADDRTYPE; - } - - container source-address-xr { - description "Source address"; - uses PIM-ADDRTYPE; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth in Kbps"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - - list interface { - description "Outgoing interface list"; - uses PIM-RPF-RDRCT-RINTF-BAG; - } - } - - grouping PIM-ANYCAST-RP-ENTRY { - description "PIM Anycast RP entry"; - - container prefix { - description "Anycast-RP Range Prefix"; - uses PIM-ADDRTYPE; - } - leaf prefix-length { - type uint8; - description "Anycast-RP Range Prefix Length"; - } - leaf ancast-rp-marked { - type boolean; - description "Anycast-RP Range marked"; - } - } - - grouping PIM-RT-EXTCOMM { - description "PIM Route-target entry"; - leaf route-target { - type yang:hex-string; - description "Route Target Extended community value"; - } - leaf configured { - type boolean; - description "Configured Route Target"; - } - leaf anycast-rp { - type boolean; - description "Anycast-RP Group"; - } - leaf anycast-rp-marked { - type boolean; - description "Anycast-RP Group marked"; - } - leaf update-pending { - type boolean; - description "Update Pending to BGP"; - } - leaf bgp-auto-discovery { - type boolean; - description "BGP Auto Discovery"; - } - leaf segment-border { - type boolean; - description "Segment Border"; - } - } - - grouping PIM-CONTEXT-BAG { - description "PIM Context bag"; - - container remote-default-group { - description "Remote Default Group"; - uses PIM-ADDRTYPE; - } - - container rpf-default-table { - description "RPF Default Table"; - uses PIM-TABLE-CTX-BAG; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf table-id { - type uint32; - description "Table ID"; - } - leaf murib-id { - type uint32; - description "MURIB ID"; - } - leaf rpf-id { - type uint32; - description "RPF ID"; - } - leaf remote-table-id { - type uint32; - description "Remote Table ID"; - } - leaf mdt-default-group { - type inet:ipv4-address; - description "MDT Default group"; - } - leaf mdt-source { - type inet:ipv4-address; - description "MDT source"; - } - leaf mdt-source-interface { - type string; - description "MDT Source Interface Name"; - } - leaf mdt-interface { - type xr:Interface-name; - description "MDT handle"; - } - leaf mdt-gre-rpf-identifier { - type uint32; - description "GRE-MDT RPF Identifier"; - } - leaf mdt-gre-remote-rpf-identifier { - type uint32; - description "GRE-MDT Remote RPF Identifier"; - } - leaf is-unicast-rib-registration { - type boolean; - description "Ucast RIB Registration"; - } - leaf is-multicast-rib-registration { - type boolean; - description "Mcast RIB Registration"; - } - leaf is-active { - type boolean; - description "Active"; - } - leaf is-active-ital { - type boolean; - description "Active ITAL"; - } - leaf is-mrib-register { - type boolean; - description "MRIB Register"; - } - leaf is-mdt-owner { - type boolean; - description "MDT Owner"; - } - leaf is-routing-enabled { - type boolean; - description "Routing Enabled"; - } - leaf is-socket-add-required { - type boolean; - description "VRF required on Socket"; - } - leaf is-socket-added { - type boolean; - description "VRF added on Socket"; - } - leaf is-lpts-socket-add-required { - type boolean; - description "VRF LPTS filter required on Socket"; - } - leaf is-lpts-socket-added { - type boolean; - description "VRF LPTS filter added on Socket"; - } - leaf is-udp-socket-add-required { - type boolean; - description "VRF added on UDP Socket"; - } - leaf is-udp-socket-added { - type boolean; - description "VRF added on UDP Socket"; - } - leaf is-udp-socket-bind-required { - type boolean; - description "VRF bind required on UDP Socket"; - } - leaf is-udp-socket-bind { - type boolean; - description "VRF bound on UDP Socket"; - } - leaf is-register-injection-socket-add-required { - type boolean; - description "VRF required on Register Injection Socket"; - } - leaf is-register-injection-socket-added { - type boolean; - description "VRF added on Register Injection Socket"; - } - leaf is-register-injection-lpts-socket-add-required { - type boolean; - description - "VRF LPTS filter required on Register Injection - Socket"; - } - leaf is-register-injection-lpts-socket-added { - type boolean; - description - "VRF LPTS filter added on Register Injection - Socket"; - } - leaf is-m-host-publish-pending { - type boolean; - description "Publish pending for MHost Default interface"; - } - leaf mhost-interface { - type xr:Interface-name; - description "MHost handle"; - } - leaf mhost-default-interface-config { - type string; - description "Configured Mhost Defint"; - } - leaf mdt-mtu { - type uint32; - description "MDT MTU"; - } - leaf maximum-mdt-aggregation { - type uint32; - description "MDT max aggregation"; - } - leaf mdt-data-switchover-interval { - type uint32; - description "Data MDT Switchover interval"; - } - leaf mdt-data-announce-interval { - type uint32; - description "Data MDT Announce interval"; - } - leaf non-default-vrf-count-on-socket { - type uint32; - description "Count of non-default vrfs on raw socket"; - } - leaf neighbor-filter-name { - type string; - description "Neighbor Filter Name"; - } - leaf mdt-neighbor-filter-name { - type string; - description "MDT Neighbor Filter Name"; - } - leaf allow-rp-configured { - type boolean; - description "Allow RP Configured"; - } - leaf allow-rp-group-list { - type string { - length "0..64"; - } - description "Allow RP Group-List ACL Name"; - } - leaf allow-rp-rp-list { - type string { - length "0..64"; - } - description "Allow RP RP-list ACL Name"; - } - leaf sg-expiry-timer-configured { - type boolean; - description "S,G Expiry Timer Configured"; - } - leaf sg-expiry-time { - type uint16; - units "second"; - description "S,G Expiry Time Configured, in seconds"; - } - leaf sg-expiry-timer-sg-list { - type string { - length "0..64"; - } - description "S,G expiry timer ACL name"; - } - leaf mldp-mdt-name { - type string; - description "MLDP MDT Name"; - } - leaf mldp-mdt-interface { - type xr:Interface-name; - description "MLDP MDT handle"; - } - leaf mldp-mdt-mtu { - type uint32; - description "MLDP MDT MTU"; - } - leaf mldp-maximum-mdt-aggregation { - type uint32; - description "MLDP MDT max aggregation"; - } - leaf mldp-mdt-data-switchover-interval { - type uint32; - description "MLDP Data MDT Switchover interval"; - } - leaf mldp-mdt-data-announce-interval { - type uint32; - description "MLDP Data MDT Announce interval"; - } - leaf mldp-mdt-rpf-identifier { - type uint32; - description "MLDP RPF-ID"; - } - leaf mldp-mdt-remote-rpf-identifier { - type uint32; - description "MLDP Remote RPF-ID"; - } - leaf is-create-mldp-mdt-interface { - type boolean; - description "Create MLDP MDT interface"; - } - leaf is-mldp-mdt-owner { - type boolean; - description "MLDP MDT Owner"; - } - leaf mldp-root-count { - type uint32; - description "MLDP Root count"; - } - leaf mldp-head-lsm-identifier { - type uint32; - description "MLDP Head LSM-ID"; - } - leaf mldp-remote-head-lsm-identifier { - type uint32; - description "MLDP Remote Head LSM-ID"; - } - leaf organization-unique-identifier { - type uint32; - description "OUI for VPN-ID"; - } - leaf vpn-index { - type uint32; - description "VPN Index"; - } - leaf mldp-partitioned-mdt-configured { - type boolean; - description "MLDP Partitioned MDT"; - } - leaf mldp-remote-partitioned-mdt-configured { - type boolean; - description "MLDP Remote Partitioned MDT"; - } - leaf mldp-partioned-mp2m-ptree { - type boolean; - description "MP2MP Partitioned MDT tree"; - } - leaf mldp-partitioned-head-lsm-identifier { - type uint32; - description "Partitioned MDT Head LSM-ID"; - } - leaf mldp-head-local-label { - type uint32; - description "Partitioned MDT Head local label"; - } - leaf mldp-partitioned-mdt-identifier { - type uint32; - description "MLDP Partitioned MDT Identifier"; - } - leaf bgp-auto-discovery-configured { - type boolean; - description "BGP Auto-Discovery configured"; - } - leaf suppress-pim-data-mdt-tlv { - type boolean; - description "Suppress PIM Data-MDT TLV Announcements"; - } - leaf inter-autonomous-system-enabled { - type boolean; - description "Inter-AS Enabled"; - } - leaf bgp-source-active-announce { - type boolean; - description "Send BGP Source-Active Announcements"; - } - leaf bgp-i-pmsi-added { - type boolean; - description "BGP I-PMSI Added"; - } - leaf mldp-bsr-control-tree-added { - type boolean; - description "MLDP BSR Control tree added"; - } - leaf mldp-auto-rp-discovery-tree-added { - type boolean; - description "MLDP Autorp Discovery Control tree added"; - } - leaf mldp-auto-rp-announce-tree-added { - type boolean; - description "MLDP Autorp Announce Control tree added"; - } - leaf bgp-auto-discovery-type { - type uint32; - description "BGP Auto Discovery Type"; - } - leaf mdt-partitioned-mdt-control-identifier { - type uint32; - description "Partitioned MDT Control Identifier"; - } - leaf mdt-partitioned-ir-control-identifier { - type uint32; - description "Partitioned IR MDT Control Identifier"; - } - leaf mldp-control-head-lsm-identifier { - type uint32; - description "MLDP MVPN Identifier"; - } - leaf umh { - type boolean; - description "Join UMH Core-Tree"; - } - leaf suppress-shared-tree-join { - type boolean; - description "Suppress Shared-Tree Joins"; - } - leaf rsvp-te-mdt-name { - type string; - description "RSVP-TE MDT Name"; - } - leaf rsvp-te-mdt-interface { - type xr:Interface-name; - description "RSVP-TEMDT handle"; - } - leaf rsvp-te-mdt-mtu { - type uint32; - description "RSVP-TEMDT MTU"; - } - leaf rsvp-te-maximum-mdt-aggregation { - type uint32; - description "RSVP-TE MDT max aggregation"; - } - leaf rsvp-te-mdt-data-switchover-interval { - type uint32; - description "RSVP-TE Data MDT Switchover interval"; - } - leaf rsvp-te-mdt-data-announce-interval { - type uint32; - description "RSVP-TE Data MDT Announce interval"; - } - leaf rsvp-te-mdt-rpf-identifier { - type uint32; - description "RSVP-TE RPF-ID"; - } - leaf is-create-rsvp-te-mdt-interface { - type boolean; - description "Create RSVP-TE MDT interface"; - } - leaf is-rsvp-te-mdt-owner { - type boolean; - description "RSVP-TE MDT Owner"; - } - leaf rsvp-te-mdt-static-p2mp-count { - type uint32; - description "Number of Static P2MP-TE MDT"; - } - leaf p2mpte-li-drop { - type uint32; - description "Route LI updates dropped for P2MP"; - } - leaf ir-mdt-name { - type string; - description "IR MDT Name"; - } - leaf ir-mdt-interface { - type xr:Interface-name; - description "IRMDT handle"; - } - leaf ir-mdt-mtu { - type uint32; - description "IRMDT MTU"; - } - leaf ir-maximum-mdt-aggregation { - type uint32; - description "IR MDT max aggregation"; - } - leaf ir-mdt-data-switchover-interval { - type uint32; - description "IR Data MDT Switchover interval"; - } - leaf ir-mdt-data-announce-interval { - type uint32; - description "IR Data MDT Announce interval"; - } - leaf ir-mdt-rpf-identifier { - type uint32; - description "IR RPF-ID"; - } - leaf ir-mdt-tail-label { - type uint32; - description "IR Tail Label"; - } - leaf is-create-ir-mdt-interface { - type boolean; - description "Create IR MDT interface"; - } - leaf is-ir-mdt-owner { - type boolean; - description "IR MDT Owner"; - } - leaf in-b-and-mdt-name { - type string; - description "Inband MDT Name"; - } - leaf in-b-and-mdt-interface { - type xr:Interface-name; - description "Inband MDT handle"; - } - leaf in-b-and-mdt-mtu { - type uint32; - description "Inband MDT MTU"; - } - leaf in-band-maximum-mdt-aggregation { - type uint32; - description "Inband MDT max aggregation"; - } - leaf in-b-and-mdt-data-switchover-interval { - type uint32; - description "Inband Data MDT Switchover interval"; - } - leaf in-b-and-mdt-data-announce-interval { - type uint32; - description "Inband Data MDT Announce interval"; - } - leaf in-b-and-mdt-rpf-identifier { - type uint32; - description "Inband RPF-ID"; - } - leaf is-create-in-b-and-mdt-interface { - type boolean; - description "Create Inband MDT interface"; - } - leaf is-in-b-and-mdt-owner { - type boolean; - description "Inband MDT Owner"; - } - leaf in-band-signaling-local-enabled { - type boolean; - description "Inband signaling Local enabled"; - } - leaf in-band-signaling-remote-enabled { - type boolean; - description "Inband signaling Remote enabled"; - } - leaf valid-rd-present { - type boolean; - description "RD is valid"; - } - leaf stale-rd-present { - type boolean; - description "RD is stale"; - } - leaf route-distinguisher { - type yang:hex-string; - description "RD value"; - } - leaf gin-b-and-mdt-name { - type string; - description "Inband MDT Name"; - } - leaf gin-b-and-mdt-interface { - type xr:Interface-name; - description "Inband MDT handle"; - } - leaf gin-b-and-mdt-mtu { - type uint32; - description "Inband MDT MTU"; - } - leaf gin-band-maximum-mdt-aggregation { - type uint32; - description "Inband MDT max aggregation"; - } - leaf gin-b-and-mdt-data-switchover-interval { - type uint32; - description "Inband Data MDT Switchover interval"; - } - leaf gin-b-and-mdt-data-announce-interval { - type uint32; - description "Inband Data MDT Announce interval"; - } - leaf gin-b-and-mdt-rpf-identifier { - type uint32; - description "Inband RPF-ID"; - } - leaf is-create-gin-b-and-mdt-interface { - type boolean; - description "Create Inband MDT interface"; - } - leaf is-gin-b-and-mdt-owner { - type boolean; - description "Inband MDT Owner"; - } - leaf is-pim-nsf-rib-converged { - type boolean; - description "PIM NSF RIB converged"; - } - leaf is-pim-nsf-rib-converge-received { - type boolean; - description "PIM NSF RIB converge received"; - } - leaf is-rib-multipath-enabled { - type boolean; - description "PIM RIB multiplath enabled"; - } - leaf is-rib-multipath-interface-hash { - type boolean; - description "PIM RIB multipath interface hash"; - } - leaf is-rib-multipath-source-hash { - type boolean; - description "PIM RIB multipath source based hash"; - } - leaf is-rib-multipath-source-next-hop-hash { - type boolean; - description "PIM RIB multipath source-nexthop hash"; - } - leaf rump-enabled { - type boolean; - description "PIM is using MuRIB"; - } - leaf is-create-mdt-interface { - type boolean; - description "Create MDT interface"; - } - leaf is-auto-rp-listen-enabled { - type boolean; - description "Auto RP Listen Enabled"; - } - leaf is-all-interface-disable-operation { - type boolean; - description "PIM all interface disable operation"; - } - leaf is-default-granges { - type boolean; - description "Default granges"; - } - leaf is-auto-rp-listen-sock-add { - type boolean; - description "Auto RP listen sock add"; - } - leaf is-redistribution-reset { - type boolean; - description "Pending redist reset"; - } - leaf redistribution-reset-count { - type uint32; - description "Redist reset count"; - } - leaf rpf-policy-name { - type string; - description "RPF topology selection route-policy name"; - } - leaf table-count { - type uint32; - description "Number of configured Tables"; - } - leaf active-table-count { - type uint32; - description "Number of active Tables"; - } - leaf anycast-rp-policy-name { - type string; - description "Anycast-RP Policy Name"; - } - leaf anycast-rp-configured { - type boolean; - description "Anycast-RP config"; - } - leaf bgp-remote-on { - type boolean; - description "BGP remote interface status"; - } - leaf bgp-remote-interface-name { - type string; - description "BGP remote interface name"; - } - leaf bgp-remote-interface { - type xr:Interface-name; - description "BGP remote interface handle"; - } - leaf bgp-remote-address { - type inet:ipv4-address; - description "BGP remote interface address"; - } - leaf bgp-remote-state { - type uint32; - description "BGP remote interface state"; - } - leaf physical-interface-count { - type uint64; - description "Enabled Physical Interface Count"; - } - leaf virtual-interface-count { - type uint64; - description "Enabled Virtual Interface Count"; - } - leaf virtual-mlc-interface-name { - type string; - description "Virtual master line card Interface"; - } - leaf mdt-immediate-switch { - type boolean; - description "MDT Immediate Switch"; - } - leaf-list mldp-root-address { - type uint32; - description "MLDP Root addresses"; - } - - list export-route-target { - description "Export Route Targets"; - uses PIM-RT-EXTCOMM; - } - - list import-route-target { - description "Import Route Targets"; - uses PIM-RT-EXTCOMM; - } - - list anycast-rp-range { - description "Anycast-RP Ranges"; - uses PIM-ANYCAST-RP-ENTRY; - } - } - - grouping PIM-NBR-SUMM-BAG { - description "PIM neighbor summary"; - leaf number-of-neighbors { - type int32; - description "Number of neighbors"; - } - leaf number-of-external-neighbors { - type int32; - description "Number of external neighbors"; - } - } - - grouping PIM-TABLE-CTX-BAG { - description "PIM Table context"; - leaf afi { - type uint32; - description "AFI"; - } - leaf safi { - type uint32; - description "SAFI"; - } - leaf table-name { - type string; - description "Table name"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf table-id { - type uint32; - description "Table ID"; - } - leaf is-active { - type boolean; - description "Active status"; - } - leaf is-ital-registration-done { - type boolean; - description "ITAL reg status"; - } - leaf is-rib-registration-done { - type boolean; - description "RIB reg status"; - } - leaf is-rib-convergence-received { - type boolean; - description "RIB Convergence receive status"; - } - leaf is-rib-convergence { - type boolean; - description "RIB Convergence status"; - } - leaf rpf-registrations { - type uint32; - description "RPF Registration count"; - } - } - - grouping PIM-BIDIR-DF-BAG { - description "PIM Bidirectional DF entry"; - - container rp-address-xr { - description "RP Address"; - uses PIM-ADDRTYPE; - } - - container df-winner { - description "DF Winner"; - uses PIM-ADDRTYPE; - } - leaf pim-interface-name { - type string; - description "Interface Name"; - } - leaf are-we-df { - type boolean; - description "Are we DF"; - } - leaf rp-lan { - type boolean; - description "Is this the RP LAN"; - } - leaf metric { - type uint32; - description "Metric"; - } - leaf metric-preference { - type uint32; - description "Metric Preference"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - } - - grouping PIM-GRE-PATH-BAG { - description "PIM GRE path information"; - - container gre-neighbor { - description "GRE neighbor"; - uses PIM-ADDRTYPE; - } - - container gre-next-hop { - description "GRE nexthop"; - uses PIM-ADDRTYPE; - } - leaf gre-interface-name { - type xr:Interface-name; - description "GRE Interface"; - } - leaf is-gre-interface-disabled { - type boolean; - description "Is the gre interface disabled ?"; - } - leaf is-via-lsm { - type boolean; - description "Via LSM"; - } - leaf is-connector-attribute-present { - type boolean; - description "Connector attribute present"; - } - leaf extranet-vrf-name { - type string { - length "0..33"; - } - description "Extranet VRF name"; - } - } - - grouping PIM-GRE-INFO-BAG { - description "PIM GRE information"; - - container registered-address { - description "Address registered"; - uses PIM-ADDRTYPE; - } - leaf metric { - type uint32; - description "Metric"; - } - leaf metric-preference { - type uint32; - description "Metric preference"; - } - leaf is-connected { - type uint8; - description "Are we connected ?"; - } - - list gre-path { - description "GRE Paths list"; - uses PIM-GRE-PATH-BAG; - } - } - - grouping PIM-GRE-HASH-BAG { - description "PIM GRE Hash Outcome"; - leaf next-hop-interface { - type xr:Interface-name; - description "Next hop neighbor interface"; - } - } - - grouping PIM-SUMMARY-BAG { - description "PIM Summary Bag"; - leaf route-limit { - type uint32; - description "Maximum routes"; - } - leaf route-count { - type uint32; - description "Current routes"; - } - leaf route-low-water-mark { - type uint32; - description - "The number of routes below which the throttle on - route creation will be lifted"; - } - leaf is-route-limit-reached { - type boolean; - description "Is route creation throttled"; - } - leaf topology-interface-state-limit { - type uint32; - description "Maximum Topology Interface State count"; - } - leaf topology-interface-state-count { - type uint32; - description "Current Topology Interface State count"; - } - leaf rxi-low-water-mark { - type uint32; - description - "The rxi below which the throttle on interface - creation will be lifted"; - } - leaf rxi-limit-reached { - type boolean; - description "Is interface creation throttled"; - } - leaf register-limit { - type uint32; - description "Maximum registers"; - } - leaf register-count { - type uint32; - description "Current registers"; - } - leaf register-limit-reached { - type boolean; - description "Is PIM SM register handling throttled"; - } - leaf ranges-limit { - type uint32; - description "Maximum group ranges from Autorp"; - } - leaf ranges-count { - type uint32; - description "Current group ranges from Autorp"; - } - leaf ranges-threshold { - type uint32; - description "OOR theshold of grange ranges from AutoRP"; - } - leaf is-ranges-limit-reached { - type boolean; - description - "Is Auto-RP group-to-RP mapping range creation - throttled"; - } - leaf bsr-ranges-limit { - type uint32; - description "Maximum group ranges from BSR"; - } - leaf bsr-ranges-count { - type uint32; - description "Current group ranges from BSR"; - } - leaf bsr-range-threshold { - type uint32; - description "Threshold group range from BSR"; - } - leaf is-bsr-ranges-threshold-reached { - type boolean; - description - "Is VRF-specific BSR group-to-RP mapping range - creation throttled"; - } - leaf bsr-candidate-rp-set-limit { - type uint32; - description "Maximum crp-set from BSR"; - } - leaf bsr-candidate-rp-set-count { - type uint32; - description "Current crp-set count from BSR"; - } - leaf bsr-candidate-rp-set-threshold { - type uint32; - description "Threshold crp-set from BSR"; - } - leaf is-maximum-enforcement-disabled { - type boolean; - description "Is maximum enforcement disabled"; - } - leaf is-node-low-memory { - type boolean; - description "Is node in low memory condition"; - } - leaf route-threshold { - type uint32; - description "Threshold routes"; - } - leaf global-auto-rp-ranges-limit { - type uint32; - description "Global Auto-RP maximum group ranges"; - } - leaf is-global-auto-rp-ranges-limit-reached { - type boolean; - description - "Is global AutoRP group-to-RP mapping range - creation throttled"; - } - leaf global-bsr-ranges-limit { - type uint32; - description "Global BSR maximum group ranges"; - } - leaf global-bsr-ranges-count { - type uint32; - description "Global BSR current group ranges"; - } - leaf global-bsr-ranges-threshold { - type uint32; - description "Global BSR Threshold group ranges"; - } - leaf is-global-bsr-ranges-limit-reached { - type boolean; - description - "Is global BSR group-to-RP mapping range creation - throttled"; - } - leaf global-bsr-candidate-rp-set-limit { - type uint32; - description "Global BSR maximum crp-set"; - } - leaf global-bsr-candidate-rp-set-count { - type uint32; - description "Global BSR current crp-set count"; - } - leaf global-bsr-candidate-rp-set-threshold { - type uint32; - description "Global BSR Threshold crp-set"; - } - leaf is-global-route-limit-reached { - type boolean; - description "Is global route creation throttled"; - } - leaf topology-interface-state-threshold { - type uint32; - description "Topology Interface State threshold"; - } - leaf is-global-rxi-limit-reached { - type boolean; - description "Is global interface creation throttled"; - } - leaf register-threshold { - type uint32; - description "Threshold registers"; - } - leaf global-register-limit { - type uint32; - description "Maximum global registers"; - } - leaf is-global-register-limit-reached { - type boolean; - description "Is global PIM SM register handling throttled"; - } - } - - grouping PIM-GRP-MAP-INFORPF-BAG { - description "PIM group-map information"; - - container rpf-neighbor { - description "RPF neighbor to the RP"; - uses PIM-ADDRTYPE; - } - - container group-map-information { - description "Group Mapping information"; - uses PIM-GRP-MAP-BAG; - } - leaf are-we-rp { - type boolean; - description "Are we the RP?"; - } - leaf rpf-interface-name { - type xr:Interface-name; - description "RPF interface to the RP"; - } - leaf rpf-vrf-name { - type string { - length "0..33"; - } - description "RPF VRF Name"; - } - } - - grouping PIM-PKTQ-STATS { - description "PIM packet queue statistics per priority"; - leaf enqueued-packets { - type uint32; - description "Total number of packets enqueued to this queue"; - } - leaf dequeued-packets { - type uint32; - description - "Total number of packets dequeued from this queue"; - } - leaf high-water-mark-packets { - type uint32; - description - "Highest number of packets enqueued in this queue"; - } - leaf high-water-mark-bytes { - type uint32; - units "byte"; - description "Highest number of bytes enqueued in this queue"; - } - leaf tail-drops { - type uint32; - description - "Number packets dropped from this queue due to - max size"; - } - } - - grouping PIM-PKTQ-STATE { - description "PIM packet queue state per priority"; - leaf max-queue-size { - type uint32; - units "byte"; - description "Maximum size of queue in bytes"; - } - leaf queue-size-bytes { - type uint32; - units "byte"; - description "Size of queue in bytes"; - } - leaf queue-size-packets { - type uint32; - description "Size of queue in number of packets"; - } - } - - grouping PIM-PKTQ { - description "PIM packet queue state and statistics"; - - container packet-queue-state { - description "State of the queue"; - uses PIM-PKTQ-STATE; - } - - container packet-queue-stats { - description "Statistics about the queue"; - uses PIM-PKTQ-STATS; - } - leaf packet-queue-priority { - type uint32; - description "Priority of this packet queue"; - } - } - - grouping PIM-TRAFFIC-BAG { - description "PIM Traffic counters"; - leaf elapsed-time { - type uint32; - units "second"; - description "Running time for counters in seconds"; - } - leaf inputs { - type uint32; - description "Packets in"; - } - leaf outputs { - type uint32; - description "Packets out"; - } - leaf format-error { - type uint32; - description "Malformed packets in"; - } - leaf pakman-error { - type uint32; - description "Pakman packets dropped"; - } - leaf standby-packets-error { - type uint32; - description "Packets received in standby state"; - } - leaf checksum-error { - type uint32; - description "Checksum errors"; - } - leaf socket-error { - type uint32; - description "Socket errors"; - } - leaf send-queue-full { - type uint32; - description "Packets dropped since send queue was full"; - } - leaf boundary-acl-rx-drop { - type uint32; - description "Inc. JP dropped since boundary ACL confg"; - } - leaf boundary-acl-tx-drop { - type uint32; - description "Out JP dropped since boundary ACL confg"; - } - leaf no-socket-connection { - type uint32; - description "Packets dropped since no socket connection"; - } - leaf no-source-address { - type uint32; - description "Packets dropped since no source address"; - } - leaf input-hello { - type uint32; - description "Hello packets in"; - } - leaf output-hello { - type uint32; - description "Hello packets out"; - } - leaf input-jp { - type uint32; - description "Join Prune packets in"; - } - leaf output-jp { - type uint32; - description "Join Prune packets out"; - } - leaf input-data-register { - type uint32; - description "Data Register packets in"; - } - leaf input-null-register { - type uint32; - description "Null Register packets in"; - } - leaf output-data-register { - type uint32; - description "Data Register packets out"; - } - leaf output-null-register { - type uint32; - description "Null Register packets out"; - } - leaf input-register-stop { - type uint32; - description "Register Stop packets in"; - } - leaf output-register-stop { - type uint32; - description "Register Stop packets out"; - } - leaf input-assert { - type uint32; - description "Assert packets in"; - } - leaf input-assert-batched { - type uint32; - description "Batched Assert packets in"; - } - leaf output-assert { - type uint32; - description "Assert packets out"; - } - leaf output-assert-batched { - type uint32; - description "Batched Assert packets out"; - } - leaf input-df-election { - type uint32; - description "DF Election packets in"; - } - leaf output-df-election { - type uint32; - description "DF Election packets out"; - } - leaf input-bsr-message { - type uint32; - description "Input BSR Messages"; - } - leaf output-bsr-message { - type uint32; - description "Output BSR Messages"; - } - leaf input-candidate-rp-advertisement { - type uint32; - description "Input Candidate-RP Advertisment"; - } - leaf output-candidate-rp-advertisement { - type uint32; - description "Output Candidate-RP Advertisment"; - } - leaf input-ecmp-redirect { - type uint32; - description "Input Ecmp Redirect"; - } - leaf output-ecmp-redirect { - type uint32; - description "Output Ecmp Redirect"; - } - leaf output-loop-error { - type uint32; - description "Output on loopback error"; - } - leaf mldp-mdt-invalid-lsm-identifier { - type uint32; - description " Invalid LSM ID"; - } - leaf input-no-idb-error { - type uint32; - description "No IDB for intf error"; - } - leaf input-no-vrf-error { - type uint32; - description "No VRF for idb error"; - } - leaf input-no-pim-error { - type uint32; - description "PIM Disabled on intf error"; - } - leaf input-pim-version-error { - type uint32; - description "Invalid PIM version error"; - } - leaf output-join-group { - type uint32; - description "Output Join Groups"; - } - leaf output-prune-group { - type uint32; - description "Output Prune Groups"; - } - leaf output-join-prune-bytes { - type uint32; - units "byte"; - description "Output JP Bytes"; - } - leaf output-hello-bytes { - type uint32; - units "byte"; - description "Output Hello Bytes"; - } - leaf non-supported-packets { - type uint32; - description "PIM non supported pckets"; - } - leaf invalid-registers { - type uint32; - description "PIM invalid registers received"; - } - leaf invalid-join-prunes { - type uint32; - description "PIM invalid Join/Prunes received"; - } - leaf packet-packman-error { - type uint32; - description "Packets Dropped due to Pakman Error"; - } - leaf packet-read-socket-error { - type uint32; - description "Packet Read Socket Error"; - } - leaf packet-queue-last-clear { - type uint32; - units "second"; - description - "Time in seconds since the last clear of all - packet queues stats"; - } - leaf packets-standby { - type uint32; - description "Packets Dropped due to Standby Error"; - } - leaf no-mdt-socket-connection { - type uint32; - description "Packets dropped since no mdt socket connection"; - } - leaf mdt-send-queue-full { - type uint32; - description "Packets dropped since mdt send queue was full"; - } - leaf mdt-socket-error { - type uint32; - description "MDT Socket errors"; - } - leaf mdt-join-tlv-sent { - type uint32; - description "Data MDT Join Msgs sent"; - } - leaf mdt-join-tlv-received { - type uint32; - description "Data MDT Join Msgs received"; - } - leaf mdt-join-bad-type { - type uint32; - description "Data MDT TLV bad type"; - } - leaf mdt-drop-local-source-address { - type uint32; - description - "Data MDT Join msgs dropped due to local source - addr"; - } - leaf mdt-drop-null-local-address { - type uint32; - description - "Data MDT Join msgs dropped due to null local - addr"; - } - leaf mdt-drop-no-idb { - type uint32; - description "Data MDT Join msgs dropped due to idb missing"; - } - leaf mdt-drop-no-vrf { - type uint32; - description "Data MDT Join msgs dropped due to vrf missing"; - } - leaf invalid-destination-packets { - type uint32; - description "Control Packets with Invalid Destination"; - } - leaf mdt-joins-drop-multiple-encapsulation { - type uint32; - description - "MDT Join msgs dropped due to multiple Encap - limitation"; - } - leaf truncated-pim-packets { - type uint32; - description - "Packets dropped due to truncated Joins or Prunes"; - } - - list packet-queue { - max-elements "2"; - description "Packet queue state and statistics"; - uses PIM-PKTQ; - } - } - - grouping PIM-GRP-MAP-BAG { - description "PIM group-map basic information"; - - container prefix { - description "Group range prefix"; - uses PIM-ADDRTYPE; - } - - container rp-address { - description "Rendezvous Point Address"; - uses PIM-ADDRTYPE; - } - leaf prefix-length { - type int32; - description "Group range prefix length"; - } - leaf client { - type Pim-show-range-client; - description "Client mapping learnt from"; - } - leaf protocol { - type Pim-show-protocol; - description "Protocol mode of the range"; - } - leaf group-count { - type uint32; - description "No. of groups in this range"; - } - leaf is-used { - type boolean; - description "Is this mapping being used?"; - } - leaf mrib-active { - type boolean; - description "Is this mapping active in MRIB?"; - } - leaf is-override { - type boolean; - description "Is this the override range?"; - } - leaf priority { - type uint32; - description "Bootstrap priority"; - } - } - - grouping PIM-GRP-MAP-INFOSRC-BAG { - description "PIM group-map source information"; - - container source-of-information { - description "The source of information"; - uses PIM-ADDRTYPE; - } - - container group-map-information { - description "Group Mapping information"; - uses PIM-GRP-MAP-BAG; - } - leaf holdtime { - type int32; - units "second"; - description "Holdtime in seconds"; - } - leaf expires { - type uint64; - units "second"; - description "Mapping expiry time in seconds"; - } - leaf uptime { - type uint64; - units "second"; - description "Mapping uptime in seconds"; - } - } - - grouping PIM-BGP-SAFI-BAG { - description "PIM BGP SAFI bag"; - - container source { - description "Source address"; - uses PIM-ADDRTYPE; - } - - container group { - description "Group address"; - uses PIM-ADDRTYPE; - } - - container next-hop { - description "Next hop address"; - uses PIM-ADDRTYPE; - } - leaf route-distinguisher { - type string { - length "0..256"; - } - description "Router ID"; - } - leaf extranet-path-count { - type uint32; - description "Count of dependent extranet paths"; - } - leaf is-bgp-added { - type boolean; - description "SAFI learnt from BGP"; - } - } - - grouping PIM-TT-OLE-BAG { - description "PIM topology OLE information"; - - container assert-winner { - description "Assert Winner"; - uses PIM-ADDRTYPE; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Identifier"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expiry { - type uint64; - units "second"; - description "Expiry in seconds"; - } - leaf bgp-c-mcast-prune-delay-timer { - type uint64; - units "second"; - description "BGP C-MCAST Prune Suppression in seconds"; - } - leaf jp-timer { - type int32; - units "second"; - description "Join-Prune Timer (secs)"; - } - leaf jp-state { - type int32; - description "Join-Prune State"; - } - leaf assert-timer { - type int32; - units "second"; - description "Assert Timer in seconds"; - } - leaf local-members { - type int32; - description - "Local Information. Deprecated - use - 'local-members-information' instead"; - } - leaf internal-interest-info { - type int32; - description - "Internal Interest. Deprecated - use - 'internal-interest-information' instead"; - } - leaf forwarding-state { - type int32; - description "Forward or Prune"; - } - leaf immediate-state { - type int32; - description "Immediate fwding state"; - } - leaf last-hop { - type boolean; - description "Are we last hop ?"; - } - leaf mldp-inband-mdt { - type boolean; - description "MLDP Inband MDT interface"; - } - leaf mldp-stale { - type boolean; - description "OLE is stale"; - } - leaf sa-prune { - type boolean; - description "BGP SA Prune state"; - } - leaf admin-boundary { - type boolean; - description "Is this an administrative boundary ?"; - } - leaf igmp-membership { - type boolean; - description "IGMP membership"; - } - leaf mdt-safi-join { - type boolean; - description "MDT Safi join"; - } - leaf mvpn-safi-join { - type boolean; - description "MVPN Safi join"; - } - leaf local-mdt-join { - type boolean; - description "Default MDT Join"; - } - leaf data-mdt-join { - type boolean; - description "Data MDT join"; - } - leaf mvpnv6-safi-join { - type boolean; - description "MVPN IPv6 Safi join"; - } - leaf bgp-c-mcast-join { - type boolean; - description "BGP C-Mcast join"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF which physically owns"; - } - leaf extranet-interface { - type boolean; - description "Is this an Extranet Interface ?"; - } - leaf internal-interest-information { - type Pim-internal-interest-info; - description - "Internal Interest. Replaces - internal-interest-info"; - } - leaf local-members-information { - type Pim-show-local-interest; - description "Local Information. Replaces local-members"; - } - leaf assert-state { - type boolean; - description "Assert State"; - } - } - - grouping PIM-TT-ROUTE-BAG { - description "PIM topology table route"; - - container group-address-xr { - description "Group Address"; - uses PIM-ADDRTYPE; - } - - container source-address-xr { - description "Source Address"; - uses PIM-ADDRTYPE; - } - - container rp-address { - description "RP Address (If rpt)"; - uses PIM-ADDRTYPE; - } - - container rpf-neighbor { - description "RPF Neighbor"; - uses PIM-ADDRTYPE; - } - - container secondary-rpf-neighbor { - description "Secondary RPF Neighbor"; - uses PIM-ADDRTYPE; - } - - container rpf-root { - description "Root of this mcast tree"; - uses PIM-ADDRTYPE; - } - - container proxy-address { - description "RPF Proxy address."; - uses PIM-ADDRTYPE; - } - - container orig-src-address { - description "Orig Src Address."; - uses PIM-ADDRTYPE; - } - leaf limit-reached { - type boolean; - description - "Have we throttled the creation of routes or - interfaces ?"; - } - leaf low-memory { - type boolean; - description "Node is running low on memory"; - } - leaf protocol { - type Pim-show-protocol; - description "The PIM protocol"; - } - leaf wildcard { - type boolean; - description "WC -Wildcard"; - } - leaf rpt-xr { - type boolean; - description "Is this on the RPT ?"; - } - leaf spt { - type boolean; - description "Is this on the SPT ?"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expiry { - type uint64; - description "When this entry expires"; - } - leaf alive { - type int32; - units "second"; - description "Alive time in seconds (-1 if never)"; - } - leaf register-received-timer { - type int32; - units "second"; - description - "Register Received Timer in seconds (-1 if never)"; - } - leaf remote-source { - type boolean; - description "MSDP told us"; - } - leaf crossed-threshold { - type boolean; - description "Incoming traffic crossed threshold. MT flag set"; - } - leaf data-mdt-addr-assigned { - type boolean; - description "PIM has assigned a Data MDT Address"; - } - leaf rpf-interface-name { - type xr:Interface-name; - description "Interface Identifier"; - } - leaf rpf-vrf-name { - type string { - length "0..33"; - } - description "RPF VRF Name"; - } - leaf rpf-safi { - type uint8; - description "Unicast or mcast"; - } - leaf rpf-table-name { - type string; - description "RPF Table name"; - } - leaf rpf-drop { - type boolean; - description "RPF route-policy drop"; - } - leaf rpf-extranet { - type boolean; - description "Extranet RPF route-policy"; - } - leaf is-via-lsm { - type boolean; - description "Via LSM"; - } - leaf secondary-rpf-interface-name { - type xr:Interface-name; - description "Secondary Interface Identifier"; - } - leaf connected { - type boolean; - description "Is Connected ?"; - } - leaf proxy { - type boolean; - description "Is the RPF target a proxy?"; - } - leaf rpf-proxy-enabled { - type boolean; - description "Is rpf if proxy enabled?"; - } - leaf mofrr-enabled { - type boolean; - description "Is this SG MoFRR enabled?"; - } - leaf rib-mo-frr-enabled { - type boolean; - description "Is this SG MoFRR enabled?"; - } - leaf jp-timer { - type int32; - description "Join-Prune Timer"; - } - leaf jp-status { - type int32; - description "Join-Prune Status"; - } - leaf suppress-registers { - type int32; - description "When the Null register probe expires"; - } - leaf assume-alive { - type boolean; - description "The Assume Alive Bit"; - } - leaf probe-alive { - type boolean; - description "The Probe Alive Bit"; - } - leaf really-alive { - type boolean; - description "The Really Alive Bit"; - } - leaf inherit-alive { - type boolean; - description "The Inherit Alive Bit"; - } - leaf inherit-spt { - type boolean; - description "The Inherit SPT Bit"; - } - leaf signal-sources { - type boolean; - description "Signal Sources on route?"; - } - leaf dont-check-connected { - type boolean; - description - "Do we need to make the connected check on this - route ?"; - } - leaf register-received { - type boolean; - description "Have registers been received for this source ?"; - } - leaf last-hop { - type boolean; - description "Are we last hop ?"; - } - leaf sending-registers { - type boolean; - description "Are we sending registers for this route ?"; - } - leaf sending-null-registers { - type boolean; - description "Are we sending null registers for this route ?"; - } - leaf sa-sent { - type boolean; - description "BGP SA sent"; - } - leaf sa-received { - type boolean; - description "BGP SA received"; - } - leaf sa-joined { - type boolean; - description "BGP SA join"; - } - leaf anycast-rp-match { - type boolean; - description "Group matches Anycast-RP policy"; - } - leaf anycast-rp-route-target { - type inet:ipv4-address; - description "Anycast-RP RT"; - } - leaf bgp-join { - type boolean; - description "BGP C JOIN"; - } - leaf bgp-jp-time { - type uint64; - description "BGP C JP Time"; - } - leaf customer-routing-type { - type int32; - description "Type of Customer Routing in the MVPN"; - } - leaf extranet-route { - type boolean; - description "Is a Extranet route ?"; - } - leaf mofrr-active { - type boolean; - description "Is MoFRR Active?"; - } - leaf mofrr-primary { - type boolean; - description "Is this Mofrr Primary?"; - } - leaf mofrr-backup { - type boolean; - description "Is this Mofrr Backup?"; - } - leaf vxlan { - type boolean; - description "Is this VXLAN?"; - } - leaf kat-state { - type boolean; - description "Keep Alive Timer State"; - } - - list outgoing-interface { - description "Outgoing interface list"; - uses PIM-TT-OLE-BAG; - } - } - - grouping PIM-BIDIR-DF-STATE-BAG { - description "PIM Bidirectional DF state"; - - container rp-address-xr { - description "RP Address"; - uses PIM-ADDRTYPE; - } - leaf pim-interface-name { - type string; - description "Interface Name"; - } - leaf election-state { - type string; - description "DF Election State"; - } - leaf time-seconds { - type uint64; - units "second"; - description "Timer expires (seconds)"; - } - leaf time-nano-seconds { - type uint64; - units "nanosecond"; - description "Timer expires (nseconds)"; - } - leaf our-metric { - type uint32; - description "Metric"; - } - leaf our-metric-preference { - type uint32; - description "MetricPreference"; - } - } - - grouping PIM-TUNNEL-INFO-BAG { - description "PIM tunnel information"; - - container source-address { - description "Source addr known to PIM"; - uses PIM-ADDRTYPE; - } - - container rp-address { - description "RP addr known to PIM"; - uses PIM-ADDRTYPE; - } - - container source-address-netio { - description "Source addr from netio"; - uses PIM-ADDRTYPE; - } - - container group-address-netio { - description "Group addr from netio"; - uses PIM-ADDRTYPE; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF Name"; - } - } - - grouping PIM-RPF-SUMMARY-BAG { - description "PIM RPF count summary"; - leaf default-safi { - type uint32; - description "Default RPF Table SAFI"; - } - leaf default-table-name { - type string; - description "Default RPF Table Name"; - } - leaf is-mbgp-configured { - type boolean; - description "Is MBGP configured?"; - } - leaf is-ospf-te-configured { - type boolean; - description "Is OSPF TE configured?"; - } - leaf is-isis-te-configured { - type boolean; - description "Is ISIS TE configured?"; - } - leaf is-isis-mtr-configured { - type boolean; - description "Is ISIS MTR configured?"; - } - leaf mo-frr-configured { - type boolean; - description "Is MoFRR configured?"; - } - leaf rib-mo-frr-configured { - type boolean; - description "Is MoFRR RIB configured?"; - } - leaf rump-enabled { - type boolean; - description "Is RUMP MuRIB enabled?"; - } - leaf rib-convergence-timeout { - type uint32; - units "second"; - description "RIB convergence timeout in seconds"; - } - leaf rib-convergence-time-left { - type uint32; - units "second"; - description "RIB convergence time left in seconds"; - } - leaf is-multipath-enabled { - type boolean; - description "Is Multipath Enabled ?"; - } - leaf is-multipath-interface-hash-enabled { - type boolean; - description "Is Multipath Interface Hash Extension Enabled ?"; - } - leaf is-multipath-source-hash-enabled { - type boolean; - description "Is Multipath Source based Hash Enabled ?"; - } - leaf is-multipath-source-next-hop-hash-enabled { - type boolean; - description "Is Multipath Source-Nexthop Hash Enabled ?"; - } - leaf rpf-registrations { - type uint32; - description "RPF Registration count"; - } - leaf is-rib-convergence { - type boolean; - description "RIB Convergence status"; - } - } - - grouping PIM-RPF-POLICY-TEST-BAG { - description "PIM RPF policy test statistics"; - - container source-address-xr { - description "Source address"; - uses PIM-ADDRTYPE; - } - - container group-address-xr { - description "Source address"; - uses PIM-ADDRTYPE; - } - leaf policy-name { - type string; - description "RPF policy name"; - } - leaf extended-community-rt { - type string { - length "0..33"; - } - description "Route Target"; - } - leaf pass { - type boolean; - description "Pass"; - } - leaf default-table { - type boolean; - description "Default table selected"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - leaf afi { - type uint32; - description "AFI"; - } - leaf safi { - type uint32; - description "SAFI"; - } - leaf table-name { - type string; - description "Table name"; - } - leaf table-exists { - type boolean; - description "Table exists"; - } - leaf table-active { - type boolean; - description "Table active"; - } - } - - grouping PIM-RPF-POLICY-STATS-BAG { - description "PIM RPF policy statistics"; - leaf policy-name { - type string; - description "RPF policy name"; - } - leaf requests { - type uint32; - description "Number of RPF lookup requests"; - } - leaf pass { - type uint32; - description "Number of RPF pass"; - } - leaf drop { - type uint32; - description "Number of RPF drops"; - } - leaf default-table { - type uint32; - description "Number of RPF lookup in default-only Table"; - } - leaf any-table { - type uint32; - description "Number of RPF lookup in any Table"; - } - } - - grouping PIM-BSR-ELECTION-BAG { - description "PIM BSR Election State"; - - container bsr-address { - description "BSR address"; - uses PIM-ADDRTYPE; - } - - container candidate-bsr-address { - description "C-BSR address"; - uses PIM-ADDRTYPE; - } - leaf bsr-priority { - type uint8; - description "BSR Priority"; - } - leaf bsr-mask-length { - type uint8; - description "Hash Function Mask Length"; - } - leaf bsr-up-time { - type uint16; - description "BSR Uptime"; - } - leaf bootstrap-timeout { - type uint16; - description "Bootstrap Timeout"; - } - leaf candidate-bsr-state { - type uint32; - description "BSR Candidate State"; - } - leaf bsr-election-state { - type uint32; - description "BSR Election State"; - } - leaf bsr-scope { - type uint16; - description "BSR Scope"; - } - leaf candidate-bsr-flag { - type boolean; - description "BSR Candidate Config Flag"; - } - leaf candidate-bsr-priority { - type uint8; - description "C-BSR Priority"; - } - leaf candidate-bsr-mask-length { - type uint8; - description "C-BSR Hash Func. Mask Len"; - } - } - - grouping PIM-BSR-CRP-ACL-BAG { - description "PIM BSR Candidate RP Access-list"; - leaf candidate-rp-mode { - type Pim-show-protocol; - description "Cand-RP Mode"; - } - leaf acl-name { - type string { - length "0..33"; - } - description "Group Access-List Name"; - } - } - - grouping PIM-BSR-CANDIDATE-RP-BAG { - description "PIM BSR Candidate RP"; - - container candidate-rp { - description "Cand-RP Address"; - uses PIM-ADDRTYPE; - } - leaf candidate-rp-mode { - type Pim-show-protocol; - description "Cand-RP Mode"; - } - leaf candidate-rp-scope { - type int32; - description "Cand-RP Scope"; - } - leaf crp-priority { - type uint8; - description "Cand-RP Priority"; - } - leaf crp-holdtime { - type uint16; - description "Cand-RP Holdtime"; - } - leaf candidate-rp-advance-interval { - type uint16; - units "second"; - description "Cand-RP Adv Interval in seconds"; - } - leaf candidate-rp-uptime { - type uint16; - description "Cand-RP uptime"; - } - leaf acl-name { - type string { - length "0..33"; - } - description "Group Access-List Name"; - } - - list crp-access { - max-elements "2"; - description "Group Ranges Using this Cand-RP"; - uses PIM-BSR-CRP-ACL-BAG; - } - } - - grouping PIM-BSR-CRP-BAG { - description "PIM BSR C-RP"; - - list pim-bsr-crp-bag { - description "pim bsr crp bag"; - - container candidate-rp-address { - description "C-RP address"; - uses PIM-ADDRTYPE; - } - leaf candidate-rp-holdtime { - type uint16; - description "C-RP Holdtime"; - } - leaf candidate-rp-priority { - type uint8; - description "C-RP Priority"; - } - leaf candidate-rp-up-time { - type uint16; - description "C-RP Uptime"; - } - leaf candidate-rp-expires { - type uint16; - description "C-RP Expires"; - } - leaf protocol { - type Pim-show-protocol; - description "PIM Protocol"; - } - } - } - - grouping PIM-BSR-RP-CACHE-BAG { - description "PIM BSR RP cache"; - - container group-prefix-xr { - description "Group Prefix"; - uses PIM-ADDRTYPE; - } - - container candidate-rp-list { - description "C-RP list for this prefix"; - uses PIM-BSR-CRP-BAG; - } - leaf group-prefix-length { - type uint32; - description "Group Prefix Length"; - } - leaf candidate-rp-group-count { - type uint32; - description "C-RP count for this Prefix"; - } - } - - grouping PIM-RL-RP-RANGE-BAG { - description "PIM RP range list information"; - - container prefix { - description "Group range prefix"; - uses PIM-ADDRTYPE; - } - - container source-of-information { - description "Source of information"; - uses PIM-ADDRTYPE; - } - leaf prefix-length { - type int32; - description "Group range prefix length"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expires { - type uint64; - description "When mapping expires"; - } - } - - grouping PIM-RL-BAG { - description "PIM range list information"; - - container rp-address-xr { - description "Rendezvous point address"; - uses PIM-ADDRTYPE; - } - - container source-of-information { - description "Source of information"; - uses PIM-ADDRTYPE; - } - leaf protocol { - type Pim-show-protocol; - description "PIM protocol"; - } - leaf client-xr { - type Pim-show-range-client; - description "Client mapping learnt via"; - } - leaf expires { - type uint64; - description "When mapping expires"; - } - - list group-range { - description "List of group ranges"; - uses PIM-RL-RP-RANGE-BAG; - } - } - - grouping PIM-IDB-SUMM-BAG { - description "PIM IFRS interface summary"; - leaf interface-count { - type uint32; - description "Number of interfaces"; - } - leaf configuration-count { - type uint32; - description "Configuration counts"; - } - } - - grouping PIM-NBR-BAG { - description "PIM neighbor information"; - leaf interface-name-xr { - type xr:Interface-name; - description "Interface Identifier"; - } - leaf uptime { - type uint64; - units "second"; - description "Uptime in seconds"; - } - leaf expires { - type uint64; - units "second"; - description "Neighbor expiry in seconds"; - } - leaf expiry-timer { - type uint64; - units "second"; - description "Expiry timer in seconds"; - } - leaf is-this-neighbor-us { - type boolean; - description "Is this neighbor us ?"; - } - leaf is-this-neighbor-dr { - type boolean; - description "Is this neighbor the DR"; - } - leaf is-dr-priority-capable { - type boolean; - description "Is this neighbor DR priority capable ?"; - } - leaf dr-priority { - type uint32; - description "DR priority"; - } - leaf is-bidirectional-capable { - type boolean; - description "Is this neighbor bidir capable ?"; - } - leaf is-proxy-capable { - type boolean; - description "Is this neighbor proxy capable?"; - } - leaf is-batch-asserts-capable { - type boolean; - description "Is this neighbor capable of batching asserts?"; - } - leaf is-ecmp-redirect-capable { - type boolean; - description "Is this neighbor capable of Ecmp Redirect?"; - } - leaf is-bfd-state { - type boolean; - description "Is the neighbor bfd session created"; - } - leaf propagation-delay { - type uint16; - description "Propagation Delay"; - } - leaf override-interval { - type uint16; - description "Override Interval"; - } - - list neighbor-address-xr { - description "List of Neighbor Addresses"; - uses PIM-ADDRTYPE; - } - } - - grouping PIM-MROUTE-BAG { - description "Multicast Route MIB entry"; - - container source-address-xr { - description "Source Address"; - uses PIM-ADDRTYPE; - } - - container group-address-xr { - description "Group Address"; - uses PIM-ADDRTYPE; - } - - container rpf-neighbor { - description "The RPF Neighbor"; - uses PIM-ADDRTYPE; - } - - container rpf-root { - description "Root of this mcast tree"; - uses PIM-ADDRTYPE; - } - leaf upstream-assert-timer { - type int32; - description "Upstream Assert Timer"; - } - leaf assert-metric { - type uint32; - description "Assert Metric"; - } - leaf assert-metric-preference { - type uint32; - description "Assert Metric Preference"; - } - leaf assert-rpt-bit { - type boolean; - description "Assert RPT Bit"; - } - leaf spt-bit { - type boolean; - description "Is SPT bit set ?"; - } - leaf rpf-mask { - type uint32; - description "Mask of the multicast root"; - } - leaf rpf-safi { - type uint8; - description "Unicast or mcast"; - } - leaf rpf-table-name { - type string; - description "RPF Table name"; - } - leaf rpf-drop { - type boolean; - description "RPF route-policy drop"; - } - leaf rpf-extranet { - type boolean; - description "Extranet RPF route-policy"; - } - leaf rpf-interface-name { - type xr:Interface-name; - description "RPF interface name "; - } - leaf rpf-vrf-name { - type string { - length "0..33"; - } - description "RPF VRF Name"; - } - leaf bidirectional-route { - type boolean; - description "Is this Bidir ?"; - } - leaf uptime { - type uint64; - description "Uptime of route"; - } - leaf protocol { - type Pim-show-protocol; - description "The PIM protocol"; - } - } - - grouping PIM-JPSTATS-BAG { - description "PIM join-prune statistic"; - leaf interface-name-xr { - type xr:Interface-name; - description "Interface Identifier"; - } - leaf mtu { - type uint32; - description "Interface MTU"; - } - leaf transmitted { - type uint32; - description "Transmitted"; - } - leaf transmitted100 { - type uint16; - description "Transmitted 100 average"; - } - leaf transmitted-1k { - type uint16; - description "Transmitted 1K average"; - } - leaf transmitted-10k { - type uint16; - description "Transmitted 10K average"; - } - leaf transmitted-50k { - type uint16; - description "Deprecated by Transmitted100"; - } - leaf received { - type uint32; - description "Received"; - } - leaf received100 { - type uint16; - description "Received 100 average"; - } - leaf received-1k { - type uint16; - description "Received 1K average"; - } - leaf received-10k { - type uint16; - description "Received 10K average"; - } - leaf received-50k { - type uint16; - description "Deprecated by Received100"; - } - } - - grouping PIM-TT-SUMM-BAG { - description "PIM topology table summary"; - leaf group-ranges { - type uint32; - description "No. of (*,G/M) routes"; - } - leaf active-group-ranges { - type uint32; - description "No. of (*,G/M) routes active in mrib"; - } - leaf groute-count { - type uint32; - description "No. of (*,G) routes"; - } - leaf sg-route-count { - type uint32; - description "No. of (S,G) routes"; - } - leaf sgr-route-count { - type uint32; - description "No. of (S,G)RPT routes"; - } - leaf is-node-low-memory { - type boolean; - description "Is node in low memory condition"; - } - } - - grouping PIM-IFSTATS-BAG { - description "PIM Interface Statistics"; - leaf input-hello { - type uint32; - description "Hello packets in"; - } - leaf output-hello { - type uint32; - description "Hello packets out"; - } - leaf input-register { - type uint32; - description "Register packets in"; - } - leaf output-register { - type uint32; - description "Register packets out"; - } - leaf input-register-stop { - type uint32; - description "Register Stop packets in"; - } - leaf output-register-stop { - type uint32; - description "Register Stop packets out"; - } - leaf input-jp { - type uint32; - description "Join Prune packets in"; - } - leaf output-jp { - type uint32; - description "Join Prune packets out"; - } - leaf input-bsr-message { - type uint32; - description "Input BSR Messages"; - } - leaf output-bsr-message { - type uint32; - description "Output BSR Messages"; - } - leaf input-assert { - type uint32; - description "Assert packets in"; - } - leaf output-assert { - type uint32; - description "Assert packets out"; - } - leaf input-graft-message { - type uint32; - description "Input Graft Messages"; - } - leaf output-graft-message { - type uint32; - description "Output Graft Messages"; - } - leaf input-graft-ack-message { - type uint32; - description "Input Graft Ack Messages"; - } - leaf output-graft-ack-message { - type uint32; - description "Output Graft Ack Messages"; - } - leaf input-candidate-rp-advertisement { - type uint32; - description "Input Candidate-RP Advertisment"; - } - leaf output-candidate-rp-advertisement { - type uint32; - description "Output Candidate-RP Advertisment"; - } - leaf input-df-election { - type uint32; - description "DF Election packets in"; - } - leaf output-df-election { - type uint32; - description "DF Election packets out"; - } - leaf input-miscellaneous { - type uint32; - description "Miscellaneous packet in"; - } - } - - grouping PIM-RPF-PATH-BAG { - description "PIM RPF path information"; - - container rpf-neighbor { - description "RPF neighbor"; - uses PIM-ADDRTYPE; - } - - container rpf-nexthop { - description "RPF nexthop"; - uses PIM-ADDRTYPE; - } - leaf rpf-interface-name { - type xr:Interface-name; - description "RPF Interface"; - } - leaf is-rpf-interface-disabled { - type boolean; - description "Is the rpf interface disabled ?"; - } - leaf is-via-lsm { - type boolean; - description "Via LSM"; - } - leaf is-via-mlsm { - type boolean; - description "Via Mstatic LSM"; - } - leaf is-connector-attribute-present { - type boolean; - description "Connector attribute present"; - } - leaf connector { - type yang:hex-string; - description "Connector Attribute"; - } - leaf extranet-vrf-name { - type string { - length "0..33"; - } - description "Extranet VRF name"; - } - } - - grouping PIM-RPF-INFO-BAG { - description "PIM RPF information"; - - container registered-address-xr { - description "Address registered"; - uses PIM-ADDRTYPE; - } - leaf metric { - type uint32; - description "Metric"; - } - leaf metric-preference { - type uint32; - description "Metric preference"; - } - leaf is-connected { - type uint8; - description "Are we connected ?"; - } - leaf is-rpf-bgp-route { - type boolean; - description "Is RPF through BGP route"; - } - - list rpf-path { - description "RPF Paths list"; - uses PIM-RPF-PATH-BAG; - } - } - - grouping PIM-RPF-HASH-BAG { - description "PIM RPF Hash Outcome"; - - container next-hop-address { - description "Next hop neighbor address"; - uses PIM-ADDRTYPE; - } - - container secondary-next-hop-address { - description "Secondary Next hop neighbor address"; - uses PIM-ADDRTYPE; - } - leaf next-hop-multipath-enabled { - type boolean; - description "Next hop multipath enabled?"; - } - leaf next-hop-interface { - type xr:Interface-name; - description "Next hop neighbor interface"; - } - leaf secondary-next-hop-interface { - type xr:Interface-name; - description "Secondary Next hop neighbor interface"; - } - } - - grouping PIM-IDB-BAG { - description "PIM interface"; - - container dr-address { - description "PIM Designated Router"; - uses PIM-ADDRTYPE; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface Identfier"; - } - leaf interface-address-mask { - type uint8; - description "Interface IP Address Mask"; - } - leaf is-enabled { - type boolean; - description "Is PIM enabled on this IF ?"; - } - leaf neighbor-count { - type uint16; - description "No. of neighbors on this IF"; - } - leaf external-neighbor-count { - type uint16; - description "No. of external neighbors on this IF"; - } - leaf hello-interval { - type uint16; - description "Hello Interval"; - } - leaf dr-priority { - type uint32; - description "DR Priority"; - } - leaf hello-expiry { - type uint64; - description "Hello Timer Expiry"; - } - leaf are-we-dr { - type boolean; - description "Are we the DR on this IF ?"; - } - leaf bfd-enabled { - type boolean; - description "BFD state"; - } - leaf bfd-interval { - type uint32; - description "BFD Interval"; - } - leaf bfd-multiplier { - type uint32; - description "BFD Multiplier"; - } - leaf virtual-interface { - type boolean; - description " is this a Virtual Interfaces ?"; - } - leaf passive-interface { - type boolean; - description "Passive PIM interface"; - } - leaf neighbor-filter-name { - type string; - description "Neighbor Filter Name"; - } - leaf join-prune-interval { - type uint16; - description "Join-Prune Interval"; - } - leaf prune-delay-enabled { - type boolean; - description "Prune Delay Enabled"; - } - leaf configured-propagation-delay { - type uint16; - description "Configured Propagation Delay"; - } - leaf propagation-delay { - type uint16; - description "Propagation Delay"; - } - leaf configured-override-interval { - type uint16; - description "Configured Override Interval"; - } - leaf override-interval { - type uint16; - description "Override Interval"; - } - leaf generation-id { - type uint32; - description "Generation Identifier"; - } - leaf is-bidirectional-capable { - type boolean; - description "Bidir Capable"; - } - leaf is-proxy-capable { - type boolean; - description "Proxy Capable"; - } - leaf is-batch-asserts-capable { - type boolean; - description "Batch Asserts Capable"; - } - leaf idb-oor-enabled { - type boolean; - description "Interface oor enabled"; - } - leaf idb-acl-provided { - type boolean; - description "ACL name provided"; - } - leaf idb-max-count { - type uint32; - description "Interface ole max count"; - } - leaf idb-threshold-count { - type uint32; - description "Interface ole threshold count"; - } - leaf idb-current-count { - type uint32; - description "Interface ole current count"; - } - leaf idb-acl-name { - type string { - length "0..64"; - } - description "Interface ole ACL Name"; - } - - list interface-address { - description "List of Interface IP Addresses"; - uses PIM-ADDRTYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang deleted file mode 100644 index dbccd9b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang +++ /dev/null @@ -1,164 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-pim-oper-sub2 { - - belongs-to Cisco-IOS-XR-ipv4-pim-oper { - prefix Cisco-IOS-XR-ipv4-pim-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-pim package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-27" { - description - "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - typedef Pim-afi { - type enumeration { - enum ipv4-unicast { - value 0; - description "IP v4 unicast"; - } - enum ipv6-unicast { - value 1; - description "IP v6 unicast"; - } - } - description "Address family"; - } - typedef Pim-interface { - type enumeration { - enum encap-interface { - value 0; - description "Encap Interface"; - } - enum decap-interface { - value 1; - description "Decap Interface"; - } - enum mdt-interface { - value 2; - description "MDT Interface"; - } - } - description "Interface Type"; - } - - grouping PIM-MA-SUMMARY { - description "PIM MA Summary"; - leaf is-im-connection-open { - type boolean; - description "IM Connection Open"; - } - leaf is-netio-connection-open { - type boolean; - description "Netio Connection Open"; - } - leaf is-edm-connection-open { - type boolean; - description "EDM Connection Open"; - } - leaf is-standby-edm-connection-open { - type boolean; - description "Standby EDM Connection Open"; - } - leaf encap-interface-count { - type uint32; - description "Encap Interface Count"; - } - leaf decap-interface-count { - type uint32; - description "Decap Interface Count"; - } - leaf mdt-interface-count { - type uint32; - description "MDT Interface Count"; - } - } - - grouping PIM-ADDRTYPE { - description "PIM ADDRTYPE"; - leaf af-name { - type Pim-afi; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4-unicast'" { - description "../AFName = 'IPv4Unicast'"; - } - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf ipv6-address { - when "../af-name = 'ipv6-unicast'" { - description "../AFName = 'IPv6Unicast'"; - } - type Ipv6-address; - description "IPV6 Address"; - } - } - - grouping PIM-MA-IDB { - description "PIM MA interface"; - - container rp-address { - description "RP Address"; - uses PIM-ADDRTYPE; - } - - container source-address { - description "Source Address"; - uses PIM-ADDRTYPE; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf interface-type { - type Pim-interface; - description "Interface Type"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper.yang deleted file mode 100644 index 44f4d7a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-pim-oper.yang +++ /dev/null @@ -1,1331 +0,0 @@ -module Cisco-IOS-XR-ipv4-pim-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper"; - - - prefix "ipv4-pim-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-pim-oper-sub2 { - revision-date 2017-06-26; - } - - include Cisco-IOS-XR-ipv4-pim-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-pim package operational data. - - This module contains definitions - for the following management objects: - pim-ma: PIM MA operational data - pim: pim - ipv6-pim: ipv6 pim - pim6-ma: pim6 ma - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-27" { - description - "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pim-topology-interface-flag { - type enumeration { - enum lh { - value 0; - description "LH"; - } - enum ld { - value 1; - description "LD"; - } - enum li { - value 2; - description "LI"; - } - enum ii { - value 3; - description "II"; - } - enum id { - value 4; - description "ID"; - } - enum as { - value 5; - description "AS"; - } - enum ab { - value 6; - description "AB"; - } - enum ex { - value 7; - description "EX"; - } - } - description "Pim topology interface flag"; - } - typedef Pim-safi { - type enumeration { - enum unicast { - value 1; - description "SAFI unicast"; - } - enum multicast { - value 2; - description "SAFI Multicast"; - } - enum all { - value 3; - description "SAFI all"; - } - enum default { - value 4; - description "SAFI default"; - } - } - description "Pim safi"; - } - typedef Pim-client { - type enumeration { - enum none { - value 0; - description "No Client"; - } - enum configured-embedded-rp { - value 1; - description "Embedded RP from configuration"; - } - enum embedded { - value 2; - description "Embedded RP learnt from the Group addr"; - } - enum permanent { - value 3; - description "Permanent"; - } - enum auto-rp { - value 4; - description "AutoRP"; - } - enum bsr { - value 5; - description "BSR"; - } - enum configured { - value 6; - description "Configured"; - } - enum static { - value 7; - description "Static"; - } - } - description "Pim client"; - } - typedef Pim-topology-entry-flag { - type enumeration { - enum kat { - value 0; - description "KAT"; - } - enum aa { - value 1; - description "AA"; - } - enum pa { - value 2; - description "PA"; - } - enum ra { - value 3; - description "RA"; - } - enum ia { - value 4; - description "IA"; - } - enum rr { - value 5; - description "RR"; - } - enum lh { - value 6; - description "LH"; - } - enum dss { - value 7; - description "DSS"; - } - enum dcc { - value 8; - description "DCC"; - } - enum sr { - value 9; - description "SR"; - } - enum e { - value 10; - description "E"; - } - enum ex { - value 11; - description "EX"; - } - enum ma { - value 12; - description "MA"; - } - enum mt { - value 13; - description "MT"; - } - enum mfa { - value 14; - description "MFA"; - } - enum mfp { - value 15; - description "MFP"; - } - enum mfb { - value 16; - description "MFB"; - } - } - description "Pim topology entry flag"; - } - typedef Pim-protocol { - type enumeration { - enum non-routable { - value 0; - description "Non Routable"; - } - enum sparse-mode { - value 1; - description "Sparse Mode"; - } - enum dense-mode { - value 2; - description "Dense Mode"; - } - enum bidir { - value 3; - description "Bidirectional Mode"; - } - enum ssm { - value 4; - description "Source Specific Multicast Mode"; - } - enum maximum { - value 5; - description "Maximum"; - } - enum any { - value 6; - description "Any"; - } - } - description "Pim protocol"; - } - - grouping AUTO-RP { - description "Common node of vrf, default-context"; - - container auto-rp { - description "PIM Auto-RP information"; - } - } - - grouping ROUTE-POLICY { - description "Common node of vrf, default-context"; - - container route-policy { - description "PIM route policy"; - - container route-policy-statistics { - description "PIM route policy statistics"; - uses PIM-RPF-POLICY-STATS-BAG; - } - - container route-policy-tests { - description "PIM route policy test run table"; - - list route-policy-test { - description "PIM route policy test run"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source IP address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group IP address"; - } - leaf ext-comm { - type xr:Cisco-ios-xr-string { - length "1..8"; - } - description "Extended Community"; - } - uses PIM-RPF-POLICY-TEST-BAG; - } - } - } - } - - grouping GROUP-MAP-SOURCE-TABLE { - description "Common node of vrf, default-context"; - - container group-map-sources { - description "PIM group-mapping with source information"; - - list group-map-source { - description - "PIM Group Mapping Entry with source information"; - leaf prefix { - type inet:ip-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - leaf client { - type Pim-client; - description "Client"; - } - leaf protocol { - type Pim-protocol; - description "Protocol"; - } - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address"; - } - leaf priority { - type int32; - description "RP Priority"; - } - uses PIM-GRP-MAP-INFOSRC-BAG; - } - } - } - - grouping BIDIR-DF-STATE-TABLE { - description "Common node of vrf, default-context"; - - container bidir-df-states { - description "Bidirectional PIM DF election state table"; - - list bidir-df-state { - description "Bidirectional PIM DF Election Table Entry"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-BIDIR-DF-STATE-BAG; - } - } - } - - grouping MIB-DATABASE-TABLE { - description "Common node of vrf, default-context"; - - container mib-databases { - description "PIM group database for mroute mibs table"; - - list mib-database { - description "PIM multicast static route information"; - leaf source-address { - type inet:ip-address-no-zone; - description "Multicast static route source address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Multicast satic route group address"; - } - leaf source-netmask { - type int32; - description "Source mask"; - } - uses PIM-MROUTE-BAG; - } - } - } - - grouping BGP-AF-TABLE { - description "Common node of vrf, default-context"; - - container bgp-afs { - description "PIM BGP SAFI table"; - - list bgp-af { - description "PIM BGP SAFI information"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source IP address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group IP address"; - } - uses PIM-BGP-SAFI-BAG; - } - } - } - - grouping TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE { - description "Common node of vrf, default-context"; - - container topology-entry-flag-route-counts { - description "Route count for topology with entry flag set"; - - list topology-entry-flag-route-count { - key "entry-flag"; - description "Route count for topology with entry flag set"; - leaf entry-flag { - type Pim-topology-entry-flag; - description "entry flag"; - } - uses PIM-TT-SUMM-BAG; - } - } - } - - grouping BIDIR-DF-WINNER-TABLE { - description "Common node of vrf, default-context"; - - container bidir-df-winners { - description "Bidirectional PIM DF election winner table"; - - list bidir-df-winner { - description "Bidirectional PIM DF election table entry"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-BIDIR-DF-BAG; - } - } - } - - grouping TABLE-CONTEXT-TABLE { - description "Common node of vrf, default-context"; - - container table-contexts { - description "PIM table context list"; - - list table-context { - description "PIM table context information"; - leaf saf-name { - type Pim-safi; - description "SAF name"; - } - leaf topology-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Topology name"; - } - uses PIM-TABLE-CTX-BAG; - } - } - } - - grouping VRF-TABLE { - description "Common node of active, standby"; - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name "; - } - uses IFRS-INTERFACE-TABLE; - uses SAF-TABLE; - uses INTERFACE-STATISTICS-TABLE; - uses TOPOLOGY-ROUTE-COUNT; - uses JP-STATISTICS-TABLE; - uses MIB-DATABASE-TABLE; - uses NEIGHBOR-OLD-FORMAT-TABLE; - uses IFRS-SUMMARY; - uses RANGE-LIST-TABLE; - uses INTERFACE-OLD-FORMAT-TABLE; - uses BSR; - uses ROUTE-POLICY; - uses RPF-SUMMARY; - uses IPV4-PIM-COMMON-OPER-INTERFACE-TABLE; - uses NET-IO-TUNNEL-TABLE; - uses BIDIR-DF-STATE-TABLE; - uses TOPOLOGY-TABLE; - uses BGP-AF-TABLE; - uses AUTO-RP; - uses TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE; - uses GROUP-MAP-SOURCE-TABLE; - uses TRAFFIC-COUNTERS; - uses GROUP-MAP-RPF-TABLE; - uses SUMMARY; - uses GRE; - uses BIDIR-DF-WINNER-TABLE; - uses TABLE-CONTEXT-TABLE; - uses NEIGHBOR-SUMMARY-TABLE; - uses CONTEXT; - uses TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE; - uses RPF-REDIRECT; - uses TUNNEL-TABLE; - uses MULTICAST-STATIC-ROUTE-TABLE; - uses NEIGHBOR-TABLE; - } - } - } - - grouping BSR { - description "Common node of vrf, default-context"; - - container bsr { - description "PIM BSR information"; - - container rp-caches { - description "PIM BSR RP cache table"; - - list rp-cache { - key "group-prefix"; - description "PIM BSR RP cache"; - leaf group-prefix { - type inet:ip-address-no-zone; - description "Group prefix"; - } - uses PIM-BSR-RP-CACHE-BAG; - } - } - - container candidate-rps { - description "PIM candidate-RP"; - - list candidate-rp { - key "rp-address"; - description "PIM BSR candidate RP information"; - leaf rp-address { - type inet:ip-address-no-zone; - description "Candidate-RP address"; - } - uses PIM-BSR-CANDIDATE-RP-BAG; - } - } - - container bsr-elections { - description "PIM BSR election state"; - - list bsr-election { - key "pim-scope"; - description "PIM BSR information"; - leaf pim-scope { - type int32; - description "BSR information"; - } - uses PIM-BSR-ELECTION-BAG; - } - } - } - } - - grouping NET-IO-TUNNEL-TABLE { - description "Common node of vrf, default-context"; - - container net-io-tunnels { - description "Tunnel information that NETIO has "; - - list net-io-tunnel { - key "tunnel-name"; - description "PIM netio tunnel information"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Tunnel name"; - } - uses PIM-TUNNEL-INFO-BAG; - } - } - } - - grouping RPF-SUMMARY { - description "Common node of vrf, default-context"; - - container rpf-summary { - description "PIM RPF registration summary"; - uses PIM-RPF-SUMMARY-BAG; - } - } - - grouping IFRS-INTERFACE-TABLE { - description "Common node of vrf, default-context"; - - container ifrs-interfaces { - description "PIM interfaces in forward reference store table"; - - list ifrs-interface { - key "interface-name"; - description "PIM IFRS interface information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-IDB-BAG; - } - } - } - - grouping PROCESS { - description "Common node of active, standby"; - - container process { - description "Process"; - - container nsr { - description "NSR Information"; - uses PIM-NSR-BAG; - } - - container summary { - description "PIM Global Summary"; - uses PIM-SUMMARY-BAG; - } - - container nsf { - description "PIM NSF information"; - uses PIM-NSF-BAG; - } - - container issu { - description "ISSU Information"; - uses PIM-ISSU-BAG; - } - } - } - - grouping JP-STATISTICS-TABLE { - description "Common node of vrf, default-context"; - - container jp-statistics { - description "PIM join prune statistics table"; - - list jp-statistic { - key "interface-name"; - description "PIM Join Prune Statistics"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-JPSTATS-BAG; - } - } - } - - grouping TOPOLOGY-TABLE { - description "Common node of vrf, default-context"; - - container topologies { - description "PIM topology table"; - - list topology { - description "PIM topology information"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - leaf rpt { - type int32; - description "RPT bit"; - } - uses PIM-TT-ROUTE-BAG; - } - } - } - - grouping NEIGHBOR-SUMMARY-TABLE { - description "Common node of vrf, default-context"; - - container neighbor-summaries { - description "PIM neighbor summary table"; - - list neighbor-summary { - key "interface-name"; - description "PIM neighbor summary information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-NBR-SUMM-BAG; - } - } - } - - grouping TRAFFIC-COUNTERS { - description "Common node of vrf, default-context"; - - container traffic-counters { - description "PIM message traffic counters"; - uses PIM-TRAFFIC-BAG; - } - } - - grouping TOPOLOGY-ROUTE-COUNT { - description "Common node of vrf, default-context"; - - container topology-route-count { - description - "Topology route count information from PIM - topology table"; - uses PIM-TT-SUMM-BAG; - } - } - - grouping TUNNEL-TABLE { - description "Common node of vrf, default-context"; - - container tunnels { - description "Tunnels information that PIM has"; - - list tunnel { - key "tunnel-name"; - description "PIM tunnel information"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Tunnel name"; - } - uses PIM-TUNNEL-INFO-BAG; - } - } - } - - grouping PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP { - description "Common node of active, standby"; - - container pim-ma-summary { - description "PIM MA summary"; - uses PIM-MA-SUMMARY; - } - } - - grouping ACTIVE { - description "Common node of pim-ma, pim6-ma"; - - container active { - description "Active Process"; - uses INTERFACE-TABLE; - uses PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP; - } - } - - grouping IPV4-PIM-ROLE-LVL-OPER-ACTIVE { - description - "Common node of pim-ma, pim6-maCommon node of pim, - ipv6-pim"; - - container active { - description "Active Process"; - uses DEFAULT-CONTEXT; - uses PROCESS; - uses VRF-TABLE; - } - } - - grouping GROUP-MAP-RPF-TABLE { - description "Common node of vrf, default-context"; - - container group-map-rpfs { - description "PIM group mapping information"; - - list group-map-rpf { - description "PIM group mapping entry"; - leaf prefix { - type inet:ip-address-no-zone; - description "Prefix"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - leaf client { - type Pim-client; - description "Client"; - } - leaf protocol { - type Pim-protocol; - description "Protocol"; - } - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address"; - } - leaf rp-priority { - type int32; - description "RP priority"; - } - uses PIM-GRP-MAP-INFORPF-BAG; - } - } - } - - grouping INTERFACE-OLD-FORMAT-TABLE { - description "Common node of vrf, default-context"; - - container interface-old-formats { - description "PIM interfaces in old format"; - - list interface-old-format { - key "interface-name"; - description "PIM interface name"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-IDB-BAG; - } - } - } - - grouping RPF-REDIRECT { - description "Common node of vrf, default-context"; - - container rpf-redirect { - description "PIM ECMP RPF-redirect bundle"; - - container redirect-route-databases { - description "PIM ECMP RPF-redirect route database"; - - list redirect-route-database { - description "PIM ECMP RPF-redirect route information"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - uses PIM-RPF-RDRCT-ROUTE-BAG; - } - } - - container bundle-interfaces { - description "PIM ECMP RPF-redirect bundle information"; - - list bundle-interface { - description - "PIM ECMP RPF-redirect bundle interface - information"; - leaf bundle-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bundle name"; - } - leaf interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - uses PIM-RPF-RDRCT-BNDL-BAG; - } - } - } - } - - grouping CONTEXT { - description "Common node of vrf, default-context"; - - container context { - description "PIM context information"; - uses PIM-CONTEXT-BAG; - } - } - - grouping INTERFACE-TABLE { - description "Common node of active, standby"; - - container interface-table { - description "Interface Table"; - - container interface-by-handles { - description "Table of PIM MA interfaces indexed by handle"; - - list interface-by-handle { - key "interface-handle"; - description "PIM MA interface referenced by handle"; - leaf interface-handle { - type int32; - description "Interface handle"; - } - uses PIM-MA-IDB; - } - } - - container interface-by-names { - description "Table of PIM MA interfaces indexed by name"; - - list interface-by-name { - key "interface-name"; - description "PIM MA interface referenced by name"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-MA-IDB; - } - } - } - } - - grouping IPV4-PIM-COMMON-OPER-INTERFACE-TABLE { - description - "Common node of active, standbyCommon node of vrf, - default-context"; - - container interfaces { - description "PIM interfaces"; - - list interface { - key "interface-name"; - description "PIM interface name"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-IDB-BAG; - } - } - } - - grouping SUMMARY { - description "Common node of vrf, default-context"; - - container summary { - description "PIM summary"; - uses PIM-SUMMARY-BAG; - } - } - - grouping TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE { - description "Common node of vrf, default-context"; - - container topology-interface-flag-route-counts { - description - "Route count for topology with interface flag set"; - - list topology-interface-flag-route-count { - key "interface-flag"; - description - "Route count for topology with interface flag - set"; - leaf interface-flag { - type Pim-topology-interface-flag; - description "Interface flag"; - } - uses PIM-TT-SUMM-BAG; - } - } - } - - grouping INTERFACE-STATISTICS-TABLE { - description "Common node of vrf, default-context"; - - container interface-statistics { - description "PIM interface statistics"; - - list interface-statistic { - key "interface-name"; - description "PIM interface statistics"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-IFSTATS-BAG; - } - } - } - - grouping GRE { - description "Common node of vrf, default-context"; - - container gre { - description "GRE information"; - - container gre-hashes { - description "GRE hash"; - - list gre-hash { - key "source-address destination-address ifname"; - description "PIM GRE Hashed Underlying Interface"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf destination-address { - type inet:ip-address-no-zone; - description "Destination address"; - } - leaf ifname { - type xr:Interface-name; - description "GRE Tunnel Interface"; - } - uses PIM-GRE-HASH-BAG; - } - } - - container gre-next-hops { - description "GRE destination neighbor table"; - - list gre-next-hop { - key "destination-address"; - description "PIM GRE address next-hop information"; - leaf destination-address { - type inet:ip-address-no-zone; - description "GRE destination address"; - } - uses PIM-GRE-INFO-BAG; - } - } - } - } - - grouping NEIGHBOR-OLD-FORMAT-TABLE { - description "Common node of vrf, default-context"; - - container neighbor-old-formats { - description "PIM neighbor table old format"; - - list neighbor-old-format { - description "PIM neighbor information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses PIM-NBR-BAG; - } - } - } - - grouping IFRS-SUMMARY { - description "Common node of vrf, default-context"; - - container ifrs-summary { - description - "PIM interfaces in forward reference store - summary"; - uses PIM-IDB-SUMM-BAG; - } - } - - grouping DEFAULT-CONTEXT { - description "Common node of active, standby"; - - container default-context { - description "Default Context"; - - container global-interfaces { - description "PIM global interface table"; - - list global-interface { - key "interface-name"; - description "PIM interface name"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PIM-IDB-BAG; - } - } - uses IFRS-INTERFACE-TABLE; - uses SAF-TABLE; - uses INTERFACE-STATISTICS-TABLE; - uses TOPOLOGY-ROUTE-COUNT; - uses JP-STATISTICS-TABLE; - uses MIB-DATABASE-TABLE; - uses NEIGHBOR-OLD-FORMAT-TABLE; - uses IFRS-SUMMARY; - uses RANGE-LIST-TABLE; - uses INTERFACE-OLD-FORMAT-TABLE; - uses BSR; - uses ROUTE-POLICY; - uses RPF-SUMMARY; - uses IPV4-PIM-COMMON-OPER-INTERFACE-TABLE; - uses NET-IO-TUNNEL-TABLE; - uses BIDIR-DF-STATE-TABLE; - uses TOPOLOGY-TABLE; - uses BGP-AF-TABLE; - uses AUTO-RP; - uses TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE; - uses GROUP-MAP-SOURCE-TABLE; - uses TRAFFIC-COUNTERS; - uses GROUP-MAP-RPF-TABLE; - uses SUMMARY; - uses GRE; - uses BIDIR-DF-WINNER-TABLE; - uses TABLE-CONTEXT-TABLE; - uses NEIGHBOR-SUMMARY-TABLE; - uses CONTEXT; - uses TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE; - uses RPF-REDIRECT; - uses TUNNEL-TABLE; - uses MULTICAST-STATIC-ROUTE-TABLE; - uses NEIGHBOR-TABLE; - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of vrf, default-context"; - - container neighbors { - description "PIM neighbor table"; - - list neighbor { - description "PIM neighbor information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ip-address-no-zone; - description "Neighbor address"; - } - uses PIM-NBR-BAG; - } - } - } - - grouping SAF-TABLE { - description "Common node of vrf, default-context"; - - container safs { - description "SAFI table and type"; - - list saf { - description "SAF name "; - - container rpf-hash-source-groups { - description "PIM RPF multipath hash outcome"; - - list rpf-hash-source-group { - description "PIM RPF hash outcome for S,G"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf group-address { - type inet:ip-address-no-zone; - description "Group address"; - } - leaf mask-length { - type int32; - description "Hash mask length"; - } - leaf mofrr { - type int32; - description "MOFRR"; - } - uses PIM-RPF-HASH-BAG; - } - } - - container rpf-hash-sources { - description "PIM RPF multipath hash outcome"; - - list rpf-hash-source { - description "PIM RPF hash outcome for S,G"; - leaf source-address { - type inet:ip-address-no-zone; - description "Source address"; - } - leaf mofrr { - type int32; - description "MOFRR"; - } - uses PIM-RPF-HASH-BAG; - } - } - - container rpfs { - description "PIM RPF information table"; - - list rpf { - key "registered-address"; - description "PIM RPF information"; - leaf registered-address { - type inet:ip-address-no-zone; - description "Address for which RPF lookup"; - } - uses PIM-RPF-INFO-BAG; - } - } - leaf saf-name { - type Pim-safi; - description "SAF name "; - } - leaf topology-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Topology name "; - } - } - } - } - - grouping MULTICAST-STATIC-ROUTE-TABLE { - description - "Common node of vrf, default-contextCommon node of - vrf, default-context"; - - container multicast-static-routes { - description "PIM multicast static route table"; - - list multicast-static-route { - description "PIM multicast static route information"; - leaf address { - type inet:ip-address-no-zone; - description "Network address"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - uses PIM-MSTATIC-BAG; - } - } - } - - grouping RANGE-LIST-TABLE { - description "Common node of vrf, default-context"; - - container ranges { - description "PIM range list information"; - - list range { - description "PIM range list information"; - leaf rp-address { - type inet:ip-address-no-zone; - description "RP address"; - } - leaf client { - type Pim-client; - description "Client"; - } - uses PIM-RL-BAG; - } - } - } - - grouping STANDBY { - description "Common node of pim-ma, pim6-ma"; - - container standby { - description "Standby Process"; - uses INTERFACE-TABLE; - uses PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP; - } - } - - grouping IPV4-PIM-ROLE-LVL-OPER-STANDBY { - description - "Common node of pim-ma, pim6-maCommon node of pim, - ipv6-pim"; - - container standby { - description "Standby Process"; - uses DEFAULT-CONTEXT; - uses PROCESS; - uses VRF-TABLE; - } - } - - container pim-ma { - config false; - description "PIM MA operational data"; - uses ACTIVE; - uses STANDBY; - } - - container pim { - config false; - description "pim"; - uses IPV4-PIM-ROLE-LVL-OPER-STANDBY; - uses IPV4-PIM-ROLE-LVL-OPER-ACTIVE; - } - - container ipv6-pim { - config false; - description "ipv6 pim"; - uses IPV4-PIM-ROLE-LVL-OPER-STANDBY; - uses IPV4-PIM-ROLE-LVL-OPER-ACTIVE; - } - - container pim6-ma { - config false; - description "pim6 ma"; - uses ACTIVE; - uses STANDBY; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ping-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ping-act.yang deleted file mode 100755 index 173a7b0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-ping-act.yang +++ /dev/null @@ -1,231 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-ping-act { - - belongs-to Cisco-IOS-XR-ping-act { - prefix "ping-act"; - } - - import Cisco-IOS-XR-types { prefix "xr"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv4 ping action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-08-20" { - description - "IOS XR 6.2.1 revision."; - } - - grouping PING-COMMON-INPUT-OUTPUT-OPTIONS { - - leaf destination { - description "Ping destination address or hostname"; - type string; - mandatory true; - } - - leaf repeat-count { - description "Number of ping packets to be sent out"; - type uint64 { - range "1..64"; - } - default 5; - } - - leaf data-size { - description "Size of ping packet"; - type uint64 { - range "36..18024"; - } - default 100; - } - - leaf timeout { - description "Timeout in seconds"; - type uint64 { - range "0..36"; - } - default 2; - } - - leaf interval { - description "Ping interval in milli seconds"; - type uint32 { - range "0..3600"; - } - default 10; - } - - leaf pattern { - description "Pattern of payload data"; - type xr:Hex-integer; - } - - leaf sweep { - description "Sweep is enabled"; - type boolean; - } - } - - grouping PING-OPTIONS { - - uses PING-COMMON-INPUT-OUTPUT-OPTIONS; - - leaf vrf-name { - description "VRF name"; - type string; - } - - leaf source { - description "Source address or interface"; - type string; - } - - leaf verbose { - description "Validate return packet"; - type boolean; - } - - } - - grouping IPV4-SPECIFIC-OPTIONS { - - leaf type-of-service { - description "Type of Service"; - type uint8 { - range "0..255"; - } - } - - leaf do-not-frag { - description "Do Not Fragment"; - type boolean; - } - - leaf validate { - description "Validate return packet"; - type boolean; - } - } - - grouping IPV4-PING-OPTIONS { - - uses PING-OPTIONS; - - uses IPV4-SPECIFIC-OPTIONS; - - } - - grouping IPV4-PING-INPUT { - - uses IPV4-PING-OPTIONS; - } - - grouping IPV4-PING-OUTPUT { - - uses PING-COMMON-INPUT-OUTPUT-OPTIONS; - - container replies { - - list reply { - - key reply-index; - - leaf reply-index { - description "Index of the reply list"; - type uint64 { - range "1..2147483647"; - } - } - - leaf result { - description "Response for each packet"; - type string; - } - - container broadcast-reply-addresses { - - list broadcast-reply-address { - - key reply-address; - - leaf reply-address { - description "Broadcast reply address"; - type string; - } - - leaf result { - description "Sign for each reply packet"; - type string; - } - } - } - } - } - - leaf hits { - description "Number of packets reach to destination and get reply back"; - type uint64; - } - - leaf total { - description "Total number of packets sent out"; - type uint64; - } - - leaf success-rate { - description "Successful rate of ping"; - type uint64; - } - - leaf rtt-min { - description "Minimum value of Round Trip Time"; - type uint64; - } - - leaf rtt-avg { - description "Average value of Round Trip Time"; - type uint64; - } - - leaf rtt-max { - description "Maximum value of Round Trip Time"; - type uint64; - } - - leaf sweep-min { - description "Minimum value of sweep size"; - type uint32; - } - - leaf sweep-max { - description "Maximum value of sweep size"; - type uint64; - } - - leaf rotate-pattern { - description "Rotate Pattern is enabled"; - type boolean; - } - - leaf ping-error-response { - description "Error response for each ping, in case of bulk ping"; - type string; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-smiap-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-smiap-cfg.yang deleted file mode 100644 index 4324eb4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-smiap-cfg.yang +++ /dev/null @@ -1,92 +0,0 @@ -module Cisco-IOS-XR-ipv4-smiap-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg"; - - - prefix "ipv4-smiap-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-smiap package configuration. - - This module contains definitions - for the following management objects: - ipv4-virtual: IPv4 virtual address for management interfaces - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-07-04" { - description - "this schema file has all the latest changes."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv4-virtual { - description "IPv4 virtual address for management interfaces"; - - container vrfs { - description "VRFs for the virtual IPv4 addresses"; - - list vrf { - key "vrf-name"; - description - "A VRF for a virtual IPv4 address. Specify - 'default' for VRF default"; - - container address { - presence "Indicates a address node is configured."; - description "IPv4 sddress and mask"; - leaf address { - type inet:ipv4-address-no-zone; - mandatory true; - description "IPv4 address"; - } - leaf netmask { - type xr:Ipv4-prefix-length; - mandatory true; - description "IPv4 address mask"; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of VRF"; - } - } - } - leaf use-as-source-address { - type empty; - description - "Enable use as default source address on sourced - packets"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-cfg.yang deleted file mode 100644 index 0383eda..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-cfg.yang +++ /dev/null @@ -1,68 +0,0 @@ -module Cisco-IOS-XR-ipv4-telnet-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg"; - - - prefix "ipv4-telnet-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-telnet package configuration. - - This module contains definitions - for the following management objects: - ipv6-telnet: IPv6 telnet configuration - ipv4-telnet: ipv4 telnet - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CLIENT { - description "Common node of ipv4-telnet, ipv6-telnet"; - - container client { - description "Telnet client configuration"; - leaf source-interface { - type xr:Interface-name; - description "Source interface for telnet sessions"; - } - } - } - - container ipv6-telnet { - description "IPv6 telnet configuration"; - uses CLIENT; - } - - container ipv4-telnet { - description "ipv4 telnet"; - uses CLIENT; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang deleted file mode 100644 index 3b6099a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang +++ /dev/null @@ -1,78 +0,0 @@ -module Cisco-IOS-XR-ipv4-telnet-mgmt-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg"; - - - prefix "ipv4-telnet-mgmt-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-telnet-mgmt package configuration. - - This module contains definitions - for the following management objects: - telnet: Global Telnet configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-10-30" { - description - "Descriptions updated."; - } - - - container telnet { - description "Global Telnet configuration commands"; - - container vrfs { - description "VRF name for telnet service"; - - list vrf { - key "vrf-name"; - description "VRF name for telnet service"; - - container ipv4 { - description "IPv4 configuration"; - leaf dscp { - type uint32 { - range "0..63"; - } - description "Specify the DSCP value"; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-traceroute-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-traceroute-act.yang deleted file mode 100755 index 78f436c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-traceroute-act.yang +++ /dev/null @@ -1,160 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-traceroute-act { - - belongs-to Cisco-IOS-XR-traceroute-act { - prefix "traceroute-act"; - } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv4 traceroute action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-17" { - description - "IOS XR 6.2.1 revision."; - } - - grouping TRACEROUTE-OPTIONS { - - leaf destination { - description "Destination address or hostname"; - type string; - mandatory true; - } - - leaf source { - description "Source address or interface"; - type string; - } - - leaf timeout { - description "Timeout in seconds"; - type uint32 { - range "0..36"; - } - default 3; - } - - leaf probe { - description "Probe count"; - type uint16 { - range "1..64"; - } - default 3; - } - - leaf numeric { - description "Numeric display only"; - type boolean; - } - - leaf vrf-name { - description "VRF name"; - type string; - } - - leaf min-ttl { - description "minimum time to live"; - type uint16 { - range "0..255"; - } - default 1; - } - - leaf max-ttl { - description "maximum time to live"; - type uint16 { - range "0..255"; - } - default 30; - } - - leaf port { - description "Port numbe"; - type uint32 { - range "0..65535"; - } - } - - leaf verbose { - description "verbose output"; - type boolean; - } - } - - grouping TRACEROUTE-OUTPUT { - - leaf destination { - description "Destination address or hostname"; - type string; - } - - list hops { - key hop-index; - - leaf hop-index { - description "Index of the hop"; - type uint32; - } - - leaf hop-address { - description "Address of the hop"; - type string; - } - - leaf hop-hostname { - description "Hostname of the hop"; - type string; - } - - list probes { - key probe-index; - - leaf probe-index { - description "Index of the probe"; - type uint32; - } - - leaf result { - description "Response for each probe"; - type string; - } - - leaf delta-time { - description "Delta time in seconds"; - type uint32; - } - - leaf hop-address { - description "Address of the hop"; - type string; - } - - leaf hop-hostname { - description "Hostname of the hop"; - type string; - } - } - } - - leaf verbose-output { - description "Verbose output"; - type string; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-cfg.yang deleted file mode 100644 index 1c02813..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-cfg.yang +++ /dev/null @@ -1,761 +0,0 @@ -module Cisco-IOS-XR-ipv4-vrrp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg"; - - - prefix "ipv4-vrrp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-vrrp package configuration. - - This module contains definitions - for the following management objects: - vrrp: VRRP configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-19" { - description - "Marked delay leafs min-delay and reload-delay as mandatory."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-16" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container vrrp { - description "VRRP configuration"; - - container logging { - description "VRRP logging options"; - leaf state-change-disable { - type empty; - description "VRRP state change IOS messages disable"; - } - } - - container interfaces { - description "Interface configuration table"; - - list interface { - key "interface-name"; - description "The interface being configured"; - - container ipv6 { - description "IPv6 VRRP configuration"; - - container version3 { - description "Version 3 VRRP configuration"; - - container virtual-routers { - description - "The VRRP virtual router configuration table"; - - list virtual-router { - key "vr-id"; - description - "The VRRP virtual router being configured"; - - container global-ipv6-addresses { - description - "The table of VRRP virtual global IPv6 - addresses"; - - list global-ipv6-address { - key "ip-address"; - description - "A VRRP virtual global IPv6 IP address"; - leaf ip-address { - type inet:ip-address-no-zone; - description - "VRRP virtual global IPv6 address"; - } - } - } - - container tracks { - description - "Track an item, reducing priority if it - goes down"; - - list track { - key "interface-name"; - description "Object to be tracked"; - leaf interface-name { - type xr:Interface-name; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container timer { - description "Set advertisement timer"; - leaf in-msec { - type boolean; - default "false"; - description - "TRUE - Advertise time configured in - milliseconds, FALSE - Advertise time - configured in seconds"; - } - leaf advertisement-time-in-msec { - type uint32 { - range "100..40950"; - } - units "millisecond"; - description - "Advertisement time in milliseconds"; - } - leaf advertisement-time-in-sec { - type uint32 { - range "1..40"; - } - units "second"; - description "Advertisement time in seconds"; - } - leaf forced { - type boolean; - default "false"; - description - "TRUE - Force configured timer values to - be used, required when configured in - milliseconds"; - } - } - - container tracked-objects { - description - "Track an object, reducing priority if it - goes down"; - - list tracked-object { - key "object-name"; - description "Object to be tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority-decrement { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container link-local-ipv6-address { - description - "The VRRP IPv6 virtual linklocal address"; - leaf ip-address { - when "../auto-configure = 0" { - description "../AutoConfigure = "; - } - type inet:ip-address-no-zone; - description - "VRRP IPv6 virtual linklocal address"; - } - leaf auto-configure { - type boolean; - default "false"; - description - "TRUE if the virtual linklocal address is - to be autoconfigured FALSE if an IPv6 - virtual linklocal address is configured"; - } - } - leaf bfd { - type inet:ip-address-no-zone; - description - "Enable use of Bidirectional Forwarding - Detection for this IP"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Priority value"; - } - leaf accept-mode-disable { - type empty; - description - "Disable Accept Mode for this virtual - IPAddress"; - } - leaf preempt { - type uint32 { - range "0..3600"; - } - default "0"; - description - "Preempt Master router if higher priority"; - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "VRRP Session Name"; - } - leaf vr-id { - type uint32 { - range "1..255"; - } - description "VRID Virtual Router Identifier"; - } - } - } - } - - container slave-virtual-routers { - description "The VRRP slave group configuration table"; - - list slave-virtual-router { - key "slave-virtual-router-id"; - description "The VRRP slave being configured"; - - container link-local-ipv6-address { - description - "The VRRP IPv6 virtual linklocal address"; - leaf ip-address { - when "../auto-configure = 0" { - description "../AutoConfigure = "; - } - type inet:ip-address-no-zone; - description "VRRP IPv6 virtual linklocal address"; - } - leaf auto-configure { - type boolean; - default "false"; - description - "TRUE if the virtual linklocal address is - to be autoconfigured FALSE if an IPv6 - virtual linklocal address is configured"; - } - } - - container global-ipv6-addresses { - description - "The table of VRRP virtual global IPv6 - addresses"; - - list global-ipv6-address { - key "ip-address"; - description - "A VRRP virtual global IPv6 IP address"; - leaf ip-address { - type inet:ip-address-no-zone; - description "VRRP virtual global IPv6 address"; - } - } - } - leaf follow { - type string; - description - "VRRP Session name for this slave to follow"; - } - leaf accept-mode-disable { - type empty; - description - "Disable Accept Mode for this virtual - IPAddress"; - } - leaf slave-virtual-router-id { - type uint32 { - range "1..255"; - } - description "Virtual Router ID"; - } - } - } - } - - container delay { - presence "Indicates a delay node is configured."; - description "Minimum and Reload Delay"; - leaf min-delay { - type uint32 { - range "0..10000"; - } - units "second"; - mandatory true; - description "Minimum delay in seconds"; - } - leaf reload-delay { - type uint32 { - range "0..10000"; - } - units "second"; - mandatory true; - description "Reload delay in seconds"; - } - } - - container ipv4 { - description "IPv4 VRRP configuration"; - - container version3 { - description "Version 3 VRRP configuration"; - - container virtual-routers { - description - "The VRRP virtual router configuration table"; - - list virtual-router { - key "vr-id"; - description - "The VRRP virtual router being configured"; - - container timer { - description "Set advertisement timer"; - leaf in-msec { - type boolean; - default "false"; - description - "TRUE - Advertise time configured in - milliseconds, FALSE - Advertise time - configured in seconds"; - } - leaf advertisement-time-in-msec { - type uint32 { - range "100..40950"; - } - units "millisecond"; - description - "Advertisement time in milliseconds"; - } - leaf advertisement-time-in-sec { - type uint32 { - range "1..40"; - } - units "second"; - description "Advertisement time in seconds"; - } - leaf forced { - type boolean; - default "false"; - description - "TRUE - Force configured timer values to - be used, required when configured in - milliseconds"; - } - } - - container secondary-ipv4-addresses { - description - "The table of VRRP secondary IPv4 addresses"; - - list secondary-ipv4-address { - key "ip-address"; - description "A VRRP secondary IPv4 address"; - leaf ip-address { - type inet:ipv4-address-no-zone; - description "VRRP Secondary IPv4 address"; - } - } - } - - container tracked-objects { - description - "Track an object, reducing priority if it - goes down"; - - list tracked-object { - key "object-name"; - description "Object to be tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority-decrement { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container tracks { - description - "Track an item, reducing priority if it - goes down"; - - list track { - key "interface-name"; - description "Object to be tracked"; - leaf interface-name { - type xr:Interface-name; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "VRRP Session Name"; - } - leaf bfd { - type inet:ipv4-address-no-zone; - description - "Enable use of Bidirectional Forwarding - Detection for this IP"; - } - leaf primary-ipv4-address { - type inet:ipv4-address-no-zone; - description "The Primary VRRP IPv4 address"; - } - leaf preempt { - type uint32 { - range "0..3600"; - } - default "0"; - description - "Preempt Master router if higher priority"; - } - leaf accept-mode-disable { - type empty; - description - "Disable Accept Mode for this virtual - IPAddress"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Priority value"; - } - leaf vr-id { - type uint32 { - range "1..255"; - } - description "VRID Virtual Router Identifier"; - } - } - } - } - - container slave-virtual-routers { - description "The VRRP slave group configuration table"; - - list slave-virtual-router { - key "slave-virtual-router-id"; - description "The VRRP slave being configured"; - - container secondary-ipv4-addresses { - description - "The table of VRRP secondary IPv4 addresses"; - - list secondary-ipv4-address { - key "ip-address"; - description "A VRRP secondary IPv4 address"; - leaf ip-address { - type inet:ipv4-address-no-zone; - description "VRRP Secondary IPv4 address"; - } - } - } - leaf follow { - type string; - description - "VRRP Session name for this slave to follow"; - } - leaf accept-mode-disable { - type empty; - description - "Disable Accept Mode for this virtual - IPAddress"; - } - leaf primary-ipv4-address { - type inet:ipv4-address-no-zone; - description "The Primary VRRP IPv4 address"; - } - leaf slave-virtual-router-id { - type uint32 { - range "1..255"; - } - description "Virtual Router ID"; - } - } - } - - container version2 { - description "Version 2 VRRP configuration"; - - container virtual-routers { - description - "The VRRP virtual router configuration table"; - - list virtual-router { - key "vr-id"; - description - "The VRRP virtual router being configured"; - - container timer { - description "Set advertisement timer"; - leaf in-msec { - type boolean; - default "false"; - description - "TRUE - Advertise time configured in - milliseconds, FALSE - Advertise time - configured in seconds"; - } - leaf advertisement-time-in-msec { - type uint32 { - range "100..40950"; - } - units "millisecond"; - description - "Advertisement time in milliseconds"; - } - leaf advertisement-time-in-sec { - type uint32 { - range "1..255"; - } - units "second"; - description "Advertisement time in seconds"; - } - leaf forced { - type boolean; - default "false"; - description - "TRUE - Force configured timer values to - be used, required when configured in - milliseconds"; - } - } - - container secondary-ipv4-addresses { - description - "The table of VRRP secondary IPv4 addresses"; - - list secondary-ipv4-address { - key "ip-address"; - description "A VRRP secondary IPv4 address"; - leaf ip-address { - type inet:ipv4-address-no-zone; - description "VRRP Secondary IPv4 address"; - } - } - } - - container tracks { - description - "Track an item, reducing priority if it - goes down"; - - list track { - key "interface-name"; - description "Object to be tracked"; - leaf interface-name { - type xr:Interface-name; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - - container tracked-objects { - description - "Track an object, reducing priority if it - goes down"; - - list tracked-object { - key "object-name"; - description "Object to be tracked"; - leaf object-name { - type xr:Cisco-ios-xr-string; - description - "Object to be tracked, interface name for - interfaces"; - } - leaf priority-decrement { - type uint32 { - range "1..254"; - } - mandatory true; - description "Priority decrement"; - } - } - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Priority value"; - } - leaf primary-ipv4-address { - type inet:ipv4-address-no-zone; - description "The Primary VRRP IPv4 address"; - } - leaf preempt { - type uint32 { - range "0..3600"; - } - default "0"; - description - "Preempt Master router if higher priority"; - } - leaf text-password { - type string; - description - "Authentication password, 8 chars max"; - } - leaf bfd { - type inet:ipv4-address-no-zone; - description - "Enable use of Bidirectional Forwarding - Detection for this IP"; - } - leaf session-name { - type xr:Cisco-ios-xr-string { - length "1..16"; - } - description "VRRP Session Name"; - } - leaf accept-mode-disable { - type empty; - description - "Disable Accept Mode for this virtual - IPAddress"; - } - leaf vr-id { - type uint32 { - range "1..255"; - } - description "VRID Virtual Router Identifier"; - } - } - } - } - } - - container bfd { - description "BFD configuration"; - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by - vrrp"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description - "Detection multiplier for BFD sessions created - by vrrp"; - } - } - leaf mac-refresh { - type uint32 { - range "0..10000"; - } - units "second"; - default "60"; - description "VRRP Slave MAC-refresh rate in seconds"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name to configure"; - } - } - } - } - - augment "/a1:snmp/a1:notification" { - - container vrrp { - description "VRRP-MIB notification configuration"; - leaf enable { - type empty; - description "Enable VRRP-MIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang deleted file mode 100644 index 16409dc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang +++ /dev/null @@ -1,917 +0,0 @@ -submodule Cisco-IOS-XR-ipv4-vrrp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv4-vrrp-oper { - prefix Cisco-IOS-XR-ipv4-vrrp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv4-vrrp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-16" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vrrp-vmac-state { - type enumeration { - enum stored { - value 0; - description "VMAC stored locally"; - } - enum reserved { - value 1; - description "VMAC reserved in mac table"; - } - enum active { - value 2; - description "VMAC active in mac table"; - } - enum reserving { - value 3; - description "VMAC not yet reserved in mac table"; - } - } - description "Vrrp vmac state"; - } - typedef Vrrp-state-change-reason { - type enumeration { - enum state-change-bfd-down { - value 0; - description "BFD session down"; - } - enum state-change-virtual-ip-configured { - value 1; - description "Virtual IP configured"; - } - enum state-change-interface-ip { - value 2; - description "Interface IP update"; - } - enum state-change-delay-timer { - value 3; - description "Delay timer expired"; - } - enum state-change-startup { - value 4; - description "Ready on startup"; - } - enum state-change-interface-up { - value 5; - description "Interface Up update"; - } - enum state-change-interface-down { - value 6; - description "Interface Down update"; - } - enum state-change-master-down-timer { - value 7; - description "Master down timer expired"; - } - enum state-change-higher-priority-master { - value 8; - description "Higher priority advert received"; - } - enum state-change-fhrp-admin { - value 9; - description "FHRP Admin state change"; - } - enum state-change-mgo-parent { - value 10; - description "Change of MGO parent session"; - } - enum state-change-chkpt-update { - value 11; - description "Checkpoint update from Primary VRRP instance"; - } - enum state-change-issu-resync { - value 12; - description "Resync following ISSU primary event"; - } - } - description "Vrrp state change reason"; - } - typedef Vrrp-bfd-session-state { - type enumeration { - enum bfd-state-none { - value 0; - description "None"; - } - enum bfd-state-inactive { - value 1; - description "Inactive"; - } - enum bfd-state-up { - value 2; - description "Up"; - } - enum bfd-state-down { - value 3; - description "Down"; - } - } - description "Vrrp bfd session state"; - } - typedef Vrrp-prot-auth { - type enumeration { - enum authentication-none { - value 0; - description "Down"; - } - enum authentication-text { - value 1; - description "Simple Text"; - } - enum authentication-ip { - value 2; - description "IP header"; - } - } - description "Vrrp prot auth"; - } - typedef Vrrp-bag-protocol-state { - type enumeration { - enum state-initial { - value 1; - description "Initial"; - } - enum state-backup { - value 2; - description "Backup"; - } - enum state-master { - value 3; - description "Master"; - } - } - description "VRRP protocol state"; - } - typedef Vrrp-vip-state { - type enumeration { - enum virtual-ip-state-down { - value 0; - description "Down"; - } - enum virtual-ip-state-up { - value 1; - description "Up"; - } - } - description "Vrrp vip state"; - } - typedef Vrrp-b-af { - type enumeration { - enum address-family-ipv4 { - description "IPv4 Address Family"; - } - enum address-family-ipv6 { - description "IPv6 Address Family"; - } - enum vrrp-baf-count { - description "Number of Adddress Families"; - } - } - description "Vrrp b af"; - } - typedef Vrrp-version { - type uint8; - description "Vrrp version"; - } - - grouping VRRP-SLAVE-INFO-TYPE { - description "Slave info"; - leaf slave-interface { - type string { - length "0..64"; - } - description "Interface of slave"; - } - leaf slave-virtual-router-id { - type uint32; - description "VRID of slave"; - } - } - - grouping VRRP-MGO-INFO { - description "MGO group data"; - leaf primary-session-name { - type string { - length "0..16"; - } - description "Session Name"; - } - leaf primary-session-interface { - type xr:Interface-name; - description "Interface of primary session"; - } - leaf primary-af-name { - type Vrrp-b-af; - description "Address family of primary session"; - } - leaf primary-session-number { - type uint32; - description "VRID of primary session"; - } - leaf primary-session-state { - type Vrrp-bag-protocol-state; - description "State of primary session"; - } - - list slave { - description "List of slaves following this primary session"; - uses VRRP-SLAVE-INFO-TYPE; - } - } - - grouping VRRP-INTERFACE-INFO { - description "VRRP Interface statistics"; - leaf interface { - type xr:Interface-name; - description "IM Interface"; - } - leaf invalid-checksum-count { - type uint32; - description "Invalid checksum"; - } - leaf invalid-version-count { - type uint32; - description "Unknown/unsupported version"; - } - leaf invalid-vrid-count { - type uint32; - description "Invalid vrID"; - } - leaf invalid-packet-length-count { - type uint32; - description "Bad packet lengths"; - } - } - - grouping VRRP-STATE-CHANGE-INFO-TYPE { - description "State change info"; - - container time { - description "Time of state change"; - uses VRRP-BAG-TIMESTAMP; - } - leaf old-state { - type Vrrp-bag-protocol-state; - description "Old State"; - } - leaf new-state { - type Vrrp-bag-protocol-state; - description "New State"; - } - leaf reason { - type Vrrp-state-change-reason; - description "Reason for state change"; - } - } - - grouping VRRP-BAG-TIMESTAMP { - description "Timestamp"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping IPV6-BAG-ADDR { - description "IPV6 BAG ADDR"; - leaf ipv6-address { - type inet:ipv6-address; - description "IPV6Address"; - } - } - - grouping VRRP-VROUTER-INFO { - description "Detailed vrID specific information"; - - container resign-sent-time { - description "Time last resign was sent"; - uses VRRP-BAG-TIMESTAMP; - } - - container resign-received-time { - description "Time last resign was received"; - uses VRRP-BAG-TIMESTAMP; - } - leaf interface-name-xr { - type string { - length "0..64"; - } - description "IM Interface Name"; - } - leaf virtual-router-id-xr { - type uint32; - description "Virtual Router ID"; - } - leaf version { - type Vrrp-version; - description "VRRP Protocol Version"; - } - leaf address-family { - type Vrrp-b-af; - description "Address family"; - } - leaf session-name { - type string { - length "0..16"; - } - description "Session Name"; - } - leaf slaves { - type uint32; - description "Number of slaves following state"; - } - leaf is-slave { - type boolean; - description "Group is a slave group"; - } - leaf followed-session-name { - type string { - length "0..16"; - } - description "Followed Session Name"; - } - leaf secondary-address-count { - type uint8; - description "Configured VRRP secondary address count"; - } - leaf operational-address-count { - type uint8; - description "Operational VRRP address count"; - } - leaf primary-virtual-ip { - type inet:ipv4-address; - description "Configured IPv4 Primary address"; - } - leaf configured-down-address-count { - type uint8; - description " Configured but Down VRRP address count"; - } - leaf virtual-linklocal-ipv6-address { - type inet:ipv6-address; - description "Virtual linklocal IPv6 address"; - } - leaf primary-state { - type Vrrp-vip-state; - description "State of primary IP address"; - } - leaf master-ip-address { - type inet:ipv4-address; - description "Master router real IP address"; - } - leaf master-ipv6-address { - type inet:ipv6-address; - description "Master router real IPv6 address"; - } - leaf master-priority { - type uint8; - description "Master router priority"; - } - leaf vrrp-state { - type Vrrp-bag-protocol-state; - description "VRRP state"; - } - leaf authentication-type { - type Vrrp-prot-auth; - description "Authentication type"; - } - leaf authentication-string { - type string; - description "Authentication data"; - } - leaf configured-advertize-time { - type uint32; - description "Configured advertize time"; - } - leaf oper-advertize-time { - type uint32; - description "Operational advertize time"; - } - leaf min-delay-time { - type uint32; - units "millisecond"; - description "Minimum delay time in msecs"; - } - leaf reload-delay-time { - type uint32; - units "millisecond"; - description "Reload delay time in msecs"; - } - leaf delay-timer-flag { - type boolean; - description "Delay timer running flag"; - } - leaf delay-timer-secs { - type uint32; - units "second"; - description "Delay timer running time secs"; - } - leaf delay-timer-msecs { - type uint32; - units "millisecond"; - description "Delay timer running time msecs"; - } - leaf authentication-flag { - type boolean; - description "Text authentication configured flag"; - } - leaf force-timer-flag { - type boolean; - description "Configured timers forced flag"; - } - leaf preempt-flag { - type boolean; - description "Preempt configured flag"; - } - leaf ip-address-owner-flag { - type boolean; - description "IP address owner flag"; - } - leaf is-accept-mode { - type boolean; - description "Is accept mode"; - } - leaf preempt-delay-time { - type uint16; - description "Preempt delay time"; - } - leaf configured-priority { - type uint8; - description "Configured priority"; - } - leaf operational-priority { - type uint8; - description "Operational priority"; - } - leaf priority-decrement { - type uint32; - description "Priority decrement"; - } - leaf tracked-interface-count { - type uint32; - description "Number of items tracked"; - } - leaf tracked-interface-up-count { - type uint32; - description "Number of tracked items up"; - } - leaf tracked-item-count { - type uint32; - description "Number of tracked items"; - } - leaf tracked-item-up-count { - type uint32; - description "Number of tracked items in UP state"; - } - leaf time-in-current-state { - type uint32; - units "second"; - description "Time in current state secs"; - } - leaf state-change-count { - type uint32; - description "Number of state changes"; - } - leaf time-vrouter-up { - type uint32; - units "centisecond"; - description "Time vrouter is up in centiseconds"; - } - leaf master-count { - type uint32; - description "No. of times become Master"; - } - leaf adverts-received-count { - type uint32; - description "No. of advertisements received"; - } - leaf advert-interval-error-count { - type uint32; - description "Advertise interval errors"; - } - leaf adverts-sent-count { - type uint32; - description "No. of advertisements sent"; - } - leaf authentication-fail-count { - type uint32; - description "Authentication failures"; - } - leaf ttl-error-count { - type uint32; - description "TTL errors"; - } - leaf priority-zero-received-count { - type uint32; - description "No. priority 0 received"; - } - leaf priority-zero-sent-count { - type uint32; - description "No. priority 0 sent"; - } - leaf invalid-packet-count { - type uint32; - description "Invalid packets received"; - } - leaf address-list-error-count { - type uint32; - description "Address list errors"; - } - leaf invalid-auth-type-count { - type uint32; - description "Invalid authentication type"; - } - leaf auth-type-mismatch-count { - type uint32; - description "Authentication type mismatches"; - } - leaf pkt-length-errors-count { - type uint32; - description "Packet length errors"; - } - leaf time-stats-discontinuity { - type uint32; - description - "Time since a statistics discontinuity in ticks - (10ns units)"; - } - leaf bfd-session-state { - type Vrrp-bfd-session-state; - description "BFD session state"; - } - leaf bfd-interval { - type uint32; - description "BFD packet send interval"; - } - leaf bfd-multiplier { - type uint32; - description "BFD multiplier"; - } - leaf bfd-cfg-remote-ip { - type inet:ipv4-address; - description "BFD configured remote IP"; - } - leaf bfd-configured-remote-ipv6-address { - type inet:ipv6-address; - description "BFD configured remote IPv6"; - } - leaf state-from-checkpoint { - type boolean; - description "Whether state recovered from checkpoint"; - } - leaf interface-ipv4-address { - type inet:ipv4-address; - description "The Interface Primary IPv4 address"; - } - leaf interface-ipv6-address { - type inet:ipv6-address; - description "The Interface linklocal IPv6 address"; - } - leaf virtual-mac-address { - type yang:mac-address; - description "Virtual mac address"; - } - leaf virtual-mac-address-state { - type Vrrp-vmac-state; - description "Virtual mac address state"; - } - leaf-list operational-address { - type inet:ipv4-address; - description "Operational IPv4 VRRP addresses"; - } - leaf-list ipv4-configured-down-address { - type inet:ipv4-address; - description "IPv4 Configured but Down VRRP addresses"; - } - - list ipv6-operational-address { - description "IPv6 Operational VRRP addresses"; - uses IPV6-BAG-ADDR; - } - - list ipv6-configured-down-address { - description "IPv6 Configured but Down VRRP addresses"; - uses IPV6-BAG-ADDR; - } - - list state-change-history { - description "State change history"; - uses VRRP-STATE-CHANGE-INFO-TYPE; - } - } - - grouping VRRP-TRACKITEM-INFO { - description "Tracked item information"; - leaf interface { - type xr:Interface-name; - description "IM Interface"; - } - leaf virtual-router-id-xr { - type uint32; - description "Virtual Router ID"; - } - leaf tracked-item-type { - type uint16; - description "Type of tracked item"; - } - leaf tracked-item-index { - type string { - length "0..32"; - } - description "Tracked item index"; - } - leaf state { - type uint8; - description "State of the tracked item"; - } - leaf priority { - type uint8; - description "Priority weight of item"; - } - } - - grouping VRRP-SUMMARY-INFO { - description "VRRP summary statistics"; - leaf ipv4-sessions-master-owner { - type uint32; - description "Number of IPv4 sessions in MASTER (owner) state"; - } - leaf ipv4-sessions-master { - type uint32; - description "Number of IPv4 sessions in MASTER state"; - } - leaf ipv4-sessions-backup { - type uint32; - description "Number of IPv4 sessions in BACKUP state"; - } - leaf ipv4-sessions-init { - type uint32; - description "Number of IPv4 sessions in INIT state"; - } - leaf ipv4-slaves-master { - type uint32; - description "Number of IPv4 slaves in MASTER state"; - } - leaf ipv4-slaves-backup { - type uint32; - description "Number of IPv4 slaves in BACKUP state"; - } - leaf ipv4-slaves-init { - type uint32; - description "Number of IPv4 slaves in INIT state"; - } - leaf ipv4-virtual-ip-addresses-master-owner-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on - virtual routers in MASTER (owner) state"; - } - leaf ipv4-virtual-ip-addresses-master-owner-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - virtual routers in MASTER (owner) state"; - } - leaf ipv4-virtual-ip-addresses-master-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on - virtual routers in MASTER state"; - } - leaf ipv4-virtual-ip-addresses-master-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - virtual routers in MASTER state"; - } - leaf ipv4-virtual-ip-addresses-backup-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on - virtual routers in BACKUP state"; - } - leaf ipv4-virtual-ip-addresses-backup-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - virtual routers in BACKUP state"; - } - leaf ipv4-virtual-ip-addresses-init-up { - type uint32; - description - "Number of UP IPv4 Virtual IP Addresses on - virtual routers in INIT state"; - } - leaf ipv4-virtual-ip-addresses-init-down { - type uint32; - description - "Number of DOWN IPv4 Virtual IP Addresses on - virtual routers in INIT state"; - } - leaf ipv6-sessions-master-owner { - type uint32; - description "Number of IPv6 sessions in MASTER (owner) state"; - } - leaf ipv6-sessions-master { - type uint32; - description "Number of IPv6 sessions in MASTER state"; - } - leaf ipv6-sessions-backup { - type uint32; - description "Number of IPv6 sessions in BACKUP state"; - } - leaf ipv6-sessions-init { - type uint32; - description "Number of IPv6 sessions in INIT state"; - } - leaf ipv6-slaves-master { - type uint32; - description "Number of IPv6 slaves in MASTER state"; - } - leaf ipv6-slaves-backup { - type uint32; - description "Number of IPv6 slaves in BACKUP state"; - } - leaf ipv6-slaves-init { - type uint32; - description "Number of IPv6 slaves in INIT state"; - } - leaf ipv6-virtual-ip-addresses-master-owner-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on - virtual routers in MASTER (owner) state"; - } - leaf ipv6-virtual-ip-addresses-master-owner-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - virtual routers in MASTER (owner) state"; - } - leaf ipv6-virtual-ip-addresses-master-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on - virtual routers in MASTER state"; - } - leaf ipv6-virtual-ip-addresses-master-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - virtual routers in MASTER state"; - } - leaf ipv6-virtual-ip-addresses-backup-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on - virtual routers in BACKUP state"; - } - leaf ipv6-virtual-ip-addresses-backup-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - virtual routers in BACKUP state"; - } - leaf ipv6-virtual-ip-addresses-init-up { - type uint32; - description - "Number of UP IPv6 Virtual IP Addresses on - virtual routers in INIT state"; - } - leaf ipv6-virtual-ip-addresses-init-down { - type uint32; - description - "Number of DOWN IPv6 Virtual IP Addresses on - virtual routers in INIT state"; - } - leaf interfaces-ipv4-state-up { - type uint32; - description - "Number of VRRP interfaces with IPv4 caps in UP - state"; - } - leaf interfaces-ipv4-state-down { - type uint32; - description - "Number of VRRP interfaces with IPv4 caps in DOWN - state"; - } - leaf tracked-interfaces-ipv4-state-up { - type uint32; - description - "Number of tracked interfaces with IPv4 caps in - UP state"; - } - leaf tracked-interfaces-ipv4-state-down { - type uint32; - description - "Number of tracked interfaces with IPv4 caps in - DOWN state"; - } - leaf interfaces-ipv6-state-up { - type uint32; - description - "Number of VRRP interfaces with IPv6 caps in UP - state"; - } - leaf interfaces-ipv6-state-down { - type uint32; - description - "Number of VRRP interfaces with IPv6 caps in DOWN - state"; - } - leaf tracked-interfaces-ipv6-state-up { - type uint32; - description - "Number of tracked interfaces with IPv6 caps in - UP state"; - } - leaf tracked-interfaces-ipv6-state-down { - type uint32; - description - "Number of tracked interfaces with IPv6 caps in - DOWN state"; - } - leaf tracked-objects-state-up { - type uint32; - description "Number of tracked objects in UP state"; - } - leaf tracked-objects-state-down { - type uint32; - description "Number of tracked objects in DOWN state"; - } - leaf bfd-sessions-up { - type uint32; - description "Number of VRRP IPv4 BFD sessions in UP state"; - } - leaf bfd-sessions-down { - type uint32; - description "Number of VRRP IPv4 BFD sessions in DOWN state"; - } - leaf bfd-session-inactive { - type uint32; - description - "Number of VRRP IPv4 BFD sessions in INACTIVE - state"; - } - leaf ipv6bfd-sessions-up { - type uint32; - description "Number of VRRP IPv6 BFD sessions in UP state"; - } - leaf ipv6bfd-sessions-down { - type uint32; - description "Number of VRRP IPv6 BFD sessions in DOWN state"; - } - leaf ipv6bfd-session-inactive { - type uint32; - description - "Number of VRRP IPv6 BFD sessions in INACTIVE - state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper.yang deleted file mode 100644 index 17cc8e2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-vrrp-oper.yang +++ /dev/null @@ -1,201 +0,0 @@ -module Cisco-IOS-XR-ipv4-vrrp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper"; - - - prefix "ipv4-vrrp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv4-vrrp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv4-vrrp package operational data. - - This module contains definitions - for the following management objects: - vrrp: VRRP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-16" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container vrrp { - config false; - description "VRRP operational data"; - - container summary { - description "VRRP summary statistics"; - uses VRRP-SUMMARY-INFO; - } - - container ipv6 { - description "IPv6 VRRP configuration"; - - container track-items { - description "The VRRP tracked item table"; - - list track-item { - key "interface-name virtual-router-id"+ - " tracked-interface-name"; - description "A configured VRRP IP address entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name to track"; - } - leaf virtual-router-id { - type int32; - description "The VRRP virtual router id"; - } - leaf tracked-interface-name { - type xr:Interface-name; - description "The name of the tracked interface"; - } - uses VRRP-TRACKITEM-INFO; - } - } - - container virtual-routers { - description "The VRRP virtual router table"; - - list virtual-router { - key "interface-name virtual-router-id"; - description "A VRRP virtual router"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - leaf virtual-router-id { - type int32; - description "The VRRP virtual router id"; - } - uses VRRP-VROUTER-INFO; - } - } - - container interfaces { - description "The VRRP interface table"; - - list interface { - key "interface-name"; - description "A VRRP interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses VRRP-INTERFACE-INFO; - } - } - } - - container ipv4 { - description "IPv4 VRRP configuration"; - - container interfaces { - description "The VRRP interface table"; - - list interface { - key "interface-name"; - description "A VRRP interface entry"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses VRRP-INTERFACE-INFO; - } - } - - container track-items { - description "The VRRP tracked item table"; - - list track-item { - key "interface-name virtual-router-id"+ - " tracked-interface-name"; - description "A configured VRRP IP address entry"; - leaf interface-name { - type xr:Interface-name; - description "The interface name to track"; - } - leaf virtual-router-id { - type int32; - description "The VRRP virtual router id"; - } - leaf tracked-interface-name { - type xr:Interface-name; - description "The name of the tracked interface"; - } - uses VRRP-TRACKITEM-INFO; - } - } - - container virtual-routers { - description "The VRRP virtual router table"; - - list virtual-router { - key "interface-name virtual-router-id"; - description "A VRRP virtual router"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - leaf virtual-router-id { - type int32; - description "The VRRP virtual router id"; - } - uses VRRP-VROUTER-INFO; - } - } - } - - container mgo-sessions { - description "VRRP MGO Session information"; - - list mgo-session { - key "session-name"; - description "A VRRP MGO Session"; - leaf session-name { - type xr:Cisco-ios-xr-string; - description "The name of the session"; - } - uses VRRP-MGO-INFO; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ace-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ace-cfg.yang deleted file mode 100644 index d436cde..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ace-cfg.yang +++ /dev/null @@ -1,441 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-ace-cfg { - - belongs-to Cisco-IOS-XR-ipv6-acl-cfg { - prefix ipv6-acl-cfg; - } - - import Cisco-IOS-XR-ipv6-acl-datatypes { - prefix "ipv6-acl-dt"; - } - - import ietf-inet-types { - prefix "inet"; - } - - import Cisco-IOS-XR-types { - prefix "xr"; - } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv6 ACL entry configuration. - - Copyright (c) 2013, 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-11" { - description - "6.3.1 revision"; - } - - revision "2016-11-07" { - description - "6.2.1 revision."; - } - - revision "2015-11-09" { - description - "Initial revision."; - } - - typedef Next-hop-type { - type enumeration { - enum none-next-hop { - description "None next-hop."; - } - enum regular-next-hop { - description "Regular next-hop."; - } - enum default-next-hop { - description "Default next-hop."; - } - } - description "Next-hop type."; - } - - grouping IPV6-ACE { - description "IPv6 ACL entry."; - leaf grant { - type ipv6-acl-dt:Ipv6-acl-grant-enum; - description "Whether to forward or drop packets matching the - ACE."; - } - - leaf protocol-operator { - type ipv6-acl-dt:Ipv6-acl-operator-enum; - description "Protocol operator. Leave unspecified if - no protocol comparison is to be done."; - } - - leaf protocol { - type ipv6-acl-dt:Ipv6-acl-protocol-number; - description "Protocol to match."; - } - - leaf protocol2 { - type ipv6-acl-dt:Ipv6-acl-protocol-number; - description "Protocol2 to match."; - } - - container source-network { - description "Source network settings."; - leaf source-address { - type inet:ipv6-address; - description "Source IPv6 address, leave unspecified - if inputting as IPv6 address with wildcarding."; - } - leaf source-wild-card-bits { - type xr:Ipv6-prefix-length; - description "Wildcard bits to apply to source-address - (if specified), leave unspecified for no - wildcarding."; - } - leaf source-mask { - type inet:ipv6-address-no-zone; - description "Source address mask. Either - source-wild-card-bits or source-mask is. - supported, not both. Leave unspecified. - for any."; - } - } - - container destination-network { - description "Destination network settings."; - leaf destination-address { - type inet:ipv6-address; - description "Destination IPv6 address, leave unspecified - if inputting as IPv6 address with - wildcarding."; - } - leaf destination-wild-card-bits { - type xr:Ipv6-prefix-length; - description "Wildcard bits to apply to destination - destination-address (if specified), - leave unspecified for no wildcarding."; - } - leaf destination-mask { - type inet:ipv6-address-no-zone; - description "Destination address mask. Either - destination-wild-card-bits or destination-mask. - is supported, not both. Leave unspecified - for any."; - } - } - - container source-port { - when "../protocol = '6' or ../protocol = 'tcp' or " + - "../protocol = '17' or ../protocol = 'udp' or " + - "../protocol = '132' or ../protocol = 'sctp'" { - description "Applicable only to TCP, SCTP and UDP."; - } - description "Source port settings."; - leaf source-operator { - type ipv6-acl-dt:Ipv6-acl-operator-enum; - description "Source comparison operator. Leave unspecified if - no source port comparison is to be done."; - } - leaf first-source-port { - type ipv6-acl-dt:Ipv6-acl-port-number; - description "First source port for comparison, - leave unspecified if source port comparison is - not to be performed."; - } - leaf second-source-port { - type ipv6-acl-dt:Ipv6-acl-port-number; - description "Second source port for comparion, - leave unspecified if source port comparison is - not to be performed."; - } - } - - container destination-port { - when "../protocol = '6' or ../protocol = 'tcp' or " + - "../protocol = '17' or ../protocol = 'udp' or " + - "../protocol = '132' or ../protocol = 'sctp'" { - description "Applicable only to TCP, SCTP and UDP."; - } - description "Destination port settings."; - leaf destination-operator { - type ipv6-acl-dt:Ipv6-acl-operator-enum; - description "Destination comparison operator. Leave - unspecified if no destination port comparison - is to be done."; - } - leaf first-destination-port { - type ipv6-acl-dt:Ipv6-acl-port-number; - description "First destination port for comparison, leave - unspecified if destination port comparison is - not to be performed."; - } - leaf second-destination-port { - type ipv6-acl-dt:Ipv6-acl-port-number; - description "Second destination port for comparion, leave - unspecified if destination port comparison is - not to be performed."; - } - } - - container icmp { - when "../protocol = '58'" { - description "Applicable only to ICMPv6."; - } - description "ICMP settings."; - leaf icmp-type-code { - type ipv6-acl-dt:Ipv6-acl-icmp-type-code-enum; - description "Well known ICMP message code types to match, - leave unspecified if ICMP message code type - comparion is not to be performed."; - } - } - - container tcp { - when "../protocol = '6' or ../protocol = 'tcp'" { - description "Applicable only to TCP."; - } - description "TCP settings."; - leaf tcp-bits-match-operator { - type ipv6-acl-dt:Ipv6-acl-tcp-match-operator-enum; - description "TCP Bits match operator. Leave unspecified if - flexible comparison of TCP bits is not - required."; - } - leaf tcp-bits { - type ipv6-acl-dt:Ipv6-acl-tcp-bits-number; - description "TCP bits to match. Leave unspecified if - comparison of TCP bits is not required."; - } - leaf tcp-bits-mask { - type ipv6-acl-dt:Ipv6-acl-tcp-bits-number; - description "TCP bits mask to use for flexible TCP matching. - Leave unspecified if it is not required."; - } - } - - container packet-length { - description "Packet length settings."; - leaf packet-length-operator { - type ipv6-acl-dt:Ipv6-acl-operator-enum; - description "Packet length operator applicable if packet - length is to be compared. Leave unspecified if - no Packet length comparison is to be done."; - } - leaf packet-length-min { - type ipv6-acl-dt:Ipv6-acl-plen-range; - description "Minimum packet length for comparison, leave - unspecified if packet length comparison is not - to be performed or if only the maximum packet - length should be considered."; - } - leaf packet-length-max { - type ipv6-acl-dt:Ipv6-acl-plen-range; - description "Maximum packet length for comparion, leave - unspecified if packet length comparison is not - to be performed or if only the minimum packet - length should be considered."; - } - } - - container time-to-live { - description "TTL settings."; - leaf time-to-live-operator { - type ipv6-acl-dt:Ipv6-acl-operator-enum; - description "TTL operator is applicable if TTL is to be - compared. Leave unspecified if TTL - classification is not required."; - } - leaf time-to-live-min { - type ipv6-acl-dt:Ipv6-acl-ttl-range; - description "TTL value for comparison OR Minimum TTL value - for TTL range comparision, leave unspecified if - TTL classification is not required."; - } - leaf time-to-live-max { - type ipv6-acl-dt:Ipv6-acl-ttl-range; - description "Maximum TTL for comparion, leave unspecified if - TTL comparison is not to be performed or if only - the minimum TTL should be considered."; - } - } - - leaf dscp { - type ipv6-acl-dt:Ipv6-acl-dscp-number; - description "DSCP value to match (if a protocol was specified), - leave unspecified if DSCP comparion is not to be - performed."; - } - - leaf precedence { - type ipv6-acl-dt:Ipv6-acl-precedence-number; - description "Precedence value to match (if a protocol was - specified), leave unspecified if precedence - comparion is not to be performed."; - } - - container next-hop { - description "Next-hop settings."; - leaf next-hop-type { - type Next-hop-type; - description "The nexthop type."; - } - container next-hop-1 { - description "The first next-hop settings."; - leaf next-hop { - type inet:ipv6-address-no-zone; - description "The IPv6 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - container next-hop-2 { - description "The second next-hop settings."; - leaf next-hop { - type inet:ipv6-address-no-zone; - description "The IPv6 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - container next-hop-3 { - description "The third next-hop settings."; - leaf next-hop { - type inet:ipv6-address-no-zone; - description "The IPv6 address of the next-hop."; - } - leaf vrf-name { - type string; - description "The VRF name of the next-hop."; - } - leaf track-name { - type string; - description "The object tracking name for the next-hop."; - } - } - } - - leaf counter-name { - type string; - description "Counter name."; - } - - leaf log-option { - type ipv6-acl-dt:Ipv6-acl-logging-enum; - description "Whether and how to log matches against this - entry."; - } - - leaf capture { - type boolean; - description "Enable capture."; - } - - leaf undetermined-transport { - type boolean; - description "Enable undetermined-transport."; - } - - leaf icmp-off { - type empty; - description "To turn off ICMP generation for deny ACEs."; - } - - leaf qos-group { - type ipv6-acl-dt:Ipv6-acl-qos-group-number; - description "Set qos-group number"; - } - - leaf set-ttl { - type ipv6-acl-dt:Ipv6-acl-ttl-range; - description "Set TTL Value. Ranges from 0-255"; - } - - container header-flags { - description "Match if header-flag is present."; - leaf routing { - type empty; - description "Match if routing header is present."; - } - leaf destopts { - type empty; - description "Match if destops header is present."; - } - leaf hop-by-hop { - type empty; - description "Match if hop-by-hop header is present."; - } - leaf fragments { - type empty; - description "Match if fragments header is present."; - } - leaf authen { - type empty; - description "Match if authen header is present."; - } - } - - leaf remark { - type string; - description "Comments or a description for the access list."; - } - - leaf source-prefix-group { - type string { - length "1..64"; - } - description "IPv6 source network object group name."; - } - - leaf destination-prefix-group { - type string { - length "1..64"; - } - description "IPv6 destination network object group name."; - } - - leaf source-port-group { - type string { - length "1..64"; - } - description "Source port object group name."; - } - - leaf destination-port-group { - type string { - length "1..64"; - } - description "Destination port object group name."; - } - - leaf sequence-str { - type string { - length "1..64"; - } - description "Sequence String for the ace."; - } - - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-cfg.yang deleted file mode 100644 index 718b864..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-cfg.yang +++ /dev/null @@ -1,213 +0,0 @@ -module Cisco-IOS-XR-ipv6-acl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg"; - - - prefix "ipv6-acl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ipv6-acl-datatypes { prefix "dt2"; } - - include Cisco-IOS-XR-ipv6-ace-cfg { - revision-date 2017-05-11; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-acl package configuration. - - This module contains definitions - for the following management objects: - ipv6-acl-and-prefix-list: IPv6 ACL configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-11" { - description - "6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv6-acl-and-prefix-list { - description "IPv6 ACL configuration data"; - - container prefixes { - description "Table of prefix lists"; - - list prefix { - key "name"; - description "Name of a prefix list"; - - container prefix-list-entries { - presence "Indicates a prefix-list-entries node is"+ - " configured."; - description "Sequence of entries forming a prefix list"; - - list prefix-list-entry { - key "sequence-number"; - description - "A prefix list entry; either a description - (remark) or a prefix to match against"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description "Sequence number of prefix list"; - } - leaf grant { - type dt2:Ipv6-acl-grant-enum; - description - "Whether to forward or drop packets matching - the prefix list"; - } - leaf ipv6-address-as-string { - type string; - description - "The IPv6 address if entered with the - ZoneMutually exclusive with Prefix and - PrefixMask"; - } - leaf zone { - type string; - description - "IPv6 Zone if entered with the - IPV6AddressMutually exclusive with Prefix - and PrefixMask"; - } - leaf prefix { - type inet:ipv6-address-no-zone; - description "IPv6 address prefix to match"; - } - leaf prefix-mask { - type xr:Ipv6-prefix-length; - description "MaskLength of IPv6 address prefix"; - } - leaf match-exact-length { - type dt2:Ipv6-prefix-match-exact-length; - description - "Set to perform an exact prefix length match. - Item is mutually exclusive with minimum and - maximum length match items"; - } - leaf exact-prefix-length { - type xr:Ipv6-prefix-length; - description - "If exact prefix length matching specified, - set the length of prefix to be matched"; - } - leaf match-max-length { - type dt2:Ipv6-prefix-match-max-length; - description - "Set to perform a maximum length prefix match - . Item is mutually exclusive with exact - length match item"; - } - leaf max-prefix-length { - type xr:Ipv6-prefix-length; - description - "If maximum length prefix matching specified, - set the maximum length of prefix to be - matched"; - } - leaf match-min-length { - type dt2:Ipv6-prefix-match-min-length; - description - "Set to perform a minimum length prefix match - . Item is mutually exclusive with exact - length match item"; - } - leaf min-prefix-length { - type xr:Ipv6-prefix-length; - description - "If minimum length prefix matching specified, - set the minimum length of prefix to be - matched"; - } - leaf remark { - type string; - description - "Comments or a description for the prefix - list. Item is mutually exclusive with all - others in the object"; - } - } - } - leaf name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of a prefix list"; - } - } - } - - container log-update { - description "Control access lists log updates"; - leaf threshold { - type dt2:Ipv6-acl-log-threshold-range; - description "Log update threshold (number of hits)"; - } - leaf rate { - type dt2:Ipv6-acl-log-rate-range; - description "Log update rate (log messages per second)"; - } - } - - container accesses { - description "Table of access lists"; - - list access { - key "name"; - description "An ACL"; - - container access-list-entries { - description - "ACL entry table; contains list of access list - entries"; - - list access-list-entry { - key "sequence-number"; - description - "An ACL entry; either a description (remark) - or anAccess List Entry to match against"; - leaf sequence-number { - type dt2:Ipv6-acl-sequence-number-range; - description "Sequence number of access list entry"; - } - uses IPV6-ACE; - } - } - leaf name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of the access list"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-datatypes.yang deleted file mode 100644 index 54af21a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-datatypes.yang +++ /dev/null @@ -1,908 +0,0 @@ -module Cisco-IOS-XR-ipv6-acl-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ipv6-acl-datatypes"; - - - prefix "ipv6-acl-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6-prefix-match-exact-length { - type enumeration { - enum match-exact-length { - value 1; - description "Prefix Length Exact match"; - } - } - description "Ipv6 prefix match exact length"; - } - typedef Ipv6-acl-grant-enum { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - } - description "Ipv6 acl grant enum"; - } - typedef Ipv6-acl-logging-enum { - type enumeration { - enum log { - value 1; - description "Log matches against this entry"; - } - enum log-input { - value 2; - description - "Log matches against this entry, including input - interface"; - } - } - description "Ipv6 acl logging enum"; - } - typedef Ipv6-acl-log-threshold-range { - type uint32 { - range "1..2147483647"; - } - description "Ipv6 acl log threshold range"; - } - typedef Ipv6-acl-protocol-number { - type union { - type enumeration { - enum ip { - value 0; - description "Any IP protocol"; - } - enum icmp { - value 1; - description "Internet Control Message Protocol"; - } - enum igmp { - value 2; - description "Internet Gateway Message Protocol"; - } - enum ip-in-ip { - value 4; - description "IP in IP tunneling"; - } - enum tcp { - value 6; - description "Transport Control Protocol"; - } - enum igrp { - value 9; - description "Cisco's IGRP Routing Protocol"; - } - enum udp { - value 17; - description "User Datagram Protocol"; - } - enum gre { - value 47; - description "Cisco's GRE tunneling"; - } - enum esp { - value 50; - description "Encapsulation Security Protocol"; - } - enum ahp { - value 51; - description "Authentication Header Protocol"; - } - enum icmpv6 { - value 58; - description "Internet Control Message Protocol"; - } - enum eigrp { - value 88; - description "Cisco's EIGRP Routing Protocol"; - } - enum ospf { - value 89; - description "OSPF Routing Protocol"; - } - enum nos { - value 94; - description "KA9Q NOS Compatible IP over IP tunneling"; - } - enum pim { - value 103; - description "Protocol Independent Multicast"; - } - enum pcp { - value 108; - description "Payload Compression Protocol"; - } - enum sctp { - value 132; - description "Stream Control Transmission Protocol"; - } - } - type uint32 { - range "0..255"; - } - } - description "Ipv6 acl protocol number"; - } - typedef Ipv6-acl-icmp-code-range { - type uint32 { - range "0..255"; - } - description "Ipv6 acl icmp code range"; - } - typedef Ipv6-acl-icmp-type-code-enum { - type enumeration { - enum no-route-to-destination { - value 65536; - description "No route to destination"; - } - enum administratively-prohibited { - value 65537; - description "Administratively prohibited"; - } - enum beyond-scope-of-source-address { - value 65538; - description "Unreachable beyond scope of address"; - } - enum host-unreachable { - value 65539; - description "Host unreachable"; - } - enum port-unreachable { - value 65540; - description "Port unreachable"; - } - enum unreachable { - value 131071; - description "All unreachables"; - } - enum packet-too-big { - value 131072; - description "packet too big"; - } - enum ttl-exceeded { - value 196608; - description "TTL exceeded"; - } - enum reassembly-timeout { - value 196609; - description "Reassembly timeout"; - } - enum time-exceeded { - value 262143; - description "All time exceeds"; - } - enum erronenous-header-field { - value 262144; - description "Erroneous header field"; - } - enum option-missing { - value 262145; - description "Parameter required but not present"; - } - enum no-room-for-option { - value 262146; - description "Parameter required but no room"; - } - enum parameter-problem { - value 327679; - description "All parameter problems"; - } - enum echo { - value 8388608; - description "Echo ping"; - } - enum echo-reply { - value 8454144; - description "Echo reply"; - } - enum group-membership-query { - value 8585215; - description "Multicast listener query"; - } - enum group-membership-report { - value 8650751; - description "Multicast listener report"; - } - enum group-membership-reduction { - value 8716287; - description "Multicast listener done"; - } - enum router-solicitation { - value 8716288; - description "Router discovery solicitations"; - } - enum router-advertisement { - value 8781824; - description "Router discovery advertisements"; - } - enum neighbor-solicitation { - value 8847360; - description "Neighbor discovery neighbor solicitations"; - } - enum neighbor-advertisement { - value 8912896; - description "Neighbor discovery neighbor advertisements"; - } - enum redirect { - value 8978432; - description "All redirects"; - } - enum rr-command { - value 9043968; - description "Router renumbering command"; - } - enum rr-result { - value 9043969; - description "Router renumbering result"; - } - enum rr-seqnum-reset { - value 9044223; - description "Router renumbering seqnum"; - } - enum router-renumbering { - value 9109503; - description "Router renumbering"; - } - enum query-subject-is-ipv6-address { - value 9109504; - description "Query subject is ipv6 address"; - } - enum query-subject-is-domain-name { - value 9109505; - description "Query subject is domain name"; - } - enum query-subject-is-ipv4-address { - value 9109506; - description "Query subject is ipv4 address"; - } - enum who-are-you-request { - value 9175039; - description "Who are you request"; - } - enum node-information-successful-reply { - value 9175040; - description "Node information successful reply"; - } - enum node-information-request-is-refused { - value 9175041; - description "Node information reply rejected"; - } - enum unknown-query-type { - value 9175042; - description "Unknown query type"; - } - enum who-are-you-reply { - value 9240575; - description "Who are you reply"; - } - } - description "Ipv6 acl icmp type code enum"; - } - typedef Ipv6-acl-sequence-number-range { - type uint32 { - range "1..2147483643"; - } - description "Ipv6 acl sequence number range"; - } - typedef Ipv6-acl-precedence-number { - type union { - type enumeration { - enum critical { - value 5; - description "Match packets with critical precedence"; - } - enum flash { - value 3; - description "Match packets with flash precedence"; - } - enum flash-override { - value 4; - description - "Match packets with flash override precedence"; - } - enum immediate { - value 2; - description "Match packets with immediate precedence"; - } - enum internet { - value 6; - description - "Match packets with internetwork control - precedence"; - } - enum network { - value 7; - description - "Match packets with network control precedence"; - } - enum priority { - value 1; - description "Match packets with priority precedence"; - } - enum routine { - value 0; - description "Match packets with routine precedence"; - } - } - type uint32 { - range "0..7"; - } - } - description "Ipv6 acl precedence number"; - } - typedef Ipv6-acl-qos-group-number { - type uint32 { - range "0..512"; - } - description "Ipv6 acl qos group number"; - } - typedef Ipv6-acl-type-enum { - type enumeration { - enum acl { - value 1; - description "ACL"; - } - enum prefix-list { - value 2; - description "Prefix List"; - } - } - description "Ipv6 acl type enum"; - } - typedef Ipv6-prefix-match-min-length { - type enumeration { - enum match-min-length { - value 2; - description - "Enable matching of Prefix Lengths greater than - MinPrefixLength"; - } - } - description "Ipv6 prefix match min length"; - } - typedef Ipv6-acl-dscp-number { - type union { - type enumeration { - enum default { - value 0; - description "Default DSCP"; - } - enum af11 { - value 10; - description "Match packets with AF11 DSCP"; - } - enum af12 { - value 12; - description "Match packets with AF12 DSCP"; - } - enum af13 { - value 14; - description "Match packets with AF13 DSCP"; - } - enum af21 { - value 18; - description "Match packets with AF21 DSCP"; - } - enum af22 { - value 20; - description "Match packets with AF22 DSCP"; - } - enum af23 { - value 22; - description "Match packets with AF23 DSCP"; - } - enum af31 { - value 26; - description "Match packets with AF31 DSCP"; - } - enum af32 { - value 28; - description "Match packets with AF32 DSCP"; - } - enum af33 { - value 30; - description "Match packets with AF33 DSCP"; - } - enum af41 { - value 34; - description "Match packets with AF41 DSCP"; - } - enum af42 { - value 36; - description "Match packets with AF42 DSCP"; - } - enum af43 { - value 38; - description "Match packets with AF43 DSCP"; - } - enum cs1 { - value 8; - description "Match packets with CS1 (precedence 1) DSCP"; - } - enum cs2 { - value 16; - description "Match packets with CS2 (precedence 2) DSCP"; - } - enum cs3 { - value 24; - description "Match packets with CS3 (precedence 3) DSCP"; - } - enum cs4 { - value 32; - description "Match packets with CS4 (precedence 4) DSCP"; - } - enum cs5 { - value 40; - description "Match packets with CS5 (precedence 5) DSCP"; - } - enum cs6 { - value 48; - description "Match packets with CS6 (precedence 6) DSCP"; - } - enum cs7 { - value 56; - description "Match packets with CS7 (precedence 7) DSCP"; - } - enum ef { - value 46; - description "Match packets with EF DSCP"; - } - } - type uint32 { - range "0..64"; - } - } - description "Ipv6 acl dscp number"; - } - typedef Ipv6-acl-max-configurable-sequence-numbers { - type uint32 { - range "50000..350000"; - } - description "Ipv6 acl max configurable sequence numbers"; - } - typedef Ipv6-acl-log-rate-range { - type uint32 { - range "1..1000"; - } - description "Ipv6 acl log rate range"; - } - typedef Ipv6-acl-tcp-bits-number { - type union { - type enumeration { - enum established { - value 20; - description "Match established connections (0x14)"; - } - enum ack { - value 16; - description "Match on the ACK bit (0x10)"; - } - enum rst { - value 4; - description "Match on the RST bit (0x04)"; - } - enum fin { - value 1; - description "Match on the FIN bit (0x01)"; - } - enum psh { - value 8; - description "Match on the PSH bit (0x08)"; - } - enum syn { - value 2; - description "Match on the SYN bit (0x02)"; - } - enum urg { - value 32; - description "Match on the URG bit (0x20)"; - } - } - type uint32 { - range "0..63"; - } - } - description "Ipv6 acl tcp bits number"; - } - typedef Ipv6-acl-prefix-list-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Ipv6 acl prefix list name"; - } - typedef Ipv6-acl-icmp-type-range { - type uint32 { - range "0..255"; - } - description "Ipv6 acl icmp type range"; - } - typedef Ipv6-prefix-match-max-length { - type enumeration { - enum match-max-length { - value 3; - description - "Enable matching of Prefix Lengths lesser than - MaxPrefixLength"; - } - } - description "Ipv6 prefix match max length"; - } - typedef Ipv6-acl-plen-range { - type uint32 { - range "0..65535"; - } - description "Ipv6 acl plen range"; - } - typedef Ipv6-acl-ttl-range { - type uint32 { - range "0..255"; - } - description "Ipv6 acl ttl range"; - } - typedef Ipv6-acl-port-number { - type union { - type enumeration { - enum echo { - value 7; - description "Match on the 'echo' port number"; - } - enum discard { - value 9; - description "Match on the 'discard' port number"; - } - enum daytime { - value 13; - description - "Match on the 'daytime' port number (TCP/SCTP - only)"; - } - enum char-gen { - value 19; - description - "Match on the 'chargen' port number (TCP/SCTP - only)"; - } - enum ftp-data { - value 20; - description - "Match on the FTP data connections port number - (TCP/SCTP only)"; - } - enum ftp { - value 21; - description - "Match on the 'ftp' port number (TCP/SCTP only)"; - } - enum telnet { - value 23; - description - "Match on the 'telnet' port number (TCP/SCTP - only)"; - } - enum smtp { - value 25; - description - "Match on the 'smtp' port number (TCP/SCTP - only)"; - } - enum time { - value 37; - description "Match on the 'time' port number"; - } - enum name-server { - value 42; - description - "Match on the IEN116 name service port number - (UDP only)"; - } - enum who-is { - value 43; - description - "Match on the 'nicname' port number (TCP/SCTP - only)"; - } - enum tacacs { - value 49; - description "Match on the 'tacacs' port number"; - } - enum dns { - value 53; - description "Match on the 'dns' port number"; - } - enum boot-ps { - value 67; - description - "Match on the Bootstrap Protocol server port - number (UDP only)"; - } - enum boot-pc { - value 68; - description - "Match on the Bootstrap Protocol client port - number (UDP only)"; - } - enum tftp { - value 69; - description "Match on the 'tftp' port number (UDP only)"; - } - enum gopher { - value 70; - description - "Match on the 'gopher' port number (TCP/SCTP - only)"; - } - enum finger { - value 79; - description - "Match on the 'finger' port number (TCP/SCTP - only)"; - } - enum www { - value 80; - description - "Match on the 'http' port number (TCP/SCTP - only)"; - } - enum host-name { - value 101; - description - "Match on the NIC hostname server port number - (TCP/SCTP only)"; - } - enum pop2 { - value 109; - description - "Match on the 'pop2' port number (TCP/SCTP - only)"; - } - enum pop3 { - value 110; - description - "Match on the 'pop3' port number (TCP/SCTP - only)"; - } - enum sun-rpc { - value 111; - description "Match on the Sun RPC port number"; - } - enum ident { - value 113; - description - "Match on the 'ident' port number (TCP/SCTP - only)"; - } - enum nntp { - value 119; - description - "Match on the 'nntp' port number (TCP/SCTP - only)"; - } - enum ntp { - value 123; - description "Match on the 'ntp' port number (UDP only)"; - } - enum net-bios-ns { - value 137; - description - "Match on the NetBIOS name service port number - (UDP only)"; - } - enum net-bios-dgs { - value 138; - description - "Match on the NetBIOS datagram service port - number (UDP only)"; - } - enum net-bios-ss { - value 139; - description - "Match on the NetBIOS session service port - number (UDP only)"; - } - enum snmp { - value 161; - description "Match on the 'snmp' port number (UDP only)"; - } - enum snmp-trap { - value 162; - description - "Match on the SNMP traps port number (UDP only)"; - } - enum xdmcp { - value 177; - description "Match on the 'xdmcp' port number (UDP only)"; - } - enum bgp { - value 179; - description - "Match on the 'bgp' port number (TCP/SCTP only)"; - } - enum irc { - value 194; - description - "Match on the 'irc' port number (TCP/SCTP only)"; - } - enum dnsix { - value 195; - description - "Match on the DNSIX security protocol auditing - port number (UDP only)"; - } - enum mobile-ip { - value 434; - description - "Match on the mobile IP registration port - number (UDP only)"; - } - enum pim-auto-rp { - value 496; - description "Match on the PIM Auto-RP port number"; - } - enum isakmp { - value 500; - description - "Match on the 'isakmp' port number (UDP only)"; - } - enum exec-or-biff { - value 512; - description - "Match on the port used by TCP/SCTP for 'exec' - and by UDP for 'biff'"; - } - enum login-or-who { - value 513; - description - "Match on the port used by TCP/SCTP for 'login' - and by UDP for 'rwho'"; - } - enum cmd-or-syslog { - value 514; - description - "Match on the port used by TCP/SCTP for 'rcmd' - and by UDP for 'syslog'"; - } - enum lpd { - value 515; - description - "Match on the 'lpd' port number (TCP/SCTP only)"; - } - enum talk { - value 517; - description "Match on the 'talk' port number"; - } - enum rip { - value 520; - description "Match on the 'rip' port number (UDP only)"; - } - enum uucp { - value 540; - description - "Match on the 'uucp' port number (TCP/SCTP - only)"; - } - enum klogin { - value 543; - description - "Match on the Kerberos login port number - (TCP/SCTP only)"; - } - enum kshell { - value 544; - description - "Match on the Kerberos shell port number - (TCP/SCTP only)"; - } - enum ldp { - value 646; - description "Match on the LDP port"; - } - } - type uint32 { - range "0..65535"; - } - } - description "Ipv6 acl port number"; - } - typedef Ipv6-acl-status-enum { - type enumeration { - enum disabled { - value 0; - description "Disabled"; - } - enum enabled { - value 1; - description "Enabled"; - } - } - description "Ipv6 acl status enum"; - } - typedef Ipv6-acl-max-configurable-acl { - type uint32 { - range "1000..16000"; - } - description "Ipv6 acl max configurable acl"; - } - typedef Ipv6-acl-operator-enum { - type enumeration { - enum equal { - value 1; - description "Match only packets on a given port number"; - } - enum greater-than { - value 2; - description "Match only packet with a greater port number"; - } - enum less-than { - value 3; - description "Match only packet with a lower port number"; - } - enum not-equal { - value 4; - description "Match only packets not on a given port number"; - } - enum range { - value 5; - description - "Match only packets in the range of port numbers"; - } - } - description "Ipv6 acl operator enum"; - } - typedef Ipv6-acl-tcp-match-operator-enum { - type enumeration { - enum match-all { - value 1; - description "Match only packet with all the given TCP bits"; - } - enum match-any { - value 3; - description - "Match only packet with any of the given TCP - bits"; - } - } - description "Ipv6 acl tcp match operator enum"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang deleted file mode 100644 index 4b2eff2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang +++ /dev/null @@ -1,603 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-acl-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-acl-oper { - prefix Cisco-IOS-XR-ipv6-acl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-acl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bag-acl-nh-at-status { - type enumeration { - enum unknown { - description "AT State Unknown"; - } - enum up { - description "AT State UP"; - } - enum down { - description "AT State DOWN"; - } - enum not-present { - description "AT State Not Present"; - } - enum max { - description "invalid status"; - } - } - description "Bag acl nh at status"; - } - typedef Bag-acl-nh-status { - type enumeration { - enum not-present { - description "State Not Present"; - } - enum unknown { - description "State Unknown"; - } - enum down { - description "State DOWN"; - } - enum up { - description "State UP"; - } - enum max { - description "invalid status"; - } - } - description "Bag acl nh status"; - } - typedef Bag-acl-nh { - type enumeration { - enum nexthop-none { - description "Next Hop None"; - } - enum nexthop-default { - description "Nexthop Default"; - } - enum nexthop { - description "Nexthop"; - } - } - description "Bag acl nh"; - } - typedef Acl-ttl-operator { - type Acl-port-operator; - description "Acl ttl operator"; - } - typedef Acl-plen-operator { - type Acl-port-operator; - description "Acl plen operator"; - } - typedef Acl-tcpflags-operator { - type enumeration { - enum match-none { - description "Match None"; - } - enum match-all { - description "Match All"; - } - enum match-any-old { - description "Match any old"; - } - enum match-any { - description "Match any"; - } - } - description "Acl tcpflags operator"; - } - typedef Acl-log { - type enumeration { - enum log-none { - value 0; - description "Log None"; - } - enum log { - value 1; - description "Log Regular"; - } - enum log-input { - value 2; - description "Log Input"; - } - } - description "Acl log"; - } - typedef Acl-proto-operator { - type Acl-port-operator; - description "Acl proto operator"; - } - typedef Acl-port-operator { - type enumeration { - enum none { - value 0; - description "None"; - } - enum eq { - value 1; - description "Equal"; - } - enum gt { - value 2; - description "Greater than"; - } - enum lt { - value 3; - description "Less than"; - } - enum neq { - value 4; - description "Not Equal"; - } - enum range { - value 5; - description "Range"; - } - enum onebyte { - value 8; - description "One Byte"; - } - enum twobytes { - value 9; - description "Two Bytes"; - } - } - description "Acl port operator"; - } - typedef Acl-action { - type enumeration { - enum deny { - value 0; - description "Deny"; - } - enum permit { - value 1; - description "Permit"; - } - enum encrypt { - value 2; - description "Encrypt"; - } - enum bypass { - value 3; - description "Bypass"; - } - enum fallthrough { - value 4; - description "Fallthrough"; - } - enum invalid { - value 5; - description "Invalid"; - } - } - description "Acl action"; - } - typedef Acl-ace1 { - type enumeration { - enum normal { - description "This is Normal ACE"; - } - enum remark { - description "This is Remark ACE"; - } - enum abf { - description "This is ABF ACE"; - } - } - description "ACE Types"; - } - typedef Acl-ace { - type Acl-ace1; - description "ACE Types"; - } - - grouping IPV6-ACL-EDM-OOR-DETAIL { - description "Oor deatil config BAG"; - leaf is-default-maximum-configurable-ac-ls { - type uint32; - description "default max configurable acls"; - } - leaf is-default-maximum-configurable-ac-es { - type uint32; - description "default max configurable aces"; - } - leaf is-current-configured-ac-ls { - type uint32; - description "Current configured acls"; - } - leaf is-current-configured-aces { - type uint32; - description "Current configured aces"; - } - leaf is-current-maximum-configurable-acls { - type uint32; - description "Current max configurable acls"; - } - leaf is-current-maximum-configurable-aces { - type uint32; - description "Current max configurable aces"; - } - leaf is-maximum-configurable-ac-ls { - type uint32; - description "max configurable acls"; - } - leaf is-maximum-configurable-ac-es { - type uint32; - description "max configurable aces"; - } - } - - grouping ACL-UDF-ACE { - description "ACL UDF ACE"; - leaf udf-name { - type string { - length "0..17"; - } - description "UDF Name"; - } - leaf udf-value { - type uint32; - description "UDF Value"; - } - leaf udf-mask { - type uint32; - description "UDF Mask"; - } - } - - grouping IPV6-ACL-BAG-HW-NH-INFO { - description "HW_NH_Info structure"; - leaf type { - type Bag-acl-nh; - description "The next-hop type"; - } - leaf next-hop { - type inet:ipv6-address; - description "The Next Hop"; - } - leaf table-id { - type uint32; - description "Table ID"; - } - leaf vrf-name { - type string { - length "0..32"; - } - description "Vrf Name"; - } - } - - grouping IPV6-ACL-BAG-NH-INFO { - description "NH_Info structure"; - leaf next-hop { - type inet:ipv6-address; - description "The next hop"; - } - leaf vrf-name { - type string { - length "0..32"; - } - description "Vrf Name"; - } - leaf track-name { - type string { - length "0..33"; - } - description "Track name"; - } - leaf status { - type Bag-acl-nh-status; - description "The next hop status"; - } - leaf at-status { - type Bag-acl-nh-at-status; - description "The next hop at status"; - } - leaf acl-nh-exist { - type int32; - description "The nexthop exist"; - } - } - - grouping IPV6-ACL-EDM-ACE { - description "ACLE bag"; - - container hw-next-hop-info { - description "HW Next hop info"; - uses IPV6-ACL-BAG-HW-NH-INFO; - } - leaf is-ace-type { - type Acl-ace; - description "ACE type (acl, remark)"; - } - leaf is-ace-sequence-number { - type uint32; - description "ACLE sequence number"; - } - leaf is-packet-allow-or-deny { - type Acl-action; - description "Grant value permit/deny "; - } - leaf is-protocol-operator { - type Acl-proto-operator; - description "Protocol operator"; - } - leaf is-ipv6-protocol-type { - type int32; - description "Protocol 1"; - } - leaf is-ipv6-protocol2-type { - type int32; - description "Protocol 2"; - } - leaf is-source-address-in-numbers { - type inet:ipv6-address; - description "IsSourceAddressInNumbers"; - } - leaf is-source-address-prefix-length { - type uint32; - description "IsSourceAddressPrefixLength"; - } - leaf source-mask { - type inet:ipv6-address; - description "Source Mask"; - } - leaf is-destination-address-in-numbers { - type inet:ipv6-address; - description "IsDestinationAddressInNumbers"; - } - leaf is-destination-address-prefix-length { - type uint32; - description "IsDestinationAddressPrefixLength"; - } - leaf destination-mask { - type inet:ipv6-address; - description "Destination Mask"; - } - leaf is-source-operator { - type Acl-port-operator; - description "eq, ne, lt, etc..."; - } - leaf is-source-port1 { - type uint32; - description "IsSourcePort1"; - } - leaf is-source-port2 { - type uint32; - description "IsSourcePort2"; - } - leaf is-destination-operator { - type Acl-port-operator; - description "eq, ne, lt, etc..."; - } - leaf is-destination-port1 { - type uint32; - description "IsDestinationPort1"; - } - leaf is-destination-port2 { - type uint32; - description "IsDestinationPort2"; - } - leaf is-log-option { - type Acl-log; - description "IsLogOption"; - } - leaf counter-name { - type string; - description "Counter name"; - } - leaf is-tcp-bits-operator { - type Acl-tcpflags-operator; - description "IsTCPBitsOperator"; - } - leaf is-tcp-bits { - type uint32; - description "IsTCPBits"; - } - leaf is-tcp-bits-mask { - type uint32; - description "IsTCPBitsMask"; - } - leaf is-dscp-present { - type int32; - description "IsDSCPPresent"; - } - leaf is-dscp-valu { - type uint32; - description "IsDSCPValu"; - } - leaf is-precedence-present { - type int32; - description "IsPrecedencePresent"; - } - leaf is-precedence-value { - type uint32; - description "range from 0 to 7"; - } - leaf is-header-matches { - type uint32; - description "Match if routing header is presant"; - } - leaf is-packet-length-operator { - type Acl-plen-operator; - description "Match if routing header is presant"; - } - leaf is-packet-length-start { - type uint32; - description "IsPacketLengthStart"; - } - leaf is-packet-length-end { - type uint32; - description "IsPacketLengthEnd"; - } - leaf is-time-to-live-operator { - type Acl-ttl-operator; - description "IsTimeToLiveOperator"; - } - leaf is-time-to-live-start { - type uint32; - description "IsTimeToLiveStart"; - } - leaf is-time-to-live-end { - type uint32; - description "IsTimeToLiveEnd"; - } - leaf no-stats { - type int32; - description "no stats"; - } - leaf hits { - type uint64; - description "hits"; - } - leaf capture { - type boolean; - description "Capture option, TRUE if enabled"; - } - leaf undetermined-transport { - type boolean; - description "Undetermined transport option, TRUE if enabled"; - } - leaf is-icmp-message-off { - type int32; - description "Don't generate the icmp message"; - } - leaf qos-group { - type uint16; - description "Set qos-group"; - } - leaf is-comment-for-entry { - type string; - description "IsCommentForEntry"; - } - leaf next-hop-type { - type Bag-acl-nh; - description "Next hop type"; - } - leaf is-flow-id { - type uint32; - description "IsFlowId"; - } - leaf source-prefix-group { - type string; - description "Source prefix object-group"; - } - leaf destination-prefix-group { - type string; - description "Destination prefix object-group"; - } - leaf source-port-group { - type string; - description "Source port object-group"; - } - leaf destination-port-group { - type string; - description "Destination port object-group"; - } - leaf acl-name { - type string; - description "ACL Name"; - } - leaf sequence-str { - type string; - description "Sequence String"; - } - leaf set-ttl { - type uint16; - description "SetTTL"; - } - - list next-hop-info { - max-elements "3"; - description "Next hop info"; - uses IPV6-ACL-BAG-NH-INFO; - } - - list udf { - description "UDF"; - uses ACL-UDF-ACE; - } - } - - grouping IPV6-PFX-EDM-ACE { - description "Prefix list entry BAG"; - leaf is-ace-type { - type Acl-ace; - description "ACE type (acl, remark)"; - } - leaf is-ace-sequence-number { - type uint32; - description "ACLE sequence number"; - } - leaf is-packet-allow-or-deny { - type Acl-action; - description "Grant value permit/deny "; - } - leaf is-address-in-numbers { - type inet:ipv6-address; - description "IPv6 prefix"; - } - leaf is-address-mask-length { - type uint32; - description "Prefix length "; - } - leaf is-length-operator { - type Acl-port-operator; - description "Port Operator"; - } - leaf is-packet-minimum-length { - type uint32; - description "Min length"; - } - leaf is-packet-maximum-length { - type uint32; - description "Maximum length"; - } - leaf hits { - type uint32; - description "Number of hits"; - } - leaf is-comment-for-entry { - type string; - description "Remark String"; - } - leaf acl-name { - type string; - description "ACL Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper.yang deleted file mode 100644 index a7f9cf9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-acl-oper.yang +++ /dev/null @@ -1,220 +0,0 @@ -module Cisco-IOS-XR-ipv6-acl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper"; - - - prefix "ipv6-acl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ipv6-acl-datatypes { prefix "dt2"; } - - include Cisco-IOS-XR-ipv6-acl-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-acl package operational data. - - This module contains definitions - for the following management objects: - ipv6-acl-and-prefix-list: Root class of IPv6 Oper schema tree - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv6-acl-and-prefix-list { - config false; - description "Root class of IPv6 Oper schema tree"; - - container access-list-manager { - description - "AccessListManager containing ACLs and prefix - lists"; - - container prefixes { - description "Table of prefix lists"; - - list prefix { - key "prefix-list-name"; - description "Name of the prefix list"; - - container prefix-list-sequences { - description - "Table of all the SequenceNumbers per prefix - list"; - - list prefix-list-sequence { - key "sequence-number"; - description "Sequence Number of a prefix list entry"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description - "Sequence Number of the prefix list entry"; - } - uses IPV6-PFX-EDM-ACE; - } - } - leaf prefix-list-name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of the prefix list"; - } - } - } - - container usages { - description - "Table of Usage statistics of ACLs at different - nodes"; - - list usage { - description "Usage statistics of an ACL at a node"; - leaf node-name { - type xr:Node-id; - description "Node where ACL is applied"; - } - leaf application-id { - type dt1:Acl-usage-app-id-enum; - description "Application ID"; - } - leaf access-list-name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of the ACL"; - } - leaf usage-details { - type string; - mandatory true; - description "Usage Statistics Details"; - } - } - } - - container accesses { - description "ACL class displaying Usage and Entries"; - - list access { - key "access-list-name"; - description "Name of the Access List"; - - container access-list-sequences { - description "Table of all the sequence numbers per ACL"; - - list access-list-sequence { - key "sequence-number"; - description "Sequence number of an ACL entry"; - leaf sequence-number { - type dt1:Acl-sequence-number-range; - description "ACL entry sequence number"; - } - uses IPV6-ACL-EDM-ACE; - } - } - leaf access-list-name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of the Access List"; - } - } - } - } - - container oor { - description - "Out Of Resources, Limits to the resources - allocatable"; - - container details { - description "Details of the overall out of resource limit"; - uses IPV6-ACL-EDM-OOR-DETAIL; - } - - container prefix-list-summary { - description - "Summary of the prefix Lists resource - utilization"; - - container details { - description - "Summary Detail of the prefix list Resource - Utilisation"; - uses IPV6-ACL-EDM-OOR-DETAIL; - } - } - - container oor-accesses { - description "Resource occupation details for ACLs"; - - list oor-access { - key "access-list-name"; - description - "Resource occupation details for a particular - ACL"; - leaf access-list-name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of the Access List"; - } - uses IPV6-ACL-EDM-OOR-DETAIL; - } - } - - container oor-prefixes { - description "Resource occupation details for prefix lists"; - - list oor-prefix { - key "prefix-list-name"; - description - "Resource occupation details for a particular - prefix list"; - leaf prefix-list-name { - type dt2:Ipv6-acl-prefix-list-name; - description "Name of a prefix list"; - } - uses IPV6-ACL-EDM-OOR-DETAIL; - } - } - - container access-list-summary { - description "Resource Limits pertaining to ACLs only"; - - container details { - description - "Details containing the resource limits of the - ACLs"; - uses IPV6-ACL-EDM-OOR-DETAIL; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-cfg.yang deleted file mode 100644 index 13bb0cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-cfg.yang +++ /dev/null @@ -1,118 +0,0 @@ -module Cisco-IOS-XR-ipv6-io-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg"; - - - prefix "ipv6-io-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-io package configuration. - - This module contains definitions - for the following management objects: - ipv6-configuration: IPv6 Configuration Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-10" { - description - "Added top container."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv6-configuration { - description "IPv6 Configuration Data"; - - container ipv6-assembler { - description "IPv6 fragmented packet assembler"; - leaf timeout { - type uint32 { - range "1..120"; - } - units "second"; - description - "Number of seconds an assembly queue will hold - before timeout"; - } - leaf max-packets { - type uint32 { - range "1..50"; - } - units "percentage"; - description - "Maxinum packets allowed in assembly queues (in - percent)"; - } - } - - container ipv6icmp { - presence "Indicates a ipv6icmp node is configured."; - description "Configure IPv6 ICMP parameters"; - leaf error-interval { - type uint32 { - range "0..2147483647"; - } - units "millisecond"; - mandatory true; - description "Interval between tokens in milliseconds"; - } - leaf bucket-size { - type uint32 { - range "1..200"; - } - default "10"; - description "Bucket size"; - } - } - leaf ipv6-pmtu-time-out { - type uint32 { - range "1..15"; - } - units "minute"; - description - "Configure IPv6 Path MTU timeout value in minutes"; - } - leaf ipv6-source-route { - type boolean; - default "true"; - description "TRUE if enabled, FALSE if disabled"; - } - leaf ipv6-pmtu-enable { - type boolean; - default "false"; - description "TRUE if enabled, FALSE if disabled"; - } - leaf ipv6-hop-limit { - type uint32 { - range "1..255"; - } - description "Configure IPv6 hop count limit"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper-sub1.yang deleted file mode 100644 index 6d514fb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper-sub1.yang +++ /dev/null @@ -1,388 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-io-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-io-oper { - prefix Cisco-IOS-XR-ipv6-io-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-io package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-08-27" { - description - "IOS XR 6.0.0 revision."; - } - - - grouping IPV6-ND-TRAFFIC { - description "IPV6 ND Traffic"; - leaf sent-router-solicitation-messages { - type uint32; - description "ICMP Router Solicitations Sent"; - } - leaf sent-router-advertisement-messages { - type uint32; - description "ICMP Router Advertisements Sent"; - } - leaf sent-neighbor-solicitation-messages { - type uint32; - description "ICMP Neighbor Solicitations Sent"; - } - leaf sent-neighbor-advertisement-messages { - type uint32; - description "ICMP Neighbor Advertisements Sent"; - } - leaf sent-redirect-messages { - type uint32; - description "ICMP Redirect Sent"; - } - leaf received-router-solicitation-messages { - type uint32; - description "ICMP Router Solicitations Received"; - } - leaf received-router-advertisement-messages { - type uint32; - description "ICMP Router Advertisements Received"; - } - leaf received-neighbor-solicitation-messages { - type uint32; - description "ICMP Neighbor Solicitations Received"; - } - leaf received-neighbor-advertisement-messages { - type uint32; - description "ICMP Neighbor Advertisements Received"; - } - leaf received-redirect-messages { - type uint32; - description "ICMP Redirect Received"; - } - } - - grouping IPV6-IO-ICMP-TRAFFIC { - description "ICMPv6 Traffic Information"; - leaf total-messages { - type uint32; - description "ICMP Received"; - } - leaf too-short-error-messages { - type uint32; - description "ICMP Too Short Errors"; - } - leaf checksum-error-messages { - type uint32; - description "ICMP Checksum Errors"; - } - leaf unknown-error-type-messages { - type uint32; - description "ICMP Unknown Error"; - } - leaf output-messages { - type uint32; - description "ICMP Transmitted"; - } - leaf sent-rate-limited-packets { - type uint32; - description "ICMP Sent Packets Ratelimited"; - } - leaf sent-unreachable-routing-messages { - type uint32; - description "ICMP Route Unreachable Sent"; - } - leaf sent-unreachable-admin-messages { - type uint32; - description "ICMP Admin Unreachable Sent"; - } - leaf sent-unreachable-neighbor-messages { - type uint32; - description "ICMP Host Unreachable Sent"; - } - leaf sent-unreachable-address-messages { - type uint32; - description "ICMP Addr Unreachable Sent"; - } - leaf sent-unreachable-port-messages { - type uint32; - description "ICMP Port Unreachable Sent"; - } - leaf received-unreachable-routing-messages { - type uint32; - description "ICMP Route Unreachable Received"; - } - leaf received-unreachable-admin-messages { - type uint32; - description "ICMP Admin Unreachable Received"; - } - leaf received-unreachable-neighbor-messages { - type uint32; - description "ICMP Host Unreachable Received"; - } - leaf received-unreachable-address-messages { - type uint32; - description "ICMP Addr Unreachable Received"; - } - leaf received-unreachable-port-messages { - type uint32; - description "ICMP Port Unreachable Received"; - } - leaf sent-hop-count-expired-messages { - type uint32; - description "ICMP Hop Count Expired Sent"; - } - leaf sent-reassembly-timeouts { - type uint32; - description "ICMP Reassembly Timeouts"; - } - leaf received-hop-count-expired-messages { - type uint32; - description "ICMP Hop Count Expired Received"; - } - leaf received-reassembly-timeouts { - type uint32; - description "ICMP Reassembly Timeouts"; - } - leaf sent-too-big-messages { - type uint32; - description "ICMP Too Big Messages Sent"; - } - leaf received-too-big-messages { - type uint32; - description "ICMP Too Big Messages Received"; - } - leaf sent-parameter-error-messages { - type uint32; - description "ICMP Parameter Error Messages Sent"; - } - leaf sent-parameter-header-messages { - type uint32; - description "ICMP Parameter Next Header Messages Sent"; - } - leaf sent-parameter-option-messages { - type uint32; - description "ICMP Parameter Option Messages Sent"; - } - leaf received-parameter-error-messages { - type uint32; - description "ICMP Parameter Error Messages Received"; - } - leaf received-parameter-header-messages { - type uint32; - description "ICMP Parameter Next Header Messages Received"; - } - leaf received-parameter-option-messages { - type uint32; - description "ICMP Parameter Option Problem Received"; - } - leaf sent-echo-request-messages { - type uint32; - description "ICMP Echo Request Sent"; - } - leaf sent-echo-reply-messages { - type uint32; - description "ICMP Echo Reply Sent"; - } - leaf received-echo-request-messages { - type uint32; - description "ICMP Echo Request Received"; - } - leaf received-echo-reply-messages { - type uint32; - description "ICMP Echo Reply Received"; - } - leaf sent-unknown-timeout-messages { - type uint32; - description "ICMP Unknown Timeout Messages Sent"; - } - leaf received-unknown-timeout-messages { - type uint32; - description "ICMP Unknown Timeout Messages Received"; - } - leaf sent-parameter-unknown-type-messages { - type uint32; - description "ICMP Parameter Unknown Type Messages Sent"; - } - leaf received-parameter-unknown-type-messages { - type uint32; - description "ICMP Parameter Unknown Type Messages Received"; - } - leaf sent-unreachable-unknown-type-messages { - type uint32; - description "ICMP Unreachable Unknown Messages Sent"; - } - leaf received-unreachable-unknown-type-messages { - type uint32; - description "ICMP Unreachable Unknown Messages Received"; - } - } - - grouping IPV6-IO-TRAFFIC { - description "IPv6 Traffic Information"; - leaf total-packets { - type uint32; - description "Total Packets"; - } - leaf local-destination-packets { - type uint32; - description "Local Destination Packets"; - } - leaf format-errors { - type uint32; - description "Format Errors"; - } - leaf truncated-packets { - type uint32; - description "Truncated Packets"; - } - leaf hop-count-exceeded-packets { - type uint32; - description "Hop Count Exceeded Packets"; - } - leaf bad-source-address-packets { - type uint32; - description "Bad Source Address Packets"; - } - leaf bad-header-packets { - type uint32; - description "Bad Header Packets"; - } - leaf unknown-option-type-packets { - type uint32; - description "Unknown Option Type Packets"; - } - leaf unknown-protocol-packets { - type uint32; - description "Unknown Protocol Packets"; - } - leaf fragments { - type uint32; - description "Fragments"; - } - leaf reassembled-packets { - type uint32; - description "Reassembled Packets"; - } - leaf reassembly-timeouts { - type uint32; - description "Reassembly Timeouts"; - } - leaf reassembly-failures { - type uint32; - description "Reassembly Failures"; - } - leaf reassembly-maximum-drops { - type uint32; - description "Reassembly Reach Maximum Drop"; - } - leaf generated-packets { - type uint32; - description "Packets Output"; - } - leaf forwarded-packets { - type uint32; - description "Packets Forwarded"; - } - leaf source-routed-packets { - type uint32; - description "Packets Source Routed"; - } - leaf fragmented-packets { - type uint32; - description "Packets Fragmented"; - } - leaf fragment-count { - type uint32; - description "Fragmented Packet Count"; - } - leaf fragment-failures { - type uint32; - description "Fragment Failures"; - } - leaf no-route-packets { - type uint32; - description "No Route Packets"; - } - leaf too-big-packets { - type uint32; - description "Packet Too Big"; - } - leaf received-multicast-packets { - type uint32; - description "Multicast In"; - } - leaf sent-multicast-packets { - type uint32; - description "Multicast Out"; - } - leaf miscellaneous-drops { - type uint32; - description "Misc. drops"; - } - leaf lisp-v4-encap-packets { - type uint32; - description "Lisp IPv4 Encapped packets"; - } - leaf lisp-v4-decap-packets { - type uint32; - description "Lisp IPv4 Decapped packets"; - } - leaf lisp-v6-encap-packets { - type uint32; - description "Lisp IPv6 Encapped packets"; - } - leaf lisp-v6-decap-packets { - type uint32; - description "Lisp IPv6 Decapped packets"; - } - leaf lisp-encap-errors { - type uint32; - description "Lisp Encap errors"; - } - leaf lisp-decap-errors { - type uint32; - description "Lisp Decap errors"; - } - } - - grouping IPV6-TRAFFIC { - description "IPv6 and ICMPv6 Traffic Information"; - - container ipv6 { - description "IPv6 Statistics"; - uses IPV6-IO-TRAFFIC; - } - - container icmp { - description "ICMP Statistics"; - uses IPV6-IO-ICMP-TRAFFIC; - } - - container ipv6-node-discovery { - description "IPv6 Node Discovery Statistics"; - uses IPV6-ND-TRAFFIC; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper.yang deleted file mode 100644 index 947ca45..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-io-oper.yang +++ /dev/null @@ -1,85 +0,0 @@ -module Cisco-IOS-XR-ipv6-io-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper"; - - - prefix "ipv6-io-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv6-io-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-io package operational data. - - This module contains definitions - for the following management objects: - ipv6-io: IPv6 IO Operational Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-08-27" { - description - "IOS XR 6.0.0 revision."; - } - - - container ipv6-io { - config false; - description "IPv6 IO Operational Data"; - - container nodes { - description "Node-specific IPv6 IO operational data"; - - list node { - key "node-name"; - description - "IPv6 network operational data for a particular - node"; - - container statistics { - description - "Statistical IPv6 network operational data for - a node"; - - container traffic { - description "Traffic statistics for a node"; - uses IPV6-TRAFFIC; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-cfg.yang deleted file mode 100644 index 2f48c7a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-cfg.yang +++ /dev/null @@ -1,376 +0,0 @@ -module Cisco-IOS-XR-ipv6-ma-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg"; - - - prefix "ipv6-ma-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ip-iarm-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ma package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-03" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Ipv6-self-ping { - type enumeration { - enum disabled { - value 0; - description "Doesn't allow router to ping itself"; - } - enum enabled { - value 1; - description "Allow router to ping itself"; - } - } - description "Ipv6 self ping"; - } - typedef Ipv6-reachable { - type enumeration { - enum any { - value 0; - description "Source is reachable via any interface"; - } - enum received { - value 1; - description - "Source is reachable via interface on which - packet was received"; - } - } - description "Ipv6 reachable"; - } - typedef Ipv6-default-ping { - type enumeration { - enum disabled { - value 0; - description - "Default route is not allowed to match when - checking source address"; - } - enum enabled { - value 1; - description - "Allow default route to match when checking - source address"; - } - } - description "Ipv6 default ping"; - } - typedef Ipv6-qppb { - type enumeration { - enum none { - value 0; - description "No QPPB configuration"; - } - enum ip-precedence { - value 1; - description "Enable ip-precedence based QPPB"; - } - enum qos-group { - value 2; - description "Enable qos-group based QPPB"; - } - enum both { - value 3; - description - "Enable both ip-precedence and qos-group based - QPPB"; - } - } - description "Ipv6 qppb"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv6-network { - description "Interface IPv6 Network configuration data"; - - container bgp-qos-policy-propagation { - presence "Indicates a bgp-qos-policy-propagation node is"+ - " configured."; - description "Configure BGP QoS policy propagation"; - leaf source { - type Ipv6-qppb; - mandatory true; - description "QPPB configuration on source"; - } - leaf destination { - type Ipv6-qppb; - mandatory true; - description "QPPB configuration on destination"; - } - } - - container bgp-policy-accountings { - description "IPv6 BGP Policy Accounting"; - - list bgp-policy-accounting { - key "direction"; - description "Accounting input or output"; - leaf direction { - type xr:Cisco-ios-xr-string; - description "Accouting on input or output"; - } - leaf destination-accounting { - type boolean; - mandatory true; - description "Accounting on Destination IP Address"; - } - leaf source-accounting { - type boolean; - mandatory true; - description "Accounting on Source IP Address"; - } - } - } - - container verify { - presence "Indicates a verify node is configured."; - description "IPv6 Verify Unicast Souce Reachable"; - leaf reachable { - type Ipv6-reachable; - mandatory true; - description "Source Reachable Interface"; - } - leaf self-ping { - type Ipv6-self-ping; - mandatory true; - description "Allow Self Ping"; - } - leaf default-ping { - type Ipv6-default-ping; - mandatory true; - description "Allow Default Route"; - } - } - - container addresses { - description "Set the IPv6 address of an interface"; - - container segment-routings { - description "Segment Routing Table"; - - list segment-routing { - key "address"; - description "Segment Routing Submode "; - - container ipv6-prefix-sid { - presence "Indicates a ipv6-prefix-sid node is"+ - " configured."; - description "Prefix-Sid for Segment Routing"; - leaf prefix-length { - type dt1:Ipv6arm-prefix-length; - mandatory true; - description "Prefix Length"; - } - leaf zone { - type string; - description "IPv6 address zone"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - leaf enable { - type empty; - description "Segment Routing Submode"; - } - leaf address { - type inet:ip-address-no-zone; - description "IPv6 address"; - } - } - } - - container link-local-address { - presence "Indicates a link-local-address node is"+ - " configured."; - description "Link local IPv6 address"; - leaf address { - type inet:ip-address-no-zone; - mandatory true; - description "IPv6 address"; - } - leaf zone { - type string; - default "0"; - description "IPv6 address zone"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - - container eui64-addresses { - description "EUI-64 IPv6 address Table"; - - list eui64-address { - key "address"; - description "EUI-64 IPv6 address"; - leaf address { - type inet:ip-address-no-zone; - description "IPv6 address"; - } - leaf prefix-length { - type dt1:Ipv6arm-prefix-length; - mandatory true; - description "Prefix Length"; - } - leaf zone { - type string; - default "0"; - description "IPv6 address zone"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - } - - container regular-addresses { - description "Regular IPv6 address Table"; - - list regular-address { - key "address"; - description "Regular IPv6 address"; - leaf address { - type inet:ip-address-no-zone; - description "IPv6 address"; - } - leaf prefix-length { - type dt1:Ipv6arm-prefix-length; - mandatory true; - description "Prefix Length"; - } - leaf zone { - type string; - default "0"; - description "IPv6 address zone"; - } - leaf route-tag { - type uint32 { - range "1..4294967295"; - } - description "RouteTag"; - } - } - } - - container auto-configuration { - description "Auto IPv6 Interface Configuration"; - leaf enable { - type empty; - description - "The flag to enable auto ipv6 interface - configuration"; - } - leaf auto-config-slaac { - type empty; - description "Enable slaac on Mgmt interface"; - } - } - } - - container bgp-flow-tag-policy-table { - description - "Interface ipv6 bgp policy propagation flowtag - configuration"; - - container bgp-flow-tag-policy { - description "Input"; - leaf source { - type boolean; - description "Flow Tag configuration on source"; - } - leaf destination { - type boolean; - description "Flow Tag configuration on destination"; - } - } - } - leaf mtu { - type uint32 { - range "1280..65535"; - } - description "MTU Setting of Interface"; - } - leaf unnumbered { - type xr:Interface-name; - description - "Enable IPv6 processing without an explicit - address"; - } - leaf ttl-propagate-disable { - type empty; - description "Disabled TTL propagate on an interface"; - } - leaf tcp-mss-adjust-enable { - type empty; - description "Enable TCP MSS adjust on an interface"; - } - leaf unreachables { - type empty; - description "Override Sending of ICMP Unreachable Messages"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang deleted file mode 100644 index d1cef74..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang +++ /dev/null @@ -1,424 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-ma-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-ma-oper { - prefix Cisco-IOS-XR-ipv6-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "IPV6 MA schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Str { - type string; - description "Str"; - } - typedef Ipv6-ma-oper-state { - type enumeration { - enum oper-up { - value 1; - description "Interface oper state is up"; - } - enum oper-down { - value 2; - description "Interface oper state is down"; - } - } - description "Interface oper states"; - } - typedef Ipv6-ma-if-addr-state { - type enumeration { - enum active { - value 1; - description - "This is an active address that can appear as - the destination or source address of a packet"; - } - enum deprecated { - value 2; - description - "This is a valid but deprecated address that - should no longer be used as a source address in - new communications"; - } - enum duplicate { - value 3; - description - "This is a duplicate (invalid) address because - of conflict"; - } - enum inaccessible { - value 4; - description - "This is not accessible because the interface to - which this address is assigned is not - operational"; - } - enum tentative { - value 5; - description "Status can not be determined for some reason"; - } - } - description "Interface address states"; - } - typedef Ipv6-ma-if-line-state { - type enumeration { - enum down { - value 1; - description "Interface state is down"; - } - enum up { - value 2; - description "Interface state is up"; - } - enum unknown { - value 3; - description "Interface state is unknown"; - } - enum error { - value 4; - description "Interface state is incorrect"; - } - } - description "Interface line states"; - } - - grouping IF-SUMMARY { - description "Count of assigned/unnumbered interfaces"; - leaf ip-assigned { - type uint32; - description "Number of interfaces with explicit addresses"; - } - leaf ip-unnumbered { - type uint32; - description - "Number of unnumbered interfaces with explicit - addresses"; - } - leaf ip-unassigned { - type uint32; - description - "Number of unassigned interfaces without explicit - address"; - } - } - - grouping IPV6-IF-SUMMARY { - description "Summary info of IPv6 interfaces"; - - container if-up-up { - description "Number of interfaces (up,up)"; - uses IF-SUMMARY; - } - - container if-up-down { - description "Number of interfaces (up,down)"; - uses IF-SUMMARY; - } - - container if-down-down { - description "Number of interfaces (down,down)"; - uses IF-SUMMARY; - } - - container if-shutdown-down { - description "Number of interfaces (shutdown,down)"; - uses IF-SUMMARY; - } - leaf if-up-down-basecaps-up { - type uint32; - description "Number of interfaces (up,down) with basecaps up"; - } - } - - grouping TIMEVAL-ENTRY { - description "Creatation or Update Time"; - } - - grouping BGP-PA-DIR { - description "BGP PA config for ingress/egress direction"; - leaf enable { - type uint32; - description "Enable BGP PA for ingress/egress"; - } - leaf source { - type boolean; - description "Enable source accouting"; - } - leaf destination { - type boolean; - description "Enable destination accouting"; - } - } - - grouping BGP-PA-CONFIG { - description "BGP PA config information"; - - container input { - description "BGP PA input config"; - uses BGP-PA-DIR; - } - - container output { - description "BGP PA output config"; - uses BGP-PA-DIR; - } - } - - grouping RPF-CONFIG { - description "RPF config information"; - leaf enable { - type boolean; - description "Enable RPF config"; - } - leaf allow-default-route { - type boolean; - description "Allow Default Route"; - } - leaf allow-self-ping { - type boolean; - description "Allow Self Ping"; - } - leaf mode { - type uint32; - description "RPF Mode (loose/strict)"; - } - } - - grouping IPV6-MULTI-ACL-CONFIG { - description "IPV6 MULTI ACL CONFIG"; - leaf-list inbound { - type Str; - max-elements "5"; - description "Inbound ACLs"; - } - leaf-list outbound { - type Str; - max-elements "5"; - description "Outbound ACLs"; - } - leaf-list common { - type Str; - max-elements "5"; - description "Common ACLs"; - } - } - - grouping IPV6-ACL-CONFIG { - description "IPV6 ACL CONFIG"; - leaf in-bound { - type string; - description "ACL applied to incoming packets"; - } - leaf out-bound { - type string; - description "ACL applied to outgoing packets"; - } - leaf common-in-bound { - type string; - description "Common ACL applied to incoming packets"; - } - leaf common-out-bound { - type string; - description "Common ACL applied to outgoing packets"; - } - } - - grouping IPV6-MCAST-GROUP { - description "MCast Group "; - leaf address { - type inet:ipv6-address; - description "IPv6 Address of Multicast Group"; - } - } - - grouping IPV6-IF-DETAIL { - description "Detailed Info of IPv6 Interface"; - - container link-local-address { - description "Link Local Address"; - uses IPV6-ADDR-NODE; - } - - container access-control-list { - description "IPv6 Access Control List"; - uses IPV6-ACL-CONFIG; - } - - container multi-access-control-list { - description "Multi IPv6 Access Control List"; - uses IPV6-MULTI-ACL-CONFIG; - } - - container rpf { - description "RPF config on the interface"; - uses RPF-CONFIG; - } - - container bgp-pa { - description "BGP PA config on the interface"; - uses BGP-PA-CONFIG; - } - - container utime { - description "Address Publish Time"; - uses TIMEVAL-ENTRY; - } - - container idb-utime { - description "IDB Create Time"; - uses TIMEVAL-ENTRY; - } - - container caps-utime { - description "CAPS Add Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-en-utime { - description "FWD ENABLE Time"; - uses TIMEVAL-ENTRY; - } - - container fwd-dis-utime { - description "FWD DISABLE Time"; - uses TIMEVAL-ENTRY; - } - leaf line-state { - type Ipv6-ma-if-line-state; - description "State of Interface Line"; - } - leaf mtu { - type uint32; - description "IPv6 MTU"; - } - leaf operation-state { - type Ipv6-ma-oper-state; - description "IPv6 Operation State"; - } - leaf vrf-name { - type string { - length "0..32"; - } - description "VRF Name"; - } - leaf is-icmp-unreach-enabled { - type boolean; - description "ICMP unreach Enable"; - } - leaf rg-id-exists { - type boolean; - description "Does ICCP RG ID exist on the interface?"; - } - leaf mlacp-active { - type boolean; - description "Is mLACP state Active (valid if RG ID exists)"; - } - leaf flow-tag-src { - type boolean; - description "Is BGP Flow Tag Source is enable"; - } - leaf flow-tag-dst { - type boolean; - description "Is BGP Flow Tag Destination is enable"; - } - - list multicast-group { - description "IPv6 Multicast Group"; - uses IPV6-MCAST-GROUP; - } - - list address { - description "Address List"; - uses IPV6-ADDR-NODE; - } - - list client-multicast-group { - description "IPv6 Client Multicast Group"; - uses IPV6-MCAST-GROUP; - } - } - - grouping IPV6-ADDR-NODE { - description "List of IPv6 Addresses "; - leaf address { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv6-address; - description "IPv6 Address"; - } - leaf prefix-length { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Prefix Length of IPv6 Address"; - } - leaf address-state { - type Ipv6-ma-if-addr-state; - description "State of Address"; - } - leaf is-anycast { - type boolean; - description "Anycast address"; - } - leaf route-tag { - type uint32; - description "Route-tag of the Address"; - } - } - - grouping IPV6-IF-BRIEF { - description "Brief Summary of IPv6 Interface"; - - container link-local-address { - description "Link Local Address"; - uses IPV6-ADDR-NODE; - } - leaf line-state { - type Ipv6-ma-if-line-state; - description "State of Interface Line"; - } - leaf vrf-name { - type string { - length "0..32"; - } - description "VRF Name"; - } - - list address { - description "Address List"; - uses IPV6-ADDR-NODE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper.yang deleted file mode 100644 index e75ebf1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-oper.yang +++ /dev/null @@ -1,172 +0,0 @@ -module Cisco-IOS-XR-ipv6-ma-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper"; - - - prefix "ipv6-ma-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv6-ma-oper-sub1 { - revision-date 2015-10-20; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ma package operational data. - - This module contains definitions - for the following management objects: - ipv6-network: IPv6 network operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-20" { - description - "IPV6 MA schema file has all the latest changes."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container ipv6-network { - config false; - description "IPv6 network operational data"; - - container nodes { - description "Node-specific IPv6 network operational data"; - - list node { - key "node-name"; - description - "IPv6 network operational data for a particular - node"; - - container interface-data { - description "IPv6 network operational interface data"; - - container vrfs { - description - "VRF specific IPv6 network operational - interface data"; - - list vrf { - key "vrf-name"; - description "VRF ID of an interface belong to"; - - container briefs { - description - "Brief interface IPv6 network operational - data for a node"; - - list brief { - key "interface-name"; - description - "Brief interface IPv6 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV6-IF-BRIEF; - } - } - - container global-details { - description - "Detail interface IPv4 network operational - data for global data"; - - list global-detail { - key "interface-name"; - description - "Detail interface IPv6 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV6-IF-DETAIL; - } - } - - container global-briefs { - description - "Brief interface IPv6 network operational - data from global data"; - - list global-brief { - key "interface-name"; - description - "Brief interface IPv6 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV6-IF-BRIEF; - } - } - - container details { - description - "Detail interface IPv4 network operational - data for a node"; - - list detail { - key "interface-name"; - description - "Detail interface IPv6 network operational - data for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IPV6-IF-DETAIL; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "The VRF name"; - } - } - } - - container summary { - description - "Summary of IPv6 network operational interface - data on a node"; - uses IPV6-IF-SUMMARY; - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang deleted file mode 100644 index ea58b54..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang +++ /dev/null @@ -1,112 +0,0 @@ -module Cisco-IOS-XR-ipv6-ma-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv6-ma-subscriber-cfg"; - - - prefix "ipv6-ma-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ma-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-01-11" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping IPV6-NETWORK { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - - container ipv6-network { - description "Interface IPv6 Network configuration data"; - - container addresses { - description "Set the IPv6 address of an interface"; - - container auto-configuration { - description "Auto IPv6 Interface Configuration"; - leaf enable { - type empty; - description - "The flag to enable auto ipv6 interface - configuration"; - } - } - } - leaf mtu { - type uint32 { - range "1280..65535"; - } - units "byte"; - description "MTU Setting of Interface"; - } - leaf rpf { - type boolean; - description "TRUE if enabled, FALSE if disabled"; - } - leaf unreachables { - type empty; - description "Override Sending of ICMP Unreachable Messages"; - } - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NETWORK; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NETWORK; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NETWORK; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-cfg.yang deleted file mode 100644 index 61c361b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-cfg.yang +++ /dev/null @@ -1,490 +0,0 @@ -module Cisco-IOS-XR-ipv6-nd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg"; - - - prefix "ipv6-nd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-nd package configuration. - - This module contains definitions - for the following management objects: - ipv6-neighbor: IPv6 neighbor or neighbor discovery - configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6srp-encapsulation { - type enumeration { - enum srpa { - value 5; - description "Encapsulation type SRP, prefer side A"; - } - enum srpb { - value 6; - description "Encapsulation type SRP, prefer side B"; - } - } - description "Ipv6srp encapsulation"; - } - typedef Ipv6nd-month { - type enumeration { - enum january { - value 0; - description "January"; - } - enum february { - value 1; - description "February"; - } - enum march { - value 2; - description "March"; - } - enum april { - value 3; - description "April"; - } - enum may { - value 4; - description "May"; - } - enum june { - value 5; - description "June"; - } - enum july { - value 6; - description "July"; - } - enum august { - value 7; - description "August"; - } - enum september { - value 8; - description "September"; - } - enum october { - value 9; - description "October"; - } - enum november { - value 10; - description "November"; - } - enum december { - value 11; - description "December"; - } - } - description "Ipv6nd month"; - } - typedef Ipv6-nd-router-pref { - type enumeration { - enum high { - value 1; - description "High preference"; - } - enum medium { - value 2; - description "Medium preference"; - } - enum low { - value 3; - description "Low preference"; - } - } - description "Ipv6 nd router pref"; - } - - container ipv6-neighbor { - description "IPv6 neighbor or neighbor discovery configuration"; - - container neighbors { - description "IPv6 neighbors"; - - list neighbor { - key "neighbor-address interface-name"; - description "IPv6 neighbor configuration"; - leaf neighbor-address { - type inet:ipv6-address-no-zone; - description "IPv6 address"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf zone { - type string; - default "0"; - description "IPv6 address zone"; - } - leaf mac-address { - type yang:mac-address; - mandatory true; - description "48-bit hardware address H.H.H"; - } - leaf encapsulation { - type Ipv6srp-encapsulation; - description - "Encapsulation type only if interface type is - SRP"; - } - } - } - leaf scavenge-timeout { - type uint32 { - range "1..43200"; - } - units "second"; - description "Set lifetime for stale neighbor"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ipv6-neighbor { - description - "IPv6 interface neighbor or neighbor discovery - configuration"; - - container raspecific-route-s { - description "IPv6 Router Advertisement (RA) Specific Route"; - - list raspecific-route { - key "specific-route"; - description - "IPv6 Router Advertisement (RA) Specific Route"; - leaf specific-route { - type inet:ipv6-address-no-zone; - description "IPv6 Address"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix mask length"; - } - leaf lifetime { - type uint32 { - range "0..4294967295"; - } - description "Lifetime (seconds)"; - } - leaf preference { - type Ipv6-nd-router-pref; - description "Preference"; - } - } - } - - container radns-searches { - description - "IPv6 Router Advertisement (RA) DNS Search List"; - - list radns-search { - key "dns-search-list"; - description - "IPv6 Router Advertisement (RA) DNS Search List"; - leaf dns-search-list { - type xr:Cisco-ios-xr-string; - description "Search List"; - } - leaf lifetime { - type uint32 { - range "4..3600"; - } - mandatory true; - description "Lifetime value in seconds"; - } - } - } - - container radns-servers { - description "IPv6 Router Advertisement (RA) DNS Servre"; - - list radns-server { - key "dns-server"; - description "IPv6 Router Advertisement (RA) DNS Servre"; - leaf dns-server { - type inet:ipv6-address-no-zone; - description "IPv6 Address"; - } - leaf lifetime { - type uint32 { - range "4..3600"; - } - mandatory true; - description "Lifetime value in seconds"; - } - } - } - - container ra-interval { - presence "Indicates a ra-interval node is configured."; - description - "Set IPv6 Router Advertisement (RA) interval in - seconds"; - leaf maximum { - type uint32 { - range "4..1800"; - } - mandatory true; - description "Maximum RA interval in seconds"; - } - leaf minimum { - type uint32 { - range "3..1800"; - } - description - "Minimum RA interval in seconds. Must be less - than 0.75 * maximum interval"; - } - } - - container ipv6-prefixes { - description "Prefixes "; - - list ipv6-prefix { - key "prefix"; - description "Configure prefix with paramemters"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "IPv6 prefix"; - } - leaf prefix-zone { - type string { - length "1..9"; - } - description "Prefix zone"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - mandatory true; - description "Prefix mask length"; - } - leaf valid-lifetime { - type uint32 { - range "0..4294967295"; - } - description "Valid Lifetime (seconds)"; - } - leaf preferred-lifetime { - type uint32 { - range "0..4294967295"; - } - description - "Preferred Lifetime (seconds) must be <= Valid - Lifetime"; - } - leaf off-link { - type boolean; - description - "If set, prefix will not be used for onlink - determination"; - } - leaf no-auto-config { - type boolean; - description - "If set, prefix will not be used for auto - configuration"; - } - leaf no-advertize { - type boolean; - description "If set, prefix will not be advertized"; - } - leaf expiry-month { - type Ipv6nd-month; - description "Month to expire valid lifetime"; - } - leaf expiry-date { - type uint32 { - range "1..31"; - } - description "Date to expire valid lifetime"; - } - leaf expiry-year { - type uint32 { - range "2003..2035"; - } - description "Year to expire valid lifetime"; - } - leaf expiry-hour { - type uint32 { - range "0..23"; - } - description "Hour to expire valid lifetime"; - } - leaf expiry-minute { - type uint32 { - range "0..59"; - } - description "Minute to expire valid lifetime"; - } - leaf pref-expiry-month { - type Ipv6nd-month; - description "Month to expire preferred lifetime"; - } - leaf pref-expiry-date { - type uint32 { - range "1..31"; - } - description "Date to expire preferred lifetime"; - } - leaf pref-expiry-year { - type uint32 { - range "2003..2035"; - } - description "Year to expire preferred lifetime"; - } - leaf pref-expiry-hour { - type uint32 { - range "0..23"; - } - description "Hour to expire preferred lifetime"; - } - leaf pref-expiry-minute { - type uint32 { - range "0..59"; - } - description "Minute to expire preferred lifetime"; - } - } - } - leaf reachable-time { - type uint32 { - range "0..3600000"; - } - units "millisecond"; - description - "Set advertised reachability time in - milliseconds"; - } - leaf ra-unspecify-hoplimit { - type empty; - description - "Unspecify IPv6 Router Advertisement (RA) - hop-limit"; - } - leaf dad-attempts { - type uint32 { - range "0..600"; - } - description - "Set IPv6 duplicate address detection transmits"; - } - leaf srp-multicast-encapsulation { - type Ipv6srp-encapsulation; - description "Set SRP multicast prefer encapsulation"; - } - leaf ns-interval { - type uint32 { - range "1000..4294967295"; - } - units "millisecond"; - description - "Set advertised NS retransmission interval in - milliseconds"; - } - leaf cache-limit { - type uint32 { - range "0..128000"; - } - description "Set the cache limit for neighbor entries"; - } - leaf redirect { - type empty; - description "Enable sending of ICMP Redirect messages"; - } - leaf srp-unicast-encapsulation { - type Ipv6srp-encapsulation; - description "Set SRP unicast prefer encapsulation"; - } - leaf ramtu-suppress { - type empty; - description - "Enable suppress MTU in IPv6 router - advertisement"; - } - leaf managed-config { - type empty; - description - "Host to use stateful protocol for address - configuration"; - } - leaf ra-unicast { - type empty; - description "Enable unicast IPv6 router advertisement"; - } - leaf ra-lifetime { - type uint32 { - range "0..9000"; - } - units "second"; - description - "Set IPv6 Router Advertisement (RA) lifetime in - seconds"; - } - leaf other-config { - type empty; - description - "Host to use stateful protocol for non-address - configuration"; - } - leaf ra-suppress { - type empty; - description "Enable suppress IPv6 router advertisement"; - } - leaf router-preference { - type Ipv6-nd-router-pref; - description "RA Router Preference"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang deleted file mode 100644 index 61fbc5f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang +++ /dev/null @@ -1,638 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-nd-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-nd-oper { - prefix Cisco-IOS-XR-ipv6-nd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-nd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6-nd-sh-vr-flags { - type enumeration { - enum no-flags { - description "None"; - } - enum final-ra { - description "Final RA"; - } - } - description "IPv6 ND VR Entry Flags Type "; - } - typedef Ipv6-nd-sh-vr-state { - type enumeration { - enum deleted { - description "Delete"; - } - enum standby { - description "Standby"; - } - enum active { - description "Active"; - } - } - description "IPv6 ND VR Entry State Type "; - } - typedef Ipv6-nd-bndl-state { - type enumeration { - enum run { - description "Running state"; - } - enum error { - description "Error state"; - } - enum wait { - description "Wait state"; - } - } - description "IPv6 ND Bundle State"; - } - typedef Ipv6-nd-neighbor-origin { - type enumeration { - enum other { - description "Other Address"; - } - enum static { - description "Static Address"; - } - enum dynamic { - description "Dynamic Address"; - } - } - description "IPv6 ND Neighbor Origin Type"; - } - typedef Ipv6-nd-media-encap { - type enumeration { - enum none { - description "No encapsulation"; - } - enum arpa { - description "ARPA encapsulation"; - } - enum snap { - description "SNAP encapsulation"; - } - enum ieee802-1q { - description "802_1Q encapsulation"; - } - enum srp { - description "SRP encapsulation"; - } - enum srpa { - description "SRPA encapsulation"; - } - enum srpb { - description "SRPB encapsulation"; - } - enum ppp { - description "PPP encapsulation"; - } - enum hdlc { - description "HDLC encapsulation"; - } - enum chdlc { - description "CHDLC encapsulation"; - } - enum dot1q { - description "DOT1Q encapsulation"; - } - enum fr { - description "FR encapsulation"; - } - enum gre { - description "GRE encapsulation"; - } - } - description "IPv6 ND Media Encapsulation Type"; - } - typedef Ipv6-nd-sh-state { - type enumeration { - enum incomplete { - description "Incomplete"; - } - enum reachable { - description "Reachable"; - } - enum stale { - description "Stale"; - } - enum glean { - description "Glean"; - } - enum delay { - description "Delay"; - } - enum probe { - description "Probe"; - } - enum delete { - description "Delete"; - } - } - description "IPv6 ND Neighbor Reachability State"; - } - - grouping IPV6-ND-PREFIX-Q { - description "Prefix Queue"; - leaf prefix-address { - type inet:ipv6-address; - description "Prefix address"; - } - leaf eui64 { - type inet:ipv6-address; - description "IPv6 Auto generated address"; - } - leaf valid-life-time { - type uint32; - description "Valid Life Time"; - } - leaf preferred-life-time { - type uint32; - description "Preferred Life Time"; - } - leaf prefix-len { - type uint32; - description "Prefix Length"; - } - leaf flags { - type uint32; - description "IPv6 Address Specific Flags"; - } - leaf pfx-flags { - type uint32; - description "Prefix Address Specific Flags"; - } - } - - grouping IPV6-ND-RA-INFO { - description "RA Info"; - - container elapsed-ra-time { - description "elapsedRATime"; - uses BAG-TIMESPEC; - } - - container reachable-time { - description "reachabletime"; - uses BAG-TIMESPEC; - } - - container retrans-time { - description "retranstime"; - uses BAG-TIMESPEC; - } - leaf address { - type inet:ipv6-address; - description "address"; - } - leaf hops { - type uint32; - description "hops"; - } - leaf flags { - type uint32; - description "flags"; - } - leaf life-time { - type uint32; - description "lifetime"; - } - leaf mtu { - type uint32; - description "mtu"; - } - leaf err-msg { - type boolean; - description "errmsg"; - } - leaf vrf-id { - type uint32; - description "vrf id"; - } - leaf u6-tbl-id { - type uint32; - description "tbl id"; - } - leaf rib-protoid { - type uint16; - description "proto id"; - } - leaf default-router { - type boolean; - description "router"; - } - leaf reachability { - type uint32; - description "reach"; - } - - list prefix-q { - description "Prefix Queue"; - uses IPV6-ND-PREFIX-Q; - } - } - - grouping IPV6-ND-SLAAC-INTFS-INFO { - description "Slaac Intfs"; - leaf idb { - type xr:Interface-name; - description "idb"; - } - - list ra { - description "slaac db"; - uses IPV6-ND-RA-INFO; - } - } - - grouping IPV6-ND-VR-ENTRY { - description "Detailed Info of ND IPv6 Virtual Router entry"; - - container local-address { - description "Link local address"; - uses IPV6-ND-ADDR; - } - leaf link-layer-address { - type yang:mac-address; - description "Link-Layer Address"; - } - leaf context { - type uint32; - description "Virtual Router ID"; - } - leaf state { - type Ipv6-nd-sh-vr-state; - description "VR state"; - } - leaf flags { - type Ipv6-nd-sh-vr-flags; - description "VR Flags"; - } - leaf vr-gl-addr-ct { - type uint32; - description "Virtual Global Address Count"; - } - - list vr-global-address { - description "List of ND global addresses"; - uses IPV6-ND-ADDR; - } - } - - grouping IPV6-ND-GSPNODE { - description "GSP node info "; - leaf node-name { - type xr:Node-id; - description "Node Name"; - } - leaf total-links { - type uint32; - description "Number of links on the node"; - } - } - - grouping IPV6-ND-ADDR { - description "List of IPv6 ND Addresses "; - leaf ipv6-address { - type inet:ipv6-address; - description "IPv6 address"; - } - } - - grouping IPV6-ND-IF-PARAMS { - description "Detailed Info of ND IPv6 Interface"; - leaf is-dad-enabled { - type boolean; - description - "If true, DAD (D.. A.. D..) is enabled otherwise - it is disabled"; - } - leaf dad-attempts { - type uint32; - description "DAD attempt count"; - } - leaf is-icm-pv6-redirect { - type boolean; - description "ICMP redirect flag"; - } - leaf is-dhcp-managed { - type boolean; - description "Flag used for utilising DHCP"; - } - leaf is-route-address-managed { - type boolean; - description "Flag used to manage routable address"; - } - leaf is-suppressed { - type boolean; - description "Suppress flag"; - } - leaf send-unicast-ra { - type boolean; - description "unicast RA send flag"; - } - leaf nd-retransmit-interval { - type uint32; - description "ND retransmit interval in msec"; - } - leaf nd-min-transmit-interval { - type uint32; - description - "ND router advertisement minimum transmit - interval in sec"; - } - leaf nd-max-transmit-interval { - type uint32; - description - "ND router advertisement maximum transmit - interval in sec"; - } - leaf nd-advertisement-lifetime { - type uint32; - description "ND router advertisement life time in sec"; - } - leaf nd-reachable-time { - type uint32; - description "Time to reach ND in msec"; - } - leaf nd-cache-limit { - type uint32; - description "Completed adjacency limit per interface"; - } - leaf complete-protocol-count { - type uint32; - description "Completed PROTO entry Count"; - } - leaf complete-glean-count { - type uint32; - description "Completed GLEAN entry count"; - } - leaf incomplete-protocol-count { - type uint32; - description "Incomplete PROTO entry count"; - } - leaf incomplete-glean-count { - type uint32; - description "Incomplete GLEAN entry count"; - } - leaf dropped-protocol-req-count { - type uint32; - description "Dropped PROTO entry request count"; - } - leaf dropped-glean-req-count { - type uint32; - description "Dropped GLEAN entry lequest count"; - } - } - - grouping IPV6-ND-IF-ENTRY { - description "Detailed Info of ND IPv6 Interface entry"; - - container nd-parameters { - description "ND interface parameters"; - uses IPV6-ND-IF-PARAMS; - } - - container local-address { - description "Link local address"; - uses IPV6-ND-ADDR; - } - leaf parent-interface-name { - type xr:Interface-name; - description "Parent interface name"; - } - leaf iftype { - type uint32; - description "Interface type"; - } - leaf mtu { - type uint32; - description "MTU"; - } - leaf etype { - type uint32; - description "etype"; - } - leaf vlan-tag { - type uint16; - description "vlan tag/id/ucv"; - } - leaf mac-addr-size { - type uint32; - description "mac address size"; - } - leaf mac-addr { - type yang:mac-address; - description "mac address"; - } - leaf is-interface-enabled { - type boolean; - description "If true, interface is enabled"; - } - leaf is-ipv6-enabled { - type boolean; - description "If true, IPv6 is enabled"; - } - leaf is-mpls-enabled { - type boolean; - description "If true, MPLS is enabled"; - } - leaf-list member-link { - type uint32; - description "List of member links"; - } - - list global-address { - description "List of ND global addresses"; - uses IPV6-ND-ADDR; - } - - list member-node { - description "List of member nodes"; - uses IPV6-ND-GSPNODE; - } - } - - grouping IPV6-ND-BL-NODE-ENTRY { - description "IPv6 node discovery bundle node information"; - - container age { - description "Uptime of node (secs)"; - uses BAG-TIMESPEC; - } - leaf group-id { - type uint32; - description "Group ID"; - } - leaf process-name { - type string; - description "Process Name"; - } - leaf sent-sequence-number { - type uint32; - description "Sent sequence num"; - } - leaf received-sequence-number { - type uint32; - description "Received sequence num"; - } - leaf state { - type Ipv6-nd-bndl-state; - description "State"; - } - leaf state-changes { - type uint32; - description "State changes"; - } - leaf sent-packets { - type uint32; - description "Total packet sends"; - } - leaf received-packets { - type uint32; - description "Total packet receives"; - } - } - - grouping BAG-NBR-ENTRY-SUM { - description "IPv6 ND summary information"; - leaf incomplete-entries { - type uint32; - description "Total incomplete entries"; - } - leaf reachable-entries { - type uint32; - description "Total reachable entries"; - } - leaf stale-entries { - type uint32; - description "Total stale entries"; - } - leaf delayed-entries { - type uint32; - description "Total delayed entries"; - } - leaf probe-entries { - type uint32; - description "Total probe entries"; - } - leaf deleted-entries { - type uint32; - description "Total deleted entries"; - } - leaf subtotal-neighbor-entries { - type uint32; - description "Total number of entries"; - } - } - - grouping IPV6-ND-NEIGHBOR-ENTRY-SUMMARY { - description "IPv6 ND neighbor entry summary"; - - container multicast { - description "Multicast neighbor summary"; - uses BAG-NBR-ENTRY-SUM; - } - - container static { - description "Static neighbor summary"; - uses BAG-NBR-ENTRY-SUM; - } - - container dynamic { - description "Dynamic neighbor summary"; - uses BAG-NBR-ENTRY-SUM; - } - leaf total-neighbor-entries { - type uint32; - description "Total number of entries"; - } - } - - grouping BAG-TIMESPEC { - description - "Timespec specifying the number of seconds since - the base time of 00:00:00 GMT, 1 January 1970."; - leaf seconds { - type uint32; - units "second"; - description "Number of seconds"; - } - } - - grouping IPV6-ND-NEIGHBOR-ENTRY { - description "IPv6 ND neighbor entry"; - - container last-reached-time { - description "Last time of reachability"; - uses BAG-TIMESPEC; - } - leaf reachability-state { - type Ipv6-nd-sh-state; - description "Current state"; - } - leaf link-layer-address { - type yang:mac-address; - description "Link-Layer Address"; - } - leaf encapsulation { - type Ipv6-nd-media-encap; - description "Preferred media encap type"; - } - leaf selected-encapsulation { - type Ipv6-nd-media-encap; - description "Selected media encap"; - } - leaf origin-encapsulation { - type Ipv6-nd-neighbor-origin; - description "Neighbor origin"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf location { - type xr:Node-id; - description "Location where the neighbor entry exists"; - } - leaf is-router { - type boolean; - description "IsRouter"; - } - leaf serg-flags { - type uint32; - description "ND serg flags for this entry"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper.yang deleted file mode 100644 index 91d44b4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-oper.yang +++ /dev/null @@ -1,203 +0,0 @@ -module Cisco-IOS-XR-ipv6-nd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper"; - - - prefix "ipv6-nd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv6-nd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-nd package operational data. - - This module contains definitions - for the following management objects: - ipv6-node-discovery: IPv6 node discovery operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv6-node-discovery { - config false; - description "IPv6 node discovery operational data"; - - container nodes { - description "IPv6 node discovery list of nodes"; - - list node { - key "node-name"; - description - "IPv6 node discovery operational data for a - particular node"; - - container neighbor-interfaces { - description - "IPv6 node discovery list of neighbor - interfaces"; - - list neighbor-interface { - key "interface-name"; - description "IPv6 node discovery neighbor interface"; - - container host-addresses { - description - "IPv6 node discovery list of neighbor host - addresses"; - - list host-address { - key "host-address"; - description "IPv6 Neighbor detailed information"; - leaf host-address { - type inet:ipv6-address-no-zone; - description "Host Address"; - } - uses IPV6-ND-NEIGHBOR-ENTRY; - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container neighbor-summary { - description "IPv6 Neighbor summary"; - uses IPV6-ND-NEIGHBOR-ENTRY-SUMMARY; - } - - container bundle-nodes { - description - "IPv6 ND list of bundle nodes for a specific - node"; - - list bundle-node { - key "node-name"; - description - "IPv6 ND operational data for a specific - bundle node"; - leaf node-name { - type xr:Node-id; - description "The bundle node name"; - } - uses IPV6-ND-BL-NODE-ENTRY; - } - } - - container bundle-interfaces { - description - "IPv6 ND list of bundle interfaces for a - specific node"; - - list bundle-interface { - key "interface-name"; - description - "IPv6 ND operational data for a specific - bundler interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IPV6-ND-IF-ENTRY; - } - } - - container interfaces { - description - "IPv6 node discovery list of interfaces for a - specific node"; - - list interface { - key "interface-name"; - description - "IPv6 node discovery operational data for a - specific node and interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IPV6-ND-IF-PARAMS; - } - } - - container nd-virtual-routers { - description - "IPv6 ND virtual router information for a - specific interface"; - - list nd-virtual-router { - key "interface-name"; - description - "IPv6 ND virtual router operational data for - a specific interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IPV6-ND-VR-ENTRY; - } - } - - container slaac-interfaces { - description - "IPv6 ND list of SLAAC MGMT interfaces for a - specific node"; - - list slaac-interface { - key "interface-name"; - description - "IPv6 ND operational data for a specific slaac - interface"; - - container router-advert-detail { - description - "IPv6 ND operational data for a specific - slaac interface"; - uses IPV6-ND-SLAAC-INTFS-INFO; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang deleted file mode 100644 index e58c58d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang +++ /dev/null @@ -1,253 +0,0 @@ -module Cisco-IOS-XR-ipv6-nd-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv6-nd-subscriber-cfg"; - - - prefix "ipv6-nd-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-nd-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-12-19" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipv6-nd-router-pref-template { - type enumeration { - enum high { - value 1; - description "High preference"; - } - enum medium { - value 2; - description "Medium preference"; - } - enum low { - value 3; - description "Low preference"; - } - } - description "Ipv6 nd router pref template"; - } - - grouping IPV6-NEIGHBOR { - description - "Common node of ip-subscriber, ppp, - subscriber-service"; - - container ipv6-neighbor { - description "Interface IPv6 Network configuration data"; - - container ra-interval { - presence "Indicates a ra-interval node is configured."; - description - "Set IPv6 Router Advertisement (RA) interval in - seconds"; - leaf maximum { - type uint32 { - range "4..1800"; - } - units "second"; - mandatory true; - description "Maximum RA interval in seconds"; - } - leaf minimum { - type uint32 { - range "3..1800"; - } - units "second"; - description - "Minimum RA interval in seconds. Must be less - than 0.75 * maximum interval"; - } - } - - container framed-prefix { - presence "Indicates a framed-prefix node is configured."; - description - "Set the IPv6 framed ipv6 prefix for a - subscriber interface "; - leaf prefix-length { - type xr:Ipv6-prefix-length; - mandatory true; - description "IPv6 framed prefix length"; - } - leaf prefix { - type string; - mandatory true; - description "IPV6 framed prefix address"; - } - } - - container duplicate-address-detection { - description "Duplicate Address Detection (DAD)"; - leaf attempts { - type uint32 { - range "0..600"; - } - description - "Set IPv6 duplicate address detection transmits"; - } - } - - container ra-initial { - presence "Indicates a ra-initial node is configured."; - description "IPv6 ND RA Initial"; - leaf count { - type uint32 { - range "0..32"; - } - mandatory true; - description "Initial RA count"; - } - leaf interval { - type uint32 { - range "4..1800"; - } - units "second"; - mandatory true; - description "Initial RA interval in seconds"; - } - } - leaf framed-prefix-pool { - type string; - description - "Set the IPv6 framed ipv6 prefix pool for a - subscriber interface "; - } - leaf managed-config { - type empty; - description - "Host to use stateful protocol for address - configuration"; - } - leaf other-config { - type empty; - description - "Host to use stateful protocol for non-address - configuration"; - } - leaf start-ra-on-ipv6-enable { - type empty; - description "Start RA on ipv6-enable config"; - } - leaf nud-enable { - type empty; - description "NUD enable"; - } - leaf ra-lifetime { - type uint32 { - range "0..9000"; - } - units "second"; - description - "Set IPv6 Router Advertisement (RA) lifetime in - seconds"; - } - leaf router-preference { - type Ipv6-nd-router-pref-template; - description "RA Router Preference"; - } - leaf ra-suppress { - type empty; - description "Enable suppress IPv6 router advertisement"; - } - leaf ra-unicast { - type empty; - description "Enable RA unicast Flag"; - } - leaf ra-unspecify-hoplimit { - type empty; - description - "Unspecify IPv6 Router Advertisement (RA) - hop-limit"; - } - leaf ra-suppress-mtu { - type empty; - description "RA suppress MTU flag"; - } - leaf suppress-cache-learning { - type empty; - description "Suppress cache learning flag"; - } - leaf reachable-time { - type uint32 { - range "0..3600000"; - } - units "millisecond"; - description - "Set advertised reachability time in - milliseconds"; - } - leaf ns-interval { - type uint32 { - range "1000..4294967295"; - } - units "millisecond"; - description - "Set advertised NS retransmission interval in - milliseconds"; - } - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NEIGHBOR; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NEIGHBOR; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses IPV6-NEIGHBOR; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang deleted file mode 100644 index bc1bda6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang +++ /dev/null @@ -1,717 +0,0 @@ -module Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg"; - - - prefix "ipv6-new-dhcpv6d-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-new-dhcpv6d package configuration. - - This module contains definitions - for the following management objects: - dhcpv6: None - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-10-10" { - description - "Moved augment statement to a separate file"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Insert { - type enumeration { - enum local { - value 0; - description - "Insert locally generated/configured Interface - ID value"; - } - enum received { - value 1; - description "Insert received Interface ID value"; - } - enum pppoe { - value 2; - description "Insert received Interface ID value from SADB"; - } - } - description "Insert"; - } - typedef Subscriber-id { - type enumeration { - enum pppoe { - value 3; - description "Insert Received Subscriber-ID Value from SADB"; - } - } - description "Subscriber id"; - } - typedef Link-layer-addr { - type enumeration { - enum set { - value 4; - description "Insert Received LinkLayerAddr Value from SADB"; - } - } - description "Link layer addr"; - } - - grouping PROFILE { - description "Common node of mode-class, default"; - - list profile { - key "profile-name"; - description "Enter proxy or server profile"; - leaf server-mode { - type empty; - description "Specify mode-class based Server option"; - } - leaf proxy-mode { - type empty; - description "Specify mode-class based Proxy Option"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Profile name"; - } - } - } - - container dhcpv6 { - presence "Indicates a dhcpv6 node is configured."; - description "None"; - - container database { - description - "Enable DHCP binding database storage to file - system"; - leaf proxy { - type empty; - description - "Enable DHCP proxy binding database storage to - file system"; - } - leaf server { - type empty; - description - "Enable DHCP server binding database storage to - file system"; - } - leaf relay { - type empty; - description - "Enable DHCP relay binding database storage to - file system"; - } - leaf full-write-interval { - type uint32 { - range "1..1440"; - } - default "10"; - description "Full file write interval (default 10 minutes)"; - } - leaf incremental-write-interval { - type uint32 { - range "1..1440"; - } - default "1"; - description - "Incremental file write interval (default 1 - minutes)"; - } - } - - container profiles { - description "Table of Profile"; - - list profile { - key "profile-name"; - description "None"; - - container relay { - presence "Indicates a relay node is configured."; - description "None"; - - container helper-addresses { - description "Table of HelperAddress"; - - list helper-address { - key "vrf-name helper-address"; - description "Specify the server helper address"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - leaf helper-address { - type inet:ipv6-address-no-zone; - description "Server Global unicast address"; - } - } - } - leaf enable { - type empty; - mandatory true; - description - "Enable None. Deletion of this object also - causes deletion of all associated objects - under Relay."; - } - leaf iana-route-add { - type empty; - description "Enable route addition for IANA"; - } - } - - container base { - presence "Indicates a base node is configured."; - description "None"; - - container default { - description "Default match option"; - uses PROFILE; - } - - container match { - description "Enter match option"; - - container mode-classes { - description "Table of ModeClass"; - - list mode-class { - key "class-name"; - description "Specify PPP/IPoE class option"; - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Class name"; - } - uses PROFILE; - } - } - } - leaf enable { - type empty; - mandatory true; - description - "Enable None. Deletion of this object also - causes deletion of all associated objects - under Base."; - } - } - - container proxy { - presence "Indicates a proxy node is configured."; - description "None"; - - container interfaces { - description "Table of Interface"; - - list interface { - key "interface-name"; - description "None"; - leaf interface-id { - type string; - description "Physical interface ID"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface to configure"; - } - } - } - - container relay { - description "Specify relay configuration"; - - container option { - description "Specify relay option configuration"; - - container interface-id { - description "Interface Id option"; - leaf insert { - type Insert; - description "Configure InterfaceID insert type"; - } - } - leaf subscriber-id { - type Subscriber-id; - description "Configure Received SubscriberID"; - } - leaf link-layer-addr { - type Link-layer-addr; - description "Configure Received link-layer-Addr"; - } - leaf remote-i-dreceived { - type int32; - description "Set remote-id value from SADB"; - } - leaf remote-id { - type string { - length "1..256"; - } - description "Enter remote-id value"; - } - } - } - - container vrfs { - description "VRF related configuration"; - - list vrf { - key "vrf-name"; - description "IPv6 DHCP proxy VRF name"; - - container helper-addresses { - description "Table of HelperAddress"; - - list helper-address { - key "helper-address"; - description "DHCPv6 Helper Address"; - leaf out-interface { - type xr:Interface-name; - description - "DHCPv6 HelperAddress Specific Output - Interface"; - } - leaf any-out-interface { - type empty; - description - "DHCPv6 HelperAddress Output Interface"; - } - leaf helper-address { - type inet:ipv6-address-no-zone; - description "DHCPv6 Helper Address"; - } - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container authentication { - description "Authentication username format"; - leaf username { - type empty; - description "Set username as DUID"; - } - } - - container classes { - description "Table of Class"; - - list class { - key "class-name"; - description "None"; - - container helper-addresses { - description "Table of HelperAddress"; - - list helper-address { - key "vrf-name helper-address"; - description "Specify the server helper address"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - leaf helper-address { - type inet:ipv6-address-no-zone; - description "Server address"; - } - } - } - leaf link-address { - type inet:ip-address-no-zone; - description - "IPv6 address to be filled in link-address"; - } - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Class name"; - } - } - } - - container sessions { - description "Change sessions configuration"; - - container mac { - description - "Throttle DHCP sessions based on MAC address"; - - container throttle { - description - "Throttle DHCP sessions from any one MAC - address"; - leaf limit { - type uint32 { - range "1..65535"; - } - description - "Number of solicits at which to throttle"; - } - leaf request { - type uint32 { - range "1..100"; - } - units "second"; - description "Throttle request period (in secs)"; - } - leaf block { - type uint32 { - range "1..100"; - } - units "second"; - description "Throttle blocking period (in secs)"; - } - } - } - } - leaf linkaddress-from-ra-enable { - type empty; - description - "Fill linkaddress in Relay fwd msg with Prefix - from Router Advertisement for PPPoE sessions"; - } - leaf route-add-disable { - type empty; - description "RouteDisable"; - } - leaf link-address { - type inet:ip-address-no-zone; - description "IPv6 address to be filled in link-address"; - } - leaf src-intf-name { - type xr:Interface-name; - description - "Create or enter proxy profile Source - Interface Name"; - } - leaf enable { - type empty; - mandatory true; - description - "Enable None. Deletion of this object also - causes deletion of all associated objects - under Proxy."; - } - } - - container server { - presence "Indicates a server node is configured."; - description "None"; - - container sessions { - description "Change sessions configuration"; - - container mac { - description - "Throttle DHCP sessions based on MAC address"; - - container throttle { - description - "Throttle DHCP sessions from any one MAC - address"; - leaf limit { - type uint32 { - range "1..65535"; - } - description - "Number of solicits at which to throttle"; - } - leaf request { - type uint32 { - range "1..100"; - } - units "second"; - description "Throttle request period (in secs)"; - } - leaf block { - type uint32 { - range "1..100"; - } - units "second"; - description "Throttle blocking period (in secs)"; - } - } - } - } - - container dns-servers { - description "DNS servers"; - leaf-list dns-server { - type inet:ip-address-no-zone; - max-elements "8"; - description "Server's IPv6 address"; - } - } - - container classes { - description "Table of Class"; - - list class { - key "class-name"; - description "None"; - - container dns-servers { - description "DNS servers"; - leaf-list dns-server { - type inet:ip-address-no-zone; - max-elements "8"; - description "Server's IPv6 address"; - } - } - leaf address-pool { - type string { - length "1..64"; - } - description "Address pool name"; - } - leaf domain-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Domain name"; - } - leaf preference { - type uint32 { - range "1..255"; - } - description "DHCP Server Preference"; - } - leaf prefix-pool { - type string { - length "1..64"; - } - description "Prefix pool name"; - } - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "class name"; - } - } - } - - container lease { - description "lease"; - leaf days { - type uint32 { - range "0..365"; - } - units "day"; - description "Days"; - } - leaf hours { - type uint32 { - range "0..23"; - } - units "hour"; - description "Hours"; - } - leaf minutes { - type uint32 { - range "1..59"; - } - units "minute"; - description "Minutes"; - } - leaf infinite { - type string; - description "Set string"; - } - } - - container dhcpv6-options { - description "DHCPv6 options"; - - container vendor-options { - description "Vendor options"; - leaf type { - type string; - description "Set string"; - } - leaf vendor-options { - type string { - length "1..512"; - } - description "Vendor options"; - } - } - } - leaf address-pool { - type string { - length "1..64"; - } - description "Address pool name"; - } - leaf aftr-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "AFTR name"; - } - leaf domain-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Domain name"; - } - leaf preference { - type uint32 { - range "0..255"; - } - description "DHCP Server Preference"; - } - leaf rapid-commit { - type empty; - description "Allow RAPID Commit"; - } - leaf enable { - type empty; - mandatory true; - description - "Enable None. Deletion of this object also - causes deletion of all associated objects - under Server."; - } - leaf prefix-pool { - type string { - length "1..64"; - } - description "Prefix pool name"; - } - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - } - } - - container interfaces { - description "Table of Interface"; - - list interface { - key "interface-name"; - description "None"; - - container pppoe { - description "PPPoE subscriber interface"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter profile name"; - } - } - - container proxy { - description "Assign a proxy profile to interface"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter profile name"; - } - } - - container base { - description "Assign a base profile to interface"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter profile name"; - } - } - - container server { - description "Assign a server profile to interface"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter profile name"; - } - } - - container relay { - description "Assign a relay profile to interface"; - leaf profile { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Enter profile name"; - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface to configure"; - } - } - } - leaf enable { - type empty; - mandatory true; - description - "Enable None. Deletion of this object also causes - deletion of all associated objects under DHCPv6."; - } - leaf allow-duid-change { - type empty; - description - "For BNG session, allow duid change for a client - MAC"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang deleted file mode 100644 index 55fa784..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang +++ /dev/null @@ -1,1570 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-new-dhcpv6d-oper { - prefix Cisco-IOS-XR-ipv6-new-dhcpv6d-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-new-dhcpv6d package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Bag-dhcpv6d-fsm-state { - type enumeration { - enum server-initializing { - value 0; - description "Server initializing state for client binding"; - } - enum server-waiting-dpm { - value 1; - description "Server waiting on DPM to validate subscriber"; - } - enum server-waiting-daps { - value 2; - description - "Server waiting on DAPS to assign/free - addr/prefix"; - } - enum server-waiting-client { - value 3; - description "Server waiting for a request from the client"; - } - enum server-waiting-subscriber { - value 4; - description - "Server waiting for iedge response for the - session"; - } - enum server-waiting-rib { - value 5; - description "Server waiting for RIB response for route add"; - } - enum server-bound-client { - value 6; - description "Server bound state to the client"; - } - enum proxy-initializing { - value 10; - description "Proxy initializing state for client binding"; - } - enum proxy-waiting-dpm { - value 11; - description "Proxy waiting on DPM to validate subscriber"; - } - enum proxy-waiting-daps { - value 12; - description - "Proxy waiting on DAPS to assign/free prefix(ND)"; - } - enum proxy-waiting-client-server { - value 13; - description "Proxy waiting for a msg from the client/srv"; - } - enum proxy-waiting-subscriber { - value 14; - description "Proxy waiting on iedge to sub session resp"; - } - enum proxy-waiting-rib { - value 15; - description "Proxy waiting on RIB response"; - } - enum proxy-bound-client { - value 16; - description "Proxy bound state to the client"; - } - } - description "Bag dhcpv6d fsm state"; - } - typedef Bag-dhcpv6d-ia-id { - type enumeration { - enum iana { - value 0; - description "Non-temporary Addresses assigned "; - } - enum iapd { - value 1; - description "Prefix delegeated to client "; - } - enum iata { - value 2; - description "Temporary Addresses - not supported "; - } - } - description "Bag dhcpv6d ia id"; - } - typedef Bag-dhcpv6d-intf-serg-role { - type enumeration { - enum none { - value 0; - description "DHCPv6 Interface SERG role NONE"; - } - enum master { - value 1; - description "DHCPv6 Interface SERG role Master"; - } - enum slave { - value 2; - description "DHCPv6 Interface SERG role Slave"; - } - } - description "Bag dhcpv6d intf serg role"; - } - typedef Bag-dhcpv6d-intf-srg-role { - type enumeration { - enum none { - value 0; - description "DHCPv6 Interface SRG role NONE"; - } - enum master { - value 1; - description "DHCPv6 Interface SRG role Master"; - } - enum slave { - value 2; - description "DHCPv6 Interface SRG role Slave"; - } - } - description "Bag dhcpv6d intf srg role"; - } - typedef Lease-limit { - type enumeration { - enum none { - description "Lease limit type none"; - } - enum interface { - description "Lease limit type interface"; - } - enum circuit-id { - description "Lease limit type circuit ID"; - } - enum remote-id { - description "Lease limit type remote ID"; - } - } - description "Profile lease limit type"; - } - typedef Bag-dhcpv6d-sub-mode { - type enumeration { - enum base { - value 0; - description "DHCPv6 Base mode"; - } - enum server { - value 1; - description "DHCPv6 Server mode"; - } - enum proxy { - value 2; - description "DHCPv6 Proxy mode"; - } - } - description "Bag dhcpv6d sub mode"; - } - typedef String-ifname { - type string { - length "0..65"; - } - description "String ifname"; - } - typedef String-vrf { - type string { - length "0..33"; - } - description "String vrf"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "IPV6 Address type"; - } - typedef Dhcpv6-issu-version { - type enumeration { - enum version1 { - value 0; - description "Version 1"; - } - enum version2 { - value 1; - description "Version 2"; - } - } - description "Dhcpv6 issu version"; - } - typedef Dhcp-issu-phase { - type enumeration { - enum phase-not-started { - value 0; - description "An ISSU event has not started"; - } - enum phase-load { - value 1; - description "ISSU Load Phase"; - } - enum phase-run { - value 2; - description "ISSU Run Phase"; - } - enum phase-completed { - value 3; - description "An ISSU event has completed successfully"; - } - enum phase-aborted { - value 4; - description "An ISSU event has aborted"; - } - } - description "Dhcp issu phase"; - } - typedef Dhcpv6-issu-role { - type enumeration { - enum role-primary { - value 0; - description "Primary role"; - } - enum role-secondary { - value 1; - description "Secondary role"; - } - } - description "Dhcpv6 issu role"; - } - - grouping IPV6-DHCPV6D-RELAY-ROUTE-BINDING { - description "DHCPv6 relay route entry"; - leaf duid { - type string; - description "Client DUID"; - } - leaf client-id-xr { - type uint32; - description "Client unique identifier"; - } - leaf prefix-length { - type uint8; - description "length of prefix"; - } - leaf prefix { - type Ipv6-address; - description "DHCPV6 IPv6 Prefix allotted to client"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPv6 client/subscriber Vrf name"; - } - leaf lifetime { - type uint32; - description "Client route lifetime"; - } - leaf rem-life-time { - type uint32; - description "Client route remaining lifetime"; - } - leaf interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - leaf next-hop-addr { - type Ipv6-address; - description "Next hop is our address"; - } - leaf ia-id { - type uint32; - description "IA_ID of this IA"; - } - leaf relay-profile-name { - type string { - length "0..65"; - } - description "Relay Profile name"; - } - } - - grouping IPV6-DHCPV6D-RELAY-BINDINGS-SUMMARY { - description "DHCPv6 relay binding summary"; - leaf clients { - type uint32; - description "Total number of clients"; - } - } - - grouping IPV6-DHCPV6D-RELAY-STATS { - description "DHCPv6 relay statistics"; - - list ipv6-dhcpv6d-relay-stat { - description "ipv6 dhcpv6d relay stat"; - - container statistics { - description "Relay statistics"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPv6 L3 VRF name"; - } - } - } - - grouping IPV6-DHCPV6D-SERVER-BINDING-OPTIONS { - description "DHCPv6 server binding inserted option values"; - leaf mac-address-xr { - type string; - description "Client MAC address"; - } - leaf duid-xr { - type string; - description "Client DUID"; - } - leaf dns-count { - type uint8; - description "DNS address count"; - } - leaf opt17 { - type string; - description "Client Option 17 value"; - } - leaf-list dns-address { - type Ipv6-address; - max-elements "8"; - description "DNS addresses"; - } - } - - grouping IPV6-DHCPV6D-SERVER-STATS { - description "DHCPv6 server statistics"; - - list ipv6-dhcpv6d-server-stat { - description "ipv6 dhcpv6d server stat"; - - container statistics { - description "Server statistics"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPv6 L3 VRF name"; - } - } - } - - grouping IPV6-DHCPV6D-SERVER-INTERFACE { - description "DHCPv6 server interface"; - leaf server-vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - leaf server-interface-mode { - type Bag-dhcpv6d-sub-mode; - description "Mode of interface"; - } - leaf is-server-interface-ambiguous { - type uint32; - description "Is interface ambiguous"; - } - leaf server-interface-profile-name { - type string { - length "0..65"; - } - description "Name of profile attached to the interface"; - } - leaf server-interface-lease-limit-type { - type Lease-limit; - description "Lease limit type on interface"; - } - leaf server-interface-lease-limits { - type uint32; - description "Lease limit count on interface"; - } - leaf srg-role { - type Bag-dhcpv6d-intf-srg-role; - description "DHCPv6 Interface SRG role"; - } - leaf serg-role { - type Bag-dhcpv6d-intf-serg-role; - description "DHCPv6 Interface SERG role"; - } - leaf mac-throttle { - type boolean; - description "Mac Throttle Status"; - } - leaf srg-vrf-name { - type string { - length "0..33"; - } - description "SRG VRF name"; - } - leaf srgp2p { - type boolean; - description "SRG P2P Status"; - } - } - - grouping IPV6-DHCPV6D-SERVER-INTERFACE-REFERENCE { - description "DHCPv6 server profile reference"; - - list ipv6-dhcpv6d-server-interface-reference { - description "ipv6 dhcpv6d server interface reference"; - leaf server-reference-interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - } - } - - grouping TIME-BAG { - description "Time in diffrent formats"; - leaf seconds { - type uint32; - units "second"; - description "DHCPV6 client lease in seconds"; - } - leaf time { - type string { - length "0..10"; - } - description "Time in format HH:MM:SS"; - } - } - - grouping IPV6-DHCPV6D-SERVER-PROFILE { - description "DHCPv6 server profile parameters"; - - container lease { - description "Server lease time"; - uses TIME-BAG; - } - - container interface-references { - description "Interface references"; - uses IPV6-DHCPV6D-SERVER-INTERFACE-REFERENCE; - } - leaf profile-name { - type string { - length "0..65"; - } - description "Server profile name"; - } - leaf domain-name { - type string { - length "0..65"; - } - description "Server domain name"; - } - leaf profile-dns { - type uint8; - description "DNS address count"; - } - leaf aftr-name { - type string { - length "0..65"; - } - description "Server aftr name"; - } - leaf framed-addr-pool-name { - type string { - length "0..65"; - } - description "Server framed address pool name"; - } - leaf delegated-prefix-pool-name { - type string { - length "0..65"; - } - description "Server delegated prefix pool name"; - } - leaf rapid-commit { - type boolean; - description "Rapid Commit"; - } - leaf-list profile-dns-address { - type Ipv6-address; - max-elements "8"; - description "DNS addresses"; - } - } - - grouping IPV6-DHCPV6D-SERVER-BINDING { - description "DHCPv6 server binding entry"; - - container ia-id-pd { - description "List of DHCPv6 IA_ID/PDs"; - uses BAG-DHCPV6D-IA-ID-PD-INFO; - } - leaf duid { - type string; - description "Client DUID"; - } - leaf client-id-xr { - type uint32; - description "Client unique identifier"; - } - leaf client-flag { - type uint32; - description "DHCPV6 client flag"; - } - leaf subscriber-label { - type uint32; - description "DHCPV6 subscriber label"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPVV6 client/subscriber VRF name"; - } - leaf mac-address { - type string; - description "Client MAC address"; - } - leaf ia-id-p-ds { - type uint32; - description "Number of ia_id/pd"; - } - leaf link-local-address { - type Ipv6-address; - description "DHCPV6 IPv6 client link local address"; - } - leaf interface-name { - type xr:Interface-name; - description "DHCPV6 access interface to client"; - } - leaf access-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 access VRF name to client"; - } - leaf server-binding-tags { - type uint8; - description "DHCPV6 VLAN tag count"; - } - leaf server-binding-outer-tag { - type uint32; - description "DHCPV6 VLAN Outer VLAN"; - } - leaf server-binding-inner-tag { - type uint32; - description "DHCPV6 VLAN Inner VLAN"; - } - leaf pool-name { - type string { - length "0..64"; - } - description "DHCPV6 pool name"; - } - leaf profile-name { - type string { - length "0..64"; - } - description "DHCPV6 profile name"; - } - leaf framed-ipv6-prefix { - type Ipv6-address; - description "DHCPV6 framed ipv6 addess used by ND"; - } - leaf framed-prefix-length { - type uint8; - description "DHCPV6 framed ipv6 prefix length used by ND"; - } - leaf class-name { - type string { - length "0..64"; - } - description "DHCPV6 class name"; - } - leaf rx-remote-id { - type string { - length "0..771"; - } - description "DHCPV6 received Remote ID"; - } - leaf rx-interface-id { - type string { - length "0..771"; - } - description "DHCPV6 received Interface ID"; - } - leaf prefix-pool-name { - type string { - length "0..64"; - } - description "DHCPV6 server prefix pool name"; - } - leaf address-pool-name { - type string { - length "0..64"; - } - description "DHCPV6 server address pool name"; - } - leaf dns-server-count { - type uint32; - description "DNS server count"; - } - leaf is-nak-next-renew { - type boolean; - description - "Is true if DHCPv6 next renew from client will be - NAK'd"; - } - leaf srg-state { - type uint32; - description "DHCPV6 SRG state"; - } - leaf srg-intf-role { - type uint32; - description "DHCPV6 SRG Intf Role"; - } - leaf srgp2p { - type boolean; - description "SRG P2P Status"; - } - leaf srg-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 SRG VRF NAME"; - } - leaf sesrg-state { - type uint32; - description "DHCPV6 SERG state"; - } - leaf serg-intf-role { - type uint32; - description "DHCPV6 SERG Intf Role"; - } - } - - grouping BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY { - description "DHCPv6 server bindings summary for IANA/IAPD"; - leaf initializing-clients { - type uint32; - description "Number of clients in init state"; - } - leaf dpm-waiting-clients { - type uint32; - description - "Number of clients waiting on DPM to validate - subscriber"; - } - leaf daps-waiting-clients { - type uint32; - description - "Number of clients waiting on DAPS to assign/free - addr/prefix"; - } - leaf request-waiting-clients { - type uint32; - description - "Number of clients waiting for a request from the - client"; - } - leaf iedge-waiting-clients { - type uint32; - description - "Number of clients waiting for iedge for the - session"; - } - leaf rib-waiting-clients { - type uint32; - description "Number of clients in waiting for RIB response"; - } - leaf bound-clients { - type uint32; - description "Number of clients in bound state"; - } - } - - grouping IPV6-DHCPV6D-SERVER-BINDINGS-SUMMARY { - description "DHCPv6 server bindings summary"; - - container iana { - description "IANA server binding summary"; - uses BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY; - } - - container iapd { - description "IAPD server binding summary"; - uses BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY; - } - leaf clients { - type uint32; - description "Total number of clients"; - } - } - - grouping IPV6-DHCPV6D-BASE-BINDING { - description "DHCPV6 base binding entry"; - leaf mac-address { - type string; - description "DHCPV6 client MAC address"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 client/subscriber VRF name"; - } - leaf server-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 server VRF name"; - } - leaf ipv6-address { - type Ipv6-address; - description "DHCPV6 IPv6 address"; - } - leaf server-ipv6-address { - type Ipv6-address; - description "DHCPV6 server IPv6 address"; - } - leaf reply-server-ipv6-address { - type Ipv6-address; - description "DHCPV6 reply server IPv6 address"; - } - leaf lease-time { - type uint32; - units "second"; - description "Lease time in seconds"; - } - leaf remaining-lease-time { - type uint32; - units "second"; - description "Remaining lease time in seconds"; - } - leaf state { - type Bag-dhcpv6d-fsm-state; - description "DHCPV6 client state"; - } - leaf interface-name { - type xr:Interface-name; - description "DHCPV6 access interface to client"; - } - leaf access-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 access interface VRF name"; - } - leaf base-binding-tags { - type uint8; - description "DHCPV6 VLAN tag count"; - } - leaf base-binding-outer-tag { - type uint32; - description "DHCPV6 VLAN Outer VLAN"; - } - leaf base-binding-inner-tag { - type uint32; - description "DHCPV6 VLAN Inner VLAN"; - } - leaf profile-name { - type string { - length "0..64"; - } - description "DHCPV6 profile name"; - } - leaf is-nak-next-renew { - type boolean; - description - "Is true if DHCPV6 next renew from client will be - NAK'd"; - } - leaf subscriber-label { - type uint32; - description "DHCPV6 subscriber label"; - } - leaf old-subscriber-label { - type uint32; - description "DHCPV6 old subscriber label"; - } - leaf rx-client-duid { - type string { - length "0..771"; - } - description "DHCPV6 received client DUID"; - } - leaf tx-client-uid { - type string { - length "0..771"; - } - description "DHCPV6 transmitted client DUID"; - } - leaf rx-remote-id { - type string { - length "0..771"; - } - description "DHCPV6 received Remote ID"; - } - leaf tx-remote-id { - type string { - length "0..771"; - } - description "DHCPV6 transmitted Remote ID"; - } - leaf rx-interface-id { - type string { - length "0..771"; - } - description "DHCPV6 received Interface ID"; - } - leaf tx-interface-id { - type string { - length "0..771"; - } - description "DHCPV6 transmitted Interface ID"; - } - } - - grouping IPV6-DHCPD-DATABASE { - description "IPv6 DHCP database"; - leaf configured { - type boolean; - description "Database feature configured"; - } - leaf version { - type uint32; - description "Current file version"; - } - leaf full-file-write-interval { - type uint32; - units "minute"; - description "Full file write interval in minutes"; - } - leaf last-full-write-file-name { - type string { - length "0..64"; - } - description "Last full write file name"; - } - leaf last-full-write-time { - type uint32; - description "Last full write time since epoch"; - } - leaf full-file-write-count { - type uint32; - description "Full file write count"; - } - leaf failed-full-file-write-count { - type uint32; - description "Failed full file write count"; - } - leaf full-file-record-count { - type uint32; - description "Full file record count"; - } - leaf last-full-file-write-error-timestamp { - type uint32; - description - "Last full file write error timestamp since epoch"; - } - leaf incremental-file-write-interval { - type uint32; - units "minute"; - description "Incremental file write interval in minutes"; - } - leaf last-incremental-write-file-name { - type string { - length "0..64"; - } - description "Last incremental write file name"; - } - leaf last-incremental-write-time { - type uint32; - description "Last incremental write time since epoch"; - } - leaf incremental-file-write-count { - type uint32; - description "Incremental file write count"; - } - leaf failed-incremental-file-write-count { - type uint32; - description "Failed incremental file write count"; - } - leaf incremental-file-record-count { - type uint32; - description "Incremental file record count"; - } - leaf last-incremental-file-write-error-timestamp { - type uint32; - description - "Last incremental file write error timestamp - since epoch"; - } - } - - grouping BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY { - description "DHCPv6 proxy bindings summary for IANA/IAPD"; - leaf initializing-clients { - type uint32; - description "Number of clients in init state"; - } - leaf dpm-waiting-clients { - type uint32; - description - "Number of clients waiting on DPM to validate - subscriber"; - } - leaf daps-waiting-clients { - type uint32; - description - "Number of clients waiting on DAPS to assign/free - prefix(ND)"; - } - leaf msg-waiting-clients { - type uint32; - description - "Number of clients waiting for a message from the - client/server"; - } - leaf iedge-waiting-clients { - type uint32; - description - "Number of clients waiting on iedge to subscriber - session"; - } - leaf rib-waiting-clients { - type uint32; - description "Number of clients in waiting on RIB response"; - } - leaf bound-clients { - type uint32; - description "Number of clients in bound state"; - } - } - - grouping IPV6-DHCPV6D-PROXY-BINDINGS-SUMMARY { - description "DHCPv6 proxy bindings summary"; - - container iana { - description "IANA proxy binding summary"; - uses BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY; - } - - container iapd { - description "IAPD proxy binding summary"; - uses BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY; - } - leaf clients { - type uint32; - description "Total number of clients"; - } - } - - grouping BAG-DHCPV6D-ADDR-ATTRB { - description "BAG DHCPV6D ADDR ATTRB"; - - list bag-dhcpv6d-addr-attrb { - description "bag dhcpv6d addr attrb"; - leaf prefix { - type inet:ipv6-address; - description "IPv6 prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - leaf lease-time { - type uint32; - units "second"; - description "Lease time in seconds"; - } - leaf remaining-lease-time { - type uint32; - units "second"; - description "Remaining lease time in seconds"; - } - } - } - - grouping BAG-DHCPV6D-IA-ID-PD-INFO { - description "BAG DHCPV6D IA ID PD INFO"; - - list bag-dhcpv6d-ia-id-pd-info { - description "bag dhcpv6d ia id pd info"; - - container addresses { - description "List of addresses in this IA"; - uses BAG-DHCPV6D-ADDR-ATTRB; - } - leaf ia-type { - type Bag-dhcpv6d-ia-id; - description "IA type"; - } - leaf ia-id { - type uint32; - description "IA_ID of this IA"; - } - leaf flags { - type uint32; - description "FSM Flag for this IA"; - } - leaf total-address { - type uint16; - description "Total address in this IA"; - } - leaf state { - type Bag-dhcpv6d-fsm-state; - description "State"; - } - } - } - - grouping IPV6-DHCPV6D-PROXY-BINDING { - description "DHCPv6 proxy binding entry"; - - container ia-id-pd { - description "List of DHCPv6 IA_ID/PDs"; - uses BAG-DHCPV6D-IA-ID-PD-INFO; - } - leaf duid { - type string; - description "Client DUID"; - } - leaf client-flag { - type uint32; - description "DHCPV6 client flag"; - } - leaf subscriber-label { - type uint32; - description "DHCPV6 subscriber label"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPVV6 client/subscriber VRF name"; - } - leaf mac-address { - type string; - description "Client MAC address"; - } - leaf ia-id-p-ds { - type uint32; - description "Number of ia_id/pd"; - } - leaf interface-name { - type xr:Interface-name; - description "DHCPV6 access interface to client"; - } - leaf access-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 access VRF name to client"; - } - leaf proxy-binding-tags { - type uint8; - description "DHCPV6 VLAN tag count"; - } - leaf proxy-binding-outer-tag { - type uint32; - description "DHCPV6 VLAN Outer VLAN"; - } - leaf proxy-binding-inner-tag { - type uint32; - description "DHCPV6 VLAN Inner VLAN"; - } - leaf class-name { - type string { - length "0..64"; - } - description "DHCPV6 class name"; - } - leaf pool-name { - type string { - length "0..64"; - } - description "DHCPV6 pool name"; - } - leaf rx-remote-id { - type string { - length "0..771"; - } - description "DHCPV6 received Remote ID"; - } - leaf tx-remote-id { - type string { - length "0..771"; - } - description "DHCPV6 transmitted Remote ID"; - } - leaf rx-interface-id { - type string { - length "0..771"; - } - description "DHCPV6 received Interface ID"; - } - leaf tx-interface-id { - type string { - length "0..771"; - } - description "DHCPV6 transmitted Interface ID"; - } - leaf server-ipv6-address { - type Ipv6-address; - description "DHCPV6 server IPv6 address"; - } - leaf profile-name { - type string { - length "0..65"; - } - description "DHCPV6 profile name"; - } - leaf framed-ipv6-prefix { - type Ipv6-address; - description "DHCPV6 framed ipv6 addess used by ND"; - } - leaf framed-prefix-length { - type uint8; - description "DHCPV6 framed ipv6 prefix length used by ND"; - } - leaf is-nak-next-renew { - type boolean; - description - "Is true if DHCP next renew from client will be - NAK'd"; - } - leaf srg-state { - type uint32; - description "DHCPV6 SRG state"; - } - leaf srg-intf-role { - type uint32; - description "DHCPV6 SRG Intf Role"; - } - leaf srgp2p { - type boolean; - description "SRG P2P Status"; - } - leaf srg-vrf-name { - type string { - length "0..33"; - } - description "DHCPV6 SRG VRF NAME"; - } - leaf serg-state { - type uint32; - description "DHCPV6 SERG state"; - } - leaf serg-intf-role { - type uint32; - description "DHCPV6 SERG Intf Role"; - } - } - - grouping IPV6-DHCPV6D-PROXY-STATS { - description "DHCPv6 proxy statistics"; - - list ipv6-dhcpv6d-proxy-stat { - description "ipv6 dhcpv6d proxy stat"; - - container statistics { - description "Proxy statistics"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "DHCPv6 L3 VRF name"; - } - } - } - - grouping IPV6-DHCPV6D-PROXY-INTERFACE { - description "DHCPv6 proxy interface"; - leaf proxy-vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - leaf proxy-interface-mode { - type Bag-dhcpv6d-sub-mode; - description "Mode of interface"; - } - leaf is-proxy-interface-ambiguous { - type uint32; - description "Is interface ambiguous"; - } - leaf proxy-interface-profile-name { - type string { - length "0..65"; - } - description "Name of profile attached to the interface"; - } - leaf proxy-interface-lease-limit-type { - type Lease-limit; - description "Lease limit type on interface"; - } - leaf proxy-interface-lease-limits { - type uint32; - description "Lease limit count on interface"; - } - leaf srg-role { - type Bag-dhcpv6d-intf-srg-role; - description "DHCPv6 Interface SRG role"; - } - leaf serg-role { - type Bag-dhcpv6d-intf-serg-role; - description "DHCPv6 Interface SERG role"; - } - leaf mac-throttle { - type boolean; - description "Mac Throttle Status"; - } - leaf srg-vrf-name { - type string { - length "0..33"; - } - description "SRG VRF name"; - } - leaf srgp2p { - type boolean; - description "SRG P2P Status"; - } - } - - grouping IPV6-DHCPV6D-PROXY-INTERFACE-REFERENCE { - description "DHCPv6 proxy profile reference"; - - list ipv6-dhcpv6d-proxy-interface-reference { - description "ipv6 dhcpv6d proxy interface reference"; - leaf proxy-reference-interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - } - } - - grouping IPV6-DHCPV6D-PROXY-VRF-REFERENCE { - description "DHCPv6 proxy profile reference"; - - list ipv6-dhcpv6d-proxy-vrf-reference { - description "ipv6 dhcpv6d proxy vrf reference"; - leaf proxy-reference-vrf-name { - type string { - length "0..33"; - } - description "VRF name"; - } - } - } - - grouping IPV6-DHCPV6D-PROXY-IID-REFERENCE { - description "DHCPv6 proxy profile iid reference"; - - list ipv6-dhcpv6d-proxy-iid-reference { - description "ipv6 dhcpv6d proxy iid reference"; - leaf proxy-iid-interface-name { - type string { - length "0..65"; - } - description "Interface name for interface id"; - } - leaf proxy-interface-id { - type string { - length "0..257"; - } - description "Interface id"; - } - } - } - - grouping IPV6-DHCPV6D-PROXY-PROFILE { - description "DHCPv6 proxy profile parameters"; - - container interface-id-references { - description "Interface id references"; - uses IPV6-DHCPV6D-PROXY-IID-REFERENCE; - } - - container vrf-references { - description "VRF references"; - uses IPV6-DHCPV6D-PROXY-VRF-REFERENCE; - } - - container interface-references { - description "Interface references"; - uses IPV6-DHCPV6D-PROXY-INTERFACE-REFERENCE; - } - leaf profile-name { - type string { - length "0..65"; - } - description "Proxy profile name"; - } - leaf remote-id { - type string { - length "0..257"; - } - description "Remote id"; - } - leaf profile-link-address { - type Ipv6-address; - description "Link address"; - } - leaf proxy-profile-linkaddress-from-ra-enable { - type boolean; - description "LinkAddress From RA mesage"; - } - leaf-list profile-helper-address { - type Ipv6-address; - max-elements "8"; - description "Helper addresses"; - } - leaf-list vrf-name { - type String-vrf; - max-elements "8"; - description "VRF names"; - } - leaf-list interface-name { - type String-ifname; - max-elements "8"; - description "Interface names"; - } - } - - grouping IPV6-DHCPV6D-MAC-THROTTLE { - description "IPv6 DHCP Mac Throttle"; - leaf binding-chaddr { - type yang:hex-string; - description "Client MAC address"; - } - leaf ifname { - type string { - length "0..65"; - } - description "DHCP access interface"; - } - leaf state { - type uint32; - description "State of entry"; - } - leaf time-left { - type uint32; - units "second"; - description "Time Left in secs"; - } - } - - grouping IPV6-DHCPV6D-FILTERED-STATS { - description "DHCPv6 filtered statistics"; - leaf received-packets { - type uint64; - description "Received packets"; - } - leaf transmitted-packets { - type uint64; - description "Transmitted packets"; - } - leaf dropped-packets { - type uint64; - description "Dropped packets"; - } - } - - grouping IPV6-DHCPV6D-TYPE { - description "DHCPv6 packets"; - - container solicit { - description "DHCPV6 solicit packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container advertise { - description "DHCPV6 advertise packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container request { - description "DHCPV6 request packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container reply { - description "DHCPV6 reply packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container confirm { - description "DHCPV6 confirm packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container decline { - description "DHCPV6 decline packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container renew { - description "DHCPV6 renew packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container rebind { - description "DHCPV6 rebind packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container release { - description "DHCPV6 release packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container reconfig { - description "DHCPV6 reconfig packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container inform { - description "DHCPV6 inform packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container relay-forward { - description "DHCPV6 relay forward packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container relay-reply { - description "DHCPV6 relay reply packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container lease-query { - description "DHCPV6 lease query packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container lease-query-reply { - description "DHCPV6 lease query reply packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container lease-query-done { - description "DHCPV6 lease query done packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - - container lease-query-data { - description "DHCPV6 lease query data packets"; - uses IPV6-DHCPV6D-FILTERED-STATS; - } - } - - grouping IPV6-DHCPD-ISSU-STATUS { - description "ISSU Data"; - leaf process-start-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the process start time in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf issu-sync-complete-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU sync complete in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf issu-sync-start-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU sync start in nanoseconds - since Epoch, i.e. since 00:00:00 UTC, January 1, - 1970"; - } - leaf issu-ready-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the ISSU ready declaration in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf big-bang-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the Big Bang notification time in - nanoseconds since Epoch, i.e. since 00:00:00 UTC - , January 1, 1970"; - } - leaf primary-role-time { - type uint64; - units "nanosecond"; - description - "Timestamp for the change to Primary role - notification time in nanoseconds since Epoch, i - .e. since 00:00:00 UTC, January 1, 1970"; - } - leaf issu-ready-issu-mgr-connection { - type boolean; - description - "Whether or not DHCP is currently connected to - ISSU Manager during the ISSU Load Phase"; - } - leaf role { - type Dhcpv6-issu-role; - description "The current role of the DHCP process"; - } - leaf phase { - type Dhcp-issu-phase; - description "The current ISSU phase of the DHCP process"; - } - leaf version { - type Dhcpv6-issu-version; - description - "The current version of the DHCP process in the - context of an ISSU"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang deleted file mode 100644 index 6d567c8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang +++ /dev/null @@ -1,372 +0,0 @@ -module Cisco-IOS-XR-ipv6-new-dhcpv6d-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper"; - - - prefix "ipv6-new-dhcpv6d-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-new-dhcpv6d package operational data. - - This module contains definitions - for the following management objects: - dhcpv6: IPV6 DHCPD operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container dhcpv6 { - config false; - description "IPV6 DHCPD operational data"; - - container issu-status { - description "DHCP IssuStatus"; - uses IPV6-DHCPD-ISSU-STATUS; - } - - container nodes { - description "IPv6 DHCP list of nodes"; - - list node { - key "node-name"; - description "IPv6 DHCP particular node name"; - - container proxy { - description "IPv6 DHCP proxy operational data"; - - container vrfs { - description "DHCPV6 proxy list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv6 DHCP proxy VRF name"; - - container statistics { - description "IPv6 DHCP proxy statistics"; - uses IPV6-DHCPV6D-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container profiles { - description "IPv6 DHCP proxy profile"; - - list profile { - key "profile-name"; - description "IPv6 DHCP proxy profile"; - - container throttle-infos { - description "DHCPV6 throttle table"; - - list throttle-info { - key "mac-address"; - description - "IPv6 DHCP proxy profile Throttle Info"; - leaf mac-address { - type xr:Cisco-ios-xr-string; - description "MAC address"; - } - uses IPV6-DHCPV6D-MAC-THROTTLE; - } - } - - container info { - description "IPv6 DHCP proxy profile Info"; - uses IPV6-DHCPV6D-PROXY-PROFILE; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - } - } - - container interfaces { - description "DHCPV6 proxy interface"; - - list interface { - key "interface-name"; - description "IPv6 DHCP proxy interface"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description "Interface Name"; - } - uses IPV6-DHCPV6D-PROXY-INTERFACE; - } - } - - container statistics { - description "DHCPv6 proxy statistics"; - uses IPV6-DHCPV6D-PROXY-STATS; - } - - container binding { - description "DHCPV6 proxy bindings"; - - container clients { - description "DHCPV6 proxy client bindings"; - - list client { - key "client-id"; - description "Single DHCPV6 proxy binding"; - leaf client-id { - type xr:Cisco-ios-xr-string; - description "Client ID"; - } - uses IPV6-DHCPV6D-PROXY-BINDING; - } - } - - container summary { - description "DHCPV6 proxy binding summary"; - uses IPV6-DHCPV6D-PROXY-BINDINGS-SUMMARY; - } - } - } - - container base { - description "IPv6 DHCP Base"; - - container database { - description "DHCP database"; - uses IPV6-DHCPD-DATABASE; - } - - container addr-bindings { - description "IPv6 DHCP Base Binding"; - - list addr-binding { - key "addr-string"; - description "DHCPv6 base stats debug"; - leaf addr-string { - type xr:Cisco-ios-xr-string; - description "Address String"; - } - uses IPV6-DHCPV6D-BASE-BINDING; - } - } - } - - container server { - description "IPv6 DHCP server operational data"; - - container binding { - description "DHCPV6 server bindings"; - - container summary { - description "DHCPV6 server binding summary"; - uses IPV6-DHCPV6D-SERVER-BINDINGS-SUMMARY; - } - - container clients { - description "DHCPV6 server client bindings"; - - list client { - key "client-id"; - description "Single DHCPV6 server binding"; - leaf client-id { - type xr:Cisco-ios-xr-string; - description "Client ID"; - } - uses IPV6-DHCPV6D-SERVER-BINDING; - } - } - } - - container vrfs { - description "DHCPV6 server list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv6 DHCP server VRF name"; - - container statistics { - description "IPv6 DHCP server statistics"; - uses IPV6-DHCPV6D-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - - container profiles { - description "IPv6 DHCP server profile"; - - list profile { - key "profile-name"; - description "IPv6 DHCP server profile"; - - container info { - description "IPv6 DHCP server profile Info"; - uses IPV6-DHCPV6D-SERVER-PROFILE; - } - - container throttle-infos { - description "DHCPV6 throttle table"; - - list throttle-info { - key "mac-address"; - description - "IPv6 DHCP server profile Throttle Info"; - leaf mac-address { - type xr:Cisco-ios-xr-string; - description "MAC address"; - } - uses IPV6-DHCPV6D-MAC-THROTTLE; - } - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile name"; - } - } - } - - container interfaces { - description "DHCPV6 server interface"; - - list interface { - key "interface-name"; - description "IPv6 DHCP server interface"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description "Interface Name"; - } - uses IPV6-DHCPV6D-SERVER-INTERFACE; - } - } - - container statistics { - description "DHCPv6 server statistics"; - uses IPV6-DHCPV6D-SERVER-STATS; - } - - container binding-options { - description "DHCPv6 server binding with options"; - - container mac-bind-options { - description "DHCPv6 server binding from MAC address"; - - list mac-bind-option { - key "mac-address"; - description "DHCPv6 server binding with options"; - leaf mac-address { - type xr:Cisco-ios-xr-string; - description "MAC address"; - } - uses IPV6-DHCPV6D-SERVER-BINDING-OPTIONS; - } - } - - container duid-bind-options { - description "DHCPv6 server binding from DUID"; - - list duid-bind-option { - key "duid"; - description "DHCPv6 server binding with options"; - leaf duid { - type xr:Cisco-ios-xr-string; - description "DUID of Binding"; - } - uses IPV6-DHCPV6D-SERVER-BINDING-OPTIONS; - } - } - } - } - - container relay { - description "IPv6 DHCP relay operational data"; - - container statistics { - description "DHCPv6 relay statistics"; - uses IPV6-DHCPV6D-RELAY-STATS; - } - - container binding { - description "DHCPV6 relay bindings"; - - container summary { - description "DHCPV6 relay binding summary"; - uses IPV6-DHCPV6D-RELAY-BINDINGS-SUMMARY; - } - - container clients { - description "DHCPV6 relay client bindings"; - - list client { - key "client-id"; - description "Single DHCPV6 relay binding"; - leaf client-id { - type xr:Cisco-ios-xr-string; - description "Client ID"; - } - uses IPV6-DHCPV6D-RELAY-ROUTE-BINDING; - } - } - } - - container vrfs { - description "DHCPV6 relay list of VRF names"; - - list vrf { - key "vrf-name"; - description "IPv6 DHCP relay VRF name"; - - container statistics { - description "IPv6 DHCP relay statistics"; - uses IPV6-DHCPV6D-TYPE; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang deleted file mode 100644 index d4f240a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang +++ /dev/null @@ -1,113 +0,0 @@ -module Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg"; - - - prefix "ipv6-new-dhcpv6d-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-new-dhcpv6d-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DHCPV6 { - description "Common node of ip-subscriber, ppp"; - - container dhcpv6 { - description "Interface dhcpv6 configuration data"; - - container delegated-prefix { - presence "Indicates a delegated-prefix node is configured."; - description "The prefix to be used for Prefix Delegation"; - leaf prefix { - type inet:ipv6-address-no-zone; - mandatory true; - description "IPv6 Prefix"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - mandatory true; - description "PD Prefix Length"; - } - } - leaf dns-ipv6address { - type inet:ipv6-address-no-zone; - description "Dns IPv6 Address"; - } - leaf mode-class { - type string; - description - "Select proxy/server profile based on mode class - name"; - } - leaf address-pool { - type string; - description "The pool to be used for Address assignment"; - } - leaf delegated-prefix-pool { - type string; - description "The pool to be used for Prefix Delegation"; - } - leaf class { - type string; - description "The class to be used for proxy/server profile"; - } - leaf stateful-address { - type inet:ipv6-address-no-zone; - description "Stateful IPv6 Address"; - } - } - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses DHCPV6; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses DHCPV6; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-act.yang deleted file mode 100755 index ee4c37e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-act.yang +++ /dev/null @@ -1,210 +0,0 @@ -module Cisco-IOS-XR-ipv6-ospfv3-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act"; - - prefix "ospfv3-act"; - - import Cisco-IOS-XR-types { prefix "xr"; } - - import ietf-inet-types { prefix "inet"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv6 OSPFv3 action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-14" { - description - "IOS XR 6.2.1 revision."; - } - - rpc clear-ospfv3-routes { - description "Clear OSPFv3 route table"; - input { - container instance { - description "Clear data from OSPFv3 instance"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - type string; - } - } - leaf route { - description "Clear OSPFv3 route table"; - mandatory true; - type empty; - } - } - } - - rpc clear-ospfv3-redistribution { - description "Clear OSPFv3 route redistribution"; - input { - container instance { - description "Clear data from OSPFv3 instance"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - type string; - } - } - leaf redistribution { - description "Clear OSPFv3 route redistribution"; - mandatory true; - type empty; - } - } - } - - rpc clear-ospfv3-process { - description "Clear (reset) OSPFv3 Process"; - input { - container instance { - description "Clear data from OSPFv3 instance"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - type string; - } - } - leaf process { - description "Reset OSPFv3 process"; - mandatory true; - type empty; - } - } - } - - rpc clear-ospfv3-statistics-neighbor { - description "Clear OSPFv3 neighbor statistics per interface or neighbor id"; - input { - container instance { - description "Clear data from OSPFv3 instance"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - type string; - } - } - container neighbor { - leaf neighbor-id { - description "Neighbor ID"; - type inet:ipv4-address; - } - leaf interface-name { - description "Interface"; - type xr:Interface-name; - } - } - } - } - - rpc clear-ospfv3-statistics { - description "Clear OSPFv3 counters and statistics"; - input { - container instance { - description "Clear data from OSPFv3 instance"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - type string; - } - } - leaf prefix-priority { - description "All OSPFv3 counters and statistics"; - type empty; - } - leaf spf { - description "SPF statistics"; - type empty; - } - leaf neighbor { - description "Neighbor statistics per neighbor id"; - type empty; - } - } - } - - grouping OSPFv3-STAT-ATTRIBUTES { - leaf process { - description "Reset OSPFv3 process"; - type empty; - } - leaf redistribution { - description "Clear OSPFv3 route redistrbution"; - type empty; - } - leaf route { - description "Clear OSPFv3 route table"; - type empty; - } - container stats { - description "OSPFv3 counters and statistics"; - leaf spf { - description "SPF statistics"; - type empty; - } - leaf prefix-priority { - description "SPF Prefix Priority statistics"; - type empty; - } - container neighbor { - description "Neighbor statistics per interface or neighbor id"; - leaf neighbor-id { - description "Neighbor ID"; - type inet:ipv4-address; - } - container interface { - leaf interface-name { - description "OSPFv3 interface statistics"; - type xr:Interface-name; - } - } - } - } - } - - rpc clear-ospfv3-instance-vrf { - description "Clear one or more non-default OSPFv3 VRFs in process"; - input { - container instance { - description "OSPFv3 instance name"; - leaf instance-identifier { - description "OSPFv3 process instance identifier"; - mandatory true; - type string; - } - - container vrf { - description "Clear one or more non-default OSPFv3 VRFs in process"; - leaf vrf-name { - description "OSPFv3 VRF name"; - mandatory true; - type string; - } - uses OSPFv3-STAT-ATTRIBUTES; - } - - container all { - description "Clear all non-default OSPFv3 VRFs"; - uses OSPFv3-STAT-ATTRIBUTES; - } - - container all-inclusive { - description "Clear all non-default and default OSPFv3 VRFs"; - uses OSPFv3-STAT-ATTRIBUTES; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang deleted file mode 100644 index d09892e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang +++ /dev/null @@ -1,2801 +0,0 @@ -module Cisco-IOS-XR-ipv6-ospfv3-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg"; - - - prefix "ipv6-ospfv3-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ospfv3 package configuration. - - This module contains definitions - for the following management objects: - ospfv3: OSPFv3 configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-07-14" { - description - "Trace buffer size enum name modified for intelligible."; - } - - revision "2017-06-09" { - description - "Datatype modified to Range for area id, route tag and redistribute tag."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospfv3-protocol { - type enumeration { - enum all { - value 0; - description "All"; - } - enum connected { - value 1; - description "Connected"; - } - enum static { - value 3; - description "Static"; - } - enum bgp { - value 4; - description "BGP"; - } - enum isis { - value 6; - description "ISIS"; - } - enum ospfv3 { - value 7; - description "OSPFv3"; - } - enum eigrp { - value 8; - description "EIGRP"; - } - } - description "Ospfv3 protocol"; - } - typedef Ospfv3-fast-reroute-tiebreakers { - type enumeration { - enum downstream { - value 0; - description "Downstream"; - } - enum line-card-disjoint { - value 1; - description "LC Disjoint"; - } - enum lowest-metric { - value 2; - description "Lowest metric"; - } - enum node-protect { - value 3; - description "Node protection"; - } - enum primary-path { - value 4; - description "Primary path"; - } - enum secondary-path { - value 5; - description "Secondar path"; - } - enum srlg-disjoint { - value 6; - description "SRLG"; - } - } - description "Ospfv3 fast reroute tiebreakers"; - } - typedef Ospfv3isis-route { - type enumeration { - enum level1 { - value 64; - description "IS-IS level-1 routes"; - } - enum level2 { - value 128; - description "IS-IS level-2 routes"; - } - enum level1-and2 { - value 192; - description "IS-IS level-1 and level-2 routes"; - } - } - description "Ospfv3isis route"; - } - typedef Ospfv3bfd-enable-mode { - type enumeration { - enum disable { - value 0; - description "Disable Mode - Prevent inheritance"; - } - enum default { - value 1; - description "Default Mode - Default BFD behavior"; - } - enum strict { - value 2; - description - "Strict Mode - Hold down adj until BFD sesion up"; - } - } - description "Ospfv3bfd enable mode"; - } - typedef Ospfv3-log-adj { - type enumeration { - enum suppress { - value 0; - description "No output"; - } - enum brief { - value 1; - description "Limited output"; - } - enum detail { - value 2; - description "Verbose output"; - } - } - description "Ospfv3 log adj"; - } - typedef Ospfv3-protocol-type2 { - type enumeration { - enum connected { - value 1; - description "Connected"; - } - enum static { - value 3; - description "Static"; - } - enum bgp { - value 4; - description "BGP"; - } - enum isis { - value 6; - description "ISIS"; - } - enum ospfv3 { - value 7; - description "OSPFv3"; - } - enum eigrp { - value 8; - description "EIGRP"; - } - enum subscriber { - value 9; - description "Subscriber"; - } - enum application { - value 10; - description "Application"; - } - enum mobile { - value 11; - description "Mobile"; - } - } - description "Ospfv3 protocol type2"; - } - typedef Ospfv3-metric { - type enumeration { - enum type1 { - value 1; - description "OSPFv3 external type 1 metrics"; - } - enum type2 { - value 2; - description "OSPFv3 external type 2 metrics"; - } - } - description "Ospfv3 metric"; - } - typedef Ospfv3-trace-buf-size { - type enumeration { - enum size0 { - value 0; - description "Disable trace"; - } - enum size256 { - value 256; - description "trace buffer size 256"; - } - enum size512 { - value 512; - description "trace buffer size 512"; - } - enum size1024 { - value 1024; - description "trace buffer size 1024"; - } - enum size2048 { - value 2048; - description "trace buffer size 2048"; - } - enum size4096 { - value 4096; - description "trace buffer size 4096"; - } - enum size8192 { - value 8192; - description "trace buffer size 8192"; - } - enum size16384 { - value 16384; - description "trace buffer size 16384"; - } - enum size32768 { - value 32768; - description "trace buffer size 32768"; - } - enum size65536 { - value 65536; - description "trace buffer size 65536"; - } - } - description "Ospfv3 trace buf size"; - } - typedef Ospfv3-external-route { - type enumeration { - enum external1 { - value 8; - description "External type 1 routes"; - } - enum external2 { - value 16; - description "External type 2 routes"; - } - enum external { - value 24; - description "External (type 1 and 2) routes"; - } - } - description "Ospfv3 external route"; - } - typedef Ospfv3-subsequent-address-family { - type enumeration { - enum unicast { - value 1; - description "Unicast subsequent address family"; - } - } - description "Ospfv3 subsequent address family"; - } - typedef Ospfv3-internal-route { - type enumeration { - enum internal { - value 6; - description "OSPFv3 internal routes"; - } - } - description "Ospfv3 internal route"; - } - typedef Ospfv3-fast-reroute { - type enumeration { - enum none { - value 0; - description "Disable"; - } - enum per-link { - value 1; - description "Per link"; - } - enum per-prefix { - value 2; - description "Per prefix"; - } - } - description "Ospfv3 fast reroute"; - } - typedef Ospfv3-domain-id { - type enumeration { - enum type0005 { - value 5; - description "Type 0x0005"; - } - enum type0105 { - value 261; - description "Type 0x0105"; - } - enum type0205 { - value 517; - description "Type 0x0205"; - } - enum type8005 { - value 32773; - description "Type 0x8005"; - } - } - description "Ospfv3 domain id"; - } - typedef Ospfv3-authentication-type2 { - type enumeration { - enum null { - value 0; - description "NULL authentication"; - } - enum md5 { - value 1; - description "MD5 algorithm"; - } - enum sha1 { - value 2; - description "SHA1 algorithm"; - } - } - description "Ospfv3 authentication type2"; - } - typedef Ospfv3-address-family { - type enumeration { - enum ipv6 { - value 1; - description "IPv6 address family"; - } - } - description "Ospfv3 address family"; - } - typedef Ospfv3-authentication { - type enumeration { - enum md5 { - value 1; - description "MD5 algorithm"; - } - enum sha1 { - value 2; - description "SHA1 algorithm"; - } - } - description "Ospfv3 authentication"; - } - typedef Ospfv3-encryption-algorithm { - type enumeration { - enum null { - value 0; - description "Use NULL encryption"; - } - enum des { - value 1; - description "Use the DES algorithm"; - } - enum 3des { - value 2; - description "Use the triple DES algorithm"; - } - enum aes { - value 3; - description "Use the AES algorithm"; - } - enum aes192 { - value 4; - description "Use the 192-bit AES algorithm"; - } - enum aes256 { - value 5; - description "Use the 256-bit AES algorithm"; - } - } - description "Ospfv3 encryption algorithm"; - } - typedef Ospfv3nsr { - type enumeration { - enum true { - value 1; - description "Enable non-stop routing"; - } - enum false { - value 2; - description "Disable non-stop routing"; - } - } - description "Ospfv3nsr"; - } - typedef Ospfv3nssa-external-route { - type enumeration { - enum external1 { - value 4096; - description "NSSA external type 1 routes"; - } - enum external2 { - value 8192; - description "NSSA external type 2 routes"; - } - enum external { - value 12288; - description "NSSA external (type 1 and 2) routes"; - } - } - description "Ospfv3nssa external route"; - } - typedef Ospfv3-eigrp-route { - type enumeration { - enum internal { - value 16384; - description "EIGRP internal routes"; - } - enum external { - value 32768; - description "EIGRP external routes"; - } - } - description "Ospfv3 eigrp route"; - } - typedef Ospfv3-fast-reroute-priority { - type enumeration { - enum critical { - value 0; - description "Critical"; - } - enum high { - value 1; - description "High"; - } - enum medium { - value 2; - description "Medium"; - } - enum low { - value 3; - description "Low"; - } - } - description "Ospfv3 fast reroute priority"; - } - typedef Ospfv3-network { - type enumeration { - enum broadcast { - value 1; - description "Broadcast multi-access network"; - } - enum non-broadcast { - value 2; - description "Non-broadcast multi-access network"; - } - enum point-to-point { - value 3; - description "Point-to-point network"; - } - enum point-to-multipoint { - value 4; - description "Point-to-multipoint network"; - } - enum non-broadcast-point-to-multipoint { - value 5; - description "Non-broadcast point-to-multipoint network"; - } - } - description "Ospfv3 network"; - } - - grouping REDISTRIBUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container redistributes { - description - "Redistribute information from another routing - protocol"; - - list redistribute { - must "connected-or-static-or-subscriber-or-mobile or bgp or"+ - " ospfv3-or-isis-or-application or eigrp" { - description - "Connected-or-Static-or-Subscriber-or-Mobile or - BGP or OSPFv3-or-ISIS-or-Application or EIGRP - must be present."; - } - key "protocol-name"; - description - "Redistribute information from another routing - protocol"; - - grouping REDISTRIBUTE-CONTENT { - description "REDISTRIBUTE CONTENT"; - leaf internal-route-type { - type Ospfv3-internal-route; - description "Redistribute OSPFv3 routes"; - } - leaf default-metric { - type uint32 { - range "0..16777214"; - } - description "OSPFv3 default metric"; - } - leaf metric-type { - type Ospfv3-metric; - description - "OSPFv3 exterior metric type for redistributed - routes"; - } - leaf tag { - type uint32 { - range "0..4294967295"; - } - description "Tag for routes redistributed into OSPFv3"; - } - leaf route-policy-name { - type string; - description "Route policy to redistribution"; - } - leaf external-route-type { - type Ospfv3-external-route; - description "Redistribute OSPFv3 external routes"; - } - leaf nssa-external-route-type { - type Ospfv3nssa-external-route; - description "Redistribute OSPFv3 NSSA external routes"; - } - leaf redistribute-route { - type boolean; - description "Redistribution of OSPFv3 routes"; - } - leaf isis-route-type { - type Ospfv3isis-route; - description "ISIS route type"; - } - leaf eigrp-route-type { - type Ospfv3-eigrp-route; - description "EIGRP route type"; - } - leaf preserve-med { - type empty; - description - "Preserve (Multi-Exit Discriminator) of BGP - routes"; - } - leaf preserve-med-info { - type empty; - description - "Preserve Information (Multi-Exit - Discriminator) of BGP routes"; - } - } - - container connected-or-static-or-subscriber-or-mobile { - when "../protocol-name = 'connected' or"+ - " ../protocol-name = 'static' or ../protocol-name ="+ - " 'subscriber' or ../protocol-name = 'mobile'" { - description - "../ProtocolName = Connected or . - ./ProtocolName = Static or ../ProtocolName = - Subscriber or ../ProtocolName = Mobile"; - } - presence "Indicates that this node is configured."; - description "connected or static or subscriber or mobile"; - uses REDISTRIBUTE-CONTENT; - } - leaf protocol-name { - type Ospfv3-protocol-type2; - description "Protocol"; - } - - list bgp { - when "../protocol-name = 'bgp'" { - description "../ProtocolName = BGP"; - } - key "as-xx as-yy"; - description "bgp"; - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "4-byte AS number in asdot (X.Y) format - - first half (X)"; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "4-byte AS number in asdot (X.Y) format - - second half (Y), or 2-byte AS number, or - 4-byte AS number in asplain format"; - } - uses REDISTRIBUTE-CONTENT; - } - - list ospfv3-or-isis-or-application { - when "../protocol-name = 'ospfv3' or ../protocol-name ="+ - " 'isis' or ../protocol-name = 'application'" { - description - "../ProtocolName = OSPFv3 or ../ProtocolName - = ISIS or ../ProtocolName = Application"; - } - key "process-name"; - description "ospfv3 or isis or application"; - leaf process-name { - type xr:Cisco-ios-xr-string; - description - "ISIS process name if protocol is ISIS, or - OSPFv3 process name if protocol is OSPFv3"; - } - uses REDISTRIBUTE-CONTENT; - } - - list eigrp { - when "../protocol-name = 'eigrp'" { - description "../ProtocolName = EIGRP"; - } - key "as-xx"; - description "eigrp"; - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "4-byte AS number in asdot (X.Y) format - - first half (X)"; - } - uses REDISTRIBUTE-CONTENT; - } - } - } - } - - grouping DISTANCE { - description "Common node of default-vrf, vrf"; - - container distance { - description "Define an administrative distance"; - - container ospfv3 { - description "OSPFv3 administrative distance"; - leaf intra-area { - type uint32 { - range "1..255"; - } - description "Distance for intra-area routes"; - } - leaf inter-area { - type uint32 { - range "1..255"; - } - description "Distance for inter-area routes"; - } - leaf external { - type uint32 { - range "1..255"; - } - description - "Distance for external type 5 and type 7 routes"; - } - } - leaf administrative { - type uint32 { - range "1..255"; - } - description "Define an administrative distance"; - } - } - } - - grouping DEMAND-CIRCUIT { - description "Common node of default-vrf, vrf"; - leaf demand-circuit { - type boolean; - description "Enable/disable demand circuit operation"; - } - } - - grouping ON-PROC-RESTART { - description "Common node of rbit, v6bit, max-metric"; - leaf on-proc-restart { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time (in seconds) to stay in stub router - operational state"; - } - } - - grouping EXCLUDE-INTERFACE-TABLE { - description "Common node of per-link, per-prefix"; - - container exclude-interfaces { - description - "Fast-reroute per-link/per-prefix exclude - interface configuration"; - - list exclude-interface { - key "interface-name"; - description "Exclude an interface from becoming a backup"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping TRANSMIT-DELAY { - description "Common node of default-vrf, vrf"; - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit delay in seconds"; - } - } - - grouping PASSIVE { - description "Common node of default-vrf, vrf"; - leaf passive { - type boolean; - description "Enable/disable routing updates on an interface"; - } - } - - grouping ALWAYS { - description "Common node of rbit, v6bit, max-metric"; - leaf always { - type empty; - description - "Unconditionally enter stub router operational - state"; - } - } - - grouping AREA-TABLE { - description "Common node of default-vrf, vrf"; - - container area-addresses { - description "Area configuration"; - - grouping AREA-CONTENT { - description "AREA CONTENT"; - - container authentication { - description "Authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec AH authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf algorithm { - type Ospfv3-authentication; - description "Use the MD5 or SHA1 algorithm"; - } - leaf password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container bfd { - description "Configure BFD parameters"; - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description "Detect multiplier"; - } - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description "Hello interval in milli-seconds"; - } - leaf fast-detect-mode { - type Ospfv3bfd-enable-mode; - description "Enable or disable BFD fast detection"; - } - } - - container ranges { - description "Range configuration"; - - list range { - key "prefix prefix-length"; - description - "Summarize inter-area routes matching - prefix/length"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "IPv6 prefix format"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "IPV6 prefix length"; - } - leaf not-advertise { - type boolean; - default "false"; - description "Do not advertise address range"; - } - leaf cost { - type uint32 { - range "1..16777214"; - } - description "Specified metric for this range"; - } - } - } - - container encryption { - description "Encrypt and authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec ESP authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf encryption-algorithm { - type Ospfv3-encryption-algorithm; - description "Specify the encryption algorithm"; - } - leaf encryption-password { - type xr:Proprietary-password; - description "Encryption password"; - } - leaf authentication-algorithm { - type Ospfv3-authentication-type2; - description "Use the NULL, MD5 or SHA1 algorithm"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container nssa { - description - "Specify area as a NSSA area. Allowed only in - non-backbone areas"; - leaf no-redistribution { - type boolean; - default "false"; - description "No redistribution into this NSSA area"; - } - leaf default-info-originate { - type boolean; - default "false"; - description "Originate Type 7 default into NSSA area"; - } - leaf metric { - type uint32 { - range "0..16777214"; - } - description "Only valid with DefaultInfoOriginate"; - } - leaf metric-type { - type Ospfv3-metric; - description "Only valid with DefaultInfoOriginate"; - } - leaf no-summary { - type empty; - description "Do not send summary LSA into NSSA"; - } - } - - container database-filter { - description "Database filter"; - - container all { - description "All"; - leaf out { - type boolean; - description "Enable or disable database-filter"; - } - } - } - - container distribute-list { - description "Filter prefixes to/from RIB"; - - container in { - description "Filter prefixes installed to RIB"; - leaf prefix-list { - type string; - description - "Filter prefixes based on an IPv6 prefix-list"; - } - } - } - - container interfaces { - description "OSPFv3 interfaces"; - - list interface { - key "interface-name"; - description "OSPFv3 interface"; - - container authentication { - description "Authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec AH authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf algorithm { - type Ospfv3-authentication; - description "Use the MD5 or SHA1 algorithm"; - } - leaf password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container neighbors { - description "Specify a neighbor router"; - - list neighbor { - key "neighbor-address"; - description "IPv6 address"; - leaf neighbor-address { - type xr:Cisco-ios-xr-string; - description "IPV6 address"; - } - leaf priority { - type uint32 { - range "0..255"; - } - description - "OSPFv3 priority of non-broadcast neighbor"; - } - leaf poll-interval { - type uint32 { - range "0..65535"; - } - units "second"; - description - "OSPFv3 dead-router polling interval (in - seconds)"; - } - leaf cost { - type uint32 { - range "1..65535"; - } - description - "OSPFv3 cost for point-to-multipoint - neighbor"; - } - leaf database-filter { - type boolean; - description - "Filter OSPFv3 LSA during synchronization - and flooding for point-to-multipoint - neighbor"; - } - leaf zone { - type string; - description "Zone"; - } - } - } - - container encryption { - description "Encrypt and authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec ESP authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf encryption-algorithm { - type Ospfv3-encryption-algorithm; - description "Specify the encryption algorithm"; - } - leaf encryption-password { - type xr:Proprietary-password; - description "Encryption password"; - } - leaf authentication-algorithm { - type Ospfv3-authentication-type2; - description "Use the NULL, MD5 or SHA1 algorithm"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container bfd { - description "Configure BFD parameters"; - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description "Hello interval in milli-seconds"; - } - leaf fast-detect-mode { - type Ospfv3bfd-enable-mode; - description "Enable or disable BFD fast detection"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description "Detect multiplier"; - } - } - - container database-filter { - description "Database filter"; - - container all { - description "All"; - leaf out { - type boolean; - description "Enable or disable database-filter"; - } - } - } - - container distribute-list { - description "Filter prefixes to/from RIB"; - - container in { - description "Filter prefixes installed to RIB"; - leaf prefix-list { - type string; - description - "Filter prefixes based on an IPv6 - prefix-list"; - } - } - } - leaf enable { - type empty; - description "Enable OSPFv3 interface"; - } - leaf dead-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval after which a neighbor is declared - dead (in seconds)"; - } - leaf flood-reduction { - type boolean; - description "Enable/disable flood reduction"; - } - leaf cost { - type uint32 { - range "1..65535"; - } - description "Interface cost"; - } - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit delay in seconds"; - } - leaf instance { - type uint32 { - range "0..255"; - } - description "Instance ID"; - } - leaf ldp-sync { - type boolean; - description "Enable/Disable MPLS LDP sync"; - } - leaf mtu-ignore { - type boolean; - description - "Enable/disable ignoring of MTU in DBD - packets"; - } - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Specify the transmit interval in seconds"; - } - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Time between HELLO packets"; - } - leaf passive { - type boolean; - description - "Enable/disable routing updates on an - interface"; - } - leaf packet-size { - type uint32 { - range "256..10000"; - } - description "Limit size of OSPFv3 packets"; - } - leaf prefix-suppression { - type boolean; - description - "Enable/disable prefix suppression on an - interface"; - } - leaf priority { - type uint32 { - range "0..255"; - } - description "Specify router priority"; - } - leaf network { - type Ospfv3-network; - description "Specify network type"; - } - leaf demand-circuit { - type boolean; - description "Enable/disable demand circuit operation"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface to configure"; - } - uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; - } - } - - container area-scope { - description "Area Scope Configuration"; - uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; - } - - container sham-links { - description "Sham Link sub-mode"; - - list sham-link { - key "source-address destination-address"; - description "ShamLink local and remote endpoints"; - - container authentication { - description "Authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec AH authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf algorithm { - type Ospfv3-authentication; - description "Use the MD5 or SHA1 algorithm"; - } - leaf password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container encryption { - description "Encrypt and authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec ESP authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf encryption-algorithm { - type Ospfv3-encryption-algorithm; - description "Specify the encryption algorithm"; - } - leaf encryption-password { - type xr:Proprietary-password; - description "Encryption password"; - } - leaf authentication-algorithm { - type Ospfv3-authentication-type2; - description "Use the NULL, MD5 or SHA1 algorithm"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - leaf enable { - type empty; - description "Enable sham link"; - } - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Time between HELLO packets"; - } - leaf dead-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval after which a neighbor is declared - dead (in seconds)"; - } - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Specify the transmit interval in seconds"; - } - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit delay in seconds"; - } - leaf source-address { - type inet:ipv6-address-no-zone; - description "Local sham-link endpoint"; - } - leaf destination-address { - type inet:ipv6-address-no-zone; - description "Remote sham-link endpoint"; - } - } - } - - container virtual-links { - description "Virtual link sub-mode"; - - list virtual-link { - key "virtual-link-address"; - description "Router ID of virtual link neighbor"; - - container authentication { - description "Authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec AH authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf algorithm { - type Ospfv3-authentication; - description "Use the MD5 or SHA1 algorithm"; - } - leaf password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - - container encryption { - description "Encrypt and authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec ESP authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf encryption-algorithm { - type Ospfv3-encryption-algorithm; - description "Specify the encryption algorithm"; - } - leaf encryption-password { - type xr:Proprietary-password; - description "Encryption password"; - } - leaf authentication-algorithm { - type Ospfv3-authentication-type2; - description "Use the NULL, MD5 or SHA1 algorithm"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - leaf enable { - type empty; - description "Enabled virtual link"; - } - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Time between HELLO packets"; - } - leaf dead-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval after which a neighbor is declared - dead (in seconds)"; - } - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Specify the transmit interval in seconds"; - } - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit delay in seconds"; - } - leaf virtual-link-address { - type inet:ipv4-address-no-zone; - description "Router ID of virtual link neighbor"; - } - } - } - leaf stub { - type boolean; - description - "Specify area as a stub area. Allowed only in - non-backbone areas"; - } - leaf packet-size { - type uint32 { - range "256..10000"; - } - description "Limit size of OSPFv3 packets"; - } - leaf instance { - type uint32 { - range "0..255"; - } - description "Instance ID"; - } - leaf demand-circuit { - type boolean; - description "Enable/disable demand circuit operation"; - } - leaf priority { - type uint32 { - range "0..255"; - } - description "Specify router priority"; - } - leaf prefix-suppression { - type boolean; - description - "Enable/disable prefix suppression on an - interface"; - } - leaf enable { - type empty; - description "Enable OSPFv3 area"; - } - leaf mtu-ignore { - type boolean; - description - "Enable/disable ignoring of MTU in DBD packets"; - } - leaf passive { - type boolean; - description - "Enable/disable routing updates on an interface"; - } - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Time between HELLO packets"; - } - leaf dead-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval after which a neighbor is declared - dead (in seconds)"; - } - leaf default-cost { - type uint32 { - range "0..16777215"; - } - description - "Set the summary default-cost of a NSSA/stub - area"; - } - leaf flood-reduction { - type boolean; - description "Enable/disable flood reduction"; - } - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit interval in seconds"; - } - leaf ldp-sync { - type boolean; - description "Enable/Disable MPLS LDP sync"; - } - leaf network { - type Ospfv3-network; - description "Specify network type"; - } - leaf transmit-delay { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit delay in seconds"; - } - leaf cost { - type uint32 { - range "1..65535"; - } - description "Interface cost"; - } - } - - list area-address { - key "address"; - description "Configuration for a particular area"; - leaf address { - type inet:ipv4-address-no-zone; - description "Area ID if in IP address format"; - } - uses AREA-CONTENT; - } - - list area-area-id { - key "area-id"; - description "Configuration for a particular area"; - leaf area-id { - type uint32 { - range "0..4294967295"; - } - description "Area ID if in integer format"; - } - uses AREA-CONTENT; - } - } - } - - grouping AUTO-COST { - description "Common node of default-vrf, vrf"; - - container auto-cost { - presence "enable auto-cost"; - description "Calculate interface cost according to bandwidth"; - leaf disable { - type empty; - description - "Specify 'true' to assign cost based on - interface type"; - } - leaf reference-bandwidth { - type uint32 { - range "1..4294967"; - } - units "Mbit/s"; - description - "Specify reference bandwidth for cost - computations in terms of Mbits per second"; - } - } - } - - grouping TIMERS { - description "Common node of default-vrf, vrf"; - - container timers { - description "Adjust routing timers"; - - container pacing { - description "Pacing timers"; - leaf flood { - type uint32 { - range "5..100"; - } - units "millisecond"; - description - "The minimum interval in milliseconds to pace - limit flooding on interface"; - } - leaf retransmission { - type uint32 { - range "5..100"; - } - description - "The minimum interval in msec between neighbor - retransmissions"; - } - leaf lsa-group { - type uint32 { - range "10..1800"; - } - units "second"; - description - "Interval in seconds at which LSAs are grouped - and refreshed, checksummed, or aged"; - } - } - - container lsa-timers { - description "LSA timers"; - leaf arrival { - type uint32 { - range "0..60000"; - } - units "millisecond"; - description - "The minimum interval in milliseconds between - accepting the same LSA"; - } - } - - container throttle { - description "Throttle timers"; - - container lsa { - description - "LSA throttle timers for all types of OSPF LSAs"; - leaf first-delay { - type uint32 { - range "0..600000"; - } - units "millisecond"; - description - "Delay to generate first occurrence of LSA in - milliseconds"; - } - leaf minimum-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - description - "Minimum delay between originating the same - LSA in milliseconds"; - } - leaf maximum-delay { - type uint32 { - range "1..600000"; - } - units "millisecond"; - description - "Maximum delay between originating the same - LSA in milliseconds"; - } - } - - container spf { - description "SPF throttle timers"; - leaf first-delay { - type uint32 { - range "1..600000"; - } - description - "Initial delay between receiving a change and - starting SPF in ms"; - } - leaf minimum-delay { - type uint32 { - range "1..600000"; - } - description - "Minimum hold time between consecutive SPF - calculations in ms"; - } - leaf maximum-delay { - type uint32 { - range "1..600000"; - } - description - "Maximum wait time between consecutive SPF - calculations in ms"; - } - } - } - } - } - - grouping LOG-ADJACENCY-CHANGES { - description "Common node of default-vrf, vrf"; - leaf log-adjacency-changes { - type Ospfv3-log-adj; - description "Log changes in adjacency state"; - } - } - - grouping ON-PROC-MIGRATION { - description "Common node of rbit, v6bit, max-metric"; - leaf on-proc-migration { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time (in seconds) to stay in stub router - operational state"; - } - } - - grouping DEFAULT-INFORMATION { - description "Common node of default-vrf, vrf"; - - container default-information { - description "Control distribution of default information"; - - container originate { - presence "Indicates a originate node is configured."; - description "Distribute a default route"; - leaf always { - type boolean; - mandatory true; - description "Always advertise default route"; - } - leaf metric { - type uint32 { - range "0..16777214"; - } - description "OSPFv3 default metric"; - } - leaf metric-type { - type uint32 { - range "1..2"; - } - description "OSPFv3 metric type for default routes"; - } - leaf tag { - type uint32 { - range "0..4294967295"; - } - description "Tag for default route"; - } - leaf route-policy-name { - type string; - description - "Route policy to default-information - origination"; - } - } - } - } - - grouping STUB-ROUTER { - description "Common node of default-vrf, vrf"; - - container stub-router { - description "Stub router configuration"; - - container rbit { - description "Stub router R-bit configuration"; - uses ON-SWITCHOVER; - uses ALWAYS; - uses EXTERNAL-LSA; - uses ON-STARTUP; - uses INCLUDE-STUB; - uses ENABLE; - uses ON-PROC-MIGRATION; - uses ON-PROC-RESTART; - uses SUMMARY-LSA; - } - - container v6bit { - description "Stub router V6-bit configuration"; - uses ON-SWITCHOVER; - uses ALWAYS; - uses EXTERNAL-LSA; - uses ON-STARTUP; - uses INCLUDE-STUB; - uses ENABLE; - uses ON-PROC-MIGRATION; - uses ON-PROC-RESTART; - uses SUMMARY-LSA; - } - - container max-metric { - description "Stub router max-metric configuration"; - uses ON-SWITCHOVER; - uses ALWAYS; - uses EXTERNAL-LSA; - uses ON-STARTUP; - uses INCLUDE-STUB; - uses ENABLE; - uses ON-PROC-MIGRATION; - uses ON-PROC-RESTART; - uses SUMMARY-LSA; - } - } - } - - grouping INCLUDE-STUB { - description "Common node of rbit, v6bit, max-metric"; - leaf include-stub { - type empty; - description - "Advertise stub links with maximum metric in stub - router mode"; - } - } - - grouping IGNORE { - description "Common node of default-vrf, vrf"; - - container ignore { - description "Do not complain about a specified event"; - - container lsa { - description - "Do not complain upon receiving LSA of the - specified type"; - leaf mospf { - type empty; - description "Enable ignore of MOSPF type 6 LSA"; - } - } - } - } - - grouping DATABASE-FILTER { - description "Common node of default-vrf, vrf"; - - container database-filter { - description "Database filter"; - - container all { - description "All"; - leaf out { - type empty; - description "Enable out"; - } - } - } - } - - grouping CANDIDATE-INTERFACE-TABLE { - description "Common node of per-link, per-prefix"; - - container candidate-interfaces { - description - "Fast-reroute per-link/per-prefix candidate - interface configuration"; - - list candidate-interface { - key "interface-name"; - description "Candidate backup interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - } - } - } - - grouping ENCRYPTION { - description "Common node of default-vrf, vrf"; - - container encryption { - description "Encrypt and authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec ESP authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf encryption-algorithm { - type Ospfv3-encryption-algorithm; - description "Specify the encryption algorithm"; - } - leaf encryption-password { - type xr:Proprietary-password; - description "Encryption password"; - } - leaf authentication-algorithm { - type Ospfv3-authentication-type2; - description "Use the NULL, MD5 or SHA1 algorithm"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - } - - grouping AUTHENTICATION { - description "Common node of default-vrf, vrf"; - - container authentication { - description "Authenticate OSPFv3 packets"; - leaf enable { - type boolean; - description "Authenticate packets"; - } - leaf spi { - type uint32 { - range "256..4294967295"; - } - description - "Use IPSec AH authentication. Specify the - Security Parameter Index (SPI) value"; - } - leaf algorithm { - type Ospfv3-authentication; - description "Use the MD5 or SHA1 algorithm"; - } - leaf password { - type xr:Proprietary-password; - description "Specify MD5 or SHA1 password"; - } - } - } - - grouping SUMMARY-LSA { - description "Common node of rbit, v6bit, max-metric"; - leaf summary-lsa { - type uint32 { - range "1..16777214"; - } - default "16711680"; - description - "Advertise summary LSAs with modified metric in - stub router mode"; - } - } - - grouping DISTRIBUTE-LIST-OUT { - description "Common node of default-vrf, vrf"; - - container distribute-list-out { - description "Filter prefixes from RIB "; - - container distribute-outs { - description "Filter generated type-5 LSAs"; - - list distribute-out { - must "as-yy-and-as-xx-and-process-name" { - description - "as-yy-and-as-xx-and-process-name must be - present."; - } - key "protocol-name"; - description "Filter generated type-5 LSAs"; - leaf protocol-name { - type Ospfv3-protocol; - description "none"; - } - - list as-yy-and-as-xx-and-process-name { - when "../protocol-name = 'all'" { - description "../protocol-name = all"; - } - key "as-yy as-xx process-name"; - description "keys: as-yy, as-xx, process-name"; - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "4-byte AS number in asdot (X.Y) format - - second half (Y), or 2-byte AS number, or - 4-byte AS number in asplain format"; - } - leaf as-xx { - type uint32 { - range "1..65535"; - } - description - "4-byte AS number in asdot (X.Y) format - - first half (X)"; - } - leaf process-name { - type xr:Cisco-ios-xr-string; - description - "If ISIS or OSPFv3, specify the instance name"; - } - leaf prefix-list { - type string; - mandatory true; - description "Prefix-list name"; - } - } - } - } - } - } - - grouping DISTRIBUTE-LIST { - description - "Common node of default-vrf, vrfCommon node of - default-vrf, vrf"; - - container distribute-list { - description "Filter prefixes to/from RIB"; - - container in { - description "Filter prefixes installed to RIB"; - leaf prefix-list { - type string; - description - "Filter prefixes based on an IPv6 prefix-list"; - } - } - } - } - - grouping COST { - description "Common node of default-vrf, vrf"; - leaf cost { - type uint32 { - range "1..65535"; - } - description "Interface cost"; - } - } - - grouping PACKET-SIZE { - description "Common node of default-vrf, vrf"; - leaf packet-size { - type uint32 { - range "256..10000"; - } - description "Limit size of OSPFv3 packets"; - } - } - - grouping FAST-REROUTE { - description "Common node of default-vrf, vrf"; - - container fast-reroute { - description "Fast-reroute instance scoped parameters"; - - container per-link { - description "Fast-reroute per-link global configuration"; - uses PRIORITY; - } - - container per-prefix { - description "Fast-reroute per-prefix global configuration"; - - container tiebreakers { - description "Fast-reroute tiebreakers configurations"; - - list tiebreaker { - key "tiebreaker-type"; - description "Fast-reroute tiebreakers configuration"; - leaf tiebreaker-type { - type Ospfv3-fast-reroute-tiebreakers; - description "Tiebreaker type"; - } - leaf tiebreaker-index { - type uint32 { - range "1..255"; - } - mandatory true; - description "Index value for a tiebreaker"; - } - } - } - leaf load-sharing-disable { - type empty; - description - "Disable load sharing between multiple backups"; - } - uses PRIORITY; - } - } - } - - grouping IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE { - description - "Common node of default-vrf, vrfCommon node of - process-scope, area-scope, interface"; - - container fast-reroute { - description "Fast-reroute configuration"; - - container per-link { - description "Fast-reroute per-link configuration"; - uses FAST-REROUTE-USE-CANDIDATE-ONLY; - uses CANDIDATE-INTERFACE-TABLE; - uses EXCLUDE-INTERFACE-TABLE; - } - - container per-prefix { - description "Fast-reroute per-link configuration"; - uses FAST-REROUTE-USE-CANDIDATE-ONLY; - uses CANDIDATE-INTERFACE-TABLE; - uses EXCLUDE-INTERFACE-TABLE; - } - leaf fast-reroute-enable { - type Ospfv3-fast-reroute; - description - "Enable/Disable Fast-reroute per-link or - per-prefix"; - } - } - } - - grouping SUMMARY-PREFIX-TABLE { - description "Common node of default-vrf, vrf"; - - container summary-prefixes { - description - "Summarize redistributed routes matching - prefix/length"; - - list summary-prefix { - key "prefix prefix-length"; - description "IPv6 address"; - leaf prefix { - type xr:Cisco-ios-xr-string; - description "IPv6 prefix string format"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "IPV6 prefix length"; - } - leaf not-advertise { - type boolean; - description "Suppress routes matching prefix/length"; - } - leaf tag { - type uint32 { - range "1..4294967295"; - } - description "Tag"; - } - } - } - } - - grouping ENABLE { - description "Common node of rbit, v6bit, max-metric"; - leaf enable { - type empty; - description "Enabled stub router configuration mode"; - } - } - - grouping MAXIMUM { - description "Common node of default-vrf, vrf"; - - container maximum { - description "Set OSPFv3 limits"; - - container redistributed-prefixes { - description "Limit number of redistributed prefixes"; - leaf prefixes { - type uint32 { - range "1..4294967295"; - } - description - "Maximum number of prefixes redistributed to - protocol"; - } - leaf threshold { - type uint32 { - range "1..100"; - } - description - "Threshold value (%) at which to generate a - warning message"; - } - leaf warning-only { - type empty; - description - "Only give warning message when limit is - exceeded"; - } - } - leaf interfaces { - type uint32 { - range "1..4294967295"; - } - description "Specify maximum number of interfaces"; - } - leaf paths { - type uint32 { - range "1..64"; - } - description "Specify maximum number of paths per route"; - } - } - } - - grouping NETWORK { - description "Common node of default-vrf, vrf"; - leaf network { - type Ospfv3-network; - description "Specify network type"; - } - } - - grouping EXTERNAL-LSA { - description "Common node of rbit, v6bit, max-metric"; - leaf external-lsa { - type uint32 { - range "1..16777214"; - } - default "16711680"; - description - "Advertise external LSAs with modified metric in - stub router mode"; - } - } - - grouping HELLO-INTERVAL { - description "Common node of default-vrf, vrf"; - leaf hello-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Time between HELLO packets"; - } - } - - grouping PROCESS-SCOPE { - description "Common node of default-vrf, vrf"; - - container process-scope { - description "Process scope configuration"; - uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; - } - } - - grouping SPF-PREFIX-PRIORITY-POLICY { - description "Common node of default-vrf, vrf"; - leaf spf-prefix-priority-policy { - type string; - description "Route policy for SPF prefix prioritization"; - } - } - - grouping MTU-IGNORE { - description "Common node of default-vrf, vrf"; - leaf mtu-ignore { - type boolean; - description "Enable/disable ignoring of MTU in DBD packets"; - } - } - - grouping FAST-REROUTE-USE-CANDIDATE-ONLY { - description "Common node of per-link, per-prefix"; - leaf fast-reroute-use-candidate-only { - type boolean; - default "false"; - description - "Use only interfaces on the candidate list as a - backup path"; - } - } - - grouping GRACEFUL-RESTART { - description "Common node of default-vrf, vrf"; - - container graceful-restart { - description "Graceful restart configuration"; - leaf interval { - type uint32 { - range "90..3600"; - } - units "second"; - description - "Minimum interval between graceful restarts - (seconds)"; - } - leaf strict-lsa-checking { - type empty; - description - "Terminate graceful restart helper mode if LSA - changed"; - } - leaf helper { - type empty; - description "Disable router's helper support"; - } - leaf enable { - type empty; - description "Enable graceful restart"; - } - leaf lifetime { - type uint32 { - range "90..1800"; - } - units "second"; - description - "Maximum route lifetime following restart - (seconds)"; - } - } - } - - grouping BFD { - description "Common node of default-vrf, vrf"; - - container bfd { - description "Configure BFD parameters"; - leaf interval { - type uint32 { - range "3..30000"; - } - units "millisecond"; - description "Hello interval in milli-seconds"; - } - leaf detection-multiplier { - type uint32 { - range "2..50"; - } - description "Detect multiplier"; - } - leaf fast-detect-mode { - type Ospfv3bfd-enable-mode; - description "Enable or disable BFD fast detection"; - } - } - } - - grouping SNMP { - description "Common node of default-vrf, vrf"; - - container snmp { - description "SNMP configuration"; - - container trap-rate-limit { - description "SNMP trap rate configuration"; - leaf window-size { - type uint32 { - range "2..60"; - } - description "Trap rate limit sliding window size"; - } - leaf max-window-traps { - type uint32 { - range "0..300"; - } - description "Max number of traps sent in window time"; - } - } - leaf context { - type string; - description "SNMP context configuration"; - } - } - } - - grouping ON-STARTUP { - description "Common node of rbit, v6bit, max-metric"; - - container on-startup { - description "Enter stub router operational state on startup"; - leaf wait-for-bgp { - type boolean; - default "false"; - description - "Wait until BGP converges (only applicable to - default VRF)"; - } - leaf wait-time { - when "../wait-for-bgp = 0" { - description "../WaitForBGP = "; - } - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time (in seconds) to stay in stub router - operational state"; - } - } - } - - grouping FLOOD-REDUCTION { - description "Common node of default-vrf, vrf"; - leaf flood-reduction { - type boolean; - description "Enable/disable flood reduction"; - } - } - - grouping ON-SWITCHOVER { - description "Common node of rbit, v6bit, max-metric"; - leaf on-switchover { - type uint32 { - range "5..86400"; - } - units "second"; - description - "Time (in seconds) to stay in stub router - operational state"; - } - } - - grouping DEAD-INTERVAL { - description "Common node of default-vrf, vrf"; - leaf dead-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description - "Interval after which a neighbor is declared dead - (in seconds)"; - } - } - - grouping INSTANCE { - description "Common node of default-vrf, vrf"; - leaf instance { - type uint32 { - range "0..255"; - } - description "Instance ID"; - } - } - - grouping ROUTER-ID { - description "Common node of default-vrf, vrf"; - leaf router-id { - type inet:ipv4-address-no-zone; - description - "Specify the router ID for this OSPFv3 process in - IPv4 address format"; - } - } - - grouping DEFAULT-METRIC { - description "Common node of default-vrf, vrf"; - leaf default-metric { - type uint32 { - range "1..16777214"; - } - description "Set metric of redistributed routes"; - } - } - - grouping RETRANSMIT-INTERVAL { - description "Common node of default-vrf, vrf"; - leaf retransmit-interval { - type uint32 { - range "1..65535"; - } - units "second"; - description "Specify the transmit interval in seconds"; - } - } - - grouping PRIORITY { - description "Common node of per-link, per-prefix"; - leaf priority { - type Ospfv3-fast-reroute-priority; - description - "Fast-reroute per-link/per-prefix priority-limit - command"; - } - } - - grouping IPV6-OSPFV3-CFG-PRIORITY { - description - "Common node of per-link, per-prefixCommon node of - default-vrf, vrf"; - leaf priority { - type uint32 { - range "0..255"; - } - description "Specify router priority"; - } - } - - container ospfv3 { - description "OSPFv3 configuration"; - - container processes { - description "OSPFv3 processes"; - - list process { - key "process-name"; - description "An OSPFv3 process"; - - container default-vrf { - description "Default VRF related configuration"; - leaf ldp-sync { - type boolean; - description "Enable/Disable MPLS LDP sync"; - } - leaf prefix-suppression { - type boolean; - description - "Enable/disable prefix suppression on an - interface"; - } - leaf spf-prefix-priority-disable { - type empty; - description "SPF prefix prioritization disabled"; - } - uses AREA-TABLE; - uses TIMERS; - uses SUMMARY-PREFIX-TABLE; - uses SNMP; - uses FAST-REROUTE; - uses RETRANSMIT-INTERVAL; - uses DISTANCE; - uses PASSIVE; - uses DEFAULT-METRIC; - uses FLOOD-REDUCTION; - uses MAXIMUM; - uses REDISTRIBUTE-TABLE; - uses IGNORE; - uses DISTRIBUTE-LIST-OUT; - uses DISTRIBUTE-LIST; - uses HELLO-INTERVAL; - uses STUB-ROUTER; - uses IPV6-OSPFV3-CFG-PRIORITY; - uses BFD; - uses COST; - uses DEAD-INTERVAL; - uses PACKET-SIZE; - uses INSTANCE; - uses SPF-PREFIX-PRIORITY-POLICY; - uses DATABASE-FILTER; - uses ROUTER-ID; - uses NETWORK; - uses MTU-IGNORE; - uses LOG-ADJACENCY-CHANGES; - uses AUTHENTICATION; - uses DEMAND-CIRCUIT; - uses GRACEFUL-RESTART; - uses DEFAULT-INFORMATION; - uses PROCESS-SCOPE; - uses ENCRYPTION; - uses AUTO-COST; - uses TRANSMIT-DELAY; - } - - container vrfs { - description "VRF related configuration"; - - list vrf { - key "vrf-name"; - description "Configuration for a particular OSPF VRF"; - - container capability { - description "OSPFv3 Capability"; - leaf vrf-lite { - type boolean; - description "Enable VRF Lite"; - } - } - - container domain-id { - description "OSPFv3 Domain ID"; - - container secondary-domain-ids { - description "Secondary domain ID Table"; - - list secondary-domain-id { - key "domain-id-type domain-id-name"; - description "OSPF Secondary domain ID"; - leaf domain-id-type { - type Ospfv3-domain-id; - description "Secondary domain ID type"; - } - leaf domain-id-name { - type xr:Cisco-ios-xr-string; - description "Secondary domain ID value"; - } - } - } - - container primary-domain-id { - description "OSPF Primary domain ID"; - leaf domain-id-type { - type Ospfv3-domain-id; - description "Primary domain ID type"; - } - leaf domain-id-name { - type string; - description "Primary domain ID value"; - } - } - } - leaf enable { - type empty; - description "Enable OSPFv3 VRF configuration"; - } - leaf snmpvrf-trap { - type empty; - description "Enable SNMP trap configuration in a VRF"; - } - leaf prefix-suppression { - type boolean; - description - "Enable/disable prefix suppression on an - interface"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name for this VRF"; - } - uses AREA-TABLE; - uses TIMERS; - uses SUMMARY-PREFIX-TABLE; - uses SNMP; - uses FAST-REROUTE; - uses RETRANSMIT-INTERVAL; - uses DISTANCE; - uses PASSIVE; - uses DEFAULT-METRIC; - uses FLOOD-REDUCTION; - uses MAXIMUM; - uses REDISTRIBUTE-TABLE; - uses IGNORE; - uses DISTRIBUTE-LIST-OUT; - uses DISTRIBUTE-LIST; - uses HELLO-INTERVAL; - uses STUB-ROUTER; - uses IPV6-OSPFV3-CFG-PRIORITY; - uses BFD; - uses COST; - uses DEAD-INTERVAL; - uses PACKET-SIZE; - uses INSTANCE; - uses SPF-PREFIX-PRIORITY-POLICY; - uses DATABASE-FILTER; - uses ROUTER-ID; - uses NETWORK; - uses MTU-IGNORE; - uses LOG-ADJACENCY-CHANGES; - uses AUTHENTICATION; - uses DEMAND-CIRCUIT; - uses GRACEFUL-RESTART; - uses DEFAULT-INFORMATION; - uses PROCESS-SCOPE; - uses ENCRYPTION; - uses AUTO-COST; - uses TRANSMIT-DELAY; - } - } - - container af { - presence "Indicates a af node is configured."; - description "Address Family (AF)"; - leaf af-name { - type Ospfv3-address-family; - mandatory true; - description "Address Family (AF) identifier"; - } - leaf saf-name { - type Ospfv3-subsequent-address-family; - description - "Subsequent Address Family (SAF) identifier"; - } - } - - container trace-bufs { - description - "Configuration to change size of trace buffer"; - - list trace-buf { - key "trace-buf-name"; - description - "Changes the size of the specified trace - buffer"; - leaf trace-buf-name { - type xr:Cisco-ios-xr-string; - description "Name for this trace buffer"; - } - leaf bufsize { - type Ospfv3-trace-buf-size; - mandatory true; - description "Buffer size"; - } - } - } - leaf nsr { - type Ospfv3nsr; - default "true"; - description "Enable non-stop routing"; - } - leaf protocol-shutdown { - type empty; - description "Enable protocol shutdown"; - } - leaf enable { - type empty; - description "Enable OSPFv3"; - } - leaf process-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "OSPFv3 process name"; - } - } - } - leaf dns-name-lookup { - type empty; - description "Enable OSPFv3 router IDs as DNS names"; - } - } - - augment "/a1:snmp/a1:notification" { - - container ospfv3 { - description "OSPFv3-MIB notification configuration"; - - container error { - description "SNMP notifications for OSPF errors"; - leaf config-error { - type empty; - description "Enable ospfv3IfConfigError notification"; - } - leaf bad-packet { - type empty; - description "Enable ospfv3IfRxBadPacket notification"; - } - leaf virtual-bad-packet { - type empty; - description "Enable ospfv3VirtIfRxBadPacket notification"; - } - leaf virtual-config-error { - type empty; - description "Enable ospfv3VirtIfConfigError notification"; - } - } - - container state-change { - description "SNMP notifications for OSPF state change"; - leaf restart-virtual-helper { - type empty; - description - "Enable ospfv3VirtNbrRestartHelperStatusChange - notification"; - } - leaf nssa-translator { - type empty; - description - "Enable ospfv3NssaTranslatorStatusChange - notification"; - } - leaf interface { - type empty; - description "Enable ospfv3IfStateChange notification"; - } - leaf restart { - type empty; - description - "Enable ospfv3RestartStatusChange notification"; - } - leaf neighbor { - type empty; - description "Enable ospfv3NbrStateChange notification"; - } - leaf virtual-interface { - type empty; - description "Enable ospfv3VirtIfStateChange notification"; - } - leaf restart-helper { - type empty; - description - "Enable ospfv3NbrRestartHelperStatusChange - notification"; - } - leaf virtual-neighbor { - type empty; - description - "Enable ospfv3VirtNbrStateChange notification"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang deleted file mode 100644 index f512ee8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang +++ /dev/null @@ -1,4105 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-ospfv3-oper-sub1 { - - belongs-to Cisco-IOS-XR-ipv6-ospfv3-oper { - prefix Cisco-IOS-XR-ipv6-ospfv3-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ospfv3 package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospf-nsr-sched-pri { - type enumeration { - enum ospf-nsr-stats-sched-pri-hi { - value 0; - description "ospf nsr stats sched pri hi"; - } - enum ospf-nsr-stats-sched-pri-med { - value 1; - description "ospf nsr stats sched pri med"; - } - enum ospf-nsr-stats-sched-pri-low { - value 2; - description "ospf nsr stats sched pri low"; - } - enum ospf-nsr-stats-sched-pri-max { - value 3; - description "ospf nsr stats sched pri max"; - } - } - description "Ospf nsr sched pri"; - } - typedef Ospfv3-graceful-shutdown-state { - type enumeration { - enum init { - value 0; - description "Init"; - } - enum normal { - value 1; - description "Normal"; - } - enum flushing { - value 2; - description "Flushing"; - } - enum empty-hellos { - value 3; - description "Empty Hellos"; - } - enum quiet { - value 4; - description "Quiet"; - } - } - description "Graceful Shutdown state"; - } - typedef Ipfrr-tbrkr { - type enumeration { - enum downstream { - value 0; - description "Downsteram"; - } - enum line-card-disjoint { - value 1; - description "LC Disjoint"; - } - enum backup-metric { - value 2; - description "Backup metric"; - } - enum node-protect { - value 3; - description "Node protection"; - } - enum primary-path { - value 4; - description "Primary path"; - } - enum secondary-path { - value 5; - description "Secondary path"; - } - enum srlg-disjoint { - value 6; - description "SRLG disjoint"; - } - enum tunnel { - value 7; - description "Tunnel"; - } - } - description "FRR Tiebreakers"; - } - typedef Stub-router-abr-off-reason { - type enumeration { - enum init-delay { - value 2; - description - "Initial delay when stub router mode is - activated"; - } - enum no-neighbor { - value 3; - description "No neighbor present"; - } - enum no-full-neighbor { - value 4; - description "No neighbor in FULL state present"; - } - enum new-neighbor { - value 5; - description - "A new neighbor discovered less than 60 seconds - ago"; - } - enum full-neighbor { - value 6; - description - "A neighbor transitioned to FULL state less than - 60 seconds ago"; - } - } - description "Reason to exiting stub router mode"; - } - typedef Stub-router-exit-reason { - type enumeration { - enum none { - value 0; - description "No reason"; - } - enum bgp { - value 1; - description "BGP has converged"; - } - enum timer { - value 2; - description "Stub Router timer has expired"; - } - enum configuration { - value 3; - description "Configuration has changed"; - } - enum cleared { - value 4; - description "Process has been cleared"; - } - enum override { - value 5; - description "Preempted by always"; - } - } - description "Reason to exiting stub router mode"; - } - typedef Stub-router-trigger { - type enumeration { - enum on-proc-migration { - value 0; - description "Process migration"; - } - enum on-proc-restart { - value 1; - description "Process restart"; - } - enum on-switchover { - value 2; - description "RP switchover"; - } - enum on-startup { - value 3; - description "Router startup"; - } - enum always { - value 4; - description "Always on"; - } - enum none { - value 5; - description "No trigger"; - } - } - description "Trigger for entering stub router mode"; - } - typedef Stub-router-mode { - type enumeration { - enum rbit { - value 0; - description "Stub Router mode r-bit"; - } - enum v6bit { - value 1; - description "Stub Router mode v6-bit"; - } - enum max-metric { - value 2; - description "Stub Router mode max-metric"; - } - enum none { - value 3; - description "Stub Router not configured"; - } - } - description "Stub Router mode"; - } - typedef Ospfv3-interface { - type enumeration { - enum none { - description "None"; - } - enum broadcast { - description "Broadcast"; - } - enum non-broadcast { - description "Non broadcast"; - } - enum point-to-point { - description "Point To Point"; - } - enum point-to-multipoint { - description "Point To Multipoint"; - } - enum point-to-multipoint-non-broadcast { - description "Point-To-Multipoint Non broadcast"; - } - enum virtual-link { - description "Virtual link"; - } - enum loopback-interface { - description "Loopback"; - } - enum mpls-traffic-engineering { - description "MPLS traffic engineering"; - } - enum sham-link { - description "Sham link"; - } - } - description "OSPFv3 neighbor interface types"; - } - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - typedef Ospfv3-graceful-restart-reason { - type enumeration { - enum grace-reason-unknown { - description "Grace reason unknown"; - } - enum grace-reason-software-restart { - description "Grace reason software restart"; - } - enum grace-reason-software-upgrade { - description "Software reload/upgrade, RFC 3623"; - } - enum grace-reason-switchover { - description "Switch to redundant control processor"; - } - } - description "Reason for router restart"; - } - typedef Ospfv3-lsa1 { - type enumeration { - enum link { - value 8; - description "Link LSA"; - } - enum grace { - value 11; - description "Grace LSA"; - } - enum router { - value 8193; - description "Router LSA"; - } - enum network { - value 8194; - description "Network LSA"; - } - enum inter-area-prefix { - value 8195; - description "Inter area prefix LSA"; - } - enum inter-area-router { - value 8196; - description "Inter area router LSA"; - } - enum mospf { - value 8198; - description "MOSPF LSA"; - } - enum type7-external { - value 8199; - description "Type-7 External LSA"; - } - enum lsa-prefix { - value 8201; - description "Prefix LSA"; - } - enum as-external { - value 16389; - description "AS external LSA"; - } - enum unknown-link { - value 32768; - description "Unknown link LSA"; - } - enum unknown-area { - value 40960; - description "Unknown area LSA"; - } - enum unknown-as { - value 49152; - description "Unknown AS LSA"; - } - enum unknown-type { - value 57344; - description "Unknown type LSA"; - } - } - description "OSPFv3 LSA types"; - } - typedef Prefix-priority { - type enumeration { - enum critical { - value 0; - description "Critical priority"; - } - enum high { - value 1; - description "High priority"; - } - enum medium { - value 2; - description "Medium priority"; - } - enum low { - value 3; - description "Low priority"; - } - } - description "Prefix priority"; - } - typedef Ospfv3-link { - type enumeration { - enum link-router { - value 1; - description "Router link"; - } - enum link-trans-net { - value 2; - description "Transit network link"; - } - enum link-virtual-link { - value 4; - description "Virutal link"; - } - } - description "OSPFV3 Link type"; - } - typedef Ospf-lsa-sync-state { - type enumeration { - enum none { - description "State not set"; - } - enum out-of-sync { - description "LSA out of sync with active"; - } - enum in-sync { - description "LSA in sync with active"; - } - enum nsr-ack-pending { - description "NSR ack pending for LSA sync"; - } - } - description "LSA synchronization states"; - } - typedef Ospfv3-lsa-info-types { - type enumeration { - enum mgmt-lsa-lsasum-type { - value 0; - description "Summary information of LSAs"; - } - enum mgmt-lsa-link-type { - value 8; - description "Link LSA"; - } - enum mgmt-lsa-gr-type { - value 11; - description "Grace LSA"; - } - enum mgmt-lsa-rtr-type { - value 8193; - description "Router LSA"; - } - enum mgmt-lsa-net-type { - value 8194; - description "Network LSA"; - } - enum mgmt-lsa-iapfx-type { - value 8195; - description "Inter Area Prefix Summary LSA"; - } - enum mgmt-lsa-iartr-type { - value 8196; - description "Inter Area Router Summay LSA"; - } - enum mgmt-lsa-nssaext-type { - value 8199; - description "NSSA external LSA"; - } - enum mgmt-lsa-prefix-type { - value 8201; - description "Intra Area Prefix LSA"; - } - enum mgmt-lsa-ext-type { - value 16389; - description "Type 5 External LSA"; - } - enum mgmt-lsa-unk-link-type { - value 32768; - description "Opaque Link scope LSA"; - } - enum mgmt-lsa-unk-area-type { - value 40960; - description "Opaque Area scope LSA"; - } - enum mgmt-lsa-unk-as-type { - value 49152; - description "Opaque AS scope LSA"; - } - enum mgmt-lsa-unk-type { - value 57344; - description "Opaque Reserved scope LSA"; - } - } - description "OSPFv3 LSA format types"; - } - typedef Ospfv3-area-range-status { - type enumeration { - enum advertise { - value 1; - description "Advertise this range"; - } - enum do-not-advertise { - value 2; - description "Do not advertise this range"; - } - } - description "Ospfv3 area range status"; - } - typedef Ospfv3-neighbor-state { - type enumeration { - enum neigbhor-down { - description "Down"; - } - enum attempt { - description "Attempting"; - } - enum init { - description "Initializing"; - } - enum two-way { - description "2 Way"; - } - enum exstart { - description "Exstart"; - } - enum exchange { - description "Exchange"; - } - enum loading { - description "Loading"; - } - enum full { - description "Full"; - } - enum sc-virtual { - description "SCVirtual"; - } - } - description "OSPFv3 neighbor states"; - } - typedef Ospfv3-interface-state { - type enumeration { - enum down { - description "Down"; - } - enum loopback { - description "Loopback"; - } - enum waiting { - description "Waiting"; - } - enum point-to-multipoint { - description "Point To Multipoint"; - } - enum point-to-point { - description "Point To Point"; - } - enum designated-router { - description "Designated router"; - } - enum backup-designated-router { - description "Backup designated router"; - } - enum other-designated-router { - description "Other designated router"; - } - } - description "OSPFv3 interface states"; - } - typedef Ospfv3-border-route { - type enumeration { - enum abr { - value 1; - description "Area border router"; - } - enum asbr { - value 2; - description "Area system boundary router"; - } - enum abr-asbr { - value 3; - description - "Area border router and area system boundary - router"; - } - } - description "OSPFv3 border route destination types"; - } - typedef Ospfv3-default-metric { - type enumeration { - enum type-none { - description "OSPFv3 default metric type None "; - } - enum type1 { - description "OSPFv3 default metric type 1 "; - } - enum type2 { - description "OSPFv3 default metric type 2 "; - } - } - description "OSPFv3 default metric types "; - } - - grouping NSR-PL-RECV-DROP-ARRAY { - description "NSR PL RECV DROP ARRAY"; - leaf-list nsr-pl-recv-drop-array { - type uint32; - max-elements "16"; - description "nsr pl recv drop array"; - } - } - - grouping NSR-PL-SEND-DROP-ARRAY { - description "NSR PL SEND DROP ARRAY"; - leaf-list nsr-pl-send-drop-array { - type uint32; - max-elements "7"; - description "nsr pl send drop array"; - } - } - - grouping NSR-PL-CLIENT-STATS-TYPE { - description "NSR PL stats information"; - leaf-list num-sent { - type uint64; - max-elements "5"; - description "Total sent"; - } - leaf-list num-recv { - type uint64; - max-elements "6"; - description "Total recvd"; - } - - list num-sent-drop { - max-elements "5"; - description "Sent Error/drops"; - uses NSR-PL-SEND-DROP-ARRAY; - } - - list num-recv-drop { - max-elements "6"; - description "Recv Errors/drops"; - uses NSR-PL-RECV-DROP-ARRAY; - } - } - - grouping OSPF-SH-NCD-STATS { - description "OSPF SH NCD STATS"; - - list ncd-pri { - max-elements "2"; - description "ncd pri"; - uses NSR-PL-CLIENT-STATS-TYPE; - } - } - - grouping OSPFV3-EDM-RTHREAD-QUEUE-STATS { - description "OSPFv3 RIB thread queue statistics"; - leaf wq-eqtime { - type uint64; - description "Head Entry Enqueue"; - } - leaf wq-dqtime { - type uint64; - description "Last Entry Dequeue"; - } - leaf wq-first-eqtime { - type uint64; - description "First Entry Enqueue"; - } - leaf wq-len-cur { - type int32; - description "Current Work Queue Length"; - } - leaf wq-len-max { - type int32; - description "Largest Work Queue Length"; - } - leaf wq-total-enqueued { - type uint32; - description "Total Entries Enqueued"; - } - leaf wq-total-dequeued { - type uint32; - description "Total Entries Dequeued"; - } - leaf wq-eneueue-errs { - type uint32; - description "Enqueue Errors"; - } - leaf wq-dequeue-errs { - type uint32; - description "Dequeue Errors"; - } - leaf wq-max-latency { - type uint64; - description "Max Time Entry Was In Q"; - } - leaf wq-sum-latency { - type uint64; - description "Sum Latencies To Calc Average"; - } - } - - grouping OSPFV3-EDM-RTHREAD-STATS { - description "OSPFv3 RIB thread statistics"; - - container thread-q { - description "Inter Thread Queue"; - uses OSPFV3-EDM-RTHREAD-QUEUE-STATS; - } - - container rib-base-time { - description "rib base time"; - uses OSPFV3-EDM-TIME; - } - leaf wq-thread-active { - type boolean; - description "RIB Thread Active Indicator"; - } - leaf wq-signals { - type uint32; - description "Signals sent to RIB Thread"; - } - leaf rib-base-clock { - type uint64; - description "Rib Base Clock"; - } - leaf rib-batch-sent { - type uint32; - description "No. of Rib batches sent"; - } - leaf rib-batch-purged { - type uint32; - description "No. of Rib batches purged"; - } - leaf rib-drop-version { - type uint32; - description "Rib drop version"; - } - leaf rib-drop-conn { - type uint32; - description "Rib drop connections"; - } - leaf rib-batch-ok { - type uint32; - description "Rib Batches Ok"; - } - leaf rib-batch-backup { - type uint32; - description "Rib Batches Back up"; - } - leaf rib-batch-limit { - type uint32; - description "Rib Batches Limit"; - } - leaf rib-batch-no-table { - type uint32; - description "Batches no table"; - } - leaf rib-batch-some-err { - type uint32; - description "Batches with some error"; - } - leaf rib-batch-err { - type uint32; - description "Batch errors"; - } - leaf rib-route-limit { - type uint32; - description "Route table limit"; - } - leaf rib-route-some-err { - type uint32; - description "Route some errors"; - } - leaf rib-route-err { - type uint32; - description "Route Errors"; - } - leaf rib-path-limit { - type uint32; - description "Route path limits"; - } - leaf rib-path-err { - type uint32; - description "Route path errors"; - } - leaf rib-max-latency { - type uint64; - description "Max time entry was in queue"; - } - leaf rib-sum-latency { - type uint64; - description "Sum latencies to calc average"; - } - - list holdq { - max-elements "4"; - description "holdq"; - uses OSPFV3-EDM-RTHREAD-QUEUE-STATS; - } - } - - grouping OSPF-SH-NSR-STATS-PRI { - description "OSPF SH NSR STATS PRI"; - leaf nsr-sched-pri { - type Ospf-nsr-sched-pri; - description "Priority Type"; - } - leaf nsr-sched-quant { - type uint8; - description "Priority Queue"; - } - leaf nsr-sched-remain-quant { - type uint8; - description "Remaining quantum"; - } - leaf nsr-sched-evs-in-q { - type uint16; - description "Events pending"; - } - leaf nsr-sched-max-evs { - type uint16; - description "Max Queued"; - } - leaf nsr-sched-peak-q-len { - type uint16; - description "Peak queue length"; - } - leaf nsr-sched-evs-qd { - type uint64; - description "Events queued"; - } - leaf nsr-sched-enq-fails { - type uint64; - description "Event enqueue fails"; - } - leaf nsr-sched-evs-deqd { - type uint64; - description "Events dequeued"; - } - } - - grouping OSPF-SH-NSR-SCHED-STATS { - description "OSPF SH NSR SCHED STATS"; - leaf nsr-pulse-quant { - type int32; - description "Events processed per pulse"; - } - leaf nsr-events-in-q { - type uint32; - description "Events pending"; - } - leaf nsr-events-tx { - type uint64; - description "Events to Router thread"; - } - leaf nsr-events-rx { - type uint64; - description "Events processed"; - } - leaf nsr-bad-pulses-rx { - type uint64; - description "Bad pulses received"; - } - leaf nsr-good-pulses-rx { - type uint64; - description "Good pulses received"; - } - leaf nsr-pulses-tx { - type uint64; - description "Pulses to Router thread"; - } - leaf nsr-pulse-tx-fails { - type uint64; - description "Pulse send failures"; - } - - list nsr-pri { - max-elements "3"; - description "nsr pri"; - uses OSPF-SH-NSR-STATS-PRI; - } - } - - grouping OSPFV3-EDM-NSR-STATS { - description "OSPFV3 EDM NSR STATS"; - - container nsr-thd-stats { - description "NSR thread scheduler stats"; - uses OSPF-SH-NSR-SCHED-STATS; - } - - container nsr-rtr-thd-sched { - description "Rtr thread NSR pulse handler stats"; - uses OSPF-SH-NSR-SCHED-STATS; - } - leaf nsr-revision { - type int32; - description "NSR revision"; - } - leaf nsr-fsm-state { - type int32; - description "FSM state"; - } - leaf nsr-version { - type uint32; - description "NSR version"; - } - leaf nsr-node-id { - type uint32; - description "My nodeid"; - } - leaf nsr-peer-version { - type uint32; - description "Partner NSR version"; - } - leaf nsr-peer-node-id { - type uint32; - description "Partner NodeID"; - } - leaf nsr-mtu { - type uint32; - description "Fabric MTU"; - } - leaf nsr-nbr-qad-qid { - type uint32; - description "NBR QAD queue id"; - } - leaf nsr-lsa-qad-qid { - type uint32; - description "LSA QAD queue id"; - } - leaf nsr-nbr-qad-mdata-count { - type uint32; - description "NBR QAD pending msg"; - } - leaf nsr-lsa-qad-mdata-count { - type uint32; - description "LSA QAD pending msgs"; - } - leaf nsr-nbr-init-sync-pend-count { - type int32; - description "Pending init-sync NBR msgs"; - } - leaf nsr-lsa-init-sync-pend-count { - type int32; - description "Pending init-sync LSA msgs"; - } - leaf nsr-nbr-seq-no { - type uint32; - description "Neighbor TLV sequence no"; - } - leaf nsr-intf-seq-no { - type uint32; - description "Interface TLV sequence no"; - } - leaf nsr-tmr-quant { - type int32; - description "Timers processed per pulse"; - } - leaf nsr-conn-to-active-attempts { - type uint64; - description "Attempts to connect to active"; - } - leaf nsr-conn-to-active-fails { - type uint64; - description "Failures to connect to active"; - } - leaf nsr-conn-to-active-opens { - type uint64; - description "Conn to active opens"; - } - leaf nsr-conn-to-active-closes { - type uint64; - description "Conn to active closes"; - } - leaf nsr-conn-to-active-errors { - type uint64; - description "Conn to active errors"; - } - } - - grouping OSPF-SH-IPFRR-TOPO-ENTRY { - description "OSPF_IPFRR Topology Entry"; - leaf node-id { - type inet:ipv4-address; - description "IPFRR Topology Node ID"; - } - leaf lsaid { - type uint32; - description "IPFRR Topology LSA ID"; - } - leaf distance { - type uint32; - description "IPFRR Topology Distance"; - } - leaf type4 { - type boolean; - description "IPFRR Topoogy Type-4 entry"; - } - leaf revision { - type uint32; - description "IPFRR Topology Revision"; - } - leaf neighbor-sourced { - type boolean; - description "IPFRR Topology Neighbor Sourced"; - } - leaf dr { - type boolean; - description "IPFRR Topology DR entry"; - } - } - - grouping OSPFV3-SH-IPFRR-TOPO { - description "OSPF IPFRR Topology Information"; - leaf ipfrr-topo-area-id { - type string { - length "0..16"; - } - description - "Area ID string in decimal or dotted decimal - format"; - } - leaf ipfrr-router-id { - type inet:ipv4-address; - description "OSPF Router ID"; - } - leaf ipfrr-area-revision { - type uint32; - description "IPFRR Topology Revision"; - } - - list ipfrr-topo { - description "IPFRR Topology entries"; - uses OSPF-SH-IPFRR-TOPO-ENTRY; - } - } - - grouping OSPFV3-SH-BAD-CHECKSUM { - description "OSPFv3 Bad Checksum"; - - container timestamp { - description "Packet Timestamp (relative to 1970/1/1 00:00)"; - uses OSPFV3-EDM-TIME; - } - leaf received-checksum { - type uint16; - description "Received Checksum"; - } - leaf computed-checksum { - type uint16; - description "Computed Checksum"; - } - leaf received-data { - type yang:hex-string; - description "Received Hexadecimal Data"; - } - } - - grouping OSPF-SH-IPFRR-TB { - description "OSPF IPFRR Tiebreakers"; - leaf tiebreaker-type { - type Ipfrr-tbrkr; - description "Tiebreaker Type"; - } - leaf tiebreaker-index { - type uint32; - description "Tiebreaker Index"; - } - } - - grouping OSPFV3-SH-STUB-ROUTER-TRIGGER { - description "OSPFv3 stub router trigger information"; - - container unset-time { - description - "Timestamp (relative to 1970/1/1 00:00) when stub - router condition was cleared"; - uses OSPFV3-EDM-TIME; - } - - container start-time { - description - "Timestamp (relative to 1970/1/1 00:00) when stub - router mode was activated"; - uses OSPFV3-EDM-TIME; - } - leaf trigger { - type Stub-router-trigger; - description "Stub Router Trigger type"; - } - leaf wait-for-bgp { - type boolean; - description - "If true, stub router is terminated when BGP - converges"; - } - leaf unset-reason { - type Stub-router-exit-reason; - description "Reason for clearing stub router condition"; - } - leaf time { - type uint32; - units "second"; - description "Time (in seconds) to stay in stub router mode"; - } - } - - grouping OSPFV3-EDM-TIME { - description "OSPFv3 time stamp"; - leaf second { - type uint32; - units "second"; - description "Seconds "; - } - leaf nanosecond { - type uint32; - units "nanosecond"; - description "Nano seconds "; - } - } - - grouping OSPFV3-SH-STUB-ROUTER { - description "OSPFv3 Stub Router Information"; - - container unset-time { - description - "Timestamp (relative to 1970/1/1 00:00) when stub - router condition was cleared"; - uses OSPFV3-EDM-TIME; - } - - container start-time { - description - "Timestamp (relative to 1970/1/1 00:00) when stub - router mode was activated"; - uses OSPFV3-EDM-TIME; - } - - container abr-resume-time { - description - "Timestamp (relative to 1970/1/1 00:00) when ABR - duties were resumed"; - uses OSPFV3-EDM-TIME; - } - leaf mode { - type Stub-router-mode; - description "Stub router mode"; - } - leaf active { - type boolean; - description "If true, stub router mode is active"; - } - leaf remaining-time { - type uint32; - units "second"; - description "Remaining time (in seconds) in stub router mode"; - } - leaf set-reason { - type Stub-router-trigger; - description "Reason for entering stub router mode"; - } - leaf unset-reason { - type Stub-router-exit-reason; - description "Reason for clearing stub router condition"; - } - leaf include-stub-links { - type boolean; - description - "If true, advertise maximum metric for stub links"; - } - leaf summary-lsa-metric { - type uint32; - description "Metric for summary LSAs in max-metric mode"; - } - leaf external-lsa-metric { - type uint32; - description "Metric for external LSAs in max-metric mode"; - } - leaf abr-off-reason { - type Stub-router-abr-off-reason; - description "Reason for being in ABR off mode"; - } - - list trigger { - description "Triggers for entering stub router mode"; - uses OSPFV3-SH-STUB-ROUTER-TRIGGER; - } - } - - grouping OSPFV3-SH-DOMAIN-ID-ENTRY { - description "OSPF Domain ID"; - leaf domain-id-type { - type uint16; - description "Domain ID Type"; - } - leaf domain-id-value { - type yang:hex-string; - description "Domain ID value"; - } - } - - grouping OSPFV3-SH-DOMAIN-ID { - description "OSPF Domain ID entries"; - - container primary-domain-id { - description "Primary Domain ID"; - uses OSPFV3-SH-DOMAIN-ID-ENTRY; - } - - list secondary-domain-id { - description "List of secondary domain IDs"; - uses OSPFV3-SH-DOMAIN-ID-ENTRY; - } - } - - grouping OSPFV3-EDM-SUMMARY { - description "OSPFv3 summary"; - - container domain-id { - description "Domain ID information"; - uses OSPFV3-SH-DOMAIN-ID; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf is-role-standby { - type boolean; - description "If true, the process is running as stanby role"; - } - leaf role { - type uint32; - description "Role, V1/V2 Active/Standby"; - } - leaf is-nsr-enabled { - type boolean; - description "If true, NSR is enabled"; - } - leaf is-nsr-switchover-on-restart { - type boolean; - description - "Trigger RP Switchover on detectable process - restart"; - } - leaf is-router-id-stalled { - type boolean; - description "Stalled Router ID "; - } - leaf is-opaque-capable { - type boolean; - description "Opaque LSA capable "; - } - leaf is-area-border-router { - type boolean; - description "If true, is an area border router"; - } - leaf is-as-border-router { - type boolean; - description "If true, is an AS border router"; - } - leaf metric { - type uint32; - description "Redistribution metric "; - } - leaf is-default-originated { - type boolean; - description "If true, origin is by default "; - } - leaf is-default-always { - type boolean; - description "If true, default always "; - } - leaf default-metric { - type uint32; - description "Default metric "; - } - leaf default-metric-type { - type Ospfv3-default-metric; - description "Default metric type "; - } - leaf default-tag { - type uint32; - description "Default tag "; - } - leaf is-default-policy { - type boolean; - description "If true, is a default policy "; - } - leaf default-policy-name { - type string; - description "Default policy name "; - } - leaf spf-start-time { - type uint32; - description "Scheduling delay for SPF (ms)"; - } - leaf spf-hold-time { - type uint32; - description "Minimum delay time between SPF runs (ms)"; - } - leaf spf-maximum-time { - type uint32; - description "Maximum delay time between SPF runs (ms)"; - } - leaf lsa-start-time { - type uint32; - description "Initial LSA throttle delay (ms)"; - } - leaf lsa-hold-time { - type uint32; - description "Second delay before generating next LSA (ms)"; - } - leaf lsa-maximum-time { - type uint32; - description "Maximum delay before generating an LSA (ms)"; - } - leaf minimum-lsa-interval { - type uint32; - description "Minimum time between LSA regeneration (ms)"; - } - leaf lsa-group-interval { - type uint32; - description "LSA refresh interval (sec)"; - } - leaf lsa-flood-pacing-interval { - type uint32; - description "LSA flood pacing timer (ms)"; - } - leaf lsa-retransmission-pacing-interval { - type uint32; - description "LSA retransmission pacing timer (ms)"; - } - leaf as-ls-as { - type uint32; - description "Number of AS scope LSAs"; - } - leaf opaque-lsas { - type uint32; - description "Number of opaque LSAs"; - } - leaf opaque-lsa-checksum { - type uint32; - description "Sum of opaque LSA checksum"; - } - leaf as-dc-bitless-ls-as { - type uint32; - description - "Number of external and AS opaque LSAs with - demand circut bit not set"; - } - leaf as-do-not-age-ls-as { - type uint32; - description - "Number of external and AS opaque LSAs with do - not age set "; - } - leaf areas { - type uint16; - description "Number of areas"; - } - leaf normal-areas { - type uint16; - description "Number of normal areas"; - } - leaf stub-areas { - type uint16; - description "Number of stub and total stub areas"; - } - leaf nssa-areas { - type uint16; - description "Number of NSSA areas"; - } - leaf as-lsa-flood-list-length { - type uint32; - description "Length of AS LSAs flood list"; - } - leaf is-grace-restart-enabled { - type boolean; - description "If true, grace restart is enabled "; - } - leaf last-nsf-time { - type uint32; - description " Length of time since the last NSF (s)"; - } - leaf grace-resync-time { - type uint32; - description "Grace time to resync "; - } - leaf maximum-interfaces { - type uint32; - description "Maximum number of interfaces"; - } - leaf maximum-paths { - type uint32; - description "Maximum number of paths"; - } - leaf redistribution-limit { - type uint32; - description "The number of redistributed prefixes allowed"; - } - leaf redistribution-threshold { - type uint32; - description - "When the number of redistributed prefixes - reaches this threshold, a warning message is - issued "; - } - leaf is-auto-cost { - type boolean; - description "If true, auto cost is enabled"; - } - leaf reference-bandwidth { - type uint32; - description "Reference Bandwdith"; - } - leaf context-name { - type string { - length "0..32"; - } - description "Context name"; - } - leaf snmp-trap-enabled { - type boolean; - description "If true, snmp trap is enabled"; - } - leaf graceful-shutdown-state { - type Ospfv3-graceful-shutdown-state; - description "Graceful shutdown state"; - } - - list stub-router { - description "Stub Router Information"; - uses OSPFV3-SH-STUB-ROUTER; - } - - list ipfrr-tiebreakers { - description "IPFRR-Tiebreakers list"; - uses OSPF-SH-IPFRR-TB; - } - } - - grouping OSPFV3-EDM-PROTOCOL { - description "OSPFv3 Protocol Information"; - leaf protocol-router-id { - type inet:ipv4-address; - description "Protocol router ID"; - } - leaf administrative-distance { - type uint32; - description "Administrative distance"; - } - leaf administrative-distance-inter-area { - type uint32; - description "Administrative Distance for Inter Area routes"; - } - leaf administrative-distance-external { - type uint32; - description "Administrative Distance for External routes"; - } - leaf is-graceful-restart { - type boolean; - description "If true, Graceful restart is enabled "; - } - leaf distribute-list-in { - type string; - description "Distribute List In"; - } - } - - grouping OSPFV3-EDM-BATCH-STATS { - description "OSPFv3 RIB batch statistics"; - leaf batches-sent { - type uint32; - description "No. of RIB batches sent"; - } - leaf routes-sent { - type uint32; - description "No. of Routes sent to RIB"; - } - leaf routes-pending { - type uint32; - description "No of Pending Routes"; - } - leaf max-routes { - type uint32; - description "Max No. of Routes in a batch"; - } - leaf paths-sent { - type uint32; - description "No. of Paths sent to RIB"; - } - leaf paths-pending { - type uint32; - description "No. of paths waiting to be sent to RIB"; - } - leaf paths-add { - type uint32; - description "No. of paths added to RIB"; - } - leaf paths-add-errs { - type uint32; - description "No. of paths add errors"; - } - leaf paths-del { - type uint32; - description "No. of paths del sent to RIB"; - } - leaf paths-del-errs { - type uint32; - description "No. of Paths del errors"; - } - } - - grouping OSPFV3-EDM-PRIO-STATS { - description - "OSPFv3 SPF prefix priority classification - statistics"; - leaf critical { - type uint32; - description "Critical priority classifications"; - } - leaf high { - type uint32; - description "High priority classifications"; - } - leaf medium { - type uint32; - description "Medium priority classifications"; - } - leaf low { - type uint32; - description "Low priority classifications"; - } - } - - grouping OSPFV3-EDM-RAW-STATS { - description "OSPFv3 raw I/O statistics"; - leaf raw-conn-open { - type uint64; - description "Raw Connections Open"; - } - leaf raw-conn-close { - type uint64; - description "Raw Connections Close"; - } - leaf raw-conn-error { - type uint64; - description "Raw Connections Error"; - } - leaf in-packets { - type uint64; - description "Received Packets"; - } - leaf in-bytes { - type uint64; - units "byte"; - description "Received Bytes"; - } - leaf in-long-packets { - type uint64; - description "Received Long Packets"; - } - leaf in-malloc-drops { - type uint64; - description "In Malloc Drops"; - } - leaf in-handle-drops { - type uint64; - description "In Handle Drops"; - } - leaf in-short-drops { - type uint64; - description "In Short Drops"; - } - leaf in-error-drops { - type uint64; - description "In Error Drops"; - } - leaf in-ipsec-drops { - type uint64; - description "In IPSEC Drops"; - } - leaf in-queue-drops { - type uint64; - description "In Queue Drops"; - } - leaf out-packets { - type uint64; - description "Packets Sent"; - } - leaf out-bytes { - type uint64; - units "byte"; - description "Sent Bytes"; - } - leaf out-nofd-drops { - type uint64; - description "No FileDescriptor Drops"; - } - leaf out-error-drops { - type uint64; - description "Error Drops"; - } - leaf out-ipsec-drops { - type uint64; - description "Out IPSEC Drops"; - } - leaf out-nopak-drops { - type uint64; - description "No Packet Buffers"; - } - leaf out-pakapi-errors { - type uint64; - description "PAK API Errors"; - } - leaf raw-conn-state { - type uint32; - description "Raw Connection State"; - } - } - - grouping OSPFV3-EDM-SPF-AREA-STATS { - description "OSPFv3 SPF Area Statistics Information"; - - container spf-stat-time { - description "SPF time calculations"; - uses OSPFV3-SPF-TIME; - } - leaf spf-stat-area-id { - type uint32; - description "Area ID for area of these SPF statistics"; - } - leaf-list spf-stat-lsa-type-count { - type uint32; - max-elements "8"; - description - "Counts of LSA types triggering an SPF - calculation"; - } - } - - grouping OSPFV3-LSA-CHANGE { - description "OSPFv3 LSA Change Information"; - leaf lsa-area-id { - type uint32; - description "Area ID"; - } - leaf lsa-advertising-router { - type inet:ipv4-address; - description "Advertising router ID"; - } - leaf lsa-id { - type inet:ipv4-address; - description "LSA ID"; - } - leaf lsa-type { - type uint8; - description "LSA type"; - } - leaf lsa-flush { - type boolean; - description "If true, the LSA change is a flush"; - } - } - - grouping OSPFV3-SPF-TIME { - description "OSPFv3 SPF Time Information"; - leaf dijkstra { - type uint32; - description "Dijkstra time in msec"; - } - leaf intra-prefix { - type uint32; - description "Intra-prefix processing time in msec"; - } - leaf intra-prefix-del { - type uint32; - description "Intra-prefix deletion time in msec"; - } - leaf inter-prefix { - type uint32; - description "Inter-prefix processing time in msec"; - } - leaf inter-prefix-del { - type uint32; - description "Intra-prefix deletion time in msec"; - } - leaf external-prefix { - type uint32; - description "External prefix processing time in msec"; - } - leaf external-prefix-del { - type uint32; - description "External prefix deletion time in msec"; - } - leaf rib-add { - type uint32; - description "RIB add processing time in msec"; - } - leaf rib-del { - type uint32; - description "RIB deletion time in msec"; - } - } - - grouping OSPFV3-RUNTIME-STATS { - description "OSPFv3 SPF Runtime Statistics Information"; - - container global-time { - description "Global SPF times"; - uses OSPFV3-SPF-TIME; - } - leaf start-time { - type uint32; - description "SPF calculation start time"; - } - leaf rib-add-routes { - type uint32; - description "Number of routes added to RIB"; - } - leaf rib-delete-routes { - type uint32; - description "Number of routes deleted from RIB"; - } - leaf reason-flags { - type yang:hex-string; - description - "Reasons for triggering an SPF calculation Bit 1 - - Router LSA update Bit 2 - Network LSA update - Bit 3 - Inter-Area Prefix LSA update Bit 4 - - Inter-Area Router LSA update Bit 5 - AS External - LSA update Bit 6 - MOSPF LSA update Bit 7 - Type - 7 AS External LSA update Bit 8 - Link LSA update - Bit 9 - Prefix LSA update"; - } - leaf lsa-changes { - type int16; - description - "Number of LSA changes triggering an SPF - calculation"; - } - - list lsa { - max-elements "5"; - description "List of LSAs triggering the SPF calculation"; - uses OSPFV3-LSA-CHANGE; - } - - list area-stat { - description "List of per-area SPF statistics"; - uses OSPFV3-EDM-SPF-AREA-STATS; - } - } - - grouping OSPFV3-EDM-AREA-SUMM { - description "OSPFv3 Area SPF Information"; - leaf area-id { - type uint32; - description "Area ID of the area SPF statistics"; - } - leaf sp-fs { - type uint32; - description "Number of SPF calculations"; - } - } - - grouping OSPFV3-HEADER-INFO { - description "OSPFv3 SPF Statistics Header Information"; - leaf header-router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf header-sp-fs { - type uint32; - description "Number of SPF calculations"; - } - - list area-summary { - description "List of Areas with SPF statistics"; - uses OSPFV3-EDM-AREA-SUMM; - } - } - - grouping OSPFV3-EDM-SPF-STATS { - description "OSPFv3 SPF statistics"; - - container spf-header { - description "SPF statistics header"; - uses OSPFV3-HEADER-INFO; - } - - list spf-runtime { - description "List of SPF run-time statistics"; - uses OSPFV3-RUNTIME-STATS; - } - } - - grouping OSPFV3-EDM-PROTO-STATS { - description "OSPFv3 protocol statistics"; - leaf total-in-packets { - type uint64; - description "Total inputs packets"; - } - leaf hello-in-packets { - type uint64; - description "Hello packets in"; - } - leaf dbdes-in-packets { - type uint64; - description "Database Description Packets in"; - } - leaf dbdes-in-ls-as { - type uint64; - description "Database Description LSAs in"; - } - leaf ls-req-in-packets { - type uint64; - description "LSA Requests in"; - } - leaf ls-req-in-ls-as { - type uint64; - description "LS Requests in"; - } - leaf ls-upd-in-packets { - type uint64; - description "LS Updates Packets in"; - } - leaf ls-upd-in-ignored { - type uint64; - description "LS Updates ignored"; - } - leaf ls-upd-in-ls-as { - type uint64; - description "LS Updates LSAs in"; - } - leaf ls-ack-in-packets { - type uint64; - description "LS Acks Packets in"; - } - leaf ls-ack-in-ls-as { - type uint64; - description "LS Ack LSAs in"; - } - leaf total-out-packets { - type uint64; - description "Total Out Packets"; - } - leaf hello-out-packets { - type uint64; - description "Hello Out Packets"; - } - leaf dbdes-out-packets { - type uint64; - description "Database Description Packets out"; - } - leaf dbdes-out-ls-as { - type uint64; - description "Database Description LSAs out"; - } - leaf ls-req-out-packets { - type uint64; - description "LS Request Packets out"; - } - leaf ls-req-out-ls-as { - type uint64; - description "LS Reuqests LSAs out"; - } - leaf ls-upd-out-packets { - type uint64; - description "LS Update Packets out"; - } - leaf ls-upd-out-ls-as { - type uint64; - description "LS Update LSAs out"; - } - leaf ls-ack-out-packets { - type uint64; - description "LS Ack Packets out"; - } - leaf ls-ack-out-ls-as { - type uint64; - description "LS Ack LSAs out"; - } - leaf dropped-in-gs { - type uint64; - description "Dropped in GS"; - } - leaf checksum-err { - type uint64; - description "Checksum Errors"; - } - } - - grouping OSPFV3-EDM-TOPOLOGY-CONNECTED { - description "OSPFv3 Topology Connected Information"; - - container route-topology { - description "Common Route topology information"; - uses OSPFV3-EDM-TOPOLOGY; - } - - list route-path { - description "List of paths to this route"; - uses OSPFV3-EDM-TOP-PATH; - } - } - - grouping OSPFV3-EDM-PROTO-INTF { - description "OSPFv3 Protocol Interface Information"; - leaf interface-name { - type xr:Interface-name; - description "Protocol interface name "; - } - leaf distribute-list-in { - type string; - description "Distribute List In"; - } - } - - grouping OSPFV3-EDM-PROTO-AREA { - description "OSPFv3 Protocol Area Information"; - leaf protocol-area-id { - type string { - length "0..16"; - } - description - "Area ID string in decimal and dotted-decimal - format"; - } - leaf distribute-list-in { - type string; - description "Distribute List In"; - } - - list protocol-interface { - description "Interface list"; - uses OSPFV3-EDM-PROTO-INTF; - } - } - - grouping OSPFV3-EDM-TOP-SOURCE { - description "OSPFv3 topology source information"; - leaf route-source-adversting-router { - type inet:ipv4-address; - description "Route source of the advertising router "; - } - leaf route-source-id { - type inet:ipv4-address; - description "Route source ID "; - } - leaf route-source-lsa-type { - type uint32; - description "Type of LSA advertising the prefix, see RFC5340"; - } - } - - grouping OSPFV3-EDM-TOPOLOGY-INTERNAL { - description "OSPFv3 Topology Internal Information"; - - container route-topology { - description "Common Route topology information"; - uses OSPFV3-EDM-TOPOLOGY; - } - leaf route-area-id { - type uint32; - description "Route area ID "; - } - - list route-source { - description "List of topology source information"; - uses OSPFV3-EDM-TOP-SOURCE; - } - - list route-path { - description "List of paths to this route"; - uses OSPFV3-EDM-TOP-PATH; - } - } - - grouping OSPFV3-EDM-RETRANS { - description "OSPFv3 retransmission list information"; - leaf retransmission-neighbor-address { - type inet:ipv6-address; - description "Neighbor IP address"; - } - leaf is-retransmissionvirtual-link { - type boolean; - description "If true, virtual link is retransmitted "; - } - leaf retransmissionvirtual-link-id { - type uint32; - description "Retransmission virtual link ID "; - } - leaf is-retransmission-sham-link { - type boolean; - description "If true, sham link is retransmitted "; - } - leaf retransmission-sham-link-id { - type uint32; - description "Retransmission sham link ID "; - } - leaf retransmission-timer { - type uint32; - description - "Amount of time remaining on retransmission timer - (ms)"; - } - leaf retransmission-length { - type uint32; - description "Retransmission queue length"; - } - - list retransmissionvirtual-link-db { - description "List of virtual link scope entries "; - uses OSPFV3-EDM-LSA-SUM; - } - - list retransmission-area-db { - description "List of area scope entries"; - uses OSPFV3-EDM-LSA-SUM; - } - - list retransmission-asdb { - description "List of AS scope entries"; - uses OSPFV3-EDM-LSA-SUM; - } - } - - grouping OSPFV3-EDM-DB-SUMMARY-COUNTERS { - description "OSPFv3 Database Summary Counters"; - leaf-list lsa { - type uint32; - max-elements "15"; - description "lsa"; - } - leaf-list deleted-lsa { - type uint32; - max-elements "15"; - description "deleted lsa"; - } - leaf-list max-age-lsa { - type uint32; - max-elements "15"; - description "max age lsa"; - } - leaf-list lsa-checksum { - type uint32; - max-elements "15"; - description "lsa checksum"; - } - } - - grouping OSPFV3-EDM-DB-SUMMARY-AREA { - description "OSPFv3 Area Database Summary"; - - container area-database-summary { - description "Area database summary "; - uses OSPFV3-EDM-DB-SUMMARY-COUNTERS; - } - leaf lsa-area-id { - type string { - length "0..16"; - } - description "Area ID in decimal or dotted-decimal format"; - } - } - - grouping OSPFV3-EDM-DB-SUMMARY { - description "OSPFv3 Database Summary"; - - container database-counters { - description "OSPFv3 database counters "; - uses OSPFV3-EDM-DB-SUMMARY-COUNTERS; - } - leaf database-router-id { - type inet:ipv4-address; - description "Database router ID "; - } - leaf is-opaque-database-capable { - type boolean; - description "If true, opaque database is capable "; - } - - list area-database { - description "OSPFv3 Area Database list "; - uses OSPFV3-EDM-DB-SUMMARY-AREA; - } - } - - grouping OSPFV3-EDM-INTF-BRIEF { - description "OSPFv3 brief interface information"; - leaf interface-address { - type inet:ipv6-address; - description "Interface IP address"; - } - leaf interface-link-cost { - type uint16; - description "Interface link cost"; - } - leaf ospf-interface-state { - type Ospfv3-interface-state; - description "Interface OSPF state"; - } - leaf interface-neighbors { - type uint16; - description "Total number of neighbors "; - } - leaf interface-adjacent-neighbors { - type uint16; - description "Total number of adjacent neighbors"; - } - leaf network-type { - type Ospfv3-interface; - description "Network type"; - } - } - - grouping OSPFV3-EDM-NEIGHBOR-BFD { - description "OSPFv3 Neighbor BFD information"; - leaf bfd-intf-enable-mode { - type uint32; - description "BFD enable mode - Default/Strict"; - } - leaf bfd-status-flag { - type uint8; - description "Status of the BFD Session"; - } - } - - grouping OSPFV3-EDM-NEIGHBOR-DETAIL { - description "Detailed OSPFv3 neighbor information"; - - container neighbor-retransmission { - description "Retransmission information with this neighbor"; - uses OSPFV3-EDM-NEIGHBOR-RETRANS; - } - leaf state-changes { - type uint16; - description "Number of state changes "; - } - leaf neighbor-cost { - type uint16; - description "Cost of path to this neighbor "; - } - leaf is-neighbor-filtered { - type boolean; - description "If true, filter outgoing LSAs "; - } - leaf neighbor-designated-router-address { - type inet:ipv4-address; - description "Address of designated router"; - } - leaf neighbor-backup-designated-router-address { - type inet:ipv4-address; - description "Address of backup designated router"; - } - leaf interface-type { - type Ospfv3-interface; - description "Interface type"; - } - leaf poll-interval { - type uint32; - description "Poll interval (s)"; - } - leaf next-poll-interval { - type uint32; - units "second"; - description - "For NBMA networks, amount of time remaining in - seconds before the next poll interval expires - and Hello is sent (s)"; - } - leaf neighbor-ignore-timer { - type uint32; - description "Remaining time when ignore timer is running "; - } - leaf neighbor-option { - type uint32; - description - " This is bitmask of neighbor's option field - received "; - } - leaf pending-events { - type uint16; - description "Number of pending events "; - } - } - - grouping OSPFV3-EDM-NEIGHBOR { - description "OSPFv3 neighbor summary information"; - - container neighbor-detail { - description "Detailed OSPFv3 neighbor information "; - uses OSPFV3-EDM-NEIGHBOR-DETAIL; - } - - container neighbor-bfd-info { - description "Neighbor BFD information"; - uses OSPFV3-EDM-NEIGHBOR-BFD; - } - leaf neighbor-address-xr { - type inet:ipv6-address; - description "Neighbor IP Address"; - } - leaf neighbor-interface-id { - type uint32; - description "Neighbor interface ID"; - } - leaf neighbor-dr-priority { - type uint8; - description "Neighbor's DR priority"; - } - leaf neighbor-state { - type Ospfv3-neighbor-state; - description "Neighbor's state"; - } - leaf neighbor-designated-router { - type string { - length "0..9"; - } - description "Designated router "; - } - leaf neighbor-dead-timer { - type uint32; - units "second"; - description - "Time until neighbor's dead timer expires - (seconds)"; - } - leaf neighbor-up-time { - type uint32; - units "second"; - description - "Amount of time since the adjacency is up - (seconds)"; - } - leaf neighbor-virtual-link-id { - type uint32; - description "Neighbor virtual link id "; - } - leaf is-neighbor-virtual-link { - type boolean; - description "If true, neighbor is on a virtual link "; - } - leaf neighbor-sham-link-id { - type uint32; - description "Neighbor sham link id "; - } - leaf is-neighbor-sham-link { - type boolean; - description "If true, neighbor is on a sham link "; - } - } - - grouping OSPFV3-EDM-ROUTE-SUM { - description "OSPFv3 route summary information"; - leaf route-id { - type inet:ipv4-address; - description "Route summary of a route ID "; - } - leaf intra-area-route { - type uint32; - description "Intra route summary "; - } - leaf inter-area-route { - type uint32; - description "Inter route summary "; - } - leaf extern-one-route { - type uint32; - description "Extern 1 route summary "; - } - leaf extern-two-route { - type uint32; - description "Extern 2 route summary "; - } - leaf nssa-one-route { - type uint32; - description "NSSA 1 route summary "; - } - leaf nssa-two-route { - type uint32; - description "NSSA 2 route summary "; - } - leaf total-sent-route { - type uint32; - description "Total route summary "; - } - leaf route-connected { - type uint32; - description "Route connected "; - } - leaf redistribution-route { - type uint32; - description "Redistribution route summary "; - } - leaf total-received-route { - type uint32; - description "Total route received summary"; - } - } - - grouping OSPFV3-EDM-FLOOD-LIST { - description "OSPFv3 flood list information"; - leaf ls-transmission-timer { - type uint32; - description "Time until next LS transmission (ms) "; - } - leaf queue-length { - type uint32; - description "Number of LSAs currently being flooded "; - } - - list link-flood { - description "Link floodlist"; - uses OSPFV3-EDM-LSA-SUM; - } - - list area-flood { - description "Area scope floodlist"; - uses OSPFV3-EDM-LSA-SUM; - } - - list as-flood { - description "AS scope floodlist"; - uses OSPFV3-EDM-LSA-SUM; - } - } - - grouping OSPFV3-EDM-VLINK-NEIGHBOR { - description "OSPFv3 virtual link neighbor information"; - - container virtual-link-retransmission { - description "Virtual link retransmission information "; - uses OSPFV3-EDM-NEIGHBOR-RETRANS; - } - leaf is-virtual-link-hello-suppressed { - type boolean; - description "If true, hello suppressed "; - } - leaf virtual-link-state { - type Ospfv3-interface-state; - description "OSPF interface state for the virtual link"; - } - } - - grouping OSPFV3-EDM-VIRTUAL-LINKS { - description "OSPFv3 virtual link information"; - - container virtual-link-neighbor { - description "Neighbor information "; - uses OSPFV3-EDM-VLINK-NEIGHBOR; - } - leaf virtual-link-neighbor-id { - type inet:ipv4-address; - description "Neighbor on other end of this virtual link"; - } - leaf virtual-link-interface-number { - type uint32; - description "Virtual link interface number "; - } - leaf virtual-link-state { - type Ospfv3-interface-state; - description "OSPF interface state for the virtual link"; - } - leaf is-virtual-link-ip-security-required { - type boolean; - description "If true, virtual link IP security is required "; - } - leaf is-virtual-link-ip-security-active { - type boolean; - description "If true, Virtual link IP security is active "; - } - leaf virtual-link-neighbor-address { - type inet:ipv6-address; - description "Virtual link neighbor addresss "; - } - leaf is-virtual-link-demand-circuit { - type boolean; - description "If true, the link runs as demand circuit"; - } - leaf virtual-link-dc-bitless-lsa { - type uint32; - description - "Number of LSA's with demand circuit bit not set "; - } - leaf transit-area-id { - type string; - description "Transit area id "; - } - leaf interface-name { - type xr:Interface-name; - description "Interface on which this virtual link is formed"; - } - leaf virtual-link-cost { - type uint16; - description "Cost of the virtual link"; - } - leaf virual-link-transmission-delay { - type uint16; - units "second"; - description "Transmission delay in seconds"; - } - leaf virtual-link-hello-interval { - type uint32; - description "Hello interval (s)"; - } - leaf virtual-link-dead-interval { - type uint32; - description "Dead interval (s)"; - } - leaf virtual-link-wait-interval { - type uint32; - description "Wait interval (s)"; - } - leaf virtual-link-retransmission-interval { - type uint32; - description "Retransmission interval (s)"; - } - leaf virtual-link-next-hello { - type uint32; - description "Time until next hello (s)"; - } - leaf is-virtual-link-passive { - type boolean; - description "If true, interface is passive"; - } - leaf is-virtual-link-authentication-enabled { - type boolean; - description - "If true, virtual link authentication is enabled "; - } - leaf virtual-link-authentication-spi { - type uint32; - description "Virtual link authentication spi "; - } - leaf virtual-link-authentication-transmit { - type uint32; - description "Virtual link authentication transmit "; - } - leaf is-virtual-link-encryption-enabled { - type boolean; - description "If true, virtual link encryption is enabled "; - } - leaf virtual-link-encryption-spi { - type uint32; - description "Virtual link encryption spi"; - } - leaf virtual-link-encryption-transmitted { - type uint32; - description "Virtual link encryption transmitted "; - } - leaf virtual-link-encrypted-authentication-transmitted { - type uint32; - description - "Virtual link encrypted authentication - transmitted "; - } - } - - grouping OSPFV3-EDM-LSA-SUM { - description "LSA summary entry"; - leaf header-lsa-type { - type Ospfv3-lsa1; - description "LSA type"; - } - leaf header-lsa-age { - type uint16; - units "second"; - description "Age of the LSA (seconds)"; - } - leaf header-lsa-id { - type inet:ipv4-address; - description "LSA ID"; - } - leaf header-advertising-router { - type inet:ipv4-address; - description "Router ID of the advertising router"; - } - leaf header-sequence-number { - type int32; - description "Current LSA sequence number"; - } - } - - grouping OSPFV3-EDM-REQUEST { - description "OSPFv3 request list information"; - leaf request-neighbor-address { - type inet:ipv6-address; - description "Neighbor IP address"; - } - leaf is-request-virtual-link { - type boolean; - description "If true, virtual link is requested "; - } - leaf request-virtual-link-id { - type uint32; - description "Request virtual link ID "; - } - leaf is-request-sham-link { - type boolean; - description "If true, sham link is requested "; - } - leaf request-sham-link-id { - type uint32; - description "Request sham link ID "; - } - - list request { - description "List of request list entries"; - uses OSPFV3-EDM-LSA-SUM; - } - } - - grouping OSPFV3-SH-ROUTE-EXTENDED-COMM { - description - "OSPF External Route Extended Community - Information"; - leaf extended-community-domain-id-value { - type yang:hex-string; - description "Domain ID value"; - } - leaf extended-communityl-domain-id-type { - type uint16; - description "Domain ID type"; - } - leaf extended-community-area-id { - type uint32; - description "Area id"; - } - leaf extended-community-router-id { - type inet:ipv4-address; - description "Router id"; - } - leaf extended-community-route-type { - type uint8; - description "Route type"; - } - leaf extended-community-options { - type uint8; - description "Route Options"; - } - } - - grouping OSPFV3-SH-BACKUP-PATH { - description "OSPFv3 Route Backup Path Information"; - leaf backup-route-interface-name { - type xr:Interface-name; - description "Next hop Interface"; - } - leaf backup-route-next-hop-address { - type inet:ipv6-address; - description "Nexthop IP address"; - } - leaf backup-route-source { - type inet:ipv4-address; - description "IP address of source of route"; - } - leaf backup-metric { - type uint32; - description "Metric"; - } - leaf primary-path { - type boolean; - description "Primary Path"; - } - leaf line-card-disjoint { - type boolean; - description "Line Card Disjoint"; - } - leaf downstream { - type boolean; - description "Downstream"; - } - leaf node-protect { - type boolean; - description "Node Protect"; - } - leaf srlg-disjoint { - type boolean; - description "SRLG Disjoint"; - } - } - - grouping OSPFV3-EDM-TOP-PATH { - description "OSPFv3 topology path information"; - - container route-backup-path { - description "Backup Path Info"; - uses OSPFV3-SH-BACKUP-PATH; - } - leaf interface-name { - type xr:Interface-name; - description "Route path interface name "; - } - leaf route-path-next-hop { - type inet:ipv6-address; - description "Route path next hop "; - } - leaf route-path-id { - type uint16; - description "Path ID of path"; - } - } - - grouping OSPFV3-EDM-TOPOLOGY { - description "OSPFv3 Topology Information"; - leaf route-id { - type inet:ipv4-address; - description "Route ID "; - } - leaf route-distance { - type uint32; - description "Route distance "; - } - leaf route-cost { - type uint32; - description "Route cost "; - } - leaf route-type { - type uint32; - description "Route type"; - } - } - - grouping OSPFV3-EDM-TOPOLOGY-EXTERNAL { - description "OSPFv3 Topology External Information"; - - container route-topology { - description "Common Route topology information"; - uses OSPFV3-EDM-TOPOLOGY; - } - - container route-extended-community { - description "Extended communities in the route"; - uses OSPFV3-SH-ROUTE-EXTENDED-COMM; - } - - list route-path { - description "List of paths to this route"; - uses OSPFV3-EDM-TOP-PATH; - } - } - - grouping OSPFV3-EDM-REDIST { - description "OSPFv3 Redistribution Information"; - leaf protocol-name-xr { - type string { - length "0..40"; - } - description "Protocol name "; - } - leaf process-id { - type string { - length "0..40"; - } - description "Process ID "; - } - leaf red-metric-flag { - type boolean; - description "red metric flag"; - } - leaf red-metric { - type uint32; - description "red metric"; - } - leaf red-mtype-flag { - type boolean; - description "red mtype flag"; - } - leaf red-metric-type { - type uint8; - description "red metric type"; - } - leaf red-tag { - type uint32; - description "red tag"; - } - leaf policy-name { - type string; - description "Route policy name "; - } - } - - grouping OSPFV3-EDM-INTERFACE-BFD { - description "Interface BFD information"; - leaf bfd-intf-enable-mode { - type uint32; - description - "BFD Enable Mode on the interface - - Default/Strict"; - } - leaf bfd-interval { - type uint32; - description "BFD interval (ms) "; - } - leaf bfd-detection-multiplier { - type uint32; - description "BFD detection multiplier "; - } - } - - grouping OSPFV3-EDM-INTERFACE-UP { - description "OSPFv3 interface up-only information"; - leaf wait-time { - type uint32; - description "Wait time for DR/BDR selection (s)"; - } - leaf interface-area-flood-index { - type uint32; - description "Area scope LSAs flood index"; - } - leaf interface-as-flood-index { - type uint32; - description "AS scope LSAs flood index "; - } - leaf interface-link-flood-index { - type uint32; - description "Interface flood link index "; - } - leaf flood-queue-length { - type uint32; - description "Flood queue length"; - } - leaf interface-area-next-flood { - type uint32; - description "Next LSA to flood (Area scope)"; - } - leaf interface-area-next-flood-index { - type uint32; - description "Index of next LSA to flood (Area scope) "; - } - leaf interface-as-next-flood { - type uint32; - description "Next LSA to flood (AS scope)"; - } - leaf interface-as-next-flood-index { - type uint32; - description "Index of next LSA to flood (AS scope)"; - } - leaf interface-link-next-flood { - type uint32; - description "Interface link next flood information "; - } - leaf interface-link-next-index { - type uint32; - description "Interface link next information index "; - } - leaf flood-scan-length { - type uint32; - description "Last flood scan length "; - } - leaf maximum-flood-length { - type uint32; - description "Maximum flood length "; - } - leaf last-flood-time { - type uint32; - description "Last flood scan time (ms)"; - } - leaf maximum-flood-time { - type uint32; - description "Maximum flood time (ms) "; - } - leaf interface-flood-pacing-timer { - type uint32; - description "Time until next flood pacing timer (ms) "; - } - leaf interface-neighbors { - type uint16; - description "Total number of neighbors "; - } - leaf suppressed-hellos { - type uint16; - description - "Number of neighbors for which hellos are - suppressed "; - } - } - - grouping OSPFV3-EDM-INTERFACE-NBR { - description "OSPFv3 interface neighbor information"; - leaf interface-neighbor-id { - type inet:ipv4-address; - description "Neighbor router ID "; - } - leaf interface-neighbor-cost { - type uint32; - description "Cost of link to neighbor"; - } - leaf is-neighbor-dr { - type boolean; - description "If true, designated router is found "; - } - leaf is-neighbor-bdr { - type boolean; - description "If true, backup designated router is found "; - } - leaf is-hello-suppressed { - type boolean; - description "If true, hello is suppressed "; - } - } - - grouping OSPFV3-EDM-INTERFACE { - description "OSPFv3 interface information"; - - container active-interface { - description "Active interface details "; - uses OSPFV3-EDM-INTERFACE-UP; - } - - container interface-bfd { - description "BFD information "; - uses OSPFV3-EDM-INTERFACE-BFD; - } - leaf interface-state { - type Im-state-enum; - description "Interface state"; - } - leaf is-interface-line-up { - type boolean; - description "If true, line protocol is up "; - } - leaf is-interface-ip-security-required { - type boolean; - description "If true, interface IP security is required "; - } - leaf is-interface-ip-security-active { - type boolean; - description "If true, interface IP security is active "; - } - leaf interface-address { - type inet:ipv6-address; - description "Interface IPv6 address"; - } - leaf interface-number { - type uint32; - description "Interface number "; - } - leaf interface-router-id { - type inet:ipv4-address; - description "Interface router ID "; - } - leaf network-type { - type Ospfv3-interface; - description "Network type"; - } - leaf interface-link-cost { - type uint16; - description "Interface link cost"; - } - leaf is-interface-flood-reduction { - type boolean; - description "If true, interface flood reduction is active "; - } - leaf is-demand-circuit-configured { - type boolean; - description "If true, configured as demand circuit "; - } - leaf is-interface-demand-circuit { - type boolean; - description "If true, interface running as demand circuit"; - } - leaf interface-dc-bitless-ls-as { - type uint32; - description - "Number of LSAs with demand circuit bit not set - for the area in which the interface is running"; - } - leaf transmission-delay { - type uint16; - description "Interface transmission delay (sec)"; - } - leaf ospf-interface-state { - type Ospfv3-interface-state; - description "Interface state"; - } - leaf interface-priority { - type uint8; - description "Interface priority"; - } - leaf is-designated-router { - type boolean; - description "If true, designated router"; - } - leaf designated-router-id { - type inet:ipv4-address; - description "Designated router ID"; - } - leaf designated-router-address { - type inet:ipv6-address; - description "Designated router interface address"; - } - leaf backup-designated-router-id { - type inet:ipv4-address; - description "Backup designated router ID"; - } - leaf backup-designated-router-address { - type inet:ipv6-address; - description "Backup designated router interface address"; - } - leaf network-lsa-flush-timer { - type uint32; - units "second"; - description - "The amount of time in seconds before flush timer - for old network LSA expires "; - } - leaf is-interface-lsa-filtered { - type boolean; - description "Filter is configured for out going LSAs "; - } - leaf hello-interval { - type uint32; - description "Configured hello interval (s)"; - } - leaf dead-interval { - type uint32; - description "Configured dead interval (s) "; - } - leaf wait-interval { - type uint32; - description "Configured wait interval (s) "; - } - leaf interface-retransmission-interval { - type uint32; - description "Configured retransmit interval (s) "; - } - leaf next-hello-time { - type uint32; - description "Time until next Hello (s) "; - } - leaf interface-authentication-spi { - type uint32; - description "Interface authentication spi "; - } - leaf interface-authentication-transmit { - type uint32; - description "Interface authentication transmit "; - } - leaf is-interface-encryption-enabled { - type boolean; - description "If true, interface encryption is enabled "; - } - leaf is-prefix-suppress { - type boolean; - description "If true prefix suppression is enabled"; - } - leaf interface-encryption-spi { - type uint32; - description "Interface encryption spi"; - } - leaf interface-encryption-transmitted { - type uint32; - description "Interface encryption transmitted "; - } - leaf interface-encrypted-authentication-transmitted { - type uint32; - description "Interface encrypted authentication transmitted "; - } - leaf adjacent-neighbor { - type uint32; - description "Number of adjacent neighbors"; - } - leaf interface-references { - type uint32; - description "Interface reference count "; - } - leaf configured-ldp-sync { - type boolean; - description "If true, configured as LDP sync"; - } - leaf interface-ldp-sync { - type boolean; - description "If true, interface LDP sync is achieved"; - } - - list interface-neighbor { - description "Information for neighbors on the interface"; - uses OSPFV3-EDM-INTERFACE-NBR; - } - } - - grouping OSPFV3-EDM-LSA-UNKNOWN { - description "OSPFv3 Unknown LSA Database Information"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf interface-name { - type xr:Interface-name; - description "LSA interface name "; - } - leaf is-virtual-link { - type boolean; - description "If true, it is a virtual link "; - } - leaf virtual-link-id { - type uint32; - description "Virtual link ID "; - } - leaf is-sham-link { - type boolean; - description "If true, it is a sham link "; - } - leaf sham-link-id { - type uint32; - description "Shamlink ID "; - } - } - - grouping OSPFV3-EDM-LSA-GRACE { - description "OSPFv3 Grace LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf grace-period { - type uint32; - description - "The grace periord where helper routers should - wait before advertising it fully adjacent(s) "; - } - leaf grace-reason { - type Ospfv3-graceful-restart-reason; - description "Reason for router restart"; - } - } - - grouping OSPFV3-EDM-LSA-PREFIX { - description "OSPFv3 Prefix LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf reference-type { - type Ospfv3-lsa1; - description "Reference type "; - } - leaf reference-lsa-id { - type uint32; - description "Reference LSA ID "; - } - leaf reference-advertised-router { - type inet:ipv4-address; - description "Reference advertised router "; - } - - list prefix { - description "OSPFv3 prefix "; - uses OSPFV3-EDM-PREFIX; - } - } - - grouping OSPFV3-EDM-PREFIX { - description "OSPFv3 Prefix Type"; - leaf prefix { - type inet:ipv6-address; - description "OSPFv3 prefix "; - } - leaf ospfv3-prefix-length { - type uint8; - description "OSPFv3 prefix length "; - } - leaf ospfv3-prefix-options { - type uint8; - description "OSPFv3 prefix options "; - } - leaf ospfv3-prefix-metric { - type uint16; - description "OSPFv3 prefix metric "; - } - leaf priority { - type Prefix-priority; - description "Prefix priority"; - } - } - - grouping OSPFV3-EDM-LSA-LINK { - description "OSPFv3 Link LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf interface-name { - type xr:Interface-name; - description "LSA interface handle"; - } - leaf is-virtual-link { - type boolean; - description "If true, it is a virtual link"; - } - leaf virtual-link-id { - type uint32; - description "Virtual link ID "; - } - leaf is-sham-link { - type boolean; - description "If true, it is a sham link"; - } - leaf sham-link-id { - type uint32; - description "Sham link ID "; - } - leaf lsa-link-local { - type inet:ipv6-address; - description "LSA link local "; - } - leaf router-priority { - type uint8; - description "Router priority "; - } - - list prefix { - description "OSPFv3 prefix "; - uses OSPFV3-EDM-PREFIX; - } - } - - grouping OSPFV3-EDM-LSA-EXTERNAL { - description "OSPFv3 External LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA Information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf prefix { - type inet:ipv6-address; - description "IPV6 address prefix "; - } - leaf prefix-length { - type uint8; - description "Prefix length "; - } - leaf metric-type { - type Ospfv3-default-metric; - description "Metric type "; - } - leaf tos-cost { - type uint32; - description "Type of service cost metric "; - } - leaf is-forwarding-address-set { - type boolean; - description "If true, forwarding address is set "; - } - leaf forwarding-address { - type inet:ipv6-address; - description "Forwarding Address"; - } - leaf external-tag { - type uint32; - description "Route Tag"; - } - leaf priority { - type Prefix-priority; - description "Prefix priority"; - } - } - - grouping OSPFV3-EDM-LSA-IARTR { - description "OSPFv3 Inter-area Router LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf lsa-router-id { - type uint32; - description "LSA router ID "; - } - } - - grouping OSPFV3-EDM-LSA-IAPFX { - description "OSPFv3 Inter-area Prefix LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA Information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf prefix { - type inet:ipv6-address; - description "LSA address prefix "; - } - leaf prefix-length { - type uint8; - description "Prefix length "; - } - leaf priority { - type Prefix-priority; - description "Prefix priority"; - } - } - - grouping OSPFV3-EDM-LSA-NETWORK { - description "OSPFv3 Network LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf-list neighbor-router { - type inet:ipv4-address; - description "Neighbor router list"; - } - } - - grouping OSPFV3-EDM-RPF-PATH { - description - "OSPFv3 Router LSA Reverse-Path Forwarding - Information"; - leaf rpf-multicast-next-hop { - type uint32; - description "RPF multicast next hop "; - } - leaf interface-name { - type xr:Interface-name; - description "RPF multicast IDB "; - } - } - - grouping OSPFV3-EDM-LINK { - description "OSPFv3 Router LSA Links"; - leaf link-type { - type Ospfv3-link; - description "Type of link"; - } - leaf link-metric { - type uint16; - description "LSA link metric "; - } - leaf link-interface-id { - type uint32; - description "LSA link interface ID "; - } - leaf link-neighbor-interface-id { - type uint32; - description "LSA link neighbor interface ID "; - } - leaf link-neighbor-router-id { - type uint32; - description "LSA link neigbhor router id "; - } - } - - grouping OSPFV3-EDM-LSA-ROUTER { - description "OSPFv3 Router LSA"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - - container rpf-path { - description "Router LSA Reverse-Path Forwarding information "; - uses OSPFV3-EDM-RPF-PATH; - } - leaf router-la-bits { - type uint8; - description "Router LA bits "; - } - - list link { - description "List of links in this LSA"; - uses OSPFV3-EDM-LINK; - } - } - - grouping OSPFV3-EDM-DB-DETAIL { - description "OSPFv3 Detailed LSA Database Information"; - leaf second-table-index { - type uint8; - description "Second table index"; - } - leaf minute-table-index { - type uint8; - description "Minute table index"; - } - leaf free-time { - type uint32; - description - "The amount of time since the last check was made - to free this LSA (s)"; - } - leaf is-deleted { - type boolean; - description "If true, flag is set to delete this LSA "; - } - leaf is-routing-bit { - type boolean; - description "If true, Routing Bit set on the LSA"; - } - leaf is-advertising-router-reachable { - type boolean; - description "If true, Advertising Router is reachable"; - } - leaf is-no-delete { - type boolean; - description - "If true, the reason not to delete this LSA is - because delete flag not set on this LSA"; - } - leaf is-neighbor-exchange { - type boolean; - description - "If true, the reason not to delete this LSA is - because neighbor is in exchange state"; - } - leaf is-routing-table { - type boolean; - description - "If true, the reason not to delete this LSA is - because it has a contributing entry in the - routing table "; - } - leaf is-acknowledged { - type boolean; - description - "If true, the reason not to delete this LSA is - because it's Acknowledgement list is not empty "; - } - leaf is-maximum-aged { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is in Maxage Queue"; - } - leaf is-partial-spf { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is in partial SPF queue"; - } - leaf is-flood-pending { - type boolean; - description - "If true, the reason not to delete this LSA is - because waiting for flooding or retransmission"; - } - leaf rate-limit { - type boolean; - description - "If true, the reason not to delete this LSA is - because waiting for next wait-interval to expire"; - } - leaf is-nsr-ack-pending { - type boolean; - description - "If true, the reason not to delete this LSA is - because NSR ACK from standby is pending"; - } - leaf nsr-flood-required { - type boolean; - description - "If true, the reason not to delete this LSA is - because it is pending flooding on switchover"; - } - leaf lsa-flood-required-post-fail-over { - type boolean; - description "LSA flood required after FO"; - } - leaf lsa-length { - type uint16; - description "Length of the LSA"; - } - leaf lsa-sync-state { - type Ospf-lsa-sync-state; - description "State of LSA sync with active"; - } - } - - grouping OSPFV3-EDM-DB-HEADER { - description "OSPFv3 LSA Database Header"; - leaf lsa-type { - type uint16; - description "LSA type"; - } - leaf lsa-area-id { - type string { - length "0..16"; - } - description "Area ID in decimal or dotted-decimal format"; - } - leaf lsa-age { - type uint16; - description "LSA's Age (s)"; - } - leaf is-do-not-age-lsa { - type boolean; - description "If true, Do Not Age this LSA"; - } - leaf ls-id { - type uint32; - description "LS ID"; - } - leaf advertising-router { - type inet:ipv4-address; - description "Router ID of Advertising Router"; - } - leaf sequence-number { - type uint32; - description "Current Sequence number"; - } - leaf checksum { - type uint16; - description "Checksum value"; - } - leaf is-graceful-restart-active { - type boolean; - description "If true, if grace restart is active "; - } - } - - grouping OSPFV3-EDM-DATABASE { - description "OSPFv3 Database Information"; - - container lsa-header { - description "Header information "; - uses OSPFV3-EDM-DB-HEADER; - } - - container lsa-detail { - description "Detailed LSA information"; - uses OSPFV3-EDM-DB-DETAIL; - } - leaf links { - type uint16; - description "Number of links"; - } - leaf router-la-bits { - type uint8; - description "Router LA bits "; - } - leaf reference-type { - type uint16; - description "Reference type "; - } - leaf reference-lsa-id { - type uint32; - description "Reference LSA ID "; - } - leaf lsa-router-id { - type uint32; - description "LSA router ID "; - } - leaf prefix { - type inet:ipv6-address; - description "OSPFv3 address Prefix "; - } - leaf prefix-length { - type uint8; - description "Prefix length "; - } - leaf interface-name { - type xr:Interface-name; - description "LSA interface name "; - } - leaf is-virtual-link { - type boolean; - description "If true, it is a virtual link "; - } - leaf virtual-link-id { - type uint32; - description "Virtual link ID "; - } - leaf is-sham-link { - type boolean; - description "If true, it is a sham link "; - } - leaf sham-link-id { - type uint32; - description "Sham link ID "; - } - } - - grouping OSPFV3-LSA-INFO-UNION { - description "Detail LSA information for an LSA"; - - container lsa-summary-info { - when "../lsa-info-type = 'mgmt-lsa-lsasum-type'" { - description "../LSAInfoType = 'MGMT_LSA_LSASUM_TYPE'"; - } - description "Summary information of LSAs"; - uses OSPFV3-EDM-DATABASE; - } - - container router-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-rtr-type'" { - description "../LSAInfoType = 'MGMT_LSA_RTR_TYPE'"; - } - description "Router LSA"; - uses OSPFV3-EDM-LSA-ROUTER; - } - - container network-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-net-type'" { - description "../LSAInfoType = 'MGMT_LSA_NET_TYPE'"; - } - description "Network LSA"; - uses OSPFV3-EDM-LSA-NETWORK; - } - - container inter-area-prefix-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-iapfx-type'" { - description "../LSAInfoType = 'MGMT_LSA_IAPFX_TYPE'"; - } - description "Inter Area Prefix LSA"; - uses OSPFV3-EDM-LSA-IAPFX; - } - - container inter-area-router-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-iartr-type'" { - description "../LSAInfoType = 'MGMT_LSA_IARTR_TYPE'"; - } - description "Inter Area Router LSA"; - uses OSPFV3-EDM-LSA-IARTR; - } - - container external-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-ext-type'" { - description "../LSAInfoType = 'MGMT_LSA_EXT_TYPE'"; - } - description "External LSA"; - uses OSPFV3-EDM-LSA-EXTERNAL; - } - - container nssalsa-type { - when "../lsa-info-type = 'mgmt-lsa-nssaext-type'" { - description "../LSAInfoType = 'MGMT_LSA_NSSAEXT_TYPE'"; - } - description "NSSA External LSA"; - uses OSPFV3-EDM-LSA-EXTERNAL; - } - - container link-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-link-type'" { - description "../LSAInfoType = 'MGMT_LSA_LINK_TYPE'"; - } - description "Link LSA"; - uses OSPFV3-EDM-LSA-LINK; - } - - container intra-area-prefix-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-prefix-type'" { - description "../LSAInfoType = 'MGMT_LSA_PREFIX_TYPE'"; - } - description "Intra Area Prefix LSA"; - uses OSPFV3-EDM-LSA-PREFIX; - } - - container grace-lsa { - when "../lsa-info-type = 'mgmt-lsa-gr-type'" { - description "../LSAInfoType = 'MGMT_LSA_GR_TYPE'"; - } - description "Grace LSA"; - uses OSPFV3-EDM-LSA-GRACE; - } - - container unknown-link-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-unk-link-type'" { - description "../LSAInfoType = 'MGMT_LSA_UNK_LINK_TYPE'"; - } - description "Unknown Link Scope LSA"; - uses OSPFV3-EDM-LSA-UNKNOWN; - } - - container unknown-area-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-unk-area-type'" { - description "../LSAInfoType = 'MGMT_LSA_UNK_AREA_TYPE'"; - } - description "Unknown-Area scope LSA"; - uses OSPFV3-EDM-LSA-UNKNOWN; - } - - container unknown-aslsa-type { - when "../lsa-info-type = 'mgmt-lsa-unk-as-type'" { - description "../LSAInfoType = 'MGMT_LSA_UNK_AS_TYPE'"; - } - description "Unknown-AS scope LSA"; - uses OSPFV3-EDM-LSA-UNKNOWN; - } - - container unknown-lsa-type { - when "../lsa-info-type = 'mgmt-lsa-unk-type'" { - description "../LSAInfoType = 'MGMT_LSA_UNK_TYPE'"; - } - description "Unknown LSA"; - uses OSPFV3-EDM-LSA-UNKNOWN; - } - leaf lsa-info-type { - type Ospfv3-lsa-info-types; - description "LSAInfoType"; - } - } - - grouping OSPFV3-EDM-DATABASE-LSAINFO { - description "OSPFv3 LSA Information"; - - container lsa-info { - description - "Summary of all LSAs or LSA specific information "; - uses OSPFV3-LSA-INFO-UNION; - } - } - - grouping OSPFV3-EDM-AREA-RANGE { - description "OSPFv3 area range information"; - leaf range-prefix { - type inet:ipv6-address; - description "IP prefix for summarization"; - } - leaf range-prefix-length { - type uint32; - description "IP prefix length for summarization"; - } - leaf net-cost { - type uint32; - description "Net cost "; - } - leaf status { - type Ospfv3-area-range-status; - description "Area range status "; - } - leaf is-cost-configured { - type boolean; - description "If true, cost is configured "; - } - } - - grouping OSPFV3-EDM-AREA { - description "OSPFv3 area summary information"; - leaf is-backbone-area-active { - type boolean; - description "If true, Backbone area is active"; - } - leaf area-interfaces { - type uint16; - description "Number of interfaces in the area"; - } - leaf is-area-stubbed { - type boolean; - description "If true, stub area"; - } - leaf is-area-total-stubbed { - type boolean; - description "If true, totally stubby area"; - } - leaf stub-default-cost { - type uint16; - description "Default cost for Stub or NSSA area"; - } - leaf is-area-nssa { - type boolean; - description "If true, area is a NSSA"; - } - leaf nssa-no-redistribution { - type boolean; - description "If true, No redistribution into this NSSA area"; - } - leaf is-nssa-translated { - type boolean; - description "If true, perform 7/5 translation"; - } - leaf is-nssa-default { - type boolean; - description "If true, generate NSSA default route"; - } - leaf is-rrr-enabled { - type boolean; - description "If true, RRR is enabled"; - } - leaf sp-fs { - type uint32; - description "Number of SPF calculations run"; - } - leaf area-opaque-lsas { - type uint32; - description "Number of opaque LSAs in the area"; - } - leaf area-opaque-lsa-checksum { - type uint32; - description "Sum of opaque LSA checksums"; - } - leaf area-dc-bitless-ls-as { - type uint32; - description "Number of LSA with demand circuit bit not set"; - } - leaf indication-ls-as { - type uint32; - description "Number of indication LSAs"; - } - leaf do-not-age-ls-as { - type uint32; - description "Number of do not age LSAs"; - } - leaf flood-list-length { - type uint32; - description "Number of LSAs which need to be flooded"; - } - leaf area-lfa-interface-count { - type uint32; - description "Number of LFA enabled interfaces"; - } - leaf area-per-prefix-lfa-interface-count { - type uint32; - description "Number of Per Prefix LFA enabled interfaces"; - } - leaf area-lfa-revision { - type uint32; - description "Area LFA revision"; - } - - list area-range { - description "List of ranges to summarize"; - uses OSPFV3-EDM-AREA-RANGE; - } - } - - grouping OSPFV3-EDM-NEIGHBOR-RETRANS { - description "OSPFv3 neighbor retransmission information"; - leaf database-descriptor-retransmissions { - type uint32; - description - "Number of database descriptor retransmissions - during last exchange"; - } - leaf area-flood-index { - type uint32; - description "Area scope LSA's flood index"; - } - leaf as-flood-index { - type uint32; - description "AS scope LSA's flood index"; - } - leaf link-flood-index { - type uint32; - description "Link flood index"; - } - leaf neighbor-retransmissions { - type uint32; - description "Number of neighbor retransmissions "; - } - leaf retransmissions { - type uint32; - description "Number of retransmissions for this neighbor"; - } - leaf area-first-flood { - type uint32; - description "First flood item for area scope LSAs"; - } - leaf area-first-flood-index { - type uint32; - description - "Index of the first flood item for area scope - LSAs"; - } - leaf as-first-flood { - type uint32; - description "First flood item for AS scope LSAs"; - } - leaf as-first-flood-index { - type uint32; - description "Index for first flood item for AS scope LSAs"; - } - leaf link-first-flood { - type uint32; - description "Link first flood information "; - } - leaf link-first-flood-index { - type uint32; - description "Link first flood information index"; - } - leaf area-next-flood { - type uint32; - description "Next flood item for area scope LSAs"; - } - leaf area-next-flood-index { - type uint32; - description "Index of next flood item for Area scope LSAs"; - } - leaf as-next-flood { - type uint32; - description "Next flood item for AS scope LSAs"; - } - leaf as-next-flood-index { - type uint32; - description "Index of next flood item for AS scope LSAs"; - } - leaf link-next-flood { - type uint32; - description "Link next flood information "; - } - leaf link-next-flood-index { - type uint32; - description "Link next flood information index "; - } - leaf last-retransmission-length { - type uint32; - description "Number of LSAs sent in last retransmission"; - } - leaf maximum-retransmission-length { - type uint32; - description "Maximum number of LSAs sent in a retransmission"; - } - leaf last-retransmission-time { - type uint32; - description "Last retransmission scan time (ms)"; - } - leaf maximum-retransmission-time { - type uint32; - description "Maximum retransmission scan time (ms)"; - } - leaf lsa-retransmission-timer { - type uint32; - description "Time until next LSA retransmission (ms)"; - } - } - - grouping OSPFV3-SH-SLINK-NEIGHBOR { - description "Sham Link Neighbor Information"; - - container sham-link-retransmission { - description "Neighbor retransmission info"; - uses OSPFV3-EDM-NEIGHBOR-RETRANS; - } - leaf sham-link-suppress-hello { - type boolean; - description "If true Hellos suppressed"; - } - leaf sham-link-state { - type Ospfv3-neighbor-state; - description "Adjacency state"; - } - } - - grouping OSPFV3-SH-SHAM-LINKS { - description "OSPFv3 Sham Link"; - - container sham-link-neighbor { - description "Neighbor information"; - uses OSPFV3-SH-SLINK-NEIGHBOR; - } - leaf sham-link-neighbor-id { - type inet:ipv4-address; - description "Neighbor on other end of this sham link"; - } - leaf sham-link-source-address { - type inet:ipv6-address; - description "Sham-link source"; - } - leaf sham-link-dest-address { - type inet:ipv6-address; - description "Sham-link dest"; - } - leaf sham-link-state { - type Ospfv3-interface-state; - description "OSPF interface state for the sham link"; - } - leaf sham-link-demand-circuit { - type boolean; - description "If true, the link runs as demand circuit"; - } - leaf sham-link-dc-bitless-lsa { - type uint32; - description "Number of LSA's with demand circuit bit not set"; - } - leaf sham-link-ifindex { - type uint32; - description "Sham-link ifindex"; - } - leaf sham-link-area { - type string; - description "Area id"; - } - leaf sham-link-cost { - type uint16; - description "Cost of the sham link"; - } - leaf sham-link-transmission-delay { - type uint16; - units "second"; - description "Transmission delay in seconds"; - } - leaf sham-link-hello-interval { - type uint32; - description "Hello interval (s)"; - } - leaf sham-link-dead-interval { - type uint32; - description "Dead interval (s)"; - } - leaf sham-link-wait-interval { - type uint32; - description "Wait interval (s)"; - } - leaf sham-link-retransmission-interval { - type uint32; - description "Retransmission interval (s)"; - } - leaf sham-link-next-hello { - type uint32; - description "Time until next hello (s)"; - } - leaf sham-link-passive { - type boolean; - description "If true, interface is passive"; - } - leaf is-sham-link-ip-security-required { - type boolean; - description "If true, sham link IP security is required "; - } - leaf is-sham-link-ip-security-active { - type boolean; - description "If true, Sham link IP security is active "; - } - leaf is-sham-link-authentication-enabled { - type boolean; - description "If true, sham link authentication is enabled "; - } - leaf virtual-link-authentication-spi { - type uint32; - description "Sham link authentication spi "; - } - leaf sham-link-authentication-transmit { - type uint32; - description "Sham link authentication transmit "; - } - leaf is-sham-link-encryption-enabled { - type boolean; - description "If true, sham link encryption is enabled "; - } - leaf sham-link-encryption-spi { - type uint32; - description "Sham link encryption spi"; - } - leaf sham-link-encryption-transmitted { - type uint32; - description "Sham link encryption transmitted "; - } - leaf sham-link-encrypted-authentication-transmitted { - type uint32; - description "Sham link encrypted authentication transmitted "; - } - leaf sham-link-gr-enabled { - type boolean; - description "If true, enabled"; - } - leaf sham-link-gr { - type boolean; - description "If true, Gracefule restart in progress"; - } - leaf sham-link-last-gr { - type uint32; - units "second"; - description "Time in seconds since last GR"; - } - } - - grouping OSPFV3-EDM-BR-PATH { - description "OSPFv3 border router path"; - leaf is-intra-area-router { - type boolean; - description - "If true, intra-area router else inter-area - router"; - } - leaf border-router-route-metric { - type uint32; - description "Metric"; - } - leaf border-router-next-hop { - type inet:ipv6-address; - description "Next hop address "; - } - leaf interface-name { - type xr:Interface-name; - description "Next hop interface name"; - } - leaf border-router-type { - type Ospfv3-border-route; - description "Border router type "; - } - leaf border-router-area-id { - type string { - length "0..16"; - } - description - "Area string in decimal or dotted-decimal format "; - } - leaf spf-version { - type uint32; - description "SPF version"; - } - } - - grouping OSPFV3-EDM-BORDER-ROUTER { - description "OSPFv3 border router information"; - - list border-router-path { - description "List of border router paths"; - uses OSPFV3-EDM-BR-PATH; - } - } - - grouping OSPFV3-EDM-SUMMARY-PREFIX { - description "OSPFv3 summary prefix information"; - leaf prefix-metric { - type uint32; - description "Prefix metric"; - } - leaf prefix-metric-type { - type Ospfv3-default-metric; - description "Prefix metric type"; - } - leaf tag { - type uint32; - description "Tag"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper.yang deleted file mode 100644 index ce0c84d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ospfv3-oper.yang +++ /dev/null @@ -1,861 +0,0 @@ -module Cisco-IOS-XR-ipv6-ospfv3-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper"; - - - prefix "ipv6-ospfv3-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ipv6-ospfv3-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-ospfv3 package operational data. - - This module contains definitions - for the following management objects: - ospfv3: OSPFv3 operational information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ospfv3-lsa { - type enumeration { - enum link-lsa { - value 8; - description "Link LSA"; - } - enum grace-lsa { - value 11; - description "Grace LSA"; - } - enum router { - value 8193; - description "Router LSA"; - } - enum network { - value 8194; - description "Network LSA"; - } - enum inter-area-prefix { - value 8195; - description "Inter-Area Prefix LSA"; - } - enum inter-area-router { - value 8196; - description "Inter-Area Router LSA"; - } - enum nssa-external { - value 8199; - description "NSSA External LSA"; - } - enum intra-area-prefix { - value 8201; - description "Intra-Area Prefix LSA"; - } - enum external { - value 16389; - description "External LSA"; - } - enum opaque-link { - value 32768; - description "Opaque LSALink Scope"; - } - enum opaque-area { - value 40960; - description "Opaque LSA Area Scope"; - } - enum opaque-as { - value 49152; - description "Opaque LSA AS Scope"; - } - enum unknown { - value 57344; - description "Unknown Reserved Scope LSAs"; - } - } - description "Ospfv3 lsa"; - } - - grouping FLOOD-LIST-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container flood-list-process-table { - description - "OSPFv3 flood list information table for all - areas"; - uses FLOOD-LIST; - } - } - - grouping FLOOD-LIST { - description - "Common node of flood-list-table, - flood-list-process-table"; - - list flood { - key "interface-name"; - description "OSPFv3 flood list information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPFV3-EDM-FLOOD-LIST; - } - } - - grouping BORDER-ROUTER-TABLE { - description "Common node of default-vrf, vrf"; - - container border-routers { - description "OSPFv3 border router information table"; - - list border-router { - key "border-router-id"; - description "OSPFv3 border router information"; - leaf border-router-id { - type inet:ipv4-address-no-zone; - description "Router address"; - } - uses OSPFV3-EDM-BORDER-ROUTER; - } - } - } - - grouping FAST-REROUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container fast-reroutes { - description "OSPFv3 fast reroute topology information table"; - - list fast-reroute { - description "OSPFv3 fast reroute topology information"; - leaf router-id { - type inet:ipv4-address-no-zone; - description "Router ID"; - } - leaf area-id { - type int32; - description "AreaID"; - } - uses OSPFV3-SH-IPFRR-TOPO; - } - } - } - - grouping AREA-TABLE { - description "Common node of default-vrf, vrf"; - - container areas { - description "OSPFv3 area table"; - - list area { - key "area-id"; - description "Per-area information"; - - container neighbor-detail-table { - description "OSPFv3 area neighbor information table"; - uses NEIGHBOR-DETAIL; - } - - container interface-brief-table { - description - "OSPFv3 interface brief information table for - an area"; - uses INTERFACE-BRIEF; - } - - container request-list-table { - description "OSPFv3 request list information in an area"; - uses REQUEST-LIST; - } - - container neighbor-table { - description "OSPFv3 neighbor information table"; - uses NEIGHBOR; - } - - container interface-table { - description - "OSPFv3 interface information table for an area"; - uses INTERFACE; - } - - container flood-list-table { - description - "OSPFv3 flood list information table for an - area"; - uses FLOOD-LIST; - } - - container retransmission-list-table { - description - "OSPFv3 retransmission list information table - in an area"; - uses RETRANSMISSION-LIST; - } - leaf area-id { - type int32; - description "Area ID"; - } - uses DATABASE-TABLE; - uses DATABASE-SUMMARY-TABLE; - } - } - } - - grouping EXTERNAL-ROUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container external-routes { - description "OSPFv3 external route information table"; - - list external-route { - description "OSPFv3 external route information"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Route prefix"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix length"; - } - uses OSPFV3-EDM-TOPOLOGY-EXTERNAL; - } - } - } - - grouping RAWIO-STATS { - description "Common node of statistics, vrf-statistics"; - - container rawio-stats { - description "OSPF Prefix SPF Prioritization statistics"; - uses OSPFV3-EDM-RAW-STATS; - } - } - - grouping NEIGHBOR-DETAIL-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbor-detail-process-table { - description "OSPFv3 neighbor information table for all areas"; - uses NEIGHBOR-DETAIL; - } - } - - grouping VRF-RIB-BATCH-STATS { - description "Common node of statistics, vrf-statistics"; - - container vrf-rib-batch-stats { - description "OSPFv3 RIB batch statistics"; - uses OSPFV3-EDM-BATCH-STATS; - } - } - - grouping VRF-STATISTICS { - description "Common node of default-vrf, vrf"; - - container vrf-statistics { - description "Container for Statistics"; - uses PROTOCOL-STATS-TABLE; - uses SPF-STATS; - uses RAWIO-STATS; - uses PREFIX-PRIORITY-STATS; - uses VRF-RIB-BATCH-STATS; - } - } - - grouping INTERFACE { - description - "Common node of interface-table, - interface-process-table"; - - list interface { - key "interface-name"; - description "OSPFv3 interface information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPFV3-EDM-INTERFACE; - } - } - - grouping INTERFACE-BRIEF { - description - "Common node of interface-brief-table, - interface-brief-process-table"; - - list interface-brief { - key "interface-name"; - description "Interface brief information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPFV3-EDM-INTF-BRIEF; - } - } - - grouping ROUTE-SUMMARY { - description "Common node of default-vrf, vrf"; - - container route-summary { - description "Summarize OSPFv3 local RIB tables"; - uses OSPFV3-EDM-ROUTE-SUM; - } - } - - grouping PREFIX-PRIORITY-STATS { - description "Common node of statistics, vrf-statistics"; - - container prefix-priority-stats { - description "OSPF Prefix SPF Prioritization statistics"; - uses OSPFV3-EDM-PRIO-STATS; - } - } - - grouping NEIGHBOR-DETAIL { - description - "Common node of neighbor-detail-process-table, - neighbor-detail-table"; - - list neighbor-detail { - description "OSPFv3 neighbor detail information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor ID"; - } - uses OSPFV3-EDM-NEIGHBOR; - } - } - - grouping LSA { - description "Common node of lsa-table, lsa-internal-table"; - - list lsa { - description "Database LSA information"; - leaf area-id { - type int32; - description "Area ID"; - } - leaf ls-type { - type Ospfv3-lsa; - description "LSA type"; - } - leaf advertising-router { - type inet:ipv4-address-no-zone; - description "Advertising Router ID"; - } - leaf ls-id { - type int32; - description "Link state ID"; - } - leaf interface-name { - type xr:Interface-name; - description "InterfaceName"; - } - uses OSPFV3-EDM-DATABASE-LSAINFO; - } - } - - grouping VIRTUAL-LINK { - description "Common node of default-vrf, vrf"; - - container virtual-link { - description "Virtual link information"; - uses OSPFV3-EDM-VIRTUAL-LINKS; - } - } - - grouping RETRANSMISSION-LIST { - description - "Common node of retransmission-list-process-table, - retransmission-list-table"; - - list retransmission { - description "OSPFv3 retransmission list information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPFV3-EDM-RETRANS; - } - } - - grouping RETRANSMISSION-LIST-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container retransmission-list-process-table { - description - "OSPFv3 retransmission list information table for - all areas"; - uses RETRANSMISSION-LIST; - } - } - - grouping SPF-STATS { - description "Common node of statistics, vrf-statistics"; - - container spf-stats { - description "OSPFv3 RIB batch statistics"; - uses OSPFV3-EDM-SPF-STATS; - } - } - - grouping SUMMARY-PREFIX-TABLE { - description "Common node of default-vrf, vrf"; - - container summary-prefixes { - description "Summary prefix information table"; - - list summary-prefix { - description "Summary prefix information"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Summary prefix"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix length"; - } - uses OSPFV3-EDM-SUMMARY-PREFIX; - } - } - } - - grouping AREA-INFORMATION-TABLE { - description "Common node of default-vrf, vrf"; - - container area-informations { - description "OSPFv3 area information table"; - - list area-information { - key "area-id"; - description "OSPFv3 area information"; - leaf area-id { - type int32; - description "Area ID"; - } - uses OSPFV3-EDM-AREA; - } - } - } - - grouping SHAM-LINK-TABLE { - description "Common node of default-vrf, vrf"; - - container sham-link-table { - description "Sham link information"; - uses OSPFV3-SH-SHAM-LINKS; - } - } - - grouping NEIGHBOR { - description - "Common node of neighbor-process-table, - neighbor-table"; - - list neighbor { - description "OSPFv3 neighbor detail information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor ID"; - } - uses OSPFV3-EDM-NEIGHBOR; - } - } - - grouping SUMMARY { - description "Common node of default-vrf, vrf"; - - container summary { - description "OSPFv3 summary"; - - container protocol { - description "OSPFv3 protocol summary"; - uses OSPFV3-EDM-PROTOCOL; - } - - container ospfv3 { - description "OSPFv3 summary"; - uses OSPFV3-EDM-SUMMARY; - } - - container route { - description "OSPFv3 route summary"; - uses OSPFV3-EDM-ROUTE-SUM; - } - } - } - - grouping REQUEST-LIST-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container request-list-process-table { - description "OSPFv3 request list information for all areas"; - uses REQUEST-LIST; - } - } - - grouping DATABASE-TABLE { - description "Common node of area, default-vrf, vrf"; - - container database-table { - description "OSPF Link State Database"; - - container lsa-table { - description "Database LSA information"; - uses LSA; - } - - container lsa-internal-table { - description "Database LSA information"; - uses LSA; - } - } - } - - grouping CONNECTED-ROUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container connected-routes { - description "OSPFv3 connected route information table"; - - list connected-route { - description "OSPFv3 connected route information"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Route prefix"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix length"; - } - uses OSPFV3-EDM-TOPOLOGY-CONNECTED; - } - } - } - - grouping BAD-CHECKSUM-TABLE { - description "Common node of default-vrf, vrf"; - - container bad-checksums { - description "Bad Checksum Packets information table"; - - list bad-checksum { - key "packet-number"; - description "Bad Checksum Packet information"; - leaf packet-number { - type uint32 { - range "0..9"; - } - description "Bad Checksum Packets number"; - } - uses OSPFV3-SH-BAD-CHECKSUM; - } - } - } - - grouping PROTOCOL-STATS-TABLE { - description "Common node of statistics, vrf-statistics"; - - container protocol-stats { - description "Protocol table"; - - list protocol-stat { - key "interface-name"; - description "Protocol statistics for an interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses OSPFV3-EDM-PROTO-STATS; - } - } - } - - grouping DATABASE-SUMMARY-TABLE { - description "Common node of default-vrf, vrf, area"; - - container database-summary-table { - description "Database summary table"; - - container database-summary { - description "Database Summary information"; - uses OSPFV3-EDM-DB-SUMMARY; - } - } - } - - grouping REQUEST-LIST { - description - "Common node of request-list-process-table, - request-list-table"; - - list request { - description "OSPFv3 request list information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor address"; - } - uses OSPFV3-EDM-REQUEST; - } - } - - grouping INTERFACE-BRIEF-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container interface-brief-process-table { - description - "OSPFv3 interface brief information table for all - areas"; - uses INTERFACE-BRIEF; - } - } - - grouping NEIGHBOR-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbor-process-table { - description "OSPFv3 neighbor information table for all areas"; - uses NEIGHBOR; - } - } - - grouping INTERNAL-ROUTE-TABLE { - description "Common node of default-vrf, vrf"; - - container internal-routes { - description "OSPFv3 internal route information table"; - - list internal-route { - description "OSPFv3 internal route information"; - leaf prefix { - type inet:ipv6-address-no-zone; - description "Route prefix"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - description "Prefix length"; - } - uses OSPFV3-EDM-TOPOLOGY-INTERNAL; - } - } - } - - grouping REDISTRIBUTION-TABLE { - description "Common node of default-vrf, vrf"; - - container redistributions { - description "Redistribution information table"; - - list redistribution { - description "Redistribution information"; - leaf protocol-name { - type xr:Cisco-ios-xr-string; - description "Protocol name that is redistributed"; - } - leaf process-name { - type xr:Cisco-ios-xr-string; - description - "Process name of a protocolbeing redistributed "; - } - uses OSPFV3-EDM-REDIST; - } - } - } - - grouping INTERFACE-PROCESS-TABLE { - description "Common node of default-vrf, vrf"; - - container interface-process-table { - description - "OSPFv3 interface information table for all areas"; - uses INTERFACE; - } - } - - grouping PROTOCOL-AREA-TABLE { - description "Common node of default-vrf, vrf"; - - container protocol-areas { - description "Protocol area table "; - - list protocol-area { - key "area-id"; - description "Area information "; - leaf area-id { - type inet:ipv4-address-no-zone; - description "Area ID"; - } - uses OSPFV3-EDM-PROTO-AREA; - } - } - } - - container ospfv3 { - config false; - description "OSPFv3 operational information "; - - container processes { - description "OSPFv3 Process Table"; - - list process { - key "process-name"; - description - "OSPFv3 Operational data for a particular OSPFv3 - process "; - - container vrfs { - description "Table for each VRF"; - - list vrf { - key "vrf-name"; - description - "Operational data for a particular VRF - (instance) in the OSPFv3 process"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses SUMMARY-PREFIX-TABLE; - uses BORDER-ROUTER-TABLE; - uses SHAM-LINK-TABLE; - uses AREA-INFORMATION-TABLE; - uses DATABASE-TABLE; - uses INTERFACE-PROCESS-TABLE; - uses REDISTRIBUTION-TABLE; - uses EXTERNAL-ROUTE-TABLE; - uses REQUEST-LIST-PROCESS-TABLE; - uses VIRTUAL-LINK; - uses FLOOD-LIST-PROCESS-TABLE; - uses ROUTE-SUMMARY; - uses AREA-TABLE; - uses INTERNAL-ROUTE-TABLE; - uses PROTOCOL-AREA-TABLE; - uses CONNECTED-ROUTE-TABLE; - uses VRF-STATISTICS; - uses SUMMARY; - uses RETRANSMISSION-LIST-PROCESS-TABLE; - uses BAD-CHECKSUM-TABLE; - uses DATABASE-SUMMARY-TABLE; - uses NEIGHBOR-PROCESS-TABLE; - uses FAST-REROUTE-TABLE; - uses INTERFACE-BRIEF-PROCESS-TABLE; - uses NEIGHBOR-DETAIL-PROCESS-TABLE; - } - } - - container statistics { - description "Container for Statistics"; - - container nsr-stats { - description "OSPF NSR statistics"; - uses OSPFV3-EDM-NSR-STATS; - } - - container rib-thread-stats { - description "OSPFv3 RIB thread statistics"; - uses OSPFV3-EDM-RTHREAD-STATS; - } - - container issu-stats { - description "OSPF ISSU statistics"; - uses OSPFV3-EDM-NSR-STATS; - } - - container nsr-pl-stats { - description "OSPF NSR packet library statistics"; - uses OSPF-SH-NCD-STATS; - } - uses PROTOCOL-STATS-TABLE; - uses SPF-STATS; - uses RAWIO-STATS; - uses PREFIX-PRIORITY-STATS; - uses VRF-RIB-BATCH-STATS; - } - - container default-vrf { - description - "Operational data for the default VRF - (instance) in the OSPFv3 process"; - uses SUMMARY-PREFIX-TABLE; - uses BORDER-ROUTER-TABLE; - uses SHAM-LINK-TABLE; - uses AREA-INFORMATION-TABLE; - uses DATABASE-TABLE; - uses INTERFACE-PROCESS-TABLE; - uses REDISTRIBUTION-TABLE; - uses EXTERNAL-ROUTE-TABLE; - uses REQUEST-LIST-PROCESS-TABLE; - uses VIRTUAL-LINK; - uses FLOOD-LIST-PROCESS-TABLE; - uses ROUTE-SUMMARY; - uses AREA-TABLE; - uses INTERNAL-ROUTE-TABLE; - uses PROTOCOL-AREA-TABLE; - uses CONNECTED-ROUTE-TABLE; - uses VRF-STATISTICS; - uses SUMMARY; - uses RETRANSMISSION-LIST-PROCESS-TABLE; - uses BAD-CHECKSUM-TABLE; - uses DATABASE-SUMMARY-TABLE; - uses NEIGHBOR-PROCESS-TABLE; - uses FAST-REROUTE-TABLE; - uses INTERFACE-BRIEF-PROCESS-TABLE; - uses NEIGHBOR-DETAIL-PROCESS-TABLE; - } - leaf process-name { - type xr:Cisco-ios-xr-string; - description "Particular OSPFv3 process"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ping-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ping-act.yang deleted file mode 100755 index 78f91dd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-ping-act.yang +++ /dev/null @@ -1,125 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-ping-act { - - belongs-to Cisco-IOS-XR-ping-act { - prefix "ping-act"; - } - - include "Cisco-IOS-XR-ipv4-ping-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv6 ping action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-13" { - description - "IOS XR 6.2.1 revision."; - } - - grouping IPV6-SPECIFIC-OPTIONS { - - leaf priority { - description "Priority of the packet"; - type uint8 { - range "0..15"; - } - } - - leaf outgoing-interface { - description "Outgoing interface, needed in case of ping to link local address"; - type string; - } - } - - grouping IPV6-PING-INPUT { - - uses PING-OPTIONS; - - uses IPV6-SPECIFIC-OPTIONS; - } - - grouping IPV6-PING-OUTPUT { - - uses PING-COMMON-INPUT-OUTPUT-OPTIONS; - - leaf sweep-min { - description "Minimum value of sweep size"; - type uint32; - } - - leaf sweep-max { - description "Maximum value of sweep size"; - type uint64; - } - - leaf rotate-pattern { - description "Rotate Pattern is enabled"; - type boolean; - } - - container replies { - - list reply { - - key reply-index; - - leaf reply-index { - description "Index of the reply list"; - type uint64 { - range "1..2147483647"; - } - } - - leaf result { - description "Response for each packet"; - type string; - } - } - } - - leaf hits { - description "Number of packets reach to destination and get reply back"; - type uint64; - } - - leaf total { - description "Total number of packets sent out"; - type uint64; - } - - leaf success-rate { - description "Successful rate of ping"; - type uint64; - } - - leaf rtt-min { - description "Minimum value of Round Trip Time"; - type uint64; - } - - leaf rtt-avg { - description "Average value of Round Trip Time"; - type uint64; - } - - leaf rtt-max { - description "Maximum value of Round Trip Time"; - type uint64; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-smiap-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-smiap-cfg.yang deleted file mode 100644 index b4e7474..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-smiap-cfg.yang +++ /dev/null @@ -1,92 +0,0 @@ -module Cisco-IOS-XR-ipv6-smiap-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg"; - - - prefix "ipv6-smiap-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ipv6-smiap package configuration. - - This module contains definitions - for the following management objects: - ipv6-virtual: IPv6 virtual address for management interfaces - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-07-04" { - description - "this schema file has all the latest changes."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ipv6-virtual { - description "IPv6 virtual address for management interfaces"; - - container vrfs { - description "VRFs for the virtual IPv6 addresses"; - - list vrf { - key "vrf-name"; - description - "A VRF for a virtual IPv6 address. Specify - 'default' for VRF default"; - - container address { - presence "Indicates a address node is configured."; - description "IPv6 address and mask"; - leaf address { - type inet:ipv6-address-no-zone; - mandatory true; - description "IPv6 address"; - } - leaf prefix-length { - type xr:Ipv6-prefix-length; - mandatory true; - description "IPv6 address prefix length"; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "Name of VRF"; - } - } - } - leaf use-as-source-address { - type empty; - description - "Enable use as default source address on sourced - packets"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-traceroute-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-traceroute-act.yang deleted file mode 100755 index 5aec09f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv6-traceroute-act.yang +++ /dev/null @@ -1,56 +0,0 @@ -submodule Cisco-IOS-XR-ipv6-traceroute-act { - - belongs-to Cisco-IOS-XR-traceroute-act { - prefix "traceroute-act"; - } - - include "Cisco-IOS-XR-ipv4-traceroute-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR IPv6 traceroute action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-17" { - description - "IOS XR 6.2.1 revision."; - } - - grouping IPV6-SPECIFIC-OPTIONS { - - leaf priority { - description "Priority of hte packet"; - type uint16 { - range "0..15"; - } - } - - leaf outgoing-interface { - description "Outgoing interface, needed in case of traceroute to link local address"; - type string; - } - - } - - grouping IPV6-TRACEROUTE-INPUT { - - uses TRACEROUTE-OPTIONS; - - uses IPV6-SPECIFIC-OPTIONS; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-isis-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-isis-act.yang deleted file mode 100755 index c30cb90..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-isis-act.yang +++ /dev/null @@ -1,178 +0,0 @@ -module Cisco-IOS-XR-isis-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act"; - - prefix "isis-act"; - - import Cisco-IOS-XR-types { prefix "xr"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ISIS action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-30" { - description - "IOS XR 6.2.1 revision."; - } - - rpc clear-isis-process { - description "Clear all IS-IS data structures"; - input { - container instance { - description "Clear data from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - leaf process { - description "Clear all IS-IS data structures"; - type empty; - } - } - } - - rpc clear-isis-route { - description "Clear IS-IS routes"; - input { - container instance { - description "Clear data from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - leaf route { - description "Clear IS-IS routes"; - type empty; - } - } - } - - rpc clear-isis-stat { - description "Clear IS-IS protocol statistics"; - input { - container instance { - description "Clear data from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - container statistics { - description "Clear IS-IS protocol statistics"; - leaf interface-name { - mandatory true; - description "Interface name"; - type xr:Interface-name; - } - } - } - } - - rpc clear-isis-dist { - description "Reset BGP-LS topology distribution"; - input { - container instance { - description "Reset BGP-LS topology from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - leaf distribution { - description "Reset BGP-LS topology distribution"; - type empty; - } - } - } - - rpc clear-isis-local-lsp { - description "Clean and regenerate local LSPs"; - input { - container instance { - description "Clean and regenerate local LSPs from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - leaf local-lsp { - description "Clean and regenerate local LSPs"; - type empty; - } - } - } - - rpc clear-isis { - description "Clear IS-IS data structures"; - input { - container instance { - description "Clear data from single IS-IS instance"; - leaf instance-identifier { - description "IS-IS process instance identifier"; - type string; - } - } - leaf rt-type { - description "Clear data for these route types"; - type enumeration { - enum AFI-ALL-MULTICAST { - value 0; - } - enum AFI-ALL-SAFI-ALL { - value 1; - } - enum AFI-ALL-UNICAST { - value 2; - } - enum IPv4-MULTICAST { - value 3; - } - enum IPv4-SAFI-ALL { - value 4; - } - enum IPv4-UNICAST { - value 5; - } - enum IPv6-MULTICAST { - value 6; - } - enum IPv6-SAFI-ALL { - value 7; - } - enum IPv6-UNICAST { - value 8; - } - } - } - leaf route { - description "Clear IS-IS routes"; - when "../topology = ''"; - type empty; - } - leaf topology { - description "Topology table information"; - when "../route = 'empty'"; - type string; - } - } - } -} - diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-kim-tpa-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-kim-tpa-cfg.yang deleted file mode 100644 index 1016410..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-kim-tpa-cfg.yang +++ /dev/null @@ -1,215 +0,0 @@ -module Cisco-IOS-XR-kim-tpa-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg"; - - - prefix "kim-tpa-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR kim-tpa package configuration. - - This module contains definitions - for the following management objects: - tpa: tpa configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping LPTS-ALLOW { - description "Common node of ipv4, ipv6"; - - container lpts-allow-entries { - description "TPA Cli to configure LPTS entries"; - - list lpts-allow-entry { - key "interface-name remote-addr local-addr remote-port"+ - " local-port protocol"; - description "TPA Cli to configure LPTS entry"; - leaf interface-name { - type xr:Cisco-ios-xr-string; - description "Interface name"; - } - leaf remote-addr { - type xr:Cisco-ios-xr-string; - description "remote address"; - } - leaf local-addr { - type xr:Cisco-ios-xr-string; - description "local address"; - } - leaf remote-port { - type int32; - description "remote port"; - } - leaf local-port { - type int32; - description "local port"; - } - leaf protocol { - type int32; - description "L4 protocol"; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface name for allow command"; - } - leaf remote-addr-xr { - type string; - description "IPv4/6 remote-address prefix to match"; - } - leaf local-addr-xr { - type string; - description "IPv4/6 local-address prefix to match"; - } - leaf remote-port-xr { - type int32; - description "remote port value"; - } - leaf local-port-xr { - type int32; - description "local port value"; - } - leaf protocol-xr { - type int32; - description "L4 protocol value"; - } - } - } - } - - grouping UPDATE-SOURCE { - description "Common node of ipv4, ipv6"; - leaf update-source { - type xr:Interface-name; - description "Interface name for source address"; - } - } - - grouping DEFAULT-ROUTE { - description "Common node of ipv4, ipv6"; - leaf default-route { - type string; - description "Default interface used for routing"; - } - } - - container tpa { - description "tpa configuration commands"; - - container vrf-names { - description "VRF container"; - - list vrf-name { - key "vrf-name"; - description "VRF name"; - - container east-west-names { - description "EastWest container"; - - list east-west-name { - key "east-west-name"; - description "East West interface"; - leaf east-west-name { - type xr:Cisco-ios-xr-string; - description "Interface"; - } - leaf vrf { - type string; - description "VRF name"; - } - leaf interface { - type string; - description "Interface"; - } - } - } - - container address-family { - description "Address family"; - - container ipv6 { - description "IPv6 configuration"; - uses DEFAULT-ROUTE; - uses LPTS-ALLOW; - uses UPDATE-SOURCE; - } - - container ipv4 { - description "IPv4 configuration"; - uses DEFAULT-ROUTE; - uses LPTS-ALLOW; - uses UPDATE-SOURCE; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - } - - container logging { - description "Third party app logging"; - - container kim { - description "KIM logging"; - leaf rotation-max { - type int32; - description "How many log rotation files to keep"; - } - leaf file-size-max-kb { - type int32; - units "kilobyte"; - description "Size in Kilobytes of the log file"; - } - } - } - - container statistics { - description "Statistics"; - leaf max-intf-events { - type int32; - description "How many interface events to record"; - } - leaf max-lpts-events { - type int32; - description "How many LPTS events to record"; - } - leaf statistics-update-frequency { - type int32; - units "second"; - description "Statistics update frequency into Linux"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-cfg.yang deleted file mode 100644 index af1971b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-cfg.yang +++ /dev/null @@ -1,757 +0,0 @@ -module Cisco-IOS-XR-l2-eth-infra-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg"; - - - prefix "l2-eth-infra-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-l2-eth-infra-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2vpn-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR l2-eth-infra package configuration. - - This module contains definitions - for the following management objects: - ethernet-features: Ethernet Features Configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2vpn-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2-protocol-name { - type enumeration { - enum cdp { - value 0; - description "CDP"; - } - enum stp { - value 1; - description "STP"; - } - enum vtp { - value 2; - description "VTP"; - } - enum pvst { - value 3; - description "PVST+"; - } - enum cpsv { - value 4; - description "CDP, PVST+, STP, and VTP"; - } - } - description "L2 protocol name"; - } - typedef L2-protocol-mode { - type enumeration { - enum forward { - value 0; - description "Forward packets transparently"; - } - enum drop { - value 1; - description "Drop the protocol's packets"; - } - enum tunnel { - value 2; - description "Tunnel ingress frames, untunnel egress frames"; - } - enum reverse-tunnel { - value 3; - description "Tunnel egress frames, untunnel ingress frames"; - } - } - description "L2 protocol mode"; - } - typedef Egress-filtering { - type enumeration { - enum egress-filtering-type-strict { - value 1; - description "Strict Egress Filtering"; - } - enum egress-filtering-type-disable { - value 2; - description "Egress Filtering Disabled"; - } - enum egress-filtering-type-default { - value 3; - description "Default Egress Filtering Behavior"; - } - } - description "Egress filtering"; - } - typedef Filtering { - type enumeration { - enum filtering-type-dot1q { - value 0; - description - "C-Vlan ingress frame filtering (Table 8-1 of - 802.1ad standard)"; - } - enum filtering-type-dot1ad { - value 1; - description - "S-Vlan ingress frame filtering (Table 8-2 of - 802.1ad standard)"; - } - } - description "Filtering"; - } - typedef L2-protocol-mpls-exp-bits-value { - type uint32 { - range "0..7"; - } - description "L2 protocol mpls exp bits value"; - } - - container ethernet-features { - description "Ethernet Features Configuration"; - - container egress-filtering { - description "Egress Filtering Configuration"; - leaf egress-filtering-default-on { - type empty; - description "Whether Egress Filtering is on by default"; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container vlan-sub-configuration { - description "IEEE 802.1Q VLAN subinterface configuration"; - - container vlan-identifier { - presence "Indicates a vlan-identifier node is configured."; - description - "The VLAN tag stack associated with this - sub-interface."; - leaf vlan-type { - type dt1:Vlan; - mandatory true; - description - "Whether this sub-interface is dot1ad or dot1Q"; - } - leaf first-tag { - type dt1:Vlan-tag; - mandatory true; - description "First (outermost) VLAN tag value"; - } - leaf second-tag { - type dt1:Vlan-tag-or-null; - description - "Second VLAN tag value. The any value may only - be used for Layer 2 subinterfaces"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ethernet-service { - description "Ethernet service configuration"; - - container local-traffic-default-encapsulation { - presence "Indicates a local-traffic-default-encapsulation"+ - " node is configured."; - description - "The default encapsulation to be used for - locally-sourced packets"; - leaf outer-tag-type { - type dt1:Vlan; - mandatory true; - description "Type of outer tag"; - } - leaf outer-vlan-id { - type dt1:Vlan-tag; - mandatory true; - description "VLAN id for outer tag"; - } - leaf inner-vlan-id { - type dt1:Vlan-tag; - description "Optional VLAN Id for inner Dot1Q tag"; - } - } - - container encapsulation { - presence "Indicates a encapsulation node is configured."; - description "The encapsulation of this Ethernet service"; - leaf outer-tag-type { - type dt1:Match; - mandatory true; - description - "Whether to match all unmatched packets, - untagged packets or tagged packets, and if - matching tagged packets, the outer tag type to - match"; - } - leaf outer-range1-low { - type dt1:Vlan-tag-or-any; - description - "Low value of first range for outer tag match"; - } - leaf outer-range1-high { - type dt1:Vlan-tag-or-native; - description - "High value of first range for outer tag match"; - } - leaf inner-tag-type { - type dt1:Match; - description "Type of tag for inner match (if present)"; - } - leaf inner-range1-low { - type dt1:Vlan-tag-or-any; - description - "Low value of first range for inner tag match"; - } - leaf inner-range1-high { - type dt1:Vlan-tag; - description - "High value of first range for inner tag match"; - } - leaf additional-range1-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of first additional range for tag - match"; - } - leaf additional-range1-high { - type dt1:Vlan-tag; - description - "High value of first additional range for tag - match"; - } - leaf additional-range2-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of second additional range for tag - match"; - } - leaf additional-range2-high { - type dt1:Vlan-tag; - description - "High value of second additional range for tag - match"; - } - leaf additional-range3-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of third additional range for tag - match"; - } - leaf additional-range3-high { - type dt1:Vlan-tag; - description - "High value of third additional range for tag - match"; - } - leaf additional-range4-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of forth additional range for tag - match"; - } - leaf additional-range4-high { - type dt1:Vlan-tag; - description - "High value of forth additional range for tag - match"; - } - leaf additional-range5-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of fifth additional range for tag - match"; - } - leaf additional-range5-high { - type dt1:Vlan-tag; - description - "High value of fifth additional range for tag - match"; - } - leaf additional-range6-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of sixth additional range for tag - match"; - } - leaf additional-range6-high { - type dt1:Vlan-tag; - description - "High value of sixth additional range for tag - match"; - } - leaf additional-range7-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of seventh additional range for tag - match"; - } - leaf additional-range7-high { - type dt1:Vlan-tag; - description - "High value of seventh additional range for tag - match"; - } - leaf additional-range8-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of eighth additional range for tag - match"; - } - leaf additional-range8-high { - type dt1:Vlan-tag; - description - "High value of eighth additional range for tag - match"; - } - leaf outer-class-of-service { - type dt1:Class-of-service; - description - "Value to match against Class Of Service bits - for outer tag"; - } - leaf inner-class-of-service { - type dt1:Class-of-service; - description - "Value to match against Class Of Service bits - for inner tag"; - } - leaf payload-ethertype-match { - type dt1:Ethertype-match; - description "Which payload ethertype values to match"; - } - leaf ingress-source-mac { - type yang:mac-address; - description "Source MAC address to match on ingress"; - } - leaf ingress-destination-mac { - type yang:mac-address; - description "Destination MAC address to match on egress"; - } - leaf exact { - type empty; - description - "Only match packets with no more tags than - explicitly matched"; - } - } - - container rewrite { - presence "Indicates a rewrite node is configured."; - description - "The rewrite operation for the Ethernet service"; - leaf rewrite-type { - type dt1:Rewrite; - mandatory true; - description "The type of rewrite to perform"; - } - leaf outer-tag-type { - type dt1:Match; - description "Type of outermost tag to be pushed"; - } - leaf outer-tag-value { - type dt1:Vlan-tag; - description "VLAN Id of outermost tag to be pushed"; - } - leaf inner-tag-type { - type dt1:Match; - description "Type of innermost tag to be pushed"; - } - leaf inner-tag-value { - type dt1:Vlan-tag; - description "VLAN Id of innermost tag to be pushed"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ethernet-bng { - description "Ethernet Infra BNG specific configuration"; - - container ambiguous-encapsulation { - presence "Indicates a ambiguous-encapsulation node is"+ - " configured."; - description "L3 Ambiguous encapsulation"; - leaf outer-tag-type { - type dt1:Match; - mandatory true; - description - "Whether to match all unmatched packets, - untagged packets or tagged packets, and if - matching tagged packets, the outer tag type to - match"; - } - leaf outer-range1-low { - type dt1:Vlan-tag-or-any; - description - "Low value of first range for outer tag match"; - } - leaf outer-range1-high { - type dt1:Vlan-tag-or-native; - description - "High value of first range for outer tag match"; - } - leaf inner-tag-type { - type dt1:Match; - description "Type of tag for inner match (if present)"; - } - leaf inner-range1-low { - type dt1:Vlan-tag-or-any; - description - "Low value of first range for inner tag match"; - } - leaf inner-range1-high { - type dt1:Vlan-tag; - description - "High value of first range for inner tag match"; - } - leaf additional-range1-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of first additional range for tag - match"; - } - leaf additional-range1-high { - type dt1:Vlan-tag; - description - "High value of first additional range for tag - match"; - } - leaf additional-range2-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of second additional range for tag - match"; - } - leaf additional-range2-high { - type dt1:Vlan-tag; - description - "High value of second additional range for tag - match"; - } - leaf additional-range3-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of third additional range for tag - match"; - } - leaf additional-range3-high { - type dt1:Vlan-tag; - description - "High value of third additional range for tag - match"; - } - leaf additional-range4-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of forth additional range for tag - match"; - } - leaf additional-range4-high { - type dt1:Vlan-tag; - description - "High value of forth additional range for tag - match"; - } - leaf additional-range5-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of fifth additional range for tag - match"; - } - leaf additional-range5-high { - type dt1:Vlan-tag; - description - "High value of fifth additional range for tag - match"; - } - leaf additional-range6-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of sixth additional range for tag - match"; - } - leaf additional-range6-high { - type dt1:Vlan-tag; - description - "High value of sixth additional range for tag - match"; - } - leaf additional-range7-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of seventh additional range for tag - match"; - } - leaf additional-range7-high { - type dt1:Vlan-tag; - description - "High value of seventh additional range for tag - match"; - } - leaf additional-range8-low { - type dt1:Vlan-tag-or-cvp; - description - "Low value of eighth additional range for tag - match"; - } - leaf additional-range8-high { - type dt1:Vlan-tag; - description - "High value of eighth additional range for tag - match"; - } - leaf outer-class-of-service { - type dt1:Class-of-service; - description - "Value to match against Class Of Service bits - for outer tag"; - } - leaf inner-class-of-service { - type dt1:Class-of-service; - description - "Value to match against Class Of Service bits - for inner tag"; - } - leaf payload-ethertype-match { - type dt1:Ethertype-match; - description "Which payload ethertype values to match"; - } - leaf ingress-source-mac { - type yang:mac-address; - description "Source MAC address to match on ingress"; - } - leaf ingress-destination-mac { - type yang:mac-address; - description "Destination MAC address to match on egress"; - } - leaf exact { - type empty; - description - "Only match packets with no more tags than - explicitly matched"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container mac-accounting { - description "MAC Accounting Configuration"; - leaf ingress { - type empty; - description "Per MAC address accounting statistics"; - } - leaf egress { - type empty; - description "Per MAC address accounting statistics"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ethernet-features { - description "Ethernet Features Configuration"; - leaf filtering { - type Filtering; - description "Ingress Ethernet frame filtering"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container carrier-delay { - description - "Set the carrier transition delay on an interface - in msecs"; - leaf carrier-delay-up { - type uint32 { - range "1..65535"; - } - description "Carrier Delay (up) in msecs"; - } - leaf carrier-delay-down { - type uint32; - description "Carrier Delay down in msecs, must be set to 0"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container vlan-trunk-configuration { - description "IEEE 802.1Q VLAN trunk interface configuration"; - - container native-vlan-identifier { - presence "Indicates a native-vlan-identifier node is"+ - " configured."; - description - "The Native VLAN identifier associated with this - trunk interface"; - leaf vlan-type { - type dt1:Vlan; - mandatory true; - description "Whether this interface is dot1ad or dot1Q"; - } - leaf vlan-identifier { - type dt1:Vlan-tag; - mandatory true; - description "VLAN identifier"; - } - } - leaf tunneling-ethertype { - type enumeration { - enum 0x9100 { - value 37120; - description "0x9100"; - } - enum 0x9200 { - value 37376; - description "0x9200"; - } - } - description - "The outer ethertype used in Q-in-Q frames. The - default value is 0x8100"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - - container l2-protocols { - description "Interface specific Layer 2 protocol handling"; - - list l2-protocol { - key "l2-protocol-name"; - description "Handling of a specific Layer 2 protocol"; - leaf l2-protocol-name { - type L2-protocol-name; - description "Protocol name"; - } - leaf mode { - type L2-protocol-mode; - mandatory true; - description "How to handle the protocol's packets"; - } - leaf mpls-exp-bits-value { - type L2-protocol-mpls-exp-bits-value; - description - "The value to set the MPLS Exp bits to within - the PW.This value may be specified if the mode - is forward or tunnel and must not be specified - if the mode is drop"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - leaf propagate-remote-status { - type empty; - description - "Enable propagation of the remote - attachment-circuit link state to the - localattachment-circuit link state"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - - container l2-ethernet-features { - description "L2 Ethernet Features Configuration"; - leaf egress-filtering { - type Egress-filtering; - default "egress-filtering-type-default"; - description "Egress Ethernet filtering"; - } - leaf source-bypass-egress-filtering { - type empty; - description - "Mark all ingress packets to bypass any egress - VLAN filter"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-datatypes.yang deleted file mode 100644 index b5c8cd1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-datatypes.yang +++ /dev/null @@ -1,204 +0,0 @@ -module Cisco-IOS-XR-l2-eth-infra-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-l2-eth-infra-datatypes"; - - - prefix "l2-eth-infra-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vlan-tag-or-cvp { - type union { - type enumeration { - enum native-with-cvlan-preservation { - value 65534; - description - "This is the Native VLAN and C-VLAN - preservation is enabled"; - } - } - type uint32 { - range "1..65534"; - } - } - description "Vlan tag or cvp"; - } - typedef Class-of-service { - type uint32 { - range "0..7"; - } - description "Class of service"; - } - typedef Vlan { - type enumeration { - enum vlan-type-dot1ad { - value 1; - description "An 802.1ad VLAN"; - } - enum vlan-type-dot1q { - value 2; - description "An 802.1q VLAN"; - } - } - description "Vlan"; - } - typedef Vlan-tag-or-native { - type union { - type enumeration { - enum native { - value 65535; - description "This is the Native VLAN"; - } - enum native-with-cvlan-preservation { - value 65534; - description - "This is the Native VLAN and C-VLAN - preservation is enabled"; - } - } - type uint32 { - range "1..65535"; - } - } - description "Vlan tag or native"; - } - typedef Vlan-tag-or-null { - type union { - type enumeration { - enum any { - value 0; - description "Match any inner VLAN tag value"; - } - } - type uint32 { - range "0..4094"; - } - } - description "Vlan tag or null"; - } - typedef Rewrite { - type enumeration { - enum pop1 { - value 1; - description "Pop 1 tag"; - } - enum pop2 { - value 2; - description "Pop 2 tags"; - } - enum push1 { - value 3; - description "Push 1 tag"; - } - enum push2 { - value 4; - description "Push 2 tags"; - } - enum translate1to1 { - value 5; - description "Translate 1-to-1"; - } - enum translate1to2 { - value 6; - description "Translate 1-to-2"; - } - enum translate2to1 { - value 7; - description "Translate 2-to-1"; - } - enum translate2to2 { - value 8; - description "Translate 2-to-2"; - } - } - description "Rewrite"; - } - typedef Match { - type enumeration { - enum match-default { - value 1; - description "All otherwise unmatched packets"; - } - enum match-untagged { - value 2; - description "Untagged packets"; - } - enum match-dot1q { - value 3; - description "Match Dot1Q tags"; - } - enum match-dot1ad { - value 4; - description "Match Dot1ad tags"; - } - enum match-dot1q-priority { - value 5; - description "Match Dot1Q priority-tagged packets"; - } - enum match-dot1ad-priority { - value 6; - description "Match Dot1ad priority-tagged packets"; - } - } - description "Match"; - } - typedef Ethertype-match { - type enumeration { - enum ppp-over-ethernet { - value 34915; - description "PPP over Ethernet"; - } - } - description "Ethertype match"; - } - typedef Vlan-tag { - type uint32 { - range "1..4094"; - } - description "Vlan tag"; - } - typedef Vlan-tag-or-any { - type union { - type enumeration { - enum any { - value 4096; - description "Match any VLAN tag value"; - } - } - type uint32 { - range "1..4096"; - } - } - description "Vlan tag or any"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang deleted file mode 100644 index 40d64e1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang +++ /dev/null @@ -1,72 +0,0 @@ -submodule Cisco-IOS-XR-l2-eth-infra-oper-sub1 { - - belongs-to Cisco-IOS-XR-l2-eth-infra-oper { - prefix Cisco-IOS-XR-l2-eth-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2-eth-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Eth-caps-ucast-mac-mode { - type enumeration { - enum reserved { - value 0; - description "Reserved"; - } - enum permit { - value 1; - description "Permit"; - } - } - description "Eth caps ucast mac mode"; - } - - grouping ETH-CAPS-UCAST-MAC-ENTRY-TYPE { - description "ETH CAPS UCAST MAC ENTRY TYPE"; - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf mode { - type Eth-caps-ucast-mac-mode; - description "Unicast MAC mode"; - } - } - - grouping ETHER-CAPS-UCAST-FILTER { - description "Per interface unicast MAC filter information"; - - list unicast-filter { - description "Unicast MAC filter information"; - uses ETH-CAPS-UCAST-MAC-ENTRY-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang deleted file mode 100644 index d69bfd1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang +++ /dev/null @@ -1,640 +0,0 @@ -submodule Cisco-IOS-XR-l2-eth-infra-oper-sub2 { - - belongs-to Cisco-IOS-XR-l2-eth-infra-oper { - prefix Cisco-IOS-XR-l2-eth-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2-eth-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vlan-service { - type enumeration { - enum vlan-service-l2 { - value 1; - description "Layer 2 Transport Service"; - } - enum vlan-service-l3 { - value 2; - description "Layer 3 Terminated Service"; - } - } - description "Layer 2 vs. Layer 3 Terminated Service"; - } - typedef Mac-address { - type yang:mac-address; - description "MAC address type"; - } - typedef Efp-payload-etype { - type enumeration { - enum payload-ethertype-any { - value 0; - description "Any"; - } - enum payload-ethertype-ip { - value 1; - description "IP"; - } - enum payload-ethertype-pppoe { - value 2; - description "PPPoE"; - } - } - description "Payload ethertype match"; - } - typedef Efp-tag-priority { - type enumeration { - enum priority0 { - value 0; - description "Priority 0"; - } - enum priority1 { - value 1; - description "Priority 1"; - } - enum priority2 { - value 2; - description "Priority 2"; - } - enum priority3 { - value 3; - description "Priority 3"; - } - enum priority4 { - value 4; - description "Priority 4"; - } - enum priority5 { - value 5; - description "Priority 5"; - } - enum priority6 { - value 6; - description "Priority 6"; - } - enum priority7 { - value 7; - description "Priority 7"; - } - enum priority-any { - value 8; - description "Any priority"; - } - } - description "Priority"; - } - typedef Efp-tag-etype { - type enumeration { - enum untagged { - value 0; - description "Untagged"; - } - enum dot1q { - value 33024; - description "Dot1Q"; - } - enum dot1ad { - value 34984; - description "Dot1ad"; - } - } - description "Tag ethertype"; - } - typedef Vlan-encaps { - type enumeration { - enum no-encapsulation { - value 0; - description "No encapsulation"; - } - enum dot1q { - value 1; - description "IEEE 802.1Q encapsulation"; - } - enum qinq { - value 2; - description "Double 802.1Q encapsulation"; - } - enum qin-any { - value 3; - description "Double 802.1Q wildcarded encapsulation"; - } - enum dot1q-native { - value 4; - description "IEEE 802.1Q native VLAN encapsulation"; - } - enum dot1ad { - value 5; - description "IEEE 802.1ad encapsulation"; - } - enum dot1ad-native { - value 6; - description "IEEE 802.1ad native VLAN encapsulation"; - } - enum service-instance { - value 7; - description "Ethernet Service Instance"; - } - enum dot1ad-dot1q { - value 8; - description "IEEE 802.1ad 802.1Q encapsulation"; - } - enum dot1ad-any { - value 9; - description "IEEE 802.1ad wildcard 802.1Q encapsulation"; - } - } - description "VLAN encapsulation"; - } - typedef Eth-filtering { - type enumeration { - enum no-filtering { - value 0; - description - "No IEEE 802.1Q/802.1ad/MAC relay multicast MAC - address filtering"; - } - enum dot1q-filtering { - value 1; - description "IEEE 802.1q C-VLAN filtering"; - } - enum dot1ad-filtering { - value 2; - description "IEEE 802.1ad S-VLAN filtering"; - } - enum two-port-mac-relay-filtering { - value 3; - description "IEEE 802.1aj 2-Port MAC relay filtering"; - } - } - description "Ethernet frame filtering"; - } - typedef Vlan-qinq-outer-etype { - type enumeration { - enum ether-type8100 { - value 33024; - description "Dot1Q (0x8100)"; - } - enum ether-type9100 { - value 37120; - description "0x9100"; - } - enum ether-type9200 { - value 37376; - description "0x9200"; - } - } - description "QinQ Outer Tag Ethertype"; - } - typedef Vlan-tag-value { - type uint16; - description "VLAN Tag Value (1 - 4094)"; - } - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - - grouping EFP-TAG-LOCAL-TRAFFIC-STACK { - description "EFP TAG LOCAL TRAFFIC STACK"; - - list local-traffic-tag { - description "VLAN tags for locally-sourced traffic"; - uses EFP-VLAN-TAG; - } - } - - grouping EFP-VLAN-TAG { - description "EFP VLAN TAG"; - leaf ethertype { - type Efp-tag-etype; - description "Ethertype of tag"; - } - leaf vlan-id { - type Vlan-tag-value; - description "VLAN Id"; - } - } - - grouping EFP-RANGE-TYPE { - description "EFP RANGE TYPE"; - leaf vlan-id-low { - type Vlan-tag-value; - description "VLAN ID Low"; - } - leaf vlan-id-high { - type Vlan-tag-value; - description "VLAN ID High"; - } - } - - grouping EFP-TAG-MATCH { - description "EFP TAG MATCH"; - leaf ethertype { - type Efp-tag-etype; - description "Ethertype of tag to match"; - } - leaf priority { - type Efp-tag-priority; - description "Priority to match"; - } - - list vlan-range { - description "VLAN Ids to match"; - uses EFP-RANGE-TYPE; - } - } - - grouping EFP-DESCRIPTION { - description "EFP DESCRIPTION"; - - container local-traffic-stack { - description "VLAN tags for locally-sourced traffic"; - uses EFP-TAG-LOCAL-TRAFFIC-STACK; - } - leaf payload-ethertype { - type Efp-payload-etype; - description "Payload Ethertype to match"; - } - leaf tags-popped { - type uint16; - description "Number of tags popped on ingress"; - } - leaf is-exact-match { - type boolean; - description - "Whether the packet must match the encapsulation - exactly, with no further inner tags"; - } - leaf is-native-vlan { - type boolean; - description - "Whether this represents the native VLAN on the - port"; - } - leaf is-native-preserving { - type boolean; - description - "Whether the native VLAN is customer-tag - preserving"; - } - leaf source-mac-match { - type Mac-address; - description "The source MAC address to match on ingress"; - } - leaf destination-mac-match { - type Mac-address; - description "The destination MAC address to match on ingress"; - } - - list tags-to-match { - description "Tags to match on ingress packets"; - uses EFP-TAG-MATCH; - } - - list pushe { - description "VLAN tags pushed on egress"; - uses EFP-VLAN-TAG; - } - } - - grouping VLAN-DOUBLE-TAG-STACK { - description "VLAN double tag stack"; - leaf outer-tag { - type Vlan-tag-value; - description "Outer tag value"; - } - leaf second-tag { - type Vlan-tag-value; - description "Second tag value"; - } - } - - grouping VLAN-TAG-STACK-TYPE { - description "VLAN encapsulation and tag stack"; - - container stack { - when "../vlan-encapsulation = 'qinq'" { - description "../VLANEncapsulation = 'QinQ'"; - } - description "Stack value"; - uses VLAN-DOUBLE-TAG-STACK; - } - - container service-instance-details { - when "../vlan-encapsulation = 'service-instance'" { - description "../VLANEncapsulation = 'ServiceInstance'"; - } - description "Service Instance encapsulation"; - uses EFP-DESCRIPTION; - } - - container dot1ad-dot1q-stack { - when "../vlan-encapsulation = 'dot1ad-dot1q'" { - description "../VLANEncapsulation = 'Dot1adDot1Q'"; - } - description "802.1ad 802.1Q stack value"; - uses VLAN-DOUBLE-TAG-STACK; - } - leaf vlan-encapsulation { - type Vlan-encaps; - description "VLANEncapsulation"; - } - leaf tag { - when "../vlan-encapsulation = 'dot1q'" { - description "../VLANEncapsulation = 'Dot1Q'"; - } - type Vlan-tag-value; - description "Tag value"; - } - leaf outer-tag { - when "../vlan-encapsulation = 'qin-any'" { - description "../VLANEncapsulation = 'QinAny'"; - } - type Vlan-tag-value; - description "Outer tag value"; - } - leaf native-tag { - when "../vlan-encapsulation = 'dot1q-native'" { - description "../VLANEncapsulation = 'Dot1QNative'"; - } - type Vlan-tag-value; - description "Native tag value"; - } - leaf dot1ad-tag { - when "../vlan-encapsulation = 'dot1ad'" { - description "../VLANEncapsulation = 'Dot1ad'"; - } - type Vlan-tag-value; - description "802.1ad tag value"; - } - leaf dot1ad-native-tag { - when "../vlan-encapsulation = 'dot1ad-native'" { - description "../VLANEncapsulation = 'Dot1adNative'"; - } - type Vlan-tag-value; - description "802.1ad native tag value"; - } - leaf dot1ad-outer-tag { - when "../vlan-encapsulation = 'dot1ad-any'" { - description "../VLANEncapsulation = 'Dot1adAny'"; - } - type Vlan-tag-value; - description "802.1ad Outer tag value"; - } - } - - grouping VLAN-INTF { - description "VLAN Interface information"; - - container encapsulation-details { - description "Encapsulation type and tag stack"; - uses VLAN-TAG-STACK-TYPE; - } - leaf interface-xr { - type xr:Interface-name; - description "Interface"; - } - leaf parent-interface { - type xr:Interface-name; - description "Parent interface"; - } - leaf service { - type Vlan-service; - description "Service type"; - } - leaf state { - type Im-state-enum; - description "Interface state"; - } - leaf mtu { - type uint16; - description "L2 MTU"; - } - leaf switched-mtu { - type uint16; - description "L2 switched MTU"; - } - } - - grouping VLAN-TRUNK-L3-SUB-INTFS { - description "Layer 3 Terminated Subinterfaces"; - - container state-counters { - description - "Numbers of subinterfaces up, down or - administratively shut down"; - uses VLAN-TRUNK-SUB-INTF-STATE-COUNTERS; - } - leaf total-count { - type uint32; - description - "Total number of Layer 3 subinterfaces configured"; - } - leaf dot1q-count { - type uint32; - description "Number of single tagged subinterfaces"; - } - leaf qin-q-count { - type uint32; - description "Number of double tagged subinterfaces"; - } - leaf untagged-count { - type uint32; - description - "Number of subinterfaces without VLAN tag - configuration"; - } - leaf native-vlan { - type Vlan-tag-value; - description "Native VLAN ID configured on trunk"; - } - } - - grouping VLAN-TRUNK-SUB-INTF-STATE-COUNTERS { - description "Subinterface counters"; - leaf up { - type uint32; - description "Number of subinterfaces which are up"; - } - leaf down { - type uint32; - description "Number of subinterfaces which are down"; - } - leaf admin-down { - type uint32; - description - "Number of subinterfaces which are - administrativelyshutdown"; - } - } - - grouping VLAN-TRUNK-L2-SUB-INTFS { - description "Layer 2 Transport Subinterfaces"; - - container state-counters { - description - "Numbers of subinterfaces up, down or - administratively shut down"; - uses VLAN-TRUNK-SUB-INTF-STATE-COUNTERS; - } - leaf total-count { - type uint32; - description - "Total number of Layer 2 subinterfaces configured"; - } - leaf dot1q-count { - type uint32; - description "Number of single tagged subinterfaces"; - } - leaf qin-q-count { - type uint32; - description - "Number of double tagged subinterfaces with - explicit inner tag"; - } - leaf qin-any-count { - type uint32; - description - "Number of double tagged subinterfaces with - wildcarded inner tag"; - } - leaf untagged-count { - type uint32; - description - "Number of subinterfaces without VLAN tag - configuration"; - } - } - - grouping VLAN-TRUNK { - description "VLAN trunk interface information"; - - container layer2-sub-interfaces { - description "Layer 2 Transport Subinterfaces"; - uses VLAN-TRUNK-L2-SUB-INTFS; - } - - container layer3-sub-interfaces { - description "Layer 3 Terminated Subinterfaces"; - uses VLAN-TRUNK-L3-SUB-INTFS; - } - leaf interface-xr { - type xr:Interface-name; - description "Interface name"; - } - leaf state { - type Im-state-enum; - description "Interface state"; - } - leaf mtu { - type uint16; - description "L2 MTU"; - } - leaf qinq-outer-ether-type { - type Vlan-qinq-outer-etype; - description "QinQ Outer Tag Ether Type"; - } - leaf dot1ad-count { - type uint32; - description "Number of subinterfaces with 802.1ad outer tag"; - } - leaf untagged-interface { - type xr:Interface-name; - description - "Interface/Sub-interface handling untagged frames"; - } - leaf mac-filtering { - type Eth-filtering; - description - "IEEE 802.1Q/802.1ad multicast MAC address - filtering"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang deleted file mode 100644 index d280440..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang +++ /dev/null @@ -1,100 +0,0 @@ -submodule Cisco-IOS-XR-l2-eth-infra-oper-sub3 { - - belongs-to Cisco-IOS-XR-l2-eth-infra-oper { - prefix Cisco-IOS-XR-l2-eth-infra-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2-eth-infra package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MAC-ACC-STATS { - description "Per MAC address stats information"; - leaf mac-address { - type yang:mac-address; - description "48bit MAC address"; - } - leaf packets { - type uint64; - description "Number of packets counted"; - } - leaf bytes { - type uint64; - units "byte"; - description "Number of bytes counted"; - } - } - - grouping MAC-ACC-INTF-INFO { - description "Per interface MAC accounting information"; - leaf is-ingress-enabled { - type boolean; - description "MAC accounting on on ingress"; - } - leaf is-egress-enabled { - type boolean; - description "MAC accounting on on egress"; - } - leaf number-available-ingress { - type uint32; - description "MAC accounting entries available on ingress"; - } - leaf number-available-egress { - type uint32; - description "MAC accounting entries available on egress"; - } - leaf number-available-on-node { - type uint32; - description "MAC accountng entries available across the node"; - } - } - - grouping MAC-ACC-INTF { - description - "All MAC accounting information and statistics for - an interface"; - - container state { - description "MAC accounting state for the interface"; - uses MAC-ACC-INTF-INFO; - } - - list ingress-statistic { - description "Ingress MAC accounting statistics"; - uses MAC-ACC-STATS; - } - - list egress-statistic { - description "Egress MAC accounting statistics"; - uses MAC-ACC-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper.yang deleted file mode 100644 index 1e846be..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2-eth-infra-oper.yang +++ /dev/null @@ -1,202 +0,0 @@ -module Cisco-IOS-XR-l2-eth-infra-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-l2-eth-infra-oper"; - - - prefix "l2-eth-infra-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-l2-eth-infra-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-l2-eth-infra-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-l2-eth-infra-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-l2-eth-infra-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR l2-eth-infra package operational data. - - This module contains definitions - for the following management objects: - mac-accounting: MAC accounting operational data - vlan: vlan - ethernet-encapsulation: ethernet encapsulation - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mac-accounting { - config false; - description "MAC accounting operational data"; - - container interfaces { - description - "MAC accounting interface table in MIB - lexicographic order"; - - list interface { - key "interface-name"; - description - "Operational data and statistics for an - interface configured with MAC accounting - enabled"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses MAC-ACC-INTF; - } - } - } - - container vlan { - config false; - description "vlan"; - - container nodes { - description "Per node VLAN operational data"; - - list node { - key "node-id"; - description - "The VLAN operational data for a particular node"; - - container trunks { - description "VLAN trunk table (specific to this node)"; - - list trunk { - key "interface"; - description - "Operational data for trunk interfaces - configured with VLANs"; - leaf interface { - type xr:Interface-name; - description "The interface name"; - } - uses VLAN-TRUNK; - } - } - - container interfaces { - description - "VLAN interface table (specific to this node)"; - - list interface { - key "interface"; - description - "Operational data for a sub-interface - configured with VLANs"; - leaf interface { - type xr:Interface-name; - description "The interface name"; - } - uses VLAN-INTF; - } - } - - container tag-allocations { - description - "VLAN tag allocation table (specific to this - node)"; - - list tag-allocation { - description - "Operational data for a sub-interface - configured with VLANs"; - leaf interface { - type xr:Interface-name; - description "The interface name"; - } - leaf first-tag { - type dt1:Vlan-tag; - description "The first (outermost) tag"; - } - leaf second-tag { - type dt1:Vlan-tag-or-any; - description "The second tag"; - } - uses VLAN-INTF; - } - } - leaf node-id { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } - - container ethernet-encapsulation { - config false; - description "ethernet encapsulation"; - - container nodes { - description - "Per node Ethernet encapsulation operational data"; - - list node { - key "node-name"; - description - "The Ethernet encaps operational data for a - particular node"; - - container unicast-mac-filters { - description - "Unicast MAC filter table (specific to this - node)"; - - list unicast-mac-filter { - key "interface-name"; - description - "Operational data for interface with MAC - filters configured"; - leaf interface-name { - type xr:Interface-name; - description "The interface name"; - } - uses ETHER-CAPS-UCAST-FILTER; - } - } - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper-sub1.yang deleted file mode 100644 index da6a9d2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper-sub1.yang +++ /dev/null @@ -1,964 +0,0 @@ -submodule Cisco-IOS-XR-l2rib-oper-sub1 { - - belongs-to Cisco-IOS-XR-l2rib-oper { - prefix Cisco-IOS-XR-l2rib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2rib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2rib-mac-route { - type enumeration { - enum l2rib-mac-route-type-invalid { - value 0; - description "l2rib mac route type invalid"; - } - enum l2rib-mac-route-type-regular { - value 1; - description "l2rib mac route type regular"; - } - enum l2rib-mac-route-type-evpn-esi { - value 2; - description "l2rib mac route type evpn esi"; - } - enum l2rib-mac-route-type-bmac { - value 3; - description "l2rib mac route type bmac"; - } - } - description "L2rib mac route"; - } - typedef L2rib-afi { - type enumeration { - enum l2rib-address-family-ipv4 { - description "l2rib address family ipv4"; - } - enum l2rib-address-family-ipv6 { - description "l2rib address family ipv6"; - } - enum l2rib-address-family-invalid { - description "l2rib address family invalid"; - } - } - description "L2rib afi"; - } - typedef L2rib-mac-addr { - type yang:mac-address; - description "L2rib mac addr"; - } - typedef L2rib-ipv6-addr { - type inet:ipv6-address; - description "L2rib ipv6 addr"; - } - typedef L2rib-next-hop { - type enumeration { - enum l2rib-next-hop-invalid { - value 0; - description "l2rib next hop invalid"; - } - enum l2rib-next-hop-interface-ordinal { - value 1; - description "l2rib next hop interface ordinal"; - } - enum l2rib-next-hop-interface-index { - value 2; - description "l2rib next hop interface index"; - } - enum l2rib-next-hop-mac { - value 3; - description "l2rib next hop mac"; - } - enum l2rib-next-hop-ipv4 { - value 4; - description "l2rib next hop ipv4"; - } - enum l2rib-next-hop-ipv6 { - value 5; - description "l2rib next hop ipv6"; - } - enum l2rib-next-hop-overlay { - value 6; - description "l2rib next hop overlay"; - } - enum l2rib-next-hop-site-index { - value 7; - description "l2rib next hop site index"; - } - enum l2rib-next-hop-label-ed { - value 8; - description "l2rib next hop label ed"; - } - enum l2rib-next-hop-xid { - value 9; - description "l2rib next hop xid"; - } - } - description "L2rib next hop"; - } - typedef L2rib-bag-producer-state { - type enumeration { - enum l2rib-bag-prod-state-initial { - value 0; - description "Initial"; - } - enum l2rib-bag-prod-state-staled { - value 1; - description "Stale"; - } - enum l2rib-bag-prod-state-re-connected { - value 2; - description "Reconnected"; - } - enum l2rib-bag-prod-state-converged { - value 3; - description "Converged"; - } - enum l2rib-bag-prod-state-delete-p-end { - value 4; - description "Delete Pending"; - } - } - description "L2RIB Producer States"; - } - typedef L2rib-bag-producer-id { - type enumeration { - enum l2rib-bag-prod-none { - value 0; - description "None"; - } - enum l2rib-bag-prod-best-route { - value 1; - description "Best Route"; - } - enum l2rib-bag-prod-static { - value 2; - description "Static"; - } - enum l2rib-bag-prod-local { - value 3; - description "Local"; - } - enum l2rib-bag-prod-isis { - value 4; - description "IS IS"; - } - enum l2rib-bag-prod-bgp { - value 5; - description "BGP"; - } - enum l2rib-bag-prod-igmp { - value 6; - description "IGMP"; - } - enum l2rib-bag-prod-prod-mld { - value 7; - description "MLD"; - } - enum l2rib-bag-prod-prod-otv { - value 8; - description "OTV"; - } - enum l2rib-bag-prod-prod-l2vpn { - value 9; - description "L2VPN"; - } - enum l2rib-bag-prod-prod-mac-mgr { - value 10; - description "MAC MGR"; - } - enum l2rib-bag-prod-prod-vxlan { - value 11; - description "VXLAN"; - } - enum l2rib-bag-prod-prod-hmm { - value 12; - description "HMM"; - } - enum l2rib-bag-prod-prod-arp { - value 13; - description "ARP"; - } - enum l2rib-bag-prod-prod-all { - value 255; - description "All"; - } - } - description "L2RIB Producer Types"; - } - typedef L2rib-bag-obj { - type enumeration { - enum l2rib-bag-obj-type-min { - value 0; - description "Invalid Object Type"; - } - enum l2rib-bag-obj-type-all { - value 1; - description "All"; - } - enum l2rib-bag-obj-type-mac { - value 2; - description "Mac"; - } - enum l2rib-bag-obj-type-ipv4-mcast { - value 3; - description "IPv4 Multicast"; - } - enum l2rib-bag-obj-type-ipv6-mcast { - value 4; - description "IPv6 Multicast"; - } - enum l2rib-bag-obj-type-topology { - value 5; - description "Topology"; - } - enum l2rib-bag-obj-type-ead { - value 6; - description "Ethernet AD"; - } - enum l2rib-bag-obj-type-evpn-pl { - value 7; - description "EVPN Path List"; - } - enum l2rib-bag-obj-type-topo-attribute { - value 8; - description "Topology Attribute"; - } - enum l2rib-bag-obj-type-imet-route { - value 9; - description "IMET"; - } - enum l2rib-bag-obj-type-mac-ip { - value 13; - description "Mac IP"; - } - } - description "L2RIB Object Types"; - } - - grouping L2RIB-MAC-ROUTE-DETAIL { - description "Detailed L2RIB MAC Route"; - - container mac-route { - description "MAC Route"; - uses L2RIB-MAC-ROUTE; - } - - container rt-tlv { - description "Mac Route Opaque Data TLV"; - uses L2RIB-TLV; - } - leaf sequence-number { - type uint32; - description "MAC route sequence Number"; - } - leaf flags { - type uint32; - description "MAC route flags"; - } - leaf baseflags { - type uint32; - description "BASE flags"; - } - leaf soo { - type uint32; - description "SOO"; - } - leaf slot-id { - type uint32; - description "Slot ID"; - } - leaf esi { - type string; - description "ESI"; - } - leaf last-update-timestamp { - type uint64; - description "Last Update Timestamp"; - } - } - - grouping L2RIB-MAC-ROUTE-BMAC { - description "L2RIB BMAC route"; - - container path-list { - description "Path list information"; - uses L2RIB-PATH-LIST; - } - leaf bmac-address { - type yang:mac-address; - description "BMAC Address"; - } - leaf forward-state { - type boolean; - description - "Forwarding State. True means forward, False - means drop."; - } - } - - grouping L2RIB-PATH-LIST-MAC { - description "L2RIB PATH LIST MAC"; - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - } - - grouping L2RIB-PATH-LIST-ESI { - description "L2RIB PATH LIST ESI"; - - container ethernet-segment-id { - description "Ethernet Segment Identifier"; - uses L2RIB-ESI; - } - leaf resolved { - type boolean; - description "Path list Resolved"; - } - - list mac-update-next-hop-array { - description "Array of Next Hops from MAC Update"; - uses L2RIB-NEXT-HOP; - } - } - - grouping L2RIB-PL { - description "L2RIB PL"; - - container path-list-esi { - when "../type = 'l2rib-mac-route-type-evpn-esi'" { - description "../Type = 'L2RIB_MAC_ROUTE_TYPE_EVPN_ESI'"; - } - description "ESI Path List"; - uses L2RIB-PATH-LIST-ESI; - } - - container path-list-mac { - when "../type = 'l2rib-mac-route-type-bmac'" { - description "../Type = 'L2RIB_MAC_ROUTE_TYPE_BMAC'"; - } - description "MAC Path List"; - uses L2RIB-PATH-LIST-MAC; - } - leaf type { - type L2rib-mac-route; - description "Type"; - } - } - - grouping L2RIB-PATH-LIST { - description "L2RIB PATH LIST"; - - container path-list-info { - description "Type-specific Path List info"; - uses L2RIB-PL; - } - leaf producer-id { - type uint8; - description "ID of EAD route producer"; - } - leaf mac-count { - type uint32; - description "Number of MAC routes bound to this Path list"; - } - leaf local-label { - type uint32; - description "Path list local Label"; - } - - list next-hop-array { - description "Array of Next Hops for MAC Path List"; - uses L2RIB-NEXT-HOP; - } - } - - grouping L2RIB-ESI { - description "L2RIB ESI"; - leaf system-priority { - type uint16; - description "LACP System Priority"; - } - leaf system-id { - type yang:mac-address; - description "LACP System Id"; - } - leaf port-key { - type uint16; - description "LACP Port Key"; - } - } - - grouping L2RIB-MAC-ROUTE-EVPN-ESI { - description "L2RIB EVPN ESI MAC route"; - - container ethernet-segment-id { - description "Ethernet Segment Identifier"; - uses L2RIB-ESI; - } - - container path-list { - description - "Path list information. Set for detailed MAC - route information"; - uses L2RIB-PATH-LIST; - } - leaf sequence-number { - type uint32; - description "MAC route sequence number"; - } - leaf forward-state { - type boolean; - description - "Forwarding State. True means forward, False - means drop."; - } - } - - grouping L2RIB-MAC-ROUTE-REGULAR { - description "L2RIB Regular MAC route"; - - container next-hop { - description "Next Hop"; - uses L2RIB-NEXT-HOP; - } - } - - grouping MAC-ROUTE { - description "MAC ROUTE"; - - container regular { - when "../type = 'l2rib-mac-route-type-regular'" { - description "../Type = 'L2RIB_MAC_ROUTE_TYPE_REGULAR'"; - } - description "Regular MAC route"; - uses L2RIB-MAC-ROUTE-REGULAR; - } - - container evpn-esi { - when "../type = 'l2rib-mac-route-type-evpn-esi'" { - description "../Type = 'L2RIB_MAC_ROUTE_TYPE_EVPN_ESI'"; - } - description "EVPN ESI MAC route"; - uses L2RIB-MAC-ROUTE-EVPN-ESI; - } - - container bmac { - when "../type = 'l2rib-mac-route-type-bmac'" { - description "../Type = 'L2RIB_MAC_ROUTE_TYPE_BMAC'"; - } - description "BMAC route"; - uses L2RIB-MAC-ROUTE-BMAC; - } - leaf type { - type L2rib-mac-route; - description "Type"; - } - } - - grouping L2RIB-MAC-ROUTE { - description "L2RIB MAC Route"; - - container route { - description "MAC route"; - uses MAC-ROUTE; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - leaf admin-distance { - type uint8; - description "Admin Distance"; - } - leaf producer-id { - type uint8; - description "Producer ID"; - } - leaf topology-id { - type uint32; - description "Topology ID"; - } - } - - grouping L2RIB-TLV { - description "L2RIB Opaque Data TLV"; - leaf tlv-type { - type uint16; - description "TLV Type"; - } - leaf tlv-len { - type uint16; - description "TLV Length"; - } - leaf-list tlv-val { - type uint8; - description "TLV Value"; - } - } - - grouping LABELED-NEXT-HOP { - description "LABELED NEXT HOP"; - leaf address-family { - type L2rib-afi; - description "L2RIB Address Family"; - } - leaf ip-address { - type inet:ipv6-address; - description "IP Address (V6 Format)"; - } - leaf label { - type uint32; - description "Label"; - } - leaf internal { - type boolean; - description "Internal Label"; - } - } - - grouping NEXT-HOP { - description "NEXT HOP"; - - container labeled { - when "../type = 'l2rib-next-hop-label-ed'" { - description "../Type = 'L2RIB_NEXT_HOP_LABELED'"; - } - description "Labeled Next Hop"; - uses LABELED-NEXT-HOP; - } - leaf type { - type L2rib-next-hop; - description "Type"; - } - leaf ipv4 { - when "../type = 'l2rib-next-hop-ipv4'" { - description "../Type = 'L2RIB_NEXT_HOP_IPV4'"; - } - type inet:ipv4-address; - description "IPV4 address Next Hop"; - } - leaf ipv6 { - when "../type = 'l2rib-next-hop-ipv6'" { - description "../Type = 'L2RIB_NEXT_HOP_IPV6'"; - } - type L2rib-ipv6-addr; - description "IPV6 address Next Hop"; - } - leaf mac { - when "../type = 'l2rib-next-hop-mac'" { - description "../Type = 'L2RIB_NEXT_HOP_MAC'"; - } - type L2rib-mac-addr; - description "MAC address Next Hop"; - } - leaf interface-handle { - when "../type = 'l2rib-next-hop-interface-index'" { - description "../Type = 'L2RIB_NEXT_HOP_INTERFACE_INDEX'"; - } - type xr:Interface-name; - description "Intefrace Handle Next Hop"; - } - leaf xid { - when "../type = 'l2rib-next-hop-xid'" { - description "../Type = 'L2RIB_NEXT_HOP_XID'"; - } - type uint32; - description "XID Next Hop"; - } - } - - grouping L2RIB-NEXT-HOP { - description "L2RIB NEXT HOP"; - - container next-hop { - description "Next hop"; - uses NEXT-HOP; - } - leaf topology-id { - type uint32; - description "Next-hop TOPOLOGY ID"; - } - leaf flags { - type uint16; - description "Next-hop flags"; - } - } - - grouping L2RIB-MAC-IP-ROUTE { - description "L2RIB MAC-IP Route"; - - container next-hop { - description "Next Hop"; - uses L2RIB-NEXT-HOP; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - leaf ip-address { - type string; - description "IP Address"; - } - leaf admin-distance { - type uint8; - description "Admin Distance"; - } - leaf producer-id { - type uint8; - description "Producer ID"; - } - leaf topology-id { - type uint32; - description "Topology ID"; - } - } - - grouping L2RIB-MAC-IP-ROUTE-DETAIL { - description "Detailed L2RIB MAC-IP Route"; - - container mac-ip-route { - description "MAC-IP Route"; - uses L2RIB-MAC-IP-ROUTE; - } - - container rt-tlv { - description "Mac-IP Route Opaque Data TLV"; - uses L2RIB-TLV; - } - - container nh-tlv { - description "Mac-IP Route Opaque NH TLV"; - uses L2RIB-TLV; - } - leaf sequence-number { - type uint32; - description "MAC-IP route sequence Number"; - } - leaf flags { - type uint32; - description "MAC-IP route flags"; - } - leaf soo { - type uint32; - description "SOO"; - } - leaf last-update-timestamp { - type uint64; - description "Last Update Timestamp"; - } - } - - grouping L2RIB-PROD-INFO { - description "L2RIB PROD INFO"; - leaf object-type { - type L2rib-bag-obj; - description "Object Type"; - } - leaf producer-id { - type L2rib-bag-producer-id; - description "Producer ID"; - } - leaf producer-name { - type string; - description "Producer Name"; - } - leaf admin-distance { - type uint32; - description "Admin Distance"; - } - leaf purge-time { - type uint32; - description "Purge Time"; - } - } - - grouping L2RIB-CLIENT-DETAIL { - description "L2RIB CLIENT DETAIL"; - - container client { - description "Non-detail Client bag"; - uses L2RIB-CLIENT; - } - - container registration-table-statistics { - description "Registration table statistics"; - uses L2RIB-PROD-STATS; - } - leaf producer-count { - type uint8; - description "Number of Producers"; - } - leaf last-update-timestamp { - type uint64; - description "Last Update Timestamp"; - } - - list producer-array { - description "List of Producers"; - uses L2RIB-PROD-INFO; - } - } - - grouping L2RIB-TOPOLOGY { - description "L2RIB TOPOLOGY"; - leaf topology-id { - type uint32; - description "Topology ID"; - } - leaf topology-name { - type string; - description "Topology Name"; - } - leaf topology-type { - type uint32; - description "Topology Type"; - } - } - - grouping L2RIB-TOPOLOGY-DETAIL { - description "L2RIB TOPOLOGY DETAIL"; - - container topology { - description "Topology"; - uses L2RIB-TOPOLOGY; - } - leaf l2r-vni { - type uint32; - description "l2r vni"; - } - leaf l2r-encap-type { - type uint16; - description "l2r encap type"; - } - leaf l2r-nve-iod { - type uint32; - description "l2r nve iod"; - } - leaf l2r-nve-ifhandle { - type uint32; - description "l2r nve ifhandle"; - } - leaf vtep-ip { - type string; - description "VTEP IP"; - } - leaf l2r-topo-txid { - type uint32; - description "l2r topo txid"; - } - leaf l2r-topo-flags { - type uint32; - description "Topology Flags"; - } - } - - grouping L2RIB-CLIENT { - description "L2RIB CLIENT"; - leaf client-id-xr { - type uint32; - description "Client ID"; - } - leaf process-id { - type uint32; - description "Process ID"; - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - leaf proc-name { - type string; - description "Process Name"; - } - leaf proc-suffix { - type string; - description "Process Suffix"; - } - } - - grouping L2RIB-TBL-SUMMARY { - description "L2RIB TBL SUMMARY"; - leaf object-type { - type L2rib-bag-obj; - description "Object Type"; - } - leaf object-count { - type uint32; - description "Number of Objects"; - } - leaf table-memory { - type uint32; - description "Allocated Memory"; - } - - list producer-stat { - description "Statistics per producer"; - uses L2RIB-PROD-STATS; - } - } - - grouping L2RIB-SUMMARY { - description "L2RIB SUMMARY"; - leaf converged-tables-count { - type uint32; - description "Number of Converged Tables"; - } - leaf total-memory { - type uint32; - description "Total Allocated Memory"; - } - - list table-summary { - description "Per Object Table summary"; - uses L2RIB-TBL-SUMMARY; - } - } - - grouping L2RIB-BAG-EC { - description "L2RIB BAG EC"; - leaf counter-type { - type uint8; - description "CounterType"; - } - leaf counter-name { - type string; - description "CounterName"; - } - leaf l2rb-first-event-ts { - type uint64; - description "Real-clock timestamp in msec of first event"; - } - leaf l2rb-last-event-ts { - type uint64; - description "Real-clock timestamp in msec of last event"; - } - leaf l2rb-interval-event-count { - type uint32; - description "number of events in interval"; - } - leaf l2rb-total-event-count { - type uint32; - description "total number of events"; - } - } - - grouping L2RIB-PROD-UPDATE-STATS { - description "L2RIB PROD UPDATE STATS"; - leaf memory-size { - type uint32; - description "Memory Size"; - } - leaf object-count { - type uint32; - description "Number of Objects"; - } - leaf endof-interval-ts { - type uint64; - description "End of Interval Timestamp"; - } - - list extended-counter { - description "Extended Counters"; - uses L2RIB-BAG-EC; - } - } - - grouping L2RIB-PROD-STATS { - description "L2RIB PROD STATS"; - - container statistics { - description "Statistics"; - uses L2RIB-PROD-UPDATE-STATS; - } - leaf producer-id { - type L2rib-bag-producer-id; - description "Producer ID"; - } - leaf producer-name { - type string; - description "Producer Name"; - } - } - - grouping L2RIB-PROD { - description "L2RIB PROD"; - leaf client-id { - type uint32; - description "Client ID"; - } - leaf object-type { - type L2rib-bag-obj; - description "Object Type"; - } - leaf producer-id { - type L2rib-bag-producer-id; - description "Producer ID"; - } - leaf producer-name { - type string; - description "Producer Name"; - } - leaf admin-distance { - type uint32; - description "Admin Distance"; - } - leaf purge-time { - type uint32; - description "Purge Time"; - } - leaf state { - type L2rib-bag-producer-state; - description "Producer State"; - } - } - - grouping L2RIB-PROD-DETAIL { - description "L2RIB PROD DETAIL"; - - container producer { - description "Non-detail Producer Bag"; - uses L2RIB-PROD; - } - - container statistics { - description "Producer Statistics"; - uses L2RIB-PROD-STATS; - } - leaf last-update-timestamp { - type uint64; - description "Last Update Timestamp"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper.yang deleted file mode 100644 index b20916d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2rib-oper.yang +++ /dev/null @@ -1,287 +0,0 @@ -module Cisco-IOS-XR-l2rib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper"; - - - prefix "l2rib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-l2rib-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR l2rib package operational data. - - This module contains definitions - for the following management objects: - l2rib: L2RIB operational information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container l2rib { - config false; - description "L2RIB operational information "; - - container producers-details { - description "L2RIB detailed producer table"; - - list producers-detail { - description "L2RIB producers detail information"; - leaf object-id { - type int32; - description "Object ID"; - } - leaf product-id { - type int32; - description "Product ID"; - } - uses L2RIB-PROD-DETAIL; - } - } - - container summary { - description "L2RIB EVPN Summary"; - uses L2RIB-SUMMARY; - } - - container producers { - description "L2RIB producer table"; - - list producer { - description "L2RIB producers"; - leaf object-id { - type int32; - description "Object ID"; - } - leaf product-id { - type int32; - description "Product ID"; - } - uses L2RIB-PROD; - } - } - - container clients { - description "L2RIB client table"; - - list client { - key "client-id"; - description "L2RIB clients"; - leaf client-id { - type int32; - description "Client ID"; - } - uses L2RIB-CLIENT; - } - } - - container evis-xr { - description "L2RIB EVPN EVI Detail Table"; - - list evi { - key "evi"; - description "L2RIB EVPN EVI Entry"; - leaf evi { - type int32; - description "EVI ID"; - } - uses L2RIB-TOPOLOGY-DETAIL; - } - } - - container clients-details { - description "L2RIB detailed client table"; - - list clients-detail { - key "client-id"; - description "L2RIB clients detail information"; - leaf client-id { - type int32; - description "Client ID"; - } - uses L2RIB-CLIENT-DETAIL; - } - } - - container evi-child-tables { - description "Container for all EVI Child Tables"; - - container macip-details { - description "L2RIB EVPN EVI MAC IP Detail table"; - - list macip-detail { - description "L2RIB EVPN MAC IP Detail table"; - leaf evi { - type int32; - description "EVPN ID"; - } - leaf tag-id { - type int32; - description "Tag ID"; - } - leaf mac-addr { - type string { - length "1..15"; - } - description "MAC IP Address"; - } - leaf ip-addr { - type string { - length "1..15"; - } - description "IP Address"; - } - leaf admin-dist { - type int32; - description "Admin distance"; - } - leaf prod-id { - type int32; - description "Producer ID"; - } - uses L2RIB-MAC-IP-ROUTE-DETAIL; - } - } - - container mac-ips { - description "L2RIB EVPN EVI MAC IP table"; - - list mac-ip { - description "L2RIB EVPN MAC IP table"; - leaf evi { - type int32; - description "EVPN ID"; - } - leaf tag-id { - type int32; - description "Tag ID"; - } - leaf mac-addr { - type string { - length "1..15"; - } - description "MAC-IP Address"; - } - leaf ip-addr { - type string { - length "1..15"; - } - description "IP Address"; - } - leaf admin-dist { - type int32; - description "Admin distance"; - } - leaf prod-id { - type int32; - description "Producer ID"; - } - uses L2RIB-MAC-IP-ROUTE; - } - } - - container macs { - description "L2RIB EVPN EVI MAC table"; - - list mac { - description "L2RIB EVPN MAC table"; - leaf evi { - type int32; - description "EVPN ID"; - } - leaf tag-id { - type int32; - description "Tag ID"; - } - leaf mac-addr { - type string { - length "1..15"; - } - description "MAC Address"; - } - leaf admin-dist { - type int32; - description "Admin distance"; - } - leaf prod-id { - type int32; - description "Producer ID"; - } - uses L2RIB-MAC-ROUTE; - } - } - - container mac-details { - description "L2RIB EVPN EVI MAC Detail table"; - - list mac-detail { - description "L2RIB EVPN MAC Detail table"; - leaf evi { - type int32; - description "EVPN ID"; - } - leaf tag-id { - type int32; - description "Tag ID"; - } - leaf mac-addr { - type string { - length "1..15"; - } - description "MAC Address"; - } - leaf admin-dist { - type int32; - description "Admin distance"; - } - leaf prod-id { - type int32; - description "Producer ID"; - } - uses L2RIB-MAC-ROUTE-DETAIL; - } - } - } - - container evis { - description "L2RIB EVPN EVI Table"; - - list evi { - key "evi"; - description "L2RIB EVPN EVI Entry"; - leaf evi { - type int32; - description "EVI ID"; - } - uses L2RIB-TOPOLOGY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-cfg.yang deleted file mode 100644 index f10c94a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-cfg.yang +++ /dev/null @@ -1,4798 +0,0 @@ -module Cisco-IOS-XR-l2vpn-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg"; - - - prefix "l2vpn-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR l2vpn package configuration. - - This module contains definitions - for the following management objects: - l2vpn: L2VPN configuration - generic-interface-lists: generic interface lists - evpn: evpn - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-snmp-agent-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Evpn-encapsulation { - type enumeration { - enum evpn-encapsulationvxlan { - value 8; - description "VXLAN Encapsulation"; - } - enum evpn-encapsulation-mpls { - value 10; - description "MPLS Encapsulation"; - } - } - description "Evpn encapsulation"; - } - typedef Interworking { - type enumeration { - enum ethernet { - value 1; - description "Ethernet interworking"; - } - enum ipv4 { - value 3; - description "IPv4 interworking"; - } - } - description "Interworking"; - } - typedef L2vpn-capability-mode { - type enumeration { - enum high-mode { - value 1; - description - "Compute global capability as the highest node - capability"; - } - enum single-mode { - value 2; - description "Disable global capability re-computation"; - } - } - description "L2vpn capability mode"; - } - typedef Evpn-side { - type enumeration { - enum evpn-side-stitching { - value 2; - description "EVPN Instance side defined as stitching"; - } - } - description "Evpn side"; - } - typedef Move-interval-range { - type uint32 { - range "5..3600"; - } - description "Move interval range"; - } - typedef Vpls-id-addr-index { - type uint32 { - range "0..32767"; - } - description "Vpls id addr index"; - } - typedef Tag-rewrite-range { - type uint32 { - range "1..4094"; - } - description "Tag rewrite range"; - } - typedef Pseudowire-evpnacid-range { - type uint32 { - range "1..16777215"; - } - description "Pseudowire evpnacid range"; - } - typedef Evpnvpnid-range { - type uint32 { - range "1..65534"; - } - description "Evpnvpnid range"; - } - typedef Pseudowire-label-range { - type uint32 { - range "16..1048575"; - } - description "Pseudowire label range"; - } - typedef Bridge-domain-transport-mode { - type enumeration { - enum vlan-passthrough { - value 3; - description "Vlan tagged passthrough mode"; - } - } - description "Bridge domain transport mode"; - } - typedef Preferred-path { - type enumeration { - enum te-tunnel { - value 2; - description "TE Tunnel"; - } - enum ip-tunnel { - value 3; - description "IP Tunnel"; - } - enum tp-tunnel { - value 4; - description "TP Tunnel"; - } - enum sr-te-policy { - value 5; - description "SR TE Policy"; - } - } - description "Preferred path"; - } - typedef Rd-addr-index { - type uint32 { - range "0..65535"; - } - description "Rd addr index"; - } - typedef Vccv-verification { - type enumeration { - enum none { - value 0; - description "No connectivity verification over VCCV"; - } - enum lsp-ping { - value 2; - description "LSP Ping over VCCV"; - } - } - description "Vccv verification"; - } - typedef L2vpn-mtu-range { - type uint32 { - range "64..65535"; - } - description "L2vpn mtu range"; - } - typedef Mac-withdraw-behavior { - type enumeration { - enum legacy { - value 1; - description "MAC Withdrawal sent on state-down (legacy)"; - } - enum optimized { - value 2; - description "Optimized MAC Withdrawal"; - } - } - description "Mac withdraw behavior"; - } - typedef Port-down-flush { - type enumeration { - enum port-down-flush { - value 0; - description "MAC Port Down Flush"; - } - enum enable-port-down-flush { - value 1; - description "Enable Port Down Flush"; - } - enum disable-port-down-flush { - value 2; - description "Disable Port Down Flush"; - } - } - description "Port down flush"; - } - typedef Storm-control-pps-range { - type uint32 { - range "1..160000"; - } - description "Storm control pps range"; - } - typedef Type-of-service-mode { - type enumeration { - enum none { - value 0; - description "Do not reflect the type of service"; - } - enum reflect { - value 1; - description "Reflect the type of service"; - } - } - description "Type of service mode"; - } - typedef Pseudowire-tag-range { - type uint32 { - range "1..4094"; - } - description "Pseudowire tag range"; - } - typedef Multicast-p2mp-signaling { - type string { - pattern "(BGP)"; - } - description "BGP:BGP Signaling"; - } - typedef Cedge-range { - type uint32 { - range "11..100"; - } - description "Cedge range"; - } - typedef Mpls-signaling-protocol { - type enumeration { - enum none { - value 1; - description "No signaling"; - } - enum ldp { - value 4; - description "LDP"; - } - } - description "Mpls signaling protocol"; - } - typedef Erpaps { - type enumeration { - enum interface { - value 1; - description "ERP APS type interface"; - } - enum bridge-domain { - value 2; - description "ERP APS type bridge domain"; - } - enum xconnect { - value 3; - description "ERP APS type xconnect"; - } - enum none { - value 4; - description "ERP APS type none"; - } - } - description "Erpaps"; - } - typedef Mac-secure-action { - type enumeration { - enum restrict { - value 1; - description "MAC Secure Action Restrict"; - } - enum none { - value 2; - description "No Action"; - } - enum shutdown { - value 3; - description "MAC Secure Action Shutdown"; - } - } - description "Mac secure action"; - } - typedef Erp-port { - type enumeration { - enum none { - value 1; - description "ERP port type none"; - } - enum virtual { - value 2; - description "ERP port type virtual"; - } - enum interface { - value 3; - description "ERP port type interface"; - } - } - description "Erp port"; - } - typedef Resync-threshold-range { - type uint32 { - range "5..65535"; - } - description "Resync threshold range"; - } - typedef Bgp-route-target-role { - type enumeration { - enum both { - value 0; - description "Both Import and export roles"; - } - enum import { - value 1; - description "Import role"; - } - enum export { - value 2; - description "Export role"; - } - } - description "Bgp route target role"; - } - typedef Backup-disable { - type enumeration { - enum never { - value 0; - description "Never"; - } - enum delay { - value 1; - description "Delay seconds"; - } - } - description "Backup disable"; - } - typedef Time-to-live-range { - type uint32 { - range "1..255"; - } - description "Time to live range"; - } - typedef Multicast-p2mp-transport { - type string { - pattern "(RSVP_TE)"; - } - description "RSVP_TE:RSVP-TE Transport"; - } - typedef Transport-mode { - type enumeration { - enum ethernet { - value 1; - description "Ethernet port mode"; - } - enum vlan { - value 2; - description "Vlan tagged mode"; - } - enum vlan-passthrough { - value 3; - description "Vlan tagged passthrough mode"; - } - } - description "Transport mode"; - } - typedef Flow-label-tlv-code { - type enumeration { - enum 17 { - value 4; - description "Set Flow Label Legacy TLV code (DEPRECATED)"; - } - enum disable { - value 8; - description "Disable Sending Flow Label Legacy TLV"; - } - } - description "Flow label tlv code"; - } - typedef Bgp-route-target { - type enumeration { - enum no-stitching { - value 0; - description "RT is default type"; - } - enum stitching { - value 1; - description "RT is for stitching (Golf-L2)"; - } - } - description "Bgp route target"; - } - typedef Pseudowire-acid-range { - type uint32 { - range "1..4294967295"; - } - description "Pseudowire acid range"; - } - typedef Pseudowire-id-range { - type uint32 { - range "1..4294967295"; - } - description "Pseudowire id range"; - } - typedef Interface-profile { - type enumeration { - enum snoop { - value 1; - description "Set the snooping"; - } - enum dhcp-protocol { - value 2; - description "disable DHCP protocol"; - } - } - description "Interface profile"; - } - typedef Ethernet-segment-identifier { - type enumeration { - enum type0 { - value 0; - description "ESI type 0"; - } - enum legacy { - value 128; - description "Legacy ESI type"; - } - enum override { - value 129; - description "Override ESI type"; - } - } - description "Ethernet segment identifier"; - } - typedef Rpl-role { - type enumeration { - enum owner { - value 1; - description "ERP RPL owner"; - } - enum neighbor { - value 2; - description "ERP RPL neighbor"; - } - enum next-neighbor { - value 3; - description "ERP RPL next neighbor"; - } - } - description "Rpl role"; - } - typedef Pw-switching-point-tlv { - type enumeration { - enum hide { - value 2; - description "Hide TLV"; - } - } - description "Pw switching point tlv"; - } - typedef Erpaps-level-range { - type uint32 { - range "0..7"; - } - description "Erpaps level range"; - } - typedef Evpn-esi-type-range { - type uint32; - description "Evpn esi type range"; - } - typedef Storm-control { - type enumeration { - enum unicast { - value 1; - description "Unknown-unicast Storm Control"; - } - enum multicast { - value 2; - description "Multicast Storm Control"; - } - enum broadcast { - value 4; - description "Broadcast Storm Control"; - } - } - description "Storm control"; - } - typedef L2tp-session-id-range { - type uint32 { - range "1..65535"; - } - description "L2tp session id range"; - } - typedef Mac-learn { - type enumeration { - enum default-learning { - value 0; - description "Mac Learning"; - } - enum enable-learning { - value 1; - description "Enable Learning"; - } - enum disable-learning { - value 2; - description "Disable Learning"; - } - } - description "Mac learn"; - } - typedef L2tpv3-sequencing { - type enumeration { - enum off { - value 0; - description "Sequencing is off"; - } - enum both { - value 4; - description "Sequencing on both transmit and receive side"; - } - } - description "L2tpv3 sequencing"; - } - typedef Veid-range { - type uint32 { - range "1..16384"; - } - description "Veid range"; - } - typedef Load-balance { - type enumeration { - enum source-dest-mac { - value 1; - description "Source and Destination MAC hashing"; - } - enum source-dest-ip { - value 2; - description "Source and Destination IP hashing"; - } - enum pseudowire-label { - value 4; - description "PW Label hashing"; - } - } - description "Load balance"; - } - typedef L2tp-signaling-protocol { - type enumeration { - enum none { - value 1; - description "No signaling"; - } - enum l2tpv3 { - value 2; - description "L2TPv3"; - } - } - description "L2tp signaling protocol"; - } - typedef Move-count-range { - type uint32 { - range "1..1000"; - } - description "Move count range"; - } - typedef Retry-count-range { - type uint32 { - range "0..1000"; - } - description "Retry count range"; - } - typedef Bdmac-learn { - type enumeration { - enum disable-learning { - value 2; - description "Disable Learning"; - } - } - description "Bdmac learn"; - } - typedef L2vpn-verification { - type enumeration { - enum enable { - value 1; - description "enable verification"; - } - enum disable { - value 2; - description "disable verification"; - } - } - description "L2vpn verification"; - } - typedef Max-path-mtu-range { - type uint32 { - range "68..65535"; - } - description "Max path mtu range"; - } - typedef Interface-traffic-flood { - type enumeration { - enum traffic-flooding { - value 0; - description "Traffic flooding"; - } - enum enable-flooding { - value 1; - description "Enable Flooding"; - } - enum disable-flooding { - value 2; - description "Disable flooding"; - } - } - description "Interface traffic flood"; - } - typedef Pbbvid-range { - type uint32 { - range "1..4094"; - } - description "Pbbvid range"; - } - typedef L2tp-cookie-value-range { - type uint32 { - range "0..4294967295"; - } - description "L2tp cookie value range"; - } - typedef L2-encapsulation { - type enumeration { - enum vlan { - value 4; - description "Vlan tagged mode"; - } - enum ethernet { - value 5; - description "Ethernet port mode"; - } - } - description "L2 encapsulation"; - } - typedef L2vpn-logging { - type enumeration { - enum enable { - value 1; - description "enable logging"; - } - enum disable { - value 2; - description "disable logging"; - } - } - description "L2vpn logging"; - } - typedef Mac-aging-range { - type uint32 { - range "300..30000"; - } - description "Mac aging range"; - } - typedef Vpls-id-as-index { - type uint32 { - range "0..4294967295"; - } - description "Vpls id as index"; - } - typedef Pseudowire-gbl-id-range { - type uint32 { - range "1..4294967295"; - } - description "Pseudowire gbl id range"; - } - typedef Rdas-index { - type uint32 { - range "0..4294967295"; - } - description "Rdas index"; - } - typedef L2tp-cookie-size { - type enumeration { - enum zero { - value 0; - description "Cookie size is zero bytes"; - } - enum four { - value 4; - description "Cookie size is four bytes"; - } - enum eight { - value 8; - description "Cookie size is eight bytes"; - } - } - description "L2tp cookie size"; - } - typedef Mpls-sequencing { - type enumeration { - enum off { - value 0; - description "Sequencing is off"; - } - enum transmit { - value 1; - description "Sequencing on transmit side"; - } - enum receive { - value 2; - description "Sequencing on receive side"; - } - enum both { - value 4; - description "Sequencing on both transmit and receive side"; - } - } - description "Mpls sequencing"; - } - typedef Erp-instance-range { - type uint32 { - range "1..2"; - } - description "Erp instance range"; - } - typedef Pw-redundancy-initial-delay-range { - type uint32 { - range "0..120"; - } - description "Pw redundancy initial delay range"; - } - typedef Vpls-id-as-range { - type uint32 { - range "1..65535"; - } - description "Vpls id as range"; - } - typedef Rdas-range { - type uint32 { - range "1..4294967295"; - } - description "Rdas range"; - } - typedef Bridge-bd-mtu-range { - type uint32 { - range "46..65535"; - } - description "Bridge bd mtu range"; - } - typedef Backup-disable-delay-range { - type uint32 { - range "0..180"; - } - description "Backup disable delay range"; - } - typedef Storm-control-kbps-range { - type uint32 { - range "64..1280000"; - } - description "Storm control kbps range"; - } - typedef Mac-limit-action { - type enumeration { - enum none { - value 0; - description "No action"; - } - enum flood { - value 1; - description "Flood Mac Limit Action"; - } - enum no-flood { - value 2; - description "NoFlood Mac Limit Action"; - } - enum shutdown { - value 3; - description "Shutdown Mac Limit Action"; - } - } - description "Mac limit action"; - } - typedef Erp-port1 { - type enumeration { - enum port0 { - value 0; - description "ERP main port 0"; - } - enum port1 { - value 1; - description "ERP main port 1"; - } - } - description "Erp port1"; - } - typedef Mac-notification { - type enumeration { - enum no-notif { - value 0; - description "No_Notification Trap"; - } - enum syslog { - value 1; - description "syslog message"; - } - enum trap { - value 2; - description "Snmp Trap"; - } - enum syslog-snmp { - value 3; - description "Syslog_snmp Trap"; - } - } - description "Mac notification"; - } - typedef Control-word { - type enumeration { - enum enable { - value 1; - description "Enable control word"; - } - enum disable { - value 2; - description "Disable control word"; - } - } - description "Control word"; - } - typedef Bgp-route-distinguisher { - type enumeration { - enum auto { - value 1; - description "RD automatically assigned"; - } - enum two-byte-as { - value 2; - description "RD in 2 byte AS:nn format"; - } - enum four-byte-as { - value 3; - description "RD in 4 byte AS:nn format"; - } - enum ipv4-address { - value 4; - description "RD in IpV4address"; - } - } - description "Bgp route distinguisher"; - } - typedef Bgp-route-target-format { - type enumeration { - enum none { - value 0; - description "No route target"; - } - enum two-byte-as { - value 1; - description "2 Byte AS:nn format"; - } - enum four-byte-as { - value 2; - description "4 byte AS:nn format"; - } - enum ipv4-address { - value 3; - description "IP:nn format"; - } - enum es-import { - value 1538; - description "a.a.i format"; - } - } - description "Bgp route target format"; - } - typedef Mac-limit-threshold-range { - type uint32 { - range "1..100"; - } - description "Mac limit threshold range"; - } - typedef Vedge-range { - type uint32 { - range "11..100"; - } - description "Vedge range"; - } - typedef Vpnid-range { - type uint32 { - range "1..4294967295"; - } - description "Vpnid range"; - } - typedef Freeze-time-range { - type uint32 { - range "5..3600"; - } - description "Freeze time range"; - } - typedef Ldp-vpls-id { - type enumeration { - enum two-byte-as { - value 10; - description "VPLS-ID in 2 byte AS:nn format"; - } - enum ipv4-address { - value 266; - description "VPLS-ID in IPv4 IP:nn format"; - } - } - description "Ldp vpls id"; - } - typedef Ce-id-range { - type uint32 { - range "1..16384"; - } - description "Ce id range"; - } - typedef Mac-aging { - type enumeration { - enum absolute { - value 1; - description "Absolute aging type"; - } - enum inactivity { - value 2; - description "Inactivity aging type"; - } - } - description "Mac aging"; - } - typedef Mac-limit-range { - type uint32 { - range "0..4294967295"; - } - description "Mac limit range"; - } - typedef Pbbisid-range { - type uint32 { - range "256..16777214"; - } - description "Pbbisid range"; - } - typedef Type-of-service-range { - type uint32 { - range "0..255"; - } - description "Type of service range"; - } - typedef Flow-label-load-balance { - type enumeration { - enum off { - value 0; - description "Flow Label load balance is off"; - } - enum receive { - value 1; - description "Delete Flow Label on receive side"; - } - enum transmit { - value 2; - description "Insert Flow Label on transmit side"; - } - enum both { - value 3; - description - "Insert/Delete Flow Label on transmit/receive - side"; - } - } - description "Flow label load balance"; - } - - grouping EVI-ADVERTISE-MAC-DEPRECATED { - description "Common node of evpnevi, evpn-instance"; - leaf evi-advertise-mac-deprecated { - type empty; - description - "DEPRECATED: Advertise local MAC-only and BVI MAC - routes"; - } - } - - grouping TABLE-POLICY { - description - "Common node of evpnev-ibgp-auto-discovery, - evpn-instance-bgp-auto-discovery"; - leaf table-policy { - type string; - description - "Table Policy for installation of forwarding data - to L2FIB"; - } - } - - grouping STORM-CONTROL-UNIT { - description - "Common node of bd-storm-control, - bdac-storm-control-type, bdpw-storm-control-type"; - - container storm-control-unit { - description "Specify units for Storm Control Configuration"; - leaf kbits-per-sec { - type Storm-control-kbps-range; - units "kbit/s"; - description - "Kilobits Per Second, PktsPerSec and KbitsPerSec - cannot be configured together"; - } - leaf pkts-per-sec { - type Storm-control-pps-range; - units "packet/s"; - description - "Packets Per Second, PktsPerSec and KbitsPerSec - cannot be configured together"; - } - must "kbits-per-sec or pkts-per-sec"; - } - } - - grouping MANUAL-SERVICE-CARVING { - description - "Common node of ethernet-segment, - evpn-virtual-ethernet-segment"; - - container manual-service-carving { - description - "Enter Manual service carving configuration - submode"; - - container service-list { - description - "Manual service carving primary,secondary lists"; - leaf primary { - type string { - length "1..150"; - } - description "Primary services list"; - } - leaf secondary { - type string { - length "1..150"; - } - description "Secondary services list"; - } - } - leaf enable { - type empty; - description "Enable Manual service carving"; - } - } - } - - grouping EVPN-ROUTE-DISTINGUISHER { - description - "Common node of evpn-bgp-auto-discovery, - evpnev-ibgp-auto-discovery, - evpn-instance-bgp-auto-discovery, pw-routing-bgp"; - - container evpn-route-distinguisher { - description "Route Distinguisher"; - leaf type { - type Bgp-route-distinguisher; - description "Router Distinguisher Type"; - } - leaf as { - when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { - description "../Type = TwoByteAS or ../Type = FourByteAS"; - } - type Rdas-range; - description "Two byte or 4 byte AS number"; - } - leaf as-index { - when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { - description "../Type = TwoByteAS or ../Type = FourByteAS"; - } - type Rdas-index; - description "AS:nn (hex or decimal format)"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type Rd-addr-index; - description "Addr index"; - } - } - } - - grouping EVPN-VIRTUAL-ETHERNET-SEGMENT { - description - "Common node of evpn-virtual-access-pw, - evpn-virtual-access-vfi"; - - container evpn-virtual-ethernet-segment { - description "Enter Ethernet Segment configuration submode"; - leaf enable { - type empty; - description "Enable Ethernet Segment"; - } - uses ES-IMPORT-ROUTE-TARGET; - uses IDENTIFIER; - uses MANUAL-SERVICE-CARVING; - } - } - - grouping ES-IMPORT-ROUTE-TARGET { - description - "Common node of ethernet-segment, - evpn-virtual-ethernet-segment"; - leaf es-import-route-target { - type yang:mac-address; - description "ES-Import Route Target"; - } - } - - grouping EVI-FLOW-LABEL { - description - "Common node of evi-load-balancing, - evpn-instance-load-balancing"; - leaf evi-flow-label { - type empty; - description "Enable Flow Label based load balancing"; - } - } - - grouping IDENTIFIER { - description - "Common node of ethernet-segment, - evpn-virtual-ethernet-segment"; - - container identifier { - presence "Indicates a identifier node is configured."; - description "Ethernet segment identifier"; - leaf bytes01 { - type xr:Hex-integer; - mandatory true; - description "Type 0's 1st Byte or Type Byte and 1st Byte"; - } - leaf bytes23 { - type xr:Hex-integer; - units "byte"; - mandatory true; - description "2nd and 3rd Bytes"; - } - leaf bytes45 { - type xr:Hex-integer; - units "byte"; - mandatory true; - description "4th and 5th Bytes"; - } - leaf bytes67 { - type xr:Hex-integer; - units "byte"; - mandatory true; - description "6th and 7th Bytes"; - } - leaf bytes89 { - type xr:Hex-integer; - units "byte"; - mandatory true; - description "8th and 9th Bytes"; - } - leaf type { - type Ethernet-segment-identifier; - mandatory true; - description "Ethernet segment identifier type"; - } - } - } - - grouping EVPN-ROUTE-TARGET-TABLE { - description - "Common node of evpnevibgp-auto-discovery, - evpn-instance-bgp-auto-discovery"; - container evpn-route-targets { - description "Route Target"; - list evpn-route-target-as { - xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; - must "format = 'two-byte-as' or format = 'four-byte-as'" { - description - "path for evpn-route-target when format is 2 or 4 byte AS"; - } - key "format role as as-index stitching"; - description "Name of the Route Target"; - leaf format { - xr:xr-xml-map "l2vpn_cfg:Format"; - type Bgp-route-target-format; - description "Format of the route target"; - } - leaf role { - xr:xr-xml-map "l2vpn_cfg:Role"; - type Bgp-route-target-role; - description "Role of the router target type"; - } - leaf as { - xr:xr-xml-map "l2vpn_cfg:AS"; - type Rdas-range; - description "Two byte or 4 byte AS number"; - } - leaf as-index { - xr:xr-xml-map "l2vpn_cfg:ASIndex"; - type Rdas-index; - description "AS:nn (hex or decimal format)"; - } - leaf stitching { - xr:xr-xml-map "l2vpn_cfg:Stitching"; - type Bgp-route-target; - description "whether RT is Stitching RT"; - } - } - list evpn-route-target-none { - xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; - must "format = 'none'" { - description - "path for evpn-route-target when format is none"; - } - key "format role stitching"; - description "Name of the Route Target"; - leaf format { - xr:xr-xml-map "l2vpn_cfg:Format"; - type Bgp-route-target-format; - description "Format of the route target"; - } - leaf role { - xr:xr-xml-map "l2vpn_cfg:Role"; - type Bgp-route-target-role; - description "Role of the router target type"; - } - leaf stitching { - xr:xr-xml-map "l2vpn_cfg:Stitching"; - type Bgp-route-target; - description "whether RT is Stitching RT"; - } - } - list evpn-route-target-ipv4-address { - xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; - must "format = 'ipv4-address'" { - description - "path for evpn-route-target when format is an ipv4 address"; - } - key "format role address addr-index stitching"; - description "Name of the Route Target"; - leaf format { - xr:xr-xml-map "l2vpn_cfg:Format"; - type Bgp-route-target-format; - description "Format of the route target"; - } - leaf role { - xr:xr-xml-map "l2vpn_cfg:Role"; - type Bgp-route-target-role; - description "Role of the router target type"; - } - leaf address { - xr:xr-xml-map "l2vpn_cfg:Address"; - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - xr:xr-xml-map "l2vpn_cfg:AddrIndex"; - type Rd-addr-index; - description "Addr index"; - } - leaf stitching { - xr:xr-xml-map "l2vpn_cfg:Stitching"; - type Bgp-route-target; - description "whether RT is Stitching RT"; - } - } - } - } - - grouping EVI-REORIG-DISABLE { - description "Common node of evpnevi, evpn-instance"; - leaf evi-reorig-disable { - type empty; - description "Disable route re-origination"; - } - } - - grouping EVI-ADVERTISE-MAC-BVI { - description - "Common node of evi-advertise-mac, - evpn-instance-advertise-mac"; - leaf evi-advertise-mac-bvi { - type empty; - description "Advertise local MAC-only and BVI MAC routes"; - } - } - - grouping EVPNEVI-DESCRIPTION { - description "Common node of evpnevi, evpn-instance"; - leaf evpnevi-description { - type string { - length "1..64"; - } - description "EVPN Instance description"; - } - } - - grouping EVI-UNKNOWN-UNICAST-FLOODING-DISABLE { - description "Common node of evpnevi, evpn-instance"; - leaf evi-unknown-unicast-flooding-disable { - type empty; - description "Disable Unknown Unicast Flooding on this EVI"; - } - } - - grouping EVPN-EVI-CW-DISABLE { - description "Common node of evpnevi, evpn-instance"; - leaf evpn-evi-cw-disable { - type empty; - description "CW disable for EVPN EVI"; - } - } - - container l2vpn { - description "L2VPN configuration"; - - container pw-routing { - description "Pseudowire-routing attributes"; - - container pw-routing-bgp { - description - "Enable Autodiscovery BGP Pseudowire-routing BGP"; - leaf enable { - type empty; - description "Enable Autodiscovery BGP"; - } - uses EVPN-ROUTE-DISTINGUISHER; - } - leaf pw-routing-global-id { - type Pseudowire-gbl-id-range; - description "Pseudowire-routing Global ID"; - } - } - - container neighbor { - description "L2VPN neighbor submode"; - leaf ldp-flap { - type empty; - description "Enable targetted LDP session flap action"; - } - } - - container database { - description "L2VPN databases"; - - container g8032-rings { - description "List of G8032 Ring"; - - list g8032-ring { - key "g8032-ring-name"; - description "G8032 Ring"; - - container erp-port0s { - description "Ethernet ring protection port0"; - - list erp-port0 { - key "interface-name"; - description "Configure ERP main port0"; - leaf monitor { - type xr:Interface-name; - description - "Ethernet ring protection port0 monitor"; - } - leaf interface-name { - type xr:Interface-name; - description "Port0 interface"; - } - } - } - - container erp-instances { - description "List of ethernet ring protection instance"; - - list erp-instance { - key "erp-instance-id"; - description "Ethernet ring protection instance"; - - container rpl { - description "Ring protection link"; - leaf port { - type Erp-port1; - description "ERP main port number"; - } - leaf role { - type Rpl-role; - description "RPL role"; - } - } - - container aps { - description "Automatic protection switching"; - - container port1 { - description "APS channel for ERP port1"; - leaf aps-type { - type Erpaps; - description "Port1 APS type"; - } - leaf aps-channel { - type string; - description - "Port1 APS channel in the format of - InterfaceName, BDName or XconnectName"; - } - } - leaf port0 { - type string; - description - "Port0 APS channel in the format of - InterfaceName"; - } - leaf enable { - type empty; - description - "Enable automatic protection switching"; - } - leaf level { - type Erpaps-level-range; - description - "Automatic protection switching level"; - } - } - leaf description { - type string { - length "1..32"; - } - description - "Ethernet ring protection instance - description"; - } - leaf inclusion-list { - type string; - description - "Associates a set of VLAN IDs with the G - .8032 instance"; - } - leaf profile { - type string { - length "1..32"; - } - description - "Ethernet ring protection instance profile"; - } - leaf erp-instance-id { - type Erp-instance-range; - description "ERP instance number"; - } - } - } - - container erp-port1s { - description "Ethernet ring protection port0"; - - list erp-port1 { - must "none-or-virtual or interface" { - description - "None-or-Virtual or Interface must be - present."; - } - key "erp-port-type"; - description "Ethernet ring protection port1"; - - grouping ERP-PORT1-CONTENT { - description "ERP PORT1 CONTENT"; - leaf monitor { - type xr:Interface-name; - description - "Ethernet ring protection port1 monitor"; - } - } - - container none-or-virtual { - when "../erp-port-type = 'none' or"+ - " ../erp-port-type = 'virtual'" { - description - "../ERPPortType = None or ../ERPPortType = - Virtual"; - } - presence "Indicates that this node is configured."; - description "none or virtual"; - uses ERP-PORT1-CONTENT; - } - leaf erp-port-type { - type Erp-port; - description "Port1 type"; - } - - list interface { - when "../erp-port-type = 'interface'" { - description "../ERPPortType = Interface"; - } - key "interface-name"; - description "interface"; - leaf interface-name { - type xr:Interface-name; - description "Port1 interface"; - } - uses ERP-PORT1-CONTENT; - } - } - } - leaf open-ring { - type empty; - description "Specify the G.8032 instance as open ring"; - } - leaf exclusion-list { - type string; - description - "Vlan IDs in the format of a-b,c,d,e-f,g - ,untagged"; - } - leaf erp-provider-bridge { - type empty; - description "Ethernet ring protection provider bridge"; - } - leaf g8032-ring-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the G8032 ring"; - } - } - } - - container xconnect-groups { - description "List of xconnect groups"; - - list xconnect-group { - key "name"; - description "Xconnect group"; - - container p2p-xconnects { - description "List of point to point xconnects"; - - list p2p-xconnect { - key "name"; - description "Point to point xconnect"; - - container backup-attachment-circuits { - description "List of backup attachment circuits"; - - list backup-attachment-circuit { - key "interface-name"; - description "Backup attachment circuit"; - leaf interface-name { - type xr:Interface-name; - description - "Name of the attachment circuit interface"; - } - } - } - - container pseudowire-evpns { - description "List of EVPN Services"; - - list pseudowire-evpn { - key "eviid remote-acid source-acid"; - description "EVPN P2P Service Configuration"; - leaf eviid { - type Evpnvpnid-range; - description "Ethernet VPN ID"; - } - leaf remote-acid { - type Pseudowire-evpnacid-range; - description "Remote AC ID"; - } - leaf source-acid { - type Pseudowire-evpnacid-range; - description "Source AC ID"; - } - } - } - - container pseudowires { - description "List of pseudowires"; - - list pseudowire { - must "pseudowire-address or neighbor" { - description - "pseudowire-address or neighbor must be - present."; - } - key "pseudowire-id"; - description "Pseudowire configuration"; - - grouping PSEUDOWIRE-CONTENT { - description "Content grouping."; - - container mpls-static-labels { - description "MPLS static labels"; - leaf local-static-label { - type Pseudowire-label-range; - description "Pseudowire local static label"; - } - leaf remote-static-label { - type Pseudowire-label-range; - description - "Pseudowire remote static label"; - } - } - - container backup-pseudowires { - description "List of pseudowires"; - - list backup-pseudowire { - key "neighbor pseudowire-id"; - description - "Backup pseudowire for the cross connect"; - - container backup-mpls-static-labels { - description "MPLS static labels"; - leaf local-static-label { - type Pseudowire-label-range; - description - "Pseudowire local static label"; - } - leaf remote-static-label { - type Pseudowire-label-range; - description - "Pseudowire remote static label"; - } - } - leaf backup-pw-class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "PW class template name to use for the - backup PW"; - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - } - } - - container l2tp-static-attributes { - description "L2TP Static Attributes"; - - container l2tp-remote-cookie { - description "L2TP remote cookie"; - leaf size { - type L2tp-cookie-size; - description "Remote cookie size"; - } - leaf lower-value { - type L2tp-cookie-value-range; - description "Lower remote cookie value"; - } - leaf higher-value { - type L2tp-cookie-value-range; - description "Higher remote cookie value"; - } - } - - container l2tp-secondary-local-cookie { - description "L2TP secondary local cookie"; - leaf size { - type L2tp-cookie-size; - description "Local cookie size"; - } - leaf lower-value { - type L2tp-cookie-value-range; - description "Lower local cookie value"; - } - leaf higher-value { - type L2tp-cookie-value-range; - description "Higher local cookie value"; - } - } - - container l2tp-local-cookie { - description "L2TP local cookie"; - leaf size { - type L2tp-cookie-size; - description "Local cookie size"; - } - leaf lower-value { - type L2tp-cookie-value-range; - description "Lower local cookie value"; - } - leaf higher-value { - type L2tp-cookie-value-range; - description "Higher local cookie value"; - } - } - leaf l2tp-remote-session-id { - type L2tp-session-id-range; - description "L2TP remote session ID"; - } - leaf l2tp-local-session-id { - type L2tp-session-id-range; - description "L2TP local session ID"; - } - } - - container l2tp-static { - description - "Pseudowire L2TPv3 static configuration"; - leaf enable { - type empty; - description - "Enable pseudowire L2TPv3 static - configuration"; - } - } - leaf tag-impose { - type Pseudowire-tag-range; - description "Tag Impose vlan tagged mode"; - } - leaf class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the pseudowire class"; - } - leaf source-address { - type inet:ip-address-no-zone; - description - "Value of the Pseudowire source address. - Must be IPv6 only."; - } - leaf bandwidth { - type uint32 { - range "0..4294967295"; - } - description "Pseudowire Bandwidth"; - } - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - - list neighbor { - key "neighbor"; - description "keys: neighbor"; - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Pseudowire IPv4 address"; - } - uses PSEUDOWIRE-CONTENT; - } - - list pseudowire-address { - key "pseudowire-address"; - description "keys: pseudowire-address"; - leaf pseudowire-address { - type inet:ipv6-address-no-zone; - description - "Pseudowire IPv6 address. A pseudowire - can have only one address: IPv4 or IPv6"; - } - uses PSEUDOWIRE-CONTENT; - } - } - } - - container monitor-sessions { - description "List of Monitor session segments"; - - list monitor-session { - key "name"; - description "Monitor session segment"; - leaf enable { - type empty; - description "Enable monitor session segment "; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Name of the monitor session"; - } - } - } - - container pseudowire-routeds { - description "List of pseudowire-routed"; - - list pseudowire-routed { - key "global-id prefix acid sacid"; - description "Pseudowire configuration"; - leaf tag-impose { - type Pseudowire-tag-range; - description "Tag Impose vlan tagged mode"; - } - leaf class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the pseudowire class"; - } - leaf global-id { - type Pseudowire-gbl-id-range; - description "Target Global ID"; - } - leaf prefix { - type inet:ipv4-address-no-zone; - description "Target Prefix"; - } - leaf acid { - type Pseudowire-acid-range; - description "Target AC ID"; - } - leaf sacid { - type Pseudowire-acid-range; - description "Source AC ID"; - } - } - } - - container attachment-circuits { - description "List of attachment circuits"; - - list attachment-circuit { - key "name"; - description "Attachment circuit interface"; - leaf enable { - type empty; - description - "Enable attachment circuit interface"; - } - leaf name { - type xr:Interface-name; - description - "Name of the attachment circuit interface"; - } - } - } - leaf p2p-description { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "cross connect description Name"; - } - leaf interworking { - type Interworking; - description "Interworking"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..38"; - } - description "Name of the point to point xconnect"; - } - } - } - - container mp2mp-xconnects { - description - "List of multi point to multi point xconnects"; - - list mp2mp-xconnect { - key "name"; - description "Multi point to multi point xconnect"; - - container mp2mp-auto-discovery { - description "auto-discovery in this MP2MP"; - - container route-distinguisher { - description "Route Distinguisher"; - leaf type { - type Bgp-route-distinguisher; - description "Router distinguisher type"; - } - leaf as { - when "../type = 'two-byte-as' or ../type ="+ - " 'four-byte-as'" { - description - "../Type = TwoByteAS or ../Type = - FourByteAS"; - } - type Rdas-range; - description "Two byte or 4 byte AS number"; - } - leaf as-index { - when "../type = 'two-byte-as' or ../type ="+ - " 'four-byte-as'" { - description - "../Type = TwoByteAS or ../Type = - FourByteAS"; - } - type Rdas-index; - description "AS:nn (hex or decimal format)"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type Rd-addr-index; - description "Addr index"; - } - } - - container mp2mp-route-policy { - description "Route policy"; - leaf export { - type string; - description "Export route policy"; - } - } - - container mp2mp-route-targets { - description "Route Target"; - - list mp2mp-route-target { - must "two-byte-as-or-four-byte-as or"+ - " ipv4-address" { - description - "TwoByteAS-or-FourbyteAS or IPV4Address - must be present."; - } - key "role format"; - description "Name of the Route Target"; - leaf role { - type Bgp-route-target-role; - description "Role of the router target type"; - } - leaf format { - type Bgp-route-target-format; - description "Format of the route target"; - } - - list two-byte-as-or-four-byte-as { - when "../format = 'two-byte-as' or"+ - " ../format = 'four-byte-as'" { - description - "../Format = TwoByteAS or ../Format = - FourbyteAS"; - } - key "as as-index"; - description "two byte as or four byte as"; - leaf as { - type Rdas-range; - description "Two byte or 4 byte AS number"; - } - leaf as-index { - type Rdas-index; - description "AS:nn (hex or decimal format)"; - } - } - - list ipv4-address { - when "../format = 'ipv4-address'" { - description "../Format = IPV4Address"; - } - key "address addr-index"; - description "ipv4 address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - type Rd-addr-index; - description "Addr index"; - } - } - } - } - - container mp2mp-signaling-protocol { - description "signaling protocol in this MP2MP"; - - container flow-label-load-balance { - description - "Enable Flow Label based load balancing"; - leaf flow-label { - type Flow-label-load-balance; - description "Flow Label load balance type"; - } - leaf static { - type empty; - description "Static Flow Label"; - } - } - - container ceids { - description - "Local Customer Edge Identifier Table"; - - list ceid { - key "ce-id"; - description "Local Customer Edge Identifier "; - - container remote-ceid-attachment-circuits { - description - "AC And Remote Customer Edge Identifier - Table"; - - list remote-ceid-attachment-circuit { - key "name remote-ce-id"; - description - "AC And Remote Customer Edge Identifier"; - leaf name { - type xr:Interface-name; - description - "The name of the Attachment Circuit"; - } - leaf remote-ce-id { - type Ce-id-range; - description - "Remote Customer Edge Identifier"; - } - } - } - leaf ce-id { - type Ce-id-range; - description - "Local Customer Edge Identifier"; - } - } - } - leaf ce-range { - type Cedge-range; - description "Local Customer Edge Identifier"; - } - leaf enable { - type empty; - description "Enable signaling protocol"; - } - } - leaf enable { - type empty; - description "Enable auto-discovery"; - } - } - leaf mp2mpmtu { - type L2vpn-mtu-range; - units "byte"; - description - "Maximum transmission unit for this MP2MP - VPWS instance"; - } - leaf mp2mp-control-word { - type empty; - description "Disable control word"; - } - leaf mp2mpl2-encapsulation { - type L2-encapsulation; - description "Configure Layer 2 Encapsulation"; - } - leaf mp2mp-interworking { - type Interworking; - description "Interworking"; - } - leaf mp2mp-shutdown { - type empty; - description "shutdown this MP2MP VPWS instance"; - } - leaf mp2mpvpn-id { - type Vpnid-range; - description "VPN Identifier"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..26"; - } - description - "Name of the multi point to multi point - xconnect"; - } - } - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the xconnect group"; - } - } - } - - container bridge-domain-groups { - description "List of bridge groups"; - - list bridge-domain-group { - key "name"; - description "Bridge group"; - - container bridge-domains { - description "List of Bridge Domain"; - - list bridge-domain { - key "name"; - description "bridge domain"; - - container bd-storm-controls { - description "Storm Control"; - - list bd-storm-control { - key "sctype"; - description "Storm Control Type"; - leaf sctype { - type Storm-control; - description "Storm Control Type"; - } - uses STORM-CONTROL-UNIT; - must "storm-control-unit"; - } - } - - container member-vnis { - description - "Bridge Domain VxLAN Network Identifier - Table"; - - list member-vni { - key "vni"; - description - "Bridge Domain Member VxLAN Network - Identifier "; - - container member-vni-static-mac-addresses { - description "Static Mac Address Table"; - - list member-vni-static-mac-address { - key "mac-address"; - description - "Static Mac Address Configuration"; - leaf next-hop-ip { - type inet:ipv4-address-no-zone; - description - "Enable Static Mac Address Configuration"; - } - leaf mac-address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - leaf vni { - type uint32 { - range "1..16777215"; - } - description "VxLAN Network Identifier number"; - } - } - } - - container bridge-domain-mac { - description "MAC configuration commands"; - - container bd-mac-limit { - description "MAC-Limit configuration commands"; - leaf bd-mac-limit-action { - type Mac-limit-action; - description - "MAC address limit enforcement action"; - } - leaf bd-mac-limit-notif { - type Mac-notification; - description "Mac Address Limit Notification"; - } - leaf bd-mac-limit-max { - type Mac-limit-range; - description - "Number of MAC addresses after which MAC - limit action is taken"; - } - } - - container bd-mac-filters { - description "Filter Mac Address"; - - list bd-mac-filter { - key "address"; - description "Static MAC address"; - leaf drop { - type empty; - description "MAC address for filtering"; - } - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - - container mac-secure { - description "MAC Secure"; - leaf logging { - type empty; - description "MAC Secure Logging"; - } - leaf action { - type Mac-secure-action; - description "MAC secure enforcement action"; - } - leaf enable { - type empty; - description "Enable MAC Secure"; - } - leaf threshold { - type empty; - description "MAC Secure Threshold"; - } - } - - container bd-mac-aging { - description "MAC-Aging configuration commands"; - leaf bd-mac-aging-type { - type Mac-aging; - description "MAC address aging type"; - } - leaf bd-mac-aging-time { - type Mac-aging-range; - description "Mac Aging Time"; - } - } - leaf bd-mac-withdraw-relay { - type empty; - description - "Mac withdraw sent from access PW to access - PW"; - } - leaf bd-mac-withdraw-access-pw-disable { - type empty; - description "MAC withdraw on Access PW"; - } - leaf bd-mac-port-down-flush { - type empty; - description - "Disable MAC Flush when Port goes Down"; - } - leaf bd-mac-withdraw { - type empty; - description "Disable Mac Withdraw"; - } - leaf bd-mac-withdraw-behavior { - type Mac-withdraw-behavior; - description - "MAC withdraw sent on bridge port down"; - } - leaf bd-mac-learn { - type Bdmac-learn; - description "Mac Learning Type"; - } - } - - container nv-satellite { - description "nV Satellite"; - leaf offload-ipv4-multicast-enable { - type empty; - description - "Enable IPv4 Multicast Offload to Satellite - Nodes"; - } - leaf enable { - type empty; - description "Enable nV Satellite Settings"; - } - } - - container bridge-domain-pbb { - description "Bridge Domain PBB"; - - container pbb-edges { - description "PBB Edge"; - - list pbb-edge { - key "isid core-bd-name"; - description - "Configure BD as PBB Edge with ISID and - associated PBB Core BD"; - - container pbb-edge-split-horizon-group { - description "Split Horizon Group"; - leaf disable { - type empty; - description "Disable split horizon group"; - } - } - - container pbb-static-mac-mappings { - description - "PBB Static Mac Address Mapping Table"; - - list pbb-static-mac-mapping { - key "address"; - description - "PBB Static Mac Address Mapping - Configuration"; - leaf pbb-static-mac-mapping-bmac { - type yang:mac-address; - description - "Static backbone MAC address to map - with"; - } - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - - container pbb-edge-dhcp-profile { - description "Attach a DHCP profile"; - leaf profile-id { - type Interface-profile; - description "Set the snooping profile"; - } - leaf dhcp-snooping-id { - type string; - description "Disable DHCP snooping"; - } - } - - container pbb-edge-mac { - description "MAC configuration commands"; - - container pbb-edge-mac-limit { - description - "MAC-Limit configuration commands"; - leaf pbb-edge-mac-limit-action { - type Mac-limit-action; - description - "MAC address limit enforcement action"; - } - leaf pbb-edge-mac-limit-max { - type Mac-limit-range; - description - "Number of MAC addresses after which - MAC limit action is taken"; - } - leaf pbb-edge-mac-limit-notif { - type Mac-notification; - description - "MAC address limit notification action"; - } - } - - container pbb-edge-mac-aging { - description - "MAC-Aging configuration commands"; - leaf pbb-edge-mac-aging-type { - type Mac-aging; - description "MAC address aging type"; - } - leaf pbb-edge-mac-aging-time { - type Mac-aging-range; - description "Mac Aging Time"; - } - } - - container pbb-edge-mac-secure { - description "MAC Secure"; - leaf logging { - type L2vpn-logging; - description "MAC Secure Logging"; - } - leaf disable { - type empty; - description - "Disable Virtual instance port MAC - Secure"; - } - leaf action { - type Mac-secure-action; - description - "MAC secure enforcement action"; - } - leaf enable { - type empty; - description "Enable MAC Secure"; - } - leaf accept-shutdown { - type empty; - description - "Accept Virtual instance port to be - shutdown on mac violation"; - } - } - leaf pbb-edge-mac-learning { - type Mac-learn; - description "Enable Mac Learning"; - } - } - leaf pbb-edge-igmp-profile { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a IGMP Snooping profile"; - } - leaf unknown-unicast-bmac { - type yang:mac-address; - description - "Configure Unknown Unicast BMAC address - for PBB Edge Port"; - } - leaf isid { - type Pbbisid-range; - description "ISID"; - } - leaf core-bd-name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "Core BD Name"; - } - } - } - - container pbb-core { - description "PBB Core"; - - container pbb-core-mac { - description "MAC configuration commands"; - - container pbb-core-mac-aging { - description - "MAC-Aging configuration commands"; - leaf pbb-core-mac-aging-type { - type Mac-aging; - description "MAC address aging type"; - } - leaf pbb-core-mac-aging-time { - type Mac-aging-range; - description "Mac Aging Time"; - } - } - - container pbb-core-mac-limit { - description - "MAC-Limit configuration commands"; - leaf pbb-core-mac-limit-max { - type Mac-limit-range; - description - "Number of MAC addresses after which MAC - limit action is taken"; - } - leaf pbb-core-mac-limit-notif { - type Mac-notification; - description - "MAC address limit notification action"; - } - leaf pbb-core-mac-limit-action { - type Mac-limit-action; - description - "MAC address limit enforcement action"; - } - } - leaf pbb-core-mac-learning { - type Mac-learn; - description "Enable Mac Learning"; - } - } - - container pbb-core-evis { - description "PBB Core EVI Table"; - - list pbb-core-evi { - key "eviid"; - description "PBB Core EVI"; - leaf eviid { - type Vpnid-range; - description "Ethernet VPN ID"; - } - } - } - - container pbb-core-dhcp-profile { - description "Attach a DHCP profile"; - leaf profile-id { - type Interface-profile; - description "Set the snooping profile"; - } - leaf dhcp-snooping-id { - type string; - description "Disable DHCP snooping"; - } - } - leaf pbb-core-mmrp-flood-optimization { - type empty; - description - "Enabling MMRP PBB-VPLS Flood Optimization"; - } - leaf vlan-id { - type Pbbvid-range; - description "VLAN ID to push"; - } - leaf pbb-core-igmp-profile { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a IGMP Snooping profile"; - } - leaf enable { - type empty; - description - "Enable Bridge Domain PBB Core - Configuration"; - } - } - } - - container bridge-domain-evis { - description "Bridge Domain EVI Table"; - - list bridge-domain-evi { - key "eviid"; - description "Bridge Domain EVI"; - leaf eviid { - type Vpnid-range; - description "Ethernet VPN ID"; - } - } - } - - container access-vfis { - description - "Specify the access virtual forwarding - interface name"; - - list access-vfi { - key "name"; - description - "Name of the Acess Virtual Forwarding - Interface"; - - container access-vfi-pseudowires { - description "List of pseudowires"; - - list access-vfi-pseudowire { - key "neighbor pseudowire-id"; - description "Pseudowire configuration"; - - container "access-vfi-pseudowire-static-mac"+ - "-addresses" { - description "Static Mac Address Table"; - - list "access-vfi-pseudowire-static-mac"+ - "-address" { - key "address"; - description - "Static Mac Address Configuration"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - leaf access-vfi-pw-class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Pseudowire class template name to use - for this pseudowire"; - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - } - } - leaf access-vfi-shutdown { - type empty; - description "shutdown the AccessVfi"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Name of the AccessVirtual Forwarding - Interface"; - } - } - } - - container bd-pseudowires { - description "List of pseudowires"; - - list bd-pseudowire { - key "neighbor pseudowire-id"; - description "Pseudowire configuration"; - - container pseudowire-dai { - description - "Access Pseudowire Dynamic ARP Inspection"; - - container pseudowire-dai-address-validation { - description "Address Validation"; - leaf ipv4-verification { - type L2vpn-verification; - description "IPv4 Verification"; - } - leaf destination-mac-verification { - type L2vpn-verification; - description "Destination MAC Verification"; - } - leaf source-mac-verification { - type L2vpn-verification; - description "Source MAC Verification"; - } - } - leaf logging { - type L2vpn-logging; - description "Logging Type"; - } - leaf disable { - type empty; - description "Disable Dynamic ARP Inspection"; - } - leaf enable { - type empty; - description - "Enable Access Pseudowire Dynamic ARP - Inspection"; - } - } - - container bdpw-storm-control-types { - description "Storm Control"; - - list bdpw-storm-control-type { - key "sctype"; - description "Storm Control Type"; - leaf sctype { - type Storm-control; - description "Storm Control Type"; - } - uses STORM-CONTROL-UNIT; - must "storm-control-unit"; - } - } - - container pseudowire-profile { - description "Attach a DHCP profile"; - leaf profile-id { - type Interface-profile; - description "Set the snooping profile"; - } - leaf dhcp-snooping-id { - type string; - description "Disable DHCP snooping"; - } - } - - container bd-pw-static-mac-addresses { - description "Static Mac Address Table"; - - list bd-pw-static-mac-address { - key "address"; - description - "Static Mac Address Configuration"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - - container pseudowire-ip-source-guard { - description "IP Source Guard"; - leaf logging { - type L2vpn-logging; - description "Logging Type"; - } - leaf disable { - type empty; - description "Disable Dynamic IP source guard"; - } - leaf enable { - type empty; - description "Enable IP Source Guard"; - } - } - - container pseudowire-mac { - description - "Bridge-domain Pseudowire MAC - configuration commands"; - - container pseudowire-mac-secure { - description "MAC Secure"; - leaf logging { - type L2vpn-logging; - description "MAC Secure Logging"; - } - leaf disable { - type empty; - description - "Disable L2 Pseudowire MAC Secure"; - } - leaf action { - type Mac-secure-action; - description "MAC secure enforcement action"; - } - leaf enable { - type empty; - description "Enable MAC Secure"; - } - } - - container pseudowire-mac-aging { - description - "MAC-Aging configuration commands"; - leaf pseudowire-mac-aging-type { - type Mac-aging; - description "MAC address aging type"; - } - leaf pseudowire-mac-aging-time { - type Mac-aging-range; - description "MAC Aging Time"; - } - } - - container pseudowire-mac-limit { - description - "MAC-Limit configuration commands"; - leaf pseudowire-mac-limit-action { - type Mac-limit-action; - description - "Bridge Access Pseudowire MAC address - limit enforcement action"; - } - leaf pseudowire-mac-limit-notif { - type Mac-notification; - description - "MAC address limit notification action - in a Bridge Access Pseudowire"; - } - leaf pseudowire-mac-limit-max { - type Mac-limit-range; - description - "Number of MAC addresses on a Bridge - Access Pseudowire after which MAC limit - action is taken"; - } - } - leaf pseudowire-mac-port-down-flush { - type Port-down-flush; - description - "Enable/Disable MAC Flush When Port goes - down"; - } - leaf enable { - type empty; - description - "Bridge-domain Pseudowire MAC - configuration mode"; - } - leaf pseudowire-mac-learning { - type Mac-learn; - description "Enable MAC Learning"; - } - } - - container bd-pw-split-horizon { - description "Split Horizon"; - - container bd-pw-split-horizon-group { - description "Split Horizon Group"; - leaf enable { - type empty; - description "Enable split horizon group"; - } - } - } - - container bd-pw-mpls-static-labels { - description "MPLS static labels"; - leaf local-static-label { - type Pseudowire-label-range; - description "Pseudowire local static label"; - } - leaf remote-static-label { - type Pseudowire-label-range; - description "Pseudowire remote static label"; - } - } - - container bridge-domain-backup-pseudowires { - description "List of pseudowires"; - - list bridge-domain-backup-pseudowire { - key "neighbor pseudowire-id"; - description "Backup pseudowire configuration"; - leaf bridge-domain-backup-pw-class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "PW class template name to use for this - pseudowire"; - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - } - } - leaf pseudowire-mld-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a MLD Snooping profile"; - } - leaf pseudowire-igmp-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a IGMP Snooping profile"; - } - leaf pseudowire-flooding { - type Interface-traffic-flood; - description "Bridge-domain Pseudowire flooding"; - } - leaf bd-pw-class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "PW class template name to use for this - pseudowire"; - } - leaf pseudowire-flooding-unknown-unicast { - type Interface-traffic-flood; - description - "Bridge-domain Pseudowire flooding Unknown - Unicast"; - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - } - } - - container vfis { - description - "Specify the virtual forwarding interface - name"; - - list vfi { - key "name"; - description - "Name of the Virtual Forwarding Interface"; - - container multicast-p2mp { - description "Enable Multicast P2MP in this VFI"; - - container transports { - description "Multicast P2MP Transport"; - - list transport { - key "transport-name"; - description "Multicast P2MP Transport Type"; - leaf attribute-set-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Multicast P2MP TE Attribute Set Name"; - } - leaf transport-name { - type Multicast-p2mp-transport; - description "Transport Type"; - } - } - } - - container signalings { - description "Multicast P2MP Signaling Type"; - - list signaling { - key "signaling-name"; - description "Multicast P2MP Signaling Type"; - leaf signaling-name { - type Multicast-p2mp-signaling; - description "Signaling Type"; - } - } - } - leaf enable { - type empty; - description "Enable Autodiscovery P2MP"; - } - } - - container vfi-pseudowires { - description "List of pseudowires"; - - list vfi-pseudowire { - key "neighbor pseudowire-id"; - description "Pseudowire configuration"; - - container vfi-pw-dhcp-snoop { - description - "Attach a DHCP Snooping profile"; - leaf profile-id { - type Interface-profile; - description "Set the snooping profile"; - } - leaf dhcp-snooping-id { - type string; - description "Disable DHCP snooping"; - } - } - - container vfi-pw-mpls-static-labels { - description "MPLS static labels"; - leaf local-static-label { - type Pseudowire-label-range; - description - "Pseudowire local static label"; - } - leaf remote-static-label { - type Pseudowire-label-range; - description - "Pseudowire remote static label"; - } - } - - container pseudowire-static-mac-addresses { - description "Static Mac Address Table"; - - list pseudowire-static-mac-address { - key "address"; - description - "Static Mac Address Configuration"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - leaf vfi-pw-class { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "PW class template name to use for this - pseudowire"; - } - leaf vfi-pw-igmp-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Attach a IGMP Snooping profile"; - } - leaf vfi-pw-mld-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a MLD Snooping profile"; - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - } - } - - container bgp-auto-discovery { - description - "Enable Autodiscovery BGP in this VFI"; - - container ldp-signaling-protocol { - description - "Signaling Protocol LDP in this VFI - configuration"; - - container vpls-id { - description "VPLS ID"; - leaf type { - type Ldp-vpls-id; - description "VPLS-ID Type"; - } - leaf as { - when "../type = 'two-byte-as'" { - description "../Type = TwoByteAS"; - } - type Vpls-id-as-range; - description "Two byte AS number"; - } - leaf as-index { - when "../type = 'two-byte-as'" { - description "../Type = TwoByteAS"; - } - type Vpls-id-as-index; - description "AS index"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf address-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type Vpls-id-addr-index; - description "Address index"; - } - } - - container flow-label-load-balance { - description - "Enable Flow Label based load balancing"; - leaf flow-label { - type Flow-label-load-balance; - description - "Flow Label load balance type"; - } - leaf static { - type empty; - description "Static Flow Label"; - } - } - leaf enable { - type empty; - description - "Enable LDP as Signaling Protocol - .Deletion of this object also causes - deletion of all objects under - LDPSignalingProtocol."; - } - } - - container bgp-route-policy { - description "Route policy"; - leaf export { - type string; - description "Export route policy"; - } - } - - container route-distinguisher { - description "Route Distinguisher"; - leaf type { - type Bgp-route-distinguisher; - description "Router Distinguisher Type"; - } - leaf as { - when "../type = 'two-byte-as' or ../type"+ - " = 'four-byte-as'" { - description - "../Type = TwoByteAS or ../Type = - FourByteAS"; - } - type Rdas-range; - description "Two byte or 4 byte AS number"; - } - leaf as-index { - when "../type = 'two-byte-as' or ../type"+ - " = 'four-byte-as'" { - description - "../Type = TwoByteAS or ../Type = - FourByteAS"; - } - type Rdas-index; - description "AS:nn (hex or decimal format)"; - } - leaf address { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - when "../type = 'ipv4-address'" { - description "../Type = IPV4Address"; - } - type Rd-addr-index; - description "Addr index"; - } - } - - container bgp-signaling-protocol { - description - "Enable Signaling Protocol BGP in this - VFI"; - - container flow-label-load-balance { - description - "Enable Flow Label based load balancing"; - leaf flow-label { - type Flow-label-load-balance; - description - "Flow Label load balance type"; - } - leaf static { - type empty; - description "Static Flow Label"; - } - } - leaf ve-range { - type Vedge-range; - description - "Local Virtual Edge Block Configurable - Range"; - } - leaf veid { - type Veid-range; - description "Local Virtual Edge Identifier"; - } - leaf enable { - type empty; - description - "Enable BGP as Signaling Protocol"; - } - } - - container route-targets { - description "Route Target"; - - list route-target { - must "two-byte-as-or-four-byte-as or"+ - " ipv4-address" { - description - "TwoByteAS-or-FourbyteAS or IPV4Address - must be present."; - } - key "role format"; - description "Name of the Route Target"; - leaf role { - type Bgp-route-target-role; - description - "Role of the router target type"; - } - leaf format { - type Bgp-route-target-format; - description "Format of the route target"; - } - - list two-byte-as-or-four-byte-as { - when "../format = 'two-byte-as' or"+ - " ../format = 'four-byte-as'" { - description - "../Format = TwoByteAS or ../Format = - FourbyteAS"; - } - key "as as-index"; - description "two byte as or four byte as"; - leaf as { - type Rdas-range; - description - "Two byte or 4 byte AS number"; - } - leaf as-index { - type Rdas-index; - description - "AS:nn (hex or decimal format)"; - } - } - - list ipv4-address { - when "../format = 'ipv4-address'" { - description "../Format = IPV4Address"; - } - key "address addr-index"; - description "ipv4 address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IPV4 address"; - } - leaf addr-index { - type Rd-addr-index; - description "Addr index"; - } - } - } - } - leaf table-policy { - type string; - description - "Table Policy for installation of - forwarding data to L2FIB"; - } - leaf ad-control-word { - type empty; - description - "Enable control-word for this VFI"; - } - leaf enable { - type empty; - description "Enable Autodiscovery BGP"; - } - } - leaf vfi-shutdown { - type empty; - description "Enabling Shutdown"; - } - leaf vpnid { - type Vpnid-range; - description "VPN Identifier"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Name of the Virtual Forwarding Interface"; - } - } - } - - container bd-attachment-circuits { - description "Attachment Circuit table"; - - list bd-attachment-circuit { - key "name"; - description "Name of the Attachment Circuit"; - - container interface-ip-source-guard { - description "IP Source Guard"; - leaf logging { - type L2vpn-logging; - description "Logging Type"; - } - leaf disable { - type empty; - description - "Disable L2 Interface Dynamic IP source - guard"; - } - leaf enable { - type empty; - description "Enable IP Source Guard"; - } - } - - container interface-dai { - description - "L2 Interface Dynamic ARP Inspection"; - - container interface-dai-address-validation { - description "Address Validation"; - leaf ipv4-verification { - type L2vpn-verification; - description "IPv4 Verification"; - } - leaf destination-mac-verification { - type L2vpn-verification; - description "Destination MAC Verification"; - } - leaf source-mac-verification { - type L2vpn-verification; - description "Source MAC Verification"; - } - leaf enable { - type empty; - description "Enable Address Validation"; - } - } - leaf logging { - type L2vpn-logging; - description "Logging Type"; - } - leaf disable { - type empty; - description - "Disable L2 Interface Dynamic ARP - Inspection"; - } - leaf enable { - type empty; - description - "Enable L2 Interface Dynamic ARP - Inspection"; - } - } - - container interface-profile { - description "Attach a DHCP profile"; - leaf profile-id { - type Interface-profile; - description "Set the snooping profile"; - } - leaf dhcp-snooping-id { - type string; - description "Disable DHCP snooping"; - } - } - - container bdac-storm-control-types { - description "Storm Control"; - - list bdac-storm-control-type { - key "sctype"; - description "Storm Control Type"; - leaf sctype { - type Storm-control; - description "Storm Control Type"; - } - uses STORM-CONTROL-UNIT; - must "storm-control-unit"; - } - } - - container split-horizon { - description "Split Horizon"; - - container split-horizon-group-id { - description "Split Horizon Group ID"; - leaf enable { - type empty; - description "Enable split horizon group"; - } - } - } - - container static-mac-addresses { - description "Static Mac Address Table"; - - list static-mac-address { - key "address"; - description - "Static Mac Address Configuration"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - } - } - - container interface-mac { - description "MAC configuration commands"; - - container interface-mac-aging { - description - "MAC-Aging configuration commands"; - leaf interface-mac-aging-time { - type Mac-aging-range; - description "Mac Aging Time"; - } - leaf interface-mac-aging-type { - type Mac-aging; - description "MAC address aging type"; - } - } - - container interface-mac-secure { - description "MAC Secure"; - leaf logging { - type L2vpn-logging; - description "MAC Secure Logging"; - } - leaf disable { - type empty; - description - "Disable L2 Interface MAC Secure"; - } - leaf action { - type Mac-secure-action; - description "MAC secure enforcement action"; - } - leaf enable { - type empty; - description "Enable MAC Secure"; - } - } - - container interface-mac-limit { - description - "MAC-Limit configuration commands"; - leaf interface-mac-limit-max { - type Mac-limit-range; - description - "Number of MAC addresses on an Interface - after which MAC limit action is taken"; - } - leaf interface-mac-limit-notif { - type Mac-notification; - description - "MAC address limit notification action - in a Interface"; - } - leaf interface-mac-limit-action { - type Mac-limit-action; - description - "Interface MAC address limit enforcement - action"; - } - } - leaf interface-mac-port-down-flush { - type Port-down-flush; - description - "Enable/Disable MAC Flush When Port goes - down"; - } - leaf interface-mac-learning { - type Mac-learn; - description "Enable Mac Learning"; - } - } - leaf interface-flooding { - type Interface-traffic-flood; - description "Enable or Disable Flooding"; - } - leaf interface-igmp-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a IGMP Snooping profile"; - } - leaf interface-flooding-unknown-unicast { - type Interface-traffic-flood; - description - "Enable or Disable Unknown Unicast - Flooding"; - } - leaf interface-mld-snoop { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach a MLD Snooping profile"; - } - leaf name { - type xr:Interface-name; - description - "The name of the Attachment Circuit"; - } - } - } - - container bd-pseudowire-evpns { - description "List of EVPN pseudowires"; - - list bd-pseudowire-evpn { - key "eviid acid"; - description "EVPN Pseudowire configuration"; - leaf eviid { - type Evpnvpnid-range; - description "Ethernet VPN ID"; - } - leaf acid { - type Pseudowire-acid-range; - description "AC ID"; - } - } - } - - container ip-source-guard { - description "IP Source Guard"; - leaf logging { - type empty; - description "Enable Logging"; - } - leaf enable { - type empty; - description "Enable IP Source Guard"; - } - } - - container dai { - description "Dynamic ARP Inspection"; - - container dai-address-validation { - description "Address Validation"; - leaf ipv4-verification { - type empty; - description "Enable IPv4 Verification"; - } - leaf destination-mac-verification { - type empty; - description - "Enable Destination MAC Verification"; - } - leaf source-mac-verification { - type empty; - description "Enable Source MAC Verification"; - } - leaf enable { - type empty; - description "Enable Address Validation"; - } - } - leaf logging { - type empty; - description "Enable Logging"; - } - leaf enable { - type empty; - description "Enable Dynamic ARP Inspection"; - } - } - - container routed-interfaces { - description "Bridge Domain Routed Interface Table"; - - list routed-interface { - key "interface-name"; - description "Bridge Domain Routed Interface"; - - container routed-interface-split-horizon-group { - description - "Routed interface split horizon group"; - leaf routed-interface-split-horizon-group-core { - type empty; - description "Configure BVI under SHG 1"; - } - } - leaf interface-name { - type xr:Interface-name; - description "The name of the Routed Interface"; - } - } - } - leaf coupled-mode { - type empty; - description "Coupled-mode configuration"; - } - leaf shutdown { - type empty; - description "shutdown the Bridge Domain"; - } - leaf flooding-unknown-unicast { - type empty; - description "Disable Unknown Unicast flooding"; - } - leaf igmp-snooping-disable { - type empty; - description "Disable IGMP Snooping"; - } - leaf transport-mode { - type Bridge-domain-transport-mode; - description "Bridge Domain Transport mode"; - } - leaf mld-snooping { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach MLD Snooping Profile Name"; - } - leaf bridge-domain-mtu { - type Bridge-bd-mtu-range; - units "byte"; - description - "Maximum transmission unit for this Bridge - Domain"; - } - leaf dhcp { - type string { - length "1..32"; - } - description "DHCPv4 Snooping profile name"; - } - leaf bridge-description { - type string { - length "1..64"; - } - description "Bridge-domain description Name"; - } - leaf igmp-snooping { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Attach IGMP Snooping Profile Name"; - } - leaf flooding { - type empty; - description "Disable flooding"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "Name of the bridge domain"; - } - } - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the Bridge group"; - } - } - } - - container pseudowire-classes { - description "List of pseudowire classes"; - - list pseudowire-class { - key "name"; - description "Pseudowire class"; - - container l2tpv3-encapsulation { - description "L2TPv3 encapsulation"; - - container sequencing { - description "Sequencing"; - leaf sequencing { - type L2tpv3-sequencing; - default "off"; - description "Sequencing"; - } - leaf resync-threshold { - type Resync-threshold-range; - default "5"; - description "Out of sequence threshold"; - } - } - - container type-of-service { - description "Type of service"; - leaf type-of-service-value { - type Type-of-service-range; - description "Type of service value"; - } - leaf type-of-service-mode { - type Type-of-service-mode; - description "Type of service mode"; - } - } - - container signaling-protocol { - description "L2TPv3 signaling protocol"; - leaf protocol { - type L2tp-signaling-protocol; - default "l2tpv3"; - description "L2TPv3 signaling protocol"; - } - leaf l2tpv3-class-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the L2TPv3 class name"; - } - } - - container path-mtu { - description "Path maximum transmission unit"; - leaf enable { - type empty; - description "Enable path MTU"; - } - leaf max-path-mtu { - type Max-path-mtu-range; - description - "Maximum path maximum transmission unit"; - } - } - leaf df-bit-set { - type empty; - description "Set the do not fragment bit to 1"; - } - leaf cookie-size { - type L2tp-cookie-size; - default "zero"; - description "Cookie size"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source IP address"; - } - leaf transport-mode { - type Transport-mode; - description "Transport mode"; - } - leaf enable { - type empty; - description "Enable L2TPv3 encapsulation"; - } - leaf time-to-live { - type Time-to-live-range; - description "Time to live"; - } - } - - container backup-disable-delay { - description "Back Up Pseudowire class"; - leaf type { - type Backup-disable; - description "Delay or Never"; - } - leaf disable-backup { - when "../type = 'delay'" { - description "../Type = Delay"; - } - type Backup-disable-delay-range; - description "Disable backup delay"; - } - } - - container mpls-encapsulation { - description "MPLS encapsulation"; - - container sequencing { - description "Sequencing"; - leaf sequencing { - type Mpls-sequencing; - default "off"; - description "Sequencing"; - } - leaf resync-threshold { - type Resync-threshold-range; - default "5"; - description "Out of sequence threshold"; - } - } - - container mpls-redundancy { - description - "Redundancy options for MPLS encapsulation"; - leaf redundancy-one-way { - type empty; - description - "Force one-way PW redundancy behavior in - Redundancy Group"; - } - leaf redundancy-initial-delay { - type Pw-redundancy-initial-delay-range; - units "second"; - description - "Initial delay before activating the - redundant PW, in seconds"; - } - } - - container preferred-path { - description "Preferred path"; - leaf type { - type Preferred-path; - description "Preferred Path Type"; - } - leaf interface-tunnel-number { - when "../type = 'te-tunnel' or ../type ="+ - " 'ip-tunnel' or ../type = 'tp-tunnel'" { - description - "../Type = TE-Tunnel or ../Type = - IP-Tunnel or ../Type = TP-Tunnel"; - } - type uint32 { - range "0..65535"; - } - description - "Interface Tunnel number for preferred path"; - } - leaf fallback-disable { - when "../type = 'te-tunnel' or ../type ="+ - " 'ip-tunnel' or ../type = 'tp-tunnel' or"+ - " ../type = 'sr-te-policy'" { - description - "../Type = TE-Tunnel or ../Type = - IP-Tunnel or ../Type = TP-Tunnel or . - ./Type = SR-TE-Policy"; - } - type empty; - description "Fallback disable"; - } - leaf srte-policy { - when "../type = 'sr-te-policy'" { - description "../Type = SR-TE-Policy"; - } - type string { - length "1..60"; - } - description "Name of the SR TE Policy"; - } - } - - container load-balance-group { - description "Load Balancing"; - - container flow-label-load-balance { - description - "Enable Flow Label based load balancing"; - leaf flow-label { - type Flow-label-load-balance; - description "Flow Label load balance type"; - } - leaf static { - type empty; - description "Static Flow Label"; - } - } - leaf flow-label-load-balance-code { - type Flow-label-tlv-code; - description "Enable Legacy Flow Label TLV code"; - } - leaf pw-label-load-balance { - type Load-balance; - description "Enable PW Label based Load Balancing"; - } - } - leaf pw-switching-tlv { - type Pw-switching-point-tlv; - description "Pseudowire Switching Point Tlv"; - } - leaf static-tag-rewrite { - type Tag-rewrite-range; - description "Static Tag rewrite"; - } - leaf signaling-protocol { - type Mpls-signaling-protocol; - default "ldp"; - description "MPLS signaling protocol"; - } - leaf vccv-type { - type Vccv-verification; - default "lsp-ping"; - description "VCCV verification type"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source IP address"; - } - leaf transport-mode { - type Transport-mode; - description "Transport mode"; - } - leaf enable { - type empty; - description "Enable MPLS encapsulation"; - } - leaf control-word { - type Control-word; - description "Enable control word"; - } - } - leaf mac-withdraw { - type empty; - description "Enable backup MAC withdraw"; - } - leaf enable { - type empty; - description "Enable pseudowire class"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the pseudowire class"; - } - } - } - - container flexible-xconnect-service-table { - description "List of Flexible XConnect Services"; - - container vlan-unaware-flexible-xconnect-services { - description - "List of Vlan-Unaware Flexible XConnect - Services"; - - list vlan-unaware-flexible-xconnect-service { - key "name"; - description "Flexible XConnect Service"; - - container vlan-unaware-fxc-attachment-circuits { - description "List of attachment circuits"; - - list vlan-unaware-fxc-attachment-circuit { - key "name"; - description "Attachment circuit interface"; - leaf name { - type xr:Interface-name; - description - "Name of the attachment circuit interface"; - } - } - } - - container vlan-unaware-fxc-pseudowire-evpns { - description "List of EVPN Services"; - - list vlan-unaware-fxc-pseudowire-evpn { - key "eviid acid"; - description "EVPN FXC Service Configuration"; - leaf eviid { - type Evpnvpnid-range; - description "Ethernet VPN ID"; - } - leaf acid { - type Pseudowire-acid-range; - description "AC ID"; - } - } - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..23"; - } - description "Name of the Flexible XConnect Service"; - } - } - } - - container vlan-aware-flexible-xconnect-services { - description - "List of Vlan-Aware Flexible XConnect Services"; - - list vlan-aware-flexible-xconnect-service { - key "eviid"; - description "Flexible XConnect Service"; - - container vlan-aware-fxc-attachment-circuits { - description "List of attachment circuits"; - - list vlan-aware-fxc-attachment-circuit { - key "name"; - description "Attachment circuit interface"; - leaf name { - type xr:Interface-name; - description - "Name of the attachment circuit interface"; - } - } - } - leaf eviid { - type Evpnvpnid-range; - description "Ethernet VPN ID"; - } - } - } - } - - container redundancy { - description "Redundancy groups"; - - container iccp-redundancy-groups { - description - "List of Inter-Chassis Communication Protocol - redundancy groups"; - - list iccp-redundancy-group { - key "group-id"; - description "ICCP Redundancy group"; - - container iccp-interfaces { - description "List of interfaces"; - - list iccp-interface { - key "interface-name"; - description "Interface name"; - leaf secondary-vlan-range { - type string; - description - "Secondary VLAN range, in the form of 1-3,5 - ,8-11"; - } - leaf recovery-delay { - type uint32 { - range "30..3600"; - } - default "180"; - description "Failure clear recovery delay"; - } - leaf primary-vlan-range { - type string; - description - "Primary VLAN range, in the form of 1-3,5 - ,8-11"; - } - leaf mac-flush-tcn { - type empty; - description "Enable STP-TCN MAC flushing"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - leaf multi-homing-node-id { - type uint32 { - range "0..254"; - } - description "ICCP-based service multi-homing node ID"; - } - leaf group-id { - type uint32 { - range "1..4294967295"; - } - description "Group ID"; - } - } - } - leaf enable { - type empty; - description "Enable redundancy groups"; - } - } - } - - container pbb { - description "L2VPN PBB Global"; - leaf backbone-source-mac { - type yang:mac-address; - description "Backbone Source MAC"; - } - } - - container auto-discovery { - description "Global auto-discovery attributes"; - - container bgp-signaling { - description "Global bgp signaling attributes"; - leaf mtu-mismatch-ignore { - type empty; - description - "Ignore MTU mismatch for auto-discovered - pseudowires"; - } - } - } - - container utility { - description "L2VPN utilities"; - - container logging { - description "L2VPN logging utility"; - leaf bridge-domain-state-change { - type empty; - description "Enable Bridge Domain state change logging"; - } - leaf pseudowire-state-change { - type empty; - description "Enable pseudowire state change logging"; - } - leaf vfi { - type empty; - description "Enable VFI state change logging"; - } - leaf nsr-state-change { - type empty; - description - "Enable Non Stop Routing state change logging"; - } - leaf pwhe-replication-state-change { - type empty; - description - "Enable PW-HE Replication state change logging"; - } - } - } - - container snmp { - description "SNMP related configuration"; - - container mib { - description "MIB related configuration"; - - container mib-interface { - description "Interface related configuration for MIB"; - - container format { - description "MIB interface name output format"; - leaf external-interface-format { - type empty; - description - "Set MIB interface name output in slash - format (/)"; - } - } - } - - container mib-pseudowire { - description "Pseudowire related configuration for MIB"; - leaf statistics { - type empty; - description - "Enable pseudowire statistics in MIB output"; - } - } - } - } - leaf nsr { - type empty; - description "Enable Non-Stop Routing"; - } - leaf mtu-mismatch-ignore { - type empty; - description "Ignore MTU Mismatch for XCs"; - } - leaf tcn-propagation { - type empty; - description "Topology change notification propagation"; - } - leaf pwoam-refresh { - type uint32 { - range "1..4095"; - } - units "second"; - description "Configure PW OAM refresh interval"; - } - leaf load-balance { - type Load-balance; - description "Enable flow load balancing on l2vpn bridges"; - } - leaf mspw-description { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "MS-PW global description"; - } - leaf mac-limit-threshold { - type Mac-limit-threshold-range; - units "percentage"; - description "Configure MAC limit threshold percent"; - } - leaf pw-status-disable { - type empty; - description "Disable PW status"; - } - leaf enable { - type empty; - description "Enable L2VPN feature"; - } - leaf pw-grouping { - type empty; - description "Enable PW grouping"; - } - leaf capability { - type L2vpn-capability-mode; - description "L2VPN Capability Mode"; - } - leaf l2vpn-router-id { - type inet:ipv4-address-no-zone; - description "Global L2VPN Router ID"; - } - } - - container generic-interface-lists { - description "generic interface lists"; - - list generic-interface { - key "generic-interface-list-name"; - description "Bridge group"; - - container interfaces { - description "Interface table"; - - list interface { - key "interface-name"; - description "Interface"; - leaf enable { - type empty; - description "Enable interface"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - } - } - leaf enable { - type empty; - description "Enable interface list"; - } - leaf generic-interface-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the interface list"; - } - } - } - - container evpn { - description "evpn"; - - container evpn-tables { - description "EVPN submodes"; - - container evpn-timers { - description "Enter EVPN timers configuration submode"; - leaf evpn-recovery { - type uint32 { - range "20..3600"; - } - default "30"; - description "Global Recovery timer"; - } - leaf enable { - type empty; - description "Enable EVPN timers"; - } - leaf evpn-peering { - type uint32 { - range "0..300"; - } - default "3"; - description "Global Peering timer"; - } - } - - container evpnmac { - description "EVPN MAC Configuration"; - - container evpnmac-secure { - description "EVPN MAC Secure Configuration"; - leaf evpnmac-secure-freeze-time { - type Freeze-time-range; - description - "Length of time to lock the MAC after a MAC - security violation"; - } - leaf enable { - type empty; - description "Enable EVPN MAC Secure Configuration"; - } - leaf evpnmac-secure-retry-count { - type Retry-count-range; - description - "Number of times to unfreeze a MAC before - permanently freezing it"; - } - leaf evpnmac-secure-move-count { - type Move-count-range; - description - "Number of moves to occur within the move - interval before locking the MAC"; - } - leaf evpnmac-secure-move-interval { - type Move-interval-range; - description - "Interval to watch for subsequent MAC moves - before locking the MAC"; - } - } - leaf enable { - type empty; - description "Enable EVPN MAC Configuration"; - } - } - - container evpnevis { - description "Enter EVPN Instance configuration submode"; - - list evpnevi { - key "eviid"; - description "Enter EVPN Instance configuration submode"; - - container evi-load-balancing { - description "Enter Loadbalancing configuration submode"; - leaf enable { - type empty; - description "Enable Loadbalancing"; - } - uses EVI-FLOW-LABEL; - } - - container evpnev-ibgp-auto-discovery { - description "Enable Autodiscovery BGP in EVPN Instance"; - leaf enable { - type empty; - description "Enable Autodiscovery BGP"; - } - uses TABLE-POLICY; - uses EVPN-ROUTE-DISTINGUISHER; - uses EVPN-ROUTE-TARGET-TABLE; - } - - container evi-advertise-mac { - description - "Enter Advertise local MAC-only routes - configuration submode"; - leaf enable { - type empty; - description "Enable Advertise local MAC-only routes"; - } - uses EVI-ADVERTISE-MAC-BVI; - } - leaf eviid { - type Evpnvpnid-range; - description "EVI ID"; - } - uses EVI-REORIG-DISABLE; - uses EVI-ADVERTISE-MAC-DEPRECATED; - uses EVPNEVI-DESCRIPTION; - uses EVI-UNKNOWN-UNICAST-FLOODING-DISABLE; - uses EVPN-EVI-CW-DISABLE; - } - } - - container evpn-virtual-access-vfis { - description "Virtual Access VFI interfaces"; - - list evpn-virtual-access-vfi { - key "name"; - description "Virtual Access VFI"; - - container evpn-virtual-access-vfi-timers { - description - "Enter Virtual Forwarding Interface timers - configuration submode"; - leaf evpn-virtual-access-vfi-recovery { - type uint32 { - range "20..3600"; - } - default "30"; - description - "Virtual Forwarding Interface-specific - Recovery timer"; - } - leaf evpn-virtual-access-vfi-peering { - type uint32 { - range "0..300"; - } - default "3"; - description - "Virtual Forwarding Interface-specific - Peering timer"; - } - leaf enable { - type empty; - description - "Enable Virtual Forwarding Interface timers"; - } - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the Virtual Access VFI"; - } - uses EVPN-VIRTUAL-ETHERNET-SEGMENT; - } - } - - container evpn-load-balancing { - description - "Enter EVPN Loadbalancing configuration submode"; - leaf evpn-flow-label { - type empty; - description "Enable Flow Label based load balancing"; - } - leaf enable { - type empty; - description "Enable EVPN Loadbalancing"; - } - } - - container evpn-bgp-auto-discovery { - description "Enable Autodiscovery BGP in EVPN"; - leaf enable { - type empty; - description "Enable Autodiscovery BGP"; - } - uses EVPN-ROUTE-DISTINGUISHER; - } - - container evpn-instances { - description "Enter EVPN Instance configuration submode"; - - list evpn-instance { - key "eviid encapsulation side"; - description "Enter EVPN Instance configuration submode"; - - container evpn-instance-bgp-auto-discovery { - description "Enable Autodiscovery BGP in EVPN Instance"; - leaf enable { - type empty; - description "Enable Autodiscovery BGP"; - } - uses TABLE-POLICY; - uses EVPN-ROUTE-DISTINGUISHER; - uses EVPN-ROUTE-TARGET-TABLE; - } - - container evpn-instance-advertise-mac { - description - "Enter Advertise local MAC-only routes - configuration submode"; - leaf enable { - type empty; - description "Enable Advertise local MAC-only routes"; - } - uses EVI-ADVERTISE-MAC-BVI; - } - - container evpn-instance-load-balancing { - description "Enter Loadbalancing configuration submode"; - leaf enable { - type empty; - description "Enable Loadbalancing"; - } - uses EVI-FLOW-LABEL; - } - leaf eviid { - type Evpnvpnid-range; - description "EVPN Instance ID"; - } - leaf encapsulation { - type Evpn-encapsulation; - description "EVPN Instance Encapsulation"; - } - leaf side { - type Evpn-side; - description "EVPN Instance Side"; - } - uses EVI-REORIG-DISABLE; - uses EVI-ADVERTISE-MAC-DEPRECATED; - uses EVPNEVI-DESCRIPTION; - uses EVI-UNKNOWN-UNICAST-FLOODING-DISABLE; - uses EVPN-EVI-CW-DISABLE; - } - } - - container evpn-logging { - description "Enter EVPN Logging configuration submode"; - leaf evpn-df-election { - type empty; - description - "Enable Designated Forwarder election logging"; - } - leaf enable { - type empty; - description "Enable EVPN Logging"; - } - } - - container evpn-interfaces { - description "Attachment Circuit interfaces"; - - list evpn-interface { - key "interface-name"; - description "Attachment circuit interface"; - - container evpnac-timers { - description - "Enter Interface-specific timers configuration - submode"; - leaf evpnac-peering { - type uint32 { - range "0..300"; - } - default "3"; - description "Interface-specific Peering timer"; - } - leaf enable { - type empty; - description "Enable Interface-specific timers"; - } - leaf evpnac-recovery { - type uint32 { - range "20..3600"; - } - default "30"; - description "Interface-specific Recovery timer"; - } - } - - container ethernet-segment { - description - "Enter Ethernet Segment configuration submode"; - leaf force-single-homed { - type empty; - description - "Force ethernet segment to remain - single-homed"; - } - leaf load-balancing-single-active { - type empty; - description - "Enable single-active load balancing mode"; - } - leaf enable { - type empty; - description "Enable Ethernet Segment"; - } - leaf backbone-source-mac { - type yang:mac-address; - description "Backbone Source MAC"; - } - uses ES-IMPORT-ROUTE-TARGET; - uses IDENTIFIER; - uses MANUAL-SERVICE-CARVING; - } - leaf mac-flush { - type empty; - description "Enable MVRP MAC Flush mode"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of the attachment circuit interface"; - } - } - } - - container evpn-virtual-access-pws { - description "Virtual Access Pseudowire interfaces"; - - list evpn-virtual-access-pw { - key "neighbor pseudowire-id"; - description "Virtual Access Pseudowire"; - - container evpn-virtual-access-pw-timers { - description - "Enter Virtual Access Pseudowire-specific - timers configuration submode"; - leaf evpn-virtual-access-pw-recovery { - type uint32 { - range "20..3600"; - } - default "30"; - description - "Virtual Access Pseudowire-specific Recovery - timer"; - } - leaf evpn-virtual-access-pw-peering { - type uint32 { - range "0..300"; - } - default "3"; - description - "Virtual Access Pseudowire-specific Peering - timer"; - } - leaf enable { - type empty; - description - "Enable Virtual Access Pseudowire-specific - timers"; - } - } - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - leaf pseudowire-id { - type Pseudowire-id-range; - description "Pseudowire ID"; - } - uses EVPN-VIRTUAL-ETHERNET-SEGMENT; - } - } - - container evpn-ethernet-segment { - description "EVPN Global Ethernet Segment submode"; - - container evpn-esi-types { - description "EVPN ESI type table"; - - list evpn-esi-type { - key "esi-type"; - description "ESI type"; - leaf disable-auto-generation { - type empty; - description "Disable ESI Autogeneration"; - } - leaf esi-type { - type Evpn-esi-type-range; - description "ESI type"; - } - } - } - leaf enable { - type empty; - description "Enable EVPN Global Ethernet Segment submode"; - } - } - leaf evi-cost-out { - type empty; - description "Configure node to cost-out"; - } - leaf evpn-source-interface { - type xr:Interface-name; - description - "Configure EVPN router-id implicitly through - Loopback Interface"; - } - leaf evpn-cost-in-startup { - type uint32 { - range "30..86400"; - } - units "second"; - description - "Cost-in node after given time (seconds) on - startup timer"; - } - } - leaf enable { - type empty; - description "Enable EVPN feature"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container pseudowire-ether { - description "PW-Ether attributes"; - leaf generic-interface-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the interface list"; - } - leaf l2-overhead { - type uint32 { - range "1..64"; - } - description "PW Ether L2 overhead requirement"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container pseudowire-iw { - description "PW-IW attributes"; - leaf l2-overhead { - type uint32 { - range "1..64"; - } - units "byte"; - description "L2 overhead size in bytes"; - } - leaf generic-interface-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the interface list"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container bvi { - description "BVI attributes"; - leaf host-routing { - type empty; - description "Enable host-routing on this BVI"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container l2-transport { - description - "Interface Layer 2 Transport service - configuration data"; - leaf enabled { - type empty; - description - "This object is only valid on physical - interfaces and it controls whether that - interface is a port mode Layer 2 attachment - circuit (note that for subinterfaces, the Layer - 2 property is specified when the subinterface - is created).The object must be set before any - other L2Transport configuration is supplied for - the interface, and must be the last - per-interface configuration object to be - removed."; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container vpls { - description - "CISCO-IETF-VPLS-GENERIC-MIB notification - configuration"; - leaf full-clear { - type empty; - description "Enable cvplsFwdFullAlarmCleared notification"; - } - leaf status { - type empty; - description "Enable cvplsStatusChanged notification"; - } - leaf enable { - type empty; - description - "Enable CISCO-IETF-VPLS-GENERIC-MIB - notifications"; - } - leaf full-raise { - type empty; - description "Enable cvplsFwdFullAlarmRaised notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container l2vpn { - description "CISCO-IETF-PW-MIB notification configuration"; - leaf cisco { - type empty; - description "Enable Cisco format including extra varbinds"; - } - leaf enable { - type empty; - description "Enable CISCO-IETF-PW-MIB notifications"; - } - leaf vc-down { - type empty; - description "Enable cpwVcDown notification"; - } - leaf vc-up { - type empty; - description "Enable cpwVcUp notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub1.yang deleted file mode 100644 index 783ec48..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub1.yang +++ /dev/null @@ -1,158 +0,0 @@ -submodule Cisco-IOS-XR-l2vpn-oper-sub1 { - - belongs-to Cisco-IOS-XR-l2vpn-oper { - prefix Cisco-IOS-XR-l2vpn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2vpn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Iflist-rep-status { - type enumeration { - enum invalid { - value 0; - description "Invalid"; - } - enum pending { - value 1; - description "Pending"; - } - enum done { - value 2; - description "Done"; - } - enum not-supported { - value 3; - description "Not supported"; - } - enum failed { - value 4; - description "Failed"; - } - } - description "Interface list replication status"; - } - - grouping IFLIST-IFL { - description "Generic interface list info"; - leaf interface-list-name { - type string { - length "0..33"; - } - description "Interface-list name"; - } - leaf interface-list-id { - type uint32; - description "Interface internal ID"; - } - leaf items { - type uint32; - description - "Number of items on which interface list is - replicated"; - } - leaf is-provisioned { - type boolean; - description "Is Provisioned"; - } - leaf is-fib-downloaded { - type boolean; - description "Is Interface list downloaded to FIB"; - } - - list interface { - description "Interfaces"; - uses IFLIST-IF; - } - } - - grouping IFLIST-IF { - description "Interface info for Generic interface list"; - leaf interface-name { - type string; - description "Interface name"; - } - leaf pending-replications { - type uint32; - description "Number of pending replications"; - } - leaf not-supported-replications { - type uint32; - description - "Number of replications failed because - unsupported"; - } - leaf is-fib-downloaded { - type boolean; - description "Is interface downloaded to FIB"; - } - } - - grouping ITEM-IFLIST-IF { - description "Interface info for Generic interface list"; - leaf interface-name { - type string; - description "Interface name"; - } - leaf replicate-status { - type Iflist-rep-status; - description "Replicate status"; - } - } - - grouping ITEM-IFLIST-IFL { - description "Generic interface list info"; - leaf interface-list-name { - type string { - length "0..33"; - } - description "Interface-list name"; - } - leaf interface-list-id { - type uint32; - description "Interface internal ID"; - } - - list interface { - max-elements "8"; - description "Interfaces"; - uses ITEM-IFLIST-IF; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub2.yang deleted file mode 100644 index b7334bb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub2.yang +++ /dev/null @@ -1,6450 +0,0 @@ -submodule Cisco-IOS-XR-l2vpn-oper-sub2 { - - belongs-to Cisco-IOS-XR-l2vpn-oper { - prefix Cisco-IOS-XR-l2vpn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-l2vpn-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2vpn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2vpn-memory-state { - type enumeration { - enum memory-state-unknown { - value 0; - description "Memory state Unknown"; - } - enum memory-state-normal { - value 1; - description "Memory state Normal"; - } - enum memory-state-minor { - value 2; - description "Memory state Minor"; - } - enum memory-state-severe { - value 3; - description "Memory state Severe"; - } - enum memory-state-critical { - value 4; - description "Memory state Critical"; - } - enum memory-state-invalid { - value 5; - description "Memory state Invalid"; - } - } - description "L2vpn memory state"; - } - typedef L2vpn-ac-encap { - type enumeration { - enum unknown-encap { - value 0; - description "unknown encap"; - } - enum vlan { - value 1; - description "vlan"; - } - enum qinq { - value 2; - description "qinq"; - } - enum qin-any { - value 3; - description "qin any"; - } - enum ethernet { - value 4; - description "ethernet"; - } - enum atm-aal0 { - value 5; - description "atm aal0"; - } - enum atm-aal5 { - value 6; - description "atm aal5"; - } - enum atm-vp { - value 7; - description "atm vp"; - } - enum atm-port { - value 8; - description "atm port"; - } - enum hdlc { - value 9; - description "hdlc"; - } - enum fr-dlci { - value 10; - description "fr dlci"; - } - enum fr-dlci-local { - value 11; - description "fr dlci local"; - } - enum ppp { - value 12; - description "ppp"; - } - enum tdm-sa-to-p-e1 { - value 13; - description "tdm sa to p e1"; - } - enum tdm-sa-to-p-t1 { - value 14; - description "tdm sa to p t1"; - } - enum tdm-sa-to-p-e3 { - value 15; - description "tdm sa to p e3"; - } - enum tdm-sa-to-p-t3 { - value 16; - description "tdm sa to p t3"; - } - enum tdm-ce-so-psn { - value 17; - description "tdm ce so psn"; - } - enum ip { - value 18; - description "ip"; - } - enum vlan-encap { - value 19; - description "vlan encap"; - } - enum dot1ad { - value 20; - description "dot1ad"; - } - enum efp { - value 21; - description "efp"; - } - enum bvi { - value 22; - description "bvi"; - } - enum monitor-session { - value 23; - description "monitor session"; - } - enum pseudowire-ether { - value 24; - description "pseudowire ether"; - } - enum pseudowire-iw { - value 25; - description "pseudowire iw"; - } - enum multi-segment-pseudowire { - value 26; - description "multi segment pseudowire"; - } - enum pseudowire-l2-subinterface { - value 27; - description "pseudowire l2 subinterface"; - } - enum virtual-network-interface { - value 28; - description "virtual network interface"; - } - enum encap-types-max { - value 29; - description "encap types max"; - } - } - description "L2vpn ac encap"; - } - typedef L2vpn-brief-psn { - type enumeration { - enum ls { - value 0; - description "ls"; - } - enum atom { - value 1; - description "atom"; - } - enum l2tpv3 { - value 2; - description "l2tpv3"; - } - enum unknown-psn { - value 3; - description "unknown psn"; - } - } - description "L2vpn brief psn"; - } - typedef L2vpn-src-address-set { - type enumeration { - enum unset { - description "Unset"; - } - enum set { - description "Set"; - } - } - description "L2vpn src address set"; - } - typedef L2vpn-transport-mode { - type enumeration { - enum l2vpn-transport-mode-not-specified { - description "Not specified"; - } - enum l2vpn-transport-mode-ethernet { - description "Ethernet"; - } - enum l2vpn-transport-mode-vlan { - description "VLAN"; - } - enum l2vpn-transport-mode-vlan-passthrough { - description "VLAN Passthrough"; - } - } - description "L2vpn transport mode"; - } - typedef L2vpn-pw-class-control-word { - type enumeration { - enum unset { - value 0; - description "Unset"; - } - enum enable { - value 1; - description "Enable"; - } - enum disable { - value 2; - description "Disable"; - } - } - description "L2vpn pw class control word"; - } - typedef L2vpn-g8032-uncfg-reason { - type enumeration { - enum reason-none { - description "No reason"; - } - enum ring-mp0-missing { - description "Main port0 missing"; - } - enum ring-mp1-missing { - description "Main port1 missing"; - } - enum inclusion-list-empty { - description "Inclusion list empty"; - } - enum aps0-missing { - description "APS port0 missing"; - } - enum aps0bp-notfound { - description "APS port0 not found as valid BP"; - } - enum aps0-no-ac-ctx { - description "APS port0 has no valid AC context"; - } - enum aps0-not-in-inclusion-list { - description "APS port0 not in inclusion list"; - } - enum aps0-mismatched { - description "APS port0 mismatched with main port"; - } - enum aps1-missing { - description "APS port1 missing"; - } - enum aps1bp-notfound { - description "APS port1 not found as valid BP"; - } - enum aps1-no-ac-ctx { - description "APS port1 has no valid AC context"; - } - enum aps1-not-in-inclusion-list { - description "APS port1 not in inclusion list"; - } - enum aps1-mismatched { - description "APS port1 mismatched with main port"; - } - enum aps-unprovisioned { - description "APS AC unrpvosioned"; - } - } - description "Unresolved reason for G8032 ring instance"; - } - typedef L2vpn-g8032-rpl { - type enumeration { - enum rpl-unknown { - description "No RPL info"; - } - enum port0-owner { - description "Port 0 owner"; - } - enum port0-neighbor { - description "Port 0 neighbor"; - } - enum port0-next-neighbor { - description "Port 0 next neighbor"; - } - enum port1-owner { - description "Port 1 owner"; - } - enum port1-neighbor { - description "Port 1 neighbor"; - } - enum port1-next-neighbor { - description "Port 1 next neighbor"; - } - } - description "RPL types in g8032 ring"; - } - typedef L2vpn-ipc-transport-mode { - type enumeration { - enum unicast { - value 0; - description "L2VPN Unicast IPC transport mode"; - } - enum broadcast { - value 1; - description "L2VPN Broadcast IPC transport mode"; - } - enum unknown { - value 2; - description "L2VPN Unknown IPC transport mode"; - } - } - description "L2vpn ipc transport mode"; - } - typedef L2vpn-vni-mode { - type enumeration { - enum l2vpn-vni-mode-l2-dp { - description "Data Plane L2 Service"; - } - enum l2vpn-vni-mode-l3-dp { - description "Data Plane L3 Service"; - } - enum l2vpn-vni-mode-l2-cp { - description "Control Plane L2 Service"; - } - enum l2vpn-vni-mode-l3-cp { - description "Control Plane L3 Service"; - } - } - description "L2vpn vni mode"; - } - typedef L2vpn-vni-encaps { - type enumeration { - enum l2vpn-vni-encap-vxlan { - description "VXLAN"; - } - enum l2vpn-vni-encap-softgre { - description "SOFTGRE"; - } - } - description "L2vpn vni encaps"; - } - typedef L2vpn-mirp-lite-protocol-info { - type enumeration { - enum vlan0 { - description "MVRP PDU using Vlan0"; - } - enum none { - description "none"; - } - } - description "L2vpn mirp lite protocol info"; - } - typedef L2vpn-mirp-lite-status { - type enumeration { - enum enabled { - description "Supported, enabled"; - } - enum not-supported { - description "Not supported"; - } - } - description "L2vpn mirp lite status"; - } - typedef L2vpn-virtualport-state { - type enumeration { - enum l2vpn-vp-state-undefined { - description "Undefined"; - } - enum l2vpn-vp-state-up { - description "Up"; - } - enum l2vpn-vp-state-down { - description "Down"; - } - } - description "L2vpn virtualport state"; - } - typedef L2vpn-bridge { - type enumeration { - enum l2vpn-bridge-type-default { - value 0; - description "Regular none PBB bridge"; - } - enum l2vpn-bridge-type-pbb-edge { - value 1; - description "PBB edge bridge"; - } - enum l2vpn-bridge-type-pbb-core { - value 2; - description "PBB core bridge"; - } - } - description "L2vpn bridge"; - } - typedef P2mp-transport-state { - type enumeration { - enum none { - description "no information about the transport yet"; - } - enum ok { - description "transport up"; - } - enum error { - description "transport error"; - } - enum tunnel-down { - description "tunnel is down"; - } - enum max-tunnels-reached { - description - "transport down because the maximum number of - tunnels is reached"; - } - } - description "P2mp transport state"; - } - typedef L2vpn-vfi-p2mp-signaling { - type enumeration { - enum none { - description "undefined signaling"; - } - enum bgp { - description "BGP signaling"; - } - } - description "L2vpn vfi p2mp signaling"; - } - typedef L2vpn-vfi-p2mp-transport { - type enumeration { - enum none { - description "undefined transport"; - } - enum rsvp-te { - description "RSVP-TE transport"; - } - } - description "L2vpn vfi p2mp transport"; - } - typedef L2vpn-vfi-state { - type enumeration { - enum unknown { - value 0; - description "VFI Unknown"; - } - enum up { - value 1; - description "VFI Up"; - } - enum down { - value 2; - description "VFI Down"; - } - enum admin-down { - value 3; - description "VFI Admin Down"; - } - } - description "L2vpn vfi state"; - } - typedef L2vpn-bag-mac-withdraw-option { - type enumeration { - enum mac-withdraw-option-state-up { - description "Mac withdraw on state up"; - } - enum mac-withdraw-option-state-down { - description "Mac withdraw on state down"; - } - enum mac-withdraw-option-optimize { - description "Optimized Mac withdraw"; - } - } - description "L2vpn bag mac withdraw option"; - } - typedef L2vpn-bridge-coupled-state { - type enumeration { - enum disabled { - value 0; - description "Coupled mode disabled"; - } - enum down { - value 2; - description "Coupled state down"; - } - enum up { - value 3; - description "Coupled state up"; - } - } - description "L2vpn bridge coupled state"; - } - typedef L2vpn-bridge-state { - type enumeration { - enum bridge-init { - value 0; - description "Bridge Init State"; - } - enum bridge-up { - value 1; - description "Bridge Up"; - } - enum bridge-down { - value 2; - description "Bridge Down"; - } - enum bridge-admin-down { - value 3; - description "Bridge Admin Down"; - } - } - description "L2vpn bridge state"; - } - typedef L2vpn-bag-storm-control-rate-unit { - type enumeration { - enum pps { - description "Packets Per Second"; - } - enum kb-ps { - description "Kilobits Per Second"; - } - } - description "Storm Control Rate Unit Type"; - } - typedef L2vpn-bag-mac-secure-action { - type enumeration { - enum not-set { - value 0; - description "MAC Secure Action Not Set"; - } - enum restrict { - value 1; - description "MAC Secure Action Restrict"; - } - enum none { - value 2; - description "MAC Secure Action None"; - } - enum shutdown { - value 3; - description "MAC Secure Action Shutdown"; - } - } - description "L2vpn bag mac secure action"; - } - typedef L2vpn-bag-mac-aging-mode { - type enumeration { - enum aging-none { - value 0; - description "MAC Aging None"; - } - enum aging-absolute { - value 1; - description "Mac Aging Absolute"; - } - enum aging-inactivity { - value 2; - description "Mac Aging Inactivity"; - } - } - description "L2vpn bag mac aging mode"; - } - typedef L2vpn-bag-mac-limit-notify { - type enumeration { - enum mac-limit-notify-none { - value 0; - description "MAC Limit Notify None"; - } - enum mac-limit-notify-syslog { - value 1; - description "MAC Limit Notify Syslog"; - } - enum mac-limit-notify-trap { - value 2; - description "MAC Limit Notify Trap"; - } - enum mac-limit-notify-syslog-trap { - value 3; - description "MAC Limit Notify Syslog and Trap"; - } - enum mac-limit-notify-no-config { - value 4; - description "MAC Limit Notify No Config"; - } - } - description "L2vpn bag mac limit notify"; - } - typedef L2vpn-bag-mac-limit-action { - type enumeration { - enum limit-none { - value 0; - description "MAC Limit Action None"; - } - enum limit-flood { - value 1; - description "MAC Limit Action Flood"; - } - enum limit-no-flood { - value 2; - description "MAC Limit Action No Flood"; - } - enum limit-shutdown { - value 3; - description "MAC Limit Action Shut"; - } - enum limit-no-config { - value 4; - description "Mac Limit Action No Config"; - } - } - description "L2vpn bag mac limit action"; - } - typedef L2vpn-msti-state { - type enumeration { - enum msti-bag-stp-port-state-forwarding { - description "msti bag stp port state forwarding"; - } - enum msti-bag-stp-port-state-blocked { - description "msti bag stp port state blocked"; - } - enum msti-bag-stp-port-state-mac-learning { - description "msti bag stp port state mac learning"; - } - enum msti-bag-stp-port-state-nack { - description "msti bag stp port state nack"; - } - enum msti-bag-stp-port-state-forwarding-not-useful { - description "msti bag stp port state forwarding not useful"; - } - enum msti-bag-stp-port-state-blocked-not-useful { - description "msti bag stp port state blocked not useful"; - } - enum msti-bag-stp-port-state-mac-learning-not-useful { - description - "msti bag stp port state mac learning not useful"; - } - enum msti-bag-erp-port-state-blocked-data-only { - description "msti bag erp port state blocked data only"; - } - enum msti-bag-erp-port-state-evpn-mcast-pe2ce-blocked { - description - "msti bag erp port state evpn mcast pe2ce - blocked"; - } - enum msti-bag-erp-port-state-evpn-port-state-mcast-blocked { - description - "msti bag erp port state evpn port state mcast - blocked"; - } - } - description "L2VPN MSTI state"; - } - typedef L2vpn-ad-rt { - type enumeration { - enum l2vpn-ad-rt-none { - value 0; - description "Route target not set"; - } - enum l2vpn-ad-rt-as { - value 1; - description "Route Target with 2 Byte AS number"; - } - enum l2vpn-ad-rt-4byte-as { - value 2; - description "Route Target with 4 Byte AS number"; - } - enum l2vpn-ad-rt-v4-addr { - value 3; - description "Route Target with IPv4 Address"; - } - enum es-import { - value 1538; - description "Ethernet Segment Route Target from BGP"; - } - } - description "L2vpn ad rt"; - } - typedef L2vpn-bag-ad-encap { - type enumeration { - enum l2vpn-bag-ad-encap-not-specified { - description "Not Specified"; - } - enum l2vpn-bag-ad-encap-ether-vlan { - description "Ether VLAN"; - } - enum l2vpn-bag-ad-encap-ether { - description "Ethernet"; - } - } - description "L2VPN AD Encapsulation"; - } - typedef L2vpn-xc-state { - type enumeration { - enum l2vpn-xc-state-unresolved { - description "Unresolved"; - } - enum l2vpn-xc-state-down { - description "Down"; - } - enum l2vpn-xc-state-up { - description "Up"; - } - } - description "L2vpn xc state"; - } - typedef L2vpn-p2mp-pw-ptree { - type enumeration { - enum none { - description "None"; - } - enum rsvp-te { - description "RSVP TE"; - } - enum mldp { - description "MLDP"; - } - } - description "L2vpn p2mp pw ptree"; - } - typedef L2vpn-pw-flow-label { - type enumeration { - enum off { - description "Flow label is off"; - } - enum receive { - description "Flow label is enabled on the receive side"; - } - enum transmit { - description "Flow label is enabled on the transmit side"; - } - enum both { - description - "Flow label is enabled on both transmit and - receive sides"; - } - } - description "Pseudowire flow label load balance types"; - } - typedef L2vpn-load-bal { - type enumeration { - enum not-supported { - value 0; - description "Load Balance Flow Not Supported"; - } - enum source-dest-mac { - value 1; - description "Load Balance Flow src-dst-mac"; - } - enum source-dest-ip { - value 2; - description "Load Balance Flow src-dst-ip"; - } - enum undefined { - value 3; - description "Load Balance Flow Undefined"; - } - enum pseudowire-label { - value 4; - description "Load Balance PW Label based"; - } - } - description "L2vpn load bal"; - } - typedef L2vpn-prefpath-option { - type enumeration { - enum l2vpn-pw-mpls-pref-path-not-specified { - description "Not Secified"; - } - enum l2vpn-pw-mpls-pref-path-next-hop-ip { - description "Next Hop IP"; - } - enum l2vpn-pw-mpls-pref-path-te-tunnel { - description "TE Tunnel"; - } - enum l2vpn-pw-mpls-pref-path-ip-tunnel { - description "IP Tunnel"; - } - enum l2vpn-pw-mpls-pref-path-tp-tunnel { - description "TP Tunnel"; - } - enum l2vpn-pw-mpls-pref-path-sr-te { - description "SR TE Policy"; - } - } - description "Preferred Path Option"; - } - typedef L2vpn-pw { - type enumeration { - enum l2vpn-pw-type-unknown { - description "Unknown"; - } - enum l2vpn-pw-type-frame-relay-dlci { - description "Frame Relay DLCI"; - } - enum l2vpn-pw-type-atm-aal5-sdu { - description "ATM AAL5 SDU VCC transport"; - } - enum l2vpn-pw-type-atm-trans-cell { - description "ATM transparent cell transport"; - } - enum l2vpn-pw-type-ether-vlan { - description "Ethernet VLAN tagged mode "; - } - enum l2vpn-pw-type-ether { - description "Ethernet"; - } - enum l2vpn-pw-type-hdlc { - description "HDLC"; - } - enum l2vpn-pw-type-ppp { - description "PPP"; - } - enum l2vpn-pw-type-sonet-over-mpls { - description - "SONET/SDH Circuit Emulation Service Over MPLS - (CEM)"; - } - enum l2vpn-pw-type-atm-n-vcc-cell { - description "ATM n-to-one VCC cell transport"; - } - enum l2vpn-pw-type-atm-n-vpc-cell { - description "ATM n-to-one VPC cell transport"; - } - enum l2vpn-pw-type-ip { - description "IP Layer2 Transport"; - } - enum l2vpn-pw-type-atm-vcc-cell { - description "ATM one-to-one VCC cell transport"; - } - enum l2vpn-pw-type-atm-vpc-cell { - description "ATM one-to-one VPC cell transport"; - } - enum l2vpn-pw-type-atm-aal5-pdu { - description "ATM AAL5 PDU VCC transport"; - } - enum l2vpn-pw-type-frame-relay { - description "Frame Relay port mode"; - } - enum l2vpn-pw-type-sonet { - description "SONET/SDH Circuit"; - } - enum l2vpn-pw-type-vpls { - description "VPLS"; - } - enum l2vpn-pw-type-tdm-sa-to-p-e1 { - description "TDM E1"; - } - enum l2vpn-pw-type-tdm-sa-to-p-t1 { - description "TDM T1"; - } - enum l2vpn-pw-type-tdm-sa-to-p-e3 { - description "TDM E3"; - } - enum l2vpn-pw-type-tdm-sa-to-p-t3 { - description "TDM T3"; - } - enum l2vpn-pw-type-tdm-ce-so-psn { - description "TDM CES over PSN"; - } - } - description "L2vpn pw"; - } - typedef L2vpn-pw-control-word { - type enumeration { - enum l2vpn-pw-control-word-unknown { - description "Unknown"; - } - enum l2vpn-pw-control-word-clear { - description "Clear"; - } - enum l2vpn-pw-control-word-set { - description "Set"; - } - enum l2vpn-pw-control-word-mandatory { - description "Mandatory"; - } - } - description "L2vpn pw control word"; - } - typedef L2vpn-l2tp-tunnel-state { - type enumeration { - enum l2vpn-l2tp-idle { - description "Idle"; - } - enum l2vpn-l2tp-wait-for-connecting { - description "Wait for connecting"; - } - enum l2vpn-l2tp-wait-for-connected { - description "Wait for connected"; - } - enum l2vpn-l2tp-in-coming-call { - description "Incoming call"; - } - enum l2vpn-l2tp-connected { - description "Connected"; - } - enum l2vpn-l2tp-disconnected { - description "Disconnected"; - } - } - description "L2vpn l2tp tunnel state"; - } - typedef L2vpn-tos-mode { - type enumeration { - enum l2vpn-pw-ip-tos-none { - description "None"; - } - enum l2vpn-pw-ip-tos-reflect { - description "Reflect the TOS"; - } - } - description "L2vpn tos mode"; - } - typedef L2vpn-encap-method { - type enumeration { - enum l2vpn-pw-encaps-not-specified { - description "Not Specified"; - } - enum l2vpn-pw-encaps-l2tpv3 { - description "L2TPv3 encapsulation"; - } - enum l2vpn-pw-encaps-l2tpv2 { - description "L2TPv2 encapsulation"; - } - enum l2vpn-pw-encaps-mpls { - description "MPLS encapsulation"; - } - enum l2vpn-pw-encaps-unknown { - description "Unknown"; - } - } - description "Encapsulation Method"; - } - typedef L2vpn-pw-sequence { - type enumeration { - enum l2vpn-pw-sequence-off { - description "Sequencing is Off"; - } - enum l2vpn-pw-sequence-xmit { - description "Sequencing on the transmit side"; - } - enum l2vpn-pw-sequence-recv { - description "Sequencing on the receive side"; - } - enum l2vpn-pw-sequence-trans { - description "Sequencing is transparent"; - } - enum l2vpn-pw-sequence-both { - description "Sequencing on both sides"; - } - } - description "L2vpn pw sequence"; - } - typedef L2vpn-signalling-proto { - type enumeration { - enum l2vpn-pw-sig-not-specified { - description "Not specified"; - } - enum l2vpn-pw-sig-none { - description "Static"; - } - enum l2vpn-pw-sig-l2tpv3 { - description "L2TPv3 signaling"; - } - enum l2vpn-pw-sig-l2tpv2 { - description "L2TPv2 signaling"; - } - enum l2vpn-pw-sig-ldp { - description "LDP"; - } - enum l2vpn-pw-sig-bgp { - description "BGP"; - } - } - description "L2vpn signalling proto"; - } - typedef L2vpn-pw-state { - type enumeration { - enum l2vpn-pw-state-unresolved { - description "Unresolved"; - } - enum l2vpn-pw-state-idle { - description "Idle"; - } - enum l2vpn-pw-state-provisioned { - description "Provisioned"; - } - enum l2vpn-pw-state-remote-standby { - description "Remote standby"; - } - enum l2vpn-pw-state-local-ready { - description "Local ready"; - } - enum l2vpn-pw-state-all-ready { - description "All ready"; - } - enum l2vpn-pw-state-established { - description "Established"; - } - } - description "L2vpn pw state"; - } - typedef L2vpn-bag-in6-addr { - type inet:ipv6-address; - description "L2vpn bag in6 addr"; - } - typedef L2vpn-peer { - type enumeration { - enum none { - description "None"; - } - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - enum internal-label { - description "Internal Label"; - } - } - description "L2vpn peer"; - } - typedef L2vpn-protection-role { - type enumeration { - enum l2vpn-protection-primary { - description "Segment configured as primary"; - } - enum l2vpn-protection-backup { - description "Segment configured as backup"; - } - } - description "L2VPN Configurable protection roles"; - } - typedef L2vpn-protection { - type enumeration { - enum l2vpn-protection-unknown { - description "Unknown type of protection"; - } - enum l2vpn-protection-interface { - description "Interface protection type"; - } - enum l2vpn-protection-pseudowire { - description "PW protection type"; - } - enum l2vpn-protection-group { - description "Group protection type "; - } - } - description "L2VPN Protection types"; - } - typedef L2vpn-rg-state { - type enumeration { - enum unknown { - description "Not defined"; - } - enum active { - description "Active"; - } - enum standby { - description "Standby"; - } - } - description "L2vpn rg state"; - } - typedef L2vpn-interworking { - type enumeration { - enum l2vpn-iw-type-none { - description "None"; - } - enum l2vpn-iw-type-ethernet { - description "Ethernet"; - } - enum l2vpn-iw-type-ppp { - description "PPP"; - } - enum l2vpn-iw-type-ipv4 { - description "IPv4"; - } - enum l2vpn-iw-type-voluntary { - description "Voluntary"; - } - enum l2vpn-iw-type-frf8 { - description "FRF8"; - } - } - description "L2vpn interworking"; - } - typedef L2vpn-segment-state { - type enumeration { - enum l2vpn-segment-state-unresolved { - description "Unresolved"; - } - enum l2vpn-segment-state-up { - description "Up"; - } - enum l2vpn-segment-state-down { - description "Down"; - } - enum l2vpn-segment-state-admin-down { - description "Admin down"; - } - enum l2vpn-segment-state-local-up { - description "Local up"; - } - enum l2vpn-segment-state-remote-up { - description "Remote up"; - } - enum l2vpn-segment-state-connected { - description "Connected"; - } - enum l2vpn-segment-state-standby { - description "Standby"; - } - enum l2vpn-segment-state-standby-ready { - description "Standby Ready"; - } - } - description "L2vpn segment state"; - } - typedef L2vpn-fr-mode { - type enumeration { - enum l2vpn-fr-port-mode { - description "Frame Relay port mode"; - } - enum l2vpn-fr-dlci-mode { - description "Frame Relay DLCI mode"; - } - } - description "L2vpn fr mode"; - } - typedef L2vpn-atm-mode { - type enumeration { - enum l2vpn-atm-port-mode { - description "ATM port mode"; - } - enum l2vpn-atm-vp-mode { - description "ATM Virtual Path mode"; - } - enum l2vpn-atm-vc-mode { - description "ATM Virtual Channel mode"; - } - } - description "L2vpn atm mode"; - } - typedef L2vpn-time-stamp-mode { - type enumeration { - enum unknown { - description "Unknown time stamp mode"; - } - enum differential { - description "Differential time stamp mode"; - } - enum absolute { - description "Absolute Time Stamp mode"; - } - enum none { - description "time stamp mode none"; - } - } - description "L2VPN TDM Time stamp modes"; - } - typedef L2vpn-tdm-rtp-option { - type enumeration { - enum unknown { - description "Unknown RTP option"; - } - enum present { - description "RTP option present"; - } - enum absent { - description "RTP option absent"; - } - } - description "L2VPN TDM RTP option"; - } - typedef L2vpn-tdm-mode { - type enumeration { - enum unknown { - description "Unknown mode"; - } - enum ce-so-psn { - description "CESoPSN mode"; - } - enum sa-to-p-e1 { - description "SAToP E1 mode"; - } - enum sa-to-p-t1 { - description "SAToP T1 mode"; - } - enum sa-to-p-e3 { - description "SAToP E3 mode"; - } - enum sa-to-p-t3 { - description "SAToP T3 mode"; - } - } - description "L2VPN TDM modes"; - } - typedef L2vpn-interface { - type enumeration { - enum l2vpn-intf-type-unknown { - description "Unknown"; - } - enum l2vpn-intf-type-ethernet { - description "Ethernet"; - } - enum l2vpn-intf-type-vlan { - description "Ethernet Vlan"; - } - enum l2vpn-intf-type-atm { - description "ATM"; - } - enum l2vpn-intf-type-frame-relay { - description "Frame Relay"; - } - enum l2vpn-intf-type-hdlc { - description "HDLC"; - } - enum l2vpn-intf-type-ppp { - description "PPP"; - } - enum l2vpn-intf-type-span { - description "SPAN"; - } - enum l2vpn-intf-type-bvi { - description "BVI"; - } - enum l2vpn-intf-type-cem { - description "CEM"; - } - enum l2vpn-intf-type-pw-ether { - description "PsuedowireEther"; - } - enum l2vpn-intf-type-pw-iw { - description "PsuedowireIW"; - } - enum l2vpn-intf-type-vni { - description "VXLAN"; - } - } - description "L2vpn interface"; - } - typedef L2vpn-segment { - type enumeration { - enum l2vpn-segment-type-unresolved { - description "Unresolved segment"; - } - enum l2vpn-segment-type-ac { - description "Attachment circuit segment"; - } - enum l2vpn-segment-type-pw { - description "Pseudowire segment"; - } - enum l2vpn-segment-type-bd-ac { - description "Bridge domain attachment circuit"; - } - enum l2vpn-segment-type-vfi { - description "Virtual forwarding instance segment"; - } - enum l2vpn-segment-type-bd-pw { - description "Bridge Pseudowire"; - } - enum l2vpn-segment-type-bd-pbb { - description "Bridge domain PBB segment"; - } - enum l2vpn-segment-type-bd-evpn { - description "Bridge domain EVPN segment"; - } - enum l2vpn-segment-type-vni { - description "VxLAN Network Identifier (VNI) segment"; - } - } - description "L2vpn segment"; - } - typedef L2vpn-ad-rd { - type enumeration { - enum l2vpn-ad-rd-none { - value 0; - description "Route Distinguisher not set"; - } - enum l2vpn-ad-rd-auto { - value 1; - description "Route Distinguisher auto-generated"; - } - enum l2vpn-ad-rd-as { - value 2; - description "Route Distinguisher with 2 Byte AS number"; - } - enum l2vpn-ad-rd-4byte-as { - value 3; - description "Route Distinguisher with 4 Byte AS number"; - } - enum l2vpn-ad-rd-v4-addr { - value 4; - description "Route Distinguisher with IPv4 Address"; - } - } - description "L2vpn ad rd"; - } - typedef L2vpn-pw-fec { - type enumeration { - enum l2vpn-pw-fec-128 { - value 0; - description "FEC 128 pseudowire type"; - } - enum l2vpn-pw-fec-129 { - value 1; - description "FEC 129 pseudowire type"; - } - enum l2vpn-pw-fec-not-applicable { - value 268435455; - description "FEC Not Applicable"; - } - } - description "L2vpn pw fec"; - } - typedef L2vpn-pw-id { - type enumeration { - enum l2vpn-pw-id-type-manual { - value 1; - description "Manual"; - } - enum l2vpn-pw-id-type-ad-vpls { - value 2; - description "AD VPLS"; - } - enum l2vpn-pw-id-type-ad-vpws { - value 3; - description "AD VPWS"; - } - enum l2vpn-pw-id-type-ad-vpls-ldp { - value 4; - description "AD VPLS-LDP"; - } - enum l2vpn-pw-id-type-pwr { - value 5; - description "PWR"; - } - enum l2vpn-pw-id-type-evpn { - value 6; - description "EVPN"; - } - } - description "L2vpn pw id"; - } - typedef L2vpn-preferred { - type enumeration { - enum te-tunnel { - description "TE Tunnel"; - } - enum ip-tunnel { - description "IP Tunnel"; - } - enum tp-tunnel { - description "TP Tunnel"; - } - enum mte-tunnel { - description "mTE"; - } - enum mldp-tunnel { - description "mLDP"; - } - enum sr-te-policy { - description "SR TE Policy"; - } - } - description "Preferred Type"; - } - typedef L2vpn-proc-nsr-not-ready-reason { - type enumeration { - enum collab-time-out { - description "Collaborator connection time out"; - } - enum collab-conntection-idt { - description "Collaborator connection down or IDT not done"; - } - enum nsr-peer-not-connected { - description "NSR peer not connected"; - } - enum nsr-peer-not-in-sync { - description "NSR peer not in sync"; - } - } - description "L2vpn proc nsr not ready reason"; - } - typedef L2vpn-sync-status { - type enumeration { - enum not-ready { - description "Not Ready"; - } - enum ready { - description "Ready"; - } - } - description "L2vpn sync status"; - } - typedef L2vpn-proc-role { - type enumeration { - enum unknown { - description "Unknown"; - } - enum v1-active { - description "V1 Active"; - } - enum v1-standby { - description "V1 Standby"; - } - enum v2-active { - description "V2 Active"; - } - enum v2-standby { - description "V2 Standby"; - } - enum v1-active-post-big-bang { - description "V1 Active post big-bang"; - } - enum v1-standby-post-big-bang { - description "V1 Standbyi post big-bang"; - } - enum count { - description "Count"; - } - } - description "L2VPN Process Role"; - } - typedef L2vpn-id-mgr-app { - type enumeration { - enum l2vpn-id-mgr-app-type-virtual-ac { - description "Virtual AC"; - } - enum l2vpn-id-mgr-app-type-ac { - description "AC"; - } - enum l2vpn-id-mgr-app-type-pw { - description "PW"; - } - enum l2vpn-id-mgr-app-type-bd { - description "BD"; - } - enum l2vpn-id-mgr-app-type-fxc { - description "FXC"; - } - enum l2vpn-id-mgr-app-type-mp2mp { - description "MP2MP"; - } - enum l2vpn-id-mgr-app-type-rd { - description "RD"; - } - enum l2vpn-id-mgr-app-type-pbb { - description "PBB"; - } - enum l2vpn-id-mgr-app-type-if-list { - description "IFLIST"; - } - enum l2vpn-id-mgr-app-type-atom { - description "ATOM"; - } - enum l2vpn-id-mgr-app-type-global { - description "GLOBAL"; - } - enum l2vpn-id-mgr-app-type-p-tree { - description "PTREE"; - } - enum l2vpn-id-mgr-app-type-pw-group { - description "PWGROUP"; - } - enum l2vpn-id-mgr-app-type-evpn { - description "EVPN"; - } - enum l2vpn-id-mgr-app-type-evpn-lbl { - description "EVPN LBL"; - } - enum l2vpn-id-mgr-app-type-evpn-rd { - description "EVPN RD"; - } - enum l2vpn-id-mgr-app-type-count { - description "Count/Invalid"; - } - } - description "L2VPN ID Manager App Type"; - } - typedef Iccp-sm-port-state { - type enumeration { - enum unknown { - description "Unknown"; - } - enum unconfigured { - description "Unconfigured"; - } - enum unsynchronized { - description "Unsynchronized"; - } - enum operational { - description "Operational"; - } - enum failed { - description "Failed"; - } - enum reverting { - description "Reverting"; - } - } - description "ICCP-based service multi-homing port state"; - } - typedef Iccp-sm-state { - type enumeration { - enum unresolved { - description "Unresolved"; - } - enum provisioned { - description "Provisioned"; - } - enum connecting { - description "Connecting"; - } - enum connected { - description "Connected"; - } - enum synchronizing { - description "Synchronizing"; - } - enum synchronized { - description "Synchronized"; - } - } - description "ICCP-based service multi-homing group state"; - } - typedef L2vpn-main-if-protectected { - type enumeration { - enum erp-protected { - description "ERP Protected"; - } - enum mstp-protected { - description "MSTP Protected"; - } - enum no-protected { - description "No protection"; - } - } - description "L2vpn main if protectected"; - } - typedef L2vpn-main-if-instance-state { - type enumeration { - enum forwarding { - description "Forwarding state"; - } - enum blocked { - description "Blocked state"; - } - enum mac-learning { - description "Mac learning state"; - } - enum nack { - description "Nack state"; - } - enum forwarning-not-useful { - description "Forwarding not useful state"; - } - enum blocked-not-useful { - description "Blocked not useful state"; - } - enum mac-learning-not-useful { - description "Mac Learning not useful state"; - } - enum blocked-data-only { - description "Blocked data only state"; - } - enum mcast-pe2-ce-blocked { - description "Mcast PE to CE blocked state"; - } - enum port-state-unknown { - description "Port state unknown"; - } - } - description "State of a main port instance"; - } - typedef L2vpn-ad-vpls-id { - type enumeration { - enum l2vpn-ad-vpls-id-none { - value 0; - description "VPLS-ID not set"; - } - enum l2vpn-ad-vpls-id-auto { - value 1; - description "Auto generated VPLS-ID"; - } - enum l2vpn-ad-vpls-id-as { - value 10; - description "VPLS-ID with 2 Byte AS number"; - } - enum l2vpn-ad-vpls-id-v4-addr { - value 266; - description "VPLS-ID with IPv4 Address"; - } - } - description "L2vpn ad vpls id"; - } - typedef L2vpn-ad-lsd-err { - type enumeration { - enum l2vpn-ad-lsd-err-type-none { - value 0; - description "No Error"; - } - enum l2vpn-ad-lsd-err-type-rw-create-abort-lbl-alloc { - value 1; - description - "RW Creation aborted due to related Lbl Alloc - failure"; - } - enum l2vpn-ad-lsd-err-type-lbl-alloc-abort-rw-create { - value 2; - description - "Lbl Alloc disallowed due to related RW Creation - failure"; - } - enum l2vpn-ad-lsd-err-type-lbl-alloc-abort-lbl-alloc { - value 3; - description - "Lbl Alloc disallowed due to related Lbl Alloc - failure"; - } - enum l2vpn-ad-lsd-err-type-lbl-alloc-lbl-ctx-mismatch { - value 4; - description "Lbl Ctx mismatch"; - } - enum l2vpn-ad-lsd-err-type-rw-create-fpi-size-mismatch { - value 5; - description "FPI Size mismatch"; - } - enum l2vpn-ad-lsd-err-type-rw-create-fpi-version-mismatch { - value 6; - description "FPI Version mismatch"; - } - enum l2vpn-ad-lsd-err-type-enospc { - value 7; - description "Out of Label"; - } - enum l2vpn-ad-lsd-err-type-enomem { - value 8; - description "No Memory"; - } - enum l2vpn-ad-lsd-err-type-undefined { - value 9; - description "LABEL ERR"; - } - } - description "L2vpn ad lsd err"; - } - typedef L2vpn-ad-sig-method { - type enumeration { - enum l2vpn-ad-sig-method-none { - value 0; - description "None"; - } - enum l2vpn-ad-sig-method-bgp { - value 1; - description "BGP"; - } - enum l2vpn-ad-sig-method-ldp { - value 2; - description "LDP"; - } - } - description "L2vpn ad sig method"; - } - - grouping L2VPN-XC-BRIEF-LINE { - description "L2VPN XC BRIEF LINE"; - leaf psn-type { - type L2vpn-brief-psn; - description "PSN Type"; - } - leaf ac1-encapsulation { - type L2vpn-ac-encap; - description "AC1 encapsulation"; - } - leaf ac2-encapsulation { - type L2vpn-ac-encap; - description "AC2 encapsulation"; - } - list up-count { - max-elements "4"; - - description - - "Number of active cross-connections array - - - Index 0 is LikeToLike, 1 is IPInterworking, 2 is - - EthernetInterworking, 3 is Total"; - leaf entry { - type uint32; - } - } - list down-count { - max-elements "4"; - - description - - "Number of non-active cross-connections array - - - Index 0 is LikeToLike, 1 is IPInterworking, 2 is - - EthernetInterworking, 3 is Total"; - leaf entry { - type uint32; - } - } - list unresolved-count { - max-elements "4"; - - description - - "Number of unresolved cross-connections array - - - Index 0 is LikeToLike, 1 is IPInterworking, 2 is - - EthernetInterworking, 3 is Total"; - leaf entry { - type uint32; - } - } - } - - grouping L2VPN-XC-BRIEF-FIRST-LAYER { - description "L2VPN XC BRIEF FIRST LAYER"; - - list ac2 { - description - "Array of l2vpn_xc_brief_line indexed by the AC2 - encapsulation type plus one type for PW"; - uses L2VPN-XC-BRIEF-LINE; - } - } - - grouping L2VPN-XC-BRIEF-MATRIX { - description "L2VPN XC BRIEF MATRIX"; - - list ac1 { - description - "Array of l2vpn_xc_brief_first layer indexed by - the AC1 encapsulation type"; - uses L2VPN-XC-BRIEF-FIRST-LAYER; - } - } - - grouping L2VPN-XC-BRIEF { - description "L2VPN XC BRIEF"; - leaf main-total-up { - type uint32; - description - "Total Number of active Cross-Conections with - valid encaps"; - } - leaf main-total-down { - type uint32; - description - "Total Number of non-active Cross-Conections with - valid encaps"; - } - leaf main-total-unresolved { - type uint32; - description - "Total Number of unresolved Cross-Conections with - valid encaps"; - } - leaf undefined-xc { - type uint32; - description "Undefined xc including PW-PW"; - } - leaf memory-state { - type L2vpn-memory-state; - description "L2VPN memory state"; - } - - list encapsulation-report-matrix { - max-elements "3"; - description "Encapsulation report counters matrix"; - uses L2VPN-XC-BRIEF-MATRIX; - } - - list encapsulation-total { - max-elements "3"; - description "Total summary"; - uses L2VPN-XC-BRIEF-LINE; - } - } - - grouping L2VPN-FXC { - description "L2VPN FXC"; - leaf fxc-id { - type uint32; - description "Flexible XConnect ID"; - } - leaf name { - type string; - description "Flexible XConnect Service Name"; - } - leaf state { - type L2vpn-xc-state; - description "State of the Flexible XConnect Service"; - } - leaf num-p-ws { - type uint8; - description "Number of Pseudowires in Pseudowire List"; - } - - list pseudowire { - max-elements "2"; - description "Flexible XConnect Service Pseudowire List"; - uses L2VPN-PW; - } - } - - grouping L2VPN-FXC-AC { - description "L2VPN FXC AC"; - - container attachment-circuit { - description "Flexible XConnect Service Attachment Circuit"; - uses L2VPN-AC; - } - } - - grouping L2VPN-PBB-BMAC-SA { - description "L2VPN PBB BMAC SA"; - leaf provisioned { - type boolean; - description "BMAC SA configured"; - } - leaf chassis-is-provisioned { - type boolean; - description "Chassis MAC is configured"; - } - leaf bmac-sa { - type yang:mac-address; - description "BMAC SA"; - } - leaf chassis-mac { - type yang:mac-address; - description "Chassis MAC"; - } - } - - grouping L2VPN-MSTP-SUBINT { - description "L2VPN MSTP Subinterfaces"; - leaf interface-name { - type string; - description "Interface name"; - } - } - - grouping L2VPN-MSTP-VLAN { - description "L2VPN MSTP VLAN"; - leaf vlan-id-xr { - type uint32; - description "Vlan id"; - } - leaf msti-id { - type uint32; - description "MSTI id"; - } - leaf port-count { - type uint32; - description "Port Count"; - } - - list sub-interface { - description "Sub interfaces"; - uses L2VPN-MSTP-SUBINT; - } - } - - grouping L2VPN-MVRP-BP { - description "L2VPN MVRP BP"; - leaf bridge-port-interface-name { - type string; - description "Bridge port Interface name"; - } - leaf bridge-port-xconnect-id { - type uint32; - description "Bridge port XConnect ID"; - } - leaf mvrp-sequence-number { - type uint16; - description "MVRP Sequence Number"; - } - - list vlan-range { - description "VLAN IDs"; - uses L2VPN-EFP-RANGE; - } - } - - grouping L2VPN-MVRP { - description "L2VPN MVRP"; - - container default-bridge-port { - description "Trunk or default Bridge Port"; - uses L2VPN-MVRP-BP; - } - leaf main-port-interface-name { - type string; - description "Main Port Interface name"; - } - leaf is-trunk { - type boolean; - description "Is main port a trunk"; - } - leaf is-default-encap { - type boolean; - description "Is default encap set"; - } - leaf number-of-bridge-ports { - type uint32; - description "Number of Bridge Ports"; - } - } - - grouping L2VPN-COLLAB-CNTR { - description "L2VPN collaborator statistics"; - leaf collaborator-name { - type string; - description "Collaborator Name"; - } - leaf up { - type uint32; - description "Up"; - } - leaf down { - type uint32; - description "Down"; - } - leaf is-up { - type boolean; - description "Is up"; - } - } - - grouping L2VPN-COLLAB-STATS { - description "L2VPN collaborator statistics"; - - list count { - max-elements "1"; - description "count"; - uses L2VPN-COLLAB-CNTR; - } - } - - grouping L2VPN-GLOBAL-INFO { - description "L2VPN Global Information"; - - container collaborator-statistics { - description "Collaborator Statistics"; - uses L2VPN-COLLAB-STATS; - } - } - - grouping L2VPN-SOURCE-ADDRESS { - description "L2VPN SOURCE ADDRESS"; - leaf configuration { - type L2vpn-src-address-set; - description "Configuration"; - } - leaf address { - when "../configuration = 'set'" { - description "../Configuration = 'Set'"; - } - type inet:ipv4-address; - description "Local source address"; - } - } - - grouping L2VPN-L2TPV3-PW-CLASS { - description "L2VPN L2TPV3 PW CLASS"; - leaf l2tp-class-name { - type string { - length "0..32"; - } - description "L2TPClassName"; - } - leaf ipv4-source-address { - type inet:ipv4-address; - description "IPv4 source address"; - } - leaf path-mtu-enabled { - type boolean; - description "Path MTU enabled"; - } - leaf path-mtu-max-value { - type uint16; - description "Path MTU Maximum allowable session MTU"; - } - leaf dont-fragment-bit { - type boolean; - description "Don't Fragment Bit"; - } - leaf tos-mode { - type L2vpn-tos-mode; - description "Type Of Service Mode"; - } - leaf tos { - type uint8; - description "Type Of Service Value"; - } - leaf ttl { - type uint8; - description "Time To Live value"; - } - leaf cookie-size { - type uint8; - description "Cookie size: 0, 4, or 8 bytes"; - } - } - - grouping L2VPN-ENCAP-PW-CLASS { - description "L2VPN ENCAP PW CLASS"; - - container l2tpv3 { - when "../encapsulation = 'l2vpn-pw-encaps-l2tpv3'" { - description "../Encapsulation = 'L2VPN_PW_ENCAPS_L2TPV3'"; - } - description "l2tpv3"; - uses L2VPN-L2TPV3-PW-CLASS; - } - leaf encapsulation { - type L2vpn-encap-method; - description "Encapsulation"; - } - } - - grouping L2VPN-PW-CLASS { - description "L2VPN PW CLASS"; - - container encapsulation-info { - description "Encapsulation specific pseudowire information"; - uses L2VPN-ENCAP-PW-CLASS; - } - - container preferred-path { - description "MPLS Preferred Path"; - uses L2VPN-PW-MPLS-PREFPATH; - } - - container local-source-address { - description "Local source address"; - uses L2VPN-SOURCE-ADDRESS; - } - leaf pw-class-name { - type string { - length "0..33"; - } - description "Pseudowire class name"; - } - leaf control-word { - type L2vpn-pw-class-control-word; - description "Control word"; - } - leaf transport-mode { - type L2vpn-transport-mode; - description "Transport mode"; - } - leaf sequencing-type { - type L2vpn-pw-sequence; - description "Sequencing Type"; - } - leaf resync-enabled { - type boolean; - description "Resync if packets out of sequence"; - } - leaf resync-threshold { - type uint32; - description - "Number of Packets Out of Seqence to trigger - resync"; - } - leaf protocol { - type L2vpn-signalling-proto; - description "Protocol"; - } - leaf disable-never { - type boolean; - description "TRUE if backup is not automatically disabled"; - } - leaf disable-delay { - type uint8; - description "Disable Deley"; - } - leaf backup-mac-withdraw { - type boolean; - description "TRUE if MAC withdraw message is sent"; - } - leaf tag-rewrite { - type uint16; - description "Static tag rewrite"; - } - leaf preferred-path-disable-fallback { - type boolean; - description "PreferredPathDisableFallback"; - } - leaf load-balance { - type L2vpn-load-bal; - description "Load Balance Type"; - } - leaf pw-flow-label-type-cfg { - type L2vpn-pw-flow-label; - description "Configured pseudowire flow label type"; - } - leaf pw-flow-label-code17-disabled { - type boolean; - description "Disable sending Code 17 TLV"; - } - leaf is-flow-label-static { - type boolean; - description "is flow label static"; - } - } - - grouping L2VPN-G8032-RING-INSTANCE-DETAIL-INFO { - description "L2VPN ethernet ring instance info detail"; - leaf ring-instance { - type uint32; - description "Ring instance number"; - } - leaf ring-description { - type string; - description "Ring description"; - } - leaf ring-profile { - type string; - description "Ring Profile"; - } - leaf rpl { - type L2vpn-g8032-rpl; - description "RPL"; - } - leaf aps-port0 { - type string; - description "Port 0 of aps-channel"; - } - leaf aps-port1 { - type string; - description "Port 1 of aps-channel"; - } - leaf config-state { - type boolean; - description "State of the instance"; - } - leaf unresolved-reason { - type L2vpn-g8032-uncfg-reason; - description "Reason of unresolved state state"; - } - leaf aps-channel-level { - type uint32; - description "APS channel level"; - } - list included-vlan-id { - description "Inclusion list Vlan Ids"; - leaf entry { - type uint16; - } - } - } - - grouping L2VPN-G8032-RING-SUMMARY-INFO { - description "L2VPN ethernet ring info summary"; - leaf ring-name { - type string; - description "Name of the ring"; - } - leaf port0 { - type string; - description "Port 0"; - } - leaf port1 { - type string; - description "Port 1"; - } - } - - grouping L2VPN-G8032-RING-INSTANCE-SUMMARY-INFO { - description "L2VPN ethernet ring instance info summary"; - leaf ring-instance { - type uint32; - description "Ring instance number"; - } - leaf aps-port0 { - type string; - description "Port 0 of aps-channel"; - } - leaf aps-port1 { - type string; - description "Port 1 of aps-channel"; - } - leaf config-state { - type boolean; - description "State of the instance"; - } - list included-vlan-id { - description "Inclusion list Vlan Ids"; - leaf entry { - type uint16; - } - } - } - - grouping L2VPN-G8032-RING-DETAIL-INFO { - description "L2VPN ethernet ring info detail"; - leaf ring-name { - type string; - description "Name of the ring"; - } - leaf port0 { - type string; - description "Port 0"; - } - leaf port1 { - type string; - description "Port 1"; - } - leaf monitor0 { - type string; - description "Monitor port 0"; - } - leaf monitor1 { - type string; - description "Monitor port 1"; - } - leaf is-provider-bridge { - type boolean; - description "Operating mode Customer/Provider "; - } - leaf is-open-ring { - type boolean; - description "Flag open ring"; - } - leaf tcn-propagation { - type boolean; - description "Global TCN propagation"; - } - list excluded-vlan-id { - description "Exclusion Vlan ids list "; - leaf entry { - type uint16; - } - } - } - - grouping L2VPN-DISCO-SUMMARY { - description "L2VPN DISCO SUMMARY"; - leaf number-bridge-domainvpns { - type uint32; - description "Number of BDs registered"; - } - leaf number-mp2m-pxconnect-vpns { - type uint32; - description "Number of XCs registered"; - } - leaf number-local-edges-bridge-domain { - type uint32; - description "Number of local Edges"; - } - leaf number-remote-edges-bridge-domain { - type uint32; - description "Number of Remote Edges"; - } - leaf number-nlri-bridge-domain { - type uint32; - description "Number of NLRI"; - } - leaf number-local-edges-xconnect { - type uint32; - description "Number of local Edges"; - } - leaf number-remote-edges-xconnect { - type uint32; - description "Number of Remote Edges"; - } - leaf number-nlri-xconnect { - type uint32; - description "Number of NLRI"; - } - leaf bgp-stateon-active-rp { - type boolean; - description "BGP state on the active RP"; - } - leaf bgp-stateon-standby-rp { - type boolean; - description "BGP state on standby RP"; - } - leaf vpls-registered { - type boolean; - description "Is the VPLS service registered"; - } - leaf vpws-registered { - type boolean; - description "Is the VPWS service registered"; - } - leaf bgp-ipc-transport-mode { - type L2vpn-ipc-transport-mode; - description "IPC Transport mode with BGP"; - } - leaf bgp-current-node-id { - type xr:Node-id; - description "BGP current node id"; - } - } - - grouping L2VPN-BRIDGE-VNI { - description "L2VPN BRIDGE VNI"; - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - - container statistics { - description "Statistics"; - uses L2FIB-STATS-BAG-FORWARDING; - } - leaf vni { - type uint32; - description "VNI"; - } - leaf overlay { - type string; - description "NVE Overlay"; - } - leaf source-ip-addr { - type inet:ipv4-address; - description "Source IP Address"; - } - leaf multicast-group-addr { - type inet:ipv4-address; - description "Multicast Group Address"; - } - leaf anycast-vtep-ip-addr { - type inet:ipv4-address; - description "Anycast VTEP IP Address"; - } - leaf anycast-mcast-group-addr { - type inet:ipv4-address; - description "Anycast Multicast Group Address"; - } - leaf udp-port { - type uint32; - description "UDP Port"; - } - leaf vni-encap-type { - type L2vpn-vni-encaps; - description "VNI Encapsulation Type"; - } - leaf vni-port-state { - type L2vpn-segment-state; - description "VNI Port State"; - } - leaf vni-mode { - type L2vpn-vni-mode; - description "VNI Mode"; - } - leaf ingress-replication { - type boolean; - description "VNI Ingress Replication is enabled"; - } - leaf xconnect-id { - type uint32; - description "Xconnect ID"; - } - - list static-mac { - description "Static MAC addresses"; - uses L2VPN-BD-MAC; - } - } - - grouping L2VPN-BD-EVPN-PORT { - description "L2VPN EVPN port"; - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - - container statistics { - description "Statistics"; - uses L2FIB-STATS-BAG-FORWARDING; - } - leaf xconnect-id { - type uint32; - description "Xconnect ID"; - } - leaf evpn-port-state { - type L2vpn-virtualport-state; - description "EVPN Port State"; - } - } - - grouping L2VPN-BRIDGE-EVPN-PARAMS { - description "L2VPN BRIDGE EVPN PARAMS"; - - container evpn-port { - description "EVPN Port"; - uses L2VPN-BD-EVPN-PORT; - } - leaf evi { - type uint32; - description "E-VPN id"; - } - } - - grouping L2VPN-BD-PBB-CORE-PORT { - description "L2VPN PBB core port"; - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - leaf xconnect-id { - type uint32; - description "Xconnect ID"; - } - leaf vlan-id { - type uint32; - description "Vlan ID"; - } - leaf core-port-state { - type L2vpn-virtualport-state; - description "PBB Core Port State"; - } - } - - grouping L2VPN-BRIDGE-PBB-CORE { - description "L2VPN BRIDGE PBB CORE"; - - container core-port { - description "PBB Core Port"; - uses L2VPN-BD-PBB-CORE-PORT; - } - leaf num-ass-edge { - type uint32; - description "Number of Associated PBB Edges"; - } - } - - grouping L2VPN-BD-PBB-EDGE-PORT { - description "L2VPN PBB edge port"; - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - - container statistics { - description "Statistics"; - uses L2FIB-STATS-BAG-FORWARDING; - } - leaf xconnect-id { - type uint32; - description "Xconnect ID"; - } - leaf unknown-unicast-mac-set { - type boolean; - description "Unknown Unicast MAC Configured"; - } - leaf unknown-unicast-mac { - type yang:mac-address; - description "Unknown Unicast MAC"; - } - leaf edge-port-state { - type L2vpn-virtualport-state; - description "PBB Edge Port State"; - } - - list bmac-mapping { - description "CMAC to BMAC Mapping"; - uses L2VPN-BD-MAC; - } - } - - grouping L2VPN-BRIDGE-PBB-EDGE { - description "L2VPN BRIDGE PBB EDGE"; - - container edge-port { - description "PBB Edge Port"; - uses L2VPN-BD-PBB-EDGE-PORT; - } - leaf i-sid { - type uint32; - description "SID"; - } - leaf core-bridge-name { - type string; - description "Core Bridge Domain Name"; - } - leaf core-bridge-state { - type L2vpn-bridge-state; - description "Core Bridge State"; - } - leaf mirp-lite-status { - type L2vpn-mirp-lite-status; - description "MIRP-lite Status"; - } - leaf mirp-lite-protocol { - type L2vpn-mirp-lite-protocol-info; - description "MIRP-lite protocol info"; - } - } - - grouping L2VPN-BRIDGE-PBB-PARAMS { - description "L2VPN BRIDGE PBB PARAMS"; - - container pbb-edge { - when "../type = 'l2vpn-bridge-type-pbb-edge'" { - description "../Type = 'L2VPN_BRIDGE_TYPE_PBB_EDGE'"; - } - description "PBB Edge"; - uses L2VPN-BRIDGE-PBB-EDGE; - } - - container pbb-core { - when "../type = 'l2vpn-bridge-type-pbb-core'" { - description "../Type = 'L2VPN_BRIDGE_TYPE_PBB_CORE'"; - } - description "PBB Core"; - uses L2VPN-BRIDGE-PBB-CORE; - } - leaf type { - type L2vpn-bridge; - description "Type"; - } - } - - grouping L2VPN-VFI-P2MP { - description "L2VPN VFI P2MP"; - leaf transport { - type L2vpn-vfi-p2mp-transport; - description "P2MP transport"; - } - leaf signaling { - type L2vpn-vfi-p2mp-signaling; - description "P2MP signaling"; - } - leaf ptree-id { - type uint32; - description "PTree ID"; - } - leaf attribute-set-name { - type string; - description "TE Attribute Set Name"; - } - leaf transport-status { - type P2mp-transport-state; - description "Transport Status"; - } - leaf local-label { - type uint32; - description "P2MP Tunnel Local Label"; - } - leaf tunnel-interface { - type xr:Interface-name; - description "P2MP Tunnel Interface Name"; - } - } - - grouping L2VPN-BD-DISCO { - description "L2VPN BD DISCO"; - - container rd-value { - description "Route Distinguisher"; - uses L2VPN-RD; - } - - container vpls-id { - description "VPLS ID"; - uses L2VPN-VPLS-ID; - } - leaf vpn-id { - type uint32; - description "Vpn ID"; - } - leaf ad-signalling-method { - type uint32; - description "Signaling protocol"; - } - leaf ad-method { - type uint32; - description "Autodiscovery method"; - } - leaf ve-id { - type uint32; - description "VPLS Edge ID"; - } - leaf provisioned-ve-id { - type uint32; - description "Provisioned VPLS edge ID"; - } - leaf ve-range { - type uint16; - description "VE range"; - } - leaf as-number { - type uint32; - description "Autonomous System Number"; - } - leaf l2vpn-router-id { - type inet:ipv4-address; - description "L2PVN Router ID"; - } - leaf vpn-added { - type boolean; - description "Is VPN id configured"; - } - leaf service-connected { - type boolean; - description "Is the BGP service connected?"; - } - leaf vpls-id-conflict { - type boolean; - description "VPLS-ID Conflict"; - } - leaf export-route-policy { - type string; - description "Export Route Policy"; - } - - list import-rt { - description "List of import route targets"; - uses L2VPN-RT; - } - - list export-rt { - description "List of export route targets"; - uses L2VPN-RT; - } - } - - grouping L2VPN-VFI { - description "L2VPN Virtual Forwarding Instance"; - - container discovery-information { - description "Auto Discovery information"; - uses L2VPN-BD-DISCO; - } - leaf vfi-name { - type string; - description "Virtual forwarding instance name"; - } - leaf shutdown { - type boolean; - description "Shutdown"; - } - leaf access { - type boolean; - description "VFI is an Access VFI"; - } - leaf vfi-state { - type L2vpn-vfi-state; - description "VFI state"; - } - leaf number-pseudowires { - type uint32; - description "Number of Pseudowires"; - } - - list p2mp-information { - description "Multicast P2MP information"; - uses L2VPN-VFI-P2MP; - } - } - - grouping L2VPN-BRIDGE { - description "L2VPN BRIDGE"; - - container security-parameters { - description "Security parameters"; - uses L2VPN-BRIDGE-SEC-PARAM; - } - - container pbb-parameters { - description "PBB parameters"; - uses L2VPN-BRIDGE-PBB-PARAMS; - } - - container evpn-parameters { - description "EVPN parameters"; - uses L2VPN-BRIDGE-EVPN-PARAMS; - } - - container vni-parameters { - description "VNI parameters"; - uses L2VPN-BRIDGE-VNI; - } - - container rd { - description "Route Distinguisher"; - uses L2VPN-RD; - } - leaf group-name { - type string; - description "Group name"; - } - leaf bridge-name { - type string; - description "Bridge-domain name"; - } - leaf bridge-domain-id { - type uint32; - description "Identification number"; - } - leaf bridge-description { - type string; - description "Human-readable bridge-domain description"; - } - leaf bridge-state { - type L2vpn-bridge-state; - description "Bridge-domain state"; - } - leaf bridge-coupled-state { - type L2vpn-bridge-coupled-state; - description "Bridge-domain coupled state"; - } - leaf bridge-shg-id { - type uint32; - description "Bridge-domain shgid"; - } - leaf bridge-msti { - type uint32; - description "Bridge-domain msti"; - } - leaf acpwup { - type uint32; - description "Number of bridge ports (AC,PW) which are up"; - } - leaf bridge-internal-msti { - type uint32; - description "Bridge-domain internal msti"; - } - leaf configured { - type boolean; - description "Bridge-domain is configured"; - } - leaf number-vf-is { - type uint32; - description "Number of virtual forwarding interfaces"; - } - leaf number-access-vf-is { - type uint32; - description "Number of Access VFIs"; - } - leaf number-a-cs { - type uint32; - description "Number of attachment circuits"; - } - leaf number-a-cs-up { - type uint32; - description "Number of attachment circuits up"; - } - leaf number-pseudowires { - type uint32; - description "Number of pseudowires"; - } - leaf number-p-ws-up { - type uint32; - description "Number of pseudowires up"; - } - leaf standby-pseudowires { - type uint32; - description "Number of pseudowires standby"; - } - leaf number-pb-bs { - type uint8; - description "Number of pbbs"; - } - leaf number-pb-bs-up { - type uint8; - description "Number of pbbs up"; - } - leaf num-vn-is { - type uint32; - description "Number of VNIs"; - } - leaf num-vn-is-up { - type uint32; - description "Number of VNIs up"; - } - leaf partially-programmed-pseudowires { - type uint32; - description "Number of pseudowires partially programmed"; - } - leaf partially-programmed-a-cs { - type uint32; - description - "Number of attachment circuits partially - programmed"; - } - leaf bridge-mtu { - type uint32; - description "Maximum transmission unit"; - } - leaf shutdown { - type boolean; - description "Administratively disabled"; - } - leaf mac-limit-down { - type boolean; - description "Oper down because MAC limit reached"; - } - leaf flodd-group-id-down { - type boolean; - description "Oper down because no FGID"; - } - leaf mac-withdraw { - type boolean; - description "MAC withdraw enabled"; - } - leaf mac-withdraw-access { - type boolean; - description "MAC Access PW withdraw enabled"; - } - leaf mac-withdraw-relay { - type boolean; - description - "MAC Access PW withdraw relaying from access to - access enabled"; - } - leaf mac-withdraw-option { - type L2vpn-bag-mac-withdraw-option; - description "Event on which MAC withdraw is sent"; - } - leaf p2mp-enabled { - type boolean; - description "P2MP Enabled on this Bridge Domain"; - } - leaf bridge-type { - type L2vpn-bridge; - description "Bridge-domain type"; - } - leaf vine-fsm-state { - type string; - description "VNI, IRB, Native-Evpn state"; - } - leaf time-created { - type string { - length "0..50"; - } - description "Time when the bridge domain was created"; - } - leaf time-elapsed-creation { - type string { - length "0..50"; - } - description "Time elapsed since creation"; - } - leaf last-time-status-changed { - type string { - length "0..50"; - } - description "Last time the bridge domain status changed"; - } - leaf time-elapsed-status-changed { - type string { - length "0..50"; - } - description "Time elapsed since status changed"; - } - leaf load-balance { - type L2vpn-load-bal; - description "Load Balance Type"; - } - leaf is-bridge-partially-programmed { - type boolean; - description "Bridge is partially programmed"; - } - leaf evi { - type uint32; - description "E-VPN id"; - } - leaf is-rd-configured { - type boolean; - description "Config or Auto"; - } - leaf imposition-pkt-count { - type uint64; - description "EVPN Imposition Packet Count"; - } - leaf imposition-byte-count { - type uint64; - description "EVPN Imposition Byte Count"; - } - leaf disposition-pkt-count { - type uint64; - description "EVPN Disposition Packet Count"; - } - leaf disposition-bytecount { - type uint64; - description "EVPN Disposition Byte Count"; - } - leaf as { - type uint32; - description "BGP AS number"; - } - leaf nv-satellite-offload-ipv4-multicast-disabled { - type boolean; - description "nV Satellite Offload IPv4 Multicast Disabled"; - } - - list mac-filter { - description "MAC addresses for filtering"; - uses L2VPN-BD-MAC; - } - - list bridge-vfi { - description "Virtual Forwarding Interfaces"; - uses L2VPN-VFI; - } - - list bridge-access-vfi { - description "Access Virtual Forwarding Interfaces"; - uses L2VPN-VFI; - } - } - - grouping L2VPN-BD-AC { - description "L2VPN Bridge Attachment Circuit"; - - container attachment-circuit { - description "Attachment Circuit"; - uses L2VPN-AC; - } - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - leaf bvi-mac-index { - type uint16; - description "MyMac Index"; - } - - list static-mac { - description "Static MAC addresses"; - uses L2VPN-BD-MAC; - } - - list bvimac { - description "BVI MAC addresses"; - uses L2VPN-BD-MAC; - } - } - - grouping L2VPN-BAG-STORM-CONTROL-TYPE { - description "Storm Control Configuration"; - leaf bd-policer { - type boolean; - description "Bridge Domain Policer"; - } - leaf unicast { - type boolean; - description "Unknown-unicast Storm Control"; - } - leaf multicast { - type boolean; - description "Multicast Storm Control"; - } - leaf broadcast { - type boolean; - description "Broadcast Storm Control"; - } - } - - grouping L2VPN-BRIDGE-SEC-PARAM { - description "L2VPN BRIDGE SEC PARAM"; - - container storm-control { - description "Storm Control Configuration"; - uses L2VPN-BAG-STORM-CONTROL-TYPE; - } - leaf mac-limit { - type uint32; - description "MAC address limit"; - } - leaf mac-limit-action { - type L2vpn-bag-mac-limit-action; - description "MAC limit action"; - } - leaf mac-limit-notification { - type L2vpn-bag-mac-limit-notify; - description "MAC limit notification"; - } - leaf mac-aging-time { - type uint32; - units "second"; - description "MAC aging time in seconds"; - } - leaf mac-aging-mode { - type L2vpn-bag-mac-aging-mode; - description "MAC Aging Mode"; - } - leaf mac-flooding { - type boolean; - description "MAC flooding enabled"; - } - leaf mac-learning { - type boolean; - description "MAC learning enabled"; - } - leaf learn-disabled-mac-limit-action { - type boolean; - description "Learning disabled due to MAC limit action"; - } - leaf flood-uu-disabled-mac-limit-action { - type boolean; - description - "Flooding of unknown-unicast disabled due to MAC - limit action"; - } - leaf mac-limit-reached { - type boolean; - description "MAC limit reached"; - } - leaf mac-limit-threshold { - type uint32; - units "percentage"; - description "MAC Limit Threshold Percentage"; - } - leaf flood-unknown-unicast-enabled { - type boolean; - description "Flooding unknown unicast enabled"; - } - leaf mac-port-down-flush-enabled { - type boolean; - description "MAC Flush when port goes down"; - } - leaf split-horizon-group-id { - type uint32; - description "Split Horizon Group ID"; - } - leaf is-ip-source-guard-enabled { - type boolean; - description "Is IP Source Guard Enabled"; - } - leaf is-ipsg-logging-enabled { - type boolean; - description "Is IP Source Guard Logging Enabled"; - } - leaf is-dai-enabled { - type boolean; - description "Is Dynamic ARP Inspection Enabled"; - } - leaf is-dai-logging-enabled { - type boolean; - description "Is DAI Logging Enabled"; - } - leaf is-dai-addr-validate-source-mac-enabled { - type boolean; - description "Is DAI Source MAC Address Validation Enabled"; - } - leaf is-dai-addr-validate-destination-mac-enabled { - type boolean; - description - "Is DAI Dstination MAC Address Validation Enabled"; - } - leaf is-dai-addr-validate-ipv4-enabled { - type boolean; - description "Is DAI IPv4 Addr Validation Enabled"; - } - leaf is-mac-secure-enabled { - type boolean; - description "Is MAC Secure Enabled"; - } - leaf mac-secure-action { - type L2vpn-bag-mac-secure-action; - description "MAC Secure Action"; - } - leaf is-mac-secure-logging-enabled { - type boolean; - description "Is MAC Secure Logging Enabled"; - } - leaf is-mac-secure-accept-shutdown-enabled { - type boolean; - description "Is MAC Secure Accept Shutdown Enabled (BP only)"; - } - leaf is-mac-secure-threshold-enabled { - type boolean; - description "Is MAC Secure Threshold Enabled"; - } - leaf dai-address-validation-mask { - type uint8; - description "DAI Address Validation mask"; - } - leaf dhcpv4-snoop { - type boolean; - description "DHCPv4 Snoop Status"; - } - leaf dhcpv4-profile-name { - type string; - description "DHCPv4 Profile Name"; - } - leaf igm-pv4-disabled { - type boolean; - description "IGMPv4 Disabled"; - } - leaf igm-pv4-profile-name { - type string; - description "IGMPv4 Profile Name"; - } - leaf mld-profile-name { - type string; - description "MLD Profile Name"; - } - leaf mmrp-flood-optimization { - type boolean; - description "MMRP Flood Optimization Status"; - } - leaf unicast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Unicast Storm Control Rate Unit"; - } - leaf unicast-storm-control-pps { - type uint64; - description "Unicast Storm Control PPS"; - } - leaf unicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Unicast Storm Control KbPS"; - } - leaf multicast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Multicast Storm Control Rate Unit"; - } - leaf multicast-storm-control-pps { - type uint64; - description "Multicast Storm Control PPS"; - } - leaf multicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Multicast Storm Control KbPS"; - } - leaf broadcast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Broadcast Storm Control Rate Unit"; - } - leaf broadcast-storm-control-pps { - type uint64; - description "Broadcast Storm Control PPS"; - } - leaf broadcast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Broadcast Storm Control KbPS"; - } - } - - grouping L2VPN-BRIDGE-PORT-SEC-PARAM { - description "L2VPN BRIDGE PORT SEC PARAM"; - - container base { - description "Basic Security Parameters"; - uses L2VPN-BRIDGE-SEC-PARAM; - } - - container storm-control { - description "Storm Control Configuration"; - uses L2VPN-BAG-STORM-CONTROL-TYPE; - } - leaf unicast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Unicast Storm Control Rate Unit"; - } - leaf unicast-storm-control-pps { - type uint64; - description "Unicast Storm Control PPS"; - } - leaf unicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Unicast Storm Control KbPS"; - } - leaf multicast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Multicast Storm Control Rate Unit"; - } - leaf multicast-storm-control-pps { - type uint64; - description "Multicast Storm Control PPS"; - } - leaf multicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Multicast Storm Control KbPS"; - } - leaf broadcast-storm-control-rate-unit { - type L2vpn-bag-storm-control-rate-unit; - description "Broadcast Storm Control Rate Unit"; - } - leaf broadcast-storm-control-pps { - type uint64; - description "Broadcast Storm Control PPS"; - } - leaf broadcast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Broadcast Storm Control KbPS"; - } - leaf dhcpv4-trust { - type boolean; - description "DHCPv4 Trust Status"; - } - } - - grouping L2VPN-BD-MAC { - description "L2VPN Static MAC Address"; - leaf address { - type yang:mac-address; - description "MAC address"; - } - leaf bmac { - type yang:mac-address; - description "Backbone MAC address"; - } - leaf next-hop-ip { - type inet:ipv4-address; - description "Next Hop IP"; - } - } - - grouping L2VPN-BD-PW { - description "L2VPN Bridge Pseudowire"; - - container pseudowire { - description "Pseudowire"; - uses L2VPN-PW; - } - - container security-parameters { - description "Security Parameters"; - uses L2VPN-BRIDGE-PORT-SEC-PARAM; - } - leaf is-access { - type boolean; - description "Is Access PW"; - } - - list static-mac { - description "Static MAC addresses"; - uses L2VPN-BD-MAC; - } - } - - grouping L2VPN-RESOURCE-STATE { - description "L2VPN Resource State"; - leaf resource-out-of-memory-state { - type uint32; - description "L2VPN Out of memory state"; - } - } - - grouping L2VPN-PWHE-RANGE { - description "L2VPN PWHE RANGE"; - leaf lower { - type uint16; - description "lower range"; - } - leaf upper { - type uint16; - description "upper range"; - } - } - - grouping L2VPN-GENERIC-IF-LIST { - description "L2VPN GENERIC IF LIST"; - leaf interface-list-name-xr { - type string { - length "0..33"; - } - description "Interface-list name"; - } - leaf interface-list-id { - type uint32; - description "Interface internal ID"; - } - leaf number-of-interfaces { - type uint32; - description "Number of interfaces"; - } - leaf items { - type uint32; - description "Number of items"; - } - - list interface { - description "Interfaces"; - uses IFLIST-IF; - } - } - - grouping L2VPN-GENERIC-IF-LIST-DETAIL { - description "L2VPN GENERIC IF LIST DETAIL"; - - container summary { - description "Summary information"; - uses L2VPN-GENERIC-IF-LIST; - } - leaf items { - type uint32; - description "Number of items"; - } - leaf is-provisioned { - type boolean; - description "Is Provisioned"; - } - leaf psedowire-ether-items { - type uint32; - description "Number PW Ether Items"; - } - leaf pseudowire-iw-items { - type uint32; - description "Number PW IW Items"; - } - - list interface { - max-elements "8"; - description "Interfaces"; - uses IFLIST-IF; - } - - list pseudowire-ether-range { - description "PW-Ether ranges"; - uses L2VPN-PWHE-RANGE; - } - - list pseudowire-iw-range { - description "PW-IW ranges"; - uses L2VPN-PWHE-RANGE; - } - } - - grouping L2VPN-MSTI-BD-ENTRY { - description "L2VPN MSTi BD Entry"; - leaf bdid { - type uint32; - description "BD ID"; - } - leaf bdif-count { - type uint32; - description "BD Intf Count"; - } - } - - grouping L2VPN-MSTI-ENTRY { - description "L2VPN MSTI Entry"; - leaf cfg-ms-ti { - type uint32; - description " Configured MSTi"; - } - leaf rcv-count { - type uint32; - description "Receive count "; - } - leaf ack-count { - type uint32; - description "Ack count "; - } - leaf nack-count { - type uint32; - description "Nack count "; - } - leaf flush-count { - type uint32; - description "Flush count "; - } - leaf interface-count { - type uint32; - description "Interface count"; - } - leaf bd-count { - type uint32; - description "BD count"; - } - leaf msti-flags { - type uint32; - description "Msti Flags"; - } - leaf msti-state { - type L2vpn-msti-state; - description "Msti State"; - } - - list bd-entry { - description "BD entries"; - uses L2VPN-MSTI-BD-ENTRY; - } - } - - grouping L2VPN-MSTP-PORT { - description "L2VPN MSTP PORT"; - leaf mstp-interface-handle { - type xr:Interface-name; - description "Interface handle"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf protected { - type boolean; - description "Protected"; - } - leaf reference-count { - type uint32; - description "Reference Count"; - } - - list msti-entry { - description "MSTI"; - uses L2VPN-MSTI-ENTRY; - } - } - - grouping L2VPN-XC-SUMMARY { - description "L2VPN XC SUMMARY"; - leaf number-groups { - type uint32; - description "Number of groups"; - } - leaf number-xconnects { - type uint32; - description "Number of xconnects"; - } - leaf number-xconnects-up { - type uint32; - description "Numxber of xconnects whose state is up"; - } - leaf number-xconnects-down { - type uint32; - description "Number of xconnects whose state is down"; - } - leaf number-xconnects-unresolved { - type uint32; - description "Number of xconnects whose state is unresolved"; - } - leaf number-xconnects-administratively-down { - type uint32; - description - "Number of xconnects with segments in admin down - state"; - } - leaf number-xconnects-type-attachment-circuit-to-pseudo-wire { - type uint32; - description - "Number of xconnects of type attachment circuit - to pseudowire"; - } - leaf number-xconnects-type-monitor-session-to-pseudo-wire { - type uint32; - description - "Number of xconnects of type monitor session to - pseudowire"; - } - leaf number-xconnects-locally-switched { - type uint32; - description "Number of locally switched xconnects"; - } - leaf number-xconnects-with-backup-pw { - type uint32; - description "Number of XCs configured with backup PW"; - } - leaf number-xconnects-currently-using-backup { - type uint32; - description - "Number of XCs currently using backup PW (UP - state)"; - } - leaf down-backup-xconnects { - type uint32; - description "Number of XCs with backup PW in down state"; - } - leaf admin-down-backup-xconnects { - type uint32; - description - "Number of XCs with backup PW in admin down state"; - } - leaf unresolved-backup-xconnects { - type uint32; - description - "Number of XCs with backup PW in unresolved state"; - } - leaf standby-backup-xconnects { - type uint32; - description "Number of XCs with backup PW in standby state"; - } - leaf standby-ready-backup-xconnects { - type uint32; - description - "Number of XCs with backup PW in standby ready - state"; - } - leaf out-of-memory-state { - type uint32; - description "L2VPN Out of memory state"; - } - leaf number-xconnects-type-pseudo-wire-to-pseudo-wire { - type uint32; - description - "Number of xconnects of type PseudoWire To - PseudoWire"; - } - leaf number-mp2mp-xconnects { - type uint32; - description "Number of mp2mp xconnects"; - } - leaf number-mp2mp-xconnects-up { - type uint32; - description "Number of Mp2mp XCs that have been admined up"; - } - leaf number-mp2mp-xconnects-down { - type uint32; - description "Number of Mp2mp XCs that have ben admined down"; - } - leaf number-mp2mp-xconnects-advertised { - type uint32; - description "Number of Mp2mp XCs that have been advertized"; - } - leaf number-mp2mp-xconnectss-not-advertised { - type uint32; - description - "Number of Mp2mp XCs that have not been - advertized"; - } - leaf number-ce2-ceconnections { - type uint32; - description "Number of Ce2Ce connections"; - } - leaf number-ce2ce-advertized { - type uint32; - description - "Number of CE2CE connections that have been - advertized"; - } - leaf number-ce2ce-not-advertized { - type uint32; - description - "Number of CE2CE connections that have not been - advertized"; - } - leaf partially-programmed-xconnects { - type uint32; - description "Number of cross-connects partially programmed"; - } - leaf number-xconnects-with-backup-interface { - type uint32; - description "Number of XCs configured with backup interface"; - } - leaf number-xconnects-currently-using-backup-interface { - type uint32; - description - "Number of XCs currently using backup interface - (UP state)"; - } - leaf down-backup-interface-xconnects { - type uint32; - description - "Number of XCs with backup interface in down - state"; - } - leaf admin-down-backup-interface-xconnects { - type uint32; - description - "Number of XCs with backup interface in admin - down state"; - } - leaf unresolved-backup-interface-xconnects { - type uint32; - description - "Number of XCs with backup interface in - unresolved state"; - } - leaf standby-backup-interface-xconnects { - type uint32; - description - "Number of XCs with backup interface in standby - state"; - } - } - - grouping L2VPN-INDEX-INFO { - description "L2VPN ID Info"; - leaf pool-id-xr { - type uint32; - description "Pool Id"; - } - leaf application-type { - type L2vpn-id-mgr-app; - description "Application Type"; - } - leaf allocated-ids { - type uint32; - description "Number of IDs allocated"; - } - leaf zombied-ids { - type uint32; - description "Number of IDs allocated"; - } - leaf pool-size { - type uint32; - description "Pool size"; - } - leaf max-num-id-mgr { - type uint32; - description "Maximum number of pool extensions"; - } - leaf num-id-mgr-in-use { - type uint32; - description "ID mgr instances in use"; - } - } - - grouping L2VPN-RT-ES-IMPORT { - description "L2VPN RT ES IMPORT"; - leaf high-bytes { - type uint32; - description "Top 4 bytes of ES Import"; - } - leaf low-bytes { - type uint16; - description "Low 2 bytes of ES Import"; - } - } - - grouping L2VPN-RT-V4ADDR { - description "L2VPN RT V4ADDR"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RT-4BYTE-AS { - description "L2VPN RT 4BYTE AS"; - leaf four-byte-as { - type uint32; - description "4 Byte AS Number"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RT-2BYTE-AS { - description "L2VPN RT 2BYTE AS"; - leaf two-byte-as { - type uint16; - description "2 Byte AS Number"; - } - leaf four-byte-index { - type uint32; - description "4 Byte Index"; - } - } - - grouping L2VPN-RT { - description "L2VPN RT"; - - container two-byte-as { - when "../rt = 'l2vpn-ad-rt-as'" { - description "../RT = 'L2VPN_AD_RT_AS'"; - } - description "two byte as"; - uses L2VPN-RT-2BYTE-AS; - } - - container four-byte-as { - when "../rt = 'l2vpn-ad-rt-4byte-as'" { - description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; - } - description "four byte as"; - uses L2VPN-RT-4BYTE-AS; - } - - container v4-addr { - when "../rt = 'l2vpn-ad-rt-v4-addr'" { - description "../RT = 'L2VPN_AD_RT_V4ADDR'"; - } - description "v4 addr"; - uses L2VPN-RT-V4ADDR; - } - - container es-import { - when "../rt = 'es-import'" { - description "../RT = 'ES_Import'"; - } - description "es import"; - uses L2VPN-RT-ES-IMPORT; - } - leaf rt { - type L2vpn-ad-rt; - description "RT"; - } - } - - grouping L2VPN-XC-DISCO { - description "L2VPN XC DISCO"; - - container rd-value { - description "Route Distinguisher"; - uses L2VPN-RD; - } - leaf ad-method { - type uint32; - description "Autodiscovery Method"; - } - leaf vpn-added { - type boolean; - description "VPN Added"; - } - leaf ad-service-connected { - type boolean; - description "Service Connected"; - } - leaf ad-signalling-method { - type uint32; - description "Signaling Protocol"; - } - leaf ce-range { - type uint16; - description "CE Range"; - } - leaf export-route-policy { - type string; - description "Export Route Policy"; - } - leaf number-a-cs-up { - type uint32; - description "Number of attachment circuits up"; - } - leaf number-p-ws-up { - type uint32; - description "Number of pseudowires up"; - } - leaf number-ce2ce-advertised { - type uint32; - description "Number of ce2ce Advertised"; - } - leaf number-a-cs { - type uint32; - description "Number of attachment circuits"; - } - leaf number-pseudowires { - type uint32; - description "Number of pseudowires"; - } - leaf number-ce2c-es { - type uint32; - description "Number of ce2ce"; - } - - list import-rt { - description "Import Route Targets"; - uses L2VPN-RT; - } - - list export-rt { - description "Export Route Targets"; - uses L2VPN-RT; - } - } - - grouping L2VPN-MP2MP-XC { - description "L2VPN MP2MP XC"; - - container discovery { - description "l2vpn xc auto discovery info"; - uses L2VPN-XC-DISCO; - } - leaf group-name-xr { - type string; - description "Group name"; - } - leaf mp2mp-name { - type string; - description "MP2MP name"; - } - leaf mp2mpid { - type uint32; - description "Identification Number"; - } - leaf vpn-id { - type uint32; - description "Vpn ID"; - } - leaf vpn-mtu { - type uint32; - description "VPN MTU"; - } - leaf l2-encapsulation { - type L2vpn-bag-ad-encap; - description "L2 Encapsulation"; - } - leaf xconnect-shutdown { - type boolean; - description "Administratively disabled"; - } - } - - grouping L2VPN-GROUP { - description "L2VPN GROUP"; - leaf group-name-xr { - type string; - description "Group name"; - } - leaf number-xconnects { - type uint32; - description "Number of xconnects"; - } - } - - grouping L2VPN-P2MP-PW { - description "L2VPN P2MP PW"; - leaf local-available { - type boolean; - description "Local LSM info available"; - } - leaf local-label { - type uint32; - description "Local Label"; - } - leaf local-ptree-type { - type L2vpn-p2mp-pw-ptree; - description "Local P-Tree Type"; - } - leaf local-tunnel-id { - type uint32; - description "Local Tunnel ID"; - } - leaf local-extended-tunnel-id { - type inet:ipv4-address; - description "Local Extended Tunnel ID"; - } - leaf local-p2mp-id { - type uint32; - description "Local P2MP ID"; - } - leaf local-flags { - type uint8; - description - "Local Flags (see - draft-ietf-l3vpn-2547bis-mcast-bgp-08)"; - } - leaf remote-available { - type boolean; - description "Remote LSM info available"; - } - leaf remote-label { - type uint32; - description "Remote Label"; - } - leaf remote-ptree-type { - type L2vpn-p2mp-pw-ptree; - description "Remote P-Tree Type"; - } - leaf remote-tunnel-id { - type uint32; - description "Remote Tunnel ID"; - } - leaf remote-extended-tunnel-id { - type inet:ipv4-address; - description "Remote Extended Tunnel ID"; - } - leaf remote-p2mp-id { - type uint32; - description "Remote P2MP ID"; - } - leaf remote-flags { - type uint8; - description - "Remote Flags (see - draft-ietf-l3vpn-2547bis-mcast-bgp-08)"; - } - } - - grouping L2VPN-MS-PW-TLV-INFO { - description "L2VPN MS PW TLV INFO"; - leaf pw-id { - type uint32; - description "PW ID of last PW segment traversed"; - } - leaf local-address { - type inet:ipv4-address; - description "Local IP Address of PW Switching Point"; - } - leaf remote-address { - type inet:ipv4-address; - description - "Remote IP Address of Last PW Switching Point - traversed"; - } - leaf description { - type string; - description "PW Switching Point description"; - } - } - - grouping L2VPN-MS-PW { - description "L2VPN MS PW"; - - container status-tlv { - description "PW Status Switching TLV"; - uses L2VPN-MS-PW-TLV-INFO; - } - leaf pw-status { - type uint32; - description "PW Status"; - } - - list tlv { - description "Switching TLV info"; - uses L2VPN-MS-PW-TLV-INFO; - } - } - - grouping L2VPN-MPLS-PREFPATH { - description "L2VPN MPLS PREFPATH"; - leaf policy-name { - type string; - description "SR TE Policy Name"; - } - } - - grouping L2VPN-PW-MPLS-PREFPATH { - description "L2VPN PW MPLS PREFPATH"; - - container srte-policy { - when "../option = 'l2vpn-pw-mpls-pref-path-sr-te'" { - description "../Option = 'L2VPN_PW_MPLS_PREFPATH_SR_TE'"; - } - description "srte policy"; - uses L2VPN-MPLS-PREFPATH; - } - leaf option { - type L2vpn-prefpath-option; - description "Option"; - } - leaf next-hop-ip { - when "../option = 'l2vpn-pw-mpls-pref-path-next-hop-ip'" { - description - "../Option = - 'L2VPN_PW_MPLS_PREFPATH_NEXT_HOP_IP'"; - } - type uint32; - description "NextHopIP"; - } - leaf te-tunnel-interface-number { - when "../option = 'l2vpn-pw-mpls-pref-path-te-tunnel'" { - description - "../Option = 'L2VPN_PW_MPLS_PREFPATH_TE_TUNNEL'"; - } - type uint32; - description "TETunnelInterfaceNumber"; - } - leaf ip-tunnel-interface-number { - when "../option = 'l2vpn-pw-mpls-pref-path-ip-tunnel'" { - description - "../Option = 'L2VPN_PW_MPLS_PREFPATH_IP_TUNNEL'"; - } - type uint32; - description "IPTunnelInterfaceNumber"; - } - leaf tp-tunnel-interface-number { - when "../option = 'l2vpn-pw-mpls-pref-path-tp-tunnel'" { - description - "../Option = 'L2VPN_PW_MPLS_PREFPATH_TP_TUNNEL'"; - } - type uint32; - description "TPTunnelInterfaceNumber"; - } - } - - grouping L2VPN-L2TPV3 { - description "L2VPN L2TPV3"; - leaf l2tp-class-name { - type string { - length "0..32"; - } - description "L2TPClassName"; - } - leaf ipv4-source-address { - type inet:ipv4-address; - description "IPv4 source address"; - } - leaf ipv6-source-address { - type inet:ipv6-address; - description "IPv6 source address"; - } - leaf path-mtu-enabled { - type boolean; - description "Path MTU enabled"; - } - leaf path-mtu-max-value { - type uint16; - description "Path MTU Maximum allowable session MTU"; - } - leaf dont-fragment-bit { - type boolean; - description "Don't Fragment Bit"; - } - leaf tos-mode { - type L2vpn-tos-mode; - description "Type Of Service Mode"; - } - leaf tos { - type uint8; - description "Type Of Service Value"; - } - leaf ttl { - type uint8; - description "Time To Live value"; - } - leaf local-session-id { - type uint32; - description "Local session id"; - } - leaf remote-session-id { - type uint32; - description "Remote session id"; - } - leaf local-cookie-size { - type uint8; - description "Local cookie size: 0, 4, or 8 bytes"; - } - leaf remote-cookie-size { - type uint8; - description "Remote cookie size: 0, 4, or 8 bytes"; - } - leaf local-cookie-low-value { - type uint32; - description "Lower 4 bytes of the value of the local cookie"; - } - leaf remote-cookie-low-value { - type uint32; - description "Lower 4 bytes of the value of the remote cookie"; - } - leaf local-cookie-high-value { - type uint32; - description "Upper 4 bytes of the value of the local cookie"; - } - leaf remote-cookie-high-value { - type uint32; - description "Upper 4 bytes of the value of the remote cookie"; - } - leaf remote-circuit-status-up { - type boolean; - description "RemoteCircuitStatusUp"; - } - leaf tunnel-state { - type L2vpn-l2tp-tunnel-state; - description "L2TP tunnel state"; - } - leaf local-secondary-cookie-size { - type uint8; - description "Local secondary cookie size: 0, 4, or 8 bytes"; - } - leaf local-secondary-cookie-low-value { - type uint32; - description - "Lower 4 bytes of the value of the local - secondary cookie"; - } - leaf local-secondary-cookie-high-value { - type uint32; - description - "Upper 4 bytes of the value of the local - secondary cookie"; - } - } - - grouping L2FIB-STATS-BAG-MSPW { - description "L2FIB Multisegment pseudowire statistics"; - leaf received-packets { - type uint64; - description "Packets received"; - } - leaf received-bytes { - type uint64; - units "byte"; - description "Bytes received"; - } - } - - grouping L2VPN-ATOM { - description "L2VPN ATOM"; - - container local-agi { - description "Local Attachment Group Identifier"; - uses L2VPN-VPLS-ID; - } - - container remote-agi { - description "Remote Attachment Group Identifier"; - uses L2VPN-VPLS-ID; - } - - container multi-segment-pseudowire-stats { - description "Multisegment pseudowire statistics"; - uses L2FIB-STATS-BAG-MSPW; - } - leaf is-pseudowire-headend { - type boolean; - description "Is this connected to a PW-HE AC"; - } - leaf local-label { - type uint32; - description "Local label"; - } - leaf remote-label { - type uint32; - description "Remote label"; - } - leaf local-group-id { - type uint32; - description "Local group ID"; - } - leaf remote-group-id { - type uint32; - description "Remote group ID"; - } - leaf local-cv-type { - type uint8; - description "Local VCCV CV type"; - } - leaf local-c-ctype { - type uint8; - description "Local VCCV CC type"; - } - leaf remote-cv-type { - type uint8; - description "Remote VCCV CV type"; - } - leaf remote-c-ctype { - type uint8; - description "Remote VCCV CC type"; - } - leaf local-veid { - type uint32; - description "Local VE ID"; - } - leaf remote-veid { - type uint32; - description "Remote VE ID"; - } - leaf local-ceid { - type uint32; - description "Local CE ID"; - } - leaf remote-ceid { - type uint32; - description "Remote CE ID"; - } - leaf source-address { - type inet:ipv4-address; - description "Local BGP source address"; - } - leaf remote-source-address { - type inet:ipv4-address; - description "Remote BGP source address"; - } - leaf local-ldp-id { - type inet:ipv4-address; - description "Local LDP ID"; - } - leaf remote-ldp-id { - type inet:ipv4-address; - description "Remote LDP ID"; - } - leaf saii { - type inet:ipv4-address; - description "Source Attachment Individual Identifer"; - } - leaf taii { - type inet:ipv4-address; - description "Target Attachment Individual Identifer"; - } - leaf is-sai-itype2 { - type boolean; - description "Is SAII FEC129 Type 2"; - } - leaf local-saii-gbl-id { - type uint32; - description "Local SAII Global ID"; - } - leaf local-saiiac-id { - type uint32; - description "Local SAII AC ID"; - } - leaf is-tai-itype2 { - type boolean; - description "Is TAII type 2"; - } - leaf local-taii-gbl-id { - type uint32; - description "Local TAII Global ID"; - } - leaf local-taiiac-id { - type uint32; - description "Local TAII AC ID"; - } - leaf rem-saii-gbl-id { - type uint32; - description "Remote SAII Global ID"; - } - leaf rem-saiiac-id { - type uint32; - description "Remote SAII AC ID"; - } - leaf rem-taii-gbl-id { - type uint32; - description "Remote TAII Global ID"; - } - leaf rem-taiiac-id { - type uint32; - description "Remote TAII AC ID"; - } - leaf rem-saii { - type inet:ipv4-address; - description "Remote Source Attachment Individual Identifer"; - } - leaf rem-taii { - type inet:ipv4-address; - description "Remote Target Attachment Individual Identifer"; - } - leaf lsd-rewrite-failed { - type boolean; - description "LSD rewrite failed"; - } - leaf ldp-label-advertisment-failed { - type boolean; - description "LDP label advertisment failed"; - } - } - - grouping L2VPN-ENCAP-PW { - description "L2VPN ENCAP PW"; - - container atom { - when "../encapsulation = 'l2vpn-pw-encaps-mpls'" { - description "../Encapsulation = 'L2VPN_PW_ENCAPS_MPLS'"; - } - description "atom"; - uses L2VPN-ATOM; - } - - container l2tpv3 { - when "../encapsulation = 'l2vpn-pw-encaps-l2tpv3'" { - description "../Encapsulation = 'L2VPN_PW_ENCAPS_L2TPV3'"; - } - description "l2tpv3"; - uses L2VPN-L2TPV3; - } - leaf encapsulation { - type L2vpn-encap-method; - description "Encapsulation"; - } - } - - grouping L2VPN-PEER { - description "L2VPN PEER"; - leaf type { - type L2vpn-peer; - description "type"; - } - leaf ipv4-peer-id { - when "../type = 'ipv4'" { - description "../type = 'IPV4'"; - } - type inet:ipv4-address; - description "Peer IPv4 address"; - } - leaf ipv6-peer-id { - when "../type = 'ipv6'" { - description "../type = 'IPV6'"; - } - type L2vpn-bag-in6-addr; - description "Peer IPv6 address"; - } - leaf internal-label { - when "../type = 'internal-label'" { - description "../type = 'InternalLabel'"; - } - type uint32; - description "Internal Label"; - } - } - - grouping L2VPN-PW { - description "L2VPN PW"; - - container peer-id { - description "Peer"; - uses L2VPN-PEER; - } - - container encapsulation-info { - description "Encapsulation specific pseudowire information"; - uses L2VPN-ENCAP-PW; - } - - container local-interface { - description "Local interface"; - uses L2VPN-INTERFACE; - } - - container remote-interface { - description "Remote interface"; - uses L2VPN-INTERFACE; - } - - container preferred-path { - description "MPLS Preferred Path"; - uses L2VPN-PW-MPLS-PREFPATH; - } - - container local-signalling { - description "Local signalling"; - uses L2VPN-MS-PW; - } - - container remote-signalling { - description "Remote signalling"; - uses L2VPN-MS-PW; - } - - container statistics { - description "Statistics"; - uses L2FIB-STATS-BAG-FORWARDING; - } - - container p2mp-pw { - description "P2MP Pseudowire Information"; - uses L2VPN-P2MP-PW; - } - leaf local-source-address { - type inet:ipv4-address; - description "Local Source Address"; - } - leaf ipv6-local-source-address { - type inet:ipv6-address; - description "Local IPv6 Source Address"; - } - leaf pseudo-wire-id { - type uint64; - description "Pseudowire ID"; - } - leaf is-pwr-type { - type boolean; - description "is Pseudowire-routed"; - } - leaf is-evpn-vpws-type { - type boolean; - description "is EVPN VPWS"; - } - leaf xconnect-id { - type uint32; - description "XConnect ID"; - } - leaf state { - type L2vpn-segment-state; - description "State"; - } - leaf pseudo-wire-state { - type L2vpn-pw-state; - description "Pseudowire state"; - } - leaf protocol { - type L2vpn-signalling-proto; - description "Protocol"; - } - leaf pw-class-name { - type string { - length "0..33"; - } - description "Pseudowire class name"; - } - leaf tag-rewrite { - type uint16; - description "StaticTagRewrite"; - } - leaf interworking { - type L2vpn-interworking; - description "Interworking type"; - } - leaf fe-ctype { - type L2vpn-pw-fec; - description "Pseudowire FEC type"; - } - leaf evpn-src-acid { - type uint32; - description "EVPN VPWS Source AC ID"; - } - leaf sequencing-type { - type L2vpn-pw-sequence; - description "Sequencing Type"; - } - leaf resync-enabled { - type boolean; - description "Resync if packets out of sequence"; - } - leaf resync-threshold { - type uint32; - description - "Number of Packets Out of Seqence to trigger - resync"; - } - leaf local-control-word { - type L2vpn-pw-control-word; - description "Local control word"; - } - leaf remote-control-word { - type L2vpn-pw-control-word; - description "Remote control word"; - } - leaf local-pseudo-wire-type { - type L2vpn-pw; - description "Local pseudowire type"; - } - leaf remote-pseudo-wire-type { - type L2vpn-pw; - description "Remote pseudowire type"; - } - leaf imposed-vlan-id { - type uint32; - description "Imposed vlan id"; - } - leaf time-created { - type string { - length "0..50"; - } - description "Time when the pseudowire was created"; - } - leaf time-elapsed-creation { - type string { - length "0..50"; - } - description "Time elapsed since creation"; - } - leaf last-time-status-changed { - type string { - length "0..50"; - } - description "Last time the pseudowire status changed"; - } - leaf time-elapsed-status-changed { - type string { - length "0..50"; - } - description "Time elapsed since status changed"; - } - leaf last-time-status-down { - type string { - length "0..50"; - } - description - "Last time the pseudowire went down in format - %d/%m/%Y %H:%M:%S"; - } - leaf time-elapsed-status-down { - type uint32; - units "second"; - description "Time elapsed since last status down in seconds"; - } - leaf shutdown { - type boolean; - description "Shutdown"; - } - leaf pseudo-wire-type-mismatched { - type boolean; - description "Pseudowire type mismatched"; - } - leaf payload-bytes-mismatched { - type boolean; - description "Payload bytes mismatched"; - } - leaf bitrate-mismatched { - type boolean; - description "Bitrate mismatched"; - } - leaf rtp-mismatched { - type boolean; - description "RTP mismatched"; - } - leaf diff-ts-mismatched { - type boolean; - description "Differential timestamp mismatched"; - } - leaf sig-pkts-mismatched { - type boolean; - description "Signalling packets mismatched"; - } - leaf cas-mismatched { - type boolean; - description "CAS mismatched"; - } - leaf payload-type-mismatched { - type boolean; - description "Payload bytes mismatched"; - } - leaf freq-mismatched { - type boolean; - description "Frequency mismatched"; - } - leaf ssrc-mismatched { - type boolean; - description "SSRC mismatched"; - } - leaf mtu-mismatched { - type boolean; - description "MTU mismatched"; - } - leaf illegal-control-word { - type boolean; - description "Illegal control word"; - } - leaf ad-remote-down { - type boolean; - description "Auto-Discovered PW remote state down"; - } - leaf not-supported-qinq { - type boolean; - description - "A true value indicates that QinQ is not - supported with L2TPv3; A false value indicates - that it is supported. Please note that this - object has been deprecated and will be removed - in the near future since QinQ is supported going - forward."; - } - leaf local-label-failed { - type boolean; - description "Failed to set BGP advertised local label"; - } - leaf remote-label-failed { - type boolean; - description "Failed to set BGP advertised remote label"; - } - leaf preferred-path-disable-fallback { - type boolean; - description "Prefpath fallback enable/disable"; - } - leaf backup-pw { - type boolean; - description "TRUE if PW is a backup PW"; - } - leaf primary-pw { - type boolean; - description "TRUE if PW is a primary PW"; - } - leaf backup-active { - type boolean; - description "TRUE if backup is active"; - } - leaf backup-force-active { - type boolean; - description "TRUE if backup is active due to switchover"; - } - leaf disable-never { - type boolean; - description "TRUE if backup is not automatically disabled"; - } - leaf disable-delay { - type uint8; - description "Backup disable delay"; - } - leaf primary-peer-id { - type inet:ipv4-address; - description "Primary Peer IP address"; - } - leaf primary-pseudo-wire-id { - type uint64; - description "Primary Pseudowire ID"; - } - leaf number-ma-cwithdraw-message-sent { - type uint32; - description "Num MW messages sent over PW"; - } - leaf num-ma-cwithdraw-msg-received { - type uint32; - description "Num MW messages received over PW"; - } - leaf out-of-memory-state { - type uint32; - description "L2VPN Out of memory state"; - } - leaf transport-lsp-down { - type boolean; - description "Oper down due to Transport LSP down"; - } - leaf mac-limit-oper-down { - type boolean; - description "Oper down because MAC limit reached"; - } - leaf pw-status-use { - type boolean; - description "PW status in use"; - } - leaf auto-discovery { - type boolean; - description "Is autodiscovery"; - } - leaf ad-method { - type uint32; - description "Autodiscovery method"; - } - leaf pwlsd-rewrite-failed { - type boolean; - description "LSD rewrite failed"; - } - leaf ldp-label-advertise-failed { - type boolean; - description "LDP label advertisment failed"; - } - leaf is-vfi { - type boolean; - description "Is VFI interface"; - } - leaf is-multi-segment-pseudowire { - type boolean; - description "Is Multi-Segment Pseudowire"; - } - leaf pw-redundancy-one-way { - type boolean; - description - "Force one-way PW redundancy behaviour in - Redundancy Group"; - } - leaf load-balance { - type L2vpn-load-bal; - description "Load Balance Type"; - } - leaf pw-flow-label-type { - type L2vpn-pw-flow-label; - description "Negotiated pseudowire flow label type"; - } - leaf pw-flow-label-type-cfg { - type L2vpn-pw-flow-label; - description "Configured pseudowire flow label Type"; - } - leaf pw-flow-label-code17-disabled { - type boolean; - description "Disable sending Code 17 TLV"; - } - leaf is-flow-label-static { - type boolean; - description "is flow label static"; - } - leaf is-partially-programmed { - type boolean; - description "Is Pseudowire partially programmed"; - } - leaf pw-redundancy-initial-delay { - type uint8; - units "second"; - description "Initial delay for redundant PW in seconds"; - } - leaf bridge-pw-type-mismatch { - type boolean; - description - "Oper down because Bridge has mismatched PW Types"; - } - leaf required-bw { - type uint32; - description "Required Bandwidth"; - } - leaf admited-bw { - type uint32; - description "Admited Bandwidth"; - } - leaf forward-class { - type uint8; - description "Forward Class attribute"; - } - leaf table-policy-name { - type string; - description "Table-policy Name"; - } - } - - grouping L2VPN-PROTECTION { - description "L2VPN PROTECTION"; - leaf protection-type { - type L2vpn-protection; - description "Type of the protection"; - } - leaf protection-configured { - type L2vpn-protection-role; - description "Protection configured"; - } - leaf protection-name { - type string { - length "0..65"; - } - description "Name of the segment acting as backup"; - } - leaf protected-name { - type string { - length "0..65"; - } - description "Name of the protected segment"; - } - leaf active { - type boolean; - description "Active"; - } - } - - grouping L2FIB-STATS-BAG-SEQ-NUM { - description "L2FIB sequence numbers"; - leaf sequence-number-sent { - type uint32; - description "sequence number sent"; - } - leaf sequence-number-expected { - type uint32; - description "sequence number expected"; - } - leaf bypassed-inbound-sequence-packet { - type uint64; - description "Bypassed inbound sequence packets"; - } - leaf bypassed-out-sequence-packet { - type uint64; - description "Bypassed outbound sequence packets"; - } - } - - grouping L2FIB-STATS-BAG-DISP { - description "L2FIB disposition statistics"; - - container disposition-stat { - description "disposition stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container disposition-mtu-drop { - description "disposition mtu drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container disposition-tail-drop { - description "disposition tail drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container multicast-drop { - description "disposition storm control multicast drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container unicast-drop { - description - "disposition storm control unknown unicast drop - stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container broadcast-drop { - description "disposition storm control broadcast drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container received-drops { - description "tx discards"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container dai-drop { - description - "Disposition dynamic ARP inspection drop - statistics"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container ipsg-drop { - description "disposition IP source guard drop statistics"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container disposition-oo-o-drops { - description "Disposition Out-of-Order Drops"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container disposition-p2mp-stats { - description "Disposition P2MP Stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container known-unicast { - description "Known Unicast"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container mac-move { - description "MAC Move"; - uses L2FIB-STATS-BAG-COUNTERS; - } - } - - grouping L2FIB-STATS-BAG-COUNTERS { - description "L2FIB statistics counters"; - leaf packet-counts { - type uint64; - description "packets counters"; - } - leaf byte-counts { - type uint64; - units "byte"; - description "bytes counters"; - } - } - - grouping L2FIB-STATS-BAG-IMP { - description "L2FIB imposition statistics"; - - container imposition-stat { - description "imposition stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container imposition-mtu-drop { - description "imposition mtu drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container impostion-tail-drop { - description "imposition tail drop stats"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container l2fsbi-drop { - description "rx discards"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container multicast { - description "Multicast"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container broadcast { - description "Broadcast"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container known-unicast { - description "Known Unicast"; - uses L2FIB-STATS-BAG-COUNTERS; - } - - container unknown-unicast { - description "Unknown Unicast"; - uses L2FIB-STATS-BAG-COUNTERS; - } - } - - grouping L2FIB-STATS-BAG-FORWARDING { - description "L2FIB forwarding statistics"; - - container impostion-stats { - description "imposition stats"; - uses L2FIB-STATS-BAG-IMP; - } - - container dispostion-stats { - description "disposition stats"; - uses L2FIB-STATS-BAG-DISP; - } - - container sequence-number { - description "sequence numbers"; - uses L2FIB-STATS-BAG-SEQ-NUM; - } - } - - grouping L2VPN-PWHE { - description "L2VPN PWHE"; - - container interface-list { - description "Interface list data"; - uses ITEM-IFLIST-IFL; - } - leaf is-valid { - type boolean; - description "Is this Interface list valid"; - } - leaf internal-label { - type uint32; - description "Internal Label"; - } - } - - grouping L2VPN-FR { - description "L2VPN FR"; - leaf fr-mode { - type L2vpn-fr-mode; - description "Frame Relay mode"; - } - leaf dlci { - type uint32; - description "Data-link connection identifier"; - } - } - - grouping L2VPN-ATM { - description "L2VPN ATM"; - leaf maximum-number-cells-packed { - type uint16; - description "Max number of cells packed"; - } - leaf maximum-number-cells-un-packed { - type uint16; - description "Max number of cells unpacked"; - } - leaf atm-mode { - type L2vpn-atm-mode; - description "ATM mode"; - } - leaf vpi { - type uint16; - description "Virtual path identifier"; - } - leaf vci { - type uint16; - description "Virtual channel identifier"; - } - } - - grouping L2VPN-TDM-OPTION { - description "L2VPN TDM options"; - leaf payload-bytes { - type uint16; - units "byte"; - description "TDM payload bytes"; - } - leaf bit-rate { - type uint32; - units "kbit/s"; - description "TDM bit rate in units of Kbps"; - } - leaf rtp { - type L2vpn-tdm-rtp-option; - description "RTP header"; - } - leaf timestamp-mode { - type L2vpn-time-stamp-mode; - description "TDM Timestamping mode"; - } - leaf signalling-packets { - type uint8; - description "Signalling packets"; - } - leaf cas { - type uint8; - description "CAS"; - } - leaf rtp-header-payload-type { - type uint8; - description "RTP header payload type"; - } - leaf timestamp-clock-freq { - type uint16; - description "Timestamping clock frequency in units of 8Khz"; - } - leaf ssrc { - type uint32; - description "Synchronization Source identifier"; - } - } - - grouping L2VPN-TDM { - description "L2VPN TDM parameters"; - - container tdm-options { - description "TDM options"; - uses L2VPN-TDM-OPTION; - } - leaf timeslot-group { - type string; - description - "Timeslots separated by , or - from 1 to 31. : - indicates individual timeslot and - represents a - range.E.g. 1-3,5 represents timeslots 1, 2, 3, - and 5."; - } - leaf timeslot-rate { - type uint8; - units "kbit/s"; - description "Timeslot rate in units of Kbps"; - } - leaf tdm-mode { - type L2vpn-tdm-mode; - description "TDM mode"; - } - } - - grouping L2VPN-EFP-RANGE { - description "EFP range"; - leaf lower { - type uint16; - description "Lower"; - } - leaf upper { - type uint16; - description "Upper"; - } - } - - grouping L2VPN-VLAN { - description "L2VPN VLAN"; - leaf xconnect-tags { - type uint8; - description "XConnect tags"; - } - leaf vlan-rewrite-tag { - type uint16; - description "VLAN rewrite tag"; - } - leaf simple-efp { - type uint8; - description "Simple EFP"; - } - leaf encapsulation-type { - type uint8; - description "Encapsulation Type"; - } - leaf outer-tag { - type uint16; - description "Outer Tag"; - } - list rewrite-tag { - description "Rewrite Tags"; - leaf entry { - type uint16; - } - } - - list vlan-range { - description "vlan range"; - uses L2VPN-EFP-RANGE; - } - } - - grouping L2VPN-ETHERNET { - description "L2VPN ETHERNET"; - leaf xconnect-tags { - type uint8; - description "XConnect tags"; - } - } - - grouping L2VPN-INTERFACE-PARAMS { - description "L2VPN INTERFACE PARAMS"; - - container ethernet { - when "../type = 'l2vpn-intf-type-ethernet'" { - description "../Type = 'L2VPN_INTF_TYPE_ETHERNET'"; - } - description "Ethernet"; - uses L2VPN-ETHERNET; - } - - container vlan { - when "../type = 'l2vpn-intf-type-vlan'" { - description "../Type = 'L2VPN_INTF_TYPE_VLAN'"; - } - description "VLAN"; - uses L2VPN-VLAN; - } - - container tdm { - when "../type = 'l2vpn-intf-type-cem'" { - description "../Type = 'L2VPN_INTF_TYPE_CEM'"; - } - description "TDM"; - uses L2VPN-TDM; - } - - container atm { - when "../type = 'l2vpn-intf-type-atm'" { - description "../Type = 'L2VPN_INTF_TYPE_ATM'"; - } - description "ATM"; - uses L2VPN-ATM; - } - - container fr { - when "../type = 'l2vpn-intf-type-frame-relay'" { - description "../Type = 'L2VPN_INTF_TYPE_FRAME_RELAY'"; - } - description "Frame Relay"; - uses L2VPN-FR; - } - - container pseudowire-ether { - when "../type = 'l2vpn-intf-type-pw-ether'" { - description "../Type = 'L2VPN_INTF_TYPE_PW_ETHER'"; - } - description "PW Ether"; - uses L2VPN-PWHE; - } - - container pseudowire-iw { - when "../type = 'l2vpn-intf-type-pw-iw'" { - description "../Type = 'L2VPN_INTF_TYPE_PW_IW'"; - } - description "PW IW"; - uses L2VPN-PWHE; - } - leaf type { - type L2vpn-interface; - description "Type"; - } - } - - grouping L2VPN-INTERFACE { - description "L2VPN INTERFACE"; - - container parameters { - description "Interface parameters"; - uses L2VPN-INTERFACE-PARAMS; - } - leaf name { - type string { - length "0..81"; - } - description "Interface name"; - } - leaf mtu { - type uint32; - description "Interface MTU"; - } - leaf payload-bytes { - type uint16; - units "byte"; - description "Payload bytes"; - } - } - - grouping L2VPN-AC { - description "L2VPN AC"; - - container interface { - description "Interface"; - uses L2VPN-INTERFACE; - } - - container statistics { - description "Statistics"; - uses L2FIB-STATS-BAG-FORWARDING; - } - - container l2vpn-protection { - description "Protection object used for this segment"; - uses L2VPN-PROTECTION; - } - leaf state { - type L2vpn-segment-state; - description "State"; - } - leaf msti { - type string; - description "MSTi"; - } - leaf internal-ms-ti { - type string; - description "Internal MSTi"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface Handler"; - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - leaf xconnect-id { - type uint32; - description "XConnect ID"; - } - leaf ms-ti-mismatch { - type boolean; - description "MSTi mismatch"; - } - leaf mtu-mismatched { - type boolean; - description "MTU mismatched"; - } - leaf tdm-media-mismatched { - type boolean; - description "TDM media parms mismatched"; - } - leaf bvi-mac-conflict { - type boolean; - description "BVI Mac Conflict"; - } - leaf bvi-no-port-up { - type boolean; - description "BVI no BP Up"; - } - leaf control-word-mismatched { - type boolean; - description "Control word mismatched"; - } - leaf encapsulation-mismatched { - type boolean; - description "Encapsulation mismatched"; - } - leaf encapsulation-error { - type string; - description "Encapsulation Error"; - } - leaf interworking { - type L2vpn-interworking; - description "Interworking type"; - } - leaf out-of-memory-state { - type uint32; - description "L2VPN Out of memory state"; - } - leaf msti-mismatch-down { - type boolean; - description "Oper down due to MSTI mismatch"; - } - leaf mac-limit-oper-down { - type boolean; - description "Oper down because MAC limit reached"; - } - leaf redundancy-group-id { - type uint32; - description "Redundancy Group ID"; - } - leaf redundancy-group-state { - type L2vpn-rg-state; - description "Redundancy Group State"; - } - leaf redundancy-object-id { - type uint64; - description "Redundancy Object ID"; - } - leaf is-ac-partially-programmed { - type boolean; - description "Is attachment-circuit partially programmed"; - } - leaf evpn-internal-label { - type uint32; - description "EVPN Internal Label"; - } - } - - grouping L2VPN-SEGMENT { - description "L2VPN SEGMENT"; - - container attachment-circuit { - when "../segment-type = 'l2vpn-segment-type-ac'" { - description "../SegmentType = 'L2VPN_SEGMENT_TYPE_AC'"; - } - description "Attachment Circuit"; - uses L2VPN-AC; - } - - container pseudo-wire { - when "../segment-type = 'l2vpn-segment-type-pw'" { - description "../SegmentType = 'L2VPN_SEGMENT_TYPE_PW'"; - } - description "Pseudowire"; - uses L2VPN-PW; - } - leaf segment-type { - type L2vpn-segment; - description "SegmentType"; - } - } - - grouping L2VPN-XC { - description "L2VPN XC"; - - container backup { - description "LCR backup"; - uses L2VPN-SEGMENT; - } - - container segment1 { - description "Segment 1"; - uses L2VPN-SEGMENT; - } - - container segment2 { - description "Segment 2"; - uses L2VPN-SEGMENT; - } - - container ce2ce { - description "CE2CE"; - uses L2VPN-XC-CE2CE; - } - leaf group-name-xr { - type string; - description "Group name"; - } - leaf xconnect-name-xr { - type string; - description "XConnect name"; - } - leaf number-of-backup-p-ws { - type uint32; - description "Number of backups"; - } - leaf state { - type L2vpn-xc-state; - description "State of the xconnect"; - } - leaf interworking { - type L2vpn-interworking; - description "Interworking type"; - } - leaf diag-mask { - type uint32; - description - "Mask indicating what if anything is missing - before the XC can be provisioned"; - } - leaf description { - type string; - description "P2P Description"; - } - leaf is-mp2mp { - type boolean; - description "xconnect is mp2mp"; - } - - list backup-segment { - max-elements "1"; - description "Backup Segment"; - uses L2VPN-SEGMENT; - } - } - - grouping L2VPN-XC-CE2CE { - description "L2VPN XC CE2CE"; - leaf local-customer-edge-id { - type uint16; - description "Local CE ID"; - } - leaf remote-customer-edge-id { - type uint16; - description "Remote CE ID"; - } - leaf ce-added { - type boolean; - description "CE2CE Advertised"; - } - } - - grouping L2VPN-RD-V4ADDR { - description "L2VPN RD V4ADDR"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RD-4BYTE-AS { - description "L2VPN RD 4BYTE AS"; - leaf four-byte-as { - type uint32; - description "4 Byte AS Number"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-RD-2BYTE-AS { - description "L2VPN RD 2BYTE AS"; - leaf two-byte-as { - type uint16; - description "2 Byte AS Number"; - } - leaf four-byte-index { - type uint32; - description "4 Byte Index"; - } - } - - grouping L2VPN-RD-AUTO { - description "L2VPN RD AUTO"; - leaf router-id { - type inet:ipv4-address; - description "BGP Router ID"; - } - leaf auto-index { - type uint16; - description "Auto-generated Index"; - } - } - - grouping L2VPN-RD { - description "L2VPN RD"; - - container auto { - when "../rd = 'l2vpn-ad-rd-auto'" { - description "../RD = 'L2VPN_AD_RD_AUTO'"; - } - description "auto"; - uses L2VPN-RD-AUTO; - } - - container two-byte-as { - when "../rd = 'l2vpn-ad-rd-as'" { - description "../RD = 'L2VPN_AD_RD_AS'"; - } - description "two byte as"; - uses L2VPN-RD-2BYTE-AS; - } - - container four-byte-as { - when "../rd = 'l2vpn-ad-rd-4byte-as'" { - description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; - } - description "four byte as"; - uses L2VPN-RD-4BYTE-AS; - } - - container v4-addr { - when "../rd = 'l2vpn-ad-rd-v4-addr'" { - description "../RD = 'L2VPN_AD_RD_V4ADDR'"; - } - description "v4 addr"; - uses L2VPN-RD-V4ADDR; - } - leaf rd { - type L2vpn-ad-rd; - description "RD"; - } - } - - grouping L2VPN-ATOM-PWR-SUMMARY { - description "L2VPN ATOM Pseudowire Routing Information Summary"; - - container rd-auto { - description "Automatic Route Distingtuisher"; - uses L2VPN-RD; - } - - container rd-configured { - description "Configured Route Distinguisher"; - uses L2VPN-RD; - } - leaf bgp-router-id { - type inet:ipv4-address; - description "BGP Router ID"; - } - leaf cfg-router-id { - type inet:ipv4-address; - description "Configured Router ID"; - } - leaf bgp-as { - type uint32; - description "BGP AS number"; - } - leaf cfg-global-id { - type uint32; - description "Configured Global ID"; - } - leaf l2vpn-has-bgp-eod { - type boolean; - description "L2VPN got BGP EOD"; - } - } - - grouping L2VPN-GLOBALS { - description "L2VPN GLOBALS"; - leaf pw-grouping-enabled { - type boolean; - description "PW Grouping enabled"; - } - leaf pw-status-enabled { - type boolean; - description "PW Status enabled"; - } - leaf logging-pw-enabled { - type boolean; - description "Logging PW enabled"; - } - leaf logging-bd-enabled { - type boolean; - description "Logging BD state changes enabled"; - } - leaf logging-vfi-enabled { - type boolean; - description "Logging VFI state changes enabled"; - } - leaf logging-nsr-enabled { - type boolean; - description "Logging NSR state changes enabled"; - } - leaf logging-df-election-enabled { - type boolean; - description - "Logging EVPN Designated Forwarder changes - enabled"; - } - leaf tcn-propagation-enabled { - type boolean; - description "TCN propagation enabled"; - } - leaf pw-oam-refresh-transmit-time { - type uint32; - units "second"; - description "PW OAM refresh transmit (seconds)"; - } - leaf ha-role { - type string; - description "Node redundancy role"; - } - leaf issu-role { - type string; - description "Node ISSU role"; - } - leaf process-fsm { - type string; - description "Current L2VPN FSM role"; - } - leaf going-active { - type boolean; - description "transitioning to Active functional role"; - } - } - - grouping VC-INFO { - description "VC Info"; - leaf peer-id { - type inet:ipv4-address; - description "PeerID"; - } - leaf source-address { - type inet:ipv4-address; - description "SourceAddress"; - } - leaf pwid-type { - type L2vpn-pw-id; - description "pwid type"; - } - leaf pwid { - type uint64; - description "PWID"; - } - leaf fe-ctype { - type L2vpn-pw-fec; - description "FECType"; - } - } - - grouping L2VPN-PREFERRED-PATH { - description "L2VPN PREFRRED PATH"; - leaf type { - type L2vpn-preferred; - description "Preferred type"; - } - leaf interface-name-xr { - type string { - length "0..65"; - } - description "Interface name"; - } - leaf total-bandwidth { - type uint32; - description "TotalBandwidth"; - } - leaf available-bandwidth { - type uint32; - description "AvailableBandwidth"; - } - leaf reserved-bandwidth { - type uint32; - description "ReservedBandwidth"; - } - - list virtual-circuit { - description "virtual circuit"; - uses VC-INFO; - } - } - - grouping L2VPN-MGMT-PROC-FSM-EVENT-HISTORY { - description "L2VPN Process FSM event history"; - leaf previous-state { - type uint8; - description "Previous state"; - } - leaf new-state { - type uint8; - description "New state"; - } - leaf process-event { - type uint16; - description "Process event"; - } - leaf process-collaborator { - type uint16; - description "Process collaborator"; - } - leaf event-timestamp { - type uint32; - description "Event timestamp"; - } - } - - grouping L2VPN-MGMT-PROC-FSM-REPORT-CARD { - description "L2VPN Process FSM report card"; - leaf collaborator-is-connected { - type boolean; - description "Is the collaborator connected"; - } - leaf connection-change-time { - type uint32; - description "Time when connection state (UP/DOWN) changed"; - } - leaf collaborator-idt-done { - type boolean; - description "Is IDT done for this collaborator"; - } - leaf idt-time { - type uint32; - description "Time when IDT was done"; - } - leaf collaborator-skipped { - type boolean; - description - "Was this collaborator skipped for not connecting - in time"; - } - } - - grouping L2VPN-IDT-STATUS { - description "IDT status information"; - leaf sync-status { - type L2vpn-sync-status; - description "Sync status"; - } - leaf not-ready-reason { - type L2vpn-proc-nsr-not-ready-reason; - description "Not ready reason"; - } - leaf idt-start-time { - type uint32; - units "second"; - description "IDT start timestamp in seconds"; - } - leaf idt-end-time { - type uint32; - units "second"; - description "IDT end timestamp in seconds"; - } - leaf declare-time { - type uint32; - units "second"; - description "Declare ready timestamp in seconds"; - } - leaf withdraw-time { - type uint32; - units "second"; - description "Withdraw ready timestamp in seconds"; - } - } - - grouping L2VPN-NSR-ISSU-STATUS-INFO { - description "NSR/ISSU status information"; - - container idt-status { - description "IDT status"; - uses L2VPN-IDT-STATUS; - } - - container previ-ous-idt-status { - description "Previous IDT status"; - uses L2VPN-IDT-STATUS; - } - leaf role { - type L2vpn-proc-role; - description "Process role"; - } - } - - grouping L2VPN-FAILOVER-STATUS { - description "L2VPN failover status"; - leaf triggered-time { - type uint32; - description "Triggered time"; - } - leaf start-time { - type uint32; - description "Start time"; - } - leaf master-time { - type uint32; - description "Master time"; - } - } - - grouping L2VPN-MGMT-PROC-FSM-XID-INFO { - description "L2VPN MGMT PROC FSM XID INFO"; - leaf app-type { - type L2vpn-id-mgr-app; - description "App type"; - } - leaf sent-ids { - type uint32; - description "Number of XIDs transferred"; - } - } - - grouping L2VPN-MGMT-PROC-FSM { - description "L2VPN Process FSM Information"; - - container failover-status { - description "L2VPN failover status"; - uses L2VPN-FAILOVER-STATUS; - } - - container nsr-status { - description "L2VPN NSR status and timestamp"; - uses L2VPN-NSR-ISSU-STATUS-INFO; - } - - container issu-status { - description "L2VPN ISSU Status and timestamp"; - uses L2VPN-NSR-ISSU-STATUS-INFO; - } - leaf process-role { - type uint8; - description "Current Process Role"; - } - leaf process-state { - type uint8; - description "Current Process State"; - } - leaf sync-flags { - type uint32; - description "Sync complete flags"; - } - leaf sw-install-in-progress { - type boolean; - description "Is s/w install currently in progress?"; - } - list state-transition-time { - description "Transition time for all states"; - leaf entry { - type uint32; - } - } - - list xid-info { - description "XID information"; - uses L2VPN-MGMT-PROC-FSM-XID-INFO; - } - - list report-card { - description "L2VPN Collaborator report card"; - uses L2VPN-MGMT-PROC-FSM-REPORT-CARD; - } - - list event-history { - description "L2VPN Process event history"; - uses L2VPN-MGMT-PROC-FSM-EVENT-HISTORY; - } - } - - grouping L2VPN-BRIDGE-SUMMARY { - description "L2VPN BRIDGE SUMMARY"; - leaf number-groups { - type uint32; - description "Number of groups"; - } - leaf number-bridge-domains { - type uint32; - description "Number of bridge-domains"; - } - leaf number-bridge-domains-up { - type uint32; - description "Number of bridge-domains up"; - } - leaf number-bridge-domains-shut { - type uint32; - description "Number of bridge-domains admin disabled"; - } - leaf number-default-bridge-doamins { - type uint32; - description "Number of default bridge-domains"; - } - leaf number-pbb-edge { - type uint32; - description "Number of PBB Edge"; - } - leaf number-pbb-core { - type uint32; - description "Number of PBB Core"; - } - leaf number-p2mp { - type uint32; - description "Number of P2MPs"; - } - leaf number-p2mp-up { - type uint32; - description "Number of P2MPs whose state is up"; - } - leaf number-p2mp-down { - type uint32; - description "Number of P2MPs whose state is down"; - } - leaf number-a-cs { - type uint32; - description "Number of attachment circuits"; - } - leaf number-a-cs-up { - type uint32; - description "Number of attachment circuits whose state is up"; - } - leaf number-a-cs-down { - type uint32; - description - "Number of attachment circuits whose state is - down"; - } - leaf number-pseudowires { - type uint32; - description "Number of pseudowires"; - } - leaf number-p-ws-up { - type uint32; - description "Number of pseudowires whose state is up"; - } - leaf number-p-ws-down { - type uint32; - description "Number of pseudowires whose state is down"; - } - leaf standby-pseudowires { - type uint32; - description "Number of pseudowires whose state is standby"; - } - leaf num-vn-is { - type uint32; - description "Number of VNIs"; - } - leaf num-vn-is-up { - type uint32; - description "Number of VNIs up"; - } - leaf num-vn-is-down { - type uint32; - description "Number of VNIs down"; - } - leaf num-vn-is-unresolved { - type uint32; - description "Number of VNIs unresolved"; - } - leaf out-of-memory-state { - type uint32; - description "L2VPN Out of memory state"; - } - leaf partially-programmed-bridges { - type uint32; - description "Number of partially programmed bridge-domains"; - } - leaf partially-programmed-pseudowires { - type uint32; - description "Number of partially programmed pseudowires"; - } - leaf partially-programmed-a-cs { - type uint32; - description - "Number of partially programmed attachment - circuits"; - } - } - - grouping ICCP-SM-PORT-INFO { - description "ICCP-based service multi-homing port information"; - leaf port-state { - type Iccp-sm-port-state; - description "Port state"; - } - leaf port-fail-code { - type uint8; - description "Port fail code"; - } - leaf fsm-state { - type uint8; - description "FSM state"; - } - leaf vlan-state { - type uint8; - description "VLAN state"; - } - leaf vlan-vector { - type yang:hex-string; - description - "VLAN Vector. VLANList::= - FivePackedVLANRoleVectorByte { - ,FivePackedVLANRoleVectorByte}. - FivePackedVLANRoleVectorByte = - (((3*firstVLANRole + secondVLANRole)*3 + - thirdVLANRole)*3 + fourthVLAN Role)*3 + - fifthVLANRole. Role::= Primary | Secondary | - NotConfigured. NotConfigured::= 0. Primary::= 1. - Secondary::= 2"; - } - leaf reversion-time { - type uint32; - description "Reversion Time"; - } - leaf reversion-time-remaining { - type uint32; - description "Reversion Time Remaining"; - } - } - - grouping ICCP-SM-PORT { - description "ICCP-based service multi-homing port"; - - container local-port { - description "Local port info"; - uses ICCP-SM-PORT-INFO; - } - - container remote-port { - description "Remote port info"; - uses ICCP-SM-PORT-INFO; - } - leaf interface-name { - type string { - length "0..65"; - } - description "Interface name"; - } - leaf mac-flush-tcn { - type boolean; - description "Is MAC flush through STP-TCN?"; - } - } - - grouping ICCP-SM-GROUP { - description "ICCP-based service multi-homing group"; - leaf group-id { - type uint32; - description "Group ID"; - } - leaf local-node-id { - type uint8; - description "Local Node ID"; - } - leaf remote-node-id { - type uint8; - description "Remote Node ID"; - } - leaf state { - type Iccp-sm-state; - description "State"; - } - leaf iccp-transport-up { - type boolean; - description "ICCP Transport Up"; - } - leaf iccp-member-up { - type boolean; - description "ICCP Member Up"; - } - - list ports { - description "List of ports in the group"; - uses ICCP-SM-PORT; - } - } - - grouping ICCP-SM-SUMMARY { - description - "ICCP-based service multi-homing group summary - information"; - leaf groups { - type uint32; - description "Total Number of Groups"; - } - leaf unresolved-groups { - type uint32; - description "Number of Unresolved Groups"; - } - leaf provisioned-groups { - type uint32; - description "Number of Provisioned Groups"; - } - leaf connecting-groups { - type uint32; - description "Number of Connecting Groups"; - } - leaf connected-groups { - type uint32; - description "Number of Connected Groups"; - } - leaf synchronizing-groups { - type uint32; - description "Number of Synchronizing Groups"; - } - leaf synchronized-groups { - type uint32; - description "Number of Synchronized Groups"; - } - leaf ports { - type uint32; - description "Total Number of Ports"; - } - leaf operational-ports { - type uint32; - description "Number of Operational Ports"; - } - leaf failed-ports { - type uint32; - description "Number of Failed Ports"; - } - leaf unknown-ports { - type uint32; - description "Number of Unknown Ports"; - } - leaf unconfigured-ports { - type uint32; - description "Number of Unconfigured Ports"; - } - leaf unsynchronized-ports { - type uint32; - description "Number of Unsynchronized Ports"; - } - leaf reverting-ports { - type uint32; - description "Number of Reverting Ports"; - } - } - - grouping L2VPN-MAIN-INTERFACE { - description "L2VPN MAIN INTERFACE PORT"; - leaf main-interface-handle { - type xr:Interface-name; - description "Main Interface"; - } - leaf protected { - type L2vpn-main-if-protectected; - description "Protected"; - } - leaf interface-count { - type uint32; - description "Sub Interface Count"; - } - } - - grouping L2VPN-MAIN-INTERFACE-INSTANCE-BPORT { - description "Bridge port of an instance"; - leaf bridge-port-xr { - type xr:Interface-name; - description "Bridge port ifhandle"; - } - leaf instance-id { - type uint32; - description "Instance ID"; - } - } - - grouping L2VPN-MAIN-INTERFACE-INSTANCE { - description "L2VPN MAIN INTERFACE INSTANCE Entry"; - leaf configured-instance { - type uint32; - description "Configured Instance"; - } - leaf flush-count { - type uint32; - description "Flush count "; - } - leaf interface-count { - type uint32; - description "Interface count"; - } - leaf instance-flags { - type uint32; - description "Instance Flags"; - } - leaf instance-id { - type uint32; - description "Instance ID"; - } - leaf instance-state { - type L2vpn-main-if-instance-state; - description "Instance State"; - } - } - - grouping L2VPN-FXC-SUMMARY { - description "L2VPN FXC SUMMARY"; - leaf number-fxc { - type uint32; - description "Number of flexible xconnect services"; - } - leaf number-fxc-up { - type uint32; - description - "Number of flexible xconnect services whose state - is up"; - } - leaf number-fxc-down { - type uint32; - description - "Number of flexible xconnect services whose state - is down"; - } - } - - grouping L2VPN-NLRI-LDP-SIG { - description "L2VPN NLRI LDP SIG"; - leaf nlri-time-created { - type uint32; - description "NLRI creation time"; - } - leaf local-address { - type inet:ipv4-address; - description "Local BGP Address"; - } - leaf remote-address { - type inet:ipv4-address; - description "Remote BGP Address"; - } - leaf remote-l2-router-id { - type inet:ipv4-address; - description "Remote L2VPN Router ID"; - } - } - - grouping L2VPN-VPLS-ID-V4ADDR { - description "L2VPN VPLS ID V4ADDR"; - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf two-byte-index { - type uint16; - description "2 Byte Index"; - } - } - - grouping L2VPN-VPLS-ID-2BYTE-AS { - description "L2VPN VPLS ID 2BYTE AS"; - leaf two-byte-as { - type uint16; - description "2 Byte AS Number"; - } - leaf four-byte-index { - type uint32; - description "4 Byte Index"; - } - } - - grouping L2VPN-VPLS-ID-AUTO { - description "L2VPN VPLS ID AUTO"; - leaf asn { - type uint16; - description "2 Byte AS Number"; - } - leaf vpn-id { - type uint32; - description "VPN ID"; - } - } - - grouping L2VPN-VPLS-ID { - description "L2VPN VPLS ID"; - - container auto { - when "../vpls-id-type = 'l2vpn-ad-vpls-id-auto'" { - description "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_AUTO'"; - } - description "auto"; - uses L2VPN-VPLS-ID-AUTO; - } - - container two-byte-as { - when "../vpls-id-type = 'l2vpn-ad-vpls-id-as'" { - description "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_AS'"; - } - description "two byte as"; - uses L2VPN-VPLS-ID-2BYTE-AS; - } - - container v4-addr { - when "../vpls-id-type = 'l2vpn-ad-vpls-id-v4-addr'" { - description "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_V4ADDR'"; - } - description "v4 addr"; - uses L2VPN-VPLS-ID-V4ADDR; - } - leaf vpls-id-type { - type L2vpn-ad-vpls-id; - description "VPLS ID TYPE"; - } - } - - grouping L2VPN-DISCO-LDP-SIG { - description "L2VPN DISCO LDP SIG"; - - container local-vpls-id { - description "Local VPLS-ID"; - uses L2VPN-VPLS-ID; - } - leaf local-l2-router-id { - type inet:ipv4-address; - description "Local L2VPN Router ID"; - } - leaf number-remote-edges { - type uint32; - description "Number of remote Edges"; - } - - list remote-nlri { - description "List of NLRIs"; - uses L2VPN-NLRI-LDP-SIG; - } - } - - grouping L2VPN-LABEL-BLOCK { - description "L2VPN LABEL BLOCK"; - leaf label-time-created { - type uint32; - description "Creation time"; - } - leaf label-base { - type uint32; - description "Label Base"; - } - leaf block-offset { - type uint32; - description "Block offset"; - } - leaf block-size { - type uint32; - description "Block size"; - } - leaf local-edge-id { - type uint32; - description "Local edge ID"; - } - leaf next-hop { - type inet:ipv4-address; - description " Peer id"; - } - leaf label-error { - type L2vpn-ad-lsd-err; - description "Label Error"; - } - list status-vector { - description "Status Vector"; - leaf entry { - type uint8; - } - } - } - - grouping L2VPN-DISCO-EDGE { - description "L2VPN DISCO EDGE"; - leaf edge-id { - type uint32; - description "Edge ids"; - } - leaf label-count { - type uint32; - description "Number of label blocks"; - } - - list label-block { - description "List of label blocks"; - uses L2VPN-LABEL-BLOCK; - } - } - - grouping L2VPN-DISCO-BGP-SIG { - description "L2VPN DISCO BGP SIG"; - leaf number-edges { - type uint32; - description "Number of Edges"; - } - leaf number-remote-edges { - type uint32; - description "Number of remote Edges"; - } - - list edge { - description "List of edge ids"; - uses L2VPN-DISCO-EDGE; - } - - list redge { - description "List of edge ids"; - uses L2VPN-DISCO-EDGE; - } - } - - grouping L2VPN-DISCO-SIG-INFO { - description "L2VPN DISCO SIG INFO"; - - container bgp-sig-info { - when "../ad-signalling-method = 'l2vpn-ad-sig-method-bgp'" { - description - "../ADSignallingMethod = - 'L2VPN_AD_SIG_METHOD_BGP'"; - } - description "bgp sig info"; - uses L2VPN-DISCO-BGP-SIG; - } - - container ldp-sig-info { - when "../ad-signalling-method = 'l2vpn-ad-sig-method-ldp'" { - description - "../ADSignallingMethod = - 'L2VPN_AD_SIG_METHOD_LDP'"; - } - description "ldp sig info"; - uses L2VPN-DISCO-LDP-SIG; - } - leaf ad-signalling-method { - type L2vpn-ad-sig-method; - description "ADSignallingMethod"; - } - } - - grouping L2VPN-DISCO { - description "L2VPN DISCO"; - - container signalling-info { - description "Info about signalling protocol"; - uses L2VPN-DISCO-SIG-INFO; - } - leaf mtu-mismatch-ignore { - type boolean; - description "Ignore MTU Mismatch"; - } - leaf number-vpn { - type uint32; - description "Number of vpns"; - } - leaf vpn-id { - type uint32; - description "VPN id"; - } - leaf service-name-xr { - type string; - description "Service Type"; - } - leaf group-name-xr { - type string; - description "Group name"; - } - leaf vpn-name-xr { - type string; - description "VPN instance name"; - } - leaf is-service-connected { - type boolean; - description "Is the service connected"; - } - } - - grouping L2VPN-EVPN-REMOTE-SHG-INFO { - description "L2VPN EVPN remote split horizon group labels"; - leaf next-hop { - type inet:ipv6-address; - description "Next-hop IP address (v6 format)"; - } - leaf label { - type uint32; - description - "Split horizon label associated with next-hop - address"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub3.yang deleted file mode 100644 index ca1bb0c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper-sub3.yang +++ /dev/null @@ -1,4112 +0,0 @@ -submodule Cisco-IOS-XR-l2vpn-oper-sub3 { - - belongs-to Cisco-IOS-XR-l2vpn-oper { - prefix Cisco-IOS-XR-l2vpn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-l2vpn-oper-sub2 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR l2vpn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2fib-g8032-aps-port-status { - type enumeration { - enum l2fib-aps-port-state-unknown { - description "APS port state unknown"; - } - enum l2fib-aps-port-state-unbound { - description "APS port state unbound"; - } - enum l2fib-aps-port-state-bound { - description "APS port state bound"; - } - } - description "APS port status"; - } - typedef L2fib-g8032-rpl { - type enumeration { - enum rpl-unknown { - description "No RPL info"; - } - enum port0-owner { - description "Port 0 owner"; - } - enum port0-neighbor { - description "Port 0 neighbor"; - } - enum port0-next-neighbor { - description "Port 0 next neighbor"; - } - enum port1-owner { - description "Port 1 owner"; - } - enum port1-neighbor { - description "Port 1 neighbor"; - } - enum port1-next-neighbor { - description "Port 1 next neighbor"; - } - } - description "RPL types in g8032 ring"; - } - typedef L2fib-l2tp-session { - type enumeration { - enum l2tpv3 { - description "L2TPv3 session"; - } - enum l2tpv2 { - description "L2TPv2 session"; - } - } - description "L2TPv2 and L2TPv3 session type"; - } - typedef L2fib-main-if-instance-state { - type enumeration { - enum forwarding { - description "Forwarding state"; - } - enum blocked { - description "Blocked state"; - } - enum mac-learning { - description "Mac learning state"; - } - enum nack { - description "Nack state"; - } - enum forwarning-not-useful { - description "Forwarding not useful state"; - } - enum blocked-not-useful { - description "Blocked not useful state"; - } - enum mac-learning-not-useful { - description "Mac Learning not useful state"; - } - enum blocked-data-only { - description "Blocked data only state"; - } - enum multicast-pe2ce-blocked { - description "Multicast PE to CE blocked state"; - } - enum multicast-blocked { - description "Multicast blocked state"; - } - enum port-state-unknown { - description "Port state unknown"; - } - } - description "State of a main port instance"; - } - typedef Mgmt-l2fib-bridge-mac-evpn-ctx { - type enumeration { - enum mgmt-l2fib-bridge-mac-evpn-ctx-none { - description "mgmt l2fib bridge mac evpn ctx none"; - } - enum mgmt-l2fib-bridge-mac-evpn-ctx-esi-id { - description "mgmt l2fib bridge mac evpn ctx esi id"; - } - enum mgmt-l2fib-bridge-mac-evpn-ctx-local-label { - description "mgmt l2fib bridge mac evpn ctx local label"; - } - enum mgmt-l2fib-bridge-mac-evpn-ctx-moi { - description "mgmt l2fib bridge mac evpn ctx moi"; - } - enum mgmt-l2fib-bridge-mac-evpn-ctx-bp-ifh { - description "mgmt l2fib bridge mac evpn ctx bp ifh"; - } - } - description "Mgmt l2fib bridge mac evpn ctx"; - } - typedef L2fib-ip-addr { - type enumeration { - enum ip-none { - value 0; - description "ip none"; - } - enum v4 { - value 4; - description "v4"; - } - enum v6 { - value 6; - description "v6"; - } - } - description "L2fib ip addr"; - } - typedef Mgmt-l2fib-stats-data { - type enumeration { - enum mgmt-l2fib-stats-type-unknown { - description "mgmt l2fib stats type unknown"; - } - enum mgmt-l2fib-stats-type-mcast { - description "mgmt l2fib stats type mcast"; - } - } - description "Mgmt l2fib stats data"; - } - typedef L2vpn-ptree { - type enumeration { - enum none { - value 0; - description "No ptree type"; - } - enum rsvp-te { - value 1; - description "RSVP_TE ptree type"; - } - enum mldp { - value 2; - description "MLDP ptree type"; - } - } - description "ptree type"; - } - typedef L2fib-feature { - type enumeration { - enum l2fib-feature-dhcp-snooping { - description "l2fib feature dhcp snooping"; - } - enum l2fib-feature-igmp-snooping { - description "l2fib feature igmp snooping"; - } - enum l2fib-feature-mld-snooping { - description "l2fib feature mld snooping"; - } - enum l2fib-feature-max { - description "l2fib feature max"; - } - } - description "L2fib feature"; - } - typedef L2fib-storm-control-rate-unit { - type enumeration { - enum pps { - description "Packets Per Second"; - } - enum kb-ps { - description "Kilobits Per Second"; - } - } - description "Storm Control Rate Unit Type"; - } - typedef Mgmt-l2fib-mac-sec-action { - type enumeration { - enum not-set { - value 0; - description "MAC Secure Action Not Set"; - } - enum restrict { - value 1; - description "MAC Secure Action Restrict"; - } - enum none { - value 2; - description "MAC Secure Action None"; - } - enum shutdown { - value 3; - description "MAC Secure Action Shutdown"; - } - } - description "Mgmt l2fib mac sec action"; - } - typedef Mgmt-l2fib-mac-limit-notify { - type enumeration { - enum mgmt-l2fib-mac-limit-notify-none { - description "mgmt l2fib mac limit notify none"; - } - enum mgmt-l2fib-mac-limit-notify-syslog { - description "mgmt l2fib mac limit notify syslog"; - } - enum mgmt-l2fib-mac-limit-notify-trap { - description "mgmt l2fib mac limit notify trap"; - } - enum mgmt-l2fib-mac-limit-notify-both { - description "mgmt l2fib mac limit notify both"; - } - } - description "Mgmt l2fib mac limit notify"; - } - typedef Mgmt-l2fib-mac-limit-action { - type enumeration { - enum mgmt-l2fib-mac-limit-action-type-none { - description "mgmt l2fib mac limit action type none"; - } - enum mgmt-l2fib-mac-limit-action-type-flood { - description "mgmt l2fib mac limit action type flood"; - } - enum mgmt-l2fib-mac-limit-action-type-no-flood { - description "mgmt l2fib mac limit action type no flood"; - } - enum mgmt-l2fib-mac-limit-action-type-shutdown { - description "mgmt l2fib mac limit action type shutdown"; - } - } - description "Mgmt l2fib mac limit action"; - } - typedef L2fib-load-bal { - type enumeration { - enum flow-undef { - description "Load Balance Flow Undefined"; - } - enum src-dst-mac { - description "Load Balance Flow src-dst-mac"; - } - enum src-dst-ip { - description "Load Balance Flow src-dst-ip"; - } - enum vc { - description "Load Balance VC based"; - } - } - description "L2fib load bal"; - } - typedef L2fib-group-state { - type enumeration { - enum up { - description "Group State Up"; - } - enum down { - description "Group State Down"; - } - } - description "group state"; - } - typedef L2fib-pw-redundancy-role { - type enumeration { - enum primary { - description "Primary pseudowire"; - } - enum backup { - description "Backup pseudowire"; - } - } - description "Pseudowire redundancy role"; - } - typedef L2fib-pw-id { - type enumeration { - enum default { - value 0; - description "Default value - not set"; - } - enum manual { - value 1; - description "Manual pseudowire ID"; - } - enum vpls { - value 2; - description "VPLS pseudowire ID"; - } - enum vpws { - value 3; - description "VPWS pseudowire ID"; - } - enum vpls-ldp { - value 4; - description "VPLS with LDP signaling pseudowire ID"; - } - enum l2fib-pw-id-type-pwr { - value 5; - description "PW-routing ID"; - } - enum l2fib-pw-id-type-evpn { - value 6; - description "EVPN pseudowire ID"; - } - } - description "Pseudowire ID type"; - } - typedef Mgmt-l2fib-bridge { - type enumeration { - enum mgmt-l2fib-bridge-type-default { - value 0; - description "mgmt l2fib bridge type default"; - } - enum mgmt-l2fib-bridge-type-pbb-edge { - value 1; - description "mgmt l2fib bridge type pbb edge"; - } - enum mgmt-l2fib-bridge-type-pbb-core { - value 2; - description "mgmt l2fib bridge type pbb core"; - } - } - description "Mgmt l2fib bridge"; - } - typedef Mgmt-l2fib-data { - type enumeration { - enum mgmt-l2fib-data-type-min { - description "mgmt l2fib data type min"; - } - enum mgmt-l2fib-data-type-xcon { - description "mgmt l2fib data type xcon"; - } - enum mgmt-l2fib-data-type-ac { - description "mgmt l2fib data type ac"; - } - enum mgmt-l2fib-data-type-span { - description "mgmt l2fib data type span"; - } - enum mgmt-l2fib-data-type-atom { - description "mgmt l2fib data type atom"; - } - enum mgmt-l2fib-data-type-pbb { - description "mgmt l2fib data type pbb"; - } - enum mgmt-l2fib-data-type-vni { - description "mgmt l2fib data type vni"; - } - enum mgmt-l2fib-data-type-n-hop { - description "mgmt l2fib data type n hop"; - } - enum mgmt-l2fib-data-type-l2tp { - description "mgmt l2fib data type l2tp"; - } - enum mgmt-l2fib-data-type-l2tpv2 { - description "mgmt l2fib data type l2tpv2"; - } - enum mgmt-l2fib-data-type-bridge { - description "mgmt l2fib data type bridge"; - } - enum mgmt-l2fib-data-type-bridge-shg { - description "mgmt l2fib data type bridge shg"; - } - enum mgmt-l2fib-data-type-bridge-port { - description "mgmt l2fib data type bridge port"; - } - enum mgmt-l2fib-data-type-bridge-mac { - description "mgmt l2fib data type bridge mac"; - } - enum mgmt-l2fib-data-type-mcast-table { - description "mgmt l2fib data type mcast table"; - } - enum mgmt-l2fib-data-type-mcast-leaf { - description "mgmt l2fib data type mcast leaf"; - } - enum mgmt-l2fib-data-type-mcast-xid { - description "mgmt l2fib data type mcast xid"; - } - enum mgmt-l2fib-data-type-dhcp { - description "mgmt l2fib data type dhcp"; - } - enum mgmt-l2fib-data-type-l2tp-ipv6-ts { - description "mgmt l2fib data type l2tp ipv6 ts"; - } - enum mgmt-l2fib-data-type-pwhe-mp { - description "mgmt l2fib data type pwhe mp"; - } - enum mgmt-l2fib-data-type-evpn { - description "mgmt l2fib data type evpn"; - } - enum mgmt-l2fib-data-type-fxs { - description "mgmt l2fib data type fxs"; - } - enum mgmt-l2fib-data-type-max { - description "mgmt l2fib data type max"; - } - } - description "Mgmt l2fib data"; - } - typedef Mgmt-l2fib-switching { - type enumeration { - enum mgmt-l2fib-switching-type-unknown { - description "mgmt l2fib switching type unknown"; - } - enum mgmt-l2fib-switching-type-ac-ac { - description "mgmt l2fib switching type ac ac"; - } - enum mgmt-l2fib-switching-type-ac-atom { - description "mgmt l2fib switching type ac atom"; - } - enum mgmt-l2fib-switching-type-ac-vfi { - description "mgmt l2fib switching type ac vfi"; - } - enum mgmt-l2fib-switching-type-ac-l2tp { - description "mgmt l2fib switching type ac l2tp"; - } - enum mgmt-l2fib-switching-type-atom-atom { - description "mgmt l2fib switching type atom atom"; - } - enum mgmt-l2fib-switching-type-vfi-atom { - description "mgmt l2fib switching type vfi atom"; - } - enum mgmt-l2fib-switching-type-vfi-l2tp { - description "mgmt l2fib switching type vfi l2tp"; - } - enum mgmt-l2fib-switching-type-l2tp-atom { - description "mgmt l2fib switching type l2tp atom"; - } - enum mgmt-l2fib-switching-type-l2tp-l2tp { - description "mgmt l2fib switching type l2tp l2tp"; - } - enum mgmt-l2fib-switching-type-max { - description "mgmt l2fib switching type max"; - } - } - description "Mgmt l2fib switching"; - } - - grouping L2FIB-DHCP-BINDING-SUMMARY-INFO { - description "L2FIB DHCP binding summary info"; - - container port { - description "Union of Port information"; - uses L2FIB-DHCP-BIND-UN; - } - leaf bindings { - type uint32; - description "DHCP binding count"; - } - } - - grouping L2FIB-VTEP-INFO { - description "L2FIB vtep info"; - leaf nve-if { - type xr:Interface-name; - description "Parent NVE IF Handle"; - } - leaf vn-iid { - type uint32; - description "VNI ID"; - } - leaf vte-pip { - type inet:ipv4-address; - description "Peer VTEP IP Address"; - } - } - - grouping L2FIB-PWHE-MP-SUMMARY-INFO { - description "L2VPN PWHE Main-port summary info"; - leaf total-count { - type uint32; - description "Number of PWHE Main-ports"; - } - } - - grouping L2FIB-PWGROUP-SUMMARY-INFO { - description "L2VPN PWGROUP summary info"; - leaf plat-grouping-supported { - type boolean; - description "Platform supports Grouping"; - } - leaf total-pw-groups { - type uint32; - description "Total number of PWGROUP objects"; - } - leaf pw-groups-down { - type uint32; - description "Number of PWGROUP objects down"; - } - } - - grouping L2FIB-PTREE-SUMMARY-INFO { - description "L2VPN PTree summary info"; - leaf total-ptree-count { - type uint32; - description "Number of PTree objects"; - } - leaf mldp-enabled-ptree-count { - type uint32; - description "Number of MLDP enabled PTree objects"; - } - leaf lmrib-mldp-ptree-count { - type uint32; - description "Number of MLDP PTree Objects owned by LMRIB"; - } - leaf rsvp-te-enabled-ptree-count { - type uint32; - description "Number of RSVP-TE enabled PTree objects"; - } - leaf lmrib-rsvp-te-ptree-count { - type uint32; - description "Number of RSVP-TE PTree Objects owned by LMRIB"; - } - } - - grouping L2FIB-GLOBAL-CFG-INFO { - description "L2VPN Global Configuration"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf load-balance-type { - type L2fib-load-bal; - description "Type of Load-Balancing"; - } - leaf evpn-imc-label-block-base { - type uint32; - description "Base of label range in use for EVPN IMC PD"; - } - leaf evpn-imc-label-block-size { - type uint16; - description "Size of label range in use for EVPN IMC PD"; - } - } - - grouping L2FIB-EVPN-SUMMARY-INFO { - description "L2VPN evpn summary info"; - leaf total-count { - type uint32; - description "Number of EVPN Multicast Replication lists"; - } - leaf isid-count { - type uint32; - description "Number of ISID leaves"; - } - leaf default-count { - type uint32; - description "Number of default leaves"; - } - leaf stitching-count { - type uint32; - description "Number of stitching leaves"; - } - } - - grouping L2FIB-OBJ-QUEUES-SUMMARY { - description "L2FIB OBJ QUEUES SUMMARY"; - leaf inline-cnt { - type uint32; - description "number of objects in inline queue"; - } - leaf retry-cnt { - type uint32; - description "number of objects in retry queue"; - } - leaf update-cnt { - type uint32; - description "number of objects in update queues"; - } - leaf del-cnt { - type uint32; - description "number of objects in delete queues"; - } - } - - grouping L2FIB-MAC-SUMMARY-INFO { - description "L2FIB bridge mac summary info"; - leaf local-mac-count { - type uint32; - description "number of locally learnt macs"; - } - leaf remote-mac-count { - type uint32; - description "number of remotely learned macs"; - } - leaf static-mac-count { - type uint32; - description "number of static macs"; - } - leaf routed-mac-count { - type uint32; - description "number of routed macs"; - } - leaf mac-count { - type uint32; - description "number of all macs"; - } - leaf sbmac-count { - type uint32; - description "number of Source BMACs"; - } - leaf bmac-count { - type uint32; - description "number of BMACs"; - } - } - - grouping L2FIB-BD-SUMMARY-INFO { - description "L2VPN bridge-domain summary info"; - leaf bridge-domain-count { - type uint32; - description "Number of bridge-domains"; - } - leaf bridge-domain-drop-count { - type uint32; - description "Number of bridge-domain updates dropped"; - } - leaf bridge-domain-with-bvi-count { - type uint32; - description "Number of bridge-domains with BVI"; - } - leaf bridge-domain-with-p2mp-enabled { - type uint32; - description "Number of bridge-domains with P2MP enabled"; - } - leaf bridge-domain-with-pbbevpn-enabled { - type uint32; - description "Number of bridge-domains with PBB EVPN enabled"; - } - leaf bridge-domain-with-evpn-enabled { - type uint32; - description "Number of bridge-domains with EVPN enabled"; - } - } - - grouping L2FIB-L2TP-DISP-SUMMARY-INFO { - description "L2TP disposition session object summary"; - leaf l2tp-disposition-session-count { - type uint32; - description "number of l2tp disposition session objects"; - } - leaf bound-l2tp-disposition-session-count { - type uint32; - description "number of bound l2tp dispostion objects"; - } - leaf unbound-l2tp-disposition-session-count { - type uint32; - description "number of unbound l2tp disposition objects"; - } - } - - grouping L2FIB-NH-SUMMARY-INFO2 { - description "Specific nhop summary"; - leaf next-hop-count { - type uint32; - description "total number of nhops"; - } - leaf bound-next-hop-count { - type uint32; - description "number of bound nhops"; - } - leaf unbound-next-hop-count { - type uint32; - description "number of unbound nhops"; - } - leaf next-hop-pending-registration-count { - type uint32; - description "number of nhops pending registration with fib "; - } - } - - grouping L2FIB-NH-SUMMARY-INFO { - description "nhop db summary"; - - container mpls-il { - description "MPLS Internal Label nexthop summary"; - uses L2FIB-NH-SUMMARY-INFO2; - } - - container mpls { - description "MPLS nexthop summary"; - uses L2FIB-NH-SUMMARY-INFO2; - } - - container l2tp { - description "L2TP nexthop summary"; - uses L2FIB-NH-SUMMARY-INFO2; - } - - container lsm { - description "LSM nexthop summary"; - uses L2FIB-NH-SUMMARY-INFO2; - } - - container p2mp-tunnels { - description "P2MPtun nexthop summary"; - uses L2FIB-NH-SUMMARY-INFO2; - } - } - - grouping L2FIB-XC-SUMMARY-INFO { - description "xconnect db summary"; - leaf xconnect-count { - type uint32; - description "total number of entries"; - } - leaf xconnect-up-count { - type uint32; - description "number of up entries"; - } - leaf xconnect-down-count { - type uint32; - description "number of down entries"; - } - leaf ac-to-pw-count-mpls { - type uint32; - description "number of ac->pw-mpls entries"; - } - leaf ac-to-pw-count-l2tp { - type uint32; - description "number of ac->pw-l2tp entries"; - } - leaf ac-to-pw-count-l2tp-ip-v6 { - type uint32; - description "number of ac->pw-l2tp-ipv6 entries"; - } - leaf ac-to-pw-count-l2tpv2 { - type uint32; - description "number of ac->pw-l2tpv2 entries"; - } - leaf ac-to-ac-count { - type uint32; - description "number of ac->ac entries"; - } - leaf ac-to-unknown-count { - type uint32; - description "number of ac->unknown type entries"; - } - leaf mon-sess-to-pw-count { - type uint32; - description "number of monitor_session->pw entries"; - } - leaf mon-sess-to-unknown-count { - type uint32; - description "number of monitor_session->unknown type entries"; - } - leaf ac-to-bp-count { - type uint32; - description "number of ac->bp entries"; - } - leaf pw-to-bp-count { - type uint32; - description "number of pw->bp entries"; - } - leaf pw-to-unknown-count { - type uint32; - description "number of pw->unknown type entries"; - } - leaf pbb-to-bp-count { - type uint32; - description "number of pbb->bp entries"; - } - leaf pbb-to-unknown-count { - type uint32; - description "number of pbb->unknown type entries"; - } - leaf vni-to-bp-count { - type uint32; - description "number of vni->bp entries"; - } - leaf vni-to-unknown-count { - type uint32; - description "number of vni->unknown type entries"; - } - leaf evpn-to-bp-count { - type uint32; - description "number of evpn->bp entries"; - } - leaf evpn-to-unknown-count { - type uint32; - description "number of evpn->unknown type entries"; - } - leaf ac-down-count-aib { - type uint32; - description "number of down acs with reason aib"; - } - leaf ac-down-count-l2vpn { - type uint32; - description "number of down acs with reason l2vpn"; - } - leaf ac-down-count-l3fib { - type uint32; - description "number of down acs with reason fib"; - } - leaf ac-down-count-vpdn { - type uint32; - description "number of down acs with reason vpdn"; - } - leaf vpws-pw-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to VPWS PW - invalid xid"; - } - leaf vpls-pw-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to VPLS PW - invalid xid"; - } - leaf virtual-ac-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to Virtual AC - invalid xid"; - } - leaf pbb-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to PBB invalid - xid"; - } - leaf vni-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to VNI invalid - xid"; - } - leaf evpn-invalid-xid-drop-count { - type uint32; - description - "number of xc updates dropped due to EVPN invalid - xid"; - } - leaf vpls-pw-max-exceeded-drop-cnt { - type uint32; - description - "number of xc updates dropped due to max VPLS PWs - exceeded"; - } - leaf bundle-ac-max-exceeded-drop-cnt { - type uint32; - description - "number of xc updates dropped due to max Bundle - ACs exceeded"; - } - leaf p2p-count { - type uint32; - description "number of p2p xconnects"; - } - leaf bp-count { - type uint32; - description "number of bridge-port xconnects"; - } - leaf pwhe-l2-if-count { - type uint32; - description "number of PWHE L2IF xconnects"; - } - } - - grouping L2FIB-SUMMARY-INFO { - description "L2FIB summary info"; - - container xconnect-summary { - description "xconnect db summary info"; - uses L2FIB-XC-SUMMARY-INFO; - } - - container next-hop-summary { - description "nhop db summry info"; - uses L2FIB-NH-SUMMARY-INFO; - } - - container l2tp-disposition-summary { - description "L2TP disposition object summary"; - uses L2FIB-L2TP-DISP-SUMMARY-INFO; - } - - container bridge-domain-summary { - description "Bridge-domain summary info"; - uses L2FIB-BD-SUMMARY-INFO; - } - - container mac-summary { - description "mac summary info"; - uses L2FIB-MAC-SUMMARY-INFO; - } - - container queue-summary { - description "queue summary info"; - uses L2FIB-OBJ-QUEUES-SUMMARY; - } - - container evpn-summary { - description "evpn summary info"; - uses L2FIB-EVPN-SUMMARY-INFO; - } - - container global-cfg { - description "Global configuration"; - uses L2FIB-GLOBAL-CFG-INFO; - } - - container ptree-summary { - description "P2MP PTree summary info"; - uses L2FIB-PTREE-SUMMARY-INFO; - } - - container pw-group-summary { - description "PWGroup summary info"; - uses L2FIB-PWGROUP-SUMMARY-INFO; - } - - container pwhe-mp-summary { - description "PWHE Main-port summary info"; - uses L2FIB-PWHE-MP-SUMMARY-INFO; - } - } - - grouping L2FIB-MCAST-XID-INFO { - description "L2fib xid info"; - - container base-information { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container forward-stats { - description "Forwarding Statistics"; - uses L2FIB-PLATFORM-STATS-BAG; - } - - container source-prefix { - description "Source Prefix"; - uses L2FIB-PREFIX-INFO; - } - - container destination-prefix { - description "Destination Prefix"; - uses L2FIB-PREFIX-INFO; - } - leaf bridge-id { - type uint32; - description "Bridge Id"; - } - leaf ac-interface-handle { - type xr:Interface-name; - description "AC If handle"; - } - leaf leaf-pointer { - type uint32; - description "Leaf Ptr"; - } - leaf pw-id { - type string { - length "0..40"; - } - description "PW ID"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "NHOP IP Address"; - } - leaf isid { - type uint32; - description "Isid Id"; - } - leaf csfl { - type uint32; - description "Csfl Id"; - } - leaf sat-id { - type uint16; - description "Sat Id"; - } - leaf is-ole-offloaded { - type boolean; - description "Ole Offloaded"; - } - leaf is-ole-master { - type boolean; - description "Ole Master"; - } - leaf is-topo-hub-and-spoke { - type boolean; - description "Topo HubAndSpoke"; - } - } - - grouping L2FIB-BRIDGE-SUMMARY-INFO { - description "L2VPN bridge summary info"; - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf bridge-name { - type string; - description "Bridge name"; - } - leaf mac-limit { - type uint32; - description "MAC limit"; - } - leaf mac-limit-action { - type Mgmt-l2fib-mac-limit-action; - description "MAC limit action"; - } - leaf flood-disabled { - type boolean; - description "Is flooding disabled"; - } - leaf mac-learning-disabled { - type boolean; - description "Is MAC learning disabled"; - } - leaf mac-port-down-flush-disabled { - type boolean; - description "Is MAC port down flush disabled"; - } - leaf admin-disabled { - type boolean; - description "Is administratively disabled"; - } - leaf bridge-port-count { - type uint32; - description "Number of bridge ports"; - } - leaf number-of-shg { - type uint32; - description "Number of split horizon groups"; - } - leaf number-of-hwmac { - type uint32; - description "Number of HW MAC addresses"; - } - leaf number-of-swmac { - type uint32; - description "Number of SW MAC addresses"; - } - leaf mtu { - type uint32; - description "MTU"; - } - leaf aging-time-out { - type uint32; - description "Aging timeout"; - } - leaf msti { - type uint32; - description "multi-spanning tree instance"; - } - } - - grouping L2FIB-BRIDGE-PORT-SEG-UN { - description "L2FIB BRIDGE PORT SEG UN"; - - container ac { - when "../data-type = 'mgmt-l2fib-data-type-ac'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "ac"; - uses L2FIB-AC-INFO; - } - - container pbb { - when "../data-type = 'mgmt-l2fib-data-type-pbb'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; - } - description "pbb"; - uses L2FIB-PBB-INFO; - } - - container vni { - when "../data-type = 'mgmt-l2fib-data-type-vni'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; - } - description "vni"; - uses L2FIB-VNI-INFO; - } - - container evpn { - when "../data-type = 'mgmt-l2fib-data-type-evpn'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; - } - description "evpn"; - uses L2FIB-EVPN-INFO; - } - - container pw { - when "../data-type != 'mgmt-l2fib-data-type-ac' and"+ - " ../data-type != 'mgmt-l2fib-data-type-pbb' and"+ - " ../data-type != 'mgmt-l2fib-data-type-vni' and"+ - " ../data-type != 'mgmt-l2fib-data-type-evpn'" { - description - "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN'"; - } - description "pw"; - uses L2FIB-PW-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-BRIDGE-PORT-DETAIL-INFO { - description "L2VPN bridge port info"; - - container segment { - description "Segment"; - uses L2FIB-BRIDGE-PORT-SEG-UN; - } - - container bridge-port-operational-info { - description "Bridge port operational information"; - uses L2FIB-OPER-BRIDGE-PORT-INFO; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf shg-id { - type uint32; - description "Split horizon group ID"; - } - leaf xc-id { - type uint32; - description "xconnect ID"; - } - leaf number-of-hw-mac { - type uint32; - description "Number of HW MAC addresses"; - } - leaf number-of-sw-mac { - type uint32; - description "Number of SW MAC addresses"; - } - leaf mac-limit { - type uint32; - description "MAC limit"; - } - leaf mac-limit-action { - type Mgmt-l2fib-mac-limit-action; - description "MAC limit action"; - } - leaf flooding-disabled { - type boolean; - description "Is flooding disabled"; - } - leaf mac-learning-disabled { - type boolean; - description "Is MAC learning disabled"; - } - leaf mac-port-down-flush-disabled { - type boolean; - description "Is MAC port down flush disabled"; - } - leaf mtu { - type uint32; - description "MTU"; - } - leaf aging-time-out { - type uint32; - description "Aging timeout"; - } - } - - grouping L2FIB-G8032-RING-INSTANCE-DETAIL-INFO { - description "L2FIB ethernet ring instance info detail"; - leaf ring-instance { - type uint32; - description "Ring instance number"; - } - leaf vlan-ids { - type string; - description "Vlan Ids"; - } - leaf ring-profile { - type string; - description "Ring Profile"; - } - leaf rpl { - type L2fib-g8032-rpl; - description "RPL"; - } - leaf aps-port0 { - type string; - description "Port 0 of aps-channel"; - } - leaf aps-port1 { - type string; - description "Port 1 of aps-channel"; - } - leaf aps-port-status0 { - type L2fib-g8032-aps-port-status; - description "Status of Port 0"; - } - leaf aps-port-status1 { - type L2fib-g8032-aps-port-status; - description "Status of Port 1"; - } - leaf aps-channel-level { - type uint32; - description "APS channel level"; - } - } - - grouping L2FIB-G8032-RING-INSTANCE-SUMMARY-INFO { - description "L2FIB ethernet ring instance info summary"; - leaf ring-instance { - type uint32; - description "Ring instance number"; - } - leaf aps-port0 { - type string; - description "Port 0 of aps-channel"; - } - leaf aps-port1 { - type string; - description "Port 1 of aps-channel"; - } - } - - grouping L2FIB-G8032-RING-SUMMARY-INFO { - description "L2FIB ethernet ring info summary"; - leaf ring-name { - type string; - description "Name of the ring"; - } - leaf port0 { - type string; - description "Port 0"; - } - leaf port1 { - type string; - description "Port 1"; - } - } - - grouping L2FIB-G8032-RING-DETAIL-INFO { - description "L2FIB ethernet ring info detail"; - leaf ring-name { - type string; - description "Name of the ring"; - } - leaf port0 { - type string; - description "Port 0"; - } - leaf port1 { - type string; - description "Port 1"; - } - leaf monitor0 { - type string; - description "Monitor port 0"; - } - leaf monitor1 { - type string; - description "Monitor port 1"; - } - leaf is-open-ring { - type boolean; - description "Open Ring"; - } - } - - grouping L2FIB-L2TP-DISP-INFO { - description "L2TP session disposition object"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - leaf session-id-xr { - type uint32; - description "Local Session Id"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface handle of egress main interface"; - } - leaf sub-interface-name { - type xr:Interface-name; - description "SubInterface Name"; - } - leaf source-address { - type inet:ipv4-address; - description "Source/Local IP address of the tunnel"; - } - leaf bound { - type boolean; - description "Bind status"; - } - leaf tunnel-id-xr { - type uint32; - description "Tunnel ID, l2tpv2"; - } - leaf ipv4-table-id { - type uint32; - description "IPv4 Table ID"; - } - leaf ipv6-table-id { - type uint32; - description "IPv6 Table ID"; - } - leaf nhop-ip-addr { - type inet:ipv4-address; - description "NHOP IP Address of the tunnel"; - } - leaf session-type { - type L2fib-l2tp-session; - description "L2tp or L2tpv2 session"; - } - } - - grouping L2FIB-MAIN-PORT-MSTP-DETAIL-INFO { - description "L2FIB main port mstp detail info"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - leaf parent-interface-xr { - type xr:Interface-name; - description "main port ID"; - } - leaf msti-xr { - type uint32; - description "multi-spanning tree instance configured value"; - } - leaf internal-msti { - type uint32; - description "multi-spanning tree instance internal value"; - } - leaf state { - type uint32; - description "MSTI state"; - } - leaf learn-key { - type uint8; - description "Learn Key"; - } - list bridge-port-array { - description "Bridge port"; - leaf entry { - type xr:Interface-name; - } - } - } - - grouping L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-SUMMARY-INFO { - description - "L2VPN main interface instance bridge port info - summary"; - leaf bridge-port-id { - type xr:Interface-name; - description "Bridge Port ID"; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf main-interface { - type xr:Interface-name; - description "Main interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - leaf bp-type { - type uint8; - description "Bridge Port Type"; - } - } - - grouping L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO { - description - "L2FIB main interface instance summary info - summary"; - leaf main-interface { - type xr:Interface-name; - description "Main interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - leaf instance { - type uint32; - description "Interface instance"; - } - leaf state { - type L2fib-main-if-instance-state; - description "Instance state"; - } - leaf bridge-port-count { - type uint32; - description "Number of bridge ports"; - } - leaf instance-provisioned { - type boolean; - description "Instances provisioned flag"; - } - } - - grouping L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-DETAIL-INFO { - description - "L2VPN main interface instance bridge port info - detail"; - - container oper { - description "Operational information"; - uses L2FIB-OPER-BRIDGE-PORT-INFO; - } - leaf bridge-port-id { - type xr:Interface-name; - description "Bridge Port ID"; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf state { - type L2fib-main-if-instance-state; - description "Instance state"; - } - leaf main-interface { - type xr:Interface-name; - description "Main interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - leaf bp-type { - type uint8; - description "Bridge Port Type"; - } - } - - grouping L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO { - description "L2FIB main interface instance detail info detail"; - leaf main-interface { - type xr:Interface-name; - description "Main interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - leaf instance { - type uint32; - description "Interface instance"; - } - leaf state { - type L2fib-main-if-instance-state; - description "Instance state"; - } - leaf bridge-port-count { - type uint32; - description "Number of bridge ports"; - } - leaf instance-provisioned { - type boolean; - description "Instances provisioned flag"; - } - } - - grouping L2FIB-MAIN-INTERFACE-SUMMARY-INFO { - description "L2FIB main interface summary info summary"; - leaf main-interface { - type xr:Interface-name; - description "Main Interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - list instance-id { - description "Instance IDs"; - leaf entry { - type uint32; - } - } - list instances-state { - description "State for each instance"; - leaf entry { - type L2fib-main-if-instance-state; - } - } - list instances-provisioned { - description "Instances provisioned flag"; - leaf entry { - type boolean; - } - } - } - - grouping L2FIB-EVPN-REMOTE-SHG-INFO { - description "L2FIB EVPN Remote Split Horizon Group Info"; - - container remote-split-horizon-group-label { - description "Remote split horizon group label"; - uses L2VPN-EVPN-REMOTE-SHG-INFO; - } - } - - grouping L2FIB-MAIN-INTERFACE-DETAIL-INFO { - description "L2FIB main interface detail info detail"; - leaf main-interface { - type xr:Interface-name; - description "Main Interface ID"; - } - leaf main-if-type { - type uint8; - description "Main Interface Type"; - } - leaf virtual-if-name { - type string; - description "Virtual Main IfName"; - } - leaf mac { - type string; - description "MAC Address"; - } - leaf esi-id { - type uint16; - description "Ethernet segment ID"; - } - leaf evpn-shg-local-label { - type uint32; - description "EVPN split horizon group local label"; - } - list instance-id { - description "Instance IDs"; - leaf entry { - type uint32; - } - } - list instances-state { - description "State for each instance"; - leaf entry { - type L2fib-main-if-instance-state; - } - } - list instances-provisioned { - description "Instances provisioned flag"; - leaf entry { - type boolean; - } - } - list bridge-port-count-instance { - description "Number of bridge ports per instance"; - leaf entry { - type uint32; - } - } - list ethernet-segment-identifier { - description "Ethernet Segment Identifier"; - leaf entry { - type uint8; - } - } - - list evpn-shg-remote-info { - description "EVPN split horizon group remote info"; - uses L2FIB-EVPN-REMOTE-SHG-INFO; - } - } - - grouping L2FIB-DHCP-BIND-UN { - description "L2FIB DHCP BIND UN"; - - container ac { - when "../data-type = 'mgmt-l2fib-data-type-ac'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "ac"; - uses L2FIB-AC-KEY-INFO; - } - - container pw { - when "../data-type != 'mgmt-l2fib-data-type-ac'" { - description "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "pw"; - uses L2FIB-PW-KEY-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-DHCP-BINDING-DETAIL-INFO { - description "L2FIB DHCP binding detail info"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - - container port { - description "Union of Port information"; - uses L2FIB-DHCP-BIND-UN; - } - } - - grouping L2FIB-PWGROUP-INFO { - description "l2fib pwgroup info"; - leaf group-state { - type L2fib-group-state; - description "Group State"; - } - leaf pw-list-count { - type uint32; - description "Dependent PW List Count"; - } - } - - grouping L2FIB-RSRC-SHM-INFO { - description "Shared memory availability"; - leaf oout-of-resource-mode { - type uint32; - description "OOR mode"; - } - leaf maximum-available { - type uint64; - units "byte"; - description "Maximum bytes available"; - } - leaf average-available { - type uint64; - units "byte"; - description "Average number of bytes available"; - } - leaf average-utility { - type uint64; - description "Average utilization"; - } - } - - grouping L2FIB-RSRC-INFO { - description "L2FIB resource availability info"; - - container shm-resource { - description "Shared memory resource info"; - uses L2FIB-RSRC-SHM-INFO; - } - leaf overall-out-of-resource-mode { - type uint32; - description "Overall OOR mode"; - } - leaf hardware-resource-mode-information { - type yang:hex-string; - description "Opaque hardware resource info"; - } - list hardware-resource-mode { - description "Hardware resource mode"; - leaf entry { - type uint32; - } - } - } - - grouping L2FIB-MAIN-PORT-MSTP-SUMMARY-INFO { - description "L2FIB main port mstp summary info"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - leaf parent-interface-xr { - type xr:Interface-name; - description "main port ID"; - } - leaf msti-xr { - type uint32; - description "multi-spanning tree instance"; - } - leaf state { - type uint32; - description "MSTI state"; - } - leaf bridge-port-count { - type uint32; - description "Number of bridge ports"; - } - } - - grouping L2FIB-BRIDGE-P2MP-PW-INFO { - description "L2FIB BRIDGE P2MP PW INFO"; - - container parent-next-hop { - description "Parent Next Hop for P2MP PW"; - uses L2FIB-NHOP-INFO; - } - leaf ptree-type { - type L2vpn-ptree; - description "P2MP ptree type"; - } - leaf lsm-id { - type uint32; - description "LSM id"; - } - leaf p2mp-te-interface { - type xr:Interface-name; - description "P2MP TE ifh"; - } - leaf parent-nh-valid { - type boolean; - description "Is Parent NH Valid"; - } - leaf parent-nh-bound { - type boolean; - description "Is Parent NH Bound"; - } - leaf local-label { - type uint32; - description "Local label"; - } - } - - grouping L2FIB-BRIDGE-BVI-INFO { - description "L2FIB BRIDGE BVI INFO"; - leaf bvi-ifh { - type xr:Interface-name; - description "BVI interface handle"; - } - leaf bvi-xid { - type uint32; - description "BVI xconnect id"; - } - leaf bvi-name { - type string { - length "0..65"; - } - description "BVI name"; - } - leaf bvi-shg-id { - type uint32; - description "BVI Split Horizon Group ID"; - } - leaf irb-plat-data-len { - type uint32; - units "byte"; - description "Platform data bytes"; - } - leaf irb-plat-data { - type yang:hex-string; - description "IRB platform data"; - } - } - - grouping L2FIB-BRIDGE-PBB-CORE { - description "L2FIB BRIDGE PBB CORE"; - leaf nber-edge-bd { - type uint32; - description "Number of associated pbb-edge Bds"; - } - } - - grouping L2FIB-BRIDGE-PBB-EDGE { - description "L2FIB BRIDGE PBB EDGE"; - leaf i-sid { - type uint32; - description "I SID"; - } - leaf core-bd-name { - type string; - description "Core Bridge Domain name"; - } - leaf mirp-lite-rx { - type uint64; - description "MIRP-lite Rx packet counter"; - } - leaf mirp-lite-tx { - type uint64; - description "MIRP-lite Tx packet counter"; - } - } - - grouping L2FIB-BRIDGE-PBB-UN { - description "L2FIB BRIDGE PBB UN"; - - container edge { - when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-edge'" { - description - "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_EDGE'"; - } - description "edge"; - uses L2FIB-BRIDGE-PBB-EDGE; - } - - container core { - when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-core'" { - description - "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_CORE'"; - } - description "core"; - uses L2FIB-BRIDGE-PBB-CORE; - } - leaf pbb-type { - type Mgmt-l2fib-bridge; - description "PbbType"; - } - } - - grouping L2FIB-OPER-BRIDGE-INFO { - description "L2VPN bridge operational information"; - - container operational-information { - description "L2 operational information"; - uses L2FIB-OPER-INFO; - } - leaf unicast-storm-control-pps { - type uint64; - description "Unicast storm control pps"; - } - leaf unicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Unicast storm control kbps"; - } - leaf broadcast-storm-control-pps { - type uint64; - description "Broadcast storm control pps"; - } - leaf broadcast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Broadcast storm control kbps"; - } - leaf multicast-storm-control-pps { - type uint64; - description "Multicast storm control pps"; - } - leaf multicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Multicast storm control kbps"; - } - } - - grouping L2FIB-BRIDGE-INFO { - description "L2VPN bridge detailed info"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - - container oper { - description "Operational information"; - uses L2FIB-OPER-BRIDGE-INFO; - } - - container bd-pbb-union { - description "Union of bridge Edge and Core info"; - uses L2FIB-BRIDGE-PBB-UN; - } - - container bvi-info { - description "BVI Information"; - uses L2FIB-BRIDGE-BVI-INFO; - } - - container p2mppw-info { - description "P2MP PW Information"; - uses L2FIB-BRIDGE-P2MP-PW-INFO; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf bridge-port-count { - type uint32; - description "Number of bridge ports"; - } - leaf number-of-hwmac { - type uint32; - description "Number of HW MAC addresses"; - } - leaf number-of-swmac { - type uint32; - description "Number of SW MAC addresses"; - } - leaf bridge-name { - type string; - description "Bridge name"; - } - leaf shg-count { - type uint32; - description "Number of split horizon groups"; - } - leaf bridge-type { - type Mgmt-l2fib-bridge; - description "Bridge Type"; - } - leaf learn-key { - type uint8; - description "Learn Key"; - } - } - - grouping L2FIB-DHCP-BINDING-COUNT-INFO { - description "L2FIB DHCP binding count info"; - leaf bindings { - type uint32; - description "DHCP binding count"; - } - } - - grouping L2FIB-PWHE-MP-SHOW-INFO { - description "L2FIB PWHE Main-port info"; - leaf next-hop-valid { - type boolean; - description "IS Next Hop Valid"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next Hop Address"; - } - leaf pseudo-wire-type { - type uint32; - description "Pseudowire type"; - } - leaf generic-interface-list-id { - type uint32; - description "Generic Interface List ID"; - } - leaf internal-label { - type uint32; - description "Internal label"; - } - leaf remote-label { - type uint32; - description "Remote label"; - } - leaf control-word-enabled { - type boolean; - description "Control Word Enabled"; - } - } - - grouping L2FIB-EVPN-IPMAC-INFO { - description "L2FIB EVPN IP-MAC Info"; - - container ip-address-xr { - description "IP Address"; - uses L2FIB-IP-ADDR; - } - leaf bdid-xr { - type uint32; - description "BD ID"; - } - leaf mac-address-xr { - type yang:mac-address; - description "MAC Address"; - } - leaf arp-nd-sync-pending { - type boolean; - description "Sync to ARP/ND Process Pending"; - } - leaf arp-nd-probe-pending { - type boolean; - description "Probe to ARP/ND Process Pending"; - } - leaf arp-nd-delete-pending { - type boolean; - description "Delete to ARP/ND Process Pending"; - } - leaf is-local-xr { - type boolean; - description "IP-MAC Route is locally learned"; - } - } - - grouping L2FIB-BRIDGE-MAC-EVPN-CTX-UN { - description "L2FIB BRIDGE MAC EVPN CTX UN"; - - container mcast-ole { - when "../data-type = 'mgmt-l2fib-bridge-mac-evpn-ctx-moi'" { - description - "../DataType = - 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_MOI'"; - } - description "mcast ole"; - uses L2VPN-EVPN-MOI-INFO; - } - leaf data-type { - type Mgmt-l2fib-bridge-mac-evpn-ctx; - description "DataType"; - } - leaf esi-id { - when "../data-type ="+ - " 'mgmt-l2fib-bridge-mac-evpn-ctx-esi-id'" { - description - "../DataType = - 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_ESI_ID'"; - } - type uint16; - description "EsiID"; - } - leaf local-label { - when "../data-type ="+ - " 'mgmt-l2fib-bridge-mac-evpn-ctx-local-label'" { - description - "../DataType = - 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_LOCAL_LABEL'"; - } - type uint32; - description "LocalLabel"; - } - leaf bp-ifh { - when "../data-type ="+ - " 'mgmt-l2fib-bridge-mac-evpn-ctx-bp-ifh'" { - description - "../DataType = - 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_BP_IFH'"; - } - type xr:Interface-name; - description "BP IFH"; - } - } - - grouping L2FIB-PW-KEY-INFO { - description "L2FIB PW KEY INFO"; - leaf pw-id { - type uint64; - description "Pseudowire ID"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next Hop Address"; - } - leaf pseudo-wire-id-type { - type L2fib-pw-id; - description "Pseudowire ID type"; - } - } - - grouping L2FIB-EVPN-KEY-INFO { - description "L2FIB EVPN KEY INFO"; - leaf xcid { - type uint32; - description "Xconnect ID"; - } - } - - grouping L2FIB-VNI-KEY-INFO { - description "L2FIB VNI KEY INFO"; - leaf xcid { - type uint32; - description "Xconnect ID"; - } - leaf parent-if { - type xr:Interface-name; - description "Parent NVE Interface"; - } - } - - grouping L2FIB-PBB-KEY-INFO { - description "L2FIB PBB KEY INFO"; - leaf xcid { - type uint32; - description "Xconnect ID"; - } - } - - grouping L2FIB-AC-KEY-INFO { - description "L2FIB AC KEY INFO"; - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - } - - grouping L2FIB-BRIDGE-PORT-SEG-KEY-UN { - description "L2FIB BRIDGE PORT SEG KEY UN"; - - container ac { - when "../data-type = 'mgmt-l2fib-data-type-ac'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "ac"; - uses L2FIB-AC-KEY-INFO; - } - - container pbb { - when "../data-type = 'mgmt-l2fib-data-type-pbb'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; - } - description "pbb"; - uses L2FIB-PBB-KEY-INFO; - } - - container vni { - when "../data-type = 'mgmt-l2fib-data-type-vni'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; - } - description "vni"; - uses L2FIB-VNI-KEY-INFO; - } - - container evpn { - when "../data-type = 'mgmt-l2fib-data-type-evpn'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; - } - description "evpn"; - uses L2FIB-EVPN-KEY-INFO; - } - - container pw { - when "../data-type != 'mgmt-l2fib-data-type-ac' and"+ - " ../data-type != 'mgmt-l2fib-data-type-pbb' and"+ - " ../data-type != 'mgmt-l2fib-data-type-vni' and"+ - " ../data-type != 'mgmt-l2fib-data-type-evpn'" { - description - "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN'"; - } - description "pw"; - uses L2FIB-PW-KEY-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-BRIDGE-MAC-INFO { - description "L2VPN bridge MAC address info"; - - container base { - description "Base information"; - uses L2FIB-BASE-INFO; - } - - container segment { - description "Segment"; - uses L2FIB-BRIDGE-PORT-SEG-KEY-UN; - } - - container evpn-ctx { - description "Evpn Context"; - uses L2FIB-BRIDGE-MAC-EVPN-CTX-UN; - } - - container next-hop { - description "Next Hop"; - uses L2FIB-NHOP-INFO; - } - leaf platform-is-hw-learn { - type uint8; - description "Platform is HW Learn"; - } - leaf node-id { - type xr:Node-id; - description "Nodeid list"; - } - leaf bridge-domain-name { - type string; - description "Bridge name"; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf bmac-configured { - type boolean; - description "Flag: Configured BMAC"; - } - leaf vni-l3-flag { - type boolean; - description "Flag: L3 Vxlan"; - } - leaf pbb-bmac { - type yang:mac-address; - description "Backbone MAC Address"; - } - leaf l3-encapsulationvlan-id { - type uint16; - description "L3 encapsulation Vlan ID"; - } - leaf next-hop-valid { - type boolean; - description "IS Next Hop Valid"; - } - leaf peer-vtep-ip { - type inet:ipv4-address; - description "Peer VTEP IP for this MAC Address"; - } - leaf flag-extension { - type uint16; - description "MAC Flag Extension"; - } - leaf vni { - type uint32; - description "VNI Information"; - } - } - - grouping L2VPN-EVPN-MOI-INFO { - description "L2VPN EVPN MOI INFO"; - leaf next-hop-ipv6-addr { - type inet:ipv6-address; - description "Next Hop IPv6 address"; - } - leaf mcast-label { - type uint32; - description "Inclusive mcast label"; - } - } - - grouping L2FIB-EVPN-MCAST-OLE-INFO { - description "L2FIB evpn mcast ole info"; - - container mcast-ole { - description "Mcast Ole Info"; - uses L2VPN-EVPN-MOI-INFO; - } - - container next-hop { - description "Next Hop"; - uses L2FIB-NHOP-INFO; - } - leaf is-bound { - type boolean; - description "Is bound"; - } - leaf next-hop-valid { - type boolean; - description "IS Next Hop Valid"; - } - } - - grouping L2FIB-EVPN-MCAST-LEAF-INFO { - description "L2FIB evpn mcast leaf info"; - leaf bridge-domain-name { - type string; - description "Bridge-domain name"; - } - leaf bridge-domain-id { - type uint32; - description "bdid value"; - } - leaf xcid { - type uint32; - description "xcid value"; - } - leaf is-bound { - type boolean; - description "Is bound"; - } - } - - grouping L2FIB-P2MP-PTREE-INFO { - description "l2fib p2mp ptree info"; - leaf lsm-id-xr { - type uint32; - description "MLDP Lsm Id"; - } - leaf tunnel-id-xr { - type uint32; - description "RSVPTE Tunnel Id"; - } - leaf p2mp-id-xr { - type uint32; - description "RSVPTE P2MP Id"; - } - leaf extended-tunnel-id-xr { - type inet:ipv4-address; - description "RSVPTE Ext Tunnel Id"; - } - } - - grouping L2FIB-IP-ADDR { - description "L2FIB IP ADDR"; - leaf addr-type { - type L2fib-ip-addr; - description "addr type"; - } - leaf ip { - type inet:ipv6-address; - description "ip"; - } - } - - grouping L2FIB-MAC-DB-INFO { - description "L2FIB MAC DB info"; - - container addr { - description "IP Address"; - uses L2FIB-IP-ADDR; - } - - container nhaddr { - description "IP Address"; - uses L2FIB-IP-ADDR; - } - leaf element-type { - type uint8; - description "Element Type"; - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - leaf topology-id { - type uint32; - description "Topology ID"; - } - leaf mac-address-xr { - type yang:mac-address; - description "MAC Address"; - } - leaf interface-handle-xr { - type uint32; - description "Interface Handle"; - } - leaf xcid { - type uint32; - description "Cross-connect Identifier"; - } - leaf generation { - type uint8; - description "HW MAC generation"; - } - } - - grouping L2FIB-PBB-BMAC-SA-INFO { - description "L2FIB PBB BMAC SA INFO"; - leaf configured { - type boolean; - description "BMAC SA configured"; - } - leaf mac { - type yang:mac-address; - description "Backbone Source Mac"; - } - leaf chassis-mac { - type yang:mac-address; - description "Chassis Mac"; - } - } - - grouping L2FIB-MCAST-IRB-INFO { - description "L2FIB MCAST IRB INFO"; - leaf mxid-ac-interface-handle { - type xr:Interface-name; - description "Master XID AC If handle"; - } - leaf mxid-pw-id { - type uint32; - description "Master XID PW ID"; - } - leaf mxid-next-hop-address { - type inet:ipv4-address; - description "Master XID NHOP IP Address"; - } - leaf irb-plat-data-len { - type uint16; - units "byte"; - description "Platform data bytes"; - } - list irb-plat-data { - max-elements "16"; - - description "IRB platform data"; - leaf entry { - type uint32; - } - } - } - - grouping L2FIB-MCAST-BAG-COUNTERS { - description "L2FIB mcast statistics counters"; - leaf packets { - type uint64; - description "Number of packets"; - } - leaf bytes { - type uint64; - units "byte"; - description "Number of bytes"; - } - } - - grouping L2FIB-MCAST-STATS-BAG { - description "L2FIB mcast forwarding statistics"; - - container multicast-forward-stat { - description "forwarded stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - - container received-stat { - description "received stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - - container punt { - description "punted stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - - container drop { - description "dropped stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - - container multicast-core-forward-stat { - description "core forwarded stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - - container core-received-stat { - description "core received stats"; - uses L2FIB-MCAST-BAG-COUNTERS; - } - } - - grouping L2FIB-PLATFORM-STATS-UNION-BAG { - description "L2FIB PLATFORM STATS UNION BAG"; - - container mulicast { - when "../data-type = 'mgmt-l2fib-stats-type-mcast'" { - description "../DataType = 'MGMT_L2FIB_STATS_TYPE_MCAST'"; - } - description "mulicast"; - uses L2FIB-MCAST-STATS-BAG; - } - leaf data-type { - type Mgmt-l2fib-stats-data; - description "DataType"; - } - } - - grouping L2FIB-PLATFORM-STATS-BAG { - description "L2FIB platform statistics"; - - container forward-stat { - description "fwd stats"; - uses L2FIB-PLATFORM-STATS-UNION-BAG; - } - } - - grouping L2FIB-PREFIX-INFO { - description "L2FIB PREFIX INFO"; - leaf proto { - type uint8; - description "The prefix protocol"; - } - leaf prefix-length { - type uint16; - description "The prefix length"; - } - leaf prefix { - type yang:hex-string; - description "The prefix"; - } - } - - grouping L2FIB-MCAST-LEAF-INFO { - description "l2fib mcast leaf info"; - - container multicast-base-information { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container source-prefix { - description "Source Prefix"; - uses L2FIB-PREFIX-INFO; - } - - container destination-prefix { - description "Destination Prefix"; - uses L2FIB-PREFIX-INFO; - } - - container forward-stats { - description "Forwarding Statistics"; - uses L2FIB-PLATFORM-STATS-BAG; - } - - container irb-info { - description "IRB Information"; - uses L2FIB-MCAST-IRB-INFO; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf xid-count { - type uint16; - description "Count of XIDs"; - } - leaf platform-data-length { - type uint8; - description "The mcast platform data len"; - } - leaf platform-data { - type yang:hex-string; - description "The mcast platform data"; - } - leaf hardware-information { - type yang:hex-string; - description "Platform Hardware info"; - } - leaf bridge-domain-name { - type string { - length "0..66"; - } - description "Bridge Name"; - } - } - - grouping L2FIB-GBL-RTD-ITEM { - description "Round-trip delay for PD calls per action"; - leaf number-pd-update { - type uint32; - description "The number of time PD is called"; - } - leaf number-pd-update-zero { - type uint32; - description "The number of time PD is called in 0 time"; - } - leaf minimum-round-trip-delay { - type uint64; - description "The minimum round trip delay"; - } - leaf maximum-round-trip-delay { - type uint64; - description "The maximum round trip delay"; - } - leaf average-round-trip-delay { - type uint64; - description "The average round trip delay"; - } - } - - grouping L2FIB-GBL-RTD { - description "Round-trip delay measurement"; - - container bdxc-rtd { - description "bdxc rtd"; - uses L2FIB-GBL-RTD-ITEM; - } - - container aging-rtd { - description "aging rtd"; - uses L2FIB-GBL-RTD-ITEM; - } - - container punt-rtd { - description "punt rtd"; - uses L2FIB-GBL-RTD-ITEM; - } - - container lock-rtd { - description "lock rtd"; - uses L2FIB-GBL-RTD-ITEM; - } - - container platform-init-rtd { - description "platform init rtd"; - uses L2FIB-GBL-RTD-ITEM; - } - leaf rtd-max-obj-type { - type uint32; - description "RTD MAX OBJTYPE"; - } - - list create { - max-elements "51"; - description "create"; - uses L2FIB-GBL-RTD-ITEM; - } - - list modify { - max-elements "51"; - description "modify"; - uses L2FIB-GBL-RTD-ITEM; - } - - list delete { - max-elements "51"; - description "delete"; - uses L2FIB-GBL-RTD-ITEM; - } - - list bind { - max-elements "51"; - description "bind"; - uses L2FIB-GBL-RTD-ITEM; - } - - list unbind { - max-elements "51"; - description "unbind"; - uses L2FIB-GBL-RTD-ITEM; - } - - list mac-flush { - max-elements "51"; - description "mac flush"; - uses L2FIB-GBL-RTD-ITEM; - } - - list pirtd { - max-elements "51"; - description "pirtd"; - uses L2FIB-GBL-RTD-ITEM; - } - } - - grouping L2FIB-EVT-ENTRY { - description "L2FIB event item"; - leaf event-time { - type string { - length "0..32"; - } - description "The real timestamp of the event"; - } - leaf event-type { - type uint8; - description "Event type"; - } - leaf event-many { - type boolean; - description "Multiple event instance flag"; - } - leaf event-sticky { - type boolean; - description "Unwrittable flag"; - } - leaf event-flags { - type uint32; - description "base flag object"; - } - } - - grouping L2FIB-GBL-EVT-HISTORY { - description "L2FIB global event history"; - leaf event-neighbor-entry { - type uint16; - description "number of item in the array"; - } - list extra-information1 { - max-elements "256"; - - description "extra information1"; - leaf entry { - type uint32; - } - } - list extra-information2 { - max-elements "256"; - - description "extra information2"; - leaf entry { - type uint32; - } - } - - list event-entry { - max-elements "256"; - description "event entry"; - uses L2FIB-EVT-ENTRY; - } - } - - grouping L2FIB-EXT-MSG-SUMMARY-INFO { - description "L2FIB message counters summary info"; - - container event-history { - description "Event history buffer"; - uses L2FIB-GBL-EVT-HISTORY; - } - - container round-trip-delay { - description "Round-Trip delay"; - uses L2FIB-GBL-RTD; - } - - list message { - max-elements "87"; - description "message"; - uses L2FIB-GBL-MSG-INFO; - } - } - - grouping L2FIB-GBL-MSG-INFO { - description "L2FIB message counter item info"; - leaf messgae-count { - type uint32; - description "number of message"; - } - leaf time { - type string { - length "0..32"; - } - description "Time string"; - } - leaf information1 { - type uint32; - description "Extra info 1"; - } - leaf information2 { - type uint32; - description "Extra info 2"; - } - } - - grouping L2FIB-MCAST-SUMMARY-INFO { - description "l2fib mcast summary info"; - leaf bridge-domain-name { - type string { - length "0..66"; - } - description "Bridge Name"; - } - leaf bridge-domain-id { - type uint32; - description "Bridge ID"; - } - leaf multicast-update { - type uint32; - description "Multicast Updates"; - } - leaf multicast-update-dropped { - type uint32; - description "Multicast Updates"; - } - leaf number-of-routes { - type uint32; - description "Number of Routes"; - } - leaf number-of-routes-with-ole-offload { - type uint32; - description "Number of Routes with OleOffload"; - } - leaf number-of-mroute-add { - type uint32; - description "Number of Mroutes Added"; - } - leaf number-mroute-deleted { - type uint32; - description "Number of Mroutes Deleted"; - } - leaf number-mroutes-deleted-all { - type uint32; - description "Number of Mroutes All Deleted"; - } - leaf number-mroute-delete-drop { - type uint32; - description "Number of Mroutes Delete droped"; - } - leaf number-mroute-all-delete-drop { - type uint32; - description "Number of Mroutes All Delete droped"; - } - leaf number-xid-add { - type uint32; - description "Number of XID Added"; - } - leaf number-xid-deleted { - type uint32; - description "Number of XID Deleted"; - } - leaf number-of-xid { - type uint32; - description "Number of XIDs"; - } - leaf stale-deleted { - type uint32; - description "Stale Deleted"; - } - leaf stale-xid-deleted { - type uint32; - description "Stale XID Deleted"; - } - - list message { - max-elements "15"; - description "Global Message Information"; - uses L2FIB-GBL-MSG-INFO; - } - } - - grouping L2FIB-FXS-INFO { - description "L2VPN FXS info"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf fxs-id { - type uint32; - description "FXS ID"; - } - leaf segment-type { - type uint8; - description "Segment type"; - } - } - - grouping L2FIB-BRIDGE-PORT-P2MP-INFO { - description "L2FIB BRIDGE PORT P2MP INFO"; - leaf ptree-type { - type L2vpn-ptree; - description "P2MP ptree type"; - } - leaf lsm-id { - type uint32; - description "MLDP LSM id"; - } - leaf tunnel-id { - type uint16; - description "TE Tunnel Id"; - } - leaf p2mp-id { - type uint16; - description "TE P2MP Id"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "TE Extended Tunnel Id"; - } - leaf ptree-owner-lmrib { - type boolean; - description "PTree Owner LMRIB"; - } - } - - grouping L2FIB-PROFILE-INFO { - description "L2VPN feature profile information"; - leaf profile-name { - type string; - description "Feature profile name"; - } - } - - grouping L2FIB-FEATURE-UN { - description "L2FIB FEATURE UN"; - - container dhcp { - when "../feature-type = 'l2fib-feature-dhcp-snooping'" { - description - "../feature_type = 'L2FIB_FEATURE_DHCP_SNOOPING'"; - } - description "dhcp"; - uses L2FIB-PROFILE-INFO; - } - - container igmp { - when "../feature-type = 'l2fib-feature-igmp-snooping'" { - description - "../feature_type = 'L2FIB_FEATURE_IGMP_SNOOPING'"; - } - description "igmp"; - uses L2FIB-PROFILE-INFO; - } - - container mld { - when "../feature-type = 'l2fib-feature-mld-snooping'" { - description - "../feature_type = 'L2FIB_FEATURE_MLD_SNOOPING'"; - } - description "mld"; - uses L2FIB-PROFILE-INFO; - } - leaf feature-type { - type L2fib-feature; - description "feature type"; - } - } - - grouping L2FIB-OPER-INFO { - description "L2VPN common operational information"; - leaf mtu { - type uint32; - description "MTU"; - } - leaf mac-aging-time { - type uint32; - units "minute"; - description "MAC aging time in minutes"; - } - leaf mac-limit { - type uint32; - description "MAC limit"; - } - leaf number-of-macs { - type uint32; - description "numberOfMacs"; - } - leaf admin-disabled { - type boolean; - description "Is administratively disabled"; - } - leaf flooding-disabled { - type boolean; - description "Is flooding disabled"; - } - leaf flood-unknown-unicast-enabled { - type boolean; - description "Is flooding unknown unicast disabled"; - } - leaf mac-limit-action { - type Mgmt-l2fib-mac-limit-action; - description "MAC limit action"; - } - leaf mac-limit-threshold { - type uint32; - units "percentage"; - description "MAC limit percentage recovery threshold"; - } - leaf mac-learning-disabled { - type boolean; - description "Is MAC learning disabled"; - } - leaf mac-port-down-flush-disabled { - type boolean; - description "Is MAC port down flush disabled"; - } - leaf mac-limit-notification-type { - type Mgmt-l2fib-mac-limit-notify; - description "MAC limit notification"; - } - leaf is-mac-secure-enabled { - type boolean; - description "Is MAC Secure Enabled"; - } - leaf is-mac-secure-logging-enabled { - type boolean; - description "Is MAC Secure Logging Enabled"; - } - leaf mac-secure-action { - type Mgmt-l2fib-mac-sec-action; - description "MAC secure action"; - } - leaf is-mac-secure-accept-shutdown { - type boolean; - description "Is MAC secure accept shutdown (BP only)"; - } - leaf is-mac-secure-threshold-enabled { - type boolean; - description "Is MAC Secure Threshold Enabled"; - } - leaf mac-aging-type { - type boolean; - description "MAC aging type"; - } - leaf storm-control-unicast-enabled { - type boolean; - description "Is unicast storm control enabled"; - } - leaf storm-control-broadcast-enabled { - type boolean; - description "Is broadcast storm control enabled"; - } - leaf storm-control-multicast-enabled { - type boolean; - description "Is multicast storm control enabled"; - } - leaf storm-control-unicast-rate-unit { - type L2fib-storm-control-rate-unit; - description "Storm control unicast rate unit"; - } - leaf storm-control-broadcast-rate-unit { - type L2fib-storm-control-rate-unit; - description "Storm control broadcast rate unit"; - } - leaf storm-control-multicast-rate-unit { - type L2fib-storm-control-rate-unit; - description "Storm control multicast rate unit"; - } - leaf dhcp-enabled { - type boolean; - description "Is DHCP snooping enabled"; - } - leaf dhcp-trusted { - type boolean; - description "Is DHCP trusted"; - } - leaf is-dai-enabled { - type boolean; - description "Is Dynamic ARP Inspection Enabled"; - } - leaf is-dai-addr-validation-ipv4-enabled { - type boolean; - description "Is DAI IPv4 Address Validation Enabled"; - } - leaf is-dai-addr-validation-source-mac-enabled { - type boolean; - description "Is DAI Source MAC Address Validation Enabled"; - } - leaf is-dai-addr-validation-destination-mac-enabled { - type boolean; - description "Is DAI Destination MAC Validation enabled"; - } - leaf is-dai-logging-enabled { - type boolean; - description "Is DAI Logging Enabled"; - } - leaf is-ipsg-enabled { - type boolean; - description "Is IP Source Guard Enabled"; - } - leaf is-ipsg-logging-enabled { - type boolean; - description "Is IP Source Guard Logging Enabled"; - } - leaf is-vpls-flood-optimization-enabled { - type boolean; - description "Is MMRP Flood Optimization Enabled"; - } - leaf igmp-snoop-enabled { - type boolean; - description "Is IGMP snooping enabled"; - } - leaf igmp-snoop-profile-enabled { - type boolean; - description "Is IGMP snooping profile enabled"; - } - leaf igmp-flood-forward-enabled { - type boolean; - description "Is IGMP flood forwarding enabled"; - } - leaf igmp-mroute-port-enabled { - type boolean; - description "Is mrouter port"; - } - leaf igmp-route-guard-enabled { - type boolean; - description "Is router gurad enabled"; - } - leaf mld-snoop-enabled { - type boolean; - description "Is MLD snooping enabled"; - } - leaf mld-snoop-profile-enabled { - type boolean; - description "Is MLD snooping profile enabled"; - } - leaf mld-flood-forward-enabled { - type boolean; - description "Is MLD flood forwarding enabled"; - } - leaf mld-mroute-port-enabled { - type boolean; - description "Is mrouter port"; - } - leaf mld-route-guard-enabled { - type boolean; - description "Is router gurad enabled"; - } - leaf stp-participating { - type boolean; - description "Is Spanning Tree Protocol participating"; - } - leaf bvi-configured { - type boolean; - description "Is BVI Interface configured"; - } - leaf is-bvi-up { - type boolean; - description "Is BVI state UP"; - } - leaf is-vni-enabled { - type boolean; - description "Is VNI enabled"; - } - leaf is-evpn-enabled { - type boolean; - description "Is EVPN enabled"; - } - leaf unknown-unicast-flooding-disabled { - type boolean; - description "Unknown Unicast Flooding is disabled"; - } - leaf is-pbbevpn-enabled { - type boolean; - description "Is PBBEVPN enabled"; - } - leaf is-swmac-learning { - type boolean; - description "Is SW MAC learning enabled"; - } - leaf is-evpn-flow-label { - type boolean; - description "Is EVPN Flow Label enabled"; - } - leaf is-evpn-cw-disable { - type boolean; - description "Is EVPN CW disabled"; - } - leaf msti { - type uint32; - description "Multi-spanning tree instance"; - } - leaf is-p2mp-pw-enabled { - type boolean; - description "Is P2MP PW enabled"; - } - leaf is-igmp-snoop-enabled { - type boolean; - description "Is IGMP Snooping admin enabled"; - } - leaf nv-satellite-offload-ipv4-multicast-disabled { - type boolean; - description "nV Satellite Offload IPv4 Multicast Disabled"; - } - - list feature { - description "Feature information"; - uses L2FIB-FEATURE-UN; - } - } - - grouping L2FIB-OPER-BRIDGE-PORT-INFO { - description "L2VPN bridge port operational information"; - - container operational-information { - description "L2 operational information"; - uses L2FIB-OPER-INFO; - } - leaf unicast-storm-control-pps { - type uint64; - description "Unicast storm control pps"; - } - leaf unicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Unicast storm control kbps"; - } - leaf broadcast-storm-control-pps { - type uint64; - description "Broadcast storm control pps"; - } - leaf broadcast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Broadcast storm control kbps"; - } - leaf multicast-storm-control-pps { - type uint64; - description "Multicast storm control pps"; - } - leaf multicast-storm-control-kb-ps { - type uint64; - units "kbit/s"; - description "Multicast storm control kbps"; - } - } - - grouping L2FIB-BRIDGE-PORT-INFO { - description "L2VPN bridge port info"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container oper { - description "Operational information"; - uses L2FIB-OPER-BRIDGE-PORT-INFO; - } - - container p2mp { - description "BP P2MP PW Information"; - uses L2FIB-BRIDGE-PORT-P2MP-INFO; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf shg-id { - type uint32; - description "Split horizon group ID"; - } - leaf msti-pointer { - type uint32; - description "MSTI Pointer"; - } - leaf segment-type { - type uint8; - description "Segment type"; - } - leaf mvrp-sequence-number { - type uint16; - description "MVRP Sequence Number"; - } - leaf learn-key { - type uint8; - description "Learn Key"; - } - } - - grouping L2FIB-SEG2-UN { - description "L2FIB SEG2 UN"; - - container ac { - when "../data-type = 'mgmt-l2fib-data-type-ac'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "ac"; - uses L2FIB-AC-INFO; - } - - container bp { - when "../data-type = 'mgmt-l2fib-data-type-bridge-port'" { - description - "../DataType = - 'MGMT_L2FIB_DATA_TYPE_BRIDGE_PORT'"; - } - description "bp"; - uses L2FIB-BRIDGE-PORT-INFO; - } - - container fxs { - when "../data-type = 'mgmt-l2fib-data-type-fxs'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_FXS'"; - } - description "fxs"; - uses L2FIB-FXS-INFO; - } - - container pw { - when "../data-type != 'mgmt-l2fib-data-type-ac' and"+ - " ../data-type != 'mgmt-l2fib-data-type-bridge-port' and"+ - " ../data-type != 'mgmt-l2fib-data-type-fxs'" { - description - "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . - ./DataType != - 'MGMT_L2FIB_DATA_TYPE_BRIDGE_PORT' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_FXS'"; - } - description "pw"; - uses L2FIB-PW-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-BACKUP-PW-INFO { - description "L2FIB BACKUP PW INFO"; - - container atom { - description "atom"; - uses L2FIB-PW-MPLS-INFO; - } - leaf backup-next-hop { - type inet:ipv4-address; - description "Backup Next Hop"; - } - leaf backup-pseudo-wire-id-type { - type L2fib-pw-id; - description "Pseudowire ID type"; - } - leaf backup-pseudo-wire-id { - type uint32; - description "Backup Pseudowire ID"; - } - leaf redundancy-role { - type L2fib-pw-redundancy-role; - description "Redundancy Role"; - } - leaf active { - type boolean; - description "PW is active and forwarding"; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf pw-flow-label-tx { - type boolean; - description "Pseudowire flow label TX enabled"; - } - leaf grouping-supported { - type boolean; - description "Grouping supported"; - } - leaf group-id { - type uint32; - description "PW Group Id"; - } - leaf group-state { - type L2fib-group-state; - description "Group State"; - } - } - - grouping L2FIB-PW-L2TP-IPV6-TS-SESS-INFO { - description "L2FIB PW L2TP IPV6 TS SESS INFO"; - leaf cookie-size { - type uint8; - description "Cookie size"; - } - leaf cookie-low-value { - type uint32; - description "Cookie low value"; - } - leaf cookie-high-value { - type uint32; - description "Cookie high value"; - } - leaf secondary-cookie-size { - type uint8; - description "Secondary Cookie size"; - } - leaf secondary-cookie-low-value { - type uint32; - description "Secondary Cookie low value"; - } - leaf secondary-cookie-high-value { - type uint32; - description "Secondary Cookie high value"; - } - leaf session-id { - type uint32; - description "L2TP session ID"; - } - } - - grouping L2FIB-PW-L2TP-IPV6-TS-INFO { - description "L2FIB PW L2TP IPV6 TS INFO"; - - container local { - description "Local session info"; - uses L2FIB-PW-L2TP-IPV6-TS-SESS-INFO; - } - - container remote { - description "Remote session info"; - uses L2FIB-PW-L2TP-SESS-INFO; - } - leaf tos-val { - type uint8; - description "TOS val"; - } - leaf ttl { - type uint8; - description "TTL"; - } - leaf path-mtu { - type uint16; - description "Path MTU"; - } - leaf sequence-number-sent { - type uint32; - description "Number of sequence sent"; - } - leaf sequence-number-expected { - type uint32; - description "Number of sequence expected"; - } - leaf local-address { - type inet:ipv6-address; - description "Local address"; - } - leaf remote-address { - type inet:ipv6-address; - description "Remote address"; - } - } - - grouping L2FIB-PW-L2TPV2-SESS-INFO { - description "L2FIB PW L2TPV2 SESS INFO"; - leaf session-id { - type uint32; - description "L2TPv2 session ID"; - } - leaf tunnel-id { - type uint32; - description "L2TPv2 tunnel ID"; - } - } - - grouping L2FIB-PW-L2TPV2-INFO { - description "L2FIB PW L2TPV2 INFO"; - - container local { - description "Local session info"; - uses L2FIB-PW-L2TPV2-SESS-INFO; - } - - container remote { - description "Remote session info"; - uses L2FIB-PW-L2TPV2-SESS-INFO; - } - leaf pw-flags { - type uint8; - description "L2TPv2 PW flags"; - } - leaf tos-val { - type uint8; - description "TOS val"; - } - leaf ttl { - type uint8; - description "TTL [Hops number]"; - } - leaf path-mtu { - type uint16; - units "byte"; - description "Path MTU [Bytes]"; - } - leaf protocol { - type uint16; - description "Protocol [UDP RFC-768]"; - } - leaf rem-udp-port { - type uint16; - description "Remote UDP Port"; - } - leaf xconnect-id { - type uint32; - description "Xconnect ID"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next Hop Address"; - } - leaf source-address { - type inet:ipv4-address; - description "Source Address"; - } - } - - grouping L2FIB-PW-L2TP-SESS-INFO { - description "L2FIB PW L2TP SESS INFO"; - leaf session-id { - type uint32; - description "L2TP session ID"; - } - leaf cookie-size { - type uint8; - description "Cookie size"; - } - leaf cookie-low-value { - type uint32; - description "Cookie low value"; - } - leaf cookie-high-value { - type uint32; - description "Cookie high value"; - } - } - - grouping L2FIB-PW-L2TP-INFO { - description "L2FIB PW L2TP INFO"; - - container local { - description "Local session info"; - uses L2FIB-PW-L2TP-SESS-INFO; - } - - container remote { - description "Remote session info"; - uses L2FIB-PW-L2TP-SESS-INFO; - } - leaf tos-val { - type uint8; - description "TOS val"; - } - leaf ttl { - type uint8; - description "TTL"; - } - leaf path-mtu { - type uint16; - description "Path MTU"; - } - leaf sequence-number-sent { - type uint32; - description "Number of sequence sent"; - } - leaf sequence-number-expected { - type uint32; - description "Number of sequence expected"; - } - } - - grouping L2FIB-PW-MPLS-INFO { - description "L2FIB PW MPLS INFO"; - leaf pw-label { - type uint32; - description "PW Label"; - } - leaf pw-local-label { - type uint32; - description "Local PW Label"; - } - leaf pw-tunnel-interface { - type uint32; - description "PW tunnel interface"; - } - leaf pw-xcid { - type uint32; - description "PW XCID"; - } - } - - grouping L2FIB-PW-UN { - description "L2FIB PW UN"; - - container mpls { - when "../data-type = 'mgmt-l2fib-data-type-atom'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_ATOM'"; - } - description "mpls"; - uses L2FIB-PW-MPLS-INFO; - } - - container l2tp { - when "../data-type = 'mgmt-l2fib-data-type-l2tp'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_L2TP'"; - } - description "l2tp"; - uses L2FIB-PW-L2TP-INFO; - } - - container l2tpv2 { - when "../data-type = 'mgmt-l2fib-data-type-l2tpv2'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_L2TPV2'"; - } - description "l2tpv2"; - uses L2FIB-PW-L2TPV2-INFO; - } - - container l2tp-ipv6-ts { - when "../data-type = 'mgmt-l2fib-data-type-l2tp-ipv6-ts'" { - description - "../DataType = - 'MGMT_L2FIB_DATA_TYPE_L2TP_IPV6_TS'"; - } - description "l2tp ipv6 ts"; - uses L2FIB-PW-L2TP-IPV6-TS-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-PW-INFO { - description "L2FIB PW INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container next-hop { - description "Next Hop"; - uses L2FIB-NHOP-INFO; - } - - container pseudo-wire-union { - description "Union of MPLS or L2TP"; - uses L2FIB-PW-UN; - } - - container backup-pseudo-wire { - description "Backup Pseudowire"; - uses L2FIB-BACKUP-PW-INFO; - } - leaf pw-id { - type uint64; - description "Pseudowire ID"; - } - leaf signal-capability-flags { - type uint32; - description "Sig Capability flags"; - } - leaf context { - type uint16; - description "Context"; - } - leaf sequence-resync-threshold { - type uint16; - description "Sequence Resync Threshold"; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf next-hop-valid { - type boolean; - description "IS Next Hop Valid"; - } - leaf backup-configured { - type boolean; - description "Backup Pseudowire Configured"; - } - leaf redundancy-role { - type L2fib-pw-redundancy-role; - description "Redundancy Role"; - } - leaf active { - type boolean; - description "PW is active and forwarding"; - } - leaf pseudo-wire-id-type { - type L2fib-pw-id; - description "Pseudowire ID type"; - } - leaf pw-load-balance-type { - type L2fib-load-bal; - description "Type of load-balancing"; - } - leaf pw-flow-label-tx { - type boolean; - description "Pseudowire flow label TX enabled"; - } - leaf grouping-supported { - type boolean; - description "Grouping supported"; - } - leaf group-id { - type uint32; - description "PW Group Id"; - } - leaf group-state { - type L2fib-group-state; - description "Group State"; - } - leaf global-id { - type uint32; - description "Global Id"; - } - leaf ac-id { - type uint32; - description "Ac Id"; - } - leaf forward-class { - type uint8; - description "Forward Class"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next Hop Address"; - } - } - - grouping L2FIB-MONITOR-SESSION-INFO { - description "L2FIB MONITOR SESSION INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf xcid { - type uint32; - description "Xconnect ID"; - } - leaf session-name { - type string; - description "Monitor Session Name"; - } - leaf hardware-information { - type yang:hex-string; - description "hardware Information of Monitor Session"; - } - leaf bound { - type boolean; - description "Bound"; - } - } - - grouping L2FIB-EVPN-INFO { - description "L2FIB EVPN INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf evi { - type uint32; - description "EVPN ID"; - } - leaf forward-class { - type uint8; - description "Forward Class"; - } - } - - grouping L2FIB-VNI-INFO { - description "L2FIB VNI INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf srcip { - type inet:ipv4-address; - description "VNI Src IPv4 Address"; - } - leaf mcastip { - type inet:ipv4-address; - description "VNI Mcast IP Address"; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf parent-if { - type xr:Interface-name; - description "Parent NVE Interface"; - } - leaf encap { - type uint32; - description "Encap type of VNI"; - } - leaf udp-port { - type uint32; - description "UDP Port"; - } - leaf source-vtep-if { - type xr:Interface-name; - description "Source IF Handle"; - } - leaf any-cast-ip { - type inet:ipv4-address; - description "Anycast VTEP IP"; - } - leaf anycast-mcast-ip { - type inet:ipv4-address; - description "Anycast Multicast IP"; - } - leaf ingress-replication { - type boolean; - description "Ingress Replication supported on VNI"; - } - leaf vx-lan-mode { - type uint32; - description "Vxlan mode"; - } - } - - grouping L2FIB-PBB-CORE-INFO { - description "L2FIB PBB CORE INFO"; - leaf vlan-id { - type uint32; - description "vlan id"; - } - } - - grouping L2FIB-PBB-EDGE-INFO { - description "L2FIB PBB EDGE INFO"; - leaf mac-configured { - type boolean; - description "Configured MAC"; - } - leaf mac { - type yang:mac-address; - description "unknown unicast bmac"; - } - } - - grouping L2FIB-PBB-UN { - description "L2FIB PBB UN"; - - container edge { - when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-edge'" { - description - "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_EDGE'"; - } - description "edge"; - uses L2FIB-PBB-EDGE-INFO; - } - - container core { - when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-core'" { - description - "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_CORE'"; - } - description "core"; - uses L2FIB-PBB-CORE-INFO; - } - leaf pbb-type { - type Mgmt-l2fib-bridge; - description "PbbType"; - } - } - - grouping L2FIB-PBB-INFO { - description "L2FIB PBB INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container pbb-union { - description "Union of Edge and Core"; - uses L2FIB-PBB-UN; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf forward-class { - type uint8; - description "Forward Class"; - } - leaf core-pbb-evpn-enabled { - type boolean; - description "Core PBB-EVPN enabled"; - } - } - - grouping L2FIB-NHOP-INFO { - description "L2FIB NHOP INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - leaf next-hop-address { - type inet:ipv4-address; - description "NHOP Address"; - } - leaf next-hop-address-v6 { - type inet:ipv6-address; - description "NHOP Address V6"; - } - leaf next-hop-internal-label { - type uint32; - description "NHOP Internal Label"; - } - leaf ecd-plaformt-data-valid { - type boolean; - description "Is Platform ECD Data Valid"; - } - leaf ecd-platform-data-length { - type uint32; - description "Platform ECD Data Length"; - } - leaf children-count { - type uint32; - description "Children Count"; - } - } - - grouping L2FIB-AC-INFO { - description "L2FIB AC INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container fxc-next-hop { - description "Flexible XConnect Service Next Hop"; - uses L2FIB-NHOP-INFO; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - leaf sub-interface-handle { - type xr:Interface-name; - description "Sub Interface Handle"; - } - leaf attachment-circuit-id { - type uint32; - description "Attachment Circuit ID"; - } - leaf attachment-circuit-mtu { - type uint16; - description "MTU of Attachment Circuit"; - } - leaf actype { - type uint8; - description "Attachment Circuit Type"; - } - leaf inter-working-mode { - type uint8; - description "Interworking Mode"; - } - leaf adjacency-valid { - type boolean; - description "Adjacency Valid"; - } - leaf adjacency-address { - type inet:ipv4-address; - description "Adjacency Valid"; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf ip-inter-working-mac { - type string; - description "IP Interworking MAC"; - } - leaf redundancy-group-id { - type uint32; - description "ICCP Redundancy Group ID"; - } - leaf redundancy-object-id { - type uint64; - description "ICCP Redundancy Object ID"; - } - leaf evpn-internal-label { - type uint32; - description "EVPN Internal Label"; - } - leaf fxc-next-hop-valid { - type boolean; - description "Is Flexible XConnect Service Next Hop Valid"; - } - } - - grouping L2FIB-SEG1-UN { - description "L2FIB SEG1 UN"; - - container ac { - when "../data-type = 'mgmt-l2fib-data-type-ac'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; - } - description "ac"; - uses L2FIB-AC-INFO; - } - - container pbb { - when "../data-type = 'mgmt-l2fib-data-type-pbb'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; - } - description "pbb"; - uses L2FIB-PBB-INFO; - } - - container vni { - when "../data-type = 'mgmt-l2fib-data-type-vni'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; - } - description "vni"; - uses L2FIB-VNI-INFO; - } - - container evpn { - when "../data-type = 'mgmt-l2fib-data-type-evpn'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; - } - description "evpn"; - uses L2FIB-EVPN-INFO; - } - - container monitor-session { - when "../data-type = 'mgmt-l2fib-data-type-span'" { - description "../DataType = 'MGMT_L2FIB_DATA_TYPE_SPAN'"; - } - description "monitor session"; - uses L2FIB-MONITOR-SESSION-INFO; - } - - container pw { - when "../data-type != 'mgmt-l2fib-data-type-ac' and"+ - " ../data-type != 'mgmt-l2fib-data-type-pbb' and"+ - " ../data-type != 'mgmt-l2fib-data-type-vni' and"+ - " ../data-type != 'mgmt-l2fib-data-type-evpn' and"+ - " ../data-type != 'mgmt-l2fib-data-type-span'" { - description - "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . - ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN' and - ../DataType != 'MGMT_L2FIB_DATA_TYPE_SPAN'"; - } - description "pw"; - uses L2FIB-PW-INFO; - } - leaf data-type { - type Mgmt-l2fib-data; - description "DataType"; - } - } - - grouping L2FIB-BASE-INFO { - description "L2FIB BASE INFO"; - } - - grouping L2FIB-XCON-INFO { - description "L2FIB XCON INFO"; - - container base { - description "Base Information"; - uses L2FIB-BASE-INFO; - } - - container segment1 { - description "Segment1 Information"; - uses L2FIB-SEG1-UN; - } - - container segment2 { - description "Segment2 Information"; - uses L2FIB-SEG2-UN; - } - leaf xcon-name { - type string { - length "0..72"; - } - description "Xconnect name"; - } - leaf bound { - type boolean; - description "Bound"; - } - leaf switching-type { - type Mgmt-l2fib-switching; - description "SW Type"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper.yang deleted file mode 100644 index 5af3ed2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-l2vpn-oper.yang +++ /dev/null @@ -1,2137 +0,0 @@ -module Cisco-IOS-XR-l2vpn-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper"; - - - prefix "l2vpn-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-l2vpn-oper-sub3 { - revision-date 2017-06-26; - } - - include Cisco-IOS-XR-l2vpn-oper-sub2 { - revision-date 2017-06-26; - } - - include Cisco-IOS-XR-l2vpn-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR l2vpn package operational data. - - This module contains definitions - for the following management objects: - l2vpn-forwarding: Show L2VPN forwarding - l2vpnv2: l2vpnv2 - generic-interface-list-v2: generic interface list v2 - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2vpn-service { - type enumeration { - enum vpws { - value 0; - description "VPWS service"; - } - enum vpls { - value 1; - description "VPLS service"; - } - } - description "L2vpn service"; - } - typedef Preferred-path-option { - type enumeration { - enum te-tunnel { - value 2; - description "TE Tunnel"; - } - enum ip-tunnel { - value 3; - description "IP Tunnel"; - } - enum tp-tunnel { - value 4; - description "TP Tunnel"; - } - enum sr-te-policy { - value 5; - description "SR TE Policy"; - } - enum mldp-tunnel { - value 6; - description "mLDP Tunnel"; - } - enum mte-tunnel { - value 7; - description "mTE Tunnel"; - } - } - description "Preferred path option"; - } - typedef Evpn-main-interface { - type enumeration { - enum evpn-main-interface-ac { - value 1; - description "EVPN main interface type AC"; - } - enum evpn-main-interface-nve { - value 2; - description "EVPN main interface type NVE"; - } - enum evpn-main-interface-ac-vfi { - value 3; - description "EVPN main interface type AC VFI"; - } - enum evpn-main-interface-ac-pw { - value 4; - description "EVPN main interface type AC PW"; - } - } - description "Evpn main interface"; - } - typedef L2vpnp2mp-ptree { - type enumeration { - enum rsvp-te { - value 1; - description "RSVPTE Type"; - } - enum mldp { - value 2; - description "MLDP Type"; - } - } - description "L2vpnp2mp ptree"; - } - typedef L2vpnpw { - type enumeration { - enum manual { - value 1; - description "Manual pseudowire"; - } - enum vpls-autodiscovered { - value 2; - description "VPLS autodiscovered pseudowire"; - } - enum vpws-autodiscovered { - value 3; - description "VPWS autodiscovered pseudowire"; - } - enum vpls-autodiscovered-ldp { - value 4; - description - "VPLS autodiscovered pseudowire with LDP - signaling"; - } - } - description "L2vpnpw"; - } - - grouping FLEXIBLE-XCONNECT-SERVICE-TABLE { - description "Common node of active, standby, node"; - - container flexible-xconnect-services { - description "Flexible XConnect Service Table"; - - list flexible-xconnect-service { - key "name"; - description "Flexible XConnect Service Information"; - - container flexible-xconnect-service-acs { - description - "Flexible XConnect Service Attachment Circuit - Table"; - - list flexible-xconnect-service-ac { - key "interface-name"; - description - "Flexible XConnect Service Attachment Circuit"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses L2VPN-FXC-AC; - } - } - - container flexible-xconnect-service-info { - description "Flexible XConnect Service Information"; - uses L2VPN-FXC; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..23"; - } - description "Flexible XConnect Service Name"; - } - } - } - } - - grouping XCONNECT-MP2MP-TABLE { - description "Common node of active, standby, node"; - - container xconnect-mp2mps { - description "XConnect MP2MP Table"; - - list xconnect-mp2mp { - description "XConnect MP2MP information"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "XConnect Group"; - } - leaf mp2-mp-name { - type xr:Cisco-ios-xr-string { - length "1..26"; - } - description "Mp2Mp Name"; - } - uses L2VPN-MP2MP-XC; - } - } - } - - grouping FLEXIBLE-XCONNECT-SERVICE-SUMMARY { - description "Common node of active, standby, node"; - - container flexible-xconnect-service-summary { - description "Flexible XConnect Service summary information"; - uses L2VPN-FXC-SUMMARY; - } - } - - grouping DISCOVERY-SUMMARY { - description "Common node of active, standby, node"; - - container discovery-summary { - description "Discovery summary information"; - uses L2VPN-DISCO-SUMMARY; - } - } - - grouping XCONNECT-GROUP-TABLE { - description "Common node of active, standby, node"; - - container xconnect-groups { - description "XConnect group Table"; - - list xconnect-group { - key "group-name"; - description "XConnect group information"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "XConnect Group"; - } - uses L2VPN-GROUP; - } - } - } - - grouping MSTP-PORT-TABLE { - description "Common node of active, standby, node"; - - container mstp-ports { - description "L2VPN MSTP Port Table"; - - list mstp-port { - key "interface"; - description "MSTP Port information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses L2VPN-MSTP-PORT; - } - } - } - - grouping PWR { - description "Common node of active, standby, node"; - - container pwr { - description "Pseudowire Routing Table"; - - container summary { - description "L2VPN Pseudowire Routing Summary"; - uses L2VPN-ATOM-PWR-SUMMARY; - } - } - } - - grouping GENERIC-INTERFACE-LIST-TABLE { - description "Common node of active, standby, node"; - - container generic-interfaces { - description "L2VPN generic interface list Table"; - - list generic-interface { - key "interface-list-name"; - description "Generic Interface List information"; - leaf interface-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Generic Interface List Name"; - } - uses L2VPN-GENERIC-IF-LIST; - } - } - } - - grouping MAIN-INTERFACE-TABLE { - description "Common node of active, standby, node"; - - container main-interfaces { - description "Main Interface"; - - list main-interface { - key "interface-name"; - description "Main Interface Table"; - - container main-interface-instances { - description "Main Interface Instance table"; - - list main-interface-instance { - key "instance"; - description "Main Interface Instance"; - - container main-interface-instance-info { - description "Main Interface Instance info"; - uses L2VPN-MAIN-INTERFACE-INSTANCE; - } - - container main-interface-instance-bridge-ports { - description - "Main Interface Instance Bridge Port table"; - - list main-interface-instance-bridge-port { - key "bridge-port"; - description "Main Interface Bridge Port info"; - leaf bridge-port { - type xr:Interface-name; - description "Bridge Port"; - } - uses L2VPN-MAIN-INTERFACE-INSTANCE-BPORT; - } - } - leaf instance { - type int32; - description "Instance"; - } - } - } - - container main-interface-info { - description "Main Interface info"; - uses L2VPN-MAIN-INTERFACE; - } - leaf interface-name { - type xr:Interface-name; - description "Main interface"; - } - } - } - } - - grouping PREFERRED-PATH-TABLE { - description "Common node of active, standby, node"; - - container preferred-paths { - description "Preferred path Table"; - - list preferred-path { - description "Preferred path information"; - leaf preferred-type { - type Preferred-path-option; - description "Preferred type"; - } - leaf interface-name { - type xr:Interface-name; - description "Main interface"; - } - uses L2VPN-PREFERRED-PATH; - } - } - } - - grouping DISCOVERY-TABLE { - description "Common node of active, standby, node"; - - container discoveries { - description "Discovery Table"; - - list discovery { - description "VPLS Discovery information"; - leaf service-name { - type L2vpn-service; - description "Service type"; - } - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Group Name"; - } - leaf vpn-name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "VPN Name"; - } - uses L2VPN-DISCO; - } - } - } - - grouping XCONNECT-BRIEF { - description "Common node of active, standby, node"; - - container xconnect-brief { - description "XConnect brief information"; - uses L2VPN-XC-BRIEF; - } - } - - grouping L2FIB-EVPN-INCL-M-CAST-OLE-TABLE { - description - "Common node of l2fib-evpn-incl-m-cast, - l2fib-evpn-incl-m-cast-hardware-ingress, - l2fib-evpn-incl-m-cast-hardware-egress"; - - container l2fib-evpn-incl-m-cast-oles { - description "EVPN ingress mcast ole Information"; - - list l2fib-evpn-incl-m-cast-ole { - key "next-hop-address"; - description - "Information on a particular output path of the - pbb-evpn/evpn ingress replication list"; - leaf next-hop-address { - type inet:ip-address-no-zone; - description "Next Hop Address"; - } - uses L2FIB-EVPN-MCAST-OLE-INFO; - } - } - } - - grouping G8032 { - description "Common node of active, standby, node"; - - container g8032 { - description "G8032 information"; - - container g8032-rings { - description "G8032 Ring table"; - - list g8032-ring { - key "ring-name"; - description "G8032 Ring"; - - container g8032-ring-detail { - description "G8032 Ring detailed information"; - uses L2VPN-G8032-RING-DETAIL-INFO; - } - - container g8032-ring-instance-summaries { - description "G8032 Ring Instance summary table"; - - list g8032-ring-instance-summary { - key "instance"; - description "G8032 Ring Instance summary information"; - leaf instance { - type int32; - description "Instance"; - } - uses L2VPN-G8032-RING-INSTANCE-SUMMARY-INFO; - } - } - - container g8032-ring-summary { - description "G8032 Ring summary information"; - uses L2VPN-G8032-RING-SUMMARY-INFO; - } - - container g8032-ring-instance-details { - description "G8032 Ring Instance detail table"; - - list g8032-ring-instance-detail { - key "instance"; - description - "G8032 Ring Instance detailed information"; - leaf instance { - type int32; - description "Instance"; - } - uses L2VPN-G8032-RING-INSTANCE-DETAIL-INFO; - } - } - leaf ring-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Ring Name"; - } - } - } - } - } - - grouping XCONNECT-SUMMARY { - description "Common node of active, standby, node"; - - container xconnect-summary { - description "XConnect summary information"; - uses L2VPN-XC-SUMMARY; - } - } - - grouping L2VPN-COLLABORATORS { - description "Common node of active, standby, node"; - - container l2vpn-collaborators { - description "L2VPN collaborator information"; - uses L2VPN-GLOBAL-INFO; - } - } - - grouping PROC-FSM { - description "Common node of active, standby, node"; - - container proc-fsm { - description "L2VPN Process FSM information"; - uses L2VPN-MGMT-PROC-FSM; - } - } - - grouping BRIDGE-PW-TABLE { - description - "Common node of bridge-core-vfi-table, - bridge-access-vfi-table"; - - container bridge-pws { - description "Bridge Domain Access/Core Pseudowire Table"; - - list bridge-pw { - description "VPLS Bridge Domain Pseudowire"; - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IPv4 address"; - } - leaf pw-type { - type L2vpnpw; - description "PW Type"; - } - leaf pseudowire-id { - type uint32 { - range "1..4294967295"; - } - description "Pseudowire ID"; - } - leaf ve-id-vpls-id-0-3 { - type uint32 { - range "0..4294967295"; - } - description - "Zero or concatenation of local and remote - VE-ID or first 4 bytes of VPLS-ID"; - } - leaf vpls-id-4-7 { - type uint32 { - range "0..4294967295"; - } - description "Zero or Last 4 bytes of VPLS-ID"; - } - uses L2VPN-BD-PW; - } - } - } - - grouping GLOBAL-SETTINGS { - description "Common node of active, standby, node"; - - container global-settings { - description "L2VPN global settings"; - uses L2VPN-GLOBALS; - } - } - - grouping BRIDGE-SUMMARY { - description "Common node of active, standby, node"; - - container bridge-summary { - description "Bridge Domain summary information"; - uses L2VPN-BRIDGE-SUMMARY; - } - } - - grouping XCONNECT-MP2MP-CE2CE-TABLE { - description "Common node of active, standby, node"; - - container xconnect-mp2mp-ce2ces { - description "XConnect MP2MP CE2CE Table"; - - list xconnect-mp2mp-ce2ce { - description "XConnect MP2MP CE2CE information"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "XConnect Group"; - } - leaf mp2-mp-name { - type xr:Cisco-ios-xr-string { - length "1..26"; - } - description "Mp2Mp Name"; - } - leaf local-ceid { - type uint32 { - range "1..4294967295"; - } - description "Local CE ID"; - } - leaf remote-ceid { - type uint32 { - range "1..4294967295"; - } - description "Remote CE ID"; - } - uses L2VPN-XC-CE2CE; - } - } - } - - grouping L2VPN-OPER-L2VPN-RESOURCE-STATE-MP { - description "Common node of active, standby, node"; - - container l2vpn-resource-state { - description "L2VPN resource state information"; - uses L2VPN-RESOURCE-STATE; - } - } - - grouping MSTP-VLAN-TABLE { - description "Common node of active, standby, node"; - - container mstp-vlans { - description "L2VPN MSTP VLAN Table"; - - list mstp-vlan { - key "vlan-id"; - description "L2VPN MSTP VLAN information"; - leaf vlan-id { - type uint32 { - range "0..4098"; - } - description "vlan id"; - } - uses L2VPN-MSTP-VLAN; - } - } - } - - grouping GENERIC-INTERFACE-LIST-DETAIL-TABLE { - description "Common node of active, standby, node"; - - container generic-interface-list-details { - description "L2VPN generic interface list Detail Table"; - - list generic-interface-list-detail { - key "interface-list-name"; - description "Generic Interface List detail information"; - leaf interface-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Generic Interface List Name"; - } - uses L2VPN-GENERIC-IF-LIST-DETAIL; - } - } - } - - grouping GENERIC-INTERFACE-LIST-TABLE-V2 { - description "Common node of active, standby, node"; - - container generic-interfaces { - description "Generic interface list table"; - - list generic-interface { - key "generic-interface-list-name"; - description "Generic Interface List"; - leaf generic-interface-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Generic Interface List Name"; - } - uses IFLIST-IFL; - } - } - } - - grouping XCONNECT-TABLE { - description "Common node of active, standby, node"; - - container xconnects { - description "XConnect Table"; - - list xconnect { - description "XConnect information"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "XConnect Group"; - } - leaf xconnect-name { - type string { - length "1..38"; - } - description "XConnect Name"; - } - uses L2VPN-XC; - } - } - } - - grouping L2VPN-PBB-BSA { - description "Common node of active, standby, node"; - - container l2vpn-pbb-bsa { - description "L2VPN PBB Backbone Source MAC information"; - uses L2VPN-PBB-BMAC-SA; - } - } - - grouping BRIDGE-DOMAIN-TABLE { - description "Common node of active, standby, node"; - - container bridge-domains { - description "VPLS Bridge Domain Information"; - - list bridge-domain { - description "VPLS Bridge Domain Information"; - - container bridge-access-vfi-table { - description "Bridge Domain Access VFI Table"; - uses BRIDGE-PW-TABLE; - } - - container bridge-core-vfi-table { - description "Bridge Domain Core VFI Table"; - uses BRIDGE-PW-TABLE; - } - - container bridge-acs { - description "VPLS Bridge Domain Attachment Circuit Table"; - - list bridge-ac { - key "interface-name"; - description "VPLS Bridge Domain Attachment Circuit"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses L2VPN-BD-AC; - } - } - - container bridge-access-pws { - description "VPLS Bridge Domain Access Pseudowire Table"; - - list bridge-access-pw { - description "VPLS Bridge Domain Access Pseudowire"; - leaf neighbor { - type inet:ipv4-address-no-zone; - description "Neighbor IPv4 address"; - } - leaf pseudowire-id { - type uint32 { - range "1..4294967295"; - } - description "Pseudowire ID"; - } - uses L2VPN-BD-PW; - } - } - - container bridge-domain-info { - description "VPLS Bridge Domain Information"; - uses L2VPN-BRIDGE; - } - leaf bridge-domain-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Domain Group Name"; - } - leaf bridge-domain-name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "Bridge Domain Name"; - } - } - } - } - - grouping ICCP-SM { - description "Common node of active, standby, node"; - - container iccp-sm { - description - "ICCP-based Service Multi-homing operational data"; - - container iccp-sm-summary { - description - "ICCP-based Service Multi-homing database - summary"; - uses ICCP-SM-SUMMARY; - } - - container iccp-groups { - description "ICCP Group Table"; - - list iccp-group { - key "group-id"; - description "ICCP Group"; - - container iccp-group-info { - description "ICCP Group Information"; - uses ICCP-SM-GROUP; - } - - container iccp-ports { - description "ICCP Port Table"; - - list iccp-port { - key "interface"; - description "ICCP Port"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses ICCP-SM-PORT; - } - } - leaf group-id { - type uint32 { - range "1..4294967295"; - } - description "Group ID"; - } - } - } - } - } - - grouping MCAST-REPLICATION-LIST { - description - "Common node of l2fib-evpn-incl-m-cast, - l2fib-evpn-incl-m-cast-hardware-ingress, - l2fib-evpn-incl-m-cast-hardware-egress"; - - container mcast-replication-list { - description - "Information of pbb-evpn/evpn ingress mcast - replication list for a particular bridge domain"; - uses L2FIB-EVPN-MCAST-LEAF-INFO; - } - } - - grouping INDEX-TABLE { - description "Common node of active, standby, node"; - - container indexes { - description "ID Manager Index Table"; - - list index { - key "pool-id"; - description "ID Manager Index Pool"; - leaf pool-id { - type xr:Hex-integer; - description "Pool ID"; - } - uses L2VPN-INDEX-INFO; - } - } - } - - grouping NSR { - description "Common node of active, standby, node"; - - container nsr { - description "L2VPN NSR information"; - uses L2VPN-MGMT-PROC-FSM; - } - } - - grouping PSEUDOWIRE-CLASS-TABLE { - description "Common node of active, standby, node"; - - container pseudowire-classes { - description "List of pseudowire classes"; - - list pseudowire-class { - key "pseudowire-class-name"; - description "Pseudowire class information"; - leaf pseudowire-class-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Pseudowire Class Name"; - } - uses L2VPN-PW-CLASS; - } - } - } - - grouping MVRP { - description "Common node of active, standby, node"; - - container mvrp { - description "MVRP"; - - container mvrp-main-ports { - description "MVRP Main Port Table"; - - list mvrp-main-port { - key "main-port-interface-name"; - description "MVRP Main Port"; - - container mvrp-main-port-info { - description "MVRP Main Port Information"; - uses L2VPN-MVRP; - } - - container mvrp-bridge-ports { - description "MVRP Bridge Port Table"; - - list mvrp-bridge-port { - key "interface-name"; - description "MVRP Bridge Port Information"; - leaf interface-name { - type xr:Interface-name; - description "Bridge Port Interface Name"; - } - uses L2VPN-MVRP-BP; - } - } - leaf main-port-interface-name { - type xr:Interface-name; - description "Main Port interface"; - } - } - } - } - } - - container l2vpn-forwarding { - config false; - description "Show L2VPN forwarding"; - - container nodes { - description "Per node L2VPN forwarding Operational data"; - - list node { - key "node-id"; - description - "The L2VPN forwarding Operational data for a - particular node"; - - container l2fibx-con-locals { - description - "The L2VPN forwarding Local LC XConnect Detail - Table"; - - list l2fibx-con-local { - key "interface-name"; - description "Specify Sub Ifh"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses L2FIB-XCON-INFO; - } - } - - container l2fib-mroute-summaries { - description "Mroute Summary Table"; - - list l2fib-mroute-summary { - description "Multicast Summary Information"; - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-MCAST-SUMMARY-INFO; - } - } - - container l2fib-message-summary { - description "L2FIB Message Summary information"; - uses L2FIB-EXT-MSG-SUMMARY-INFO; - } - - container l2fib-mroutes { - description "multicast information"; - - list l2fib-mroute { - description "Bridge Domain Multicast Information"; - leaf source { - type inet:ipv4-address-no-zone; - description "Source IP Address"; - } - leaf group { - type inet:ipv4-address-no-zone; - description "Group IP Address"; - } - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-MCAST-LEAF-INFO; - } - } - - container pbb-bmac-sa { - description "PBB Backbone Source MAC information"; - uses L2FIB-PBB-BMAC-SA-INFO; - } - - container l2fib-mac-learning { - description "The L2VPN forwarding Mac Learning Data"; - - container l2fib-mac-learning-macs { - description - "The L2VPN forwarding All Mac Learning Table"; - - list l2fib-mac-learning-mac { - description - "The attributes for a particular learned Mac - Route"; - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - leaf address { - type inet:ip-address-no-zone; - description "IP Address"; - } - leaf bdid { - type int32; - description "BD ID"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses L2FIB-MAC-DB-INFO; - } - } - - container l2fib-mac-learning-mac-ipv4s { - description - "The L2VPN forwarding Mac IPV4 Learning Table"; - - list l2fib-mac-learning-mac-ipv4 { - description - "The attributes for a particular learned IPV4 - Mac Route"; - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - leaf address { - type inet:ip-address-no-zone; - description "IP Address"; - } - leaf bdid { - type int32; - description "BD ID"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses L2FIB-MAC-DB-INFO; - } - } - - container l2fib-mac-learning-mac-ipv6s { - description - "The L2VPN forwarding Mac IPV6 Learning Table"; - - list l2fib-mac-learning-mac-ipv6 { - description - "The attributes for a particular learned IPV6 - Mac Route"; - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - leaf address { - type inet:ip-address-no-zone; - description "IP Address"; - } - leaf bdid { - type int32; - description "BD ID"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses L2FIB-MAC-DB-INFO; - } - } - } - - container l2fib-p2mp { - description "p2mp information"; - - container ptrees { - description "ptree information"; - - list ptree { - description "P2MP PTree Information"; - leaf ptree-type { - type L2vpnp2mp-ptree; - description "PTree Type"; - } - leaf lsm-id { - type int32; - description "LSM Id"; - } - leaf tunnel-id { - type int32; - description "Tunnel Id"; - } - leaf p2mp-id { - type int32; - description "P2MP Id"; - } - leaf extended-tunnel-id { - type int32; - description "Extended Tunnel Id"; - } - uses L2FIB-P2MP-PTREE-INFO; - } - } - } - - container l2fib-evpn-incl-m-cast-hardware-egresses { - description - "L2VPN forwarding bridge-domain evpn inclusive - multicast hardware egress Table"; - - list l2fib-evpn-incl-m-cast-hardware-egress { - key "bd-name"; - description "Specify bridge domain name"; - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses MCAST-REPLICATION-LIST; - uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; - } - } - - container l2fibmac-hardware-ingresses { - description "Bridge Hardware Ingress information"; - - list l2fibmac-hardware-ingress { - description "MAC Hardware Ingress information"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "Bridge Domain Name"; - } - uses L2FIB-BRIDGE-MAC-INFO; - } - } - - container l2fib-evpn-ip4macs { - description "EVPN IPv4-MAC Table"; - - list l2fib-evpn-ip4mac { - description - "The attributes for a particular EVPN IPv4-MAC - Entry"; - leaf bdid { - type int32; - description "BD ID"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP Address"; - } - leaf is-local { - type boolean; - description "Entry is locally learned"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses L2FIB-EVPN-IPMAC-INFO; - } - } - - container l2fib-pwhe-main-ports { - description "PWHE Main-port table"; - - list l2fib-pwhe-main-port { - key "interface-name"; - description "PWHE Main-port"; - leaf interface-name { - type xr:Interface-name; - description "PWHE Main-port"; - } - uses L2FIB-PWHE-MP-SHOW-INFO; - } - } - - container l2fib-dhcp-binding-count { - description "DHCP binding forwarding total count"; - uses L2FIB-DHCP-BINDING-COUNT-INFO; - } - - container l2fib-bridge-domains { - description "Bridge Domain forwarding detail"; - - list l2fib-bridge-domain { - description "Specify Bridge Domain Name"; - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the Bridge group"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-BRIDGE-INFO; - } - } - - container l2fib-mstp-summaries { - description "MSTP Summary Table"; - - list l2fib-mstp-summary { - description "MSTP Summary information"; - leaf parent-interface { - type xr:Interface-name; - description "Parent interface context"; - } - leaf msti { - type int32; - description "MSTI context"; - } - uses L2FIB-MAIN-PORT-MSTP-SUMMARY-INFO; - } - } - - container l2fib-resource-availability { - description "Resource availability information"; - uses L2FIB-RSRC-INFO; - } - - container l2fibmac-hardware-egresses { - description "Bridge Hardware Egress information"; - - list l2fibmac-hardware-egress { - description "MAC Hardware Egress information"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..27"; - } - description "Bridge Domain Name"; - } - uses L2FIB-BRIDGE-MAC-INFO; - } - } - - container l2fibx-con-l2tpv2s { - description - "The L2VPN forwarding XConnect L2TPv2 Detail - Table"; - - list l2fibx-con-l2tpv2 { - key "interface-name"; - description "Specify Sub Ifh"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses L2FIB-XCON-INFO; - } - } - - container l2fib-mroute-ipv6s { - description "multicast information"; - - list l2fib-mroute-ipv6 { - description "Bridge Domain Multicast Information"; - leaf source { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Source IPv6 Address"; - } - leaf group { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Group IPv6 Address"; - } - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-MCAST-LEAF-INFO; - } - } - - container l2fib-mon-sess-x-cons { - description - "The L2VPN forwarding Monitor Session XConnect - Information"; - - list l2fib-mon-sess-x-con { - key "monitor-session-name"; - description "Specify Monitor Session Name"; - leaf monitor-session-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Monitor Session Name"; - } - uses L2FIB-XCON-INFO; - } - } - - container l2fib-mmrp-summaries { - description "Mmrp Summary Table"; - - list l2fib-mmrp-summary { - description "Mmrp Summary Information"; - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-MCAST-SUMMARY-INFO; - } - } - - container l2fib-pw-groups { - description "PW Group Table Information"; - - list l2fib-pw-group { - description "PW Group Information"; - leaf peer-address { - type inet:ipv4-address-no-zone; - description "Peer IP Address"; - } - leaf group-id { - type int32; - description "Group Id"; - } - leaf tunnel-if-handle { - type int32; - description "Tunnel Interface Handle"; - } - uses L2FIB-PWGROUP-INFO; - } - } - - container l2fib-evpn-incl-m-cast-hardware-ingresses { - description - "L2VPN forwarding bridge-domain evpn inclusive - multicast hardware ingress Table"; - - list l2fib-evpn-incl-m-cast-hardware-ingress { - key "bd-name"; - description "Specify bridge domain name"; - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses MCAST-REPLICATION-LIST; - uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; - } - } - - container l2fib-dhcp-binding-details { - description "DHCP binding forwarding detail"; - - list l2fib-dhcp-binding-detail { - description "Specify DHCP binding detail"; - leaf xcid { - type xr:Hex-integer; - description "XConnect ID"; - } - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor IPv4 address"; - } - leaf address { - type yang:mac-address; - description "MAC address"; - } - uses L2FIB-DHCP-BINDING-DETAIL-INFO; - } - } - - container l2fibx-cons { - description "The L2VPN forwarding XConnect Detail Table"; - - list l2fibx-con { - key "xcid"; - description "Specify XConnect ID"; - leaf xcid { - type xr:Hex-integer; - description "XC ID"; - } - uses L2FIB-XCON-INFO; - } - } - - container l2fib-main-interfaces { - description "Main Interface"; - - list l2fib-main-interface { - description "Main Interface Table"; - - container "l2fib-main-interface-hardware-egress-detail"+ - "-info" { - description - "Main Interface hardware egress detail info"; - uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; - } - - container l2fib-main-interface-hardware-egress-info { - description "Main Interface hardware egress info"; - uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; - } - - container l2fib-main-interface-instances { - description "Main Interface Instance table"; - - list l2fib-main-interface-instance { - key "instance"; - description "Main Interface Instance"; - - container "l2fib-main-interface-instance-detail"+ - "-info" { - description "Main Interface Instance detail info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; - } - - container "l2fib-main-interface-instance-bridge"+ - "-port-details" { - description - "Main Interface Instance Bridge Port detail - table"; - - list "l2fib-main-interface-instance-bridge-port"+ - "-detail" { - key "xcid"; - description - "Main Interface Bridge Port detail info"; - leaf xcid { - type xr:Hex-integer; - description "Bridge Port"; - } - uses "L2FIB-MAIN-INTERFACE"+ - "-INSTANCE-BPORT-DETAIL-INFO"; - } - } - - container l2fib-main-interface-instance-info { - description "Main Interface Instance info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; - } - - container "l2fib-main-interface-instance-hardware"+ - "-ingress-detail-info" { - description - "Main Interface Instance hardware ingress - detail info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; - } - - container "l2fib-main-interface-instance-hardware"+ - "-egress-info" { - description - "Main Interface Instance hardware egress - info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; - } - - container "l2fib-main-interface-instance-hardware"+ - "-ingress-info" { - description - "Main Interface Instance hardware ingress - info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; - } - - container "l2fib-main-interface-instance-bridge"+ - "-ports" { - description - "Main Interface Instance Bridge Port table"; - - list l2fib-main-interface-instance-bridge-port { - key "xcid"; - description "Main Interface Bridge Port info"; - leaf xcid { - type xr:Hex-integer; - description "Bridge Port"; - } - uses "L2FIB-MAIN-INTERFACE"+ - "-INSTANCE-BPORT-SUMMARY-INFO"; - } - } - - container "l2fib-main-interface-instance-hardware"+ - "-egress-detail-info" { - description - "Main Interface Instance hardware egress - detail info"; - uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; - } - leaf instance { - type int32; - description "Instance"; - } - } - } - - container l2fib-main-interface-info { - description "Main Interface info"; - uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; - } - - container l2fib-main-interface-detail-info { - description "Main Interface detail info"; - uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; - } - - container "l2fib-main-interface-hardware-ingress-detail"+ - "-info" { - description - "Main Interface hardware ingress detail info"; - uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; - } - - container l2fib-main-interface-hardware-ingress-info { - description "Main Interface hardware ingress info"; - uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; - } - leaf main-interface-id { - type int32; - description "Main interface id"; - } - leaf main-interface-type { - type Evpn-main-interface; - description "Main interface type"; - } - } - } - - container l2fib-mstp-details { - description "MSTP Detail Table"; - - list l2fib-mstp-detail { - description "MSTP Detail information"; - leaf parent-interface { - type xr:Interface-name; - description "Parent interface context"; - } - leaf msti { - type int32; - description "MSTI context"; - } - uses L2FIB-MAIN-PORT-MSTP-DETAIL-INFO; - } - } - - container l2fib-l2tp { - description "L2TP"; - - container l2tpv3-sessions { - description "L2TPV3 Session table"; - - list l2tpv3-session { - key "session-id"; - description "L2TPV3 Session"; - leaf session-id { - type int32; - description "SessionID"; - } - uses L2FIB-L2TP-DISP-INFO; - } - } - - container l2tpv2-sessions { - description "L2TPV2 Session table"; - - list l2tpv2-session { - description "L2TPV2 Session"; - leaf session-id { - type int32; - description "SessionID"; - } - leaf tunnel-id { - type int32; - description "TunnelID"; - } - uses L2FIB-L2TP-DISP-INFO; - } - } - } - - container l2fib-g8032 { - description "G8032 information"; - - container l2fib-g8032-rings { - description "G8032 Ring table"; - - list l2fib-g8032-ring { - key "ring-name"; - description "G8032 Ring"; - - container l2fib-g8032-ring-detail { - description "G8032 Ring detailed information"; - uses L2FIB-G8032-RING-DETAIL-INFO; - } - - container l2fib-g8032-ring-summary { - description "G8032 Ring summary information"; - uses L2FIB-G8032-RING-SUMMARY-INFO; - } - - container l2fib-g8032-ring-instance-summaries { - description "G8032 Ring Instance summary table"; - - list l2fib-g8032-ring-instance-summary { - key "instance"; - description - "G8032 Ring Instance summary information"; - leaf instance { - type int32; - description "Instance"; - } - uses L2FIB-G8032-RING-INSTANCE-SUMMARY-INFO; - } - } - - container l2fib-g8032-ring-instance-details { - description "G8032 Ring Instance detail table"; - - list l2fib-g8032-ring-instance-detail { - key "instance"; - description - "G8032 Ring Instance detailed information"; - leaf instance { - type int32; - description "Instance"; - } - uses L2FIB-G8032-RING-INSTANCE-DETAIL-INFO; - } - } - leaf ring-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Ring Name"; - } - } - } - } - - container l2fib-bridge-ports { - description "Bridge Port forwarding detail"; - - list l2fib-bridge-port { - description "Specify Bridge Domain Name and XC ID"; - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - leaf xc-uint-id { - type xr:Hex-integer; - description "XC ID"; - } - uses L2FIB-BRIDGE-PORT-DETAIL-INFO; - } - } - - container l2fibmac-details { - description "Bridge MAC detail information"; - - list l2fibmac-detail { - description "MAC Detail information"; - leaf address { - type yang:mac-address; - description "Static MAC address"; - } - leaf group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-BRIDGE-MAC-INFO; - } - } - - container l2fib-bridge-domain-names { - description "Bridge Domain forwarding detail"; - - list l2fib-bridge-domain-name { - description "Specify Bridge Domain Name"; - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the Bridge group"; - } - leaf name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-BRIDGE-SUMMARY-INFO; - } - } - - container l2fib-mroute-ports { - description "multicast bridge port information "; - - list l2fib-mroute-port { - description "Multicast Port Information"; - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - leaf xcid { - type xr:Hex-integer; - description "XConnect ID"; - } - leaf source { - type inet:ipv4-address-no-zone; - description "Source IP Address"; - } - leaf group { - type inet:ipv4-address-no-zone; - description "Group IP Address"; - } - uses L2FIB-MCAST-XID-INFO; - } - } - - container l2fib-summary { - description "L2FIB Summary information"; - uses L2FIB-SUMMARY-INFO; - } - - container l2fib-nve-peers { - description "NVE Peer Table"; - - list l2fib-nve-peer { - description "The attributes for a particular NVE Peer"; - leaf xc-uint-id { - type xr:Hex-integer; - description "XC ID"; - } - leaf vniid { - type xr:Hex-integer; - description "VNI ID"; - } - leaf vtep-address { - type inet:ipv4-address-no-zone; - description "VTEP IP Address"; - } - uses L2FIB-VTEP-INFO; - } - } - - container l2fib-mmrps { - description "mmmrp information"; - - list l2fib-mmrp { - description "Bridge Domain Mmrp Information"; - leaf source { - type string { - length "1..15"; - } - description "src Mac Address"; - } - leaf group { - type string { - length "1..15"; - } - description "Group Mac Address"; - } - leaf bd-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Bridge Group Name"; - } - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses L2FIB-MCAST-LEAF-INFO; - } - } - - container l2fib-evpn-ip6macs { - description "EVPN IPv6-MAC Table"; - - list l2fib-evpn-ip6mac { - description - "The attributes for a particular EVPN IPv6-MAC - Entry"; - leaf bdid { - type int32; - description "BD ID"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP Address"; - } - leaf is-local { - type boolean; - description "Entry is locally learned"; - } - leaf mac-address { - type yang:mac-address; - description "MAC Address"; - } - uses L2FIB-EVPN-IPMAC-INFO; - } - } - - container l2fib-dhcp-binding-summaries { - description "DHCP binding forwarding summary"; - - list l2fib-dhcp-binding-summary { - key "xcid"; - description "Specify DHCP binding summary"; - leaf xcid { - type xr:Hex-integer; - description "XConnect ID"; - } - uses L2FIB-DHCP-BINDING-SUMMARY-INFO; - } - } - - container l2fib-evpn-incl-m-casts { - description - "L2VPN forwarding bridge-domain evpn inclusive - multicast Table"; - - list l2fib-evpn-incl-m-cast { - key "bd-name"; - description "Specify bridge domain name"; - leaf bd-name { - type xr:Cisco-ios-xr-string { - length "1..65"; - } - description "Bridge Domain Name"; - } - uses MCAST-REPLICATION-LIST; - uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; - } - } - leaf node-id { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } - - container l2vpnv2 { - config false; - description "l2vpnv2"; - - container standby { - description "Standby L2VPN operational data"; - uses DISCOVERY-TABLE; - uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; - uses MAIN-INTERFACE-TABLE; - uses ICCP-SM; - uses BRIDGE-SUMMARY; - uses NSR; - uses PREFERRED-PATH-TABLE; - uses GLOBAL-SETTINGS; - uses PWR; - uses XCONNECT-MP2MP-CE2CE-TABLE; - uses XCONNECT-TABLE; - uses XCONNECT-GROUP-TABLE; - uses XCONNECT-MP2MP-TABLE; - uses INDEX-TABLE; - uses XCONNECT-SUMMARY; - uses PROC-FSM; - uses MSTP-PORT-TABLE; - uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; - uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; - uses BRIDGE-DOMAIN-TABLE; - uses DISCOVERY-SUMMARY; - uses G8032; - uses PSEUDOWIRE-CLASS-TABLE; - uses L2VPN-COLLABORATORS; - uses MVRP; - uses GENERIC-INTERFACE-LIST-TABLE; - uses MSTP-VLAN-TABLE; - uses L2VPN-PBB-BSA; - uses FLEXIBLE-XCONNECT-SERVICE-TABLE; - uses XCONNECT-BRIEF; - } - - container active { - description "Active L2VPN operational data"; - uses DISCOVERY-TABLE; - uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; - uses MAIN-INTERFACE-TABLE; - uses ICCP-SM; - uses BRIDGE-SUMMARY; - uses NSR; - uses PREFERRED-PATH-TABLE; - uses GLOBAL-SETTINGS; - uses PWR; - uses XCONNECT-MP2MP-CE2CE-TABLE; - uses XCONNECT-TABLE; - uses XCONNECT-GROUP-TABLE; - uses XCONNECT-MP2MP-TABLE; - uses INDEX-TABLE; - uses XCONNECT-SUMMARY; - uses PROC-FSM; - uses MSTP-PORT-TABLE; - uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; - uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; - uses BRIDGE-DOMAIN-TABLE; - uses DISCOVERY-SUMMARY; - uses G8032; - uses PSEUDOWIRE-CLASS-TABLE; - uses L2VPN-COLLABORATORS; - uses MVRP; - uses GENERIC-INTERFACE-LIST-TABLE; - uses MSTP-VLAN-TABLE; - uses L2VPN-PBB-BSA; - uses FLEXIBLE-XCONNECT-SERVICE-TABLE; - uses XCONNECT-BRIEF; - } - - container nodes { - description - "Table of L2VPN operational data for a particular - node"; - - list node { - key "node-id"; - description "L2VPN operational data for a particular node"; - leaf node-id { - type xr:Node-id; - description "Location"; - } - uses DISCOVERY-TABLE; - uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; - uses MAIN-INTERFACE-TABLE; - uses ICCP-SM; - uses BRIDGE-SUMMARY; - uses NSR; - uses PREFERRED-PATH-TABLE; - uses GLOBAL-SETTINGS; - uses PWR; - uses XCONNECT-MP2MP-CE2CE-TABLE; - uses XCONNECT-TABLE; - uses XCONNECT-GROUP-TABLE; - uses XCONNECT-MP2MP-TABLE; - uses INDEX-TABLE; - uses XCONNECT-SUMMARY; - uses PROC-FSM; - uses MSTP-PORT-TABLE; - uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; - uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; - uses BRIDGE-DOMAIN-TABLE; - uses DISCOVERY-SUMMARY; - uses G8032; - uses PSEUDOWIRE-CLASS-TABLE; - uses L2VPN-COLLABORATORS; - uses MVRP; - uses GENERIC-INTERFACE-LIST-TABLE; - uses MSTP-VLAN-TABLE; - uses L2VPN-PBB-BSA; - uses FLEXIBLE-XCONNECT-SERVICE-TABLE; - uses XCONNECT-BRIEF; - } - } - } - - container generic-interface-list-v2 { - config false; - description "generic interface list v2"; - - container nodes { - description - "Table of generic interface list operational data - for a particular node"; - - list node { - key "node-id"; - description - "Generic interface list operational data for a - particular node"; - leaf node-id { - type xr:Node-id; - description "Location"; - } - uses GENERIC-INTERFACE-LIST-TABLE-V2; - } - } - - container standby { - description "Standby generic interface list operational data"; - uses GENERIC-INTERFACE-LIST-TABLE-V2; - } - - container active { - description "Active generic interface list operational data"; - uses GENERIC-INTERFACE-LIST-TABLE-V2; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-li-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-li-cfg.yang deleted file mode 100644 index 2666931..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-li-cfg.yang +++ /dev/null @@ -1,51 +0,0 @@ -module Cisco-IOS-XR-li-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg"; - - - prefix "li-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR li package configuration. - - This module contains definitions - for the following management objects: - lawful-intercept: Lawful intercept configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lawful-intercept { - description "Lawful intercept configuration"; - leaf disable { - type empty; - description "Disable lawful intercept feature"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-act.yang deleted file mode 100755 index 589e0a8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-act.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-lib-keychain-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act"; - - prefix "lib-keychain-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR action package configuration. - - Copyright (c) 2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-17" { - description - "IOS XR 6.3.1 revision."; - } - - grouping MASTER-KEY { - leaf old-key { - description "key already added/key to be replaced"; - type string; - mandatory true; - } - leaf new-key { - description "New master key to be added "; - type string; - mandatory true; - } - } - - rpc master-key-add { - description "To add a new master key"; - input { - leaf new-key { - description "New master key to be added"; - type string; - } - } - } - - rpc master-key-delete { - description "Remove Master key"; - } - - rpc master-key-update { - description "To update master key"; - input { - uses MASTER-KEY; - } - } - } diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-cfg.yang deleted file mode 100644 index f58c2f3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-cfg.yang +++ /dev/null @@ -1,359 +0,0 @@ -module Cisco-IOS-XR-lib-keychain-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg"; - - - prefix "lib-keychain-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-keychain package configuration. - - This module contains definitions - for the following management objects: - keychains: Configure a Key Chain - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Crypto-alg { - type enumeration { - enum alg-hmac-sha1-12 { - value 2; - description "HMAC SHA 1 12"; - } - enum alg-md5-16 { - value 3; - description "MD5 16"; - } - enum alg-sha1-20 { - value 4; - description "SHA 1 20"; - } - enum alg-hmac-md5-16 { - value 5; - description "HMAC MD5 16"; - } - enum alg-hmac-sha1-20 { - value 6; - description "HMAC SHA 1 20"; - } - } - description "Crypto alg"; - } - typedef Key-chain-month { - type enumeration { - enum jan { - value 0; - description "January"; - } - enum feb { - value 1; - description "February"; - } - enum mar { - value 2; - description "March"; - } - enum apr { - value 3; - description "April"; - } - enum may { - value 4; - description "May"; - } - enum jun { - value 5; - description "June"; - } - enum jul { - value 6; - description "July"; - } - enum aug { - value 7; - description "August"; - } - enum sep { - value 8; - description "September"; - } - enum oct { - value 9; - description "October"; - } - enum nov { - value 10; - description "November"; - } - enum dec { - value 11; - description "December"; - } - } - description "Key chain month"; - } - - container keychains { - description "Configure a Key Chain"; - - list keychain { - key "chain-name"; - description "Name of the key chain"; - - container accept-tolerance { - description "Accept Tolerance in seconds or infinite"; - leaf value { - type uint32 { - range "1..8640000"; - } - units "second"; - must "not(../infinite)"; - description "Value in seconds"; - } - leaf infinite { - type boolean; - must "not(../value)"; - description "Infinite tolerance"; - } - } - - container keies { - description "Configure a Key"; - - list key { - key "key-id"; - description "Key Identifier"; - - container accept-lifetime { - description "Configure a key Acceptance Lifetime"; - leaf start-hour { - type uint32 { - range "0..23"; - } - description "Start Hour"; - } - leaf start-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "Start Minutes"; - } - leaf start-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "Start Seconds"; - } - leaf start-date { - type uint32 { - range "1..31"; - } - description "Start Date"; - } - leaf start-month { - type Key-chain-month; - description "Start Month"; - } - leaf start-year { - type uint32 { - range "1993..2035"; - } - description "Start Year"; - } - leaf life-time { - type uint32 { - range "1..2147483647"; - } - units "second"; - description "Lifetime duration in seconds"; - } - leaf infinite-flag { - type boolean; - description "Infinite Lifetime flag"; - } - leaf end-hour { - type uint32 { - range "0..23"; - } - description "End Hour"; - } - leaf end-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "End Minutes"; - } - leaf end-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "End Seconds"; - } - leaf end-date { - type uint32 { - range "1..31"; - } - description "End Date"; - } - leaf end-month { - type Key-chain-month; - description "End Month"; - } - leaf end-year { - type uint32 { - range "1993..2035"; - } - description "End Year"; - } - } - - container send-lifetime { - description "Configure a Send Lifetime"; - leaf start-hour { - type uint32 { - range "0..23"; - } - description "Start Hour"; - } - leaf start-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "Start Minutes"; - } - leaf start-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "Start Seconds"; - } - leaf start-date { - type uint32 { - range "1..31"; - } - description "Start Date"; - } - leaf start-month { - type Key-chain-month; - description "Start Month"; - } - leaf start-year { - type uint32 { - range "1993..2035"; - } - description "Start Year"; - } - leaf life-time { - type uint32 { - range "1..2147483647"; - } - units "second"; - description "Lifetime duration in seconds"; - } - leaf infinite-flag { - type boolean; - description "Infinite Lifetime flag"; - } - leaf end-hour { - type uint32 { - range "0..23"; - } - description "End Hour"; - } - leaf end-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "End Minutes"; - } - leaf end-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "End Seconds"; - } - leaf end-date { - type uint32 { - range "1..31"; - } - description "End Date"; - } - leaf end-month { - type Key-chain-month; - description "End Month"; - } - leaf end-year { - type uint32 { - range "1993..2035"; - } - description "End Year"; - } - } - leaf key-string { - type xr:Proprietary-password; - description - "Configure a clear text/encrypted Key string "; - } - leaf cryptographic-algorithm { - type Crypto-alg; - description "Configure the cryptographic algorithm"; - } - leaf key-id { - type xr:Cisco-ios-xr-string; - description "48-bit Key identifier"; - } - } - } - leaf chain-name { - type xr:Cisco-ios-xr-string; - description "Name of the key chain"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-macsec-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-macsec-cfg.yang deleted file mode 100644 index 39d0fda..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-macsec-cfg.yang +++ /dev/null @@ -1,260 +0,0 @@ -module Cisco-IOS-XR-lib-keychain-macsec-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-lib-keychain-macsec-cfg"; - - - prefix "lib-keychain-macsec-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-keychain-macsec package configuration. - - This module contains definitions - for the following management objects: - mac-sec-keychains: Configure a Key Chain - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mac-sec-key-chain-month { - type enumeration { - enum jan { - value 0; - description "January"; - } - enum feb { - value 1; - description "February"; - } - enum mar { - value 2; - description "March"; - } - enum apr { - value 3; - description "April"; - } - enum may { - value 4; - description "May"; - } - enum jun { - value 5; - description "June"; - } - enum jul { - value 6; - description "July"; - } - enum aug { - value 7; - description "August"; - } - enum sep { - value 8; - description "September"; - } - enum oct { - value 9; - description "October"; - } - enum nov { - value 10; - description "November"; - } - enum dec { - value 11; - description "December"; - } - } - description "Mac sec key chain month"; - } - typedef Mac-sec-crypto-alg { - type enumeration { - enum aes-128-cmac { - value 7; - description "aes 128 cmac"; - } - enum aes-256-cmac { - value 8; - description "aes 256 cmac"; - } - } - description "Mac sec crypto alg"; - } - typedef Mac-sec-encryption { - type enumeration { - enum type7 { - value 0; - description "Type7"; - } - enum type6 { - value 2; - description "Type6"; - } - } - description "Mac sec encryption"; - } - - container mac-sec-keychains { - description "Configure a Key Chain"; - - list mac-sec-keychain { - key "chain-name"; - description "Name of the key chain for MACSec"; - - container keies { - description "Configure a Key"; - - list key { - key "key-id"; - description "Key Identifier"; - - container lifetime { - description "Configure a key Lifetime"; - leaf start-hour { - type uint32 { - range "0..23"; - } - description "Start Hour"; - } - leaf start-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "Start Minutes"; - } - leaf start-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "Start Seconds"; - } - leaf start-date { - type uint32 { - range "1..31"; - } - description "Start Date"; - } - leaf start-month { - type Mac-sec-key-chain-month; - description "Start Month"; - } - leaf start-year { - type uint32 { - range "1993..2035"; - } - description "Start Year"; - } - leaf life-time { - type uint32 { - range "1..2147483647"; - } - units "second"; - description "Lifetime duration in seconds"; - } - leaf infinite-flag { - type boolean; - description "Infinite Lifetime flag"; - } - leaf end-hour { - type uint32 { - range "0..23"; - } - description "End Hour"; - } - leaf end-minutes { - type uint32 { - range "0..59"; - } - units "minute"; - description "End Minutes"; - } - leaf end-seconds { - type uint32 { - range "0..59"; - } - units "second"; - description "End Seconds"; - } - leaf end-date { - type uint32 { - range "1..31"; - } - description "End Date"; - } - leaf end-month { - type Mac-sec-key-chain-month; - description "End Month"; - } - leaf end-year { - type uint32 { - range "1993..2035"; - } - description "End Year"; - } - } - - container key-string { - presence "Indicates a key-string node is configured."; - description - "Configure a clear text/encrypted Key string - along with cryptographic algorithm"; - leaf string { - type xr:Proprietary-password; - mandatory true; - description "Key String"; - } - leaf cryptographic-algorithm { - type Mac-sec-crypto-alg; - mandatory true; - description "Cryptographic Algorithm"; - } - leaf encryption-type { - type Mac-sec-encryption; - default "type7"; - description "encryption type used to store key"; - } - } - leaf key-id { - type xr:Cisco-ios-xr-string; - description "48-bit Key identifier"; - } - } - } - leaf chain-name { - type xr:Cisco-ios-xr-string; - description "Name of the key chain"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang deleted file mode 100644 index 3782e74..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang +++ /dev/null @@ -1,57 +0,0 @@ -module Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg"; - - - prefix "lib-keychain-masterkey-aes-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-keychain-masterkey-aes package configuration. - - This module contains definitions - for the following management objects: - password: Configure masterkey - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container password { - description "Configure masterkey"; - - container encryption { - description "Enable password encryption"; - leaf aes { - type int32; - default "0"; - description "encryption type used to store key"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper-sub1.yang deleted file mode 100644 index 73e1dc3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper-sub1.yang +++ /dev/null @@ -1,183 +0,0 @@ -submodule Cisco-IOS-XR-lib-keychain-oper-sub1 { - - belongs-to Cisco-IOS-XR-lib-keychain-oper { - prefix Cisco-IOS-XR-lib-keychain-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR lib-keychain package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Cryto-algo { - type enumeration { - enum not-configured { - value 0; - description "Not configured"; - } - enum hmac-sha1-12 { - value 2; - description "HMAC SHA1 12 bytes"; - } - enum md5 { - value 3; - description "MD5 16 bytes"; - } - enum sha1 { - value 4; - description "SHA1 20 bytes"; - } - enum hmac-md5 { - value 5; - description "HMAC MD5 16 bytes"; - } - enum hmac-sha1-20 { - value 6; - description "HMAC SHA1 20 bytes"; - } - enum aes-128-cmac { - value 7; - description "CMAC AES 32 bytes"; - } - enum aes-256-cmac { - value 8; - description "CMAC AES 64 bytes"; - } - } - description "Cryptographic algorithm type"; - } - typedef Enc { - type enumeration { - enum password-type7 { - value 0; - description "Type 7 password type"; - } - enum password-type6 { - value 2; - description "Type 6 Encryption"; - } - } - description "Type of password encryption"; - } - - grouping LIFETIME { - description "Life time values associated with a key"; - leaf start { - type string; - description - "Key life start time in format : day-of-week - month date-of-month HH:MM:SS year eg: Thu Feb 1 - 18:32:14 2011"; - } - leaf end { - type string; - description - "Key life end time in format : day-of-week month - date-of-month HH:MM:SS year eg: Thu Feb 1 18:32 - :14 2011"; - } - leaf duration { - type string; - units "second"; - description - "Duration of the key in seconds. value 0xffffffff - reflects infinite, never expires, is configured "; - } - leaf is-always-valid { - type boolean; - description "Is TRUE if duration is 0xffffffff "; - } - leaf is-valid-now { - type boolean; - description - "Is TRUE if current time is betweenstart and end - lifetime , else FALSE"; - } - } - - grouping MACSEC { - description "If it's a macsec key"; - leaf is-macsec-key { - type boolean; - description "To check if it's a macsec key"; - } - } - - grouping KEY-ID { - description "Key ID information"; - - list key-id { - description "key id"; - - container macsec { - description "To check if it's a macsec key"; - uses MACSEC; - } - - container send-lifetime { - description "Lifetime of the key"; - uses LIFETIME; - } - - container accept-lifetime { - description "Accept Lifetime of the key"; - uses LIFETIME; - } - leaf key-string { - type string; - description "Key string"; - } - leaf type { - type Enc; - description "Type of key encryption"; - } - leaf key-id { - type uint64; - description "Key ID"; - } - leaf cryptographic-algorithm { - type Cryto-algo; - description "Cryptographic algorithm"; - } - } - } - - grouping KEY-CHAIN { - description "Key chain config information"; - - container key { - description "Key properties"; - uses KEY-ID; - } - leaf accept-tolerance { - type string; - description - "Accept tolerance is infinite if value is - 0xffffffff"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper.yang deleted file mode 100644 index 8d61ea9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-keychain-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-lib-keychain-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-lib-keychain-oper"; - - - prefix "lib-keychain-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-lib-keychain-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-keychain package operational data. - - This module contains definitions - for the following management objects: - keychain: Keychain operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container keychain { - config false; - description "Keychain operational data"; - - container keies { - description "List of configured key names"; - - list key { - key "key-name"; - description "Configured key name"; - leaf key-name { - type xr:Cisco-ios-xr-string; - description "Key name"; - } - uses KEY-CHAIN; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-cfg.yang deleted file mode 100644 index 4ec08af..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-cfg.yang +++ /dev/null @@ -1,248 +0,0 @@ -module Cisco-IOS-XR-lib-mpp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg"; - - - prefix "lib-mpp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-mpp package configuration. - - This module contains definitions - for the following management objects: - control-plane: Configure control Plane - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping HTTP-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container http-protocol { - description "Configure HTTP on this interface"; - uses PEER-CLASS; - } - } - - grouping SNMP-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container snmp-protocol { - description "Configure SNMP for this interface"; - uses PEER-CLASS; - } - } - - grouping TFTP-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container tftp-protocol { - description "Configure TFTP on this interface"; - uses PEER-CLASS; - } - } - - grouping INTERFACE-SELECTION { - description "Common node of inband, outband"; - - container interface-selection { - description "Configure interfaces"; - - container interfaces { - description "Configure a specific interface"; - - list interface { - key "interface-name"; - description "Specific interface"; - leaf interface-name { - type xr:Interface-name; - description "Name of the Interface"; - } - uses HTTP-PROTOCOL; - uses TFTP-PROTOCOL; - uses NETCONF-PROTOCOL; - uses XR-XML; - uses SSH-PROTOCOL; - uses SNMP-PROTOCOL; - uses TELNET-PROTOCOL; - uses ALL-PROTOCOLS; - } - } - - container all-interfaces { - description "Configure all Inband interfaces"; - uses HTTP-PROTOCOL; - uses TFTP-PROTOCOL; - uses NETCONF-PROTOCOL; - uses XR-XML; - uses SSH-PROTOCOL; - uses SNMP-PROTOCOL; - uses TELNET-PROTOCOL; - uses ALL-PROTOCOLS; - } - } - } - - grouping NETCONF-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container netconf-protocol { - description "Configure NETCONF protocol and peer addresses"; - uses PEER-CLASS; - } - } - - grouping PEER-PREFIX-CLASS { - description "Common node of peer-v4, peer-v6"; - - container peer-prefixes { - description "Configure peer addresses with prefix"; - - list peer-prefix { - key "address-prefix"; - description "Peer address (with prefix)"; - leaf address-prefix { - type inet:ip-prefix; - description "prefix/length"; - } - } - } - } - - grouping PEER-NO-PREFIX-CLASS { - description "Common node of peer-v4, peer-v6"; - - container peers { - description "Configure peer addresses"; - - list peer { - key "address"; - description "Configure peer on the interface"; - leaf address { - type inet:ip-address-no-zone; - description "prefix"; - } - } - } - } - - grouping XR-XML { - description "Common node of interface, all-interfaces"; - - container xr-xml { - description "Configure XML and peer addresses"; - uses PEER-CLASS; - } - } - - grouping PEER-CLASS { - description - "Common node of snmp-protocol, http-protocol, - ssh-protocol, telnet-protocol, tftp-protocol, xml - , netconf-protocol, all-protocols"; - - container peer-class { - description "Configure peer addresses"; - - container peer-v4 { - description "Configure v4 peer addresses"; - uses PEER-NO-PREFIX-CLASS; - uses PEER-PREFIX-CLASS; - } - - container peer-v6 { - description "Configure v6 peer addresses"; - uses PEER-NO-PREFIX-CLASS; - uses PEER-PREFIX-CLASS; - } - leaf peer-all { - type empty; - description "Only takes 'True'"; - } - } - } - - grouping TELNET-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container telnet-protocol { - description "Configure Telnet for this interface"; - uses PEER-CLASS; - } - } - - grouping ALL-PROTOCOLS { - description "Common node of interface, all-interfaces"; - - container all-protocols { - description "Configure all protocols on this interface"; - uses PEER-CLASS; - } - } - - grouping SSH-PROTOCOL { - description "Common node of interface, all-interfaces"; - - container ssh-protocol { - description "Configure SSH protocol and peer addresses"; - uses PEER-CLASS; - } - } - - container control-plane { - description "Configure control Plane"; - - container management-plane-protection { - description "Configure management plane protection"; - - container outband { - description "Outband Configuration"; - leaf outband-vrf { - type string; - description "Configure outband VRF"; - } - uses INTERFACE-SELECTION; - } - - container inband { - description "Inband Configuration"; - uses INTERFACE-SELECTION; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper-sub1.yang deleted file mode 100644 index 2af81dc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper-sub1.yang +++ /dev/null @@ -1,153 +0,0 @@ -submodule Cisco-IOS-XR-lib-mpp-oper-sub1 { - - belongs-to Cisco-IOS-XR-lib-mpp-oper { - prefix Cisco-IOS-XR-lib-mpp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR lib-mpp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Mpp-in6-addr { - type inet:ipv6-address; - description "Mpp in6 addr"; - } - typedef Mpp-in-addr { - type inet:ipv4-address; - description "Mpp in addr"; - } - identity Mpp-af-id-base { - description "Base identity for Mpp-af-id"; - } - identity ipv4 { - base Mpp-af-id-base; - description "IPv4 address family"; - } - identity ipv6 { - base Mpp-af-id-base; - description "IPv6 address family"; - } - typedef Mpp-af-id { - type identityref { - base Mpp-af-id-base; - } - description "MPP address family types"; - } - typedef Mpp-allow { - type enumeration { - enum ssh { - description "SSH protocol"; - } - enum telnet { - description "TELNET protocol"; - } - enum snmp { - description "SNMP protocol"; - } - enum tftp { - description "TFTP protocol"; - } - enum http { - description "HTTP protocol"; - } - enum xr-xml { - description "XML"; - } - enum netconf { - description "NETCONF protocol"; - } - enum all { - description "All"; - } - } - description "MPP protocol types"; - } - - grouping IP-ADDR-T-UNION { - description "IP ADDR T UNION"; - leaf af-name { - type Mpp-af-id; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type Mpp-in-addr; - description "IPv4 address"; - } - leaf ipv6-address { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Mpp-in6-addr; - description "IPv6 address"; - } - } - - grouping MPP-INFO { - description "MPP Information"; - leaf allow { - type Mpp-allow; - description "MPP allow"; - } - leaf is-all-peers-allowed { - type boolean; - description "If TRUE, all peers are allowed"; - } - - list peer-address { - description "List of peer addresses"; - uses IP-ADDR-T-UNION; - } - } - - grouping MPP-PROTO { - description "MPP Interface protocols"; - - list protocol { - description "MPP Interface protocols"; - uses MPP-INFO; - } - } - - grouping VRF-INFO { - description "Outband VRF name"; - leaf vrf-name { - type string; - description "Outband VRF name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper.yang deleted file mode 100644 index c89d120..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lib-mpp-oper.yang +++ /dev/null @@ -1,99 +0,0 @@ -module Cisco-IOS-XR-lib-mpp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper"; - - - prefix "lib-mpp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-lib-mpp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lib-mpp package operational data. - - This module contains definitions - for the following management objects: - management-plane-protection: Management Plane Protection (MPP) - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping INTERFACE-TABLE { - description "Common node of inband, outband"; - - container interfaces { - description "List of inband/outband interfaces"; - - list interface { - key "interface-name"; - description "MPP interface information"; - leaf interface-name { - type string; - description - "Interface name, specify 'all' for all - interfaces"; - } - uses MPP-PROTO; - } - } - } - - container management-plane-protection { - config false; - description - "Management Plane Protection (MPP) operational - data"; - - container outband { - description - "Management Plane Protection (MPP) outband - interface data"; - - container vrf { - description "Outband VRF information"; - uses VRF-INFO; - } - uses INTERFACE-TABLE; - } - - container inband { - description - "Management Plane Protection (MPP) inband - interface data"; - uses INTERFACE-TABLE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang deleted file mode 100644 index ed7ae5d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang +++ /dev/null @@ -1,65 +0,0 @@ -submodule Cisco-IOS-XR-linux-os-reboot-history-oper-sub1 { - - belongs-to Cisco-IOS-XR-linux-os-reboot-history-oper { - prefix Cisco-IOS-XR-linux-os-reboot-history-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR linux-os-reboot-history package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping HISTORY-DETAIL { - description "Reboot history details"; - leaf no { - type uint32; - description "Number count"; - } - leaf time { - type string; - description "Time of reboot"; - } - leaf cause-code { - type uint32; - description "Cause code for reboot"; - } - leaf reason { - type string; - description "Reason for reboot"; - } - } - - grouping HISTORY { - description "Reboot history information"; - - list reboot-history { - description "Last Reboots"; - uses HISTORY-DETAIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper.yang deleted file mode 100644 index cff2b86..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-linux-os-reboot-history-oper.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-linux-os-reboot-history-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-linux-os-reboot-history-oper"; - - - prefix "linux-os-reboot-history-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-linux-os-reboot-history-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR linux-os-reboot-history package operational data. - - This module contains definitions - for the following management objects: - reboot-history: Reboot History information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container reboot-history { - config false; - description "Reboot History information"; - - list node { - key "node-name"; - description "Node ID"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses HISTORY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang deleted file mode 100644 index 18ed876..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang +++ /dev/null @@ -1,140 +0,0 @@ -submodule Cisco-IOS-XR-lpts-ifib-oper-sub1 { - - belongs-to Cisco-IOS-XR-lpts-ifib-oper { - prefix Cisco-IOS-XR-lpts-ifib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR lpts-ifib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FM-IFIB-ENTRY { - description "LPTS IFIB Slice Entry Information"; - leaf destination-type { - type string; - description "Destination Key Type"; - } - leaf destination-value { - type string; - description "Destination Port/ICMP Type/IGMP Type"; - } - leaf source-port { - type string; - description "Source port"; - } - leaf destination-addr { - type string; - description "Destination IP Address"; - } - leaf source-addr { - type string; - description "Source IP Address"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf vid { - type uint32; - description "VRF ID"; - } - leaf l3protocol { - type uint32; - description "Layer 3 Protocol"; - } - leaf l4protocol { - type uint32; - description "Layer 4 Protocol"; - } - leaf intf-name { - type string; - description "Interface Name"; - } - leaf intf-handle { - type uint32; - description "Interface Handle"; - } - leaf is-syn { - type uint8; - description "Is SYN"; - } - leaf opcode { - type string; - description "Opcode"; - } - leaf accepts { - type uint64; - description "Packets matched to accept"; - } - leaf drops { - type uint64; - description "Packets matched to drop"; - } - leaf flow-type { - type string; - description "Flow type"; - } - leaf listener-tag { - type string; - description "Listener Tag"; - } - leaf local-flag { - type uint8; - description "Local Flag"; - } - leaf is-fgid { - type uint8; - description "Is FGID or not"; - } - leaf deliver-list-short { - type string; - description "Deliver List Short Format"; - } - leaf deliver-list-long { - type string; - description "Deliver List Long Format"; - } - leaf min-ttl { - type uint8; - description "Minimum TTL"; - } - leaf pending-ifibq-delay { - type uint32; - description "pending ifib queue delay"; - } - leaf sl-ifibq-delay { - type uint32; - description "sl_ifibq delay"; - } - leaf ifib-program-time { - type string; - description "ifib program time in netio"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper.yang deleted file mode 100644 index 5994243..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-ifib-oper.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-lpts-ifib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper"; - - - prefix "lpts-ifib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-lpts-ifib-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-ifib package operational data. - - This module contains definitions - for the following management objects: - lpts-ifib: lpts ifib database - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lpts-ifib { - config false; - description "lpts ifib database"; - - container nodes { - description "Node ifib database"; - - list node { - key "node-name"; - description "Per node slice "; - - container slice-ids { - description "Slice specific"; - - list slice-id { - key "slice-name"; - description "slice types"; - leaf slice-name { - type xr:Cisco-ios-xr-string; - description "Type value"; - } - - list entry { - key "entry"; - description "Data for single pre-ifib entry"; - leaf entry { - type int32; - description "Single Pre-ifib entry"; - } - uses FM-IFIB-ENTRY; - } - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-lib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-lib-cfg.yang deleted file mode 100644 index 9a44d6b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-lib-cfg.yang +++ /dev/null @@ -1,47 +0,0 @@ -module Cisco-IOS-XR-lpts-lib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg"; - - - prefix "lpts-lib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-lib package configuration. - - This module contains definitions - for the following management objects: - lpts: lpts configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lpts { - description "lpts configuration commands"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper-sub1.yang deleted file mode 100644 index 0b0c103..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper-sub1.yang +++ /dev/null @@ -1,172 +0,0 @@ -submodule Cisco-IOS-XR-lpts-pa-oper-sub1 { - - belongs-to Cisco-IOS-XR-lpts-pa-oper { - prefix Cisco-IOS-XR-lpts-pa-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR lpts-pa package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CLIENT-ENTRY { - description "Client Structure"; - leaf flags { - type uint32; - description "Client flags"; - } - leaf open-flags { - type uint32; - description "Open flags"; - } - leaf location { - type uint32; - description "Rack/slot/instance"; - } - leaf client-id { - type uint32; - description "Client ID"; - } - leaf times { - type yang:hex-string; - description "Transaction statisitics"; - } - } - - grouping TIMESPEC-ENTRY { - description "Creation or Update Time"; - leaf tv-sec { - type uint32; - description "Time Sec"; - } - leaf tv-nsec { - type uint32; - description "Time Nanosec"; - } - } - - grouping BINDING-ENTRY { - description "LPTS Binding Entry"; - - container ctime { - description "Creation Time"; - uses TIMESPEC-ENTRY; - } - - container utime { - description "Update Time"; - uses TIMESPEC-ENTRY; - } - leaf location { - type uint32; - description "Rack/slot/instance"; - } - leaf client-id { - type uint32; - description "Client ID"; - } - leaf vid { - type uint32; - description "VR/VRF ID"; - } - leaf cookie { - type uint32; - description "Cookie"; - } - leaf l3protocol { - type uint32; - description "Layer 3 protocol"; - } - leaf l4protocol { - type uint32; - description "Layer 4 protocol"; - } - leaf smask { - type uint32; - description "Filter operation"; - } - leaf ifs { - type uint32; - description "Ifhandle"; - } - leaf ptype { - type uint32; - description "Packet type"; - } - leaf local-ip { - type yang:hex-string; - description "Local address"; - } - leaf remote-ip { - type yang:hex-string; - description "Remote address"; - } - leaf local-len { - type uint8; - description "Local address length"; - } - leaf remote-len { - type uint8; - description "Remote address length"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf remote-port { - type uint16; - description "Remote port"; - } - leaf packet-misc { - type uint32; - description "L5 info"; - } - leaf scope { - type uint32; - description "Scope"; - } - leaf client-flags { - type uint32; - description "Client flags"; - } - leaf min-ttl { - type uint8; - description "Minimum TTL"; - } - leaf lazy-bindq-delay { - type uint32; - description " lazy binding queue delay"; - } - leaf ptq-delay { - type uint32; - description " pending transactions queue delay"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper.yang deleted file mode 100644 index 5882cd4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pa-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-lpts-pa-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper"; - - - prefix "lpts-pa-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-lpts-pa-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-pa package operational data. - - This module contains definitions - for the following management objects: - lpts-pa: lpts pre-ifib data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lpts-pa { - config false; - description "lpts pre-ifib data"; - - container entry-xr { - description "lpts pa bindings"; - - list entry { - key "entry"; - description "Data for single PA Binding"; - leaf entry { - type xr:Cisco-ios-xr-string; - description "Single Binding entry"; - } - uses BINDING-ENTRY; - } - } - - container entries { - description "lpts pa clients"; - - list entry { - key "entry"; - description "Data for single PA Client"; - leaf entry { - type xr:Cisco-ios-xr-string; - description "Single Client entry"; - } - uses CLIENT-ENTRY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang deleted file mode 100644 index a6120fb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang +++ /dev/null @@ -1,760 +0,0 @@ -module Cisco-IOS-XR-lpts-pre-ifib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg"; - - - prefix "lpts-pre-ifib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-config-mda-cfg { prefix "node"; } - - import Cisco-IOS-XR-lpts-lib-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-pre-ifib package configuration. - - This YANG module augments the - Cisco-IOS-XR-lpts-lib-cfg - Cisco-IOS-XR-config-mda-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Lpts-dynamic-flow-config { - type enumeration { - enum flows-config { - value 0; - description "LPTS Flows Limit"; - } - enum platform-config { - value 1; - description "Platform Limit"; - } - } - description "Lpts dynamic flow config"; - } - typedef Lpts-pre-i-fib-precedence-number { - type union { - type enumeration { - enum critical { - value 5; - description "Match packets with critical precedence"; - } - enum flash { - value 3; - description "Match packets with flash precedence"; - } - enum flash-override { - value 4; - description - "Match packets with flash override precedence"; - } - enum immediate { - value 2; - description "Match packets with immediate precedence"; - } - enum internet { - value 6; - description - "Match packets with internetwork control - precedence"; - } - enum network { - value 7; - description - "Match packets with network control precedence"; - } - enum priority { - value 1; - description "Match packets with priority precedence"; - } - enum routine { - value 0; - description "Match packets with routine precedence"; - } - } - type uint32 { - range "0..7"; - } - } - description "Lpts pre i fib precedence number"; - } - typedef Lpts-flow { - type enumeration { - enum config-default { - value 0; - description - "Invalid flow type used for fallback - configuration"; - } - enum l2tpv2-fragment { - value 1; - description "L2TPv2 Fragments"; - } - enum fragment { - value 2; - description "Fragments"; - } - enum ospf-multicast-known { - value 3; - description - "OSPF multicast packets on configured interfaces"; - } - enum ospf-multicast-default { - value 4; - description - "OSPF multicast packets on unconfigured (or - newly-configured) interfaces"; - } - enum ospf-unicast-known { - value 5; - description "OSPF unicast packets"; - } - enum ospf-unicast-default { - value 6; - description "OSPF unicast packets"; - } - enum isis-known { - value 7; - description "IS-IS packets on configured interfaces"; - } - enum isis-default { - value 8; - description - "IS-IS packets on unconfigured (or - newly-configured) interfaces"; - } - enum bfd-known { - value 9; - description "BFD packets on configured interfaces"; - } - enum bfd-default { - value 10; - description - "BFD packets on unconfigured (or - newly-configured) interfaces"; - } - enum bfd-multipath-known { - value 11; - description - "BFD multipath packets on configured interfaces"; - } - enum bfd-multipath0 { - value 12; - description - "BFD multipath packets on multiple configured - interfaces"; - } - enum bfd-blb-known { - value 13; - description - "BFD packets over Logical Bundle on configured - interfaces"; - } - enum bfd-blb0 { - value 14; - description "BFD packets over Logical Bundle 0"; - } - enum bfd-sp0 { - value 15; - description "BFD packets over Single Path 0"; - } - enum bgp-known { - value 16; - description "Packets from established BGP peering sessions"; - } - enum bgp-config-peer { - value 17; - description - "Packets from a configured BGP peer (SYNs or - newly-established sessions)"; - } - enum bgp-default { - value 18; - description - "Packets from unconfigured, newly-configured, or - wild-card BGP peer"; - } - enum pim-multicast-default { - value 19; - description - "PIM multicast packets on configured interfaces"; - } - enum pim-multicast-known { - value 20; - description - "PIM multicast packets on unconfigured (or - newly-configured) interfaces"; - } - enum pim-unicast { - value 21; - description "PIM unicast packets"; - } - enum igmp { - value 22; - description "IGMP packets"; - } - enum icmp-local { - value 23; - description "ICMP or ICMPv6 packets with local interest"; - } - enum icmp-app { - value 24; - description - "ICMP or ICMPv6 packets of interest to - applications"; - } - enum icmp-control { - value 25; - description - "ICMP or ICMPv6 packets that are used for - control/signalling purpose"; - } - enum icmp-default { - value 26; - description - "Other ICMP or ICMPv6 packets (may be of recent - interest to applications)"; - } - enum icmp-app-default { - value 27; - description - "ICMP or ICMPv6 echo reply packets (when - specific entry not present)"; - } - enum ldp-tcp-known { - value 28; - description - "Packets from an established LDP TCP peering - session"; - } - enum ldp-tcp-config-peer { - value 29; - description - "Packets from a configured LDP TCP peer (SYNs or - newly-established sessions)"; - } - enum ldp-tcp-default { - value 30; - description - "Packets from an unconfigured, newly-configured - or wild-card LDP TCP peer"; - } - enum ldp-udp { - value 31; - description "Unicast LDP UDP packets"; - } - enum all-routers { - value 32; - description - "Packets sent to the all-routers multicast - address (includes LDP UDP multicast)"; - } - enum lmp-tcp-known { - value 33; - description - "Packets from an established LMP TCP peering - session"; - } - enum lmp-tcp-config-peer { - value 34; - description - "Packets from a configured LMP TCP peer (SYNs or - newly-established sessions)"; - } - enum lmp-tcp-default { - value 35; - description - "Packets from an unconfigured, newly-configured - or wild-card LMP TCP peer"; - } - enum lmp-udp { - value 36; - description "Unicast LMP UDP packets"; - } - enum rsvp-udp { - value 37; - description "RSVP-over-UDP packets"; - } - enum rsvp-default { - value 38; - description "RSVP (IP protocol 46) packets"; - } - enum rsvp-known { - value 39; - description "RSVP (IP protocol 46) packets"; - } - enum ike { - value 40; - description "IKE packets"; - } - enum ipsec-known { - value 41; - description "AH or ESP packets with known SPIs"; - } - enum ipsec-default { - value 42; - description - "AH or ESP packets with unknown or - newly-configured SPIs"; - } - enum ipsec-fragment { - value 43; - description "AH or ESP fragmented packets"; - } - enum msdp-known { - value 44; - description "Packets from an established MSDP session"; - } - enum msdp-config-peer { - value 45; - description "Packets from a configured MSDP peer"; - } - enum msdp-default { - value 46; - description - "Packets from an uncofigured, newly-configured - or wild-card MSDP peer"; - } - enum snmp { - value 47; - description "SNMP packets"; - } - enum ssh-known { - value 48; - description "Packets from an established SSH session"; - } - enum ssh-default { - value 49; - description - "Packets from a new or newly-established SSH - session"; - } - enum http-known { - value 50; - description "Packets from an established HTTP session"; - } - enum http-default { - value 51; - description - "Packets from a new or newly-established HTTP - session"; - } - enum shttp-known { - value 52; - description "Packets from an established SHTTP session"; - } - enum shttp-default { - value 53; - description - "Packets from a new or newly-established SSHTP - session"; - } - enum telnet-known { - value 54; - description "Packets from an established TELNET session"; - } - enum telnet-default { - value 55; - description - "Packets from a new or newly-established TELNET - session"; - } - enum css-known { - value 56; - description "Packets from an established CSS session"; - } - enum css-default { - value 57; - description - "Packets from a new or newly-established CSS - session"; - } - enum rsh-known { - value 58; - description "Packets from an established rsh session"; - } - enum rsh-default { - value 59; - description - "Packets from a new or newly-established rsh - session"; - } - enum udp-known { - value 60; - description "Packets for established UDP sessions"; - } - enum udp-listen { - value 61; - description "Packets for configured UDP services"; - } - enum udp-config-peer { - value 62; - description - "Packets for configured UDP-based protocol - sessions"; - } - enum udp-default { - value 63; - description - "Packets for unconfigured or newly-configured - UDP services"; - } - enum tcp-known { - value 64; - description "Packets for established TCP sessions"; - } - enum tcp-listen { - value 65; - description "Packets for configured TCP services"; - } - enum tcp-config-peer { - value 66; - description "Packets for configured TCP peers"; - } - enum tcp-default { - value 67; - description - "Packets for unconfigured or newly-configured - TCP services"; - } - enum multicast-known { - value 68; - description "Packets for configured multicast groups"; - } - enum multicast-default { - value 69; - description - "Packets for unconfigured or newly-configured - multicast groups"; - } - enum raw-listen { - value 70; - description "Packets for configured IP protocols"; - } - enum raw-default { - value 71; - description - "Packets for unconfigured or newly-configured - IPv4 or IPv6 protocols"; - } - enum ipsla { - value 72; - description - "IP SLA packets destined to squid Q #4 for - timestamping by squid driver"; - } - enum eigrp { - value 73; - description "EIGRP packets."; - } - enum rip { - value 74; - description "RIP packets."; - } - enum l2tpv3 { - value 75; - description "L2TPv3 packets."; - } - enum pcep-tcp-default { - value 76; - description "PCEP packets."; - } - enum gre { - value 77; - description "GRE packets."; - } - enum vrrp { - value 78; - description "VRRP Packets."; - } - enum hsrp { - value 79; - description "HSRP Packets."; - } - enum mpls-ping { - value 80; - description - "MPLS ping packet coming or arriving from 3503 - port"; - } - enum l2tpv2-default { - value 81; - description "L2TPv2 default packets."; - } - enum l2tpv2-known { - value 82; - description "L2TPv2 known packets."; - } - enum dns { - value 83; - description "DNS packets."; - } - enum radius { - value 84; - description "RADIUS packets."; - } - enum tacacs { - value 85; - description "TACACS packets."; - } - enum ntp-default { - value 86; - description - "NTP packets received at 123 port number any - address."; - } - enum ntp-known { - value 87; - description - "NTP packets received at 123 port number known - address."; - } - enum mobile-ipv6 { - value 88; - description "Mobile IPV6 packets."; - } - enum amt { - value 89; - description "AMT packets received at UDP port number 2268."; - } - enum sdac-tcp { - value 90; - description "SDAC TCP packets."; - } - enum radius-coa { - value 91; - description "RADIUS Change of Authorization packets."; - } - enum rel-udp { - value 92; - description "REL UDP packets."; - } - enum dhcp4 { - value 93; - description "DHCP IPV4 packets."; - } - enum dhcp6 { - value 94; - description "DHCP IPV6 packets."; - } - enum onepk { - value 95; - description "ONEPK packets."; - } - enum exr { - value 96; - description "EXR packets."; - } - enum platform-limit { - value 97; - description "Platform Limit."; - } - } - description "Lpts flow"; - } - - grouping NODE-CFG { - description "active/preconfigured nodes configuration"; - - container lpts-local { - description "lpts node specific configuration commands"; - - container ipolicer-local-tables { - description - "Node specific Pre IFIB (Internal Forwarding - Information Base) Configuration"; - - list ipolicer-local-table { - key "id1"; - description - "Pre IFIB (Internal Forwarding Information - Base) configuration table"; - - container nps { - description "NP name"; - - list np { - key "id1"; - description "Table of NP names"; - leaf rate { - type int32; - units "packet/s"; - description "Packets per second"; - } - leaf id1 { - type int32; - description "none"; - } - } - } - leaf id1 { - type xr:Cisco-ios-xr-string; - description "none"; - } - } - } - - container dynamic-flows-tables { - description - "Node specific Pre IFIB (Internal Forwarding - Information Base) Configuration"; - - list dynamic-flows-table { - key "table-type"; - description "Table for Dynamic Flows"; - leaf table-type { - type Lpts-dynamic-flow-config; - description "LPTS Dynamic Flows Table Type"; - } - - list flow-type { - key "flow-type"; - description "Selected flow type"; - leaf max { - type int32; - description "Configured Max TCAM value"; - } - leaf flow-type { - type Lpts-flow; - description "LPTS Flow Type"; - } - } - } - } - - container ipolicer-local { - presence "Indicates a ipolicer-local node is configured."; - description - "Node specific Pre IFIB (Internal Forwarding - Information Base) Configuration"; - uses ENABLE; - uses FLOW-TABLE; - } - } - } - - grouping ENABLE { - description "Common node of ipolicer, ipolicer-local"; - leaf enable { - type empty; - mandatory true; - description "Enabled"; - } - } - - grouping FLOW-TABLE { - description "Common node of ipolicer, ipolicer-local"; - - container flows { - description "Table for Flows"; - - list flow { - key "flow-type"; - description "selected flow type"; - - container precedences { - description "TOS Precedence value(s)"; - leaf-list precedence { - type Lpts-pre-i-fib-precedence-number; - max-elements "8"; - description "Precedence values"; - } - } - leaf rate { - type int32; - description "Configured rate value"; - } - leaf flow-type { - type Lpts-flow; - description "LPTS Flow Type"; - } - } - } - } - - augment "/a1:lpts" { - - container ipolicer { - presence "Indicates a ipolicer node is configured."; - description "Pre IFiB Configuration "; - - container ipv4acls { - description "Table for ACLs"; - - list ipv4acl { - key "acl-name"; - description "ACL name"; - - container ipv4vrf-names { - description "VRF list"; - - list ipv4vrf-name { - key "vrf-name"; - description "VRF name"; - leaf acl-rate { - type uint32 { - range "0..100000"; - } - description "pre-ifib policer rate config commands"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - } - } - leaf acl-name { - type xr:Cisco-ios-xr-string; - description "ACL name"; - } - } - } - uses ENABLE; - uses FLOW-TABLE; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-lpts-lib-cfg'"; - } - - augment "/node:active-nodes/node:active-node" { - uses NODE-CFG; - description "This augment extends active nodes configuration"; - } - - augment "/node:preconfigured-nodes/node:preconfigured-node" { - uses NODE-CFG; - description - "This augment extends preconfigured nodes - configuration"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang deleted file mode 100644 index 48fe252..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang +++ /dev/null @@ -1,227 +0,0 @@ -submodule Cisco-IOS-XR-lpts-pre-ifib-oper-sub1 { - - belongs-to Cisco-IOS-XR-lpts-pre-ifib-oper { - prefix Cisco-IOS-XR-lpts-pre-ifib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR lpts-pre-ifib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-22" { - description - "Initial revision for pre-ifib oper yang."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DYNFLOWS-FLOW-ENTRY { - description "LPTS Pre-IFIB Dynamic Flows Entry Data"; - leaf flow-name { - type string; - description "Flow Name"; - } - leaf configurable { - type boolean; - description "Is Configurable"; - } - leaf configured { - type boolean; - description "Is Configured"; - } - leaf default-max { - type uint32; - description "Default Max"; - } - leaf configured-max { - type string; - description "Configured Max"; - } - leaf active-max { - type uint32; - description "Active Max"; - } - leaf hardware-count { - type uint32; - description "Hardware Count"; - } - leaf software-count { - type uint32; - description "Software Count"; - } - leaf pending-software-entries { - type boolean; - description "Pending Software Entries"; - } - } - - grouping PIFIB-DYNFLOWS-DATA { - description "LPTS Pre-IFIB Dynamic Flows Data"; - leaf dynamic-flows-enabled { - type boolean; - description "Dynamic Flows Enabled"; - } - leaf platform-supported-max { - type uint32; - description "Platform Max"; - } - leaf platform-configured-max { - type uint32; - description "Platform Config Limit"; - } - leaf platform-total-configured { - type uint32; - description "Platform Total Configured"; - } - leaf total-hw-entries { - type uint32; - description "Total HW Entries"; - } - leaf total-sw-entries { - type uint32; - description "Total SW Entries"; - } - - list flow { - description "Flow Datalist"; - uses DYNFLOWS-FLOW-ENTRY; - } - } - - grouping PIFIB-SHOW-ENTRY { - description "LPTS Pre-IFIB Entry Information"; - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf vid { - type uint32; - description "VRF ID"; - } - leaf l3protocol { - type uint32; - description "Layer 3 Protocol"; - } - leaf l4protocol { - type uint32; - description "Layer 4 Protocol"; - } - leaf intf-name { - type string; - description "Interface Name"; - } - leaf intf-handle { - type uint32; - description "Interface Handle"; - } - leaf destination-addr { - type string; - description "Destination IP Address"; - } - leaf source-addr { - type string; - description "Source IP Address"; - } - leaf destination-type { - type string; - description "Destination Key Type"; - } - leaf destination-value { - type string; - description "Destination Port/ICMP Type/IGMP Type"; - } - leaf source-port { - type string; - description "Source port"; - } - leaf is-frag { - type uint8; - description "Is Fragment"; - } - leaf is-syn { - type uint8; - description "Is SYN"; - } - leaf opcode { - type string; - description "Opcode"; - } - leaf flow-type { - type string; - description "Flow type"; - } - leaf listener-tag { - type string; - description "Listener Tag"; - } - leaf local-flag { - type uint8; - description "Local Flag"; - } - leaf is-fgid { - type uint8; - description "Is FGID or not"; - } - leaf deliver-list-short { - type string; - description "Deliver List Short Format"; - } - leaf deliver-list-long { - type string; - description "Deliver List Long Format"; - } - leaf min-ttl { - type uint8; - description "Minimum TTL"; - } - leaf accepts { - type uint64; - description "Packets matched to accept"; - } - leaf drops { - type uint64; - description "Packets matched for drop"; - } - leaf stale { - type uint8; - description "Is Stale"; - } - leaf pifib-type { - type uint8; - description "sub Pre-IFIB type"; - } - leaf pifib-program-time { - type string; - description "Creation or Update Time"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper.yang deleted file mode 100644 index 6db0024..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-pre-ifib-oper.yang +++ /dev/null @@ -1,151 +0,0 @@ -module Cisco-IOS-XR-lpts-pre-ifib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-lpts-pre-ifib-oper"; - - - prefix "lpts-pre-ifib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-lpts-pre-ifib-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-pre-ifib package operational data. - - This module contains definitions - for the following management objects: - lpts-pifib: lpts pre-ifib data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-02-22" { - description - "Initial revision for pre-ifib oper yang."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Lpts-pifib { - type enumeration { - enum isis { - value 0; - description "ISIS packets"; - } - enum ipv4-frag { - value 1; - description "IPv4 fragmented packets"; - } - enum ipv4-echo { - value 2; - description "IPv4 ICMP Echo packets"; - } - enum ipv4-any { - value 3; - description "All IPv4 packets"; - } - enum ipv6-frag { - value 4; - description "IPv6 fragmented packets"; - } - enum ipv6-echo { - value 5; - description "IPv6 ICMP Echo packets"; - } - enum ipv6-nd { - value 6; - description "IPv6 ND packets"; - } - enum ipv6-any { - value 7; - description "All IPv6 packets"; - } - enum bfd-any { - value 8; - description "BFD packets"; - } - enum all { - value 9; - description "All packets"; - } - } - description "Lpts pifib"; - } - - container lpts-pifib { - config false; - description "lpts pre-ifib data"; - - container nodes { - description "List of Pre-ifib Nodes"; - - list node { - key "node-name"; - description "Pre-ifib data for particular node"; - - container type-values { - description "Type specific"; - - list type-value { - key "pifib-type"; - description "pifib types"; - leaf pifib-type { - type Lpts-pifib; - description "Type value"; - } - - list entry { - key "entry"; - description "Data for single pre-ifib entry"; - leaf entry { - type xr:Cisco-ios-xr-string; - description "Single Pre-ifib entry"; - } - uses PIFIB-SHOW-ENTRY; - } - } - } - - container dynamic-flows-stats { - description "Dynamic Flows Statistics"; - uses PIFIB-DYNFLOWS-DATA; - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang deleted file mode 100644 index b0164ad..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang +++ /dev/null @@ -1,252 +0,0 @@ -module Cisco-IOS-XR-lpts-punt-flowtrap-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-lpts-punt-flowtrap-cfg"; - - - prefix "lpts-punt-flowtrap-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-lpts-lib-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR lpts-punt-flowtrap package configuration. - - This YANG module augments the - Cisco-IOS-XR-lpts-lib-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Lpts-punt-flowtrap-proto-id { - type enumeration { - enum arp { - value 1; - description "ARP"; - } - enum icmp { - value 2; - description "Internet Control Message Protocol"; - } - enum dhcp { - value 3; - description "Dynamic Host Configuration Protocol"; - } - enum pppoe { - value 4; - description "PPP over Ethernet"; - } - enum ppp { - value 5; - description "Point to point Protocol"; - } - enum igmp { - value 6; - description "Internet Gateway Message Protocol"; - } - enum ipv4 { - value 7; - description "IPv4"; - } - enum l2tp { - value 8; - description "Layer2 Tunneling Protocol"; - } - enum unclassified { - value 9; - description "Unclassified Source"; - } - enum ospf { - value 10; - description "OSPF"; - } - enum bgp { - value 11; - description "BGP"; - } - enum default { - value 12; - description "All protocols"; - } - } - description "Lpts punt flowtrap proto id"; - } - - augment "/a1:lpts" { - - container punt { - description "Configure penalty timeout value"; - - container flowtrap { - description - "excessive punt flow trap configuration commands"; - - container penalty-rates { - description "Configure penalty policing rate"; - - list penalty-rate { - key "protocol-name"; - description "none"; - leaf protocol-name { - type Lpts-punt-flowtrap-proto-id; - description "none"; - } - leaf rate { - type uint32 { - range "2..100"; - } - mandatory true; - description - "Penalty policer rate in packets-per-second"; - } - } - } - - container penalty-timeouts { - description "Configure penalty timeout value"; - - list penalty-timeout { - key "protocol-name"; - description "none"; - leaf protocol-name { - type Lpts-punt-flowtrap-proto-id; - description "none"; - } - leaf timeout { - type uint32 { - range "1..1000"; - } - mandatory true; - description "Timeout value in minutes"; - } - } - } - - container exclude { - description "Exclude an item from all traps"; - - container interface-names { - description "none"; - - list interface-name { - key "ifname"; - description - "Name of interface to exclude from all traps"; - leaf ifname { - type xr:Interface-name; - description - "Name of interface to exclude from all traps"; - } - leaf id1 { - type boolean; - mandatory true; - description "Enabled or disabled"; - } - } - } - } - leaf max-flow-gap { - type uint32 { - range "1..60000"; - } - description "Maximum flow gap in milliseconds"; - } - leaf et-size { - type uint32 { - range "1..128"; - } - description - "Should be power of 2. Any one of 1,2,4,8,16,32 - ,64,128"; - } - leaf eviction-threshold { - type uint32 { - range "1..65535"; - } - description - "Eviction threshold, should be less than - report-threshold"; - } - leaf report-threshold { - type xr:Cisco-ios-xr-port-number; - description - "Threshold to cross for a flow to be considered - as bad actor flow"; - } - leaf non-subscriber-interfaces { - type int32; - description - "Enable trap based on source mac on - non-subscriber interface"; - } - leaf sample-prob { - type string { - length "1..32"; - } - description "Probability of packets to be sampled"; - } - leaf eviction-search-limit { - type uint32 { - range "1..128"; - } - description - "Eviction search limit, should be less than - trap-size"; - } - leaf routing-protocols-enable { - type boolean; - description - "Allow routing protocols to pass through copp - sampler"; - } - leaf subscriber-interfaces { - type boolean; - description "Enable the trap on subscriber interfaces"; - } - leaf interface-based-flow { - type boolean; - description - "Identify flow based on interface and flowtype"; - } - leaf dampening { - type uint32 { - range "5000..60000"; - } - description - "Dampening period for a bad actor flow in - milliseconds"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-lpts-lib-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang deleted file mode 100644 index b1b6254..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang +++ /dev/null @@ -1,145 +0,0 @@ -submodule Cisco-IOS-XR-macsec-ctrlr-oper-sub1 { - - belongs-to Cisco-IOS-XR-macsec-ctrlr-oper { - prefix Cisco-IOS-XR-macsec-ctrlr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR macsec-ctrlr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Macsec-ctrlr-ciphersuit { - type enumeration { - enum gcm-aes-256 { - value 0; - description "GCM AES 256"; - } - enum gcm-aes-128 { - value 1; - description "GCM AES 128"; - } - enum gcm-aes-xpn-256 { - value 2; - description "GCM AES XPN 256"; - } - } - description "Macsec ctrlr ciphersuit"; - } - typedef Macsec-ctrlr-state { - type enumeration { - enum macsec-ctrlr-state-up { - value 0; - description "Up"; - } - enum macsec-ctrlr-state-down { - value 1; - description "Down"; - } - enum macsec-ctrlr-state-admin-down { - value 2; - description "Administratively Down"; - } - } - description "Macsec ctrlr state"; - } - - grouping MACSEC-CTRLR-AN-STATUS { - description "AN status"; - leaf association-number { - type uint8; - description "Association Number"; - } - leaf short-secure-channel-id { - type uint32; - description "Short secure channel id"; - } - } - - grouping MACSEC-CTRLR-SC-STATUS { - description "Secure Channel status"; - leaf protection-enabled { - type boolean; - description "Protection Enabled"; - } - leaf secure-channel-id { - type string; - description "Secure Channel Id"; - } - leaf confidentiality-offset { - type uint32; - description "Confidentiality offset"; - } - leaf cipher-suite { - type Macsec-ctrlr-ciphersuit; - description "Cipher Suite"; - } - leaf max-packet-number { - type uint64; - description "Max packet Number"; - } - leaf recent-packet-number { - type uint64; - description "Recent Packet Number"; - } - - list active-association { - description "Active Associations"; - uses MACSEC-CTRLR-AN-STATUS; - } - } - - grouping MACSEC-CTRLR-IF-STATUS { - description "Interface Status details"; - - container encrypt-sc-status { - description "Encrypt Secure Channel Status"; - uses MACSEC-CTRLR-SC-STATUS; - } - - container decrypt-sc-status { - description "Decrypt Secure Channel Status"; - uses MACSEC-CTRLR-SC-STATUS; - } - leaf state { - type Macsec-ctrlr-state; - description "State"; - } - leaf replay-window-size { - type uint32; - description "Replay Window Size"; - } - leaf must-secure { - type boolean; - description "Must Secure"; - } - leaf secure-mode { - type uint32; - description "Secure Mode"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper.yang deleted file mode 100644 index 3b8960e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-macsec-ctrlr-oper.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-macsec-ctrlr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-macsec-ctrlr-oper"; - - - prefix "macsec-ctrlr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-macsec-ctrlr-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR macsec-ctrlr package operational data. - - This module contains definitions - for the following management objects: - macsec-ctrlr-oper: Macsec controller data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container macsec-ctrlr-oper { - config false; - description "Macsec controller data"; - - container macsec-ctrlr-ports { - description "All Macsec Controller Port operational data"; - - list macsec-ctrlr-port { - key "name"; - description "Controller name"; - - container macsec-ctrlr-info { - description "Macsec Controller operational data"; - uses MACSEC-CTRLR-IF-STATUS; - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-cfg.yang deleted file mode 100644 index d7a5a2d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-cfg.yang +++ /dev/null @@ -1,97 +0,0 @@ -module Cisco-IOS-XR-man-ems-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg"; - - - prefix "man-ems-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR man-ems package configuration. - - This module contains definitions - for the following management objects: - grpc: GRPC configruation - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container grpc { - description "GRPC configruation"; - - container service-layer { - description "Service Layer"; - leaf enable { - type empty; - description "Enable ServiceLayer"; - } - } - - container tls { - description "Transport Layer Security (TLS)"; - leaf trustpoint { - type string; - description "Trustpoint Name"; - } - leaf enable { - type empty; - description "Enable TLS"; - } - } - leaf port { - type uint32 { - range "10000..57999"; - } - description "Server listening port"; - } - leaf vrf { - type string; - description "Server vrf name"; - } - leaf enable { - type empty; - description "Enable GRPC"; - } - leaf max-request-per-user { - type uint32 { - range "1..32"; - } - description "Maximum concurrent requests per user"; - } - leaf address-family { - type string; - description "Address family identifier type"; - } - leaf max-request-total { - type uint32 { - range "1..256"; - } - description "Maximum concurrent requests in total"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper-sub1.yang deleted file mode 100644 index ce0088e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper-sub1.yang +++ /dev/null @@ -1,160 +0,0 @@ -submodule Cisco-IOS-XR-man-ems-oper-sub1 { - - belongs-to Cisco-IOS-XR-man-ems-oper { - prefix Cisco-IOS-XR-man-ems-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR man-ems package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping GRPC-STATUS-INFO-B { - description "gRPC status Info bag"; - leaf transport { - type string; - description "GRPCTransport"; - } - leaf address-family { - type string; - description "AddressFamily"; - } - leaf tls { - type string; - description "GRPCTLS"; - } - leaf trustpoint { - type string; - description "GRPCTrustpoint"; - } - leaf listening-port { - type int32; - description "ListeningPort"; - } - leaf vrf-socket-ns-path { - type string; - description "VrfSocketNamespacePath"; - } - leaf max-req-per-user { - type uint32; - description "MaxReqPerUser"; - } - leaf max-req-total { - type uint32; - description "MaxReqTotal"; - } - } - - grouping GRPC-STATISTICS-INFO-B { - description "gRPC statistics Info bag"; - leaf ct-show-cmd-txt-req-recv { - type uint64; - description "CounterShowCmdTxtReqRecv"; - } - leaf ct-show-cmd-txt-res-sent { - type uint64; - description "CounterShowCmdTxtResSent"; - } - leaf ct-get-config-req-recv { - type uint64; - description "CounterGetConfigReqRecv"; - } - leaf ct-get-config-res-sent { - type uint64; - description "CounterGetConfigResSent"; - } - leaf ct-cli-config-req-recv { - type uint64; - description "CounterCliConfigReqRecv"; - } - leaf ct-cli-config-res-sent { - type uint64; - description "CounterCliConfigResSent"; - } - leaf ct-merge-config-req-recv { - type uint64; - description "CounterMergeConfigReq"; - } - leaf ct-merge-config-res-sent { - type uint64; - description "CounterMergeConfigRes"; - } - leaf ct-commit-replace-req-recv { - type uint64; - description "CounterCommitReplaceReq"; - } - leaf ct-commit-replace-res-sent { - type uint64; - description "CounterCommitReplaceRes"; - } - leaf ct-delete-config-req-recv { - type uint64; - description "CounterDeleteConfigReq"; - } - leaf ct-delete-config-res-sent { - type uint64; - description "CounterDeleteConfigRes"; - } - leaf ct-replace-config-req-recv { - type uint64; - description "CounterReplaceConfigReq"; - } - leaf ct-replace-config-res-sent { - type uint64; - description "CounterReplaceConfigSent"; - } - leaf ct-get-oper-req-recv { - type uint64; - description "CounterGetOperReqRecv"; - } - leaf ct-get-oper-res-sent { - type uint64; - description "CounterGetOperResSent"; - } - leaf ct-get-current-session { - type uint32; - description "CounterGetCurrentSession"; - } - leaf ct-commit-config-req-recv { - type uint64; - description "CounterForHowManyCommitConfigRequests"; - } - leaf ct-commit-config-res-sent { - type uint64; - description "CounterForHowManyCommitConfigResponses"; - } - leaf ct-action-json-req-recv { - type uint64; - description "CounterForHowManyActionJsonRequests"; - } - leaf ct-action-json-res-sent { - type uint64; - description "CounterForHowManyActionJsonResponses"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper.yang deleted file mode 100644 index 9307e68..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-ems-oper.yang +++ /dev/null @@ -1,62 +0,0 @@ -module Cisco-IOS-XR-man-ems-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper"; - - - prefix "man-ems-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-man-ems-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR man-ems package operational data. - - This module contains definitions - for the following management objects: - grpc: grpc commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container grpc { - config false; - description "grpc commands"; - - container statistics { - description "Grpc Statistics"; - uses GRPC-STATISTICS-INFO-B; - } - - container status { - description "Grpc Status"; - uses GRPC-STATUS-INFO-B; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-netconf-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-netconf-cfg.yang deleted file mode 100644 index 2c4e78c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-netconf-cfg.yang +++ /dev/null @@ -1,99 +0,0 @@ -module Cisco-IOS-XR-man-netconf-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg"; - - - prefix "man-netconf-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR man-netconf package configuration. - - This module contains definitions - for the following management objects: - netconf-yang: NETCONF YANG configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-03-15" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container netconf-yang { - description "NETCONF YANG configuration commands"; - - container agent { - description "NETCONF YANG agent configuration commands"; - - container ssh { - description "NETCONF YANG agent over SSH connection"; - leaf enable { - type empty; - description - "Enable NETCONF YANG agent over SSH connection"; - } - } - - container session { - description "Session settings"; - leaf limit { - type uint32 { - range "1..50"; - } - default "50"; - description - "Count of allowable concurrent netconf-yang - sessions"; - } - leaf absolute-timeout { - type uint32 { - range "1..1440"; - } - units "minute"; - description "Absolute timeout in minutes"; - } - leaf idle-timeout { - type uint32 { - range "1..1440"; - } - units "minute"; - description "Non-active session lifetime"; - } - } - leaf rate-limit { - type uint32 { - range "4096..4294967295"; - } - units "byte"; - description "Number of bytes to process per sec"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang deleted file mode 100644 index 97c8d29..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang +++ /dev/null @@ -1,271 +0,0 @@ -module Cisco-IOS-XR-man-xml-ttyagent-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-man-xml-ttyagent-cfg"; - - - prefix "man-xml-ttyagent-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR man-xml-ttyagent package configuration. - - This module contains definitions - for the following management objects: - xr-xml: XML - netconf: netconf - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SESSION { - description "Common node of default, ssl, tty"; - - container session { - description "Session attributes"; - leaf timeout { - type uint32 { - range "1..1440"; - } - units "minute"; - description "Timeout in minutes"; - } - } - } - - grouping VRF-TABLE { - description "Common node of default, ssl"; - - container vrfs { - description "List of VRFs"; - - list vrf { - key "vrf-name"; - description "A specific VRF"; - leaf ipv6-access-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "IPv6 Transport Access list for VRF"; - } - leaf ipv4-access-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "IPv4 Transport Access list for VRF"; - } - leaf access-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Access list for XML agent"; - } - leaf shutdown { - type empty; - description - "Shutdown default VRF. This is applicable only - for VRF default."; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - } - } - - grouping ITERATION-SIZE { - description "Common node of default, ssl, tty"; - leaf iteration-size { - type uint32 { - range "0..100000"; - } - units "kilobyte"; - default "48"; - description - "Iterator size, in KBytes, of the XML response. - Specify 0 to turn off the XML response iterator."; - } - } - - grouping STREAMING-SIZE { - description "Common node of default, ssl, tty"; - leaf streaming-size { - type uint32 { - range "1..100000"; - } - units "kilobyte"; - description "Streaming size, in KBytes, of the XML response."; - } - } - - grouping THROTTLE { - description "Common node of default, ssl, tty"; - - container throttle { - description "XML agent throttling"; - leaf process-rate { - type uint32 { - range "1000..30000"; - } - description "Process rate in number of XML tags per second"; - } - leaf memory { - type uint32 { - range "100..600"; - } - units "megabyte"; - default "300"; - description "Size of memory usage, in MBytes, per session."; - } - } - } - - grouping ENABLE { - description "Common node of default, ssl, tty"; - leaf enable { - type empty; - description "Enable specified XML agent"; - } - } - - container xr-xml { - description "XML"; - - container agent { - description "XML agent"; - - container default { - description "XML default dedicated agent"; - leaf ipv6-enable { - type boolean; - description "IPv6 Transport State"; - } - leaf ipv4-disable { - type boolean; - description "TRUE to disable IPV4"; - } - uses SESSION; - uses ITERATION-SIZE; - uses THROTTLE; - uses ENABLE; - uses STREAMING-SIZE; - uses VRF-TABLE; - } - - container tty { - description "XML TTY agent"; - uses SESSION; - uses ITERATION-SIZE; - uses THROTTLE; - uses ENABLE; - uses STREAMING-SIZE; - } - - container ssl { - description "XML SSL agent"; - uses SESSION; - uses ITERATION-SIZE; - uses THROTTLE; - uses ENABLE; - uses STREAMING-SIZE; - uses VRF-TABLE; - } - } - } - - container netconf { - description "netconf"; - - container agent { - description "XML agent"; - - container tty { - description "NETCONF agent over TTY"; - - container throttle { - description "NETCONF agent throttling"; - leaf memory { - type uint32 { - range "100..600"; - } - units "megabyte"; - default "300"; - description - "Size of memory usage, in MBytes, per session."; - } - leaf offload-memory { - type uint32 { - range "0..12000"; - } - units "megabyte"; - default "0"; - description - "Size of memory usage, in MBytes, per session."; - } - leaf process-rate { - type uint32 { - range "1000..30000"; - } - description - "Process rate in number of XML tags per second"; - } - } - - container session { - description "Session attributes"; - leaf timeout { - type uint32 { - range "1..1440"; - } - units "minute"; - description "Timeout in minutes"; - } - } - leaf enable { - type empty; - description "Enable specified NETCONF agent"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang deleted file mode 100644 index eb80cb6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang +++ /dev/null @@ -1,126 +0,0 @@ -submodule Cisco-IOS-XR-man-xml-ttyagent-oper-sub1 { - - belongs-to Cisco-IOS-XR-man-xml-ttyagent-oper { - prefix Cisco-IOS-XR-man-xml-ttyagent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR man-xml-ttyagent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Xr-xml-session-alarm-register { - type enumeration { - enum registered { - value 1; - description "Registered"; - } - enum not-registered { - value 2; - description "NotRegistered"; - } - } - description "AlarmNotify"; - } - typedef Xr-xml-session-state { - type enumeration { - enum idle { - value 1; - description "Idle"; - } - enum busy { - value 2; - description "Busy"; - } - } - description "SessionState"; - } - - grouping XR-XML-SESSION-INFO { - description "XML SESSION INFO"; - leaf username { - type string; - description "Username"; - } - leaf state { - type Xr-xml-session-state; - description "state of the session idle/busy"; - } - leaf client-address { - type string; - description "ip address of the client"; - } - leaf client-port { - type uint32; - description "client's port"; - } - leaf config-session-id { - type string; - description "Config session ID"; - } - leaf admin-config-session-id { - type string; - description "Admin config session ID"; - } - leaf alarm-notification { - type Xr-xml-session-alarm-register; - description - "is the session registered for alarm - notifications"; - } - leaf vrf-name { - type string; - description "VRF name "; - } - leaf start-time { - type uint32; - units "second"; - description - "session start time in seconds since the Unix - Epoch"; - } - leaf elapsed-time { - type uint32; - units "second"; - description - " Elapsed time(seconds) since a session is - created"; - } - leaf last-state-change { - type uint32; - units "second"; - description - "Time(seconds) since last session state change - happened "; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper.yang deleted file mode 100644 index 1cdce79..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-man-xml-ttyagent-oper.yang +++ /dev/null @@ -1,123 +0,0 @@ -module Cisco-IOS-XR-man-xml-ttyagent-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-man-xml-ttyagent-oper"; - - - prefix "man-xml-ttyagent-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-man-xml-ttyagent-oper-sub1 { - revision-date 2015-07-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR man-xml-ttyagent package operational data. - - This module contains definitions - for the following management objects: - netconf: NETCONF operational information - xr-xml: xr xml - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SESSION-TABLE { - description "Common node of default, tty, ssl"; - - container sessions { - description "sessions information"; - - list session { - key "session-id"; - description "xml sessions information"; - leaf session-id { - type int32; - description "Session Id"; - } - uses XR-XML-SESSION-INFO; - } - } - } - - container netconf { - config false; - description "NETCONF operational information"; - - container agent { - description "NETCONF agent operational information"; - - container tty { - description "NETCONF agent over TTY"; - - container sessions { - description "Session information"; - - list session { - key "session-id"; - description "Session information"; - leaf session-id { - type int32; - description "Session ID"; - } - uses XR-XML-SESSION-INFO; - } - } - } - } - } - - container xr-xml { - config false; - description "xr xml"; - - container agent { - description "XML agents"; - - container tty { - description "TTY sessions information"; - uses SESSION-TABLE; - } - - container default { - description "Default sessions information"; - uses SESSION-TABLE; - } - - container ssl { - description "SSL sessions information"; - uses SESSION-TABLE; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-cfg.yang deleted file mode 100644 index d076cd4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-cfg.yang +++ /dev/null @@ -1,265 +0,0 @@ -module Cisco-IOS-XR-manageability-object-tracking-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-object-tracking-cfg"; - - - prefix "manageability-object-tracking-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-manageability-object-tracking-datatypes { - prefix "dt1"; - } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR manageability-object-tracking package configuration. - - This module contains definitions - for the following management objects: - object-trackings: Object Tracking configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping OBJECT { - description - "Common node of threshold-weight-object, - threshold-percentage-object"; - - list object { - key "object"; - description "Track name object"; - leaf object-weight { - type int32; - default "1"; - description "Weight of object"; - } - leaf object { - type dt1:Object-tracking-name-string; - description "Object name"; - } - } - } - - grouping THRESHOLD-LIMITS { - description - "Common node of threshold-weight, - threshold-percentage"; - - container threshold-limits { - description "Threshold Limits"; - - container threshold-up-values { - description - "Threshold limit at which track is set to UP - state"; - - list threshold-up-value { - key "up"; - description - "Threshold limit at which track is set to UP - state"; - leaf threshold-down { - type int32; - default "0"; - description - "Threshold limit at which track is set to Down - state"; - } - leaf up { - type int32; - description "Up value"; - } - } - } - } - } - - container object-trackings { - description "Object Tracking configuration"; - - list object-tracking { - key "track-name"; - description "Track name - maximum 32 characters"; - - container type-interface { - description "Track type line-protocol"; - leaf interface { - type xr:Interface-name; - description "The name of the interface"; - } - } - - container type-list { - description "Track type boolean list"; - - container threshold-weight { - description "Track type threshold weight"; - uses THRESHOLD-LIMITS; - } - - container threshold-percentage-object { - description "Track type threshold percentage"; - uses OBJECT; - } - - container threshold-percentage { - description "Track type threshold percentage"; - uses THRESHOLD-LIMITS; - } - - container threshold-weight-object { - description "Track type threshold weight"; - uses OBJECT; - } - } - - container type-route { - description "Track type route ipv4"; - - container ip-address { - presence "enable ip-address"; - description "set track IPv4 address"; - leaf address { - type inet:ipv4-address-no-zone; - description "IP address"; - } - leaf mask { - type inet:ipv4-address-no-zone; - description "Mask"; - } - } - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF tag - use 'default' for the DEFAULT vrf"; - } - } - - container type-boolean-list { - description "Track type boolean list"; - - container or-objects { - description "Track type boolean or list"; - - list or-object { - key "object"; - description "Track name - maximum 32 characters"; - leaf object-sign { - type dt1:Object-tracking-boolean-sign; - description - "Tracked Object sign (with or without not)"; - } - leaf object { - type dt1:Object-tracking-name-string; - description "Object name"; - } - } - } - - container and-objects { - description "Track type boolean and list"; - - list and-object { - key "object-name"; - description "Track name - maximum 32 characters"; - leaf object-sign { - type dt1:Object-tracking-boolean-sign; - description - "Tracked Object sign (with or without not)"; - } - leaf object-name { - type dt1:Object-tracking-name-string; - description "Object name"; - } - } - } - } - leaf delay-up { - type dt1:Object-tracking-delay; - units "second"; - description "Delay up in seconds"; - } - leaf enable { - type empty; - description "Enable the Track"; - } - leaf delay-down { - type dt1:Object-tracking-delay; - units "second"; - description "Track delay down time"; - } - leaf type-interface-enable { - type empty; - description "Enable track type Interface"; - } - leaf type-route-enable { - type empty; - description "Enable track type Route"; - } - leaf type-boolean-list-and-enable { - type empty; - description "Enable track type boolean list and"; - } - leaf type-boolean-list-or-enable { - type empty; - description "Enable track type boolean list or"; - } - leaf track-name { - type dt1:Object-tracking-name-string; - description "Track name"; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf track-name { - type dt1:Object-tracking-name-string; - description "Track Name"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang deleted file mode 100644 index 3b5aa88..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-manageability-object-tracking-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-object-tracking-datatypes"; - - - prefix "manageability-object-tracking-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Object-tracking-boolean-sign { - type enumeration { - enum without-not { - value 0; - description "Object without not"; - } - enum with-not { - value 1; - description "Object with not"; - } - } - description "Object tracking boolean sign"; - } - typedef Object-tracking-name-string { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Object tracking name string"; - } - typedef Object-tracking-delay { - type uint32 { - range "1..10"; - } - description "Object tracking delay"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang deleted file mode 100644 index 1ac421c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang +++ /dev/null @@ -1,367 +0,0 @@ -submodule Cisco-IOS-XR-manageability-object-tracking-oper-sub1 { - - belongs-to Cisco-IOS-XR-manageability-object-tracking-oper { - prefix Cisco-IOS-XR-manageability-object-tracking-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR manageability-object-tracking package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Track { - type enumeration { - enum interface-type { - value 1; - description "Line protocol type"; - } - enum route-type { - value 2; - description "Route type"; - } - enum bool-and-type { - value 3; - description "Boolean and type"; - } - enum bool-or-type { - value 4; - description "Boolean or type"; - } - enum ipsla-type { - value 5; - description "Ipsla track type"; - } - enum undefined-type { - value 6; - description "type undefined"; - } - enum threshold-weight { - value 7; - description "type threshold weight"; - } - enum threshold-percentage { - value 8; - description "type threshold percentage"; - } - enum bfd-type { - value 9; - description "type bfd rtr"; - } - } - description "Track"; - } - - grouping TRACK-INFO-BRIEF { - description "TRACK INFO BRIEF"; - - list track-info-brief { - description "track info brief"; - - container track-type-info { - description "Track type information"; - uses TRACK-TYPE-INFO-UNION; - } - leaf tracke-name { - type string { - length "0..33"; - } - description "Track Name"; - } - leaf type { - type Track; - description "Track type"; - } - leaf track-state { - type boolean; - description "Track state"; - } - } - } - - grouping DELAYED-STATE-STATUS { - description "DELAYED STATE STATUS"; - leaf time-remaining { - type uint32; - units "second"; - description - "The time remaining in seconds for the counter to - trigger state change"; - } - leaf track-state { - type boolean; - description - "State the track will transition to. Track state. - True means track is up; False means track is - down."; - } - } - - grouping INTERFACE-TRACKING-INFO { - description "INTERFACE TRACKING INFO"; - - list interface-tracking-info { - description "interface tracking info"; - leaf interface-name { - type string { - length "0..120"; - } - description "Interface Name"; - } - } - } - - grouping THRESHOLD-TRACK-INFO { - description "THRESHOLD TRACK INFO"; - - list threshold-track-info { - description "threshold track info"; - leaf object-name { - type string { - length "0..33"; - } - description "Object name"; - } - leaf track-state { - type boolean; - description - "Track state. True means track is up; False - means track is down."; - } - leaf weight { - type uint32; - units "percentage"; - description - "Weight is the number assigned to a track object - . In case of a type threshold weight( i.e. - weighted sum list), weight is asigned by User - at the time of configuration. In case of a type - threshold percentage (i.e. percentage based - list), weight is internally computed by - (1/N)x100, where N is the number of objects in - the list."; - } - } - } - - grouping BOOL-TRACK-INFO { - description "BOOL TRACK INFO"; - - list bool-track-info { - description "bool track info"; - leaf object-name { - type string { - length "0..33"; - } - description "Object Name"; - } - leaf track-state { - type boolean; - description "Track state"; - } - leaf with-not { - type boolean; - description "Track object with Not"; - } - } - } - - grouping BFDRTR-TRACK-INFO { - description "BFDRTR TRACK INFO"; - leaf interface-name { - type string { - length "0..120"; - } - description "Interface Name"; - } - leaf destination-address { - type uint32; - description "Destination Address"; - } - leaf rate { - type uint32; - description "Rate"; - } - leaf debounce-count { - type uint32; - description "Debounce Count"; - } - } - - grouping RTR-TRACK-INFO { - description "RTR TRACK INFO"; - leaf ipsla-op-id { - type uint32; - description "Op Id"; - } - leaf rtt { - type uint32; - description "Latest RTT"; - } - leaf return-code { - type uint32; - description "Latest Return Code"; - } - } - - grouping ROUTE-TRACK-INFO { - description "ROUTE TRACK INFO"; - leaf prefix { - type uint32; - description "Prefix"; - } - leaf prefix-length { - type uint32; - description "Prefix Length"; - } - leaf vrf { - type string { - length "0..120"; - } - description "VRF Name"; - } - leaf next-hop { - type string { - length "0..120"; - } - description "Next Hop"; - } - } - - grouping INTF-TRACK-INFO { - description "INTF TRACK INFO"; - leaf interface-name { - type string { - length "0..120"; - } - description "Interface Name"; - } - } - - grouping TRACK-TYPE-INFO-UNION { - description "TRACK TYPE INFO UNION"; - - container interface-tracks { - when "../discriminant = 'interface-type'" { - description "../discriminant = 'InterfaceType'"; - } - description "track type interface info"; - uses INTF-TRACK-INFO; - } - - container route-tracks { - when "../discriminant = 'route-type'" { - description "../discriminant = 'RouteType'"; - } - description "track type route info"; - uses ROUTE-TRACK-INFO; - } - - container ipsla-tracks { - when "../discriminant = 'ipsla-type'" { - description "../discriminant = 'IpslaType'"; - } - description "track type rtr info"; - uses RTR-TRACK-INFO; - } - - container bfd-tracks { - when "../discriminant = 'bfd-type'" { - description "../discriminant = 'BfdType'"; - } - description "track type bfdrtr info"; - uses BFDRTR-TRACK-INFO; - } - leaf discriminant { - type Track; - description "discriminant"; - } - } - - grouping TRACK-INFO { - description "TRACK INFO"; - - list track-info { - description "track info"; - - container track-type-info { - description "Track type information"; - uses TRACK-TYPE-INFO-UNION; - } - - container bool-tracks { - description "boolean objects"; - uses BOOL-TRACK-INFO; - } - - container threshold-tracks { - description "Threshold objects"; - uses THRESHOLD-TRACK-INFO; - } - - container tracking-interaces { - description "Tracking Interfaces"; - uses INTERFACE-TRACKING-INFO; - } - - container delayed { - description "Is the state change delay counter in progress"; - uses DELAYED-STATE-STATUS; - } - leaf tracke-name { - type string { - length "0..33"; - } - description "Track Name"; - } - leaf type { - type Track; - description "Track type"; - } - leaf track-state { - type boolean; - description "Track state"; - } - leaf state-change-counter { - type uint32; - description "State Change Counter"; - } - leaf seconds-last-change { - type uint64; - units "second"; - description "Seconds Last Change"; - } - leaf threshold-up { - type uint32; - description "User specified threshold upper limit"; - } - leaf threshold-down { - type uint32; - description "User specified threshold lower limit"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper.yang deleted file mode 100644 index 8ccba89..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-object-tracking-oper.yang +++ /dev/null @@ -1,116 +0,0 @@ -module Cisco-IOS-XR-manageability-object-tracking-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-object-tracking-oper"; - - - prefix "manageability-object-tracking-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-manageability-object-tracking-datatypes { - prefix "dt1"; - } - - include Cisco-IOS-XR-manageability-object-tracking-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR manageability-object-tracking package operational data. - - This module contains definitions - for the following management objects: - object-tracking: Object Tracking operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container object-tracking { - config false; - description "Object Tracking operational data"; - - container track-type-interface { - description "Object Tracking Type interface info"; - uses TRACK-INFO; - } - - container track-briefs { - description "Object Tracking Track table brief"; - - list track-brief { - key "track-name"; - description "Track name - maximum 32 characters"; - leaf track-name { - type dt1:Object-tracking-name-string; - description "Track name"; - } - uses TRACK-INFO-BRIEF; - } - } - - container track-type-rtr-reachability { - description "Object Tracking Type RTR Reachability info"; - uses TRACK-INFO; - } - - container track-type-rtr-reachability-brief { - description - "Object Tracking Type RTR Reachability brief info"; - uses TRACK-INFO-BRIEF; - } - - container tracks { - description "Object Tracking Track table"; - - list track { - key "track-name"; - description "Track name - maximum 32 characters"; - leaf track-name { - type dt1:Object-tracking-name-string; - description "Track name"; - } - uses TRACK-INFO; - } - } - - container track-type-ipv4-route-brief { - description "Object Tracking Type Ipv4 Route brief info"; - uses TRACK-INFO-BRIEF; - } - - container track-type-ipv4-route { - description "Object Tracking Type IPV4 route info"; - uses TRACK-INFO; - } - - container track-type-interface-brief { - description "Object Tracking Type Interface brief info"; - uses TRACK-INFO-BRIEF; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang deleted file mode 100644 index f2ba305..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang +++ /dev/null @@ -1,4662 +0,0 @@ -module Cisco-IOS-XR-manageability-perfmgmt-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-perfmgmt-cfg"; - - - prefix "manageability-perfmgmt-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR manageability-perfmgmt package configuration. - - This module contains definitions - for the following management objects: - perf-mgmt: Performance Management configuration & operations - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pm-threshold-val-range { - type uint32 { - range "0..65536"; - } - description "Pm threshold val range"; - } - typedef Pm-threshold-val-range-counter32 { - type uint32 { - range "0..4294967295"; - } - description "Pm threshold val range counter32"; - } - typedef Pm-threshold-rearm { - type enumeration { - enum always { - value 0; - description "Rearm Always"; - } - enum window { - value 1; - description "Rearm after window of sampling periods"; - } - enum toggle { - value 2; - description - "Rearm after the first period when condition is - not met"; - } - } - description "Pm threshold rearm"; - } - typedef Pm-threshold-op { - type enumeration { - enum eq { - value 1; - description "Equal to"; - } - enum ne { - value 2; - description "Not equal to"; - } - enum lt { - value 3; - description "Less than"; - } - enum le { - value 4; - description "Less than or equal to"; - } - enum gt { - value 5; - description "Greater than"; - } - enum ge { - value 6; - description "Greater than or equal to"; - } - enum rg { - value 7; - description "Not in Range"; - } - } - description "Pm threshold op"; - } - typedef Pid-range { - type uint32 { - range "0..4294967295"; - } - description "Pid range"; - } - typedef Pm-threshold-rearm-window { - type uint32 { - range "1..100"; - } - description "Pm threshold rearm window"; - } - - grouping REG-EXP-GROUP { - description - "Common node of basic-counter-interface-template, - generic-counter-interface-template, - data-rate-interface-template"; - leaf reg-exp-group { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Enable instance filtering by regular expression"; - } - } - - grouping OUTPUT-LS-REQUESTS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-ls-requests { - presence "enable output-ls-requests"; - description "Number of LS Requests sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OSPF-INSTANCE-TABLE { - description "Common node of ospfv2-protocol, ospfv3-protocol"; - - container ospf-instances { - description "Monitor an instance"; - - list ospf-instance { - key "instance-name"; - description "Instance being monitored"; - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "OSPF Instance Name"; - } - uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; - } - } - } - - grouping INPUT-DB-DS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-db-ds { - presence "enable input-db-ds"; - description "Number of DBD packets received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping NODE-ALL { - description - "Common node of cpu-node, memory-node, - process-node"; - - container node-all { - description "All the the nodes"; - uses TEMPLATE-NAME; - } - } - - grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL { - description - "Common node of cpu-node, memory-node, - process-nodeCommon node of cpu-node, memory-node, - process-node"; - - container node-all { - description "All the the nodes"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - } - - grouping INPUT-LSA-ACKS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-lsa-acks-lsa { - presence "enable input-lsa-acks-lsa"; - description "Number of LSA received in LSA Acknowledgements"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-DB-DS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-db-ds-lsa { - presence "enable output-db-ds-lsa"; - description "Number of LSA sent in DBD packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping TEMPLATE-NAME { - description - "Common node of ospfv2-protocol, ospfv3-protocol, - bgp, node, node-all, ldp-mpls, - data-rate-interface, generic-counter-interface, - basic-counter-interface"; - leaf template-name { - type string; - description "Template name"; - } - } - - grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME { - description - "Common node of ospfv2-protocol, ospfv3-protocol, - bgp, node, node-all, ldp-mpls, - data-rate-interface, generic-counter-interface, - basic-counter-interfaceCommon node of - ospfv2-protocol, ospfv3-protocol, node, node-all, - ldp-mpls, data-rate-interface, - generic-counter-interface, - basic-counter-interface, bgp"; - leaf template-name { - type string; - description "Template name"; - } - } - - grouping MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME { - description - "Common node of ospfv2-protocol, ospfv3-protocol, - bgp, node, node-all, ldp-mpls, - data-rate-interface, generic-counter-interface, - basic-counter-interfaceCommon node of - ospfv2-protocol, ospfv3-protocol, node, node-all, - ldp-mpls, data-rate-interface, - generic-counter-interface, - basic-counter-interface, bgpCommon node of - ospf-instance, session, pid, node, interface, - neighbor"; - leaf template-name { - type string; - description "Template name"; - } - } - - grouping TEMPLATE-TABLE { - description - "Common node of ospfv2-protocol, ospfv3-protocol, - bgp, generic-counter-interface, - basic-counter-interface, data-rate-interface, - ldp-mpls, cpu-node, memory-node, process-node"; - - container templates { - description "Template name"; - - list template { - key "template-name"; - description "A template instance"; - leaf reg-exp-group { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Enable instance filtering by regular - expression"; - } - leaf history-persistent { - type empty; - description "Enable persistent history statistics"; - } - leaf vrf-group { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "VRF group configured in regular expression to - be applied"; - } - leaf sample-interval { - type uint32 { - range "1..60"; - } - units "minute"; - description "Frequency of each sample in minutes"; - } - leaf sample-size { - type uint32 { - range "1..60"; - } - description "Number of samples to be taken"; - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - } - } - } - - grouping SAMPLE-INTERVAL { - description - "Common node of data-rate-interface-template, - ldp-mpls-template, cpu-node-template, - memory-node-template, process-node-template"; - leaf sample-interval { - type uint32 { - range "1..60"; - } - units "minute"; - description "Frequency of sampling in minutes"; - } - } - - grouping MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL { - description - "Common node of data-rate-interface-template, - ldp-mpls-template, cpu-node-template, - memory-node-template, process-node-templateCommon - node of ospfv2-protocol-template, - ospfv3-protocol-template, bgp-template, - basic-counter-interface-template, - generic-counter-interface-template"; - leaf sample-interval { - type uint32 { - range "1..60"; - } - units "minute"; - description "Frequency of sampling in minutes"; - } - } - - grouping INPUT-PACKETS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-packets { - presence "enable input-packets"; - description "Total number of packets received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-LSA-UPDATES-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-lsa-updates-lsa { - presence "enable input-lsa-updates-lsa"; - description "Number of LSA received in LSA Updates"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping VRF-GROUP { - description - "Common node of basic-counter-interface-template, - generic-counter-interface-template, - data-rate-interface-template"; - leaf vrf-group { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Enable instance filtering by VRF name regular - expression "; - } - } - - grouping OUTPUT-LSA-UPDATES-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-lsa-updates-lsa { - presence "enable output-lsa-updates-lsa"; - description "Number of LSA sent in LSA Updates"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-LSA-ACKS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-lsa-acks { - presence "enable input-lsa-acks"; - description "Number of LSA Acknowledgements received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-LSA-UPDATES { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-lsa-updates { - presence "enable input-lsa-updates"; - description "Number of LSA Updates received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-LSA-ACKS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-lsa-acks-lsa { - presence "enable output-lsa-acks-lsa"; - description "Number of LSA sent in LSA Acknowledgements"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INTERFACE-TABLE { - description - "Common node of generic-counters, basic-counters, - data-rates"; - - container interfaces { - description "Monitor an Interface"; - - list interface { - key "interface-name"; - description "Interface being Monitored"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; - } - } - } - - grouping OUTPUT-PACKETS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-packets { - presence "enable output-packets"; - description "Total number of packets sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-LSA-UPDATES { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-lsa-updates { - presence "enable output-lsa-updates"; - description "Number of LSA Updates sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-HELLO-PACKETS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-hello-packets { - presence "enable output-hello-packets"; - description "Total number of packets sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping NODE-TABLE { - description "Common node of memory, cpu"; - - container nodes { - description "Node specification"; - - list node { - key "node-id"; - description "Node instance"; - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; - } - } - } - - grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE { - description - "Common node of memory, cpuCommon node of cpu-node - , memory-node, process-node"; - - container nodes { - description "Node specification"; - - list node { - key "node-id"; - description "Node instance"; - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - } - } - - grouping MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE { - description - "Common node of memory, cpuCommon node of cpu-node - , memory-node, process-nodeCommon node of - cpu-node, memory-node, process-node"; - - container nodes { - description "Node specification"; - - list node { - key "node-id"; - description "Node instance"; - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - uses TEMPLATE-NAME; - } - } - } - - grouping OUTPUT-DB-DS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-db-ds { - presence "enable output-db-ds"; - description "Number of DBD packets sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-LS-REQUESTS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-ls-requests-lsa { - presence "enable input-ls-requests-lsa"; - description "Number of LSA received in LS Requests"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-LS-REQUESTS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-ls-requests-lsa { - presence "enable output-ls-requests-lsa"; - description "Number of LSA sent in LS Requests"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping OUTPUT-LSA-ACKS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container output-lsa-acks { - presence "enable output-lsa-acks"; - description "Number of LSA Acknowledgements sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-DB-DS-LSA { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-db-ds-lsa { - presence "enable input-db-ds-lsa"; - description "Number of LSA received in DBD packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-LS-REQUESTS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-ls-requests { - presence "enable input-ls-requests"; - description "Number of LS Requests received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - grouping INPUT-HELLO-PACKETS { - description - "Common node of ospfv2-protocol-template, - ospfv3-protocol-template"; - - container input-hello-packets { - presence "enable input-hello-packets"; - description "Number of Hello packets received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, set - to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values are - in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm type - Window)"; - } - } - } - - container perf-mgmt { - description "Performance Management configuration & operations"; - - container resources { - description "Resources configuration"; - - container tftp-resources { - presence "Indicates a tftp-resources node is configured."; - description - "Configure the TFTP server IP address and - directory name"; - leaf server-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "IP address of the TFTP server"; - } - leaf directory { - type string; - mandatory true; - description "Directory name on TFTP server"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - - container dump-local { - description "Configure local dump parameters"; - leaf enable { - type empty; - description "Enable data dump onto local filesystem"; - } - } - - container memory-resources { - description - "Configure the memory usage limits of - performance management"; - leaf max-limit { - type int32; - units "kilobyte"; - description - "Maximum limit for memory usage (Kbytes) for - data buffers"; - } - leaf min-reserved { - type int32; - units "kilobyte"; - description - "Specify a minimum free memory (Kbytes) to be - ensured before allowing a collection request"; - } - } - } - - container statistics { - description "Templates for collection of statistics"; - - container generic-counter-interface { - description - "Interface Generic GenericCounter collection - templates"; - uses TEMPLATE-TABLE; - } - - container process-node { - description "Node Process collection templates"; - uses TEMPLATE-TABLE; - } - - container basic-counter-interface { - description "Interface BasicCounter collection templates"; - uses TEMPLATE-TABLE; - } - - container ospfv3-protocol { - description "OSPF v3 Protocol collection templates"; - uses TEMPLATE-TABLE; - } - - container cpu-node { - description "Node CPU collection templates"; - uses TEMPLATE-TABLE; - } - - container data-rate-interface { - description "Interface DataRate collection templates"; - uses TEMPLATE-TABLE; - } - - container memory-node { - description "Node Memory collection templates"; - uses TEMPLATE-TABLE; - } - - container ldp-mpls { - description "MPLS LDP collection templates"; - uses TEMPLATE-TABLE; - } - - container bgp { - description "BGP collection templates"; - uses TEMPLATE-TABLE; - } - - container ospfv2-protocol { - description "OSPF v2 Protocol collection templates"; - uses TEMPLATE-TABLE; - } - } - - container enable { - description - "Start data collection and/or threshold - monitoring"; - - container threshold { - description - "Start threshold monitoring using a defined - template"; - - container ospfv3-protocol { - description "Threshold monitoring for OSPF v3 Protocol"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container bgp { - description "Threshold monitoring for BGP"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container data-rate-interface { - description - "Threshold monitoring for Interface data-rates"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container ospfv2-protocol { - description "Threshold monitoring for OSPF v2 Protocol"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container memory-node { - description "Threshold monitoring for memory"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; - } - - container generic-counter-interface { - description - "Threshold monitoring for Interface - generic-counters"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container cpu-node { - description "Threshold monitoring for CPU"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; - } - - container ldp-mpls { - description "Threshold monitoring for LDP"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - - container process-node { - description "Threshold monitoring for process"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; - } - - container basic-counter-interface { - description - "Threshold monitoring for Interface - basic-counters"; - uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; - } - } - - container statistics { - description - "Start periodic collection using a defined a - template"; - - container generic-counter-interface { - description "Statistics collection for generic-counters"; - uses TEMPLATE-NAME; - } - - container bgp { - description "Data collection for BGP"; - uses TEMPLATE-NAME; - } - - container ospfv2-protocol { - description "Data collection for OSPF v2 Protocol"; - uses TEMPLATE-NAME; - } - - container ospfv3-protocol { - description "Data collection for OSPF v3 Protocol"; - uses TEMPLATE-NAME; - } - - container cpu-node { - description "Collection for CPU"; - uses NODE-ALL; - uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; - } - - container basic-counter-interface { - description "Statistics collection for basic-counters"; - uses TEMPLATE-NAME; - } - - container process-node { - description "Collection for process"; - uses NODE-ALL; - uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; - } - - container data-rate-interface { - description "Statistics collection for generic-counters"; - uses TEMPLATE-NAME; - } - - container memory-node { - description "Collection for memory"; - uses NODE-ALL; - uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; - } - - container ldp-mpls { - description "Collection for labels distribution protocol"; - uses TEMPLATE-NAME; - } - } - - container monitor-enable { - description - "Start data collection for a monitored instance"; - - container ldp-mpls { - description "Monitoring for LDP"; - - container sessions { - description "LDP session specification"; - - list session { - key "session"; - description "IP address of the LDP Session"; - leaf session { - type inet:ipv4-address-no-zone; - description "IP address of the LDP Session"; - } - uses "MANAGEABILITY-PERF-ENABLE"+ - "-MONITOR-CFG-TEMPLATE-NAME"; - } - } - } - - container ospfv3-protocol { - description "Monitor OSPF v3 Protocol"; - uses OSPF-INSTANCE-TABLE; - } - - container generic-counters { - description "Monitoring for generic-counters"; - uses INTERFACE-TABLE; - } - - container process { - description "Collection for a single process"; - - container process-nodes { - description "Node specification"; - - list process-node { - key "node-id"; - description "Node instance"; - - container pids { - description "Process ID specification"; - - list pid { - key "pid"; - description - "Specify an existing template for data - collection"; - leaf pid { - type Pid-range; - description "Specify Process ID"; - } - uses "MANAGEABILITY-PERF-ENABLE"+ - "-MONITOR-CFG-TEMPLATE-NAME"; - } - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - container basic-counters { - description "Monitoring for basic-counters"; - uses INTERFACE-TABLE; - } - - container memory { - description "Collection for memory"; - uses NODE-TABLE; - } - - container ospfv2-protocol { - description "Monitor OSPF v2 Protocol"; - uses OSPF-INSTANCE-TABLE; - } - - container cpu { - description "Collection for CPU"; - uses NODE-TABLE; - } - - container bgp { - description "Monitor BGP protocol"; - - container neighbors { - description "Monitor BGP protocol for a BGP peer"; - - list neighbor { - key "peer-address"; - description "Neighbor being monitored"; - leaf peer-address { - type inet:ipv4-address-no-zone; - description "IP address of the Neighbor"; - } - uses "MANAGEABILITY-PERF-ENABLE"+ - "-MONITOR-CFG-TEMPLATE-NAME"; - } - } - } - - container data-rates { - description "Monitoring for data-rates"; - uses INTERFACE-TABLE; - } - } - } - - container reg-exp-groups { - description "Configure regular expression group"; - - list reg-exp-group { - key "reg-exp-group-name"; - description "Specify regular expression group name"; - - container reg-exps { - description "Configure regular expression"; - - list reg-exp { - key "reg-exp-index"; - description "Specify regular expression index number"; - leaf reg-exp-index { - type uint32 { - range "1..100"; - } - description "Regular expression index number"; - } - leaf reg-exp-string { - type string { - length "1..128"; - } - mandatory true; - description "Regular expression string to match"; - } - } - } - leaf reg-exp-group-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Regular expression group name"; - } - } - } - - container threshold { - description "Container for threshold templates"; - - container generic-counter-interface { - description - "Interface Generic Counter threshold - configuration"; - - container generic-counter-interface-templates { - description - "Interface Generic Counter threshold templates"; - - list generic-counter-interface-template { - key "template-name"; - description - "Interface Generic Counter threshold template - instance"; - - container in-octets { - presence "enable in-octets"; - description "Number of inbound octets/bytes"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container in-ucast-pkts { - presence "enable in-ucast-pkts"; - description "Number of inbound unicast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-ucast-pkts { - presence "enable out-ucast-pkts"; - description "Number of outbound unicast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-broadcast-pkts { - presence "enable out-broadcast-pkts"; - description "Number of outbound broadcast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-multicast-pkts { - presence "enable out-multicast-pkts"; - description "Number of outbound multicast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-overrun { - presence "enable input-overrun"; - description - "Number of inbound packets with overrun - errors"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-octets { - presence "enable out-octets"; - description "Number of outbound octets/bytes"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-underrun { - presence "enable output-underrun"; - description - "Number of outbound packets with underrun - errors"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-total-errors { - presence "enable input-total-errors"; - description - "Number of inbound incorrect packets - discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-total-drops { - presence "enable output-total-drops"; - description - "Number of outbound correct packets discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-crc { - presence "enable input-crc"; - description - "Number of inbound packets discarded with - incorrect CRC"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container in-broadcast-pkts { - presence "enable in-broadcast-pkts"; - description "Number of inbound broadcast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container in-multicast-pkts { - presence "enable in-multicast-pkts"; - description "Number of inbound multicast packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-packets { - presence "enable out-packets"; - description "Number of outbound packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-total-errors { - presence "enable output-total-errors"; - description - "Number of outbound incorrect packets - discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container in-packets { - presence "enable in-packets"; - description "Number of inbound packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-unknown-proto { - presence "enable input-unknown-proto"; - description - "Number of inbound packets discarded with - unknown protocol"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-queue-drops { - presence "enable input-queue-drops"; - description "Number of input queue drops"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-total-drops { - presence "enable input-total-drops"; - description - "Number of inbound correct packets discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-frame { - presence "enable input-frame"; - description - "Number of inbound packets with framing - errors"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; - uses REG-EXP-GROUP; - uses VRF-GROUP; - } - } - } - - container ldp-mpls { - description "MPLS LDP threshold configuration"; - - container ldp-mpls-templates { - description "MPLS LDP threshold templates"; - - list ldp-mpls-template { - key "template-name"; - description "MPLS LDP threshold template instance"; - - container address-withdraw-msgs-rcvd { - presence "enable address-withdraw-msgs-rcvd"; - description - "Number of Address Withdraw messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-withdraw-msgs-rcvd { - presence "enable label-withdraw-msgs-rcvd"; - description - "Number of Label Withdraw messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container address-withdraw-msgs-sent { - presence "enable address-withdraw-msgs-sent"; - description - "Number of Address Withdraw messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-withdraw-msgs-sent { - presence "enable label-withdraw-msgs-sent"; - description "Number of Label Withdraw messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container notification-msgs-rcvd { - presence "enable notification-msgs-rcvd"; - description - "Number of Notification messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container total-msgs-rcvd { - presence "enable total-msgs-rcvd"; - description "Total number of messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container notification-msgs-sent { - presence "enable notification-msgs-sent"; - description "Number of Notification messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container total-msgs-sent { - presence "enable total-msgs-sent"; - description "Total number of messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-release-msgs-rcvd { - presence "enable label-release-msgs-rcvd"; - description - "Number of LAbel Release messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container init-msgs-rcvd { - presence "enable init-msgs-rcvd"; - description "Number of Init messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-release-msgs-sent { - presence "enable label-release-msgs-sent"; - description "Number of Label Release messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container init-msgs-sent { - presence "enable init-msgs-sent"; - description "Number of Init messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-mapping-msgs-rcvd { - presence "enable label-mapping-msgs-rcvd"; - description - "Number of Label Mapping messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container keepalive-msgs-rcvd { - presence "enable keepalive-msgs-rcvd"; - description "Number of Keepalive messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container label-mapping-msgs-sent { - presence "enable label-mapping-msgs-sent"; - description "Number of Label Mapping messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container keepalive-msgs-sent { - presence "enable keepalive-msgs-sent"; - description "Number of Keepalive messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container address-msgs-rcvd { - presence "enable address-msgs-rcvd"; - description "Number of Address messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container address-msgs-sent { - presence "enable address-msgs-sent"; - description "Number of Address messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses SAMPLE-INTERVAL; - } - } - } - - container basic-counter-interface { - description - "Interface Basic Counter threshold configuration"; - - container basic-counter-interface-templates { - description "Interface Basic Counter threshold templates"; - - list basic-counter-interface-template { - key "template-name"; - description - "Interface Basic Counter threshold template - instance"; - - container in-octets { - presence "enable in-octets"; - description "Number of inbound octets/bytes"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-octets { - presence "enable out-octets"; - description "Number of outbound octets/bytes"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-queue-drops { - presence "enable output-queue-drops"; - description "Number of outbound queue drops"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-total-errors { - presence "enable input-total-errors"; - description - "Number of inbound incorrect packets - discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-total-drops { - presence "enable output-total-drops"; - description - "Number of outbound correct packets discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container out-packets { - presence "enable out-packets"; - description "Number of outbound packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-total-errors { - presence "enable output-total-errors"; - description - "Number of outbound incorrect packets - discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container in-packets { - presence "enable in-packets"; - description "Number of inbound packets"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-queue-drops { - presence "enable input-queue-drops"; - description "Number of input queue drops"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-total-drops { - presence "enable input-total-drops"; - description - "Number of inbound correct packets discarded"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; - uses REG-EXP-GROUP; - uses VRF-GROUP; - } - } - } - - container bgp { - description "BGP threshold configuration"; - - container bgp-templates { - description "BGP threshold templates"; - - list bgp-template { - key "template-name"; - description "BGP threshold template instance"; - - container output-update-messages { - presence "enable output-update-messages"; - description "Number of update messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container errors-received { - presence "enable errors-received"; - description "Number of error notifications received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container conn-established { - presence "enable conn-established"; - description - "Number of times the connection was - established"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-messages { - presence "enable output-messages"; - description "Number of messages sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container conn-dropped { - presence "enable conn-dropped"; - description - "Number of times the connection was dropped"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-update-messages { - presence "enable input-update-messages"; - description "Number of update messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container errors-sent { - presence "enable errors-sent"; - description "Number of error notifications sent"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-messages { - presence "enable input-messages"; - description "Number of messages received"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; - } - } - } - - container ospfv2-protocol { - description "OSPF v2 Protocol threshold configuration"; - - container ospfv2-protocol-templates { - description "OSPF v2 Protocol threshold templates"; - - list ospfv2-protocol-template { - key "template-name"; - description - "OSPF v2 Protocol threshold template instance"; - - container checksum-errors { - presence "enable checksum-errors"; - description - "Number of packets received with checksum - errors"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses INPUT-LSA-ACKS-LSA; - uses OUTPUT-DB-DS-LSA; - uses INPUT-DB-DS-LSA; - uses INPUT-LSA-UPDATES; - uses OUTPUT-DB-DS; - uses OUTPUT-LSA-UPDATES-LSA; - uses INPUT-DB-DS; - uses INPUT-LSA-UPDATES-LSA; - uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; - uses OUTPUT-PACKETS; - uses INPUT-PACKETS; - uses OUTPUT-HELLO-PACKETS; - uses INPUT-HELLO-PACKETS; - uses OUTPUT-LS-REQUESTS; - uses OUTPUT-LSA-ACKS-LSA; - uses OUTPUT-LSA-ACKS; - uses INPUT-LSA-ACKS; - uses OUTPUT-LSA-UPDATES; - uses OUTPUT-LS-REQUESTS-LSA; - uses INPUT-LS-REQUESTS-LSA; - uses INPUT-LS-REQUESTS; - } - } - } - - container cpu-node { - description "Node CPU threshold configuration"; - - container cpu-node-templates { - description "Node CPU threshold configuration templates"; - - list cpu-node-template { - key "template-name"; - description - "Node CPU threshold configuration template - instances"; - - container average-cpu-used { - presence "enable average-cpu-used"; - description "Average %CPU utilization"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type uint32 { - range "0..100"; - } - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type uint32 { - range "0..100"; - } - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container no-processes { - presence "enable no-processes"; - description "Number of processes"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses SAMPLE-INTERVAL; - } - } - } - - container data-rate-interface { - description "Interface Data Rates threshold configuration"; - - container data-rate-interface-templates { - description "Interface Data Rates threshold templates"; - - list data-rate-interface-template { - key "template-name"; - description - "Interface Data Rates threshold template - instance"; - - container input-data-rate { - presence "enable input-data-rate"; - description "Input data rate in kbps"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container bandwidth { - presence "enable bandwidth"; - description "Bandwidth in kbps"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-packet-rate { - presence "enable output-packet-rate"; - description "Number of Output packets per second"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-peak-pkts { - presence "enable input-peak-pkts"; - description - "Maximum number of input packets per second"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-peak-rate { - presence "enable output-peak-rate"; - description "Peak output data rate in kbps"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-data-rate { - presence "enable output-data-rate"; - description "Output data rate in kbps"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-packet-rate { - presence "enable input-packet-rate"; - description "Number of input packets per second"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container output-peak-pkts { - presence "enable output-peak-pkts"; - description - "Maximum number of output packets per second"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container input-peak-rate { - presence "enable input-peak-rate"; - description "Peak input data rate in kbps"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type Pm-threshold-val-range-counter32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type Pm-threshold-val-range-counter32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses SAMPLE-INTERVAL; - uses REG-EXP-GROUP; - uses VRF-GROUP; - } - } - } - - container process-node { - description "Node Process threshold configuration"; - - container process-node-templates { - description "Node Memory threshold templates"; - - list process-node-template { - key "template-name"; - description "Node Memory threshold template instance"; - - container average-cpu-used { - presence "enable average-cpu-used"; - description "Average %CPU utilization"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type uint32 { - range "0..100"; - } - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type uint32 { - range "0..100"; - } - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container peak-memory { - presence "enable peak-memory"; - description - "Max memory (KBytes) used since startup time"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container no-threads { - presence "enable no-threads"; - description "Number of threads"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type uint32 { - range "0..32767"; - } - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type uint32 { - range "0..32767"; - } - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses SAMPLE-INTERVAL; - } - } - } - - container memory-node { - description "Node Memory threshold configuration"; - - container memory-node-templates { - description - "Node Memory threshold configuration templates"; - - list memory-node-template { - key "template-name"; - description - "Node Memory threshold configuration template - instance"; - - container peak-memory { - presence "enable peak-memory"; - description "Maximum memory (KBytes) used"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type uint32 { - range "0..4194304"; - } - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type uint32 { - range "0..4194304"; - } - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - - container curr-memory { - presence "enable curr-memory"; - description "Current memory (Bytes) in use"; - leaf operator { - type Pm-threshold-op; - description "Operator"; - } - leaf value { - type int32; - description - "Threshold value (or start range value for - operator RG)"; - } - leaf end-range-value { - type int32; - description - "Threshold end range value (for operator RG, - set to 0 otherwise)"; - } - leaf percent { - type boolean; - description - "Set to TRUE if Specified threshold values - are in percent"; - } - leaf rearm-type { - type Pm-threshold-rearm; - description "Configure the Rearm type"; - } - leaf rearm-window { - type Pm-threshold-rearm-window; - description - "Configure the rearm window size (for rearm - type Window)"; - } - } - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses SAMPLE-INTERVAL; - } - } - } - - container ospfv3-protocol { - description "OSPF v2 Protocol threshold configuration"; - - container ospfv3-protocol-templates { - description "OSPF v2 Protocol threshold templates"; - - list ospfv3-protocol-template { - key "template-name"; - description - "OSPF v2 Protocol threshold template instance"; - leaf template-name { - type xr:Cisco-ios-xr-string; - description "Template Name"; - } - uses INPUT-LSA-ACKS-LSA; - uses OUTPUT-DB-DS-LSA; - uses INPUT-DB-DS-LSA; - uses INPUT-LSA-UPDATES; - uses OUTPUT-DB-DS; - uses OUTPUT-LSA-UPDATES-LSA; - uses INPUT-DB-DS; - uses INPUT-LSA-UPDATES-LSA; - uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; - uses OUTPUT-PACKETS; - uses INPUT-PACKETS; - uses OUTPUT-HELLO-PACKETS; - uses INPUT-HELLO-PACKETS; - uses OUTPUT-LS-REQUESTS; - uses OUTPUT-LSA-ACKS-LSA; - uses OUTPUT-LSA-ACKS; - uses INPUT-LSA-ACKS; - uses OUTPUT-LSA-UPDATES; - uses OUTPUT-LS-REQUESTS-LSA; - uses INPUT-LS-REQUESTS-LSA; - uses INPUT-LS-REQUESTS; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang deleted file mode 100644 index f3d1c94..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang +++ /dev/null @@ -1,46 +0,0 @@ -module Cisco-IOS-XR-manageability-perfmgmt-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-perfmgmt-datatypes"; - - - prefix "manageability-perfmgmt-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pid-range { - type uint32 { - range "0..4294967295"; - } - description "Pid range"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang deleted file mode 100644 index 05525d1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang +++ /dev/null @@ -1,596 +0,0 @@ -submodule Cisco-IOS-XR-manageability-perfmgmt-oper-sub1 { - - belongs-to Cisco-IOS-XR-manageability-perfmgmt-oper { - prefix Cisco-IOS-XR-manageability-perfmgmt-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR manageability-perfmgmt package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PM-INTERFACE-DATARATE-BAG { - description "Datarate information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf input-data-rate { - type uint32; - units "bit/s"; - description "Input datarate in 1000's of bps"; - } - leaf input-packet-rate { - type uint32; - units "packet/s"; - description "Input packets per second"; - } - leaf output-data-rate { - type uint32; - units "bit/s"; - description "Output datarate in 1000's of bps"; - } - leaf output-packet-rate { - type uint32; - units "packet/s"; - description "Output packets per second"; - } - leaf input-peak-rate { - type uint32; - description "Peak input datarate"; - } - leaf input-peak-pkts { - type uint32; - description "Peak input packet rate"; - } - leaf output-peak-rate { - type uint32; - description "Peak output datarate"; - } - leaf output-peak-pkts { - type uint32; - description "Peak output packet rate"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth (in kbps)"; - } - } - - grouping PM-INTERFACE-BASIC-STATS { - description "PM Interface Basic Counters"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds from UCT"; - } - leaf in-packets { - type uint64; - description "Packets received"; - } - leaf in-octets { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf out-packets { - type uint64; - description "Packets sent"; - } - leaf out-octets { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf input-total-drops { - type uint64; - description "Inbound correct packets discarded"; - } - leaf input-queue-drops { - type uint64; - description "Input queue drops"; - } - leaf input-total-errors { - type uint64; - description "Inbound incorrect packets discarded"; - } - leaf output-total-drops { - type uint64; - description "Outbound correct packets discarded"; - } - leaf output-queue-drops { - type uint64; - description "Output queue drops"; - } - leaf output-total-errors { - type uint64; - description "Outbound incorrect packets discarded"; - } - } - - grouping PM-INTERFACE-GENERIC-BAG { - description "PM Interface Generic Counters"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf in-packets { - type uint64; - description "Packets received"; - } - leaf in-octets { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf out-packets { - type uint64; - description "Packets sent"; - } - leaf out-octets { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf in-ucast-pkts { - type uint64; - description "Unicast packets received"; - } - leaf in-multicast-pkts { - type uint64; - description "Multicast packets received"; - } - leaf in-broadcast-pkts { - type uint64; - description "Broadcast packets received"; - } - leaf out-ucast-pkts { - type uint64; - description "Unicast packets sent"; - } - leaf out-multicast-pkts { - type uint64; - description "Multicast packets sent"; - } - leaf out-broadcast-pkts { - type uint64; - description "Broadcast packets sent"; - } - leaf output-total-drops { - type uint32; - description "Outbound correct packets discarded"; - } - leaf input-total-drops { - type uint32; - description "Inbound correct packets discarded"; - } - leaf input-queue-drops { - type uint32; - description "Input queue drops"; - } - leaf input-unknown-proto { - type uint32; - description "Inbound packets discarded with unknown proto"; - } - leaf output-total-errors { - type uint32; - description "Outbound incorrect packets discarded"; - } - leaf output-underrun { - type uint32; - description "Output underruns"; - } - leaf input-total-errors { - type uint32; - description "Inbound incorrect packets discarded"; - } - leaf input-crc { - type uint32; - description "Inbound packets discarded with incorrect CRC"; - } - leaf input-overrun { - type uint32; - description "Input overruns"; - } - leaf input-frame { - type uint32; - description "Inbound framing errors"; - } - } - - grouping PM-BGP-NBR-BAG { - description "PM BGP Neighbor Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf input-messages { - type uint32; - description "Number of messages received"; - } - leaf output-messages { - type uint32; - description "Number of messages sent"; - } - leaf input-update-messages { - type uint32; - description "Number of update messages received"; - } - leaf output-update-messages { - type uint32; - description "Number of update messages sent"; - } - leaf conn-established { - type uint32; - description "Number of times the connection was established"; - } - leaf conn-dropped { - type uint32; - description "Number of times connection was dropped"; - } - leaf errors-received { - type uint32; - description - "Number of error notifications received on the - connection"; - } - leaf errors-sent { - type uint32; - description - "Number of error notifications sent on the - connection"; - } - } - - grouping PM-NODE-MEM-BAG { - description "PM System Resources Memory Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf curr-memory { - type uint32; - units "byte"; - description "Current application memory (Bytes) in use"; - } - leaf peak-memory { - type uint32; - units "megabyte"; - description "Max. system memory (MBytes) used since bootup"; - } - } - - grouping PM-NODE-PROCESS-BAG { - description "PM Process CPU and Memory Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf peak-memory { - type uint32; - units "kilobyte"; - description - "Max. dynamic memory (KBytes) used since startup - time"; - } - leaf average-cpu-used { - type uint32; - description "Average %CPU utilization"; - } - leaf no-threads { - type uint32; - description "Number of threads"; - } - } - - grouping PM-NODE-CPU-BAG { - description "PM System Resources CPU Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf no-processes { - type uint32; - description "Number of processes in the system"; - } - leaf average-cpu-used { - type uint32; - description "Average system %CPU utilization"; - } - } - - grouping PM-MPLS-LDP-BAG { - description "PM MPLS LDP Neighbor bag"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf total-msgs-sent { - type uint16; - description "Total messages sent"; - } - leaf total-msgs-rcvd { - type uint16; - description "Total messages received"; - } - leaf init-msgs-sent { - type uint16; - description "Init messages sent"; - } - leaf init-msgs-rcvd { - type uint16; - description "Tnit messages received"; - } - leaf address-msgs-sent { - type uint16; - description "Address messages sent"; - } - leaf address-msgs-rcvd { - type uint16; - description "Address messages received"; - } - leaf address-withdraw-msgs-sent { - type uint16; - description "Address withdraw messages sent"; - } - leaf address-withdraw-msgs-rcvd { - type uint16; - description "Address withdraw messages received"; - } - leaf label-mapping-msgs-sent { - type uint16; - description "Label mapping messages sent"; - } - leaf label-mapping-msgs-rcvd { - type uint16; - description "Label mapping messages received"; - } - leaf label-withdraw-msgs-sent { - type uint16; - description "Label withdraw messages sent"; - } - leaf label-withdraw-msgs-rcvd { - type uint16; - description "Label withdraw messages received"; - } - leaf label-release-msgs-sent { - type uint16; - description "Label release messages sent"; - } - leaf label-release-msgs-rcvd { - type uint16; - description "Label release messages received"; - } - leaf notification-msgs-sent { - type uint16; - description "Notification messages sent"; - } - leaf notification-msgs-rcvd { - type uint16; - description "Notification messages received"; - } - leaf keepalive-msgs-sent { - type uint16; - description "Keepalive messages sent"; - } - leaf keepalive-msgs-rcvd { - type uint16; - description "Keepalive messages received"; - } - } - - grouping PM-OSPF-V3PROTO-BAG { - description "PM OSPF v3 Protocol Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf input-packets { - type uint32; - description "Total number of packets received"; - } - leaf output-packets { - type uint32; - description "Total number of packets sent"; - } - leaf input-hello-packets { - type uint32; - description "Number of Hello packets received"; - } - leaf output-hello-packets { - type uint32; - description "Number of Hello packets sent"; - } - leaf input-db-ds { - type uint32; - description "Number of DBD packets received"; - } - leaf input-db-ds-lsa { - type uint32; - description "Number of LSA received in DBD packets"; - } - leaf output-db-ds { - type uint32; - description "Number of DBD packets sent"; - } - leaf output-db-ds-lsa { - type uint32; - description "Number of LSA sent in DBD packets"; - } - leaf input-ls-requests { - type uint32; - description "Number of LS Requests received"; - } - leaf input-ls-requests-lsa { - type uint32; - description "Number of LSA received in LS Requests"; - } - leaf output-ls-requests { - type uint32; - description "Number of LS Requests sent"; - } - leaf output-ls-requests-lsa { - type uint32; - description "Number of LSA sent in LS Requests"; - } - leaf input-lsa-updates { - type uint32; - description "Number of LSA Updates received"; - } - leaf input-lsa-updates-lsa { - type uint32; - description "Number of LSA received in LSA Updates"; - } - leaf output-lsa-updates { - type uint32; - description "Number of LSA Updates sent"; - } - leaf output-lsa-updates-lsa { - type uint32; - description "Number of LSA sent in LSA Updates"; - } - leaf input-lsa-acks { - type uint32; - description "Number of LSA Acknowledgements received"; - } - leaf input-lsa-acks-lsa { - type uint32; - description "Number of LSA received in LSA Acknowledgements"; - } - leaf output-lsa-acks { - type uint32; - description "Number of LSA Acknowledgements sent"; - } - leaf output-lsa-acks-lsa { - type uint32; - description "Number of LSA sent in LSA Acknowledgements"; - } - } - - grouping PM-OSPF-V2PROTO-BAG { - description "PM OSPF v2 Protocol Information"; - leaf time-stamp { - type uint64; - units "second"; - description "Timestamp of sample in seconds drom UCT"; - } - leaf input-packets { - type uint32; - description "Total number of packets received"; - } - leaf output-packets { - type uint32; - description "Total number of packets sent"; - } - leaf input-hello-packets { - type uint32; - description "Number of Hello packets received"; - } - leaf output-hello-packets { - type uint32; - description "Number of Hello packets sent"; - } - leaf input-db-ds { - type uint32; - description "Number of DBD packets received"; - } - leaf input-db-ds-lsa { - type uint32; - description "Number of LSA received in DBD packets"; - } - leaf output-db-ds { - type uint32; - description "Number of DBD packets sent"; - } - leaf output-db-ds-lsa { - type uint32; - description "Number of LSA sent in DBD packets"; - } - leaf input-ls-requests { - type uint32; - description "Number of LS Requests received"; - } - leaf input-ls-requests-lsa { - type uint32; - description "Number of LSA received in LS Requests"; - } - leaf output-ls-requests { - type uint32; - description "Number of LS Requests sent"; - } - leaf output-ls-requests-lsa { - type uint32; - description "Number of LSA sent in LS Requests"; - } - leaf input-lsa-updates { - type uint32; - description "Number of LSA Updates received"; - } - leaf input-lsa-updates-lsa { - type uint32; - description "Number of LSA received in LSA Updates"; - } - leaf output-lsa-updates { - type uint32; - description "Number of LSA Updates sent"; - } - leaf output-lsa-updates-lsa { - type uint32; - description "Number of LSA sent in LSA Updates"; - } - leaf input-lsa-acks { - type uint32; - description "Number of LSA Acknowledgements received"; - } - leaf input-lsa-acks-lsa { - type uint32; - description "Number of LSA received in LSA Acknowledgements"; - } - leaf output-lsa-acks { - type uint32; - description "Number of LSA Acknowledgements sent"; - } - leaf output-lsa-acks-lsa { - type uint32; - description "Number of LSA sent in LSA Acknowledgements"; - } - leaf checksum-errors { - type uint32; - description "Number of packets received with checksum errors"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper.yang deleted file mode 100644 index 0d2f788..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-manageability-perfmgmt-oper.yang +++ /dev/null @@ -1,390 +0,0 @@ -module Cisco-IOS-XR-manageability-perfmgmt-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-manageability-perfmgmt-oper"; - - - prefix "manageability-perfmgmt-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-manageability-perfmgmt-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR manageability-perfmgmt package operational data. - - This module contains definitions - for the following management objects: - perf-mgmt: Performance Management agent operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pm-process-id { - type int32; - description "Pm process id"; - } - typedef Pm-sample-id { - type int32; - description "Pm sample id"; - } - - grouping MPLS { - description "Common node of periodic, monitor"; - - container mpls { - description "Collected MPLS data"; - - container ldp-neighbors { - description - "LDP neighbors for which statistics are - collected"; - - list ldp-neighbor { - key "nbr"; - description "Samples for a particular LDP neighbor"; - - container samples { - description "Samples for a particular LDP neighbor"; - - list sample { - key "sample-id"; - description "LDP neighbor statistics sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-MPLS-LDP-BAG; - } - } - leaf nbr { - type inet:ipv4-address-no-zone; - description "Neighbor Address"; - } - } - } - } - } - - grouping INTERFACE { - description "Common node of periodic, monitor"; - - container interface { - description "Collected Interface data"; - - container generic-counter-interfaces { - description - "Interfaces for which Generic Counters are - collected"; - - list generic-counter-interface { - key "interface-name"; - description "Samples for a particular interface"; - - container samples { - description "Generic Counter samples for an interface"; - - list sample { - key "sample-id"; - description "Generic Counters sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-INTERFACE-GENERIC-BAG; - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container basic-counter-interfaces { - description - "Interfaces for which Basic Counters are - collected"; - - list basic-counter-interface { - key "interface-name"; - description "Samples for a particular interface"; - - container samples { - description "Basic Counter samples for an interface"; - - list sample { - key "sample-id"; - description "Basic Counters sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-INTERFACE-BASIC-STATS; - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - - container data-rate-interfaces { - description "Interfaces for which Data Rates are collected"; - - list data-rate-interface { - key "interface-name"; - description "Samples for a particular interface"; - - container samples { - description "Data Rate samples for an interface"; - - list sample { - key "sample-id"; - description "Data Rates sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-INTERFACE-DATARATE-BAG; - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } - } - } - - grouping NODE-TABLE { - description "Common node of periodic, monitor"; - - container nodes { - description "Nodes for which data is collected"; - - list node { - key "node-id"; - description "Node Instance"; - - container sample-xr { - description "Node CPU data"; - - list sample { - key "sample-id"; - description "Node CPU data sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-NODE-CPU-BAG; - } - } - - container processes { - description "Processes data"; - - list process { - key "process-id"; - description "Process data"; - - container samples { - description "Process data"; - - list sample { - key "sample-id"; - description "Process data sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-NODE-PROCESS-BAG; - } - } - leaf process-id { - type Pm-process-id; - description "Process ID"; - } - } - } - - container samples { - description "Node Memory data"; - - list sample { - key "sample-id"; - description "Node Memory data sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-NODE-MEM-BAG; - } - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - grouping OSPF { - description "Common node of periodic, monitor"; - - container ospf { - description "Collected OSPF data"; - - container ospfv2-protocol-instances { - description - "OSPF v2 instances for which protocol statistics - are collected"; - - list ospfv2-protocol-instance { - key "instance-name"; - description - "Protocol samples for a particular OSPF v2 - instance"; - - container samples { - description "Sample Table for an OSPV v2 instance"; - - list sample { - key "sample-id"; - description "Generic Counters sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-OSPF-V2PROTO-BAG; - } - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "OSPF Instance Name"; - } - } - } - - container ospfv3-protocol-instances { - description - "OSPF v3 instances for which protocol statistics - are collected"; - - list ospfv3-protocol-instance { - key "instance-name"; - description - "Protocol samples for a particular OSPF v3 - instance"; - - container samples { - description "Sample Table for an OSPV v3 instance"; - - list sample { - key "sample-id"; - description "Generic Counters sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-OSPF-V3PROTO-BAG; - } - } - leaf instance-name { - type xr:Cisco-ios-xr-string; - description "OSPF Instance Name"; - } - } - } - } - } - - grouping BGP { - description "Common node of periodic, monitor"; - - container bgp { - description "Collected BGP data"; - - container bgp-neighbors { - description "Neighbors for which statistics are collected"; - - list bgp-neighbor { - key "ip-address"; - description "Samples for particular neighbor"; - - container samples { - description "Sample Table for a BGP neighbor"; - - list sample { - key "sample-id"; - description "Neighbor statistics sample"; - leaf sample-id { - type Pm-sample-id; - description "Sample ID"; - } - uses PM-BGP-NBR-BAG; - } - } - leaf ip-address { - type inet:ipv4-address-no-zone; - description "BGP Neighbor Identifier"; - } - } - } - } - } - - container perf-mgmt { - config false; - description "Performance Management agent operational data"; - - container periodic { - description "Data from periodic requests"; - uses OSPF; - uses MPLS; - uses NODE-TABLE; - uses BGP; - uses INTERFACE; - } - - container monitor { - description "Data from monitor (one history period) requests"; - uses OSPF; - uses MPLS; - uses NODE-TABLE; - uses BGP; - uses INTERFACE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mdrv-lib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mdrv-lib-cfg.yang deleted file mode 100644 index da134e8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mdrv-lib-cfg.yang +++ /dev/null @@ -1,80 +0,0 @@ -module Cisco-IOS-XR-mdrv-lib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg"; - - - prefix "mdrv-lib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mdrv-lib package configuration. - - This module contains definitions - for the following management objects: - fast-shutdown: Fast Shutdown configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container fast-shutdown { - description "Fast Shutdown configuration"; - leaf ethernet { - type empty; - description - "Enable Fast Shutdown for all Ethernet interfaces"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf fast-shutdown { - type empty; - description "Enable Fast Shutdown for this interface"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - leaf mac-addr { - type yang:mac-address; - description "Set the Mac address on an interface"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-cfg.yang deleted file mode 100644 index 504399a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-cfg.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-mpls-io-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg"; - - - prefix "mpls-io-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-io package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-18" { - description - "IOS XR 6.2.2 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container mpls { - description "MPLS configuration under an interface"; - - container label-security { - description "MPLS label security"; - leaf multi-label-drop { - type empty; - description - "Enable drop of multi-labelled incoming packets - on a Interface"; - } - leaf rpf { - type empty; - description - "Enable MPLS RPF for incoming packets on a - Interface"; - } - } - leaf mtu { - type uint32 { - range "68..65535"; - } - description "Set the MPLS MTU for the interface"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper-sub1.yang deleted file mode 100644 index 67d2c5c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper-sub1.yang +++ /dev/null @@ -1,61 +0,0 @@ -submodule Cisco-IOS-XR-mpls-io-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-io-oper { - prefix Cisco-IOS-XR-mpls-io-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-io package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-18" { - description - "IOS XR 6.2.2 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MPLS-IO-SHOW-INTF-INFO { - description "MPLS EA information for a particular Interface"; - leaf mtu { - type uint32; - description "MTU for fragmentation"; - } - leaf bkp-label-stack-depth { - type uint8; - description "Bkp Label Stack Depth"; - } - leaf srte-label-stack-depth { - type uint8; - description "Srte Label Stack Depth"; - } - leaf pri-label-stack-depth { - type uint8; - description "Pri Label Stack Depth"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper.yang deleted file mode 100644 index a6c1f9b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-io-oper.yang +++ /dev/null @@ -1,123 +0,0 @@ -module Cisco-IOS-XR-mpls-io-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper"; - - - prefix "mpls-io-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-io-oper-sub1 { - revision-date 2017-05-18; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-io package operational data. - - This module contains definitions - for the following management objects: - mpls-ea: MPLS IO EA operational data - mpls-ma: mpls ma - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-18" { - description - "IOS XR 6.2.2 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mpls-ea { - config false; - description "MPLS IO EA operational data"; - - container nodes { - description - "NODE container class for MPLS IO EA operational - data"; - - list node { - key "node-name"; - description "Per node MPLS IO EA operational data"; - - container interfaces { - description "MPLS IO EA Interfaces information "; - - list interface { - key "interface-name"; - description "MPLS IO EA NODE Interface data "; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-IO-SHOW-INTF-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } - - container mpls-ma { - config false; - description "mpls ma"; - - container nodes { - description - "NODE container class for MPLS IO MA operational - data"; - - list node { - key "node-name"; - description "Per node MPLS IO MA operational data"; - - container interfaces { - description "MPLS IO MA Interfaces information "; - - list interface { - key "interface-name"; - description "MPLS IO MA NODE Interface data "; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-IO-SHOW-INTF-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang deleted file mode 100644 index 2c40d6e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang +++ /dev/null @@ -1,135 +0,0 @@ -module Cisco-IOS-XR-mpls-ldp-cfg-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-mpls-ldp-cfg-datatypes"; - - - prefix "mpls-ldp-cfg-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp-cfg-datat package configuration. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-ldp-nbr-password { - type enumeration { - enum disable { - value 1; - description - "Disable the global default password for this - neighbor"; - } - enum specified { - value 2; - description "Specify a password for this neighbor"; - } - } - description "Mpls ldp nbr password"; - } - typedef Mpls-ldp-downstream-on-demand { - type enumeration { - enum peer-acl { - value 1; - description "Downstream on Demand peers permitted by ACL"; - } - } - description "Mpls ldp downstream on demand"; - } - typedef Mpls-ldp-router-id { - type enumeration { - enum address { - value 1; - description "Use given IP address as LDP Router ID"; - } - } - description "Mpls ldp router id"; - } - typedef Mpls-ldp-interval-time { - type uint32 { - range "1..65535"; - } - description "Mpls ldp interval time"; - } - typedef Mpls-ldp-hold-time { - type uint32 { - range "1..65535"; - } - description "Mpls ldp hold time"; - } - typedef Mpls-ldpaf-name { - type enumeration { - enum ipv4 { - value 4; - description "IPv4"; - } - enum ipv6 { - value 6; - description "IPv6"; - } - } - description "Mpls ldpaf name"; - } - typedef Mpls-ldp-session-protection { - type enumeration { - enum all { - value 1; - description "Protect all peer sessions"; - } - enum for { - value 2; - description "Protect peer session(s) permitted by peer ACL"; - } - enum all-with-duration { - value 3; - description - "Protect all peer sessions and holdup protection - for given duration"; - } - enum for-with-duration { - value 4; - description - "Protect peer session(s) permitted by peer ACL - and holdup protection for given duration"; - } - enum all-with-forever { - value 5; - description - "Protect all peer sessions and holdup protection - forever"; - } - enum for-with-forever { - value 6; - description - "Protect peer session(s) permitted by peer ACL - and holdup protection forever"; - } - } - description "Mpls ldp session protection"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg.yang deleted file mode 100644 index b2c2550..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-cfg.yang +++ /dev/null @@ -1,1750 +0,0 @@ -module Cisco-IOS-XR-mpls-ldp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg"; - - - prefix "mpls-ldp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp package configuration. - - This module contains definitions - for the following management objects: - mpls-ldp: MPLS LDP configuration - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-ldp-nbr-password { - type enumeration { - enum disable { - value 1; - description - "Disable the global default password for this - neighbor"; - } - enum specified { - value 2; - description "Specify a password for this neighbor"; - } - } - description "Mpls ldp nbr password"; - } - typedef Mpls-ldp-label-allocation { - type enumeration { - enum acl { - value 1; - description "Allocate label for prefixes permitted by ACL"; - } - enum host { - value 2; - description "Allocate label for host routes only"; - } - } - description "Mpls ldp label allocation"; - } - typedef Mpls-ldp-downstream-on-demand { - type enumeration { - enum peer-acl { - value 1; - description "Downstream on Demand peers permitted by ACL"; - } - } - description "Mpls ldp downstream on demand"; - } - typedef Mldp-policy-mode { - type enumeration { - enum inbound { - value 1; - description "Inbound route policy"; - } - enum outbound { - value 2; - description "Outbound route policy"; - } - } - description "Mldp policy mode"; - } - typedef Mpls-ldp-targeted-accept { - type enumeration { - enum all { - value 1; - description "Accept targeted hello from all"; - } - enum from { - value 2; - description "Accept targeted hello from peer ACL"; - } - } - description "Mpls ldp targeted accept"; - } - typedef Mpls-ldp-interval-time { - type uint32 { - range "1..65535"; - } - description "Mpls ldp interval time"; - } - typedef Mpls-ldp-mesh-group-id { - type uint32 { - range "0..4294967295"; - } - description "Mpls ldp mesh group id"; - } - typedef Mpls-ldp-exp-null { - type enumeration { - enum all { - value 1; - description - "Advertise explicit-null for all connected - prefixes to all peers"; - } - enum for { - value 2; - description - "Advertise explicit-null for prefix(es) - permitted by prefix ACL"; - } - enum to { - value 3; - description - "Advertise explicit-null for all connected - prefixes to peer(s) permitted by peer ACL"; - } - enum for-to { - value 4; - description - "Advertise explicit-null for prefix(es) - permitted by prefix ACL to peer(s) permitted by - peer ACL"; - } - } - description "Mpls ldp exp null"; - } - typedef Mpls-ldp-hold-time { - type uint32 { - range "1..65535"; - } - description "Mpls ldp hold time"; - } - typedef Mpls-ldp-dscp { - type uint32 { - range "0..63"; - } - description "Mpls ldp dscp"; - } - typedef Mpls-ldpaf-name { - type enumeration { - enum ipv4 { - value 4; - description "IPv4"; - } - enum ipv6 { - value 6; - description "IPv6"; - } - } - description "Mpls ldpaf name"; - } - typedef Mpls-ldp-transport-address { - type enumeration { - enum interface { - value 1; - description "Use interface IP address"; - } - enum address { - value 2; - description "Use given IP address"; - } - } - description "Mpls ldp transport address"; - } - typedef Mpls-ldp-session-protection { - type enumeration { - enum all { - value 1; - description "Protect all peer sessions"; - } - enum for { - value 2; - description "Protect peer session(s) permitted by peer ACL"; - } - enum all-with-duration { - value 3; - description - "Protect all peer sessions and holdup protection - for given duration"; - } - enum for-with-duration { - value 4; - description - "Protect peer session(s) permitted by peer ACL - and holdup protection for given duration"; - } - enum all-with-forever { - value 5; - description - "Protect all peer sessions and holdup protection - forever"; - } - enum for-with-forever { - value 6; - description - "Protect peer session(s) permitted by peer ACL - and holdup protection forever"; - } - } - description "Mpls ldp session protection"; - } - typedef Mpls-ldp-label-advertise { - type enumeration { - enum for { - value 1; - description - "Advertise label for prefix(es) permitted by - prefix ACL"; - } - enum for-to { - value 2; - description - "Advertise label for prefix(es) permitted by - prefix ACL to peer(s) permitted by peer ACL"; - } - } - description "Mpls ldp label advertise"; - } - typedef Mpls-ldp-advertise-bgp-acl { - type enumeration { - enum peer-acl { - value 1; - description - "BGP prefixes advertised to peers permitted by - ACL"; - } - } - description "Mpls ldp advertise bgp acl"; - } - - grouping ENABLE { - description "Common node of mldp, vrf"; - leaf enable { - type empty; - description - "Enable Multicast Label Distribution Protocol - (mLDP)"; - } - } - - grouping AF-TABLE { - description "Common node of default-vrf, vrf"; - - container afs { - description "Address Family specific operational data"; - - list af { - key "af-name"; - description "Operational data for given Address Family"; - - container recursive-forwarding { - description "Enable recursive forwarding"; - leaf enable { - type empty; - description "Enable recursive forwarding"; - } - leaf policy { - type string { - length "1..64"; - } - description "Recursive forwarding policy name"; - } - } - - container mldp-recursive-fec { - description "MPLS mLDP Recursive FEC"; - leaf enable { - type empty; - description "Enable MPLS mLDP Recursive FEC"; - } - leaf policy { - type string { - length "1..64"; - } - description "Route policy name"; - } - } - - container neighbor-policies { - description "MLDP neighbor policies"; - - list neighbor-policy { - key "root-address policy-mode"; - description "Route Policy"; - leaf root-address { - type inet:ipv4-address-no-zone; - description "Neighbor Address"; - } - leaf policy-mode { - type Mldp-policy-mode; - description "Inbound/Outbound Policy"; - } - leaf route-policy { - type string { - length "1..64"; - } - mandatory true; - description "Route policy name"; - } - } - } - - container mo-frr { - description "MPLS mLDP MoFRR"; - leaf enable { - type empty; - description "Enable MPLS mLDP MoFRR"; - } - leaf policy { - type string { - length "1..64"; - } - description "Route policy name"; - } - } - - container make-before-break { - description "MPLS mLDP Make-Before-Break configuration"; - - container signaling { - description "Enable MPLS mLDP MBB signaling"; - leaf forward-delay { - type uint32 { - range "0..600"; - } - units "second"; - description "Forwarding Delay in Seconds"; - } - leaf delete-delay { - type uint32 { - range "0..60"; - } - units "second"; - description "Delete Delay in seconds"; - } - } - leaf policy { - type string { - length "1..64"; - } - description "Route policy name"; - } - } - - container csc { - description "MPLS mLDP CSC"; - leaf enable { - type empty; - description "Enable MPLS mLDP CSC"; - } - } - leaf enable { - type empty; - description - "Enable Multicast Label Distribution Protocol - (mLDP) under AF."; - } - leaf mldp-rib-unicast-always { - type empty; - description - "Enable MPLS MLDP RIB unicast-always - configuration"; - } - leaf af-name { - type Mpls-ldpaf-name; - description "Address Family name"; - } - } - } - } - - container mpls-ldp { - description "MPLS LDP configuration"; - - container default-vrf { - description "Global VRF attribute configuration for MPLS LDP"; - - container afs { - description - "Address Family specific configuration for MPLS - LDP"; - - list af { - key "af-name"; - description "Configure data for given Address Family"; - - container label { - description "Configure Label policies and control"; - - container remote { - description - "Configure remote/peer label policies and - control"; - - container accept { - description "Configure inbound label acceptance"; - - container peer-accept-policies { - description - "Configuration related to neighbors for - inbound label acceptance"; - - list peer-accept-policy { - key "lsr-id label-space-id"; - description - "Control acceptance of labels from a - neighbor for prefix(es) using ACL"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - leaf prefix-acl-name { - type string; - mandatory true; - description "Name of prefix ACL"; - } - } - } - } - } - - container local { - description - "Configure local label policies and control"; - - container advertise { - description - "Configure outbound label advertisement"; - - container peer-advertise-policies { - description - "Configure peer centric outbound label - advertisement using ACL"; - - list peer-advertise-policy { - key "lsr-id label-space-id"; - description - "Control advertisement of prefix(es) using - ACL"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - leaf prefix-acl-name { - type string; - mandatory true; - description "Name of prefix ACL"; - } - } - } - - container prefix-advertise-policies { - description - "Configure prefix centric outbound label - advertisement using ACL"; - - list prefix-advertise-policy { - key "prefix-acl-name"; - description - "Control advertisement of prefix(es) using - ACL"; - leaf prefix-acl-name { - type xr:Cisco-ios-xr-string; - description "Name of prefix ACL"; - } - leaf advertise-type { - type Mpls-ldp-label-advertise; - description "Label advertise type"; - } - leaf peer-acl-name { - when "../advertise-type = 'for-to'" { - description "../AdvertiseType = ForTo"; - } - type string; - description "Name of peer ACL"; - } - } - } - - container explicit-null { - description - "Configure advertisment of explicit-null - for connected prefixes."; - leaf explicit-null-type { - type Mpls-ldp-exp-null; - description "Explicit Null command variant"; - } - leaf prefix-acl-name { - when "../explicit-null-type = 'for' or"+ - " ../explicit-null-type = 'for-to'" { - description - "../ExplicitNullType = For or . - ./ExplicitNullType = ForTo"; - } - type string; - description "Name of prefix ACL"; - } - leaf peer-acl-name { - when "../explicit-null-type = 'to' or"+ - " ../explicit-null-type = 'for-to'" { - description - "../ExplicitNullType = To or . - ./ExplicitNullType = ForTo"; - } - type string; - description "Name of peer ACL"; - } - } - - container interfaces { - description - "Configure outbound label advertisement for - an interface"; - - list interface { - key "interface-name"; - description - "Control advertisement of interface's host - IP address"; - leaf interface-name { - type xr:Interface-name; - description "Name of interface"; - } - } - } - leaf disable { - type empty; - description "Disable label advertisement"; - } - } - - container allocate { - description - "Control local label allocation for - prefix(es)"; - leaf allocation-type { - type Mpls-ldp-label-allocation; - description "Label allocation type"; - } - leaf prefix-acl-name { - when "../allocation-type = 'acl'" { - description "../AllocationType = ACL"; - } - type string; - description "Name of prefix ACL"; - } - } - leaf implicit-null-override { - type string; - description - "Control use of implicit-null label for set - of prefix(es)"; - } - leaf default-route { - type empty; - description - "Enable MPLS forwarding for default route"; - } - } - } - - container discovery { - description "Configure Discovery parameters"; - - container targeted-hello-accept { - description - "Configure acceptance from and responding to - targeted hellos."; - leaf accept-type { - type Mpls-ldp-targeted-accept; - description "Type of acceptance"; - } - leaf peer-acl-name { - when "../accept-type = 'from'" { - description "../AcceptType = From"; - } - type string; - description "Name of peer ACL"; - } - } - leaf transport-address { - type inet:ip-address-no-zone; - description - "Global discovery transport address for - address family"; - } - } - - container traffic-engineering { - description - "MPLS Traffic Engingeering parameters for LDP"; - - container auto-tunnel-mesh { - description - "MPLS Traffic Engineering auto-tunnel mesh - parameters for LDP"; - - container group-ids { - description - "Enable interfaces in specific MPLS TE - auto-tunnel mesh-groups"; - - list group-id { - key "mesh-group-id"; - description - "Auto-mesh group identifier to enable"; - leaf mesh-group-id { - type Mpls-ldp-mesh-group-id; - description "Mesh group ID"; - } - } - } - leaf group-all { - type empty; - description - "Enable all MPLS TE auto-tunnel mesh-group - interfaces"; - } - } - } - - container neighbor { - description "Configuration related to Neighbors"; - - container addresses { - description - "Configuration related to neighbors using - neighbor address"; - - list address { - key "ip-address"; - description - "IP address based configuration related to a - neighbor"; - leaf targeted { - type empty; - description - "Establish targeted session with given - address"; - } - leaf ip-address { - type inet:ip-address-no-zone; - description "The IP address"; - } - } - } - } - - container redistribution-protocol { - description - "MPLS LDP configuration for protocol - redistribution"; - - container bgp { - description - "MPLS LDP configuration for protocol - redistribution"; - - container as { - description - "MPLS LDP configuration for protocol - redistribution"; - leaf as-xx { - type uint32 { - range "0..65535"; - } - description - "First half of BGP AS number in XX.YY - format. Mandatory Must be a non-zero - value if second half is zero."; - } - leaf as-yy { - type uint32 { - range "0..4294967295"; - } - description - "Second half of BGP AS number in XX.YY - format. Mandatory Must be a non-zero value - if first half is zero."; - } - } - - container advertise-to { - description - "ACL containing list of neighbors for BGP - route redistribution"; - leaf type { - type Mpls-ldp-advertise-bgp-acl; - description "advertise to peer acl type"; - } - leaf peer-acl-name { - when "../type = 'peer-acl'" { - description "../Type = PeerACL"; - } - type string; - description "Name of peer ACL"; - } - } - } - } - leaf enable { - type empty; - description "Enable Address Family"; - } - leaf af-name { - type Mpls-ldpaf-name; - description "Address Family type"; - } - } - } - - container global { - description "Default VRF Global configuration for MPLS LDP"; - - container session { - description "LDP Session parameters"; - - container protection { - description "Configure Session Protection parameters"; - leaf protection-type { - type Mpls-ldp-session-protection; - description "Session protection type"; - } - leaf peer-acl-name { - when "../protection-type = 'for' or"+ - " ../protection-type = 'for-with-duration' or"+ - " ../protection-type = 'for-with-forever'" { - description - "../ProtectionType = For or . - ./ProtectionType = ForWithDuration or . - ./ProtectionType = ForWithForever"; - } - type string; - description "Name of peer ACL"; - } - leaf duration { - when "../protection-type = 'all-with-duration' or"+ - " ../protection-type = 'for-with-duration'" { - description - "../ProtectionType = AllWithDuration or . - ./ProtectionType = ForWithDuration"; - } - type uint32 { - range "30..2147483"; - } - description "Holdup duration"; - } - } - - container downstream-on-demand { - description - "ACL with the list of neighbors configured for - Downstream on Demand"; - leaf type { - type Mpls-ldp-downstream-on-demand; - description "Downstream on demand type"; - } - leaf peer-acl-name { - when "../type = 'peer-acl'" { - description "../Type = PeerACL"; - } - type string; - description "Name of peer ACL"; - } - } - } - - container neighbor { - description "Configuration related to Neighbors"; - - container ldp-ids { - description - "Configuration related to Neighbors using LDP - Id"; - - list ldp-id { - key "lsr-id label-space-id"; - description - "LDP ID based configuration related to a - neigbor"; - - container password { - description - "Password for MD5 authentication for this - neighbor"; - leaf command-type { - type Mpls-ldp-nbr-password; - description - "Command type for password configuration"; - } - leaf password { - when "../command-type = 'specified'" { - description "../CommandType = Specified"; - } - type xr:Proprietary-password; - description "The neighbor password"; - } - } - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - } - } - - container dual-stack { - description - "Configuration related to neighbor transport"; - - container transport-connection { - description - "Configuration related to neighbor transport"; - - container prefer { - description - "Configuration related to neighbor - dual-stack xport-connection preference"; - leaf ipv4 { - type empty; - description - "Configuration related to neighbor - dual-stack xport-connection preference - ipv4"; - } - } - leaf max-wait { - type uint32 { - range "0..60"; - } - units "second"; - description - "Configuration related to neighbor - dual-stack xport-connection max-wait"; - } - } - leaf tlv-compliance { - type empty; - description - "Configuration to enable neighbor dual-stack - tlv-compliance"; - } - } - leaf password { - type xr:Proprietary-password; - description "Default password for all neigbors"; - } - } - - container graceful-restart { - description - "Configuration for per-VRF LDP Graceful Restart - parameters"; - - container helper-peer { - description - "Configure parameters related to GR peer(s) - opearating in helper mode"; - leaf maintain-on-local-reset { - type string; - description - "Maintain the state of a GR peer upon a local - reset"; - } - } - } - leaf router-id { - type inet:ipv4-address-no-zone; - description "Configuration for LDP Router ID (LDP ID)"; - } - } - - container interfaces { - description - "MPLS LDP configuration pertaining to interfaces"; - - list interface { - key "interface-name"; - description - "MPLS LDP configuration for a particular - interface"; - - container afs { - description - "Address Family specific configuration for - MPLS LDP intf"; - - list af { - key "af-name"; - description "Configure data for given Address Family"; - - container discovery { - description - "Configure interface discovery parameters"; - - container transport-address { - description - "MPLS LDP configuration for interface - discovery transportaddress."; - leaf address-type { - type Mpls-ldp-transport-address; - description "Transport address option"; - } - leaf address { - when "../address-type = 'address'" { - description "../AddressType = Address"; - } - type inet:ip-address-no-zone; - description "IP address"; - } - } - } - - container igp { - description "LDP interface IGP configuration"; - leaf disable-auto-config { - type empty; - description - "Disable IGP Auto-config on this interface"; - } - } - - container mldp { - description - "Interface configuration parameters for mLDP"; - leaf disable { - type empty; - description - "Disable mLDP on LDP enabled interface"; - } - } - leaf enable { - type empty; - description "Enable Address Family"; - } - leaf af-name { - type Mpls-ldpaf-name; - description "Address Family name"; - } - } - } - - container global { - description - "Per VRF interface Global configuration for - MPLS LDP"; - - container discovery { - description - "Configure interface discovery parameters"; - - container link-hello { - description "LDP Link Hellos"; - leaf interval { - type Mpls-ldp-interval-time; - units "second"; - default "5"; - description "Link Hello interval"; - } - leaf dual-stack { - type Mpls-ldpaf-name; - default "ipv4"; - description - "Dual Stack Address Family Preference"; - } - leaf hold-time { - type Mpls-ldp-hold-time; - units "second"; - default "15"; - description - "Time (seconds) - 65535 implies infinite"; - } - } - leaf disable-quick-start { - type empty; - description "Disable discovery's quick start mode"; - } - } - - container igp { - description "LDP IGP configuration"; - - container sync { - description "LDP IGP synchronization"; - - container delay { - description "LDP IGP synchronization delay time"; - - container on-session-up { - description - "Interface sync up delay after session up"; - leaf disable { - type empty; - description "Disable delay after session up"; - } - leaf timeout { - type uint32 { - range "5..300"; - } - units "second"; - description "Time (seconds)"; - } - } - } - } - } - } - leaf enable { - type empty; - description - "Enable Label Distribution Protocol (LDP) on - thisinterface"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of interface"; - } - } - } - } - - container vrfs { - description "VRF Table attribute configuration for MPLS LDP"; - - list vrf { - key "vrf-name"; - description "VRF attribute configuration for MPLS LDP"; - - container global { - description "Per VRF Global configuration for MPLS LDP"; - - container session { - description "LDP Session parameters"; - - container downstream-on-demand { - description - "ACL with the list of neighbors configured - for Downstream on Demand"; - leaf type { - type Mpls-ldp-downstream-on-demand; - description "Downstream on demand type"; - } - leaf peer-acl-name { - when "../type = 'peer-acl'" { - description "../Type = PeerACL"; - } - type string; - description "Name of peer ACL"; - } - } - } - - container neighbor { - description "Configuration related to Neighbors"; - - container ldp-ids { - description - "Configuration related to Neighbors using LDP - Id"; - - list ldp-id { - key "lsr-id label-space-id"; - description - "LDP ID based configuration related to a - neigbor"; - - container password { - description - "Password for MD5 authentication for this - neighbor"; - leaf command-type { - type Mpls-ldp-nbr-password; - description - "Command type for password configuration"; - } - leaf password { - when "../command-type = 'specified'" { - description "../CommandType = Specified"; - } - type xr:Proprietary-password; - description "The neighbor password"; - } - } - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - } - } - leaf password { - type xr:Proprietary-password; - description "Default password for all neigbors"; - } - } - - container graceful-restart { - description - "Configuration for per-VRF LDP Graceful - Restart parameters"; - - container helper-peer { - description - "Configure parameters related to GR peer(s) - opearating in helper mode"; - leaf maintain-on-local-reset { - type string; - description - "Maintain the state of a GR peer upon a - local reset"; - } - } - } - leaf router-id { - type inet:ipv4-address-no-zone; - description "Configuration for LDP Router ID (LDP ID)"; - } - } - - container afs { - description - "Address Family specific configuration for MPLS - LDP vrf"; - - list af { - key "af-name"; - description "Configure data for given Address Family"; - - container discovery { - description "Configure Discovery parameters"; - leaf transport-address { - type inet:ip-address-no-zone; - description - "Global discovery transport address for - address family"; - } - } - - container label { - description "Configure Label policies and control"; - - container remote { - description - "Configure remote/peer label policies and - control"; - - container accept { - description "Configure inbound label acceptance"; - - container peer-accept-policies { - description - "Configuration related to Neighbors for - inbound label acceptance"; - - list peer-accept-policy { - must "peer-accept-policy-data or lsr-id" { - description - "peer-accept-policy-data or lsr-id must - be present."; - } - key "label-space-id"; - description - "Control acceptasnce of labels from a - neighbor for prefix(es) using ACL"; - - grouping PEER-ACCEPT-POLICY-CONTENT { - description "Content grouping."; - leaf prefix-acl-name { - type string; - mandatory true; - description "Name of prefix ACL"; - } - } - - container peer-accept-policy-data { - description "Data container."; - uses PEER-ACCEPT-POLICY-CONTENT; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - - list lsr-id { - key "lsr-id"; - description "keys: lsr-id"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - uses PEER-ACCEPT-POLICY-CONTENT; - } - } - } - } - } - - container local { - description - "Configure local label policies and control"; - - container advertise { - description - "Configure outbound label advertisement"; - - container peer-advertise-policies { - description - "Configure peer centric outbound label - advertisement using ACL"; - - list peer-advertise-policy { - must "peer-advertise-policy-data or lsr-id" { - description - "peer-advertise-policy-data or lsr-id - must be present."; - } - key "label-space-id"; - description - "Control advertisement of prefix(es) - using ACL"; - - grouping PEER-ADVERTISE-POLICY-CONTENT { - description "Content grouping."; - leaf prefix-acl-name { - type string; - mandatory true; - description "Name of prefix ACL"; - } - } - - container peer-advertise-policy-data { - description "Data container."; - uses PEER-ADVERTISE-POLICY-CONTENT; - } - leaf label-space-id { - type uint32; - description "Label space ID of neighbor"; - } - - list lsr-id { - key "lsr-id"; - description "keys: lsr-id"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - uses PEER-ADVERTISE-POLICY-CONTENT; - } - } - } - - container interfaces { - description - "Configure outbound label advertisement - for an interface"; - - list interface { - key "interface-name"; - description - "Control advertisement of interface's - host IP address"; - leaf interface-name { - type xr:Interface-name; - description "Name of interface"; - } - } - } - - container explicit-null { - description - "Configure advertisment of explicit-null - for connected prefixes."; - leaf explicit-null-type { - type Mpls-ldp-exp-null; - description "Explicit Null command variant"; - } - leaf prefix-acl-name { - when "../explicit-null-type = 'for' or"+ - " ../explicit-null-type = 'for-to'" { - description - "../ExplicitNullType = For or . - ./ExplicitNullType = ForTo"; - } - type string; - description "Name of prefix ACL"; - } - leaf peer-acl-name { - when "../explicit-null-type = 'to' or"+ - " ../explicit-null-type = 'for-to'" { - description - "../ExplicitNullType = To or . - ./ExplicitNullType = ForTo"; - } - type string; - description "Name of peer ACL"; - } - } - leaf disable { - type empty; - description "Disable label advertisement"; - } - } - - container allocate { - description - "Control local label allocation for - prefix(es)"; - leaf allocation-type { - type Mpls-ldp-label-allocation; - description "Label allocation type"; - } - leaf prefix-acl-name { - when "../allocation-type = 'acl'" { - description "../AllocationType = ACL"; - } - type string; - description "Name of prefix ACL"; - } - } - leaf implicit-null-override { - type string; - description - "Control use of implicit-null label for set - of prefix(es)"; - } - leaf default-route { - type empty; - description - "Enable MPLS forwarding for default route"; - } - } - } - leaf enable { - type empty; - description "Enable Address Family"; - } - leaf af-name { - type Mpls-ldpaf-name; - description "Address Family name"; - } - } - } - - container interfaces { - description - "MPLS LDP configuration pertaining to - interfaces"; - - list interface { - key "interface-name"; - description - "MPLS LDP configuration for a particular - interface"; - - container afs { - description - "Address Family specific configuration for - MPLS LDP vrf intf"; - - list af { - key "af-name"; - description - "Configure data for given Address Family"; - - container discovery { - description - "Configure interface discovery parameters"; - - container transport-address { - description - "MPLS LDP configuration for interface - discovery transportaddress."; - leaf address-type { - type Mpls-ldp-transport-address; - description "Transport address option"; - } - leaf address { - when "../address-type = 'address'" { - description "../AddressType = Address"; - } - type inet:ip-address-no-zone; - description "IP address"; - } - } - } - leaf enable { - type empty; - description "Enable Address Family"; - } - leaf af-name { - type Mpls-ldpaf-name; - description "Address Family name"; - } - } - } - leaf enable { - type empty; - description - "Enable Label Distribution Protocol (LDP) on - thisinterface"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of interface"; - } - } - } - leaf enable { - type empty; - description "Enable VRF"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - } - } - - container global { - description "Global configuration for MPLS LDP"; - - container entropy-label { - description "Configure for LDP Entropy-Label"; - leaf enable { - type empty; - description "none"; - } - } - - container session { - description "LDP Session parameters"; - - container backoff-time { - description "Configure Session Backoff parameters"; - leaf initial-backoff-time { - type uint32 { - range "5..2147483"; - } - units "second"; - default "15"; - description "Initial session backoff time (seconds)"; - } - leaf max-backoff-time { - type uint32 { - range "5..2147483"; - } - units "second"; - default "120"; - description "Maximum session backoff time (seconds)"; - } - } - leaf hold-time { - type uint32 { - range "15..65535"; - } - units "second"; - default "180"; - description "LDP Session holdtime"; - } - } - - container igp { - description "LDP IGP configuration"; - - container sync { - description "LDP IGP synchronization"; - - container delay { - description "LDP IGP synchronization delay time"; - leaf on-session-up { - type uint32 { - range "5..300"; - } - units "second"; - description - "Interface sync up delay after session up"; - } - leaf on-proc-restart { - type uint32 { - range "60..600"; - } - units "second"; - description - "Global sync up delay to be used after - process restart"; - } - } - } - } - - container enable-logging { - description "Enable logging of events"; - leaf nsr { - type empty; - description "Enable logging of NSR events"; - } - leaf neighbor-changes { - type empty; - description "Enable logging of neighbor events"; - } - leaf adjacency { - type empty; - description "Enable logging of adjacency events"; - } - leaf session-protection { - type empty; - description "Enable logging of session protection events"; - } - leaf gr-session-changes { - type empty; - description - "Enable logging of Graceful Restart (GR) events"; - } - } - - container signalling { - description "Configure LDP signalling parameters"; - leaf dscp { - type Mpls-ldp-dscp; - default "48"; - description "DSCP for control packets"; - } - } - - container nsr { - description "Configure LDP Non-Stop Routing"; - leaf enable { - type empty; - description "none"; - } - } - - container graceful-restart { - description - "Configuration for LDP Graceful Restart - parameters"; - leaf reconnect-timeout { - type uint32 { - range "60..1800"; - } - units "second"; - default "120"; - description - "Configure Graceful Restart Reconnect Timeout - value"; - } - leaf enable { - type empty; - description "none"; - } - leaf forwarding-hold-time { - type uint32 { - range "60..1800"; - } - units "second"; - default "180"; - description "Configure Graceful Restart Session holdtime"; - } - } - - container discovery { - description "Configure Discovery parameters"; - - container link-hello { - description "LDP Link Hellos"; - leaf interval { - type Mpls-ldp-interval-time; - units "second"; - default "5"; - description "Link Hello interval"; - } - leaf hold-time { - type Mpls-ldp-hold-time; - units "second"; - default "15"; - description "Time (seconds) - 65535 implies infinite"; - } - } - - container targeted-hello { - description "LDP Targeted Hellos"; - leaf interval { - type Mpls-ldp-interval-time; - units "second"; - default "10"; - description "Targeted Hello interval"; - } - leaf hold-time { - type Mpls-ldp-hold-time; - units "second"; - default "90"; - description "Time (seconds) - 65535 implies infinite"; - } - } - leaf disable-instance-tlv { - type empty; - description - "Disable transmit and receive processing for - private Instance TLV in LDP discovery hello - messages"; - } - leaf disable-quick-start { - type empty; - description "Disable discovery's quick start mode"; - } - } - - container mldp { - description "MPLS mLDP configuration"; - - container vrfs { - description - "VRF Table attribute configuration for MPLS LDP"; - - list vrf { - key "vrf-name"; - description "VRF attribute configuration for MPLS LDP"; - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF Name"; - } - uses ENABLE; - uses AF-TABLE; - } - } - - container default-vrf { - description - "Default VRF attribute configuration for mLDP"; - uses AF-TABLE; - } - - container mldp-global { - description "Global configuration for mLDP"; - - container logging { - description "MPLS mLDP logging"; - leaf notifications { - type empty; - description "MPLS mLDP logging notifications"; - } - } - } - uses ENABLE; - } - leaf disable-implicit-ipv4 { - type empty; - description - "Disable the implicit enabling for IPv4 address - family"; - } - leaf ltrace-buf-multiplier { - type uint32 { - range "1..5"; - } - default "1"; - description "Configure Ltrace Buffer Multiplier"; - } - } - leaf enable { - type empty; - description - "Enable Label Distribution Protocol (LDP) - globally.Without creating this object the LDP - feature will not be enabled. Deleting this - object will stop the LDP feature."; - } - } - - augment "/a1:snmp/a1:notification" { - - container mpls-ldp { - description "MPLS-LDP-STD-MIB notification configuration"; - leaf session-up { - type empty; - description "Enable mplsLdpSessionUp notification"; - } - leaf init-session-threshold-exceeded { - type empty; - description - "Enable mplsLdpInitSessionThresholdExceeded - notification"; - } - leaf session-down { - type empty; - description "Enable mplsLdpSessionDown notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang deleted file mode 100644 index 0ef0def..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang +++ /dev/null @@ -1,53 +0,0 @@ -module Cisco-IOS-XR-mpls-ldp-oper-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-mpls-ldp-oper-datatypes"; - - - prefix "mpls-ldp-oper-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp-oper-data package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-ldp-oper-af-name { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Mpls ldp oper af name"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang deleted file mode 100644 index b400d90..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang +++ /dev/null @@ -1,2856 +0,0 @@ -submodule Cisco-IOS-XR-mpls-ldp-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-ldp-oper { - prefix Cisco-IOS-XR-mpls-ldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mgmt-ldp-nbr-bgp-advt-state { - type enumeration { - enum not-applicable { - value 0; - description "Not applicable"; - } - enum permit { - value 1; - description "Advertisement permitted"; - } - enum deny { - value 2; - description "Advertisement denied"; - } - } - description - "MPLS LDP Neighbor BGP Label Advertisement State - Type"; - } - typedef Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn { - type enumeration { - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-none { - description "mgmt ldp nsr peer ldp sync nack rsn none"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-tbl-id-mismatch { - description - "mgmt ldp nsr peer ldp sync nack rsn tbl id - mismatch"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-pp-exists { - description "mgmt ldp nsr peer ldp sync nack rsn pp exists"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-missing-elem { - description - "mgmt ldp nsr peer ldp sync nack rsn missing - elem"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-p-end-sock { - description - "mgmt ldp nsr peer ldp sync nack rsn no p end - sock"; - } - enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-p-end-sock-not"+ - "-synced" { - description - "mgmt ldp nsr peer ldp sync nack rsn p end sock - not synced"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-add { - description - "mgmt ldp nsr peer ldp sync nack rsn err adj add"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-dhcb-add { - description - "mgmt ldp nsr peer ldp sync nack rsn err dhcb - add"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-enomem { - description "mgmt ldp nsr peer ldp sync nack rsn enomem"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tp-create { - description - "mgmt ldp nsr peer ldp sync nack rsn err tp - create"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pp-create { - description - "mgmt ldp nsr peer ldp sync nack rsn err pp - create"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-addr-bind { - description - "mgmt ldp nsr peer ldp sync nack rsn err addr - bind"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-bad-pie { - description - "mgmt ldp nsr peer ldp sync nack rsn err rx bad - pie"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-notif { - description - "mgmt ldp nsr peer ldp sync nack rsn err rx - notif"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-unexp-open { - description - "mgmt ldp nsr peer ldp sync nack rsn err rx - unexp open"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-unexp-peer-down { - description - "mgmt ldp nsr peer ldp sync nack rsn err unexp - peer down"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-not-found { - description - "mgmt ldp nsr peer ldp sync nack rsn err app not - found"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-invalid { - description - "mgmt ldp nsr peer ldp sync nack rsn err app - invalid"; - } - enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-grp-not"+ - "-found" { - description - "mgmt ldp nsr peer ldp sync nack rsn err adj grp - not found"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-invalid-elem { - description - "mgmt ldp nsr peer ldp sync nack rsn invalid - elem"; - } - enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-data"+ - "-invalid" { - description - "mgmt ldp nsr peer ldp sync nack rsn err app - data invalid"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-invalid-per-idx { - description - "mgmt ldp nsr peer ldp sync nack rsn err invalid - per idx"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pfx-not-found { - description - "mgmt ldp nsr peer ldp sync nack rsn err pfx not - found"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-bm-size-invalid { - description - "mgmt ldp nsr peer ldp sync nack rsn err bm size - invalid"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adv-bm-clear { - description - "mgmt ldp nsr peer ldp sync nack rsn err adv bm - clear"; - } - enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tcp-struct"+ - "-create" { - description - "mgmt ldp nsr peer ldp sync nack rsn err tcp - struct create"; - } - enum mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-ctx { - description "mgmt ldp nsr peer ldp sync nack rsn no ctx"; - } - } - description "Mgmt ldp nsr peer ldp sync nack rsn"; - } - typedef Mgmt-ldp-nsr-peer-sync-err { - type enumeration { - enum mgmt-ldp-nsr-peer-sync-err-none { - description "mgmt ldp nsr peer sync err none"; - } - enum mgmt-ldp-nsr-peer-sync-err-ldp-sync-nack { - description "mgmt ldp nsr peer sync err ldp sync nack"; - } - enum mgmt-ldp-nsr-peer-sync-err-sync-prep { - description "mgmt ldp nsr peer sync err sync prep"; - } - enum mgmt-ldp-nsr-peer-sync-err-tcp-peer { - description "mgmt ldp nsr peer sync err tcp peer"; - } - enum mgmt-ldp-nsr-peer-sync-err-tcp-gbl { - description "mgmt ldp nsr peer sync err tcp gbl"; - } - enum mgmt-ldp-nsr-peer-sync-err-ldp-peer { - description "mgmt ldp nsr peer sync err ldp peer"; - } - enum mgmt-ldp-nsr-peer-sync-err-ldp-gbl { - description "mgmt ldp nsr peer sync err ldp gbl"; - } - enum mgmt-ldp-nsr-peer-sync-err-app-fail { - description "mgmt ldp nsr peer sync err app fail"; - } - enum mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase1 { - description "mgmt ldp nsr peer sync err sync tcp phase1"; - } - enum mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase2 { - description "mgmt ldp nsr peer sync err sync tcp phase2"; - } - } - description "Mgmt ldp nsr peer sync err"; - } - typedef Mgmt-ldp-nsr-peer-sync-state { - type enumeration { - enum mgmt-ldp-nsr-peer-sync-st-none { - description "mgmt ldp nsr peer sync st none"; - } - enum mgmt-ldp-nsr-peer-sync-st-wait { - description "mgmt ldp nsr peer sync st wait"; - } - enum mgmt-ldp-nsr-peer-sync-st-ready { - description "mgmt ldp nsr peer sync st ready"; - } - enum mgmt-ldp-nsr-peer-sync-st-prep { - description "mgmt ldp nsr peer sync st prep"; - } - enum mgmt-ldp-nsr-peer-sync-st-app-wait { - description "mgmt ldp nsr peer sync st app wait"; - } - enum mgmt-ldp-nsr-peer-sync-st-oper { - description "mgmt ldp nsr peer sync st oper"; - } - enum mgmt-ldp-nsr-peer-sync-st-tcp-phase1 { - description "mgmt ldp nsr peer sync st tcp phase1"; - } - enum mgmt-ldp-nsr-peer-sync-st-tcp-phase2 { - description "mgmt ldp nsr peer sync st tcp phase2"; - } - } - description "Mgmt ldp nsr peer sync state"; - } - typedef Ldp-adj-union-discrim { - type enumeration { - enum link-hello { - description "Link hello"; - } - enum targeted-hello { - description "Targeted hello"; - } - } - description "MPLS LDP Hello Type"; - } - typedef Show-nsr-state { - type enumeration { - enum nsr-ready { - description "NSR ready"; - } - enum nsr-not-ready { - description "NSR not ready"; - } - enum nsr-na { - description "NSR not applicable"; - } - } - description "NSR State Type"; - } - typedef Ldp-route-path-lbl-owner { - type enumeration { - enum ip-path-lbl-owner-none { - value 0; - description "No label and no owner"; - } - enum ip-path-lbl-owner-ldp { - value 1; - description "Path outgoing label owned by LDP"; - } - enum ip-path-lbl-owner-bgp { - value 2; - description "Path outgoing label owned by BGP"; - } - } - description "Route path label owner"; - } - typedef Label-value { - type enumeration { - enum mpls-label { - description "MPLS Label"; - } - enum un-labelled { - description "Unlabelled"; - } - enum unknown { - description "Unknown label"; - } - } - description "Label Value Type"; - } - typedef Ldp-fwd-unlbl-rsn { - type enumeration { - enum ldp-fwd-labelled { - description "ldp fwd labelled"; - } - enum ldp-fwd-un-labelled-vrf-down { - description "ldp fwd un labelled vrf down"; - } - enum ldp-fwd-un-labelled-no-nh { - description "ldp fwd un labelled no nh"; - } - enum ldp-fwd-un-labelled-recursive-path { - description "ldp fwd un labelled recursive path"; - } - enum ldp-fwd-un-labelled-intf-not-ldp { - description "ldp fwd un labelled intf not ldp"; - } - enum ldp-fwd-un-labelled-no-rmt { - description "ldp fwd un labelled no rmt"; - } - enum ldp-fwd-un-labelled-no-ldp-adj { - description "ldp fwd un labelled no ldp adj"; - } - enum ldp-fwd-un-labelled-no-session { - description "ldp fwd un labelled no session"; - } - enum ldp-fwd-un-labelled-unknown { - description "ldp fwd un labelled unknown"; - } - } - description "Ldp fwd unlbl rsn"; - } - typedef Ldp-route-path-flags { - type enumeration { - enum ip-path-no-flag { - value 0; - description "A primary path with no special flag/attribute"; - } - enum ip-path-protected { - value 1; - description "A primary path with LFA FRR protection"; - } - enum ip-path-backup { - value 2; - description - "A non-primary local LFA FRR (pure) backup path"; - } - enum ip-path-backup-remote { - value 3; - description - "A non-primary remote LFA FRR (pure) backup path"; - } - enum ip-path-bgp-backup { - value 4; - description "A non-primary BGP backup path"; - } - } - description "Route path flags"; - } - typedef Dhcb-state { - type enumeration { - enum none { - description "None"; - } - enum dhcb-active { - description "Active"; - } - enum dhcb-passive { - description "Passive"; - } - enum dhcb-active-passive { - description "Active and Passive"; - } - } - description "DHCB State Type"; - } - typedef Ldp-igp-sync-down-reason { - type enumeration { - enum igp-sync-down-reason-not-applicable { - description "Not Applicable"; - } - enum no-hello-adjacency { - description "No hello adjacency"; - } - enum no-peer-session { - description "No peer session"; - } - enum initial-update-to-peer-not-done { - description "Initial update to peer not done yet"; - } - enum initial-update-from-peer-not-received { - description "Initial update from peer not received yet"; - } - enum internal-reason { - description "Internal reason"; - } - } - description "Reason IGP Sync Not Achieved"; - } - typedef String-td2 { - type string; - description "String td2"; - } - typedef Ldp-igp-sync-state { - type enumeration { - enum isync-ready { - description "Acheived"; - } - enum isync-not-ready { - description "Not acheived"; - } - enum isync-deferred { - description - "Deferred due to interface delay or global - restart delay"; - } - } - description "IGP Sync State"; - } - typedef Local-label-state { - type enumeration { - enum local-label-state-none { - value 1; - description "None"; - } - enum local-label-state-assigned { - value 2; - description "Assigned"; - } - enum local-label-state-withdrawn { - value 3; - description "Withdrawn"; - } - } - description "MPLS LDP Local Label State Type"; - } - typedef Ldp-af { - type enumeration { - enum ldp-show-af-none { - value 0; - description "No Address Family"; - } - enum ldp-show-af-ipv4 { - value 1; - description "IPv4 AFI"; - } - enum ldp-show-af-ipv6 { - value 2; - description "IPv6 AFI"; - } - enum ldp-show-af-ipv4-ipv6 { - value 3; - description "Both IPv4/IPv6 AFIs"; - } - } - description "Ldp af"; - } - typedef Ldp-in6-addr { - type inet:ipv6-address; - description "Ldp in6 addr"; - } - typedef Ldp-in-addr { - type inet:ipv4-address; - description "Ldp in addr"; - } - typedef Ldp-af-id { - type enumeration { - enum ldp-af-id-none { - value 0; - description "No Address Family"; - } - enum ldp-af-id-ipv4 { - value 2; - description "IPv4 AFI"; - } - enum ldp-af-id-ipv6 { - value 10; - description "IPv6 AFI"; - } - } - description "Ldp af id"; - } - - grouping LDP-SUMMARY { - description "MPLS LDP Summarized Information"; - - container common { - description "Common Summary information"; - uses LDP-SUMMARY-COMMON; - } - leaf number-of-vrf { - type uint32; - description "Number of configured VRFs (including default)"; - } - leaf number-of-vrf-oper { - type uint32; - description - "Number of configured operational VRFs (including - default)"; - } - leaf number-of-interfaces { - type uint32; - description "Number of known interfaces"; - } - leaf number-of-fwd-ref-interfaces { - type uint32; - description "Number of Forward Referenc interfaces"; - } - leaf number-of-autocfg-interfaces { - type uint32; - description "Number of auto-configured interfaces"; - } - leaf is-bound-with-sysdb { - type boolean; - description "Bound status with sysdb"; - } - leaf is-registered-with-sysdb { - type boolean; - description "Registration status with Sysdb"; - } - leaf is-bound-with-rsi { - type boolean; - description "Bound status with rsi"; - } - leaf is-bound-with-interface-manager { - type boolean; - description "Bound status with Interface Manager"; - } - leaf is-registered-with-interface-manager { - type boolean; - description "Registration status with Interface Manager"; - } - leaf is-bound-with-ip-arm { - type boolean; - description "Bound status with IP Arm"; - } - leaf is-bound-with-lsd { - type boolean; - description "Bound status with LSD"; - } - leaf is-registered-with-lsd { - type boolean; - description "Registration status with LSD"; - } - leaf is-bound-with-ipv4-rib { - type boolean; - description "Bound status with IPv4 RIB"; - } - leaf is-registered-with-ipv4-rib { - type boolean; - description "Registration status with IPv4 RIB"; - } - leaf number-of-ipv4rib-tables { - type uint32; - description "Total number of ipv4 RIB tables"; - } - leaf number-of-registered-ipv4rib-tables { - type uint32; - description "Number of ipv4 RIB tables registered"; - } - leaf is-bound-with-ipv6-rib { - type boolean; - description "Bound status with IPv6 RIB"; - } - leaf is-registered-with-ipv6-rib { - type boolean; - description "Registration status with IPv6 RIB"; - } - leaf number-of-ipv6rib-tables { - type uint32; - description "Total number of ipv6 RIB tables"; - } - leaf number-of-registered-ipv6rib-tables { - type uint32; - description "Number of ipv6 RIB tables registered"; - } - leaf is-bound-with-atom { - type boolean; - description "Bound status with L2VPN ATOM"; - } - leaf is-bound-with-nsr-mate { - type boolean; - description "Bound status with NSR Mate"; - } - leaf is-nsr-configured { - type boolean; - description "NSR configured"; - } - leaf is-mldp-registered { - type boolean; - description "mLDP registration status"; - } - } - - grouping LDP-MSG-COUNTERS { - description "MPLS LDP Session Message Counters Information"; - leaf total-count { - type uint32; - description "Total message count"; - } - leaf init-count { - type uint32; - description "Init message count"; - } - leaf address-count { - type uint32; - description "Address message count"; - } - leaf address-withdraw-count { - type uint32; - description "Address withdraw count"; - } - leaf label-map-count { - type uint32; - description "Label map count"; - } - leaf label-withdraw-count { - type uint32; - description "Label withdraw count"; - } - leaf label-release-count { - type uint32; - description "Label release count"; - } - leaf label-request-count { - type uint32; - description "Label request count"; - } - leaf label-abort-request-count { - type uint32; - description "Label abort request count"; - } - leaf notification-count { - type uint32; - description "Notification count"; - } - leaf keep-alive-count { - type uint32; - description "Keepalive count"; - } - leaf iccp-rg-conn-count { - type uint32; - description "ICCP RG Connect count"; - } - leaf iccp-rg-disconn-count { - type uint32; - description "ICCP RG Disconnect count"; - } - leaf iccp-rg-notif-count { - type uint32; - description "ICCP RG Notif count"; - } - leaf iccp-rg-app-data-count { - type uint32; - description "ICCP RG App Data count"; - } - } - - grouping LDP-STATS-INFO { - description "MPLS LDP Statistics Information"; - - container message-out { - description "Message out count"; - uses LDP-MSG-COUNTERS; - } - - container message-in { - description "Message in count"; - uses LDP-MSG-COUNTERS; - } - leaf iccp-enabled { - type boolean; - description "Is session ICCP enabled?"; - } - } - - grouping LDP-NBR-CLIENTS-INFO { - description "MPLS LDP Session client Information"; - leaf name { - type string; - description "Client's name"; - } - } - - grouping LDP-NBR-DETAILED-INFO { - description "MPLS LDP Neighbor Detailed Information"; - - container capabilities { - description "Capabilities sent to and received from neighbor"; - uses LDP-NBR-CAP-INFO; - } - leaf peer-holdtime { - type uint32; - units "second"; - description "Session holdtime value in seconds from the peer"; - } - leaf keep-alive-interval { - type uint32; - units "second"; - description "Session keepalive interval in seconds"; - } - leaf peer-state { - type string { - length "0..80"; - } - description "Peer state"; - } - leaf has-ipv4-inbound { - type boolean; - description "IPv4 Inbound label filtering present"; - } - leaf inbound-ipv4acl { - type string { - length "0..80"; - } - description "IPv4 Inbound accept ACL"; - } - leaf has-ipv6-inbound { - type boolean; - description "IPv6 Inbound label filtering present"; - } - leaf inbound-ipv6acl { - type string { - length "0..80"; - } - description "IPv6 Inbound accept ACL"; - } - leaf has-ipv4-outbound { - type boolean; - description "IPv4 Outbound label filtering present"; - } - leaf outbound-ipv4acl { - type string { - length "0..80"; - } - description "IPv4 Outbound advertise ACL"; - } - leaf has-ipv6-outbound { - type boolean; - description "IPv6 Outbound label filtering present"; - } - leaf outbound-ipv6acl { - type string { - length "0..80"; - } - description "IPv6 Outbound advertise ACL"; - } - leaf has-sp { - type boolean; - description "Session Protection enabled"; - } - leaf sp-state { - type string { - length "0..80"; - } - description "Session Protection state"; - } - leaf sp-has-acl { - type boolean; - description "Session protection ACL is present"; - } - leaf spacl { - type string { - length "0..80"; - } - description "Session Protection ACL"; - } - leaf sp-has-duration { - type boolean; - description "Session Protection has non-default duration"; - } - leaf sp-duration { - type uint32; - units "second"; - description - "Session protection holdup time duration in - seconds"; - } - leaf spht-running { - type boolean; - description "Session Protection holdup timer is running"; - } - leaf spht-remaining { - type uint32; - units "second"; - description - "Session Protection holdup time remaining value - in seconds"; - } - leaf nsr-sync-state { - type Mgmt-ldp-nsr-peer-sync-state; - description "NSR Sync State"; - } - leaf nsr-last-sync-error { - type Mgmt-ldp-nsr-peer-sync-err; - description "Last NSR sync error"; - } - leaf nsr-last-sync-nack-reason { - type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; - description "Last NSR sync NACK reaston"; - } - leaf bgp-advertisement-state { - type Mgmt-ldp-nbr-bgp-advt-state; - description "BGP labelled prefixes advertisement state"; - } - leaf advertise-bgp-prefixes { - type boolean; - description - "Is BGP labelled prefixes advertised to the - neighbor"; - } - - list client { - description "Targeted Session clients"; - uses LDP-NBR-CLIENTS-INFO; - } - - list ipv4-duplicate-address { - description "Duplicate IPv4 address bound to this peer"; - uses LDP-NBR-ADDR-INFO; - } - - list ipv6-duplicate-address { - description "Duplicate IPv6 address bound to this peer"; - uses LDP-NBR-ADDR-INFO; - } - } - - grouping TARGETED-HELLO { - description "MPLS LDP Targeted Hello Information"; - - container local-address { - description "Local Address"; - uses LDP-IP-ADDR-T-UNION; - } - - container target-address { - description "Target Address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf state { - type Dhcb-state; - description "State"; - } - } - - grouping LINK-HELLO { - description "MPLS LDP Link Hello Information"; - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-name { - type string; - description "Interface name"; - } - } - - grouping LDP-ADJ-UNION { - description "LDP ADJ UNION"; - - container link-hello-data { - when "../hello-type = 'link-hello'" { - description "../HelloType = 'LinkHello'"; - } - description "Link hello"; - uses LINK-HELLO; - } - - container target-hello-data { - when "../hello-type = 'targeted-hello'" { - description "../HelloType = 'TargetedHello'"; - } - description "Target Hello"; - uses TARGETED-HELLO; - } - leaf hello-type { - type Ldp-adj-union-discrim; - description "HelloType"; - } - } - - grouping LDP-NBR-ADJ-INFO { - description "MPLS LDP Neighbor Adjacency Information"; - - container adjacency-group { - description "Adjacency group"; - uses LDP-ADJ-UNION; - } - } - - grouping LDP-NBR-ADDR-INFO { - description "MPLS LDP Neighbor Bound Address Information"; - - container address { - description "Neighbor Address"; - uses LDP-IP-ADDR-T-UNION; - } - } - - grouping LDP-TCP-INFO { - description "MPLS LDP Neighbor TCP Information"; - - container foreign-host { - description "Foreign host address"; - uses LDP-IP-ADDR-T-UNION; - } - - container local-host { - description "Local host address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf foreign-port { - type uint16; - description "Foreign port number"; - } - leaf local-port { - type uint16; - description "Local port number"; - } - leaf is-md5-on { - type boolean; - description "Is MD5 Digest on"; - } - } - - grouping LDP-GR-ADJ-INFO { - description - "MPLS LDP Neighbor Graceful Restart Adjacency - Information"; - leaf is-graceful-restartable { - type boolean; - description "Is graceful restartable"; - } - leaf reconnect-timeout { - type uint32; - description "Reconnect timeout"; - } - leaf recovery-time { - type uint32; - description "Recovery time"; - } - } - - grouping LDP-PTCL-ADJ-INFO { - description "MPLS LDP PTCL Adjacency Information"; - - container ta-graceful-restart-adjacency { - description "Graceful restart information"; - uses LDP-GR-ADJ-INFO; - } - leaf ta-holdtime { - type uint32; - description "Session holdtime in sec"; - } - leaf ta-state { - type string; - description "State"; - } - leaf ta-pies-sent { - type uint32; - description "Number of pies sent"; - } - leaf ta-pies-rcvd { - type uint32; - description "Number of pies received"; - } - leaf ta-up-time-seconds { - type uint32; - units "second"; - description "Up time in seconds"; - } - leaf downstream-on-demand { - type boolean; - description - "Is Label advertisment mode in Downstream On - Demand mode or Not"; - } - } - - grouping LDP-NEIGHBOR-INFO { - description "MPLS LDP Neighbor Information"; - - container protocol-information { - description "Protocol Information"; - uses LDP-PTCL-ADJ-INFO; - } - - container tcp-information { - description "TCP Information"; - uses LDP-TCP-INFO; - } - - container detailed-information { - description - "Detailed information with regards to holdtime, - KA, inbound filtering, and Session protection"; - uses LDP-NBR-DETAILED-INFO; - } - - list ldp-nbr-bound-ipv4-address-info { - description "Neighbor IPv4 Address Info"; - uses LDP-NBR-ADDR-INFO; - } - - list ldp-nbr-bound-ipv6-address-info { - description "Neighbor IPv6 Address Info"; - uses LDP-NBR-ADDR-INFO; - } - - list ldp-nbr-ipv4-adj-info { - description "Neighbor's IPv4 Adjacency Information"; - uses LDP-NBR-ADJ-INFO; - } - - list ldp-nbr-ipv6-adj-info { - description "Neighbor's IPv6 Adjacency Information"; - uses LDP-NBR-ADJ-INFO; - } - } - - grouping LDP-NBR-CAP-INFO { - description "MPLS LDP Neighbor Capability Information"; - - list sent { - description "List of sent capabilities"; - uses LDP-CAP-DESC; - } - - list received { - description "List of received capabilities"; - uses LDP-CAP-DESC; - } - } - - grouping LDP-PARAMETERS-AF { - description "MPLS LDP per AF Parameters Information"; - - container discovery-transport-address { - description "Discovery transport address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf address-family { - type Ldp-af; - description "Address Family"; - } - leaf null-label { - type string; - description "Null label"; - } - leaf label-imp-null-override-acl { - type string; - description - "ACL to override local label to use implicit-null"; - } - leaf is-accepting-targeted-hellos { - type boolean; - description "Accepting targeted Hellos"; - } - leaf targeted-hello-acl { - type string; - description "Targeted Hello ACL"; - } - } - - grouping LDP-GRACEFUL-RESTART-INFO { - description "MPLS LDP Global Graceful Restart Information"; - leaf is-graceful-restart-configured { - type boolean; - description "Is graceful restart configured"; - } - leaf graceful-restart-reconnect-timeout { - type uint32; - description "Reconnect timeout value"; - } - leaf graceful-restart-forwarding-state-hold-time { - type uint32; - description "Graceful restart forward state hold time"; - } - } - - grouping LDP-PARAMETERS { - description "MPLS LDP Global Parameters"; - - container graceful-restart-information { - description "Graceful restart information"; - uses LDP-GRACEFUL-RESTART-INFO; - } - leaf role-is-active { - type boolean; - description "Is process role active or standby"; - } - leaf global-md5-password-enabled { - type boolean; - description "Global MD5 password enabled"; - } - leaf protocol-version { - type uint32; - description "Protocol version"; - } - leaf router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf keepalive-interval { - type uint32; - description "Keepalive interval"; - } - leaf hello-hold-time { - type uint32; - description "Hello hold time"; - } - leaf hello-interval { - type uint32; - description "Hello interval"; - } - leaf targeted-hello-hold-time { - type uint32; - description "Targeted hello hold time"; - } - leaf targeted-hello-interval { - type uint32; - description "Targeted hello interval"; - } - leaf session-hold-time { - type uint32; - description "Session hold time"; - } - leaf housekeeping-timer-interval { - type uint32; - description "Housekeeping periodic timer interval"; - } - leaf le-no-route-timeout { - type uint32; - description "LIB entry no route timeout"; - } - leaf ldp-recovery-timeout { - type uint32; - description "LDP recovery timeout with LSD"; - } - leaf af-binding-withdraw-delay { - type uint32; - description - "Delay (sec) in Binding Withdrawal for an Address - Family"; - } - leaf max-intf-attached { - type uint32; - description - "Maximum number of LDP enabled attached - interfaces"; - } - leaf max-intf-te { - type uint32; - description "Maximum number of LDP enabled TE interfaces"; - } - leaf max-peer { - type uint32; - description "Maximum number of LDP peers"; - } - leaf ldp-out-of-mem-state { - type uint32; - description "LDP Out of memory state"; - } - leaf nsr-enabled { - type boolean; - description "TRUE if NSR is enabled"; - } - leaf nsr-synced { - type boolean; - description - "TRUE if LDP is standby and is NSR Sync-ed with - active"; - } - leaf igp-sync-delay-time-for-interface { - type uint32; - units "second"; - description "Interface IGP sync delay time in seconds"; - } - leaf igp-sync-delay-time-on-restart { - type uint32; - units "second"; - description - "IGP sync delay time on process restart in - seconds"; - } - leaf global-discovery-quick-start-disabled { - type boolean; - description "Discovery quick-start globally disabled"; - } - leaf discovery-quick-start-disabled-on-interfaces { - type boolean; - description - "Discovery quick-start disabled on some - LDP-enabled interfaces"; - } - - list address-family-parameter { - description "Per AF parameters"; - uses LDP-PARAMETERS-AF; - } - } - - grouping LDP-NSR-SUM-SESS { - description "MPLS LDP NSR session summary"; - leaf total { - type uint32; - description "Total sessions"; - } - leaf nsr-eligible { - type uint32; - description "NSR eligible sessions"; - } - leaf nsr-state-none { - type uint32; - description "Number of sessions in NSR none state"; - } - leaf nsr-state-wait { - type uint32; - description "Number of sessions in NSR wait state"; - } - leaf nsr-state-ready { - type uint32; - description "Number of sessions in NSR ready state"; - } - leaf nsr-state-prepare { - type uint32; - description "Number of sessions in NSR prepare state"; - } - leaf nsr-state-app-wait { - type uint32; - description "Number of sessions in NSR app-wait state"; - } - leaf nsr-state-operational { - type uint32; - description "Number of sessions in NSR operational state"; - } - leaf nsr-state-tcp-phase1 { - type uint32; - description "Number of sessions in NSR TCP phase 1 state"; - } - leaf nsr-state-tcp-phase2 { - type uint32; - description "Number of sessions in NSR TCP phase 2 state"; - } - } - - grouping LDP-NSR-SUM { - description "MPLS LDP NSR summary"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container sessions { - description "Session summary"; - uses LDP-NSR-SUM-SESS; - } - } - - grouping LDP-BACKOFF-ENTRY-INFO { - description "MPLS LDP Session Backoff Entry Information"; - leaf backoff-seconds { - type uint32; - units "second"; - description "Backoff seconds"; - } - leaf waiting-seconds { - type uint32; - units "second"; - description "Backoff waiting seconds"; - } - } - - grouping LDP-BACKOFF-INFO { - description "MPLS LDP Session Backoff Information"; - leaf initial-seconds { - type uint32; - units "second"; - description "Initial backoff value in seconds"; - } - leaf maximum-seconds { - type uint32; - units "second"; - description "Maximum backoff value in seconds"; - } - } - - grouping LDP-NEIGHBOR-BRIEF-AF-INFO { - description "MPLS LDP Neighbor Brief AF information"; - leaf address-family { - type Ldp-af; - description "Neighbor Brief Address Family"; - } - leaf num-of-nbr-discovery { - type uint32; - description "Number of neighbor discovery sources"; - } - leaf num-of-nbr-addresses { - type uint32; - description "Number of neighbor addresses"; - } - leaf num-of-nbr-lbl { - type uint32; - description "Number of neighbor labels"; - } - } - - grouping LDP-NEIGHBOR-BRIEF-INFO { - description "MPLS LDP Neighbor Brief Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf is-graceful-restartable { - type boolean; - description "Is graceful restartable"; - } - leaf nsr-state { - type Show-nsr-state; - description "NSR readiness state"; - } - leaf up-time-seconds { - type uint32; - units "second"; - description "Up time in seconds"; - } - - list nbr-br-af-info { - max-elements "2"; - description "Neighbor Brief AF Info"; - uses LDP-NEIGHBOR-BRIEF-AF-INFO; - } - } - - grouping LDP-FWD-RW-PATH-SUMM { - description "MPLS LDP fowarding rewrite nexthop/path summary"; - leaf total-paths { - type uint32; - description "Total path count"; - } - leaf protected-paths { - type uint32; - description "Count of FRR protected paths"; - } - leaf backup-paths { - type uint32; - description "Count of non-primary backup paths"; - } - leaf remote-backup-paths { - type uint32; - description "Count of non-primary remote backup paths"; - } - leaf labeled-paths { - type uint32; - description "Count of all labeled paths"; - } - leaf labeled-backup-paths { - type uint32; - description "Count of labeled backup paths"; - } - } - - grouping LDP-FWD-RW-PFX-LBL-SUMM { - description - "MPLS LDP forwarding rewrite prefix nexthops - labeled summary"; - leaf labeled-pfxs { - type uint16; - description - "Count of labeled prefixes with 1 or more paths - labeled"; - } - leaf labeled-pfxs-partial { - type uint16; - description - "Count of labeled prefixes with some (but not - ALL) paths labeled"; - } - leaf unlabeled-pfxs { - type uint16; - description - "Count of labeled prefixes with ALL paths - unlabeled"; - } - } - - grouping LDP-FWD-RW-PFX-SUMM { - description "MPLS LDP fowarding rewrite prefix summary"; - - container labeled-pfxs-aggr { - description "Labeled prefix count for all paths"; - uses LDP-FWD-RW-PFX-LBL-SUMM; - } - - container labeled-pfxs-primary { - description - "Labeled prefix count related to primary paths - only"; - uses LDP-FWD-RW-PFX-LBL-SUMM; - } - - container labeled-pfxs-backup { - description - "Labeled prefix count related to backup paths - only"; - uses LDP-FWD-RW-PFX-LBL-SUMM; - } - leaf total-pfxs { - type uint16; - description "Total Prefix count"; - } - leaf ecmp-pfxs { - type uint16; - description "Count of prefixes with ECMP"; - } - leaf protected-pfxs { - type uint16; - description "Count of FRR protected prefixes"; - } - } - - grouping LDP-FWD-RW-SUMM { - description "MPLS LDP fowarding rewrite summary"; - - container pfxs { - description "Forwarding rewrites prefix summary"; - uses LDP-FWD-RW-PFX-SUMM; - } - - container nhs { - description "Forwarding rewrites nexthops (paths) summary"; - uses LDP-FWD-RW-PATH-SUMM; - } - } - - grouping LDP-FWD-SUMM-INFO { - description "MPLS LDP fowarding summary"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container rws { - description "Forwarding rewrites summary"; - uses LDP-FWD-RW-SUMM; - } - leaf is-lsd-bound { - type boolean; - description "LDP is connected to LSD server"; - } - leaf fsht { - type uint16; - description "Forwarding state hold time registered with LSD"; - } - leaf intfs { - type uint16; - description "MPLS forwarding enabled interface count"; - } - leaf lbls { - type uint16; - description "Local label allocated count"; - } - } - - grouping LDP-BINDING-ALLOC { - description "MPLS LDP Binding local label allocation filter"; - leaf has-acl { - type boolean; - description "Has ACL filter?"; - } - leaf prefix-acl { - type string { - length "0..64"; - } - description "Prefix ACL"; - } - leaf is-host-route-only { - type boolean; - description "Host-routes only?"; - } - } - - grouping LDP-BINDING-ADVT-ACL-PAIR { - description "MPLS LDP Binding advertisement ACL pair"; - leaf prefix-acl { - type string { - length "0..64"; - } - description "Prefix ACL"; - } - leaf peer-acl { - type string { - length "0..64"; - } - description "Peer ACL"; - } - } - - grouping LDP-BINDING-ADVT-SPEC { - description "MPLS LDP Binding advertisement specification ACLs"; - - container allocation-acl { - description "Local label Allocation filter"; - uses LDP-BINDING-ALLOC; - } - - list advt-acl { - description "Advertisement ACLs"; - uses LDP-BINDING-ADVT-ACL-PAIR; - } - } - - grouping LDP-FWD-PATH-RLFA-MOI-INFO { - description - "MPLS LDP Forwarding Path Remote LFA-FRR backup - MPLS MOI info"; - - list stack { - description "Inner label stack info"; - uses LDP-FWD-PATH-MPLS-NH-INFO; - } - } - - grouping LDP-FWD-PATH-RLFA-MPLS-INFO { - description - "MPLS LDP Forwarding Path Remote LFA-FRR backup - MPLS info"; - - container mpls-outgoing-info { - description "Remote LFA MPLS nexthop(s_ info"; - uses LDP-FWD-PATH-RLFA-MOI-INFO; - } - leaf has-remote-lfa-bkup { - type boolean; - description "Whether path has remote LFA backup"; - } - } - - grouping LDP-FWD-PATH-MPLS-NH-INFO { - description "Forwarding Path MPLS nexthop info"; - - container nexthop-peer-ldp-ident { - description "Nexthop LDP peer"; - uses LDP-LDPID-INFO; - } - leaf out-label { - type uint32; - description "Outgoing label"; - } - leaf out-label-rsn { - type Ldp-fwd-unlbl-rsn; - description "Outgoing label reason"; - } - leaf out-label-type { - type Label-value; - description "Outgoing Label Type"; - } - leaf out-label-owner { - type Ldp-route-path-lbl-owner; - description "Outgoing label owner"; - } - leaf is-from-graceful-restartable-neighbor { - type boolean; - description "Is from a GR neighbor"; - } - leaf is-stale { - type boolean; - description "Is the entry stale"; - } - } - - grouping LDP-FWD-PATH-MPLS-INFO { - description "MPLS LDP Forwarding Path MPLS information"; - - container mpls-outgoing-info { - description "MPLS nexthop info"; - uses LDP-FWD-PATH-MPLS-NH-INFO; - } - - container remote-lfa { - description "Remote LFA-FRR backup info"; - uses LDP-FWD-PATH-RLFA-MPLS-INFO; - } - } - - grouping LDP-FWD-PATH-RLFA-ROUTING-INFO { - description - "MPLS LDP Forwarding Path Remote LFA-FRR backup - routing info"; - - container remote-p-node-id { - description "Remote/P node address"; - uses LDP-IP-ADDR-T-UNION; - } - - container remote-q-node-id { - description "Remote/Q node address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf has-remote-lfa-bkup { - type boolean; - description "Whether path has remote LFA backup"; - } - leaf needs-tldp { - type boolean; - description "Whether TLDP is needed with remote PQ node"; - } - leaf has-q-node { - type boolean; - description "Whether remote LFA path has a Q node associated"; - } - } - - grouping LDP-FWD-PATH-ROUTING-INFO { - description "MPLS LDP Forwarding Path IP Routing information"; - - container next-hop { - description "Next Hop"; - uses LDP-IP-ADDR-T-UNION; - } - - container remote-lfa { - description "Remote LFA-FRR backup info"; - uses LDP-FWD-PATH-RLFA-ROUTING-INFO; - } - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf nh-is-overriden { - type boolean; - description "Nexthop is overriden by LDP"; - } - leaf nexthop-id { - type uint32; - description "Nexthop Identifier"; - } - leaf next-hop-table-id { - type uint32; - description "Table ID for nexthop address"; - } - leaf flags { - type uint32; - description "Route path flags"; - } - leaf load-metric { - type uint32; - description "Path's load metric for load balancing"; - } - leaf path-id { - type uint8; - description "path Id"; - } - leaf bkup-path-id { - type uint8; - description "Backup path Id"; - } - leaf path-flags { - type Ldp-route-path-flags; - description "Routing path flags decoded"; - } - } - - grouping LDP-FWD-PATH-INFO { - description "MPLS LDP Forwarding Path info"; - - container routing { - description "IP routing information"; - uses LDP-FWD-PATH-ROUTING-INFO; - } - - container mpls { - description "MPLS information"; - uses LDP-FWD-PATH-MPLS-INFO; - } - } - - grouping LDP-FWD-ROUTE-MPLS-INFO { - description "MPLS LDP Forwarding Route LDP information"; - leaf local-label { - type uint32; - description "Local label"; - } - leaf forwarding-update-count { - type uint32; - description "Number of forwarding updates"; - } - leaf forwarding-update-timestamp { - type uint64; - description "Last Forwarding update nanosec timestamp"; - } - leaf forwarding-update-age { - type uint64; - description "Last Forwarding update nanosec age"; - } - } - - grouping LDP-FWD-ROUTE-ROUTING-INFO { - description "MPLS LDP Forwarding Route IP Routing information"; - leaf version { - type uint32; - description "Route RIB ersion"; - } - leaf priority { - type uint8; - description "Route priority"; - } - leaf source { - type uint16; - description "Route source protol Id"; - } - leaf type { - type uint16; - description "Route type"; - } - leaf flags { - type uint32; - description "Route RIB flags"; - } - leaf metric { - type uint32; - description "Route metric"; - } - leaf is-local-vrf-leaked { - type boolean; - description "Is route leaked across local VRFs?"; - } - leaf routing-update-count { - type uint32; - description "Number of routing updates"; - } - leaf routing-update-timestamp { - type uint64; - description "Last Routing update nanosec timestamp"; - } - leaf routing-update-age { - type uint64; - description "Last Routing update nanosec age"; - } - leaf sr-local-label { - type uint32; - description "SR Local-label"; - } - } - - grouping LDP-FWD-ROUTE-INFO { - description "MPLS LDP Forwarding Route information"; - - container routing { - description "IP routing information"; - uses LDP-FWD-ROUTE-ROUTING-INFO; - } - - container mpls { - description "MPLS information"; - uses LDP-FWD-ROUTE-MPLS-INFO; - } - } - - grouping LDP-FWD-PFX-INFO { - description "MPLS LDP Forwarding Prefix Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container prefix-xr { - description "IP Prefix"; - uses LDP-IP-ADDR-T-UNION; - } - - container route { - description "Route"; - uses LDP-FWD-ROUTE-INFO; - } - leaf table-id { - type uint32; - description "Table ID associated with IP prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - - list paths { - description "Paths"; - uses LDP-FWD-PATH-INFO; - } - } - - grouping LDP-DISCOVERY-ADJ-GRP-INFO { - description "MPLS LDP Discovery Adjacency Group Information"; - leaf adjacency-group-up-time { - type uint32; - units "second"; - description "Adjacency group up time in seconds"; - } - leaf tcp-open-count { - type uint32; - description "Count of attempted TCP opens"; - } - leaf tcp-arb-chg-count { - type uint32; - description "Count of changes in TCP arbitration"; - } - leaf tcp-role { - type uint32; - description "TCP Role"; - } - } - - grouping LDP-TARGETED-HELLO-BRIEF-INFO { - description "MPLS LDP Discovery Targeted Brief Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container dhcb-target-address { - description "DHCB target address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf address-family { - type Ldp-af; - description "Targeted Discovery Address Family"; - } - - list hello-information { - description "LDP hello info"; - uses LDP-HELLO-BRIEF-INFO; - } - } - - grouping LDP-HELLO-BRIEF-INFO { - description "MPLS LDP Hello Brief Information"; - leaf neighbor-ldp-identifier { - type string; - description "Neighbor LDP Identifier"; - } - leaf hold-time { - type uint32; - description "Session hold time in sec"; - } - leaf session-up { - type boolean; - description "Is session up for this adj"; - } - } - - grouping LDP-DISCOVERY-LINK-BRIEF-INFO { - description "MPLS LDP Discovery Link Brief Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf address-family { - type Ldp-af; - description "Discovery Brief Address Family"; - } - leaf address-family-set { - type Ldp-af; - description "Discovery Brief Address Family Set"; - } - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-name-xr { - type string; - description "Interface name"; - } - - list hello-information { - description "LDP hello info"; - uses LDP-HELLO-BRIEF-INFO; - } - } - - grouping LDP-TARGETED-HELLO-INFO { - description "MPLS LDP Targeted Hello Information"; - - container dhcb-local-address { - description "DHCB local address"; - uses LDP-IP-ADDR-T-UNION; - } - - container dhcb-target-address { - description "DHCB target address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf state { - type Dhcb-state; - description "Targeted hello state"; - } - leaf adjacency-ldp-identifier { - type string; - description "Adjacency LDP Identifier"; - } - leaf interval { - type uint32; - description "Hello interval in sec"; - } - leaf next-hello { - type uint32; - description "Next hello due time in msec"; - } - leaf hold-time { - type uint32; - description "Targeted hello hold time"; - } - leaf local-hold-time { - type uint32; - description "Local hold time"; - } - leaf neighbor-hold-time { - type uint32; - description "Neighbor hold time"; - } - leaf disc-expiry { - type uint32; - description "Discovery expiry time in msec"; - } - leaf quick-start-disabled { - type boolean; - description "Quick-start disabled"; - } - leaf established-time { - type uint64; - description "Hello adjacency estabished time in nanosec"; - } - leaf established-age { - type uint64; - description "Hello adjacency estabished age in nanosec"; - } - leaf session-up { - type boolean; - description "Is session up for this adj"; - } - leaf session-bringup-failure-reason { - type string; - description "session bringup failure reason"; - } - - list last-session-down-info { - description "Last session down information"; - uses LDP-LAST-SESS-INFO; - } - } - - grouping LDP-DISCOVERY-SUMMARY-INFO { - description "MPLS LDP Discovery Summary Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf local-ldp-id { - type string; - description "Local LDP identifier"; - } - leaf num-of-ldp-interfaces { - type uint32; - description "Total Number of LDP configured interfaces"; - } - leaf num-of-active-ldp-interfaces { - type uint32; - description "Number of active LDP enabled interfaces"; - } - leaf num-of-lnk-disc-xmit { - type uint32; - description "Number of link hello discoveries in xmit state"; - } - leaf num-of-tgt-disc-xmit { - type uint32; - description - "Number of targeted hello discoveries in xmit - state"; - } - leaf num-of-lnk-disc-recv { - type uint32; - description "Number of link hello discoveries in recv state"; - } - leaf num-of-tgt-disc-recv { - type uint32; - description - "Number of targeted hello discoveries in recv - state"; - } - leaf num-of-disc-with-bad-addr-recv { - type uint32; - description - "Number of hello discoveries received with bad - source address"; - } - leaf num-of-disc-with-bad-hello-pdu { - type uint32; - description - "Number of hello discoveries received with bad - hello PDU"; - } - leaf num-of-disc-with-bad-xport-addr { - type uint32; - description - "Number of hello discoveries received with bad - export address"; - } - leaf num-of-disc-with-same-router-id { - type uint32; - description - "Number of hello discoveries received with the - same router id as this router"; - } - leaf num-of-disc-with-wrong-router-id { - type uint32; - description - "Number of hello discoveries received with the - router id that is not destined for this router"; - } - } - - grouping LDP-DISCOVERY-LINK-AF-INFO { - description - "MPLS LDP Discovery Link Address Family - Information"; - - container local-src-address { - description "Local source address"; - uses LDP-IP-ADDR-T-UNION; - } - - container local-transport-address { - description "Local transport address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf interval { - type uint32; - description "Hello interval in sec"; - } - } - - grouping LDP-LAST-SESS-INFO { - description "LDP last down session information"; - leaf last-session-down-reason { - type string; - description "The reason of last socket failure"; - } - leaf last-session-down-time { - type uint64; - description "Timestamp of when the last session went down"; - } - leaf last-session-up-time { - type uint32; - description "The time duration the last session was up"; - } - } - - grouping LDP-HELLO-INFO { - description "MPLS LDP Hello Information"; - - container neighbor-src-address { - description "Neighbor source address"; - uses LDP-IP-ADDR-T-UNION; - } - - container neighbor-transport-address { - description "Neighbor transport address"; - uses LDP-IP-ADDR-T-UNION; - } - - container target { - description "Target address"; - uses LDP-IP-ADDR-T-UNION; - } - leaf neighbor-ldp-identifier { - type string; - description "Neighbor LDP Identifier"; - } - leaf is-no-route { - type boolean; - description "Is route valid"; - } - leaf hold-time { - type uint32; - units "second"; - description "Session hold time in seconds"; - } - leaf local-hold-time { - type uint32; - units "second"; - description "Local hold time in seconds"; - } - leaf neighbor-hold-time { - type uint32; - units "second"; - description "Neighbor hold time in seconds"; - } - leaf disc-expiry { - type uint32; - description "Discovery expiry time in sec"; - } - leaf is-targeted { - type boolean; - description "Is session a targeted session"; - } - leaf session-up { - type boolean; - description "Is session up for this adj"; - } - leaf established-time { - type uint64; - description "Hello adjacency estabished time in nanosec"; - } - leaf established-age { - type uint64; - description "Hello adjacency estabished age in nanosec"; - } - leaf session-bringup-failure-reason { - type string; - description "session bringup failure reason"; - } - - list last-session-down-info { - description "Last session down information"; - uses LDP-LAST-SESS-INFO; - } - } - - grouping LDP-DISCOVERY-LINK-INFO { - description "MPLS LDP Discovery Link Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf next-hello { - type uint32; - description "Next hello due time in msec"; - } - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf quick-start-disabled { - type boolean; - description "Quick-start disabled"; - } - - list hello-information { - description "LDP hello info"; - uses LDP-HELLO-INFO; - } - - list discovery-link-af { - max-elements "2"; - description "LDP hello AF info"; - uses LDP-DISCOVERY-LINK-AF-INFO; - } - } - - grouping LDP-INTF-AUTOCFG { - description "MPLS LDP auto configure"; - leaf tuple { - type string; - description "Tuple"; - } - } - - grouping LDP-INTF-TE-MESH-GRP { - description "MPLS LDP interface tunnel mesh group"; - leaf ldp-te-mesh-group-all-cfgd { - type boolean; - description "LDP has enabled all TE mesh-groups"; - } - leaf ldp-mesh-group-enabled { - type boolean; - description "LDP has enabled this TE mesh-group"; - } - leaf te-mesh-group-id { - type uint32; - description "TE tunnel Mesh Group ID"; - } - } - - grouping LDP-INTF { - description "MPLS LDP interface information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf interface { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf ldp-enabled { - type boolean; - description "LDP enabled"; - } - leaf is-im-stale { - type boolean; - description "Is IM information stale"; - } - leaf ldp-config-mode { - type boolean; - description "LDP config mode"; - } - leaf ldp-autoconfig-disable { - type boolean; - description "LDP autoconfig disable"; - } - - list te-mesh-grp { - description "TE tunnel mesh-group"; - uses LDP-INTF-TE-MESH-GRP; - } - - list auto-config { - description "Auto config"; - uses LDP-INTF-AUTOCFG; - } - } - - grouping LDP-BINDING-SUMMARY-AF { - description "MPLS LDP Binding Summary AF Information"; - leaf address-family { - type Ldp-af; - description "Binding Summary Address Family"; - } - leaf last-lib-update { - type uint32; - description "Last update to LIB local binding"; - } - leaf lib-minimum-revision-sent-all { - type uint32; - description "Last update sent to all peers"; - } - leaf binding-total { - type uint32; - description "Total bindings"; - } - leaf binding-local { - type uint32; - description "Number of local bindings"; - } - leaf binding-remote { - type uint32; - description "Number of remote bindings"; - } - } - - grouping LDP-BINDING-SUMMARY { - description "MPLS LDP Binding Summary Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf address-family { - type Ldp-af; - description "Address Family"; - } - leaf binding-no-route { - type uint32; - description "Bindings with no route"; - } - leaf binding-local-no-route { - type uint32; - description "Local bindings with no route"; - } - leaf binding-local-null { - type uint32; - description "Number of local null bindings"; - } - leaf binding-local-implicit-null { - type uint32; - description "Number of local implicit null bindings"; - } - leaf binding-local-explicit-null { - type uint32; - description "Number of local explicit null bindings"; - } - leaf binding-local-non-null { - type uint32; - description "Number of local non-null bindings"; - } - leaf binding-local-oor { - type uint32; - description - "Number of local bindings needing label - - OOR"; - } - leaf lowest-allocated-label { - type uint32; - description "Lowest allocated label"; - } - leaf highest-allocated-label { - type uint32; - description "Highest allocated label"; - } - - list bind-af { - max-elements "2"; - description "bind af"; - uses LDP-BINDING-SUMMARY-AF; - } - } - - grouping LDP-IGP-SYNC-DELAY-RESTART-INFO { - description "MPLS LDP IGP Sync Restart Delay Information"; - leaf configured { - type boolean; - description "Is restart delay configured"; - } - leaf delay-secs { - type uint32; - description "Delay time"; - } - leaf timer-running { - type boolean; - description "Is restart delay timer running"; - } - leaf remaining-secs { - type uint32; - description "Delay timer remaining time"; - } - } - - grouping LDP-IGP-SYNC-INTF-GR-ONLY { - description - "MPLS LDP IGP Sync Interface GR-only reachable - Peer Information"; - leaf peer-id { - type String-td2; - description "Peer Identifier"; - } - leaf is-chkpt-created { - type boolean; - description "Is created due to checkpointing"; - } - } - - grouping LDP-IGP-SYNC-INTF-PEER { - description "MPLS LDP IGP Sync Interface Peer Information"; - leaf peer-id { - type String-td2; - description "Peer Identifier"; - } - leaf is-gr-enabled { - type boolean; - description "Is GR enabled session"; - } - } - - grouping LDP-IGP-SYNC-INFO { - description "MPLS LDP IGP Sync Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf igp-sync-state { - type Ldp-igp-sync-state; - description "IGP Sync state"; - } - leaf igp-sync-delay { - type uint32; - units "second"; - description "IGP sync delay in seconds"; - } - leaf is-delay-timer-running { - type boolean; - description "Is sync delay timer running"; - } - leaf delay-timer-remaining { - type uint32; - units "second"; - description - "Remaining timer (seconds) till expiry of sync - delay timer"; - } - leaf igp-sync-down-reason { - type Ldp-igp-sync-down-reason; - description "Reason IGP Sync Not Achieved"; - } - - list peers { - description "Interface Peers"; - uses LDP-IGP-SYNC-INTF-PEER; - } - - list gr-only-peer { - description "Interface GR-only reachable peers"; - uses LDP-IGP-SYNC-INTF-GR-ONLY; - } - } - - grouping LDP-TIB-ENTRY-REMOTE { - description "MPLS LDP Remote Binding Information"; - - container assigning-peer-ldp-ident { - description "Assigning peer"; - uses LDP-LDPID-INFO; - } - leaf remote-label { - type uint32; - description "Remote Label"; - } - leaf is-stale { - type boolean; - description "Is the entry stale"; - } - leaf is-elc { - type boolean; - description "Is the entry entropy label capable"; - } - } - - grouping LDP-TIB-ENTRY-DETAIL { - description "MPLS LDP Binding Detail Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container prefix-xr { - description "IP Prefix"; - uses LDP-IP-ADDR-T-UNION; - } - leaf prefix-length { - type uint8; - description "Prefix Length"; - } - leaf local-label { - type uint32; - description "Local label"; - } - leaf le-local-binding-revision { - type uint32; - description "Local Binding revision"; - } - leaf le-local-label-state { - type Local-label-state; - description "Local label state"; - } - leaf is-no-route { - type boolean; - description "No route"; - } - leaf label-oor { - type boolean; - description "Label space depletion OOR"; - } - leaf advertise-prefix-acl { - type string; - description "Advertise Prerfix ACL"; - } - leaf advertise-tsr-acl { - type string; - description "Advertise TSR ACL"; - } - leaf config-enforced-local-label-value { - type boolean; - description "Config/User enforced local label value"; - } - leaf is-elc { - type boolean; - description "Is the entry entropy label capable"; - } - - list remote-binding { - description "Remote binding"; - uses LDP-TIB-ENTRY-REMOTE; - } - - list peers-advertised-to { - description "Peers this entry is advertised to"; - uses LDP-LDPID-INFO; - } - - list peers-acked { - description "Peers that have ACKed this entry"; - uses LDP-LDPID-INFO; - } - } - - grouping LDP-INTF-SUM { - description "MPLS LDP interface summary"; - leaf known-ip-interface-count { - type uint32; - description "Number of known IP Interfaces"; - } - leaf known-ip-interface-ldp-enabled { - type uint32; - description "Number of known IP Interfaces with LDP Enabled"; - } - leaf ldp-configured-attached-interface { - type uint32; - description "Number of attached interfaces configured in LDP"; - } - leaf ldp-configured-te-interface { - type uint32; - description - "Number of TE tunnel interfaces configured in LDP"; - } - leaf forward-references { - type uint32; - description "Number of forward referenced interfaces"; - } - leaf auto-config-disabled { - type uint32; - description "Autoconfigure disabled"; - } - leaf auto-config { - type uint32; - description "Auto-configured interfaces"; - } - leaf auto-config-forward-reference-interfaces { - type uint32; - description "Auto-configured forward references"; - } - } - - grouping LDP-SUMMARY-COMMON { - description "MPLS LDP common summary Information"; - leaf address-families { - type Ldp-af; - description "Address Families enabled"; - } - leaf number-of-ipv4af { - type uint32; - description "Number of IPv4 address-families enabled"; - } - leaf number-of-ipv6af { - type uint32; - description "Number of IPv6 address-families enabled"; - } - leaf number-of-neighbors { - type uint32; - description "Number of neighbors"; - } - leaf number-of-nsr-synced-neighbors { - type uint32; - description "Number of NSR-synced/operational neighbors"; - } - leaf number-of-graceful-restart-neighbors { - type uint32; - description "Number of Graceful Restart neighbors"; - } - leaf number-of-downstream-on-demand-neighbors { - type uint32; - description "Number of Downstream-On-Demand neighbors"; - } - leaf number-of-ipv4-hello-adj { - type uint32; - description "Number of LDP discovery IPv4 hello adjacencies"; - } - leaf number-of-ipv6-hello-adj { - type uint32; - description "Number of LDP discovery IPv6 hello adjacencies"; - } - leaf number-of-ipv4-routes { - type uint32; - description "Number of resolved IPv4 routes"; - } - leaf number-of-ipv6-routes { - type uint32; - description "Number of resolved IPv6 routes"; - } - leaf number-of-ipv4-local-addresses { - type uint32; - description "Number of IPv4 local addresses"; - } - leaf number-of-ipv6-local-addresses { - type uint32; - description "Number of IPv6 local addresses"; - } - leaf number-of-ldp-interfaces { - type uint32; - description "Number of LDP configured interfaces"; - } - leaf number-of-ipv4ldp-interfaces { - type uint32; - description "Number of LDP IPv4 configured interfaces"; - } - leaf number-of-ipv6ldp-interfaces { - type uint32; - description "Number of LDP IPv6 configured interfaces"; - } - leaf number-of-bindings-ipv4 { - type uint32; - description "Total number of ipv4 bindings"; - } - leaf number-of-bindings-ipv6 { - type uint32; - description "Total number of ipv6 bindings"; - } - leaf number-of-local-bindings-ipv4 { - type uint32; - description "Total number of ipv4 local label bindings"; - } - leaf number-of-local-bindings-ipv6 { - type uint32; - description "Total number of ipv6 local label bindings"; - } - leaf number-of-remote-bindings-ipv4 { - type uint32; - description "Total number of ipv4 remote label bindings"; - } - leaf number-of-remote-bindings-ipv6 { - type uint32; - description "Total number of ipv6 remote label bindings"; - } - } - - grouping LDP-SUMMARY-VRF { - description "MPLS LDP per VRF summarized Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - - container common { - description "Common Summary information"; - uses LDP-SUMMARY-COMMON; - } - } - - grouping LDP-CAP-DESC { - description "MPLS LDP Capability Description"; - leaf type { - type uint16; - description "Capability type (IANA assigned)"; - } - leaf description { - type string { - length "0..80"; - } - description "Capability description"; - } - leaf capability-data-length { - type uint16; - description "Capability data length"; - } - leaf capability-data { - type string; - description "Capability data"; - } - } - - grouping LDP-CAP-INFO { - description "MPLS LDP Capability Information"; - - container capability { - description "Capability information"; - uses LDP-CAP-DESC; - } - leaf capability-owner { - type string; - description "Capability owner"; - } - } - - grouping LDP-IP-ADDR-T-UNION { - description "LDP IP ADDR T UNION"; - leaf afi { - type Ldp-af-id; - description "AFI"; - } - leaf dummy { - when "../afi = 'ldp-af-id-none'" { - description "../AFI = 'LDP_AF_ID_NONE'"; - } - type uint8; - description "No Address"; - } - leaf ipv4 { - when "../afi = 'ldp-af-id-ipv4'" { - description "../AFI = 'LDP_AF_ID_IPV4'"; - } - type Ldp-in-addr; - description "IPv4 address type"; - } - leaf ipv6 { - when "../afi = 'ldp-af-id-ipv6'" { - description "../AFI = 'LDP_AF_ID_IPV6'"; - } - type Ldp-in6-addr; - description "IPv6 address type"; - } - } - - grouping LDP-GR-DNBR-INTF-INFO { - description "MPLS LDP GR DownNbr Interface Info"; - leaf address-family { - type Ldp-af-id; - description "Interface adj Address Family"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interfaces handle"; - } - } - - grouping LDP-LDPID-INFO { - description "MPLS LDP Identifier Information"; - leaf lsr-id { - type inet:ipv4-address; - description "LSR identifier"; - } - leaf label-space-id { - type uint16; - description "Label space identifier"; - } - leaf ldp-id { - type string; - description "LDP identifier"; - } - } - - grouping LDP-GR-NBR-INFO { - description "MPLS LDP Graceful Restart Neighbor Information"; - - container gr-peer { - description "GR peer LDP Id"; - uses LDP-LDPID-INFO; - } - leaf connect-count { - type uint32; - description "ConnectCount"; - } - leaf is-neighbor-up { - type boolean; - description "Is neighbor up"; - } - leaf is-liveness-timer-running { - type boolean; - description "Is liveness timer running"; - } - leaf liveness-timer-remaining-seconds { - type uint32; - description "Remaining time from liveness timer"; - } - leaf is-recovery-timer-running { - type boolean; - description "Is recovery timer running"; - } - leaf recovery-timer-remaining-seconds { - type uint32; - description "Recovery timer remining time"; - } - leaf down-nbr-flap-count { - type uint8; - description "Count of back2back flaps"; - } - leaf down-nbr-flags { - type uint32; - description "Flags"; - } - leaf down-nbr-down-reason { - type uint32; - description "Session down reason code"; - } - - list down-nbr-interface { - description "Interfaces bound to GR down Nbr"; - uses LDP-GR-DNBR-INTF-INFO; - } - - list down-nbr-address { - description "Addresses bound to GR down Nbr"; - uses LDP-IP-ADDR-T-UNION; - } - } - - grouping LDP-VRF-INFO { - description "MPLS LDP VRF information"; - leaf name { - type string; - description "VRF Name"; - } - leaf id { - type uint32; - description "VRF Id"; - } - } - - grouping LDP-GR-GLOBAL-INFO { - description "MPLS LDP Graceful Restart Information"; - - container vrf { - description "VRF information"; - uses LDP-VRF-INFO; - } - leaf is-forwarding-state-hold-timer-running { - type boolean; - description - "Is graceful restart forwarding state hold timer - running"; - } - leaf forwarding-state-hold-timer-remaining-seconds { - type uint32; - units "second"; - description - "Forwarding state hold timer remaining time in - seconds"; - } - - list graceful-restartable-neighbor { - description "Vector of graceful restart neighbor information"; - uses LDP-GR-NBR-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang deleted file mode 100644 index 9c03b79..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang +++ /dev/null @@ -1,245 +0,0 @@ -submodule Cisco-IOS-XR-mpls-ldp-oper-sub2 { - - belongs-to Cisco-IOS-XR-mpls-ldp-oper { - prefix Cisco-IOS-XR-mpls-ldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2vpn-ldp-pw-aii { - type enumeration { - enum local-id { - description "AII Type 1"; - } - enum type2 { - description "AII Type 2"; - } - } - description "L2vpn ldp pw aii"; - } - typedef L2vpn-ldp-pw-agi { - type enumeration { - enum rd { - description "AGI type RD"; - } - } - description "L2vpn ldp pw agi"; - } - typedef L2vpn-ldp-pw-fec { - type enumeration { - enum fec128 { - description "FEC 128 pseudowire type"; - } - enum fec129 { - description "FEC 129 pseudowire type"; - } - enum fec130 { - description "FEC 130 pseudowire type"; - } - enum invalid { - description "FEC not applicable"; - } - } - description "L2vpn ldp pw fec"; - } - - grouping L2VPN-LDP-PW-FEC-130 { - description "L2VPN LDP PW FEC 130"; - - container agi { - description "AGI"; - uses L2VPN-LDP-PW-AGI; - } - - container saii { - description "Source Attachment Individual Identifier"; - uses L2VPN-LDP-PW-AII; - } - } - - grouping L2VPN-LDP-PW-AII2 { - description "L2VPN LDP PW AII2"; - leaf gobal-id { - type uint32; - description "Global ID"; - } - leaf prefix { - type uint32; - description "Prefix"; - } - leaf ac-id { - type uint32; - description "AC ID"; - } - } - - grouping L2VPN-LDP-PW-AII1 { - description "L2VPN LDP PW AII1"; - leaf local-id { - type inet:ipv4-address; - description "Local Identifier"; - } - } - - grouping L2VPN-LDP-PW-AII { - description "L2VPN LDP PW AII"; - - container aii1 { - when "../aii-type = 'local-id'" { - description "../AIIType = 'LocalID'"; - } - description "aii1"; - uses L2VPN-LDP-PW-AII1; - } - - container aii2 { - when "../aii-type = 'type2'" { - description "../AIIType = 'Type2'"; - } - description "aii2"; - uses L2VPN-LDP-PW-AII2; - } - leaf aii-type { - type L2vpn-ldp-pw-aii; - description "AIIType"; - } - } - - grouping L2VPN-LDP-PW-AGI1 { - description "L2VPN LDP PW AGI1"; - leaf rd { - type uint64; - description "Route Distinguisher"; - } - } - - grouping L2VPN-LDP-PW-AGI { - description "L2VPN LDP PW AGI"; - - container agi1 { - when "../agi-type = 'rd'" { - description "../AGIType = 'RD'"; - } - description "agi1"; - uses L2VPN-LDP-PW-AGI1; - } - leaf agi-type { - type L2vpn-ldp-pw-agi; - description "AGIType"; - } - } - - grouping L2VPN-LDP-PW-FEC-129 { - description "L2VPN LDP PW FEC 129"; - - container agi { - description "AGI"; - uses L2VPN-LDP-PW-AGI; - } - - container saii { - description "Source Attachment Individual Identifier"; - uses L2VPN-LDP-PW-AII; - } - - container taii { - description "Target Attachment Individual Identifier"; - uses L2VPN-LDP-PW-AII; - } - } - - grouping L2VPN-LDP-PW-FEC-128 { - description "L2VPN LDP PW FEC 128"; - leaf pseudowire-id { - type uint32; - description "Pseudowire ID"; - } - } - - grouping L2VPN-LDP-PW-FEC-INFO { - description "L2VPN LDP PW FEC INFO"; - - container fec128 { - when "../fe-ctype = 'fec128'" { - description "../FECType = 'FEC128'"; - } - description "fec128"; - uses L2VPN-LDP-PW-FEC-128; - } - - container fec129 { - when "../fe-ctype = 'fec129'" { - description "../FECType = 'FEC129'"; - } - description "fec129"; - uses L2VPN-LDP-PW-FEC-129; - } - - container fec130 { - when "../fe-ctype = 'fec130'" { - description "../FECType = 'FEC130'"; - } - description "fec130"; - uses L2VPN-LDP-PW-FEC-130; - } - leaf fe-ctype { - type L2vpn-ldp-pw-fec; - description "FECType"; - } - } - - grouping L2VPN-LDP-ATOM { - description "L2VPN AToM-DB information"; - - container fec-info { - description "Pseudowire FEC information"; - uses L2VPN-LDP-PW-FEC-INFO; - } - leaf peer-id-xr { - type inet:ipv4-address; - description "Peer ID"; - } - leaf mapping-tlv-count { - type uint32; - description "TLV Count from Label Mapping Message"; - } - leaf notification-tlv-count { - type uint32; - description "TLV Count from Notification Message"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang deleted file mode 100644 index d72aa0d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang +++ /dev/null @@ -1,246 +0,0 @@ -submodule Cisco-IOS-XR-mpls-ldp-oper-sub3 { - - belongs-to Cisco-IOS-XR-mpls-ldp-oper { - prefix Cisco-IOS-XR-mpls-ldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping LDP-NSR-GBL-SYNCI-INFO { - description "MPLS LDP NSR Global Init Sync Information"; - leaf nsr-cfged { - type boolean; - description "TRUE if NSR configured"; - } - leaf nsr-synced { - type boolean; - description "TRUE if NSR synced"; - } - leaf init-sync-start { - type uint32; - description "Init Sync Start Time"; - } - leaf init-sync-end { - type uint32; - description "Init Sync End Time"; - } - leaf num-peers { - type uint32; - description "Number of Peers"; - } - leaf num-cap-sent { - type uint32; - description "Number of Sent Capabilities objects"; - } - leaf num-cap-rcvd { - type uint32; - description "Number of Rcvd Capabilities objects"; - } - leaf num-pfx { - type uint32; - description "Number of binding prefixes"; - } - leaf num-lbl { - type uint32; - description "Number of label bindings"; - } - leaf num-lcl-addr-wd { - type uint32; - description "Num of lcl address withdraw"; - } - leaf num-lbl-adv { - type uint32; - description "Num of lbl adv"; - } - leaf ipc-msg-tx-cnt { - type uint32; - description "num IPC msgs sent"; - } - leaf ipc-msg-tx-bytes { - type uint32; - units "byte"; - description "total IPC bytes sent"; - } - leaf ipc-msg-rx-cnt { - type uint32; - description "num IPC msgs rxed"; - } - leaf ipc-msg-rx-bytes { - type uint32; - description "num IPC msgs rxed"; - } - leaf ipc-max-tx-batch-bytes { - type uint32; - units "byte"; - description "biggest IPC TX bytes"; - } - leaf ipc-max-rx-batch-bytes { - type uint32; - units "byte"; - description "biggest IPC RX bytes"; - } - leaf ipc-tx-fail-cnt { - type uint32; - description "number of ipc send failures"; - } - leaf total-ipc-tx-fail-cnt { - type uint32; - description "total number of ipc send failures"; - } - leaf ipc-restart-cnt { - type uint32; - description "number of times ipc has been restarted"; - } - leaf ipc-default-mtu { - type uint32; - units "byte"; - description "default IPC MTU bytes"; - } - leaf ipc-exceeded-mtu-msg-cnt { - type uint32; - description "ipc exceeded mtu msg cnt"; - } - } - - grouping LDP-NSR-GBL-STATS-INFO { - description "MPLS LDP NSR Global Stats Information"; - - container init-sync { - description "Init Sync"; - uses LDP-NSR-GBL-SYNCI-INFO; - } - } - - grouping LDP-NSR-NBR-SYNCS-INFO { - description "MPLS LDP NSR Nbr Steady State Sync Information"; - leaf num-cap-sent { - type uint32; - description "Num of Sent Capabilities"; - } - leaf num-cap-rcvd { - type uint32; - description "Num of Rcvd Capabilities"; - } - leaf rem-lbl-wd { - type uint32; - description "Number of remote label withdraw events"; - } - leaf rem-lbl-rq { - type uint32; - description "Number of remote label request events"; - } - leaf num-stdby-adj-join { - type uint32; - description "Number of standby adj join"; - } - leaf num-stdby-adj-leave { - type uint32; - description "Number of standby adj leave"; - } - } - - grouping LDP-NSR-NBR-SYNCI-INFO { - description "MPLS LDP NSR Nbr Init Sync Information"; - leaf init-sync-start { - type uint32; - description "Init Sync Start Time"; - } - leaf init-sync-end { - type uint32; - description "Init Sync End Time"; - } - leaf num-addr { - type uint32; - description "Number of peer addresses"; - } - leaf num-duplicate-addr { - type uint32; - description "Number of duplicate peer addresses"; - } - leaf num-rx-bytes { - type uint32; - units "byte"; - description "Number of unprocessed Rx buffer bytes"; - } - leaf num-cap-sent { - type uint32; - description "Num of Sent Capabilities"; - } - leaf num-cap-rcvd { - type uint32; - description "Num of Rcvd Capabilities"; - } - leaf num-lbl { - type uint32; - description "Number of peer bindings"; - } - leaf num-app-bytes { - type uint32; - units "byte"; - description "Number of external App data bytes"; - } - } - - grouping LDP-NSR-STATS-NBR-INFO { - description "MPLS LDP NSR Neighbor Stats Information"; - - container init-sync-info { - description "NSR Init Sync Info"; - uses LDP-NSR-NBR-SYNCI-INFO; - } - - container steady-state-sync-info { - description "NSR Steady State Sync Info"; - uses LDP-NSR-NBR-SYNCS-INFO; - } - leaf lsr-id-xr { - type uint32; - description "lsr id xr"; - } - leaf lbl-spc-id { - type uint16; - description "lbl spc id"; - } - leaf nsr-sync-state { - type int32; - description "nsr sync state"; - } - leaf num-msg { - type uint32; - description "Number of sync messages"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper.yang deleted file mode 100644 index 99f1efa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-ldp-oper.yang +++ /dev/null @@ -1,783 +0,0 @@ -module Cisco-IOS-XR-mpls-ldp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper"; - - - prefix "mpls-ldp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-ldp-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-ldp-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-ldp-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-ldp package operational data. - - This module contains definitions - for the following management objects: - mpls-ldp: MPLS LDP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-ldp-oper-af-name { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Mpls ldp oper af name"; - } - - grouping NSR-SUMMARY-ALL { - description "Common node of active, standby, node"; - - container nsr-summary-all { - description "Summary information regarding LDP NSR State"; - uses LDP-NSR-SUM; - } - } - - grouping LDP-ID { - description "Common node of default-vrf, vrf"; - - container ldp-id { - description "Local LDP Id"; - uses LDP-LDPID-INFO; - } - } - - grouping CAPABILITY-TABLE { - description "Common node of default-vrf, vrf"; - - container capabilities { - description "LDP capability database information"; - - list capability { - key "capability-type"; - description "Information on LDP capability"; - leaf capability-type { - type int32; - description "The capability type (IANA assigned)"; - } - uses LDP-CAP-INFO; - } - } - } - - grouping NEIGHBOR-CAPABILITY-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbor-capabilities { - description "LDP Neighbors Capabilities"; - - list neighbor-capability { - description - "Information on capabilities of a particular LDP - neighbor"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-NBR-CAP-INFO; - } - } - } - - grouping VRF-TABLE { - description "Common node of active, standby, node"; - - container vrfs { - description "VRF specific operational data"; - - list vrf { - key "vrf-name"; - description "Operational data for given VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses GRACEFUL-RESTART; - uses CAPABILITY-TABLE; - uses SUMMARY; - uses AF-TABLE; - uses NEIGHBOR-BRIEF-TABLE; - uses BACKOFF-PARAMETERS; - uses BACKOFF-TABLE; - uses NSR; - uses PARAMETERS; - uses ISSU; - uses NEIGHBOR-CAPABILITY-TABLE; - uses NEIGHBOR-TABLE; - uses LDP-ID; - uses STATISTICS-TABLE; - } - } - } - - grouping BACKOFF-PARAMETERS { - description "Common node of default-vrf, vrf"; - - container backoff-parameters { - description "The LDP Backoff Parameters"; - uses LDP-BACKOFF-INFO; - } - } - - grouping HA-SUMMARY { - description "Common node of nsr, issu"; - - container ha-summary { - description "LDP HA Summary"; - uses LDP-NSR-SUM; - } - } - - grouping STATISTICS-TABLE { - description "Common node of default-vrf, vrf"; - - container statistics { - description "The LDP Statistics"; - - list statistic { - description - "Statistical Information on a particular LDP - neighbor"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-STATS-INFO; - } - } - } - - grouping DISCOVERY-SUMMARY-ALL { - description "Common node of active, standby, node"; - - container discovery-summary-all { - description "Summary information regarding LDP discovery"; - uses LDP-DISCOVERY-SUMMARY-INFO; - } - } - - grouping BINDINGS-SUMMARY-ALL { - description "Common node of active, standby, node"; - - container bindings-summary-all { - description - "Aggregate VRF counters for the LDP Label - Infomation Base (LIB)"; - uses LDP-BINDING-SUMMARY; - } - } - - grouping DEFAULT-VRF { - description "Common node of active, standby, node"; - - container default-vrf { - description "DefaultVRF specific operational data"; - uses GRACEFUL-RESTART; - uses CAPABILITY-TABLE; - uses SUMMARY; - uses AF-TABLE; - uses NEIGHBOR-BRIEF-TABLE; - uses BACKOFF-PARAMETERS; - uses BACKOFF-TABLE; - uses NSR; - uses PARAMETERS; - uses ISSU; - uses NEIGHBOR-CAPABILITY-TABLE; - uses NEIGHBOR-TABLE; - uses LDP-ID; - uses STATISTICS-TABLE; - } - } - - grouping NEIGHBOR-BRIEF-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbor-briefs { - description "The LDP Neighbors (brief)"; - - list neighbor-brief { - description - "Brief information on a particular LDP neighbor"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-NEIGHBOR-BRIEF-INFO; - } - } - } - - grouping ATO-MDB-TABLE { - description "Common node of active, standby, node"; - - container ato-mdb-table-entries { - description "AToM DB Table"; - - list ato-mdb-table-entry { - description "Entries in AToM DB"; - leaf peer-id { - type inet:ip-address-no-zone; - description "Peer ID"; - } - leaf fe-ctype { - type int32; - description "FEC Type"; - } - leaf pw-id { - type int32; - description "PW ID"; - } - leaf agi-type { - type int32; - description "AGI Type"; - } - leaf agi { - type int32; - description "AGI"; - } - leaf saii-type { - type int32; - description "SAII Type"; - } - leaf saii-local-id { - type inet:ip-address-no-zone; - description "SAII Local ID"; - } - leaf saii-global-id { - type int32; - description "SAII Global ID"; - } - leaf saii-prefix { - type xr:Hex-integer; - description "SAII Prefix"; - } - leaf saii-ac-id { - type int32; - description "SAII AC ID"; - } - leaf taii-type { - type int32; - description "TAII Type"; - } - leaf taii-local-id { - type inet:ip-address-no-zone; - description "TAII Local ID"; - } - leaf taii-global-id { - type int32; - description "TAII Global ID"; - } - leaf taii-prefix { - type xr:Hex-integer; - description "TAII Prefix"; - } - leaf taii-ac-id { - type int32; - description "TAII AC ID"; - } - uses L2VPN-LDP-ATOM; - } - } - } - - grouping PARAMETERS { - description "Common node of default-vrf, vrf"; - - container parameters { - description "LDP parameters"; - uses LDP-PARAMETERS; - } - } - - grouping FORWARDING-SUMMARY-ALL { - description "Common node of active, standby, node"; - - container forwarding-summary-all { - description - "Summary information regarding LDP forwarding - setup"; - uses LDP-FWD-SUMM-INFO; - } - } - - grouping SUMMARY { - description "Common node of default-vrf, vrf"; - - container summary { - description "LDP VRF summary"; - uses LDP-SUMMARY-VRF; - } - } - - grouping MPLS-LDP-OPER-SUMMARY { - description - "Common node of default-vrf, vrfCommon node of - active, standby, node"; - - container summary { - description "LDP summary"; - uses LDP-SUMMARY; - } - } - - grouping HA-STATISTICS { - description "Common node of nsr, issu"; - - container ha-statistics { - description "LDP NSR Statistics related information"; - - container ha-global { - description "LDP NSR Global Statistics information"; - uses LDP-NSR-GBL-STATS-INFO; - } - uses HA-NEIGHBOR-TABLE; - } - } - - grouping NSR { - description "Common node of default-vrf, vrf"; - - container nsr { - description "LDP NSR related information"; - - container nsr-pending { - description "LDP NSR Pending related information"; - uses HA-NEIGHBOR-TABLE; - } - uses HA-SUMMARY; - uses HA-STATISTICS; - } - } - - grouping GRACEFUL-RESTART { - description "Common node of default-vrf, vrf"; - - container graceful-restart { - description "LDP Graceful Restart info"; - uses LDP-GR-GLOBAL-INFO; - } - } - - grouping HA-NEIGHBOR-TABLE { - description "Common node of nsr-pending, ha-statistics"; - - container ha-neighbors { - description "The LDP HA Neighbors"; - - list ha-neighbor { - description "Information on a particular LDP HA neighbor"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-NSR-STATS-NBR-INFO; - } - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of default-vrf, vrf"; - - container neighbors { - description "The LDP Neighbors"; - - list neighbor { - description "Information on a particular LDP neighbor"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-NEIGHBOR-INFO; - } - } - } - - grouping ISSU { - description "Common node of default-vrf, vrf"; - - container issu { - description "LDP ISSU related information"; - uses HA-SUMMARY; - uses HA-STATISTICS; - } - } - - grouping BACKOFF-TABLE { - description "Common node of default-vrf, vrf"; - - container backoffs { - description "The LDP backoff"; - - list backoff { - description "LDP Backoff Information"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-BACKOFF-ENTRY-INFO; - } - } - } - - grouping AF-TABLE { - description "Common node of default-vrf, vrf"; - - container afs { - description "Address Family specific operational data"; - - list af { - key "af-name"; - description "Operational data for given Address Family"; - - container interface-summary { - description "IPv4 interface summary information"; - uses LDP-INTF-SUM; - } - - container bindings { - description "The LDP Bindings"; - - list binding { - key "prefix"; - description "Binding Information"; - leaf prefix { - type inet:ip-prefix; - description "The IP Prefix"; - } - uses LDP-TIB-ENTRY-DETAIL; - } - } - - container igp { - description "LDP IGP related information"; - - container syncs { - description "LDP IGP Sync related information"; - - list sync { - key "interface-name"; - description - "LDP-IGP Synchronization related information - for an interface"; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses LDP-IGP-SYNC-INFO; - } - } - - container sync-delay-restart { - description - "LDP-IGP Synchronization Delay related - information"; - uses LDP-IGP-SYNC-DELAY-RESTART-INFO; - } - } - - container bindings-summary { - description - "Counters for the LDP Label Infomation Base - (LIB)"; - uses LDP-BINDING-SUMMARY; - } - - container interfaces { - description "LDP Interface related information"; - - list interface { - key "interface-name"; - description "IPv4 interface information"; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses LDP-INTF; - } - } - - container discovery { - description "The LDP Discovery"; - - container link-hellos { - description "The LDP Discovery link"; - - list link-hello { - key "interface-name"; - description "Information on LDP link discovery"; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses LDP-DISCOVERY-LINK-INFO; - } - } - - container summary { - description "Summarized information on LDP discovery"; - uses LDP-DISCOVERY-SUMMARY-INFO; - } - - container targeted-hellos { - description "The LDP Discovery Targeted"; - - list targeted-hello { - description "Information on LDP targeted discovery"; - leaf local-address { - type inet:ip-address-no-zone; - description "Local IP Address"; - } - leaf target-address { - type inet:ip-address-no-zone; - description "The target IP Address"; - } - uses LDP-TARGETED-HELLO-INFO; - } - } - - container brief { - description "Brief information on LDP discovery"; - - container link-hello-briefs { - description - "The LDP Discovery link brief information"; - - list link-hello-brief { - key "interface-name"; - description - "Brief information on LDP link discovery"; - leaf interface-name { - type xr:Interface-name; - description "The Interface Name"; - } - uses LDP-DISCOVERY-LINK-BRIEF-INFO; - } - } - - container targeted-hello-briefs { - description - "The LDP Discovery Targeted brief information"; - - list targeted-hello-brief { - description - "Brief information on LDP targeted discovery"; - leaf local-address { - type inet:ip-address-no-zone; - description "Local IP Address"; - } - leaf target-address { - type inet:ip-address-no-zone; - description "The target IP Address"; - } - uses LDP-TARGETED-HELLO-BRIEF-INFO; - } - } - } - - container stats { - description "The LDP Discovery Statistics"; - - list stat { - description "Information on LDP discovery statistics"; - leaf lsr-id { - type inet:ipv4-address-no-zone; - description "LSR ID of neighbor"; - } - leaf label-space-id { - type uint32 { - range "0..65535"; - } - description "Label space ID of neighbor"; - } - uses LDP-DISCOVERY-ADJ-GRP-INFO; - } - } - } - - container bindings-summary-all { - description - "Aggregate VRF counters for the LDP Label - Infomation Base (LIB)"; - uses LDP-BINDING-SUMMARY; - } - - container forwardings { - description "The LDP Forwarding rewrites"; - - list forwarding { - key "prefix"; - description - "Information on a particular LDP forwarding - rewrite"; - leaf prefix { - type inet:ip-prefix; - description "The IP Prefix"; - } - uses LDP-FWD-PFX-INFO; - } - } - - container bindings-advertise-spec { - description - "Advertisement Spec (ACL) for LDP Label - Infomation Base (LIB)"; - uses LDP-BINDING-ADVT-SPEC; - } - - container forwarding-summary { - description - "Summary information regarding LDP forwarding - setup"; - uses LDP-FWD-SUMM-INFO; - } - leaf af-name { - type Mpls-ldp-oper-af-name; - description "Address Family name"; - } - } - } - } - - container mpls-ldp { - config false; - description "MPLS LDP operational data"; - - container global { - description "Global MPLS LDP operational data"; - - container standby { - description "Standby MPLS LDP operational data"; - uses DEFAULT-VRF; - uses FORWARDING-SUMMARY-ALL; - uses BINDINGS-SUMMARY-ALL; - uses ATO-MDB-TABLE; - uses NSR-SUMMARY-ALL; - uses MPLS-LDP-OPER-SUMMARY; - uses VRF-TABLE; - uses DISCOVERY-SUMMARY-ALL; - } - - container active { - description "Active MPLS LDP operational data"; - uses DEFAULT-VRF; - uses FORWARDING-SUMMARY-ALL; - uses BINDINGS-SUMMARY-ALL; - uses ATO-MDB-TABLE; - uses NSR-SUMMARY-ALL; - uses MPLS-LDP-OPER-SUMMARY; - uses VRF-TABLE; - uses DISCOVERY-SUMMARY-ALL; - } - } - - container nodes { - description "Location MPLS LDP operational data"; - - list node { - key "node-name"; - description - "The MPLD LDP operational data for a particular - node"; - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - uses DEFAULT-VRF; - uses FORWARDING-SUMMARY-ALL; - uses BINDINGS-SUMMARY-ALL; - uses ATO-MDB-TABLE; - uses NSR-SUMMARY-ALL; - uses MPLS-LDP-OPER-SUMMARY; - uses VRF-TABLE; - uses DISCOVERY-SUMMARY-ALL; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-cfg.yang deleted file mode 100644 index d55d9df..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-cfg.yang +++ /dev/null @@ -1,144 +0,0 @@ -module Cisco-IOS-XR-mpls-lsd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg"; - - - prefix "mpls-lsd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-lsd package configuration. - - This module contains definitions - for the following management objects: - mpls-lsd: MPLS LSD configuration data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-ip-ttl-propagate-disable { - type enumeration { - enum all { - value 0; - description - "Disable IP TTL propagation for all MPLS packets"; - } - enum forward { - value 1; - description - "Disable IP TTL propagation for only forwarded - MPLS packets"; - } - enum local { - value 2; - description - "Disable IP TTL propagation for only locally - generated MPLS packets"; - } - } - description "Mpls ip ttl propagate disable"; - } - - grouping TTL-EXPIRATION-POP { - description "Common node of ipv4, ipv6"; - leaf ttl-expiration-pop { - type uint32 { - range "1..10"; - } - description "Number of labels to pop upon MPLS IP TTL expiry"; - } - } - - container mpls-lsd { - description "MPLS LSD configuration data"; - - container ipv6 { - description "Configure IPv6 parameters"; - uses TTL-EXPIRATION-POP; - } - - container ipv4 { - description "Configure IPv4 parameters"; - uses TTL-EXPIRATION-POP; - } - - container label-databases { - description "Table of label databases"; - - list label-database { - key "label-database-id"; - description "A label database"; - - container label-range { - description "Label range"; - leaf minvalue { - type uint32 { - range "16000..1048575"; - } - description "Minimum label value"; - } - leaf max-value { - type uint32 { - range "16000..1048575"; - } - description "Maximum label value"; - } - leaf min-static-value { - type uint32 { - range "0..1048575"; - } - description "Minimum static label value"; - } - leaf max-static-value { - type uint32 { - range "0..1048575"; - } - description "Maximum static label value"; - } - } - leaf label-database-id { - type uint32; - description "Label database identifier"; - } - } - } - leaf app-reg-delay-disable { - type empty; - description "Disable LSD application reg delay"; - } - leaf mpls-entropy-label { - type empty; - description "Enable MPLS Entropy Label"; - } - leaf mpls-ip-ttl-propagate-disable { - type Mpls-ip-ttl-propagate-disable; - description - "Disable Propagation of IP TTL onto the label - stack"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang deleted file mode 100644 index 5c34e1a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang +++ /dev/null @@ -1,2762 +0,0 @@ -submodule Cisco-IOS-XR-mpls-lsd-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-lsd-oper { - prefix Cisco-IOS-XR-mpls-lsd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-lsd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mgmt-lsd-intf-state { - type enumeration { - enum mgmt-lsd-intf-state-unknown { - description "unknown"; - } - enum mgmt-lsd-intf-state-up { - description "up"; - } - enum mgmt-lsd-intf-state-down { - description "down"; - } - } - description "Mgmt lsd intf state"; - } - typedef Mgmt-lsd-app-state { - type enumeration { - enum mgmt-lsd-app-state-active { - description "Active"; - } - enum mgmt-lsd-app-state-zombie { - description "Zombie"; - } - enum mgmt-lsd-app-state-recover { - description "Recover"; - } - } - description "Mgmt lsd app state"; - } - typedef Mgmt-lsd-rw-id { - type enumeration { - enum mgmt-lsd-rw-id-type-none { - description "None"; - } - enum mgmt-lsd-rw-id-type-lbl-ctx { - description "Label Context"; - } - enum mgmt-lsd-rw-id-type-loc-lbl { - description "Local Label"; - } - } - description "Mgmt lsd rw id"; - } - typedef Mgmt-lsd-moi { - type enumeration { - enum mgmt-lsd-moi-type-pop-and-lkup-ipv4 { - description "Pop-and-lookup IPv4"; - } - enum mgmt-lsd-moi-type-ipv4 { - description "IPv4"; - } - enum mgmt-lsd-moi-type-ipv6 { - description "IPv6"; - } - enum mgmt-lsd-moi-type-tev4 { - description "TE IPv4"; - } - enum mgmt-lsd-moi-type-pw { - description "PW"; - } - enum mgmt-lsd-moi-type-pop-and-lkup-ipv6 { - description "Pop-and-lookup IPv6"; - } - enum mgmt-lsd-moi-type-ip-sub { - description "IP Subscriber"; - } - enum mgmt-lsd-moi-type-pwhe { - description "PW HE"; - } - enum mgmt-lsd-moi-type-pw-list { - description "PW List"; - } - enum mgmt-lsd-moi-type-ipv4-stack { - description "IPv4 Multi-Label"; - } - enum mgmt-lsd-moi-type-pop-and-lkup-tp { - description "Pop-and-lookup TP"; - } - enum mgmt-lsd-moi-type-ipv6-stack { - description "IPv6 Multi-Label"; - } - enum mgmt-lsd-moi-type-te-head { - description "TE Head"; - } - enum mgmt-lsd-moi-type-dmtc-ext-intf { - description "Demand Matrix Traffic-Collector"; - } - } - description "Mgmt lsd moi"; - } - typedef Mgmt-lsd-fpi { - type enumeration { - enum mgmt-lsd-fpi-type-label { - description "Label"; - } - enum mgmt-lsd-fpi-type-te { - description "TE"; - } - enum mgmt-lsd-fpi-type-ipv4 { - description "IPv4"; - } - enum mgmt-lsd-fpi-type-ipv6 { - description "IPv6"; - } - enum mgmt-lsd-fpi-type-pw-list { - description "PW List"; - } - enum mgmt-lsd-fpi-type-te-v2 { - description "TE v2"; - } - enum mgmt-lsd-fpi-type-dmtc-ext-intf { - description "DMTC External Interface"; - } - } - description "Mgmt lsd fpi"; - } - typedef Mgmt-lsd-frr-state { - type enumeration { - enum mgmt-lsd-frr-state-partial { - description "Partial"; - } - enum mgmt-lsd-frr-state-active { - description "Active"; - } - enum mgmt-lsd-frr-state-ready { - description "Ready"; - } - enum mgmt-lsd-frr-state-complete { - description "Complete"; - } - enum mgmt-lsd-frr-state-any { - description "Any"; - } - enum mgmt-lsd-frr-state-igp { - description "IGP"; - } - } - description "Mgmt lsd frr state"; - } - typedef Mgmt-lsd-lsp-role { - type enumeration { - enum mgmt-lsd-lsp-role-head { - description "Head"; - } - enum mgmt-lsd-lsp-role-mid { - description "Midpoint"; - } - } - description "Mgmt lsd lsp role"; - } - typedef Mgmt-lsd-te-binding { - type enumeration { - enum mgmt-lsd-ident-p2p-tun-id { - description "mgmt lsd ident p2p tun id"; - } - enum mgmt-lsd-ident-p2p-grp-id { - description "mgmt lsd ident p2p grp id"; - } - enum mgmt-lsd-ident-p2mp-tun-id { - description "mgmt lsd ident p2mp tun id"; - } - enum mgmt-lsd-ident-p2mp-grp-id { - description "mgmt lsd ident p2mp grp id"; - } - } - description "Mgmt lsd te binding"; - } - typedef Lsd-ipv6-address { - type inet:ipv6-address; - description "Lsd ipv6 address"; - } - typedef Mgmt-lsd-lbl-ctx { - type enumeration { - enum mgmt-lsd-lbl-ctx-type-none { - description "None"; - } - enum mgmt-lsd-lbl-ctx-type-ipv4 { - description "IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-ipv6 { - description "IPv6"; - } - enum mgmt-lsd-lbl-ctx-type-tev4 { - description "TE IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-ipv4 { - description "L3VPN IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-ipv6 { - description "L3VPN IPv6"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-vrf { - description "L3VPN Per-VRF"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-cev4 { - description "L3VPN IPv4 Per-CE"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-cev6 { - description "L3VPN IPv6 Per-CE"; - } - enum mgmt-lsd-lbl-ctx-type-pw { - description "PW"; - } - enum mgmt-lsd-lbl-ctx-type-lbl-blk { - description "LBL BLK"; - } - enum mgmt-lsd-lbl-ctx-type-ip-sub { - description "IP SUB"; - } - enum mgmt-lsd-lbl-ctx-type-tev4-p2mp { - description "TE IPv4 P2MP"; - } - enum mgmt-lsd-lbl-ctx-type-mldpv4 { - description "MLDP IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-pwhe { - description "PW HE"; - } - enum mgmt-lsd-lbl-ctx-type-tp { - description "MPLS TP"; - } - enum mgmt-lsd-lbl-ctx-type-gre { - description "GRE"; - } - enum mgmt-lsd-lbl-ctx-type-evpn { - description "EVPN"; - } - enum mgmt-lsd-lbl-ctx-type-blb-ipv4 { - description "BLB IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-blb-ipv6 { - description "BLB IPv6"; - } - enum mgmt-lsd-lbl-ctx-type-pim-i-pmsi { - description "PIM I-PMSI"; - } - enum mgmt-lsd-lbl-ctx-type-pim-s-pmsi { - description "PIM S-PMSI"; - } - enum mgmt-lsd-lbl-ctx-type-l3vpn-nh-set { - description "L3VPN NH SET"; - } - enum mgmt-lsd-lbl-ctx-type-sr-pfx-seg { - description "SR Prefix Segment"; - } - enum mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4 { - description "SR Adj Segment IPv4"; - } - enum mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6 { - description "SR Adj Segment IPv6"; - } - enum mgmt-lsd-lbl-ctx-type-lbl-blk-srgb { - description "LBL BLK SRGB"; - } - enum mgmt-lsd-lbl-ctx-type-te-binding { - description "TE Binding"; - } - enum mgmt-lsd-lbl-ctx-type-gre-ipv6 { - description "GRE IPV6"; - } - enum mgmt-lsd-lbl-ctx-type-any { - description "Any"; - } - enum mgmt-lsd-lbl-ctx-type-lbl-blk-srlb { - description "LBL BLK SRLB"; - } - } - description "Mgmt lsd lbl ctx"; - } - typedef Mgmt-lsd-app-rsrc-state { - type enumeration { - enum mgmt-lsd-app-rsrc-state-active { - description "Active"; - } - enum mgmt-lsd-app-rsrc-state-pnd { - description "Pending"; - } - enum mgmt-lsd-app-rsrc-state-pnd-svr { - description "Pending Server"; - } - } - description "Mgmt lsd app rsrc state"; - } - typedef Mgmt-lsd-app { - type enumeration { - enum mgmt-lsd-app-type-none { - description "None"; - } - enum mgmt-lsd-app-type-int { - description "LSD"; - } - enum mgmt-lsd-app-type-test { - description "Test"; - } - enum mgmt-lsd-app-type-static { - description "Static"; - } - enum mgmt-lsd-app-type-ldp { - description "LDP"; - } - enum mgmt-lsd-app-type-te { - description "TE Control"; - } - enum mgmt-lsd-app-type-app-controller { - description "App Controller"; - } - enum mgmt-lsd-app-type-bgp-ipv4 { - description "BGP v4"; - } - enum mgmt-lsd-app-type-bgp-vpn-ipv4 { - description "BGP VPNv4"; - } - enum mgmt-lsd-app-type-l2vpn { - description "L2VPN"; - } - enum mgmt-lsd-app-type-bgp-spkr { - description "BGP Spkr"; - } - enum mgmt-lsd-app-type-bfd { - description "BFD"; - } - enum mgmt-lsd-app-type-pim { - description "PIM"; - } - enum mgmt-lsd-app-type-v2-lsd { - description "V2 LSD"; - } - enum mgmt-lsd-app-type-pim6 { - description "PIM6"; - } - enum mgmt-lsd-app-type-isis { - description "ISIS"; - } - enum mgmt-lsd-app-type-ospf { - description "OSPF"; - } - enum mgmt-lsd-app-type-cgn { - description "CGN"; - } - enum mgmt-lsd-app-type-dmtc { - description "Traffic Collector"; - } - enum mgmt-lsd-app-type-any { - description "Any"; - } - } - description "Mgmt lsd app"; - } - typedef Mgmt-lsd-client { - type enumeration { - enum mgmt-lsd-client-type-app { - description "Application"; - } - enum mgmt-lsd-client-type-ba { - description "BCDL Agent"; - } - } - description "Mgmt lsd client"; - } - - grouping MPLS-LSD-INTF { - description "LSD interface information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf interface-state { - type Mgmt-lsd-intf-state; - description "Interface state"; - } - - list application-owner { - description "Application Owner"; - uses MPLS-LSD-APP-RSRC-STATE; - } - } - - grouping MPLS-LSD-LBL-RANGE { - description "Label range"; - leaf min-dynamic-label-value { - type uint32; - description "Minimum dynamic label value"; - } - leaf max-dynamic-label-value { - type uint32; - description "Maximum dynamic label value"; - } - leaf min-static-label-value { - type uint32; - description "Minimum static label value"; - } - leaf max-static-label-value { - type uint32; - description "Maximum static label value"; - } - } - - grouping MPLS-LSD-SRLB-INCONSISTENCY { - description "SRLB Inconsistency"; - leaf start-srlb-range { - type uint32; - description - "Start label of Segment Routing Local Block range"; - } - leaf end-srlb-range { - type uint32; - description "End label of Segment Routing Local Block range"; - } - } - - grouping MPLS-LSD-APP-CONNECTED-STATS { - description "LSD application connection statistics"; - leaf rt-set-msg-count { - type uint32; - description "RT set count"; - } - leaf operation-msg-count { - type uint32; - description "Operation count"; - } - leaf oor-label-count { - type uint32; - description "Label OOR count"; - } - leaf error-msg-count { - type uint32; - description "Error count"; - } - } - - grouping MPLS-LSD-APP-STATS { - description "LSD application statistics"; - - container connected { - description "Connected statistics"; - uses MPLS-LSD-APP-CONNECTED-STATS; - } - leaf interface-enable { - type uint32; - description "Number of interface enabled"; - } - leaf interface-enable-pending { - type uint32; - description "Number of interface enable pending"; - } - leaf connect-count { - type uint32; - description "Connect count"; - } - leaf-list label-context-count { - type uint32; - max-elements "30"; - description "Label context count"; - } - leaf-list label-context-pending-count { - type uint32; - max-elements "30"; - description "Label context pending count"; - } - } - - grouping MPLS-LSD-APP { - description "LSD application information"; - - container application-statistics { - description "Application Statistics"; - uses MPLS-LSD-APP-STATS; - } - leaf application-name-xr { - type string; - description "Application name"; - } - leaf application-type { - type Mgmt-lsd-app; - description "Application type"; - } - leaf application-role-primary { - type int32; - description "Primary/Backup role"; - } - leaf application-instance { - type string; - description "client-app instance"; - } - leaf app-reg-time { - type uint64; - description "App reg ts"; - } - leaf app-disconnect-time { - type uint64; - description "App disconnect ts"; - } - leaf app-flow-controlled { - type int32; - description "App flow control status"; - } - leaf flow-ctrl-time { - type uint64; - description "Flow Ctrl ts"; - } - leaf flow-ctrl-clr-time { - type uint64; - description "Flow Ctrl Clr ts"; - } - leaf go-act-ts { - type uint64; - description "App go active timestamp"; - } - leaf application-state { - type Mgmt-lsd-app-state; - description "Application state"; - } - leaf recovery-time-remaining-seconds { - type uint32; - units "second"; - description - "Recovery time [secs] remaining if client is - timing out"; - } - leaf recovery-time-elapsed-seconds { - type uint32; - units "second"; - description - "Recovery time [secs] elapsed if client is timing - out"; - } - leaf recovery-time-register-seconds { - type uint32; - units "second"; - description - "Recovery time [secs] specified at registration - or set explicitly"; - } - leaf node-id { - type xr:Node-id; - description "Node ID where application is/was running"; - } - } - - grouping MPLS-LSD-RW-IP-PATH-SUM { - description "Rewrite's IP paths summary counts"; - leaf total-paths { - type uint32; - description "Total number of IP paths"; - } - leaf total-backup-paths { - type uint32; - description "Total number of non-primary backup paths"; - } - leaf total-remote-backup-paths { - type uint32; - description "Total number of remote backup paths"; - } - leaf total-protected-paths { - type uint32; - description "Total number of protected paths"; - } - leaf total-pop-lkup-paths { - type uint32; - description "Total number of Pop-and-Lookup paths"; - } - } - - grouping MPLS-LSD-RW-SUM { - description "Rewrite summary"; - - container ipv4-paths { - description "Count for IPv4 paths"; - uses MPLS-LSD-RW-IP-PATH-SUM; - } - - container ipv6-paths { - description "Count for IPv6 paths"; - uses MPLS-LSD-RW-IP-PATH-SUM; - } - leaf num-label-fpi { - type uint32; - description "Number of label FPI"; - } - leaf num-tefpi { - type uint32; - description "Number of TE FPI"; - } - leaf num-ipv4fpi { - type uint32; - description "Number of IPv4 FPI"; - } - leaf num-ipv6fpi { - type uint32; - description "Number of IPv6 FPI"; - } - leaf num-pw-list-tefpi { - type uint32; - description "Number of PW List FPI"; - } - leaf num-dmtctefpi { - type uint32; - description "Number of DMTC FPI"; - } - leaf num-rewrite { - type uint32; - description "Number of rewrites"; - } - leaf total-forward-update { - type uint32; - description "Total number of forward updates"; - } - leaf total-forwad-update-message { - type uint32; - description "Total number of forward update messages"; - } - leaf total-paths { - type uint32; - description "Total paths"; - } - leaf total-t-ev4-paths { - type uint32; - description "Total number of Traffic Eng IPv4 paths"; - } - leaf total-te-head-paths { - type uint32; - description "Total number of Traffic Eng Head paths"; - } - leaf total-pw-paths { - type uint32; - description "Total number of Pseudo-wire paths"; - } - leaf total-ip-sub-paths { - type uint32; - description "Total number of IP Subscriber paths"; - } - leaf total-ipv4rpf-neighbors { - type uint32; - description "Total number of IPv4 RPF Neighbors"; - } - leaf total-ipv6rpf-neighbors { - type uint32; - description "Total number of IPv6 RPF Neighbors"; - } - leaf num-rewrite-rpf-neighbors { - type uint32; - description "Number of rewrites with RPF Neighbors"; - } - leaf total-dmtc-intf { - type uint32; - description "Total number of DMTC External Interfaces"; - } - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - } - - grouping MPLS-LSD-RW-ID-LOC-LBL { - description "Rewrite ID local label"; - leaf-list label-data { - type uint32; - description "label data"; - } - } - - grouping MPLS-LSD-RW-ID-GEN { - description "MPLS LSD RW ID GEN"; - - container label-context { - when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { - description - "../RewriteIDType = - 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; - } - description "Label context"; - uses MPLS-LSD-LBL-CTX-KEY; - } - - container local-label-rewrite { - when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { - description - "../RewriteIDType = - 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; - } - description "Local label rewrite information"; - uses MPLS-LSD-RW-ID-LOC-LBL; - } - leaf rewrite-id-type { - type Mgmt-lsd-rw-id; - description "RewriteIDType"; - } - } - - grouping MPLS-LSD-RW-ID { - description "Rewrite ID"; - - container rewrite-id { - description "Rewrite ID"; - uses MPLS-LSD-RW-ID-GEN; - } - } - - grouping MPLS-LSD-MOI-DMTC-EXT-INTF { - description "Demand Matrix Traffic-Collector MOI"; - leaf dmtc-ext-ifh { - type xr:Interface-name; - description "DMTC External Interface"; - } - } - - grouping MPLS-LSD-MOI-TE-HEAD { - description "TE Head MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf tunnel-local-label { - type uint32; - description "Tunnel local label"; - } - leaf tunnel-local-label-str { - type string; - description "Tunnel local label stringified"; - } - leaf tunnel-fwd-class { - type uint8; - description "Tunnel forwarding class"; - } - leaf tunnel-load-metric { - type uint32; - description "Tunnel Load metric"; - } - leaf flags-decode { - type string; - description "Flags decoded string"; - } - } - - grouping MPLS-LSD-MOI-IPV6-INNER-STACK { - description "IPv6 Inner stack for a Multi-Label MOI"; - leaf num-nexthops { - type uint8; - description "Number of remote nexthop addresses"; - } - leaf num-lbls { - type uint8; - description "Depth of inner label stack"; - } - leaf-list nexthop { - type Lsd-ipv6-address; - max-elements "2"; - description "Remote nexthop addresses"; - } - - list label { - max-elements "2"; - description "Info related to outgoing labels"; - uses MPLS-LSD-MOI-OUT-LABEL-INFO; - } - } - - grouping MPLS-LSD-MOI-IPV6-STACK { - description "IPv6 Multi-Label MOI"; - - container nexthop { - description "Nexthop"; - uses MPLS-LSD-MOI-IPV6; - } - - container inner-stack { - description "Inner stack"; - uses MPLS-LSD-MOI-IPV6-INNER-STACK; - } - } - - grouping MPLS-LSD-MOI-OUT-LABEL-INFO { - description "Generic info for an outgoing/remote label"; - leaf outgoing-label { - type uint32; - description "Remote Label"; - } - leaf outgoing-label-str { - type string; - description "Remote Label string"; - } - } - - grouping MPLS-LSD-MOI-IPV4-INNER-STACK { - description "IPv4 Inner stack for a Multi-Label MOI"; - leaf num-nexthops { - type uint8; - description "Number of remote nexthop addresses"; - } - leaf num-lbls { - type uint8; - description "Depth of inner label stack"; - } - leaf-list nexthop { - type inet:ipv4-address; - max-elements "2"; - description "Remote nexthop addresses"; - } - - list label { - max-elements "10"; - description "Info related to outgoing labels"; - uses MPLS-LSD-MOI-OUT-LABEL-INFO; - } - } - - grouping MPLS-LSD-MOI-IPV4-STACK { - description "IPv4 Multi-Label MOI"; - - container nexthop { - description "Nexthop"; - uses MPLS-LSD-MOI-IPV4; - } - - container inner-stack { - description "Inner stack"; - uses MPLS-LSD-MOI-IPV4-INNER-STACK; - } - leaf owner-application-type { - type Mgmt-lsd-app; - description "Owner application type"; - } - } - - grouping MPLS-LSD-MOI-PW-LIST { - description "Pseudo-wire Head-end List MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf l3-interface { - type xr:Interface-name; - description "Pseudo-wire Layer 3 interface"; - } - leaf l2-interface { - type xr:Interface-name; - description "Pseudo-wire Layer 2 interface"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - } - - grouping MPLS-LSD-MOI-PWHE { - description "Pseudo-wire Head-end MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf out-label { - type uint32; - description "Outgoing Label"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "IPv4 nexthop"; - } - leaf control-word { - type int32; - description "Is control word present"; - } - leaf imposition { - type int32; - description "Is PWHE IMposition"; - } - leaf vctype { - type uint8; - description "Virtual Circuit Type"; - } - leaf pw-list-id { - type uint16; - description "Pseudo-wire List Identifier"; - } - leaf pwhe-interface { - type xr:Interface-name; - description "Pseudo-wire Head-end interface"; - } - } - - grouping MPLS-LSD-MOI-IP-SUB { - description "IP sub MOI"; - leaf table-id { - type uint32; - description "VRF table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - } - - grouping MPLS-LSD-MOI-PW { - description "Pseudo-wire MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf out-label { - type uint32; - description "Outgoing Label"; - } - leaf cross-connect-id { - type uint32; - description "Cross-connect ID"; - } - leaf pseuodo-wire-connect-id { - type uint32; - description "PseudoWire Cross-connect ID"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "IPv4 nexthop"; - } - leaf bridge-id { - type uint32; - description "Bridge ID"; - } - leaf split-horizon-id { - type uint32; - description "Split horizon group ID"; - } - } - - grouping MPLS-LSD-MOI-TEV4 { - description "TEv4 MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf out-label { - type uint32; - description "Outgoing label"; - } - leaf out-label-name { - type string; - description "Outgoing label name"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "IPv4 nexthop"; - } - leaf backup-interface { - type xr:Interface-name; - description "Backup interface"; - } - leaf backup-ipv4-next-hop { - type inet:ipv4-address; - description "Backup IPv4 nexthop"; - } - leaf merge-point-label { - type uint32; - description "Merge point label"; - } - leaf backup-local-label { - type uint32; - description "Backup local label"; - } - leaf tunnel-interface { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf tunnel-weight { - type uint32; - description "Tunnel weight"; - } - leaf data-out-parent-interface { - type xr:Interface-name; - description "Outgoing data parent interface"; - } - leaf tunnel-class { - type uint32; - description "Tunnel class"; - } - } - - grouping MPLS-LSD-MOI-IPV6 { - description "IPv6 MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf out-label { - type uint32; - description "Outgoing label"; - } - leaf out-label-name { - type string; - description "Outgoing label name"; - } - leaf ipv6-next-hop { - type Lsd-ipv6-address; - description "IPv6 nexthop"; - } - leaf path-id { - type uint8; - description "Routing path id"; - } - leaf backup-path-id { - type uint8; - description "Routing path backup id"; - } - leaf next-hop-id { - type uint32; - description "Next hop ID"; - } - } - - grouping MPLS-LSD-MOI-IPV4 { - description "IPv4 MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-interface { - type xr:Interface-name; - description "Outgoing Interface"; - } - leaf out-interface-parent { - type xr:Interface-name; - description "Outgoing Interface's parent"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "IPv4 nexthop"; - } - leaf path-id { - type uint8; - description "Routing path id"; - } - leaf backup-path-id { - type uint8; - description "Routing path backup id"; - } - leaf load-metric { - type uint32; - description "Routing path's load metric"; - } - leaf out-label { - type uint32; - description "Outgoing Label"; - } - leaf out-label-name { - type string; - description "Outgoing label name"; - } - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf next-hop-id { - type uint32; - description "Next hop ID"; - } - leaf local-label { - type uint32; - description "TE backup path local label"; - } - } - - grouping MPLS-LSD-MOI-POP-AND-LKUP-TP { - description "Pop and lookup MOI for TP"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - leaf out-label { - type uint32; - description "Outgoing Label"; - } - } - - grouping MPLS-LSD-MOI-POP-AND-LKUP { - description "Pop and lookup MOI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf table-name { - type string; - description "VRF table name"; - } - leaf path-flags-decode { - type string; - description "Path flag decoded string"; - } - } - - grouping MPLS-LSD-MOI-GEN { - description "MPLS LSD MOI GEN"; - - container pop-and-lookup-ipv4 { - when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { - description - "../MoiType = - 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; - } - description "pop and lookup ipv4"; - uses MPLS-LSD-MOI-POP-AND-LKUP; - } - - container pop-and-lookup-tp { - when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { - description - "../MoiType = - 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; - } - description "pop and lookup tp"; - uses MPLS-LSD-MOI-POP-AND-LKUP-TP; - } - - container pop-and-lookup-ipv6 { - when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { - description - "../MoiType = - 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; - } - description "pop and lookup ipv6"; - uses MPLS-LSD-MOI-POP-AND-LKUP; - } - - container ipv4-data { - when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; - } - description "ipv4 data"; - uses MPLS-LSD-MOI-IPV4; - } - - container ipv6-data { - when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; - } - description "ipv6 data"; - uses MPLS-LSD-MOI-IPV6; - } - - container tev4-data { - when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; - } - description "tev4 data"; - uses MPLS-LSD-MOI-TEV4; - } - - container pseudowire-data { - when "../moi-type = 'mgmt-lsd-moi-type-pw'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; - } - description "pseudowire data"; - uses MPLS-LSD-MOI-PW; - } - - container ip-sub-data { - when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; - } - description "ip sub data"; - uses MPLS-LSD-MOI-IP-SUB; - } - - container pseudowire-head-end-data { - when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; - } - description "pseudowire head end data"; - uses MPLS-LSD-MOI-PWHE; - } - - container pw-list-data { - when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; - } - description "pw list data"; - uses MPLS-LSD-MOI-PW-LIST; - } - - container stackv4-data { - when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; - } - description "stackv4 data"; - uses MPLS-LSD-MOI-IPV4-STACK; - } - - container stackv6-data { - when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; - } - description "stackv6 data"; - uses MPLS-LSD-MOI-IPV6-STACK; - } - - container te-head-data { - when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { - description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; - } - description "te head data"; - uses MPLS-LSD-MOI-TE-HEAD; - } - - container dmtc-data { - when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { - description - "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; - } - description "dmtc data"; - uses MPLS-LSD-MOI-DMTC-EXT-INTF; - } - leaf moi-type { - type Mgmt-lsd-moi; - description "MoiType"; - } - } - - grouping MPLS-LSD-MOI { - description "LSD MOI"; - - container moi { - description "Moi"; - uses MPLS-LSD-MOI-GEN; - } - } - - grouping MPLS-LSD-MOI-ARR { - description "LSD MOI array"; - - container application-resource { - description "Application state"; - uses MPLS-LSD-APP-RSRC-STATE; - } - - list moi-array { - description "moi array"; - uses MPLS-LSD-MOI; - } - } - - grouping MPLS-LSD-V6-RPF { - description "LSD V6 RPF"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf v6-rpf-neighbor { - type Lsd-ipv6-address; - description "V6 RPF Neighbor"; - } - } - - grouping MPLS-LSD-V4-RPF { - description "LSD V4 RPF"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf v4-rpf-neighbor { - type inet:ipv4-address; - description "V4 RPF Neighbor"; - } - } - - grouping MPLS-LSD-FPI-DMTC-EXT-INTF { - description "DMTC Ext Intf FPI"; - leaf dmtc-ext-ifh { - type xr:Interface-name; - description "DMTC External Interface"; - } - } - - grouping MPLS-LSD-FPI-PW-LIST { - description "PW List FPI"; - leaf pwhe-list-id { - type uint16; - description "Pseudowire List Identifier"; - } - } - - grouping MPLS-LSD-FPI-IPV6 { - description "IPv6 FPI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf prefix { - type Lsd-ipv6-address; - description "Prefix"; - } - leaf router-flags { - type uint32; - description "Route flags"; - } - leaf prefix-len { - type uint8; - description "Prefix length"; - } - leaf version { - type uint32; - description "Version"; - } - } - - grouping MPLS-LSD-FPI-IPV4 { - description "IPv4 FPI"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf prefix { - type inet:ipv4-address; - description "Prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix Length"; - } - leaf version { - type uint32; - description "Version"; - } - leaf sr-local-label { - type uint32; - description "SR related Local label"; - } - } - - grouping MPLS-LSD-FPI-TE { - description "TE FPI"; - leaf tunnel-interface { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf local-label { - type uint32; - description "Local label"; - } - } - - grouping MPLS-LSD-FPI-LBL { - description "Label FPI"; - leaf label { - type uint32; - description "Label value"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - leaf elc { - type int32; - description "ELC"; - } - } - - grouping MPLS-LSD-FPI-GEN { - description "MPLS LSD FPI GEN"; - - container label-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { - description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; - } - description "label data"; - uses MPLS-LSD-FPI-LBL; - } - - container te-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { - description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; - } - description "te data"; - uses MPLS-LSD-FPI-TE; - } - - container ipv4-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { - description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; - } - description "ipv4 data"; - uses MPLS-LSD-FPI-IPV4; - } - - container ipv6-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { - description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; - } - description "ipv6 data"; - uses MPLS-LSD-FPI-IPV6; - } - - container pw-list-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { - description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; - } - description "pw list data"; - uses MPLS-LSD-FPI-PW-LIST; - } - - container dmtc-ext-intf-data { - when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { - description - "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; - } - description "dmtc ext intf data"; - uses MPLS-LSD-FPI-DMTC-EXT-INTF; - } - leaf fpi-type { - type Mgmt-lsd-fpi; - description "FPIType"; - } - } - - grouping MPLS-LSD-FPI { - description "LSD FPI"; - - container fpi { - description "FPI"; - uses MPLS-LSD-FPI-GEN; - } - - list application-owner { - description "Application owner instance"; - uses MPLS-LSD-APP-RSRC-STATE; - } - } - - grouping MPLS-LSD-RW { - description "Rewrite information"; - - container fpi-key { - description "fpi key"; - uses MPLS-LSD-FPI; - } - - container rewrite-id { - description "Rewrite ID"; - uses MPLS-LSD-RW-ID; - } - leaf rewrite-version { - type uint64; - description "Rewrite version"; - } - leaf bcdl-priority { - type uint8; - description "BCDL Priority"; - } - leaf lsd-queue { - type uint8; - description "LSD queue"; - } - leaf rw-install-time { - type uint64; - description "Rewrite install timestamp"; - } - leaf rw-install-age { - type uint64; - description "Rewrite install age"; - } - leaf rw-updated { - type int32; - description "Is rewrite ever updated"; - } - leaf priority-updated { - type int32; - description "Is rewrite's BCDL priority updated"; - } - - list associated-fpi { - description "Associated FPI"; - uses MPLS-LSD-FPI; - } - - list v4-rpf { - description "IPv4 RPF neighbors"; - uses MPLS-LSD-V4-RPF; - } - - list v6-rpf { - description "IPv6 RPF neighbors"; - uses MPLS-LSD-V6-RPF; - } - - list mois { - description "Mois"; - uses MPLS-LSD-MOI-ARR; - } - } - - grouping MPLS-LSD-FRR-DB-SUM { - description "FRR summary"; - leaf active { - type uint32; - description "Number of FRR rewrites in Active state"; - } - leaf ready { - type uint32; - description "Number of FRR rewrites in Ready state"; - } - leaf partial { - type uint32; - description "Number of FRR rewrites in Partial state"; - } - leaf igp { - type uint32; - description "Number of FRR rewrites in IGP state for SR-TE"; - } - } - - grouping MPLS-LSD-FRR-OUT-PATH { - description "FRR out path entry"; - leaf out-interface { - type xr:Interface-name; - description "Outgoing interface"; - } - leaf out-label { - type uint32; - description "Outgoing label"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "Next hop IPv4 address"; - } - leaf frr-interface { - type xr:Interface-name; - description "FRR interface"; - } - leaf frr-label { - type uint32; - description "FRR output label"; - } - } - - grouping MPLS-LSD-FRR-DB-ENTRY-MID-ID { - description "FRR midpoint"; - leaf source-address { - type inet:ipv4-address; - description "Source IPv4 address"; - } - leaf lspid { - type uint32; - description "LSP ID"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - } - - grouping MPLS-LSD-FRR-DB-ENTRY-HEAD-ID { - description "FRR head"; - leaf destination-prefix { - type inet:ipv4-address; - description "Destination prefix"; - } - leaf destination-prefix-length { - type uint8; - description "Destination prefix length"; - } - } - - grouping MPLS-LSD-FRR-DB-ENTRY-GEN-ID { - description "MPLS LSD FRR DB ENTRY GEN ID"; - - container head { - when "../role = 'mgmt-lsd-lsp-role-head'" { - description "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; - } - description "head"; - uses MPLS-LSD-FRR-DB-ENTRY-HEAD-ID; - } - - container midpoint { - when "../role = 'mgmt-lsd-lsp-role-mid'" { - description "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; - } - description "midpoint"; - uses MPLS-LSD-FRR-DB-ENTRY-MID-ID; - } - leaf role { - type Mgmt-lsd-lsp-role; - description "Role"; - } - } - - grouping MPLS-LSD-FRR-DB-ENTRY { - description "FRR entry"; - - container frr-entry-id { - description "FRR entry ID"; - uses MPLS-LSD-FRR-DB-ENTRY-GEN-ID; - } - leaf tunnel-interface { - type xr:Interface-name; - description "Tunnel interface"; - } - leaf input-label { - type uint32; - description "Input label"; - } - leaf entry-frr-state { - type Mgmt-lsd-frr-state; - description "MPLS FRR entry state"; - } - - list out-path { - description "Out Path List"; - uses MPLS-LSD-FRR-OUT-PATH; - } - } - - grouping MPLS-LSD-LBL-CTX-LBL-BLK-SRLB { - description "Label block SRLB context"; - leaf start-label { - type uint32; - description "Start Label"; - } - leaf offset { - type uint32; - description "Offset"; - } - leaf size { - type uint32; - description "Number of labels"; - } - } - - grouping MPLS-LSD-LBL-CTX-TE-BINDING { - description "Traffic Engineering Binding context"; - leaf te-identifier { - type uint32; - description "MPLS Traffic Engineering Tunnel or Group ID"; - } - leaf te-type { - type Mgmt-lsd-te-binding; - description "Type of identifier for the binding"; - } - } - - grouping MPLS-LSD-LBL-CTX-LBL-BLK-SRGB { - description "Label block SRGB context"; - leaf start-label { - type uint32; - description "Start Label"; - } - leaf offset { - type uint32; - description "Offset"; - } - leaf size { - type uint32; - description "Number of labels"; - } - } - - grouping MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV6 { - description "SR Adj Segment ipv6 context"; - leaf index { - type uint32; - description "Adjacency index"; - } - leaf type { - type uint32; - description "Adjacency type"; - } - leaf intf { - type xr:Interface-name; - description "Adjacency interface"; - } - leaf addr { - type Lsd-ipv6-address; - description "Adjacency nexthop IPv6 address"; - } - } - - grouping MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV4 { - description "SR Adj Segment ipv4 context"; - leaf index { - type uint32; - description "Adjacency index"; - } - leaf type { - type uint32; - description "Adjacency type"; - } - leaf intf { - type xr:Interface-name; - description "Adjacency interface"; - } - leaf addr { - type inet:ipv4-address; - description "Adjacency nexthop IPv4 address"; - } - } - - grouping MPLS-LSD-LBL-CTX-SR-PFX-SEG { - description "SR Prefix Segment context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf segment-id { - type uint32; - description "Prefix Segment ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-NH-SET { - description "L3VPN NH SET context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf next-hop-set-id { - type uint32; - description "Next Hop Set ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-PIM-S-PMSI { - description "PIM S-PMSI label context"; - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf source { - type inet:ipv4-address; - description "Originating Router"; - } - leaf head { - type int32; - description "Head"; - } - leaf v6 { - type int32; - description "PIM6"; - } - leaf hli { - type uint32; - description "Head LSM-ID"; - } - leaf seg { - type int32; - description "Segmented Multicast"; - } - } - - grouping MPLS-LSD-LBL-CTX-PIM-I-PMSI { - description "PIM I-PMSI label context"; - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf head { - type int32; - description "Head"; - } - leaf v6 { - type int32; - description "PIM6"; - } - } - - grouping MPLS-LSD-LBL-CTX-BLB-IPV6 { - description "BFD BLB IPv6 content"; - leaf blb-intf { - type xr:Interface-name; - description "BFD BLB interface"; - } - leaf prefix { - type Lsd-ipv6-address; - description "IPv6 prefix"; - } - } - - grouping MPLS-LSD-LBL-CTX-BLB-IPV4 { - description "BFD BLB IPv4 content"; - leaf blb-intf { - type xr:Interface-name; - description "BFD BLB interface"; - } - leaf prefix { - type inet:ipv4-address; - description "IPv4 prefix"; - } - } - - grouping MPLS-LSD-LBL-CTX-EVPN { - description "EVPN context"; - leaf evpn-id { - type uint32; - description "EVPN ID"; - } - leaf evpn-tag { - type uint32; - description "EVPN TAG"; - } - leaf ethernet-segment { - type yang:hex-string; - description "Ethernet Segment ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-GRE-IPV6 { - description "Generic routing encapsulation context"; - leaf greipv6-interface { - type xr:Interface-name; - description "Generic routing encapsulation IPv6 interface"; - } - } - - grouping MPLS-LSD-LBL-CTX-GRE { - description "Generic routing encapsulation context"; - leaf gre-interface { - type xr:Interface-name; - description "Generic routing encapsulation interface"; - } - } - - grouping MPLS-LSD-LBL-CTX-TP { - description "TP context"; - leaf source-global-id { - type uint32; - description "TP source global ID"; - } - leaf source-node-id { - type inet:ipv4-address; - description "TP source node ID"; - } - leaf dest-global-id { - type uint32; - description "TP destination global ID"; - } - leaf dest-node-id { - type inet:ipv4-address; - description "TP destination node ID"; - } - leaf source-tunnel-id { - type uint16; - description "TP source tunnel ID"; - } - leaf dest-tunnel-id { - type uint16; - description "TP destination tunnel ID"; - } - leaf lsp-id { - type uint16; - description "TP LSP ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-PWHE { - description "Pseudo-wire Head-end context"; - leaf pwhe-intf { - type xr:Interface-name; - description "Pseudo-wire Head-end interface"; - } - } - - grouping MPLS-LSD-LBL-CTX-MLDPV4 { - description "MLDP IPv4 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf type { - type uint16; - description "LSM ID Type"; - } - leaf lsm-id { - type uint32; - description "LSM ID"; - } - leaf peer-lsrid { - type inet:ipv4-address; - description "Peer LSR Id"; - } - leaf peer-label-space-id { - type uint16; - description "Peer Label Space Id"; - } - } - - grouping MPLS-LSD-LBL-CTX-TEV4-P2MP { - description "TEv4 p2mp context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf tunnel-source { - type inet:ipv4-address; - description "Tunnel source"; - } - leaf p2mp-id { - type uint32; - description "Point to multipoint ID"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - leaf tunnel-id-extension { - type uint32; - description "Tunnel ID extension"; - } - leaf tunnel-lsp-id { - type uint32; - description "Tunnel LSP ID"; - } - leaf previous-hop { - type inet:ipv4-address; - description "Previous hop"; - } - } - - grouping MPLS-LSD-LBL-CTX-IP-SUB { - description "IP subscriber context"; - leaf table-id { - type uint32; - description "Table Id"; - } - leaf parent-interface { - type xr:Interface-name; - description "Parent interface"; - } - } - - grouping MPLS-LSD-LBL-CTX-LBL-BLK { - description "Label block context"; - leaf service { - type uint8; - description "Service"; - } - leaf vpn-id { - type uint16; - description "VPN ID"; - } - leaf edge-id { - type uint16; - description "Edge ID"; - } - leaf offset { - type uint32; - description "Offset"; - } - leaf size { - type uint32; - description "Number of labels"; - } - } - - grouping MPLS-LSD-LBL-CTX-PW { - description "Pseudo-wire context"; - leaf prefix { - type inet:ipv4-address; - description "Address prefix"; - } - leaf pseudowire-id { - type uint64; - description "Pseudo-wire ID"; - } - leaf remote-l2-router-id { - type uint32; - description "Remote L2 Router ID"; - } - leaf subinterface { - type xr:Interface-name; - description "Subinterface"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-CEV6 { - description "L3VPN CEv6 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf ipv6-next-hop { - type Lsd-ipv6-address; - description "IPv6 nexthop"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-CEV4 { - description "L3VPN CEv4 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf ipv4-next-hop { - type inet:ipv4-address; - description "IPv4 nexthop"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-VRF { - description "L3VPN vrf context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-IPV6 { - description "L3VPN IPv6 context"; - leaf prefix { - type Lsd-ipv6-address; - description "IPv6 prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - leaf route-distinguisher { - type uint64; - description "Route distinguisher"; - } - } - - grouping MPLS-LSD-LBL-CTX-L3VPN-IPV4 { - description "L3VPN IPv4 context"; - leaf prefix { - type inet:ipv4-address; - description "IPv4 prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - leaf route-distinguisher { - type uint64; - description "Route distinguisher"; - } - } - - grouping MPLS-LSD-LBL-CTX-TEV4 { - description "LSD TEv4 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf tunnel-source { - type inet:ipv4-address; - description "Tunnel source"; - } - leaf tunnel-dest { - type inet:ipv4-address; - description "Tunnel destination"; - } - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - leaf tunnel-id-extension { - type uint32; - description "Extended tunnel ID"; - } - leaf tunnel-lsp-id { - type uint32; - description "Tunnel LSP ID"; - } - leaf is-srte { - type int32; - description "Is this an SRTE head tunnel"; - } - } - - grouping MPLS-LSD-LBL-CTX-IPV6 { - description "LSD IPv6 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf prefix { - type inet:ipv6-address; - description "Prefix"; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF Name"; - } - } - - grouping MPLS-LSD-LBL-CTX-IPV4 { - description "LSD IPv4 context"; - leaf table-id { - type uint32; - description "Table ID"; - } - leaf prefix { - type inet:ipv4-address; - description "IPv4 prefix"; - } - leaf prefix-length { - type uint8; - description "IPv4 prefix length"; - } - leaf security-id { - type uint32; - description "Security ID"; - } - leaf vrf-name { - type string { - length "0..33"; - } - description "VRF Name"; - } - } - - grouping MPLS-LSD-LBL-CTX-KEY { - description "MPLS LSD LBL CTX KEY"; - - container ipv4-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; - } - description "IPv4 label context"; - uses MPLS-LSD-LBL-CTX-IPV4; - } - - container ipv6-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; - } - description "IPv6 label context"; - uses MPLS-LSD-LBL-CTX-IPV6; - } - - container tev4-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; - } - description "TEv4 label context"; - uses MPLS-LSD-LBL-CTX-TEV4; - } - - container ipv4l3vpn-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; - } - description "L3VPN IPv4 label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-IPV4; - } - - container ipv6l3vpn-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; - } - description "L3VPN IPv6 label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-IPV6; - } - - container vrf-l3vpn-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; - } - description "L3VPN VRF label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-VRF; - } - - container cev4l3vpn-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; - } - description "L3VPN CEv4 label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-CEV4; - } - - container cev6l3vpn-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; - } - description "L3VPN CEv6 label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-CEV6; - } - - container pseudowire-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_PW'"; - } - description "Pseudowire label context"; - uses MPLS-LSD-LBL-CTX-PW; - } - - container label-block-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; - } - description "Label block context"; - uses MPLS-LSD-LBL-CTX-LBL-BLK; - } - - container ip-sub-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-ip-sub'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; - } - description "IP Subscriber context"; - uses MPLS-LSD-LBL-CTX-IP-SUB; - } - - container tev4p2mp-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; - } - description "TEv4 P2MP context"; - uses MPLS-LSD-LBL-CTX-TEV4-P2MP; - } - - container mld-pv4-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-mldpv4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; - } - description "MLDPv4 LSM-ID context"; - uses MPLS-LSD-LBL-CTX-MLDPV4; - } - - container pseudowire-head-end-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; - } - description "Pseudowire Head-end label context"; - uses MPLS-LSD-LBL-CTX-PWHE; - } - - container tp-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_TP'"; - } - description "TP context"; - uses MPLS-LSD-LBL-CTX-TP; - } - - container generic-routing-encapsulation { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; - } - description "Generic routing encapsulation context"; - uses MPLS-LSD-LBL-CTX-GRE; - } - - container ipv6-generic-routing-encapsulation { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; - } - description "Generic routing encapsulation context"; - uses MPLS-LSD-LBL-CTX-GRE-IPV6; - } - - container evpn-data { - when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; - } - description "EVPN context"; - uses MPLS-LSD-LBL-CTX-EVPN; - } - - container ipv4blb-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; - } - description "BFD BLB label context"; - uses MPLS-LSD-LBL-CTX-BLB-IPV4; - } - - container ipv6blb-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; - } - description "BFD BLB label context"; - uses MPLS-LSD-LBL-CTX-BLB-IPV6; - } - - container pi-mi-pmsi-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; - } - description "PIM I-PMSI label conext"; - uses MPLS-LSD-LBL-CTX-PIM-I-PMSI; - } - - container pi-ms-pmsi-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; - } - description "PIM S-PMSI label conext"; - uses MPLS-LSD-LBL-CTX-PIM-S-PMSI; - } - - container next-hop-set-l3vpn { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; - } - description "L3VPN NH SET label context"; - uses MPLS-LSD-LBL-CTX-L3VPN-NH-SET; - } - - container sr-prefix-segment { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; - } - description "SR Prefix Segment context"; - uses MPLS-LSD-LBL-CTX-SR-PFX-SEG; - } - - container sr-adj-segment-ipv4 { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; - } - description "SR Adj Segment ipv4 context"; - uses MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV4; - } - - container sr-adj-segment-ipv6 { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; - } - description "SR Adj Segment ipv6 context"; - uses MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV6; - } - - container label-block-srgb-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; - } - description "Label block SRGB context"; - uses MPLS-LSD-LBL-CTX-LBL-BLK-SRGB; - } - - container te-binding { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-te-binding'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; - } - description "MPLS TE tunnel binding context"; - uses MPLS-LSD-LBL-CTX-TE-BINDING; - } - - container label-block-srlb-data { - when "../label-context-type ="+ - " 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { - description - "../LabelContextType = - 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; - } - description "Label block SRLB context"; - uses MPLS-LSD-LBL-CTX-LBL-BLK-SRLB; - } - leaf label-context-type { - type Mgmt-lsd-lbl-ctx; - description "LabelContextType"; - } - } - - grouping MPLS-LSD-LBL-CTX { - description "Label context"; - - container key { - description "Label Key"; - uses MPLS-LSD-LBL-CTX-KEY; - } - leaf application-data { - type yang:hex-string; - description "Application opaque data"; - } - } - - grouping MPLS-LSD-APP-RSRC-STATE { - description "LSD application state"; - leaf application-name { - type string; - description "Application name"; - } - leaf application-type { - type Mgmt-lsd-app; - description "Application type"; - } - leaf application-role-primary { - type int32; - description "Primary/Backup role"; - } - leaf application-instance { - type string; - description "Application instance Name"; - } - leaf resource-state { - type Mgmt-lsd-app-rsrc-state; - description "Application resource state"; - } - } - - grouping MPLS-LSD-LBL { - description "Label information"; - - container label-context { - description "Label context"; - uses MPLS-LSD-LBL-CTX; - } - leaf label { - type uint32; - description "Label value"; - } - leaf rewrite-is-bound { - type int32; - description "Rewrite bound to label"; - } - leaf rewrite-owners { - type uint32; - description "Rewrite owner"; - } - leaf rs-iconnected { - type int32; - description "RSI connected"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - - list application-owner { - description "Application owner"; - uses MPLS-LSD-APP-RSRC-STATE; - } - } - - grouping MPLS-LSD-LBL-SUM-ELEM { - description "Label summary"; - leaf application-type { - type Mgmt-lsd-app; - description "Application type"; - } - leaf application-name { - type string; - description "Application name"; - } - leaf application-role-primary { - type int32; - description "Primary/Backup role"; - } - leaf application-instance { - type string; - description "client-app identifier"; - } - leaf number-of-labels { - type uint32; - description "Number of labels"; - } - } - - grouping MPLS-LSD-LBL-SUM { - description "Label statistics"; - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - leaf total-labels { - type uint32; - description "Total labels"; - } - leaf rsi-connected { - type int32; - description "Rsi connected"; - } - - list owner-count { - description "Owner counts"; - uses MPLS-LSD-LBL-SUM-ELEM; - } - } - - grouping MPLS-LSD-CLIENT-BA { - description "LSD bcdl client information"; - leaf client-conn-index { - type int32; - description "BCDL Agent client connection index"; - } - leaf parent-client-conn-index { - type int32; - description "BCDL Agent parent client connection index"; - } - } - - grouping MPLS-LSD-CLIENT-APP { - description "LSD application client information"; - leaf application-name { - type string; - description "Application name"; - } - leaf application-type { - type Mgmt-lsd-app; - description "Application type"; - } - leaf application-instance { - type string; - description "client-app instance"; - } - leaf application-role-primary { - type int32; - description "Primary/Backup role"; - } - } - - grouping MGMT-MPLS-LSD-CLIENT-DATA { - description "MGMT MPLS LSD CLIENT DATA"; - - container application { - when "../lsd-client-type = 'mgmt-lsd-client-type-app'" { - description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_APP'"; - } - description "Application client"; - uses MPLS-LSD-CLIENT-APP; - } - - container bcdl-agent { - when "../lsd-client-type = 'mgmt-lsd-client-type-ba'" { - description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_BA'"; - } - description "BCDL agent client"; - uses MPLS-LSD-CLIENT-BA; - } - leaf lsd-client-type { - type Mgmt-lsd-client; - description "LSDClientType"; - } - } - - grouping MPLS-LSD-CLIENT { - description "LSD client information"; - - container client-union { - description "Client union"; - uses MGMT-MPLS-LSD-CLIENT-DATA; - } - leaf client-index { - type uint32; - description "Client Index Value"; - } - leaf node-id { - type xr:Node-id; - description "Node ID"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper.yang deleted file mode 100644 index 0522a35..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-lsd-oper.yang +++ /dev/null @@ -1,400 +0,0 @@ -module Cisco-IOS-XR-mpls-lsd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper"; - - - prefix "mpls-lsd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-lsd-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-lsd package operational data. - - This module contains definitions - for the following management objects: - mpls-lsd-nodes: Location MPLS LSD operational data - mpls-lsd: mpls lsd - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping REWRITE-SUMMARY { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container rewrite-summary { - description "Rewrite Summary "; - uses MPLS-LSD-RW-SUM; - } - } - - grouping LABEL-SUMMARY { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container label-summary { - description "Dynamic label range"; - uses MPLS-LSD-LBL-SUM; - } - } - - grouping LABEL-TABLE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container labels { - description "Table of labels"; - - list label { - key "label-id"; - description "Data for label"; - leaf label-id { - type int32; - description "Label value"; - } - uses MPLS-LSD-LBL; - } - } - } - - grouping FRR-DATABASE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container frr-database { - description "FRR database"; - - container tunnel-midpoints { - description - "Table of FRR database entries - Tunnel - midpoints"; - - list tunnel-midpoint { - key "label"; - description - "Data for FRR database entry - Tunnel midpoint"; - leaf label { - type int32; - description "Label value"; - } - uses MPLS-LSD-FRR-DB-ENTRY; - } - } - - container tunnel-heads { - description "Table of FRR database entries - Tunnel heads"; - - list tunnel-head { - key "interface-name"; - description "Data for FRR database entry - Tunnel head"; - leaf interface-name { - type xr:Interface-name; - description "Tunnel interface"; - } - uses MPLS-LSD-FRR-DB-ENTRY; - } - } - - container tunnel-head-summary { - description - "Summary data for FRR database entry - Tunnel - head"; - uses MPLS-LSD-FRR-DB-SUM; - } - - container summary-protected-interfaces { - description "Sumary table of Protected Interfaces"; - - list summary-protected-interface { - key "interface-name"; - description "Data for MPLS interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - uses MPLS-LSD-FRR-DB-SUM; - } - } - - container tunnel-summary { - description "Summary data for FRR database entry"; - uses MPLS-LSD-FRR-DB-SUM; - } - - container tunnel-midpoint-summary { - description - "Summary data for FRR database entry - Tunnel - midpoint"; - uses MPLS-LSD-FRR-DB-SUM; - } - } - } - - grouping LABEL-RANGE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container label-range { - description "Label range"; - uses MPLS-LSD-LBL-RANGE; - } - } - - grouping CLIENT-TABLE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container clients { - description "Table of MPLS clients using LSD"; - - list client { - key "client-name"; - description "Data for MPLS client using LSD"; - leaf client-name { - type xr:Cisco-ios-xr-string; - description - "Client Instance name in the form of - 'Application-' or - 'BCDL_Agent-'"; - } - uses MPLS-LSD-CLIENT; - } - } - } - - grouping LABEL-SUMMARY-VRF-TABLE { - description - "Common node of mpls-lsd, mpls-lsd-nodeCommon node - of mpls-lsd, mpls-lsd-node"; - - container label-summary-vrfs { - description "Dynamic label range summary by VRF"; - - list label-summary-vrf { - key "vrf-name"; - description "Dynamic label range summary by VRF"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses MPLS-LSD-LBL-SUM; - } - } - } - - grouping SRLB-INCONSISTENCY { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container srlb-inconsistency { - description "SRLB Inconsistencies"; - uses MPLS-LSD-SRLB-INCONSISTENCY; - } - } - - grouping APPLICATION-TABLE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container applications { - description "Table of MPLS applications using LSD"; - - list application { - key "application-name"; - description "Data for MPLS application using LSD"; - leaf application-name { - type xr:Cisco-ios-xr-string; - description - "Application Instance name in the form of - '[:]'"; - } - uses MPLS-LSD-APP; - } - } - } - - grouping REWRITE-SUMMARY-VRF-TABLE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container rewrite-summary-vrfs { - description "Rewrite Summary by VRF"; - - list rewrite-summary-vrf { - key "vrf-name"; - description "Rewrite summary by VRF VRF-name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses MPLS-LSD-RW-SUM; - } - } - } - - grouping INTERFACE-TABLE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container interfaces { - description "Table of MPLS interfaces"; - - list interface { - key "interface-name"; - description "Data for MPLS interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface"; - } - uses MPLS-LSD-INTF; - } - } - } - - grouping REWRITE { - description "Common node of mpls-lsd, mpls-lsd-node"; - - container rewrite { - description "Table of rewrites"; - - container rewrite-pws { - description "Table of Rewrites"; - - list rewrite-pw { - key "pw-list-id"; - description "FPI rewrite for PW List"; - leaf pw-list-id { - type int32; - description "PW List ID"; - } - uses MPLS-LSD-RW; - } - } - - container rewrite-ipv4s { - description "Table of Rewrites"; - - list rewrite-ipv4 { - description "FPI rewrite for label"; - leaf rsi-table-name { - type xr:Cisco-ios-xr-string; - description "RSI table name"; - } - leaf rsi-table-id { - type xr:Hex-integer; - description "RSI table ID"; - } - leaf prefix { - type inet:ipv4-address-no-zone; - description "IPv4 Prefix"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - uses MPLS-LSD-RW; - } - } - - container rewrite-tes { - description "Table of Traffic Engineering Rewrites"; - - list rewrite-te { - key "interface-name"; - description "FPI rewrite for TE"; - leaf interface-name { - type xr:Interface-name; - description "Tunnel interface"; - } - uses MPLS-LSD-RW; - } - } - - container rewrite-labels { - description "Table of Rewrites"; - - list rewrite-label { - key "label-id"; - description "FPI rewrite for label"; - leaf label-id { - type int32; - description "Label value"; - } - uses MPLS-LSD-RW; - } - } - } - } - - container mpls-lsd-nodes { - config false; - description "Location MPLS LSD operational data"; - - list mpls-lsd-node { - key "node-name"; - description - "The MPLS LSD operational data for a particular - node"; - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - uses CLIENT-TABLE; - uses LABEL-SUMMARY; - uses LABEL-TABLE; - uses FRR-DATABASE; - uses REWRITE; - uses REWRITE-SUMMARY; - uses APPLICATION-TABLE; - uses SRLB-INCONSISTENCY; - uses LABEL-SUMMARY-VRF-TABLE; - uses LABEL-RANGE; - uses REWRITE-SUMMARY-VRF-TABLE; - uses INTERFACE-TABLE; - } - } - - container mpls-lsd { - config false; - description "mpls lsd"; - uses CLIENT-TABLE; - uses LABEL-SUMMARY; - uses LABEL-TABLE; - uses FRR-DATABASE; - uses REWRITE; - uses REWRITE-SUMMARY; - uses APPLICATION-TABLE; - uses SRLB-INCONSISTENCY; - uses LABEL-SUMMARY-VRF-TABLE; - uses LABEL-RANGE; - uses REWRITE-SUMMARY-VRF-TABLE; - uses INTERFACE-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-cfg.yang deleted file mode 100644 index a669d78..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-cfg.yang +++ /dev/null @@ -1,71 +0,0 @@ -module Cisco-IOS-XR-mpls-oam-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg"; - - - prefix "mpls-oam-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-oam package configuration. - - This module contains definitions - for the following management objects: - mpls-oam: MPLS LSP verification configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mpls-oam { - description "MPLS LSP verification configuration"; - - container reply-mode { - description "Echo request reply mode attributes"; - - container control-channel { - description "Configure control channel reply mode"; - leaf allow-reverse-lsp { - type empty; - description "Use Reverse LSP as the control channel"; - } - } - } - leaf enable-oam { - type empty; - description - "Enable/Disable MPLS OAM globally.Without - creating this object the MPLS OAM feature will - not be enabled. Deleting this object will stop - the MPLS OAM feature."; - } - leaf disable-vendor-extension { - type empty; - description "Disable vendor extension"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper-sub1.yang deleted file mode 100644 index fae850f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper-sub1.yang +++ /dev/null @@ -1,394 +0,0 @@ -submodule Cisco-IOS-XR-mpls-oam-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-oam-oper { - prefix Cisco-IOS-XR-mpls-oam-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-oam package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Lspv-bag-interface-state { - type enumeration { - enum not-ready { - description "Not ready"; - } - enum admin-down { - description "Admin down"; - } - enum down { - description "Down"; - } - enum up { - description "UP"; - } - enum shutdown { - description "Shutdown"; - } - enum error-disable { - description "Error disable"; - } - enum down-immediate { - description "Immediate down"; - } - enum admin-immediate { - description "Immediate admin"; - } - enum graceful-down { - description "Graceful down"; - } - enum begin-shutdown { - description "Begin shutdown"; - } - enum end-shutdown { - description "End shutdown"; - } - enum begin-error-disable { - description "Begin error disable"; - } - enum end-error-disable { - description "End error disable"; - } - enum begin-graceful-down { - description "Begin graceful down"; - } - enum reset { - description "Reset"; - } - enum operational { - description "Operational"; - } - enum not-operational { - description "Not operational"; - } - enum not-known { - description "Unknown"; - } - } - description "LSPV interface state"; - } - - grouping LSPV-COLLAB-COUNTER { - description "LSPV collaborator counters"; - leaf ups { - type uint32; - description "Collaborator up counter"; - } - leaf downs { - type uint32; - description "Collaborator down counter"; - } - } - - grouping LSPV-COLLAB-STATISTICS { - description "LSPV collaborator statistics"; - - container collaborator-i-parm { - description "Collaborator IPARM counts"; - uses LSPV-COLLAB-COUNTER; - } - - container collaborator-im { - description "Collaborator IM counts"; - uses LSPV-COLLAB-COUNTER; - } - - container collaborator-net-io { - description "Collaborator NetIO counts"; - uses LSPV-COLLAB-COUNTER; - } - - container collaborator-rib { - description "Collaborator RIB counts"; - uses LSPV-COLLAB-COUNTER; - } - } - - grouping LSPV-MSG-STATISTICS { - description "LSPV verification process message statistics"; - leaf register-messages { - type uint32; - description "Message register count"; - } - leaf unregister-messages { - type uint32; - description "Message unregister count"; - } - leaf echo-submit-messages { - type uint32; - description "Message echo submit count"; - } - leaf echo-cancel-messages { - type uint32; - description "Message echo cancel count"; - } - leaf get-result-messages { - type uint32; - description "Message get results count"; - } - leaf get-config-messages { - type uint32; - description "Message get configiuration count"; - } - leaf get-response-messages { - type uint32; - description "Message get response count"; - } - leaf property-response-messages { - type uint32; - description "Message property response count"; - } - leaf property-request-messages { - type uint32; - description "Message property request count"; - } - leaf property-block-messages { - type uint32; - description "Message property block count"; - } - leaf thread-request-messages { - type uint32; - description "Message thread request count"; - } - } - - grouping LSPV-GLOBAL-TYPE { - description "LSPV global information"; - - container message-statistics { - description "Message statistics"; - uses LSPV-MSG-STATISTICS; - } - - container collaborator-statistics { - description "Collaborator statistics"; - uses LSPV-COLLAB-STATISTICS; - } - leaf total-clients { - type uint32; - description "Number of clients"; - } - } - - grouping LSPV-BAG-STATS-TX { - description "LSPV transmission statistics"; - - container transmit-good { - description "Transmit good packets"; - uses LSPV-PKT-COUNTER; - } - - container transmit-drop { - description "Transmit drop packets"; - uses LSPV-PKT-COUNTER; - } - - container transmit-bfd-good { - description "Transmit good BFD request packets"; - uses LSPV-PKT-COUNTER; - } - - container bfd-no-reply { - description - "No Reply action for echo reqeust of BFD - bootstrap"; - uses LSPV-PKT-COUNTER; - } - } - - grouping LSPV-PKT-COUNTER { - description "LSPV verification packet count"; - leaf packets { - type uint64; - description "Packet counter"; - } - leaf bytes { - type uint64; - units "byte"; - description "Byte counter"; - } - } - - grouping LSPV-BAG-STATS-RX { - description "LSPV reception statistics"; - - container received-good-request { - description "Received good request"; - uses LSPV-PKT-COUNTER; - } - - container received-good-reply { - description "Received good reply"; - uses LSPV-PKT-COUNTER; - } - - container received-unknown { - description "Received unknown packets"; - uses LSPV-PKT-COUNTER; - } - - container received-error-ip-header { - description "IP header error"; - uses LSPV-PKT-COUNTER; - } - - container received-error-udp-header { - description "UDP header error"; - uses LSPV-PKT-COUNTER; - } - - container received-error-runt { - description "RUNT error"; - uses LSPV-PKT-COUNTER; - } - - container received-error-queue-full { - description "Dropped queue full"; - uses LSPV-PKT-COUNTER; - } - - container received-error-general { - description "General error"; - uses LSPV-PKT-COUNTER; - } - - container received-error-no-interface { - description "Error no Interfaces"; - uses LSPV-PKT-COUNTER; - } - - container received-error-no-memory { - description "Error no memory"; - uses LSPV-PKT-COUNTER; - } - - container protect-protocol-received-good-request { - description "Protect Protocol Received good request"; - uses LSPV-PKT-COUNTER; - } - - container protect-protocol-received-good-reply { - description "Protect Protocol Received good reply"; - uses LSPV-PKT-COUNTER; - } - - container received-good-bfd-request { - description "Received Reqeust with BFD TLV"; - uses LSPV-PKT-COUNTER; - } - - container received-good-bfd-reply { - description "Received Reply with BFD TLV"; - uses LSPV-PKT-COUNTER; - } - } - - grouping LSPV-PACKET-STATISTICS { - description "Receive and transmit packet counts"; - - container received { - description "Packet reception counts"; - uses LSPV-BAG-STATS-RX; - } - - container sent { - description "Packet transmit counts"; - uses LSPV-BAG-STATS-TX; - } - - container working-req-sent { - description "Working Request Packet transmit counts"; - uses LSPV-BAG-STATS-TX; - } - - container working-rep-sent { - description "Working Reply Packet transmit counts"; - uses LSPV-BAG-STATS-TX; - } - - container protect-req-sent { - description "Protect Request Packet transmit counts"; - uses LSPV-BAG-STATS-TX; - } - - container protect-rep-sent { - description "Protect Reply Packet transmit counts"; - uses LSPV-BAG-STATS-TX; - } - } - - grouping LSPV-INTERFACE-INFO { - description "LSPV interface information"; - - container interface-brief { - description "Interface brief"; - uses LSPV-INTERFACE-INFO-BRIEF; - } - - container packet-statistics { - description "Packet statistics"; - uses LSPV-PACKET-STATISTICS; - } - } - - grouping LSPV-INTERFACE-INFO-BRIEF { - description "LSPV interface brief information"; - leaf interface-name-xr { - type xr:Interface-name; - description "Interface name"; - } - leaf state { - type Lspv-bag-interface-state; - description "Interface state"; - } - leaf mtu { - type uint32; - description "Interface MTU"; - } - leaf prefix-length { - type uint32; - description "Prefix length (IPv4)"; - } - leaf prefix-length-v6 { - type uint32; - description "Prefix length (IPv6)"; - } - leaf primary-address { - type inet:ipv4-address; - description "Primary interface address (IPv4)"; - } - leaf primary-address-v6 { - type inet:ipv6-address; - description "Primary interface address (IPv6)"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper.yang deleted file mode 100644 index a79f7aa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-oam-oper.yang +++ /dev/null @@ -1,96 +0,0 @@ -module Cisco-IOS-XR-mpls-oam-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper"; - - - prefix "mpls-oam-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-oam-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-oam package operational data. - - This module contains definitions - for the following management objects: - mpls-oam: MPLS OAM operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container mpls-oam { - config false; - description "MPLS OAM operational data"; - - container interface { - description "MPLS OAM interface operational data"; - - container briefs { - description "MPLS OAM interface detail data"; - - list brief { - key "interface-name"; - description "MPLS OAM interface operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses LSPV-INTERFACE-INFO-BRIEF; - } - } - - container details { - description "MPLS OAM interface detail data"; - - list detail { - key "interface-name"; - description "MPLS OAM interface operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses LSPV-INTERFACE-INFO; - } - } - } - - container packet { - description "LSPV packet counters operational data"; - uses LSPV-PACKET-STATISTICS; - } - - container global { - description "LSPV global counters operational data"; - uses LSPV-GLOBAL-TYPE; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-cfg.yang deleted file mode 100644 index bfeafc7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-cfg.yang +++ /dev/null @@ -1,402 +0,0 @@ -module Cisco-IOS-XR-mpls-static-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg"; - - - prefix "mpls-static-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-static package configuration. - - This module contains definitions - for the following management objects: - mpls-static: MPLS Static Configuration Data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-static-path { - type enumeration { - enum pop-and-lookup { - value 1; - description "Pop and Lookup"; - } - enum cross-connect { - value 2; - description "Crossconnect"; - } - } - description "Mpls static path"; - } - typedef Mpls-static-address-family { - type enumeration { - enum ipv4-unicast { - value 1; - description "IPv4 Unicast"; - } - } - description "Mpls static address family"; - } - typedef Mpls-static-label-mode { - type enumeration { - enum per-vrf { - value 1; - description "Per VRF"; - } - enum per-prefix { - value 2; - description "Per Prefix"; - } - enum lsp { - value 3; - description "Cross connect"; - } - } - description "Mpls static label mode"; - } - typedef Mpls-static-path-role { - type enumeration { - enum primary { - value 0; - description "Path is only for primary traffic"; - } - enum backup { - value 1; - description "Path is only for backup traffic"; - } - enum primary-backup { - value 2; - description "Path is for primary and backup traffic"; - } - } - description "Mpls static path role"; - } - typedef Mpls-static-nh-address-family { - type enumeration { - enum ipv4 { - value 1; - description "IPv4 Next Hop"; - } - enum ipv6 { - value 2; - description "IPv6 Next Hop"; - } - } - description "Mpls static nh address family"; - } - typedef Mpls-static-nh-mode { - type enumeration { - enum configured { - value 0; - description "Explicitly configured next hop path"; - } - enum resolve { - value 1; - description - "Resolvable next hop which will result in a path - set"; - } - } - description "Mpls static nh mode"; - } - typedef Mpls-static-out-label-types { - type enumeration { - enum none { - value 0; - description "None"; - } - enum out-label { - value 1; - description "OutLabel"; - } - enum pop { - value 2; - description "Pop"; - } - enum exp-null { - value 3; - description "IPv4 explicit-null"; - } - enum ipv6-explicit-null { - value 4; - description "IPv6 explicit-null"; - } - } - description "Mpls static out label types"; - } - - grouping PATH { - description "Common node of paths, backup-paths"; - - list path { - key "path-id"; - description "Path Information"; - leaf path-id { - type uint32 { - range "1..16"; - } - description "Number of paths"; - } - leaf path-type { - type Mpls-static-path; - default "cross-connect"; - description "Type of Path (PopAndLookup, CrossConnect)"; - } - leaf label-type { - type Mpls-static-out-label-types; - default "none"; - description "Type of label (Outlabel, ExpNull or Pop)"; - } - leaf next-hop-label { - type uint32 { - range "16..1048575"; - } - default "16"; - description "Outgoing/NH Label"; - } - leaf next-hop-address { - type inet:ip-address-no-zone; - default "0.0.0.0"; - description "Next Hop IP Address"; - } - leaf interface-name { - type xr:Interface-name; - description - "Next hop Interface with form R/S/I/P"; - } - leaf afi { - type Mpls-static-nh-address-family; - default "ipv4"; - description "Next hop Address Family"; - } - leaf metric { - type uint32 { - range "0..254"; - } - default "0"; - description "NH Path Metric"; - } - leaf nh-mode { - type Mpls-static-nh-mode; - default "configured"; - description "Next hop mode"; - } - leaf path-role { - type Mpls-static-path-role; - default "primary"; - description "Path Role"; - } - leaf backup-id { - type uint32 { - range "0..16"; - } - default "0"; - description "Backup ID"; - } - } - } - - grouping LOCAL-LABEL-TABLE { - description "Common node of af, top-label-hash"; - - container local-labels { - description "Local Label"; - - list local-label { - key "local-label-id"; - description "Specify Local Label"; - - container label-type { - description "MPLS Static Local Label Value"; - leaf label-mode { - type Mpls-static-label-mode; - description "Label Mode (PerVRF, PerPrefix or LSP)"; - } - leaf prefix { - type inet:ip-address-no-zone; - description "Address (IPv4/6 depending on AFI)"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - } - leaf local-label-id { - type uint32 { - range "16..1048575"; - } - description "Local Label"; - } - uses PATH-TABLE; - } - } - } - - grouping LABEL-SWITCHED-PATH-TABLE { - description "Common node of default-vrf, vrf"; - - container label-switched-paths { - description "Table of the Label Switched Paths"; - - list label-switched-path { - key "lsp-name"; - description "Label Switched Path"; - - container backup-paths { - description "Backup Path Parameters"; - uses PATH; - } - - container in-label { - description "MPLS Static Local Label Value"; - leaf in-label-value { - type uint32 { - range "16..1048575"; - } - description "Local Label"; - } - leaf label-mode { - type Mpls-static-label-mode; - description "Label Mode (PerVRF, PerPrefix or LSP)"; - } - leaf prefix { - type inet:ip-address-no-zone; - description "Address (IPv4/6 depending on AFI)"; - } - leaf prefix-length { - type int32; - description "Prefix length"; - } - leaf tlh-mode { - type boolean; - description "Top Label Hashing Mode"; - } - } - leaf lsp-name { - type xr:Cisco-ios-xr-string; - description "LSP Name"; - } - uses ENABLE; - uses PATH-TABLE; - } - } - } - - grouping PATH-TABLE { - description "Common node of local-label, label-switched-path"; - - container paths { - description "Forward Path Parameters"; - uses PATH; - } - } - - grouping ENABLE { - description - "Common node of mpls-static, af, default-vrf, vrf, - label-switched-path"; - leaf enable { - type empty; - description "MPLS Static Apply Enable"; - } - } - - grouping AF-TABLE { - description "Common node of default-vrf, vrf"; - - container afs { - description "Address Family Table"; - - list af { - key "afi"; - description "Address Family"; - - container top-label-hash { - description "Top Label Hash"; - uses LOCAL-LABEL-TABLE; - } - leaf afi { - type Mpls-static-address-family; - description "Address Family"; - } - uses LOCAL-LABEL-TABLE; - uses ENABLE; - } - } - } - - container mpls-static { - description "MPLS Static Configuration Data"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF Name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses LABEL-SWITCHED-PATH-TABLE; - uses AF-TABLE; - uses ENABLE; - } - } - - container interfaces { - description "MPLS Static Interface Table"; - - list interface { - key "interface-name"; - description "MPLS Static Interface Enable"; - leaf interface-name { - type xr:Interface-name; - description "Name of Interface"; - } - } - } - - container default-vrf { - description "Default VRF"; - uses LABEL-SWITCHED-PATH-TABLE; - uses AF-TABLE; - uses ENABLE; - } - uses ENABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper-sub1.yang deleted file mode 100644 index 2f2a802..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper-sub1.yang +++ /dev/null @@ -1,396 +0,0 @@ -submodule Cisco-IOS-XR-mpls-static-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-static-oper { - prefix Cisco-IOS-XR-mpls-static-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-static package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mgmt-mpls-static-path-status { - type enumeration { - enum path-next-hop-none { - description "Path NextHop No Status"; - } - enum path-next-hop-interface-down { - description "Path NextHop Interface Down "; - } - enum path-next-hop-valid { - description "Path NextHop Valid"; - } - enum resolve-failed { - description "Path NextHop Resolve Failed"; - } - enum frr-backup { - description "FRR Backup"; - } - enum backup { - description "Backup"; - } - } - description "Mgmt mpls static path status"; - } - typedef Mpls-static-path-role { - type enumeration { - enum primary { - description "Path is only for primary traffic"; - } - enum backup { - description "Path is only for backup traffic"; - } - enum primary-and-backup { - description "Path is for primary and backup traffic"; - } - } - description "Mpls static path role"; - } - typedef Mgmt-static-path { - type enumeration { - enum cross-connect-path { - description "Crossconnect Path"; - } - enum pop-lookup-path { - description "Pop and Lookup Path"; - } - } - description "Mgmt static path"; - } - typedef Static-ipv6-address { - type inet:ipv6-address; - description "Static ipv6 address"; - } - typedef Mgmt-static-addr { - type enumeration { - enum not-applicable { - value 0; - description "Not Applicable"; - } - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Mgmt static addr"; - } - typedef Mgmt-mpls-static-label-status { - type enumeration { - enum not-created { - description "Label Not Created"; - } - enum vrf-down { - description "Label without active VRF"; - } - enum rewrite-vrf-down { - description "Rewrite without active VRF"; - } - enum lsd-disconnected { - description "LSD is disconnected"; - } - enum lsd-failed { - description "LSD operation failed"; - } - enum wait-for-lsd-reply { - description "Waiting for LSD operation"; - } - enum label-created { - description "Label Created"; - } - enum label-create-failed { - description "Label Creation Failed"; - } - enum label-rewrite-failed { - description "Rewrite Creation Failed"; - } - enum rewrite-next-hop-interface-down { - description "Rewrite NextHop Down "; - } - enum label-discrepancy { - description "Label Discrepancy "; - } - enum rewrite-discrepancy { - description "Rewrite Discrepancy "; - } - enum label-status-unknown { - description "Label Status Unknown"; - } - } - description "Mgmt mpls static label status"; - } - typedef Mgmt-mpls-static-label-mode { - type enumeration { - enum none { - description "No Label Mode"; - } - enum per-prefix { - description "Per-prefix Label"; - } - enum per-vrf { - description "Per-VRF label"; - } - enum cross-connect { - description "Label with crossconnect"; - } - } - description "Mgmt mpls static label mode"; - } - - grouping MPLS-STATIC-SUMMARY { - description "Summary Information"; - leaf label-count { - type uint32; - description "Total Number of Labels"; - } - leaf label-error-count { - type uint32; - description "Total Number of Labels with Errors"; - } - leaf label-discrepancy-count { - type uint32; - description "Total Number of Labels with Discrepancies"; - } - leaf vrf-count { - type uint32; - description "Total Number of VRF configured"; - } - leaf active-vrf-count { - type uint32; - description "Total Number of Active VRF Active"; - } - leaf interface-count { - type uint32; - description "Total Number of Interface"; - } - leaf interface-foward-reference-count { - type uint32; - description "Total Number of Active Interface"; - } - leaf mpls-enabled-interface-count { - type uint32; - description "Total Number of MPLS enabled Interface"; - } - leaf ipv4-route-count { - type uint32; - description "Total Number of IPv4 Routes"; - } - leaf ipv6-route-count { - type uint32; - description "Total Number of IPv6 Routes"; - } - leaf lsd-connected { - type boolean; - description "LSD connection is up"; - } - leaf im-connected { - type boolean; - description "IM is connected"; - } - leaf rsi-connected { - type boolean; - description "RSI is connected"; - } - leaf ribv4-connected { - type boolean; - description "RIBv4 is connected"; - } - leaf ribv6-connected { - type boolean; - description "RIBv6 is connected"; - } - } - - grouping MPLS-STATIC-LSP-PATH-NH-INFO { - description "Path Nexthop Info"; - - container address { - description "Next-Hop IP Address"; - uses MPLS-STATIC-CTX-PREFIX-BAG; - } - leaf label { - type uint32; - description "Next-Hop Label"; - } - leaf interface-name { - type string; - description "Next-Hop Interface Name"; - } - leaf afi { - type uint32; - description "Next-Hop AFI"; - } - } - - grouping MPLS-STATIC-LSP-PATH-INFO { - description "Path Info"; - - container nexthop { - description "Nexthop information"; - uses MPLS-STATIC-LSP-PATH-NH-INFO; - } - leaf path-number { - type uint32; - description "Path Number"; - } - leaf type { - type Mgmt-static-path; - description "Path Type"; - } - leaf path-role { - type Mpls-static-path-role; - description "Path Role"; - } - leaf path-id { - type uint8; - description "Path Id"; - } - leaf backup-id { - type uint8; - description "Path Backup Id"; - } - leaf status { - type Mgmt-mpls-static-path-status; - description "Path Status"; - } - } - - grouping MPLS-STATIC-CTX-PREFIX-BAG { - description "MPLS STATIC CTX PREFIX BAG"; - leaf af-name { - type Mgmt-static-addr; - description "AFName"; - } - leaf ipv4-prefix { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 context"; - } - leaf ipv6-prefix { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Static-ipv6-address; - description "IPv6 context"; - } - } - - grouping MPLS-STATIC-LBL-PREFIX-INFO { - description "Prefix Information"; - - container prefix { - description "Prefix"; - uses MPLS-STATIC-CTX-PREFIX-BAG; - } - leaf prefix-length { - type uint8; - description "Prefix length"; - } - } - - grouping MPLS-STATIC-LBL-INFO { - description "Static Label and Prefix information"; - - container prefix { - description "Prefix Information"; - uses MPLS-STATIC-LBL-PREFIX-INFO; - } - - container pathset-resolve-nh { - description "Primary pathset resolve-nexthop IP Address"; - uses MPLS-STATIC-CTX-PREFIX-BAG; - } - - container backup-pathset-resolve-nh { - description "Backup pathset resolve-nexthop IP Address"; - uses MPLS-STATIC-CTX-PREFIX-BAG; - } - leaf label { - type uint32; - description "Label value"; - } - leaf label-mode { - type Mgmt-mpls-static-label-mode; - description "Label Mode"; - } - leaf label-status { - type Mgmt-mpls-static-label-status; - description "Label Status"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - leaf pathset-via-resolve { - type boolean; - description "Primary Pathset as a result of resolve"; - } - leaf backup-pathset-via-resolve { - type boolean; - description "Backup Pathset as a result of resolve"; - } - leaf address-family { - type Mgmt-static-addr; - description "Address Family"; - } - - list path-info { - description "Path Information"; - uses MPLS-STATIC-LSP-PATH-INFO; - } - - list backup-path-info { - description "Backup Path Information"; - uses MPLS-STATIC-LSP-PATH-INFO; - } - } - - grouping MPLS-STATIC-LSP-INFO { - description "Static LSP information"; - - container label { - description "Label Information"; - uses MPLS-STATIC-LBL-INFO; - } - leaf lsp-name-xr { - type string; - description "LSP Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper.yang deleted file mode 100644 index 2a7b25a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-static-oper.yang +++ /dev/null @@ -1,113 +0,0 @@ -module Cisco-IOS-XR-mpls-static-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper"; - - - prefix "mpls-static-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-static-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-static package operational data. - - This module contains definitions - for the following management objects: - mpls-static: MPLS STATIC operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping LOCAL-LABEL-TABLE { - description "Common node of mpls-static, vrf"; - - container local-labels { - description "data for static local-label table"; - - list local-label { - key "local-label-id"; - description "Data for static label"; - leaf local-label-id { - type uint32 { - range "16..1048575"; - } - description "Local Label"; - } - uses MPLS-STATIC-LBL-INFO; - } - } - } - - container mpls-static { - config false; - description "MPLS STATIC operational data"; - - container vrfs { - description "VRF table"; - - list vrf { - key "vrf-name"; - description "VRF Name"; - - container lsps { - description "data for static lsp table"; - - list lsp { - key "lsp-name"; - description "Data for static lsp"; - leaf lsp-name { - type xr:Cisco-ios-xr-string; - description "LSP Name"; - } - uses MPLS-STATIC-LSP-INFO; - } - } - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - uses LOCAL-LABEL-TABLE; - } - } - - container summary { - description "MPLS STATIC summary data"; - uses MPLS-STATIC-SUMMARY; - } - uses LOCAL-LABEL-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-cfg.yang deleted file mode 100644 index 2d0c915..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-cfg.yang +++ /dev/null @@ -1,6097 +0,0 @@ -module Cisco-IOS-XR-mpls-te-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg"; - - - prefix "mpls-te-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package configuration. - - This module contains definitions - for the following management objects: - mpls-te: The root of MPLS TE configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-snmp-agent-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-tesrlg-exclude { - type enumeration { - enum mandatory { - value 1; - description "SRLG Mandatory Exclude"; - } - enum preferred { - value 2; - description "SRLG Preferred Exclude"; - } - enum weighted { - value 3; - description "SRLG Weighted Exclude"; - } - } - description "Mpls tesrlg exclude"; - } - typedef Mpls-te-affinity-value { - type enumeration { - enum hex-value { - value 1; - description "Affinity value in Hex number"; - } - enum bit-position { - value 2; - description "Affinity value by Bit-Position"; - } - } - description "Mpls te affinity value"; - } - typedef Destination-list-name-length { - type string { - length "1..32"; - } - description "Destination list name length"; - } - typedef Route-priority-role { - type enumeration { - enum route-priority-role-head-back-up { - value 0; - description "TE Route Priority Role Head Backup"; - } - enum route-priority-role-head-primary { - value 1; - description "TE Route Priority Role Head Primary"; - } - enum route-priority-role-middle { - value 2; - description "TE Route Priority Role Middle"; - } - } - description "Route priority role"; - } - typedef Mpls-percent-range { - type uint32 { - range "0..100"; - } - description "Mpls percent range"; - } - typedef Otn-signaled-bandwidth-flex-framing { - type enumeration { - enum cbr { - value 20; - description "CBR"; - } - enum framed-gfp-fixed { - value 21; - description "GFP fixed framing type"; - } - enum framed-gfp-resize { - value 22; - description "GFP resizeable framing type"; - } - } - description "Otn signaled bandwidth flex framing"; - } - typedef Sr-prepend { - type enumeration { - enum none-type { - value 0; - description "NoneType"; - } - enum next-label { - value 1; - description "Next Label"; - } - enum bgp-n-hop { - value 2; - description "BGP NHOP"; - } - } - description "Sr prepend"; - } - typedef Mpls-te-path-selection-tiebreaker { - type enumeration { - enum min-fill { - value 1; - description "Prefer the path with the least-utilized links"; - } - enum max-fill { - value 2; - description "Prefer the path with the most-utilized links"; - } - enum random { - value 3; - description "Prefer a path with links utilized randomly"; - } - } - description "Mpls te path selection tiebreaker"; - } - typedef Attribute-set-name-length { - type string { - length "1..64"; - } - description "Attribute set name length"; - } - typedef Mpls-te-otn-aps-protection { - type enumeration { - enum 1plus1-unidir-no-aps { - value 4; - description "1PLUS1 UNIDIR NO APS"; - } - enum 1plus1-unidir-aps { - value 8; - description "1PLUS1 UNIDIR APS"; - } - enum 1plus1-bdir-aps { - value 16; - description "1PLUS1 BIDIR APS"; - } - } - description "Mpls te otn aps protection"; - } - typedef Ospf-area-mode { - type enumeration { - enum ospf-int { - value 0; - description "OSPF area in integer format"; - } - enum ospfip-addr { - value 1; - description "OSPF area in IP address format"; - } - } - description "Ospf area mode"; - } - typedef Mpls-te-path-option-property { - type enumeration { - enum none { - value 0; - description "No property"; - } - enum lockdown { - value 1; - description "Path is not a canditate forreoptimization"; - } - enum verbatim { - value 4; - description - "Explicit path does not require topology - database"; - } - enum pce { - value 8; - description "Dynamic path found by PCE server"; - } - enum segment-routing { - value 16; - description "Segment Routing path"; - } - } - description "Mpls te path option property"; - } - typedef Mpls-te-path-computation-method { - type enumeration { - enum not-set { - value 0; - description "NotSet"; - } - enum dynamic { - value 1; - description "Dynamic"; - } - enum pce { - value 2; - description "PCE"; - } - enum explicit { - value 3; - description "Explicit"; - } - } - description "Mpls te path computation method"; - } - typedef Mpls-te-signaled-label { - type enumeration { - enum not-set { - value 0; - description "Not Set"; - } - enum dwdm { - value 1; - description "DWDM Label (RFC 6205), 50GHz channel spacing"; - } - } - description "Mpls te signaled label"; - } - typedef Mpls-te-path-option-xro { - type empty; - description "Defined as attribute-set"; - } - typedef Otn-destination { - type enumeration { - enum number-ed { - value 0; - description "Destination numbered"; - } - enum un-number-ed { - value 1; - description "Destination unnumbered"; - } - } - description "Otn destination"; - } - typedef Mpls-te-tunnel-affinity { - type enumeration { - enum include { - value 1; - description "Include Affinity"; - } - enum include-strict { - value 2; - description "Strictly Include Affinity"; - } - enum exclude { - value 3; - description "Exclude Affinity"; - } - enum exclude-all { - value 4; - description "Exclude All Affinities"; - } - enum ignore { - value 5; - description "Ignore Affinity"; - } - } - description "Mpls te tunnel affinity"; - } - typedef Otn-static-uni { - type enumeration { - enum unknown { - value 0; - description "Uni-Type None"; - } - enum xc { - value 1; - description "Uni-Type XC"; - } - enum termination { - value 2; - description "Uni-Type Termination"; - } - } - description "Otn static uni"; - } - typedef Mpls-te-switching-cap { - type enumeration { - enum psc1 { - value 1; - description "PSC1"; - } - enum lsc { - value 150; - description "LSC"; - } - enum fsc { - value 200; - description "FSC"; - } - } - description "Mpls te switching cap"; - } - typedef Mpls-te-otn-aps-protection-mode { - type enumeration { - enum revertive { - value 1; - description "Revertive"; - } - enum non-revertive { - value 2; - description "Non Revertive"; - } - } - description "Mpls te otn aps protection mode"; - } - typedef Mpls-te-config-tunnel { - type enumeration { - enum p2p { - value 0; - description "P2P"; - } - enum p2mp { - value 1; - description "P2MP"; - } - } - description "Mpls te config tunnel"; - } - typedef Mpls-te-bfd-session-down-action { - type enumeration { - enum re-setup { - value 1; - description "Tear down and resetup"; - } - } - description "Mpls te bfd session down action"; - } - typedef Mpls-te-log-frr-protection { - type enumeration { - enum frr-active-primary { - value 1; - description "Track only FRR active on primary LSP"; - } - enum backup { - value 256; - description "backup tunnel"; - } - enum frr-ready-primary { - value 512; - description "Track only FRR ready on primary LSP"; - } - enum primary { - value 513; - description "primary LSP"; - } - enum all { - value 769; - description "all"; - } - } - description "Mpls te log frr protection"; - } - typedef Link-next-hop { - type enumeration { - enum none { - value 1; - description "No next hop"; - } - enum ipv4-address { - value 2; - description "IPv4 next-hop address"; - } - } - description "Link next hop"; - } - typedef Mpls-lcac-bandwidth-hold-timer-range { - type uint32 { - range "1..300"; - } - description "Mpls lcac bandwidth hold timer range"; - } - typedef Mpls-te-autoroute-metric { - type enumeration { - enum relative { - value 1; - description "Relative"; - } - enum absolute { - value 2; - description "Absolute"; - } - enum constant { - value 3; - description "Constant"; - } - } - description "Mpls te autoroute metric"; - } - typedef Bandwidth-constraint { - type enumeration { - enum bandwidth-constraint-maximum-allocation-model { - value 1; - description "Maximum Allocation Bandwidth Constaints Model"; - } - } - description "Bandwidth constraint"; - } - typedef Otn-payload { - type enumeration { - enum unknown { - value 0; - description "Payload unknown"; - } - enum bmp { - value 50; - description "Bmp Payload"; - } - enum gfp-f { - value 54; - description "Gfp_F Payload"; - } - enum gmp { - value 55; - description "GMP Payload"; - } - enum gfp-f-ext { - value 70; - description "Gfp_F_EXT Payload"; - } - } - description "Otn payload"; - } - typedef Mpls-te-otn-snc-mode { - type enumeration { - enum snc-n { - value 1; - description "SNC N"; - } - enum snc-i { - value 2; - description "SNC I"; - } - enum snc-s { - value 3; - description "SNC S"; - } - } - description "Mpls te otn snc mode"; - } - typedef Bfd-reverse-path { - type enumeration { - enum bfd-reverse-path-binding-label { - value 1; - description "BindingLabel"; - } - } - description "Bfd reverse path"; - } - typedef Mpls-te-path-selection-metric { - type enumeration { - enum igp { - value 1; - description "IGP Metric"; - } - enum te { - value 2; - description "TE Metric"; - } - enum delay { - value 4; - description "DELAY Metric"; - } - } - description "Mpls te path selection metric"; - } - typedef Mpls-te-path-option { - type enumeration { - enum not-set { - value 0; - description "Not Set"; - } - enum dynamic { - value 1; - description "Dynamic"; - } - enum explicit-name { - value 3; - description "Explicit, identified by name"; - } - enum explicit-number { - value 4; - description "Explicit, identified by number"; - } - enum no-ero { - value 5; - description "No ERO"; - } - enum sr { - value 6; - description "Segment routing"; - } - } - description "Mpls te path option"; - } - typedef Mpls-lcac-flooding-igp { - type enumeration { - enum ospf { - value 0; - description "OSPF"; - } - } - description "Mpls lcac flooding igp"; - } - typedef Otn-protection-switch-lockout { - type enumeration { - enum none { - value 0; - description "No Lockout"; - } - enum working { - value 1; - description "Lockout Working"; - } - } - description "Otn protection switch lockout"; - } - typedef Mpls-te-tunnel-id { - type enumeration { - enum auto { - value 0; - description "Auto"; - } - enum explicit { - value 1; - description "Explicit"; - } - } - description "Mpls te tunnel id"; - } - typedef Otn-signaled-bandwidth { - type enumeration { - enum odu1 { - value 1; - description "Signalled BW for ODU1"; - } - enum odu2 { - value 2; - description "Signalled BW for ODU2"; - } - enum odu3 { - value 3; - description "Signalled BW for ODU3"; - } - enum odu4 { - value 4; - description "Signalled BW for ODU4"; - } - enum odu0 { - value 10; - description "Signalled BW for ODU0"; - } - enum odu2e { - value 11; - description "Signalled BW for ODU2e"; - } - enum od-uflex-cbr { - value 20; - description "Signalled BW for ODUflex CBR"; - } - enum od-uflex-gfp-resize { - value 21; - description "Signalled BW for ODUflex GFP Resizable"; - } - enum od-uflex-gfp-not-resize { - value 22; - description "Signalled BW for ODUflex GFP not Resizable"; - } - enum odu1e { - value 23; - description "Signalled BW for ODU1e"; - } - enum odu1f { - value 24; - description "Signalled BW for ODU1f"; - } - enum odu2f { - value 25; - description "Signalled BW for ODU2f"; - } - enum odu3e1 { - value 26; - description "Signalled BW for ODU3e1"; - } - enum odu3e2 { - value 27; - description "Signalled BW for ODU3e2"; - } - } - description "Otn signaled bandwidth"; - } - typedef Mpls-te-bandwidth-dste { - type enumeration { - enum standard-dste { - value 0; - description "IETF-Standard DSTE"; - } - enum pre-standard-dste { - value 1; - description "Pre-Standard DSTE"; - } - } - description "Mpls te bandwidth dste"; - } - typedef Mpls-te-path-selection-invalidation-timer-expire { - type enumeration { - enum tunnel-action-tear { - value 1; - description "Tear down tunnel."; - } - enum tunnel-action-drop { - value 2; - description "Drop tunnel traffic."; - } - } - description "Mpls te path selection invalidation timer expire"; - } - typedef Mpls-te-path-diversity-conformance { - type enumeration { - enum strict { - value 0; - description "Strict"; - } - enum best-effort { - value 1; - description "Best effort"; - } - } - description "Mpls te path diversity conformance"; - } - typedef Mpls-lcac-flooding-threshold-percent-range { - type uint32 { - range "0..100"; - } - description "Mpls lcac flooding threshold percent range"; - } - typedef Ietf-mode { - type enumeration { - enum standard { - value 3; - description "IETF Standard"; - } - } - description "Ietf mode"; - } - typedef Mpls-te-otn-aps-restoration-style { - type enumeration { - enum keep-failed-lsp { - value 1; - description "Keep Failed Lsp"; - } - enum delete-failed-lsp { - value 2; - description "Delete Failed Lsp"; - } - } - description "Mpls te otn aps restoration style"; - } - typedef Mpls-te-path-selection-segment-routing-adjacency-protection { - type enumeration { - enum not-set { - value 0; - description "Any segment can be used in a path."; - } - enum adj-unprotected { - value 1; - description - "Only unprotected adjacency segments can be used - in a path."; - } - enum adj-protected { - value 2; - description - "Only protected adjacency segments can be used - in a path."; - } - } - description - "Mpls te path selection segment routing adjacency - protection"; - } - typedef Gmplstti-mode { - type enumeration { - enum sm { - value 1; - description "Section Monitoring"; - } - enum pm { - value 2; - description "Path Monitoring"; - } - enum tcm { - value 3; - description "Tandem Connection"; - } - } - description "Gmplstti mode"; - } - typedef Mpls-te-switching-encoding { - type enumeration { - enum packet { - value 1; - description "Packet"; - } - enum ethernet { - value 2; - description "Ethernet"; - } - enum sondet-sdh { - value 5; - description "SONET SDH"; - } - } - description "Mpls te switching encoding"; - } - typedef Mpls-te-sig-name-option { - type enumeration { - enum none { - value 0; - description "None"; - } - enum address { - value 1; - description "Address"; - } - enum name { - value 2; - description "Name"; - } - } - description "Mpls te sig name option"; - } - typedef Mpls-te-policy-class-range { - type uint32 { - range "1..8"; - } - description "Mpls te policy class range"; - } - typedef Mesh-group-id { - type uint32 { - range "0..4294967295"; - } - description "Mesh group id"; - } - typedef Path-invalidation-action { - type enumeration { - enum tear { - value 1; - description "Tear"; - } - enum drop { - value 2; - description "Drop"; - } - } - description "Path invalidation action"; - } - typedef Mpls-te-switching-index { - type union { - type enumeration { - enum link { - value 255; - description "Link"; - } - } - type uint32 { - range "1..255"; - } - } - description "Mpls te switching index"; - } - typedef Mpls-te-igp-protocol { - type enumeration { - enum none { - value 0; - description "Not set"; - } - enum isis { - value 1; - description "IS IS"; - } - enum ospf { - value 2; - description "OSPF"; - } - } - description "Mpls te igp protocol"; - } - typedef Mpls-tebfd-session { - type enumeration { - enum regular-bfd { - value 1; - description "Regular BFD"; - } - enum sbfd { - value 2; - description "Seamless BFD"; - } - enum redundant-sbfd { - value 3; - description "Redundant SBFD"; - } - } - description "Mpls tebfd session"; - } - typedef Binding-segment-id { - type enumeration { - enum any-label { - value 1; - description "AnyLabel"; - } - enum specified-label { - value 2; - description "SpecifiedLabel"; - } - } - description "Binding segment id"; - } - typedef Mpls-te-backup-bandwidth-pool { - type enumeration { - enum any-pool { - value 1; - description "Any Pool"; - } - enum global-pool { - value 2; - description "Global Pool"; - } - enum sub-pool { - value 4; - description "Sub Pool"; - } - } - description "Mpls te backup bandwidth pool"; - } - typedef Mpls-te-switching-encode { - type enumeration { - enum none { - value 0; - description "None"; - } - enum packet { - value 1; - description "Packet"; - } - enum ethernet { - value 2; - description "Ethernet"; - } - enum sondet-sdh { - value 5; - description "SONET SDH"; - } - } - description "Mpls te switching encode"; - } - typedef Mpls-te-backup-bandwidth-class { - type enumeration { - enum class0 { - value 0; - description "Class 0"; - } - enum class1 { - value 1; - description "Class 1"; - } - enum any-class { - value 9; - description "Any Class"; - } - } - description "Mpls te backup bandwidth class"; - } - typedef Mpls-te-path-option-protection { - type enumeration { - enum active { - value 0; - description "Active path"; - } - enum protecting { - value 1; - description "Protecting Path"; - } - } - description "Mpls te path option protection"; - } - typedef Mpls-te-bandwidth-limit { - type enumeration { - enum unlimited { - value 64; - description "Unlimited"; - } - enum limited { - value 128; - description "Limited"; - } - } - description "Mpls te bandwidth limit"; - } - - grouping OOR-ACCEPT-REOPT-LSP { - description - "Common node of oor-green-state, oor-yellow-state, - oor-red-state"; - leaf oor-accept-reopt-lsp { - type empty; - description - "Allow the setup of reoptimized LSPs over the - link in this OOR State"; - } - } - - grouping PCALC-FAILURE-MESSAGE { - description "Common node of logging, auto-mesh-logging"; - leaf pcalc-failure-message { - type empty; - description "Enable logging for path-calculation failures"; - } - } - - grouping POLICY-CLASSES { - description - "Common node of tunnel-te-attributes, - auto-mesh-attribute, auto-backup-attribute"; - - container policy-classes { - description "Policy classes for PBTS"; - leaf-list policy-class { - type Mpls-te-policy-class-range; - max-elements "7"; - description "Array of Policy class"; - } - } - } - - grouping UNPROTECTED-TRANSIT-LSP-THRESHOLD { - description - "Common node of lsp-oor-yellow-state, - lsp-oor-red-state"; - leaf unprotected-transit-lsp-threshold { - type int32; - description "Threshold for unprotected transit LSPs"; - } - } - - grouping AFFINITY-MASK { - description - "Common node of tunnel-te-attributes, - auto-mesh-attribute, auto-backup-attribute, - path-option-attribute, p2mpte-attribute, - p2p-te-attribute"; - - container affinity-mask { - presence "Indicates a affinity-mask node is configured."; - description "Set the affinity flags and mask"; - leaf affinity { - type xr:Hex-integer; - mandatory true; - description "Affinity flags"; - } - leaf mask { - type xr:Hex-integer; - mandatory true; - description "Affinity mask"; - } - } - } - - grouping BANDWIDTH-CHANGE-MESSAGE { - description - "Common node of logging, auto-backup-logging, - auto-mesh-logging"; - leaf bandwidth-change-message { - type empty; - description "Log tunnel messages for bandwidth change"; - } - } - - grouping REOPTIMIZE-ATTEMPTS-MESSAGE { - description - "Common node of logging, auto-backup-logging, - auto-mesh-logging"; - leaf reoptimize-attempts-message { - type empty; - description "Log tunnel reoptimization attempts messages"; - } - } - - grouping OOR-AVAILABLE-BANDWIDTH-PERCENTAGE { - description - "Common node of oor-green-state, oor-yellow-state, - oor-red-state"; - leaf oor-available-bandwidth-percentage { - type uint32 { - range "0..100"; - } - units "percentage"; - default "100"; - description - "Flood a specific percentage of the available - bandwidth"; - } - } - - grouping TIMERS { - description "Common node of backup, mesh"; - - container timers { - description "Configure auto-tunnel backup timers value"; - - container removal { - description - "Configure auto-tunnel backup removal timers - value"; - leaf unused { - type uint32 { - range "0..10080"; - } - units "minute"; - default "3600"; - description - "Auto-tunnel backup unused timeout in minutes - (0=never timeout)"; - } - } - } - } - - grouping TUNNEL-PATH-SELECTION { - description - "Common node of tunnel-te-attributes, - tunnel-attributes"; - - container tunnel-path-selection { - description "Configure path selection properties"; - leaf tiebreaker { - type Mpls-te-path-selection-tiebreaker; - description "CSPF tiebreaker to use in path calculation"; - } - leaf path-selection-hop-limit { - type uint32 { - range "1..255"; - } - description - "Path selection hop limit configuration for this - specific tunnel"; - } - uses INVALIDATION; - uses PATH-SELECTION-COST-LIMIT; - } - } - - grouping INVALIDATION { - description - "Common node of tunnel-te-attributes, - tunnel-attributesCommon node of - tunnel-path-selection, - att-path-option-path-selection"; - - container invalidation { - presence "enable invalidation"; - description - "Path invalidation configuration for this - specific tunnel"; - leaf path-invalidation-timeout { - type uint32 { - range "0..60000"; - } - description "Path Invalidation Timeout"; - } - leaf path-invalidation-action { - type Path-invalidation-action; - description "Path Invalidation Action"; - } - } - } - - grouping PRECEDENCE { - description "Common node of peer, pce-attributes"; - leaf precedence { - type uint32 { - range "0..255"; - } - description "Precedence order"; - } - } - - grouping SOFT-PREEMPTION { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute"; - leaf soft-preemption { - type empty; - description - "Enable the soft-preemption feature on the tunnel"; - } - } - - grouping PATH-SELECTION-COST-LIMIT { - description - "Common node of tunnel-path-selection, - att-path-option-path-selection"; - leaf path-selection-cost-limit { - type uint32 { - range "1..4294967295"; - } - description - "Path selection cost limit configuration for this - specific tunnel"; - } - } - - grouping AUTO-BANDWIDTH { - description - "Common node of tunnel-attributes, - tunnel-te-attributes"; - - container auto-bandwidth { - description - "Tunnel Interface Auto-bandwidth configuration - data"; - - container underflow { - presence "Indicates a underflow node is configured."; - description "Configuring the tunnel underflow detection"; - leaf underflow-threshold-percent { - type uint32 { - range "1..100"; - } - units "percentage"; - mandatory true; - description - "Bandwidth change percent to trigger an - underflow"; - } - leaf underflow-threshold-value { - type uint32 { - range "10..4294967295"; - } - units "kbit/s"; - mandatory true; - description - "Bandwidth change value to trigger an underflow - (kbps)"; - } - leaf underflow-threshold-limit { - type uint32 { - range "1..10"; - } - mandatory true; - description - "Number of consecutive collections exceeding - threshold"; - } - } - - container overflow { - presence "Indicates a overflow node is configured."; - description "Configuring the tunnel overflow detection"; - leaf overflow-threshold-percent { - type uint32 { - range "1..100"; - } - units "percentage"; - mandatory true; - description - "Bandwidth change percent to trigger an - overflow"; - } - leaf overflow-threshold-value { - type uint32 { - range "10..4294967295"; - } - units "kbit/s"; - mandatory true; - description - "Bandwidth change value to trigger an overflow - (kbps)"; - } - leaf overflow-threshold-limit { - type uint32 { - range "1..10"; - } - mandatory true; - description - "Number of consecutive collections exceeding - threshold"; - } - } - - container bandwidth-limits { - presence "Indicates a bandwidth-limits node is configured."; - description - "Set min/max bandwidth auto-bw can apply on a - tunnel"; - leaf bandwidth-min-limit { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description - "Set minimum bandwidth auto-bw can apply on a - tunnel"; - } - leaf bandwidth-max-limit { - type uint32 { - range "0..4294967295"; - } - mandatory true; - description - "Set maximum bandwidth auto-bw can apply on a - tunnel"; - } - } - - container adjustment-threshold { - presence "Indicates a adjustment-threshold node is"+ - " configured."; - description - "Set the bandwidth change threshold to trigger - adjustment"; - leaf adjustment-threshold-percent { - type uint32 { - range "1..100"; - } - units "percentage"; - mandatory true; - description - "Bandwidth change percent to trigger adjustment"; - } - leaf adjustment-threshold-value { - type uint32 { - range "10..4294967295"; - } - units "kbit/s"; - mandatory true; - description - "Bandwidth change value to trigger adjustment - (kbps)"; - } - } - leaf underflow-enable { - type boolean; - description "Enable auto bandwidth underflow detection"; - } - leaf enabled { - type boolean; - description - "This object is only valid for tunnel interfaces - and it controls whether that interface has - auto-bw enabled on it or not.The object must be - set before any other auto-bw configuration is - supplied for the interface, and must be the - last auto-bw configuration object to be removed - ."; - } - leaf application-frequency { - type uint32 { - range "5..10080"; - } - units "minute"; - description - "Set the tunnel auto-bw application frequency in - minutes"; - } - leaf overflow-enable { - type boolean; - description "Enable auto bandwidth overflow detection"; - } - uses COLLECTION-ONLY; - } - } - - grouping RECORD-ROUTE { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute, - auto-backup-attribute, gmpls-unitunnel-head, - p2mpte-attribute, tunnel-head"; - leaf record-route { - type empty; - description "Record the route used by the tunnel"; - } - } - - grouping OOR-ACCEPT-LSP-MIN-BANDWIDTH { - description - "Common node of oor-green-state, oor-yellow-state, - oor-red-state"; - leaf oor-accept-lsp-min-bandwidth { - type int32; - units "kbit/s"; - default "0"; - description - "Only accept LSPs with at least the specified - bandwidth (in kbps)."; - } - } - - grouping LOGGING { - description - "Common node of tunnel-te-attributes, - tunnel-attributes, p2p-te-attribute"; - - container logging { - description "Log tunnel LSP messages"; - leaf lsp-switch-over-change-message { - type empty; - description "Log tunnel messages for bandwidth change"; - } - leaf all { - type empty; - description "Log all events for a tunnel"; - } - leaf record-route-messsage { - type empty; - description "Log tunnel record-route messages"; - } - leaf bfd-state-message { - type empty; - description "Enable BFD session state change alarm"; - } - uses BANDWIDTH-CHANGE-MESSAGE; - uses REOPTIMIZE-ATTEMPTS-MESSAGE; - uses REROUTE-MESSSAGE; - uses STATE-MESSAGE; - uses INSUFFICIENT-BW-MESSAGE; - uses REOPTIMIZED-MESSAGE; - uses PCALC-FAILURE-MESSAGE; - } - } - - grouping MPLS-MTE-TUNNEL-CFG-LOGGING { - description - "Common node of tunnel-te-attributes, - tunnel-attributes, p2p-te-attributeCommon node of - mte-tunnel-attributes, p2mpte-attribute"; - - container logging { - description "Log tunnel LSP messages"; - leaf insufficient-bw-message { - type empty; - description - "Log tunnel messages for insufficient bandwidth"; - } - leaf reoptimized-message { - type empty; - description "Log tunnel reoptimized messages"; - } - leaf bandwidth-change-message { - type empty; - description "Log tunnel bandwidth change messages"; - } - leaf all { - type empty; - description "Log all events for a tunnel"; - } - leaf pcalc-failure-message { - type empty; - description "Enable logging for path-calculation failures"; - } - leaf state-message { - type empty; - description "Log tunnel state messages"; - } - leaf reoptimize-attempts-message { - type empty; - description "Log tunnel reoptimization attempts messages"; - } - leaf sub-lsp-state-message { - type empty; - description "Log all tunnel sub-LSP state messages"; - } - leaf reroute-messsage { - type empty; - description "Log tunnel rereoute messages"; - } - } - } - - grouping COLLECTION-ONLY { - description - "Common node of auto-bandwidth, - auto-mesh-attribute"; - leaf collection-only { - type empty; - description - "Enable bandwidth collection only, no auto-bw - adjustment"; - } - } - - grouping PCE { - description - "Common node of path-option-attribute, - p2p-te-attribute"; - - container pce { - description "Configure pce properties"; - - container bidirectional { - presence "Indicates a bidirectional node is configured."; - description "Bidirectional parameters"; - leaf bd-source-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Bidirectional Source IP Address"; - } - leaf bd-group-id { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Bidirectional Group ID"; - } - } - - container disjoint-path { - presence "Indicates a disjoint-path node is configured."; - description "Disjoint path parameters"; - leaf dp-source-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Disjoint Path Source IP Address"; - } - leaf dp-type { - type uint32 { - range "1..3"; - } - mandatory true; - description "Disjoint Path Type"; - } - leaf dp-group-id { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Disjoint Path Group ID"; - } - } - leaf enable { - type empty; - description "Always set to true"; - } - } - } - - grouping DESTINATION { - description - "Common node of tunnel-te-attributes, - tunnel-attributes"; - leaf destination { - type inet:ipv4-address-no-zone; - description "Set the destination of the tunnel"; - } - } - - grouping STATE-MESSAGE { - description - "Common node of logging, logging, - auto-backup-logging, auto-mesh-logging"; - leaf state-message { - type empty; - description "Log tunnel state messages"; - } - } - - grouping LOAD-SHARE { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute"; - leaf load-share { - type uint32 { - range "1..4294967295"; - } - description "Tunnel loadsharing metric"; - } - } - - grouping PATH-SELECTION { - description - "Common node of auto-mesh-attribute, xro-attribute - , auto-backup-attribute, p2mpte-attribute, - otn-pp-attribute"; - - container path-selection { - description "Configure path selection properties"; - leaf enable { - type empty; - description "Enable path selection"; - } - } - } - - grouping SIGNALLED-NAME { - description - "Common node of tunnel-te-attributes, - gmpls-unitunnel-head, tunnel-head"; - leaf signalled-name { - type string { - length "1..254"; - } - description - "The name of the tunnel to be included in - signalling messages"; - } - } - - grouping REOPTIMIZED-MESSAGE { - description - "Common node of logging, auto-backup-logging, - auto-mesh-logging"; - leaf reoptimized-message { - type empty; - description "Log tunnel reoptimized messages"; - } - } - - grouping NEW-STYLE-AFFINITY-TABLE { - description - "Common node of logging, auto-backup-logging, - auto-mesh-loggingCommon node of tunnel-attributes - , tunnel-te-attributes, path-option-attribute, - auto-backup-attribute, auto-mesh-attribute, - p2mpte-attribute, p2p-te-attribute"; - - container new-style-affinity-affinity-types { - description "Tunnel new style affinity attributes table"; - - list new-style-affinity-affinity-type { - key "affinity-type"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - } - - list new-style-affinity-affinity-type-affinity1 { - key "affinity-type affinity1"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - } - - list new-style-affinity-affinity-type-affinity1-affinity2 { - key "affinity-type affinity1 affinity2"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3" { - key "affinity-type affinity1 affinity2 affinity3"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5-affinity6" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5 affinity6"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5-affinity6-affinity7" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5 affinity6 affinity7"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - leaf affinity7 { - type xr:Cisco-ios-xr-string; - description "The name of the seventh affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5-affinity6-affinity7"+ - "-affinity8" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5 affinity6 affinity7 affinity8"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - leaf affinity7 { - type xr:Cisco-ios-xr-string; - description "The name of the seventh affinity"; - } - leaf affinity8 { - type xr:Cisco-ios-xr-string; - description "The name of the eighth affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5-affinity6-affinity7"+ - "-affinity8-affinity9" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5 affinity6 affinity7 affinity8 affinity9"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - leaf affinity7 { - type xr:Cisco-ios-xr-string; - description "The name of the seventh affinity"; - } - leaf affinity8 { - type xr:Cisco-ios-xr-string; - description "The name of the eighth affinity"; - } - leaf affinity9 { - type xr:Cisco-ios-xr-string; - description "The name of the nineth affinity"; - } - } - - list "new-style-affinity-affinity-type-affinity1-affinity2"+ - "-affinity3-affinity4-affinity5-affinity6-affinity7"+ - "-affinity8-affinity9-affinity10" { - key "affinity-type affinity1 affinity2 affinity3 affinity4"+ - " affinity5 affinity6 affinity7 affinity8 affinity9"+ - " affinity10"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - leaf affinity7 { - type xr:Cisco-ios-xr-string; - description "The name of the seventh affinity"; - } - leaf affinity8 { - type xr:Cisco-ios-xr-string; - description "The name of the eighth affinity"; - } - leaf affinity9 { - type xr:Cisco-ios-xr-string; - description "The name of the nineth affinity"; - } - leaf affinity10 { - type xr:Cisco-ios-xr-string; - description "The name of the tenth affinity"; - } - } - } - } - - grouping FAST-REROUTE { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute, - p2mpte-attribute"; - - container fast-reroute { - presence "Indicates a fast-reroute node is configured."; - description "Specify MPLS tunnel can be fast-rerouted"; - leaf bandwidth-protection { - type uint32 { - range "0..1"; - } - mandatory true; - description "Bandwidth Protection"; - } - leaf node-protection { - type uint32 { - range "0..1"; - } - mandatory true; - description "Node Protection"; - } - } - } - - grouping TUNNEL-RANGE { - description - "Common node of backup, mesh, p2mp-auto-tunnel, - p2p-auto-tunnel, pcc"; - - container tunnel-range { - description - "Configure tunnel ID range for auto-tunnel - features"; - leaf min-tunnel-id { - type uint32 { - range "0..65535"; - } - description "Minimum tunnel ID for auto-tunnels"; - } - leaf max-tunnel-id { - type uint32 { - range "0..65535"; - } - description "Maximum tunnel ID for auto-tunnels"; - } - } - } - - grouping ENABLE { - description - "Common node of path-selection, - att-path-option-path-selection"; - leaf enable { - type empty; - description "Enter path selection configuration"; - } - } - - grouping MPLS-TE-ATTR-SET-CFG-ENABLE { - description - "Common node of path-selection, - att-path-option-path-selectionCommon node of - path-option-attribute, auto-mesh-attribute, - xro-attribute, auto-backup-attribute, - p2mpte-attribute, otn-pp-attribute, - p2p-te-attribute"; - leaf enable { - type empty; - description - "Attribute-set enable object that controls - whether this attribute-set is configured or not - .This object must be set before other - configuration supplied for this attribute-set"; - } - } - - grouping AUTOROUTE { - description - "Common node of tunnel-attributes, - tunnel-te-attributes"; - - container autoroute { - description "Parameters for IGP routing over tunnel"; - - container autoroute-announce { - description "Announce tunnel to IGP"; - - container exclude-traffic { - description "Exclude traffic on autorouted tunnel"; - leaf segment-routing { - type empty; - description "Exclude tunnel in IGP for SR prefixes"; - } - } - - container metric { - description "Specify MPLS tunnel metric"; - leaf metric-type { - type Mpls-te-autoroute-metric; - description "Autoroute tunnel metric type"; - } - leaf absolute-metric { - when "../metric-type = 'absolute'" { - description "../MetricType = Absolute"; - } - type uint32 { - range "1..2147483647"; - } - description "The absolute metric value"; - } - leaf relative-metric { - when "../metric-type = 'relative'" { - description "../MetricType = Relative"; - } - type int32 { - range "-10..10"; - } - description "The value of the adjustment"; - } - leaf constant-metric { - when "../metric-type = 'constant'" { - description "../MetricType = Constant"; - } - type uint32 { - range "1..2147483647"; - } - description "The constant metric value"; - } - } - leaf enable { - type empty; - description "Enable autoroute announce"; - } - leaf include-ipv6 { - type empty; - description - "Specify that the tunnel should be an IPv6 - autoroute announce also"; - } - } - - container destinations { - description "Tunnel Autoroute Destination(s)"; - - list destination { - key "destination-address"; - description "Destination address to add in RIB"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "IP address of destination"; - } - } - } - } - } - - grouping OOR-NODE-PROTECTION-DISABLE { - description - "Common node of oor-green-state, oor-yellow-state, - oor-red-state"; - leaf oor-node-protection-disable { - type empty; - description - "Disable FRR node-protection when the link is in - this OOR State"; - } - } - - grouping REROUTE-MESSSAGE { - description "Common node of logging, auto-mesh-logging"; - leaf reroute-messsage { - type empty; - description "Log tunnel rereoute messages"; - } - } - - grouping CACHE-TIMER { - description - "Common node of mpls-te-mib, mpls-frr-mib, - mpls-p2mp-mib, mpls-te-ext-mib, - mpls-te-ext-std-mib"; - leaf cache-timer { - type uint32 { - range "0..600"; - } - units "second"; - default "60"; - description "Configure the cache time for the mib."; - } - } - - grouping PATH-SELECTION-METRIC { - description - "Common node of tunnel-attributes, - tunnel-te-attributes"; - leaf path-selection-metric { - type Mpls-te-path-selection-metric; - description - "Path selection metric to use in path calculation"; - } - } - - grouping PASSWORD { - description "Common node of peer, pce-attributes"; - leaf password { - type xr:Proprietary-password; - description "MD5 password"; - } - } - - grouping BANDWIDTH { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute, - path-option-attribute, p2mpte-attribute"; - - container bandwidth { - presence "Indicates a bandwidth node is configured."; - description "Tunnel bandwidth requirement"; - leaf dste-type { - type Mpls-te-bandwidth-dste; - mandatory true; - description "DSTE-standard flag"; - } - leaf class-or-pool-type { - type uint32 { - range "0..1"; - } - mandatory true; - description "Class type for the bandwidth allocation"; - } - leaf bandwidth { - type uint32 { - range "0..4294967295"; - } - units "kbit/s"; - mandatory true; - description - "The value of the bandwidth reserved by this - tunnel in kbps"; - } - } - } - - grouping INTERFACE-BANDWIDTH { - description - "Common node of auto-mesh-attribute, - p2mpte-attribute"; - leaf interface-bandwidth { - type uint32 { - range "0..4294967295"; - } - units "kbit/s"; - description "The bandwidth of the interface in kbps"; - } - } - - grouping FORWARD-CLASS { - description - "Common node of tunnel-attributes, - tunnel-te-attributes, auto-mesh-attribute"; - leaf forward-class { - type uint32 { - range "1..7"; - } - description "Forward class value"; - } - } - - grouping INSUFFICIENT-BW-MESSAGE { - description "Common node of logging, auto-mesh-logging"; - leaf insufficient-bw-message { - type empty; - description "Log tunnel messages for insufficient bandwidth"; - } - } - - grouping OOR-METRIC-TE-PENALTY { - description - "Common node of oor-green-state, oor-yellow-state, - oor-red-state"; - leaf oor-metric-te-penalty { - type int32; - default "0"; - description - "Penalty applied to the TE metric of a link in - OOR state"; - } - } - - grouping KEYCHAIN { - description "Common node of peer, pce-attributes"; - leaf keychain { - type string { - length "1..32"; - } - description "Keychain based authentication"; - } - } - - grouping ALL-TRANSIT-LSP-THRESHOLD { - description - "Common node of lsp-oor-yellow-state, - lsp-oor-red-state"; - leaf all-transit-lsp-threshold { - type int32; - description "Threshold for all transit LSPs"; - } - } - - grouping PRIORITY { - description - "Common node of tunnel-te-attributes, - tunnel-attributes, auto-mesh-attribute, - gmpls-unitunnel-head, auto-backup-attribute, - p2mpte-attribute"; - - container priority { - presence "Indicates a priority node is configured."; - description "Tunnel Setup and Hold Priorities"; - leaf setup-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Setup Priority"; - } - leaf hold-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Hold Priority"; - } - } - } - - container mpls-te { - description "The root of MPLS TE configuration"; - - container diff-serv-traffic-engineering { - description "Configure Diff-Serv Traffic-Engineering"; - - container classes { - description - "Configure Diff-Serv Traffic-Engineering Classes"; - - list class { - key "class-number"; - description "DSTE class number"; - leaf class-number { - type uint32 { - range "0..7"; - } - description "DS-TE class number"; - } - leaf class-type { - when "../unused = 0" { - description "../Unused = "; - } - type uint32 { - range "0..1"; - } - description "Class type number"; - } - leaf class-priority { - when "../unused = 0" { - description "../Unused = "; - } - type uint32 { - range "0..7"; - } - description "Class-type priority"; - } - leaf unused { - type boolean; - description - "TRUE to skip classtype and class priority - provisioning FALSE to provision them"; - } - } - } - leaf bandwidth-constraint-model { - type Bandwidth-constraint; - description - "Diff-Serv Traffic-Engineering Bandwidth - Constraint Model"; - } - leaf mode-ietf { - type Ietf-mode; - description "Diff-Serv Traffic-Engineering IETF mode"; - } - } - - container named-tunnels { - description "Configure MPLS TE tunnel"; - - container tunnels { - description "Configure MPLS TE tunnel"; - - list tunnel { - key "tunnel-name tunnel-type"; - description "Configure a MPLS TE tunnel"; - - container tunnel-attributes { - description "MPLS tunnel attributes"; - - container path-setups { - description "Tunnel path setup table"; - - list path-setup { - key "path-setup-name"; - description "Tunnel path setup"; - - container path-computation { - presence "Indicates a path-computation node is"+ - " configured."; - description "Path computation method"; - leaf path-computation-method { - type Mpls-te-path-computation-method; - mandatory true; - description "Path computation method"; - } - leaf explicit-path-name { - type string; - description "Explicit Path Name"; - } - leaf path-computation-server { - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "Path Computation Server Address"; - } - } - leaf preference { - type int32; - description "Path preference level"; - } - leaf enable { - type empty; - description "Always set to true"; - } - leaf path-setup-name { - type xr:Cisco-ios-xr-string; - description "Path Name"; - } - } - } - leaf shutdown { - type empty; - description "shutdown the tunnel"; - } - uses FORWARD-CLASS; - uses TUNNEL-PATH-SELECTION; - uses AUTO-BANDWIDTH; - uses PRIORITY; - uses DESTINATION; - uses RECORD-ROUTE; - uses LOGGING; - uses BANDWIDTH; - uses AUTOROUTE; - uses PATH-SELECTION-METRIC; - uses NEW-STYLE-AFFINITY-TABLE; - uses SOFT-PREEMPTION; - uses FAST-REROUTE; - uses LOAD-SHARE; - } - - container tunnel-id { - presence "Indicates a tunnel-id node is configured."; - description "Set the tunnel ID"; - leaf tunnel-id-type { - type Mpls-te-tunnel-id; - mandatory true; - description "Tunnel ID Type"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - description "Tunnel ID"; - } - } - leaf enable { - type empty; - description "Always set to true"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string { - length "1..59"; - } - description "Tunnel name"; - } - leaf tunnel-type { - type Mpls-te-config-tunnel; - description "Tunnel Type"; - } - } - } - leaf enable { - type empty; - description "Enable Named Tunnels"; - } - } - - container gmpls-uni { - description "GMPLS-UNI configuration"; - - container timers { - description "GMPLS-UNI timer configuration"; - - container path-option-timers { - description "GMPLS-UNI path-option timer configuration"; - - container holddown { - description - "GMPLS-UNI path-option holddown timer - configuration"; - leaf minimum { - type uint32 { - range "5..3600"; - } - units "second"; - description "Minimum holddown (seconds)"; - } - leaf maximum { - type uint32 { - range "5..3600"; - } - units "second"; - description "Maximum holddown (seconds)"; - } - } - } - } - - container controllers { - description "GMPLS-UNI controllers"; - - list controller { - key "controller-name"; - description "Configure a GMPLS controller"; - - container announce { - description - "Announce discovered tunnel properties to - system"; - leaf srl-gs { - type empty; - description "Enable announcement of discovered SRLGs"; - } - } - - container controller-logging { - description "Controller logging"; - leaf discovered-srlg-change-logging { - type empty; - description - "Enable logging of changes to of discovered - SRLGs"; - } - } - - container gmpls-unitunnel-head { - description "GMPLS-UNI tunnel-head properties"; - - container path-options { - description "Path-option configuration"; - - list path-option { - key "preference-level"; - description "A Path-option"; - leaf preference-level { - type uint32 { - range "1..1000"; - } - description - "Preference level for this path option"; - } - leaf path-type { - type Mpls-te-path-option; - mandatory true; - description "The type of the path option"; - } - leaf path-id { - type uint32 { - range "1..65535"; - } - default "1"; - description - "The ID of the explicit path associated - with this option"; - } - leaf path-name { - type string; - description - "The name of the explicit path associated - with this option"; - } - leaf xro-type { - type Mpls-te-path-option-xro; - mandatory true; - description "The route-exclusion type"; - } - leaf xro-attribute-set-name { - type Attribute-set-name-length; - description - "The name of the XRO attribute set to be - used for this path-option"; - } - leaf lockdown { - type Mpls-te-path-option-property; - mandatory true; - description - "Path option properties: must be Lockdown"; - } - leaf verbatim { - type Mpls-te-path-option-property; - default "none"; - description - "Path option properties: must be verbatim - if set"; - } - leaf signaled-label { - type Mpls-te-signaled-label; - default "not-set"; - description "Signaled label type"; - } - leaf dwdm-channel { - type uint32 { - range "1..89"; - } - default "1"; - description "DWDM channel number"; - } - } - } - - container recording { - description "Tunnel property recording"; - leaf srlg { - type empty; - description - "Enable SRLG-recording during signaling"; - } - } - - container logging { - description "Tunnel event logging"; - uses STATE-MESSAGE; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - description "GMPLS-UNI head tunnel-id"; - } - leaf enable { - type empty; - description "Set link as a GMPLS tunnel head"; - } - leaf destination { - type inet:ipv4-address-no-zone; - description "Set the destination of the tunnel"; - } - uses PRIORITY; - uses RECORD-ROUTE; - uses SIGNALLED-NAME; - } - leaf enable { - type empty; - description "Enable GMPLS-UNI on the link"; - } - leaf controller-name { - type xr:Interface-name; - description "Controller name"; - } - } - } - } - - container global-attributes { - description "Configure MPLS TE global attributes"; - - container auto-tunnel { - description "Configure auto-tunnels feature"; - - container pcc { - description - "Configure auto-tunnel PCC (Path Computation - Client) feature"; - uses TUNNEL-RANGE; - } - - container p2p-auto-tunnel { - description "Configure P2P auto-tunnel feature"; - uses TUNNEL-RANGE; - } - - container backup { - description "Configure auto-tunnel backup feature"; - leaf affinity-ignore { - type empty; - description - "Ignore affinity during CSPF for auto backup - tunnels"; - } - uses TIMERS; - uses TUNNEL-RANGE; - } - - container mesh { - description "Configure auto-tunnel mesh feature"; - - container mesh-groups { - description "Configure auto-tunnel mesh group"; - - list mesh-group { - key "mesh-group-id"; - description "Auto-mesh group identifier"; - leaf destination-list { - type Destination-list-name-length; - description - "The name of prefix-list to be applied to - this destination-list"; - } - leaf disable { - type empty; - description "Disables mesh group"; - } - leaf attribute-set { - type Attribute-set-name-length; - description - "The name of auto-mesh attribute set to be - applied to this group"; - } - leaf create { - type empty; - description - "Auto-mesh group enable object that controls - whether this group is configured or not - .This object must be set before other - configuration supplied for this group"; - } - leaf one-hop { - type empty; - description - "Automatically create tunnel to all - next-hops"; - } - leaf mesh-group-id { - type Mesh-group-id; - description "Mesh group ID"; - } - } - } - uses TIMERS; - uses TUNNEL-RANGE; - } - - container p2mp-auto-tunnel { - description "Configure P2MP auto-tunnel feature"; - uses TUNNEL-RANGE; - } - } - - container hardware-out-of-resource { - description "Configure HW OOR processing in MPLS-TE"; - - container oor-red-state { - description "Configuration for HW OOR Red State"; - uses OOR-NODE-PROTECTION-DISABLE; - uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; - uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; - uses OOR-ACCEPT-REOPT-LSP; - uses OOR-METRIC-TE-PENALTY; - } - - container oor-yellow-state { - description "Configuration for HW OOR Yellow State"; - uses OOR-NODE-PROTECTION-DISABLE; - uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; - uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; - uses OOR-ACCEPT-REOPT-LSP; - uses OOR-METRIC-TE-PENALTY; - } - - container oor-green-state { - description "Configuration for HW OOR Green State"; - leaf oor-recovery-duration { - type uint32 { - range "0..10080"; - } - units "minute"; - default "0"; - description - "Period of time (minutes) during which the - action in Green state are applied. After this - period, the processing in TE goes back to - normal state"; - } - uses OOR-NODE-PROTECTION-DISABLE; - uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; - uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; - uses OOR-ACCEPT-REOPT-LSP; - uses OOR-METRIC-TE-PENALTY; - } - } - - container secondary-router-ids { - description "Configure MPLS TE Secondary Router ID"; - - list secondary-router-id { - key "secondary-router-id-value"; - description "Secondary Router ID"; - leaf secondary-router-id-value { - type inet:ipv4-address-no-zone; - description "Secondary TE Router ID"; - } - } - } - - container srlg { - description "Configure SRLG values and MPLS-TE properties"; - - container names { - description "Configure SRLG identified by names"; - - list name { - key "srlg-name"; - description "SRLG name and its MPLS-TE properties"; - - container static-srlg-members { - description "Configure static SRLG members list"; - - list static-srlg-member { - key "from-address"; - description - "A mapping of the local static SRLG member"; - leaf from-address { - type inet:ipv4-address-no-zone; - description "From address"; - } - leaf to-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "To Addres"; - } - } - } - leaf admin-weight { - type int32; - description - "Administrative weight for the SRLG value"; - } - leaf srlg-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "SRLG membership name"; - } - } - } - leaf default-admin-weight { - type int32; - default "1"; - description - "Default Admin weight any SRLG value that does - not have one"; - } - leaf enable { - type empty; - description "Enter SRLG property configuration"; - } - } - - container queues { - description "Configure MPLS TE route priority"; - - list queue { - key "role"; - description "Configure route priority queue value"; - leaf role { - type Route-priority-role; - description "Route Priority Tunnel Role"; - } - leaf value { - type uint32 { - range "0..12"; - } - mandatory true; - description "Route priority queue value"; - } - } - } - - container mib { - description "MPLS-TE MIB properties"; - leaf midpoint-lsp-stats-collection-disable { - type empty; - description - "Disables mib midpoint LSP traffic stats - collection"; - } - } - - container attribute-set { - description "Attribute AttributeSets"; - - container path-option-attributes { - description "Path Option Attribute-Set Table"; - - list path-option-attribute { - key "attribute-set-name"; - description "Path Option Attribute"; - - container bfd-reverse-path { - presence "Indicates a bfd-reverse-path node is"+ - " configured."; - description "Configure BFD reverse path"; - leaf bfd-reverse-path-type { - type Bfd-reverse-path; - description "BFD reverse path type"; - } - leaf binding-label { - type uint32 { - range "0..1048575"; - } - mandatory true; - description "BFD reverse path binding label"; - } - } - - container att-path-option-path-selection { - description "Configure path selection properties"; - leaf path-selection-exclude-list { - type string { - length "1..64"; - } - description - "Path selection exclude list name - configuration"; - } - uses ENABLE; - uses INVALIDATION; - uses PATH-SELECTION-COST-LIMIT; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses PCE; - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses AFFINITY-MASK; - uses BANDWIDTH; - uses NEW-STYLE-AFFINITY-TABLE; - } - } - - container p2mpte-attributes { - description "P2MP-TE Tunnel AttributeSets Table"; - - list p2mpte-attribute { - key "attribute-set-name"; - description "P2MP-TE Tunnel Attribute"; - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses INTERFACE-BANDWIDTH; - uses PRIORITY; - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses RECORD-ROUTE; - uses AFFINITY-MASK; - uses BANDWIDTH; - uses PATH-SELECTION; - uses NEW-STYLE-AFFINITY-TABLE; - uses FAST-REROUTE; - uses MPLS-MTE-TUNNEL-CFG-LOGGING; - } - } - - container p2p-te-attributes { - description "P2P-TE Tunnel AttributeSets Table"; - - list p2p-te-attribute { - key "attribute-set-name"; - description "P2P-TE Tunnel Attribute"; - - container path-selection { - description "Configure path selection properties"; - - container segment-routing-prepend { - description - "Path selection segment routing prepend - configuration"; - - container indexes { - description "Segment routing prepend index table"; - - list index { - key "index-number"; - description "Prepend index information"; - leaf index-number { - type uint32 { - range "1..10"; - } - description "Index number"; - } - leaf prepend-type { - type Sr-prepend; - default "none-type"; - description "Prepend type"; - } - leaf mpls-label { - type int32; - default "1048577"; - description "MPLS Label"; - } - } - } - leaf enable { - type empty; - description - "Enter path selection segment routing - prepend submode"; - } - } - - container invalidation { - description - "Path selection invalidation configuration"; - leaf invalidation-timer { - type uint32 { - range "0..60000"; - } - units "millisecond"; - description - "Path selection invalidation timer value - (milliseconds)"; - } - leaf invalidation-timer-expire-type { - type Mpls-te-path-selection-invalidation-timer-expire; - default "tunnel-action-tear"; - description - "Path selection invalidation timer expire - type"; - } - } - leaf path-selection-metric { - type Mpls-te-path-selection-metric; - description - "Path selection metric to use in path - calculation"; - } - leaf path-selection-segment-routing-adjacency-protection { - type Mpls-te-path-selection-segment-routing-adjacency-protection; - description - "Segment routing adjacency protection type - to use in path calculation"; - } - uses ENABLE; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses PCE; - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses AFFINITY-MASK; - uses LOGGING; - uses NEW-STYLE-AFFINITY-TABLE; - } - } - - container auto-backup-attributes { - description "Auto-backup Tunnel Attribute Table"; - - list auto-backup-attribute { - key "attribute-set-name"; - description "Auto-backup Tunnel Attribute"; - - container signalled-name { - description "Signalled name"; - leaf name { - type string; - description "Signalled name"; - } - leaf source-type { - type Mpls-te-sig-name-option; - description "Source address or name"; - } - leaf protected-interface-type { - type Mpls-te-sig-name-option; - description "Protected-interface address or name"; - } - leaf mp-address { - type boolean; - description - "Set if merge-point address is to be - appended"; - } - } - - container auto-backup-logging { - description "Log tunnel LSP messages"; - uses BANDWIDTH-CHANGE-MESSAGE; - uses REOPTIMIZE-ATTEMPTS-MESSAGE; - uses STATE-MESSAGE; - uses REOPTIMIZED-MESSAGE; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses PRIORITY; - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses RECORD-ROUTE; - uses AFFINITY-MASK; - uses PATH-SELECTION; - uses POLICY-CLASSES; - uses NEW-STYLE-AFFINITY-TABLE; - } - } - - container otn-pp-attributes { - description "OTN Path Protection Attributes table"; - - list otn-pp-attribute { - key "attribute-set-name"; - description "OTN Path Protection Attribute"; - - container revert-schedule-names { - description "Specify APS revert schedule"; - - list revert-schedule-name { - key "schedule-name"; - description "Name Identifier for revert schedule"; - - container schedule-duration { - presence "Indicates a schedule-duration node is"+ - " configured."; - description "Set duration in format hh:mm"; - leaf hour { - type uint32 { - range "0..167"; - } - mandatory true; - description "Hour of day"; - } - leaf minutes { - type uint32 { - range "0..59"; - } - mandatory true; - description "Minute of the hour"; - } - } - - container schedule-date { - presence "Indicates a schedule-date node is"+ - " configured."; - description - "Set date in format hh:mm MMM DD YYYY"; - leaf hour { - type uint32 { - range "0..23"; - } - mandatory true; - description "Hour of day"; - } - leaf minutes { - type uint32 { - range "0..59"; - } - mandatory true; - description "Minute of the hour"; - } - leaf month { - type uint32 { - range "0..11"; - } - mandatory true; - description "Month of the year"; - } - leaf day { - type uint32 { - range "1..31"; - } - mandatory true; - description "Day of the month"; - } - leaf year { - type uint32 { - range "2015..2035"; - } - mandatory true; - description "Year"; - } - } - leaf revert-schedule-max-tries { - type uint32 { - range "1..2016"; - } - description "Revert Schedule Max tries"; - } - leaf sch-name-enable { - type empty; - description "Schedule name enable object"; - } - leaf revert-schedule-frequency { - type uint32 { - range "1..3"; - } - description - "Frequency set as Once, Daily, Weekly"; - } - leaf schedule-name { - type xr:Cisco-ios-xr-string { - length "1..254"; - } - description - "Enter 64 characters for revert schedule - name"; - } - } - } - - container sub-network-connection-mode { - description "Sub-network connection mode"; - leaf connection-mode { - type Mpls-te-otn-snc-mode; - description "The sub-network connection mode"; - } - leaf connection-monitoring-mode { - type uint32 { - range "1..6"; - } - description - "Tandem Connection Monitoring ID for the - interface"; - } - } - - container timers { - description "Timers"; - leaf aps-wait-to-restore { - type uint32 { - range "0..720"; - } - units "second"; - description - "G.709 OTN path protection wait to restore - timer in seconds"; - } - leaf aps-hold-off { - type uint32 { - range "100..10000"; - } - units "millisecond"; - description - "G.709 OTN path protection hold-off timer in - milliseconds"; - } - } - leaf aps-protection-mode { - type Mpls-te-otn-aps-protection-mode; - description "The APS protecion mode"; - } - leaf aps-restoration-style { - type Mpls-te-otn-aps-restoration-style; - description "The APS restoration style"; - } - leaf aps-protection-type { - type Mpls-te-otn-aps-protection; - description "The APS protecion type"; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses PATH-SELECTION; - } - } - - container auto-mesh-attributes { - description "Auto-mesh Tunnel AttributeSets Table"; - - list auto-mesh-attribute { - key "attribute-set-name"; - description "Auto-mesh Tunnel Attribute"; - - container auto-mesh-logging { - description "Log tunnel LSP messages"; - uses BANDWIDTH-CHANGE-MESSAGE; - uses REOPTIMIZE-ATTEMPTS-MESSAGE; - uses REROUTE-MESSSAGE; - uses STATE-MESSAGE; - uses INSUFFICIENT-BW-MESSAGE; - uses REOPTIMIZED-MESSAGE; - uses PCALC-FAILURE-MESSAGE; - } - leaf autoroute-announce { - type empty; - description "Enable autoroute announce"; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses INTERFACE-BANDWIDTH; - uses FORWARD-CLASS; - uses PRIORITY; - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses RECORD-ROUTE; - uses AFFINITY-MASK; - uses BANDWIDTH; - uses PATH-SELECTION; - uses COLLECTION-ONLY; - uses POLICY-CLASSES; - uses NEW-STYLE-AFFINITY-TABLE; - uses SOFT-PREEMPTION; - uses FAST-REROUTE; - uses LOAD-SHARE; - } - } - - container xro-attributes { - description "XRO Tunnel Attributes table"; - - list xro-attribute { - key "attribute-set-name"; - description "XRO Attribute"; - - container path-diversity { - description "Path diversity"; - - container srlgs { - description "SRLG-based path diversity"; - - list srlg { - key "srlg"; - description "SRLG-based path-diversity element"; - leaf srlg { - type uint32 { - range "0..4294967295"; - } - description "SRLG"; - } - leaf conformance { - type Mpls-te-path-diversity-conformance; - mandatory true; - description - "The diversity conformance requirements"; - } - } - } - - container lsp { - description "LSP-based path diversity"; - - container fecs { - description "FEC LSP-based path diversity"; - - list fec { - key "source destination tunnel-id"+ - " extended-tunnel-id lsp-id"; - description - "LSP-based path-diversity, referenced by - FEC"; - leaf source { - type inet:ipv4-address-no-zone; - description "Source address"; - } - leaf destination { - type inet:ipv4-address-no-zone; - description "Destination address"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - description "Tunnel id"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended tunnel-id"; - } - leaf lsp-id { - type uint32 { - range "0..65535"; - } - description "LSP id"; - } - leaf conformance { - type Mpls-te-path-diversity-conformance; - mandatory true; - description - "The diversity conformance requirements"; - } - } - } - } - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses MPLS-TE-ATTR-SET-CFG-ENABLE; - uses PATH-SELECTION; - } - } - } - - container bfd-over-lsp { - description "BFD over MPLS TE Global Configurations"; - - container tail { - description "BFD over LSP Tail Global Configurations"; - leaf multiplier { - type uint32 { - range "3..10"; - } - description "Specify BFD over LSP tail multiplier"; - } - leaf minimum-interval { - type uint32 { - range "50..30000"; - } - description - "Specify BFD over LSP tail minimum interval"; - } - } - - container head { - description "BFD over LSP Head Global Configurations"; - leaf reopt-timeout { - type uint32 { - range "120..4294967295"; - } - description "BFD session down reopt timeout"; - } - leaf down-action { - type Mpls-te-bfd-session-down-action; - description "Specify BFD session down action"; - } - } - } - - container bandwidth-accounting { - description "Bandwidth accounting configuration data"; - - container application { - description - "Bandwidth accounting application configuration - data"; - leaf application-enforced { - type boolean; - default "false"; - description "This object enables the application"; - } - leaf application-interval { - type uint32 { - range "90..1800"; - } - units "second"; - default "180"; - description - "This object sets the application interval in - seconds for bandwidth accounting. Default to - 180 seconds."; - } - } - - container account-flooding-threshold { - description - "This object sets the flooding threshold as - percentage of total link bandwidth for - bandwidth accounting. Default to 10%, 10%"; - leaf up-threshold { - type Mpls-percent-range; - units "percentage"; - default "10"; - description - "Upward flooding Threshold in percentages of - total bandwidth"; - } - leaf down-threshold { - type Mpls-percent-range; - units "percentage"; - default "10"; - description - "Downward flooding Threshold in percentages of - total bandwidth"; - } - } - leaf sampling-interval { - type uint32 { - range "30..600"; - } - units "second"; - default "60"; - description - "This object sets the sampling interval in - seconds for bandwidth accounting. Default to - 60 seconds."; - } - leaf adjustment-factor { - type uint32 { - range "0..200"; - } - units "percentage"; - default "100"; - description - "This object sets the percentage adjustment - factor for the non RSVP-TE bandwidth - accounting. Default is 100%."; - } - leaf collection-type-rsvp-te { - type boolean; - default "false"; - description - "This object enables the bandwidth accounting - RSVP-TE sample collection."; - } - leaf enable { - type empty; - description - "This object controls whether BW accounting is - enabled. This object must be set before - setting any other objects under the - BandwidthAccounting class."; - } - } - - container pce-attributes { - description "Configuration MPLS TE PCE attributes"; - - container pce-stateful { - description "PCE Stateful"; - - container stateful-timers { - description - "Configure Stateful PCE (Path Computation - Element) timers"; - leaf redelegation-timeout { - type uint32 { - range "0..3600"; - } - units "second"; - default "180"; - description - "Timer for static tunnel redelegation in - seconds, default is 180 seconds"; - } - leaf state-timeout { - type uint32 { - range "0..3600"; - } - units "second"; - default "180"; - description - "State timeout for LSPs without delegation in - seconds, zero means immediate removal, - default is 180 seconds"; - } - } - leaf fast-repair { - type empty; - description - "Enable reoptimization by PCC after path - failures"; - } - leaf instantiation { - type empty; - description "PCE stateful instantiation capability"; - } - leaf cisco-extension { - type empty; - description "Enable processing of PCEP Cisco extension"; - } - leaf delegation { - type empty; - description - "Delegate all statically configured tunnels"; - } - leaf report { - type empty; - description "Report all statically configured tunnels"; - } - leaf enable { - type empty; - description "PCE stateful capability"; - } - } - - container timer { - description - "Configure PCE (Path Computation Element) - timers"; - } - - container peers { - description "Configure PCE peers"; - - list peer { - key "pce-peer-address"; - description "PCE peer"; - leaf enable { - type empty; - description - "Enabled PCE peer (default source address - uses local)"; - } - leaf pce-peer-address { - type inet:ipv4-address-no-zone; - description "Address of PCE Peer"; - } - uses PASSWORD; - uses KEYCHAIN; - uses PRECEDENCE; - } - } - - container logging { - description - "Configure PCE (Path Computation Element) - logging feature"; - - container events { - description "Configure logging events"; - leaf peer-status { - type empty; - description "Peer status changes logging"; - } - } - } - leaf request-timeout { - type uint32 { - range "5..100"; - } - units "second"; - default "10"; - description "Request timeout value in seconds"; - } - leaf reoptimize-period { - type uint32 { - range "60..604800"; - } - units "second"; - default "60"; - description - "PCE reoptimization period for PCE-based paths"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Address of this PCE"; - } - leaf deadtimer { - type uint32 { - range "0..255"; - } - units "second"; - default "120"; - description "Deadtimer interval in seconds"; - } - leaf keepalive { - type uint32 { - range "0..255"; - } - units "second"; - default "30"; - description "Keepalive interval in seconds"; - } - leaf keepalive-tolerance { - type uint32 { - range "0..255"; - } - units "second"; - default "10"; - description "Keepalive interval tolerance in seconds"; - } - leaf peer-source-addr { - type inet:ipv4-address-no-zone; - description "PCE Peer Source Address"; - } - leaf speaker-entity-id { - type string { - length "1..256"; - } - description "PCE speaker entity identifier"; - } - leaf segment-routing { - type empty; - description "PCE segment routing capability"; - } - uses PASSWORD; - uses KEYCHAIN; - uses PRECEDENCE; - } - - container lsp-out-of-resource { - description "Configure LSP OOR attributes in MPLS-TE"; - - container lsp-oor-red-state { - description "Configuration for LSP OOR Red/Major State"; - uses ALL-TRANSIT-LSP-THRESHOLD; - uses UNPROTECTED-TRANSIT-LSP-THRESHOLD; - } - - container lsp-oor-yellow-state { - description - "Configuration for LSP OOR Yellow/Minor State"; - uses ALL-TRANSIT-LSP-THRESHOLD; - uses UNPROTECTED-TRANSIT-LSP-THRESHOLD; - } - } - - container soft-preemption { - description "Soft preemption configuration data"; - leaf timeout { - type uint32 { - range "1..300"; - } - units "second"; - default "60"; - description - "This object sets the timeout in seconds before - hard preemption is triggered."; - } - leaf frr-rewrite { - type empty; - description - "This object controls whether FRR rewrite - during soft preemption is enabled."; - } - leaf enable { - type boolean; - description - "This object controls whether soft preemption - is enabled. This object must be set before - setting any other objects under the - SoftPreemption class."; - } - } - - container fast-reroute { - description "Configure fast reroute attributes"; - - container timers { - description "Configure fast reroute timers"; - leaf hold-backup { - type uint32 { - range "0..604800"; - } - units "second"; - description - "Seconds before backup declared UP (0 disables - hold-timer)"; - } - leaf promotion { - type uint32 { - range "0..604800"; - } - units "second"; - description - "The value of the promotion timer in seconds"; - } - } - } - - container path-selection { - description "Path selection configuration"; - - container loose-metrics { - description - "Path selection Loose ERO Metric Class - configuration"; - - list loose-metric { - key "class-type"; - description - "Path selection Loose ERO Metric configuration"; - leaf class-type { - type uint32 { - range "0..7"; - } - description "Path Selection class Type"; - } - leaf metric-type { - type Mpls-te-path-selection-metric; - mandatory true; - description "Metric to use for ERO Expansion"; - } - } - } - - container invalidation { - description - "Path invalidation configuration for all - tunnels"; - leaf path-invalidation-timeout { - type uint32 { - range "0..60000"; - } - description "Path Invalidation Timeout"; - } - leaf path-invalidation-action { - type Path-invalidation-action; - description "Path Invalidation Action"; - } - } - - container ignore-overload-role { - description - "Path selection to ignore overload node during - CSPF"; - leaf head { - type boolean; - description - "Set if the OL-bit is to be applied to tunnel - heads"; - } - leaf mid { - type boolean; - description - "Set if the OL-bit is to be applied to tunnel - midpoints"; - } - leaf tail { - type boolean; - description - "Set if the OL-bit is to be applied to tunnel - tails"; - } - } - - container loose-affinities { - description - "Path selection Loose ERO Affinity Class - configuration"; - - list loose-affinity { - key "class-type"; - description - "Path selection Loose ERO Affinity - configuration"; - leaf class-type { - type uint32 { - range "0..7"; - } - description "Path Selection class Type"; - } - leaf affinity { - type xr:Hex-integer; - description "Affinity flags"; - } - leaf mask { - type xr:Hex-integer; - description "Affinity mask"; - } - } - } - leaf cost-limit { - type uint32 { - range "1..4294967295"; - } - description - "Path selection cost limit configuration for - all tunnels"; - } - leaf tiebreaker { - type Mpls-te-path-selection-tiebreaker; - description "CSPF tiebreaker to use in path calculation"; - } - leaf metric { - type Mpls-te-path-selection-metric; - description "Metric to use in path calculation"; - } - leaf loose-domain-match { - type boolean; - description - "Use only the IGP instance of the incoming - interface"; - } - } - - container affinity-mappings { - description "Affinity Mapping Table configuration"; - - list affinity-mapping { - key "affinity-name"; - description "Affinity Mapping configuration"; - leaf affinity-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Affinity Name"; - } - leaf value-type { - type Mpls-te-affinity-value; - description "Affinity value type"; - } - leaf value { - type xr:Hex-integer; - description - "Affinity Value in Hex number or by Bit - position"; - } - } - } - leaf log-nsr-status { - type empty; - description "Log NSR status messages"; - } - leaf log-issu-status { - type empty; - description "Log ISSU status messages"; - } - leaf reoptimize-link-up { - type empty; - description "Enable reoptimization based on link-up events"; - } - leaf reoptimize-delay-cleanup-timer { - type uint32 { - range "0..300"; - } - units "second"; - description "Reoptimization Delay Cleanup Value (seconds)"; - } - leaf disable-reoptimize-affinity-failure { - type empty; - description - "Disable reoptimization after affinity failures"; - } - leaf maximum-tunnels { - type uint32 { - range "1..65536"; - } - default "4096"; - description - "The maximum number of tunnel heads that will be - allowed."; - } - leaf link-holddown-timer { - type uint32 { - range "0..300"; - } - units "second"; - default "10"; - description - "Holddown time for links which had Path Errors - in seconds"; - } - leaf fault-oam { - type empty; - description - "Enable Fault-OAM functionality for - bidirectional tunnels"; - } - leaf enable-unequal-load-balancing { - type empty; - description - "Enable unequal load-balancing over tunnels to - the same destination"; - } - leaf log-tail { - type empty; - description "Log all tail tunnel events"; - } - leaf reoptimize-delay-after-frr-timer { - type uint32 { - range "0..120"; - } - units "second"; - description - "Reoptimization Delay After FRR Value (seconds)"; - } - leaf auto-bandwidth-collect-frequency { - type uint32 { - range "1..10080"; - } - units "minute"; - default "5"; - description - "Auto-bandwidth global collection frequency in - minutes"; - } - leaf reopt-delay-path-protect-switchover-timer { - type uint32 { - range "0..604800"; - } - units "second"; - default "180"; - description - "Seconds between path protect switchover and - tunnel re-optimization. Set to 0 to disable"; - } - leaf log-all { - type empty; - description "Always set to true"; - } - leaf loose-path-retry-period { - type uint32 { - range "30..600"; - } - default "120"; - description - "Signalling retry for tunnels terminating - outside the headend area"; - } - leaf reoptimize-load-balancing { - type empty; - description "Load balance bandwidth during reoptimization"; - } - leaf log-head { - type empty; - description "Log all head tunnel events"; - } - leaf path-selection-ignore-overload { - type empty; - description "Deprecated - do not use"; - } - leaf graceful-preemption-on-bandwidth-reduction { - type empty; - description - "Enable graceful preemption when there is a - bandwidth reduction"; - } - leaf advertise-explicit-nulls { - type empty; - description "Enable explicit-null advertising to PHOP"; - } - leaf reoptimize-delay-install-timer { - type uint32 { - range "0..3600"; - } - units "second"; - description "Reoptimization Delay Install Value (seconds)"; - } - leaf reoptimize-delay-after-affinity-failure-timer { - type uint32 { - range "1..604800"; - } - units "second"; - description - "Delay reoptimizing current LSP after affinity - failures"; - } - leaf log-frr-protection { - type Mpls-te-log-frr-protection; - description "Log FRR Protection messages"; - } - leaf reoptimize-timer-frequency { - type uint32 { - range "0..604800"; - } - units "second"; - default "3600"; - description "Reoptimize timers period in seconds"; - } - leaf log-mid { - type empty; - description "Log all mid tunnel events"; - } - leaf log-preemption { - type empty; - description "Log tunnel preemption messages"; - } - } - - container transport-profile { - description "MPLS transport profile configuration data"; - - container fault { - description "Fault management"; - - container protection-trigger { - description - "OAM events that trigger protection switching"; - - container ldi { - description "Protection switching due to LDI event"; - leaf disable { - type empty; - description - "Disable protection switching due to LDI - event"; - } - } - - container lkr { - description "Protection switching due to LKR event"; - leaf disable { - type empty; - description - "Disable protection switching due to LKR - event"; - } - } - leaf ais { - type empty; - description - "Enable protection switching due to AIS event"; - } - } - leaf wait-to-restore-interval { - type uint32 { - range "0..2147483647"; - } - units "second"; - default "0"; - description "Waiting time before restoring working LSP"; - } - leaf refresh-interval { - type uint32 { - range "1..20"; - } - units "second"; - default "20"; - description - "Periodic refresh interval for fault OAM - messages"; - } - } - - container alarm { - description "Alarm management"; - - container suppress-event { - description "Suppress all tunnel/LSP alarms"; - leaf disable { - type empty; - description "Disable alarm suppression"; - } - } - leaf soak-time { - type uint32 { - range "0..10"; - } - units "second"; - default "3"; - description "Duration of soaking alarms"; - } - leaf enable-alarm { - type empty; - description "Enable Transport Profile Alarm"; - } - } - - container bfd { - description "Configure BFD parameters"; - - container min-interval-standby { - description - "Hello interval for standby transport profile - LSPs, either in milli-seconds or in - micro-seconds"; - leaf interval-standby-ms { - type uint32 { - range "3..5000"; - } - units "millisecond"; - description "Hello interval in milli-seconds"; - } - leaf interval-standby-us { - type uint32 { - range "3000..5000000"; - } - units "microsecond"; - description "Hello interval in micro-seconds"; - } - } - - container min-interval { - description - "Hello interval, either in milli-seconds or in - micro-seconds"; - leaf interval-ms { - type uint32 { - range "3..5000"; - } - units "millisecond"; - description "Hello interval in milli-seconds"; - } - leaf interval-us { - type uint32 { - range "3000..5000000"; - } - units "microsecond"; - description "Hello interval in micro-seconds"; - } - } - leaf detection-multiplier-standby { - type uint32 { - range "2..10"; - } - description - "Detect multiplier for standby transport - profile LSP"; - } - leaf detection-multiplier { - type uint32 { - range "2..10"; - } - description "Detect multiplier"; - } - } - - container midpoints { - description "MPLS-TP tunnel mid-point table"; - - list midpoint { - key "midpoint-name"; - description "Transport profile mid-point identifier"; - - container source { - presence "Indicates a source node is configured."; - description - "Node identifier, tunnel identifier and - optional global identifier of the source of - the LSP"; - leaf node-id { - type inet:ipv4-address-no-zone; - description "Node identifier in IPv4 address format"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - mandatory true; - description "Tunnel identifier in numeric value"; - } - leaf global-id { - type uint32 { - range "1..65535"; - } - description "Global identifier in numeric value"; - } - } - - container destination { - presence "Indicates a destination node is configured."; - description - "Node identifier, tunnel identifier and - optional global identifier of the destination - of the LSP"; - leaf node-id { - type inet:ipv4-address-no-zone; - description "Node identifier in IPv4 address format"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - mandatory true; - description "Tunnel identifier in numeric value"; - } - leaf global-id { - type uint32 { - range "1..65535"; - } - description "Global identifier in numeric value"; - } - } - - container forward-lsp { - description "Forward transport profile LSP"; - - container forward-io-map { - presence "Indicates a forward-io-map node is"+ - " configured."; - description - "Label cross-connect of forward transport - profile LSP"; - leaf in-label { - type uint32 { - range "16..4015"; - } - description "MPLS label"; - } - leaf out-label { - type uint32 { - range "16..1048575"; - } - mandatory true; - description "Outgoing MPLS label"; - } - leaf out-link { - type uint32 { - range "1..65535"; - } - mandatory true; - description - "Transport profile identifier of outgoing - link"; - } - } - leaf forward-bandwidth { - type uint32 { - range "0..4294967295"; - } - units "kbit/s"; - description - "Bandwidth of forward transport profile LSP"; - } - } - - container reverse-lsp { - description "none"; - - container reverse-io-map { - presence "Indicates a reverse-io-map node is"+ - " configured."; - description - "Label cross-connect of reverse transport - profile LSP"; - leaf in-label { - type uint32 { - range "16..4015"; - } - description "MPLS label"; - } - leaf out-label { - type uint32 { - range "16..1048575"; - } - mandatory true; - description "Outgoing MPLS label"; - } - leaf out-link { - type uint32 { - range "1..65535"; - } - mandatory true; - description - "Transport profile identifier of outgoing - link"; - } - } - leaf reverse-bandwidth { - type uint32 { - range "0..4294967295"; - } - units "kbit/s"; - description - "Bandwidth of reverse transport profile LSP"; - } - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf lsp-protect { - type empty; - description "Enable LSP protection"; - } - leaf lsp-id { - type uint32 { - range "0..65535"; - } - description "Numeric identifier"; - } - leaf midpoint-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Name of mid-point"; - } - } - } - leaf global-id { - type uint32 { - range "1..65535"; - } - description "Transport profile global identifier"; - } - leaf node-id { - type inet:ipv4-address-no-zone; - description "Node identifier in IPv4 address format"; - } - } - - container interfaces { - description "Configure MPLS TE interfaces"; - - list interface { - key "interface-name"; - description "Configure an MPLS TE interface"; - - container transport-profile-link { - description "MPLS transport profile capable link"; - - container links { - description "Transport profile link table"; - - list link { - key "link-id"; - description "Transport profile link"; - leaf link-id { - type uint32 { - range "1..65535"; - } - description "Numeric link identifier"; - } - leaf next-hop-type { - type Link-next-hop; - default "ipv4-address"; - description "Next hop type"; - } - leaf next-hop-address { - when "../next-hop-type = 'ipv4-address'" { - description "../NextHopType = IPV4Address"; - } - type inet:ipv4-address-no-zone; - description "Next-hop address in IPv4 format"; - } - } - } - } - - container lcac { - description "LCAC specific MPLS interface configuration"; - - container switchings { - description "Set the te-link switching attributes"; - - list switching { - key "switching-id"; - description "The te-link switching attributes"; - leaf encoding { - type Mpls-te-switching-encoding; - description "Set the local encoding type"; - } - leaf capability { - type Mpls-te-switching-cap; - description "Set the local switching capability"; - } - leaf switching-id { - type Mpls-te-switching-index; - description "Switching index"; - } - } - } - - container flood-area { - description - "Set the IGP instance into which this - interface is to be flooded (GMPLS only)"; - leaf igp-type { - type Mpls-lcac-flooding-igp; - description "IGP type"; - } - leaf process-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Process name"; - } - leaf area-id { - type int32; - description "Area ID"; - } - } - - container attribute-name-xr { - description "Set the interface attribute names"; - leaf-list attribute-name { - type string; - max-elements "32"; - description "Array of Attribute Names"; - } - } - - container attribute-names { - description "Attribute name table"; - - list attribute-name { - key "affinity-index"; - description "Set the interface attribute names"; - leaf affinity-index { - type uint32 { - range "1..9"; - } - description "Specify the entry index"; - } - leaf-list value { - type string; - min-elements "1"; - max-elements "32"; - description "Array of Attribute Names"; - } - } - } - - container srlgs { - description - "Configure SRLG membership for the interface"; - - list srlg { - key "srlg-number"; - description "SRLG membership number"; - leaf srlg-number { - type uint32 { - range "0..4294967295"; - } - description "SRLG membership number"; - } - } - } - - container up-thresholds { - description - "Set thresholds for increased resource - availability in %"; - leaf-list up-threshold { - type Mpls-lcac-flooding-threshold-percent-range; - units "percentage"; - max-elements "14"; - description "Array of up threshold percentage"; - } - } - - container down-thresholds { - description - "Set thresholds for decreased resource - availability in %"; - leaf-list down-threshold { - type Mpls-lcac-flooding-threshold-percent-range; - units "percentage"; - max-elements "14"; - description "Array of down threshold percentage"; - } - } - leaf bfd { - type empty; - description - "Enable use of Bidirectional Forwarding - Detection"; - } - leaf fault-oam-lockout { - type empty; - description - "Lockout protection on the interface for Flex - LSP"; - } - leaf attribute-flags { - type xr:Hex-integer; - description - "Set user defined interface attribute flags"; - } - leaf enable { - type empty; - description "Enable MPLS-TE on the link"; - } - leaf admin-weight { - type int32; - description - "Set administrative weight for the interface"; - } - } - - container global-attributes { - description "MPLS TE global interface configuration"; - - container backup-tunnels { - description - "Configure MPLS TE backup tunnels for this - interface"; - - list backup-tunnel { - key "tunnel-name"; - description "Tunnel name"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string { - length "1..59"; - } - description "Tunnel name"; - } - } - } - - container auto-tunnel { - description "Auto tunnel configuration"; - - container backup { - description "Auto tunnel backup configuration"; - - container exclude { - description "Auto-tunnel backup exclusion criteria"; - leaf srlg-mode { - type Mpls-tesrlg-exclude; - description - "Set exclude SRLG mode for auto-tunnel - backup on this TE link"; - } - } - leaf enable { - type empty; - description - "Enable auto-tunnel backup on this TE link"; - } - leaf attribute-set { - type Attribute-set-name-length; - description - "The name of attribute set to be applied to - this auto backup lsp"; - } - leaf next-hop-only { - type empty; - description - "Enable NHOP-only mode for auto-tunnel - backup on this TE link"; - } - } - } - - container backup-paths { - description - "Configure MPLS TE backup tunnels for this - interface"; - - list backup-path { - key "tunnel-number"; - description "Tunnel interface number"; - leaf tunnel-number { - type uint32 { - range "0..65535"; - } - description "Tunnel interface number"; - } - } - } - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - - container gmpls-nni { - description "GMPLS-NNI configuration"; - - container topology-instances { - description "GMPLS-NNI topology instance table"; - - list topology-instance { - must "ospf-int or ospfip-addr" { - description "OSPFInt or OSPFIPAddr must be present."; - } - key "ospf-area-type igp-instance-name igp-type"; - description "GMPLS-NNI topology instance configuration"; - - grouping TOPOLOGY-INSTANCE-CONTENT { - description "TOPOLOGY INSTANCE CONTENT"; - - container controllers { - description "GMPLS-NNI controllers"; - - list controller { - key "controller-name"; - description "Configure a GMPLS NNI controller"; - - container tti-mode { - description - "Set tandem connection monitoring for the - interface"; - leaf tti-mode-type { - type Gmplstti-mode; - description "Type of Trail Trace Identifier"; - } - leaf tcmid { - when "../tti-mode-type = 'tcm'" { - description "../TTIModeType = TCM"; - } - type uint32 { - range "1..6"; - } - description - "Tandem Connection Monitoring ID for the - interface"; - } - } - leaf admin-weight { - type uint32 { - range "0..65535"; - } - description - "Set administrative weight for the - interface"; - } - leaf enable { - type empty; - description "Enable GMPLS-NNI on the link"; - } - leaf delay { - type uint32 { - range "1..16777215"; - } - description "Set link delay for the interface"; - } - leaf controller-name { - type xr:Interface-name; - description "Controller name"; - } - } - } - } - leaf igp-type { - type Mpls-te-igp-protocol; - description "IGP type"; - } - leaf igp-instance-name { - type xr:Cisco-ios-xr-string { - length "1..40"; - } - description "Name of IGP instance"; - } - leaf ospf-area-type { - type Ospf-area-mode; - description "OSPF area format"; - } - - list ospf-int { - when "../ospf-area-type = 'ospf-int'" { - description "../OSPFAreaType = OSPFInt"; - } - key "igp-area"; - description "ospf int"; - leaf igp-area { - type int32; - description "IGP area"; - } - uses TOPOLOGY-INSTANCE-CONTENT; - } - - list ospfip-addr { - when "../ospf-area-type = 'ospfip-addr'" { - description "../OSPFAreaType = OSPFIPAddr"; - } - key "address"; - description "ospfip addr"; - leaf address { - type inet:ipv4-address-no-zone; - description "Area ID if in IP address format"; - } - uses TOPOLOGY-INSTANCE-CONTENT; - } - } - } - - container tunnel-heads { - description "GMPLS-NNI tunnel-head table"; - - list tunnel-head { - key "tunnel-id"; - description - "The configuration for a GMPLS NNI tunnel - head-end"; - - container signalled-bandwidth { - description - "The existence of this configuration indicates - the signalled bandwidth has been set for the - tunnel"; - leaf signalled-bandwidth-type { - type Otn-signaled-bandwidth; - description "The g.709 signal type requested"; - } - leaf bitrate { - when "../signalled-bandwidth-type = 'od-uflex-cbr'"+ - " or ../signalled-bandwidth-type ="+ - " 'od-uflex-gfp-resize' or"+ - " ../signalled-bandwidth-type ="+ - " 'od-uflex-gfp-not-resize'" { - description - "../SignalledBandwidthType = ODUflexCBR or - ../SignalledBandwidthType = - ODUflexGFPResize or . - ./SignalledBandwidthType = - ODUflexGFPNotResize"; - } - type int32; - units "kbit/s"; - description - "Bitrate value in Kbps for ODUflex framing - type"; - } - leaf od-uflex-framing-type { - when "../signalled-bandwidth-type = 'od-uflex-cbr'"+ - " or ../signalled-bandwidth-type ="+ - " 'od-uflex-gfp-resize' or"+ - " ../signalled-bandwidth-type ="+ - " 'od-uflex-gfp-not-resize'" { - description - "../SignalledBandwidthType = ODUflexCBR or - ../SignalledBandwidthType = - ODUflexGFPResize or . - ./SignalledBandwidthType = - ODUflexGFPNotResize"; - } - type Otn-signaled-bandwidth-flex-framing; - description - "Framing type in case of ODUflex signal type"; - } - } - - container destination { - description - "The existence of this configuration indicates - the destination has been set for the tunnel"; - leaf destination { - type inet:ipv4-address-no-zone; - description "IPV4 tunnel destination"; - } - leaf destination-type { - type Otn-destination; - description - "Destination type whether it is unicast or - unnumbered"; - } - leaf interface-if-index { - type int32; - description "Interface index of port"; - } - } - - container protection-switching { - description - "The configuration for a GMPLS NNI tunnel - protection switch"; - leaf lockout { - type Otn-protection-switch-lockout; - description - "The configuration is used to prevent switch - over for a particular path type in tunnel"; - } - } - - container logging { - description "Tunnel event logging"; - leaf active-lsp-message { - type empty; - description - "Log all tunnel messages for changes in - Active LSP"; - } - leaf homepath-state-message { - type empty; - description - "Log all messages for changes in state of - Homepath of Working LSP"; - } - leaf signalling-state-message { - type empty; - description "Log all tunnel sub-LSP state messages"; - } - leaf path-change-message { - type empty; - description - "Log all tunnel messages for changes in - path-change"; - } - leaf static-cross-connect-message { - type empty; - description - "Log all tunnel messages for static - cross-connect messages"; - } - leaf tunnel-state-message { - type empty; - description - "Log all tunnel messages for changes in - tunnel-state"; - } - leaf insufficient-bw-message { - type empty; - description - "Log tunnel messages for insufficient - bandwidth"; - } - } - - container path-options { - description "GMPLS NNI path options"; - - list path-option { - key "preference-level"; - description - "The existence of this configuration - indicates the path options have been set for - the tunnel"; - leaf preference-level { - type uint32 { - range "1..1000"; - } - description "Preference level for this path option"; - } - leaf path-type { - type Mpls-te-path-option; - description "The type of the path option"; - } - leaf path-id { - type uint32 { - range "1..65535"; - } - description - "The ID of the IP explicit path associated - with this option"; - } - leaf path-name { - type string; - description - "The name of the IP explicit path associated - with this option"; - } - leaf protected-by-preference-level { - type uint32 { - range "1..1001"; - } - description - "Preference level of the protecting explicit - path. "; - } - leaf restore-by-preference-level { - type uint32 { - range "1..1000"; - } - description - "Preference level of the restore path. "; - } - leaf xro-type { - type Mpls-te-path-option-xro; - mandatory true; - description "The route-exclusion type"; - } - leaf xro-attribute-set-name { - type Attribute-set-name-length; - description - "The name of the XRO attribute set to be - used for this path-option"; - } - leaf lockdown { - type Mpls-te-path-option-property; - description "Lockdown properties"; - } - } - } - - container static-uni { - description - "The existence of this configuration indicates - the static UNI endpoints have been set for - the tunnel"; - leaf ingress-controller-name { - type xr:Cisco-ios-xr-string { - length "1..255"; - } - description "Name of ingress controller"; - } - leaf egress-controller-if-index { - type int32; - description "Interface index of Egress controller"; - } - leaf ingress-type { - type Otn-static-uni; - description - "Ingress type whether it is xconnect or - terminated"; - } - leaf egress-type { - type Otn-static-uni; - description - "Egress type whether it is xconnect or - terminated"; - } - } - leaf enable { - type empty; - description - "The existence of this configuration indicates - the a new GMPLS NNI tunnel has been enabled"; - } - leaf restore-lsp-shutdown { - type empty; - description - "The existence of this configuration indicates - the restore LSP of tunnel is shutdown"; - } - leaf current-lsp-shutdown { - type empty; - description - "The existence of this configuration indicates - the current/working LSP of tunnel is shutdown"; - } - leaf path-selection-metric { - type Mpls-te-path-selection-metric; - description - "Path selection configuration for this - specific tunnel"; - } - leaf payload { - type Otn-payload; - description - "The existence of this configuration indicates - the Payload type have been set for the tunnel"; - } - leaf standby-lsp-shutdown { - type empty; - description - "The existence of this configuration indicates - the standby/protect LSP of tunnel is shutdown"; - } - leaf shutdown { - type empty; - description - "The existence of this configuration indicates - the tunnel is shutdown"; - } - leaf path-protection-attribute-set-profile { - type string { - length "1..64"; - } - description - "The name of the path-protection profile to be - included in signalling messages"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - description "Tunnel ID"; - } - uses RECORD-ROUTE; - uses SIGNALLED-NAME; - } - } - leaf path-selection-metric { - type Mpls-te-path-selection-metric; - description - "Path selection configuration for all gmpls nni - tunnels"; - } - leaf enable-gmpls-nni { - type empty; - description "Enable MPLS Traffic Engineering GMPLS-NNI"; - } - } - - container lcac { - description "LCAC specific MPLS global configuration"; - - container bfd { - description "BFD configuration"; - leaf interval { - type uint32 { - range "15..200"; - } - units "millisecond"; - description - "Hello interval for BFD sessions created by TE"; - } - leaf detection-multiplier { - type uint32 { - range "2..10"; - } - description - "Detection multiplier for BFD sessions created - by TE"; - } - } - - container flooding-threshold { - description - "Configure flooding threshold as percentage of - total link bandwidth."; - leaf up-stream { - type Mpls-percent-range; - units "percentage"; - description - "Upward flooding Threshold in percentages of - total bandwidth"; - } - leaf down-stream { - type Mpls-percent-range; - units "percentage"; - description - "Downward flooding Threshold in percentages of - total bandwidth"; - } - } - leaf bandwidth-hold-timer { - type Mpls-lcac-bandwidth-hold-timer-range; - units "second"; - description "Bandwidth hold timer value (seconds)"; - } - leaf delay-preempt-bundle-capacity-timer { - type uint32 { - range "0..300"; - } - units "second"; - description - "Bundle capacity preemption timer value - (seconds)"; - } - leaf periodic-flooding-timer { - type uint32 { - range "0..3600"; - } - units "second"; - description "Periodic flooding value (seconds)"; - } - } - leaf enable-traffic-engineering { - type empty; - description "Enable MPLS Traffic Engineering"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container tunnel-te-attributes { - description "MPLS tunnel attributes"; - - container backup-bandwidth { - description "Tunnel backup bandwidth requirement"; - leaf dste-type { - type Mpls-te-bandwidth-dste; - description "DSTE-standard flag"; - } - leaf pool-type { - type Mpls-te-backup-bandwidth-pool; - description - "Backup bandwidth pool type, relevant only if - DSTEType is PreStandardDSTE"; - } - leaf class-type { - type Mpls-te-backup-bandwidth-class; - description - "Backup bandwidth class type, relevant only if - DSTEType is StandardDSTE"; - } - leaf limit-type { - type Mpls-te-bandwidth-limit; - description "Backup bandwidth limit type"; - } - leaf backup-bandwidth { - type uint32 { - range "1..4294967295"; - } - description - "Backup bandwidth requested by this tunnel in - kbps. Ignored if bandwidth limit type is - unlimited."; - } - } - - container bfd-over-lsp { - description "BFD over TE LSP"; - leaf dampening-initial-wait { - type uint32 { - range "1..518400000"; - } - description - "Initial delay in milliseconds (default 16000)"; - } - leaf fast-detect { - type Mpls-tebfd-session; - description "Enable BFD Fast Detect On the tunnel"; - } - leaf enable { - type empty; - description "Always set to true"; - } - leaf multiplier { - type uint32 { - range "3..10"; - } - description - "Specify the multiplier for BFD failure - detection"; - } - leaf bringup-timeout { - type uint32 { - range "10..3600"; - } - description - "Wait for session to come up in seconds - (default 60)"; - } - leaf periodic-ping-disable { - type empty; - description "Disable Periodic LSP Ping for BFD over LSP"; - } - leaf dampening-secondary-wait { - type uint32 { - range "1..518400000"; - } - description - "Secondary delay in milliseconds (default - 20000)"; - } - leaf periodic-ping-interval { - type uint32 { - range "60..3600"; - } - description - "Periodic LSP Ping Interval in seconds (default - 120)"; - } - leaf dampening-maximum-wait { - type uint32 { - range "1..518400000"; - } - description - "Maximum delay in milliseconds (default 600000)"; - } - leaf minimum-interval { - type uint32 { - range "3..30000"; - } - description - "Specify the minimum interval for BFD failure - detection"; - } - leaf encap-mode { - type uint32 { - range "0..1"; - } - description "Specify BFD Encap Mode on the tunnel"; - } - } - - container binding-segment-id-mpls { - description "Allocate MPLS binding segment ID"; - leaf segment-id-type { - type Binding-segment-id; - description "MPLS label value type"; - } - leaf label-value { - when "../segment-id-type = 'specified-label'" { - description "../SegmentIDType = SpecifiedLabel"; - } - type uint32 { - range "16..4015"; - } - description "MPLS label"; - } - } - - container forwarding-adjacency { - description "Forwarding adjacency announcement to IGP"; - leaf enable { - type empty; - description "Enable forwarding adjacency"; - } - leaf include-ipv6 { - type empty; - description - "Specify that the tunnel should be an IPv6 - forwarding adjacency also"; - } - leaf hold-time { - type uint32 { - range "0..20000"; - } - description - "Specify the holdtime for the tunnel as - forwarding adjacency"; - } - } - - container path-option-protects { - description "Tunnel path protection state"; - - list path-option-protect { - key "protection"; - description "Tunnel path protection"; - - container path-options { - description "Tunnel path options"; - - list path-option { - key "preference-level"; - description "A tunnel path option"; - leaf preference-level { - type uint32 { - range "1..1000"; - } - description "Preference level for this path option"; - } - leaf path-type { - type Mpls-te-path-option; - mandatory true; - description "The type of the path option"; - } - leaf path-id { - type uint32 { - range "1..65535"; - } - default "1"; - description - "The ID of the IP explicit path associated - with this option"; - } - leaf path-name { - type string; - description - "The name of the IP explicit path associated - with this option"; - } - leaf path-property { - type int32; - default "0"; - description "Deprecated"; - } - leaf interface { - type xr:Interface-name; - description "Deprecated"; - } - leaf output-label { - type int32; - default "0"; - description "Deprecated"; - } - leaf destination { - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "Deprecated"; - } - leaf lockdown { - type Mpls-te-path-option-property; - default "none"; - description "Lockdown properties"; - } - leaf verbatim { - type Mpls-te-path-option-property; - default "none"; - description "Verbatim properties"; - } - leaf pce { - type Mpls-te-path-option-property; - default "none"; - description "PCE properties"; - } - leaf pce-address { - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "PCE address"; - } - leaf igp-type { - type Mpls-te-igp-protocol; - default "none"; - description "IGP type"; - } - leaf igp-instance { - type string { - length "1..40"; - } - description "IGP instance name"; - } - leaf igp-area { - type int32; - default "0"; - description "IGP area ID in integer format"; - } - leaf igp-area-ip-address-id { - type inet:ipv4-address-no-zone; - default "0.0.0.0"; - description "IGP area ID in IP address format"; - } - leaf path-option-attribute-set-name { - type string; - description "Path option attribute set name"; - } - leaf protected-by-preference-level { - type uint32 { - range "1..1000"; - } - default "1"; - description - "Preference level of the protecting explicit - path. Leave unset in order to not use an - explicit protecting path"; - } - leaf segment-routing { - type Mpls-te-path-option-property; - default "none"; - description "SegmentRouting properties"; - } - } - } - leaf protection { - type Mpls-te-path-option-protection; - description "Protection type for this path"; - } - } - } - - container bidirectional { - description - "Tunnel Interface Bidirectional configuration - data"; - - container association-corouted-type { - description "Association Corouted Type"; - - container fault-oam { - description "Tunnel Fault OAM"; - leaf enable { - type empty; - description - "This object is only valid for bidirectional - tunnel interfaces and it controls whether - that interface has fault OAM enabled on it - or not."; - } - } - leaf wrap-protection-enable { - type empty; - description - "This object is only valid for bidirectional - tunnel interfaces and it controls whether - that interface has LSP Wrap protectionenabled - on it or not."; - } - leaf enable { - type empty; - description - "Controls whether association type is - co-routed."; - } - } - - container association-parameters { - presence "Indicates a association-parameters node is"+ - " configured."; - description - "Association ID, Source IP Address, and Global - ID"; - leaf association-id { - type uint32 { - range "0..65535"; - } - mandatory true; - description "Association ID"; - } - leaf association-source-address { - type inet:ipv4-address-no-zone; - mandatory true; - description "Association Source IP Address"; - } - leaf association-is-global-id-configured { - type boolean; - description "Is Association Global ID Configured"; - } - leaf association-global-id { - type uint32 { - range "0..4294967295"; - } - description "Association Global ID"; - } - } - leaf enabled { - type empty; - description - "This object is only valid for tunnel - interfaces and it controls whether that - interface has bidirectional enabled on it or - not."; - } - } - - container admin-mode { - description - "Performs admin operations on the optical tunnel - interface"; - leaf deactivate-tunnel { - type empty; - description - "Performs signalling operation to deactivate - optical tunnel"; - } - } - - container switching { - description - "Specify tunnel LSPs switching capability - descriptor"; - - container transit { - presence "Indicates a transit node is configured."; - description - "Specify transit switching descriptor - parameters"; - leaf capability { - type Mpls-te-switching-cap; - mandatory true; - description "Switching capability"; - } - leaf encoding { - type Mpls-te-switching-encode; - description "LSP encoding"; - } - } - - container endpoint { - presence "Indicates a endpoint node is configured."; - description - "Specify end point switching descriptor - parameters"; - leaf capability { - type Mpls-te-switching-cap; - mandatory true; - description "Switching capability"; - } - leaf encoding { - type Mpls-te-switching-encode; - description "LSP encoding"; - } - } - } - - container pce { - description "PCE config"; - leaf enable { - type empty; - description "Always set to true"; - } - leaf delegation { - type empty; - description "Enable PCE Delegation"; - } - } - leaf path-protection { - type empty; - description "Specify MPLS tunnel to be path protected"; - } - uses FORWARD-CLASS; - uses TUNNEL-PATH-SELECTION; - uses AUTO-BANDWIDTH; - uses PRIORITY; - uses DESTINATION; - uses RECORD-ROUTE; - uses AFFINITY-MASK; - uses LOGGING; - uses BANDWIDTH; - uses AUTOROUTE; - uses POLICY-CLASSES; - uses PATH-SELECTION-METRIC; - uses NEW-STYLE-AFFINITY-TABLE; - uses SOFT-PREEMPTION; - uses FAST-REROUTE; - uses LOAD-SHARE; - uses SIGNALLED-NAME; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container transport-profile-tunnel { - description "MPLS-TP tunnel attributes"; - - container bfd { - description "Configure BFD parameters"; - - container min-interval { - description - "Hello interval, either in milli-seconds or in - micro-seconds"; - leaf interval-ms { - type uint32 { - range "3..5000"; - } - description "Hello interval in milli-seconds"; - } - leaf interval-us { - type uint32 { - range "3000..5000000"; - } - description "Hello interval in micro-seconds"; - } - } - - container min-interval-standby { - description - "Hello interval for standby transport profile - LSP, either in milli-seconds or in - micro-seconds"; - leaf interval-standby-ms { - type uint32 { - range "3..5000"; - } - description "Hello interval in milli-seconds"; - } - leaf interval-standby-us { - type uint32 { - range "3000..5000000"; - } - description "Hello interval in micro-seconds"; - } - } - leaf detection-multiplier { - type uint32 { - range "2..10"; - } - description "Detect multiplier"; - } - leaf enable { - type empty; - description "Configure BFD parameters"; - } - leaf multiplier-standby { - type uint32 { - range "2..10"; - } - description - "Detect multiplier for standby transport - profile LSP"; - } - } - - container working-lsp { - description "Working LSP"; - - container out-label { - presence "Indicates a out-label node is configured."; - description "Outgoing MPLS label of the working LSP"; - leaf label { - type uint32 { - range "16..1048575"; - } - description "MPLS label"; - } - leaf link { - type uint32 { - range "1..65535"; - } - mandatory true; - description - "Transport profile identifier of outgoing link"; - } - } - leaf in-label { - type uint32 { - range "16..4015"; - } - description "Incoming MPLS label of the working LSP"; - } - leaf lockout { - type empty; - description "Enable lockout of working LSP"; - } - leaf lsp-id { - type uint32 { - range "0..65535"; - } - default "0"; - description "LSP Identifier of the working LSP"; - } - } - - container destination { - description - "Node identifier and optional global identifier - and tunnel identifier at destination"; - leaf node-id { - type inet:ipv4-address-no-zone; - description "Node identifier in IPv4 address format"; - } - leaf global-id { - type uint32 { - range "1..65535"; - } - description "Numeric global identifier"; - } - leaf tunnel-id { - type uint32 { - range "0..65535"; - } - description "Numeric tunnel identifier"; - } - } - - container fault { - description "Fault management"; - - container protection-trigger { - description - "OAM events that trigger protection switching"; - leaf ldi { - type boolean; - description - "Enable protection switching due to LDI event"; - } - leaf ais { - type boolean; - description - "Enable protection switching due to AIS event"; - } - leaf lkr { - type boolean; - description - "Enable protection switching due to LKR event"; - } - } - leaf enable { - type empty; - description - "Enter transport profile tunnel fault - configuration"; - } - } - - container protect-lsp { - description "Protect LSP"; - - container out-label { - presence "Indicates a out-label node is configured."; - description "Outgoing MPLS label of the protect LSP"; - leaf label { - type uint32 { - range "16..1048575"; - } - description "MPLS label"; - } - leaf link { - type uint32 { - range "1..65535"; - } - mandatory true; - description - "Transport profile identifier of outgoing link"; - } - } - leaf in-label { - type uint32 { - range "16..4015"; - } - description "Incoming MPLS label of the protect LSP"; - } - leaf lockout { - type empty; - description "Enable lockout of protect LSP"; - } - leaf lsp-id { - type uint32 { - range "0..65535"; - } - default "1"; - description "LSP Identifier of the protect LSP"; - } - } - leaf source { - type inet:ipv4-address-no-zone; - description - "Transport profile node identifier in IPv4 - address format"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container mte-tunnel-attributes { - description "MPLS P2MP tunnel attributes"; - - container destination-leafs { - description "P2MP destination table"; - - list destination-leaf { - key "address"; - description "P2MP destination leaf"; - - container s2l-logging { - description "Log tunnel destination s2l messages"; - leaf s2l-reroute-messsage { - type empty; - description - "Log tunnel destination s2l rereoute messages"; - } - leaf s2l-insufficient-bw-messsage { - type empty; - description - "Log tunnel destination s2l insufficient BW - messages"; - } - leaf s2l-pcalc-failure-message { - type empty; - description - "Enable logging for destination s2l - path-calculation failures"; - } - leaf s2l-state-message { - type empty; - description - "Log tunnel destination s2l state messages"; - } - } - - container path-options { - description - "P2MP destination path-options attributes - table"; - - list path-option { - key "preference-level"; - description "P2MP destination path option"; - leaf preference-level { - type uint32 { - range "1..1000"; - } - description "Preference level for this path option"; - } - leaf path-type { - type Mpls-te-path-option; - description "The type of the path option"; - } - leaf path-id { - type uint32 { - range "1..65535"; - } - description - "The ID of the IP explicit path associated - with this option"; - } - leaf path-name { - type string; - description - "The name of the IP explicit path associated - with this option"; - } - leaf lockdown { - type Mpls-te-path-option-property; - description "Path option properties"; - } - leaf verbatim { - type Mpls-te-path-option-property; - description "Path option properties"; - } - } - } - leaf destination-disable { - type empty; - description "Disables P2MP destination"; - } - leaf destination { - type empty; - description "Always set to true"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "Address of P2MP destination"; - } - } - } - - container priority { - presence "Indicates a priority node is configured."; - description "P2MP tunnel setup and hold priorities"; - leaf setup-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Setup Priority"; - } - leaf hold-priority { - type uint32 { - range "0..7"; - } - mandatory true; - description "Hold Priority"; - } - } - - container new-style-affinities { - description - "P2MP tunnel new style affinity attributes table"; - - list new-style-affinity { - key "affinity-type affinity1 affinity2 affinity3"+ - " affinity4 affinity5 affinity6 affinity7 affinity8"+ - " affinity9 affinity10"; - description "Tunnel new style affinity attribute"; - leaf affinity-type { - type Mpls-te-tunnel-affinity; - description "The type of the affinity entry"; - } - leaf affinity1 { - type xr:Cisco-ios-xr-string; - description "The name of the first affinity"; - } - leaf affinity2 { - type xr:Cisco-ios-xr-string; - description "The name of the second affinity"; - } - leaf affinity3 { - type xr:Cisco-ios-xr-string; - description "The name of the third affinity"; - } - leaf affinity4 { - type xr:Cisco-ios-xr-string; - description "The name of the fourth affinity"; - } - leaf affinity5 { - type xr:Cisco-ios-xr-string; - description "The name of the fifth affinity"; - } - leaf affinity6 { - type xr:Cisco-ios-xr-string; - description "The name of the sixth affinity"; - } - leaf affinity7 { - type xr:Cisco-ios-xr-string; - description "The name of the seventh affinity"; - } - leaf affinity8 { - type xr:Cisco-ios-xr-string; - description "The name of the eighth affinity"; - } - leaf affinity9 { - type xr:Cisco-ios-xr-string; - description "The name of the nineth affinity"; - } - leaf affinity10 { - type xr:Cisco-ios-xr-string; - description "The name of the tenth affinity"; - } - } - } - - container bandwidth { - description "P2MP tunnel bandwidth requirement"; - leaf dste-type { - type Mpls-te-bandwidth-dste; - description "DSTE-standard flag"; - } - leaf class-or-pool-type { - type uint32 { - range "0..1"; - } - description "Class type for the bandwidth allocation"; - } - leaf bandwidth { - type uint32 { - range "0..4294967295"; - } - description - "The value of the bandwidth reserved by this - tunnel in kbps"; - } - } - - container affinity-mask { - description "P2MP tunnel affinity and mask"; - leaf affinity { - type xr:Hex-integer; - description "Affinity flags"; - } - leaf mask { - type xr:Hex-integer; - description "Affinity mask"; - } - } - leaf record-route { - type empty; - description "Record route used by individual P2MP S2L(s)"; - } - leaf signalled-name { - type string { - length "1..254"; - } - description - "The name of the P2MP tunnel to be included in - signalling messages"; - } - leaf path-selection-metric { - type Mpls-te-path-selection-metric; - description - "Path selection configuration for this specific - tunnel"; - } - leaf signalled-payload { - type xr:Hex-integer; - description "P2MP tunnel ipv6 signalled payload"; - } - leaf fast-reroute { - type empty; - description "Specify P2MP tunnel can be fast-rerouted"; - } - leaf impose-explicit-null { - type empty; - description "Impose an explicit null bellow the TE label"; - } - uses MPLS-MTE-TUNNEL-CFG-LOGGING; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a2:mib" { - - container mpls-te-mib { - description "MPLS TE MIB configuration"; - leaf cache-garbage-collect-timer { - type uint32 { - range "0..3600"; - } - units "second"; - default "1800"; - description - "Configure the cache garbage collector time for - the mib."; - } - uses CACHE-TIMER; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:mib" { - - container mpls-p2mp-mib { - description "MPLS P2MP MIB configuration"; - uses CACHE-TIMER; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:mib" { - - container mpls-te-ext-std-mib { - description "MPLS TE EXT STD MIB configuration"; - uses CACHE-TIMER; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:mib" { - - container mpls-te-ext-mib { - description "MPLS TE EXT MIB configuration"; - uses CACHE-TIMER; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:mib" { - - container mpls-frr-mib { - description "FRR MIB configuration"; - uses CACHE-TIMER; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container mpls-te-p2mp { - description - "CISCO-MPLS-TE-P2MP-STD-MIB notification - configuration"; - leaf up { - type empty; - description "Enable cmplsTeP2mpTunnelDestUp notification"; - } - leaf down { - type empty; - description "Enable cmplsTeP2mpTunnelDestDown notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container mpls-te { - description "MPLS-TE-STD-MIB notification configuration"; - - container cisco-extension { - description - "CISCO-MPLS-TE-STD-EXT-MIB notification - configuration"; - leaf preempt { - type empty; - description "Enable cmplsTunnelPreempt notification"; - } - leaf insufficient-bandwidth { - type empty; - description "Enable cmplsTunnelInsuffBW notification"; - } - leaf re-route-pending-clear { - type empty; - description - "Enable cmplsTunnelReRoutePendingClear - notification"; - } - leaf bringup-fail { - type empty; - description "Enable cmplsTunnelBringupFail notification"; - } - leaf re-route-pending { - type empty; - description - "Enable cmplsTunnelReRoutePending notification"; - } - } - leaf cisco { - type empty; - description - "Enable MPLS TE tunnel Cisco format (default - IETF) notification"; - } - leaf up { - type empty; - description "Enable mplsTunnelUp notification"; - } - leaf reoptimize { - type empty; - description "Enable mplsTunnelReoptimized notification"; - } - leaf reroute { - type empty; - description "Enable mplsTunnelRerouted notification"; - } - leaf down { - type empty; - description "Enable mplsTunnelDown notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a2:snmp/a2:notification" { - - container mpls-frr { - description "CISCO-IETF-FRR-MIB notification configuration"; - leaf unprotected { - type empty; - description "Enable cmplsFrrUnProtected notification"; - } - leaf enable { - type empty; - description "Enable cmplsFrrMIB notifications"; - } - leaf protected { - type empty; - description "Enable cmplsFrrProtected notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-datatypes.yang deleted file mode 100644 index 5943e67..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-datatypes.yang +++ /dev/null @@ -1,634 +0,0 @@ -module Cisco-IOS-XR-mpls-te-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-mpls-te-datatypes"; - - - prefix "mpls-te-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-tesrlg-exclude { - type enumeration { - enum mandatory { - value 1; - description "SRLG Mandatory Exclude"; - } - enum preferred { - value 2; - description "SRLG Preferred Exclude"; - } - enum weighted { - value 3; - description "SRLG Weighted Exclude"; - } - } - description "Mpls tesrlg exclude"; - } - typedef Mpls-te-affinity-value { - type enumeration { - enum hex-value { - value 1; - description "Affinity value in Hex number"; - } - enum bit-position { - value 2; - description "Affinity value by Bit-Position"; - } - } - description "Mpls te affinity value"; - } - typedef Destination-list-name-length { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Destination list name length"; - } - typedef Mpls-percent-range { - type uint32 { - range "0..100"; - } - description "Mpls percent range"; - } - typedef Sr-prepend { - type enumeration { - enum none-type { - value 0; - description "NoneType"; - } - enum next-label { - value 1; - description "Next Label"; - } - enum bgp-n-hop { - value 2; - description "BGP NHOP"; - } - } - description "Sr prepend"; - } - typedef Mpls-te-path-selection-tiebreaker { - type enumeration { - enum min-fill { - value 1; - description "Prefer the path with the least-utilized links"; - } - enum max-fill { - value 2; - description "Prefer the path with the most-utilized links"; - } - enum random { - value 3; - description "Prefer a path with links utilized randomly"; - } - } - description "Mpls te path selection tiebreaker"; - } - typedef Attribute-set-name-length { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Attribute set name length"; - } - typedef Mpls-te-otn-aps-protection { - type enumeration { - enum 1plus1-unidir-no-aps { - value 4; - description "1PLUS1 UNIDIR NO APS"; - } - enum 1plus1-unidir-aps { - value 8; - description "1PLUS1 UNIDIR APS"; - } - enum 1plus1-bdir-aps { - value 16; - description "1PLUS1 BIDIR APS"; - } - } - description "Mpls te otn aps protection"; - } - typedef Mpls-te-path-option-property { - type enumeration { - enum none { - value 0; - description "No property"; - } - enum lockdown { - value 1; - description "Path is not a canditate forreoptimization"; - } - enum verbatim { - value 4; - description - "Explicit path does not require topology - database"; - } - enum pce { - value 8; - description "Dynamic path found by PCE server"; - } - enum segment-routing { - value 16; - description "Segment Routing path"; - } - } - description "Mpls te path option property"; - } - typedef Mpls-te-path-option-xro { - type empty; - description "Defined as attribute-set"; - } - typedef Mpls-te-tunnel-affinity { - type enumeration { - enum include { - value 1; - description "Include Affinity"; - } - enum include-strict { - value 2; - description "Strictly Include Affinity"; - } - enum exclude { - value 3; - description "Exclude Affinity"; - } - enum exclude-all { - value 4; - description "Exclude All Affinities"; - } - enum ignore { - value 5; - description "Ignore Affinity"; - } - } - description "Mpls te tunnel affinity"; - } - typedef Mpls-te-switching-cap { - type enumeration { - enum psc1 { - value 1; - description "PSC1"; - } - enum lsc { - value 150; - description "LSC"; - } - enum fsc { - value 200; - description "FSC"; - } - } - description "Mpls te switching cap"; - } - typedef Mpls-te-otn-aps-protection-mode { - type enumeration { - enum revertive { - value 1; - description "Revertive"; - } - enum non-revertive { - value 2; - description "Non Revertive"; - } - } - description "Mpls te otn aps protection mode"; - } - typedef Mpls-te-bfd-session-down-action { - type enumeration { - enum re-setup { - value 1; - description "Tear down and resetup"; - } - } - description "Mpls te bfd session down action"; - } - typedef Mpls-te-log-frr-protection { - type enumeration { - enum frr-active-primary { - value 1; - description "Track only FRR active on primary LSP"; - } - enum backup { - value 256; - description "backup tunnel"; - } - enum frr-ready-primary { - value 512; - description "Track only FRR ready on primary LSP"; - } - enum primary { - value 513; - description "primary LSP"; - } - enum all { - value 769; - description "all"; - } - } - description "Mpls te log frr protection"; - } - typedef Mpls-te-autoroute-metric { - type enumeration { - enum relative { - value 1; - description "Relative"; - } - enum absolute { - value 2; - description "Absolute"; - } - enum constant { - value 3; - description "Constant"; - } - } - description "Mpls te autoroute metric"; - } - typedef Mpls-te-backup-bandwidth-pool { - type enumeration { - enum any-pool { - value 1; - description "Any Pool"; - } - enum global-pool { - value 2; - description "Global Pool"; - } - enum sub-pool { - value 4; - description "Sub Pool"; - } - } - description "Mpls te backup bandwidth pool"; - } - typedef Mpls-te-otn-snc-mode { - type enumeration { - enum snc-n { - value 1; - description "SNC N"; - } - enum snc-i { - value 2; - description "SNC I"; - } - enum snc-s { - value 3; - description "SNC S"; - } - } - description "Mpls te otn snc mode"; - } - typedef Bfd-reverse-path { - type enumeration { - enum bfd-reverse-path-binding-label { - value 1; - description "BindingLabel"; - } - } - description "Bfd reverse path"; - } - typedef Mpls-te-path-selection-metric { - type enumeration { - enum igp { - value 1; - description "IGP Metric"; - } - enum te { - value 2; - description "TE Metric"; - } - enum delay { - value 4; - description "DELAY Metric"; - } - } - description "Mpls te path selection metric"; - } - typedef Mpls-te-path-option { - type enumeration { - enum not-set { - value 0; - description "Not Set"; - } - enum dynamic { - value 1; - description "Dynamic"; - } - enum explicit-name { - value 3; - description "Explicit, identified by name"; - } - enum explicit-number { - value 4; - description "Explicit, identified by number"; - } - enum no-ero { - value 5; - description "No ERO"; - } - enum sr { - value 6; - description "Segment routing"; - } - } - description "Mpls te path option"; - } - typedef Mpls-te-bandwidth-pool { - type enumeration { - enum any-pool { - value 0; - description "Any Pool"; - } - enum sub-pool { - value 1; - description "Sub Pool"; - } - } - description "Mpls te bandwidth pool"; - } - typedef Mpls-te-bandwidth-dste { - type enumeration { - enum standard-dste { - value 0; - description "IETF-Standard DSTE"; - } - enum pre-standard-dste { - value 1; - description "Pre-Standard DSTE"; - } - } - description "Mpls te bandwidth dste"; - } - typedef Mpls-te-path-selection-invalidation-timer-expire { - type enumeration { - enum tunnel-action-tear { - value 1; - description "Tear down tunnel."; - } - enum tunnel-action-drop { - value 2; - description "Drop tunnel traffic."; - } - } - description "Mpls te path selection invalidation timer expire"; - } - typedef Ctype { - type enumeration { - enum ctype-null { - value 0; - description "CTYPE NULL"; - } - enum ctype-ipv4 { - value 1; - description "CTYPE IPV4"; - } - enum ctype-ipv4-p2p-tunnel { - value 7; - description "CTYPE IPV4 P2P TUNNEL"; - } - enum ctype-ipv6-p2p-tunnel { - value 8; - description "CTYPE IPV6 P2P TUNNEL"; - } - enum ctype-ipv4-uni { - value 9; - description "CTYPE IPV4 UNI"; - } - enum ctype-ipv4-p2mp-tunnel { - value 13; - description "CTYPE IPV4 P2MP TUNNEL"; - } - enum ctype-ipv6-p2mp-tunnel { - value 14; - description "CTYPE IPV6 P2MP TUNNEL"; - } - } - description "Ctype"; - } - typedef Mpls-te-path-diversity-conformance { - type enumeration { - enum strict { - value 0; - description "Strict"; - } - enum best-effort { - value 1; - description "Best effort"; - } - } - description "Mpls te path diversity conformance"; - } - typedef Mpls-te-backup-bandwidth-class { - type enumeration { - enum class0 { - value 0; - description "Class 0"; - } - enum class1 { - value 1; - description "Class 1"; - } - enum any-class { - value 9; - description "Any Class"; - } - } - description "Mpls te backup bandwidth class"; - } - typedef Mpls-te-attr-set { - type enumeration { - enum not-used { - value 0; - description "Not used"; - } - enum static { - value 1; - description "Static"; - } - enum lsp { - value 2; - description "LSP"; - } - enum unassigned { - value 3; - description "Unassigned"; - } - enum auto-backup { - value 4; - description "Auto backup"; - } - enum auto-mesh { - value 5; - description "Auto mesh"; - } - enum xro { - value 6; - description "XRO"; - } - enum p2mp-te { - value 7; - description "P2MP TE"; - } - enum otn-pp { - value 8; - description "OTN Path Protection"; - } - enum p2p-te { - value 9; - description "P2P TE"; - } - } - description "Mpls te attr set"; - } - typedef Mpls-te-otn-aps-restoration-style { - type enumeration { - enum keep-failed-lsp { - value 1; - description "Keep Failed Lsp"; - } - enum delete-failed-lsp { - value 2; - description "Delete Failed Lsp"; - } - } - description "Mpls te otn aps restoration style"; - } - typedef Mpls-te-path-selection-segment-routing-adjacency-protection { - type enumeration { - enum not-set { - value 0; - description "Any segment can be used in a path."; - } - enum adj-unprotected { - value 1; - description - "Only unprotected adjacency segments can be used - in a path."; - } - enum adj-protected { - value 2; - description - "Only protected adjacency segments can be used - in a path."; - } - } - description - "Mpls te path selection segment routing adjacency - protection"; - } - typedef Mpls-te-path-option-protection { - type enumeration { - enum active { - value 0; - description "Active path"; - } - enum protecting { - value 1; - description "Protecting Path"; - } - } - description "Mpls te path option protection"; - } - typedef Mpls-te-sig-name-option { - type enumeration { - enum none { - value 0; - description "None"; - } - enum address { - value 1; - description "Address"; - } - enum name { - value 2; - description "Name"; - } - } - description "Mpls te sig name option"; - } - typedef Mpls-te-bandwidth-limit { - type enumeration { - enum unlimited { - value 64; - description "Unlimited"; - } - enum limited { - value 128; - description "Limited"; - } - } - description "Mpls te bandwidth limit"; - } - typedef Mesh-group-id { - type uint32 { - range "0..4294967295"; - } - description "Mesh group id"; - } - typedef Path-invalidation-action { - type enumeration { - enum tear { - value 1; - description "Tear"; - } - enum drop { - value 2; - description "Drop"; - } - } - description "Path invalidation action"; - } - typedef Mpls-te-igp-protocol { - type enumeration { - enum none { - value 0; - description "Not set"; - } - enum isis { - value 1; - description "IS IS"; - } - enum ospf { - value 2; - description "OSPF"; - } - } - description "Mpls te igp protocol"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub1.yang deleted file mode 100644 index f76c912..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub1.yang +++ /dev/null @@ -1,485 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-tp-tunnel-switchover-trig { - type enumeration { - enum none { - description "No Trigger"; - } - enum bfd { - description "Trigger is BFD"; - } - enum local-lockout { - description "Trigger is local lockout"; - } - enum remote-lockout { - description "Trigger is remote lockout"; - } - enum ais { - description "Trigger is AIS"; - } - enum ldi { - description "Trigger is LDI"; - } - enum lkr { - description "Trigger is LKR"; - } - enum link-down { - description "Trigger is due to link down event"; - } - } - description "Transport profile protection switchover triggers"; - } - typedef Mpls-tp-tunnel-active-lsp { - type enumeration { - enum working { - description "Working LSP"; - } - enum protect { - description "Protect LSP"; - } - enum none { - description "Neither working nor protection LSP is active"; - } - } - description "Transport profile tunnel active LSP"; - } - typedef Mpls-tp-lsp-bfd-state { - type enumeration { - enum down { - description "BFD down"; - } - enum up { - description "BFD up"; - } - } - description "Transport profile LSP BFD states"; - } - typedef Mpls-tp-lsp-oam-state { - type enumeration { - enum none { - description "No fault"; - } - enum ldi { - description "LDI"; - } - enum lkr { - description "LKR"; - } - enum ais { - description "AIS"; - } - } - description "Transport profile LSP OAM states"; - } - typedef Mpls-tp-lsp-state { - type enumeration { - enum down { - description "Down"; - } - enum up { - description "Up"; - } - enum active { - description "Up (active)"; - } - enum unknown { - description "Unknown"; - } - } - description "Transport profile LSP states"; - } - typedef Mpls-tp-tunnel-state { - type enumeration { - enum admin-down { - description "Tunnel is administratively down"; - } - enum admin-up { - description "Tunnel is administratively up"; - } - enum oper-up { - description "Tunnel is operationally up"; - } - enum oper-down { - description "Tunnel is operationally down"; - } - } - description "Transport profile tunnel states"; - } - - grouping MPLS-TE-TP-GLOBAL-INFO { - description "Transport profile global information"; - - container oam-protection-triggers { - description "OAM Protection Triggers"; - uses MPLS-TE-TP-OAM-PROT-TRIGGER; - } - leaf node-id { - type inet:ipv4-address; - description "Node ID"; - } - leaf global-id { - type uint32; - description "Global ID"; - } - leaf oam-refresh { - type uint32; - units "second"; - description "OAM refresh interval in seconds"; - } - leaf bfd-interval { - type uint32; - description "BFD interval"; - } - leaf bfd-interval-in-micro-sec { - type boolean; - description "Is global BFD interval in micro sec"; - } - leaf bfd-interval-standby { - type uint32; - description "BFD interval for standby LSPs"; - } - leaf bfd-interval-standby-in-micro-sec { - type boolean; - description - "Is global BFD interval for standby LSPs in micro - sec"; - } - leaf bfd-multiplier { - type uint32; - description "BFD multiplier"; - } - leaf bfd-multiplier-standby { - type uint32; - description "BFD multiplier for standby LSPs"; - } - leaf wait-to-restore-interval { - type uint32; - units "second"; - description - "Wait to restore interval for working LSP in - seconds"; - } - leaf alarm-suppression { - type boolean; - description "Tunnel/LSP alarm suppression"; - } - leaf soak-time { - type uint32; - units "second"; - description "Tunnel/LSP alarm soak time in seconds"; - } - } - - grouping MPLS-TE-TP-OAM-PROT-TRIGGER { - description "Transport profile tunnel OAM protection triggers"; - leaf ais { - type boolean; - description "Trigger due to AIS"; - } - leaf ldi { - type boolean; - description "Trigger due to LDI"; - } - leaf lkr { - type boolean; - description "Trigger due to LKR"; - } - } - - grouping MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO { - description - "Transport profile LSP end-point detail - information"; - - container brief-information { - description "Brief LSP information"; - uses MPLS-TE-TP-TUNNEL-LSP-INFO; - } - leaf oam-refresh-interval { - type uint32; - description "OAM refresh interval"; - } - leaf tp-out-label { - type uint32; - description "Outgoing label"; - } - leaf link-id { - type uint32; - description "Transport Profile Link Identifier"; - } - leaf out-interface-name { - type string; - description "Outgoing interface name"; - } - leaf out-next-hop { - type inet:ipv4-address; - description "Outgoing next hop in IPv4 address format"; - } - leaf in-label { - type uint32; - description "Incoming label"; - } - leaf reserved-bandwidth { - type uint32; - units "kbit/s"; - description "Reserved Bandwidth in Kbps"; - } - } - - grouping MPLS-TE-TP-TUNNEL-LSP-INFO { - description "Transport profile LSP end-point information"; - leaf lsp-id { - type uint32; - description "LSP identifier"; - } - leaf state { - type Mpls-tp-lsp-state; - description "LSP state"; - } - leaf lock-out { - type boolean; - description "Lock out"; - } - leaf rx-oam-state { - type Mpls-tp-lsp-oam-state; - description "Received fault OAM state"; - } - leaf tx-oam-state { - type Mpls-tp-lsp-oam-state; - description "Transmitted fault OAM state"; - } - leaf bfd-state { - type Mpls-tp-lsp-bfd-state; - description "BFD state"; - } - } - - grouping MPLS-TE-TP-TUNNEL-INFO { - description "Transport profile tunnel Information"; - - container working-lsp { - description "Working LSP information"; - uses MPLS-TE-TP-TUNNEL-LSP-INFO; - } - - container protect-lsp { - description "Protect LSP information"; - uses MPLS-TE-TP-TUNNEL-LSP-INFO; - } - leaf tunnel-name { - type string; - description "Transport profile tunnel name"; - } - leaf source-tunnel-id { - type uint32; - description "Source tunnel identifier"; - } - leaf source-node-id { - type inet:ipv4-address; - description "Source node ID"; - } - leaf source-global-id { - type uint32; - description "Source global ID"; - } - leaf destination-node-id { - type inet:ipv4-address; - description "Destination node ID"; - } - leaf destination-global-id { - type uint32; - description "Destination global ID"; - } - leaf remote-tunnel-id { - type uint32; - description "Remote tunnel identifier"; - } - leaf admin-status { - type Mpls-tp-tunnel-state; - description "Tunnel admin status"; - } - leaf operation-status { - type Mpls-tp-tunnel-state; - description "Tunnel operational status"; - } - leaf active-lsp { - type Mpls-tp-tunnel-active-lsp; - description "Active LSP"; - } - } - - grouping MPLS-TE-TP-DETAIL-TUNNEL-INFO { - description "Transport profile detail tunnel information"; - - container tunnel { - description "Brief tunnel information"; - uses MPLS-TE-TP-TUNNEL-INFO; - } - - container working-lsp { - description "Working LSP information"; - uses MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO; - } - - container protect-lsp { - description "Protect LSP information"; - uses MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO; - } - - container oam-protection-triggers { - description "OAM Protection Triggers"; - uses MPLS-TE-TP-OAM-PROT-TRIGGER; - } - leaf req-bandwidth { - type uint32; - units "kbit/s"; - description "Requested tunnel bandwidth in Kbps"; - } - leaf oam-interval { - type uint32; - description "OAM Interval"; - } - leaf bfd-interval-active { - type uint32; - description "BFD interval for active LSP"; - } - leaf bfd-interval-active-in-micro-sec { - type boolean; - description "Is BFD interval for active LSP in micro sec"; - } - leaf bfd-multiplier-active { - type uint32; - description "BFD multiplier for active LSP"; - } - leaf bfd-interval-standby { - type uint32; - description "BFD interval for standby LSP"; - } - leaf bfd-interval-standby-in-micro-sec { - type boolean; - description "Is BFD interval for standby LSP in micro sec"; - } - leaf bfd-multiplier-standby { - type uint32; - description "BFD multiplier for standby LSP"; - } - leaf tunnel-up-time { - type uint32; - units "second"; - description "Time in seconds since tunnel went up"; - } - leaf switchover-trig { - type Mpls-tp-tunnel-switchover-trig; - description "Switchover trigger"; - } - leaf switch-over-time { - type uint32; - description "The time at which last switchover was triggered"; - } - } - - grouping MPLS-TE-TP-TUNNEL-SUMMARY { - description "Transport profile tunnel summary"; - leaf up-working-ls-ps { - type uint32; - description "Number of working LSPs that are in up state"; - } - leaf active-working-ls-ps { - type uint32; - description "Number of working LSPs that are active"; - } - leaf down-working-ls-ps { - type uint32; - description "Number of Working LSPs that are in down state"; - } - leaf locked-working-ls-ps { - type uint32; - description "Number of working LSPs that are locked out"; - } - leaf up-protect-ls-ps { - type uint32; - description "Number of protect LSPs that are in up state"; - } - leaf active-protect-ls-ps { - type uint32; - description "Number of protect LSPs that are active"; - } - leaf down-protect-ls-ps { - type uint32; - description "Number of protect LSPs that are in down state"; - } - leaf locked-protect-ls-ps { - type uint32; - description "Number of protect LSPs that are locked out"; - } - leaf up-tunnels { - type uint32; - description "Number of tunnels that are in up state"; - } - leaf down-tunnels { - type uint32; - description "Number of tunnels that are in down state"; - } - leaf admin-down-tunnels { - type uint32; - description - "Number of tunnels that are administratively down"; - } - leaf complete-fec-working-ls-ps { - type uint32; - description "Number of working LSPs with complete FEC"; - } - leaf complete-fec-protect-ls-ps { - type uint32; - description "Number of protect LSPs with complete FEC"; - } - leaf bfd-session-working-ls-ps { - type uint32; - description "Number of working LSPs with BFD session"; - } - leaf bfd-session-protect-ls-ps { - type uint32; - description "Number of protect LSPs with BFD session"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub2.yang deleted file mode 100644 index f14cffa..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub2.yang +++ /dev/null @@ -1,195 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub2 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tp-mid-lsp-status { - type enumeration { - enum up { - description "TP LSP Up"; - } - enum down { - description "TP LSP Down"; - } - } - description "Transport profile mid-point LSP states"; - } - - grouping MPLS-TP-MID-SUMMARY-INFO { - description - "Transport profile mid-point LSP summary - information"; - leaf mid-points { - type uint32; - description "Total number of mid points"; - } - leaf up-forward-ls-ps { - type uint32; - description "Total number of forward LSPs that are Up"; - } - leaf down-forward-ls-ps { - type uint32; - description "Total number of forward LSPs that are Down"; - } - leaf up-reverse-ls-ps { - type uint32; - description "Total number of reverse LSPs that are Up"; - } - leaf down-reverse-ls-ps { - type uint32; - description "Total number of reverse LSPs that are Down"; - } - } - - grouping MPLS-TP-MID-LSP-INFO { - description - "Transport profile mid-point LSP detailed - information"; - leaf out-label { - type uint32; - description "Outgoing label"; - } - leaf out-link { - type uint32; - description "Outgoing TP link ID"; - } - leaf oam-refresh-interval { - type uint32; - units "second"; - description "OAM Refresh time in seconds"; - } - leaf outgoing-interface { - type string; - description "Outgoing interface"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Outgoing next-hop in IPv4 address format"; - } - leaf in-label { - type uint32; - description "Incoming label"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Configured bandwidth in Kbps"; - } - } - - grouping MPLS-TP-MID-INFO { - description "Transport profile mid-point LSP information"; - leaf midpoint-name { - type string; - description "Mid Point Name"; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf source-node-id { - type inet:ipv4-address; - description "Source Node ID"; - } - leaf source-global-id { - type uint32; - description "Source Global ID"; - } - leaf source-tunnel-id { - type uint32; - description "Source Tunnel ID"; - } - leaf lsp-id { - type uint32; - description "LSP ID"; - } - leaf destination-node-id { - type inet:ipv4-address; - description "Destination Node ID"; - } - leaf destination-global-id { - type uint32; - description "Destination Global ID"; - } - leaf destination-tunnel-id { - type uint32; - description "Destination Tunnel ID"; - } - leaf forward-lsp-state { - type Tp-mid-lsp-status; - description "Forward LSP State"; - } - leaf reverse-lsp-state { - type Tp-mid-lsp-status; - description "Reverse LSP State"; - } - } - - grouping MPLS-TP-DETAIL-MID-INFO { - description - "Transport profile mid-point LSP detail - information"; - - container brief-lsp-information { - description "Brief LSP information"; - uses MPLS-TP-MID-INFO; - } - - container forward-lsp { - description "Forward LSP information"; - uses MPLS-TP-MID-LSP-INFO; - } - - container reverse-lsp { - description "Reverse LSP information"; - uses MPLS-TP-MID-LSP-INFO; - } - leaf forward-lsp-reserved-bandwidth { - type uint32; - units "kbit/s"; - description "Forward LSP reserved bandwidth in Kbps"; - } - leaf reverse-lsp-reserved-bandwidth { - type uint32; - units "kbit/s"; - description "Reverse LSP reserved bandwidth in Kbps"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub3.yang deleted file mode 100644 index 1484793..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub3.yang +++ /dev/null @@ -1,137 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub3 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tp-link-state { - type enumeration { - enum down { - description "TP link state is down"; - } - enum admin-down { - description "TP link state is administratively down"; - } - enum up { - description "TP link state is up"; - } - enum unknown { - description "TP link state is unknown"; - } - } - description "Transport profile link state"; - } - - grouping MPLS-TE-TP-LINK-INFO { - description "Transport profile link information"; - leaf link-id { - type uint32; - description "Transport profile link identifier"; - } - leaf interface { - type string; - description "Transport profile link interface name"; - } - leaf next-hop-address { - type inet:ipv4-address; - description - "Transport profile next-hop in IPv4 address - format"; - } - leaf link-state { - type Tp-link-state; - description "Link state"; - } - leaf available-bandwidth { - type uint64; - units "kbit/s"; - description "Available bandwidth in Kbps"; - } - } - - grouping MPLS-TE-TP-LINK-SUMMARY-INFO { - description "Transport profile link summary"; - leaf links { - type uint32; - description "Number of transport profile links"; - } - } - - grouping MPLS-TE-TP-DETAIL-LINK-INFO { - description "Transport profile link detail information"; - leaf link-id { - type uint32; - description "Transport profile link identifier"; - } - leaf interface { - type string; - description "Transport profile link interface name"; - } - leaf next-hop-address { - type inet:ipv4-address; - description - "Transport profile next-hop in IPv4 address - format"; - } - leaf link-state { - type Tp-link-state; - description "Link State"; - } - leaf ls-ps { - type uint32; - description "Number of TP LSPs on this TP link"; - } - leaf reserved-bandwidth { - type uint64; - units "kbit/s"; - description "Reserved bandwidth in Kbps"; - } - leaf available-bandwidth { - type uint64; - units "kbit/s"; - description "Available bandwidth in Kbps"; - } - leaf unsupported-linecard { - type boolean; - description - "Link is hosted on a linecard that does not - support MPLS-TP"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub4.yang deleted file mode 100644 index 89103c1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub4.yang +++ /dev/null @@ -1,934 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub4 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - include Cisco-IOS-XR-mpls-te-oper-sub6 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pce-tunnel-state { - type enumeration { - enum tunnel-state-none { - description "None"; - } - enum tunnel-state-admin-down { - description "AdminDown"; - } - enum tunnel-state-down { - description "Down"; - } - enum tunnel-state-up { - description "Up"; - } - } - description "PCE Tunnel State"; - } - typedef Pce-tun-path-state { - type enumeration { - enum state-none { - description "None"; - } - enum state-pending { - description "Request Pending"; - } - enum state-received-path { - description "Path Received"; - } - enum state-no-peer { - description "No peer to forward"; - } - enum state-pcep-down { - description "PCEP to the peer is down"; - } - enum state-received-no-path { - description "Path Received No Path"; - } - } - description "PCE Request State"; - } - typedef Pce-state { - type enumeration { - enum tcp-close { - description "TCP close"; - } - enum tcp-listen { - description "TCP listen"; - } - enum tcp-connect { - description "TCP connect"; - } - enum pcep-closed { - description "PCEP closed"; - } - enum pcep-opening { - description "PCEP opening"; - } - enum pcep-open { - description "PCEP open"; - } - } - description "PCE State"; - } - typedef Pce-lsp-autoroute-metric { - type enumeration { - enum none { - description "None"; - } - enum relative { - description "Relative"; - } - enum absolute { - description "Absolute"; - } - } - description "Autoroute Metric Type"; - } - typedef Pce-sr-sid { - type enumeration { - enum unknown-segment-id { - description "Unknown type"; - } - enum ipv4-node-segment-id { - description "IPv4 Node ID"; - } - enum ipv4-adjacency-segment-id { - description "IPv4 Adjacency ID"; - } - } - description "PCE SID type"; - } - typedef Pce-lsp-oper-state { - type enumeration { - enum down { - description "Down"; - } - enum up { - description "Up"; - } - enum active { - description "Active"; - } - enum going-down { - description "Going down"; - } - enum going-up { - description "Going Up"; - } - } - description "LSP Operational state"; - } - - grouping PCE-TUNNEL-BAG { - description "PCE Tunnel Summary Information"; - leaf source-address { - type inet:ipv4-address; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination Address"; - } - leaf is-curr-path-option-pce { - type boolean; - description "True if current path option is PCE based"; - } - leaf curr-path-option-index { - type uint32; - description "Path Option Index of the current path"; - } - leaf configured-pce-address { - type inet:ipv4-address; - description "Configured PCE Address"; - } - leaf sender-pce-address { - type inet:ipv4-address; - description "Sender PCE Address"; - } - leaf path-state { - type Pce-tun-path-state; - description "Path Request State"; - } - leaf tunnel-state { - type Pce-tunnel-state; - description "Tunnel State"; - } - leaf admin-weight { - type uint32; - description "Path metric"; - } - leaf hop-count { - type uint32; - description "Hop Count"; - } - } - - grouping PCE-NODE-BAG { - description "PCE Node Information"; - leaf router-id { - type inet:ipv4-address; - description "Router ID"; - } - leaf igp-area-id { - type uint32; - description "IGP Area number"; - } - leaf igp-area-format { - type Igp-ospf-area-format; - description "IGP Area Format"; - } - leaf pce-cost { - type uint32; - description "PCE cost"; - } - leaf node-id { - type inet:ipv4-address; - description "Node ID"; - } - leaf is-pce-border-node { - type boolean; - description "PCE border node"; - } - } - - grouping PCE-TOPOLOGY-GLOBAL-INFO-BAG { - description "PCE Topology Information"; - - list nodes { - description "Node information"; - uses PCE-NODE-BAG; - } - } - - grouping PCEERR-BAG { - description "PCE Error information"; - leaf pce-err-type { - type uint32; - description "PCE Error Type"; - } - leaf pce-err-value { - type uint32; - description "PCE Error Value"; - } - leaf has-open-object { - type boolean; - description "Has Open object"; - } - leaf openversion { - type uint32; - description "Open Version"; - } - leaf open-keepalive { - type uint32; - units "second"; - description "Open Keepalive (seconds)"; - } - leaf open-dead-time { - type uint32; - units "second"; - description "Open Deadtime (seconds)"; - } - leaf has-rp-object { - type boolean; - description "Has RP object"; - } - leaf rp-request-id { - type uint32; - description "RP request ID"; - } - } - - grouping PCE-PEER-IGP-BAG { - description "PCE IGP information"; - leaf igp-type { - type Igp-protocol; - description "Type"; - } - leaf igp-instance-id { - type string; - description "Instance ID"; - } - } - - grouping PCE-NEIGHBOR-BAG { - description "PCE Neighbor Information"; - - container last-tx-pce-err { - description "Last sent PCEErr"; - uses PCEERR-BAG; - } - - container last-rx-pce-err { - description "Last received PCEErr"; - uses PCEERR-BAG; - } - leaf error { - type string; - description "Error (for display only)"; - } - leaf pce-state { - type Pce-state; - description "PCE State"; - } - leaf precedence { - type uint32; - description "PCE Precedence"; - } - leaf stateful { - type boolean; - description "Stateful"; - } - leaf capability-update { - type boolean; - description "Update capability"; - } - leaf capability-instantiate { - type boolean; - description "Instantiation capability"; - } - leaf capability-segment-routing { - type boolean; - description "Segment Routing capability"; - } - leaf triggered-sync-capability { - type boolean; - description "Triggered Synchronization capability"; - } - leaf capability-db-version { - type boolean; - description "DB version capability"; - } - leaf delta-sync-capability { - type boolean; - description "Delta Synchronization capability"; - } - leaf pcep-up-time { - type uint32; - description "PCEP Up Time"; - } - leaf keepalives { - type uint32; - description "Keepalive count"; - } - leaf candidate { - type boolean; - description "Candidate"; - } - leaf statically-configured { - type boolean; - description "Statically Configured"; - } - leaf md5-enabled { - type boolean; - description "MD5 Authentication Enabled"; - } - leaf keychain-enabled { - type boolean; - description "Keychain based Authentication Enabled"; - } - leaf negotiated-keepalive { - type uint32; - description "Negotiated KA"; - } - leaf negotated-dead-time { - type uint32; - description "Negotiated DT"; - } - leaf pce-req-rx { - type uint32; - description "PCEReq Rx"; - } - leaf pce-req-tx { - type uint32; - description "PCEReq Tx"; - } - leaf pce-rep-rx { - type uint32; - description "PCERep Rx"; - } - leaf pce-rep-tx { - type uint32; - description "PCERep Tx"; - } - leaf pce-err-rx { - type uint32; - description "PCEErr Rx"; - } - leaf pce-err-tx { - type uint32; - description "PCEErr Tx"; - } - leaf pce-open-tx { - type uint32; - description "PCEOpen Tx"; - } - leaf pce-open-rx { - type uint32; - description "PCEOpen Rx"; - } - leaf pce-rpt-rx { - type uint32; - description "PCERpt Rx"; - } - leaf pce-rpt-tx { - type uint32; - description "PCERpt Tx"; - } - leaf pce-upd-rx { - type uint32; - description "PCEUpd Rx"; - } - leaf pce-upd-tx { - type uint32; - description "PCEUpd Tx"; - } - leaf pce-init-rx { - type uint32; - description "PCEInit Rx"; - } - leaf pce-init-tx { - type uint32; - description "PCEInit Tx"; - } - leaf pce-keepalive-tx { - type uint64; - description "PCE Keepalive Tx"; - } - leaf pce-keepalive-rx { - type uint64; - description "PCE Keepalive Rx"; - } - leaf req-reply-min { - type uint64; - description "Mininum reply time from peer in ms"; - } - leaf req-reply-max { - type uint64; - description "Maximum reply time from peer in ms"; - } - leaf req-reply-avg { - type uint64; - description "Average reply time from peer in ms"; - } - leaf request-timeouts { - type uint64; - description "Request timeout count"; - } - leaf local-sid { - type uint8; - description "Local PCEP session ID"; - } - leaf remote-sid { - type uint8; - description "Remote PCEP session ID"; - } - leaf min-keepalive-interval { - type uint8; - description "Minimum keepalive interval for the peer"; - } - leaf max-dead-interval { - type uint8; - description "Maximum dead interval for the peer"; - } - - list ig-ps { - description "IGPs"; - uses PCE-PEER-IGP-BAG; - } - } - - grouping PCE-IGP-STATS-BAG { - description "PCE IGP Stats"; - leaf abr-lookup-min { - type uint64; - description "ABR Lookup Min"; - } - leaf abr-lookup-max { - type uint64; - description "ABR Lookup Max"; - } - leaf abr-lookup-avg { - type uint64; - description "ABR Lookup Avg"; - } - leaf abr-lookup-timeout { - type uint64; - description "ABR Lookup Timeout"; - } - leaf abr-lookup-complete { - type uint64; - description "ABR Lookup Complete"; - } - } - - grouping PCE-STATS-BAG { - description "PCE Stats Information"; - - container igp-statistics { - description "IGP Statistics"; - uses PCE-IGP-STATS-BAG; - } - leaf neighbors { - type uint32; - description "Neighbor Count"; - } - leaf tunnels { - type uint32; - description "Tunnel Count"; - } - leaf pce-req-total { - type uint32; - description "Total number of PCEReq"; - } - leaf pce-req-pending { - type uint32; - description "Number of pending req"; - } - leaf pce-req-timed-out { - type uint32; - description "Number of timedout req"; - } - leaf max-file-descriptors { - type uint32; - description "Maximum number of TCP file descriptors used"; - } - leaf current-file-descriptors { - type uint32; - description "Number of TCP file descriptors currently in use"; - } - leaf current-pceq-length { - type uint32; - description "Current PCE queue length"; - } - leaf current-teq-length { - type uint32; - description "Current TE queue length"; - } - leaf max-pceq-length { - type uint32; - description "Max PCE queue length"; - } - leaf max-teq-length { - type uint32; - description "Max TE queue length"; - } - leaf-list maximum-in-queue-depth { - type uint32; - max-elements "3"; - description "Max Input Queue Depth"; - } - leaf-list average-in-queue-depth { - type uint32; - max-elements "3"; - description "Average Input Queue Depth"; - } - } - - grouping PCE-LSP-AUTOROUTE-BAG { - description "LSP Autoroute Information"; - leaf is-used { - type boolean; - description "Autoroute used flag"; - } - leaf announced { - type boolean; - description "Autoroute announced"; - } - leaf metric-type { - type Pce-lsp-autoroute-metric; - description "Metric Type"; - } - leaf metric { - type uint32; - description "Metric Value"; - } - leaf-list destination { - type inet:ipv4-address; - description "Destinations"; - } - } - - grouping PCE-LSP-METRIC-BAG { - description "PCE LSP Metric Object"; - leaf type { - type uint8; - description "Type"; - } - leaf cost { - type uint32; - description "Cost"; - } - } - - grouping PCE-LSP-LSPA-BAG { - description "PCE LSP Attributes Object"; - leaf is-used { - type boolean; - description "LSPA used flag"; - } - leaf exlude-any { - type uint32; - description "Exclude Any"; - } - leaf include-any { - type uint32; - description "Include Any"; - } - leaf include-all { - type uint32; - description "Include All"; - } - leaf setup { - type uint8; - description "Setup"; - } - leaf hold { - type uint8; - description "Hold"; - } - leaf lbit { - type boolean; - description "L flag"; - } - } - - grouping PCE-LSP-ROUTE-HOP-BAG { - description "PCE LSP Route Subobject"; - leaf subobj-type { - type uint8; - description "Route Subobject Type"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv4-prefix-len { - type uint32; - description "IPv4 Address Prefix Length"; - } - leaf strict { - type boolean; - description "Strict"; - } - leaf global { - type boolean; - description "Global"; - } - leaf mpls-label { - type uint32; - description "MPLS Label in case Segment ID type is MPLS"; - } - leaf segment-id-type { - type Pce-sr-sid; - description "Segment ID Type"; - } - leaf only-valid-mpls-label { - type boolean; - description - "If this flag is true, SID has only MPLS label - value. TC, S, and TTL fields are considered - invalid"; - } - leaf complete-mpls-label-entry { - type boolean; - description - "If this flag is true, all fields of MPLS labe - entry are valid"; - } - leaf missing-segment-id { - type boolean; - description - "If this flag is true, ERO subobject does not - have SegmentID"; - } - leaf missing-node-adjcency-id { - type boolean; - description - "If this flag is true, ERO subobject does not - have NodeAdjacencyID"; - } - leaf segment-id-exists { - type boolean; - description - "If this field is true, the bag contains - SegmentID value"; - } - leaf segment-id-value { - type uint32; - description - "Contains a SegmentID value in case SegmentID is - valid"; - } - leaf node-adjacency-id-exists { - type boolean; - description - "If this flag is true, the bag contains - NodeAdjacencyID information"; - } - leaf node-id { - type inet:ipv4-address; - description - "Address of the node corresponding the node - SegmentID"; - } - leaf local-address { - type inet:ipv4-address; - description - "Address of the local address corresponding the - adjacency SegmentID"; - } - leaf remote-address { - type inet:ipv4-address; - description - "Address of the remote address corresponding the - adjacency SegmentID"; - } - } - - grouping PCE-LSP-ROUTE-BAG { - description "PCE LSP Route Object)"; - leaf is-used { - type boolean; - description "Route Object used flag"; - } - leaf cost { - type uint32; - description "Cost"; - } - leaf-list address { - type inet:ipv4-address; - description "List of Addresses"; - } - - list subobject { - description "List of Route Subobjects"; - uses PCE-LSP-ROUTE-HOP-BAG; - } - } - - grouping PCE-LSP-PATH-BAG { - description "PCE LSP Path"; - - container ero { - description "Explicit Router Object"; - uses PCE-LSP-ROUTE-BAG; - } - - container lspa { - description "LSP Attributes Object"; - uses PCE-LSP-LSPA-BAG; - } - - container rro { - description "Reported Route Object"; - uses PCE-LSP-ROUTE-BAG; - } - leaf bw { - type uint32; - description "Bandwidth"; - } - leaf is-bw-used { - type boolean; - description "Bandwidth used flag"; - } - leaf reopt-bw { - type uint32; - description "Reoptimize bandwidth"; - } - leaf is-reopt-bw-used { - type boolean; - description "Reoptimize bandwidth used flag"; - } - leaf applied-bw { - type uint32; - description "Applied bandwidth"; - } - leaf is-applied-bw-used { - type boolean; - description "Applied bandwidth used flag"; - } - - list metric { - description "List of Metrics"; - uses PCE-LSP-METRIC-BAG; - } - } - - grouping PCE-LSP-IDENTIFIERS-BAG { - description "PCE LSP Identifiers TLV Information"; - leaf is-used { - type boolean; - description "LSP Identifier used flag"; - } - leaf sender { - type inet:ipv4-address; - description "Sender Address"; - } - leaf te-lsp-id { - type uint16; - description "TE LSP ID"; - } - leaf tunnel-id { - type uint16; - description "LSPO Tunnel ID"; - } - leaf ext-tunnel-id { - type uint32; - description "External Tunnel ID"; - } - } - - grouping PCE-LSP-PEER-BAG { - description "PCE LSP Peer"; - leaf node-identifier { - type string; - description "Peer Node Identifier"; - } - leaf address { - type inet:ipv4-address; - description "Peer Ip Address"; - } - } - - grouping PCE-LSP-BAG { - description "PCE LSP from LSP Database"; - - container creator { - description "Creator Peer of the LSP"; - uses PCE-LSP-PEER-BAG; - } - - container delegated { - description "Owner Peer of the LSP"; - uses PCE-LSP-PEER-BAG; - } - - container identifiers { - description "LSP Identifiers"; - uses PCE-LSP-IDENTIFIERS-BAG; - } - - container autoroute { - description "Auto Route"; - uses PCE-LSP-AUTOROUTE-BAG; - } - leaf source-address { - type inet:ipv4-address; - description "Source IP Address"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination IP Address"; - } - leaf symbolic-name-xr { - type string; - description "Symbolic Name"; - } - leaf session-internal-lsp-id { - type uint32; - description "Session internal ID"; - } - leaf stateful-request-parameter-id { - type uint32; - description "SRP ID"; - } - leaf request-queue-size { - type uint8; - description "Request queue size"; - } - leaf delegatable { - type boolean; - description "LSP delegatable"; - } - leaf operational { - type Pce-lsp-oper-state; - description "LSP operational status"; - } - leaf administrative { - type boolean; - description "LSP administrative status"; - } - leaf cleanup-timer-exp { - type int32; - description "Deprecated"; - } - leaf delegation-timer-exp { - type int32; - description "LSP delegation timer expiration in sec"; - } - leaf create { - type boolean; - description "LSPO create flag"; - } - leaf state-timer-exp { - type int32; - description "LSP state-timeout time expiration"; - } - leaf lspo-is-used { - type boolean; - description "LSP Object used flag"; - } - leaf forward-class-id { - type uint32; - description "Forward Class ID"; - } - leaf load-share { - type uint32; - description "Load share factor"; - } - leaf path-setup-type { - type uint8; - description "Path setup type"; - } - leaf binding-sid { - type uint32; - description "Binding SID"; - } - leaf-list backup-path { - type inet:ipv4-address; - description "Backup Path"; - } - - list paths { - description "Array of paths"; - uses PCE-LSP-PATH-BAG; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub5.yang deleted file mode 100644 index 0b3cf9b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub5.yang +++ /dev/null @@ -1,13273 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub5 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-te-oper-sub6 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tunnel-state-enum { - type enumeration { - enum tunnel-state-unknown { - description "No known state"; - } - enum new { - description "Tunnel is new"; - } - enum preempting { - description "Tunnel is being preempted"; - } - enum admitting { - description "Path being admitted"; - } - enum half-admitted { - description - "Path was admitted partially and was then - rejected"; - } - enum admitted { - description "Path is already admitted successfully"; - } - enum reservation-admitting { - description "Reservation being admitted"; - } - enum reservation-half-admitted { - description - "Reservation was admitted partially and was then - rejected"; - } - enum reservation-admitted { - description "Reservation is already admitted successfully"; - } - } - description "Types of tunnel admission states"; - } - typedef Bandwidth-state-enum { - type enumeration { - enum bandwidth-held { - description - "Bandwidth is held, is not guaranteed when it is - time to reserve"; - } - enum bandwidth-reserved { - description - "Bandwidth is reserved and can be used for - forwarding"; - } - enum bandwidth-unknown { - description "Bandwidth is unknown"; - } - } - description "Types of bandwidth states"; - } - typedef Bandwidth-accounting-collection { - type enumeration { - enum rsvp-te { - description "RSVP TE"; - } - enum segment-routing { - description "Segment Routing"; - } - } - description "Types of bandwidth accounting collection"; - } - typedef Bandwidth-type-enum { - type enumeration { - enum pool0 { - description "Bandwidth from the pool0"; - } - enum pool1 { - description "Pool1 bandwidth"; - } - enum unknown { - description "Unknown Bandwidth"; - } - } - description "Types of bandwidth pools"; - } - typedef Admission-policy { - type enumeration { - enum reject-all { - description "Deprecated"; - } - enum allow-all { - description "Deprecated"; - } - enum reject-huge { - description "Deprecated"; - } - enum allow-if-room { - description "Deprecated"; - } - } - description "Deprecated"; - } - typedef Signaling-agent-enum { - type enumeration { - enum no-signaling { - description "Deprecated - No signaling protocol configured"; - } - enum rsvp-signaling { - description "Deprecated - RSVP is the signaling protocol"; - } - } - description "Deprecated - Signaling Agent"; - } - typedef Resource-provider { - type enumeration { - enum resource-provider-none { - description "Unknown"; - } - enum packet-switch-capable { - description "Packet Switch Capable"; - } - enum time-division-multiplex { - description "TDM - SONET/SDH"; - } - enum lambda-switch-capable { - description "Lambda Switch Capable"; - } - enum fiber-switch-capable { - description "Fiber Switch Capable"; - } - enum g709odu-capable { - description "Resource provider of type G709-ODU"; - } - } - description "The resource provider type"; - } - typedef Link-direction-enum { - type enumeration { - enum link-direction-up-stream { - description "Upstream direction, Tail to Head"; - } - enum link-direction-down-stream { - description "Upstream direction, Head to Tail"; - } - enum link-direction-unknown { - description "Unknown direction"; - } - } - description "Link direction types"; - } - typedef Bandwidth-unit-enum { - type enumeration { - enum kilo-bits-per-second { - description "kilobits per second"; - } - enum kilo-bytes-per-second { - description "kilobytes per second"; - } - } - description "Types of bandwidth units"; - } - typedef Flooding-trigger { - type enumeration { - enum flooding-reason-unknown { - description "Not known what caused flooding"; - } - enum link-up { - description "TE link came Up"; - } - enum link-down { - description "TE link went Down"; - } - enum threshold-up { - description "Up threshold crossed in pool0"; - } - enum threshold-down { - description "Down threshold crossed in pool0"; - } - enum threshold-up-pool1 { - description "Up threshold crossed in pool1"; - } - enum threshold-down-pool1 { - description "Down threshold crossed in pool1"; - } - enum timer-expired { - description "Periodic timer expired"; - } - enum bandwidth-change { - description "Link BW changed"; - } - enum user { - description "User triggered flooding"; - } - enum rsvp-timeout { - description "RSVP timed out"; - } - enum rsvp-reconnect { - description "RSVP reconnected"; - } - enum te-exited { - description "TE-control process exited"; - } - enum srlg-change { - description "Link SRLG changed"; - } - enum hw-oor-green { - description "HW resources are green"; - } - enum hw-oor-yellow { - description "HW resources are yellow"; - } - enum hw-oor-red { - description "HW resources are red"; - } - enum hw-oor-recovery-duration-expired { - description - "HW Resources are back to normal and the - transition period is over"; - } - enum lsp-oor-green { - description "LSP resources are green"; - } - enum lsp-oor-yellow { - description "LSP resources are yellow"; - } - enum lsp-oor-red { - description "LSP resources are red"; - } - enum lsp-oor-recovery-duration-expired { - description - "LSP resources are back to normal and the - transition period is over"; - } - enum max-res-bandwidth-threshold-up { - description "Max reservable bandwidth up threshold crossed"; - } - enum max-res-bandwidth-threshold-down { - description - "Max reservable bandwidth down threshold crossed"; - } - } - description "Types of flooding triggers"; - } - typedef Te-auto-tun-exp-path-hop { - type enumeration { - enum ipv4-address-type { - description "IPv4 Address Type"; - } - enum mpls-label-type { - description "MPLS Label Type"; - } - enum ipv4-and-label-type { - description "IPv4 Address and MPLS Label Type"; - } - } - description "Auto tunnel hop type"; - } - typedef In-addr-ipv6 { - type inet:ipv6-address; - description "In addr ipv6"; - } - typedef Lsp-oor-state { - type enumeration { - enum lsp-oor-green { - description "LSP numbers are in normal state"; - } - enum lsp-oor-yellow { - description "LSP numbers exceed the minor threshold"; - } - enum lsp-oor-red { - description "LSP numbers exceed the major threshold"; - } - } - description "LSP OOR states"; - } - typedef Te-s2l-output-rw-explicit-null { - type enumeration { - enum tes2l-output-rw-exp-null { - value 0; - description "No explicit null imposed"; - } - enum tes2l-output-rw-exp-null-v4 { - value 1; - description "IPv4 explicit null imposed"; - } - enum tes2l-output-rw-exp-null-v6 { - value 2; - description "IPv6 explicit null imposed"; - } - } - description "Explicit-null type"; - } - typedef Mpls-te-tunnels-process-status { - type enumeration { - enum not-running { - description "MPLS TE process is not running"; - } - enum running { - description "MPLS TE process is running"; - } - enum not-registered-with-rsvp { - description "MPLS TE process has not registered with RSVP"; - } - } - description "Mpls te tunnels process status"; - } - typedef Mpls-te-frr-sharing { - type enumeration { - enum sharing-none { - description "No Fate Sharing"; - } - enum sharing-pri-oi-backup-oi-parent { - description - "Primary Sharing outgoing interface with the - Parent of the backup outgoing interface"; - } - enum sharing-pri-oi-parent-backup-oi { - description - "Primary Sharing Parent of the outgoing - interface with the backup outgoing interface"; - } - enum sharing-pri-oi-parent-backup-oi-parent { - description - "Primary Sharing Parent of the outgoing - interface with the Parent of the backup - outgoing interface"; - } - } - description "FRR sharing type"; - } - typedef Mpls-te-bw-limit { - type enumeration { - enum bandwidth-limited { - description "Bandwidth is limited"; - } - enum bandwidth-unlimited { - description "Bandwidth is unlimited"; - } - enum bandwidth-none { - description "Bandwidth is None"; - } - } - description "Bandwidth limit type"; - } - typedef Mpls-te-backup-usage { - type enumeration { - enum backup-not-protecting { - description "Backup is not protecting any LSP"; - } - enum backup-protecting { - description "Backup is protecting at least one LSP"; - } - } - description "FRR backup tunnel usage status"; - } - typedef Mpls-te-backup { - type enumeration { - enum backup-static { - description "Backup type is static"; - } - enum backup-auto { - description "Backup type is auto-tunnel"; - } - } - description "FRR backup tunnel type"; - } - typedef Mpls-te-backup-status { - type enumeration { - enum backup-none { - description "Backup not found"; - } - enum backup-unused { - description "Backup status undefined"; - } - enum backup-next-next-hop { - description - "Backup is next next hop safe (node protection)"; - } - enum backup-next-hop { - description "Backup is next hop safe (link protection)"; - } - enum backup-next-next-hop-srlg { - description - "Backup is next next hop and SRLG safe (node - protection)"; - } - enum backup-next-hop-srlg { - description - "Backup is next hop and SRLG safe (link - protection)"; - } - } - description "FRR backup status"; - } - typedef Te-sync-pending-reason { - type enumeration { - enum current-lspoos { - description "Current LSP OOS"; - } - enum reopt-lspoos { - description "Reopt LSP OOS"; - } - enum standby-lspoos { - description "Standby LSP OOS"; - } - enum standby-reopt-lspoos { - description "Standby Reopt LSP OOS"; - } - enum restore-lspoos { - description "Restore LSP OOS"; - } - enum invalid-sync-id { - description "Invalid internal ID"; - } - enum null-pointer { - description "Null pointer"; - } - enum pending-flag { - description "Pending flag set"; - } - enum del-from-act-flag { - description "Deleted by Active set"; - } - enum oos-from-act-flag { - description "OOS with Active set"; - } - enum unknown { - description "Unknown"; - } - } - description "Te sync pending reason"; - } - typedef Te-sync-not-ready-reason { - type enumeration { - enum idt-in-progress { - description "IDT in progress"; - } - enum standby-not-connected { - description "Standby not connected"; - } - enum collaborator-disconnected { - description "Collaborator disconnected"; - } - enum collaborator-timeout { - description "Collaborator timeout"; - } - enum unknown { - description "Unknown"; - } - } - description "Te sync not ready reason"; - } - typedef Te-sync-status-show { - type enumeration { - enum master-sync-status-show { - description "Master sync status information"; - } - enum slave-sync-status-show { - description "Slave sync status information"; - } - } - description "Te sync status show"; - } - typedef Mpls-te-dste-class-status { - type enumeration { - enum configured { - description "The TE class is explicitely configured"; - } - enum default { - description "The TE class is a default"; - } - enum unused { - description - "The TE class is unused due to a configuration - conflict"; - } - } - description "DSTE class status"; - } - typedef Te-proc-role { - type enumeration { - enum unknown { - description "Unknown"; - } - enum v1-active { - description "V1 Active"; - } - enum v2-active { - description "V2 Active"; - } - enum v1-standby { - description "V1 Standby"; - } - enum v2-standby { - description "V2 Standby"; - } - enum v1-active-post-big-bang { - description "V1 Active post big bang"; - } - enum v1-standby-post-big-bang { - description "V1 Standby post big bang"; - } - enum number-of-role { - description "Number of role"; - } - } - description "TE Process Role"; - } - typedef Te-acl { - type enumeration { - enum acl-type-unknown { - value 0; - description "Unknown type of ACL"; - } - enum acl-type-access-list { - value 1; - description "Access-list type of ACL"; - } - enum acl-type-prefix-list { - value 2; - description "Prefix-list type of ACL"; - } - enum acl-type-unregistered { - value 3; - description "ACL failed to register to ACL infra"; - } - } - description "Te acl"; - } - typedef Mpls-te-p2mp-timer { - type enumeration { - enum lmrib-restart { - value 0; - description "P2MP Local Multicast RIB restart"; - } - enum lmrib-recovery { - value 1; - description "P2MP LMRIB recovery"; - } - enum rsvp-restart { - value 2; - description "P2MP RSVP restart"; - } - enum lsd-restart { - value 3; - description "LSD restart"; - } - enum lsd-recovery { - value 4; - description "LSD recovery"; - } - enum clear-in-progress-bandwidth { - value 5; - description - "Timer to clear the inprogress bandwidth for all - the nodes in the topology"; - } - enum rsi-restart { - value 6; - description "RSI restart"; - } - enum rsi-recovery { - value 7; - description "RSI recovery"; - } - enum ipv4-caps-replay { - value 8; - description - "Timer to timeout the replay of IPv4 Caps after - a TE or IM restart"; - } - enum retry-acl-registration-timer { - value 9; - description "Timer to retry ACL registration"; - } - enum mpls-te-exit { - value 10; - description "MPLS TE Exit"; - } - enum mpls-te-nsr-peer-restart { - value 11; - description "MPLS TE NSR Peer Restart"; - } - enum mpls-te-issu-peer-restart { - value 12; - description "MPLS TE ISSU Peer Restart"; - } - enum bfd-restart { - value 13; - description "BFD restart"; - } - enum bfd-recovery { - value 14; - description "BFD recovery"; - } - enum im-oc-restart { - value 15; - description "IM Optical Connection restart"; - } - enum im-oc-recovery { - value 16; - description "IM Optical Connection recovery"; - } - enum rib-restart { - value 17; - description "RIB restart"; - } - enum rib-recovery { - value 18; - description "RIB recovery"; - } - enum rib-next-hop-route-cleanup { - value 19; - description "RIB next-hop route cleanup"; - } - enum rsi-srlg-producer-retry { - value 20; - description "RSI SRLG-producer connection retry"; - } - enum eoc-reg-retry { - value 21; - description "End-of-Config registration retry"; - } - enum fib-restart { - value 22; - description "FIB restart"; - } - enum fib-recovery { - value 23; - description "FIB recovery"; - } - enum fib-next-hop-route-cleanup { - value 24; - description "FIB next-hop route cleanup"; - } - enum fib-next-hop-register-retry { - value 25; - description "FIB next-hop register retry"; - } - enum tun-backend-scan-retry { - value 26; - description "Tunnel Backend Scan Retry"; - } - enum tunnel-checkpoint-list-service { - value 27; - description "Tunnel Checkpoint list service"; - } - enum tunnel-service-binding-sid-allocation-retry { - value 28; - description "Tunnel Service Binding SID Allocation Retry"; - } - enum timer-not-used { - value 29; - description "Do not use"; - } - } - description "P2MP timer types"; - } - typedef Mpls-te-afi { - type enumeration { - enum ipv4-unicast { - description "MPLS TE IPv4 unicast"; - } - enum ipv4-multicast { - description "MPLS TE IPv4 multicast"; - } - enum ipv6-unicast { - description "MPLS TE IPv6 unicast"; - } - enum ipv6-multicast { - description "MPLS TE IPv6 multicast"; - } - } - description "Mpls te afi"; - } - typedef Mpls-te-tunnel-announce { - type enumeration { - enum announce-type-not-set { - description "Tunnel announcement type not set"; - } - enum autoroute { - description "Autoroute-announced tunnel"; - } - enum forward-adjacency { - description "Forwarding-adjacency tunnel"; - } - } - description "Type of TE tunnel announcement to IGP"; - } - typedef Te-target-addr { - type enumeration { - enum invalid-te-target-type { - description "Invalid TE Target Type"; - } - enum te-target-type-ipv4 { - description "TE Target IPv4 Type"; - } - enum te-target-type-label { - description "TE Target Label Type"; - } - } - description "TE Target Address Type"; - } - typedef Flex-lsp-lockout-origination { - type enumeration { - enum lockout-origination-none { - description "Flex LSP Lockout Origination None"; - } - enum lockout-origination-local { - description "Flex LSP Lockout Originated From Local"; - } - enum lockout-origination-remote { - description "Flex LSP Lockout Originated From Remote"; - } - } - description "TE Flex LSP Lockout Origination"; - } - typedef Te-rev-ero-reject-reasons { - type enumeration { - enum none { - description "None"; - } - enum bad-reverse-ero { - description "Bad Reverse ERO"; - } - enum tie-rejected { - description "Tie Rejected"; - } - enum standby-not-required { - description "Standby Not Required"; - } - enum admin-state { - description "Admin State"; - } - enum priority { - description "Priority"; - } - enum class-type { - description "Class Type"; - } - enum bad-association { - description "Bad Associated Tunnel"; - } - } - description "TE Reverse ERO Reject Reasons"; - } - typedef Mte-path-option { - type enumeration { - enum none { - description "No Path Option type"; - } - enum dynamic { - description "Dynamic Path Option type"; - } - enum explicit { - description "Explicit Path Option type"; - } - enum no-ero { - description "No ERO Path Option type"; - } - enum segment-routing { - description "One SID SegmentRouting Path Option type"; - } - enum po-count { - description "Number of Path option types"; - } - } - description "Path Option Type"; - } - typedef Mpls-te-mgmt-gmpls-label-origin { - type enumeration { - enum not-set { - description "Not set"; - } - enum uni-c { - description "UNI C"; - } - enum uni-n { - description "UNI N"; - } - } - description "GMPLS label source"; - } - typedef Mpls-te-tunnel-state { - type enumeration { - enum state-down { - description "Tunnel state is down"; - } - enum state-up { - description "Tunnel state is up"; - } - enum state-down-policy { - description - "Tunnel state is down as it has been deactivated - administratively"; - } - enum state-lockout { - description "Tunnel state is lockout"; - } - } - description "Tunnel state"; - } - typedef Mpls-te-soft-preemption-resolution { - type enumeration { - enum soft-preemption-resolution-none { - value 0; - description "No Soft Preemption Resolution"; - } - enum soft-preemption-resolution-pending { - value 1; - description - "Soft Preemption has no resolution since it is - still pending"; - } - enum soft-preemption-resolution-reopt-completed { - value 2; - description "The soft preempted LSP has been reoptimized"; - } - enum soft-preemption-resolution-teardown { - value 3; - description "The soft preempted LSP has been torn"; - } - enum soft-preemption-resolution-frr-triggered { - value 4; - description "The soft preempted LSP has been fast rerouted"; - } - enum soft-preemption-resolution-path-protetion-switchover { - value 5; - description - "The soft preempted LSP was switched with the - protection LSP"; - } - } - description "The possible ways for soft preemption to end"; - } - typedef Mpls-te-iep-hop { - type enumeration { - enum iep-hop-type-unknown { - description "Unknown IEP hop type"; - } - enum iep-hop-type-strict-next { - description "Strict next IEP hop type"; - } - enum iep-hop-type-exclude { - description "Exclude IEP hop type"; - } - enum iep-hop-type-exclude-node { - description "Exclude Node IEP hop type"; - } - enum iep-hop-type-exclude-srlg { - description "Exclude SRLG IEP hop type"; - } - enum iep-hop-type-loose-next { - description "Loose next IEP hop type"; - } - enum iep-hop-type-next { - description "Next IEP hop type"; - } - enum iep-hop-type-share-srlg { - description "Weighted SRLG IEP hop type"; - } - } - description "Explicit path hop type"; - } - typedef Mpls-te-pce-fail-reasons { - type enumeration { - enum te-pce-fail-no-reason { - description "No reason"; - } - enum te-pce-fail-no-pce { - description "No PCE to send request"; - } - enum te-pce-fail-sub-pool { - description "Sub pool bandwidth tunnel"; - } - enum te-pce-fail-intra-area { - description "Intra Area Tunnel"; - } - enum te-pce-fail-gmpls { - description "GMPLS Tunnel"; - } - enum te-pce-fail-pending { - description "Pending request"; - } - enum te-pce-fail-oor { - description "OOR condition"; - } - enum te-pce-fail-bidirectional { - description "Bi directional"; - } - enum te-pce-fail-no-path { - description "No Path received from PCE"; - } - enum te-pce-fail-request-timeout { - description "Request Timeout"; - } - } - description "PCE failure reasons"; - } - typedef Te-autobw-app-rej { - type enumeration { - enum application-allowed { - description "Application allowed"; - } - enum auto-bw-disabled { - description "Auto-bw disabled"; - } - enum tunnel-is-down { - description "TunnelIsDown"; - } - enum tunnel-is-frr { - description "TunnelIsFRRActive"; - } - enum tunnel-is-backup { - description "TunnelIsBackup"; - } - enum tunnel-is-lock-down { - description "TunnelIsLockdown"; - } - } - description "Reason for auto-bandwidth application rejection"; - } - typedef Te-autobw-app-trigger { - type enumeration { - enum application-none { - description "No BW Application"; - } - enum application-periodic { - description "BW Application Periodic"; - } - enum application-manual { - description "BW Application Manual"; - } - enum application-overflow { - description "BW Application Overflow"; - } - enum application-underflow { - description "BW Application Underflow"; - } - } - description "Auto-bandwidth application trigger"; - } - typedef Te-hop-limit-ignore { - type enumeration { - enum ignore-unknown { - description "Ignore for an unknown reason"; - } - enum ignore-explicit { - description "Ignore due to explicit path option"; - } - enum ignore-pce { - description "Ignore due to PCE path option"; - } - } - description "Te hop limit ignore"; - } - typedef Mpls-te-metric-qualifier { - type enumeration { - enum metric-default { - description "Default metric"; - } - enum metric-global { - description "This metric was specified globally"; - } - enum metric-interface { - description - "This metric was specified on this particular - tunnel"; - } - } - description "Metric qualifier"; - } - typedef Te-path-selection-tiebreaker { - type enumeration { - enum min-fill { - value 1; - description "Min Fill"; - } - enum max-fill { - value 2; - description "Max Fill"; - } - enum random { - value 3; - description "Random"; - } - } - description "Path selection tiebreaker type"; - } - typedef Mpls-te-loadshare { - type enumeration { - enum loadshare-equal { - description "Equal load-sharing on this tunnel"; - } - enum loadshare-bandwidth-based { - description - "Loadshare inferred from bandwidth configuration"; - } - enum loadshare-configured { - description - "Loadshare determined from explicit - configuration"; - } - } - description "load-share type"; - } - typedef Te-destination-state { - type enumeration { - enum destination-disabled { - description "The destination is disabled in configuration"; - } - enum destination-down { - description "The destination is down"; - } - enum destination-up { - description "The destination is up"; - } - } - description "P2MP destination state"; - } - typedef Mpls-mte-tunnel-fail-reason { - type enumeration { - enum mtunnel-fail-reason-unapplicable { - description "None of the reasons below is valid"; - } - enum mtunnel-fail-reason-shutdown { - description "Tunnel interface is shutdown"; - } - enum mtunnel-fail-reason-no-destination { - description "No destination is configured"; - } - enum mtunnel-fail-reason-no-path-option { - description "No path option is configured"; - } - enum mtunnel-fail-reason-no-source { - description "No ip source address is configured"; - } - enum mtunnel-fail-reason-collaborator-disc { - description "Collaborator not connected"; - } - enum mtunnel-fail-reason-unmatched-class-type-priority { - description - "The class type and priority do not match any of - the TE-classes"; - } - enum mtunnel-fail-reason-invalid-bidir-cfg { - description - "Configured bidirectional, incomplete switching - capability config"; - } - enum mtunnel-fail-reason-po-switchover { - description - "Manual path-option switchover failed due to - destination(s) down"; - } - enum mtunnel-fail-reason-no-tunnel-id { - description "No tunnel-id is configured"; - } - enum mtunnel-fail-reason-no-link { - description "Tunnel's egress link doesn't exist"; - } - enum mtunnel-fail-reason-link-shutdown { - description "Tunnel's egress link is shut down"; - } - enum mtunnel-fail-reason-link-lmp-down { - description "LMP is down on the tunnel's egress link"; - } - enum mtunnel-fail-reason-source-destination-same { - description - "Tunnel source and destination addresses are the - same"; - } - enum mtunnel-fail-reason-otn-no-odu-level { - description "OTN tunnel does not have odu-level set"; - } - enum mtunnel-fail-reason-bidir-assoc-id-missing { - description - "Bidirectional is configured without Association - ID"; - } - enum mtunnel-fail-reason-bfdgal-on-unidirectional { - description - "BFD GAL mode is supported on bidirectional - tunnels only"; - } - enum mtunnel-fail-reason-destination-invalid { - description - "Termination is supported with unnumbered - destination only"; - } - enum mtunnel-fail-reason-termination-bandwidth-mismatch { - description - "Termination bandwidth should match signalled - bandwidth"; - } - enum mtunnel-fail-reason-termination-has-protection { - description "Termination supports only working path-option"; - } - enum "mtunnel-fail-reason-termination-has-invalid-src-dest"+ - "-ifindex" { - description - "Termination case must have source and - destination valid ifindex"; - } - } - description "Reason for tunnel being down"; - } - typedef Mte-tunnel-oper-state { - type enumeration { - enum tunnel-state-oper-unknown { - description "Tunnel is in unknown state"; - } - enum operational-down { - description "Tunnel is in operational down state"; - } - enum operational-up { - description "Tunnel is in operational up state"; - } - } - description "Tunnel operational state"; - } - typedef Mte-tunnel-admin-state { - type enumeration { - enum tunnel-state-admin-unknown { - description "Tunnel is in unknown state"; - } - enum admin-shutdown { - description "Tunnel is in admin shutdown state"; - } - enum admin-up { - description "Tunnel is in admin up state"; - } - } - description "Tunnel admin state"; - } - typedef Te-vif-bfd-encap-mode { - type enumeration { - enum ip { - description "BFD Encap Mode IP"; - } - enum gal { - description "BFD Encap Mode GAL"; - } - } - description "BFD Encap Mode"; - } - typedef Mpls-te-bfd-session-down-action1 { - type enumeration { - enum reopt { - value 0; - description "BFD session down action reoptimization"; - } - enum re-setup { - value 1; - description "BFD session down action tear down and resetup"; - } - } - description "BFD session down action"; - } - typedef Mte-reopt-trigger { - type enumeration { - enum no-trigger { - description "No trigger"; - } - enum timer-trigger { - description "Timer Trigger"; - } - enum bandwidth-change-trigger { - description "Bandwidth Change Trigger"; - } - enum auto-bandwidth-overflow-trigger { - description "Auto Bandwidth Overflow Trigger"; - } - enum auto-bandwidth-underflow-trigger { - description "Auto Bandwidth Underflow Trigger"; - } - enum auto-bandwidth-adjustment-trigger { - description "Auto Bandwidth Adjustment Trigger"; - } - enum metric-type-change-trigger { - description "Metric Type Change Trigger"; - } - enum user-trigger { - description "User Trigger"; - } - enum frr-trigger { - description "FRR Trigger"; - } - enum remerge-error-trigger { - description "Remerge Error Trigger"; - } - enum preferred-path-trigger { - description - "Reception of the preferred path exists path - error"; - } - enum preferred-tree-trigger { - description - "Reception of the preferred tree exists path - error"; - } - enum due-to-maximum-metric { - description - "Reoptimization triggered due to receiving an - LSA with MAX metric"; - } - enum path-option-switchover-trigger { - description "Path option switchover"; - } - enum path-protection-switchover-trigger { - description "Path Protection Switchover Trigger"; - } - enum iep-enable-reoptimization-trigger { - description "IEP Enable Reoptimization Trigger"; - } - enum affinity-path-verification-fail-trigger { - description "Affinity path verification failure trigger"; - } - enum cost-limit-path-verification-fail-trigger { - description "Cost limit path verification failure trigger"; - } - enum soft-preemption-trigger { - description "Soft preemption trigger"; - } - enum iep-changed { - description "Explicit path has changed"; - } - enum po-changed { - description "Path-option has changed"; - } - enum dest-changed { - description "Destination has changed"; - } - enum reopt-try-to-force-it { - description "Reoptimization with try-to-force-it option"; - } - enum topology-change-trigger { - description "Topology change trigger"; - } - enum reopt-link-up-event { - description "Topology link-up event trigger"; - } - enum bfd-session-down-trigger { - description "FRR enabled and BFD session down trigger"; - } - enum reverse-assoc-s2l-received-trigger { - description "Reverse associated S2L received trigger"; - } - enum gmpls-uni-multilayer-trigger { - description "Multilayer recovery for GMPLS-UNI"; - } - enum gmpls-uni-user-trigger { - description "User-triggered GMPLS-UNI reopt request"; - } - enum path-selection-tiebreaker-change-trigger { - description "Path Selection Tiebreaker Change Trigger"; - } - enum sr-egress-path-change-trigger { - description "Segment-Routing Egress Path Change Trigger"; - } - enum overload-bit-trigger { - description "Overload-bit set on current path"; - } - enum pce-trigger { - description "PCE Trigger"; - } - enum lockout-metric-trigger { - description - "Reoptimization triggered due to receiving an - LSA with Lockout metric"; - } - enum bfd-session-config-change-trigger { - description "BFD session configuration change"; - } - enum higher-priority-po-change-trigger { - description "Higher priority path option changed"; - } - enum sr-area-spf-support-change-trigger { - description - "Segment-Routing IGP Area SPF Support Change - Trigger"; - } - enum trigger-not-used { - description "Not used"; - } - } - description "Reoptimization trigger"; - } - typedef Mpls-te-reopt-decision-reason { - type enumeration { - enum decision-reason-none { - value 0; - description "No reason"; - } - enum not-superset { - value 1; - description - "Reopt LSP not signalled because it is not a - superset of the current LSP"; - } - enum superset { - value 2; - description - "Reopt LSP is signalled because it is a superset - of the current LSP"; - } - enum lsp-frr-active { - value 3; - description - "Reopt LSP is signalled because the current LSP - is in FRR"; - } - enum bandwidth-change { - value 4; - description - "Reopt LSP is signalled because there is a - bandwidth change"; - } - enum metric-type-change { - value 5; - description - "Reopt LSP is signalled because there is a - metric type change"; - } - enum better-path-option-indexes { - value 6; - description - "Reopt LSP is signalled because it has better - path option indexes than the current LSP"; - } - enum inter-area-preferred-path-exists { - value 7; - description - "Reopt LSP is signalled because an inter-area - preferred path exists"; - } - enum inter-area-preferred-tree-exists { - value 8; - description - "Reopt LSP is signalled because an inter-area - preferred tree exists"; - } - enum worse-path-option-indexes { - value 9; - description - "Reopt LSP is not signalled because it has worse - path option indexes than the current LSP"; - } - enum better-cumulative-metric { - value 10; - description - "Reopt LSP is signalled because it has better - path option indexes than the current LSP"; - } - enum worse-cumulative-metric { - value 11; - description - "Reopt LSP is not signalled because it has worse - cumulative metric than the current LSP"; - } - enum identical { - value 12; - description - "Reopt LSP is not signalled because it is - identical to the current LSP"; - } - enum no-s2-ls { - value 13; - description - "Reopt LSP is not signalled because it has no - S2Ls"; - } - enum no-current-lsp { - value 14; - description "Reopt LSP not signalled, no current LSP"; - } - enum user-path-option-switchover { - value 15; - description - "Reopt LSP signalled due to user requested - path-option switchover"; - } - enum better-hops { - value 16; - description - "Reopt LSP is signalled because it has more S2Ls - with less hops than the current LSP"; - } - enum worse-hops { - value 17; - description - "Reopt LSP is not signalled because it has less - S2Ls with less hops than the current LSP"; - } - enum pce-force { - value 18; - description - "PCE based reoptimization triggered by CLI with - force option than the current LSP"; - } - enum affinity-changed { - value 19; - description - "Reopt LSP is signalled because there is an - affinity change"; - } - enum cost-limit { - value 20; - description - "Reopt LSP is signalled because the path cost - limit is crossed"; - } - enum sig-timeout { - value 21; - description - "Re-opt LSP could not be signalled within - signalling timeout"; - } - enum not-superset-inst-timer-expired { - value 22; - description - "Re-opt LSP is not a superset when the install - timer expired"; - } - enum path-verifiction-failed { - value 23; - description "Re-opt LSP path verification failed"; - } - enum soft-preemption-recovery { - value 24; - description - "Re-opt LSP is signalled because of soft - preemption recovery"; - } - enum iep-changed { - value 25; - description - "Re-opt LSP is signalled because the inuse - explicit-path has changed"; - } - enum po-changed { - value 26; - description - "Re-opt LSP is signalled because the inuse - path-option has changed"; - } - enum dest-changed { - value 27; - description - "Re-opt LSP is signalled because the destination - has changed"; - } - enum better-igp-area { - value 28; - description - "Reopt LSP is signalled because its path was - calculated in a preferred IGP-area to the - current LSP"; - } - enum worse-igp-area { - value 29; - description - "Reopt LSP is not signalled because its path was - calculated in a worse IGP-area than the current - LSP"; - } - enum better-bandwidth-load-balancing { - value 30; - description - "Reopt LSP is signalled because it gives better - bandwidth load balancing than the current LSP"; - } - enum worse-bandwidth-load-balancing { - value 31; - description - "Reopt LSP is not signalled because it gives - worse bandwidth load balancing than the current - LSP"; - } - enum bfd-session-down { - value 32; - description - "Reopt LSP is signaled because BFD sesssion went - down"; - } - enum auto-pcc-reopt { - value 33; - description - "Re-opt LSP is signalled because it was - triggered by a PCE"; - } - enum sr-egress-path-changed { - value 34; - description - "Reopt LSP is signaled because the egress - path(s) changed"; - } - enum overload-bit-set { - value 35; - description - "Reopt LSP is signalled because the current LSP - uses an OL node"; - } - enum better-diversity { - value 36; - description - "Reopt LSP is signalled because it has better - diversity than the current LSP"; - } - enum worse-diversity { - value 37; - description - "Reopt LSP is not signalled because it has worse - diversity than the current lsp"; - } - enum bfd-session-type-changed { - value 38; - description - "Reopt LSP is signalled because BFD sesssion - tyep is changed"; - } - enum lsp-drop-mode { - value 39; - description - "Reopt LSP is signalled because current LSP is - in drop mode"; - } - enum strict-spf { - value 40; - description - "Reopt LSP is signalled because it uses strict - SPF while current doesn't"; - } - enum not-used { - value 41; - description "Not used, must be last entry"; - } - } - description "Reoptimization decision"; - } - typedef Mpls-te-lsp-wrap-state { - type enumeration { - enum lsp-wrap-not-ready { - description "LSP Wrap state is not ready"; - } - enum lsp-wrap-active { - description "LSP Wrap state is active"; - } - enum lsp-wrap-ready { - description "LSP Wrap state is ready"; - } - } - description "LSP Wrap state"; - } - typedef Te-sr-sid { - type enumeration { - enum srsid-not-set { - description "Type not set"; - } - enum srsid-node { - description "Segment-Routing Node"; - } - enum srsid-adj { - description "Segment-Routing Link"; - } - enum srsid-unknown { - description "Segment-Routing Unknown"; - } - } - description "Segment-Routing SID types"; - } - typedef Te-association-tie-role { - type enumeration { - enum none { - description "Association Role None"; - } - enum master { - description "Association Role Master"; - } - enum slave { - description "Association Role Slave"; - } - } - description "TE Association Tie Breaker Role"; - } - typedef Te-vif-bfd { - type enumeration { - enum bfd-disabled { - value 0; - description "BFD Fast Detect Not Enabled"; - } - enum bfd-enabled { - value 1; - description "Regular BFD Enabled"; - } - enum sbfd-enabled { - value 2; - description "SBFD Enabled"; - } - } - description "BFD Type"; - } - typedef Te-bfd-lsp-session-state { - type enumeration { - enum bfd-over-lsp-session-state-none { - value 0; - description "BFDOverLSP session state none"; - } - enum bfd-over-lsp-session-state-created { - value 1; - description "BFDOverLSP session state created"; - } - enum bfd-over-lsp-session-state-up { - value 2; - description "BFDOverLSP session state up"; - } - enum bfd-over-lsp-session-state-down { - value 3; - description "BFDOverLSP session state down"; - } - enum bfd-over-lsp-session-state-admin-down { - value 4; - description "BFDOverLSP session state admin down"; - } - enum bfd-over-lsp-session-state-deleted { - value 5; - description "BFDOverLSP sesssion state deleted"; - } - enum bfd-over-lsp-session-state-create-failed { - value 6; - description "BFDOverLSP session state create failed"; - } - } - description "TE BFDOverLSP Session State"; - } - typedef Gmpls-uni-mgmt-dwdm-cs { - type enumeration { - enum not-set { - description "Not Set"; - } - enum dwdm100g-hz { - description "100GHz"; - } - enum dwdm50g-hz { - description "50GHz"; - } - enum dwdm25g-hz { - description "25GHz"; - } - enum dwdm12g-hz { - description "12.5GHz"; - } - } - description "GMPLS-UNI DWDM channel spacings"; - } - typedef Gmpls-uni-mgmt-wdm-grid { - type enumeration { - enum not-set { - description "Not Set"; - } - enum dwdm { - description "DWDM"; - } - enum cwdm { - description "CWDM"; - } - } - description "GMPLS-UNI WDM grid"; - } - typedef Mpls-te-mgmt-gmpls-label { - type enumeration { - enum not-set { - description "Not Set"; - } - enum fixed-wdm { - description "Fixed-grid WDM"; - } - enum fixed-g709otn { - description "Fixed-size G709 OTN"; - } - } - description "GMPLS label type"; - } - typedef Mpls-te-soft-preemption-state { - type enumeration { - enum soft-preemption-not-pending { - description - "Soft Preemption has not been triggered and is - not pending"; - } - enum soft-preemption-pending { - description - "Soft Preemption has been triggered and is - pending"; - } - } - description "The possible states for soft preemption"; - } - typedef Mpls-te-tunnels-signaling-status { - type enumeration { - enum down { - description "The tunnel is down"; - } - enum recovering { - description "The tunnel is recovering"; - } - enum recovered { - description "The tunnel is recovered"; - } - enum connected { - description "The tunnel is connected"; - } - enum disabled { - description "The tunnel signalling is disabled"; - } - enum proceeding { - description "The tunnel signalling is proceeding"; - } - enum wait-bfd-session-up { - description "The tunnel is waiting for BFD session up"; - } - enum wait-sr-segment-path-up { - description "The tunnel is waiting for SR segment path"; - } - enum wait-local-label { - description "The tunnel is waiting for a local label"; - } - enum wait-local-label-rewrite { - description - "The tunnel is waiting for a local label rewrite"; - } - } - description "Tunnel signalling status"; - } - typedef Mpls-te-frr-state { - type enumeration { - enum frr-inactive { - description "FRR state is inactive"; - } - enum frr-active { - description "FRR state is active"; - } - enum frr-ready { - description "FRR state is ready"; - } - } - description "FRR state"; - } - typedef Te-controller-state { - type enumeration { - enum notready { - description "Controller not ready"; - } - enum admin-down { - description "Controller is admin down"; - } - enum down { - description "Controller is operationally down"; - } - enum shutdown { - description "Controller is shutdown"; - } - enum error-disabled { - description "Controller is disabled due to error"; - } - enum up { - description "Controller is operationally up"; - } - enum unknown { - description "Controller state unknown"; - } - } - description "Controller States"; - } - typedef Te-mgmt-generic-fspec { - type enumeration { - enum te-generic-fspec-type-g709otn { - description "TE G709 OTN FSpec type"; - } - } - description "TE generic FSpec types"; - } - typedef Te-mgmt-generic-tspec { - type enumeration { - enum te-generic-tspec-type-g709otn { - description "TE G709 OTN TSpec type"; - } - } - description "TE generic TSpec types"; - } - typedef Rsvp-mgmt-rro-subobj { - type enumeration { - enum ipv4rro-type { - value 1; - description "IPv4 RRO Type"; - } - enum label-rro-type { - value 3; - description "Label RRO Type"; - } - enum unnumbered-rro-type { - value 4; - description "Unnumbered RRO Type"; - } - enum srlg-rro-type { - value 34; - description "SRLG RRO Type"; - } - } - description "RSVP RRO Types"; - } - typedef Rsvp-mgmt-ero-subobj-status { - type enumeration { - enum rsvp-mgmt-ero-status-not-available { - value 0; - description "ERO is not available in topology"; - } - enum rsvp-mgmt-ero-status-available { - value 1; - description "ERO is available in topology"; - } - enum rsvp-mgmt-ero-status-bw-not-available { - value 2; - description "ERO doesn't have bw available in topology"; - } - } - description "RSVP ERO Status"; - } - typedef Rsvp-mgmt-ero-subobj { - type enumeration { - enum rsvp-mgmt-ero-type-ipv4 { - value 1; - description "IPv4 ERO Type"; - } - enum rsvp-mgmt-ero-type-un-num { - value 4; - description "Unnumbered ERO Type"; - } - } - description "RSVP ERO Types"; - } - typedef Mpls-te-metric { - type enumeration { - enum metric-not-set { - description "Metric type not set"; - } - enum metric-igp { - description "Metric for IGP routes"; - } - enum metric-te { - description "Metric for MPLS traffic engineering tunnels"; - } - enum metric-delay { - description "Delay Metric"; - } - } - description "Metric type"; - } - typedef Te-path-inval-action { - type enumeration { - enum none { - value 0; - description "TE path selection invalidation action none"; - } - enum tear { - value 1; - description "TE path selection invalidation action tear"; - } - enum drop { - value 2; - description "TE path selection invalidation action drop"; - } - } - description "Path selection invalidation action type"; - } - typedef Te-s2l-sr-path-selection { - type enumeration { - enum te-s2l-sr-path-selection-any { - value 0; - description - "TE S2L Segment-Routing Path Selection type Any"; - } - enum te-s2l-sr-path-selection-adj-unprotected { - value 1; - description - "TE S2L Segment-Routing Path Selection type - Adjacency Unprotected"; - } - enum te-s2l-sr-path-selection-adj-protected { - value 2; - description - "TE S2L Segment-Routing Path Selection type - Adjacency Protected"; - } - } - description "Segment-routing path selection type"; - } - typedef Te-bfd-reverse-path { - type enumeration { - enum bfd-reverse-path-none { - value 0; - description "BFD reverse path not enabled"; - } - enum bfd-reverse-path-binding-label { - value 1; - description "BFD reverse path binding label"; - } - } - description "BFD Reverse Path Type"; - } - typedef Te-pce-disjoint { - type enumeration { - enum none { - value 0; - description "PCE Disjoint Type none"; - } - enum link { - value 1; - description "PCE Disjoint Type link"; - } - enum node { - value 2; - description "PCE Disjoint Type node"; - } - enum srlg { - value 3; - description "PCE Disjoint Type srlg"; - } - } - description "PCE Disjoint Path type"; - } - typedef Tunnel-attribute-set { - type enumeration { - enum tunnel-attribute-set-none { - value 0; - description "No Tunnel AttributeSet configured"; - } - enum tunnel-attribute-set-static { - value 1; - description "Tunnel AttributeSet Type is Static"; - } - enum tunnel-attribute-set-path-option { - value 2; - description "Tunnel AttributeSet Type is Path Option"; - } - enum tunnel-attribute-set-not-used { - value 3; - description "None"; - } - enum tunnel-attribute-set-auto-backup { - value 4; - description "Tunnel AttributeSet Type is AutoBackup"; - } - enum tunnel-attribute-set-auto-mesh { - value 5; - description "Tunnel AttributeSet Type is AutoMesh"; - } - enum tunnel-attribute-set-xro { - value 6; - description "Tunnel AttributeSet Type is XRO"; - } - enum tunnel-attribute-set-p2mpte { - value 7; - description "Tunnel AttributeSet Type is P2MP TE"; - } - enum tunnel-attribute-aps-pp { - value 8; - description - "Tunnel AttributeSet Type is APS Path Protection"; - } - enum tunnel-attribute-set-p2p-te { - value 9; - description "Tunnel AttributeSet Type is P2P TE"; - } - } - description "Tunnel attribute set"; - } - typedef Mpls-te-pathoption { - type enumeration { - enum path-option-unknown { - description "Unknown Path Option"; - } - enum path-option-dynamic { - description "Dynamic Path Option"; - } - enum path-option-explicit-name { - description "Explicit name Path Option"; - } - enum path-option-explicit-id { - description "Explicit Identifier Path Option"; - } - enum path-option-pce { - description "PCE Path Option"; - } - enum path-option-no-ero { - description "No-ERO Path Option"; - } - enum path-option-segment-routing { - description "Segment-Routing Path Option"; - } - } - description "Path-option type"; - } - typedef Mpls-te-bw-pool { - type enumeration { - enum te-bandwidth-pool0 { - description "Bandwidth pool type is pool0"; - } - enum te-bandwidth-pool1 { - description "Bandwidth pool type is pool1"; - } - enum te-bandwidth-any-pool { - description "Bandwidth pool type is any pool"; - } - } - description "Bandwidth pool type"; - } - typedef Hw-oor-state { - type enumeration { - enum oor-green { - description "NPU resources are in normal state"; - } - enum oor-yellow { - description "NPU resources are in minor state"; - } - enum oor-red { - description "NPU resources are in Major state"; - } - } - description "NPU resources states"; - } - - grouping MPLS-LM-SOFT-PREEMPTION-LINK-INFO { - description "Soft Preemption Info per Link"; - leaf link-address { - type inet:ipv4-address; - description "The link's IPv4 address"; - } - leaf total-soft-preempted-bandwidth-bc0 { - type uint64; - description - "The total BC0 BW that is softly preempted: this - is the sum of bandwidth for all the LSPs that - were soft preempted"; - } - leaf total-soft-preempted-bandwidth-bc1 { - type uint64; - description - "The total BC1 BW that is softly preempted: this - is the sum of bandwidth for all the LSPs that - were soft preempted"; - } - leaf current-soft-preempted-bandwidth-bc0 { - type uint64; - description - "The current BC0 BW that is softly preempted: - this is the sum of bandwidth for the LSPs that - are soft preempted and have not been torn down - yet"; - } - leaf current-soft-preempted-bandwidth-bc1 { - type uint64; - description - "The current BC1 BW that is softly preempted: - this is the sum of bandwidth for the LSPs that - are soft preempted and have not been torn down - yet"; - } - leaf release-soft-preempted-bandwidth-bc0 { - type uint64; - description - "The total released BC0 BW that is softly - preempted: this is the sum of bandwidth for the - LSPs that are soft preempted and are torn down"; - } - leaf release-soft-preempted-bandwidth-bc1 { - type uint64; - description - "The total released BC1 BW that is softly - preempted: this is the sum of bandwidth for the - LSPs that are soft preempted and are torn down"; - } - leaf current-over-subscribed-bandwidth-bc0 { - type uint64; - description - "The BC0 bandwidth that is over subscribed on - this link: this is the difference between the - maximum available BC0 BW on the link and the sum - of the currently reserved BC0 bandwidth and the - currently soft preempted BC0 BW"; - } - leaf current-over-subscribed-bandwidth-bc1 { - type uint64; - description - "The BC1 bandwidth that is over subscribed on - this link: this is the difference between the - maximum available BC1 BW on the link and the sum - of the currently reserved BC1 bandwidth and the - currently soft preempted BC1 BW"; - } - - list current-soft-preemption-lsp { - description - "List of the soft preempted LSPs that are not yet - cleaned up"; - uses MPLS-LM-PREEMPTED-LSP; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-GLOBAL-INFO { - description "Global Soft Preemption Info"; - leaf is-configured { - type boolean; - description "Is global soft-preemption configured"; - } - leaf is-timeout-interval-configured { - type boolean; - description - "Is global soft-preemption timeout interval - configured"; - } - leaf timeout-interval { - type uint32; - description "Global soft-preemption timeout interval"; - } - } - - grouping MPLS-LM-ADMISSION-CONTROL-TUNNEL-INFO { - description "Information about a given admitted tunnel"; - leaf tunnel-name { - type string; - description "The admitted tunnel's name"; - } - leaf bandwidth-state { - type Bandwidth-state-enum; - description "The bandwidth state"; - } - leaf bandwidth-pool { - type Bandwidth-type-enum; - description "The bandwidth pool"; - } - leaf setup-priority { - type uint8; - description "The tunnel's setup priority"; - } - leaf hold-priority { - type uint8; - description "The tunnel's hold priority"; - } - leaf up-link-name { - type string; - description "The uplink's name for this tunnel"; - } - leaf down-link-name { - type string; - description "The downlink's name for this tunnel"; - } - leaf tunnel-state { - type Tunnel-state-enum; - description "The tunnel's state"; - } - leaf bandwidth { - type uint64; - description "The bandwidth used by this tunnel"; - } - leaf local-label { - type uint32; - description "The local label"; - } - leaf outgoing-label { - type uint32; - description "The outgoing label"; - } - leaf backup-interface { - type string; - description "The backup Interface"; - } - leaf is-rerouted { - type boolean; - description "TRUE if the tunnel is currently rerouted"; - } - } - - grouping MPLS-LM-ADMISSION-CONTROL-COMMON-INFO { - description "Global information about admitted tunnels"; - leaf is-role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - leaf total-tunnels { - type uint32; - description "Total p2p tunnels admitted"; - } - leaf total-p2mp-tunnels { - type uint32; - description "Total p2mp tunnels admitted"; - } - leaf selected-tunnels { - type uint32; - description "Number of tunnels selected"; - } - leaf bandwidth-units { - type Bandwidth-unit-enum; - description "Bandwidth units"; - } - } - - grouping MPLS-LM-INTERFACE-HW-OOR-INFO { - description - "Information about NPU Resources state for the - link"; - leaf hw-oor-state { - type Hw-oor-state; - description - "The NPU (Network Processor Unit) HW resource - state"; - } - leaf hw-oor-timestamp { - type uint32; - description "Timestamp when the OOR state last changed"; - } - leaf hw-o-or-green-recovery-time { - type uint32; - units "second"; - description - "Time Remaining in Green Recovery State (seconds)"; - } - - list hw-o-or-link-statistic { - max-elements "3"; - description "HW OOR statistics for the link"; - uses TE-HW-OOR-STATS; - } - } - - grouping MPLS-LM-INTERFACE-LOCKOUT-INFO { - description - "Information about flex LSP lockout info for the - link"; - leaf is-lockout { - type boolean; - description "True if link is locked out"; - } - leaf lockout-on-timestamp { - type uint32; - description "Timestamp when the lockout is set"; - } - leaf lockout-off-timestamp { - type uint32; - description "Timestamp when the lockout is cleared"; - } - } - - grouping MPLS-LM-INTERFACE-LINK-AREA-INFO { - description - "Information about an area to which the link - belongs"; - leaf area-id { - type string; - description "Area id"; - } - leaf neighbor-id { - type string; - description "The interface neighbor id"; - } - leaf neighbor-address { - type inet:ipv4-address; - description "The interface's neighbor's ip address"; - } - leaf is-neighbor-up { - type boolean; - description "TRUE if the neighbor is up"; - } - leaf igp-metric { - type uint32; - description "The link's IGP metric"; - } - } - - grouping MPLS-TE-DARKBW-SAMPLE-SR { - description - "Information about a single Segment Routing - bandwidth accounting sample"; - leaf timestamp { - type uint32; - units "second"; - description "Timestamp in seconds of this sample"; - } - leaf sr-rate { - type uint64; - units "kbit/s"; - description - "Segment Routing traffic rate measured in - Kilobits per second in this sample"; - } - } - - grouping MPLS-TE-DARKBW-HISTORY-SR { - description "Segment Routing Bandwidth accounting history"; - - list sr-active-interval-sample { - description - "Segment Routing samples in the current - application interval"; - uses MPLS-TE-DARKBW-SAMPLE-SR; - } - - list sr-previous-interval-sample { - description - "Segment Routing samples in the previous - application interval"; - uses MPLS-TE-DARKBW-SAMPLE-SR; - } - } - - grouping MPLS-TE-DARKBW-SAMPLE-RSVP { - description - "Information about a single RSVP-TE bandwidth - accounting sample"; - leaf timestamp { - type uint32; - units "second"; - description "Timestamp in seconds of this sample"; - } - leaf total-rate { - type uint64; - units "kbit/s"; - description - "Total traffic rate measured in Kilobits per - second in this sample"; - } - leaf rsvp-te-rate { - type uint64; - units "kbit/s"; - description - "RSVP-TE traffic rate measured in Kilobits per - second in this sample"; - } - leaf non-rsvp-te-rate { - type uint64; - units "kbit/s"; - description - "Non-RSVP-TE traffic rate measured in Kilobits - per second in this sample"; - } - } - - grouping MPLS-TE-DARKBW-HISTORY-RSVP { - description "RSVP-TE Bandwidth accounting history"; - - list rsvp-te-active-interval-sample { - description - "RSVP-TE samples in the current application - interval"; - uses MPLS-TE-DARKBW-SAMPLE-RSVP; - } - - list rsvp-te-previous-interval-sample { - description - "RSVP-TE samples in the previous application - interval"; - uses MPLS-TE-DARKBW-SAMPLE-RSVP; - } - } - - grouping MPLS-TE-DARKBW-BW-UTIL-SR { - description - "Information about Segment Routing bandwidth - utilization in bandwidth accounting"; - leaf sr-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Segment Routing bandwidth utilization measured - in kilobits per second"; - } - leaf sr-adjusted-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Adjusted Segment Routing bandwidth utilization - measured in kilobits per second"; - } - leaf sr-enforced-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Enforced Segment Routing bandwidth utilization - measured in kilobits per second"; - } - } - - grouping MPLS-TE-DARKBW-BW-UTIL-RSVP { - description - "Information about RSVP-TE bandwidth utilization - in bandwidth accounting"; - leaf total-link-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Total bandwidth utilization measured in kilobits - per second"; - } - leaf rsvp-te-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "RSVP-TE bandwidth utilization measured in - kilobits per second"; - } - leaf non-rsvp-te-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Non-RSVP-TE bandwidth utilization measured in - kilobits per second"; - } - leaf rsvp-te-adjusted-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Adjusted RSVP-TE bandwidth utilization measured - in kilobits per second"; - } - leaf rsvp-te-enforced-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Enforced RSVP-TE bandwidth utilization measured - in kilobits per second"; - } - } - - grouping MPLS-LM-DARKBW-LINK-COMMON-INFO { - description "Information for bandwidth accounting per link"; - - container rsvp-te-bandwidth-utilization { - description "RSVP-TE Bandwidth utilization information"; - uses MPLS-TE-DARKBW-BW-UTIL-RSVP; - } - - container sr-bandwidth-utilization { - description - "Segment Routing Bandwidth utilization - information"; - uses MPLS-TE-DARKBW-BW-UTIL-SR; - } - leaf is-bandwidth-account-enabled { - type boolean; - description "TRUE if bandwidth accounting is enabled"; - } - leaf application-enforced { - type boolean; - description - "TRUE if bandwidth accounting application is - enforced"; - } - leaf collection-type { - type Bandwidth-accounting-collection; - description - "The type of traffic collected for bandwidth - accounting"; - } - leaf sample-interval { - type uint32; - units "second"; - description - "Sampling interval in seconds for bandwidth - accounting stats"; - } - leaf sample-time-remaining { - type uint32; - units "second"; - description - "This value indicates the number of seconds until - the next sampling"; - } - leaf last-sample-collection-timestamp { - type uint32; - description "Timestamp for the last sample collection"; - } - leaf next-sample-collection { - type uint32; - description "Timestamp for the next sample collection"; - } - leaf application-interval { - type uint32; - units "second"; - description - "Application interval in seconds for bandwidth - accounting stats"; - } - leaf application-time-remaining { - type uint32; - units "second"; - description - "This value indicates the number of seconds until - the next application"; - } - leaf last-application-timestamp { - type uint32; - description "Timestamp for the last application"; - } - leaf next-application { - type uint32; - description "Timestamp for the next application"; - } - leaf adjustment-factor { - type uint32; - description - "This value indicates the adjustment factor - applied to measured non RSVP-TE bandwidth"; - } - leaf max-reservable-bandwidth-threshold-are-default { - type boolean; - description - "TRUE if the maximum reservable bandwidth - flooding thresholds are default"; - } - leaf up-threshold-max-reservable-bandwidth { - type uint8; - description - "The up threshold for flooding the maximum - reservable bandwidth"; - } - leaf down-threshold-max-reservable-bandwidth { - type uint8; - description - "The down threshold for flooding the maximum - reservable bandwidth"; - } - } - - grouping MPLS-LM-DARKBW-LINK-INFO { - description - "Detail information for bandwidth accounting per - link"; - - container bandwidth-account-common-info { - description "Common info for bandwidth accounting"; - uses MPLS-LM-DARKBW-LINK-COMMON-INFO; - } - - container rsvp-te-bandwidth-sample-history { - description "RSVP-TE Bandwidth samples history"; - uses MPLS-TE-DARKBW-HISTORY-RSVP; - } - - container sr-bandwidth-sample-history { - description "Segment Routing Bandwidth samples history"; - uses MPLS-TE-DARKBW-HISTORY-SR; - } - } - - grouping MPLS-LM-INTERFACE-LINK-INFO { - description "IGP and area information of a link"; - - container link-common { - description "The link's common info"; - uses MPLS-LM-COMMON-LINK-INFO; - } - - container bandwidth-account { - description "Bandwidth Account info"; - uses MPLS-LM-DARKBW-LINK-INFO; - } - - container hw-oor { - description - "The link's NPU OOR info. This field is NULL for - platforms that do not support HW-OOR - notifications"; - uses MPLS-LM-INTERFACE-HW-OOR-INFO; - } - leaf reason-not-flooded { - type string; - description - "Reason why link is not flooded - (area-independent)"; - } - leaf maximum-reservation-bandwidth-rdm { - type uint64; - description "The link's maximum reservable BW in RDM"; - } - leaf reservable-pool0-bandwidth-rdm { - type uint64; - description "The link's reservable pool0 BW in RDM"; - } - leaf reservable-pool1-bandwidth-rdm { - type uint64; - description "The link's reservable pool1 BW in RDM"; - } - leaf maximum-reservation-bandwidth-mam { - type uint64; - description "The link's maximum reservable BW in MAM"; - } - leaf reservable-pool0-bandwidth-mam { - type uint64; - description "The link's reservable pool0 BW in MAM"; - } - leaf reservable-pool1-bandwidth-mam { - type uint64; - description "The link's reservable pool1 BW in MAM"; - } - leaf link-attributes { - type uint32; - description "Deprecated"; - } - leaf is-attribute-incomplete { - type boolean; - description - "TRUE if one or more affinity definition(s) - is/are unknown"; - } - leaf is-name-based-attribute { - type boolean; - description - "TRUE, if name based attribute style is in effect"; - } - leaf te-metric { - type uint32; - description "The link's TE metric"; - } - leaf is-te-metric-valid { - type boolean; - description - "Flag to indicate whether the link's TE metric is - a valid value"; - } - list link-extended-attribute { - description "The link's extended attribute bit map"; - leaf entry { - type uint32; - } - } - list link-forwad-ref-value { - description "Reference bits for undefined affinity names"; - leaf entry { - type uint32; - } - } - - list affinity-map { - description "Affinity map array"; - uses MPLS-TE-AFFINITY-MAP-INFO; - } - - list areas { - description "Per-area data"; - uses MPLS-LM-INTERFACE-LINK-AREA-INFO; - } - - list lockout { - description "Flex LSP Lockout info"; - uses MPLS-LM-INTERFACE-LOCKOUT-INFO; - } - } - - grouping MPLS-LM-INTERFACE-COMMON-INFO { - description "Global info about links"; - leaf is-role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - leaf links { - type uint16; - description "The number of links"; - } - leaf maximum-links { - type uint16; - description "Maximum number of links supported"; - } - } - - grouping MPLS-LM-SUMMARY-DARKBW { - description "Summary information for bandwidth accounting"; - leaf is-bandwidth-account-enabled { - type boolean; - description "TRUE if bandwidth accounting is enabled"; - } - leaf sample-interval { - type uint32; - description "Sample interval for bandwidth accounting stats"; - } - leaf sample-time-remaining { - type uint32; - units "second"; - description - "This value indicates the number of seconds until - the next sample collection"; - } - leaf application-interval { - type uint32; - description - "Application interval for bandwidth accounting - stats"; - } - leaf application-time-remaining { - type uint32; - units "second"; - description - "This value indicates the number of seconds until - the next application"; - } - } - - grouping MPLS-LM-SUMMARY-AREA-INFO { - description "Summary information of an area"; - leaf area-id { - type string; - description "Area id"; - } - leaf protocol { - type Igp-protocol; - description "Protocol running over the area"; - } - leaf is-flooded { - type boolean; - description "TRUE if flooding occurred in this area"; - } - leaf is-periodic-flooding-on { - type boolean; - description "TRUE if periodic flooding is on"; - } - leaf periodic-flooding-interval { - type uint16; - units "second"; - description "Flooding period in seconds"; - } - leaf links-flooded { - type uint16; - description "Number of flooded links"; - } - leaf system-id { - type string; - description "IGP id of local node"; - } - leaf local-node-router-id { - type inet:ipv4-address; - description "Local router id"; - } - leaf igp-neighbors { - type uint16; - description "Number of IGP neighbors"; - } - } - - grouping MPLS-LM-SUMMARY-COMMON-INFO { - description "Summary information for all the areas"; - - container bandwidth-account-summary { - description "Bandwidth account summary"; - uses MPLS-LM-SUMMARY-DARKBW; - } - leaf is-role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - leaf links { - type uint16; - description "Total number of links"; - } - leaf maximum-links { - type uint16; - description "Maximum number of links supported"; - } - leaf is-flooding-enabled { - type boolean; - description "TRUE if flooding is enabled"; - } - - list areas-summary { - description "Summary info for the areas"; - uses MPLS-LM-SUMMARY-AREA-INFO; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR { - description - "Information about a single Segment Routing - bandwidth accounting sample"; - leaf timestamp-nanosec { - type uint64; - units "nanosecond"; - description "Timestamp in nano-seconds of this sample"; - } - leaf sr-rate { - type uint64; - units "kbit/s"; - description - "Segment Routing traffic rate measured in - Kilobits per second in this sample"; - } - leaf sr-packet-rate { - type uint64; - units "packet/s"; - description - "Segment Routing traffic rate measured in packets - per second in this sample"; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-SR { - description "Segment Routing bandwidth account history"; - - list sr-active-interval-sample { - description - "Segment Routing samples in the current - application interval"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR; - } - - list sr-previous-interval-sample { - description - "Segment Routing samples in the previous - application interval"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP { - description - "Information about a single RSVP-TE bandwidth - accounting sample"; - leaf timestamp-nanosec { - type uint64; - units "nanosecond"; - description "Timestamp in nano-seconds of this sample"; - } - leaf total-rate { - type uint64; - units "kbit/s"; - description - "Total traffic rate measured in Kilobits per - second in this sample"; - } - leaf total-packet-rate { - type uint64; - units "packet/s"; - description - "Total traffic rate measured in packets per - second in this sample"; - } - leaf rsvp-te-rate { - type uint64; - units "kbit/s"; - description - "RSVP-TE traffic rate measured in Kilobits per - second in this sample"; - } - leaf rsvp-te-packet-rate { - type uint64; - units "packet/s"; - description - "RSVP-TE traffic rate measured in packets per - second in this sample"; - } - leaf non-rsvp-te-rate { - type uint64; - units "kbit/s"; - description - "Non-RSVP-TE traffic rate measured in Kilobits - per second in this sample"; - } - leaf non-rsvp-te-packet-rate { - type uint64; - units "packet/s"; - description - "Non-RSVP-TE traffic rate measured in packets per - second in this sample"; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-RSVP { - description "RSVP-TE bandwidth account history"; - - list rsvp-te-active-interval-sample { - description - "RSVP-TE samples in the current application - interval"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP; - } - - list rsvp-te-previous-interval-sample { - description - "RSVP-TE samples in the previous application - interval"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-SR { - description - "Information about Segment Routing bandwidth - utilization in bandwidth accounting"; - leaf sr-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Segment Routing bandwidth utilization measured - in kilobits per second"; - } - leaf sr-adjusted-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Adjusted Segment Routing bandwidth utilization - measured in kilobits per second"; - } - leaf sr-enforced-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Enforced Segment Routing bandwidth utilization - measured in kilobits per second"; - } - } - - grouping MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-RSVP { - description - "Information about RSVP-TE bandwidth utilization - in bandwidth accounting"; - leaf total-link-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Total bandwidth utilization measured in kilobits - per second"; - } - leaf rsvp-te-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "RSVP-TE bandwidth utilization measured in - kilobits per second"; - } - leaf non-rsvp-te-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Non-RSVP-TE bandwidth utilization measured in - kilobits per second"; - } - leaf rsvp-te-adjusted-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Adjusted RSVP-TE bandwidth utilization measured - in kilobits per second"; - } - leaf rsvp-te-enforced-bandwidth-utilization { - type uint64; - units "kbit/s"; - description - "Enforced RSVP-TE bandwidth utilization measured - in kilobits per second"; - } - } - - grouping MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TELEMETRY-INFO { - description - "Telemetry information for bandwidth accounting - per link"; - - container rsvp-te-bandwidth-utilization { - description "RSVP-TE bandwidth utilization information"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-RSVP; - } - - container sr-bandwidth-utilization { - description - "Segment Routing bandwidth utilization - information"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-SR; - } - leaf is-bandwidth-account-enabled { - type boolean; - description "TRUE if bandwidth accounting is enabled"; - } - leaf application-enforced { - type boolean; - description "TRUE if application is enforced"; - } - leaf collection-type { - type Bandwidth-accounting-collection; - description - "The type of traffic collected for bandwidth - accounting"; - } - leaf sample-time-remaining-timestamp-nanosec { - type uint64; - units "nanosecond"; - description - "This value indicates the number of nano-seconds - until the next sampling"; - } - leaf last-sample-collection-timestamp-nanosec { - type uint64; - units "nanosecond"; - description - "Timestamp for the last sample collection in - nano-seconds"; - } - leaf next-sample-collection-nanosec { - type uint64; - units "nanosecond"; - description - "Timestamp for the next sample collection in - nano-seconds"; - } - leaf application-time-remaining-nanosec { - type uint64; - units "nanosecond"; - description - "This value indicates the number of nano-seconds - until the next application"; - } - leaf last-application-timestamp-nanosec { - type uint64; - units "nanosecond"; - description - "Timestamp for the last application in - nano-seconds"; - } - leaf next-application-timestamp-nanosec { - type uint64; - units "nanosecond"; - description - "Timestamp for the next application in - nano-seconds"; - } - leaf effective-maximum-reservable-bandwidth { - type uint64; - description "Maximum reservable bandwidth effective"; - } - } - - grouping MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TEL-DET-INFO { - description - "Detail telemetry bandwidth accounting information - per link"; - - container common-info { - description "Information for bandwidth accounting telemetry"; - uses MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TELEMETRY-INFO; - } - - container rsvp-te-sample-history { - description "History of bandwidth accounting RSVP-TE samples"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-RSVP; - } - - container sr-sample-history { - description - "History of bandwidth accounting Segment Routing - samples"; - uses MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-SR; - } - leaf link-id { - type string; - description "The link's ID"; - } - } - - grouping MPLS-LM-BW-LINK-BW-POOL-INFO { - description - "Information about the bandwidth of a given pool - and priority"; - leaf hold-priority { - type uint8; - description "The BW priority"; - } - leaf held-amount { - type uint32; - description "The held bandwidth"; - } - leaf total-held-amount { - type uint32; - description "The total held bandwidth"; - } - leaf locked-amount { - type uint32; - description "The locked bandwidth"; - } - leaf total-locked-amount { - type uint32; - description "The total locked bandwidth"; - } - } - - grouping MPLS-LM-BW-LINK-DIR-BW-INFO { - description "Information about the bandwidth of a given link."; - leaf bandwidth-direction { - type Link-direction-enum; - description "BW Direction"; - } - leaf is-admission-method-allocated-bandwidth { - type boolean; - description - "True if the link's admit method is based on - Allocated BW"; - } - leaf bandwidth-units { - type Bandwidth-unit-enum; - description "Bandwidth units"; - } - - list bandwidth-pool0 { - max-elements "8"; - description "Pool0 BW info for the different priority levels"; - uses MPLS-LM-BW-LINK-BW-POOL-INFO; - } - - list bandwidth-pool1 { - max-elements "8"; - description "Pool1 BW info for the different priority levels"; - uses MPLS-LM-BW-LINK-BW-POOL-INFO; - } - } - - grouping MPLS-LM-FLOODED-AREA { - description "Information for the flooded area"; - leaf flooded-area { - type string; - description "The flooded area information"; - } - } - - grouping MPLS-LM-LINK-FLAGS { - description "Link properties"; - leaf is-mpls-te-on { - type boolean; - description "Deprecated - TRUE if the link is a TE-Link"; - } - leaf signaling-agent { - type Signaling-agent-enum; - description "Deprecated - Signaling agent"; - } - leaf is-admin-up { - type boolean; - description "TRUE if the link is admin up"; - } - } - - grouping MPLS-LM-INTF-SWITCHING-CAP-INFO { - description - "Information about the Interface Switching - Capability Descriptor (IXCD)"; - leaf key { - type uint8; - description "The switching capability descriptor key"; - } - leaf switching-capability { - type uint8; - description "The switching capability"; - } - leaf encoding { - type uint8; - description "The link encoding type"; - } - } - - grouping MPLS-LM-COMMON-LINK-INFO { - description "Link information"; - - container link-flags { - description "The link's flags"; - uses MPLS-LM-LINK-FLAGS; - } - leaf link-id { - type string; - description "The link's id"; - } - leaf link-address { - type inet:ipv4-address; - description "The link's ip address"; - } - leaf is-unnumbered { - type boolean; - description "TRUE if the link is unnumbered"; - } - leaf has-protection { - type boolean; - description "TRUE if the link is protected"; - } - leaf capability { - type uint32; - description "The link's protection capability"; - } - leaf working-priority { - type uint32; - description "The link's working priority"; - } - leaf resource-provider { - type Resource-provider; - description "The link's resource provider"; - } - leaf is-resource-provider-installed { - type boolean; - description "TRUE if the resource provider is installed"; - } - leaf bandwidth-units { - type Bandwidth-unit-enum; - description "The bandwidth units"; - } - leaf physical-bandwidth { - type uint64; - description "The link's physical bandwidth"; - } - leaf bcm-id { - type uint16; - description "Bandwidth Constraints Model ID"; - } - leaf maximum-reservable-bandwidth { - type uint64; - description "The link's maximum reservable BW"; - } - leaf last-flooded-effective-maximum-reservable-bandwidth { - type uint64; - description "Last flooded max reservable bandwidth effective"; - } - leaf incoming-reservable-bandwidth-percentage { - type uint8; - description "Incoming reserved BW in %"; - } - leaf outgoing-reservable-bandwidth-percentage { - type uint8; - description "Outgoing reserved BW in %"; - } - leaf maximum-reservable-pool0-bandwidth { - type uint64; - description "The link's maximum reservable pool0 BW"; - } - leaf incoming-reservable-pool0-bandwidth-percentage { - type uint8; - description "Incoming reserved pool0 BW in %"; - } - leaf outgoing-reservable-pool0-bandwidth-percentage { - type uint8; - description "Outgoing reserved pool0 BW in %"; - } - leaf maximum-reservable-pool1-bandwidth { - type uint64; - description "The link's maximum reservable pool1 BW"; - } - leaf incoming-reservable-pool1-bandwidth-percentage { - type uint8; - description "Incoming reserved pool1 BW in %"; - } - leaf outgoing-reservable-pool1-bandwidth-percentage { - type uint8; - description "Outgoing reserved pool1 BW in %"; - } - leaf inbound-admission-method { - type Admission-policy; - description "Deprecated"; - } - leaf outbound-admission-method { - type Admission-policy; - description "Deprecated"; - } - leaf igp-neighbors { - type uint16; - description "The link's neighbor count"; - } - - list shared-risk-link-group { - description "The link's shared risk link groups"; - uses MPLS-SRLG-INFO; - } - - list interface-switching-capability-descriptor { - description "The link's switching capability descriptor"; - uses MPLS-LM-INTF-SWITCHING-CAP-INFO; - } - - list flooded-areas { - description "List of areas into which the link is flooded"; - uses MPLS-LM-FLOODED-AREA; - } - } - - grouping MPLS-LM-BW-ALLOC-LINK-INFO { - description "Bandwidth allocation information for a given link"; - - container link-common { - description "The link's common info"; - uses MPLS-LM-COMMON-LINK-INFO; - } - - container upstream-bandwidth { - description "BW info in the upstream direction"; - uses MPLS-LM-BW-LINK-DIR-BW-INFO; - } - - container downstream-bandwidth { - description "BW info in the dnstream direction"; - uses MPLS-LM-BW-LINK-DIR-BW-INFO; - } - leaf total-bandwidth-descriptors { - type uint16; - description "Number of total BW descriptors"; - } - leaf bandwidth-descriptors { - type uint16; - description "Number of BW descriptor for the given pool"; - } - leaf bandwidth-pool { - type Bandwidth-type-enum; - description "type of the BW pool"; - } - leaf flooding-up-thresholds-are-default { - type boolean; - description "TRUE if the up-threshold are default"; - } - leaf flooding-down-thresholds-are-default { - type boolean; - description "TRUE if the down-threshold are default"; - } - leaf flooding-up-thresholds-are-global { - type boolean; - description "TRUE if the up-threshold are global"; - } - leaf flooding-down-thresholds-are-global { - type boolean; - description "TRUE if the down-threshold are global"; - } - list flooding-up-threshold { - description "Flooding up-thresholds"; - leaf entry { - type uint8; - } - } - list flooding-down-threshold { - description "Flooding down-thresholds"; - leaf entry { - type uint8; - } - } - } - - grouping MPLS-LM-BW-ALLOC-COMMON-INFO { - description "Common information about bandwidth allocation"; - leaf is-role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - leaf links { - type uint16; - description "Number of links"; - } - leaf bandwidth-hold-time { - type uint16; - units "second"; - description "How long to hold the bandwidth (seconds)"; - } - } - - grouping MPLS-LM-STATS-LINK-INFO { - description "Statistics for a link"; - - container incoming-path-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container incoming-reservation-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container outgoing-path-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container outgoing-reservation-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container incoming-path-statistics32-bit { - description "Incoming PATH counters"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - - container incoming-reservation-statistics32-bit { - description "Incoming RESV counters"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - - container outgoing-path-statistics32-bit { - description "Outgoing PATH counters"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - - container outgoing-reservation-statistics32-bit { - description "Outgoing RESV counters"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - leaf interface-name-xr { - type string; - description "Link name"; - } - leaf link-address { - type inet:ipv4-address; - description "Link's ip address"; - } - } - - grouping MPLS-LM-STATS-COUNTERS-32-BIT { - description "Statistics for Setup and Tear processing (32 bit)"; - leaf setup-requests { - type uint32; - description "Setup requests"; - } - leaf setup-errors { - type uint32; - description "Setup errors"; - } - leaf setup-admits { - type uint32; - description "Setup admits"; - } - leaf setup-rejects { - type uint32; - description "Setup rejects"; - } - leaf tear-requests { - type uint32; - description "Tear requests"; - } - leaf tear-errors { - type uint32; - description "Tear errors"; - } - leaf tear-preempts { - type uint32; - description "Tear preempts"; - } - } - - grouping MPLS-LM-STATS-COUNTERS { - description - "DEPRECATED, use of mpls_lm_stats_counters_32_bit - recommended"; - leaf setup-requests { - type uint16; - description "Deprecated"; - } - leaf setup-errors { - type uint16; - description "Deprecated"; - } - leaf setup-admits { - type uint16; - description "Deprecated"; - } - leaf setup-rejects { - type uint16; - description "Deprecated"; - } - leaf tear-requests { - type uint16; - description "Deprecated"; - } - leaf tear-errors { - type uint16; - description "Deprecated"; - } - leaf tear-preempts { - type uint16; - description "Deprecated"; - } - } - - grouping MPLS-LM-STATS-SUMMARY-INFO { - description "Statistics for Path and Reservation processing"; - - container path-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container reservation-statistics { - description "Deprecated"; - uses MPLS-LM-STATS-COUNTERS; - } - - container path-statistics32-bit { - description "Path counters (32-bit)"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - - container reservation-statistics32-bit { - description "Reservation counters (32-bit)"; - uses MPLS-LM-STATS-COUNTERS-32-BIT; - } - leaf is-role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - } - - grouping MPLS-LM-ADV-LINK-RESV-BW { - description "Information about a link bandwidth"; - leaf priority { - type uint8; - description "The priority level of this bandwidth"; - } - leaf pool0-bandwidth { - type uint32; - description "The reservable pool0 BW at this priority"; - } - leaf pool1-bandwidth { - type uint32; - description "The reservable pool1 BW at this priority"; - } - } - - grouping MPLS-LM-ADV-FLOODED-LINK { - description "Information about a flooded link"; - - container odu-link-capabilities { - description "ODU Link Capabilities"; - uses ODU-LINK-CAPABILITIES; - } - leaf link-id { - type uint16; - description "The link's id"; - } - leaf interface-name { - type string; - description "The link's interface name"; - } - leaf link-address { - type inet:ipv4-address; - description "The link's IPv4 address"; - } - leaf subnet-type { - type Igp-subnet; - description "The link's subnet type"; - } - leaf outgoing-interface-id { - type uint32; - description "The link's outgoing interface's id"; - } - leaf is-designated-router { - type boolean; - description "TRUE if the link belongs to a desig. router"; - } - leaf designated-router-igp-id { - type string; - description "IGP id of the designated router"; - } - leaf neighbor-igp-id { - type string; - description "The neighbor's IGP id"; - } - leaf igp-neighbor-address { - type inet:ipv4-address; - description "The neighbor's ip address"; - } - leaf incoming-interface-id { - type uint32; - description "The link's incoming interface's id"; - } - leaf te-metric { - type uint32; - description "The link's TE metric"; - } - leaf igp-metric { - type uint32; - description "The link's IGP metric"; - } - leaf uni-link-delay { - type uint32; - description "Unidirectional Link Delay in micro-sec"; - } - leaf bandwidth-units { - type Bandwidth-unit-enum; - description "The link's bandwidth units"; - } - leaf physical-bandwidth { - type uint32; - description "The link's physical BW"; - } - leaf bcm-id { - type uint16; - description "Bandwidth Constraints Model ID"; - } - leaf link-maximum-reservable-bandwidth { - type uint32; - description "The link's maximum reservable BW"; - } - leaf reservable-pool0-bandwidth { - type uint32; - description "The link's reservable pool0 BW"; - } - leaf reservable-pool1-bandwidth { - type uint32; - description "The link's reservable pool1 BW"; - } - leaf is-receiving-reservable-bandwidth-enabled { - type boolean; - description "TRUE if receiving reservable BW is enabled"; - } - leaf receiving-direction { - type Link-direction-enum; - description "Upstream or Downstream"; - } - leaf is-transmitting-reservable-bandwidth-enabled { - type boolean; - description "TRUE if transmitting reservable BW is enabled"; - } - leaf transmitting-direction { - type Link-direction-enum; - description "Upstream or Downstream"; - } - leaf affinity-attribute-flags { - type uint32; - description "Deprecated"; - } - list extended-affinity-attribute-flag { - description "The link's extended affinity bits"; - leaf entry { - type uint32; - } - } - - list shared-risk-link-group { - description "The link's shared risk link groups"; - uses MPLS-SRLG-INFO; - } - - list receiving-reservable-bandwidth { - max-elements "8"; - description - "Receiving reservable BW at each priority - level(priority 0 to priority 7)"; - uses MPLS-LM-ADV-LINK-RESV-BW; - } - - list transmitting-reservable-bandwidth { - max-elements "8"; - description - "Transmitting reservable BW at each priority - level (priority 0 to priority 7)"; - uses MPLS-LM-ADV-LINK-RESV-BW; - } - } - - grouping MPLS-LM-ADV-CONFIGURED-AREA { - description "The information about an advertized area"; - leaf igp-area-id { - type string; - description "The area id"; - } - leaf protocol { - type Igp-protocol; - description "The IGP protocol running over this area"; - } - leaf system-id { - type string; - description "The node's system id"; - } - leaf router-id { - type inet:ipv4-address; - description "The node's router ID"; - } - - list flooded-link { - description "The array of flooded links in this area"; - uses MPLS-LM-ADV-FLOODED-LINK; - } - } - - grouping MPLS-LM-ADVERTISEMENT-INFO { - description "Information about all the advertized areas"; - leaf flooding-status-message { - type string; - description "Flooding status: ready or reason"; - } - leaf last-flooding-time { - type uint32; - units "second"; - description "Time elapsed since last flooding in seconds"; - } - leaf last-flooding-trigger { - type Flooding-trigger; - description "Trigger for last flooding"; - } - leaf next-flooding-time { - type uint32; - units "second"; - description "Time remained for next flooding in seconds"; - } - leaf ds-te-mode { - type Rrr-dste-migration-mode; - description "DS-TE Mode"; - } - - list advertized-areas { - description "Advertising info for all the IGP areas"; - uses MPLS-LM-ADV-CONFIGURED-AREA; - } - } - - grouping MPLS-LM-PREEMPTED-LSP { - description "Preempted LSP info"; - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf lsp-id { - type uint16; - description "LSP ID"; - } - leaf source-address { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf requested-bandwidth { - type uint64; - description "The path's requested bandwidth"; - } - leaf setup-priority { - type uint8; - description "The path's setup priority"; - } - leaf hold-priority { - type uint8; - description "The path's hold priority"; - } - leaf bandwidth-type { - type uint8; - description "The path's bandwidth type; 0:BC0, 1:BC1, so on"; - } - leaf soft-preempted { - type boolean; - description "TRUE is the preemption is a soft preemption"; - } - leaf soft-preemption-timeout { - type uint16; - units "second"; - description - "If the soft preemption is underway, this value - indicates the number of seconds before hard - preemption is triggered"; - } - leaf bandwidth-preempted { - type boolean; - description "LSPs bandwidth is already preempted"; - } - leaf soft-preempted-fr-rrewrite { - type boolean; - description "FRR-rewrite is done during soft preemption"; - } - } - - grouping MPLS-LM-PREEMPTION-EVENT { - description "Preemption event info"; - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf lsp-id { - type uint16; - description "LSP ID"; - } - leaf source-address { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf requested-bandwidth { - type uint64; - description "The path's requested bandwidth"; - } - leaf setup-priority { - type uint8; - description "The path's setup priority"; - } - leaf hold-priority { - type uint8; - description "The path's hold priority"; - } - leaf bandwidth-type { - type uint8; - description "The path's bandwidth type; 0:CT0, 1:CT1, so on"; - } - leaf old-bandwidth-bc0 { - type uint64; - description "Old BW for BC0"; - } - leaf old-bandwidth-bc1 { - type uint64; - description "Old BW for BC1"; - } - leaf new-bandwidth-bc0 { - type uint64; - description "New BW for BC0"; - } - leaf new-bandwidth-bc1 { - type uint64; - description "New BW for BC1"; - } - leaf bandwidth-overshoot0 { - type uint64; - description "BW Overshoot for BC0"; - } - leaf bandwidth-overshoot1 { - type uint64; - description "BW Overshoot for BC1"; - } - leaf interface-name { - type string; - description "Interface name"; - } - leaf event-time { - type uint32; - units "second"; - description - "Event time; seconds elapsed since January 1, - 1970"; - } - leaf ls-ps { - type uint16; - description - "Number of LSPs (not all may be present in the - list)"; - } - leaf soft-preempted-ls-ps { - type uint16; - description "Number of LSPs softly preempted"; - } - leaf soft-preempted-ls-ps-fr-rrewrite { - type uint16; - description - "Number of LSPs softly preempted with traffic - switched to backup"; - } - leaf hard-preempted-ls-ps { - type uint16; - description "Number of LSPs hardly preempted"; - } - leaf total-preempted-bandwidth-bc0 { - type uint64; - description "Total amount of preempted class 0 bandwidth"; - } - leaf total-preempted-bandwidth-bc1 { - type uint64; - description "Total amount of preempted class 1 bandwidth"; - } - leaf softly-preempted-bandwidth-bc0 { - type uint64; - description "Amount of softly preempted class 0 bandwidth"; - } - leaf softly-preempted-bandwidth-bc1 { - type uint64; - description "Amount of softly preempted class 1 bandwidth"; - } - leaf soft-preempted-fr-rrewrite-bandwidth-bc0 { - type uint64; - description - "Amount of softly preempted FRR RW class 0 - bandwidth"; - } - leaf soft-preempted-fr-rrewrite-bandwidth-bc1 { - type uint64; - description - "Amount of softly preempted FRR RW class 1 - bandwidth"; - } - leaf hard-preempted-bandwidth-bc0 { - type uint64; - description "Amount of hard preempted class 0 bandwidth"; - } - leaf hard-preempted-bandwidth-bc1 { - type uint64; - description "Amount of hard preempted class 1 bandwidth"; - } - leaf tunnels { - type uint16; - description "Number of Tunnels"; - } - leaf soft-preempted-tunnels { - type uint16; - description "Number of Tunnels softly preempted"; - } - leaf soft-preempted-tunnels-fr-rrewrite { - type uint16; - description - "Number of Tunnels softly preempted with traffic - switched to backup"; - } - leaf hard-preempted-tunnels { - type uint16; - description "Number of Tunnels hardly preempted"; - } - - list lsp { - description "List of preempted LSPs"; - uses MPLS-LM-PREEMPTED-LSP; - } - } - - grouping MPLS-LM-IGP-NBR-INFO { - description "Neighbor information"; - leaf interface-name { - type string; - description - "The interface on which this neighbor is - discovered"; - } - leaf neighbor-id { - type string; - description "The neighbor's id"; - } - leaf area-id { - type string; - description "The area id"; - } - leaf neighbor-address { - type inet:ipv4-address; - description "The neighbor's IP address"; - } - } - - grouping MPLS-LM-IGP-NBRS-LINK-INFO { - description "Neighbor information based on the link"; - - list neighbor { - description "Neighbors of the specified link id"; - uses MPLS-LM-IGP-NBR-INFO; - } - } - - grouping MPLS-TE-AFFINITY-MAP-BAG { - description "A set of affinity maps"; - - list affinity-map-array { - description "Affinity map array"; - uses MPLS-TE-AFFINITY-MAP-INFO; - } - } - - grouping TE-AUTO-TUN-EXP-PATH-HOP { - description "Auto Tunnel Explicit Path Hop"; - leaf hop-type { - type Te-auto-tun-exp-path-hop; - description "Hop Type"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf mpls-label { - type uint32; - description "MPLS Label"; - } - } - - grouping TE-AUTO-TUN-REQ-EXP-PATH-TUN-INFO { - description "Auto tunnel request explicit path tunnel info"; - leaf tunnel-id { - type uint32; - description "Tunnel ID"; - } - leaf tunnel-up { - type boolean; - description "Tunnel Up"; - } - leaf ipv6-caps { - type boolean; - description "IPv6 Capsulation"; - } - } - - grouping TE-AUTO-TUN-REQ-EXP-PATH { - description "Auto Tunnel Explicit Path"; - - container tunnel-info { - description "Auto tunnel info"; - uses TE-AUTO-TUN-REQ-EXP-PATH-TUN-INFO; - } - leaf context-id { - type uint32; - description "Explicit Path Context ID"; - } - leaf path-weight { - type uint32; - description "Path Weight"; - } - leaf is-stale { - type boolean; - description "Is Stale"; - } - leaf is-synced { - type boolean; - description "Is Synced"; - } - leaf programmed-in-fib { - type boolean; - description "Programmed in FIB"; - } - - list hops { - description "Path Hops"; - uses TE-AUTO-TUN-EXP-PATH-HOP; - } - } - - grouping TE-END-POINT { - description "TE End Point"; - leaf address-family-type { - type Mpls-te-afi; - description "AddressFamilyType"; - } - leaf ipv4-address { - when "../address-family-type = 'ipv4-unicast'" { - description "../AddressFamilyType = 'IPv4Unicast'"; - } - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf ipv6-address { - when "../address-family-type = 'ipv6-unicast'" { - description "../AddressFamilyType = 'IPv6Unicast'"; - } - type In-addr-ipv6; - description "IPv6 Address"; - } - } - - grouping TE-SERVICE-SR-POLICY { - description "Auto Tunnel Request Context"; - - container end-point-xr { - description "End Point"; - uses TE-END-POINT; - } - leaf sr-policy-id { - type uint32; - description "SR Policy ID"; - } - leaf policy-active { - type boolean; - description "Policy Active"; - } - leaf client-id-xr { - type uint32; - description "Client ID"; - } - leaf client-name { - type string; - description "Client Name"; - } - leaf color-xr { - type uint32; - description "Color"; - } - leaf distinguisher-xr { - type uint32; - description "SR Policy Distinguisher value"; - } - leaf ipv6-caps { - type boolean; - description "IPv6 Capsulation"; - } - leaf binding-sid-context-id { - type uint32; - description "Binding SID Context ID"; - } - leaf requested-binding-sid { - type uint32; - description "Requested Binding SID"; - } - leaf binding-sid-request-pending { - type boolean; - description "Binding SID Request Pending"; - } - leaf allocated-binding-sid { - type uint32; - description "Allocated Binding SID"; - } - leaf rewrite-request-pending { - type boolean; - description "Rewrite Requeste Pending"; - } - leaf rewrite-done { - type boolean; - description "Rewrite Done"; - } - leaf is-stale { - type boolean; - description "Is Stale"; - } - leaf is-synced { - type boolean; - description "Is Synced"; - } - leaf notify-time { - type uint32; - description "Notify Time"; - } - leaf notify-state-is-active { - type boolean; - description "Notify State Is Active"; - } - leaf creation-time { - type uint64; - units "nanosecond"; - description - "SR policy structure creation timestamp - (clocktime in nsecs)"; - } - - list explicit-path { - description "Explicit Paths"; - uses TE-AUTO-TUN-REQ-EXP-PATH; - } - } - - grouping MPLS-TE-BFD-SUMMARY { - description "TE BFD Summary Info"; - leaf tunnel-count-total { - type uint16; - description "Total number of tunnel interface"; - } - leaf tunnel-count-bfd-enabled { - type uint16; - description "Number of tunnel interface with BFD enabled"; - } - leaf tunnel-count-session-up { - type uint16; - description "Number of tunnel with BFD session in up state"; - } - leaf tunnel-count-sbfd-enabled { - type uint16; - description "Number of tunnel interface with SBFD enabled"; - } - leaf tunnel-count-sbfd-session-up { - type uint16; - description "Number of tunnel with SBFD session in up state"; - } - leaf head-lsp-count-session-created { - type uint16; - description "Number of head end LSP with BFD session created"; - } - leaf head-lsp-count-up { - type uint16; - description - "Number of head end LSP with BFD session in up - state"; - } - leaf tail-lsp-count-session-created { - type uint16; - description "Number of tail end LSP with BFD session created"; - } - leaf tail-lsp-count-session-up { - type uint16; - description - "Number of tail end LSP with BFD session in up - state"; - } - leaf head-lsp-count-sbfd-session-created { - type uint16; - description - "Number of head end LSP with SBFD session created"; - } - leaf head-lsp-count-sbfd-up { - type uint16; - description - "Number of head end LSP with SBFD session in up - state"; - } - leaf link-count-bfd-enabled { - type uint16; - description "Number of link with BFD enabled"; - } - leaf link-count-session-created { - type uint16; - description "Number of link with BFD session created"; - } - leaf link-count-session-up { - type uint16; - description "Number of link with BFD session in state Up"; - } - } - - grouping MPLS-TE-TAIL-BFD-LSP-INFO { - description "TE Tail End BFDOverLSP Info"; - - container lsp-fec { - description "FEC for the LSP"; - uses TE-LSP-FEC; - } - leaf signaled-name { - type string; - description "Signaled Name"; - } - leaf bfd-session-state { - type Te-bfd-lsp-session-state; - description "BFD Session State"; - } - } - - grouping MPLS-TE-HEAD-BFD-LSP-INFO { - description "TE Head End BFDOverLSP Info"; - leaf lsp-id { - type uint16; - description "LSP ID"; - } - leaf bfd-session-state { - type Te-bfd-lsp-session-state; - description "BFD Session State"; - } - } - - grouping MPLS-TE-HEAD-BFD-VIF-INFO { - description "TE Head End Tunnel BFD Info"; - - container current-lspbfd-info { - description "Current LSP BFD Info"; - uses MPLS-TE-HEAD-BFD-LSP-INFO; - } - - container standby-lspbfd-info { - description "Standby LSP BFD Info"; - uses MPLS-TE-HEAD-BFD-LSP-INFO; - } - - container reoptimized-lspbfd-info { - description "Reoptimized LSP BFD Info"; - uses MPLS-TE-HEAD-BFD-LSP-INFO; - } - leaf tunnel-name-xr { - type string; - description "Tunnel name"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination Address"; - } - leaf lspbfd-type { - type Te-vif-bfd; - description "LSP BFD type"; - } - } - - grouping TE-LSP-OOR-STATS { - description "LSP OOR statistics"; - leaf transitions { - type uint32; - description "Number of transitions to this state"; - } - leaf rejected-ls-ps-number { - type uint32; - description "Number of LSPs that were rejected in this state"; - } - leaf accepted-ls-ps-number { - type uint32; - description "Number of LSPs that were accepted in this state"; - } - leaf accepted-reopt-ls-ps-number { - type uint32; - description - "Number of Reoptimize LSPs that were accepted in - this state"; - } - leaf rejected-reopt-ls-ps-number { - type uint32; - description - "Number of Reoptimize LSPs that were rejected in - this state"; - } - } - - grouping TE-LSP-OOR-STATE-INFO { - description "LSP OOR State Information"; - - container statistics { - description "LSP OOR Statistics"; - uses TE-LSP-OOR-STATS; - } - leaf lsp-oor-state { - type Lsp-oor-state; - description - "The LSP-OOR state that this information belongs - to"; - } - leaf threshold-transit-all { - type uint32; - description - "The number of transit LSPs that triggers OOR - state transition"; - } - leaf threshold-transit-unprotected { - type uint32; - description - "The number of unprotected transit LSPs that - triggers OOR state transition"; - } - leaf te-metric-penalty { - type uint32; - description - "The TE metric penalty when the link is in this - LSP OOR state"; - } - leaf available-bw-percentage { - type uint32; - units "percentage"; - description - "The flooded percentage of available bandwidth - advertized when the link is in this LSP OOR - state"; - } - leaf transition-duration { - type uint32; - units "minute"; - description - "Recovery in minutes after the green LSP OOR - state is entered."; - } - leaf minimum-lsp-bandwidth { - type uint32; - description - "Minimum LSP bandwidth so the LSP is admitted - when the link is in this LSP OOR state"; - } - leaf accept-reopt { - type boolean; - description - "Make-before-break is allowed for LSPs - reoptimizing over the same link in the LSP OOR - state"; - } - } - - grouping TE-LSP-OOR-INFO { - description "LSP OOR parameters for MPLS-TE"; - leaf transit-lsp-total-count { - type uint32; - description "Number of all transit LSPs on the router"; - } - leaf transit-lsp-unprotected-count { - type uint32; - description - "Number of unprotected transit LSPs on the router"; - } - leaf lsp-oor-state { - type Lsp-oor-state; - description "The current LSP OOR state"; - } - leaf lsp-oor-timestamp { - type uint32; - description "Timestamp when the OOR state last changed"; - } - leaf lsp-oor-green-recovery-time { - type uint32; - units "second"; - description - "Time Remaining in Green Recovery State (seconds)"; - } - - list lsp-oor-state-xr { - max-elements "3"; - description "Array of LSP OOR info per state"; - uses TE-LSP-OOR-STATE-INFO; - } - } - - grouping MPLS-TE-SR-S2L-PATH-BAG { - description "Segment-Routing S2L path"; - leaf is-primary { - type boolean; - description "True if path is primary"; - } - leaf is-backup { - type boolean; - description "True if path is backup"; - } - leaf outgoing-interface { - type string; - description "Outgoing Interface Name"; - } - leaf path-id { - type uint32; - description "Path Identifier"; - } - leaf backup-path-id { - type uint32; - description "Backup Path Identifier"; - } - leaf next-hop { - type inet:ipv4-address; - description "Next hop"; - } - list outgoing-labels-stack { - description "Outgoing Labels Stack"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-S2L-FORWARDING-S2L-ID-BAG { - description "S2L Forwarding identifiers"; - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf sub-group-id { - type uint16; - description "S2L Sub-Group ID"; - } - leaf sub-group-original-id { - type inet:ipv4-address; - description "S2L Sub-Group Originator ID"; - } - } - - grouping TE-S2L-OUTPUT-RW-FIELDS-BAG { - description "An entry of output label rewrite data"; - - container primary-s2l { - description "Properties of the S2L rewrite"; - uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; - } - - container backup-tunnel-rewrite { - description "Properties of the S2L's backup tunnel rewrite"; - uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; - } - leaf timestamp { - type uint32; - units "second"; - description "Time stamp of the entry (secs since 1/1/70)"; - } - leaf out-rewrite-role { - type Mpls-te-tunnel-role; - description "Role of the associated S2L"; - } - leaf label { - type uint32; - description "Local label of the rewrite"; - } - leaf backup-active { - type boolean; - description "Backup is active"; - } - leaf s2l-source { - type inet:ipv4-address; - description "Source of the S2L"; - } - leaf explicit-null { - type Te-s2l-output-rw-explicit-null; - description "Imposition of explicit NULL"; - } - leaf protocol-transported { - type uint16; - description "Protocol transported in the S2L"; - } - } - - grouping TE-S2L-OUTPUT-RW-FEC-SUBFAMILY-BAG { - description "LMRIB S2L Output label rewrite FEC subfamily"; - - container lsp-fec { - description "LSP FEC"; - uses TE-LSP-FEC; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next hop address"; - } - leaf previous-hop-address { - type inet:ipv4-address; - description "Previous hop address"; - } - } - - grouping MPLS-TE-S2L-OUTPUT-RW-BAG { - description "S2L output rewrite"; - - container subfamily { - description "Subfamily identifiers"; - uses TE-S2L-OUTPUT-RW-FEC-SUBFAMILY-BAG; - } - - container successful-rewrite { - description "Successful rewrite details"; - uses TE-S2L-OUTPUT-RW-FIELDS-BAG; - } - - container failed-rewrite { - description "Failed rewrite details"; - uses TE-S2L-OUTPUT-RW-FIELDS-BAG; - } - - container pending-rewrite { - description "Pending rewrite details"; - uses TE-S2L-OUTPUT-RW-FIELDS-BAG; - } - } - - grouping MPLS-TE-S2L-FORWARDING-BAG { - description "Output label forwarding details for S2Ls"; - - container s2l-output-rewrite { - description "Output rewrite shared between S2Ls"; - uses MPLS-TE-S2L-OUTPUT-RW-BAG; - } - leaf original-input-interface { - type string; - description "Input interface of the S2Ls"; - } - leaf output-interface-name { - type string; - description "The output interface of the S2Ls"; - } - leaf backup-tunnel-name { - type string; - description "Backup tunnel name"; - } - leaf is-segment-routing { - type boolean; - description "TRUE if the s2l path is Segment-Routing"; - } - - list s2l { - description - "Unique identifiers for the S2L sharing the - rewrite"; - uses MPLS-TE-S2L-FORWARDING-S2L-ID-BAG; - } - - list s2lsr-path { - description "Segment-Routing Paths"; - uses MPLS-TE-SR-S2L-PATH-BAG; - } - } - - grouping TE-S2L-TUN-RW-FIELDS-P2MP-BAG { - description "LMRIB Tunnel rewrite fields"; - leaf local-label { - type uint32; - description "Local Label"; - } - } - - grouping TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG { - description "Output rewrite tunnel information"; - leaf physica-interface-name { - type xr:Interface-name; - description "Physical interface associated with the entry"; - } - leaf tunnel-interface-name { - type xr:Interface-name; - description "Interface handle of the associated tunnel"; - } - leaf parent-interface-name { - type xr:Interface-name; - description "Interface name of the parent intf"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next hop address associated with the entry"; - } - leaf out-label { - type uint32; - description "Output label associated with the entry"; - } - list sr-label-stack { - description "Segment-Routing labels stack"; - leaf entry { - type uint32; - } - } - } - - grouping TE-S2L-TUN-RW-FIELDS-P2P-BAG { - description "LSD Tunnel rewrite fields"; - - container primary-s2l { - description "Properties of the primary S2L of tunnel rewrite"; - uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; - } - - container backup-tunnel-rewrite { - description - "Properties of the S2L's backup for tunnel - rewrite"; - uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; - } - leaf local-label { - type uint32; - description "Local label of the tunnel rewrite"; - } - leaf tunnel-id { - type uint16; - description "Tunnel ID for this rewrite data"; - } - leaf source-pe { - type inet:ipv4-address; - description "source address of the tunnel"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "Extended Tunnel ID"; - } - leaf backup-active { - type boolean; - description "FRR is active on the backup tunnel"; - } - leaf original-input-interface { - type string; - description "Input interface of the S2Ls"; - } - leaf previous-hop-address { - type inet:ipv4-address; - description "Previous hop"; - } - leaf output-interface-name { - type string; - description "The output interface of the S2Ls"; - } - leaf backup-tunnel-name { - type string; - description "Backup tunnel name"; - } - } - - grouping TE-S2L-TUN-RW-FIELD-CTYPE-BAG { - description "C-type-specific LSP FEC data"; - - container p2p-tunnel-rewrite { - when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2p-tunnel'" { - description - "../FEC_CType = 'MPLS_LIB_CTYPE_IPV4_P2P_TUNNEL'"; - } - description "Tunnel rewrite data specific to P2P"; - uses TE-S2L-TUN-RW-FIELDS-P2P-BAG; - } - - container p2mp-tunnel-rewrite { - when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2mp-tunnel'" { - description - "../FEC_CType = - 'MPLS_LIB_CTYPE_IPV4_P2MP_TUNNEL'"; - } - description "Tunnel rewrite data specific to P2MP"; - uses TE-S2L-TUN-RW-FIELDS-P2MP-BAG; - } - leaf fec-ctype { - type Mpls-lib-c; - description "FEC CType"; - } - } - - grouping TE-S2L-TUN-RW-FIELDS-BAG { - description "LMRIB S2L Tunnel rewrite fields"; - - container tunnel-rewrite { - description "Union of p2p and p2mp tun rewrite data"; - uses TE-S2L-TUN-RW-FIELD-CTYPE-BAG; - } - leaf timestamp { - type uint32; - description "Time stamp of the entry"; - } - } - - grouping MPLS-TE-S2L-TUN-RW-BAG { - description "LMRIB S2L Tunnel rewrite"; - - container successful-rewrite { - description "Successful rewrite details"; - uses TE-S2L-TUN-RW-FIELDS-BAG; - } - - container failed-rewrite { - description "Failed rewrite details"; - uses TE-S2L-TUN-RW-FIELDS-BAG; - } - - container pending-rewrite { - description "Pending rewrite details"; - uses TE-S2L-TUN-RW-FIELDS-BAG; - } - leaf tunnel-interface { - type string; - description "Tunnel interface name"; - } - leaf tunnel-signal-name { - type string; - description "Tunnel signaled-name"; - } - leaf is-segment-routing { - type boolean; - description "TRUE if the s2l path is Segment-Routing"; - } - } - - grouping TE-PP-SW-LOG-BAG { - description - "The full log of the path protection switchover - events"; - leaf path-protection-switchovers { - type uint32; - description - "Total number of path protection switchover - events. This could be more than the entries in - the array"; - } - leaf maximum-switchover-millisec { - type uint32; - units "millisecond"; - description - "The maximum delay for a switchover in - milliseconds"; - } - leaf average-switchover-millisec { - type uint32; - units "millisecond"; - description - "The average delay for a switchover in - milliseconds"; - } - - list path-protection-switchover-entry { - description "The array of path protection switchover entries"; - uses TE-PP-SW-LOG-ENTRY-BAG; - } - } - - grouping TUNNEL-MAX-INFO { - description "Tunnel maximum information bag"; - leaf current-maximum-tunnels { - type uint32; - description "Current Maximum Tunnels"; - } - leaf current-maximum-destinations { - type uint32; - description "Current Maximum Destinations"; - } - leaf current-maximum-p2mp-tunnels { - type uint32; - description "Current Maximum P2MP Tunnel Count"; - } - leaf current-maximum-p2mp-destnation-per-tunnel { - type uint32; - description - "Current Maximum P2MP Destinations Per Tunnel - Count"; - } - leaf absolute-maximum { - type uint32; - description "Absolute Maximum"; - } - leaf current-maximum-autobackups { - type uint32; - description "Current Maximum Autotunnel Backups Allowed"; - } - leaf current-maximum-auto-mesh { - type uint32; - description "Current Maximum Autotunnel Mesh Allowed"; - } - leaf current-tunnel-count { - type uint32; - description "Current tunnel count"; - } - leaf current-destination-count { - type uint32; - description "Current Destination Count"; - } - leaf current-p2mp-tunnel-count { - type uint32; - description "Current P2MP tunnel count"; - } - leaf current-p2mp-destnation-per-tunnel-count { - type uint32; - description "Current P2MP Destination per tunnel count"; - } - leaf is-autobackup-range-configured { - type boolean; - description "TRUE if the autobackup range is configured"; - } - leaf current-autobackups { - type uint32; - description "Current Autotunnel Backup count"; - } - leaf is-auto-mesh-range-configured { - type boolean; - description "TRUE if the automesh range is configured"; - } - leaf current-auto-mesh { - type uint32; - description "Current Autotunnel Mesh count"; - } - leaf current-maximum-gmpls-unitunnels { - type uint32; - description "Current Maximum GMPLS-UNI Tunnel Count"; - } - leaf current-gmpls-uni { - type uint32; - description "Current GMPLS-UNI tunnel count"; - } - } - - grouping MPLS-TE-S2L-SR-OUTGOING-FWD-INFO { - description "Segment-routing outgoing fowarding info"; - leaf lsp-output-interface { - type string; - description "Output interface of LSP"; - } - leaf lsp-output-label { - type uint32; - description "Output label of the LSP"; - } - } - - grouping MPLS-TE-PATH-PROTECTION-LSP { - description "MPLS TE Path Protected LSP Information"; - leaf lsp-uptime { - type uint32; - description "LSP Uptime"; - } - leaf path-protection-lsp-id { - type uint32; - description "LSP ID "; - } - leaf lsp-local-label { - type uint32; - description "Local label "; - } - leaf lsp-output-interface { - type string; - description "Output interface of LSP"; - } - leaf lsp-output-label { - type uint32; - description "Output label of the LSP"; - } - leaf lsp-state { - type Mpls-te-tunnel-state; - description "LSP State"; - } - - list srlsp-outgoing-info { - description "Segment-routing iutgoing info of LSP"; - uses MPLS-TE-S2L-SR-OUTGOING-FWD-INFO; - } - - list lsp-hop { - description "Path used by LSP"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - } - - grouping MPLS-TE-PATH-PROTECTION { - description "MPLS TE Path Protected Information"; - - container path-protection { - description "Path Protect Info"; - uses MPLS-TE-PP-INFO; - } - - container current-lsp { - description " Current LSP info"; - uses MPLS-TE-PATH-PROTECTION-LSP; - } - - container standby-lsp { - description " Standby LSP info"; - uses MPLS-TE-PATH-PROTECTION-LSP; - } - leaf is-tunnel-up { - type boolean; - description "Tunnel UP"; - } - leaf source-address { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "Extended Tunnel ID"; - } - } - - grouping MPLS-TE-AUTOTUN-P2P-INFO { - description "P2P auto-tunnel summary per client information"; - leaf auto-p2p-tunnel { - type uint32; - description "Total number of client P2P auto-tunnels"; - } - leaf up-auto-p2p-tunnels { - type uint32; - description - "Total number of client P2P auto-tunnels that are - up"; - } - leaf down-auto-p2p-tunnels { - type uint32; - description - "Total number of client P2P auto-tunnels that are - down"; - } - } - - grouping MPLS-TE-AUTOTUN-P2MP-INFO { - description "P2MP auto-tunnel summary per client information"; - leaf auto-p2mp-tunnel { - type uint32; - description "Total number of client P2MP auto-tunnels"; - } - leaf auto-p2mp-destinations { - type uint32; - description - "Total number of client P2MP auto-tunnel - destinations"; - } - leaf up-auto-p2mp-destinations { - type uint32; - description - "Total number of client P2MP auto-tunnel - destinations that are up"; - } - leaf down-auto-p2mp-destinations { - type uint32; - description - "Total number of client P2MP auto-tunnel - destinations that are down"; - } - leaf up-auto-p2mp-tunnels { - type uint32; - description - "Total number of client P2MP auto-tunnels that - are up"; - } - leaf down-auto-p2mp-tunnels { - type uint32; - description - "Total number of client P2MP auto-tunnels that - are down"; - } - leaf frr-auto-p2mp-tunnels { - type uint32; - description - "Total number of client P2MP auto-tunnels that - are FRR enabled"; - } - } - - grouping MPLS-TE-AUTOTUN-SVR-INFO { - description "Auto-tunnel server client summary"; - - container p2mp-info { - description "P2MP info for a client"; - uses MPLS-TE-AUTOTUN-P2MP-INFO; - } - - container p2p-info { - description "P2P info for a client"; - uses MPLS-TE-AUTOTUN-P2P-INFO; - } - leaf protocol-type { - type Te-serv-tun-client; - description "Client's protocol type"; - } - leaf client-instance-name { - type string; - description "Client Instance name"; - } - leaf client-id { - type uint32; - description "Client ID"; - } - } - - grouping MPLS-TE-AUTOTUN-SVR-SUMMARY-INFO { - description "Auto-tunnel server summary information"; - - container total-auto-p2mp-tunnels { - description "Total number of P2MP auto-tunnels"; - uses MPLS-TE-AUTOTUN-P2MP-INFO; - } - - container total-auto-p2p-tunnels { - description "Total number of P2P auto-tunnels"; - uses MPLS-TE-AUTOTUN-P2P-INFO; - } - - list clients-summary { - description "List of auto-tunnel server clients"; - uses MPLS-TE-AUTOTUN-SVR-INFO; - } - } - - grouping TE-TABLE-DATAPOINT-INFO { - description "Convergence table bag entry"; - } - - grouping TE-CONV-TBL-SUMMARY-BAG { - description "TE tunnels convergence summary information bag"; - - container table-path-out { - description "Table path-out entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - - container table-resv-in { - description "Table resv-in entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - - container table-label-rewrite { - description "Table label rewrite entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - - container table-pcalc { - description "Table PCALC entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - - container table-tunnel-rewrite { - description "Table Tunnel rewrite entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - - container table-frr-trigger { - description "Table FRR trigger entry"; - uses TE-TABLE-DATAPOINT-INFO; - } - leaf tunnel-frr-active-count { - type uint32; - description "FRR active Tunnel count"; - } - leaf tunnel-frr-total-count { - type uint32; - description "FRR triggered Tunnel count"; - } - leaf tunnel-converged-count { - type uint32; - description "Tunnel converged count"; - } - leaf tunnel-total-convergence-complete-time { - type uint64; - units "nanosecond"; - description - "Tunnel convergence complete timestamp (clocktime - in nsecs)"; - } - } - - grouping MPLS-TE-GMPLS-NNI-SUMMARY-INFO { - description "GMPLS-NNI summary information"; - leaf heads-up { - type uint32; - description "Tunnel heads in up state"; - } - leaf heads-down { - type uint32; - description "Tunnel heads in down state"; - } - leaf mids-up { - type uint32; - description "Tunnel mids in up state"; - } - leaf mids-down { - type uint32; - description "Tunnel mids in down state"; - } - leaf tails-up { - type uint32; - description "Tunnel tails in up state"; - } - leaf tails-down { - type uint32; - description "Tunnel tails in down state"; - } - } - - grouping MPLS-TE-GMPLS-UNI-SUMMARY-INFO { - description "GMPLS-UNI summary information"; - leaf heads-up { - type uint32; - description "Tunnel heads in up state"; - } - leaf heads-down { - type uint32; - description "Tunnel heads in down state"; - } - leaf tails-up { - type uint32; - description "Tunnel tails in up state"; - } - leaf tails-down { - type uint32; - description "Tunnel tails in down state"; - } - } - - grouping MPLS-TE-TUNNELS-SUMMARY-INFO-BAG { - description "MPLS TE Tunnel Summary Information"; - - container autobackup-summary { - description "Autobackup summary"; - uses MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO; - } - - container auto-mesh-summary { - description "Automesh summary"; - uses MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO; - } - - container auto-mesh-one-hop-summary { - description "Automesh Onehop summary"; - uses MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO; - } - - container gmpls-uni-summary { - description "GMPLS-UNI summary"; - uses MPLS-TE-GMPLS-UNI-SUMMARY-INFO; - } - - container gmpls-nni-summary { - description "GMPLS-NNI summary"; - uses MPLS-TE-GMPLS-NNI-SUMMARY-INFO; - } - - container current-tunnel-convergence-summary { - description "Current Tunnel convergemce summary information"; - uses TE-CONV-TBL-SUMMARY-BAG; - } - - container last-tunnel-convergence-summary { - description "Last Tunnel convergemce summary information"; - uses TE-CONV-TBL-SUMMARY-BAG; - } - - container auto-tun-server-summary { - description "Auto-tunnel server tunnel summary"; - uses MPLS-TE-AUTOTUN-SVR-SUMMARY-INFO; - } - leaf pcalc-tie-breaker-type { - type Te-path-selection-tiebreaker; - description "PCALC tiebreaker type"; - } - leaf pcalc-tiebreaker { - type uint32; - description "Deprecated - replaced by PCALCTiebreakerType"; - } - leaf tiebreaker-qualifier { - type Mpls-te-metric-qualifier; - description - "Describes how the path selection tiebreaker was - specified:default, or globally set"; - } - leaf te-process-status { - type Mpls-te-tunnels-process-status; - description "Status of te_control"; - } - leaf is-rsvp-process-enabled { - type boolean; - description "Status of rsvp"; - } - leaf is-forwarding-enabled { - type boolean; - description "TRUE if forwarding is enabled"; - } - leaf activated-heads { - type uint32; - description "Total tunnel heads activated"; - } - leaf deactivated-heads { - type uint32; - description "Total tunnel heads deactivated"; - } - leaf recovered-heads { - type uint32; - description "Number of heads recovered"; - } - leaf is-periodic-reoptimization-on { - type boolean; - description "TRUE if periodic reoptimization is on"; - } - leaf reoptimization-period { - type uint32; - units "second"; - description "Reoptimization period in seconds"; - } - leaf next-reoptimization-timer { - type uint32; - units "second"; - description "Time left till next reoptimization (seconds)"; - } - leaf auto-bandwidth-tunnels { - type uint32; - description "Counter with number of auto-bw enabled tunnels"; - } - leaf auto-bandwidth-collection-period { - type uint32; - units "minute"; - description "Collection period in minutes"; - } - leaf is-promotion-on { - type boolean; - description "TRUE if periodic frr promotion is on"; - } - leaf promotion-period { - type uint32; - units "second"; - description "FRR promotion period in seconds"; - } - leaf next-promotion-timer { - type uint32; - units "second"; - description "Time left till next FRR promotion (seconds)"; - } - leaf tunnel-check-period { - type uint32; - units "second"; - description "Tunnel head check period (seconds)"; - } - leaf next-check-time { - type uint32; - units "second"; - description "Time left till next FRR promotion (seconds)"; - } - leaf tunnel-verify-period { - type uint32; - units "second"; - description "Tunnel head verify period (seconds)"; - } - leaf next-verify-timer { - type uint32; - units "second"; - description "Time left till next FRR promotion (seconds)"; - } - leaf frr-head-tunnels { - type uint32; - description "FRR tunnels in Up state at head end"; - } - leaf protected-head-tunnels { - type uint32; - description "FRR protected tunnels in Up state at head end"; - } - leaf rerouted-head-tunnels { - type uint32; - description "FRR rerouted tunnels in Up state at head end"; - } - leaf frr-mid-point-tunnels { - type uint32; - description "FRR tunnels at mid point"; - } - leaf protected-mid-point-tunnels { - type uint32; - description "FRR protected tunnels at mid point"; - } - leaf rerouted-mid-point-tunnels { - type uint32; - description "FRR rerouted tunnels at mid point"; - } - leaf link-protected-tunnels { - type uint32; - description "FRR link protected tunnels"; - } - leaf node-protected-tunnels { - type uint32; - description "FRR node protected tunnels"; - } - leaf bw-protected-tunnels { - type uint32; - description "FRR BW protected tunnels"; - } - leaf frr-p2p-head-tunnels { - type uint32; - description "P2P FRR tunnels in Up state at head end"; - } - leaf protected-p2p-head-tunnels { - type uint32; - description - "P2P FRR protected tunnels in Up state at head - end"; - } - leaf rerouted-p2p-head-tunnels { - type uint32; - description - "P2P FRR rerouted tunnels in Up state at head end"; - } - leaf frr-p2p-mid-point-tunnels { - type uint32; - description "P2P FRR tunnels at mid point"; - } - leaf protected-p2p-mid-point-tunnels { - type uint32; - description "P2P FRR protected tunnels at mid point"; - } - leaf rerouted-p2p-mid-point-tunnels { - type uint32; - description "P2P FRR rerouted tunnels at mid point"; - } - leaf link-protected-p2p-tunnels { - type uint32; - description "P2P FRR link protected tunnels"; - } - leaf node-protected-p2p-tunnels { - type uint32; - description "P2P FRR node protected tunnels"; - } - leaf bw-protected-p2p-tunnels { - type uint32; - description "P2P FRR BW protected tunnels"; - } - leaf backup-tunnels { - type uint32; - description "FRR backup tunnels in Up state"; - } - leaf backups-assigned { - type uint32; - description "FRR backup tunnels assigned"; - } - leaf frr-protected-interfaces { - type uint32; - description "FRR Protected Interfaces"; - } - leaf rerouted-interfaces { - type uint32; - description "FRR Rerouted Interfaces"; - } - leaf p2p-head-tunnels { - type uint32; - description "p2p Tunnel interfaces"; - } - leaf up-p2p-head-tunnels { - type uint32; - description "p2p Tunnel interfaces in Up state"; - } - leaf dynamic-up-p2p-head-tunnels { - type uint32; - description "p2p Tunnel up via a dynamic path"; - } - leaf frr-config-p2p-head-tunnels { - type uint32; - description "p2p Tunnel interfaces with FRR configuration"; - } - leaf p2p-head-destinations { - type uint32; - description "p2p Destinations at Head"; - } - leaf p2p-head-destinations-up { - type uint32; - description "p2p Destinations in Up state at Head"; - } - leaf bw-protected-p2p-s2-ls { - type uint32; - description "p2p S2Ls BW Protected"; - } - leaf link-protected-p2p-s2-ls { - type uint32; - description "p2p S2Ls Link Protected"; - } - leaf up-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls in Up state at Head"; - } - leaf proceeding-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls in signalling-proceeding state at Head"; - } - leaf recovering-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls recovering at Head"; - } - leaf frr-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls with FRR requested at Head"; - } - leaf protected-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls FRR Protected at Head"; - } - leaf rerouted-p2p-head-s2-ls { - type uint32; - description "p2p S2Ls FRR Rerouted at Head"; - } - leaf p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls at Mid"; - } - leaf up-p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls in Up state at Mid"; - } - leaf proceeding-p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls in signalling=proceeding state at Mid"; - } - leaf frr-p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls with FRR requested at Mid"; - } - leaf protected-p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls FRR Protected at Mid"; - } - leaf rerouted-p2p-mid-point-s2-ls { - type uint32; - description "p2p S2Ls FRR Rerouted at Mid"; - } - leaf p2p-tail-s2-ls { - type uint32; - description "p2p S2Ls at Tail"; - } - leaf up-p2p-tail-s2-ls { - type uint32; - description "p2p S2Ls in Up state at Tail"; - } - leaf p2p-tail-tunnels { - type uint32; - description "p2p Tunnel tail interfaces"; - } - leaf path-protect-configured-tunnels { - type uint16; - description "Tunnels configured with Path Protect"; - } - leaf path-protect-configured-tunnels-up { - type uint16; - description "Path Protect configured tunnels connected/up"; - } - leaf path-protect-configured-tunnels-standby-up { - type uint16; - description "Tunnels with standby LSP up"; - } - leaf link-diverse-paths { - type uint16; - description "Link diverse paths"; - } - leaf node-diverse-paths { - type uint16; - description "Node diverse paths"; - } - leaf link-and-node-diverse-paths { - type uint16; - description "Link and Node diverse paths"; - } - leaf user-defined-paths { - type uint16; - description "User defined paths"; - } - leaf p2mp-head-tunnels { - type uint32; - description "P2MP Tunnel interfaces"; - } - leaf up-p2mp-head-tunnels { - type uint32; - description "P2MP Tunnel interfaces in Up state"; - } - leaf frr-config-p2mp-head-tunnels { - type uint32; - description "P2MP Tunnel interfaces with FRR configuration"; - } - leaf p2mp-head-destinations { - type uint32; - description "P2MP Destinations at Head"; - } - leaf up-p2mp-head-destinations { - type uint32; - description "P2MP Destinations in Up state at Head"; - } - leaf bw-protected-p2mp-s2-ls { - type uint32; - description "P2MP S2Ls BW Protected"; - } - leaf link-protected-p2mp-s2-ls { - type uint32; - description "P2MP S2Ls Link Protected"; - } - leaf up-p2mp-head-s2-ls { - type uint32; - description "P2MP S2Ls in Up state at Head"; - } - leaf proceeding-p2mp-head-s2-ls { - type uint32; - description - "P2MP S2Ls in signalling-proceeding state at Head"; - } - leaf frr-p2mp-head-s2-ls { - type uint32; - description "P2MP S2Ls with FRR requested at Head"; - } - leaf protected-p2mp-head-s2-ls { - type uint32; - description "P2MP S2Ls FRR Protected at Head"; - } - leaf rerouted-p2mp-head-s2-ls { - type uint32; - description "P2MP S2Ls FRR Rerouted at Head"; - } - leaf p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls at Mid"; - } - leaf up-p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls in Up state at Mid"; - } - leaf proceeding-p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls in signalling=proceeding state at Mid"; - } - leaf frr-p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls with FRR requested at Mid"; - } - leaf protected-p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls FRR Protected at Mid"; - } - leaf rerouted-p2mp-mid-point-s2-ls { - type uint32; - description "P2MP S2Ls FRR Rerouted at Mid"; - } - leaf p2mp-tail-s2-ls { - type uint32; - description "P2MP S2Ls at Tail"; - } - leaf up-p2mp-tail-s2-ls { - type uint32; - description "P2MP S2Ls in Up state at Tail"; - } - leaf bidir-head-tunnels { - type uint32; - description "Bidirectional Head Tunnel interfaces"; - } - leaf bidir-head-tunnels-up { - type uint32; - description "Connected Bidirectional Head Tunnel interfaces"; - } - leaf bidir-head-tunnels-associated { - type uint32; - description "Associated Bidirectional Head Tunnels"; - } - leaf bidir-head-tunnels-corouted { - type uint32; - description "Corouted Bidirectional Head Tunnels"; - } - leaf bidir-head-ls-ps-up { - type uint32; - description "Connected Bidirectional Head Tunnel interfaces"; - } - leaf bidir-head-ls-ps-proceeding { - type uint32; - description "Proceeding Bidirectional Head LSPs"; - } - leaf bidir-head-ls-ps-associated { - type uint32; - description "Associated Bidirectional Head LSPs"; - } - leaf bidir-head-ls-ps-standby { - type uint32; - description "Standby Bidirectional Head LSPs"; - } - leaf bidir-mid-tunnels { - type uint32; - description "Bidirectional Mid Tunnel interfaces"; - } - leaf bidir-mid-tunnels-up { - type uint32; - description "Connected Bidirectional Mid Tunnel interfaces"; - } - leaf bidir-mid-ls-ps-proceeding { - type uint32; - description "Proceeding Bidirectional Mid LSPs"; - } - leaf bidir-mid-ls-ps-associated { - type uint32; - description "Associated Bidirectional Mid LSPs"; - } - leaf bidir-mid-ls-ps-standby { - type uint32; - description "Standby Bidirectional Mid LSPs"; - } - leaf bidir-tail-ls-ps { - type uint32; - description "Bidirectional Tail LSPs"; - } - leaf bidir-tail-ls-ps-up { - type uint32; - description "Connected Bidirectional Tail LSPs"; - } - leaf bidir-tail-ls-ps-proceeding { - type uint32; - description "Proceeding Bidirectional Tail LSPs"; - } - leaf bidir-tail-ls-ps-associated { - type uint32; - description "Associated Bidirectional Tail LSPs"; - } - leaf bidir-tail-ls-ps-standby { - type uint32; - description "Standby Bidirectional Tail LSPs"; - } - leaf bidir-tail-ls-ps-corouted { - type uint32; - description "Corouted Bidirectional Tail LSPs"; - } - } - - grouping MPLS-TE-TUNNELS-AUTOBW-BRIEF { - description "MPLS TE Tunnel AutoBandwidth Brief Information"; - - container auto-bandwidth-status { - description "Tunnels's AutoBandwidth Status information"; - uses MPLS-TE-TUNNELS-AUTOBW-STATUS; - } - leaf tunnel-name-xr { - type string; - description "Tunnel name"; - } - leaf signaled-name { - type string; - description "Tunnel signaled name"; - } - leaf tunnel-lsp-id { - type uint32; - description "Tunnel Lsp Id"; - } - leaf bandwidth-applications { - type uint32; - description - "Total number of bandwidth applications requested - by auto-bw"; - } - leaf last-bandwidth-applied { - type uint32; - description - "Last bandwidth requested by auto-bw for the - tunnel"; - } - leaf tunnel-requested-bandwidth { - type uint32; - description "Requested Bandwidth for the tunnel"; - } - leaf signalled-bandwidth { - type uint32; - description "Signalled bandwidth for the tunnel"; - } - leaf highest-bandwidth { - type uint32; - description - "Highest bandwidth registered within current - application period"; - } - leaf last-sample-bandwidth { - type uint32; - description "Last sample bandwidth collected"; - } - leaf samples-collected { - type uint32; - description - "Number of samples collected within current - application period"; - } - leaf time-left-application { - type uint32; - description - "Time left until next auto-bw application - algorithm is performed"; - } - } - - grouping MPLS-TE-FLEX-LSP-REV-LSP { - description "MPLS TE Flex LSP Reverse LSP information"; - - container reverse-lsp-fec { - description "Reverse Associated Bidir LSP FEC"; - uses TE-LSP-FEC; - } - - container association { - description "Association Object"; - uses MPLS-TE-S2L-ASSOCIATION-OBJECT; - } - - container protection { - description "Protection Object"; - uses MPLS-TE-S2L-PROTECTION-OBJECT; - } - leaf reverse-lsp-present { - type boolean; - description "Reverse Associated Bidir LSP Present"; - } - leaf reverse-lsp-connected { - type boolean; - description "Reverse Associated Bidir LSP Connected"; - } - } - - grouping MPLS-TE-FLEX-LSP-LSP { - description "MPLS TE FLEX LSP Information"; - - container flex-info { - description "Flex Info"; - uses MPLS-TE-S2L-FLEX-INFO; - } - - container association { - description "Association Object"; - uses MPLS-TE-S2L-ASSOCIATION-OBJECT; - } - - container protection { - description "Protection Object"; - uses MPLS-TE-S2L-PROTECTION-OBJECT; - } - - container reverse-lsp { - description "Reverse LSP information"; - uses MPLS-TE-FLEX-LSP-REV-LSP; - } - leaf is-operational { - type boolean; - description "Operational"; - } - leaf lsp-uptime { - type uint32; - description "LSP Uptime"; - } - leaf path-protection-lsp-id { - type uint32; - description "LSP ID "; - } - leaf lsp-mode { - type Mpls-te-lsp-mode; - description "LSP mode"; - } - leaf lsp-local-label { - type uint32; - description "Local label "; - } - leaf lsp-output-interface { - type string; - description "Output interface of LSP"; - } - leaf lsp-output-label { - type uint32; - description "Output label of the LSP"; - } - leaf lsp-state { - type Mpls-te-tunnel-state; - description "LSP State"; - } - - list lsp-hop { - description "Path used by LSP"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - } - - grouping MPLS-TE-FLEX-LSP { - description "MPLS TE Flex LSP Information"; - - container working-lsp { - description " Working LSP info"; - uses MPLS-TE-FLEX-LSP-LSP; - } - - container protect-lsp { - description " Protect LSP info"; - uses MPLS-TE-FLEX-LSP-LSP; - } - leaf is-tunnel-up { - type boolean; - description "Tunnel UP"; - } - leaf tun-id { - type uint16; - description "Tunnel ID"; - } - leaf source-address { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "Extended Tunnel ID"; - } - } - - grouping MPLS-TE-FASTREROUTE-PROMOTION-BAG { - description "MPLS TE Fast Reroute Promotion Information"; - leaf promotion-period { - type uint32; - units "second"; - description "Promotion period in seconds"; - } - leaf remaining-time { - type uint32; - units "second"; - description "Remaining time for next promotion in seconds"; - } - leaf is-configured { - type boolean; - description "Indicate if periodic promotion is configured "; - } - } - - grouping MPLS-TE-FASTREROUTE-PROTECTION-BAG { - description "MPLS TE Fast Reroute Protected LSP Information"; - leaf source-address-xr { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination"; - } - leaf tunnel-id-xr { - type uint32; - description "Tunnel ID"; - } - leaf extended-tunnel-id-xr { - type inet:ipv4-address; - description "Extended Tunnel ID"; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf tunnel-instance { - type uint32; - description "Tunnel instance"; - } - leaf role { - type Mpls-te-tunnel-role; - description "Role of LSP"; - } - leaf admin-status { - type Mpls-te-tunnel-state; - description "Tunnel Admin status"; - } - leaf operation-status { - type Mpls-te-tunnel-state; - description "Tunnel operational status"; - } - leaf is-signalled { - type boolean; - description "Indicates whether signalled"; - } - leaf is-frr-requested { - type boolean; - description "TRUE if frr protection is on"; - } - leaf outbound-frr-state { - type Mpls-te-frr-state; - description "Indicates outbound FRR state"; - } - leaf inbound-frr-state { - type Mpls-te-frr-state; - description "Indicates inbound FRR state"; - } - leaf output-interface-lsp { - type string; - description "Output intface of the LSP"; - } - leaf output-label { - type uint32; - description "Output label"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next hop"; - } - leaf frr-output-tunnel-interface { - type string; - description "FRR output tunnel intface"; - } - leaf frr-output-label { - type uint32; - description "FRR output label"; - } - leaf backup-status { - type Mpls-te-backup-status; - description "Backup status"; - } - leaf bandwidth-pool-type { - type Mpls-te-bw-pool; - description "Bandwidth pool type"; - } - leaf bandwidth-limit-type { - type Mpls-te-bw-limit; - description "Bandwidth limit type"; - } - leaf original-input-interface { - type string; - description "Input intface of the LSP"; - } - leaf input-label { - type uint32; - description "Input label"; - } - leaf previous-hop-address { - type inet:ipv4-address; - description "Previous hop"; - } - leaf backup-bandwidth { - type uint32; - description "Backup bandwidth"; - } - leaf frr-output-interface { - type string; - description "Output interface of bkup tunnel"; - } - leaf backup-next-hop-address { - type inet:ipv4-address; - description "S2L Nexthop of the backup tunnel"; - } - leaf lsp-bandwidth-type { - type Mpls-te-bw-pool; - description "LSP bandwidth type"; - } - leaf sharing-type { - type Mpls-te-frr-sharing; - description "Outgoing i/f Sharing type"; - } - leaf is-p2mp-tunnel { - type boolean; - description "Is P2P or P2MP Tunnel"; - } - leaf sub-group-original-id { - type inet:ipv4-address; - description "S2L Sub-Group Originator ID"; - } - leaf sub-group-id-xr { - type uint16; - description "S2L Sub-Group ID"; - } - leaf p2mp-id-xr { - type uint32; - description "S2L P2MP ID"; - } - } - - grouping MPLS-TE-FASTREROUTE-BAG { - description "MPLS TE Fast Reroute Information"; - leaf backup-tunnel-id { - type uint32; - description "Backup tunnel ID"; - } - leaf backup-tunnel-name-xr { - type string; - description "Backup tunnel name"; - } - leaf backup-status { - type Mpls-te-backup-status; - description "Backup state"; - } - leaf backup-type { - type Mpls-te-backup; - description "Backup type"; - } - leaf backup-usage { - type Mpls-te-backup-usage; - description "Backup usage"; - } - leaf prot-interface-autobackup-config { - type Auto-backup-protection; - description "Protected interface Autobackup config"; - } - leaf prot-interface-srlg-config { - type Auto-backup-srlg-mode; - description "Protected interface SRLG config"; - } - leaf tunnel-attribute-set-name { - type string; - description "Attribute Set Name"; - } - leaf has-attribute-set { - type boolean; - description - "TRUE if the auto-backup has an attribute set - defined"; - } - leaf is-attribute-set-in-db { - type boolean; - description - "Flag to indicate the existence of attribute set - found in database"; - } - leaf recreate-timer-is-running { - type boolean; - description "Indicates if the recreate timer is running"; - } - leaf recreate-remaining-time { - type uint32; - units "second"; - description "Time Remaining in Recreate Timer (seconds)"; - } - leaf source-address { - type inet:ipv4-address; - description "Backup's source"; - } - leaf destination-address { - type inet:ipv4-address; - description "Backup's destination"; - } - leaf general-status { - type Mpls-te-tunnel-state; - description "Backup's general status"; - } - leaf connection-status { - type Mpls-te-tunnel-state; - description "Backup's connection's status"; - } - leaf output-interface-name { - type string; - description "The output intf of the tunnel"; - } - leaf bandwidth-pool-type { - type Mpls-te-bw-pool; - description "Bandwidth pool type"; - } - leaf bandwidth-limit-type { - type Mpls-te-bw-limit; - description "Bandwidth limit type"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth (kbps)"; - } - leaf tunnel-instance { - type uint32; - description "Tunnel instance"; - } - leaf in-use-bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth currently in use (kbps)"; - } - leaf soft-preempted-in-use-bandwidth { - type uint32; - units "kbit/s"; - description - "Bandwidth soft preempted and rerouted over the - backup(kbps)"; - } - leaf ls-ps { - type uint32; - description "Number of LSPs"; - } - leaf s2l-families { - type uint32; - description "Number of S2L Families"; - } - leaf s2-ls { - type uint32; - description "Number of P2MP S2Ls"; - } - leaf frr-active-ls-ps { - type uint32; - description "Number of LSPs in FRR active state"; - } - leaf frr-active-soft-preempted-ls-ps { - type uint32; - description - "Number of soft preempted LSPs routed over backup"; - } - } - - grouping TE-TUNNEL-AUTOROUTE-DEST { - description "TE TUNNEL AUTOROUTE DEST"; - leaf prefix-address { - type inet:ipv4-address; - description "PrefixAddress"; - } - leaf prefix-length { - type uint32; - description "PrefixLength"; - } - leaf metric { - type uint32; - description "Metric"; - } - leaf install-time { - type uint32; - description "InstallTime"; - } - leaf interface-handle { - type xr:Interface-name; - description "InterfaceHandle"; - } - } - - grouping TE-TUNNEL-AUTOROUTE-DESTINATIONS { - description "TE TUNNEL AUTOROUTE DESTINATIONS"; - leaf tunnel-id-xr { - type uint16; - description "tunnel id xr"; - } - - list tunnel-autoroute-dest { - description "tunnel autoroute dest"; - uses TE-TUNNEL-AUTOROUTE-DEST; - } - } - - grouping TE-SYNC-STATUS-MASTER-INFO { - description "Master Sync status information"; - - container idt { - description "Sync status IDT information"; - uses TE-SYNC-IDT-INFO; - } - } - - grouping TE-S2L-PENDING-INFO { - description "Sync pending S2L information"; - leaf pending-reason { - type Te-sync-pending-reason; - description "Pending reason"; - } - leaf signaled-name { - type string; - description "Signaled name"; - } - leaf s2l-role { - type Mpls-te-tunnel-role; - description "S2L role"; - } - } - - grouping TE-VIF-PENDING-INFO { - description "Sync pending VIF information"; - leaf pending-reason { - type Te-sync-pending-reason; - description "Pending reason"; - } - leaf tunnel-name { - type string; - description "Tunnel name"; - } - } - - grouping TE-IDT-STATUS { - description "IDT status information"; - leaf is-ready-status { - type boolean; - description "Ready status"; - } - leaf reason { - type Te-sync-not-ready-reason; - description "Not ready reason"; - } - leaf idt-start-time { - type uint32; - units "second"; - description "IDT start timestampe in seconds"; - } - leaf idt-end-time { - type uint32; - units "second"; - description "IDT end timestampe in seconds"; - } - leaf declare-time { - type uint32; - units "second"; - description "Declare ready timestampe in seconds"; - } - leaf withdraw-time { - type uint32; - units "second"; - description "Withdraw ready timestampe in seconds"; - } - } - - grouping TE-SYNC-IDT-INFO { - description "Sync Status information"; - - container current-idt-info { - description "Current IDT information"; - uses TE-IDT-STATUS; - } - - container previous-idt-status { - description "Previous IDT information"; - uses TE-IDT-STATUS; - } - } - - grouping TE-SYNC-STATUS-SLAVE-INFO { - description "Sync status slave Information"; - - container idt { - description "Sync status IDT information"; - uses TE-SYNC-IDT-INFO; - } - leaf insync-tunnels { - type uint32; - description "Tunnels in sync"; - } - leaf insync-sub-ls-ps { - type uint32; - description "Sub-LSPs in sync"; - } - leaf pending-tunnels { - type uint32; - description "Tunnels in sync pending"; - } - leaf pending-sub-ls-ps { - type uint32; - description "Sub-LSPs in sync pending"; - } - - list vif-pending { - description "Pending tunnels details"; - uses TE-VIF-PENDING-INFO; - } - - list s2l-pending { - description "Pending sub-LSPs details"; - uses TE-S2L-PENDING-INFO; - } - } - - grouping TE-SYNC-STATUS-INFO { - description - "Sync information for the NSR and ISSU based on - master or slave role"; - - container slave-sync-information { - when "../sync-show-type = 'slave-sync-status-show'" { - description "../SyncShowType = 'SlaveSyncStatusShow'"; - } - description "Slave sync information"; - uses TE-SYNC-STATUS-SLAVE-INFO; - } - - container master-sync-information { - when "../sync-show-type = 'master-sync-status-show'" { - description "../SyncShowType = 'MasterSyncStatusShow'"; - } - description "Master sync information"; - uses TE-SYNC-STATUS-MASTER-INFO; - } - leaf sync-show-type { - type Te-sync-status-show; - description "SyncShowType"; - } - } - - grouping TE-NSR-ISSU-STATUS-INFO { - description "NSR/ISSU sync status information"; - - container sync-status-information { - description "Sync information for the NSR and ISSU"; - uses TE-SYNC-STATUS-INFO; - } - leaf role { - type Te-proc-role; - description "Process role"; - } - } - - grouping MPLS-TE-DSTE-CLASS { - description "A DSTE class"; - leaf class-number { - type uint8; - description "The DS-TE class number from 0 to 7"; - } - leaf class-type { - type uint8; - description "The class type of the TE class"; - } - leaf priority { - type uint8; - description "The priority of the TE class"; - } - leaf class-status { - type Mpls-te-dste-class-status; - description "The status of the TE class"; - } - } - - grouping MPLS-TE-DSTE-CLASSES { - description " A set of DSTE classes"; - - list te-class { - max-elements "8"; - description "te class"; - uses MPLS-TE-DSTE-CLASS; - } - } - - grouping MPLS-TE-TOPO-SRLG-LINK { - description "SRLG link address data"; - - container link-address-generic { - description "Link address"; - uses TE-ADDR; - } - leaf link-address { - type inet:ipv4-address; - description "Link address"; - } - leaf te-router-id { - type inet:ipv4-address; - description "Link TE router-id"; - } - } - - grouping MPLS-TE-TOPO-SRLG-AREA { - description "A MPLS TE topology link in a SRLG"; - leaf igp-type { - type Igp-protocol; - description "IGP type"; - } - leaf igp-instance { - type string; - description "IGP Instance name"; - } - leaf igp-area { - type uint32; - description "IGP Area ID"; - } - leaf igp-area-format { - type Igp-ospf-area-format; - description "IGP-area format"; - } - - list srlg-link { - description "Links in this SRLG/area"; - uses MPLS-TE-TOPO-SRLG-LINK; - } - } - - grouping MPLS-TE-TOPO-SRLG { - description "A SRLG entry in the MPLS TE topology"; - leaf srlg-name { - type string; - description "SRLG name"; - } - leaf admin-weight { - type uint32; - description - "The admin weight that is added to the link if - the SRLG is shared with the protected link"; - } - - list srlg-areas { - description "Topology areas in this SRLG"; - uses MPLS-TE-TOPO-SRLG-AREA; - } - } - - grouping MPLS-TE-TOPO-CFG-SRLG-LINK { - description "A link associated with configured SRLG"; - leaf local-address { - type inet:ipv4-address; - description "Local address"; - } - leaf remote-address { - type inet:ipv4-address; - description "Remote address"; - } - } - - grouping MPLS-TE-TOPO-CFG-SRLG { - description "A configured SRLG entry"; - leaf srlg-number-xr { - type uint32; - description "SRLG number"; - } - leaf srlg-name { - type string; - description "SRLG name"; - } - leaf admin-weight { - type uint32; - description - "The admin weight that is added to the link if - the SRLG is shared with the protected link"; - } - leaf is-admin-weight-configured { - type boolean; - description - "Set to TRUE if the admin weight is explicitely - configured"; - } - - list srlg-link { - description "Link associated with the SRLG"; - uses MPLS-TE-TOPO-CFG-SRLG-LINK; - } - } - - grouping MPLS-TE-TOPOLOGY-PATH-BAG { - description "MPLS TE Topology Path Information"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - leaf tunnel-id-xr { - type uint32; - description "The tunnel ID to which this path belong"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "The path's destination"; - } - leaf is-partial-path { - type boolean; - description "TRUE if path is partial"; - } - leaf is-full-path { - type boolean; - description "TRUE if path is full"; - } - leaf is-topology-checked { - type boolean; - description "TRUE if checking the topology is enabled"; - } - leaf is-segment-routing-db-checked { - type boolean; - description - "TRUE if checking the Segment-Routing DB is - enabled"; - } - leaf requested-bandwidth { - type uint64; - description "The path's requested bandwidth"; - } - leaf bandwidth-type { - type uint64; - description "The path's bandwidth type"; - } - leaf mininum-bandwidth { - type uint64; - description "The path's minimum bandwidth"; - } - leaf accumulated-admin-weight { - type uint64; - description "The path's accumulated admin weight"; - } - leaf setup-priority-xr { - type uint32; - description "The path's setup priority"; - } - leaf hold-priority-xr { - type uint32; - description "The path's hold priority"; - } - leaf node-hop-count { - type uint8; - description "Path hop count"; - } - leaf exclude-srlg-address { - type inet:ipv4-address; - description "The Exclude SRLG IP Addr"; - } - list hop { - description "The path's array of hops"; - leaf entry { - type inet:ipv4-address; - } - } - - list shared-risk-link-group { - description "The path's excluded srlg groups"; - uses MPLS-SRLG-INFO; - } - - list sr-segment { - description "The path's array of Segment-Routing segments"; - uses TE-S2L-SR-PATH-HOP; - } - } - - grouping MPLS-TE-AREA-INFO { - description "Global information for an MPLS-TE area"; - - container local-sid-and-srbg { - description "Local SID and SRBG"; - uses TE-SR-NODE-INFO; - } - leaf protocol { - type Igp-protocol; - description "Protocol used"; - } - leaf node-id { - type string; - description "The node's IGP id"; - } - leaf area-id { - type string; - description "The area's id"; - } - } - - grouping MPLS-TE-TOPOLOGY-GLOBAL-INFO-BAG { - description "MPLS TE Topology Global Information"; - leaf hold-down-interval { - type uint32; - units "second"; - description - "Interval in seconds to hold down a neighbor - after a signalling error"; - } - leaf link-add-remove-count { - type uint32; - description "Link add/remove counter"; - } - leaf local-model-id { - type uint32; - description "Local BC Model ID"; - } - - list areas { - description "Information for areas"; - uses MPLS-TE-AREA-INFO; - } - } - - grouping MPLS-TE-LSP-WRAP-PROTECTION-BAG { - description "MPLS TE LSP Wrap Protected LSP Information"; - leaf source-address-xr { - type inet:ipv4-address; - description "Source"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "Destination"; - } - leaf tunnel-id-xr { - type uint16; - description "Tunnel ID"; - } - leaf extended-tunnel-id-xr { - type inet:ipv4-address; - description "Extended Tunnel ID"; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf tunnel-instance { - type uint32; - description "Tunnel instance"; - } - leaf lsp-wrap-protection-enable { - type boolean; - description "LSP Wrap protection enabled"; - } - leaf lsp-wrap-protection-label { - type uint32; - description "LSP Wrap Merge Point Label"; - } - leaf reverse-egress-interface { - type string; - description "Reverse Egress Interface"; - } - leaf reverse-lsp-label { - type uint32; - description "Reverse LSP label"; - } - leaf lsp-wrap-protection-state { - type Mpls-te-lsp-wrap-state; - description "LSP wrap protection state"; - } - leaf sub-group-original-id { - type inet:ipv4-address; - description "S2L Sub-Group Originator ID"; - } - leaf sub-group-id-xr { - type uint16; - description "S2L Sub-Group ID"; - } - leaf p2mp-id-xr { - type uint32; - description "S2L P2MP ID"; - } - } - - grouping TE-NEXTHOP-PATH { - description "TE NEXTHOP PATH"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf address { - type inet:ipv4-address; - description "Address"; - } - leaf abr-address { - type inet:ipv4-address; - description "ABRAddress"; - } - } - - grouping TE-RIB-ROUTE-BAG { - description "TE RIB ROUTE BAG"; - leaf route-protocol-name { - type string; - description "RouteProtocolName"; - } - leaf route-distance { - type uint32; - description "RouteDistance"; - } - leaf route-metric { - type uint32; - description "RouteMetric"; - } - leaf last-update-time { - type uint32; - description "LastUpdateTime"; - } - leaf is-registered { - type boolean; - description "IsRegistered"; - } - leaf is-stale { - type boolean; - description "IsStale"; - } - leaf is-default { - type boolean; - description "IsDefault"; - } - leaf is-connected { - type boolean; - description "IsConnected"; - } - leaf is-populated { - type boolean; - description "IsPopulated"; - } - leaf route-type { - type uint16; - description "RouteType"; - } - - list next-hop-path { - description "next hop path"; - uses TE-NEXTHOP-PATH; - } - } - - grouping TE-TUNNEL-PATH { - description "TE TUNNEL PATH"; - leaf tunnel-id { - type uint16; - description "TunnelID"; - } - leaf interface-handle { - type xr:Interface-name; - description "InterfaceHandle"; - } - leaf install-time { - type uint32; - description "InstallTime"; - } - leaf installed-metric { - type uint32; - description "InstalledMetric"; - } - } - - grouping TE-NEXTHOP-ROUTE { - description "TE NEXTHOP ROUTE"; - - container active-route { - description "active route"; - uses TE-RIB-ROUTE-BAG; - } - - container backup-route { - description "backup route"; - uses TE-RIB-ROUTE-BAG; - } - leaf prefix-address-xr { - type inet:ipv4-address; - description "prefix address xr"; - } - leaf prefix-length-xr { - type uint32; - description "prefix length xr"; - } - leaf exact-match { - type boolean; - description "ExactMatch"; - } - leaf create-time { - type uint32; - description "CreateTime"; - } - leaf last-used-time { - type uint32; - description "LastUsedTime"; - } - leaf expire-time { - type uint32; - description "ExpireTime"; - } - leaf installed-tunnel-path-num { - type uint32; - description "InstalledTunnelPathNum"; - } - - list tunnel-path { - description "tunnel path"; - uses TE-TUNNEL-PATH; - } - } - - grouping TE-SH-IGP-AREA-STATS { - description "Statistics for an IGP-area"; - leaf area-adjacency-request-messages { - type uint32; - description "Number of adjacency request messages sent"; - } - leaf area-adjacency-announce-messages { - type uint32; - description - "Number of adjacency announcement messages - received"; - } - leaf area-flood-messages { - type uint32; - description "Number of local LSA floods sent"; - } - leaf area-lsa-announce-messages { - type uint32; - description "Number of LSA announcement messages received"; - } - leaf area-lsa-fragment-announce-messages { - type uint32; - description - "Number of LSA fragment announcement messages - received"; - } - leaf area-lsa-delete-messages { - type uint32; - description "Number of LSA delete messages received"; - } - leaf area-lsa-fragment-delete-messages { - type uint32; - description "Number of LSA fragment delete messages received"; - } - leaf area-tunnel-announce-messages { - type uint32; - description "Number of tunnel announcement messages sent"; - } - } - - grouping TE-SH-IGP-AREA-ACTIVE { - description "Data relating to an active IGP area"; - - container area-statistics { - description "Area communication statistics"; - uses TE-SH-IGP-AREA-STATS; - } - leaf interfaces-count { - type uint32; - description "Number of interfaces running over this area"; - } - leaf link-idt-received { - type boolean; - description - "Flag to indicate IDT for link adjacencies was - received"; - } - leaf topology-idt-received { - type boolean; - description "Flag to indicate IDT topology was received"; - } - leaf sr-strict { - type boolean; - description "Flag to indicate if the area is SR strict"; - } - leaf p2p-heads-count { - type uint32; - description - "Number of p2p tunnel heads whose path was - calculated over this area"; - } - leaf p2p-autoroute-announced-count { - type uint32; - description - "Number of p2p tunnel heads which have been - autoroute-announced into this area"; - } - leaf p2p-forwarding-adjacency-count { - type uint32; - description - "Number of p2p tunnel heads which have been - announced as forwarding adjacencies in this area"; - } - leaf p2mp-destination-count { - type uint32; - description - "Number of P2MP destinations whose path was - calculated over this area"; - } - leaf tunnel-loose-hops { - type uint32; - description - "Number of tunnels with a loose hop ERO expanded - in this area"; - } - } - - grouping TE-SH-IGP-AREA { - description "An IGP area"; - - container active-data { - description "Data which applies only to an active area"; - uses TE-SH-IGP-AREA-ACTIVE; - } - leaf area-index { - type uint32; - description "Internal area index"; - } - leaf area-number { - type uint32; - description "Area number"; - } - leaf area-format { - type Igp-ospf-area-format; - description "IGP Area Format"; - } - leaf is-config-ready { - type boolean; - description - "Indicates whether or not the area is correctly - configured under the IGP submode to run TE"; - } - } - - grouping TE-SH-IGP { - description "An IGP instance"; - leaf igp-type { - type Igp-protocol; - description "IGP type"; - } - leaf instance-name { - type string; - description " The IGP instance name"; - } - leaf igp-system-id { - type string; - description - " The IGP instance's system/router-id; interpret - appropriately depending on IGP type"; - } - leaf configured-te-router-id { - type inet:ipv4-address; - description "Configured TE router-id"; - } - leaf global-router-id { - type inet:ipv4-address; - description "Global router-id"; - } - leaf globall-router-id-optical { - type inet:ipv4-address; - description "Global router-id for GMPLS (optical TE)"; - } - leaf in-use-te-router-id { - type inet:ipv4-address; - description "TE router-id in use"; - } - leaf is-connection-up { - type boolean; - description - "Flag to indicate whether the IGP connection is - open or not"; - } - leaf connection-up-count { - type uint32; - description "Number of times IGP connection has gone up"; - } - leaf connection-down-count { - type uint32; - description "Number of times IGP connection has gone down"; - } - list secondary-router-id { - description "Secondary router-ids"; - leaf entry { - type inet:ipv4-address; - } - } - - list area { - description "IGP area information"; - uses TE-SH-IGP-AREA; - } - } - - grouping MPLS-TE-FWD-ADJ-INFO { - description "A forwarding-adjacency"; - leaf tunnel-name { - type string; - description "The tunnel name"; - } - leaf traffic-share { - type uint32; - description "Traffic Share"; - } - leaf hold-time { - type uint32; - units "second"; - description "Hold time in seconds"; - } - leaf is-adjacency-up { - type boolean; - description "True if adj is up"; - } - - list ig-ps { - description "List of IGPs to which it is announced"; - uses MPLS-TE-AREA-AFI-INFO; - } - } - - grouping MPLS-TE-FWD-ADJ-BAG { - description " A list of forwarding-adjacencies"; - leaf adjacencies { - type uint32; - description "Number of Forwarding Adjacencies"; - } - leaf ipv6-adjacencies { - type uint32; - description "Number of IPv6 Forwarding Adjacencies"; - } - leaf destination-address-xr { - type inet:ipv4-address; - description "The tunnel destination"; - } - - list forward-adjacency { - description "Forwarding-adjacency list"; - uses MPLS-TE-FWD-ADJ-INFO; - } - } - - grouping MPLS-TE-AUTOTUN-BACKUP-CONFIG-INFO { - description - "Auto-tunnel backup feature configuration - information"; - leaf is-configured { - type boolean; - description - "Indicate if auto-tunnel bacukp feature is - configured "; - } - leaf interface-count { - type uint32; - description - "Number of TE link interfaces with auto-tunnel - backup configured"; - } - leaf unused-removal-timeout-configured { - type uint32; - units "second"; - description - "Configured value of unused removal timer in - seconds"; - } - leaf min-tunnel-id { - type uint16; - description "Lower bound of configured tunnel ID range"; - } - leaf max-tunnel-id { - type uint16; - description "Upper bound of configured tunnel ID range"; - } - } - - grouping MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO { - description "Autotunnel backup summary information"; - leaf autobackups { - type uint32; - description "Total number of autobackup tunnels"; - } - leaf up-autobackups { - type uint32; - description "Total number of autobackup tunnels that are up"; - } - leaf down-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are down"; - } - leaf unused-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are - unused"; - } - leaf next-hop-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are NHOP"; - } - leaf next-next-hop-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are - NNHOP"; - } - leaf srlg-strict-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are - using SRLG strict"; - } - leaf srlg-preferred-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are - using SRLG preferred"; - } - leaf srlg-weighted-autobackups { - type uint32; - description - "Total number of autobackup tunnels that are - using weighted SRLG"; - } - leaf next-hop-autobackup-protected-ls-ps { - type uint32; - description - "Total number of autobackup protected LSPs with - NHOP and no SRLG"; - } - leaf next-next-hop-autobackup-protected-ls-ps { - type uint32; - description - "Total number of autobackup protected LSPs with - NNHOP and no SRLG"; - } - leaf next-hop-srlg-autobackup-protected-ls-ps { - type uint32; - description - "Total number of autobackup protected LSPs with - NHOP and SRLG"; - } - leaf next-next-hop-srlg-autobackup-protected-ls-ps { - type uint32; - description - "Total number of autobackup protected LSPs with - NNHOP and SRLG"; - } - leaf next-hop-autobackup-protected-s2l-families { - type uint32; - description - "Total number of autobackup protected S2L - Families with NHOP and no SRLG"; - } - leaf next-next-hop-autobackup-protected-s2l-families { - type uint32; - description - "Total number of autobackup protected S2L - Families with NNHOP and no SRLG"; - } - leaf next-hop-srlg-autobackup-protected-s2l-families { - type uint32; - description - "Total number of autobackup protected S2L - Families with NHOP and SRLG"; - } - leaf next-next-hop-srlg-autobackup-protected-s2l-families { - type uint32; - description - "Total number of autobackup protected S2L - Families with NNHOP and SRLG"; - } - leaf next-hop-autobackup-protected-s2-ls { - type uint32; - description - "Total number of autobackup protected S2Ls with - NHOP and no SRLG"; - } - leaf next-next-hop-autobackup-protected-s2-ls { - type uint32; - description - "Total number of autobackup protected S2Ls with - NNHOP and no SRLG"; - } - leaf next-hop-srlg-autobackup-protected-s2-ls { - type uint32; - description - "Total number of autobackup protected S2Ls with - NHOP and SRLG"; - } - leaf next-next-hop-srlg-autobackup-protected-s2-ls { - type uint32; - description - "Total number of autobackup protected S2Ls with - NNHOP and SRLG"; - } - } - - grouping MPLS-TE-AUTOTUN-BACKUP-TUNNEL-INFO { - description "Auto-tunnel backup brief tunnel information"; - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf operational-status { - type Mpls-te-tunnel-state; - description "Tunnel operational status"; - } - leaf srlg-mode { - type Auto-backup-srlg-mode; - description "SRLG exclude mode for this auto-tunnel backup"; - } - leaf atb-protection-type { - type Auto-backup-protection; - description - "Type of protection offered by this auto-tunnel - backup"; - } - leaf protected-flows { - type uint32; - description "Number of protected flows"; - } - leaf protected-interface-name { - type string; - description "Interface protected by this auto-tunnel backup"; - } - leaf protected-router-id { - type inet:ipv4-address; - description - "Router ID of node protected by this auto-tunnel - backup"; - } - } - - grouping MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO { - description "Autotunnel mesh onehop summary information"; - leaf auto-mesh-one-hop-tunnels { - type uint32; - description "Total number of automesh onehop tunnels"; - } - leaf up-auto-mesh-one-hop-tunnels { - type uint32; - description - "Total number of automesh onehop tunnels that are - up"; - } - leaf down-auto-mesh-one-hop-tunnels { - type uint32; - description - "Total number of automesh onehop tunnels that are - down"; - } - leaf frr-auto-mesh-tunnels { - type uint32; - description - "Total number of automesh onehop tunnels that are - FRR enabled"; - } - leaf auto-mesh-one-hop-groups { - type uint32; - description "Total number of automesh onehop mesh-groups"; - } - leaf auto-mesh-one-hop-destinations { - type uint32; - description "Total number of automesh onehop destinations"; - } - } - - grouping MPLS-TE-AUTOMESH-ONEHOP-TUNNEL { - description "TE Automesh Onehop Tunnel"; - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination Address"; - } - leaf tunnel-lspid { - type uint16; - description "LSP ID"; - } - leaf mesh-group-id { - type uint32; - description "Meshgroup ID"; - } - leaf tunnel-state { - type Mpls-te-tunnel-state; - description "Tunnel state"; - } - } - - grouping MPLS-TE-AUTOMESH-ONEHOP-INTERFACE { - description "TE Automesh Onehop Interface"; - leaf interface-name-xr { - type string; - description "Interface name"; - } - - list tunnel { - description "Onehop tunnels created for this interface"; - uses MPLS-TE-AUTOMESH-ONEHOP-TUNNEL; - } - } - - grouping MPLS-TE-AUTOTUN-MESH-CONFIG-INFO { - description - "Auto-tunnel mesh feature configuration - information"; - leaf is-configured { - type boolean; - description - "Indicate if auto-tunnel mesh feature is - configured "; - } - leaf unused-removal-timeout-configured { - type uint32; - units "second"; - description - "Configured value of unused removal timer in - seconds"; - } - leaf min-tunnel-id { - type uint16; - description "Lower bound of configured tunnel ID range"; - } - leaf max-tunnel-id { - type uint16; - description "Upper bound of configured tunnel ID range"; - } - } - - grouping MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO { - description "Autotunnel mesh summary information"; - leaf auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels"; - } - leaf up-auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels that are up"; - } - leaf down-auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels that are down"; - } - leaf frr-auto-mesh-tunnels { - type uint32; - description - "Total number of automesh tunnels that are FRR - enabled"; - } - leaf auto-mesh-groups { - type uint32; - description "Total number of automesh mesh-groups"; - } - leaf auto-mesh-destinations { - type uint32; - description "Total number of automesh destinations"; - } - } - - grouping MPLS-TE-MESHGROUP-DEST { - description "TE Meshgroup destination info"; - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf operational-status { - type Mpls-te-tunnel-state; - description "Tunnel operational status"; - } - leaf remaining-time { - type uint32; - units "second"; - description "Remaining time for unused timer in seconds"; - } - } - - grouping MPLS-TE-MESHGROUP { - description "TE Meshgroup info"; - leaf mesh-group-id-xr { - type uint32; - description "Meshgroup ID"; - } - leaf is-meshgroup-disabled { - type boolean; - description "Is the meshgroup disabled"; - } - leaf attribute-set-name { - type string; - description "Attribute set name"; - } - leaf is-attribute-set-configured { - type boolean; - description - "Is any attribute-set associated to this - meshgroup"; - } - leaf is-attribute-set-in-db { - type boolean; - description - "Flag to indicate the existence of attribute set - found in database"; - } - leaf destination-list-name { - type string; - description "Destination List name"; - } - leaf is-destination-list-configured { - type boolean; - description - "Is any destiantion-list associated to this - meshgroup"; - } - leaf destination-list-type { - type Te-acl; - description "Type of the destlist"; - } - leaf remaining-time { - type uint32; - units "second"; - description "Remaining time for recreate timer in seconds"; - } - leaf auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels"; - } - leaf auto-mesh-total-destinations { - type uint32; - description "Total number of destinations"; - } - leaf up-auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels that are up"; - } - leaf down-auto-mesh-tunnels { - type uint32; - description "Total number of automesh tunnels that are down"; - } - leaf frr-auto-mesh-tunnels { - type uint32; - description - "Total number of automesh tunnels that are FRR - enabled"; - } - leaf auto-mesh-group-type { - type Te-meshgroup; - description "Meshgroup Type"; - } - - list destination { - description "List of destinations for this meshgroup"; - uses MPLS-TE-MESHGROUP-DEST; - } - } - - grouping MPLS-TE-AUTOTUN-PCC-SUMMARY-INFO { - description - "Stateful PCE client auto-tunnel summary - information"; - leaf pcc-auto-tunnel { - type uint32; - description - "Total number of stateful PCE client auto-tunnels"; - } - leaf up-pcc-auto-tunnels { - type uint32; - description - "Total number of stateful PCE client auto-tunnels - that are up"; - } - leaf down-pcc-auto-tunnels { - type uint32; - description - "Total number of stateful PCE client auto-tunnels - that are down"; - } - } - - grouping MPLS-TE-P2MP-TIMER-B { - description "Description of a P2MP timer"; - leaf timer-type { - type Mpls-te-p2mp-timer; - description "Timer Type"; - } - leaf timer-name { - type string; - description "Timer Name"; - } - leaf start-time { - type uint32; - units "second"; - description "Date when timer was last started in seconds"; - } - leaf expiry-time { - type uint32; - units "second"; - description "Date when the timer last expired in seconds"; - } - leaf stop-time { - type uint32; - units "second"; - description "Date when the timer was last stopped in seconds"; - } - leaf duration { - type uint32; - units "second"; - description "The expiry delay in seconds"; - } - leaf is-running { - type boolean; - description "True if the timer is running"; - } - } - - grouping MPLS-TE-P2MP-TIMERS-B { - description "Description of P2MP timers"; - - list p2mp-timer { - max-elements "29"; - description "Description of all P2MP timers"; - uses MPLS-TE-P2MP-TIMER-B; - } - } - - grouping MPLS-TE-AREA-AFI-INFO { - description "IGP area information including AFI"; - leaf igp-area-id { - type string; - description "The IGP Instance and Area ID"; - } - leaf afi { - type Mpls-te-afi; - description "AFI"; - } - } - - grouping MPLS-TE-AUTOROUTE-BAG { - description "MPLS TE Autoroute Information"; - leaf tunnel-name { - type string; - description "The tunnel name"; - } - leaf tunnel-sig-name { - type string; - description "The tunnel signaled-name"; - } - leaf tunnel-loadshare { - type uint32; - description "Tunnel loadshare"; - } - leaf announce-type { - type Mpls-te-tunnel-announce; - description "Announcement type"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "The tunnel destination"; - } - leaf mode { - type Igpte-aa-metric-mode; - description "Autoroute mode"; - } - leaf igp-metric { - type int32; - description "IGP metric"; - } - leaf hold-time { - type uint32; - units "second"; - description "Hold time in seconds"; - } - leaf area-format { - type Igp-ospf-area-format; - description "IGP Area Format"; - } - leaf is-auto-mesh-aa { - type boolean; - description "True if this is auto-tunnel mesh AA"; - } - leaf is-sr { - type boolean; - description "True if this is a segment routing tunnel"; - } - leaf is-sr-strict { - type boolean; - description "True if this is a strict SID SR tunnel"; - } - leaf mesh-group-idaa { - type uint32; - description "MeshGroup ID for AA"; - } - leaf is-exclude-segment-routing { - type boolean; - description - "True if autoroute-announce has exclude - segment-routing option"; - } - - list ig-ps { - description "List of IGPs to which it is announced"; - uses MPLS-TE-AREA-AFI-INFO; - } - } - - grouping MPLS-TE-ANNOUNCEMENT-DEST-BAG { - description - "The summary info of announcements for a - destination and an IGP area"; - leaf igp-type { - type Igp-protocol; - description "IGP type"; - } - leaf igp-instance { - type string; - description "IGP Instance name"; - } - leaf igp-area { - type uint32; - description "IGP Area ID"; - } - leaf destination { - type inet:ipv4-address; - description "Destination"; - } - leaf announced-tunnels-count { - type uint16; - description "The number of announced tunnels"; - } - leaf autorouted-tunnels-count { - type uint16; - description - "The number of tunnels that are announced as - shortcuts"; - } - leaf forwarding-adjacency-tunnels-count { - type uint16; - description - "The number of tunnels that are announced as - forwarding adjacencies"; - } - leaf area-format { - type Igp-ospf-area-format; - description - "The format for the area: IPv4 address or a - positive integer"; - } - - list total-tunnel { - description "Announced tunnels for this destination"; - uses MPLS-TE-AUTOROUTE-BAG; - } - } - - grouping MPLS-TE-TOPOLOGY-LINK-BW-STD-DETAIL { - description "Detailed DSTE bandwidth information for a link"; - list topo-link-std-bw-allocated { - max-elements "8"; - - description "Link's allocated bandwidth per class"; - leaf entry { - type uint32; - } - } - list topo-link-std-bw-available { - max-elements "8"; - - description "Link's available bandwidth per class"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-TOPOLOGY-LINK-BW-STD { - description - "IETF_standard bandwidth information for a link - belonging to a node in the MPLS TE topology"; - - container topo-link-std-bw-detail { - description "Detailed bandwidth information for this link"; - uses MPLS-TE-TOPOLOGY-LINK-BW-STD-DETAIL; - } - leaf topo-link-std-bw-physical { - type uint32; - description "The link's physical bandwidth"; - } - leaf topo-link-std-bw-res-max { - type uint32; - description "The link's maximum reservable bandwidth"; - } - leaf topo-link-std-bw-res-pool0 { - type uint32; - description "The link's reservable BC0 bandwidth"; - } - leaf topo-link-std-bw-res-pool1 { - type uint32; - description "The link's reservable BC1 bandwidth"; - } - } - - grouping MPLS-TE-TOPOLOGY-LINK-BW-PRESTD-DETAIL { - description - "Detailed pre-standard bandwidth information for a - link"; - list topology-link-prestandard-bandwidth-allocated { - max-elements "8"; - - description - - "Link's allocated bandwidth at priority levels - - (priority 0 to priority 7)"; - leaf entry { - type uint32; - } - } - list topology-link-prestandard-bandwidth-available-global { - max-elements "8"; - - description - - "Link's available global-pool bandwidth at - - priority levels (priority 0 to priority 7)"; - leaf entry { - type uint32; - } - } - list topology-link-prestandard-bandwidth-available-subpool { - max-elements "8"; - - description - - "Link's available sub-pool bandwidth at priority - - levels (priority 0 to priority 7)"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-TOPOLOGY-LINK-BW-PRESTD { - description - "Pre-standard bandwidth information for a link - belonging to a node in the MPLS TE topology"; - - container topology-link-prestandard-bandwidth-detail { - description "Detailed bandwidth information for this link"; - uses MPLS-TE-TOPOLOGY-LINK-BW-PRESTD-DETAIL; - } - leaf topology-link-prestandard-bandwidth-physical { - type uint32; - description "The link's physical bandwidth"; - } - leaf topology-link-prestandard-bandwidth-reservation-global { - type uint32; - description "The link's reservable global bandwidth"; - } - leaf topology-link-prestandard-bandwidth-reservation-subpool { - type uint32; - description "The link's reservable subpool bandwidth"; - } - } - - grouping MPLS-TE-TOPOLOGY-LINK-BW { - description "Bandwidth information for a link"; - - container topology-link-bandwidth-prestandard { - when "../bandwidth-migration-mode ="+ - " 'rrr-dste-mode-prestandard'" { - description - "../BandwidthMigrationMode = - 'RRR_DSTEModePrestandard'"; - } - description - "Pre-standard bandwidth information for this link"; - uses MPLS-TE-TOPOLOGY-LINK-BW-PRESTD; - } - - container topology-link-bandwidth-standard { - when "../bandwidth-migration-mode ="+ - " 'rrr-dste-mode-standard'" { - description - "../BandwidthMigrationMode = - 'RRR_DSTEModeStandard'"; - } - description - "IETF-standard bandwidth information for this - link"; - uses MPLS-TE-TOPOLOGY-LINK-BW-STD; - } - leaf bandwidth-migration-mode { - type Rrr-dste-migration-mode; - description "BandwidthMigrationMode"; - } - } - - grouping MPLS-TE-TOPOLOGY-LINK { - description - "A link belonging to a node in the MPLS TE - topology"; - - container topology-link-bandwidth { - description "Bandwidth information for this link"; - uses MPLS-TE-TOPOLOGY-LINK-BW; - } - - container odu-link-capabilities { - description "ODU Link Capabilities"; - uses ODU-LINK-CAPABILITIES; - } - leaf topology-link-type { - type Igp-subnet; - description "Link type"; - } - leaf topology-link-interface-address { - type inet:ipv4-address; - description "Link's local interface address"; - } - leaf topology-link-interface-id { - type uint32; - description "Link's local interface ID"; - } - leaf topology-link-neighbor-address { - type inet:ipv4-address; - description "Link's neighbor interface address"; - } - leaf topology-link-neighbor-id { - type uint32; - description "Link's neighbor interface ID"; - } - leaf topology-link-neighbor-system-id { - type string; - description "System id of neighbor"; - } - leaf topology-link-neighbor-node-id { - type uint32; - description "Node id of neighbor"; - } - leaf topology-link-neighbor-generation { - type uint32; - description "Neighbor's link version counter"; - } - leaf topology-link-fragment-id { - type uint32; - description "Neighbor's link version counter"; - } - leaf topology-link-te-metric { - type uint32; - description "The link's TE metric"; - } - leaf topology-link-igp-metric { - type uint32; - description "The link's IGP metric"; - } - leaf topology-link-uni-delay { - type uint32; - description "Unidirectional Link Delay in micro-sec"; - } - leaf topology-link-affinity-bits { - type uint32; - description "Deprecated"; - } - leaf topology-link-switching-capability { - type uint8; - description "The link's switching capability"; - } - leaf topology-link-encoding { - type uint8; - description "The link's encoding"; - } - leaf topology-link-bandwidth-model { - type Igpte-lib-bw-model; - description "The link's topology bandwidth model"; - } - list topology-link-extended-affinity-bit { - description "The link's affinity bits (colors)"; - leaf entry { - type uint32; - } - } - - list shared-risk-link-group { - description "The link's shared risk link groups"; - uses MPLS-SRLG-INFO; - } - - list adjacency-sid { - description "Adjacency SIDs assigned for adjacency nodes"; - uses TE-SR-ADJ-SID; - } - } - - grouping MPLS-TE-TOPOLOGY-NODE { - description "A node in the MPLS TE topology"; - - container topology-node-sid-and-srbg { - description "This node's SID and SRBG information"; - uses TE-SR-NODE-INFO; - } - leaf topology-node-te-router-id { - type inet:ipv4-address; - description - "The node's TE router-id. Not set for network - nodes"; - } - leaf topology-node-overloaded { - type boolean; - description - "Flag to indicate whether this node is overloaded"; - } - - list topology-node-link { - description "This node's link information"; - uses MPLS-TE-TOPOLOGY-LINK; - } - } - - grouping TE-FIB-NH-PATH-BAG { - description "TE FIB NH PATH BAG"; - leaf interface { - type xr:Interface-name; - description "Outgoing Interface"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next Hop Address"; - } - leaf path-id { - type uint32; - description "Path ID"; - } - leaf backup-path-id { - type uint32; - description "Backup Path Identifier"; - } - leaf pure-backup { - type boolean; - description "Pure Backup"; - } - list label-stack { - description "Outgoing Label Stack"; - leaf entry { - type uint32; - } - } - } - - grouping TE-TARGET-ADDR { - description "TE Target Address Union"; - leaf type { - type Te-target-addr; - description "type"; - } - leaf ip-address { - when "../type = 'te-target-type-ipv4'" { - description "../type = 'TETargetTypeIPv4'"; - } - type inet:ipv4-address; - description "IPv4 Address"; - } - leaf label { - when "../type = 'te-target-type-label'" { - description "../type = 'TETargetTypeLabel'"; - } - type uint32; - description "MPLS Label"; - } - } - - grouping TE-FIB-NH-ROUTE-BAG { - description "TE FIB NH ROUTE BAG"; - - container target-address { - description "Next Hop Target Address"; - uses TE-TARGET-ADDR; - } - leaf prefix-addr { - type inet:ipv4-address; - description "Deprecated - replaced by TargetAddress"; - } - leaf create-time { - type uint32; - description "Create Time"; - } - leaf last-used-time { - type uint32; - description "Last Used Time"; - } - leaf last-update-time { - type uint32; - description "Last Update Time"; - } - leaf expire-time { - type uint32; - description "Expire Time"; - } - leaf is-registered { - type boolean; - description "Is Registered"; - } - leaf is-notified { - type boolean; - description "Is Notified"; - } - leaf is-stale { - type boolean; - description "Is Stale"; - } - leaf route-version { - type uint64; - description "Route version"; - } - - list next-hop-path { - description "Next Hop Paths"; - uses TE-FIB-NH-PATH-BAG; - } - } - - grouping NODE-ID { - description "NODE ID"; - leaf node-id { - type string; - description "Node Identifier"; - } - } - - grouping TE-SR-BACKUP-PATH { - description "Segment-Routing backup path"; - leaf outgoing-interface { - type string; - description "Outgoing Interface Name"; - } - leaf next-hop { - type inet:ipv4-address; - description "Next hop"; - } - list outgoing-labels-stack { - description "Outgoing Labels Stack"; - leaf entry { - type uint32; - } - } - list outgoing-strict-labels-stack { - description "Outgoing Labels Stack for Strict SPF"; - leaf entry { - type uint32; - } - } - } - - grouping TE-SR-PRIMARY-PATH { - description "Segment-Routing primary path"; - leaf outgoing-interface { - type string; - description "Outgoing Interface Name"; - } - leaf outgoing-label { - type uint32; - description "Outgoing Label"; - } - leaf outgoing-strict-label { - type uint32; - description "Outgoing Label for Strict SPF"; - } - leaf next-hop { - type inet:ipv4-address; - description "Next hop"; - } - leaf path-id { - type uint32; - description "Path Identifier"; - } - leaf backup-path-id { - type uint32; - description "Backup Path Identifier"; - } - } - - grouping TE-SR-PATH { - description "Segment-Routing path"; - - container primary-path { - description "Primary Segment-Routing Path"; - uses TE-SR-PRIMARY-PATH; - } - - container backup-path { - description "Backup Segment-Routing Path"; - uses TE-SR-BACKUP-PATH; - } - leaf has-backup-path { - type boolean; - description "Backup Path is available"; - } - } - - grouping TE-SR-PREFIX { - description "MPLS TE Segment-Routing Prefix information"; - - container igp-area { - description "An IGP area where the prefix belongs to"; - uses TE-SR-IGP-AREA; - } - leaf prefix-xr { - type inet:ipv4-address; - description "Prefix"; - } - leaf prefix-length-xr { - type uint8; - description "Length of the prefix"; - } - leaf prefix-sid { - type uint32; - description "Segment-Routing prefix SID"; - } - leaf prefix-strict-sid { - type uint32; - description "Segment-Routing prefix Strict SID"; - } - leaf flag-r { - type boolean; - description "Prefix-SID subTLV R-flag"; - } - leaf flag-n { - type boolean; - description "Prefix-SID subTLV N-flag"; - } - leaf flag-p { - type boolean; - description "Prefix-SID subTLV P-flag"; - } - leaf flag-e { - type boolean; - description "Prefix-SID subTLV E-flag"; - } - leaf flag-v { - type boolean; - description "Prefix-SID subTLV V-flag"; - } - leaf flag-l { - type boolean; - description "Prefix-SID subTLV L-flag"; - } - leaf strict-flag-p { - type boolean; - description "Prefix-SID subTLV P-flag for strict SID"; - } - leaf strict-flag-e { - type boolean; - description "Prefix-SID subTLV E-flag for strict SID"; - } - leaf strict-flag-v { - type boolean; - description "Prefix-SID subTLV V-flag for strict SID"; - } - leaf strict-flag-l { - type boolean; - description "Prefix-SID subTLV L-flag for strict SID"; - } - - list sr-path { - description "Segment-Routing paths to prefix"; - uses TE-SR-PATH; - } - - list advertizing-node { - description "Advertizing nodes"; - uses NODE-ID; - } - - list strict-advertizing-node { - description "Advertizing nodes for Strict SPF"; - uses NODE-ID; - } - } - - grouping TE-SR-ADJ-SID { - description "A link's Segment-Routing Adjacency information"; - leaf adjacency-sid { - type uint32; - description - "The adjacency SID assigned for the topology node"; - } - leaf link-type { - type Igp-subnet; - description "Link Type"; - } - leaf local-addr { - type inet:ipv4-address; - description "Local Address"; - } - leaf remote-addr { - type inet:ipv4-address; - description "Remote Address"; - } - leaf nbr-node-igpid { - type string; - description "The neighbor node's IGP ID"; - } - leaf nbr-node-te-router-id { - type inet:ipv4-address; - description "The neigbor node's TE router-id"; - } - leaf flag-f { - type boolean; - description "IGP Flag F"; - } - leaf flag-b { - type boolean; - description "IGP Flag B"; - } - leaf flag-v { - type boolean; - description "IGP Flag V"; - } - leaf flag-l { - type boolean; - description "IGP Flag L"; - } - leaf flag-s { - type boolean; - description "IGP Flag S"; - } - } - - grouping TE-SR-LINK-INFO { - description "A link belonging to a node"; - leaf topology-link-type { - type Igp-subnet; - description "Link type"; - } - leaf topology-link-interface-address { - type inet:ipv4-address; - description "Link's local interface address"; - } - leaf topology-link-interface-id { - type uint32; - description "Link's local interface ID"; - } - leaf topology-link-neighbor-address { - type inet:ipv4-address; - description "Link's neighbor interface address"; - } - leaf topology-link-neighbor-id { - type uint32; - description "Link's neighbor interface ID"; - } - leaf topology-link-neighbor-system-id { - type string; - description "System id of neighbor"; - } - leaf topology-link-neighbor-node-id { - type uint32; - description "Node id of neighbor"; - } - leaf topology-link-neighbor-generation { - type uint32; - description "Neighbor's link version counter"; - } - leaf topology-link-fragment-id { - type uint32; - description "Neighbor's link version counter"; - } - leaf topology-link-te-metric { - type uint32; - description "The link's TE metric"; - } - leaf topology-link-igp-metric { - type uint32; - description "The link's IGP metric"; - } - list topology-link-extended-affinity-bit { - description "The link's affinity bits (colors)"; - leaf entry { - type uint32; - } - } - - list shared-risk-link-group { - description "The link's shared risk link groups"; - uses MPLS-SRLG-INFO; - } - - list adjacency-sids { - description "Adjacency SIDs assigned for adjacency nodes"; - uses TE-SR-ADJ-SID; - } - } - - grouping TE-SR-NODE-INFO { - description "MPLS TE Node's Segment-Routing Information"; - leaf segment-id { - type uint32; - description "Segment-Routing Node-SID"; - } - leaf segment-id-local-absolute-value { - type uint32; - description "Node-SID local absolute value"; - } - leaf srgb-start { - type uint32; - description "Segment-Routring global block start value"; - } - leaf srgb-size { - type uint32; - description "Segment-Routing global block size"; - } - } - - grouping TE-SR-NODE { - description "MPLS TE Segment-Routing Node topology information"; - - container igp-area { - description "IGP area which this node belongs to"; - uses TE-SR-IGP-AREA; - } - - container sr-node-info { - description "Segment-Routing Node information"; - uses TE-SR-NODE-INFO; - } - leaf local-node-igp-id { - type string; - description "The local node's IGP id formatted as string"; - } - leaf topology-node-is-router { - type boolean; - description - "TRUE if this is a router node; FALSE if it's a - network node"; - } - leaf local-node-te-router-id { - type inet:ipv4-address; - description "The local node's TE router-id"; - } - leaf topology-node-overloaded { - type boolean; - description - "Flag to indicate whether this node is overloaded"; - } - - list node-link { - description "This node's link information"; - uses TE-SR-LINK-INFO; - } - } - - grouping TE-SR-IGP-AREA { - description "A IGP area information for Segment-Routing"; - leaf segment-routing-enabled { - type boolean; - description - "True if the Segment-Routing is enabled in this - area"; - } - leaf strict-spf-enabled { - type boolean; - description "True if the strict SPF is enabled in this area"; - } - leaf igp-type { - type Igp-protocol; - description "IGP type"; - } - leaf igp-instance-xr { - type string; - description "IGP Instance name"; - } - leaf igp-area { - type uint32; - description "IGP Area ID"; - } - leaf igp-area-format { - type Igp-ospf-area-format; - description "IGP-area format"; - } - } - - grouping MPLS-TE-TUNNEL-FLEX-INFO { - description "TE Tunnel FlexLSP Information"; - leaf fault-ldi-lockout { - type boolean; - description "Fault LDI Lockout"; - } - leaf fault-ldi { - type boolean; - description "Fault LDI"; - } - leaf fault-lkr { - type boolean; - description "Fault LKR"; - } - leaf fault-ais { - type boolean; - description "Fault AIS"; - } - leaf fault-time { - type uint32; - description "Fault Time"; - } - leaf fault-in-label { - type uint32; - description "Fault In Label"; - } - leaf is-lockout { - type boolean; - description "Lockout Status"; - } - leaf lockout-timestamp { - type uint32; - description "The timestamp when the lockout is set"; - } - leaf lockout-lsp-id { - type uint16; - description "The LSP ID of the locked out LSP"; - } - leaf origination { - type Flex-lsp-lockout-origination; - description "Flex LSP Lockout Origination Source"; - } - } - - grouping TE-VIF-CONVERGENCE-INFO { - description "TE tunnel convergence related information"; - - container convergence-lsp { - description "TE LSP convergence related information"; - uses TE-LSP-CONVERGENCE-INFO; - } - leaf is-convergence-in-progress { - type boolean; - description "TE convergence in progress"; - } - leaf frr-trigger-time { - type uint64; - description "FRR trigger time"; - } - leaf pcalc-complete-time { - type uint64; - units "nanosecond"; - description - "Path computation completion timestamp (clocktime - in nsecs)"; - } - leaf convergence-complete-time { - type uint64; - description "TE convergence completion time"; - } - leaf binding-label-rewrite-time { - type uint64; - units "nanosecond"; - description "Binding label timestamp (clocktime in nsecs)"; - } - leaf vif-creation-time { - type uint64; - units "nanosecond"; - description "Vif creation timestamp (clocktime in nsecs)"; - } - } - - grouping MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG { - description "MPLS TE Tunnel Reverse ERO Error Information"; - leaf reverse-lsp-id { - type uint16; - description "Reverse LSP ID"; - } - leaf path-reject-reason-bw { - type boolean; - description "Path Reject due to bw"; - } - leaf path-reject-reason-affinity { - type boolean; - description "Path Reject due to affinity"; - } - leaf path-reject-reason-ip-addr { - type boolean; - description "Path Reject due to IP address"; - } - leaf path-reject-reason-reverse-link { - type boolean; - description "Path Reject due to reverse link"; - } - leaf path-reject-reason-ixcd { - type boolean; - description "Path Reject due to IXCD"; - } - leaf path-reject-reason-holddown { - type boolean; - description "Path Reject due to holddown"; - } - leaf path-reject-reason-exclude-node { - type boolean; - description "Path Reject due to exclude node"; - } - leaf path-reject-reason-exclude-link { - type boolean; - description "Path Reject due to exclude link"; - } - leaf path-reject-reason-exclude-srlg { - type boolean; - description "Path Reject due to exclude SRLG"; - } - leaf path-reject-reason-hop-limit { - type boolean; - description "Path Reject due to hop limit"; - } - leaf path-reject-reason-node-ol-unknown { - type boolean; - description "Path Reject due to unknown node overload"; - } - leaf path-reject-reason-node-ol-head { - type boolean; - description "Path Reject due to head node overload"; - } - leaf path-reject-reason-node-ol-mid { - type boolean; - description "Path Reject due to mid node overload"; - } - leaf path-reject-reason-node-ol-tail { - type boolean; - description "Path Reject due to head node overload"; - } - leaf path-reject-reason-reverse-bw { - type boolean; - description "Path Reject due to reverse bw"; - } - leaf path-reject-reason-node-unreachable { - type boolean; - description "Path Reject due to unreachable node"; - } - leaf path-option-index { - type uint16; - description "Path Option Index"; - } - leaf path-option-type { - type Mte-path-option; - description "Path Option Type"; - } - leaf ero-reject-reason { - type Te-rev-ero-reject-reasons; - description "Reverse ERO Reject Reason"; - } - - list path-calculation-error { - description "Path Computation Information"; - uses MPLS-TE-P2MP-PCALC-ERROR; - } - } - - grouping MPLS-TE-TUNNEL-BIDIR-INFO { - description "MPLS TE Tunnel Bidir Information"; - - container reverse-ero-error-current { - description "Reverse ERO Error Current LSP"; - uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; - } - - container reverse-ero-error-reopt { - description "Reverse ERO Error Reopt LSP"; - uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; - } - - container reverse-ero-error-standby { - description "Reverse ERO Error Standby LSP"; - uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; - } - - container reverse-ero-error-standby-reopt { - description "Reverse ERO Error Standby Reopt LSP"; - uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; - } - leaf reverse-bandwidth { - type uint32; - units "kbit/s"; - description "Reverse Bandwidth value in kbps"; - } - leaf reverse-bandwidth-standby { - type uint32; - units "kbit/s"; - description "Reverse Bandwidth value for standby in kbps"; - } - } - - grouping MPLS-TE-TUNNEL-RESTORATION-INFO { - description "Restoration info of tunnel"; - leaf revert-option { - type Te-pnr-revert-options; - description "Revertive or non-revertive"; - } - leaf diverse-lsp { - type Mpls-te-lsp-mode; - description "LSP from which restoration LSP is DIVERSED"; - } - leaf diversity-type { - type Te-pp-diversity; - description "Restoration path diversity type"; - } - } - - grouping MPLS-TE-TUNNEL-APS-INFO { - description "APS Protection Info of tunnel"; - - container protection-profile { - description "Protection Profile Information of tunnel"; - uses MPLS-TE-ATTRIBUTE-SET-APS-PP; - } - leaf active-lsp { - type Mpls-te-lsp-mode; - description "Active LSP for Incoming Data"; - } - leaf diversity-type { - type Te-pp-diversity; - description "Standby path diversity type"; - } - } - - grouping MPLS-TE-TUNNEL-OTN-BIDIR-INFO { - description "Bidirectional Tunnel Information"; - - container aps { - description "APS Protection Info"; - uses MPLS-TE-TUNNEL-APS-INFO; - } - - container restoration { - description "Restoration Info"; - uses MPLS-TE-TUNNEL-RESTORATION-INFO; - } - } - - grouping MPLS-TE-PATH-OPTION-DAMPENING-INFO { - description "MPLS TE Path Option Dampening Information"; - leaf option-index { - type uint32; - description "Path option index"; - } - leaf hold-down-time { - type uint32; - description "Hold down time in second"; - } - leaf remained-time { - type uint32; - description "Remained time to resignal in second"; - } - leaf backoff-count { - type uint32; - description "Backoff count"; - } - } - - grouping MPLS-TE-TUNNEL-BFD-INFO { - description "MPLS TE Tunnel BFD Session Information"; - - container event-counters { - description "Per tunnel BFD session event counters"; - uses MPLS-TE-BFD-LSP-COUNTERS; - } - leaf bfd-session-up { - type boolean; - description "Tunnel BFD session state up or down"; - } - leaf session-up-time { - type uint32; - units "second"; - description "Time in seconds since the last session state up"; - } - leaf failure-diagnostic-code { - type uint32; - description "BFD session failure diagnostic code"; - } - leaf failure-reason { - type string; - description "BFD session failure reason"; - } - leaf minimum-session-up-interval { - type uint32; - description - "Minimum time in mini second for session to come - up"; - } - leaf maximum-session-up-interval { - type uint32; - description - "Maximum time in mini second for session to come - up"; - } - - list dampening-info { - description "Path option dampening info"; - uses MPLS-TE-PATH-OPTION-DAMPENING-INFO; - } - } - - grouping MPLS-TE-TUNNEL-VIF-DIVERSITY-INFO { - description "Circuit diversity information"; - leaf tunnel-id { - type uint16; - description "Dependent Tunnel ID"; - } - } - - grouping MPLS-TE-TUNNEL-STATIC-UNI-INFO { - description "static UNI info for both head and tail"; - leaf client-port { - type string; - description "Ingress Client Port"; - } - leaf client-if-handle { - type xr:Interface-name; - description "Ingress Client Port Ifhandle"; - } - leaf client-odu-name { - type string; - description "Client Odu Name"; - } - leaf client-odu-if-handle { - type xr:Interface-name; - description "Client Odu Interface"; - } - leaf cross-connect-id { - type uint32; - description "Cross connect id"; - } - leaf is-connected { - type boolean; - description "True if client port is connected"; - } - leaf uptime { - type uint32; - description "Client Port Uptime"; - } - leaf local-termination { - type Mpls-te-termination; - description "Local Termination Type"; - } - leaf static-uni-type { - type Mpls-te-uni; - description "Static uni type"; - } - leaf term-client-port { - type string; - description "Termination Ingress Client Port"; - } - leaf term-client-if-handle { - type xr:Interface-name; - description "Termination Ingress Client Port Ifhandle"; - } - } - - grouping MPLS-TE-TUNNEL-OTN-INFO { - description "OTN tunnel's OTN technology information"; - - container bandwidth-cfg { - description "Configured OTN Bandwidth for tunnel"; - uses TE-ODU-V3-BW; - } - leaf config-bit-rate { - type uint32; - units "kbit/s"; - description "Configured OTN Bandwidth in kbps"; - } - } - - grouping MPLS-TE-TRANSPORT-TUNNEL-INFO { - description "Transport Tunnel information"; - - container otn { - description "Info Related to OTN technology in S2L"; - uses MPLS-TE-TUNNEL-OTN-INFO; - } - - container static-uni { - description "Tunnel Static UNI Info"; - uses MPLS-TE-TUNNEL-STATIC-UNI-INFO; - } - - container egress-static-uni { - description "Tunnel EgressStatic UNI Info"; - uses MPLS-TE-TUNNEL-EGRESS-STATIC-UNI-INFO; - } - leaf status-homepath-working { - type boolean; - description "Status of working homepath"; - } - - list homepath-ero { - description "Homepath ero for working lsp"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list diversity-info { - description "Diversity Info"; - uses MPLS-TE-TUNNEL-VIF-DIVERSITY-INFO; - } - } - - grouping MPLS-TE-MGMT-WDM-UNI-TUNNEL-INFO { - description "GMPLS WDM-UNI tunnel information"; - leaf tunnel-state { - type Mpls-te-tunnel-state; - description "Tunnel state"; - } - leaf tunnel-role { - type Mpls-te-tunnel-role; - description "Tunnel Role"; - } - leaf tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf lsp-id { - type uint16; - description "LSP ID"; - } - leaf local-optical-router-id { - type inet:ipv4-address; - description "Local optical router id"; - } - leaf remote-optical-router-id { - type inet:ipv4-address; - description "Remote optical router id"; - } - leaf controlled-interface { - type string; - description "Interface being controlled"; - } - leaf source-address { - type inet:ipv4-address; - description "Source address"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf extended-tunnel-id { - type inet:ipv4-address; - description "Extended tunnel-id"; - } - leaf label-origin { - type Mpls-te-mgmt-gmpls-label-origin; - description "Label origin"; - } - leaf srlg-discovery { - type boolean; - description "SRLG-discovery enabled"; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-HEAD-COUNTERS { - description "Headend Soft Preemption Counters"; - leaf soft-preemption-events { - type uint32; - description "The number of soft preemption events"; - } - leaf reopt-completed-ls-ps { - type uint32; - description - "The number of soft preempted LSPs that were torn - down by the ingress router after the reopt LSP - was successfully setup."; - } - leaf torn-down-ls-ps { - type uint32; - description - "The number of soft preempted LSPs that were torn - down by the headend or any remote - node before the reoptimization is done."; - } - leaf path-protection-switchover-ls-ps { - type uint32; - description - "The number of soft preempted LSPs that were - switched over to a standby LSP."; - } - leaf frr-triggered-ls-ps { - type uint32; - description - "The number of soft preempted LSPs that were fast - rerouted at the headend or any - remote node before the reoptimization is done."; - } - leaf time-in-preemption-pending-min { - type uint16; - units "second"; - description - "The minimum time in seconds that an LSP was in - preemption pending state"; - } - leaf time-in-preemption-pending-max { - type uint16; - units "second"; - description - "The maximum time in seconds that an LSP was in - preemption pending state"; - } - leaf time-in-preemption-pending-avg { - type uint16; - units "second"; - description - "The average time in seconds that an LSP was in - preemption pending state"; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-PATH-ERROR { - description "Information for a soft preemption path error"; - leaf timestamp { - type uint32; - description - "The POSIX timestamp when the soft preemption - error is received"; - } - leaf preempting-link-address { - type inet:ipv4-address; - description - "The address of the link where the preemption - happened"; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-TUNNEL-INFO { - description "Headend Soft Preemption Tunnel Info"; - - container soft-preemption-counters { - description - "The soft preemption counters for this tunnel - head"; - uses MPLS-TE-SOFT-PREEMPTION-HEAD-COUNTERS; - } - leaf status { - type Mpls-te-soft-preemption-state; - description "The preemption state"; - } - leaf time-in-preemption-pending { - type uint16; - units "second"; - description - "The number of seconds that were spent in the - preemption-pending state"; - } - leaf preemption-pending-resolution { - type Mpls-te-soft-preemption-resolution; - description - "Indicates how the soft preemption operation - ended"; - } - - list soft-preemption-path-error { - description - "The array of soft preemption path errors info - received for the LSP that is being soft - preempted"; - uses MPLS-TE-SOFT-PREEMPTION-PATH-ERROR; - } - } - - grouping MPLS-TE-PCE-DELEGATION-INFO { - description "MPLS TE PCE Delegation Information"; - leaf plsp-id { - type uint32; - description "PLSP ID"; - } - leaf symbolic-name { - type string; - description "Symbolic name"; - } - leaf owner-address { - type inet:ipv4-address; - description "Address of owner node"; - } - leaf operationally-up { - type boolean; - description "Operationally up"; - } - } - - grouping MPLS-TE-AUTOPCC-INFO { - description "MPLS TE Auto-PCC Information"; - leaf owner-address { - type inet:ipv4-address; - description "Address of owner node"; - } - leaf creator-address { - type inet:ipv4-address; - description "Address of creating node"; - } - leaf has-creator-id { - type boolean; - description "Indicates if the ID of the creating node is set"; - } - leaf creator-id { - type string; - description "ID of creating node"; - } - leaf plspid { - type uint32; - description "PLSP ID"; - } - leaf symbolic-name { - type string; - description "Symbolic name"; - } - leaf operationally-up { - type boolean; - description "Operationally up"; - } - } - - grouping MPLS-TE-AUTOMESH-INFO { - description "MPLS TE Automesh Information"; - leaf mesh-group-id { - type uint32; - description "Auto-mesh tunnel Mesh Group ID"; - } - leaf tunnel-destination-list-name { - type string; - description "Destination List name"; - } - leaf is-tunnel-unused-timer-running { - type boolean; - description "Flag to indicate whether unused timer running"; - } - leaf remaining-unused-time { - type uint32; - units "second"; - description "Remaining time for unused timer in seconds"; - } - leaf mesh-group-type { - type Te-meshgroup; - description "Auto-tunnel mesh group type"; - } - } - - grouping MPLS-TE-IEP-HOP-BAG { - description "MPLS IEP Hop information"; - leaf hop-index { - type uint32; - description "Hop Index"; - } - leaf iep-hop-type { - type Mpls-te-iep-hop; - description "IEP type"; - } - leaf iep-hop-address { - type inet:ipv4-address; - description "IEP Hop Address"; - } - } - - grouping MPLS-TE-IEP-BAG { - description "MPLS TE IEP"; - leaf path-option-id { - type uint32; - description "Path option ID this IEP is associated with"; - } - - list iep-hop { - description "IEP Hop List"; - uses MPLS-TE-IEP-HOP-BAG; - } - } - - grouping MPLS-TE-WSRLG-HOP-BAG { - description - "Weighted SRLG info for a hop of the autobackup - tunnel"; - leaf from-address { - type inet:ipv4-address; - description "Local IP address"; - } - leaf to-address { - type inet:ipv4-address; - description "Remote IP address"; - } - leaf aggregate-admin-weight { - type uint64; - description - "Sum of the admin weights for all the common SRLG - values"; - } - list common-srlg { - description - - "Common SRLG between this hop and the protected - - interface"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-WSRLG-VALUE-BAG { - description "MPLS TE weighted SRLGs"; - leaf srlg { - type uint32; - description "SRLG number"; - } - leaf srlg-name { - type string; - description "SRLG name"; - } - leaf admin-weight { - type uint32; - description "Admin weight"; - } - } - - grouping MPLS-TE-WSRLG-INFO-BAG { - description - "MPLS TE weighted SRLG information for the - autobackup tunnels"; - - list protected-interface-srlg { - description - "SRLG values and admin weight penalties of the - protected interface"; - uses MPLS-TE-WSRLG-VALUE-BAG; - } - - list weighted-srlg-hop { - description - "Autobackup hops and the common SRLG with the - protected interface"; - uses MPLS-TE-WSRLG-HOP-BAG; - } - } - - grouping MPLS-TE-AUTOBACKUP-INFO { - description "MPLS TE Autobackup Information"; - - container weighted-srlg-info { - description "Weighted SRLG info for the autobackup tunnel"; - uses MPLS-TE-WSRLG-INFO-BAG; - } - leaf protected-ls-ps { - type uint32; - description "Number Of Protected LSPs"; - } - leaf protected-s2-ls { - type uint32; - description "Number of Protected S2Ls"; - } - leaf sharing-families { - type uint32; - description "Number of S2L Sharing Families"; - } - leaf ab-protection-type { - type Auto-backup-protection; - description "Protection type"; - } - leaf is-using-srlg { - type boolean; - description "Indicates whether SRLG Path Option is in use"; - } - leaf srlg-prot-type { - type Auto-backup-srlg-mode; - description "SRLG Protection Type"; - } - leaf ab-protected-interface { - type string; - description "Protected Interface"; - } - leaf protected-address { - type inet:ipv4-address; - description "Protected Address"; - } - leaf tunnel-attribute-set-name { - type string; - description "AttributeSet name"; - } - leaf is-unused-removal-timer-running { - type boolean; - description - "Indicates if the unused removal timer is running"; - } - leaf unused-removal-remaining-time { - type uint32; - units "second"; - description - "Time Remaining in Unused Removal Time in seconds"; - } - - list iep { - description - "List of IEPs for the path options on this tunnel"; - uses MPLS-TE-IEP-BAG; - } - } - - grouping TE-PP-SW-LOG-ENTRY-BAG { - description "Path protection log entry"; - leaf path-protection-switchover-event-index { - type uint32; - description - "The index number of the path protection switch - over event"; - } - leaf path-protection-tunnel-id { - type uint16; - description - "The ID of the tunnel that experienced switchover"; - } - leaf from-lsp-id { - type uint16; - description - "The LSP ID from which the traffic was switched - over"; - } - leaf to-lsp-id { - type uint16; - description - "The LSP ID to which the traffic was switched - over"; - } - leaf date-of-error-detection { - type uint32; - units "second"; - description - "The date when the error that caused the - switchover was detected. This date is the number - of seconds since Jan 1st 1970"; - } - leaf date-of-error-detection-millisec { - type uint32; - units "millisecond"; - description - "The milliseconds offset of the date when the - error that caused the switchover was detected."; - } - leaf switchover-duration-millisec { - type uint32; - units "millisecond"; - description - "The time in milliseconds between the detection - of the error and switching the traffic"; - } - leaf path-protection-switchover-reason { - type Te-p2mp-s2l-deletion-subcause; - description - "The reason that caused the path protection - switchover"; - } - } - - grouping MPLS-TE-PP-INFO { - description "MPLS TE Path Protected Switchover Information"; - - container switchover { - description "Path Protected Switchover Information"; - uses TE-PP-SW-LOG-ENTRY-BAG; - } - leaf time-of-switchover-sec { - type uint32; - units "second"; - description - "The date when the switchover was completed. This - date is the number of seconds since Jan 1st 1970"; - } - leaf switchover-total { - type uint16; - description "Number of times switchover occurred"; - } - leaf switchover-ready { - type uint16; - description "Total times, Standby LSP ready for use"; - } - leaf standby-reoptimized-number { - type uint16; - description "Number of times the standby LSP was reoptimized"; - } - leaf switchover-reason { - type uint16; - description "Reason for last switchover"; - } - leaf diversity-type { - type Te-pp-diversity; - description "Standby path diversity type"; - } - leaf is-path-protect-configured { - type boolean; - description "Is Path Protection Configured"; - } - leaf path-protection-protected-by-id { - type uint32; - description - "The path option ID (level/index) of the - configured explicit protecting path"; - } - leaf valid-path-protection-path-option-exists { - type boolean; - description - "Flag to indicate whether tunnel has a - path-option which is valid for path-protection"; - } - leaf is-path-protect-switch-over-underway { - type boolean; - description "Is Switchover Underway"; - } - leaf reoptimization-time-remaining { - type uint32; - units "second"; - description - "Remaining time until path protection - reoptimization (seconds)"; - } - } - - grouping MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO { - description - "Last re-opt failure reason/information if - applicable"; - leaf re-opt-last-fail-reason { - type Mpls-te-reopt-decision-reason; - description - "Reason (if any) for the last re-opt attempt - failure"; - } - leaf re-opt-failed-destination { - type inet:ipv4-address; - description - "First tunnel destination (if any) in re-opt LSP - that failed to come up"; - } - leaf re-opt-failed-timestamp { - type uint32; - units "second"; - description - "Time stamp of the last re-opt failure. (seconds - since Jan. 1, 1970)"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-STANDBY-SETUP { - description "History information for standby setup"; - leaf standby-lsp-uptime { - type uint32; - units "second"; - description "Time in seconds since the standby LSP was up"; - } - leaf standby-setup-timer { - type uint32; - units "second"; - description - "Time in seconds until the next attempt to - connect this setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP { - description "History information for additional GMPLS setup"; - leaf path-option-index { - type uint32; - description "Path option index for the additional setup"; - } - leaf other-setup-error { - type string; - description "The last error for the additional setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-PREVIOUS-PROTECT { - description - "History information for previous protecting GMPLS - current setup"; - leaf previous-protect-path-option { - type string; - description "The previous protect setup path option"; - } - leaf previous-protect-tunnel-instance { - type uint32; - description "The previous protect setup's instance"; - } - leaf previous-protect-fail-reason { - type string; - description "Reason for the previous protect setup's failure"; - } - leaf previous-protect-setup-last-error { - type string; - description "The last error for the previous setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-PREVIOUS { - description "History information for previous current setup"; - leaf previous-path-option { - type string; - description "The previous setup path option"; - } - leaf previous-tunnel-instance { - type uint32; - description "The previous setup's instance"; - } - leaf previous-fail-reason { - type string; - description "Reason for the previous setup's failure"; - } - leaf previous-setup-last-error { - type string; - description "The last error for the previous setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-PATH-PROTECT { - description "History information for protecting setup"; - leaf protecting-setup-uptime { - type uint32; - units "second"; - description - "Time in seconds since the protecting setup came - up"; - } - leaf protecting-setup-timer { - type uint32; - units "second"; - description - "Time in seconds until the next attempt to - connect the protecting setup"; - } - leaf protecting-setup-last-error { - type string; - description - "The last error for the protecting setup (for - display purposes only)"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-REOPT { - description "History information for reoptimized setup"; - leaf reoptimized-setup-uptime { - type uint32; - units "second"; - description "Time in seconds since the reopt setup came up"; - } - leaf reoptimized-setup-timer { - type uint32; - units "second"; - description - "Time in seconds until the next attempt to - connect the reopt setup"; - } - leaf reoptimized-setup-last-error { - type string; - description "The last error for the reopt setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-CURRENT-CONNECTED { - description "History information for currently connected setup"; - leaf current-lsp-uptime { - type uint32; - units "second"; - description "Time in seconds since the current LSP was up"; - } - leaf current-uptime { - type uint32; - units "second"; - description "Time in seconds since the tunnel was up"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-CURRENT { - description "History information for current setup"; - - container connected-uptimes { - description "Uptimes for connected setup"; - uses MPLS-TE-TUNNELS-HISTORY-CURRENT-CONNECTED; - } - leaf current-setup-timer { - type uint32; - units "second"; - description - "Time in seconds until the next attempt to - connect this setup"; - } - leaf selection-reason { - type string; - description - "The reason why this setup is selected. For - display purposes only."; - } - leaf current-setup-last-error { - type string; - description "The last error for the current setup"; - } - } - - grouping MPLS-TE-TUNNELS-HISTORY-BAG { - description "MPLS TE Tunnel History Information"; - - container current-setup { - description "Current setup data"; - uses MPLS-TE-TUNNELS-HISTORY-CURRENT; - } - - container reopt-setup { - description "Reoptimized setup data"; - uses MPLS-TE-TUNNELS-HISTORY-REOPT; - } - - container gmpls-path-protect-setup { - description "GMPLS protecting setup data"; - uses MPLS-TE-TUNNELS-HISTORY-PATH-PROTECT; - } - - container previous-setup { - description "Previous setup data"; - uses MPLS-TE-TUNNELS-HISTORY-PREVIOUS; - } - - container previous-gmpls-path-protect-setup { - description "Previous GMPLS protecting setup data"; - uses MPLS-TE-TUNNELS-HISTORY-PREVIOUS-PROTECT; - } - - container gmpls-other-setup { - description "GMPLS additional setup data"; - uses MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP; - } - - container gmpls-other-protect-setup { - description "GMPLS additional protecting setup data"; - uses MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP; - } - - container standby-setup { - description "Standby setup data"; - uses MPLS-TE-TUNNELS-HISTORY-STANDBY-SETUP; - } - - container standby-reopt-setup { - description "Standby Reopt setup data"; - uses MPLS-TE-TUNNELS-HISTORY-REOPT; - } - - container last-re-opt-fail { - description "Last re-opt attempt failure information"; - uses MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO; - } - - container last-stdby-re-opt-fail { - description "Last standby re-opt attempt failure information"; - uses MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO; - } - } - - grouping MPLS-TE-TUNNELS-AUTOBW-OPER { - description - "MPLS TE Tunnel AutoBandwidth Operational - Information"; - leaf last-bandwidth-applied { - type uint32; - description - "Last bandwidth requested by auto-bw for the - tunnel"; - } - leaf bandwidth-pool-type { - type Mpls-te-bw-pool; - description "Bandwidth pool type"; - } - leaf bandwidth-applications { - type uint32; - description - "Total number of bandwidth applications requested - by auto-bw"; - } - leaf last-application-trigger { - type Te-autobw-app-trigger; - description "The reason causing the last BW application"; - } - leaf application-jitter { - type uint32; - description - "Amount of time introduced to delay first - application so that not all tunnels may signal - BW at the same time"; - } - leaf time-left-application { - type uint32; - description - "Time left until next auto-bw application - algorithm is performed"; - } - leaf samples-collected { - type uint32; - description - "Number of samples collected within current - application period"; - } - leaf time-left-collection { - type uint32; - description - "Time left until next auto-bw data collection is - performed"; - } - leaf highest-bandwidth { - type uint32; - description - "Highest bandwidth registered within current - application period"; - } - leaf underflow-highest-bandwidth { - type uint32; - description - "Highest sample collected during an underflow - sequence"; - } - leaf threshold-overflows { - type uint32; - description - "counter for current consecutive collections - exceeding threshold"; - } - leaf overflow-early-bw-applications { - type uint32; - description - "tunnel counter for number of bandwidth - applications due to overflow"; - } - leaf threshold-underflows { - type uint32; - description - "counter for current consecutive collections - exceeding threshold"; - } - leaf underflow-early-bw-applications { - type uint32; - description - "tunnel counter for number of bandwidth - applications due to underflow"; - } - leaf collect-only-requested-bandwidth { - type uint32; - description "Collect-only Requested Bandwidth for the tunnel"; - } - leaf application-reject-reason { - type Te-autobw-app-rej; - description "Current application reject reason"; - } - } - - grouping MPLS-TE-TUNNELS-AUTOBW-CONFIG { - description - "MPLS TE Tunnel AutoBandwidth Configuration - Information"; - leaf is-auto-bandwidth-collect-only { - type boolean; - description "TRUE if auto-bw collection-only is enabled"; - } - leaf minimum-bandwidth { - type uint32; - description "Minimum bandwidth auto-bw can apply"; - } - leaf maximum-bandwidth { - type uint32; - description "Maximum bandwidth auto-bw can apply"; - } - leaf application-frequency { - type uint32; - units "minute"; - description - "Auto-bw application frequency for the tunnel - (mins)"; - } - leaf collection-frequency { - type uint32; - description "Global auto-bw collection frequency"; - } - leaf adjustment-threshold-percent { - type uint32; - description - "Bandwidth change threshold needed to trigger - bandwidth adjustment"; - } - leaf adjustment-threshold-value { - type uint32; - units "kbit/s"; - description - "Bandwidth change value (kbps) needed to trigger - bandwidth adjustment"; - } - leaf overflow-threshold-percent { - type uint32; - description - "Bandwidth change threshold needed to count a - collection towards overflow limit allowed"; - } - leaf overflow-threshold-value { - type uint32; - description - "Bandwidth change value needed to count a - collection towards overflow limit allowed"; - } - leaf overflow-threshold-limit { - type uint32; - description - "Limit of consecutive collections exceeding - threshold to trigger an immediate overflow - bandwidth adjustment"; - } - leaf underflow-threshold-percent { - type uint32; - description - "Bandwidth change threshold needed to count a - collection towards underflow limit allowed"; - } - leaf underflow-threshold-value { - type uint32; - description - "Bandwidth change value needed to count a - collection towards underflow limit allowed"; - } - leaf underflow-threshold-limit { - type uint32; - description - "Limit of consecutive collections exceeding - threshold to trigger an immediate underflow - bandwidth adjustment"; - } - } - - grouping MPLS-TE-TUNNELS-AUTOBW-STATUS { - description "MPLS TE Tunnel AutoBandwidth Status Information"; - leaf is-auto-bandwidth-enabled { - type boolean; - description "TRUE if auto-bw is enabled for the tunnel"; - } - leaf reactivation-time { - type uint32; - description - "Time until auto-bw gets activated if activation - has been delayed due to failover"; - } - } - - grouping MPLS-TE-P2P-INFO-BAG { - description "P2P tunnel data"; - - container auto-bandwidth-status { - description "Tunnels's AutoBandwidth Status information"; - uses MPLS-TE-TUNNELS-AUTOBW-STATUS; - } - - container auto-bandwidth-config { - description - "Tunnels's AutoBandwidth Configuration - information"; - uses MPLS-TE-TUNNELS-AUTOBW-CONFIG; - } - - container auto-bandwidth-oper { - description "Tunnels's AutoBandwidth Operational information"; - uses MPLS-TE-TUNNELS-AUTOBW-OPER; - } - leaf is-bidirectional { - type boolean; - description "TRUE if the tunnel is bidirectional"; - } - } - - grouping MPLS-TE-INTERAREA-REOPT-INFO { - description - "Counter and time information for reoptimization - of interarea tunnels"; - leaf sent-path-queries { - type uint16; - description "Number of better path queries sent"; - } - leaf time-since-last-query-sent { - type uint32; - units "second"; - description - "Time since the last better path query was sent - (seconds)"; - } - leaf received-preferred-path-errors { - type uint16; - description "Number of received Preferred Path Exists Error"; - } - leaf time-since-last-preferred-path-error { - type uint32; - units "second"; - description - "Time since last Preferred Path Exists error - received (seconds)"; - } - leaf received-preferred-tree-errors { - type uint16; - description "Number of received Preferred Tree Exists Error"; - } - leaf time-since-last-preferred-tree-error { - type uint32; - units "second"; - description - "Time since last Preferred Tree Exists error - received (seconds)"; - } - leaf preferred-path-error-node { - type inet:ipv4-address; - description - "Address of the preferred path error generating - node"; - } - leaf preferred-tree-error-node { - type inet:ipv4-address; - description - "Address of the preferred tree error generating - node"; - } - } - - grouping MPLS-TE-P2MP-DEST { - description "A P2MP destination"; - - container inter-area-reoptimization { - description - "The timing and count information of interarea - reoptimization."; - uses MPLS-TE-INTERAREA-REOPT-INFO; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf destination-state { - type Te-destination-state; - description "The state of the destination"; - } - leaf active-path-option-index { - type uint32; - description "Index of active path option"; - } - leaf path-option-exhausted { - type boolean; - description "Path options are exhausted"; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the destination was up"; - } - leaf path-change-time { - type uint32; - description "Last path change time"; - } - leaf total-uptime { - type uint32; - description "Unused"; - } - leaf s2l-exist { - type boolean; - description "Dest state may not be up but S2L may exist"; - } - leaf destination-deletion-cause { - type Te-p2mp-s2l-deletion-cause; - description "Destination deletion cause"; - } - leaf destination-deletion-sub-cause { - type Te-p2mp-s2l-deletion-subcause; - description "Destination deletion subcause"; - } - leaf destination-deletion-timestamp { - type uint32; - units "second"; - description "Destination deletion timestamp in seconds"; - } - leaf is-inter-area { - type boolean; - description - "Indicates whether this destination is in - different area"; - } - - list path-option-entry { - description "Deprecated; replaced by PathOption"; - uses MPLS-TE-P2MP-PATH-OPTION; - } - - list path-option { - description "Destination's list of path options"; - uses MPLS-TE-P2MP-PATH-OPTION; - } - } - - grouping MPLS-TE-AUTOROUTE-DESTINATION-BAG { - description "An Autoroute destination"; - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf prefix-length { - type uint16; - description "Prefix length"; - } - } - - grouping MPLS-TE-TUNNEL-BFD-CONFIG-INFO { - description "BFD configuration info for a tunnel"; - leaf bfd-fast-detecting-enabled { - type boolean; - description "Deprecated"; - } - leaf bfd-type { - type Te-vif-bfd; - description "BFD Type"; - } - leaf min-interval { - type uint32; - units "millisecond"; - description "Hello interval in milliseconds"; - } - leaf min-interval-default { - type boolean; - description "Is default hello interval"; - } - leaf multiplier { - type uint8; - description "Multiplier"; - } - leaf multiplier-default { - type boolean; - description "Is default multiplier"; - } - leaf bring-up-timeout { - type uint16; - description "Bring Up Timeout in second"; - } - leaf bring-up-timeout-default { - type boolean; - description "Is default bring up timeout"; - } - leaf dampening-initial-wait { - type uint32; - units "millisecond"; - description "Dampening initial wait time in milliseconds"; - } - leaf dampening-initial-wait-default { - type boolean; - description "Is default dampening inital wait time"; - } - leaf dampening-max-wait { - type uint32; - units "millisecond"; - description "Dampening max wait time in milliseconds"; - } - leaf dampening-max-wait-default { - type boolean; - description "Is default dampening max wait time"; - } - leaf dampening-secondary-wait { - type uint32; - units "millisecond"; - description "Dampening secondary wait time in milliseconds"; - } - leaf dampening-secondary-wait-default { - type boolean; - description "Is default dampening secondary wait time"; - } - leaf periodic-lsp-ping-disabled { - type boolean; - description "Periodic LSP Ping disabled"; - } - leaf periodic-lsp-ping-interval { - type uint32; - units "second"; - description "Periodic LSP Ping interval in seconds"; - } - leaf periodic-lsp-ping-interval-default { - type boolean; - description "Is default LSP Ping interval"; - } - leaf bfd-session-down-action { - type Mpls-te-bfd-session-down-action1; - description "BFD Session Down Action"; - } - leaf bfd-session-down-reopt-timeout { - type uint32; - description "BFD Session Down Reopt Timeout"; - } - leaf bfd-encap-mode { - type Te-vif-bfd-encap-mode; - description "BFD Encap Mode"; - } - leaf sbfd-target-id { - type inet:ipv4-address; - description "SBFD Target ID"; - } - } - - grouping MPLS-TE-TUNNEL-BIDIR-CONFIG-INFO { - description "Bidirectional configuration info for a tunnel"; - leaf association-type { - type uint16; - description - "Association Type - (draft-ietf-ccamp-mpls-tp-rsvpte-ext-associated-lsp)"; - } - leaf association-id { - type uint16; - description "The association ID"; - } - leaf association-source { - type inet:ipv4-address; - description "The association source"; - } - leaf association-global-id { - type uint32; - description "The association global ID"; - } - leaf association-corouted { - type boolean; - description "Is the association co-routed"; - } - } - - grouping MPLS-TE-P2MP-TUN-CFG-BAG { - description "Configured P2MP tunnel data"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - - container bidirectional-config { - description "Bidirectional Configuration Information"; - uses MPLS-TE-TUNNEL-BIDIR-CONFIG-INFO; - } - - container bfd-config { - description "BFD Configuration Information"; - uses MPLS-TE-TUNNEL-BFD-CONFIG-INFO; - } - leaf tunnel-name { - type string; - description "Tunnel name"; - } - leaf tunnel-id { - type uint32; - description "Tunnel id"; - } - leaf is-p2mp { - type boolean; - description "True if tunnel is a P2MP tunnel"; - } - leaf signaled-name { - type string; - description "Signaled name"; - } - leaf configured-bandwidth { - type uint32; - description "Configured Bandwidth"; - } - leaf interface-configured-bandwidth { - type uint32; - description "Configured Interface Bandwidth"; - } - leaf bandwidth-type { - type Mpls-te-bw-pool; - description "The bandwidth type"; - } - leaf setup-priority { - type uint8; - description "Setup priority"; - } - leaf hold-priority { - type uint8; - description "Hold priority"; - } - leaf policy-class { - type uint8; - description "deprecated"; - } - leaf forward-class { - type uint32; - description "Forward class"; - } - leaf backup-bandwidth { - type uint32; - description "Backup bandwidth"; - } - leaf backup-bandwidth-flags { - type uint8; - description "Backup bandwidth flags"; - } - leaf config-load-share { - type uint32; - description "Config loadshare"; - } - leaf payload-type { - type uint16; - description "Payload type"; - } - leaf is-in-config { - type boolean; - description "Is in config"; - } - leaf explicit-null-imposition { - type boolean; - description "Imposition of Explicit NULL"; - } - leaf fast-reroute { - type boolean; - description "Fast reroute enabled"; - } - leaf is-backup-tunnel { - type boolean; - description "TRUE if this is a backup tunnel"; - } - leaf record-route { - type boolean; - description "Record route"; - } - leaf srlg-discovery { - type boolean; - description "SRLG-discovery enabled"; - } - leaf path-protection-enabled { - type boolean; - description "Path Protection enabled"; - } - leaf hop-limit { - type uint8; - description "Hop Limit"; - } - leaf cost-limit { - type uint32; - description "Cost limit on the tunnel path"; - } - leaf cost-limit-global { - type uint32; - description "Global Cost Limit"; - } - leaf path-invalidation-timeout-source { - type uint32; - description "Path invalidation timeout configuration source"; - } - leaf path-invalidation-timeout { - type uint32; - description - "Path invalidation timeout interval on the tunnel - path"; - } - leaf path-invalidation-action-source { - type uint32; - description "Path invalidation action configuration source"; - } - leaf path-invalidation-action { - type uint32; - description "Path invalidation action on the tunnel path"; - } - leaf soft-preempt { - type boolean; - description "Soft preemption enabled"; - } - leaf disable-affinity-failure-reopt { - type boolean; - description "DisableAffinityFailureReopt"; - } - leaf affinity-failure-reopt-timer { - type uint32; - description "AffinityFailureReoptTimer"; - } - leaf segment-routing-path-selection { - type Te-s2l-sr-path-selection; - description "Segment-Routing path selection type"; - } - list policy-class-entry { - description "PBTS policy classes"; - leaf entry { - type uint8; - } - } - - list autoroute-destination { - description "Autoroute Destinations list"; - uses MPLS-TE-AUTOROUTE-DESTINATION-BAG; - } - } - - grouping MPLS-TE-P2MP-TUNNEL-BAG { - description "P2MP tunnel data"; - - container config { - description "Configuration data"; - uses MPLS-TE-P2MP-TUN-CFG-BAG; - } - - container tunnel-current-lsp { - description "Current LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container reoptimized-p2mp-lsp { - description "Reopt LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container tunnel-standby-lsp { - description "Standby LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container reoptimized-standby-p2mp-lsp { - description "Standby Reopt LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container tunnel-restoration-lsp { - description "Restoration LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container delay-clean-pp-lsp { - description "Delay Clean PP LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container cleaned-lsp { - description "Cleaned LSP"; - uses MPLS-TE-P2MP-LSP; - } - - container p2p-info { - description "P2P specific info"; - uses MPLS-TE-P2P-INFO-BAG; - } - - container history { - description "Tunnel history"; - uses MPLS-TE-TUNNELS-HISTORY-BAG; - } - - container path-protection { - description "Path Protect Info"; - uses MPLS-TE-PP-INFO; - } - - container auto-backup { - description "Autobackup Information"; - uses MPLS-TE-AUTOBACKUP-INFO; - } - - container auto-mesh { - description "Automesh Information"; - uses MPLS-TE-AUTOMESH-INFO; - } - - container auto-pcc { - description "Auto-PCC Information"; - uses MPLS-TE-AUTOPCC-INFO; - } - - container pce-delegation { - description "PCE Delegation information"; - uses MPLS-TE-PCE-DELEGATION-INFO; - } - - container soft-preemption { - description - "Tunnel head soft preemption info. This is NULL - if soft preemption is not configured"; - uses MPLS-TE-SOFT-PREEMPTION-TUNNEL-INFO; - } - - container wdm-unitunnel { - description - "WDM-UNI tunnel data. Only exists for WDM-UNI - tunnels"; - uses MPLS-TE-MGMT-WDM-UNI-TUNNEL-INFO; - } - - container transport-tunnel-info { - description - "Transport tunnel data. Only exists for Transport - tunnels"; - uses MPLS-TE-TRANSPORT-TUNNEL-INFO; - } - - container bfd-info { - description - "BFD session info. This is NULL if BFD is not - configured"; - uses MPLS-TE-TUNNEL-BFD-INFO; - } - - container otn-bidir { - description "OTN bidir info"; - uses MPLS-TE-TUNNEL-OTN-BIDIR-INFO; - } - - container bidir { - description "Bidir info"; - uses MPLS-TE-TUNNEL-BIDIR-INFO; - } - - container xro-attribute-set { - description "XRO attribute-set"; - uses MPLS-TE-ATTRIBUTE-SET; - } - - container te-tunnel-convergence { - description "TE tunnel convergence related information"; - uses TE-VIF-CONVERGENCE-INFO; - } - - container flex-info { - description "Flex Info"; - uses MPLS-TE-TUNNEL-FLEX-INFO; - } - leaf role-standby { - type boolean; - description "TRUE if Role is Standby, Active otherwise"; - } - leaf tunnel-interface-name { - type xr:Interface-name; - description "Interface handle of the associated tunnel"; - } - leaf admin-state { - type Mte-tunnel-admin-state; - description "Administrative State"; - } - leaf operational-state { - type Mte-tunnel-oper-state; - description "Operational State"; - } - leaf operational-state-changes { - type uint32; - description "Counters for operational state changes"; - } - leaf signaled-name { - type string; - description "Signaled Name"; - } - leaf fail-reason { - type Mpls-mte-tunnel-fail-reason; - description "The reason why failure occurred"; - } - leaf destination-up-count { - type uint32; - description "Count of up destinations"; - } - leaf destination-disabled-count { - type uint32; - description "Count of disabled destinations"; - } - leaf destination-down-count { - type uint32; - description "Count of down destinations"; - } - leaf re-opt-hold-down-timer-remaining { - type uint32; - units "second"; - description - "Backup hold-down timer remaining time in seconds"; - } - leaf bandwidth-requested { - type uint32; - description "Bandwidth Requested"; - } - leaf bandwidth-type { - type Mpls-te-bw-pool; - description "The requested bandwidth type"; - } - leaf is-node-protected { - type boolean; - description "Node Protection Enabled or Disabled"; - } - leaf is-bandwidth-protect { - type boolean; - description "BW Protection Enabled or Disabled"; - } - leaf tunnel-recovering { - type boolean; - description "Tunnel recovering"; - } - leaf reroute-pending { - type boolean; - description "ReroutePending"; - } - leaf explicit-path-change { - type boolean; - description - "Explicit-path inuse by the current LSP has been - modified"; - } - leaf path-option-change { - type boolean; - description - "Path-Option inuse by the current LSP has been - modified"; - } - leaf affinity-failure-reopt-disabled { - type boolean; - description "AffinityFailureReoptDisabled"; - } - leaf affinity-failure-reopt-time-remained { - type uint32; - description "AffinityFailureReoptTimeRemained"; - } - leaf affinity-failure-delayed-tear-time-remained { - type uint32; - description "Affinity Failure LSP tear down time remaining"; - } - leaf invalidation-time-remained { - type uint32; - description "Path invalidation time remaining"; - } - leaf drop-mode { - type boolean; - description "True if tunnel is in drop mode"; - } - leaf auto-route { - type boolean; - description "IGP Auto route announce enabled"; - } - leaf forwarding-adjacency { - type boolean; - description "IGP forwarding adjacency enabled"; - } - leaf load-share-factor { - type uint32; - description "The specified loadsharing for the tunnel"; - } - leaf load-share-type { - type Mpls-te-loadshare; - description "Loadsharing type"; - } - leaf create-time { - type uint32; - description "Time at which the tunnel was created"; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the tunnel was up"; - } - leaf metric-type { - type Mpls-te-metric; - description "The path selection metric"; - } - leaf tie-breaker { - type Te-path-selection-tiebreaker; - description "The path selection tiebreaker"; - } - leaf tiebreaker-type { - type uint32; - description "Deprecated - replaced by Tiebreaker"; - } - leaf tiebreaker-qualifier { - type Mpls-te-metric-qualifier; - description - "Describes how the path selection tiebreaker was - specified: default, globally set, or per - interface"; - } - leaf metric-qualifier { - type Mpls-te-metric-qualifier; - description - "Describe how the metric was specified: default, - globally set, or per interface"; - } - leaf is-hop-limit-ignore { - type boolean; - description "Is Hop-limit ignored"; - } - leaf hop-limit-ignored-reason { - type Te-hop-limit-ignore; - description "Hop-limit ignored reason"; - } - leaf outbound-frr-state { - type Mpls-te-frr-state; - description "Indicates outbound FRR state"; - } - leaf area-id { - type string; - description - "Indicates the protocol and area used to find - Outgoing ERO"; - } - leaf pce-fail-reason { - type Mpls-te-pce-fail-reasons; - description "Failure reason for PCE-based tunnels"; - } - leaf snmp-index { - type uint32; - description "SNMP index for interface"; - } - leaf is-inter-area-tunnel { - type boolean; - description - "Indicates whether this tunnel spans multiple - areas."; - } - leaf is-auto-backup { - type boolean; - description - "Indicates whether this is an automatically - generated backup tunnel"; - } - leaf is-auto-pcc { - type boolean; - description - "Indicates whether this is an automatic PCC - tunnel"; - } - leaf is-pce-delegated { - type boolean; - description - "Indicates whether this tunnel is delegated to a - PCE server or not"; - } - leaf tunnel-attribute-set-name { - type string; - description "AttributeSet name"; - } - leaf tunnel-attribute-set-type { - type Tunnel-attribute-set; - description "AttributeSet type"; - } - leaf xro-attribute-set-name { - type string; - description "Configured XRO attribute-set name"; - } - leaf is-passive { - type boolean; - description "True for passive tunnel"; - } - leaf passive-tunnel-name { - type string; - description "Passive tunnel name"; - } - leaf binding-label-exists { - type boolean; - description "True, if binding label exists"; - } - leaf binding-label { - type uint32; - description "Binding Label"; - } - leaf last-hop-ifindex { - type uint32; - description "Termination destination ifindex"; - } - leaf is-named { - type boolean; - description "Indicates whether this tunnel is named"; - } - leaf lsp-wrap-protection-enabled { - type boolean; - description "Lsp-wrap Protection enabled"; - } - leaf lsp-wrap-label { - type uint32; - description "Lsp-wrap label value"; - } - leaf is-interface { - type boolean; - description "True for tunnel head"; - } - leaf last-path-change { - type uint32; - units "second"; - description "Time in seconds since the last path change"; - } - leaf persistent-bytes { - type uint64; - units "byte"; - description - "Persistent forwarding statistics for number of - bytes. Clear counters will not reset the counter"; - } - leaf persistent-packets { - type uint64; - description - "Persistent forwarding statistics for Number of - packets. Clear counters will not reset the - counter"; - } - leaf autoroute-announce-exclude-segment-routing { - type boolean; - description - "Indicates whether this tunnel is autoroute - announced with exclude segment-routing option"; - } - - list destination { - description "Destinations array"; - uses MPLS-TE-P2MP-DEST; - } - } - - grouping MPLS-TE-S2L-DIVERSITY-INFO { - description "S2l Diversity info"; - leaf diversity-type { - type Te-pp-diversity; - description "S2L path diversity type"; - } - } - - grouping TUNNEL-MIDPOINT-LSP-WRAP-INFO-BAG { - description "Midpoint LSP Wrap Protection LSP Info"; - leaf lsp-wrap-protection-enable { - type boolean; - description "LSP Wrap protection enabled"; - } - leaf lsp-wrap-protection-label { - type uint32; - description "LSP Wrap Merge Point Label"; - } - leaf reverse-egress-interface { - type string; - description "Reverse Egress Interface"; - } - leaf reverse-lsp-label { - type uint32; - description "Reverse LSP label"; - } - leaf lsp-wrap-protection-state { - type Mpls-te-lsp-wrap-state; - description "LSP wrap protection state"; - } - } - - grouping TE-S2L-SR-PATH-HOP { - description "TE Segment-Routing S2L path hop"; - leaf sid-type { - type Te-sr-sid; - description "Type of the SID"; - } - leaf has-ip-addresses { - type boolean; - description "Node has IP addresses specified"; - } - leaf local-addr { - type inet:ipv4-address; - description "Local IP address of adjacency or Node ID"; - } - leaf remote-addr { - type inet:ipv4-address; - description "Remote IP address of adjacency"; - } - leaf has-mpls-label { - type boolean; - description "Hop has MPLS label specified"; - } - leaf mpls-label-value { - type uint32; - description "The MPLS label value"; - } - leaf has-entropy-label { - type boolean; - description "Hop has EL specified"; - } - } - - grouping MPLS-TE-S2L-FLEX-INFO { - description "TE Per-S2L FlexLSP Information"; - - container flex-fec { - description "FEC for the FlexLSP Entry"; - uses TE-S2L-FEC; - } - leaf entry-exists { - type boolean; - description "FlexLSP Entry Exists"; - } - leaf in-label { - type uint32; - description "In Label"; - } - leaf bfd-created { - type boolean; - description "GAL BFD Session Created"; - } - leaf bfd-up { - type boolean; - description "GAL BFD Session Up"; - } - leaf oam-created { - type boolean; - description "OAM Entry Created"; - } - leaf bfd-next-hop { - type inet:ipv4-address; - description "BFD Next Hop"; - } - leaf bfd-tun-ifh { - type xr:Interface-name; - description "BFD Tunnel Interface Handle"; - } - leaf bfd-out-ifh { - type xr:Interface-name; - description "BFD Out Interface Handle"; - } - leaf bfd-int-label { - type uint32; - description "BFD Internal Label"; - } - leaf bfd-egress-label { - type uint32; - description "BFD Egress Label"; - } - leaf fault-ldi-lockout { - type boolean; - description "Fault LDI Lockout"; - } - leaf fault-ldi { - type boolean; - description "Fault LDI"; - } - leaf fault-lkr { - type boolean; - description "Fault LKR"; - } - leaf fault-ais { - type boolean; - description "Fault AIS"; - } - leaf fault-time { - type uint32; - description "Fault Time"; - } - } - - grouping MPLS-TE-S2L-PROTECTION-OBJECT { - description "TE Protection Object"; - leaf s2l-secondary { - type boolean; - description " S2L Protection Secondary Bit"; - } - leaf s2l-protecting { - type boolean; - description " S2L Protection Protecting Bit"; - } - leaf s2l-notification { - type boolean; - description " S2L Protection Notification Bit"; - } - leaf s2l-operational { - type boolean; - description " S2L Protection Operational Bit"; - } - leaf enhanced { - type boolean; - description "Indicates Enhanced Protection Scheme"; - } - leaf ded1-plus1 { - type boolean; - description "Dedicated 1+1 Protection"; - } - leaf ded1-to1 { - type boolean; - description "Dedicated 1:1 Protection"; - } - leaf shared { - type boolean; - description "Shared Link Layer Protection"; - } - leaf link-unprotected { - type boolean; - description "LSP should not use any Link Layer Protection"; - } - leaf extra-traffic { - type boolean; - description - "LSP should use Links that are protecting other - (primary) traffic"; - } - leaf any { - type boolean; - description "Any"; - } - leaf rerouting { - type boolean; - description "Full Rerouting"; - } - leaf rerouting-no-et { - type boolean; - description "Rerouting Without Extra-Traffic"; - } - leaf one-to-n-protection-et { - type boolean; - description "1:N Protection with Extra-Traffic"; - } - leaf one-plus-one-uni { - type boolean; - description "1+1 Unidirectional Protection"; - } - leaf one-plus-one-bi { - type boolean; - description "1+1 Bidirectional Protection"; - } - leaf lsp-unprotected { - type boolean; - description "LSP Flags Unprotected"; - } - } - - grouping MPLS-TE-S2L-ASSOCIATION-OBJECT { - description "TE Association Object"; - leaf s2l-association-type { - type uint16; - description - "S2L Association Type - (draft-ietf-ccamp-mpls-tp-rsvpte-ext-associated-lsp)"; - } - leaf s2l-association-tie-role { - type Te-association-tie-role; - description "S2L Association Tie Role"; - } - leaf s2l-association-id { - type uint16; - description "S2L Association ID"; - } - leaf s2l-association-source { - type inet:ipv4-address; - description "S2L Association Source"; - } - leaf s2l-global-source { - type uint32; - description "S2L Global Source"; - } - list s2l-extended-id { - description "S2L Extended ID Array"; - leaf entry { - type uint32; - } - } - } - - grouping TE-S2L-SRLG-COLLECT-INFO { - description "SRLG-collection information"; - leaf srlg-collect-type { - type Te-srlg-collect-request; - description "SRLG-collection mechanism"; - } - list discovered-srlg { - description "Discovered SRLGs"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-TAIL-BFD-INFO { - description "TE Tail-end BFD information"; - - container session-info { - description "BFD Session Info"; - uses MPLS-TE-BFD-SESSION-INFO; - } - leaf failure-diagnostic-code { - type uint32; - description "BFD session failure diagnostic code"; - } - leaf failure-reason { - type string; - description "BFD session failure reason"; - } - leaf local-discriminator { - type uint32; - description "BFD Local Discriminator"; - } - leaf remote-discriminator { - type uint32; - description "BFD Remote Discrminator"; - } - leaf min-interval { - type uint32; - description "Hello interval in mini second"; - } - leaf min-interval-default { - type boolean; - description "Is default hello interval"; - } - leaf multiplier { - type uint8; - description "Multiplier"; - } - leaf multiplier-default { - type boolean; - description "Is default multiplier"; - } - } - - grouping MPLS-TE-BFD-DELETION-HISTORY { - description "TE Tunnel BFD Session Deletion History"; - leaf lsp-id { - type uint16; - description "LSP ID of the BFD session get deleted"; - } - leaf deletion-time { - type uint32; - description "Time stamp of the BFD session get deleted"; - } - leaf deletion-reason { - type string; - description "Reason for the BFD session get deleted"; - } - leaf deletion-diagnostic-code { - type uint32; - description "Diagnostic Code for the BFD session get deleted"; - } - } - - grouping MPLS-TE-BFD-SESSION-INFO { - description "TE BFD Session Info"; - leaf state { - type Te-bfd-lsp-session-state; - description "BFD session state"; - } - leaf state-change-time { - type uint32; - units "second"; - description - "Time in seconds since the last session state - change"; - } - } - - grouping MPLS-TE-HEAD-BFD-INFO { - description "TE Head-end BFD information"; - - container session-info { - description "BFD Session Info"; - uses MPLS-TE-BFD-SESSION-INFO; - } - - container deletion-history { - description "BFD Session Deletion History"; - uses MPLS-TE-BFD-DELETION-HISTORY; - } - leaf creation-time { - type uint32; - units "second"; - description "Time in seconds since the BFD session created"; - } - leaf lspbfd-type { - type Te-vif-bfd; - description "LSP BFD type"; - } - leaf is-redundant { - type boolean; - description "sBFD session is redundant"; - } - leaf bfd-reverse-path-stale { - type boolean; - description - "The BFD reverse path is stale compared to - configuration"; - } - list bfd-reverse-path-label { - description "BFD reverse path labels"; - leaf entry { - type uint32; - } - } - } - - grouping TE-PVT-PROT-OBJ { - description "Private Protection information signaled"; - leaf sbit { - type boolean; - description "Secondary bit"; - } - leaf pbit { - type boolean; - description "Protecting bit"; - } - leaf nbit { - type boolean; - description "Notification bit "; - } - leaf obit { - type boolean; - description "Operational bit"; - } - leaf protect-type { - type Te-protect; - description "LSP Protect Type"; - } - leaf is-wtr-present { - type boolean; - description "Is Wait-to-Restore timeout present"; - } - leaf wtr-timeout { - type uint32; - description "Wait-to-Restore timeout"; - } - leaf is-hopresent { - type boolean; - description "Is Hold-Off timeout present"; - } - leaf ho-timeout { - type uint32; - description "Hold-Off timeout"; - } - leaf is-snc-mode-present { - type boolean; - description "Is SNC mode present"; - } - leaf snc-mode { - type Te-aps-snc-mode; - description "SNC mode"; - } - leaf tcm-id { - type uint32; - description "TCM ID"; - } - leaf path-prot-profile-type { - type Te-path-prot-profile; - description "Path protection profile type"; - } - } - - grouping MPLS-TE-S2L-APS-INFO { - description "APS Protection Info of S2L"; - - container protection-info { - description "Protection Info"; - uses TE-PVT-PROT-OBJ; - } - } - - grouping TE-ODU-FLEX-GFP-F-NON-RES-INFO { - description - "ODU flex info for non-resizable GFP-F framing - type"; - leaf bit-rate { - type uint32; - description "Bit rate in kbit/s"; - } - } - - grouping TE-ODU-FLEX-GFP-F-RES-INFO { - description "ODU flex info for resizable GFP-F framing type"; - leaf bit-rate { - type uint32; - description "Bit rate in kbit/s"; - } - } - - grouping TE-ODU-FLEX-CBR-INFO { - description "ODU flex info for CBR framing type"; - leaf bit-rate { - type uint32; - description "Bit rate in kbit/s"; - } - leaf tolerance { - type uint16; - description "Tolerance"; - } - } - - grouping TE-ODU-V3-BW { - description "ODU bandwidth union"; - - container odu-flex-cbr { - when "../odu-level = 'te-odu-level-flex-cbr'" { - description "../ODULevel = 'TE_ODULevelFlexCBR'"; - } - description "Odu flex CBR info"; - uses TE-ODU-FLEX-CBR-INFO; - } - - container odu-flex-gfp-f-res { - when "../odu-level = 'te-odu-level-flex-gfpf-resizeable'" { - description "../ODULevel = 'TE_ODULevelFlexGFPFResizeable'"; - } - description "Odu flex GFP-F resizable info"; - uses TE-ODU-FLEX-GFP-F-RES-INFO; - } - - container odu-flex-gfp-f-non-res { - when "../odu-level = 'te-odu-level-flex-gfpf-non-resizable'" { - description - "../ODULevel = 'TE_ODULevelFlexGFPFNonResizable'"; - } - description "Odu flex GFP-F non-resizable info"; - uses TE-ODU-FLEX-GFP-F-NON-RES-INFO; - } - leaf odu-level { - type Te-odu-level; - description "ODULevel"; - } - } - - grouping MPLS-TE-S2L-OTN-INFO { - description "OTN S2L's Controllers' information"; - - container bandwidth { - description "OTN Bandwidth for s2l"; - uses TE-ODU-V3-BW; - } - - container labels { - description "Labels"; - uses MPLS-TE-MGMT-GMPLS-LABELS; - } - leaf incoming-controller { - type string; - description "Incoming Controller"; - } - leaf incoming-controller-state { - type Te-controller-state; - description "State of Incoming Controller"; - } - leaf incoming-sub-controller { - type string; - description "Incoming Sub Controller"; - } - leaf incoming-sub-controller-state { - type Te-controller-state; - description "State of Incoming Sub Controller"; - } - leaf outgoing-controller { - type string; - description "Outgoing Controller"; - } - leaf outgoing-controller-state { - type Te-controller-state; - description "State of Outgoing Controller"; - } - leaf outgoing-sub-controller { - type string; - description "Outgoing Sub Controller"; - } - leaf outgoing-sub-controller-state { - type Te-controller-state; - description "State of Outgoing Sub Controller"; - } - leaf cross-connect-id { - type uint32; - description "Cross connect id"; - } - leaf is-connected { - type boolean; - description "True if subcontrollers are connected"; - } - leaf uptime { - type uint32; - description "XC Uptime"; - } - leaf outgoing-controller-ifhandle { - type xr:Interface-name; - description "Outgoing Controller Ifhandle"; - } - leaf outgoing-sub-controller-ifhandle { - type xr:Interface-name; - description "Outgoing Sub Controller Ifhandle"; - } - leaf incoming-controller-ifhandle { - type xr:Interface-name; - description "Incoming Controller Ifhandle"; - } - leaf incoming-sub-controller-ifhandle { - type xr:Interface-name; - description "Incoming Sub Controller Ifhandle"; - } - leaf gpid { - type uint16; - description "Gpid Payload"; - } - } - - grouping MPLS-TE-OTN-S2L-INFO { - description "OTN S2l information"; - - container otn { - description "Info Related to OTN technology in S2L"; - uses MPLS-TE-S2L-OTN-INFO; - } - - container aps { - description "APS Info for OTN S2L"; - uses MPLS-TE-S2L-APS-INFO; - } - } - - grouping MPLS-TE-MGMT-G709-OTN-FIXED-SIZE-LABEL { - description "GMPLS G709 OTN fixed-size Label"; - leaf tpn { - type uint16; - description "Tributary time slot"; - } - leaf bit-map-length { - type uint16; - description "Bit map length"; - } - list bit-map { - description "Bit Map"; - leaf entry { - type uint8; - } - } - } - - grouping MPLS-TE-MGMT-WDM-FIXED-GRID-LABEL { - description "GMPLS WDM fixed-grid Label"; - leaf label-set { - type boolean; - description "Flag to indicate whether label is set"; - } - leaf grid { - type Gmpls-uni-mgmt-wdm-grid; - description "Grid"; - } - leaf channel-spacing { - type Gmpls-uni-mgmt-dwdm-cs; - description "Channel spacing"; - } - leaf identifier { - type uint16; - description "Identifier"; - } - leaf channel { - type int16; - description "Channel Number"; - } - } - - grouping MPLS-TE-MGMT-GMPLS-LABEL { - description "A GMPLS label"; - - container wdm { - when "../label-type = 'fixed-wdm'" { - description "../LabelType = 'FixedWDM'"; - } - description "Fixed-grid WDM label"; - uses MPLS-TE-MGMT-WDM-FIXED-GRID-LABEL; - } - - container otn { - when "../label-type = 'fixed-g709otn'" { - description "../LabelType = 'FixedG709OTN'"; - } - description "Fixed-size G09 OTN label"; - uses MPLS-TE-MGMT-G709-OTN-FIXED-SIZE-LABEL; - } - leaf label-type { - type Mpls-te-mgmt-gmpls-label; - description "LabelType"; - } - } - - grouping MPLS-TE-MGMT-GMPLS-LABELS { - description "GMPLS Labels"; - - container path-ingress-label { - description "Path message (upstream) ingress label"; - uses MPLS-TE-MGMT-GMPLS-LABEL; - } - - container path-egress-label { - description "Path message (upstream) egress label"; - uses MPLS-TE-MGMT-GMPLS-LABEL; - } - - container resv-ingress-label { - description "Resv message (downstream) ingress label"; - uses MPLS-TE-MGMT-GMPLS-LABEL; - } - - container resv-egress-label { - description "Resv message (downstream) egress label"; - uses MPLS-TE-MGMT-GMPLS-LABEL; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-LSP-INFO { - description "Midpoint Soft Preemption LSP Info"; - leaf status { - type Mpls-te-soft-preemption-state; - description - "The current state of the soft preemption - operation"; - } - leaf soft-preemption-timestamp { - type uint32; - description - "The POSIX timestamp when the soft preemption - occurred"; - } - leaf soft-preemption-link { - type string; - description - "Name of the link where the soft preemption - occurred"; - } - leaf preempting-link-address { - type inet:ipv4-address; - description - "The address of the link where the preemption - happened"; - } - leaf time-to-hard-preemption { - type uint16; - units "second"; - description - "The number of seconds until hard preemption is - triggered"; - } - leaf fr-rrewrite { - type boolean; - description "FRR-rewrite during soft preemption"; - } - leaf fr-rrewrite-tunnel-name { - type string; - description "The tunnel name of the backup"; - } - } - - grouping TE-LSP-CONVERGENCE-INFO { - description "TE LSP convergence related information"; - leaf path-in { - type uint64; - units "nanosecond"; - description "LSP RSVP Path-in timestamp (clocktime in nsecs)"; - } - leaf path-out { - type uint64; - units "nanosecond"; - description "LSP RSVP Path-in timestamp (clocktime in nsecs)"; - } - leaf resv-in { - type uint64; - units "nanosecond"; - description "LSP RSVP Resv-in timestamp (clocktime in nsecs)"; - } - leaf resv-out { - type uint64; - units "nanosecond"; - description - "LSP RSVP Resv-out timestamp (clocktime in nsecs)"; - } - leaf label-rewrite { - type uint64; - units "nanosecond"; - description - "LSP Label rewrite timestamp (clocktime in nsecs)"; - } - leaf tunnel-rewrite { - type uint64; - units "nanosecond"; - description "Tunnel rewrite timestamp (clocktime in nsecs)"; - } - leaf creation-time { - type uint64; - units "nanosecond"; - description "Tunnel creation timestamp (clocktime in nsecs)"; - } - } - - grouping TE-MGMT-G709-OTN-FSPEC { - description "TE G709 OTN FSpec"; - leaf signal-type { - type uint8; - description "Signal Type"; - } - leaf nmc-or-tolerance { - type uint16; - description "NMC or Tolerance"; - } - leaf nvc { - type uint16; - description "Number of Virtual Components"; - } - leaf multiplier { - type uint16; - description "Multiplier"; - } - leaf bit-rate { - type uint32; - units "kbit/s"; - description "Bit Rate in kbps"; - } - } - - grouping TE-MGMT-GENERIC-FSPEC { - description "Union of different TE generic FSpec types"; - - container otnfspec { - when "../fspec-type = 'te-generic-fspec-type-g709otn'" { - description "../FSpecType = 'TEGenericFSpecTypeG709OTN'"; - } - description "TE FSpec for G709 OTN"; - uses TE-MGMT-G709-OTN-FSPEC; - } - leaf fspec-type { - type Te-mgmt-generic-fspec; - description "FSpecType"; - } - } - - grouping TE-MGMT-G709-OTN-TSPEC { - description "TE G709 OTN TSpec"; - leaf signal-type { - type uint8; - description "Signal Type"; - } - leaf nmc-or-tolerance { - type uint16; - description "NMC or Tolerance"; - } - leaf nvc { - type uint16; - description "Number of Virtual Components"; - } - leaf multiplier { - type uint16; - description "Multiplier"; - } - leaf bit-rate { - type uint32; - units "kbit/s"; - description "Bit Rate in kbps"; - } - } - - grouping TE-MGMT-GENERIC-TSPEC { - description "Union of different TE generic TSpec types"; - - container otntspec { - when "../tspec-type = 'te-generic-tspec-type-g709otn'" { - description "../TSpecType = 'TEGenericTSpecTypeG709OTN'"; - } - description "TE TSpec for G709 OTN"; - uses TE-MGMT-G709-OTN-TSPEC; - } - leaf tspec-type { - type Te-mgmt-generic-tspec; - description "TSpecType"; - } - } - - grouping BANDWIDTH-SPEC-BAG { - description "Bandwidth information of a flow"; - leaf average-rate { - type uint64; - units "kbit/s"; - description "Average bandwidth in kbps"; - } - leaf maximum-burst { - type uint64; - units "byte"; - description "Maximum burst of data in bytes"; - } - leaf peak-rate { - type uint64; - units "kbit/s"; - description "Peak rate in kbps"; - } - } - - grouping TUNNEL-HOP-INFO { - description "Hop information"; - leaf hop-address { - type inet:ipv4-address; - description "Hop address"; - } - leaf hop-affinity { - type uint32; - description "Deprecated"; - } - list hop-extended-affinity { - description "Hop affinity"; - leaf entry { - type uint32; - } - } - } - - grouping RSVP-MGMT-RRO-SRLG-SUBOBJ { - description "RSVP RRO SRLG subobject"; - list srl-gs { - description "The RRO Subobject SRLGs"; - leaf entry { - type uint32; - } - } - } - - grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS { - description "RSVP RRO UNNUMBERED Subobject Flags"; - leaf is-protection-available { - type boolean; - description "Local Protection Available"; - } - leaf is-protection-in-use { - type boolean; - description "Local Protection In Use"; - } - leaf is-bandwidth-protected { - type boolean; - description "Bandwidth Protection Available"; - } - leaf is-node-protection-available { - type boolean; - description "Node Protection Available"; - } - leaf is-node-id { - type boolean; - description "Node ID In Use"; - } - } - - grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ { - description "RSVP RRO Unnumbered subobject"; - - container flags { - description "The RRO Subobject Unnumbered Flags"; - uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS; - } - leaf interface-address { - type inet:ipv4-address; - description "The RRO Interface Address"; - } - leaf interface-id { - type uint32; - description "The RRO Interface ID"; - } - } - - grouping RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS { - description "RSVP RRO Label Subobject Flags"; - leaf is-global-label { - type boolean; - description "Label is Global across all interfaces"; - } - } - - grouping RSVP-MGMT-RRO-LABEL-SUBOBJ { - description "RSVP RRO Label subobject"; - - container flags { - description "The RRO Subobject Label Flags"; - uses RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS; - } - leaf label { - type uint32; - description "The RRO Subobject Label Value"; - } - leaf is-label-variable-length { - type boolean; - description "Is the RRO Subobject Label Variable Length"; - } - list variable-length-label { - description "The RRO Subobject Variable Length Label"; - leaf entry { - type uint32; - } - } - } - - grouping RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS { - description "RSVP RRO IPV4 Subobject Flags"; - leaf is-protection-available { - type boolean; - description "Local Protection Available"; - } - leaf is-protection-in-use { - type boolean; - description "Local Protection In Use"; - } - leaf is-bandwidth-protected { - type boolean; - description "Bandwidth Protection Available"; - } - leaf is-node-protection-available { - type boolean; - description "Node Protection Available"; - } - leaf is-node-id { - type boolean; - description "Node ID In Use"; - } - } - - grouping RSVP-MGMT-RRO-IPV4-SUBOBJ { - description "RSVP RRO IPV4 subobject"; - - container flags { - description "The RRO IPV4 Subobject Flags"; - uses RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS; - } - leaf rro-address { - type inet:ipv4-address; - description "The RRO IPV4 Address"; - } - } - - grouping RSVP-MGMT-RRO-SUBOBJ { - description "Union of the different RSVP RRO types"; - - container ipv4rro-sub-object { - when "../rro-type = 'ipv4rro-type'" { - description "../RROType = 'IPv4RROType'"; - } - description "IPV4 RRO Sub Object"; - uses RSVP-MGMT-RRO-IPV4-SUBOBJ; - } - - container label-rro-sub-object { - when "../rro-type = 'label-rro-type'" { - description "../RROType = 'LabelRROType'"; - } - description "Label RRO Sub Object"; - uses RSVP-MGMT-RRO-LABEL-SUBOBJ; - } - - container unnumbered-rro-sub-object { - when "../rro-type = 'unnumbered-rro-type'" { - description "../RROType = 'UnnumberedRROType'"; - } - description "Unnumbered RRO Sub Object"; - uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ; - } - - container srlg-rro-sub-object { - when "../rro-type = 'srlg-rro-type'" { - description "../RROType = 'SRLG_RROType'"; - } - description "SRLG RRO Sub Object"; - uses RSVP-MGMT-RRO-SRLG-SUBOBJ; - } - leaf rro-type { - type Rsvp-mgmt-rro-subobj; - description "RROType"; - } - } - - grouping RSVP-MGMT-ERO-UNNUM-SUBOBJ { - description "RSVP ERO UNNUM subobject"; - leaf is-strict-route { - type boolean; - description "ERO Entry Is Strict"; - } - leaf ero-interface-id { - type uint32; - description "The Interface ID in ERO"; - } - leaf ero-router-id { - type inet:ipv4-address; - description "The Router ID in ERO"; - } - leaf status { - type Rsvp-mgmt-ero-subobj-status; - description "Status of ERO"; - } - } - - grouping RSVP-MGMT-ERO-IPV4-SUBOBJ { - description "RSVP ERO IPV4 subobject"; - leaf is-strict-route { - type boolean; - description "ERO Entry Is Strict"; - } - leaf ero-address { - type inet:ipv4-address; - description "The ERO IPV4 Address"; - } - leaf prefix-length { - type uint8; - description "ERO Prefix Length"; - } - } - - grouping RSVP-MGMT-ERO-SUBOBJ { - description "Union of the different RSVP ERO types"; - - container ipv4ero-sub-object { - when "../ero-type = 'rsvp-mgmt-ero-type-ipv4'" { - description "../EROType = 'RSVP_MGMT_ERO_TYPE_IPv4'"; - } - description "IPV4 ERO Sub Object"; - uses RSVP-MGMT-ERO-IPV4-SUBOBJ; - } - - container unnumbered-ero-sub-object { - when "../ero-type = 'rsvp-mgmt-ero-type-un-num'" { - description "../EROType = 'RSVP_MGMT_ERO_TYPE_UNNUM'"; - } - description "Unnumbered ERO Sub Object"; - uses RSVP-MGMT-ERO-UNNUM-SUBOBJ; - } - leaf ero-type { - type Rsvp-mgmt-ero-subobj; - description "EROType"; - } - } - - grouping MPLS-TE-P2MP-SIG-ERROR { - description "P2MP signalling error"; - leaf error-node { - type uint32; - description "Source address of the error generating node"; - } - leaf error { - type uint8; - description "Path Error code"; - } - leaf sub-code { - type uint16; - description "Path Error subcode"; - } - leaf lsp-mode { - type Mpls-te-lsp-mode; - description "LSPMode"; - } - leaf log-time { - type uint32; - units "second"; - description - "Time in seconds when the error message is logged"; - } - leaf signalling-lsp-id { - type uint16; - description "LSP-id for which the error was received"; - } - leaf error-message { - type string; - description "Error message (for display purposes only)"; - } - leaf reverse-lsp { - type boolean; - description "Indicates if error is on the reverse LSP"; - } - } - - grouping MPLS-TE-P2MP-PCALC-ERROR { - description "Path computation error information"; - leaf error-message { - type string; - description "Error message (for display purposes only)"; - } - leaf lsp-mode { - type Mpls-te-lsp-mode; - description "LSP Mode"; - } - leaf log-time { - type uint32; - units "second"; - description - "Time in seconds seconds (since Jan. 1, 1970) - when the error message is logged"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-ENTRY { - description "TE segment routing prepend entry"; - leaf type { - type Te-attribute-set-sr-prepend; - description "Prepend Type"; - } - leaf index { - type uint32; - description "Prepend index"; - } - leaf next-label { - type uint32; - description "Prepend next label"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-LIST { - description "TE segment routing prepend list"; - - list prepend-entry { - description "List of prepend entries"; - uses MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-ENTRY; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-P2P-TE { - description "TE P2P-TE Attribute Set"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - - container logging { - description "Logging attributes"; - uses MPLS-TE-LOGGING-ATTRIBUTES; - } - - container prepend-list { - description "SR prepend list"; - uses MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-LIST; - } - leaf is-affinity-configured { - type boolean; - description "Is affinity configured"; - } - leaf path-selection-segment-routing-adjacency-protection { - type Te-s2l-sr-path-selection; - description "Path selection segment-routing type"; - } - leaf is-path-selection-segment-routing-adjacency-protection-configured { - type boolean; - description "Is path selection segment routing configured"; - } - leaf path-invalidation-timeout { - type uint32; - description "Path invalidation timeout on the tunnel path"; - } - leaf path-selection-invalidation-action { - type Te-path-inval-action; - description "Path invalidation action"; - } - leaf is-path-invalidation-timeout-configured { - type boolean; - description "Is Path Invalidation timeout configured"; - } - leaf is-path-invalidation-action-configured { - type boolean; - description "Is Path Invalidation action configured"; - } - leaf path-selection-metric { - type Mpls-te-metric; - description "Path selection metric type"; - } - leaf is-path-selection-metric-configured { - type boolean; - description "Is path selection metric configured"; - } - leaf path-selection-segment-routing-margin { - type uint32; - description "Path selection margin"; - } - leaf is-path-selection-segment-routing-margin-relative { - type boolean; - description "Path selection margin is_relative"; - } - leaf is-path-selection-segment-routing-margin-configured { - type boolean; - description "Is path selection margin configured"; - } - leaf path-selection-segment-routing-segment-limit { - type uint32; - description "Is path selection segment limit configured"; - } - leaf is-path-selection-segment-routing-segment-limit-configured { - type boolean; - description "Is path selection segment limit configured"; - } - leaf is-path-select-configured { - type boolean; - description - "Is any of the path selection parameters - configured"; - } - leaf is-prepend-list-configured { - type boolean; - description "Is SR prepend list configured"; - } - leaf is-pce-configured { - type boolean; - description "Is PCE Configured"; - } - leaf is-pce-disj-source-configured { - type boolean; - description "Is PCE Disjoint Path Source Configured"; - } - leaf is-pce-disj-type-configured { - type boolean; - description "Is PCE Disjoint Path Type Configured"; - } - leaf is-pce-disj-group-id-configured { - type boolean; - description "Is PCE Disjoint Path Group ID Configured"; - } - leaf pcedp-source-address { - type uint32; - description "PCE Disjoint Path Source Address"; - } - leaf pcedp-type { - type Te-pce-disjoint; - description "PCE Disjoint Path Type"; - } - leaf pcedp-group-id { - type uint32; - description "PCE Disjoint Path Group ID"; - } - leaf is-pceb-dj-source-configured { - type boolean; - description "Is PCE Bidirectional Source Configured"; - } - leaf is-pcebd-group-id-configured { - type boolean; - description "Is PCE Bidirectional Group ID Configured"; - } - leaf pcebd-source-address { - type uint32; - description "PCE Bidirectional Source Address"; - } - leaf pcebd-group-id { - type uint32; - description "PCE Bidirectional Group ID"; - } - list tunnel-id { - description "Tunnel ID"; - leaf entry { - type uint16; - } - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-APS-PP { - description "TE OTN path protection attribute set"; - - container revert-schedule { - description "Revert Schedule"; - uses TE-REVERT-SCH; - } - leaf snc-mode { - type Te-aps-snc-mode; - description "Sub-network Connection Mode"; - } - leaf tcm-id { - type uint32; - description "Sub-network Connection Monitoring Mode"; - } - leaf protection-type { - type Te-protect; - description "Protection Type"; - } - leaf protection-mode { - type Te-pnr-revert-options; - description "Protection Restoration Mode"; - } - leaf wait-to-restore-time { - type uint32; - description "Wait to restore time"; - } - leaf hold-off-time { - type uint32; - description "Hold-off time"; - } - leaf path-prot-profile-type { - type Te-path-prot-profile; - description "Path Protection Profile Type"; - } - leaf restoration-style { - type Te-restoration-style; - description "Restoration Style"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-P2MP-TE { - description "TE P2MP-TE Attribute Set"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - leaf fast-reroute { - type boolean; - description "Fast reroute"; - } - leaf frr-bandwidth-protection { - type boolean; - description "FRR bandwidth protection"; - } - leaf setup-priority { - type uint8; - description "Setup priority"; - } - leaf hold-priority { - type uint8; - description "Hold priority"; - } - leaf is-priority-configured { - type boolean; - description "Is priority configured"; - } - leaf configured-bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth value in kbps"; - } - leaf dste-class-type { - type uint8; - description "DSTE Class"; - } - leaf is-bandwidth-configured { - type boolean; - description "Is bandwidth configured"; - } - leaf is-affinity-configured { - type boolean; - description "Is affinity configured"; - } - list tunnel-id { - description "Tunnel ID"; - leaf entry { - type uint16; - } - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-XRO { - description "TE XRO attribute set"; - - container xro { - description "The XRO specified by this attribute-set"; - uses TE-XRO; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-AUTO-MESH { - description "TE Auto-mesh Attribute Set"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - - container logging { - description "Logging attributes"; - uses MPLS-TE-LOGGING-ATTRIBUTES; - } - leaf configured-bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth value in kbps"; - } - leaf dste-class-type { - type uint8; - description "DSTE Class"; - } - leaf is-bandwidth-configured { - type boolean; - description "Is bandwidth configured"; - } - leaf setup-priority { - type uint8; - description "Setup priority"; - } - leaf hold-priority { - type uint8; - description "Hold priority"; - } - leaf is-priority-configured { - type boolean; - description "Is priority configured"; - } - leaf policy-class { - type uint8; - description "deprecated"; - } - leaf is-policyclass-configured { - type boolean; - description "Is policy class configured"; - } - leaf forward-class { - type uint32; - description "Forward class"; - } - leaf is-affinity-configured { - type boolean; - description "Is affinity configured"; - } - leaf fast-reroute { - type boolean; - description "Fast reroute"; - } - leaf frr-node-protection { - type boolean; - description "FRR Node protection"; - } - leaf frr-bandwidth-protection { - type boolean; - description "FRR bandwidth protection"; - } - leaf record-route { - type boolean; - description "Record route"; - } - leaf auto-bandwidth-collect { - type boolean; - description "Auto bandwidth collect only"; - } - leaf auto-route-announce { - type boolean; - description "Announce auto route to IGP"; - } - leaf soft-preemption-configured { - type boolean; - description "Soft preemption is configured"; - } - leaf bandwidth { - type uint32; - description "IM bandwidth"; - } - leaf load-share { - type uint32; - description "Load Share"; - } - leaf is-interface-bw-configured { - type boolean; - description "Is Interface BW configured"; - } - list policy-class-entry { - description "PBTS policy classes"; - leaf entry { - type uint8; - } - } - list mesh-group-id { - description "Meshgroup ID"; - leaf entry { - type uint32; - } - } - list tunnel-id { - description "Tunnel ID"; - leaf entry { - type uint16; - } - } - } - - grouping MPLS-TE-PROTECTED-IF-NAME-STR { - description "TE Protected Interface Name String"; - leaf protected-interface { - type string; - description "Protected Interface Name"; - } - } - - grouping MPLS-TE-LOGGING-ATTRIBUTES { - description "TE Logging Attributes"; - leaf lsp-state { - type boolean; - description - "LSP State logging: TRUE - enabled, FALSE - - disabled"; - } - leaf s2l-state { - type boolean; - description - "S2L State logging: TRUE - enabled, FALSE - - disabled"; - } - leaf lsp-re-route { - type boolean; - description - "LSP re-route logging: TRUE - enabled, FALSE - - disabled"; - } - leaf lsp-re-opt { - type boolean; - description - "LSP re-optimization logging: TRUE - enabled, - FALSE - disabled"; - } - leaf lsp-insufficient-bw { - type boolean; - description - "LSP insufficient bandwidth logging: TRUE - - enabled, FALSE - disabled"; - } - leaf lsp-bandwidth-change { - type boolean; - description - "LSP bandwidth change logging: TRUE - enabled, - FALSE - disabled"; - } - leaf lsp-pcalc-failure-logging-enabled { - type boolean; - description - "LSP pcalc failure logging: TRUE - enabled, FALSE - - disabled"; - } - leaf all-logging-enabled { - type boolean; - description - "All logging option: TRUE - enabled, FALSE - - disabled"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-SIG-NAME { - description "Attribute set signalled name"; - leaf name { - type string; - description "Signalled name"; - } - leaf source-type { - type Te-sig-name-append; - description "Source address or name"; - } - leaf protected-interface-type { - type Te-sig-name-append; - description "Protected interface address or name"; - } - leaf is-mp-addresses { - type boolean; - description "MP address appended"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-AUTO-BACKUP { - description "TE Auto-backup Attribute Set"; - - container signalled-name { - description "Signalled name"; - uses MPLS-TE-ATTRIBUTE-SET-SIG-NAME; - } - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - - container logging { - description "Logging attributes"; - uses MPLS-TE-LOGGING-ATTRIBUTES; - } - leaf is-signalled-name-configured { - type boolean; - description "Is signalled name configured"; - } - leaf setup-priority { - type uint8; - description "Setup priority"; - } - leaf hold-priority { - type uint8; - description "Hold priority"; - } - leaf is-priority-configured { - type boolean; - description "Is priority configured"; - } - leaf policy-class { - type uint8; - description "deprecated"; - } - leaf is-policyclass-configured { - type boolean; - description "Is policy class configured"; - } - leaf is-affinity-configured { - type boolean; - description "Is affinity configured"; - } - leaf record-route { - type boolean; - description "Record route"; - } - list policy-class-entry { - description "PBTS policy classes"; - leaf entry { - type uint8; - } - } - list tunnel-id { - description "Tunnel ID"; - leaf entry { - type uint16; - } - } - - list protected-interface { - description "Array of Protected Interface Names"; - uses MPLS-TE-PROTECTED-IF-NAME-STR; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-BFD-REV-PATH { - description "TE segment routing path list"; - leaf path-type { - type Te-bfd-reverse-path; - description "BFD reverse path type"; - } - leaf binding-label { - type uint32; - description "BFD reverse path binding label"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-VERSION { - description "TE attribute set versioning info"; - leaf attribute-type { - type string; - description "Attribute Type"; - } - leaf generation { - type uint32; - description "Generation"; - } - leaf is-default { - type boolean; - description "Is default"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-PATH-OPTION { - description "TE Path Option Attribute Set"; - - container affinity { - description "Affinity"; - uses MPLS-TE-TUNNELS-AFFINITY-INFO; - } - - container bfd-reverse-path { - description "BFD reverse path"; - uses MPLS-TE-ATTRIBUTE-SET-BFD-REV-PATH; - } - leaf configured-bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth value in kbps"; - } - leaf cost-limit { - type uint32; - description "Cost limit on the tunnel path"; - } - leaf dste-class-type { - type uint8; - description "DSTE Class"; - } - leaf bandwidth-type { - type Mpls-te-bw-pool; - description "The bandwidth type"; - } - leaf is-bandwidth-configured { - type boolean; - description "Is bandwidth configured"; - } - leaf is-cost-limit-configured { - type boolean; - description "Is Cost Limit configured"; - } - leaf is-affinity-configured { - type boolean; - description "Is affinity configured"; - } - leaf generation { - type uint32; - description "Generation"; - } - leaf path-invalidation-timeout { - type uint32; - description "Path invalidation interval on the tunnel path"; - } - leaf path-invalidation-action { - type uint32; - description "Path invalidation action"; - } - leaf is-path-invalidation-timeout-configured { - type boolean; - description "Is path invalidation timeout configured"; - } - leaf is-path-invalidation-action-configured { - type boolean; - description "Is path invalidation action configured"; - } - leaf exclude-list-name { - type string; - description "Exclude list name"; - } - leaf is-exclude-list-name-configured { - type boolean; - description "Is exclude list name configured"; - } - leaf is-pce-configured { - type boolean; - description "Is PCE Configured"; - } - leaf is-pce-disj-source-configured { - type boolean; - description "Is PCE Disjoint Path Source Configured"; - } - leaf is-pce-disj-type-configured { - type boolean; - description "Is PCE Disjoint Path Type Configured"; - } - leaf is-pce-disj-group-id-configured { - type boolean; - description "Is PCE Disjoint Path Group ID Configured"; - } - leaf pcedp-source-address { - type uint32; - description "PCE Disjoint Path Source Address"; - } - leaf pcedp-type { - type Te-pce-disjoint; - description "PCE Disjoint Path Type"; - } - leaf pcedp-group-id { - type uint32; - description "PCE Disjoint Path Group ID"; - } - leaf is-pceb-dj-source-configured { - type boolean; - description "Is PCE Bidirectional Source Configured"; - } - leaf is-pcebd-group-id-configured { - type boolean; - description "Is PCE Bidirectional Group ID Configured"; - } - leaf pcebd-source-address { - type uint32; - description "PCE Bidirectional Source Address"; - } - leaf pcebd-group-id { - type uint32; - description "PCE Bidirectional Group ID"; - } - leaf is-bfd-reverse-pat-configured { - type boolean; - description "Is BFD reverse path configured"; - } - list tunnel-id { - description "Tunnel ID"; - leaf entry { - type uint16; - } - } - - list version-info { - description "Version Info"; - uses MPLS-TE-ATTRIBUTE-SET-VERSION; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET-UNION { - description "TE Attribute Set Union"; - - container attribute-set-path-option { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-path-option'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetPathOption'"; - } - description "MPLS TE Path Option Attribute Set"; - uses MPLS-TE-ATTRIBUTE-SET-PATH-OPTION; - } - - container attribute-set-autobackup { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-auto-backup'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetAutoBackup'"; - } - description "MPLS TE Auto-backup Attribute Set"; - uses MPLS-TE-ATTRIBUTE-SET-AUTO-BACKUP; - } - - container attribute-set-automesh { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-auto-mesh'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetAutoMesh'"; - } - description "MPLS TE Auto-mesh Attribute Set"; - uses MPLS-TE-ATTRIBUTE-SET-AUTO-MESH; - } - - container attribute-set-xro { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-xro'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetXRO'"; - } - description "Attribute Set XRO"; - uses MPLS-TE-ATTRIBUTE-SET-XRO; - } - - container attribute-set-p2mpte { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-p2mpte'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetP2MPTE'"; - } - description "MPLS TE P2MP-TE Attribute Set"; - uses MPLS-TE-ATTRIBUTE-SET-P2MP-TE; - } - - container attribute-set-aps-pp { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-aps-pp'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeAPS_PP'"; - } - description "Attribute Set OTN APS Path Protection"; - uses MPLS-TE-ATTRIBUTE-SET-APS-PP; - } - - container attribute-set-p2p-te { - when "../tunnel-attribute-set-type ="+ - " 'tunnel-attribute-set-p2p-te'" { - description - "../TunnelAttributeSetType = - 'TunnelAttributeSetP2P_TE'"; - } - description "MPLS TE P2P-TE Attribute Set"; - uses MPLS-TE-ATTRIBUTE-SET-P2P-TE; - } - leaf tunnel-attribute-set-type { - type Tunnel-attribute-set; - description "TunnelAttributeSetType"; - } - } - - grouping MPLS-TE-ATTRIBUTE-SET { - description "TE Attribute Set"; - - container attribute-set-union { - description "Union of Attribute Sets"; - uses MPLS-TE-ATTRIBUTE-SET-UNION; - } - leaf tunnel-attribute-set-name { - type string; - description "Attribute Set Name"; - } - leaf tunnel-attribute-set-name-crc32 { - type uint32; - description "Attribute Set name CRC32 value"; - } - } - - grouping MPLS-TE-P2MP-PATH-OPTION { - description "P2MP path-option"; - - container attribute-set { - description "The path option attribute set used by this path"; - uses MPLS-TE-ATTRIBUTE-SET; - } - - container xro-attribute-set { - description "The XRO attribute set used by this path-option"; - uses MPLS-TE-ATTRIBUTE-SET; - } - leaf option-index-is-valid { - type boolean; - description "The path option index is valid"; - } - leaf option-index { - type uint32; - description "Path option index"; - } - leaf path-option-name { - type string; - description "Path option name"; - } - leaf path-option-type { - type Mpls-te-pathoption; - description "Path option type"; - } - leaf explicit-path-name { - type string; - description - "Explicit Path Name, this is the key to table - ExplicitPaths.NameTable"; - } - leaf explicit-path-id { - type uint16; - description - "Explicit Path ID, this is the key to table - ExplicitPaths.IdentifierTable"; - } - leaf holddown-duration { - type uint16; - units "second"; - description "Holddown Duration (seconds)"; - } - leaf pce-address { - type inet:ipv4-address; - description "PCE server address"; - } - leaf path-option-area-id { - type string; - description "The path-option area constraint"; - } - leaf is-strict-explicit-path { - type boolean; - description "TRUE if explicit path is strict"; - } - leaf is-helddown { - type boolean; - description "TRUE if path is helddown"; - } - leaf is-lockdown { - type boolean; - description "TRUE if the path is locked down"; - } - leaf is-verbatim { - type boolean; - description "TRUE if the path is verbatim"; - } - leaf is-disabled { - type boolean; - description "TRUE if the path option is disabled"; - } - leaf has-attribute-set { - type boolean; - description "TRUE if the path has an attribute set defined"; - } - leaf attribute-set-found { - type boolean; - description - "TRUE if the path has found the defined attribute - set"; - } - leaf has-xro-attribute-set { - type boolean; - description - "TRUE if the path has an XRO attribute set - configured"; - } - leaf xro-attribute-set-found { - type boolean; - description "TRUE if the path's XRO attribute set is known"; - } - leaf is-segment-routing { - type boolean; - description "TRUE if the path is Segment-Routing"; - } - leaf protected-by-path-option-index { - type uint32; - description "Path option index for Protect path options"; - } - leaf restored-from-path-option-index { - type uint32; - description "Path option index for Restore path options"; - } - - list path-calculation-error { - description "Path computation information"; - uses MPLS-TE-P2MP-PCALC-ERROR; - } - - list remerge-error { - description "Path computation remerge resolve info"; - uses MPLS-TE-P2MP-PCALC-ERROR; - } - - list signalling-error { - description "Signalling information"; - uses MPLS-TE-P2MP-SIG-ERROR; - } - } - - grouping MPLS-TE-P2MP-S2L { - description "A P2MP S2L"; - - container s2l-fec { - description "FEC for the S2L"; - uses TE-S2L-FEC; - } - - container active-path-option { - description - "The path option used to find the path for this - S2L"; - uses MPLS-TE-P2MP-PATH-OPTION; - } - - container out-xro { - description "Outgoing XRO for this S2L"; - uses TE-XRO; - } - - container in-xro { - description "Incoming XRO for this S2L"; - uses TE-XRO; - } - - container tspec { - description "The T spec info"; - uses BANDWIDTH-SPEC-BAG; - } - - container generic-tspec { - description "Generic TSpec"; - uses TE-MGMT-GENERIC-TSPEC; - } - - container fspec { - description "The F spec info"; - uses BANDWIDTH-SPEC-BAG; - } - - container generic-fspec { - description "Generic FSpec"; - uses TE-MGMT-GENERIC-FSPEC; - } - - container next-hop-address-generic { - description "Next hop address"; - uses TE-ADDR; - } - - container previous-hop-address-generic { - description "Previous hop address"; - uses TE-ADDR; - } - - container incoming-address-generic { - description "Incoming interface address"; - uses TE-ADDR; - } - - container s2l-convergence { - description "TE LSP convergence related information"; - uses TE-LSP-CONVERGENCE-INFO; - } - - container soft-preemption { - description "The soft preemption info for this LSP."; - uses MPLS-TE-SOFT-PREEMPTION-LSP-INFO; - } - - container gmpls-labels { - description "GMPLS labels"; - uses MPLS-TE-MGMT-GMPLS-LABELS; - } - - container otn-s2l { - description "Otn S2L Information"; - uses MPLS-TE-OTN-S2L-INFO; - } - - container head-end-bfd-info { - description "The Head-end BFD info"; - uses MPLS-TE-HEAD-BFD-INFO; - } - - container tail-end-bfd-info { - description "The Tail-end BFD info"; - uses MPLS-TE-TAIL-BFD-INFO; - } - - container srlg-collection { - description "SRLG-collection data"; - uses TE-S2L-SRLG-COLLECT-INFO; - } - - container association { - description "Association Object"; - uses MPLS-TE-S2L-ASSOCIATION-OBJECT; - } - - container protection { - description "Protection Object"; - uses MPLS-TE-S2L-PROTECTION-OBJECT; - } - - container reverse-lsp-fec { - description "Reverse Associated Bidir LSP FEC"; - uses TE-LSP-FEC; - } - - container reverse-tspec { - description "The Reverse T spec info"; - uses BANDWIDTH-SPEC-BAG; - } - - container flex-info { - description "FlexLSP S2L Information"; - uses MPLS-TE-S2L-FLEX-INFO; - } - - container lsp-wrap-info { - description "Lsp Wrap Related information"; - uses TUNNEL-MIDPOINT-LSP-WRAP-INFO-BAG; - } - - container diversity-info { - description "S2L Diversity Information"; - uses MPLS-TE-S2L-DIVERSITY-INFO; - } - leaf pcalc-area { - type string; - description "IGP-area in which the S2L path was calculated"; - } - leaf is-expanded-ero { - type boolean; - description "TRUE if this LSR expanded a loose path"; - } - leaf path-reeval-query-mid { - type uint32; - description - "Loose path reevaluation query received at - mid-point"; - } - leaf time-since-last-query-received-mid { - type uint32; - description - "Time since last reevaluation query received at - mid-point"; - } - leaf time-since-last-preferred-path-exists-send-mid { - type uint32; - description - "Time since last preferred path exists msg send - from mid-point"; - } - leaf time-since-last-preferred-tree-exists-send-mid { - type uint32; - description - "Time since last preferred tree exists msg send - from mid-point"; - } - leaf expanded-ero-area-id { - type string; - description - "Indicates the protocol and area used to find - Outgoing ERO"; - } - leaf expanded-ero-affinity-bits { - type uint32; - description "The Outgoing ERO's affinity bits (colors)"; - } - leaf expanded-ero-affinity-mask { - type uint32; - description "The Outgoing ERO's affinity mask (colors)"; - } - leaf expanded-ero-metric-type { - type Mpls-te-metric; - description "The Outgoing ERO's selection metric"; - } - leaf expanded-ero-metric { - type uint32; - description "The metric value of the expanded path"; - } - leaf abr-auto-discovered { - type inet:ipv4-address; - description "Next ABR auto discovered"; - } - leaf is-frr-enabled { - type boolean; - description "FRR Enabled or Disabled"; - } - leaf is-node-protected { - type boolean; - description "Node Protection Enabled or Disabled"; - } - leaf is-bandwidth-protect { - type boolean; - description "BW Protection Enabled or Disabled"; - } - leaf path-rro-enabled { - type boolean; - description "Path RRO Enabled or Disabled"; - } - leaf weight { - type uint64; - description "The path's weight"; - } - leaf reverse-weight { - type uint64; - description "The reverse path weight"; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the tunnel was up"; - } - leaf egress-interface { - type string; - description "Egress Interface"; - } - leaf egress-interface-state { - type Te-controller-state; - description "State of Outgoing Interface"; - } - leaf egress-interface-brief { - type string; - description "Egress Interface in brief format"; - } - leaf ingress-interface { - type string; - description "Ingress Interface"; - } - leaf ingress-interface-state { - type Te-controller-state; - description "State of Incoming Interface"; - } - leaf ingress-interface-brief { - type string; - description "Ingress Interface in brief format"; - } - leaf s2l-local-label { - type uint32; - description "Local label"; - } - leaf s2l-out-label { - type uint32; - description "Outgoing label"; - } - leaf outbound-frr-state { - type Mpls-te-frr-state; - description "Indicates outbound FRR state"; - } - leaf frr-out-tunnel-interface { - type string; - description "FRR out tunnel intface"; - } - leaf role { - type Mpls-te-tunnel-role; - description "Role of S2L"; - } - leaf signalling-status { - type Mpls-te-tunnels-signaling-status; - description "Signaling status"; - } - leaf local-router-id { - type inet:ipv4-address; - description "Local router id"; - } - leaf upstream-router-id { - type inet:ipv4-address; - description "Upstream router id"; - } - leaf downstream-router-id { - type inet:ipv4-address; - description "Downstream router id"; - } - leaf next-hop-address { - type inet:ipv4-address; - description "Next hop address"; - } - leaf previous-hop-address { - type inet:ipv4-address; - description "Previous hop address"; - } - leaf incoming-address { - type inet:ipv4-address; - description "Incoming interface address"; - } - leaf backup-tunnel-interface { - type xr:Interface-name; - description "Interface handle of the backup tunnel"; - } - leaf node-hop-count { - type uint8; - description "Hop count"; - } - leaf is-optical { - type boolean; - description "Is Optical"; - } - leaf s2l-reverse-ero-obj-present { - type boolean; - description " S2l Reverse ERO Object Present"; - } - leaf reverse-lsp-present { - type boolean; - description "Reverse Associated Bidir LSP Present"; - } - leaf reverse-lsp-connected { - type boolean; - description "Reverse Associated Bidir LSP Connected"; - } - leaf reverse-lsp-name { - type string; - description "Reverse Associated Bidir LSP Name"; - } - leaf s2l-reverse-tspec-obj-present { - type boolean; - description " S2L Reverse TSpec Object Present"; - } - leaf path-using-strict-spf { - type boolean; - description "Path is using Strict SPF"; - } - list s2l-reverse-lsp-sub-obj { - description "Reverse LSP Sub Objects"; - leaf entry { - type uint8; - } - } - - list shared-risk-link-group { - description "The S2L's excluded srlg groups"; - uses MPLS-SRLG-INFO; - } - - list out-ero { - description "Outgoing ERO for this S2L"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list in-ero { - description "Incoming ERO for this S2L"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list path-rro { - description "Path RRO for this S2L"; - uses RSVP-MGMT-RRO-SUBOBJ; - } - - list resv-rro { - description "Resv RRO for this S2L"; - uses RSVP-MGMT-RRO-SUBOBJ; - } - - list path-affinity-array { - description "Tunnel's Path hops with affinity"; - uses TUNNEL-HOP-INFO; - } - - list reverse-ero-in { - description " Reverse Incoming ERO for this S2L"; - uses RSVP-MGMT-ERO-SUBOBJ; - } - - list s2l-segment-routing-path { - description "Segment-Routing S2L path info"; - uses TE-S2L-SR-PATH-HOP; - } - } - - grouping MPLS-TE-P2MP-LSP { - description "A P2MP LSP"; - - container lsp-fec { - description "FEC for the LSP"; - uses TE-LSP-FEC; - } - leaf signaled-name { - type string; - description "Signaled Name"; - } - leaf is-frr-failed { - type boolean; - description "P2MP LSP has FRR Failed"; - } - leaf frr-active-reason { - type uint32; - description "P2MP LSP FRR active reason"; - } - leaf lsp-bandwidth { - type uint32; - description "P2MP LSP Bandwidth"; - } - leaf lsp-setup-priority { - type uint8; - description "LSP setup priority"; - } - leaf lsp-hold-priority { - type uint8; - description "LSP hold priority"; - } - leaf lsp-bandwidth-type { - type Mpls-te-bw-pool; - description "The LSP bandwidth type"; - } - leaf dste-class-match { - type boolean; - description - "Do the class type and priority match a DSTE - class"; - } - leaf dste-class-index { - type uint8; - description "Matching DSTE class index"; - } - leaf type { - type Mpls-te-lsp; - description "The type of this LSP"; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the tunnel was up"; - } - leaf s2-ls-up { - type uint32; - description "Number of connected S2Ls"; - } - leaf s2-ls-proceeding { - type uint32; - description "Number of proceeding S2Ls"; - } - leaf s2-ls-down { - type uint32; - description "Number of down S2Ls"; - } - leaf reoptimize-reason { - type Mpls-te-reopt-decision-reason; - description "Reason for re-optimization"; - } - leaf reoptimize-trigger { - type Mte-reopt-trigger; - description "Re-optimize trigger"; - } - leaf timer-left { - type uint32; - units "second"; - description "Time in seconds left to take next action if any"; - } - leaf is-passive { - type boolean; - description "True for passive tunnel"; - } - leaf is-interface { - type boolean; - description "True for tunnel head"; - } - leaf last-path-change { - type uint32; - units "second"; - description "Time in seconds since the last path change"; - } - leaf persistent-bytes { - type uint64; - units "byte"; - description - "Persistent forwarding statistics for number of - bytes. Clear counters will not reset the counter"; - } - leaf persistent-packets { - type uint64; - description - "Persistent forwarding statistics for Number of - packets. Clear counters will not reset the - counter"; - } - - list s2l { - description "array of S2L structures"; - uses MPLS-TE-P2MP-S2L; - } - } - - grouping MPLS-TE-P2MP-S2L-BRIEF { - description "A P2MP S2L"; - - container s2l-fec { - description "FEC for the S2L"; - uses TE-S2L-FEC; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the S2L was up"; - } - leaf egress-interface { - type string; - description "Egress Interface"; - } - leaf ingress-interface { - type string; - description "Ingress Interface"; - } - leaf role { - type Mpls-te-tunnel-role; - description "Role of S2L"; - } - leaf oper-state { - type boolean; - description "Oper state of S2L"; - } - } - - grouping MPLS-TE-P2MP-LSP-BRIEF { - description "A P2MP LSP"; - - container lsp-fec { - description "FEC for the LSP"; - uses TE-LSP-FEC; - } - leaf signaled-name { - type string; - description "Signaled Name"; - } - leaf uptime { - type uint32; - units "second"; - description "Time in seconds since the LSP was up"; - } - - list s2l { - description "array of S2L structures"; - uses MPLS-TE-P2MP-S2L-BRIEF; - } - } - - grouping TE-HW-OOR-STATS { - description "HW OOR statistics"; - leaf hw-oor-state { - type Hw-oor-state; - description - "The HW-OOR state that these statistics belong to"; - } - leaf transitions { - type uint32; - description "Number of transitions to this state"; - } - leaf node-protection-disable-number { - type uint32; - description - "Number of times this OOR state disabled node - protection assignment"; - } - leaf rejected-ls-ps-number { - type uint32; - description "Number of LSPs that were rejected in this state"; - } - leaf accepted-ls-ps-number { - type uint32; - description "Number of LSPs that were accepted in this state"; - } - leaf accepted-reopt-ls-ps-number { - type uint32; - description - "Number of Reoptimize LSPs that were accepted in - this state"; - } - leaf rejected-reopt-ls-ps-number { - type uint32; - description - "Number of Reoptimize LSPs that were rejected in - this state"; - } - } - - grouping TE-HW-OOR-STATE-INFO { - description "HW OOR State Information"; - - container statistics { - description "NPU HW OOR Statistics per state"; - uses TE-HW-OOR-STATS; - } - leaf hw-oor-state { - type Hw-oor-state; - description - "The HW-OOR state that this information belong to"; - } - leaf te-metric-penalty { - type uint32; - description - "The TE metric penalty when the link is in this - NPU HW OOR state"; - } - leaf available-bw-percentage { - type uint32; - units "percentage"; - description - "The flooded percentage of available bandwidth - advertized when the link is in this NPU HW OOR - state"; - } - leaf node-protection-disable { - type boolean; - description - "Disable FRR node protection when the link is in - this NPU HW OOR state"; - } - leaf transition-duration { - type uint32; - units "minute"; - description - "Recovery in minutes after the green OOR state is - entered."; - } - leaf minimum-lsp-bandwidth { - type uint32; - description - "Minimum LSP bandwidth so the LSP is admitted - when the link is in this NPU HW OOR state"; - } - leaf accept-reopt { - type boolean; - description - "Make-before-break is allowed for LSPs - reoptimizing over the same link in the NPU HW - OOR state"; - } - } - - grouping TE-HW-OOR-INFO { - description "NPU HW OOR parameters for MPLS-TE"; - - list hardware-out-of-resources-state { - max-elements "3"; - description "Array of NPU HW OOR info per state"; - uses TE-HW-OOR-STATE-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub6.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub6.yang deleted file mode 100644 index 7f8c209..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub6.yang +++ /dev/null @@ -1,2410 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub6 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Te-affinity-table { - type enumeration { - enum affinity-table-mapping { - value 0; - description "Mapping affinity table"; - } - enum affinity-table-forward-reference { - value 1; - description "Forward reference affinity table"; - } - enum affinity-table-count { - value 2; - description "Number of affinity tables"; - } - } - description "Affinity Table IDs"; - } - typedef Te-serv-tun-client { - type enumeration { - enum te-serv-auto-tun-client-invalid { - description "te serv auto tun client invalid"; - } - enum te-serv-p2mp-tun-client-mvpn { - description "te serv p2mp tun client mvpn"; - } - enum te-serv-p2mp-tun-client-vpls { - description "te serv p2mp tun client vpls"; - } - enum te-serv-p2mp-tun-client-mvpn6 { - description "te serv p2mp tun client mvpn6"; - } - enum te-serv-p2p-tun-client-bgp { - description "te serv p2p tun client bgp"; - } - enum te-serv-p2p-tun-client-staticv4 { - description "te serv p2p tun client staticv4"; - } - enum te-serv-p2p-tun-client-staticv6 { - description "te serv p2p tun client staticv6"; - } - enum te-serv-p2p-tun-client-isis { - description "te serv p2p tun client isis"; - } - enum te-serv-p2p-tun-client-ospf { - description "te serv p2p tun client ospf"; - } - enum te-serv-auto-tun-client-count { - description "te serv auto tun client count"; - } - } - description "Te serv tun client"; - } - typedef Igpte-aa-metric-mode { - type enumeration { - enum metric-mode-none { - description "No metric type specified"; - } - enum relative { - description "Relative metric"; - } - enum absolute { - description "Absolute metric"; - } - enum constant { - description "Constant metric"; - } - } - description "Autoroute-announce metric type"; - } - typedef Te-odu-capability { - type enumeration { - enum not-set { - description "Odu capability Type Not Set"; - } - enum fixed { - description "Fixed ODUs"; - } - enum flex { - description "Flex ODUs"; - } - } - description "Te ODU Capability Types"; - } - typedef Rrr-dste-migration-mode { - type enumeration { - enum rrr-dste-mode-none { - value 0; - description "No DSTE mode set"; - } - enum rrr-dste-mode-prestandard { - value 1; - description "Pre-standard DSTE"; - } - enum rrr-dste-mode-standard { - value 3; - description "IETF-standard DSTE"; - } - } - description "DS-TE migration mode"; - } - typedef Igpte-lib-bw-model { - type enumeration { - enum rdm { - value 0; - description "Russian Dolls Model"; - } - enum mam { - value 1; - description "Maximum Allocation Model"; - } - enum not-set { - value 2; - description "No model set"; - } - } - description "Bandwidth model"; - } - typedef Igp-subnet { - type enumeration { - enum igp-subnet-type-none { - description "No subnet type specified"; - } - enum p2p { - description "Point-to-point subnet"; - } - enum broadcast { - description "Broadcast subnet"; - } - enum non-broadcast-multiaccess { - description "Non-broadcast multi-access subnet"; - } - enum p2mp { - description "Point-to-multipoint subnet"; - } - enum loopback { - description "Loopback subnet"; - } - } - description "Subnet type"; - } - typedef Igp-ospf-area-format { - type enumeration { - enum igp-area-format-number { - description "Numbered area format"; - } - enum igp-area-format-ip-addr { - description "IP address area format"; - } - } - description "OSPF area format"; - } - typedef Igp-protocol { - type enumeration { - enum none { - description "No IGP protocol specified"; - } - enum isis { - description "IS IS"; - } - enum ospf { - description "OSPF"; - } - } - description "IGP type"; - } - typedef Mpls-te-uni { - type enumeration { - enum none { - description "Uni-Type none"; - } - enum xc { - description "Uni-Type type XC"; - } - enum term { - description "Uni-Type Termination"; - } - } - description "Uni-Type type"; - } - typedef Mpls-te-termination { - type enumeration { - enum none { - description "Local termination none"; - } - enum ether { - description "Local termination type Ether"; - } - } - description "Termination type"; - } - typedef Te-meshgroup { - type enumeration { - enum meshgroup-type-automesh { - value 0; - description "automesh type of Meshgroup"; - } - enum meshgroup-type-onehop { - value 1; - description "onehop type of Meshgroup"; - } - } - description "Te meshgroup"; - } - typedef Auto-backup-srlg-mode { - type enumeration { - enum srlg-not-set { - description "Autobackup SRLG type not set"; - } - enum srlg-strict { - description "Autobackup SRLG Strict"; - } - enum srlg-preferred { - description "Autobackup SRLG Preferred"; - } - enum srlg-weighted { - description "Autobackup Weighted SRLG"; - } - } - description "Auto backup srlg mode"; - } - typedef Auto-backup-protection { - type enumeration { - enum protection-none { - description "No Autobackup Protection"; - } - enum protection-next-hop { - description "NHOP Autobackup Protection"; - } - enum protection-next-next-hop { - description "NNHOP Autobackup Protection"; - } - } - description "Auto backup protection"; - } - typedef Te-p2mp-s2l-deletion-subcause { - type enumeration { - enum no-subcause { - description "No subcause recorded"; - } - enum cleanup-req { - description "Normal cleanup requested"; - } - enum invalid-data { - description "Invalid Data passed"; - } - enum fsm-inv-ctxt { - description "Invalid FSM context passed in"; - } - enum fsm-inv-ctxt-data { - description "Invalid data passed in FSM context"; - } - enum fsm-inv-role { - description "Failed due to Invalid Role"; - } - enum ll-failure { - description "Local Label get failed"; - } - enum ll-rel-fail { - description "Local Label release failed"; - } - enum ll-mismatch { - description "Local label mismatch detected"; - } - enum ll-invalid { - description "Local label invalid"; - } - enum ll-set-failure { - description "Local Label set failed"; - } - enum bad-out-label { - description "Bad label received from neighbor"; - } - enum sl-err { - description - "Failed to process suggested label received from - neighbor"; - } - enum rl-mismatch { - description - "Incorrect recovery label received from neighbor"; - } - enum sl-alloc-err { - description - "Failed to allocate suggested/ acceptable label"; - } - enum upstream-downstream-label-mismatch { - description - "Upstream label does not match downstream label"; - } - enum upstream-label-failure { - description "Upstream Label get failed"; - } - enum upstream-label-rel-fail { - description "Upstream Label release failed"; - } - enum upstream-label-mismatch { - description "Upstream label mismatch detected"; - } - enum upstream-label-invalid { - description "Upstream label invalid"; - } - enum bad-upstream-label { - description "Bad Upstream label"; - } - enum ul-set-failure { - description "Upstream Label set failed"; - } - enum gmpls-label-alloc-err { - description "Failed to allocate GMPLS Label"; - } - enum gmpls-label-clone-err { - description "Failed to clone GMPLS Label"; - } - enum rw-err { - description "Unable to perform RW operation"; - } - enum up-rw-err { - description "Unable to perform upstream RW operation"; - } - enum path-admit { - description "Path admission failure"; - } - enum bw { - description "BW allocation failure"; - } - enum admit-resv { - description "Reservation admission failure"; - } - enum rrrm-err { - description "Resource Reservation removal error"; - } - enum hardware-out-of-resources { - description "NPU HW-OOR"; - } - enum comp-rid { - description "Failure to compute RID"; - } - enum comp-lcl-rid { - description "Failure to compute local RID"; - } - enum comp-up-rid { - description "Failure to compute upstream RID"; - } - enum comp-down-rid { - description "Failure to compute downstream RID"; - } - enum rest-if-hop { - description "Failure to reset IF or HOP"; - } - enum inv-in-if { - description "Invalid Ingress IF"; - } - enum nh-err { - description "Outgoing IF or Next Hop failure"; - } - enum inv-in-ero { - description "Invalid incoming ERO"; - } - enum out-ero-fail { - description "Outcoming ERO failure"; - } - enum frr-bk-asssign { - description "Frr backup assignment failure"; - } - enum frr-bk-rm { - description "Frr backup removal failure"; - } - enum frr-bk-send { - description "Frr backup send to RSVP failed"; - } - enum frr-needs-del { - description "FRR deletion required"; - } - enum frr-reopt-lsp { - description "FRR not allowed on reopt LSP"; - } - enum rsvp-api-h { - description "RSVP API Handler Failure"; - } - enum insane-path { - description "Invalid Path message"; - } - enum remerge-chk-fail { - description "Failed in finding remerge"; - } - enum remerge-detected { - description "Remerge detected"; - } - enum xro { - description "XRO processing failed"; - } - enum resv-bw-set { - description "Failed to set Resv Bandwidth"; - } - enum resv-prep-fail { - description "Failed to prepare out Resv"; - } - enum path-ch-proc { - description "Failure in path change Processing"; - } - enum path-ch-frr { - description "Failure in path change for FRR"; - } - enum path-ch-sess-attri-fl { - description - "Failure in path change for session attribute - flags"; - } - enum path-ch-bw-ch { - description - "Failure in path change: Bandwidth change not - allowed"; - } - enum path-err-proc { - description "Failure in path Error Processing"; - } - enum path-err { - description "Path Error Rcvd"; - } - enum path-err-wpsr { - description "Path Error with PSR flag Rcvd"; - } - enum path-del { - description "Path Delete request"; - } - enum resv-ch-proc { - description "Failure in Resv change processing"; - } - enum resv-ch-rro { - description "Failure in Resv change RRO"; - } - enum resv-del { - description "Resv Delete processing"; - } - enum resv-err { - description "Resv Error processing"; - } - enum perr-send-fail { - description "Failed to send Path Error"; - } - enum perr-proc-fail { - description "Failed to process Path Error"; - } - enum perr-rcv { - description "Received Path Error"; - } - enum resv-err-rcv { - description "Received Resv Error"; - } - enum flowspec { - description "Flowspec failure"; - } - enum setup-conn-api-fail { - description "S2L State set API failed"; - } - enum path-not-replayed { - description "RSVP did not replay the path"; - } - enum resv-not-replayed { - description "RSVP did not replay the resv"; - } - enum rewrite-not-replayed { - description "LMRIB did not replay rewrite"; - } - enum label-not-replayed { - description "RW mgr did not replay rewrite"; - } - enum connection-not-ready { - description - "TE connection is not ready with LSD/LMRIB/RSVP"; - } - enum master-did-not-replay { - description "The master TE did not replay this S2L"; - } - enum head-s2l-has-no-vif { - description "S2L head has no associated tunnel VIF"; - } - enum frr-assigned-s2l-has-no-backup { - description "FRR-assigned S2L has no backup"; - } - enum frr-assigned-s2l-has-down-backup { - description "FRR-assigned S2L has down backup"; - } - enum out-link-down-and-no-frr { - description "Outgoing link is down and there is no FRR"; - } - enum collaborator-timeout-rsvp { - description "RSVP connection timed out"; - } - enum collaborator-timeout-lsd { - description "LSD connection timed out"; - } - enum collaborator-timeout-lmrib { - description "LMRIB connection time dout"; - } - enum collaborator-timeout-im { - description "IM connection timed out"; - } - enum collaborator-timeout-error { - description "Error in processing connection timeout"; - } - enum topo-flush { - description "Topology Failure"; - } - enum area-shut { - description "IGP Area Shutdown"; - } - enum active-po-del { - description "active pathoption deleted"; - } - enum path-verify-failed { - description "Path verification failed"; - } - enum srlg-path-verify-failed { - description "Srlg Path verification failed"; - } - enum affinity-path-verify-failed { - description "Affinity Path verification failed"; - } - enum aff-fail-delayed-tear-timeout-failed { - description "Affinity Failure Delayed Tear timeout failed"; - } - enum cost-limit-verify-failed { - description "Cost Limit verification failed"; - } - enum path-setup-timeout { - description "Path Setup Timed out"; - } - enum vif-destroyed { - description "tunnel IF destroyed"; - } - enum vif-shut { - description "tunnel IF shutdown"; - } - enum lsp-shut { - description "LSP shutdown"; - } - enum gmpls-uni-head { - description "link configured to run as GMPLS-UNI head"; - } - enum head-resetup { - description "tunnel is to be resetup"; - } - enum none-head-resetup { - description "mid or tail tunnel is to be resetup"; - } - enum dest-disabled { - description "Destination disabled"; - } - enum iep-ch-act-po { - description "Explicit Path changed for inuse path-option"; - } - enum iep-ch-reopt { - description "Reopt LSP affected by Explicit Path change"; - } - enum iep-ch-standby { - description "Standby LSP affected by Explicit Path change"; - } - enum dste-mode-ch { - description "DSTE mode change"; - } - enum reopt-del-frr-act { - description "Deleting reopt LSP on FRR active"; - } - enum new-reopt-tear-old { - description - "New Reopt is in progress, tearing old reopt LSP"; - } - enum reopt-failed-verify { - description "Reopt LSP failed verification"; - } - enum reopt-failed-install { - description "Reopt LSP failed at install time"; - } - enum reopt-failed-rw { - description "Rewrite failed for Reopt LSP"; - } - enum reopt-failed-not-superset { - description - "Reopt LSP has less number of destinations Up - than the current LSP."; - } - enum dclean-at-install-time { - description "Tear delayed clean LSP at install time"; - } - enum dclean-at-clean-timer { - description - "Tear delayed clean LSP at cleanup timer expiry"; - } - enum dclean-at-reopt-active { - description "Tear delayed clean LSP at Reopt Activation"; - } - enum lcl-notif-head { - description "Local Link Failure"; - } - enum in-if-fail { - description "Failure of ingress IF"; - } - enum out-if-fail { - description "Failure of egress IF"; - } - enum if-fail-lc-oir { - description "Failure of IF on LC OIR"; - } - enum te-rid-rm { - description "TE RID removed"; - } - enum te-rsvp-oos-bkup { - description "TE and RSVP are OOS for backup assignment"; - } - enum in-if-fail-exp-null-cfg-ch { - description "Explicit null config changed"; - } - enum new-curr-lsp-sig { - description "Signaling new current LSP, cleanup old LSP"; - } - enum new-reopt-lsp-sig { - description "Signaling new reopt LSP, cleanup old LSP"; - } - enum new-stdby-lsp-sig { - description "Signaling new standby LSP, cleanup old LSP"; - } - enum new-restore-lsp-sig { - description "Signaling new restore LSP, cleanup old LSP"; - } - enum new-cl-pp-lsp-sig { - description - "Signaling new clean path-protect LSP, cleanup - old LSP"; - } - enum chkpt-recovery-failed { - description "Failed to recover LSP from check-point"; - } - enum stdby-cr-failed { - description "Failed to create standby LSP"; - } - enum reopt-lsp-rej { - description "Reopt LSP is rejected"; - } - enum reopt-po-sw-failed { - description "Reopt Path-option switchover failed"; - } - enum failed-to-find-path { - description "Failed to find a Path"; - } - enum sig-rcv-fail-path-cr-ch { - description - "Signaling API failed to proc Path change or - create"; - } - enum lsp-db-shut { - description "LSP database shutdown"; - } - enum reopt-hold-start { - description "Starting holddown for Reopt LSP"; - } - enum vif-lspid-mismatch { - description "VIF has no LSP with this ID"; - } - enum s2l-has-no-vif { - description "Headend S2L with no associated VIF"; - } - enum overload-reopt-timeout { - description - "Reoptimization timeout with OL-bit set at - midpoint"; - } - enum hop-limit-exceeded { - description "Hop Limit Exceeded"; - } - enum lingering-current-lsp { - description "Cleanup lingering current LSP"; - } - enum lingering-standby-lsp { - description "Cleanup lingering standby LSP"; - } - enum lingering-restore-lsp { - description "Cleanup lingering restore LSP"; - } - enum double-lockout { - description "Double lock out on the tunnel"; - } - enum lockout-no-protection { - description - "Lock out on the tunnel with no protection - available"; - } - enum lockout-cleanup { - description "Lock out on reopt or delayed clean lsp"; - } - enum te-ppsw-lsp-mismatch { - description - "LSP id of the current mismatched with the PP - LSP id in standby"; - } - enum te-stdbyup-no-curr-lsp { - description "Standby LSP up but current LSP not found"; - } - enum stdby-failed-rw { - description "Rewrite failed for Standby LSP"; - } - enum reopt-lsp-tear-ppsw { - description - "Reopt LSP teardown because of path protection - switchover"; - } - enum delay-pp-lsp-tear-ppsw { - description - "Delay PP LSP teardown on rew results of path - protection switchover"; - } - enum stdby-failed-verify { - description "Stdby LSP failed verification"; - } - enum stdby-not-needed-due-to-restore { - description - "Stdby is not needed since the restore LSP is - installed"; - } - enum restore-failed-verify { - description "Restore LSP failed verification"; - } - enum restore-failed-install { - description "Restore LSP failed at install time"; - } - enum restore-failed-rewrite { - description "Restore LSP failed at rewrite"; - } - enum te-ppsw-cfg-rmvd { - description - "Path protection configuration remove under the - tunnel I/F"; - } - enum te-ppsw-manual-ppsw { - description "Manual Path protection switchover"; - } - enum te-ppsw-bidir-p-chg-ppsw { - description - "Bidirectional Path Change protection switchover"; - } - enum te-ppsw-bidir-lockout-ppsw { - description "Flex LSP lockout metric protection switchover"; - } - enum dclean-at-pp-clean-timer { - description - "Tear delayed pp clean LSP at pp cleanup timer - expiry"; - } - enum reopt-standby-failed { - description "Creating the reopt standby failed"; - } - enum standby-reoptimized { - description - "Tear down old standby LSP because standby - reoptimized"; - } - enum standby-reoptimize-aborted { - description - "Tear down new standby LSP because switchover is - underway"; - } - enum te-reoptup-no-curr-lsp { - description "Reopt LSP up but current LSP not found"; - } - enum te-reopt-curr-lsp-down { - description "destroying reopt as current LSP torn"; - } - enum te-cleanedt-curr-lsp-down { - description "Destroying cleaned as current LSP torn"; - } - enum te-delay-lsp-up { - description "Delay clean or pp clean LSP came up"; - } - enum no-route-due-to-affinity { - description "No route, no RIB due to affinity"; - } - enum no-rib-lkup-bad-ero-gmpls { - description "Skipping RIB Lookup, Bad GMPLS ERO"; - } - enum cleanup-lingering { - description "Cleanup in lingering state"; - } - enum te-s2l-del-sc-soft-preemption-timeout { - description "Soft preemption timed out"; - } - enum te-s2l-del-sc-soft-preempted-non-current { - description - "The head S2L was soft preempted while it is not - current"; - } - enum te-s2l-del-sc-vif-sync-lsp-del { - description - "The head S2L was deleted due to LSP deleted in - VIF Sync"; - } - enum rsvp-api-cleanup-req { - description "RSVP API cleanup requested"; - } - enum te-s2l-del-sc-frr-wrong-backup { - description "TE and RSVP FRR active on different backups"; - } - enum te-s2l-del-sc-bfd-session-create-failed { - description "The BFD session create failed"; - } - enum te-s2l-del-sc-bfd-session-bringup-timeout { - description - "The BFD session failed to up before bringup - timer timeout"; - } - enum te-s2l-del-sc-bfd-session-down { - description "The BFD session went down"; - } - enum te-s2l-del-sc-bfd-session-not-replayed { - description "BFD did not replay the session"; - } - enum te-s2l-del-sc-reopt-p2mp-egress-info-fail { - description - "P2MP egress information programming failed for - reoptimized LSP"; - } - enum non-curr-frr-lcl-notif-event { - description - "FRR local notification event on non-current LSP"; - } - enum unsupported-encoding { - description "The encoding type is not supported"; - } - enum unsupported-gpid { - description "The GPID is not supported"; - } - enum unsupported-switching-type { - description "The switching type is not supported"; - } - enum upstream-label-change-not-permitted { - description "Upstream label change is not allowed"; - } - enum encoding-type-change-not-permitted { - description "Encoding Type change is not allowed"; - } - enum aps-protect-info-change-failed { - description "Failed to process APS Protect info change"; - } - enum incorrect-lsp-type { - description "Incorrect or unsupported connection type"; - } - enum local-hop-error { - description "Failed to compute local hop"; - } - enum unsupported-gmpls-attributes { - description "Incorrect or unsupported GMPLS attributes"; - } - enum gmpls-uni-reopt-triggered { - description - "GMPLS-UNI reoptimization triggered from network"; - } - enum maximum-acceptable-label-retries { - description "Maxed out acceptable upstream label retries"; - } - enum invalid-direction { - description "Invalid direction for GMPLS LSP"; - } - enum invalid-rewrite-context { - description "Invalid RW context in callback"; - } - enum invalid-label-context { - description "Invalid Label context in callback"; - } - enum dwdm-capability-changed { - description "DWDM Capability for TE link changed"; - } - enum dwdm-capability-removed { - description "DWDM Capability for TE link removed"; - } - enum dwdm-wavelength-removed { - description - "DWDM wavelength channel attribute for TE link - removed"; - } - enum gmpls-uni-multilayer-restoration { - description "GMPLS-UNI multilayer restoration"; - } - enum gmpls-uni-user-triggered-reoptimization { - description "User-triggered GMPLS-UNI reoptimization"; - } - enum gmpls-uni-active-path-change-triggered-reopt { - description - "GMPLS-UNI reoptimization triggered by Active - Path change"; - } - enum passive-match-err { - description "Failed in finding a matching passive vif"; - } - enum egress-control-err { - description "Failed in egress control"; - } - enum egress-control-map-err { - description "Could not resolve egress control"; - } - enum restore-not-needed-for-current { - description "Restore not needed now for current LSP"; - } - enum restore-not-needed-for-standby { - description "Restore not needed now for standby LSP"; - } - enum restore-dp-down { - description "Restore down in data plane"; - } - enum current-not-needed-dp-down { - description "Current not needed now as down in data plane"; - } - enum bad-protct-obj { - description "Bad protection object"; - } - enum optical-link-down { - description "TE optical link down"; - } - enum optical-link-lsp-out-of-sync { - description "TE optical link and LSP out of sync"; - } - enum optical-link-owner-out-of-sync { - description "TE optical link owner type out of sync"; - } - enum optical-link-interface-handle-out-of-sync { - description "TE optical link interface handle out of sync"; - } - enum optical-link-hop-out-of-sync { - description "TE optical link next/prev hop out of sync"; - } - enum optical-link-role-out-of-sync { - description "TE optical link role out of sync"; - } - enum optical-link-downstream-router-id-out-of-sync { - description - "TE optical link downstream router-ID out of - sync"; - } - enum optical-link-upstream-router-id-out-of-sync { - description - "TE optical link upstream router-ID out of sync"; - } - enum optical-link-encoding-type-out-of-sync { - description "TE optical link encoding type out of sync"; - } - enum optical-link-switching-type-out-of-sync { - description "TE optical link switching type out of sync"; - } - enum optical-link-gpid-out-of-sync { - description "TE optical link GPID out of sync"; - } - enum egress-optical-link-not-found { - description "Egress optical TE link (head) not found"; - } - enum ingress-optical-link-not-found { - description "Ingress optical TE link (tail) not found"; - } - enum sync-dest-state { - description "Syncing of the destination state change"; - } - enum prot-object-err { - description "Protection Object Error"; - } - enum reverse-s2l-deleted { - description "Reverse Associated S2L Deleted"; - } - enum cancel-inprogress-by-slave { - description "In-progress S2L cancelled by slave"; - } - enum invalid-reverse-ero { - description "Bad Reverse ERO"; - } - enum reverse-lsp-not-found { - description "Switchover Reverse LSP Not Found"; - } - enum reverse-lsp-not-present { - description "Switchover Reverse LSP Not Present"; - } - enum associated-vif-down { - description "Associated VIF moved to Down"; - } - enum vif-sync-processing { - description - "Tunnel interface sync processing caused - deletion"; - } - enum incoming-interface-lockout { - description "Incoming interface locked out"; - } - enum sr-egress-path-changed { - description "SR egress path changed on non-current S2L"; - } - enum in-if-fail-imp-null-cfg-ch { - description "Implicit null config changed"; - } - enum reverse-lsp-failure { - description "Reverse LSP Failure"; - } - enum lsp-wrap-label-error { - description "LSP Wrap Label Error"; - } - enum lsp-wrap-rewrite-error { - description "LSP Wrap Rewrite Error"; - } - enum transit-lsp-out-of-resources { - description "LSP OOR"; - } - enum fsm-sc-must-be-last { - description "Not used, must be last entry"; - } - } - description "S2L deletion subcause"; - } - typedef Te-p2mp-s2l-deletion-cause { - type enumeration { - enum no-cause { - description "No cause recorded"; - } - enum hpath-cr-err { - description "Head Path creation"; - } - enum hpath-chg-setup { - description "Head Path change setup"; - } - enum hpath-chg-up-err { - description "Head Path change while up"; - } - enum hresv-cr-err { - description "Head RESV creation"; - } - enum hresv-chg-err { - description "Head RESV change"; - } - enum hresv-chg-err-up { - description "Head RESV change while up"; - } - enum hlbl-avail-err { - description "Head Label available"; - } - enum hup-lbl-avail-err { - description "Head upstream Label available"; - } - enum hfrr-act-err { - description "Head FRR active"; - } - enum hbkup-ch-err { - description "Head Backup change"; - } - enum hpath-ch-frr-err { - description "Head Path change FRR"; - } - enum hcleanup { - description "Head Cleanup handling"; - } - enum hlingering-cleanup { - description "Head lingering cleanup"; - } - enum hpat-err { - description "Head Path error"; - } - enum hresv-err { - description "Head Resv error"; - } - enum hresv-del { - description "Head Resv delete"; - } - enum hrw-fail { - description "Head rewrite failure"; - } - enum hup-rw-fail { - description "Head upstream rewrite failure"; - } - enum ha-failure { - description "HA failure"; - } - enum rw-del { - description "Rewrite Delete"; - } - enum up-rw-del { - description "Upstream Rewrite Delete"; - } - enum mpath-cr { - description "Mid path creation"; - } - enum mpath-chg-setup-err { - description "Mid Path change setup"; - } - enum mpath-chg-up-err { - description "Mid Path change while up"; - } - enum mresv-cr-err { - description "Mid Resv creation"; - } - enum mresv-chg-err { - description "Mid Resv change"; - } - enum mresv-chg-err-up { - description "Mid Resv change while up"; - } - enum mlbl-avail-err { - description "Mid: cannot get local label"; - } - enum mlbl-rel-err { - description "Mid: cannot release local label"; - } - enum mup-lbl-avail-err { - description "Mid: cannot get upstream label"; - } - enum mup-lbl-rel-err { - description "Mid: cannot release upstream label"; - } - enum mfrr-act-err { - description "Mid FRR active"; - } - enum mbkup-ch-err { - description "Mid Backup change"; - } - enum mpath-ch-frr-err { - description "Mid Path change FRR"; - } - enum mresv-del { - description "Mid Resv Delete handling"; - } - enum mresv-err { - description "Mid Resv Error handling"; - } - enum mpreempt { - description "Mid Premption"; - } - enum mcleanup { - description "Mid Cleanup handling"; - } - enum mlingering-cleanup { - description "Mid lingering cleanup"; - } - enum mrw-fail { - description "mid rewrite failure"; - } - enum mup-rw-fail { - description "mid upstream rewrite failure"; - } - enum tpath-cr-err { - description "Tail Path creation"; - } - enum tpath-chg-err { - description "Tail Path change"; - } - enum tresv-cr-err { - description "Tail RESV creation"; - } - enum tlbl-avail-err { - description "Tail: cannot release local label"; - } - enum tcleanup { - description "Tail Cleanup"; - } - enum tlingering-cleanup { - description "Tail lingering cleanup"; - } - enum lbl-err { - description "Local label related error"; - } - enum qfailure { - description "FSM Queueing failure"; - } - enum rsvp-recovery { - description "RSVP Recovery"; - } - enum lsd-recovery { - description "LSD Recovery"; - } - enum lmrib-recovery { - description "LMRIB Recovery"; - } - enum te-restart { - description "TE Restart"; - } - enum switchover { - description "Switchover"; - } - enum master-te-recovery { - description "Master TE recovery"; - } - enum optical-r-mgr-recovery { - description "Optical Resource Manager Recovery"; - } - enum te-exit { - description "TE Exited"; - } - enum bkup-assign-fail { - description "RSVP Backup Assign Failed"; - } - enum bfd-fail { - description "BFD Session Failure"; - } - enum bfd-recovery { - description "BFD Recovery"; - } - enum lsp-wrap-act-err { - description "Mid LSP Wrap active"; - } - enum lsp-wrap-rw-err { - description "Mid LSP Wrap Rewrite"; - } - enum fsm-cause-must-be-last { - description "Not used, must be last entry"; - } - } - description "S2L Deletion location"; - } - typedef Te-pp-diversity { - type enumeration { - enum diversity-none { - description "Standby LSP not diverse"; - } - enum link { - description "Standby LSP link diverse"; - } - enum node { - description "Standby LSP node diverse"; - } - enum node-link { - description "Standby LSP node and link diverse"; - } - enum srlg { - description "Standby SRLG diverse"; - } - enum diversity-user { - description "Standby LSP using user defined explicit path"; - } - enum diversity-reverse-ero { - description "Standby LSP using Reverse ERO"; - } - } - description - "Diversity of Protection or Restoration Path from - Protected Path"; - } - typedef Te-srlg-collect-request { - type enumeration { - enum none { - description "No SRLG-collection request"; - } - enum mandatory { - description "Mandatory SRLG-collection request"; - } - enum optional { - description "Optional SRLG-collection request"; - } - } - description "SRLG-collection request machansim"; - } - typedef Te-odu-level { - type enumeration { - enum te-odu-level-not-set { - value 0; - description "Not set"; - } - enum te-odu-level-one { - value 1; - description "ODU 1"; - } - enum te-odu-level-two { - value 2; - description "ODU 2"; - } - enum te-odu-level-three { - value 3; - description "ODU 3"; - } - enum te-odu-level-four { - value 4; - description "ODU 4"; - } - enum te-odu-zero { - value 10; - description "ODU 0"; - } - enum te-odu-level-two-e { - value 11; - description "ODU 2E"; - } - enum te-odu-level-flex-cbr { - value 20; - description "ODU Flex CBR"; - } - enum te-odu-level-flex-gfpf-resizeable { - value 21; - description "ODU Flex GFP-F resizable"; - } - enum te-odu-level-flex-gfpf-non-resizable { - value 22; - description "ODU Flex GFP-F non resizable"; - } - enum te-odu-level-one-e { - value 23; - description "ODU 1E"; - } - enum te-odu-level-one-f { - value 24; - description "ODU 1F"; - } - enum te-odu-level-two-f { - value 25; - description "ODU 2F"; - } - enum te-odu-level-three-e-one { - value 26; - description "ODU 3E1"; - } - enum te-odu-level-three-e-two { - value 27; - description "ODU 3E2"; - } - enum te-odu-level-c-two { - value 38; - description "ODU C2"; - } - enum te-odu-level-c-three { - value 39; - description "ODU C3"; - } - enum te-odu-level-c-four { - value 40; - description "ODU C4"; - } - } - description "G.709 OTN ODU levels"; - } - typedef Te-addr { - type enumeration { - enum not-set { - description "Address not set"; - } - enum ipv4 { - description "IPv4"; - } - enum ipv4-unnumbered { - description "IPv4 Unnumbered"; - } - } - description "TE Address Types"; - } - typedef Mpls-te-lsp-mode { - type enumeration { - enum mpls-te-lsp-mode-not-set { - description "LSP mode not set"; - } - enum mpls-te-lsp-mode-current { - description "Current LSP"; - } - enum mpls-te-lsp-mode-reopt { - description "Reoptimized LSP"; - } - enum mpls-te-lsp-mode-clean { - description "Cleaned LSP"; - } - enum mpls-te-lsp-mode-standby { - description "Standby LSP"; - } - enum mpls-te-lsp-mode-pp-clean { - description "Delay PP Clean LSP"; - } - enum mpls-te-lsp-mode-restore { - description "Restore LSP"; - } - enum mpls-te-lsp-mode-reopt-standby { - description "Reopt Standby LSP"; - } - } - description "Mpls te lsp mode"; - } - typedef Te-attribute-set-sr-prepend { - type enumeration { - enum te-attribute-set-sr-prepend-not-set { - value 0; - description "Not set"; - } - enum te-attribute-set-sr-prepend-next-label { - value 1; - description "Next label"; - } - enum te-attribute-set-sr-prepend-bgp-nhop { - value 2; - description "BGP NHOP"; - } - } - description "Attribute Set SR prepend type"; - } - typedef Te-restoration-style { - type enumeration { - enum restoration-style-not-set { - value 0; - description "TE Restoration Style Not Set"; - } - enum restoration-style-keep-failed-lsp { - value 1; - description "TE Restoration Style is to Keep Failed Lsp"; - } - enum restoration-style-delete-failed-lsp { - value 2; - description "TE Restoration Style is to Delete Failed Lsp"; - } - } - description "PNR Options"; - } - typedef Te-path-prot-profile { - type enumeration { - enum path-prot-profile-type1-plus0 { - value 0; - description "TE Path Option 1PLUS0"; - } - enum path-prot-profile-type1-plus-r { - value 1; - description "TE Path Option 1PLUSR"; - } - enum path-prot-profile-type1-plus1 { - value 16; - description "TE Path Option 1PLUS1"; - } - enum path-prot-profile-type1-plus1-plus-r { - value 32; - description "TE Path Option 1PLUS1PLUSR"; - } - enum path-prot-profile-type-invalid { - value 255; - description "TE Path Option Invalid"; - } - } - description "Path Protection Profile Type"; - } - typedef Te-sch-freq { - type enumeration { - enum sch-freq-not-set { - value 0; - description "Schedule reversion frequency not set"; - } - enum sch-freq-set-once { - value 1; - description "Schedule reversion frequency set only once"; - } - enum sch-freq-set-daily { - value 2; - description "Schedule reversion frequency set daily"; - } - enum sch-freq-set-weekly { - value 3; - description "Schedule reversion frequency set weekly"; - } - } - description "Te sch freq"; - } - typedef Te-pnr-revert-options { - type enumeration { - enum pnr-optionnot-set { - value 0; - description "TE Protection Restore Option Not Set"; - } - enum pnr-option-revertive { - value 1; - description "TE Protection Restore Option Revertive"; - } - enum pnr-option-non-revertive { - value 2; - description "TE Protection Restore Option Non-revertive"; - } - } - description "PNR Options"; - } - typedef Te-protect { - type enumeration { - enum protect-type1-plus1-unidir-no-aps { - value 4; - description "Protection Type Uni-directional No APS"; - } - enum protect-type1-plus1-unidir-aps { - value 8; - description "Protection Type Uni-directional APS"; - } - enum protect-type1-plus1-bidir-aps { - value 16; - description "Protection Type Bi-directional APS"; - } - enum protect-type-not-set { - value 255; - description "Protection Type Not Set"; - } - } - description "Protection Types"; - } - typedef Te-aps-snc-mode { - type enumeration { - enum snc-mode-not-set { - value 0; - description "TE OTN Subnetwork Connection Mode Not Set"; - } - enum snc-mode-n { - value 1; - description "TE OTN Subnetwork Connection Mode N"; - } - enum snc-mode-i { - value 2; - description "TE OTN Subnetwork Connection Mode I"; - } - enum snc-mode-s { - value 3; - description "TE OTN Subnetwork Connection Mode S"; - } - } - description "APS ANC Modes"; - } - typedef Te-xro-exclusion { - type enumeration { - enum mandatory { - value 0; - description "Mandatory exclusion"; - } - enum best-effort { - value 1; - description "Best-effort exclusion"; - } - } - description "XRO exclusion type"; - } - typedef Te-xro-attribute { - type enumeration { - enum interface { - value 0; - description "Exclude the interface specified"; - } - enum node { - value 1; - description "Exclude the node specified"; - } - enum srl-gs { - value 2; - description - "Exclude all SRLGs related to the data specified"; - } - } - description "XRO exclusion type"; - } - typedef Te-xro-subobj { - type enumeration { - enum ipv4 { - value 1; - description "IPv4 prefix"; - } - enum ipv6 { - value 2; - description "IPv6 prefix"; - } - enum unnumbered { - value 6; - description "Unnumbered"; - } - enum as { - value 32; - description "Autonomous System"; - } - enum srlg { - value 34; - description "SRLG"; - } - enum p2p-lsp { - value 36; - description "P2P LSP"; - } - } - description "XRO sub-object type"; - } - typedef Te-sig-name-append { - type enumeration { - enum none { - value 0; - description - "Option is Not Set for appending to - signalled-name"; - } - enum address { - value 1; - description "Option is to append Address to signalled-name"; - } - enum name { - value 2; - description "Option is to append Name to signalled-name"; - } - } - description "Te sig name append"; - } - typedef Mpls-te-lsp { - type enumeration { - enum mpls-te-lsp-type-not-set { - value 0; - description "Tunnel type not set"; - } - enum mpls-te-lsp-type-p2p { - value 1; - description "Point-to-point packet TE tunnel"; - } - enum mpls-te-lsp-type-p2mp { - value 2; - description "Point-to-multipoint tunnel"; - } - enum mpls-te-lsp-type-gmpls-ouni { - value 3; - description "Bidirectional GMPLS UNI tunnel"; - } - enum mpls-te-lsp-type-gmpls-nni { - value 4; - description "Bidirectional GMPLS NNI tunnel"; - } - enum mpls-te-lsp-type-p2p-bidir { - value 5; - description "Bidirectional packet point-to-point tunnel"; - } - enum mpls-te-lsp-type-gmpls-tp { - value 6; - description "Bidirectional GMPLS TP tunnel"; - } - enum mpls-te-lsp-type-gmpls-nni-otn { - value 7; - description "Bidirectional GMPLS OTN NNI tunnel"; - } - enum mpls-te-lsp-type-segment-routing-p2p { - value 8; - description - "Point-to-point segment-routing packet TE tunnel"; - } - } - description "LSP Types"; - } - typedef Mpls-te-tunnel-role { - type enumeration { - enum tunnel-unknown { - value 0; - description "Undefined tunnel role"; - } - enum tunnel-head { - value 1; - description "Tunnel role is head"; - } - enum tunnel-mid { - value 2; - description "Tunnel role is midpoint"; - } - enum tunnel-tail { - value 3; - description "Tunnel role is tail"; - } - } - description "Mpls te tunnel role"; - } - typedef Mpls-lib-c { - type enumeration { - enum mpls-lib-c-type-null { - value 0; - description "NULL Ctype"; - } - enum mpls-lib-c-type-ipv4 { - value 1; - description "IPv4 UDP"; - } - enum mpls-lib-c-type-ipv4-p2p-tunnel { - value 7; - description "IPv4 point-to-point TE tunnel"; - } - enum mpls-lib-c-type-ipv6-p2p-tunnel { - value 8; - description "IPv6 point-to-point TE tunnel"; - } - enum mpls-lib-c-type-ipv4-uni { - value 9; - description "IPv4 unicast"; - } - enum mpls-lib-c-type-ipv4-p2mp-tunnel { - value 13; - description "IPv4 point-to-point TE tunnel"; - } - enum mpls-lib-c-type-ipv6-p2mp-tunnel { - value 14; - description "IPv6 point-to-point TE tunnel"; - } - enum mpls-lib-c-type-ipv4-tp-tunnel { - value 15; - description "IPv4 transport protocol tunnel"; - } - enum mpls-lib-c-type-ipv6-tp-tunnel { - value 16; - description "IPv6 transport protocol tunnel"; - } - enum mpls-lib-c-type-p2p-binding-label { - value 17; - description "P2P transport tunnel binding label"; - } - } - description "Mpls lib c"; - } - - grouping MPLS-TE-AFFINITY-MAP-INFO { - description "Affinity Map"; - leaf affinity-name { - type string; - description "Affinity name"; - } - leaf affinity-value { - type uint32; - description "Affinity value"; - } - leaf affinity-bit-position { - type uint8; - description "Affinity bit position"; - } - leaf affinity-table-id { - type Te-affinity-table; - description "Affinity table id"; - } - list affinity-extended-value { - description "EAG value"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-LM-BFD-NBR-INFO { - description "BFD Neighbor information"; - leaf neighbor-address { - type inet:ipv4-address; - description "The neighbor's IP address"; - } - leaf is-bfd-up { - type boolean; - description "TRUE if the BFD session is Up on this link"; - } - } - - grouping MPLS-LM-BFD-NBRS-LINK-INFO { - description "BFD Neighbor information based on the link"; - - list neighbor { - description "Neighbors of the specified link id"; - uses MPLS-LM-BFD-NBR-INFO; - } - } - - grouping ODU-CAPABILITY-FLEX { - description "odu capability for flex ODUs"; - leaf max-bandwidth { - type uint32; - units "kbit/s"; - description - "Max kbps Bandwidth of this level possible on - this link"; - } - leaf unreserved-bandwidth { - type uint32; - units "kbit/s"; - description - "Unreserved kbps Bandwidth of this level possible - on this link"; - } - leaf max-lsp-bandwidth { - type uint32; - units "kbit/s"; - description - "Per LSP Max kbps Bandwidth of this level - possible on this link"; - } - } - - grouping ODU-CAPABILITY-FIXED { - description "odu capability for fixed ODUs "; - leaf maximum-od-us { - type uint8; - description - "Maximum Number of ODUs of this level possible on - this link"; - } - leaf unreserved-od-us { - type uint8; - description - "Maximum Number of ODUs of this level possible on - this link"; - } - } - - grouping ODU-CAP-BW { - description "ODU capability Union for bandwidth"; - - container fixed { - when "../type = 'fixed'" { - description "../type = 'Fixed'"; - } - description "ODU capability for Fixed ODUs"; - uses ODU-CAPABILITY-FIXED; - } - - container flex { - when "../type = 'flex'" { - description "../type = 'Flex'"; - } - description "ODU capability for Flex ODUs"; - uses ODU-CAPABILITY-FLEX; - } - leaf type { - type Te-odu-capability; - description "type"; - } - } - - grouping ODU-CAPABILITY { - description - "Odu capability at a level of multiplex tree for - an ODU type"; - - container bandwidth-info { - description "Bandwidth related info for this ODU level"; - uses ODU-CAP-BW; - } - leaf signal-type { - type Te-odu-level; - description "Signal Type"; - } - leaf stage1 { - type Te-odu-level; - description "ODU Type at stage 1, Not Set for HO ODU"; - } - leaf stage2 { - type Te-odu-level; - description - "ODU Type at stage 2, Not Set for single stage - mulitplexing"; - } - leaf stage3 { - type Te-odu-level; - description - "ODU Type at stage 3, Not set up to two levels of - multiplexing"; - } - leaf stage4 { - type Te-odu-level; - description - "ODU Type at stage 4, Not set up to three levels - of multiplexing"; - } - leaf terminable { - type boolean; - description "True if link is terminable for this ODU level"; - } - leaf switchable { - type boolean; - description "True if link is switchable for this ODU level"; - } - leaf tsg1p25 { - type boolean; - description - "True if link supports 1.25G TSG for this ODU - level"; - } - leaf tsg2p5 { - type boolean; - description - "True if link supports 2.5G TSG for this ODU - level"; - } - leaf vcat-capable { - type boolean; - description "True if link VCAT capable for this ODU level"; - } - leaf lcas-capable { - type boolean; - description "True if link LCAS capable for this ODU level"; - } - } - - grouping ODU-LINK-CAPABILITIES { - description "Link ODU Capabilities"; - list max-lsp-bandwidth { - description "Max LSP Bandwidth per priority in kbit/s"; - leaf entry { - type uint32; - } - } - - list odu-capability { - description "ODU Capabilities of Link"; - uses ODU-CAPABILITY; - } - } - - grouping MPLS-TE-BFD-LSP-COUNTERS { - description "TE BFDOverLSP Counters"; - leaf session-create-events { - type uint32; - description "The number of BFDOverLSP session create events"; - } - leaf session-up-events { - type uint32; - description "The number of BFDOverLSP session up events"; - } - leaf session-creation-failed-events { - type uint32; - description - "The number of BFDOverLSP session creation failed - events"; - } - leaf session-down-events { - type uint32; - description "The number of BFDOverLSP session down events"; - } - leaf session-admin-down-events { - type uint32; - description - "The number of BFDOverLSP session admin down - events"; - } - leaf session-gracefully-delete-events { - type uint32; - description - "The number of BFDOverLSP session gracefully - delete events"; - } - leaf session-non-gracefully-delete-events { - type uint32; - description - "The number of BFDOverLSP session non gracefully - delete events"; - } - leaf session-create-timeout-events { - type uint32; - description - "The number of BFDOverLSP session create timeout - events"; - } - leaf session-replay-events { - type uint32; - description "The number of BFDOverLSP session replay events"; - } - } - - grouping MPLS-TE-TUNNEL-EGRESS-STATIC-UNI-INFO { - description "Egress Static UNI Info"; - - container egress-port { - description "Egress Client Port of Tunnel"; - uses TE-ADDR; - } - - container term-egress-port { - description "Termination Egress Client Port of Tunnel"; - uses TE-ADDR; - } - leaf local-termination { - type Mpls-te-termination; - description "Local Termination Type"; - } - leaf remote-uni-type { - type Mpls-te-uni; - description "Remote uni type"; - } - } - - grouping TE-ADDR-TYPE-IPV4-UNNUM { - description "TE IPv4 unnumbered address type"; - leaf router-id { - type inet:ipv4-address; - description "IPv4 router ID"; - } - leaf interface-index { - type uint32; - description "Interface index"; - } - } - - grouping ADDR { - description "ADDR"; - - container ipv4-unnumbered-address { - when "../type = 'ipv4-unnumbered'" { - description "../Type = 'IPv4Unnumbered'"; - } - description "IPv4 unnumbered address"; - uses TE-ADDR-TYPE-IPV4-UNNUM; - } - leaf type { - type Te-addr; - description "Type"; - } - leaf ipv4-address { - when "../type = 'ipv4'" { - description "../Type = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - } - - grouping TE-ADDR { - description "TE address"; - - container te-addr { - description "TE Address"; - uses ADDR; - } - } - - grouping MPLS-SRLG-INFO { - description "Information about the Shared Risk Link Group"; - leaf shared-risk-group { - type uint32; - description "SRLG number"; - } - leaf srlg-name { - type string; - description "SRLG name"; - } - } - - grouping TE-REVERT-SCH { - description "Revert Schedule protection attribute set"; - leaf schedulename { - type string { - length "0..255"; - } - description "Schedule name identifier"; - } - leaf schedule-date { - type uint32; - description "Schedule time for reversion"; - } - leaf schedule-frequency { - type Te-sch-freq; - description "Schedule frequency for reversion"; - } - leaf duration { - type uint32; - description "Duration for scheduled reversion"; - } - leaf max-tries { - type uint32; - description "Max tries for scheduled reversion"; - } - } - - grouping TE-XRO-SUBOBJ-P2P-LSP { - description "XRO point-to-point LSP sub-object"; - - container fec { - description "LSP FEC"; - uses TE-LSP-FEC; - } - leaf ignore-lsp-id { - type boolean; - description - "Flag to indicate whether or not the lsp-id in - the FEC is to be ignored"; - } - leaf processing-node-exception { - type boolean; - description "Processing-node exception flag"; - } - leaf penultimate-node-exception { - type boolean; - description "Penultimate-node exception flag"; - } - leaf destination-node-exception { - type boolean; - description "Destination-node exception flag"; - } - leaf exclusion-type { - type Te-xro-exclusion; - description "Exclusion Type"; - } - } - - grouping TE-XRO-SUBOBJ-SRLG { - description "XRO SRLG sub-object"; - leaf srlg-id { - type uint32; - description "SRLG ID"; - } - leaf exclusion-type { - type Te-xro-exclusion; - description "Exclusion Type"; - } - } - - grouping TE-XRO-SUBOBJ-AS { - description "XRO AS sub-object"; - leaf as-number { - type uint16; - description "Autonomous System number"; - } - } - - grouping TE-XRO-SUBOBJ-UNNUM { - description "XRO unnumbered sub-object"; - leaf te-router-id { - type inet:ipv4-address; - description "TE router-id"; - } - leaf interface-id { - type uint32; - description "Interface ID"; - } - leaf attribute { - type Te-xro-attribute; - description "Attribute"; - } - leaf exclusion-type { - type Te-xro-exclusion; - description "Exclusion Type"; - } - } - - grouping TE-XRO-SUBOBJ-IPV6 { - description "XRO IPv6 sub-object"; - leaf address { - type inet:ipv6-address; - description "IPv6 address"; - } - leaf prefix-len { - type uint8; - description "Prefix length"; - } - leaf attribute { - type Te-xro-attribute; - description "Attribute"; - } - leaf exclusion-type { - type Te-xro-exclusion; - description "Exclusion Type"; - } - } - - grouping TE-XRO-SUBOBJ-IPV4 { - description "XRO IPv4 sub-object"; - leaf address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf prefix-len { - type uint8; - description "Prefix length"; - } - leaf attribute { - type Te-xro-attribute; - description "Attribute"; - } - leaf exclusion-type { - type Te-xro-exclusion; - description "Exclusion Type"; - } - } - - grouping TE-XRO-SUBOBJ { - description "XRO sub-object union"; - - container ipv4-subobject { - when "../type = 'ipv4'" { - description "../Type = 'IPv4'"; - } - description "IPv4 sub-object"; - uses TE-XRO-SUBOBJ-IPV4; - } - - container ipv6-subobject { - when "../type = 'ipv6'" { - description "../Type = 'IPv6'"; - } - description "IPv6 sub-object"; - uses TE-XRO-SUBOBJ-IPV6; - } - - container unnumbered-subobject { - when "../type = 'unnumbered'" { - description "../Type = 'Unnumbered'"; - } - description "Unnumbered sub-object"; - uses TE-XRO-SUBOBJ-UNNUM; - } - - container as-subobject { - when "../type = 'as'" { - description "../Type = 'AS'"; - } - description "AS sub-object"; - uses TE-XRO-SUBOBJ-AS; - } - - container srlg-subobject { - when "../type = 'srlg'" { - description "../Type = 'SRLG'"; - } - description "SRLG sub-object"; - uses TE-XRO-SUBOBJ-SRLG; - } - - container lsp-subobject { - when "../type = 'p2p-lsp'" { - description "../Type = 'P2P_LSP'"; - } - description "P2P LSP sub-object"; - uses TE-XRO-SUBOBJ-P2P-LSP; - } - leaf type { - type Te-xro-subobj; - description "Type"; - } - } - - grouping TE-XRO { - description "XRO object"; - leaf mutual-diversity-flag { - type boolean; - description "Mutual Diversity Flag"; - } - - list xro-subobject { - description "List of XRO sub-objects"; - uses TE-XRO-SUBOBJ; - } - } - - grouping AFFINITY-NAME-BAG { - description "Affinity name constraints"; - leaf constraint-type { - type uint8; - description "Constraint type"; - } - leaf constraint-value { - type uint32; - description "Deprecated"; - } - leaf forward-ref-value { - type uint32; - description "Deprecated"; - } - list constraint-extended-value { - description "Constraint value"; - leaf entry { - type uint32; - } - } - list extended-forward-ref-value { - description "Reference bits for undefined affinity names"; - leaf entry { - type uint32; - } - } - } - - grouping MPLS-TE-TUNNELS-AFFINITY-INFO { - description "MPLS TE tunnel Affinity information"; - leaf affinity-bits { - type uint32; - description "The affinity bits (colors)"; - } - leaf affinity-mask { - type uint32; - description "The affinity mask (colors)"; - } - - list named-affinity { - description - "Array of name based constratints currently - applied to the tunnel"; - uses AFFINITY-NAME-BAG; - } - } - - grouping TE-S2L-FEC { - description "A sub-LSP FEC"; - leaf s2l-fec-subgroup-id { - type uint16; - description "sub-LSP subgroup ID"; - } - leaf s2l-fec-lsp-id { - type uint16; - description "LSP ID"; - } - leaf s2l-fec-tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf s2l-fec-extended-tunnel-id { - type inet:ipv4-address; - description "Extended tunnel ID"; - } - leaf s2l-fec-source { - type inet:ipv4-address; - description "LSP source address"; - } - leaf s2l-fec-dest { - type inet:ipv4-address; - description "sub-LSP destination address"; - } - leaf s2l-fec-p2mp-id { - type uint32; - description "P2MP ID"; - } - leaf s2l-fec-subgroup-originator { - type inet:ipv4-address; - description "Subgroup Originator"; - } - leaf s2l-fec-ctype { - type Mpls-lib-c; - description "Session identifier (ctype)"; - } - leaf s2l-fec-vrf { - type string; - description "VRF; currently only for GMPLS tunnels"; - } - } - - grouping TE-LSP-FEC-CTYPE-DATA { - description "C-type-specific LSP FEC data"; - leaf fec-ctype { - type Mpls-lib-c; - description "FEC CType"; - } - leaf p2p-lsp-destination { - when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2p-tunnel'" { - description - "../FEC_CType = 'MPLS_LIB_CTYPE_IPV4_P2P_TUNNEL'"; - } - type inet:ipv4-address; - description "P2P LSP destination"; - } - leaf fec-destination-p2mp-id { - when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2mp-tunnel'" { - description - "../FEC_CType = - 'MPLS_LIB_CTYPE_IPV4_P2MP_TUNNEL'"; - } - type uint32; - description "P2MP ID"; - } - } - - grouping TE-LSP-FEC { - description "A LSP FEC"; - - container fec-destination-info { - description "Destination or P2MP ID"; - uses TE-LSP-FEC-CTYPE-DATA; - } - leaf fec-lsp-id { - type uint16; - description "LSP ID"; - } - leaf fec-tunnel-id { - type uint16; - description "Tunnel ID"; - } - leaf fec-extended-tunnel-id { - type inet:ipv4-address; - description "Extended tunnel ID"; - } - leaf fec-source { - type inet:ipv4-address; - description "Tunnel source address"; - } - leaf fec-vrf { - type string; - description "VRF; currently only for GMPLS tunnels"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub7.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub7.yang deleted file mode 100644 index ecb5e52..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub7.yang +++ /dev/null @@ -1,574 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub7 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - include Cisco-IOS-XR-mpls-te-oper-sub5 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub6 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Te-stats-sig-filter { - type enumeration { - enum te-stat-sig-filter-vif { - description "te stat sig filter vif"; - } - enum te-stat-sig-filter-lsp { - description "te stat sig filter lsp"; - } - } - description "TE Signaling Filter types"; - } - - grouping MPLS-TE-BFD-SESSION-COUNTERS { - description "TE BFDoLM counters"; - leaf session-create-events { - type uint32; - description "The number of BFDOverLM session create events"; - } - leaf session-up-events { - type uint32; - description "The number of BFDOverLM session up events"; - } - leaf session-creation-failed-events { - type uint32; - description - "The number of BFDOverLM session creation failed - events"; - } - leaf session-down-events { - type uint32; - description "The number of BFDOverLM session down events"; - } - leaf session-admin-down-events { - type uint32; - description - "The number of BFDOverLM session admin down - events"; - } - leaf session-gracefully-delete-events { - type uint32; - description - "The number of BFDOverLM session gracefully - delete events"; - } - leaf session-non-gracefully-delete-events { - type uint32; - description - "The number of BFDOverLM session non gracefully - delete events"; - } - leaf session-replay-events { - type uint32; - description "The number of BFDOverLSP session replay events"; - } - } - - grouping MPLS-TE-BFD-COUNTERS { - description "TE BFD Counters"; - - container bfd-over-lsp-head-counters { - description "BFD over Head-end LSPs Cumulative Counters"; - uses MPLS-TE-BFD-LSP-COUNTERS; - } - - container sbfd-over-lsp-head-counters { - description "SBFD over Head-end LSPs Cumulative Counters"; - uses MPLS-TE-BFD-LSP-COUNTERS; - } - - container bfd-over-lsp-tail-counters { - description "BFD over Tail-end LSPs Cumulative Counters"; - uses MPLS-TE-BFD-SESSION-COUNTERS; - } - - container bf-do-lm-counters { - description "BFD over Links Cumulative Counters"; - uses MPLS-TE-BFD-SESSION-COUNTERS; - } - leaf last-cleared-timestamp { - type uint32; - description - "The timestamp when these stats are cleared - relative to Jan 1, 1970"; - } - } - - grouping TE-STATS-SIG-FILTER-DATA-U { - description "Union of TE Signalling Filter data"; - - container te-signalling-filter-vif { - when "../statistics-filter = 'te-stat-sig-filter-vif'" { - description - "../StatisticsFilter = 'TE_STAT_SIG_FILTER_VIF'"; - } - description "VIF data"; - uses TE-STATS-BAG-VIF; - } - - container te-signalling-filter-lsp { - when "../statistics-filter = 'te-stat-sig-filter-lsp'" { - description - "../StatisticsFilter = 'TE_STAT_SIG_FILTER_LSP'"; - } - description "LSP data"; - uses TE-STATS-BAG-LSP; - } - leaf statistics-filter { - type Te-stats-sig-filter; - description "StatisticsFilter"; - } - } - - grouping TE-STATS-SIG-FILTER { - description "TE Signaling Filter Data"; - - container te-signalling-filter-data { - description "TE Signaling Filter data"; - uses TE-STATS-SIG-FILTER-DATA-U; - } - } - - grouping TE-STATS-BAG-LSP { - description "MPLS TE LSP Statistics"; - - container statistics { - description "LSP statistics"; - uses TE-STATS-SIG; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - - list s2l-statistic { - description "List of S2L Statistics"; - uses TE-STATS-BAG-S2L; - } - } - - grouping TE-STATS-BAG-S2L { - description "MPLS TE S2L Statistics"; - - container statistics { - description "S2L stats"; - uses TE-STATS-SIG; - } - leaf sub-group-originator { - type inet:ipv4-address; - description "Subgroup Originator"; - } - leaf sub-group-id { - type uint16; - description "subgroup ID"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - } - - grouping TE-STATS-BAG-DEST { - description "MPLS TE Destination Statistics"; - - container statistics { - description "Destination stats"; - uses TE-STATS-SIG; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - - list s2l-statistic { - description "List of S2L Stats"; - uses TE-STATS-BAG-S2L; - } - } - - grouping TE-STATS-SIG { - description "Send-Recv count for TE Signaling"; - leaf tx-event-unknown { - type uint32; - description "Unknown TX events"; - } - leaf tx-path-create-event { - type uint32; - description "TX Path Create event"; - } - leaf tx-path-change-event { - type uint32; - description "TX Path Change event"; - } - leaf tx-path-delete-event { - type uint32; - description "TX Path Delete event"; - } - leaf tx-path-error-event { - type uint32; - description "TX Path Error event"; - } - leaf tx-resv-create-event { - type uint32; - description "TX Resv Create event"; - } - leaf tx-resv-change-event { - type uint32; - description "TX Resv Change event"; - } - leaf tx-resv-delete-event { - type uint32; - description "TX Resv Delete event"; - } - leaf tx-resv-error-event { - type uint32; - description "TX Resv Error event"; - } - leaf tx-path-reeval-query-event { - type uint32; - description "TX Path Reeval Query event"; - } - leaf rx-event-unknown { - type uint32; - description "RX Unknown events"; - } - leaf rx-path-create-event { - type uint32; - description "RX Path Create event"; - } - leaf rx-path-change-event { - type uint32; - description "RX Path Change event"; - } - leaf rx-path-delete-event { - type uint32; - description "RX Path Delete event"; - } - leaf rx-path-error-event { - type uint32; - description "RX Path Error event"; - } - leaf rx-resv-create-event { - type uint32; - description "RX Resv Create event"; - } - leaf rx-resv-change-event { - type uint32; - description "RX Resv Change event"; - } - leaf rx-resv-delete-event { - type uint32; - description "RX Resv Delete event"; - } - leaf rx-resv-error-event { - type uint32; - description "RX Resv Error event"; - } - leaf rx-path-reeval-query-event { - type uint32; - description "RX Path Reeval Query event"; - } - leaf tx-backup-assign-event { - type uint32; - description "Backup Assign event"; - } - leaf rx-backup-assign-err-event { - type uint32; - description "Error on Backup Assign event"; - } - leaf events-total-count { - type uint32; - description "Total TE Signalling event count"; - } - leaf events-count { - type uint32; - description "TE Signaling event count"; - } - } - - grouping TE-STATS-BAG-VIF { - description "MPLS TE VIF Statistics"; - - container statistics { - description "VIF stats"; - uses TE-STATS-SIG; - } - leaf tunnel-name { - type string; - description "Tunnel Name"; - } - leaf tunnel-sig-name { - type string; - description "Tunnel Signalled-Name"; - } - leaf lsp-id { - type uint16; - description "LSP ID"; - } - - list destination-statistic { - description "List of Destination Stats"; - uses TE-STATS-BAG-DEST; - } - } - - grouping MPLS-TE-SYNC-COUNT-INFO { - description "MPLS TE NSR and ISSU counters"; - leaf last-cleared-timestamp { - type uint32; - units "second"; - description - "The timestamp, in seconds, when these statistics - are cleared since 00:00:00 UTC, - January 1, 1970"; - } - leaf role { - type Te-proc-role; - description "Process role"; - } - leaf last-idt-states { - type uint32; - description "Last IDT States"; - } - leaf total-states { - type uint32; - description "Total states"; - } - leaf total-deletions { - type uint32; - description "Total deletions"; - } - leaf total-nac-ks { - type uint64; - description "Total NACKs"; - } - leaf total-id-ts { - type uint32; - description "Total IDTs"; - } - } - - grouping MPLS-TE-SOFT-PREEMPTION-STATS { - description "Soft preemption stats "; - leaf last-cleared-timestamp { - type uint32; - description - "The timestamp when these stats are cleared - relative to Jan 1, 1970"; - } - leaf soft-preemption-events { - type uint32; - description "The number of soft preemption events triggered"; - } - leaf soft-preempted-ls-ps { - type uint32; - description - "The number of LSPs that have been soft preempted - at this node"; - } - leaf timed-out-soft-preempted-lsp-ss { - type uint32; - description - "The number of LSPs that have been soft preempted - and timed out at this node"; - } - leaf torn-down-soft-preempted-ls-ps { - type uint32; - description - "The number of LSPs that have been soft preempted - at this node and torn down before timing out"; - } - leaf frr-triggered-soft-preempted-lsp-ss { - type uint32; - description - "The number of LSPs that have been soft preempted - and then fast rerouted at this node"; - } - leaf minimum-time-in-soft-preempted-state { - type uint16; - units "second"; - description - "The minimum number of seconds an LSP remained in - the soft preempted state"; - } - leaf time-in-soft-preempted-state-max { - type uint16; - units "second"; - description - "The maximum number of seconds an LSP remained in - the soft preempted state without being hard - preempted"; - } - leaf time-in-soft-preempted-state-avg { - type uint16; - units "second"; - description - "The average number of seconds an LSP remained in - the soft preempted state. This excludes the - timed out LSPs"; - } - leaf soft-preempted-head-ls-ps { - type uint32; - description - "Number of soft preempted LSPs at the headend. - This is relevant to the headend"; - } - leaf reoptimized-soft-preempted-ls-ps { - type uint32; - description - "Number of soft preemption LSPs that are - reoptimized. This is relevant to the headend"; - } - leaf torndown-soft-preempted-ls-ps { - type uint32; - description - "Number of soft preemption LSPs that are torn - down instead of being reoptimized. This is - relevant to the headend."; - } - leaf path-protected-switchover-soft-preempted-ls-ps { - type uint32; - description - "Number of soft preemption LSPs that are replaced - with the path protection LSP. This is relevant - to the headend"; - } - } - - grouping TE-STATS-AUTOBACKUP-COUNTERS { - description "TE Auto Backup Counter Types"; - leaf total-tunnels { - type uint32; - description "Total auto backup tunnels"; - } - leaf next-hop-tunnels { - type uint32; - description "Next hop auto backup tunnels only"; - } - leaf next-next-hop-tunnels { - type uint32; - description "Next next hop auto backup tunnels only"; - } - } - - grouping TE-STATS-AUTOBACKUP { - description "Counters for TE Autobackup"; - - container created { - description "Number of connected auto backup tunnels"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - - container connected { - description "Number of connected auto backup tunnels"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - - container removed-down { - description - "Number of NNHOP auto backup tunnels removed - while down"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - - container removed-unused { - description - "Number of auto backup tunnels removed while - unused"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - - container removed-in-use { - description - "Number of auto backup tunnels removed while up - and in use"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - - container removed-range-exceeded { - description - "Number of auto backup tunnel attempts rejected - because the total number exceeds the range"; - uses TE-STATS-AUTOBACKUP-COUNTERS; - } - leaf last-cleared-time { - type uint32; - description "Timestamp when the stat has been cleared"; - } - } - - grouping TE-STATS-AUTOMESH { - description "Counters for TE Automesh"; - leaf created { - type uint32; - description "Number of connected automesh tunnels"; - } - leaf connected { - type uint32; - description "Number of connected automesh tunnels"; - } - leaf removed-unused { - type uint32; - description "Number of automesh tunnels removed while unused"; - } - leaf removed-in-use { - type uint32; - description - "Number of automesh tunnels removed while up and - in use"; - } - leaf removed-range-exceeded { - type uint32; - description - "Number of automesh tunnel attempts rejected - because the total number exceeds the range"; - } - leaf last-cleared-time { - type uint32; - units "second"; - description - "Time at which these were last cleared in seconds - since (in seconds since 1st Jan 1970 00:00:00)'"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub8.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub8.yang deleted file mode 100644 index 4260c3d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub8.yang +++ /dev/null @@ -1,238 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub8 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-te-lsp-role { - type enumeration { - enum mpls-te-lsp-role-unknown { - description "MPLS TE lsp role unknown"; - } - enum mpls-te-lsp-role-head { - description "MPLS TE lsp role head"; - } - enum mpls-te-lsp-role-transit { - description "MPLS TE lsp role transit"; - } - enum mpls-te-lsp-role-tail { - description "MPLS TE lsp role tail"; - } - } - description "MPLS TE LSP Role"; - } - typedef Mpls-protection { - type enumeration { - enum mpls-protection-type-unprotected { - description "MPLS no protection is desired"; - } - enum mpls-protection-type-link { - description "MPLS link protection is desired"; - } - enum mpls-protection-type-link-node { - description - "MPLS node and link protection are both desired"; - } - } - description "MPLS Protection Type"; - } - typedef Oc-mpls-te-metric { - type enumeration { - enum oc-mpls-te-metric-type-igp { - description "MPLS TE metric type IGP"; - } - enum oc-mpls-te-metric-type-te { - description "MPLS TE metric type TE"; - } - } - description "OC MPLS TE Metric Type"; - } - typedef Lsp-oper-status { - type enumeration { - enum mpls-te-lsp-oper-up { - description "MPLS TE lsp operational up"; - } - enum mpls-te-lsp-oper-down { - description "MPLS TE lsp operational down"; - } - } - description "LSP Admin Status"; - } - typedef Lsp-admin-status { - type enumeration { - enum mpls-te-lsp-admin-up { - description "MPLS TE lsp admin up"; - } - enum mpls-te-lsp-admin-shutdown { - description "MPLS TE lsp admin shutdown"; - } - } - description "LSP Admin Status"; - } - typedef Mpls-te-protocol { - type enumeration { - enum mpls-te-signaling-type-unknown { - description "MPLS TE signaling type unknown"; - } - enum mpls-te-signaling-type-rsvp { - description "MPLS TE signaling type RSVP"; - } - } - description "MPLS TE Protocol Type"; - } - typedef Oc-mpls-te-lsp { - type enumeration { - enum oc-mpls-te-lsp-type-not-set { - description "MPLS TE lsp type not set"; - } - enum oc-mpls-te-lsp-type-p2p { - description "MPLS TE lsp type point to point"; - } - enum oc-mpls-te-lsp-type-p2mp { - description "MPLS TE lsp type point to multi-point"; - } - } - description "OC MPLS TE LSP Type"; - } - - grouping OC-MPLS-TE-LSP-COUNTERS { - description "OC MPLS TE LSP counters"; - leaf name { - type string; - description "LSP Name"; - } - leaf type { - type Oc-mpls-te-lsp; - description "LSP Type"; - } - leaf bytes { - type uint64; - units "byte"; - description "Number of bytes forwarded over the lsp"; - } - leaf packets { - type uint64; - description "Number of packets forwarded over the lsp"; - } - leaf path-changes { - type uint64; - description "Number of path changes for the lsp"; - } - leaf state-changes { - type uint64; - description "Number of state changes for the lsp"; - } - leaf online-time { - type string; - description "Timestamp of LSP oper state up"; - } - leaf current-path-time { - type string; - description "Timestamp of LSP switched onto current path"; - } - leaf next-reoptimization-time { - type string; - description "Timestamp of next scheduled reoptmiziation"; - } - } - - grouping OC-MPLS-TE-LSP-STATE { - description "OC MPLS TE LSP State"; - leaf name { - type string; - description "LSP Name"; - } - leaf type { - type Oc-mpls-te-lsp; - description "LSP Type"; - } - leaf signaling-protocol { - type Mpls-te-protocol; - description "Signaling Protocol"; - } - leaf local-id { - type uint32; - description "Local ID - TBD"; - } - leaf source { - type inet:ipv4-address; - description "Source Address"; - } - leaf description { - type string; - description "Description"; - } - leaf admin-status { - type Lsp-admin-status; - description "Admin Status"; - } - leaf oper-status { - type Lsp-oper-status; - description "Operational Status"; - } - leaf metric { - type Oc-mpls-te-metric; - description "Metric type"; - } - leaf protection-style-requested { - type Mpls-protection; - description "Protection Style Requested"; - } - leaf reoptimize-timer { - type uint16; - description "frequency of reoptimization"; - } - leaf role { - type Mpls-te-lsp-role; - description "Role"; - } - leaf setup-priority { - type uint8; - description "Setup priority"; - } - leaf hold-priority { - type uint8; - description "Hold priority"; - } - leaf soft-preemption { - type boolean; - description "Soft Preemption"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub9.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub9.yang deleted file mode 100644 index ea14a3a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper-sub9.yang +++ /dev/null @@ -1,65 +0,0 @@ -submodule Cisco-IOS-XR-mpls-te-oper-sub9 { - - belongs-to Cisco-IOS-XR-mpls-te-oper { - prefix Cisco-IOS-XR-mpls-te-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MPLS-TE-MIB-SCALAR-INFO { - description "MPLS TE MIB Scalar Information"; - leaf mpls-tunnel-configured { - type uint32; - description "mpls tunnel configured"; - } - leaf mpls-tunnel-active { - type uint32; - description "mpls tunnel active"; - } - leaf mpls-tunnel-te-dist-proto { - type uint8; - description "mpls tunnel te dist proto"; - } - leaf mpls-tunnel-max-hops { - type uint32; - description "mpls tunnel max hops"; - } - leaf mpls-tunnel-notification-max-rate { - type uint32; - description "mpls tunnel notification max rate"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper.yang deleted file mode 100644 index 65c9e3a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-te-oper.yang +++ /dev/null @@ -1,2465 +0,0 @@ -module Cisco-IOS-XR-mpls-te-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper"; - - - prefix "mpls-te-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-mpls-te-oper-sub9 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub8 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub7 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub6 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub5 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub4 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-mpls-te-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-te package operational data. - - This module contains definitions - for the following management objects: - mpls-te: MPLS Traffic Engineering operational data - mpls-lcac-standby: mpls lcac standby - mpls-lcac: mpls lcac - mpls-pce: mpls pce - mpls-pce-stdby: mpls pce stdby - mpls-tp: mpls tp - mpls-te-standby: mpls te standby - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Attribute-set-name-length { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Attribute set name length"; - } - typedef Mpls-te-path { - type enumeration { - enum not-set { - value 0; - description "Not set"; - } - enum dynamic { - value 1; - description "Dynamic"; - } - enum explicit-name { - value 3; - description "Explicit name"; - } - enum explicit-id { - value 4; - description "Explicit ID"; - } - enum no-ero { - value 5; - description "No ERO"; - } - enum segment-routing { - value 6; - description "Segment Routing"; - } - } - description "Mpls te path"; - } - typedef Oc-mpls-te-tunnel { - type enumeration { - enum unknown { - value 0; - description "UNKNOWN"; - } - enum p2p { - value 1; - description "P2P"; - } - enum p2mp { - value 2; - description "P2MP"; - } - } - description "Oc mpls te tunnel"; - } - typedef Mpls-te-node { - type enumeration { - enum router { - value 1; - description "Router"; - } - enum network { - value 2; - description "Network"; - } - } - description "Mpls te node"; - } - typedef Preemption-event-index-range { - type uint32 { - range "0..1999"; - } - description "Preemption event index range"; - } - typedef Mpls-pce-symbolic-name { - type xr:Cisco-ios-xr-string { - length "1..256"; - } - description "Mpls pce symbolic name"; - } - typedef Ctype { - type enumeration { - enum ctype-null { - value 0; - description "CTYPE NULL"; - } - enum ctype-ipv4 { - value 1; - description "CTYPE IPV4"; - } - enum ctype-ipv4-p2p-tunnel { - value 7; - description "CTYPE IPV4 P2P TUNNEL"; - } - enum ctype-ipv6-p2p-tunnel { - value 8; - description "CTYPE IPV6 P2P TUNNEL"; - } - enum ctype-ipv4-uni { - value 9; - description "CTYPE IPV4 UNI"; - } - enum ctype-ipv4-p2mp-tunnel { - value 13; - description "CTYPE IPV4 P2MP TUNNEL"; - } - enum ctype-ipv6-p2mp-tunnel { - value 14; - description "CTYPE IPV6 P2MP TUNNEL"; - } - } - description "Ctype"; - } - typedef Mpls-te-next-hop { - type enumeration { - enum egress-resolve { - value 0; - description "Egress Resolve"; - } - enum autoroute-dest { - value 1; - description "Autoroute Dest"; - } - } - description "Mpls te next hop"; - } - typedef Mpls-te-attr-set { - type enumeration { - enum not-used { - value 0; - description "Not used"; - } - enum static { - value 1; - description "Static"; - } - enum lsp { - value 2; - description "LSP"; - } - enum unassigned { - value 3; - description "Unassigned"; - } - enum auto-backup { - value 4; - description "Auto backup"; - } - enum auto-mesh { - value 5; - description "Auto mesh"; - } - enum xro { - value 6; - description "XRO"; - } - enum p2mp-te { - value 7; - description "P2MP TE"; - } - enum otn-pp { - value 8; - description "OTN Path Protection"; - } - enum p2p-te { - value 9; - description "P2P TE"; - } - } - description "Mpls te attr set"; - } - typedef Mesh-group-id { - type uint32 { - range "0..4294967295"; - } - description "Mesh group id"; - } - typedef Mpls-te-igp-protocol { - type enumeration { - enum none { - value 0; - description "Not set"; - } - enum isis { - value 1; - description "IS IS"; - } - enum ospf { - value 2; - description "OSPF"; - } - } - description "Mpls te igp protocol"; - } - - grouping ADVERTISEMENTS { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container advertisements { - description "The advertisement information in MPLS-LCAC"; - uses MPLS-LM-ADVERTISEMENT-INFO; - } - } - - grouping MAXIMUM-TUNNELS { - description "Common node of mpls-te, mpls-te-standby"; - - container maximum-tunnels { - description "MPLS Traffic Engineering Tunnels"; - uses TUNNEL-MAX-INFO; - } - } - - grouping ADMISSION-CONTROL { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container admission-control { - description "The admission control information in MPLS-LCAC"; - - container global { - description "The global admission control information"; - uses MPLS-LM-ADMISSION-CONTROL-COMMON-INFO; - } - - container admitted-tunnels { - description - "The table of admitted tunnels information in - MPLS-LCAC"; - - list admitted-tunnel { - key "source-address destination-port source-port"+ - " destination-address extended-tunnel-id"+ - " next-hop-address ctype p2mp-id"; - description - "The information for a specific admitted tunnel"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "The source IP address of the tunnel"; - } - leaf destination-port { - type int32; - description "The tunnel number at the head"; - } - leaf source-port { - type int32; - description - "The signaling instance number of the tunnel"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "The destination IP address of the tunnel"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended tunnel id"; - } - leaf next-hop-address { - type inet:ipv4-address-no-zone; - description "The Next hop IP"; - } - leaf ctype { - type Ctype; - description "C type"; - } - leaf p2mp-id { - type int32; - description "P2MP id"; - } - uses MPLS-LM-ADMISSION-CONTROL-TUNNEL-INFO; - } - } - - container link-interfaces { - description - "The global admission control information on - Interfaces"; - - list link-interface { - key "interface-name"; - description - "The global admission control information on an - interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-ADMISSION-CONTROL-COMMON-INFO; - } - } - } - } - - grouping WRAP-PROTECTION { - description "Common node of mpls-te, mpls-te-standby"; - - container wrap-protection { - description - "Represent all the LSP Wrap Protection info in - MPLS-TE"; - - container protected-lsps { - description - "The set of wrap protected LSPs available in - MPLS-TE"; - - list protected-lsp { - key "source-address destination-address tunnel-id"+ - " extended-tunnel-id lsp-id sub-group-id"+ - " sub-group-originator p2mp-id session-type"; - description - "Wrap protection info for a given protected LSP"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf sub-group-originator { - type inet:ipv4-address-no-zone; - description "Subgroup Orig ID"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf session-type { - type Ctype; - description "Session Type"; - } - uses MPLS-TE-LSP-WRAP-PROTECTION-BAG; - } - } - } - } - - grouping DIFF-SERV-TE-CLASSES { - description "Common node of mpls-te, mpls-te-standby"; - - container diff-serv-te-classes { - description "The configured Diff Serv TE classes"; - uses MPLS-TE-DSTE-CLASSES; - } - } - - grouping PEER-TABLE { - description "Common node of mpls-pce, mpls-pce-stdby"; - - container peers { - description "The set of PCE peers"; - - list peer { - key "peer-address"; - description "A PCE peer"; - leaf peer-address { - type inet:ipv4-address-no-zone; - description "The peer address"; - } - uses PCE-NEIGHBOR-BAG; - } - } - } - - grouping LINK-INFORMATION { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container link-information { - description "The interface information in MPLS-LCAC"; - - container global { - description "The global information for all the interfaces"; - uses MPLS-LM-INTERFACE-COMMON-INFO; - } - - container links { - description "The table of interfaces in MPLS-LCAC"; - - list link { - key "interface-name"; - description "An interface in MPLS-LCAC"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-INTERFACE-LINK-INFO; - } - } - } - } - - grouping LSP-TABLE { - description "Common node of mpls-pce, mpls-pce-stdby"; - - container lsps { - description "Table of LSPs"; - - list lsp { - key "symbolic-name"; - description "Information of a LSP from LSPDB"; - leaf symbolic-name { - type Mpls-pce-symbolic-name; - description "Symbolic name"; - } - uses PCE-LSP-BAG; - } - uses PCE-LSP-BAG; - } - } - - grouping PREEMPTION-EVENT-TABLE { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container preemption-events { - description "Preemption event log in MPLS-LCAC"; - - list preemption-event { - key "event-index"; - description "Preemption event"; - leaf event-index { - type Preemption-event-index-range; - description "Event index"; - } - uses MPLS-LM-PREEMPTION-EVENT; - } - } - } - - grouping SIGNALLING-COUNTERS { - description "Common node of mpls-te, mpls-te-standby"; - - container signalling-counters { - description "TE counters"; - - container issu { - description "MPLS TE ISSU counters"; - uses MPLS-TE-SYNC-COUNT-INFO; - } - - container head-signalling-counters { - description "Sig Head Table TE counters"; - - list head-signalling-counter { - key "ctype tunnel-id"; - description "TE stats"; - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - uses TE-STATS-BAG-VIF; - } - } - - container remote-signalling-counters { - description "Sig mid tail Table TE counters"; - - list remote-signalling-counter { - key "ctype tunnel-id extended-tunnel-id p2mp-id lsp-id"+ - " source-address destination-address"+ - " sub-group-originator sub-group-id"; - description "TE stats"; - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf sub-group-originator { - type inet:ipv4-address-no-zone; - description "Subgroup originator"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - uses TE-STATS-BAG-LSP; - } - } - - container signallings { - description "TE counters"; - - list signalling { - key "ctype tunnel-id extended-tunnel-id p2mp-id lsp-id"+ - " source-address destination-address"+ - " sub-group-originator sub-group-id"; - description "TE Sig"; - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf sub-group-originator { - type inet:ipv4-address-no-zone; - description "Subgroup originator"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - uses TE-STATS-SIG-FILTER; - } - } - - container signalling-summary { - description "Send-Recv count summary for TE Signaling"; - uses TE-STATS-SIG; - } - } - } - - grouping OPEN-CONFIG { - description "Common node of mpls-te, mpls-te-standby"; - - container open-config { - description "OpenConfig MPLS TE operational data"; - - container lsp-states { - description "Table of LSP State Info"; - - list lsp-state { - key "tunnel-name tunnel-type"; - description "MPLS TE LSP State Info"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - leaf tunnel-type { - type Oc-mpls-te-tunnel; - description "Tunnel Type"; - } - uses OC-MPLS-TE-LSP-STATE; - } - } - - container lsp-counters { - description "Table of LSP Counters"; - - list lsp-counter { - key "tunnel-name tunnel-type"; - description "MPLS TE LSP Counters"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - leaf tunnel-type { - type Oc-mpls-te-tunnel; - description "Tunnel Type"; - } - uses OC-MPLS-TE-LSP-COUNTERS; - } - } - } - } - - grouping STATISTICS { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container statistics { - description - "The interface statistics information in - MPLS-LCAC"; - - container summary { - description "The statistics summary for all interfaces"; - uses MPLS-LM-STATS-SUMMARY-INFO; - } - - container statstics-links { - description - "The table of statistics interfaces in MPLS-LCAC"; - - list statstics-link { - key "interface-name"; - description "An interface in MPLS-LCAC"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-STATS-LINK-INFO; - } - } - } - } - - grouping TE-PCE-OPER-STATISTICS { - description - "Common node of mpls-lcac, mpls-lcac-standbyCommon - node of mpls-pce, mpls-pce-stdby"; - - container statistics { - description "PCE stats info"; - uses PCE-STATS-BAG; - } - } - - grouping PATH-PROTECTION { - description - "Common node of mpls-lcac, mpls-lcac-standbyCommon - node of mpls-pce, mpls-pce-stdbyCommon node of - mpls-te, mpls-te-standby"; - - container path-protection { - description "MPLS TE path protection info"; - - container switchover-log { - description "MPLS TE path protection info"; - uses TE-PP-SW-LOG-BAG; - } - } - } - - grouping FIB-NEXT-HOP-LABEL-ROUTE-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container fib-next-hop-label-routes { - description "MPLS TE FIB nexthop label route database"; - - list fib-next-hop-label-route { - key "label"; - description "MPLS TE FIB nexthop label route"; - leaf label { - type uint32 { - range "0..1048575"; - } - description "MPLS Label"; - } - uses TE-FIB-NH-ROUTE-BAG; - } - } - } - - grouping ANNOUNCE-TUNNELS-INFO { - description "Common node of mpls-te, mpls-te-standby"; - - container announce-tunnels-info { - description - "Announced tunnels (forwarding adjacency and - autoroute annonce)"; - - container autoroute-announce-table { - description - "Autoroute announce and forwarding adjacency - table"; - uses ANNOUNCE-DEST; - } - - container all-autoroute-table { - description - "Autoroute announce and forwarding adjacency - table"; - uses ANNOUNCE-DEST; - } - } - } - - grouping ATTRIBUTE-SET-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container attribute-sets { - description "AttributeSet information."; - - list attribute-set { - key "attribute-set-type attribute-set-name"; - description "MPLS TE attribute-set information"; - leaf attribute-set-type { - type Mpls-te-attr-set; - description "Attribute Set Type"; - } - leaf attribute-set-name { - type Attribute-set-name-length; - description "Attribute Set Name"; - } - uses MPLS-TE-ATTRIBUTE-SET; - } - } - } - - grouping BANDWIDTH-ACCOUNT { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container bandwidth-account { - description - "The bandwidth accounting information in - MPLS-LCAC"; - - container bandwidth-account-links { - description - "The interface bandwidth accounting information - table"; - - list bandwidth-account-link { - key "interface-name"; - description "An interface in bandwidth accounting table"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TEL-DET-INFO; - } - } - } - } - - grouping ANNOUNCE-DEST { - description - "Common node of autoroute-announce-table, - all-autoroute-table"; - - list announce-dest { - key "destination-address protocol area igp-id"; - description "Autoroute tunnels per destination information"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf protocol { - type Mpls-te-igp-protocol; - description "The IGP protocol used by the tunnel"; - } - leaf area { - type int32; - description "Area"; - } - leaf igp-id { - type xr:Cisco-ios-xr-string; - description "IGP Instance ID"; - } - uses MPLS-TE-ANNOUNCEMENT-DEST-BAG; - } - } - - grouping TOPOLOGY-BRIEF-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container topology-briefs { - description "MPLS-TE topology brief table"; - - list topology-brief { - key "protocol igp-id area topology-node-type igp-node-id"; - description "A node in MPLS-TE topoogy brief table"; - leaf protocol { - type Mpls-te-igp-protocol; - description "IGP protocol type"; - } - leaf igp-id { - type xr:Cisco-ios-xr-string; - description "IGP instance"; - } - leaf area { - type int32; - description "IGP area"; - } - leaf topology-node-type { - type Mpls-te-node; - description "Node type"; - } - leaf igp-node-id { - type string; - description "IGP Node ID"; - } - uses MPLS-TE-TOPOLOGY-NODE; - } - } - } - - grouping AUTO-TUNNEL { - description "Common node of mpls-te, mpls-te-standby"; - - container auto-tunnel { - description "Auto tunnel information."; - - container pcc { - description - "Auto tunnel PCC (Path Computation Client) - information."; - - container summary { - description "MPLS TE auto-tunnel pcc summary information"; - uses MPLS-TE-AUTOTUN-PCC-SUMMARY-INFO; - } - } - - container mesh { - description "Auto tunnel mesh information."; - - container mesh-groups { - description "Display auto-tunnel mesh group"; - - list mesh-group { - key "mesh-group-id"; - description - "Display auto-tunnel mesh group information"; - leaf mesh-group-id { - type Mesh-group-id; - description "Mesh group ID"; - } - uses MPLS-TE-MESHGROUP; - } - } - - container statistics { - description - "MPLS TE auto-tunnel mesh counters (stats) - information"; - uses TE-STATS-AUTOMESH; - } - - container summary { - description - "MPLS TE auto-tunnel mesh summary information"; - uses MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO; - } - - container config { - description - "MPLS TE auto-tunnel mesh configuration - information"; - uses MPLS-TE-AUTOTUN-MESH-CONFIG-INFO; - } - - container one-hop { - description "MPLS TE auto-tunnel mesh onehop information"; - - container interfaces { - description "Display auto-tunnel onehop interfaces"; - - list interface { - key "interface-name"; - description - "Display auto-tunnel mesh onehop interface - information"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses MPLS-TE-AUTOMESH-ONEHOP-INTERFACE; - } - } - - container statistics { - description - "MPLS TE auto-tunnel mesh onehop counters - (stats) information"; - uses TE-STATS-AUTOMESH; - } - - container summary { - description - "MPLS TE auto-tunnel mesh onehop summary - information"; - uses MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO; - } - } - } - - container backup { - description "Auto tunnel backup information."; - - container tunnels { - description "auto-tunnel backup information"; - - list tunnel { - key "backup-tunnel-name"; - description - "Display auto tunnel backup tunnel information"; - leaf backup-tunnel-name { - type xr:Cisco-ios-xr-string; - description "Backup tunnel name"; - } - uses MPLS-TE-AUTOTUN-BACKUP-TUNNEL-INFO; - } - } - - container statistics { - description - "MPLS TE auto-tunnel backup counters (stats) - information"; - uses TE-STATS-AUTOBACKUP; - } - - container summary { - description - "MPLS TE auto-tunnel backup summary information"; - uses MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO; - } - - container config { - description - "MPLS TE auto-tunnel backup configuration - information"; - uses MPLS-TE-AUTOTUN-BACKUP-CONFIG-INFO; - } - } - } - } - - grouping COLLABORATOR-TIMERS { - description "Common node of mpls-te, mpls-te-standby"; - - container collaborator-timers { - description "TE Collaborator timer status"; - uses MPLS-TE-P2MP-TIMERS-B; - } - } - - grouping SOFT-PREEMPTION { - description - "Common node of mpls-te, mpls-te-standbyCommon - node of mpls-te, mpls-te-standby"; - - container soft-preemption { - description "Soft Preemption information."; - - container statistics { - description "MPLS TE soft preemption stats information"; - uses MPLS-TE-SOFT-PREEMPTION-STATS; - } - } - } - - grouping HARDWARE-OUT-OF-RESOURCES { - description "Common node of mpls-te, mpls-te-standby"; - - container hardware-out-of-resources { - description "NPU Hardware OOR Information"; - - container summary { - description "HW OOR Summary information"; - uses TE-HW-OOR-INFO; - } - } - } - - grouping P2P-P2MP-TUNNEL { - description "Common node of mpls-te, mpls-te-standby"; - - container p2p-p2mp-tunnel { - description "P2P or P2MP tunnels"; - - container tunnel-remote-briefs { - description - "Restrict display to P2P or P2MP mid or tail - tunnels"; - - list tunnel-remote-brief { - key "lsp-id tunnel-id extended-tunnel-id source-address"+ - " ctype destination-address p2mp-id"; - description "P2P or P2MP tunnel that is a mid or tail"; - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - uses MPLS-TE-P2MP-LSP-BRIEF; - } - } - - container tunnel-remotes { - description - "Restrict display to P2P or P2MP mid or tail - tunnels"; - - list tunnel-remote { - key "lsp-id tunnel-id extended-tunnel-id source-address"+ - " ctype destination-address p2mp-id"; - description "P2P or P2MP tunnel that is a mid or tail"; - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - uses MPLS-TE-P2MP-LSP; - } - } - - container nni-tunnels { - description "GMPLS NNI tunnels"; - - list nni-tunnel { - key "tunnel-id source-address destination-address"; - description "GMPLS-NNI tail tunnel"; - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - uses MPLS-TE-P2MP-TUNNEL-BAG; - } - } - - container tunnel-heads { - description "Restrict display to P2P or P2MP head tunnels"; - - list tunnel-head { - key "tunnel-name"; - description "mpls te p2p or p2mp tunnels"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses MPLS-TE-P2MP-TUNNEL-BAG; - } - } - } - } - - grouping BFD-NEIGHBOR-TABLE { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container bfd-neighbors { - description "BFD Neighbors"; - - list bfd-neighbor { - key "interface-name"; - description "A BFD Neighbor"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-BFD-NBRS-LINK-INFO; - } - } - } - - grouping SOFT-PREEMPTION-TABLE { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container soft-preemptions { - description - "The soft preemption information for the TE-links"; - - list soft-preemption { - key "interface-name"; - description "The soft preemption info for a TE-link"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-SOFT-PREEMPTION-LINK-INFO; - } - } - } - - grouping TUNNEL-TABLE { - description "Common node of mpls-pce, mpls-pce-stdby"; - - container tunnels { - description "Table of PCE tunnels"; - - list tunnel { - key "tunnel-name"; - description "Information of a PCE tunnel"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses PCE-TUNNEL-BAG; - } - uses PCE-TUNNEL-BAG; - } - } - - grouping FAST-REROUTE { - description "Common node of mpls-te, mpls-te-standby"; - - container fast-reroute { - description "Represent all the fastreroute info in MPLS-TE"; - - container backup-tunnels { - description - "The set of fastreroute backup tunnels available - in MPLS-TE"; - - list backup-tunnel { - key "tunnel-name interface-name"; - description "Fastreroute info for a given backup tunnel"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Backup tunnel name"; - } - leaf interface-name { - type xr:Interface-name; - description "Protected interface name"; - } - uses MPLS-TE-FASTREROUTE-BAG; - } - } - - container protected-interfaces { - description - "The set of fastreroute protected interfaces - available in MPLS-TE"; - - list protected-interface { - key "interface-name backup-tunnel-name"; - description - "Fastreroute info for a given protected - interface"; - leaf interface-name { - type xr:Interface-name; - description "Protected interface name"; - } - leaf backup-tunnel-name { - type xr:Cisco-ios-xr-string; - description "Backup tunnel name"; - } - uses MPLS-TE-FASTREROUTE-BAG; - } - } - - container protections { - description - "The set of fastreroute protected interfaces - available in MPLS-TE"; - - list protection { - key "source-address destination-address tunnel-id"+ - " extended-tunnel-id lsp-id sub-group-id"+ - " sub-group-originator p2mp-id session-type"; - description - "Fastreroute info for a given protection - interface"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf sub-group-id { - type int32; - description "Subgroup ID"; - } - leaf sub-group-originator { - type inet:ipv4-address-no-zone; - description "Subgroup Orig ID"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf session-type { - type int32; - description "Session Type"; - } - uses MPLS-TE-FASTREROUTE-PROTECTION-BAG; - } - } - - container promotion { - description - "The info about the promotion timer of backup - tunnels"; - uses MPLS-TE-FASTREROUTE-PROMOTION-BAG; - } - } - } - - grouping TOPOLOGY { - description "Common node of mpls-te, mpls-te-standby"; - - container topology { - description "The topology information in MPLS-TE"; - - container global { - description - "Global information about the overall MPLS-TE - topology"; - uses MPLS-TE-TOPOLOGY-GLOBAL-INFO-BAG; - } - - container destination-paths { - description - "This table models the path calculation - capabilities in MPLS-TE.A GET operation for the - complete table will return no entries.See the - class DestinationPath for more details."; - - list destination-path { - description - "A GET operation on this class returns the best - available path in the TE topology to reach the - specified destination while satisfying the - specified constraints."; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf affinity-bits { - type int32; - description "Affinity Bits"; - } - leaf affinity-mask { - type int32; - description "Affinity Mask"; - } - leaf setup-priority { - type int32; - description "Setup Priority"; - } - leaf hold-priority { - type int32; - description "Hold Priority"; - } - leaf bandwidth { - type int32; - units "kbit/s"; - description "Bandwidth in kbps"; - } - leaf igp-type { - type Mpls-te-igp-protocol; - description "IGP Type"; - } - leaf igp-instance { - type xr:Cisco-ios-xr-string; - description "IGP Instance"; - } - leaf igp-area { - type int32; - description "IGP Area"; - } - leaf hop-limit { - type int32; - description "Hop Limit"; - } - leaf exclude-srlg-ip-address { - type inet:ipv4-address-no-zone; - description "Exclude SRLG IP Address"; - } - leaf path-type { - type Mpls-te-path; - description "Path Type"; - } - leaf path-id { - type int32; - description - "This is the ID of the explicit path to be - used for this path calculation query"; - } - leaf path-name { - type xr:Cisco-ios-xr-string; - description - "This is the name of the explicit path to be - used for this path calculation query"; - } - leaf cost-limit { - type int32; - description "Cost Limit"; - } - uses MPLS-TE-TOPOLOGY-PATH-BAG; - } - } - - container configured-srlgs { - description "Set of configured SRLG"; - - list configured-srlg { - key "srlg-number"; - description - "Configured SRLG value and the addresses using - it"; - leaf srlg-number { - type int32; - description "SRLG Number"; - } - uses MPLS-TE-TOPO-CFG-SRLG; - } - } - - container srlgs { - description - "Set of SRLG operational value for the overall - MPLS-TE topology"; - - list srlg { - key "srlg-number"; - description - "SRLG operational value for the overall MPLS-TE - topology"; - leaf srlg-number { - type int32; - description "SRLG Number"; - } - uses MPLS-TE-TOPO-SRLG; - } - } - - container path-tunnels { - description "MPLS-Te topology path info"; - - list path-tunnel { - description - "MPLS-TE topology path taken by the specified - tunnel"; - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel name"; - } - uses MPLS-TE-TOPOLOGY-PATH-BAG; - } - } - } - } - - grouping TE-PCE-OPER-TOPOLOGY { - description - "Common node of mpls-te, mpls-te-standbyCommon - node of mpls-pce, mpls-pce-stdby"; - - container topology { - description "The topology information in PCE"; - - container global { - description - "The global information of the overall topology"; - uses PCE-TOPOLOGY-GLOBAL-INFO-BAG; - } - } - } - - grouping FORWARDING-ADJACENCY-DESTINATION-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container forwarding-adjacency-destinations { - description "Announced Destination tunnel"; - - list forwarding-adjacency-destination { - key "destination-address"; - description "Forwarding Adjacencies for a destination"; - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination address"; - } - uses MPLS-TE-FWD-ADJ-BAG; - } - } - } - - grouping LINK-SUMMARY { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container link-summary { - description "The global summary for all the interfaces"; - uses MPLS-LM-SUMMARY-COMMON-INFO; - } - } - - grouping BANDWIDTH-ALLOCATION { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container bandwidth-allocation { - description - "The bandwidth allocation information in - MPLS-LCAC"; - - container global { - description - "Global bandwidth allocation information for all - interfaces"; - uses MPLS-LM-BW-ALLOC-COMMON-INFO; - } - - container bandwidth-allocation-links { - description - "Per-link bandwidth allocation information in - MPLS-LCAC"; - - list bandwidth-allocation-link { - key "interface-name"; - description - "The bandwidth allocation for a given interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-BW-ALLOC-LINK-INFO; - } - } - } - } - - grouping AUTO-TUNNEL-SERVICES { - description "Common node of mpls-te, mpls-te-standby"; - - container auto-tunnel-services { - description "MPLS TE Auto Tunnel Services"; - - container sr-policy-entries { - description "MPLS TE SR Policy Context table "; - - list sr-policy-entry { - key "client-id color end-point distinguisher"; - description "MPLS TE SR Policy information"; - leaf client-id { - type int32; - description "Client ID"; - } - leaf color { - type int32; - description "Color"; - } - leaf end-point { - type inet:ip-address-no-zone; - description "End Point"; - } - leaf distinguisher { - type int32; - description "SR Policy Distinguisher Value"; - } - uses TE-SERVICE-SR-POLICY; - } - } - } - } - - grouping AUTOROUTE-DESTINATION-TUNNEL-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container auto-route-destination-entries { - description - "MPLS TE autoroute destination table indexed by - tunnel"; - - list auto-route-destination-entry { - key "tunnel-id"; - description - "MPLS TE autoroute destination info for one - tunnel"; - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - uses TE-TUNNEL-AUTOROUTE-DESTINATIONS; - } - } - } - - grouping TUNNELS { - description "Common node of mpls-te, mpls-te-standby"; - - container tunnels { - description "Failure protection provided for tunnels"; - - container tunnel-flex-lsps { - description "Flex LSP"; - - list tunnel-flex-lsp { - description "Flex LSP"; - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses MPLS-TE-FLEX-LSP; - } - } - - container tunnel-auto-bandwidths { - description "Auto Bandwidth Brief Table"; - - list tunnel-auto-bandwidth { - key "tunnel-name"; - description "Auto Bandwidth info bag"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses MPLS-TE-TUNNELS-AUTOBW-BRIEF; - } - } - - container summary { - description "Summary of tunnel info"; - uses MPLS-TE-TUNNELS-SUMMARY-INFO-BAG; - } - - container tunnel-path-protections { - description "Path protection"; - - list tunnel-path-protection { - description "Path Protection"; - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses MPLS-TE-PATH-PROTECTION; - } - } - } - } - - grouping IGP-AREA-BRIEF-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container igp-area-briefs { - description "The set of IGP-areas known to MPLS-TE"; - - list igp-area-brief { - key "protocol process-tag"; - description "An IGP instance Brief info"; - leaf protocol { - type Mpls-te-igp-protocol; - description "The IGP protocol"; - } - leaf process-tag { - type xr:Cisco-ios-xr-string; - description "IGP Process Tag"; - } - uses TE-SH-IGP; - } - } - } - - grouping IGP-AREA-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container igp-areas { - description "The set of IGP-areas known to MPLS-TE"; - - list igp-area { - key "protocol process-tag"; - description "An IGP instance"; - leaf protocol { - type Mpls-te-igp-protocol; - description "The IGP protocol"; - } - leaf process-tag { - type xr:Cisco-ios-xr-string; - description "IGP Process Tag"; - } - uses TE-SH-IGP; - } - } - } - - grouping P2MP { - description "Common node of mpls-te, mpls-te-standby"; - - container p2mp { - description "P2MP Information"; - - container tunnel-rewrites { - description "forwarding-adjacency P2MP Tunnel RW"; - - list tunnel-rewrite { - key "tunnel-id lsp-id ctype"; - description "Display only P2MP Information"; - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf ctype { - type Ctype; - description "Ctype"; - } - uses MPLS-TE-S2L-TUN-RW-BAG; - } - } - - container collaborator-timers { - description "TE Collaborator timer status"; - uses MPLS-TE-P2MP-TIMERS-B; - } - - container forwarding-output-label-rewrites { - description "forwarding-adjacency P2MP Information"; - - list forwarding-output-label-rewrite { - key "tunnel-id lsp-id extended-tunnel-id source-address"+ - " p2mp-id destination-address next-hop-address"+ - " previous-hop-address ctype"; - description "Display only P2MP Information"; - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "extended tunnel ID"; - } - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf next-hop-address { - type inet:ipv4-address-no-zone; - description "Next Hop"; - } - leaf previous-hop-address { - type inet:ipv4-address-no-zone; - description "Prev Hop"; - } - leaf ctype { - type Ctype; - description "Ctype"; - } - uses MPLS-TE-S2L-FORWARDING-BAG; - } - } - } - } - - grouping LSP-OUT-OF-RESOURCES { - description "Common node of mpls-te, mpls-te-standby"; - - container lsp-out-of-resources { - description "LSP OOR information"; - - container summary { - description "LSP OOR Summary information"; - uses TE-LSP-OOR-INFO; - } - } - } - - grouping NSR { - description "Common node of mpls-te, mpls-te-standby"; - - container nsr { - description "MPLS TE NSR information"; - - container status { - description "MPLS TE NSR Status information"; - uses TE-NSR-ISSU-STATUS-INFO; - } - - container detail { - description "MPLS TE NSR Status information"; - uses TE-NSR-ISSU-STATUS-INFO; - } - } - } - - grouping AFFINITY-MAP { - description - "Common node of mpls-te, mpls-te-standbyCommon - node of mpls-te, mpls-te-standby"; - - container affinity-map { - description "Affinity name to value mapping"; - uses MPLS-TE-AFFINITY-MAP-BAG; - } - } - - grouping BFD { - description "Common node of mpls-te, mpls-te-standby"; - - container bfd { - description "MPLS TE BFD Oper Info"; - - container head-infos { - description "MPLS TE Head BFD Over LSP Table"; - - list head-info { - key "tunnel-name"; - description "MPLS TE Head End BFD Over LSP Info"; - leaf tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel Name"; - } - uses MPLS-TE-HEAD-BFD-VIF-INFO; - } - } - - container links { - description "MPLS TE BFD Info"; - - list link { - key "interface-name"; - description "MPLS TE BFD Info"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-BFD-NBRS-LINK-INFO; - } - } - - container tail-infos { - description "MPLS TE Tail BFD Over LSP Table"; - - list tail-info { - description "MPLS TE Tail End BFD Over LSP Info"; - leaf source-address { - type inet:ipv4-address-no-zone; - description "Source Address"; - } - leaf tunnel-id { - type int32; - description "Tunnel ID"; - } - leaf lsp-id { - type int32; - description "LSP ID"; - } - leaf destination-address { - type inet:ipv4-address-no-zone; - description "Destination Address"; - } - leaf extended-tunnel-id { - type inet:ipv4-address-no-zone; - description "Extended Tunnel ID"; - } - leaf ctype { - type Ctype; - description "Ctype"; - } - leaf p2mp-id { - type int32; - description "P2MP ID"; - } - uses MPLS-TE-TAIL-BFD-LSP-INFO; - } - } - - container summary { - description "MPLS TE BFD Summary"; - uses MPLS-TE-BFD-SUMMARY; - } - - container counters { - description "MPLS TE BFD Counters"; - uses MPLS-TE-BFD-COUNTERS; - } - } - } - - grouping TOPOLOGY-NODE-TABLE { - description "Common node of mpls-te, mpls-te-standby"; - - container topology-nodes { - description "A node in the MPLS-TE topology"; - - list topology-node { - key "protocol igp-id area topology-node-type igp-node-id"; - description "A node in the MPLS-TE topology"; - leaf protocol { - type Mpls-te-igp-protocol; - description "IGP protocol type"; - } - leaf igp-id { - type xr:Cisco-ios-xr-string; - description "IGP instance"; - } - leaf area { - type int32; - description "IGP area"; - } - leaf topology-node-type { - type Mpls-te-node; - description "Node type"; - } - leaf igp-node-id { - type string; - description "IGP Node ID"; - } - uses MPLS-TE-TOPOLOGY-NODE; - } - } - } - - grouping NEIGHBOR-TABLE { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container neighbors { - description "The neighbor information for the local router"; - - list neighbor { - key "interface-name"; - description - "The neighbors connected to a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses MPLS-LM-IGP-NBRS-LINK-INFO; - } - } - } - - grouping GMPLS { - description - "Common node of mpls-lcac, mpls-lcac-standbyCommon - node of mpls-lcac, mpls-lcac-standby"; - - container gmpls { - description "GMPLS data"; - - container nni { - description "GMPLS NNI data"; - } - - container uni { - description "GMPLS UNI data"; - } - } - } - - grouping ISSU { - description "Common node of mpls-te, mpls-te-standby"; - - container issu { - description "MPLS TE ISSU information"; - - container status { - description "MPLS TE ISSU Status information"; - uses TE-NSR-ISSU-STATUS-INFO; - } - - container detail { - description "MPLS TE ISSU Status information"; - uses TE-NSR-ISSU-STATUS-INFO; - } - } - } - - grouping SOFT-PREEMPTION-GLOBAL-INFO { - description "Common node of mpls-lcac, mpls-lcac-standby"; - - container soft-preemption-global-info { - description "The global soft-preemption information"; - uses MPLS-TE-SOFT-PREEMPTION-GLOBAL-INFO; - } - } - - container mpls-te { - config false; - description "MPLS Traffic Engineering operational data"; - - container segment-routing { - description "The Segment Routing database in MPLS-TE"; - - container srigp-area-infos { - description "Segment-Routing information about IGP areas"; - - list srigp-area-info { - key "protocol igp-instance area"; - description "A Segment-Routing IGP area information"; - leaf protocol { - type Mpls-te-igp-protocol; - description "IGP protocol type"; - } - leaf igp-instance { - type xr:Cisco-ios-xr-string; - description "IGP instance"; - } - leaf area { - type int32; - description "IGP area"; - } - uses TE-SR-IGP-AREA; - } - } - - container sr-node-infos { - description "Segment-Routing nodes database in MPLS-TE"; - - list sr-node-info { - key "protocol igp-instance area igp-node-id"; - description "A Segment-Routing node information"; - leaf protocol { - type Mpls-te-igp-protocol; - description "IGP protocol type"; - } - leaf igp-instance { - type xr:Cisco-ios-xr-string; - description "IGP instance"; - } - leaf area { - type int32; - description "IGP area"; - } - leaf igp-node-id { - type string; - description "Node's IGP ID"; - } - uses TE-SR-NODE; - } - } - - container sr-prefix-infos { - description "Segment-Routing prefixes database in MPLS-TE"; - - list sr-prefix-info { - key "protocol igp-instance area prefix prefix-length"; - description "A Segment-Routing prefix information"; - leaf protocol { - type Mpls-te-igp-protocol; - description "IGP protocol type"; - } - leaf igp-instance { - type xr:Cisco-ios-xr-string; - description "IGP instance"; - } - leaf area { - type int32; - description "IGP area"; - } - leaf prefix { - type inet:ipv4-address-no-zone; - description "Segment-Routing prefix"; - } - leaf prefix-length { - type int32; - description "Prefix' length"; - } - uses TE-SR-PREFIX; - } - } - } - - container fib-next-hop-routes { - description "MPLS TE FIB nexthop route database"; - - list fib-next-hop-route { - key "prefix-address"; - description "MPLS TE FIB nexthop route"; - leaf prefix-address { - type inet:ipv4-address-no-zone; - description "Prefix Address"; - } - uses TE-FIB-NH-ROUTE-BAG; - } - } - - container next-hop-routes { - description "MPLS TE nexthop route database"; - - list next-hop-route { - description "MPLS TE nexthop route"; - leaf prefix-address { - type inet:ipv4-address-no-zone; - description "Prefix Address"; - } - leaf prefix-length { - type xr:Ipv4-prefix-length; - description "Prefix Length"; - } - leaf next-hop-type { - type Mpls-te-next-hop; - description "Next-hop Route Type"; - } - uses TE-NEXTHOP-ROUTE; - } - } - - container te-mib { - description "TE MIB information"; - - container scalars { - description "MIB Scalar information"; - uses MPLS-TE-MIB-SCALAR-INFO; - } - } - uses HARDWARE-OUT-OF-RESOURCES; - uses P2P-P2MP-TUNNEL; - uses TOPOLOGY-NODE-TABLE; - uses ANNOUNCE-TUNNELS-INFO; - uses COLLABORATOR-TIMERS; - uses AUTO-TUNNEL; - uses SOFT-PREEMPTION; - uses FORWARDING-ADJACENCY-DESTINATION-TABLE; - uses IGP-AREA-TABLE; - uses WRAP-PROTECTION; - uses TOPOLOGY; - uses SIGNALLING-COUNTERS; - uses DIFF-SERV-TE-CLASSES; - uses ISSU; - uses AUTOROUTE-DESTINATION-TUNNEL-TABLE; - uses FAST-REROUTE; - uses ATTRIBUTE-SET-TABLE; - uses IGP-AREA-BRIEF-TABLE; - uses TUNNELS; - uses MAXIMUM-TUNNELS; - uses PATH-PROTECTION; - uses FIB-NEXT-HOP-LABEL-ROUTE-TABLE; - uses P2MP; - uses OPEN-CONFIG; - uses LSP-OUT-OF-RESOURCES; - uses BFD; - uses NSR; - uses AUTO-TUNNEL-SERVICES; - uses AFFINITY-MAP; - uses TOPOLOGY-BRIEF-TABLE; - } - - container mpls-lcac-standby { - config false; - description "mpls lcac standby"; - uses NEIGHBOR-TABLE; - uses PREEMPTION-EVENT-TABLE; - uses ADVERTISEMENTS; - uses STATISTICS; - uses BANDWIDTH-ALLOCATION; - uses GMPLS; - uses BFD-NEIGHBOR-TABLE; - uses BANDWIDTH-ACCOUNT; - uses LINK-SUMMARY; - uses LINK-INFORMATION; - uses ADMISSION-CONTROL; - uses SOFT-PREEMPTION-GLOBAL-INFO; - uses SOFT-PREEMPTION-TABLE; - } - - container mpls-lcac { - config false; - description "mpls lcac"; - uses NEIGHBOR-TABLE; - uses PREEMPTION-EVENT-TABLE; - uses ADVERTISEMENTS; - uses STATISTICS; - uses BANDWIDTH-ALLOCATION; - uses GMPLS; - uses BFD-NEIGHBOR-TABLE; - uses BANDWIDTH-ACCOUNT; - uses LINK-SUMMARY; - uses LINK-INFORMATION; - uses ADMISSION-CONTROL; - uses SOFT-PREEMPTION-GLOBAL-INFO; - uses SOFT-PREEMPTION-TABLE; - } - - container mpls-pce { - config false; - description "mpls pce"; - uses LSP-TABLE; - uses TE-PCE-OPER-STATISTICS; - uses PEER-TABLE; - uses TE-PCE-OPER-TOPOLOGY; - uses TUNNEL-TABLE; - } - - container mpls-pce-stdby { - config false; - description "mpls pce stdby"; - uses LSP-TABLE; - uses TE-PCE-OPER-STATISTICS; - uses PEER-TABLE; - uses TE-PCE-OPER-TOPOLOGY; - uses TUNNEL-TABLE; - } - - container mpls-tp { - config false; - description "mpls tp"; - - container tp-links { - description "Transport profile links"; - - container tp-detail-links { - description "Detailed table of transport profile links"; - - list tp-detail-link { - key "tp-link-id"; - description - "Detailed information of transport profile link"; - leaf tp-link-id { - type int32; - description "Numeric transport profile link identifier"; - } - uses MPLS-TE-TP-DETAIL-LINK-INFO; - } - } - - container tp-link-summary { - description "Summary of transport profile links"; - uses MPLS-TE-TP-LINK-SUMMARY-INFO; - } - - container tp-links { - description "Table of transport profile links"; - - list tp-link { - key "tp-link-id"; - description "Brief information of transport profile link"; - leaf tp-link-id { - type int32; - description "Numeric transport profile link identifier"; - } - uses MPLS-TE-TP-LINK-INFO; - } - } - } - - container tp-tunnels { - description "Transport profile tunnels"; - - container tp-tunnel-summary { - description "Summary of transport profile tunnels"; - uses MPLS-TE-TP-TUNNEL-SUMMARY; - } - - container tp-detail-tunnels { - description "Detailed table of transport profile tunnels"; - - list tp-detail-tunnel { - key "tp-tunnel-name"; - description - "Detailed information of transport profile - tunnel"; - leaf tp-tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel name"; - } - uses MPLS-TE-TP-DETAIL-TUNNEL-INFO; - } - } - - container tp-tunnels { - description "Table of transport profile tunnels"; - - list tp-tunnel { - key "tp-tunnel-name"; - description - "Brief information of transport profile tunnel"; - leaf tp-tunnel-name { - type xr:Cisco-ios-xr-string; - description "Tunnel name"; - } - uses MPLS-TE-TP-TUNNEL-INFO; - } - } - } - - container tp-midpoints { - description "Transport profile mid-point"; - - container tp-detail-midpoints { - description - "Detailed table of transport profile mid-points"; - - list tp-detail-midpoint { - key "tp-midpoint-name"; - description - "Detailed information of transport profile - mid-point"; - leaf tp-midpoint-name { - type xr:Cisco-ios-xr-string; - description "Mid-point name"; - } - uses MPLS-TP-DETAIL-MID-INFO; - } - } - - container tp-midpoint-summary { - description "Summary of transport profile mid-points"; - uses MPLS-TP-MID-SUMMARY-INFO; - } - - container tp-midpoints { - description "Table of transport profile mid-points"; - - list tp-midpoint { - key "tp-midpoint-name"; - description - "Brief information of transport profile - mid-point"; - leaf tp-midpoint-name { - type xr:Cisco-ios-xr-string; - description "Mid-point name"; - } - uses MPLS-TP-MID-INFO; - } - } - } - - container tp-global-parameters { - description "Transport profile global parameters"; - uses MPLS-TE-TP-GLOBAL-INFO; - } - } - - container mpls-te-standby { - config false; - description "mpls te standby"; - uses HARDWARE-OUT-OF-RESOURCES; - uses P2P-P2MP-TUNNEL; - uses TOPOLOGY-NODE-TABLE; - uses ANNOUNCE-TUNNELS-INFO; - uses COLLABORATOR-TIMERS; - uses AUTO-TUNNEL; - uses SOFT-PREEMPTION; - uses FORWARDING-ADJACENCY-DESTINATION-TABLE; - uses IGP-AREA-TABLE; - uses WRAP-PROTECTION; - uses TOPOLOGY; - uses SIGNALLING-COUNTERS; - uses DIFF-SERV-TE-CLASSES; - uses ISSU; - uses AUTOROUTE-DESTINATION-TUNNEL-TABLE; - uses FAST-REROUTE; - uses ATTRIBUTE-SET-TABLE; - uses IGP-AREA-BRIEF-TABLE; - uses TUNNELS; - uses MAXIMUM-TUNNELS; - uses PATH-PROTECTION; - uses FIB-NEXT-HOP-LABEL-ROUTE-TABLE; - uses P2MP; - uses OPEN-CONFIG; - uses LSP-OUT-OF-RESOURCES; - uses BFD; - uses NSR; - uses AUTO-TUNNEL-SERVICES; - uses AFFINITY-MAP; - uses TOPOLOGY-BRIEF-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-cfg.yang deleted file mode 100644 index 87cf978..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-cfg.yang +++ /dev/null @@ -1,92 +0,0 @@ -module Cisco-IOS-XR-mpls-vpn-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg"; - - - prefix "mpls-vpn-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-vpn package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container mpls-l3vpn { - description "MPLS-L3VPN-STD-MIB notification configuration"; - leaf max-threshold-reissue-notification-time { - type int32; - units "second"; - description - "Time interval (secs) for re-issuing - max-threshold notification"; - } - leaf max-threshold-exceeded { - type empty; - description - "Enable mplsL3VpnVrfNumVrfRouteMaxThreshExceeded - notification"; - } - leaf max-threshold-cleared { - type empty; - description - "Enable mplsL3VpnNumVrfRouteMaxThreshCleared - notification"; - } - leaf mid-threshold-exceeded { - type empty; - description - "Enable mplsL3VpnVrfRouteMidThreshExceeded - notification"; - } - leaf enable { - type empty; - description "Enable mplsL3VpnMIB notifications"; - } - leaf vrf-down { - type empty; - description "Enable mplsL3VpnVrfDown notification"; - } - leaf vrf-up { - type empty; - description "Enable mplsL3VpnVrfUp notification"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang deleted file mode 100644 index 95b2287..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang +++ /dev/null @@ -1,166 +0,0 @@ -submodule Cisco-IOS-XR-mpls-vpn-oper-sub1 { - - belongs-to Cisco-IOS-XR-mpls-vpn-oper { - prefix Cisco-IOS-XR-mpls-vpn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR mpls-vpn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mpls-vpn-rt { - type enumeration { - enum import { - value 1; - description "VRF Route Target Type Import"; - } - enum export { - value 2; - description "VRF Route Target Type Export"; - } - enum both { - value 3; - description "VRF Route Target Type Import and Export"; - } - } - description "Layer 3 VPN Route Target Type"; - } - typedef Mpls-vpn-safi { - type enumeration { - enum unicast { - value 1; - description "VRF Unicast sub-address family"; - } - enum multicast { - value 2; - description "VRF Multicast sub-address family"; - } - enum flowspec { - value 133; - description "VRF Flowspec sub-address family"; - } - } - description "Layer 3 VPN Sub-Address Family Type"; - } - typedef Mpls-vpn-afi { - type enumeration { - enum ipv4 { - value 1; - description "VRF IPv4 address family"; - } - enum ipv6 { - value 2; - description "VRF IPv6 address family"; - } - } - description "Layer 3 VPN Address Family Type"; - } - - grouping MPLS-VPN-RT { - description "Layer 3 VPN Route Target"; - leaf route-target-type { - type Mpls-vpn-rt; - description "Route Target Type"; - } - leaf route-target-value { - type string; - description "Route Target Value"; - } - leaf af-name { - type Mpls-vpn-afi; - description "AF name"; - } - leaf saf-name { - type Mpls-vpn-safi; - description "SAF name"; - } - } - - grouping MPLS-VPN-AFI-SAFI { - description "Layer 3 VPN AFI/SAFI Info"; - leaf af-name { - type Mpls-vpn-afi; - description "AF name"; - } - leaf saf-name { - type Mpls-vpn-safi; - description "SAF name"; - } - leaf import-route-policy { - type string; - description "Import Route Policy"; - } - leaf export-route-policy { - type string; - description "Export Route Policy"; - } - - list route-target { - description "Route Targets"; - uses MPLS-VPN-RT; - } - } - - grouping MPLS-VPN-INTERFACES { - description "Layer 3 VPN Interface Names"; - leaf interface-name { - type string; - description "Interface Name"; - } - } - - grouping MPLS-VPN-VRF { - description "Layer 3 VPN VRF"; - leaf vrf-name-xr { - type string; - description "VRF Name"; - } - leaf vrf-description { - type string; - description "VRF Description"; - } - leaf route-distinguisher { - type string; - description "Route Distinguisher"; - } - leaf is-big-vrf { - type boolean; - description "VRF mode information"; - } - - list interface { - description "Interfaces in VRF"; - uses MPLS-VPN-INTERFACES; - } - - list af { - description "AF/SAF information"; - uses MPLS-VPN-AFI-SAFI; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper.yang deleted file mode 100644 index 807143e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-mpls-vpn-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-mpls-vpn-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper"; - - - prefix "mpls-vpn-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-mpls-vpn-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR mpls-vpn package operational data. - - This module contains definitions - for the following management objects: - l3vpn: L3VPN operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container l3vpn { - config false; - description "L3VPN operational data"; - - container invalid-vrfs { - description - "Invalid VRF Table (VRFs that are forward - referenced)"; - - list invalid-vrf { - key "vrf-name"; - description "Invalid VRF (VRF that is forward referenced)"; - leaf vrf-name { - type string; - description "The Name for an invalid VRF"; - } - uses MPLS-VPN-VRF; - } - } - - container vrfs { - description "VRF Table"; - - list vrf { - key "vrf-name"; - description "VRF"; - leaf vrf-name { - type string; - description "The Name for a VRF"; - } - uses MPLS-VPN-VRF; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1001-ots-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1001-ots-cfg.yang deleted file mode 100644 index eda5523..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1001-ots-cfg.yang +++ /dev/null @@ -1,179 +0,0 @@ -module Cisco-IOS-XR-ncs1001-ots-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1001-ots-cfg"; - - - prefix "ncs1001-ots-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1001-ots package configuration. - - This module contains definitions - for the following management objects: - hardware-module: NCS1k HW module config - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ots-amplifier-node { - type enumeration { - enum term { - value 0; - description "Nodetype TERM"; - } - enum ila { - value 1; - description "Nodetype InLine Amplifier"; - } - enum roadm { - value 2; - description "Nodetype ROADM"; - } - } - description "Ots amplifier node"; - } - typedef Ots-amplifier-grid-mode { - type enumeration { - enum 100g-hz { - value 0; - description "100GHz mode"; - } - enum 50g-hz { - value 1; - description "50GHz mode"; - } - enum gr-idle-ss { - value 2; - description "Gridless mode"; - } - } - description "Ots amplifier grid mode"; - } - typedef Ots-psm-manual-switch { - type enumeration { - enum working { - value 1; - description "Working port"; - } - enum protected { - value 2; - description "Protected port"; - } - } - description "Ots psm manual switch"; - } - typedef Ots-psm-lockout-from { - type enumeration { - enum working { - value 1; - description "Working port"; - } - enum protected { - value 2; - description "Protected port"; - } - } - description "Ots psm lockout from"; - } - - container hardware-module { - description "NCS1k HW module config"; - - list node { - key "location"; - description "Node"; - leaf location { - type xr:Cisco-ios-xr-string; - description "Fully qualified line card specification"; - } - - list slot { - key "slot-id"; - description "Slot Id"; - - container amplifier { - description "Amplifier Configs"; - leaf node-type { - type Ots-amplifier-node; - description - "Define the type of node in which the - amplifier is set to work"; - } - leaf grid-mode { - type Ots-amplifier-grid-mode; - description - "Define the working mode for the optical - module"; - } - leaf udc-vlan { - type uint32 { - range "2..4080"; - } - description "Define the VLAN ID in range <2-4080>"; - } - } - - container psm { - description "PSM Configs"; - leaf mono-dir { - type boolean; - description "Psm Uni directional configuration"; - } - leaf auto-threshold { - type boolean; - description "Psm Automatic Threshold Setting"; - } - leaf path-protection { - type boolean; - description "Psm path protection configuration"; - } - leaf section-protection { - type boolean; - description "Psm section protection configuration"; - } - leaf lockout-from { - type Ots-psm-lockout-from; - description "Exclude selected port from protection"; - } - leaf manual-switch-to { - type Ots-psm-manual-switch; - description "Switch active path on selected port"; - } - } - leaf slot-id { - type uint32 { - range "1..3"; - } - description "Set Slot"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang deleted file mode 100644 index 921941a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang +++ /dev/null @@ -1,152 +0,0 @@ -submodule Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs1k-macsec-ea-oper { - prefix Cisco-IOS-XR-ncs1k-macsec-ea-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-macsec-ea package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ncs1k-cipher-suit { - type enumeration { - enum gcm-aes-256 { - value 0; - description "GCM AES 256"; - } - enum gcm-aes-128 { - value 1; - description "GCM AES 128"; - } - enum gcm-aes-xpn-256 { - value 2; - description "GCM AES XPN 256"; - } - } - description "Ncs1k cipher suit"; - } - - grouping NCS1K-AN-STATUS { - description "Association Number status"; - leaf association-number { - type uint8; - description "Assocition Number"; - } - leaf device-association-number { - type uint8; - description "Devive Association Number"; - } - leaf short-secure-channel-id { - type uint32; - description "Short Secure Channel Id"; - } - leaf programmed-time { - type string { - length "0..30"; - } - description "Key Programmed Time"; - } - leaf key-crc { - type xr:Hex-integer; - description "32bit CRC of Programmed Key"; - } - leaf-list xpn-salt { - type xr:Hex-integer; - description "XPN Salt"; - } - } - - grouping NCS1K-SC-STATUS { - description "Secure Channel status"; - leaf protection-enabled { - type boolean; - description "Protection Enabled"; - } - leaf secure-channel-id { - type uint64; - description "Secure Channel Id"; - } - leaf confidentiality-offset { - type uint32; - description "Confidentiality offset"; - } - leaf cipher-suite { - type Ncs1k-cipher-suit; - description "Cipher Suite"; - } - leaf initial-packet-number { - type uint64; - description "Initial Packet Number"; - } - leaf secure-tag-length { - type uint32; - description "Secure Tag Length"; - } - leaf max-packet-number { - type uint64; - description "Maximum Packet Number"; - } - leaf recent-packet-number { - type uint64; - description "Recent Packet Number"; - } - - list active-association { - description "Active Associations"; - uses NCS1K-AN-STATUS; - } - } - - grouping NCS1K-MACSEC-IF-STATUS { - description "Interface Status details"; - - container encrypt-sc-status { - description "Encrypt Secure Channel Status"; - uses NCS1K-SC-STATUS; - } - - container decrypt-sc-status { - description "Decrypt Secure Channel Status"; - uses NCS1K-SC-STATUS; - } - leaf replay-window-size { - type uint32; - description "Replay Window Size"; - } - leaf must-secure { - type boolean; - description "Must Secure"; - } - leaf secure-mode { - type uint32; - description "Secure Mode"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang deleted file mode 100644 index 131a026..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-ncs1k-macsec-ea-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs1k-macsec-ea-oper"; - - - prefix "ncs1k-macsec-ea-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-macsec-ea package operational data. - - This module contains definitions - for the following management objects: - ncs1k-macsec-oper: Macsec data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ncs1k-macsec-oper { - config false; - description "Macsec data"; - - container ncs1k-macsec-ctrlr-names { - description "All Macsec operational data"; - - list ncs1k-macsec-ctrlr-name { - key "name"; - description "Interface name"; - - container ncs1k-status-info { - description "controller data"; - uses NCS1K-MACSEC-IF-STATUS; - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-cfg.yang deleted file mode 100644 index a868ea2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-cfg.yang +++ /dev/null @@ -1,143 +0,0 @@ -module Cisco-IOS-XR-ncs1k-mxp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-cfg"; - - - prefix "ncs1k-mxp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp package configuration. - - This module contains definitions - for the following management objects: - hardware-module: NCS1k HW module config - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Trunk-data-rate { - type enumeration { - enum hundred-gig { - value 2; - description "HundredGig"; - } - enum two-hundred-gig { - value 3; - description "TwoHundredGig"; - } - enum two-hundred-fifty-gig { - value 4; - description "TwoHundredFiftyGig"; - } - } - description "Trunk data rate"; - } - typedef Client-data-rate { - type enumeration { - enum ten-gig { - value 1; - description "TenGig"; - } - enum forty-gig { - value 2; - description "FortyGig"; - } - enum hundred-gig { - value 3; - description "HundredGig"; - } - enum ten-and-hundred-gig { - value 4; - description "TenAndHundredGig"; - } - } - description "Client data rate"; - } - typedef Fec { - type enumeration { - enum sd7 { - value 1; - description "SoftDecision7"; - } - enum sd20 { - value 2; - description "SoftDecision20"; - } - } - description "Fec"; - } - - container hardware-module { - description "NCS1k HW module config"; - - list node { - key "location"; - description "Node"; - leaf location { - type xr:Cisco-ios-xr-string; - description "Fully qualified line card specification"; - } - - list slice { - key "slice-id"; - description "Slice to be Provisioned"; - - container values { - description "Data rates & FEC"; - leaf client-rate { - type Client-data-rate; - description "Client Rate"; - } - leaf trunk-rate { - type Trunk-data-rate; - description "TrunkRate"; - } - leaf fec { - type Fec; - description "FEC"; - } - leaf encrypted { - type boolean; - default "false"; - description "Encrypted"; - } - } - leaf lldp { - type boolean; - description "Drop LLDP Packets"; - } - leaf slice-id { - type xr:Cisco-ios-xr-string; - description "Set Slice"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang deleted file mode 100644 index c10a626..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang +++ /dev/null @@ -1,281 +0,0 @@ -submodule Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs1k-mxp-headless-oper { - prefix Cisco-IOS-XR-ncs1k-mxp-headless-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp-headless package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-30" { - description - "PRBS stats added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mxp-otn-prbs-status { - type enumeration { - enum locked { - value 0; - description "Locked"; - } - enum not-locked { - value 1; - description "Not Locked"; - } - enum not-applicable { - value 2; - description "Not Applicable"; - } - enum locked-with-errors { - value 3; - description "Locked With Errors"; - } - } - description "Mxp otn prbs status"; - } - - grouping MXP-ETHER-PRIM-INFO { - description "Ether statistics"; - leaf rx-pkts-over-sized { - type uint64; - description "RxPktsOverSized"; - } - leaf rx-pkts-bad-fcs { - type uint64; - description "RxPktsBadFcs"; - } - leaf rx-error-jabbers { - type uint64; - description "RxErrorJabbers"; - } - leaf rx-pkts-multicast { - type uint64; - description "RxPktsMulticast"; - } - leaf rx-pkts-broadcast { - type uint64; - description "RxPktsBroadcast"; - } - leaf rx-pkts-under-sized { - type uint64; - description "RxPktsUnderSized"; - } - leaf rx-packets { - type uint64; - description "RxPackets"; - } - leaf rx-total-bytes { - type uint64; - description "RxTotalBytes"; - } - leaf rx-bytes-good { - type uint64; - description "RxBytesGood"; - } - leaf rx-pkts-good { - type uint64; - description "RxPktsGood"; - } - leaf tx-bytes-good { - type uint64; - description "TxBytesGood"; - } - leaf tx-pkts-good { - type uint64; - description "TxPktsGood"; - } - leaf rx-recv-fragments { - type uint64; - description "RxRecvFragments"; - } - leaf rx-pkts64-bytes { - type uint64; - description "RxPkts64Bytes"; - } - leaf rx-pkts65-to127-bytes { - type uint64; - description "RxPkts65To127Bytes"; - } - leaf rx-pkts128to255-bytes { - type uint64; - description "RxPkts128to255Bytes"; - } - leaf rx-pkts256-to511-bytes { - type uint64; - description "RxPkts256To511Bytes"; - } - leaf rx-pkts512-to1023-bytes { - type uint64; - description "RxPkts512To1023Bytes"; - } - leaf rx-pkts1024-to1518-bytes { - type uint64; - description "RxPkts1024To1518Bytes"; - } - leaf rx-pkts-unicast { - type uint64; - description "RxPktsUnicast"; - } - leaf tx-packets { - type uint64; - description "TxPackets"; - } - leaf tx-total-bytes { - type uint64; - description "TxTotalBytes"; - } - leaf tx-pkts-under-sized { - type uint64; - description "TxPktsUnderSized"; - } - leaf tx-pkts-over-sized { - type uint64; - description "TxPktsOverSized"; - } - leaf tx-fragments { - type uint64; - description "TxFragments"; - } - leaf tx-jabber { - type uint64; - description "TxJabber"; - } - leaf tx-bad-fcs { - type uint64; - description "TxBadFCS"; - } - leaf rx-pkt-drop { - type uint64; - description "RxPktDrop"; - } - leaf rx-pause { - type uint64; - description "RxPause"; - } - leaf tx-pause { - type uint64; - description "TxPause"; - } - leaf rx-lldp-pkt { - type uint64; - description "RxLldpPkt"; - } - leaf rx8021q-pkt { - type uint64; - description "Rx8021QPkt"; - } - } - - grouping MXP-HEADLESS-ETHER-PRIM-INFO { - description "Ether Headless Statistics"; - - container ether-statistics { - description "Ether Statistics"; - uses MXP-ETHER-PRIM-INFO; - } - leaf started-stateful { - type boolean; - description "Started Stateful"; - } - leaf headless-start-time { - type string { - length "0..64"; - } - description "Headless Start Time"; - } - leaf headless-end-time { - type string { - length "0..64"; - } - description "Headless End Time"; - } - } - - grouping MXP-OTN-PRBS-INFO { - description "PRBS Statistics"; - leaf ebc { - type uint64; - description "EBC"; - } - leaf sync-status { - type Mxp-otn-prbs-status; - description "SyncStatus"; - } - } - - grouping MXP-OTN-CNT-INFO { - description "OTN statistics"; - leaf sm-bip { - type uint64; - description "SmBip"; - } - leaf sm-bei { - type uint64; - description "SmBei"; - } - leaf fec-ec { - type uint64; - description "FecEc"; - } - leaf fec-uc { - type uint64; - description "FecUc"; - } - } - - grouping MXP-HEADLESS-OTN-CNT-INFO { - description "OTN Headless Statistics"; - - container otn-statistics { - description "OTN statistics"; - uses MXP-OTN-CNT-INFO; - } - - container prbs-statistics { - description "PRBS Statistics"; - uses MXP-OTN-PRBS-INFO; - } - leaf started-stateful { - type boolean; - description "Started Stateful"; - } - leaf headless-start-time { - type string { - length "0..64"; - } - description "Headless Start Time"; - } - leaf headless-end-time { - type string { - length "0..64"; - } - description "Headless End Time"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang deleted file mode 100644 index 6cb0232..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang +++ /dev/null @@ -1,93 +0,0 @@ -module Cisco-IOS-XR-ncs1k-mxp-headless-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs1k-mxp-headless-oper"; - - - prefix "ncs1k-mxp-headless-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1 { - revision-date 2017-03-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp-headless package operational data. - - This module contains definitions - for the following management objects: - headless-func-data: Information related to headless - functionality - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-30" { - description - "PRBS stats added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container headless-func-data { - config false; - description "Information related to headless functionality"; - - container otn-port-names { - description - "OTN Statistics collected during last headless - operation"; - - list otn-port-name { - key "name"; - description "port Name"; - leaf name { - type xr:Interface-name; - description "Port name"; - } - uses MXP-HEADLESS-OTN-CNT-INFO; - } - } - - container ethernet-port-names { - description - "Ethernet Statistics collected during last - headless operation"; - - list ethernet-port-name { - key "name"; - description "Port Name"; - leaf name { - type xr:Interface-name; - description "Port name"; - } - uses MXP-HEADLESS-ETHER-PRIM-INFO; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang deleted file mode 100644 index 83b6019..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang +++ /dev/null @@ -1,205 +0,0 @@ -submodule Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs1k-mxp-lldp-oper { - prefix Cisco-IOS-XR-ncs1k-mxp-lldp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp-lldp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-13" { - description - "Added Additional bag for show lldp neighbor command."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef In6-addr { - type inet:ipv6-address; - description "In6 addr"; - } - typedef Lldp-l3-addr-protocol { - type enumeration { - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - } - description "Lldp l3 addr protocol"; - } - - grouping LLDP-L3-ADDR { - description "LLDP L3 ADDR"; - leaf address-type { - type Lldp-l3-addr-protocol; - description "AddressType"; - } - leaf ipv4-address { - when "../address-type = 'ipv4'" { - description "../AddressType = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../address-type = 'ipv6'" { - description "../AddressType = 'IPv6'"; - } - type In6-addr; - description "IPv6 address"; - } - } - - grouping LLDP-ADDRESS-ENTRY { - description "LLDP Address entry"; - - list lldp-addr-entry { - description "lldp addr entry"; - - container address { - description "Network layer address"; - uses LLDP-L3-ADDR; - } - leaf ma-subtype { - type uint8; - description "MA sub type"; - } - leaf if-num { - type uint32; - description "Interface num"; - } - } - } - - grouping MXP-LLDP-NEIGHBOR { - description "LLDP neighbor info"; - - container network-addresses { - description "Management Addresses"; - uses LLDP-ADDRESS-ENTRY; - } - leaf source-mac { - type string; - description "Mac address of the neighbor"; - } - leaf chassis-id { - type string; - description "Chassis id"; - } - leaf port-id-detail { - type string; - description "Outgoing port identifier"; - } - leaf hold-time { - type uint16; - description "Remaining hold time"; - } - leaf port-description { - type string; - description "Port Description"; - } - leaf system-name { - type string; - description "System Name"; - } - leaf system-description { - type string; - description "System Description"; - } - leaf system-capabilities { - type string; - description "System Capabilities"; - } - leaf enabled-capabilities { - type string; - description "Enabled Capabilities"; - } - leaf lldp-neighbor { - type string { - length "0..40"; - } - description "LldpNeighbor"; - } - leaf drop-enabled { - type boolean; - description "LLDP Packet Drop Enabled"; - } - leaf rx-lldp-pkts { - type uint64; - description "Received LLDP Packets count"; - } - } - - grouping LLDP-NEIGHBOR-BRIEF-ENTRY { - description "LLDP NEIGHBOR BRIEF ENTRY"; - - list lldp-neighbor-brief-entry { - description "lldp neighbor brief entry"; - leaf chassis-id { - type string; - description "Chassis id"; - } - leaf port-id-detail { - type string; - description "Outgoing port identifier"; - } - leaf system-name { - type string; - description "System Name"; - } - leaf enabled-capabilities { - type string; - description "Enabled Capabilities"; - } - leaf recv-intf { - type string; - description "Receive Interface"; - } - leaf hold-time { - type uint16; - description "Remaining hold time"; - } - } - } - - grouping LLDP-NEIGHB-BRIEF { - description "LLDP Neighbor Breif entries"; - - container neighbours { - description "List of LLDP neighbors"; - uses LLDP-NEIGHBOR-BRIEF-ENTRY; - } - leaf number-of-entries { - type uint16; - description "Number of active neighbors entries"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang deleted file mode 100644 index 458ebcb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang +++ /dev/null @@ -1,79 +0,0 @@ -module Cisco-IOS-XR-ncs1k-mxp-lldp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs1k-mxp-lldp-oper"; - - - prefix "ncs1k-mxp-lldp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1 { - revision-date 2016-10-13; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp-lldp package operational data. - - This module contains definitions - for the following management objects: - lldp-snoop-data: Information related to LLDP Snoop - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-13" { - description - "Added Additional bag for show lldp neighbor command."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container lldp-snoop-data { - config false; - description "Information related to LLDP Snoop"; - - container lldp-neighbor-brief { - description "NCS1K LLDP Neighbor brief info"; - uses LLDP-NEIGHB-BRIEF; - } - - container ethernet-controller-names { - description "Ethernet controller snoop data"; - - list ethernet-controller-name { - key "name"; - description "port Name"; - leaf name { - type xr:Interface-name; - description "Port name"; - } - uses MXP-LLDP-NEIGHBOR; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang deleted file mode 100644 index 57da08b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang +++ /dev/null @@ -1,204 +0,0 @@ -submodule Cisco-IOS-XR-ncs1k-mxp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs1k-mxp-oper { - prefix Cisco-IOS-XR-ncs1k-mxp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Hw-module-slice-status { - type enumeration { - enum not-provisioned { - value 0; - description "Not Provisioned"; - } - enum provisioning-in-progress { - value 1; - description "Provisioning In-Progress"; - } - enum provisioned { - value 2; - description "Provisioned"; - } - enum provisioning-failed { - value 3; - description "Provisioning Failed"; - } - enum provisioning-scheduled { - value 4; - description "Provisioning Scheduled"; - } - enum reprovisioning-aborted { - value 5; - description "Reprovisioning Aborted"; - } - } - description "Hw module slice status"; - } - typedef Trunk-data-rate { - type enumeration { - enum fifty-gig { - value 1; - description "FiftyGig"; - } - enum hundred-gig { - value 2; - description "HundredGig"; - } - enum two-hundred-gig { - value 3; - description "TwoHundredGig"; - } - enum two-hundred-fifty-gig { - value 4; - description "TwoHundredFiftyGig"; - } - } - description "Trunk data rate"; - } - typedef Client-data-rate { - type enumeration { - enum ten-gig { - value 1; - description "Ten Gig"; - } - enum forty-gig { - value 2; - description "Forty Gig"; - } - enum hundred-gig { - value 3; - description "Hundread Gig"; - } - enum ten-and-hundred-gig { - value 4; - description "Ten and Hundread Gig"; - } - } - description "Client data rate"; - } - - grouping HW-MODULE-SLICE-CLIENT-TRAFFIC-SPLIT-INFO-B { - description "HW MODULE SLICE CLIENT TRAFFIC SPLIT INFO B"; - leaf trunk-name { - type string { - length "0..64"; - } - description "TrunkName"; - } - leaf if-index { - type uint32; - description "IfIndex"; - } - leaf percentage { - type string { - length "0..8"; - } - description "Percentage"; - } - } - - grouping HW-MODULE-SLICE-CLIENT-PORT-INFO-B { - description "HW MODULE SLICE CLIENT PORT INFO B"; - leaf client-name { - type string { - length "0..64"; - } - description "ClientName"; - } - leaf if-index { - type uint32; - description "IfIndex"; - } - - list trunk-port { - description "trunk port"; - uses HW-MODULE-SLICE-CLIENT-TRAFFIC-SPLIT-INFO-B; - } - } - - grouping HW-MODULE-SLICE-INFO-B { - description "HW MODULE SLICE INFO B"; - leaf slice-id { - type uint32; - description "SliceId"; - } - leaf client-rate { - type Client-data-rate; - description "ClientRate"; - } - leaf trunk-rate { - type Trunk-data-rate; - description "TrunkRate"; - } - leaf hardware-status { - type Hw-module-slice-status; - description "HardwareStatus"; - } - leaf dp-fpga-fw-type { - type string { - length "0..10"; - } - description "DpFpgaFwType"; - } - leaf dp-fpga-fw-ver { - type string { - length "0..10"; - } - description "DpFpgaFwVer"; - } - leaf need-upg { - type uint32; - description "NeedUpg"; - } - leaf encryption-supported { - type boolean; - description "EncryptionSupported"; - } - leaf lldp-drop-status { - type boolean; - description "LldpDropStatus"; - } - - list client-port { - description "client port"; - uses HW-MODULE-SLICE-CLIENT-PORT-INFO-B; - } - } - - grouping MXP-HWMOD-OP { - description "ipsec cli o/p entry"; - - list slice-info { - description "slice info"; - uses HW-MODULE-SLICE-INFO-B; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper.yang deleted file mode 100644 index d00fad2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs1k-mxp-oper.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-ncs1k-mxp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-oper"; - - - prefix "ncs1k-mxp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-ncs1k-mxp-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs1k-mxp package operational data. - - This module contains definitions - for the following management objects: - hw-module: mxp hw-module command chain - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hw-module { - config false; - description "mxp hw-module command chain"; - - container slice-ids { - description "Slice information"; - - list slice-id { - key "slice-num"; - description "Per slice num data"; - leaf slice-num { - type int32; - description - "Details associated with a particular slice - number"; - } - uses MXP-HWMOD-OP; - } - } - - container slice-all { - description "Information for all slices"; - uses MXP-HWMOD-OP; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-cfg.yang deleted file mode 100644 index a21445e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-cfg.yang +++ /dev/null @@ -1,330 +0,0 @@ -module Cisco-IOS-XR-ncs4k-freqsync-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ncs4k-freqsync-cfg"; - - - prefix "ncs4k-freqsync-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-freqsync-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs4k-freqsync package configuration. - - This module contains definitions - for the following management objects: - clock-interface: Configuration for a clock interface - frequency-synchronization: frequency synchronization - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg, - Cisco-IOS-XR-ifmgr-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-system-timing-mode { - type enumeration { - enum line-only { - value 2; - description "Line-interfaces only"; - } - enum clock-only { - value 3; - description "Clock-interfaces only"; - } - } - description "Fsync system timing mode"; - } - typedef Fsync-clock-source { - type enumeration { - enum system { - value 1; - description "System"; - } - enum independent { - value 3; - description "Independent"; - } - } - description "Fsync clock source"; - } - typedef Fsync-source-selection-logging { - type enumeration { - enum changes { - value 1; - description "Log selection changes"; - } - enum errors { - value 2; - description "Log selection errors"; - } - } - description "Fsync source selection logging"; - } - - container clock-interface { - description "Configuration for a clock interface"; - - container clocks { - description "Configuration for a clock interface"; - - list clock { - key "clock-name"; - description "Configuration for a clock interface"; - - container frequency-synchronization { - description - "Frequency Synchronization clock configuraiton"; - - container input-quality-level { - description "Set the input quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - - container output-quality-level { - description "Set the output quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - leaf ssm-disable { - type empty; - description "Disable SSM on this source"; - } - leaf wait-to-restore-time { - type uint32 { - range "0..12"; - } - default "5"; - description - "Set the wait-to-restore time for this source"; - } - leaf time-of-day-priority { - type uint32 { - range "1..254"; - } - default "100"; - description - "Set the time-of-day priority of this source"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the priority of this source"; - } - leaf selection-input { - type empty; - description "Assign this source as a selection input"; - } - } - leaf clock-name { - type xr:Cisco-ios-xr-string; - description "Clock Name"; - } - } - } - } - - container frequency-synchronization { - description "frequency synchronization"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - default "option-1"; - description "Quality level option"; - } - leaf enable { - type empty; - description "Enable Frequency Synchronization"; - } - leaf source-selection-logging { - type Fsync-source-selection-logging; - description "Source selection logging option"; - } - leaf clock-interface-source-type { - type Fsync-clock-source; - description "Clock interface source type"; - } - leaf system-timing-mode { - type Fsync-system-timing-mode; - description "System timing mode"; - } - } - - augment "/a2:interface-configurations/a2:interface-configuration" { - - container frequency-synchronization { - description - "Frequency Synchronization interface - configuration"; - - container input-quality-level { - description "Set the input quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - - container output-quality-level { - description "Set the output quality level"; - leaf quality-level-option { - type dt1:Fsync-ql-option; - must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; - description "Quality level option"; - } - leaf exact-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; - description "Exact quality level value"; - } - leaf min-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Minimum quality level value"; - } - leaf max-quality-level-value { - type dt1:Fsync-ql-value; - must "../quality-level-option and not(../exact-quality-level-value)"; - description "Maximum quality level value"; - } - } - leaf ssm-disable { - type empty; - description "Disable SSM on this source"; - } - leaf time-of-day-priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the time-of-day priority of this source"; - } - leaf selection-input { - type empty; - description "Assign this source as a selection input"; - } - leaf enable { - type empty; - description "Enable Frequency Synchronization"; - } - leaf priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Set the priority of this source"; - } - leaf wait-to-restore-time { - type uint32 { - range "0..12"; - } - default "5"; - description "Set the wait-to-restore time for this source"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container frequency-synchronization { - description "Frequency Synchronization trap configuration"; - leaf enable { - type empty; - description "Enable Frequency Synchronization traps"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper-sub1.yang deleted file mode 100644 index 3457133..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper-sub1.yang +++ /dev/null @@ -1,1466 +0,0 @@ -submodule Cisco-IOS-XR-ncs4k-freqsync-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs4k-freqsync-oper { - prefix Cisco-IOS-XR-ncs4k-freqsync-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs4k-freqsync package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-bag-clock-intf-class { - type enumeration { - enum clock-class-bitst1 { - value 0; - description "BITS T1"; - } - enum clock-class-bitse1 { - value 1; - description "BITS E1"; - } - enum clock-class-bits2m { - value 2; - description "BITS 2M"; - } - enum clock-class-bits6m { - value 3; - description "BITS 6M"; - } - enum clock-class-bits64k { - value 4; - description "BITS 64K"; - } - enum clock-class-dti { - value 5; - description "DTI"; - } - enum clock-class-gps { - value 6; - description "GPS"; - } - enum clock-class-chassis-sync { - value 7; - description "Inter-Chassis Sync"; - } - enum clock-class-bitsj1 { - value 8; - description "Bits J1"; - } - } - description "Clock-interface class"; - } - typedef Fsync-bag-esmc-peer-state { - type enumeration { - enum peer-down { - value 1808240398; - description "Peer state down"; - } - enum peer-up { - value 1808240399; - description "Peer state up"; - } - enum peer-timed-out { - value 1808240400; - description "Peer state timed out"; - } - enum peer-unknown { - value 1808240401; - description "Peer state unknown"; - } - } - description "ESMC peer state"; - } - typedef Fsync-bag-damping-state { - type enumeration { - enum damping-state-down { - value 0; - description "Down"; - } - enum damping-state-coming-up { - value 1; - description "Coming up"; - } - enum damping-state-up { - value 2; - description "Up"; - } - enum damping-state-going-down { - value 3; - description "Going down"; - } - } - description "Damping state"; - } - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - typedef Fsync-bag-forwardtrace-node { - type enumeration { - enum forward-trace-node-selection-point { - description "A selection point forwardtrace node"; - } - enum forward-trace-node-source { - description "A timing source forwardtrace node"; - } - } - description "Selection forwardtrace node information"; - } - typedef Fsync-bag-optional-string { - type string; - description "Fsync bag optional string"; - } - typedef Fsync-bag-stream-state { - type enumeration { - enum stream-invalid { - value 0; - description "Invalid stream"; - } - enum stream-available { - value 2; - description "Stream available"; - } - enum stream-locked { - value 4; - description "Stream locked"; - } - enum stream-holdover { - value 5; - description "Stream in holdover"; - } - enum stream-freerun { - value 6; - description "Stream free running"; - } - enum stream-failed { - value 7; - description "Stream failed"; - } - enum stream-unmonitored { - value 8; - description "Unmonitored stream"; - } - enum stream-error { - value 9; - description "Stream error"; - } - } - description "Platform stream status"; - } - typedef Fsync-output-id { - type uint8; - description "Fsync output id"; - } - typedef Fsync-bag-source-class { - type enumeration { - enum invalid-source { - value 0; - description "Invalid source class"; - } - enum ethernet-interface-source { - value 1; - description "Ethernet interface"; - } - enum sonet-interface-source { - value 2; - description "SONET interface"; - } - enum clock-interface-source { - value 3; - description "Clock interface"; - } - enum internal-clock-source { - value 4; - description "Internal clock"; - } - enum ptp-source { - value 5; - description "PTP clock"; - } - enum satellite-access-interface-source { - value 6; - description "Satellite Access Interface"; - } - enum ntp-source { - value 7; - description "NTP clock"; - } - } - description "Source class"; - } - typedef Fsync-bag-stream-input { - type enumeration { - enum invalid-input { - value 0; - description "Invalid stream input"; - } - enum source-input { - value 1; - description "Source stream input"; - } - enum selection-point-input { - value 2; - description "Selection point stream input"; - } - } - description "Stream input type"; - } - typedef Fsync-bag-ql-o2-g2-value { - type enumeration { - enum option2-generation2-invalid { - value 0; - description "Invalid"; - } - enum option2-generation2-do-not-use { - value 1; - description "Do not use"; - } - enum option2-generation2-failed { - value 2; - description "Failed"; - } - enum option2-generation2-none { - value 3; - description "None"; - } - enum option2-generation2prs { - value 30; - description "Primary reference source"; - } - enum option2-generation2stu { - value 31; - description "Synchronized - traceability unknown"; - } - enum option2-generation2-stratum2 { - value 32; - description "Stratum 2"; - } - enum option2-generation2-stratum3 { - value 33; - description "Stratum 3"; - } - enum option2-generation2tnc { - value 34; - description "Transit node clock"; - } - enum option2-generation2-stratum3e { - value 35; - description "Stratum 3E"; - } - enum option2-generation2smc { - value 36; - description "SONET clock self timed"; - } - enum option2-generation2-stratum4 { - value 37; - description "Stratum 4 freerun"; - } - } - description "Quality level option 2, generation 2 values"; - } - typedef Fsync-bag-ql-o2-g1-value { - type enumeration { - enum option2-generation1-invalid { - value 0; - description "Invalid"; - } - enum option2-generation1-do-not-use { - value 1; - description "Do not use"; - } - enum option2-generation1-failed { - value 2; - description "Failed"; - } - enum option2-generation1-none { - value 3; - description "None"; - } - enum option2-generation1prs { - value 20; - description "Primary reference source"; - } - enum option2-generation1stu { - value 21; - description "Synchronized - traceability unknown"; - } - enum option2-generation1-stratum2 { - value 22; - description "Stratum 2"; - } - enum option2-generation1-stratum3 { - value 23; - description "Stratum 3"; - } - enum option2-generation1smc { - value 24; - description "SONET clock self timed"; - } - enum option2-generation1-stratum4 { - value 25; - description "Stratum 4 freerun"; - } - } - description "Quality level option 2, generation 1 values"; - } - typedef Fsync-bag-ql-o1-value { - type enumeration { - enum option1-invalid { - value 0; - description "Invalid"; - } - enum option1-do-not-use { - value 1; - description "Do not use"; - } - enum option1-failed { - value 2; - description "Failed"; - } - enum option1-none { - value 3; - description "None"; - } - enum option1prc { - value 10; - description "Primary reference clock"; - } - enum option1ssu-a { - value 11; - description "Type I or V slave clock"; - } - enum option1ssu-b { - value 12; - description "Type VI slave clock"; - } - enum option1sec { - value 13; - description "SONET equipment clock"; - } - } - description "Quality level option 1 values"; - } - typedef Fsync-bag-ql-option { - type enumeration { - enum no-quality-level-option { - value 0; - description "No quality level option"; - } - enum option1 { - value 1; - description "ITU-T Quality level option 1"; - } - enum option2-generation1 { - value 2; - description "ITU-T Quality level option 2, generation 1"; - } - enum option2-generation2 { - value 3; - description "ITU-T Quality level option 2, generation 2"; - } - enum invalid-quality-level-option { - value 4; - description "Invalid quality level option"; - } - } - description "Quality level option"; - } - typedef Fsync-time-pri { - type uint8; - description "Fsync time pri"; - } - typedef Fsync-pri { - type uint8; - description "Fsync pri"; - } - typedef Fsync-bag-source-state { - type enumeration { - enum source-state-unknown { - value 0; - description "Unknown"; - } - enum source-state-up { - value 1; - description "Up"; - } - enum source-state-down { - value 2; - description "Down"; - } - } - description "Source state"; - } - typedef Fsync-bag-selection-point-desc { - type string; - description "Fsync bag selection point desc"; - } - typedef Fsync-selection-point-type { - type uint8; - description "Fsync selection point type"; - } - - grouping FSYNC-CLOCK-INFO { - description "Clock interface information"; - - container source { - description "The source ID for the clock"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selected-source { - description "Timing source selected for clock output"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level-received { - description "Received quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-damped { - description "Quality level after damping has been applied"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-output { - description "The effective output quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-selected-source { - description - "The quality level of the source driving this - interface"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "Clock state"; - } - leaf down-reason { - type Fsync-bag-optional-string; - description "Why the clock is down"; - } - leaf description { - type string; - description "Clock description"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf ssm-support { - type boolean; - description "The clock supports SSMs"; - } - leaf ssm-enabled { - type boolean; - description "The clock output is squelched"; - } - leaf loopback { - type boolean; - description "The clock is looped back"; - } - leaf selection-input { - type boolean; - description "The clock is an input for selection"; - } - leaf squelched { - type boolean; - description "The clock output is squelched"; - } - leaf damping-state { - type Fsync-bag-damping-state; - description "Damping state"; - } - leaf damping-time { - type uint32; - description "Time until damping state changes in ms"; - } - leaf input-disabled { - type boolean; - description "Timing input is disabled"; - } - leaf output-disabled { - type boolean; - description "Timing output is disabled"; - } - leaf wait-to-restore-time { - type uint16; - description "Wait-to-restore time for the clock"; - } - leaf clock-type { - type Fsync-bag-clock-intf-class; - description "The type of clock"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-ETH-ESMC-STATS { - description "ESMC Statistics"; - leaf esmc-events-sent { - type uint16; - description "Number of event SSMs sent"; - } - leaf esmc-events-received { - type uint16; - description "Number of event SSMs received"; - } - leaf esmc-infos-sent { - type uint32; - description "Number of info SSMs sent"; - } - leaf esmc-infos-received { - type uint32; - description "Number of info SSms received"; - } - leaf esmc-dn-us-sent { - type uint32; - description "Number of SSMs with DNU QL sent"; - } - leaf esmc-dn-us-received { - type uint32; - description "Number of SSMs with DNU QL received"; - } - leaf esmc-malformed-received { - type uint16; - description "Number of malformed packets received"; - } - leaf esmc-received-error { - type uint16; - description - "Number of received packets that failed to be - handled"; - } - } - - grouping FSYNC-BAG-ETH-PEER-INFO { - description "Ethernet peer information"; - - container peer-state-time { - description "Time of last peer state transition"; - uses FSYNC-BAG-TIMESTAMP; - } - - container last-ssm { - description "Time of last SSM received"; - uses FSYNC-BAG-TIMESTAMP; - } - leaf peer-state { - type Fsync-bag-esmc-peer-state; - description "Peer state"; - } - leaf peer-up-count { - type uint16; - description "Number of times the peer has come up"; - } - leaf peer-timeout-count { - type uint16; - description "Number of times the peer has timed out"; - } - } - - grouping FSYNC-IF-INFO { - description "Line interface information"; - - container source { - description "The source ID for the interface"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selected-source { - description "Timing source selected for interface output"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level-received { - description "Received quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-damped { - description "Quality level after damping has been applied"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-effective-output { - description "The effective output quality level"; - uses FSYNC-BAG-QL; - } - - container quality-level-selected-source { - description - "The quality level of the source driving this - interface"; - uses FSYNC-BAG-QL; - } - - container ethernet-peer-information { - description "Ethernet peer information"; - uses FSYNC-BAG-ETH-PEER-INFO; - } - - container esmc-statistics { - description "ESMC Statistics"; - uses FSYNC-BAG-ETH-ESMC-STATS; - } - leaf name { - type string; - description "Interface name"; - } - leaf state { - type Im-state-enum; - description "Interface state"; - } - leaf ssm-enabled { - type boolean; - description "SSM is enabled on the interface"; - } - leaf squelched { - type boolean; - description "The interface output is squelched"; - } - leaf selection-input { - type boolean; - description "The interface is an input for selection"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf damping-state { - type Fsync-bag-damping-state; - description "Damping state"; - } - leaf damping-time { - type uint32; - description "Time until damping state changes in ms"; - } - leaf wait-to-restore-time { - type uint16; - description "Wait-to-restore time for the interface"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-FORWARDTRACE-NODE { - description "Selection forwardtrace node"; - - container selection-point { - when "../node-type = 'forward-trace-node-selection-point'" { - description - "../NodeType = 'ForwardTraceNodeSelectionPoint'"; - } - description "Selection Point"; - uses FSYNC-BAG-SP-ID; - } - - container source { - when "../node-type = 'forward-trace-node-source'" { - description "../NodeType = 'ForwardTraceNodeSource'"; - } - description "Timing Source"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf node-type { - type Fsync-bag-forwardtrace-node; - description "NodeType"; - } - } - - grouping FSYNC-BAG-FORWARDTRACE { - description "Selection forwardtrace"; - - container forward-trace-node { - description - "The source or selection point at this point in - the forwardtrace"; - uses FSYNC-BAG-FORWARDTRACE-NODE; - } - } - - grouping FSYNC-SELECTION-FORWARDTRACE-INFO { - description "Selection forwardtrace information"; - - list forward-trace { - description "Selection ForwardTrace"; - uses FSYNC-BAG-FORWARDTRACE; - } - } - - grouping FSYNC-SELECTION-BACKTRACE-INFO { - description "Selection backtrace information"; - - container selected-source { - description "Source which has been selected for output"; - uses FSYNC-BAG-SOURCE-ID; - } - - list selection-point { - description "List of selection points in the backtrace"; - uses FSYNC-BAG-SP-ID; - } - } - - grouping FSYNC-BAG-SUMMARY-TOD-INFO { - description "Time-of-day summary information"; - - container source { - description - "The source associated with this summary - information"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf node-count { - type uint32; - description - "The number of cards having their time-of-day set - by the source"; - } - } - - grouping FSYNC-BAG-SUMMARY-FREQ-INFO { - description "Frequency summary information"; - - container source { - description - "The source associated with this summary - information"; - uses FSYNC-BAG-SOURCE-ID; - } - leaf clock-count { - type uint32; - description - "The number of clock-interfaces being driven by - the source"; - } - leaf ethernet-count { - type uint32; - description - "The number of Ethernet interfaces being driven - by the source"; - } - leaf sonet-count { - type uint32; - description - "The number of SONET/SDH interfaces being driven - by the source"; - } - } - - grouping FSYNC-SUMMARY-INFO { - description "Frequency Synchronization summary information"; - - list frequency-summary { - description "Summary of sources selected for frequency"; - uses FSYNC-BAG-SUMMARY-FREQ-INFO; - } - - list time-of-day-summary { - description "Summary of sources selected for time-of-day"; - uses FSYNC-BAG-SUMMARY-TOD-INFO; - } - } - - grouping FSYNC-SSM-INFO { - description "SSM summary information"; - leaf ethernet-sources { - type uint32; - description - "Number of ethernet interfaces in synchronous - mode"; - } - leaf ethernet-sources-select { - type uint32; - description - "Number of ethernet interfaces assigned for - selection"; - } - leaf ethernet-sources-enabled { - type uint32; - description "Number of ethernet interfaces with SSM enabled"; - } - leaf sonet-sources { - type uint32; - description "Number of SONET interfaces in synchronous mode"; - } - leaf sonet-sources-select { - type uint32; - description - "Number of SONET interfaces assigned for - selection"; - } - leaf sonet-sources-enabled { - type uint32; - description "Number of SONET interfaces with SSM enabled"; - } - leaf events-sent { - type uint32; - description "Total event SSMs sent"; - } - leaf events-received { - type uint32; - description "Total event SSMs received"; - } - leaf infos-sent { - type uint32; - description "Total information SSMs sent"; - } - leaf infos-received { - type uint32; - description "Total information SSMs received"; - } - leaf dn-us-sent { - type uint32; - description "Total DNU SSMs sent"; - } - leaf dn-us-received { - type uint32; - description "Total DNU SSMs received"; - } - } - - grouping FSYNC-BAG-ERROR { - description "Source QL config error information"; - - container source { - description "Source"; - uses FSYNC-BAG-SOURCE-ID; - } - - container input-min-ql { - description "Configured minimum input QL"; - uses FSYNC-BAG-QL; - } - - container input-exact-ql { - description "Configured exact input QL"; - uses FSYNC-BAG-QL; - } - - container input-max-ql { - description "Configured maximum input QL"; - uses FSYNC-BAG-QL; - } - - container output-min-ql { - description "Configured mininum output QL"; - uses FSYNC-BAG-QL; - } - - container output-exact-ql { - description "Configured exact output QL"; - uses FSYNC-BAG-QL; - } - - container output-max-ql { - description "Configured exact maximum QL"; - uses FSYNC-BAG-QL; - } - leaf enable-error { - type boolean; - description "Frequency Synchronization enable error"; - } - leaf input-min-error { - type boolean; - description "Minimum input QL config error"; - } - leaf input-exact-error { - type boolean; - description "Exact input QL config error"; - } - leaf input-max-error { - type boolean; - description "Maximum input Ql config error"; - } - leaf ouput-min-error { - type boolean; - description "Minimum output QL config error"; - } - leaf output-exact-error { - type boolean; - description "Exact output QL config error"; - } - leaf output-max-error { - type boolean; - description "Maximum output QL config error"; - } - leaf input-output-mismatch { - type boolean; - description "Input/Output mismatch error"; - } - } - - grouping FSYNC-CONFIG-ERRORS-INFO { - description "Configuration error information"; - - list error-source { - description "Configuration errors"; - uses FSYNC-BAG-ERROR; - } - } - - grouping FSYNC-NTP-INFO { - description "Frequency Synchronization NTP information"; - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "NTP state"; - } - leaf supports-frequency { - type boolean; - description "The NTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The NTP clock supports time"; - } - leaf frequency-priority { - type Fsync-pri; - description - "The priority of the NTP clock when selected - between frequency sources"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description - "The priority of the NTP clock when selecting - between time-of-day sources"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-LAST-SP-ID { - description "Last selection point ID"; - - container selection-point { - description "Last selection point"; - uses FSYNC-BAG-SP-ID; - } - leaf output-id { - type Fsync-output-id; - description "Output ID"; - } - } - - grouping FSYNC-BAG-CLOCK-ID { - description "Clock ID"; - leaf node { - type xr:Node-id; - description "Node"; - } - leaf port { - type uint32; - description "Port number"; - } - } - - grouping FSYNC-BAG-SOURCE-ID { - description "Source ID"; - - container clock-id { - when "../source-class = 'clock-interface-source'" { - description "../SourceClass = 'ClockInterfaceSource'"; - } - description "Clock ID"; - uses FSYNC-BAG-CLOCK-ID; - } - leaf source-class { - type Fsync-bag-source-class; - description "SourceClass"; - } - leaf ethernet-interface { - when "../source-class = 'ethernet-interface-source'" { - description "../SourceClass = 'EthernetInterfaceSource'"; - } - type xr:Interface-name; - description "Ethernet interface"; - } - leaf sonet-interface { - when "../source-class = 'sonet-interface-source'" { - description "../SourceClass = 'SONETInterfaceSource'"; - } - type xr:Interface-name; - description "SONET interfaces"; - } - leaf node { - when "../source-class = 'internal-clock-source'" { - description "../SourceClass = 'InternalClockSource'"; - } - type xr:Node-id; - description "Internal Clock Node"; - } - leaf ptp-node { - when "../source-class = 'ptp-source'" { - description "../SourceClass = 'PTPSource'"; - } - type xr:Node-id; - description "PTP Clock Node"; - } - leaf satellite-access-interface { - when "../source-class = 'satellite-access-interface-source'" { - description - "../SourceClass = - 'SatelliteAccessInterfaceSource'"; - } - type xr:Interface-name; - description "Satellite Access Interface"; - } - leaf ntp-node { - when "../source-class = 'ntp-source'" { - description "../SourceClass = 'NTPSource'"; - } - type xr:Node-id; - description "NTP Clock Node"; - } - } - - grouping FSYNC-BAG-STREAM-ID { - description "Stream ID"; - - container source-id { - when "../stream-input = 'source-input'" { - description "../StreamInput = 'SourceInput'"; - } - description "Source ID"; - uses FSYNC-BAG-SOURCE-ID; - } - - container selection-point-id { - when "../stream-input = 'selection-point-input'" { - description "../StreamInput = 'SelectionPointInput'"; - } - description "Selection point ID"; - uses FSYNC-BAG-LAST-SP-ID; - } - leaf stream-input { - type Fsync-bag-stream-input; - description "StreamInput"; - } - } - - grouping FSYNC-BAG-SP-ID { - description "Selection point ID"; - leaf selection-point-type { - type Fsync-selection-point-type; - description "Selection point type"; - } - leaf selection-point-description { - type Fsync-bag-selection-point-desc; - description "Selection point descrption"; - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - - grouping FSYNC-SP-INPUT-INFO { - description "Selection point input information"; - - container input-selection-point { - description "The selection point the input is for"; - uses FSYNC-BAG-SP-ID; - } - - container stream { - description "Stream"; - uses FSYNC-BAG-STREAM-ID; - } - - container original-source { - description "Original source"; - uses FSYNC-BAG-SOURCE-ID; - } - - container quality-level { - description "Quality Level"; - uses FSYNC-BAG-QL; - } - leaf supports-frequency { - type boolean; - description "The selection point input supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The selection point input supports time-of-day"; - } - leaf priority { - type Fsync-pri; - description "Priority"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description "Time-of-day priority"; - } - leaf selected { - type boolean; - description "The selection point input is selected"; - } - leaf output-id-xr { - type Fsync-output-id; - description "Platform output ID, if the input is selected"; - } - leaf platform-status { - type Fsync-bag-stream-state; - description "Platform status"; - } - leaf platform-failed-reason { - type Fsync-bag-optional-string; - description "Why the stream has failed"; - } - } - - grouping FSYNC-BAG-QL { - description "Quality level"; - leaf quality-level-option { - type Fsync-bag-ql-option; - description "QualityLevelOption"; - } - leaf option1-value { - when "../quality-level-option = 'option1'" { - description "../QualityLevelOption = 'Option1'"; - } - type Fsync-bag-ql-o1-value; - description "ITU-T Option 1 QL value"; - } - leaf option2-generation1-value { - when "../quality-level-option = 'option2-generation1'" { - description "../QualityLevelOption = 'Option2Generation1'"; - } - type Fsync-bag-ql-o2-g1-value; - description "ITU-T Option 2, generation 1 value"; - } - leaf option2-generation2-value { - when "../quality-level-option = 'option2-generation2'" { - description "../QualityLevelOption = 'Option2Generation2'"; - } - type Fsync-bag-ql-o2-g2-value; - description "ITU-T Option 2, generation 2 value"; - } - } - - grouping FSYNC-PTP-INFO { - description "Frequency Synchronization PTP information"; - - container quality-level-effective-input { - description "The effective input quality level"; - uses FSYNC-BAG-QL; - } - leaf state { - type Fsync-bag-source-state; - description "PTP state"; - } - leaf supports-frequency { - type boolean; - description "The PTP clock supports frequency"; - } - leaf supports-time-of-day { - type boolean; - description "The PTP clock supports time"; - } - leaf frequency-priority { - type Fsync-pri; - description - "The priority of the PTP clock when selected - between frequency sources"; - } - leaf time-of-day-priority { - type Fsync-time-pri; - description - "The priority of the PTP clock when selecting - between time-of-day sources"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "Spa selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Spa selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - } - - grouping FSYNC-BAG-TIMESTAMP { - description "Timestamp"; - leaf seconds { - type uint32; - units "second"; - description "Seconds"; - } - leaf nanoseconds { - type uint32; - units "nanosecond"; - description "Nanoseconds"; - } - } - - grouping FSYNC-BAG-SP-OUTPUT-DEF { - description - "Output information for a selection point or - interface"; - leaf local-clock-ouput { - type boolean; - description "Used for local clock output"; - } - leaf local-line-output { - type boolean; - description "Used for local line interface output"; - } - leaf local-time-of-day-output { - type boolean; - description "Used for local time-of-day output"; - } - leaf-list spa-selection-point { - type Fsync-selection-point-type; - description "SPA selection points"; - } - leaf-list spa-selection-points-description { - type Fsync-bag-selection-point-desc; - description "SPA selection points descrption"; - } - leaf-list node-selection-point { - type Fsync-selection-point-type; - description "Node selection points"; - } - leaf-list node-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Node selection points descrption"; - } - leaf-list chassis-selection-point { - type Fsync-selection-point-type; - description "Chassis selection points"; - } - leaf-list chassis-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Chassis selection points descrption"; - } - leaf-list router-selection-point { - type Fsync-selection-point-type; - description "Router selection points"; - } - leaf-list router-selection-points-description { - type Fsync-bag-selection-point-desc; - description "Router selection points descrption"; - } - } - - grouping FSYNC-SP-INFO { - description "Selection point information"; - - container output { - description - "Information about the output of the selection - point"; - uses FSYNC-BAG-SP-OUTPUT-DEF; - } - - container last-programmed { - description "Time the SP was last programmed"; - uses FSYNC-BAG-TIMESTAMP; - } - - container last-selection { - description "Time the last selection was made"; - uses FSYNC-BAG-TIMESTAMP; - } - leaf selection-point-type { - type Fsync-selection-point-type; - description "Selection Point Type"; - } - leaf description { - type string; - description "Description"; - } - leaf inputs { - type uint32; - description "Number of inputs"; - } - leaf inputs-selected { - type uint32; - description "Number of inputs that are selected"; - } - leaf time-of-day-selection { - type boolean; - description - "The selection point is a time-of-day selection - point"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper.yang deleted file mode 100644 index 857a512..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs4k-freqsync-oper.yang +++ /dev/null @@ -1,334 +0,0 @@ -module Cisco-IOS-XR-ncs4k-freqsync-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs4k-freqsync-oper"; - - - prefix "ncs4k-freqsync-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-freqsync-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ncs4k-freqsync-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs4k-freqsync package operational data. - - This module contains definitions - for the following management objects: - frequency-synchronization: Frequency Synchronization - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fsync-stream { - type enumeration { - enum local { - value 1; - description "Stream input from a local source"; - } - enum selection-point { - value 2; - description - "Stream input from a selection point on a remote - node"; - } - } - description "Fsync stream"; - } - typedef Fsync-source { - type enumeration { - enum ethernet { - value 1; - description "An ethernet interface"; - } - enum sonet { - value 2; - description "A SONET interface"; - } - enum clock { - value 3; - description "A clock interface"; - } - enum internal { - value 4; - description "An internal clock"; - } - enum ptp { - value 5; - description "A PTP clock"; - } - enum satellite-access { - value 6; - description "A satellite access interface clock"; - } - enum ntp { - value 7; - description "An NTP clock"; - } - } - description "Fsync source"; - } - - container frequency-synchronization { - config false; - description "Frequency Synchronization operational data"; - - container nodes { - description "Table for node-specific operational data"; - - list node { - key "node"; - description "Node-specific data for a particular node"; - - container selection-points { - description "Selection point table"; - - list selection-point { - key "selection-point"; - description - "Operational data for a given selection point"; - leaf selection-point { - type int32; - description "Selection point ID"; - } - uses FSYNC-SP-INFO; - } - } - - container ptp { - description "PTP operational data"; - uses FSYNC-PTP-INFO; - } - - container selection-point-inputs { - description - "Table for selection point input operational - data"; - - list selection-point-input { - description - "Operational data for a particular selection - point input"; - leaf selection-point { - type int32; - description "Selection point ID"; - } - leaf stream-type { - type Fsync-stream; - description "Type of stream"; - } - leaf source-type { - type Fsync-source; - description "Type of source"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf clock-port { - type int32; - description "Clock port"; - } - leaf last-node { - type xr:Node-id; - description "Last node for a selection point stream"; - } - leaf last-selection-point { - type int32; - description - "Last selection point for a selection point - stream"; - } - leaf output-id { - type int32; - description "Output ID for a selection point stream"; - } - uses FSYNC-SP-INPUT-INFO; - } - } - - container ntp { - description "NTP operational data"; - uses FSYNC-NTP-INFO; - } - - container configuration-errors { - description "Configuration error operational data"; - uses FSYNC-CONFIG-ERRORS-INFO; - } - - container ssm-summary { - description "SSM operational data"; - uses FSYNC-SSM-INFO; - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - - container summary { - description "Summary operational data"; - uses FSYNC-SUMMARY-INFO; - } - - container global-nodes { - description "Table for global node-specific operational data"; - - list global-node { - key "node"; - description - "Global node-specific data for a particular node"; - - container time-of-day-back-trace { - description - "Selection backtrace operational data for - time-of-day on a particular node"; - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - - container ntp-selection-forward-trace { - description - "Selection forwardtrace operational data for a - NTP clock"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - - container ptp-selection-forward-trace { - description - "Selection forwardtrace operational data for a - PTP clock"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - - container interfaces { - description "Table for interface operational data"; - - list interface { - key "interface-name"; - description "Operational data for a particular interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses FSYNC-IF-INFO; - } - } - - container clock-interface-selection-forward-traces { - description - "Selection forwardtrace operational data for - clock-interfaces"; - - list clock-interface-selection-forward-trace { - key "clock-name"; - description - "Selection forwardtrace operational data for a - particular clock-interface"; - leaf clock-name { - type xr:Cisco-ios-xr-string; - description "Clock Name"; - } - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - } - - container clock-interface-selection-back-traces { - description - "Selection backtrace operational data for - clock-interfaces"; - - list clock-interface-selection-back-trace { - key "clock-name"; - description - "Selection backtrace operational data for a - particular clock-interface"; - leaf clock-name { - type xr:Cisco-ios-xr-string; - description "Clock Name"; - } - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - } - - container global-interfaces { - description "Table for global interface operational data"; - - list global-interface { - key "interface-name"; - description - "Global interface information for a particular - interface"; - - container interface-selection-back-trace { - description - "Selection backtrace operational data for a - particular interface"; - uses FSYNC-SELECTION-BACKTRACE-INFO; - } - - container interface-selection-forward-trace { - description - "Selection forwardtrace operational data for a - particular interface"; - uses FSYNC-SELECTION-FORWARDTRACE-INFO; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - - container clocks { - description "Table for clock operational data"; - - list clock { - key "clock-name"; - description "Operational data for a particular clock"; - leaf clock-name { - type xr:Cisco-ios-xr-string; - description "Clock Name"; - } - uses FSYNC-CLOCK-INFO; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang deleted file mode 100644 index f5eab9b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang +++ /dev/null @@ -1,742 +0,0 @@ -submodule Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs5500-coherent-node-oper { - prefix Cisco-IOS-XR-ncs5500-coherent-node-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-coherent-node package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PORTMODE-INFO { - description "portmode entry of optics controller"; - leaf intf-name { - type string { - length "0..128"; - } - description "intf name"; - } - leaf speed { - type string { - length "0..128"; - } - description "speed"; - } - leaf fec { - type string { - length "0..128"; - } - description "fec"; - } - leaf diff { - type string { - length "0..128"; - } - description "diff"; - } - leaf modulation { - type string { - length "0..128"; - } - description "modulation"; - } - } - - grouping COH-PORTMODE-ALL-DETAILS { - description "Optics controllers port Information"; - leaf idx { - type uint32; - description "dev map idx"; - } - - list portmode-entry { - description "portmode entry"; - uses PORTMODE-INFO; - } - } - - grouping COH-ETH-INTERFACE-DATA { - description "Hundredgig interface data"; - leaf ifname { - type string { - length "0..64"; - } - description "ifname"; - } - leaf intf-handle { - type string { - length "0..128"; - } - description "intf handle"; - } - leaf admin-state { - type string { - length "0..128"; - } - description "admin state"; - } - leaf admin-up { - type boolean; - description "admin up"; - } - leaf is-created { - type boolean; - description "is created"; - } - } - - grouping COH-ETH-INTERFACE-INFO { - description "Hundredgig interface info"; - - list eth-data { - description "eth data"; - uses COH-ETH-INTERFACE-DATA; - } - } - - grouping COH-PLUGGABLE-INFO { - description "Coherent pluggable information"; - leaf deviation { - type string { - length "0..16"; - } - description "deviation"; - } - leaf part-number { - type string { - length "0..16"; - } - description "part number"; - } - leaf serial-number { - type string { - length "0..16"; - } - description "serial number"; - } - leaf date-code-number { - type string { - length "0..10"; - } - description "date code number"; - } - leaf clei-code-number { - type string { - length "0..10"; - } - description "CLEI code number"; - } - leaf vendorname { - type string { - length "0..16"; - } - description "vendorname"; - } - leaf description { - type string { - length "0..64"; - } - description "description"; - } - leaf pid { - type string { - length "0..16"; - } - description "pid"; - } - leaf vid { - type string { - length "0..16"; - } - description "vid"; - } - leaf module-hardware-version-number { - type uint16; - description "module hardware version number"; - } - leaf module-firmware-running-version-number { - type uint16; - description "module firmware running version number"; - } - leaf module-firmware-committed-version-number { - type uint16; - description "module firmware committed version number"; - } - leaf ctp-type { - type uint32; - description "ctp type"; - } - } - - grouping COH-PORT-DATA { - description "Coherent front panel port data"; - - container ctp-info { - description "ctp info"; - uses COH-PLUGGABLE-INFO; - } - - container interface-info { - description "interface info"; - uses COH-ETH-INTERFACE-INFO; - } - leaf optics-ctrl-created { - type boolean; - description "optics ctrl created"; - } - leaf dsp-ctrl-created { - type boolean; - description "dsp ctrl created"; - } - leaf has-pluggable { - type boolean; - description "has pluggable"; - } - leaf optics-admin-up { - type boolean; - description "optics admin up"; - } - leaf dsp-admin-up { - type boolean; - description "dsp admin up"; - } - leaf laser-state { - type boolean; - description "laser state"; - } - leaf laser-on-pending { - type boolean; - description "laser on pending"; - } - leaf provisioning-needed { - type boolean; - description "provisioning needed"; - } - leaf force-reprovision { - type boolean; - description "force reprovision"; - } - leaf fp-port-idx { - type uint32; - description "fp port idx"; - } - leaf configured-frequency { - type uint32; - description "configured frequency"; - } - leaf provisioned-frequency { - type uint32; - description "provisioned frequency"; - } - leaf configured-tx-power { - type string { - length "0..128"; - } - description "configured tx power"; - } - leaf provisioned-tx-power { - type string { - length "0..128"; - } - description "provisioned tx power"; - } - leaf configured-cd-min { - type string { - length "0..128"; - } - description "configured cd min"; - } - leaf provisioned-cd-min { - type string { - length "0..128"; - } - description "provisioned cd min"; - } - leaf configured-cd-max { - type string { - length "0..128"; - } - description "configured cd max"; - } - leaf provisioned-cd-max { - type string { - length "0..128"; - } - description "provisioned cd max"; - } - leaf configured-traffic-type { - type string { - length "0..128"; - } - description "configured traffic type"; - } - leaf provisioned-traffic-type { - type string { - length "0..128"; - } - description "provisioned traffic type"; - } - leaf configured-loopback-mode { - type string { - length "0..128"; - } - description "configured loopback mode"; - } - leaf provisioned-loopback-mode { - type string { - length "0..128"; - } - description "provisioned loopback mode"; - } - leaf expected-ctp2-led-state { - type string { - length "0..128"; - } - description "expected ctp2 led state"; - } - leaf provisioned-ctp2-led-state { - type string { - length "0..128"; - } - description "provisioned ctp2 led state"; - } - leaf led-op-rc { - type int32; - description "led op rc"; - } - leaf laser-op-rc { - type int32; - description "laser op rc"; - } - leaf wlen-op-rc { - type int32; - description "wlen op rc"; - } - leaf traffic-op-rc { - type int32; - description "traffic op rc"; - } - leaf loopback-op-rc { - type int32; - description "loopback op rc"; - } - leaf tx-power-op-rc { - type int32; - description "tx power op rc"; - } - leaf cd-min-op-rc { - type int32; - description "cd min op rc"; - } - leaf cd-max-op-rc { - type int32; - description "cd max op rc"; - } - leaf provisioning-failed { - type boolean; - description "provisioning failed"; - } - leaf ctp2-hw-alarms { - type string { - length "0..128"; - } - description "ctp2 hw alarms"; - } - leaf denali-hw-alarms { - type string { - length "0..256"; - } - description "denali hw alarms"; - } - leaf is-pm-port-created-opt { - type boolean; - description "is pm port created opt"; - } - leaf rc-pm-port-opt { - type int32; - description "rc pm port opt"; - } - leaf pm-port-state-opt { - type int32; - description "pm port state opt"; - } - leaf rc-pm-provision-opt { - type int32; - description "rc pm provision opt"; - } - leaf is-alarm-port-created-opt { - type boolean; - description "is alarm port created opt"; - } - leaf rc-alarm-port-opt { - type int32; - description "rc alarm port opt"; - } - leaf is-pm-port-created-dsp { - type boolean; - description "is pm port created dsp"; - } - leaf rc-pm-port-dsp { - type int32; - description "rc pm port dsp"; - } - leaf pm-port-state-dsp { - type int32; - description "pm port state dsp"; - } - leaf rc-pm-provision-dsp { - type int32; - description "rc pm provision dsp"; - } - leaf is-alarm-port-created-dsp { - type boolean; - description "is alarm port created dsp"; - } - leaf rc-alarm-port-dsp { - type int32; - description "rc alarm port dsp"; - } - } - - grouping COH-HEALTH-DATA { - description "Coherent health Data"; - leaf im-state { - type boolean; - description "im state"; - } - leaf aipc-srvr-state { - type boolean; - description "aipc srvr state"; - } - leaf sysdb-state { - type boolean; - description "sysdb state"; - } - leaf pm-state { - type boolean; - description "pm state"; - } - leaf optics-ea-conn { - type boolean; - description "optics ea conn"; - } - leaf dsp-ea-conn { - type boolean; - description "dsp ea conn"; - } - leaf vether-state { - type boolean; - description "vether state"; - } - leaf morgoth-alive { - type boolean; - description "morgoth alive"; - } - leaf prov-infra-state { - type boolean; - description "prov infra state"; - } - leaf sdk-fpga-compatible { - type boolean; - description "sdk fpga compatible"; - } - leaf pending-provision { - type boolean; - description "pending provision"; - } - leaf pulse-sent { - type boolean; - description "pulse sent"; - } - leaf inside-prov-loop { - type boolean; - description "inside prov loop"; - } - leaf fpd-in-progress { - type boolean; - description "fpd in progress"; - } - leaf prov-run-count { - type uint32; - description "prov run count"; - } - leaf sdk-version { - type string { - length "0..255"; - } - description "sdk version"; - } - leaf morgoth-running-version { - type string { - length "0..255"; - } - description "morgoth running version"; - } - leaf morgoth-downloaded-version { - type string { - length "0..255"; - } - description "morgoth downloaded version"; - } - leaf morgoth-golden-version { - type string { - length "0..255"; - } - description "morgoth golden version"; - } - leaf denali0-version { - type string { - length "0..255"; - } - description "denali0 version"; - } - leaf denali1-version { - type string { - length "0..255"; - } - description "denali1 version"; - } - leaf denali2-version { - type string { - length "0..255"; - } - description "denali2 version"; - } - leaf board-type { - type string { - length "0..255"; - } - description "board type"; - } - leaf jlink-op { - type string { - length "0..6144"; - } - description "jlink op"; - } - - list port-data { - description "port data"; - uses COH-PORT-DATA; - } - } - - grouping COH-DEV-MAP-ENTRY { - description "coherent device mapping entry"; - leaf device-address { - type string { - length "0..128"; - } - description "device address"; - } - leaf ifhandle { - type string { - length "0..128"; - } - description "ifhandle"; - } - leaf intf-name { - type string { - length "0..64"; - } - description "intf name"; - } - } - - grouping COH-DEV-MAP-DATA { - description "Coherent device mapping Information"; - leaf idx { - type uint32; - description "idx"; - } - - list dev-map { - description "dev map"; - uses COH-DEV-MAP-ENTRY; - } - } - - grouping COH-PORT-OP-STATS { - description "Port specific op stats"; - - container laser-on-stats { - description "laser on stats"; - uses COH-OP-TIME-STATS; - } - - container laser-off-stats { - description "laser off stats"; - uses COH-OP-TIME-STATS; - } - - container wl-op-stats { - description "wl op stats"; - uses COH-OP-TIME-STATS; - } - - container txpwr-op-stats { - description "txpwr op stats"; - uses COH-OP-TIME-STATS; - } - - container cdmin-op-stats { - description "cdmin op stats"; - uses COH-OP-TIME-STATS; - } - - container cdmax-op-stats { - description "cdmax op stats"; - uses COH-OP-TIME-STATS; - } - - container traffictype-op-stats { - description "traffictype op stats"; - uses COH-OP-TIME-STATS; - } - leaf laser-state { - type boolean; - description "laser state"; - } - leaf provisioned-frequency { - type uint32; - description "provisioned frequency"; - } - leaf tx-power { - type uint32; - description "tx power"; - } - leaf cd-min { - type uint32; - description "cd min"; - } - leaf cd-max { - type uint32; - description "cd max"; - } - leaf traffic-type { - type string { - length "0..128"; - } - description "traffic type"; - } - } - - grouping COH-OP-TIME-STATS { - description "Coherent operation stats"; - leaf start { - type string { - length "0..255"; - } - description "start"; - } - leaf end { - type string { - length "0..255"; - } - description "end"; - } - leaf time-taken { - type string { - length "0..255"; - } - description "time taken"; - } - leaf worst-time { - type string { - length "0..255"; - } - description "worst time"; - } - } - - grouping COH-TIME-STATS { - description "Coherent driver time stats"; - - container opts-ea-bulk-create { - description "opts ea bulk create"; - uses COH-OP-TIME-STATS; - } - - container opts-ea-bulk-update { - description "opts ea bulk update"; - uses COH-OP-TIME-STATS; - } - - container dsp-ea-bulk-create { - description "dsp ea bulk create"; - uses COH-OP-TIME-STATS; - } - - container dsp-ea-bulk-update { - description "dsp ea bulk update"; - uses COH-OP-TIME-STATS; - } - leaf driver-init { - type string { - length "0..255"; - } - description "driver init"; - } - leaf driver-operational { - type string { - length "0..255"; - } - description "driver operational"; - } - leaf device-created { - type string { - length "0..255"; - } - description "device created"; - } - leaf optics-controllers-created { - type string { - length "0..255"; - } - description "optics controllers created"; - } - leaf dsp-controllers-created { - type string { - length "0..255"; - } - description "dsp controllers created"; - } - leaf eth-intf-created { - type string { - length "0..255"; - } - description "eth intf created"; - } - - list port-stat { - description "port stat"; - uses COH-PORT-OP-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang deleted file mode 100644 index 9928b04..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-ncs5500-coherent-node-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs5500-coherent-node-oper"; - - - prefix "ncs5500-coherent-node-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-coherent-node package operational data. - - This module contains definitions - for the following management objects: - coherent: Coherent node operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container coherent { - config false; - description "Coherent node operational data"; - - container nodes { - description "Coherent list of nodes"; - - list node { - key "node-name"; - description - "Coherent discovery operational data for a - particular node"; - - container coherent-time-stats { - description "Coherent driver performace information"; - uses COH-TIME-STATS; - } - - container devicemapping { - description "Coherent node data for device _mapping"; - uses COH-DEV-MAP-DATA; - } - - container coherenthealth { - description "Coherent node data for driver health"; - uses COH-HEALTH-DATA; - } - - container port-mode-all-info { - description "PortMode all operational data"; - uses COH-PORTMODE-ALL-DETAILS; - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang deleted file mode 100644 index 3db41ae..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang +++ /dev/null @@ -1,111 +0,0 @@ -module Cisco-IOS-XR-ncs5500-coherent-portmode-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg"; - - - prefix "ncs5500-coherent-portmode-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-coherent-portmode package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Diff-sel { - type enumeration { - enum disable { - value 0; - description "disable differential"; - } - enum enable { - value 1; - description "enable differential"; - } - } - description "Diff sel"; - } - typedef Fec-sel { - type enumeration { - enum 15percent { - value 0; - description "FEC 15"; - } - enum 25percent { - value 1; - description "FEC 25"; - } - } - description "Fec sel"; - } - typedef Speed-sel { - type enumeration { - enum 100g { - value 100000000; - description "Speed 100"; - } - enum 150g { - value 150000000; - description "Speed 150"; - } - enum 200g { - value 200000000; - description "Speed 200"; - } - } - description "Speed sel"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container portmode { - description "Configure through port-mode"; - leaf speed-sel { - type Speed-sel; - description "Select speed"; - } - leaf fec-sel { - type Fec-sel; - description "Select Fec"; - } - leaf diff-sel { - type Diff-sel; - description "Select Diff"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang deleted file mode 100644 index b8fd1a1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang +++ /dev/null @@ -1,70 +0,0 @@ -submodule Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs5500-coherent-portmode-oper { - prefix Cisco-IOS-XR-ncs5500-coherent-portmode-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-coherent-portmode package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PORTMODE-INFO { - description "portmode entry of optics controller"; - leaf intf-name { - type string { - length "0..128"; - } - description "intf name"; - } - leaf speed { - type string { - length "0..128"; - } - description "speed"; - } - leaf fec { - type string { - length "0..128"; - } - description "fec"; - } - leaf diff { - type string { - length "0..128"; - } - description "diff"; - } - leaf modulation { - type string { - length "0..128"; - } - description "modulation"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang deleted file mode 100644 index 4d7e4e1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-ncs5500-coherent-portmode-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs5500-coherent-portmode-oper"; - - - prefix "ncs5500-coherent-portmode-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-coherent-portmode package operational data. - - This module contains definitions - for the following management objects: - controller-port-mode: Coherent PortMode operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container controller-port-mode { - config false; - description "Coherent PortMode operational data"; - - list optics-name { - key "interface-name"; - description "Name of optics controller"; - - container port-mode-info { - description "PortMode operational data"; - uses PORTMODE-INFO; - } - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang deleted file mode 100644 index 9b355d5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang +++ /dev/null @@ -1,123 +0,0 @@ -submodule Cisco-IOS-XR-ncs5500-qos-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs5500-qos-oper { - prefix Cisco-IOS-XR-ncs5500-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping WRED-PROFILE { - description "WRED PROFILE"; - leaf min-threshold { - type uint32; - description "Minimum Threshold"; - } - leaf max-threshold { - type uint32; - description "Maximum Threshold"; - } - leaf drop-probability { - type uint32; - description "Drop Probability"; - } - } - - grouping REMOTE-CLASS { - description "REMOTE CLASS"; - leaf class-name { - type string { - length "0..64"; - } - description "Class Name"; - } - leaf class-id { - type uint32; - description "Class ID"; - } - leaf cos-q { - type uint32; - description "Class of Service Queue"; - } - leaf queue-limit { - type uint32; - units "byte"; - description "Default/Configured queue limit in bytes"; - } - leaf hardware-queue-limit { - type uint32; - units "byte"; - description "Hardware queue limit in bytes"; - } - - list wred { - max-elements "4"; - description "Default/Configured WRED profiles"; - uses WRED-PROFILE; - } - - list hw-wred { - max-elements "4"; - description "Hardware WRED profiles"; - uses WRED-PROFILE; - } - } - - grouping DNX-QOSEA-SHOW-REMOTE-IF-INFO-ST { - description "Remote Interface Info"; - leaf policy-name { - type string { - length "0..64"; - } - description "Policy Name"; - } - leaf virtual-output-queue-statistics-handle { - type uint64; - description "Virtual output queue statistics handle"; - } - leaf interface-handle { - type uint32; - description "Interface Handle"; - } - leaf number-of-virtual-output-queues { - type uint32; - description "Number of Virtual Output Queues"; - } - leaf number-of-classes { - type uint32; - description "Number of Classes"; - } - - list remote-class { - description "Remote Class array"; - uses REMOTE-CLASS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang deleted file mode 100644 index a9a2982..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang +++ /dev/null @@ -1,618 +0,0 @@ -submodule Cisco-IOS-XR-ncs5500-qos-oper-sub2 { - - belongs-to Cisco-IOS-XR-ncs5500-qos-oper { - prefix Cisco-IOS-XR-ncs5500-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Dnx-qosea-show-wred { - type enumeration { - enum wred-cos { - description "WRED based on COS"; - } - enum wred-dscp { - description "WRED based on DSCP"; - } - enum wred-precedence { - description "WRED based on Precedence"; - } - enum wred-discard-class { - description "WRED based on discard class"; - } - enum wred-mpls-exp { - description "WRED based on MPLS EXP"; - } - enum red-with-user-min-max { - description "RED with user defined min and max"; - } - enum red-with-default-min-max { - description "RED with default min and max"; - } - enum wred-invalid { - description "Invalid"; - } - } - description "WRED type"; - } - typedef Dnx-qosea-show-action { - type enumeration { - enum action-none { - description "None"; - } - enum action-transmit { - description "Transmit"; - } - enum action-drop { - description "Drop"; - } - enum action-mark { - description "Mark"; - } - } - description "Policer action type"; - } - typedef Policy-param-unit { - type enumeration { - enum policy-param-unit-invalid { - description "policy param unit invalid"; - } - enum policy-param-unit-bytes { - description "policy param unit bytes"; - } - enum policy-param-unit-kbytes { - description "policy param unit kbytes"; - } - enum policy-param-unit-mbytes { - description "policy param unit mbytes"; - } - enum policy-param-unit-gbytes { - description "policy param unit gbytes"; - } - enum policy-param-unit-bitsps { - description "policy param unit bitsps"; - } - enum policy-param-unit-kbitsps { - description "policy param unit kbitsps"; - } - enum policy-param-unit-mbitsps { - description "policy param unit mbitsps"; - } - enum policy-param-unit-gbitsps { - description "policy param unit gbitsps"; - } - enum policy-param-unit-cells-ps { - description "policy param unit cells ps"; - } - enum policy-param-unit-packets-ps { - description "policy param unit packets ps"; - } - enum policy-param-unit-us { - description "policy param unit us"; - } - enum policy-param-unit-ms { - description "policy param unit ms"; - } - enum policy-param-unit-seconds { - description "policy param unit seconds"; - } - enum policy-param-unit-packets { - description "policy param unit packets"; - } - enum policy-param-unit-cells { - description "policy param unit cells"; - } - enum policy-param-unit-percent { - description "policy param unit percent"; - } - enum policy-param-unit-per-thousand { - description "policy param unit per thousand"; - } - enum policy-param-unit-per-million { - description "policy param unit per million"; - } - enum policy-param-unit-hz { - description "policy param unit hz"; - } - enum policy-param-unit-khz { - description "policy param unit khz"; - } - enum policy-param-unit-mhz { - description "policy param unit mhz"; - } - enum policy-param-unit-ratio { - description "policy param unit ratio"; - } - enum policy-param-unit-max { - description "policy param unit max"; - } - } - description "Policy param unit"; - } - typedef Dnx-qosea-show-hp-level { - type enumeration { - enum high-priority-level1 { - description "High priority queue level 1"; - } - enum high-priority-level2 { - description "High priority queue level 2"; - } - enum high-priority-level3 { - description "High priority queue level 3"; - } - enum high-priority-level4 { - description "High priority queue level 4"; - } - enum high-priority-level5 { - description "High priority queue level 5"; - } - enum high-priority-level6 { - description "High priority queue level 6"; - } - enum high-priority-level7 { - description "High priority queue level 7"; - } - enum unknown { - description "Unknown"; - } - } - description "Priority level"; - } - typedef Dnx-qosea-show-queue { - type enumeration { - enum low-priority-default-queue { - description "Low priority default queue"; - } - enum low-priority-queue { - description "Low priority queue"; - } - enum high-priority-queue { - description "High priority queue"; - } - enum unknown-queue-type { - description "Queue priority unknown"; - } - } - description "Priority Queue Type"; - } - typedef Dnx-qosea-show-mark { - type enumeration { - enum mark-none { - description "None"; - } - enum dscp { - description "DSCP"; - } - enum precedence { - description "Precedence"; - } - enum mpls-topmost { - description "MPLS topmost"; - } - enum mpls-imposition { - description "MPLS imposition"; - } - enum qos-group { - description "Qos group"; - } - enum discard-class { - description "Discard class"; - } - enum cos { - description "COS"; - } - enum inner-cos { - description "Inner COS"; - } - enum un-supported9 { - description "Unsupported type 9"; - } - enum un-supported10 { - description "Unsupported type 10"; - } - enum dscp-tunnel { - description "DSCP tunnel"; - } - enum precedence-tunnel { - description "Precedence tunnel"; - } - enum dei { - description "DEI"; - } - enum dei-imposition { - description "DEI Imposition"; - } - } - description "Mark type"; - } - typedef Dnx-qosea-show-level { - type enumeration { - enum level1 { - value 0; - description "QoS level1 class"; - } - enum level2 { - value 1; - description "QoS level2 class"; - } - enum level3 { - value 2; - description "QoS level3 class"; - } - enum level4 { - value 3; - description "QoS level4 class"; - } - enum level5 { - value 4; - description "QoS level5 class"; - } - } - description "Level type"; - } - typedef Dnx-qosea-show-intf-status { - type enumeration { - enum state-unknown { - description "State is unknown"; - } - enum state-down { - description "State is Down"; - } - } - description "Intf Status"; - } - typedef Dnx-qosea-show-policy-status { - type enumeration { - enum no-error { - description "No errors"; - } - enum policy-in-reset { - description "QoS policy is reset"; - } - } - description "Status"; - } - typedef Qos-policy-account-enum { - type enumeration { - enum qos-serv-policy-no-ac-count-pref { - description "qos serv policy no ac count pref"; - } - enum qos-serv-policy-ac-count-l2 { - description "qos serv policy ac count l2"; - } - enum qos-serv-policy-no-ac-count-l2 { - description "qos serv policy no ac count l2"; - } - enum qos-serv-policy-ac-count-user-def { - description "qos serv policy ac count user def"; - } - enum qos-serv-policy-ac-count-l1 { - description "qos serv policy ac count l1"; - } - } - description "Qos policy account enum"; - } - - grouping QOS-RANGE { - description "QOS RANGE"; - leaf range-start { - type uint8; - description "Start value of a range"; - } - leaf range-end { - type uint8; - description "End value of a range"; - } - } - - grouping DNX-QOSEA-SHOW-RED-MATCH-VALUES { - description "DNX QOSEA SHOW RED MATCH VALUES"; - - list dnx-qosea-show-red-match-value { - description "dnx qosea show red match value"; - uses QOS-RANGE; - } - } - - grouping PARAMETERS { - description "WRED parameters"; - - container wred-match-value { - description "WRED match values"; - uses DNX-QOSEA-SHOW-RED-MATCH-VALUES; - } - - container config-min-threshold { - description "Configured minimum threshold"; - uses POLICY-PARAMETER; - } - - container config-max-threshold { - description "Configured maximum threshold"; - uses POLICY-PARAMETER; - } - leaf wred-match-type { - type Dnx-qosea-show-wred; - description "WREDMatchType"; - } - leaf hardware-min-threshold-bytes { - type uint32; - description "Hardware minimum threshold"; - } - leaf hardware-max-threshold-bytes { - type uint32; - description "Hardware maximum threshold"; - } - leaf first-segment { - type uint16; - description "First segment"; - } - leaf segment-size { - type uint32; - description "Segment size"; - } - } - - grouping POLICER-ACTION { - description "POLICER ACTION"; - leaf action-type { - type Dnx-qosea-show-action; - description "Policer action type"; - } - - list mark { - description "Action mark"; - uses QOS-MARK; - } - } - - grouping POLICY-PARAMETER { - description "Policy parameter"; - leaf policy-value { - type uint32; - description "Policy value"; - } - leaf policy-unit { - type Policy-param-unit; - description "Policy unit"; - } - } - - grouping QOS-MARK { - description "QoS mark"; - leaf mark-type { - type Dnx-qosea-show-mark; - description "Mark type"; - } - leaf mark-value { - type uint16; - description "Mark value"; - } - } - - grouping DNX-QOSEA-SHOW-CLASS-ST { - description "QoS policy"; - - container config-max-rate { - description "Configured maximum rate"; - uses POLICY-PARAMETER; - } - - container config-min-rate { - description "Configured minimum rate"; - uses POLICY-PARAMETER; - } - - container config-queue-limit { - description "Configured queue limit"; - uses POLICY-PARAMETER; - } - - container config-policer-average-rate { - description "Configured policer average rate"; - uses POLICY-PARAMETER; - } - - container config-policer-peak-rate { - description "Config policer peak rate"; - uses POLICY-PARAMETER; - } - - container config-policer-conform-burst { - description "Configured policer conform burst"; - uses POLICY-PARAMETER; - } - - container config-policer-excess-burst { - description "Configured policer excess burst"; - uses POLICY-PARAMETER; - } - - container conform-action { - description "Conform action"; - uses POLICER-ACTION; - } - - container exceed-action { - description "Exceed action"; - uses POLICER-ACTION; - } - - container violate-action { - description "Violate action"; - uses POLICER-ACTION; - } - leaf class-level { - type Dnx-qosea-show-level; - description "Class level"; - } - leaf egress-queue-id { - type int32; - description "Egress Queue ID"; - } - leaf queue-type { - type Dnx-qosea-show-queue; - description "Queue type"; - } - leaf priority-level { - type Dnx-qosea-show-hp-level; - description "Priority level"; - } - leaf hardware-max-rate-kbps { - type uint32; - units "kbit/s"; - description "Hardware maximum rate in kbps"; - } - leaf hardware-min-rate-kbps { - type uint32; - units "kbit/s"; - description "Hardware minimum rate in kbps"; - } - leaf config-excess-bandwidth-percent { - type uint32; - units "percentage"; - description "Configured excess bandwidth percentage"; - } - leaf config-excess-bandwidth-unit { - type uint32; - description "Configured excess bandwidth unit"; - } - leaf hardware-excess-bandwidth-weight { - type uint32; - description "Hardware excess bandwidth weight"; - } - leaf network-min-bandwidth-kbps { - type uint32; - description "Network minimum Bandwith"; - } - leaf hardware-queue-limit-bytes { - type uint64; - units "byte"; - description "Hardware queue limit in bytes"; - } - leaf hardware-queue-limit-microseconds { - type uint64; - units "microsecond"; - description "Hardware queue limit in microseconds"; - } - leaf policer-bucket-id { - type uint32; - description "PolicerBucketID"; - } - leaf policer-stats-handle { - type uint64; - description "PolicerStatsHandle"; - } - leaf hardware-policer-average-rate-kbps { - type uint32; - units "kbit/s"; - description "Hardware policer average in kbps"; - } - leaf hardware-policer-peak-rate-kbps { - type uint32; - description "Hardware policer peak rate"; - } - leaf hardware-policer-conform-burst-bytes { - type uint32; - description "Hardware policer conform burst"; - } - leaf hardware-policer-excess-burst-bytes { - type uint32; - description "Hardware policer excess burst"; - } - - list ip-mark { - description "IP mark"; - uses QOS-MARK; - } - - list common-mark { - description "Common mark"; - uses QOS-MARK; - } - - list mpls-mark { - description "MPLS mark"; - uses QOS-MARK; - } - - list wred { - description "WRED parameters"; - uses PARAMETERS; - } - } - - grouping DNX-QOSEA-SHOW-IF-QOS-INFO-ST { - description "Policy Details"; - leaf npu-id { - type uint32; - description "NPU ID"; - } - leaf interface-handle { - type uint32; - description "InterfaceHandle"; - } - leaf interface-bandwidth-kbps { - type uint32; - units "kbit/s"; - description "Interface Bandwidth (in kbps)"; - } - leaf policy-name { - type string { - length "0..64"; - } - description "Policy name"; - } - leaf total-number-of-classes { - type uint16; - description "Number of Classes"; - } - leaf voq-base-address { - type uint32; - description "VOQ base address"; - } - leaf voq-stats-handle { - type uint64; - description "VOQ stats handle"; - } - leaf stats-accounting-type { - type Qos-policy-account-enum; - description "QoS Statistics Accounting Type"; - } - leaf policy-status { - type Dnx-qosea-show-policy-status; - description "Policy Status"; - } - leaf interface-status { - type Dnx-qosea-show-intf-status; - description "Interface Status"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper.yang deleted file mode 100644 index e5c481f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5500-qos-oper.yang +++ /dev/null @@ -1,183 +0,0 @@ -module Cisco-IOS-XR-ncs5500-qos-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-qos-oper"; - - - prefix "ncs5500-qos-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs5500-qos-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ncs5500-qos-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs5500-qos package operational data. - - This module contains definitions - for the following management objects: - platform-qos: DNX QoS EA operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping POLICY-DETAILS { - description - "Common node of interface, bundle-interface, - member-interface"; - - container policy-details { - description "Policy Details"; - uses DNX-QOSEA-SHOW-IF-QOS-INFO-ST; - } - } - - grouping CLASS-TABLE { - description - "Common node of interface, bundle-interface, - member-interface"; - - container classes { - description "QoS list of class names"; - - list class { - key "level-one-class-name"; - description "QoS policy class"; - leaf level-one-class-name { - type string; - description "QoS policy class name at level 1"; - } - leaf level-two-class-name { - type string; - description "QoS policy child class name at level 2"; - } - uses DNX-QOSEA-SHOW-CLASS-ST; - } - } - } - - container platform-qos { - config false; - description "DNX QoS EA operational data"; - - container nodes { - description - "List of nodes with platform specific QoS - configuration"; - - list node { - key "node-name"; - description "Node with platform specific QoS configuration"; - - container bundle-interfaces { - description "QoS list of bundle interfaces"; - - list bundle-interface { - key "interface-name"; - description "QoS interface names"; - - container member-interfaces { - description "QoS list of member interfaces"; - - list member-interface { - key "interface-name"; - description "QoS interface names"; - leaf interface-name { - type xr:Interface-name; - description "Member interface"; - } - uses POLICY-DETAILS; - uses CLASS-TABLE; - } - } - leaf interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - leaf npu-id { - type int32; - description "NPU ID"; - } - leaf qos-direction { - type string; - description - "The interface direction on which QoS is - applied to."; - } - uses POLICY-DETAILS; - uses CLASS-TABLE; - } - } - - container interfaces { - description "QoS list of interfaces"; - - list interface { - key "interface-name"; - description "QoS interface names"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - leaf qos-direction { - type string; - description - "The interface direction on which QoS is - applied to."; - } - uses POLICY-DETAILS; - uses CLASS-TABLE; - } - } - - container remote-interfaces { - description "QoS list of remote interfaces"; - - list remote-interface { - key "interface-name"; - description "QoS remote interface names"; - leaf interface-name { - type xr:Interface-name; - description "The name of the remote interface"; - } - uses DNX-QOSEA-SHOW-REMOTE-IF-INFO-ST; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang deleted file mode 100644 index 483b442..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang +++ /dev/null @@ -1,74 +0,0 @@ -module Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg"; - - - prefix "ncs5k-fea-pfilter-nonatomic-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs5k-fea-pfilter-nonatomic package configuration. - - This module contains definitions - for the following management objects: - hardware: Hardware - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-01" { - description - "Implementing Conf Yang Model for Non-Atomic ACL"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Atomic-disable-dflt-actn { - type enumeration { - enum default-action-deny { - value 1; - description "Drops traffic during modification"; - } - enum default-action-permit { - value 2; - description "Forward traffic during modification"; - } - } - description "Atomic disable dflt actn"; - } - - container hardware { - description "Hardware"; - - container access-list { - description "Access-list option"; - leaf atomic-disable { - type Atomic-disable-dflt-actn; - description "Specify Option for Atomic disable"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang deleted file mode 100644 index 72e4f5a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang +++ /dev/null @@ -1,456 +0,0 @@ -submodule Cisco-IOS-XR-ncs6k-acl-oper-sub1 { - - belongs-to Cisco-IOS-XR-ncs6k-acl-oper { - prefix Cisco-IOS-XR-ncs6k-acl-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ncs6k-acl package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "adding PD yang."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Sse-ipv6-address { - type inet:ipv6-address; - description "Sse ipv6 address"; - } - typedef Sse-ipv4-address { - type inet:ipv4-address; - description "Sse ipv4 address"; - } - typedef Sse-pfilter-addr { - type enumeration { - enum ipv4 { - description "IPv4"; - } - enum ipv6 { - description "IPv6"; - } - } - description "Address types"; - } - typedef Sse-grant { - type enumeration { - enum permit { - value 1; - description "Grant permit"; - } - enum deny { - value 2; - description "Grant deny"; - } - } - description "ACL grant"; - } - - grouping SSE-PFILTER-EA-ACE-BRIEF { - description "Pfilter ACE Brief information across Slices"; - - list common-acl { - description "Common ACL information across Slices"; - uses SSE-PFILTER-EA-ACE-DATA-BRIEF; - } - - list interface-acl { - description "Interface ACL information across Slices"; - uses SSE-PFILTER-EA-ACE-DATA-BRIEF; - } - } - - grouping SSE-PFILTER-EA-ACE-DETAIL { - description "Pfilter ACE detail information across Slices"; - - list common-acl-detail { - description "Common ACL detail information across Slices"; - uses SSE-PFILTER-EA-ACE-DATA-DETAIL; - } - - list interface-acl-detail { - description "Interface ACL detail information across Slices"; - uses SSE-PFILTER-EA-ACE-DATA-DETAIL; - } - } - - grouping SSE-PFILTER-IPV6-TCAM { - description "Pfilter ipv6 TCAM entry"; - - container tcp-flags { - description "TCP flags"; - uses SSE-PFILTER-TCP-FLAGS; - } - leaf acl-id { - type uint16; - description "ACL ID"; - } - leaf protocol { - type uint8; - description "protocol flags"; - } - leaf layer4-source-port { - type uint32; - description "Layer 4 source port"; - } - leaf layer4-destination-port { - type uint16; - description "Layer 4 destination port"; - } - leaf source-range-id { - type uint32; - description "Source range"; - } - leaf destination-range-id { - type uint32; - description "Destination range ID"; - } - leaf destination-header { - type uint8; - description "Destination header"; - } - leaf receive-transition-gap-header { - type uint8; - description "Receive/transmit transition gap header"; - } - leaf authentication-header { - type uint8; - description "Authentication header"; - } - leaf fragment { - type uint8; - description "Fragment"; - } - leaf tos { - type uint8; - description "TOS"; - } - leaf packet-length-range { - type uint32; - description "Packet length range ID"; - } - } - - grouping SSE-PFILTER-TCAM-ENTRY-IPV6 { - description "Pfilter TCAM entry for Pita"; - - container value { - description "IPv6 TCAM value"; - uses SSE-PFILTER-IPV6-TCAM; - } - - container mask { - description "IPv6 TCAM mask"; - uses SSE-PFILTER-IPV6-TCAM; - } - - container result { - description "IPv6 TCAM result"; - uses SSE-PFILTER-IPV6-TCAM; - } - leaf source-address { - type inet:ipv6-address; - description "Source address"; - } - leaf source-address-mask { - type inet:ipv6-address; - description "Source address mask"; - } - leaf destination-address { - type inet:ipv6-address; - description "Destination address"; - } - leaf destination-address-mask { - type inet:ipv6-address; - description "Destination address mask"; - } - } - - grouping SSE-IPV6-PFILTER-TCAM { - description "IPv6 pfilter TCAM"; - - container tcam-entry { - description "TCAM entries"; - uses SSE-PFILTER-TCAM-ENTRY-IPV6; - } - } - - grouping SSE-PFILTER-TCP-FLAGS { - description "TCP flags"; - leaf urgent { - type uint8; - description "TCP urgent flag"; - } - leaf acknowledge { - type uint8; - description "TCP acknowledge flag"; - } - leaf push { - type uint8; - description "TCP push flag"; - } - leaf reset { - type uint8; - description "TCP reset flag"; - } - leaf synchronization { - type uint8; - description "TCP synchronization flag"; - } - leaf finish { - type uint8; - description "TCP finish flag"; - } - } - - grouping SSE-PFILTER-IPV4-TCAM { - description "Pfilter IPv4 TCAM entry"; - - container tcp-flags { - description "TCP flag value"; - uses SSE-PFILTER-TCP-FLAGS; - } - leaf acl-id { - type uint16; - description "ACL ID"; - } - leaf source-range-id { - type uint16; - description "Source range ID"; - } - leaf destination-range-id { - type uint16; - description "Destination range ID"; - } - leaf source-address { - type inet:ipv4-address; - description "Source address"; - } - leaf protocol { - type uint8; - description "protocol flags"; - } - leaf fragment { - type uint16; - description "Fragment"; - } - leaf dscp { - type uint8; - description "DSCP"; - } - leaf ttl { - type uint32; - description "TTL"; - } - leaf layer4-source-port { - type uint16; - description "Layer 4 source port"; - } - leaf destination-address { - type inet:ipv4-address; - description "Destination address"; - } - leaf layer4-destination-port { - type uint16; - description "Layer 4 destination port"; - } - leaf packet-length-range { - type uint8; - description "Packet length range ID"; - } - } - - grouping SSE-PFILTER-TCAM-ENTRY-IPV4 { - description "Pfilter TCAM entry for Pita"; - - container value { - description "Pfilter IPv4 TCAM value"; - uses SSE-PFILTER-IPV4-TCAM; - } - - container mask { - description "Pfilter IPv4 TCAM mask"; - uses SSE-PFILTER-IPV4-TCAM; - } - - container result { - description "Pfilter IPv4 TCAM result"; - uses SSE-PFILTER-IPV4-TCAM; - } - } - - grouping SSE-IPV4-PFILTER-TCAM { - description "IPv4 pfilter TCAM"; - - container tcam-entry { - description "TCAM entries"; - uses SSE-PFILTER-TCAM-ENTRY-IPV4; - } - } - - grouping SSE-PFILTER-EA-ACE { - description "Pfilter ACL hardware detail"; - - container ipv4tcam { - description "IPv4 TCAM entries"; - uses SSE-IPV4-PFILTER-TCAM; - } - - container ipv6tcam { - description "IPv6 TCAM entries"; - uses SSE-IPV6-PFILTER-TCAM; - } - leaf entry-id { - type int32; - description "Entry ID"; - } - } - - grouping SSE-PFILTER-NEXT-HOP-ADDR-TYPE { - description "SSE PFILTER NEXT HOP ADDR TYPE"; - leaf address-type { - type Sse-pfilter-addr; - description "AddressType"; - } - leaf ipv4-address { - when "../address-type = 'ipv4'" { - description "../AddressType = 'IPv4'"; - } - type Sse-ipv4-address; - description "IPv4 address type"; - } - leaf ipv6-address { - when "../address-type = 'ipv6'" { - description "../AddressType = 'IPv6'"; - } - type Sse-ipv6-address; - description "IPv6 address type"; - } - } - - grouping SSE-PFILTER-EA-ACE-DATA-BRIEF { - description "Pfilter ACL hardware brief"; - - container next-hop-address { - description "Next hop address"; - uses SSE-PFILTER-NEXT-HOP-ADDR-TYPE; - } - leaf grant { - type Sse-grant; - description "Either permit or deny"; - } - leaf logging-enabled { - type boolean; - description "Logging enabled/disabled"; - } - leaf per-ace-icmp-enabled { - type boolean; - description "Per ACE ICMP enabled/disabled"; - } - leaf next-hop-enabled { - type boolean; - description "Next hop enabled/disabled"; - } - leaf default-next-hop-enabled { - type boolean; - description "Default next hop enabled/disabled"; - } - leaf total-tcam-entries { - type uint32; - description "Number of TCAM entries"; - } - leaf hits { - type uint64; - description "Number of TCAM hits"; - } - leaf npu-id { - type uint8; - description "NPU Id"; - } - } - - grouping SSE-PFILTER-EA-ACE-DATA-DETAIL { - description "Pfilter ACL ACE details"; - - container ace-brief { - description "ACE brief information"; - uses SSE-PFILTER-EA-ACE-DATA-BRIEF; - } - - list ace-detail { - description "ACE detail information"; - uses SSE-PFILTER-EA-ACE; - } - } - - grouping SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL { - description "Pfilter ACL implicit info"; - - container implicit-ndna-permit { - description "Implicit NDNA permit"; - uses SSE-PFILTER-EA-ACE-DATA-DETAIL; - } - - container implicit-ndns-permit { - description "Implicit NDNS permit"; - uses SSE-PFILTER-EA-ACE-DATA-DETAIL; - } - - container implicit-deny { - description "Implicit deny"; - uses SSE-PFILTER-EA-ACE-DATA-DETAIL; - } - } - - grouping SSE-PFILTER-EA-ACE-IMPLICIT-DETAIL { - description - "Pfilter ACL implicit details for Common/Interface - ACL"; - - container common-acl-implicit { - description "Common ACL Implicit Entries"; - uses SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL; - } - - container interface-acl-implicit { - description "Interface ACL Implicit Entries"; - uses SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL; - } - } - - grouping SSE-PFILTER-EA-ACE-IMPLICIT { - description "Pfilter ACL implicit details across Slices"; - - list implicit-acl { - description "Implicit ACL Entries across Slices"; - uses SSE-PFILTER-EA-ACE-IMPLICIT-DETAIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper.yang deleted file mode 100644 index 215770a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ncs6k-acl-oper.yang +++ /dev/null @@ -1,156 +0,0 @@ -module Cisco-IOS-XR-ncs6k-acl-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs6k-acl-oper"; - - - prefix "ncs6k-acl-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ncs6k-acl-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ncs6k-acl package operational data. - - This module contains definitions - for the following management objects: - access-list-hardware: Root class of accesslist hardware - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "adding PD yang."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ACCESS-LIST-TABLE { - description "Common node of ipv4, ipv6"; - - container accesses { - description "Table for access lists"; - - list access { - key "access-list-name"; - description "List of ACLs"; - - container implicit { - description "Implicit ACL information"; - uses SSE-PFILTER-EA-ACE-IMPLICIT; - } - - container sequence-details { - description "Table of all sequence numbers per ACL"; - - list sequence-detail { - key "sequence-number"; - description "Detail ACL information"; - leaf sequence-number { - type int32; - description - "Detail ACL information for a particular - sequence"; - } - uses SSE-PFILTER-EA-ACE-DETAIL; - } - } - - container sequence-briefs { - description "Table of all sequence numbers per ACL"; - - list sequence-brief { - key "sequence-number"; - description "Detail ACL information"; - leaf sequence-number { - type int32; - description - "Brief ACL information for a particular - sequence"; - } - uses SSE-PFILTER-EA-ACE-BRIEF; - } - } - leaf access-list-name { - type string; - description "Name of the access list"; - } - } - } - } - - grouping IPV4 { - description "Common node of egress, ingress"; - - container ipv4 { - description "Accesslist version IPv4"; - uses ACCESS-LIST-TABLE; - } - } - - grouping IPV6 { - description "Common node of egress, ingress"; - - container ipv6 { - description "Accesslist version IPv6"; - uses ACCESS-LIST-TABLE; - } - } - - container access-list-hardware { - config false; - description "Root class of accesslist hardware"; - - container nodes { - description "Accesslist nodes"; - - list node { - key "node-name"; - description "Accesslist node"; - - container egress { - description "Accesslist direction egress"; - uses IPV4; - uses IPV6; - } - - container ingress { - description "Accesslist direction ingress"; - uses IPV4; - uses IPV6; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper-sub1.yang deleted file mode 100644 index 0ac3b0b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper-sub1.yang +++ /dev/null @@ -1,186 +0,0 @@ -submodule Cisco-IOS-XR-nto-misc-oper-sub1 { - - belongs-to Cisco-IOS-XR-nto-misc-oper { - prefix Cisco-IOS-XR-nto-misc-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR nto-misc package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SHARED-WINDOW { - description "Shared window information"; - leaf shared-window { - type string; - description "Name of shared window"; - } - leaf window-size { - type uint64; - description "Size of shared window"; - } - } - - grouping NODE-MEM-INFO-DETAIL { - description "Detail Node memory information"; - leaf page-size { - type uint32; - units "byte"; - description "Page size in bytes"; - } - leaf ram-memory { - type uint64; - units "byte"; - description "Physical memory size in bytes"; - } - leaf free-physical-memory { - type uint64; - units "byte"; - description "Physical memory available in bytes"; - } - leaf private-physical-memory { - type uint64; - units "byte"; - description "Private Physical memory in bytes"; - } - leaf system-ram-memory { - type uint64; - units "byte"; - description "Application memory size in bytes"; - } - leaf free-application-memory { - type uint64; - units "byte"; - description "Application memory available in bytes"; - } - leaf image-memory { - type uint64; - units "byte"; - description "Image memory size in bytes"; - } - leaf boot-ram-size { - type uint64; - units "byte"; - description "Boot RAM size in bytes"; - } - leaf reserved-memory { - type uint64; - units "byte"; - description "Reserved memory size in bytes"; - } - leaf io-memory { - type uint64; - units "byte"; - description "IO memory size in bytes"; - } - leaf flash-system { - type uint64; - units "byte"; - description "Flash System size in bytes"; - } - leaf total-shared-window { - type uint64; - description "Total Shared window"; - } - leaf allocated-memory { - type uint64; - description "Allocated Memory Size"; - } - leaf program-text { - type uint64; - description "Program Text Size"; - } - leaf program-data { - type uint64; - description "Program Data Size"; - } - leaf program-stack { - type uint64; - description "Program Stack Size"; - } - - list shared-window { - description "Available Shared windows"; - uses SHARED-WINDOW; - } - } - - grouping NODE-MEM-INFO { - description "Node memory information"; - leaf page-size { - type uint32; - units "byte"; - description "Page size in bytes"; - } - leaf ram-memory { - type uint64; - units "byte"; - description "Physical memory size in bytes"; - } - leaf free-physical-memory { - type uint64; - units "byte"; - description "Physical memory available in bytes"; - } - leaf system-ram-memory { - type uint64; - units "byte"; - description "Application memory size in bytes"; - } - leaf free-application-memory { - type uint64; - units "byte"; - description "Application memory available in bytes"; - } - leaf image-memory { - type uint64; - units "byte"; - description "Image memory size in bytes"; - } - leaf boot-ram-size { - type uint64; - units "byte"; - description "Boot RAM size in bytes"; - } - leaf reserved-memory { - type uint64; - units "byte"; - description "Reserved memory size in bytes"; - } - leaf io-memory { - type uint64; - units "byte"; - description "IO memory size in bytes"; - } - leaf flash-system { - type uint64; - units "byte"; - description "Flash System size in bytes"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper.yang deleted file mode 100644 index 250b958..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-oper.yang +++ /dev/null @@ -1,80 +0,0 @@ -module Cisco-IOS-XR-nto-misc-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper"; - - - prefix "nto-misc-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-nto-misc-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR nto-misc package operational data. - - This module contains definitions - for the following management objects: - memory-summary: Memory summary information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container memory-summary { - config false; - description "Memory summary information"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Name of nodes"; - - container summary { - description - "Memory summary information for a specific node"; - uses NODE-MEM-INFO; - } - - container detail { - description - "Detail Memory summary information for a - specific node"; - uses NODE-MEM-INFO-DETAIL; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang deleted file mode 100644 index ec17207..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang +++ /dev/null @@ -1,186 +0,0 @@ -submodule Cisco-IOS-XR-nto-misc-shmem-oper-sub1 { - - belongs-to Cisco-IOS-XR-nto-misc-shmem-oper { - prefix Cisco-IOS-XR-nto-misc-shmem-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR nto-misc-shmem package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SHARED-WINDOW { - description "Shared window information"; - leaf shared-window { - type string; - description "Name of shared window"; - } - leaf window-size { - type uint64; - description "Size of shared window"; - } - } - - grouping NODE-MEM-INFO-DETAIL { - description "Detail Node memory information"; - leaf page-size { - type uint32; - units "byte"; - description "Page size in bytes"; - } - leaf ram-memory { - type uint64; - units "byte"; - description "Physical memory size in bytes"; - } - leaf free-physical-memory { - type uint64; - units "byte"; - description "Physical memory available in bytes"; - } - leaf private-physical-memory { - type uint64; - units "byte"; - description "Private Physical memory in bytes"; - } - leaf system-ram-memory { - type uint64; - units "byte"; - description "Application memory size in bytes"; - } - leaf free-application-memory { - type uint64; - units "byte"; - description "Application memory available in bytes"; - } - leaf image-memory { - type uint64; - units "byte"; - description "Image memory size in bytes"; - } - leaf boot-ram-size { - type uint64; - units "byte"; - description "Boot RAM size in bytes"; - } - leaf reserved-memory { - type uint64; - units "byte"; - description "Reserved memory size in bytes"; - } - leaf io-memory { - type uint64; - units "byte"; - description "IO memory size in bytes"; - } - leaf flash-system { - type uint64; - units "byte"; - description "Flash System size in bytes"; - } - leaf total-shared-window { - type uint64; - description "Total Shared window"; - } - leaf allocated-memory { - type uint64; - description "Allocated Memory Size"; - } - leaf program-text { - type uint64; - description "Program Text Size"; - } - leaf program-data { - type uint64; - description "Program Data Size"; - } - leaf program-stack { - type uint64; - description "Program Stack Size"; - } - - list shared-window { - description "Available Shared windows"; - uses SHARED-WINDOW; - } - } - - grouping NODE-MEM-INFO { - description "Node memory information"; - leaf page-size { - type uint32; - units "byte"; - description "Page size in bytes"; - } - leaf ram-memory { - type uint64; - units "byte"; - description "Physical memory size in bytes"; - } - leaf free-physical-memory { - type uint64; - units "byte"; - description "Physical memory available in bytes"; - } - leaf system-ram-memory { - type uint64; - units "byte"; - description "Application memory size in bytes"; - } - leaf free-application-memory { - type uint64; - units "byte"; - description "Application memory available in bytes"; - } - leaf image-memory { - type uint64; - units "byte"; - description "Image memory size in bytes"; - } - leaf boot-ram-size { - type uint64; - units "byte"; - description "Boot RAM size in bytes"; - } - leaf reserved-memory { - type uint64; - units "byte"; - description "Reserved memory size in bytes"; - } - leaf io-memory { - type uint64; - units "byte"; - description "IO memory size in bytes"; - } - leaf flash-system { - type uint64; - units "byte"; - description "Flash System size in bytes"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper.yang deleted file mode 100644 index 3ab7058..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shmem-oper.yang +++ /dev/null @@ -1,81 +0,0 @@ -module Cisco-IOS-XR-nto-misc-shmem-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-nto-misc-shmem-oper"; - - - prefix "nto-misc-shmem-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-nto-misc-shmem-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR nto-misc-shmem package operational data. - - This module contains definitions - for the following management objects: - memory-summary: Memory summary information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container memory-summary { - config false; - description "Memory summary information"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Name of nodes"; - - container summary { - description - "Memory summary information for a specific node"; - uses NODE-MEM-INFO; - } - - container detail { - description - "Detail Memory summary information for a - specific node"; - uses NODE-MEM-INFO-DETAIL; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang deleted file mode 100644 index 2c6298f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang +++ /dev/null @@ -1,64 +0,0 @@ -submodule Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1 { - - belongs-to Cisco-IOS-XR-nto-misc-shprocmem-oper { - prefix Cisco-IOS-XR-nto-misc-shprocmem-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR nto-misc-shprocmem package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PROCESSESMEMORY-ENTRY { - description " Per Process Information"; - leaf name { - type string; - description "Process name"; - } - leaf jid { - type uint32; - description "Job ID"; - } - leaf text-seg-size { - type uint32; - description "Text Segment Size"; - } - leaf data-seg-size { - type uint32; - description "Data Segment Size"; - } - leaf stack-seg-size { - type uint32; - description "Stack Segment Size"; - } - leaf malloc-size { - type uint32; - description "Malloced Memory Size"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang deleted file mode 100644 index 4fb4535..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-nto-misc-shprocmem-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-nto-misc-shprocmem-oper"; - - - prefix "nto-misc-shprocmem-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR nto-misc-shprocmem package operational data. - - This module contains definitions - for the following management objects: - processes-memory: Process statistics - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container processes-memory { - config false; - description "Process statistics"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Node ID"; - - container job-ids { - description "List of jobs"; - - list job-id { - key "job-id"; - description "Job Id"; - leaf job-id { - type int32; - description "Job Id"; - } - uses PROCESSESMEMORY-ENTRY; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalmib-cfg.yang deleted file mode 100644 index d7683bf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalmib-cfg.yang +++ /dev/null @@ -1,59 +0,0 @@ -module Cisco-IOS-XR-opticalmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg"; - - - prefix "opticalmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR opticalmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container optical { - description "CISCO-OPTICAL-MIB notification configuration"; - leaf enable { - type empty; - description "Enable Opticalmib notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalotsmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalotsmib-cfg.yang deleted file mode 100644 index d160e17..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-opticalotsmib-cfg.yang +++ /dev/null @@ -1,61 +0,0 @@ -module Cisco-IOS-XR-opticalotsmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-opticalotsmib-cfg"; - - - prefix "opticalotsmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR opticalotsmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container optical-ots { - description - "CISCO-OPTICAL-OTS-MIB notification configuration"; - leaf enable { - type empty; - description "Enable OpticalOtsmib notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-optics-driver-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-optics-driver-cfg.yang deleted file mode 100644 index 97fe5b8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-optics-driver-cfg.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-optics-driver-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-optics-driver-cfg"; - - - prefix "optics-driver-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-controller-optics-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR optics-driver package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-controller-optics-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-03-21" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Breakout-type-list { - type string { - pattern "(4x10)|(4x25)"; - } - description - "4x10:4x10 optics breakout config, 4x25:4x25 - optics breakout config"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:optics" { - leaf breakout { - type Breakout-type-list; - description "breakout mode configuration"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-controller-optics-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-otnifmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-otnifmib-cfg.yang deleted file mode 100644 index 14c2aa2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-otnifmib-cfg.yang +++ /dev/null @@ -1,59 +0,0 @@ -module Cisco-IOS-XR-otnifmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg"; - - - prefix "otnifmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR otnifmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container otn { - description "CISCO-OTN-IF-MIB notification configuration"; - leaf enable { - type empty; - description "Enable ciscoOtnIfMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-parser-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-parser-cfg.yang deleted file mode 100644 index 4829258..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-parser-cfg.yang +++ /dev/null @@ -1,181 +0,0 @@ -module Cisco-IOS-XR-parser-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg"; - - - prefix "parser-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR parser package configuration. - - This module contains definitions - for the following management objects: - parser: Parser configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-09" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container parser { - description "Parser configuration"; - - container indentation { - description "indentation tracking"; - leaf indentation-disable { - type boolean; - description "disable the indentation"; - } - } - - container alias { - description "Alias for command mapping"; - - container execs { - description "Exec command alias"; - - list exec { - key "identifier"; - description "Exec alias name"; - leaf identifier { - type string { - length "1..30"; - } - description "Exec Alias name"; - } - leaf identifier-xr { - type string; - mandatory true; - description "Aliased exec command"; - } - } - } - - container configurations { - description "Configuration command alias"; - - list configuration { - key "identifier"; - description "Configuration Alias name"; - leaf identifier { - type string { - length "1..30"; - } - description "Configuration alias name"; - } - leaf identifier-xr { - type string; - mandatory true; - description "Aliased config command"; - } - } - } - - container alls { - description "Table of all aliases configured"; - - list all { - key "identifier"; - description "Alias name to command mapping"; - leaf identifier { - type string { - length "1..30"; - } - description "Alias name"; - } - leaf identifier-xr { - type string; - mandatory true; - description "The actual command"; - } - } - } - } - - container history { - description "cli commands history"; - leaf size { - type uint32 { - range "1000..5000"; - } - description "maximum number of commands in history"; - } - } - - container interactive { - description "interactive mode"; - leaf interactive-disable { - type boolean; - description "disable interactive mode"; - } - } - - container interface-display { - description "Configure the Interface display order"; - leaf slot-order { - type boolean; - description - "Configure Interface display order as slot order"; - } - } - - container netmask-format { - description "Ipv4 netmask-format to be configured"; - leaf bit-count { - type boolean; - description "Enable ipv4 netmask-format as bit-count"; - } - } - - container configuration { - description "cli configuration services"; - - container disable { - description "disable for read-only access users"; - leaf usergroup { - type string; - description "Disable config mode for usergroup"; - } - } - } - - container submode-exit { - description - "Exit submode when only '!' seen in interactive - mode"; - leaf enable { - type boolean; - description "Enable the feature"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-patch-panel-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-patch-panel-cfg.yang deleted file mode 100644 index 0fd9d59..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-patch-panel-cfg.yang +++ /dev/null @@ -1,73 +0,0 @@ -module Cisco-IOS-XR-patch-panel-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-patch-panel-cfg"; - - - prefix "patch-panel-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR patch-panel package configuration. - - This module contains definitions - for the following management objects: - patch-panel: patch-panel service submode - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container patch-panel { - presence "Indicates a patch-panel node is configured."; - description "patch-panel service submode"; - leaf enable { - type empty; - mandatory true; - description "Enable patch-panel service"; - } - leaf user-name { - type string; - description - "User name to be used for Authentication with - Patch-Panel"; - } - leaf password { - type xr:Proprietary-password; - description - "Password name to be used for Authentication with - Patch-Panel"; - } - leaf ipv4 { - type inet:ipv4-address-no-zone; - description "IP address for patch-panel"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-cfg.yang deleted file mode 100644 index 237befd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-pbr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg"; - - - prefix "pbr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-03-08" { - description - "Moved augment statement to a separate file"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container pbr { - description "Interface PBR configuration"; - - container service-policy { - description "PBR service policy configuration"; - leaf input { - type string; - description "Ingress service policy"; - } - } - leaf service-policy-in { - type string; - description "Class for subscriber ingress policy"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-datatypes.yang deleted file mode 100644 index a9e89c0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-datatypes.yang +++ /dev/null @@ -1,51 +0,0 @@ -module Cisco-IOS-XR-pbr-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-datatypes"; - - - prefix "pbr-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vservice-nsh-path-id-range { - type uint32 { - range "1..16777215"; - } - description "Vservice nsh path id range"; - } - typedef Vservice-nsh-service-index-range { - type uint32 { - range "1..255"; - } - description "Vservice nsh service index range"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper-sub1.yang deleted file mode 100644 index 878da43..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper-sub1.yang +++ /dev/null @@ -1,205 +0,0 @@ -submodule Cisco-IOS-XR-pbr-oper-sub1 { - - belongs-to Cisco-IOS-XR-pbr-oper { - prefix Cisco-IOS-XR-pbr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pbr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Policy-state { - type enumeration { - enum active { - value 0; - description "active"; - } - enum suspended { - value 1; - description "suspended"; - } - } - description "Different Interface states"; - } - - grouping HTTPR-STATS-ST { - description "HTTPR Stats"; - leaf rqst-rcvd-packets { - type uint64; - description "TotalNum of pkts HTTP request received"; - } - leaf rqst-rcvd-bytes { - type uint64; - units "byte"; - description "TotalNum of Bytes HTTP request received"; - } - leaf drop-packets { - type uint64; - description "Dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes"; - } - leaf resp-sent-packets { - type uint64; - description "TotalNum of pkts HTTPR response sent"; - } - leaf resp-sent-bytes { - type uint64; - units "byte"; - description "TotalNum of Bytes HTTPR response sent"; - } - } - - grouping GEN-STATS-ST { - description "Counters common to all features"; - leaf transmit-packets { - type uint64; - units "byte"; - description "Transmitted packets (packets/bytes)"; - } - leaf transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes (packets/bytes)"; - } - leaf total-drop-packets { - type uint64; - units "byte"; - description "Dropped packets (packets/bytes)"; - } - leaf total-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes (packets/bytes)"; - } - leaf total-drop-rate { - type uint32; - units "byte"; - description "Total drop rate (packets/bytes)"; - } - leaf match-data-rate { - type uint32; - units "kbit/s"; - description "Incoming matched data rate in kbps"; - } - leaf total-transmit-rate { - type uint32; - units "kbit/s"; - description "Total transmit rate in kbps"; - } - leaf pre-policy-matched-packets { - type uint64; - description "Matched pkts before applying policy"; - } - leaf pre-policy-matched-bytes { - type uint64; - units "byte"; - description "Matched bytes before applying policy"; - } - } - - grouping CLASS-STATS { - description "CLASS STATS"; - - container general-stats { - description "general stats"; - uses GEN-STATS-ST; - } - - container httpr-stats { - description "HTTPR stats"; - uses HTTPR-STATS-ST; - } - leaf counter-validity-bitmask { - type uint64; - units "byte"; - description - " Bitmask to indicate which counter or counters - are undetermined. Counters will be marked - undetermined when one or more classes share - queues with class-default because in such cases - the value of counters for each class is invalid. - Based on the flag(s) set, the following counters - will be marked undetermined. For example, if - value of this object returned is 0x00000101, - counters - TransmitPackets/TransmitBytes/TotalTransmitRate - and DropPackets/DropBytes are undetermined - .0x00000001 - Transmit - (TransmitPackets/TransmitBytes/TotalTransmitRate - ), 0x00000002 - Drop - (TotalDropPackets/TotalDropBytes/TotalDropRate), - 0x00000004 - Httpr - (HttprTransmitPackets/HttprTransmitBytes), "; - } - leaf class-name { - type string { - length "0..65"; - } - description "ClassName"; - } - leaf class-id { - type uint32; - description "ClassId"; - } - } - - grouping PBR-STATS { - description "policy map statistics"; - leaf node-name { - type string { - length "0..42"; - } - description "NodeName"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "PolicyName"; - } - leaf state { - type Policy-state; - description "State"; - } - leaf state-description { - type string { - length "0..128"; - } - description "StateDescription"; - } - - list class-stat { - description "Array of classes contained in policy"; - uses CLASS-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper.yang deleted file mode 100644 index d4ebba1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-oper.yang +++ /dev/null @@ -1,94 +0,0 @@ -module Cisco-IOS-XR-pbr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper"; - - - prefix "pbr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pbr-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr package operational data. - - This module contains definitions - for the following management objects: - pbr: PBR operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container pbr { - config false; - description "PBR operational data"; - - container nodes { - description "Node-specific PBR operational data"; - - list node { - key "node-name"; - description "PBR operational data for a particular node"; - - container policy-map { - description "Operational data for policymaps"; - - container interfaces { - description "Operational data for all interfaces"; - - list interface { - key "interface-name"; - description - "PBR action data for a particular interface"; - - container direction { - description "PBR direction"; - - container input { - description "PBR policy statistics"; - uses PBR-STATS; - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "The node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-subscriber-cfg.yang deleted file mode 100644 index 9474473..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-subscriber-cfg.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-pbr-subscriber-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-pbr-subscriber-cfg"; - - - prefix "pbr-subscriber-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr-subscriber package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PBR { - description - "Common node of ip-subscriber, subscriber-service, - ppp"; - - container pbr { - description "Dynamic Template PBR configuration"; - - container service-policy { - description "PBR service policy configuration"; - leaf input { - type string; - description "Ingress service policy"; - } - } - leaf service-policy-in { - type string; - description "Class for subscriber ingress policy"; - } - } - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses PBR; - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses PBR; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses PBR; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang deleted file mode 100644 index 1a0b91d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang +++ /dev/null @@ -1,80 +0,0 @@ -module Cisco-IOS-XR-pbr-vrf-policy-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg"; - - - prefix "pbr-vrf-policy-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr-vrf-policy package configuration. - - This module contains definitions - for the following management objects: - vrf-policy: VRF Policy PBR configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pbr-afi { - type string { - pattern "(ipv4)"; - } - description - "ipv4: Comment: v4 string for ; - ipv6: Comment: v6 string for "; - } - - container vrf-policy { - description "VRF Policy PBR configuration"; - - list vrf { - key "vrf-name"; - description "VRF Name"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - - list afi { - key "afi-type"; - description "address family"; - leaf service-policy-in { - type string; - description "Policy map name"; - } - leaf afi-type { - type Pbr-afi; - description "AFI name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang deleted file mode 100644 index 3438c40..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang +++ /dev/null @@ -1,252 +0,0 @@ -submodule Cisco-IOS-XR-pbr-vservice-ea-oper-sub1 { - - belongs-to Cisco-IOS-XR-pbr-vservice-ea-oper { - prefix Cisco-IOS-XR-pbr-vservice-ea-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pbr-vservice-ea package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vs-nsh-stats { - type enumeration { - enum vs-nsh-stats-spi-si { - description "vs nsh stats spi si"; - } - enum vs-nsh-stats-ter-min-ate { - description "vs nsh stats ter min ate"; - } - enum vs-nsh-stats-sf { - description "vs nsh stats sf"; - } - enum vs-nsh-stats-sff { - description "vs nsh stats sff"; - } - enum vs-nsh-stats-sff-local { - description "vs nsh stats sff local"; - } - enum vs-nsh-stats-sfp { - description "vs nsh stats sfp"; - } - enum vs-nsh-stats-sfp-detail { - description "vs nsh stats sfp detail"; - } - enum vs-nsh-stats-max { - description "vs nsh stats max"; - } - } - description "Vs nsh stats"; - } - - grouping VS-NSH-SI-DATA { - description "Service index stats counters"; - - container spi-si { - when "../type = 'vs-nsh-stats-spi-si'" { - description "../type = 'VS_NSH_STATS_SPI_SI'"; - } - description "SF/SFF stats"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - when "../type = 'vs-nsh-stats-ter-min-ate'" { - description "../type = 'VS_NSH_STATS_TERMINATE'"; - } - description "Terminate stats"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - leaf type { - type Vs-nsh-stats; - description "type"; - } - } - - grouping VSERVICE-NSH-SI { - description "si supported counters"; - - container data { - description "Stats counter for this index"; - uses VS-NSH-SI-DATA; - } - leaf si { - type uint8; - description "Service index"; - } - } - - grouping VSERVICE-NSH-SFF-LOCAL { - description "Local service-function-forwarder counters"; - leaf malformed-err-pkts { - type uint64; - description "Number of packets with invalid NSH header"; - } - leaf lookup-err-pkts { - type uint64; - description "Number of packets with unknown spi-si"; - } - leaf malformed-err-bytes { - type uint64; - units "byte"; - description "Total bytes with invalid NSH header"; - } - leaf lookup-err-bytes { - type uint64; - units "byte"; - description "Total bytes with unknown spi-si"; - } - } - - grouping VSERVICE-NSH-SF { - description "Service function/forwarder counters"; - leaf processed-pkts { - type uint64; - description "Number of packets processed"; - } - leaf processed-bytes { - type uint64; - units "byte"; - description "Total bytes processed"; - } - } - - grouping VSERVICE-NSH-SPI-SI-TERMINATE { - description "spi-si supported counters"; - leaf terminated-pkts { - type uint64; - description "Number of terminated packets"; - } - leaf terminated-bytes { - type uint64; - units "byte"; - description "Total bytes terminated"; - } - } - - grouping VSERVICE-NSH-SPI-SI { - description "spi-si supported counters"; - leaf processed-pkts { - type uint64; - description "Number of packets processed"; - } - leaf processed-bytes { - type uint64; - units "byte"; - description "Total bytes processed"; - } - } - - grouping VSERVICE-NSH-SFP { - description "spf supported counters"; - - container spi-si { - description "Service index counters"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - description "Terminate counters"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - } - - grouping VS-NSH-STATS-DATA { - description "Union for stats counter"; - - container sfp { - when "../type = 'vs-nsh-stats-sfp'" { - description "../type = 'VS_NSH_STATS_SFP'"; - } - description "SFP stats"; - uses VSERVICE-NSH-SFP; - } - - container spi-si { - when "../type = 'vs-nsh-stats-spi-si'" { - description "../type = 'VS_NSH_STATS_SPI_SI'"; - } - description "SPI SI stats"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - when "../type = 'vs-nsh-stats-ter-min-ate'" { - description "../type = 'VS_NSH_STATS_TERMINATE'"; - } - description "Terminate stats"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - - container sf { - when "../type = 'vs-nsh-stats-sf'" { - description "../type = 'VS_NSH_STATS_SF'"; - } - description "Service function stats"; - uses VSERVICE-NSH-SF; - } - - container sff { - when "../type = 'vs-nsh-stats-sff'" { - description "../type = 'VS_NSH_STATS_SFF'"; - } - description "Service function forwarder stats"; - uses VSERVICE-NSH-SF; - } - - container sff-local { - when "../type = 'vs-nsh-stats-sff-local'" { - description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; - } - description "Local service function forwarder stats"; - uses VSERVICE-NSH-SFF-LOCAL; - } - leaf type { - type Vs-nsh-stats; - description "type"; - } - } - - grouping VSERVICE-EDM-NSH-STATS-INFO { - description "NSH stats bag"; - - container data { - description "Statistics data"; - uses VS-NSH-STATS-DATA; - } - - list si-arr { - description "SI array in case of detail stats"; - uses VSERVICE-NSH-SI; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper.yang deleted file mode 100644 index 27871f9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-ea-oper.yang +++ /dev/null @@ -1,189 +0,0 @@ -module Cisco-IOS-XR-pbr-vservice-ea-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-pbr-vservice-ea-oper"; - - - prefix "pbr-vservice-ea-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-pbr-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-pbr-vservice-ea-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr-vservice-ea package operational data. - - This module contains definitions - for the following management objects: - service-function-chaining: NSH Service Function Chaining - operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container service-function-chaining { - config false; - description "NSH Service Function Chaining operational data"; - - container nodes { - description - "Node-specific NSH Service Function Chaining - operational data"; - - list node { - key "node-name"; - description "NSH operational data for a particular node"; - - container process { - description "Client Process"; - - container service-function-path { - description "Service Function Path operational data"; - - container path-ids { - description "Service Function Path Id "; - - list path-id { - key "id"; - description - "Specific Service-Function-Path identifier "; - - container service-indexes { - description "Service Index Belonging to Path"; - - list service-index { - key "index"; - description - "Service index operational data belonging - to this path"; - leaf index { - type dt1:Vservice-nsh-service-index-range; - description "Service Index"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - - container stats { - description "SFP Statistics"; - - container detail { - description - "Detail statistics per service index "; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - - container summarized { - description - "Combined statistics of all service index - in service functionpath"; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - leaf id { - type dt1:Vservice-nsh-path-id-range; - description - "Specific Service-Function-Path identifier"; - } - } - } - } - - container service-function { - description "Service Function operational data"; - - container sf-names { - description "List of Service Function Names"; - - list sf-name { - key "name"; - description "Name of Service Function"; - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - } - - container service-function-forwarder { - description - "Service Function Forwarder operational data"; - - container local { - description - "Local Service Function Forwarder operational - data"; - - container error { - description - "Error Statistics for local service function - forwarder"; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - - container sff-names { - description - "List of Service Function Forwarder Names"; - - list sff-name { - key "name"; - description "Name of Service Function Forwarder"; - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "Node to collect statistics from"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang deleted file mode 100644 index 6b74f9d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang +++ /dev/null @@ -1,252 +0,0 @@ -submodule Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-pbr-vservice-mgr-oper { - prefix Cisco-IOS-XR-pbr-vservice-mgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pbr-vservice-mgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vs-nsh-stats { - type enumeration { - enum vs-nsh-stats-spi-si { - description "vs nsh stats spi si"; - } - enum vs-nsh-stats-ter-min-ate { - description "vs nsh stats ter min ate"; - } - enum vs-nsh-stats-sf { - description "vs nsh stats sf"; - } - enum vs-nsh-stats-sff { - description "vs nsh stats sff"; - } - enum vs-nsh-stats-sff-local { - description "vs nsh stats sff local"; - } - enum vs-nsh-stats-sfp { - description "vs nsh stats sfp"; - } - enum vs-nsh-stats-sfp-detail { - description "vs nsh stats sfp detail"; - } - enum vs-nsh-stats-max { - description "vs nsh stats max"; - } - } - description "Vs nsh stats"; - } - - grouping VS-NSH-SI-DATA { - description "Service index stats counters"; - - container spi-si { - when "../type = 'vs-nsh-stats-spi-si'" { - description "../type = 'VS_NSH_STATS_SPI_SI'"; - } - description "SF/SFF stats"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - when "../type = 'vs-nsh-stats-ter-min-ate'" { - description "../type = 'VS_NSH_STATS_TERMINATE'"; - } - description "Terminate stats"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - leaf type { - type Vs-nsh-stats; - description "type"; - } - } - - grouping VSERVICE-NSH-SI { - description "si supported counters"; - - container data { - description "Stats counter for this index"; - uses VS-NSH-SI-DATA; - } - leaf si { - type uint8; - description "Service index"; - } - } - - grouping VSERVICE-NSH-SFF-LOCAL { - description "Local service-function-forwarder counters"; - leaf malformed-err-pkts { - type uint64; - description "Number of packets with invalid NSH header"; - } - leaf lookup-err-pkts { - type uint64; - description "Number of packets with unknown spi-si"; - } - leaf malformed-err-bytes { - type uint64; - units "byte"; - description "Total bytes with invalid NSH header"; - } - leaf lookup-err-bytes { - type uint64; - units "byte"; - description "Total bytes with unknown spi-si"; - } - } - - grouping VSERVICE-NSH-SF { - description "Service function/forwarder counters"; - leaf processed-pkts { - type uint64; - description "Number of packets processed"; - } - leaf processed-bytes { - type uint64; - units "byte"; - description "Total bytes processed"; - } - } - - grouping VSERVICE-NSH-SPI-SI-TERMINATE { - description "spi-si supported counters"; - leaf terminated-pkts { - type uint64; - description "Number of terminated packets"; - } - leaf terminated-bytes { - type uint64; - units "byte"; - description "Total bytes terminated"; - } - } - - grouping VSERVICE-NSH-SPI-SI { - description "spi-si supported counters"; - leaf processed-pkts { - type uint64; - description "Number of packets processed"; - } - leaf processed-bytes { - type uint64; - units "byte"; - description "Total bytes processed"; - } - } - - grouping VSERVICE-NSH-SFP { - description "spf supported counters"; - - container spi-si { - description "Service index counters"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - description "Terminate counters"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - } - - grouping VS-NSH-STATS-DATA { - description "Union for stats counter"; - - container sfp { - when "../type = 'vs-nsh-stats-sfp'" { - description "../type = 'VS_NSH_STATS_SFP'"; - } - description "SFP stats"; - uses VSERVICE-NSH-SFP; - } - - container spi-si { - when "../type = 'vs-nsh-stats-spi-si'" { - description "../type = 'VS_NSH_STATS_SPI_SI'"; - } - description "SPI SI stats"; - uses VSERVICE-NSH-SPI-SI; - } - - container term { - when "../type = 'vs-nsh-stats-ter-min-ate'" { - description "../type = 'VS_NSH_STATS_TERMINATE'"; - } - description "Terminate stats"; - uses VSERVICE-NSH-SPI-SI-TERMINATE; - } - - container sf { - when "../type = 'vs-nsh-stats-sf'" { - description "../type = 'VS_NSH_STATS_SF'"; - } - description "Service function stats"; - uses VSERVICE-NSH-SF; - } - - container sff { - when "../type = 'vs-nsh-stats-sff'" { - description "../type = 'VS_NSH_STATS_SFF'"; - } - description "Service function forwarder stats"; - uses VSERVICE-NSH-SF; - } - - container sff-local { - when "../type = 'vs-nsh-stats-sff-local'" { - description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; - } - description "Local service function forwarder stats"; - uses VSERVICE-NSH-SFF-LOCAL; - } - leaf type { - type Vs-nsh-stats; - description "type"; - } - } - - grouping VSERVICE-EDM-NSH-STATS-INFO { - description "NSH stats bag"; - - container data { - description "Statistics data"; - uses VS-NSH-STATS-DATA; - } - - list si-arr { - description "SI array in case of detail stats"; - uses VSERVICE-NSH-SI; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang deleted file mode 100644 index 82e8a65..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang +++ /dev/null @@ -1,167 +0,0 @@ -module Cisco-IOS-XR-pbr-vservice-mgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-pbr-vservice-mgr-oper"; - - - prefix "pbr-vservice-mgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-pbr-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pbr-vservice-mgr package operational data. - - This module contains definitions - for the following management objects: - global-service-function-chaining: NSH Service Function - Chaining global operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container global-service-function-chaining { - config false; - description - "NSH Service Function Chaining global operational - data"; - - container service-function-path { - description "Service Function Path operational data"; - - container path-ids { - description "Service Function Path Id "; - - list path-id { - key "id"; - description "Specific Service-Function-Path identifier "; - - container stats { - description "SFP Statistics"; - - container detail { - description "Detail statistics per service index "; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - - container summarized { - description - "Combined statistics of all service index in - service functionpath"; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - - container service-indexes { - description "Service Index Belonging to Path"; - - list service-index { - key "index"; - description - "Service index operational data belonging to - this path"; - leaf index { - type dt1:Vservice-nsh-service-index-range; - description "Service Index"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - leaf id { - type dt1:Vservice-nsh-path-id-range; - description "Specific Service-Function-Path identifier"; - } - } - } - } - - container service-function { - description "Service Function operational data"; - - container sf-names { - description "List of Service Function Names"; - - list sf-name { - key "name"; - description "Name of Service Function"; - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - } - - container service-function-forwarder { - description "Service Function Forwarder operational data"; - - container sff-names { - description "List of Service Function Forwarder Names"; - - list sff-name { - key "name"; - description "Name of Service Function Forwarder"; - leaf name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name"; - } - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - - container local { - description - "Local Service Function Forwarder operational - data"; - - container error { - description - "Error Statistics for local service function - forwarder"; - uses VSERVICE-EDM-NSH-STATS-INFO; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang deleted file mode 100644 index d0bfbd8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang +++ /dev/null @@ -1,118 +0,0 @@ -submodule Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1 { - - belongs-to Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper { - prefix Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pfi-im-cmd-ctrlr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - - grouping IM-CTRLR-DESC-INFO { - description "Controller description information"; - leaf controller { - type xr:Interface-name; - description "Controller"; - } - leaf state { - type Im-state-enum; - description - "Operational state with no translation of error - disable or shutdown"; - } - leaf description { - type string; - description "Controller description string"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang deleted file mode 100644 index 6804a3e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper"; - - - prefix "pfi-im-cmd-ctrlr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pfi-im-cmd-ctrlr package operational data. - - This module contains definitions - for the following management objects: - controllers: Controller operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container controllers { - config false; - description "Controller operational data"; - - container controllers { - description "Descriptions for controllers"; - - list controller { - key "interafce-name"; - description "Description for a particular controller"; - leaf interafce-name { - type xr:Interface-name; - description "The name of the controller"; - } - uses IM-CTRLR-DESC-INFO; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang deleted file mode 100644 index 5d77d0c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang +++ /dev/null @@ -1,5029 +0,0 @@ -submodule Cisco-IOS-XR-pfi-im-cmd-oper-sub1 { - - belongs-to Cisco-IOS-XR-pfi-im-cmd-oper { - prefix Cisco-IOS-XR-pfi-im-cmd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pfi-im-cmd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-18" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Stats-counter { - type enumeration { - enum stats-counter-rate { - value 0; - description "stats counter rate"; - } - enum stats-counter-uint32 { - value 1; - description "stats counter uint32"; - } - enum stats-counter-uint64 { - value 2; - description "stats counter uint64"; - } - enum stats-counter-generic { - value 3; - description "stats counter generic"; - } - enum stats-counter-proto { - value 4; - description "stats counter proto"; - } - enum stats-counter-srp { - value 5; - description "stats counter srp"; - } - enum stats-counter-ipv4-prec { - value 6; - description "stats counter ipv4 prec"; - } - enum stats-counter-ipv4-dscp { - value 7; - description "stats counter ipv4 dscp"; - } - enum stats-counter-mpls-exp { - value 8; - description "stats counter mpls exp"; - } - enum stats-counter-ipv4-bgp-pa { - value 9; - description "stats counter ipv4 bgp pa"; - } - enum stats-counter-src-bgp-pa { - value 10; - description "stats counter src bgp pa"; - } - enum stats-counter-basic { - value 11; - description "stats counter basic"; - } - enum stats-counter-comp-generic { - value 12; - description "stats counter comp generic"; - } - enum stats-counter-comp-proto { - value 13; - description "stats counter comp proto"; - } - enum stats-counter-comp-basic { - value 14; - description "stats counter comp basic"; - } - enum stats-counter-accounting { - value 15; - description "stats counter accounting"; - } - enum stats-counter-comp-accounting { - value 16; - description "stats counter comp accounting"; - } - enum stats-counter-flow { - value 17; - description "stats counter flow"; - } - enum stats-counter-comp-flow { - value 18; - description "stats counter comp flow"; - } - } - description "Stats counter"; - } - typedef Stats-type-contents { - type enumeration { - enum stats-type-single { - value 100; - description "stats type single"; - } - enum stats-type-variable { - value 101; - description "stats type variable"; - } - } - description "Stats type contents"; - } - typedef Stats-id { - type enumeration { - enum stats-id-type-unknown { - value 0; - description "stats id type unknown"; - } - enum stats-id-type-min { - value 1; - description "stats id type min"; - } - enum stats-id-type-spare { - value 2; - description "stats id type spare"; - } - enum stats-id-type-node { - value 3; - description "stats id type node"; - } - enum stats-id-type-other { - value 4; - description "stats id type other"; - } - enum stats-id-type-feature { - value 5; - description "stats id type feature"; - } - enum stats-id-type-max { - value 6; - description "stats id type max"; - } - } - description "Stats id"; - } - typedef Stats-type-val { - type uint32; - description "Stats type val"; - } - typedef Im-cmd-stats-enum { - type enumeration { - enum full { - value 1; - description "full"; - } - enum basic { - value 2; - description "basic"; - } - } - description "List of different interface stats structures"; - } - typedef Gcc-sec-state { - type enumeration { - enum normal { - value 0; - description "Normal"; - } - enum maintainance { - value 1; - description "Maintainance"; - } - enum ais { - value 2; - description "Automatic In Service"; - } - } - description "Gcc sec state"; - } - typedef Gcc-der-state { - type enumeration { - enum in-service { - value 0; - description "In Service"; - } - enum out-of-service { - value 1; - description "Out Of Service"; - } - enum maintainance { - value 2; - description "Maintainance"; - } - enum ais { - value 3; - description "Automatic In Service"; - } - } - description "Gcc der state"; - } - typedef Tunnel-key-state { - type enumeration { - enum absent { - value 0; - description "Tunnel GRE Key is not present"; - } - enum present { - value 1; - description "Tunnel GRE Key is present"; - } - } - description "Tunnel key state"; - } - typedef Tunnel-ka-df-state { - type enumeration { - enum disable { - value 0; - description "Tunnel GRE KA State is Disabled"; - } - enum enable { - value 1; - description "Tunnel GRE KA State is Enabled"; - } - } - description "Tunnel ka df state"; - } - typedef Tunl-ip-mode-dir { - type enumeration { - enum tunl-ip-mode-dir-none { - description "tunl ip mode dir none"; - } - enum tunl-ip-mode-dir-decap { - description "tunl ip mode dir decap"; - } - enum tunl-ip-mode-dir-encap { - description "tunl ip mode dir encap"; - } - enum tunl-ip-mode-dir-max { - description "tunl ip mode dir max"; - } - } - description "Tunl ip mode dir"; - } - typedef Tunnel-gre-mode { - type enumeration { - enum unknown { - value 0; - description "Tunnel GRE mode is Unknown"; - } - enum gr-eo-ipv4 { - value 1; - description "Tunnel GRE Mode is IPv4"; - } - enum gr-eo-ipv6 { - value 2; - description "Tunnel GRE Mode is IPv6"; - } - enum mgr-eo-ipv4 { - value 3; - description "Tunnel MGRE Mode is IPv4"; - } - enum mgr-eo-ipv6 { - value 4; - description "Tunnel MGRE Mode is IPv6"; - } - enum ipv4 { - value 5; - description "Tunnel Mode is IPv4"; - } - enum ipv6 { - value 6; - description "Tunnel Mode is IPv6"; - } - } - description "Tunnel gre mode"; - } - typedef Tunl-pfi-in6-addr { - type inet:ipv6-address; - description "Tunl pfi in6 addr"; - } - typedef Tunl-pfi-in-addr { - type inet:ipv4-address; - description "Tunl pfi in addr"; - } - typedef Tunl-pfi-af-id { - type enumeration { - enum tunl-pfi-af-id-none { - value 0; - description "Unspecified AFI"; - } - enum tunl-pfi-af-id-ipv4 { - value 2; - description "IPv4 AFI"; - } - enum tunl-pfi-af-id-ipv6 { - value 10; - description "IPv6 AFI"; - } - } - description "Tunl pfi af id"; - } - typedef Sonet-aps-et { - type enumeration { - enum not-configured { - value 0; - description "APS not configured on port"; - } - enum working-active { - value 1; - description "Working port is up "; - } - enum protect-active { - value 2; - description "Protect port is up "; - } - enum working-inactive { - value 3; - description "Working port is down "; - } - enum protect-inactive { - value 4; - description "Protect port is down "; - } - } - description "APS states"; - } - typedef Bmd-member-type-enum { - type enumeration { - enum bmd-mbr-local { - value 0; - description - "Member has been configured on the local device"; - } - enum bmd-mbr-foreign { - value 1; - description - "Member has been configured on an mLACP peer - device"; - } - enum bmd-mbr-unknown { - value 2; - description "Member's type is unknown"; - } - } - description "Bmd member type enum"; - } - typedef Bm-muxreason { - type enumeration { - enum bm-mux-reason-no-reason { - value 0; - description - "Selection logic has not yet been run for the - bundle this link is a member of"; - } - enum bm-mux-reason-link-down { - value 1; - description "Link is down"; - } - enum bm-mux-reason-link-deleted { - value 2; - description "Link is being removed from the bundle"; - } - enum bm-mux-reason-duplex { - value 3; - description "Link has wrong duplexity"; - } - enum bm-mux-reason-bandwidth { - value 4; - description "Link has wrong bandwidth"; - } - enum bm-mux-reason-loop-back { - value 5; - description "Link is a loopback interface"; - } - enum bm-mux-reason-activity-type { - value 6; - description "Link has wrong activity type"; - } - enum bm-mux-reason-link-limit { - value 7; - description - "Link's bundle already has maximum number of - members allowed"; - } - enum bm-mux-reason-shared { - value 8; - description "Link is attached to a shared medium"; - } - enum bm-mux-reason-lagid { - value 9; - description "Link has wrong LAG ID"; - } - enum bm-mux-reason-no-bundle { - value 10; - description "Link's bundle does not exist"; - } - enum bm-mux-reason-no-primary { - value 11; - description "Link's bundle has no primary link"; - } - enum bm-mux-reason-bundle-down { - value 12; - description "Link's bundle is shut down"; - } - enum bm-mux-reason-individual { - value 13; - description "Link is marked individual by partner"; - } - enum bm-mux-reason-defaulted { - value 14; - description - "Link is Defaulted, suggesting it is not - receiving LACPDUs from the peer"; - } - enum bm-mux-reason-in-sync { - value 15; - description "Link is in InSync state"; - } - enum bm-mux-reason-collecting { - value 16; - description "Link is in Collecting state"; - } - enum bm-mux-reason-active-link-limit { - value 17; - description "Link exceeds maximum active limit"; - } - enum bm-mux-reason-distributing { - value 18; - description "Link is in Distributing state"; - } - enum bm-mux-reason-count { - value 19; - description "Enumeration maximum value"; - } - } - description "Bm muxreason"; - } - typedef Bmd-member-state { - type enumeration { - enum bmd-mbr-state-configured { - value 1; - description "Member is configured"; - } - enum bmd-mbr-state-standby { - value 2; - description "Member is standby"; - } - enum bmd-mbr-state-hot-standby { - value 3; - description "Member is hot standby"; - } - enum bmd-mbr-state-negotiating { - value 4; - description "Member is negotiating"; - } - enum bmd-mbr-state-bfd-running { - value 5; - description "Member has a BFD session running"; - } - enum bmd-mbr-state-active { - value 6; - description "Member is active"; - } - } - description "Bmd member state"; - } - typedef Bm-severity { - type enumeration { - enum ok { - value 0; - description "OK"; - } - enum information { - value 1; - description "Information"; - } - enum misconfiguration { - value 2; - description "Misconfiguration"; - } - enum warning { - value 3; - description "Warning"; - } - enum error { - value 5; - description "Error"; - } - } - description "Severity of the member state reason"; - } - typedef Bm-state-reason-target { - type enumeration { - enum member-reason { - description "Member applicable reason"; - } - enum bundle-reason { - description "Bundle applicable reason"; - } - } - description "Scope of the state reason"; - } - typedef Bm-mbr-state-reason { - type enumeration { - enum bm-mbr-state-reason-unknown { - value 0; - description "Reason unavailable (diagnostics error)"; - } - enum bm-mbr-state-reason-unselectable-unknown { - value 1; - description "Link cannot be used (unknown reason)"; - } - enum bm-mbr-state-reason-link-down { - value 2; - description "Link is down"; - } - enum bm-mbr-state-reason-link-deleting { - value 3; - description "Link is being removed from the bundle"; - } - enum bm-mbr-state-reason-creating { - value 4; - description "Link is in the process of being created"; - } - enum bm-mbr-state-reason-bundle-creating { - value 5; - description "Bundle is in the process of being created"; - } - enum bm-mbr-state-reason-bundle-deleting { - value 6; - description "Bundle is in the process of being deleted"; - } - enum bm-mbr-state-reason-bundle-admin-down { - value 7; - description "Bundle has been shut down"; - } - enum bm-mbr-state-reason-replicating { - value 8; - description - "Bundle is in the process of being replicated to - this location"; - } - enum bm-mbr-state-reason-bandwidth { - value 9; - description - "Incompatible with other links in the bundle - (bandwidth out of range)"; - } - enum bm-mbr-state-reason-loop-back { - value 10; - description - "Loopback: Actor and Partner have the same - System ID and Key"; - } - enum bm-mbr-state-reason-activity-type { - value 11; - description - "Incompatible with other links in the bundle - (LACP vs non-LACP)"; - } - enum bm-mbr-state-reason-bundle-shutdown { - value 12; - description "Bundle shutdown is configured for the bundle"; - } - enum bm-mbr-state-reason-min-selected { - value 13; - description - "Not enough links available to meet - minimum-active threshold"; - } - enum bm-mbr-state-reason-max-selected { - value 14; - description - "Link is Standby due to maximum-active links - configuration"; - } - enum bm-mbr-state-reason-link-limit { - value 15; - description "Bundle has too many member links configured"; - } - enum bm-mbr-state-reason-active-limit { - value 16; - description - "Bundle has reached maximum supported number of - active links"; - } - enum bm-mbr-state-reason-standby-unknown { - value 17; - description "Link is Standby (unknown reason)"; - } - enum bm-mbr-state-reason-expired { - value 18; - description - "Link is Expired; LACPDUs are not being received - from the partner"; - } - enum bm-mbr-state-reason-defaulted { - value 19; - description - "Link is Defaulted; LACPDUs are not being - received from the partner"; - } - enum bm-mbr-state-reason-act-or-not-agg { - value 20; - description "Link is Not Aggregatable (unknown reason)"; - } - enum bm-mbr-state-reason-partner-not-agg { - value 21; - description - "Partner has marked the link as Not Aggregatable"; - } - enum bm-mbr-state-reason-lagid { - value 22; - description - "Partner System ID/Key do not match that of the - Selected links"; - } - enum bm-mbr-state-reason-bundle-not-cfgd { - value 23; - description - "Bundle interface is not present in - configuration"; - } - enum bm-mbr-state-reason-bundle-not-ready { - value 24; - description "Wait-while timer is running"; - } - enum bm-mbr-state-reason-partner-ood { - value 25; - description - "Partner has not echoed the correct parameters - for this link"; - } - enum bm-mbr-state-reason-partner-not-in-sync { - value 26; - description - "Partner is not Synchronized (Waiting, Standby, - or LAG ID mismatch)"; - } - enum bm-mbr-state-reason-foreign-partner-oos { - value 27; - description - "Partner is not Synchronized (Waiting, not - Selected, or out-of-date)"; - } - enum bm-mbr-state-reason-attach-unknown { - value 28; - description - "Link is Attached and has not gone Collecting - (unknown reason)"; - } - enum bm-mbr-state-reason-partner-not-collecting { - value 29; - description - "Partner has not advertized that it is - Collecting"; - } - enum bm-mbr-state-reason-collect-unknown { - value 30; - description - "Link is Collecting and has not gone - Distributing (unknown reason)"; - } - enum bm-mbr-state-reason-standby-foreign { - value 31; - description "Link is marked as Standby by mLACP peer"; - } - enum bm-mbr-state-reason-bfd-starting { - value 32; - description "Link is waiting for BFD session to start"; - } - enum bm-mbr-state-reason-bfd-down { - value 33; - description "BFD state of this link is Down"; - } - enum bm-mbr-state-reason-bfd-nbr-unconfig { - value 34; - description "BFD session is unconfigured on the remote end"; - } - enum bm-mbr-state-reason-mlacp { - value 35; - description - "Link is not operational as a result of mLACP - negotiations"; - } - enum bm-mbr-state-reason-pe-isolated { - value 36; - description "ICCP group is isolated from the core network"; - } - enum bm-mbr-state-reason-forced-switchover { - value 37; - description "Forced switchover to the mLACP peer"; - } - enum bm-mbr-state-reason-errdis-unknown { - value 38; - description "Link is error disabled (unknown reason)"; - } - enum bm-mbr-state-reason-mlacp-no-mbr-state-info { - value 39; - description - "Waiting for member state information from mLACP - peer"; - } - enum bm-mbr-state-reason-active { - value 40; - description "Link is Active"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-state-info { - value 41; - description - "Waiting for bundle state information from mLACP - peer"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-config-info { - value 42; - description - "Waiting for bundle configuration information - from mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-no-bdl-sync { - value 43; - description - "Waiting for bundle to complete initial - synchronization with mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-bdl-has-no-peer { - value 44; - description "mLACP bundle does not have a peer device"; - } - enum bm-mbr-state-reason-mlacp-nak { - value 45; - description - "Link is being ignored due to an inconsistency - with mLACP peer"; - } - enum bm-mbr-state-reason-mlacp-transport-unavailable { - value 46; - description "ICCP transport is unavailable"; - } - enum bm-mbr-state-reason-mlacp-not-configured { - value 47; - description "ICCP Group is not fully configured"; - } - enum bm-mbr-state-reason-recovery-timer { - value 48; - description "mLACP recovery delay timer is running"; - } - enum bm-mbr-state-reason-mlacp-standby { - value 49; - description "mLACP peer is active"; - } - enum bm-mbr-state-reason-maximized-out { - value 50; - description "mLACP peer has more links/bandwidth available"; - } - enum bm-mbr-state-reason-mlacp-peer-selected { - value 51; - description "mLACP peer has one or more links Selected"; - } - enum bm-mbr-state-reason-mlacp-connect-timer-running { - value 52; - description - "mLACP bundle does not have a peer device - (connect timer running)"; - } - enum bm-mbr-state-reason-bundle-not-mlacp { - value 53; - description "Bundle is not configured to run mLACP"; - } - enum bm-mbr-state-reason-no-lon { - value 54; - description - "Bundle has too many working links configured - (more than the maximum-active limit)"; - } - enum bm-mbr-state-reason-cumul-rel-bw-limit { - value 55; - description - "Additional bandwidth from link would exceed - load balancing capabilities"; - } - enum bm-mbr-state-reason-no-mac { - value 56; - description "No MAC address available for the bundle"; - } - enum bm-mbr-state-reason-no-system-id { - value 57; - description "No system ID available for use by this bundle"; - } - enum bm-mbr-state-reason-link-shutdown { - value 58; - description "Link is shutdown"; - } - enum bm-mbr-state-reason-activity-mlacp { - value 59; - description "Non-LACP link in mLACP bundle"; - } - enum bm-mbr-state-reason-activity-iccp { - value 60; - description "LACP link in inter-chassis bundle"; - } - enum bm-mbr-state-reason-bundle-icpe-mlacp { - value 61; - description - "Parent bundle is both inter-chassis and - configured for mLACP"; - } - enum bm-mbr-state-reason-no-link-num { - value 62; - description - "Too many bundle members in system; no link - number available"; - } - enum bm-mbr-state-reason-standby-peer-higher-prio { - value 63; - description "mLACP peer has a higher priority link"; - } - enum bm-mbr-state-reason-red-state-standby { - value 64; - description "Link is in standby redundancy state"; - } - enum bm-mbr-state-reason-other-red-state-standby { - value 65; - description - "One or more links in the bundle are in standby - redundancy state"; - } - enum bm-mbr-state-reason-hold-ing { - value 66; - description - "Holding down temporary to avoid churn after - restart"; - } - enum bm-mbr-state-reason-bundle-error-disabled { - value 67; - description "Bundle has been error-disabled"; - } - enum bm-mbr-state-reason-bundle-efd-disabled { - value 68; - description "Bundle has been disabled by EFD"; - } - enum bm-mbr-state-reason-singleton-pe-isolated { - value 69; - description - "Singleton ICCP group is isolated from the core - network"; - } - enum bm-mbr-state-reason-bfd-ipv6-starting { - value 70; - description "Link is waiting for BFDv6 session to start"; - } - enum bm-mbr-state-reason-bfd-ipv6-down { - value 71; - description "BFDv6 state of this link is Down"; - } - enum bm-mbr-state-reason-bfd-ipv6-nbr-unconfig { - value 72; - description - "BFDv6 session is unconfigured on the remote end"; - } - enum bm-mbr-state-reason-timer-running { - value 73; - description "LACP delay timer is running"; - } - enum bm-mbr-state-reason-client-bundle-ctrl { - value 74; - description "Client has configured the bundle state Down"; - } - enum bm-mbr-state-reason-count { - value 75; - description "Enumeration maximum value"; - } - } - description "Bm mbr state reason"; - } - typedef Bm-muxstate { - type enumeration { - enum detached { - value 1; - description "Port is not attached to a bundle"; - } - enum waiting { - value 2; - description "Port has chosen bundle and is waiting to join"; - } - enum attached { - value 3; - description "Port is attached to the bundle but not active"; - } - enum collecting { - value 4; - description "Port is ready to receive data"; - } - enum distributing { - value 5; - description "Port is distributing data"; - } - enum collecting-distributing { - value 6; - description "Port is active and can send and receive data"; - } - } - description "Bm muxstate"; - } - typedef Srp-mgmt-srr-failure { - type enumeration { - enum idle-srr-failure { - description "Idle"; - } - enum wait-to-restore-srr-failure { - description "Wait To Restore"; - } - enum signal-fail-srr-failure { - description "Signal Fail"; - } - enum forced-switch-srr-failure { - description "Forced Switch"; - } - enum unknown-srr-failure { - description "UNKNOWN"; - } - } - description "SRP SRR failure type"; - } - typedef Srp-mgmt-srr-node-state { - type enumeration { - enum idle-srr-state { - description "Idle"; - } - enum discovery-srr-state { - description "Discovery"; - } - enum unknown-srr-state { - description "UNKNOWN"; - } - } - description "SRP SRR node state"; - } - typedef Srp-mgmt-ips-path-ind { - type enumeration { - enum short-path { - description "SHORT"; - } - enum long-path { - description "LONG"; - } - enum unknown-path { - description "UNKNOWN"; - } - } - description "SRP IPS path indication"; - } - typedef Srp-mgmt-failure-state-et { - type enumeration { - enum idle-failure-state { - description "Idle"; - } - enum wait-to-restore-failure-state { - description "Wait To Restore"; - } - enum manual-switch-failure-state { - description "Manual Switch"; - } - enum signal-degrade-failure-state { - description "Signal Degrade"; - } - enum signal-fail-failure-state { - description "Signal Fail"; - } - enum forced-switch-failure-state { - description "Forced Switch"; - } - enum shutdown-failure-state { - description "Shutdown"; - } - enum invalid-failure-state { - description "Invalid"; - } - enum unknown-failure-state { - description "Unknown"; - } - } - description "SRP failure state type"; - } - typedef Srp-mgmt-failure-et { - type enumeration { - enum hardware-missing-failure { - description "Hardware missing"; - } - enum layer1-admin-state-failure { - description "L1 admin state"; - } - enum layer1-error-failure { - description "Layer 1 error"; - } - enum keepalive-missed-failure { - description "Keepalive missed"; - } - enum link-quality-degraded-failure { - description "Link quality degraded"; - } - enum mate-problem-failure { - description "Mate problem"; - } - enum side-mismatch-failure { - description "Side mismatch"; - } - enum unknown-failure { - description "Unknown"; - } - } - description "SRP failure type"; - } - typedef Srp-mgmt-ips-req { - type enumeration { - enum idle-ips-request { - description "Idle"; - } - enum wait-to-restore-ips-request { - description "Wait To Restore"; - } - enum manual-switch-ips-request { - description "Manual Switch"; - } - enum signal-degrade-ips-request { - description "Signal Degrade"; - } - enum signal-fail-ips-request { - description "Signal Fail"; - } - enum forced-switch-ips-request { - description "Forced Switch"; - } - enum unknown-ips-request { - description "UNKNOWN"; - } - } - description "SRP IPS request type"; - } - typedef Srp-mgmt-ips-wrap-state { - type enumeration { - enum idle-wrap-state { - description "Idle"; - } - enum wrapped-state { - description "Wrapped"; - } - enum locked-out-wrap-state { - description "Locked out"; - } - enum unknown-wrap-state { - description "UNKNOWN"; - } - } - description "SRP IPS side wrap state"; - } - typedef Im-cmd-intf-type-enum { - type enumeration { - enum srp { - description "srp"; - } - enum tunnel { - description "tunnel"; - } - enum bundle { - description "bundle"; - } - enum serial { - description "serial"; - } - enum sonet-pos { - description "sonet pos"; - } - enum tunnel-gre { - description "tunnel gre"; - } - enum pseudowire-head-end { - description "pseudowire head end"; - } - enum cem { - description "cem"; - } - enum gcc { - description "gcc"; - } - } - description "Im cmd intf type enum"; - } - typedef Ncp-ident { - type enumeration { - enum cdpcp { - value 1; - description "CDP control protocol"; - } - enum ipcp { - value 2; - description "IPv4 control protocol"; - } - enum ipcpiw { - value 3; - description "IPv4 Interworking control protocol"; - } - enum ipv6cp { - value 4; - description "IPv6 control protocol"; - } - enum mplscp { - value 5; - description "MPLS control protocol"; - } - enum osicp { - value 6; - description "OSI (CLNS) control protocol"; - } - } - description "Ncp ident"; - } - typedef Ppp-fsm-state { - type enumeration { - enum ppp-fsm-state-initial-0 { - value 0; - description "Connection Idle"; - } - enum ppp-fsm-state-starting-1 { - value 1; - description "This layer required, but lower layer down"; - } - enum ppp-fsm-state-closed-2 { - value 2; - description "Lower layer up, but this layer not required"; - } - enum ppp-fsm-state-stopped-3 { - value 3; - description "Listening for a Config Request"; - } - enum ppp-fsm-state-closing-4 { - value 4; - description "Shutting down due to local change"; - } - enum ppp-fsm-state-stopping-5 { - value 5; - description "Shutting down due to peer's actions"; - } - enum ppp-fsm-state-req-sent-6 { - value 6; - description "Config Request Sent"; - } - enum ppp-fsm-state-ack-rcvd-7 { - value 7; - description "Config Ack Received"; - } - enum ppp-fsm-state-ack-sent-8 { - value 8; - description "Config Ack Sent"; - } - enum ppp-fsm-state-opened-9 { - value 9; - description "Connection Open"; - } - } - description "Ppp fsm state"; - } - typedef Mac-address { - type yang:mac-address; - description "MAC address type"; - } - typedef Efp-payload-etype { - type enumeration { - enum payload-ethertype-any { - value 0; - description "Any"; - } - enum payload-ethertype-ip { - value 1; - description "IP"; - } - enum payload-ethertype-pppoe { - value 2; - description "PPPoE"; - } - } - description "Payload ethertype match"; - } - typedef Efp-tag-priority { - type enumeration { - enum priority0 { - value 0; - description "Priority 0"; - } - enum priority1 { - value 1; - description "Priority 1"; - } - enum priority2 { - value 2; - description "Priority 2"; - } - enum priority3 { - value 3; - description "Priority 3"; - } - enum priority4 { - value 4; - description "Priority 4"; - } - enum priority5 { - value 5; - description "Priority 5"; - } - enum priority6 { - value 6; - description "Priority 6"; - } - enum priority7 { - value 7; - description "Priority 7"; - } - enum priority-any { - value 8; - description "Any priority"; - } - } - description "Priority"; - } - typedef Efp-tag-etype { - type enumeration { - enum untagged { - value 0; - description "Untagged"; - } - enum dot1q { - value 33024; - description "Dot1Q"; - } - enum dot1ad { - value 34984; - description "Dot1ad"; - } - } - description "Tag ethertype"; - } - typedef Vlan-tag-value { - type uint16; - description "VLAN Tag Value (1 - 4094)"; - } - typedef Vlan-encaps { - type enumeration { - enum no-encapsulation { - value 0; - description "No encapsulation"; - } - enum dot1q { - value 1; - description "IEEE 802.1Q encapsulation"; - } - enum qinq { - value 2; - description "Double 802.1Q encapsulation"; - } - enum qin-any { - value 3; - description "Double 802.1Q wildcarded encapsulation"; - } - enum dot1q-native { - value 4; - description "IEEE 802.1Q native VLAN encapsulation"; - } - enum dot1ad { - value 5; - description "IEEE 802.1ad encapsulation"; - } - enum dot1ad-native { - value 6; - description "IEEE 802.1ad native VLAN encapsulation"; - } - enum service-instance { - value 7; - description "Ethernet Service Instance"; - } - enum dot1ad-dot1q { - value 8; - description "IEEE 802.1ad 802.1Q encapsulation"; - } - enum dot1ad-any { - value 9; - description "IEEE 802.1ad wildcard 802.1Q encapsulation"; - } - } - description "VLAN encapsulation"; - } - typedef Im-cmd-lmi-type-enum { - type enumeration { - enum lmi-type-auto { - description "lmi type auto"; - } - enum lmi-type-ansi { - description "lmi type ansi"; - } - enum lmi-type-ccitt { - description "lmi type ccitt"; - } - enum lmi-type-cisco { - description "lmi type cisco"; - } - } - description "Im cmd lmi type enum"; - } - typedef Im-cmd-fr-type-enum { - type enumeration { - enum frame-relay-cisco { - description "frame relay cisco"; - } - enum frame-relay-ietf { - description "frame relay ietf"; - } - } - description "Im cmd fr type enum"; - } - typedef Im-cmd-encaps-enum { - type enumeration { - enum frame-relay { - description "frame relay"; - } - enum vlan { - description "vlan"; - } - enum ppp { - description "ppp"; - } - } - description "Im cmd encaps enum"; - } - typedef Im-attr-transport-mode { - type enumeration { - enum im-attr-transport-mode-unknown { - value 0; - description "im attr transport mode unknown"; - } - enum im-attr-transport-mode-lan { - value 1; - description "im attr transport mode lan"; - } - enum im-attr-transport-mode-wan { - value 2; - description "im attr transport mode wan"; - } - enum im-attr-transport-mode-otn-bt-opu1e { - value 3; - description "im attr transport mode otn bt opu1e"; - } - enum im-attr-transport-mode-otn-bt-opu2e { - value 4; - description "im attr transport mode otn bt opu2e"; - } - enum im-attr-transport-mode-otn-opu3 { - value 5; - description "im attr transport mode otn opu3"; - } - enum im-attr-transport-mode-otn-opu4 { - value 6; - description "im attr transport mode otn opu4"; - } - } - description "Im attr transport mode"; - } - typedef Im-cmd-loopback-enum { - type enumeration { - enum no-loopback { - description "no loopback"; - } - enum internal-loopback { - description "internal loopback"; - } - enum external-loopback { - description "external loopback"; - } - enum line-loopback { - description "line loopback"; - } - } - description "Im cmd loopback enum"; - } - typedef Im-attr-flow-control { - type enumeration { - enum im-attr-flow-control-off { - value 0; - description "im attr flow control off"; - } - enum im-attr-flow-control-on { - value 1; - description "im attr flow control on"; - } - enum im-attr-flow-control-not-sup { - value 2; - description "im attr flow control not sup"; - } - enum im-attr-flow-control-priority { - value 3; - description "im attr flow control priority"; - } - } - description "Im attr flow control"; - } - typedef Im-attr-link { - type enumeration { - enum im-attr-link-type-auto { - value 0; - description "im attr link type auto"; - } - enum im-attr-link-type-force { - value 1; - description "im attr link type force"; - } - } - description "Im attr link"; - } - typedef Im-attr-media { - type enumeration { - enum im-attr-media-other { - value 0; - description "im attr media other"; - } - enum im-attr-media-unknown { - value 1; - description "im attr media unknown"; - } - enum im-attr-media-aui { - value 2; - description "im attr media aui"; - } - enum im-attr-media-10base5 { - value 3; - description "im attr media 10base5"; - } - enum im-attr-media-foirl { - value 4; - description "im attr media foirl"; - } - enum im-attr-media-10base2 { - value 5; - description "im attr media 10base2"; - } - enum im-attr-media-10broad36 { - value 6; - description "im attr media 10broad36"; - } - enum im-attr-media-10base { - value 7; - description "im attr media 10base"; - } - enum im-attr-media-10base-thd { - value 8; - description "im attr media 10base thd"; - } - enum im-attr-media-10base-tfd { - value 9; - description "im attr media 10base tfd"; - } - enum im-attr-media-10base-fp { - value 10; - description "im attr media 10base fp"; - } - enum im-attr-media-10base-fb { - value 11; - description "im attr media 10base fb"; - } - enum im-attr-media-10base-fl { - value 12; - description "im attr media 10base fl"; - } - enum im-attr-media-10base-flhd { - value 13; - description "im attr media 10base flhd"; - } - enum im-attr-media-10base-flfd { - value 14; - description "im attr media 10base flfd"; - } - enum im-attr-media-100base-t4 { - value 15; - description "im attr media 100base t4"; - } - enum im-attr-media-100base-tx { - value 16; - description "im attr media 100base tx"; - } - enum im-attr-media-100base-txhd { - value 17; - description "im attr media 100base txhd"; - } - enum im-attr-media-100base-txfd { - value 18; - description "im attr media 100base txfd"; - } - enum im-attr-media-100base-fx { - value 19; - description "im attr media 100base fx"; - } - enum im-attr-media-100base-fxhd { - value 20; - description "im attr media 100base fxhd"; - } - enum im-attr-media-100base-fxfd { - value 21; - description "im attr media 100base fxfd"; - } - enum im-attr-media-100base-ex { - value 22; - description "im attr media 100base ex"; - } - enum im-attr-media-100base-exhd { - value 23; - description "im attr media 100base exhd"; - } - enum im-attr-media-100base-exfd { - value 24; - description "im attr media 100base exfd"; - } - enum im-attr-media-100base-t2 { - value 25; - description "im attr media 100base t2"; - } - enum im-attr-media-100base-t2hd { - value 26; - description "im attr media 100base t2hd"; - } - enum im-attr-media-100base-t2fd { - value 27; - description "im attr media 100base t2fd"; - } - enum im-attr-media-1000base-x { - value 28; - description "im attr media 1000base x"; - } - enum im-attr-media-1000base-xhdx { - value 29; - description "im attr media 1000base xhdx"; - } - enum im-attr-media-1000base-xfd { - value 30; - description "im attr media 1000base xfd"; - } - enum im-attr-media-1000base-lx { - value 31; - description "im attr media 1000base lx"; - } - enum im-attr-media-1000base-lxhd { - value 32; - description "im attr media 1000base lxhd"; - } - enum im-attr-media-1000base-lxfdx { - value 33; - description "im attr media 1000base lxfdx"; - } - enum im-attr-media-1000base-sx { - value 34; - description "im attr media 1000base sx"; - } - enum im-attr-media-1000base-sxhd { - value 35; - description "im attr media 1000base sxhd"; - } - enum im-attr-media-1000base-sxfd { - value 36; - description "im attr media 1000base sxfd"; - } - enum im-attr-media-1000base-cx { - value 37; - description "im attr media 1000base cx"; - } - enum im-attr-media-1000base-cxhdx { - value 38; - description "im attr media 1000base cxhdx"; - } - enum im-attr-media-1000base-cxfd { - value 39; - description "im attr media 1000base cxfd"; - } - enum im-attr-media-1000base { - value 40; - description "im attr media 1000base"; - } - enum im-attr-media-1000base-thd { - value 41; - description "im attr media 1000base thd"; - } - enum im-attr-media-1000base-tfd { - value 42; - description "im attr media 1000base tfd"; - } - enum im-attr-media-10gbase-x { - value 43; - description "im attr media 10gbase x"; - } - enum im-attr-media-10gbase-lx4 { - value 44; - description "im attr media 10gbase lx4"; - } - enum im-attr-media-10gbase-r { - value 45; - description "im attr media 10gbase r"; - } - enum im-attr-media-10gbase-er { - value 46; - description "im attr media 10gbase er"; - } - enum im-attr-media-10gbase-lr { - value 47; - description "im attr media 10gbase lr"; - } - enum im-attr-media-10gbase-sr { - value 48; - description "im attr media 10gbase sr"; - } - enum im-attr-media-10gbase-w { - value 49; - description "im attr media 10gbase w"; - } - enum im-attr-media-10gbase-ew { - value 50; - description "im attr media 10gbase ew"; - } - enum im-attr-media-10gbase-lw { - value 51; - description "im attr media 10gbase lw"; - } - enum im-attr-media-10gbase-sw { - value 52; - description "im attr media 10gbase sw"; - } - enum im-attr-media-10gbase-zr { - value 53; - description "im attr media 10gbase zr"; - } - enum im-attr-media-802-9a { - value 54; - description "im attr media 802 9a"; - } - enum im-attr-media-rj45 { - value 55; - description "im attr media rj45"; - } - enum im-attr-media-1000base-zx { - value 56; - description "im attr media 1000base zx"; - } - enum im-attr-media-1000base-cwdm { - value 57; - description "im attr media 1000base cwdm"; - } - enum im-attr-media-1000base-cwdm-1470 { - value 58; - description "im attr media 1000base cwdm 1470"; - } - enum im-attr-media-1000base-cwdm-1490 { - value 59; - description "im attr media 1000base cwdm 1490"; - } - enum im-attr-media-1000base-cwdm-1510 { - value 60; - description "im attr media 1000base cwdm 1510"; - } - enum im-attr-media-1000base-cwdm-1530 { - value 61; - description "im attr media 1000base cwdm 1530"; - } - enum im-attr-media-1000base-cwdm-1550 { - value 62; - description "im attr media 1000base cwdm 1550"; - } - enum im-attr-media-1000base-cwdm-1570 { - value 63; - description "im attr media 1000base cwdm 1570"; - } - enum im-attr-media-1000base-cwdm-1590 { - value 64; - description "im attr media 1000base cwdm 1590"; - } - enum im-attr-media-1000base-cwdm-1610 { - value 65; - description "im attr media 1000base cwdm 1610"; - } - enum im-attr-media-10gbase-dwdm { - value 66; - description "im attr media 10gbase dwdm"; - } - enum im-attr-media-100gbase-lr4 { - value 67; - description "im attr media 100gbase lr4"; - } - enum im-attr-media-1000base-dwdm { - value 68; - description "im attr media 1000base dwdm"; - } - enum im-attr-media-1000base-dwdm-1533 { - value 69; - description "im attr media 1000base dwdm 1533"; - } - enum im-attr-media-1000base-dwdm-1537 { - value 70; - description "im attr media 1000base dwdm 1537"; - } - enum im-attr-media-1000base-dwdm-1541 { - value 71; - description "im attr media 1000base dwdm 1541"; - } - enum im-attr-media-1000base-dwdm-1545 { - value 72; - description "im attr media 1000base dwdm 1545"; - } - enum im-attr-media-1000base-dwdm-1549 { - value 73; - description "im attr media 1000base dwdm 1549"; - } - enum im-attr-media-1000base-dwdm-1553 { - value 74; - description "im attr media 1000base dwdm 1553"; - } - enum im-attr-media-1000base-dwdm-1557 { - value 75; - description "im attr media 1000base dwdm 1557"; - } - enum im-attr-media-1000base-dwdm-1561 { - value 76; - description "im attr media 1000base dwdm 1561"; - } - enum im-attr-media-40gbase-lr4 { - value 77; - description "im attr media 40gbase lr4"; - } - enum im-attr-media-40gbase-er4 { - value 78; - description "im attr media 40gbase er4"; - } - enum im-attr-media-100gbase-er4 { - value 79; - description "im attr media 100gbase er4"; - } - enum im-attr-media-1000base-ex { - value 80; - description "im attr media 1000base ex"; - } - enum im-attr-media-1000base-bx10-d { - value 81; - description "im attr media 1000base bx10 d"; - } - enum im-attr-media-1000base-bx10-u { - value 82; - description "im attr media 1000base bx10 u"; - } - enum im-attr-media-1000base-dwdm-1561-42 { - value 83; - description "im attr media 1000base dwdm 1561 42"; - } - enum im-attr-media-1000base-dwdm-1560-61 { - value 84; - description "im attr media 1000base dwdm 1560 61"; - } - enum im-attr-media-1000base-dwdm-1559-79 { - value 85; - description "im attr media 1000base dwdm 1559 79"; - } - enum im-attr-media-1000base-dwdm-1558-98 { - value 86; - description "im attr media 1000base dwdm 1558 98"; - } - enum im-attr-media-1000base-dwdm-1558-17 { - value 87; - description "im attr media 1000base dwdm 1558 17"; - } - enum im-attr-media-1000base-dwdm-1557-36 { - value 88; - description "im attr media 1000base dwdm 1557 36"; - } - enum im-attr-media-1000base-dwdm-1556-55 { - value 89; - description "im attr media 1000base dwdm 1556 55"; - } - enum im-attr-media-1000base-dwdm-1555-75 { - value 90; - description "im attr media 1000base dwdm 1555 75"; - } - enum im-attr-media-1000base-dwdm-1554-94 { - value 91; - description "im attr media 1000base dwdm 1554 94"; - } - enum im-attr-media-1000base-dwdm-1554-13 { - value 92; - description "im attr media 1000base dwdm 1554 13"; - } - enum im-attr-media-1000base-dwdm-1553-33 { - value 93; - description "im attr media 1000base dwdm 1553 33"; - } - enum im-attr-media-1000base-dwdm-1552-52 { - value 94; - description "im attr media 1000base dwdm 1552 52"; - } - enum im-attr-media-1000base-dwdm-1551-72 { - value 95; - description "im attr media 1000base dwdm 1551 72"; - } - enum im-attr-media-1000base-dwdm-1550-92 { - value 96; - description "im attr media 1000base dwdm 1550 92"; - } - enum im-attr-media-1000base-dwdm-1550-12 { - value 97; - description "im attr media 1000base dwdm 1550 12"; - } - enum im-attr-media-1000base-dwdm-1549-32 { - value 98; - description "im attr media 1000base dwdm 1549 32"; - } - enum im-attr-media-1000base-dwdm-1548-51 { - value 99; - description "im attr media 1000base dwdm 1548 51"; - } - enum im-attr-media-1000base-dwdm-1547-72 { - value 100; - description "im attr media 1000base dwdm 1547 72"; - } - enum im-attr-media-1000base-dwdm-1546-92 { - value 101; - description "im attr media 1000base dwdm 1546 92"; - } - enum im-attr-media-1000base-dwdm-1546-12 { - value 102; - description "im attr media 1000base dwdm 1546 12"; - } - enum im-attr-media-1000base-dwdm-1545-32 { - value 103; - description "im attr media 1000base dwdm 1545 32"; - } - enum im-attr-media-1000base-dwdm-1544-53 { - value 104; - description "im attr media 1000base dwdm 1544 53"; - } - enum im-attr-media-1000base-dwdm-1543-73 { - value 105; - description "im attr media 1000base dwdm 1543 73"; - } - enum im-attr-media-1000base-dwdm-1542-94 { - value 106; - description "im attr media 1000base dwdm 1542 94"; - } - enum im-attr-media-1000base-dwdm-1542-14 { - value 107; - description "im attr media 1000base dwdm 1542 14"; - } - enum im-attr-media-1000base-dwdm-1541-35 { - value 108; - description "im attr media 1000base dwdm 1541 35"; - } - enum im-attr-media-1000base-dwdm-1540-56 { - value 109; - description "im attr media 1000base dwdm 1540 56"; - } - enum im-attr-media-1000base-dwdm-1539-77 { - value 110; - description "im attr media 1000base dwdm 1539 77"; - } - enum im-attr-media-1000base-dwdm-1538-98 { - value 111; - description "im attr media 1000base dwdm 1538 98"; - } - enum im-attr-media-1000base-dwdm-1538-19 { - value 112; - description "im attr media 1000base dwdm 1538 19"; - } - enum im-attr-media-1000base-dwdm-1537-40 { - value 113; - description "im attr media 1000base dwdm 1537 40"; - } - enum im-attr-media-1000base-dwdm-1536-61 { - value 114; - description "im attr media 1000base dwdm 1536 61"; - } - enum im-attr-media-1000base-dwdm-1535-82 { - value 115; - description "im attr media 1000base dwdm 1535 82"; - } - enum im-attr-media-1000base-dwdm-1535-04 { - value 116; - description "im attr media 1000base dwdm 1535 04"; - } - enum im-attr-media-1000base-dwdm-1534-25 { - value 117; - description "im attr media 1000base dwdm 1534 25"; - } - enum im-attr-media-1000base-dwdm-1533-47 { - value 118; - description "im attr media 1000base dwdm 1533 47"; - } - enum im-attr-media-1000base-dwdm-1532-68 { - value 119; - description "im attr media 1000base dwdm 1532 68"; - } - enum im-attr-media-1000base-dwdm-1531-90 { - value 120; - description "im attr media 1000base dwdm 1531 90"; - } - enum im-attr-media-1000base-dwdm-1531-12 { - value 121; - description "im attr media 1000base dwdm 1531 12"; - } - enum im-attr-media-1000base-dwdm-1530-33 { - value 122; - description "im attr media 1000base dwdm 1530 33"; - } - enum im-attr-media-1000base-dwdm-tunable { - value 123; - description "im attr media 1000base dwdm tunable"; - } - enum im-attr-media-10gbase-dwdm-1561-42 { - value 124; - description "im attr media 10gbase dwdm 1561 42"; - } - enum im-attr-media-10gbase-dwdm-1560-61 { - value 125; - description "im attr media 10gbase dwdm 1560 61"; - } - enum im-attr-media-10gbase-dwdm-1559-79 { - value 126; - description "im attr media 10gbase dwdm 1559 79"; - } - enum im-attr-media-10gbase-dwdm-1558-98 { - value 127; - description "im attr media 10gbase dwdm 1558 98"; - } - enum im-attr-media-10gbase-dwdm-1558-17 { - value 128; - description "im attr media 10gbase dwdm 1558 17"; - } - enum im-attr-media-10gbase-dwdm-1557-36 { - value 129; - description "im attr media 10gbase dwdm 1557 36"; - } - enum im-attr-media-10gbase-dwdm-1556-55 { - value 130; - description "im attr media 10gbase dwdm 1556 55"; - } - enum im-attr-media-10gbase-dwdm-1555-75 { - value 131; - description "im attr media 10gbase dwdm 1555 75"; - } - enum im-attr-media-10gbase-dwdm-1554-94 { - value 132; - description "im attr media 10gbase dwdm 1554 94"; - } - enum im-attr-media-10gbase-dwdm-1554-13 { - value 133; - description "im attr media 10gbase dwdm 1554 13"; - } - enum im-attr-media-10gbase-dwdm-1553-33 { - value 134; - description "im attr media 10gbase dwdm 1553 33"; - } - enum im-attr-media-10gbase-dwdm-1552-52 { - value 135; - description "im attr media 10gbase dwdm 1552 52"; - } - enum im-attr-media-10gbase-dwdm-1551-72 { - value 136; - description "im attr media 10gbase dwdm 1551 72"; - } - enum im-attr-media-10gbase-dwdm-1550-92 { - value 137; - description "im attr media 10gbase dwdm 1550 92"; - } - enum im-attr-media-10gbase-dwdm-1550-12 { - value 138; - description "im attr media 10gbase dwdm 1550 12"; - } - enum im-attr-media-10gbase-dwdm-1549-32 { - value 139; - description "im attr media 10gbase dwdm 1549 32"; - } - enum im-attr-media-10gbase-dwdm-1548-51 { - value 140; - description "im attr media 10gbase dwdm 1548 51"; - } - enum im-attr-media-10gbase-dwdm-1547-72 { - value 141; - description "im attr media 10gbase dwdm 1547 72"; - } - enum im-attr-media-10gbase-dwdm-1546-92 { - value 142; - description "im attr media 10gbase dwdm 1546 92"; - } - enum im-attr-media-10gbase-dwdm-1546-12 { - value 143; - description "im attr media 10gbase dwdm 1546 12"; - } - enum im-attr-media-10gbase-dwdm-1545-32 { - value 144; - description "im attr media 10gbase dwdm 1545 32"; - } - enum im-attr-media-10gbase-dwdm-1544-53 { - value 145; - description "im attr media 10gbase dwdm 1544 53"; - } - enum im-attr-media-10gbase-dwdm-1543-73 { - value 146; - description "im attr media 10gbase dwdm 1543 73"; - } - enum im-attr-media-10gbase-dwdm-1542-94 { - value 147; - description "im attr media 10gbase dwdm 1542 94"; - } - enum im-attr-media-10gbase-dwdm-1542-14 { - value 148; - description "im attr media 10gbase dwdm 1542 14"; - } - enum im-attr-media-10gbase-dwdm-1541-35 { - value 149; - description "im attr media 10gbase dwdm 1541 35"; - } - enum im-attr-media-10gbase-dwdm-1540-56 { - value 150; - description "im attr media 10gbase dwdm 1540 56"; - } - enum im-attr-media-10gbase-dwdm-1539-77 { - value 151; - description "im attr media 10gbase dwdm 1539 77"; - } - enum im-attr-media-10gbase-dwdm-1538-98 { - value 152; - description "im attr media 10gbase dwdm 1538 98"; - } - enum im-attr-media-10gbase-dwdm-1538-19 { - value 153; - description "im attr media 10gbase dwdm 1538 19"; - } - enum im-attr-media-10gbase-dwdm-1537-40 { - value 154; - description "im attr media 10gbase dwdm 1537 40"; - } - enum im-attr-media-10gbase-dwdm-1536-61 { - value 155; - description "im attr media 10gbase dwdm 1536 61"; - } - enum im-attr-media-10gbase-dwdm-1535-82 { - value 156; - description "im attr media 10gbase dwdm 1535 82"; - } - enum im-attr-media-10gbase-dwdm-1535-04 { - value 157; - description "im attr media 10gbase dwdm 1535 04"; - } - enum im-attr-media-10gbase-dwdm-1534-25 { - value 158; - description "im attr media 10gbase dwdm 1534 25"; - } - enum im-attr-media-10gbase-dwdm-1533-47 { - value 159; - description "im attr media 10gbase dwdm 1533 47"; - } - enum im-attr-media-10gbase-dwdm-1532-68 { - value 160; - description "im attr media 10gbase dwdm 1532 68"; - } - enum im-attr-media-10gbase-dwdm-1531-90 { - value 161; - description "im attr media 10gbase dwdm 1531 90"; - } - enum im-attr-media-10gbase-dwdm-1531-12 { - value 162; - description "im attr media 10gbase dwdm 1531 12"; - } - enum im-attr-media-10gbase-dwdm-1530-33 { - value 163; - description "im attr media 10gbase dwdm 1530 33"; - } - enum im-attr-media-10gbase-dwdm-tunable { - value 164; - description "im attr media 10gbase dwdm tunable"; - } - enum im-attr-media-40gbase-dwdm-1561-42 { - value 165; - description "im attr media 40gbase dwdm 1561 42"; - } - enum im-attr-media-40gbase-dwdm-1560-61 { - value 166; - description "im attr media 40gbase dwdm 1560 61"; - } - enum im-attr-media-40gbase-dwdm-1559-79 { - value 167; - description "im attr media 40gbase dwdm 1559 79"; - } - enum im-attr-media-40gbase-dwdm-1558-98 { - value 168; - description "im attr media 40gbase dwdm 1558 98"; - } - enum im-attr-media-40gbase-dwdm-1558-17 { - value 169; - description "im attr media 40gbase dwdm 1558 17"; - } - enum im-attr-media-40gbase-dwdm-1557-36 { - value 170; - description "im attr media 40gbase dwdm 1557 36"; - } - enum im-attr-media-40gbase-dwdm-1556-55 { - value 171; - description "im attr media 40gbase dwdm 1556 55"; - } - enum im-attr-media-40gbase-dwdm-1555-75 { - value 172; - description "im attr media 40gbase dwdm 1555 75"; - } - enum im-attr-media-40gbase-dwdm-1554-94 { - value 173; - description "im attr media 40gbase dwdm 1554 94"; - } - enum im-attr-media-40gbase-dwdm-1554-13 { - value 174; - description "im attr media 40gbase dwdm 1554 13"; - } - enum im-attr-media-40gbase-dwdm-1553-33 { - value 175; - description "im attr media 40gbase dwdm 1553 33"; - } - enum im-attr-media-40gbase-dwdm-1552-52 { - value 176; - description "im attr media 40gbase dwdm 1552 52"; - } - enum im-attr-media-40gbase-dwdm-1551-72 { - value 177; - description "im attr media 40gbase dwdm 1551 72"; - } - enum im-attr-media-40gbase-dwdm-1550-92 { - value 178; - description "im attr media 40gbase dwdm 1550 92"; - } - enum im-attr-media-40gbase-dwdm-1550-12 { - value 179; - description "im attr media 40gbase dwdm 1550 12"; - } - enum im-attr-media-40gbase-dwdm-1549-32 { - value 180; - description "im attr media 40gbase dwdm 1549 32"; - } - enum im-attr-media-40gbase-dwdm-1548-51 { - value 181; - description "im attr media 40gbase dwdm 1548 51"; - } - enum im-attr-media-40gbase-dwdm-1547-72 { - value 182; - description "im attr media 40gbase dwdm 1547 72"; - } - enum im-attr-media-40gbase-dwdm-1546-92 { - value 183; - description "im attr media 40gbase dwdm 1546 92"; - } - enum im-attr-media-40gbase-dwdm-1546-12 { - value 184; - description "im attr media 40gbase dwdm 1546 12"; - } - enum im-attr-media-40gbase-dwdm-1545-32 { - value 185; - description "im attr media 40gbase dwdm 1545 32"; - } - enum im-attr-media-40gbase-dwdm-1544-53 { - value 186; - description "im attr media 40gbase dwdm 1544 53"; - } - enum im-attr-media-40gbase-dwdm-1543-73 { - value 187; - description "im attr media 40gbase dwdm 1543 73"; - } - enum im-attr-media-40gbase-dwdm-1542-94 { - value 188; - description "im attr media 40gbase dwdm 1542 94"; - } - enum im-attr-media-40gbase-dwdm-1542-14 { - value 189; - description "im attr media 40gbase dwdm 1542 14"; - } - enum im-attr-media-40gbase-dwdm-1541-35 { - value 190; - description "im attr media 40gbase dwdm 1541 35"; - } - enum im-attr-media-40gbase-dwdm-1540-56 { - value 191; - description "im attr media 40gbase dwdm 1540 56"; - } - enum im-attr-media-40gbase-dwdm-1539-77 { - value 192; - description "im attr media 40gbase dwdm 1539 77"; - } - enum im-attr-media-40gbase-dwdm-1538-98 { - value 193; - description "im attr media 40gbase dwdm 1538 98"; - } - enum im-attr-media-40gbase-dwdm-1538-19 { - value 194; - description "im attr media 40gbase dwdm 1538 19"; - } - enum im-attr-media-40gbase-dwdm-1537-40 { - value 195; - description "im attr media 40gbase dwdm 1537 40"; - } - enum im-attr-media-40gbase-dwdm-1536-61 { - value 196; - description "im attr media 40gbase dwdm 1536 61"; - } - enum im-attr-media-40gbase-dwdm-1535-82 { - value 197; - description "im attr media 40gbase dwdm 1535 82"; - } - enum im-attr-media-40gbase-dwdm-1535-04 { - value 198; - description "im attr media 40gbase dwdm 1535 04"; - } - enum im-attr-media-40gbase-dwdm-1534-25 { - value 199; - description "im attr media 40gbase dwdm 1534 25"; - } - enum im-attr-media-40gbase-dwdm-1533-47 { - value 200; - description "im attr media 40gbase dwdm 1533 47"; - } - enum im-attr-media-40gbase-dwdm-1532-68 { - value 201; - description "im attr media 40gbase dwdm 1532 68"; - } - enum im-attr-media-40gbase-dwdm-1531-90 { - value 202; - description "im attr media 40gbase dwdm 1531 90"; - } - enum im-attr-media-40gbase-dwdm-1531-12 { - value 203; - description "im attr media 40gbase dwdm 1531 12"; - } - enum im-attr-media-40gbase-dwdm-1530-33 { - value 204; - description "im attr media 40gbase dwdm 1530 33"; - } - enum im-attr-media-40gbase-dwdm-tunable { - value 205; - description "im attr media 40gbase dwdm tunable"; - } - enum im-attr-media-100gbase-dwdm-1561-42 { - value 206; - description "im attr media 100gbase dwdm 1561 42"; - } - enum im-attr-media-100gbase-dwdm-1560-61 { - value 207; - description "im attr media 100gbase dwdm 1560 61"; - } - enum im-attr-media-100gbase-dwdm-1559-79 { - value 208; - description "im attr media 100gbase dwdm 1559 79"; - } - enum im-attr-media-100gbase-dwdm-1558-98 { - value 209; - description "im attr media 100gbase dwdm 1558 98"; - } - enum im-attr-media-100gbase-dwdm-1558-17 { - value 210; - description "im attr media 100gbase dwdm 1558 17"; - } - enum im-attr-media-100gbase-dwdm-1557-36 { - value 211; - description "im attr media 100gbase dwdm 1557 36"; - } - enum im-attr-media-100gbase-dwdm-1556-55 { - value 212; - description "im attr media 100gbase dwdm 1556 55"; - } - enum im-attr-media-100gbase-dwdm-1555-75 { - value 213; - description "im attr media 100gbase dwdm 1555 75"; - } - enum im-attr-media-100gbase-dwdm-1554-94 { - value 214; - description "im attr media 100gbase dwdm 1554 94"; - } - enum im-attr-media-100gbase-dwdm-1554-13 { - value 215; - description "im attr media 100gbase dwdm 1554 13"; - } - enum im-attr-media-100gbase-dwdm-1553-33 { - value 216; - description "im attr media 100gbase dwdm 1553 33"; - } - enum im-attr-media-100gbase-dwdm-1552-52 { - value 217; - description "im attr media 100gbase dwdm 1552 52"; - } - enum im-attr-media-100gbase-dwdm-1551-72 { - value 218; - description "im attr media 100gbase dwdm 1551 72"; - } - enum im-attr-media-100gbase-dwdm-1550-92 { - value 219; - description "im attr media 100gbase dwdm 1550 92"; - } - enum im-attr-media-100gbase-dwdm-1550-12 { - value 220; - description "im attr media 100gbase dwdm 1550 12"; - } - enum im-attr-media-100gbase-dwdm-1549-32 { - value 221; - description "im attr media 100gbase dwdm 1549 32"; - } - enum im-attr-media-100gbase-dwdm-1548-51 { - value 222; - description "im attr media 100gbase dwdm 1548 51"; - } - enum im-attr-media-100gbase-dwdm-1547-72 { - value 223; - description "im attr media 100gbase dwdm 1547 72"; - } - enum im-attr-media-100gbase-dwdm-1546-92 { - value 224; - description "im attr media 100gbase dwdm 1546 92"; - } - enum im-attr-media-100gbase-dwdm-1546-12 { - value 225; - description "im attr media 100gbase dwdm 1546 12"; - } - enum im-attr-media-100gbase-dwdm-1545-32 { - value 226; - description "im attr media 100gbase dwdm 1545 32"; - } - enum im-attr-media-100gbase-dwdm-1544-53 { - value 227; - description "im attr media 100gbase dwdm 1544 53"; - } - enum im-attr-media-100gbase-dwdm-1543-73 { - value 228; - description "im attr media 100gbase dwdm 1543 73"; - } - enum im-attr-media-100gbase-dwdm-1542-94 { - value 229; - description "im attr media 100gbase dwdm 1542 94"; - } - enum im-attr-media-100gbase-dwdm-1542-14 { - value 230; - description "im attr media 100gbase dwdm 1542 14"; - } - enum im-attr-media-100gbase-dwdm-1541-35 { - value 231; - description "im attr media 100gbase dwdm 1541 35"; - } - enum im-attr-media-100gbase-dwdm-1540-56 { - value 232; - description "im attr media 100gbase dwdm 1540 56"; - } - enum im-attr-media-100gbase-dwdm-1539-77 { - value 233; - description "im attr media 100gbase dwdm 1539 77"; - } - enum im-attr-media-100gbase-dwdm-1538-98 { - value 234; - description "im attr media 100gbase dwdm 1538 98"; - } - enum im-attr-media-100gbase-dwdm-1538-19 { - value 235; - description "im attr media 100gbase dwdm 1538 19"; - } - enum im-attr-media-100gbase-dwdm-1537-40 { - value 236; - description "im attr media 100gbase dwdm 1537 40"; - } - enum im-attr-media-100gbase-dwdm-1536-61 { - value 237; - description "im attr media 100gbase dwdm 1536 61"; - } - enum im-attr-media-100gbase-dwdm-1535-82 { - value 238; - description "im attr media 100gbase dwdm 1535 82"; - } - enum im-attr-media-100gbase-dwdm-1535-04 { - value 239; - description "im attr media 100gbase dwdm 1535 04"; - } - enum im-attr-media-100gbase-dwdm-1534-25 { - value 240; - description "im attr media 100gbase dwdm 1534 25"; - } - enum im-attr-media-100gbase-dwdm-1533-47 { - value 241; - description "im attr media 100gbase dwdm 1533 47"; - } - enum im-attr-media-100gbase-dwdm-1532-68 { - value 242; - description "im attr media 100gbase dwdm 1532 68"; - } - enum im-attr-media-100gbase-dwdm-1531-90 { - value 243; - description "im attr media 100gbase dwdm 1531 90"; - } - enum im-attr-media-100gbase-dwdm-1531-12 { - value 244; - description "im attr media 100gbase dwdm 1531 12"; - } - enum im-attr-media-100gbase-dwdm-1530-33 { - value 245; - description "im attr media 100gbase dwdm 1530 33"; - } - enum im-attr-media-100gbase-dwdm-tunable { - value 246; - description "im attr media 100gbase dwdm tunable"; - } - enum im-attr-media-40gbase-kr4 { - value 247; - description "im attr media 40gbase kr4"; - } - enum im-attr-media-40gbase-cr4 { - value 248; - description "im attr media 40gbase cr4"; - } - enum im-attr-media-40gbase-sr4 { - value 249; - description "im attr media 40gbase sr4"; - } - enum im-attr-media-40gbase-fr { - value 250; - description "im attr media 40gbase fr"; - } - enum im-attr-media-100gbase-cr10 { - value 251; - description "im attr media 100gbase cr10"; - } - enum im-attr-media-100gbase-sr10 { - value 252; - description "im attr media 100gbase sr10"; - } - enum im-attr-media-40gbase-csr4 { - value 253; - description "im attr media 40gbase csr4"; - } - enum im-attr-media-10gbase-cwdm { - value 254; - description "im attr media 10gbase cwdm"; - } - enum im-attr-media-10gbase-cwdm-tunable { - value 255; - description "im attr media 10gbase cwdm tunable"; - } - enum im-attr-media-10gbase-cwdm-1470 { - value 256; - description "im attr media 10gbase cwdm 1470"; - } - enum im-attr-media-10gbase-cwdm-1490 { - value 257; - description "im attr media 10gbase cwdm 1490"; - } - enum im-attr-media-10gbase-cwdm-1510 { - value 258; - description "im attr media 10gbase cwdm 1510"; - } - enum im-attr-media-10gbase-cwdm-1530 { - value 259; - description "im attr media 10gbase cwdm 1530"; - } - enum im-attr-media-10gbase-cwdm-1550 { - value 260; - description "im attr media 10gbase cwdm 1550"; - } - enum im-attr-media-10gbase-cwdm-1570 { - value 261; - description "im attr media 10gbase cwdm 1570"; - } - enum im-attr-media-10gbase-cwdm-1590 { - value 262; - description "im attr media 10gbase cwdm 1590"; - } - enum im-attr-media-10gbase-cwdm-1610 { - value 263; - description "im attr media 10gbase cwdm 1610"; - } - enum im-attr-media-40gbase-cwdm { - value 264; - description "im attr media 40gbase cwdm"; - } - enum im-attr-media-40gbase-cwdm-tunable { - value 265; - description "im attr media 40gbase cwdm tunable"; - } - enum im-attr-media-40gbase-cwdm-1470 { - value 266; - description "im attr media 40gbase cwdm 1470"; - } - enum im-attr-media-40gbase-cwdm-1490 { - value 267; - description "im attr media 40gbase cwdm 1490"; - } - enum im-attr-media-40gbase-cwdm-1510 { - value 268; - description "im attr media 40gbase cwdm 1510"; - } - enum im-attr-media-40gbase-cwdm-1530 { - value 269; - description "im attr media 40gbase cwdm 1530"; - } - enum im-attr-media-40gbase-cwdm-1550 { - value 270; - description "im attr media 40gbase cwdm 1550"; - } - enum im-attr-media-40gbase-cwdm-1570 { - value 271; - description "im attr media 40gbase cwdm 1570"; - } - enum im-attr-media-40gbase-cwdm-1590 { - value 272; - description "im attr media 40gbase cwdm 1590"; - } - enum im-attr-media-40gbase-cwdm-1610 { - value 273; - description "im attr media 40gbase cwdm 1610"; - } - enum im-attr-media-100gbase-cwdm { - value 274; - description "im attr media 100gbase cwdm"; - } - enum im-attr-media-100gbase-cwdm-tunable { - value 275; - description "im attr media 100gbase cwdm tunable"; - } - enum im-attr-media-100gbase-cwdm-1470 { - value 276; - description "im attr media 100gbase cwdm 1470"; - } - enum im-attr-media-100gbase-cwdm-1490 { - value 277; - description "im attr media 100gbase cwdm 1490"; - } - enum im-attr-media-100gbase-cwdm-1510 { - value 278; - description "im attr media 100gbase cwdm 1510"; - } - enum im-attr-media-100gbase-cwdm-1530 { - value 279; - description "im attr media 100gbase cwdm 1530"; - } - enum im-attr-media-100gbase-cwdm-1550 { - value 280; - description "im attr media 100gbase cwdm 1550"; - } - enum im-attr-media-100gbase-cwdm-1570 { - value 281; - description "im attr media 100gbase cwdm 1570"; - } - enum im-attr-media-100gbase-cwdm-1590 { - value 282; - description "im attr media 100gbase cwdm 1590"; - } - enum im-attr-media-100gbase-cwdm-1610 { - value 283; - description "im attr media 100gbase cwdm 1610"; - } - enum im-attr-media-40gbase-elpb { - value 284; - description "im attr media 40gbase elpb"; - } - enum im-attr-media-100gbase-elpb { - value 285; - description "im attr media 100gbase elpb"; - } - enum im-attr-media-100gbase-lr10 { - value 286; - description "im attr media 100gbase lr10"; - } - enum im-attr-media-40gbase { - value 287; - description "im attr media 40gbase"; - } - enum im-attr-media-100gbase-kp4 { - value 288; - description "im attr media 100gbase kp4"; - } - enum im-attr-media-100gbase-kr4 { - value 289; - description "im attr media 100gbase kr4"; - } - enum im-attr-media-10gbase-lrm { - value 290; - description "im attr media 10gbase lrm"; - } - enum im-attr-media-10gbase-cx4 { - value 291; - description "im attr media 10gbase cx4"; - } - enum im-attr-media-10gbase { - value 292; - description "im attr media 10gbase"; - } - enum im-attr-media-10gbase-kx4 { - value 293; - description "im attr media 10gbase kx4"; - } - enum im-attr-media-10gbase-kr { - value 294; - description "im attr media 10gbase kr"; - } - enum im-attr-media-10gbase-pr { - value 295; - description "im attr media 10gbase pr"; - } - enum im-attr-media-100base-lx { - value 296; - description "im attr media 100base lx"; - } - enum im-attr-media-100base-zx { - value 297; - description "im attr media 100base zx"; - } - enum im-attr-media-1000base-bx-d { - value 298; - description "im attr media 1000base bx d"; - } - enum im-attr-media-1000base-bx-u { - value 299; - description "im attr media 1000base bx u"; - } - enum im-attr-media-1000base-bx20-d { - value 300; - description "im attr media 1000base bx20 d"; - } - enum im-attr-media-1000base-bx20-u { - value 301; - description "im attr media 1000base bx20 u"; - } - enum im-attr-media-1000base-bx40-d { - value 302; - description "im attr media 1000base bx40 d"; - } - enum im-attr-media-1000base-bx40-da { - value 303; - description "im attr media 1000base bx40 da"; - } - enum im-attr-media-1000base-bx40-u { - value 304; - description "im attr media 1000base bx40 u"; - } - enum im-attr-media-1000base-bx80-d { - value 305; - description "im attr media 1000base bx80 d"; - } - enum im-attr-media-1000base-bx80-u { - value 306; - description "im attr media 1000base bx80 u"; - } - enum im-attr-media-1000base-bx120-d { - value 307; - description "im attr media 1000base bx120 d"; - } - enum im-attr-media-1000base-bx120-u { - value 308; - description "im attr media 1000base bx120 u"; - } - enum im-attr-media-10gbase-bx-d { - value 309; - description "im attr media 10gbase bx d"; - } - enum im-attr-media-10gbase-bx-u { - value 310; - description "im attr media 10gbase bx u"; - } - enum im-attr-media-10gbase-bx10-d { - value 311; - description "im attr media 10gbase bx10 d"; - } - enum im-attr-media-10gbase-bx10-u { - value 312; - description "im attr media 10gbase bx10 u"; - } - enum im-attr-media-10gbase-bx20-d { - value 313; - description "im attr media 10gbase bx20 d"; - } - enum im-attr-media-10gbase-bx20-u { - value 314; - description "im attr media 10gbase bx20 u"; - } - enum im-attr-media-10gbase-bx40-d { - value 315; - description "im attr media 10gbase bx40 d"; - } - enum im-attr-media-10gbase-bx40-u { - value 316; - description "im attr media 10gbase bx40 u"; - } - enum im-attr-media-10gbase-bx80-d { - value 317; - description "im attr media 10gbase bx80 d"; - } - enum im-attr-media-10gbase-bx80-u { - value 318; - description "im attr media 10gbase bx80 u"; - } - enum im-attr-media-10gbase-bx120-d { - value 319; - description "im attr media 10gbase bx120 d"; - } - enum im-attr-media-10gbase-bx120-u { - value 320; - description "im attr media 10gbase bx120 u"; - } - enum im-attr-media-1000base-dr-lx { - value 321; - description "im attr media 1000base dr lx"; - } - enum im-attr-media-100gbase-er4l { - value 322; - description "im attr media 100gbase er4l"; - } - enum im-attr-media-100gbase-sr4 { - value 323; - description "im attr media 100gbase sr4"; - } - enum im-attr-media-40gbase-sr-bd { - value 324; - description "im attr media 40gbase sr bd"; - } - enum im-attr-media-25gbase-cr { - value 325; - description "im attr media 25gbase cr"; - } - enum im-attr-media-25gbase-cr-s { - value 326; - description "im attr media 25gbase cr s"; - } - enum im-attr-media-25gbase-kr { - value 327; - description "im attr media 25gbase kr"; - } - enum im-attr-media-25gbase-kr-s { - value 328; - description "im attr media 25gbase kr s"; - } - enum im-attr-media-25gbase-r { - value 329; - description "im attr media 25gbase r"; - } - enum im-attr-media-25gbase-sr { - value 330; - description "im attr media 25gbase sr"; - } - enum im-attr-media-25gbase-dwdm { - value 331; - description "im attr media 25gbase dwdm"; - } - enum im-attr-media-25gbase-dwdm-tunable { - value 332; - description "im attr media 25gbase dwdm tunable"; - } - enum im-attr-media-25gbase-cwdm { - value 333; - description "im attr media 25gbase cwdm"; - } - enum im-attr-media-25gbase-cwdm-tunable { - value 334; - description "im attr media 25gbase cwdm tunable"; - } - enum im-attr-media-100gbase-psm4 { - value 335; - description "im attr media 100gbase psm4"; - } - enum im-attr-media-100gbase-er10 { - value 336; - description "im attr media 100gbase er10"; - } - enum im-attr-media-100gbase-er10l { - value 337; - description "im attr media 100gbase er10l"; - } - enum im-attr-media-100gbase-acc { - value 338; - description "im attr media 100gbase acc"; - } - enum im-attr-media-100gbase-aoc { - value 339; - description "im attr media 100gbase aoc"; - } - enum im-attr-media-100gbase-cwdm4 { - value 340; - description "im attr media 100gbase cwdm4"; - } - enum im-attr-media-40gbase-psm4 { - value 341; - description "im attr media 40gbase psm4"; - } - enum im-attr-media-100gbase-cr4 { - value 342; - description "im attr media 100gbase cr4"; - } - enum im-attr-media-100gbase-act-loop { - value 343; - description "im attr media 100gbase act loop"; - } - enum im-attr-media-100gbase-pas-loop { - value 344; - description "im attr media 100gbase pas loop"; - } - enum im-attr-media-50gbase-cr2 { - value 345; - description "im attr media 50gbase cr2"; - } - enum im-attr-media-50gbase-sr2 { - value 346; - description "im attr media 50gbase sr2"; - } - enum im-attr-media-50gbase-psm2 { - value 347; - description "im attr media 50gbase psm2"; - } - enum im-attr-media-200gbase-cr4 { - value 348; - description "im attr media 200gbase cr4"; - } - enum im-attr-media-400gbase-fr4 { - value 349; - description "im attr media 400gbase fr4"; - } - enum im-attr-media-400gbase-dr4 { - value 350; - description "im attr media 400gbase dr4"; - } - enum im-attr-media-400gbase-cr4 { - value 351; - description "im attr media 400gbase cr4"; - } - enum im-attr-media-10gbase-cr { - value 352; - description "im attr media 10gbase cr"; - } - enum im-attr-media-10gbase-aoc { - value 353; - description "im attr media 10gbase aoc"; - } - enum im-attr-media-40gbase-aoc { - value 354; - description "im attr media 40gbase aoc"; - } - enum im-attr-media-40gbase-acu { - value 355; - description "im attr media 40gbase acu"; - } - enum im-attr-media-100gbase-acu { - value 356; - description "im attr media 100gbase acu"; - } - } - description "Im attr media"; - } - typedef Im-attr-duplex { - type enumeration { - enum im-attr-duplex-unknown { - value 0; - description "im attr duplex unknown"; - } - enum im-attr-duplex-half { - value 1; - description "im attr duplex half"; - } - enum im-attr-duplex-full { - value 2; - description "im attr duplex full"; - } - } - description "Im attr duplex"; - } - - grouping IM-DESC-INFO { - description "Interface description information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf state { - type Im-state-enum; - description - "Operational state with no translation of error - disable or shutdown"; - } - leaf line-state { - type Im-state-enum; - description - "Line protocol state with no translation of error - disable or shutdown"; - } - leaf description { - type string; - description "Interface description string"; - } - } - - grouping NV-OPTICAL-INTERFACE-INFO { - description "nV Optical Controller information"; - leaf controller { - type string; - description "Controller that nV controller maps to"; - } - } - - grouping STATS-BAG-ELEMENT { - description "STATS BAG ELEMENT"; - leaf key { - type yang:hex-string; - description "key"; - } - - list block-array { - description "block array"; - uses STATS-BAG-BLOCK; - } - } - - grouping STATS-BAG-BLOCK { - description "STATS BAG BLOCK"; - leaf type { - type Stats-counter; - description "type"; - } - leaf count { - type uint32; - description "count"; - } - leaf data { - type yang:hex-string; - description "data"; - } - } - - grouping STATS-BAG-ID { - description "STATS BAG ID"; - leaf id-type { - type Stats-id; - description "id type"; - } - leaf unused { - when "../id-type = 'stats-id-type-unknown'" { - description "../id_type = 'STATS_ID_TYPE_UNKNOWN'"; - } - type uint32; - description "Unused"; - } - leaf interface-handle { - when "../id-type = 'stats-id-type-min'" { - description "../id_type = 'STATS_ID_TYPE_MIN'"; - } - type xr:Interface-name; - description "Interface Handle"; - } - leaf node-id { - when "../id-type = 'stats-id-type-node'" { - description "../id_type = 'STATS_ID_TYPE_NODE'"; - } - type xr:Node-id; - description "Node ID"; - } - leaf feature-id { - when "../id-type = 'stats-id-type-feature'" { - description "../id_type = 'STATS_ID_TYPE_FEATURE'"; - } - type uint32; - description "Feature ID"; - } - leaf id { - when "../id-type = 'stats-id-type-other'" { - description "../id_type = 'STATS_ID_TYPE_OTHER'"; - } - type uint32; - description "ID"; - } - } - - grouping STATS-DATA { - description "Stats Data"; - - container stats-id { - description "Identifier"; - uses STATS-BAG-ID; - } - leaf stats-type { - type Stats-type-val; - description "Stats type value"; - } - leaf contents { - type Stats-type-contents; - description "Bag contents"; - } - - list block-array { - description "Block Array"; - uses STATS-BAG-BLOCK; - } - - list element-array { - description "Element Array"; - uses STATS-BAG-ELEMENT; - } - } - - grouping IFSTATSBAG-BASIC { - description "Basic set of interface counters"; - leaf packets-received { - type uint64; - description "Packets received"; - } - leaf bytes-received { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf input-drops { - type uint32; - description "Total input drops"; - } - leaf input-queue-drops { - type uint32; - description "Input queue drops"; - } - leaf input-errors { - type uint32; - description "Total input errors"; - } - leaf unknown-protocol-packets-received { - type uint32; - description "Unknown protocol packets received"; - } - leaf output-drops { - type uint32; - description "Total output drops"; - } - leaf output-queue-drops { - type uint32; - description "Output queue drops"; - } - leaf output-errors { - type uint32; - description "Total output errors"; - } - leaf last-data-time { - type uint32; - units "second"; - description - "Time when counters were last written (in - seconds)"; - } - leaf seconds-since-last-clear-counters { - type uint32; - units "second"; - description "Number of seconds since last clear counters"; - } - leaf last-discontinuity-time { - type uint32; - units "second"; - description - "SysUpTime when counters were last reset (in - seconds)"; - } - leaf seconds-since-packet-received { - type uint32; - units "second"; - description "Seconds since packet received"; - } - leaf seconds-since-packet-sent { - type uint32; - units "second"; - description "Seconds since packet sent"; - } - } - - grouping IFSTATSBAG-GENERIC { - description "Generic set of interface counters"; - leaf packets-received { - type uint64; - description "Packets received"; - } - leaf bytes-received { - type uint64; - units "byte"; - description "Bytes received"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf multicast-packets-received { - type uint64; - description "Multicast packets received"; - } - leaf broadcast-packets-received { - type uint64; - description "Broadcast packets received"; - } - leaf multicast-packets-sent { - type uint64; - description "Multicast packets sent"; - } - leaf broadcast-packets-sent { - type uint64; - description "Broadcast packets sent"; - } - leaf output-drops { - type uint32; - description "Total output drops"; - } - leaf output-queue-drops { - type uint32; - description "Output queue drops"; - } - leaf input-drops { - type uint32; - description "Total input drops"; - } - leaf input-queue-drops { - type uint32; - description "Input queue drops"; - } - leaf runt-packets-received { - type uint32; - description "Received runt packets"; - } - leaf giant-packets-received { - type uint32; - description "Received giant packets"; - } - leaf throttled-packets-received { - type uint32; - description "Received throttled packets"; - } - leaf parity-packets-received { - type uint32; - description "Received parity packets"; - } - leaf unknown-protocol-packets-received { - type uint32; - description "Unknown protocol packets received"; - } - leaf input-errors { - type uint32; - description "Total input errors"; - } - leaf crc-errors { - type uint32; - description "Input CRC errors"; - } - leaf input-overruns { - type uint32; - description "Input overruns"; - } - leaf framing-errors-received { - type uint32; - description "Framing-errors received"; - } - leaf input-ignored-packets { - type uint32; - description "Input ignored packets"; - } - leaf input-aborts { - type uint32; - description "Input aborts"; - } - leaf output-errors { - type uint32; - description "Total output errors"; - } - leaf output-underruns { - type uint32; - description "Output underruns"; - } - leaf output-buffer-failures { - type uint32; - description "Output buffer failures"; - } - leaf output-buffers-swapped-out { - type uint32; - description "Output buffers swapped out"; - } - leaf applique { - type uint32; - description "Applique"; - } - leaf resets { - type uint32; - description "Number of board resets"; - } - leaf carrier-transitions { - type uint32; - description "Carrier transitions"; - } - leaf availability-flag { - type uint32; - description "Availability bit mask"; - } - leaf last-data-time { - type uint32; - units "second"; - description - "Time when counters were last written (in - seconds)"; - } - leaf seconds-since-last-clear-counters { - type uint32; - units "second"; - description "Number of seconds since last clear counters"; - } - leaf last-discontinuity-time { - type uint32; - units "second"; - description - "SysUpTime when counters were last reset (in - seconds)"; - } - leaf seconds-since-packet-received { - type uint32; - units "second"; - description "Seconds since packet received"; - } - leaf seconds-since-packet-sent { - type uint32; - units "second"; - description "Seconds since packet sent"; - } - } - - grouping IM-CMD-IF-STATS { - description "IM CMD IF STATS"; - - container full-interface-stats { - when "../stats-type = 'full'" { - description "../StatsType = 'Full'"; - } - description "Packet, byte and all error counters"; - uses IFSTATSBAG-GENERIC; - } - - container basic-interface-stats { - when "../stats-type = 'basic'" { - description "../StatsType = 'Basic'"; - } - description "Packet, byte and selected error counters"; - uses IFSTATSBAG-BASIC; - } - leaf stats-type { - type Im-cmd-stats-enum; - description "StatsType"; - } - } - - grouping STATSDBAG-DATARATE { - description "Datarate information"; - leaf input-data-rate { - type uint64; - units "bit/s"; - description "Input data rate in 1000's of bps"; - } - leaf input-packet-rate { - type uint64; - units "packet/s"; - description "Input packets per second"; - } - leaf output-data-rate { - type uint64; - units "bit/s"; - description "Output data rate in 1000's of bps"; - } - leaf output-packet-rate { - type uint64; - units "packet/s"; - description "Output packets per second"; - } - leaf peak-input-data-rate { - type uint64; - description "Peak input data rate"; - } - leaf peak-input-packet-rate { - type uint64; - description "Peak input packet rate"; - } - leaf peak-output-data-rate { - type uint64; - description "Peak output data rate"; - } - leaf peak-output-packet-rate { - type uint64; - description "Peak output packet rate"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth (in kbps)"; - } - leaf load-interval { - type uint32; - description "Number of 30-sec intervals less one"; - } - leaf output-load { - type uint8; - description "Output load as fraction of 255"; - } - leaf input-load { - type uint8; - description "Input load as fraction of 255"; - } - leaf reliability { - type uint8; - description "Reliability coefficient"; - } - } - - grouping IM-CMD-GCC-PER-PORT-INFO { - description "GCC"; - leaf derived-mode { - type Gcc-der-state; - description "Derived State"; - } - leaf sec-state { - type Gcc-sec-state; - description "Sec State "; - } - } - - grouping CEM-INTERFACE { - description "CEM interface information"; - leaf timeslots { - type string; - description - "Timeslots separated by : or - from 1 to 32. : - indicates individual timeslot and - represents a - range. E.g. 1-3:5 represents timeslots 1, 2, 3, - and 5."; - } - leaf payload { - type uint16; - units "byte"; - description - "Payload size in bytes configured on CEM - interface"; - } - leaf dejitter-buffer { - type uint16; - units "millisecond"; - description - "Dejitter buffer length configuredin milliseconds"; - } - leaf framing { - type int32; - description - " If framing is TRUE then the CEM interface is - structure aware ; otherwise it is structure - agnostic"; - } - } - - grouping PWHE-ETHER-INTERFACE-INFO { - description "PWHE ETHER INTERFACE INFO"; - leaf interface-list-name { - type string; - description "Interface list Name"; - } - leaf l2-overhead { - type uint32; - description "L2 Overhead"; - } - leaf internal-label { - type uint32; - description "Internal Label"; - } - } - - grouping PFI-IP-ADDR-UNION { - description "PFI IP ADDR UNION"; - leaf afi { - type Tunl-pfi-af-id; - description "AFI"; - } - leaf ipv4 { - when "../afi = 'tunl-pfi-af-id-ipv4'" { - description "../AFI = 'TUNL_PFI_AF_ID_IPV4'"; - } - type Tunl-pfi-in-addr; - description "IPv4 address type"; - } - leaf ipv6 { - when "../afi = 'tunl-pfi-af-id-ipv6'" { - description "../AFI = 'TUNL_PFI_AF_ID_IPV6'"; - } - type Tunl-pfi-in6-addr; - description "IPv6 address type"; - } - } - - grouping IM-CMD-TUNL-GRE-INFO { - description "Tunnel info "; - - container source-ip-address { - description "Tunnel source IP address"; - uses PFI-IP-ADDR-UNION; - } - - container destination-ip-address { - description "Tunnel destination IP address"; - uses PFI-IP-ADDR-UNION; - } - leaf source-name { - type string; - description "Tunnel source name"; - } - leaf destination-ip-address-length { - type uint8; - description "Tunnel destination IP address length"; - } - leaf tunnel-tos { - type uint32; - description "GRE tunnel TOS"; - } - leaf tunnel-ttl { - type uint32; - description "GRE tunnel TTL"; - } - leaf key { - type uint32; - description "Key value for GRE Packet"; - } - leaf keepalive-period { - type uint16; - units "second"; - description "Keepalive period in seconds"; - } - leaf keepalive-maximum-retry { - type uint8; - description "Keepalive retry"; - } - leaf tunnel-mode { - type Tunnel-gre-mode; - description "Tunnel GRE Mode"; - } - leaf tunnel-mode-direction { - type Tunl-ip-mode-dir; - description "Tunnel Mode Direction"; - } - leaf keepalive-state { - type Tunnel-ka-df-state; - description "Keepalive State"; - } - leaf df-bit-state { - type Tunnel-ka-df-state; - description "DF Bit State"; - } - leaf key-bit-state { - type Tunnel-key-state; - description "Key Config State"; - } - } - - grouping IM-SONET-POS-INFO-INTERFACE { - description "SONET POS interface information"; - leaf aps-state { - type Sonet-aps-et; - description "APS state"; - } - } - - grouping SERIAL-INTERFACE { - description "Serial interface information"; - leaf timeslots { - type string; - description - "Timeslots separated by : or - from 1 to 31. : - indicates individual timeslot and - represents a - range. E.g. 1-3:5 represents timeslots 1, 2, 3, - and 5."; - } - } - - grouping BM-MAC-ADDR-ST { - description "BM MAC ADDR ST"; - leaf address { - type yang:mac-address; - description "MAC address"; - } - } - - grouping BM-MBR-STATE-REASON-DATA-TYPE { - description "Additional member state reason data"; - leaf reason-type { - type Bm-state-reason-target; - description "The item the reason applies to"; - } - leaf severity { - type Bm-severity; - description "The severity of the reason"; - } - } - - grouping BM-MUX-DATA { - description "BM MUX DATA"; - - container member-mux-state-reason-data { - description - "Data regarding the reason for last Mux state - change"; - uses BM-MBR-STATE-REASON-DATA-TYPE; - } - leaf mux-state { - type Bm-muxstate; - description "Current state of this bundle member"; - } - leaf error { - type uint32; - description - "Internal value indicating if an error occurred - trying to put a link into the desired state"; - } - leaf member-mux-state-reason { - type Bm-mbr-state-reason; - description "Reason for last Mux state change"; - } - leaf member-state { - type Bmd-member-state; - description "Current internal state of this bundle member"; - } - leaf mux-state-reason { - type Bm-muxreason; - description "Reason for last Mux state change (Deprecated)"; - } - } - - grouping BM-LACP-LINK-DATA { - description "Link properties for a port using LACP "; - leaf interface-handle { - type xr:Interface-name; - description "Member's interface handle"; - } - leaf actor-system-priority { - type uint16; - description "System priority of actor system"; - } - leaf actor-system-mac-address { - type yang:mac-address; - description "MAC Address of the actor system"; - } - leaf actor-operational-key { - type uint16; - description "Operational key for this port"; - } - leaf partner-system-priority { - type uint16; - description "System priority of partner system"; - } - leaf partner-system-mac-address { - type yang:mac-address; - description "MAC Address used to identify the partner system"; - } - leaf partner-operational-key { - type uint16; - description "Operational key for partner port"; - } - leaf selected-aggregator-id { - type uint32; - description "MIB ifindex of selected bundle"; - } - leaf attached-aggregator-id { - type uint32; - description "MIB ifindex of attached bundle"; - } - leaf actor-port-id { - type uint16; - description "Port number of this port"; - } - leaf actor-port-priority { - type uint16; - description "Priority of this port"; - } - leaf partner-port-id { - type uint16; - description "Port number of the partner's port"; - } - leaf partner-port-priority { - type uint16; - description "Priority of the partner's port"; - } - leaf actor-port-state { - type uint8; - description "LACP state of this port"; - } - leaf partner-port-state { - type uint8; - description "LACP state of the partner's port"; - } - } - - grouping BM-LACP-COUNTERS { - description "Statistics for a port using using LACP"; - leaf lacpd-us-received { - type uint32; - description "LACPDUs received"; - } - leaf lacpd-us-transmitted { - type uint32; - description "LACPDUs transmitted"; - } - leaf marker-packets-received { - type uint32; - description "Marker packets received"; - } - leaf marker-responses-transmitted { - type uint32; - description "Marker response packets transmitted"; - } - leaf illegal-packets-received { - type uint32; - description "Illegal and unknown packets received"; - } - leaf excess-lacpd-us-received { - type uint32; - description "LACPDUs received that exceed the rate limit"; - } - leaf excess-marker-packets-received { - type uint32; - description - "Marker packets received that exceed the rate - limit"; - } - leaf defaulted { - type uint32; - description "State flag set to Defaulted"; - } - leaf expired { - type uint32; - description "State flag set to Expired"; - } - leaf last-cleared-sec { - type uint32; - description "Last time counters cleared (s) (deprecated)"; - } - leaf last-cleared-nsec { - type uint32; - description "Last time counters cleared (nsec) (deprecated)"; - } - } - - grouping BM-MEMBER-DATA { - description "Bundle member data for any member"; - - container counters { - description "Counters data about member link"; - uses BM-LACP-COUNTERS; - } - - container link-data { - description "Lacp data about member link"; - uses BM-LACP-LINK-DATA; - } - - container member-mux-data { - description "Mux state machine data"; - uses BM-MUX-DATA; - } - - container mac-address { - description "MAC address of this member (deprecated)"; - uses BM-MAC-ADDR-ST; - } - leaf interface-name { - xr:event-telemetry "Subscribe Telemetry Event"; - type xr:Interface-name; - description "Member's interface name"; - } - leaf port-priority { - type uint16; - description "The priority of this member"; - } - leaf port-number { - type uint16; - description "Member's link number"; - } - leaf underlying-link-id { - type uint16; - description "Member's underlying link ID"; - } - leaf link-order-number { - type uint16; - description "Member's link order number"; - } - leaf iccp-node { - type uint32; - description "Location of member"; - } - leaf bandwidth { - type uint32; - units "kbit/s"; - description "Bandwidth of this member (kbps)"; - } - leaf lacp-enabled { - type string; - description "Boolean indicating LACP enabled or not"; - } - leaf member-type { - type Bmd-member-type-enum; - description "Member's type (local/foreign)"; - } - leaf member-name { - type string; - description "Member's (short form) name"; - } - } - - grouping IM-CMD-BUNDLE-INFO { - description "IM CMD BUNDLE INFO"; - - list member { - description "List of bundle members and their properties"; - uses BM-MEMBER-DATA; - } - } - - grouping IM-CMD-TUNNEL-INFO { - description "IM CMD TUNNEL INFO"; - leaf source-name { - type string; - description "Tunnel source name"; - } - leaf source-ipv4-address { - type inet:ipv4-address; - description "Tunnel source IP address"; - } - leaf destination-ipv4-address { - type inet:ipv4-address; - description "Tunnel destination IP address"; - } - leaf tunnel-type { - type string; - description "Tunnel protocol/transport"; - } - leaf key { - type uint32; - description "GRE tunnel key"; - } - leaf ttl { - type uint32; - description "GRE tunnel TTL"; - } - } - - grouping IFSTATS-SRP-PER-SIDE-ERRORS { - description "IFSTATS SRP PER SIDE ERRORS"; - leaf error-packets-received { - type uint32; - description "Error packets received"; - } - leaf crc-errors { - type uint32; - description "Input CRC errors"; - } - leaf input-insufficient-resource-events { - type uint32; - description "Input insufficient resources events"; - } - leaf mac-aborts-received { - type uint32; - description "Aborts received at MAC/RAC"; - } - leaf mac-runt-packets-received { - type uint32; - description "Too small packets received at MAC/RAC"; - } - leaf mac-giant-packets-received { - type uint32; - description "Too large packets received at MAC/RAC"; - } - leaf framer-runt-packets-received { - type uint32; - description "Too small packets received at framer"; - } - leaf framer-giant-packets-received { - type uint32; - description "Too large packets received at framer"; - } - leaf framer-aborts-received { - type uint32; - description "Aborts received at framer"; - } - } - - grouping IFSTATS-SRP-PER-SIDE-DATA-RATE { - description "IFSTATS SRP PER SIDE DATA RATE"; - leaf bit-rate-sent { - type uint32; - description "Sent bit rate"; - } - leaf packet-rate-sent { - type uint32; - description "Sent packet rate"; - } - leaf bit-rate-received { - type uint32; - description "Received bit rate"; - } - leaf packet-rate-received { - type uint32; - description "Received packet rate"; - } - } - - grouping IFSTATSBAG-SRP { - description "SRP interface statistics"; - - container side-a-data-rate { - description "Data rates for side A interface"; - uses IFSTATS-SRP-PER-SIDE-DATA-RATE; - } - - container side-b-data-rate { - description "Data rates for side B interface"; - uses IFSTATS-SRP-PER-SIDE-DATA-RATE; - } - - container side-a-errors { - description "Errors for side A interface"; - uses IFSTATS-SRP-PER-SIDE-ERRORS; - } - - container side-b-errors { - description "Errors for side B interface"; - uses IFSTATS-SRP-PER-SIDE-ERRORS; - } - leaf data-rate-interval { - type uint32; - units "second"; - description "Data rate interval (5 mins or 30 seconds)"; - } - } - - grouping SRP-RATE-LIMIT-DETAIL { - description "Detailed SRP rate limit information"; - leaf min-priority-value { - type uint16; - description - "Minimum SRP priority for high-priority transmit - queue"; - } - } - - grouping SRP-RATE-LIMIT-INFO { - description "SRP rate limit information"; - leaf is-admin-down { - type int32; - description "Is the interfaceadministratively down"; - } - - list rate-limit-detailed-info { - description "SRP rate limit information"; - uses SRP-RATE-LIMIT-DETAIL; - } - } - - grouping SRR-NODE-DATA { - description "SRR NODE DATA"; - leaf node-name { - type string; - description "Node name"; - } - leaf srr-entry-exits { - type int32; - description "Does the SRR information exist for this node"; - } - leaf mac-address { - type string; - description "node mac address"; - } - leaf outer-failure { - type Srp-mgmt-srr-failure; - description "Outer failure"; - } - leaf inner-failure { - type Srp-mgmt-srr-failure; - description "Inner failure"; - } - leaf is-last-announce-received { - type int32; - description "Announce last received ?"; - } - leaf last-announce-received-time { - type uint32; - description "Announce last received"; - } - } - - grouping SRP-SRR-DETAIL { - description "SRP SRR DETAIL"; - leaf version-number { - type uint32; - description "Version number"; - } - leaf is-wrong-version-received { - type int32; - description "Wrong version recieved"; - } - leaf last-wrong-version-receive-time { - type uint32; - description "Time that last wrong version message recieved"; - } - leaf mac-address { - type string; - description "SRR node mac address"; - } - leaf node-state { - type Srp-mgmt-srr-node-state; - description "SRR node state"; - } - leaf is-outer-ring-in-use { - type int32; - description "Is the outer ring in use"; - } - leaf is-inner-ring-in-use { - type int32; - description " Is the inner ring in use"; - } - leaf is-announce { - type int32; - description "Is announcing enabled"; - } - leaf outer-fail-type { - type Srp-mgmt-srr-failure; - description "Outer fail type"; - } - leaf inner-fail-type { - type Srp-mgmt-srr-failure; - description "Inner fail type"; - } - leaf packet-send-timer { - type uint32; - units "second"; - description "SRR packet send timer interval in seconds"; - } - leaf next-srr-packet-send-time { - type uint32; - units "second"; - description - "Time remaining in seconds to next SRR packet - send"; - } - leaf single-ring-bw { - type uint32; - units "Mbit/s"; - description "Single ring bandwidth Mbps"; - } - leaf wtr-time { - type uint32; - units "second"; - description "SRR Wait To Restore interval delay in seconds"; - } - leaf wtr-timer-remaining-outer-ring { - type uint32; - units "second"; - description - "Time remaining in seconds until next outer ring - wrap removal"; - } - leaf wtr-timer-remaining-inner-ring { - type uint32; - units "second"; - description - "Time remaining in seconds until next inner ring - wrap removal"; - } - - list nodes-on-ring { - description "List of nodes on the ring info"; - uses SRR-NODE-DATA; - } - - list nodes-not-on-ring { - description "nodes not in topology map"; - uses SRR-NODE-DATA; - } - } - - grouping SRP-SRR-INFO { - description "SRP SRR INFO"; - leaf is-admin-down { - type int32; - description "Is the interfaceadministratively down"; - } - leaf is-srr-enabled { - type int32; - description "SRR enabled"; - } - - list srr-detailed-info { - description "SRP information"; - uses SRP-SRR-DETAIL; - } - } - - grouping SRP-TOPOLOGY-NODE-DATA { - description "SRP TOPOLOGY NODE DATA"; - leaf hop-count { - type uint16; - description "Outer-ring hops to reach this node"; - } - leaf mac-address { - type string; - description "MAC address"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPv4 address"; - } - leaf is-wrapped { - type int32; - description "Wrap state"; - } - leaf is-srr-supported { - type int32; - description "SRR protocol supported"; - } - leaf node-name { - type string; - description "Node name"; - } - } - - grouping SRP-TOPOLOGY-MAP { - description "SRP TOPOLOGY MAP"; - leaf topology-timer { - type uint32; - description "How often a topology pkt is sent"; - } - leaf next-topology-packet-delay { - type uint32; - description "Time remaining until next topo pkt sent"; - } - leaf time-since-last-topology-packet-received { - type uint32; - description "Time since last topo pkt was received"; - } - leaf time-since-last-topology-change { - type uint32; - description "Time since last topology change"; - } - leaf number-of-nodes-on-ring { - type uint16; - description "Number of nodes on ring"; - } - - list ring-node { - description "List of nodes on the ring info"; - uses SRP-TOPOLOGY-NODE-DATA; - } - } - - grouping SRP-TOPOLOGY-INFO { - description "SRP TOPOLOGY INFO"; - leaf is-admin-down { - type int32; - description "Is the interfaceadministratively down"; - } - - list local-information { - description "Detailed SRP topology information"; - uses SRP-TOPOLOGY-MAP; - } - } - - grouping SRP-FAILURE-INFO { - description "SRP failure info"; - leaf type { - type Srp-mgmt-failure-et; - description "Failure type"; - } - leaf reported-state { - type Srp-mgmt-failure-state-et; - description "Reported state"; - } - leaf debounced-state { - type Srp-mgmt-failure-state-et; - description "Debounced state"; - } - leaf current-state { - type Srp-mgmt-failure-state-et; - description "Current state"; - } - leaf stable-time { - type uint64; - description "Stable time"; - } - leaf debounced-delay { - type uint32; - description "Debounce delay"; - } - } - - grouping SRP-IPS-SIDE-DETAIL { - description "SRP IPS SIDE DETAIL"; - leaf mac-address { - type string; - description "MAC address"; - } - leaf wrap-state { - type Srp-mgmt-ips-wrap-state; - description "Wrap state"; - } - leaf packet-sent-timer { - type uint32; - units "second"; - description "SRP IPS packet send interval in seconds"; - } - leaf send-timer-time-remaining { - type uint32; - units "second"; - description - "Time in seconds remaining until next send of an - IPS request"; - } - leaf wtr-timer-remaining { - type uint32; - units "second"; - description "Time in seconds until wrap removal"; - } - leaf self-detected-request { - type Srp-mgmt-ips-req; - description "Self Detected Requests"; - } - leaf remote-request { - type Srp-mgmt-ips-req; - description "Remote Requests"; - } - leaf rx-neighbor-mac-address { - type string; - description "Neighbour mac address for received message"; - } - leaf rx-message-type { - type Srp-mgmt-ips-req; - description "Type of message received"; - } - leaf rx-path-type { - type Srp-mgmt-ips-path-ind; - description "Short/long path for received message"; - } - leaf rx-ttl { - type uint32; - description "Time to live for received message"; - } - leaf rx-packet-test { - type int32; - description "Test for existence of an RX packet"; - } - leaf tx-neighbor-mac-address { - type string; - description "Mac address of node receiving TXed messages"; - } - leaf tx-message-type { - type Srp-mgmt-ips-req; - description "Type of message transmitted"; - } - leaf tx-path-type { - type Srp-mgmt-ips-path-ind; - description "Short/long path of transmitted message"; - } - leaf tx-ttl { - type uint32; - description "Time to live for transmitted message"; - } - leaf tx-packet-test { - type int32; - description "Test for existence of a TX packet"; - } - leaf delay-keep-alive-trigger { - type uint32; - units "millisecond"; - description - "Number of milliseconds to wait after an L1 - failure is detected before triggering an L2 wrap"; - } - - list asserted-failure { - description "Failures presently asserted"; - uses SRP-FAILURE-INFO; - } - } - - grouping SRP-IPS-DETAIL { - description "SRP IPS DETAIL"; - - container side-a { - description "Side A IPS details"; - uses SRP-IPS-SIDE-DETAIL; - } - - container side-b { - description "Side B IPS details"; - uses SRP-IPS-SIDE-DETAIL; - } - leaf mac-address { - type string; - description "MAC address for node"; - } - leaf is-inter-card-bus-enabled { - type int32; - description "Inter card bus enabled"; - } - leaf wtr-timer-period { - type uint32; - units "second"; - description "IPS Wait To Restore period in seconds"; - } - } - - grouping SRP-IPS-INFO { - description "SRP IPS INFO"; - leaf is-admin-down { - type int32; - description "Is the interfaceadministratively down"; - } - - list local-information { - description "IPS information"; - uses SRP-IPS-DETAIL; - } - } - - grouping SRP-ALL-INFO { - description "Complete SRP information"; - - container ips-info { - description "SRP IPS information"; - uses SRP-IPS-INFO; - } - - container topology-info { - description "SRP topology information"; - uses SRP-TOPOLOGY-INFO; - } - - container srr-info { - description "SRP SRR information"; - uses SRP-SRR-INFO; - } - - container rate-limit-info { - description "SRP rate limit information"; - uses SRP-RATE-LIMIT-INFO; - } - } - - grouping IM-CMD-SRP-INFO { - description "IM CMD SRP INFO"; - - container srp-information { - description "SRP-specific data"; - uses SRP-ALL-INFO; - } - - container srp-statistics { - description "SRP-specific packet and byte counters"; - uses IFSTATSBAG-SRP; - } - } - - grouping IM-CMD-INTF-TYPE-INFO { - description "Interface-specific information"; - - container srp-information { - when "../interface-type-info = 'srp'" { - description "../InterfaceTypeInfo = 'SRP'"; - } - description "SRP interface information"; - uses IM-CMD-SRP-INFO; - } - - container tunnel-information { - when "../interface-type-info = 'tunnel'" { - description "../InterfaceTypeInfo = 'Tunnel'"; - } - description "Tunnel interface information"; - uses IM-CMD-TUNNEL-INFO; - } - - container bundle-information { - when "../interface-type-info = 'bundle'" { - description "../InterfaceTypeInfo = 'Bundle'"; - } - description "Bundle interface information"; - uses IM-CMD-BUNDLE-INFO; - } - - container serial-information { - when "../interface-type-info = 'serial'" { - description "../InterfaceTypeInfo = 'Serial'"; - } - description "Serial interface information"; - uses SERIAL-INTERFACE; - } - - container sonet-pos-information { - when "../interface-type-info = 'sonet-pos'" { - description "../InterfaceTypeInfo = 'SonetPOS'"; - } - description "SONET POS interface information"; - uses IM-SONET-POS-INFO-INTERFACE; - } - - container tunnel-gre-information { - when "../interface-type-info = 'tunnel-gre'" { - description "../InterfaceTypeInfo = 'TunnelGRE'"; - } - description "Tunnel GRE interface information"; - uses IM-CMD-TUNL-GRE-INFO; - } - - container pseudowire-head-end-information { - when "../interface-type-info = 'pseudowire-head-end'" { - description "../InterfaceTypeInfo = 'PseudowireHeadEnd'"; - } - description "PseudowireHeadEnd interface information"; - uses PWHE-ETHER-INTERFACE-INFO; - } - - container cem-information { - when "../interface-type-info = 'cem'" { - description "../InterfaceTypeInfo = 'CEM'"; - } - description "Cem interface information"; - uses CEM-INTERFACE; - } - - container gcc-information { - when "../interface-type-info = 'gcc'" { - description "../InterfaceTypeInfo = 'GCC'"; - } - description "GCC interface information"; - uses IM-CMD-GCC-PER-PORT-INFO; - } - leaf interface-type-info { - type Im-cmd-intf-type-enum; - description "InterfaceTypeInfo"; - } - } - - grouping PPP-SHOW-INT-NCP-INFO { - description "NCP state information"; - leaf ncp-state { - type Ppp-fsm-state; - description "NCP state value"; - } - leaf ncp-identifier { - type Ncp-ident; - description "NCP state identifier"; - } - } - - grouping PPP-SHOW-INT-INFO { - description "PPP state information"; - leaf lcp-state { - type Ppp-fsm-state; - description "LCP State"; - } - leaf is-loopback-detected { - type int32; - description "Loopback detected"; - } - leaf keepalive-period { - type uint32; - description "Keepalive value"; - } - leaf is-mp-bundle-member { - type int32; - description "MP Bundle Member"; - } - leaf is-multilink-open { - type int32; - description "Is Multilink Open"; - } - - list ncp-info-array { - description "Array of per-NCP data"; - uses PPP-SHOW-INT-NCP-INFO; - } - } - - grouping EFP-TAG-LOCAL-TRAFFIC-STACK { - description "EFP TAG LOCAL TRAFFIC STACK"; - - list local-traffic-tag { - description "VLAN tags for locally-sourced traffic"; - uses EFP-VLAN-TAG; - } - } - - grouping EFP-VLAN-TAG { - description "EFP VLAN TAG"; - leaf ethertype { - type Efp-tag-etype; - description "Ethertype of tag"; - } - leaf vlan-id { - type Vlan-tag-value; - description "VLAN Id"; - } - } - - grouping EFP-RANGE-TYPE { - description "EFP RANGE TYPE"; - leaf vlan-id-low { - type Vlan-tag-value; - description "VLAN ID Low"; - } - leaf vlan-id-high { - type Vlan-tag-value; - description "VLAN ID High"; - } - } - - grouping EFP-TAG-MATCH { - description "EFP TAG MATCH"; - leaf ethertype { - type Efp-tag-etype; - description "Ethertype of tag to match"; - } - leaf priority { - type Efp-tag-priority; - description "Priority to match"; - } - - list vlan-range { - description "VLAN Ids to match"; - uses EFP-RANGE-TYPE; - } - } - - grouping EFP-DESCRIPTION { - description "EFP DESCRIPTION"; - - container local-traffic-stack { - description "VLAN tags for locally-sourced traffic"; - uses EFP-TAG-LOCAL-TRAFFIC-STACK; - } - leaf payload-ethertype { - type Efp-payload-etype; - description "Payload Ethertype to match"; - } - leaf tags-popped { - type uint16; - description "Number of tags popped on ingress"; - } - leaf is-exact-match { - type int32; - description - "Whether the packet must match the encapsulation - exactly, with no further inner tags"; - } - leaf is-native-vlan { - type int32; - description - "Whether this represents the native VLAN on the - port"; - } - leaf is-native-preserving { - type int32; - description - "Whether the native VLAN is customer-tag - preserving"; - } - leaf source-mac-match { - type Mac-address; - description "The source MAC address to match on ingress"; - } - leaf destination-mac-match { - type Mac-address; - description "The destination MAC address to match on ingress"; - } - - list tags-to-match { - description "Tags to match on ingress packets"; - uses EFP-TAG-MATCH; - } - - list pushe { - description "VLAN tags pushed on egress"; - uses EFP-VLAN-TAG; - } - } - - grouping VLAN-DOUBLE-TAG-STACK { - description "VLAN double tag stack"; - leaf outer-tag { - type Vlan-tag-value; - description "Outer tag value"; - } - leaf second-tag { - type Vlan-tag-value; - description "Second tag value"; - } - } - - grouping VLAN-TAG-STACK-TYPE { - description "VLAN encapsulation and tag stack"; - - container stack { - when "../vlan-encapsulation = 'qinq'" { - description "../VLANEncapsulation = 'QinQ'"; - } - description "Stack value"; - uses VLAN-DOUBLE-TAG-STACK; - } - - container service-instance-details { - when "../vlan-encapsulation = 'service-instance'" { - description "../VLANEncapsulation = 'ServiceInstance'"; - } - description "Service Instance encapsulation"; - uses EFP-DESCRIPTION; - } - - container dot1ad-dot1q-stack { - when "../vlan-encapsulation = 'dot1ad-dot1q'" { - description "../VLANEncapsulation = 'Dot1adDot1Q'"; - } - description "802.1ad 802.1Q stack value"; - uses VLAN-DOUBLE-TAG-STACK; - } - leaf vlan-encapsulation { - type Vlan-encaps; - description "VLANEncapsulation"; - } - leaf tag { - when "../vlan-encapsulation = 'dot1q'" { - description "../VLANEncapsulation = 'Dot1Q'"; - } - type Vlan-tag-value; - description "Tag value"; - } - leaf outer-tag { - when "../vlan-encapsulation = 'qin-any'" { - description "../VLANEncapsulation = 'QinAny'"; - } - type Vlan-tag-value; - description "Outer tag value"; - } - leaf native-tag { - when "../vlan-encapsulation = 'dot1q-native'" { - description "../VLANEncapsulation = 'Dot1QNative'"; - } - type Vlan-tag-value; - description "Native tag value"; - } - leaf dot1ad-tag { - when "../vlan-encapsulation = 'dot1ad'" { - description "../VLANEncapsulation = 'Dot1ad'"; - } - type Vlan-tag-value; - description "802.1ad tag value"; - } - leaf dot1ad-native-tag { - when "../vlan-encapsulation = 'dot1ad-native'" { - description "../VLANEncapsulation = 'Dot1adNative'"; - } - type Vlan-tag-value; - description "802.1ad native tag value"; - } - leaf dot1ad-outer-tag { - when "../vlan-encapsulation = 'dot1ad-any'" { - description "../VLANEncapsulation = 'Dot1adAny'"; - } - type Vlan-tag-value; - description "802.1ad Outer tag value"; - } - } - - grouping VLAN-INTF-GENERIC { - description "VLAN INTF GENERIC"; - - container encapsulation-details { - description "Encapsulation type and tag stack"; - uses VLAN-TAG-STACK-TYPE; - } - } - - grouping IM-CMD-FR-INFO { - description "IM CMD FR INFO"; - leaf fr-encapsulation-type { - type Im-cmd-fr-type-enum; - description "Frame Relay encapsulation type"; - } - leaf lmi-type { - type Im-cmd-lmi-type-enum; - description "The LMI type: Autosense, ANSI, CCITT or CISCO"; - } - leaf lmidlci { - type uint32; - description "LMI DLCI"; - } - leaf is-nni { - type boolean; - description "The NNI LMI interface type"; - } - leaf is-dte { - type boolean; - description "The DTE/DCE LMI interface type"; - } - leaf is-lmi-up { - type boolean; - description - "Flag indicating whether the LMI DTE/DCE/NNI-DTE - state is UP"; - } - leaf is-lmi-nni-dce-up { - type boolean; - description - "Flag indicating whether the LMI NNI-DCE state - is UP"; - } - leaf is-lmi-enabled { - type boolean; - description "The status of FR LMI for an interface"; - } - leaf enquiries-received { - type uint32; - description "Number of enquiry messages received"; - } - leaf enquiries-sent { - type uint32; - description "Number of enquiry messages sent"; - } - leaf status-received { - type uint32; - description "Number of status messages received"; - } - leaf status-sent { - type uint32; - description "Number of status messages sent"; - } - leaf update-status-received { - type uint32; - description "Number of update status messages received"; - } - leaf update-status-sent { - type uint32; - description "Number of update status messages sent"; - } - } - - grouping IM-CMD-ENCAPS-INFO { - description "Encapsulation-specific information"; - - container frame-relay-information { - when "../encapsulation-type = 'frame-relay'" { - description "../EncapsulationType = 'FrameRelay'"; - } - description "Frame Relay information"; - uses IM-CMD-FR-INFO; - } - - container dot1q-information { - when "../encapsulation-type = 'vlan'" { - description "../EncapsulationType = 'VLAN'"; - } - description "VLAN 802.1q information"; - uses VLAN-INTF-GENERIC; - } - - container ppp-information { - when "../encapsulation-type = 'ppp'" { - description "../EncapsulationType = 'PPP'"; - } - description "PPP information"; - uses PPP-SHOW-INT-INFO; - } - leaf encapsulation-type { - type Im-cmd-encaps-enum; - description "EncapsulationType"; - } - } - - grouping IM-CMD-IP-INFO-ST { - description "IM CMD IP INFO ST"; - leaf ip-address { - xr:event-telemetry "Subscribe Telemetry Event"; - type inet:ipv4-address; - description "Interface IPv4 address"; - } - leaf subnet-mask-length { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Interface subnet mask length"; - } - } - - grouping IM-CMD-ARP-INFO-ST { - description "IM CMD ARP INFO ST"; - leaf arp-timeout { - type uint32; - units "second"; - description - "ARP timeout in seconds. Only valid if - 'ARPIsLearningDisabled' is 'false'"; - } - leaf arp-type-name { - type string; - description "ARP type name"; - } - leaf arp-is-learning-disabled { - type boolean; - description - "Whether the interface has dynamic learning - disabled"; - } - } - - grouping IM-CMD-CARRIER-DELAY-ST { - description "IM CMD CARRIER DELAY ST"; - leaf carrier-delay-up { - type uint32; - description "Carrier delay on state up (ms)"; - } - leaf carrier-delay-down { - type uint32; - description "Carrier delay on state down (ms)"; - } - } - - grouping IM-CMD-MAC-ADDR-ST { - description "IM CMD MAC ADDR ST"; - leaf address { - xr:event-telemetry "Subscribe Telemetry Event"; - type yang:mac-address; - description "MAC Address"; - } - } - - grouping IM-CMD-DAMP-ST { - description "IM CMD DAMP ST"; - leaf penalty { - type uint32; - description "Dampening penalty of the interface"; - } - leaf is-suppressed-enabled { - type boolean; - description "Flag showing if state is suppressed"; - } - leaf seconds-remaining { - type uint32; - units "second"; - description "Remaining period of suppression in secs"; - } - leaf half-life { - type uint32; - units "minute"; - description "Configured decay half life in mins"; - } - leaf reuse-threshold { - type uint32; - description "Configured reuse threshold"; - } - leaf suppress-threshold { - type uint32; - description "Value of suppress threshold"; - } - leaf maximum-suppress-time { - type uint32; - units "minute"; - description "Maximum suppress time in mins"; - } - leaf restart-penalty { - type uint32; - description "Configured restart penalty"; - } - } - - grouping IM-CMD-INFO { - description "Full interface information"; - - container dampening-information { - description "State dampening information"; - uses IM-CMD-DAMP-ST; - } - - container mac-address { - description "Interface MAC address"; - uses IM-CMD-MAC-ADDR-ST; - } - - container burned-in-address { - description "Interface burned in address"; - uses IM-CMD-MAC-ADDR-ST; - } - - container carrier-delay { - description "Carrier Delay"; - uses IM-CMD-CARRIER-DELAY-ST; - } - - container arp-information { - description "Interface ARP type and timeout"; - uses IM-CMD-ARP-INFO-ST; - } - - container ip-information { - description "Interface IP address info"; - uses IM-CMD-IP-INFO-ST; - } - - container encapsulation-information { - description "Information specific to the encapsulation"; - uses IM-CMD-ENCAPS-INFO; - } - - container interface-type-information { - description "Information specific to the interface type"; - uses IM-CMD-INTF-TYPE-INFO; - } - - container data-rates { - description "Packet and byte rates"; - uses STATSDBAG-DATARATE; - } - - container interface-statistics { - description "Packet, byte and error counters"; - uses IM-CMD-IF-STATS; - } - - container l2-interface-statistics { - description "L2 Protocol Statistics"; - uses STATS-DATA; - } - - container nv-optical { - description "nV Optical Controller Information"; - uses NV-OPTICAL-INTERFACE-INFO; - } - leaf interface-handle { - type string; - description "Interface name"; - } - leaf interface-type { - type string; - description "Interface type"; - } - leaf hardware-type-string { - type string { - length "0..64"; - } - description "Hardware type description string"; - } - leaf state { - xr:event-telemetry "Subscribe Telemetry Event"; - type Im-state-enum; - description "Interface state"; - } - leaf line-state { - xr:event-telemetry "Subscribe Telemetry Event"; - type Im-state-enum; - description "Line protocol state"; - } - leaf encapsulation { - type string; - description "Interface encapsulation"; - } - leaf encapsulation-type-string { - type string { - length "0..32"; - } - description "Interface encapsulation description string"; - } - leaf mtu { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - units "byte"; - description "MTU in bytes"; - } - leaf is-l2-transport-enabled { - type boolean; - description "L2 transport flag"; - } - leaf state-transition-count { - type uint32; - description "The number of times the state has changed"; - } - leaf last-state-transition-time { - type uint32; - description - "The time elasped after the last state transition"; - } - leaf is-dampening-enabled { - type boolean; - description "Dampening enabled flag"; - } - leaf speed { - type uint32; - description "Interface speed (Kb/s)"; - } - leaf crc-length { - type uint32; - description "Cyclic Redundancy Check length"; - } - leaf is-scramble-enabled { - type boolean; - description "Interface scramble config"; - } - leaf duplexity { - xr:event-telemetry "Subscribe Telemetry Event"; - type Im-attr-duplex; - description "Interface duplexity"; - } - leaf media-type { - type Im-attr-media; - description "Interface media type"; - } - leaf link-type { - type Im-attr-link; - description "Interface link type"; - } - leaf in-flow-control { - type Im-attr-flow-control; - description "Input flow control configuration"; - } - leaf out-flow-control { - type Im-attr-flow-control; - description "Output flow control configuration"; - } - leaf bandwidth { - xr:event-telemetry "Subscribe Telemetry Event"; - type uint32; - description "Interface bandwidth (Kb/s)"; - } - leaf max-bandwidth { - type uint32; - description "Maximum Interface bandwidth (Kb/s)"; - } - leaf keepalive { - type uint32; - description "Interface keepalive time (s)"; - } - leaf is-l2-looped { - type boolean; - description "Loopback detected by layer 2"; - } - leaf parent-interface-name { - type xr:Interface-name; - description "Parent interface"; - } - leaf loopback-configuration { - type Im-cmd-loopback-enum; - description "Interface loopback configuration"; - } - leaf description { - type string; - description "Interface description string"; - } - leaf is-maintenance-enabled { - type boolean; - description "Maintenance embargo flag"; - } - leaf is-data-inverted { - type boolean; - description "Data invert flag"; - } - leaf transport-mode { - type Im-attr-transport-mode; - description "Interface transport mode"; - } - leaf fast-shutdown { - type boolean; - description "Fast Shutdown flag"; - } - leaf if-index { - type uint32; - description - "This is not supposed to be used. It is a dummy - attribute to support ifindex for OC model"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang deleted file mode 100644 index 1f63c01..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang +++ /dev/null @@ -1,229 +0,0 @@ -submodule Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { - - belongs-to Cisco-IOS-XR-pfi-im-cmd-oper { - prefix Cisco-IOS-XR-pfi-im-cmd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pfi-im-cmd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-18" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Im-state-enum { - type enumeration { - enum im-state-not-ready { - description "im state not ready"; - } - enum im-state-admin-down { - description "im state admin down"; - } - enum im-state-down { - description "im state down"; - } - enum im-state-up { - description "im state up"; - } - enum im-state-shutdown { - description "im state shutdown"; - } - enum im-state-err-disable { - description "im state err disable"; - } - enum im-state-down-immediate { - description "im state down immediate"; - } - enum im-state-down-immediate-admin { - description "im state down immediate admin"; - } - enum im-state-down-graceful { - description "im state down graceful"; - } - enum im-state-begin-shutdown { - description "im state begin shutdown"; - } - enum im-state-end-shutdown { - description "im state end shutdown"; - } - enum im-state-begin-error-disable { - description "im state begin error disable"; - } - enum im-state-end-error-disable { - description "im state end error disable"; - } - enum im-state-begin-down-graceful { - description "im state begin down graceful"; - } - enum im-state-reset { - description "im state reset"; - } - enum im-state-operational { - description "im state operational"; - } - enum im-state-not-operational { - description "im state not operational"; - } - enum im-state-unknown { - description "im state unknown"; - } - enum im-state-last { - description "im state last"; - } - } - description "Im state enum"; - } - - grouping IMDS-IFATTR-BASE-INFO { - description "Basic interface information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf parent-interface { - type xr:Interface-name; - description "Parent Interface"; - } - leaf type { - type string; - description "Interface type"; - } - leaf state { - type Im-state-enum; - description "Operational state"; - } - leaf actual-state { - type Im-state-enum; - description - "Operational state with no translation of error - disable or shutdown"; - } - leaf line-state { - type Im-state-enum; - description "Line protocol state"; - } - leaf actual-line-state { - type Im-state-enum; - description - "Line protocol state with no translation of error - disable or shutdown"; - } - leaf encapsulation { - type string; - description "Interface encapsulation"; - } - leaf encapsulation-type-string { - type string { - length "0..32"; - } - description "Interface encapsulation description string"; - } - leaf mtu { - type uint32; - units "byte"; - description "MTU in bytes"; - } - leaf sub-interface-mtu-overhead { - type uint32; - description "Subif MTU overhead"; - } - leaf l2-transport { - type boolean; - description "L2 transport"; - } - leaf bandwidth { - type uint32; - description "Interface bandwidth (Kb/s)"; - } - } - - grouping IM-IF-GROUP-COUNTS { - description "Interface counts"; - leaf interface-count { - type uint32; - description "Number of interfaces"; - } - leaf up-interface-count { - type uint32; - description "Number of interfaces in UP state"; - } - leaf down-interface-count { - type uint32; - description "Number of interfaces in DOWN state"; - } - leaf admin-down-interface-count { - type uint32; - description "Number of interfaces in an ADMINDOWN state"; - } - } - - grouping IM-IF-TYPE-SUMMARY { - description "Interface type summary information"; - - container interface-counts { - description "Counts for interfaces of this type"; - uses IM-IF-GROUP-COUNTS; - } - leaf interface-type-name { - type string; - description "Name of the interface type"; - } - leaf interface-type-description { - type string; - description "Description of the interface type"; - } - } - - grouping IM-IF-SUMMARY-INFO { - description "Interface summary bag"; - - container interface-counts { - description "Counts for all interfaces"; - uses IM-IF-GROUP-COUNTS; - } - - list interface-type { - description "List of per interface type summary information"; - uses IM-IF-TYPE-SUMMARY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper.yang deleted file mode 100644 index 155f072..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfi-im-cmd-oper.yang +++ /dev/null @@ -1,167 +0,0 @@ -module Cisco-IOS-XR-pfi-im-cmd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper"; - - - prefix "pfi-im-cmd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { - revision-date 2017-06-26; - } - - include Cisco-IOS-XR-pfi-im-cmd-oper-sub1 { - revision-date 2017-06-26; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pfi-im-cmd package operational data. - - This module contains definitions - for the following management objects: - interfaces: Interface operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-06-26" { - description - "Change identifiers to be more readable."; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-18" { - description - "Description updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Interface-type-set { - type enumeration { - enum hardware-interfaces { - value 0; - description - "Restrict the output to hardware interfaces only"; - } - } - description "Interface type set"; - } - - grouping INTERFACE-SUMMARY { - description "Common node of node-type-set, interfaces"; - - container interface-summary { - description "Interface summary information"; - uses IM-IF-SUMMARY-INFO; - } - } - - container interfaces { - config false; - description "Interface operational data"; - - container interface-xr { - description - "Detailed operational data for interfaces and - configured features"; - - list interface { - key "interface-name"; - description - "Detailed operational data for a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IM-CMD-INFO; - } - } - - container node-type-sets { - description - "Node and/or interface type specific view of - interface summary data"; - - list node-type-set { - description - "Summary data for all interfaces on a particular - node"; - leaf node-name { - type xr:Node-id; - description "The location to filter on"; - } - leaf type-set-name { - type Interface-type-set; - description "The interface type to filter on"; - } - uses INTERFACE-SUMMARY; - } - } - - container interface-briefs { - description "Brief operational data for interfaces"; - - list interface-brief { - key "interface-name"; - description - "Brief operational attributes for a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IMDS-IFATTR-BASE-INFO; - } - } - - container inventory-summary { - description "Inventory summary information"; - uses IM-IF-SUMMARY-INFO; - } - - container interfaces { - description "Descriptions for interfaces"; - - list interface { - key "interface-name"; - description "Description for a particular interface"; - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - uses IM-DESC-INFO; - } - } - uses INTERFACE-SUMMARY; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfm-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfm-oper.yang deleted file mode 100644 index 4d77b06..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pfm-oper.yang +++ /dev/null @@ -1,211 +0,0 @@ -module Cisco-IOS-XR-pfm-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pfm-oper"; - - - prefix "pfm-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pfm package operational data. - - This module contains definitions - for the following management objects: - platform-fault-manager: PFM data space - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-28" { - description - "IOS-XR 6.3.1 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RACK-TABLE { - description - "Common node of platform-fault-manager, - fault-type1, fault-type2, fault-type3"; - - container racks { - description "Table of racks"; - - list rack { - key "rack"; - description "Number"; - - container slots { - description "Table of slots"; - - list slot { - key "slot"; - description "Name"; - - container fault-summary { - description "Table of Hardware Summary"; - leaf severity-critical-count { - type int32; - description "Fault Severity Critical count"; - } - leaf severity-emergency-or-alert-count { - type int32; - description "Fault Severity Emergency count"; - } - leaf total { - type int32; - description "Faulty Hardware total count"; - } - leaf severity-error-count { - type int32; - description "Fault Severity Error count"; - } - } - - container hardware-fault-devices { - description "Table of Hardware Failure"; - - list hardware-fault-device { - key "hw-fault-device"; - description "Table of Hardware Failure Device"; - leaf hw-fault-device { - type xr:Cisco-ios-xr-string; - description "hw fault device list"; - } - - list hardware-fault-type { - key "hw-fault-type"; - description "Table of Hardware Failure Type"; - leaf condition-description { - type string; - description - "Faulty Hardware Condition Description"; - } - leaf condition-name { - type string; - description "Faulty Hardware Condition Name"; - } - leaf device-key { - type string; - description "Faulty Hardware Device Key"; - } - leaf device-version { - type int32; - description "Faulty Hardware Device Version"; - } - leaf condition-raised-timestamp { - type string; - description "Fault Raised Timestamp"; - } - leaf process-id { - type int32; - description "Faulty Hardware Process ID"; - } - leaf device-description { - type string; - description - "Faulty Hardware Device Description"; - } - leaf condition-severity { - type string; - description - "Faulty Hardware Condition Severity"; - } - leaf hw-fault-type { - type xr:Cisco-ios-xr-string; - description "hw fault type list"; - } - } - } - } - leaf slot { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - leaf rack { - type int32; - description "Rack number"; - } - } - } - } - - container platform-fault-manager { - config false; - description "PFM data space"; - - container exclude { - description "Exclude specic hw fault "; - - container fault-type1s { - description "Table of Hardware Failure Device"; - - list fault-type1 { - key "hw-fault-type1"; - description "Table of Hardware Failure Device"; - - container fault-type2s { - description "Table of Hardware Failure Device"; - - list fault-type2 { - key "hw-fault-type2"; - description "Table of Hardware Failure Device"; - - container fault-type3s { - description "Table of Hardware Failure Device"; - - list fault-type3 { - key "hw-fault-type3"; - description "Table of Hardware Failure Device"; - leaf hw-fault-type3 { - type xr:Cisco-ios-xr-string; - description "hw fault 3"; - } - uses RACK-TABLE; - } - } - leaf hw-fault-type2 { - type xr:Cisco-ios-xr-string; - description "hw fault 2"; - } - uses RACK-TABLE; - } - } - leaf hw-fault-type1 { - type xr:Cisco-ios-xr-string; - description "hw fault 1"; - } - uses RACK-TABLE; - } - } - } - uses RACK-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ping-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ping-act.yang deleted file mode 100755 index 2eabd7d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ping-act.yang +++ /dev/null @@ -1,79 +0,0 @@ -module Cisco-IOS-XR-ping-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act"; - - prefix "ping-act"; - - import Cisco-IOS-XR-types { prefix "xr"; } - include "Cisco-IOS-XR-ipv4-ping-act"; - include "Cisco-IOS-XR-ipv6-ping-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ping action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-28" { - description - "IOS XR 6.2.1 revision."; - } - - rpc ping { - - description "Send echo messages"; - - input { - - container destination { - - uses PING-OPTIONS; - - uses IPV4-SPECIFIC-OPTIONS; - - uses IPV6-SPECIFIC-OPTIONS; - } - - list ipv4 { - key destination; - - uses IPV4-PING-INPUT; - } - - container ipv6 { - uses IPV6-PING-INPUT; - } - - } - - output { - - container ping-response { - - list ipv4 { - key destination; - - uses IPV4-PING-OUTPUT; - } - - container ipv6 { - uses IPV6-PING-OUTPUT; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang deleted file mode 100644 index 3acc6f5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang +++ /dev/null @@ -1,580 +0,0 @@ -submodule Cisco-IOS-XR-plat-chas-invmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-plat-chas-invmgr-oper { - prefix Cisco-IOS-XR-plat-chas-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR plat-chas-invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Inv-reset-reason { - type enumeration { - enum module-reset-reason-unknown { - value 0; - description "module reset reason unknown"; - } - enum module-reset-reason-powerup { - value 1; - description "module reset reason powerup"; - } - enum module-reset-reason-user-shutdown { - value 2; - description "module reset reason user shutdown"; - } - enum module-reset-reason-user-reload { - value 3; - description "module reset reason user reload"; - } - enum module-reset-reason-auto-reload { - value 4; - description "module reset reason auto reload"; - } - enum module-reset-reason-environment { - value 5; - description "module reset reason environment"; - } - enum module-reset-reason-user-unpower { - value 6; - description "module reset reason user unpower"; - } - } - description "Inv reset reason"; - } - typedef Inv-monitor-state { - type enumeration { - enum unmonitored { - value 0; - description "unmonitored"; - } - enum monitored { - value 1; - description "monitored"; - } - } - description "Inv monitor state"; - } - typedef Inv-card-state { - type enumeration { - enum inv-card-not-present { - value 0; - description "inv card not present"; - } - enum inv-card-present { - value 1; - description "inv card present"; - } - enum inv-card-reset { - value 2; - description "inv card reset"; - } - enum inv-card-booting { - value 3; - description "inv card booting"; - } - enum inv-card-mbi-booting { - value 4; - description "inv card mbi booting"; - } - enum inv-card-running-mbi { - value 5; - description "inv card running mbi"; - } - enum inv-card-running-ena { - value 6; - description "inv card running ena"; - } - enum inv-card-bring-down { - value 7; - description "inv card bring down"; - } - enum inv-card-ena-failure { - value 8; - description "inv card ena failure"; - } - enum inv-card-f-diag-run { - value 9; - description "inv card f diag run"; - } - enum inv-card-f-diag-failure { - value 10; - description "inv card f diag failure"; - } - enum inv-card-powered { - value 11; - description "inv card powered"; - } - enum inv-card-unpowered { - value 12; - description "inv card unpowered"; - } - enum inv-card-mdr { - value 13; - description "inv card mdr"; - } - enum inv-card-mdr-running-mbi { - value 14; - description "inv card mdr running mbi"; - } - enum inv-card-main-t-mode { - value 15; - description "inv card main t mode"; - } - enum inv-card-admin-down { - value 16; - description "inv card admin down"; - } - enum inv-card-no-mon { - value 17; - description "inv card no mon"; - } - enum inv-card-unknown { - value 18; - description "inv card unknown"; - } - enum inv-card-failed { - value 19; - description "inv card failed"; - } - enum inv-card-ok { - value 20; - description "inv card ok"; - } - enum inv-card-missing { - value 21; - description "inv card missing"; - } - enum inv-card-field-diag-downloading { - value 22; - description "inv card field diag downloading"; - } - enum inv-card-field-diag-unmonitor { - value 23; - description "inv card field diag unmonitor"; - } - enum inv-card-fabric-field-diag-unmonitor { - value 24; - description "inv card fabric field diag unmonitor"; - } - enum inv-card-field-diag-rp-launching { - value 25; - description "inv card field diag rp launching"; - } - enum inv-card-field-diag-running { - value 26; - description "inv card field diag running"; - } - enum inv-card-field-diag-pass { - value 27; - description "inv card field diag pass"; - } - enum inv-card-field-diag-fail { - value 28; - description "inv card field diag fail"; - } - enum inv-card-field-diag-timeout { - value 29; - description "inv card field diag timeout"; - } - enum inv-card-disabled { - value 30; - description "inv card disabled"; - } - enum inv-card-spa-booting { - value 31; - description "inv card spa booting"; - } - enum inv-card-not-allowed-online { - value 32; - description "inv card not allowed online"; - } - enum inv-card-stopped { - value 33; - description "inv card stopped"; - } - enum inv-card-incompatible-fw-ver { - value 34; - description "inv card incompatible fw ver"; - } - enum inv-card-fpd-hold { - value 35; - description "inv card fpd hold"; - } - enum inv-card-node-prep { - value 36; - description "inv card node prep"; - } - enum inv-card-updating-fpd { - value 37; - description "inv card updating fpd"; - } - enum inv-card-num-states { - value 38; - description "inv card num states"; - } - } - description "Inv card state"; - } - typedef Inv-power-admin-state { - type enumeration { - enum admin-power-invalid { - value 0; - description "admin power invalid"; - } - enum admin-on { - value 2; - description "admin on"; - } - enum admin-off { - value 3; - description "admin off"; - } - } - description "Inv power admin state"; - } - typedef Inv-admin-state { - type enumeration { - enum admin-state-invalid { - value 0; - description "admin state invalid"; - } - enum admin-up { - value 1; - description "admin up"; - } - enum admin-down { - value 2; - description "admin down"; - } - } - description "Inv admin state"; - } - - grouping INV-XML-DISK-ATTRIBUTE { - description "Disk attribute"; - leaf disk-name { - type string { - length "0..255"; - } - description "Disk name"; - } - leaf disk-size { - type uint32; - units "megabyte"; - description "Disk size in mega-bytes"; - } - leaf sector-size { - type uint32; - units "byte"; - description "Disk sector size in bytes"; - } - } - - grouping INV-XML-DISK-INFO { - description "Disk information"; - leaf disk-name { - type string { - length "0..255"; - } - description "(Deprecated) Disk name"; - } - leaf disk-size { - type uint32; - units "megabyte"; - description "(Deprecated) Disk size in mega-bytes"; - } - leaf sector-size { - type uint32; - units "byte"; - description "(Deprecated) Disk sector size in bytes"; - } - - list disks { - description "Disk attributes"; - uses INV-XML-DISK-ATTRIBUTE; - } - } - - grouping INV-BOOTFLASH { - description "Bootflash information"; - leaf image-name { - type string { - length "0..255"; - } - description "Image name"; - } - leaf platform-type { - type string { - length "0..255"; - } - description "Platform Type"; - } - leaf major-version { - type uint32; - description "Major version"; - } - leaf minor-version { - type uint32; - description "Minor version"; - } - leaf micro-image-version { - type string { - length "0..255"; - } - description "Micro image version"; - } - leaf platform-specific { - type string { - length "0..255"; - } - description "Platform specific text"; - } - leaf release-type { - type string { - length "0..255"; - } - description "Release type"; - } - leaf bootflash-type { - type string { - length "0..255"; - } - description "Bootflash type e.g. SIMM"; - } - leaf bootflash-size { - type uint32; - units "kilobyte"; - description "Bootflash size in kilo-bytes"; - } - leaf sector-size { - type uint32; - units "byte"; - description "Sector size in bytes"; - } - } - - grouping INV-IMAGE { - description "Image information"; - leaf image-name { - type string { - length "0..255"; - } - description "Image name"; - } - leaf major-version { - type uint32; - description "Major version"; - } - leaf minor-version { - type uint32; - description "Minor version"; - } - leaf micro-image-version { - type string { - length "0..255"; - } - description "Micro image version"; - } - leaf platform-specific { - type string { - length "0..255"; - } - description "Platform specific text"; - } - leaf release-type { - type string { - length "0..255"; - } - description "Release type"; - } - } - - grouping INV-XML-MOTHERBOARD-INFO { - description "Motherboard information"; - - container rom { - description "ROM information"; - uses INV-IMAGE; - } - - container bootflash { - description "Bootflash information"; - uses INV-BOOTFLASH; - } - - container processor { - description "Processor information"; - uses INV-PROCESSOR; - } - leaf main-memory-size { - type uint64; - units "byte"; - description "Memory size in bytes"; - } - leaf nvram-size { - type uint64; - units "byte"; - description "NVRAM size in bytes"; - } - } - - grouping INV-PROCESSOR { - description "Processor information"; - leaf processor-type { - type string { - length "0..255"; - } - description "Type e.g. 7457"; - } - leaf speed { - type string { - length "0..255"; - } - description "Speed e.g. 1197Mhz"; - } - leaf revision { - type string { - length "0..255"; - } - description "Revision. e.g 1.1"; - } - } - - grouping INV-TIMESPEC { - description "Inventory FRU Info Time Spec"; - leaf time-in-seconds { - type int32; - units "second"; - description "Time Value in Seconds"; - } - leaf time-in-nano-seconds { - type int32; - units "nanosecond"; - description "Time Value in Nano-seconds"; - } - } - - grouping INV-XML-FRU-INFO { - description "FRU Information"; - - container last-operational-state-change { - description "Time operational state is last changed"; - uses INV-TIMESPEC; - } - - container module-up-time { - description "Module up time"; - uses INV-TIMESPEC; - } - leaf module-administrative-state { - type Inv-admin-state; - description "Administrative state"; - } - leaf module-power-administrative-state { - type Inv-power-admin-state; - description "Power administrative state"; - } - leaf module-operational-state { - type Inv-card-state; - description "Operation state"; - } - leaf module-monitor-state { - type Inv-monitor-state; - description "Monitor state"; - } - leaf module-reset-reason { - type Inv-reset-reason; - description "Reset reason"; - } - } - - grouping INV-XML-ENTITY-BASIC-INFO { - description - "Bag contains all the basic inventory information - for each entity"; - leaf name { - type string { - length "0..255"; - } - description "name string for the entity"; - } - leaf description { - type string { - length "0..255"; - } - description - "describes in user-readable terms - what the entity in question does"; - } - leaf model-name { - type string { - length "0..255"; - } - description "model name"; - } - leaf hardware-revision { - type string { - length "0..255"; - } - description "hw revision string"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "serial number"; - } - leaf firmware-revision { - type string { - length "0..255"; - } - description "firmware revision string"; - } - leaf software-revision { - type string { - length "0..255"; - } - description "software revision string"; - } - leaf vendor-type { - type string { - length "0..255"; - } - description "maps to the vendor OID string"; - } - leaf is-field-replaceable-unit { - type boolean; - description "1 if Field Replaceable Unit 0, if not"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang deleted file mode 100644 index 74eced5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang +++ /dev/null @@ -1,323 +0,0 @@ -submodule Cisco-IOS-XR-plat-chas-invmgr-oper-sub2 { - - belongs-to Cisco-IOS-XR-plat-chas-invmgr-oper { - prefix Cisco-IOS-XR-plat-chas-invmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR plat-chas-invmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Node-state { - type enumeration { - enum not-present { - value 0; - description "Not present"; - } - enum present { - value 1; - description "Present"; - } - enum reset { - value 2; - description "Reset"; - } - enum rommon { - value 3; - description "Card booting or rommon"; - } - enum mbi-boot { - value 4; - description "MBI booting"; - } - enum mbi-run { - value 5; - description "Running MBI"; - } - enum xr-run { - value 6; - description "Running ENA"; - } - enum bring-down { - value 7; - description "Bringdown"; - } - enum xr-fail { - value 8; - description "ENA failure"; - } - enum fdiag-run { - value 9; - description "Running FDIAG"; - } - enum fdiag-fail { - value 10; - description "FDIAG failure"; - } - enum power { - value 11; - description "Powered"; - } - enum unpower { - value 12; - description "Unpowered"; - } - enum mdr-warm-reload { - value 13; - description "MDR warm reload"; - } - enum mdr-mbi-run { - value 14; - description "MDR running MBI"; - } - enum maintenance-mode { - value 15; - description "Maintenance mode"; - } - enum admin-down { - value 16; - description "Admin down"; - } - enum not-monitor { - value 17; - description "No MON"; - } - enum unknown-card { - value 18; - description "Unknown"; - } - enum failed { - value 19; - description "Failed"; - } - enum ok { - value 20; - description "OK"; - } - enum missing { - value 21; - description "Missing"; - } - enum diag-download { - value 22; - description "Field diag downloading"; - } - enum diag-not-monitor { - value 23; - description "Field diag unmonitor"; - } - enum fabric-diag-not-monitor { - value 24; - description "Fabric field diag unmonitor"; - } - enum diag-rp-launch { - value 25; - description "Field diag RP launching"; - } - enum diag-run { - value 26; - description "Field diag running"; - } - enum diag-pass { - value 27; - description "Field diag pass"; - } - enum diag-fail { - value 28; - description "Field diag fail"; - } - enum diag-timeout { - value 29; - description "Field diag timeout"; - } - enum disable { - value 30; - description "Disable"; - } - enum spa-boot { - value 31; - description "SPA booting"; - } - enum not-allowed-online { - value 32; - description "Not allowed online"; - } - enum stop { - value 33; - description "Stopped"; - } - enum incomp-version { - value 34; - description "Incompatible FW version"; - } - enum fpd-hold { - value 35; - description "FPD hold"; - } - enum xr-preparation { - value 36; - description "XR preparation"; - } - enum sync-ready { - value 37; - description "Sync ready state"; - } - enum xr-isolate { - value 38; - description "Node isolate state"; - } - enum ready { - value 39; - description "Ready"; - } - enum invalid { - value 40; - description "Invalid"; - } - enum operational { - value 41; - description "Operational"; - } - enum operational-lock { - value 42; - description "Operational lock"; - } - enum going-down { - value 43; - description "Going down"; - } - enum going-offline { - value 44; - description "Going offline"; - } - enum going-online { - value 45; - description "Going online"; - } - enum offline { - value 46; - description "Offline"; - } - enum up { - value 47; - description "Up"; - } - enum down { - value 48; - description "Down"; - } - enum max { - value 49; - description "Max"; - } - enum unknown { - value 50; - description "Unknown"; - } - } - description "Node state detail"; - } - typedef Card-redundancy-state { - type enumeration { - enum active { - value 1; - description "Active"; - } - enum standby { - value 2; - description "Standby"; - } - } - description "Redundancy state detail"; - } - - grouping VM-INFO { - description "VM Info"; - leaf node-descriptiton { - type string; - description "Node Type"; - } - leaf red-role { - type string; - description "Node Redundency Role"; - } - leaf partner-name { - type string; - description "Partner Name"; - } - leaf software-status { - type string; - description "SW status"; - } - leaf node-ip { - type string; - description "Node IP Address"; - } - } - - grouping PLATFORM-INFO { - description "Platform information"; - leaf card-type { - type string; - description "Card type"; - } - leaf card-redundancy-state { - type Card-redundancy-state; - description "Redundancy state"; - } - leaf plim { - type string; - description "PLIM"; - } - leaf state { - type Node-state; - description "State"; - } - leaf is-monitored { - type boolean; - description "True if power state is active"; - } - leaf is-powered { - type boolean; - description "True if monitor state is active"; - } - leaf is-shutdown { - type boolean; - description "True if shutdown state is active"; - } - leaf admin-state { - type string; - description "Admin state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper.yang deleted file mode 100644 index 35cfd0e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-plat-chas-invmgr-oper.yang +++ /dev/null @@ -1,321 +0,0 @@ -module Cisco-IOS-XR-plat-chas-invmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-plat-chas-invmgr-oper"; - - - prefix "plat-chas-invmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-plat-chas-invmgr-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-plat-chas-invmgr-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR plat-chas-invmgr package operational data. - - This module contains definitions - for the following management objects: - platform: Platform information - platform-inventory: platform inventory - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping STATE { - description "Common node of instance, slot"; - - container state { - description "State information"; - uses PLATFORM-INFO; - } - } - - grouping PORT-SLOT-TABLE { - description "Common node of card, module"; - - container port-slots { - description "Table of port slots"; - - list port-slot { - key "name"; - description "Port slot number"; - - container portses { - description "Table of spirit port slots"; - - list ports { - key "name"; - description "Port number"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Port name"; - } - uses HW-COMPONENT-TABLE; - uses SENSOR-TABLE; - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Port slot name"; - } - uses SENSOR-TABLE; - uses ATTRIBUTES; - } - } - } - - grouping SLOT-TABLE { - description "Common node of rack, rack"; - - container slots { - description "Table of slots"; - - list slot { - key "name"; - description "Slot name"; - - container cards { - description "Table of cards"; - - list card { - key "name"; - description "Card number"; - - container hardware-information { - description "HardwareInformationDir"; - - container processor-information { - description "ProcesorInformation"; - uses INV-PROCESSOR; - } - - container motherboard-information { - description "MotherboardInformation"; - uses INV-XML-MOTHERBOARD-INFO; - } - - container bootflash-information { - description "BootflashInformation"; - uses INV-BOOTFLASH; - } - - container disk-information { - description "DiskInformation"; - uses INV-XML-DISK-INFO; - } - } - - container sub-slots { - description "Table of subslots"; - - list sub-slot { - key "name"; - description "Subslot number"; - - container module { - description "Module of a subslot"; - uses PORT-SLOT-TABLE; - uses SENSOR-TABLE; - uses ATTRIBUTES; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Subslot name"; - } - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Card name"; - } - uses PORT-SLOT-TABLE; - uses HW-COMPONENT-TABLE; - uses SENSOR-TABLE; - uses ATTRIBUTES; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - uses ATTRIBUTES; - } - } - } - - grouping PLATFORM-COMMON-SLOT-TABLE { - description - "Common node of rack, rackCommon node of rack, - rack"; - - container slots { - description "Table of slots"; - - list slot { - key "slot-name"; - description "Slot name"; - - container instances { - description "Table of Instances"; - - list instance { - key "instance-name"; - description "Instance name"; - leaf instance-name { - type string; - description "Instance name"; - } - uses STATE; - } - } - - container vm { - description "VM information"; - uses VM-INFO; - } - leaf slot-name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - uses STATE; - } - } - } - - grouping SENSOR-TABLE { - description - "Common node of card, module, hw-component, - port-slot, ports"; - - container sensors { - description "Table of sensors"; - - list sensor { - key "name"; - description "Sensor number"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Sensor name"; - } - uses ATTRIBUTES; - } - } - } - - grouping HW-COMPONENT-TABLE { - description "Common node of card, ports"; - - container hw-components { - description "Table of HW components "; - - list hw-component { - key "name"; - description "HW component number"; - leaf name { - type xr:Cisco-ios-xr-string; - description "HW component name"; - } - uses SENSOR-TABLE; - uses ATTRIBUTES; - } - } - } - - grouping ATTRIBUTES { - description - "Common node of rack, rack, slot, card, sub-slot, - module, port-slot, hw-component, sensor, ports"; - - container attributes { - description "Attributes"; - - container basic-info { - description "Entity attributes"; - uses INV-XML-ENTITY-BASIC-INFO; - } - - container fru-info { - description "Field Replaceable Unit (FRU) attributes"; - uses INV-XML-FRU-INFO; - } - } - } - - container platform { - config false; - description "Platform information"; - - container racks { - description "Table of racks"; - - list rack { - key "rack-name"; - description "Rack name"; - leaf rack-name { - type xr:Cisco-ios-xr-string; - description "Rack name"; - } - uses PLATFORM-COMMON-SLOT-TABLE; - } - } - } - - container platform-inventory { - config false; - description "platform inventory"; - - container racks { - description "Table of racks"; - - list rack { - key "name"; - description "Rack name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Rack name"; - } - uses SLOT-TABLE; - uses ATTRIBUTES; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper-sub1.yang deleted file mode 100644 index f09c488..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper-sub1.yang +++ /dev/null @@ -1,456 +0,0 @@ -submodule Cisco-IOS-XR-platform-pifib-oper-sub1 { - - belongs-to Cisco-IOS-XR-platform-pifib-oper { - prefix Cisco-IOS-XR-platform-pifib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR platform-pifib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-22" { - description - "Initial revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PL-PIFIB-HARDWARE-INFO { - description "PL PIFIB HARDWARE INFO"; - leaf policer { - type uint32; - description "Policer Pointer"; - } - leaf stats-ptr { - type uint32; - description "Stats Pointer"; - } - leaf accepted { - type uint64; - description "Accepted Packets Counter"; - } - leaf dropped { - type uint64; - description "Dropped Packets Counter"; - } - leaf sort-start-offset { - type int32; - description "Relative position in sorting order"; - } - leaf tm-start-offset { - type int32; - description "Relative position in TCAM"; - } - } - - grouping PL-PIFIB-SHOW-ENTRY { - description "LPTS TCAM Pre-IFIB Entry Information"; - leaf l3protocol { - type uint32; - description "Layer 3 Protocol"; - } - leaf l4protocol { - type uint32; - description "Layer 4 Protocol"; - } - leaf intf-handle { - type uint32; - description "Interface Handle"; - } - leaf intf-name { - type string; - description "Interface Name"; - } - leaf uidb-index { - type uint32; - description "Interface uidb index"; - } - leaf local-addr { - type string; - description "Local IP Address"; - } - leaf local-prefix-len { - type uint32; - description "Local Prefix Length"; - } - leaf remote-addr { - type string; - description "Remote IP Address"; - } - leaf remote-prefix-len { - type uint32; - description "Remote Prefix Length"; - } - leaf vrf-id { - type uint32; - description "VRF ID"; - } - leaf u-value { - type uint32; - description "Remote Port/ICMP Type/IGMP Type"; - } - leaf u-len { - type uint32; - description "Union Key Length"; - } - leaf local-port { - type uint32; - description "Local port"; - } - leaf is-frag { - type uint8; - description "Is Fragment"; - } - leaf is-syn { - type uint8; - description "Is SYN"; - } - leaf action { - type uint8; - description "Action"; - } - leaf action-string { - type string; - description "Action String"; - } - leaf listener-tag { - type uint8; - description "Listener Tag"; - } - leaf is-fgid { - type uint8; - description "Is FGID or not"; - } - leaf is-vrf { - type uint8; - description "Is VRF or not"; - } - leaf is-optimized { - type uint8; - description "Is optimized or not"; - } - leaf is-uidb-opt-bit { - type uint8; - description "Is uidb set for optimized entry or not"; - } - leaf fgid-or-sfp { - type uint32; - description "fabric group id or swith fabric port"; - } - leaf remote-rack { - type uint8; - description "Is entry remote or not"; - } - leaf rack-id { - type uint32; - description "Remote racknum if remote"; - } - leaf rslot { - type uint32; - description "Remote slotnum if remote"; - } - leaf cir { - type uint64; - description "Committed Information Rate"; - } - leaf flow-type { - type uint32; - description "Flow type"; - } - leaf priority { - type uint32; - description "Flow priority or COS"; - } - leaf sid { - type uint32; - description "Stream ID"; - } - leaf policer-avgrate { - type uint32; - description "Policer avg. rate limit"; - } - leaf policer-burst { - type uint32; - description "Policer burst"; - } - leaf lookup-priority { - type int32; - description "Lookup priority"; - } - leaf storage-priority { - type int32; - description "Storage priority"; - } - leaf num-tm-entries { - type int32; - description "Number of TCAM entries used"; - } - leaf entry-ptr { - type uint32; - description "ptr to ifib_entry_st"; - } - leaf entry-shadow-ptr { - type uint32; - description "ptr to ifib_entry_shadow_st"; - } - leaf list-node-ptr { - type uint32; - description "ptr to dlqueue list node"; - } - leaf state { - type uint8; - description "state of pifib entry"; - } - leaf retry-fail-cause { - type uint8; - description "failure cause"; - } - leaf num-retries { - type uint8; - description "retries count"; - } - leaf min-ttl { - type uint8; - description "Minimum TTL"; - } - leaf u-type { - type uint8; - description "Union Key Type"; - } - leaf remote-fgid { - type uint32; - description "Remote FGID"; - } - leaf acl-str { - type yang:hex-string; - description "Acl name"; - } - leaf no-stats { - type uint8; - description "Stats not available"; - } - - list hw-info { - description "Per pipe type hardware info"; - uses PL-PIFIB-HARDWARE-INFO; - } - } - - grouping PL-PIFIB-SHOW-STATS { - description "Pre-IFIB global statistics"; - leaf accepted { - type uint64; - description "Deleted-entry accepted packets counter"; - } - leaf dropped { - type uint64; - description "Deleted-entry dropped packets counter"; - } - leaf clear-ts { - type uint64; - description "Statistics clear timestamp"; - } - leaf no-stats-mem-err { - type uint64; - description "No statistics memory error"; - } - } - - grouping PL-PIFIB-SHOW-BFD-DISC-ENTRY-INFO { - description "PL PIFIB SHOW BFD DISC ENTRY INFO"; - leaf index { - type uint8; - description "index"; - } - leaf is-mcast { - type uint8; - description "is mcast"; - } - leaf fgid-or-vqi { - type uint32; - description "fgid or vqi"; - } - leaf is-valid { - type uint8; - description "is valid"; - } - leaf policer-id { - type uint32; - description "policer id"; - } - } - - grouping PL-PIFIB-SHOW-BFD-DISC-ENTRY { - description - "Pre-IFIB platform specific bfd discriminator - table entry data structure"; - - list bfd-entry-info { - description "Per bfd disc entry info"; - uses PL-PIFIB-SHOW-BFD-DISC-ENTRY-INFO; - } - } - - grouping PL-PIFIB-SHOW-STATIC-POLICE-INFO { - description "PL PIFIB SHOW STATIC POLICE INFO"; - leaf punt-reason { - type uint32; - description "punt reason"; - } - leaf sid { - type uint32; - description "sid"; - } - leaf flow-rate { - type uint32; - description "flow rate"; - } - leaf burst-rate { - type uint32; - description "burst rate"; - } - leaf accepted { - type uint64; - description "accepted"; - } - leaf dropped { - type uint64; - description "dropped"; - } - leaf punt-reason-string { - type yang:hex-string; - description "punt reason string"; - } - leaf change-type { - type uint8; - description "change type"; - } - } - - grouping PL-PIFIB-SHOW-STATIC-POLICE { - description - "Pre-IFIB platform specific punt reason data - structure"; - - list static-info { - description "Per punt reason info"; - uses PL-PIFIB-SHOW-STATIC-POLICE-INFO; - } - } - - grouping PL-PIFIB-POLICE-INFO { - description "PL PIFIB POLICE INFO"; - leaf avgrate { - type uint32; - description "avgrate"; - } - leaf burst { - type uint32; - description "burst"; - } - leaf static-avgrate { - type uint32; - description "static avgrate"; - } - leaf avgrate-type { - type uint32; - description "avgrate type"; - } - leaf accepted-stats { - type uint64; - description "accepted stats"; - } - leaf dropped-stats { - type uint64; - description "dropped stats"; - } - leaf policer { - type uint32; - description "policer"; - } - leaf iptos-value { - type uint8; - description "iptos value"; - } - leaf change-type { - type uint8; - description "change type"; - } - leaf acl-config { - type uint8; - description "acl config"; - } - leaf acl-str { - type yang:hex-string; - description "acl str"; - } - } - - grouping PL-PIFIB-SHOW-POLICE { - description "Pre-IFIB platform specific police data structure"; - - list police-info { - description "Per flow type police info"; - uses PL-PIFIB-POLICE-INFO; - } - } - - grouping PL-PIFIB-USAGE-INFO { - description "PL PIFIB USAGE INFO"; - leaf pipe-id { - type uint8; - description "Pipe ID"; - } - leaf region { - type uint8; - description "Region Type"; - } - leaf region-id { - type uint8; - description "Region ID"; - } - leaf size { - type uint32; - description "Maximum Number of Entries in the Region"; - } - leaf used { - type uint32; - description "Used Number of Entries in the Region"; - } - } - - grouping PL-PIFIB-SHOW-USAGE { - description "Pre-IFIB platform specific usage data structure"; - - list usage-info { - description "Per TCAM type usage info"; - uses PL-PIFIB-USAGE-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper.yang deleted file mode 100644 index 1e14a0a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-platform-pifib-oper.yang +++ /dev/null @@ -1,126 +0,0 @@ -module Cisco-IOS-XR-platform-pifib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-platform-pifib-oper"; - - - prefix "platform-pifib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-lpts-pre-ifib-oper { prefix "a1"; } - - include Cisco-IOS-XR-platform-pifib-oper-sub1 { - revision-date 2016-02-22; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR platform-pifib package operational data. - - This YANG module augments the - Cisco-IOS-XR-lpts-pre-ifib-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-22" { - description - "Initial revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Usage-address-family { - type enumeration { - enum ipv4 { - value 0; - description "Ipv4 af"; - } - enum ipv6 { - value 1; - description "Ipv6 af"; - } - } - description "Usage address family"; - } - - augment "/a1:lpts-pifib/a1:nodes/a1:node" { - - container hardware { - description "Hardware specific"; - - container usage-entries { - description "Usage Table options"; - - list usage-entry { - key "region-id"; - description "Usage details"; - leaf region-id { - type Usage-address-family; - description "Region ID"; - } - uses PL-PIFIB-SHOW-USAGE; - } - } - - container police { - description "Police details"; - uses PL-PIFIB-SHOW-POLICE; - } - - container static-police { - description "Static Police details"; - uses PL-PIFIB-SHOW-STATIC-POLICE; - } - - container bfd { - description "Bfd details"; - uses PL-PIFIB-SHOW-BFD-DISC-ENTRY; - } - - container statistics { - description "Hardware Entry type"; - uses PL-PIFIB-SHOW-STATS; - } - - container index-entries { - description "Hardware Entry options"; - - list index-entry { - key "index"; - description "Entry options"; - leaf index { - type int32; - description "Index"; - } - uses PL-PIFIB-SHOW-ENTRY; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-lpts-pre-ifib-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-cfg.yang deleted file mode 100644 index 0fed470..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-cfg.yang +++ /dev/null @@ -1,3816 +0,0 @@ -module Cisco-IOS-XR-pmengine-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg"; - - - prefix "pmengine-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pmengine package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Secyif-report { - type enumeration { - enum report-if-inpkts-untagged { - value 134217728; - description "PM SECYIF if InPktsUntagged report"; - } - enum report-if-inpkts-not-ag { - value 134217729; - description "PM SECYIF if InPktsNoTag report"; - } - enum report-if-inpktsbadtag { - value 134217730; - description "PM SECYIF if InPktsBadTag report"; - } - enum report-if-inpkts-unknown-sci { - value 134217731; - description "PM SECYIF if InPktsUnknownSCI report"; - } - enum report-if-inpktsnosci { - value 134217732; - description "PM SECYIF if InPktsNoSCI report"; - } - enum report-if-inpkts-overrun { - value 134217733; - description "PM SECYIF if InPktsOverrun report"; - } - enum report-if-inoctets-validate-d { - value 134217734; - description "PM SECYIF if InOctetsValidated report"; - } - enum report-if-inoctetsdecrypted { - value 134217735; - description "PM SECYIF if InOctetsDecrypted report"; - } - enum report-if-outpkts-untagged { - value 134217736; - description "PM SECYIF if OutPktsUntagged report"; - } - enum report-if-outpkts-too-long { - value 134217737; - description "PM SECYIF if OutPktsTooLong report"; - } - enum report-if-outoctetsprotected { - value 134217738; - description "PM SECYIF if OutOctetsProtected report"; - } - enum report-if-outoctetsencrypted { - value 134217739; - description "PM SECYIF if OutOctetsEncrypted report"; - } - } - description "Secyif report"; - } - typedef Gfp-report { - type enumeration { - enum report-rx-bit-err { - value 6291456; - description "PM GFP rx bit err report"; - } - enum report-rx-inv-typ { - value 6291457; - description "PM GFP rx inv type report"; - } - enum report-rx-crc { - value 6291458; - description "PM GFP rx crc report"; - } - enum report-rx-lfd { - value 6291459; - description "PM GFP rx lfd report"; - } - enum report-rx-csf { - value 6291460; - description "PM GFP rx csf report"; - } - } - description "Gfp report"; - } - typedef Ho-vc-threshold { - type enumeration { - enum thresh-eb { - value 33554432; - description "PM EB threshold"; - } - enum thresh-es { - value 33554433; - description "PM ES threshold"; - } - enum thresh-esr { - value 33554434; - description "PM ESR threshold"; - } - enum thresh-ses { - value 33554435; - description "PM SES threshold"; - } - enum thresh-sesr { - value 33554436; - description "PM SESR threshold"; - } - enum thresh-bbe { - value 33554437; - description "PM BBE threshold"; - } - enum thresh-bber { - value 33554438; - description "PM BBER threshold"; - } - enum thresh-uass { - value 33554439; - description "PM UASS threshold"; - } - } - description "Ho vc threshold"; - } - typedef Ether-threshold { - type enumeration { - enum thresh-rx-pkt { - value 8388608; - description "PM Ether rx pkt threshold"; - } - enum thresh-rx-util { - value 8388609; - description "PM Ether rx util threshold"; - } - enum thresh-tx-util { - value 8388610; - description "PM Ether tx util threshold"; - } - enum thresh-stat-pkt { - value 8388611; - description "PM ether stat pkt threshold"; - } - enum thresh-octet-stat { - value 8388612; - description "PM Ether octet stat threshold"; - } - enum thresh-over-size-pkt { - value 8388613; - description "PM Ether oversize pkt threshold"; - } - enum thresh-fcs-err { - value 8388614; - description "PMEther fcs error threshold"; - } - enum thresh-long-frame-s { - value 8388615; - description "PM Ether long frames threshold"; - } - enum thresh-jabber-stats { - value 8388616; - description "PM Ether jabber stats threshold"; - } - enum thresh-64-octet { - value 8388617; - description "PM Ether 64 octet threshold"; - } - enum thresh-65-127-octet { - value 8388618; - description "PM Ether 65 to 127 octet threshold"; - } - enum thresh-128-255-octet { - value 8388619; - description "PM Ether 128 to 255 octet threshold"; - } - enum thresh-256-511-octet { - value 8388620; - description "PM Ether 256 to 511 octet threshold"; - } - enum thresh-512-1023-octet { - value 8388621; - description "PM Ether 512 to 1023 octet threshold"; - } - enum thresh-1024-1518-octet { - value 8388622; - description "PM Ether 1024 to 1518 threshold"; - } - enum thresh-in-ucast { - value 8388623; - description "PM Ether rx ucast threshold"; - } - enum thresh-in-mcast { - value 8388624; - description "PM Ether rx mcast threshold"; - } - enum thresh-in-bcast { - value 8388625; - description "PM Ether rx bcast threshold"; - } - enum thresh-out-ucast { - value 8388626; - description "PM Ether tx ucast threshold"; - } - enum thresh-out-mcast { - value 8388627; - description "PM Ether tx mcast threshold"; - } - enum thresh-out-bcast { - value 8388628; - description "PM Ether tx bcast threshold"; - } - enum thresh-tx-pkt { - value 8388629; - description "PM Ether tx pkt threshold"; - } - enum thresh-ifin-error-s { - value 8388630; - description "PM ether ifIn errors threshold"; - } - enum thresh-ifin-octets { - value 8388631; - description "PM ether ifInOctets threshold"; - } - enum thresh-ether-stat-multicast-pkt { - value 8388632; - description "PM ether stat multicast pkt threshold"; - } - enum thresh-ether-stat-broadcast-pkt { - value 8388633; - description "PM ether stat broadcast pkt threshold"; - } - enum thresh-ether-stat-under-size-d-pkt { - value 8388634; - description "PM ether stat undersized pkt threshold"; - } - enum thresh-out-octet { - value 8388635; - description "PM ether out octets threshold"; - } - enum thresh-in-pause-frame { - value 8388636; - description "PM in pause frame threshold"; - } - enum thresh-in-go-od-bytes { - value 8388637; - description "PM in good bytes threshold"; - } - enum thresh-in-802-1q-frame-s { - value 8388638; - description "PM in 802_1 Q threshold"; - } - enum thresh-in-pkts-1519-max-octets { - value 8388639; - description "PM in pkts 1519 max octets threshold"; - } - enum thresh-in-go-od-pkts { - value 8388640; - description "PM in good pkts threshold"; - } - enum thresh-in-drop-overrun { - value 8388641; - description "PM in drop overrun threshold"; - } - enum thresh-in-drop-abort { - value 8388642; - description "PM in drop abort threshold"; - } - enum thresh-in-drop-invalid-vlan { - value 8388643; - description "PM in drop invalid vlan threshold"; - } - enum thresh-in-drop-invalid-dmac { - value 8388644; - description "PM in drop invalid DMAC threshold"; - } - enum thresh-in-drop-invalid-encap { - value 8388645; - description "PM in drop invalid encap threshold"; - } - enum thresh-in-drop-other { - value 8388646; - description "PM in drop other threshold"; - } - enum thresh-in-mib-giant { - value 8388647; - description "PM in MIB giant threshold"; - } - enum thresh-in-mib-jabber { - value 8388648; - description "PM in MIB jabber threshold"; - } - enum thresh-in-mib-crc { - value 8388649; - description "PM in MIB CRC threshold"; - } - enum thresh-in-error-collision-s { - value 8388650; - description "PM in error collisions threshold"; - } - enum thresh-in-error-symbol { - value 8388651; - description "PM in error symbol threshold"; - } - enum thresh-out-go-od-bytes { - value 8388652; - description "PM out good bytes threshold"; - } - enum thresh-out-802-1q-frame-s { - value 8388653; - description "PM out 802_1 Q threshold"; - } - enum thresh-out-pause-frame-s { - value 8388654; - description "PM out pause frame threshold"; - } - enum thresh-out-pkts-1519-max-octets { - value 8388655; - description "PM out pkts 1519 max octets threshold"; - } - enum thresh-out-go-od-pkts { - value 8388656; - description "PM out good pkts threshold"; - } - enum thresh-out-drop-under-run { - value 8388657; - description "PM out drop underrun threshold"; - } - enum thresh-out-drop-abort { - value 8388658; - description "PM out drop abort threshold"; - } - enum thresh-out-drop-other { - value 8388659; - description "PM out drop other threshold"; - } - enum thresh-out-error-other { - value 8388660; - description "PM out error other threshold"; - } - enum thresh-in-error-giant { - value 8388661; - description "PM in error giant threshold"; - } - enum thresh-in-error-runt { - value 8388662; - description "PM in error runt threshold"; - } - enum thresh-in-error-jabbers { - value 8388663; - description "PM in error jabber threshold"; - } - enum thresh-in-error-fragments { - value 8388664; - description "PM in error fragments threshold"; - } - enum thresh-in-error-other { - value 8388665; - description "PM in error other threshold"; - } - enum thresh-in-pkt-64-octet { - value 8388666; - description "PM in pkt 64 octet threshold"; - } - enum thresh-in-pkts-65-127octets { - value 8388667; - description "PM in pkts 65_127 octets threshold"; - } - enum thresh-in-pkts-128-255-octets { - value 8388668; - description "PM in pkts 128_255 octets threshold"; - } - enum thresh-in-pkts-256-511-octets { - value 8388669; - description "PM in pkts 256_511 octets threshold"; - } - enum thresh-in-pkts-512-1023-octets { - value 8388670; - description "PM in pkts 512_1023 octets threshold"; - } - enum thresh-in-pkts-1024-1518-octets { - value 8388671; - description "PM in pkts 1024_1058 octets threshold"; - } - enum thresh-out-pkt-64-octet { - value 8388672; - description "PM out pkt 64 octet threshold"; - } - enum thresh-out-pkts-65-127octets { - value 8388673; - description "PM out pkts 65_127 octets threshold"; - } - enum thresh-out-pkts-128-255-octets { - value 8388674; - description "PM out pkts 128_255 octets threshold"; - } - enum thresh-out-pkts-256-511-octets { - value 8388675; - description "PM out pkts 256_511 octets threshold"; - } - enum thresh-out-pkts-512-1023-octets { - value 8388676; - description "PM out pkts 512_1023 octets threshold"; - } - enum thresh-out-pkts-1024-1518-octets { - value 8388677; - description "PM out pkts 1024_1058 octets threshold"; - } - enum thresh-tx-under-size-d-pkt { - value 8388678; - description "PM tx undersized pkt threshold"; - } - enum thresh-tx-over-size-d-pkt { - value 8388679; - description "PM tx oversized pkt threshold"; - } - enum thresh-tx-fragments { - value 8388680; - description "PM tx fragments threshold"; - } - enum thresh-tx-jabber { - value 8388681; - description "PM tx jabber threshold"; - } - enum thresh-tx-bad-fcs { - value 8388682; - description "PM tx bad fcs threshold"; - } - } - description "Ether threshold"; - } - typedef Path-threshold { - type enumeration { - enum thresh-cv { - value 5242880; - description "PM CV threshold"; - } - enum thresh-es { - value 5242881; - description "PM ES threshold"; - } - enum thresh-ses { - value 5242882; - description "PM SES threshold"; - } - enum thresh-uas { - value 5242883; - description "PM UAS threshold"; - } - } - description "Path threshold"; - } - typedef Sts-threshold { - type enumeration { - enum thresh-cv { - value 4194304; - description "PM CV threshold"; - } - enum thresh-es { - value 4194305; - description "PM ES threshold"; - } - enum thresh-ses { - value 4194306; - description "PM SES threshold"; - } - enum thresh-uas { - value 4194307; - description "PM UAS threshold"; - } - } - description "Sts threshold"; - } - typedef Secytx-report { - type enumeration { - enum report-tx-outpktsprotected { - value 150994944; - description "PM SECYTX tx OutPktsProtected report"; - } - enum report-tx-outpktsencrypted { - value 150994945; - description "PM SECYTX tx OutPktsEncrypted report"; - } - enum report-tx-outoctetsprotected { - value 150994946; - description "PM SECYTX tx OutOctetsProtected report"; - } - enum report-tx-outoctetsencrypted { - value 150994947; - description "PM SECYTX tx OutOctetsEncrypted report"; - } - enum report-tx-outpkts-too-long { - value 150994948; - description "PM SECYTX tx OutPktsTooLong report"; - } - } - description "Secytx report"; - } - typedef Ocn-report { - type enumeration { - enum report-sefss { - value 3145728; - description "PM SEFSS threshold"; - } - enum report-cvs { - value 3145729; - description "PM CVS threshold"; - } - enum report-ess { - value 3145730; - description "PM ESS threshold"; - } - enum report-sess { - value 3145731; - description "PM SESS threshold"; - } - enum report-cvl-ne { - value 3145734; - description "PM CVL-NE threshold"; - } - enum report-esl-ne { - value 3145735; - description "PM ESL-NE threshold"; - } - enum report-sesl-ne { - value 3145736; - description "PM SESL-NE threshold"; - } - enum report-uasl-ne { - value 3145738; - description "PM UASL-NE threshold"; - } - enum report-fcl-ne { - value 3145739; - description "PM FCL-NE threshold"; - } - enum report-fcl-fe { - value 3145751; - description "PM FCL_FE threshold"; - } - enum report-cvl-fe { - value 3145752; - description "PM CVL-FE threshold"; - } - enum report-esl-fe { - value 3145753; - description "PM ESL_FE threshold"; - } - enum report-sesl-fe { - value 3145754; - description "PM SESL_FE threshold"; - } - enum report-uasl-fe { - value 3145756; - description "PM UASL_FEthreshold"; - } - } - description "Ocn report"; - } - typedef Ho-vc-report { - type enumeration { - enum report-eb { - value 33554432; - description "PM EB report"; - } - enum report-es { - value 33554433; - description "PM ES report"; - } - enum report-esr { - value 33554434; - description "PM ESR report"; - } - enum report-ses { - value 33554435; - description "PM SES report"; - } - enum report-sesr { - value 33554436; - description "PM SESR report"; - } - enum report-bbe { - value 33554437; - description "PM BBE report"; - } - enum report-bber { - value 33554438; - description "PM BBER report"; - } - enum report-uass { - value 33554439; - description "PM UASS report"; - } - } - description "Ho vc report"; - } - typedef Otn-threshold { - type enumeration { - enum thresh-es-sm-ne { - value 262144; - description "PM Otn es sm ne threshold"; - } - enum thresh-ses-sm-ne { - value 262145; - description "PM Otn ses sm ne threshold"; - } - enum thresh-uas-sm-ne { - value 262146; - description "PM Otn uas sm ne threshold"; - } - enum thresh-bbe-sm-ne { - value 262147; - description "PM Otn bbe sm ne threshold"; - } - enum thresh-fc-sm-ne { - value 262148; - description "PM Otn fc sm ne threshold"; - } - enum thresh-esr-sm-ne { - value 262149; - description "PM Otn esr sm ne threshold"; - } - enum thresh-sesr-sm-ne { - value 262150; - description "PM Otn sesr sm ne threshold"; - } - enum thresh-bber-sm-ne { - value 262151; - description "PM Otn bber sm ne threshold"; - } - enum thresh-es-pm-ne { - value 524288; - description "PM Otn es pm ne threshold"; - } - enum thresh-ses-pm-ne { - value 524289; - description "PM Otn ses pm ne threshold"; - } - enum thresh-uas-pm-ne { - value 524290; - description "PM Otn uas pm ne threshold"; - } - enum thresh-bbe-pm-ne { - value 524291; - description "PM Otn bbe pm ne threshold"; - } - enum thresh-fc-pm-ne { - value 524292; - description "PM Otn fc pm ne threshold"; - } - enum thresh-esr-pm-ne { - value 524293; - description "PM Otn esr pm ne threshold"; - } - enum thresh-sesr-pm-ne { - value 524294; - description "PM Otn sesr pm ne threshold"; - } - enum thresh-bber-pm-ne { - value 524295; - description "PM Otn bber pm ne threshold"; - } - enum thresh-es-sm-fe { - value 1048584; - description "PM Otn es sm fe threshold"; - } - enum thresh-ses-sm-fe { - value 1048585; - description "PM Otn ses sm fe threshold"; - } - enum thresh-uas-sm-fe { - value 1048586; - description "PM Otn uas sm fe threshold"; - } - enum thresh-bbe-sm-fe { - value 1048587; - description "PM Otn bbe sm fe threshold"; - } - enum thresh-fc-sm-fe { - value 1048588; - description "PM Otn fc sm fe threshold"; - } - enum thresh-esr-sm-fe { - value 1048589; - description "PM Otn esr sm fe threshold"; - } - enum thresh-sesr-sm-fe { - value 1048590; - description "PM Otn sesr sm fe threshold"; - } - enum thresh-bber-sm-fe { - value 1048591; - description "PM Otn bber sm fe threshold"; - } - enum thresh-es-pm-fe { - value 2097160; - description "PM Otn es pm fe threshold"; - } - enum thresh-ses-pm-fe { - value 2097161; - description "PM Otn ses pm fe threshold"; - } - enum thresh-uas-pm-fe { - value 2097162; - description "PM Otn uas pm fe threshold"; - } - enum thresh-bbe-pm-fe { - value 2097163; - description "PM Otn bbe pm fe threshold"; - } - enum thresh-fc-pm-fe { - value 2097164; - description "PM Otn fc pm fe threshold"; - } - enum thresh-esr-pm-fe { - value 2097165; - description "PM Otn esr pm fe threshold"; - } - enum thresh-sesr-pm-fe { - value 2097166; - description "PM Otn sesr pm fe threshold"; - } - enum thresh-bber-pm-fe { - value 2097167; - description "PM Otn bber pm fe threshold"; - } - } - description "Otn threshold"; - } - typedef Optics-threshold { - type enumeration { - enum thresh-opt-min { - value 65552; - description "PM Optics opt min threshold in dbm or uW"; - } - enum thresh-opr-min { - value 65553; - description "PM Optics opr min threshold in dbm or uW"; - } - enum thresh-lbc-min { - value 65554; - description "PM Optics lbc min threshold"; - } - enum thresh-lbc-pc-min { - value 65555; - description "PM Optics lbcpc min threshold"; - } - enum thresh-cd-min { - value 65559; - description "PM Optics cd min threshold"; - } - enum thresh-dgd-min { - value 65560; - description "PM Optics dgd min threshold"; - } - enum thresh-pmd-min { - value 65561; - description "PM Optics sopmd min threshold"; - } - enum thresh-osnr-min { - value 65562; - description "PM Optics osnr min threshold"; - } - enum thresh-pdl-min { - value 65563; - description "PM Optics pdl min threshold"; - } - enum thresh-pcr-min { - value 65564; - description "PM Optics pcr min threshold"; - } - enum thresh-pn-min { - value 65565; - description "PM Optics pn min threshold"; - } - enum thresh-rx-sig-pow-min { - value 65566; - description "PM Optics rx sig pow min threshold"; - } - enum thresh-low-sig-freq-off-min { - value 65567; - description "PM Optics low sig freq off min threshold"; - } - enum thresh-opt-max { - value 65568; - description "PM Optics opt max threshold in dbm or uW"; - } - enum thresh-opr-max { - value 65569; - description "PM Optics opr max threshold in dbm or uW"; - } - enum thresh-lbc-max { - value 65570; - description "PM Optics lbc max threshold"; - } - enum thresh-lbc-pc-max { - value 65571; - description "PM Optics lbcpc max threshold"; - } - enum thresh-cd-max { - value 65575; - description "PM Optics cd max threshold"; - } - enum thresh-dgd-max { - value 65576; - description "PM Optics dgd max threshold"; - } - enum thresh-pmd-max { - value 65577; - description "PM Optics sopmd max threshold"; - } - enum thresh-osnr-max { - value 65578; - description "PM Optics osnr max threshold"; - } - enum thresh-pdl-max { - value 65579; - description "PM Optics pdl max threshold"; - } - enum thresh-pcr-max { - value 65580; - description "PM Optics pcr max threshold"; - } - enum thresh-pn-max { - value 65581; - description "PM Optics pn max threshold"; - } - enum thresh-rx-sig-pow-max { - value 65582; - description "PM Optics rx sig pow max threshold"; - } - enum thresh-low-sig-freq-off-max { - value 65583; - description "PM Optics low sig freq off max threshold"; - } - } - description "Optics threshold"; - } - typedef Ocn-threshold { - type enumeration { - enum thresh-sefss { - value 3145728; - description "PM SEFSS threshold"; - } - enum thresh-cvs { - value 3145729; - description "PM CVS threshold"; - } - enum thresh-ess { - value 3145730; - description "PM ESS threshold"; - } - enum thresh-sess { - value 3145731; - description "PM SESS threshold"; - } - enum thresh-cvl-ne { - value 3145734; - description "PM CVL-NE threshold"; - } - enum thresh-esl-ne { - value 3145735; - description "PM ESL-NE threshold"; - } - enum thresh-sesl-ne { - value 3145736; - description "PM SESL-NE threshold"; - } - enum thresh-uasl-ne { - value 3145738; - description "PM UASL-NE threshold"; - } - enum thresh-fcl-ne { - value 3145739; - description "PM FCL-NE threshold"; - } - enum thresh-fcl-fe { - value 3145751; - description "PM FCL_FE threshold"; - } - enum thresh-cvl-fe { - value 3145752; - description "PM CVL-FE threshold"; - } - enum thresh-esl-fe { - value 3145753; - description "PM ESL_FE threshold"; - } - enum thresh-sesl-fe { - value 3145754; - description "PM SESL_FE threshold"; - } - enum thresh-uasl-fe { - value 3145756; - description "PM UASL_FEthreshold"; - } - } - description "Ocn threshold"; - } - typedef Optics-report { - type enumeration { - enum report-opt-min { - value 65552; - description "PM Optics opt min report"; - } - enum report-opr-min { - value 65553; - description "PM Optics opr min report"; - } - enum report-lbc-min { - value 65554; - description "PM Optics lbc min report"; - } - enum report-lbc-pc-min { - value 65555; - description "PM Optics lbcpc min report"; - } - enum report-cd-min { - value 65559; - description "PM Optics cd min report"; - } - enum report-dgd-min { - value 65560; - description "PM Optics dgd min report"; - } - enum report-pmd-min { - value 65561; - description "PM Optics sopmd min report"; - } - enum report-osnr-min { - value 65562; - description "PM Optics osnr min report"; - } - enum report-pdl-min { - value 65563; - description "PM Optics pdl min report"; - } - enum report-pcr-min { - value 65564; - description "PM Optics pcr min report"; - } - enum report-pn-min { - value 65565; - description "PM Optics pn min report"; - } - enum report-rx-sig-pow-min { - value 65566; - description "PM Optics rx sig pow min report"; - } - enum report-low-sig-freq-off-min { - value 65567; - description "PM Optics low sig freq off min report"; - } - enum report-opt-max { - value 65568; - description "PM Optics opt max report"; - } - enum report-opr-max { - value 65569; - description "PM Optics opr max report"; - } - enum report-lbc-max { - value 65570; - description "PM Optics lbc max report"; - } - enum report-lbc-pc-max { - value 65571; - description "PM Optics lbcpc max report"; - } - enum report-cd-max { - value 65575; - description "PM Optics cd max report"; - } - enum report-dgd-max { - value 65576; - description "PM Optics dgd max report"; - } - enum report-pmd-max { - value 65577; - description "PM Optics sopmd max report"; - } - enum report-osnr-max { - value 65578; - description "PM Optics osnr max report"; - } - enum report-pdl-max { - value 65579; - description "PM Optics pdl max report"; - } - enum report-pcr-max { - value 65580; - description "PM Optics pcr max report"; - } - enum report-pn-max { - value 65581; - description "PM Optics pn max report"; - } - enum report-rx-sig-pow-max { - value 65582; - description "PM Optics rx sig pow max report"; - } - enum report-low-sig-freq-off-max { - value 65583; - description "PM Optics low sig freq off max report"; - } - } - description "Optics report"; - } - typedef Ether-report { - type enumeration { - enum report-rx-pkt { - value 524288; - description "PM Ether rx pkt report"; - } - enum report-rx-util { - value 524289; - description "PM Ether rx util report"; - } - enum report-tx-util { - value 524290; - description "PM Ether tx util report"; - } - enum report-stat-pkt { - value 524291; - description "PM ether stat pkt threshold"; - } - enum report-octet-stat { - value 524292; - description "PM Ether octet stat report"; - } - enum report-over-size-pkt { - value 524293; - description "PM Ether oversize pkt report"; - } - enum report-fcs-err { - value 524294; - description "PM Ether fcs error report"; - } - enum report-long-frame-s { - value 524295; - description "PM Ether long frames report"; - } - enum report-jabber-stats { - value 524296; - description "PM Ether jabber stats report"; - } - enum report-64-octet { - value 524297; - description "PM Ether 64 octet report"; - } - enum report-65-127-octet { - value 524298; - description "PM Ether 65 to 127 octet report"; - } - enum report-128-255-octet { - value 524299; - description "PM Ether 128 to 255 octet report"; - } - enum report-256-511-octet { - value 524300; - description "PM Ether 256 to 511 octet report"; - } - enum report-512-1023-octet { - value 524301; - description "PM Ether 512 to 1023 octet report"; - } - enum report-1024-1518-octet { - value 524302; - description "PM Ether 1024 to 1518 report"; - } - enum report-in-ucast { - value 524303; - description "PM Ether rx ucast report"; - } - enum report-in-mcast { - value 524304; - description "PM Ether rx mcast report"; - } - enum report-in-bcast { - value 524305; - description "PM Ether rx bcast report"; - } - enum report-out-ucast { - value 524306; - description "PM Ether tx ucast report"; - } - enum report-out-mcast { - value 524307; - description "PM Ether tx mcast report"; - } - enum report-out-bcast { - value 524308; - description "PM Ether tx bcast report"; - } - enum report-tx-pkt { - value 524309; - description "PM Ether tx pkt threshold"; - } - enum report-ifin-error-s { - value 524310; - description "PM ether ifIn errors threshold"; - } - enum report-ifin-octets { - value 524311; - description "PM ether ifInOctets threshold"; - } - enum report-ether-stat-multicast-pkt { - value 524312; - description "PM ether stat multicast pkt threshold"; - } - enum report-ether-stat-broadcast-pkt { - value 524313; - description "PM ether stat broadcast pkt threshold"; - } - enum report-ether-stat-under-size-d-pkt { - value 524314; - description "PM ether stat undersized pkt threshold"; - } - enum report-out-octet { - value 524315; - description "PM ether out octets threshold"; - } - enum report-in-pause-frame { - value 524316; - description "PM ether in pause frame report"; - } - enum report-in-go-od-bytes { - value 524317; - description "PM in good bytes report"; - } - enum report-in-802-1q-frame-s { - value 524318; - description "PM in 802_1 Q report"; - } - enum report-in-pkts-1519-max-octets { - value 524319; - description "PM in pkts 1519 max octets report"; - } - enum report-in-go-od-pkts { - value 524320; - description "PM in good pkts report"; - } - enum report-in-drop-overrun { - value 524321; - description "PM in drop overrun report"; - } - enum report-in-drop-abort { - value 524322; - description "PM in drop abort report"; - } - enum report-in-drop-invalid-vlan { - value 524323; - description "PM in drop invalid vlan report"; - } - enum report-in-drop-invalid-dmac { - value 524324; - description "PM in drop invalid DMAC report"; - } - enum report-in-drop-invalid-encap { - value 524325; - description "PM in drop invalid encap report"; - } - enum report-in-drop-other { - value 524326; - description "PM in drop other report"; - } - enum report-in-mib-giant { - value 524327; - description "PM in MIB giant report"; - } - enum report-in-mib-jabber { - value 524328; - description "PM in MIB jabber report"; - } - enum report-in-mib-crc { - value 524329; - description "PM in MIB CRC report"; - } - enum report-in-error-collision-s { - value 524330; - description "PM in error collisions report"; - } - enum report-in-error-symbol { - value 524331; - description "PM in error symbol report"; - } - enum report-out-go-od-bytes { - value 524332; - description "PM out good bytes report"; - } - enum report-out-802-1q-frame-s { - value 524333; - description "PM out 802_1 Q report"; - } - enum report-out-pause-frame-s { - value 524334; - description "PM out pause frame report"; - } - enum report-out-pkts-1519-max-octets { - value 524335; - description "PM out pkts 1519 max octets report"; - } - enum report-out-go-od-pkts { - value 524336; - description "PM out good pkts report"; - } - enum report-out-drop-under-run { - value 524337; - description "PM out drop underrun report"; - } - enum report-out-drop-abort { - value 524338; - description "PM out drop abort report"; - } - enum report-out-drop-other { - value 524339; - description "PM out drop other report"; - } - enum report-out-error-other { - value 524340; - description "PM out error other report"; - } - enum report-in-error-giant { - value 524341; - description "PM in error giant report"; - } - enum report-in-error-runt { - value 524342; - description "PM in error runt report"; - } - enum report-in-error-jabbers { - value 524343; - description "PM in error jabber report"; - } - enum report-in-error-fragments { - value 524344; - description "PM in error fragments report"; - } - enum report-in-error-other { - value 524345; - description "PM in error other report"; - } - enum report-in-pkt-64-octet { - value 524346; - description "PM in pkt 64 octet report"; - } - enum report-in-pkts-65-127octets { - value 524347; - description "PM in pkts 65_127 octets report"; - } - enum report-in-pkts-128-255-octets { - value 524348; - description "PM in pkts 128_255 octets report"; - } - enum report-in-pkts-256-511-octets { - value 524349; - description "PM in pkts 256_511 octets report"; - } - enum report-in-pkts-512-1023-octets { - value 524350; - description "PM in pkts 512_1023 octets report"; - } - enum report-in-pkts-1024-1518-octets { - value 524351; - description "PM in pkts 1024_1058 octets report"; - } - enum report-out-pkt-64-octet { - value 524352; - description "PM out pkt 64 octet report"; - } - enum report-out-pkts-65-127octets { - value 524353; - description "PM out pkts 65_127 octets report"; - } - enum report-out-pkts-128-255-octets { - value 524354; - description "PM out pkts 128_255 octets report"; - } - enum report-out-pkts-256-511-octets { - value 524355; - description "PM out pkts 256_511 octets report"; - } - enum report-out-pkts-512-1023-octets { - value 524356; - description "PM out pkts 512_1023 octets report"; - } - enum report-out-pkts-1024-1518-octets { - value 524357; - description "PM out pkts 1024_1058 octets report"; - } - enum report-tx-under-size-d-pkt { - value 524358; - description "PM tx undersized pkt report"; - } - enum report-tx-over-size-d-pkt { - value 524359; - description "PM tx oversized pkt report"; - } - enum report-tx-fragments { - value 524360; - description "PM tx fragments report"; - } - enum report-tx-jabber { - value 524361; - description "PM tx jabber report"; - } - enum report-tx-bad-fcs { - value 524362; - description "PM tx bad fcs report"; - } - } - description "Ether report"; - } - typedef Otn-tcm-report { - type enumeration { - enum report-es-tcm-fe { - value 16777224; - description "PM Otn es TCM fe report"; - } - enum report-ses-tcm-fe { - value 16777225; - description "PM Otn ses TCM fe report"; - } - enum report-uas-tcm-fe { - value 16777226; - description "PM Otn uas TCM fe report"; - } - enum report-bbe-tcm-fe { - value 16777227; - description "PM Otn bbe TCM fe report"; - } - enum report-fc-tcm-fe { - value 16777228; - description "PM Otn fc TCM fe report"; - } - enum report-esr-tcm-fe { - value 16777229; - description "PM Otn esr TCM fe report"; - } - enum report-sesr-tcm-fe { - value 16777230; - description "PM Otn sesr TCM fe report"; - } - enum report-bber-tcm-fe { - value 16777231; - description "PM Otn bber TCM fe report"; - } - enum report-es-tcm-ne { - value 33554432; - description "PM Otn es TCM ne report"; - } - enum report-ses-tcm-ne { - value 33554433; - description "PM Otn ses TCM ne report"; - } - enum report-uas-tcm-ne { - value 33554434; - description "PM Otn uas TCM ne report"; - } - enum report-bbe-tcm-ne { - value 33554435; - description "PM Otn bbe TCM ne report"; - } - enum report-fc-tcm-ne { - value 33554436; - description "PM Otn fc TCM ne report"; - } - enum report-esr-tcm-ne { - value 33554437; - description "PM Otn esr TCM ne report"; - } - enum report-sesr-tcm-ne { - value 33554438; - description "PM Otn sesr TCM ne report"; - } - enum report-bber-tcm-ne { - value 33554439; - description "PM Otn bber TCM ne report"; - } - } - description "Otn tcm report"; - } - typedef Fec-threshold { - type enumeration { - enum thresh-ec-bits { - value 131072; - description "PM Fec ec bits threshold"; - } - enum thresh-uc-words { - value 131076; - description "PM Fec uc words threshold"; - } - enum thresh-pre-fec-ber-max { - value 131081; - description "PM Fec pre-fe-ber max threshold"; - } - enum thresh-post-fec-ber-max { - value 131082; - description "PM Fec post-fec-ber max threshold"; - } - enum thresh-q-max { - value 131083; - description "PM Fec Q max threshold"; - } - enum thresh-q-margin-max { - value 131084; - description "PM Fec uc words max threshold"; - } - enum thresh-pre-fec-ber-min { - value 131085; - description "PM Fec pre-fe-ber min threshold"; - } - enum thresh-post-fec-ber-min { - value 131086; - description "PM Fec post-fec-ber min threshold"; - } - enum thresh-q-min { - value 131087; - description "PM Fec Q min threshold"; - } - enum thresh-q-margin-min { - value 131088; - description "PM Fec uc words min threshold"; - } - } - description "Fec threshold"; - } - typedef Secyif-threshold { - type enumeration { - enum thresh-if-inpkts-untagged { - value 150994944; - description "PM SECYIF if InPktsUntagged thresh"; - } - enum thresh-if-inpkts-not-ag { - value 150994945; - description "PM SECYIF if InPktsNoTag thresh"; - } - enum thresh-if-inpktsbadtag { - value 150994946; - description "PM SECYIF if InPktsBadTag thresh"; - } - enum thresh-if-inpktsunkownsci { - value 150994947; - description "PM SECYIF if InPktsUnknownSCI thresh"; - } - enum thresh-if-inpktsnosci { - value 150994948; - description "PM SECYIF if InPktsNoSCI thresh"; - } - enum thresh-if-inpkts-overrun { - value 150994949; - description "PM SECYIF if InPktsOverrun thresh"; - } - enum thresh-if-inoctets-validate-d { - value 150994950; - description "PM SECYIF if InOctetsValidated thresh"; - } - enum thresh-if-inoctetsdecrypted { - value 150994951; - description "PM SECYIF if InOctetsDecrypted thresh"; - } - enum thresh-if-outpkts-untagged { - value 150994952; - description "PM SECYIF if OutPktsUntagged thresh"; - } - enum thresh-if-thresh-outpkts-too-long { - value 150994953; - description "PM SECYIF if OutPktsTooLong thresh"; - } - enum thresh-if-outoctetsprotected { - value 150994954; - description "PM SECYIF if OutOctetsProtected thresh"; - } - enum thresh-if-outoctetsencrypted { - value 150994955; - description "PM SECYIF if OutOctetsEncrypted thresh"; - } - } - description "Secyif threshold"; - } - typedef Sts-report { - type enumeration { - enum report-cv { - value 4194304; - description "PM CV threshold"; - } - enum report-es { - value 4194305; - description "PM ES threshold"; - } - enum report-ses { - value 4194306; - description "PM SES threshold"; - } - enum report-uas { - value 4194307; - description "PM UAS threshold"; - } - } - description "Sts report"; - } - typedef Stm-threshold { - type enumeration { - enum thresh-ebs { - value 16777217; - description "PM EBS threshold"; - } - enum thresh-ess { - value 16777218; - description "PM ESS threshold"; - } - enum thresh-esrs { - value 16777219; - description "PM ESRS threshold"; - } - enum thresh-sess { - value 16777220; - description "PM SES threshold"; - } - enum thresh-sesrs { - value 16777221; - description "PM SESR threshold"; - } - enum thresh-bbes { - value 16777222; - description "PM BBES threshold"; - } - enum thresh-bbesr { - value 16777223; - description "PM BBESR threshold"; - } - enum thresh-uass { - value 16777224; - description "PM UASS threshold"; - } - enum thresh-ebl-ne { - value 16777225; - description "PM EBLNE threshold"; - } - enum thresh-esl-ne { - value 16777226; - description "PM ESLNE threshold"; - } - enum thresh-eslr-ne { - value 16777227; - description "PM ESLRNE threshold"; - } - enum thresh-sesl-ne { - value 16777228; - description "PM SESL threshold"; - } - enum thresh-sesrl-ne { - value 16777229; - description "PM SESRL threshold"; - } - enum thresh-bbel-ne { - value 16777230; - description "PM BBERLNE threshold"; - } - enum thresh-bberl-ne { - value 16777231; - description "PM BBERLNE threshold"; - } - enum thresh-uasl-ne { - value 16777232; - description "PM UASNE threshold"; - } - enum thresh-ebl-fe { - value 16777245; - description "PM EBFE threshold"; - } - enum thresh-esl-fe { - value 16777246; - description "PM ESFE threshold"; - } - enum thresh-esrl-fe { - value 16777247; - description "PM EBFE threshold"; - } - enum thresh-sesl-fe { - value 16777248; - description "PM SESFE threshold"; - } - enum thresh-sesrl-fe { - value 16777249; - description "PM SESRLFE threshold"; - } - enum thresh-bbel-fe { - value 16777250; - description "PM BBEL threshold"; - } - enum thresh-bberl-fe { - value 16777251; - description "PM BBELFE threshold"; - } - enum thresh-uasl-fe { - value 16777252; - description "PM UASLFE threshold"; - } - } - description "Stm threshold"; - } - typedef Otn-tcm-threshold { - type enumeration { - enum thresh-es-tcm-fe { - value 16777224; - description "PM Otn es TCM fe threshold"; - } - enum thresh-ses-tcm-fe { - value 16777225; - description "PM Otn ses TCM fe threshold"; - } - enum thresh-uas-tcm-fe { - value 16777226; - description "PM Otn uas TCM fe threshold"; - } - enum thresh-bbe-tcm-fe { - value 16777227; - description "PM Otn bbe TCM fe threshold"; - } - enum thresh-fc-tcm-fe { - value 16777228; - description "PM Otn fc TCM fe threshold"; - } - enum thresh-esr-tcm-fe { - value 16777229; - description "PM Otn esr TCM fe threshold"; - } - enum thresh-sesr-tcm-fe { - value 16777230; - description "PM Otn sesr TCM fe threshold"; - } - enum thresh-bber-tcm-fe { - value 16777231; - description "PM Otn bber TCM fe threshold"; - } - enum thresh-es-tcm-ne { - value 33554432; - description "PM Otn es TCM ne threshold"; - } - enum thresh-ses-tcm-ne { - value 33554433; - description "PM Otn ses TCM ne threshold"; - } - enum thresh-uas-tcm-ne { - value 33554434; - description "PM Otn uas TCM ne threshold"; - } - enum thresh-bbe-tcm-ne { - value 33554435; - description "PM Otn bbe TCM ne threshold"; - } - enum thresh-fc-tcm-ne { - value 33554436; - description "PM Otn fc TCM ne threshold"; - } - enum thresh-esr-tcm-ne { - value 33554437; - description "PM Otn esr TCM ne threshold"; - } - enum thresh-sesr-tcm-ne { - value 33554438; - description "PM Otn sesr TCM ne threshold"; - } - enum thresh-bber-tcm-ne { - value 33554439; - description "PM Otn bber TCM ne threshold"; - } - } - description "Otn tcm threshold"; - } - typedef Report { - type enumeration { - enum false { - value 0; - description "Performance Monitoring Disabled"; - } - enum true { - value 1; - description "Performance Monitoring Enabled"; - } - } - description "Report"; - } - typedef Otn-report { - type enumeration { - enum report-es-sm-ne { - value 262144; - description "PM Otn es sm ne report"; - } - enum report-ses-sm-ne { - value 262145; - description "PM Otn ses sm ne report"; - } - enum report-uas-sm-ne { - value 262146; - description "PM Otn uas sm ne report"; - } - enum report-bbe-sm-ne { - value 262147; - description "PM Otn bbe sm ne report"; - } - enum report-fc-sm-ne { - value 262148; - description "PM Otn fc sm ne report"; - } - enum report-esr-sm-ne { - value 262149; - description "PM Otn esr sm ne report"; - } - enum report-sesr-sm-ne { - value 262150; - description "PM Otn sesr sm ne report"; - } - enum report-bber-sm-ne { - value 262151; - description "PM Otn bber sm ne report"; - } - enum report-es-pm-ne { - value 524288; - description "PM Otn es pm ne report"; - } - enum report-ses-pm-ne { - value 524289; - description "PM Otn ses pm ne report"; - } - enum report-uas-pm-ne { - value 524290; - description "PM Otn uas pm ne report"; - } - enum report-bbe-pm-ne { - value 524291; - description "PM Otn bbe pm ne report"; - } - enum report-fc-pm-ne { - value 524292; - description "PM Otn fc pm ne report"; - } - enum report-esr-pm-ne { - value 524293; - description "PM Otn esr pm ne report"; - } - enum report-sesr-pm-ne { - value 524294; - description "PM Otn sesr pm ne report"; - } - enum report-bber-pm-ne { - value 524295; - description "PM Otn bber pm ne report"; - } - enum report-es-sm-fe { - value 1048584; - description "PM Otn es sm fe report"; - } - enum report-ses-sm-fe { - value 1048585; - description "PM Otn ses sm fe report"; - } - enum report-uas-sm-fe { - value 1048586; - description "PM Otn uas sm fe report"; - } - enum report-bbe-sm-fe { - value 1048587; - description "PM Otn bbe sm fe report"; - } - enum report-fc-sm-fe { - value 1048588; - description "PM Otn fc sm fe report"; - } - enum report-esr-sm-fe { - value 1048589; - description "PM Otn esr sm fe report"; - } - enum report-sesr-sm-fe { - value 1048590; - description "PM Otn sesr sm fe report"; - } - enum report-bber-sm-fe { - value 1048591; - description "PM Otn bber sm fe report"; - } - enum report-es-pm-fe { - value 2097160; - description "PM Otn es pm fe report"; - } - enum report-ses-pm-fe { - value 2097161; - description "PM Otn ses pm fe report"; - } - enum report-uas-pm-fe { - value 2097162; - description "PM Otn uas pm fe report"; - } - enum report-bbe-pm-fe { - value 2097163; - description "PM Otn bbe pm fe report"; - } - enum report-fc-pm-fe { - value 2097164; - description "PM Otn fc pm fe report"; - } - enum report-esr-pm-fe { - value 2097165; - description "PM Otn esr pm fe report"; - } - enum report-sesr-pm-fe { - value 2097166; - description "PM Otn sesr pm fe report"; - } - enum report-bber-pm-fe { - value 2097167; - description "PM Otn bber pm fe report"; - } - } - description "Otn report"; - } - typedef Secytx-threshold { - type enumeration { - enum thresh-tx-outpktsprotected { - value 134217728; - description "PM SECYTX tx OutPktsProtected thresh"; - } - enum thresh-tx-outpktsencrypted { - value 134217729; - description "PM SECYTX tx OutPktsEncrypted thresh"; - } - enum thresh-tx-outoctetsprotected { - value 134217730; - description "PM SECYTX tx OutOctetsProtected thresh"; - } - enum thresh-tx-outoctetsencrypted { - value 134217731; - description "PM SECYTX tx OutOctetsEncrypted thresh"; - } - enum thresh-tx-outpkts-too-long { - value 134217732; - description "PM SECYTX tx OutPktsTooLong thresh"; - } - } - description "Secytx threshold"; - } - typedef Fec-report { - type enumeration { - enum report-ec-bits { - value 131072; - description "PM Fec ec bits report"; - } - enum report-uc-words { - value 131076; - description "PM Fec uc words report"; - } - enum report-pre-fec-ber-max { - value 131081; - description "PM Fec pre fec ber max report"; - } - enum report-post-fec-ber-max { - value 131082; - description "PM Fec post fec ber max report"; - } - enum report-q-max { - value 131083; - description "PM Fec Q max report"; - } - enum report-q-margin-max { - value 131084; - description "PM Fec Q_margin max report"; - } - enum report-pre-fec-ber-min { - value 131085; - description "PM Fec pre fec ber min report"; - } - enum report-post-fec-ber-min { - value 131086; - description "PM Fec post fec ber min report"; - } - enum report-q-min { - value 131087; - description "PM Fec Q min report"; - } - enum report-q-margin-min { - value 131088; - description "PM Fec Q_margin min report"; - } - } - description "Fec report"; - } - typedef Path-report { - type enumeration { - enum report-cv { - value 5242880; - description "PM CV threshold"; - } - enum report-es { - value 5242881; - description "PM ES threshold"; - } - enum report-ses { - value 5242882; - description "PM SES threshold"; - } - enum report-uas { - value 5242883; - description "PM UAS threshold"; - } - } - description "Path report"; - } - typedef Secyrx-report { - type enumeration { - enum report-rx-inpktsun-check-ed { - value 117440512; - description "PM SECYRX rx InPktsUnchecked report"; - } - enum report-rx-inpkts-delayed { - value 117440513; - description "PM SECYRX rx InPktsDelayed report"; - } - enum report-rx-inpktslate { - value 117440514; - description "PM SECYRX rx InPktsLate report"; - } - enum report-rx-inpktsok { - value 117440515; - description "PM SECYRX rx InPktsOK report"; - } - enum report-rx-inpkts-invalid { - value 117440516; - description "PM SECYRX rx InPktsInvalid report"; - } - enum report-rx-inpkts-not-valid { - value 117440517; - description "PM SECYRX rx InPktsNotValid report"; - } - enum report-rx-inpkts-not-usingsa { - value 117440518; - description "PM SECYRX rx InPktsNotUsingSA sa report"; - } - enum report-rx-inpktsunusedsa { - value 117440519; - description "PM SECYRX rx InPktsUnusedSA report"; - } - enum report-rx-inpkts-untagged-hit { - value 117440520; - description "PM SECYRX rx InPktsUntaggedHit report"; - } - enum report-rx-inoctets-validate-d { - value 117440521; - description "PM SECYRX rx InOctetsValidated report"; - } - enum report-rx-inoctetsdecrypted { - value 117440522; - description "PM SECYRX rx InOctetsDecrypted report"; - } - } - description "Secyrx report"; - } - typedef Secyrx-threshold { - type enumeration { - enum thresh-rx-inpktsun-check-ed { - value 117440512; - description "PM SECYRX rx InPktsUnchecked thresh"; - } - enum thresh-rx-inpkts-delayed { - value 117440513; - description "PM SECYRX rx InPktsDelayed thresh"; - } - enum thresh-rx-inpktslate { - value 117440514; - description "PM SECYRX rx InPktsLate thresh"; - } - enum thresh-rx-inpktsok { - value 117440515; - description "PM SECYRX rx InPktsOK thresh"; - } - enum thresh-rx-inpkts-invalid { - value 117440516; - description "PM SECYRX rx InPktsInvalid thresh"; - } - enum thresh-rx-inpkts-not-valid { - value 117440517; - description "PM SECYRX rx InPktsNotValid thresh"; - } - enum thresh-rx-inpkts-not-usingsa { - value 117440518; - description "PM SECYRX rx InPktsNotUsingSA thresh"; - } - enum thresh-rx-inpktsunusedsa { - value 117440519; - description "PM SECYRX rx InPktsUnusedSA thresh"; - } - enum thresh-rx-inpkts-untagged-hit { - value 117440520; - description "PM SECYRX rx InPktsUntaggedHit thresh"; - } - enum thresh-rx-inoctets-validate-d { - value 117440521; - description "PM SECYRX rx InOctetsValidated thresh"; - } - enum thresh-rx-inoctetsdecrypted { - value 117440522; - description "PM SECYRX rx InOctetsDecrypted thresh"; - } - } - description "Secyrx threshold"; - } - typedef Gfp-threshold { - type enumeration { - enum thresh-rx-bit-err { - value 67108864; - description "PM GFP rx bit err threshold"; - } - enum thresh-rx-inv-typ { - value 67108865; - description "PM GFP rx inv type threshold"; - } - enum thresh-rx-crc { - value 67108866; - description "PM GFP rx crc threshold"; - } - enum thresh-rx-lfd { - value 67108867; - description "PM GFP rx lfd threshold"; - } - enum thresh-rx-csf { - value 67108868; - description "PM GFP rx csf threshold"; - } - } - description "Gfp threshold"; - } - typedef Stm-report { - type enumeration { - enum report-ebs { - value 16777217; - description "PM EBS REPORT"; - } - enum report-ess { - value 16777218; - description "PM ESS REPORT"; - } - enum report-esrs { - value 16777219; - description "PM ESRS REPORT"; - } - enum report-sess { - value 16777220; - description "PM SES REPORT"; - } - enum report-sesrs { - value 16777221; - description "PM SESR REPORT"; - } - enum report-bbes { - value 16777222; - description "PM BBES REPORT"; - } - enum report-bbesr { - value 16777223; - description "PM BBESR REPORT"; - } - enum report-uass { - value 16777224; - description "PM UASS REPORT"; - } - enum report-ebl-ne { - value 16777225; - description "PM EBLNE REPORT"; - } - enum report-esl-ne { - value 16777226; - description "PM ESLNE REPORT"; - } - enum report-eslr-ne { - value 16777227; - description "PM ESLRNE REPORT"; - } - enum report-sesl-ne { - value 16777228; - description "PM SESL REPORT"; - } - enum report-sesrl-ne { - value 16777229; - description "PM SESRL REPORT"; - } - enum report-bbel-ne { - value 16777230; - description "PM BBELNE REPORT"; - } - enum report-bberl-ne { - value 16777231; - description "PM BBERLNE REPORT"; - } - enum report-uasl-ne { - value 16777232; - description "PM UASNE REPORT"; - } - enum report-ebl-fe { - value 16777245; - description "PM EBFE REPORT"; - } - enum report-esl-fe { - value 16777246; - description "PM ESFE REPORT"; - } - enum report-esrl-fe { - value 16777247; - description "PM EBFE REPORT"; - } - enum report-sesl-fe { - value 16777248; - description "PM SESFE REPORT"; - } - enum report-sesrl-fe { - value 16777249; - description "PM SESRLFE REPORT"; - } - enum report-bbel-fe { - value 16777250; - description "PM BBELFE REPORT"; - } - enum report-bberl-fe { - value 16777251; - description "PM ESFE REPORT"; - } - enum report-uasl-fe { - value 16777252; - description "PM UASLFE REPORT"; - } - } - description "Stm report"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container performance-management { - description "Configure pm parameters"; - - container stm-hour24 { - description "set STM threshold"; - - container stm-hour24-stm { - description "Configure stm performance monitoring"; - - container stm-hour24-stm-reports { - description "set stm TCA reporting status"; - - list stm-hour24-stm-report { - key "stm-report"; - description "none"; - leaf stm-report { - type Stm-report; - description "Stm Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Stm Report"; - } - } - } - - container stm-hour24-stm-thresholds { - description "Configure threshold on stm parameters"; - - list stm-hour24-stm-threshold { - key "stm-threshold"; - description "none"; - leaf stm-threshold { - type Stm-threshold; - description "Stm Threshold Type"; - } - leaf stm-threshold-value { - type int32; - mandatory true; - description "Stm Thresh Value"; - } - } - } - } - } - - container minute15-gfp { - description "set opr min threshold"; - - container minute15-gfp { - description "Configure gfp performance monitoring"; - - container minute15-gfp-reports { - description "set gfp TCA reporting status"; - - list minute15-gfp-report { - key "gfp-report"; - description "none"; - leaf gfp-report { - type Gfp-report; - description "Gfp Report Type"; - } - } - } - - container minute15-gfp-thresholds { - description "Configure threshold on gfp parameters"; - - list minute15-gfp-threshold { - key "gfp-threshold"; - description "none"; - leaf gfp-threshold { - type Gfp-threshold; - description "Gfp Threshold Type"; - } - leaf gfp-threshold-value { - type int32; - mandatory true; - description "Gfp Threshold Value"; - } - } - } - } - } - - container sonet-minute15 { - description "set Sonet threshold"; - - container sonet-minute15-path { - description "Configure Path performance monitoring"; - - container sonet-minute15-path-reports { - description "set Path TCA reporting status"; - - list sonet-minute15-path-report { - key "path-report"; - description "none"; - leaf path-report { - type Path-report; - description "Path Report Type"; - } - } - } - - container sonet-minute15-path-thresholds { - description "Configure threshold on Path parameters"; - - list sonet-minute15-path-threshold { - key "path-threshold"; - description "none"; - leaf path-threshold { - type Path-threshold; - description "Path Threshold Type"; - } - leaf path-threshold-value { - type int32; - mandatory true; - description "Path Threshold Value"; - } - } - } - } - - container sonet-minute15-ocn { - description "Configure ocn performance monitoring"; - - container sonet-minute15-ocn-reports { - description "set ocn TCA reporting status"; - - list sonet-minute15-ocn-report { - key "ocn-report"; - description "none"; - leaf ocn-report { - type Ocn-report; - description "Ocn Report Type"; - } - } - } - - container sonet-minute15-ocn-thresholds { - description "Configure threshold on ocn parameters"; - - list sonet-minute15-ocn-threshold { - key "ocn-threshold"; - description "none"; - leaf ocn-threshold { - type Ocn-threshold; - description "Ocn Threshold Type"; - } - leaf ocn-threshold-value { - type int32; - mandatory true; - description "Ocn Threshold Value"; - } - } - } - } - } - - container hour24-gfp { - description - "Configure pm parameters of gfp 24 hour interval"; - - container hour24-gfp { - description "Configure gfp performance monitoring"; - - container hour24-gfp-reports { - description "set gfp TCA reporting status"; - - list hour24-gfp-report { - key "gfp-report"; - description "none"; - leaf gfp-report { - type Gfp-report; - description "Gfp Report Type"; - } - } - } - - container hour24-gfp-thresholds { - description "Configure threshold on gfp parameters"; - - list hour24-gfp-threshold { - key "gfp-threshold"; - description "none"; - leaf gfp-threshold { - type Gfp-threshold; - description "Gfp Threshold Type"; - } - leaf gfp-threshold-value { - type int32; - mandatory true; - description "Gfp Thresh Value"; - } - } - } - } - } - - container ethernet-hour24 { - description "Configure pm parameters of 24 hour interval"; - - container hour24-ether { - description "Configure ether performance monitoring"; - - container hour24-ether-thresholds { - description "Configure threshold on ether parameters"; - - list hour24-ether-threshold { - key "ether-threshold"; - description "none"; - leaf ether-threshold { - type Ether-threshold; - description "Ether Threshold Type"; - } - leaf ether-threshold-value { - type int32; - mandatory true; - description "Ether Thresh Value"; - } - } - } - - container hour24-ether-reports { - description "set ether TCA reporting status"; - - list hour24-ether-report { - key "ether-report"; - description "none"; - leaf ether-report { - type Ether-report; - description "Ether Report Type"; - } - } - } - } - } - - container minute15otn-tcms { - description "set opr min threshold"; - - list minute15otn-tcm { - key "tcm-number"; - description - "configure otn g709 tcm's performance - monitoring"; - - container min15-otn-tcm-threshes { - description "Configure threshold on otn parameters"; - - list min15-otn-tcm-thresh { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-tcm-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - - container minute15otn-tcm-reports { - description "set otn TCA reporting status"; - - list minute15otn-tcm-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-tcm-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - leaf tcm-number { - type int32; - description "TCM number"; - } - } - } - - container oc-hour24 { - description "set Oc threshold"; - - container oc-hour24-ocn { - description "Configure ocn performance monitoring"; - - container oc-hour24-ocn-reports { - description "set ocn TCA reporting status"; - - list oc-hour24-ocn-report { - key "ocn-report"; - description "none"; - leaf ocn-report { - type Ocn-report; - description "Ocn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Ocn Report"; - } - } - } - - container oc-hour24-ocn-thresholds { - description "Configure threshold on ocn parameters"; - - list oc-hour24-ocn-threshold { - key "ocn-threshold"; - description "none"; - leaf ocn-threshold { - type Ocn-threshold; - description "Ocn Threshold Type"; - } - leaf ocn-threshold-value { - type int32; - mandatory true; - description "Ocn Thresh Value"; - } - } - } - } - } - - container ethernet-minute15 { - description "set opr min threshold"; - - container minute15-ether { - description "Configure ether performance monitoring"; - - container minute15-ether-thresholds { - description "Configure threshold on ether parameters"; - - list minute15-ether-threshold { - key "ether-threshold"; - description "none"; - leaf ether-threshold { - type Ether-threshold; - description "Ether Threshold Type"; - } - leaf ether-threshold-value { - type int32; - mandatory true; - description "Ether Threshold Value"; - } - } - } - - container minute15-ether-reports { - description "set ether TCA reporting status"; - - list minute15-ether-report { - key "ether-report"; - description "none"; - leaf ether-report { - type Ether-report; - description "Ether Report Type"; - } - } - } - } - } - - container ho-vc-hour24 { - description "set HO_VC threshold"; - - container ho-vc-hour24ho-vc { - description "Configure ho_vc performance monitoring"; - - container ho-vc-hour24ho-vc-reports { - description "set ho_vc TCA reporting status"; - - list ho-vc-hour24ho-vc-report { - key "ho-vc-report"; - description "none"; - leaf ho-vc-report { - type Ho-vc-report; - description "ho_vc Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "ho_vc Report"; - } - } - } - - container ho-vc-hour24ho-vc-thresholds { - description "Configure threshold on ho_vc parameters"; - - list ho-vc-hour24ho-vc-threshold { - key "ho-vc-threshold"; - description "none"; - leaf ho-vc-threshold { - type Ho-vc-threshold; - description "ho_vc Threshold Type"; - } - leaf ho-vc-threshold-value { - type int32; - mandatory true; - description "ho_vc Thresh Value"; - } - } - } - } - } - - container second30 { - description - "Configure optics performance monitoring for 30 - sec"; - - container second30fec { - description "Configure fec g709 performance monitoring"; - - container second30fec-thresholds { - description "Configure fec threshold"; - - list second30fec-threshold { - key "fec-threshold"; - description "none"; - leaf fec-threshold { - type Fec-threshold; - description "Fec Threshold Type"; - } - leaf fec-threshold-value { - type string { - length "1..16"; - } - mandatory true; - description "Fec Threshold Value"; - } - } - } - - container second30fec-reports { - description "set fec TCA reporting status"; - - list second30fec-report { - key "fec-report"; - description "none"; - leaf fec-report { - type Fec-report; - description "Fec Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Fec Report"; - } - } - } - } - - container second30-optics { - description "Configure optics performance monitoring"; - - container second30-optics-reports { - description "set optics TCA reporting status"; - - list second30-optics-report { - key "optics-report"; - description "none"; - leaf optics-report { - type Optics-report; - description "Optics Report Type"; - } - } - } - - container second30-optics-thresholds { - description "Configure threshold on optics parameters"; - - list second30-optics-threshold { - key "optics-threshold"; - description "none"; - leaf optics-threshold { - type Optics-threshold; - description "Optics Threshold Type"; - } - leaf optics-threshold-value { - type int32; - description "Optics Thresh Value"; - } - leaf dbm { - type int32; - default "0"; - description - "Used only for Opt and Opr,To Enter - Threshold in dbm use 1"; - } - } - } - } - - container second30secyif { - description "Configure secy-if performance monitoring"; - - container second30secyif-thresholds { - description "Configure threshold on secyif parameters"; - - list second30secyif-threshold { - key "secyif-threshold"; - description "none"; - leaf secyif-threshold { - type Secyif-threshold; - description "Secyif Threshold Type"; - } - leaf secyif-threshold-value { - type int32; - mandatory true; - description "Secyif Threshold Value"; - } - } - } - - container second30secyif-reports { - description "set secyif TCA reporting status"; - - list second30secyif-report { - key "secyif-report"; - description "none"; - leaf secyif-report { - type Secyif-report; - description "Secyif Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secyif Report"; - } - } - } - } - - container second30secyrx { - description "Configure secy-rx performance monitoring"; - - container second30secyrx-thresholds { - description "Configure threshold on secyrx parameters"; - - list second30secyrx-threshold { - key "secyrx-threshold"; - description "none"; - leaf secyrx-threshold { - type Secyrx-threshold; - description "Secyrx Threshold Type"; - } - leaf secyrx-threshold-value { - type int32; - mandatory true; - description "Secyrx Threshold Value"; - } - } - } - - container second30secyrx-reports { - description "set secyrx TCA reporting status"; - - list second30secyrx-report { - key "secyrx-report"; - description "none"; - leaf secyrx-report { - type Secyrx-report; - description "Secyrx Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secyrx Report"; - } - } - } - } - - container second30otn { - description "configure otn g709 performance monitoring"; - - container second30-otn-threshes { - description "Configure threshold on otn parameters"; - - list second30-otn-thresh { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - - container second30otn-reports { - description "set otn TCA reporting status"; - - list second30otn-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - } - - container second30secytx { - description "Configure secy-tx performance monitoring"; - - container second30secytx-thresholds { - description "Configure threshold on secytx parameters"; - - list second30secytx-threshold { - key "secytx-threshold"; - description "none"; - leaf secytx-threshold { - type Secytx-threshold; - description "Secytx Threshold Type"; - } - leaf secytx-threshold-value { - type int32; - mandatory true; - description "Secytx Threshold Value"; - } - } - } - - container second30secytx-reports { - description "set secytx TCA reporting status"; - - list second30secytx-report { - key "secytx-report"; - description "none"; - leaf secytx-report { - type Secytx-report; - description "Secytx Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secytx Report"; - } - } - } - } - } - - container hour24otn-tcms { - description - "Configure pm parameters of tcm's 24 hour - interval"; - - list hour24otn-tcm { - key "tcm-number"; - description - "configure otn g709 tcm's performance - monitoring"; - - container hour24otn-tcm-thresholds { - description "Configure threshold on otn parameters"; - - list hour24otn-tcm-threshold { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-tcm-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - - container hour24otn-tcm-reports { - description "set otn TCA reporting status"; - - list hour24otn-tcm-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-tcm-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - leaf tcm-number { - type int32; - description "TCM number"; - } - } - } - - container sts-minute15 { - description "set STS threshold"; - - container sts-minute15-path { - description "Configure Path performance monitoring"; - - container sts-minute15-path-reports { - description "set Path TCA reporting status"; - - list sts-minute15-path-report { - key "path-report"; - description "none"; - leaf path-report { - type Sts-report; - description "Path Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Path Report"; - } - } - } - - container sts-minute15-path-thresholds { - description "Configure threshold on Path parameters"; - - list sts-minute15-path-threshold { - key "path-threshold"; - description "none"; - leaf path-threshold { - type Sts-threshold; - description "Path Threshold Type"; - } - leaf path-threshold-value { - type int32; - mandatory true; - description "Path Threshold Value"; - } - } - } - } - } - - container hour24 { - description "Configure pm parameters of 24 hour interval"; - - container hour24otn { - description "configure otn g709 performance monitoring"; - - container hour24otn-thresholds { - description "Configure threshold on otn parameters"; - - list hour24otn-threshold { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - - container hour24otn-reports { - description "set otn TCA reporting status"; - - list hour24otn-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - } - - container hour24-optics { - description "Configure optics performance monitoring"; - - container hour24-optics-thresholds { - description "Configure threshold on optics parameters"; - - list hour24-optics-threshold { - key "optics-threshold"; - description "none"; - leaf optics-threshold { - type Optics-threshold; - description "Optics Threshold Type"; - } - leaf optics-threshold-value { - type int32; - description "Optics Thresh Value"; - } - leaf dbm { - type int32; - default "0"; - description - "Used only for Opt and Opr,To Enter - Threshold in dbm use 1"; - } - } - } - - container hour24-optics-reports { - description "set optics TCA reporting status"; - - list hour24-optics-report { - key "optics-report"; - description "none"; - leaf optics-report { - type Optics-report; - description "Optics Report Type"; - } - } - } - } - - container hour24fec { - description "Configure fec g709 performance monitoring"; - - container hour24fec-thresholds { - description "Configure fec threshold"; - - list hour24fec-threshold { - key "fec-threshold"; - description "none"; - leaf fec-threshold { - type Fec-threshold; - description "Fec Threshold Type"; - } - leaf fec-threshold-value { - type string { - length "1..16"; - } - mandatory true; - description "Fec threshold value"; - } - } - } - - container hour24fec-reports { - description "set fec TCA reporting status"; - - list hour24fec-report { - key "fec-report"; - description "none"; - leaf fec-report { - type Fec-report; - description "Fec Report type"; - } - leaf enable { - type Report; - mandatory true; - description "Fec Report"; - } - } - } - } - - container hour24secyif { - description "Configure secy-if performance monitoring"; - - container hour24secyif-reports { - description "set secyif TCA reporting status"; - - list hour24secyif-report { - key "secyif-report"; - description "none"; - leaf secyif-report { - type Secyif-report; - description "Secyif Report type"; - } - leaf enable { - type Report; - mandatory true; - description "Secyif Report"; - } - } - } - - container hour24secyif-thresholds { - description "Configure secyif threshold"; - - list hour24secyif-threshold { - key "secyif-threshold"; - description "none"; - leaf secyif-threshold { - type Secyif-threshold; - description "Secyif Threshold Type"; - } - leaf secyif-threshold-value { - type int32; - mandatory true; - description "Secyif threshold value"; - } - } - } - } - - container hour24secyrx { - description "Configure secy-rx performance monitoring"; - - container hour24secyrx-reports { - description "set secyrx TCA reporting status"; - - list hour24secyrx-report { - key "secyrx-report"; - description "none"; - leaf secyrx-report { - type Secyrx-report; - description "Secyrx Report type"; - } - leaf enable { - type Report; - mandatory true; - description "Secyrx Report"; - } - } - } - - container hour24secyrx-thresholds { - description "Configure secyrx threshold"; - - list hour24secyrx-threshold { - key "secyrx-threshold"; - description "none"; - leaf secyrx-threshold { - type Secyrx-threshold; - description "Secyrx Threshold Type"; - } - leaf secyrx-threshold-value { - type int32; - mandatory true; - description "Secyrx threshold value"; - } - } - } - } - - container hour24secytx { - description "Configure secy-tx performance monitoring"; - - container hour24secytx-thresholds { - description "Configure secytx threshold"; - - list hour24secytx-threshold { - key "secytx-threshold"; - description "none"; - leaf secytx-threshold { - type Secytx-threshold; - description "Secytx Threshold Type"; - } - leaf secytx-threshold-value { - type int32; - mandatory true; - description "Secytx threshold value"; - } - } - } - - container hour24secytx-reports { - description "set secytx TCA reporting status"; - - list hour24secytx-report { - key "secytx-report"; - description "none"; - leaf secytx-report { - type Secytx-report; - description "Secytx Report type"; - } - leaf enable { - type Report; - mandatory true; - description "Secytx Report"; - } - } - } - } - } - - container ho-vc-minute15 { - description "set HO_VC threshold"; - - container ho-vc-minute15ho-vc { - description "Configure ho_vc performance monitoring"; - - container ho-vc-minute15ho-vc-reports { - description "set ho_vc TCA reporting status"; - - list ho-vc-minute15ho-vc-report { - key "ho-vc-report"; - description "none"; - leaf ho-vc-report { - type Ho-vc-report; - description "ho_vc Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "ho_vc Report"; - } - } - } - - container ho-vc-minute15ho-vc-thresholds { - description "Configure threshold on ho_vc parameters"; - - list ho-vc-minute15ho-vc-threshold { - key "ho-vc-threshold"; - description "none"; - leaf ho-vc-threshold { - type Ho-vc-threshold; - description "ho_vc Threshold Type"; - } - leaf ho-vc-threshold-value { - type int32; - mandatory true; - description "ho_vc Threshold Value"; - } - } - } - } - } - - container sts-hour24 { - description "set STS threshold"; - - container sts-hour24-path { - description "Configure Path performance monitoring"; - - container sts-hour24-path-thresholds { - description "Configure threshold on Path parameters"; - - list sts-hour24-path-threshold { - key "path-threshold"; - description "none"; - leaf path-threshold { - type Sts-threshold; - description "Path Threshold Type"; - } - leaf path-threshold-value { - type int32; - mandatory true; - description "Path Thresh Value"; - } - } - } - - container sts-hour24-path-reports { - description "set Path TCA reporting status"; - - list sts-hour24-path-report { - key "path-report"; - description "none"; - leaf path-report { - type Sts-report; - description "Path Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Path Report"; - } - } - } - } - } - - container stm-minute15 { - description "set STM threshold"; - - container stm-minute15-stm { - description "Configure stm performance monitoring"; - - container stm-minute15-stm-reports { - description "set stm TCA reporting status"; - - list stm-minute15-stm-report { - key "stm-report"; - description "none"; - leaf stm-report { - type Stm-report; - description "Stm Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Stm Report"; - } - } - } - - container stm-minute15-stm-thresholds { - description "Configure threshold on stm parameters"; - - list stm-minute15-stm-threshold { - key "stm-threshold"; - description "none"; - leaf stm-threshold { - type Stm-threshold; - description "Stm Threshold Type"; - } - leaf stm-threshold-value { - type int32; - mandatory true; - description "Stm Threshold Value"; - } - } - } - } - } - - container sonet-hour24 { - description "set Sonet threshold"; - - container sonet-hour24-path { - description "Configure Path performance monitoring"; - - container sonet-hour24-path-thresholds { - description "Configure threshold on Path parameters"; - - list sonet-hour24-path-threshold { - key "path-threshold"; - description "none"; - leaf path-threshold { - type Path-threshold; - description "Path Threshold Type"; - } - leaf path-threshold-value { - type int32; - mandatory true; - description "Path Thresh Value"; - } - } - } - - container sonet-hour24-path-reports { - description "set Path TCA reporting status"; - - list sonet-hour24-path-report { - key "path-report"; - description "none"; - leaf path-report { - type Path-report; - description "Path Report Type"; - } - } - } - } - - container sonet-hour24-ocn { - description "Configure ocn performance monitoring"; - - container sonet-hour24-ocn-thresholds { - description "Configure threshold on ocn parameters"; - - list sonet-hour24-ocn-threshold { - key "ocn-threshold"; - description "none"; - leaf ocn-threshold { - type Ocn-threshold; - description "Ocn Threshold Type"; - } - leaf ocn-threshold-value { - type int32; - mandatory true; - description "Ocn Thresh Value"; - } - } - } - - container sonet-hour24-ocn-reports { - description "set ocn TCA reporting status"; - - list sonet-hour24-ocn-report { - key "ocn-report"; - description "none"; - leaf ocn-report { - type Ocn-report; - description "Ocn Report Type"; - } - } - } - } - } - - container minute15-path { - description "set opr min threshold"; - - container minute15otn-path { - description "configure otn g709 performance monitoring"; - - container minute15otn-path-reports { - description "set otn TCA reporting status"; - - list minute15otn-path-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - - container min15-otn-path-threshes { - description "Configure threshold on otn parameters"; - - list min15-otn-path-thresh { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - } - } - - container oc-minute15 { - description "set OC threshold"; - - container oc-minute15-ocn { - description "Configure ocn performance monitoring"; - - container oc-minute15-ocn-reports { - description "set ocn TCA reporting status"; - - list oc-minute15-ocn-report { - key "ocn-report"; - description "none"; - leaf ocn-report { - type Ocn-report; - description "Ocn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Ocn Report"; - } - } - } - - container oc-minute15-ocn-thresholds { - description "Configure threshold on ocn parameters"; - - list oc-minute15-ocn-threshold { - key "ocn-threshold"; - description "none"; - leaf ocn-threshold { - type Ocn-threshold; - description "Ocn Threshold Type"; - } - leaf ocn-threshold-value { - type int32; - mandatory true; - description "Ocn Threshold Value"; - } - } - } - } - } - - container ethernet-second30 { - description - "Configure ethernet performance monitoring for - 30 sec"; - - container second30-ether { - description "Configure ether performance monitoring"; - - container second30-ether-thresholds { - description "Configure threshold on ether parameters"; - - list second30-ether-threshold { - key "ether-threshold"; - description "none"; - leaf ether-threshold { - type Ether-threshold; - description "Ether Threshold Type"; - } - leaf ether-threshold-value { - type int32; - mandatory true; - description "Ether Threshold Value"; - } - } - } - - container second30-ether-reports { - description "set ether TCA reporting status"; - - list second30-ether-report { - key "ether-report"; - description "none"; - leaf ether-report { - type Ether-report; - description "Ether Report Type"; - } - } - } - } - } - - container hour24-path { - description - "Configure pm parameters of pathmonitor 24 hour - interval"; - - container hour24otn-path { - description "configure otn g709 performance monitoring"; - - container hour24otn-path-reports { - description "set otn TCA reporting status"; - - list hour24otn-path-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - - container hour24otn-path-thresholds { - description "Configure threshold on otn parameters"; - - list hour24otn-path-threshold { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - } - } - - container minute15 { - description "set opr min threshold"; - - container minute15-optics { - description "Configure optics performance monitoring"; - - container minute15-optics-thresholds { - description "Configure threshold on optics parameters"; - - list minute15-optics-threshold { - key "optics-threshold"; - description "none"; - leaf optics-threshold { - type Optics-threshold; - description "Optics Threshold Type"; - } - leaf optics-threshold-value { - type int32; - description "Optics Threshold Value"; - } - leaf dbm { - type int32; - default "0"; - description - "Used only for Opt and Opr,To Enter - Threshold in dbm use 1"; - } - } - } - - container minute15-optics-reports { - description "set optics TCA reporting status"; - - list minute15-optics-report { - key "optics-report"; - description "none"; - leaf optics-report { - type Optics-report; - description "Optics Report Type"; - } - } - } - } - - container minute15secyif { - description "Configure secy-if performance monitoring"; - - container minute15secyif-reports { - description "set secyif TCA reporting status"; - - list minute15secyif-report { - key "secyif-report"; - description "none"; - leaf secyif-report { - type Secyif-report; - description "Secyif Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secyif Report"; - } - } - } - - container minute15secyif-thresholds { - description "Configure threshold on secyif parameters"; - - list minute15secyif-threshold { - key "secyif-threshold"; - description "none"; - leaf secyif-threshold { - type Secyif-threshold; - description "Secyif Threshold Type"; - } - leaf secyif-threshold-value { - type int32; - mandatory true; - description "Secyif Threshold Value"; - } - } - } - } - - container minute15secyrx { - description "Configure secy-rx performance monitoring"; - - container minute15secyrx-reports { - description "set secyrx TCA reporting status"; - - list minute15secyrx-report { - key "secyrx-report"; - description "none"; - leaf secyrx-report { - type Secyrx-report; - description "Secyrx Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secyrx Report"; - } - } - } - - container minute15secyrx-thresholds { - description "Configure threshold on secyrx parameters"; - - list minute15secyrx-threshold { - key "secyrx-threshold"; - description "none"; - leaf secyrx-threshold { - type Secyrx-threshold; - description "Secyrx Threshold Type"; - } - leaf secyrx-threshold-value { - type int32; - mandatory true; - description "Secyrx Threshold Value"; - } - } - } - } - - container minute15fec { - description "Configure fec g709 performance monitoring"; - - container minute15fec-thresholds { - description "Configure fec threshold"; - - list minute15fec-threshold { - key "fec-threshold"; - description "none"; - leaf fec-threshold { - type Fec-threshold; - description "Fec Threshold Type"; - } - leaf fec-threshold-value { - type string { - length "1..16"; - } - mandatory true; - description "Fec Threshold Value"; - } - } - } - - container minute15fec-reports { - description "set fec TCA reporting status"; - - list minute15fec-report { - key "fec-report"; - description "none"; - leaf fec-report { - type Fec-report; - description "Fec Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Fec Report"; - } - } - } - } - - container minute15secytx { - description "Configure secy-tx performance monitoring"; - - container minute15secytx-reports { - description "set secytx TCA reporting status"; - - list minute15secytx-report { - key "secytx-report"; - description "none"; - leaf secytx-report { - type Secytx-report; - description "Secytx Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Enabled Secytx Report"; - } - } - } - - container minute15secytx-thresholds { - description "Configure threshold on secytx parameters"; - - list minute15secytx-threshold { - key "secytx-threshold"; - description "none"; - leaf secytx-threshold { - type Secytx-threshold; - description "Secytx Threshold Type"; - } - leaf secytx-threshold-value { - type int32; - mandatory true; - description "Secytx Threshold Value"; - } - } - } - } - - container minute15otn { - description "configure otn g709 performance monitoring"; - - container min15-otn-threshes { - description "Configure threshold on otn parameters"; - - list min15-otn-thresh { - key "otn-threshold"; - description "none"; - leaf otn-threshold { - type Otn-threshold; - description "Otn Threshold Type"; - } - leaf otn-threshold-value { - type int32; - mandatory true; - description "Otn Threshold Value"; - } - } - } - - container minute15otn-reports { - description "set otn TCA reporting status"; - - list minute15otn-report { - key "otn-report"; - description "none"; - leaf otn-report { - type Otn-report; - description "Otn Report Type"; - } - leaf enable { - type Report; - mandatory true; - description "Otn Report"; - } - } - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper-sub1.yang deleted file mode 100644 index 8601efc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper-sub1.yang +++ /dev/null @@ -1,2224 +0,0 @@ -submodule Cisco-IOS-XR-pmengine-oper-sub1 { - - belongs-to Cisco-IOS-XR-pmengine-oper { - prefix Cisco-IOS-XR-pmengine-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pmengine package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-30" { - description - "OTU PRBS Stats Added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pm-sonet-path-width-enum { - type enumeration { - enum none { - value 0; - description "Sonet Path Width NONE "; - } - enum sts1 { - value 1; - description "Sonet Path Width STS1 "; - } - enum sts3c-stm1 { - value 2; - description "Sonet Path Width sts3cSTM1 "; - } - enum sts12c-stm4 { - value 3; - description "Sonet Path Width sts12cSTM4 "; - } - enum sts24c { - value 4; - description "Sonet Path Width sts24 "; - } - enum sts48c-stm16 { - value 5; - description "Sonet Path Width sts48cSTM16 "; - } - enum sts192c-stm64 { - value 6; - description "Sonet Path Width sts192cSTM64 "; - } - enum sts768c-stm256 { - value 7; - description "Sonet Path Width sts768cSTM256 "; - } - } - description "Sonet Path Width Enum"; - } - typedef Pm-prbs-status-et { - type enumeration { - enum not-applicable { - value 0; - description "not applicable"; - } - enum locked { - value 1; - description "locked"; - } - enum un-locked { - value 2; - description "unlocked"; - } - } - description "PM PRBS Status Mode Enum"; - } - typedef Pm-prbs-pattern-et { - type enumeration { - enum prbs-none { - value 0; - description "pn none"; - } - enum pn31 { - value 1; - description "pn31"; - } - enum pn23 { - value 2; - description "pn23"; - } - enum pn11 { - value 4; - description "pn11"; - } - enum inv-pn31 { - value 8; - description "inv pn31"; - } - enum inv-pn11 { - value 16; - description "inv pn11"; - } - enum pn15 { - value 32; - description "pn15"; - } - } - description "PM PRBS Pattern Mode Enum"; - } - - grouping PM-OPTICS-PARAMETER-STRING { - description "one parameter in optics"; - leaf valid { - type boolean; - description "valid"; - } - leaf minimum { - type string; - description "minimum"; - } - leaf average { - type string; - description "average"; - } - leaf maximum { - type string; - description "maximum"; - } - leaf minimum-threshold { - type string; - description "minimun threshold"; - } - leaf minimum-tca-report { - type boolean; - description "enable/disable to report TCA on min"; - } - leaf maximum-threshold { - type string; - description "maximum threshold"; - } - leaf maximum-tca-report { - type boolean; - description "enable/disable to report TCA on max"; - } - } - - grouping PM-OPTICS-PARAMETER { - description "one parameter in optics"; - leaf valid { - type boolean; - description "valid"; - } - leaf minimum { - type int32; - description "minimum"; - } - leaf average { - type int32; - description "average"; - } - leaf maximum { - type int32; - description "maximum"; - } - leaf minimum-threshold { - type int32; - description "minimun threshold"; - } - leaf minimum-tca-report { - type boolean; - description "enable/disable to report TCA on min"; - } - leaf maximum-threshold { - type int32; - description "maximum threshold"; - } - leaf maximum-tca-report { - type boolean; - description "enable/disable to report TCA on max"; - } - } - - grouping PM-OPTICS-PARAS { - description "all paras in optics"; - - container lbc { - description "LBC"; - uses PM-OPTICS-PARAMETER; - } - - container lbc-pc { - description "LBC in percentage"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container opt { - description "OPT"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container opr { - description "OPR"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container cd { - description "Chromatic Dispersion"; - uses PM-OPTICS-PARAMETER; - } - - container dgd { - description "Differential group Delay"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container pmd { - description "Polarization Mode Dispersion"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container osnr { - description "Optical Signal to Noise Ratio"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container center-wavelength { - description "Center Wavelength/Frequency"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container pdl { - description "Polarization Dependent Loss"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container pcr { - description "Polarization Change Rate"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container pn { - description "Phase Noise"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container rx-sig-pow { - description "Rx signal power"; - uses PM-OPTICS-PARAMETER-STRING; - } - - container low-sig-freq-off { - description "low freq sig off"; - uses PM-OPTICS-PARAMETER; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string; - description "timestamp"; - } - leaf last-clear-time { - type string; - description "last clear time"; - } - leaf last-clear15-min-time { - type string; - description "last clear time"; - } - leaf last-clear30-sec-time { - type string; - description "last clear time"; - } - leaf last-clear24-hr-time { - type string; - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - } - - grouping SONET-FAR-END-LINE-ENTRY { - description "SONET FAR END LINE ENTRY"; - - container far-end-line-e-ss { - description "The number of Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container far-end-line-se-ss { - description "The number of Severely Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container far-end-line-c-vs { - description "The number of Coding Violations"; - uses PM-SONET-PARAMETER; - } - - container far-end-line-ua-ss { - description "The number of Unavailable Seconds"; - uses PM-SONET-PARAMETER; - } - - container far-end-line-fc-ls { - description "The number of Failure counts Seconds"; - uses PM-SONET-PARAMETER; - } - } - - grouping SONET-LINE-ENTRY { - description "SONET LINE ENTRY"; - - container line-e-ss { - description "The number of Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container line-se-ss { - description "The number of Severely Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container line-c-vs { - description "The number of Coding Violations"; - uses PM-SONET-PARAMETER; - } - - container line-ua-ss { - description "The number of Unavailable Seconds"; - uses PM-SONET-PARAMETER; - } - - container line-fc-ls { - description "The number of Failure counts Seconds"; - uses PM-SONET-PARAMETER; - } - leaf line-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-SONET-PARAMETER { - description "pm one parameter"; - leaf data { - type uint32; - description "the number in the interval"; - } - leaf threshold { - type uint32; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping SONET-SECTION-ENTRY { - description "SONET SECTION ENTRY"; - - container section-e-ss { - description "The number of Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container section-se-ss { - description "The number of Severely Errored Seconds"; - uses PM-SONET-PARAMETER; - } - - container section-sef-ss { - description "The number of Severely Errored Framing Seconds"; - uses PM-SONET-PARAMETER; - } - - container section-c-vs { - description "The number of Coding Violations"; - uses PM-SONET-PARAMETER; - } - leaf section-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-SONET-PARAS { - description "all paras in ocn"; - - container section { - description "SECTION"; - uses SONET-SECTION-ENTRY; - } - - container line { - description "LINE"; - uses SONET-LINE-ENTRY; - } - - container fe-line { - description "FarEnd LINE"; - uses SONET-FAR-END-LINE-ENTRY; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - } - - grouping SONET-FAR-END-PATH-ENTRY { - description "SONET FAR END PATH ENTRY"; - leaf far-end-path-e-ss { - type uint32; - units "second"; - description "The number of Errored Seconds"; - } - leaf far-end-path-se-ss { - type uint32; - units "second"; - description "The number of Severely Errored Seconds"; - } - leaf far-end-path-c-vs { - type uint32; - description "The number of Coding Violations"; - } - leaf far-end-path-ua-ss { - type uint32; - units "second"; - description "The number of Unavailable Seconds"; - } - } - - grouping PM-SONET-PATH-PARAMETER { - description "pm one parameter"; - leaf data { - type uint32; - description "the number in the interval"; - } - leaf threshold { - type uint32; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping SONET-PATH-ENTRY { - description "SONET PATH ENTRY"; - - container path-e-ss { - description "The number of Errored Seconds"; - uses PM-SONET-PATH-PARAMETER; - } - - container path-se-ss { - description "The number of Severely Errored Seconds"; - uses PM-SONET-PATH-PARAMETER; - } - - container path-c-vs { - description "The number of Coding Violations"; - uses PM-SONET-PATH-PARAMETER; - } - - container path-ua-ss { - description "The number of Unavailable Seconds"; - uses PM-SONET-PATH-PARAMETER; - } - leaf path-width { - type Pm-sonet-path-width-enum; - description "Indicates the type of the SONET/SDH Path"; - } - leaf path-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-SONET-PATH-PARAS { - description "all paras in sts"; - - container path { - description "PATH"; - uses SONET-PATH-ENTRY; - } - - container fe-path { - description "Far End PATH"; - uses SONET-FAR-END-PATH-ENTRY; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - } - - grouping STM-FAR-END-LINE-ENTRY { - description "STM FAR END LINE ENTRY"; - - container far-end-line-e-ss { - description "The number of Errored Seconds"; - uses PM-STM-PARAMETER; - } - - container far-end-line-es-rs { - description "The number of Errored Seconds Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container far-end-line-ebb-es { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER; - } - - container far-end-line-bbe-rs { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER-RATIO; - } - - container far-end-line-se-ss { - description "The number of Severely Errored Second"; - uses PM-STM-PARAMETER; - } - - container far-end-line-ses-rs { - description "The number of Severely Errored Second Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container far-end-line-ua-ss { - description "The number of Unavailable Second"; - uses PM-STM-PARAMETER; - } - - container far-end-line-e-bs { - description "The number of Errored Block Second"; - uses PM-STM-PARAMETER; - } - } - - grouping STM-LINE-ENTRY { - description "STM LINE ENTRY"; - - container line-e-ss { - description "The number of Errored Seconds"; - uses PM-STM-PARAMETER; - } - - container line-es-rs { - description "The number of Errored Seconds Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container line-bb-es { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER; - } - - container line-bbe-rs { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER-RATIO; - } - - container line-se-ss { - description "The number of Severely Errored Second"; - uses PM-STM-PARAMETER; - } - - container line-ses-rs { - description "The number of Severely Errored Second Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container line-ua-ss { - description "The number of Unavailable Second"; - uses PM-STM-PARAMETER; - } - - container line-e-bs { - description "The number of Errored Block Second"; - uses PM-STM-PARAMETER; - } - leaf line-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-STM-PARAMETER-RATIO { - description "pm one parameter"; - leaf data { - type string { - length "0..8"; - } - description "the number in the interval"; - } - leaf threshold { - type string { - length "0..8"; - } - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping PM-STM-PARAMETER { - description "pm one parameter"; - leaf data { - type uint32; - description "the number in the interval"; - } - leaf threshold { - type uint32; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping STM-SECTION-ENTRY { - description "STM SECTION ENTRY"; - - container section-e-ss { - description "The number of Errored Seconds"; - uses PM-STM-PARAMETER; - } - - container section-es-rs { - description "The number of Errored Seconds Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container section-bb-es { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER; - } - - container section-bbe-rs { - description "The number of Background Block Errors"; - uses PM-STM-PARAMETER-RATIO; - } - - container section-se-ss { - description "The number of Severely Errored Second"; - uses PM-STM-PARAMETER; - } - - container section-ses-rs { - description "The number of Severely Errored Second Ratio"; - uses PM-STM-PARAMETER-RATIO; - } - - container section-ua-ss { - description "The number of Unavailable Second"; - uses PM-STM-PARAMETER; - } - - container section-e-bs { - description "The number of Errored Block Second"; - uses PM-STM-PARAMETER; - } - leaf section-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-STM-PARAS { - description "all paras in stm"; - - container section { - description "SECTION"; - uses STM-SECTION-ENTRY; - } - - container line { - description "LINE"; - uses STM-LINE-ENTRY; - } - - container fe-line { - description "FarEnd LINE"; - uses STM-FAR-END-LINE-ENTRY; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - } - - grouping PM-FEC-PARAM-STRING { - description "pm avg fec parameter"; - leaf minimum { - type string; - description "minimum"; - } - leaf average { - type string; - description "average"; - } - leaf maximum { - type string; - description "maximum"; - } - leaf minimum-threshold { - type string; - description "minimun threshold"; - } - leaf minimum-tca-report { - type boolean; - description "enable/disable to report TCA on min"; - } - leaf maximum-threshold { - type string; - description "maximum threshold"; - } - leaf maximum-tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-FEC-PARAM { - description "pm avg fec param"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-FEC-PARAS { - description "all paras in fec"; - - container ec-bits { - description "EC BITS"; - uses PM-FEC-PARAM; - } - - container uc-words { - description "UC WORDS"; - uses PM-FEC-PARAM; - } - - container pre-fec-ber { - description "Pre FEC BER"; - uses PM-FEC-PARAM-STRING; - } - - container post-fec-ber { - description "Post FEC BER"; - uses PM-FEC-PARAM-STRING; - } - - container q { - description "Q"; - uses PM-FEC-PARAM-STRING; - } - - container qmargin { - description "Q Margin"; - uses PM-FEC-PARAM-STRING; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string; - description "timestamp"; - } - leaf last-clear-time { - type string; - description "last clear time"; - } - leaf last-clear15-min-time { - type string; - description "last clear time"; - } - leaf last-clear30-sec-time { - type string; - description "last clear time"; - } - leaf last-clear24-hr-time { - type string; - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - } - - grouping PM-OTN-PARAMETER-RATIO { - description "pm one parameter"; - leaf data { - type string; - description "the number in the interval"; - } - leaf threshold { - type string; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping PM-OTN-PARAMETER { - description "pm one parameter"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping PM-OTN-PARAS { - description "all paras in otn"; - - container lbc { - description "LBC"; - uses PM-OTN-PARAMETER; - } - - container es-ne { - description "ES SM NE"; - uses PM-OTN-PARAMETER; - } - - container esr-ne { - description "ESR PM NE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container ses-ne { - description "SES SM NE"; - uses PM-OTN-PARAMETER; - } - - container sesr-ne { - description "SESR SM NE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container uas-ne { - description "UAS SM NE"; - uses PM-OTN-PARAMETER; - } - - container bbe-ne { - description "BBE SM NE"; - uses PM-OTN-PARAMETER; - } - - container bber-ne { - description "BBER SM NE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container fc-ne { - description "FC SM NE"; - uses PM-OTN-PARAMETER; - } - - container es-fe { - description "ES SM FE"; - uses PM-OTN-PARAMETER; - } - - container esr-fe { - description "ESR PM FE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container ses-fe { - description "SES SM FE"; - uses PM-OTN-PARAMETER; - } - - container sesr-fe { - description "SESR SM FE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container uas-fe { - description "UAS SM FE"; - uses PM-OTN-PARAMETER; - } - - container bbe-fe { - description "BBE SM FE"; - uses PM-OTN-PARAMETER; - } - - container bber-fe { - description "BBER SM FE"; - uses PM-OTN-PARAMETER-RATIO; - } - - container fc-fe { - description "FC SM FE"; - uses PM-OTN-PARAMETER; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string; - description "timestamp"; - } - leaf last-clear-time { - type string; - description "last clear time"; - } - leaf last-clear15-min-time { - type string; - description "last clear time"; - } - leaf last-clear30-sec-time { - type string; - description "last clear time"; - } - leaf last-clear24-hr-time { - type string; - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - } - - grouping PM-PRBS-STATUS-PARAMETER { - description "one parameter in optics"; - leaf valid { - type boolean; - description "valid"; - } - leaf prbs-status { - type Pm-prbs-status-et; - description "Prbs Status"; - } - } - - grouping PM-PRBS-PARAMETER { - description "one parameter in optics"; - leaf valid { - type boolean; - description "valid"; - } - leaf rcv-patt { - type Pm-prbs-pattern-et; - description "RCVD PTRN"; - } - } - - grouping PM-PRBS-PARAS { - description "all paras in prbs"; - - container rcv-patt { - description "RCVD PTRN"; - uses PM-PRBS-PARAMETER; - } - - container prbs-status { - description "PRBS STATUS"; - uses PM-PRBS-STATUS-PARAMETER; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf ebc { - type uint64; - description "EBC"; - } - leaf found-count { - type uint32; - description "FOUND COUNT"; - } - leaf lost-count { - type uint32; - description "LOST COUNT"; - } - leaf found-at-time { - type uint64; - description "FOUND AT TS"; - } - leaf lost-at-time { - type uint64; - description "LOST AT TS"; - } - leaf conf-patt { - type Pm-prbs-pattern-et; - description "CONFIG PTRN"; - } - } - - grouping PM-GFP-PARAM { - description "PM GFP PARAM"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping PM-GFP-PARAS { - description "PM GFP PARAS"; - - container rx-bit-err { - description "RX BIT ERR"; - uses PM-GFP-PARAM; - } - - container rx-inv-typ { - description "RX INV TYP"; - uses PM-GFP-PARAM; - } - - container rx-crc { - description "RX CRC"; - uses PM-GFP-PARAM; - } - - container rx-lfd { - description "RX LFD"; - uses PM-GFP-PARAM; - } - - container rx-csf { - description "RX CSF"; - uses PM-GFP-PARAM; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear30-sec-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - } - - grouping HO-VC-FAR-END-PATH-ENTRY { - description "HO VC FAR END PATH ENTRY"; - leaf far-end-path-e-ss { - type uint32; - units "second"; - description "The number of Errored Seconds"; - } - leaf far-end-path-se-ss { - type uint32; - units "second"; - description "The number of Severely Errored Seconds"; - } - leaf far-end-path-c-vs { - type uint32; - description "The number of Coding Violations"; - } - leaf far-end-path-ua-ss { - type uint32; - units "second"; - description "The number of Unavailable Seconds"; - } - } - - grouping PM-HO-VC-PARAMETER-RATIO { - description "pm one parameter"; - leaf data { - type string { - length "0..8"; - } - description "the number in the interval"; - } - leaf threshold { - type string { - length "0..8"; - } - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping PM-HO-VC-PARAMETER { - description "pm one parameter"; - leaf data { - type uint32; - description "the number in the interval"; - } - leaf threshold { - type uint32; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - } - - grouping HO-VC-ENTRY { - description "HO VC ENTRY"; - - container path-e-ss { - description "The number of Errored Seconds"; - uses PM-HO-VC-PARAMETER; - } - - container path-es-rs { - description "The number of Errored Seconds"; - uses PM-HO-VC-PARAMETER-RATIO; - } - - container path-se-ss { - description "The number of Severely Errored Seconds"; - uses PM-HO-VC-PARAMETER; - } - - container path-ses-rs { - description "The number of Severely Errored Seconds"; - uses PM-HO-VC-PARAMETER-RATIO; - } - - container path-e-bs { - description "The number of Errored blocks"; - uses PM-HO-VC-PARAMETER; - } - - container path-ua-ss { - description "The number of Unavailable Seconds"; - uses PM-HO-VC-PARAMETER; - } - - container path-bb-es { - description "The number of background block errors"; - uses PM-HO-VC-PARAMETER; - } - - container path-bbe-rs { - description "The number of background block errors"; - uses PM-HO-VC-PARAMETER-RATIO; - } - leaf path-status { - type int32; - description " status of the interface"; - } - } - - grouping PM-HO-VC-PARAS { - description "all paras in ho_vc"; - - container path { - description "PATH"; - uses HO-VC-ENTRY; - } - - container fe-path { - description "Far End PATH"; - uses HO-VC-FAR-END-PATH-ENTRY; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - } - - grouping PM-ETHER-PARAM-STRING { - description "PM ETHER PARAM STRING"; - leaf data { - type string; - description "the number in the interval"; - } - leaf threshold { - type string; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-ETHER-PARAM { - description "PM ETHER PARAM"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-ETHERNET-PARAS { - description "all paras in ether"; - - container rx-pkt { - description "RX PKT"; - uses PM-ETHER-PARAM; - } - - container stat-pkt { - description "STAT PKT"; - uses PM-ETHER-PARAM; - } - - container octet-stat { - description "OCTET STAT"; - uses PM-ETHER-PARAM; - } - - container oversize-pkt-stat { - description "OVERSIZE PKT"; - uses PM-ETHER-PARAM; - } - - container fcs-errors-stat { - description "FCS ERR"; - uses PM-ETHER-PARAM; - } - - container long-frames-stat { - description "LONG FRAMES"; - uses PM-ETHER-PARAM; - } - - container jabber-stat { - description "JABBER STATS"; - uses PM-ETHER-PARAM; - } - - container ether64-octets { - description "SIXTY FOUR OCTET"; - uses PM-ETHER-PARAM; - } - - container ether65127-octet { - description "OCTET"; - uses PM-ETHER-PARAM; - } - - container ether128255-octet { - description "TFF OCTET"; - uses PM-ETHER-PARAM; - } - - container ether256511-octet { - description "FOO OCTET"; - uses PM-ETHER-PARAM; - } - - container ether5121023-octet { - description "OZTT OCTET"; - uses PM-ETHER-PARAM; - } - - container ether10241518-octet { - description "OFO OCTET"; - uses PM-ETHER-PARAM; - } - - container in-ucast-pkt { - description "IN UCAST"; - uses PM-ETHER-PARAM; - } - - container in-mcast-pkt { - description "IN MCAST"; - uses PM-ETHER-PARAM; - } - - container in-bcast-pkt { - description "IN BCAST"; - uses PM-ETHER-PARAM; - } - - container out-ucast-pkt { - description "OUT UCAST"; - uses PM-ETHER-PARAM; - } - - container out-bcast-pkt { - description "OUT BCAST"; - uses PM-ETHER-PARAM; - } - - container out-mcast-pkt { - description "OUT MCAST"; - uses PM-ETHER-PARAM; - } - - container tx-pkt { - description "TX PKT"; - uses PM-ETHER-PARAM; - } - - container if-in-errors { - description "IFIN ERRORS"; - uses PM-ETHER-PARAM; - } - - container if-in-octets { - description "IFIN OCTETS"; - uses PM-ETHER-PARAM; - } - - container ether-stat-multicast-pkt { - description "ETHER STAT MULTICAST PKT"; - uses PM-ETHER-PARAM; - } - - container ether-stat-broadcast-pkt { - description "ETHER STAT BROADCAST PKT"; - uses PM-ETHER-PARAM; - } - - container ether-stat-undersized-pkt { - description "ETHER STAT UNDERSIZED PKT"; - uses PM-ETHER-PARAM; - } - - container out-octets { - description "OUT OCTET"; - uses PM-ETHER-PARAM; - } - - container in-pause-frame { - description "INPUT PAUSE FRAME"; - uses PM-ETHER-PARAM; - } - - container in-good-bytes { - description "INPUT GOOD BYTES"; - uses PM-ETHER-PARAM; - } - - container in8021q-frames { - description "INPUT 802 1Q FRAMES"; - uses PM-ETHER-PARAM; - } - - container in-pkts1519-max-octets { - description "INPUT PKTS 1519MAX OCTETS"; - uses PM-ETHER-PARAM; - } - - container in-good-pkts { - description "INPUT GOOD PKTS"; - uses PM-ETHER-PARAM; - } - - container in-drop-overrun { - description "INPUT DROP OVERRUN"; - uses PM-ETHER-PARAM; - } - - container in-drop-abort { - description "INPUT DROP ABORT"; - uses PM-ETHER-PARAM; - } - - container in-drop-invalid-vlan { - description "INPUT DROP INVALID VLAN"; - uses PM-ETHER-PARAM; - } - - container in-drop-invalid-dmac { - description "INPUT DROP INVALID DMAC"; - uses PM-ETHER-PARAM; - } - - container in-drop-invalid-encap { - description "INPUT DROP INVALID ENCAP"; - uses PM-ETHER-PARAM; - } - - container in-drop-other { - description "INPUT DROP OTHER"; - uses PM-ETHER-PARAM; - } - - container in-mib-giant { - description "INPUT MIB GIANT"; - uses PM-ETHER-PARAM; - } - - container in-mib-jabber { - description "INPUT MIB JABBER"; - uses PM-ETHER-PARAM; - } - - container in-mibcrc { - description "IN MIB CRC"; - uses PM-ETHER-PARAM; - } - - container in-error-collisions { - description "IN ERROR COLLISIONS"; - uses PM-ETHER-PARAM; - } - - container in-error-symbol { - description "IN ERROR SYMBOL"; - uses PM-ETHER-PARAM; - } - - container out-good-bytes { - description "OUT GOOD BYTES"; - uses PM-ETHER-PARAM; - } - - container out8021q-frames { - description "OUT 802 1Q FRAMES"; - uses PM-ETHER-PARAM; - } - - container out-pause-frames { - description "OUT PAUSE FRAMES"; - uses PM-ETHER-PARAM; - } - - container out-pkts1519-max-octets { - description "OUT PKTS 1519 MAX OCTETS"; - uses PM-ETHER-PARAM; - } - - container out-good-pkts { - description "OUT GOOD PKTS"; - uses PM-ETHER-PARAM; - } - - container out-drop-underrun { - description "OUT DROP UNDERRUN"; - uses PM-ETHER-PARAM; - } - - container out-drop-abort { - description "OUT DROP ABORT"; - uses PM-ETHER-PARAM; - } - - container out-drop-other { - description "OUT DROP OTHER"; - uses PM-ETHER-PARAM; - } - - container out-error-other { - description "OUT ERROR OTHER"; - uses PM-ETHER-PARAM; - } - - container in-error-giant { - description "IN ERROR GIANT"; - uses PM-ETHER-PARAM; - } - - container in-error-runt { - description "IN ERROR RUNT"; - uses PM-ETHER-PARAM; - } - - container in-error-jabbers { - description "IN ERROR JABBERS"; - uses PM-ETHER-PARAM; - } - - container in-error-fragments { - description "IN ERROR FRAGMENTS"; - uses PM-ETHER-PARAM; - } - - container in-error-other { - description "IN ERROR OTHER"; - uses PM-ETHER-PARAM; - } - - container in-pkt64-octet { - description "IN PKT 64 OCTET"; - uses PM-ETHER-PARAM; - } - - container in-pkts65-to127-octets { - description "IN PKTS 65 127OCTETS"; - uses PM-ETHER-PARAM; - } - - container in-pkts128-to255-octets { - description "IN PKTS 128 255 OCTETS"; - uses PM-ETHER-PARAM; - } - - container in-pkts256-to511-octets { - description "IN PKTS 256 511 OCTETS"; - uses PM-ETHER-PARAM; - } - - container in-pkts512-to1023-octets { - description "IN PKTS 512 1023 OCTETS"; - uses PM-ETHER-PARAM; - } - - container in-pkts1024-to1518-octets { - description "IN PKTS 1024 1518 OCTETS"; - uses PM-ETHER-PARAM; - } - - container outpkt64octet { - description "OUT PKT 64 OCTET"; - uses PM-ETHER-PARAM; - } - - container out-pkts65127-octets { - description "OUT PKTS 65 127OCTETS"; - uses PM-ETHER-PARAM; - } - - container out-pkts128255-octets { - description "OUT PKTS 128 255 OCTETS"; - uses PM-ETHER-PARAM; - } - - container out-pkts256511-octets { - description "OUT PKTS 256 511 OCTETS"; - uses PM-ETHER-PARAM; - } - - container out-pkts5121023-octets { - description "OUT PKTS 512 1023 OCTETS"; - uses PM-ETHER-PARAM; - } - - container out-pkts10241518-octets { - description "OUT PKTS 1024 1518 OCTETS"; - uses PM-ETHER-PARAM; - } - - container rx-util { - description "Rx Utilization in Percent"; - uses PM-ETHER-PARAM-STRING; - } - - container tx-util { - description "Tx Utilization in Percent"; - uses PM-ETHER-PARAM-STRING; - } - - container tx-undersized-pkt { - description "TX Undersized Pkt"; - uses PM-ETHER-PARAM; - } - - container tx-oversized-pkt { - description "TX Oversized Pkt"; - uses PM-ETHER-PARAM; - } - - container tx-fragments { - description "TX Fragments"; - uses PM-ETHER-PARAM; - } - - container tx-jabber { - description "TX Jabber"; - uses PM-ETHER-PARAM; - } - - container tx-bad-fcs { - description "TX Bad Fcs"; - uses PM-ETHER-PARAM; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string; - description "last clear time"; - } - leaf last-clear30-sec-time { - type string; - description "last clear time"; - } - leaf last-clear15-min-time { - type string; - description "last clear time"; - } - leaf last-clear24-hr-time { - type string; - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - } - - grouping PM-SECY-TX-PARAM { - description "PM SECY TX PARAM"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-SECY-TX-PARAS { - description "PM SECY TX PARAS"; - - container out-pkts-protected { - description "Out Packets Protected"; - uses PM-SECY-TX-PARAM; - } - - container out-pkts-encrypted { - description "Out Packets Encrypted"; - uses PM-SECY-TX-PARAM; - } - - container out-octets-protected { - description "Out Octets Protected "; - uses PM-SECY-TX-PARAM; - } - - container out-octets-encrypted { - description "Out Octets Encrypted"; - uses PM-SECY-TX-PARAM; - } - - container out-pkts-too-long { - description "Out Packets Too Long"; - uses PM-SECY-TX-PARAM; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear30-sec-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - leaf sample-count { - type uint64; - description "Running Sample Count"; - } - } - - grouping PM-SECY-RX-PARAM { - description "PM SECY RX PARAM"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-SECY-RX-PARAS { - description "PM SECY RX PARAS"; - - container in-pkts-unchecked { - description "In Packet Unchecked"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-delayed { - description "In Packet Delay"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-late { - description "In Packet Late"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-ok { - description "In Packet Ok"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-invalid { - description "In Packet Invalid"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-not-valid { - description "In Packet Not Valid"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-not-using-sa { - description "In Packet Not Using SA"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-unused-sa { - description "In Packet Unused SA"; - uses PM-SECY-RX-PARAM; - } - - container in-pkts-untagged-hit { - description "In Packet Untagged Hit"; - uses PM-SECY-RX-PARAM; - } - - container in-octets-validated { - description "In Octet Validated"; - uses PM-SECY-RX-PARAM; - } - - container in-octets-decrypted { - description "In Octet Decrypted"; - uses PM-SECY-RX-PARAM; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear30-sec-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - leaf sample-count { - type uint64; - description "Running Sample Count"; - } - } - - grouping PM-SECY-IF-PARAM { - description "PM SECY IF PARAM"; - leaf data { - type uint64; - description "the number in the interval"; - } - leaf threshold { - type uint64; - description "the threshold users set"; - } - leaf tca-report { - type boolean; - description "enable/disable to report TCA"; - } - leaf valid { - type boolean; - description "valid"; - } - } - - grouping PM-SECY-IF-PARAS { - description "PM SECY IF PARAS"; - - container in-pkts-untagged { - description "In Packet Untagged"; - uses PM-SECY-IF-PARAM; - } - - container in-pkts-no-tag { - description "In Packet No tag"; - uses PM-SECY-IF-PARAM; - } - - container in-pkts-bad-tag { - description "In Packet Bad tag"; - uses PM-SECY-IF-PARAM; - } - - container in-pkts-unknown-sci { - description "In Packet Unknown sci"; - uses PM-SECY-IF-PARAM; - } - - container in-pkts-no-sci { - description "In Packet No sci"; - uses PM-SECY-IF-PARAM; - } - - container in-pkts-overrun { - description "In Packet Overrun"; - uses PM-SECY-IF-PARAM; - } - - container in-octets-validated { - description "In Octet Validated"; - uses PM-SECY-IF-PARAM; - } - - container in-octets-decrypted { - description "In Octet Decrypted"; - uses PM-SECY-IF-PARAM; - } - - container out-pkts-untagged { - description "Out Packet Untagged"; - uses PM-SECY-IF-PARAM; - } - - container out-pkts-too-long { - description "Out Packet Too Long"; - uses PM-SECY-IF-PARAM; - } - - container out-octets-protected { - description "Out Octet Protected"; - uses PM-SECY-IF-PARAM; - } - - container out-octets-encrypted { - description "Out Octet encrypted"; - uses PM-SECY-IF-PARAM; - } - leaf index { - type uint32; - description "index"; - } - leaf valid { - type boolean; - description "valid"; - } - leaf timestamp { - type string { - length "0..64"; - } - description "timestamp"; - } - leaf last-clear-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear15-min-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear30-sec-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf last-clear24-hr-time { - type string { - length "0..64"; - } - description "last clear time"; - } - leaf sec30-support { - type boolean; - description "30 sec support"; - } - leaf sample-count { - type uint64; - description "Running Sample Count"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper.yang deleted file mode 100644 index 68d50ee..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pmengine-oper.yang +++ /dev/null @@ -1,3047 +0,0 @@ -module Cisco-IOS-XR-pmengine-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper"; - - - prefix "pmengine-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pmengine-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pmengine package operational data. - - This module contains definitions - for the following management objects: - performance-management: performace data - performance-management-history: performance management history - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-03-30" { - description - "OTU PRBS Stats Added"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container performance-management { - config false; - description "performace data"; - - container macsec { - description "MACSEC controller performance data"; - - container macsec-ports { - description "Port performance data"; - - list macsec-port { - key "name"; - description "Port performance data"; - - container macsec-current { - description "port current performance data"; - - container macsec-minute15 { - description "port current performance data"; - - container macsec-minute15secyifs { - description "port current performance data"; - - list macsec-minute15secyif { - key "number"; - description - "port 15-minute secy-if performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-IF-PARAS; - } - } - - container macsec-minute15secyrxes { - description "port current performance data"; - - list macsec-minute15secyrx { - key "number"; - description - "port 15-minute secy-rx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-RX-PARAS; - } - } - - container macsec-minute15secytxes { - description "port current performance data"; - - list macsec-minute15secytx { - key "number"; - description - "port 15-minute secy-tx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-TX-PARAS; - } - } - - container macsec-minute15-ether-s { - description "port current performance data"; - - list macsec-minute15-ether { - key "number"; - description - "port 15-minute ether performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-ETHERNET-PARAS; - } - } - } - - container macsec-second30 { - description "port current performance data"; - - container macsec-second30secyifs { - description "port current performance data"; - - list macsec-second30secyif { - key "number"; - description - "port 30-sec secy-if performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-IF-PARAS; - } - } - - container macsec-second30secyrxes { - description "port current performance data"; - - list macsec-second30secyrx { - key "number"; - description - "port 30-sec secy-rx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-RX-PARAS; - } - } - - container macsec-second30-ether-s { - description "port current performance data"; - - list macsec-second30-ether { - key "number"; - description "port 30-sec ether performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-ETHERNET-PARAS; - } - } - - container macsec-second30secytxes { - description "port current performance data"; - - list macsec-second30secytx { - key "number"; - description - "port 30-sec secy-tx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-TX-PARAS; - } - } - } - - container macsec-hour24 { - description "port current performance data"; - - container macsec-hour24-ether-s { - description "port current performance data"; - - list macsec-hour24-ether { - key "number"; - description "port 24 hour ether performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-ETHERNET-PARAS; - } - } - - container macsec-hour24secyifs { - description "port current performance data"; - - list macsec-hour24secyif { - key "number"; - description - "port 24 hour secy-if performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-IF-PARAS; - } - } - - container macsec-hour24secyrxes { - description "port current performance data"; - - list macsec-hour24secyrx { - key "number"; - description - "port 24 hour secy-rx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-RX-PARAS; - } - } - - container macsec-hour24secytxes { - description "port current performance data"; - - list macsec-hour24secytx { - key "number"; - description - "port 24 hour secy-tx performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SECY-TX-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container ho-vc { - description "HO_VC controller performance data"; - - container ho-vc-ports { - description "Port performance data"; - - list ho-vc-port { - key "name"; - description "Port performance data"; - - container ho-vc-current { - description "port current performance data"; - - container ho-vc-hour24 { - description "port current performance data"; - - container ho-vc-hour24-paths { - description "port current performance data"; - - list ho-vc-hour24-path { - key "number"; - description "port 24 hour Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-HO-VC-PARAS; - } - } - } - - container ho-vc-minute15 { - description "port current performance data"; - - container ho-vc-minute15-paths { - description "port current performance data"; - - list ho-vc-minute15-path { - key "number"; - description - "port 15-minute Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-HO-VC-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container odu { - description "ODU controller performance data"; - - container odu-ports { - description "Port performance data"; - - list odu-port { - key "name"; - description "Port performance data"; - - container odu-current { - description "port current performance data"; - - container odu-minute15 { - description "port current performance data"; - - container odu-minute15gfps { - description "port current performance data"; - - list odu-minute15gfp { - key "number"; - description "port 15-minute otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-GFP-PARAS; - } - } - - container odu-minute15prbses { - description "port current performance data"; - - list odu-minute15prbs { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-PRBS-PARAS; - } - } - - container odu-minute15otns { - description "port current performance data"; - - list odu-minute15otn { - key "number"; - description "port 15-minute otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - - container odu-hour24 { - description "port current performance data"; - - container odu-hour24prbses { - description "port 24 hour performance data"; - - list odu-hour24prbs { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-PRBS-PARAS; - } - } - - container odu-hour24gfps { - description "port 24 hour performance data"; - - list odu-hour24gfp { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-GFP-PARAS; - } - } - - container odu-hour24otns { - description "port 24 hour performance data"; - - list odu-hour24otn { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container otu { - description "OTU controller performance data"; - - container otu-ports { - description "Port performance data"; - - list otu-port { - key "name"; - description "Port performance data"; - - container otu-current { - description "port current performance data"; - - container otu-minute15 { - description "port current performance data"; - - container otu-minute15fecs { - description "port current performance data"; - - list otu-minute15fec { - key "number"; - description "port 15-minute fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container otu-minute15otns { - description "port current performance data"; - - list otu-minute15otn { - key "number"; - description "port 15-minute otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - - container otu-minute15prbses { - description "port current performance data"; - - list otu-minute15prbs { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-PRBS-PARAS; - } - } - } - - container otu-second30 { - description "port current performance data"; - - container otu-second30fecs { - description "port current performance data"; - - list otu-second30fec { - key "number"; - description "port 30-sec fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container otu-second30otns { - description "port current performance data"; - - list otu-second30otn { - key "number"; - description "port 30-sec otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - - container otu-hour24 { - description "port current performance data"; - - container otu-hour24fecs { - description "port current performance data"; - - list otu-hour24fec { - key "number"; - description "port 24 hour fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container otu-hour24prbses { - description "port 24 hour performance data"; - - list otu-hour24prbs { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-PRBS-PARAS; - } - } - - container otu-hour24otns { - description "port 24 hour performance data"; - - list otu-hour24otn { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container stm { - description "STM controller performance data"; - - container stm-ports { - description "Port performance data"; - - list stm-port { - key "name"; - description "Port performance data"; - - container stm-current { - description "port current performance data"; - - container stm-hour24 { - description "port current performance data"; - - container stm-hour24stms { - description "port current performance data"; - - list stm-hour24stm { - key "number"; - description "port 24 hour stm performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-STM-PARAS; - } - } - } - - container stm-minute15 { - description "port current performance data"; - - container stm-minute15stms { - description "port current performance data"; - - list stm-minute15stm { - key "number"; - description "port 15-minute stm performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-STM-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container sonet { - description "SONET controller performance data"; - - container sonet-ports { - description "Port performance data"; - - list sonet-port { - key "name"; - description "Port performance data"; - - container sonet-current { - description "port current performance data"; - - container sonet-minute15 { - description "port current performance data"; - - container sonet-minute15-paths { - description "port current performance data"; - - list sonet-minute15-path { - key "number"; - description - "port 15-minute Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PATH-PARAS; - } - } - - container sonet-minute15ocns { - description "port current performance data"; - - list sonet-minute15ocn { - key "number"; - description "port 15-minute ocn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PARAS; - } - } - } - - container sonet-hour24 { - description "port current performance data"; - - container sonet-hour24ocns { - description "port current performance data"; - - list sonet-hour24ocn { - key "number"; - description "port 24 hour ocn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PARAS; - } - } - - container sonet-hour24-paths { - description "port current performance data"; - - list sonet-hour24-path { - key "number"; - description "port 24 hour Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PATH-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container optics { - description "OPTICS controller performance data"; - - container optics-ports { - description "Port performance data"; - - list optics-port { - key "name"; - description "Port performance data"; - - container optics-current { - description "port current performance data"; - - container optics-hour24 { - description "port current performance data"; - - container optics-hour24-optics { - description "port 24 hour performance data"; - - list optics-hour24-optic { - key "number"; - description - "port 24 hour optics performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OPTICS-PARAS; - } - } - - container optics-hour24fecs { - description "port current performance data"; - - list optics-hour24fec { - key "number"; - description "port 24 hour fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - } - - container optics-minute15 { - description "port current performance data"; - - container optics-minute15-optics { - description "port current performance data"; - - list optics-minute15-optic { - key "number"; - description - "port 15-minute optics performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OPTICS-PARAS; - } - } - - container optics-minute15fecs { - description "port current performance data"; - - list optics-minute15fec { - key "number"; - description "port 15-minute fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - } - - container optics-second30 { - description "port current performance data"; - - container optics-second30fecs { - description "port current performance data"; - - list optics-second30fec { - key "number"; - description "port 30-second fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container optics-second30-optics { - description "port current performance data"; - - list optics-second30-optic { - key "number"; - description - "port 30-second optics performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OPTICS-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container sts { - description "STS controller performance data"; - - container sts-ports { - description "Port performance data"; - - list sts-port { - key "name"; - description "Port performance data"; - - container sts-current { - description "port current performance data"; - - container sts-minute15 { - description "port current performance data"; - - container sts-minute15-paths { - description "port current performance data"; - - list sts-minute15-path { - key "number"; - description - "port 15-minute Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PATH-PARAS; - } - } - } - - container sts-hour24 { - description "port current performance data"; - - container sts-hour24-paths { - description "port current performance data"; - - list sts-hour24-path { - key "number"; - description "port 24 hour Path performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PATH-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container dwdm { - description "DWDM controller performance data"; - - container dwdm-ports { - description "Port performance data"; - - list dwdm-port { - key "name"; - description "Port performance data"; - - container dwdm-current { - description "port current performance data"; - - container dwdm-minute15 { - description "port current performance data"; - - container dwdm-minute15fecs { - description "port current performance data"; - - list dwdm-minute15fec { - key "number"; - description "port 15-minute fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container dwdm-minute15-optics { - description "port current performance data"; - - list dwdm-minute15-optic { - key "number"; - description - "port 15-minute optics performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OPTICS-PARAS; - } - } - - container dwdm-minute15otns { - description "port current performance data"; - - list dwdm-minute15otn { - key "number"; - description "port 15-minute otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - - container dwdm-hour24 { - description "port current performance data"; - - container dwdm-hour24-optics { - description "port 24 hour performance data"; - - list dwdm-hour24-optic { - key "number"; - description - "port 24 hour optics performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OPTICS-PARAS; - } - } - - container dwdm-hour24fecs { - description "port current performance data"; - - list dwdm-hour24fec { - key "number"; - description "port 24 hour fec performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-FEC-PARAS; - } - } - - container dwdm-hour24otns { - description "port 24 hour performance data"; - - list dwdm-hour24otn { - key "number"; - description "port 24 hour otn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-OTN-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container oc { - description "OC controller performance data"; - - container oc-ports { - description "Port performance data"; - - list oc-port { - key "name"; - description "Port performance data"; - - container oc-current { - description "port current performance data"; - - container oc-hour24 { - description "port current performance data"; - - container oc-hour24ocns { - description "port current performance data"; - - list oc-hour24ocn { - key "number"; - description "port 24 hour ocn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PARAS; - } - } - } - - container oc-minute15 { - description "port current performance data"; - - container oc-minute15ocns { - description "port current performance data"; - - list oc-minute15ocn { - key "number"; - description "port 15-minute ocn performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-SONET-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container ethernet { - description "EHERNET controller performance data"; - - container ethernet-ports { - description "Port performance data"; - - list ethernet-port { - key "name"; - description "Port performance data"; - - container ethernet-current { - description "port current performance data"; - - container ethernet-second30 { - description "port current performance data"; - - container second30-ethers { - description - "ETHERNET port interval performance data"; - - list second30-ether { - key "slot-number"; - description - "ETHERNET port 30 second ether performance - data"; - leaf slot-number { - type int32; - description "interval slot number"; - } - uses PM-ETHERNET-PARAS; - } - } - } - - container ethernet-hour24 { - description "port current performance data"; - - container ethernet-hour24-ether-s { - description "port current performance data"; - - list ethernet-hour24-ether { - key "number"; - description - "port 24 hour ethernet performance data"; - leaf number { - type int32; - description "channel number"; - } - uses PM-ETHERNET-PARAS; - } - } - } - - container minute15 { - description "port current performance data"; - - container minute15-ethers { - description - "ETHERNET port interval performance data"; - - list minute15-ether { - key "slot-number"; - description - "ETHERNET port 15-minute ether performance - data"; - leaf slot-number { - type int32; - description "interval slot number"; - } - uses PM-ETHERNET-PARAS; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - } - - container performance-management-history { - config false; - description "performance management history"; - - container global { - description "global History performace data"; - - container periodic { - description "History performace data"; - - container sonet-history { - description "SONET controller History performance data"; - - container sonet-port-histories { - description "Port performance data"; - - list sonet-port-history { - key "name"; - description "Port performance data"; - - container sonet-minute15-history { - description "port current performance data"; - - container sonet-minute15ocn-histories { - description "port current performance data"; - - list sonet-minute15ocn-history { - key "number"; - description - "port 15-minute ocn performance data"; - - container "sonet-minute15ocn-time-line"+ - "-instances" { - description "port current performance data"; - - list sonet-minute15ocn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container sonet-minute15-path-histories { - description "port current performance data"; - - list sonet-minute15-path-history { - key "number"; - description - "port 15-minute Path performance data"; - - container "sonet-minute15-path-time-line"+ - "-instances" { - description "port current performance data"; - - list sonet-minute15-path-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PATH-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container sonet-hour24-history { - description "port current performance data"; - - container sonet-hour24-path-histories { - description "port current performance data"; - - list sonet-hour24-path-history { - key "number"; - description - "port 24 hour Path performance data"; - - container "sonet-hour24-path-time-line"+ - "-instances" { - description "port current performance data"; - - list sonet-hour24-path-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PATH-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container sonet-hour24ocn-histories { - description "port current performance data"; - - list sonet-hour24ocn-history { - key "number"; - description "port 24 hour ocn performance data"; - - container sonet-hour24ocn-time-line-instances { - description "port current performance data"; - - list sonet-hour24ocn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container sts-history { - description "STS controller History performance data"; - - container sts-port-histories { - description "Port performance data"; - - list sts-port-history { - key "name"; - description "Port performance data"; - - container sts-minute15-history { - description "port current performance data"; - - container sts-minute15-path-histories { - description "port current performance data"; - - list sts-minute15-path-history { - key "number"; - description - "port 15-minute Path performance data"; - - container "sts-minute15-path-time-line"+ - "-instances" { - description "port current performance data"; - - list sts-minute15-path-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PATH-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container sts-hour24-history { - description "port current performance data"; - - container sts-hour24-path-histories { - description "port current performance data"; - - list sts-hour24-path-history { - key "number"; - description - "port 24 hour Path performance data"; - - container sts-hour24-path-time-line-instances { - description "port current performance data"; - - list sts-hour24-path-time-line-instance { - key "number"; - description - "port 15-minute sts performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PATH-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container ethernet-history { - description "EHERNET controller History performance data"; - - container ethernet-port-histories { - description "Port performance data"; - - list ethernet-port-history { - key "name"; - description "Port performance data"; - - container ethernet-second30-history { - description "port current performance data"; - - container second30-ether-histories { - description - "ETHERNET port interval performance data"; - - list second30-ether-history { - key "slot-number"; - description - "ETHERNET port 30 sec ether performance - data"; - - container second30-ether-time-line-instances { - description "port current performance data"; - - list second30-ether-time-line-instance { - key "number"; - description - "port 30 sec otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf slot-number { - type int32; - description "interval slot number"; - } - } - } - } - - container ethernet-hour24-history { - description "port current performance data"; - - container ethernet-hour24-ether-histories { - description "port current performance data"; - - list ethernet-hour24-ether-history { - key "number"; - description - "port 24 hour ethernet performance data"; - - container "ethernet-hour24-ether-time-line"+ - "-instances" { - description "port current performance data"; - - list "ethernet-hour24-ether-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container ethernet-minute15-history { - description "port current performance data"; - - container minute15-ether-histories { - description - "ETHERNET port interval performance data"; - - list minute15-ether-history { - key "slot-number"; - description - "ETHERNET port 15-minute ether performance - data"; - - container minute15-ether-time-line-instances { - description "port current performance data"; - - list minute15-ether-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf slot-number { - type int32; - description "interval slot number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container dwdm-history { - description "DWDM controller History performance data"; - - container dwdm-port-histories { - description "Port performance data"; - - list dwdm-port-history { - key "name"; - description "Port performance data"; - - container dwdm-minute15-history { - description "port current performance data"; - - container dwdm-minute15otn-histories { - description "port current performance data"; - - list dwdm-minute15otn-history { - key "number"; - description - "port 15-minute otn performance data"; - - container dwdm-minute15otn-time-line-instances { - description "port current performance data"; - - list dwdm-minute15otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container dwdm-minute15fec-histories { - description "port current performance data"; - - list dwdm-minute15fec-history { - key "number"; - description - "port 15-minute fec performance data"; - - container dwdm-minute15fec-time-line-instances { - description "port current performance data"; - - list dwdm-minute15fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data by - index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container dwdm-minute15-optics-histories { - description "port current performance data"; - - list dwdm-minute15-optics-history { - key "number"; - description - "port 15-minute optics performance data"; - - container "dwdm-minute15-optics-time-line"+ - "-instances" { - description "port current performance data"; - - list dwdm-minute15-optics-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OPTICS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container dwdm-hour24-history { - description "port current performance data"; - - container dwdm-hour24otn-histories { - description "port 24 hour performance data"; - - list dwdm-hour24otn-history { - key "number"; - description "port 24 hour otn performance data"; - - container dwdm-hour24otn-time-line-instances { - description "port current performance data"; - - list dwdm-hour24otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container dwdm-hour24fec-histories { - description "port current performance data"; - - list dwdm-hour24fec-history { - key "number"; - description "port 24 hour fec performance data"; - - container dwdm-hour24fec-time-line-instances { - description "port current performance data"; - - list dwdm-hour24fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data by - index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container dwdm-hour24-optics-histories { - description "port 24 hour performance data"; - - list dwdm-hour24-optics-history { - key "number"; - description - "port 24 hour optics performance data"; - - container "dwdm-hour24-optics-time-line"+ - "-instances" { - description "port current performance data"; - - list dwdm-hour24-optics-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OPTICS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container stm-history { - description "STM controller History performance data"; - - container stm-port-histories { - description "Port performance data"; - - list stm-port-history { - key "name"; - description "Port performance data"; - - container stm-hour24-history { - description "port current performance data"; - - container stm-hour24stm-histories { - description "port current performance data"; - - list stm-hour24stm-history { - key "number"; - description "port 24 hour stm performance data"; - - container stm-hour24stm-time-line-instances { - description "port current performance data"; - - list stm-hour24stm-time-line-instance { - key "number"; - description - "port 15-minute stm performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-STM-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container stm-minute15-history { - description "port current performance data"; - - container stm-minute15stm-histories { - description "port current performance data"; - - list stm-minute15stm-history { - key "number"; - description - "port 15-minute stm performance data"; - - container stm-minute15stm-time-line-instances { - description "port current performance data"; - - list stm-minute15stm-time-line-instance { - key "number"; - description - "port 15-minute stm performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-STM-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container macsec-history { - description "MACSEC controller History performance data"; - - container macsec-port-histories { - description "Port performance data"; - - list macsec-port-history { - key "name"; - description "Port performance data"; - - container macsec-minute15-history { - description "port current performance data"; - - container macsec-minute15secyrx-histories { - description "port current performance data"; - - list macsec-minute15secyrx-history { - key "number"; - description - "port 15-minute secy_rx performance data"; - - container "macsec-minute15secyrx-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-minute15secyrx-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute secy_rx performance data - by index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-RX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-minute15-ether-histories { - description "port current performance data"; - - list macsec-minute15-ether-history { - key "number"; - description - "port 15-minute ether performance data"; - - container "macsec-minute15-ether-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-minute15-ether-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute ether performance data - by index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-minute15secytx-histories { - description "port current performance data"; - - list macsec-minute15secytx-history { - key "number"; - description - "port 15-minute secy_tx performance data"; - - container "macsec-minute15secytx-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-minute15secytx-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute secy_tx performance data - by index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-TX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-minute15secyif-histories { - description "port current performance data"; - - list macsec-minute15secyif-history { - key "number"; - description - "port 15-minute secy_if performance data"; - - container "macsec-minute15secyif-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-minute15secyif-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute secy_if performance data - by index"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-IF-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container macsec-hour24-history { - description "port current performance data"; - - container macsec-hour24-ether-histories { - description "port current performance data"; - - list macsec-hour24-ether-history { - key "number"; - description - "port 24 hour ether performance data"; - - container "macsec-hour24-ether-time-line"+ - "-instances" { - description "port current performance data"; - - list macsec-hour24-ether-time-line-instance { - key "number"; - description - "port 24 hour ether performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-hour24secytx-histories { - description "port current performance data"; - - list macsec-hour24secytx-history { - key "number"; - description - "port 24 hour secy_tx performance data"; - - container "macsec-hour24secytx-time-line"+ - "-instances" { - description "port current performance data"; - - list macsec-hour24secytx-time-line-instance { - key "number"; - description - "port 24 hour secy_tx performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-TX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-hour24secyif-histories { - description "port current performance data"; - - list macsec-hour24secyif-history { - key "number"; - description - "port 24 hour secy_if performance data"; - - container "macsec-hour24secyif-time-line"+ - "-instances" { - description "port current performance data"; - - list macsec-hour24secyif-time-line-instance { - key "number"; - description - "port 24 hour secy_if performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-IF-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-hour24secyrx-histories { - description "port current performance data"; - - list macsec-hour24secyrx-history { - key "number"; - description - "port 24 hour secy_rx performance data"; - - container "macsec-hour24secyrx-time-line"+ - "-instances" { - description "port current performance data"; - - list macsec-hour24secyrx-time-line-instance { - key "number"; - description - "port 24 hour secy_rx performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-RX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container macsec-second30-history { - description "port current performance data"; - - container macsec-second30secyrx-histories { - description "port current performance data"; - - list macsec-second30secyrx-history { - key "number"; - description - "port 30-second secy_rx performance data"; - - container "macsec-second30secyrx-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-second30secyrx-time-line"+ - "-instance" { - key "number"; - description - "port 30-second secy_rx performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-RX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-second30-ether-histories { - description "port current performance data"; - - list macsec-second30-ether-history { - key "number"; - description - "port 30-second ether performance data"; - - container "macsec-second30-ether-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-second30-ether-time-line"+ - "-instance" { - key "number"; - description - "port 30-second ether performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-ETHERNET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-second30secytx-histories { - description "port current performance data"; - - list macsec-second30secytx-history { - key "number"; - description - "port 30-second secy_tx performance data"; - - container "macsec-second30secytx-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-second30secytx-time-line"+ - "-instance" { - key "number"; - description - "port 30-second secy_tx performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-TX-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container macsec-second30secyif-histories { - description "port current performance data"; - - list macsec-second30secyif-history { - key "number"; - description - "port 30-second secy_if performance data"; - - container "macsec-second30secyif-time-line"+ - "-instances" { - description "port current performance data"; - - list "macsec-second30secyif-time-line"+ - "-instance" { - key "number"; - description - "port 30-second secy_if performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SECY-IF-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container odu-history { - description "ODU controller History performance data"; - - container odu-port-histories { - description "Port performance data"; - - list odu-port-history { - key "name"; - description "Port performance data"; - - container odu-hour24-history { - description "port current performance data"; - - container odu-hour24gfp-histories { - description "port 24 hour performance data"; - - list odu-hour24gfp-history { - key "number"; - description "port 24 hour otn performance data"; - - container odu-hour24gfp-time-line-instances { - description "port current performance data"; - - list odu-hour24gfp-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-GFP-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container odu-hour24prbs-histories { - description "port 24 hour performance data"; - - list odu-hour24prbs-history { - key "number"; - description - "port 24 hour prbs performance data"; - - container odu-hour24prbs-time-line-instances { - description "port current performance data"; - - list odu-hour24prbs-time-line-instance { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-PRBS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container odu-hour24otn-histories { - description "port 24 hour performance data"; - - list odu-hour24otn-history { - key "number"; - description "port 24 hour otn performance data"; - - container odu-hour24otn-time-line-instances { - description "port current performance data"; - - list odu-hour24otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container odu-minute15-history { - description "port current performance data"; - - container odu-minute15prbs-histories { - description "port current performance data"; - - list odu-minute15prbs-history { - key "number"; - description - "port 15-minute prbs performance data"; - - container odu-minute15prbs-time-line-instances { - description "port current performance data"; - - list odu-minute15prbs-time-line-instance { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-PRBS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container odu-minute15gfp-histories { - description "port current performance data"; - - list odu-minute15gfp-history { - key "number"; - description - "port 15-minute otn performance data"; - - container odu-minute15gfp-time-line-instances { - description "port current performance data"; - - list odu-minute15gfp-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-GFP-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container odu-minute15otn-histories { - description "port current performance data"; - - list odu-minute15otn-history { - key "number"; - description - "port 15-minute otn performance data"; - - container odu-minute15otn-time-line-instances { - description "port current performance data"; - - list odu-minute15otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container otu-history { - description "OTU controller History performance data"; - - container otu-port-histories { - description "Port performance data"; - - list otu-port-history { - key "name"; - description "Port performance data"; - - container otu-second30-history { - description "port current performance data"; - - container otu-second30fec-histories { - description "port current performance data"; - - list otu-second30fec-history { - key "number"; - description - "port 30-second fec performance data"; - - container otu-second30fec-time-line-instances { - description "port current performance data"; - - list otu-second30fec-time-line-instance { - key "number"; - description - "port 30-second fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container otu-second30otn-histories { - description "port current performance data"; - - list otu-second30otn-history { - key "number"; - description - "port 30-second otn performance data"; - - container otu-second30otn-time-line-instances { - description "port current performance data"; - - list otu-second30otn-time-line-instance { - key "number"; - description - "port 30-second otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container otu-minute15-history { - description "port current performance data"; - - container otu-minute15fec-histories { - description "port current performance data"; - - list otu-minute15fec-history { - key "number"; - description - "port 15-minute fec performance data"; - - container otu-minute15fec-time-line-instances { - description "port current performance data"; - - list otu-minute15fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container otu-minute15prbs-histories { - description "port current performance data"; - - list otu-minute15prbs-history { - key "number"; - description - "port 15-minute prbs performance data"; - - container otu-minute15prbs-time-line-instances { - description "port current performance data"; - - list otu-minute15prbs-time-line-instance { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-PRBS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container otu-minute15otn-histories { - description "port current performance data"; - - list otu-minute15otn-history { - key "number"; - description - "port 15-minute otn performance data"; - - container otu-minute15otn-time-line-instances { - description "port current performance data"; - - list otu-minute15otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container otu-hour24-history { - description "port current performance data"; - - container otu-hour24prbs-histories { - description "port 24 hour performance data"; - - list otu-hour24prbs-history { - key "number"; - description - "port 24 hour prbs performance data"; - - container otu-hour24prbs-time-line-instances { - description "port current performance data"; - - list otu-hour24prbs-time-line-instance { - key "number"; - description - "port 15-minute prbs performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-PRBS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container otu-hour24otn-histories { - description "port 24 hour performance data"; - - list otu-hour24otn-history { - key "number"; - description "port 24 hour otn performance data"; - - container otu-hour24otn-time-line-instances { - description "port current performance data"; - - list otu-hour24otn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OTN-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container otu-hour24fec-histories { - description "port current performance data"; - - list otu-hour24fec-history { - key "number"; - description "port 24 hour fec performance data"; - - container otu-hour24fec-time-line-instances { - description "port current performance data"; - - list otu-hour24fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container ho-vc-history { - description "HO_VC controller History performance data"; - - container ho-vc-port-histories { - description "Port performance data"; - - list ho-vc-port-history { - key "name"; - description "Port performance data"; - - container ho-vc-minute15-history { - description "port current performance data"; - - container ho-vc-minute15-path-histories { - description "port current performance data"; - - list ho-vc-minute15-path-history { - key "number"; - description - "port 15-minute Path performance data"; - - container "ho-vc-minute15-path-time-line"+ - "-instances" { - description "port current performance data"; - - list ho-vc-minute15-path-time-line-instance { - key "number"; - description - "port 15-minute ho_vc performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-HO-VC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container ho-vc-hour24-history { - description "port current performance data"; - - container ho-vc-hour24-path-histories { - description "port current performance data"; - - list ho-vc-hour24-path-history { - key "number"; - description - "port 24 hour Path performance data"; - - container "ho-vc-hour24-path-time-line"+ - "-instances" { - description "port current performance data"; - - list ho-vc-hour24-path-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-HO-VC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container optics-history { - description "OPTICS controller History performance data"; - - container optics-port-histories { - description "Port performance data"; - - list optics-port-history { - key "name"; - description "Port performance data"; - - container optics-hour24-history { - description "port current performance data"; - - container optics-hour24-optics-histories { - description "port 24 hour performance data"; - - list optics-hour24-optics-history { - key "number"; - description - "port 24 hour optics performance data"; - - container "optics-hour24-optics-time-line"+ - "-instances" { - description "port current performance data"; - - list optics-hour24-optics-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OPTICS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container optics-hour24fec-histories { - description "port current performance data"; - - list optics-hour24fec-history { - key "number"; - description "port 24 hour fec performance data"; - - container optics-hour24fec-time-line-instances { - description "port current performance data"; - - list optics-hour24fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container optics-second30-history { - description "port current performance data"; - - container optics-second30-optics-histories { - description "port current performance data"; - - list optics-second30-optics-history { - key "number"; - description - "port 30-second optics performance data"; - - container "optics-second30-optics-time-line"+ - "-instances" { - description "port current performance data"; - - list "optics-second30-optics-time-line"+ - "-instance" { - key "number"; - description - "port 30 second otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OPTICS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container optics-second30fec-histories { - description "port current performance data"; - - list optics-second30fec-history { - key "number"; - description - "port 30-second fec performance data"; - - container "optics-second30fec-time-line"+ - "-instances" { - description "port current performance data"; - - list optics-second30fec-time-line-instance { - key "number"; - description - "port sec-30 fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container optics-minute15-history { - description "port current performance data"; - - container optics-minute15-optics-histories { - description "port current performance data"; - - list optics-minute15-optics-history { - key "number"; - description - "port 15-minute optics performance data"; - - container "optics-minute15-optics-time-line"+ - "-instances" { - description "port current performance data"; - - list "optics-minute15-optics-time-line"+ - "-instance" { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-OPTICS-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - - container optics-minute15fec-histories { - description "port current performance data"; - - list optics-minute15fec-history { - key "number"; - description - "port 15-minute fec performance data"; - - container "optics-minute15fec-time-line"+ - "-instances" { - description "port current performance data"; - - list optics-minute15fec-time-line-instance { - key "number"; - description - "port 15-minute fec performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-FEC-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - - container oc-history { - description "OC controller History performance data"; - - container oc-port-histories { - description "Port performance data"; - - list oc-port-history { - key "name"; - description "Port performance data"; - - container oc-hour24-history { - description "port current performance data"; - - container oc-hour24ocn-histories { - description "port current performance data"; - - list oc-hour24ocn-history { - key "number"; - description "port 24 hour ocn performance data"; - - container oc-hour24ocn-time-line-instances { - description "port current performance data"; - - list oc-hour24ocn-time-line-instance { - key "number"; - description - "port 15-minute otn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - - container oc-minute15-history { - description "port current performance data"; - - container oc-minute15ocn-histories { - description "port current performance data"; - - list oc-minute15ocn-history { - key "number"; - description - "port 15-minute ocn performance data"; - - container oc-minute15ocn-time-line-instances { - description "port current performance data"; - - list oc-minute15ocn-time-line-instance { - key "number"; - description - "port 15-minute ocn performance data"; - leaf number { - type int32; - description "History Index number"; - } - uses PM-SONET-PARAS; - } - } - leaf number { - type int32; - description "channel number"; - } - } - } - } - leaf name { - type xr:Interface-name; - description "Port name"; - } - } - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-cfg.yang deleted file mode 100644 index 6b21921..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-cfg.yang +++ /dev/null @@ -1,631 +0,0 @@ -module Cisco-IOS-XR-policy-repository-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-policy-repository-cfg"; - - - prefix "policy-repository-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR policy-repository package configuration. - - This module contains definitions - for the following management objects: - routing-policy: Routing policy configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-08-27" { - description - "IOS XR 5.3.2 revision."; - } - - - container routing-policy { - description "Routing policy configuration"; - - container route-policies { - description "All configured policies"; - - list route-policy { - key "route-policy-name"; - description "Information about an individual policy"; - leaf route-policy-name { - type xr:Cisco-ios-xr-string; - description "Route policy name"; - } - leaf rpl-route-policy { - type xr:Rpl-policy; - mandatory true; - description "policy statements"; - } - } - } - - container sets { - description "All configured sets"; - - container prepend-etag-sets { - description "Information about Etag sets"; - - list prepend-etag-set { - key "set-name"; - description "Prepend the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf etag-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Etag Set"; - } - } - } - - container prefix-sets { - description "Information about Prefix sets"; - - list prefix-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-prefix-set { - type xr:Rpl-set; - mandatory true; - description "prefix statements"; - } - } - } - - container large-community-sets { - description "Information about Large Community sets"; - - list large-community-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf large-community-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Large Community Set"; - } - } - } - - container prepend-large-community-sets { - description "Information about Large Community sets"; - - list prepend-large-community-set { - key "set-name"; - description "Prepend the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf large-community-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Large Community Set"; - } - } - } - - container append-etag-sets { - description "Information about Etag sets"; - - list append-etag-set { - key "set-name"; - description "Append the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf etag-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Etag Set"; - } - } - } - - container remove-etag-sets { - description "Information about Etag sets"; - - list remove-etag-set { - key "set-name"; - description "Remove the entries from the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf etag-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Etag Set"; - } - } - } - - container remove-large-community-sets { - description "Information about Large Community sets"; - - list remove-large-community-set { - key "set-name"; - description "Remove the entries from the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf large-community-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Large Community Set"; - } - } - } - - container mac-sets { - description "Information about Mac sets"; - - list mac-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf mac-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Mac Set"; - } - } - } - - container extended-community-opaque-sets { - description "Information about Opaque sets"; - - list extended-community-opaque-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-opaque-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community Opaque Set"; - } - } - } - - container prepend-mac-sets { - description "Information about Mac sets"; - - list prepend-mac-set { - key "set-name"; - description "Prepend the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf mac-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Mac Set"; - } - } - } - - container ospf-area-sets { - description "Information about OSPF Area sets"; - - list ospf-area-set { - key "set-name"; - description - "Information about an individual OSPF area set. - Usage: OSPF area set allows to define named - set of area numbers which can be - referenced in the route-policy. Area sets - may be used during redistribution of the ospf - protocol. Example: ospf-area-set EXAMPLE - 1, - 192.168.1.255 - end-set - Syntax: OSPF area number can be entered as 32 - bit number or in the ip address - format. See example. - Semantic: Area numbers listed in the set will - be searched for a match. In the - example these are areas 1 and - 192.168.1.255. "; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rplospf-area-set { - type xr:Rpl-set; - mandatory true; - description "OSPF Area Set"; - } - } - } - - container append-mac-sets { - description "Information about Mac sets"; - - list append-mac-set { - key "set-name"; - description "Append the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf mac-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Mac Set"; - } - } - } - - container extended-community-cost-sets { - description "Information about Cost sets"; - - list extended-community-cost-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-cost-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community Cost Set"; - } - } - } - - container remove-mac-sets { - description "Information about Mac sets"; - - list remove-mac-set { - key "set-name"; - description "Remove the entries from the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf mac-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Mac Set"; - } - } - } - - container extended-community-soo-sets { - description "Information about SOO sets"; - - list extended-community-soo-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-soo-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community SOO Set"; - } - } - } - - container esi-sets { - description "Information about Esi sets"; - - list esi-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf esi-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Esi Set"; - } - } - } - - container prepend-esi-sets { - description "Information about Esi sets"; - - list prepend-esi-set { - key "set-name"; - description "Prepend the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf esi-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Esi Set"; - } - } - } - - container append-esi-sets { - description "Information about Esi sets"; - - list append-esi-set { - key "set-name"; - description "Append the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf esi-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Esi Set"; - } - } - } - - container remove-esi-sets { - description "Information about Esi sets"; - - list remove-esi-set { - key "set-name"; - description "Remove the entries from the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf esi-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Esi Set"; - } - } - } - - container extended-community-seg-nh-sets { - description "Information about SegNH sets"; - - list extended-community-seg-nh-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-seg-nh-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community SegNH Set"; - } - } - } - - container rd-sets { - description "Information about RD sets"; - - list rd-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rplrd-set { - type xr:Rpl-set; - mandatory true; - description "RD Set"; - } - } - } - - container policy-global-set-table { - description "Information about PolicyGlobal sets"; - leaf policy-global-set { - type xr:Rpl-set; - description "Information about an individual set"; - } - } - - container append-large-community-sets { - description "Information about Large Community sets"; - - list append-large-community-set { - key "set-name"; - description "Append the entries to the existing set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf large-community-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Large Community Set"; - } - } - } - - container extended-community-bandwidth-sets { - description "Information about Bandwidth sets"; - - list extended-community-bandwidth-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-bandwidth-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community Bandwidth Set"; - } - } - } - - container community-sets { - description "Information about Community sets"; - - list community-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-community-set { - type xr:Rpl-set; - mandatory true; - description "Community Set"; - } - } - } - - container as-path-sets { - description "Information about AS Path sets"; - - list as-path-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rplas-path-set { - type xr:Rpl-set; - mandatory true; - description "ASPath Set"; - } - } - } - - container tag-sets { - description "Information about Tag sets"; - - list tag-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-tag-set { - type xr:Rpl-set; - mandatory true; - description "Tag Set"; - } - } - } - - container etag-sets { - description "Information about Etag sets"; - - list etag-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf etag-set-as-text { - type xr:Rpl-set; - mandatory true; - description "Etag Set"; - } - } - } - - container extended-community-rt-sets { - description "Information about RT sets"; - - list extended-community-rt-set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - leaf rpl-extended-community-rt-set { - type xr:Rpl-set; - mandatory true; - description "Extended Community RT Set"; - } - } - } - } - - container limits { - description "Limits for Routing Policy"; - leaf maximum-lines-of-policy { - type int32; - default "131072"; - description - "Maximum number of lines of policy configuration - that may be configured in total"; - } - leaf maximum-number-of-policies { - type int32; - default "5000"; - description - "Maximum number of policies that may be - configured"; - } - } - leaf set-exit-as-abort { - type empty; - description "Set exit under RPL config to abort"; - } - leaf editor { - type string; - description "'emacs' or 'vim' or 'nano'"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-deviations.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-deviations.yang deleted file mode 100755 index 69667a4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-deviations.yang +++ /dev/null @@ -1,43 +0,0 @@ -module Cisco-IOS-XR-policy-repository-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-deviations"; - - prefix "cisco-xr-rpol-xrvr-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import Cisco-IOS-XR-policy-repository-cfg { prefix rpol-xrvr; } - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations of routing policy data - model set for Cisco IOS-XR. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-13" { - description - "Initial revision applicable to IOS-XR 6.1.2 and above"; - } - - deviation /rpol-xrvr:routing-policy/rpol-xrvr:limits/rpol-xrvr:maximum-number-of-policies { - deviate replace { - default "15000"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper-sub1.yang deleted file mode 100644 index 54cf749..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper-sub1.yang +++ /dev/null @@ -1,390 +0,0 @@ -submodule Cisco-IOS-XR-policy-repository-oper-sub1 { - - belongs-to Cisco-IOS-XR-policy-repository-oper { - prefix Cisco-IOS-XR-policy-repository-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR policy-repository package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Group { - type enumeration { - enum address-family-group { - value 0; - description "Address Family Group"; - } - enum session-group { - value 1; - description "Session Group"; - } - enum neighbor-group { - value 2; - description "Neighbor Group"; - } - enum neighbor { - value 3; - description "Neighbor"; - } - enum error-group { - value 4; - description "Error Group"; - } - } - description "BGP Neighbor Group Type"; - } - typedef Attach-point-direction { - type enumeration { - enum in { - value 0; - description "Attach Point Direction IN"; - } - enum out { - value 1; - description "Attach Point Direction OUT"; - } - } - description "Attach Point Direction"; - } - typedef Sub-address-family { - type enumeration { - enum unicast { - value 0; - description "Unicast"; - } - enum multicast { - value 1; - description "Multicast"; - } - enum label { - value 2; - description "Label"; - } - enum tunnel { - value 3; - description "Tunnel"; - } - enum vpn { - value 4; - description "VPN"; - } - enum mdt { - value 5; - description "MDT"; - } - enum vpls { - value 6; - description "VPLS"; - } - enum rt-constraint { - value 7; - description "RTConstraint"; - } - enum mvpn { - value 8; - description "MVPN"; - } - enum flow { - value 9; - description "FLOW"; - } - enum vpn-mcast { - value 10; - description "VPN Multicast"; - } - enum saf-none { - value 11; - description "No SAFI"; - } - enum saf-unknown { - value 12; - description "Unknown"; - } - } - description "Sub Address Family"; - } - typedef Address-family { - type enumeration { - enum ipv4 { - value 0; - description "IPv4 Address Family"; - } - enum ipv6 { - value 1; - description "IPv6 Address Family"; - } - enum l2vpn { - value 2; - description "L2VPN Address Family"; - } - enum ls { - value 3; - description "LINKSTATE Address Family"; - } - enum af-none { - value 4; - description "No Address Family"; - } - enum af-unknown { - value 5; - description "Unknown Address Family"; - } - } - description "Address Family"; - } - typedef Object-status { - type enumeration { - enum active { - value 0; - description "The object is in use"; - } - enum inactive { - value 1; - description - "The object is referenced by another object, but - not used"; - } - enum unused { - value 2; - description "The object is not used or referenced"; - } - } - description "Whether an RPL object is used/referenced"; - } - typedef String { - type string; - description "String"; - } - - grouping SET-INFO { - description "List of sets"; - leaf set-domain { - type string; - description "Domain of sets"; - } - leaf-list set-name { - type String; - description "Names of sets in this domain"; - } - } - - grouping SET-LIST { - description "List of sets in one domain"; - uses SET-INFO; - } - - grouping RPL-SETS-INFO { - description "Names of set objects"; - - list sets { - description "List of sets in several domains"; - uses SET-LIST; - } - } - - grouping CLIENT-INFO { - description "Policy attachment information"; - leaf protocol { - type string; - description "Protocol to which policy attached"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - leaf proto-instance { - type string; - description "Protocol instance"; - } - leaf af-name { - type Address-family; - description "Address Family Identifier"; - } - leaf saf-name { - type Sub-address-family; - description "Subsequent Address Family Identifier"; - } - leaf neighbor-address { - type string; - description "Neighbor IP Address"; - } - leaf neighbor-af-name { - type Address-family; - description "Neighbor IP Address Family"; - } - leaf group-name { - type string; - description "Neighbor Group Name"; - } - leaf direction { - type Attach-point-direction; - description "Direction In or Out"; - } - leaf group { - type Group; - description "Neighbor Group "; - } - leaf source-protocol { - type string; - description - "Source Protocol to redistribute, Source Protocol - can be one of the following values{all, - connected, local, static, bgp, rip, isis, ospf - ,ospfv3, eigrp, unknown }"; - } - leaf aggregate-network-address { - type string; - description - "Aggregate IP address or Network IP Address in - IPv4 or IPv6 Format"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf instance { - type string; - description "Instance"; - } - leaf area-id { - type string; - description "OSPF Area ID in Decimal Integer Format"; - } - leaf propogate-from { - type int32; - description "ISIS Propogate From Level"; - } - leaf propogate-to { - type int32; - description "ISIS Propogate To Level"; - } - leaf route-policy-name { - type string; - description "Policy that uses object in question"; - } - leaf attached-policy { - type string; - description - "The attached policy that (maybe indirectly) uses - the object in question"; - } - leaf attach-point { - type string; - description "Name of attach point where policy is attached"; - } - } - - grouping RPL-ATTACHMENT-INFO { - description "Places where a policy is attached"; - - list binding { - description "bindings list"; - uses CLIENT-INFO; - } - } - - grouping REF-INFO { - description "Set reference information"; - leaf route-policy-name { - type string; - description "Name of policy"; - } - leaf used-directly { - type boolean; - description - "Whether the policy uses this object directly or - indirectly"; - } - leaf status { - type Object-status; - description "Active, Inactive, or Unused"; - } - } - - grouping RPL-REFERENCES-INFO { - description "Set references list"; - - list reference { - description - "Information about policies referring to this - object"; - uses REF-INFO; - } - } - - grouping RPL-OBJECTS-INFO { - description "Names of policy objects"; - leaf-list object { - type String; - description "Policy objects"; - } - } - - grouping RPL-MAX-LIMITS-INFO { - description "Policy maximum limits info"; - leaf maximum-lines-of-policy { - type uint32; - description - "Maximum lines of configuration allowable for all - policies and sets"; - } - leaf current-lines-of-policy-limit { - type uint32; - description - "Number of lines of configuration for - policies/sets currently allowed"; - } - leaf current-lines-of-policy-used { - type uint32; - description - "Current number of lines configured for all - policies and sets"; - } - leaf maximum-number-of-policies { - type uint32; - description "Maximum number of policies allowable"; - } - leaf current-number-of-policies-limit { - type uint32; - description "Number of policies currently allowed"; - } - leaf current-number-of-policies-used { - type uint32; - description "Current number of policies configured"; - } - leaf compiled-policies-length { - type uint32; - description "The total compiled length of all policies"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper.yang deleted file mode 100644 index fd25198..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-policy-repository-oper.yang +++ /dev/null @@ -1,357 +0,0 @@ -module Cisco-IOS-XR-policy-repository-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-policy-repository-oper"; - - - prefix "policy-repository-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-policy-repository-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR policy-repository package operational data. - - This module contains definitions - for the following management objects: - routing-policy: Routing policy operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping UNUSED { - description - "Common node of policies, as-path, community, - large-community, extended-community-cost, rd, - extended-community-rt, extended-community-soo, - extended-community-opaque, - extended-community-seg-nh, - extended-community-bandwidth, prefix, esi, etag, - mac, tag, ospf-area"; - - container unused { - description - "All objects of a given type that are not - referenced at all"; - uses RPL-OBJECTS-INFO; - } - } - - grouping SET-TABLE { - description - "Common node of as-path, community, - large-community, extended-community-cost, rd, - extended-community-rt, extended-community-soo, - extended-community-opaque, - extended-community-seg-nh, - extended-community-bandwidth, prefix, esi, etag, - mac, tag, ospf-area"; - - container sets { - description "Information about individual sets"; - - list set { - key "set-name"; - description "Information about an individual set"; - leaf set-name { - type xr:Cisco-ios-xr-string; - description "Set name"; - } - uses USED-BY; - uses ATTACHED; - } - } - } - - grouping INACTIVE { - description - "Common node of policies, as-path, community, - large-community, extended-community-cost, rd, - extended-community-rt, extended-community-soo, - extended-community-opaque, - extended-community-seg-nh, - extended-community-bandwidth, prefix, esi, etag, - mac, tag, ospf-area"; - - container inactive { - description - "All objects of a given type that are not - attached to a protocol"; - uses RPL-OBJECTS-INFO; - } - } - - grouping USED-BY { - description "Common node of route-policy, set"; - - container used-by { - description - "Policies that use this object, directly or - indirectly"; - uses RPL-REFERENCES-INFO; - } - } - - grouping ACTIVE { - description - "Common node of policies, as-path, community, - large-community, extended-community-cost, rd, - extended-community-rt, extended-community-soo, - extended-community-opaque, - extended-community-seg-nh, prefix, esi, etag, mac - , tag, ospf-area"; - - container active { - description - "All objects of a given type that are attached to - a protocol"; - uses RPL-OBJECTS-INFO; - } - } - - grouping ATTACHED { - description "Common node of route-policy, set"; - - container attached { - description - "Information about where this policy or set is - attached"; - uses RPL-ATTACHMENT-INFO; - } - } - - container routing-policy { - config false; - description "Routing policy operational data"; - - container limits { - description - "Information about configured limits and the - current values"; - uses RPL-MAX-LIMITS-INFO; - } - - container policies { - description "Information about configured route policies"; - - container route-policies { - description "Information about individual policies"; - - list route-policy { - key "route-policy-name"; - description "Information about an individual policy"; - - container policy-uses { - description - "Information about which policies and sets - this policy uses"; - - container directly-used-policies { - description "Policies that this policy uses directly"; - uses RPL-OBJECTS-INFO; - } - - container all-used-sets { - description - "Sets used by this policy, or by policies - that it uses"; - uses RPL-SETS-INFO; - } - - container directly-used-sets { - description "Sets that this policy uses directly"; - uses RPL-SETS-INFO; - } - - container all-used-policies { - description - "Policies used by this policy, or by policies - that it uses"; - uses RPL-OBJECTS-INFO; - } - } - leaf route-policy-name { - type xr:Cisco-ios-xr-string; - description "Route policy name"; - } - uses USED-BY; - uses ATTACHED; - } - } - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container sets { - description "Information about configured sets"; - - container etag { - description "Information about Etag sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container ospf-area { - description "Information about OSPF Area sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container extended-community-opaque { - description - "Information about Extended Community Opaque - sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container extended-community-seg-nh { - description - "Information about Extended Community SegNH sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container extended-community-soo { - description "Information about Extended Community SOO sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container tag { - description "Information about Tag sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container prefix { - description "Information about AS Path sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container community { - description "Information about Community sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container as-path { - description "Information about AS Path sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container large-community { - description "Information about Large Community sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container esi { - description "Information about Esi sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container extended-community-bandwidth { - description - "Information about Extended Community Bandwidth - sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - } - - container extended-community-rt { - description "Information about Extended Community RT sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container rd { - description "Information about RD sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container mac { - description "Information about Mac sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - - container extended-community-cost { - description - "Information about Extended Community Cost sets"; - uses SET-TABLE; - uses UNUSED; - uses INACTIVE; - uses ACTIVE; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper-sub1.yang deleted file mode 100644 index d89a467..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper-sub1.yang +++ /dev/null @@ -1,197 +0,0 @@ -submodule Cisco-IOS-XR-ppp-ea-oper-sub1 { - - belongs-to Cisco-IOS-XR-ppp-ea-oper { - prefix Cisco-IOS-XR-ppp-ea-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ppp-ea package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ppp-ea-adj-state { - type enumeration { - enum ppp-ea-adj-state-not-installed { - value 0; - description "Ajacency not installed in AIB"; - } - enum ppp-ea-adj-state-installed { - value 1; - description "Adjacency installed in AIB"; - } - } - description "Ppp ea adj state"; - } - - grouping PPP-EA-INTERFACE-INFO { - description "PPP EA interface information"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf is-lcp-running { - type boolean; - description - "TRUE if LCP is running in the dataplane for the - interface"; - } - leaf is-ipcp-running { - type boolean; - description - "TRUE if IPCP is running in the dataplane for the - interface"; - } - leaf is-ipv6cp-running { - type boolean; - description - "TRUE if IPV6CP is running in the dataplane for - the interface"; - } - leaf is-mplscp-running { - type boolean; - description - "TRUE if MPLSCP is running in the dataplane for - the interface"; - } - leaf local-mtu { - type uint16; - description "Local interface MTU"; - } - leaf local-mrru { - type uint16; - description "Local MRRU"; - } - leaf peer-mrru { - type uint16; - description "Peer MRRU"; - } - leaf local-magic { - type uint32; - description "Local magic number"; - } - leaf peer-magic { - type uint32; - description "Peer magic number"; - } - leaf local-mcmp-classes { - type uint8; - description "Local number of MCMP Suspension classes"; - } - leaf peer-mcmp-classes { - type uint8; - description "Peer number of MCMP Suspension classes"; - } - leaf echo-request-interval { - type uint32; - description "Echo-Request interval"; - } - leaf echo-request-retry-count { - type uint32; - description "Echo-Request retry count"; - } - leaf is-multilink-bundle { - type boolean; - description "TRUE if this is a Multilink bundle interface"; - } - leaf synchronized { - type boolean; - description "MA synchronization"; - } - leaf forwarding-enabled { - type boolean; - description "Forwarding State"; - } - leaf multilink-interface { - type xr:Interface-name; - description - "Multilink interface that this interface is a - member of, if any"; - } - leaf l2-tunnel-enabled { - type boolean; - description "L2 Tunnel State"; - } - leaf l2-provisioned { - type boolean; - description "L2 Provisioned State"; - } - leaf l2ip-interworking-enabled { - type boolean; - description "L2 IP Interworking State"; - } - leaf is-vpdn-tunneled { - type boolean; - description "Is VPDN tunneled"; - } - leaf xconnect-id { - type uint32; - description "XConnect ID"; - } - leaf parent-interface-handle { - type xr:Interface-name; - description "Parent Interface Handle"; - } - leaf vrf-table-id { - type uint32; - description "IPCP VRF Table ID"; - } - leaf ipv6vrf-table-id { - type uint32; - description "IPv6CP VRF Table ID"; - } - leaf l2-adjacency-state { - type Ppp-ea-adj-state; - description "L2 adjacency state"; - } - leaf l2ip-interworking-adjacency-state { - type Ppp-ea-adj-state; - description "L2 IP Interworking adjacency state"; - } - leaf lac-adjacency-state { - type Ppp-ea-adj-state; - description "LAC adjacency state"; - } - leaf interface-adjacency-state { - type Ppp-ea-adj-state; - description "Interface adjacency state"; - } - leaf ipv4-adjacency-state { - type Ppp-ea-adj-state; - description "Ipv4 adjacency state"; - } - leaf ipv6-adjacency-state { - type Ppp-ea-adj-state; - description "IPv6 adjacency state"; - } - leaf mpls-adjacency-state { - type Ppp-ea-adj-state; - description "MPLS adjacency state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper.yang deleted file mode 100644 index d48ba8a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ea-oper.yang +++ /dev/null @@ -1,85 +0,0 @@ -module Cisco-IOS-XR-ppp-ea-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper"; - - - prefix "ppp-ea-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ppp-ea-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ea package operational data. - - This module contains definitions - for the following management objects: - pppea: PPPEA operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container pppea { - config false; - description "PPPEA operational data"; - - container nodes { - description "Per node PPPEA operational data"; - - list node { - key "node-name"; - description - "The PPPEA operational data for a particular - node"; - - container ea-interface-names { - description - "Show interface related information from the - PPP EA"; - - list ea-interface-name { - key "interface-name"; - description "Interface name"; - leaf interface-name { - type xr:Interface-name; - description "Interface running PPPEA"; - } - uses PPP-EA-INTERFACE-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-cfg.yang deleted file mode 100644 index 032cfca..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-cfg.yang +++ /dev/null @@ -1,55 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg"; - - - prefix "ppp-ma-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ppp { - description "Interface PPP configuration data"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang deleted file mode 100644 index 81f7e51..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang +++ /dev/null @@ -1,95 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-fsm-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg"; - - - prefix "ppp-ma-fsm-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-fsm package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ppp { - description "Interface PPP configuration data"; - - container fsm { - description "PPP FSM configuration data"; - leaf retry-timeout { - type uint32 { - range "1..10"; - } - default "3"; - description - "This specifies the maximum time to wait for a - response during PPP negotiation"; - } - leaf max-unacknowledged-term-requests { - type uint32 { - range "2..10"; - } - default "2"; - description - "This specifies the maximum number of - Term-Requests"; - } - leaf max-consecutive-conf-naks { - type uint32 { - range "2..10"; - } - default "5"; - description - "This specifies the maximum number of - consecutive Conf-Naks"; - } - leaf max-unacknowledged-conf-requests { - type uint32 { - range "4..20"; - } - default "10"; - description - "This specifies the maximum number of - unacknowledged Conf-Requests"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang deleted file mode 100644 index cff943f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang +++ /dev/null @@ -1,357 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-gbl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg"; - - - prefix "ppp-ma-gbl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-gbl package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ppp-authentication-method-gbl { - type enumeration { - enum pap { - value 1; - description "PAP"; - } - enum chap { - value 2; - description "CHAP"; - } - enum ms-chap { - value 3; - description "MS CHAP"; - } - } - description "Ppp authentication method gbl"; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - - container ppp-template { - description "PPP template configuration data"; - - container fsm { - description "PPP FSM global template configuration data"; - leaf max-consecutive-conf-naks { - type uint32 { - range "2..10"; - } - default "5"; - description - "This specifies the maximum number of - consecutive Conf-Naks"; - } - leaf max-unacknowledged-conf-requests { - type uint32 { - range "4..20"; - } - default "10"; - description - "This specifies the maximum number of - unacknowledged Conf-Requests"; - } - leaf retry-timeout { - type uint32 { - range "1..10"; - } - default "3"; - description - "This specifies the maximum time to wait for a - response during PPP negotiation"; - } - leaf protocol-reject-timeout { - type uint32 { - range "1..60"; - } - default "60"; - description - "This specifies the maximum time to wait before - sending Protocol Reject"; - } - } - - container lcp { - description "PPP LCP global template configuration data"; - - container absolute-timeout { - description - "This specifies the session absolute timeout - value"; - leaf minutes { - type uint32 { - range "0..35000000"; - } - description "Minutes"; - } - leaf seconds { - type uint32 { - range "0..59"; - } - description "Seconds"; - } - } - - container delay { - description - "This specifies the time to delay before - starting active LCPnegotiations"; - leaf seconds { - type uint32 { - range "0..255"; - } - description "Seconds"; - } - leaf milliseconds { - type uint32 { - range "0..999"; - } - description "Milliseconds"; - } - } - - container authentication { - description "PPP authentication parameters"; - - container methods { - description - "This specifies the PPP link authentication - method"; - leaf-list method { - type Ppp-authentication-method-gbl; - max-elements "3"; - description - "Select between one and three authentication - methods in order of preference"; - } - } - leaf chap-host-name { - type string; - description "This specifies the CHAP hostname"; - } - leaf pap { - type int32; - description - "<1> for accepting null-passwordduring - authentication"; - } - leaf mschap-host-name { - type string; - description "This specifies the MS-CHAP hostname"; - } - leaf max-authentication-failures { - type uint32 { - range "0..10"; - } - description - "This specifies whether to allow multiple - authentication failures and, if so, how many"; - } - leaf timeout { - type uint32 { - range "3..30"; - } - default "10"; - description - "Maximum time to wait for an authentication - response"; - } - } - - container keepalive { - description - "This specifies the rate at which EchoReq - packets are sent"; - leaf keepalive-disable { - type boolean; - description - "TRUE to disable keepalives, FALSE to specify - a new keepalive interval"; - } - leaf interval { - when "../keepalive-disable = 0" { - description "../KeepaliveDisable = "; - } - type uint32 { - range "10..180"; - } - description - "The keepalive interval. Leave unspecified - when disabling keepalives"; - } - leaf retry-count { - when "../keepalive-disable = 0" { - description "../KeepaliveDisable = "; - } - type uint32 { - range "1..255"; - } - description - "The keepalive retry count. Leave unspecified - when disabling keepalives"; - } - } - leaf renegotiation { - type empty; - description - "Specify whether to ignore attempts to - renegotiate LCP"; - } - leaf service-type { - type uint32 { - range "0..15"; - } - default "0"; - description "This is the Service-Type"; - } - leaf send-term-request-on-shut-down { - type empty; - description - "Enable Sending LCP Terminate request on - shutdown"; - } - leaf mru-ignore { - type empty; - description - "Ignore MRU negotiated with peer while setting - interface BW"; - } - } - - container ipv6cp { - description "PPP IPv6CP global template configuration data"; - leaf passive { - type empty; - description - "Specify whether to run IPv6CP in Passive mode"; - } - leaf renegotiation { - type empty; - description - "Specify whether to ignore attempts to - renegotiate IPv6CP"; - } - leaf peer-interface-id { - type string; - description - "Specify the Interface-Id to impose on the peer"; - } - leaf protocol-reject { - type empty; - description "Specify whether to protocol reject IPv6CP"; - } - } - - container ipcp { - description "PPP IPCP global template configuration data"; - - container wins { - description "IPCP WINS parameters"; - - container wins-addresses { - description "Specify WINS address(es) to provide"; - leaf primary { - type inet:ipv4-address-no-zone; - description "Primary WINS IP address"; - } - leaf secondary { - type inet:ipv4-address-no-zone; - description "Secondary WINS IP address"; - } - } - } - - container dns { - description "IPCP DNS parameters"; - - container dns-addresses { - description "Specify DNS address(es) to provide"; - leaf primary { - type inet:ipv4-address-no-zone; - description "Primary DNS IP address"; - } - leaf secondary { - type inet:ipv4-address-no-zone; - description "Secondary DNS IP address"; - } - } - } - - container peer-address { - description "IPCP address parameters"; - leaf default { - type inet:ipv4-address-no-zone; - description - "Specify an IP address to assign to peers - through IPCP"; - } - leaf pool { - type string; - description - "Accepts an IP address from the peer if in the - pool, else allocates one from the pool"; - } - } - leaf renegotiation { - type empty; - description - "Specify whether to ignore attempts to - renegotiate IPCP"; - } - leaf passive { - type empty; - description "Specify whether to run IPCP in Passive mode"; - } - leaf protocol-reject { - type empty; - description "Specify whether to protocol reject IPCP"; - } - leaf peer-netmask { - type inet:ipv4-address-no-zone; - description - "Specify the IPv4 netmask to negotiate for the - peer"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang deleted file mode 100644 index 45ef797..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang +++ /dev/null @@ -1,91 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-ipcp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg"; - - - prefix "ppp-ma-ipcp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-ipcp package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ppp { - description "Interface PPP configuration data"; - - container ipcp { - description "PPP IPCP configuration data"; - - container peer-address { - description "IPCP address parameters"; - leaf default { - type inet:ipv4-address-no-zone; - description - "Specify an IP address to assign to peers - through IPCP"; - } - } - - container dns { - description "IPCP DNS parameters"; - - container dns-addresses { - description "Specify DNS address(es) to provide"; - leaf primary { - type inet:ipv4-address-no-zone; - description "Primary DNS IP address"; - } - leaf secondary { - type inet:ipv4-address-no-zone; - description "Secondary DNS IP address"; - } - } - } - leaf neighbor-route-disable { - type empty; - description "Disable Neighbor Route installation"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang deleted file mode 100644 index e1ec420..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang +++ /dev/null @@ -1,68 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-ipcpiw-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg"; - - - prefix "ppp-ma-ipcpiw-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-ipcpiw package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ppp { - description "Interface PPP configuration data"; - - container ipcpiw { - description "PPP IPCPIW configuration data"; - leaf proxy-address { - type inet:ipv4-address-no-zone; - description - "Specify an IP address to publish to peers - through IPCPIW"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang deleted file mode 100644 index 0390b2d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang +++ /dev/null @@ -1,255 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-lcp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg"; - - - prefix "ppp-ma-lcp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-lcp package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ppp-authentication-method { - type enumeration { - enum pap { - value 1; - description "PAP"; - } - enum chap { - value 2; - description "CHAP"; - } - enum ms-chap { - value 3; - description "MS CHAP"; - } - } - description "Ppp authentication method"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ppp { - description "Interface PPP configuration data"; - - container mcmp { - description "PPP Multiclass Multilink parameters"; - - container local { - description - "This specifies the MCMP options for the local - host"; - leaf initial { - type uint32 { - range "1..16"; - } - default "2"; - description "Local Initial #classes"; - } - leaf maximum { - type uint32 { - range "1..16"; - } - default "4"; - description "Local Maximum #classes"; - } - } - leaf enable { - type empty; - description - "This specifies that MCMP is enabled on this - interface"; - } - leaf remote { - type uint32 { - range "1..16"; - } - default "2"; - description - "This specifies the MCMP options for the peer"; - } - } - - container lcp { - description "PPP LCP configuration data"; - - container multilink { - description "Multilink configuration"; - - container minimum-active { - description - "Minimum criteria for the linestate of a - Multilink PPPinterface to be brought up"; - leaf links { - type uint32 { - range "1..65535"; - } - default "1"; - description - "Number of active links needed to bring up an - MP interface"; - } - } - } - - container pap { - description - "Password Authentication Protocol (PAP) - configuration data"; - - container send-user-info { - description - "This specifies the outbound PAP username and - password"; - leaf username { - type string; - description "Outbound PAP username"; - } - leaf password { - type xr:Proprietary-password; - description "Outbound PAP password"; - } - } - leaf refuse { - type empty; - description - "This specifies whether to refuse to - authenticate using PAP"; - } - } - - container loop-back { - description "Loopback configuration"; - leaf ignore { - type empty; - description "Allow magic numbers to be equal"; - } - } - - container ms-chap { - description - "Microsoft Challenge Handshake Authentication - Protocol (MS-CHAP) configuration data"; - leaf password { - type xr:Proprietary-password; - description - "This specifies the default MS-CHAP password"; - } - leaf host-name { - type string; - description "This specifies the MS-CHAP hostname"; - } - leaf refuse { - type empty; - description - "This specifies whether to refuse to - authenticate using MS-CHAP"; - } - } - - container authentication { - description "PPP authentication parameters"; - - container method { - description - "This specifies the PPP link authentication - method"; - leaf name { - type string; - description - "Use an authentication list with this name"; - } - leaf-list method { - type Ppp-authentication-method; - max-elements "3"; - description - "Select between one and three authentication - methods in order of preference"; - } - } - leaf max-authentication-failures { - type uint32 { - range "0..10"; - } - description - "This specifies whether to allow multiple - authentication failures and, if so, how many"; - } - leaf timeout { - type uint32 { - range "3..30"; - } - default "10"; - description - "Maximum time to wait for an authentication - response"; - } - } - - container chap { - description - "Challenge Handshake Authentication Protocol - (CHAP) configuration data"; - leaf password { - type xr:Proprietary-password; - description "This specifies the default CHAP password"; - } - leaf host-name { - type string; - description "This specifies the CHAP hostname"; - } - leaf refuse { - type empty; - description - "This specifies whether to refuse to - authenticate using CHAP"; - } - } - leaf service-type { - type int32; - description - "This specifies whether to allow multiple - authentication failures and, if so, how many"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub1.yang deleted file mode 100644 index ec61608..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub1.yang +++ /dev/null @@ -1,166 +0,0 @@ -submodule Cisco-IOS-XR-ppp-ma-oper-sub1 { - - belongs-to Cisco-IOS-XR-ppp-ma-oper { - prefix Cisco-IOS-XR-ppp-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-ppp-ma-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PPP-OPER-SUMMARY-LCP-AUTH-PHASES { - description "Summary of sessions in each LCP/Auth Phase"; - leaf lcp-not-negotiated { - type uint32; - description "Number of sessions with LCP not negotiated"; - } - leaf authenticating { - type uint32; - description "Number of sessions authenticating"; - } - leaf line-held-down { - type uint32; - description - "Number of sessions negotiated but with the line - held down"; - } - leaf up-local-term { - type uint32; - description - "Number of locally terminated sessions brought up"; - } - leaf up-l2-fwded { - type uint32; - description "Number of L2 forwarded sessions brought up"; - } - leaf up-tunneled { - type uint32; - description "Number of VPDN tunneled sessions brought up"; - } - } - - grouping PPP-OPER-SUMMARY-FSM-STATES-NCP { - description "Summary of FSM States for a given NCP"; - leaf ncp-identifier { - type Ncp-ident; - description "NCP Identifier"; - } - leaf total { - type uint32; - description "Total number of FSMs running for this NCP"; - } - leaf-list count { - type uint32; - max-elements "10"; - description "Number of FSMs in each State"; - } - } - - grouping PPP-OPER-SUMMARY-FSM-STATES-LCP { - description "Summary of FSM States for LCP"; - leaf total { - type uint32; - description "Total number of LCP FSMs running"; - } - leaf-list count { - type uint32; - max-elements "10"; - description "Number of FSMs in each State"; - } - } - - grouping PPP-OPER-SUMMARY-FSM-STATES { - description "Summary of sessions in each FSM State"; - - container lcpfsm-states { - description "Array of per-LCP FSM States"; - uses PPP-OPER-SUMMARY-FSM-STATES-LCP; - } - - list ncpfsm-states-array { - description "Array of per-NCP FSM States"; - uses PPP-OPER-SUMMARY-FSM-STATES-NCP; - } - } - - grouping PPP-OPER-SUMMARY-INTFS { - description "Interfaces running PPP"; - leaf pos-count { - type uint32; - description "POS Count"; - } - leaf serial-count { - type uint32; - description "Serial Count"; - } - leaf pppoe-count { - type uint32; - description "PPPoE Count"; - } - leaf multilink-bundle-count { - type uint32; - description "Multilink Bundle Count"; - } - leaf gcc0-count { - type uint32; - description "GCC0 Count"; - } - leaf gcc1-count { - type uint32; - description "GCC1 Count"; - } - leaf total { - type uint32; - description "Total Count"; - } - } - - grouping PPP-OPER-SUMMARY { - description "PPP Summary"; - - container intfs { - description "Interfaces running PPP"; - uses PPP-OPER-SUMMARY-INTFS; - } - - container fsm-states { - description "FSM States"; - uses PPP-OPER-SUMMARY-FSM-STATES; - } - - container lcp-auth-phases { - description "LCP/Auth Phases"; - uses PPP-OPER-SUMMARY-LCP-AUTH-PHASES; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub2.yang deleted file mode 100644 index 654f067..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub2.yang +++ /dev/null @@ -1,321 +0,0 @@ -submodule Cisco-IOS-XR-ppp-ma-oper-sub2 { - - belongs-to Cisco-IOS-XR-ppp-ma-oper { - prefix Cisco-IOS-XR-ppp-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ppp-lcp-mp-mbr-state { - type enumeration { - enum ppp-lcp-mp-mbr-state-detached { - description "Detached member"; - } - enum ppp-lcp-mp-mbr-state-lcp-not-negotiated { - description "LCP has not been negotiated"; - } - enum ppp-lcp-mp-mbr-state-link-noise { - description "Link Noise detected"; - } - enum ppp-lcp-mp-mbr-state-bundle-shutdown { - description "Multilink Bundle is shutdown"; - } - enum ppp-lcp-mp-mbr-state-mrru-rejected { - description "MRRU has been rejected"; - } - enum ppp-lcp-mp-mbr-state-mrru-mismatch { - description "MRRU mismatch"; - } - enum ppp-lcp-mp-mbr-state-ed-mismatch { - description "ED mismatch"; - } - enum ppp-lcp-mp-mbr-state-auth-name-mismatch { - description "Authenticated name mismatch"; - } - enum ppp-lcp-mp-mbr-state-mcmp-rejected { - description "MCMP option rejected by peer"; - } - enum ppp-lcp-mp-mbr-state-mcmp-not-negotiated { - description "MCMP option not negotiated"; - } - enum ppp-lcp-mp-mbr-state-mcmp-local-mismatch { - description "Local MCMP class mismatch"; - } - enum ppp-lcp-mp-mbr-state-mcmp-peer-mismatch { - description "Peer MCMP class mismatch"; - } - enum ppp-lcp-mp-mbr-state-standby-up { - description "SSO Standby up"; - } - enum ppp-lcp-mp-mbr-state-active { - description "Active member"; - } - } - description "MP member states"; - } - typedef Ppp-sso-fsm-state { - type enumeration { - enum ppp-sso-state-not-ready-0 { - value 0; - description "Not ready"; - } - enum ppp-sso-state-standby-unnegd-1 { - value 1; - description "S UnNegd"; - } - enum ppp-sso-state-active-down-2 { - value 2; - description "A Down"; - } - enum ppp-sso-state-deactivating-3 { - value 3; - description "Deactivating"; - } - enum ppp-sso-state-active-unnegd-4 { - value 4; - description "A UnNegd"; - } - enum ppp-sso-state-standby-negd-5 { - value 5; - description "S Negd"; - } - enum ppp-sso-state-activating-6 { - value 6; - description "Activating"; - } - enum ppp-sso-state-active-negd-7 { - value 7; - description "A Negd"; - } - } - description "Ppp sso fsm state"; - } - typedef Ppp-fsm-state { - type enumeration { - enum ppp-fsm-state-initial-0 { - value 0; - description "Connection Idle"; - } - enum ppp-fsm-state-starting-1 { - value 1; - description "This layer required, but lower layer down"; - } - enum ppp-fsm-state-closed-2 { - value 2; - description "Lower layer up, but this layer not required"; - } - enum ppp-fsm-state-stopped-3 { - value 3; - description "Listening for a Config Request"; - } - enum ppp-fsm-state-closing-4 { - value 4; - description "Shutting down due to local change"; - } - enum ppp-fsm-state-stopping-5 { - value 5; - description "Shutting down due to peer's actions"; - } - enum ppp-fsm-state-req-sent-6 { - value 6; - description "Config Request Sent"; - } - enum ppp-fsm-state-ack-rcvd-7 { - value 7; - description "Config Ack Received"; - } - enum ppp-fsm-state-ack-sent-8 { - value 8; - description "Config Ack Sent"; - } - enum ppp-fsm-state-opened-9 { - value 9; - description "Connection Open"; - } - } - description "Ppp fsm state"; - } - typedef Im-state { - type uint32; - description "Im state"; - } - typedef Ncp-ident { - type enumeration { - enum cdpcp { - value 1; - description "CDP control protocol"; - } - enum ipcp { - value 2; - description "IPv4 control protocol"; - } - enum ipcpiw { - value 3; - description "IPv4 Interworking control protocol"; - } - enum ipv6cp { - value 4; - description "IPv6 control protocol"; - } - enum mplscp { - value 5; - description "MPLS control protocol"; - } - enum osicp { - value 6; - description "OSI (CLNS) control protocol"; - } - } - description "Ncp ident"; - } - - grouping PPP-OPER-SSO-FSM-STATE { - description "PPP SSO FSM State"; - leaf is-running { - type boolean; - description "Is SSO FSM Running"; - } - leaf state { - type Ppp-sso-fsm-state; - description "SSO FSM State"; - } - } - - grouping PPP-OPER-SSO-STATE { - description "PPP SSO State"; - - container lcp-state { - description "LCP SSO State"; - uses PPP-OPER-SSO-FSM-STATE; - } - - container of-us-auth-state { - description "Of-us Authentication SSO State"; - uses PPP-OPER-SSO-FSM-STATE; - } - - container of-peer-auth-state { - description "Of-peer Authentication SSO State"; - uses PPP-OPER-SSO-FSM-STATE; - } - - container ipcp-state { - description "IPCP SSO State"; - uses PPP-OPER-SSO-FSM-STATE; - } - leaf session-id-xr { - type uint32; - description "SSRP Session ID"; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - } - - grouping PPP-OPER-SSO-SUMMARY-STATES { - description "Summary of SSO FSM States"; - leaf total { - type uint16; - description "Total number of SSO FSMs running"; - } - leaf-list count { - type uint16; - max-elements "8"; - description "Number of SSO FSMs in each State"; - } - } - - grouping PPP-OPER-SSO-SUMMARY { - description "PPP SSO Summary information"; - - container lcp-states { - description "LCP SSO FSM States"; - uses PPP-OPER-SSO-SUMMARY-STATES; - } - - container of-us-auth-states { - description "Of-us Authentication SSO FSM States"; - uses PPP-OPER-SSO-SUMMARY-STATES; - } - - container of-peer-auth-states { - description "Of-peer Authentication SSO FSM States"; - uses PPP-OPER-SSO-SUMMARY-STATES; - } - - container ipcp-states { - description "IPCP SSO FSM States"; - uses PPP-OPER-SSO-SUMMARY-STATES; - } - } - - grouping PPP-OPER-SSO-ERROR { - description "PPP SSO Error"; - leaf is-error { - type boolean; - description "Is SSO Error"; - } - leaf error { - type uint32; - description "SSO Error"; - } - leaf context { - type uint32; - description "Context"; - } - } - - grouping PPP-OPER-SSO-ALERTS { - description "PPP SSO Alerts information"; - - container lcp-error { - description "LCP SSO Error"; - uses PPP-OPER-SSO-ERROR; - } - - container of-us-auth-error { - description "Of-us Authentication SSO Error"; - uses PPP-OPER-SSO-ERROR; - } - - container of-peer-auth-error { - description "Of-peer Authentication SSO Error"; - uses PPP-OPER-SSO-ERROR; - } - - container ipcp-error { - description "IPCP SSO Error"; - uses PPP-OPER-SSO-ERROR; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub3.yang deleted file mode 100644 index 908bac8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub3.yang +++ /dev/null @@ -1,478 +0,0 @@ -submodule Cisco-IOS-XR-ppp-ma-oper-sub3 { - - belongs-to Cisco-IOS-XR-ppp-ma-oper { - prefix Cisco-IOS-XR-ppp-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-ppp-ma-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PPP-OPER-NCP-STATS-INTERFACE { - description "PPP per-interface NCP statistics"; - leaf ncp-identifier { - type Ncp-ident; - description "NCP identifier"; - } - leaf conf-req-sent { - type uint16; - description "Conf Req Packets Sent"; - } - leaf conf-req-rcvd { - type uint16; - description "Conf Req Packets Received"; - } - leaf conf-ack-sent { - type uint16; - description "Conf Ack Packets Sent"; - } - leaf conf-ack-rcvd { - type uint16; - description "Conf Ack Packets Received"; - } - leaf conf-nak-sent { - type uint16; - description "Conf Nak Packets Sent"; - } - leaf conf-nak-rcvd { - type uint16; - description "Conf Nak Packets Received"; - } - leaf conf-rej-sent { - type uint16; - description "Conf Rej Packets Sent"; - } - leaf conf-rej-rcvd { - type uint16; - description "Conf Rej Packets Received"; - } - } - - grouping PPP-OPER-AUTH-STATS-INTERFACE { - description "PPP Authentication statistics"; - leaf pap-req-sent { - type uint16; - description "PAP Request packets sent"; - } - leaf pap-req-rcvd { - type uint16; - description "PAP Request packets received"; - } - leaf pap-ack-sent { - type uint16; - description "PAP Ack packets sent"; - } - leaf pap-ack-rcvd { - type uint16; - description "PAP Ack packets received"; - } - leaf pap-nak-sent { - type uint16; - description "PAP Nak packets sent"; - } - leaf pap-nak-rcvd { - type uint16; - description "PAP Nak packets received"; - } - leaf chap-chall-sent { - type uint16; - description "CHAP challenge packets sent"; - } - leaf chap-chall-rcvd { - type uint16; - description "CHAP challenge packets received"; - } - leaf chap-resp-sent { - type uint16; - description "CHAP response packets sent"; - } - leaf chap-resp-rcvd { - type uint16; - description "CHAP response packets received"; - } - leaf chap-rep-succ-sent { - type uint16; - description "CHAP reply success packets sent"; - } - leaf chap-rep-succ-rcvd { - type uint16; - description "CHAP reply success packets received"; - } - leaf chap-rep-fail-sent { - type uint16; - description "CHAP reply failure packets sent"; - } - leaf chap-rep-fail-rcvd { - type uint16; - description "CHAP reply failure packets received"; - } - leaf auth-timeout-count { - type uint16; - description "Authentication timeout count"; - } - } - - grouping PPP-OPER-LCP-STATS-INTERFACE { - description "PPP per-interface LCP statistics"; - leaf conf-req-sent { - type uint16; - description "Conf Req Packets Sent"; - } - leaf conf-req-rcvd { - type uint16; - description "Conf Req Packets Received"; - } - leaf conf-ack-sent { - type uint16; - description "Conf Ack Packets Sent"; - } - leaf conf-ack-rcvd { - type uint16; - description "Conf Ack Packets Received"; - } - leaf conf-nak-sent { - type uint16; - description "Conf Nak Packets Sent"; - } - leaf conf-nak-rcvd { - type uint16; - description "Conf Nak Packets Received"; - } - leaf conf-rej-sent { - type uint16; - description "Conf Rej Packets Sent"; - } - leaf conf-rej-rcvd { - type uint16; - description "Conf Rej Packets Received"; - } - leaf echo-req-sent { - type uint16; - description "Echo Req Packets Sent"; - } - leaf echo-req-rcvd { - type uint16; - description "Echo Req Packets Received"; - } - leaf echo-rep-sent { - type uint16; - description "Echo Rep Packets Sent"; - } - leaf echo-rep-rcvd { - type uint16; - description "Echo Rep Packets Received"; - } - leaf disc-req-sent { - type uint16; - description "Disc Req Packets Sent"; - } - leaf disc-req-rcvd { - type uint16; - description "Disc Req Packets Received"; - } - leaf link-up { - type uint16; - description "Line Protocol Up count"; - } - leaf link-error { - type uint16; - description "Keepalive link failure count"; - } - } - - grouping PPP-OPER-STATS-INTERFACE { - description "PPP interface statistics information"; - - container lcp-statistics { - description "PPP LCP Statistics"; - uses PPP-OPER-LCP-STATS-INTERFACE; - } - - container authentication-statistics { - description "PPP Authentication statistics"; - uses PPP-OPER-AUTH-STATS-INTERFACE; - } - - list ncp-statistics-array { - description "Array of PPP NCP Statistics"; - uses PPP-OPER-NCP-STATS-INTERFACE; - } - } - - grouping PPP-OPER-NCP-STATS-GLOBAL { - description "PPP Global NCP Statistics"; - leaf ncp-identifier { - type Ncp-ident; - description "NCP identifier"; - } - leaf conf-req-sent { - type uint64; - description "Conf Req Packets Sent"; - } - leaf conf-req-rcvd { - type uint64; - description "Conf Req Packets Received"; - } - leaf conf-ack-sent { - type uint64; - description "Conf Ack Packets Sent"; - } - leaf conf-ack-rcvd { - type uint64; - description "Conf Ack Packets Received"; - } - leaf conf-nak-sent { - type uint64; - description "Conf Nak Packets Sent"; - } - leaf conf-nak-rcvd { - type uint64; - description "Conf Nak Packets Received"; - } - leaf conf-rej-sent { - type uint64; - description "Conf Rej Packets Sent"; - } - leaf conf-rej-rcvd { - type uint64; - description "Conf Rej Packets Received"; - } - leaf term-req-sent { - type uint64; - description "Term Req Packets Sent"; - } - leaf term-req-rcvd { - type uint64; - description "Term Req Packets Received"; - } - leaf term-ack-sent { - type uint64; - description "Term Ack Packets Sent"; - } - leaf term-ack-rcvd { - type uint64; - description "Term Ack Packets Received"; - } - leaf proto-rej-sent { - type uint64; - description "Proto Rej Packets Sent"; - } - leaf proto-rej-rcvd { - type uint64; - description "Proto Rej Packets Received"; - } - } - - grouping PPP-OPER-AUTH-STATS-GLOBAL { - description "PPP Authentication statistics"; - leaf pap-req-sent { - type uint64; - description "PAP Request packets sent"; - } - leaf pap-req-rcvd { - type uint64; - description "PAP Request packets received"; - } - leaf pap-ack-sent { - type uint64; - description "PAP Ack packets sent"; - } - leaf pap-ack-rcvd { - type uint64; - description "PAP Ack packets received"; - } - leaf pap-nak-sent { - type uint64; - description "PAP Nak packets sent"; - } - leaf pap-nak-rcvd { - type uint64; - description "PAP Nak packets received"; - } - leaf chap-chall-sent { - type uint64; - description "CHAP challenge packets sent"; - } - leaf chap-chall-rcvd { - type uint64; - description "CHAP challenge packets received"; - } - leaf chap-resp-sent { - type uint64; - description "CHAP response packets sent"; - } - leaf chap-resp-rcvd { - type uint64; - description "CHAP response packets received"; - } - leaf chap-rep-succ-sent { - type uint64; - description "CHAP reply success packets sent"; - } - leaf chap-rep-succ-rcvd { - type uint64; - description "CHAP reply success packets received"; - } - leaf chap-rep-fail-sent { - type uint64; - description "CHAP reply failure packets sent"; - } - leaf chap-rep-fail-rcvd { - type uint64; - description "CHAP reply failure packets received"; - } - leaf auth-timeout-count { - type uint64; - description "Authentication timeout count"; - } - } - - grouping PPP-OPER-LCP-STATS-GLOBAL { - description "PPP Global LCP Statistics"; - leaf conf-req-sent { - type uint64; - description "Conf Req Packets Sent"; - } - leaf conf-req-rcvd { - type uint64; - description "Conf Req Packets Received"; - } - leaf conf-ack-sent { - type uint64; - description "Conf Ack Packets Sent"; - } - leaf conf-ack-rcvd { - type uint64; - description "Conf Ack Packets Received"; - } - leaf conf-nak-sent { - type uint64; - description "Conf Nak Packets Sent"; - } - leaf conf-nak-rcvd { - type uint64; - description "Conf Nak Packets Received"; - } - leaf conf-rej-sent { - type uint64; - description "Conf Rej Packets Sent"; - } - leaf conf-rej-rcvd { - type uint64; - description "Conf Rej Packets Received"; - } - leaf term-req-sent { - type uint64; - description "Term Req Packets Sent"; - } - leaf term-req-rcvd { - type uint64; - description "Term Req Packets Received"; - } - leaf term-ack-sent { - type uint64; - description "Term Ack Packets Sent"; - } - leaf term-ack-rcvd { - type uint64; - description "Term Ack Packets Received"; - } - leaf code-rej-sent { - type uint64; - description "Code Rej Packets Sent"; - } - leaf code-rej-rcvd { - type uint64; - description "Code Rej Packets Received"; - } - leaf proto-rej-sent { - type uint64; - description "Proto Rej Packets Sent"; - } - leaf proto-rej-rcvd { - type uint64; - description "Proto Rej Packets Received"; - } - leaf echo-req-sent { - type uint64; - description "Echo Req Packets Sent"; - } - leaf echo-req-rcvd { - type uint64; - description "Echo Req Packets Received"; - } - leaf echo-rep-sent { - type uint64; - description "Echo Rep Packets Sent"; - } - leaf echo-rep-rcvd { - type uint64; - description "Echo Rep Packets Received"; - } - leaf disc-req-sent { - type uint64; - description "Disc Req Packets Sent"; - } - leaf disc-req-rcvd { - type uint64; - description "Disc Req Packets Received"; - } - leaf link-up { - type uint64; - description "Line Protocol Up count"; - } - leaf link-error { - type uint64; - description "Keepalive link failure count"; - } - } - - grouping PPP-OPER-STATS-GLOBAL { - description "PPP summary statistics information"; - - container lcp-statistics { - description "PPP LCP Statistics"; - uses PPP-OPER-LCP-STATS-GLOBAL; - } - - container authentication-statistics { - description "PPP Authentication statistics"; - uses PPP-OPER-AUTH-STATS-GLOBAL; - } - - list ncp-statistics-array { - description "Array of PPP NCP Statistics"; - uses PPP-OPER-NCP-STATS-GLOBAL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub4.yang deleted file mode 100644 index 1558683..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper-sub4.yang +++ /dev/null @@ -1,476 +0,0 @@ -submodule Cisco-IOS-XR-ppp-ma-oper-sub4 { - - belongs-to Cisco-IOS-XR-ppp-ma-oper { - prefix Cisco-IOS-XR-ppp-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ppp-ma-oper-sub2 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ppp-iphc-compression { - type enumeration { - enum ppp-iphc-compression-fmt-none { - value 0; - description "None"; - } - enum ppp-iphc-compression-fmt-vj { - value 1; - description "VJ"; - } - enum ppp-iphc-compression-fmt-ietf { - value 2; - description "IETF"; - } - enum ppp-iphc-compression-fmt-iphc { - value 3; - description "IPHC"; - } - enum ppp-iphc-compression-fmt-cisco { - value 4; - description "CISCO"; - } - } - description "IPHC compression type"; - } - - grouping PPP-IPV6CP-INFO { - description "IPv6CP State information"; - leaf local-address { - type inet:ipv6-address; - description "Local IPv6 address"; - } - leaf peer-address { - type inet:ipv6-address; - description "Peer IPv6 address"; - } - } - - grouping PPP-IPCPIW-INFO { - description "IPCPIW State information"; - leaf local-address { - type inet:ipv4-address; - description "Local IPv4 address"; - } - leaf peer-address { - type inet:ipv4-address; - description "Peer IPv4 address"; - } - } - - grouping PPP-IPCP-IPHC-INFO { - description "IPCP IPHC State information"; - leaf compression-type { - type Ppp-iphc-compression; - description "Compression type"; - } - leaf tcp-space { - type uint16; - description "TCP space"; - } - leaf non-tcp-space { - type uint16; - description "Non-TCP space"; - } - leaf max-period { - type uint16; - description "Max period"; - } - leaf max-time { - type uint16; - description "Max time"; - } - leaf max-header { - type uint16; - description "Max header"; - } - leaf rtp-compression { - type boolean; - description "RTP compression"; - } - leaf ec-rtp-compression { - type boolean; - description "EcRTP compression"; - } - } - - grouping PPP-IPCP-INFO { - description "IPCP State information"; - - container local-iphc-options { - description "Local IPHC options"; - uses PPP-IPCP-IPHC-INFO; - } - - container peer-iphc-options { - description "Peer IPHC options"; - uses PPP-IPCP-IPHC-INFO; - } - leaf local-address { - type inet:ipv4-address; - description "Local IPv4 address"; - } - leaf peer-address { - type inet:ipv4-address; - description "Peer IPv4 address"; - } - leaf peer-netmask { - type inet:ipv4-address; - description "Peer IPv4 netmask"; - } - leaf dns-primary { - type inet:ipv4-address; - description "Peer DNS Primary"; - } - leaf dns-secondary { - type inet:ipv4-address; - description "Peer DNS Secondary"; - } - leaf wins-primary { - type inet:ipv4-address; - description "Peer WINS Primary"; - } - leaf wins-secondary { - type inet:ipv4-address; - description "Peer WINS Secondary"; - } - leaf is-iphc-configured { - type boolean; - description "Is IPHC Configured"; - } - } - - grouping PPP-NCP { - description "PPP NCP"; - - container ipcp-info { - when "../type = 'ipcp'" { - description "../Type = 'IPCP'"; - } - description "Info for IPCP"; - uses PPP-IPCP-INFO; - } - - container ipcpiw-info { - when "../type = 'ipcpiw'" { - description "../Type = 'IPCPIW'"; - } - description "Info for IPCPIW"; - uses PPP-IPCPIW-INFO; - } - - container ipv6cp-info { - when "../type = 'ipv6cp'" { - description "../Type = 'IPV6CP'"; - } - description "Info for IPv6CP"; - uses PPP-IPV6CP-INFO; - } - leaf type { - type Ncp-ident; - description "Type"; - } - } - - grouping PPP-NCP-INFO { - description "NCP state information"; - - container ncp-info { - description "Specific NCP info"; - uses PPP-NCP; - } - leaf ncp-state { - type Ppp-fsm-state; - description "NCP state value"; - } - leaf ncpsso-state { - type Ppp-sso-fsm-state; - description "NCP SSO State"; - } - leaf is-passive { - type boolean; - description "Is Passive"; - } - leaf ncp-identifier { - type Ncp-ident; - description "NCP state identifier"; - } - } - - grouping PPP-AUTH-INFO { - description "Authentication information"; - leaf is-authenticated { - type boolean; - description "Is authenticated"; - } - leaf is-sso-authenticated { - type boolean; - description "Is SSO authenticated"; - } - leaf of-us-auth { - type uint8; - description "Of Us authentication type"; - } - leaf of-peer-auth { - type uint8; - description "Of Peer authentication type"; - } - leaf of-us-name { - type string; - description "Local authenticated name"; - } - leaf of-peer-name { - type string; - description "Peer's authenticated name"; - } - leaf of-us-sso-state { - type Ppp-sso-fsm-state; - description "Of Us auth SSO FSM State"; - } - leaf of-peer-sso-state { - type Ppp-sso-fsm-state; - description "Of Peer auth SSO FSM State"; - } - } - - grouping PPP-TIMEOUT-INFO { - description "Timeout information"; - leaf minutes { - type uint32; - units "minute"; - description "Minutes"; - } - leaf seconds { - type uint8; - units "second"; - description "Seconds"; - } - } - - grouping PPP-MP-MBR-INFO { - description "MP member information"; - leaf interface { - type xr:Interface-name; - description "Member Interface"; - } - leaf state { - type Ppp-lcp-mp-mbr-state; - description "Member State"; - } - } - - grouping PPP-MP-INFO { - description "MP information"; - leaf is-mp-bundle { - type boolean; - description "Is an MP bundle"; - } - leaf mp-bundle-interface { - type xr:Interface-name; - description "MP Bundle Interface"; - } - leaf is-mp-bundle-member { - type boolean; - description "MP Bundle Member"; - } - leaf mp-group { - type uint32; - description "MP Group"; - } - leaf active-links { - type uint16; - description "Number of active links"; - } - leaf inactive-links { - type uint16; - description "Number of inactive links"; - } - leaf minimum-active-links { - type uint16; - description - "Minimum active links required for the MPbundle - to come up"; - } - leaf mp-state { - type Ppp-lcp-mp-mbr-state; - description "Member State"; - } - - list mp-member-info-array { - description "Array of MP members"; - uses PPP-MP-MBR-INFO; - } - } - - grouping PPP-PROTOCOL-INFO { - description "PPP state information"; - - container mp-info { - description "MP information"; - uses PPP-MP-INFO; - } - - container configured-timeout { - description "Configured timeout"; - uses PPP-TIMEOUT-INFO; - } - - container auth-info { - description "Authentication information"; - uses PPP-AUTH-INFO; - } - leaf parent-state { - type Im-state; - description "Parent state"; - } - leaf line-state { - type Im-state; - description "Line state"; - } - leaf is-loopback-detected { - type boolean; - description "Loopback detected"; - } - leaf caps-idb-srg-role { - type uint32; - description "Caps IDB SRG role"; - } - leaf session-srg-role { - type uint32; - description "Session SRG role"; - } - leaf keepalive-period { - type uint32; - description "Keepalive value"; - } - leaf keepalive-retry-count { - type uint32; - description "Keepalive retry count"; - } - leaf is-ssrp-configured { - type boolean; - description "Is SSRP configured"; - } - leaf is-l2ac { - type boolean; - description "Is L2 AC"; - } - leaf provisioned { - type boolean; - description "Provisioned"; - } - leaf ip-interworking-enabled { - type boolean; - description "IP Interworking Enabled"; - } - leaf xconnect-id { - type uint32; - description "XConnect ID"; - } - leaf is-tunneled-session { - type boolean; - description "Is tunneled session"; - } - leaf ssrp-peer-id { - type string; - description "SSRP Peer ID"; - } - leaf lcp-state { - type Ppp-fsm-state; - description "PPP/LCP state value"; - } - leaf lcpsso-state { - type Ppp-sso-fsm-state; - description "LCP SSO state"; - } - leaf is-lcp-delayed { - type boolean; - description "Is LCP Delayed"; - } - leaf local-mru { - type uint16; - description "Local MRU"; - } - leaf peer-mru { - type uint16; - description "Peer MRU"; - } - leaf local-mrru { - type uint16; - description "Local MRRU"; - } - leaf peer-mrru { - type uint16; - description "Peer MRRU"; - } - leaf local-ed { - type string { - length "0..41"; - } - description "Local Endpt Discriminator"; - } - leaf peer-ed { - type string { - length "0..41"; - } - description "Peer Endpt Discriminator"; - } - leaf is-mcmp-enabled { - type boolean; - description "Is MCMP enabled"; - } - leaf local-mcmp-classes { - type uint8; - description "Local MCMP classes"; - } - leaf peer-mcmp-classes { - type uint8; - description "Peer MCMP classes"; - } - leaf session-expires { - type uint32; - units "second"; - description - "Session expiry time in seconds since 00:00:00 on - January 1, 1970, UTC."; - } - - list ncp-info-array { - description "Array of per-NCP data"; - uses PPP-NCP-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper.yang deleted file mode 100644 index ef6709b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-oper.yang +++ /dev/null @@ -1,179 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper"; - - - prefix "ppp-ma-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-ppp-ma-oper-sub4 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ppp-ma-oper-sub3 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ppp-ma-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-ppp-ma-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma package operational data. - - This module contains definitions - for the following management objects: - ppp: PPP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ppp { - config false; - description "PPP operational data"; - - container nodes { - description "Per node PPP operational data"; - - list node { - key "node-name"; - description - "The PPP operational data for a particular node"; - - container statistics { - description "PPP statistics data for a particular node"; - uses PPP-OPER-STATS-GLOBAL; - } - - container node-interfaces { - description "Per interface PPP operational data"; - - list node-interface { - key "interface"; - description - "LCP and summarized NCP data for an interface - running PPP"; - leaf interface { - type xr:Interface-name; - description "Interface running PPP"; - } - uses PPP-PROTOCOL-INFO; - } - } - - container sso-alerts { - description "PPP SSO Alert data for a particular node"; - - list sso-alert { - key "interface"; - description - "PPP SSO Alert data for a particular interface"; - leaf interface { - type xr:Interface-name; - description "Interface with SSO Alert"; - } - uses PPP-OPER-SSO-ALERTS; - } - } - - container node-interface-statistics { - description "Per interface PPP operational statistics"; - - list node-interface-statistic { - key "interface-name"; - description - "LCP and NCP statistics for an interface - running PPP"; - leaf interface-name { - type xr:Interface-name; - description "Interface running PPP"; - } - uses PPP-OPER-STATS-INTERFACE; - } - } - - container sso-summary { - description - "Summarized PPP SSO data for a particular node"; - uses PPP-OPER-SSO-SUMMARY; - } - - container sso-groups { - description "PPP SSO Group data for a particular node"; - - list sso-group { - key "group-id"; - description "PPP SSO state data for a particular group"; - - container sso-states { - description - "PPP SSO State data for a particular group"; - - list sso-state { - key "session-id"; - description - "PPP SSO State data for a particular - interface"; - leaf session-id { - type uint32 { - range "1..4294967295"; - } - description - "Session ID for the interface with SSO - State"; - } - uses PPP-OPER-SSO-STATE; - } - } - leaf group-id { - type uint32 { - range "1..65535"; - } - description "The identifier for the group"; - } - } - } - - container summary { - description "Summarized PPP data for a particular node"; - uses PPP-OPER-SUMMARY; - } - leaf node-name { - type xr:Node-id; - description "The identifier for the node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang deleted file mode 100644 index 3252f94..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang +++ /dev/null @@ -1,144 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-ssrp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg"; - - - prefix "ppp-ma-ssrp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-config-mda-cfg { prefix "a1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-ssrp package configuration. - - This module contains definitions - for the following management objects: - ssrp: Shared plane SSRP configuration data - - This YANG module augments the - Cisco-IOS-XR-config-mda-cfg, - Cisco-IOS-XR-ifmgr-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ssrp { - description "Shared plane SSRP configuration data"; - - container profiles { - description "Table of SSRP Profiles"; - - list profile { - key "name"; - description "SSRP Profile configuration"; - leaf max-hops { - type uint32 { - range "1..255"; - } - description - "This specifies the maximum number of hops for - packets on the SSO channel"; - } - leaf peer-ipv4-address { - type inet:ipv4-address-no-zone; - description - "This specifies the remote end's IPv4-address - for the SSO channel"; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "The name of the profile"; - } - } - } - } - - augment "/a2:interface-configurations/a2:interface-configuration" { - - container ssrp-session { - description "SSRP Config"; - - container group-id { - description "This specifies the SSRP group and session-id"; - leaf group { - type uint32 { - range "1..65535"; - } - description "SSRP Group-ID"; - } - leaf id { - type uint32 { - range "1..4294967295"; - } - description "SSRP Session-ID"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } - - augment "/a1:active-nodes/a1:active-node" { - - container ssrp-group { - description "Per-node SSRP configuration data"; - - container groups { - description "Table of SSRP Group configuration"; - - list group { - key "group-id"; - description "SSRP Group configuration"; - leaf profile { - type string; - description - "This specifies the SSRP profile to use for - this group"; - } - leaf group-id { - type uint32 { - range "1..65535"; - } - description "The identifier for this group"; - } - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-config-mda-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang deleted file mode 100644 index cd6c005..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang +++ /dev/null @@ -1,56 +0,0 @@ -module Cisco-IOS-XR-ppp-ma-syslog-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg"; - - - prefix "ppp-ma-syslog-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ppp-ma-syslog package configuration. - - This module contains definitions - for the following management objects: - ppp: PPP configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ppp { - description "PPP configuration"; - - container syslog { - description "syslog option for session status"; - leaf enable-session-status { - type empty; - description "Enable syslog for ppp session status"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang deleted file mode 100644 index 103351b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang +++ /dev/null @@ -1,117 +0,0 @@ -submodule Cisco-IOS-XR-pppoe-ea-oper-sub1 { - - belongs-to Cisco-IOS-XR-pppoe-ea-oper { - prefix Cisco-IOS-XR-pppoe-ea-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR pppoe-ea package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PPPOE-EA-INTERFACE-INFO { - description "PPPoE EA interface information"; - - container peer-mac { - description "Peer Mac-address"; - uses ETHER-MACADDR-TYPE; - } - - container local-mac { - description "Local Mac-address"; - uses ETHER-MACADDR-TYPE; - } - - container srgv-mac { - description "SRG VMac-address"; - uses ETHER-MACADDR-TYPE; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf session-id { - type uint16; - description "Session ID"; - } - leaf parent-interface { - type xr:Interface-name; - description "Parent Interface"; - } - leaf is-priority-set { - type boolean; - description "Is Priority Set"; - } - leaf priority { - type uint8; - description "Priority"; - } - leaf is-in-sync { - type boolean; - description "Is in sync"; - } - leaf is-platform-created { - type boolean; - description "Is Platform created"; - } - leaf-list vlanid { - type uint16; - max-elements "2"; - description "VLAN Ids"; - } - } - - grouping ETHER-MACADDR-TYPE { - description "ETHER MACADDR TYPE"; - leaf macaddr { - type yang:hex-string; - description "macaddr"; - } - } - - grouping PPPOE-EA-PARENT-INTERFACE-INFO { - description "PPPoE EA parent interface information"; - - container srgv-mac { - description "SRG VMac-address"; - uses ETHER-MACADDR-TYPE; - } - leaf interface { - type xr:Interface-name; - description "Interface"; - } - leaf is-in-sync { - type boolean; - description "Is in sync"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper.yang deleted file mode 100644 index b03e7a9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-pppoe-ea-oper.yang +++ /dev/null @@ -1,96 +0,0 @@ -module Cisco-IOS-XR-pppoe-ea-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pppoe-ea-oper"; - - - prefix "pppoe-ea-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-pppoe-ea-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR pppoe-ea package operational data. - - This module contains definitions - for the following management objects: - pppoe-ea: PPPoE Ea data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container pppoe-ea { - config false; - description "PPPoE Ea data"; - - container nodes { - description "PPPOE_EA list of nodes"; - - list node { - key "node-name"; - description - "PPPOE-EA operational data for a particular node"; - - container parent-interface-ids { - description "PPPoE parent interface info"; - - list parent-interface-id { - key "parent-interface-name"; - description "PPPoE parent interface info"; - leaf parent-interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses PPPOE-EA-PARENT-INTERFACE-INFO; - } - } - - container interface-ids { - description "PPPoE interface info"; - - list interface-id { - key "interface-name"; - description "PPPoE interface info"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses PPPOE-EA-INTERFACE-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang deleted file mode 100644 index 3410aa2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-prm-hwmod-loadbalance-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg"; - - - prefix "prm-hwmod-loadbalance-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR prm-hwmod-loadbalance package configuration. - - This module contains definitions - for the following management objects: - hardware-module: HardwareModule - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-12" { - description - "Implementing Conf Yang Model for BGP LU HW ECMP"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hardware-module { - description "HardwareModule"; - - container loadbalancing { - description "Loadbalance option"; - - container bgp3107 { - description "BGP LU"; - - container ecmp { - description "ECMP "; - leaf enable { - type empty; - description "Enable Option"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang deleted file mode 100644 index 64f5522..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang +++ /dev/null @@ -1,68 +0,0 @@ -module Cisco-IOS-XR-prm-hwmod-sr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-hwmod-sr-cfg"; - - - prefix "prm-hwmod-sr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR prm-hwmod-sr package configuration. - - This module contains definitions - for the following management objects: - hardware-module: HardwareModule - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-12" { - description - "Implementing Conf Yang Model for Service label reservation for SR label stack limit"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hardware-module { - description "HardwareModule"; - - container segment-routing { - description "Segment Routing"; - - container reserve { - description "Reserve"; - - container service-label { - description "Service Label"; - leaf enable { - type empty; - description "Enable"; - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper-sub1.yang deleted file mode 100644 index 597f511..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper-sub1.yang +++ /dev/null @@ -1,189 +0,0 @@ -submodule Cisco-IOS-XR-prm-server-oper-sub1 { - - belongs-to Cisco-IOS-XR-prm-server-oper { - prefix Cisco-IOS-XR-prm-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR prm-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-22" { - description - "Initial revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping RESOURCE-EDM-DATA { - description "Resource Summary Data"; - leaf resource-name { - type string { - length "0..1024"; - } - description "Resource Name"; - } - leaf resource-type { - type uint32; - description "Resource Type"; - } - leaf total-num { - type uint32; - description "Total Resource Count"; - } - leaf free-num { - type uint32; - description "Free Resource Count"; - } - leaf first-available-index { - type uint32; - description "Next Free Index"; - } - leaf start-index { - type uint32; - description "Start Index"; - } - leaf availability-status { - type boolean; - description "Availability Status"; - } - leaf flags { - type uint8; - description "Resource Flags"; - } - leaf inconsistent { - type boolean; - description "Inconsistice Flags"; - } - } - - grouping PLAT-DROP-STATS-INFO { - description "Plat drop stats data"; - leaf drop-reason { - type string { - length "0..1024"; - } - description "Drop Reason"; - } - leaf counters { - type uint32; - description "Counter"; - } - } - - grouping PLAT-DROP-CAPTURED-PAK { - description "Plat drop captured packets"; - leaf total-captured { - type uint32; - description "Total packets Captured"; - } - leaf captured-pak { - type string { - length "0..1024"; - } - description "Captured Packet"; - } - leaf pkt-index { - type uint8; - description "Packet Index"; - } - leaf ifhandle { - type uint32; - description "If Handle"; - } - leaf buffer-len { - type uint32; - description "Buffer Length"; - } - leaf reason-hi { - type uint32; - description "Reason Hi"; - } - leaf reason { - type uint32; - description "Reason"; - } - leaf years { - type uint64; - description "Year"; - } - leaf hours { - type uint64; - units "hour"; - description "Hours"; - } - leaf days { - type uint64; - units "day"; - description "Days"; - } - leaf mins { - type uint64; - units "minute"; - description "Minutes"; - } - leaf secs { - type uint64; - units "second"; - description "Seconds"; - } - } - - grouping BCM-EDM-COSQ-INFO { - description "BCM CosQ EDM data"; - leaf cos-q-name { - type string { - length "0..1024"; - } - description "CosQ Name"; - } - leaf cos-q { - type uint8; - description "CosQ No"; - } - leaf rx-channel { - type uint32; - description "Rx DMA Channel"; - } - leaf flow-rate { - type uint32; - description "Flow Rate"; - } - leaf burst { - type uint32; - description "Burst"; - } - leaf accepted { - type uint64; - description "Accepted"; - } - leaf dropped { - type uint64; - description "Dropped"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper.yang deleted file mode 100644 index ce43ed5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-prm-server-oper.yang +++ /dev/null @@ -1,167 +0,0 @@ -module Cisco-IOS-XR-prm-server-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-server-oper"; - - - prefix "prm-server-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-prm-server-oper-sub1 { - revision-date 2016-02-22; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR prm-server package operational data. - - This module contains definitions - for the following management objects: - hardware-module: PRM data - prm: prm - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-22" { - description - "Initial revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container hardware-module { - config false; - description "PRM data"; - - container nodes { - description "List of PRM Nodes"; - - list node { - key "node-name"; - description "Node Information"; - - container np { - description "Server specific"; - - container cpu { - description "Resource specific"; - - container indexes { - description "Data for software resource"; - - list index { - key "index"; - description "Queue Stats"; - leaf index { - type int32; - description "Index value"; - } - uses BCM-EDM-COSQ-INFO; - } - } - } - - container platform-drop { - description "Platform drops"; - - container indxes { - description "Captured Packets"; - - list indx { - key "index"; - description "Captured packets"; - leaf index { - type int32; - description "Index value"; - } - uses PLAT-DROP-CAPTURED-PAK; - } - } - - container idxes { - description "Stats for Drop packets"; - - list idx { - key "index"; - description "Drop Stats"; - leaf index { - type int32; - description "Index value"; - } - uses PLAT-DROP-STATS-INFO; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } - - container prm { - config false; - description "prm"; - - container nodes { - description "List of PRM Nodes"; - - list node { - key "node-name"; - description "Node Information"; - - container server { - description "Server specific"; - - container resource { - description "Resource specific"; - - container indexes { - description "Data for software resource"; - - list index { - key "index"; - description "Data for software resource"; - leaf index { - type int32; - description "Index value"; - } - uses RESOURCE-EDM-DATA; - } - } - } - } - leaf node-name { - type xr:Node-id; - description "The node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper-sub1.yang deleted file mode 100644 index ac8f39b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper-sub1.yang +++ /dev/null @@ -1,90 +0,0 @@ -submodule Cisco-IOS-XR-procmem-oper-sub1 { - - belongs-to Cisco-IOS-XR-procmem-oper { - prefix Cisco-IOS-XR-procmem-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR procmem package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-07-30" { - description - "IOS XR 6.0.0 revision."; - } - - - grouping PROCESSESMEMORY-ENTRY { - description " Per Process Information"; - leaf name { - type string; - description "Process name"; - } - leaf jid { - type uint32; - description "Job ID"; - } - leaf pid { - type uint32; - description "Process ID"; - } - leaf text-seg-size { - type uint32; - description "Text Segment Size"; - } - leaf data-seg-size { - type uint32; - description "Data Segment Size"; - } - leaf stack-seg-size { - type uint32; - description "Stack Segment Size"; - } - leaf malloc-size { - type uint32; - description "Malloced Memory Size"; - } - leaf dyn-limit { - type uint32; - description "Dynamic memory limit"; - } - leaf shared-mem { - type uint32; - description "Shared memory size"; - } - leaf physical-mem { - type uint32; - description "Physical memory size"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper.yang deleted file mode 100644 index 863bd7d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-procmem-oper.yang +++ /dev/null @@ -1,91 +0,0 @@ -module Cisco-IOS-XR-procmem-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper"; - - - prefix "procmem-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-procmem-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR procmem package operational data. - - This module contains definitions - for the following management objects: - processes-memory: Process statistics - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-07-30" { - description - "IOS XR 6.0.0 revision."; - } - - - container processes-memory { - config false; - description "Process statistics"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Node ID"; - - container process-ids { - description "List of jobs"; - - list process-id { - key "process-id"; - description "Process Id"; - leaf process-id { - type int32; - description "Process Id"; - } - uses PROCESSESMEMORY-ENTRY; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-cfg.yang deleted file mode 100644 index a0eeb33..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-cfg.yang +++ /dev/null @@ -1,941 +0,0 @@ -module Cisco-IOS-XR-ptp-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-cfg"; - - - prefix "ptp-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ptp-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ptp package configuration. - - This module contains definitions - for the following management objects: - ptp: PTP global configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-02" { - description - "Initial version."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ptp { - description "PTP global configuration"; - - container clock { - description "PTP local clock configuration"; - - container profile { - description "Local clock PTP profile"; - leaf clock-profile { - type dt1:Ptp-clock-profile; - default "default"; - description "Clock profile"; - } - leaf telecom-clock-type { - when "../clock-profile = 'g82751' or ../clock-profile ="+ - " 'g82752'" { - description - "../ClockProfile = 2 or ../ClockProfile = 3"; - } - type dt1:Ptp-telecom-clock; - description "Telecom clock type"; - } - } - - container identity { - description "Local clock identity"; - leaf clock-id-type { - type dt1:Ptp-clock-id; - default "router-mac"; - description "Clock identity type"; - } - leaf mac-address { - when "../clock-id-type = 'user-mac'" { - description "../ClockIDType = 1"; - } - type yang:mac-address; - description "MAC Address"; - } - leaf eui { - when "../clock-id-type = 'eui'" { - description "../ClockIDType = 2"; - } - type string; - description "EUI-64 number"; - } - } - leaf timescale { - type dt1:Ptp-timescale; - description "Local clock timescale"; - } - leaf domain { - type uint32 { - range "0..255"; - } - default "0"; - description "Local clock domain"; - } - leaf priority2 { - type uint32 { - range "0..255"; - } - default "128"; - description "Local clock priority2"; - } - leaf time-source { - type dt1:Ptp-time-source; - description "Local clock time source"; - } - leaf priority1 { - type uint32 { - range "0..255"; - } - default "128"; - description "Local clock priority1"; - } - leaf clock-class { - type uint32 { - range "0..255"; - } - default "0"; - description "Local clock class"; - } - } - - container profiles { - description "Table for profile configuration"; - - list profile { - key "profile-name"; - description "Profile configuration"; - - container announce-interval { - description "Announce interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "2"; - description "Time Period"; - } - } - - container source-ipv4-address { - description "Source IPv4 Address"; - leaf enable { - type boolean; - description "Enable source IP address"; - } - leaf source-ip { - type inet:ipv4-address-no-zone; - description "Source IP address to use"; - } - } - - container slaves { - description "Table for slave configuration"; - - list slave { - must "ethernet or ipv4-or-ipv6" { - description - "Ethernet or IPv4-or-IPv6 must be present."; - } - key "transport"; - description "Slave configuration"; - - grouping SLAVE-CONTENT { - description "SLAVE CONTENT"; - leaf non-negotiated { - type boolean; - description - "Enable non-negotiated unicast on this - interface"; - } - } - leaf transport { - type dt1:Ptp-encap; - description "Slave Transport Type"; - } - - list ethernet { - when "../transport = 'ethernet'" { - description "../Transport = Ethernet"; - } - key "slave-mac-address"; - description "ethernet"; - leaf slave-mac-address { - type yang:mac-address; - description "Slave MAC Address"; - } - uses SLAVE-CONTENT; - } - - list ipv4-or-ipv6 { - when "../transport = 'ipv4' or ../transport ="+ - " 'ipv6'" { - description - "../Transport = IPv4 or ../Transport = IPv6"; - } - key "slave-ip-address"; - description "ipv4 or ipv6"; - leaf slave-ip-address { - type inet:ip-address-no-zone; - description "Slave IP Address"; - } - uses SLAVE-CONTENT; - } - } - } - - container sync-interval { - description "Sync interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "1"; - description "Time Period"; - } - } - - container masters { - description "Table for master configuration"; - - list master { - must "ethernet or ipv4-or-ipv6" { - description - "Ethernet or IPv4-or-IPv6 must be present."; - } - key "transport"; - description "Master configuration"; - - grouping MASTER-CONTENT { - description "MASTER CONTENT"; - - container delay-asymmetry { - presence "Indicates a delay-asymmetry node is"+ - " configured."; - description "The delay asymmetry for this master"; - leaf magnitude { - type int32 { - range "-500000000..500000000"; - } - mandatory true; - description - "How much longer the master to slave path - takes than the reverse"; - } - leaf units { - type dt1:Ptp-delay-asymmetry-units; - mandatory true; - description - "The units to use for the delay asymmetry"; - } - } - leaf master-clock-class { - type uint32 { - range "0..255"; - } - description "Master clock class"; - } - leaf non-negotiated { - type boolean; - description - "Enable non-negotiated unicast on this - interface"; - } - leaf priority { - type uint32 { - range "0..255"; - } - description "Master priority"; - } - leaf communication { - type dt1:Ptp-transport; - default "unicast"; - description "Communication Model"; - } - } - leaf transport { - type dt1:Ptp-encap; - description "Master Transport Type"; - } - - list ethernet { - when "../transport = 'ethernet'" { - description "../Transport = Ethernet"; - } - key "master-mac-address"; - description "ethernet"; - leaf master-mac-address { - type yang:mac-address; - description - "Master MAC Address - only used if Transport - is Ethernet"; - } - uses MASTER-CONTENT; - } - - list ipv4-or-ipv6 { - when "../transport = 'ipv4' or ../transport ="+ - " 'ipv6'" { - description - "../Transport = IPv4 or ../Transport = IPv6"; - } - key "master-ip-address"; - description "ipv4 or ipv6"; - leaf master-ip-address { - type inet:ip-address-no-zone; - description - "Master IP Address - used if Transport is - not Ethernet"; - } - uses MASTER-CONTENT; - } - } - } - - container communication { - description "Communication model"; - leaf model { - type dt1:Ptp-transport; - default "unicast"; - description "Communication Model"; - } - leaf target-address-set { - type boolean; - default "false"; - description "Target address set"; - } - leaf target-address { - type string; - description "Target address"; - } - } - - container delay-request-minimum-interval { - description "Minimum delay request interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "1"; - description "Time Period"; - } - } - - container source-ipv6-address { - description "Source IPv6 Address"; - leaf enable { - type boolean; - description "Enable source IPv6 address"; - } - leaf source-ipv6 { - type inet:ipv6-address-no-zone; - description "Source IPv6 address to use"; - } - } - leaf sync-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description "Sync unicast grant duration, in seconds"; - } - leaf general-cos { - type uint32 { - range "0..7"; - } - default "6"; - description "General COS"; - } - leaf sync-timeout { - type uint32 { - range "100..100000"; - } - units "millisecond"; - default "5000"; - description "Sync timeout, in milliseconds"; - } - leaf transport { - type dt1:Ptp-encap; - default "ipv4"; - description "Transport"; - } - leaf announce-timeout { - type uint32 { - range "2..10"; - } - default "3"; - description "Announce Timeout"; - } - leaf cos { - type uint32 { - range "0..7"; - } - default "6"; - description "COS"; - } - leaf port-state { - type dt1:Ptp-port-state; - default "any"; - description "Port state restriction"; - } - leaf delay-response-timeout { - type uint32 { - range "100..100000"; - } - units "millisecond"; - default "5000"; - description "Delay-Response timeout, in milliseconds"; - } - leaf delay-response-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description - "Delay-Response unicast grant duration, in - seconds"; - } - leaf event-cos { - type uint32 { - range "0..7"; - } - default "6"; - description "Event COS"; - } - leaf dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "DSCP"; - } - leaf general-dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "General DSCP"; - } - leaf clock-operation { - type dt1:Ptp-clock-operation; - default "two-step"; - description "Clock Operation"; - } - leaf announce-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description "Announce unicast grant duration, in seconds"; - } - leaf unicast-grant-invalid-request { - type dt1:Ptp-invalid-unicast-grant-request-response; - default "reduce"; - description "Invalid unicast grant request response"; - } - leaf event-dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "Event DSCP"; - } - leaf profile-name { - type xr:Cisco-ios-xr-string; - description "Profile"; - } - } - } - - container logging { - description "PTP logging configuration"; - - container best-master-clock { - description "PTP best master clock logging configuration"; - leaf changes { - type empty; - description "Enable best master clock changes logging"; - } - } - } - - container transparent-clock { - description "Transparent clock configuration"; - - container domains { - description - "Table of domains containing transparent clock - configuration"; - - list domain { - key "domain"; - description "Transparent clock domain configuration"; - leaf domain { - type dt1:Transparent-clock-domain; - description "Domain"; - } - } - } - } - leaf time-of-day-priority { - type uint32 { - range "1..254"; - } - default "100"; - description "Time-of-day priority"; - } - leaf frequency-priority { - type uint32 { - range "1..254"; - } - default "254"; - description "Frequency priority"; - } - leaf enable { - type empty; - description "Enable the precision time protocol"; - } - leaf min-clock-class { - type uint32 { - range "0..255"; - } - description - "Clocks with a clock-class higher than the - minimum clock class will not be considered for - selection as a parent clock."; - } - leaf uncalibrated-clock-class { - type uint32 { - range "0..255"; - } - description - "Clock class to be used while acquiring - phase-lock to a parent clock."; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container ptp { - description "Precision Time Protocol interface configuration"; - - container source-ipv6-address { - description "Source IPv6 Address"; - leaf enable { - type boolean; - description "Enable source IPv6 address"; - } - leaf source-ipv6 { - type inet:ipv6-address-no-zone; - description "Source IPv6 address to use"; - } - } - - container announce-interval { - description "Announce interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "2"; - description "Time Period"; - } - } - - container source-ipv4-address { - description "Source IPv4 Address"; - leaf enable { - type boolean; - description "Enable source IP address"; - } - leaf source-ip { - type inet:ipv4-address-no-zone; - description "Source IP address to use"; - } - } - - container slaves { - description "Table for slave configuration"; - - list slave { - must "ethernet or ipv4-or-ipv6" { - description "Ethernet or IPv4-or-IPv6 must be present."; - } - key "transport"; - description "Slave configuration"; - - grouping SLAVE-CONTENT { - description "SLAVE CONTENT"; - leaf non-negotiated { - type boolean; - description - "Enable non-negotiated unicast on this - interface"; - } - } - leaf transport { - type dt1:Ptp-encap; - description "Slave Transport Type"; - } - - list ethernet { - when "../transport = 'ethernet'" { - description "../Transport = Ethernet"; - } - key "slave-mac-address"; - description "ethernet"; - leaf slave-mac-address { - type yang:mac-address; - description "Slave MAC Address"; - } - uses SLAVE-CONTENT; - } - - list ipv4-or-ipv6 { - when "../transport = 'ipv4' or ../transport = 'ipv6'" { - description - "../Transport = IPv4 or ../Transport = IPv6"; - } - key "slave-ip-address"; - description "ipv4 or ipv6"; - leaf slave-ip-address { - type inet:ip-address-no-zone; - description "Slave IP Address"; - } - uses SLAVE-CONTENT; - } - } - } - - container sync-interval { - description "Sync interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "1"; - description "Time Period"; - } - } - - container masters { - description "Table for master configuration"; - - list master { - must "ethernet or ipv4-or-ipv6" { - description "Ethernet or IPv4-or-IPv6 must be present."; - } - key "transport"; - description "Master configuration"; - - grouping MASTER-CONTENT { - description "MASTER CONTENT"; - - container delay-asymmetry { - presence "Indicates a delay-asymmetry node is"+ - " configured."; - description "The delay asymmetry for this master"; - leaf magnitude { - type int32 { - range "-500000000..500000000"; - } - mandatory true; - description - "How much longer the master to slave path - takes than the reverse"; - } - leaf units { - type dt1:Ptp-delay-asymmetry-units; - mandatory true; - description - "The units to use for the delay asymmetry"; - } - } - leaf master-clock-class { - type uint32 { - range "0..255"; - } - description "Master clock class"; - } - leaf non-negotiated { - type boolean; - description - "Enable non-negotiated unicast on this - interface"; - } - leaf priority { - type uint32 { - range "0..255"; - } - description "Master priority"; - } - leaf communication { - type dt1:Ptp-transport; - default "unicast"; - description "Communication Model"; - } - } - leaf transport { - type dt1:Ptp-encap; - description "Master Transport Type"; - } - - list ethernet { - when "../transport = 'ethernet'" { - description "../Transport = Ethernet"; - } - key "master-mac-address"; - description "ethernet"; - leaf master-mac-address { - type yang:mac-address; - description - "Master MAC Address - only used if Transport - is Ethernet"; - } - uses MASTER-CONTENT; - } - - list ipv4-or-ipv6 { - when "../transport = 'ipv4' or ../transport = 'ipv6'" { - description - "../Transport = IPv4 or ../Transport = IPv6"; - } - key "master-ip-address"; - description "ipv4 or ipv6"; - leaf master-ip-address { - type inet:ip-address-no-zone; - description - "Master IP Address - used if Transport is not - Ethernet"; - } - uses MASTER-CONTENT; - } - } - } - - container communication { - description "Communication model"; - leaf model { - type dt1:Ptp-transport; - default "unicast"; - description "Communication Model"; - } - leaf target-address-set { - type boolean; - default "false"; - description "Target address set"; - } - leaf target-address { - type string; - description "Target address"; - } - } - - container delay-request-minimum-interval { - description "Minimum delay request interval"; - leaf time-type { - type dt1:Ptp-time; - default "interval"; - description "Interval or Frequency"; - } - leaf time-period { - type dt1:Ptp-time-period; - default "1"; - description "Time Period"; - } - } - leaf sync-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description "Sync unicast grant duration, in seconds"; - } - leaf general-cos { - type uint32 { - range "0..7"; - } - default "6"; - description "General COS"; - } - leaf enable { - type empty; - description "Enable the precision time protocol"; - } - leaf sync-timeout { - type uint32 { - range "100..100000"; - } - units "millisecond"; - default "5000"; - description "Sync timeout, in milliseconds"; - } - leaf transport { - type dt1:Ptp-encap; - default "ipv4"; - description "Transport"; - } - leaf profile { - type string; - description "Precision Time Protocol configuration profile"; - } - leaf announce-timeout { - type uint32 { - range "2..10"; - } - default "3"; - description "Announce Timeout"; - } - leaf cos { - type uint32 { - range "0..7"; - } - default "6"; - description "COS"; - } - leaf port-state { - type dt1:Ptp-port-state; - default "any"; - description "Port state restriction"; - } - leaf delay-response-timeout { - type uint32 { - range "100..100000"; - } - units "millisecond"; - default "5000"; - description "Delay-Response timeout, in milliseconds"; - } - leaf local-priority { - type uint32 { - range "1..255"; - } - default "128"; - description "Local priority"; - } - leaf delay-response-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description - "Delay-Response unicast grant duration, in - seconds"; - } - leaf event-cos { - type uint32 { - range "0..7"; - } - default "6"; - description "Event COS"; - } - leaf dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "DSCP"; - } - leaf general-dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "General DSCP"; - } - leaf clock-operation { - type dt1:Ptp-clock-operation; - default "two-step"; - description "Clock Operation"; - } - leaf announce-grant-duration { - type uint32 { - range "60..1000"; - } - units "second"; - default "300"; - description "Announce unicast grant duration, in seconds"; - } - leaf unicast-grant-invalid-request { - type dt1:Ptp-invalid-unicast-grant-request-response; - default "reduce"; - description "Invalid unicast grant request response"; - } - leaf event-dscp { - type uint32 { - range "0..63"; - } - default "46"; - description "Event DSCP"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-datatypes.yang deleted file mode 100644 index aaafd97..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-datatypes.yang +++ /dev/null @@ -1,324 +0,0 @@ -module Cisco-IOS-XR-ptp-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-datatypes"; - - - prefix "ptp-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ptp-time { - type enumeration { - enum interval { - value 0; - description "Time interval in seconds"; - } - enum frequency { - value 1; - description "Frequency per second"; - } - } - description "Ptp time"; - } - typedef Ptp-clock-advertisement-mode { - type enumeration { - enum 1588v2 { - value 0; - description "Use 1588v2 clock selection"; - } - enum telecom-profile { - value 1; - description "Use Telecom Profile clock selection"; - } - } - description "Ptp clock advertisement mode"; - } - typedef Ptp-encap { - type enumeration { - enum ethernet { - value 1; - description "Ethernet Encapsulation"; - } - enum ipv4 { - value 2; - description "IPv4 Encapsulation"; - } - enum ipv6 { - value 3; - description "IPv6 Encapsulation"; - } - } - description "Ptp encap"; - } - typedef Ptp-time-period { - type enumeration { - enum 1 { - value 0; - description "One"; - } - enum 2 { - value 1; - description "Two"; - } - enum 4 { - value 2; - description "Four"; - } - enum 8 { - value 3; - description "Eight"; - } - enum 16 { - value 4; - description "Sixteen"; - } - enum 32 { - value 5; - description "Thirty Two"; - } - enum 64 { - value 6; - description "Sixty Four"; - } - enum 128 { - value 7; - description "One Hundred and Twenty-Eight"; - } - } - description "Ptp time period"; - } - typedef Ptp-clock-operation { - type enumeration { - enum two-step { - value 0; - description "Two-step clock operation"; - } - enum one-step { - value 1; - description "One-step clock operation"; - } - } - description "Ptp clock operation"; - } - typedef Ptp-clock-selection-mode { - type enumeration { - enum 1588v2 { - value 0; - description "Use 1588v2 clock selection"; - } - enum telecom-profile { - value 1; - description "Use Telecom Profile clock selection"; - } - } - description "Ptp clock selection mode"; - } - typedef Ptp-timescale { - type enumeration { - enum ptp { - value 0; - description "PTP timescale"; - } - enum arb { - value 1; - description "ARB timescale"; - } - } - description "Ptp timescale"; - } - typedef Transparent-clock-domain { - type string { - pattern "(all)"; - } - description "all: Set for all domains"; - } - typedef Ptp-delay-asymmetry-units { - type enumeration { - enum nanoseconds { - value 0; - description "Nanoseconds"; - } - enum microseconds { - value 1; - description "Microseconds"; - } - enum milliseconds { - value 2; - description "Milliseconds"; - } - } - description "Ptp delay asymmetry units"; - } - typedef Ptp-time-source { - type enumeration { - enum unknown { - value 0; - description "Unknown"; - } - enum atomic-clock { - value 16; - description "Atomic Clock"; - } - enum gps { - value 32; - description "GPS"; - } - enum terrestrial-radio { - value 48; - description "Terrestrial Radio"; - } - enum ptp { - value 64; - description "PTP"; - } - enum ntp { - value 80; - description "NTP"; - } - enum hand-set { - value 96; - description "Hand set"; - } - enum other { - value 144; - description "Other"; - } - enum internal-oscillator { - value 160; - description "Internal Oscillator"; - } - } - description "Ptp time source"; - } - typedef Ptp-port-state { - type enumeration { - enum any { - value 0; - description "Any port state allowed"; - } - enum slave-only { - value 1; - description "Restrict to slave"; - } - enum master-only { - value 2; - description "Restrict to master"; - } - } - description "Ptp port state"; - } - typedef Ptp-clock-profile { - type enumeration { - enum default { - value 0; - description "Default clock profile"; - } - enum g82651 { - value 1; - description "G.8265.1 profile"; - } - enum g82751 { - value 2; - description "G.8275.1 profile"; - } - enum g82752 { - value 3; - description "G.8275.2 profile"; - } - } - description "Ptp clock profile"; - } - typedef Ptp-transport { - type enumeration { - enum unicast { - value 0; - description "Unicast communication"; - } - enum mixed-mode { - value 1; - description "Mixed-mode communication"; - } - enum multicast { - value 2; - description "Multicast communication"; - } - } - description "Ptp transport"; - } - typedef Ptp-clock-id { - type enumeration { - enum router-mac { - value 0; - description "Use the router's MAC"; - } - enum user-mac { - value 1; - description "Use a user-specified MAC"; - } - enum eui { - value 2; - description "Use a user-specified EUI-64 number"; - } - } - description "Ptp clock id"; - } - typedef Ptp-invalid-unicast-grant-request-response { - type enumeration { - enum reduce { - value 0; - description "Reduce grant parameters"; - } - enum deny { - value 1; - description "Deny grant"; - } - } - description "Ptp invalid unicast grant request response"; - } - typedef Ptp-telecom-clock { - type enumeration { - enum telecom-grandmaster { - value 0; - description "Telecom grandmaster clock"; - } - enum telecom-boundary { - value 1; - description "Telecom boundary clock"; - } - enum telecom-slave { - value 2; - description "Telecom slave clock"; - } - } - description "Ptp telecom clock"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper-sub1.yang deleted file mode 100644 index aab4260..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper-sub1.yang +++ /dev/null @@ -1,1744 +0,0 @@ -submodule Cisco-IOS-XR-ptp-oper-sub1 { - - belongs-to Cisco-IOS-XR-ptp-oper { - prefix Cisco-IOS-XR-ptp-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ptp package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-02" { - description - "Initial version."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ptp-msg-version { - type uint8; - description "Ptp msg version"; - } - typedef Ptp-bag-delay-mechanism { - type enumeration { - enum e2e { - value 0; - description "End to end delay mechanism"; - } - enum p2p { - value 1; - description "Peer to peer delay mechanism"; - } - } - description "Delay Mechanism"; - } - typedef Ptp-bag-telecom-clock { - type enumeration { - enum grandmaster { - value 0; - description "Grandmaster"; - } - enum boundary { - value 1; - description "Boundary"; - } - enum slave { - value 2; - description "Slave"; - } - } - description "Telecom Clock"; - } - typedef Ptp-bag-profile { - type enumeration { - enum default { - value 0; - description "1588v2 profile (default)"; - } - enum g82651 { - value 1; - description "G.8265.1 profile"; - } - enum g82751 { - value 2; - description "G.8275.1 profile"; - } - enum g82752 { - value 3; - description "G.8275.2 profile"; - } - } - description "Profile"; - } - typedef Ptp-bag-optional-string { - type string; - description "Ptp bag optional string"; - } - typedef Ptp-bag-restrict-port-state { - type enumeration { - enum any { - value 0; - description "Any"; - } - enum slave-only { - value 1; - description "Slave only"; - } - enum master-only { - value 2; - description "Master only"; - } - } - description "Restrict Port State"; - } - typedef Im-state { - type uint32; - description "Im state"; - } - typedef Ptp-bag-port-state { - type enumeration { - enum initializing { - value 0; - description "Initializing state"; - } - enum listen { - value 1; - description "Listen state"; - } - enum passive { - value 2; - description "Passive state"; - } - enum pre-master { - value 3; - description "Pre-Master state"; - } - enum master { - value 4; - description "Master state"; - } - enum uncalibrated { - value 5; - description "Uncalibrated state"; - } - enum slave { - value 6; - description "Slave state"; - } - enum faulty { - value 7; - description "Faulty state"; - } - } - description "Port State"; - } - typedef Ptp-delay-asymmetry { - type int32; - description "Ptp delay asymmetry"; - } - typedef Bag-in6-addr { - type inet:ipv6-address; - description "Bag in6 addr"; - } - typedef Ptp-bag-encap { - type enumeration { - enum unknown { - value 0; - description "Unknown encapsulation"; - } - enum ethernet { - value 1; - description "Ethernet encapsulation"; - } - enum ipv4 { - value 2; - description "IPv4 encapsulation"; - } - enum ipv6 { - value 3; - description "IPv6 encapsulation"; - } - } - description "Encapsulation"; - } - typedef Ptp-domain-num { - type uint8; - description "Ptp domain num"; - } - typedef Ptp-bag-communication-model { - type enumeration { - enum unicast { - value 0; - description "Unication communication"; - } - enum mixed-mode { - value 1; - description "Mixed-mode communication"; - } - enum multicast { - value 2; - description "Multicast communication"; - } - } - description "Communication Model"; - } - typedef Ptp-bag-clock-leap-seconds { - type enumeration { - enum none { - value 0; - description "No leap seconds"; - } - enum leap59 { - value 1; - description "The last minute of the day has 59 seconds"; - } - enum leap61 { - value 2; - description "The last minute of the day has 61 seconds"; - } - } - units "second"; - description "Leap Seconds"; - } - typedef Ptp-bag-clock-timescale { - type enumeration { - enum ptp { - value 0; - description "PTP timescale"; - } - enum arb { - value 1; - description "ARB timescale"; - } - } - description "Timescale"; - } - typedef Ptp-bag-clock-time-source { - type enumeration { - enum unknown { - value 0; - description "Unknown"; - } - enum atomic { - value 16; - description "Atomic clock"; - } - enum gps { - value 32; - description "GPS clock"; - } - enum terrestrial-radio { - value 48; - description "Terrestrial Radio"; - } - enum ptp { - value 64; - description "Precision Time Protocol"; - } - enum ntp { - value 80; - description "Network Time Protocol"; - } - enum hand-set { - value 96; - description "Hand set"; - } - enum other { - value 144; - description "Other Time Source"; - } - enum internal-oscillator { - value 160; - description "Internal Oscillator"; - } - } - description "Time source"; - } - typedef Ptp-clock-oslv { - type uint16; - description "Ptp clock oslv"; - } - typedef Ptp-clock-accuracy { - type uint8; - description "Ptp clock accuracy"; - } - typedef Ptp-clock-class { - type uint8; - description "Ptp clock class"; - } - typedef Ptp-clock-priority { - type uint8; - description "Ptp clock priority"; - } - typedef Ptp-clock-id1 { - type uint64; - description "Ptp clock id1"; - } - typedef Ptp-port-num { - type uint16; - description "Ptp port num"; - } - - grouping PTP-GRANDMASTER-INFO { - description "Grandmaster clock information"; - - container clock-properties { - description "Grandmaster clock"; - uses PTP-BAG-CLOCK; - } - - container address { - description "The grandmaster's address information"; - uses PTP-BAG-ADDRESS; - } - leaf used-for-time { - type boolean; - description - "Whether the grandmaster is setting time-of-day - on the system"; - } - leaf used-for-frequency { - type boolean; - description - "Whether the grandmaster is setting frequency on - the system"; - } - leaf known-for-time { - type uint32; - units "second"; - description - "How long the clock has been grandmaster for, in - seconds"; - } - leaf domain { - type Ptp-domain-num; - description "The PTP domain that the grandmaster is in"; - } - } - - grouping PTP-BAG-GL-CONFIG-ERRORS { - description "Global Configuration Errors"; - leaf domain { - type boolean; - description "Domain not compatible with configured profile"; - } - leaf profile-priority1-config { - type boolean; - description - "Priority1 configuration is not compatible with - configured profile"; - } - leaf profile-priority2-value { - type boolean; - description - "Priority2 value is not compatible with - configured profile"; - } - } - - grouping PTP-GL-CONFIG-ERRORS-INFO { - description "Global configuration errors information"; - - container configuration-errors { - description "Configuration Errors"; - uses PTP-BAG-GL-CONFIG-ERRORS; - } - leaf clock-profile { - type Ptp-bag-profile; - description "The clock profile"; - } - leaf clock-profile-set { - type boolean; - description "Is the clock profile set"; - } - leaf telecom-clock-type { - type Ptp-bag-telecom-clock; - description "Configured telecom clock type"; - } - leaf domain-number { - type Ptp-domain-num; - description "The PTP domain"; - } - leaf priority2 { - type Ptp-clock-priority; - description "The configured priority2 value"; - } - } - - grouping PTP-TIME-PROPERTIES-DS-INFO { - description "timeProprtiesDS information"; - leaf current-utc-offset { - type int16; - description "The current UTC offset"; - } - leaf current-utc-offset-valid { - type boolean; - description "Whether the current UTC offset is valid"; - } - leaf leap59 { - type boolean; - description - "Whether the last minute of the day has 59 - seconds"; - } - leaf leap61 { - type boolean; - description - "Whether the last minute of the day has 61 - seconds"; - } - leaf time-traceable { - type boolean; - description "Whether the time-of-day source is traceable"; - } - leaf frequency-traceable { - type boolean; - description "Whther the frequency source is traceable"; - } - leaf ptp-timescale { - type boolean; - description - "Whether the timescale being used is the PTP - timescale"; - } - leaf time-source { - type Ptp-bag-clock-time-source; - description "The physical time-source of the GM clock"; - } - } - - grouping PTP-PORT-DS-INFO { - description "portDS information"; - leaf clock-id { - type Ptp-clock-id1; - description "The ID of the local-clock"; - } - leaf port-number { - type Ptp-port-num; - description "The port number"; - } - leaf port-state { - type Ptp-bag-port-state; - description "The port state"; - } - leaf log-min-delay-req-interval { - type int16; - description - "The log (base 2) of the minimum delay-request - interval"; - } - leaf peer-mean-path-delay { - type int64; - description "The mean path delay between peers"; - } - leaf log-announce-interval { - type int16; - description "The log (base 2) of the announce interval"; - } - leaf annoucne-receipt-timeout { - type uint32; - description "The announce timeout"; - } - leaf log-sync-interval { - type int16; - description "The log (base 2) of the sync interval"; - } - leaf delay-mechanism { - type Ptp-bag-delay-mechanism; - description "The delay mechanism being used on this port"; - } - leaf log-min-p-delay-req-interval { - type int16; - description - "The log (base 2) of the minimum - peer-delay-request interval"; - } - leaf version-number { - type Ptp-msg-version; - description "The version of IEEE 1588 being run"; - } - leaf local-priority { - type uint32; - description "Local priority of the local clock"; - } - leaf master-only { - type boolean; - description "Is the port master-only?"; - } - leaf signal-fail { - type boolean; - description "Signal fail status of the port"; - } - } - - grouping PTP-PARENT-DS-INFO { - description "parentDS information"; - leaf parent-clock-id { - type Ptp-clock-id1; - description "The Clock ID of the parent clock"; - } - leaf parent-port-number { - type Ptp-port-num; - description - "The port number on which the parent clock is - received"; - } - leaf parent-stats { - type boolean; - description "Whether the parentStats is valid"; - } - leaf observed-parent-oslv { - type Ptp-clock-oslv; - description "The observed parent offset scaled log variance"; - } - leaf observed-parent-clock-phase-change-rate { - type uint32; - description - "The observed rate of change of phase of the - parent clock"; - } - leaf gm-clock-id { - type Ptp-clock-id1; - description "The Clock ID of the GM"; - } - leaf gm-clock-class { - type Ptp-clock-class; - description "The clock class of the GM"; - } - leaf gm-clock-accuracy { - type Ptp-clock-accuracy; - description "The clock accuracy of the GM"; - } - leaf gmoslv { - type Ptp-clock-oslv; - description "The offset scaled log variance of the GM"; - } - leaf gm-priority1 { - type Ptp-clock-priority; - description "The priority1 of the GM"; - } - leaf gm-priority2 { - type Ptp-clock-priority; - description "The priority2 of the GM"; - } - } - - grouping PTP-CURRENT-DS-INFO { - description "currentDS information"; - leaf steps-removed { - type uint16; - description - "How many steps removed this clock is from the GM"; - } - leaf offset-from-master { - type int64; - description "The UTC offset of the local-clock from the GM"; - } - leaf mean-path-delay { - type int64; - description - "The mean path delay bewteen the foreign-master - and the local-clock"; - } - } - - grouping PTP-DEFAULT-DS-INFO { - description "defaultDS information"; - leaf two-step-flag { - type boolean; - description "Is the twoStepFlag set for this clock"; - } - leaf clock-id { - type Ptp-clock-id1; - description "The local-clock ID"; - } - leaf number-ports { - type uint32; - description "The number of active PTP ports on this clock"; - } - leaf clock-class { - type Ptp-clock-class; - description "The clock class of the local-clock"; - } - leaf clock-accuracy { - type Ptp-clock-accuracy; - description "The accuracy of the local-clock"; - } - leaf oslv { - type Ptp-clock-oslv; - description - "The offset scaled log variance of the - local-clock"; - } - leaf priority1 { - type Ptp-clock-priority; - description "The priority1 of the local-clock"; - } - leaf priority2 { - type Ptp-clock-priority; - description "The priority2 of the local-clock"; - } - leaf domain-number { - type Ptp-domain-num; - description "The domain of the local-clock"; - } - leaf slave-only { - type boolean; - description - "Whether the local-clock is globally configured - as slave-only"; - } - leaf local-priority { - type uint32; - description "Local priority of the local clock"; - } - leaf signal-fail { - type boolean; - description "Signal fail status of the local clock"; - } - } - - grouping PTP-BAG-LEAP-SECONDS-ENTRY { - description "Upcoming PTP leap-second entry"; - leaf offset { - type int16; - units "second"; - description "The UTC offset (TAI - UTC), in seconds"; - } - leaf offset-start-date { - type uint64; - description - "The UNIX timestamp at which the offset becomes - valid"; - } - leaf offset-applied { - type boolean; - description "Indicates whether the offset has been applied"; - } - } - - grouping PTP-LEAP-SECONDS-INFO { - description "PTP leap-seconds information"; - leaf current-offset { - type int16; - units "second"; - description "The current UTC offset, in seconds"; - } - leaf offset-valid { - type boolean; - description "Is the current UTC offset known to be valid?"; - } - leaf source-file { - type Ptp-bag-optional-string; - units "second"; - description - "The URL of the file containing upcoming leap - seconds"; - } - leaf source-expiry-date { - type uint32; - units "second"; - description - "Source file expiry timestamp, in seconds since - UNIX epoch"; - } - leaf polling-frequency { - type uint32; - units "day"; - description "Source file polling frequency, in days"; - } - - list leap-second { - description "The list of upcoming leap second updates"; - uses PTP-BAG-LEAP-SECONDS-ENTRY; - } - } - - grouping PTP-ADVERTISED-CLOCK-INFO { - description "Advertised clock information"; - - container clock-properties { - description "Advertised Clock"; - uses PTP-BAG-CLOCK; - } - leaf domain { - type Ptp-domain-num; - description - "The PTP domain of that the advertised clock is - in"; - } - leaf time-source-configured { - type boolean; - description - "Whether the advertised time source is configured"; - } - leaf received-time-source { - type Ptp-bag-clock-time-source; - description "The time source received from the parent clock"; - } - leaf timescale-configured { - type boolean; - description "Whether the advertised timescale is configured"; - } - leaf received-timescale { - type Ptp-bag-clock-timescale; - description "The timescale received from the parent clock"; - } - } - - grouping PTP-BAG-PEER-PACKET-COUNTERS { - description "PTP peer packet counters"; - - container address { - description "Peer address"; - uses PTP-BAG-ADDRESS; - } - - container counters { - description "Packet counters"; - uses PTP-BAG-PACKET-COUNTERS; - } - } - - grouping PTP-IF-PACKET-COUNTER-INFO { - description "PTP interface packet counters"; - - container counters { - description "Packet counters"; - uses PTP-BAG-PACKET-COUNTERS; - } - - list peer-counter { - description "Packet counters for each peer on this interface"; - uses PTP-BAG-PEER-PACKET-COUNTERS; - } - } - - grouping PTP-LOCAL-CLOCK-INFO { - description "Local clock information"; - - container clock-properties { - description "Local clock"; - uses PTP-BAG-CLOCK; - } - leaf domain { - type Ptp-domain-num; - description "The PTP domain of the local clock"; - } - } - - grouping PTP-BAG-CONFIG-ERRORS { - description "Configuration Errors"; - leaf global-ptp { - type boolean; - description "PTP enabled on interface but not globally"; - } - leaf ethernet-transport { - type boolean; - description "Ethernet transport configured but not supported"; - } - leaf one-step { - type boolean; - description - "One step clock operation configured but not - supported"; - } - leaf slave { - type boolean; - description "Slave-operation configured but not supported"; - } - leaf ipv6 { - type boolean; - description "IPv6 transport configured but not supported"; - } - leaf multicast { - type boolean; - description "Multicast configured but not supported"; - } - leaf profile-not-global { - type boolean; - description - "Profile is referenced but not globally - configured"; - } - leaf local-priority { - type boolean; - description - "Local priority configuration is not compatible - with profile"; - } - leaf profile-ethernet { - type boolean; - description - "Ethernet transport is not compatible with - profile"; - } - leaf profile-ipv4 { - type boolean; - description "IPv6 transport is not compatible with profile"; - } - leaf profile-ipv6 { - type boolean; - description "IPv6 transport is not compatible with profile"; - } - leaf profile-unicast { - type boolean; - description "Unicast is not compatible with profile"; - } - leaf profile-multicast { - type boolean; - description "Multicast is not compatible with profile"; - } - leaf profile-mixed { - type boolean; - description - "Mixed-mode multicast is not compatible with - profile"; - } - leaf profile-master-unicast { - type boolean; - description "Unicast master is not compatible with profile"; - } - leaf profile-master-multicast { - type boolean; - description "Multicast master is not compatible with profile"; - } - leaf profile-master-mixed { - type boolean; - description - "Mixed-mode multicast master is not compatible - with profile"; - } - leaf target-address-ipv4 { - type boolean; - description - "Ethernet multicast target-address is configured, - but transport is IPv4"; - } - leaf target-address-ipv6 { - type boolean; - description - "Ethernet multicast target-address is configured, - but transport is IPv6"; - } - leaf profile-port-state { - type boolean; - description - "Port state restriction is not compatible with - telecom clock type"; - } - leaf profile-announce-interval { - type boolean; - description - "Announce interval is not compatible with profile"; - } - leaf profile-sync-interval { - type boolean; - description "Sync interval is not compatible with profile"; - } - leaf profile-delay-req-interval { - type boolean; - description - "Delay request interval is not compatible with - profile"; - } - leaf profile-sync-timeout { - type boolean; - description - "Sync timeout configuration is not compatible - with profile"; - } - leaf profile-delay-resp-timeout { - type boolean; - description - "Delay response timeout configuration is not - compatible with profile"; - } - leaf invalid-grant-reduction { - type boolean; - description - "Reducing invalid unicast grants is not - compatible with configured profile"; - } - } - - grouping PTP-IF-CONFIG-ERRORS-ENTRY { - description "Configuration Errors Entry"; - - container configuration-errors { - description "Configuration Errors"; - uses PTP-BAG-CONFIG-ERRORS; - } - leaf configuration-profile-name { - type Ptp-bag-optional-string; - description - "Configuration profile name, if a profile is - selected"; - } - leaf clock-profile { - type Ptp-bag-profile; - description "The clock profile"; - } - leaf telecom-clock-type { - type Ptp-bag-telecom-clock; - description "The telecom clock type"; - } - leaf restrict-port-state { - type Ptp-bag-restrict-port-state; - description "Restriction on the port state"; - } - } - - grouping PTP-BAG-DROP-REASONS { - description "Drop Reasons"; - leaf not-ready { - type uint32; - description "Not ready for packets"; - } - leaf wrong-domain { - type uint32; - description "Wrong domain number"; - } - leaf too-short { - type uint32; - description "Packet too short"; - } - leaf looped-same-port { - type uint32; - description "Local packet received, same port number"; - } - leaf looped-higher-port { - type uint32; - description "Local packet received, higher port number"; - } - leaf looped-lower-port { - type uint32; - description "Local packet received, lower port number"; - } - leaf no-timestamp { - type uint32; - description "No timestamp received with packet"; - } - leaf zero-timestamp { - type uint32; - description "Zero timestamp received with packet"; - } - leaf invalid-tl-vs { - type uint32; - description "Invalid TLVs received in packet"; - } - leaf not-for-us { - type uint32; - description "Packet not for us"; - } - leaf not-listening { - type uint32; - description "Not listening for packets on this interface"; - } - leaf wrong-master { - type uint32; - description "Packet from incorrect master"; - } - leaf unknown-master { - type uint32; - description "Packet from unknown master"; - } - leaf not-master { - type uint32; - description "Packet only handled in Master state"; - } - leaf not-slave { - type uint32; - description "Packet only handled in Slave state"; - } - leaf not-granted { - type uint32; - description "Packet from peer not granted unicast"; - } - leaf too-slow { - type uint32; - description "Packet received too late"; - } - leaf invalid-packet { - type uint32; - description "Invalid packet or packet metadata"; - } - leaf wrong-sequence-id { - type uint32; - description "Unexpected sequence ID"; - } - leaf no-offload-session { - type uint32; - description "No offload session"; - } - leaf not-supported { - type uint32; - description "PTP packet type not supported"; - } - leaf min-clock-class { - type uint32; - description "Clock class below minimum"; - } - leaf g8275-1-incompatible { - type uint32; - description "Packet not compatible with G.8275.1 profile"; - } - leaf g8275-2-incompatible { - type uint32; - description "Packet not compatible with G.8275.2 profile"; - } - } - - grouping PTP-BAG-PACKET-COUNTERS { - description "PTP packet counters"; - leaf announce-sent { - type uint32; - description "Number of announce packets sent"; - } - leaf announce-received { - type uint32; - description "Number of announce packets received"; - } - leaf announce-dropped { - type uint32; - description "Number of announce packets dropped"; - } - leaf sync-sent { - type uint32; - description "Number of sync packets sent"; - } - leaf sync-received { - type uint32; - description "Number of sync packets received"; - } - leaf sync-dropped { - type uint32; - description "Number of sync packetsdropped"; - } - leaf follow-up-sent { - type uint32; - description "Number of follow-up packets sent"; - } - leaf follow-up-received { - type uint32; - description "Number of follow-up packets received"; - } - leaf follow-up-dropped { - type uint32; - description "Number of follow-up packets dropped"; - } - leaf delay-request-sent { - type uint32; - description "Number of delay-request packets sent"; - } - leaf delay-request-received { - type uint32; - description "Number of delay-request packets received"; - } - leaf delay-request-dropped { - type uint32; - description "Number of delay-request packets dropped"; - } - leaf delay-response-sent { - type uint32; - description "Number of delay-response packets sent"; - } - leaf delay-response-received { - type uint32; - description "Number of delay-response packets received"; - } - leaf delay-response-dropped { - type uint32; - description "Number of delay-response packets dropped"; - } - leaf peer-delay-request-sent { - type uint32; - description "Number of peer-delay-request packets sent"; - } - leaf peer-delay-request-received { - type uint32; - description "Number of peer-delay-request packets received"; - } - leaf peer-delay-request-dropped { - type uint32; - description "Number of peer-delay-request packets dropped"; - } - leaf peer-delay-response-sent { - type uint32; - description "Number of peer-delay-response packets sent"; - } - leaf peer-delay-response-received { - type uint32; - description "Number of peer-delay-response packets received"; - } - leaf peer-delay-response-dropped { - type uint32; - description "Number of peer-delay-response packets dropped"; - } - leaf peer-delay-response-follow-up-sent { - type uint32; - description - "Number of peer-delay-response follow-up packets - sent"; - } - leaf peer-delay-response-follow-up-received { - type uint32; - description - "Number of peer-delay-response follow-up packets - received"; - } - leaf peer-delay-response-follow-up-dropped { - type uint32; - description - "Number of peer-delay-response follow-up packets - dropped"; - } - leaf signaling-sent { - type uint32; - description "Number of signaling packets sent"; - } - leaf signaling-received { - type uint32; - description "Number of signaling packets received"; - } - leaf signaling-dropped { - type uint32; - description "Number of signaling packets dropped"; - } - leaf management-sent { - type uint32; - description "Number of management messages sent"; - } - leaf management-received { - type uint32; - description "Number of management messages received"; - } - leaf management-dropped { - type uint32; - description "Number of management messages dropped"; - } - leaf other-packets-sent { - type uint32; - description "Number of other packets sent"; - } - leaf other-packets-received { - type uint32; - description "Number of other packets received"; - } - leaf other-packets-dropped { - type uint32; - description "Number of other packets dropped"; - } - leaf total-packets-sent { - type uint32; - description "Total number of packets sent"; - } - leaf total-packets-received { - type uint32; - description "Total number of packets received"; - } - leaf total-packets-dropped { - type uint32; - description "Total number of packets dropped"; - } - } - - grouping PTP-NODE-PACKET-COUNTER-INFO { - description "PTP node packet counters"; - - container counters { - description "Packet counters"; - uses PTP-BAG-PACKET-COUNTERS; - } - - container drop-reasons { - description "Drop reasons"; - uses PTP-BAG-DROP-REASONS; - } - } - - grouping PTP-BAG-UNICAST-PEER { - description "PTP Unicast Peer"; - - container address { - description "The address of the unicast peer"; - uses PTP-BAG-ADDRESS; - } - - container announce-grant { - description "Unicast grant information for announce messages"; - uses PTP-BAG-UNICAST-GRANT; - } - - container sync-grant { - description "Unicast grant information for sync messages"; - uses PTP-BAG-UNICAST-GRANT; - } - - container delay-response-grant { - description - "Unicast grant information for delay-response - messages"; - uses PTP-BAG-UNICAST-GRANT; - } - } - - grouping PTP-IF-UNICAST-PEER-INFO { - description "PTP interface unicast peers"; - leaf name { - type string; - description "Interface name"; - } - leaf port-number { - type Ptp-port-num; - description "Port number"; - } - - list peers { - description "Unicast Peers"; - uses PTP-BAG-UNICAST-PEER; - } - } - - grouping PTP-BAG-MASTER-TABLE-ENTRY { - description "PTP Master Table Entry"; - - container address { - description "The address of the master clock"; - uses PTP-BAG-ADDRESS; - } - leaf communication-model { - type Ptp-bag-communication-model; - description - "The configured communication model of the master - clock"; - } - leaf priority { - type uint8; - description "The priority of the master clock, if it is set"; - } - leaf known { - type boolean; - description - "Whether the interface is receiving messages from - this master"; - } - leaf qualified { - type boolean; - description - "The master is qualified for best master clock - selection"; - } - leaf is-grandmaster { - type boolean; - description "Whether this is the grandmaster"; - } - leaf ptsf-loss-announce { - type uint8; - description - "Announced messages are not being received from - the master"; - } - leaf ptsf-loss-sync { - type uint8; - description - "Sync messages are not being received from the - master"; - } - leaf is-nonnegotiated { - type boolean; - description "Whether this master uses non-negotiated unicast"; - } - } - - grouping PTP-IF-INFO { - description "PTP interface information"; - - container mac-address { - description - "MAC address, if Ethernet encapsulation is being - used"; - uses PTP-BAG-MAC-ADDR-TYPE; - } - leaf port-state { - type Ptp-bag-port-state; - description "Port state"; - } - leaf port-number { - type Ptp-port-num; - description "Port number"; - } - leaf line-state { - type Im-state; - description "Line state"; - } - leaf encapsulation { - type Ptp-bag-encap; - description "Encapsulation"; - } - leaf ipv6-address { - type Bag-in6-addr; - description - "Ipv6 address, if IPv6 encapsulation is being - used"; - } - leaf ipv4-address { - type inet:ipv4-address; - description - "IPv4 address, if IPv4 encapsulation is being - used"; - } - leaf two-step { - type boolean; - description "Two step delay-request mechanism is being used"; - } - leaf communication-model { - type Ptp-bag-communication-model; - description "Communication model configured on the interface"; - } - leaf log-sync-interval { - type int32; - description "Log of the interface's sync interval"; - } - leaf log-announce-interval { - type int32; - description "Log of the interface's announce interval"; - } - leaf announce-timeout { - type uint32; - description "Announce timeout"; - } - leaf log-min-delay-request-interval { - type int32; - description - "Log of the interface's Minimum delay-request - interval"; - } - leaf configured-port-state { - type Ptp-bag-restrict-port-state; - description "The configured port state"; - } - leaf supports-one-step { - type boolean; - description "The interface supports one-step operation"; - } - leaf supports-two-step { - type boolean; - description "The interface supports two-step operation"; - } - leaf supports-ethernet { - type boolean; - description "The interface supports ethernet transport"; - } - leaf supports-multicast { - type boolean; - description "The interface supports multicast"; - } - leaf supports-ipv6 { - type boolean; - description "The interface supports IPv6 transport"; - } - leaf supports-slave { - type boolean; - description "The interface supports operation in slave mode"; - } - leaf supports-source-ip { - type boolean; - description "The interface supports source ip configuration"; - } - leaf max-sync-rate { - type uint8; - description - "The maximum rate of sync packets on the - interface"; - } - leaf event-cos { - type uint32; - description - "The class of service used on the interface for - event messages"; - } - leaf general-cos { - type uint32; - description - "The class of service used on the interface for - general messages"; - } - leaf event-dscp { - type uint32; - description - "The DSCP class used on the interface for event - messages"; - } - leaf general-dscp { - type uint32; - description - "The DSCP class used on the interface for general - messages"; - } - leaf unicast-peers { - type uint32; - description - "The number of unicast peers known by the - interface"; - } - leaf local-priority { - type uint8; - description "Local priority, for the G.8275.1 PTP profile"; - } - leaf signal-fail { - type boolean; - description "Signal fail status of the interface"; - } - - list master-table { - description "The interface's master table"; - uses PTP-BAG-MASTER-TABLE-ENTRY; - } - } - - grouping PTP-SUMMARY-INFO { - description "PTP summary information"; - leaf port-state-init-count { - type uint32; - description "Number of interfaces in 'Init' port state"; - } - leaf port-state-listening-count { - type uint32; - description "Number of interfaces in 'Listening' port state"; - } - leaf port-state-passive-count { - type uint32; - description "Number of interfaces in 'Passive' port state"; - } - leaf port-state-pre-master-count { - type uint32; - description "Number of interfaces in 'Pre-Master' port state"; - } - leaf port-state-master-count { - type uint32; - description "Number of interfaces in 'Master' port state"; - } - leaf port-state-slave-count { - type uint32; - description "Number of interfaces in 'Slave' port state"; - } - leaf port-state-uncalibrated-count { - type uint32; - description - "Number of interfaces in 'Uncalibrated port state"; - } - leaf port-state-faulty-count { - type uint32; - description "Number of interfaces in 'Faulty' port state"; - } - leaf total-interfaces { - type uint32; - description "Total number of interfaces"; - } - leaf total-interfaces-valid-port-num { - type uint32; - description - "Total number of interfaces with a valid port - number"; - } - } - - grouping PTP-BAG-UNICAST-GRANT { - description "PTP Unicast Grant"; - leaf log-grant-interval { - type int8; - description "Log of the interval which has been granted"; - } - leaf grant-duration { - type uint32; - description "Duraction of the grant"; - } - } - - grouping PTP-BAG-IPV6-ADDR-TYPE { - description "PTP BAG IPV6 ADDR TYPE"; - leaf ipv6-address { - type Bag-in6-addr; - description "IPv6 Address"; - } - } - - grouping PTP-BAG-MAC-ADDR-TYPE { - description "Mac Address"; - leaf macaddr { - type yang:mac-address; - description "macaddr"; - } - } - - grouping PTP-BAG-ADDRESS { - description "Address"; - - container mac-address { - when "../encapsulation = 'ethernet'" { - description "../Encapsulation = 'Ethernet'"; - } - description "Ethernet MAC address"; - uses PTP-BAG-MAC-ADDR-TYPE; - } - - container ipv6-address { - when "../encapsulation = 'ipv6'" { - description "../Encapsulation = 'IPv6'"; - } - description "IPv6 address"; - uses PTP-BAG-IPV6-ADDR-TYPE; - } - leaf encapsulation { - type Ptp-bag-encap; - description "Encapsulation"; - } - leaf address-unknown { - when "../encapsulation = 'unknown'" { - description "../Encapsulation = 'Unknown'"; - } - type boolean; - description "Unknown address type"; - } - leaf ipv4-address { - when "../encapsulation = 'ipv4'" { - description "../Encapsulation = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - } - - grouping PTP-BAG-PORT-ID { - description "Port ID"; - leaf clock-id { - type Ptp-clock-id1; - description "Clock ID"; - } - leaf port-number { - type Ptp-port-num; - description "Port number"; - } - } - - grouping PTP-BAG-CLOCK-UTC-OFFSET { - description "PTP Clock UTC offset"; - leaf current-offset { - type int16; - description "Current offset"; - } - leaf offset-valid { - type boolean; - description "The current offset is valid"; - } - } - - grouping PTP-BAG-CLOCK { - description "PTP Clock"; - - container utc-offset { - description "UTC offset"; - uses PTP-BAG-CLOCK-UTC-OFFSET; - } - - container receiver { - description "Receiver"; - uses PTP-BAG-PORT-ID; - } - - container sender { - description "Sender"; - uses PTP-BAG-PORT-ID; - } - leaf clock-id { - type Ptp-clock-id1; - description "Clock ID"; - } - leaf priority1 { - type Ptp-clock-priority; - description "Priority 1"; - } - leaf priority2 { - type Ptp-clock-priority; - description "Priority 2"; - } - leaf class { - type Ptp-clock-class; - description "Class"; - } - leaf accuracy { - type Ptp-clock-accuracy; - description "Accuracy"; - } - leaf offset-log-variance { - type Ptp-clock-oslv; - description "Offset log variance"; - } - leaf steps-removed { - type uint16; - description "Steps removed"; - } - leaf time-source { - type Ptp-bag-clock-time-source; - description "Time source"; - } - leaf frequency-traceable { - type boolean; - description "The clock is frequency traceable"; - } - leaf time-traceable { - type boolean; - description "The clock is time traceable"; - } - leaf timescale { - type Ptp-bag-clock-timescale; - description "Timescale"; - } - leaf leap-seconds { - type Ptp-bag-clock-leap-seconds; - units "second"; - description "Leap Seconds"; - } - leaf local { - type boolean; - description "The clock is the local clock"; - } - leaf configured-clock-class { - type Ptp-clock-class; - description "The configured clock class"; - } - leaf configured-priority { - type Ptp-clock-priority; - description "The configured priority"; - } - } - - grouping PTP-BAG-FOREIGN-CLOCK { - description "PTP Foreign Clock"; - - container foreign-clock { - description "Foreign clock information"; - uses PTP-BAG-CLOCK; - } - - container address { - description "The address of the clock"; - uses PTP-BAG-ADDRESS; - } - - container announce-grant { - description "Unicast grant information for announce messages"; - uses PTP-BAG-UNICAST-GRANT; - } - - container sync-grant { - description "Unicast grant information for sync messages"; - uses PTP-BAG-UNICAST-GRANT; - } - - container delay-response-grant { - description - "Unicast grant information for delay-response - messages"; - uses PTP-BAG-UNICAST-GRANT; - } - leaf is-qualified { - type boolean; - description - "The clock is qualified for best master clock - selection"; - } - leaf is-grandmaster { - type boolean; - description - "This clock is the currently selected grand - master clock"; - } - leaf communication-model { - type Ptp-bag-communication-model; - description - "The communication model configured on this clock"; - } - leaf is-known { - type boolean; - description "This clock is known by this router"; - } - leaf time-known-for { - type uint32; - units "second"; - description - "How long the clock has been known by this router - for, in seconds"; - } - leaf foreign-domain { - type Ptp-domain-num; - description "The PTP domain that the foreign clock is in"; - } - leaf configured-priority { - type Ptp-clock-priority; - description "Priority configured for the clock, if any"; - } - leaf configured-clock-class { - type Ptp-clock-class; - description "Clock class configured for the clock, if any"; - } - leaf delay-asymmetry { - type Ptp-delay-asymmetry; - description - "Delay asymmetry configured for the clock, if any"; - } - leaf ptsf-loss-announce { - type boolean; - description - "Announced messages are not being received from - the master"; - } - leaf ptsf-loss-sync { - type boolean; - description - "Sync messages are not being received from the - master"; - } - } - - grouping PTP-IF-CLOCK-INFO { - description "PTP foreign clock information"; - leaf port-number { - type Ptp-port-num; - description "Port number"; - } - - list foreign-clock { - description "Foreign clocks received on this interface"; - uses PTP-BAG-FOREIGN-CLOCK; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper.yang deleted file mode 100644 index 2ce5fb0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-oper.yang +++ /dev/null @@ -1,284 +0,0 @@ -module Cisco-IOS-XR-ptp-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper"; - - - prefix "ptp-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ptp-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-ptp-oper-sub1 { - revision-date 2017-02-02; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ptp package operational data. - - This module contains definitions - for the following management objects: - ptp: PTP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-02" { - description - "Initial version."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ptp { - config false; - description "PTP operational data"; - - container nodes { - description "Table for node-specific operational data"; - - list node { - key "node-name"; - description - "Node-specific operational data for a given node"; - - container node-interface-foreign-masters { - description - "Table for node foreign master clock - operational data"; - - list node-interface-foreign-master { - key "interface-name"; - description - "Node interface foreign master clock - operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-CLOCK-INFO; - } - } - - container summary { - description "Node summary operational data"; - uses PTP-SUMMARY-INFO; - } - - container node-interfaces { - description "Table for node interface operational data"; - - list node-interface { - key "interface-name"; - description "Node interface operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-INFO; - } - } - - container node-interface-unicast-peers { - description - "Table for node unicast peers operational data"; - - list node-interface-unicast-peer { - key "interface-name"; - description - "Node interface unicast peers operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-UNICAST-PEER-INFO; - } - } - - container packet-counters { - description "Node packet counter operational data"; - uses PTP-NODE-PACKET-COUNTER-INFO; - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - - container interface-configuration-errors { - description - "Table for interface configuration error - operational data"; - - list interface-configuration-error { - key "interface-name"; - description - "Interface configuration error operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-CONFIG-ERRORS-ENTRY; - } - } - - container interface-foreign-masters { - description - "Table for interface foreign master clock - operational data"; - - list interface-foreign-master { - key "interface-name"; - description - "Interface foreign master clock operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-CLOCK-INFO; - } - } - - container local-clock { - description "Local clock operational data"; - uses PTP-LOCAL-CLOCK-INFO; - } - - container interface-packet-counters { - description - "Table for interface packet counter operational - data"; - - list interface-packet-counter { - key "interface-name"; - description "Interface packet counter operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-PACKET-COUNTER-INFO; - } - } - - container advertised-clock { - description "Advertised clock operational data"; - uses PTP-ADVERTISED-CLOCK-INFO; - } - - container leap-seconds { - description "Upcoming leap-seconds information"; - uses PTP-LEAP-SECONDS-INFO; - } - - container interfaces { - description "Table for interface operational data"; - - list interface { - key "interface-name"; - description "Interface operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-INFO; - } - } - - container dataset { - description "Global PTP datasets"; - - container default-ds { - description - "defaultDS information as described in IEEE - 1588-2008"; - uses PTP-DEFAULT-DS-INFO; - } - - container current-ds { - description - "currentDS information as described in IEEE - 1588-2008"; - uses PTP-CURRENT-DS-INFO; - } - - container parent-ds { - description - "parentDS information as described in IEEE - 1588-2008"; - uses PTP-PARENT-DS-INFO; - } - - container port-dses { - description "Table for portDS information"; - - list port-ds { - key "interface-name"; - description "PortDS information"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-PORT-DS-INFO; - } - } - - container time-properties-ds { - description - "timePropertiesDS information as described in - IEEE 1588-2008"; - uses PTP-TIME-PROPERTIES-DS-INFO; - } - } - - container global-configuration-error { - description "Global configuration error operational data"; - uses PTP-GL-CONFIG-ERRORS-INFO; - } - - container grandmaster { - description "Grandmaster clock operational data"; - uses PTP-GRANDMASTER-INFO; - } - - container interface-unicast-peers { - description - "Table for interface unicast peers operational - data"; - - list interface-unicast-peer { - key "interface-name"; - description "Interface unicast peers operational data"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses PTP-IF-UNICAST-PEER-INFO; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper-sub1.yang deleted file mode 100644 index 5afdca9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper-sub1.yang +++ /dev/null @@ -1,176 +0,0 @@ -submodule Cisco-IOS-XR-ptp-pd-oper-sub1 { - - belongs-to Cisco-IOS-XR-ptp-pd-oper { - prefix Cisco-IOS-XR-ptp-pd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR ptp-pd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-08" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping PTP-PD-BAG-TIMESTAMP { - description "PTP PD timestamp"; - leaf second { - type uint32; - description "value of second"; - } - leaf nano-second { - type uint32; - description "value of nano second"; - } - } - - grouping PTP-PD-SERVO-INFO { - description "PTP PD servo status"; - - container last-set-time { - description "last input of setTime"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t1 { - description "last T1 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t2 { - description "last T2 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t3 { - description "last T3 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container last-received-t4 { - description "last T4 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t1 { - description "pre T1 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t2 { - description "pre T2 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t3 { - description "pre T3 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - - container pre-received-t4 { - description "pre T4 timestamp received"; - uses PTP-PD-BAG-TIMESTAMP; - } - leaf lock-status { - type uint16; - description "lock status of device"; - } - leaf running { - type boolean; - description "running status of apr"; - } - leaf device-status { - type string { - length "0..50"; - } - description "status of device"; - } - leaf log-level { - type uint16; - description "log level of apr"; - } - leaf phase-accuracy-last { - type int64; - description " last phase alignment accuracy"; - } - leaf num-sync-timestamp { - type uint32; - description "number of sync timestamp received"; - } - leaf num-delay-timestamp { - type uint32; - description "number of delay timestamp received"; - } - leaf num-set-time { - type uint32; - description "number of setTime() been called"; - } - leaf num-step-time { - type uint32; - description "number of stepTime() been called"; - } - leaf num-adjust-freq { - type uint32; - description "number of adjustFreq() been called"; - } - leaf num-adjust-freq-time { - type uint32; - description "number of adjustFreqTime() been called"; - } - leaf last-adjust-freq { - type int32; - description "last input of adjustFreq"; - } - leaf last-step-time { - type int32; - description "last input of stepTime"; - } - leaf num-discard-sync-timestamp { - type uint32; - description "number of sync timestamp discarded"; - } - leaf num-discard-delay-timestamp { - type uint32; - description "number of delay timestamp discarded"; - } - leaf flagof-last-set-time { - type boolean; - description "last input flag of setTime"; - } - leaf offset-from-master { - type int64; - description "Time Offset From Master"; - } - leaf mean-path-delay { - type int64; - description "Mean Path Delay"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper.yang deleted file mode 100644 index 0c84201..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ptp-pd-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-ptp-pd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-pd-oper"; - - - prefix "ptp-pd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ptp-oper { prefix "a1"; } - - include Cisco-IOS-XR-ptp-pd-oper-sub1 { - revision-date 2016-06-08; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ptp-pd package operational data. - - This YANG module augments the - Cisco-IOS-XR-ptp-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-08" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:ptp" { - - container platform { - description "PTP platform specific data"; - - container servo { - description "PTP servo related parameters"; - uses PTP-PD-SERVO-INFO; - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-ptp-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-bng-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-bng-cfg.yang deleted file mode 100644 index 1f380c1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-bng-cfg.yang +++ /dev/null @@ -1,251 +0,0 @@ -module Cisco-IOS-XR-qos-ma-bng-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-bng-cfg"; - - - prefix "qos-ma-bng-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR qos-ma-bng package configuration. - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-04-01" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Qosl2-data-link { - type enumeration { - enum aal5 { - value 0; - description "ATM adaption layer AAL5"; - } - } - description "Qosl2 data link"; - } - typedef Qosl2-encap { - type enumeration { - enum snap-pppoa { - value 1; - description - "snap-pppoa encap used between the DSLAM and CPE"; - } - enum mux-pppoa { - value 2; - description - "mux-pppoa encap used between the DSLAM and CPE"; - } - enum snap1483-routed { - value 3; - description - "snap-1483routed encap used between the DSLAM - and CPE"; - } - enum mux1483-routed { - value 4; - description - "mux-1483routed encap used between the DSLAM and - CPE"; - } - enum snap-rbe { - value 5; - description "snap-rbe encap used between the DSLAM and CPE"; - } - enum snap-dot1qrbe { - value 6; - description - "snap-dot1q-rbe encap used between the DSLAM and - CPE"; - } - enum mux-rbe { - value 7; - description "mux-rbe encap used between the DSLAM and CPE"; - } - enum mux-dot1qrbe { - value 8; - description - "mux-dot1q-rbe encap used between the DSLAM and - CPE"; - } - } - description "Qosl2 encap"; - } - - grouping QOS { - description - "Common node of ppp, ip-subscriber, - subscriber-service"; - - container qos { - description "QoS dynamically applied configuration template"; - - container service-policy { - description - "Service policy to be applied in ingress/egress - direction"; - - container input { - presence "Indicates a input node is configured."; - description "Subscriber ingress policy"; - leaf policy-name { - type string; - mandatory true; - description "Name of policy-map"; - } - leaf spi-name { - type string; - description "Name of the SPI"; - } - leaf merge { - type boolean; - description - "TRUE for merge enabled for service-policy - applied on dynamic template."; - } - leaf merge-id { - type uint32 { - range "0..255"; - } - description "Merge ID value"; - } - leaf account-stats { - type boolean; - description - "TRUE for account stats enabled for - service-policy applied on dynamic template. - Note: account stats not supported for - subscriber type 'ppp' and 'ipsubscriber'."; - } - } - - container output { - presence "Indicates a output node is configured."; - description "Subscriber egress policy"; - leaf policy-name { - type string; - mandatory true; - description "Name of policy-map"; - } - leaf spi-name { - type string; - description "Name of the SPI"; - } - leaf merge { - type boolean; - description - "TRUE for merge enabled for service-policy - applied on dynamic template."; - } - leaf merge-id { - type uint32 { - range "0..255"; - } - description "Merge ID value"; - } - leaf account-stats { - type boolean; - description - "TRUE for account stats enabled for - service-policy applied on dynamic template. - Note: account stats not supported for - subscriber type 'ppp' and 'ipsubscriber'."; - } - } - } - - container account { - description "QoS L2 overhead accounting"; - leaf aal { - type Qosl2-data-link; - must "../encapsulation and not(../user-defined or ../atm-cell-tax)"; - description "ATM adaptation layer AAL"; - } - leaf encapsulation { - type Qosl2-encap; - must "../aal and not(../user-defined or ../atm-cell-tax)"; - description "Specify encapsulation type"; - } - leaf atm-cell-tax { - type empty; - must "../user-defined and not(../aal or ../encapsulation)"; - description "ATM cell tax to L2 overhead"; - } - leaf user-defined { - type int32 { - range "-63..63"; - } - must "not(../aal or ../encapsulation)"; - description "Numeric L2 overhead offset"; - } - } - - container output { - description "QoS to be applied in egress direction"; - leaf minimum-bandwidth { - type uint32 { - range "1..4294967295"; - } - units "kbit/s"; - description - "Minimum bandwidth value for the subscriber (in - kbps)"; - } - } - } - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses QOS; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses QOS; - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses QOS; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-cfg.yang deleted file mode 100755 index 06ec287..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-cfg.yang +++ /dev/null @@ -1,308 +0,0 @@ -module Cisco-IOS-XR-qos-ma-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg"; - - - prefix "qos-ma-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-l2vpn-cfg { prefix "a2"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR qos package configuration. - - This module contains definitions - for the following management objects: - qos: Global QOS configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-l2vpn-cfg, - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-12-23" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2016-12-15" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2016-11-11" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2016-03-03" { - description - "IOS XR 6.1.1 revision."; - } - - typedef Qos-field-not-supported { - type enumeration { - enum not-supported { - value 0; - description "Dummy data type leave unspecified"; - } - } - description "Qos field not supported"; - } - typedef Qos-policy-account { - type enumeration { - enum layer1 { - value 8; - description "Turn on Layer 1 accounting"; - } - enum layer2 { - value 1; - description "Turn on Layer 2 accounting"; - } - enum nolayer2 { - value 2; - description "Turn on Layer 2 accounting"; - } - enum user-defined { - value 4; - description "User defined accounting"; - } - } - description "Qos policy account"; - } - - grouping QOS { - description - "Common node of interface-configuration, cac, pvp, - pac, pvc, pvc-mode, nv-satellite-access, - nv-satellite-fabric-link, satellites"; - - container qos { - description "Interface QOS configuration"; - - container output { - description "Egress service policy"; - uses SERVICE-POLICY; - } - - container input { - description "Ingress service policy"; - uses SERVICE-POLICY; - } - } - } - - grouping SERVICE-POLICY { - description "Common node of input, output"; - - list service-policy { - key "service-policy-name"; - description "Service policy details"; - leaf service-policy-name { - type string { - length "0..64"; - } - description "Name of policy-map"; - } - leaf account-type { - type Qos-policy-account; - description "Turn off L2 or L3 accounting."; - } - leaf l1-user-defined { - type int32 { - range "-63..63"; - } - description "User specified value"; - } - leaf spi-name { - type string; - description "Name of the SPI"; - } - leaf subscriber-parent-policy { - type boolean; - description "TRUE if service-policy applied on svlan."; - } - leaf resource-id { - type uint32 { - range "0..3"; - } - description "Resource ID value"; - } - leaf service-fragment-parent-policy { - type boolean; - description - "service-fragment-parent-policy"; - } - } - - list service-policy-qos { - key "service-policy-name"; - description "Service policy details"; - - container subscriber-group-names { - description "Subscriber Group Name Details"; - - list subscriber-group-name { - key "subscriber-group-string"; - description "Subscriber Group details"; - leaf subscriber-group-string { - type string { - length "0..64"; - } - description "Name of policy-map"; - } - leaf account-type { - type Qos-policy-account; - description "Turn off L2 or L3 accounting."; - } - leaf l1-user-defined { - type int32 { - range "-63..63"; - } - description "User specified value"; - } - leaf spi-name { - type string; - description "Name of the SPI"; - } - leaf policy-merge { - type Qos-field-not-supported; - description "Not supported (Leave unspecified)."; - } - leaf subscriber-parent-policy { - type boolean; - description "TRUE if service-policy applied on svlan."; - } - leaf resource-id { - type uint32 { - range "0..3"; - } - description "Resource ID value"; - } - leaf service-fragment-parent-policy { - type boolean; - description - "TRUE if service-policy applied is a - service-fragment policy)."; - } - } - } - - container subscriber-parent { - description "Subscriber Parent Details"; - leaf account-type { - type Qos-policy-account; - description "Turn off L2 or L3 accounting."; - } - leaf l1-user-defined { - type int32 { - range "-63..63"; - } - description "User specified value"; - } - leaf spi-name { - type string; - description "Name of the SPI"; - } - leaf policy-merge { - type Qos-field-not-supported; - description "Not supported (Leave unspecified)."; - } - leaf subscriber-parent-policy { - type boolean; - description "TRUE if service-policy applied on svlan."; - } - leaf resource-id { - type uint32 { - range "0..3"; - } - description "Resource ID value"; - } - leaf service-fragment-parent-policy { - type boolean; - description - "TRUE if service-policy applied is a - service-fragment policy)."; - } - } - leaf service-policy-name { - type string { - length "0..64"; - } - description "Name of policy-map"; - } - } - } - - container qos { - description "Global QOS configuration."; - leaf fabric-service-policy { - type xr:Cisco-ios-xr-string { - length "0..63"; - } - description "Name of the fabric service policy"; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - - container pac { - description "Port Attachment Circuit configuration."; - uses QOS; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:l2-transport" { - - container cac { - description "Connection Attachment Circuit configuration."; - uses QOS; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-l2vpn-cfg'"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - uses QOS; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-oper.yang deleted file mode 100755 index 6aa89f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-oper.yang +++ /dev/null @@ -1,1461 +0,0 @@ -module Cisco-IOS-XR-qos-ma-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper"; - - - prefix "qos-ma-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR qos-ma-oper package operational data. - - This module contains definitions - for the following management objects: - qos: QoS operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-10" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2016-11-11" { - description - "IOS XR 6.2.1 revision."; - } - - revision "2016-03-03" { - description - "IOS XR 6.1.1 revision."; - } - - typedef Wred { - type enumeration { - enum wred-cos-cmd { - description "wred cos cmd"; - } - enum wred-dscp-cmd { - description "wred dscp cmd"; - } - enum wred-precedence-cmd { - description "wred precedence cmd"; - } - enum wred-discard-class-cmd { - description "wred discard class cmd"; - } - enum wred-mpls-exp-cmd { - description "wred mpls exp cmd"; - } - enum red-with-user-min-max { - description "red with user min max"; - } - enum red-with-default-min-max { - description "red with default min max"; - } - enum wred-dei-cmd { - description "wred dei cmd"; - } - enum wred-ecn-cmd { - description "wred ecn cmd"; - } - enum wred-invalid-cmd { - description "wred invalid cmd"; - } - } - description "Wred"; - } - typedef Policy-param-unit { - type enumeration { - enum policy-param-unit-invalid { - description "policy param unit invalid"; - } - enum policy-param-unit-bytes { - description "policy param unit bytes"; - } - enum policy-param-unit-kbytes { - description "policy param unit kbytes"; - } - enum policy-param-unit-mbytes { - description "policy param unit mbytes"; - } - enum policy-param-unit-gbytes { - description "policy param unit gbytes"; - } - enum policy-param-unit-bitsps { - description "policy param unit bitsps"; - } - enum policy-param-unit-kbitsps { - description "policy param unit kbitsps"; - } - enum policy-param-unit-mbitsps { - description "policy param unit mbitsps"; - } - enum policy-param-unit-gbitsps { - description "policy param unit gbitsps"; - } - enum policy-param-unit-cells-ps { - description "policy param unit cells ps"; - } - enum policy-param-unit-packets-ps { - description "policy param unit packets ps"; - } - enum policy-param-unit-us { - description "policy param unit us"; - } - enum policy-param-unit-ms { - description "policy param unit ms"; - } - enum policy-param-unit-seconds { - description "policy param unit seconds"; - } - enum policy-param-unit-packets { - description "policy param unit packets"; - } - enum policy-param-unit-cells { - description "policy param unit cells"; - } - enum policy-param-unit-percent { - description "policy param unit percent"; - } - enum policy-param-unit-per-thousand { - description "policy param unit per thousand"; - } - enum policy-param-unit-per-million { - description "policy param unit per million"; - } - enum policy-param-unit-hz { - description "policy param unit hz"; - } - enum policy-param-unit-khz { - description "policy param unit khz"; - } - enum policy-param-unit-mhz { - description "policy param unit mhz"; - } - enum policy-param-unit-ratio { - description "policy param unit ratio"; - } - enum policy-param-unit-max { - description "policy param unit max"; - } - } - description "Policy param unit"; - } - typedef Cac-state { - type enumeration { - enum unknown { - value 0; - description "unknown"; - } - enum admit { - value 1; - description "admit"; - } - enum redirect { - value 2; - description "redirect"; - } - enum ubrl { - value 3; - description "ubrl"; - } - } - description "CAC/UBRL class states"; - } - typedef Policy-state { - type enumeration { - enum active { - value 0; - description "active"; - } - enum suspended { - value 1; - description "suspended"; - } - } - description "Different Interface states"; - } - - grouping CAC-STATS-ST { - description "CAC statistics"; - leaf drop-packets { - type uint64; - description "CAC dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "CAC dropped bytes"; - } - leaf drop-rates { - type uint32; - description "CAC dropped rate"; - } - leaf admitpackets { - type uint64; - units "byte"; - description "Admitted packets (pkts/bytes)"; - } - leaf admit-bytes { - type uint64; - units "byte"; - description "Admitted bytes (pkts/bytes)"; - } - leaf admit-rates { - type uint32; - description "CAC admit rate"; - } - } - - grouping IPHC-STATS-ST { - description "IPHC Stats"; - leaf non-tcp-total-out-packets { - type uint64; - description "TotalNum of Non tcp pkts sent"; - } - leaf non-tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Non Tcp Bytes sent"; - } - leaf non-tcp-bytes-saved { - type uint64; - units "byte"; - description "Non Tcp Bytes saved due to compression"; - } - leaf non-tcp-compressed-packets-out { - type uint64; - description "Num of non tcp compressed pkts sent"; - } - leaf non-tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Non Tcp Bytes sent rate"; - } - leaf non-tcp-full-header-packets-out { - type uint64; - description "Num of non tcp fullheader pkts sent"; - } - leaf tcp-total-out-packets { - type uint64; - description "Total Num of tcp pkts sent"; - } - leaf tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Tcp Bytes sent"; - } - leaf tcp-bytes-saved { - type uint64; - units "byte"; - description "Tcp Bytes saved due to compression"; - } - leaf tcp-compressed-packets-out { - type uint64; - description "Num of tcp compressed pkts sent"; - } - leaf tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Tcp Bytes sent rate"; - } - leaf tcp-full-header-packets-out { - type uint64; - description "Num of tcp fullheader pkts sent"; - } - } - - grouping WRED-TYPE-VALUE { - description "WRED Type Value pairs"; - leaf wred-type { - type Wred; - description "WRED type DSCP, EXP, PREC etc."; - } - leaf value { - type uint8; - description "WRED value for this type."; - } - } - - grouping RED-PROFILE-STATS { - description "Per RED profile stats"; - leaf profile-title { - type string { - length "0..300"; - } - description "ProfileTitle"; - } - leaf red-transmit-packets { - type uint64; - description "Transmitted packets"; - } - leaf red-transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes"; - } - leaf random-drop-packets { - type uint64; - description "Probabilistically dropped packets"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Probabilisticallydropped bytes"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at - the max-threshold"; - } - leaf red-ecn-marked-packets { - type uint64; - description "ECN marked packets "; - } - leaf red-ecn-marked-bytes { - type uint64; - units "byte"; - description "ECN marked bytes"; - } - - list red-label { - description - "Array of WRED Typevalues as in PRP stats is - available per threshold "; - uses WRED-TYPE-VALUE; - } - } - - grouping PLC-COLOR-CLASS-STATS-ST { - description "Color Aware Policer statistics"; - leaf conform-class-conform-packets { - type uint64; - description - "Packets with classification result conform and - policer result conform"; - } - leaf conform-class-conform-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result conform"; - } - leaf conform-class-conform-rate { - type uint32; - units "kbit/s"; - description "Conform Class Conform rate in kbps"; - } - leaf conform-class-exceed-packets { - type uint64; - description - "Packets with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Conform Class Exceed rate in kbps"; - } - leaf conform-class-violate-packets { - type uint64; - description - "Packets with classification result conform and - policer result violate"; - } - leaf conform-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result violate"; - } - leaf conform-class-violate-rate { - type uint32; - units "kbit/s"; - description "Conform Class Violate rate in kbps"; - } - leaf exceed-class-exceed-packets { - type uint64; - description - "Packets with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Exceed rate in kbps"; - } - leaf exceed-class-violate-packets { - type uint64; - description - "Packets with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Violate rate in kbps"; - } - leaf violate-class-violate-packets { - type uint64; - description - "Packets with classification result violate and - policer result violate"; - } - leaf violate-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result violate and - policer result violate"; - } - leaf violate-class-violate-rate { - type uint32; - units "kbit/s"; - description "Violate Class Violate rate in kbps"; - } - } - - grouping PLC-STATS-ST { - description "Policer statistics"; - - container color-class-stats { - description "color class stats"; - uses PLC-COLOR-CLASS-STATS-ST; - } - leaf drop-packets { - type uint64; - description "Police dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "Police dropped bytes"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the policed rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the policed rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the policed rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the policed rate"; - } - leaf violate-packets { - type uint64; - description "Packets violating the policed rate"; - } - leaf violate-bytes { - type uint64; - units "byte"; - description "Bytes that violate the policed rate"; - } - leaf parent-drop-packets { - type uint64; - description "Dropped pkts by the parent policer"; - } - leaf parent-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes by the parent policer"; - } - leaf conform-rate { - type uint32; - units "kbit/s"; - description "Conform rate in kbps"; - } - leaf exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed rate in kbps"; - } - leaf violate-rate { - type uint32; - units "kbit/s"; - description "Violate rate in kbps"; - } - } - - grouping POLICY-PARAM-UINT32-ST { - description "POLICY PARAM UINT32 ST"; - leaf value { - type uint32; - description "value"; - } - leaf unit { - type Policy-param-unit; - description "unit"; - } - } - - grouping Q-STATS-ST { - description "Queue limit statistics"; - leaf queue-id { - type uint32; - description "Queue Id used for Fabric Stats"; - } - leaf tail-drop-packets { - type uint64; - description "Packets tail dropped"; - } - leaf tail-drop-bytes { - type uint64; - units "byte"; - description "Bytes tail dropped"; - } - leaf atm-clp0-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp0-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf atm-clp1-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp1-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf queue-drop-threshold { - type uint32; - units "byte"; - description "tail drop threshold of the queue in bytes"; - } - leaf forced-wred-stats-display { - type boolean; - description - "flag to forcedisplay of WRED even when per - WredWRED profile stats is not available"; - } - leaf random-drop-packets { - type uint64; - description "Packets probabilistically dropped"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Bytes probabilistically dropped"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at the - max-threshold"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the queue rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the queue rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the queue rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the queue rate"; - } - leaf conform-rate { - type uint32; - description "Conform rate"; - } - leaf exceed-rate { - type uint32; - description "Exceed rate"; - } - - list queue-instance-length { - description "Queue instance length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-average-length { - description "Queue average length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-max-length { - description "Queue maximum length"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping GEN-STATS-ST { - description "Counters common to all features"; - leaf transmit-packets { - type uint64; - units "byte"; - description "Transmitted packets (packets/bytes)"; - } - leaf transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes (packets/bytes)"; - } - leaf total-drop-packets { - type uint64; - units "byte"; - description "Dropped packets (packets/bytes)"; - } - leaf total-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes (packets/bytes)"; - } - leaf total-drop-rate { - type uint32; - units "byte"; - description "Total drop rate (packets/bytes)"; - } - leaf match-data-rate { - type uint32; - units "kbit/s"; - description "Incoming matched data rate in kbps"; - } - leaf total-transmit-rate { - type uint32; - units "kbit/s"; - description "Total transmit rate in kbps"; - } - leaf pre-policy-matched-packets { - type uint64; - description "Matched pkts before applying policy"; - } - leaf pre-policy-matched-bytes { - type uint64; - units "byte"; - description "Matched bytes before applying policy"; - } - } - grouping CHILD-POLICY-CLASS-STATS { - description "CHILD POLICY CLASS STATS"; - - container general-stats { - description "general stats"; - uses GEN-STATS-ST; - } - - container iphc-stats { - description "IPHC stats"; - uses IPHC-STATS-ST; - } - - container cac-stats { - description "bag for cac stats"; - uses CAC-STATS-ST; - } - leaf counter-validity-bitmask { - type uint64; - units "megabyte"; - description - " Bitmask to indicate which counter or counters - are undetermined. Counters will be marked - undetermined when one or more classes share - queues with class-default because in such cases - the value of counters for each class is invalid. - Based on the flag(s) set, the following counters - will be marked undetermined. For example, if - value of this object returned is 0x00000101, - counters - TransmitPackets/TransmitBytes/TotalTransmitRate - and DropPackets/DropBytes are undetermined - .0x00000001 - Transmit - (TransmitPackets/TransmitBytes/TotalTransmitRate - ), 0x00000002 - Total drop - (TotalDropPackets/TotalDropBytes/TotalDropRate), - 0x00000004 - Match - (MatchDataRate/PrepolicyMatchedPackets - /PrepolicyMatchedBytes), 0x00000100 - Police - drop (DropPackets/DropBytes), 0x00000200 - - Police conform - (ConformPackets/ConformBytes/ConformRate), - 0x00000400 - Police exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00000800 - Police violate - (ViolatePackets/ViolateBytes/ViolateRate), - 0x00001000 - Parent policer drop - (ParentDropPackets/ParentDropBytes), 0x00010000 - - Queueing drop (TailDropPackets/TailDropBytes), - 0x00020000 - Red queue drop - (RandomDropPackets/RandomDropBytes), 0x00040000 - - Queue maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes), - 0x00080000 - Queue conform - (ConformPackets/ConformBytes/ConformRate), - 0x00100000 - Queue exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00200000 - CLP limit drop - (ATM_CLP0DropPackets/ATM_CLP0DropBytes - /ATM_CLP1DropPackets/ATM_CLP1DropBytes), - 0x01000000 - RED transmit - (RedTransmitPackets/RedTransmitBytes), - 0x02000000 - RED drop - (RandomDropPackets/RandomDropBytes), 0x04000000 - - RED maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes)"; - } - leaf class-name { - type string { - length "0..65"; - } - description "ClassName"; - } - leaf shared-queue-id { - type uint32; - description "q-id of the shared queue for this class"; - } - leaf queue-descr { - type string { - length "0..256"; - } - description "Description of queue for the class"; - } - leaf cac-state { - type Cac-state; - description "CACState"; - } - - list queue-stats-array { - description "array of queue stats"; - uses Q-STATS-ST; - } - - list police-stats-array { - description "array of police stats"; - uses PLC-STATS-ST; - } - - list wred-stats-array { - description "array of red stats"; - uses RED-PROFILE-STATS; - } - } - grouping CHILD-POLICY-QOS-STATS { - description "policy map statistics"; - leaf policy-name { - type string { - length "0..65"; - } - description "PolicyName"; - } - leaf state { - type Policy-state; - description "State"; - } - leaf state-description { - type string { - length "0..128"; - } - description "StateDescription"; - } - leaf satid { - type uint32; - description "to maintain satellite id"; - } - list class-stats { - description "array of classes contained in policy"; - uses CHILD-POLICY-CLASS-STATS; - } - } - - grouping CLASS-STATS { - description "CLASS STATS"; - - container general-stats { - description "general stats"; - uses GEN-STATS-ST; - } - - container iphc-stats { - description "IPHC stats"; - uses IPHC-STATS-ST; - } - - container child-policy { - description "child policy"; - uses CHILD-POLICY-QOS-STATS; - } - - container cac-stats { - description "bag for cac stats"; - uses CAC-STATS-ST; - } - leaf counter-validity-bitmask { - type uint64; - units "megabyte"; - description - " Bitmask to indicate which counter or counters - are undetermined. Counters will be marked - undetermined when one or more classes share - queues with class-default because in such cases - the value of counters for each class is invalid. - Based on the flag(s) set, the following counters - will be marked undetermined. For example, if - value of this object returned is 0x00000101, - counters - TransmitPackets/TransmitBytes/TotalTransmitRate - and DropPackets/DropBytes are undetermined - .0x00000001 - Transmit - (TransmitPackets/TransmitBytes/TotalTransmitRate - ), 0x00000002 - Total drop - (TotalDropPackets/TotalDropBytes/TotalDropRate), - 0x00000004 - Match - (MatchDataRate/PrepolicyMatchedPackets - /PrepolicyMatchedBytes), 0x00000100 - Police - drop (DropPackets/DropBytes), 0x00000200 - - Police conform - (ConformPackets/ConformBytes/ConformRate), - 0x00000400 - Police exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00000800 - Police violate - (ViolatePackets/ViolateBytes/ViolateRate), - 0x00001000 - Parent policer drop - (ParentDropPackets/ParentDropBytes), 0x00010000 - - Queueing drop (TailDropPackets/TailDropBytes), - 0x00020000 - Red queue drop - (RandomDropPackets/RandomDropBytes), 0x00040000 - - Queue maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes), - 0x00080000 - Queue conform - (ConformPackets/ConformBytes/ConformRate), - 0x00100000 - Queue exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00200000 - CLP limit drop - (ATM_CLP0DropPackets/ATM_CLP0DropBytes - /ATM_CLP1DropPackets/ATM_CLP1DropBytes), - 0x01000000 - RED transmit - (RedTransmitPackets/RedTransmitBytes), - 0x02000000 - RED drop - (RandomDropPackets/RandomDropBytes), 0x04000000 - - RED maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes)"; - } - leaf class-name { - type string { - length "0..65"; - } - description "ClassName"; - } - leaf shared-queue-id { - type uint32; - description "q-id of the shared queue for this class"; - } - leaf queue-descr { - type string { - length "0..256"; - } - description "Description of queue for the class"; - } - leaf cac-state { - type Cac-state; - description "CACState"; - } - - list queue-stats-array { - description "array of queue stats"; - uses Q-STATS-ST; - } - - list police-stats-array { - description "array of police stats"; - uses PLC-STATS-ST; - } - - list wred-stats-array { - description "array of red stats"; - uses RED-PROFILE-STATS; - } - } - - grouping QOS-STATS { - description "policy map statistics"; - leaf policy-name { - type string { - length "0..65"; - } - description "PolicyName"; - } - leaf state { - type Policy-state; - description "State"; - } - leaf state-description { - type string { - length "0..128"; - } - description "StateDescription"; - } - leaf satid { - type uint32; - description "to maintain satellite id"; - } - - list class-stats { - description "array of classes contained in policy"; - uses CLASS-STATS; - } - } - - typedef Qos-caps-operation-enum { - type enumeration { - enum add { - value 0; - description "Add"; - } - enum remove { - value 1; - description "Remove"; - } - enum replace { - value 2; - description "Replace"; - } - enum modify { - value 3; - description "Modify"; - } - enum unknown { - value 4; - description "Unknown"; - } - } - description "Satellite QOS offload operation"; - } - typedef Qos-ma-sat-caps-type-enum { - type enumeration { - enum input { - value 0; - description "Input"; - } - enum output { - value 1; - description "Output"; - } - enum unknown { - value 2; - description "Unknown"; - } - } - description "Satellite capsulation information"; - } - typedef String-arr { - type string; - description "String arr"; - } - - grouping QOS-MA-SAT-IF-EDM-INFO-XML { - description "QoS offload information on Satellite interface"; - leaf policy-name { - type String-arr; - description "Service policy name"; - } - leaf direction { - type Qos-ma-sat-caps-type-enum; - description "Satellite caps type"; - } - leaf last-operation { - type Qos-caps-operation-enum; - description "Previous caps operation"; - } - leaf status { - type String-arr; - description "Status of offload"; - } - leaf error-message { - type String-arr; - description "Error message"; - } - } - - grouping STATISTICS { - description "Common node of input, output"; - - container statistics { - description - "Policy-map statistics operational data for an - interface"; - uses QOS-STATS; - } - } - - grouping INTERFACE { - description - "Common node of interface-table, - nv-interface-table"; - - list interface { - key "interface-name"; - description - "QoS policy-map operational data for a particular - interface"; - - container nodes { - description "QoS policy-map node table"; - - list node { - key "node-name"; - description "QoS operational data for a particular node"; - leaf node-name { - type xr:Node-id; - description "The node"; - } - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses MEMBER-INTERFACE-TABLE; - uses SATELLITE-ID-TABLE; - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - - grouping INPUT { - description - "Common node of member-interface, - nv-satellite-interface"; - - container input { - description - "A piece of QoS policy-map operational data for - an interface"; - uses STATUS; - } - } - - grouping QOS-PI-OPER-INPUT { - description - "Common node of shared-policy-instance, - member-interface, interface, - nv-satellite-interface, satellite-id"; - - container input { - description - "A piece of QoS policy-map operational data for - an interface"; - container service-policy-names { - description "Operational data for all Policy instance"; - list service-policy-instance { - key "service-policy-name"; - description - "QoS policy-map operational data for a - particular Policy "; - leaf service-policy-name { - type xr:Cisco-ios-xr-string; - description "Name of the policy instance"; - } - } - } - uses STATISTICS; - } - } - - grouping VO-Q-STATS { - description - "Common node of locationvo-q, output-vo-q, - vo-qoutput"; - - container vo-q-stats { - description - "VoQ statistics operational data for an interface"; - uses QOS-STATS; - } - } - - grouping MEMBER-INTERFACE-TABLE { - description - "Common node of interface, nv-satellite-interface, - shared-policy-instance"; - - container member-interfaces { - description "QoS policy-map member interface table"; - - list member-interface { - key "interface-name"; - description "QoS policy-map member interface statistics"; - leaf interface-name { - type xr:Interface-name; - description "Name of member interface"; - } - uses SATELLITE-ID-TABLE; - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - } - - grouping STATUS { - description - "Common node of input, output, - nv-satellite-interface"; - - container status { - description - "Policy-map status operational data for an - interface"; - uses QOS-MA-SAT-IF-EDM-INFO-XML; - } - } - - grouping INTERFACE-TABLE { - description "Common node of qos, policy-map"; - - container interface-table { - description "Operational data for all interfaces"; - uses INTERFACE; - } - } - - grouping OUTPUT { - description - "Common node of member-interface, - nv-satellite-interface"; - - container output { - description - "A piece of QoS policy-map operational data for - an interface"; - uses STATUS; - } - } - - grouping QOS-PI-OPER-OUTPUT { - description - "Common node of shared-policy-instance, - member-interface, interface, - nv-satellite-interface, satellite-id"; - - container output { - description - "A piece of QoS policy-map operational data for - an interface"; - container service-policy-names { - description "Operational data for all Policy instance"; - list service-policy-instance { - key "service-policy-name"; - description - "QoS policy-map operational data for a - particular Policy "; - leaf service-policy-name { - type xr:Cisco-ios-xr-string; - description "Name of the policy instance"; - } - } - } - uses STATISTICS; - } - } - - grouping SATELLITE-ID-TABLE { - description "Common node of interface, member-interface"; - - container satellite-ids { - description "Satellite ID information"; - - list satellite-id { - key "nv-satellite-id"; - description "Satellite ID information"; - leaf nv-satellite-id { - type int32; - description "Satellite ID"; - } - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - } - - container qos { - config false; - description "QoS operational data"; - - container nv-interface-table { - description "Operational data for satellite interfaces"; - uses INTERFACE; - } - - container nv-satellite { - description "Satellite table"; - - container nv-satellite-statistics { - description "Satellite statistics based on Satellite ID"; - - container nv-satellite-ids { - description "Satellite ID table"; - - list nv-satellite-id { - key "satellite-id"; - description "Satellite ID information"; - - container nv-satellite-interfaces { - description - "Operational data of satellite interface of a - particular satellite"; - - list nv-satellite-interface { - key "interface-name"; - description - "Operational data for a particular satellite - interface"; - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses MEMBER-INTERFACE-TABLE; - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - leaf satellite-id { - type int32; - description "Satellite ID"; - } - } - } - } - - container nv-satellite-status { - description - "Satellite QOS offload status based on Satellite - ID"; - - container nv-satellite-ids { - description "Satellite ID table"; - - list nv-satellite-id { - key "satellite-id"; - description "Satellite ID information"; - - container nv-satellite-interfaces { - description - "QOS offload status of satellite interface of - a particular satellite"; - - list nv-satellite-interface { - key "interface-name"; - description - "QOS offload status for a particular - satellite interface"; - - container member-interfaces { - description "Satellite member interface table"; - - list member-interface { - key "interface-name"; - description - "Satellite member interface statistics"; - leaf interface-name { - type xr:Interface-name; - description "Name of member interface"; - } - uses INPUT; - uses OUTPUT; - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses INPUT; - uses STATUS; - uses OUTPUT; - } - } - leaf satellite-id { - type int32; - description "Satellite ID"; - } - } - } - } - } - - container nodes { - description "Node-specific QoS operational data"; - - list node { - key "node-name"; - description "QoS operational data for a particular node"; - - container policy-map { - description "Operational data for policymaps"; - - container shared-policy-instances { - description "Operational data for all SPI"; - - list shared-policy-instance { - key "spi-name"; - description - "QoS policy-map operational data for a - particular SPI "; - leaf spi-name { - type xr:Cisco-ios-xr-string; - description "Name of the shared policy instance"; - } - uses MEMBER-INTERFACE-TABLE; - uses QOS-PI-OPER-INPUT; - uses QOS-PI-OPER-OUTPUT; - } - } - uses INTERFACE-TABLE; - } - leaf node-name { - type xr:Node-id; - description "The node"; - } - } - } - - container qos-global { - description "For global registrations"; - - container vo-q { - description "For VoQ operational data"; - - container vo-q-statistics { - description "For VoQ statistics"; - - container vo-qinterfaces { - description "VoQ interface"; - - list vo-qinterface { - key "interface-name"; - description - "QoS policy-map operational data for a - particular interface"; - - container output-vo-q { - description "output VoQ interface"; - - container locationvo-qs { - description "QoS policy-map location table"; - - list locationvo-q { - key "node-name"; - description - "QoS operational data for a particular - location"; - leaf node-name { - type xr:Node-id; - description "The node"; - } - uses VO-Q-STATS; - } - } - uses VO-Q-STATS; - } - - container vo-q-member-interfaces { - description - "VoQ QoS policy-map member interface table"; - - list vo-q-member-interface { - key "interface-name"; - description - "QoS policy-map member interface statistics"; - - container vo-qoutput { - description "output VoQ interface"; - uses VO-Q-STATS; - } - leaf interface-name { - type xr:Interface-name; - description "Name of member interface"; - } - } - } - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - } - } - } - } - } - uses INTERFACE-TABLE; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-sat-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-sat-cfg.yang deleted file mode 100755 index a3a8405..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-ma-sat-cfg.yang +++ /dev/null @@ -1,119 +0,0 @@ -module Cisco-IOS-XR-qos-ma-sat-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg"; - - - prefix "qos-ma-sat-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - import Cisco-IOS-XR-icpe-infra-cfg { prefix "a2"; } - - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR qos satellite package configuration. - - This module contains definitions - for the following management objects: - qos satellite: QOS Satellite configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg, - Cisco-IOS-XR-icpe-infra-cfg - modules with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-03" { - description - "IOS XR 6.3.1 revision."; - } - - revision "2016-12-15" { - description - "IOS XR 6.2.1 revision."; - } - - grouping QOS { - description - "Common node of interface-configuration, - nv-satellite-access, nv-satellite-fabric-link, - satellites"; - - container qos { - description "Interface QOS configuration"; - - container output { - description "Egress service policy"; - uses SERVICE-POLICY; - } - - container input { - description "Ingress service policy"; - uses SERVICE-POLICY; - } - } - } - - grouping SERVICE-POLICY { - description "Common node of input, output"; - - list service-policy { - key "service-policy-name"; - description "Service policy details"; - leaf service-policy-name { - type string { - length "0..64"; - } - description "Name of policy-map"; - } - } - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:nv-satellite-access" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-icpe-infra-cfg'"; - uses QOS; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:nv-satellite-fabric-link" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-icpe-infra-cfg'"; - uses QOS; - } - - augment "/a1:interface-configurations/a1:interface-configuration"+ - "/a2:nv-satellite-fabric-network/a2:satellites" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-icpe-infra-cfg'"; - uses QOS; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-mibs-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-mibs-cfg.yang deleted file mode 100644 index 72d55e0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-qos-mibs-cfg.yang +++ /dev/null @@ -1,95 +0,0 @@ -module Cisco-IOS-XR-qos-mibs-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg"; - - - prefix "qos-mibs-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR qos-mibs package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:mib" { - - container cb-qosmib { - description "CBQoSMIB configuration"; - - container cache { - description "CBQoSMIB statistics data caching"; - leaf enable { - type empty; - description "Enable CBQoSMIB statistics data caching"; - } - leaf refresh-time { - type uint32 { - range "5..60"; - } - units "second"; - description "Cache refresh time in seconds"; - } - leaf service-policy-count { - type uint32 { - range "1..5000"; - } - description - "Maximum number of service policies to cache - the statistics for"; - } - } - leaf member-interface-stats { - type empty; - description - "Enable bundle member interface statistics - retrieval."; - } - leaf persist { - type empty; - description - "Persist CBQoSMIB config, service-policy and - object indices"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper-sub1.yang deleted file mode 100644 index f797ac1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper-sub1.yang +++ /dev/null @@ -1,70 +0,0 @@ -submodule Cisco-IOS-XR-reboot-history-oper-sub1 { - - belongs-to Cisco-IOS-XR-reboot-history-oper { - prefix Cisco-IOS-XR-reboot-history-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR reboot-history package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-04" { - description - "Added new schema file."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping HISTORY-DETAIL { - description "Reboot history details"; - leaf no { - type uint32; - description "Number count"; - } - leaf time { - type string; - description "Time of reboot"; - } - leaf cause-code { - type uint32; - description "Cause code for reboot"; - } - leaf reason { - type string; - description "Reason for reboot"; - } - } - - grouping HISTORY { - description "Reboot history information"; - - list reboot-history { - description "Last Reboots"; - uses HISTORY-DETAIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper.yang deleted file mode 100644 index 5455bbf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-reboot-history-oper.yang +++ /dev/null @@ -1,70 +0,0 @@ -module Cisco-IOS-XR-reboot-history-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-reboot-history-oper"; - - - prefix "reboot-history-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-reboot-history-oper-sub1 { - revision-date 2016-10-04; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR reboot-history package operational data. - - This module contains definitions - for the following management objects: - reboot-history: Reboot History information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-04" { - description - "Added new schema file."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container reboot-history { - config false; - description "Reboot History information"; - - list node { - key "node-name"; - description "Node ID"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses HISTORY; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-cfg.yang deleted file mode 100644 index ba95c09..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-cfg.yang +++ /dev/null @@ -1,183 +0,0 @@ -module Cisco-IOS-XR-rgmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg"; - - - prefix "rgmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR rgmgr package configuration. - - This module contains definitions - for the following management objects: - redundancy-group-manager: Redundancy Group Manager - Configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Iccp-mode { - type enumeration { - enum singleton { - value 1; - description "Run the ICCP group in Singleton mode"; - } - } - description "Iccp mode"; - } - - container redundancy-group-manager { - description "Redundancy Group Manager Configuration"; - - container aps { - description "MR-APS groups"; - - container default-redundancy-group { - description "Default SONET controller backup configuration"; - leaf next-hop-address { - type inet:ipv4-address-no-zone; - description "IPv4 address of remote peer"; - } - leaf backup-interface-name { - type xr:Interface-name; - description "Backup interface name"; - } - } - - container groups { - description "Redundancy Group Table"; - - list group { - key "group-id"; - description "Redundancy Group Configuration"; - - container controllers { - description "Controller configuration"; - - list controller { - key "controller-name"; - description "none"; - leaf controller-name { - type xr:Interface-name; - description "Controller Name"; - } - leaf next-hop-address { - type inet:ipv4-address-no-zone; - description "IPv4 address of remote peer"; - } - leaf backup-interface-name { - type xr:Interface-name; - description "Backup interface name"; - } - } - } - leaf group-id { - type uint32 { - range "1..32"; - } - description "The redundancy group ID"; - } - } - } - } - - container iccp { - description "ICCP configuration"; - - container iccp-groups { - description "Redundancy Group Table Configuration"; - - list iccp-group { - key "group-number"; - description "Redundancy Group Configuration"; - - container backbones { - description "ICCP backbone configuration"; - - list backbone { - key "backbone-name"; - description "ICCP backbone interface configuration"; - leaf backbone-name { - type xr:Interface-name; - description "none"; - } - } - } - - container members { - description "ICCP member configuration"; - - list member { - key "neighbor-address"; - description "ICCP member configuration"; - leaf neighbor-address { - type inet:ipv4-address-no-zone; - description "Neighbor IP address"; - } - } - } - leaf isolation-recovery-delay { - type uint32 { - range "30..600"; - } - units "second"; - description "ICCP isolation recovery delay"; - } - leaf mode { - type Iccp-mode; - description "ICCP mode"; - } - leaf group-number { - type uint32 { - range "1..4294967295"; - } - description "The redundancy icc group number"; - } - } - } - } - leaf enable { - type empty; - description "Enable redundancy group manager"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper-sub1.yang deleted file mode 100644 index 9c1b126..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper-sub1.yang +++ /dev/null @@ -1,80 +0,0 @@ -submodule Cisco-IOS-XR-rgmgr-oper-sub1 { - - belongs-to Cisco-IOS-XR-rgmgr-oper { - prefix Cisco-IOS-XR-rgmgr-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR rgmgr package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping RGMGR-RED-GRP { - description "RGMGR RED GRP"; - leaf multi-router-aps-group-number { - type string { - length "0..64"; - } - description "Configured interchassis redundancy group number"; - } - leaf controller-name-xr { - type string { - length "0..64"; - } - description "Name of controller being backed up"; - } - leaf controller-handle { - type xr:Interface-name; - description "Handle of controller being backed up"; - } - leaf backup-interface-name { - type string { - length "0..64"; - } - description "Backup interface name"; - } - leaf backup-interface-handle { - type xr:Interface-name; - description "Backup interface handle"; - } - leaf backup-interface-next-hop-ip-address { - type inet:ipv4-address; - description "Backup interface next hop IP address"; - } - leaf inter-chassis-group-state { - type string { - length "0..64"; - } - description "Configured interchassis redundancy group state"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper.yang deleted file mode 100644 index 3390342..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-rgmgr-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-rgmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper"; - - - prefix "rgmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-rgmgr-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR rgmgr package operational data. - - This module contains definitions - for the following management objects: - redundancy-group-manager: Redundancy group manager operational - data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container redundancy-group-manager { - config false; - description "Redundancy group manager operational data"; - - container controllers { - description "Redundancy group manager data"; - - list controller { - key "controller-name"; - description "Display redundancy group by controller name"; - leaf controller-name { - type xr:Interface-name; - description "Controller name"; - } - uses RGMGR-RED-GRP; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang deleted file mode 100644 index 6e3828f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang +++ /dev/null @@ -1,419 +0,0 @@ -submodule Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1 { - - belongs-to Cisco-IOS-XR-sdr-invmgr-diag-oper { - prefix Cisco-IOS-XR-sdr-invmgr-diag-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR sdr-invmgr-diag package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping DIAG-CARD { - description "Card Instance"; - - container card-instance { - description "Card instance"; - uses DIAG-EEPROM; - } - leaf node-operational-state { - type string { - length "0..255"; - } - description "Node operational state "; - } - } - - grouping RMA-DETAIL { - description "EEPROM RMA data content"; - leaf test-history { - type string { - length "0..255"; - } - description "Test history"; - } - leaf rma-number { - type string { - length "0..255"; - } - description "RMA tracking number format is N-N-N"; - } - leaf rma-history { - type string { - length "0..255"; - } - description "RMA history"; - } - } - - grouping DIAG-EEPROM { - description "Diag EEPROM data content"; - - container rma { - description "RMA Data"; - uses RMA-DETAIL; - } - leaf description { - type string { - length "0..255"; - } - description "A textual description of physical entity"; - } - leaf idprom-format-rev { - type string { - length "0..255"; - } - description "IDPROM Format Revision"; - } - leaf controller-family { - type string { - length "0..255"; - } - description "Controller family"; - } - leaf controller-type { - type string { - length "0..255"; - } - description "Controller type"; - } - leaf vid { - type string { - length "0..255"; - } - description "Version ID"; - } - leaf hwid { - type string { - length "0..255"; - } - description "Hardware Revision"; - } - leaf pid { - type string { - length "0..255"; - } - description "Product ID"; - } - leaf udi-description { - type string { - length "0..255"; - } - description "UDI description"; - } - leaf udi-name { - type string { - length "0..255"; - } - description "UDI name"; - } - leaf clei { - type string { - length "0..255"; - } - description - "Common Language Equipment Identifier (CLEI) code"; - } - leaf eci { - type string { - length "0..255"; - } - description "Equipment Catalog Item (ECI) number"; - } - leaf top-assem-part-num { - type string { - length "0..255"; - } - description "Top assembly part number"; - } - leaf top-assem-vid { - type string { - length "0..255"; - } - description "Top assembly revision number"; - } - leaf pca-num { - type string { - length "0..255"; - } - description "PCA number"; - } - leaf pcavid { - type string { - length "0..255"; - } - description "PCA revision ID"; - } - leaf chassis-sid { - type string { - length "0..255"; - } - description "Chassis serial number"; - } - leaf dev-num1 { - type string { - length "0..255"; - } - description "Deviation Number # 1"; - } - leaf dev-num2 { - type string { - length "0..255"; - } - description "Deviation Number # 2"; - } - leaf dev-num3 { - type string { - length "0..255"; - } - description "Deviation Number # 3"; - } - leaf dev-num4 { - type string { - length "0..255"; - } - description "Deviation Number # 4"; - } - leaf dev-num5 { - type string { - length "0..255"; - } - description "Deviation Number # 5"; - } - leaf dev-num6 { - type string { - length "0..255"; - } - description "Deviation Number # 6"; - } - leaf dev-num7 { - type string { - length "0..255"; - } - description "Deviation Number # 7"; - } - leaf manu-test-data { - type string { - length "0..255"; - } - description "Manufacturing Test Data"; - } - leaf asset-id { - type string { - length "0..255"; - } - description "Asset ID"; - } - leaf asset-alias { - type string { - length "0..255"; - } - description "Asset Alias"; - } - leaf base-mac-address1 { - type string { - length "0..255"; - } - description "Base Mac Address #1"; - } - leaf mac-add-blk-size1 { - type string { - length "0..255"; - } - description "Mac Address Block Size #1"; - } - leaf base-mac-address2 { - type string { - length "0..255"; - } - description "Base Mac Address #2"; - } - leaf mac-add-blk-size2 { - type string { - length "0..255"; - } - description "Mac Address Block Size #2"; - } - leaf base-mac-address3 { - type string { - length "0..255"; - } - description "Base Mac Address #3"; - } - leaf mac-add-blk-size3 { - type string { - length "0..255"; - } - description "Mac Address Block Size #3"; - } - leaf base-mac-address4 { - type string { - length "0..255"; - } - description "Base Mac Address #4"; - } - leaf mac-add-blk-size4 { - type string { - length "0..255"; - } - description "Mac Address Block Size #4"; - } - leaf pcb-serial-num { - type string { - length "0..255"; - } - description "PCB Serial Number"; - } - leaf power-supply-type { - type string { - length "0..255"; - } - description "Power Supply Type"; - } - leaf power-consumption { - type string { - length "0..255"; - } - description "Power Consumption"; - } - leaf block-signature { - type string { - length "0..255"; - } - description "Block Signature"; - } - leaf block-version { - type string { - length "0..255"; - } - description "Block Version"; - } - leaf block-length { - type string { - length "0..255"; - } - description "Block Length"; - } - leaf block-checksum { - type string { - length "0..255"; - } - description "Block Checksum"; - } - leaf eeprom-size { - type string { - length "0..255"; - } - description "EEPROM Size"; - } - leaf block-count { - type string { - length "0..255"; - } - description "Block Count"; - } - leaf fru-major-type { - type string { - length "0..255"; - } - description "FRU Major Type"; - } - leaf fru-minor-type { - type string { - length "0..255"; - } - description "FRU Minor Type"; - } - leaf oem-string { - type string { - length "0..255"; - } - description "OEM String"; - } - leaf product-id { - type string { - length "0..255"; - } - description "Product ID"; - } - leaf serial-number { - type string { - length "0..255"; - } - description "Serial Number"; - } - leaf part-number { - type string { - length "0..255"; - } - description "Part Number"; - } - leaf part-revision { - type string { - length "0..255"; - } - description "Part Revision"; - } - leaf mfg-deviation { - type string { - length "0..255"; - } - description "MFG Deviation"; - } - leaf hw-version { - type string { - length "0..255"; - } - description "Hardware Version"; - } - leaf mfg-bits { - type string { - length "0..255"; - } - description "MFG Bits"; - } - leaf engineer-use { - type string { - length "0..255"; - } - description "Engineer Use"; - } - leaf snmpoid { - type string { - length "0..255"; - } - description "SNMP OID"; - } - leaf rma-code { - type string { - length "0..255"; - } - description "RMA Code"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang deleted file mode 100644 index 8d2a4e8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang +++ /dev/null @@ -1,167 +0,0 @@ -module Cisco-IOS-XR-sdr-invmgr-diag-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-sdr-invmgr-diag-oper"; - - - prefix "sdr-invmgr-diag-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR sdr-invmgr-diag package operational data. - - This module contains definitions - for the following management objects: - diag: Diag information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping INFORMATION { - description "Common node of power-supply, fans"; - - container information { - description "Basic information"; - uses DIAG-EEPROM; - } - } - - container diag { - config false; - description "Diag information"; - - container racks { - description "Table of racks"; - - list rack { - key "rack-name"; - description "Rack name"; - - container power-shelfs { - description "Table for rack power shelf "; - - list power-shelf { - key "power-shelf-name"; - description "Power shelf name"; - - container power-supplies { - description "Table for rack power supply "; - - list power-supply { - key "power-supply-name"; - description "Power Supply name"; - leaf power-supply-name { - type xr:Cisco-ios-xr-string; - description "Power Supply name"; - } - uses INFORMATION; - } - } - leaf power-shelf-name { - type xr:Cisco-ios-xr-string; - description "Power Shelf name"; - } - } - } - - container fan-traies { - description "Table for rack fan trays"; - - list fan-tray { - key "fan-tray-name"; - description "Fan tray name"; - - container fanses { - description "Table for rack fans "; - - list fans { - key "fans-name"; - description "Fan name"; - leaf fans-name { - type xr:Cisco-ios-xr-string; - description "Fans name"; - } - uses INFORMATION; - } - } - leaf fan-tray-name { - type xr:Cisco-ios-xr-string; - description "Fan tray name"; - } - } - } - - container slots { - description "Table of slots"; - - list slot { - key "slot-name"; - description "Slot name"; - - container instances { - description "Table of instances"; - - list instance { - key "name"; - description "instance number"; - - container detail { - description "Detail information"; - uses DIAG-CARD; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Instance name"; - } - } - } - leaf slot-name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - } - } - - container chassis { - description "Chassis information"; - uses DIAG-EEPROM; - } - leaf rack-name { - type xr:Cisco-ios-xr-string; - description "Rack name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-oper.yang deleted file mode 100644 index 7006540..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sdr-invmgr-oper.yang +++ /dev/null @@ -1,171 +0,0 @@ -module Cisco-IOS-XR-sdr-invmgr-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper"; - - - prefix "sdr-invmgr-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR sdr-invmgr package operational data. - - This module contains definitions - for the following management objects: - sdr-inventory: SDR information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container sdr-inventory { - config false; - description "SDR information"; - - container racks { - description "RackTable"; - - list rack { - key "name"; - description "Rack name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Rack name"; - } - - list slot { - key "name"; - description "Slot name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Slot name"; - } - - list card { - key "name"; - description "Card"; - - container attributes { - description "Attributes"; - leaf config-state-string { - type string; - description "Config State String"; - } - leaf power { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "Power"; - } - leaf config-state { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "ConfigState"; - } - leaf card-state { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "CardState"; - } - leaf vm-state { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "VM State information"; - } - leaf card-admin-state { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "Card Admin State"; - } - leaf card-type { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "CardType"; - } - leaf card-type-string { - type string; - description "Card Type String"; - } - leaf node-name-string { - type string; - description "Node Name String"; - } - leaf pi-slot-number { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "Pi Slot Number"; - } - leaf shutdown { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "Shutdown"; - } - leaf ctype { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "CType"; - } - leaf card-state-string { - type string; - description "Card State String"; - } - leaf monitor { - type uint32 { - range "0..4294967295"; - } - default "0"; - description "Monitor"; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Card"; - } - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-cfg.yang deleted file mode 100644 index be34581..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-cfg.yang +++ /dev/null @@ -1,140 +0,0 @@ -module Cisco-IOS-XR-segment-routing-ms-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-segment-routing-ms-cfg"; - - - prefix "segment-routing-ms-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR segment-routing-ms package configuration. - - This module contains definitions - for the following management objects: - sr: Segment Routing - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Srms-mi-flag { - type enumeration { - enum disable { - value 0; - description "Disable flag"; - } - enum enable { - value 1; - description "Enable flag"; - } - } - description "Srms mi flag"; - } - - container sr { - description "Segment Routing"; - - container global-block { - presence "Indicates a global-block node is configured."; - description "Global Block Segment Routing"; - leaf lower-bound { - type uint32 { - range "16000..1048574"; - } - mandatory true; - description "SRGB Lower Bound"; - } - leaf upper-bound { - type uint32 { - range "16001..1048575"; - } - mandatory true; - description "SRGB Upper Bound"; - } - } - - container local-block { - presence "Indicates a local-block node is configured."; - description "Segment Routing Local Block of Labels"; - leaf lower-bound { - type uint32 { - range "15000..1048574"; - } - mandatory true; - description "SRLB Lower Bound"; - } - leaf upper-bound { - type uint32 { - range "15001..1048575"; - } - mandatory true; - description "SRLB Upper Bound"; - } - } - - container mappings { - description "Mapping Server"; - - list mapping { - key "af ip mask"; - description "IP prefix to SID mapping"; - leaf af { - type xr:Cisco-ios-xr-string; - description "Address Family"; - } - leaf ip { - type xr:Cisco-ios-xr-string; - description "IP prefix"; - } - leaf mask { - type int32; - description "Mask"; - } - leaf sid-start { - type uint32 { - range "0..1048575"; - } - description "Start of SID index range"; - } - leaf sid-range { - type int32; - description "Range (number of SIDs)"; - } - leaf flag-attached { - type Srms-mi-flag; - description "Enable/Disable Attached flag"; - } - } - } - leaf enable { - type empty; - description "enable SR"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang deleted file mode 100644 index bb8ab8a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang +++ /dev/null @@ -1,162 +0,0 @@ -submodule Cisco-IOS-XR-segment-routing-ms-oper-sub1 { - - belongs-to Cisco-IOS-XR-segment-routing-ms-oper { - prefix Cisco-IOS-XR-segment-routing-ms-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR segment-routing-ms package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Srms-mi-flag-e-b { - type enumeration { - enum false { - value 0; - description "False"; - } - enum true { - value 1; - description "True"; - } - } - description "Srms mi flag e b"; - } - typedef In6-addr-t-b { - type inet:ipv6-address; - description "In6 addr t b"; - } - typedef Srms-mi-af-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "Srms mi af e b"; - } - typedef Srms-mi-src-e-b { - type enumeration { - enum none { - value 0; - description "None"; - } - enum local { - value 1; - description "Local"; - } - enum remote { - value 2; - description "Remote"; - } - } - description "Srms mi src e b"; - } - - grouping ADDR { - description "ADDR"; - leaf af { - type Srms-mi-af-e-b; - description "AF"; - } - leaf ipv4 { - when "../af = 'ipv4'" { - description "../AF = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4"; - } - leaf ipv6 { - when "../af = 'ipv6'" { - description "../AF = 'IPv6'"; - } - type In6-addr-t-b; - description "IPv6"; - } - } - - grouping SRMS-MI-T-B { - description "SRMS show bag"; - - container addr { - description "addr"; - uses ADDR; - } - leaf src { - type Srms-mi-src-e-b; - description "src"; - } - leaf router { - type string { - length "0..30"; - } - description "Router ID"; - } - leaf area { - type string { - length "0..30"; - } - description "Area (OSPF) or Level (ISIS)"; - } - leaf prefix-xr { - type uint8; - description "Prefix length"; - } - leaf sid-start { - type uint32; - description "Starting SID"; - } - leaf sid-count { - type uint32; - description "SID range"; - } - leaf last-prefix { - type string { - length "0..50"; - } - description "Last IP Prefix"; - } - leaf last-sid-index { - type uint32; - description "Last SID Index"; - } - leaf flag-attached { - type Srms-mi-flag-e-b; - description "Attached flag"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper.yang deleted file mode 100644 index 62d66cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-segment-routing-ms-oper.yang +++ /dev/null @@ -1,140 +0,0 @@ -module Cisco-IOS-XR-segment-routing-ms-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-segment-routing-ms-oper"; - - - prefix "segment-routing-ms-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-segment-routing-ms-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR segment-routing-ms package operational data. - - This module contains definitions - for the following management objects: - srms: Segment Routing Mapping Server operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping MAPPING-MI { - description "Common node of mapping-ipv4, mapping-ipv6"; - - list mapping-mi { - description - "IP prefix to SID mapping item. It's not possible - to list all of the IP prefix to SID mappings, as - the set of valid prefixes could be very large. - Instead, SID map information must be retrieved - individually for each prefix of interest."; - leaf ip { - type xr:Cisco-ios-xr-string; - description "IP"; - } - leaf prefix { - type int32; - description "Prefix"; - } - uses SRMS-MI-T-B; - } - } - - grouping POLICY-MI { - description - "Common node of policy-ipv4-active, - policy-ipv4-backup, policy-ipv6-active, - policy-ipv6-backup"; - - list policy-mi { - key "mi-id"; - description "Mapping Item"; - leaf mi-id { - type xr:Cisco-ios-xr-string; - description "Mapping Item ID (0, 1, 2, ...)"; - } - uses SRMS-MI-T-B; - } - } - - container srms { - config false; - description "Segment Routing Mapping Server operational data"; - - container mapping { - description "IP prefix to SID mappings"; - - container mapping-ipv4 { - description "IPv4 prefix to SID mappings"; - uses MAPPING-MI; - } - - container mapping-ipv6 { - description "IPv6 prefix to SID mappings"; - uses MAPPING-MI; - } - } - - container policy { - description "Policy operational data"; - - container policy-ipv4 { - description "IPv4 policy operational data"; - - container policy-ipv4-backup { - description "IPv4 backup policy operational data"; - uses POLICY-MI; - } - - container policy-ipv4-active { - description "IPv4 active policy operational data"; - uses POLICY-MI; - } - } - - container policy-ipv6 { - description "IPv6 policy operational data"; - - container policy-ipv6-backup { - description "IPv6 backup policy operational data"; - uses POLICY-MI; - } - - container policy-ipv6-active { - description "IPv6 active policy operational data"; - uses POLICY-MI; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-cfg.yang deleted file mode 100644 index 004cf93..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-cfg.yang +++ /dev/null @@ -1,56 +0,0 @@ -module Cisco-IOS-XR-shellutil-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg"; - - - prefix "shellutil-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR shellutil package configuration. - - This module contains definitions - for the following management objects: - host-names: Container Schema for hostname configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-12" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container host-names { - description "Container Schema for hostname configuration"; - leaf host-name { - type string; - description "Configure system's hostname"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang deleted file mode 100644 index 3ea9fba..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang +++ /dev/null @@ -1,71 +0,0 @@ -submodule Cisco-IOS-XR-shellutil-filesystem-oper-sub1 { - - belongs-to Cisco-IOS-XR-shellutil-filesystem-oper { - prefix Cisco-IOS-XR-shellutil-filesystem-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR shellutil-filesystem package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FILESYSTEM-UTIL { - description "File System Description"; - leaf size { - type string; - units "byte"; - description "Size of the file system in bytes"; - } - leaf free { - type string; - units "byte"; - description "Free space in the file system in bytes"; - } - leaf type { - type string; - description "Type of file system"; - } - leaf flags { - type string; - description "Flags of file system"; - } - leaf prefixes { - type string; - description "Prefixes of file system"; - } - } - - grouping FILESYSTEM { - description "File Systems"; - - list file-system { - description "Available file systems"; - uses FILESYSTEM-UTIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper.yang deleted file mode 100644 index 9e59858..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-filesystem-oper.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-shellutil-filesystem-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-shellutil-filesystem-oper"; - - - prefix "shellutil-filesystem-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-shellutil-filesystem-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR shellutil-filesystem package operational data. - - This module contains definitions - for the following management objects: - file-system: List of filesystems - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container file-system { - config false; - description "List of filesystems"; - - list node { - key "node-name"; - description "Node ID"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses FILESYSTEM; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper-sub1.yang deleted file mode 100644 index 451f685..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper-sub1.yang +++ /dev/null @@ -1,120 +0,0 @@ -submodule Cisco-IOS-XR-shellutil-oper-sub1 { - - belongs-to Cisco-IOS-XR-shellutil-oper { - prefix Cisco-IOS-XR-shellutil-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR shellutil package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Time-source { - type enumeration { - enum error { - value 0; - description "Error"; - } - enum none { - value 1; - description "Unsynchronized time"; - } - enum ntp { - value 2; - description "Network time protocol"; - } - enum manual { - value 3; - description "User configured"; - } - enum calendar { - value 4; - description "Hardware calendar"; - } - } - description "Time source"; - } - - grouping SYSTEM-UPTIME { - description "System uptime"; - leaf host-name { - type string; - description "Host name"; - } - leaf uptime { - type uint32; - units "second"; - description - "Amount of time in seconds since this system - was last initialized"; - } - } - - grouping TIME-DATE { - description "Date and time"; - leaf year { - type uint16; - description "Year [0..65535]"; - } - leaf month { - type uint8; - description "Month [1..12]"; - } - leaf day { - type uint8; - description "Day [1..31]"; - } - leaf hour { - type uint8; - description "Hour [0..23]"; - } - leaf minute { - type uint8; - description "Minute [0..59]"; - } - leaf second { - type uint8; - description "Second [0..60], use 60 for leap-second"; - } - leaf millisecond { - type uint16; - description "Millisecond [0..999]"; - } - leaf wday { - type uint16; - description "Week Day [0..6]"; - } - leaf time-zone { - type string; - description "Time zone"; - } - leaf time-source { - type Time-source; - description "Time source"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper.yang deleted file mode 100644 index dacbd67..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-shellutil-oper.yang +++ /dev/null @@ -1,62 +0,0 @@ -module Cisco-IOS-XR-shellutil-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper"; - - - prefix "shellutil-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-shellutil-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR shellutil package operational data. - - This module contains definitions - for the following management objects: - system-time: System time information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container system-time { - config false; - description "System time information"; - - container clock { - description "System clock information"; - uses TIME-DATE; - } - - container uptime { - description "System uptime information"; - uses SYSTEM-UPTIME; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang deleted file mode 100644 index 164efd4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang +++ /dev/null @@ -1,161 +0,0 @@ -submodule Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1 { - - belongs-to Cisco-IOS-XR-show-fpd-loc-ng-oper { - prefix Cisco-IOS-XR-show-fpd-loc-ng-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR show-fpd-loc-ng package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping FPD-LOCATION-NAME { - description "card location name string"; - leaf location-name { - type string; - description "card location"; - } - } - - grouping FPD-SHOW-LOCATION-NAME-LIST { - description "card location name string list"; - - list location-name { - description "card location list"; - uses FPD-LOCATION-NAME; - } - } - - grouping FPD-PKG-INFO { - description "fpd pkg info"; - leaf card-type { - type string; - description "card type"; - } - leaf fpd-desc { - type string; - description "fpd desc"; - } - leaf upgrade-method { - type string; - description "reload or not"; - } - leaf fpd-ver { - type string; - description "fpd version"; - } - leaf min-sw-ver { - type string; - description "minimum sw version"; - } - leaf min-hw-ver { - type string; - description "minimum hw version"; - } - } - - grouping FPD-PKG-INFO-LIST { - description "fpd pkg info list "; - - list fpd-pkg-data { - description " fpd pkg list "; - uses FPD-PKG-INFO; - } - } - - grouping FPD-LOC-INFO { - description "fpd loc info"; - leaf location { - type string; - description "fpd location"; - } - leaf fpd-name { - type string; - description "fpd name"; - } - } - - grouping FPD-LOC-INFO-LIST { - description "card location name string list"; - - list fpd-name { - description "Fpd name list"; - uses FPD-LOC-INFO; - } - } - - grouping FPD-INFO { - description "fpd info"; - leaf location { - type string; - description "fpd location"; - } - leaf card-name { - type string; - description "Name of card on which fpd is located"; - } - leaf fpd-name { - type string; - description "fpd name"; - } - leaf hw-version { - type string; - description "hadware version"; - } - leaf secure-boot-attr { - type string; - description "secure boot attribur"; - } - leaf status { - type string; - description "status of the fpd"; - } - leaf running-version { - type string; - description "image running version "; - } - leaf programd-version { - type string; - description "image programd version"; - } - } - - grouping FPD-INFO-LIST { - description "fpd info list"; - - list fpd-info-detaile { - description " fpd list with all detailes"; - uses FPD-INFO; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang deleted file mode 100644 index 103330e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang +++ /dev/null @@ -1,129 +0,0 @@ -module Cisco-IOS-XR-show-fpd-loc-ng-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-show-fpd-loc-ng-oper"; - - - prefix "show-fpd-loc-ng-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR show-fpd-loc-ng package operational data. - - This module contains definitions - for the following management objects: - show-fpd: Show hw-module fpd - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container show-fpd { - config false; - description "Show hw-module fpd"; - - container locations { - description "location table"; - - list location { - key "location-name"; - description "location"; - leaf location-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Fpd location"; - } - - list fpd { - key "fpd-name"; - description "Display fpds on given locations"; - leaf fpd-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Fpd Name"; - } - uses FPD-INFO-LIST; - } - } - } - - container hw-module-fpd { - description - "Display fpds on all locations -show hw-module - fpd"; - uses FPD-INFO-LIST; - } - - container help-locations { - description "help location table"; - - list help-location { - key "location-name"; - description "location"; - - container help-fpd { - description "Display fpds on given locations"; - uses FPD-LOC-INFO-LIST; - } - leaf location-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Fpd location"; - } - } - } - - container hw-module-fpd-help-fpd { - description "Display help-fpd -show hw-module fpd help-fpd"; - uses FPD-LOC-INFO-LIST; - } - - container package { - description "gets fpd package info"; - uses FPD-PKG-INFO-LIST; - } - - container location-help { - description "fpd upgradable locations"; - uses FPD-SHOW-LOCATION-NAME-LIST; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub1.yang deleted file mode 100644 index eed92e8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub1.yang +++ /dev/null @@ -1,753 +0,0 @@ -submodule Cisco-IOS-XR-skp-qos-oper-sub1 { - - belongs-to Cisco-IOS-XR-skp-qos-oper { - prefix Cisco-IOS-XR-skp-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR skp-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-18" { - description - "Implementing Oper Yang Model"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Action { - type enumeration { - enum police-transmit { - description "Police action transmit"; - } - enum police-set-transmit { - description "Police action set transmit"; - } - enum police-drop { - description "Police action drop"; - } - enum police-unknown { - description "Police action unknown"; - } - } - description "Action type"; - } - typedef Action-opcode { - type enumeration { - enum precedence { - value 0; - description "Precedence"; - } - enum dscp { - value 1; - description "DSCP"; - } - enum discard-class { - value 2; - description "Discard class"; - } - enum qos-group { - value 3; - description "QoS group"; - } - enum cos-inner { - value 4; - description "COS inner"; - } - enum cos { - value 5; - description "COS"; - } - enum exp-top { - value 6; - description "EXP top"; - } - enum exp-imp { - value 7; - description "EXP IMP"; - } - enum tunnel-precedence { - value 8; - description "Tunnel precedence"; - } - enum tunnel-dscp { - value 9; - description "Tunnel DSCP"; - } - enum itag-dei { - value 10; - description "ITAG DEI"; - } - enum itag-cos { - value 11; - description "ITAG COS"; - } - enum cos-imposition { - value 12; - description "COS imposition"; - } - enum dei-imposition { - value 13; - description "DEI imposition"; - } - enum dei { - value 14; - description "DEI"; - } - enum no-marking { - value 15; - description "No marking"; - } - } - description "Action opcode"; - } - typedef Tb-algorithm { - type enumeration { - enum inactive { - value 0; - description "Inactive, configured but disabled"; - } - enum single { - value 1; - description "Single token bucket"; - } - enum single-rate-tcm { - value 2; - description "Single rate three color marker"; - } - enum two-rate-tcm { - value 3; - description "Two rate three color marker"; - } - enum mef-tcm { - value 4; - description "Allows coupling between CIR and PIR tb's"; - } - enum dummy { - value 5; - description - "Internal dummy token bucket for coupled-policer - child"; - } - } - description "Tokenbucket type"; - } - typedef Qos-unit { - type enumeration { - enum invalid { - value 0; - description "Invalid type"; - } - enum bytes { - value 1; - description "Bytes"; - } - enum kilobytes { - value 2; - description "Kilobytes"; - } - enum megabytes { - value 3; - description "Megabytes"; - } - enum gigabytes { - value 4; - description "Gigabytes"; - } - enum bps { - value 5; - description "Bits per second"; - } - enum kbps { - value 6; - description "Kilo bits per second"; - } - enum mbps { - value 7; - description "Mega bits per second"; - } - enum gbps { - value 8; - description "Giga bits per second"; - } - enum cells-per-second { - value 9; - description "Cells per second"; - } - enum packets-per-second { - value 10; - description "Packets per second"; - } - enum microsecond { - value 11; - description "Microsecond"; - } - enum millisecond { - value 12; - description "Millisecond"; - } - enum packets { - value 13; - description "Number of packets"; - } - enum cells { - value 14; - description "Number of cells"; - } - enum percentage { - value 15; - description "Percentage"; - } - enum ratio { - value 16; - description "Ratio"; - } - } - description "QoS parameter unit"; - } - - grouping QOS-SHOW-EA-POLICE-RESULT-ST { - description "QoS EA Policer Result"; - leaf token-bucket-id { - type uint32; - description "Token Bucket ID"; - } - leaf conform { - type uint32; - description "Conform Rate"; - } - leaf exceed { - type uint32; - description "Exceed Rate"; - } - leaf violate { - type uint32; - description "Violate Rate"; - } - } - - grouping QOS-SHOW-EA-QUEUE-RESULT-ST { - description "QoS EA Queue Result"; - leaf queue-id { - type uint32; - description "Queue ID"; - } - leaf commit-tx { - type uint32; - description "Commit Tx"; - } - leaf excess-tx { - type uint32; - description "Excess Tx"; - } - leaf drop { - type uint32; - description "Drop"; - } - } - - grouping QOS-SHOW-EA-RESULT-ST { - description "QoS EA Class Result"; - - container queue { - description "QoS EA Queue Result"; - uses QOS-SHOW-EA-QUEUE-RESULT-ST; - } - - container police { - description "QoS EA Policer Result"; - uses QOS-SHOW-EA-POLICE-RESULT-ST; - } - leaf stats-id { - type uint32; - description "Stats ID"; - } - } - - grouping QOS-SHOW-EA-POLICE-PARAMS-ST { - description "QoS EA Policer parameters"; - - container cir { - description "CIR"; - uses QOS-PARAM; - } - - container cbs { - description "CBS"; - uses QOS-PARAM; - } - leaf color-aware { - type boolean; - description "Color Aware"; - } - leaf policer-type { - type Tb-algorithm; - description "Policer type"; - } - } - - grouping QOS-SHOW-EA-CONFIG-ST { - description "QoS EA Class Configuration"; - - container police { - description "QoS EA Policer parameters"; - uses QOS-SHOW-EA-POLICE-PARAMS-ST; - } - - container shape { - description "QoS EA Shaper parameters"; - uses QOS-SHOW-EA-SHAPER-PARAMS-ST; - } - - container wfq { - description "QoS EA WFQ parameters"; - uses QOS-SHOW-EA-WFQ-PARAMS-ST; - } - leaf node-config { - type string { - length "0..101"; - } - description "Node Config"; - } - } - - grouping QOS-SHOW-EA-PCLASS-ST { - description "Skywarp QoS EA policy class details"; - - list qos-show-ea-pclass-st { - description "qos show ea pclass st"; - - container config { - description "QoS EA Class Configuration"; - uses QOS-SHOW-EA-CONFIG-ST; - } - - container result { - description "QoS EA Class Result"; - uses QOS-SHOW-EA-RESULT-ST; - } - leaf index { - type uint16; - description "Class Index"; - } - leaf class-level { - type uint8; - description "Class level"; - } - leaf class-name { - type string { - length "0..65"; - } - description "Class name"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - leaf node-flags { - type string { - length "0..101"; - } - description "Node Flags"; - } - leaf stats-flags { - type string { - length "0..101"; - } - description "Statistical Flags"; - } - } - } - - grouping QOS-SHOW-EA-IF-QOS-PARAM-ST { - description "QoS EA Interface Parameters"; - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - leaf hierarchical-depth { - type uint8; - description "Max Hierarchial Depth"; - } - leaf interface-type { - type string { - length "0..101"; - } - description "Interface Type"; - } - leaf interface-rate { - type uint32; - description "Interface Programmed Rate"; - } - leaf port-shaper-rate { - type uint32; - description "Port Shaper Rate"; - } - leaf interface-handle { - type xr:Interface-name; - description "Interface Handle"; - } - leaf under-line-interface-handle { - type xr:Interface-name; - description "UnderLineInterface Handle"; - } - leaf bundle-id { - type uint16; - description "Bundle Interface ID"; - } - leaf uidb-index { - type uint16; - description "UIDB Index"; - } - leaf qos-interface-handle { - type uint64; - description "QoS Interface handle"; - } - leaf port { - type uint32; - description "Local Port"; - } - leaf policy-map-id { - type uint16; - description "Policy Map ID"; - } - } - - grouping QOS-SHOW-EA-POLICY-ST { - description "QoS EA policy"; - - container header { - description "QoS EA policy header"; - uses QOS-SHOW-EA-HEADER-ST; - } - - container interface-parameters { - description "QoS EA Interface Parameters"; - uses QOS-SHOW-EA-IF-QOS-PARAM-ST; - } - - container skywarp-qos-policy-class { - description "Skywarp QoS EA policy class details"; - uses QOS-SHOW-EA-PCLASS-ST; - } - } - - grouping QOS-EA-CAPABILITY { - description "QoS capability"; - leaf max-policy-maps { - type uint32; - description "Maximum policy maps per system"; - } - leaf max-policy-hierarchy { - type uint32; - description "Maximum policy hierarchy"; - } - leaf max-policy-name-length { - type uint32; - description "Maximum policy name length"; - } - leaf max-classes-per-policy { - type uint32; - description "Maximum classes per policy"; - } - leaf max-police-actions-per-class { - type uint32; - description "Maximum police actions per class"; - } - leaf max-marking-actions-per-class { - type uint32; - description "Maximum marking action per class"; - } - leaf max-matches-per-class { - type uint32; - description "Maximum matches per class"; - } - leaf max-classmap-name-length { - type uint32; - description "Maximum classmap name length"; - } - leaf max-bundle-members { - type uint32; - description "Maximum bundle members"; - } - } - - grouping MARK-ACTION { - description "Marking parameters"; - leaf mark-value { - type uint8; - description "Mark value"; - } - leaf action-opcode { - type Action-opcode; - description "Action opcode"; - } - } - - grouping MARK-ACTION-PER-CATEGORY { - description "Marking action"; - leaf action-type { - type Action; - description "Action type"; - } - - list mark-detail { - max-elements "2"; - description "Mark value"; - uses MARK-ACTION; - } - } - - grouping QOS-CLASS-MARK-ACTIONS { - description "QoS Mark parameters"; - - container mark-only { - description "Mark Only"; - uses MARK-ACTION-PER-CATEGORY; - } - - container police-conform { - description "Police conform mark"; - uses MARK-ACTION-PER-CATEGORY; - } - - container police-exceed { - description "Police exceed mark"; - uses MARK-ACTION-PER-CATEGORY; - } - } - - grouping QOS-SHOW-POLICE-PARAMS-ST { - description "QoS Policer parameters"; - - container cir { - description "CIR"; - uses QOS-PARAM; - } - - container cbs { - description "CBS"; - uses QOS-PARAM; - } - leaf policer-id { - type uint32; - description "policer ID"; - } - leaf policer-type { - type Tb-algorithm; - description "Policer type"; - } - } - - grouping QOS-SHOW-EA-WFQ-PARAMS-ST { - description "QoS EA WFQ parameters"; - - container bandwidth { - description "Bandwidth"; - uses QOS-PARAM; - } - - container sum-of-bandwidth { - description "Sum of Bandwidth"; - uses QOS-PARAM; - } - leaf excess-ratio { - type uint16; - description "Excess Ratio"; - } - } - - grouping QOS-SHOW-WFQ-PARAMS-ST { - description "QoS WFQ parameters"; - - container committed-weight { - description "Committed Weight"; - uses QOS-PARAM; - } - - container programmed-wfq { - description "QoS Programmed WFQ parameters"; - uses QOS-SHOW-EA-WFQ-PARAMS-ST; - } - leaf excess-weight { - type uint16; - description "Excess Weight"; - } - } - - grouping QOS-SHOW-EA-SHAPER-PARAMS-ST { - description "QoS EA Shaper parameters"; - - container pir { - description "PIR in kbps"; - uses QOS-PARAM; - } - - container pbs { - description "PBS in bytes"; - uses QOS-PARAM; - } - } - - grouping QOS-SHOW-QUEUE-PARAMS-ST { - description "QoS Queue parameters"; - leaf queue-id { - type uint32; - description "Queue ID"; - } - leaf queue-type { - type string { - length "0..101"; - } - description "Queue Type"; - } - } - - grouping QOS-SHOW-PCLASS-ST { - description "Skywarp QoS policy class details"; - - list qos-show-pclass-st { - description "qos show pclass st"; - - container queue { - description "QoS Queue parameters"; - uses QOS-SHOW-QUEUE-PARAMS-ST; - } - - container shape { - description "QoS EA Shaper parameters"; - uses QOS-SHOW-EA-SHAPER-PARAMS-ST; - } - - container wfq { - description "QoS WFQ parameters"; - uses QOS-SHOW-WFQ-PARAMS-ST; - } - - container police { - description "QoS Policer parameters"; - uses QOS-SHOW-POLICE-PARAMS-ST; - } - - container marking { - description "QoS Mark parameters"; - uses QOS-CLASS-MARK-ACTIONS; - } - leaf class-level { - type uint8; - description "Class level"; - } - leaf class-name { - type string { - length "0..65"; - } - description "Class name"; - } - } - } - - grouping QOS-PARAM { - description "Config details"; - leaf value { - type uint32; - description "Config value"; - } - leaf unit { - type Qos-unit; - description "Config unit"; - } - } - - grouping QOS-SHOW-IF-QOS-PARAM-ST { - description "QoS Interface Parameters"; - - container interface-config-rate { - description "Interface Configured Rate"; - uses QOS-PARAM; - } - - container interface-program-rate { - description "Interface Programmed Rate"; - uses QOS-PARAM; - } - - container port-shaper-rate { - description "Port Shaper Rate"; - uses QOS-PARAM; - } - } - - grouping QOS-SHOW-EA-HEADER-ST { - description "QoS EA policy header"; - leaf interface-name { - type string { - length "0..101"; - } - description "Interface Name"; - } - leaf policy-name { - type string { - length "0..65"; - } - description "Policy name"; - } - leaf direction { - type string { - length "0..11"; - } - description "Direction"; - } - leaf classes { - type uint16; - description "Number of classes"; - } - } - - grouping QOS-SHOW-POLICY-ST { - description "QoS policy"; - - container header { - description "QoS EA policy header"; - uses QOS-SHOW-EA-HEADER-ST; - } - - container interface-parameters { - description "QoS Interface Parameters"; - uses QOS-SHOW-IF-QOS-PARAM-ST; - } - - container skywarp-qos-policy-class { - description "Skywarp QoS policy class details"; - uses QOS-SHOW-PCLASS-ST; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub2.yang deleted file mode 100644 index 00c7ec7..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper-sub2.yang +++ /dev/null @@ -1,838 +0,0 @@ -submodule Cisco-IOS-XR-skp-qos-oper-sub2 { - - belongs-to Cisco-IOS-XR-skp-qos-oper { - prefix Cisco-IOS-XR-skp-qos-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR skp-qos package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-18" { - description - "Implementing Oper Yang Model"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Wred { - type enumeration { - enum wred-cos-cmd { - description "wred cos cmd"; - } - enum wred-dscp-cmd { - description "wred dscp cmd"; - } - enum wred-precedence-cmd { - description "wred precedence cmd"; - } - enum wred-discard-class-cmd { - description "wred discard class cmd"; - } - enum wred-mpls-exp-cmd { - description "wred mpls exp cmd"; - } - enum red-with-user-min-max { - description "red with user min max"; - } - enum red-with-default-min-max { - description "red with default min max"; - } - enum wred-dei-cmd { - description "wred dei cmd"; - } - enum wred-ecn-cmd { - description "wred ecn cmd"; - } - enum wred-invalid-cmd { - description "wred invalid cmd"; - } - } - description "Wred"; - } - typedef Policy-param-unit { - type enumeration { - enum policy-param-unit-invalid { - description "policy param unit invalid"; - } - enum policy-param-unit-bytes { - description "policy param unit bytes"; - } - enum policy-param-unit-kbytes { - description "policy param unit kbytes"; - } - enum policy-param-unit-mbytes { - description "policy param unit mbytes"; - } - enum policy-param-unit-gbytes { - description "policy param unit gbytes"; - } - enum policy-param-unit-bitsps { - description "policy param unit bitsps"; - } - enum policy-param-unit-kbitsps { - description "policy param unit kbitsps"; - } - enum policy-param-unit-mbitsps { - description "policy param unit mbitsps"; - } - enum policy-param-unit-gbitsps { - description "policy param unit gbitsps"; - } - enum policy-param-unit-cells-ps { - description "policy param unit cells ps"; - } - enum policy-param-unit-packets-ps { - description "policy param unit packets ps"; - } - enum policy-param-unit-us { - description "policy param unit us"; - } - enum policy-param-unit-ms { - description "policy param unit ms"; - } - enum policy-param-unit-seconds { - description "policy param unit seconds"; - } - enum policy-param-unit-packets { - description "policy param unit packets"; - } - enum policy-param-unit-cells { - description "policy param unit cells"; - } - enum policy-param-unit-percent { - description "policy param unit percent"; - } - enum policy-param-unit-per-thousand { - description "policy param unit per thousand"; - } - enum policy-param-unit-per-million { - description "policy param unit per million"; - } - enum policy-param-unit-hz { - description "policy param unit hz"; - } - enum policy-param-unit-khz { - description "policy param unit khz"; - } - enum policy-param-unit-mhz { - description "policy param unit mhz"; - } - enum policy-param-unit-ratio { - description "policy param unit ratio"; - } - enum policy-param-unit-max { - description "policy param unit max"; - } - } - description "Policy param unit"; - } - typedef Cac-state { - type enumeration { - enum unknown { - value 0; - description "unknown"; - } - enum admit { - value 1; - description "admit"; - } - enum redirect { - value 2; - description "redirect"; - } - enum ubrl { - value 3; - description "ubrl"; - } - } - description "CAC/UBRL class states"; - } - typedef Policy-state { - type enumeration { - enum active { - value 0; - description "active"; - } - enum suspended { - value 1; - description "suspended"; - } - } - description "Different Interface states"; - } - - grouping CAC-STATS-ST { - description "CAC statistics"; - leaf drop-packets { - type uint64; - description "CAC dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "CAC dropped bytes"; - } - leaf drop-rates { - type uint32; - description "CAC dropped rate"; - } - leaf admitpackets { - type uint64; - units "byte"; - description "Admitted packets (pkts/bytes)"; - } - leaf admit-bytes { - type uint64; - units "byte"; - description "Admitted bytes (pkts/bytes)"; - } - leaf admit-rates { - type uint32; - description "CAC admit rate"; - } - } - - grouping IPHC-STATS-ST { - description "IPHC Stats"; - leaf non-tcp-total-out-packets { - type uint64; - description "TotalNum of Non tcp pkts sent"; - } - leaf non-tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Non Tcp Bytes sent"; - } - leaf non-tcp-bytes-saved { - type uint64; - units "byte"; - description "Non Tcp Bytes saved due to compression"; - } - leaf non-tcp-compressed-packets-out { - type uint64; - description "Num of non tcp compressed pkts sent"; - } - leaf non-tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Non Tcp Bytes sent rate"; - } - leaf non-tcp-full-header-packets-out { - type uint64; - description "Num of non tcp fullheader pkts sent"; - } - leaf tcp-total-out-packets { - type uint64; - description "Total Num of tcp pkts sent"; - } - leaf tcp-total-out-bytes { - type uint64; - units "byte"; - description "TotalNum of Tcp Bytes sent"; - } - leaf tcp-bytes-saved { - type uint64; - units "byte"; - description "Tcp Bytes saved due to compression"; - } - leaf tcp-compressed-packets-out { - type uint64; - description "Num of tcp compressed pkts sent"; - } - leaf tcp-bytes-sent-rate { - type uint32; - units "byte"; - description "Compressed Tcp Bytes sent rate"; - } - leaf tcp-full-header-packets-out { - type uint64; - description "Num of tcp fullheader pkts sent"; - } - } - - grouping WRED-TYPE-VALUE { - description "WRED Type Value pairs"; - leaf wred-type { - type Wred; - description "WRED type DSCP, EXP, PREC etc."; - } - leaf value { - type uint8; - description "WRED value for this type."; - } - } - - grouping RED-PROFILE-STATS { - description "Per RED profile stats"; - leaf profile-title { - type string { - length "0..300"; - } - description "ProfileTitle"; - } - leaf red-transmit-packets { - type uint64; - description "Transmitted packets"; - } - leaf red-transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes"; - } - leaf random-drop-packets { - type uint64; - description "Probabilistically dropped packets"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Probabilisticallydropped bytes"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at - the max-threshold"; - } - leaf red-ecn-marked-packets { - type uint64; - description "ECN marked packets "; - } - leaf red-ecn-marked-bytes { - type uint64; - units "byte"; - description "ECN marked bytes"; - } - - list red-label { - description - "Array of WRED Typevalues as in PRP stats is - available per threshold "; - uses WRED-TYPE-VALUE; - } - } - - grouping PLC-COLOR-CLASS-STATS-ST { - description "Color Aware Policer statistics"; - leaf conform-class-conform-packets { - type uint64; - description - "Packets with classification result conform and - policer result conform"; - } - leaf conform-class-conform-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result conform"; - } - leaf conform-class-conform-rate { - type uint32; - units "kbit/s"; - description "Conform Class Conform rate in kbps"; - } - leaf conform-class-exceed-packets { - type uint64; - description - "Packets with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result exceed"; - } - leaf conform-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Conform Class Exceed rate in kbps"; - } - leaf conform-class-violate-packets { - type uint64; - description - "Packets with classification result conform and - policer result violate"; - } - leaf conform-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result conform and - policer result violate"; - } - leaf conform-class-violate-rate { - type uint32; - units "kbit/s"; - description "Conform Class Violate rate in kbps"; - } - leaf exceed-class-exceed-packets { - type uint64; - description - "Packets with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result exceed"; - } - leaf exceed-class-exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Exceed rate in kbps"; - } - leaf exceed-class-violate-packets { - type uint64; - description - "Packets with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result exceed and - policer result violate"; - } - leaf exceed-class-violate-rate { - type uint32; - units "kbit/s"; - description "Exceed Class Violate rate in kbps"; - } - leaf violate-class-violate-packets { - type uint64; - description - "Packets with classification result violate and - policer result violate"; - } - leaf violate-class-violate-bytes { - type uint64; - units "byte"; - description - "Bytes with classification result violate and - policer result violate"; - } - leaf violate-class-violate-rate { - type uint32; - units "kbit/s"; - description "Violate Class Violate rate in kbps"; - } - } - - grouping PLC-STATS-ST { - description "Policer statistics"; - - container color-class-stats { - description "color class stats"; - uses PLC-COLOR-CLASS-STATS-ST; - } - leaf drop-packets { - type uint64; - description "Police dropped packets"; - } - leaf drop-bytes { - type uint64; - units "byte"; - description "Police dropped bytes"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the policed rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the policed rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the policed rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the policed rate"; - } - leaf violate-packets { - type uint64; - description "Packets violating the policed rate"; - } - leaf violate-bytes { - type uint64; - units "byte"; - description "Bytes that violate the policed rate"; - } - leaf parent-drop-packets { - type uint64; - description "Dropped pkts by the parent policer"; - } - leaf parent-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes by the parent policer"; - } - leaf conform-rate { - type uint32; - units "kbit/s"; - description "Conform rate in kbps"; - } - leaf exceed-rate { - type uint32; - units "kbit/s"; - description "Exceed rate in kbps"; - } - leaf violate-rate { - type uint32; - units "kbit/s"; - description "Violate rate in kbps"; - } - } - - grouping POLICY-PARAM-UINT32-ST { - description "POLICY PARAM UINT32 ST"; - leaf value { - type uint32; - description "value"; - } - leaf unit { - type Policy-param-unit; - description "unit"; - } - } - - grouping Q-STATS-ST { - description "Queue limit statistics"; - leaf queue-id { - type uint32; - description "Queue Id used for Fabric Stats"; - } - leaf tail-drop-packets { - type uint64; - description "Packets tail dropped"; - } - leaf tail-drop-bytes { - type uint64; - units "byte"; - description "Bytes tail dropped"; - } - leaf atm-clp0-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp0-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf atm-clp1-drop-packets { - type uint64; - description "ATP CLP 0 matched packets dropped"; - } - leaf atm-clp1-drop-bytes { - type uint64; - units "byte"; - description "ATP CLP 0 matched bytes dropped"; - } - leaf queue-drop-threshold { - type uint32; - units "byte"; - description "tail drop threshold of the queue in bytes"; - } - leaf forced-wred-stats-display { - type boolean; - description - "flag to forcedisplay of WRED even when per - WredWRED profile stats is not available"; - } - leaf random-drop-packets { - type uint64; - description "Packets probabilistically dropped"; - } - leaf random-drop-bytes { - type uint64; - units "byte"; - description "Bytes probabilistically dropped"; - } - leaf max-threshold-packets { - type uint64; - description - "Dropped packets with the average queue size at - the max-threshold"; - } - leaf max-threshold-bytes { - type uint64; - units "byte"; - description - "Dropped bytes with the average queue size at the - max-threshold"; - } - leaf conform-packets { - type uint64; - description "Packets that conform to the queue rate"; - } - leaf conform-bytes { - type uint64; - units "byte"; - description "Bytes that conform to the queue rate"; - } - leaf exceed-packets { - type uint64; - description "Packets that exceed the queue rate"; - } - leaf exceed-bytes { - type uint64; - units "byte"; - description "Bytes that exceed the queue rate"; - } - leaf conform-rate { - type uint32; - description "Conform rate"; - } - leaf exceed-rate { - type uint32; - description "Exceed rate"; - } - - list queue-instance-length { - description "Queue instance length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-average-length { - description "Queue average length"; - uses POLICY-PARAM-UINT32-ST; - } - - list queue-max-length { - description "Queue maximum length"; - uses POLICY-PARAM-UINT32-ST; - } - } - - grouping GEN-STATS-ST { - description "Counters common to all features"; - leaf transmit-packets { - type uint64; - units "byte"; - description "Transmitted packets (packets/bytes)"; - } - leaf transmit-bytes { - type uint64; - units "byte"; - description "Transmitted bytes (packets/bytes)"; - } - leaf total-drop-packets { - type uint64; - units "byte"; - description "Dropped packets (packets/bytes)"; - } - leaf total-drop-bytes { - type uint64; - units "byte"; - description "Dropped bytes (packets/bytes)"; - } - leaf total-drop-rate { - type uint32; - units "byte"; - description "Total drop rate (packets/bytes)"; - } - leaf match-data-rate { - type uint32; - units "kbit/s"; - description "Incoming matched data rate in kbps"; - } - leaf total-transmit-rate { - type uint32; - units "kbit/s"; - description "Total transmit rate in kbps"; - } - leaf pre-policy-matched-packets { - type uint64; - description "Matched pkts before applying policy"; - } - leaf pre-policy-matched-bytes { - type uint64; - units "byte"; - description "Matched bytes before applying policy"; - } - } - - grouping CLASS-STATS { - description "CLASS STATS"; - - container general-stats { - description "general stats"; - uses GEN-STATS-ST; - } - - container iphc-stats { - description "IPHC stats"; - uses IPHC-STATS-ST; - } - - container child-policy { - description "child policy"; - } - - container cac-stats { - description "bag for cac stats"; - uses CAC-STATS-ST; - } - leaf counter-validity-bitmask { - type uint64; - units "megabyte"; - description - " Bitmask to indicate which counter or counters - are undetermined. Counters will be marked - undetermined when one or more classes share - queues with class-default because in such cases - the value of counters for each class is invalid. - Based on the flag(s) set, the following counters - will be marked undetermined. For example, if - value of this object returned is 0x00000101, - counters - TransmitPackets/TransmitBytes/TotalTransmitRate - and DropPackets/DropBytes are undetermined - .0x00000001 - Transmit - (TransmitPackets/TransmitBytes/TotalTransmitRate - ), 0x00000002 - Total drop - (TotalDropPackets/TotalDropBytes/TotalDropRate), - 0x00000004 - Match - (MatchDataRate/PrepolicyMatchedPackets - /PrepolicyMatchedBytes), 0x00000100 - Police - drop (DropPackets/DropBytes), 0x00000200 - - Police conform - (ConformPackets/ConformBytes/ConformRate), - 0x00000400 - Police exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00000800 - Police violate - (ViolatePackets/ViolateBytes/ViolateRate), - 0x00001000 - Parent policer drop - (ParentDropPackets/ParentDropBytes), 0x00010000 - - Queueing drop (TailDropPackets/TailDropBytes), - 0x00020000 - Red queue drop - (RandomDropPackets/RandomDropBytes), 0x00040000 - - Queue maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes), - 0x00080000 - Queue conform - (ConformPackets/ConformBytes/ConformRate), - 0x00100000 - Queue exceed - (ExceedPackets/ExceedBytes/ExceedRate), - 0x00200000 - CLP limit drop - (ATM_CLP0DropPackets/ATM_CLP0DropBytes - /ATM_CLP1DropPackets/ATM_CLP1DropBytes), - 0x01000000 - RED transmit - (RedTransmitPackets/RedTransmitBytes), - 0x02000000 - RED drop - (RandomDropPackets/RandomDropBytes), 0x04000000 - - RED maximum threshold drop - (MaxThresholdPackets/MaxThresholdBytes)"; - } - leaf class-name { - type string { - length "0..65"; - } - description "ClassName"; - } - leaf shared-queue-id { - type uint32; - description "q-id of the shared queue for this class"; - } - leaf queue-descr { - type string { - length "0..256"; - } - description "Description of queue for the class"; - } - leaf cac-state { - type Cac-state; - description "CACState"; - } - - list queue-stats-array { - description "array of queue stats"; - uses Q-STATS-ST; - } - - list police-stats-array { - description "array of police stats"; - uses PLC-STATS-ST; - } - - list wred-stats-array { - description "array of red stats"; - uses RED-PROFILE-STATS; - } - } - - grouping QOS-STATS { - description "policy map statistics"; - leaf policy-name { - type string { - length "0..65"; - } - description "PolicyName"; - } - leaf subscriber-group { - type string { - length "0..34"; - } - description "SubscriberGroup"; - } - leaf state { - type Policy-state; - description "State"; - } - leaf state-description { - type string { - length "0..128"; - } - description "StateDescription"; - } - leaf satid { - type uint32; - description "to maintain satellite id"; - } - - list class-stat { - description "array of classes contained in policy"; - uses CLASS-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper.yang deleted file mode 100644 index 2f7da5c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skp-qos-oper.yang +++ /dev/null @@ -1,399 +0,0 @@ -module Cisco-IOS-XR-skp-qos-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-skp-qos-oper"; - - - prefix "skp-qos-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-skp-qos-oper-sub2 { - revision-date 2016-02-18; - } - - include Cisco-IOS-XR-skp-qos-oper-sub1 { - revision-date 2016-02-18; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR skp-qos package operational data. - - This module contains definitions - for the following management objects: - platform-qos: QoS Skywarp platform operational data - platform-qos-ea: platform qos ea - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-18" { - description - "Implementing Oper Yang Model"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NV-SATELLITE-INPUT { - description - "Common node of nv-satellite-interface, - satellite-id, member-interface"; - - container nv-satellite-input { - description - "A piece of Satellite QoS policy-map operational - data for input"; - uses NV-SAT-STATISTICS; - } - } - - grouping DETAILS { - description - "Common node of output, input, bundle-input, - bundle-output"; - - container details { - description "QoS-EA policy details"; - uses QOS-SHOW-EA-POLICY-ST; - } - } - - grouping STATISTICS { - description "Common node of input, output, policy-name"; - - container statistics { - description - "Policy-map statistics operational data for an - interface"; - uses QOS-STATS; - } - } - - grouping INTERFACE { - description - "Common node of interface-table, - nv-interface-table"; - - list interface { - key "interface-name"; - description - "QoS policy-map operational data for a particular - interface"; - leaf interface-name { - type xr:Interface-name; - description "Name of the interface"; - } - uses OUTPUT; - uses INPUT; - uses MEMBER-INTERFACE-TABLE; - uses SATELLITE-ID-TABLE; - } - } - - grouping INPUT { - description - "Common node of shared-policy-instance, - member-interface, interface"; - - container input { - description - "A piece of QoS policy-map operational data for - an interface"; - uses POLICY-NAME-TABLE; - uses STATISTICS; - } - } - - grouping MEMBER-INTERFACE-TABLE { - description - "Common node of interface, nv-satellite-interface, - shared-policy-instance"; - - container member-interfaces { - description "QoS policy-map member interface table"; - - list member-interface { - key "interface-name"; - description "QoS policy-map member interface statistics"; - leaf interface-name { - type xr:Interface-name; - description "Name of member interface"; - } - uses OUTPUT; - uses NV-SATELLITE-OUTPUT; - uses INPUT; - uses NV-SATELLITE-INPUT; - uses SATELLITE-ID-TABLE; - } - } - } - - grouping POLICY-NAME-TABLE { - description "Common node of input, output"; - - container policy-names { - description - "Policy-map statistics operational data for an - interface"; - - list policy-name { - key "pmap-name"; - description - "Policy-map statistics operational data for an - interface"; - leaf pmap-name { - type xr:Cisco-ios-xr-string; - description "Name of the policy"; - } - uses STATISTICS; - } - } - } - - grouping NV-SATELLITE-OUTPUT { - description - "Common node of nv-satellite-interface, - satellite-id, member-interface"; - - container nv-satellite-output { - description - "A piece of Satellite QoS policy-map operational - data for an interface"; - uses NV-SAT-STATISTICS; - } - } - - grouping OUTPUT { - description - "Common node of shared-policy-instance, - member-interface, interface"; - - container output { - description - "A piece of QoS policy-map operational data for - an interface"; - uses POLICY-NAME-TABLE; - uses STATISTICS; - } - } - - grouping NV-SAT-STATISTICS { - description - "Common node of nv-satellite-input, - nv-satellite-output"; - - container nv-sat-statistics { - description - "Policy-map statistics operational data for - satellite interface"; - uses QOS-STATS; - } - } - - grouping SATELLITE-ID-TABLE { - description "Common node of interface, member-interface"; - - container satellite-ids { - description "Satellite ID information"; - - list satellite-id { - key "nv-satellite-id"; - description "Satellite ID information"; - leaf nv-satellite-id { - type int32; - description "Satellite ID"; - } - uses NV-SATELLITE-OUTPUT; - uses NV-SATELLITE-INPUT; - } - } - } - - container platform-qos { - config false; - description "QoS Skywarp platform operational data "; - - container nodes { - description - "List of nodes with platform specific QoS - configuration"; - - list node { - key "node-name"; - description "Node with platform specific QoS configuration"; - - container bundle-interfaces { - description "QoS list of bundle interfaces"; - - list bundle-interface { - key "interface-name"; - description "QoS interface name"; - - container member-interfaces { - description "QoS list of member interfaces"; - - list member-interface { - key "interface-name"; - description "QoS interface name"; - - container bundle-input { - description "QoS policy direction input"; - uses QOS-SHOW-POLICY-ST; - } - - container bundle-output { - description "QoS policy direction output"; - uses QOS-SHOW-POLICY-ST; - } - leaf interface-name { - type xr:Interface-name; - description "Memeber interface"; - } - } - } - leaf interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - } - } - - container capability { - description "QoS system capability"; - uses QOS-EA-CAPABILITY; - } - - container interfaces { - description "QoS list of interfaces"; - - list interface { - key "interface-name"; - description "QoS interface name"; - - container output { - description "QoS policy direction egress"; - uses QOS-SHOW-POLICY-ST; - } - - container input { - description "QoS policy direction ingress"; - uses QOS-SHOW-POLICY-ST; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } - - container platform-qos-ea { - config false; - description "platform qos ea"; - - container nodes { - description - "List of nodes with platform specific QoS-EA - configuration"; - - list node { - key "node-name"; - description - "Node with platform specific QoS-EA - configuration"; - - container bundle-interfaces { - description "QoS-EA list of bundle interfaces"; - - list bundle-interface { - key "interface-name"; - description "QoS-EA interface name"; - - container member-interfaces { - description "QoS-EA list of member interfaces"; - - list member-interface { - key "interface-name"; - description "QoS-EA interface name"; - - container bundle-output { - description "QoS-EA policy direction output"; - uses DETAILS; - } - - container bundle-input { - description "QoS-EA policy direction input"; - uses DETAILS; - } - leaf interface-name { - type xr:Interface-name; - description "Memeber interface"; - } - } - } - leaf interface-name { - type xr:Interface-name; - description "Bundle interface name"; - } - } - } - - container interfaces { - description "QoS-EA list of interfaces"; - - list interface { - key "interface-name"; - description "QoS-EA interface name"; - - container output { - description "QoS-EA policy direction egress"; - uses DETAILS; - } - - container input { - description "QoS-EA policy direction ingress"; - uses DETAILS; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang deleted file mode 100644 index 1fa5e63..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang +++ /dev/null @@ -1,232 +0,0 @@ -submodule Cisco-IOS-XR-skywarp-netflow-oper-sub1 { - - belongs-to Cisco-IOS-XR-skywarp-netflow-oper { - prefix Cisco-IOS-XR-skywarp-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR skywarp-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Flow-monitor-name { - type string; - description "Flow monitor name"; - } - - grouping NFSVR-COLLECTOR-INFO { - description "Per collector information"; - leaf exporter-state { - type string; - description "Exporter state"; - } - leaf destination-address { - type string; - description - "Destination IPv4 address in AAA.BBB.CCC.DDD - format"; - } - leaf source-address { - type string; - description "Source IPv4 address in AAA.BBB.CCC.DDD format"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf destination-port { - type uint16; - description "Destination port number"; - } - leaf souce-port { - type uint16; - description "Source port number"; - } - leaf transport-protocol { - type string; - description "Transport protocol"; - } - leaf packets-sent { - type uint64; - description "Packets sent"; - } - leaf flows-sent { - type uint64; - description "Flows sent"; - } - leaf templates-sent { - type uint64; - description "Templates sent"; - } - leaf option-templates-sent { - type uint64; - description "Option templates sent"; - } - leaf option-data-sent { - type uint64; - description "Option data sent"; - } - leaf bytes-sent { - type uint64; - units "byte"; - description "Bytes sent"; - } - leaf flow-bytes-sent { - type uint64; - units "byte"; - description "Flow bytes sent"; - } - leaf template-bytes-sent { - type uint64; - units "byte"; - description "Template bytes sent"; - } - leaf option-template-bytes-sent { - type uint64; - units "byte"; - description "Option template bytes sent"; - } - leaf option-data-bytes-sent { - type uint64; - units "byte"; - description "Option data bytes sent"; - } - leaf packets-dropped { - type uint64; - description "Packets dropped"; - } - leaf flows-dropped { - type uint64; - description "Flows dropped"; - } - leaf templates-dropped { - type uint64; - description "Templates dropped"; - } - leaf option-templates-dropped { - type uint64; - description "Option templates dropped"; - } - leaf option-data-dropped { - type uint64; - description "Option data dropped"; - } - leaf bytes-dropped { - type uint64; - units "byte"; - description "Bytes dropped"; - } - leaf flow-bytes-dropped { - type uint64; - units "byte"; - description "Flow bytes dropped"; - } - leaf template-bytes-dropped { - type uint64; - units "byte"; - description "Template bytes dropped"; - } - leaf option-template-bytes-dropped { - type uint64; - units "byte"; - description "Option template bytes dropped"; - } - leaf option-data-bytes-dropped { - type uint64; - description "Option data dropped"; - } - leaf last-hour-packest-sent { - type uint64; - description "Total packets exported over the last one hour"; - } - leaf last-hour-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one hour"; - } - leaf last-hour-flows-sent { - type uint64; - description "Total flows exported over the of last one hour"; - } - leaf last-minute-packets { - type uint64; - description "Total packets exported over the last one minute"; - } - leaf last-minute-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one minute"; - } - leaf last-minute-flows-sent { - type uint64; - description "Total flows exported over the last one minute"; - } - leaf last-second-packets-sent { - type uint64; - description "Total packets exported over the last one second"; - } - leaf last-second-bytes-sent { - type uint64; - units "byte"; - description "Total bytes exported over the last one second"; - } - leaf last-second-flows-sent { - type uint64; - description "Total flows exported over the last one second"; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS { - description "Flow exporter information"; - leaf name { - type string; - description "Exporter name"; - } - leaf memory-usage { - type uint32; - description "Memory usage"; - } - leaf-list used-by-flow-monitor { - type Flow-monitor-name; - description "List of flow monitors that use the exporter"; - } - - list collector { - description "Statistics of all collectors"; - uses NFSVR-COLLECTOR-INFO; - } - } - - grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY { - description "Flow exporter information"; - - list statistic { - description "Array of flow exporters"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang deleted file mode 100644 index fa09204..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang +++ /dev/null @@ -1,74 +0,0 @@ -submodule Cisco-IOS-XR-skywarp-netflow-oper-sub2 { - - belongs-to Cisco-IOS-XR-skywarp-netflow-oper { - prefix Cisco-IOS-XR-skywarp-netflow-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR skywarp-netflow package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NF-PRODUCER-STATS { - description "Netflow Platform Producer Process statistics"; - leaf ethernet-pkts { - type uint64; - description "Ethernet Packets"; - } - leaf drops-no-space { - type uint64; - description "Drops (no space)"; - } - leaf drops-others { - type uint64; - description "Drops (others)"; - } - leaf unknown-ingress-flows { - type uint64; - description "Unknown ingress flows"; - } - leaf waiting-servers { - type uint64; - description "Number of waiting servers"; - } - leaf spp-rx-counts { - type uint64; - description "Number of Rxed SPP Packets"; - } - leaf flow-packet-counts { - type uint64; - description "Number of Rxed Flow Packets"; - } - leaf last-cleared { - type string; - description - "Last time Statistics cleared in 'Mon Jan 1 12:00 - :00 2xxx' format"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper.yang deleted file mode 100644 index 4ad4760..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-skywarp-netflow-oper.yang +++ /dev/null @@ -1,106 +0,0 @@ -module Cisco-IOS-XR-skywarp-netflow-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-skywarp-netflow-oper"; - - - prefix "skywarp-netflow-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-skywarp-netflow-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-skywarp-netflow-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR skywarp-netflow package operational data. - - This module contains definitions - for the following management objects: - net-flow: NetFlow operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container net-flow { - config false; - description "NetFlow operational data"; - - container statistics { - description "Node-specific NetFlow statistics information"; - - list statistic { - key "node"; - description - "NetFlow statistics information for a particular - node"; - - container producer { - description "NetFlow producer statistics"; - - container statistics { - description "Statistics information"; - uses NF-PRODUCER-STATS; - } - } - - container server { - description "NetFlow server statistics"; - - container flow-exporters { - description "Flow exporter information"; - - list flow-exporter { - key "exporter-name"; - description "Exporter information"; - - container exporter { - description - "Statistics information for the exporter"; - uses NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY; - } - leaf exporter-name { - type xr:Cisco-ios-xr-string; - description "Exporter name"; - } - } - } - } - leaf node { - type xr:Node-id; - description "Node location"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang deleted file mode 100644 index 8e87205..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang +++ /dev/null @@ -1,90 +0,0 @@ -module Cisco-IOS-XR-slice-mgr-proxy-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-slice-mgr-proxy-cfg"; - - - prefix "slice-mgr-proxy-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR slice-mgr-proxy package configuration. - - This module contains definitions - for the following management objects: - node-path: Node act path - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container node-path { - description "Node act path"; - - list node { - key "node-name"; - description - "Node (Physical location of the node in R_S_I - format)"; - - container slice-ids { - description "Slice"; - - list slice-id { - key "slice-id"; - description - "Slice Id on which configuration will be - applied"; - leaf state { - type int32; - description "set val 0 to shutdown"; - } - leaf breakout { - type int32; - description "10G Breakout Config"; - } - leaf mode { - type int32; - description "set val 4 for OTU4 "; - } - leaf slice-id { - type uint32 { - range "0..4"; - } - description "The identifier for this slice"; - } - } - } - leaf node-name { - type xr:Physical-allowed-node-id-string; - description "Location in R_S_I format"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-cfg.yang deleted file mode 100644 index a747630..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-cfg.yang +++ /dev/null @@ -1,1826 +0,0 @@ -module Cisco-IOS-XR-snmp-agent-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg"; - - - prefix "snmp-agent-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package configuration. - - This module contains definitions - for the following management objects: - snmp: The heirarchy point for all the SNMP configurations - mib: mib - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-10-27" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Snmp-tos { - type enumeration { - enum precedence { - value 0; - description "SNMP TOS type Precedence"; - } - enum dscp { - value 1; - description "SNMP TOS type DSCP"; - } - } - description "Snmp tos"; - } - typedef Snmp-hash-algorithm { - type enumeration { - enum none { - value 0; - description "No authentication required"; - } - enum md5 { - value 1; - description "Standard Message Digest algorithm"; - } - enum sha { - value 2; - description "SHA algorithm"; - } - } - description "Snmp hash algorithm"; - } - typedef Snmp-priv-algorithm { - type enumeration { - enum none { - value 0; - description "No Privacy"; - } - enum des { - value 1; - description "Des algorithm"; - } - enum 3des { - value 2; - description "3des algorithm"; - } - enum aes128 { - value 3; - description "aes128 algorithm"; - } - enum aes192 { - value 4; - description "aes192 algorithm"; - } - enum aes256 { - value 5; - description "aes256 algorithm"; - } - } - description "Snmp priv algorithm"; - } - typedef Snmp-owner-access { - type enumeration { - enum sdr-owner { - value 0; - description "Secure Domain Router Owner permissions"; - } - enum system-owner { - value 1; - description "System owner permissions"; - } - } - description "Snmp owner access"; - } - typedef Snmp-bulkstat-schema { - type enumeration { - enum exact-interface { - value 1; - description "Exact Interface"; - } - enum exact-oid { - value 2; - description "Exact OID"; - } - enum wild-interface { - value 3; - description "Wild Interface"; - } - enum wild-oid { - value 4; - description "Wild OID"; - } - enum range-oid { - value 5; - description "Range of OID"; - } - enum repeat-oid { - value 6; - description "Repeated the instance"; - } - } - description "Snmp bulkstat schema"; - } - typedef Snmpacl { - type enumeration { - enum ipv4 { - value 1; - description "Ipv4 Access-list"; - } - enum ipv6 { - value 2; - description "Ipv6 Access-list"; - } - } - description "Snmpacl"; - } - typedef Snmp-dscp-value { - type union { - type enumeration { - enum default { - value 0; - description "Applicable to DSCP: bits 000000"; - } - enum af11 { - value 10; - description "Applicable to DSCP: bits 001010"; - } - enum af12 { - value 12; - description "Applicable to DSCP: bits 001100"; - } - enum af13 { - value 14; - description "Applicable to DSCP: bits 001110"; - } - enum af21 { - value 18; - description "Applicable to DSCP: bits 010010"; - } - enum af22 { - value 20; - description "Applicable to DSCP: bits 010100"; - } - enum af23 { - value 22; - description "Applicable to DSCP: bits 010110"; - } - enum af31 { - value 26; - description "Applicable to DSCP: bits 011010"; - } - enum af32 { - value 28; - description "Applicable to DSCP: bits 011100"; - } - enum af33 { - value 30; - description "Applicable to DSCP: bits 011110"; - } - enum af41 { - value 34; - description "Applicable to DSCP: bits 100010"; - } - enum af42 { - value 36; - description "Applicable to DSCP: bits 100100"; - } - enum af43 { - value 38; - description "Applicable to DSCP: bits 100110"; - } - enum ef { - value 46; - description "Applicable to DSCP: bits 101110"; - } - enum cs1 { - value 8; - description "Applicable to DSCP: bits 001000"; - } - enum cs2 { - value 16; - description "Applicable to DSCP: bits 010000"; - } - enum cs3 { - value 24; - description "Applicable to DSCP: bits 011000"; - } - enum cs4 { - value 32; - description "Applicable to DSCP: bits 100000"; - } - enum cs5 { - value 40; - description "Applicable to DSCP: bits 101000"; - } - enum cs6 { - value 48; - description "Applicable to DSCP: bits 110000"; - } - enum cs7 { - value 56; - description "Applicable to DSCP: bits 111000"; - } - } - type uint32 { - range "0..63"; - } - } - description "Snmp dscp value"; - } - typedef Snmp-precedence-value1 { - type union { - type enumeration { - enum routine { - value 0; - description "Applicable to Precedence: value 0"; - } - enum priority { - value 1; - description "Applicable to Precedence: value 1"; - } - enum immediate { - value 2; - description "Applicable to Precedence: value 2"; - } - enum flash { - value 3; - description "Applicable to Precedence: value 3"; - } - enum flash-override { - value 4; - description "Applicable to Precedence: value 4"; - } - enum critical { - value 5; - description "Applicable to Precedence: value 5"; - } - enum internet { - value 6; - description "Applicable to Precedence: value 6"; - } - enum network { - value 7; - description "Applicable to Precedence: value 7"; - } - } - type uint32 { - range "0..7"; - } - } - description "Snmp precedence value1"; - } - typedef Snmp-security-model { - type enumeration { - enum no-authentication { - value 0; - description "No Authentication required"; - } - enum authentication { - value 1; - description - "Authentication password alone required for - access"; - } - enum privacy { - value 2; - description - "Authentication and privacy password required - for access"; - } - } - description "Snmp security model"; - } - typedef Snmp-mib-view-inclusion { - type enumeration { - enum included { - value 1; - description "MIB View to be included"; - } - enum excluded { - value 2; - description "MIB View to be excluded"; - } - } - description "Snmp mib view inclusion"; - } - typedef Snmp-bulkstat-file-format { - type enumeration { - enum schema-ascii { - value 1; - description "Tranfer file in schema Ascii format"; - } - enum bulk-ascii { - value 2; - description "Tranfer file in Bulk Ascii format"; - } - enum bulk-binary { - value 3; - description "Tranfer file in Bulk binary format"; - } - } - description "Snmp bulkstat file format"; - } - typedef Snmp-access-level { - type enumeration { - enum read-only { - value 0; - description "Read Only Access for a community string"; - } - enum read-write { - value 1; - description "Read Write Access for a community string"; - } - } - description "Snmp access level"; - } - typedef Snmp-context { - type enumeration { - enum vrf { - value 1; - description "VRF feature"; - } - enum bridge { - value 4; - description "BRIDGE feature"; - } - enum ospf { - value 5; - description "OSPF feature"; - } - enum ospfv3 { - value 6; - description "OSPFv3 feature"; - } - } - description "Snmp context"; - } - typedef Group-snmp-version { - type enumeration { - enum v1 { - value 0; - description "SNMP version 1"; - } - enum v2c { - value 1; - description "SNMP version 2"; - } - enum v3 { - value 2; - description "SNMP version 3"; - } - } - description "Group snmp version"; - } - typedef User-snmp-version { - type enumeration { - enum v1 { - value 1; - description "SNMP version 1"; - } - enum v2c { - value 2; - description "SNMP version 2"; - } - enum v3 { - value 3; - description "SNMP version 3"; - } - } - description "User snmp version"; - } - - grouping APPLIED-TO { - description "Common node of rule, rule-set"; - - container applied-to { - description "Applied to the Rule or Ruleset"; - - container hosts { - description "Table of configured hosts to apply rules to"; - - list host { - key "ip-address port"; - description "A destination host"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "Port (specify 162 for default)"; - } - } - } - leaf all { - type empty; - description "Apply to all of the device"; - } - } - } - - grouping CONTEXT-TABLE { - description "Common node of snmp, vrf"; - - container contexts { - description "List of Context Names"; - - list context { - key "context-name"; - description "Context Name"; - leaf context-name { - type xr:Cisco-ios-xr-string; - description "Context Name"; - } - } - } - } - - grouping VAR-BIND-TABLE { - description "Common node of root-cause, non-root-cause"; - - container var-binds { - description "Varbinds to match"; - - list var-bind { - key "oid"; - description "Varbind match conditions"; - - container match { - description "VarBind match conditions"; - leaf value { - type string; - description "Regular Expression to match value"; - } - leaf index { - type string; - description "Regular Expression to match index"; - } - } - leaf oid { - type string; - description "OID of varbind (dotted decimal)"; - } - } - } - } - - grouping TRAP-HOST-TABLE { - description "Common node of snmp, vrf"; - - container trap-hosts { - description "Specify hosts to receive SNMP notifications"; - - list trap-host { - key "ip-address"; - description "Specify hosts to receive SNMP notifications"; - - container encrypted-user-communities { - description - "Container class for defining Clear/encrypt - communities for a trap host"; - - list encrypted-user-community { - key "community-name"; - description - "Clear/Encrypt Community name associated with - a trap host"; - leaf community-name { - type xr:Cisco-ios-xr-string; - description - "SNMPv1/v2c community string or SNMPv3 user"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - leaf version { - type string; - mandatory true; - description "SNMP Version to be used v1/v2c/v3"; - } - leaf security-level { - type Snmp-security-model; - description - "Security level to be used noauth/auth/priv"; - } - leaf basic-trap-types { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setBasicTrapTypes is used for - all traps except copy-completeSet this value - to an integer corresponding to the trapBGP - 8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP - 1COPY_COMPLETE_TRAP 64To provide a - combination of trap Add the respective - numbersValue must be set to 0 for all traps"; - } - leaf advanced-trap-types1 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setUse this for providing - copy-complete trapValue must be set to 0 if - not used"; - } - leaf advanced-trap-types2 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setvalue should always to set as - 0"; - } - } - } - - container inform-host { - description - "Container class for defining notification type - for a Inform host"; - - container inform-user-communities { - description - "Container class for defining communities for - a inform host"; - - list inform-user-community { - key "community-name"; - description - "Unencrpted Community name associated with a - inform host"; - leaf community-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description - "SNMPv2c community string or SNMPv3 user"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - leaf version { - type string; - mandatory true; - description "SNMP Version to be used v2c/v3"; - } - leaf security-level { - type Snmp-security-model; - description - "Security level to be used noauth/auth/priv"; - } - leaf basic-trap-types { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setBasicTrapTypes is used for - all traps except copy-completeSet this - value to an integer corresponding to the - trapBGP 8192, CONFIG 4096,SYSLOG 131072 - ,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide - a combination of trap Add the respective - numbersValue must be set to 0 for all traps"; - } - leaf advanced-trap-types1 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setUse this for providing - copy-complete trapValue must be set to 0 if - not used"; - } - leaf advanced-trap-types2 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setvalue should always to set - as 0"; - } - } - } - - container inform-encrypted-user-communities { - description - "Container class for defining Clear/encrypt - communities for a inform host"; - - list inform-encrypted-user-community { - key "community-name"; - description - "Clear/Encrypt Community name associated with - a inform host"; - leaf community-name { - type xr:Cisco-ios-xr-string; - description - "SNMPv2c community string or SNMPv3 user"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - leaf version { - type string; - mandatory true; - description "SNMP Version to be used v2c/v3"; - } - leaf security-level { - type Snmp-security-model; - description - "Security level to be used noauth/auth/priv"; - } - leaf basic-trap-types { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setBasicTrapTypes is used for - all traps except copy-completeSet this - value to an integer corresponding to the - trapBGP 8192, CONFIG 4096,SYSLOG 131072 - ,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide - a combination of trap Add the respective - numbersValue must be set to 0 for all traps"; - } - leaf advanced-trap-types1 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setUse this for providing - copy-complete trapValue must be set to 0 if - not used"; - } - leaf advanced-trap-types2 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setvalue should always to set - as 0"; - } - } - } - } - - container default-user-communities { - description - "Container class for defining communities for a - trap host"; - - list default-user-community { - key "community-name"; - description - "Unencrpted Community name associated with a - trap host"; - leaf community-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description - "SNMPv1/v2c community string or SNMPv3 user"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - leaf version { - type string; - mandatory true; - description "SNMP Version to be used v1/v2c/v3"; - } - leaf security-level { - type Snmp-security-model; - description - "Security level to be used noauth/auth/priv"; - } - leaf basic-trap-types { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setBasicTrapTypes is used for - all traps except copy-completeSet this value - to an integer corresponding to the trapBGP - 8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP - 1COPY_COMPLETE_TRAP 64To provide a - combination of trap Add the respective - numbersValue must be set to 0 for all traps"; - } - leaf advanced-trap-types1 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setUse this for providing - copy-complete trapValue must be set to 0 if - not used"; - } - leaf advanced-trap-types2 { - type int32; - mandatory true; - description - "Number to signify the feature traps that - needs to be setvalue should always to set as - 0"; - } - } - } - leaf ip-address { - type inet:ip-address-no-zone; - description "IP address of SNMP notification host"; - } - } - } - } - - grouping CONTEXT-MAPPING-TABLE { - description "Common node of snmp, vrf"; - - container context-mappings { - description "List of context names"; - - list context-mapping { - key "context-mapping-name"; - description "Context mapping name"; - leaf context-mapping-name { - type xr:Cisco-ios-xr-string; - description "Context mapping name"; - } - leaf context { - type Snmp-context; - description "SNMP context feature type"; - } - leaf instance-name { - type string; - description "OSPF protocol instance"; - } - leaf vrf-name { - type string; - description "VRF name associated with the context"; - } - leaf topology-name { - type string; - description "Topology name associated with the context"; - } - } - } - } - - container snmp { - description - "The heirarchy point for all the SNMP - configurations"; - - container encrypted-community-maps { - description - "Container class to hold clear/encrypted - communitie maps"; - - list encrypted-community-map { - key "community-name"; - description "Clear/encrypted SNMP community map"; - leaf community-name { - type xr:Cisco-ios-xr-string; - description "SNMP community map"; - } - leaf context { - type string; - description "SNMP Context Name "; - } - leaf security { - type string; - description "SNMP Security Name "; - } - leaf target-list { - type string; - description "target list name "; - } - } - } - - container views { - description "Class to configure a SNMPv2 MIB view"; - - list view { - key "view-name family"; - description "Name of the view"; - leaf view-name { - type xr:Cisco-ios-xr-string; - description "Name of the view"; - } - leaf family { - type string; - description "MIB view family name"; - } - leaf view-inclusion { - type Snmp-mib-view-inclusion; - mandatory true; - description "MIB view to be included or excluded"; - } - } - } - - container logging { - description "SNMP logging"; - - container threshold { - description "SNMP logging threshold"; - leaf oid-processing { - type uint32 { - range "0..20000"; - } - default "500"; - description "SNMP logging threshold for OID processing"; - } - leaf pdu-processing { - type uint32 { - range "0..20000"; - } - default "20000"; - description "SNMP logging threshold for PDU processing"; - } - } - } - - container administration { - description "Container class for SNMP administration"; - - container default-communities { - description - "Container class to hold unencrpted communities"; - - list default-community { - key "community-name"; - description - "Unencrpted SNMP community string and access - priviledges"; - leaf community-name { - type string { - length "1..128"; - } - description "SNMP community string"; - } - leaf priviledge { - type Snmp-access-level; - description "Read/Write Access"; - } - leaf view-name { - type string; - description - "MIB view to which the community has access"; - } - leaf v4acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v4-access-list { - type string; - description "Ipv4 Access-list name"; - } - leaf v6acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v6-access-list { - type string; - description "Ipv6 Access-list name"; - } - leaf owner { - type Snmp-owner-access; - description "Logical Router or System owner access"; - } - } - } - - container encrypted-communities { - description - "Container class to hold clear/encrypted - communities"; - - list encrypted-community { - key "community-name"; - description - "Clear/encrypted SNMP community string and - access priviledges"; - leaf community-name { - type xr:Cisco-ios-xr-string; - description "SNMP community string"; - } - leaf priviledge { - type Snmp-access-level; - description "Read/Write Access"; - } - leaf view-name { - type string; - description - "MIB view to which the community has access"; - } - leaf v4acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v4-access-list { - type string; - description "Ipv4 Access-list name"; - } - leaf v6acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v6-access-list { - type string; - description "Ipv6 Access-list name"; - } - leaf owner { - type Snmp-owner-access; - description "Logical Router or System owner access"; - } - } - } - } - - container agent { - description - "The heirarchy point for SNMP Agent - configurations"; - - container engine-id { - description "SNMPv3 engineID"; - - container remotes { - description "SNMPv3 remote SNMP Entity"; - - list remote { - key "remote-address"; - description "engineID of the remote agent"; - leaf remote-address { - type inet:ip-address-no-zone; - description "IP address of remote SNMP entity"; - } - leaf remote-engine-id { - type string; - description "engine ID octet string"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - } - } - leaf local { - type string; - description "engineID of the local agent"; - } - } - } - - container trap { - description "Class to hold trap configurations"; - leaf timeout { - type uint32 { - range "1..1000"; - } - description "Timeout for TRAP message retransmissions"; - } - leaf throttle-time { - type uint32 { - range "10..500"; - } - units "millisecond"; - description "Set throttle time for handling traps"; - } - leaf queue-length { - type uint32 { - range "1..5000"; - } - description "Message queue length for each TRAP host"; - } - } - - container ipv6 { - description "SNMP TOS bit for outgoing packets"; - - container tos { - description "Type of TOS"; - leaf type { - type Snmp-tos; - description "SNMP TOS type DSCP or Precedence"; - } - leaf precedence { - when "../type = 'precedence'" { - description "../Type = Precedence"; - } - type Snmp-precedence-value1; - description "SNMP Precedence value"; - } - leaf dscp { - when "../type = 'dscp'" { - description "../Type = DSCP"; - } - type Snmp-dscp-value; - description "SNMP DSCP value"; - } - } - } - - container ipv4 { - description "SNMP TOS bit for outgoing packets"; - - container tos { - description "Type of TOS"; - leaf type { - type Snmp-tos; - description "SNMP TOS type DSCP or Precedence"; - } - leaf precedence { - when "../type = 'precedence'" { - description "../Type = Precedence"; - } - type Snmp-precedence-value1; - description "SNMP Precedence value"; - } - leaf dscp { - when "../type = 'dscp'" { - description "../Type = DSCP"; - } - type Snmp-dscp-value; - description "SNMP DSCP value"; - } - } - } - - container system { - description "container to hold system information"; - leaf chassis-id { - type string { - length "1..255"; - } - description "String to uniquely identify this chassis"; - } - leaf location { - type string { - length "1..255"; - } - description "The physical location of this node"; - } - leaf contact { - type string { - length "1..255"; - } - description - "identification of the contact person for this - managed node"; - } - } - - container target { - description "SNMP target configurations"; - - container targets { - description "List of targets"; - - list target { - key "target-list-name"; - description "Name of the target list"; - - container vrf-names { - description "List of VRF Name for a target list"; - - list vrf-name { - key "name"; - description "VRF name of the target"; - leaf name { - type xr:Cisco-ios-xr-string; - description "VRF Name"; - } - } - } - - container target-addresses { - description "SNMP Target address configurations"; - - list target-address { - key "ip-address"; - description - "IP Address to be configured for the Target"; - leaf ip-address { - type inet:ip-address-no-zone; - description "IPv4/Ipv6 address"; - } - } - } - leaf target-list-name { - type xr:Cisco-ios-xr-string; - description "Name of the target list"; - } - } - } - } - - container notification { - description "Enable SNMP notifications"; - - container snmp { - description "SNMP notification configuration"; - leaf authentication { - type empty; - description "Enable authentication notification"; - } - leaf cold-start { - type empty; - description "Enable cold start notification"; - } - leaf warm-start { - type empty; - description "Enable warm start notification"; - } - leaf enable { - type empty; - description "Enable SNMP notifications"; - } - } - } - - container correlator { - description "Configure properties of the trap correlator"; - - container rules { - description "Table of configured rules"; - - list rule { - key "name"; - description "Rule name"; - - container non-stateful { - presence "Indicates a non-stateful node is configured."; - description "The Non-Stateful Rule Type"; - - container root-causes { - description - "Table of configured rootcause (only one - entry allowed)"; - - list root-cause { - key "oid"; - description - "The rootcause - maximum of one can be - configured per rule"; - leaf created { - type empty; - description "Create rootcause"; - } - leaf oid { - type string; - description - "OID of rootcause trap (dotted decimal)"; - } - uses VAR-BIND-TABLE; - } - } - - container non-root-causes { - description "Table of configured non-rootcause"; - - list non-root-cause { - key "oid"; - description "A non-rootcause"; - leaf created { - type empty; - description "Create nonrootcause"; - } - leaf oid { - type string; - description - "OID of nonrootcause trap (dotted decimal)"; - } - uses VAR-BIND-TABLE; - } - } - leaf timeout { - type uint32 { - range "1..600000"; - } - units "millisecond"; - description - "Timeout (time to wait for active - correlation) in milliseconds"; - } - } - leaf name { - type string { - length "1..32"; - } - description "Rule name"; - } - uses APPLIED-TO; - } - } - - container rule-sets { - description "Table of configured rulesets"; - - list rule-set { - key "name"; - description "Ruleset name"; - - container rulenames { - description "Table of configured rulenames"; - - list rulename { - key "rulename"; - description "A rulename"; - leaf rulename { - type string { - length "1..32"; - } - description "Rule name"; - } - } - } - leaf name { - type string { - length "1..32"; - } - description "Ruleset name"; - } - uses APPLIED-TO; - } - } - leaf buffer-size { - type uint32 { - range "1024..52428800"; - } - description "Configure size of the correlator buffer"; - } - } - - container bulk-stats { - description "SNMP bulk stats configuration commands"; - - container schemas { - description "Configure schema definition"; - - list schema { - key "schema-name"; - description "The name of the Schema"; - - container instance { - presence "Indicates a instance node is configured."; - description "Object instance information"; - leaf type { - type Snmp-bulkstat-schema; - mandatory true; - description "Type of the instance"; - } - leaf instance { - type xr:Interface-name; - description "Instance of the schema"; - } - leaf start { - type string; - mandatory true; - description "Start Instance OID for repetition"; - } - leaf end { - type string; - mandatory true; - description "End Instance OID for repetition"; - } - leaf max { - type int32; - mandatory true; - description "Max value of Instance repetition"; - } - leaf sub-interface { - type boolean; - mandatory true; - description "Include all the subinterface"; - } - } - leaf type { - type empty; - description "Configure schema name"; - } - leaf schema-object-list { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of an object List"; - } - leaf poll-interval { - type uint32 { - range "1..20000"; - } - units "minute"; - description - "Periodicity for polling of objects in this - schema in minutes"; - } - leaf schema-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "The name of the schema"; - } - } - } - - container objects { - description "Configure an Object List "; - - list object { - key "object-list-name"; - description "Name of the object List"; - - container objects { - description "Configure an object List"; - - list object { - key "oid"; - description "Object name or OID"; - leaf oid { - type string; - description "Object name or OID "; - } - } - } - leaf type { - type empty; - description "Configure object list name"; - } - leaf object-list-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of the object List"; - } - } - } - - container transfers { - description - "Periodicity for the transfer of bulk data in - minutes"; - - list transfer { - key "transfer-name"; - description "Name of bulk transfer"; - - container transfer-schemas { - description - "Schema that contains objects to be collected"; - - list transfer-schema { - key "schema-name"; - description - "Schema that contains objects to be collected"; - leaf schema-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description - "Schema that contains objects to be - collected"; - } - } - } - leaf secondary { - type string; - description - "FTP or rcp or TFTP can be used for file - transfer"; - } - leaf type { - type empty; - description "Configure transfer list name"; - } - leaf buffer-size { - type uint32 { - range "1024..2147483647"; - } - units "byte"; - description "Bulkstat data file maximum size in bytes"; - } - leaf retain { - type uint32 { - range "0..20000"; - } - units "minute"; - description "Retention period in minutes"; - } - leaf format { - type Snmp-bulkstat-file-format; - description "Format of the bulk data file"; - } - leaf retry { - type uint32 { - range "0..100"; - } - description "Number of transmission retries"; - } - leaf enable { - type empty; - description - "Start Data Collection for this Configuration"; - } - leaf primary { - type string; - description - "FTP or rcp or TFTP can be used for file - transfer"; - } - leaf interval { - type int32; - units "minute"; - description - "Periodicity for the transfer of bulk data in - minutes"; - } - leaf transfer-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Name of bulk transfer"; - } - } - } - leaf memory { - type uint32 { - range "100..200000"; - } - units "kilobyte"; - description "per process memory limit in kilo bytes"; - } - } - - container default-community-maps { - description - "Container class to hold unencrpted community map"; - - list default-community-map { - key "community-name"; - description "Unencrpted SNMP community map name "; - leaf community-name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "SNMP community map"; - } - leaf context { - type string; - description "SNMP Context Name "; - } - leaf security { - type string; - description "SNMP Security Name "; - } - leaf target-list { - type string; - description "target list name "; - } - } - } - - container overload-control { - presence "Indicates a overload-control node is configured."; - description - "Set overload control params for handling - incoming messages"; - leaf drop-time { - type uint32 { - range "0..300"; - } - units "second"; - mandatory true; - description - "Drop time in seconds for incoming queue - (default 1 sec)"; - } - leaf throttle-rate { - type uint32 { - range "0..1000"; - } - units "millisecond"; - mandatory true; - description - "Throttle time in milliseconds for incoming - queue (default 500 msec)"; - } - } - - container timeouts { - description "SNMP timeouts"; - leaf duplicates { - type uint32 { - range "0..20"; - } - units "second"; - default "1"; - description "Duplicate request feature timeout"; - } - leaf in-qdrop { - type uint32 { - range "0..20"; - } - units "second"; - default "10"; - description "incoming queue drop feature timeout"; - } - leaf subagent { - type uint32 { - range "1..20"; - } - units "second"; - default "10"; - description "Sub-Agent Request timeout"; - } - leaf pdu-stats { - type uint32 { - range "1..10"; - } - units "second"; - default "2"; - description "SNMP pdu statistics timeout"; - } - } - - container users { - description "Define a user who can access the SNMP engine"; - - list user { - key "user-name"; - description "Name of the user"; - leaf user-name { - type string; - description "Name of the user"; - } - leaf group-name { - type string; - mandatory true; - description "Group to which the user belongs"; - } - leaf version { - type User-snmp-version; - mandatory true; - description "SNMP version to be used. v1,v2c or v3"; - } - leaf authentication-password-configured { - type empty; - description - "Flag to indicate that authentication password - is configred for version 3"; - } - leaf algorithm { - type Snmp-hash-algorithm; - description "The algorithm used md5 or sha"; - } - leaf authentication-password { - type xr:Proprietary-password; - description "The authentication password"; - } - leaf privacy-password-configured { - type empty; - description - "Flag to indicate that the privacy password is - configured for version 3"; - } - leaf priv-algorithm { - type Snmp-priv-algorithm; - description - "The algorithm used des56 or aes128 or aes192or - aes256 or 3des"; - } - leaf privacy-password { - type xr:Proprietary-password; - description "The privacy password"; - } - leaf v4acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v4-access-list { - type string; - description "Ipv4 Access-list name"; - } - leaf v6acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v6-access-list { - type string; - description "Ipv6 Access-list name"; - } - leaf owner { - type Snmp-owner-access; - description - "The system access either SDROwner or - SystemOwner"; - } - leaf remote-address { - type inet:ip-address-no-zone; - description "IP address of remote SNMP entity"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "UDP port number"; - } - } - } - - container vrfs { - description "SNMP VRF configuration commands"; - - list vrf { - key "name"; - description "VRF name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses TRAP-HOST-TABLE; - uses CONTEXT-TABLE; - uses CONTEXT-MAPPING-TABLE; - } - } - - container groups { - description "Define a User Security Model group"; - - list group { - key "name"; - description "Name of the group"; - leaf name { - type xr:Cisco-ios-xr-string { - length "1..128"; - } - description "Name of the group"; - } - leaf snmp-version { - type Group-snmp-version; - mandatory true; - description "snmp version"; - } - leaf security-model { - type Snmp-security-model; - description - "security model like auth/noAuth/Priv - applicable for v3"; - } - leaf notify-view { - type string; - description "notify view name"; - } - leaf read-view { - type string; - description "read view name"; - } - leaf write-view { - type string; - description "write view name"; - } - leaf v4acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v4-access-list { - type string; - description "Ipv4 Access-list name"; - } - leaf v6acl-type { - type Snmpacl; - description "Access-list type"; - } - leaf v6-access-list { - type string; - description "Ipv6 Access-list name"; - } - leaf context-name { - type string; - description "Context name"; - } - } - } - leaf inform-retries { - type uint32 { - range "0..100"; - } - description - "Number of times to retry an Inform request - (default 3)"; - } - leaf trap-port { - type uint32 { - range "1024..65535"; - } - description "Change the source port of all traps"; - } - leaf oid-poll-stats { - type empty; - description "Enable Poll OID statistics"; - } - leaf trap-source { - type xr:Interface-name; - description - "Assign an interface for the source address of - all traps"; - } - leaf vrf-authentication-trap-disable { - type empty; - description - "Disable authentication traps for packets on a - vrf"; - } - leaf inform-timeout { - type uint32 { - range "1..42949671"; - } - units "second"; - description - "Timeout value in seconds for Inform request - (default 15 sec)"; - } - leaf trap-source-ipv6 { - type xr:Interface-name; - description - "Assign an interface for the source IPV6 address - of all traps"; - } - leaf packet-size { - type uint32 { - range "484..65500"; - } - description "Largest SNMP packet size"; - } - leaf throttle-time { - type uint32 { - range "50..1000"; - } - description - "Throttle time for incoming queue (default 0 - msec)"; - } - leaf trap-source-ipv4 { - type xr:Interface-name; - description - "Assign an interface for the source address of - all traps"; - } - leaf inform-pending { - type uint32 { - range "0..4294967295"; - } - description - "Max nmber of informs to hold in queue, (default - 25)"; - } - uses TRAP-HOST-TABLE; - uses CONTEXT-TABLE; - uses CONTEXT-MAPPING-TABLE; - } - - container mib { - description "mib"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub1.yang deleted file mode 100644 index ef47faf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub1.yang +++ /dev/null @@ -1,54 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub1 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SNMP-IFINDEX-IFNAME { - description "SNMP IFINDEX IFNAME"; - leaf interface-name { - type string; - description "Interface Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub2.yang deleted file mode 100644 index f387f28..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub2.yang +++ /dev/null @@ -1,255 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub2 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Snmp-corr-vbind-match { - type enumeration { - enum index { - value 0; - description "Match regexp to varbind index"; - } - enum value { - value 1; - description "Match regexp to varbind value"; - } - } - description "Snmp corr vbind match"; - } - typedef Snmp-corr-rule-state { - type enumeration { - enum rule-unapplied { - value 0; - description "Rule is in Unapplied state"; - } - enum rule-applied { - value 1; - description "Rule is Applied to specified hosts"; - } - enum rule-applied-all { - value 2; - description "Rule is Applied to all of router"; - } - } - description "Snmp corr rule state"; - } - - grouping SNMP-CORR-VBIND { - description "Varbind"; - leaf oid { - type string; - description "OID of the varbind"; - } - leaf value { - type string; - description "Value of the varbind"; - } - } - - grouping SNMP-CORR-TRAP-BAG { - description "Trap Information"; - leaf oid { - type string; - description "Object ID"; - } - leaf relative-timestamp { - type uint32; - units "second"; - description "Number of hsecs elapsed since snmpd was started"; - } - leaf timestamp { - type uint64; - units "millisecond"; - description - "Time when the trap was generated. It is - expressed in number of milliseconds since 00:00 - :00 UTC, January 1, 1970"; - } - - list var-bind { - description "VarBinds on the trap"; - uses SNMP-CORR-VBIND; - } - } - - grouping SNMP-CORR-TRAP-BUFFER-BAG { - description "Trap Buffer Record"; - - container trap-info { - description "Correlated trap information"; - uses SNMP-CORR-TRAP-BAG; - } - leaf correlation-id { - type uint32; - description "Correlation ID"; - } - leaf is-root-cause { - type boolean; - description "True if this is the rootcause"; - } - leaf rule-name { - type string; - description "Correlation rule name"; - } - } - - grouping SNMP-CORR-RULESET-DETAIL-BAG { - description "Correlation Ruleset detail information"; - leaf rule-set-name-xr { - type string; - description "Ruleset Name"; - } - - list rules { - description "Rules contained in a ruleset"; - uses SNMP-CORR-RULE-SUMMARY-BAG; - } - } - - grouping SNMP-CORR-BUFFER-INFO-BAG { - description "Correlator buffer usage information"; - leaf current-size { - type uint32; - description "Current buffer usage"; - } - leaf configured-size { - type uint32; - description "Configured buffer size"; - } - } - - grouping SNMP-CORR-HOST { - description "Host Definition"; - leaf ip-address { - type string; - description "IP address of the host"; - } - leaf port { - type uint16; - description "Port of the host"; - } - } - - grouping SNMP-CORR-VBIND-MATCH { - description "Varbind Match Parameters"; - leaf oid { - type string; - description "OID of the varbind"; - } - leaf match-type { - type Snmp-corr-vbind-match; - description "Varbind match type"; - } - leaf reg-exp { - type string; - description "Regular expression to match"; - } - } - - grouping SNMP-CORR-TRAP-MATCH { - description "Trap Match Definition"; - leaf oid { - type string; - description "OID of the trap"; - } - - list var-bind { - description "VarBinds of the trap"; - uses SNMP-CORR-VBIND-MATCH; - } - } - - grouping SNMP-CORR-RULE-SUMMARY-BAG { - description "Correlation Rule summary information"; - leaf rule-name { - type string; - description "Correlation Rule Name"; - } - leaf rule-state { - type Snmp-corr-rule-state; - description - "Applied state of the rule It could be not - applied, applied or applied to all"; - } - leaf buffered-traps-count { - type uint32; - description - "Number of buffered traps correlated to this rule"; - } - } - - grouping SNMP-CORR-RULE-DETAIL-BAG { - description "Correlation Rule detail information"; - - container rule-summary { - description "Rule summary, name, etc"; - uses SNMP-CORR-RULE-SUMMARY-BAG; - } - - container root-cause { - description - "OID/VarBinds defining the rootcause match - conditions."; - uses SNMP-CORR-TRAP-MATCH; - } - leaf timeout { - type uint32; - description - "Time window (in ms) for which root/all messages - are kept in correlater before sending them to - hosts"; - } - - list non-rootcaus { - description - "OIDs/VarBinds defining the nonrootcause match - conditions."; - uses SNMP-CORR-TRAP-MATCH; - } - - list apply-host { - description "Hosts (IP/port) to which the rule is applied"; - uses SNMP-CORR-HOST; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub3.yang deleted file mode 100644 index 8227511..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub3.yang +++ /dev/null @@ -1,724 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub3 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Dup-req-drop-status { - type enumeration { - enum disabled { - description "Disabled"; - } - enum enabled { - description "Enabled"; - } - } - description "Dup req drop status"; - } - - grouping SNMP-TRAPQUE { - description "SNMP Trap queue statistics"; - leaf trap-min { - type uint32; - description "trap min"; - } - leaf trap-avg { - type uint32; - description "trap avg"; - } - leaf trap-max { - type uint32; - description "trap max"; - } - - list trap-q { - max-elements "300"; - description "trap q"; - uses SNMP-QUEUE; - } - } - - grouping SNMP-SYSOBJID { - description "SNMP sysObjID"; - leaf sys-obj-id { - type string; - description "sysObjID 1.3.6.1.2.1.1.2"; - } - } - - grouping SNMP-SYSDESCR { - description "SNMP sysDescr"; - leaf sys-descr { - type string; - description "sysDescr 1.3.6.1.2.1.1.1"; - } - } - - grouping SNMP-PDU-DROP-STATS { - description "SNMP Agent Req PDU Drop Stats"; - leaf nms-address { - type string; - description "NMS address of server"; - } - leaf incoming-q-count { - type uint32; - description "Drop Count at Incoming Q"; - } - leaf threshold-incoming-q-count { - type uint32; - description "Drop Count at Incoming Q after threshold limit"; - } - leaf encode-count { - type uint32; - description "Drop Count with Encode errors"; - } - leaf duplicate-count { - type uint32; - description "Duplicate request drop count"; - } - leaf stack-count { - type uint32; - description "Drop Count at snmp Stack"; - } - leaf aipc-count { - type uint32; - description "drop count with AIPC Buffer Full"; - } - leaf overload-count { - type uint32; - description "Drop Count with overload notification"; - } - leaf timeout-count { - type uint32; - description "Drop count with timeout"; - } - leaf internal-count { - type uint32; - description " drop with Internal Errors"; - } - } - - grouping SNMP-PDU-STATS { - description "SNMP PDU STATS"; - leaf nms { - type string; - description " NMS address Rx PDU"; - } - leaf request-id { - type uint32; - description " SNMP request id per PDU"; - } - leaf port-xr { - type uint16; - description "NMS port number"; - } - leaf pdu-type { - type uint16; - description " PDU type"; - } - leaf error-status { - type uint16; - description "Is reques dropped due to error"; - } - leaf serial-num { - type uint32; - description "Serial number per PDU processing"; - } - leaf input-q { - type string; - description "Request inserted into input queue"; - } - leaf output-q { - type uint32; - description "De-queue the request from the input queue"; - } - leaf pending-q { - type uint32; - description "Enqueue the request into pending queue"; - } - leaf response-out { - type uint32; - description "Response sent"; - } - } - - grouping SNMP-MIB-INFO { - description "SNMP MIB Information"; - leaf mib-name { - type string; - description "Name of the MIB module"; - } - leaf dll-name { - type string; - description - "MIB DLL filename, non-DLL MIBs will have no - value"; - } - leaf mib-config-filename { - type string; - description - "MIB config filename, non-DLL MIBs will have no - value"; - } - leaf is-mib-loaded { - type boolean; - description - "TRUE if MIB DLL is currently loaded, will always - be TRUE for non-DLL MIBs"; - } - leaf dll-capabilities { - type uint32; - description "DLL capabilities"; - } - leaf trap-strings { - type string; - description "List of trapstring configured"; - } - leaf timeout { - type boolean; - description "TRUE is mib is in phase 1 timeout"; - } - leaf load-time { - type uint32; - description "Load time"; - } - } - - grouping SNMP-TRAPS-COUNT { - description "SNMP TRAPS COUNT"; - leaf trap-oid-count { - type uint32; - description "Total number of OID's sent"; - } - leaf trap-oid-xr { - type string; - description "TRAP OID"; - } - } - - grouping SNMP-CTX-MAPPING-ENTRY-XML { - description "SNMP context mapping entry xml"; - leaf context { - type string; - description "Context name"; - } - leaf feature-name { - type string; - description "Feature name"; - } - leaf instance { - type string; - description "Instance name"; - } - leaf topology { - type string; - description "Topology name"; - } - leaf feature { - type string; - description "Feature"; - } - } - - grouping SNMP-CTX-MAPPING-XML { - description "SNMP context mapping"; - - list contex-mapping { - description "Context Mapping"; - uses SNMP-CTX-MAPPING-ENTRY-XML; - } - } - - grouping SNMP-INQ-DETAIL { - description "SNMP Address Information"; - leaf address-of-queue { - type string; - description "Address of NMS Q"; - } - leaf request-count { - type uint32; - description "Request Count of Each Queue."; - } - leaf processed-request-count { - type uint32; - description "Processed request Count."; - } - leaf last-access-time { - type string; - description "Last Access time of Each Queue."; - } - leaf priority { - type uint8; - description "Priority of Each Queue."; - } - } - - grouping SNMP-INCOMING-Q-STATS-ENTRY { - description "SNMP IncomingQ Stats Entry"; - leaf queue-count { - type uint32; - description "Number of NMS Queues Exist."; - } - - list inq-entry { - max-elements "16"; - description "Each Entry Details."; - uses SNMP-INQ-DETAIL; - } - } - - grouping SNMP-STATS { - description "SNMP statistics"; - leaf packets-received { - type uint32; - description "snmpInPkts"; - } - leaf bad-versions-received { - type uint32; - description "snmpInBadVersions"; - } - leaf bad-community-names-received { - type uint32; - description "snmpInBadCommunityNames"; - } - leaf bad-community-uses-received { - type uint32; - description "snmpInBadCommunityUses"; - } - leaf asn-parse-errors-received { - type uint32; - description "snmpInASNParseErrs"; - } - leaf silent-drop-count { - type uint32; - description "snmpSilentDrops"; - } - leaf proxy-drop-count { - type uint32; - description "snmpProxyDrops"; - } - leaf too-big-packet-received { - type uint32; - description "snmpInTooBigs"; - } - leaf max-packet-size { - type uint32; - description "snmp maximum packet size"; - } - leaf no-such-names-received { - type uint32; - description "snmpInNoSuchNames"; - } - leaf bad-values-received { - type uint32; - description "snmpInBadValues"; - } - leaf read-only-received { - type uint32; - description "snmpInReadOnlys"; - } - leaf total-general-errors { - type uint32; - description "snmpInGenErrs"; - } - leaf total-requested-variables { - type uint32; - description "snmpInTotalReqVars"; - } - leaf total-set-variables-received { - type uint32; - description "snmpInTotalSetVars"; - } - leaf get-requests-received { - type uint32; - description "snmpInGetRequests"; - } - leaf get-next-requests-received { - type uint32; - description "snmpInGetNexts"; - } - leaf set-requests-received { - type uint32; - description "snmpInSetRequests"; - } - leaf get-responses-received { - type uint32; - description "snmpInGetResponses"; - } - leaf traps-received { - type uint32; - description "snmpInTraps"; - } - leaf total-packets-sent { - type uint32; - description "snmpOutPkts"; - } - leaf too-big-packets-sent { - type uint32; - description "snmpOutTooBigs"; - } - leaf no-such-names-sent { - type uint32; - description "snmpOutNoSuchNames"; - } - leaf bad-values-sent { - type uint32; - description "snmpOutBadValues"; - } - leaf general-errors-sent { - type uint32; - description "snmpOutGenErrs"; - } - leaf get-requests-sent { - type uint32; - description "snmpOutGetRequests"; - } - leaf get-next-request-sent { - type uint32; - description "snmpOutGetNexts"; - } - leaf set-requests-sent { - type uint32; - description "snmpOutSetRequests"; - } - leaf get-responses-sent { - type uint32; - description "snmpOutGetResponses"; - } - leaf traps-sent { - type uint32; - description "snmpOutTraps"; - } - } - - grouping SNMP-TRAP-OID-INFO { - description "SNMP TRAP OID INFO"; - leaf trap-oid { - type string; - description "TRAP OID"; - } - leaf count { - type uint32; - description "Number of traps sent"; - } - leaf drop-count { - type uint32; - description "Number of Traps Dropped"; - } - leaf retry-count { - type uint32; - description "Num of times retry"; - } - leaf lastsent-time { - type string; - description "Timestamp of latest successfully sent"; - } - leaf lasrdrop-time { - type string; - description "Timestamp of latest droped"; - } - } - - grouping SNMP-TRAPS-INFO { - description "SNMP TRAPS INFO"; - leaf host { - type string; - description "NMS/Host address"; - } - leaf port-xr { - type uint16; - description "udp port number"; - } - leaf trap-oid-count { - type uint32; - description "Total number of OID's sent"; - } - - list trap-oi-dinfo { - description "Per trap OID statistics"; - uses SNMP-TRAP-OID-INFO; - } - } - - grouping SNMP-BULKSTATS-B { - description "SNMP Bulkstats transfer Information"; - leaf transfer-name-xr { - type string; - description "Name of the bulkstats transfer session"; - } - leaf url-primary { - type string; - description "Bulkstats transfer primary URL"; - } - leaf url-secondary { - type string; - description "Bulkstats transfer secondary URL"; - } - leaf retained-file { - type string; - description "Bulkstats transfer retained file name"; - } - leaf time-left { - type uint32; - units "second"; - description "Bulkstats transfer retry time left in seconds"; - } - leaf retry-left { - type uint32; - description "Bulkstats transfer retry attempt left"; - } - } - - grouping SNMP-STATISTICS { - description "SNMP Statistics extension"; - leaf duplicate-request-status { - type Dup-req-drop-status; - description "Duplicate requests drop feature status."; - } - leaf last-status-change-time { - type string; - description - "Duplicate request drop feature last enable - disable time (Day Mon Date HH:MM:SS)"; - } - leaf duplicate-drop-configured-timeout { - type uint32; - description "Configured Duplicate Drop feature Timeout."; - } - leaf duplicate-dropped-requests { - type uint32; - description "Number of duplicate SNMP requests are dropped."; - } - leaf retry-processed-requests { - type uint32; - description "Number of Retry SNMP requests are Processed."; - } - leaf first-enable-time { - type string; - description - "Duplicate request drop feature first enable - time (Day Mon Date HH:MM:SS)"; - } - leaf latest-duplicate-dropped-requests { - type uint32; - description - "Number of duplicate SNMP requests dropped, from - the last enable time."; - } - leaf latest-retry-processed-requests { - type uint32; - description - "Number of retry SNMP requests processed, from - the last enable time."; - } - leaf duplicate-request-latest-enable-time { - type string; - description - "Duplicate request drop feature last enable - time(Day Mon Date HH:MM:SS)"; - } - leaf duplicate-drop-enable-count { - type uint32; - description - " Number of times duplicate request drop feature - is enabled."; - } - leaf duplicate-drop-disable-count { - type uint32; - description - " Number of times duplicate request drop feature - is disabled."; - } - } - - grouping SNMP-Q-STATS-B { - description "SNMP incomming/processing queue statistics"; - leaf total-count { - type uint32; - description - "Total request count for each managment station - or client"; - } - leaf agent-request-count { - type uint32; - description - "Processing agent request count for each client - for particluar managment station"; - } - leaf interface-request-count { - type uint32; - description - "Processing interfce request count for each - client for particluar managment station"; - } - leaf entity-request-count { - type uint32; - description - "Processing entity request count for each client - for particluar managment station"; - } - leaf route-request-count { - type uint32; - description - "Processing route request count for each client - for particluar Managment station"; - } - leaf infra-request-count { - type uint32; - description - "Processing infra request count for each client - for particluar Managment station"; - } - } - - grouping SNMP-SYSNAME { - description "SNMP sysName"; - leaf system-name { - type string; - description "sysName 1.3.6.1.2.1.1.5"; - } - } - - grouping SNMP-QUEUE { - description "SNMP QUEUE"; - leaf min { - type uint32; - description "min"; - } - leaf avg { - type uint32; - description "avg"; - } - leaf max { - type uint32; - description "max"; - } - } - - grouping SNMP-RXQUE { - description "SNMP Incoming queue statistics"; - leaf qlen { - type uint32; - description "qlen"; - } - leaf in-min { - type uint32; - description "in min"; - } - leaf in-avg { - type uint32; - description "in avg"; - } - leaf in-max { - type uint32; - description "in max"; - } - leaf pend-min { - type uint32; - description "pend min"; - } - leaf pend-avg { - type uint32; - description "pend avg"; - } - leaf pend-max { - type uint32; - description "pend max"; - } - - list incoming-q { - max-elements "300"; - description "incoming q"; - uses SNMP-QUEUE; - } - - list pending-q { - max-elements "300"; - description "pending q"; - uses SNMP-QUEUE; - } - } - - grouping SNMP-ENGINEID { - description "SNMPv3 engineID Information"; - leaf engine-id { - type string; - description "SNMPv3 engineID"; - } - } - - grouping SNMP-REQ-NMS-SUM { - description "SNMP Agent Req NMS Summary "; - leaf nms-address { - type string; - description "NMS address of server"; - } - leaf get-request-count { - type uint32; - description "Get Request Count"; - } - leaf getnext-request-count { - type uint32; - description "Getnext Request Count"; - } - leaf getbulk-request-count { - type uint32; - description "Getbulk Request Count"; - } - leaf set-request-count { - type uint32; - description "Set Request Count"; - } - leaf test-request-count { - type uint32; - description "Test Request Count"; - } - } - - grouping SNMP-SYSUPTIME-EDM { - description "SNMP sysUpTime in days time format for edm"; - leaf system-up-time-edm { - type string; - description "sysUpTime 1.3.6.1.2.1.1.3"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub4.yang deleted file mode 100644 index a5dcd7a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub4.yang +++ /dev/null @@ -1,122 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub4 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SNMP-USM-USER-ENTRY { - description "SNMP usmUserTable Information"; - leaf usm-user-storage-type { - type uint32; - description "Storage type"; - } - leaf usm-user-status { - type uint32; - description "Status of this user"; - } - } - - grouping SNMP-VACM-ACCESS-ENTRY { - description "SNMP vacmAccessTable Information"; - leaf vacm-access-read-view-name { - type string; - description "Read view name"; - } - leaf vacm-access-write-view-name { - type string; - description "Write view name"; - } - leaf vacm-access-notify-view-name { - type string; - description "Notify view name"; - } - leaf vacm-access-status { - type uint32; - description "Status of this view configuration"; - } - } - - grouping SNMP-SNMP-VIEW-XML-ENTRY { - description "SNMP SNMPViewXmlTable Information"; - leaf snmp-view-family-type { - type string; - description "Include or exclude"; - } - leaf snmp-view-family-storage-type { - type string; - description "Storage type"; - } - leaf snmp-view-family-status { - type string; - description "Status of this entry"; - } - } - - grouping SNMP-SNMP-HOST-XML { - description "SNMP host xml information"; - leaf snmp-target-address-t-host { - type string; - description "Transport type of address"; - } - leaf snmp-target-address-port { - type string; - description "Target UDP port"; - } - leaf snmp-target-addresstype { - type string; - description "Target host type (Inform or Trap)"; - } - leaf snmp-target-params-security-model { - type string; - description "Security model"; - } - leaf snmp-target-params-security-name { - type string; - description "Security name"; - } - leaf snmp-target-params-security-level { - type string; - description "Security level"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub5.yang deleted file mode 100644 index 2c1a91f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub5.yang +++ /dev/null @@ -1,68 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub5 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SNMP-OVERLOAD-STATS { - description "SNMP Overload statastics"; - leaf number-of-nmsq-pkts-dropped { - type uint32; - description - "Number of packets which are currently enqueued - within the NMS queues"; - } - leaf number-of-pkts-dropped { - type uint32; - description "Number of packets dropped"; - } - leaf overload-start-time { - type string; - description "Time of overload contol begin"; - } - leaf overload-end-time { - type string; - description "Time of overload contol End"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub6.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub6.yang deleted file mode 100644 index b8adb01..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub6.yang +++ /dev/null @@ -1,68 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub6 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Nms-ip { - type string; - description "Nms ip"; - } - - grouping SNMP-OID-STATS-B { - description "SNMP incomming/processing queue statistics"; - leaf nms-count { - type uint32; - description " Managment station count"; - } - leaf-list nms { - type Nms-ip; - max-elements "15"; - description "Network Managment station ipadress"; - } - leaf-list request-count { - type uint32; - max-elements "15"; - description "OID request count for each Managment station "; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub7.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub7.yang deleted file mode 100644 index 19dd27a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper-sub7.yang +++ /dev/null @@ -1,66 +0,0 @@ -submodule Cisco-IOS-XR-snmp-agent-oper-sub7 { - - belongs-to Cisco-IOS-XR-snmp-agent-oper { - prefix Cisco-IOS-XR-snmp-agent-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping SNMP-TRAP-STATS { - description "SNMP Trap statistics"; - leaf number-of-pkts-in-trap-q { - type uint32; - description "No. of trap packets in trapQ"; - } - leaf max-q-length-of-trap-q { - type uint32; - description "Maximum Queue length of trapQ"; - } - leaf number-of-pkts-sent { - type uint32; - description "No. of trap packets sent"; - } - leaf number-of-pkts-dropped { - type uint32; - description "No. of trap packets dropped"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper.yang deleted file mode 100644 index a0f32fd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-agent-oper.yang +++ /dev/null @@ -1,582 +0,0 @@ -module Cisco-IOS-XR-snmp-agent-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper"; - - - prefix "snmp-agent-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-snmp-agent-oper-sub7 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub6 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub5 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub4 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub3 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub2 { - revision-date 2017-05-01; - } - - include Cisco-IOS-XR-snmp-agent-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-agent package operational data. - - This module contains definitions - for the following management objects: - snmp: SNMP operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-06-01" { - description - "IOS XR 6.0.1 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container snmp { - config false; - description "SNMP operational data"; - - container trap-servers { - description "List of trap hosts"; - - list trap-server { - description - "Trap server and port to which the trap is to be - sent and statistics"; - leaf trap-host { - type string; - description "Trap Host"; - } - leaf port { - type inet:port-number; - description "Trap port"; - } - uses SNMP-TRAP-STATS; - } - } - - container information { - description "SNMP operational information"; - - container hosts { - description "SNMP host information"; - - list host { - key "name"; - description "SNMP target host name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Group name"; - } - - list host-information { - key "user"; - description - "Host name ,udp-port , user, security model - and level"; - leaf user { - type xr:Cisco-ios-xr-string; - description "SNMP host user"; - } - uses SNMP-SNMP-HOST-XML; - } - } - } - - container system-up-time { - description "System up time"; - uses SNMP-SYSUPTIME-EDM; - } - - container nms-addresses { - description "SNMP request type summary "; - - list nms-address { - key "nms-addr"; - description "NMS address"; - leaf nms-addr { - type xr:Cisco-ios-xr-string; - description "NMS address"; - } - uses SNMP-REQ-NMS-SUM; - } - } - - container engine-id { - description "SNMP engine ID"; - uses SNMP-ENGINEID; - } - - container rx-queue { - description "SNMP rx queue statistics"; - uses SNMP-RXQUE; - } - - container system-name { - description "System name"; - uses SNMP-SYSNAME; - } - - container request-type-detail { - description "SNMP request type details "; - - container nms-addresses { - description "snmp request type details "; - - list nms-address { - key "nms-addr"; - description "NMS address"; - leaf nms-addr { - type xr:Cisco-ios-xr-string; - description "NMS address"; - } - uses SNMP-Q-STATS-B; - } - } - } - - container duplicate-drop { - description "Duplicate request status, count, time "; - uses SNMP-STATISTICS; - } - - container bulk-stats-transfers { - description "List of bulkstats transfer on the system"; - - list bulk-stats-transfer { - key "transfer-name"; - description "SNMP bulkstats transfer name"; - leaf transfer-name { - type xr:Cisco-ios-xr-string; - description "Transfer name"; - } - uses SNMP-BULKSTATS-B; - } - } - - container trap-infos { - description "SNMP trap OID"; - - list trap-info { - description - "SNMP Trap infomation like server , port and - trapOID"; - leaf trap-host { - type string; - description "Trap Host"; - } - leaf port { - type inet:port-number; - description "Trap port"; - } - uses SNMP-TRAPS-INFO; - } - } - - container poll-oids { - description "OID list for poll PDU"; - - list poll-oid { - key "object-id"; - description "PDU drop info for OID"; - leaf object-id { - type xr:Cisco-ios-xr-string; - description "Object ID"; - } - uses SNMP-OID-STATS-B; - } - } - - container infom-details { - description "SNMP trap OID"; - - list infom-detail { - description - "SNMP Trap infomation like server , port and - trapOID"; - leaf trap-host { - type string; - description "Trap Host"; - } - leaf port { - type inet:port-number; - description "Trap port"; - } - uses SNMP-TRAPS-INFO; - } - } - - container statistics { - description "SNMP statistics"; - uses SNMP-STATS; - } - - container incoming-queue { - description "Incoming queue details "; - uses SNMP-INCOMING-Q-STATS-ENTRY; - } - - container context-mapping { - description - "Context name, features name, topology name, - instance"; - uses SNMP-CTX-MAPPING-XML; - } - - container trap-oids { - description "SNMP trap OID"; - - list trap-oid { - key "trap-oid"; - description "SNMP trap "; - leaf trap-oid { - type xr:Cisco-ios-xr-string; - description "Trap object ID"; - } - uses SNMP-TRAPS-COUNT; - } - } - - container nm-spackets { - description "SNMP overload statistics "; - - list nm-spacket { - key "packetcount"; - description "NMS packet drop count"; - leaf packetcount { - type xr:Cisco-ios-xr-string; - description "NMS packet drop count"; - } - uses SNMP-OVERLOAD-STATS; - } - } - - container mibs { - description "List of MIBS supported on the system"; - - list mib { - key "name"; - description "SNMP MIB Name"; - - container oids { - description "List of OIDs per MIB"; - - list oid { - key "oid"; - description "Object identifiers of a mib"; - leaf oid { - type string; - description "Object Identifier"; - } - leaf oid-name { - type string; - mandatory true; - description "MIB OID Name"; - } - } - } - - container mib-information { - description "MIB state and information"; - uses SNMP-MIB-INFO; - } - leaf name { - type xr:Cisco-ios-xr-string; - description "MIB Name"; - } - } - } - - container serial-numbers { - description "SNMP statistics pdu "; - - list serial-number { - description "Serial number"; - leaf number { - type xr:Cisco-ios-xr-string; - description "Serial number"; - } - leaf req-id { - type int32; - description "Request ID"; - } - leaf port { - type inet:port-number; - description "Port"; - } - uses SNMP-PDU-STATS; - } - } - - container drop-nms-addresses { - description "NMS list for drop PDU"; - - list drop-nms-address { - key "nms-addr"; - description "PDU drop info for NMS"; - leaf nms-addr { - type xr:Cisco-ios-xr-string; - description "NMS address"; - } - uses SNMP-PDU-DROP-STATS; - } - } - - container views { - description "SNMP view information"; - - list view { - key "name"; - description "SNMP target view name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "View name"; - } - - list view-information { - key "object-id"; - description - "View name ,familytype, storagetype and status"; - leaf object-id { - type xr:Cisco-ios-xr-string; - description "SNMP view OID"; - } - uses SNMP-SNMP-VIEW-XML-ENTRY; - } - } - } - - container system-descr { - description "System description"; - uses SNMP-SYSDESCR; - } - - container tables { - description "List of table"; - - container groups { - description "List of vacmAccessTable"; - - list group { - key "name"; - description "SNMP group name"; - - container group-informations { - description "Group Model"; - - list group-information { - description "Group name ,status and information"; - leaf modelnumber { - type xr:Cisco-ios-xr-string; - description "Model number"; - } - leaf level { - type xr:Cisco-ios-xr-string; - description "Level"; - } - uses SNMP-VACM-ACCESS-ENTRY; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Group Name"; - } - } - } - - container user-engine-ids { - description "List of User"; - - list user-engine-id { - key "engine-id"; - description "SNMP engineId"; - leaf engine-id { - type xr:Cisco-ios-xr-string; - description "SNMP Engine ID"; - } - - list user-name { - key "user-name"; - description "User name ,storage type ,status "; - leaf user-name { - type xr:Cisco-ios-xr-string; - description "User name"; - } - uses SNMP-USM-USER-ENTRY; - } - } - } - } - - container system-oid { - description "System object ID"; - uses SNMP-SYSOBJID; - } - - container trap-queue { - description "SNMP trap queue statistics"; - uses SNMP-TRAPQUE; - } - } - - container interfaces { - description "List of interfaces"; - - list interface { - key "name"; - description "Interface Name"; - leaf name { - type xr:Interface-name; - description "Interface Name"; - } - leaf interface-index { - type int32; - mandatory true; - description "Interface Index as used by MIB tables"; - } - } - } - - container correlator { - description "Trap Correlator operational data"; - - container rule-details { - description - "Table that contains the database of correlation - rule details"; - - list rule-detail { - key "rule-name"; - description "Details of one of the correlation rules"; - leaf rule-name { - type string { - length "1..32"; - } - description "Correlation Rule Name"; - } - uses SNMP-CORR-RULE-DETAIL-BAG; - } - } - - container buffer-status { - description - "Describes buffer utilization and parameters - configured"; - uses SNMP-CORR-BUFFER-INFO-BAG; - } - - container rule-set-details { - description "Table that contains the ruleset detail info"; - - list rule-set-detail { - key "rule-set-name"; - description "Detail of one of the correlation rulesets"; - leaf rule-set-name { - type string { - length "1..32"; - } - description "Ruleset Name"; - } - uses SNMP-CORR-RULESET-DETAIL-BAG; - } - } - - container traps { - description "Correlated traps Table"; - - list trap { - key "entry-id"; - description "One of the correlated traps"; - leaf entry-id { - type int32; - description "Entry ID"; - } - uses SNMP-CORR-TRAP-BUFFER-BAG; - } - } - } - - container interface-indexes { - description "List of index"; - - list interface-index { - key "interface-index"; - description "Interface Index"; - leaf interface-index { - type int32; - description "Interface Index as used by MIB tables"; - } - leaf interface-name { - type string; - mandatory true; - description "Interface Name"; - } - } - } - - container if-indexes { - description "List of ifnames"; - - list if-index { - key "interface-index"; - description "Interface Index"; - leaf interface-index { - type int32; - description "Interface Index as used by MIB tables"; - } - uses SNMP-IFINDEX-IFNAME; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-bridgemib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-bridgemib-cfg.yang deleted file mode 100644 index e639c41..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-bridgemib-cfg.yang +++ /dev/null @@ -1,60 +0,0 @@ -module Cisco-IOS-XR-snmp-bridgemib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-snmp-bridgemib-cfg"; - - - prefix "snmp-bridgemib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-bridgemib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container bridge { - description "BRIDGE-MIB notification configuration"; - leaf enable { - type empty; - description "Enable dot1dBridge notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang deleted file mode 100644 index 515bae8..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang +++ /dev/null @@ -1,77 +0,0 @@ -module Cisco-IOS-XR-snmp-ciscosensormib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-snmp-ciscosensormib-cfg"; - - - prefix "snmp-ciscosensormib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-ciscosensormib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:mib" { - leaf sensor-mib-cache { - type empty; - description "Get cached Sesnsor MIB statistics"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container sensor { - description - "CISCO-ENTITY-SENSOR-MIB notification - configuration"; - leaf enable { - type empty; - description "Enable entitySensorMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-cfg.yang deleted file mode 100644 index a2b41cc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-cfg.yang +++ /dev/null @@ -1,79 +0,0 @@ -module Cisco-IOS-XR-snmp-entitymib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-snmp-entitymib-cfg"; - - - prefix "snmp-entitymib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-entitymib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:mib" { - - container entity-mib { - description "Entity MIB"; - leaf entity-index-persistence { - type empty; - description "Enable entPhysicalIndex persistence"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container entity { - description "Enable ENTITY-MIB notifications"; - leaf enable { - type empty; - description "Enable entityMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang deleted file mode 100644 index 5cbaf7a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang +++ /dev/null @@ -1,80 +0,0 @@ -submodule Cisco-IOS-XR-snmp-entitymib-oper-sub1 { - - belongs-to Cisco-IOS-XR-snmp-entitymib-oper { - prefix Cisco-IOS-XR-snmp-entitymib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-entitymib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ENTMIB-NODE2PATH-INFO { - description "ENTITY-MIB Node To Path Map Record"; - leaf physical-index { - type uint32; - description "entPhysicalIndex"; - } - leaf ent-physical-name { - type string; - description "entPhysicalName"; - } - leaf location { - type string; - description "invmgr EDM path"; - } - leaf ent-physical-descr { - type string; - description "EntPhysicalDescription"; - } - leaf ent-physical-firmware-rev { - type string; - description "entphysicalFirmwareRev"; - } - leaf ent-physical-hardware-rev { - type string; - description "entphysicalHardwareRev"; - } - leaf ent-physical-modelname { - type string; - description "entphysicalModelName"; - } - leaf ent-physical-serial-num { - type string; - description "entphysicalSerialNum"; - } - leaf ent-physical-software-rev { - type string; - description "entphysicalSoftwareRev"; - } - leaf ent-physical-mfg-name { - type string; - description "entphysicalMfgName"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper.yang deleted file mode 100644 index aa9dc39..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entitymib-oper.yang +++ /dev/null @@ -1,76 +0,0 @@ -module Cisco-IOS-XR-snmp-entitymib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-snmp-entitymib-oper"; - - - prefix "snmp-entitymib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-oper { prefix "a1"; } - - include Cisco-IOS-XR-snmp-entitymib-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-entitymib package operational data. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp" { - - container entity-mib { - description "SNMP entity mib"; - - container entity-physical-indexes { - description "SNMP entity mib"; - - list entity-physical-index { - key "entity-phynum"; - description "SNMP entPhysical index number"; - leaf entity-phynum { - type xr:Cisco-ios-xr-string; - description "Entity physical index"; - } - uses ENTMIB-NODE2PATH-INFO; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-snmp-agent-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entstatemib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entstatemib-cfg.yang deleted file mode 100644 index 404923c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-entstatemib-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-snmp-entstatemib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-snmp-entstatemib-cfg"; - - - prefix "snmp-entstatemib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-entstatemib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-27" { - description - "IOS XR 6.0.0 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container entity-state { - description "ENTITY-STATE-MIB notification configuration"; - leaf switchover { - type empty; - description - "Enable ceStateExtStandbySwitchover notification"; - } - leaf oper-status { - type empty; - description - "Enable entStateOperEnable and - entStateOperDisable notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang deleted file mode 100644 index ebeb9be..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang +++ /dev/null @@ -1,62 +0,0 @@ -module Cisco-IOS-XR-snmp-frucontrolmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-snmp-frucontrolmib-cfg"; - - - prefix "snmp-frucontrolmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-frucontrolmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container fru-control { - description - "CISCO-ENTITY-FRU-CONTROL-MIB notification - configuration"; - leaf enable { - type empty; - description "Enable ciscoEntityFRUControlMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-cfg.yang deleted file mode 100644 index c92b0a0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-cfg.yang +++ /dev/null @@ -1,174 +0,0 @@ -module Cisco-IOS-XR-snmp-ifmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg"; - - - prefix "snmp-ifmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-ifmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg, - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-05-14" { - description - "IOS XR 5.3.2 revision."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:mib" { - - container interface-mib { - description "Interface MIB configuration"; - - container interfaces { - description - "Enter the SNMP interface configuration commands"; - - list interface { - key "interface-name"; - description "Interface to configure"; - leaf link-up-down { - type boolean; - description "Enable or disable LinkUpDown notification"; - } - leaf index-persistence { - type boolean; - description "Enable or disable index persistence"; - } - leaf interface-name { - type xr:Interface-name; - description "The name of the interface"; - } - } - } - - container notification { - description "MIB notification configuration"; - leaf link-ietf { - type empty; - description - "Set the varbind of linkupdown trap to the RFC - specified varbinds (default cisco)"; - } - } - - container subsets { - description "Add configuration for an interface subset"; - - list subset { - key "subset-id"; - description - "Subset priorityID to group ifNames based on - Regular Expression"; - - container link-up-down { - description "SNMP linkUp and linkDown notifications"; - leaf enable { - type boolean; - description - "Enable or disable linkupdown notification"; - } - leaf regular-expression { - type string; - description "Regular expression to match ifName"; - } - } - leaf subset-id { - type uint32 { - range "1..255"; - } - description "The interface subset PriorityID"; - } - } - } - leaf internal-cache { - type uint32 { - range "0..60"; - } - default "15"; - description "Get cached interface statistics"; - } - leaf interface-alias-long { - type empty; - description - "Enable support for ifAlias values longer than - 64 characters"; - } - leaf ip-subscriber { - type empty; - description "Enable IP subscriber interfaces in IFMIB"; - } - leaf interface-index-persistence { - type empty; - description "Enable ifindex persistence"; - } - leaf statistics-cache { - type empty; - description "Enable cached interface statistics"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:snmp/a1:notification/a1:snmp" { - leaf link-down { - type empty; - description "Enable link down notification"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:snmp/a1:notification/a1:snmp" { - leaf link-up { - type empty; - description "Enable link up notification"; - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang deleted file mode 100644 index 2b1a361..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang +++ /dev/null @@ -1,97 +0,0 @@ -submodule Cisco-IOS-XR-snmp-ifmib-oper-sub1 { - - belongs-to Cisco-IOS-XR-snmp-ifmib-oper { - prefix Cisco-IOS-XR-snmp-ifmib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-ifmib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Link-up-down-status { - type enumeration { - enum enabled { - value 1; - description "LinkUpDown notification is enabled"; - } - enum disabled { - value 2; - description "LinkUpDown notification is disabled"; - } - } - description "Link up down status"; - } - - grouping IFMIB-IFSTACKSTATUS-ENTRY { - description "IF-MIB ifStackStatus entry"; - leaf if-stack-higher-layer { - type string; - description "Higher Layer Index"; - } - leaf if-stack-lower-layer { - type string; - description "Lowyer Layer Index"; - } - leaf if-stack-status { - type string; - description "Interface ifStackStaus info"; - } - } - - grouping IFMIB-NOTIF-STATUS-ENTRY { - description "IF-MIB ifname ifindex entry"; - leaf link-up-down-notif-status { - type Link-up-down-status; - description "LinkUpDown notification status"; - } - } - - grouping IFMIB-IFALIAS-ENTRY { - description "IF-MIB ifalias entry"; - leaf if-alias { - type string; - description "Interface ifAlias"; - } - } - - grouping IFMIB-IFCONNECTORPRESENT-ENTRY { - description "IF-MIB ifConnectorPresent entry"; - leaf if-connector-present { - type string; - description "Interface ifConnector"; - } - } - - grouping IFMIB-IFNAME-IFINDEX-ENTRY { - description "IF-MIB ifname ifindex entry"; - leaf if-index { - type uint32; - description "Interface Index"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper.yang deleted file mode 100644 index a31e68f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-ifmib-oper.yang +++ /dev/null @@ -1,133 +0,0 @@ -module Cisco-IOS-XR-snmp-ifmib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper"; - - - prefix "snmp-ifmib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-oper { prefix "a1"; } - - include Cisco-IOS-XR-snmp-ifmib-oper-sub1 { - revision-date 2015-01-07; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-ifmib package operational data. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:snmp" { - - container interface-mib { - description "SNMP IF-MIB information"; - - container interfaces { - description "Interfaces ifIndex information"; - - list interface { - key "interface-name"; - description "ifIndex for a specific Interface Name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IFMIB-IFNAME-IFINDEX-ENTRY; - } - } - - container interface-connectors { - description "Interfaces ifConnectorPresent information"; - - list interface-connector { - key "interface-name"; - description - "ifConnectorPresent for a specific Interface - Name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IFMIB-IFCONNECTORPRESENT-ENTRY; - } - } - - container interface-aliases { - description "Interfaces ifAlias information"; - - list interface-alias { - key "interface-name"; - description "ifAlias for a specific Interface Name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IFMIB-IFALIAS-ENTRY; - } - } - - container notification-interfaces { - description "Interfaces Notification information"; - - list notification-interface { - key "interface-name"; - description "Notification for specific Interface Name"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses IFMIB-NOTIF-STATUS-ENTRY; - } - } - - container interface-stack-statuses { - description "Interfaces ifstackstatus information"; - - list interface-stack-status { - key "interface-stack-status"; - description "ifstatus for a pair of Interface"; - leaf interface-stack-status { - type xr:Cisco-ios-xr-string; - description "StackHigherLayer.StackLowerLayer"; - } - uses IFMIB-IFSTACKSTATUS-ENTRY; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-snmp-agent-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang deleted file mode 100644 index d15ef07..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-snmp-mib-rfmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg"; - - - prefix "snmp-mib-rfmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-mib-rfmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-13" { - description - "Descriptions updated."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container rf { - description "CISCO-RF-MIB notification configuration"; - leaf enable { - type empty; - description "Enable ciscoRFMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang deleted file mode 100644 index 6b17f2e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang +++ /dev/null @@ -1,102 +0,0 @@ -submodule Cisco-IOS-XR-snmp-sensormib-oper-sub1 { - - belongs-to Cisco-IOS-XR-snmp-sensormib-oper { - prefix Cisco-IOS-XR-snmp-sensormib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-sensormib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SNMP-SENSOR-INFO-XML { - description "SNMP sensor Info"; - leaf field-validity-bitmap { - type uint32; - description "Sensor valid bitmap"; - } - leaf device-description { - type string { - length "0..64"; - } - description "Device Name"; - } - leaf units { - type string { - length "0..64"; - } - description "Units of variable being read"; - } - leaf device-id { - type uint32; - description "Identifier for this device"; - } - leaf value { - type uint32; - description "Current reading of sensor"; - } - leaf alarm-type { - type uint32; - description "Indicates threshold violation"; - } - leaf data-type { - type uint32; - description "Sensor data type enums"; - } - leaf scale { - type uint32; - description "Sensor scale enums"; - } - leaf precision { - type uint32; - description "Sensor precision range"; - } - leaf status { - type uint32; - description "Sensor operation state enums"; - } - leaf age-time-stamp { - type uint32; - description - "Age of the sensor value; set to the current time - if directly access the value from sensor"; - } - leaf update-rate { - type uint32; - description - "Sensor value update rate;set to 0 if sensor - value is updated and evaluated immediately"; - } - leaf measured-entity { - type uint32; - description - "physical entity for which the sensor is taking - measurements"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang deleted file mode 100644 index 1d92aa0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang +++ /dev/null @@ -1,66 +0,0 @@ -submodule Cisco-IOS-XR-snmp-sensormib-oper-sub2 { - - belongs-to Cisco-IOS-XR-snmp-sensormib-oper { - prefix Cisco-IOS-XR-snmp-sensormib-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR snmp-sensormib package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ENVMON-THRESHOLD-INFO { - description "ENVMON threshold Info"; - leaf threshold-severity { - type uint32; - description "Indicates minor, major, critical severities"; - } - leaf threshold-relation { - type uint32; - description - "Indicates relation between sensor value and - threshold"; - } - leaf threshold-value { - type uint32; - description "Value of the configured threshold"; - } - leaf threshold-evaluation { - type boolean; - description - "Indicates the result of the most recent - evaluation of the thresholD"; - } - leaf threshold-notification-enabled { - type boolean; - description - "Indicates whether or not a notification should - result, in case of threshold violation"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper.yang deleted file mode 100644 index b7ab77b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-sensormib-oper.yang +++ /dev/null @@ -1,112 +0,0 @@ -module Cisco-IOS-XR-snmp-sensormib-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-snmp-sensormib-oper"; - - - prefix "snmp-sensormib-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-oper { prefix "a1"; } - - include Cisco-IOS-XR-snmp-sensormib-oper-sub2 { - revision-date 2015-11-09; - } - - include Cisco-IOS-XR-snmp-sensormib-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-sensormib package operational data. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp" { - - container sensor-mib { - description "SNMP sensor MIB information"; - - container physical-indexes { - description - "List of physical index table for threshold - value"; - - list physical-index { - key "index"; - description "Threshold value for physical index"; - - container threshold-indexes { - description "List of threshold index"; - - list threshold-index { - description "Threshold value for threshold index"; - leaf phy-index { - type xr:Cisco-ios-xr-string; - description "Physical Index"; - } - leaf thre-index { - type xr:Cisco-ios-xr-string; - description "Threshold index"; - } - uses ENVMON-THRESHOLD-INFO; - } - } - leaf index { - type xr:Cisco-ios-xr-string; - description "Physical index"; - } - } - } - - container ent-phy-indexes { - description "List of physical index "; - - list ent-phy-index { - key "index"; - description "Sensor value for physical index"; - leaf index { - type xr:Cisco-ios-xr-string; - description "Physical index"; - } - uses SNMP-SENSOR-INFO-XML; - } - } - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-snmp-agent-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-syslogmib-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-syslogmib-cfg.yang deleted file mode 100644 index 0e62eb9..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-syslogmib-cfg.yang +++ /dev/null @@ -1,65 +0,0 @@ -module Cisco-IOS-XR-snmp-syslogmib-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-snmp-syslogmib-cfg"; - - - prefix "snmp-syslogmib-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR snmp-syslogmib package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-12-01" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container syslog { - description "CISCO-SYSLOG-MIB notification configuration"; - leaf enable { - type empty; - description "Enable ciscoSyslogMIB notifications"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-test-trap-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-test-trap-act.yang deleted file mode 100755 index ffdcdbc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-snmp-test-trap-act.yang +++ /dev/null @@ -1,503 +0,0 @@ -module Cisco-IOS-XR-snmp-test-trap-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act"; - - prefix "snmp-test-trap-act"; - - import ietf-inet-types { prefix "inet"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR action package configuration. - - Copyright (c) 2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-10-25" { - description - "IOS XR 6.2.1 revision."; - } - - rpc snmp-cold-start { - description "Generate SNMPv2-MIB::coldStart"; - } - - rpc snmp-warm-start { - description "Generate SNMPv2-MIB::warmStart"; - } - - /* description "interface trap commands */ - rpc interface-link-up { - description "Generate IF-MIB::linkUp"; - input { - leaf ifindex { - description - "interface index for which to generate LinkUp trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc interface-link-down { - description "Generate IF-MIB::linkDown"; - input { - leaf ifindex { - description - "interface index for which to generate LinkDown trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc sonet-section-status { - description - "Generate CISCO-SONET-MIB::ciscoSonetSectionStatusChange"; - input { - leaf ifindex { - description - "interface index for which to generate " + - "ciscoSonetSectionStatusChange trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc sonet-line-status { - description - "Generate CISCO-SONET-MIB::ciscoSonetLineStatusChange"; - input { - leaf ifindex { - description - "interface index for which to generate " + - "ciscoSonetLineStatusChange trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc sonet-path-status { - description - "Generate CISCO-SONET-MIB::ciscoSonetPathStatusChange"; - input { - leaf ifindex { - description "interface index for which to generate " + - "ciscoSonetPathStatusChange trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc infra-syslog-message-generated { - description - "Generate CISCO-SYSLOG-MIB::clogMessageGenerated"; - } - - rpc infra-flash-device-inserted { - description - "Generate CISCO-FLASH-MIB::ciscoFlashDeviceInsertedNotif"; - } - - rpc infra-flash-device-removed { - description - "Generate CISCO-FLASH-MIB::ciscoFlashDeviceRemovedNotif"; - } - - rpc infra-redundancy-progression { - description - "Generate CISCO-RF-MIB::ciscoRFProgressionNotif"; - } - - rpc infra-redundancy-switch { - description - "Generate CISCO-RF-MIB::ciscoRFSwactNotif"; - } - - rpc infra-bridge-new-root { - description "Generate BRIDGE-MIB::newRoot"; - } - - rpc infra-bridge-topology-change { - description "Generate BRIDGE-MIB::topologyChange"; - } - - rpc infra-config-event { - description "Generate CISCO-CONFIG-MAN-MIB::ciscoConfigManEvent"; - } - - rpc entity-sensor-threshold-notification { - description - "Generate CISCO-ENTITY-SENSOR-MIB::entSensorThresholdNotification"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-power-status-change-failed { - description "oper status changed to failed"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-module-status-change-up { - description "fu trap module status changed as ok"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-module-status-change-down { - description "fu trap module status changed as failed"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-fan-tray-oper-status-up { - description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayStatusChange"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-fan-tray-inserted { - description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUInserted"; - input { - leaf entindex { - description - "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc entity-fru-fan-tray-removed { - description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRURemoved"; - input { - leaf entindex { - description "entity Physical Index for which to generate trap"; - type uint32 { - range 1..2147483647; - } - } - } - } - - rpc platform-hfr-bundle-downed-link { - description - "Generate CISCO-FABRIC-HFR-MIB::cfhBundleDownedLinkNotification"; - input { - leaf bundle-name { - description - "bundle name for which to generate the trap"; - type string; - } - } - } - - rpc platform-hfr-bundle-state { - description - "Generate CISCO-FABRIC-HFR-MIB::cfhBundleStateNotification"; - input { - leaf bundle-name { - description - "bundle name for which to generate the trap"; - type string; - } - } - } - - rpc platform-hfr-plane-state { - description "Generate CISCO-FABRIC-HFR-MIB::cfhPlaneStateNotification"; - input { - leaf plane-id { - description - "plane identifier for which to generate the trap"; - type uint32; - } - } - } - - rpc routing-bgp-established { - description - "Generate BGP4-MIB::bglEstablishedNotification"; - } - - rpc routing-bgp-established-remote-peer { - description - "Generate BGP4-MIB::bglEstablishedNotification remote peer"; - input { - leaf address { - description - "BGP remote peer IP address for which to " + - "generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - } - } - - rpc routing-bgp-state-change { - description - "Generate CISCO-BGP-MIB::cbgpBackwardTransition"; - } - - rpc routing-bgp-state-change-remote-peer { - description - "Generate CISCO-BGP-MIB::cbgpBackwardTransition remote peer"; - input { - leaf address { - description - "BGP remote peer IP address for which to " + - "generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - } - } - - rpc routing-ospf-neighbor-state-change { - description "Generate OSPF-TRAP-MIB::ospfNbrStateChange"; - } - - rpc routing-ospf-neighbor-state-change-address { - description "Generate OSPF-TRAP-MIB::ospfNbrStateChange address"; - input { - leaf address { - description - "neighbor's IP source address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - leaf ifindex { - description - "0 for interfaces having IP addresses or IF-MIB " + - "ifindex of addressless interface"; - mandatory true; - type uint32 { - range 0..2147483647; - } - } - } - } - - rpc routing-mpls-ldp-session-down { - description - "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown"; - } - - rpc routing-mpls-ldp-session-down-entity-id { - description - "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown entity-id"; - input { - leaf entity-id { - description - "entity ldp-id in x.x.x.x.y.y format where x.x.x.x " + - "is the entity IP address and y.y is the label space"; - mandatory true; - type string { - length 23; - } - } - leaf entity-index { - description - "entity index for which to generate the trap"; - mandatory true; - type uint32 { - range 1..4294967295; - } - } - leaf peer-id { - description - "peer ldp-id in x.x.x.x.y.y format where x.x.x.x is " + - "the entity IP address and y.y is the label space"; - mandatory true; - type string { - length 23; - } - } - } - } - - rpc routing-mpls-tunnel-re-routed { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted"; - } - - rpc routing-mpls-tunnel-re-routed-index { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted index"; - input { - leaf index { - description - "tunnel index for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf instance { - description - "tunnel instance for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf source { - description - "source address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - leaf destination { - description "destination address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - } - } - - rpc routing-mpls-tunnel-re-optimized { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized"; - } - - rpc routing-mpls-tunnel-re-optimized-index { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized index"; - input { - leaf index { - description - "tunnel index for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf instance { - description - "tunnel instance for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf source { - description - "source address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - leaf destination { - description - "destination address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - } - } - - rpc routing-mpls-tunnel-down { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelDown"; - } - - rpc routing-mpls-tunnel-down-index { - description - "Generate MPLS-TE-STD-MIB::mplsTunnelDown index"; - input { - leaf index { - description - "tunnel index for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf instance { - description - "tunnel instance for which to generate the trap"; - mandatory true; - type uint32 { - range 0..65535; - } - } - leaf source { - description "src address"; - mandatory true; - type inet:ipv4-address-no-zone; - } - leaf destination { - description - "destination address for which to generate the trap"; - mandatory true; - type inet:ipv4-address-no-zone; - } - } - } - - rpc all { - description "generate all the supported traps"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-spirit-corehelper-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-spirit-corehelper-cfg.yang deleted file mode 100644 index 1e6eaaf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-spirit-corehelper-cfg.yang +++ /dev/null @@ -1,64 +0,0 @@ -module Cisco-IOS-XR-spirit-corehelper-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-spirit-corehelper-cfg"; - - - prefix "spirit-corehelper-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR spirit-corehelper package configuration. - - This module contains definitions - for the following management objects: - exception: Core dump configuration commands - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container exception { - description "Core dump configuration commands"; - - container file { - description "Container for the order of preference"; - leaf choice2 { - type string; - description "Preference of the dump location"; - } - leaf choice1 { - type string; - description "Preference of the dump location"; - } - leaf choice3 { - type string; - description "Preference of the dump location"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper-sub1.yang deleted file mode 100644 index a0907f0..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper-sub1.yang +++ /dev/null @@ -1,232 +0,0 @@ -submodule Cisco-IOS-XR-sse-span-oper-sub1 { - - belongs-to Cisco-IOS-XR-sse-span-oper { - prefix Cisco-IOS-XR-sse-span-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR sse-span package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SSE-SPAN-EA-SDT-BAG { - description "SPAN Session Information"; - leaf valid { - type uint8; - description "marks validity of entry"; - } - leaf id { - type uint32; - description "Numerical ID assigned to session"; - } - leaf state { - type uint32; - description "session state"; - } - leaf class { - type uint32; - description "session Class gre,ipv4,ipv6"; - } - leaf ifhandle { - type uint32; - description "ifhandle of interface"; - } - leaf mode { - type uint32; - description "Tunnel mode"; - } - leaf ip-type { - type uint32; - description "IP type v4 or v6 "; - } - leaf vrf-id { - type uint32; - description "Vrf Id"; - } - leaf tos-bit { - type uint32; - description "type of service"; - } - leaf tos-bit-copied { - type uint32; - description "type of service copied"; - } - leaf ttl { - type uint32; - description "TTL"; - } - leaf dfbit { - type uint32; - description "DF bit"; - } - leaf-list src-ip { - type uint32; - max-elements "4"; - description "src ip v4 or v6"; - } - leaf-list dst-ip { - type uint32; - max-elements "4"; - description "dst ip v4 or v6"; - } - leaf-list sdt-hw-data { - type uint32; - max-elements "20"; - description "16x5npu=80 bytes of hw sdt entry"; - } - } - - grouping SSE-SPAN-EA-UDF-BAG { - description "UDF Information"; - leaf-list udf-hdr { - type uint32; - max-elements "8"; - description "udf header"; - } - leaf-list udf-type { - type uint32; - max-elements "8"; - description "udf type"; - } - leaf-list udf-len { - type uint32; - max-elements "8"; - description "udf len"; - } - leaf-list udf-value { - type uint32; - max-elements "8"; - description "udf value"; - } - leaf-list udf-hw-data { - type uint32; - max-elements "20"; - description "16x5npu=80 bytes of hw udf entry"; - } - } - - grouping SSE-SPAN-EA-SFT-BAG { - description "SPAN Session SFT Information"; - leaf src-ifh { - type uint32; - description "source IFH"; - } - leaf intf-name-xr { - type yang:hex-string; - description "interface name"; - } - leaf v4-acl-flag { - type uint32; - description "ipv4 acl flag"; - } - leaf v6-acl-flag { - type uint32; - description "ipv6 acl flag"; - } - leaf gre-acl-flag { - type uint32; - description "gre acl flag"; - } - leaf v4state { - type uint32; - description "ipv4 state"; - } - leaf v6state { - type uint32; - description "ipv6 state"; - } - leaf gre-state { - type uint32; - description "gre state"; - } - leaf v4sessid { - type uint32; - description "ipv4 session Id"; - } - leaf v6sessid { - type uint32; - description "ipv6 session Id"; - } - leaf gre-sessid { - type uint32; - description "gre session Id"; - } - leaf v4dst-type { - type uint32; - description "ipv4 dst type"; - } - leaf v6dst-type { - type uint32; - description "ipv6 dst type"; - } - leaf gredst-type { - type uint32; - description "gre dst type"; - } - leaf v4statsptr { - type uint32; - description "v4 stats ptr"; - } - leaf v6statsptr { - type uint32; - description "v6 stats ptr"; - } - leaf grev4statsptr { - type uint32; - description "mpls ipv4 stats ptr"; - } - leaf grev6statsptr { - type uint32; - description "mpls ipv6 stats ptr"; - } - leaf mplsv4stats { - type uint32; - description "mpls ipv4 pkts"; - } - leaf mplsv6pkts { - type uint32; - description "mpls ipv6 pkts"; - } - leaf np-umask { - type uint32; - description "npu mask"; - } - leaf-list uidb { - type uint32; - max-elements "5"; - description "uidb array "; - } - leaf-list sft-hw-data { - type uint32; - max-elements "20"; - description "16x5npu=80 bytes of hw sft entry"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper.yang deleted file mode 100644 index c4a7d7b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sse-span-oper.yang +++ /dev/null @@ -1,104 +0,0 @@ -module Cisco-IOS-XR-sse-span-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sse-span-oper"; - - - prefix "sse-span-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-sse-span-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR sse-span package operational data. - - This module contains definitions - for the following management objects: - ssespan: SSE SPAN operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ssespan { - config false; - description "SSE SPAN operational data"; - - container nodes { - description "Node table for node-specific operational data"; - - list node { - key "node"; - description "Node-specific data for a particular node"; - - container span-mirr-infos { - description "SPAN SFT entry"; - - list span-mirr-info { - key "intf-name"; - description "Mirror info "; - leaf intf-name { - type xr:Interface-name; - description "interface name"; - } - uses SSE-SPAN-EA-SFT-BAG; - } - } - - container spanudf { - description "udf info"; - uses SSE-SPAN-EA-UDF-BAG; - } - - container span-sess-infos { - description "SPAN SDT entry"; - - list span-sess-info { - key "session-id session-class"; - description "Session info "; - leaf session-id { - type int32; - description "Session Id"; - } - leaf session-class { - type int32; - description "Session class"; - } - uses SSE-SPAN-EA-SDT-BAG; - } - } - leaf node { - type xr:Node-id; - description "Node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-cfg.yang deleted file mode 100644 index d022e18..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-cfg.yang +++ /dev/null @@ -1,270 +0,0 @@ -module Cisco-IOS-XR-subscriber-accounting-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-accounting-cfg"; - - - prefix "subscriber-accounting-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-accounting package configuration. - - This module contains definitions - for the following management objects: - subscriber-accounting: Subscriber Configuration - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ACCOUNTING { - description "Common node of subscriber-service, ip-subscriber"; - - container accounting { - description "Subscriber accounting dynamic-template commands"; - - container service-accounting { - description "Subscriber accounting service accounting"; - leaf method-list-name { - type string; - description "Service accounting method list name"; - } - leaf accounting-interim-interval { - type int32; - units "minute"; - description "Accounting interim interval in minutes"; - } - } - - container session { - description "Subscriber accounting session accounting"; - leaf method-list-name { - type string; - description "Session accounting method list name"; - } - leaf periodic-interval { - type int32; - units "minute"; - description "Interim accounting interval in minutes"; - } - leaf dual-stack-delay { - type int32; - units "second"; - description "Dual stack wait delay in seconds"; - } - leaf hold-acct-start { - type int32; - description "Hold Accounting start based on IA_PD"; - } - } - - container idle-timeout { - description "Subscriber accounting idle timeout"; - leaf timeout-value { - type uint32 { - range "60..4320000"; - } - units "second"; - description "Idle timeout value in seconds"; - } - leaf threshold { - type uint32 { - range "1..10000"; - } - description "Threshold in minute(s) per packet"; - } - leaf direction { - type string; - description "Idle timeout traffic direction"; - } - } - leaf prepaid-feature { - type string; - description "Subscriber accounting prepaid feature"; - } - } - } - - container subscriber-accounting { - description "Subscriber Configuration"; - - container prepaid-configurations { - description "Subscriber Prepaid Feature Configuration"; - - list prepaid-configuration { - key "prepaid-config-name"; - description "Prepaid configuration name or default"; - leaf password { - type string { - length "1..64"; - } - description - "Password to be used when placing prepaid - (re)authorization requests"; - } - leaf volume-threshold { - type int32; - description - "Threshold at which to send prepaid volume - quota request"; - } - leaf accounting-method-list { - type string { - length "1..64"; - } - description - "Method list to be used when placing prepaid - accounting requests"; - } - leaf time-hold { - type int32; - description - "Idle Threshold for which prepaid quota is - valid"; - } - leaf author-method-list { - type string { - length "1..64"; - } - description - "Method list to be used when placing prepaid - (re)authorization requests"; - } - leaf traffic-direction { - type string; - description "Prepaid quota traffic direction"; - } - leaf time-threshold { - type int32; - description - "Threshold at which to send prepaid time quota - request"; - } - leaf time-valid { - type int32; - description "Threshold for which prepaid quota is valid"; - } - leaf prepaid-config-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description "Prepaid configuration name or default"; - } - } - } - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - - container accounting { - description "Subscriber accounting dynamic-template commands"; - - container idle-timeout { - description "Subscriber accounting idle timeout"; - leaf timeout-value { - type uint32 { - range "60..4320000"; - } - description "Idle timeout value in seconds"; - } - leaf threshold { - type uint32 { - range "1..10000"; - } - description "Threshold in minute(s) per packet"; - } - leaf direction { - type string; - description "Idle timeout traffic direction"; - } - } - - container session { - description "Subscriber accounting session accounting"; - leaf method-list-name { - type string; - description "Session accounting method list name"; - } - leaf periodic-interval { - type int32; - description "Interim accounting interval in minutes"; - } - leaf dual-stack-delay { - type int32; - description "Dual stack wait delay in seconds"; - } - leaf hold-acct-start { - type int32; - description "Hold Accounting start based on IA_PD"; - } - } - - container service-accounting { - description "Subscriber accounting service accounting"; - leaf method-list-name { - type string; - description "Service accounting method list name"; - } - leaf accounting-interim-interval { - type int32; - description "Accounting interim interval in minutes"; - } - } - leaf prepaid-feature { - type string; - description "Subscriber accounting prepaid feature"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - } - - augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses ACCOUNTING; - } - - augment "/a1:dynamic-template/a1:subscriber-services"+ - "/a1:subscriber-service" { - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - uses ACCOUNTING; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang deleted file mode 100644 index 537ab02..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang +++ /dev/null @@ -1,738 +0,0 @@ -submodule Cisco-IOS-XR-subscriber-accounting-oper-sub1 { - - belongs-to Cisco-IOS-XR-subscriber-accounting-oper { - prefix Cisco-IOS-XR-subscriber-accounting-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR subscriber-accounting package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping ACCT-MA-FLOW-FEAT-BAG-DATA { - description "ACCT MA FLOW FEAT BAG DATA"; - leaf flow-accounting-enabled-flag { - type boolean; - description "True if flow accounting is enabled"; - } - leaf flow-idle-timeout-enabled-flag { - type boolean; - description "True if flow idle timeout is enabled"; - } - leaf prepaid-enabled-flag { - type boolean; - description "True if prepaid is enabled"; - } - leaf prepaid-reauth-timer-enabled { - type boolean; - description - "Flag to specify if absolute timeout for ervice - is enabled."; - } - leaf prepaid-idle-timeout-enabled { - type boolean; - description - "Flag to specify if idle timeout for service is - enabled"; - } - leaf prepaid-final-unit { - type boolean; - description "Prepaid final unit indication flag"; - } - leaf unique-class-label { - type uint32; - description "Unique class label used to identify the flow"; - } - leaf flow-direction { - type uint32; - description "Direction of the flow. 0 = Ingress, 1 = Egress"; - } - leaf flow-accounting-periodic-interval { - type uint32; - description "Flow accounting periodic interval"; - } - leaf flow-idle-timeout-value { - type uint32; - units "second"; - description "Flow idle timeout value in seconds"; - } - leaf prepaid-time-quota { - type uint32; - units "second"; - description "Current prepaid time quota in seconds"; - } - leaf prepaid-time-threshold { - type uint32; - units "second"; - description "Current prepaid time threshold in seconds"; - } - leaf prepaid-total-time-quota { - type uint32; - description "Total accumulated prepaid time quota"; - } - leaf prepaid-volume-threshold { - type uint32; - units "byte"; - description "Current prepaid volume threshold in bytes"; - } - leaf prepaid-remaining-qt { - type uint32; - description "The time remaing for QT timer to fire."; - } - leaf prepaid-remaining-qat { - type uint32; - description - "The time remaing for quota absolute timer to - fire."; - } - leaf prepaid-remaining-qit { - type uint32; - description - "The time remaing for quota holding timer to fire - ."; - } - leaf prepaid-remaining-qtt { - type uint32; - description "The time remaining for tariff timer to fire."; - } - leaf prepaid-remaining-wheel { - type uint32; - description - "The time remaining for idle timer wheel to fire."; - } - leaf prepaid-tariff-time { - type uint32; - description - "The absolute time at which the traffic switch - will occur expressed in UNIX time"; - } - leaf prepaid-idle-timeout-value { - type uint32; - units "second"; - description "Prepaid idle timeout value in seconds"; - } - leaf prepaid-reauth-timeout-value { - type uint32; - description - "The time at which the re-authorization will - occur"; - } - leaf prepaid-ccfh { - type uint32; - description "Prepaid CCFH flag"; - } - leaf prepaid-result-code { - type uint32; - description "Prepaid authorization operation result code"; - } - leaf prepaid-volumei-quota { - type uint64; - units "byte"; - description "Current prepaid input volume quota in bytes"; - } - leaf prepaid-volumeo-quota { - type uint64; - units "byte"; - description "Current prepaid output volume quota in bytes"; - } - leaf prepaid-volumeb-quota { - type uint64; - units "byte"; - description "Current prepaid total volume quota in bytes"; - } - leaf prepaid-total-volumei-quota { - type uint64; - units "byte"; - description "Total accumulated input volume quota in bytes"; - } - leaf prepaid-total-volumeo-quota { - type uint64; - units "byte"; - description "Total accumulated output volume quota in bytes"; - } - leaf prepaid-total-volumeb-quota { - type uint64; - units "byte"; - description "Total accumulated total volume quota in bytes"; - } - leaf prepaid-volume-usedi-quota { - type uint64; - units "byte"; - description "Accumulated input volume used quota in bytes"; - } - leaf prepaid-volume-usedo-quota { - type uint64; - units "byte"; - description "Accumulated output volume used quota in bytes"; - } - leaf prepaid-volume-refi-quota { - type uint64; - units "byte"; - description - "Accumulated input volume reference quota in - bytes"; - } - leaf prepaid-volume-refo-quota { - type uint64; - units "byte"; - description - "Accumulated output volume reference quota in - bytes"; - } - leaf prepaid-volume-refb-quota { - type uint64; - units "byte"; - description - "Accumulated bi-directional volume reference - quota in bytes"; - } - leaf prepaid-volume-newi-quota { - type uint64; - units "byte"; - description "Newly arrvied input volume quota in bytes"; - } - leaf prepaid-volume-newo-quota { - type uint64; - units "byte"; - description "Newly arrvied output volume quota in bytes"; - } - leaf prepaid-volume-newb-quota { - type uint64; - units "byte"; - description - "Newly arrvied bi-directional volume quota in - bytes"; - } - leaf prepaid-tariff-volumei-quota { - type uint64; - units "byte"; - description - "Total accumulated prepaid pre-tarrif input - volume quota in bytes"; - } - leaf prepaid-tariff-volumeo-quota { - type uint64; - units "byte"; - description - "Total accumulated prepaid pre-tarrif output - volume quota in bytes"; - } - leaf prepaid-tariff-volumeb-quota { - type uint64; - units "byte"; - description - "Total accumulated prepaid pre-tarrif total - volume quota in bytes"; - } - leaf flow-accounting-method-list-name { - type string { - length "0..256"; - } - description "Flow accounting method list name"; - } - leaf prepaid-cfg { - type string { - length "0..256"; - } - description "Prepaid Config"; - } - leaf prepaid-time-state { - type string { - length "0..256"; - } - description "Prepaid time state machine state"; - } - leaf prepaid-volume-state { - type string { - length "0..256"; - } - description "Prepaid volume state machine state"; - } - leaf prepaid-charging-rule { - type string { - length "0..256"; - } - description "Prepaid charging rule name string"; - } - } - - grouping ACCT-MA-FLOW-FEATURES { - description "ACCT MA FLOW FEATURES"; - - container flow-feature-data { - description "Accouting flow feature display data"; - uses ACCT-MA-FLOW-FEAT-BAG-DATA; - } - } - - grouping ACCT-MA-CTX-BAG-SUM-COUNTS { - description "ACCT MA CTX BAG SUM COUNTS"; - leaf active-sessions { - type uint32; - description "Number of Active Sessions"; - } - leaf disconnected-sessions { - type uint32; - description "Number of Disconnected Sessions"; - } - leaf active-session-accounting-sessions { - type uint32; - description "Number of Active Sessions with Accounting"; - } - leaf active-flows { - type uint32; - description "Number of Active Flows"; - } - leaf quota-received { - type uint32; - description "Number of flows for which Quota is received"; - } - } - - grouping ACCT-MA-SESS-TO-BAG-SUM-COUNTS { - description "ACCT MA SESS TO BAG SUM COUNTS"; - leaf active-session-timers { - type uint32; - description "Number of Active Session Timers"; - } - leaf expired-session-timers { - type uint32; - description "Number of Expired Session Timers"; - } - } - - grouping ACCT-MA-IDLE-TO-BAG-SUM-COUNTS { - description "ACCT MA IDLE TO BAG SUM COUNTS"; - leaf active-session-idle-timers { - type uint32; - description "Number of Sessions with Idle Timeout Feature"; - } - leaf idle-sessions { - type uint32; - description "Number of Idle Sessions"; - } - leaf transitions-to-idle { - type uint32; - description "Number of Sessions Transitions to Idle State"; - } - leaf transitions-to-awake { - type uint32; - description "Number of Sessions Transitions to Awake State"; - } - leaf active-flow-idle-timers { - type uint32; - description "Number of Active Flow Idle Timers"; - } - leaf expired-flow-idle-timers { - type uint32; - description "Number of Flow Expired Idle Timers"; - } - leaf active-prepaid-idle-timers { - type uint32; - description "Number of Active Prepaid Idle Timers"; - } - leaf expired-prepaid-idle-timers { - type uint32; - description "Number of Expired Prepaid Idle Timers"; - } - } - - grouping ACCT-MA-AAA-BAG-SUM-COUNTS { - description "ACCT MA AAA BAG SUM COUNTS"; - leaf flow-start { - type uint32; - description "Number of Flow Start Requests Sent"; - } - leaf flow-disconnect { - type uint32; - description "Number of Flow Disconnect Requests Sent"; - } - leaf session-accounting-start { - type uint32; - description - "Number of Session Accounting Start Requests Sent"; - } - leaf session-accounting-stop { - type uint32; - description "Number of Session Accounting Stop Requests Sent"; - } - leaf session-accounting-update { - type uint32; - description - "Number of Session Accounting Update Requests - Sent"; - } - leaf service-accounting-start { - type uint32; - description - "Number of Service Accounting Start Requests Sent"; - } - leaf service-accounting-stop { - type uint32; - description "Number of Service Accounting Stop Requests Sent"; - } - leaf service-accounting-update { - type uint32; - description - "Number of Service Accounting Update Requests - Sent"; - } - leaf flow-accounting-start { - type uint32; - description "Number of Flow Accounting Start Requests Sent"; - } - leaf flow-accounting-stop { - type uint32; - description "Number of Flow Accounting Stop Requests Sent"; - } - leaf flow-accounting-update { - type uint32; - description "Number of Flow Accounting Update Requests Sent"; - } - leaf accounting-callback { - type uint32; - description "Number of Accounting Callbacks Received"; - } - leaf session-acct-trans-pending { - type uint32; - description - "Number of Session Accounting transactions - pending"; - } - leaf session-acct-reqs-failed { - type uint32; - description - "Number of Session Accounting requests that - failed"; - } - leaf session-acct-out-of-sync { - type uint32; - description - "Number of Session Accounting sessions out of - sync"; - } - leaf session-idle-to-trans-pending { - type uint32; - description - "Number of Session Idle Timeout transactions - pending"; - } - leaf session-idle-to-reqs-failed { - type uint32; - description - "Number of Session Idle Timeout requests that - failed"; - } - leaf session-idle-to-out-of-sync { - type uint32; - description - "Number of Session Idle Timeout sessions out of - sync"; - } - leaf service-acct-trans-pending { - type uint32; - description - "Number of Service Accounting transactions - pending"; - } - leaf service-acct-reqs-failed { - type uint32; - description - "Number of Service Accounting requests that - failed"; - } - leaf service-acct-out-of-sync { - type uint32; - description - "Number of Service Accounting services out of - sync"; - } - leaf service-idle-to-trans-pending { - type uint32; - description - "Number of Service Idle Timeout transactions - pending"; - } - leaf service-idle-to-reqs-failed { - type uint32; - description - "Number of Service Idle Timeout requests that - failed"; - } - leaf service-idle-to-out-of-sync { - type uint32; - description - "Number of Service Idle Timeout services out of - sync"; - } - leaf prepaid-start { - type uint32; - description "Number of Prepaid Start Requests Sent"; - } - leaf prepaid-stop { - type uint32; - description "Number of Prepaid Stop Requests Sent"; - } - leaf prepaid-accounting-start { - type uint32; - description - "Number of Prepaid Accounting Start Requests Sent"; - } - leaf prepaid-accounting-stop { - type uint32; - description "Number of Prepaid Accounting Stop Requests Sent"; - } - leaf prepaid-volume-threshold-reached { - type uint32; - description - "Number of Prepaid Volume Threshold Reached - Requests Sent"; - } - leaf prepaid-time-threshold-reached { - type uint32; - description - "Number of Prepaid Time Threshold Reached - Requests Sent"; - } - leaf prepaid-quota-depleted { - type uint32; - description "Number of Prepaid Quota Depleted Requests Sent"; - } - leaf prepaid-reauthorization { - type uint32; - description "Number of Prepaid Authorization Requests Sent"; - } - leaf idle-timeout { - type uint32; - description "Number of Idle Timeout Events Sent"; - } - leaf idle-timeout-response-callback { - type uint32; - description "Number of Idle Timeout Callbacks Received"; - } - leaf owned-resource-start { - type uint32; - description "Number of Owned Resource Starts"; - } - } - - grouping ACCT-MA-FEATURE-SUMMARY { - description "ACCT MA FEATURE SUMMARY"; - - container aaa-counters { - description "Accounting feature AAA summary counters"; - uses ACCT-MA-AAA-BAG-SUM-COUNTS; - } - - container idle-timeout-counters { - description - "Accounting feature idle timeout summary counters"; - uses ACCT-MA-IDLE-TO-BAG-SUM-COUNTS; - } - - container session-timeout-counters { - description - "Accounting feature session timeout summary - counters"; - uses ACCT-MA-SESS-TO-BAG-SUM-COUNTS; - } - - container session-flow-counters { - description - "Accounting feature session context summary - counters"; - uses ACCT-MA-CTX-BAG-SUM-COUNTS; - } - } - - grouping ACCT-MA-SERV-FEAT-BAG-DATA { - description "ACCT MA SERV FEAT BAG DATA"; - leaf service-accounting-enabled-flag { - type boolean; - description "True if service accounting is enabled"; - } - leaf service-accounting-service-id { - type uint32; - description "Service accounting service ID"; - } - leaf service-accounting-method-list { - type string { - length "0..256"; - } - description "Service accounting method list name"; - } - leaf service-accounting-periodic-interval { - type uint32; - description "Service accounting periodic interval"; - } - leaf session-accounting-aaa-trans-pending { - type uint32; - description - "Number of Service Accounting AAA transactions - pending for the service"; - } - leaf session-accounting-aaa-request-failed { - type uint32; - description - "Number of Service Accounting AAA request - failures for the service"; - } - leaf session-accounting-started { - type boolean; - description - "True if Service accounting started for the - service"; - } - } - - grouping ACCT-MA-SESS-FEAT-BAG-DATA { - description "ACCT MA SESS FEAT BAG DATA"; - leaf unique-subscriber-label { - type uint32; - description - "Unique subscriber label used to identify the - session"; - } - leaf interface-handle { - type uint32; - description "Handle of interface associated with the session"; - } - leaf session-disconnected { - type boolean; - description "True if session is disconnected"; - } - leaf session-accounting-enabled-flag { - type boolean; - description "True if session accounting is enabled"; - } - leaf session-accounting-method-list { - type string { - length "0..256"; - } - description "Session accounting method list name"; - } - leaf session-accounting-periodic-interval { - type uint32; - description "Session accounting periodic interval"; - } - leaf session-accounting-aaa-trans-pending { - type uint32; - description - "Number of Session Accounting AAA transactions - pending"; - } - leaf session-accounting-aaa-request-failed { - type uint32; - description - "Number of Session Accounting AAA request - failures"; - } - leaf session-accounting-started { - type boolean; - description "True if session accounting started"; - } - leaf session-idle-timeout-enabled-flag { - type boolean; - description "True if session idle timeout is enabled"; - } - leaf idle-timeout-value { - type uint32; - units "second"; - description "Idle timeout value in seconds"; - } - leaf idle-timeout-threshold { - type uint32; - units "minute"; - description "Idle timeout threshold in minutes per packets"; - } - leaf idle-timeout-direction { - type string { - length "0..256"; - } - description "Idle timeout direction"; - } - leaf session-is-idle { - type boolean; - description "True if session is idle"; - } - leaf session-stats-changed-time { - type uint32; - description "Last time session data was received"; - } - leaf session-total-idle-time { - type uint32; - description "Total time session has been idle"; - } - leaf session-to-idle-count { - type uint32; - description "Number of Session Idle AAA events"; - } - leaf session-to-awake-count { - type uint32; - description "Number of Session Awake AAA events"; - } - leaf session-idle-to-aaa-trans-pending { - type uint32; - description "Number of Session Idle AAA transactions pending"; - } - leaf session-idle-to-aaa-request-failed { - type uint32; - description "Number of Session Idle AAA request failures"; - } - leaf session-timeout-enabled-flag { - type boolean; - description "True if session timeout is enabled"; - } - leaf session-timeout-value { - type uint32; - units "second"; - description "Session timeout value in seconds"; - } - leaf session-timeout-time-remaining { - type uint32; - units "second"; - description - "Number seconds remaining before session times - out"; - } - - list service-accounting-feature { - description "List of service accounting features"; - uses ACCT-MA-SERV-FEAT-BAG-DATA; - } - } - - grouping ACCT-MA-SESSION-FEATURES { - description "ACCT MA SESSION FEATURES"; - - container session-feature-data { - description "Accounting session feature display data"; - uses ACCT-MA-SESS-FEAT-BAG-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper.yang deleted file mode 100644 index a9850d5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-accounting-oper.yang +++ /dev/null @@ -1,109 +0,0 @@ -module Cisco-IOS-XR-subscriber-accounting-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-accounting-oper"; - - - prefix "subscriber-accounting-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-subscriber-accounting-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-accounting package operational data. - - This module contains definitions - for the following management objects: - subscriber-accounting: Subscriber accounting operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container subscriber-accounting { - config false; - description "Subscriber accounting operational data"; - - container nodes { - description - "Subscriber accounting operational data for a - particular location"; - - list node { - key "node-id"; - description "Location. For example, 0/1/CPU0"; - - container subscriber-accounting-session-features { - description "Subscriber accounting session feature data"; - - list subscriber-accounting-session-feature { - key "sub-label"; - description - "Display accounting session features by unique - subscriber label"; - leaf sub-label { - type int32; - description "Unique subscriber label"; - } - uses ACCT-MA-SESSION-FEATURES; - } - } - - container subscriber-accounting-summary { - description "Display subscriber accounting summary data"; - uses ACCT-MA-FEATURE-SUMMARY; - } - - container subscriber-accounting-flow-features { - description "Subscriber accounting flow feature data"; - - list subscriber-accounting-flow-feature { - key "class-label"; - description - "Display accounting flow features by unique - subscriber label"; - leaf class-label { - type int32; - description "Unique subscriber class label"; - } - uses ACCT-MA-FLOW-FEATURES; - } - } - leaf node-id { - type xr:Node-id; - description - "The node id to filter on. For example, - 0/1/CPU0"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang deleted file mode 100644 index d711676..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang +++ /dev/null @@ -1,89 +0,0 @@ -module Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg"; - - - prefix "subscriber-infra-tmplmgr-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-infra-tmplmgr package configuration. - - This module contains definitions - for the following management objects: - dynamic-template: All dynamic template configurations - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container dynamic-template { - description "All dynamic template configurations"; - - container ppps { - description "Templates of the PPP Type"; - - list ppp { - key "template-name"; - description "A Template of the PPP Type"; - leaf template-name { - type xr:Cisco-ios-xr-string; - description "The name of the template"; - } - } - } - - container ip-subscribers { - description "The IP Subscriber Template Table"; - - list ip-subscriber { - key "template-name"; - description "A IP Subscriber Type Template "; - leaf template-name { - type xr:Cisco-ios-xr-string; - description "The name of the template"; - } - } - } - - container subscriber-services { - description "The Service Type Template Table"; - - list subscriber-service { - key "template-name"; - description "A Service Type Template "; - leaf template-name { - type xr:Cisco-ios-xr-string; - description "The name of the template"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-cfg.yang deleted file mode 100644 index 82b4f2e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-cfg.yang +++ /dev/null @@ -1,232 +0,0 @@ -module Cisco-IOS-XR-subscriber-ipsub-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-ipsub-cfg"; - - - prefix "subscriber-ipsub-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-ipsub package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container subscriber { - description "Subscribers on interface"; - - container ip-subscriber { - description "IP subscribers on interface"; - - container ipv4 { - description "IPv4 subscriber"; - - container l2-connected { - description "L2 connected IPv4 subscriber"; - - container initiator { - description "Configure IP subscriber initiator"; - - container unclassified-source-fsol { - presence "Indicates a unclassified-source-fsol node"+ - " is configured."; - description - "Configure IP subscriber unclassified source - initiator"; - leaf enable { - type empty; - mandatory true; - description "Enable unclassified source"; - } - leaf address-unique { - type boolean; - default "false"; - description - "Check for subscriber IP uniqueness during - first sign of life"; - } - } - leaf dhcp { - type empty; - description - "Configure IP subscriber DHCP initiator"; - } - } - } - - container routed { - description "Routed IPv4 subscriber"; - - container initiator { - description "Configure IP subscriber initiator"; - leaf unclassified-ip { - type empty; - description - "Configure IPv4 subscriber unclassified - source initiator"; - } - leaf dhcp { - type empty; - description - "Configure IPv4 subscriber DHCP initiator"; - } - leaf dhcp-snoop { - type empty; - description - "Configure IPv4 subscriber DHCP Snoop - initiator"; - } - } - } - } - - container session-limit { - description "IP subscriber session limit"; - - container total { - description "Session limit for all sources"; - leaf per-vlan { - type int32; - default "0"; - description - "Configure per-vlan session limit for all - sources"; - } - } - - container unclassified-source { - description "Session limit for unclassified sources"; - leaf per-vlan { - type int32; - default "0"; - description - "Configure per-vlan session limit for - unclassified sources"; - } - } - } - - container ipv6 { - description "IPv6 subscriber"; - - container l2-connected { - description "L2 connected IPv6 subscriber"; - - container initiator { - description "Configure IPv6 subscriber initiator"; - - container unclassified-source-fsol { - presence "Indicates a unclassified-source-fsol node"+ - " is configured."; - description - "Configure IP subscriber unclassified source - initiator"; - leaf enable { - type empty; - mandatory true; - description "Enable unclassified source"; - } - leaf address-unique { - type boolean; - default "false"; - description - "Check for subscriber IP uniqueness during - first sign of life"; - } - } - leaf dhcp { - type empty; - description - "Configure IPv6 subscriber DHCP initiator"; - } - } - } - - container routed { - description "Routed IPv6 subscriber"; - - container initiator { - description "Configure IP subscriber initiator"; - leaf unclassified-ip { - type uint32 { - range "1..128"; - } - default "128"; - description - "Configure unclassified packets as - first-sign-of-life for IPv6 subscriber"; - } - leaf dhcp { - type uint32 { - range "1..128"; - } - default "128"; - description - "Configure IPv6 subscriber DHCP initiator"; - } - leaf dhcp-snoop { - type uint32 { - range "1..128"; - } - default "128"; - description - "Configure IPv6 subscriber DHCP Snoop - initiator"; - } - } - } - } - leaf subscriber-templates { - type uint32 { - range "1..10"; - } - default "10"; - description - "Enable subscriber templates on this access - interface"; - } - leaf interface { - type empty; - description "Enable IP Static subscriber"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang deleted file mode 100644 index e467221..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang +++ /dev/null @@ -1,632 +0,0 @@ -submodule Cisco-IOS-XR-subscriber-ipsub-oper-sub1 { - - belongs-to Cisco-IOS-XR-subscriber-ipsub-oper { - prefix Cisco-IOS-XR-subscriber-ipsub-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR subscriber-ipsub package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Ipsub-ma-parent-intf-vlan { - type enumeration { - enum plain { - description "Plain"; - } - enum ambiguous { - description "Ambiguous"; - } - } - description "Access interface VLAN type"; - } - typedef Ipsub-ma-parent-intf-state-data { - type enumeration { - enum deleted { - description "Interface being deleted"; - } - enum down { - description "Interface operationally down"; - } - enum up { - description "Interface up"; - } - } - description "Parent interface state"; - } - typedef Ipsub-ma-intf-state-data { - type enumeration { - enum invalid { - value 0; - description "Invalid state"; - } - enum initialized { - value 1; - description "Initial state"; - } - enum session-creation-started { - value 2; - description "Interface creation started"; - } - enum control-policy-executing { - value 3; - description - "Interface created in IM, AAA session start - called"; - } - enum control-policy-executed { - value 4; - description "AAA session created"; - } - enum session-features-applied { - value 5; - description "Interface config activated"; - } - enum vrf-configured { - value 6; - description - "Interface address and VRF information received - from IPv4"; - } - enum adding-adjacency { - value 7; - description - "VRF configuration received and interface config - activated"; - } - enum adjacency-added { - value 8; - description "Subscriber AIB adjacency added"; - } - enum up { - value 9; - description "Session up"; - } - enum down { - value 10; - description "Session down"; - } - enum address-family-down { - value 11; - description "Session down in progress"; - } - enum address-family-down-complete { - value 12; - description "Session down complete"; - } - enum disconnecting { - value 13; - description "Session teardown in progress"; - } - enum disconnected { - value 14; - description "Session disconnected"; - } - enum error { - value 15; - description "Session in error state"; - } - } - description "Interface states"; - } - typedef Ipsub-ma-intf-initiator-data { - type enumeration { - enum dhcp { - value 0; - description "Session creation via DHCP discover packet"; - } - enum packet-trigger { - value 1; - description "Session creation via unclassified IPv4 packet"; - } - enum invalid-trigger { - value 2; - description "Invalid Trigger"; - } - } - description "Ipsub ma intf initiator data"; - } - - grouping TOTAL-SOURCE { - description - "Session limits for all categories of all packet - sources"; - leaf per-vlan { - type uint32; - description "Per-VLAN limit category"; - } - } - - grouping UNCLASSIFIED-SOURCE { - description - "Session limits for all categories for - unclassified-source packets"; - leaf per-vlan { - type uint32; - description "Per-VLAN limit category"; - } - } - - grouping IPSUB-MA-PARENT-INTF-SESSION-LIMIT-DATA { - description - "Session limits for various categories by packet - source"; - - container unclassified-source { - description "Unclassified source session limits"; - uses UNCLASSIFIED-SOURCE; - } - - container total { - description "All sources session limits"; - uses TOTAL-SOURCE; - } - } - - grouping IPSUB-MA-PARENT-INTF-INITIATOR-DATA { - description "IPSUB MA PARENT INTF INITIATOR DATA"; - leaf is-configured { - type boolean; - description "Ture if the initiator is configred"; - } - leaf unique-ip-check { - type boolean; - description - "True if check for subscriber address - uniquenessduring first sign of life is enabled"; - } - leaf sessions { - type uint32; - description - "Number of sessions currently up for each - initiator"; - } - leaf fsol-packets { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol on this interface"; - } - leaf fsol-bytes { - type uint32; - units "byte"; - description - "Number of first sign of life bytes received for - initiating protocol on this interface"; - } - leaf fsol-dropped-packets { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol on this interface that - were dropped"; - } - leaf fsol-dropped-bytes { - type uint32; - units "byte"; - description - "Number of first sign of life bytes received for - initiating protocol on this interface that were - dropped"; - } - leaf fsol-dropped-packets-flow { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol on this interface that - were dropped due to exceeding creation rate"; - } - leaf fsol-dropped-packets-session-limit { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol on this interface that - were dropped due to exceeding one or more of the - configured session limits"; - } - leaf fsol-dropped-packets-dup-addr { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol on this interface that - were dropped due to duplicate source address"; - } - } - - grouping IPSUB-MA-PARENT-INTF-INITIATORS { - description "Initiator protocol details"; - - container dhcp { - description "DHCP information"; - uses IPSUB-MA-PARENT-INTF-INITIATOR-DATA; - } - - container packet-trigger { - description "packet trigger information"; - uses IPSUB-MA-PARENT-INTF-INITIATOR-DATA; - } - } - - grouping IPSUB-MA-PARENT-INTF-DATA { - description "Parent interface data"; - - container initiators { - description - "Configurational state-statistics for each - initiating protocol enabled on this parent - interface"; - uses IPSUB-MA-PARENT-INTF-INITIATORS; - } - - container ipv6-initiators { - description - "Configurational state-statistics for each - initiating protocol enabled on this parent - interface for IPv6 session"; - uses IPSUB-MA-PARENT-INTF-INITIATORS; - } - - container session-limit { - description - "Configuration session limits for each session - limit source and type"; - uses IPSUB-MA-PARENT-INTF-SESSION-LIMIT-DATA; - } - leaf interface-creation-time { - type string; - description - "Interface creation time in Month Date HH:MM:SS - format"; - } - leaf age { - type string; - description "Age in HH:MM:SS format"; - } - leaf interface-type { - type string; - description "Interface Type"; - } - leaf state { - type Ipsub-ma-parent-intf-state-data; - description "Operational state of this interface"; - } - leaf ipv6-state { - type Ipsub-ma-parent-intf-state-data; - description "Operational ipv6 state of this interface"; - } - leaf vlan-type { - type Ipsub-ma-parent-intf-vlan; - description "The VLAN type on the access interface"; - } - } - - grouping VRF-DATA { - description "VRF details"; - leaf vrf-name { - type string; - description "VRF name"; - } - leaf table-name { - type string; - description "Table"; - } - } - - grouping IPSUB-MA-INTF-DATA { - description "Interface details"; - - container vrf { - description "IPv4 VRF details"; - uses VRF-DATA; - } - - container ipv6vrf { - description "IPv6 VRF details"; - uses VRF-DATA; - } - leaf access-interface { - type xr:Interface-name; - description - "Access interface through which this subscriber - is accessible"; - } - leaf subscriber-ipv4-address { - type inet:ipv4-address; - description "IPv4 Address of the subscriber"; - } - leaf subscriber-ipv6-address { - type string; - description "IPv6 Address of the subscriber"; - } - leaf subscriber-mac-addres { - type yang:mac-address; - description "MAC address of the subscriber"; - } - leaf subscriber-label { - type uint32; - description "Subscriber label for this subscriber interface"; - } - leaf interface-creation-time { - type string; - description - "Interface creation time in month day hh:mm:ss - format"; - } - leaf age { - type string; - description "Age in hh:mm:ss format"; - } - leaf initiator { - type Ipsub-ma-intf-initiator-data; - description - "Protocol trigger for creation of this subscriber - session"; - } - leaf state { - type Ipsub-ma-intf-state-data; - description "State of the subscriber session"; - } - leaf old-state { - type Ipsub-ma-intf-state-data; - description "Previous state of the subscriber session"; - } - leaf last-state-change-time { - type string; - description - "Interface's last state change time in month day - hh:mm:ss format"; - } - leaf current-change-age { - type string; - description "Current change age in hh:mm:ss format"; - } - leaf ipv6-initiator { - type Ipsub-ma-intf-initiator-data; - description - "Protocol trigger for creation of this - subscriber's IPv6 session"; - } - leaf ipv6-state { - type Ipsub-ma-intf-state-data; - description "State of the subscriber's IPv6 session"; - } - leaf ipv6-old-state { - type Ipsub-ma-intf-state-data; - description "Previous state of the subscriber's IPv6 session"; - } - leaf ipv6-last-state-change-time { - type string; - description - "Interface's IPV6 last state change time in month - day hh:mm:ss format"; - } - leaf ipv6-current-change-age { - type string; - description "IPV6 Current change age in hh:mm:ss format"; - } - leaf is-l2-connected { - type boolean; - description "True if L2 connected"; - } - leaf session-type { - type string; - description "Session Type"; - } - } - - grouping IPSUB-MA-INTF-VRF-SUMMARY-DATA { - description "IPSUB MA INTF VRF SUMMARY DATA"; - leaf vrf-name { - type string; - description "IPv4 VRF"; - } - leaf ipv6vrf-name { - type string; - description "IPv6 VRF"; - } - leaf interfaces { - type uint64; - description - "Number of IP subscriber interfaces in the VRF - table"; - } - leaf ipv6-interfaces { - type uint64; - description - "Number of IPv6 subscriber interfaces in the VRF - table"; - } - } - - grouping INTERFACE-COUNTS { - description "Interface state values"; - leaf invalid { - type uint32; - description "Invalid"; - } - leaf initialized { - type uint32; - description "Initialized"; - } - leaf session-creation-started { - type uint32; - description "Session creation started"; - } - leaf control-policy-executing { - type uint32; - description "Control policy executing"; - } - leaf control-policy-executed { - type uint32; - description "Control policy executed"; - } - leaf session-features-applied { - type uint32; - description "Session features applied"; - } - leaf vrf-configured { - type uint32; - description "VRF configured"; - } - leaf adding-adjacency { - type uint32; - description "Adding adjacency"; - } - leaf adjacency-added { - type uint32; - description "Adjacency added"; - } - leaf up { - type uint32; - description "Up"; - } - leaf down { - type uint32; - description "Down"; - } - leaf disconnecting { - type uint32; - description "Disconnecting"; - } - leaf disconnected { - type uint32; - description "Disconnected"; - } - leaf error { - type uint32; - description "Error"; - } - leaf total-interfaces { - type uint32; - description "Total number of interfaces in all states"; - } - } - - grouping INTF-INITIATOR-STATS { - description "Initiator statistics"; - - container dhcp { - description "DHCP"; - uses INTERFACE-COUNTS; - } - - container packet-trigger { - description "Packet trigger"; - uses INTERFACE-COUNTS; - } - } - - grouping INTF-INTITIATORS { - description "Initiators"; - - container initiators { - description "Initiators"; - uses INTF-INITIATOR-STATS; - } - - container ipv6-initiators { - description "IPv6 Initiators"; - uses INTF-INITIATOR-STATS; - } - } - - grouping IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA { - description "IPSUB MA PARENT INTF SUMMARY INITIATOR DATA"; - leaf fsol-packets { - type uint32; - description - "Number of first sign of life packets received - for initiating protocol"; - } - leaf fsol-bytes { - type uint32; - units "byte"; - description - "Number of first sign of life bytes received for - initiating protocol"; - } - } - - grouping IPSUB-MA-INITITATORS { - description "Initiators"; - - container dhcp { - description "DHCP summary statistics"; - uses IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA; - } - - container packet-trigger { - description "Packet trigger summary statistics"; - uses IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA; - } - } - - grouping IPSUB-MA-PARENT-INTF-SUMMARY { - description "Access interface summary statistics"; - - container initiators { - description "Summary counts per initiator"; - uses IPSUB-MA-INITITATORS; - } - - container ipv6-initiators { - description "Summary counts per initiator for ipv6 session"; - uses IPSUB-MA-INITITATORS; - } - leaf interfaces { - type uint32; - description - "Number of interfaces with subscriber - configuration"; - } - } - - grouping IPSUB-MA-INTF-SUMMARY-DATA { - description "Interface summary statistics"; - - container access-interface-summary { - description "Access interface summary statistics"; - uses IPSUB-MA-PARENT-INTF-SUMMARY; - } - - container interface-counts { - description "Initiator interface counts"; - uses INTF-INTITIATORS; - } - - list vrf { - description "Array of VRFs with IPSUB interfaces"; - uses IPSUB-MA-INTF-VRF-SUMMARY-DATA; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper.yang deleted file mode 100644 index fa9389d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-ipsub-oper.yang +++ /dev/null @@ -1,103 +0,0 @@ -module Cisco-IOS-XR-subscriber-ipsub-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-ipsub-oper"; - - - prefix "subscriber-ipsub-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-subscriber-ipsub-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-ipsub package operational data. - - This module contains definitions - for the following management objects: - ip-subscriber: IP subscriber operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container ip-subscriber { - config false; - description "IP subscriber operational data"; - - container nodes { - description - "IP subscriber operational data for a particular - location"; - - list node { - key "node-name"; - description "Location. For eg., 0/1/CPU0"; - - container summary { - description "IP subscriber interface summary"; - uses IPSUB-MA-INTF-SUMMARY-DATA; - } - - container interfaces { - description "IP subscriber interface table"; - - list interface { - key "interface-name"; - description "IP subscriber interface entry"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses IPSUB-MA-INTF-DATA; - } - } - - container access-interfaces { - description "IP subscriber access interface table"; - - list access-interface { - key "interface-name"; - description "IP subscriber access interface entry"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - uses IPSUB-MA-PARENT-INTF-DATA; - } - } - leaf node-name { - type xr:Node-id; - description "The node ID to filter on. For eg., 0/1/CPU0"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang deleted file mode 100644 index 186fe51..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg"; - - - prefix "subscriber-pppoe-ma-cmd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-pppoe-ma-cmd package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container pppoe { - description "Interface PPPoE configuration data"; - - container enable-bba-group { - presence "Indicates a enable-bba-group node is configured."; - description - "Use this BBA-Group to enable PPPoE on this - interface"; - leaf enable { - type boolean; - mandatory true; - description "Enable PPPoE on this interface"; - } - leaf bba-group-name { - type string; - description "Name of the BBA-Group"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang deleted file mode 100644 index f1382e4..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang +++ /dev/null @@ -1,893 +0,0 @@ -module Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg"; - - - prefix "subscriber-pppoe-ma-gbl-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-pppoe-ma-gbl package configuration. - - This module contains definitions - for the following management objects: - pppoe-cfg: PPPOE configuration data - - This YANG module augments the - Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pppoe-invalid-session-id-behavior { - type enumeration { - enum drop { - value 0; - description "Drop packets with an invalid session ID"; - } - enum log { - value 1; - description "Log packets with an invalid session ID"; - } - } - description "Pppoe invalid session id behavior"; - } - - container pppoe-cfg { - description "PPPOE configuration data"; - - container pppoe-bba-groups { - description "PPPoE BBA-Group configuration data"; - - list pppoe-bba-group { - key "bba-group"; - description "PPPoE BBA-Group configuration data"; - - container tag { - description "PPPoE tag configuration data"; - - container padr { - description "PADR packets"; - leaf session-unique-relay-session-id { - type empty; - description - "Allow sessions to come up with unique - relay-session-id in padr"; - } - leaf invalid-payload-allow { - type empty; - description - "Allow sessions to come up with - invalid-payload"; - } - } - - container service-name-configureds { - description "Service name"; - - list service-name-configured { - key "name"; - description "Service name supported on this group"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Service name"; - } - } - } - - container ppp-max-payload { - presence "Indicates a ppp-max-payload node is"+ - " configured."; - description "Minimum and maximum payloads"; - leaf min { - type uint32 { - range "500..2000"; - } - mandatory true; - description "Minimum payload"; - } - leaf max { - type uint32 { - range "500..2000"; - } - mandatory true; - description "Maximum payload"; - } - } - leaf ppp-max-payload-deny { - type empty; - description "Ignore the ppp-max-payload tag"; - } - leaf service-selection-disable { - type empty; - description - "Disable advertising of unrequested service - names"; - } - leaf ac-name { - type string; - description "The name to include in the AC tag"; - } - } - - container sessions { - description "PPPoE session configuration data"; - - container vlan-throttle { - presence "Indicates a vlan-throttle node is configured."; - description - "Set VLAN (inner + outer tags) session - throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container inner-vlan-throttle { - presence "Indicates a inner-vlan-throttle node is"+ - " configured."; - description "Set Inner VLAN session throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container remote-id-limit { - presence "Indicates a remote-id-limit node is"+ - " configured."; - description "Set Remote ID session limit and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-Remote ID limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-Remote ID threshold"; - } - } - - container mac-iwf-access-interface-throttle { - presence "Indicates a mac-iwf-access-interface-throttle"+ - " node is configured."; - description - "Set per-MAC/Access interface throttle for IWF - sessions"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container access-interface-limit { - presence "Indicates a access-interface-limit node is"+ - " configured."; - description "Set per-access interface limit"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-access interface session limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-access interface session threshold"; - } - } - - container mac-access-interface-throttle { - presence "Indicates a mac-access-interface-throttle"+ - " node is configured."; - description "Set per-MAC/Access Interface throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container outer-vlan-limit { - presence "Indicates a outer-vlan-limit node is"+ - " configured."; - description - "Set Outer VLAN session limit and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-Outer VLAN limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-Outer VLAN threshold"; - } - } - - container circuit-id-throttle { - presence "Indicates a circuit-id-throttle node is"+ - " configured."; - description "Set Circuit ID session throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container mac-limit { - presence "Indicates a mac-limit node is configured."; - description - "Set per-MAC address session limit and - threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-MAC session limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-MAC session threshold"; - } - } - - container circuit-id-limit { - presence "Indicates a circuit-id-limit node is"+ - " configured."; - description - "Set Circuit ID session limit and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-Circuit ID limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-Circuit ID threshold"; - } - } - - container mac-iwf-limit { - presence "Indicates a mac-iwf-limit node is configured."; - description - "Set per-MAC session limit and threshold for - IWF sessions"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-MAC session limit for IWF sessions"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description - "Per-MAC session threshold for IWF sessions"; - } - } - - container mac-iwf-access-interface-limit { - presence "Indicates a mac-iwf-access-interface-limit"+ - " node is configured."; - description - "Set per-MAC access interface session limit - and threshold for IWF sessions"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description - "Per-MAC access interface session limit for - IWF sessions"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description - "Per-MAC access interface session threshold - for IWF sessions"; - } - } - - container inner-vlan-limit { - presence "Indicates a inner-vlan-limit node is"+ - " configured."; - description - "Set Inner VLAN session limit and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-Inner VLAN limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-Inner VLAN threshold"; - } - } - - container outer-vlan-throttle { - presence "Indicates a outer-vlan-throttle node is"+ - " configured."; - description "Set Outer VLAN session throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container mac-throttle { - presence "Indicates a mac-throttle node is configured."; - description "Set per-MAC throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container circuit-id-and-remote-id-limit { - presence "Indicates a circuit-id-and-remote-id-limit"+ - " node is configured."; - description - "Set Circuit ID and Remote ID session - limit/threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-Circuit ID limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-Circuit ID threshold"; - } - } - - container vlan-limit { - presence "Indicates a vlan-limit node is configured."; - description - "Set VLAN (inner + outer tags) session limit - and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-VLAN (inner + outer tags) limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-VLAN (inner + outer tags) threshold"; - } - } - - container mac-access-interface-limit { - presence "Indicates a mac-access-interface-limit node"+ - " is configured."; - description - "Set per-MAC access interface session limit - and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-MAC access interface session limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description - "Per-MAC access interface session threshold"; - } - } - - container remote-id-throttle { - presence "Indicates a remote-id-throttle node is"+ - " configured."; - description "Set Remote ID session throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - - container max-limit { - presence "Indicates a max-limit node is configured."; - description "Set per-card session limit and threshold"; - leaf limit { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Per-card session limit"; - } - leaf threshold { - type uint32 { - range "1..65535"; - } - description "Per-card session threshold"; - } - } - - container circuit-id-and-remote-id-throttle { - presence "Indicates a circuit-id-and-remote-id-throttle"+ - " node is configured."; - description - "Set Circuit ID and Remote ID session throttle"; - leaf throttle { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Number of requests at which to throttle"; - } - leaf request-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle request period"; - } - leaf blocking-period { - type uint32 { - range "1..100"; - } - mandatory true; - description "Throttle blocking period"; - } - } - } - - container control-packets { - description "PPPoE control-packet configuration data"; - leaf priority { - type uint32 { - range "0..7"; - } - description - "Set the Priority to use for PPP and PPPoE - control packets"; - } - } - - container pa-do-delay { - description "PPPoE PADO delay configuration data"; - - container remote-id-substrings { - description - "Delay the PADO response when the received - Remote ID contains the given string"; - - list remote-id-substring { - key "name"; - description - "Delay the PADO response when the received - Remote ID contains the given string"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to be contained within the - received Remote ID"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - - container remote-id-strings { - description - "Delay the PADO response when there is an - exact match on the received Remote ID"; - - list remote-id-string { - key "name"; - description - "Delay the PADO response when there is an - exact match on the received Remote ID"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to exactly match the received - Remote ID"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - - container service-name-strings { - description - "Delay the PADO response when there is an - exact match on the received Service Name"; - - list service-name-string { - key "name"; - description - "Delay the PADO response when there is an - exact match on the received Service Name"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to exactly match the received - Service Name"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - - container circuit-id-substrings { - description - "Delay the PADO response when the received - Circuit ID contains the given string"; - - list circuit-id-substring { - key "name"; - description - "Delay the PADO response when the received - Circuit ID contains the given string"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to be contained within the - received Circuit ID"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - - container service-name-substrings { - description - "Delay the PADO response when the received - Service Name contains the given string"; - - list service-name-substring { - key "name"; - description - "Delay the PADO response when the received - Service Name contains the given string"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to be contained within the - received Service Name"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - - container circuit-id-strings { - description - "Delay the PADO response when there is an - exact match on the received Circuit ID"; - - list circuit-id-string { - key "name"; - description - "Delay the PADO response when there is an - exact match on the received Circuit ID"; - leaf name { - type xr:Cisco-ios-xr-string; - description - "The string to exactly match the received - Circuit ID"; - } - leaf delay { - type uint32 { - range "0..10000"; - } - units "millisecond"; - mandatory true; - description "PADO delay (in milliseconds)"; - } - } - } - leaf default { - type uint32 { - range "0..10000"; - } - units "millisecond"; - description "PADO delay (in milliseconds)"; - } - leaf circuit-id { - type uint32 { - range "0..10000"; - } - units "millisecond"; - description - "Configure PADO delay dependent on the - received Circuit ID"; - } - leaf remote-id { - type uint32 { - range "0..10000"; - } - units "millisecond"; - description - "Configure PADO delay dependent on the - received Remote ID"; - } - } - leaf completion-timeout { - type uint32 { - range "30..600"; - } - description "PPPoE session completion timeout"; - } - leaf invalid-session-id { - type Pppoe-invalid-session-id-behavior; - description "Invalid session-ID behavior"; - } - leaf enable-padt-after-shut-down { - type empty; - description "Enable padt after shutdown"; - } - leaf mtu { - type uint32 { - range "500..2000"; - } - description "PPPoE default MTU"; - } - leaf bba-group { - type xr:Cisco-ios-xr-string; - description "BBA-Group name"; - } - } - } - leaf session-id-space-flat { - type empty; - description "Disable per-parent session ID spaces"; - } - leaf in-flight-window { - type uint32 { - range "1..20000"; - } - description "Set the PPPoE in-flight window size"; - } - } - - augment "/a1:dynamic-template/a1:ppps/a1:ppp" { - - container pppoe-template { - description "PPPoE template configuration data"; - leaf port-limit { - type xr:Cisco-ios-xr-port-number; - description - "Specify the Port limit (attr 62) to apply to - the subscriber"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang deleted file mode 100644 index 5b7cefd..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang +++ /dev/null @@ -1,823 +0,0 @@ -submodule Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1 { - - belongs-to Cisco-IOS-XR-subscriber-pppoe-ma-oper { - prefix Cisco-IOS-XR-subscriber-pppoe-ma-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR subscriber-pppoe-ma package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Pppoe-ma-throttle-state { - type enumeration { - enum idle { - value 0; - description "Idle State"; - } - enum monitor { - value 1; - description "Monitor State"; - } - enum block { - value 2; - description "Block State"; - } - } - description "Pppoe ma throttle state"; - } - typedef Pppoe-ma-limit-state { - type enumeration { - enum ok { - value 0; - description "OK State"; - } - enum warning { - value 1; - description "Warn State"; - } - enum block { - value 2; - description "Block State"; - } - } - description "Pppoe ma limit state"; - } - typedef Pppoe-ma-session-idb-srg-state { - type enumeration { - enum none { - value 0; - description "SRG-None state"; - } - enum active { - value 1; - description "SRG-Active state"; - } - enum standby { - value 2; - description "SRG-Standby state"; - } - } - description "Pppoe ma session idb srg state"; - } - typedef Pppoe-ma-bag-optional-string { - type string; - description "String which may be optionally present."; - } - typedef Im-state { - type uint32; - description "Im state"; - } - - grouping PPPOE-MA-SUMMARY-TOTAL-INFO { - description "PPPoE MA Summary Total information"; - leaf ready-access-interfaces { - type uint32; - description "Ready Access Interface Count"; - } - leaf not-ready-access-interfaces { - type uint32; - description "Not Ready Access Interface Count"; - } - leaf complete-sessions { - type uint32; - description "Complete Session Count"; - } - leaf incomplete-sessions { - type uint32; - description "Incomplete Session Count"; - } - leaf flow-control-limit { - type uint32; - description "Flow Control credit limit"; - } - leaf flow-control-in-flight-sessions { - type uint32; - description "Flow Control In-Flight Count"; - } - leaf flow-control-dropped-sessions { - type uint64; - description "Flow Control Drop Count"; - } - leaf flow-control-disconnected-sessions { - type uint64; - description "Flow Control Disconnected Count"; - } - leaf flow-control-successful-sessions { - type uint64; - description - "Flow Control Success Count, sessions completing - call flow"; - } - leaf pppoema-subscriber-infra-flow-control { - type uint32; - description "PPPoEMASubscriberInfraFlowControl"; - } - } - - grouping PPPOE-MA-THROTTLE-CONFIG-SINGLE { - description "PPPoE MA Single Throttle Config Information"; - leaf limit { - type uint32; - description "Limit"; - } - leaf request-period { - type uint32; - description "Request Period"; - } - leaf blocking-period { - type uint32; - description "Blocking Period"; - } - } - - grouping PPPOE-MA-THROTTLE-CONFIG-INFO { - description "PPPoE MA Throttle Config Information"; - - container mac { - description "MAC"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container mac-access-interface { - description "MAC Access Interface"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container mac-iwf-access-interface { - description "MAC IWF Access Interface"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container circuit-id { - description "Circuit ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container remote-id { - description "Remote ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container circuit-id-and-remote-id { - description "Circuit ID and Remote ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container outer-vlan-id { - description "Outer VLAN ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container inner-vlan-id { - description "Inner VLAN ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - - container vlan-id { - description "VLAN ID"; - uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; - } - } - - grouping PPPOE-MA-THROTTLE-INFO { - description "PPPoE MA Throttle information"; - leaf state { - type Pppoe-ma-throttle-state; - description "State"; - } - leaf time-left { - type uint32; - units "second"; - description "Time left in seconds"; - } - leaf since-reset { - type uint32; - units "second"; - description "Number of seconds since counters reset"; - } - leaf padi-count { - type uint32; - description "PADI Count"; - } - leaf padr-count { - type uint32; - description "PADR Count"; - } - } - - grouping PPPOE-MA-LIMIT-INFO { - description "PPPoE MA Limit information"; - leaf state { - type Pppoe-ma-limit-state; - description "State"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf radius-override-set { - type int32; - description "Overridden limit has been set"; - } - leaf override-limit { - type uint32; - description "Overridden limit if set"; - } - } - - grouping PPPOE-MA-LIMIT-CONFIG-SINGLE { - description "PPPoE MA Single Limit Config information"; - leaf max-limit { - type uint32; - description "Max Limit"; - } - leaf threshold { - type uint32; - description "Threshold"; - } - leaf radius-override-enabled { - type int32; - description "Radius override is enabled"; - } - } - - grouping PPPOE-MA-LIMIT-CONFIG-INFO { - description "PPPoE MA Limit Configuration Information"; - - container card { - description "Card"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container access-intf { - description "Access Interface"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container mac { - description "MAC"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container mac-iwf { - description "MAC IWF"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container mac-access-interface { - description "MAC Access Interface"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container mac-iwf-access-interface { - description "MAC IWF Access Interface"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container circuit-id { - description "Circuit ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container remote-id { - description "Remote ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container circuit-id-and-remote-id { - description "Circuit ID and Remote ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container outer-vlan-id { - description "Outer VLAN ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container inner-vlan-id { - description "Inner VLAN ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - - container vlan-id { - description "VLAN ID"; - uses PPPOE-MA-LIMIT-CONFIG-SINGLE; - } - } - - grouping PPPOE-MA-TAGS-ALE-INFO { - description - "Access-Loop-Encapsulation tag. See RFC-4679 for - more detail"; - leaf data-link { - type uint8; - description "Data Link"; - } - leaf encaps1 { - type uint8; - description "Encaps 1"; - } - leaf encaps2 { - type uint8; - description "Encaps 2"; - } - } - - grouping PPPOE-MA-TAGS-INFO { - description "Tags information"; - - container access-loop-encapsulation { - description "Access Loop Encapsulation"; - uses PPPOE-MA-TAGS-ALE-INFO; - } - leaf service-name { - type Pppoe-ma-bag-optional-string; - description "Service Name"; - } - leaf max-payload { - type uint16; - description "Max Payload"; - } - leaf host-uniq { - type yang:hex-string; - description "Host Uniq"; - } - leaf relay-session-id { - type yang:hex-string; - description "Relay Session ID"; - } - leaf remote-id { - type Pppoe-ma-bag-optional-string; - description "Remote ID"; - } - leaf circuit-id { - type Pppoe-ma-bag-optional-string; - description "Circuit ID"; - } - leaf is-iwf { - type int32; - description "Is IWF"; - } - leaf dsl-actual-up { - type uint32; - description "DSL Actual Up"; - } - leaf dsl-actual-down { - type uint32; - description "DSL Actual Down"; - } - leaf dsl-min-up { - type uint32; - description "DSL Min Up"; - } - leaf dsl-min-down { - type uint32; - description "DSL Min Down"; - } - leaf dsl-attain-up { - type uint32; - description "DSL Attain Up"; - } - leaf dsl-attain-down { - type uint32; - description "DSL Attain Down"; - } - leaf dsl-max-up { - type uint32; - description "DSL Max Up"; - } - leaf dsl-max-down { - type uint32; - description "DSL Max Down"; - } - leaf dsl-min-up-low { - type uint32; - description "DSL Min Up Low"; - } - leaf dsl-min-down-low { - type uint32; - description "DSL Min Down Low"; - } - leaf dsl-max-delay-up { - type uint32; - description "DSL Max Delay Up"; - } - leaf dsl-actual-delay-up { - type uint32; - description "DSL Actual Delay Up"; - } - leaf dsl-max-delay-down { - type uint32; - description "DSL Max Delay Down"; - } - leaf dsl-actual-delay-down { - type uint32; - description "DSL Actual Delay Down"; - } - } - - grouping PPPOE-MA-INTERFACE-INFO { - description "PPPoE MA interface information"; - - container tags { - description "Tags"; - uses PPPOE-MA-TAGS-INFO; - } - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf access-interface-name { - type xr:Interface-name; - description "Access Interface"; - } - leaf bba-group-name { - type string; - description "BBA Group"; - } - leaf session-id { - type uint16; - description "Session ID"; - } - leaf local-mac-address { - type yang:mac-address; - description "Local Mac-Address"; - } - leaf peer-mac-address { - type yang:mac-address; - description "Peer Mac-Address"; - } - leaf is-complete { - type int32; - description "Is Complete"; - } - leaf vlan-outer-id { - type uint16; - description "VLAN Outer ID"; - } - leaf vlan-inner-id { - type uint16; - description "VLAN Inner ID"; - } - leaf srg-state { - type Pppoe-ma-session-idb-srg-state; - description "SRG state"; - } - } - - grouping PPPOE-MA-ACCESS-INTERFACE-INFO { - description "PPPoE MA Access interface information"; - leaf interface-name-xr { - type xr:Interface-name; - description "Interface"; - } - leaf interface-state { - type Im-state; - description "Interface State"; - } - leaf mac-address { - type yang:mac-address; - description "Mac Address"; - } - leaf bba-group-name { - type string; - description "BBA Group"; - } - leaf is-ready { - type int32; - description "Is Ready"; - } - leaf sessions { - type uint32; - description "Session Count"; - } - leaf incomplete-sessions { - type uint32; - description "Incomplete Session Count"; - } - } - - grouping PPPOE-MA-PACKET-ERROR-COUNTS { - description "PPPoE MA Packet Error Counts"; - leaf no-interface-handle { - type uint32; - description "No interface handle"; - } - leaf no-packet-payload { - type uint32; - description "No packet payload"; - } - leaf no-packet-mac-address { - type uint32; - description "No packet mac-address"; - } - leaf invalid-version-type-value { - type uint32; - description "Invalid version-type value"; - } - leaf bad-packet-length { - type uint32; - description "Bad packet length"; - } - leaf unknown-interface { - type uint32; - description "Unknown interface"; - } - leaf pado-received { - type uint32; - description "PADO received"; - } - leaf pads-received { - type uint32; - description "PADS received"; - } - leaf unknown-packet-type-received { - type uint32; - description "Unknown packet type received"; - } - leaf unexpected-session-id-in-packet { - type uint32; - description "Unexpected Session-ID in packet"; - } - leaf no-service-name-tag { - type uint32; - description "No Service-Name Tag"; - } - leaf padt-for-unknown-session { - type uint32; - description "PADT for unknown session"; - } - leaf padt-with-wrong-peer-mac { - type uint32; - description "PADT with wrong peer-mac"; - } - leaf padt-with-wrong-vlan-tags { - type uint32; - description "PADT with wrong VLAN tags"; - } - leaf zero-length-host-uniq { - type uint32; - description "Zero-length Host-Uniq tag"; - } - leaf padt-before-pads-sent { - type uint32; - description "PADT before PADS sent"; - } - leaf session-stage-packet-for-unknown-session { - type uint32; - description "Session-stage packet for unknown session"; - } - leaf session-stage-packet-with-wrong-mac { - type uint32; - description "Session-stage packet with wrong mac"; - } - leaf session-stage-packet-with-wrong-vlan-tags { - type uint32; - description "Session-stage packet with wrong VLAN tags"; - } - leaf session-stage-packet-with-no-error { - type uint32; - description "Session-stage packet with no error"; - } - leaf tag-too-short { - type uint32; - description "Tag too short"; - } - leaf bad-tag-length-field { - type uint32; - description "Bad tag-length field"; - } - leaf multiple-service-name-tags { - type uint32; - description "Multiple Service-Name tags"; - } - leaf multiple-max-payload-tags { - type uint32; - description "Multiple Max-Payload tags"; - } - leaf invalid-max-payload-tag { - type uint32; - description "Invalid Max-Payload tag"; - } - leaf multiple-vendor-specific-tags { - type uint32; - description "Multiple Vendor-specific tags"; - } - leaf unexpected-ac-name-tag { - type uint32; - description "Unexpected AC-Name tag"; - } - leaf unexpected-error-tags { - type uint32; - description "Unexpected error tags"; - } - leaf unknown-tag-received { - type uint32; - description "Unknown tag received"; - } - leaf no-iana-code-invendor-tag { - type uint32; - description "No IANA code in vendor tag"; - } - leaf invalid-iana-code-invendor-tag { - type uint32; - description "Invalid IANA code in vendor tag"; - } - leaf vendor-tag-too-short { - type uint32; - description "Vendor tag too short"; - } - leaf bad-vendor-tag-length-field { - type uint32; - description "Bad vendor tag length field"; - } - leaf multiple-host-uniq-tags { - type uint32; - description "Multiple Host-Uniq tags"; - } - leaf multiple-relay-session-id-tags { - type uint32; - description "Multiple relay-session-id tags"; - } - leaf multiple-circuit-id-tags { - type uint32; - description "Multiple Circuit-ID tags"; - } - leaf multiple-remote-id-tags { - type uint32; - description "Multiple Remote-ID tags"; - } - leaf invalid-dsl-tag { - type uint32; - description "Invalid DSL tag"; - } - leaf multiple-of-the-same-dsl-tag { - type uint32; - description "Multiple of the same DSL tag"; - } - leaf invalid-iwf-tag { - type uint32; - description "Invalid IWF tag"; - } - leaf multiple-iwf-tags { - type uint32; - description "Multiple IWF tags"; - } - leaf unknownvendor-tag { - type uint32; - description "Unknown vendor-tag"; - } - leaf no-space-left-in-packet { - type uint32; - description "No space left in packet"; - } - leaf duplicate-host-uniq-tag-received { - type uint32; - description "Duplicate Host-Uniq tag received"; - } - leaf duplicate-relay-session-id-tag-received { - type uint32; - description "Duplicate Relay Session ID tag received"; - } - leaf packet-too-long { - type uint32; - description "Packet too long"; - } - leaf invalid-ale-tag { - type uint32; - description "Invalid ALE tag"; - } - leaf multiple-ale-tags { - type uint32; - description "Multiple ALE tags"; - } - leaf invalid-service-name { - type uint32; - description "Invalid Service Name"; - } - leaf invalid-peer-mac { - type uint32; - description "Invalid Peer MAC"; - } - leaf invalid-vlan-tags { - type uint32; - description "Invalid VLAN Tags"; - } - leaf packet-on-srg-slave { - type uint32; - description "Packet Received on SRG Slave"; - } - } - - grouping PPPOE-MA-TOTAL-STATS-INFO { - description "PPPoE MA Total Statistics Information"; - - container packet-counts { - description "Packet Counts"; - uses PPPOE-MA-PACKET-COUNTS; - } - - container packet-error-counts { - description "Packet Error Counts"; - uses PPPOE-MA-PACKET-ERROR-COUNTS; - } - } - - grouping PPPOE-MA-PACKET-TYPE-COUNTS { - description "PPPoE MA Packet type counts"; - leaf sent { - type uint32; - description "Sent"; - } - leaf received { - type uint32; - description "Received"; - } - leaf dropped { - type uint32; - description "Dropped"; - } - } - - grouping PPPOE-MA-PACKET-COUNTS { - description "PPPoE MA Packet Counts"; - - container padi { - description "PADI counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container pado { - description "PADO counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container padr { - description "PADR counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container pads-success { - description "PADS Success counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container pads-error { - description "PADS Error counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container padt { - description "PADT counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container session-state { - description "Session Stage counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - - container other { - description "Other counts"; - uses PPPOE-MA-PACKET-TYPE-COUNTS; - } - } - - grouping PPPOE-MA-ACCESS-INTERFACE-STATS-INFO { - description "PPPoE MA Access Interface Statistics Information"; - - container packet-counts { - description "Packet Counts"; - uses PPPOE-MA-PACKET-COUNTS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang deleted file mode 100644 index 934b25d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang +++ /dev/null @@ -1,238 +0,0 @@ -module Cisco-IOS-XR-subscriber-pppoe-ma-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-pppoe-ma-oper"; - - - prefix "subscriber-pppoe-ma-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-pppoe-ma package operational data. - - This module contains definitions - for the following management objects: - pppoe: PPPoE operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container pppoe { - config false; - description "PPPoE operational data"; - - container access-interface-statistics { - description "PPPoE access interface statistics information"; - - list access-interface-statistic { - key "interface-name"; - description - "Statistics information for a PPPoE-enabled - access interface"; - leaf interface-name { - type xr:Interface-name; - description "PPPoE Access Interface"; - } - uses PPPOE-MA-ACCESS-INTERFACE-STATS-INFO; - } - } - - container nodes { - description "Per-node PPPoE operational data"; - - list node { - key "node-name"; - description "PPPoE operational data for a particular node"; - - container statistics { - description "PPPoE statistics for a given node"; - uses PPPOE-MA-TOTAL-STATS-INFO; - } - - container access-interface { - description "PPPoE access interface information"; - - container summaries { - description - "PPPoE access interface summary information"; - - list summary { - key "interface-name"; - description - "Summary information for a PPPoE-enabled - access interface"; - leaf interface-name { - type xr:Interface-name; - description "PPPoE Access Interface"; - } - uses PPPOE-MA-ACCESS-INTERFACE-INFO; - } - } - } - - container interfaces { - description "Per interface PPPoE operational data"; - - list interface { - key "interface-name"; - description "Data for a PPPoE interface"; - leaf interface-name { - type xr:Interface-name; - description "PPPoE Interface"; - } - uses PPPOE-MA-INTERFACE-INFO; - } - } - - container bba-groups { - description "PPPoE BBA-Group information"; - - list bba-group { - key "bba-group-name"; - description "PPPoE BBA-Group information"; - - container limit-config { - description - "BBA-Group limit configuration information"; - uses PPPOE-MA-LIMIT-CONFIG-INFO; - } - - container limits { - description "PPPoE session limit information"; - - list limit { - description "PPPoE session limit state"; - leaf interface-name { - type xr:Interface-name; - description "Access Interface"; - } - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf iwf { - type boolean; - description "IWF flag"; - } - leaf circuit-id { - type xr:Cisco-ios-xr-string; - description "Circuit ID"; - } - leaf remote-id { - type xr:Cisco-ios-xr-string; - description "Remote ID"; - } - leaf outer-vlan-id { - type uint32 { - range "0..4095"; - } - description "Outer VLAN ID"; - } - leaf inner-vlan-id { - type uint32 { - range "0..4095"; - } - description "Inner VLAN ID"; - } - uses PPPOE-MA-LIMIT-INFO; - } - } - - container throttles { - description "PPPoE throttle information"; - - list throttle { - description "PPPoE session throttle state"; - leaf interface-name { - type xr:Interface-name; - description "Access Interface"; - } - leaf mac-address { - type yang:mac-address; - description "MAC address"; - } - leaf iwf { - type boolean; - description "IWF flag"; - } - leaf circuit-id { - type xr:Cisco-ios-xr-string; - description "Circuit ID"; - } - leaf remote-id { - type xr:Cisco-ios-xr-string; - description "Remote ID"; - } - leaf outer-vlan-id { - type uint32 { - range "0..4095"; - } - description "Outer VLAN ID"; - } - leaf inner-vlan-id { - type uint32 { - range "0..4095"; - } - description "Inner VLAN ID"; - } - uses PPPOE-MA-THROTTLE-INFO; - } - } - - container throttle-config { - description - "BBA-Group throttle configuration information"; - uses PPPOE-MA-THROTTLE-CONFIG-INFO; - } - leaf bba-group-name { - type xr:Cisco-ios-xr-string; - description "BBA Group"; - } - } - } - - container summary-total { - description "PPPoE statistics for a given node"; - uses PPPOE-MA-SUMMARY-TOTAL-INFO; - } - leaf node-name { - type xr:Node-id; - description "Node"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang deleted file mode 100644 index 3a15689..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang +++ /dev/null @@ -1,213 +0,0 @@ -module Cisco-IOS-XR-subscriber-session-mon-mibs-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg"; - - - prefix "subscriber-session-mon-mibs-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-session-mon-mibs package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NODE-TABLE { - description - "Common node of rising, falling, percent, - evaluation"; - - container nodes { - description "Table of Node"; - - list node { - key "node-name"; - description "Rising node level"; - leaf session-count { - type uint32 { - range "1..4294967294"; - } - description "Session count"; - } - leaf interval { - type uint32 { - range "30..3600"; - } - description "interval value in multiples of 10"; - } - leaf node-name { - type xr:Node-id; - description "location"; - } - } - } - } - - grouping ACCESS-INTERFACE-TABLE { - description - "Common node of rising, falling, percent, - evaluation"; - - container access-interfaces { - description "Table of AccessInterface"; - - list access-interface { - key "interface-name"; - description "Access interface"; - leaf session-count { - type uint32 { - range "1..4294967294"; - } - description "Session count"; - } - leaf interval { - type uint32 { - range "30..3600"; - } - description "Interval value in multiples of 10"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - } - } - - augment "/a1:mib" { - - container subscriber { - description "Subscriber threshold commands"; - - container threshold { - description "Subscriber threshold commands"; - - container delta { - description "Delta loss keyword"; - - container evaluation { - description "Evaluation keyword"; - uses ACCESS-INTERFACE-TABLE; - uses NODE-TABLE; - } - - container percent { - description "Delta loss percent"; - uses ACCESS-INTERFACE-TABLE; - uses NODE-TABLE; - } - } - - container access-interface-sub { - description "Access interface for regular expression"; - - container subsets { - description "Table of Subset"; - - list subset { - key "subset-id"; - description "Subset command"; - - container regular-expression { - description "Regular expression"; - - container notification { - description "Notification keyword"; - - container rising-falling { - description "Rising-falling threshold"; - leaf disable { - type string; - description - "Disable the notifications on access - interfaces"; - } - } - } - } - leaf subset-id { - type uint32 { - range "1..255"; - } - description "Subset number"; - } - } - } - } - - container falling { - description "Falling threshold"; - uses ACCESS-INTERFACE-TABLE; - uses NODE-TABLE; - } - - container rising { - description "Rising threshold"; - uses ACCESS-INTERFACE-TABLE; - uses NODE-TABLE; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } - - augment "/a1:snmp/a1:notification" { - - container subscriber-mib { - description "Subscriber notification commands"; - - container session-aggregate { - description "Session aggregation"; - leaf node { - type empty; - description "Subscriber notification at node level"; - } - leaf access-interface { - type empty; - description - "Subscriber notification at access interface - level"; - } - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang deleted file mode 100644 index 1d22d07..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang +++ /dev/null @@ -1,92 +0,0 @@ -submodule Cisco-IOS-XR-subscriber-session-mon-oper-sub1 { - - belongs-to Cisco-IOS-XR-subscriber-session-mon-oper { - prefix Cisco-IOS-XR-subscriber-session-mon-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR subscriber-session-mon package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SHOW-SESSIONMON-STAT { - description "show session_mon statistics"; - leaf total { - type uint32; - description "total"; - } - leaf pppoe { - type uint32; - description "pppoe"; - } - leaf pppoe-ds { - type uint32; - description "pppoe ds"; - } - leaf dhcpv4 { - type uint32; - description "dhcpv4"; - } - leaf dhcpv6 { - type uint32; - description "dhcpv6"; - } - leaf dhcp-ds { - type uint32; - description "dhcp ds"; - } - leaf ippkt { - type uint32; - description "ippkt"; - } - leaf active-sessions { - type uint32; - description "active sessions"; - } - leaf standby-sessions { - type uint32; - description "standby sessions"; - } - leaf peak-active-sessions { - type uint32; - description "peak active sessions"; - } - leaf peak-standby-sessions { - type uint32; - description "peak standby sessions"; - } - leaf peak-start-time { - type uint32; - description "peak start time"; - } - leaf timeout-value { - type uint32; - description "timeout value"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper.yang deleted file mode 100644 index 53abb7e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-session-mon-oper.yang +++ /dev/null @@ -1,94 +0,0 @@ -module Cisco-IOS-XR-subscriber-session-mon-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-session-mon-oper"; - - - prefix "subscriber-session-mon-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-subscriber-session-mon-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-session-mon package operational data. - - This module contains definitions - for the following management objects: - session-mon: Sessionmon - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container session-mon { - config false; - description "Sessionmon"; - - container nodes { - description "Subscriber Sessionmon list of nodes"; - - list node { - key "node-id"; - description - "Subscriber sessionmon operational data for a - particular node"; - - container session-mon-statistics { - description "Session Mon Statistics"; - uses SHOW-SESSIONMON-STAT; - } - - container interface-all-statistics { - description "Statistics Table"; - - list interface-all-statistic { - key "interface-name"; - description "Statistics"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses SHOW-SESSIONMON-STAT; - } - } - - container license-statistics { - description "Smart license"; - uses SHOW-SESSIONMON-STAT; - } - leaf node-id { - type xr:Node-id; - description "Nodeid location "; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-cfg.yang deleted file mode 100644 index 8e847a2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-cfg.yang +++ /dev/null @@ -1,443 +0,0 @@ -module Cisco-IOS-XR-subscriber-srg-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-subscriber-srg-cfg"; - - - prefix "subscriber-srg-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-srg package configuration. - - This module contains definitions - for the following management objects: - subscriber-redundancy: Subscriber Redundancy configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Subscriber-redundancy-group-slave-mode { - type enumeration { - enum warm { - value 1; - description "Warm Mode"; - } - enum hot { - value 2; - description "Hot Mode"; - } - } - description "Subscriber redundancy group slave mode"; - } - typedef Subscriber-redundancy-group-role { - type enumeration { - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "Subscriber redundancy group role"; - } - typedef Srg-addr-family { - type enumeration { - enum ipv4 { - value 2; - description "IPv4"; - } - enum ipv6 { - value 10; - description "IPv6"; - } - } - description "Srg addr family"; - } - - container subscriber-redundancy { - description "Subscriber Redundancy configuration"; - - container groups { - description "Table of Group"; - - list group { - key "group-id"; - description "Redundancy Group configuration"; - - container interface-list { - description "List of Interfaces for this Group"; - - container interfaces { - description "Table of Interface"; - - list interface { - key "interface-name"; - description "Interface for this Group"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf interface-id { - type uint32 { - range "1..65535"; - } - mandatory true; - description "Interface Id for the interface"; - } - } - } - - container interface-ranges { - description "Table of InterfaceRange"; - - list interface-range { - key "interface-name sub-interface-range-start"+ - " sub-interface-range-end"; - description "Interface for this Group"; - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - leaf sub-interface-range-start { - type uint32 { - range "0..2147483647"; - } - description "Sub Interface Start Range"; - } - leaf sub-interface-range-end { - type uint32 { - range "0..2147483647"; - } - description "Sub Interface End Range"; - } - leaf interface-id-range-start { - type uint32 { - range "1..65535"; - } - description "Interface ID Start Range"; - } - leaf interface-id-range-end { - type uint32 { - range "1..65535"; - } - description "Interface ID End Range"; - } - } - } - leaf enable { - type empty; - description - "Enable List of Interfaces for this Group. - Deletion of this object also causes deletion - of all associated objects under InterfaceList - ."; - } - } - - container peer { - description "None"; - - container ipaddress { - description "IPv4 or IPv6 Address of SRG Peer"; - leaf address-family { - type Srg-addr-family; - description "Type of IPv4/IPv6 address"; - } - leaf prefix-string { - type inet:ip-address-no-zone; - description "IPv4/IPv6 address"; - } - } - leaf route-add-disable { - type empty; - description "Set Route add disable"; - } - } - - container revertive-timer { - description "None"; - leaf max-value { - type uint32 { - range "1..65535"; - } - description "Value of MAX Revertive Timer"; - } - leaf value { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Value of revertive time in minutes"; - } - } - - container virtual-mac { - description "Virtual MAC Address for this Group"; - leaf address { - type yang:mac-address; - description "Virtual MAC Address for this Group"; - } - leaf disable { - type empty; - description - "Disable Virtual MAC Address for this Group"; - } - } - - container state-control-route { - description "None"; - - container ipv4-routes { - description "Table of IPv4Route"; - - list ipv4-route { - must "ipv4-route-data or vrfname" { - description - "ipv4-route-data or vrfname must be present."; - } - key "prefix-string prefix-length"; - description "None"; - - grouping IPV4-ROUTE-CONTENT { - description "Content grouping."; - leaf tagvalue { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Tag value"; - } - } - - container ipv4-route-data { - description "Data container."; - uses IPV4-ROUTE-CONTENT; - } - leaf prefix-length { - type int32; - description "Prefix of the IP Address"; - } - leaf prefix-string { - type inet:ip-address-no-zone; - description "IPv4 address with prefix-length"; - } - - list vrfname { - key "vrfname"; - description "keys: vrfname"; - leaf vrfname { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - uses IPV4-ROUTE-CONTENT; - } - } - } - - container ipv6-route { - description "None"; - - container ipv6na-routes { - description "Table of IPv6NARoute"; - - list ipv6na-route { - key "vrfname prefix-length prefix-string"; - description "None"; - leaf vrfname { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf prefix-length { - type int32; - description "Prefix of the IP Address"; - } - leaf prefix-string { - type inet:ip-address-no-zone; - description "IPv6 address with prefix-length"; - } - leaf tagvalue { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Tag value"; - } - } - } - - container ipv6pd-routes { - description "Table of IPv6PDRoute"; - - list ipv6pd-route { - key "vrfname prefix-length prefix-string"; - description "None"; - leaf vrfname { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf prefix-length { - type int32; - description "Prefix of the IP Address"; - } - leaf prefix-string { - type inet:ip-address-no-zone; - description "IPv6 address with prefix-length"; - } - leaf tagvalue { - type uint32 { - range "1..4294967295"; - } - mandatory true; - description "Tag value"; - } - } - } - } - } - leaf disable-tracking-object { - type empty; - description "Disable Tracking Object for this Group"; - } - leaf core-tracking-object { - type string; - description "Core Tracking Object for this Group"; - } - leaf enable { - type empty; - description - "Enable Redundancy Group configuration. - Deletion of this object also causes deletion - of all associated objects under Group."; - } - leaf preferred-role { - type Subscriber-redundancy-group-role; - description "Set preferred role"; - } - leaf description { - type string; - description "Description for this Group"; - } - leaf l2tp-source-ip-address { - type inet:ipv4-address-no-zone; - description "Enter an IP address"; - } - leaf slave-mode { - type Subscriber-redundancy-group-slave-mode; - description "Set Slave Mode"; - } - leaf hold-timer { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Set hold time (in Minutes)"; - } - leaf access-tracking-object { - type string; - description "Access Tracking Object for this Group"; - } - leaf enable-fast-switchover { - type empty; - description "Enable fast switchover for this Group"; - } - leaf redundancy-disable { - type empty; - description "Disable"; - } - leaf group-id { - type uint32 { - range "1..500"; - } - description "Group ID"; - } - } - } - - container revertive-timer { - description "None"; - leaf max-value { - type uint32 { - range "1..65535"; - } - description "Value of MAX Revertive Timer"; - } - leaf value { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Value of revertive time in minutes"; - } - } - leaf enable { - type empty; - description - "Enable Subscriber Redundancy configuration. - Deletion of this object also causes deletion of - all associated objects under - SubscriberRedundancy."; - } - leaf virtual-mac-prefix { - type yang:mac-address; - description "Virtual MAC Prefix for Subscriber Redundancy"; - } - leaf preferred-role { - type Subscriber-redundancy-group-role; - description "Set preferred role"; - } - leaf source-interface { - type xr:Interface-name; - description - "Source Interface for Redundancy Peer - Communication"; - } - leaf slave-mode { - type Subscriber-redundancy-group-slave-mode; - description "Set slave"; - } - leaf hold-timer { - type uint32 { - range "1..65535"; - } - units "minute"; - description "Set hold time (in Minutes)"; - } - leaf redundancy-disable { - type empty; - description "Disable"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang deleted file mode 100644 index 0915bc3..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang +++ /dev/null @@ -1,862 +0,0 @@ -submodule Cisco-IOS-XR-subscriber-srg-oper-sub1 { - - belongs-to Cisco-IOS-XR-subscriber-srg-oper { - prefix Cisco-IOS-XR-subscriber-srg-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR subscriber-srg package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Srg-show-so-reason { - type enumeration { - enum internal { - value 0; - description "SwitchOver for Internal Reason"; - } - enum admin { - value 1; - description "SwitchOver for Admin"; - } - enum peer-up { - value 2; - description "SwitchOver for Peer UP"; - } - enum peer-down { - value 3; - description "SwitchOver for Peer Down"; - } - enum object-tracking-status-change { - value 4; - description "SwitchOver for Object Tracking status change"; - } - enum srg-show-so-reason-max { - value 5; - description "Unknown Switchover Reason"; - } - } - description "Subscriber Redundancy Switchover Reason"; - } - typedef Srg-peer-status { - type enumeration { - enum not-configured { - value 0; - description "Peer not configured"; - } - enum initialize { - value 1; - description "Peer initialization"; - } - enum retry { - value 2; - description "Peer retry pending"; - } - enum connect { - value 3; - description "Connection in Progress"; - } - enum listen { - value 4; - description "Listening in Progress"; - } - enum registration { - value 5; - description "Awaiting Registration from Peer"; - } - enum cleanup { - value 6; - description "Peer cleanup in progress"; - } - enum connected { - value 7; - description "Peer Connected"; - } - enum established { - value 8; - description "Peer Established"; - } - } - description "SRG Peer Status"; - } - typedef Srg-show-session-error { - type enumeration { - enum none { - value 0; - description "Invalid Error"; - } - enum hard { - value 1; - description "Hard Error"; - } - enum soft { - value 2; - description "Soft Error"; - } - } - description "SRG Session Error Operation"; - } - typedef Srg-show-session-operation { - type enumeration { - enum none { - value 0; - description "No Operation"; - } - enum update { - value 1; - description "SRG Session Update Operation"; - } - enum delete { - value 2; - description "SRG Session Delete Operation"; - } - enum in-sync { - value 3; - description "SRG Session In Sync"; - } - } - description "SRG Session Operation"; - } - typedef Srg-show-comp { - type enumeration { - enum srga { - value 0; - description "SRG Agent"; - } - enum dhcpv4 { - value 1; - description "DHCPv4"; - } - enum dhcpv6 { - value 2; - description "DHCPv6"; - } - enum pppoe { - value 3; - description "PPPoE"; - } - enum ppp { - value 4; - description "PPP"; - } - enum l2tp { - value 5; - description "L2TP"; - } - enum iedge { - value 6; - description "iEdge"; - } - } - description "SRG Components"; - } - typedef Srg-show-slave-mode { - type enumeration { - enum none { - value 0; - description "Not Configured"; - } - enum warm { - value 1; - description "Warm Modem"; - } - enum hot { - value 2; - description "Hot Mode"; - } - } - description "SRG Slave Mode"; - } - typedef Srg-show-role { - type enumeration { - enum none { - value 0; - description "Not Configured"; - } - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "SRG Role"; - } - typedef Srg-show-im-role { - type enumeration { - enum none { - value 0; - description "Not Determined"; - } - enum master { - value 1; - description "Master Role"; - } - enum slave { - value 2; - description "Slave Role"; - } - } - description "SRG Interface Management Role"; - } - - grouping SRG-SHOW-GROUP-INTF-INFO { - description - "Subscriber Redundancy Group Interface-List - Information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-synchronization-id { - type uint32; - description "Interface Synchronization ID"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - } - - grouping SRG-SHOW-GROUP-ENTRY { - description "Subscriber Redundancy Group Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf description { - type string; - description "Group Description"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf init-role { - type Srg-show-role; - description "Preferred Init Role"; - } - leaf negotiating-role { - type Srg-show-role; - description "Negotiating Role"; - } - leaf current-role { - type Srg-show-role; - description "Current Role"; - } - leaf slave-mode { - type Srg-show-slave-mode; - description "Slave Mode"; - } - leaf hold-timer { - type uint32; - description "Switch Over Hold Time"; - } - leaf virtual-mac-address { - type string; - description "Virtual MAC Address"; - } - leaf virtual-mac-address-disable { - type boolean; - description "Virtual MAC Address Disable"; - } - leaf l2tp-source-ip { - type inet:ipv4-address; - description "L2TP Souce IP Address"; - } - leaf core-tracking-object-name { - type string; - description "Core Object Tracking Name"; - } - leaf core-tracking-object-status { - type boolean; - description "Core Object Tracking Status"; - } - leaf access-tracking-object-name { - type string; - description "Access Object Tracking Name"; - } - leaf access-tracking-object-status { - type boolean; - description "Access Object Tracking Status"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf peer-status { - type Srg-peer-status; - description "Peer Status"; - } - leaf peer-last-negotiation-time { - type string; - description "Last Negotiation time of Peer"; - } - leaf peer-last-up-time { - type string; - description "Last UP time of Peer"; - } - leaf peer-last-down-time { - type string; - description "Last Down time of Peer"; - } - leaf peer-init-role { - type Srg-show-role; - description "Peer Preferred Init Role"; - } - leaf peer-negotiating-role { - type Srg-show-role; - description "Peer Negotiating Role"; - } - leaf peer-current-role { - type Srg-show-role; - description "Peer Current Role"; - } - leaf peer-object-tracking-status { - type boolean; - description "Peer Object Tracking Status"; - } - leaf last-switchover-time { - type string; - description "Last Switchover time"; - } - leaf switchover-count { - type uint32; - description "Switchover Count"; - } - leaf last-switchover-reason { - type Srg-show-so-reason; - description "Last Switchover Reason"; - } - leaf switchover-hold-time { - type uint32; - units "second"; - description "Switchover Hold Time in seconds"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf slave-update-failure-count { - type uint32; - description "Slave Session update fail count"; - } - leaf tunnel-count { - type uint32; - description "Tunnel Count"; - } - leaf pending-session-update-count { - type uint32; - description "Pending Session Update Count"; - } - leaf pending-session-delete-count { - type uint32; - description "Pending Session Delete Count"; - } - leaf interface-count { - type uint32; - description "No. of Configured Interfaces"; - } - leaf revertive-timer { - type uint32; - description "Revertive timer for SWO back"; - } - leaf switchover-revert-time { - type uint32; - units "second"; - description "Switchover Revert Time in seconds"; - } - - list interface { - description "Interface List"; - uses SRG-SHOW-GROUP-INTF-INFO; - } - } - - grouping SRG-AGT-SHOW-GROUP-LIST-ENTRY { - description - "Subscriber Redundancy Agent Group Summary - Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf role { - type Srg-show-im-role; - description "SRG Role"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf peer-status { - type Srg-peer-status; - description "Peer Status"; - } - leaf preferred-role { - type Srg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Srg-show-slave-mode; - description "Slave Mode"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf interface-count { - type uint32; - description "Interface Count"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf pending-add-session-count { - type uint32; - description "Pending Session Count for Synchornization"; - } - } - - grouping SRG-SHOW-AGT-INTF-CLIENT-STATUS { - description "srg show agt intf client status"; - leaf component { - type Srg-show-comp; - description "Component"; - } - leaf srg-show-idb-client-eoms-pending { - type boolean; - description "SRG SHOW IDB CLIENT EOMS PENDING"; - } - leaf srg-show-idb-client-sync-eod-pending { - type boolean; - description "SRG SHOW IDB CLIENT SYNC EOD PENDING"; - } - leaf session-count { - type uint32; - description "session count"; - } - } - - grouping SRG-SHOW-INTF-STATUS { - description "Subscriber Redundancy Interface Status"; - leaf idb-state-fwd-ref { - type boolean; - description "Interface Forward Referenced"; - } - leaf idb-state-stale { - type boolean; - description "Interface State Stale"; - } - leaf idb-state-registered { - type boolean; - description "Interface State Registered"; - } - leaf idb-state-caps-added { - type boolean; - description "Interface State Caps Added"; - } - leaf idb-state-owned-re-source { - type boolean; - description "Interface State Owned Resource"; - } - leaf idb-client-eoms-pending { - type boolean; - description "Interface Client EOMS Pending"; - } - leaf idb-state-p-end-caps-rem { - type boolean; - description "Interface Caps Remove Pending"; - } - leaf idb-state-p-end-reg-disable { - type boolean; - description "Interface Registration Disable Pending"; - } - } - - grouping SRG-SHOW-INTF-OPER { - description - "Subscriber Redundancy Interface Operational - Status"; - leaf idb-oper-reg-enable { - type boolean; - description "Operational Registration Enabled"; - } - leaf idb-oper-reg-disable { - type boolean; - description "Operational Registration Disabled"; - } - leaf idb-oper-caps-add { - type boolean; - description "Operational Caps Add"; - } - leaf idb-oper-caps-remove { - type boolean; - description "Operational Caps Remove"; - } - leaf idb-oper-attr-update { - type boolean; - description "Operational Attribute Update"; - } - } - - grouping SRG-SHOW-AGT-INTF-ENTRY { - description "Subscriber Redundancy Agent Interface Information"; - - container interface-oper { - description "Interface Batch Operation"; - uses SRG-SHOW-INTF-OPER; - } - - container interface-status { - description "Interface Status"; - uses SRG-SHOW-INTF-STATUS; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-synchronization-id { - type uint32; - description "Interface Sync ID"; - } - leaf group-id { - type uint32; - description "Group ID"; - } - leaf role { - type Srg-show-im-role; - description "SRG Role"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf session-count { - type uint32; - description "Session Count"; - } - leaf interface-enable-error-count { - type uint32; - description "Interface Enable Error Count"; - } - leaf interface-disable-error-count { - type uint32; - description "Interface Disable Error Count"; - } - leaf interface-caps-add-error-count { - type uint32; - description "Interface Caps Add Error Count"; - } - leaf interface-caps-remove-error-count { - type uint32; - description "Interface Caps Remove Error Count"; - } - leaf interface-attribute-update-error-count { - type uint32; - description "Interface Attribute Update Error Count"; - } - - list client-status { - description "Interface status for each client"; - uses SRG-SHOW-AGT-INTF-CLIENT-STATUS; - } - } - - grouping SRG-SHOW-SESSION-ERROR-INFO { - description - "Subscriber Redundancy Session Verbose Client - Error Information"; - leaf sync-error-count { - type uint16; - description "No. of Errors occured during Synchronization"; - } - leaf last-error-code { - type uint32; - description "Last Error Code"; - } - leaf last-error-type { - type Srg-show-session-error; - description "Last Error Type"; - } - } - - grouping SRG-SHOW-SESSION-CLIENT { - description - "Subscriber Redundancy Session Verbose Client - Information"; - leaf component { - type Srg-show-comp; - description "Component"; - } - leaf operation { - type Srg-show-session-operation; - description "Operation Code"; - } - leaf tx-list-queue-fail { - type boolean; - description "Tx List Queue Failed"; - } - leaf marked-for-sweeping { - type boolean; - description "Marked For Sweeping"; - } - leaf marked-for-cleanup { - type boolean; - description "Marked For Cleanup"; - } - } - - grouping SRG-SHOW-SESSION-ENTRY { - description "Subscriber Redundancy Session Information"; - leaf group-id-xr { - type uint32; - description "Group ID"; - } - leaf interface-name { - type string; - description "Interface Name"; - } - leaf outer-vlan { - type uint32; - description "Outer VLAN Information"; - } - leaf inner-vlan { - type uint32; - description "Inner VLAN Information"; - } - leaf session-mac-address { - type string; - description "Session MAC Address"; - } - leaf pppoe-session-id { - type uint16; - description "PPPoE Session ID"; - } - leaf l2tp-tunnel-id { - type uint32; - description "L2TP Tunnel local ID"; - } - leaf role-master { - type boolean; - description "Master Role is Set"; - } - leaf valid-mac-address { - type boolean; - description "Holds a Valid MAC Address"; - } - leaf negative-acknowledgement-update-all { - type boolean; - description "Negative Acknowledgement Update Flag is Set"; - } - - list session-detailed-information { - description "More Session Information"; - uses SRG-SHOW-SESSION-CLIENT; - } - - list session-sync-error-information { - description "Session Synchroniation Error Information"; - uses SRG-SHOW-SESSION-ERROR-INFO; - } - } - - grouping SRG-SHOW-MGR-INTF-ENTRY { - description - "Subscriber Redundancy Manager Interface - Information"; - leaf interface-name { - type string; - description "Interface Name"; - } - leaf interface-mapping-id { - type uint32; - description "Interface Mapping ID"; - } - leaf forward-referenced { - type boolean; - description "Forward Referenced"; - } - leaf group-id { - type uint32; - description "Group ID"; - } - leaf role { - type Srg-show-im-role; - description "SRG Role"; - } - } - - grouping SRG-SHOW-MGR-SUMMARY { - description "Subscriber Redundancy Manager Summary Information"; - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf active-state { - type boolean; - description "Process Active State"; - } - leaf preferred-role { - type Srg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Srg-show-slave-mode; - description "Slave Mode"; - } - leaf hold-timer { - type uint32; - description "Switch Over Hold Time"; - } - leaf source-interface-name { - type string; - description "Source Interface Name"; - } - leaf vrf-name { - type string; - description "VRF Name"; - } - leaf source-interface-ipv4-address { - type inet:ipv4-address; - description "Source Interface IPv4 Address"; - } - leaf source-interface-ipv6-address { - type inet:ipv6-address; - description "Source Interface IPv6 Address"; - } - leaf group-count { - type uint32; - description "No. of Configured Groups"; - } - leaf disabled-group-count { - type uint32; - description "No. of Disabled Groups by Config"; - } - leaf master-group-count { - type uint32; - description "No. of Master/Active Groups"; - } - leaf slave-group-count { - type uint32; - description "No. of Slave Groups"; - } - leaf interface-count { - type uint32; - description "No. of Configured Interfaces"; - } - leaf master-interface-count { - type uint32; - description "No. of Master/Active Interfaces"; - } - leaf slave-interface-count { - type uint32; - description "No. of Slave Interfaces"; - } - } - - grouping SRG-SHOW-MGR-GROUP-ENTRY { - description "Subscriber Redundancy Manager Group Information"; - leaf group-id { - type uint32; - description "Group ID"; - } - leaf description { - type string; - description "Group Description"; - } - leaf disabled { - type boolean; - description "Disabled by Config"; - } - leaf role { - type Srg-show-im-role; - description "SRG Role"; - } - leaf peer-ipv4-address { - type inet:ipv4-address; - description "Peer IPv4 Address"; - } - leaf peer-ipv6-address { - type inet:ipv6-address; - description "Peer IPv6 Address"; - } - leaf interface-count { - type uint32; - description "Interface Count"; - } - leaf preferred-role { - type Srg-show-role; - description "Preferred Role"; - } - leaf slave-mode { - type Srg-show-slave-mode; - description "Slave Mode"; - } - leaf object-tracking-status { - type boolean; - description "Object Tracking Status (Enabled/Disabled)"; - } - leaf virtual-mac-address { - type string; - description "Virtual MAC Address"; - } - leaf virtual-mac-address-disable { - type boolean; - description "Virtual MAC Address Disable"; - } - leaf node-name { - type string; - description "Node Information"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper.yang deleted file mode 100644 index 3fd030b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-subscriber-srg-oper.yang +++ /dev/null @@ -1,167 +0,0 @@ -module Cisco-IOS-XR-subscriber-srg-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-subscriber-srg-oper"; - - - prefix "subscriber-srg-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-subscriber-srg-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR subscriber-srg package operational data. - - This module contains definitions - for the following management objects: - subscriber-redundancy-manager: Subscriber Redundancy Manager - information - subscriber-redundancy-agent: subscriber redundancy agent - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container subscriber-redundancy-manager { - config false; - description "Subscriber Redundancy Manager information"; - - container groups { - description "Subscriber Redundancy Manager group table"; - - list group { - key "group"; - description "Subscriber redundancy manager group"; - leaf group { - type xr:Cisco-ios-xr-string; - description "Group"; - } - uses SRG-SHOW-MGR-GROUP-ENTRY; - } - } - - container summary { - description "Subscriber redundancy manager summary"; - uses SRG-SHOW-MGR-SUMMARY; - } - - container interfaces { - description "Subscriber Redundancy Manager interface table"; - - list interface { - key "interface"; - description "Subscriber redundancy manager interface"; - leaf interface { - type xr:Cisco-ios-xr-string; - description "Interface"; - } - uses SRG-SHOW-MGR-INTF-ENTRY; - } - } - } - - container subscriber-redundancy-agent { - config false; - description "subscriber redundancy agent"; - - container nodes { - description - "List of nodes for which subscriber data is - collected"; - - list node { - key "node-name"; - description "Subscriber data for a particular node"; - - container group-id-xr { - description - "Data for particular subscriber group session"; - - list group-id { - key "group-id"; - description "Group id for subscriber group session"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "GroupId"; - } - uses SRG-SHOW-SESSION-ENTRY; - } - } - - container interfaces { - description "List of interfaces"; - - list interface { - key "interface"; - description "Specify interface name"; - leaf interface { - type xr:Interface-name; - description "Interface"; - } - uses SRG-SHOW-AGT-INTF-ENTRY; - } - } - - container group-summaries { - description "Subscriber data for a particular node"; - - list group-summary { - key "group-id"; - description "Subscriber redundancy agent group summary"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "GroupId"; - } - uses SRG-AGT-SHOW-GROUP-LIST-ENTRY; - } - } - - container group-ids { - description "Data for particular subscriber group "; - - list group-id { - key "group-id"; - description "Group id for subscriber group"; - leaf group-id { - type xr:Cisco-ios-xr-string; - description "Group Id"; - } - uses SRG-SHOW-GROUP-ENTRY; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper-sub1.yang deleted file mode 100644 index b96fe97..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper-sub1.yang +++ /dev/null @@ -1,593 +0,0 @@ -submodule Cisco-IOS-XR-syncc-oper-sub1 { - - belongs-to Cisco-IOS-XR-syncc-oper { - prefix Cisco-IOS-XR-syncc-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR syncc package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-08" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Source-state-name { - type enumeration { - enum not-valid { - description "Invalid"; - } - enum unqualified { - description "Unqualified state"; - } - enum available { - description "Available state"; - } - enum failed { - description "Failed state"; - } - enum unmonitored { - description "Unmonitored state"; - } - enum error { - description "Error state"; - } - } - description "Syncc source state name"; - } - typedef Source { - type enumeration { - enum invalid { - description "Invalid state"; - } - enum ethernet-line-interface { - description "Ethernet interface "; - } - enum sonet-line-interface { - description "SONET interface "; - } - enum clock-interface { - description "Clock interface state"; - } - enum internal { - description "Internal state"; - } - } - description "Syncc source type"; - } - typedef Interface-state { - type enumeration { - enum up { - description "Up state"; - } - enum down { - description "Down state"; - } - enum admin-down { - description "Admin down state"; - } - } - description "Interface state"; - } - typedef Ql-option-1 { - type enumeration { - enum quality-level-none { - description "No value"; - } - enum o1 { - description "Option 1"; - } - enum o2-g1 { - description "Option 2 Gen 1"; - } - enum o2-g2 { - description "Option 2 Gen 2"; - } - } - description "Quality level options"; - } - typedef Direct { - type enumeration { - enum receive-transmit { - description "Receive or transmit"; - } - enum transmit { - description "Transmit"; - } - enum receive { - description "Receive"; - } - } - description "Direction status"; - } - typedef Smode2 { - type enumeration { - enum ami-mode { - description "AMI"; - } - enum b8zs { - description "B8ZS submode"; - } - enum hdb3 { - description "HDB3 submode"; - } - enum submode2-none { - description "No mode is selected"; - } - } - description "Second mode type"; - } - typedef Smode1 { - type enumeration { - enum extended-super-frame { - description "Extended Superframe(ESF)"; - } - enum d4 { - description "D4 channel unit"; - } - enum non-crc4 { - description "Non CRC 4 mode"; - } - enum crc4 { - description "CRC 4"; - } - enum submode1-none { - description "No mode is selected"; - } - } - description "First mode type"; - } - typedef Clock-modes { - type enumeration { - enum t1 { - description "T1 mode"; - } - enum e1 { - description "E1 mode"; - } - enum two-m { - description "2048M mode"; - } - enum input64k { - description "64kCC input"; - } - enum output6m { - description "6312M output"; - } - enum uti { - description "Universal transport interface(UTI)"; - } - enum none { - description "No mode is selected"; - } - } - description "Different clock modes"; - } - typedef Node-state { - type enumeration { - enum active { - value 1; - description "Node in active mode"; - } - enum standby { - value 2; - description "Node in standby mode"; - } - } - description "Different modes of a node"; - } - typedef Syncc-states { - type enumeration { - enum initializing { - description "Initial state"; - } - enum running { - description "Running state"; - } - enum normal { - description "Normal state"; - } - enum shutdown { - description "Shutdown state"; - } - } - description "Different syncc states"; - } - - grouping SYNCC-TIMING-SOURCE { - description "Controllers timing source status"; - leaf input { - type uint8; - description "Input number"; - } - leaf slot { - type uint8; - description "Slot number"; - } - leaf port { - type uint8; - description "Port number"; - } - leaf clock-source { - type Source; - description "Status of syncc source type"; - } - leaf rank { - type uint8; - description "Rank of sync timing source table"; - } - leaf quality-level-option { - type uint8; - description "Quality level option"; - } - leaf quality-level-value { - type uint8; - description "Quality level value"; - } - leaf user-priority { - type uint8; - description "User priority of sync timing source table"; - } - leaf clock-state { - type Source-state-name; - description "Status of clock state"; - } - leaf is-select { - type boolean; - description "True if selected"; - } - } - - grouping SYNCC-TIMING-SRC-TBL1 { - description "Structure containing timing source table"; - - list timing-status-t0 { - max-elements "10"; - description "Scheduling PLL T0 "; - uses SYNCC-TIMING-SOURCE; - } - - list timing-status-t4 { - max-elements "10"; - description "Scheduling PLL T4 "; - uses SYNCC-TIMING-SOURCE; - } - - list timing-status1588 { - max-elements "10"; - description "Scheduling PLL 1588 "; - uses SYNCC-TIMING-SOURCE; - } - } - - grouping SYNCC-TIMING-SRC-TBL { - description "Syncc timing source table information"; - - list syncc-instance { - description "List of syncc timing table information"; - uses SYNCC-TIMING-SRC-TBL1; - } - } - - grouping SYNCC-CLOCK-SETTING { - description "SYNCC clock information"; - leaf is-configured-port0 { - type boolean; - description "True if clock is configured for port 0"; - } - leaf is-configured-port1 { - type boolean; - description "True if clock is configured for port 1"; - } - leaf is-configured-port2 { - type boolean; - description "True if clock is configured for port 2"; - } - leaf is-configured-port3 { - type boolean; - description "True if clock is configured for port 3"; - } - leaf mode-port0 { - type Clock-modes; - description "Clock setting mode for port 0"; - } - leaf mode-port1 { - type Clock-modes; - description "Clock setting mode for port 1"; - } - leaf mode-port2 { - type Clock-modes; - description "Clock setting mode for port 2"; - } - leaf mode-port3 { - type Clock-modes; - description "Clock setting mode for port 3"; - } - leaf submode1-port0 { - type Smode1; - description "First submode for port 0"; - } - leaf submode1-port1 { - type Smode1; - description "First submode for port 1"; - } - leaf submode1-port2 { - type Smode1; - description "First submode for port 2"; - } - leaf submode1-port3 { - type Smode1; - description "First submode for port 3"; - } - leaf submode2-port0 { - type Smode2; - description "Second submode for port 0"; - } - leaf submode2-port1 { - type Smode2; - description "Second submode for port 1"; - } - leaf submode2-port2 { - type Smode2; - description "Second submode for port 2"; - } - leaf submode2-port3 { - type Smode2; - description "Second submode for port 3"; - } - leaf submode3-port0 { - type uint32; - description "Third submode for port 0"; - } - leaf submode3-port1 { - type uint32; - description "Third submode for port 1"; - } - leaf submode3-port2 { - type uint32; - description "Third submode for port 2"; - } - leaf submode3-port3 { - type uint32; - description "Third submode for port 3"; - } - leaf shutdown-port0 { - type uint32; - description "Configure disable value for port 0"; - } - leaf shutdown-port1 { - type uint32; - description "Configure disable value for port 1"; - } - leaf shutdown-port2 { - type uint32; - description "Configure disable value for port 2"; - } - leaf shutdown-port3 { - type uint32; - description "Configure disable value for port 3"; - } - leaf direction-port0 { - type Direct; - description "Direction of interface for port 0"; - } - leaf direction-port1 { - type Direct; - description "Direction of interface for port 1"; - } - leaf direction-port2 { - type Direct; - description "Direction of interface for port 2"; - } - leaf direction-port3 { - type Direct; - description "Direction of interface for port 3"; - } - leaf baudrate-port0 { - type uint32; - description "Baudrate for port 0"; - } - leaf baudrate-port1 { - type uint32; - description "Baudrate for port 1"; - } - leaf baudrate-port2 { - type uint32; - description "Baudrate for port 2"; - } - leaf baudrate-port3 { - type uint32; - description "Baudrate for port 3"; - } - leaf quality-option-port0 { - type Ql-option-1; - description "Quality Level option of port 0"; - } - leaf quality-option-port1 { - type Ql-option-1; - description "Quality Level option of the port 1"; - } - leaf quality-option-port2 { - type Ql-option-1; - description "Quality Level option of the port 2"; - } - leaf quality-option-port3 { - type Ql-option-1; - description "Quality Level option of the port 3"; - } - leaf transmit-ssm-port0 { - type uint32; - description "Transmit SSM for port 0"; - } - leaf transmit-ssm-port1 { - type uint32; - description "Transmit SSM for port 1"; - } - leaf transmit-ssm-port2 { - type uint32; - description "Transmit SSM for port 2"; - } - leaf transmit-ssm-port3 { - type uint32; - description "Transmit SSM for port 3"; - } - leaf recieve-ssm-port0 { - type uint32; - description "Receive SSM for port 0"; - } - leaf recieve-ssm-port1 { - type uint32; - description "Receive SSM for port 1"; - } - leaf recieve-ssm-port2 { - type uint32; - description "Receive SSM for port 2"; - } - leaf recieve-ssm-port3 { - type uint32; - description "Receive SSM for port 3"; - } - leaf interface-state-port0 { - type Interface-state; - description "Interface state for port 0"; - } - leaf interface-state-port1 { - type Interface-state; - description "Interface state for port 1"; - } - leaf interface-state-port2 { - type Interface-state; - description "Interface state for port 2"; - } - leaf interface-state-port3 { - type Interface-state; - description "Interface state for port 3"; - } - } - - grouping SYNCC-CLOCK-SETTING-TBLN { - description "Clock table information"; - - list clock { - max-elements "1"; - description "Clock table for an RP"; - uses SYNCC-CLOCK-SETTING; - } - } - - grouping SYNCC-CLOCK-SETTING-NEWTBL { - description "SYNCC interface information"; - - list syncc-instance { - description "List of syncc clock information "; - uses SYNCC-CLOCK-SETTING-TBLN; - } - } - - grouping SYNCC-INTERNAL-STATE1 { - description "Structure containing SYNCC internal state"; - leaf controller-state { - type Syncc-states; - description "Syncc controller state"; - } - leaf syncc-node-state { - type Node-state; - description "Status of syncc node mode"; - } - leaf verbose-level { - type uint32; - description "Verbose level number"; - } - leaf initial-count { - type uint32; - description "Initial count number"; - } - leaf shutdown-count { - type uint32; - description "Shutdown count number"; - } - leaf set-input-count { - type uint32; - description "Set the value of input count"; - } - leaf set-capability-count { - type uint32; - description "Set the value of display count"; - } - leaf get-clock-count { - type uint32; - description "Clock count number"; - } - leaf set-clock-out-count { - type uint32; - description "Set clock count"; - } - leaf sync-enable-count { - type uint32; - description "Sync enable count number"; - } - leaf sync-disable-count { - type uint32; - description "Sync disable count number"; - } - leaf capability-count { - type uint32; - description "Interface capability count"; - } - leaf set-quality-level-count { - type uint32; - description "Value of quality level count"; - } - leaf input-notification { - type uint32; - description "Selects proper input result notification"; - } - leaf capability-notification { - type uint32; - description "Value of interface capability notification"; - } - leaf status-notification { - type uint32; - description "Notification of source status"; - } - leaf resync-notification { - type uint32; - description "Value of resync notification"; - } - } - - grouping SYNCC-INTERNAL-STATE { - description "Syncc internal state information"; - - list syncc-instance { - description "List of syncc states"; - uses SYNCC-INTERNAL-STATE1; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper.yang deleted file mode 100644 index 82c4c10..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syncc-oper.yang +++ /dev/null @@ -1,87 +0,0 @@ -module Cisco-IOS-XR-syncc-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-syncc-oper"; - - - prefix "syncc-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-syncc-oper-sub1 { - revision-date 2016-06-08; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR syncc package operational data. - - This module contains definitions - for the following management objects: - timing-controller: Timing controller operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-06-08" { - description - "Schema added."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container timing-controller { - config false; - description "Timing controller operational data"; - - container nodes { - description "List of nodes applicable to timing controller"; - - list node { - key "node-name"; - description "Syncc operational data for a single node"; - - container state { - description "Syncc state for a node"; - uses SYNCC-INTERNAL-STATE; - } - - container clock { - description "Syncc clock information for a node"; - uses SYNCC-CLOCK-SETTING-NEWTBL; - } - - container timing-source { - description "Syncc timing information for a node"; - uses SYNCC-TIMING-SRC-TBL; - } - leaf node-name { - type xr:Node-id; - description "Node Name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syslog-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syslog-act.yang deleted file mode 100755 index 322dc03..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-syslog-act.yang +++ /dev/null @@ -1,52 +0,0 @@ -module Cisco-IOS-XR-syslog-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act"; - - prefix "syslog-act"; - - import ietf-syslog-types { prefix "log"; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR action package configuration. - - This module contains definitions - for the following management objects: - syslog: Global Syslog messaging data - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-04-17" { - description - "IOS XR 6.1.1 revision."; - } - - rpc logmsg { - input { - leaf severity { - type log:severity; - description "Set serverity level"; - mandatory true; - } - leaf message { - type string; - description "Message body."; - mandatory true; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sysmgr-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sysmgr-act.yang deleted file mode 100755 index 4f70881..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-sysmgr-act.yang +++ /dev/null @@ -1,48 +0,0 @@ -module Cisco-IOS-XR-sysmgr-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act"; - - prefix "sysmgr-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR sysmgr action package configuration. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-03" { - description - "IOS XR 6.3.1 revision."; - } - - rpc sysmgr-process-restart { - description "Restart an XR process"; - input { - leaf process-name { - description "XR process name or Job Id e.g. bgp, ospf"; - type string; - mandatory true; - } - leaf location { - description "XR node identifier e.g. 0/RP0/CPU0, 0/0/CPU0"; - type string; - } - } - } - -} - diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-cfg.yang deleted file mode 100644 index 561e879..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-cfg.yang +++ /dev/null @@ -1,389 +0,0 @@ -module Cisco-IOS-XR-telemetry-model-driven-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-telemetry-model-driven-cfg"; - - - prefix "telemetry-model-driven-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR telemetry-model-driven package configuration. - - This module contains definitions - for the following management objects: - telemetry-model-driven: Model Driven Telemetry configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-02-09" { - description - "Added DSCP"; - } - - revision "2017-01-30" { - description - "Updated version for source-interface/vrf"; - } - - revision "2016-10-20" { - description - "Updated version for hierarchy-destinations"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Proto-type { - type enumeration { - enum grpc { - value 1; - description "GRPC"; - } - enum tcp { - value 2; - description "tcp"; - } - enum udp { - value 3; - description "udp"; - } - } - description "Proto type"; - } - typedef Encode-type { - type enumeration { - enum gpb { - value 2; - description "GPB"; - } - enum self-describing-gpb { - value 3; - description "SELF DESCRIBING GPB"; - } - enum json { - value 4; - description "JSON"; - } - } - description "Encode type"; - } - typedef Mdt-dscp-value { - type enumeration { - enum default { - value 0; - description "Applicable to DSCP: bits 000000"; - } - enum cs1 { - value 8; - description "Applicable to DSCP: bits 001000"; - } - enum af11 { - value 10; - description "Applicable to DSCP: bits 001010"; - } - enum af12 { - value 12; - description "Applicable to DSCP: bits 001100"; - } - enum af13 { - value 14; - description "Applicable to DSCP: bits 001110"; - } - enum cs2 { - value 16; - description "Applicable to DSCP: bits 010000"; - } - enum af21 { - value 18; - description "Applicable to DSCP: bits 010010"; - } - enum af22 { - value 20; - description "Applicable to DSCP: bits 010100"; - } - enum af23 { - value 22; - description "Applicable to DSCP: bits 010110"; - } - enum cs3 { - value 24; - description "Applicable to DSCP: bits 011000"; - } - enum af31 { - value 26; - description "Applicable to DSCP: bits 011010"; - } - enum af32 { - value 28; - description "Applicable to DSCP: bits 011100"; - } - enum af33 { - value 30; - description "Applicable to DSCP: bits 011110"; - } - enum cs4 { - value 32; - description "Applicable to DSCP: bits 100000"; - } - enum af41 { - value 34; - description "Applicable to DSCP: bits 100010"; - } - enum af42 { - value 36; - description "Applicable to DSCP: bits 100100"; - } - enum af43 { - value 38; - description "Applicable to DSCP: bits 100110"; - } - enum cs5 { - value 40; - description "Applicable to DSCP: bits 101000"; - } - enum ef { - value 46; - description "Applicable to DSCP: bits 101110"; - } - enum cs6 { - value 48; - description "Applicable to DSCP: bits 110000"; - } - enum cs7 { - value 56; - description "Applicable to DSCP: bits 111000"; - } - } - description "Mdt dscp value"; - } - - grouping ENCODING { - description "Common node of ipv6-destination, ipv4-destination"; - leaf encoding { - type Encode-type; - description - "Encoding used to transmit telemetry data to the - collector"; - } - } - - grouping PROTOCOL { - description "Common node of ipv6-destination, ipv4-destination"; - - container protocol { - presence "Indicates a protocol node is configured."; - description - "Transport Protocol used to transmit telemetry - data to the collector"; - leaf protocol { - type Proto-type; - mandatory true; - description "protocol"; - } - leaf tls-hostname { - type string; - description "tls hostname"; - } - leaf no-tls { - type int32; - default "0"; - description "no tls"; - } - leaf packetsize { - type uint32 { - range "484..65507"; - } - default "1472"; - description "udp packetsize"; - } - } - } - - container telemetry-model-driven { - description "Model Driven Telemetry configuration"; - - container sensor-groups { - description "Sensor group configuration"; - - list sensor-group { - key "sensor-group-identifier"; - description "Sensor group configuration"; - - container sensor-paths { - description "Sensor path configuration"; - - list sensor-path { - key "telemetry-sensor-path"; - description "Sensor path configuration"; - leaf telemetry-sensor-path { - type string; - description "Sensor Path"; - } - } - } - leaf sensor-group-identifier { - type xr:Cisco-ios-xr-string; - description "The identifier for this group"; - } - } - } - - container subscriptions { - description "Streaming Telemetry Subscription"; - - list subscription { - key "subscription-identifier"; - description "Streaming Telemetry Subscription"; - - container sensor-profiles { - description "Associate Sensor Groups with Subscription"; - - list sensor-profile { - key "sensorgroupid"; - description "Associate Sensor Group with Subscription"; - leaf strict-timer { - type empty; - description "use strict timer"; - } - leaf sample-interval { - type uint32 { - range "0..4294967295"; - } - units "millisecond"; - description "Sample interval in milliseconds"; - } - leaf sensorgroupid { - type xr:Cisco-ios-xr-string; - description - "Reference to the telemetry sensor group name"; - } - } - } - - container destination-profiles { - description - "Associate Destination Groups with Subscription"; - - list destination-profile { - key "destination-id"; - description - "Associate Destination Group with Subscription"; - leaf destination-id { - type xr:Cisco-ios-xr-string; - description - "Destination Id to associate with - Subscription"; - } - } - } - leaf source-qos-marking { - type Mdt-dscp-value; - description "Outgoing DSCP value"; - } - leaf source-interface { - type xr:Interface-name; - description - "Source address to use for streaming telemetry - information"; - } - leaf subscription-identifier { - type xr:Cisco-ios-xr-string; - description "Subscription identifier string"; - } - } - } - - container destination-groups { - description "Destination Group configuration"; - - list destination-group { - key "destination-id"; - description "Destination Group"; - - container ipv6-destinations { - description "Destination address configuration"; - - list ipv6-destination { - key "ipv6-address destination-port"; - description "destination IP address"; - leaf ipv6-address { - type inet:ipv6-address-no-zone; - description "Destination IPv6 address"; - } - leaf destination-port { - type xr:Cisco-ios-xr-port-number; - description "destination port"; - } - uses ENCODING; - uses PROTOCOL; - } - } - - container ipv4-destinations { - description "Destination address configuration"; - - list ipv4-destination { - key "ipv4-address destination-port"; - description "destination IP address"; - leaf ipv4-address { - type inet:ipv4-address-no-zone; - description "Destination IPv4 address"; - } - leaf destination-port { - type xr:Cisco-ios-xr-port-number; - description "destination port"; - } - uses ENCODING; - uses PROTOCOL; - } - } - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Vrf for the destination group"; - } - leaf destination-id { - type xr:Cisco-ios-xr-string; - description "destination group id string"; - } - } - } - leaf enable { - type empty; - description "Enable Model Driven Telemetry"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang deleted file mode 100644 index 7f95135..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang +++ /dev/null @@ -1,778 +0,0 @@ -submodule Cisco-IOS-XR-telemetry-model-driven-oper-sub1 { - - belongs-to Cisco-IOS-XR-telemetry-model-driven-oper { - prefix Cisco-IOS-XR-telemetry-model-driven-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR telemetry-model-driven package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Modified the type for the state variables"; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-02-09" { - description - "Added DSCP"; - } - - revision "2017-01-30" { - description - "Initial 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Mdt-source-qos-marking { - type enumeration { - enum dscp-default { - value 0; - description "0"; - } - enum dscp-cs1 { - value 8; - description "8"; - } - enum dscp-af11 { - value 10; - description "10"; - } - enum dscp-af12 { - value 12; - description "12"; - } - enum dscp-af13 { - value 14; - description "14"; - } - enum dscp-cs2 { - value 16; - description "16"; - } - enum dscp-af21 { - value 18; - description "18"; - } - enum dscp-af22 { - value 20; - description "20"; - } - enum dscp-af23 { - value 22; - description "22"; - } - enum dscp-cs3 { - value 24; - description "24"; - } - enum dscp-af31 { - value 26; - description "26"; - } - enum dscp-af32 { - value 28; - description "28"; - } - enum dscp-af33 { - value 30; - description "30"; - } - enum dscp-cs4 { - value 32; - description "32"; - } - enum dscp-af41 { - value 34; - description "34"; - } - enum dscp-af42 { - value 36; - description "36"; - } - enum dscp-af43 { - value 38; - description "38"; - } - enum dscp-cs5 { - value 40; - description "40"; - } - enum dscp-ef { - value 46; - description "46"; - } - enum dscp-cs6 { - value 48; - description "48"; - } - enum dscp-cs7 { - value 56; - description "56"; - } - } - description "DSCP source qos value for subscription"; - } - typedef Mdt-subs-state-enum { - type enumeration { - enum not-active { - value 0; - description "NA"; - } - enum active { - value 1; - description "Active"; - } - enum paused { - value 2; - description "Paused"; - } - } - description "Subscription State"; - } - typedef Mdt-internal-path-status { - type enumeration { - enum active { - value 0; - description "Active"; - } - enum internal-err { - value 1; - description "Internal Error"; - } - enum plugin-active { - value 2; - description "Plugin Active"; - } - enum plugin-not-initialized { - value 3; - description "Plugin Not Initialized"; - } - enum plugin-invalid-cadence { - value 4; - description "Plugin Unsupported Cadence"; - } - enum plugin-err { - value 5; - description "Plugin Subscription Error"; - } - enum filter-err { - value 6; - description "Filter Error"; - } - enum paused { - value 7; - description "Paused"; - } - enum event-ing-active { - value 8; - description "Eventing Active"; - } - enum event-ing-not-active { - value 9; - description "Eventing Not Active"; - } - enum event-ing-err { - value 10; - description "Eventing Error"; - } - } - description "Internal Subscription Path Status"; - } - typedef Mdt-dest-state-enum { - type enumeration { - enum dest-not-active { - value 0; - description "NA"; - } - enum dest-active { - value 1; - description "Active"; - } - enum dest-asking-pause { - value 2; - description "AskingPause"; - } - enum dest-paused { - value 3; - description "Paused"; - } - enum dest-resuming { - value 4; - description "Resuming"; - } - enum dest-channel-not-found { - value 5; - description "ChannelNotFound"; - } - } - description "Destination state"; - } - typedef Mdt-transport-enum { - type enumeration { - enum not-set { - value 0; - description "PROTOCOL NOT SET"; - } - enum grpc { - value 1; - description "GRPC"; - } - enum tcp { - value 2; - description "TCP"; - } - enum udp { - value 3; - description "UDP"; - } - enum dialin { - value 6; - description "DIALIN"; - } - } - description "MDT Transport"; - } - typedef Mdt-encoding-enum { - type enumeration { - enum not-set { - value 0; - description "ENCODING NOT SET"; - } - enum gpb { - value 2; - description "GPB"; - } - enum self-describing-gpb { - value 3; - description "SELF DESCRIBING GPB"; - } - enum json { - value 4; - description "JSON"; - } - } - description "MDT Encoding"; - } - typedef Mdt-in6-addr { - type inet:ipv6-address; - description "Mdt in6 addr"; - } - typedef Mdt-ip { - type enumeration { - enum ipv4 { - value 1; - description "IPv4"; - } - enum ipv6 { - value 2; - description "IPv6"; - } - } - description "IP Type"; - } - - grouping MDT-DESTINATION-GROUP { - description "Per Destination Group information"; - leaf id { - type string; - description "Destination Group name"; - } - leaf configured { - type uint32; - description "Set if this is configured destination group"; - } - - list destination { - description "list of destinations defined in this group"; - uses MDT-DESTINATION; - } - } - - grouping MDT-SENSOR-GROUP { - description "Per sensor group information"; - leaf id { - type string; - description "Sensor Group name"; - } - leaf configured { - type uint32; - description "Set if this is configured sensor group"; - } - - list sensor-path { - description - "Array of information for sensor paths within - sensor group"; - uses MDT-SENSOR-PATHS; - } - } - - grouping MDT-SENSOR-PROFILE { - description "Per sensor profile information"; - - container sensor-group { - description "sensor group"; - uses MDT-SENSOR-GROUP; - } - leaf sample-interval { - type uint32; - description "Sample interval for the sensor group (ms)"; - } - leaf heartbeat-interval { - type uint32; - description "Heartbeat interval for the sensor group (s)"; - } - leaf suppress-redundant { - type boolean; - description "Suppress Redundant"; - } - } - - grouping MDT-SOURCE-INTERFACE { - description "source interface information"; - leaf interface-name { - type string; - description "Source Interface Name"; - } - leaf state { - type boolean; - description "interface state"; - } - leaf ipv4-address { - type inet:ipv4-address; - description "IPV4 Address"; - } - leaf ipv6-address { - type Mdt-in6-addr; - description "IPV6 Address"; - } - leaf vrf-id { - type uint32; - description "Src Vrf Id"; - } - } - - grouping MDT-SUBSCRIPTION { - description "Per subscription group information"; - - container source-interface { - description "configured source interface"; - uses MDT-SOURCE-INTERFACE; - } - leaf id { - type string; - description "Collection Subscription name"; - } - leaf state { - type Mdt-subs-state-enum; - description "Subscription state"; - } - leaf source-qos-marking { - type Mdt-source-qos-marking; - description "DSCP"; - } - - list sensor-profile { - description "List of sensor groups within a subscription"; - uses MDT-SENSOR-PROFILE; - } - - list destination-grp { - description "Array of destinations within a subscription"; - uses MDT-DESTINATION-GROUP; - } - } - - grouping MDT-SUBSCRIPTION-DETAILS { - description "Per subscription group detailed information"; - - container subscription { - description "Subscription"; - uses MDT-SUBSCRIPTION; - } - - list collection-group { - description - "List of collection groups active for this - subscription"; - uses MDT-COLLECTION-GROUP; - } - } - - grouping MDT-COLLECTION-SYSDB-GROUP { - description "Per collection group sysdb information"; - leaf path { - type string; - description "Sysdb Path"; - } - leaf cadence { - type uint64; - description "Period of the collections (ms)"; - } - leaf total-get-count { - type uint64; - description "Total number of gets"; - } - leaf total-list-count { - type uint64; - description "Total number of lists"; - } - leaf total-datalist-count { - type uint64; - description "Total number of datalists"; - } - leaf total-finddata-count { - type uint64; - description "Total number of finddata"; - } - leaf total-get-bulk-count { - type uint64; - description "Total number of get bulk"; - } - leaf total-item-count { - type uint64; - description "Total number of items retrived from sysdb"; - } - leaf total-get-errors { - type uint64; - description "Total number of get errors"; - } - leaf total-list-errors { - type uint64; - description "Total number of list errors"; - } - leaf total-datalist-errors { - type uint64; - description "Total number of datalist errors"; - } - leaf total-finddata-errors { - type uint64; - description "Total number of finddata errors"; - } - leaf total-get-bulk-errors { - type uint64; - description "Total number of get bulk errors"; - } - leaf total-encode-errors { - type uint64; - description "Total number of encode errors"; - } - leaf total-encode-notready { - type uint64; - description "Total number of encode deferred"; - } - leaf total-send-errors { - type uint64; - description "Total number of send errors"; - } - leaf total-send-drops { - type uint64; - description "Total number of send channel full"; - } - leaf total-sent-bytes { - type uint64; - units "byte"; - description "Total number of bytes sent"; - } - leaf total-send-packets { - type uint64; - description "Total number of packets sent"; - } - leaf total-send-bytes-dropped { - type uint64; - units "byte"; - description "Total number of send bytes dropped"; - } - leaf total-collections { - type uint64; - description "Completed collections count"; - } - leaf total-collections-missed { - type uint64; - description "Total number of collections missed"; - } - leaf max-collection-time { - type uint64; - description "Maximum time for a collection (ms)"; - } - leaf min-collection-time { - type uint64; - description "Minimum time for a collection (ms)"; - } - leaf avg-collection-time { - type uint64; - description "Average time for a collection (ms)"; - } - leaf collection-method { - type uint64; - description "Collection method in use"; - } - leaf status { - type Mdt-internal-path-status; - description "Status of collection path"; - } - } - - grouping MDT-SENSOR-PATHS { - description "Sensor Path information"; - leaf path { - type string; - description "Sensor Path"; - } - leaf state { - type boolean; - description "State, if sensor path is resolved or not"; - } - leaf status-str { - type string; - description - "Error str, if there are any errors resolving the - sensor path"; - } - } - - grouping MDT-COLLECTION-GROUP { - description "Per collection group information"; - leaf id { - type uint64; - description "Collection Group id"; - } - leaf cadence { - type uint32; - description "Period of the collections (ms)"; - } - leaf total-collections { - type uint32; - description "Completed collections count"; - } - leaf encoding { - type Mdt-encoding-enum; - description "Destination group encoding"; - } - leaf last-collection-start-time { - type uint64; - description "Timestamp of the start of last collection"; - } - leaf last-collection-end-time { - type uint64; - description "Timestamp of the end of last collection"; - } - leaf max-collection-time { - type uint32; - description "Maximum time for a collection (ms)"; - } - leaf min-collection-time { - type uint32; - description "Minimum time for a collection (ms)"; - } - leaf min-total-time { - type uint32; - description "Minimum time for all processing (ms)"; - } - leaf max-total-time { - type uint32; - description "Maximum time for all processing (ms)"; - } - leaf avg-total-time { - type uint32; - description "Average time for all processing (ms)"; - } - leaf total-other-errors { - type uint32; - description "Total number of errors"; - } - leaf total-on-data-instances { - type uint32; - description "Total number of no data instances"; - } - leaf total-not-ready { - type uint32; - description "Total number skipped (not ready)"; - } - leaf total-send-errors { - type uint32; - description "Total number of send errors"; - } - leaf total-send-drops { - type uint32; - description "Total number of send drops"; - } - - list collection-path { - description - "Array of information for sensor paths within - collection group"; - uses MDT-SENSOR-PATHS; - } - - list internal-collection-group { - description - "Array of information for sysdb paths within - collection group"; - uses MDT-COLLECTION-SYSDB-GROUP; - } - } - - grouping MDT-DESTINATION-IP-ADDRESS { - description "MDT DESTINATION IP ADDRESS"; - leaf ip-type { - type Mdt-ip; - description "IPType"; - } - leaf ipv4-address { - when "../ip-type = 'ipv4'" { - description "../IPType = 'IPV4'"; - } - type inet:ipv4-address; - description "IPV4 Address"; - } - leaf ipv6-address { - when "../ip-type = 'ipv6'" { - description "../IPType = 'IPV6'"; - } - type Mdt-in6-addr; - description "IPV6 Address"; - } - } - - grouping MDT-DESTINATION { - description "Per Destination information"; - - container dest-ip-address { - description "Destination IP Address"; - uses MDT-DESTINATION-IP-ADDRESS; - } - leaf id { - type string; - description "Destination Id"; - } - leaf sub-id-str { - type string; - description "Sub Idstr"; - } - leaf dest-port { - type uint16; - description "Destination Port number"; - } - leaf encoding { - type Mdt-encoding-enum; - description "Destination group encoding"; - } - leaf transport { - type Mdt-transport-enum; - description "Destination group transport"; - } - leaf vrf { - type string; - description "Destination group vrf"; - } - leaf vrf-id { - type uint32; - description "Destination group vrf id"; - } - leaf state { - type Mdt-dest-state-enum; - description "State of streaming on this destination"; - } - leaf udp-mtu { - type uint32; - description "UDP MTU if this destination is UDP"; - } - leaf tls { - type uint32; - description "TLS connection to this destination"; - } - leaf tls-host { - type string; - description "TLS Hostname of this destination"; - } - leaf total-num-of-packets-sent { - type uint64; - description - "Total number of packets sent for this - destination"; - } - leaf total-num-of-bytes-sent { - type uint64; - units "byte"; - description "Total number of bytes sent for this destination"; - } - leaf last-collection-time { - type uint64; - description "Timestamp of the last collection"; - } - leaf dscp { - type uint32; - description "DSCP setting for this destination"; - } - leaf-list sub-id { - type uint64; - description "Sub Id"; - } - } - - grouping MDT-DESTINATION-DETAIL { - description "Per Destination detail information"; - - container destination { - description "Destination"; - uses MDT-DESTINATION; - } - - list collection-group { - description - "List of collection groups for this destination - group"; - uses MDT-COLLECTION-GROUP; - } - } - - grouping MDT-DESTINATION-GROUP-DETAIL { - description "Per Destination Group detail information"; - leaf id { - type string; - description "Destination Group name"; - } - leaf configured { - type uint32; - description "Set if this is configured destination group"; - } - - list destination { - description "list of destinations defined in this group"; - uses MDT-DESTINATION-DETAIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper.yang deleted file mode 100644 index 2cd6622..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-telemetry-model-driven-oper.yang +++ /dev/null @@ -1,117 +0,0 @@ -module Cisco-IOS-XR-telemetry-model-driven-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-telemetry-model-driven-oper"; - - - prefix "telemetry-model-driven-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-telemetry-model-driven-oper-sub1 { - revision-date 2017-05-05; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR telemetry-model-driven package operational data. - - This module contains definitions - for the following management objects: - telemetry-model-driven: Telemetry operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-05" { - description - "Modified the type for the state variables"; - } - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2017-02-09" { - description - "Added DSCP"; - } - - revision "2017-01-30" { - description - "Initial 6.2.1 revision"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container telemetry-model-driven { - config false; - description "Telemetry operational data"; - - container destinations { - description "Telemetry Destinations"; - - list destination { - key "destination-id"; - description "Telemetry Destination"; - leaf destination-id { - type xr:Cisco-ios-xr-string; - description "Id of the destination"; - } - uses MDT-DESTINATION-GROUP-DETAIL; - } - } - - container subscriptions { - description "Telemetry Subscriptions"; - - list subscription { - key "subscription-id"; - description "Telemetry Subscription"; - leaf subscription-id { - type xr:Cisco-ios-xr-string; - description "Id of the subscription"; - } - uses MDT-SUBSCRIPTION-DETAILS; - } - } - - container sensor-groups { - description "Telemetry Sensor Groups"; - - list sensor-group { - key "sensor-group-id"; - description "Telemetry Sensor Groups"; - leaf sensor-group-id { - type xr:Cisco-ios-xr-string; - description "Id of the sensor group"; - } - uses MDT-SENSOR-GROUP; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-cfg.yang deleted file mode 100644 index 625c6f1..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-cfg.yang +++ /dev/null @@ -1,387 +0,0 @@ -module Cisco-IOS-XR-terminal-device-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-terminal-device-cfg"; - - - prefix "terminal-device-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR terminal-device package configuration. - - This module contains definitions - for the following management objects: - logical-channels: Logical channel in mxp - optical-channels: optical channels - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Logical-channel-otn-tti-auto { - type enumeration { - enum false { - value 0; - description "Otn tti auto mode false"; - } - enum true { - value 1; - description "Otn tti auto mode true"; - } - } - description "Logical channel otn tti auto"; - } - typedef Logical-admin-state { - type enumeration { - enum enable { - value 1; - description "Enable"; - } - enum disable { - value 2; - description "Disable"; - } - enum maintenance { - value 3; - description "Maintenance"; - } - } - description "Logical admin state"; - } - typedef Logical-loopback-mode { - type enumeration { - enum none { - value 0; - description "None"; - } - enum facility { - value 1; - description "Facility"; - } - enum terminal { - value 2; - description "Terminal"; - } - } - description "Logical loopback mode"; - } - typedef Logical-trib-rate { - type enumeration { - enum trib-rate1g { - value 1; - description "TribRate1G"; - } - enum trib-rate2-5g { - value 2; - description "TribRate25G"; - } - enum trib-rate10g { - value 3; - description "TribRate10G"; - } - enum trib-rate40g { - value 4; - description "TribRate40G"; - } - enum trib-rate100g { - value 5; - description "TribRate100G"; - } - } - description "Logical trib rate"; - } - typedef Logical-trib-protocol { - type enumeration { - enum trib-proto-type1ge { - value 1; - description "1G Ethernet protocol"; - } - enum trib-proto-type-oc48 { - value 2; - description "OC48 protocol"; - } - enum trib-proto-type-stm16 { - value 3; - description "STM 16 protocol"; - } - enum trib-proto-type10gelan { - value 4; - description "10G Ethernet LAN protocol"; - } - enum trib-proto-type10gewan { - value 5; - description "10G Ethernet WAN protocol"; - } - enum trib-proto-type-oc192 { - value 6; - description "OC 192 (9.6GB) port protocol"; - } - enum trib-proto-type-stm64 { - value 7; - description "STM 64 protocol"; - } - enum trib-proto-type-otu2 { - value 8; - description "OTU 2 protocol"; - } - enum trib-proto-type-otu2e { - value 9; - description "OTU 2e protocol"; - } - enum trib-proto-type-otu1e { - value 10; - description "OTU 1e protocol"; - } - enum trib-proto-type-odu2 { - value 11; - description "ODU 2 protocol"; - } - enum trib-proto-type-odu2e { - value 12; - description "ODU 2e protocol"; - } - enum trib-proto-type40ge { - value 13; - description "40G Ethernet port protocol"; - } - enum trib-proto-type-oc768 { - value 14; - description "OC 768 protocol"; - } - enum trib-proto-type-stm256 { - value 15; - description "STM 256 protocol"; - } - enum trib-proto-type-otu3 { - value 16; - description "OTU 3 protocol"; - } - enum trib-proto-type-odu3 { - value 17; - description "ODU 3 protocol"; - } - enum trib-proto-type100ge { - value 18; - description "100G Ethernet protocol"; - } - enum trib-proto-type100g-mlg { - value 19; - description "100G MLG protocol"; - } - enum trib-proto-type-otu4 { - value 20; - description - "OTU4 signal protocol (112G) for transporting - 100GE signal"; - } - enum trib-proto-type-otu-cn { - value 21; - description "OTU Cn protocol"; - } - enum trib-proto-type-odu4 { - value 22; - description "ODU 4 protocol"; - } - } - description "Logical trib protocol"; - } - typedef Logical-channel-assignment { - type enumeration { - enum type-logical-channel { - value 1; - description "Type Logical channel"; - } - enum type-optical-channel { - value 2; - description "Type Optical channel"; - } - } - description "Logical channel assignment"; - } - typedef Logical-protocol { - type enumeration { - enum type-ethernet { - value 1; - description "Type Ethernet"; - } - enum type-otn { - value 2; - description "Type OTN"; - } - } - description "Logical protocol"; - } - - container logical-channels { - description "Logical channel in mxp"; - - list channel { - key "channel-index"; - description "Logical channel index"; - - container logical-channel-assignments { - description - "Logical channel assignment for logical channel"; - - list logical-channel-assignment { - key "assignment-index"; - description "Logical Channel Assignment id"; - leaf description { - type string { - length "1..255"; - } - description "Configure description for this assignment"; - } - leaf logical-channel-id { - type int32; - description - "Configure logical channel for this assignment"; - } - leaf assignment-type { - type Logical-channel-assignment; - description "Type of assignment for logical channel"; - } - leaf allocation { - type int32; - description - "Configure Allocation for this assignment(10, - 40 or 100G)"; - } - leaf optical-channel-id { - type string; - description - "Configure optical channel for this assignment"; - } - leaf assignment-index { - type int32; - description "Logical channel assignment index"; - } - } - } - - container otn { - description "Otn Related configs for Logical channel"; - leaf tti-msg-auto { - type Logical-channel-otn-tti-auto; - description - "Trail trace identifier (TTI) transmit message - automatically created. If True, then setting a - custom transmit message would be invalid. - Trail trace identifier (TTI) transmit message - automatically created."; - } - leaf tti-msg-expected { - type string { - length "1..255"; - } - description - "Trail trace identifier (TTI) message - expectedTrail trace identifier (TTI) message - expected"; - } - leaf tti-msg-transmit { - type string { - length "1..255"; - } - description - "Trail trace identifier (TTI) message - transmittedTrail trace identifier (TTI) - message transmitted"; - } - } - leaf trib-protocol { - type Logical-trib-protocol; - description "Protocol framing of the tributary signal"; - } - leaf description { - type string { - length "1..255"; - } - description "Description (Max 255 characters)"; - } - leaf ingress-client-port { - type xr:Interface-name; - description - "Configure ingress client port for this logical - channel"; - } - leaf ingress-physical-channel { - type uint32 { - range "1..4"; - } - description - "Configure ingress physical channel for this - logical channel"; - } - leaf admin-state { - type Logical-admin-state; - description "Configure the admin-state "; - } - leaf loopback-mode { - type Logical-loopback-mode; - description "Configure the loopback mode "; - } - leaf logical-channel-type { - type Logical-protocol; - description "Configure the logical-channel-type "; - } - leaf rate-class { - type Logical-trib-rate; - description "Rounded bit rate of the tributary signal"; - } - leaf channel-index { - type int32; - description "Logical Channel Index"; - } - } - } - - container optical-channels { - description "optical channels"; - - list optical-channel { - key "ifname"; - description "Optical Channel index"; - leaf operational-mode { - type uint32 { - range "1..100000"; - } - description "Configure operational mode"; - } - leaf line-port { - type xr:Interface-name; - description "Specify R/S/I/P"; - } - leaf ifname { - type xr:Cisco-ios-xr-string; - description "Optical Channel Name"; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper-sub1.yang deleted file mode 100644 index a8a9136..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper-sub1.yang +++ /dev/null @@ -1,405 +0,0 @@ -submodule Cisco-IOS-XR-terminal-device-oper-sub1 { - - belongs-to Cisco-IOS-XR-terminal-device-oper { - prefix Cisco-IOS-XR-terminal-device-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR terminal-device package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Logical-protocol { - type enumeration { - enum proto-type-unknown { - value 0; - description "Unknown protocol framing"; - } - enum proto-type-ethernet { - value 1; - description "Ethernet protocol framing"; - } - enum proto-type-otn { - value 2; - description "OTN protocol framing"; - } - } - description "Logical protocol"; - } - typedef Trib-protocol { - type enumeration { - enum trib-proto-type-unknown { - value 0; - description "Unknown protocol"; - } - enum trib-proto-type1ge { - value 1; - description "1G Ethernet protocol"; - } - enum trib-proto-type-oc48 { - value 2; - description "OC48 protocol"; - } - enum trib-proto-type-stm16 { - value 3; - description "STM 16 protocol"; - } - enum trib-proto-type10gelan { - value 4; - description "10G Ethernet LAN protocol"; - } - enum trib-proto-type10gewan { - value 5; - description "10G Ethernet WAN protocol"; - } - enum trib-proto-type-oc192 { - value 6; - description "OC 192 (9.6GB) port protocol"; - } - enum trib-proto-type-stm64 { - value 7; - description "STM 64 protocol"; - } - enum trib-proto-type-otu2 { - value 8; - description "OTU 2 protocol"; - } - enum trib-proto-type-otu2e { - value 9; - description "OTU 2e protocol"; - } - enum trib-proto-type-otu1e { - value 10; - description "OTU 1e protocol"; - } - enum trib-proto-type-odu2 { - value 11; - description "ODU 2 protocol"; - } - enum trib-proto-type-odu2e { - value 12; - description "ODU 2e protocol"; - } - enum trib-proto-type40ge { - value 13; - description "40G Ethernet port protocol"; - } - enum trib-proto-type-oc768 { - value 14; - description "OC 768 protocol"; - } - enum trib-proto-type-stm256 { - value 15; - description "STM 256 protocol"; - } - enum trib-proto-type-otu3 { - value 16; - description "OTU 3 protocol"; - } - enum trib-proto-type-odu3 { - value 17; - description "ODU 3 protocol"; - } - enum trib-proto-type100ge { - value 18; - description "100G Ethernet protocol"; - } - enum trib-proto-type100g-mlg { - value 19; - description "100G MLG protocol"; - } - enum trib-proto-type-otu4 { - value 20; - description - "OTU4 signal protocol (112G) for transporting - 100GE signal"; - } - enum trib-proto-type-otu-cn { - value 21; - description "OTU Cn protocol"; - } - enum trib-proto-type-odu4 { - value 22; - description "ODU 4 protocol"; - } - } - description "Trib protocol"; - } - typedef Trib-rate-class { - type enumeration { - enum trib-rate-unknown { - value 0; - description "Unknown tributary signal rate"; - } - enum trib-rate1g { - value 1; - description "1G tributary signal rate"; - } - enum trib-rate25g { - value 2; - description "2.5G tributary signal rate"; - } - enum trib-rate10g { - value 3; - description "10G tributary signal rate"; - } - enum trib-rate40g { - value 4; - description "40G tributary signal rate"; - } - enum trib-rate100g { - value 5; - description "100G tributary signal rate"; - } - } - description "Trib rate class"; - } - - grouping LOGICAL-CHANNEL-ASSIGNMENT { - description "LOGICAL CHANNEL ASSIGNMENT"; - leaf index { - type uint32; - description "Index"; - } - leaf name { - type string { - length "0..128"; - } - description "Name"; - } - leaf is-logical-link { - type boolean; - description "IsLogicalLink"; - } - leaf logical-channel { - type uint32; - description "LogicalChannel"; - } - leaf optical-channel { - type string { - length "0..128"; - } - description "OpticalChannel"; - } - leaf allocation { - type uint32; - description "Allocation"; - } - leaf assignment-type { - type uint32; - description "AssignmentType"; - } - } - - grouping LOGICAL-CHANNEL-ATTRIBUTES { - description "LOGICAL CHANNEL ATTRIBUTES"; - leaf logical-channel-index { - type uint32; - description "LogicalChannelIndex"; - } - leaf logical-channel-ifname { - type string { - length "0..128"; - } - description "LogicalChannelIfname"; - } - leaf type { - type string { - length "0..32"; - } - description "Type"; - } - leaf trib-rate-class { - type Trib-rate-class; - description "TribRateClass"; - } - leaf trib-protocol { - type Trib-protocol; - description "TribProtocol"; - } - leaf protocol-type { - type Logical-protocol; - description "ProtocolType"; - } - leaf admin-state { - type uint32; - description "AdminState"; - } - leaf loopback-mode { - type uint32; - description "LoopbackMode"; - } - leaf ingress-client-port { - type string { - length "0..128"; - } - description "IngressClientPort"; - } - leaf ingress-physical-channel { - type uint32; - description "IngressPhysicalChannel"; - } - leaf tti-transmit { - type string { - length "0..256"; - } - description "TtiTransmit"; - } - leaf tti-expected { - type string { - length "0..256"; - } - description "TtiExpected"; - } - } - - grouping OPERATIONAL-MODE-ATTRIBUTES { - description "OPERATIONAL MODE ATTRIBUTES"; - leaf description { - type string { - length "0..128"; - } - description "Description"; - } - leaf vendor-id { - type string { - length "0..64"; - } - description "VendorId"; - } - } - - grouping GRAPH-STRUCTURE-PATH { - description "GRAPH STRUCTURE PATH"; - leaf path { - type string { - length "0..256"; - } - description "Path"; - } - } - - grouping ADJACENCY-LIST-PATH { - description "ADJACENCY LIST PATH"; - leaf path { - type string { - length "0..256"; - } - description "Path"; - } - } - - grouping OPTICAL-CHANNEL-ATTRIBUTES { - description "OPTICAL CHANNEL ATTRIBUTES"; - leaf name { - type string { - length "0..128"; - } - description "Name"; - } - leaf index { - type uint32; - description "Index"; - } - leaf frequency { - type uint64; - description "Frequency"; - } - leaf power { - type uint64; - description "Power"; - } - leaf oper-mode { - type uint32; - description "OperMode"; - } - leaf line-port { - type string { - length "0..128"; - } - description "LinePort"; - } - } - - grouping SLICE-CONFIG-STATUS-ATTRIBUTES { - description "SLICE CONFIG STATUS ATTRIBUTES"; - leaf slice { - type uint8; - description "Slice"; - } - leaf prov-status { - type string { - length "0..32"; - } - description "ProvStatus"; - } - leaf present-config { - type string { - length "0..32"; - } - description "PresentConfig"; - } - leaf present-timestamp { - type string { - length "0..32"; - } - description "PresentTimestamp"; - } - leaf past-config { - type string { - length "0..32"; - } - description "PastConfig"; - } - leaf past-timestamp { - type string { - length "0..32"; - } - description "PastTimestamp"; - } - leaf err-str { - type string { - length "0..1024"; - } - description "ErrStr"; - } - leaf err-timestamp { - type string { - length "0..32"; - } - description "ErrTimestamp"; - } - } - - grouping PARTIAL-CONFIG-STATUS { - description "PARTIAL CONFIG STATUS"; - leaf partial-config { - type uint8; - description "PartialConfig"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper.yang deleted file mode 100644 index 8eeed87..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-terminal-device-oper.yang +++ /dev/null @@ -1,199 +0,0 @@ -module Cisco-IOS-XR-terminal-device-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-terminal-device-oper"; - - - prefix "terminal-device-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-terminal-device-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR terminal-device package operational data. - - This module contains definitions - for the following management objects: - optical-interface: System-wide view of interface operational - data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container optical-interface { - config false; - description "System-wide view of interface operational data"; - - container config-status { - description "Table containing status information"; - - container partial-config { - description "The bag containing partial config status"; - uses PARTIAL-CONFIG-STATUS; - } - - container slice-tables { - description - "The container containing slice status - information"; - - list slice-table { - key "index"; - description "The table contains list of slices present"; - - container slice-status-attr { - description "The bag containing slice config status"; - uses SLICE-CONFIG-STATUS-ATTRIBUTES; - } - leaf index { - type int32; - description "The index of slice"; - } - } - } - } - - container optical-channel-interfaces { - description - "The operational attributes for a particular - optical channel"; - - list optical-channel-interface { - key "location"; - description - "The operational attributes for an optical - channel"; - - container optical-channel-interface-attr { - description - "The operational attributes for an optical - channel"; - uses OPTICAL-CHANNEL-ATTRIBUTES; - } - leaf location { - type xr:Cisco-ios-xr-string; - description "The name of the optical-channel"; - } - } - } - - container graph { - description - "Table containing Graph Structure and related - info"; - - container adj-list-path { - description - "The path containg file which has adjacency list - stored"; - uses ADJACENCY-LIST-PATH; - } - - container graph-structure-path { - description - "The path containg file which has graph - structure stored"; - uses GRAPH-STRUCTURE-PATH; - } - } - - container operational-modes { - description "The Operational Mode Table"; - - list operational-mode { - key "mode-id"; - description "Mode supported on Device"; - - container operational-mode-attributes { - description - "The operational attributes for mxp driver - fec-mode"; - uses OPERATIONAL-MODE-ATTRIBUTES; - } - leaf mode-id { - type int32; - description "Mode-id for supported mode on Device"; - } - } - } - - container optical-logical-interfaces { - description - "The operational attributes for a logical channel"; - - list optical-logical-interface { - key "index"; - description - "The operational attributes for a logical - channel"; - - container optical-logical-interface-attr { - description - "The operational attributes for a particular - logical channel"; - uses LOGICAL-CHANNEL-ATTRIBUTES; - } - - container "optical-logical-interface-logical-channel"+ - "-assignments" { - description - "The operational attributes for a particular - interface"; - - list "optical-logical-interface-logical-channel"+ - "-assignment" { - key "index"; - description - "The operational attributes for a logical - channel assignment"; - - container "optical-logical-interface-logical-channel"+ - "-assignment-attr" { - description - "The operational attributes for a logical - channel assignment"; - uses LOGICAL-CHANNEL-ASSIGNMENT; - } - leaf index { - type int32; - description "The index of the logical-channel"; - } - } - } - leaf index { - type int32; - description "The index of the logical-channel"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traceroute-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traceroute-act.yang deleted file mode 100755 index 3bedffb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traceroute-act.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-traceroute-act { - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act"; - - prefix "traceroute-act"; - - include "Cisco-IOS-XR-ipv4-traceroute-act"; - include "Cisco-IOS-XR-ipv6-traceroute-act"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR ping action package configuration. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-09-28" { - description - "IOS XR 6.2.1 revision."; - } - - rpc traceroute { - - description "Trace route to destination"; - - input { - - container destination { - - uses TRACEROUTE-OPTIONS; - - uses IPV6-SPECIFIC-OPTIONS; - } - - container ipv4 { - uses TRACEROUTE-OPTIONS; - } - - container ipv6 { - uses IPV6-TRACEROUTE-INPUT; - } - - } - - output { - - container traceroute-response { - - container ipv4 { - uses TRACEROUTE-OUTPUT; - } - - container ipv6 { - uses TRACEROUTE-OUTPUT; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traffmon-netflow-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traffmon-netflow-cfg.yang deleted file mode 100644 index 1ccea48..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-traffmon-netflow-cfg.yang +++ /dev/null @@ -1,495 +0,0 @@ -module Cisco-IOS-XR-traffmon-netflow-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-traffmon-netflow-cfg"; - - - prefix "traffmon-netflow-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR traffmon-netflow package configuration. - - This module contains definitions - for the following management objects: - net-flow: NetFlow Configuration - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Nf-export-timeout { - type uint32 { - range "0..604800"; - } - description "Nf export timeout"; - } - typedef Nf-active-cache-aging-timeout { - type uint32 { - range "1..604800"; - } - description "Nf active cache aging timeout"; - } - typedef Nf-inactive-cache-aging-timeout { - type uint32 { - range "0..604800"; - } - description "Nf inactive cache aging timeout"; - } - typedef Nf-sample-interval { - type uint32 { - range "1..65535"; - } - description "Nf sample interval"; - } - typedef Nf-sample-number { - type uint32; - description "Nf sample number"; - } - typedef Nf-template-timeout { - type uint32 { - range "1..604800"; - } - description "Nf template timeout"; - } - typedef Nf-map-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Nf map name"; - } - typedef Nf-cache-aging-mode { - type enumeration { - enum normal { - value 0; - description "Normal, caches age"; - } - enum permanent { - value 1; - description "Permanent, caches never age"; - } - enum immediate { - value 2; - description "Immediate, caches age immediately"; - } - } - description "Nf cache aging mode"; - } - typedef Nf-cache-entry { - type uint32 { - range "4096..1000000"; - } - description "Nf cache entry"; - } - typedef Nf-update-cache-aging-timeout { - type uint32 { - range "1..604800"; - } - description "Nf update cache aging timeout"; - } - typedef Nf-sampling-mode { - type enumeration { - enum random { - value 2; - description "Random sampling"; - } - } - description "Nf sampling mode"; - } - typedef Nf-export-version { - type uint32 { - range "9..10"; - } - description "Nf export version"; - } - typedef Nf-cache-timeout-rate-limit { - type uint32 { - range "1..1000000"; - } - description "Nf cache timeout rate limit"; - } - - grouping FLOW-MONITOR-NAME { - description "Common node of ingress, egress"; - - list flow-monitor-name { - key "monitor-map-name"; - description "Specify a sampler for a flow monitor"; - leaf monitor-map-name { - type xr:Cisco-ios-xr-string; - description "Flow monitor map name"; - } - leaf sampler-map-name { - type string; - mandatory true; - description "Sampler map name"; - } - } - } - - grouping FLOW-MONITOR-MAP { - description - "Common node of mpls, ipv4, ipv6, - data-link-frame-section"; - - container flow-monitor-map { - description "Configure a flow monitor map"; - - container ingress { - description "Configure ingress monitoring direction"; - uses FLOW-MONITOR-NAME; - } - - container egress { - description "Configure egress monitoring direction"; - uses FLOW-MONITOR-NAME; - } - } - } - - grouping NETFLOW-CFG-FLOW-MONITOR-MAP { - description - "Common node of mpls, ipv4, ipv6, - data-link-frame-sectionCommon node of - flow-monitor-map-table, - flow-monitor-map-performance-table"; - - list flow-monitor-map { - key "monitor-map-name"; - description "Monitor map name"; - - container option { - description "Specify an option for the flow cache"; - leaf filtered { - type empty; - description "Specify whether data should be filtered"; - } - leaf out-bundle-member { - type empty; - description - "Specify whether to export physical ifh for - bundle interface"; - } - leaf out-phys-int { - type empty; - description - "Specify whether it exports the physical output - interface"; - } - leaf bgp-attr { - type empty; - description - "Specify if BGP Attributes AS_PATH STD_COMM - should be exported"; - } - } - - container exporters { - description - "Configure exporters to be used by the - monitor-map"; - - list exporter { - key "exporter-name"; - description - "Configure exporter to be used by the - monitor-map"; - leaf exporter-name { - type Nf-map-name; - description "Exporter name"; - } - } - } - - container record { - presence "Indicates a record node is configured."; - description "Specify a flow record format"; - leaf record-name { - type Nf-map-name; - mandatory true; - description - "Flow record format (Either 'ipv4-raw' - ,'ipv4-peer-as', 'ipv6', 'mpls', 'mpls-ipv4', - 'mpls-ipv6', 'mpls-ipv4-ipv6', 'ipv6-peer-as')"; - } - leaf label { - type uint32 { - range "1..6"; - } - description "Enter label value for MPLS record type"; - } - } - leaf cache-update-aging-timeout { - type Nf-update-cache-aging-timeout; - units "second"; - default "1800"; - description "Specify the update flow cache aging timeout"; - } - leaf cache-entries { - type Nf-cache-entry; - default "65535"; - description - "Specify the number of entries in the flow cache"; - } - leaf cache-inactive-aging-timeout { - type Nf-inactive-cache-aging-timeout; - units "second"; - default "15"; - description "Specify the inactive flow cache aging timeout"; - } - leaf cache-active-aging-timeout { - type Nf-active-cache-aging-timeout; - units "second"; - default "1800"; - description "Specify the active flow cache aging timeout"; - } - leaf cache-timeout-rate-limit { - type Nf-cache-timeout-rate-limit; - default "2000"; - description - "Specify the maximum number of entries to age - each second"; - } - leaf cache-aging-mode { - type Nf-cache-aging-mode; - default "normal"; - description "Specify the flow cache aging mode"; - } - leaf monitor-map-name { - type Nf-map-name; - description "Monitor map name"; - } - } - } - - container net-flow { - description "NetFlow Configuration"; - - container flow-exporter-maps { - description "Configure a flow exporter map"; - - list flow-exporter-map { - key "exporter-map-name"; - description "Exporter map name"; - - container udp { - description "Use UDP as transport protocol"; - leaf destination-port { - type uint32 { - range "1024..65535"; - } - description "Configure Destination UDP port"; - } - } - - container versions { - description "Specify export version parameters"; - - list version { - key "version-number"; - description "Configure export version options"; - - container options { - description "Specify options for exporting templates"; - leaf interface-table-export-timeout { - type Nf-export-timeout; - units "second"; - description - "Specify timeout for exporting interface - table"; - } - leaf sampler-table-export-timeout { - type Nf-export-timeout; - units "second"; - description - "Specify timeout for exporting sampler table"; - } - leaf vrf-table-export-timeout { - type Nf-export-timeout; - units "second"; - description - "Specify timeout for exporting vrf table"; - } - } - leaf options-template-timeout { - type Nf-template-timeout; - units "second"; - default "1800"; - description "Option template configuration options"; - } - leaf common-template-timeout { - type Nf-template-timeout; - units "second"; - default "1800"; - description "Specify custom timeout for the template"; - } - leaf data-template-timeout { - type Nf-template-timeout; - units "second"; - default "1800"; - description "Data template configuration options"; - } - leaf version-number { - type Nf-export-version; - description "Export version number"; - } - } - } - - container destination { - description "Configure export destination (collector)"; - leaf ip-address { - type inet:ipv4-address-no-zone; - description "Destination IPv4 address"; - } - leaf ipv6-address { - type string; - description "IPV6 address of the tunnel destination"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - } - leaf source-interface { - type xr:Interface-name; - description "Configure source interface for collector"; - } - leaf dscp { - type uint32 { - range "0..63"; - } - description "Specify DSCP value for export packets"; - } - leaf packet-length { - type uint32 { - range "512..1468"; - } - description - "Configure Maximum Value for Export Packet size"; - } - leaf exporter-map-name { - type Nf-map-name; - description "Exporter map name"; - } - } - } - - container flow-sampler-maps { - description "Flow sampler map configuration"; - - list flow-sampler-map { - key "sampler-map-name"; - description "Sampler map name"; - - container sampling-modes { - description "Configure packet sampling mode"; - - list sampling-mode { - key "mode"; - description "Configure sampling mode"; - leaf mode { - type Nf-sampling-mode; - description "Sampling mode"; - } - leaf sample-number { - type Nf-sample-number; - mandatory true; - description - "Number of packets to be sampled in the - sampling interval"; - } - leaf interval { - type Nf-sample-interval; - mandatory true; - description "Sampling interval in units of packets"; - } - } - } - leaf sampler-map-name { - type Nf-map-name; - description "Sampler map name"; - } - } - } - - container flow-monitor-map-table { - description "Flow monitor map configuration"; - uses NETFLOW-CFG-FLOW-MONITOR-MAP; - } - - container flow-monitor-map-performance-table { - description - "Configure a performance traffic flow monitor map"; - uses NETFLOW-CFG-FLOW-MONITOR-MAP; - } - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container net-flow { - description "Interface netflow configuration"; - - container data-link-frame-section { - description "Configure datalinkframesection netflow"; - uses FLOW-MONITOR-MAP; - } - - container mpls { - description "Configure MPLS netflow"; - uses FLOW-MONITOR-MAP; - } - - container ipv6 { - description "Configure IPv6 netflow"; - uses FLOW-MONITOR-MAP; - } - - container ipv4 { - description "Configure IPv4 netflow"; - uses FLOW-MONITOR-MAP; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cfg.yang deleted file mode 100644 index 8ffd09f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cfg.yang +++ /dev/null @@ -1,188 +0,0 @@ -module Cisco-IOS-XR-tty-management-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-tty-management-cfg"; - - - prefix "tty-management-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-tty-management-datatypes { prefix "dt1"; } - - import Cisco-IOS-XR-tty-server-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-management package configuration. - - This YANG module augments the - Cisco-IOS-XR-tty-server-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-09-25" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:tty/a1:tty-lines/a1:tty-line" { - - container connection { - description "Management connection configuration"; - - container transport-input { - description - "Protocols to use when connecting to the - terminal server"; - leaf select { - type dt1:Tty-transport-protocol-select; - default "all"; - description "Choose transport protocols"; - } - leaf protocol1 { - when "../select = 'some'" { - description "../Select = 2"; - } - type dt1:Tty-transport-protocol; - description "Transport protocol1"; - } - leaf protocol2 { - when "../select = 'some'" { - description "../Select = 2"; - } - type dt1:Tty-transport-protocol; - description "Transport protocol2"; - } - leaf none { - type int32; - description "Not used"; - } - } - - container transport-output { - presence "Indicates a transport-output node is configured."; - description "Protocols to use for outgoing connections"; - leaf select { - type dt1:Tty-transport-protocol-select; - mandatory true; - description "Choose transport protocols"; - } - leaf protocol1 { - type dt1:Tty-transport-protocol; - description "Transport protocol1"; - } - leaf protocol2 { - type dt1:Tty-transport-protocol; - description "Transport protocol2"; - } - leaf none { - type int32; - description "Not used"; - } - } - - container session-timeout { - presence "Indicates a session-timeout node is configured."; - description - "Interval for closing connection when there is - no input traffic"; - leaf timeout { - type uint32 { - range "0..35791"; - } - mandatory true; - description "Session timeout interval in minutes"; - } - leaf direction { - type dt1:Tty-session-timeout-direction; - mandatory true; - description - "Include output traffic as well as input - traffic"; - } - } - leaf disconnect-character { - type xr:Char-num; - description - "Disconnect character's decimal equivalent value - or Character "; - } - leaf acl-in { - type string; - description "ACL to filter ingoing connections"; - } - leaf acl-out { - type string; - description "ACL to filter outgoing connections"; - } - leaf cli-white-space-completion { - type empty; - description "Command completion on whitespace"; - } - leaf session-limit { - type uint32 { - range "0..20"; - } - default "6"; - description "The number of outgoing connections"; - } - leaf escape-character { - type xr:Tty-escape-char-num; - default "30"; - description - "Escape character or ASCII decimal equivalent - value orspecial strings NONE,DEFAULT,BREAK"; - } - leaf transport-preferred { - type dt1:Tty-transport-protocol; - description "The preferred protocol to use"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-tty-server-cfg'"; - } - - augment "/a1:tty/a1:tty-lines/a1:tty-line" { - - container exec-mode { - description "Exec Mode Pager configurtion"; - leaf pager { - type dt1:Tty-pager; - default "more"; - description "Preferred Paging Utility"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-tty-server-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang deleted file mode 100644 index 9b2974a..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang +++ /dev/null @@ -1,64 +0,0 @@ -submodule Cisco-IOS-XR-tty-management-cmd-oper-sub1 { - - belongs-to Cisco-IOS-XR-tty-management-cmd-oper { - prefix Cisco-IOS-XR-tty-management-cmd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-management-cmd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping SHOWUSERS-ENTRY { - description " Per Line Information"; - leaf line { - type string; - description "Line Number"; - } - leaf user { - type string; - description "User Name"; - } - leaf service { - type string; - description "Service Name"; - } - leaf conns { - type string; - description "No. of Connections"; - } - leaf idle-string { - type string; - description "Idle Time"; - } - leaf location { - type string; - description "location"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper.yang deleted file mode 100644 index a387e02..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-cmd-oper.yang +++ /dev/null @@ -1,67 +0,0 @@ -module Cisco-IOS-XR-tty-management-cmd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-tty-management-cmd-oper"; - - - prefix "tty-management-cmd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - include Cisco-IOS-XR-tty-management-cmd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-management-cmd package operational data. - - This module contains definitions - for the following management objects: - show-users: Show users statistics - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container show-users { - config false; - description "Show users statistics"; - - container sessions { - description "Show users statistics"; - - list session { - key "session-id"; - description "Show users statistics"; - leaf session-id { - type int32; - description "Session Id"; - } - uses SHOWUSERS-ENTRY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-datatypes.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-datatypes.yang deleted file mode 100644 index 875c6cb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-datatypes.yang +++ /dev/null @@ -1,126 +0,0 @@ -module Cisco-IOS-XR-tty-management-datatypes { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-tty-management-datatypes"; - - - prefix "tty-management-datatypes"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of generally useful - derived YANG data types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Tty-pager { - type enumeration { - enum more { - value 1; - description "More paging Utility"; - } - enum less { - value 2; - description "Less paging Utility"; - } - enum none { - value 3; - description "No Paging Utility"; - } - } - description "Tty pager"; - } - typedef Tty-escape-char { - type union { - type enumeration { - enum break { - value 257; - description "Cause escape on BREAK"; - } - enum default { - value 30; - description "Use default escape character"; - } - enum none { - value 256; - description "Disable escape entirely"; - } - } - type uint32 { - range "0..257"; - } - } - description "Tty escape char"; - } - typedef Tty-transport-protocol-select { - type enumeration { - enum none { - value 0; - description "No protocols"; - } - enum all { - value 1; - description "All protocols"; - } - enum some { - value 2; - description "Some Protocol"; - } - } - description "Tty transport protocol select"; - } - typedef Tty-session-timeout-direction { - type enumeration { - enum in { - value 1; - description "Input traffic"; - } - enum in-out { - value 3; - description "In & Output traffic"; - } - } - description "Tty session timeout direction"; - } - typedef Tty-transport-protocol { - type enumeration { - enum none { - value 0; - description "No protocols"; - } - enum telnet { - value 1; - description "TCP/IP Telnet protocol"; - } - enum ssh { - value 3; - description "Unix ssh protocol"; - } - } - description "Tty transport protocol"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper-sub1.yang deleted file mode 100644 index f245fea..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper-sub1.yang +++ /dev/null @@ -1,144 +0,0 @@ -submodule Cisco-IOS-XR-tty-management-oper-sub1 { - - belongs-to Cisco-IOS-XR-tty-management-oper { - prefix Cisco-IOS-XR-tty-management-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-management package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Transport-service { - type enumeration { - enum unknown { - description "Unknown service"; - } - enum telnet { - description "Telnet"; - } - enum rlogin { - description "Remote login"; - } - enum ssh { - description "SSH"; - } - } - description "Transport service protocol"; - } - typedef Ipv6-address { - type inet:ipv6-address; - description "Ipv6 address"; - } - identity Host-af-id-base { - description "Base identity for Host-af-id"; - } - identity ipv4 { - base Host-af-id-base; - description "IPv4 family"; - } - identity ipv6 { - base Host-af-id-base; - description "IPv6 family"; - } - typedef Host-af-id { - type identityref { - base Host-af-id-base; - } - description "Host address family types"; - } - - grouping IP-ADDR-T-UNION { - description "IP ADDR T UNION"; - leaf af-name { - type Host-af-id; - description "AFName"; - } - leaf ipv4-address { - when "../af-name = 'ipv4'" { - description "../AFName = 'IPv4'"; - } - type inet:ipv4-address; - description "IPv4 address"; - } - leaf ipv6-address { - when "../af-name = 'ipv6'" { - description "../AFName = 'IPv6'"; - } - type Ipv6-address; - description "IPv6 address"; - } - } - - grouping SUSPENDED-SESSIONS { - description "Outgoing session information"; - - container host-address { - description "Host address"; - uses IP-ADDR-T-UNION; - } - leaf connection-id { - type uint8; - description "Connection ID [1-20]"; - } - leaf host-name { - type string; - description "Host name"; - } - leaf transport-protocol { - type Transport-service; - description "Session transport protocol"; - } - leaf is-last-active-session { - type boolean; - description "True indicates last active session"; - } - leaf idle-time { - type uint32; - units "second"; - description - "Elapsed time since session was suspended (in - seconds)"; - } - } - - grouping CONN-OUT-TABLE-BAG { - description "All outgoing sessions"; - - list outgoing-connection { - description "List of outgoing sessions"; - uses SUSPENDED-SESSIONS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper.yang deleted file mode 100644 index c8f548d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-management-oper.yang +++ /dev/null @@ -1,66 +0,0 @@ -module Cisco-IOS-XR-tty-management-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-tty-management-oper"; - - - prefix "tty-management-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-tty-server-oper { prefix "a1"; } - - include Cisco-IOS-XR-tty-management-oper-sub1 { - revision-date 2017-05-01; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-management package operational data. - - This YANG module augments the - Cisco-IOS-XR-tty-server-oper - module with state data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - augment "/a1:tty/a1:vty-lines/a1:vty-line" { - - container sessions { - description "Outgoing sessions"; - uses CONN-OUT-TABLE-BAG; - } - description - "This augment extends the operational data of - 'Cisco-IOS-XR-tty-server-oper'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-cfg.yang deleted file mode 100644 index 26b6001..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-cfg.yang +++ /dev/null @@ -1,221 +0,0 @@ -module Cisco-IOS-XR-tty-server-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg"; - - - prefix "tty-server-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-server package configuration. - - This module contains definitions - for the following management objects: - tty: TTY Line Configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container tty { - description "TTY Line Configuration"; - - container tty-lines { - description "TTY templates"; - - list tty-line { - key "name"; - description - "TTY Line,Use string 'console' to configure a - console line,Use string 'default' to configure - a default line,Use any string to configure a - user defined template"; - - container general { - description "TTY line general configuration"; - leaf length { - type uint32 { - range "0..512"; - } - default "24"; - description "Number of lines on a screen."; - } - leaf absolute-timeout { - type uint32 { - range "0..10000"; - } - units "minute"; - default "0"; - description "Absolute timeout for line disconnection"; - } - leaf width { - type uint32 { - range "0..512"; - } - default "80"; - description "Number of characters on a screen line."; - } - } - - container telnet { - description "Telnet protocol-specific configuration"; - leaf transparent { - type empty; - description - "Send a CR as a CR followed by a NULL instead - of a CRfollowed by a LF"; - } - } - - container aaa { - description - "Container class for AAA related TTY - configuration"; - - container user-groups { - description "Users characteristics"; - - list user-group { - key "name"; - description "Group to which the user will belong"; - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the group"; - } - leaf category { - type string; - mandatory true; - description - "Specify as 'root-system' for root-system - group and 'other' for remaining groups"; - } - } - } - - container authorization { - description "Authorization parameters"; - leaf exec { - type string; - description "For starting an exec (shell)"; - } - leaf event-manager { - type string; - description - "Specify 'default' or use an authorization - list with this name"; - } - leaf commands { - type string; - description "For exec (shell) configuration"; - } - } - - container authentication { - description "Authentication parameters"; - leaf login { - type string; - description "Authentication list name"; - } - } - - container accounting { - description "Accounting parameters"; - leaf exec { - type string; - description "For starting an exec (shell)"; - } - leaf commands { - type string; - description "For exec (shell) configuration"; - } - } - leaf login-timeout { - type uint32 { - range "0..300"; - } - units "second"; - default "30"; - description - "Timeouts for any user input during login - sequence"; - } - leaf secret { - type xr:Md5-password; - description - "Configure a secure one way encrypted password"; - } - leaf password { - type xr:Md5-password; - description "Configure the password for the user"; - } - } - - container exec { - description "EXEC timeout and timestamp configurtion"; - - container timeout { - presence "Indicates a timeout node is configured."; - description "EXEC Timeout"; - leaf minutes { - type uint32 { - range "0..35791"; - } - units "minute"; - mandatory true; - description "Timeout in minutes"; - } - leaf seconds { - type uint32 { - range "0..2147483"; - } - units "second"; - mandatory true; - description "Timeout in seconds"; - } - } - leaf time-stamp { - type boolean; - description - "'True' to Enable & 'False' to Disable time - stamp"; - } - } - leaf name { - type xr:Cisco-ios-xr-string; - description "Name of the template"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub1.yang deleted file mode 100644 index 584bf33..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub1.yang +++ /dev/null @@ -1,59 +0,0 @@ -submodule Cisco-IOS-XR-tty-server-oper-sub1 { - - belongs-to Cisco-IOS-XR-tty-server-oper { - prefix Cisco-IOS-XR-tty-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping TTY-CONNECTION-STATS { - description "TTY connection statistics"; - leaf incoming-host-address { - type string { - length "0..46"; - } - description "Incoming host address(max)"; - } - leaf host-address-family { - type uint32; - description "Incoming host address family"; - } - leaf service { - type uint32; - description "Input transport"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub2.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub2.yang deleted file mode 100644 index b89fe3d..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub2.yang +++ /dev/null @@ -1,49 +0,0 @@ -submodule Cisco-IOS-XR-tty-server-oper-sub2 { - - belongs-to Cisco-IOS-XR-tty-server-oper { - prefix Cisco-IOS-XR-tty-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping TTY-AAA-STATS { - description "AAA statistics"; - leaf user-name { - type string; - description "The authenticated username"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub3.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub3.yang deleted file mode 100644 index b29996c..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub3.yang +++ /dev/null @@ -1,49 +0,0 @@ -submodule Cisco-IOS-XR-tty-server-oper-sub3 { - - belongs-to Cisco-IOS-XR-tty-server-oper { - prefix Cisco-IOS-XR-tty-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping TTY-EXEC-PROP-STATS { - description "exec_prop statistics"; - leaf time-stamp-enabled { - type boolean; - description "Specifies whether timestamp is enabled or not"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub4.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub4.yang deleted file mode 100644 index 29a3844..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub4.yang +++ /dev/null @@ -1,89 +0,0 @@ -submodule Cisco-IOS-XR-tty-server-oper-sub4 { - - belongs-to Cisco-IOS-XR-tty-server-oper { - prefix Cisco-IOS-XR-tty-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping TTY-GENERAL-STATS { - description "TTY Server general statistics"; - leaf terminal-length { - type uint32; - description "Terminal length"; - } - leaf terminal-width { - type uint32; - description "Line width"; - } - leaf async-interface { - type boolean; - description "Usable as async interface"; - } - leaf flow-control-start-character { - type int8; - description "Software flow control start char"; - } - leaf flow-control-stop-character { - type int8; - description "Software flow control stop char"; - } - leaf domain-lookup-enabled { - type boolean; - description "DNS resolution enabled"; - } - leaf motd-banner-enabled { - type boolean; - description "MOTD banner enabled"; - } - leaf private-flag { - type boolean; - description "TTY private flag"; - } - leaf terminal-type { - type string; - description "Terminal type"; - } - leaf absolute-timeout { - type uint32; - description "Absolute timeout period"; - } - leaf idle-time { - type uint32; - description "TTY idle time"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub5.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub5.yang deleted file mode 100644 index 4171000..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper-sub5.yang +++ /dev/null @@ -1,84 +0,0 @@ -submodule Cisco-IOS-XR-tty-server-oper-sub5 { - - belongs-to Cisco-IOS-XR-tty-server-oper { - prefix Cisco-IOS-XR-tty-server-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - grouping TTY-RS232-STATS { - description "RS232 TTY statistics"; - leaf data-bits { - type uint32; - units "bit"; - description "Number of databits"; - } - leaf exec-disabled { - type boolean; - description "Exec disabled on TTY"; - } - leaf hardware-flow-control-status { - type uint32; - description "Hardware flow control status"; - } - leaf parity-status { - type uint32; - description "Parity status"; - } - leaf baud-rate { - type uint32; - units "bit/s"; - description "Inbound/Outbound baud rate in bps"; - } - leaf stop-bits { - type uint32; - units "bit"; - description "Number of stopbits"; - } - leaf overrun-error-count { - type uint32; - description "Overrun error count"; - } - leaf framing-error-count { - type uint32; - description "Framing error count"; - } - leaf parity-error-count { - type uint32; - description "Parity error count"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper.yang deleted file mode 100644 index 306ba34..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-server-oper.yang +++ /dev/null @@ -1,327 +0,0 @@ -module Cisco-IOS-XR-tty-server-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper"; - - - prefix "tty-server-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-tty-management-datatypes { prefix "dt1"; } - - include Cisco-IOS-XR-tty-server-oper-sub5 { - revision-date 2015-07-30; - } - - include Cisco-IOS-XR-tty-server-oper-sub4 { - revision-date 2015-07-30; - } - - include Cisco-IOS-XR-tty-server-oper-sub3 { - revision-date 2015-07-30; - } - - include Cisco-IOS-XR-tty-server-oper-sub2 { - revision-date 2015-07-30; - } - - include Cisco-IOS-XR-tty-server-oper-sub1 { - revision-date 2015-07-30; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-server package operational data. - - This module contains definitions - for the following management objects: - tty: TTY Line Configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-07-30" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - typedef Line-state { - type enumeration { - enum none { - value 0; - description "Line not connected"; - } - enum registered { - value 1; - description "Line registered"; - } - enum in-use { - value 2; - description "Line active and in use"; - } - } - description "Line state"; - } - typedef Session-operation { - type enumeration { - enum none { - value 0; - description "No sessions on the line"; - } - enum setup { - value 1; - description "Session getting set up"; - } - enum shell { - value 2; - description "Session active with a shell"; - } - enum transitioning { - value 3; - description "Session in transitioning phase"; - } - enum packet { - value 4; - description "Session ready to receive packets"; - } - } - description "Session operation"; - } - - grouping STATE { - description - "Common node of console-line, vty-line, - auxiliary-line"; - - container state { - description "Line state information"; - - container template { - description - "Information related to template applied to the - line"; - leaf name { - type string; - description "Name of the template"; - } - } - - container general { - description "General information"; - leaf operation { - type Session-operation; - description "application running of on the tty line"; - } - leaf general-state { - type Line-state; - description "State of the line"; - } - } - } - } - - grouping GENERAL-STATISTICS { - description - "Common node of console-statistics, vty-statistics - , auxiliary-statistics"; - - container general-statistics { - description "General statistics of line"; - uses TTY-GENERAL-STATS; - } - } - - grouping AAA { - description - "Common node of console-statistics, vty-statistics - , auxiliary-statistics"; - - container aaa { - description "AAA related statistics"; - uses TTY-AAA-STATS; - } - } - - grouping RS232 { - description - "Common node of console-statistics, - auxiliary-statistics"; - - container rs232 { - description "RS232 statistics of console line"; - uses TTY-RS232-STATS; - } - } - - grouping EXEC { - description - "Common node of console-statistics, vty-statistics - , auxiliary-statistics"; - - container exec { - description "Exec related statistics"; - uses TTY-EXEC-PROP-STATS; - } - } - - grouping CONFIGURATION { - description - "Common node of console-line, vty-line, - auxiliary-line"; - - container configuration { - description "Configuration information of the line"; - - container connection-configuration { - description "Conection configuration information"; - - container transport-input { - description - "Protocols to use when connecting to the - terminal server"; - leaf select { - type dt1:Tty-transport-protocol-select; - default "all"; - description "Choose transport protocols"; - } - leaf protocol1 { - when "../select = 'some'" { - description "../Select = 2"; - } - type dt1:Tty-transport-protocol; - description "Transport protocol1"; - } - leaf protocol2 { - when "../select = 'some'" { - description "../Select = 2"; - } - type dt1:Tty-transport-protocol; - description "Transport protocol2"; - } - leaf none { - type int32; - description "Not used"; - } - } - leaf acl-out { - type string; - description "ACL for outbound traffic"; - } - leaf acl-in { - type string; - description "ACL for inbound traffic"; - } - } - } - } - - container tty { - config false; - description "TTY Line Configuration"; - - container console-nodes { - description "List of Nodes for console"; - - list console-node { - key "id"; - description "Console line configuration on a node"; - - container console-line { - description "Console line"; - - container console-statistics { - description "Statistics of the console line"; - uses RS232; - uses GENERAL-STATISTICS; - uses EXEC; - uses AAA; - } - uses STATE; - uses CONFIGURATION; - } - leaf id { - type xr:Node-id; - description "Node ID"; - } - } - } - - container vty-lines { - description "List of VTY lines"; - - list vty-line { - key "line-number"; - description "VTY Line"; - - container vty-statistics { - description "Statistics of the VTY line"; - - container connection { - description "Connection related statistics"; - uses TTY-CONNECTION-STATS; - } - uses GENERAL-STATISTICS; - uses EXEC; - uses AAA; - } - leaf line-number { - type int32; - description "VTY Line number"; - } - uses STATE; - uses CONFIGURATION; - } - } - - container auxiliary-nodes { - description "List of Nodes attached with an auxiliary line"; - - list auxiliary-node { - key "id"; - description "Line configuration on a node"; - - container auxiliary-line { - description "Auxiliary line"; - - container auxiliary-statistics { - description "Statistics of the auxiliary line"; - uses RS232; - uses GENERAL-STATISTICS; - uses EXEC; - uses AAA; - } - uses STATE; - uses CONFIGURATION; - } - leaf id { - type xr:Node-id; - description "Node ID"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-vty-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-vty-cfg.yang deleted file mode 100644 index 3c3b907..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tty-vty-cfg.yang +++ /dev/null @@ -1,95 +0,0 @@ -module Cisco-IOS-XR-tty-vty-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg"; - - - prefix "tty-vty-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tty-vty package configuration. - - This module contains definitions - for the following management objects: - vty: VTY Pools configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-09-16" { - description - "Descriptions updated."; - } - - revision "2015-01-07" { - description - "IOS XR 5.3.1 revision."; - } - - - container vty { - description "VTY Pools configuration"; - - container vty-pools { - description "List of VTY Pools"; - - list vty-pool { - key "pool-name"; - description "VTY Pool"; - leaf pool-name { - type xr:Cisco-ios-xr-string; - description - "For configuring range for default pool use - 'default',For configuring range for - fault-manager pool use 'fm',For configuring - range for any user defined pool use any other - string"; - } - leaf first-vty { - type int32; - mandatory true; - description - "First VTY number,For default VTY use 0,For - user-defined use 5,For fault-manager use 100"; - } - leaf last-vty { - type int32; - mandatory true; - description - "Last VTY number,For default configure between - 0-99,For user-defined configure between 5-99 - ,For fault-manager configure between 100-199"; - } - leaf line-template { - type string; - description "Name of line template"; - } - leaf none { - type string; - description "Empty Option"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-gre-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-gre-cfg.yang deleted file mode 100644 index 69baf19..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-gre-cfg.yang +++ /dev/null @@ -1,210 +0,0 @@ -module Cisco-IOS-XR-tunnel-gre-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg"; - - - prefix "tunnel-gre-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-gre package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-01" { - description - "Fixing backward compatibility error in module."; - } - - revision "2016-05-25" { - description - "Initial version"; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Tunnel-mode-direction { - type enumeration { - enum decap { - value 1; - description "Decap-only tunnel"; - } - enum encap { - value 2; - description "Encap-only tunnel"; - } - } - description "Tunnel mode direction"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container tunnel-ip { - description "IP over GRE encapsulation"; - - container mode { - description "Tunnel encapsulation method"; - leaf value { - type int32; - description - "GRE IPV4 - 1, GRE IPV6 - 2, MGRE IPV4 - 3, - MGRE IPV6 -4. IPV4 - 5, IPV6 - 6"; - } - leaf mode-direction { - type Tunnel-mode-direction; - description "Tunnel Mode Direction"; - } - } - - container source { - description "Configure source of tunnel"; - leaf type { - type int32; - description - "1 for Interface Name, 2 for IPv4 Address, 3 - for IPv6 Address"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "IPV4 address of the tunnel source"; - } - leaf interface-name { - type xr:Interface-name; - description "Name of tunnel source interface"; - } - leaf ipv6-address { - type string; - description "IPV6 address of the tunnel source"; - } - } - - container key { - description - "Configure the key value for packets sent over - this tunnel"; - leaf entropy { - type empty; - description "Always set to true"; - } - leaf value { - type uint32 { - range "0..4294967295"; - } - description "Enter the KEY value"; - } - } - - container keepalive { - description "Enable keepalive packets on this tunnel"; - leaf keep-alive-period { - type uint32 { - range "1..32767"; - } - description - "Keepalive period in seconds (default 10 - seconds)"; - } - leaf keep-alive-retries { - type uint32 { - range "1..255"; - } - description "Number of retries (default 3)"; - } - } - - container destination { - description "Configure destination of tunnel"; - leaf type { - type int32; - description "1 for IPv4 Address, 2 for IPv6 Address"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "IPV4 address of the tunnel destination"; - } - leaf ipv6-address { - type string; - description "IPV6 address of the tunnel destination"; - } - leaf address-mask { - type inet:ipv4-address-no-zone; - description - "IPv4 prefix length of the tunnel destination"; - } - leaf prefix-list-name { - type xr:Cisco-ios-xr-string { - length "1..64"; - } - description - "Prefix-list to validate destination's - resolving prefix"; - } - } - leaf allow-key { - type empty; - description "Enable flag bit to allow packets with GRE key"; - } - leaf ttl { - type uint32 { - range "1..255"; - } - description - "Configure the time-to-live for packets sent - over this tunnel"; - } - leaf tunnel-vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Tunnel vrf label name"; - } - leaf tos { - type uint32 { - range "0..255"; - } - description - "Configure Type of Service bits for this tunnel"; - } - leaf disable { - type int32; - description "Disable DF bit (i.e. allow fragmentation)"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-cfg.yang deleted file mode 100644 index bbfa1f6..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-cfg.yang +++ /dev/null @@ -1,266 +0,0 @@ -module Cisco-IOS-XR-tunnel-l2tun-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg"; - - - prefix "tunnel-l2tun-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-l2tun package configuration. - - This module contains definitions - for the following management objects: - l2tp: L2TPv3 class used for L2VPNs - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef L2tp-no-user { - type uint32 { - range "0..4294967295"; - } - description "L2tp no user"; - } - typedef L2tp-hash-method { - type enumeration { - enum md5 { - value 1; - description "MD5"; - } - enum sha1 { - value 2; - description "SHA1"; - } - enum none { - value 3; - description "None"; - } - } - description "L2tp hash method"; - } - typedef L2tp-digest-hash-method { - type enumeration { - enum md5 { - value 1; - description "MD5"; - } - enum sha1 { - value 2; - description "SHA1"; - } - } - description "L2tp digest hash method"; - } - - grouping TIMEOUT { - description "Common node of initial, retransmit"; - - container timeout { - description "Set timeout value range"; - leaf minimum { - type uint32 { - range "1..8"; - } - description "Specify minimum timeout"; - } - leaf maximum { - type uint32 { - range "1..8"; - } - description "Specify maximum timeout"; - } - } - } - - container l2tp { - description "L2TPv3 class used for L2VPNs"; - - container classes { - description "List of classes"; - - list class { - key "class-name"; - description "Configuration for a specific class"; - - container security { - description "Security check"; - - container ip { - description "Security check for IP"; - leaf address-check { - type empty; - description - "Enable IP address check for L2TP packets"; - } - } - } - - container retransmit { - description "Control message retransmission parameters"; - - container initial { - description "Set retries and timeouts for initial"; - leaf retry { - type uint32 { - range "1..1000"; - } - description "Specify the retry number"; - } - uses TIMEOUT; - } - leaf retry { - type uint32 { - range "5..1000"; - } - description "Specify retransmit retry count"; - } - uses TIMEOUT; - } - - container tunnel { - description "l2TP tunnel"; - leaf accounting { - type string; - description "Tunnel accounting"; - } - } - - container digest { - description - "Message digest authentication for the L2TP - control connection"; - - container secrets { - description "Set shared secret for message digest"; - - list secret { - key "secret-name"; - description - "The encrypted user secret and hash method"; - leaf secret-name { - type xr:Cisco-ios-xr-string; - description "Specify the encrypted user secret"; - } - leaf hash { - type L2tp-hash-method; - mandatory true; - description "Specify hash method"; - } - } - } - leaf hash { - type L2tp-digest-hash-method; - description "Specify hash method"; - } - leaf check-disable { - type empty; - description "Disable digest checking"; - } - } - - container ip { - description "IP TOS value"; - leaf tos { - type uint32 { - range "0..255"; - } - description "IP TOS value (decimal)"; - } - } - leaf host-name { - type string; - description - "Local hostname for control connection - authentication"; - } - leaf hidden { - type empty; - description - "Specify to hide AVPs in outgoing control - messages"; - } - leaf hello-interval { - type uint32 { - range "0..1000"; - } - units "second"; - description "Specify interval (in seconds)"; - } - leaf timeout-setup { - type uint32 { - range "60..6000"; - } - units "second"; - description - "Time permitted to set up a control connection"; - } - leaf receive-window { - type uint32 { - range "1..16384"; - } - units "byte"; - description - "Receive window size for the control connection"; - } - leaf congestion-control { - type empty; - description "Congestion control enabled"; - } - leaf timeout-no-user { - type L2tp-no-user; - units "second"; - description "Timeout value for no-user in seconds"; - } - leaf authentication { - type int32; - description "Authenticate the L2TP control connection"; - } - leaf enable { - type empty; - description "Enable L2TPv3 class used for L2VPNs"; - } - leaf password { - type xr:Proprietary-password; - description - "Specify the password for control channel - authentication"; - } - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..31"; - } - description - "Specify the class name. Regexp: - ^[a-z0-9A-Z][-_.a-z0-9A-Z]*$"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang deleted file mode 100644 index e04522b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang +++ /dev/null @@ -1,911 +0,0 @@ -submodule Cisco-IOS-XR-tunnel-l2tun-oper-sub1 { - - belongs-to Cisco-IOS-XR-tunnel-l2tun-oper { - prefix Cisco-IOS-XR-tunnel-l2tun-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tunnel-l2tun package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Digest-hash { - type enumeration { - enum md5 { - description "MD5"; - } - enum sha1 { - description "SHA1"; - } - } - description "Digest hash types"; - } - - grouping L2TPV2-CC-ACCT-STATS-DATA { - description "L2TPv2 tunnel accounting statistics"; - leaf records-sent-successfully { - type uint64; - description "Accounting records sent successfully"; - } - leaf start { - type uint64; - description "Accounting start"; - } - leaf stop { - type uint64; - description "Accounting stop"; - } - leaf reject { - type uint64; - description "Accounting reject"; - } - leaf transport-failures { - type uint64; - description "Transport failures"; - } - leaf positive-acknowledgement { - type uint64; - description "Positive acknowledgement"; - } - leaf negative-acknowledgement { - type uint64; - description "Negative acknowledgement"; - } - leaf records-checkpointed { - type uint64; - description "Total records checkpointed"; - } - leaf records-failed-to-checkpoint { - type uint64; - description "Records fail to checkpoint"; - } - leaf records-sent-from-queue { - type uint64; - description "Records sent from queue"; - } - leaf memory-failures { - type uint32; - description "Memory failures"; - } - leaf current-size { - type uint32; - description "Current checkpoint size"; - } - leaf records-recovered-from-checkpoint { - type uint32; - description "Records recovered from checkpoint"; - } - leaf records-fail-to-recover { - type uint32; - description "Records fail to recover"; - } - leaf queue-statistics-size { - type int32; - description "Queue statistics size"; - } - } - - grouping L2TPV2-STATS-DATA { - description "L2TPv2 statistics"; - leaf tunnels { - type uint32; - description "Number of tunnels"; - } - leaf sessions { - type uint32; - description "Number of sessions"; - } - leaf sent-packets { - type uint32; - description "Number of packets sent"; - } - leaf received-packets { - type uint32; - description "Number of packets received"; - } - leaf average-packet-processing-time { - type uint32; - units "microsecond"; - description - "Average processing time for received packets - (in micro seconds)"; - } - leaf received-out-of-order-packets { - type uint32; - description "Out of order packets received"; - } - leaf reorder-packets { - type uint32; - description "Re order packets"; - } - leaf reorder-deviation-packets { - type uint32; - description "Re order deviation"; - } - leaf incoming-dropped-packets { - type uint32; - description "In coming packets dropped"; - } - leaf buffered-packets { - type uint32; - description "Bufferred packets"; - } - leaf netio-packets { - type uint32; - description "Packets RX in netio"; - } - } - - grouping L2TP-SESS-FWD-STATS { - description "L2TP session PD counters"; - leaf remote-session-id { - type uint32; - description "Remote session ID"; - } - leaf in-packets { - type uint64; - description "Number of packets sent in"; - } - leaf out-packets { - type uint64; - description "Number of packets sent out"; - } - leaf in-bytes { - type uint64; - units "byte"; - description "Number of bytes sent in"; - } - leaf out-bytes { - type uint64; - units "byte"; - description "Number of bytes sent out"; - } - } - - grouping L2TP-SESSION-ID-HOLD-DB-DATA { - description "L2TP hold database"; - leaf sessions-on-hold { - type uint32; - description "Number of session ID in hold database"; - } - } - - grouping L2TP-CTL-MSG-BRIEF-DATA { - description "L2TP control message brief data"; - leaf remote-tunnel-id { - type uint32; - description "Remote tunnel ID"; - } - leaf local-address { - type inet:ipv4-address; - description "Local IP address"; - } - leaf remote-address { - type inet:ipv4-address; - description "Remote IP address"; - } - } - - grouping L2TP-CTRL-MSG-STATS-DATA { - description "L2TP control message statistics data"; - - container brief { - description "L2TP control message local and remote addresses"; - uses L2TP-CTL-MSG-BRIEF-DATA; - } - - container global { - description "Global data"; - uses L2TP-CTRL-MSG-STATS-GLOBAL-DATA; - } - } - - grouping L2TP-CTRL-MSG-COUNTS { - description "L2TP control message counters data"; - leaf unknown-packets { - type uint32; - description "Unknown packets"; - } - leaf zero-length-body-packets { - type uint32; - description "Zero length body packets"; - } - leaf start-control-connection-requests { - type uint32; - description "Start control connection requests"; - } - leaf start-control-connection-replies { - type uint32; - description "Start control connection replies"; - } - leaf start-control-connection-notifications { - type uint32; - description "Start control connection notifications"; - } - leaf stop-control-connection-notifications { - type uint32; - description "Stop control connection notifications"; - } - leaf hello-packets { - type uint32; - description "Keep alive messages"; - } - leaf outgoing-call-requests { - type uint32; - description "Outgoing call requests"; - } - leaf outgoing-call-replies { - type uint32; - description "Outgoing call replies"; - } - leaf outgoing-call-connected-packets { - type uint32; - description "Outgoing call connected packets"; - } - leaf incoming-call-requests { - type uint32; - description "Incoming call requests"; - } - leaf incoming-call-replies { - type uint32; - description "Incoming call replies"; - } - leaf incoming-call-connected-packets { - type uint32; - description "Incoming call connected packets"; - } - leaf call-disconnect-notify-packets { - type uint32; - description "Call disconnect notify packets"; - } - leaf wan-error-notify-packets { - type uint32; - description "WAN error notify packets"; - } - leaf set-link-info-packets { - type uint32; - description "Set link info packets"; - } - leaf service-relay-requests { - type uint32; - description "Service relay request counts"; - } - leaf service-relay-replies { - type uint32; - description "Service relay reply counts"; - } - leaf acknowledgement-packets { - type uint32; - description "Packets acknowledgement"; - } - } - - grouping L2TP-CTRL-MSG-STATS-GLOBAL-DATA { - description "L2TP control message global data"; - - container transmit { - description "Transmit data"; - uses L2TP-CTRL-MSG-COUNTS; - } - - container retransmit { - description "Re transmit data"; - uses L2TP-CTRL-MSG-COUNTS; - } - - container received { - description "Received data"; - uses L2TP-CTRL-MSG-COUNTS; - } - - container drop { - description "Drop data"; - uses L2TP-CTRL-MSG-COUNTS; - } - leaf total-transmit { - type uint32; - description "Total transmit"; - } - leaf total-retransmit { - type uint32; - description "Total retransmit"; - } - leaf total-received { - type uint32; - description "Total received"; - } - leaf total-drop { - type uint32; - description "Total drop"; - } - } - - grouping L2TP-COMMON-DATA { - description "L2TP common data"; - leaf validate { - type uint32; - description "Validate"; - } - leaf bad-hash { - type uint32; - description "Bad hash"; - } - leaf bad-length { - type uint32; - description "Bad length"; - } - leaf ignored { - type uint32; - description "Ignored"; - } - leaf missing { - type uint32; - description "Missing"; - } - leaf passed { - type uint32; - description "Passed"; - } - leaf failed { - type uint32; - description "Failed"; - } - leaf skipped { - type uint32; - description "Skipped"; - } - leaf generate-response-failures { - type uint32; - description "Generate response fail"; - } - leaf unexpected { - type uint32; - description "Unexpected"; - } - leaf unexpected-zlb { - type uint32; - description "Unexpected ZLB"; - } - } - - grouping L2TP-AUTHEN-STATS-DATA { - description "L2TP authentication statistics"; - - container nonce-avp { - description "Nonce AVP statistics"; - uses L2TP-COMMON-DATA; - } - - container common-digest { - description "Common digest statistics"; - uses L2TP-COMMON-DATA; - } - - container primary-digest { - description "Primary digest statistics"; - uses L2TP-COMMON-DATA; - } - - container secondary-digest { - description "Secondary digest statistics"; - uses L2TP-COMMON-DATA; - } - - container integrity-check { - description "Integrity check statistics"; - uses L2TP-COMMON-DATA; - } - - container local-secret { - description "Local secret statistics"; - uses L2TP-COMMON-DATA; - } - - container challenge-avp { - description "Challenge AVP statistics"; - uses L2TP-COMMON-DATA; - } - - container challenge-reponse { - description "Challenge response statistics"; - uses L2TP-COMMON-DATA; - } - - container overall-statistics { - description "Overall statistics"; - uses L2TP-COMMON-DATA; - } - } - - grouping L2TP-SESSION-VPDN { - description "VPDN specific session data"; - leaf username { - type string; - description "Session username"; - } - leaf interface-name { - type xr:Interface-name; - description "Interface name"; - } - } - - grouping L2TP-SESSION-XCONNECT { - description "Xconnect specific session data"; - leaf circuit-name { - type string; - description "Circuit name"; - } - leaf sessionvc-id { - type uint32; - description "Session VC ID"; - } - leaf is-circuit-state-up { - type boolean; - description "True if circuit state is up"; - } - leaf is-local-circuit-state-up { - type boolean; - description "True if local circuit state is up"; - } - leaf is-remote-circuit-state-up { - type boolean; - description "True if remote circuit state is up"; - } - leaf ipv6-protocol-tunneling { - type boolean; - description "IPv6ProtocolTunneling"; - } - } - - grouping SESSION-APP { - description "Session application data"; - - container xconnect { - when "../l2tp-sh-sess-app-type = '4'" { - description "../l2tp_sh_sess_app_type = '4'"; - } - description "Xconnect data"; - uses L2TP-SESSION-XCONNECT; - } - - container vpdn { - when "../l2tp-sh-sess-app-type = '2'" { - description "../l2tp_sh_sess_app_type = '2'"; - } - description "VPDN data"; - uses L2TP-SESSION-VPDN; - } - leaf l2tp-sh-sess-app-type { - type uint32; - description "l2tp sh sess app type"; - } - } - - grouping L2TP-SESSION-INFO { - description "L2TP session information"; - - container session-application-data { - description "Session application data"; - uses SESSION-APP; - } - leaf local-ip-address { - type inet:ipv4-address; - description "Local session IP address"; - } - leaf remote-ip-address { - type inet:ipv4-address; - description "Remote session IP address"; - } - leaf l2tp-sh-sess-udp-lport { - type uint16; - description "l2tp sh sess udp lport"; - } - leaf l2tp-sh-sess-udp-rport { - type uint16; - description "l2tp sh sess udp rport"; - } - leaf protocol { - type uint8; - description "Protocol"; - } - leaf remote-tunnel-id { - type uint32; - description "Remote tunnel ID"; - } - leaf call-serial-number { - type uint32; - description "Call serial number"; - } - leaf local-tunnel-name { - type string { - length "0..256"; - } - description "Local tunnel name"; - } - leaf remote-tunnel-name { - type string { - length "0..256"; - } - description "Remote tunnel name"; - } - leaf remote-session-id { - type uint32; - description "Remote session ID"; - } - leaf l2tp-sh-sess-tie-breaker-enabled { - type uint8; - description "l2tp sh sess tie breaker enabled"; - } - leaf l2tp-sh-sess-tie-breaker { - type uint64; - description "l2tp sh sess tie breaker"; - } - leaf is-session-manual { - type boolean; - description "True if session is manual"; - } - leaf is-session-up { - type boolean; - description "True if session is up"; - } - leaf is-udp-checksum-enabled { - type boolean; - description "True if UDP checksum enabled"; - } - leaf is-sequencing-on { - type boolean; - description "True if session sequence is on"; - } - leaf is-session-state-established { - type boolean; - description "True if session state is established"; - } - leaf is-session-locally-initiated { - type boolean; - description "True if session initiated locally"; - } - leaf is-conditional-debug-enabled { - type boolean; - description "True if conditional debugging is enabled"; - } - leaf unique-id { - type uint32; - description "Unique ID"; - } - leaf interface-name { - type string { - length "0..256"; - } - description "Interface name"; - } - } - - grouping L2TP-CC-INFO { - description "L2TP tunnel information"; - leaf local-address { - type inet:ipv4-address; - description "Local tunnel address"; - } - leaf remote-address { - type inet:ipv4-address; - description "Remote tunnel address"; - } - leaf local-port { - type uint16; - description "Local port"; - } - leaf remote-port { - type uint16; - description "Remote port"; - } - leaf protocol { - type uint8; - description "Protocol"; - } - leaf is-pmtu-enabled { - type boolean; - description "True if tunnel PMTU checking is enabled"; - } - leaf remote-tunnel-id { - type uint32; - description "Remote tunnel ID"; - } - leaf local-tunnel-name { - type string { - length "0..256"; - } - description "Local tunnel name"; - } - leaf remote-tunnel-name { - type string { - length "0..256"; - } - description "Remote tunnel name"; - } - leaf class-name { - type string { - length "0..256"; - } - description "L2TP class name"; - } - leaf active-sessions { - type uint32; - description "Number of active sessions"; - } - leaf sequence-ns { - type uint16; - description "Sequence NS"; - } - leaf sequence-nr { - type uint16; - description "Sequence NR"; - } - leaf local-window-size { - type uint16; - description "Local window size"; - } - leaf remote-window-size { - type uint16; - description "Remote window size"; - } - leaf retransmission-time { - type uint16; - units "second"; - description "Retransmission time in seconds"; - } - leaf maximum-retransmission-time { - type uint16; - units "second"; - description "Maximum retransmission time in seconds"; - } - leaf unsent-queue-size { - type uint16; - description "Unsent queue size"; - } - leaf unsent-maximum-queue-size { - type uint16; - description "Unsent maximum queue size"; - } - leaf resend-queue-size { - type uint16; - description "Resend queue size"; - } - leaf resend-maximum-queue-size { - type uint16; - description "Resend maximum queue size"; - } - leaf order-queue-size { - type uint16; - description "Order queue size"; - } - leaf packet-queue-check { - type uint16; - description "Current number session packet queue check"; - } - leaf digest-secrets { - type uint16; - description - "Control message authentication with digest - secrets"; - } - leaf resends { - type uint32; - description "Total resends"; - } - leaf zero-length-body-acknowledgement-sent { - type uint32; - description "Total zero length body acknowledgement"; - } - leaf total-out-of-order-drop-packets { - type uint32; - description "Total out of order dropped packets"; - } - leaf total-out-of-order-reorder-packets { - type uint32; - description "Total out of order reorder packets"; - } - leaf total-peer-authentication-failures { - type uint32; - description "Number of peer authentication failures"; - } - leaf is-tunnel-up { - type boolean; - description "True if tunnel is up"; - } - leaf is-congestion-control-enabled { - type boolean; - description - "True if congestion control is enabled else false"; - } - leaf-list retransmit-time { - type uint16; - units "second"; - max-elements "9"; - description "Retransmit time distribution in seconds"; - } - } - - grouping L2TP-HIST-FAIL-STATS-BAG-DATA { - description - "L2TP history failure stats in either TX or RX - direction"; - leaf sess-down-tmout { - type uint32; - description "sesions affected due to timeout"; - } - leaf tx-counters { - type yang:hex-string; - description "Send side counters"; - } - leaf rx-counters { - type yang:hex-string; - description "Receive side counters"; - } - leaf-list pkt-timeout { - type uint32; - max-elements "24"; - description "timeout events by packet"; - } - } - - grouping L2TP-CC-CLASS-DATA { - description "L2TP class"; - leaf ip-tos { - type uint8; - description "IP TOS"; - } - leaf vrf-name { - type string { - length "0..256"; - } - description "VRF name"; - } - leaf receive-window-size { - type uint16; - description "Receive window size"; - } - leaf class-name-xr { - type string { - length "0..256"; - } - description "Class name"; - } - leaf digest-hash { - type Digest-hash; - description "Hash configured as MD5 or SHA1"; - } - leaf password { - type string { - length "0..25"; - } - description "Password"; - } - leaf encoded-password { - type string { - length "0..256"; - } - description "Encoded password"; - } - leaf host-name { - type string { - length "0..256"; - } - description "Host name"; - } - leaf accounting-method-list { - type string { - length "0..256"; - } - description "Accounting List"; - } - leaf hello-timeout { - type uint32; - units "second"; - description "Hello timeout value in seconds"; - } - leaf setup-timeout { - type uint32; - units "second"; - description "Timeout setup value in seconds"; - } - leaf retransmit-minimum-timeout { - type uint32; - units "second"; - description "Retransmit minimum timeout in seconds"; - } - leaf retransmit-maximum-timeout { - type uint32; - units "second"; - description "Retransmit maximum timeout in seconds"; - } - leaf initial-retransmit-minimum-timeout { - type uint32; - units "second"; - description "Initial timeout minimum in seconds"; - } - leaf initial-retransmit-maximum-timeout { - type uint32; - units "second"; - description "Initial timeout maximum in seconds"; - } - leaf timeout-no-user { - type uint32; - description "Timeout no user"; - } - leaf retransmit-retries { - type uint32; - description "Retransmit retries"; - } - leaf initial-retransmit-retries { - type uint32; - description "Initial retransmit retries"; - } - leaf is-authentication-enabled { - type boolean; - description "True if authentication is enabled"; - } - leaf is-hidden { - type boolean; - description "True if class is hidden"; - } - leaf is-digest-enabled { - type boolean; - description "True if digest authentication is enabled"; - } - leaf is-digest-check-enabled { - type boolean; - description "True if digest check is enabled"; - } - leaf is-congestion-control-enabled { - type boolean; - description "True if congestion control is enabled"; - } - leaf is-peer-address-checked { - type boolean; - description "True if peer address is checked"; - } - } - - grouping L2TP-CC-CFG-DATA { - description "L2TP tunnel configuration"; - - container l2tp-class { - description "L2Tp class data"; - uses L2TP-CC-CLASS-DATA; - } - leaf remote-tunnel-id { - type uint32; - description "Remote tunnel ID"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper.yang deleted file mode 100644 index 24c6c06..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-oper.yang +++ /dev/null @@ -1,260 +0,0 @@ -module Cisco-IOS-XR-tunnel-l2tun-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns"+ - "/yang/Cisco-IOS-XR-tunnel-l2tun-oper"; - - - prefix "tunnel-l2tun-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-tunnel-l2tun-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-l2tun package operational data. - - This module contains definitions - for the following management objects: - l2tp: L2TP operational data - l2tpv2: l2tpv2 - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping CONTROL { - description "Common node of counters, counters"; - - container control { - description "L2TP control messages counters"; - - container tunnel-xr { - description "L2TP control tunnel messages counters"; - - container authentication { - description "Tunnel authentication counters"; - uses L2TP-AUTHEN-STATS-DATA; - } - - container global { - description "Tunnel counters"; - uses L2TP-CTRL-MSG-STATS-GLOBAL-DATA; - } - } - - container tunnels { - description - "Table of tunnel IDs of control message counters"; - - list tunnel { - key "tunnel-id"; - description "L2TP tunnel control message counters"; - leaf tunnel-id { - type int32; - description "L2TP tunnel ID"; - } - uses L2TP-CTRL-MSG-STATS-DATA; - } - } - } - } - - grouping SESSION-TABLE { - description "Common node of l2tp, l2tpv2"; - - container sessions { - description "List of session IDs"; - - list session { - key "local-tunnel-id local-session-id"; - description "L2TP information for a particular session"; - leaf local-tunnel-id { - type int32; - description "Local tunnel ID"; - } - leaf local-session-id { - type int32; - description "Local session ID"; - } - uses L2TP-SESSION-INFO; - } - } - } - - grouping SESSION { - description "Common node of l2tp, l2tpv2"; - - container session { - description "L2TP control messages counters"; - - container unavailable { - description "L2TP session unavailable information"; - uses L2TP-SESSION-ID-HOLD-DB-DATA; - } - } - } - - grouping TUNNEL-CONFIGURATION-TABLE { - description "Common node of l2tp, l2tpv2"; - - container tunnel-configurations { - description "List of tunnel IDs"; - - list tunnel-configuration { - key "local-tunnel-id"; - description "L2TP tunnel information"; - leaf local-tunnel-id { - type int32; - description "Local tunnel ID"; - } - uses L2TP-CC-CFG-DATA; - } - } - } - - grouping TUNNEL-TABLE { - description "Common node of l2tp, l2tpv2"; - - container tunnels { - description "List of tunnel IDs"; - - list tunnel { - key "local-tunnel-id"; - description "L2TP tunnel information"; - leaf local-tunnel-id { - type int32; - description "Local tunnel ID"; - } - uses L2TP-CC-INFO; - } - } - } - - grouping COUNTER-HIST-FAIL { - description "Common node of l2tp, l2tpv2"; - - container counter-hist-fail { - description "Failure events leading to disconnection"; - uses L2TP-HIST-FAIL-STATS-BAG-DATA; - } - } - - grouping CLASS-TABLE { - description "Common node of l2tp, l2tpv2"; - - container classes { - description "List of L2TP class names"; - - list class { - key "class-name"; - description "L2TP class name"; - leaf class-name { - type xr:Cisco-ios-xr-string { - length "1..31"; - } - description "L2TP class name"; - } - uses L2TP-CC-CLASS-DATA; - } - } - } - - container l2tp { - config false; - description "L2TP operational data"; - - container counters { - description "L2TP control messages counters"; - uses CONTROL; - } - uses TUNNEL-CONFIGURATION-TABLE; - uses COUNTER-HIST-FAIL; - uses CLASS-TABLE; - uses TUNNEL-TABLE; - uses SESSION-TABLE; - uses SESSION; - } - - container l2tpv2 { - config false; - description "l2tpv2"; - - container counters { - description "L2TP control messages counters"; - - container forwarding { - description "L2TP forwarding messages counters"; - - container sessions { - description "List of class and session IDs"; - - list session { - key "tunnel-id session-id"; - description "L2TP information for a particular session"; - leaf tunnel-id { - type int32; - description "Local tunnel ID"; - } - leaf session-id { - type int32; - description "Local session ID"; - } - uses L2TP-SESS-FWD-STATS; - } - } - } - uses CONTROL; - } - - container statistics { - description "L2TP v2 statistics information"; - uses L2TPV2-STATS-DATA; - } - - container tunnel { - description "L2TPv2 tunnel "; - - container accounting { - description "Tunnel accounting counters"; - - container statistics { - description "Tunnel accounting statistics"; - uses L2TPV2-CC-ACCT-STATS-DATA; - } - } - } - uses TUNNEL-CONFIGURATION-TABLE; - uses COUNTER-HIST-FAIL; - uses CLASS-TABLE; - uses TUNNEL-TABLE; - uses SESSION-TABLE; - uses SESSION; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang deleted file mode 100644 index fd17eaf..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang"+ - "/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg"; - - - prefix "tunnel-l2tun-proto-mibs-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-snmp-agent-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-l2tun-proto-mibs package configuration. - - This YANG module augments the - Cisco-IOS-XR-snmp-agent-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - augment "/a1:snmp/a1:notification" { - - container l2tun { - description "Enable SNMP l2tun traps"; - leaf tunnel-up { - type boolean; - description "Enable L2TUN tunnel UP traps"; - } - leaf tunnel-down { - type boolean; - description "Enable L2TUN tunnel DOWN traps"; - } - leaf pseudowire-status { - type boolean; - description "Enable traps for L2TPv3 PW status"; - } - leaf sessions { - type boolean; - description "Enable L2TUN sessions traps"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-snmp-agent-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-cfg.yang deleted file mode 100644 index 3fbfafc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-cfg.yang +++ /dev/null @@ -1,250 +0,0 @@ -module Cisco-IOS-XR-tunnel-nve-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-cfg"; - - - prefix "tunnel-nve-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-nve package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-08-30" { - description - "Initial Revision."; - } - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Host-reach-protocol { - type enumeration { - enum bgp { - value 1; - description - "Use BGP EVPN for VxLAN tunnel endpoint - reachability"; - } - } - description "Host reach protocol"; - } - typedef Vni-range { - type uint32 { - range "1..16777215"; - } - description "Vni range"; - } - typedef Vxlan-udp-port-enum { - type enumeration { - enum ietf-udp-port { - value 4789; - description "IETF defined UDP port for VxLAN"; - } - enum ivx-lan-udp-port { - value 48879; - description "UDP port for iVxLAN"; - } - } - description "Vxlan udp port enum"; - } - typedef Overlay-encap-enum { - type enumeration { - enum vx-lan-encapsulation { - value 0; - description "VxLAN Encapsulation"; - } - enum soft-gre-encapsulation { - value 1; - description "Soft GRE Encapsulation"; - } - } - description "Overlay encap enum"; - } - typedef Unknown-unicast-flooding-enum { - type enumeration { - enum suppress-uuf { - value 1; - description "Suppress unknown unicast flooding"; - } - } - description "Unknown unicast flooding enum"; - } - typedef Load-balance-enum { - type enumeration { - enum per-evi { - value 1; - description "Per evi load balance mode"; - } - } - description "Load balance enum"; - } - typedef Ir-protocol-enum { - type enumeration { - enum bgp { - value 1; - description "Use BGP Protocol for Ingress-Replication"; - } - } - description "Ir protocol enum"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container nve { - description "NVE operational data"; - - container anycast { - description "Enable anycast mode for this NVE interface"; - leaf source-interface { - type string; - description "Name of the Anycast mode source interface"; - } - leaf sync-group { - type inet:ipv4-address-no-zone; - description - "MCast group for syncing between Anycast - gateways"; - } - } - - container redundancy { - description "Redundancy configuration for this NVE"; - - container backbone-vx-lan { - description "VXLAN backbone"; - leaf enable { - type empty; - description "Enable Backbone VxLAN"; - } - leaf backbone-vx-laniccp { - type int32; - description "VxLAN backbone ICCP group"; - } - } - - container backbone-mpls { - description "MPLS backbone"; - leaf backbone-mplsiccp { - type int32; - description "MPLS backbone ICCP group"; - } - leaf enable { - type empty; - description "Enable Backbone MPLS"; - } - } - leaf enable { - type empty; - description "Enable Redundancy"; - } - } - - container member-vnis { - description "VNI configuration Table for this NVE"; - - list member-vni { - key "vni-start vni-end"; - description "VNI member attributes"; - - container multicast { - presence "enable multicast"; - description - "Mulitcast core group range associated with - the VxLAN segment(s)"; - leaf multicast-group-min { - type inet:ipv4-address-no-zone; - description "IPV4 group address of the tunnel source"; - } - leaf multicast-group-max { - type inet:ipv4-address-no-zone; - description "IPV4 group address MAX"; - } - } - leaf host-reachability { - type Host-reach-protocol; - description - "Control protocol for VxLAN tunnel endpoint - reachability"; - } - leaf vrf { - type string; - description "VRF associated with the VxLAN segment"; - } - leaf unknown-unicast-flooding { - type Unknown-unicast-flooding-enum; - description "Suppression of unknown unicast flooding"; - } - leaf load-balance-per-evi { - type Load-balance-enum; - description "Per-evi load balance mode"; - } - leaf enable { - type empty; - description "Enable VNI"; - } - leaf vni-start { - type Vni-range; - description "Single VNI or Range Start"; - } - leaf vni-end { - type Vni-range; - description "Range End"; - } - } - } - leaf vx-lan-udp-port { - type Vxlan-udp-port-enum; - default "ietf-udp-port"; - description "UDP port number in VxLAN encapsulation"; - } - leaf overlay-encapsulation { - type Overlay-encap-enum; - default "vx-lan-encapsulation"; - description "The Overlay Encapsulation for this NVE"; - } - leaf source-interface { - type string; - description "Source Interface for this NVE"; - } - leaf ingress-replication-protocol { - type Ir-protocol-enum; - description "The Ingress Replication Protocol for this NVE"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang deleted file mode 100644 index 311cedc..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang +++ /dev/null @@ -1,190 +0,0 @@ -submodule Cisco-IOS-XR-tunnel-nve-oper-sub1 { - - belongs-to Cisco-IOS-XR-tunnel-nve-oper { - prefix Cisco-IOS-XR-tunnel-nve-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import ietf-yang-types { prefix "yang"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tunnel-nve package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - grouping NVE-SHOW-NVE-INTF-BD { - description "NVE Interface Information"; - leaf interface-name-xr { - type string; - description "Interface name"; - } - leaf state { - type int8; - description "State"; - } - leaf admin-state { - type int8; - description "Admin State"; - } - leaf flags { - type uint32; - description "Flags"; - } - leaf encap { - type int8; - description "Encap"; - } - leaf source-interface-name { - type string; - description "Source Interface name"; - } - leaf source-ipv4-address { - type inet:ipv4-address; - description "Source IPv4 Address"; - } - leaf if-handle { - type uint64; - description "NVE IfHandle"; - } - leaf source-state { - type int8; - description "Source Intf State"; - } - leaf udp-port { - type uint32; - description "UDP Port"; - } - leaf any-cast-source-interface-name { - type string; - description "Anycast Source Interface name"; - } - leaf any-cast-source-ipv4-address { - type inet:ipv4-address; - description "Anycast Source IPv4 Address"; - } - leaf any-cast-source-state { - type int8; - description "Anycast Source Interface State"; - } - leaf sync-mcast-ipv4-address { - type inet:ipv4-address; - description "MCAST sync group IPv4 Address"; - } - leaf sync-mcast-flags { - type uint32; - description "Sync McastFlags"; - } - } - - grouping NVE-SHOW-VNI-BD { - description "VNI Information"; - leaf interface-name { - type string; - description "NVE Interface name"; - } - leaf vni-xr { - type uint32; - description "VNI Number"; - } - leaf state { - type int8; - description "State"; - } - leaf mcast-ipv4-address { - type inet:ipv4-address; - description "MCAST IPv4 Address"; - } - leaf flags { - type uint32; - description "Flags"; - } - leaf vni-min { - type uint32; - description "VNI Min in Range"; - } - leaf vni-max { - type uint32; - description "VNI Max in Range"; - } - leaf mcast-flags { - type uint32; - description "McastFlags"; - } - leaf udp-port { - type uint32; - description "UDP Port"; - } - leaf bvi-ifh { - type uint32; - description "BVI Interface Handle"; - } - leaf bvi-state { - type uint8; - description "BVI Interface Oper State"; - } - leaf bvi-mac { - type yang:hex-string; - description "BVI MAC address"; - } - leaf vrf-name { - type string; - description "L3 VRF Name"; - } - leaf vrf-id { - type uint32; - description "L3 VRF ID"; - } - leaf ipv4-tbl-id { - type uint32; - description "IPv4 Table ID"; - } - leaf ipv6-tbl-id { - type uint32; - description "IPv6 Table ID"; - } - leaf vrf-vni { - type uint32; - description "VRF VNI"; - } - leaf topo-valid { - type boolean; - description "TOPO ID valid flag"; - } - leaf topo-id { - type uint32; - description "L2RIB Topology ID"; - } - leaf topo-name { - type string { - length "0..50"; - } - description "L2RIB Topology Name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper.yang deleted file mode 100644 index ff61631..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-nve-oper.yang +++ /dev/null @@ -1,82 +0,0 @@ -module Cisco-IOS-XR-tunnel-nve-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-oper"; - - - prefix "tunnel-nve-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-tunnel-nve-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-nve package operational data. - - This module contains definitions - for the following management objects: - nve: NVE operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container nve { - config false; - description "NVE operational data"; - - container vnis { - description "Table for VNIs"; - - list vni { - key "vni"; - description "The attributes for a particular VNI"; - leaf vni { - type xr:Cisco-ios-xr-string; - description "VNI ID"; - } - uses NVE-SHOW-VNI-BD; - } - } - - container interfaces { - description "Table for NVE interface attributes"; - - list interface { - key "interface-name"; - description "The attributes for a particular interface"; - leaf interface-name { - type xr:Interface-name; - description "Interface Name"; - } - uses NVE-SHOW-NVE-INTF-BD; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-cfg.yang deleted file mode 100644 index 2a48e4b..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-cfg.yang +++ /dev/null @@ -1,400 +0,0 @@ -module Cisco-IOS-XR-tunnel-vpdn-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg"; - - - prefix "tunnel-vpdn-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-vpdn package configuration. - - This module contains definitions - for the following management objects: - vpdn: VPDN configuration - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Df-bit { - type enumeration { - enum clear { - value 0; - description "Clear df bit"; - } - enum reflect { - value 1; - description "Reflect df bit from inner ip header"; - } - enum set { - value 2; - description "Set df bit"; - } - } - description "Df bit"; - } - typedef Option { - type enumeration { - enum local { - value 1; - description "Log VPDN events locally"; - } - enum user { - value 2; - description "Log VPDN user events"; - } - enum dead-cache { - value 8; - description "Log VPDN dead cache"; - } - enum tunnel-drop { - value 16; - description "Log VPDN tunnel drops"; - } - } - description "Option"; - } - - container vpdn { - description "VPDN configuration"; - - container history { - description "VPDN history logging"; - leaf failure { - type empty; - description "User failure"; - } - } - - container redundancy { - description "Enable VPDN redundancy"; - - container process-failures { - description "Process crash configuration"; - leaf switchover { - type empty; - description "Force a switchover if the process crashes"; - } - } - leaf enable { - type empty; - description - "Enable Enable VPDN redundancy. Deletion of this - object also causes deletion of all associated - objects under Redundancy."; - } - } - - container local { - description "VPDN Local radius process configuration"; - leaf secret-text { - type string { - length "1..32"; - } - description "secret password"; - } - leaf path { - type string { - length "1..64"; - } - description "local path of the saved profile"; - } - leaf cache-disabled { - type empty; - description "Set constant integer"; - } - leaf port { - type xr:Cisco-ios-xr-port-number; - description "port value"; - } - } - - container templates { - description "Table of Template"; - - list template { - key "template-name"; - description "VPDN template configuration"; - - container caller-id { - description "Options to apply on calling station id"; - leaf mask { - type string { - length "1..63"; - } - description "Mask characters by method"; - } - } - - container vpn { - description "VPN ID/VRF name"; - - container id { - description "VPN ID"; - leaf oui { - type xr:Hex-integer; - description - "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes - OUI Part"; - } - leaf index { - type xr:Hex-integer; - description - "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes - VPN_Index Part"; - } - } - leaf vrf { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "VRF name"; - } - } - - container tunnel { - description "L2TP tunnel commands"; - leaf busy-timeout { - type uint32 { - range "60..65535"; - } - units "second"; - description "Busy time out value in seconds"; - } - } - - container ip { - description "Set IP TOS value"; - leaf tos { - type int32; - description "Set constant integer"; - } - } - - container ipv4 { - description "IPv4 settings for tunnel"; - leaf df-bit { - type Df-bit; - description "IPv4 don't fragment bit set/clear/reflect"; - } - leaf source { - type inet:ipv4-address-no-zone; - description "Enter an IP address"; - } - } - leaf cisco-avp100-format-e-enable { - type empty; - description - "To support NAS-Port format e in Cisco AVP 100"; - } - leaf description { - type string { - length "1..100"; - } - description - "Up to 100 characters describing this VPDN - template"; - } - leaf l2tp-class { - type xr:Cisco-ios-xr-string { - length "1..79"; - } - description "L2TP class command"; - } - leaf dsl-line-forwarding { - type empty; - description "Forward DSL Line Info attributes"; - } - leaf template-name { - type xr:Cisco-ios-xr-string { - length "1..63"; - } - description "VPDN template name"; - } - } - } - - container caller-id { - description "Options to apply on calling station ID"; - leaf mask { - type string { - length "1..63"; - } - description "Mask characters by method"; - } - } - - container vpd-ngroups { - description "Table of VPDNgroup"; - - list vpd-ngroup { - key "vpd-ngroupname"; - description "vpdn-group configuration"; - - container vpn-id { - description "Vpn id"; - leaf vpn-id-oui { - type xr:Hex-integer; - description - "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes - OUI Part"; - } - leaf vpn-id-index { - type xr:Hex-integer; - description - "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes - VPN_Index Part"; - } - } - - container ip { - description "set ip tos value"; - leaf tos { - type uint32 { - range "0..255"; - } - description "ip tos value"; - } - } - leaf dsl-line-forwarding { - type empty; - description "Forward DSL Line Info attributes"; - } - leaf cisco-avp100-format-e-enable { - type empty; - description - "To support NAS-Port format e in cisco AVP 100"; - } - leaf desc { - type string { - length "1..100"; - } - description - "upto 100 characters describing this VPDN group"; - } - leaf attribute { - type string { - length "1..63"; - } - description "match substring"; - } - leaf l2tp-class { - type string { - length "1..79"; - } - description "l2tp class name"; - } - leaf tunnel-busy-timeout { - type uint32 { - range "1..65535"; - } - description "Busy list timeout length"; - } - leaf vrf-name { - type xr:Cisco-ios-xr-string { - length "1..32"; - } - description "Vrf name"; - } - leaf sr-ctemplate { - type string { - length "1..63"; - } - description "Source vpdn-template"; - } - leaf vpd-ngroupname { - type xr:Cisco-ios-xr-string { - length "1..63"; - } - description "vpdn-group name"; - } - } - } - - container loggings { - description "Table of Logging"; - - list logging { - key "option"; - description "Configure logging for VPDN"; - leaf option { - type Option; - description "VPDN logging options"; - } - } - } - - container l2tp { - description "L2TPv2 protocol commands"; - - container session-id { - description "Session ID commands"; - - container space { - description "Session ID space commands"; - leaf hierarchy { - type empty; - description "Session ID space hierarchical command"; - } - } - } - leaf tcp-mss-adjust { - type uint32 { - range "1280..1460"; - } - description - "TCP MSS adjust value. The acceptable values - might be further limited depending on platform."; - } - leaf reassembly { - type empty; - description "L2TP IP packet reassembly enable"; - } - } - leaf session-limit { - type uint32 { - range "1..131072"; - } - description "Maximum simultaneous VPDN sessions"; - } - leaf enable { - type empty; - description - "Enable VPDN configuration. Deletion of this - object also causes deletion of all associated - objects under VPDN."; - } - leaf soft-shut { - type empty; - description "New session no longer allowed"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang deleted file mode 100644 index 3e75112..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang +++ /dev/null @@ -1,733 +0,0 @@ -submodule Cisco-IOS-XR-tunnel-vpdn-oper-sub1 { - - belongs-to Cisco-IOS-XR-tunnel-vpdn-oper { - prefix Cisco-IOS-XR-tunnel-vpdn-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR tunnel-vpdn package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Vpdn-failcode { - type enumeration { - enum unknown { - description "Unknown"; - } - enum peer-action { - description "Peer action"; - } - enum authentication { - description "Authentication"; - } - enum authentication-error { - description "Authentication"; - } - enum authentication-failed { - description "Authentication"; - } - enum authorization { - description "Authorization"; - } - enum authorization-failed { - description "Authorization"; - } - enum home-gatewayfailure { - description "No resources available"; - } - enum connection-termination { - description "Connection termination"; - } - enum no-resources-available { - description "No resources available"; - } - enum timer-expiry { - description "Timer expiry"; - } - enum session-mid-exceeded { - description "Session limit"; - } - enum soft-shut { - description "Softshut"; - } - enum session-limit-exceeded { - description "Session limit"; - } - enum administrative { - description "Administrative"; - } - enum link-failure { - description "Link failure"; - } - enum security { - description "Security"; - } - enum tunnel-in-resync { - description "Tunnel in HA resync"; - } - enum call-prarmeters { - description "Call parameters"; - } - } - description "VPDN failure types"; - } - typedef Vpdn-state { - type enumeration { - enum initial-state { - description "Initial state"; - } - enum init-sync-in-progress { - description "Initial Sync in progress"; - } - enum steady-state { - description "Initial Sync Done"; - } - } - description "Vpdn states"; - } - typedef Lsg-status { - type enumeration { - enum none { - value 0; - description "Member not initialized."; - } - enum active { - value 1; - description "Member is active."; - } - enum down { - value 2; - description "Member is down, cannot create new sessions."; - } - enum testable { - value 3; - description "Member is ready for new sessions."; - } - enum testing { - value 4; - description "Member is being tested for new session"; - } - } - description "LSG Status"; - } - typedef Tos-mode { - type enumeration { - enum default { - value 0; - description "default"; - } - enum set { - value 1; - description "set"; - } - enum reflect { - value 2; - description "reflect"; - } - } - description "TOS modes"; - } - typedef Vpdn-nas-port { - type enumeration { - enum none { - description "None"; - } - enum primary { - description "Primary"; - } - enum bri { - description "BRI"; - } - enum serial { - description "Serial"; - } - enum asynchronous { - description "Asynchronous"; - } - enum vty { - description "VTY"; - } - enum atm { - description "Asynchronous transfer mode"; - } - enum ethernet { - description "Ethernet"; - } - enum ppp-atm { - description "PPP over ATM"; - } - enum pppoe-over-atm { - description "PPPoE over ATM"; - } - enum pppoe-over-ethernet { - description "PPPoE over Ethernet"; - } - enum pppoe-over-vlan { - description "PPPoE over VLAN"; - } - enum pppoe-over-q-in-q { - description "PPPoE over Q-in-Q"; - } - enum v120 { - description " V120"; - } - enum v110 { - description "V110"; - } - enum piafs { - description "PIAFS"; - } - enum x75 { - description "X.75"; - } - enum ip-sec { - description "IPSec"; - } - enum other { - description "Other"; - } - enum virtual-pppoe-over-ethernet { - description "Virtual PPPoE over Ethernet"; - } - enum virtual-pppoe-over-vlan { - description " Virtual PPPoE over VLAN"; - } - enum virtual-pppoe-over-q-in-q { - description "Virtual PPPoE over Q-in-Q"; - } - enum ipo-e-over-ethernet { - description "IPoE over Ethernet"; - } - enum ipo-e-over-vlan { - description "IPoE over VLAN"; - } - enum ipo-e-over-q-in-q { - description "IPoE over Q-in-Q"; - } - enum virtual-i-po-e-over-ethernet { - description "Virtual IPoE over ethernet"; - } - enum virtual-i-po-e-over-vlan { - description "Virtual IPoE over VLAN"; - } - enum virtual-i-po-e-over-q-in-q { - description "Virtual IPoE over Q-in-Q"; - } - enum unknown { - description "Unknown"; - } - } - description "NAS port types"; - } - typedef Session-state { - type enumeration { - enum idle { - description "Idle state"; - } - enum connected { - description "Connected state"; - } - enum established { - description "Established state"; - } - } - description "Session states"; - } - - grouping VPDN-HISTORY-ENTRY { - description "VPDN history data"; - leaf username-xr { - type string; - description "Authentication username"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf mid { - type uint16; - description "VPDN user session ID"; - } - leaf nas { - type string; - description "Network access server"; - } - leaf destination-address { - type inet:ipv4-address; - description "NAS IP address"; - } - leaf remote-client-id { - type uint16; - description "Remote client ID"; - } - leaf home-gateway { - type string; - description "Home gateway"; - } - leaf source-address { - type inet:ipv4-address; - description "Source IP address"; - } - leaf local-client-id { - type uint16; - description "Local client ID"; - } - leaf event-time { - type string; - description - "Event logged time in Ex: Wed Aug 3 10:28:30 - 2011"; - } - leaf error-repeat-count { - type uint16; - description "Error repeat count"; - } - leaf failure-type { - type Vpdn-failcode; - description "Failure type"; - } - } - - grouping VPDN-REDUNDANCY { - description "vpdn redundancy"; - leaf session-total { - type uint32; - description "session total"; - } - leaf session-synced { - type uint32; - description "session synced"; - } - leaf state { - type Vpdn-state; - description "state"; - } - leaf start-time { - type uint64; - description "start time"; - } - leaf finish-time { - type uint64; - description "finish time"; - } - leaf abort-time { - type uint64; - description "abort time"; - } - } - - grouping L2TP-NSR-QAD-STATS-RECV { - description "L2TP NSR QAD receive statistics"; - leaf msgs-recvd { - type uint32; - description "msgs recvd"; - } - leaf acks-recvd { - type uint32; - description "acks recvd"; - } - leaf recvd-acks-failed { - type uint32; - description "recvd acks failed"; - } - leaf init-drops { - type uint32; - description "init drops"; - } - leaf msg-drops { - type uint32; - description "msg drops"; - } - leaf ooo-drops { - type uint32; - description "ooo drops"; - } - leaf stale-msgs { - type uint32; - description "stale msgs"; - } - } - - grouping L2TP-NSR-QAD-STATS-SEND { - description "L2TP NSR QAD send statistics"; - leaf msgs-sent { - type uint32; - description "msgs sent"; - } - leaf acks-sent { - type uint32; - description "acks sent"; - } - leaf no-partner { - type uint32; - description "no partner"; - } - leaf sends-failed { - type uint32; - description "sends failed"; - } - leaf acks-failed { - type uint32; - description "acks failed"; - } - leaf pending-acks { - type uint32; - description "pending acks"; - } - leaf timeouts { - type uint32; - description "timeouts"; - } - leaf suspends { - type uint32; - description "suspends"; - } - leaf resumes { - type uint32; - description "resumes"; - } - leaf sends-fragment { - type uint32; - description "sends fragment"; - } - leaf qad-last-seq-number { - type uint32; - description "qad last seq number"; - } - leaf qad-frag-count { - type uint32; - description "qad frag count"; - } - leaf qad-ack-count { - type uint32; - description "qad ack count"; - } - leaf qad-unknown-acks { - type uint32; - description "qad unknown acks"; - } - leaf qad-timeouts { - type uint32; - description "qad timeouts"; - } - leaf qad-rx-count { - type uint32; - description "qad rx count"; - } - leaf qad-rx-list-count { - type uint32; - description "qad rx list count"; - } - leaf qad-rx-list-q-size { - type uint32; - description "qad rx list q size"; - } - leaf qad-rx-first-seq-number { - type uint32; - description "qad rx first seq number"; - } - } - - grouping VPDN-MIRRORING-STATS { - description "VPDN mirroring stats"; - - container qad-send-stats { - description "qad send stats"; - uses L2TP-NSR-QAD-STATS-SEND; - } - - container qad-recv-stats { - description "qad recv stats"; - uses L2TP-NSR-QAD-STATS-RECV; - } - - container qad-send-stats-last-clear { - description "qad send stats last clear"; - uses L2TP-NSR-QAD-STATS-SEND; - } - - container qad-recv-stats-last-clear { - description "qad recv stats last clear"; - uses L2TP-NSR-QAD-STATS-RECV; - } - leaf sync-not-conn-cnt { - type uint32; - description "sync not conn cnt"; - } - leaf sso-err-cnt { - type uint32; - description "sso err cnt"; - } - leaf sso-batch-err-cnt { - type uint32; - description "sso batch err cnt"; - } - leaf alloc-err-cnt { - type uint32; - description "alloc err cnt"; - } - leaf alloc-cnt { - type uint32; - description "alloc cnt"; - } - } - - grouping VPDN-LSG-NODE { - description "VPDN LSG member"; - leaf vrf-name-xr { - type string; - description "VRF name"; - } - leaf load { - type uint32; - description "Current load on LNS"; - } - leaf status { - type Lsg-status; - description "Status of LNS"; - } - leaf connects { - type uint32; - description "Total count of tunnels connected"; - } - leaf disconnects { - type uint32; - description "Total count of tunnels disconnected"; - } - leaf retry { - type uint32; - description "Retries"; - } - leaf status-change-time { - type uint32; - units "second"; - description "Seconds since last status change"; - } - } - - grouping VPDN-VPN-ID { - description "VPDN ID"; - leaf oui { - type uint32; - description "OUI"; - } - leaf index { - type uint32; - description "Index"; - } - } - - grouping VPDN-CONFIG { - description "VPDN user configuration data"; - - container vpn-id { - description "VPN ID"; - uses VPDN-VPN-ID; - } - leaf template-name { - type string; - description "Template name"; - } - leaf vrf-name { - type string; - description "VRF name"; - } - leaf l2tp-busy-timeout { - type uint16; - units "second"; - description "L2TP busy timeout in seconds"; - } - leaf tos-mode { - type Tos-mode; - description "TOS mode"; - } - leaf tos { - type uint8; - description "TOS setting value"; - } - leaf dsl-line-forwarding { - type boolean; - description "True if DSL line info forwarding is enabled"; - } - } - - grouping VPDN-SUBSCRIBER { - description "VPDN session subscriber data"; - leaf nas-port-type { - type Vpdn-nas-port; - description "NAS port type"; - } - leaf physical-channel-id { - type uint32; - description "Physical channel ID"; - } - leaf receive-connect-speed { - type uint64; - units "nanosecond"; - description "Receive connect speed in nanoseconds"; - } - leaf transmit-connect-speed { - type uint64; - units "nanosecond"; - description "Transmit connect speed in nanoseconds"; - } - leaf-list nas-port { - type uint8; - description "NAS port ID"; - } - } - - grouping VPDN-L2TP { - description "VPDN session L2TP data"; - leaf local-endpoint { - type inet:ipv4-address; - description "Local endpoint IP address"; - } - leaf remote-endpoint { - type inet:ipv4-address; - description "Remote endpoint IP address"; - } - leaf call-serial-number { - type uint32; - description "Call serial number"; - } - leaf is-l2tp-class-attribute-mask-set { - type boolean; - description "True if L2TP class attribute mask is set"; - } - leaf local-tunnel-id { - type uint16; - description "Local tunnel ID"; - } - leaf remote-tunnel-id { - type uint16; - description "Remote tunnel ID"; - } - leaf local-session-id { - type uint16; - description "Local session ID"; - } - leaf remote-session-id { - type uint16; - description "Remote session ID"; - } - leaf remote-port { - type uint16; - description "Remote port"; - } - leaf tunnel-client-authentication-id { - type string; - description "Tunnel client authentication ID"; - } - leaf tunnel-server-authentication-id { - type string; - description "Tunnel server authentication ID"; - } - leaf tunnel-assignment-id { - type string; - description "Tunnel assignment ID"; - } - leaf is-tunnel-authentication-enabled { - type boolean; - description "True if tunnel authentication is enabled"; - } - } - - grouping VPDN-EDM-SHOW-SESSION-BR { - description "VPDN session brief information"; - leaf last-change { - type string; - description - "Elapsed time since last change in hh:mm:ss - format"; - } - leaf interface-name { - type xr:Interface-name; - description "Session interface name"; - } - leaf username { - type string; - description "Authentication username"; - } - leaf domain-name { - type string; - description "Domain name"; - } - leaf state { - type Session-state; - description "Session state"; - } - leaf l2tp-session-id { - type uint16; - description "L2TP session ID"; - } - leaf l2tp-tunnel-id { - type uint16; - description "L2TP tunnel ID"; - } - leaf srg-slave { - type boolean; - description "Session SRG Slave"; - } - } - - grouping VPDN-EDM-SHOW-SESSION-DET { - description "VPDN session detail"; - - container session { - description "Session data"; - uses VPDN-EDM-SHOW-SESSION-BR; - } - - container l2tp { - description "L2TP data"; - uses VPDN-L2TP; - } - - container subscriber { - description "Subscriber data"; - uses VPDN-SUBSCRIBER; - } - - container configuration { - description "Configuration data"; - uses VPDN-CONFIG; - } - leaf setup-time { - type uint32; - description "Time to setup session in sec:msec"; - } - leaf parent-interface-name { - type xr:Interface-name; - description "Parent interface name"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper.yang deleted file mode 100644 index 932db81..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-tunnel-vpdn-oper.yang +++ /dev/null @@ -1,114 +0,0 @@ -module Cisco-IOS-XR-tunnel-vpdn-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-oper"; - - - prefix "tunnel-vpdn-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-tunnel-vpdn-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR tunnel-vpdn package operational data. - - This module contains definitions - for the following management objects: - vpdn: VPDN operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container vpdn { - config false; - description "VPDN operational data"; - - container sessions { - description "VPDN session list"; - - list session { - key "session-label"; - description " VPDN session information"; - leaf session-label { - type xr:Hex-integer; - description "Session label"; - } - uses VPDN-EDM-SHOW-SESSION-DET; - } - } - - container tunnel-destinations { - description "VPDN tunnel Destinations"; - - list tunnel-destination { - description "VPDN tunnel destination information"; - leaf vrf-name { - type xr:Cisco-ios-xr-string; - description "VRF name"; - } - leaf address { - type inet:ipv4-address-no-zone; - description "IP address"; - } - uses VPDN-LSG-NODE; - } - } - - container vpdn-mirroring { - description "VPDN Mirroring Statistics"; - uses VPDN-MIRRORING-STATS; - } - - container vpdn-redundancy { - description "Show VPDN Redundancy information"; - uses VPDN-REDUNDANCY; - } - - container history-failures { - description "VPDN history failure list"; - - list history-failure { - description "VPDN history failure information"; - leaf username { - type string; - description "Username"; - } - leaf remote-name { - type xr:Cisco-ios-xr-string; - description "Remote name"; - } - uses VPDN-HISTORY-ENTRY; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-types.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-types.yang deleted file mode 100644 index 68bae38..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-types.yang +++ /dev/null @@ -1,567 +0,0 @@ -module Cisco-IOS-XR-types { - - namespace "http://cisco.com/ns/yang/cisco-xr-types"; - prefix "xr"; - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 W Tasman Drive - San Jose, CA 95134 - - Tel: +1 1800 553-NETS - - E-mail: cs-yang@cisco.com"; - - - description - "This module contains a collection of IOS-XR derived YANG data - types. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-07" { - description - "This revision adds the following new data types: - - Type8-password - - Type9-password"; - } - - revision "2015-06-29" { - description - "This revision adds the following new data types: - - Rpl-policy - - Rpl-set"; - } - - revision "2015-05-18" { - description - "Updated Node-id string pattern to match also shorter ncs4k - node names."; - } - - revision "2015-01-19" { - description - "This revision adds the following new data types: - - Bgp-ipv4-flowspec-address - - Bgp-ipv6-flowspec-address"; - } - - revision "2013-07-22" { - description - "Initial revision."; - } - - extension xr-cli-map { - argument "cli-command"; - description "The xr-cli-map statement takes as an argument - relevant CLI configuration command."; - } - - extension xr-xml-map { - argument "xr-xml-node"; - description "The xr-xml-map statement takes as an argument - relevant Cisco XML Schema node name."; - } - - extension cli-command { - argument "command"; - description "Corresponding CLI command for this RPC node"; - } - - extension cli-name { - argument "keyword"; - description "Corresponding CLI keyword for this node"; - } - - extension xr-task { - argument "task"; - description "XR task-id required for operating the yang node"; - } - - extension event-telemetry { - argument "description"; - description "Node eligible for telemetry event subscription"; - } - - typedef Route-dist { - type string { - pattern '[a-fA-F0-9]{16}'; - } - description "Route distinguisher in hexadecimal notation."; - } - - typedef Bgp-l2vpn-evpn-addrs { - type string { - pattern '[a-fA-F0-9]{58}'; - } - description "L2VPN EVPN Address in hexadecimal notation."; - } - - typedef Bgp-ls-addr { - type string { - pattern '[a-fA-F0-9]+'; - } - description "BGP link state unicast address in hexadecimal - notation."; - } - - typedef Bgp-ipv6-mvpn-addr { - type string { - pattern '[a-fA-F0-9]{104}'; - } - description "An IPV6 MVPN address in hexadecimal notation."; - } - - typedef Bgp-ipv4-mvpn-addr { - type string { - pattern '[a-fA-F0-9]{56}'; - } - description "An IPV4 MVPN address in hexadecimal notation."; - } - - typedef Bgp-rt-constrt-addr { - type string { - pattern '[a-fA-F0-9]{24}'; - } - description - "An IPV4 RTConstraint address in hexadecimal notation."; - } - - typedef Bgp-ipv4-mdt-addr { - type string { - pattern '(([a-f0-9]{16}-)(([1-9]?[0-9]|1[0-9][0-9]|2[0-4]'+ - '[0-9]|25[0-5])\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]'+ - '|25[0-5]))'; - } - description "An IPV4 MDT address in dotted decimal notation. - An IPv4 MDT address should be of the form - 0000006400000065-129.29.83.45. This datatype - restricts the value of each field 16 digits in - hexadecimal for RD field and between 0 and 255 - for IPv4 address field, i.e. - [0000000000000000-ffffffffffffffff]- - [0-255].[0-255].[0-255].[0-255]."; - } - - typedef Bgp-ipv4-tunnel-addr { - type string { - pattern '((0:|[1-9][0-9]{0,4}:)'+ - '(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}'+ - '([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))'; - } - description "An IPV4 tunnel address in dotted decimal notation. - An IPv4 tunnel address should be of the form - 65535:129.29.83.45. This datatype restricts the - value of each field between 0 and 65535 for prefix - field and 0 and 255 for IPv4 address field, i.e. - [0-65535]:[0-255].[0-255].[0-255].[0-255]"; - } - - typedef Cisco-ios-xr-port-number { - type uint16 { - range "1..65535"; - } - description "Port number of range from 1 to 65535"; - } - - typedef Interface-name { - type string { - pattern '[a-zA-Z0-9./-]+'; - } - description "An interface name specifying an interface type and - instance. - Interface represents a string defining an interface - type and instance, e.g. MgmtEth0/4/CPU1/0 or - TenGigE0/2/0/0.2 or Bundle-Ether9 or - Bundle-Ether9.98"; - } - - typedef Cisco-ios-xr-string { - type string { - pattern '[\w\-\.:,_@#%$\+=\|;]+'; - } - description "Special characters are not allowed."; - } - - typedef Ipv4-prefix-length { - type uint8 { - range "0..32"; - } - description "An IPv4 address prefix length. - Must lie between 0 and 32 inclusive."; - } - - typedef Ipv6-prefix-length { - type uint8 { - range "0..128"; - } - description "An IPv6 address prefix length. - Must lie between 0 and 32 inclusive."; - } - - typedef Rack-id { - type string { - pattern '[a-zA-Z0-9_]*\d+'; - } - description "Names the rack portion of a NodeID - Rack/Slot/Instance triple"; - } - - typedef Slot-id { - type string { - pattern '[a-zA-Z0-9_]*\d+'; - } - description "Names the slot portion of a NodeID - Rack/Slot/Instance triple"; - } - - typedef Instance-id { - type string { - pattern '[a-zA-Z0-9_]*\d+'; - } - description "Names the instance portion of a NodeID - Rack/Slot/Instance triple"; - } - - typedef Sub-instance-id { - type string { - pattern '[a-zA-Z0-9_]*\d+'; - } - description "Names the sub-instance portion of an extended - NodeID Rack/Slot/Instance/SubInstance"; - } - - typedef Encryption-type { - type enumeration { - enum none { - value "0"; - description "The password string is clear text."; - } - enum md5 { - value "1"; - description "The password is encrypted to an MD5 digest."; - } - enum proprietary { - value "2"; - description "The password is encrypted using Cisco type 7 - password encryption."; - } - enum type6 { - value "3"; - description "The password is encrypted using Cisco type 6 - password encryption."; - } - } - description "The type of encryption used on a password string."; - - } - - typedef Hex-integer { - type string { - pattern '[0-9a-fA-F]{1,8}'; - } - description "An unsigned 32-bit integer represented in - hexadecimal format."; - } - - typedef Osi-system-id { - type string { - pattern '[a-fA-F0-9]{4}(\.[a-fA-F0-9]{4}){2}'; - } - description "An OSI system ID should be of the form - 0123.4567.89ab. This data type restricts each - character to a hex character."; - } - - typedef Osi-area-address { - type string { - pattern '[a-fA-F0-9]{2}(\.[a-fA-F0-9]{4}){0,6}'; - } - description "An OSI area address should consist of an odd number - of octets, and be of the form 01 or 01.2345 etc up - to 01.2345.6789.abcd.ef01.2345.6789. This data type - restricts each character to a hex character."; - } - - typedef Isis-node-id { - type string { - pattern '[a-fA-F0-9]{4}(\.[a-fA-F0-9]{4}){2}\.[a-fA-F0-9]{2}'; - } - description "An ISIS node ID should be of the form - 0123.4567.89ab.cd. This data type restricts each - character to a hex character."; - } - - typedef Isis-snpa { - type string { - pattern '[a-fA-F0-9]{4}(\.[a-fA-F0-9]{4}){2}'; - } - description "String representation of a SNPA, 802.2 MAC address - in canonical format, e.g. 0123.4567.89ab"; - } - - typedef Isis-lsp-id { - type string { - pattern '[a-fA-F0-9]{4}(\.[a-fA-F0-9]{4}){2}\.[a-fA-F0-9]{2}'+ - '\-[a-fA-F0-9]{2}'; - } - description "An ISIS LSP ID should be of the form - 0123.4567.89ab.cd-ef. This data type restricts each - character to a hex character."; - } - - typedef Osi-net { - type string { - pattern - '[a-fA-F0-9]{2}(\.[a-fA-F0-9]{4}){3,9}\.[a-fA-F0-9]{2}'; - } - description "An OSI NET should consist of an even number of - octets, and be of the form 01.2345.6789.abcd.ef etc - up to - 01.2345.6789.abcd.ef01.2345.6789.abcd.ef01.2345.67. - This data type restricts each character to a hex - character."; - } - - typedef String-identifier { - type string { - pattern '[a-zA-Z][\w\-]*'; - } - description "A string for specifying identifier."; - } - - typedef Char-num { - type union { - type string { - pattern '(\p{IsBasicLatin}|\p{IsLatin-1Supplement})*'; - } - type uint8; - } - description "Takes a character or its ASCII decimal equivalent - (0-255)."; - } - - typedef Tty-escape-char-num { - type union { - type string { - pattern '((\p{IsBasicLatin}|\p{IsLatin-1Supplement})*)'+ - '|(DEFAULT)|(BREAK)|(NONE)'; - } - type uint8; - } - description "Escape character or its ASCII decimal equivalent - (0-255) or one of the three string DEFAULT, BREAK, - NONE."; - } - - typedef Extended-node-id { - type string { - pattern '([a-zA-Z0-9_]*\d+/){3}([a-zA-Z0-9_]*\d+)'; - } - description "A location used as value information and specified - as a Rack/Slot/Instance/SubInstance, e.g. - 0/1/CPU0/NPU0"; - } - - typedef Node-id { - type string { - pattern '([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+)'; - } - description "A location used as value information and specified - as a Rack/Slot/Instance triple, e.g. F0/SC1/0."; - } - - typedef Pq-node-id { - type string { - pattern '((([a-zA-Z0-9_]*\d+)|(\*))/){2}(([a-zA-Z0-9_]*\d+)'+ - '|(\*))'; - } - description "Partially qualified location which is used for - wildcarding location specifications, e.g. 1/*/*"; - } - - typedef Md5-password { - type string { - pattern '(!.+)|([^!].+)'; - } - description - "The Md5-password type is used to store password using the MD5 - hash function. - When a clear text value is set to a leaf of this type, the - server calculates a password hash and stores the result - in the datastore. The password is never stored in clear text. - - When a leaf of this type is read, the stored password hash is - returned. - - A value of this type matches one of the forms: - - ! - - - The '!' prefix signals that the value is clear text. When - such a value is received by the server, a hash value is - calculated. This value is stored in the configuration data - store. - - If a value starting without '!' is received, the server knows - that the value already represents a hashed value, and stores - it as is in the data store."; - } - - typedef Type8-password { - type string { - pattern '(!.+)|([^!].+)'; - } - description - "The Type8-password type is used to store password using the - SHA-256 encryption. - When a clear text value is set to a leaf of this type, the - server calculates a password hash and stores the result - in the datastore. The password is never stored in clear text. - - When a leaf of this type is read, the stored password hash is - returned. - - A value of this type matches one of the forms: - - ! - - - The '!' prefix signals that the value is clear text. When - such a value is received by the server, a hash value is - calculated. This value is stored in the configuration data - store. - - If a value starting without '!' is received, the server knows - that the value already represents a hashed value, and stores - it as is in the data store."; - } - - typedef Type9-password { - type string { - pattern '(!.+)|([^!].+)'; - } - description - "The Type9-password type is used to store password using the - Script algorithmic encryption. - When a clear text value is set to a leaf of this type, the - server calculates a password hash and stores the result - in the datastore. The password is never stored in clear text. - - When a leaf of this type is read, the stored password hash is - returned. - - A value of this type matches one of the forms: - - ! - - - The '!' prefix signals that the value is clear text. When - such a value is received by the server, a hash value is - calculated. This value is stored in the configuration data - store. - - If a value starting without '!' is received, the server knows - that the value already represents a hashed value, and stores - it as is in the data store."; - } - - typedef Proprietary-password { - type string { - pattern '(!.+)|([^!].+)'; - } - description - "The Proprietary-password type is used to store password - using the Cisco proprietary hash function. - When a clear text value is set to a leaf of this type, the - server calculates a password hash and stores the result - in the datastore. The password is never stored in clear text. - - When a leaf of this type is read, the stored password hash is - returned. - - A value of this type matches one of the forms: - - ! - - - The '!' prefix signals that the value is clear text. When - such a value is received by the server, a hash value is - calculated. This value is stored in the configuration data - store. - - If a value starting without '!' is received, the server knows - that the value already represents a hashed value, and stores - it as is in the data store."; - } - - typedef Type6-password { - type string { - pattern '(!.+)|([^!].+)'; - } - description - "The Type6-password type is used to store password - using the Cisco type 6 hash function. - When a clear text value is set to a leaf of this type, the - server calculates a password hash and stores the result - in the datastore. The password is never stored in clear text. - - When a leaf of this type is read, the stored password hash is - returned. - - A value of this type matches one of the forms: - - ! - - - The '!' prefix signals that the value is clear text. When - such a value is received by the server, a hash value is - calculated. This value is stored in the configuration data - store. - - If a value starting without '!' is received, the server knows - that the value already represents a hashed value, and stores - it as is in the data store."; - } - - typedef Bgp-ipv4-flowspec-address { - type string { - pattern '[a-fA-F0-9]{4096}'; - } - description "An IPV4 Flowspec address in hexadecimal notation."; - } - - typedef Bgp-ipv6-flowspec-address { - type string { - pattern '[a-fA-F0-9]{4096}'; - } - description "An IPV6 Flowspec address in hexadecimal notation."; - } - - typedef Rpl-policy { - type string; - description "RPL Policy info"; - } - - typedef Rpl-set{ - type string; - description "RPL Set info"; - } - - typedef Physical-allowed-node-id { - type uint32; - description "A physical location encoded as a 32-bit value."; - } - - typedef Physical-allowed-node-id-string { - type string; - description "A physical location which is represented internally" + - "using string format (eg: 0_6_CPU0)."; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-ng-act.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-ng-act.yang deleted file mode 100644 index 54d56f5..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-ng-act.yang +++ /dev/null @@ -1,60 +0,0 @@ -module Cisco-IOS-XR-upgrade-fpd-ng-act { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act"; - - - prefix "upgrade-fpd-act"; - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR upgrade-fpd package action data. - - This module contains definitions - for the following management objects: - fpd: Field programmable device (FPD) operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-04-04" { - description - "IOS XR 6.3.1 revision."; - } - rpc upgrade-fpd { - description "Execute FPD upgrade"; - input { - leaf location { - description "Location of the FPD to be upgraded"; - type string; - mandatory true; - } - leaf fpd { - description "name of the fpd to be upgraded"; - type string; - mandatory true; - } - leaf force { - description "Force the upgrade process"; - type empty; - mandatory false; - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang deleted file mode 100644 index e960ca2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang +++ /dev/null @@ -1,234 +0,0 @@ -submodule Cisco-IOS-XR-upgrade-fpd-oper-sub1 { - - belongs-to Cisco-IOS-XR-upgrade-fpd-oper { - prefix Cisco-IOS-XR-upgrade-fpd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR upgrade-fpd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fpd-sub1 { - type enumeration { - enum fpga1 { - description "FPGA device"; - } - enum rommon { - description "ROMMON device"; - } - enum rommona { - description "ROMMONA device"; - } - enum fabric-loader { - description "Fabric loader"; - } - enum fpga2 { - description "FPGA device"; - } - enum fpga3 { - description "FPGA device"; - } - enum fpga4 { - description "FPGA device"; - } - enum fpga5 { - description "FPGA device"; - } - enum fpga6 { - description "FPGA device"; - } - enum fpga7 { - description "FPGA device"; - } - enum fpga8 { - description "FPGA device"; - } - enum fpga9 { - description "FPGA device"; - } - enum fpga10 { - description "FPGA device"; - } - enum fpga11 { - description "FPGA device"; - } - enum fpga12 { - description "FPGA device"; - } - enum fpga13 { - description "FPGA device"; - } - enum fpga14 { - description "FPGA device"; - } - enum cpld1 { - description "CPLD device"; - } - enum cpld2 { - description "CPLD device"; - } - enum cpld3 { - description "CPLD device"; - } - enum cpld4 { - description "CPLD device"; - } - enum cpld5 { - description "CPLD device"; - } - enum cpld6 { - description "CPLD device"; - } - enum cbc { - description "CAN bus controller"; - } - enum hsbi { - description "HSBI image"; - } - enum txpod { - description "Fabric Tx POD"; - } - enum rxpod { - description "Fabric Rx POD"; - } - enum ibmc { - description "IBMC"; - } - enum fsbl { - description "FSBL"; - } - enum lnx { - description "Linux firmware"; - } - enum fpga15 { - description "FPGA device"; - } - enum fpga16 { - description "FPGA device"; - } - enum fc-fsbl { - description "FC FSBL"; - } - enum fc-lnx { - description "FC linux firmware"; - } - } - description "FPD sub types"; - } - typedef Fpd1 { - type enumeration { - enum spa { - description "Shared port adapter"; - } - enum lc { - description "Line card"; - } - enum sam { - description "Service acceleration module"; - } - } - description "FPD types"; - } - - grouping FPD-PACKAGE-INFO { - description "Package information"; - leaf card-type { - type string; - description "Card type containing FPD"; - } - leaf card-description { - type string; - description "Card description"; - } - leaf fpd-type { - type Fpd1; - description "FPD type"; - } - leaf fpd-sub-type { - type Fpd-sub1; - description "FPD sub type"; - } - leaf software-version { - type string; - description - "FPD software version in X.Y format X-Major - version, Y-Minor version Note: 'Unknown' is - returned in case the software version of the FPD - cannot be determined."; - } - leaf minimum-required-software-version { - type string; - description - "Minimum required FPD software version in X.Y - format X-Major version, Y-Minor version Note: - 'Unknown' is returned in case the software - version of the FPD cannot be determined."; - } - leaf minimum-required-hardware-version { - type string; - description - "Minimum required FPD hardware version in X.Y - format X-Major version, Y-Minor version "; - } - } - - grouping FPD-ALL-PACKAGES { - description "Field programmable device packages"; - - list all-package { - description "List of packages"; - uses FPD-PACKAGE-INFO; - } - } - - grouping UPGRADE-FPD-INFO { - description "XML Oper FPD information"; - leaf card-type { - type string; - description "Card type containing FPD"; - } - leaf hardware-version { - type string; - description - "FPD hardware version inX.Y format. X-Major - version, Y-Minor version"; - } - leaf software-version { - type string; - description - "FPD software version in X.Y format X-Major - version, Y-Minor version Note: 'Unknown' is - returned in case the software version of the FPD - cannot be determined."; - } - leaf is-upgrade-downgrade { - type boolean; - description "If true, upgrade or downgrade"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper.yang deleted file mode 100644 index 922f629..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-upgrade-fpd-oper.yang +++ /dev/null @@ -1,251 +0,0 @@ -module Cisco-IOS-XR-upgrade-fpd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-oper"; - - - prefix "upgrade-fpd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-upgrade-fpd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR upgrade-fpd package operational data. - - This module contains definitions - for the following management objects: - fpd: Field programmable device (FPD) operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Fpd-sub { - type enumeration { - enum fpga1 { - value 0; - description "FPGA device"; - } - enum rommon { - value 1; - description "ROMMON device"; - } - enum rommona { - value 2; - description "ROMMON device #A"; - } - enum fabldr { - value 3; - description "Fabric loader"; - } - enum fpga2 { - value 4; - description "FPGA device #2"; - } - enum fpga3 { - value 5; - description "FPGA device #3"; - } - enum fpga4 { - value 6; - description "FPGA device #4"; - } - enum fpga5 { - value 7; - description "FPGA device #5"; - } - enum fpga6 { - value 8; - description "FPGA device #6"; - } - enum fpga7 { - value 9; - description "FPGA device #7"; - } - enum fpga8 { - value 10; - description "FPGA device #8"; - } - enum fpga9 { - value 11; - description "FPGA device #9"; - } - enum fpga10 { - value 12; - description "FPGA device #10"; - } - enum fpga11 { - value 13; - description "FPGA device #11"; - } - enum fpga12 { - value 14; - description "FPGA device #12"; - } - enum fpga13 { - value 15; - description "FPGA device #13"; - } - enum fpga14 { - value 16; - description "FPGA device #14"; - } - enum cpld1 { - value 17; - description "CPLD device #1"; - } - enum cpld2 { - value 18; - description "CPLD device #2"; - } - enum cpld3 { - value 19; - description "CPLD device #3"; - } - enum cpld4 { - value 20; - description "CPLD device #4"; - } - enum cpld5 { - value 21; - description "CPLD device #5"; - } - enum cpld6 { - value 22; - description "CPLD device #6"; - } - enum cbc { - value 23; - description "Can bus controller"; - } - enum hsbi { - value 24; - description "HSBI image"; - } - enum txpod { - value 25; - description "Fabric Tx POD"; - } - enum rxpod { - value 26; - description "Fabric Rx POD"; - } - enum ibmc { - value 27; - description "IBMC"; - } - enum fsbl { - value 28; - description "FSBL"; - } - enum lnx { - value 29; - description "Linux firmware"; - } - enum fpga15 { - value 30; - description "FPGA device #15"; - } - enum fpga16 { - value 31; - description "FPGA device #16"; - } - enum fc-fsbl { - value 32; - description "FC FSBL"; - } - enum fc-lnx { - value 33; - description "FC linux firmware"; - } - } - description "Fpd sub"; - } - typedef Fpd { - type enumeration { - enum spa { - value 0; - description "SPA class of fpd"; - } - enum lc { - value 1; - description "Linecard class of fpd"; - } - enum sam { - value 2; - description "SAM class of fpd"; - } - } - description "Fpd"; - } - - container fpd { - config false; - description "Field programmable device (FPD) operational data"; - - container nodes { - description "List of FPD supported nodes"; - - list node { - key "node-name"; - description "Information about a particular node"; - - container devices { - description "FPD information table"; - - list device { - description "FPD information for a particular fpd type"; - leaf fpd-type { - type Fpd; - description "FPD type"; - } - leaf instance { - type int32; - description "Instance"; - } - leaf sub-type { - type Fpd-sub; - description "FPD sub type"; - } - uses UPGRADE-FPD-INFO; - } - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - - container packages { - description "FPD packages information"; - uses FPD-ALL-PACKAGES; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-vservice-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-vservice-cfg.yang deleted file mode 100644 index 6d9dfeb..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-vservice-cfg.yang +++ /dev/null @@ -1,327 +0,0 @@ -module Cisco-IOS-XR-vservice-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-vservice-cfg"; - - - prefix "vservice-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import ietf-inet-types { prefix "inet"; } - - import Cisco-IOS-XR-types { prefix "xr"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR vservice package configuration. - - This module contains definitions - for the following management objects: - vservice: configure vservice node - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Sfc-metadata-type1-alloc-format { - type enumeration { - enum dc-allocation { - value 1; - description "data center allocation"; - } - } - description "Sfc metadata type1 alloc format"; - } - typedef Sfc-sf-transport { - type enumeration { - enum vxlan-gpe { - value 1; - description "vxlan-gpe transport type"; - } - } - description "Sfc sf transport"; - } - typedef Sfc-metadata-disposition-match { - type enumeration { - enum type1-dcalloc-tenant-id { - value 1; - description "match type 1"; - } - } - description "Sfc metadata disposition match"; - } - typedef Sfc-metadata-disposition-action { - type enumeration { - enum redirect-nexthop { - value 1; - description "redirect nexthop action"; - } - } - description "Sfc metadata disposition action"; - } - typedef Sfc-metadata-alloc { - type enumeration { - enum type1 { - value 1; - description "type 1 allocation"; - } - } - description "Sfc metadata alloc"; - } - - grouping NAME-TABLE { - description - "Common node of service-function-locator, - service-function-forward-locator"; - - container names { - description "Mention the sf/sff name"; - - list name { - key "function-name locator-id"; - description "service function name"; - - container node { - description "configure sff/sffl"; - leaf transport { - type Sfc-sf-transport; - description "Transport type"; - } - leaf ipv4-source-address { - type inet:ipv4-address-no-zone; - description "IPv4 source address"; - } - leaf ipv4-destination-address { - type inet:ipv4-address-no-zone; - description "IPv4 destination address"; - } - leaf vni { - type int32; - description "VNI"; - } - } - leaf function-name { - type xr:Cisco-ios-xr-string; - description "Service function/forwarder name"; - } - leaf locator-id { - type uint32 { - range "1..255"; - } - description "Specify locator id"; - } - } - } - } - - grouping NODE { - description "Common node of sf-name, sff-name"; - - container node { - description "configure SFP"; - leaf enable { - type empty; - description "Enable Service function path"; - } - leaf reserved { - type empty; - description "Dummy"; - } - } - } - - container vservice { - description "configure vservice node"; - - container service-function-locator { - description "configure service function locator"; - uses NAME-TABLE; - } - - container metadata-dispositions { - description "Configure metadata disposition"; - - list metadata-disposition { - key "disposition-name format"; - description "metadata disposition name"; - leaf disposition-name { - type xr:Cisco-ios-xr-string; - description "disposition name"; - } - leaf format { - type Sfc-metadata-type1-alloc-format; - description "Specify Format"; - } - - list match-entry { - key "match-entry-name"; - description "match entry name"; - - container node { - description "configure disposition data"; - leaf match-type { - type Sfc-metadata-disposition-match; - description "match type"; - } - leaf action-type { - type Sfc-metadata-disposition-action; - description "action type"; - } - leaf vrf { - type string; - description "VRF name"; - } - leaf nexthop-ipv4-address { - type inet:ipv4-address-no-zone; - description "IPv4 nexthop address"; - } - leaf-list tenant-id { - type int32; - max-elements "4"; - description "24-bit tenant id"; - } - } - leaf match-entry-name { - type xr:Cisco-ios-xr-string; - description "match entry name"; - } - } - } - } - - container service-function-forward-locator { - description "configure service function forward locator"; - uses NAME-TABLE; - } - - container metadata-templates { - description "configure metadata imposition"; - - list metadata-template { - key "metadata-name type format"; - description "metadata name, type and format"; - leaf tenant-id { - type uint32 { - range "1..16777215"; - } - description "Enter 24-bit tenant id"; - } - leaf metadata-name { - type xr:Cisco-ios-xr-string; - description "metadata name"; - } - leaf type { - type Sfc-metadata-alloc; - description "Specify Type "; - } - leaf format { - type Sfc-metadata-type1-alloc-format; - description "Specify Format"; - } - } - } - - container service-function-path { - description "service function path"; - - container paths { - description "service function path id"; - - list path { - key "path-id"; - description "specify the service function path id"; - leaf path-id { - type uint32 { - range "1..16777215"; - } - description "Specify the service function path id"; - } - - list service-index { - key "index"; - description "specify the service index"; - - container terminate { - description "configure terminate"; - - container node { - description "configure default terminate action"; - leaf action { - type Sfc-metadata-disposition-action; - description "default action enum"; - } - leaf vrf { - type string; - description "nexthop vrf name"; - } - leaf nexthop-ipv4-address { - type inet:ipv4-address-no-zone; - description "IPv4 nexthop address"; - } - leaf metatdata-disposition { - type string; - description "metadata-disposition name"; - } - } - } - - container sff-names { - description "service function forwarder "; - - list sff-name { - key "name"; - description "service function forwarder name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "SFF Name"; - } - uses NODE; - } - } - - container sf-names { - description "service function "; - - list sf-name { - key "name"; - description "service function name"; - leaf name { - type xr:Cisco-ios-xr-string; - description "SF Name"; - } - uses NODE; - } - } - leaf index { - type uint32 { - range "1..255"; - } - description "Specify the id of service function"; - } - } - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-cfg.yang deleted file mode 100644 index 87c595e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-cfg.yang +++ /dev/null @@ -1,168 +0,0 @@ -module Cisco-IOS-XR-wanphy-ui-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg"; - - - prefix "wanphy-ui-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-ifmgr-cfg { prefix "a1"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR wanphy-ui package configuration. - - This YANG module augments the - Cisco-IOS-XR-ifmgr-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Wanphy-lan-mode { - type enumeration { - enum on { - value 1; - description "LanMode"; - } - } - description "Wanphy lan mode"; - } - typedef Wanphy-wan-mode { - type enumeration { - enum on { - value 1; - description "WAN Mode"; - } - } - description "Wanphy wan mode"; - } - - augment "/a1:interface-configurations/a1:interface-configuration" { - - container wanphy { - description "WANPHY port controller configuration"; - leaf report-path-rdi { - type empty; - description - "Configure Path Remote Defect Indicator - reporting"; - } - leaf report-los { - type empty; - description "Configure Loss Of Signal reporting"; - } - leaf report-path-lcd { - type empty; - description - "Configure Path Loss Of Code-Group Delineation - reporting"; - } - leaf report-path-fe-plm { - type empty; - description - "Configure Path Far End Payload Label Mismatch - reporting"; - } - leaf lan-mode { - type Wanphy-lan-mode; - description "Configure LAN Mode"; - } - leaf report-path-plm { - type empty; - description - "Configure Path Payload Label Mismatch reporting"; - } - leaf report-path-fe-ais { - type empty; - description - "Configure Path Far End Payload Label Mismatch - reporting"; - } - leaf report-path-ais { - type empty; - description - "Configure Path Alarm Indication Signal - reporting"; - } - leaf report-line-ais { - type empty; - description - "Configure Line Alarm Indication Signal - reporting"; - } - leaf report-lof { - type empty; - description "Configure Loss Of Frame reporting"; - } - leaf report-lop { - type empty; - description "Configure Loss Of Pointer reporting"; - } - leaf report-rdi { - type empty; - description "Configure Remote Defect Indicator reporting"; - } - leaf report-sd-ber { - type empty; - description - "Configure B2 BER in excess of SD threshold - reporting"; - } - leaf threshold-sd-ber { - type uint32 { - range "3..9"; - } - default "6"; - description - "Bit error rate is 10 to the minus n, where n is - threshold value"; - } - leaf report-sf-ber { - type empty; - description - "Configure B2 BER in excess of SF threshold - reporting"; - } - leaf threshold-sf-ber { - type uint32 { - range "3..9"; - } - default "3"; - description - "Bit error rate is 10 to the minus n, where n is - threshold value"; - } - leaf wan-mode { - type Wanphy-wan-mode; - description "Configure WAN Mode"; - } - } - description - "This augment extends the configuration data of - 'Cisco-IOS-XR-ifmgr-cfg'"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang deleted file mode 100644 index 8908e70..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang +++ /dev/null @@ -1,242 +0,0 @@ -submodule Cisco-IOS-XR-wanphy-ui-oper-sub1 { - - belongs-to Cisco-IOS-XR-wanphy-ui-oper { - prefix Cisco-IOS-XR-wanphy-ui-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR wanphy-ui package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Wanphy-alarm-rep-status { - type enumeration { - enum disable { - description "Alarm reporting is disable"; - } - enum enable { - description "Alarm reporting is enable"; - } - } - description "WANPHY Alarm Report Status"; - } - typedef Wanphy-mode-info { - type enumeration { - enum lan { - description "LAN mode"; - } - enum wan { - description "WAN mode"; - } - } - description "WANPHY Modes"; - } - - grouping WANPHY-EDM-INFO { - description "WAN-PHY Information"; - leaf admin-mode { - type Wanphy-mode-info; - description "Configuration Mode"; - } - leaf port-state { - type uint32; - description "Port State"; - } - leaf section-lof { - type uint32; - description "Section LOF"; - } - leaf section-los { - type uint32; - description "Section LOS"; - } - leaf section-bip { - type uint64; - description "Section BIP(B1)"; - } - leaf line-ais { - type uint32; - description "Line AIS"; - } - leaf line-rdi { - type uint32; - description "Line RDI"; - } - leaf line-febe { - type uint64; - description "Line FEBE"; - } - leaf line-bip { - type uint64; - description "Line BIP(B2) "; - } - leaf path-ais { - type uint32; - description "Path AIS"; - } - leaf path-rdi { - type uint32; - description "Path RDI"; - } - leaf path-febe { - type uint64; - description "Path FEBE"; - } - leaf path-bip { - type uint64; - description "Path BIP(B3)"; - } - leaf path-lop { - type uint32; - description "Path LOP"; - } - leaf path-newptr { - type uint32; - description "Path NEWPTR"; - } - leaf path-pse { - type uint32; - description "Path PSE"; - } - leaf path-nse { - type uint32; - description "Path NSE"; - } - leaf wis-alarms-ser { - type uint32; - description "WIS Alarms SER"; - } - leaf wis-alarms-felcdp { - type uint32; - description "WIS Alarms FELCDP"; - } - leaf wis-alarms-feaisp { - type uint32; - description "WIS Alarms FEAISP"; - } - leaf wis-alarms-wlos { - type uint32; - description "WIS Alarms WLOS"; - } - leaf wis-alarms-plcd { - type uint32; - description "WIS Alarms PLCD"; - } - leaf wis-alarms-lfebip { - type uint64; - description "WIS Alarms LFEBIP"; - } - leaf wis-alarms-pbec { - type uint64; - description "WIS Alarms PBEC"; - } - leaf wis-alarms-plmp { - type uint32; - description "WIS Alarms PLMP"; - } - leaf sf-ber-threshold { - type uint32; - description "BER thresholds: SF. Value 'd' in 10e-%d"; - } - leaf sd-ber-threshold { - type uint32; - description "BER thresholds: SD. Value 'd' in 10e-%d"; - } - leaf sf-ber-report { - type Wanphy-alarm-rep-status; - description "SF_BER Report"; - } - leaf sd-ber-report { - type Wanphy-alarm-rep-status; - description "SD_BER Report"; - } - leaf operational-mode { - type Wanphy-mode-info; - description "Operational Mode"; - } - leaf remote-ip { - type string; - description "Remote IP Address"; - } - leaf register-p-febe { - type uint32; - description "Register P_FEBE"; - } - leaf register-l-fe-bip { - type uint32; - description "Register L_FE_BIP"; - } - leaf register-l-bip { - type uint32; - description "Register L_BIP"; - } - leaf register-p-bec { - type uint32; - description "Register P_BEC"; - } - leaf register-s-bip { - type uint32; - description "Register S_BIP"; - } - leaf register-j1-rx0 { - type uint32; - description "Register J1-Rx0"; - } - leaf register-j1-rx1 { - type uint32; - description "Register J1-Rx1"; - } - leaf register-j1-rx2 { - type uint32; - description "Register J1-Rx2"; - } - leaf register-j1-rx3 { - type uint32; - description "Register J1-Rx3"; - } - leaf register-j1-rx4 { - type uint32; - description "Register J1-Rx4"; - } - leaf register-j1-rx5 { - type uint32; - description "Register J1-Rx5"; - } - leaf register-j1-rx6 { - type uint32; - description "Register J1-Rx6"; - } - leaf register-j1-rx7 { - type uint32; - description "Register J1-Rx7"; - } - leaf wanphy-poll-timer { - type uint32; - description "wanphy poll timer"; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper.yang deleted file mode 100644 index 3b87a8f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wanphy-ui-oper.yang +++ /dev/null @@ -1,72 +0,0 @@ -module Cisco-IOS-XR-wanphy-ui-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper"; - - - prefix "wanphy-ui-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-wanphy-ui-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR wanphy-ui package operational data. - - This module contains definitions - for the following management objects: - wanphy: WANPHY operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container wanphy { - config false; - description "WANPHY operational data"; - - container controllers { - description "All WANPHY controller operational data"; - - list controller { - key "controller-name"; - description "WANPHY controller operational data"; - - container info { - description "WANPHY controller operational data"; - uses WANPHY-EDM-INFO; - } - leaf controller-name { - type xr:Interface-name; - description "Controller name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-watchd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-watchd-cfg.yang deleted file mode 100644 index d5ab26e..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-watchd-cfg.yang +++ /dev/null @@ -1,154 +0,0 @@ -module Cisco-IOS-XR-watchd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg"; - - - prefix "watchd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-config-mda-cfg { prefix "node"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR watchd package configuration. - - This module contains definitions - for the following management objects: - watchdog: Watchdog configuration commands - watchd: watchd - - This YANG module augments the - Cisco-IOS-XR-config-mda-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-10-12" { - description - "Descriptions updated."; - } - - - grouping NODE-CFG { - description "active/preconfigured nodes configuration"; - - container watchdog-node-threshold { - description "watchdog node threshold"; - - container memory-threshold { - description "Memory thresholds"; - leaf minor { - type uint32 { - range "5..40"; - } - description "Threshold, Range(5, 40)"; - } - leaf severe { - type uint32 { - range "4..40"; - } - description "Threshold, Range(4, minor)"; - } - leaf critical { - type uint32 { - range "3..40"; - } - description "Threshold, Range(3, severe)"; - } - } - } - } - - container watchdog { - description "Watchdog configuration commands"; - - container threshold-memory { - description "Memory thresholds"; - leaf minor { - type uint32 { - range "5..40"; - } - description "Threshold, Range (5, 40)"; - } - leaf severe { - type uint32 { - range "4..40"; - } - description "Threshold, Range (4, minor)"; - } - leaf critical { - type uint32 { - range "3..40"; - } - description "Threshold, Range (3, severe)"; - } - } - leaf overload-notification { - type empty; - description "Disable critical event notification"; - } - leaf restart-deadlock-disable { - type empty; - description "Disable watchdog restart deadlock"; - } - leaf restart-memoryhog-disable { - type empty; - description "Disable watchdog restart memory-hog"; - } - leaf overload-throttle-timeout { - type uint32 { - range "5..120"; - } - units "second"; - description - "Watchdog overload throttle timeout configuration"; - } - } - - container watchd { - description "watchd"; - leaf timeout { - type uint32 { - range "1..10"; - } - units "second"; - description "Length of timeout in seconds"; - } - } - - augment "/node:active-nodes/node:active-node" { - uses NODE-CFG; - description "This augment extends active nodes configuration"; - } - - augment "/node:preconfigured-nodes/node:preconfigured-node" { - uses NODE-CFG; - description - "This augment extends preconfigured nodes - configuration"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-cfg.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-cfg.yang deleted file mode 100644 index fe0a820..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-cfg.yang +++ /dev/null @@ -1,175 +0,0 @@ -module Cisco-IOS-XR-wd-cfg { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wd-cfg"; - - - prefix "wd-cfg"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-config-mda-cfg { prefix "node"; } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR wd package configuration. - - This module contains definitions - for the following management objects: - watchdog: watchdog - - This YANG module augments the - Cisco-IOS-XR-config-mda-cfg - module with configuration data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-10-12" { - description - "Descriptions updated."; - } - - - grouping NODE-CFG { - description "active/preconfigured nodes configuration"; - - container watchdog-node-threshold { - description "Watchdog threshold configuration"; - - container memory-threshold { - description "Memory thresholds"; - leaf minor { - type uint32 { - range "5..40"; - } - description "Threshold, Range(5, 40)"; - } - leaf severe { - type uint32 { - range "4..40"; - } - description "Threshold, Range(4, minor)"; - } - leaf critical { - type uint32 { - range "3..40"; - } - description "Threshold, Range(3, severe)"; - } - } - } - } - - container watchdog { - description "watchdog"; - - container threshold-memory { - description "Memory thresholds"; - leaf minor { - type uint32 { - range "5..40"; - } - description "Threshold, Range(5, 40)"; - } - leaf severe { - type uint32 { - range "4..40"; - } - description "Threshold, Range(4, minor)"; - } - leaf critical { - type uint32 { - range "3..40"; - } - description "Threshold, Range(3, severe)"; - } - } - leaf threshold-memory-switchover { - type uint32 { - range "2..4"; - } - description "switchover the RP at configured memory state"; - } - leaf restart-deadlock-disable { - type empty; - description "Disable watchdog restart deadlock"; - } - leaf monitor-qnet-timeout { - type uint32 { - range "10..3600"; - } - units "second"; - description "Watchdog monitor transport qnet timeout"; - } - leaf monitor-cpuhog-timeout { - type uint32 { - range "10..3600"; - } - units "second"; - description - "Watchdog monitor cpu-hog persistent timeout - configuration"; - } - leaf monitor-procnto-timeout { - type uint32 { - range "60..3600"; - } - units "second"; - description "Watchdog monitor procnto timeout configuration"; - } - leaf overload-notification { - type empty; - description "Disable critical event notification"; - } - leaf restart-cpuhog-disable { - type empty; - description "Disable watchdog restart cpu-hog"; - } - leaf restart-memoryhog-disable { - type empty; - description "Disable watchdog restart memory-hog"; - } - leaf overload-throttle-timeout { - type uint32 { - range "5..120"; - } - units "second"; - description - "Watchdog overload throttle timeout configuration"; - } - } - - augment "/node:active-nodes/node:active-node" { - uses NODE-CFG; - description "This augment extends active nodes configuration"; - } - - augment "/node:preconfigured-nodes/node:preconfigured-node" { - uses NODE-CFG; - description - "This augment extends preconfigured nodes - configuration"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper-sub1.yang deleted file mode 100644 index b6b596f..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper-sub1.yang +++ /dev/null @@ -1,195 +0,0 @@ -submodule Cisco-IOS-XR-wd-oper-sub1 { - - belongs-to Cisco-IOS-XR-wd-oper { - prefix Cisco-IOS-XR-wd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR wd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - typedef Overload-ctrl-notif { - type enumeration { - enum disabled { - description "Diabled"; - } - enum enabled { - description "Enabled"; - } - } - description "Overload control notification"; - } - typedef Memory-state { - type enumeration { - enum unknown { - value 0; - description "Memory state unknown"; - } - enum normal { - value 1; - description "Memory state normal"; - } - enum minor { - value 2; - description "Memory state minor"; - } - enum severe { - value 3; - description "Memory state severe"; - } - enum critical { - value 4; - description "Memory state critical"; - } - } - description "Memory state options"; - } - - grouping LAST-THR-INFO { - description "Last throttle details"; - leaf throttle-duration { - type uint32; - units "second"; - description "Last throttle duration in seconds"; - } - leaf start-time { - type string { - length "0..25"; - } - description - "Last throttle start time in format :day-of-week - month date-of-month HH:MM:SS year eg: Thu Feb 1 - 18:32:14 2011"; - } - leaf stop-time { - type string { - length "0..25"; - } - description - "Last throttle stop time in format :day-of-week - month date-of-month HH:MM:SS year eg: Thu Feb 1 - 18:32:14 2011"; - } - } - - grouping CUR-THR-INFO { - description "Current throttle details"; - leaf throttle-duration { - type uint32; - units "second"; - description "Current throttle duration in seconds"; - } - leaf start-time { - type string { - length "0..25"; - } - description - "Current throttle start time in format - :day-of-week month date-of-month HH:MM:SS year - eg: Thu Feb 1 18:32:14 2011"; - } - } - - grouping OVERLOAD-CONTROL { - description "Overload control state information"; - - container current-throttle { - description "Current throttle information"; - uses CUR-THR-INFO; - } - leaf overload-control-notification { - type Overload-ctrl-notif; - description "State of overload control notification"; - } - leaf default-wdsysmon-throttle { - type uint32; - description "Default resmon throttle"; - } - leaf configured-wdsysmon-throttle { - type uint32; - description "Configured resmon throttle"; - } - - list last-throttle { - max-elements "20"; - description "Last throttle information"; - uses LAST-THR-INFO; - } - } - - grouping MEMORY-DETAILS { - description "Memory information"; - leaf physical-memory { - type uint32; - units "byte"; - description "Physical memory in bytes"; - } - leaf free-memory { - type uint64; - units "byte"; - description "Free memory in bytes"; - } - leaf memory-state { - type Memory-state; - description "State of memory"; - } - } - - grouping CONF-MEM-THRESHOLD { - description "Configured memory threshold"; - leaf minor { - type uint32; - units "byte"; - description "Minor memory threshold in bytes"; - } - leaf severe { - type uint32; - units "byte"; - description "Severe memory threshold in bytes"; - } - leaf critical { - type uint64; - units "byte"; - description "Critical memory in bytes"; - } - } - - grouping MEMORY-THRESHOLD { - description "Memory threshold"; - - container configured-memory { - description "Configured memory"; - uses CONF-MEM-THRESHOLD; - } - - container memory { - description "Memory Information"; - uses MEMORY-DETAILS; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper.yang deleted file mode 100644 index 4327bb2..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wd-oper.yang +++ /dev/null @@ -1,91 +0,0 @@ -module Cisco-IOS-XR-wd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper"; - - - prefix "wd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-wd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR wd package operational data. - - This module contains definitions - for the following management objects: - watchdog: Watchdog information - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - - container watchdog { - config false; - description "Watchdog information"; - - container nodes { - description "List of nodes"; - - list node { - key "node-name"; - description "Node ID"; - - container threshold-memory { - description "Threshold memory"; - - container default { - description "System default memory"; - uses MEMORY-THRESHOLD; - } - - container configured { - description "Memory configured by user"; - uses CONF-MEM-THRESHOLD; - } - } - - container memory-state { - description "Memory state"; - uses MEMORY-DETAILS; - } - - container overload-state { - description "Display overload control state"; - uses OVERLOAD-CONTROL; - } - leaf node-name { - type xr:Node-id; - description "Node name"; - } - } - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang deleted file mode 100644 index f5a3434..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang +++ /dev/null @@ -1,95 +0,0 @@ -submodule Cisco-IOS-XR-wdsysmon-fd-oper-sub1 { - - belongs-to Cisco-IOS-XR-wdsysmon-fd-oper { - prefix Cisco-IOS-XR-wdsysmon-fd-oper; - } - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This submodule contains a collection of YANG definitions - for Cisco IOS-XR wdsysmon-fd package operational data. - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-08-15" { - description - "IOS XR 5.3.2 revision."; - } - - - grouping PROCESS-CPU-UTIL { - description "Process CPU utilization information"; - leaf process-name { - type string; - description "Process name"; - } - leaf process-id { - type uint32; - description "Process ID"; - } - leaf process-cpu-one-minute { - type uint32; - units "percentage"; - description - "Process CPU utilization in percent for past 1 - minute"; - } - leaf process-cpu-five-minute { - type uint32; - units "percentage"; - description - "Process CPU utilization in percent for past 5 - minute"; - } - leaf process-cpu-fifteen-minute { - type uint32; - units "percentage"; - description - "Process CPU utilization in percent for past 15 - minute"; - } - } - - grouping NODE-CPU-UTIL { - description "Node CPU utilization information"; - leaf total-cpu-one-minute { - type uint32; - description "Total CPU utilization in past 1 minute"; - } - leaf total-cpu-five-minute { - type uint32; - description "Total CPU utilization in past 5 minute"; - } - leaf total-cpu-fifteen-minute { - type uint32; - description "Total CPU utilization in past 15 minute"; - } - - list process-cpu { - description "Per process CPU utilization"; - uses PROCESS-CPU-UTIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper.yang b/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper.yang deleted file mode 100644 index bc13959..0000000 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-wdsysmon-fd-oper.yang +++ /dev/null @@ -1,69 +0,0 @@ -module Cisco-IOS-XR-wdsysmon-fd-oper { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper"; - - - prefix "wdsysmon-fd-oper"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - - import Cisco-IOS-XR-types { prefix "xr"; } - - include Cisco-IOS-XR-wdsysmon-fd-oper-sub1 { - revision-date 2015-11-09; - } - - /*** META INFORMATION ***/ - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a collection of YANG definitions - for Cisco IOS-XR wdsysmon-fd package operational data. - - This module contains definitions - for the following management objects: - system-monitoring: Processes operational data - - Copyright (c) 2013-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-11-09" { - description - "IOS XR 6.0 revision."; - } - - revision "2015-08-15" { - description - "IOS XR 5.3.2 revision."; - } - - - container system-monitoring { - config false; - description "Processes operational data"; - - list cpu-utilization { - key "node-name"; - description "Processes CPU utilization information"; - leaf node-name { - type xr:Node-id; - description "Node name"; - } - uses NODE-CPU-UTIL; - } - } -} diff --git a/yang/modules/cisco-ios-xr/631/MODEL-ISSUES.md b/yang/modules/cisco-ios-xr/631/MODEL-ISSUES.md deleted file mode 100644 index 11404e6..0000000 --- a/yang/modules/cisco-ios-xr/631/MODEL-ISSUES.md +++ /dev/null @@ -1,16 +0,0 @@ -# Native Model Issues - -A number of differences have crept in to a small number of YANG modules supported in IOS-XR 6.3.1. The differences, platforms impacted and where to find the alternate versions of models are detailed below. If you are working with an impacted platform, you should copy the YANG models from the relevant ```.incompatible``` subdirectory into your working directory and use that set of models instead. - -If you retrieve models directly from a device, you will get the correct set of models. - -The models in these directories are currently only relevant to the following images - -* Cisco-IOS-XR-aaa-locald-cfg.yang: - * asr9k-px - * hfr-px - * xrvr -* Cisco-IOS-XR-plat-chas-invmgr-oper.yang: - * asr9k-px - * hfr-px - * xrvr diff --git a/yang/modules/cisco-ios-xr/631/README.md b/yang/modules/cisco-ios-xr/631/README.md deleted file mode 100644 index ce42743..0000000 --- a/yang/modules/cisco-ios-xr/631/README.md +++ /dev/null @@ -1,33 +0,0 @@ -## YANG Models for Cisco IOS-XR 6.3.1 - -The YANG files in this directory detail the native YANG models and deviations supported by IOS-XR 6.3.1 releases. The schemas here may also be retrieved from devices running IOS-XR 6.0.1 by using the NETCONF "get-schema" RPC as detailed in Section 3.1 of RFC 6022. - -### OpenConfig and IETF Model Inclusion - -For ease of reference, the IOS-XR 6.3.1 models in this directory also include copies of the revisions of OpoenConfig and IETF model files used by IOS-XR 6.3.1. It should be noted that compilation of the OpenConfig models using the [check-models.sh](check-models.sh) script will result in errors being listed. Cisco has chosen **not** to modify these models to allow error-free compilation. - - -### Compliance With "pyang --lint" - -The native YANG models are not fully compliant with all IETF guidelines as exemplified by running the pyang tool with the ```--lint``` flag. The errors and warnings exhibited by running pyang with the ```--lint``` flag are currently deemed to be non-critical as they do not impact the semantic of the models or prevent the models being used as part of toolchains. A script has been provided, "check-models.sh", that runs pyang with ```--lint``` validation enabled, but ignoring certain errors. This allows the developer to determine what issues may be present. - - -### Revision Statements - -From IOS-XR 5.3.2 and onwards, the revision statements embedded in the YANG files **should** accurately reflect whether or not a new revision has been introduced. However, there are some bugs. These will be noted by running the ```check-models.sh``` script with the ```-b``` option. - -### Backwards Compatibility Issues - -It should be noted that some of the modules released in IOX-XR 6.3.1 may break the backwards compatibility guidelines defined in RFC 6020 when compared to the same modules released in IOS-XR 6.3.1. This is because the "native" YANG modules for IOS-XR are generated from internal schema files that are an integral part of the implementation, and, as such, these can change in ways that break backwards compatibility per RFC 6020 guidelines when new features are introduced or when bugs are fixed. Thus, while we rigorously review the changes that impact the external YANG schema, Cisco cannot guarantee full backwards compatibility of these modules across releases. - -However, when new versions of the native models are released, the [```check-models.sh```](check-models.sh) script, in conjunction with pyang, can be used to determine what technically incompatible changes may have occurred. Please run ```check.sh``` from this directory with pyang 1.5 or greater on your path thus: - -``` -$ ./check-models.sh -b 612 -``` - -The script will check basic compilation using pyang (some open modules will be reported missing unless you include them on your pyang module path) and then run backwards compatibility checks against the model in the ```../612``` directory. Directories other that 612 may be specified. - -### Cross-Platform Compatibility Issues - -Unfortunately, IOS-XR 6.3.1 has some issues with small number of native models that have illegal variations in definition across platforms. The details of the models impacted and the issues can be found in [this document](MODEL-ISSUES.md) diff --git a/yang/modules/cisco-ios-xr/631/capabilities-asr9k-px.xml b/yang/modules/cisco-ios-xr/631/capabilities-asr9k-px.xml deleted file mode 100644 index 3580a63..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-asr9k-px.xml +++ /dev/null @@ -1,438 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-oper?module=Cisco-IOS-XR-infra-dumper-oper&revision=2017-05-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-oper?module=Cisco-IOS-XR-subscriber-srg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-cfg?module=Cisco-IOS-XR-tunnel-nve-cfg&revision=2016-08-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-cfg?module=Cisco-IOS-XR-subscriber-srg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfm-oper?module=Cisco-IOS-XR-pfm-oper&revision=2017-03-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg?module=Cisco-IOS-XR-li-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shprocmem-oper?module=Cisco-IOS-XR-nto-misc-shprocmem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-cfg?module=Cisco-IOS-XR-subscriber-accounting-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-xbar-oper?module=Cisco-IOS-XR-asr9k-xbar-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-cfg?module=Cisco-IOS-XR-ip-mobileip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-qos-oper?module=Cisco-IOS-XR-asr9k-qos-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fsi-oper?module=Cisco-IOS-XR-asr9k-fsi-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-asic-errors-oper?module=Cisco-IOS-XR-asr9k-asic-errors-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-oper?module=Cisco-IOS-XR-subscriber-pppoe-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg?module=Cisco-IOS-XR-freqsync-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ext-usb-cfg?module=Cisco-IOS-XR-asr9k-ext-usb-cfg&revision=2015-11-09 - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-vservice-cfg?module=Cisco-IOS-XR-vservice-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-cfg?module=Cisco-IOS-XR-atm-vcm-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg?module=Cisco-IOS-XR-freqsync-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg?module=Cisco-IOS-XR-pbr-vrf-policy-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-oper?module=Cisco-IOS-XR-subscriber-accounting-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-oper?module=Cisco-IOS-XR-upgrade-fpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-np-oper?module=Cisco-IOS-XR-asr9k-np-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-ea-oper?module=Cisco-IOS-XR-pbr-vservice-ea-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-mgr-oper?module=Cisco-IOS-XR-pbr-vservice-mgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-if-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-if-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-envmon-oper?module=Cisco-IOS-XR-asr9k-sc-envmon-oper&revision=2017-01-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-cfg?module=Cisco-IOS-XR-iedge4710-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-sat-cfg?module=Cisco-IOS-XR-ethernet-cfm-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-prm-cfg?module=Cisco-IOS-XR-asr9k-prm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-cfg?module=Cisco-IOS-XR-wd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ptp-pd-oper?module=Cisco-IOS-XR-asr9k-ptp-pd-oper&revision=2017-03-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-oper?module=Cisco-IOS-XR-asr9k-sc-invmgr-oper&revision=2017-01-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-cfg?module=Cisco-IOS-XR-infra-infra-clock-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-cfg?module=Cisco-IOS-XR-infra-dumper-cfg&revision=2017-04-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-oper?module=Cisco-IOS-XR-crypto-macsec-mka-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg?module=Cisco-IOS-XR-icpe-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg?module=Cisco-IOS-XR-aaa-li-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-exception-oper?module=Cisco-IOS-XR-infra-dumper-exception-oper&revision=2017-05-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-policy-oper?module=Cisco-IOS-XR-ha-eem-policy-oper&revision=2016-02-05 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg?module=Cisco-IOS-XR-asr9k-lc-pwrglide-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-bng-cfg?module=Cisco-IOS-XR-qos-ma-bng-cfg&revision=2016-04-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lpts-oper?module=Cisco-IOS-XR-asr9k-lpts-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-oper?module=Cisco-IOS-XR-iedge4710-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-admin-oper?module=Cisco-IOS-XR-asr9k-sc-diag-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-oper?module=Cisco-IOS-XR-tunnel-nve-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-atm-common-datatypes?module=Cisco-IOS-XR-atm-common-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pppoe-ea-oper?module=Cisco-IOS-XR-pppoe-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-cfg?module=Cisco-IOS-XR-subscriber-ipsub-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg?module=Cisco-IOS-XR-subscriber-session-mon-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fab-cfg?module=Cisco-IOS-XR-asr9k-fab-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-oper?module=Cisco-IOS-XR-icpe-infra-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-oper?module=Cisco-IOS-XR-tunnel-vpdn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg?module=Cisco-IOS-XR-tunnel-vpdn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-datatypes?module=Cisco-IOS-XR-pbr-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper?module=Cisco-IOS-XR-asr9k-sc-envmon-admin-oper&revision=2017-01-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-installmgr-admin-oper?module=Cisco-IOS-XR-installmgr-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-datatypes?module=Cisco-IOS-XR-ptp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-netflow-oper?module=Cisco-IOS-XR-asr9k-netflow-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg?module=Cisco-IOS-XR-asr9k-lc-ethctrl-cfg&revision=2015-11-09 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-cfg?module=Cisco-IOS-XR-ptp-cfg&revision=2017-02-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper?module=Cisco-IOS-XR-ip-mobileip-oper&revision=2016-03-10 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-datatypes?module=Cisco-IOS-XR-freqsync-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-sdacp-oper?module=Cisco-IOS-XR-icpe-sdacp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shmem-oper?module=Cisco-IOS-XR-nto-misc-shmem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ptp-pd-cfg?module=Cisco-IOS-XR-asr9k-ptp-pd-cfg&revision=2017-05-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper?module=Cisco-IOS-XR-freqsync-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper?module=Cisco-IOS-XR-pbr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-oper?module=Cisco-IOS-XR-subscriber-ipsub-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-fca-oper?module=Cisco-IOS-XR-asr9k-lc-fca-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-oper?module=Cisco-IOS-XR-atm-vcm-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper?module=Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper&revision=2017-01-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-secy-oper?module=Cisco-IOS-XR-crypto-macsec-secy-oper&revision=2015-11-09 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg?module=Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-oper?module=Cisco-IOS-XR-Ethernet-SPAN-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper?module=Cisco-IOS-XR-ptp-oper&revision=2017-02-02 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg?module=Cisco-IOS-XR-pbr-cfg&revision=2016-03-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg?module=Cisco-IOS-XR-pbr-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-oper?module=Cisco-IOS-XR-subscriber-session-mon-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-reboot-history-oper?module=Cisco-IOS-XR-reboot-history-oper&revision=2016-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-punt-flowtrap-cfg?module=Cisco-IOS-XR-lpts-punt-flowtrap-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-oper?module=Cisco-IOS-XR-asr9k-sc-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-datatypes?module=Cisco-IOS-XR-Ethernet-SPAN-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-mlan-cmp-cfg?module=Cisco-IOS-XR-asr9k-mlan-cmp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-ethctrl-oper?module=Cisco-IOS-XR-asr9k-lc-ethctrl-oper&revision=2015-11-09 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-asr9k-x64.xml b/yang/modules/cisco-ios-xr/631/capabilities-asr9k-x64.xml deleted file mode 100644 index aafe6e6..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-asr9k-x64.xml +++ /dev/null @@ -1,518 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-prm-cfg?module=Cisco-IOS-XR-asr9k-prm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-xbar-oper?module=Cisco-IOS-XR-asr9k-xbar-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-cfg?module=Cisco-IOS-XR-tunnel-nve-cfg&revision=2016-08-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfm-oper?module=Cisco-IOS-XR-pfm-oper&revision=2017-03-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg?module=Cisco-IOS-XR-li-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-cfg?module=Cisco-IOS-XR-subscriber-accounting-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-qos-oper?module=Cisco-IOS-XR-asr9k-qos-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21&deviations=cisco-xr-openconfig-bgp-policy-deviations - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fsi-oper?module=Cisco-IOS-XR-asr9k-fsi-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-oper?module=Cisco-IOS-XR-subscriber-pppoe-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg?module=Cisco-IOS-XR-freqsync-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper?module=Cisco-IOS-XR-ptp-oper&revision=2017-02-02 - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-vservice-cfg?module=Cisco-IOS-XR-vservice-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mac&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg?module=Cisco-IOS-XR-freqsync-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-oper?module=Cisco-IOS-XR-subscriber-accounting-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-if-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-if-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper?module=Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper&revision=2017-01-04 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-debug&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers-asr9k&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-mgr-oper?module=Cisco-IOS-XR-pbr-vservice-mgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg?module=Cisco-IOS-XR-pbr-vrf-policy-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-cfg?module=Cisco-IOS-XR-iedge4710-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-np-oper?module=Cisco-IOS-XR-asr9k-np-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-sat-cfg?module=Cisco-IOS-XR-ethernet-cfm-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ptp-pd-oper?module=Cisco-IOS-XR-asr9k-ptp-pd-oper&revision=2017-03-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-oper?module=Cisco-IOS-XR-asr9k-sc-invmgr-oper&revision=2017-01-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-asic-errors-oper?module=Cisco-IOS-XR-asic-errors-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-cfg?module=Cisco-IOS-XR-subscriber-srg-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-oper?module=Cisco-IOS-XR-crypto-macsec-mka-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear?module=Cisco-IOS-XR-sysadmin-clear-asr9k&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg?module=Cisco-IOS-XR-icpe-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg?module=Cisco-IOS-XR-aaa-li-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-oper?module=Cisco-IOS-XR-tunnel-nve-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper?module=Cisco-IOS-XR-pbr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-pwrglide-cfg?module=Cisco-IOS-XR-asr9k-lc-pwrglide-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-bng-cfg?module=Cisco-IOS-XR-qos-ma-bng-cfg&revision=2016-04-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-external-usb?module=Cisco-IOS-XR-sysadmin-external-usb&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lpts-oper?module=Cisco-IOS-XR-asr9k-lpts-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-oper?module=Cisco-IOS-XR-iedge4710-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-zapdisk?module=Cisco-IOS-XR-sysadmin-zapdisk&revision=2017-05-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-admin-oper?module=Cisco-IOS-XR-asr9k-sc-diag-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pppoe-ea-oper?module=Cisco-IOS-XR-pppoe-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-cfg?module=Cisco-IOS-XR-subscriber-ipsub-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg?module=Cisco-IOS-XR-subscriber-session-mon-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-oper?module=Cisco-IOS-XR-subscriber-srg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-fab-cfg?module=Cisco-IOS-XR-asr9k-fab-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-oper?module=Cisco-IOS-XR-icpe-infra-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trace&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-oper?module=Cisco-IOS-XR-tunnel-vpdn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg?module=Cisco-IOS-XR-tunnel-vpdn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-datatypes?module=Cisco-IOS-XR-pbr-datatypes&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-types?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-types&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-oper?module=Cisco-IOS-XR-asr9k-sc-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-datatypes?module=Cisco-IOS-XR-ptp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-ea-oper?module=Cisco-IOS-XR-pbr-vservice-ea-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-netflow-oper?module=Cisco-IOS-XR-asr9k-netflow-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-ethctrl-cfg?module=Cisco-IOS-XR-asr9k-lc-ethctrl-cfg&revision=2015-11-09 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-cfg?module=Cisco-IOS-XR-ptp-cfg&revision=2017-02-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2015-06-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-datatypes?module=Cisco-IOS-XR-freqsync-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-summary&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-sdacp-oper?module=Cisco-IOS-XR-icpe-sdacp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-clear&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-ethctrl-oper?module=Cisco-IOS-XR-asr9k-lc-ethctrl-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-ptp-pd-cfg?module=Cisco-IOS-XR-asr9k-ptp-pd-cfg&revision=2017-05-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper?module=Cisco-IOS-XR-freqsync-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-oper?module=Cisco-IOS-XR-subscriber-ipsub-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lc-fca-oper?module=Cisco-IOS-XR-asr9k-lc-fca-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-secy-oper?module=Cisco-IOS-XR-crypto-macsec-secy-oper&revision=2015-11-09 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg?module=Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-oper?module=Cisco-IOS-XR-Ethernet-SPAN-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg?module=Cisco-IOS-XR-pbr-cfg&revision=2016-03-08 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg?module=Cisco-IOS-XR-pbr-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-oper?module=Cisco-IOS-XR-subscriber-session-mon-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-punt-flowtrap-cfg?module=Cisco-IOS-XR-lpts-punt-flowtrap-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-datatypes?module=Cisco-IOS-XR-Ethernet-SPAN-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2012-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-ncs1001.xml b/yang/modules/cisco-ios-xr/631/capabilities-ncs1001.xml deleted file mode 100644 index 9540c0c..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-ncs1001.xml +++ /dev/null @@ -1,387 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21&deviations=cisco-xr-openconfig-bgp-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11&deviations=cisco-xr-openconfig-local-routing-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1001-ots-cfg?module=Cisco-IOS-XR-ncs1001-ots-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2015-06-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11&deviations=cisco-xr-openconfig-rib-bgp-deviations - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-asic-errors-ael?module=Cisco-IOS-XR-sysadmin-asic-errors-ael&revision=2017-07-05 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2011-11-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-ncs1k.xml b/yang/modules/cisco-ios-xr/631/capabilities-ncs1k.xml deleted file mode 100644 index f87f259..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-ncs1k.xml +++ /dev/null @@ -1,412 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-patch-panel-cfg?module=Cisco-IOS-XR-patch-panel-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21&deviations=cisco-xr-openconfig-bgp-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-macsec-ea-oper?module=Cisco-IOS-XR-ncs1k-macsec-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-if-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-if-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-cfg?module=Cisco-IOS-XR-ncs1k-mxp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-oper?module=Cisco-IOS-XR-crypto-macsec-mka-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-macsec-ctrlr-oper?module=Cisco-IOS-XR-macsec-ctrlr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-lldp-oper?module=Cisco-IOS-XR-ncs1k-mxp-lldp-oper&revision=2016-10-13 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-secy-oper?module=Cisco-IOS-XR-crypto-macsec-secy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-headless-oper?module=Cisco-IOS-XR-ncs1k-mxp-headless-oper&revision=2017-03-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-oper?module=Cisco-IOS-XR-dot1x-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-if-cfg?module=Cisco-IOS-XR-dot1x-if-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2014-05-08 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-oper?module=Cisco-IOS-XR-ncs1k-mxp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-terminal-device-oper?module=Cisco-IOS-XR-terminal-device-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-terminal-device-cfg?module=Cisco-IOS-XR-terminal-device-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-cfg?module=Cisco-IOS-XR-dot1x-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2010-09-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-asic-errors-ael?module=Cisco-IOS-XR-sysadmin-asic-errors-ael&revision=2017-07-05 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2011-11-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-ncs5500.xml b/yang/modules/cisco-ios-xr/631/capabilities-ncs5500.xml deleted file mode 100644 index a75a21a..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-ncs5500.xml +++ /dev/null @@ -1,501 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper?module=Cisco-IOS-XR-fretta-bcm-dpa-resources-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-node-oper?module=Cisco-IOS-XR-ncs5500-coherent-node-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg?module=Cisco-IOS-XR-li-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-optics-driver-cfg?module=Cisco-IOS-XR-optics-driver-cfg&revision=2016-03-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers-ncs5501&revision=2017-01-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg?module=Cisco-IOS-XR-freqsync-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper?module=Cisco-IOS-XR-ptp-oper&revision=2017-02-02 - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mac&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg?module=Cisco-IOS-XR-freqsync-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg?module=Cisco-IOS-XR-pbr-vrf-policy-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-if-cfg?module=Cisco-IOS-XR-crypto-macsec-mka-if-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers-ncs5500&revision=2017-01-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-asic-errors-oper?module=Cisco-IOS-XR-asic-errors-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper?module=Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-oper?module=Cisco-IOS-XR-crypto-macsec-mka-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear?module=Cisco-IOS-XR-sysadmin-clear-ncs55A1&revision=2015-03-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg?module=Cisco-IOS-XR-aaa-li-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers-ncs55A1&revision=2015-03-20 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11&deviations=cisco-xr-openconfig-local-routing-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-secy-oper?module=Cisco-IOS-XR-crypto-macsec-secy-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-types?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-qos-oper?module=Cisco-IOS-XR-ncs5500-qos-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-card-mgr?module=Cisco-IOS-XR-sysadmin-card-mgr&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper?module=Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg?module=Cisco-IOS-XR-ncs5500-coherent-portmode-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers-ncs5502&revision=2017-01-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fia-hw-profile-cfg?module=Cisco-IOS-XR-fia-hw-profile-cfg&revision=2016-06-22 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fabhfr-mib-cfg?module=Cisco-IOS-XR-fabhfr-mib-cfg&revision=2017-05-31 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-cxp?module=Cisco-IOS-XR-sysadmin-fabric-cxp&revision=1970-01-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-driver-sfe?module=Cisco-IOS-XR-sysadmin-fabric-driver-sfe&revision=2017-05-01 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric?module=Cisco-IOS-XR-sysadmin-fabric-ncs5500&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-datatypes?module=Cisco-IOS-XR-ptp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://www.cisco.com/panini/calvados/slice_control/modena/types?module=modena_driver_types&revision=2015-08-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-pl-oper?module=Cisco-IOS-XR-crypto-macsec-pl-oper&revision=2015-11-09 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-fia-internal-tcam-oper?module=Cisco-IOS-XR-fia-internal-tcam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-cfg?module=Cisco-IOS-XR-ptp-cfg&revision=2017-02-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2015-06-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-datatypes?module=Cisco-IOS-XR-freqsync-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-driver-oper?module=Cisco-IOS-XR-dnx-driver-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-summary&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-grid-svr-oper?module=Cisco-IOS-XR-fretta-grid-svr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric?module=Cisco-IOS-XR-sysadmin-fabric-ncs5501&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper?module=Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric?module=Cisco-IOS-XR-sysadmin-fabric-ncs5502&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-clear&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper?module=Cisco-IOS-XR-freqsync-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper?module=Cisco-IOS-XR-pbr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-netflow-oper?module=Cisco-IOS-XR-dnx-netflow-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-types?module=Cisco-IOS-XR-sysadmin-fabric-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear?module=Cisco-IOS-XR-sysadmin-clear-ncs5500&revision=2017-01-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syncc-oper?module=Cisco-IOS-XR-syncc-oper&revision=2016-06-08 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-oper?module=Cisco-IOS-XR-Ethernet-SPAN-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-pd-oper?module=Cisco-IOS-XR-ptp-pd-oper&revision=2016-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg?module=Cisco-IOS-XR-pbr-cfg&revision=2016-03-08 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg?module=Cisco-IOS-XR-pbr-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-portmode-oper?module=Cisco-IOS-XR-ncs5500-coherent-portmode-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-datatypes?module=Cisco-IOS-XR-Ethernet-SPAN-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-asic-errors-ael?module=Cisco-IOS-XR-sysadmin-asic-errors-ael&revision=2017-07-05 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-port-mapper-oper?module=Cisco-IOS-XR-dnx-port-mapper-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2012-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear?module=Cisco-IOS-XR-sysadmin-clear-ncs5502&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fgid&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-ncs5k.xml b/yang/modules/cisco-ios-xr/631/capabilities-ncs5k.xml deleted file mode 100644 index 1037cfe..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-ncs5k.xml +++ /dev/null @@ -1,441 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-optics-driver-cfg?module=Cisco-IOS-XR-optics-driver-cfg&revision=2016-03-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg?module=Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg&revision=2016-09-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg?module=Cisco-IOS-XR-freqsync-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg?module=Cisco-IOS-XR-prm-hwmod-loadbalance-cfg&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-platform-pifib-oper?module=Cisco-IOS-XR-platform-pifib-oper&revision=2016-02-22 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg?module=Cisco-IOS-XR-freqsync-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-prm-hwmod-sr-cfg?module=Cisco-IOS-XR-prm-hwmod-sr-cfg&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-sat-cfg?module=Cisco-IOS-XR-ethernet-cfm-sat-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-skp-qos-oper?module=Cisco-IOS-XR-skp-qos-oper&revision=2016-02-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-prm-server-oper?module=Cisco-IOS-XR-prm-server-oper&revision=2016-02-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-skywarp-netflow-oper?module=Cisco-IOS-XR-skywarp-netflow-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2015-06-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-datatypes?module=Cisco-IOS-XR-freqsync-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper?module=Cisco-IOS-XR-freqsync-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-oper?module=Cisco-IOS-XR-Ethernet-SPAN-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-datatypes?module=Cisco-IOS-XR-Ethernet-SPAN-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2012-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-ncs6k.xml b/yang/modules/cisco-ios-xr/631/capabilities-ncs6k.xml deleted file mode 100644 index 56b3f6f..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-ncs6k.xml +++ /dev/null @@ -1,477 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric?module=Cisco-IOS-XR-sysadmin-fabric&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg?module=Cisco-IOS-XR-li-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21&deviations=cisco-xr-openconfig-bgp-policy-deviations - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11&deviations=cisco-xr-openconfig-local-routing-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types?module=Cisco-IOS-XR-sysadmin-envmon-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mac&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg?module=Cisco-IOS-XR-pbr-vrf-policy-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-debug&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear?module=Cisco-IOS-XR-sysadmin-clear&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-sse-span-oper?module=Cisco-IOS-XR-sse-span-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-slice-manager?module=Cisco-IOS-XR-sysadmin-show-trace-slice-manager&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-groups?module=Cisco-IOS-XR-sysadmin-fabric-groups&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ncs6k-acl-oper?module=Cisco-IOS-XR-ncs6k-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-asic-errors-oper?module=Cisco-IOS-XR-asic-errors-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg?module=Cisco-IOS-XR-icpe-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg?module=Cisco-IOS-XR-aaa-li-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator&revision=2017-06-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper?module=Cisco-IOS-XR-pbr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-types?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-types&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg?module=Cisco-IOS-XR-otnifmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui?module=Cisco-IOS-XR-sysadmin-envmon-ui&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-oper?module=Cisco-IOS-XR-icpe-infra-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-console?module=Cisco-IOS-XR-sysadmin-console&revision=2017-01-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fia-hw-profile-cfg?module=Cisco-IOS-XR-fia-hw-profile-cfg&revision=2016-06-22 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fabhfr-mib-cfg?module=Cisco-IOS-XR-fabhfr-mib-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-clear?module=Cisco-IOS-XR-sysadmin-obfl-clear&revision=2017-07-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-cxp?module=Cisco-IOS-XR-sysadmin-fabric-cxp&revision=1970-01-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-driver-sfe?module=Cisco-IOS-XR-sysadmin-fabric-driver-sfe&revision=2017-05-01 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-cfg?module=Cisco-IOS-XR-Ethernet-SPAN-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://www.cisco.com/panini/calvados/slice_control/modena/types?module=modena_driver_types&revision=1970-01-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers?module=Cisco-IOS-XR-sysadmin-controllers&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-fia-internal-tcam-oper?module=Cisco-IOS-XR-fia-internal-tcam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-driver-oper?module=Cisco-IOS-XR-dnx-driver-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-summary&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-slice-mgr-proxy-cfg?module=Cisco-IOS-XR-slice-mgr-proxy-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-sdacp-oper?module=Cisco-IOS-XR-icpe-sdacp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-clear&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-types?module=Cisco-IOS-XR-sysadmin-fabric-types&revision=2017-05-01 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11&deviations=cisco-xr-openconfig-rib-bgp-deviations - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-oper?module=Cisco-IOS-XR-Ethernet-SPAN-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg?module=Cisco-IOS-XR-pbr-cfg&revision=2016-03-08 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg?module=Cisco-IOS-XR-pbr-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-punt-flowtrap-cfg?module=Cisco-IOS-XR-lpts-punt-flowtrap-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-Ethernet-SPAN-datatypes?module=Cisco-IOS-XR-Ethernet-SPAN-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-console?module=Cisco-IOS-XR-sysadmin-sdr-console&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-asic-errors-ael?module=Cisco-IOS-XR-sysadmin-asic-errors-ael&revision=2017-07-05 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli?module=Cisco-IOS-XR-sysadmin-ethsw-esdma-cli&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2011-11-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid?module=Cisco-IOS-XR-sysadmin-fabric-mgr-fgid&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-xrv9k.xml b/yang/modules/cisco-ios-xr/631/capabilities-xrv9k.xml deleted file mode 100644 index 9a25cbb..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-xrv9k.xml +++ /dev/null @@ -1,435 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://openconfig.net/yang/optical-transport-line-protection?module=openconfig-transport-line-protection&revision=2017-03-28&deviations=cisco-xr-openconfig-transport-line-protection-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-oper?module=Cisco-IOS-XR-subscriber-srg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://openconfig.net/yang/platform?module=openconfig-platform&revision=2016-06-06&deviations=cisco-xr-openconfig-platform-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg?module=Cisco-IOS-XR-watchd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper?module=Cisco-IOS-XR-sdr-invmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg?module=Cisco-IOS-XR-telemetry-model-driven-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg?module=Cisco-IOS-XR-li-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-cfg?module=Cisco-IOS-XR-subscriber-accounting-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-cfg?module=Cisco-IOS-XR-ip-mobileip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper?module=Cisco-IOS-XR-wd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21&deviations=cisco-xr-openconfig-bgp-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-test-tacacs&revision=2017-05-10 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt?module=Cisco-IOS-XR-sysadmin-show-trace-instagt&revision=2017-04-12 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper?module=Cisco-IOS-XR-linux-os-reboot-history-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-oper?module=Cisco-IOS-XR-subscriber-pppoe-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/platform/transceiver?module=openconfig-platform-transceiver&revision=2016-05-24&deviations=cisco-xr-openconfig-platform-transceiver-deviations - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg?module=Cisco-IOS-XR-spirit-corehelper-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-vservice-cfg?module=Cisco-IOS-XR-vservice-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod?module=Cisco-IOS-XR-sysadmin-sm-hw-mod&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-oper?module=Cisco-IOS-XR-subscriber-accounting-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg?module=Cisco-IOS-XR-pbr-vrf-policy-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system?module=Cisco-IOS-XR-sysadmin-system&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types?module=Cisco-IOS-XR-sysadmin-types&revision=2017-01-31 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace?module=Cisco-IOS-XR-sysadmin-debug-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv?module=Cisco-IOS-XR-sysadmin-show-inv&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg?module=Cisco-IOS-XR-kim-tpa-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone?module=Cisco-IOS-XR-sysadmin-time-of-day-timezone&revision=2016-07-04 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib?module=Cisco-IOS-XR-sysadmin-entity-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-cfg?module=Cisco-IOS-XR-iedge4710-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib?module=Cisco-IOS-XR-sysadmin-entity-sensor-mib&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds?module=Cisco-IOS-XR-sysadmin-ds&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-cfg?module=Cisco-IOS-XR-subscriber-srg-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui?module=Cisco-IOS-XR-sysadmin-led-mgr-ui&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd?module=Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg?module=Cisco-IOS-XR-invmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper?module=Cisco-IOS-XR-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-li-cfg?module=Cisco-IOS-XR-aaa-li-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm?module=Cisco-IOS-XR-sysadmin-pm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl?module=Cisco-IOS-XR-sysadmin-show-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper?module=Cisco-IOS-XR-pbr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://openconfig.net/yang/optical-amplfier?module=openconfig-optical-amplifier&revision=2017-07-08&deviations=cisco-xr-openconfig-optical-amplifier-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf?module=Cisco-IOS-XR-sysadmin-obfl-conf&revision=2017-07-31 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module?module=Cisco-IOS-XR-sysadmin-hw-module&revision=2017-01-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-oper?module=Cisco-IOS-XR-iedge4710-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg?module=Cisco-IOS-XR-man-ems-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pppoe-ea-oper?module=Cisco-IOS-XR-pppoe-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper?module=Cisco-IOS-XR-wanphy-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-cfg?module=Cisco-IOS-XR-subscriber-ipsub-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm?module=Cisco-IOS-XR-sysadmin-show-trace-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg?module=Cisco-IOS-XR-subscriber-session-mon-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2015-06-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace?module=Cisco-IOS-XR-sysadmin-show-trace&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-oper?module=Cisco-IOS-XR-tunnel-vpdn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg?module=Cisco-IOS-XR-tunnel-vpdn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper?module=Cisco-IOS-XR-nto-misc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-datatypes?module=Cisco-IOS-XR-pbr-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg?module=Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname?module=Cisco-IOS-XR-sysadmin-nto-misc-set-hostname&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg?module=Cisco-IOS-XR-infra-infra-clock-linux-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship?module=Cisco-IOS-XR-sysadmin-ship&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://openconfig.net/yang/terminal-device?module=openconfig-terminal-device&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-ea-oper?module=Cisco-IOS-XR-pbr-vservice-ea-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper?module=Cisco-IOS-XR-show-fpd-loc-ng-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag?module=Cisco-IOS-XR-sysadmin-show-diag&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper?module=Cisco-IOS-XR-telemetry-model-driven-oper&revision=2017-05-05 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper?module=Cisco-IOS-XR-alarmgr-server-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://openconfig.net/yang/transport-line-common?module=openconfig-transport-line-common&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - http://openconfig.net/yang/platform-types?module=openconfig-platform-types&revision=2016-06-06 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery?module=Cisco-IOS-XR-sysadmin-aaa-disaster-recovery&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-mgr-oper?module=Cisco-IOS-XR-pbr-vservice-mgr-oper&revision=2017-05-01 - http://openconfig.net/yang/transport-types?module=openconfig-transport-types&revision=2016-06-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper?module=Cisco-IOS-XR-procmem-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon?module=Cisco-IOS-XR-sysadmin-wdmon&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper?module=Cisco-IOS-XR-man-ems-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show?module=Cisco-IOS-XR-sysadmin-aaa-aaa-show&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib?module=Cisco-IOS-XR-sysadmin-entity-state-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent?module=Cisco-IOS-XR-sysadmin-show-trace-debug-agent&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl?module=Cisco-IOS-XR-sysadmin-obfl&revision=2017-07-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-oper?module=Cisco-IOS-XR-subscriber-ipsub-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm?module=Cisco-IOS-XR-sysadmin-sm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog?module=Cisco-IOS-XR-sysadmin-syslog&revision=2017-05-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server?module=Cisco-IOS-XR-sysadmin-tacacs-tacacs-server&revision=2017-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm?module=Cisco-IOS-XR-sysadmin-show-trace-vmm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr?module=Cisco-IOS-XR-sysadmin-rvm-mgr&revision=2017-04-12 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services?module=Cisco-IOS-XR-sysadmin-services&revision=2016-11-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg?module=Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr?module=Cisco-IOS-XR-sysadmin-alarm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm?module=Cisco-IOS-XR-sysadmin-cm&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib?module=Cisco-IOS-XR-sysadmin-entity-state-tc-mib&revision=2017-04-12 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg?module=Cisco-IOS-XR-pbr-cfg&revision=2016-03-08 - http://openconfig.net/yang/channel-monitor?module=openconfig-channel-monitor&revision=2017-07-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act?module=Cisco-IOS-XR-sysmgr-act&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg?module=Cisco-IOS-XR-pbr-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-oper?module=Cisco-IOS-XR-subscriber-session-mon-oper&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr?module=Cisco-IOS-XR-sysadmin-vm-mgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr?module=Cisco-IOS-XR-sysadmin-show-trace-instmgr&revision=2017-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-punt-flowtrap-cfg?module=Cisco-IOS-XR-lpts-punt-flowtrap-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper?module=Cisco-IOS-XR-sdr-invmgr-diag-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm?module=Cisco-IOS-XR-sysadmin-fm&revision=2016-04-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper?module=Cisco-IOS-XR-ip-mobileip-oper&revision=2016-03-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2012-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg?module=Cisco-IOS-XR-wanphy-ui-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs?module=Cisco-IOS-XR-sysadmin-tacacs-show-tacacs&revision=2017-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper?module=Cisco-IOS-XR-cmproxy-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr?module=Cisco-IOS-XR-sysadmin-sdr-mgr&revision=2017-06-20 - http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper?module=Cisco-IOS-XR-sysadmin-dumper&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/capabilities-xrvr.xml b/yang/modules/cisco-ios-xr/631/capabilities-xrvr.xml deleted file mode 100644 index 0213bfd..0000000 --- a/yang/modules/cisco-ios-xr/631/capabilities-xrvr.xml +++ /dev/null @@ -1,360 +0,0 @@ - - - - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv6-ma-subscriber-cfg&revision=2017-01-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg?module=Cisco-IOS-XR-infra-syslog-cfg&revision=2016-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg?module=Cisco-IOS-XR-man-xml-ttyagent-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan-types?module=openconfig-vlan-types&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act?module=Cisco-IOS-XR-isis-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-oper?module=Cisco-IOS-XR-aaa-diameter-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper?module=Cisco-IOS-XR-infra-correlator-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper?module=Cisco-IOS-XR-ipv4-io-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper?module=Cisco-IOS-XR-controller-optics-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg?module=Cisco-IOS-XR-ip-iarm-vrf-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg?module=Cisco-IOS-XR-controller-otu-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-oper?module=Cisco-IOS-XR-infra-dumper-oper&revision=2017-05-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg?module=Cisco-IOS-XR-snmp-bridgemib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper?module=Cisco-IOS-XR-infra-policymgr-oper&revision=2017-05-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg?module=Cisco-IOS-XR-ipv4-igmp-cfg&revision=2016-10-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes?module=Cisco-IOS-XR-infra-alarm-logger-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper?module=Cisco-IOS-XR-dwdm-ui-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg?module=Cisco-IOS-XR-ip-pfilter-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-oper?module=Cisco-IOS-XR-subscriber-srg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes?module=Cisco-IOS-XR-tty-management-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg?module=Cisco-IOS-XR-group-cfg&revision=2016-04-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg?module=Cisco-IOS-XR-config-mibs-cfg&revision=2015-09-29 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg?module=Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg?module=Cisco-IOS-XR-infra-systemmib-cfg&revision=2015-11-09 - http://openconfig.net/yang/mpls?module=openconfig-mpls&revision=2015-11-05&deviations=cisco-xr-openconfig-mpls-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg?module=Cisco-IOS-XR-mpls-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg?module=Cisco-IOS-XR-lpts-lib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-cfg?module=Cisco-IOS-XR-subscriber-srg-cfg&revision=2015-11-09 - http://openconfig.net/yang/sr?module=openconfig-mpls-sr&revision=2015-11-05 - http://cisco.com/ns/yang/cisco-xr-types?module=Cisco-IOS-XR-types&revision=2017-03-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper?module=Cisco-IOS-XR-snmp-entitymib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shprocmem-oper?module=Cisco-IOS-XR-nto-misc-shprocmem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes?module=Cisco-IOS-XR-ipv4-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-cfg?module=Cisco-IOS-XR-ip-mobileip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper?module=Cisco-IOS-XR-ip-tcp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper?module=Cisco-IOS-XR-ip-sbfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper?module=Cisco-IOS-XR-lib-keychain-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg?module=Cisco-IOS-XR-manageability-object-tracking-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg?module=Cisco-IOS-XR-infra-serg-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper?module=Cisco-IOS-XR-ipv4-bgp-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper?module=Cisco-IOS-XR-ethernet-cfm-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg?module=Cisco-IOS-XR-mpls-vpn-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper?module=Cisco-IOS-XR-rgmgr-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper?module=Cisco-IOS-XR-ip-ntp-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg?module=Cisco-IOS-XR-drivers-icpe-ethernet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-cfg?module=Cisco-IOS-XR-aaa-locald-cfg&revision=2015-11-09 - http://openconfig.net/yang/policy-types?module=openconfig-policy-types&revision=2016-05-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-cfg?module=Cisco-IOS-XR-aaa-diameter-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper?module=Cisco-IOS-XR-lpts-ifib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg?module=Cisco-IOS-XR-drivers-media-eth-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg?module=Cisco-IOS-XR-ip-pfilter-subscriber-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ip?module=openconfig-if-ip&revision=2016-05-26&deviations=cisco-xr-openconfig-if-ip-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper?module=Cisco-IOS-XR-tty-management-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper?module=Cisco-IOS-XR-bundlemgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg?module=Cisco-IOS-XR-ipv4-acl-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg?module=Cisco-IOS-XR-ip-ntp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper?module=Cisco-IOS-XR-controller-otu-oper&revision=2017-05-01 - http://openconfig.net/yang/ldp?module=openconfig-mpls-ldp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg?module=Cisco-IOS-XR-tunnel-gre-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper?module=Cisco-IOS-XR-ethernet-lldp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper?module=Cisco-IOS-XR-infra-statsd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper?module=Cisco-IOS-XR-ppp-ma-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes?module=Cisco-IOS-XR-es-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper?module=Cisco-IOS-XR-l2-eth-infra-oper&revision=2015-11-09 - http://openconfig.net/yang/routing-policy?module=openconfig-routing-policy&revision=2016-05-12&deviations=cisco-xr-openconfig-routing-policy-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg?module=Cisco-IOS-XR-tunnel-l2tun-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg?module=Cisco-IOS-XR-controller-optics-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper?module=Cisco-IOS-XR-crypto-ssh-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper?module=Cisco-IOS-XR-ifmgr-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg?module=Cisco-IOS-XR-ip-icmp-cfg&revision=2017-06-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg?module=Cisco-IOS-XR-ipv4-arp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg?module=Cisco-IOS-XR-mdrv-lib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring?module=ietf-restconf-monitoring&revision=2016-08-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg?module=Cisco-IOS-XR-mpls-lsd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-cfg?module=Cisco-IOS-XR-aaa-tacacs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg?module=Cisco-IOS-XR-snmp-agent-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper?module=Cisco-IOS-XR-infra-objmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper?module=Cisco-IOS-XR-mpls-ldp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg?module=Cisco-IOS-XR-ipv4-msdp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg?module=Cisco-IOS-XR-ip-daps-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg?module=Cisco-IOS-XR-infra-objmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg?module=Cisco-IOS-XR-ipv6-ospfv3-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg?module=Cisco-IOS-XR-lib-mpp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-datatypes?module=Cisco-IOS-XR-aaa-lib-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper?module=Cisco-IOS-XR-lpts-pa-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper?module=Cisco-IOS-XR-shellutil-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg?module=Cisco-IOS-XR-ip-udp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg?module=Cisco-IOS-XR-mpls-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg?module=Cisco-IOS-XR-ip-rip-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg?module=Cisco-IOS-XR-ppp-ma-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-macsec-cfg?module=Cisco-IOS-XR-lib-keychain-macsec-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg?module=Cisco-IOS-XR-ipv4-ma-subscriber-cfg&revision=2015-07-30 - urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper?module=Cisco-IOS-XR-infra-xtc-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper?module=Cisco-IOS-XR-mpls-lsd-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper?module=Cisco-IOS-XR-config-cfgmgr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes?module=Cisco-IOS-XR-l2-eth-infra-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper?module=Cisco-IOS-XR-manageability-perfmgmt-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg?module=Cisco-IOS-XR-crypto-sam-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg?module=Cisco-IOS-XR-snmp-entstatemib-cfg&revision=2015-07-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act?module=Cisco-IOS-XR-hwmod-mpa-reload-act&revision=2016-06-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes?module=Cisco-IOS-XR-ipv4-autorp-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper?module=Cisco-IOS-XR-es-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg?module=Cisco-IOS-XR-mpls-ldp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg?module=Cisco-IOS-XR-qos-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg?module=Cisco-IOS-XR-ip-rib-cfg&revision=2015-11-09 - http://openconfig.net/yang/interfaces?module=openconfig-interfaces&revision=2016-05-26&deviations=cisco-xr-openconfig-interfaces-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg?module=Cisco-IOS-XR-infra-alarm-logger-cfg&revision=2017-02-23 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper?module=Cisco-IOS-XR-tunnel-l2tun-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg?module=Cisco-IOS-XR-segment-routing-ms-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg?module=Cisco-IOS-XR-ipv4-vrrp-cfg&revision=2017-05-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg?module=Cisco-IOS-XR-man-netconf-cfg&revision=2016-03-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg?module=Cisco-IOS-XR-tty-server-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act?module=Cisco-IOS-XR-traceroute-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg?module=Cisco-IOS-XR-ip-rsvp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg?module=Cisco-IOS-XR-opticalmib-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-library?module=ietf-yang-library&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper?module=Cisco-IOS-XR-ip-rsvp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg?module=Cisco-IOS-XR-flashmib-cfg&revision=2015-12-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg?module=Cisco-IOS-XR-ipv4-mfwd-cfg&revision=2016-06-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg?module=Cisco-IOS-XR-ipv4-telnet-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper?module=Cisco-IOS-XR-ipv4-bgp-oc-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper?module=Cisco-IOS-XR-mpls-static-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper?module=Cisco-IOS-XR-ip-rip-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg?module=Cisco-IOS-XR-ppp-ma-lcp-cfg&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-wd-cfg?module=Cisco-IOS-XR-wd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg?module=Cisco-IOS-XR-ethernet-lldp-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper?module=Cisco-IOS-XR-ipv6-ospfv3-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act?module=Cisco-IOS-XR-cfgmgr-rollback-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg?module=Cisco-IOS-XR-fib-common-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes?module=Cisco-IOS-XR-clns-isis-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-cfg?module=Cisco-IOS-XR-infra-dumper-cfg&revision=2017-04-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg?module=Cisco-IOS-XR-es-acl-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper?module=Cisco-IOS-XR-cdp-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act?module=Cisco-IOS-XR-syslog-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg?module=Cisco-IOS-XR-ip-domain-cfg&revision=2015-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper?module=Cisco-IOS-XR-mpls-io-oper&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper?module=Cisco-IOS-XR-infra-rmf-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg?module=Cisco-IOS-XR-ip-bfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-oper?module=Cisco-IOS-XR-upgrade-fpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg?module=Cisco-IOS-XR-infra-xtc-cfg&revision=2016-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg?module=Cisco-IOS-XR-snmp-ciscosensormib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper?module=Cisco-IOS-XR-snmp-ifmib-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg?module=Cisco-IOS-XR-infra-rcmd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper?module=Cisco-IOS-XR-ipv4-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg?module=Cisco-IOS-XR-ppp-ma-syslog-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-accounting-cfg?module=Cisco-IOS-XR-accounting-cfg&revision=2017-05-31 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg?module=Cisco-IOS-XR-ipv4-hsrp-cfg&revision=2017-05-01 - http://openconfig.net/yang/vlan?module=openconfig-vlan&revision=2016-05-26&deviations=cisco-xr-openconfig-vlan-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg?module=Cisco-IOS-XR-tty-vty-cfg&revision=2015-09-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes?module=Cisco-IOS-XR-ipv6-acl-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg?module=Cisco-IOS-XR-ipv6-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg?module=Cisco-IOS-XR-tty-management-cfg&revision=2015-09-25 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-exception-oper?module=Cisco-IOS-XR-infra-dumper-exception-oper&revision=2017-05-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-policy-oper?module=Cisco-IOS-XR-ha-eem-policy-oper&revision=2016-02-05 - http://openconfig.net/yang/local-routing?module=openconfig-local-routing&revision=2016-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act?module=Cisco-IOS-XR-lib-keychain-act&revision=2017-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg?module=Cisco-IOS-XR-ethernet-link-oam-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg?module=Cisco-IOS-XR-ipv4-ospf-cfg&revision=2017-07-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg?module=Cisco-IOS-XR-snmp-frucontrolmib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg?module=Cisco-IOS-XR-rgmgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper?module=Cisco-IOS-XR-ipv4-ospf-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act?module=Cisco-IOS-XR-ipv4-bgp-act&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg?module=Cisco-IOS-XR-infra-infra-cfg&revision=2016-06-16 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper?module=Cisco-IOS-XR-ip-domain-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act?module=Cisco-IOS-XR-snmp-test-trap-act&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper?module=Cisco-IOS-XR-ip-iep-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper?module=Cisco-IOS-XR-wdsysmon-fd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-aaacore-cfg?module=Cisco-IOS-XR-aaa-aaacore-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper?module=Cisco-IOS-XR-lpts-pre-ifib-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper?module=Cisco-IOS-XR-ipv4-igmp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper?module=Cisco-IOS-XR-ip-iarm-v6-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act?module=Cisco-IOS-XR-ipv6-ospfv3-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg?module=Cisco-IOS-XR-ppp-ma-ssrp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper?module=Cisco-IOS-XR-policy-repository-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg?module=Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper?module=Cisco-IOS-XR-shellutil-filesystem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg?module=Cisco-IOS-XR-infra-infra-locale-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper?module=Cisco-IOS-XR-l2vpn-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper?module=Cisco-IOS-XR-ipv6-nd-oper&revision=2015-11-09 - urn:ietf:params:xml:ns:yang:ietf-syslog-types?module=ietf-syslog-types&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper?module=Cisco-IOS-XR-snmp-agent-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper?module=Cisco-IOS-XR-ipv4-hsrp-oper&revision=2015-11-09 - http://openconfig.net/yang/mpls-types?module=openconfig-mpls-types&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg?module=Cisco-IOS-XR-ipv4-io-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg?module=Cisco-IOS-XR-subscriber-session-mon-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-oper?module=Cisco-IOS-XR-aaa-protocol-radius-oper&revision=2017-05-01 - http://openconfig.net/yang/telemetry?module=openconfig-telemetry&revision=2016-02-04&deviations=cisco-xr-openconfig-telemetry-deviations - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-cfg?module=Cisco-IOS-XR-infra-infra-clock-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-oper?module=Cisco-IOS-XR-aaa-locald-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg?module=Cisco-IOS-XR-shellutil-cfg&revision=2015-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg?module=Cisco-IOS-XR-infra-ceredundancymib-cfg&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg?module=Cisco-IOS-XR-ipv4-pim-cfg&revision=2017-05-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper?module=Cisco-IOS-XR-manageability-object-tracking-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg?module=Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg?module=Cisco-IOS-XR-ipv4-bgp-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg?module=Cisco-IOS-XR-infra-correlator-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg?module=Cisco-IOS-XR-ppp-ma-gbl-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes?module=Cisco-IOS-XR-mpls-ldp-cfg-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper?module=Cisco-IOS-XR-ip-iarm-v4-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg?module=Cisco-IOS-XR-opticalotsmib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper?module=Cisco-IOS-XR-ipv6-io-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper?module=Cisco-IOS-XR-clns-isis-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-tacacs-oper?module=Cisco-IOS-XR-aaa-tacacs-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg?module=Cisco-IOS-XR-ipv4-filesystems-cfg&revision=2017-07-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper?module=Cisco-IOS-XR-pmengine-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper?module=Cisco-IOS-XR-fib-common-oper&revision=2017-05-01 - http://openconfig.net/yang/bgp-policy?module=openconfig-bgp-policy&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper?module=Cisco-IOS-XR-ipv4-dhcpd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg?module=Cisco-IOS-XR-ip-iarm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg?module=Cisco-IOS-XR-ipv6-nd-subscriber-cfg&revision=2016-12-19 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg?module=Cisco-IOS-XR-snmp-syslogmib-cfg&revision=2015-12-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg?module=Cisco-IOS-XR-drivers-vpa-infra-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg?module=Cisco-IOS-XR-ipv4-ma-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper?module=Cisco-IOS-XR-ethernet-link-oam-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/aggregate?module=openconfig-if-aggregate&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper?module=Cisco-IOS-XR-infra-sla-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes?module=Cisco-IOS-XR-common-acl-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types?module=cisco-xr-openconfig-interfaces-types&revision=2016-10-12 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg?module=Cisco-IOS-XR-l2vpn-cfg&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes?module=Cisco-IOS-XR-mpls-te-datatypes&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper?module=Cisco-IOS-XR-mpls-oam-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg?module=Cisco-IOS-XR-pmengine-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper?module=Cisco-IOS-XR-ip-udp-oper&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg?module=Cisco-IOS-XR-aaa-locald-admin-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper?module=Cisco-IOS-XR-l2rib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper?module=Cisco-IOS-XR-infra-alarm-logger-oper&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper?module=Cisco-IOS-XR-ipv6-acl-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-installmgr-admin-oper?module=Cisco-IOS-XR-installmgr-admin-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg?module=Cisco-IOS-XR-ipv6-acl-cfg&revision=2017-05-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper?module=Cisco-IOS-XR-man-xml-ttyagent-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper?module=Cisco-IOS-XR-infra-rsi-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg?module=Cisco-IOS-XR-clns-isis-cfg&revision=2017-06-02 - http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg?module=Cisco-IOS-XR-dwdm-ui-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg?module=Cisco-IOS-XR-aaa-lib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper?module=Cisco-IOS-XR-snmp-sensormib-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper?module=Cisco-IOS-XR-infra-syslog-oper&revision=2016-06-24 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper?module=Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper?module=Cisco-IOS-XR-ipv4-vrrp-oper&revision=2017-05-01 - http://openconfig.net/yang/lacp?module=openconfig-lacp&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg?module=Cisco-IOS-XR-ipv4-telnet-mgmt-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg?module=Cisco-IOS-XR-ppp-ma-ipcp-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper?module=Cisco-IOS-XR-tty-management-cmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper?module=Cisco-IOS-XR-lib-mpp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg?module=Cisco-IOS-XR-ipv4-smiap-cfg&revision=2016-07-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper?module=Cisco-IOS-XR-qos-ma-oper&revision=2017-04-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-diameter-base-mib-cfg?module=Cisco-IOS-XR-aaa-diameter-base-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg?module=Cisco-IOS-XR-infra-ltrace-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper?module=Cisco-IOS-XR-infra-serg-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg?module=Cisco-IOS-XR-infra-statsd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg?module=Cisco-IOS-XR-ppp-ma-fsm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg?module=Cisco-IOS-XR-snmp-ifmib-cfg&revision=2017-05-01 - http://openconfig.net/yang/bgp-types?module=openconfig-bgp-types&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg?module=Cisco-IOS-XR-infra-rsi-subscriber-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes?module=Cisco-IOS-XR-controller-odu-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg?module=Cisco-IOS-XR-ipv6-nd-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg?module=Cisco-IOS-XR-qos-mibs-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg?module=Cisco-IOS-XR-ethernet-cfm-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg?module=Cisco-IOS-XR-aaa-protocol-radius-cfg&revision=2017-05-01 - http://tail-f.com/ns/netconf/actions/1.0?module=tailf-actions&revision=2017-02-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg?module=Cisco-IOS-XR-call-home-cfg&revision=2017-03-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper?module=Cisco-IOS-XR-segment-routing-ms-oper&revision=2015-11-09 - http://openconfig.net/yang/interfaces/ethernet?module=openconfig-if-ethernet&revision=2016-05-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg?module=Cisco-IOS-XR-snmp-mib-rfmib-cfg&revision=2016-05-13 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg?module=Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper?module=Cisco-IOS-XR-ip-mobileip-oper&revision=2016-03-10 - urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2014-05-08 - http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act?module=Cisco-IOS-XR-upgrade-fpd-ng-act&revision=2017-04-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg?module=Cisco-IOS-XR-ha-eem-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper?module=Cisco-IOS-XR-ip-rib-ipv4-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper?module=Cisco-IOS-XR-crypto-sam-oper&revision=2015-01-07 - urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg?module=Cisco-IOS-XR-cdp-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg?module=Cisco-IOS-XR-traffmon-netflow-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg?module=Cisco-IOS-XR-ipv4-cinetd-cfg&revision=2017-06-22 - http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper?module=Cisco-IOS-XR-plat-chas-invmgr-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act?module=Cisco-IOS-XR-ping-act&revision=2016-09-28 - http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg?module=Cisco-IOS-XR-ifmgr-cfg&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper?module=Cisco-IOS-XR-infra-tc-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg?module=Cisco-IOS-XR-config-mda-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg?module=Cisco-IOS-XR-manageability-perfmgmt-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shmem-oper?module=Cisco-IOS-XR-nto-misc-shmem-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg?module=Cisco-IOS-XR-crypto-ssh-cfg&revision=2017-07-15 - http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes?module=Cisco-IOS-XR-ethernet-cfm-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper?module=Cisco-IOS-XR-ipv4-arp-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper?module=Cisco-IOS-XR-mpls-te-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act?module=Cisco-IOS-XR-crypto-act&revision=2016-04-17 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg?module=Cisco-IOS-XR-ip-iep-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes?module=Cisco-IOS-XR-manageability-object-tracking-datatypes&revision=2017-05-01 - http://openconfig.net/yang/rib/bgp-types?module=openconfig-rib-bgp-types&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper?module=Cisco-IOS-XR-infra-rcmd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg?module=Cisco-IOS-XR-infra-tc-cfg&revision=2015-11-09 - http://openconfig.net/yang/rib/bgp?module=openconfig-rib-bgp&revision=2016-04-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg?module=Cisco-IOS-XR-ip-tcp-cfg&revision=2016-02-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper?module=Cisco-IOS-XR-mpls-vpn-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes?module=Cisco-IOS-XR-manageability-perfmgmt-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper?module=Cisco-IOS-XR-ip-ntp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper?module=Cisco-IOS-XR-ipv4-acl-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-ext?module=openconfig-extensions&revision=2015-10-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg?module=Cisco-IOS-XR-lpts-pre-ifib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg?module=Cisco-IOS-XR-qos-ma-sat-cfg&revision=2017-03-03 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg?module=Cisco-IOS-XR-ipv6-io-cfg&revision=2016-05-10 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper?module=Cisco-IOS-XR-ip-daps-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg?module=Cisco-IOS-XR-lib-keychain-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg?module=Cisco-IOS-XR-l2-eth-infra-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg?module=Cisco-IOS-XR-infra-policymgr-cfg&revision=2017-08-11 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper?module=Cisco-IOS-XR-ip-pfilter-oper&revision=2015-11-09 - http://openconfig.net/yang/rsvp?module=openconfig-mpls-rsvp&revision=2015-11-05 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg?module=Cisco-IOS-XR-ip-static-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper?module=Cisco-IOS-XR-ipv4-autorp-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg?module=Cisco-IOS-XR-ip-sbfd-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper?module=Cisco-IOS-XR-pfi-im-cmd-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes?module=Cisco-IOS-XR-ipv4-bgp-datatypes&revision=2017-06-26 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-oper?module=Cisco-IOS-XR-subscriber-session-mon-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper?module=Cisco-IOS-XR-tty-server-oper&revision=2015-07-30 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper?module=Cisco-IOS-XR-ip-bfd-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper?module=Cisco-IOS-XR-ipv6-ma-oper&revision=2015-10-20 - http://cisco.com/ns/yang/Cisco-IOS-XR-reboot-history-oper?module=Cisco-IOS-XR-reboot-history-oper&revision=2016-10-04 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper?module=Cisco-IOS-XR-ppp-ea-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act?module=Cisco-IOS-XR-ipv4-ospf-act&revision=2016-09-14 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper?module=Cisco-IOS-XR-ipv4-pim-oper&revision=2017-06-26 - http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg?module=Cisco-IOS-XR-policy-repository-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg?module=Cisco-IOS-XR-ipv6-ma-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg?module=Cisco-IOS-XR-infra-nsr-cfg&revision=2017-06-27 - http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper?module=Cisco-IOS-XR-evpn-oper&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg?module=Cisco-IOS-XR-config-cfgmgr-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg?module=Cisco-IOS-XR-mpls-te-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes?module=Cisco-IOS-XR-infra-sla-datatypes&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg?module=Cisco-IOS-XR-infra-rsi-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg?module=Cisco-IOS-XR-infra-confcopymib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper?module=Cisco-IOS-XR-drivers-media-eth-oper&revision=2017-05-01 - http://openconfig.net/yang/openconfig-types?module=openconfig-types&revision=2017-01-13 - http://openconfig.net/yang/bgp?module=openconfig-bgp&revision=2016-06-21 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg?module=Cisco-IOS-XR-ip-daps-mib-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg?module=Cisco-IOS-XR-ppp-ma-ipcpiw-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper?module=Cisco-IOS-XR-ip-rib-ipv6-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper?module=Cisco-IOS-XR-config-cfgmgr-exec-oper&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg?module=Cisco-IOS-XR-infra-sla-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg?module=Cisco-IOS-XR-parser-cfg&revision=2017-05-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg?module=Cisco-IOS-XR-mpls-io-cfg&revision=2017-05-18 - http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes?module=Cisco-IOS-XR-ip-iarm-datatypes&revision=2015-01-07 - http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg?module=Cisco-IOS-XR-bundlemgr-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg?module=Cisco-IOS-XR-snmp-entitymib-cfg&revision=2017-05-01 - http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg?module=Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg&revision=2015-11-09 - http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes?module=Cisco-IOS-XR-mpls-ldp-oper-datatypes&revision=2015-11-09 - urn:ietf:params:netconf:capability:rollback-on-error:1.0 - urn:ietf:params:netconf:capability:validate:1.1 - urn:ietf:params:netconf:capability:confirmed-commit:1.1 - urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring - urn:ietf:params:netconf:capability:candidate:1.0 - - diff --git a/yang/modules/cisco-ios-xr/631/check-models.sh b/yang/modules/cisco-ios-xr/631/check-models.sh deleted file mode 100755 index c8ff85d..0000000 --- a/yang/modules/cisco-ios-xr/631/check-models.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh -# -# Simple run of pyang with the "--lint" flag over all yang files in -# this directory, ignoring some warnings. Prior to pushing to git, the -# validation was run with pyang 1.5. This script should be run with -# the working doirectory set to a directory containing the yang files -# to run "pyang --lint" over. -# -# The modules as uploaded exhibit a number of RFC 6087 amd RFC 6020 -# errors and warnings that are judged to be cosmetic at this time and -# which do not impact the ability of a client to interact with a -# device supporting the module. The exact content ignored may be -# identified by reviewing the "grep -v" commands below. -# -EGREP=`command -v egrep` -GREP=`command -v grep` -PYANG=`command -v pyang` -CHECK_BC="" -PYANG_FLAGS="-p ../../../../standard/ietf/DRAFT" - -# -# simple function to check for existence of a binary on the current -# path -# -checkExists() { - bin=`command -v $1` - if [ -z "$bin" ] - then - echo this script requires $1 to be on your path - exit 1 - fi -} - -# -# check we have the utilties we need -# -checkExists pyang -checkExists egrep -checkExists grep - -# -# brief help for the options we support -# -show_help () { - echo Options for check-models.sh: - printf "\n" - printf " -h Show this help\n" - printf " -b Check backwards compatibility\n" - printf "\n" -} - -OPTIND=1 -while getopts "hb:" opt; do - case "$opt" in - h|\?) - show_help - exit 0 - ;; - b) CHECK_BC="$OPTARG" - ;; - esac -done - -# -# Run pyang over all the yang modules, ignoring certain errors and -# warnings. -# -echo Checking all models with "--lint" flag -for m in *.yang -do - pyang $PYANG_FLAGS --lint $m 2>&1 | \ - grep -v "warning: RFC 6087" | \ - grep -v "error: RFC 6087: 4.2" | \ - grep -v "error: RFC 6087: 4.7" | \ - grep -v "error: RFC 6087: 4.11,4.12" | \ - grep -v "error: RFC 6087: 4.12" | \ - grep -v "not in canonical order" | \ - grep -v "warning: locally scoped grouping" | \ - egrep -v "warning: imported module\s[a-zA-Z0-9\-]+\snot used" -done - -# -# Check if we're doing a BC check, if not, exit status 0 -# -if [ -z "$CHECK_BC" ]; then - exit 0 -fi - -# -# Run pyang over all the models in the 533 directory that also exist -# in the 532 peer directory, using the --check-update-from option. -# This requires pyang 1.5 or better, so we check this first. -# -version=`pyang --version | awk '{print $NF}'` -if ! awk -v ver="$version" 'BEGIN { if (ver < 1.5) exit 1; }'; then - printf 'ERROR: pyang version 1.5 or higher required\n' - exit 1 -fi -UPDATE_FROM_PATH=../../../../standard/ietf/RFC -echo Comparing all models that also exist in ../$CHECK_BC AND that have -echo changed since version that version with "--check-update-from" flag: -echo -for m in *.yang -do - VER_FROM="../$CHECK_BC/$m" - if [ -e "$VER_FROM" ] - then - DIFF=`diff $VER_FROM $m` - if [ ! -z "$DIFF" ] - then - pyang \ - --check-update-from $VER_FROM \ - --check-update-from-path $UPDATE_FROM_PATH \ - $m - fi - fi -done diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-ietf-netconf-monitoring-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-ietf-netconf-monitoring-deviations.yang deleted file mode 100755 index 0ecf03b..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-ietf-netconf-monitoring-deviations.yang +++ /dev/null @@ -1,54 +0,0 @@ -module cisco-xr-ietf-netconf-monitoring-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/cisco-xr-ietf-netconf-monitoring-deviations"; - - prefix "cisco-xr-ietf-ncm-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import ietf-netconf-monitoring { prefix ncm; } - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations of IETF netconf monitoring data - model set for Cisco IOS-XR. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-02-16" { - description - "Initial revision applicable to IOS-XR 6.0.1 and older releases"; - } - - deviation /ncm:netconf-state/ncm:capabilities { - deviate not-supported; - } - - deviation /ncm:netconf-state/ncm:datastores { - deviate not-supported; - } - - deviation /ncm:netconf-state/ncm:sessions { - deviate not-supported; - } - - deviation /ncm:netconf-state/ncm:statistics { - deviate not-supported; - } - -} diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-deviations.yang deleted file mode 100755 index 52efbb6..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-deviations.yang +++ /dev/null @@ -1,1109 +0,0 @@ -module cisco-xr-openconfig-bgp-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-bgp-deviations"; - - prefix "cisco-xr-oc-bgp-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import openconfig-bgp { prefix bgp; } - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations of Open Config BGP YANG - set for Cisco IOS-XR. - - Copyright (c) 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-02" { - description - "Updated revision applicable to IOS-XR 6.2.2"; - } - - deviation /bgp:bgp/bgp:global/bgp:confederation/bgp:config/bgp:enabled { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:graceful-restart/bgp:config/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:graceful-restart/bgp:state/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:config { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:ebgp/bgp:config/bgp:allow-multiple-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:ebgp/bgp:state/bgp:allow-multiple-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:external-compare-router-id { - deviate replace { - default "false"; - } - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:advertise-inactive-routes { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:enable-aigp { - deviate replace { - default "true"; - } - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:ignore-next-hop-igp-metric { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:external-compare-router-id { - deviate replace { - default "false"; - } - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:advertise-inactive-routes { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:enable-aigp { - deviate replace { - default "true"; - } - } - - deviation /bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:ignore-next-hop-igp-metric { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:route-selection-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:config { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp/bgp:config/bgp:allow-multiple-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp/bgp:state/bgp:allow-multiple-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:global/bgp:apply-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:enabled { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:peer-type { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:route-flap-damping { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:enabled { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:peer-type { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:route-flap-damping { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:last-established { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:established-transitions { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:config/bgp:connect-retry { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:state/bgp:connect-retry { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config/bgp:mtu-discovery { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:state/bgp:mtu-discovery { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:error-handling { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:logging-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:as-path-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:add-paths { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:state/bgp:prefixes/bgp:installed { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:config/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:peer-restarting { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:local-restarting { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:mode { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:apply-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:use-multiple-paths { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:peer-type { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:route-flap-damping { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:peer-type { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:route-flap-damping { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:total-paths { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:total-prefixes { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:timers/bgp:config/bgp:connect-retry { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:timers/bgp:state/bgp:connect-retry { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:transport/bgp:config/bgp:mtu-discovery { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:transport/bgp:state/bgp:mtu-discovery { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:error-handling { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:logging-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:as-path-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:add-paths { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:config/bgp:default-import-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:config/bgp:default-export-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:state/bgp:default-import-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:state/bgp:default-export-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:max-prefixes { - deviate add { - must "shutdown-threshold-pct"; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct { - deviate add { - must "max-prefixes"; - default 75; - } - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:restart-timer { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ibgp { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:route-selection-options { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:graceful-restart/bgp:config/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:graceful-restart/bgp:state/bgp:helper-only { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:apply-policy { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:use-multiple-paths { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:remove-private-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:send-community { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:route-reflector/bgp:config/bgp:route-reflector-client { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:route-reflector/bgp:state/bgp:route-reflector-client { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:remove-private-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:send-community { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:remove-private-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:send-community { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:route-reflector/bgp:config/bgp:route-reflector-client { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:route-reflector/bgp:state/bgp:route-reflector-client { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:remove-private-as { - deviate not-supported; - } - - deviation /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:send-community { - deviate not-supported; - } -} diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-policy-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-policy-deviations.yang deleted file mode 100755 index 4ceed91..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-bgp-policy-deviations.yang +++ /dev/null @@ -1,79 +0,0 @@ -module cisco-xr-openconfig-bgp-policy-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-bgp-policy-deviations"; - - - prefix "cisco-xr-oc-bgp-pol-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import openconfig-routing-policy { prefix rpol; } - import openconfig-bgp-policy { prefix bgp-pol; } - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains the deviations of Open Config BGP Policy YANG - set for Cisco IOS-XR. - - Copyright (c) 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-02" { - description - "Updated revision applicable to IOS-XR 6.2.2"; - } - - deviation /rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:ext-community-sets { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:config/bgp-pol:afi-safi-in { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:config/bgp-pol:route-type { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:state/bgp-pol:afi-safi-in { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:state/bgp-pol:route-type { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:community-count { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:match-ext-community-set { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-community/bgp-pol:config/bgp-pol:method { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-community/bgp-pol:state/bgp-pol:method { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-ext-community { - deviate not-supported; - } -} diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ethernet-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ethernet-deviations.yang deleted file mode 100755 index 2b1bef3..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ethernet-deviations.yang +++ /dev/null @@ -1,49 +0,0 @@ - module cisco-xr-openconfig-if-ethernet-deviations { - - prefix "ethdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-if-ethernet-deviations"; - - import openconfig-interfaces { prefix oc-if; } - import openconfig-if-ethernet { prefix eth; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-if-ethernet.yang@2015-11-20 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-16" { - description - "Initial revision applicable to IOS-XR 6.1.1"; - } - - - deviation /oc-if:interfaces/oc-if:interface/eth:ethernet/eth:state/eth:counters/eth:in-mac-control-frames { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/eth:ethernet/eth:state/eth:counters/eth:out-mac-control-frames { - deviate not-supported; - } - - -} -//total deviations:2 diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ip-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ip-deviations.yang deleted file mode 100755 index aea2699..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-if-ip-deviations.yang +++ /dev/null @@ -1,246 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-if-ip-deviations { - - prefix "oc-ipdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-if-ip-deviations"; - - import openconfig-if-ip { prefix oc-ip; } - import openconfig-vlan { prefix oc-vlan; } - import openconfig-interfaces { prefix oc-if; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-if-ip.yang@2016-05-26 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-07" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - /* - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:subinterface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:subinterface { - deviate not-supported; - } - */ - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - /* - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:subinterface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:subinterface { - deviate not-supported; - } - */ - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:addresses/oc-ip:address { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:neighbors/oc-ip:neighbor { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - /* - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:subinterface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:subinterface { - deviate not-supported; - } - */ - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:config/oc-ip:mtu { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:state/oc-ip:mtu { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:addresses/oc-ip:address { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:neighbors/oc-ip:neighbor { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - /* - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config/oc-ip:subinterface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:interface { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state/oc-ip:subinterface { - deviate not-supported; - } - */ - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:mtu { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:dup-addr-detect-transmits { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:enabled { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:mtu { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:dup-addr-detect-transmits { - deviate not-supported; - } - - -} -//total deviations:40 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-deviations.yang deleted file mode 100755 index 313159b..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-deviations.yang +++ /dev/null @@ -1,50 +0,0 @@ - module cisco-xr-openconfig-interfaces-deviations { - - prefix "ocifdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-deviations"; - - import openconfig-interfaces { prefix oc-if; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-interfaces.yang@2015-11-20 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-16" { - description - "Initial revision applicable to IOS-XR 6.1.1"; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:config/oc-if:enabled { - deviate delete { - default true; - } - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:state/oc-if:enabled { - deviate delete { - default true; - } - } - -} -//total deviations:2 diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-types.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-types.yang deleted file mode 100755 index fd05a29..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-interfaces-types.yang +++ /dev/null @@ -1,110 +0,0 @@ -module cisco-xr-openconfig-interfaces-types { - -// namespace - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types"; - - prefix "cisco-oc-if-types"; - - import openconfig-interfaces { prefix oc-if; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This model maintains data items defined in the Openconfig - interfaces yang file revision 1.0.2 untill it is - supported by Cisco, as these data items are needed by - openconfig-local-routing YANG model - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-12" { - description - "IOS XR 6.2.1 revision."; - } - - typedef interface-ref { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - description - "This type is used by data models that need to reference - configured interfaces."; - } - - // grouping statements - - grouping interface-ref-common { - description - "Reference leafrefs to interface / subinterface"; - - leaf interface { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - description - "Reference to a base interface. If a reference to a - subinterface is required, this leaf must be specified - to indicate the base interface."; - } - - leaf subinterface { - type leafref { - path "/oc-if:interfaces/" + - "oc-if:interface[oc-if:name=current()/../interface]/" + - "oc-if:subinterfaces/oc-if:subinterface/oc-if:index"; - } - description - "Reference to a subinterface -- this requires the base - interface to be specified using the interface leaf in - this container. If only a reference to a base interface - is requuired, this leaf should not be set."; - } - } - - grouping interface-ref-state-container { - description - "Reusable opstate w/container for a reference to an - interface or subinterface"; - - container state { - config false; - description - "Operational state for interface-ref"; - - uses interface-ref-common; - } - } - - grouping interface-ref { - description - "Reusable definition for a reference to an interface or - subinterface"; - - container interface-ref { - description - "Reference to an interface or subinterface"; - - container config { - description - "Configured reference to interface / subinterface"; - - uses interface-ref-common; - } - - uses interface-ref-state-container; - } - } -} - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-lacp-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-lacp-deviations.yang deleted file mode 100755 index e1223cb..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-lacp-deviations.yang +++ /dev/null @@ -1,43 +0,0 @@ - module cisco-xr-openconfig-lacp-deviations { - - prefix "lacpdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-lacp-deviations"; - - // import some basic types - import openconfig-lacp { prefix oc-lacp; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-if-aggregate.yang@2015-11-20 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-16" { - description - "Initial revision applicable to IOS-XR 6.1.1"; - } - - deviation /oc-lacp:lacp/oc-lacp:interfaces/oc-lacp:interface/oc-lacp:members/oc-lacp:member/oc-lacp:state/oc-lacp:counters/oc-lacp:lacp-tx-errors { - deviate not-supported; - } - -} -//total deviations:1 diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-local-routing-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-local-routing-deviations.yang deleted file mode 100755 index f824949..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-local-routing-deviations.yang +++ /dev/null @@ -1,56 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-local-routing-deviations { - - prefix "oc-loc-rtdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-local-routing-deviations"; - - import openconfig-local-routing { prefix oc-loc-rt; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-local-routing.yang@2016-05-11 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-02-04" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-loc-rt:local-routes/oc-loc-rt:static-routes/oc-loc-rt:static/oc-loc-rt:next-hops/oc-loc-rt:next-hop/oc-loc-rt:config/oc-loc-rt:recurse { - deviate not-supported; - } - - deviation /oc-loc-rt:local-routes/oc-loc-rt:static-routes/oc-loc-rt:static/oc-loc-rt:next-hops/oc-loc-rt:next-hop/oc-loc-rt:state/oc-loc-rt:recurse { - deviate not-supported; - } - - deviation /oc-loc-rt:local-routes/oc-loc-rt:local-aggregates/oc-loc-rt:aggregate { - deviate not-supported; - } - - -} -//total deviations:3 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-mpls-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-mpls-deviations.yang deleted file mode 100755 index 49e862d..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-mpls-deviations.yang +++ /dev/null @@ -1,312 +0,0 @@ - module cisco-xr-openconfig-mpls-deviations { - - prefix "mplsdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-mpls-deviations"; - - import openconfig-mpls { prefix mpls; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-mpls.yang@2015-11-05 - - on Cisco IOS-XR devices. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-05-16" { - description - "Initial revision applicable to IOS-XR 6.1.1"; - } - - - deviation /mpls:mpls/mpls:global/mpls:config/mpls:null-label { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:global/mpls:state/mpls:null-label { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:global/mpls:mpls-interface-attributes/mpls:interface { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:srlg/mpls:srlg/mpls:config/mpls:flooding-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:srlg/mpls:srlg/mpls:state/mpls:flooding-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-specification { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-specification { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:state/mpls:srlg-membership { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:state/mpls:admin-group { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:delta-percentage { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-specification { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:delta-percentage { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-specification { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-down-thresholds { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:sessions/mpls:state/mpls:session { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:neighbors/mpls:state/mpls:neighbor { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:global/mpls:hellos/mpls:config/mpls:refresh-reduction { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:global/mpls:hellos/mpls:state/mpls:refresh-reduction { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:bandwidth { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:highwater-mark { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:active-reservation-count { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:hellos/mpls:config/mpls:hello-interval { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:hellos/mpls:state/mpls:hello-interval { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:protection/mpls:config/mpls:bypass-optimize-interval { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:protection/mpls:state/mpls:bypass-optimize-interval { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:segment-routing/mpls:srgb { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:signaling-protocols/mpls:segment-routing/mpls:interfaces { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:signaling-protocol { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:description { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:preference { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:reoptimize-timer { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:source { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:state/mpls:preference { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:bandwidth/mpls:config/mpls:specification-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:bandwidth/mpls:state/mpls:specification-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:use-cspf { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:cspf-tiebreaker { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:setup-priority { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:hold-priority { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:retry-timer { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:use-cspf { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:cspf-tiebreaker { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:setup-priority { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:hold-priority { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:retry-timer { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:candidate-secondary-paths/mpls:candidate-secondary-path { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:exclude-group { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:include-all-group { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:include-any-group { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-secondary-paths { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:tunnel-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:ldp-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:p2p-lsp/mpls:fec-address { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:segment-routing/mpls:tunnel/mpls:tunnel-type { - deviate not-supported; - } - - deviation /mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:segment-routing/mpls:tunnel/mpls:p2p-lsp/mpls:fec { - deviate not-supported; - } - - -} -//total deviations:68 diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-optical-amplifier-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-optical-amplifier-deviations.yang deleted file mode 100755 index b5a37a3..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-optical-amplifier-deviations.yang +++ /dev/null @@ -1,208 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-optical-amplifier-deviations { - - prefix "oc-opt-ampdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-optical-amplifier-deviations"; - - import openconfig-optical-amplifier { prefix oc-opt-amp; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-optical-amplifier.yang@2017-03-28 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-11" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:type { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:gain-range { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:amp-mode { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:target-output-power { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:target-output-power { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain-tilt/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain-tilt/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:actual-gain-tilt/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:max { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:config/oc-opt-amp:interface { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:interface { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:instant { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:avg { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:min { - deviate not-supported; - } - - deviation /oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:max { - deviate not-supported; - } - - -} -//total deviations:41 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-deviations.yang deleted file mode 100644 index 59cc1ae..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-deviations.yang +++ /dev/null @@ -1,53 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-platform-deviations { - - prefix "oc-platformdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-platform-deviations"; - - import openconfig-interfaces { prefix oc-if; } - import openconfig-platform { prefix oc-platform; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-platform.yang@2016-06-06 - - on Cisco IOS-XR devices. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-16" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-platform:components/oc-platform:component/oc-platform:properties/oc-platform:property { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:state/oc-platform:hardware-port { - deviate not-supported; - } - - -} -//total deviations:2 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-transceiver-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-transceiver-deviations.yang deleted file mode 100644 index 869523c..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-platform-transceiver-deviations.yang +++ /dev/null @@ -1,73 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-platform-transceiver-deviations { - - prefix "oc-transceiverdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-platform-transceiver-deviations"; - - import openconfig-platform-transceiver { prefix oc-transceiver; } - import openconfig-platform { prefix oc-platform; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-platform-transceiver.yang@2016-05-24 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-16" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:config/oc-transceiver:enabled { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:config/oc-transceiver:form-factor { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:state/oc-transceiver:enabled { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:config/oc-transceiver:tx-laser { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:config/oc-transceiver:target-output-power { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:state/oc-transceiver:tx-laser { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:state/oc-transceiver:target-output-power { - deviate not-supported; - } - - -} -//total deviations:7 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-rib-bgp-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-rib-bgp-deviations.yang deleted file mode 100755 index 0d97d22..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-rib-bgp-deviations.yang +++ /dev/null @@ -1,148 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-rib-bgp-deviations { - - prefix "oc-bgpribdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-rib-bgp-deviations"; - - import openconfig-rib-bgp { prefix oc-bgprib; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-rib-bgp.yang@2016-04-11 - - on Cisco IOS-XR devices. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-16" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received { - deviate not-supported; - } - - deviation /oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason { - deviate not-supported; - } - - -} -//total deviations:26 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-routing-policy-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-routing-policy-deviations.yang deleted file mode 100755 index 7934d4a..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-routing-policy-deviations.yang +++ /dev/null @@ -1,54 +0,0 @@ -module cisco-xr-openconfig-routing-policy-deviations { - - /*** NAMESPACE / PREFIX DEFINITION ***/ - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-routing-policy-deviations"; - - prefix "cisco-xr-oc-rpol-devs"; - - /*** LINKAGE (IMPORTS / INCLUDES) ***/ - import openconfig-routing-policy { prefix rpol; } - - /*** META INFORMATION ***/ - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains the deviations of Open Config Routing Policy YANG - set for Cisco IOS-XR. - - Copyright (c) 2015-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2015-10-21" { - description - "Initial revision applicable to IOS-XR 5.3.2 and 6.0"; - } - - deviation /rpol:routing-policy/rpol:defined-sets/rpol:neighbor-sets { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:igp-conditions { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:match-neighbor-set { - deviate not-supported; - } - - deviation /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:match-interface { - deviate not-supported; - } - -} diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-telemetry-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-telemetry-deviations.yang deleted file mode 100755 index 14909bb..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-telemetry-deviations.yang +++ /dev/null @@ -1,80 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-telemetry-deviations { - - prefix "oc-telemetrydevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-telemetry-deviations"; - - import openconfig-telemetry { prefix oc-telemetry; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-telemetry.yang@2016-02-04 - - on Cisco IOS-XR devices. - - Copyright (c) 2016 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-03-09" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-telemetry:telemetry-system/oc-telemetry:sensor-groups/oc-telemetry:sensor-group/oc-telemetry:sensor-paths/oc-telemetry:sensor-path/oc-telemetry:config/oc-telemetry:exclude-filter { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:sensor-groups/oc-telemetry:sensor-group/oc-telemetry:sensor-paths/oc-telemetry:sensor-path/oc-telemetry:state/oc-telemetry:exclude-filter { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:config/oc-telemetry:local-source-address { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:state/oc-telemetry:local-source-address { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:config/oc-telemetry:heartbeat-interval { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:config/oc-telemetry:suppress-redundant { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:state/oc-telemetry:heartbeat-interval { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:state/oc-telemetry:suppress-redundant { - deviate not-supported; - } - - deviation /oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:dynamic/oc-telemetry:subscription { - deviate not-supported; - } - - -} -//total deviations:9 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-terminal-device-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-terminal-device-deviations.yang deleted file mode 100644 index dd11b18..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-terminal-device-deviations.yang +++ /dev/null @@ -1,181 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-terminal-device-deviations { - - prefix "oc-opt-termdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-terminal-device-deviations"; - - import openconfig-terminal-device { prefix oc-opt-term; } - import openconfig-platform { prefix oc-platform; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-terminal-device.yang@2016-06-17 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-10-16" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:config/oc-opt-term:tti-msg-auto { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:tti-msg-auto { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:rdi-msg { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:code-violations { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:fec-corrected-bytes { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:max { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:max { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:in-mac-control-frames { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:in-8021q-frames { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:out-mac-control-frames { - deviate not-supported; - } - - deviation /oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:out-8021q-frames { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:group-id { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:max { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:max { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:max { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:instant { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:avg { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:min { - deviate not-supported; - } - - deviation /oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:max { - deviate not-supported; - } - - -} -//total deviations:34 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-transport-line-protection-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-transport-line-protection-deviations.yang deleted file mode 100644 index ddeecb2..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-transport-line-protection-deviations.yang +++ /dev/null @@ -1,132 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-transport-line-protection-deviations { - - prefix "oc-line-protectdevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-transport-line-protection-deviations"; - - import openconfig-transport-line-protection { prefix oc-line-protect; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-transport-line-protection.yang@2017-03-28 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2017-05-24" { - description - "Initial revision applicable to IOS-XR 6.2.1"; - } - - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:revertive { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:primary-switch-hysteresis { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:secondary-switch-hysteresis { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:revertive { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:primary-switch-hysteresis { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:secondary-switch-hysteresis { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-primary-in/oc-line-protect:config/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-primary-in/oc-line-protect:state/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-secondary-in/oc-line-protect:config/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-secondary-in/oc-line-protect:state/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:config/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:config/oc-line-protect:target-attenuation { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:enabled { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:target-attenuation { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:attenuation { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:instant { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:avg { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:min { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:max { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:config/oc-line-protect:target-attenuation { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:state/oc-line-protect:target-attenuation { - deviate not-supported; - } - - deviation /oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:state/oc-line-protect:attenuation { - deviate not-supported; - } - - -} -//total deviations:22 - diff --git a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-vlan-deviations.yang b/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-vlan-deviations.yang deleted file mode 100755 index 85fe9f2..0000000 --- a/yang/modules/cisco-ios-xr/631/cisco-xr-openconfig-vlan-deviations.yang +++ /dev/null @@ -1,130 +0,0 @@ -//************* DO-NOT EDIT ************** -//*********** Auto-generated file ********** - - module cisco-xr-openconfig-vlan-deviations { - - prefix "vlandevs"; - - namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-vlan-deviations"; - - import openconfig-vlan { prefix oc-vlan; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-if-ethernet { prefix oc-eth; } - import openconfig-if-aggregate { prefix oc-lag; } - - organization "Cisco Systems, Inc."; - - contact - "Cisco Systems, Inc. - Customer Service - - Postal: 170 West Tasman Drive - San Jose, CA 95134 - - Tel: +1 800 553-NETS - - E-mail: cs-yang@cisco.com"; - - description - "This module contains a set of deviations for - - openconfig-vlan.yang@2015-10-09 - - on Cisco IOS-XR devices. - - Copyright (c) 2016-2017 by Cisco Systems, Inc. - All rights reserved."; - - revision "2016-07-08" { - description - "Initial revision applicable to IOS-XR 6.1.1"; - } - - - deviation /oc-vlan:vlans/oc-vlan:vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:config/oc-vlan:vlan-id { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:state/oc-vlan:vlan-id { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:interface-mode { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:native-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:access-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:trunk-vlans { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:interface-mode { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:native-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:access-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:trunk-vlans { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:interface-mode { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:native-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:access-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:trunk-vlans { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:interface-mode { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:native-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:access-vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:trunk-vlans { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-vlan:config/oc-vlan:vlan { - deviate not-supported; - } - - deviation /oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-vlan:state/oc-vlan:vlan { - deviate not-supported; - } - - -} -//total deviations:21 diff --git a/yang/modules/cisco-ios-xr/631/ietf-inet-types.yang b/yang/modules/cisco-ios-xr/631/ietf-inet-types.yang deleted file mode 100644 index 2f14270..0000000 --- a/yang/modules/cisco-ios-xr/631/ietf-inet-types.yang +++ /dev/null @@ -1,457 +0,0 @@ -module ietf-inet-types { - - namespace "urn:ietf:params:xml:ns:yang:ietf-inet-types"; - prefix "inet"; - - organization - "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; - - contact - "WG Web: - WG List: - - WG Chair: David Kessens - - - WG Chair: Juergen Schoenwaelder - - - Editor: Juergen Schoenwaelder - "; - - description - "This module contains a collection of generally useful derived - YANG data types for Internet addresses and related things. - - Copyright (c) 2013 IETF Trust and the persons identified as - authors of the code. All rights reserved. - - Redistribution and use in source and binary forms, with or - without modification, is permitted pursuant to, and subject - to the license terms contained in, the Simplified BSD License - set forth in Section 4.c of the IETF Trust's Legal Provisions - Relating to IETF Documents - (http://trustee.ietf.org/license-info). - - This version of this YANG module is part of RFC 6991; see - the RFC itself for full legal notices."; - - revision 2013-07-15 { - description - "This revision adds the following new data types: - - ip-address-no-zone - - ipv4-address-no-zone - - ipv6-address-no-zone"; - reference - "RFC 6991: Common YANG Data Types"; - } - - revision 2010-09-24 { - description - "Initial revision."; - reference - "RFC 6021: Common YANG Data Types"; - } - - /*** collection of types related to protocol fields ***/ - - typedef ip-version { - type enumeration { - enum unknown { - value "0"; - description - "An unknown or unspecified version of the Internet - protocol."; - } - enum ipv4 { - value "1"; - description - "The IPv4 protocol as defined in RFC 791."; - } - enum ipv6 { - value "2"; - description - "The IPv6 protocol as defined in RFC 2460."; - } - } - description - "This value represents the version of the IP protocol. - - In the value set and its semantics, this type is equivalent - to the InetVersion textual convention of the SMIv2."; - reference - "RFC 791: Internet Protocol - RFC 2460: Internet Protocol, Version 6 (IPv6) Specification - RFC 4001: Textual Conventions for Internet Network Addresses"; - } - - typedef dscp { - type uint8 { - range "0..63"; - } - description - "The dscp type represents a Differentiated Services Code Point - that may be used for marking packets in a traffic stream. - In the value set and its semantics, this type is equivalent - to the Dscp textual convention of the SMIv2."; - reference - "RFC 3289: Management Information Base for the Differentiated - Services Architecture - RFC 2474: Definition of the Differentiated Services Field - (DS Field) in the IPv4 and IPv6 Headers - RFC 2780: IANA Allocation Guidelines For Values In - the Internet Protocol and Related Headers"; - } - - typedef ipv6-flow-label { - type uint32 { - range "0..1048575"; - } - description - "The ipv6-flow-label type represents the flow identifier or Flow - Label in an IPv6 packet header that may be used to - discriminate traffic flows. - - In the value set and its semantics, this type is equivalent - to the IPv6FlowLabel textual convention of the SMIv2."; - reference - "RFC 3595: Textual Conventions for IPv6 Flow Label - RFC 2460: Internet Protocol, Version 6 (IPv6) Specification"; - } - - typedef port-number { - type uint16 { - range "0..65535"; - } - description - "The port-number type represents a 16-bit port number of an - Internet transport-layer protocol such as UDP, TCP, DCCP, or - SCTP. Port numbers are assigned by IANA. A current list of - all assignments is available from . - - Note that the port number value zero is reserved by IANA. In - situations where the value zero does not make sense, it can - be excluded by subtyping the port-number type. - In the value set and its semantics, this type is equivalent - to the InetPortNumber textual convention of the SMIv2."; - reference - "RFC 768: User Datagram Protocol - RFC 793: Transmission Control Protocol - RFC 4960: Stream Control Transmission Protocol - RFC 4340: Datagram Congestion Control Protocol (DCCP) - RFC 4001: Textual Conventions for Internet Network Addresses"; - } - - /*** collection of types related to autonomous systems ***/ - - typedef as-number { - type uint32; - description - "The as-number type represents autonomous system numbers - which identify an Autonomous System (AS). An AS is a set - of routers under a single technical administration, using - an interior gateway protocol and common metrics to route - packets within the AS, and using an exterior gateway - protocol to route packets to other ASes. IANA maintains - the AS number space and has delegated large parts to the - regional registries. - - Autonomous system numbers were originally limited to 16 - bits. BGP extensions have enlarged the autonomous system - number space to 32 bits. This type therefore uses an uint32 - base type without a range restriction in order to support - a larger autonomous system number space. - - In the value set and its semantics, this type is equivalent - to the InetAutonomousSystemNumber textual convention of - the SMIv2."; - reference - "RFC 1930: Guidelines for creation, selection, and registration - of an Autonomous System (AS) - RFC 4271: A Border Gateway Protocol 4 (BGP-4) - RFC 4001: Textual Conventions for Internet Network Addresses - RFC 6793: BGP Support for Four-Octet Autonomous System (AS) - Number Space"; - } - - /*** collection of types related to IP addresses and hostnames ***/ - - typedef ip-address { - type union { - type inet:ipv4-address; - type inet:ipv6-address; - } - description - "The ip-address type represents an IP address and is IP - version neutral. The format of the textual representation - implies the IP version. This type supports scoped addresses - by allowing zone identifiers in the address format."; - reference - "RFC 4007: IPv6 Scoped Address Architecture"; - } - - typedef ipv4-address { - type string { - pattern - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}' - + '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])' - + '(%[\p{N}\p{L}]+)?'; - } - description - "The ipv4-address type represents an IPv4 address in - dotted-quad notation. The IPv4 address may include a zone - index, separated by a % sign. - - The zone index is used to disambiguate identical address - values. For link-local addresses, the zone index will - typically be the interface index number or the name of an - interface. If the zone index is not present, the default - zone of the device will be used. - - The canonical format for the zone index is the numerical - format"; - } - - typedef ipv6-address { - type string { - pattern '((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}' - + '((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|' - + '(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}' - + '(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))' - + '(%[\p{N}\p{L}]+)?'; - pattern '(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|' - + '((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)' - + '(%.+)?'; - } - description - "The ipv6-address type represents an IPv6 address in full, - mixed, shortened, and shortened-mixed notation. The IPv6 - address may include a zone index, separated by a % sign. - - The zone index is used to disambiguate identical address - values. For link-local addresses, the zone index will - typically be the interface index number or the name of an - interface. If the zone index is not present, the default - zone of the device will be used. - - The canonical format of IPv6 addresses uses the textual - representation defined in Section 4 of RFC 5952. The - canonical format for the zone index is the numerical - format as described in Section 11.2 of RFC 4007."; - reference - "RFC 4291: IP Version 6 Addressing Architecture - RFC 4007: IPv6 Scoped Address Architecture - RFC 5952: A Recommendation for IPv6 Address Text - Representation"; - } - - typedef ip-address-no-zone { - type union { - type inet:ipv4-address-no-zone; - type inet:ipv6-address-no-zone; - } - description - "The ip-address-no-zone type represents an IP address and is - IP version neutral. The format of the textual representation - implies the IP version. This type does not support scoped - addresses since it does not allow zone identifiers in the - address format."; - reference - "RFC 4007: IPv6 Scoped Address Architecture"; - } - - typedef ipv4-address-no-zone { - type inet:ipv4-address { - pattern '[0-9\.]*'; - } - description - "An IPv4 address without a zone index. This type, derived from - ipv4-address, may be used in situations where the zone is - known from the context and hence no zone index is needed."; - } - - typedef ipv6-address-no-zone { - type inet:ipv6-address { - pattern '[0-9a-fA-F:\.]*'; - } - description - "An IPv6 address without a zone index. This type, derived from - ipv6-address, may be used in situations where the zone is - known from the context and hence no zone index is needed."; - reference - "RFC 4291: IP Version 6 Addressing Architecture - RFC 4007: IPv6 Scoped Address Architecture - RFC 5952: A Recommendation for IPv6 Address Text - Representation"; - } - - typedef ip-prefix { - type union { - type inet:ipv4-prefix; - type inet:ipv6-prefix; - } - description - "The ip-prefix type represents an IP prefix and is IP - version neutral. The format of the textual representations - implies the IP version."; - } - - typedef ipv4-prefix { - type string { - pattern - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}' - + '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])' - + '/(([0-9])|([1-2][0-9])|(3[0-2]))'; - } - description - "The ipv4-prefix type represents an IPv4 address prefix. - The prefix length is given by the number following the - slash character and must be less than or equal to 32. - - A prefix length value of n corresponds to an IP address - mask that has n contiguous 1-bits from the most - significant bit (MSB) and all other bits set to 0. - - The canonical format of an IPv4 prefix has all bits of - the IPv4 address set to zero that are not part of the - IPv4 prefix."; - } - - typedef ipv6-prefix { - type string { - pattern '((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}' - + '((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|' - + '(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}' - + '(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))' - + '(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))'; - pattern '(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|' - + '((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)' - + '(/.+)'; - } - description - "The ipv6-prefix type represents an IPv6 address prefix. - The prefix length is given by the number following the - slash character and must be less than or equal to 128. - - A prefix length value of n corresponds to an IP address - mask that has n contiguous 1-bits from the most - significant bit (MSB) and all other bits set to 0. - - The IPv6 address should have all bits that do not belong - to the prefix set to zero. - - The canonical format of an IPv6 prefix has all bits of - the IPv6 address set to zero that are not part of the - IPv6 prefix. Furthermore, the IPv6 address is represented - as defined in Section 4 of RFC 5952."; - reference - "RFC 5952: A Recommendation for IPv6 Address Text - Representation"; - } - - /*** collection of domain name and URI types ***/ - - typedef domain-name { - type string { - length "1..253"; - pattern - '((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*' - + '([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)' - + '|\.'; - } - description - "The domain-name type represents a DNS domain name. The - name SHOULD be fully qualified whenever possible. - - Internet domain names are only loosely specified. Section - 3.5 of RFC 1034 recommends a syntax (modified in Section - 2.1 of RFC 1123). The pattern above is intended to allow - for current practice in domain name use, and some possible - future expansion. It is designed to hold various types of - domain names, including names used for A or AAAA records - (host names) and other records, such as SRV records. Note - that Internet host names have a stricter syntax (described - in RFC 952) than the DNS recommendations in RFCs 1034 and - 1123, and that systems that want to store host names in - schema nodes using the domain-name type are recommended to - adhere to this stricter standard to ensure interoperability. - - The encoding of DNS names in the DNS protocol is limited - to 255 characters. Since the encoding consists of labels - prefixed by a length bytes and there is a trailing NULL - byte, only 253 characters can appear in the textual dotted - notation. - - The description clause of schema nodes using the domain-name - type MUST describe when and how these names are resolved to - IP addresses. Note that the resolution of a domain-name value - may require to query multiple DNS records (e.g., A for IPv4 - and AAAA for IPv6). The order of the resolution process and - which DNS record takes precedence can either be defined - explicitly or may depend on the configuration of the - resolver. - - Domain-name values use the US-ASCII encoding. Their canonical - format uses lowercase US-ASCII characters. Internationalized - domain names MUST be A-labels as per RFC 5890."; - reference - "RFC 952: DoD Internet Host Table Specification - RFC 1034: Domain Names - Concepts and Facilities - RFC 1123: Requirements for Internet Hosts -- Application - and Support - RFC 2782: A DNS RR for specifying the location of services - (DNS SRV) - RFC 5890: Internationalized Domain Names in Applications - (IDNA): Definitions and Document Framework"; - } - - typedef host { - type union { - type inet:ip-address; - type inet:domain-name; - } - description - "The host type represents either an IP address or a DNS - domain name."; - } - - typedef uri { - type string; - description - "The uri type represents a Uniform Resource Identifier - (URI) as defined by STD 66. - - Objects using the uri type MUST be in US-ASCII encoding, - and MUST be normalized as described by RFC 3986 Sections - 6.2.1, 6.2.2.1, and 6.2.2.2. All unnecessary - percent-encoding is removed, and all case-insensitive - characters are set to lowercase except for hexadecimal - digits, which are normalized to uppercase as described in - Section 6.2.2.1. - - The purpose of this normalization is to help provide - unique URIs. Note that this normalization is not - sufficient to provide uniqueness. Two URIs that are - textually distinct after this normalization may still be - equivalent. - - Objects using the uri type may restrict the schemes that - they permit. For example, 'data:' and 'urn:' schemes - might not be appropriate. - - A zero-length URI is not a valid URI. This can be used to - express 'URI absent' where required. - - In the value set and its semantics, this type is equivalent - to the Uri SMIv2 textual convention defined in RFC 5017."; - reference - "RFC 3986: Uniform Resource Identifier (URI): Generic Syntax - RFC 3305: Report from the Joint W3C/IETF URI Planning Interest - Group: Uniform Resource Identifiers (URIs), URLs, - and Uniform Resource Names (URNs): Clarifications - and Recommendations - RFC 5017: MIB Textual Conventions for Uniform Resource - Identifiers (URIs)"; - } - -} diff --git a/yang/modules/cisco-ios-xr/631/ietf-restconf-monitoring.yang b/yang/modules/cisco-ios-xr/631/ietf-restconf-monitoring.yang deleted file mode 100755 index a734f13..0000000 --- a/yang/modules/cisco-ios-xr/631/ietf-restconf-monitoring.yang +++ /dev/null @@ -1,155 +0,0 @@ - module ietf-restconf-monitoring { - namespace "urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring"; - prefix "rcmon"; - - import ietf-yang-types { prefix yang; } - import ietf-inet-types { prefix inet; } - - organization - "IETF NETCONF (Network Configuration) Working Group"; - - contact - "WG Web: - WG List: - - Author: Andy Bierman - - - Author: Martin Bjorklund - - - Author: Kent Watsen - "; - - description - "This module contains monitoring information for the - RESTCONF protocol. - - Copyright (c) 2016 IETF Trust and the persons identified as - authors of the code. All rights reserved. - - Redistribution and use in source and binary forms, with or - without modification, is permitted pursuant to, and subject - to the license terms contained in, the Simplified BSD License - set forth in Section 4.c of the IETF Trust's Legal Provisions - Relating to IETF Documents - (http://trustee.ietf.org/license-info). - - This version of this YANG module is part of RFC XXXX; see - the RFC itself for full legal notices."; - - - // RFC Ed.: replace XXXX with actual RFC number and remove this - // note. - - // RFC Ed.: remove this note - // Note: extracted from draft-ietf-netconf-restconf-16.txt - - // RFC Ed.: update the date below with the date of RFC publication - // and remove this note. - revision 2016-08-15 { - description - "Initial revision."; - reference - "RFC XXXX: RESTCONF Protocol."; - } - - container restconf-state { - config false; - description - "Contains RESTCONF protocol monitoring information."; - - container capabilities { - description - "Contains a list of protocol capability URIs"; - - leaf-list capability { - type inet:uri; - description "A RESTCONF protocol capability URI."; - } - } - - container streams { - description - "Container representing the notification event streams - supported by the server."; - reference - "RFC 5277, Section 3.4, element."; - - list stream { - key name; - description - "Each entry describes an event stream supported by - the server."; - - leaf name { - type string; - description "The stream name"; - reference "RFC 5277, Section 3.4, element."; - } - - leaf description { - type string; - description "Description of stream content"; - reference - "RFC 5277, Section 3.4, element."; - } - - leaf replay-support { - type boolean; - default false; - description - "Indicates if replay buffer supported for this stream. - If 'true', then the server MUST support the 'start-time' - and 'stop-time' query parameters for this stream."; - reference - "RFC 5277, Section 3.4, element."; - } - - leaf replay-log-creation-time { - when "../replay-support" { - description - "Only present if notification replay is supported"; - } - type yang:date-and-time; - description - "Indicates the time the replay log for this stream - was created."; - reference - "RFC 5277, Section 3.4, - element."; - } - - list access { - key encoding; - min-elements 1; - description - "The server will create an entry in this list for each - encoding format that is supported for this stream. - The media type 'text/event-stream' is expected - for all event streams. This list identifies the - sub-types supported for this stream."; - - leaf encoding { - type string; - description - "This is the secondary encoding format within the - 'text/event-stream' encoding used by all streams. - The type 'xml' is supported for XML encoding. - The type 'json' is supported for JSON encoding."; - } - - leaf location { - type inet:uri; - mandatory true; - description - "Contains a URL that represents the entry point - for establishing notification delivery via server - sent events."; - } - } - } - } - } - - } diff --git a/yang/modules/cisco-ios-xr/631/ietf-yang-types.yang b/yang/modules/cisco-ios-xr/631/ietf-yang-types.yang deleted file mode 100644 index ee58fa3..0000000 --- a/yang/modules/cisco-ios-xr/631/ietf-yang-types.yang +++ /dev/null @@ -1,474 +0,0 @@ -module ietf-yang-types { - - namespace "urn:ietf:params:xml:ns:yang:ietf-yang-types"; - prefix "yang"; - - organization - "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; - - contact - "WG Web: - WG List: - - WG Chair: David Kessens - - - WG Chair: Juergen Schoenwaelder - - - Editor: Juergen Schoenwaelder - "; - - description - "This module contains a collection of generally useful derived - YANG data types. - - Copyright (c) 2013 IETF Trust and the persons identified as - authors of the code. All rights reserved. - - Redistribution and use in source and binary forms, with or - without modification, is permitted pursuant to, and subject - to the license terms contained in, the Simplified BSD License - set forth in Section 4.c of the IETF Trust's Legal Provisions - Relating to IETF Documents - (http://trustee.ietf.org/license-info). - - This version of this YANG module is part of RFC 6991; see - the RFC itself for full legal notices."; - - revision 2013-07-15 { - description - "This revision adds the following new data types: - - yang-identifier - - hex-string - - uuid - - dotted-quad"; - reference - "RFC 6991: Common YANG Data Types"; - } - - revision 2010-09-24 { - description - "Initial revision."; - reference - "RFC 6021: Common YANG Data Types"; - } - - /*** collection of counter and gauge types ***/ - - typedef counter32 { - type uint32; - description - "The counter32 type represents a non-negative integer - that monotonically increases until it reaches a - maximum value of 2^32-1 (4294967295 decimal), when it - wraps around and starts increasing again from zero. - - Counters have no defined 'initial' value, and thus, a - single value of a counter has (in general) no information - content. Discontinuities in the monotonically increasing - value normally occur at re-initialization of the - management system, and at other times as specified in the - description of a schema node using this type. If such - other times can occur, for example, the creation of - a schema node of type counter32 at times other than - re-initialization, then a corresponding schema node - should be defined, with an appropriate type, to indicate - the last discontinuity. - - The counter32 type should not be used for configuration - schema nodes. A default statement SHOULD NOT be used in - combination with the type counter32. - - In the value set and its semantics, this type is equivalent - to the Counter32 type of the SMIv2."; - reference - "RFC 2578: Structure of Management Information Version 2 - (SMIv2)"; - } - - typedef zero-based-counter32 { - type yang:counter32; - default "0"; - description - "The zero-based-counter32 type represents a counter32 - that has the defined 'initial' value zero. - - A schema node of this type will be set to zero (0) on creation - and will thereafter increase monotonically until it reaches - a maximum value of 2^32-1 (4294967295 decimal), when it - wraps around and starts increasing again from zero. - - Provided that an application discovers a new schema node - of this type within the minimum time to wrap, it can use the - 'initial' value as a delta. It is important for a management - station to be aware of this minimum time and the actual time - between polls, and to discard data if the actual time is too - long or there is no defined minimum time. - - In the value set and its semantics, this type is equivalent - to the ZeroBasedCounter32 textual convention of the SMIv2."; - reference - "RFC 4502: Remote Network Monitoring Management Information - Base Version 2"; - } - - typedef counter64 { - type uint64; - description - "The counter64 type represents a non-negative integer - that monotonically increases until it reaches a - maximum value of 2^64-1 (18446744073709551615 decimal), - when it wraps around and starts increasing again from zero. - - Counters have no defined 'initial' value, and thus, a - single value of a counter has (in general) no information - content. Discontinuities in the monotonically increasing - value normally occur at re-initialization of the - management system, and at other times as specified in the - description of a schema node using this type. If such - other times can occur, for example, the creation of - a schema node of type counter64 at times other than - re-initialization, then a corresponding schema node - should be defined, with an appropriate type, to indicate - the last discontinuity. - - The counter64 type should not be used for configuration - schema nodes. A default statement SHOULD NOT be used in - combination with the type counter64. - - In the value set and its semantics, this type is equivalent - to the Counter64 type of the SMIv2."; - reference - "RFC 2578: Structure of Management Information Version 2 - (SMIv2)"; - } - - typedef zero-based-counter64 { - type yang:counter64; - default "0"; - description - "The zero-based-counter64 type represents a counter64 that - has the defined 'initial' value zero. - - A schema node of this type will be set to zero (0) on creation - and will thereafter increase monotonically until it reaches - a maximum value of 2^64-1 (18446744073709551615 decimal), - when it wraps around and starts increasing again from zero. - - Provided that an application discovers a new schema node - of this type within the minimum time to wrap, it can use the - 'initial' value as a delta. It is important for a management - station to be aware of this minimum time and the actual time - between polls, and to discard data if the actual time is too - long or there is no defined minimum time. - - In the value set and its semantics, this type is equivalent - to the ZeroBasedCounter64 textual convention of the SMIv2."; - reference - "RFC 2856: Textual Conventions for Additional High Capacity - Data Types"; - } - - typedef gauge32 { - type uint32; - description - "The gauge32 type represents a non-negative integer, which - may increase or decrease, but shall never exceed a maximum - value, nor fall below a minimum value. The maximum value - cannot be greater than 2^32-1 (4294967295 decimal), and - the minimum value cannot be smaller than 0. The value of - a gauge32 has its maximum value whenever the information - being modeled is greater than or equal to its maximum - value, and has its minimum value whenever the information - being modeled is smaller than or equal to its minimum value. - If the information being modeled subsequently decreases - below (increases above) the maximum (minimum) value, the - gauge32 also decreases (increases). - - In the value set and its semantics, this type is equivalent - to the Gauge32 type of the SMIv2."; - reference - "RFC 2578: Structure of Management Information Version 2 - (SMIv2)"; - } - - typedef gauge64 { - type uint64; - description - "The gauge64 type represents a non-negative integer, which - may increase or decrease, but shall never exceed a maximum - value, nor fall below a minimum value. The maximum value - cannot be greater than 2^64-1 (18446744073709551615), and - the minimum value cannot be smaller than 0. The value of - a gauge64 has its maximum value whenever the information - being modeled is greater than or equal to its maximum - value, and has its minimum value whenever the information - being modeled is smaller than or equal to its minimum value. - If the information being modeled subsequently decreases - below (increases above) the maximum (minimum) value, the - gauge64 also decreases (increases). - - In the value set and its semantics, this type is equivalent - to the CounterBasedGauge64 SMIv2 textual convention defined - in RFC 2856"; - reference - "RFC 2856: Textual Conventions for Additional High Capacity - Data Types"; - } - - /*** collection of identifier-related types ***/ - - typedef object-identifier { - type string { - pattern '(([0-1](\.[1-3]?[0-9]))|(2\.(0|([1-9]\d*))))' - + '(\.(0|([1-9]\d*)))*'; - } - description - "The object-identifier type represents administratively - assigned names in a registration-hierarchical-name tree. - - Values of this type are denoted as a sequence of numerical - non-negative sub-identifier values. Each sub-identifier - value MUST NOT exceed 2^32-1 (4294967295). Sub-identifiers - are separated by single dots and without any intermediate - whitespace. - - The ASN.1 standard restricts the value space of the first - sub-identifier to 0, 1, or 2. Furthermore, the value space - of the second sub-identifier is restricted to the range - 0 to 39 if the first sub-identifier is 0 or 1. Finally, - the ASN.1 standard requires that an object identifier - has always at least two sub-identifiers. The pattern - captures these restrictions. - - Although the number of sub-identifiers is not limited, - module designers should realize that there may be - implementations that stick with the SMIv2 limit of 128 - sub-identifiers. - - This type is a superset of the SMIv2 OBJECT IDENTIFIER type - since it is not restricted to 128 sub-identifiers. Hence, - this type SHOULD NOT be used to represent the SMIv2 OBJECT - IDENTIFIER type; the object-identifier-128 type SHOULD be - used instead."; - reference - "ISO9834-1: Information technology -- Open Systems - Interconnection -- Procedures for the operation of OSI - Registration Authorities: General procedures and top - arcs of the ASN.1 Object Identifier tree"; - } - - typedef object-identifier-128 { - type object-identifier { - pattern '\d*(\.\d*){1,127}'; - } - description - "This type represents object-identifiers restricted to 128 - sub-identifiers. - - In the value set and its semantics, this type is equivalent - to the OBJECT IDENTIFIER type of the SMIv2."; - reference - "RFC 2578: Structure of Management Information Version 2 - (SMIv2)"; - } - - typedef yang-identifier { - type string { - length "1..max"; - pattern '[a-zA-Z_][a-zA-Z0-9\-_.]*'; - pattern '.|..|[^xX].*|.[^mM].*|..[^lL].*'; - } - description - "A YANG identifier string as defined by the 'identifier' - rule in Section 12 of RFC 6020. An identifier must - start with an alphabetic character or an underscore - followed by an arbitrary sequence of alphabetic or - numeric characters, underscores, hyphens, or dots. - - A YANG identifier MUST NOT start with any possible - combination of the lowercase or uppercase character - sequence 'xml'."; - reference - "RFC 6020: YANG - A Data Modeling Language for the Network - Configuration Protocol (NETCONF)"; - } - - /*** collection of types related to date and time***/ - - typedef date-and-time { - type string { - pattern '\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?' - + '(Z|[\+\-]\d{2}:\d{2})'; - } - description - "The date-and-time type is a profile of the ISO 8601 - standard for representation of dates and times using the - Gregorian calendar. The profile is defined by the - date-time production in Section 5.6 of RFC 3339. - - The date-and-time type is compatible with the dateTime XML - schema type with the following notable exceptions: - - (a) The date-and-time type does not allow negative years. - - (b) The date-and-time time-offset -00:00 indicates an unknown - time zone (see RFC 3339) while -00:00 and +00:00 and Z - all represent the same time zone in dateTime. - - (c) The canonical format (see below) of data-and-time values - differs from the canonical format used by the dateTime XML - schema type, which requires all times to be in UTC using - the time-offset 'Z'. - - This type is not equivalent to the DateAndTime textual - convention of the SMIv2 since RFC 3339 uses a different - separator between full-date and full-time and provides - higher resolution of time-secfrac. - - The canonical format for date-and-time values with a known time - zone uses a numeric time zone offset that is calculated using - the device's configured known offset to UTC time. A change of - the device's offset to UTC time will cause date-and-time values - to change accordingly. Such changes might happen periodically - in case a server follows automatically daylight saving time - (DST) time zone offset changes. The canonical format for - date-and-time values with an unknown time zone (usually - referring to the notion of local time) uses the time-offset - -00:00."; - reference - "RFC 3339: Date and Time on the Internet: Timestamps - RFC 2579: Textual Conventions for SMIv2 - XSD-TYPES: XML Schema Part 2: Datatypes Second Edition"; - } - - typedef timeticks { - type uint32; - description - "The timeticks type represents a non-negative integer that - represents the time, modulo 2^32 (4294967296 decimal), in - hundredths of a second between two epochs. When a schema - node is defined that uses this type, the description of - the schema node identifies both of the reference epochs. - - In the value set and its semantics, this type is equivalent - to the TimeTicks type of the SMIv2."; - reference - "RFC 2578: Structure of Management Information Version 2 - (SMIv2)"; - } - - typedef timestamp { - type yang:timeticks; - description - "The timestamp type represents the value of an associated - timeticks schema node at which a specific occurrence - happened. The specific occurrence must be defined in the - description of any schema node defined using this type. When - the specific occurrence occurred prior to the last time the - associated timeticks attribute was zero, then the timestamp - value is zero. Note that this requires all timestamp values - to be reset to zero when the value of the associated timeticks - attribute reaches 497+ days and wraps around to zero. - - The associated timeticks schema node must be specified - in the description of any schema node using this type. - - In the value set and its semantics, this type is equivalent - to the TimeStamp textual convention of the SMIv2."; - reference - "RFC 2579: Textual Conventions for SMIv2"; - } - - /*** collection of generic address types ***/ - - typedef phys-address { - type string { - pattern '([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?'; - } - - description - "Represents media- or physical-level addresses represented - as a sequence octets, each octet represented by two hexadecimal - numbers. Octets are separated by colons. The canonical - representation uses lowercase characters. - - In the value set and its semantics, this type is equivalent - to the PhysAddress textual convention of the SMIv2."; - reference - "RFC 2579: Textual Conventions for SMIv2"; - } - - typedef mac-address { - type string { - pattern '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}'; - } - description - "The mac-address type represents an IEEE 802 MAC address. - The canonical representation uses lowercase characters. - - In the value set and its semantics, this type is equivalent - to the MacAddress textual convention of the SMIv2."; - reference - "IEEE 802: IEEE Standard for Local and Metropolitan Area - Networks: Overview and Architecture - RFC 2579: Textual Conventions for SMIv2"; - } - - /*** collection of XML-specific types ***/ - - typedef xpath1.0 { - type string; - description - "This type represents an XPATH 1.0 expression. - - When a schema node is defined that uses this type, the - description of the schema node MUST specify the XPath - context in which the XPath expression is evaluated."; - reference - "XPATH: XML Path Language (XPath) Version 1.0"; - } - - /*** collection of string types ***/ - - typedef hex-string { - type string { - pattern '([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?'; - } - description - "A hexadecimal string with octets represented as hex digits - separated by colons. The canonical representation uses - lowercase characters."; - } - - typedef uuid { - type string { - pattern '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' - + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'; - } - description - "A Universally Unique IDentifier in the string representation - defined in RFC 4122. The canonical representation uses - lowercase characters. - - The following is an example of a UUID in string representation: - f81d4fae-7dec-11d0-a765-00a0c91e6bf6 - "; - reference - "RFC 4122: A Universally Unique IDentifier (UUID) URN - Namespace"; - } - - typedef dotted-quad { - type string { - pattern - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}' - + '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])'; - } - description - "An unsigned 32-bit number expressed in the dotted-quad - notation, i.e., four octets written as decimal numbers - and separated with the '.' (full stop) character."; - } -} diff --git a/yang/modules/cisco-ios-xr/631/oc-rp-tree.txt b/yang/modules/cisco-ios-xr/631/oc-rp-tree.txt deleted file mode 100644 index a8af318..0000000 --- a/yang/modules/cisco-ios-xr/631/oc-rp-tree.txt +++ /dev/null @@ -1,106 +0,0 @@ -module: openconfig-routing-policy - +--rw routing-policy - +--rw defined-sets - | +--rw prefix-sets - | | +--rw prefix-set* [prefix-set-name] - | | +--rw prefix-set-name -> ../config/prefix-set-name - | | +--rw config - | | | +--rw prefix-set-name? string - | | +--ro state - | | | +--ro prefix-set-name? string - | | +--rw prefixes - | | +--rw prefix* [ip-prefix masklength-range] - | | +--rw ip-prefix -> ../config/ip-prefix - | | +--rw masklength-range -> ../config/masklength-range - | | +--rw config - | | | +--rw ip-prefix inet:ip-prefix - | | | +--rw masklength-range? string - | | +--ro state - | | +--ro ip-prefix inet:ip-prefix - | | +--ro masklength-range? string - | +--rw neighbor-sets - | | +--rw neighbor-set* [neighbor-set-name] - | | +--rw neighbor-set-name -> ../config/neighbor-set-name - | | +--rw config - | | | +--rw neighbor-set-name? string - | | | +--rw address* inet:ip-address-no-zone - | | +--ro state - | | +--ro neighbor-set-name? string - | | +--ro address* inet:ip-address-no-zone - | +--rw tag-sets - | +--rw tag-set* [tag-set-name] - | +--rw tag-set-name -> ../config/tag-set-name - | +--rw config - | | +--rw tag-set-name? string - | | +--rw tag-value* oc-pol-types:tag-type - | +--ro state - | +--ro tag-set-name? string - | +--ro tag-value* oc-pol-types:tag-type - +--rw policy-definitions - +--rw policy-definition* [name] - +--rw name -> ../config/name - +--rw config - | +--rw name? string - +--ro state - | +--ro name? string - +--rw statements - +--rw statement* [name] - +--rw name -> ../config/name - +--rw config - | +--rw name? string - +--ro state - | +--ro name? string - +--rw conditions - | +--rw config - | | +--rw call-policy? -> /routing-policy/policy-definitions/policy-definition/name - | | +--rw install-protocol-eq? identityref - | +--ro state - | | +--ro call-policy? -> /routing-policy/policy-definitions/policy-definition/name - | | +--ro install-protocol-eq? identityref - | +--rw match-interface - | | +--rw config - | | | +--rw interface? -> /oc-if:interfaces/interface/name - | | | +--rw subinterface? -> /oc-if:interfaces/interface[oc-if:name=current()/../interface]/subinterfaces/subinterface/index - | | +--ro state - | | +--ro interface? -> /oc-if:interfaces/interface/name - | | +--ro subinterface? -> /oc-if:interfaces/interface[oc-if:name=current()/../interface]/subinterfaces/subinterface/index - | +--rw match-prefix-set - | | +--rw config - | | | +--rw prefix-set? -> /routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name - | | | +--rw match-set-options? oc-pol-types:match-set-options-restricted-type - | | +--ro state - | | +--ro prefix-set? -> /routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name - | | +--ro match-set-options? oc-pol-types:match-set-options-restricted-type - | +--rw match-neighbor-set - | | +--rw config - | | | +--rw neighbor-set? -> /routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name - | | | +--rw match-set-options? oc-pol-types:match-set-options-restricted-type - | | +--ro state - | | +--ro neighbor-set? -> /routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name - | | +--ro match-set-options? oc-pol-types:match-set-options-restricted-type - | +--rw match-tag-set - | | +--rw config - | | | +--rw tag-set? -> /routing-policy/defined-sets/tag-sets/tag-set/tag-set-name - | | | +--rw match-set-options? oc-pol-types:match-set-options-restricted-type - | | +--ro state - | | +--ro tag-set? -> /routing-policy/defined-sets/tag-sets/tag-set/tag-set-name - | | +--ro match-set-options? oc-pol-types:match-set-options-restricted-type - | +--rw igp-conditions - +--rw actions - +--rw config - | +--rw (route-disposition)? - | +--:(accept-route) - | | +--rw accept-route? empty - | +--:(reject-route) - | +--rw reject-route? empty - +--ro state - | +--ro (route-disposition)? - | +--:(accept-route) - | | +--ro accept-route? empty - | +--:(reject-route) - | +--ro reject-route? empty - +--rw igp-actions - +--rw config - | +--rw set-tag? oc-pol-types:tag-type - +--ro state - +--ro set-tag? oc-pol-types:tag-type diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common-multiprotocol.yang b/yang/modules/cisco-ios-xr/631/openconfig-bgp-common-multiprotocol.yang deleted file mode 100755 index d59f13f..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common-multiprotocol.yang +++ /dev/null @@ -1,423 +0,0 @@ -submodule openconfig-bgp-common-multiprotocol { - - belongs-to openconfig-bgp { - prefix "oc-bgp"; - } - - import openconfig-extensions { prefix oc-ext; } - import openconfig-bgp-types { prefix oc-bgp-types; } - import openconfig-routing-policy { prefix oc-rpol; } - import openconfig-types { prefix oc-types; } - - include openconfig-bgp-common; - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This sub-module contains groupings that are related to support - for multiple protocols in BGP. The groupings are common across - multiple contexts."; - - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { - description - "OpenConfig BGP refactor"; - reference "2.1.1"; - } - - grouping bgp-common-mp-afi-safi-graceful-restart-config { - description - "BGP graceful restart parameters that apply on a per-AFI-SAFI - basis"; - - leaf enabled { - type boolean; - default false; - description - "This leaf indicates whether graceful-restart is enabled for - this AFI-SAFI"; - } - } - - grouping bgp-common-mp-afi-safi-config { - description - "Configuration parameters used for all BGP AFI-SAFIs"; - - leaf afi-safi-name { - type identityref { - base oc-bgp-types:AFI_SAFI_TYPE; - } - description "AFI,SAFI"; - } - - leaf enabled { - type boolean; - default false; - description - "This leaf indicates whether the IPv4 Unicast AFI,SAFI is - enabled for the neighbour or group"; - } - } - - grouping bgp-common-mp-all-afi-safi-list-contents { - description - "A common grouping used for contents of the list that is used - for AFI-SAFI entries"; - - // import and export policy included for the afi/safi - uses oc-rpol:apply-policy-group; - - uses bgp-common-mp-ipv4-unicast-group; - uses bgp-common-mp-ipv6-unicast-group; - uses bgp-common-mp-ipv4-labeled-unicast-group; - uses bgp-common-mp-ipv6-labeled-unicast-group; - uses bgp-common-mp-l3vpn-ipv4-unicast-group; - uses bgp-common-mp-l3vpn-ipv6-unicast-group; - uses bgp-common-mp-l3vpn-ipv4-multicast-group; - uses bgp-common-mp-l3vpn-ipv6-multicast-group; - uses bgp-common-mp-l2vpn-vpls-group; - uses bgp-common-mp-l2vpn-evpn-group; - } - - // Groupings relating to each address family - grouping bgp-common-mp-ipv4-unicast-group { - description - "Group for IPv4 Unicast configuration options"; - - container ipv4-unicast { - when "../afi-safi-name = 'oc-bgp-types:IPV4_UNICAST'" { - description - "Include this container for IPv4 Unicast specific - configuration"; - } - - description "IPv4 unicast configuration options"; - - // include common IPv[46] unicast options - uses bgp-common-mp-ipv4-ipv6-unicast-common; - - // placeholder for IPv4 unicast specific configuration - } - } - - grouping bgp-common-mp-ipv6-unicast-group { - description - "Group for IPv6 Unicast configuration options"; - - container ipv6-unicast { - when "../afi-safi-name = 'oc-bgp-types:IPV6_UNICAST'" { - description - "Include this container for IPv6 Unicast specific - configuration"; - } - - description "IPv6 unicast configuration options"; - - // include common IPv[46] unicast options - uses bgp-common-mp-ipv4-ipv6-unicast-common; - - // placeholder for IPv6 unicast specific configuration - // options - } - } - - grouping bgp-common-mp-ipv4-labeled-unicast-group { - description - "Group for IPv4 Labeled Unicast configuration options"; - - container ipv4-labeled-unicast { - when "../afi-safi-name = 'oc-bgp-types:IPV4_LABELED_UNICAST'" { - description - "Include this container for IPv4 Labeled Unicast specific - configuration"; - } - - description "IPv4 Labeled Unicast configuration options"; - - uses bgp-common-mp-all-afi-safi-common; - - // placeholder for IPv4 Labeled Unicast specific config - // options - } - } - - grouping bgp-common-mp-ipv6-labeled-unicast-group { - description - "Group for IPv6 Labeled Unicast configuration options"; - - container ipv6-labeled-unicast { - when "../afi-safi-name = 'oc-bgp-types:IPV6_LABELED_UNICAST'" { - description - "Include this container for IPv6 Labeled Unicast specific - configuration"; - } - - description "IPv6 Labeled Unicast configuration options"; - - uses bgp-common-mp-all-afi-safi-common; - - // placeholder for IPv6 Labeled Unicast specific config - // options. - } - } - - grouping bgp-common-mp-l3vpn-ipv4-unicast-group { - description - "Group for IPv4 Unicast L3VPN configuration options"; - - container l3vpn-ipv4-unicast { - when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV4_UNICAST'" { - description - "Include this container for IPv4 Unicast L3VPN specific - configuration"; - } - - description "Unicast IPv4 L3VPN configuration options"; - - // include common L3VPN configuration options - uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common; - - // placeholder for IPv4 Unicast L3VPN specific config options. - } - } - - grouping bgp-common-mp-l3vpn-ipv6-unicast-group { - description - "Group for IPv6 Unicast L3VPN configuration options"; - - container l3vpn-ipv6-unicast { - when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV6_UNICAST'" { - description - "Include this container for unicast IPv6 L3VPN specific - configuration"; - } - - description "Unicast IPv6 L3VPN configuration options"; - - // include common L3VPN configuration options - uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common; - - // placeholder for IPv6 Unicast L3VPN specific configuration - // options - } - } - - grouping bgp-common-mp-l3vpn-ipv4-multicast-group { - description - "Group for IPv4 L3VPN multicast configuration options"; - - container l3vpn-ipv4-multicast { - when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV4_MULTICAST'" { - description - "Include this container for multicast IPv6 L3VPN specific - configuration"; - } - - description "Multicast IPv4 L3VPN configuration options"; - - // include common L3VPN multicast options - uses bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common; - - // placeholder for IPv4 Multicast L3VPN specific configuration - // options - } - } - - grouping bgp-common-mp-l3vpn-ipv6-multicast-group { - description - "Group for IPv6 L3VPN multicast configuration options"; - - container l3vpn-ipv6-multicast { - when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV6_MULTICAST'" { - description - "Include this container for multicast IPv6 L3VPN specific - configuration"; - } - - description "Multicast IPv6 L3VPN configuration options"; - - // include common L3VPN multicast options - uses bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common; - - // placeholder for IPv6 Multicast L3VPN specific configuration - // options - } - } - - grouping bgp-common-mp-l2vpn-vpls-group { - description - "Group for BGP-signalled VPLS configuration options"; - - container l2vpn-vpls { - when "../afi-safi-name = 'oc-bgp-types:L2VPN_VPLS'" { - description - "Include this container for BGP-signalled VPLS specific - configuration"; - } - - description "BGP-signalled VPLS configuration options"; - - // include common L2VPN options - uses bgp-common-mp-l2vpn-common; - - // placeholder for BGP-signalled VPLS specific configuration - // options - } - } - - grouping bgp-common-mp-l2vpn-evpn-group { - description - "Group for BGP EVPN configuration options"; - - container l2vpn-evpn { - when "../afi-safi-name = 'oc-bgp-types:L2VPN_EVPN'" { - description - "Include this container for BGP EVPN specific - configuration"; - } - - description "BGP EVPN configuration options"; - - // include common L2VPN options - uses bgp-common-mp-l2vpn-common; - - // placeholder for BGP EVPN specific configuration options - } - } - - // Common groupings across multiple AFI,SAFIs - grouping bgp-common-mp-all-afi-safi-common { - description - "Grouping for configuration common to all AFI,SAFI"; - - container prefix-limit { - description - "Configure the maximum number of prefixes that will be - accepted from a peer"; - - container config { - description - "Configuration parameters relating to the prefix - limit for the AFI-SAFI"; - uses bgp-common-mp-all-afi-safi-common-prefix-limit-config; - } - - container state { - config false; - description - "State information relating to the prefix-limit for the - AFI-SAFI"; - uses bgp-common-mp-all-afi-safi-common-prefix-limit-config; - } - } - } - - grouping bgp-common-mp-ipv4-ipv6-unicast-common { - description - "Common configuration that is applicable for IPv4 and IPv6 - unicast"; - - // include common afi-safi options. - uses bgp-common-mp-all-afi-safi-common; - - // configuration options that are specific to IPv[46] unicast - container config { - description - "Configuration parameters for common IPv4 and IPv6 unicast - AFI-SAFI options"; - uses bgp-common-mp-ipv4-ipv6-unicast-common-config; - } - container state { - config false; - description - "State information for common IPv4 and IPv6 unicast - parameters"; - uses bgp-common-mp-ipv4-ipv6-unicast-common-config; - } - } - - grouping bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common { - description - "Common configuration applied across L3VPN for IPv4 - and IPv6"; - - // placeholder -- specific configuration options that are generic - // across IPv[46] unicast address families. - uses bgp-common-mp-all-afi-safi-common; - } - - grouping bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common { - description - "Common configuration applied across L3VPN for IPv4 - and IPv6"; - - // placeholder -- specific configuration options that are - // generic across IPv[46] multicast address families. - uses bgp-common-mp-all-afi-safi-common; - } - - grouping bgp-common-mp-l2vpn-common { - description - "Common configuration applied across L2VPN address - families"; - - // placeholder -- specific configuration options that are - // generic across L2VPN address families - uses bgp-common-mp-all-afi-safi-common; - } - - // Config groupings for common groups - grouping bgp-common-mp-all-afi-safi-common-prefix-limit-config { - description - "Configuration parameters relating to prefix-limits for an - AFI-SAFI"; - - leaf max-prefixes { - type uint32; - description - "Maximum number of prefixes that will be accepted - from the neighbour"; - } - - leaf shutdown-threshold-pct { - type oc-types:percentage; - description - "Threshold on number of prefixes that can be received - from a neighbour before generation of warning messages - or log entries. Expressed as a percentage of - max-prefixes"; - } - - leaf restart-timer { - type decimal64 { - fraction-digits 2; - } - units "seconds"; - description - "Time interval in seconds after which the BGP session - is re-established after being torn down due to exceeding - the max-prefix limit."; - } - } - - grouping bgp-common-mp-ipv4-ipv6-unicast-common-config { - description - "Common configuration parameters for IPv4 and IPv6 Unicast - address families"; - - leaf send-default-route { - type boolean; - default "false"; - description - "If set to true, send the default-route to the neighbour(s)"; - } - } - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common.yang b/yang/modules/cisco-ios-xr/631/openconfig-bgp-common.yang deleted file mode 100755 index ce788da..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common.yang +++ /dev/null @@ -1,597 +0,0 @@ -submodule openconfig-bgp-common { - - belongs-to openconfig-bgp { - prefix "oc-bgp"; - } - - import openconfig-extensions { prefix oc-ext; } - import openconfig-bgp-types { prefix oc-bgp-types; } - import openconfig-routing-policy { prefix oc-rpol; } - import ietf-inet-types { prefix inet; } - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This sub-module contains common groupings that are common across - multiple contexts within the BGP module. That is to say that they - may be application to a subset of global, peer-group or neighbor - contexts."; - - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { - description - "OpenConfig BGP refactor"; - reference "2.1.1"; - } - - grouping bgp-common-neighbor-group-timers-config { - description - "Config parameters related to timers associated with the BGP - peer"; - - leaf connect-retry { - type decimal64 { - fraction-digits 2; - } - default 30; - description - "Time interval in seconds between attempts to establish a - session with the peer."; - } - - leaf hold-time { - type decimal64 { - fraction-digits 2; - } - default 90; - description - "Time interval in seconds that a BGP session will be - considered active in the absence of keepalive or other - messages from the peer. The hold-time is typically - set to 3x the keepalive-interval."; - reference - "RFC 4271 - A Border Gateway Protocol 4, Sec. 10"; - } - - leaf keepalive-interval { - type decimal64 { - fraction-digits 2; - } - default 30; - description - "Time interval in seconds between transmission of keepalive - messages to the neighbor. Typically set to 1/3 the - hold-time."; - } - - leaf minimum-advertisement-interval { - type decimal64 { - fraction-digits 2; - } - default 30; - description - "Minimum time which must elapse between subsequent UPDATE - messages relating to a common set of NLRI being transmitted - to a peer. This timer is referred to as - MinRouteAdvertisementIntervalTimer by RFC 4721 and serves to - reduce the number of UPDATE messages transmitted when a - particular set of NLRI exhibit instability."; - reference - "RFC 4271 - A Border Gateway Protocol 4, Sec 9.2.1.1"; - } - } - - grouping bgp-common-neighbor-group-config { - description - "Neighbor level configuration items."; - - leaf peer-as { - type inet:as-number; - description - "AS number of the peer."; - } - - leaf local-as { - type inet:as-number; - description - "The local autonomous system number that is to be used - when establishing sessions with the remote peer or peer - group, if this differs from the global BGP router - autonomous system number."; - } - - leaf peer-type { - type oc-bgp-types:peer-type; - description - "Explicitly designate the peer or peer group as internal - (iBGP) or external (eBGP)."; - } - - leaf auth-password { - type string; - description - "Configures an MD5 authentication password for use with - neighboring devices."; - } - - leaf remove-private-as { - // could also make this a container with a flag to enable - // remove-private and separate option. here, option implies - // remove-private is enabled. - type oc-bgp-types:remove-private-as-option; - description - "Remove private AS numbers from updates sent to peers - when - this leaf is not specified, the AS_PATH attribute should be - sent to the peer unchanged"; - } - - leaf route-flap-damping { - type boolean; - default false; - description - "Enable route flap damping."; - } - - leaf send-community { - type oc-bgp-types:community-type; - default "NONE"; - description - "Specify which types of community should be sent to the - neighbor or group. The default is to not send the - community attribute"; - } - - leaf description { - type string; - description - "An optional textual description (intended primarily for use - with a peer or group"; - } - } - - grouping bgp-common-neighbor-group-transport-config { - description - "Configuration parameters relating to the transport protocol - used by the BGP session to the peer"; - - leaf tcp-mss { - type uint16; - description - "Sets the max segment size for BGP TCP sessions."; - } - - leaf mtu-discovery { - type boolean; - default false; - description - "Turns path mtu discovery for BGP TCP sessions on (true) - or off (false)"; - } - - leaf passive-mode { - type boolean; - default false; - description - "Wait for peers to issue requests to open a BGP session, - rather than initiating sessions from the local router."; - } - - leaf local-address { - type union { - type inet:ip-address; - type string; - } - //TODO: the string should be converted to a leafref type - //to point to an interface when YANG 1.1 is available with - //leafrefs in union types. - description - "Set the local IP (either IPv4 or IPv6) address to use - for the session when sending BGP update messages. This - may be expressed as either an IP address or reference - to the name of an interface."; - } - } - - grouping bgp-common-neighbor-group-error-handling-config { - description - "Configuration parameters relating to enhanced error handling - behaviours for BGP"; - - leaf treat-as-withdraw { - type boolean; - default "false"; - description - "Specify whether erroneous UPDATE messages for which the - NLRI can be extracted are reated as though the NLRI is - withdrawn - avoiding session reset"; - reference "draft-ietf-idr-error-handling-16"; - } - } - - grouping bgp-common-neighbor-group-logging-options-config { - description - "Configuration parameters specifying the logging behaviour for - BGP sessions to the peer"; - - leaf log-neighbor-state-changes { - type boolean; - default "true"; - description - "Configure logging of peer state changes. Default is - to enable logging of peer state changes."; - } - } - - grouping bgp-common-neighbor-group-multihop-config { - description - "Configuration parameters specifying the multihop behaviour for - BGP sessions to the peer"; - - leaf enabled { - type boolean; - default "false"; - description - "When enabled the referenced group or neighbors are permitted - to be indirectly connected - including cases where the TTL - can be decremented between the BGP peers"; - } - - leaf multihop-ttl { - type uint8; - description - "Time-to-live value to use when packets are sent to the - referenced group or neighbors and ebgp-multihop is enabled"; - } - } - - grouping bgp-common-neighbor-group-route-reflector-config { - description - "Configuration parameters determining whether the behaviour of - the local system when acting as a route-reflector"; - - leaf route-reflector-cluster-id { - type oc-bgp-types:rr-cluster-id-type; - description - "route-reflector cluster id to use when local router is - configured as a route reflector. Commonly set at the group - level, but allows a different cluster - id to be set for each neighbor."; - } - - leaf route-reflector-client { - type boolean; - default "false"; - description - "Configure the neighbor as a route reflector client."; - } - } - - grouping bgp-common-neighbor-group-as-path-options-config { - description - "Configuration parameters allowing manipulation of the AS_PATH - attribute"; - - leaf allow-own-as { - type uint8; - default 0; - description - "Specify the number of occurrences of the local BGP speaker's - AS that can occur within the AS_PATH before it is rejected."; - } - - leaf replace-peer-as { - type boolean; - default "false"; - description - "Replace occurrences of the peer's AS in the AS_PATH - with the local autonomous system number"; - } - } - - grouping bgp-common-neighbor-group-add-paths-config { - description - "Configuration parameters specfying whether the local system - will send or receive multiple paths using ADD_PATHS"; - - leaf receive { - type boolean; - default false; - description - "Enable ability to receive multiple path advertisements - for an NLRI from the neighbor or group"; - } - - leaf send-max { - type uint8; - description - "The maximum number of paths to advertise to neighbors - for a single NLRI"; - } - - leaf eligible-prefix-policy { - type leafref { - path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:name"; - } - description - "A reference to a routing policy which can be used to - restrict the prefixes for which add-paths is enabled"; - } - } - - grouping bgp-common-graceful-restart-config { - description - "Configuration parameters relating to BGP graceful restart."; - - leaf enabled { - type boolean; - description - "Enable or disable the graceful-restart capability."; - } - - leaf restart-time { - type uint16 { - range 0..4096; - } - description - "Estimated time (in seconds) for the local BGP speaker to - restart a session. This value is advertise in the graceful - restart BGP capability. This is a 12-bit value, referred to - as Restart Time in RFC4724. Per RFC4724, the suggested - default value is <= the hold-time value."; - } - - leaf stale-routes-time { - type decimal64 { - fraction-digits 2; - } - description - "An upper-bound on the time thate stale routes will be - retained by a router after a session is restarted. If an - End-of-RIB (EOR) marker is received prior to this timer - expiring stale-routes will be flushed upon its receipt - if - no EOR is received, then when this timer expires stale paths - will be purged. This timer is referred to as the - Selection_Deferral_Timer in RFC4724"; - } - - leaf helper-only { - type boolean; - description - "Enable graceful-restart in helper mode only. When this - leaf is set, the local system does not retain forwarding - its own state during a restart, but supports procedures - for the receiving speaker, as defined in RFC4724."; - } - } - - grouping bgp-common-use-multiple-paths-config { - description - "Generic configuration options relating to use of multiple - paths for a referenced AFI-SAFI, group or neighbor"; - - leaf enabled { - type boolean; - default false; - description - "Whether the use of multiple paths for the same NLRI is - enabled for the neighbor. This value is overridden by - any more specific configuration value."; - } - } - - grouping bgp-common-use-multiple-paths-ebgp-as-options-config { - description - "Configuration parameters specific to eBGP multipath applicable - to all contexts"; - - leaf allow-multiple-as { - type boolean; - default "false"; - description - "Allow multipath to use paths from different neighbouring - ASes. The default is to only consider multiple paths from - the same neighbouring AS."; - } - } - - grouping bgp-common-global-group-use-multiple-paths { - description - "Common grouping used for both global and groups which provides - configuration and state parameters relating to use of multiple - paths"; - - container use-multiple-paths { - description - "Parameters related to the use of multiple paths for the - same NLRI"; - - container config { - description - "Configuration parameters relating to multipath"; - uses bgp-common-use-multiple-paths-config; - } - container state { - config false; - description - "State parameters relating to multipath"; - uses bgp-common-use-multiple-paths-config; - } - - container ebgp { - description - "Multipath parameters for eBGP"; - container config { - description - "Configuration parameters relating to eBGP multipath"; - uses bgp-common-use-multiple-paths-ebgp-config; - } - container state { - config false; - description - "State information relating to eBGP multipath"; - uses bgp-common-use-multiple-paths-ebgp-config; - } - } - - container ibgp { - description - "Multipath parameters for iBGP"; - container config { - description - "Configuration parameters relating to iBGP multipath"; - uses bgp-common-use-multiple-paths-ibgp-config; - } - container state { - config false; - description - "State information relating to iBGP multipath"; - uses bgp-common-use-multiple-paths-ibgp-config; - } - } - } - } - - grouping bgp-common-use-multiple-paths-ebgp-config { - description - "Configuration parameters relating to multipath for eBGP"; - - leaf allow-multiple-as { - type boolean; - default "false"; - description - "Allow multipath to use paths from different neighbouring - ASes. The default is to only consider multiple paths from - the same neighbouring AS."; - } - - leaf maximum-paths { - type uint32; - default 1; - description - "Maximum number of parallel paths to consider when using - BGP multipath. The default is use a single path."; - } - } - - grouping bgp-common-use-multiple-paths-ibgp-config { - description - "Configuration parmaeters relating to multipath for iBGP"; - - leaf maximum-paths { - type uint32; - default 1; - description - "Maximum number of parallel paths to consider when using - iBGP multipath. The default is to use a single path"; - } - } - - grouping bgp-common-route-selection-options-config { - description - "Set of configuration options that govern best - path selection."; - - leaf always-compare-med { - type boolean; - default "false"; - description - "Compare multi-exit discriminator (MED) value from - different ASes when selecting the best route. The - default behavior is to only compare MEDs for paths - received from the same AS."; - } - - leaf ignore-as-path-length { - type boolean; - default "false"; - description - "Ignore the AS path length when selecting the best path. - The default is to use the AS path length and prefer paths - with shorter length."; - } - - leaf external-compare-router-id { - type boolean; - default "true"; - description - "When comparing similar routes received from external - BGP peers, use the router-id as a criterion to select - the active path."; - } - - leaf advertise-inactive-routes { - type boolean; - default "false"; - description - "Advertise inactive routes to external peers. The - default is to only advertise active routes."; - } - - leaf enable-aigp { - type boolean; - default false; - description - "Flag to enable sending / receiving accumulated IGP - attribute in routing updates"; - } - - leaf ignore-next-hop-igp-metric { - type boolean; - default "false"; - description - "Ignore the IGP metric to the next-hop when calculating - BGP best-path. The default is to select the route for - which the metric to the next-hop is lowest"; - } - } - - grouping bgp-common-route-selection-options { - description - "Configuration and state relating to route selection options"; - - container route-selection-options { - description - "Parameters relating to options for route selection"; - container config { - description - "Configuration parameters relating to route selection - options"; - uses bgp-common-route-selection-options-config; - } - container state { - config false; - description - "State information for the route selection options"; - uses bgp-common-route-selection-options-config; - } - } - } - - grouping bgp-common-state { - description - "Grouping containing common counters relating to prefixes and - paths"; - - leaf total-paths { - type uint32; - description - "Total number of BGP paths within the context"; - } - - leaf total-prefixes { - type uint32; - description - "Total number of BGP prefixes received within the context"; - } - } - - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-neighbor.yang b/yang/modules/cisco-ios-xr/631/openconfig-bgp-neighbor.yang deleted file mode 100755 index 58f15f3..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-neighbor.yang +++ /dev/null @@ -1,619 +0,0 @@ -submodule openconfig-bgp-neighbor { - - belongs-to openconfig-bgp { - prefix "oc-bgp"; - } - - import openconfig-extensions { prefix oc-ext; } - import openconfig-routing-policy { prefix oc-rpol; } - import openconfig-types { prefix oc-types; } - import openconfig-bgp-types { prefix oc-bgp-types; } - import ietf-inet-types { prefix inet; } - import ietf-yang-types { prefix yang; } - - // Include the common submodule - include openconfig-bgp-common; - include openconfig-bgp-common-multiprotocol; - include openconfig-bgp-peer-group; - include openconfig-bgp-common-structure; - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This sub-module contains groupings that are specific to the - neighbor context of the OpenConfig BGP module."; - - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { - description - "OpenConfig BGP refactor"; - reference "2.1.1"; - } - - grouping bgp-neighbor-config { - description - "Configuration parameters relating to a base BGP neighbor that - are not also applicable to any other context - (e.g., peer group)"; - - leaf peer-group { - type leafref { - path "../../../../peer-groups/peer-group/peer-group-name"; - } - description - "The peer-group with which this neighbor is associated"; - } - - leaf neighbor-address { - type inet:ip-address; - description - "Address of the BGP peer, either in IPv4 or IPv6"; - } - - leaf enabled { - type boolean; - default true; - description - "Whether the BGP peer is enabled. In cases where the - enabled leaf is set to false, the local system should not - initiate connections to the neighbor, and should not - respond to TCP connections attempts from the neighbor. If - the state of the BGP session is ESTABLISHED at the time - that this leaf is set to false, the BGP session should be - ceased."; - } - } - - grouping bgp-neighbor-use-multiple-paths { - description - "Multipath configuration and state applicable to a BGP - neighbor"; - - container use-multiple-paths { - description - "Parameters related to the use of multiple-paths for the same - NLRI when they are received only from this neighbor"; - - container config { - description - "Configuration parameters relating to multipath"; - uses bgp-common-use-multiple-paths-config; - } - container state { - config false; - description - "State parameters relating to multipath"; - uses bgp-common-use-multiple-paths-config; - } - - container ebgp { - description - "Multipath configuration for eBGP"; - container config { - description - "Configuration parameters relating to eBGP multipath"; - uses bgp-common-use-multiple-paths-ebgp-as-options-config; - } - container state { - config false; - description - "State information relating to eBGP multipath"; - uses bgp-common-use-multiple-paths-ebgp-as-options-config; - } - } - } - } - - grouping bgp-neighbor-state { - description - "Operational state parameters relating only to a BGP neighbor"; - - leaf session-state { - type enumeration { - enum IDLE { - description - "neighbor is down, and in the Idle state of the - FSM"; - } - enum CONNECT { - description - "neighbor is down, and the session is waiting for - the underlying transport session to be established"; - } - enum ACTIVE { - description - "neighbor is down, and the local system is awaiting - a conncetion from the remote peer"; - } - enum OPENSENT { - description - "neighbor is in the process of being established. - The local system has sent an OPEN message"; - } - enum OPENCONFIRM { - description - "neighbor is in the process of being established. - The local system is awaiting a NOTIFICATION or - KEEPALIVE message"; - } - enum ESTABLISHED { - description - "neighbor is up - the BGP session with the peer is - established"; - } - } - description - "Operational state of the BGP peer"; - } - - leaf last-established { - type oc-types:timeticks64; - description - "This timestamp indicates the time that the - BGP session last transitioned in or out of the Established - state. The value is the timestamp in seconds relative to - the Unix Epoch (Jan 1, 1970 00:00:00 UTC). - The BGP session uptime can be computed by clients as the - difference between this value and the current time in UTC - (assuming the session is in the ESTABLISHED state, per the - session-state leaf)."; - } - - leaf established-transitions { - type yang:counter64; - description - "Number of transitions to the Established state for - the neighbor session. This value is analogous to the - bgpPeerFsmEstablishedTransitions object from the standard - BGP-4 MIB"; - reference - "RFC 4273 - Definitions of Managed Objects for BGP-4"; - } - - leaf-list supported-capabilities { - type identityref { - base oc-bgp-types:BGP_CAPABILITY; - } - description - "BGP capabilities negotiated as supported with the peer"; - } - - container messages { - description - "Counters for BGP messages sent and received from the - neighbor"; - container sent { - description - "Counters relating to BGP messages sent to the neighbor"; - uses bgp-neighbor-counters-message-types-state; - } - - container received { - description - "Counters for BGP messages received from the neighbor"; - uses bgp-neighbor-counters-message-types-state; - } - } - - container queues { - description - "Counters related to queued messages associated with the - BGP neighbor"; - uses bgp-neighbor-queue-counters-state; - } - } - - grouping bgp-neighbor-counters-message-types-state { - description - "Grouping of BGP message types, included for re-use - across counters"; - - leaf UPDATE { - type uint64; - description - "Number of BGP UPDATE messages announcing, withdrawing - or modifying paths exchanged."; - } - - leaf NOTIFICATION { - type uint64; - description - "Number of BGP NOTIFICATION messages indicating an - error condition has occurred exchanged."; - } - } - - grouping bgp-neighbor-queue-counters-state { - description - "Counters relating to the message queues associated with the - BGP peer"; - - leaf input { - type uint32; - description - "The number of messages received from the peer currently - queued"; - } - - leaf output { - type uint32; - description - "The number of messages queued to be sent to the peer"; - } - } - - grouping bgp-neighbor-transport-state { - description - "Operational state parameters relating to the transport session - used for the BGP session"; - - leaf local-port { - type inet:port-number; - description - "Local TCP port being used for the TCP session supporting - the BGP session"; - } - - leaf remote-address { - type inet:ip-address; - description - "Remote address to which the BGP session has been - established"; - } - - leaf remote-port { - type inet:port-number; - description - "Remote port being used by the peer for the TCP session - supporting the BGP session"; - } - } - - grouping bgp-neighbor-error-handling-state { - description - "Operational state parameters relating to enhanced error - error handling for BGP"; - - leaf erroneous-update-messages { - type uint32; - description - "The number of BGP UPDATE messages for which the - treat-as-withdraw mechanism has been applied based - on erroneous message contents"; - } - } - - grouping bgp-neighbor-timers-state { - description - "Operational state parameters relating to BGP timers associated - with the BGP session"; - - leaf negotiated-hold-time { - type decimal64 { - fraction-digits 2; - } - description - "The negotiated hold-time for the BGP session"; - } - } - - grouping bgp-neighbor-afi-safi-graceful-restart-state { - description - "Operational state variables relating to the graceful-restart - mechanism on a per-AFI-SAFI basis"; - - leaf received { - type boolean; - description - "This leaf indicates whether the neighbor advertised the - ability to support graceful-restart for this AFI-SAFI"; - } - - leaf advertised { - type boolean; - description - "This leaf indicates whether the ability to support - graceful-restart has been advertised to the peer"; - } - } - - grouping bgp-neighbor-graceful-restart-state { - description - "Operational state information relevant to graceful restart - for BGP"; - - leaf peer-restart-time { - type uint16 { - range 0..4096; - } - description - "The period of time (advertised by the peer) that - the peer expects a restart of a BGP session to - take"; - } - - leaf peer-restarting { - type boolean; - description - "This flag indicates whether the remote neighbor is currently - in the process of restarting, and hence received routes are - currently stale"; - } - - leaf local-restarting { - type boolean; - description - "This flag indicates whether the local neighbor is currently - restarting. The flag is unset after all NLRI have been - advertised to the peer, and the End-of-RIB (EOR) marker has - been unset"; - } - - leaf mode { - type enumeration { - enum HELPER_ONLY { - description - "The local router is operating in helper-only mode, and - hence will not retain forwarding state during a local - session restart, but will do so during a restart of the - remote peer"; - } - enum BILATERAL { - description - "The local router is operating in both helper mode, and - hence retains forwarding state during a remote restart, - and also maintains forwarding state during local session - restart"; - } - enum REMOTE_HELPER { - description - "The local system is able to retain routes during restart - but the remote system is only able to act as a helper"; - } - } - description - "Ths leaf indicates the mode of operation of BGP graceful - restart with the peer"; - } - } - - grouping bgp-neighbor-afi-safi-state { - description - "Operational state parameters relating to an individual AFI, - SAFI for a neighbor"; - - leaf active { - type boolean; - description - "This value indicates whether a particular AFI-SAFI has - been succesfully negotiated with the peer. An AFI-SAFI - may be enabled in the current running configuration, but a - session restart may be required in order to negotiate the new - capability."; - } - - container prefixes { - description "Prefix counters for the BGP session"; - leaf received { - type uint32; - description - "The number of prefixes received from the neighbor"; - } - - leaf sent { - type uint32; - description - "The number of prefixes advertised to the neighbor"; - } - - leaf installed { - type uint32; - description - "The number of advertised prefixes installed in the - Loc-RIB"; - } - } - } - - grouping bgp-neighbor-afi-safi-list { - description - "List of address-families associated with the BGP neighbor"; - - list afi-safi { - key "afi-safi-name"; - - description - "AFI,SAFI configuration available for the - neighbour or group"; - - - leaf afi-safi-name { - type leafref { - path "../config/afi-safi-name"; - } - description - "Reference to the AFI-SAFI name used as a key - for the AFI-SAFI list"; - } - - container config { - description - "Configuration parameters for the AFI-SAFI"; - uses bgp-common-mp-afi-safi-config; - } - container state { - config false; - description - "State information relating to the AFI-SAFI"; - uses bgp-common-mp-afi-safi-config; - uses bgp-neighbor-afi-safi-state; - } - - - container graceful-restart { - description - "Parameters relating to BGP graceful-restart"; - container config { - description - "Configuration options for BGP graceful-restart"; - uses bgp-common-mp-afi-safi-graceful-restart-config; - } - container state { - config false; - description - "State information for BGP graceful-restart"; - uses bgp-common-mp-afi-safi-graceful-restart-config; - uses bgp-neighbor-afi-safi-graceful-restart-state; - } - } - - uses bgp-common-mp-all-afi-safi-list-contents; - uses bgp-neighbor-use-multiple-paths; - } - } - - grouping bgp-neighbor-base { - description - "Parameters related to a BGP neighbor"; - - container config { - description - "Configuration parameters relating to the BGP neighbor or - group"; - uses bgp-neighbor-config; - uses bgp-common-neighbor-group-config; - } - container state { - config false; - description - "State information relating to the BGP neighbor"; - uses bgp-neighbor-config; - uses bgp-common-neighbor-group-config; - uses bgp-neighbor-state; - } - - container timers { - description - "Timers related to a BGP neighbor"; - container config { - description - "Configuration parameters relating to timers used for the - BGP neighbor"; - uses bgp-common-neighbor-group-timers-config; - } - container state { - config false; - description - "State information relating to the timers used for the BGP - neighbor"; - uses bgp-common-neighbor-group-timers-config; - uses bgp-neighbor-timers-state; - } - } - - container transport { - description - "Transport session parameters for the BGP neighbor"; - container config { - description - "Configuration parameters relating to the transport - session(s) used for the BGP neighbor"; - uses bgp-common-neighbor-group-transport-config; - } - container state { - config false; - description - "State information relating to the transport session(s) - used for the BGP neighbor"; - uses bgp-common-neighbor-group-transport-config; - uses bgp-neighbor-transport-state; - } - } - - container error-handling { - description - "Error handling parameters used for the BGP neighbor or - group"; - container config { - description - "Configuration parameters enabling or modifying the - behavior or enhanced error handling mechanisms for the BGP - neighbor"; - uses bgp-common-neighbor-group-error-handling-config; - } - container state { - config false; - description - "State information relating to enhanced error handling - mechanisms for the BGP neighbor"; - uses bgp-common-neighbor-group-error-handling-config; - uses bgp-neighbor-error-handling-state; - } - } - - container graceful-restart { - description - "Parameters relating the graceful restart mechanism for BGP"; - container config { - description - "Configuration parameters relating to graceful-restart"; - uses bgp-common-graceful-restart-config; - } - container state { - config false; - description - "State information associated with graceful-restart"; - uses bgp-common-graceful-restart-config; - uses bgp-neighbor-graceful-restart-state; - } - } - - uses bgp-common-structure-neighbor-group-logging-options; - uses bgp-common-structure-neighbor-group-ebgp-multihop; - uses bgp-common-structure-neighbor-group-route-reflector; - uses bgp-common-structure-neighbor-group-as-path-options; - uses bgp-common-structure-neighbor-group-add-paths; - uses bgp-neighbor-use-multiple-paths; - uses oc-rpol:apply-policy-group; - - container afi-safis { - description - "Per-address-family configuration parameters associated with - the neighbor"; - uses bgp-neighbor-afi-safi-list; - } - } - - grouping bgp-neighbor-list { - description - "The list of BGP neighbors"; - - list neighbor { - key "neighbor-address"; - description - "List of BGP neighbors configured on the local system, - uniquely identified by peer IPv[46] address"; - - leaf neighbor-address { - type leafref { - path "../config/neighbor-address"; - } - description - "Reference to the address of the BGP neighbor used as - a key in the neighbor list"; - } - - uses bgp-neighbor-base; - } - - } - - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-bgp-types.yang deleted file mode 100755 index 567e452..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-types.yang +++ /dev/null @@ -1,422 +0,0 @@ -module openconfig-bgp-types { - yang-version "1"; - - namespace "http://openconfig.net/yang/bgp-types"; - - prefix "oc-bgp-types"; - - import ietf-inet-types { prefix inet; } - import openconfig-types { prefix oc-types; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module contains general data definitions for use in BGP - policy. It can be imported by modules that make use of BGP - attributes"; - - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { - description - "OpenConfig BGP refactor"; - reference "2.1.1"; - } - - - identity BGP_CAPABILITY { - description "Base identity for a BGP capability"; - } - - identity MPBGP { - base BGP_CAPABILITY; - description - "Multi-protocol extensions to BGP"; - reference "RFC2858"; - } - - identity ROUTE_REFRESH { - base BGP_CAPABILITY; - description - "The BGP route-refresh functionality"; - reference "RFC2918"; - } - - identity ASN32 { - base BGP_CAPABILITY; - description - "4-byte (32-bit) AS number functionality"; - reference "RFC6793"; - } - - identity GRACEFUL_RESTART { - base BGP_CAPABILITY; - description - "Graceful restart functionality"; - reference "RFC4724"; - } - - identity ADD_PATHS { - base BGP_CAPABILITY; - description - "BGP add-paths"; - reference "draft-ietf-idr-add-paths"; - } - - identity AFI_SAFI_TYPE { - description - "Base identity type for AFI,SAFI tuples for BGP-4"; - reference "RFC4760 - multiprotocol extensions for BGP-4"; - } - - identity IPV4_UNICAST { - base AFI_SAFI_TYPE; - description - "IPv4 unicast (AFI,SAFI = 1,1)"; - reference "RFC4760"; - } - - identity IPV6_UNICAST { - base AFI_SAFI_TYPE; - description - "IPv6 unicast (AFI,SAFI = 2,1)"; - reference "RFC4760"; - } - - identity IPV4_LABELED_UNICAST { - base AFI_SAFI_TYPE; - description - "Labeled IPv4 unicast (AFI,SAFI = 1,4)"; - reference "RFC3107"; - } - - identity IPV6_LABELED_UNICAST { - base AFI_SAFI_TYPE; - description - "Labeled IPv6 unicast (AFI,SAFI = 2,4)"; - reference "RFC3107"; - } - - identity L3VPN_IPV4_UNICAST { - base AFI_SAFI_TYPE; - description - "Unicast IPv4 MPLS L3VPN (AFI,SAFI = 1,128)"; - reference "RFC4364"; - } - - identity L3VPN_IPV6_UNICAST { - base AFI_SAFI_TYPE; - description - "Unicast IPv6 MPLS L3VPN (AFI,SAFI = 2,128)"; - reference "RFC4659"; - } - - identity L3VPN_IPV4_MULTICAST { - base AFI_SAFI_TYPE; - description - "Multicast IPv4 MPLS L3VPN (AFI,SAFI = 1,129)"; - reference "RFC6514"; - } - - identity L3VPN_IPV6_MULTICAST { - base AFI_SAFI_TYPE; - description - "Multicast IPv6 MPLS L3VPN (AFI,SAFI = 2,129)"; - reference "RFC6514"; - } - - identity L2VPN_VPLS { - base AFI_SAFI_TYPE; - description - "BGP-signalled VPLS (AFI,SAFI = 25,65)"; - reference "RFC4761"; - } - - identity L2VPN_EVPN { - base AFI_SAFI_TYPE; - description - "BGP MPLS Based Ethernet VPN (AFI,SAFI = 25,70)"; - } - - identity BGP_WELL_KNOWN_STD_COMMUNITY { - description - "Reserved communities within the standard community space - defined by RFC1997. These communities must fall within the - range 0x00000000 to 0xFFFFFFFF"; - reference "RFC1997"; - } - - identity NO_EXPORT { - base BGP_WELL_KNOWN_STD_COMMUNITY; - description - "Do not export NLRI received carrying this community outside - the bounds of this autonomous system, or this confederation if - the local autonomous system is a confederation member AS. This - community has a value of 0xFFFFFF01."; - reference "RFC1997"; - } - - identity NO_ADVERTISE { - base BGP_WELL_KNOWN_STD_COMMUNITY; - description - "All NLRI received carrying this community must not be - advertised to other BGP peers. This community has a value of - 0xFFFFFF02."; - reference "RFC1997"; - } - - identity NO_EXPORT_SUBCONFED { - base BGP_WELL_KNOWN_STD_COMMUNITY; - description - "All NLRI received carrying this community must not be - advertised to external BGP peers - including over confederation - sub-AS boundaries. This community has a value of 0xFFFFFF03."; - reference "RFC1997"; - } - - identity NOPEER { - base BGP_WELL_KNOWN_STD_COMMUNITY; - description - "An autonomous system receiving NLRI tagged with this community - is advised not to readvertise the NLRI to external bi-lateral - peer autonomous systems. An AS may also filter received NLRI - from bilateral peer sessions when they are tagged with this - community value"; - reference "RFC3765"; - } - - typedef bgp-session-direction { - type enumeration { - enum INBOUND { - description - "Refers to all NLRI received from the BGP peer"; - } - enum OUTBOUND { - description - "Refers to all NLRI advertised to the BGP peer"; - } - } - description - "Type to describe the direction of NLRI transmission"; - } - - typedef bgp-well-known-community-type { - type identityref { - base BGP_WELL_KNOWN_STD_COMMUNITY; - } - description - "Type definition for well-known IETF community attribute - values"; - reference - "IANA Border Gateway Protocol (BGP) Well Known Communities"; - } - - - typedef bgp-std-community-type { - // TODO: further refine restrictions and allowed patterns - // 4-octet value: - // 2 octets - // 2 octets - type union { - type uint32 { - // per RFC 1997, 0x00000000 - 0x0000FFFF and 0xFFFF0000 - - // 0xFFFFFFFF are reserved - range "65536..4294901759"; // 0x00010000..0xFFFEFFFF - } - type string { - pattern '([0-9]+:[0-9]+)'; - } - } - description - "Type definition for standard commmunity attributes"; - reference "RFC 1997 - BGP Communities Attribute"; - } - - typedef bgp-ext-community-type { - // TODO: needs more work to make this more precise given the - // variability of extended community attribute specifications - // 8-octet value: - // 2 octects - // 6 octets - - type union { - type string { - // Type 1: 2-octet global and 4-octet local - // (AS number) (Integer) - pattern '(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|' + - '[1-9][0-9]{1,4}|[0-9]):' + - '(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|' + - '[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])'; - } - type string { - // Type 2: 4-octet global and 2-octet local - // (ipv4-address) (integer) - pattern '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|' + - '25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|' + - '2[0-4][0-9]|25[0-5]):' + - '(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|' + - '[1-9][0-9]{1,4}|[0-9])'; - } - type string { - // route-target with Type 1 - // route-target:(ASN):(local-part) - pattern 'route\-target:(6[0-5][0-5][0-3][0-5]|' + - '[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9]):' + - '(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|' + - '[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])'; - } - type string { - // route-target with Type 2 - // route-target:(IPv4):(local-part) - pattern 'route\-target:' + - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|' + - '25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|' + - '2[0-4][0-9]|25[0-5]):' + - '(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|' + - '[1-9][0-9]{1,4}|[0-9])'; - } - type string { - // route-origin with Type 1 - pattern 'route\-origin:(6[0-5][0-5][0-3][0-5]|' + - '[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9]):' + - '(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|' + - '[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])'; - } - type string { - // route-origin with Type 2 - pattern 'route\-origin:' + - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|' + - '25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|' + - '2[0-4][0-9]|25[0-5]):' + - '(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|' + - '[1-9][0-9]{1,4}|[0-9])'; - } - } - description - "Type definition for extended community attributes"; - reference "RFC 4360 - BGP Extended Communities Attribute"; - } - - typedef bgp-community-regexp-type { - // TODO: needs more work to decide what format these regexps can - // take. - type oc-types:std-regexp; - description - "Type definition for communities specified as regular - expression patterns"; - } - - typedef bgp-origin-attr-type { - type enumeration { - enum IGP { - description "Origin of the NLRI is internal"; - } - enum EGP { - description "Origin of the NLRI is EGP"; - } - enum INCOMPLETE { - description "Origin of the NLRI is neither IGP or EGP"; - } - } - description - "Type definition for standard BGP origin attribute"; - reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4), - Sec 4.3"; - } - - typedef peer-type { - type enumeration { - enum INTERNAL { - description "internal (iBGP) peer"; - } - enum EXTERNAL { - description "external (eBGP) peer"; - } - } - description - "labels a peer or peer group as explicitly internal or - external"; - } - - identity REMOVE_PRIVATE_AS_OPTION { - description - "Base identity for options for removing private autonomous - system numbers from the AS_PATH attribute"; - } - - identity PRIVATE_AS_REMOVE_ALL { - base REMOVE_PRIVATE_AS_OPTION; - description - "Strip all private autonmous system numbers from the AS_PATH. - This action is performed regardless of the other content of the - AS_PATH attribute, and for all instances of private AS numbers - within that attribute."; - } - - identity PRIVATE_AS_REPLACE_ALL { - base REMOVE_PRIVATE_AS_OPTION; - description - "Replace all instances of private autonomous system numbers in - the AS_PATH with the local BGP speaker's autonomous system - number. This action is performed regardless of the other - content of the AS_PATH attribute, and for all instances of - private AS number within that attribute."; - } - - typedef remove-private-as-option { - type identityref { - base REMOVE_PRIVATE_AS_OPTION; - } - description - "set of options for configuring how private AS path numbers - are removed from advertisements"; - } - - typedef percentage { - type uint8 { - range "0..100"; - } - description - "Integer indicating a percentage value"; - } - - typedef rr-cluster-id-type { - type union { - type uint32; - type inet:ipv4-address; - } - description - "union type for route reflector cluster ids: - option 1: 4-byte number - option 2: IP address"; - } - - typedef community-type { - type enumeration { - enum STANDARD { - description "send only standard communities"; - } - enum EXTENDED { - description "send only extended communities"; - } - enum BOTH { - description "send both standard and extended communities"; - } - enum NONE { - description "do not send any community attribute"; - } - } - description - "type describing variations of community attributes: - STANDARD: standard BGP community [rfc1997] - EXTENDED: extended BGP community [rfc4360] - BOTH: both standard and extended community"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp.yang b/yang/modules/cisco-ios-xr/631/openconfig-bgp.yang deleted file mode 100755 index aad5f78..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp.yang +++ /dev/null @@ -1,112 +0,0 @@ -module openconfig-bgp { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/bgp"; - - prefix "oc-bgp"; - - // import some basic inet types - import openconfig-extensions { prefix oc-ext; } - import openconfig-routing-policy { prefix oc-rpol; } - - // Include the OpenConfig BGP submodules - // Common: defines the groupings that are common across more than - // one context (where contexts are neighbor, group, global) - include openconfig-bgp-common; - // Multiprotocol: defines the groupings that are common across more - // than one context, and relate to Multiprotocol - include openconfig-bgp-common-multiprotocol; - // Structure: defines groupings that are shared but are solely used for - // structural reasons. - include openconfig-bgp-common-structure; - // Include peer-group/neighbor/global - these define the groupings - // that are specific to one context - include openconfig-bgp-peer-group; - include openconfig-bgp-neighbor; - include openconfig-bgp-global; - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module describes a YANG model for BGP protocol - configuration.It is a limited subset of all of the configuration - parameters available in the variety of vendor implementations, - hence it is expected that it would be augmented with vendor- - specific configuration data as needed. Additional modules or - submodules to handle other aspects of BGP configuration, - including policy, VRFs, VPNs, and additional address families - are also expected. - This model supports the following BGP configuration level - hierarchy: - BGP - | - +-> [ global BGP configuration ] - +-> AFI / SAFI global - +-> peer group - +-> [ peer group config ] - +-> AFI / SAFI [ per-AFI overrides ] - +-> neighbor - +-> [ neighbor config ] - +-> [ optional pointer to peer-group ] - +-> AFI / SAFI [ per-AFI overrides ]"; - - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { - description - "OpenConfig BGP refactor"; - reference "2.1.1"; - } - - revision "2016-06-06" { - description - "OpenConfig public release"; - reference "2.1.0"; - } - - revision "2016-03-31" { - description - "OpenConfig public release"; - reference "2.0.1"; - } - - grouping bgp-top { - description - "Top-level grouping for the BGP model data"; - - container bgp { - description - "Top-level configuration and state for the BGP router"; - - container global { - description - "Global configuration for the BGP router"; - uses bgp-global-base; - uses oc-rpol:apply-policy-group; - } - - container neighbors { - description - "Configuration for BGP neighbors"; - uses bgp-neighbor-list; - } - - container peer-groups { - description - "Configuration for BGP peer-groups"; - uses bgp-peer-group-list; - } - } - } - - uses bgp-top; - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-channel-monitor.yang b/yang/modules/cisco-ios-xr/631/openconfig-channel-monitor.yang deleted file mode 100644 index f745005..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-channel-monitor.yang +++ /dev/null @@ -1,324 +0,0 @@ -module openconfig-channel-monitor { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/channel-monitor"; - - prefix "oc-chan-monitor"; - - // import some basic types - import openconfig-extensions { prefix oc-ext; } - import openconfig-types { prefix oc-types; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-platform { prefix oc-platform; } - import openconfig-transport-types { prefix oc-opt-types; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This model describes operational state data for an optical - channel monitor (OCM) for optical transport line system - elements such as wavelength routers (ROADMs) and amplifiers."; - - oc-ext:openconfig-version "0.3.0"; - - revision "2017-07-08" { - description - "Support multiple OCMs, add refs to hw ports, "; - reference "0.3.0"; - } - - revision "2017-03-28" { - description - "Added min/max/avg stats, status for media channels, OCM, APS"; - reference "0.2.0"; - } - - revision "2016-09-14" { - description - "Initial revision"; - reference "0.1.0"; - } - - - - // grouping statements - - grouping media-channel-port-config { - description - "Configuration data for a media channel source/dest port"; - - leaf port-name { - type oc-if:base-interface-ref; - description - "Reference to the corresponding node interface"; - } - } - - grouping media-channel-port-state { - description - "Operational state data for a media channel source/dest port"; - } - - grouping media-channel-source-port-top { - description - "Top-level grouping for source of the media channel"; - - container source { - description - "Top-level container for media channel source"; - - container config { - description - "Configuration data for the media channel source"; - - uses media-channel-port-config; - } - - container state { - - config false; - - description - "Operational state data for the media channel source"; - - uses media-channel-port-config; - uses media-channel-port-state; - } - } - } - - grouping media-channel-dest-port-top { - description - "Top-level grouping for destination of the media channel"; - - container dest { - description - "Top-level container for media channel destination"; - - container config { - description - "Configuration data for the media channel destination"; - - uses media-channel-port-config; - } - - container state { - - config false; - - description - "Operational state data for the media channel destination"; - - uses media-channel-port-config; - uses media-channel-port-state; - } - } - } - - grouping media-channel-psd-state { - description - "Operational state data for the media channel PSD"; - - leaf lower-frequency { - type oc-opt-types:frequency-type; - description - "Lower frequency of the specified PSD"; - } - - leaf upper-frequency { - type oc-opt-types:frequency-type; - description - "Upper frequency of the specified PSD"; - } - - leaf psd { - type oc-types:ieeefloat32; - units "nW/MHz"; - description - "Power spectral density expressed in nanowatts per - megahertz, nW/MHz. These units allow the value to often - be greater than 1.0. It also avoids dealing with zero values - for 0dBm. For example, a 40GHz wide channel - with 0dBm power would be: - 0dBm = 1mW = 10^6nW - 40GHz = 40,000MHz - 0dBm/40GHz = 10^6nW/40,000MHz = 1000/40 = 25"; - } - } - - - grouping media-channel-psd-top { - description - "Top-level grouping "; - - container channels { - description - "Enclosing container for the list of values describing - the power spectral density distribution"; - - list channel { - key "lower-frequency upper-frequency"; - config false; - description - "List of tuples describing the PSD distribution"; - - leaf lower-frequency { - type leafref { - path "../state/lower-frequency"; - } - description - "Reference to the list key"; - } - - leaf upper-frequency { - type leafref { - path "../state/upper-frequency"; - } - description - "Reference to the list key"; - } - - - container state { - - config false; - - description - "Operational state data for PSD"; - - uses media-channel-psd-state; - } - } - } - } - - grouping media-channel-config { - description - "Configuration data for media channel definitions"; - - leaf index { - type uint32; - description - "Identifier for the defined media channel"; - } - - leaf lower-frequency { - type oc-opt-types:frequency-type; - description - "The lower frequency for the spectrum defined by this media - channel"; - } - - leaf upper-frequency { - type oc-opt-types:frequency-type; - description - "The upper frequency for the spectrum defined by this media - channel"; - } - - } - - grouping channel-monitor-config { - description - "Configuration data for the optical channel monitor"; - - leaf name { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to system-supplied name of the port on the - optical channel monitor (OCM). If this port is embedded - in another card (i.e. an amplifier card) the device - should still define a port representing the OCM even if - it is internal and not physically present on the - faceplate of the card"; - } - - leaf monitor-port { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to system-supplied name of the port that the - channel monitor is physically connected to. This port - will be of type MONITOR. This port is a tap off of the - monitored-port and would be in the same card as the - monitored port. If this port is embedded in another card - (i.e. an amplifier card) the device should still define - a port representing the monitor port if it is internal - and not physically present on the faceplate of the card"; - } - } - - grouping channel-monitor-state { - description - "Operational state data "; - } - - grouping channel-monitor-top { - description - "Top-level grouping "; - - container channel-monitors { - description - "Top-level container for optical channel monitors"; - - list channel-monitor { - key "name"; - description - "List of channel monitors, keyed by channel monitor name."; - - leaf name { - type leafref { - path "../config/name"; - } - description - "References the optical channel monitor name"; - } - - container config { - description - "Configuration data "; - - uses channel-monitor-config; - } - - container state { - - config false; - - description - "Operational state data "; - - uses channel-monitor-config; - uses channel-monitor-state; - } - - uses media-channel-psd-top; - } - } - } - - // data definition statements - - uses channel-monitor-top; - - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-extensions.yang b/yang/modules/cisco-ios-xr/631/openconfig-extensions.yang deleted file mode 100755 index 939c641..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-extensions.yang +++ /dev/null @@ -1,69 +0,0 @@ -module openconfig-extensions { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/openconfig-ext"; - - prefix "ocext"; - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module provides extensions to the YANG language to allow - OpenConfig specific functionality and meta-data to be defined."; - - revision "2015-10-09" { - description - "Initial OpenConfig public release"; - } - - revision "2015-10-05" { - description - "Initial revision"; - reference "TBD"; - } - - // extension statements - extension openconfig-version { - argument "semver" { - yin-element false; - } - description - "The OpenConfig version number for the module. This is - expressed as a semantic version number of the form: - x.y.z - where: - * x corresponds to the major version, - * y corresponds to a minor version, - * z corresponds to a patch version. - This version corresponds to the model file within which it is - defined, and does not cover the whole set of OpenConfig models. - Where several modules are used to build up a single block of - functionality, the same module version is specified across each - file that makes up the module. - - A major version number of 0 indicates that this model is still - in development (whether within OpenConfig or with industry - partners), and is potentially subject to change. - - Following a release of major version 1, all modules will - increment major revision number where backwards incompatible - changes to the model are made. - - The minor version is changed when features are added to the - model that do not impact current clients use of the model. - - The patch-level version is incremented when non-feature changes - (such as bugfixes or clarifications to human-readable - descriptions that do not impact model functionality) are made - that maintain backwards compatibility. - - The version number is stored in the module meta-data."; - } -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-if-aggregate.yang b/yang/modules/cisco-ios-xr/631/openconfig-if-aggregate.yang deleted file mode 100755 index e1d6fa1..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-if-aggregate.yang +++ /dev/null @@ -1,192 +0,0 @@ -module openconfig-if-aggregate { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/interfaces/aggregate"; - - prefix "oc-lag"; - - // import some basic types - import openconfig-interfaces { prefix oc-if; } - import openconfig-if-ethernet { prefix oc-eth; } - import iana-if-type { prefix ift; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Model for managing aggregated (aka bundle, LAG) interfaces."; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - // extension statements - - // feature statements - - // identity statements - - // typedef statements - - - - typedef aggregation-type { - type enumeration { - enum LACP { - description "LAG managed by LACP"; - } - enum STATIC { - description "Statically configured bundle / LAG"; - } - } - description - "Type to define the lag-type, i.e., how the LAG is - defined and managed"; - } - - // grouping statements - - - grouping aggregation-logical-config { - description - "Configuration data for aggregate interfaces"; - - - leaf lag-type { - type aggregation-type; - description - "Sets the type of LAG, i.e., how it is - configured / maintained"; - } - - leaf min-links { - type uint16; - description - "Specifies the mininum number of member - interfaces that must be active for the aggregate interface - to be available"; - } - } - - grouping aggregation-logical-state { - description - "Operational state data for aggregate interfaces"; - - leaf lag-speed { - type uint32; - units Mbps; - description - "Reports effective speed of the aggregate interface, - based on speed of active member interfaces"; - } - - leaf-list member { - when "oc-lag:lag-type = 'STATIC'" { - description - "The simple list of member interfaces is active - when the aggregate is statically configured"; - } - type oc-if:base-interface-ref; - description - "List of current member interfaces for the aggregate, - expressed as references to existing interfaces"; - } - } - - grouping aggregation-logical-top { - description "Top-level data definitions for LAGs"; - - container aggregation { - - description - "Options for logical interfaces representing - aggregates"; - - container config { - description - "Configuration variables for logical aggregate / - LAG interfaces"; - - uses aggregation-logical-config; - } - - container state { - - config false; - description - "Operational state variables for logical - aggregate / LAG interfaces"; - - uses aggregation-logical-config; - uses aggregation-logical-state; - - } - } - } - - grouping ethernet-if-aggregation-config { - description - "Adds configuration items for Ethernet interfaces - belonging to a logical aggregate / LAG"; - - leaf aggregate-id { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - description - "Specify the logical aggregate interface to which - this interface belongs"; - } - } - - // data definition statements - - // augment statements - - augment "/oc-if:interfaces/oc-if:interface" { - when "oc-if:type = 'ift:ieee8023adLag'" { - description "active when the interface is set to type LAG"; - } - description "Adds LAG configuration to the interface module"; - - uses aggregation-logical-top; - } - - augment "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/" + - "oc-eth:config" { - when "oc-if:type = 'ift:ethernetCsmacd'" { - description "active when the interface is Ethernet"; - } - description "Adds LAG settings to individual Ethernet - interfaces"; - - uses ethernet-if-aggregation-config; - } - - augment "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/" + - "oc-eth:state" { - when "oc-if:type = 'ift:ethernetCsmacd'" { - description "active when the interface is Ethernet"; - } - description "Adds LAG settings to individual Ethernet - interfaces"; - - uses ethernet-if-aggregation-config; - } - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-if-ethernet.yang b/yang/modules/cisco-ios-xr/631/openconfig-if-ethernet.yang deleted file mode 100755 index c7a8e94..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-if-ethernet.yang +++ /dev/null @@ -1,319 +0,0 @@ -module openconfig-if-ethernet { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/interfaces/ethernet"; - - prefix "oc-eth"; - - // import some basic types - import openconfig-interfaces { prefix oc-if; } - import iana-if-type { prefix ift; } - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Model for managing Ethernet interfaces -- augments the IETF YANG - model for interfaces described by RFC 7223"; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - // extension statements - - // feature statements - - // identity statements - - identity ETHERNET_SPEED { - description "base type to specify available Ethernet link - speeds"; - } - - identity SPEED_10MB { - base ETHERNET_SPEED; - description "10 Mbps Ethernet"; - } - - identity SPEED_100MB { - base ETHERNET_SPEED; - description "100 Mbps Ethernet"; - } - - identity SPEED_1GB { - base ETHERNET_SPEED; - description "1 GBps Ethernet"; - } - - identity SPEED_10GB { - base ETHERNET_SPEED; - description "10 GBps Ethernet"; - } - - identity SPEED_25GB { - base ETHERNET_SPEED; - description "25 GBps Ethernet"; - } - - identity SPEED_40GB { - base ETHERNET_SPEED; - description "40 GBps Ethernet"; - } - - identity SPEED_50GB { - base ETHERNET_SPEED; - description "50 GBps Ethernet"; - } - - identity SPEED_100GB { - base ETHERNET_SPEED; - description "100 GBps Ethernet"; - } - - identity SPEED_UNKNOWN { - base ETHERNET_SPEED; - description - "Interface speed is unknown. Systems may report - speed UNKNOWN when an interface is down or unpopuplated (e.g., - pluggable not present)."; - } - - // typedef statements - - - // grouping statements - - grouping ethernet-interface-config { - description "Configuration items for Ethernet interfaces"; - - leaf mac-address { - type yang:mac-address; - description - "Assigns a MAC address to the Ethernet interface. If not - specified, the corresponding operational state leaf is - expected to show the system-assigned MAC address."; - } - - leaf auto-negotiate { - type boolean; - default true; - description - "Set to TRUE to request the interface to auto-negotiate - transmission parameters with its peer interface. When - set to FALSE, the transmission parameters are specified - manually."; - reference - "IEEE 802.3-2012 auto-negotiation transmission parameters"; - } - - leaf duplex-mode { - type enumeration { - enum FULL { - description "Full duplex mode"; - } - enum HALF { - description "Half duplex mode"; - } - } - description - "When auto-negotiate is TRUE, this optionally sets the - duplex mode that will be advertised to the peer. If - unspecified, the interface should negotiate the duplex mode - directly (typically full-duplex). When auto-negotiate is - FALSE, this sets the duplex mode on the interface directly."; - } - - leaf port-speed { - type identityref { - base ETHERNET_SPEED; - } - description - "When auto-negotiate is TRUE, this optionally sets the - port-speed mode that will be advertised to the peer for - negotiation. If unspecified, it is expected that the - interface will select the highest speed available based on - negotiation. When auto-negotiate is set to FALSE, sets the - link speed to a fixed value -- supported values are defined - by ETHERNET_SPEED identities"; - } - - leaf enable-flow-control { - type boolean; - default false; - description - "Enable or disable flow control for this interface. - Ethernet flow control is a mechanism by which a receiver - may send PAUSE frames to a sender to stop transmission for - a specified time. - - This setting should override auto-negotiated flow control - settings. If left unspecified, and auto-negotiate is TRUE, - flow control mode is negotiated with the peer interface."; - reference - "IEEE 802.3x"; - } - } - - grouping ethernet-interface-state-counters { - description - "Ethernet-specific counters and statistics"; - - // ingress counters - - leaf in-mac-control-frames { - type yang:counter64; - description - "MAC layer control frames received on the interface"; - } - - leaf in-mac-pause-frames { - type yang:counter64; - description - "MAC layer PAUSE frames received on the interface"; - } - - leaf in-oversize-frames { - type yang:counter64; - description - "Number of oversize frames received on the interface"; - } - - leaf in-jabber-frames { - type yang:counter64; - description - "Number of jabber frames received on the - interface. Jabber frames are typically defined as oversize - frames which also have a bad CRC. Implementations may use - slightly different definitions of what constitutes a jabber - frame. Often indicative of a NIC hardware problem."; - } - - leaf in-fragment-frames { - type yang:counter64; - description - "Number of fragment frames received on the interface."; - } - - leaf in-8021q-frames { - type yang:counter64; - description - "Number of 802.1q tagged frames received on the interface"; - } - - leaf in-crc-errors { - type yang:counter64; - description - "Number of receive error events due to FCS/CRC check - failure"; - } - - // egress counters - - leaf out-mac-control-frames { - type yang:counter64; - description - "MAC layer control frames sent on the interface"; - } - - leaf out-mac-pause-frames { - type yang:counter64; - description - "MAC layer PAUSE frames sent on the interface"; - } - - leaf out-8021q-frames { - type yang:counter64; - description - "Number of 802.1q tagged frames sent on the interface"; - } - } - - grouping ethernet-interface-state { - description - "Grouping for defining Ethernet-specific operational state"; - - leaf hw-mac-address { - type yang:mac-address; - description - "Represenets the 'burned-in', or system-assigned, MAC - address for the Ethernet interface."; - } - - leaf effective-speed { - type uint32; - units Mbps; - description - "Reports the effective speed of the interface, e.g., the - negotiated speed if auto-negotiate is enabled"; - } - - container counters { - description "Ethernet interface counters"; - - uses ethernet-interface-state-counters; - - } - - } - - // data definition statements - - grouping ethernet-top { - description "top-level Ethernet config and state containers"; - - container ethernet { - description - "Top-level container for ethernet configuration - and state"; - - container config { - description "Configuration data for ethernet interfaces"; - - uses ethernet-interface-config; - - } - - container state { - - config false; - description "State variables for Ethernet interfaces"; - - uses ethernet-interface-config; - uses ethernet-interface-state; - - } - - } - } - - // augment statements - - augment "/oc-if:interfaces/oc-if:interface" { - when "oc-if:type = 'ift:ethernetCsmacd'" { - description "Additional interface configuration parameters when - the interface type is Ethernet"; - } - description "Adds addtional Ethernet-specific configuration to - interfaces model"; - - uses ethernet-top; - } - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-if-ip.yang b/yang/modules/cisco-ios-xr/631/openconfig-if-ip.yang deleted file mode 100755 index ab0463d..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-if-ip.yang +++ /dev/null @@ -1,1002 +0,0 @@ -module openconfig-if-ip { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/interfaces/ip"; - - prefix "oc-ip"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-vlan { prefix oc-vlan; } - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Model for managing IP interfaces. - - This model reuses most of the IETF YANG model for IP management - described by RFC 7277. The primary differences are in the - structure of configuration and state data."; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - - // typedef statements - - typedef ip-address-origin { - type enumeration { - enum OTHER { - description - "None of the following."; - } - enum STATIC { - description - "Indicates that the address has been statically - configured - for example, using NETCONF or a Command Line - Interface."; - } - enum DHCP { - description - "Indicates an address that has been assigned to this - system by a DHCP server."; - } - enum LINK_LAYER { - description - "Indicates an address created by IPv6 stateless - autoconfiguration that embeds a link-layer address in its - interface identifier."; - } - enum RANDOM { - description - "[adapted from RFC 7277] - - Indicates an address chosen by the system at - random, e.g., an IPv4 address within 169.254/16, an - RFC 4941 temporary address, or an RFC 7217 semantically - opaque address."; - reference - "RFC 4941: Privacy Extensions for Stateless Address - Autoconfiguration in IPv6 - RFC 7217: A Method for Generating Semantically Opaque - Interface Identifiers with IPv6 Stateless - Address Autoconfiguration (SLAAC)"; - } - } - description - "The origin of an address."; - } - - typedef neighbor-origin { - type enumeration { - enum OTHER { - description - "None of the following."; - } - enum STATIC { - description - "Indicates that the mapping has been statically - configured - for example, using NETCONF or a Command Line - Interface."; - } - enum DYNAMIC { - description - "[adapted from RFC 7277] - - Indicates that the mapping has been dynamically resolved - using, e.g., IPv4 ARP or the IPv6 Neighbor Discovery - protocol."; - } - } - description - "The origin of a neighbor entry."; - } - - // grouping statements - - grouping ipv4-global-config { - description "Configuration data for IPv4 interfaces across - all addresses assigned to the interface"; - reference "RFC 7277 - A YANG Data Model for IP Management"; - - leaf enabled { - type boolean; - default true; - description - "Controls whether IPv4 is enabled or disabled on this - interface. When IPv4 is enabled, this interface is - connected to an IPv4 stack, and the interface can send - and receive IPv4 packets."; - } - - leaf mtu { - type uint16 { - range "68..max"; - } - units octets; - description - "The size, in octets, of the largest IPv4 packet that the - interface will send and receive. - - The server may restrict the allowed values for this leaf, - depending on the interface's type. - - If this leaf is not configured, the operationally used MTU - depends on the interface's type."; - reference - "RFC 791: Internet Protocol"; - } - - } - - grouping ipv4-address-config { - - description - "Per IPv4 adresss configuration data for the - interface."; - - leaf ip { - type inet:ipv4-address-no-zone; - description - "[adapted from IETF IP model RFC 7277] - - The IPv4 address on the interface."; - } - - leaf prefix-length { - type uint8 { - range "0..32"; - } - description - "[adapted from IETF IP model RFC 7277] - - The length of the subnet prefix."; - } - } - - grouping ipv4-neighbor-config { - description - "[adapted from IETF IP model RFC 7277] - - Per IPv4 neighbor configuration data. Neighbor - entries are analagous to static ARP entries, i.e., they - create a correspondence between IP and link-layer addresses"; - - leaf ip { - type inet:ipv4-address-no-zone; - description - "The IPv4 address of the neighbor node."; - } - leaf link-layer-address { - type yang:phys-address; - mandatory true; - description - "The link-layer address of the neighbor node."; - } - } - - grouping ipv4-address-state { - description - "State variables for IPv4 addresses on the interface"; - - leaf origin { - type ip-address-origin; - description - "The origin of this address, e.g., statically configured, - assigned by DHCP, etc.."; - } - } - - grouping ipv4-neighbor-state { - description - "State variables for IPv4 neighbor entries on the interface."; - - leaf origin { - type neighbor-origin; - description - "The origin of this neighbor entry, static or dynamic."; - } - } - - grouping ipv6-global-config { - description - "Configuration data at the global level for each - IPv6 interface"; - - leaf enabled { - type boolean; - default true; - description - "[adapted from IETF IP model RFC 7277] - - Controls whether IPv6 is enabled or disabled on this - interface. When IPv6 is enabled, this interface is - connected to an IPv6 stack, and the interface can send - and receive IPv6 packets."; - } - - leaf mtu { - type uint32 { - range "1280..max"; - } - units octets; - description - "[adapted from IETF IP model RFC 7277] - - The size, in octets, of the largest IPv6 packet that the - interface will send and receive. - - The server may restrict the allowed values for this leaf, - depending on the interface's type. - - If this leaf is not configured, the operationally used MTU - depends on the interface's type."; - reference - "RFC 2460: Internet Protocol, Version 6 (IPv6) Specification - Section 5"; - } - - leaf dup-addr-detect-transmits { - type uint32; - default 1; - description - "[adapted from IETF IP model RFC 7277] - - The number of consecutive Neighbor Solicitation messages - sent while performing Duplicate Address Detection on a - tentative address. A value of zero indicates that - Duplicate Address Detection is not performed on - tentative addresses. A value of one indicates a single - transmission with no follow-up retransmissions."; - reference - "RFC 4862: IPv6 Stateless Address Autoconfiguration"; - } - } - - grouping ipv6-address-config { - description "Per-address configuration data for IPv6 interfaces"; - - leaf ip { - type inet:ipv6-address-no-zone; - description - "[adapted from IETF IP model RFC 7277] - - The IPv6 address on the interface."; - } - - leaf prefix-length { - type uint8 { - range "0..128"; - } - mandatory true; - description - "[adapted from IETF IP model RFC 7277] - - The length of the subnet prefix."; - } - } - - grouping ipv6-address-state { - description - "Per-address operational state data for IPv6 interfaces"; - - leaf origin { - type ip-address-origin; - description - "[adapted from IETF IP model RFC 7277] - - The origin of this address, e.g., static, dhcp, etc."; - } - - leaf status { - type enumeration { - enum PREFERRED { - description - "This is a valid address that can appear as the - destination or source address of a packet."; - } - enum DEPRECATED { - description - "This is a valid but deprecated address that should - no longer be used as a source address in new - communications, but packets addressed to such an - address are processed as expected."; - } - enum INVALID { - description - "This isn't a valid address, and it shouldn't appear - as the destination or source address of a packet."; - } - enum INACCESSIBLE { - description - "The address is not accessible because the interface - to which this address is assigned is not - operational."; - } - enum UNKNOWN { - description - "The status cannot be determined for some reason."; - } - enum TENTATIVE { - description - "The uniqueness of the address on the link is being - verified. Addresses in this state should not be - used for general communication and should only be - used to determine the uniqueness of the address."; - } - enum DUPLICATE { - description - "The address has been determined to be non-unique on - the link and so must not be used."; - } - enum OPTIMISTIC { - description - "The address is available for use, subject to - restrictions, while its uniqueness on a link is - being verified."; - } - } - description - "[adapted from IETF IP model RFC 7277] - - The status of an address. Most of the states correspond - to states from the IPv6 Stateless Address - Autoconfiguration protocol."; - reference - "RFC 4293: Management Information Base for the - Internet Protocol (IP) - - IpAddressStatusTC - RFC 4862: IPv6 Stateless Address Autoconfiguration"; - } - } - - grouping ipv6-neighbor-config { - description - "Per-neighbor configuration data for IPv6 interfaces"; - - leaf ip { - type inet:ipv6-address-no-zone; - description - "[adapted from IETF IP model RFC 7277] - - The IPv6 address of the neighbor node."; - } - - leaf link-layer-address { - type yang:phys-address; - mandatory true; - description - "[adapted from IETF IP model RFC 7277] - - The link-layer address of the neighbor node."; - } - } - - grouping ipv6-neighbor-state { - description "Per-neighbor state variables for IPv6 interfaces"; - - leaf origin { - type neighbor-origin; - description - "[adapted from IETF IP model RFC 7277] - - The origin of this neighbor entry."; - } - leaf is-router { - type empty; - description - "[adapted from IETF IP model RFC 7277] - - Indicates that the neighbor node acts as a router."; - } - leaf neighbor-state { - type enumeration { - enum INCOMPLETE { - description - "Address resolution is in progress, and the link-layer - address of the neighbor has not yet been - determined."; - } - enum REACHABLE { - description - "Roughly speaking, the neighbor is known to have been - reachable recently (within tens of seconds ago)."; - } - enum STALE { - description - "The neighbor is no longer known to be reachable, but - until traffic is sent to the neighbor no attempt - should be made to verify its reachability."; - } - enum DELAY { - description - "The neighbor is no longer known to be reachable, and - traffic has recently been sent to the neighbor. - Rather than probe the neighbor immediately, however, - delay sending probes for a short while in order to - give upper-layer protocols a chance to provide - reachability confirmation."; - } - enum PROBE { - description - "The neighbor is no longer known to be reachable, and - unicast Neighbor Solicitation probes are being sent - to verify reachability."; - } - } - description - "[adapted from IETF IP model RFC 7277] - - The Neighbor Unreachability Detection state of this - entry."; - reference - "RFC 4861: Neighbor Discovery for IP version 6 (IPv6) - Section 7.3.2"; - } - } - - grouping ip-vrrp-ipv6-config { - description - "IPv6-specific configuration data for VRRP on IPv6 - interfaces"; - - leaf virtual-link-local { - type inet:ip-address; - description - "For VRRP on IPv6 interfaces, sets the virtual link local - address"; - } - } - - grouping ip-vrrp-ipv6-state { - description - "IPv6-specific operational state for VRRP on IPv6 interfaces"; - - uses ip-vrrp-ipv6-config; - } - - grouping ip-vrrp-tracking-config { - description - "Configuration data for tracking interfaces - in a VRRP group"; - - leaf track-interface { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - // TODO: we may need to add some restriction to ethernet - // or IP interfaces. - description "Sets an interface that should be - tracked for up/down events to dynamically change the - priority state of the VRRP group, and potentially - change the mastership if the tracked interface going - down lowers the priority sufficiently"; - } - - leaf priority-decrement { - type uint8 { - range 0..254; - } - default 0; - description "Set the value to subtract from priority when - the tracked interface goes down"; - } - } - - grouping ip-vrrp-tracking-state { - description - "Operational state data for tracking interfaces in a VRRP - group"; - } - - grouping ip-vrrp-tracking-top { - description - "Top-level grouping for VRRP interface tracking"; - - container interface-tracking { - description - "Top-level container for VRRP interface tracking"; - - container config { - description - "Configuration data for VRRP interface tracking"; - - uses ip-vrrp-tracking-config; - } - - container state { - - config false; - - description - "Operational state data for VRRP interface tracking"; - - uses ip-vrrp-tracking-config; - uses ip-vrrp-tracking-state; - } - } - } - - grouping ip-vrrp-config { - description - "Configuration data for VRRP on IP interfaces"; - - leaf virtual-router-id { - type uint8 { - range 1..255; - } - description - "Set the virtual router id for use by the VRRP group. This - usually also determines the virtual MAC address that is - generated for the VRRP group"; - } - - leaf-list virtual-address { - type inet:ip-address; - description "Configure one or more virtual addresses for the - VRRP group"; - } - - leaf priority { - type uint8 { - range 1..254; - } - default 100; - description "Specifies the sending VRRP interface's priority - for the virtual router. Higher values equal higher - priority"; - } - - leaf preempt { - type boolean; - default true; - description "When set to true, enables preemption by a higher - priority backup router of a lower priority master router"; - } - - leaf preempt-delay { - type uint16 { - range 0..3600; - } - default 0; - description "Set the delay the higher priority router waits - before preempting"; - } - - leaf accept-mode { - type boolean; - // TODO: should we adopt the RFC default given the common - // operational practice of setting to true? - default false; - description "Configure whether packets destined for - virtual addresses are accepted even when the virtual - address is not owned by the router interface"; - } - - leaf advertisement-interval { - type uint16 { - range 1..4095; - } - // TODO this range is theoretical -- needs to be validated - // against major implementations. - units "centiseconds"; - default 100; - description "Sets the interval between successive VRRP - advertisements -- RFC 5798 defines this as a 12-bit - value expressed as 0.1 seconds, with default 100, i.e., - 1 second. Several implementation express this in units of - seconds"; - } - } - - grouping ip-vrrp-state { - description - "Operational state data for VRRP on IP interfaces"; - - leaf current-priority { - type uint8; - description "Operational value of the priority for the - interface in the VRRP group"; - } - } - - grouping ip-vrrp-top { - description - "Top-level grouping for Virtual Router Redundancy Protocol"; - - container vrrp { - description - "Enclosing container for VRRP groups handled by this - IP interface"; - - reference "RFC 5798 - Virtual Router Redundancy Protocol - (VRRP) Version 3 for IPv4 and IPv6"; - - list vrrp-group { - key "virtual-router-id"; - description - "List of VRRP groups, keyed by virtual router id"; - - leaf virtual-router-id { - type leafref { - path "../config/virtual-router-id"; - } - description - "References the configured virtual router id for this - VRRP group"; - } - - container config { - description - "Configuration data for the VRRP group"; - - uses ip-vrrp-config; - } - - container state { - - config false; - - description - "Operational state data for the VRRP group"; - - uses ip-vrrp-config; - uses ip-vrrp-state; - } - - uses ip-vrrp-tracking-top; - } - } - } - - grouping ipv4-top { - description "Top-level configuration and state for IPv4 - interfaces"; - - container ipv4 { - description - "Parameters for the IPv4 address family."; - - container addresses { - description - "Enclosing container for address list"; - - list address { - key "ip"; - description - "The list of configured IPv4 addresses on the interface."; - - leaf ip { - type leafref { - path "../oc-ip:config/oc-ip:ip"; - } - description "References the configured IP address"; - } - - container config { - description "Configuration data for each configured IPv4 - address on the interface"; - - uses ipv4-address-config; - - } - - container state { - - config false; - description "Operational state data for each IPv4 address - configured on the interface"; - - uses ipv4-address-config; - uses ipv4-address-state; - } - - } - } - - container neighbors { - description - "Enclosing container for neighbor list"; - - list neighbor { - key "ip"; - description - "A list of mappings from IPv4 addresses to - link-layer addresses. - - Entries in this list are used as static entries in the - ARP Cache."; - reference - "RFC 826: An Ethernet Address Resolution Protocol"; - - leaf ip { - type leafref { - path "../oc-ip:config/oc-ip:ip"; - } - description "References the configured IP address"; - } - - container config { - description "Configuration data for each configured IPv4 - address on the interface"; - - uses ipv4-neighbor-config; - - } - - container state { - - config false; - description "Operational state data for each IPv4 address - configured on the interface"; - - uses ipv4-neighbor-config; - uses ipv4-neighbor-state; - } - } - } - - uses oc-if:sub-unnumbered-top; - - container config { - description - "Top-level IPv4 configuration data for the interface"; - - uses ipv4-global-config; - } - - container state { - - config false; - description - "Top level IPv4 operational state data"; - - uses ipv4-global-config; - } - } - } - - grouping ipv6-top { - description - "Top-level configuration and state for IPv6 interfaces"; - - container ipv6 { - description - "Parameters for the IPv6 address family."; - - container addresses { - description - "Enclosing container for address list"; - - list address { - key "ip"; - description - "The list of configured IPv6 addresses on the interface."; - - leaf ip { - type leafref { - path "../oc-ip:config/oc-ip:ip"; - } - description "References the configured IP address"; - } - - container config { - description - "Configuration data for each IPv6 address on - the interface"; - - uses ipv6-address-config; - - } - - container state { - - config false; - description - "State data for each IPv6 address on the - interface"; - - uses ipv6-address-config; - uses ipv6-address-state; - } - } - } - - container neighbors { - description - "Enclosing container for list of IPv6 neighbors"; - - list neighbor { - key "ip"; - description - "List of IPv6 neighbors"; - - leaf ip { - type leafref { - path "../oc-ip:config/oc-ip:ip"; - } - description - "References the configured IP neighbor address"; - } - - container config { - description "Configuration data for each IPv6 address on - the interface"; - - uses ipv6-neighbor-config; - - } - - container state { - - config false; - description "State data for each IPv6 address on the - interface"; - - uses ipv6-neighbor-config; - uses ipv6-neighbor-state; - } - } - } - uses oc-if:sub-unnumbered-top; - - container config { - description "Top-level config data for the IPv6 interface"; - - uses ipv6-global-config; - } - - container state { - config false; - description - "Top-level operational state data for the IPv6 interface"; - - uses ipv6-global-config; - - } - } - } - - // augment statements - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface" { - description - "IPv4 addr family configuration for - interfaces"; - - uses ipv4-top; - - } - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface" { - description - "IPv6 addr family configuration for - interfaces"; - - uses ipv6-top; - - } - - // VRRP for IPv4 interfaces - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address" { - - description - "Additional IP addr family configuration for - interfaces"; - - uses ip-vrrp-top; - - } - - // VRRP for IPv6 interfaces - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address" { - description - "Additional IP addr family configuration for - interfaces"; - - uses ip-vrrp-top; - - } - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/" + - "vrrp/vrrp-group/config" { - description - "Additional VRRP data for IPv6 interfaces"; - - uses ip-vrrp-ipv6-config; - } - - augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/" + - "oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/" + - "vrrp-group/state" { - description - "Additional VRRP data for IPv6 interfaces"; - - uses ip-vrrp-ipv6-state; - } - - // Augments for for routed VLANs - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan" { - description - "IPv4 addr family configuration for - interfaces"; - - uses ipv4-top; - - } - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan" { - description - "IPv6 addr family configuration for - interfaces"; - - uses ipv6-top; - - } - - // VRRP for routed VLAN interfaces - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/" + - "oc-ip:ipv4/oc-ip:addresses/oc-ip:address" { - description - "Additional IP addr family configuration for - interfaces"; - - uses ip-vrrp-top; - - } - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/" + - "oc-ip:ipv6/oc-ip:addresses/oc-ip:address" { - description - "Additional IP addr family configuration for - interfaces"; - - uses ip-vrrp-top; - - } - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/" + - "oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/config" { - description - "Additional VRRP data for IPv6 interfaces"; - - uses ip-vrrp-ipv6-config; - } - - - augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/" + - "oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/state" { - description - "Additional VRRP data for IPv6 interfaces"; - - uses ip-vrrp-ipv6-state; - } - - // rpc statements - - // notification statements -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-interfaces.yang b/yang/modules/cisco-ios-xr/631/openconfig-interfaces.yang deleted file mode 100755 index 332f7e1..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-interfaces.yang +++ /dev/null @@ -1,933 +0,0 @@ -module openconfig-interfaces { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/interfaces"; - - prefix "oc-if"; - - // import some basic types - import ietf-interfaces { prefix ietf-if; } - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Model for managing network interfaces and subinterfaces. This - module also defines convenience types / groupings for other - models to create references to interfaces: - - base-interface-ref (type) - reference to a base interface - interface-ref (grouping) - container for reference to a - interface + subinterface - interface-ref-state (grouping) - container for read-only - (opstate) reference to interface + subinterface - - This model reuses data items defined in the IETF YANG model for - interfaces described by RFC 7223 with an alternate structure - (particularly for operational state data) and and with - additional configuration items."; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - - // typedef statements - - typedef base-interface-ref { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - description - "Reusable type for by-name reference to a base interface. - This type may be used in cases where ability to reference - a subinterface is not required."; - } - - typedef interface-id { - type string; - description - "User-defined identifier for an interface, generally used to - name a interface reference. The id can be arbitrary but a - useful convention is to use a combination of base interface - name and subinterface index."; - } - - // grouping statements - - grouping interface-ref-common { - description - "Reference leafrefs to interface / subinterface"; - - leaf interface { - type leafref { - path "/oc-if:interfaces/oc-if:interface/oc-if:name"; - } - description - "Reference to a base interface. If a reference to a - subinterface is required, this leaf must be specified - to indicate the base interface."; - } - - leaf subinterface { - type leafref { - path "/oc-if:interfaces/" + - "oc-if:interface[oc-if:name=current()/../interface]/" + - "oc-if:subinterfaces/oc-if:subinterface/oc-if:index"; - } - description - "Reference to a subinterface -- this requires the base - interface to be specified using the interface leaf in - this container. If only a reference to a base interface - is requuired, this leaf should not be set."; - } - } - - grouping interface-ref-state-container { - description - "Reusable opstate w/container for a reference to an - interface or subinterface"; - - container state { - config false; - description - "Operational state for interface-ref"; - - uses interface-ref-common; - } - } - - grouping interface-ref { - description - "Reusable definition for a reference to an interface or - subinterface"; - - container interface-ref { - description - "Reference to an interface or subinterface"; - - container config { - description - "Configured reference to interface / subinterface"; - - uses interface-ref-common; - } - - uses interface-ref-state-container; - } - } - - grouping interface-ref-state { - description - "Reusable opstate w/container for a reference to an - interface or subinterface"; - - container interface-ref { - description - "Reference to an interface or subinterface"; - - uses interface-ref-state-container; - } - } - - - grouping interface-common-config { - description - "Configuration data data nodes common to physical interfaces - and subinterfaces"; - - leaf name { - type string; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The name of the interface. - - A device MAY restrict the allowed values for this leaf, - possibly depending on the type of the interface. - For system-controlled interfaces, this leaf is the - device-specific name of the interface. The 'config false' - list interfaces/interface[name]/state contains the currently - existing interfaces on the device. - - If a client tries to create configuration for a - system-controlled interface that is not present in the - corresponding state list, the server MAY reject - the request if the implementation does not support - pre-provisioning of interfaces or if the name refers to - an interface that can never exist in the system. A - NETCONF server MUST reply with an rpc-error with the - error-tag 'invalid-value' in this case. - - The IETF model in RFC 7223 provides YANG features for the - following (i.e., pre-provisioning and arbitrary-names), - however they are omitted here: - - If the device supports pre-provisioning of interface - configuration, the 'pre-provisioning' feature is - advertised. - - If the device allows arbitrarily named user-controlled - interfaces, the 'arbitrary-names' feature is advertised. - - When a configured user-controlled interface is created by - the system, it is instantiated with the same name in the - /interfaces/interface[name]/state list."; - reference - "RFC 7223: A YANG Data Model for Interface Management"; - } - - leaf description { - type string; - description - "[adapted from IETF interfaces model (RFC 7223)] - - A textual description of the interface. - - A server implementation MAY map this leaf to the ifAlias - MIB object. Such an implementation needs to use some - mechanism to handle the differences in size and characters - allowed between this leaf and ifAlias. The definition of - such a mechanism is outside the scope of this document. - - Since ifAlias is defined to be stored in non-volatile - storage, the MIB implementation MUST map ifAlias to the - value of 'description' in the persistently stored - datastore. - - Specifically, if the device supports ':startup', when - ifAlias is read the device MUST return the value of - 'description' in the 'startup' datastore, and when it is - written, it MUST be written to the 'running' and 'startup' - datastores. Note that it is up to the implementation to - - decide whether to modify this single leaf in 'startup' or - perform an implicit copy-config from 'running' to - 'startup'. - - If the device does not support ':startup', ifAlias MUST - be mapped to the 'description' leaf in the 'running' - datastore."; - reference - "RFC 2863: The Interfaces Group MIB - ifAlias"; - } - - leaf enabled { - type boolean; - default "true"; - description - "[adapted from IETF interfaces model (RFC 7223)] - - This leaf contains the configured, desired state of the - interface. - - Systems that implement the IF-MIB use the value of this - leaf in the 'running' datastore to set - IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry - has been initialized, as described in RFC 2863. - - Changes in this leaf in the 'running' datastore are - reflected in ifAdminStatus, but if ifAdminStatus is - changed over SNMP, this leaf is not affected."; - reference - "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; - } - - } - - grouping interface-phys-config { - description - "Configuration data for physical interfaces"; - - leaf type { - type identityref { - base ietf-if:interface-type; - } - mandatory true; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The type of the interface. - - When an interface entry is created, a server MAY - initialize the type leaf with a valid value, e.g., if it - is possible to derive the type from the name of the - interface. - - If a client tries to set the type of an interface to a - value that can never be used by the system, e.g., if the - type is not supported or if the type does not match the - name of the interface, the server MUST reject the request. - A NETCONF server MUST reply with an rpc-error with the - error-tag 'invalid-value' in this case."; - reference - "RFC 2863: The Interfaces Group MIB - ifType"; - } - - leaf mtu { - type uint16; - description - "Set the max transmission unit size in octets - for the physical interface. If this is not set, the mtu is - set to the operational default -- e.g., 1514 bytes on an - Ethernet interface."; - } - - uses interface-common-config; - } - - grouping interface-phys-holdtime-config { - description - "Configuration data for interface hold-time settings -- - applies to physical interfaces."; - - leaf up { - type uint32; - units milliseconds; - default 0; - description - "Dampens advertisement when the interface - transitions from down to up. A zero value means dampening - is turned off, i.e., immediate notification."; - } - - leaf down { - type uint32; - units milliseconds; - default 0; - description - "Dampens advertisement when the interface transitions from - up to down. A zero value means dampening is turned off, - i.e., immediate notification."; - } - } - - grouping interface-phys-holdtime-state { - description - "Operational state data for interface hold-time."; - } - - grouping interface-phys-holdtime-top { - description - "Top-level grouping for setting link transition - dampening on physical and other types of interfaces."; - - container hold-time { - description - "Top-level container for hold-time settings to enable - dampening advertisements of interface transitions."; - - container config { - description - "Configuration data for interface hold-time settings."; - - uses interface-phys-holdtime-config; - } - - container state { - - config false; - - description - "Operational state data for interface hold-time."; - - uses interface-phys-holdtime-config; - uses interface-phys-holdtime-state; - } - } - } - - grouping interface-common-state { - description - "Operational state data (in addition to intended configuration) - at the global level for this interface"; - - leaf ifindex { - type uint32; - description - "System assigned number for each interface. Corresponds to - ifIndex object in SNMP Interface MIB"; - reference - "RFC 2863 - The Interfaces Group MIB"; - } - - leaf admin-status { - type enumeration { - enum UP { - description - "Ready to pass packets."; - } - enum DOWN { - description - "Not ready to pass packets and not in some test mode."; - } - enum TESTING { - //TODO: This is generally not supported as a configured - //admin state, though it's in the standard interfaces MIB. - //Consider removing it. - description - "In some test mode."; - } - } - //TODO:consider converting to an identity to have the - //flexibility to remove some values defined by RFC 7223 that - //are not used or not implemented consistently. - mandatory true; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The desired state of the interface. In RFC 7223 this leaf - has the same read semantics as ifAdminStatus. Here, it - reflects the administrative state as set by enabling or - disabling the interface."; - reference - "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; - } - - leaf oper-status { - type enumeration { - enum UP { - value 1; - description - "Ready to pass packets."; - } - enum DOWN { - value 2; - description - "The interface does not pass any packets."; - } - enum TESTING { - value 3; - description - "In some test mode. No operational packets can - be passed."; - } - enum UNKNOWN { - value 4; - description - "Status cannot be determined for some reason."; - } - enum DORMANT { - value 5; - description - "Waiting for some external event."; - } - enum NOT_PRESENT { - value 6; - description - "Some component (typically hardware) is missing."; - } - enum LOWER_LAYER_DOWN { - value 7; - description - "Down due to state of lower-layer interface(s)."; - } - } - //TODO:consider converting to an identity to have the - //flexibility to remove some values defined by RFC 7223 that - //are not used or not implemented consistently. - mandatory true; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The current operational state of the interface. - - This leaf has the same semantics as ifOperStatus."; - reference - "RFC 2863: The Interfaces Group MIB - ifOperStatus"; - } - - leaf last-change { - type yang:timeticks; - description - "Date and time of the last state change of the interface - (e.g., up-to-down transition). This corresponds to the - ifLastChange object in the standard interface MIB."; - reference - "RFC 2863: The Interfaces Group MIB - ifLastChange"; - } - - } - - - grouping interface-counters-state { - description - "Operational state representing interface counters - and statistics. Some of these are adapted from RFC 7223"; - - //TODO: we may need to break this list of counters into those - //that would appear for physical vs. subinterface or logical - //interfaces. For now, just replicating the full stats - //grouping to both interface and subinterface. - - container counters { - description - "A collection of interface-related statistics objects."; - - reference - "RFC 7223 - A YANG Data Model for Interface - Management"; - - leaf in-octets { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The total number of octets received on the interface, - including framing characters. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCInOctets"; - } - - leaf in-unicast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The number of packets, delivered by this sub-layer to a - higher (sub-)layer, that were not addressed to a - multicast or broadcast address at this sub-layer. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts"; - } - - leaf in-broadcast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The number of packets, delivered by this sub-layer to a - higher (sub-)layer, that were addressed to a broadcast - address at this sub-layer. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - - ifHCInBroadcastPkts"; - } - - leaf in-multicast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - - The number of packets, delivered by this sub-layer to a - higher (sub-)layer, that were addressed to a multicast - address at this sub-layer. For a MAC-layer protocol, - this includes both Group and Functional addresses. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - - ifHCInMulticastPkts"; - } - - leaf in-discards { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - The number of inbound packets that were chosen to be - discarded even though no errors had been detected to - prevent their being deliverable to a higher-layer - protocol. One possible reason for discarding such a - packet could be to free up buffer space. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - - - reference - "RFC 2863: The Interfaces Group MIB - ifInDiscards"; - } - - leaf in-errors { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - For packet-oriented interfaces, the number of inbound - packets that contained errors preventing them from being - deliverable to a higher-layer protocol. For character- - oriented or fixed-length interfaces, the number of - inbound transmission units that contained errors - preventing them from being deliverable to a higher-layer - protocol. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifInErrors"; - } - - leaf in-unknown-protos { - type yang:counter32; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - For packet-oriented interfaces, the number of packets - received via the interface that were discarded because - of an unknown or unsupported protocol. For - character-oriented or fixed-length interfaces that - support protocol multiplexing, the number of - transmission units received via the interface that were - discarded because of an unknown or unsupported protocol. - For any interface that does not support protocol - multiplexing, this counter is not present. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos"; - } - - leaf out-octets { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - The total number of octets transmitted out of the - interface, including framing characters. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCOutOctets"; - } - - leaf out-unicast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The total number of packets that higher-level protocols - requested be transmitted, and that were not addressed - to a multicast or broadcast address at this sub-layer, - including those that were discarded or not sent. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts"; - } - - leaf out-broadcast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - - The total number of packets that higher-level protocols - requested be transmitted, and that were addressed to a - broadcast address at this sub-layer, including those - that were discarded or not sent. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - - ifHCOutBroadcastPkts"; - } - - - leaf out-multicast-pkts { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - The total number of packets that higher-level protocols - requested be transmitted, and that were addressed to a - multicast address at this sub-layer, including those - that were discarded or not sent. For a MAC-layer - protocol, this includes both Group and Functional - addresses. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - - ifHCOutMulticastPkts"; - } - - leaf out-discards { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - The number of outbound packets that were chosen to be - discarded even though no errors had been detected to - prevent their being transmitted. One possible reason - for discarding such a packet could be to free up buffer - space. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifOutDiscards"; - } - - leaf out-errors { - type yang:counter64; - description - "[adapted from IETF interfaces model (RFC 7223)] - Changed the counter type to counter64. - - For packet-oriented interfaces, the number of outbound - packets that could not be transmitted because of errors. - For character-oriented or fixed-length interfaces, the - number of outbound transmission units that could not be - transmitted because of errors. - - Discontinuities in the value of this counter can occur - at re-initialization of the management system, and at - other times as indicated by the value of - 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifOutErrors"; - } - - leaf last-clear { - type yang:date-and-time; - description - "Indicates the last time the interface counters were - cleared."; - } - } - } - - // data definition statements - - grouping sub-unnumbered-config { - description - "Configuration data for unnumbered subinterfaces"; - - leaf enabled { - type boolean; - default false; - description - "Indicates that the subinterface is unnumbered. By default - the subinterface is numbered, i.e., expected to have an - IP address configuration."; - } - } - - grouping sub-unnumbered-state { - description - "Operational state data unnumbered subinterfaces"; - } - - grouping sub-unnumbered-top { - description - "Top-level grouping unnumbered subinterfaces"; - - container unnumbered { - description - "Top-level container for setting unnumbered interfaces. - Includes reference the interface that provides the - address information"; - - container config { - description - "Configuration data for unnumbered interface"; - - uses sub-unnumbered-config; - } - - container state { - - config false; - - description - "Operational state data for unnumbered interfaces"; - - uses sub-unnumbered-config; - uses sub-unnumbered-state; - } - - uses oc-if:interface-ref; - } - } - - grouping subinterfaces-config { - description - "Configuration data for subinterfaces"; - - leaf index { - type uint32; - default 0; - description - "The index of the subinterface, or logical interface number. - On systems with no support for subinterfaces, or not using - subinterfaces, this value should default to 0, i.e., the - default subinterface."; - } - - uses interface-common-config; - - } - - grouping subinterfaces-state { - description - "Operational state data for subinterfaces"; - - uses interface-common-state; - uses interface-counters-state; - } - - grouping subinterfaces-top { - description - "Subinterface data for logical interfaces associated with a - given interface"; - - container subinterfaces { - description - "Enclosing container for the list of subinterfaces associated - with a physical interface"; - - list subinterface { - key "index"; - - description - "The list of subinterfaces (logical interfaces) associated - with a physical interface"; - - leaf index { - type leafref { - path "../config/index"; - } - description - "The index number of the subinterface -- used to address - the logical interface"; - } - - container config { - description - "Configurable items at the subinterface level"; - - uses subinterfaces-config; - } - - container state { - - config false; - description - "Operational state data for logical interfaces"; - - uses subinterfaces-config; - uses subinterfaces-state; - } - } - } - } - - grouping interfaces-top { - description - "Top-level grouping for interface configuration and - operational state data"; - - container interfaces { - description - "Top level container for interfaces, including configuration - and state data."; - - - list interface { - key "name"; - - description - "The list of named interfaces on the device."; - - leaf name { - type leafref { - path "../config/name"; - } - description - "References the configured name of the interface"; - //TODO: need to consider whether this should actually - //reference the name in the state subtree, which - //presumably would be the system-assigned name, or the - //configured name. Points to the config/name now - //because of YANG 1.0 limitation that the list - //key must have the same "config" as the list, and - //also can't point to a non-config node. - } - - container config { - description - "Configurable items at the global, physical interface - level"; - - uses interface-phys-config; - } - - container state { - - config false; - description - "Operational state data at the global interface level"; - - uses interface-phys-config; - uses interface-common-state; - uses interface-counters-state; - } - - uses interface-phys-holdtime-top; - uses subinterfaces-top; - } - } - } - - uses interfaces-top; - - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-lacp.yang b/yang/modules/cisco-ios-xr/631/openconfig-lacp.yang deleted file mode 100755 index 7118829..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-lacp.yang +++ /dev/null @@ -1,449 +0,0 @@ -module openconfig-lacp { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/lacp"; - - prefix "oc-lacp"; - - // import some basic types - import openconfig-interfaces { prefix oc-if; } - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module describes configuration and operational state - data for Link Aggregation Control Protocol (LACP) for - managing aggregate interfaces. It works in conjunction with - the OpenConfig interfaces and aggregate interfaces models."; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - - // typedef statements - - typedef lacp-activity-type { - type enumeration { - enum ACTIVE { - description - "Interface is an active member, i.e., will detect and - maintain aggregates"; - } - enum PASSIVE { - description - "Interface is a passive member, i.e., it participates - with an active partner"; - } - } - description - "Describes the LACP membership type, active or passive, of the - interface in the aggregate"; - reference "IEEE 802.1AX-2008"; - } - - typedef lacp-timeout-type { - type enumeration { - enum LONG { - description - "Participant wishes to use long timeouts to detect - status of the aggregate, i.e., will expect less frequent - transmissions. Long timeout is 90 seconds."; - } - enum SHORT { - description - "Participant wishes to use short timeouts, i.e., expects - frequent transmissions to aggressively detect status - changes. Short timeout is 3 seconds."; - } - } - description - "Type of timeout used, short or long, by LACP participants"; - reference "IEEE 802.1AX-2008"; - } - - typedef lacp-synchronization-type { - type enumeration { - enum IN_SYNC { - description - "Participant is in sync with the system id and key - transmitted"; - } - enum OUT_SYNC { - description - "Participant is not in sync with the system id and key - transmitted"; - } - } - description - "Indicates LACP synchronization state of participant"; - reference "IEEE 802.1AX-2008"; - } - - typedef lacp-period-type { - type enumeration { - enum FAST { - description "Send LACP packets every second"; - } - enum SLOW { - description "Send LACP packets every 30 seconds"; - } - } - description - "Defines the period options for the time between sending - LACP messages"; - reference "IEEE 802.3ad"; - } - - // grouping statements - - - grouping aggregation-lacp-members-config { - description - "Configuration data for lacp member interfaces"; - - //currently a placeholder -- the list of member interfaces - //and their status is considered opstate only - } - - grouping aggregation-lacp-members-state { - description - "Operational status data for the member interfaces"; - - leaf interface { - type oc-if:base-interface-ref; - description - "Reference to interface member of the LACP aggregate"; - } - - leaf activity { - type lacp-activity-type; - description "Indicates participant is active or passive"; - } - - leaf timeout { - type lacp-timeout-type; - description - "The timeout type (short or long) used by the - participant"; - } - - leaf synchronization { - type lacp-synchronization-type; - description - "Indicates whether the participant is in-sync or - out-of-sync"; - } - - leaf aggregatable { - type boolean; - description - "A true value indicates that the participant will allow - the link to be used as part of the aggregate. A false - value indicates the link should be used as an individual - link"; - } - - leaf collecting { - type boolean; - description - "If true, the participant is collecting incoming frames - on the link, otherwise false"; - } - - leaf distributing { - type boolean; - description - "When true, the participant is distributing outgoing - frames; when false, distribution is disabled"; - } - - leaf system-id { - type yang:mac-address; - description - "MAC address that defines the local system ID for the - aggregate interface"; - } - - leaf oper-key { - type uint16; - description - "Current operational value of the key for the aggregate - interface"; - } - - leaf partner-id { - type yang:mac-address; - description - "MAC address representing the protocol partner's interface - system ID"; - } - - leaf partner-key { - type uint16; - description - "Operational value of the protocol partner's key"; - } - - // TODO: rjs: unclear whether this is required, it is referenced - // elsewhere under the state container. The grouping - // does not exist. - // added the new group below to provide LACP statistics. - // uses aggregation-lacp-statistic; - } - -grouping aggregation-lacp-members-statistics { - description - "LACP packet statistics for the member interfaces"; - - container counters { - description - "LACP protocol counters"; - - leaf lacp-in-pkts { - type yang:counter64; - description - "Number of LACPDUs received"; - } - - leaf lacp-out-pkts { - type yang:counter64; - description - "Number of LACPDUs transmitted"; - } - - leaf lacp-rx-errors { - type yang:counter64; - description - "Number of LACPDU receive packet errors"; - } - - leaf lacp-tx-errors { - type yang:counter64; - description - "Number of LACPDU transmit packet errors"; - } - - leaf lacp-unknown-errors { - type yang:counter64; - description - "Number of LACPDU unknown packet errors"; - } - - leaf lacp-errors { - type yang:counter64; - description - "Number of LACPDU illegal packet errors"; - } - } - } - - grouping aggregation-lacp-members-top { - description - "Top-level grouping for aggregate members list"; - - container members { - config false; - description - "Enclosing container for the list of members interfaces of - the aggregate. This list is considered operational state - only so is labeled config false and has no config container"; - - list member { - key "interface"; - description - "List of member interfaces and their associated status for - a LACP-controlled aggregate interface. Member list is not - configurable here -- each interface indicates items - its participation in the LAG."; - - leaf interface { - type leafref { - path "../state/interface"; - } - description - "Reference to aggregate member interface"; - } - - - container state { - - config false; - - description - "Operational state data for aggregate members"; - - uses aggregation-lacp-members-state; - uses aggregation-lacp-members-statistics; - } - } - } - } - - grouping lacp-interfaces-config { - description - "Configuration data for each LACP-enabled interface"; - - leaf name { - type oc-if:base-interface-ref; - description - "Reference to the interface on which LACP should be - configured. The type of the target interface must be - ieee8023adLag"; - } - - leaf interval { - type lacp-period-type; - default SLOW; - description - "Set the period between LACP messages -- uses - the lacp-period-type enumeration."; - } - - leaf lacp-mode { - type lacp-activity-type; - default ACTIVE; - description - "ACTIVE is to initiate the transmission of LACP packets. - PASSIVE is to wait for peer to initiate the transmission of - LACP packets."; - //TODO:some implementations configure the LACP mode on each - //member interface rather than on the LAG interface. There - //may be use cases for this identified at a later time. - } - - leaf system-id-mac { - type yang:mac-address; - description - "The MAC address portion of the node's System ID. This is - combined with the system priority to construct the 8-octet - system-id"; - } - - uses aggregation-lacp-global-config; - } - - grouping lacp-interfaces-state { - description - "Operational state data for each LACP-enabled interface"; - } - - grouping lacp-interfaces-top { - description - "Top-level grouping for LACP-enabled interfaces"; - - container interfaces { - description - "Enclosing container for the list of LACP-enabled - interfaces"; - - list interface { - key "name"; - description - "List of aggregate interfaces managed by LACP"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the list key"; - } - - container config { - description - "Configuration data for each LACP aggregate interface"; - - uses lacp-interfaces-config; - } - - container state { - - config false; - - description - "Operational state data for each LACP aggregate - interface"; - - uses lacp-interfaces-config; - uses lacp-interfaces-state; - } - - uses aggregation-lacp-members-top; - } - } - } - - grouping aggregation-lacp-global-config { - description - "Configuration data for LACP aggregate interfaces"; - - - leaf system-priority { - type uint16; - description - "Sytem priority used by the node on this LAG interface. - Lower value is higher priority for determining which node - is the controlling system."; - } - } - - grouping aggregation-lacp-global-state { - description - "Operational data for LACP aggregate interfaces"; - - } - - grouping aggregation-lacp-top { - description - "Top level configuration and state variable containers for - LACP data"; - - container lacp { - description - "Configuration and operational state data for LACP protocol - operation on the aggregate interface"; - - container config { - description - "Configuration data for LACP"; - - uses aggregation-lacp-global-config; - } - - container state { - - config false; - description - "Operational state data for LACP"; - - uses aggregation-lacp-global-config; - uses aggregation-lacp-global-state; - } - uses lacp-interfaces-top; - } - } - - // data definition statements - uses aggregation-lacp-top; - - // augment statements - - -} - diff --git a/yang/modules/cisco-ios-xr/631/openconfig-local-routing.yang b/yang/modules/cisco-ios-xr/631/openconfig-local-routing.yang deleted file mode 100755 index f5187d5..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-local-routing.yang +++ /dev/null @@ -1,400 +0,0 @@ -module openconfig-local-routing { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/local-routing"; - - prefix "oc-loc-rt"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-policy-types { prefix oc-pt; } - import openconfig-extensions { prefix oc-ext; } - import cisco-xr-openconfig-interfaces-types { prefix cisco-oc-if-types; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module describes configuration and operational state data - for routes that are locally generated, i.e., not created by - dynamic routing protocols. These include static routes, locally - created aggregate routes for reducing the number of constituent - routes that must be advertised, summary routes for IGPs, etc. - This model expresses locally generated routes as generically as - possible, avoiding configuration of protocol-specific attributes - at the time of route creation. This is primarily to avoid - assumptions about how underlying router implementations handle - route attributes in various routing table data structures they - maintain. Hence, the definition of locally generated routes - essentially creates 'bare' routes that do not have any protocol- - specific attributes. - When protocol-specific attributes must be attached to a route - (e.g., communities on a locally defined route meant to be - advertised via BGP), the attributes should be attached via a - protocol-specific policy after importing the route into the - protocol for distribution (again via routing policy)."; - - oc-ext:openconfig-version "1.0.0"; - - revision "2016-05-11" { - description - "OpenConfig public release"; - reference "1.0.0"; - } - - - // identity statements - - identity LOCAL_DEFINED_NEXT_HOP { - description - "A base identity type of local defined next-hops"; - } - - identity DROP { - base LOCAL_DEFINED_NEXT_HOP; - description - "Discard traffic for the corresponding destination"; - } - - identity LOCAL_LINK { - base LOCAL_DEFINED_NEXT_HOP; - description - "Treat traffic towards addresses within the specified - next-hop prefix as though they are connected to a local - link. When the LOCAL_LINK next-hop type is specified, - an interface must also be specified such that - the local system can determine which link to trigger - link-layer address discovery against"; - } - - // typedef statements - - typedef local-defined-next-hop { - type identityref { - base LOCAL_DEFINED_NEXT_HOP; - } - description - "Pre-defined next-hop designation for locally generated - routes"; - } - - // grouping statements - - grouping local-generic-settings { - description - "Generic options that can be set on local routes When - they are defined"; - - leaf set-tag { - type oc-pt:tag-type; - description - "Set a generic tag value on the route. This tag can be - used for filtering routes that are distributed to other - routing protocols."; - } - } - - grouping local-static-config { - description - "Configuration data for static routes."; - - leaf prefix { - type inet:ip-prefix; - description - "Destination prefix for the static route, either IPv4 or - IPv6."; - } - - uses local-generic-settings; - } - - grouping local-static-state { - description - "Operational state data for static routes"; - } - - - grouping local-static-nexthop-config { - description - "Configuration parameters related to each next-hop entry - specified for a static route"; - - leaf index { - type string; - description - "An user-specified identifier utilised to uniquely reference - the next-hop entry in the next-hop list. The value of this - index has no semantic meaning other than for referencing - the entry."; - } - - leaf next-hop { - type union { - type inet:ip-address-no-zone; - type local-defined-next-hop; - } - description - "The next-hop that is to be used for the static route - - this may be specified as an IP address, an interface - or a pre-defined next-hop type - for instance, DROP or - LOCAL_LINK. When this leaf is not set, and the interface-ref - value is specified for the next-hop, then the system should - treat the prefix as though it is directly connected to the - interface."; - } - - leaf metric { - type uint32; - description - "A metric which is utilised to specify the preference of - the next-hop entry when it is injected into the RIB. The - lower the metric, the more preferable the prefix is. When - this value is not specified the metric is inherited from - the default metric utilised for static routes within the - network instance that the static routes are being - instantiated. When multiple next-hops are specified for a - static route, the metric is utilised to determine which of - the next-hops is to be installed in the RIB. When multiple - next-hops have the same metric (be it specified, or simply - the default) then these next-hops should all be installed - in the RIB"; - } - - leaf recurse { - type boolean; - default false; - description - "Determines whether the next-hop should be allowed to - be looked up recursively - i.e., via a RIB entry which has - been installed by a routing protocol, or another static route - - rather than needing to be connected directly to an - interface of the local system within the current network - instance. When the interface reference specified within the - next-hop entry is set (i.e., is not null) then forwarding is - restricted to being via the interface specified - and - recursion is hence disabled."; - } - } - - grouping local-static-nexthop-state { - description - "Operational state parameters relating to a next-hop entry - for a static route"; - } - - - grouping local-static-top { - description - "Top-level grouping for the list of static route definitions"; - - container static-routes { - description - "Enclosing container for the list of static routes"; - - list static { - key prefix; - description - "List of locally configured static routes"; - - leaf prefix { - type leafref { - path "../config/prefix"; - } - description - "Reference to the destination prefix list key."; - } - - container config { - description - "Configuration data for static routes"; - - uses local-static-config; - } - - container state { - - config false; - - description - "Operational state data for static routes"; - - uses local-static-config; - uses local-static-state; - } - - container next-hops { - description - "Configuration and state parameters relating to the - next-hops that are to be utilised for the static - route being specified"; - - list next-hop { - key index; - - description - "A list of next-hops to be utilised for the static - route being specified."; - - leaf index { - type leafref { - path "../config/index"; - } - description - "A reference to the index of the current next-hop. - The index is intended to be a user-specified value - which can be used to reference the next-hop in - question, without any other semantics being - assigned to it."; - } - - container config { - description - "Configuration parameters relating to the next-hop - entry"; - - uses local-static-nexthop-config; - } - - container state { - config false; - description - "Operational state parameters relating to the - next-hop entry"; - - uses local-static-nexthop-config; - uses local-static-nexthop-state; - } - - uses cisco-oc-if-types:interface-ref; - } - } - } - } - } - - grouping local-aggregate-config { - description - "Configuration data for aggregate routes"; - - leaf prefix { - type inet:ip-prefix; - description - "Aggregate prefix to be advertised"; - } - - leaf discard { - type boolean; - default false; - description - "When true, install the aggregate route with a discard - next-hop -- traffic destined to the aggregate will be - discarded with no ICMP message generated. When false, - traffic destined to an aggregate address when no - constituent routes are present will generate an ICMP - unreachable message."; - } - - uses local-generic-settings; - - } - - grouping local-aggregate-state { - description - "Operational state data for local aggregate advertisement - definitions"; - } - - grouping local-aggregate-top { - description - "Top-level grouping for local aggregates"; - - container local-aggregates { - description - "Enclosing container for locally-defined aggregate - routes"; - - list aggregate { - key prefix; - description - "List of aggregates"; - - leaf prefix { - type leafref { - path "../config/prefix"; - } - description - "Reference to the configured prefix for this aggregate"; - } - - container config { - description - "Configuration data for aggregate advertisements"; - - uses local-aggregate-config; - } - - container state { - - config false; - - description - "Operational state data for aggregate - advertisements"; - - uses local-aggregate-config; - uses local-aggregate-state; - } - } - } - } - - grouping local-routes-config { - description - "Configuration data for locally defined routes"; - } - - grouping local-routes-state { - description - "Operational state data for locally defined routes"; - } - - grouping local-routes-top { - description - "Top-level grouping for local routes"; - - container local-routes { - description - "Top-level container for local routes"; - - container config { - description - "Configuration data for locally defined routes"; - - uses local-routes-config; - } - - container state { - - config false; - - description - "Operational state data for locally defined routes"; - - uses local-routes-config; - uses local-routes-state; - } - - uses local-static-top; - uses local-aggregate-top; - } - } - - uses local-routes-top; - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-igp.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-igp.yang deleted file mode 100755 index 78b7fdc..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-igp.yang +++ /dev/null @@ -1,82 +0,0 @@ -submodule openconfig-mpls-igp { - - yang-version "1"; - - belongs-to "openconfig-mpls" { - prefix "mpls"; - } - - - // import some basic types - import openconfig-mpls-ldp { prefix ldp; } - import openconfig-mpls-sr { prefix sr; } - import openconfig-extensions { prefix oc-ext; } - - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Configuration generic configuration parameters for IGP-congruent - LSPs"; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // typedef statements - - // grouping statements - - - grouping igp-lsp-common { - description - "common definitions for IGP-congruent LSPs"; - - } - - - grouping igp-lsp-setup { - description - "signaling protocol definitions for IGP-based LSPs"; - - container path-setup-protocol { - description - "select and configure the signaling method for - the LSP"; - - // uses path-setup-common; - uses ldp:igp-lsp-ldp-setup; - uses sr:igp-lsp-sr-setup; - } - } - - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-ldp.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-ldp.yang deleted file mode 100755 index 7092858..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-ldp.yang +++ /dev/null @@ -1,170 +0,0 @@ -module openconfig-mpls-ldp { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/ldp"; - - prefix "ldp"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-mpls-types { prefix mplst; } - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Configuration of Label Distribution Protocol global and LSP- - specific parameters for IGP-congruent LSPs"; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // typedef statements - - // grouping statements - - grouping ldp-global { - description - "global LDP signaling configuration"; - - container ldp { - description - "LDP global signaling configuration"; - - container timers { - description - "LDP timers"; - } - } - } - - - grouping igp-tunnel-ldp { - description - "common defintiions for LDP-signaled LSP tunnel - types"; - - container tunnel { - description - "contains configuration stanzas for different LSP - tunnel types (P2P, P2MP, etc.)"; - - leaf tunnel-type { - type mplst:tunnel-type; - description - "specifies the type of LSP, e.g., P2P or P2MP"; - } - - leaf ldp-type { - type enumeration { - enum BASIC { - description - "basic hop-by-hop LSP"; - } - enum TARGETED { - description - "tLDP LSP"; - } - } - description - "specify basic or targeted LDP LSP"; - } - - container p2p-lsp { - when "tunnel-type = 'P2P'" { - description - "container active when LSP tunnel type is - point to point"; - } - - description "properties of point-to-point tunnels"; - - leaf-list fec-address { - type inet:ip-prefix; - description - "Address prefix for packets sharing the same - forwarding equivalence class for the IGP-based LSP"; - } - } - - container p2mp-lsp { - when "tunnel-type = 'P2MP'" { - description - "container is active when LSP tunnel type is - point to multipoint"; - } - - description - "properties of point-to-multipoint tunnels"; - - // TODO: specify group/source, etc. - - } - - container mp2mp-lsp { - when "tunnel-type = 'MP2MP'" { - description - "container is active when LSP tunnel type is - multipoint to multipoint"; - } - - description - "properties of multipoint-to-multipoint tunnels"; - - // TODO: specify group/source, etc. - - } - } - } - - grouping igp-lsp-ldp-setup { - description - "grouping for LDP setup attributes"; - - container ldp { - - presence "Presence of this container sets the LSP to use - LDP signaling"; - - description - "LDP signaling setup for IGP-congruent LSPs"; - - // include tunnel (p2p, p2mp, ...) - - uses igp-tunnel-ldp; - - } - } - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-sr.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-sr.yang deleted file mode 100755 index c756233..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-sr.yang +++ /dev/null @@ -1,414 +0,0 @@ -module openconfig-mpls-sr { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/sr"; - - prefix "sr"; - - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-mpls-types { prefix mplst; } - import openconfig-extensions { prefix oc-ext; } - import cisco-xr-openconfig-interfaces-types { prefix ocif; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Configuration for MPLS with segment routing-based LSPs, - including global parameters, and LSP-specific configuration for - both constrained-path and IGP-congruent LSPs"; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // typedef statements - - grouping srgb_config { - leaf lower-bound { - type uint32; - description - "Lower value in the block."; - } - leaf upper-bound { - type uint32; - description - "Upper value in the block."; - } - description - "List of global blocks to be advertised."; - } - - grouping srgb_state { - description - "State parameters relating to the SRGB"; - - leaf size { - type uint32; - description - "Number of indexes in the SRGB block"; - } - leaf free { - type uint32; - description - "Number of SRGB indexes that have not yet been allocated"; - } - leaf used { - type uint32; - description - "Number of SRGB indexes that are currently allocated"; - } - } - - grouping adjacency-sid_config { - description - "Configuration related to an Adjacency Segment Identifier - (SID)"; - - leaf-list advertise { - type enumeration { - enum "PROTECTED" { - description - "Advertise an Adjacency-SID for this interface, which is - eligible to be protected using a local protection - mechanism on the local LSR. The local protection - mechanism selected is dependent upon the configuration - of RSVP-TE FRR or LFA elsewhere on the system"; - } - enum UNPROTECTED { - description - "Advertise an Adajcency-SID for this interface, which is - explicitly excluded from being protected by any local - protection mechanism"; - } - } - description - "Specifies the type of adjacency SID which should be - advertised for the specified entity."; - } - - leaf-list groups { - type uint32; - description - "Specifies the groups to which this interface belongs. - Setting a value in this list results in an additional AdjSID - being advertised, with the S-bit set to 1. The AdjSID is - assumed to be protected"; - } - } - - grouping interface_config { - description - "Configuration parameters relating to a Segment Routing - enabled interface"; - - leaf interface { - type ocif:interface-ref; - description - "Reference to the interface for which segment routing - configuration is to be applied."; - } - } - - // grouping statements - - grouping sr-global { - description - "Global segment routing signaling configuration"; - - container segment-routing { - description - "SR global signaling config"; - - list srgb { - key "lower-bound upper-bound"; - uses srgb_config; - container config { - description - "Configuration parameters relating to the Segment Routing - Global Block (SRGB)"; - uses srgb_config; - } - container state { - config false; - description - "State parameters relating to the Segment Routing Global - Block (SRGB)"; - uses srgb_config; - uses srgb_state; - } - description - "List of Segment Routing Global Block (SRGB) entries. These - label blocks are reserved to be allocated as domain-wide - entries."; - } - - list interfaces { - key "interface"; - uses interface_config; - container config { - description - "Interface configuration parameters for Segment Routing - relating to the specified interface"; - uses interface_config; - } - container state { - config false; - description - "State parameters for Segment Routing features relating - to the specified interface"; - uses interface_config; - } - container adjacency-sid { - description - "Configuration for Adjacency SIDs that are related to - the specified interface"; - container config { - description - "Configuration parameters for the Adjacency-SIDs - that are related to this interface"; - uses adjacency-sid_config; - } - container state { - config false; - description - "State parameters for the Adjacency-SIDs that are - related to this interface"; - uses adjacency-sid_config; - } - } - description - "List of interfaces with associated segment routing - configuration"; - } - } - } - - grouping sr-path-attributes_config { - description - "Configuration parameters relating to SR-TE LSPs"; - - leaf sid-selection-mode { - type enumeration { - enum "ADJ-SID-ONLY" { - description - "The SR-TE tunnel should only use adjacency SIDs - to build the SID stack to be pushed for the LSP"; - } - enum "MIXED-MODE" { - description - "The SR-TE tunnel can use a mix of adjacency - and prefix SIDs to build the SID stack to be pushed - to the LSP"; - } - } - default "MIXED-MODE"; - description - "The restrictions placed on the SIDs to be selected by the - calculation method for the SR-TE LSP"; - } - - leaf sid-protection-required { - type boolean; - default "false"; - description - "When this value is set to true, only SIDs that are - protected are to be selected by the calculating method - for the SR-TE LSP."; - } - } - - grouping sr_fec-address_config { - description - "Configuration parameters relating to a FEC that is to be - advertised by Segment Routing"; - - leaf fec-address { - type inet:ip-prefix; - description - "FEC that is to be advertised as part of the Prefix-SID"; - } - } - - grouping sr_fec-prefix-sid_config { - description - "Configuration parameters relating to the nature of the - Prefix-SID that is to be advertised for a particular FEC"; - - leaf type { - type enumeration { - enum "INDEX" { - description - "Set when the value of the prefix SID should be specified - as an off-set from the SRGB's zero-value. When multiple - SRGBs are specified, the zero-value is the minimum - of their lower bounds"; - } - enum "ABSOLUTE" { - description - "Set when the value of a prefix SID is specified as the - absolute value within an SRGB. It is an error to specify - an absolute value outside of a specified SRGB"; - } - } - default "INDEX"; - description - "Specifies how the value of the Prefix-SID should be - interpreted - whether as an offset to the SRGB, or as an - absolute value"; - } - - leaf node-flag { - type boolean; - description - "Specifies that the Prefix-SID is to be treated as a Node-SID - by setting the N-flag in the advertised Prefix-SID TLV in the - IGP"; - } - - leaf last-hop-behavior { - type enumeration { - enum "EXPLICIT-NULL" { - description - "Specifies that the explicit null label is to be used - when the penultimate hop forwards a labelled packet to - this Prefix-SID"; - } - enum "UNCHANGED" { - description - "Specicies that the Prefix-SID's label value is to be - left in place when the penultimate hop forwards to this - Prefix-SID"; - } - enum "PHP" { - description - "Specicies that the penultimate hop should pop the - Prefix-SID label before forwarding to the eLER"; - } - } - description - "Configuration relating to the LFIB actions for the - Prefix-SID to be used by the penultimate-hop"; - } - } - - - grouping igp-tunnel-sr { - description - "defintiions for SR-signaled, IGP-based LSP tunnel - types"; - - container tunnel { - description - "contains configuration stanzas for different LSP - tunnel types (P2P, P2MP, etc.)"; - - leaf tunnel-type { - type mplst:tunnel-type; - description - "specifies the type of LSP, e.g., P2P or P2MP"; - } - - container p2p-lsp { - when "tunnel-type = 'P2P'" { - description - "container active when LSP tunnel type is - point to point"; - } - description - "properties of point-to-point tunnels"; - - list fec { - key "fec-address"; - uses sr_fec-address_config; - - description - "List of FECs that are to be originated as SR LSPs"; - - container config { - description - "Configuration parameters relating to the FEC to be - advertised by SR"; - uses sr_fec-address_config; - } - container state { - config false; - description - "Operational state relating to a FEC advertised by SR"; - uses sr_fec-address_config; - } - container prefix-sid { - description - "Parameters relating to the Prefix-SID - used for the originated FEC"; - - container config { - description - "Configuration parameters relating to the Prefix-SID - used for the originated FEC"; - uses sr_fec-prefix-sid_config; - } - container state { - config false; - description - "Operational state parameters relating to the - Prefix-SID used for the originated FEC"; - uses sr_fec-prefix-sid_config; - } - } - } - } - } - } - - grouping igp-lsp-sr-setup { - description - "grouping for SR-IGP path setup for IGP-congruent - LSPs"; - - container segment-routing { - - presence - "Presence of this container sets the LSP to use - SR signaling"; - - description - "segment routing signaling extensions for - IGP-confgruent LSPs"; - - uses igp-tunnel-sr; - - } - } - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-static.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-static.yang deleted file mode 100755 index 30c77ed..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-static.yang +++ /dev/null @@ -1,125 +0,0 @@ -submodule openconfig-mpls-static { - - yang-version "1"; - - belongs-to "openconfig-mpls" { - prefix "mpls"; - } - - // import some basic types - import openconfig-mpls-types {prefix mplst; } - import ietf-inet-types { prefix inet; } - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Defines static LSP configuration"; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // typedef statements - - // grouping statements - - grouping static-lsp-common { - description - "common definitions for static LSPs"; - - leaf next-hop { - type inet:ip-address; - description - "next hop IP address for the LSP"; - } - - leaf incoming-label { - type mplst:mpls-label; - description - "label value on the incoming packet"; - } - - leaf push-label { - type mplst:mpls-label; - description - "label value to push at the current hop for the - LSP"; - } - } - - grouping static-lsp-main { - description - "grouping for top level list of static LSPs"; - - - list label-switched-path { - key name; - description - "list of defined static LSPs"; - - leaf name { - type string; - description - "name to identify the LSP"; - } - - // TODO: separation into ingress, transit, egress may help - // to figure out what exactly is configured, but need to - // consider whether implementations can support the - // separation - container ingress { - description - "Static LSPs for which the router is an - ingress node"; - - uses static-lsp-common; - } - - container transit { - description - "static LSPs for which the router is a - transit node"; - - uses static-lsp-common; - } - - container egress { - description - "static LSPs for which the router is a - egress node"; - - uses static-lsp-common; - } - } - } - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-te.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-te.yang deleted file mode 100755 index 7d3fe6d..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-te.yang +++ /dev/null @@ -1,1226 +0,0 @@ -submodule openconfig-mpls-te { - - yang-version "1"; - - belongs-to "openconfig-mpls" { - prefix "mpls"; - } - - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-mpls-rsvp { prefix rsvp; } - // import openconfig-mpls-sr { prefix sr; } - import openconfig-mpls-types {prefix mplst; } - import openconfig-types { prefix oc-types; } - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "Configuration related to constrained-path LSPs and traffic - engineering. These definitions are not specific to a particular - signaling protocol or mechanism (see related submodules for - signaling protocol-specific configuration)."; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // using identities for path comp method, though enums may also - // be appropriate if we decided these are the primary computation - // mechanisms in future. - identity path-computation-method { - description - "base identity for supported path computation - mechanisms"; - } - - identity locally-computed { - base path-computation-method; - description - "indicates a constrained-path LSP in which the - path is computed by the local LER"; - } - - identity externally-queried { - base path-computation-method; - description - "constrained-path LSP in which the path is - obtained by querying an external source, such as a PCE server"; - } - - identity explicitly-defined { - base path-computation-method; - description - "constrained-path LSP in which the path is - explicitly specified as a collection of strict or/and loose - hops"; - } - - // typedef statements - - typedef te-bandwidth-type { - type enumeration { - enum SPECIFIED { - description - "Bandwidth is explicitly specified"; - } - enum AUTO { - description - "Bandwidth is automatically computed"; - } - } - description - "enumerated type for specifying whether bandwidth is - explicitly specified or automatically computed"; - } - - typedef mpls-srlg-flooding-type { - type enumeration { - enum FLOODED-SRLG { - description - "SRLG is flooded in the IGP"; - } - enum STATIC-SRLG { - description - "SRLG is not flooded, the members are - statically configured"; - } - } - description - "Enumerated bype for specifying how the SRLG is flooded"; - } - - typedef mpls-hop-type { - type enumeration { - enum LOOSE { - description - "loose hop in an explicit path"; - } - enum STRICT { - description - "strict hop in an explicit path"; - } - } - description - "enumerated type for specifying loose or strict - paths"; - } - - typedef te-metric-type { - type union { - type enumeration { - enum IGP { - description - "set the LSP metric to track the underlying - IGP metric"; - } - } - type uint32; - } - description - "union type for setting the LSP TE metric to a - static value, or to track the IGP metric"; - } - - typedef cspf-tie-breaking { - type enumeration { - enum RANDOM { - description - "CSPF calculation selects a random path among - multiple equal-cost paths to the destination"; - } - enum LEAST_FILL { - description - "CSPF calculation selects the path with greatest - available bandwidth"; - } - enum MOST_FILL { - description - "CSPF calculation selects the path with the least - available bandwidth"; - } - } - default RANDOM; - description - "type to indicate the CSPF selection policy when - multiple equal cost paths are available"; - } - - - // grouping statements - - grouping te-tunnel-reoptimize_config { - description - "Definition for reoptimize timer configuration"; - - leaf reoptimize-timer { - type uint16; - units seconds; - description - "frequency of reoptimization of - a traffic engineered LSP"; - } - } - - - grouping te-lsp-auto-bandwidth_config { - description - "Configuration parameters related to autobandwidth"; - - leaf enabled { - type boolean; - default false; - description - "enables mpls auto-bandwidth on the - lsp"; - } - - leaf min-bw { - type uint32; - description - "set the minimum bandwidth in Mbps for an - auto-bandwidth LSP"; - } - - leaf max-bw { - type uint32; - description - "set the maximum bandwidth in Mbps for an - auto-bandwidth LSP"; - } - - leaf adjust-interval { - type uint32; - description - "time in seconds between adjustments to - LSP bandwidth"; - } - - leaf adjust-threshold { - type oc-types:percentage; - description - "percentage difference between the LSP's - specified bandwidth and its current bandwidth - allocation -- if the difference is greater than the - specified percentage, auto-bandwidth adjustment is - triggered"; - } - } - - grouping te-lsp-overflow_config { - description - "configuration for mpls lsp bandwidth - overflow adjustment"; - - leaf enabled { - type boolean; - default false; - description - "enables mpls lsp bandwidth overflow - adjustment on the lsp"; - } - - leaf overflow-threshold { - type oc-types:percentage; - description - "bandwidth percentage change to trigger - an overflow event"; - - } - - leaf trigger-event-count { - type uint16; - description - "number of consecutive overflow sample - events needed to trigger an overflow adjustment"; - } - } - - grouping te-lsp-underflow_config { - description - "configuration for mpls lsp bandwidth - underflow adjustment"; - - leaf enabled { - type boolean; - default false; - description - "enables bandwidth underflow - adjustment on the lsp"; - } - - leaf underflow-threshold { - type oc-types:percentage; - description - "bandwidth percentage change to trigger - and underflow event"; - } - - leaf trigger-event-count { - type uint16; - description - "number of consecutive underflow sample - events needed to trigger an underflow adjustment"; - } - } - - grouping te-path-placement-constraints-config { - description - "Configuration data for link affinities"; - - leaf-list exclude-group { - type leafref { - path "../../../../../../../../te-global-attributes/mpls-admin-groups/" + - "admin-group/admin-group-name"; - } - description - "list of references to named admin-groups to exclude in - path calculation."; - } - - leaf-list include-all-group { - type leafref { - path "../../../../../../../../te-global-attributes/mpls-admin-groups/" + - "admin-group/admin-group-name"; - } - description - "list of references to named admin-groups of which all must - be included"; - } - - leaf-list include-any-group { - type leafref { - path "../../../../../../../../te-global-attributes/mpls-admin-groups/" + - "admin-group/admin-group-name"; - } - description - "list of references to named admin-groups of which one must - be included"; - } - } - - grouping te-path-placement-constraints-state { - description - "Operational state data for link affinities"; - //TODO: currently a placeholder - } - - grouping te-path-placement-constraints-top { - description - "Top-level grouping "; - - container admin-groups { - description - "Top-level container for include/exclude constraints for - link affinities"; - - container config { - description - "Configuration data "; - - uses te-path-placement-constraints-config; - } - - container state { - config false; - - description - "Operational state data "; - - uses te-path-placement-constraints-config; - uses te-path-placement-constraints-state; - } - } - } - - grouping te-tunnel-protection_config { - description - "Configuration parameters related to LSP - protection"; - leaf protection-style-requested { - type identityref { - base mplst:protection-type; - } - default mplst:unprotected; - description - "style of mpls frr protection desired: can be - link, link-node or unprotected."; - } - } - - grouping explicit-route-subobject-config { - description - "The explicit route subobject grouping"; - - leaf address { - type inet:ip-address; - description - "router hop for the LSP path"; - } - - leaf hop-type { - type mpls-hop-type; - description - "strict or loose hop"; - } - - leaf index { - type uint8 { - range "0..255"; - } - description - "Index of this explicit route object to express - the order of hops in the path"; - } - - } - - grouping named-explicit-path-config { - description - "Configuration parameters relating to a named - explicit path"; - - leaf name { - type string; - description - "A string name that uniquely identifies an explicit - path"; - } - } - - - // Explicit paths config somewhat following the IETF model - grouping explicit-paths_top { - description - "Top level global explicit path configuration - grouping"; - - list named-explicit-paths { - key "name"; - description - "A list of explicit paths"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "A string name that uniquely identifies - an explicit path"; - } - - container config { - description - "Configuration parameters relating to named explicit - paths"; - uses named-explicit-path-config; - } - - container state { - config false; - description - "Operational state parameters relating to the named - explicit paths"; - uses named-explicit-path-config; - } - - list explicit-route-objects { - key "index"; - description - "List of explicit route objects"; - - leaf index { - type leafref { - path "../config/index"; - } - - description - "Index of this explicit route object, - to express the order of hops in path"; - } - - container config { - description - "Configuration parameters relating to an explicit - route"; - uses explicit-route-subobject-config; - } - - - container state { - description - "State parameters relating to an explicit route"; - uses explicit-route-subobject-config; - } - } - } - } - - - grouping mpls-te-srlg_config { - description - "Configuration of various attributes associated - with the SRLG"; - - leaf name { - type string; - description - "SRLG group identifier"; - } - - leaf value { - type uint32; - description - "group ID for the SRLG"; - } - - leaf cost { - type uint32; - description - "The cost of the SRLG to the computation - algorithm"; - } - - leaf flooding-type { - type mpls-srlg-flooding-type; - default FLOODED-SRLG; - description - "The type of SRLG, either flooded in the IGP or - statically configured"; - } - } - - grouping mpls-te-srlg-members_config { - description - "Configuration of the membership of the SRLG"; - - leaf from-address { - type inet:ip-address; - description - "IP address of the a-side of the SRLG link"; - } - - leaf to-address { - type inet:ip-address; - description - "IP address of the z-side of the SRLG link"; - } - } - - grouping mpls-te-srlg-top { - description - "Top level grouping for MPLS shared - risk link groups."; - - container srlg { - description - "Shared risk link groups attributes"; - list srlg { - key name; - description - "List of shared risk link groups"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "The SRLG group identifier"; - } - - container config { - description - "Configuration parameters related to the SRLG"; - uses mpls-te-srlg_config; - } - - container state { - config false; - description - "State parameters related to the SRLG"; - uses mpls-te-srlg_config; - } - - container static-srlg-members { - when "../config/flooding-type = 'STATIC-SRLG'" { - description - "Include this container for static - SRLG specific configuration"; - } - description - "SRLG members for static (not flooded) SRLGs "; - - list members-list { - key from-address; - description - "List of SRLG members, which are expressed - as IP address endpoints of links contained in the - SRLG"; - - leaf from-address { - type leafref { - path "../config/from-address"; - require-instance true; - } - description - "The from address of the link in the SRLG"; - } - - container config { - description - "Configuration parameters relating to the - SRLG members"; - uses mpls-te-srlg-members_config; - } - - container state { - config false; - description - "State parameters relating to the SRLG - members"; - uses mpls-te-srlg-members_config; - } - } - } - } - } - } - - grouping te-global-tunnel_config { - description - "Configuration parameters relevant to a single - traffic engineered tunnel."; - - leaf name { - type string; - description - "The tunnel name"; - } - - leaf type { - type identityref { - base mplst:tunnel-type; - } - description - "Tunnel type, p2p or p2mp"; - } - - leaf signaling-protocol { - type identityref { - base mplst:tunnel-type; - } - description - "Signaling protocol used to set up this tunnel"; - } - - leaf local-id { - type union { - type uint32; - type string; - } - description - "locally signficant optional identifier for the - tunnel; may be a numerical or string value"; - } - - leaf description { - type string; - description - "optional text description for the tunnel"; - } - - leaf admin-status { - type identityref { - base mplst:tunnel-admin-status; - } - default mplst:ADMIN_UP; - description - "TE tunnel administrative state."; - } - - leaf preference { - type uint8 { - range "1..255"; - } - description - "Specifies a preference for this tunnel. - A lower number signifies a better preference"; - } - - leaf metric { - type te-metric-type; - description - "LSP metric, either explicit or IGP"; - } - - leaf protection-style-requested { - type identityref { - base mplst:protection-type; - } - default mplst:unprotected; - description - "style of mpls frr protection desired: can be - link, link-node or unprotected."; - } - - uses te-tunnel-reoptimize_config; - uses rsvp:rsvp-p2p-tunnel-attributes_config; - - } - - grouping tunnel-p2p-attributes_config { - description - "Configuration related to p2p LSPs"; - leaf destination { - type inet:ip-address; - description - "P2P tunnel destination address"; - } - } - - grouping p2p-path_config { - description - "Configuration parameters for p2p paths"; - - leaf name { - type string; - description - "Path name"; - } - - leaf path-computation-method { - type identityref { - base path-computation-method; - } - default locally-computed; - description - "The method used for computing the path, either - locally computed, queried from a server or not - computed at all (explicitly configured)."; - } - - leaf use-cspf { - when "../path-computation-method = 'locally-computed'" { - description - "The use of cspf when the path-computation method is - local computation"; - } - type boolean; - description - "Flag to enable CSPF for locally computed LSPs"; - } - - leaf cspf-tiebreaker { - when "../path-computation-method = 'locally-computed'" { - description - "The cspf tiebreaking method when the path is - locally computed"; - } - type cspf-tie-breaking; - description - "Determine the tie-breaking method to choose between - equally desirable paths during CSFP computation"; - } - - - leaf path-computation-server { - when "../path-computation-method = 'externally-queried'" { - description - "The path-computation server when the path is - externally queried"; - } - type inet:ip-address; - description - "Address of the external path computation - server"; - } - - leaf explicit-path-name { - when "../path-computation-method = 'explicitly-defined'" { - description - "The name of the explicitly defined path used"; - } - - type leafref { - path "../../../../../" - + "named-explicit-paths/config/name"; - require-instance true; - } - description - "reference to a defined path"; - } - - leaf preference { - type uint8 { - range "1..255"; - } - description - "Specifies a preference for this path. The lower the - number higher the preference"; - } - - - uses rsvp:rsvp-p2p-path-attributes_config; - } - - - grouping te-tunnel-p2p_top { - description - "Top level grouping for p2p configuration"; - - container p2p-tunnel-attributes { - when "../config/type = 'P2P'" { - description - "Include this container for LSPs of type P2P"; - } - description - "Parameters related to LSPs of type P2P"; - - container config { - description - "Configuration parameters for P2P LSPs"; - uses tunnel-p2p-attributes_config; - } - - container state { - config false; - description - "State parameters for P2P LSPs"; - uses tunnel-p2p-attributes_config; - } - - uses p2p-primary-paths_top; - uses p2p-secondary-paths_top; - } - } - - - grouping te-tunnel_state { - description - "Counters and statistical data relevent to a single - tunnel."; - - leaf oper-status { - type identityref { - base mplst:lsp-oper-status; - } - description - "The operational status of the TE tunnel"; - } - - leaf role { - type identityref { - base mplst:lsp-role; - } - description - "The lsp role at the current node, whether it is headend, - transit or tailend."; - } - - container counters { - description - "State data for MPLS label switched paths. This state - data is specific to a single label switched path."; - - leaf bytes { - type yang:counter64; - description - "Number of bytes that have been forwarded over the - label switched path."; - } - - leaf packets { - type yang:counter64; - description - "Number of pacets that have been forwarded over the - label switched path."; - } - - leaf path-changes { - type yang:counter64; - description - "Number of path changes for the label switched path"; - } - - leaf state-changes { - type yang:counter64; - description - "Number of state changes for the label switched path"; - } - - leaf online-time { - type yang:date-and-time; - description - "Indication of the time the label switched path - transitioned to an Oper Up or in-service state"; - } - - leaf current-path-time { - type yang:date-and-time; - description - "Indicates the time the LSP switched onto its - current path. This is reset upon a LSP path - change."; - } - - leaf next-reoptimization-time { - type yang:date-and-time; - description - "Indicates the next scheduled time the LSP - will be reoptimized."; - } - } - } - - grouping te-tunnel-bandwidth_config { - description - "Configuration parameters related to bandwidth for a tunnel"; - - leaf specification-type { - type te-bandwidth-type; - default SPECIFIED; - description - "The method used for settign the bandwidth, either explicitly - specified or configured"; - } - - leaf set-bandwidth { - when "../specification-type = 'SPECIFIED'" { - description - "The bandwidth value when bandwidth is explicitly - specified"; - } - type uint32; - description - "set bandwidth explicitly, e.g., using - offline calculation"; - } - } - - grouping te-tunnel-bandwidth_top { - description - "Top level grouping for specifying bandwidth for a tunnel"; - - container bandwidth { - description - "Bandwidth configuration for TE LSPs"; - - container config { - description - "Configuration parameters related to bandwidth on TE - tunnels:"; - uses te-tunnel-bandwidth_config; - } - - container state { - config false; - description - "State parameters related to bandwidth - configuration of TE tunnels"; - uses te-tunnel-bandwidth_config; - } - - container auto-bandwidth { - when "../config/specification-type = 'AUTO'" { - description - "Include this container for auto bandwidth - specific configuration"; - } - description - "Parameters related to auto-bandwidth"; - - container config { - description - "Configuration parameters relating to MPLS - auto-bandwidth on the tunnel."; - uses te-lsp-auto-bandwidth_config; - } - - container state { - config false; - description - "State parameters relating to MPLS - auto-bandwidth on the tunnel."; - uses te-lsp-auto-bandwidth_config; - } - - container overflow { - description - "configuration of MPLS overflow bandwidth - adjustement for the LSP"; - - container config { - description - "Config information for MPLS overflow bandwidth - adjustment"; - uses te-lsp-overflow_config; - } - - container state { - config false; - description - "Config information for MPLS overflow bandwidth - adjustment"; - uses te-lsp-overflow_config; - } - } - - container underflow { - description - "configuration of MPLS underflow bandwidth - adjustement for the LSP"; - - container config { - description - "Config information for MPLS underflow bandwidth - adjustment"; - uses te-lsp-underflow_config; - } - - container state { - config false; - description - "State information for MPLS underflow bandwidth - adjustment"; - uses te-lsp-underflow_config; - } - } - } - } - } - - grouping p2p-path-candidate-secondary-path-config { - description - "Configuration parameters relating to a secondary path which - is a candidate for a particular primary path"; - - leaf secondary-path { - type leafref { - path "../../../../../p2p-secondary-paths/config/name"; - } - description - "A reference to the secondary path that should be utilised - when the containing primary path option is in use"; - } - - leaf priority { - type uint16; - description - "The priority of the specified secondary path option. Higher - priority options are less preferable - such that a secondary - path reference with a priority of 0 is the most preferred"; - } - } - - grouping p2p-path-candidate-secondary-path-state { - description - "Operational state parameters relating to a secondary path - which is a candidate for a particular primary path"; - - leaf active { - type boolean; - description - "Indicates the current active path option that has - been selected of the candidate secondary paths"; - } - } - - grouping p2p-primary-paths_top { - description - "Top level grouping for p2p primary paths"; - - list p2p-primary-paths { - key "name"; - description - "List of p2p primary paths for a tunnel"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "Path name"; - } - - container config { - description - "Configuration parameters related to paths"; - uses p2p-path_config; - } - - container state { - description - "State parameters related to paths"; - uses p2p-path_config; - } - - container candidate-secondary-paths { - description - "The set of candidate secondary paths which may be used - for this primary path. When secondary paths are specified - in the list the path of the secondary LSP in use must be - restricted to those path options referenced. The - priority of the secondary paths is specified within the - list. Higher priority values are less preferred - that is - to say that a path with priority 0 is the most preferred - path. In the case that the list is empty, any secondary - path option may be utilised when the current primary path - is in use."; - - list candidate-secondary-path { - key "secondary-path"; - - description - "List of secondary paths which may be utilised when the - current primary path is in use"; - - leaf secondary-path { - type leafref { - path "../config/secondary-path"; - } - description - "A reference to the secondary path option reference - which acts as the key of the candidate-secondary-path - list"; - } - - container config { - description - "Configuration parameters relating to the candidate - secondary path"; - - uses p2p-path-candidate-secondary-path-config; - } - - container state { - config false; - description - "Operational state parameters relating to the candidate - secondary path"; - - uses p2p-path-candidate-secondary-path-config; - uses p2p-path-candidate-secondary-path-state; - } - } - } - - uses te-path-placement-constraints-top; - - } - } - - grouping p2p-secondary-paths_top { - description - "Top level grouping for p2p secondary paths"; - - list p2p-secondary-paths { - key "name"; - description - "List of p2p primary paths for a tunnel"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "Path name"; - } - - container config { - description - "Configuration parameters related to paths"; - uses p2p-path_config; - } - - container state { - description - "State parameters related to paths"; - uses p2p-path_config; - } - - uses te-path-placement-constraints-top; - } - } - - grouping te-tunnels_top { - description - "Top level grouping for TE tunnels"; - - list tunnel { - key "name type"; - description - "List of TE tunnels"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "The tunnel name"; - } - - leaf type { - type leafref { - path "../config/type"; - require-instance true; - } - description - "The tunnel type, p2p or p2mp."; - } - - container config { - description - "Configuration parameters related to TE tunnels:"; - uses te-global-tunnel_config; - } - - container state { - config false; - description - "State parameters related to TE tunnels"; - uses te-global-tunnel_config; - uses te-tunnel_state; - } - - uses te-tunnel-bandwidth_top; - uses te-tunnel-p2p_top; - // TODO - add the p2mp configuration - } - } - -// data definition statements - -// augment statements - -// rpc statements - -// notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls-types.yang deleted file mode 100755 index ab62937..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-types.yang +++ /dev/null @@ -1,295 +0,0 @@ -module openconfig-mpls-types { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/mpls-types"; - - prefix "mplst"; - - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "General types for MPLS / TE data model"; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - // using identities rather than enum types to simplify adding new - // signaling protocols as they are introduced and supported - identity path-setup-protocol { - description - "base identity for supported MPLS signaling - protocols"; - } - - identity path-setup-rsvp { - base path-setup-protocol; - description - "RSVP-TE signaling protocol"; - } - - identity path-setup-sr { - base path-setup-protocol; - description - "Segment routing"; - } - - identity path-setup-ldp { - base path-setup-protocol; - description - "LDP - RFC 5036"; - } - - - identity protection-type { - description - "base identity for protection type"; - } - - identity unprotected { - base protection-type; - description - "no protection is desired"; - } - - identity link-protection-requested { - base protection-type; - description - "link protection is desired"; - } - - identity link-node-protection-requested { - base protection-type; - description - "node and link protection are both desired"; - } - - identity lsp-role { - description - "Base identity for describing the role of - label switched path at the current node"; - } - - identity INGRESS { - base "lsp-role"; - description - "Label switched path is an ingress (headend) - LSP"; - } - - identity EGRESS { - base "lsp-role"; - description - "Label switched path is an egress (tailend) - LSP"; - } - - identity TRANSIT { - base "lsp-role"; - description - "Label switched path is a transit LSP"; - } - - - identity tunnel-type { - description - "Base identity from which specific tunnel types are - derived."; - } - - identity P2P { - base tunnel-type; - description - "TE point-to-point tunnel type."; - } - - identity P2MP { - base tunnel-type; - description - "TE point-to-multipoint tunnel type."; - } - - - identity lsp-oper-status { - description - "Base identity for LSP operational status"; - } - - identity DOWN { - base "lsp-oper-status"; - description - "LSP is operationally down or out of service"; - } - - identity UP { - base "lsp-oper-status"; - description - "LSP is operationally active and available - for traffic."; - } - - identity tunnel-admin-status { - description - "Base identity for tunnel administrative status"; - } - - identity ADMIN_DOWN { - base "tunnel-admin-status"; - description - "LSP is administratively down"; - } - - identity ADMIN_UP { - base "tunnel-admin-status"; - description - "LSP is administratively up"; - } - - identity null-label-type { - description - "Base identity from which specific null-label types are - derived."; - } - - identity EXPLICIT { - base "null-label-type"; - description - "Explicit null label is used."; - } - - identity IMPLICIT { - base "null-label-type"; - description - "Implicit null label is used."; - } - - - // typedef statements - typedef mpls-label { - type union { - type uint32 { - range 16..1048575; - } - type enumeration { - enum IPV4_EXPLICIT_NULL { - value 0; - description - "valid at the bottom of the label stack, - indicates that stack must be popped and packet forwarded - based on IPv4 header"; - } - enum ROUTER_ALERT { - value 1; - description - "allowed anywhere in the label stack except - the bottom, local router delivers packet to the local CPU - when this label is at the top of the stack"; - } - enum IPV6_EXPLICIT_NULL { - value 2; - description - "valid at the bottom of the label stack, - indicates that stack must be popped and packet forwarded - based on IPv6 header"; - } - enum IMPLICIT_NULL { - value 3; - description - "assigned by local LSR but not carried in - packets"; - } - enum ENTROPY_LABEL_INDICATOR { - value 7; - description - "Entropy label indicator, to allow an LSR - to distinguish between entropy label and applicaiton - labels RFC 6790"; - } - } - } - description - "type for MPLS label value encoding"; - reference "RFC 3032 - MPLS Label Stack Encoding"; - } - - typedef tunnel-type { - type enumeration { - enum P2P { - description - "point-to-point label-switched-path"; - } - enum P2MP { - description - "point-to-multipoint label-switched-path"; - } - enum MP2MP { - description - "multipoint-to-multipoint label-switched-path"; - } - } - description - "defines the tunnel type for the LSP"; - reference - "RFC 6388 - Label Distribution Protocol Extensions for - Point-to-Multipoint and Multipoint-to-Multipoint Label Switched - Paths - RFC 4875 - Extensions to Resource Reservation Protocol - - Traffic Engineering (RSVP-TE) for Point-to-Multipoint TE - Label Switched Paths (LSPs)"; - } - - typedef bandwidth-kbps { - type uint64; - units kbps; - description - "Bandwidth values expressed in kilobits per second"; - } - - typedef bandwidth-mbps { - type uint64; - units mbps; - description - "Bandwidth values expressed in megabits per second"; - } - - typedef bandwidth-gbps { - type uint64; - units gbps; - description - "Bandwidth values expressed in gigabits per second"; - } - - // grouping statements - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls.yang b/yang/modules/cisco-ios-xr/631/openconfig-mpls.yang deleted file mode 100755 index b76e6da..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls.yang +++ /dev/null @@ -1,607 +0,0 @@ -module openconfig-mpls { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/mpls"; - - prefix "mpls"; - - - // import some basic types - import openconfig-mpls-types { prefix mplst; } - import openconfig-mpls-rsvp { prefix rsvp; } - import openconfig-mpls-sr { prefix sr; } - import openconfig-mpls-ldp { prefix ldp; } - import openconfig-types { prefix oc-types; } - import cisco-xr-openconfig-interfaces-types { prefix ocif; } - import openconfig-extensions { prefix oc-ext; } - - // include submodules - include openconfig-mpls-te; - include openconfig-mpls-igp; - include openconfig-mpls-static; - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module provides data definitions for configuration of - Multiprotocol Label Switching (MPLS) and associated protocols for - signaling and traffic engineering. - - RFC 3031: Multiprotocol Label Switching Architecture - - The MPLS / TE data model consists of several modules and - submodules as shown below. The top-level MPLS module describes - the overall framework. Three types of LSPs are supported: - - i) traffic-engineered (or constrained-path) - - ii) IGP-congruent (LSPs that follow the IGP path) - - iii) static LSPs which are not signaled - - The structure of each of these LSP configurations is defined in - corresponding submodules. Companion modules define the relevant - configuration and operational data specific to key signaling - protocols used in operational practice. - - - +-------+ - +---------------->| MPLS |<--------------+ - | +-------+ | - | ^ | - | | | - +----+-----+ +--------+-------+ +-----+-----+ - | TE LSPs | | IGP-based LSPs | |static LSPs| - | | | | | | - +----------+ +----------------+ +-----------+ - ^ ^ ^ ^ - | +----------------+ | +--------+ - | | | | - | +------+ +-+---+-+ +--+--+ - +---+ RSVP | |SEGMENT| | LDP | - +------+ |ROUTING| +-----+ - +-------+ - "; - - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { - description - "Initial public release of MPLS models"; - reference "0.2.1"; - } - - revision "2015-10-14" { - description - "Work in progress"; - reference "0.2.0"; - } - - // feature statements - - // identity statements - - - // grouping statements - - grouping mpls-admin-group_config { - description - "configuration data for MPLS link admin groups"; - - leaf admin-group-name { - type string; - description - "name for mpls admin-group"; - } - - leaf bit-position { - type uint32; - description - "bit-position value for mpls admin-group. The value - for the admin group is an integer that represents one - of the bit positions in the admin-group bitmask. Values - between 0 and 31 are interpreted as the original limit - of 32 admin groups. Values >=32 are interpreted as - extended admin group values as per RFC7308."; - } - - } - - grouping mpls-admin-groups-top { - - description - "top-level mpls admin-groups config - and state containers"; - - container mpls-admin-groups { - description - "Top-level container for admin-groups configuration - and state"; - - list admin-group { - key admin-group-name; - description - "configuration of value to name mapping - for mpls affinities/admin-groups"; - - leaf admin-group-name { - type leafref { - path "../mpls:config/mpls:admin-group-name"; - } - description - "name for mpls admin-group"; - } - container config { - description - "Configurable items for admin-groups"; - uses mpls-admin-group_config; - } - - container state { - description - "Operational state for admin-groups"; - uses mpls-admin-group_config; - } - } - } - } - - grouping mpls-te-igp-flooding-bandwidth_config { - description - "Configurable items for igp flooding bandwidth - threshold configuration."; - leaf threshold-type { - type enumeration { - enum DELTA { - description - "DELTA indicates that the local - system should flood IGP updates when a - change in reserved bandwidth >= the specified - delta occurs on the interface."; - } - enum THRESHOLD-CROSSED { - description - "THRESHOLD-CROSSED indicates that - the local system should trigger an update (and - hence flood) the reserved bandwidth when the - reserved bandwidth changes such that it crosses, - or becomes equal to one of the threshold values."; - } - } - description - "The type of threshold that should be used to specify the - values at which bandwidth is flooded. DELTA indicates that - the local system should flood IGP updates when a change in - reserved bandwidth >= the specified delta occurs on the - interface. Where THRESHOLD-CROSSED is specified, the local - system should trigger an update (and hence flood) the - reserved bandwidth when the reserved bandwidth changes such - that it crosses, or becomes equal to one of the threshold - values"; - } - - leaf delta-percentage { - when "../threshold-type = 'DELTA'" { - description - "The percentage delta can only be specified when the - threshold type is specified to be a percentage delta of - the reserved bandwidth"; - } - type oc-types:percentage; - description - "The percentage of the maximum-reservable-bandwidth - considered as the delta that results in an IGP update - being flooded"; - } - - leaf threshold-specification { - when "../threshold-type = 'THRESHOLD-CROSSED'" { - description - "The selection of whether mirrored or separate threshold - values are to be used requires user specified thresholds to - be set"; - } - type enumeration { - enum MIRRORED-UP-DOWN { - description - "MIRRORED-UP-DOWN indicates that a single set of - threshold values should be used for both increasing - and decreasing bandwidth when determining whether - to trigger updated bandwidth values to be flooded - in the IGP TE extensions."; - } - enum SEPARATE-UP-DOWN { - description - "SEPARATE-UP-DOWN indicates that a separate - threshold values should be used for the increasing - and decreasing bandwidth when determining whether - to trigger updated bandwidth values to be flooded - in the IGP TE extensions."; - } - } - description - "This value specifies whether a single set of threshold - values should be used for both increasing and decreasing - bandwidth when determining whether to trigger updated - bandwidth values to be flooded in the IGP TE extensions. - MIRRORED-UP-DOWN indicates that a single value (or set of - values) should be used for both increasing and decreasing - values, where SEPARATE-UP-DOWN specifies that the increasing - and decreasing values will be separately specified"; - } - - leaf-list up-thresholds { - when "../threshold-type = 'THRESHOLD-CROSSED'" + - "and ../threshold-specification = 'SEPARATE-UP-DOWN'" { - description - "A list of up-thresholds can only be specified when the - bandwidth update is triggered based on crossing a - threshold and separate up and down thresholds are - required"; - } - type oc-types:percentage; - description - "The thresholds (expressed as a percentage of the maximum - reservable bandwidth) at which bandwidth updates are to be - triggered when the bandwidth is increasing."; - } - - leaf-list down-thresholds { - when "../threshold-type = 'THRESHOLD-CROSSED'" + - "and ../threshold-specification = 'SEPARATE-UP-DOWN'" { - description - "A list of down-thresholds can only be specified when the - bandwidth update is triggered based on crossing a - threshold and separate up and down thresholds are - required"; - } - type oc-types:percentage; - description - "The thresholds (expressed as a percentage of the maximum - reservable bandwidth) at which bandwidth updates are to be - triggered when the bandwidth is decreasing."; - } - - leaf-list up-down-thresholds { - when "../threshold-type = 'THRESHOLD-CROSSED'" + - "and ../threshold-specification = 'MIRRORED-UP-DOWN'" { - description - "A list of thresholds corresponding to both increasing - and decreasing bandwidths can be specified only when an - update is triggered based on crossing a threshold, and - the same up and down thresholds are required."; - } - type oc-types:percentage; - description - "The thresholds (expressed as a percentage of the maximum - reservable bandwidth of the interface) at which bandwidth - updates are flooded - used both when the bandwidth is - increasing and decreasing"; - } - } - - - grouping mpls-te-igp-flooding-bandwidth { - description - "Top level group for traffic engineering - database flooding options"; - container igp-flooding-bandwidth { - description - "Interface bandwidth change percentages - that trigger update events into the IGP traffic - engineering database (TED)"; - container config { - description - "Configuration parameters for TED - update threshold "; - uses mpls-te-igp-flooding-bandwidth_config; - } - container state { - config false; - description - "State parameters for TED update threshold "; - uses mpls-te-igp-flooding-bandwidth_config; - } - } - } - - - grouping te-lsp-delay_config { - description - "Group for the timers goerning the delay - in installation and cleanup of TE LSPs"; - - leaf install-delay { - type uint16 { - range 0..3600; - } - units seconds; - description - "delay the use of newly installed te lsp for a - specified amount of time."; - } - - leaf cleanup-delay { - type uint16; - units seconds; - description - "delay the removal of old te lsp for a specified - amount of time"; - } - } - - grouping te-interface-attributes-top { - description - "Top level grouping for attributes - for TE interfaces."; - - list interface { - key name; - description - "List of TE interfaces"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "The interface name"; - } - - container config { - description - "Configuration parameters related to TE interfaces:"; - uses te-interface-attributes_config; - } - - container state { - config false; - description - "State parameters related to TE interfaces"; - uses te-interface-attributes_config; - } - - uses mpls-te-igp-flooding-bandwidth; - } - } - - grouping te-interface-attributes_config { - description - "global level definitions for interfaces - on which TE is run"; - - leaf name { - type ocif:interface-ref; - description - "reference to interface name"; - } - - leaf te-metric { - type uint32; - description - "TE specific metric for the link"; - } - - leaf-list srlg-membership { - type leafref { - path "../../../../te-global-attributes/srlg/srlg/name"; - } - description - "list of references to named shared risk link groups that the - interface belongs to."; - } - - leaf-list admin-group { - type string; - description - "list of admin groups (by name) on the interface"; - } - } - - grouping mpls-te-lsp-timers { - description - "Grouping for traffic engineering timers"; - container te-lsp-timers { - description - "Definition for delays associated with setup - and cleanup of TE LSPs"; - - container config { - description - "Configuration parameters related - to timers for TE LSPs"; - - uses te-lsp-delay_config; - uses te-tunnel-reoptimize_config; - } - - container state { - config false; - description - "State related to timers for TE LSPs"; - - uses te-lsp-delay_config; - uses te-tunnel-reoptimize_config; - } - } - } - - grouping mpls-global_config { - description - "Definition of global MPLS configuration parameters"; - - leaf null-label { - type identityref { - base mplst:null-label-type; - } - default mplst:IMPLICIT; - description - "The null-label type used, implicit or explicit"; - } - } - - grouping mpls-global-top { - description - "Top level grouping for global MPLS configuration "; - - container config { - description - "Top level global MPLS configuration"; - uses mpls-global_config; - } - - container state { - config false; - description - "Top level global MPLS state"; - uses mpls-global_config; - } - } - - grouping mpls-interfaces-top { - description - "Top level grouping for attributes - for MPLS-enabled interfaces."; - container mpls-interface-attributes { - description - "Parameters related to MPLS interfaces"; - list interface { - key name; - description - "List of TE interfaces"; - - leaf name { - type leafref { - path "../config/name"; - require-instance true; - } - description - "The interface name"; - } - - container config { - description - "Configuration parameters related to MPLS interfaces:"; - uses mpls-interface-attributes-config; - } - - container state { - config false; - description - "State parameters related to TE interfaces"; - uses mpls-interface-attributes-config; - } - } - } - } - - grouping mpls-interface-attributes-config { - description - "global level definitions for interfaces - on which MPLS is run"; - - leaf name { - type ocif:interface-ref; - description - "reference to interface name"; - } - - leaf mpls-enabled { - type boolean; - default false; - description - "Enable MPLS forwarding on this interfacek"; - } - } - - -container mpls { - presence " - top-level container for MPLS config and operational - state"; - - description - "Anchor point for mpls configuration and operational - data"; - - container global { - // entropy label support, label ranges will be added here. - description - "general mpls configuration applicable to any - type of LSP and signaling protocol - label ranges, - entropy label supportmay be added here"; - uses mpls-global-top; - uses mpls-interfaces-top; - } - - container te-global-attributes { - description - "traffic-engineering global attributes"; - uses mpls-te-srlg-top; - uses mpls-te-igp-flooding-bandwidth; - uses mpls-admin-groups-top; - uses mpls-te-lsp-timers; - } - - container te-interface-attributes { - description - "traffic engineering attributes specific - for interfaces"; - uses te-interface-attributes-top; - } - - container signaling-protocols { - description - "top-level signaling protocol configuration"; - - uses rsvp:rsvp-global; - uses sr:sr-global; - uses ldp:ldp-global; - } - - container lsps { - description - "LSP definitions and configuration"; - - container constrained-path { - description - "traffic-engineered LSPs supporting different - path computation and signaling methods"; - uses explicit-paths_top; - uses te-tunnels_top; - } - - container unconstrained-path { - description - "LSPs that use the IGP-determined path, i.e., non - traffic-engineered, or non constrained-path"; - - uses igp-lsp-common; - uses igp-lsp-setup; - } - - container static-lsps { - description - "statically configured LSPs, without dynamic - signaling"; - - uses static-lsp-main; - } - } - } - - // augment statements - - // rpc statements - - // notification statements -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-optical-amplifier.yang b/yang/modules/cisco-ios-xr/631/openconfig-optical-amplifier.yang deleted file mode 100755 index 02b668c..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-optical-amplifier.yang +++ /dev/null @@ -1,403 +0,0 @@ -module openconfig-optical-amplifier { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/optical-amplfier"; - - prefix "oc-opt-amp"; - - import openconfig-platform { prefix oc-platform; } - import openconfig-transport-line-common { prefix oc-line-com; } - import openconfig-types { prefix oc-types; } - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This model describes configuration and operational state data - for optical amplifiers, deployed as part of a transport - line system."; - - oc-ext:openconfig-version "0.3.0"; - - revision "2017-07-08" { - description - "Add monitor port type and refs to hw ports, "; - reference "0.3.0"; - } - - revision "2017-03-28" { - description - "Added min/max/avg stats, status for media channels, OCM, APS"; - reference "0.2.0"; - } - - revision "2016-03-31" { - description - "Initial public release"; - reference "0.1.0"; - } - - - // extension statements - - // feature statements - - // identity statements - - identity OPTICAL_AMPLIFIER_TYPE { - description - "Type definition for different types of optical amplifiers"; - } - - identity EDFA { - base OPTICAL_AMPLIFIER_TYPE; - description - "Erbium doped fiber amplifer (EDFA)"; - } - - identity FORWARD_RAMAN { - base OPTICAL_AMPLIFIER_TYPE; - description - "Forward pumping Raman amplifier"; - } - - identity BACKWARD_RAMAN { - base OPTICAL_AMPLIFIER_TYPE; - description - "Backward pumping Raman amplifier"; - } - - identity HYBRID { - base OPTICAL_AMPLIFIER_TYPE; - description - "Hybrid backward pumping Raman + EDFA amplifier"; - } - - identity GAIN_RANGE { - description - "Base type for expressing the gain range for a switched gain - amplifier. The gain range is expressed as a generic setting, - e.g., LOW/MID/HIGH. The actual db range will be determined - by the implementation."; - } - - identity LOW_GAIN_RANGE { - base GAIN_RANGE; - description - "LOW gain range setting"; - } - - identity MID_GAIN_RANGE { - base GAIN_RANGE; - description - "MID gain range setting"; - } - - identity HIGH_GAIN_RANGE { - base GAIN_RANGE; - description - "HIGH gain range setting"; - } - - identity FIXED_GAIN_RANGE { - base GAIN_RANGE; - description - "Fixed or non-switched gain amplfier"; - } - - identity OPTICAL_AMPLIFIER_MODE { - description - "Type definition for different types of optical amplifier - operating modes"; - } - - identity CONSTANT_POWER { - base OPTICAL_AMPLIFIER_MODE; - description - "Constant power mode"; - } - - identity CONSTANT_GAIN { - base OPTICAL_AMPLIFIER_MODE; - description - "Constant gain mode"; - } - - - // grouping statements - - grouping optical-amplifier-config { - description - "Configuration data for optical amplifiers"; - - leaf name { - type string; - description - "User-defined name assigned to identify a specific amplifier - in the device"; - } - - leaf type { - type identityref { - base OPTICAL_AMPLIFIER_TYPE; - } - description - "Type of the amplifier"; - } - - leaf target-gain { - type decimal64 { - fraction-digits 2; - range 0..max; - } - units dB; - description - "Positive gain applied by the amplifier."; - } - - leaf target-gain-tilt { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "Gain tilt control"; - } - - leaf gain-range { - type identityref { - base GAIN_RANGE; - } - description - "Selected gain range. The gain range is a platform-defined - value indicating the switched gain amplifier setting"; - } - - leaf amp-mode { - type identityref { - base OPTICAL_AMPLIFIER_MODE; - } - description - "The operating mode of the amplifier"; - } - - leaf target-output-power { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "Output optical power of the amplifier."; - } - - leaf enabled { - type boolean; - description - "Turns power on / off to the amplifiers gain module."; - } - - } - - grouping optical-amplifier-state { - description - "Operational state data for optical amplifiers"; - - leaf ingress-port { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to system-supplied name of the amplifier ingress - port. This leaf is only valid for ports of type INGRESS."; - } - - leaf egress-port { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to system-supplied name of the amplifier egress - port. This leaf is only valid for ports of type EGRESS."; - } - - container actual-gain { - description - "The actual gain applied by the amplifier in units of - 0.01dB. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dB; - } - - container actual-gain-tilt { - description - "The actual tilt applied by the amplifier in units of - 0.01dB. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dB; - } - - container input-power-total { - description - "The total input optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container input-power-c-band { - description - "The C band (consisting of approximately 191 to 195 THz or - 1530nm to 1565 nm) input optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container input-power-l-band { - description - "The L band (consisting of approximately 184 to 191 THz or - 1565 to 1625 nm) input optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container output-power-total { - description - "The total output optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container output-power-c-band { - description - "The C band (consisting of approximately 191 to 195 THz or - 1530nm to 1565 nm)output optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container output-power-l-band { - description - "The L band (consisting of approximately 184 to 191 THz or - 1565 to 1625 nm)output optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container laser-bias-current { - description - "The current applied by the system to the transmit laser to - achieve the output power. The current is expressed in mA - with up to two decimal precision. If avg/min/max statistics - are not supported, just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-mA; - } - - container optical-return-loss { - description - "The optical return loss (ORL) is the ratio of the light - reflected back into the port to the light launched out of - the port. ORL is in units of 0.01dBm. If avg/min/max - statistics are not supported, just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - } - - grouping optical-amplifier-top { - description - "Top-level grouping for optical amplifier data"; - - container optical-amplifier { - description - "Enclosing container for amplifiers and supervisory channels"; - - container amplifiers { - description - "Enclosing container for list of amplifiers"; - - list amplifier { - key "name"; - description - "List of optical amplifiers present in the device"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the name of the amplifier"; - } - - container config { - description - "Configuration data for the amplifier"; - - uses optical-amplifier-config; - } - - container state { - - config false; - - description - "Operational state data for the amplifier"; - - uses optical-amplifier-config; - uses optical-amplifier-state; - } - } - } - - container supervisory-channels { - description - "Enclosing container for list of supervisory channels"; - - list supervisory-channel { - key "interface"; - description - "List of supervisory channels"; - - leaf interface { - type leafref { - path "../config/interface"; - } - description - "Reference to the interface of the supervisory channel"; - } - - uses oc-line-com:optical-osc-top; - } - } - } - } - - // data definition statements - - uses optical-amplifier-top; - - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-platform-transceiver.yang b/yang/modules/cisco-ios-xr/631/openconfig-platform-transceiver.yang deleted file mode 100644 index d5bb2a7..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-platform-transceiver.yang +++ /dev/null @@ -1,409 +0,0 @@ -module openconfig-platform-transceiver { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/platform/transceiver"; - - prefix "oc-transceiver"; - - // import some basic types - import openconfig-platform { prefix oc-platform; } - import openconfig-transport-types { prefix oc-opt-types; } - import openconfig-types { prefix oc-types; } - import openconfig-extensions { prefix oc-ext; } - import ietf-yang-types { prefix yang; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module defines configuration and operational state data - for transceivers (i.e., pluggable optics). The module should be - used in conjunction with the platform model where other - physical entity data are represented. - - In the platform model, a component of type=TRANSCEIVER is - expected to be a subcomponent of a PORT component. This - module defines a concrete schema for the associated data for - components with type=TRANSCEIVER."; - - oc-ext:openconfig-version "0.1.0"; - - revision "2016-05-24" { - description - "Initial public release"; - reference "0.1.0"; - } - - // identity statements - - // typedef statements - - // grouping statements - - grouping optical-power-state { - description - "Reusable leaves related to optical power state -- these - are read-only state values. If avg/min/max statistics are - not supported, the target is expected to just supply the - instant value"; - - container output-power { - description - "The output optical power of this port in units of 0.01dBm. - If the port is an aggregate of multiple physical channels, - this attribute is the total power or sum of all channels. If - avg/min/max statistics are not supported, the target is - expected to just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container input-power { - description - "The input optical power of this port in units of 0.01dBm. - If the port is an aggregate of multiple physical channels, - this attribute is the total power or sum of all channels. - If avg/min/max statistics are not supported, the target is - expected to just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container laser-bias-current { - description - "The current applied by the system to the transmit laser to - achieve the output power. The current is expressed in mA - with up to one decimal precision. If avg/min/max statistics - are not supported, the target is expected to just supply - the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - } - - grouping output-optical-frequency { - description - "Reusable leaves related to optical output power -- this is - typically configurable on line side and read-only on the - client-side"; - - leaf output-frequency { - type oc-opt-types:frequency-type; - description - "The frequency in MHz of the individual physical channel - (e.g. ITU C50 - 195.0THz and would be reported as - 195,000,000 MHz in this model). This attribute is not - configurable on most client ports."; - } - } - - - grouping physical-channel-config { - description - "Configuration data for physical client channels"; - - leaf index { - type uint16 { - range 0..max; - } - description - "Index of the physical channnel or lane within a physical - client port"; - } - - leaf description { - type string; - description - "Text description for the client physical channel"; - } - - leaf tx-laser { - type boolean; - description - "Enable (true) or disable (false) the transmit label for the - channel"; - } - - leaf target-output-power { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "Target output optical power level of the optical channel, - expressed in increments of 0.01 dBm (decibel-milliwats)"; - } - } - - grouping physical-channel-state { - description - "Operational state data for client channels."; - - uses output-optical-frequency; - uses optical-power-state; - } - - grouping physical-channel-top { - description - "Top-level grouping for physical client channels"; - - container physical-channels { - description - "Enclosing container for client channels"; - - list channel { - key "index"; - description - "List of client channels, keyed by index within a physical - client port. A physical port with a single channel would - have a single zero-indexed element"; - - leaf index { - type leafref { - path "../config/index"; - } - description - "Reference to the index number of the channel"; - } - - container config { - description - "Configuration data for physical channels"; - - uses physical-channel-config; - } - - container state { - - config false; - - description - "Operational state data for channels"; - - uses physical-channel-config; - uses physical-channel-state; - } - } - } - } - - - grouping port-transceiver-config { - description - "Configuration data for client port transceivers"; - - leaf enabled { - type boolean; - description - "Turns power on / off to the transceiver -- provides a means - to power on/off the transceiver (in the case of SFP, SFP+, - QSFP,...) or enable high-power mode (in the case of CFP, - CFP2, CFP4) and is optionally supported (device can choose to - always enable). True = power on / high power, False = - powered off"; - } - - leaf form-factor { - type identityref { - base oc-opt-types:TRANSCEIVER_FORM_FACTOR_TYPE; - } - description - "Indicates the type of optical transceiver used on this - port. If the client port is built into the device and not - plugable, then non-pluggable is the corresponding state. If - a device port supports multiple form factors (e.g. QSFP28 - and QSFP+, then the value of the transceiver installed shall - be reported. If no transceiver is present, then the value of - the highest rate form factor shall be reported - (QSFP28, for example). - - The form factor is included in configuration data to allow - pre-configuring a device with the expected type of - transceiver ahead of deployment. The corresponding state - leaf should reflect the actual transceiver type plugged into - the system."; - } - } - - grouping port-transceiver-state { - description - "Operational state data for client port transceivers"; - - leaf present { - type enumeration { - enum PRESENT { - description - "Transceiver is present on the port"; - } - enum NOT_PRESENT { - description - "Transceiver is not present on the port"; - } - } - description - "Indicates whether a transceiver is present in - the specified client port."; - } - - leaf connector-type { - type identityref { - base oc-opt-types:FIBER_CONNECTOR_TYPE; - } - description - "Connector type used on this port"; - } - - leaf internal-temp { - type int16 { - range -40..125; - } - description - "Internally measured temperature in degrees Celsius. MSA - valid range is between -40 and +125C. Accuracy shall be - better than +/- 3 degC over the whole temperature range."; - } - - leaf vendor { - type string { - length 1..16; - } - description - "Full name of transceiver vendor. 16-octet field that - contains ASCII characters, left-aligned and padded on the - right with ASCII spaces (20h)"; - } - - leaf vendor-part { - type string { - length 1..16; - } - description - "Transceiver vendor's part number. 16-octet field that - contains ASCII characters, left-aligned and padded on the - right with ASCII spaces (20h). If part number is undefined, - all 16 octets = 0h"; - } - - leaf vendor-rev { - type string { - length 1..2; - } - description - "Transceiver vendor's revision number. 2-octet field that - contains ASCII characters, left-aligned and padded on the - right with ASCII spaces (20h)"; - } - - //TODO: these compliance code leaves should be active based on - //the type of port - leaf ethernet-compliance-code { - type identityref { - base oc-opt-types:ETHERNET_PMD_TYPE; - } - description - "Ethernet PMD that the transceiver supports. The SFF/QSFP - MSAs have registers for this and CFP MSA has similar."; - } - - leaf sonet-sdh-compliance-code { - type identityref { - base oc-opt-types:SONET_APPLICATION_CODE; - } - description - "SONET/SDH application code supported by the port"; - } - - leaf otn-compliance-code { - type identityref { - base oc-opt-types:OTN_APPLICATION_CODE; - } - description - "OTN application code supported by the port"; - } - - leaf serial-no { - type string { - length 1..16; - } - description - "Transceiver serial number. 16-octet field that contains - ASCII characters, left-aligned and padded on the right with - ASCII spaces (20h). If part serial number is undefined, all - 16 octets = 0h"; - } - - leaf date-code { - type yang:date-and-time; - description - "Representation of the transceiver date code, typically - stored as YYMMDD. The time portion of the value is - undefined and not intended to be read."; - } - - leaf fault-condition { - type boolean; - description - "Indicates if a fault condition exists in the transceiver"; - } - - } - - grouping port-transceiver-top { - description - "Top-level grouping for client port transceiver data"; - - container transceiver { - description - "Top-level container for client port transceiver data"; - - container config { - description - "Configuration data for client port transceivers"; - - uses port-transceiver-config; - } - - container state { - - config false; - - description - "Operational state data for client port transceivers"; - - uses port-transceiver-config; - uses port-transceiver-state; - } - // physical channels are associated with a transceiver - // component - uses physical-channel-top; - } - } - - // data definition statements - - // augment statements - - augment "/oc-platform:components/oc-platform:component" { - when "/oc-platform:components/oc-platform:component/" + - "oc-platform:state/oc-platform:type = 'TRANSCEIVER'" { - description - "Augment is active when component is of type TRANSCEIVER"; - } - description - "Adding transceiver data to physical inventory"; - - uses port-transceiver-top; - } - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-platform.yang b/yang/modules/cisco-ios-xr/631/openconfig-platform.yang deleted file mode 100644 index d041c39..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-platform.yang +++ /dev/null @@ -1,354 +0,0 @@ -module openconfig-platform { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/platform"; - - prefix "oc-platform"; - - import openconfig-platform-types { prefix oc-platform-types; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module defines a data model for representing a system - component inventory, which can include hardware or software - elements arranged in an arbitrary structure. The primary - relationship supported by the model is containment, e.g., - components containing subcomponents. - It is expected that this model reflects every field replacable - unit on the device at a minimum (i.e., additional information - may be supplied about non-replacable components). - Every element in the inventory is termed a 'component' with each - component expected to have a unique name and type, and optionally - a unique system-assigned identifier and FRU number. The - uniqueness is guaranteed by the system within the device. - Components may have properties defined by the system that are - modeled as a list of key-value pairs. These may or may not be - user-configurable. The model provides a flag for the system - to optionally indicate which properties are user configurable. - Each component also has a list of 'subcomponents' which are - references to other components. Appearance in a list of - subcomponents indicates a containment relationship as described - above. For example, a linecard component may have a list of - references to port components that reside on the linecard. - This schema is generic to allow devices to express their own - platform-specific structure. It may be augmented by additional - component type-specific schemas that provide a common structure - for well-known component types. In these cases, the system is - expected to populate the common component schema, and may - optionally also represent the component and its properties in the - generic structure. - The properties for each component may include dynamic values, - e.g., in the 'state' part of the schema. For example, a CPU - component may report its utilization, temperature, or other - physical properties. The intent is to capture all platform- - specific physical data in one location, including inventory - (presence or absence of a component) and state (physical - attributes or status)."; - - oc-ext:openconfig-version "0.4.0"; - - revision "2016-06-06" { - description - "Public release"; - reference "0.4.0"; - } - - // grouping statements - - - grouping platform-component-properties-config { - description - "System-defined configuration data for component properties"; - - leaf name { - type string; - description - "System-supplied name of the property -- this is typically - non-configurable"; - } - - leaf value { - type union { - type string; - type boolean; - type int64; - type uint64; - type decimal64 { - fraction-digits 2; - } - } - description - "Property values can take on a variety of types. Signed and - unsigned integer types may be provided in smaller sizes, - e.g., int8, uint16, etc."; - } - } - - grouping platform-component-properties-state { - description - "Operational state data for component properties"; - - leaf configurable { - type boolean; - description - "Indication whether the property is user-configurable"; - } - } - - grouping platform-component-properties-top { - description - "Top-level grouping "; - - container properties { - description - "Enclosing container "; - - list property { - key "name"; - description - "List of system properties for the component"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the property name."; - } - - container config { - description - "Configuration data for each property"; - - uses platform-component-properties-config; - } - - container state { - - config false; - - description - "Operational state data for each property"; - - uses platform-component-properties-config; - uses platform-component-properties-state; - } - } - } - } - - grouping platform-subcomponent-ref-config { - description - "Configuration data for subcomponent references"; - - leaf name { - type leafref { - path "../../../../../component/config/name"; - } - description - "Reference to the name of the subcomponent"; - } - } - - grouping platform-subcomponent-ref-state { - description - "Operational state data for subcomponent references"; - - } - - grouping platform-subcomponent-ref-top { - description - "Top-level grouping for list of subcomponent references"; - - container subcomponents { - description - "Enclosing container for subcomponent references"; - - list subcomponent { - key "name"; - description - "List of subcomponent references"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the name list key"; - } - - container config { - description - "Configuration data "; - - uses platform-subcomponent-ref-config; - } - - container state { - - config false; - - description - "Operational state data "; - - uses platform-subcomponent-ref-config; - uses platform-subcomponent-ref-state; - } - } - } - } - - grouping platform-component-config { - description - "Configuration data for components"; - - leaf name { - type string; - description - "Device name for the component -- this will not be a - configurable parameter on many implementations"; - } - } - - grouping platform-component-state { - description - "Operational state data for device components."; - - leaf type { - type union { - type identityref { - base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; - } - type identityref { - base oc-platform-types:OPENCONFIG_SOFTWARE_COMPONENT; - } - } - description - "Type of component as identified by the system"; - } - - leaf id { - type string; - description - "Unique identifier assigned by the system for the - component"; - } - - leaf description { - type string; - description - "System-supplied description of the component"; - } - - leaf mfg-name { - type string; - description - "System-supplied identifier for the manufacturer of the - component. This data is particularly useful when a - component manufacturer is different than the overall - device vendor."; - } - - leaf version { - type string; - description - "System-defined version string for a hardware, firmware, - or software component."; - } - - leaf serial-no { - type string; - description - "System-assigned serial number of the component."; - } - - leaf part-no { - type string; - description - "System-assigned part number for the component. This should - be present in particular if the component is also an FRU - (field replacable unit)"; - } - } - - grouping platform-component-top { - description - "Top-level grouping for components in the device inventory"; - - container components { - description - "Enclosing container for the components in the system."; - - list component { - key "name"; - description - "List of components, keyed by component name."; - - leaf name { - type leafref { - path "../config/name"; - } - description - "References the component name"; - } - - container config { - description - "Configuration data for each component"; - - uses platform-component-config; - } - - container state { - - config false; - - description - "Operational state data for each component"; - - uses platform-component-config; - uses platform-component-state; - } - - uses platform-component-properties-top; - uses platform-subcomponent-ref-top; - } - } - } - - // data definition statements - - uses platform-component-top; - - - // augments - - augment "/oc-if:interfaces/oc-if:interface/oc-if:state" { - //TODO: add 'when' or other condition to make sure this - //leafref points to a component of type PORT. - description - "Adds a reference from the base interface to the corresponding - port in the device inventory."; - - leaf hardware-port { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "References the hardware port in the device inventory"; - } - } - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-policy-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-policy-types.yang deleted file mode 100755 index 8e1fe36..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-policy-types.yang +++ /dev/null @@ -1,178 +0,0 @@ -module openconfig-policy-types { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/policy-types"; - - prefix "oc-pol-types"; - - // import some basic types - import ietf-yang-types { prefix yang; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module contains general data definitions for use in routing - policy. It can be imported by modules that contain protocol- - specific policy conditions and actions."; - - oc-ext:openconfig-version "2.0.1"; - - revision "2016-05-12" { - description - "OpenConfig public release"; - reference "2.0.1"; - } - - // identity statements - - identity ATTRIBUTE_COMPARISON { - description - "base type for supported comparison operators on route - attributes"; - } - - identity ATTRIBUTE_EQ { - base ATTRIBUTE_COMPARISON; - description "== comparison"; - } - - identity ATTRIBUTE_GE { - base ATTRIBUTE_COMPARISON; - description ">= comparison"; - } - - identity ATTRIBUTE_LE { - base ATTRIBUTE_COMPARISON; - description "<= comparison"; - } - - typedef match-set-options-type { - type enumeration { - enum ANY { - description "match is true if given value matches any member - of the defined set"; - } - enum ALL { - description "match is true if given value matches all - members of the defined set"; - } - enum INVERT { - description "match is true if given value does not match any - member of the defined set"; - } - } - default ANY; - description - "Options that govern the behavior of a match statement. The - default behavior is ANY, i.e., the given value matches any - of the members of the defined set"; - } - - typedef match-set-options-restricted-type { - type enumeration { - enum ANY { - description "match is true if given value matches any member - of the defined set"; - } - enum INVERT { - description "match is true if given value does not match any - member of the defined set"; - } - } - default ANY; - description - "Options that govern the behavior of a match statement. The - default behavior is ANY, i.e., the given value matches any - of the members of the defined set. Note this type is a - restricted version of the match-set-options-type."; - //TODO: restriction on enumerated types is only allowed in - //YANG 1.1. Until then, we will require this additional type - } - - grouping attribute-compare-operators { - description "common definitions for comparison operations in - condition statements"; - - leaf operator { - type identityref { - base ATTRIBUTE_COMPARISON; - } - description - "type of comparison to be performed"; - } - - leaf value { - type uint32; - description - "value to compare with the community count"; - } - } - - typedef tag-type { - type union { - type uint32; - type yang:hex-string; - } - description "type for expressing route tags on a local system, - including IS-IS and OSPF; may be expressed as either decimal or - hexidecimal integer"; - reference - "RFC 2178 OSPF Version 2 - RFC 5130 A Policy Control Mechanism in IS-IS Using - Administrative Tags"; - } - - identity INSTALL_PROTOCOL_TYPE { - description - "Base type for protocols which can install prefixes into the - RIB"; - } - - identity BGP { - base INSTALL_PROTOCOL_TYPE; - description "BGP"; - reference "RFC 4271"; - } - - identity ISIS { - base INSTALL_PROTOCOL_TYPE; - description "IS-IS"; - reference "ISO/IEC 10589"; - } - - identity OSPF { - base INSTALL_PROTOCOL_TYPE; - description "OSPFv2"; - reference "RFC 2328"; - } - - identity OSPF3 { - base INSTALL_PROTOCOL_TYPE; - description "OSPFv3"; - reference "RFC 5340"; - } - - identity STATIC { - base INSTALL_PROTOCOL_TYPE; - description "Locally-installed static route"; - } - - identity DIRECTLY_CONNECTED { - base INSTALL_PROTOCOL_TYPE; - description "A directly connected route"; - } - - identity LOCAL_AGGREGATE { - base INSTALL_PROTOCOL_TYPE; - description "Locally defined aggregate route"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp-types.yang deleted file mode 100755 index 92bc35e..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp-types.yang +++ /dev/null @@ -1,149 +0,0 @@ -module openconfig-rib-bgp-types { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/rib/bgp-types"; - - prefix "oc-bgprib-types"; - - import openconfig-extensions { prefix oc-ext; } - - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "Defines identity and type defintions associated with - the OpenConfig BGP RIB modules"; - - oc-ext:openconfig-version "0.2.0"; - - revision "2016-04-11" { - description - "OpenConfig public release"; - reference "0.2.0"; - } - - identity INVALID_ROUTE_REASON { - description - "Base identity for reason code for routes that are rejected as - invalid. Some derived entities are based on BMP v3"; - reference "BGP Monitoring Protocol (draft-ietf-grow-bmp-07)"; - } - - identity INVALID_CLUSTER_LOOP { - base INVALID_ROUTE_REASON; - description - "Route was invalid due to CLUSTER_LIST loop"; - } - - identity INVALID_AS_LOOP { - base INVALID_ROUTE_REASON; - description - "Route was invalid due to AS_PATH loop"; - } - - identity INVALID_ORIGINATOR { - base INVALID_ROUTE_REASON; - description - "Route was invalid due to ORIGINATOR_ID, e.g., update has - local router as originator"; - } - - identity INVALID_CONFED { - base INVALID_ROUTE_REASON; - description - "Route was invalid due to a loop in the AS_CONFED_SEQUENCE or - AS_CONFED_SET attributes"; - } - - identity BGP_NOT_SELECTED_BESTPATH { - description - "Base identity for indicating reason a route was was not - selected by BGP route selection algorithm"; - reference - "RFC 4271 - Section 9.1"; - } - - identity LOCAL_PREF_LOWER { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route has a lower localpref attribute than current best path"; - reference - "RFC 4271 - Section 9.1.2"; - } - - identity AS_PATH_LONGER { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route has a longer AS path attribute than current best path"; - reference - "RFC 4271 - Section 9.1.2.2 (a)"; - } - - identity ORIGIN_TYPE_HIGHER { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route has a higher origin type, i.e., IGP origin is preferred - over EGP or incomplete"; - reference - "RFC 4271 - Section 9.1.2.2 (b)"; - } - - identity MED_HIGHER { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route has a higher MED, or metric, attribute than the current - best path"; - reference - "RFC 4271 - Section 9.1.2.2 (c)"; - } - - identity PREFER_EXTERNAL { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route source is via IGP, rather than EGP."; - reference - "RFC 4271 - Section 9.1.2.2 (d)"; - } - - identity NEXTHOP_COST_HIGHER { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route has a higher interior cost to the next hop."; - reference - "RFC 4271 - Section 9.1.2.2 (e)"; - } - - identity HIGHER_ROUTER_ID { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route was sent by a peer with a higher BGP Identifier value, - or router id"; - reference - "RFC 4271 - Section 9.1.2.2 (f)"; - } - - identity HIGHER_PEER_ADDRESS { - base BGP_NOT_SELECTED_BESTPATH; - description - "Route was sent by a peer with a higher IP address"; - reference - "RFC 4271 - Section 9.1.2.2 (g)"; - } - - identity BGP_NOT_SELECTED_POLICY { - description - "Base identity for reason code for routes that are rejected - due to policy"; - } - - identity REJECTED_IMPORT_POLICY { - base BGP_NOT_SELECTED_POLICY; - description - "Route was rejected after apply import policies"; - } -} \ No newline at end of file diff --git a/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp.yang b/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp.yang deleted file mode 100755 index e07f02f..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-rib-bgp.yang +++ /dev/null @@ -1,659 +0,0 @@ -module openconfig-rib-bgp { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/rib/bgp"; - - prefix "oc-bgprib"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import ietf-yang-types { prefix yang; } - import openconfig-bgp-types { prefix oc-bgpt; } - import openconfig-extensions { prefix oc-ext; } - import openconfig-rib-bgp-types { prefix oc-bgpribt; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "Defines a data model for representing BGP routing table (RIB) - contents. The model supports 5 logical RIBs per address family: - - loc-rib: This is the main BGP routing table for the local routing - instance, containing best-path selections for each prefix. The - loc-rib table may contain multiple routes for a given prefix, - with an attribute to indicate which was selected as the best - path. - - adj-rib-in-pre: This is a per-neighbor table containing the NLRI - updates received from the neighbor before any local input policy - rules or filters have been applied. This can be considered the - 'raw' updates from a given neighbor. - - adj-rib-in-post: This is a per-neighbor table containing the - routes received from the neighbor that are eligible for - best-path selection after local input policy rules have been - applied. - - adj-rib-out-pre: This is a per-neighbor table containing routes - eligible for sending (advertising) to the neighbor before output - policy rules have been applied. - - adj-rib-out-post: This is a per-neighbor table containing routes - eligible for sending (advertising) to the neighbor after output - policy rules have been applied."; - - oc-ext:openconfig-version "0.2.0"; - - revision "2016-04-11" { - description - "OpenConfig public release"; - reference "0.2.0"; - } - - - // extension statements - - // feature statements - - // identity statements - - // typedef statements - - // grouping statements - - grouping bgp-base-attributes { - description "Route attributes defined by the BGP-4 standard"; - reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; - - leaf origin { - type oc-bgpt:bgp-origin-attr-type; - description - "BGP attribute defining the origin of the path information."; - } - - leaf as-path { - type string; - //TODO: add a pattern constraint to enforce the format - //described in the description statement. - description - "String representation of the BGP AS path attribute as - concatenated AS path segments. Each segment of the AS_PATH - should be formatted as follows based on the segment type - (#### denotes a single AS number): - - AS_SEQ: #### #### ##### - AS_SET: { #### #### } - AS_CONFED_SEQUENCE: ( #### #### ) - AS_CONFED_SET: [ #### #### ] - - AS_PATH segment types are described in RFC 5065. - - In the Adj-RIB-In or Adj-RIB-Out, this leaf should show - the received or sent AS_PATH value, respectively. For - example, if the local router is not 4-byte capable, this - value should consist of 2-octet ASNs or the AS_TRANS - (AS 23456) values received or sent in route updates. - - In the Loc-RIB, this leaf should reflect the effective - AS path for the route, e.g., a 4-octet value if the - local router is 4-octet capable."; - - reference - "RFC 4271 - A Border Gateway Protocol 4 (BGP-4) - RFC 6793 - BGP Support for Four-octet AS Number Space - RFC 5065 - Autonomous System Confederations for BGP"; - } - - leaf as4-path { - type string; - description - "This string represents the AS path encoded with 4-octet - AS numbers in the optional transitive AS4_PATH attribute. - This value is populated with the received or sent attribute - in Adj-RIB-In or Adj-RIB-Out, respectively. It should not - be populated in Loc-RIB since the Loc-RIB is expected to - store the effective AS-Path in the as-path leaf regardless - of being 4-octet or 2-octet."; - reference - "RFC 6793 - BGP Support for Four-octet AS Number Space"; - } - - leaf next-hop { - type inet:ip-address; - description - "BGP next hop attribute defining the IP address of the router - that should be used as the next hop to the destination"; - } - - leaf med { - type uint32; - description - "BGP multi-exit discriminator attribute used in BGP route - selection process"; - } - - leaf local-pref { - type uint32; - description - "BGP local preference attribute sent to internal peers to - indicate"; - } - - leaf atomic-aggr { - type boolean; - description - "BGP attribute indicating that the prefix is an atomic - aggregate, i.e., the peer selected a less specific - route without selecting a more specific route that is - included in it."; - } - - container aggregator { - description - "BGP attribute indicating the prefix has been aggregated by - the specified AS and router."; - - leaf as { - type uint32; - description - "AS number of the autnonomous system that performed the - aggregation."; - } - - leaf as4 { - type uint32; - description - "AS number of the autnonomous system that performed the - aggregation (4-octet representation). This value is - populated if an upstream router is not 4-octet capable. - Its semantics are similar to the AS4_PATH optional - transitive attribute"; - reference - "RFC 6793 - BGP Support for Four-octet AS Number Space"; - } - - leaf address { - type inet:ipv4-address; - description - "IP address of the router that performed the - aggregation."; - } - } - - leaf-list community { - type oc-bgpt:bgp-std-community-type; - description - "List of standard BGP community attributes."; - } - } - - grouping bgp-extended-attributes { - description - "Additional path attributes defined by various extensions - to base BGP-4"; - - leaf originator-id { - type inet:ipv4-address; - description - "BGP attribute that provides the id as an IPv4 address - of the route reflector that created the announcement"; - reference - "RFC 4456 - BGP Route Reflection: An Alternative to Full - Mesh Internal BGP (IBGP)"; - } - - leaf-list cluster-list { - type inet:ipv4-address; - description - "Represents the reflection path that the route has passed."; - reference - "RFC 4456 - BGP Route Reflection: An Alternative to Full - Mesh Internal BGP (IBGP)"; - } - - leaf-list ext-community { - type oc-bgpt:bgp-ext-community-type; - description - "List of BGP extended community attributes"; - reference "RFC 4360 - BGP Extended Communities Attribute"; - } - - leaf aigp { - type uint64; - description - "BGP path attribute representing the accumulated IGP metric - for the path"; - reference - "RFC 7311 - The Accumulated IGP Metric Attribute for BGP"; - } - - leaf path-id { - type uint32; - description - "When the BGP speaker supports advertisement of multiple - paths for a prefix, the path identifier is used to - uniquely identify a route based on the combination of the - prefix and path id. In the Adj-RIB-In, the path-id value is - the value received in the update message. In the Loc-RIB, - if used, it should represent a locally generated path-id - value for the corresponding route. In Adj-RIB-Out, it - should be the value sent to a neighbor when add-paths is - used, i.e., the capability has been negotiated."; - reference - "draft-ietf-idr-add-paths - Advertisement of Multiple Paths - in BGP"; - } - - list unknown-attribute { - key attr-type; - description - "This list contains received attributes that are unrecognized - or unsupported by the local router. The list may be empty."; - - leaf attr-type { - type uint16; - description - "2-octet value encoding the attribute flags and the - attribute type code"; - reference - "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; - } - - leaf attr-len { - type uint16; - description - "One or two octet attribute length field indicating the - length of the attribute data in octets. If the Extended - Length attribute flag in the attribute type field is set, - the length field is 2 octets, otherwise it is 1 octet"; - reference - "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; - } - - leaf attr-value { - type binary { - length 1..65535; - } - description - "Raw attribute value data, not to exceed the length - indicated in the attr-len field. The maximum length - of the attribute data is 2^16-1 per the max value of the - attr-len field (2 octets)."; - reference - "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; - } - } - - } - - grouping common-route-annotations { - description - "Data definitions for flags and other information attached - to routes"; - - leaf last-modified-date { - type yang:date-and-time; - description - "Timestamp of when this path was last changed"; - } - - leaf last-update-received { - type yang:date-and-time; - description - "Timestamp of when the last BGP update message was received - for this path / prefix"; - } - - leaf valid-route { - type boolean; - description - "Indicates that the route is considered valid by the - local router"; - } - - leaf invalid-reason { - type identityref { - base oc-bgpribt:INVALID_ROUTE_REASON; - } - description - "If the route is rejected as invalid, this indicates the - reason."; - } - - leaf best-path { - type boolean; - description - "Current path was selected as the best path."; - } - } - - grouping common-table-attrs { - description - "Common attributes attached to all routing tables"; - - leaf num-routes { - type uint64; - description - "Number of route entries in the table"; - } - } - - grouping common-route-attrs { - description - "Common BGP route attributes and annotations"; - - container attributes { - - config false; - description - "Base BGP route attributes associated with this route"; - - uses bgp-base-attributes; - } - - container ext-attributes { - - config false; - description - "Extended BGP route attributes associated with this - route"; - - uses bgp-extended-attributes; - } - - uses common-route-annotations; - - } - - grouping ipv4-routes { - description - "Common grouping for a list of BGP routes for IPv4 unicast"; - - container routes { - config false; - description - "Enclosing container for list of routes in the routing - table."; - - list route { - config false; - - description - "List of routes in the table"; - - leaf prefix { - type inet:ipv4-prefix; - description - "Prefix for the route"; - } - - uses common-route-attrs; - } - } - } - - grouping ipv6-routes { - description - "Common grouping for a list of BGP routes for IPv6 unicast"; - - container routes { - config false; - description - "Enclosing container for list of routes in the routing - table."; - - list route { - config false; - - description - "List of routes in the table"; - - leaf prefix { - type inet:ipv6-prefix; - description - "Prefix for the route"; - } - - uses common-route-attrs; - } - } - } - - grouping ip-rib-top { - description - "Top-level grouping for IPv4 routing tables"; - - container loc-rib { - config false; - description - "Main routing table on the router, containing best-path - selections for each prefix. The loc-rib may contain - multiple routes for the same prefix (it is a read-only, - unkeyed list). The best-path leaf should be set to true - for the route selected by the best-path selection process. - Note that multiple paths may be used or advertised even if - only one path is marked as best, e.g., when using BGP - add-paths. An implementation may choose to mark multiple - paths in the RIB as best path by setting the flag to true for - multiple entries."; - - uses common-table-attrs; - } - - container neighbors { - config false; - description - "Enclosing container for neighbor list"; - - list neighbor { - key neighbor-address; - description - "List of neighbors (peers) of the local BGP speaker"; - - leaf neighbor-address { - type inet:ip-address; - description - "IP address of the BGP neighbor or peer"; - } - - container adj-rib-in-pre { - description - "Per-neighbor table containing the NLRI updates - received from the neighbor before any local input - policy rules or filters have been applied. This can - be considered the 'raw' updates from the neighbor."; - - uses common-table-attrs; - - } - - container adj-rib-in-post { - description - "Per-neighbor table containing the paths received from - the neighbor that are eligible for best-path selection - after local input policy rules have been applied."; - - uses common-table-attrs; - } - - container adj-rib-out-pre { - description - "Per-neighbor table containing paths eligble for - sending (advertising) to the neighbor before output - policy rules have been applied"; - - uses common-table-attrs; - - } - - container adj-rib-out-post { - description - "Per-neighbor table containing paths eligble for - sending (advertising) to the neighbor after output - policy rules have been applied"; - - uses common-table-attrs; - - } - } - } - } - - grouping bgp-rib-top { - description - "Top-level grouping for the BGP RIB"; - - container bgp-rib { - config false; - description - "Top level container for BGP RIBs"; - - container afi-safis { - config false; - description - "Enclosing container for address family list"; - - list afi-safi { - key afi-safi-name; - description - "list of afi-safi types"; - - leaf afi-safi-name { - type identityref { - base oc-bgpt:AFI_SAFI_TYPE; - } - description "AFI,SAFI"; - } - - container ipv4-unicast { - when "../afi-safi-name = 'oc-bgpt:IPV4_UNICAST'" { - description - "Include this container for IPv4 unicast RIB"; - } - description - "Routing tables for IPv4 unicast -- active when the - afi-safi name is ipv4-unicast"; - - uses ip-rib-top; - } - - container ipv6-unicast { - when "../afi-safi-name = 'oc-bgpt:IPV6_UNICAST'" { - description - "Include this container for IPv6 unicast RIB"; - } - description - "Routing tables for IPv6 unicast -- active when the - afi-safi name is ipv6-unicast"; - - uses ip-rib-top; - } - } - } - } - } - - - // data definition statements - - uses bgp-rib-top; - - // augment statements - - // these augmentations add afi-safi specific data to the general - // rib structure. - - // IPv4 augments - - augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/loc-rib" { - description - "Adds the IPv4 route list to the IPv4-unicast tables"; - - uses ipv4-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/" + - "neighbor/adj-rib-in-pre" { - description - "Adds the IPv4 route list to the IPv4-unicast tables"; - - uses ipv4-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/" + - "neighbor/adj-rib-in-post" { - description - "Adds the IPv4 route list to the IPv4-unicast tables"; - - uses ipv4-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/" + - "neighbor/adj-rib-out-pre" { - description - "Adds the IPv4 route list to the IPv4-unicast tables"; - - uses ipv4-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/" + - "neighbor/adj-rib-out-post" { - description - "Adds the IPv4 route list to the IPv4-unicast tables"; - - uses ipv4-routes; - } - - // IPv6 augments - - augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/loc-rib" { - description - "Adds the IPv6 route list to the IPv6-unicast tables"; - uses ipv6-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/" + - "neighbor/adj-rib-in-pre" { - description - "Adds the IPv6 route list to the IPv6-unicast tables"; - - uses ipv6-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/" + - "neighbor/adj-rib-in-post" { - description - "Adds the IPv6 route list to the IPv6-unicast tables"; - - uses ipv6-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/" + - "neighbor/adj-rib-out-pre" { - description - "Adds the IPv6 route list to the IPv6-unicast tables"; - - uses ipv6-routes; - } - - augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/" + - "neighbor/adj-rib-out-post" { - description - "Adds the IPv6 route list to the IPv6-unicast tables"; - - uses ipv6-routes; - } - - // rpc statements - - // notification statements - -} - diff --git a/yang/modules/cisco-ios-xr/631/openconfig-routing-policy.yang b/yang/modules/cisco-ios-xr/631/openconfig-routing-policy.yang deleted file mode 100755 index 58ccd5f..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-routing-policy.yang +++ /dev/null @@ -1,1114 +0,0 @@ -module openconfig-routing-policy { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/routing-policy"; - - prefix "oc-rpol"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-policy-types { prefix oc-pol-types; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module describes a YANG model for routing policy - configuration. It is a limited subset of all of the policy - configuration parameters available in the variety of vendor - implementations, but supports widely used constructs for managing - how routes are imported, exported, and modified across different - routing protocols. This module is intended to be used in - conjunction with routing protocol configuration models (e.g., - BGP) defined in other modules. - - Route policy expression: - - Policies are expressed as a set of top-level policy definitions, - each of which consists of a sequence of policy statements. Policy - statements consist of simple condition-action tuples. Conditions - may include mutiple match or comparison operations, and similarly - actions may be multitude of changes to route attributes or a - final disposition of accepting or rejecting the route. - - Route policy evaluation: - - Policy definitions are referenced in routing protocol - configurations using import and export configuration statements. - The arguments are members of an ordered list of named policy - definitions which comprise a policy chain, and optionally, an - explicit default policy action (i.e., reject or accept). - - Evaluation of each policy definition proceeds by evaluating its - corresponding individual policy statements in order. When a - condition statement in a policy statement is satisfied, the - corresponding action statement is executed. If the action - statement has either accept-route or reject-route actions, policy - evaluation of the current policy definition stops, and no further - policy definitions in the chain are evaluated. - - If the condition is not satisfied, then evaluation proceeds to - the next policy statement. If none of the policy statement - conditions are satisfied, then evaluation of the current policy - definition stops, and the next policy definition in the chain is - evaluated. When the end of the policy chain is reached, the - default route disposition action is performed (i.e., reject-route - unless an an alternate default action is specified for the - chain). - - Policy 'subroutines' (or nested policies) are supported by - allowing policy statement conditions to reference another policy - definition which applies conditions and actions from the - referenced policy before returning to the calling policy - statement and resuming evaluation. If the called policy - results in an accept-route (either explicit or by default), then - the subroutine returns an effective true value to the calling - policy. Similarly, a reject-route action returns false. If the - subroutine returns true, the calling policy continues to evaluate - the remaining conditions (using a modified route if the - subroutine performed any changes to the route)."; - - oc-ext:openconfig-version "2.0.1"; - - revision "2016-05-12" { - description - "OpenConfig public release"; - reference "2.0.1"; - } - - - // typedef statements - - typedef default-policy-type { - type enumeration { - enum ACCEPT_ROUTE { - description "default policy to accept the route"; - } - enum REJECT_ROUTE { - description "default policy to reject the route"; - } - } - description "type used to specify default route disposition in - a policy chain"; - } - - - // grouping statements - - grouping prefix-set-config { - description - "Configuration data for prefix sets used in policy - definitions."; - - leaf prefix-set-name { - type string; - description - "name / label of the prefix set -- this is used to - reference the set in match conditions"; - } - - } - - grouping prefix-set-state { - description - "Operational state data for prefix sets"; - } - - grouping prefix-set-top { - description - "Top-level data definitions for a list of IPv4 or IPv6 - prefixes which are matched as part of a policy"; - - container prefix-sets { - description - "Enclosing container "; - - list prefix-set { - key "prefix-set-name"; - description - "List of the defined prefix sets"; - - leaf prefix-set-name { - type leafref { - path "../config/prefix-set-name"; - } - description - "Reference to prefix name list key"; - } - - container config { - description - "Configuration data for prefix sets"; - - uses prefix-set-config; - } - - container state { - - config false; - - description - "Operational state data "; - - uses prefix-set-config; - uses prefix-set-state; - } - - uses prefix-top; - } - } - } - - grouping prefix-config { - description - "Configuration data for a prefix definition"; - - leaf ip-prefix { - type inet:ip-prefix; - mandatory true; - description - "The prefix member in CIDR notation -- while the - prefix may be either IPv4 or IPv6, most - implementations require all members of the prefix set - to be the same address family. Mixing address types in - the same prefix set is likely to cause an error."; - } - - leaf masklength-range { - type string { - pattern '^([0-9]+\.\.[0-9]+)|exact$'; - } - description - "Defines a range for the masklength, or 'exact' if - the prefix has an exact length. - - Example: 10.3.192.0/21 through 10.3.192.0/24 would be - expressed as prefix: 10.3.192.0/21, - masklength-range: 21..24. - - Example: 10.3.192.0/21 would be expressed as - prefix: 10.3.192.0/21, - masklength-range: exact"; - } - } - - grouping prefix-state { - description - "Operational state data for prefix definitions"; - } - - grouping prefix-top { - description - "Top-level grouping for prefixes in a prefix list"; - - container prefixes { - description - "Enclosing container for the list of prefixes in a policy - prefix list"; - - list prefix { - key "ip-prefix masklength-range"; - description - "List of prefixes in the prefix set"; - - leaf ip-prefix { - type leafref { - path "../config/ip-prefix"; - } - description - "Reference to the ip-prefix list key."; - } - - leaf masklength-range { - type leafref { - path "../config/masklength-range"; - } - description - "Reference to the masklength-range list key"; - } - - container config { - description - "Configuration data for prefix definition"; - - uses prefix-config; - } - - container state { - - config false; - - description - "Operational state data for prefix definition"; - - uses prefix-config; - uses prefix-state; - } - } - } - } - - grouping neighbor-set-config { - description - "Configuration data for neighbor set definitions"; - - leaf neighbor-set-name { - type string; - description - "name / label of the neighbor set -- this is used to - reference the set in match conditions"; - } - - leaf-list address { - type inet:ip-address-no-zone; - description - "List of IP addresses in the neighbor set"; - } - } - - grouping neighbor-set-state { - description - "Operational state data for neighbor set definitions"; - } - - grouping neighbor-set-top { - description - "Top-level data definition for a list of IPv4 or IPv6 - neighbors which can be matched in a routing policy"; - - container neighbor-sets { - description - "Enclosing container for the list of neighbor set - definitions"; - - list neighbor-set { - key "neighbor-set-name"; - description - "List of defined neighbor sets for use in policies."; - - leaf neighbor-set-name { - type leafref { - path "../config/neighbor-set-name"; - } - description - "Reference to the neighbor set name list key."; - } - - container config { - description - "Configuration data for neighbor sets."; - - uses neighbor-set-config; - } - - container state { - - config false; - - description - "Operational state data for neighbor sets."; - - uses neighbor-set-config; - uses neighbor-set-state; - } - } - } - } - - grouping tag-set-config { - description - "Configuration data for tag set definitions."; - - leaf tag-set-name { - type string; - description - "name / label of the tag set -- this is used to reference - the set in match conditions"; - } - - leaf-list tag-value { - type oc-pol-types:tag-type; - description - "Value of the tag set member"; - } - } - - grouping tag-set-state { - description - "Operational state data for tag set definitions."; - } - - grouping tag-set-top { - description - "Top-level data definitions for a list of tags which can - be matched in policies"; - - container tag-sets { - description - "Enclosing container for the list of tag sets."; - - list tag-set { - key "tag-set-name"; - description - "List of tag set definitions."; - - leaf tag-set-name { - type leafref { - path "../config/tag-set-name"; - } - description - "Reference to the tag set name list key"; - } - - container config { - description - "Configuration data for tag sets"; - - uses tag-set-config; - } - - container state { - - config false; - - description - "Operational state data for tag sets"; - - uses tag-set-config; - uses tag-set-state; - } - } - } - } - - grouping generic-defined-sets { - description - "Data definitions for pre-defined sets of attributes used in - policy match conditions. These sets are generic and can - be used in matching conditions in different routing - protocols."; - - uses prefix-set-top; - uses neighbor-set-top; - uses tag-set-top; - } - - grouping match-set-options-group { - description - "Grouping containing options relating to how a particular set - should be matched"; - - leaf match-set-options { - type oc-pol-types:match-set-options-type; - description - "Optional parameter that governs the behaviour of the - match operation"; - } - } - - grouping match-set-options-restricted-group { - description - "Grouping for a restricted set of match operation modifiers"; - - leaf match-set-options { - type oc-pol-types:match-set-options-restricted-type; - description - "Optional parameter that governs the behaviour of the - match operation. This leaf only supports matching on ANY - member of the set or inverting the match. Matching on ALL is - not supported)"; - } - } - - grouping match-interface-condition-config { - description - "Configuration data for interface match condition"; - - uses oc-if:interface-ref-common; - } - - grouping match-interface-condition-state { - description - "Operational state data for interface match condition"; - } - - grouping match-interface-condition-top { - description - "Top-level grouping for the interface match condition"; - - container match-interface { - description - "Top-level container for interface match conditions"; - - container config { - description - "Configuration data for interface match conditions"; - - uses match-interface-condition-config; - } - - container state { - - config false; - - description - "Operational state data for interface match conditions"; - - uses match-interface-condition-config; - uses match-interface-condition-state; - } - - } - } - - grouping prefix-set-condition-config { - description - "Configuration data for prefix-set conditions"; - - leaf prefix-set { - type leafref { - path "/routing-policy/defined-sets/prefix-sets/" + - "prefix-set/prefix-set-name"; - //TODO: require-instance should be added when it's - //supported in YANG 1.1 - //require-instance true; - } - description "References a defined prefix set"; - } - uses match-set-options-restricted-group; - } - - grouping prefix-set-condition-state { - description - "Operational state data for prefix-set conditions"; - } - - grouping prefix-set-condition-top { - description - "Top-level grouping for prefix-set conditions"; - - container match-prefix-set { - description - "Match a referenced prefix-set according to the logic - defined in the match-set-options leaf"; - - container config { - description - "Configuration data for a prefix-set condition"; - - uses prefix-set-condition-config; - } - - container state { - - config false; - - description - "Operational state data for a prefix-set condition"; - - uses prefix-set-condition-config; - uses prefix-set-condition-state; - } - } - } - - grouping neighbor-set-condition-config { - description - "Configuration data for neighbor-set conditions"; - - leaf neighbor-set { - type leafref { - path "/routing-policy/defined-sets/neighbor-sets/" + - "neighbor-set/neighbor-set-name"; - //TODO: require-instance should be added when it's - //supported in YANG 1.1 - //require-instance true; - } - description "References a defined neighbor set"; - } - - uses match-set-options-restricted-group; - } - - grouping neighbor-set-condition-state { - description - "Operational state data for neighbor-set conditions"; - } - - grouping neighbor-set-condition-top { - description - "Top-level grouping for neighbor-set conditions"; - - container match-neighbor-set { - description - "Match a referenced neighbor set according to the logic - defined in the match-set-options-leaf"; - - container config { - description - "Configuration data "; - - uses neighbor-set-condition-config; - } - - container state { - - config false; - - description - "Operational state data "; - - uses neighbor-set-condition-config; - uses neighbor-set-condition-state; - } - } - } - - grouping tag-set-condition-config { - description - "Configuration data for tag-set condition statements"; - - leaf tag-set { - type leafref { - path "/routing-policy/defined-sets/tag-sets/tag-set" + - "/tag-set-name"; - //TODO: require-instance should be added when it's - //supported in YANG 1.1 - //require-instance true; - } - description "References a defined tag set"; - } - uses match-set-options-restricted-group; - } - - grouping tag-set-condition-state { - description - "Operational state data for tag-set condition statements"; - } - - grouping tag-set-condition-top { - description - "Top-level grouping for tag-set conditions"; - - container match-tag-set { - description - "Match a referenced tag set according to the logic defined - in the match-options-set leaf"; - - container config { - description - "Configuration data for tag-set conditions"; - - uses tag-set-condition-config; - } - - container state { - - config false; - - description - "Operational state data tag-set conditions"; - - uses tag-set-condition-config; - uses tag-set-condition-state; - } - } - } - - grouping generic-conditions { - description "Condition statement definitions for checking - membership in a generic defined set"; - - uses match-interface-condition-top; - uses prefix-set-condition-top; - uses neighbor-set-condition-top; - uses tag-set-condition-top; - - } - - grouping igp-generic-conditions { - description "grouping for IGP policy conditions"; - - } - - - grouping igp-conditions { - description "grouping for IGP-specific policy conditions"; - - container igp-conditions { - description "Policy conditions for IGP attributes"; - - uses igp-generic-conditions; - - } - } - - grouping generic-actions { - description - "Definitions for common set of policy action statements that - manage the disposition or control flow of the policy"; - - choice route-disposition { - description - "Select the final disposition for the route, either - accept or reject."; - leaf accept-route { - type empty; - description "accepts the route into the routing table"; - } - - leaf reject-route { - type empty; - description "rejects the route"; - } - } - } - - - grouping igp-actions-config { - description - "Configuration data for IGP policy actions"; - - leaf set-tag { - type oc-pol-types:tag-type; - description - "Set the tag value for OSPF or IS-IS routes."; - } - } - - grouping igp-actions-state { - description - "Operational state data for IGP policy actions "; - } - - grouping igp-actions-top { - description - "Top-level grouping "; - - container igp-actions { - description - "Actions to set IGP route attributes; these actions - apply to multiple IGPs"; - - container config { - description - "Configuration data "; - - uses igp-actions-config; - } - - container state { - - config false; - - description - "Operational state data "; - - uses igp-actions-config; - uses igp-actions-state; - } - } - } - - - grouping policy-conditions-config { - description - "Configuration data for general policy conditions, i.e., those - not related to match-sets"; - - leaf call-policy { - type leafref { - path "/oc-rpol:routing-policy/" + - "oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:name"; - //TODO: require-instance should be added when - //it is supported in YANG 1.1 - //require-instance true; - } - description - "Applies the statements from the specified policy - definition and then returns control the current - policy statement. Note that the called policy may - itself call other policies (subject to - implementation limitations). This is intended to - provide a policy 'subroutine' capability. The - called policy should contain an explicit or a - default route disposition that returns an - effective true (accept-route) or false - (reject-route), otherwise the behavior may be - ambiguous and implementation dependent"; - } - - leaf install-protocol-eq { - type identityref { - base oc-pol-types:INSTALL_PROTOCOL_TYPE; - } - description - "Condition to check the protocol / method used to install - the route into the local routing table"; - } - } - - grouping policy-conditions-state { - description - "Operational state data for policy conditions"; - } - - grouping policy-conditions-top { - description - "Top-level grouping for policy conditions"; - - container conditions { - description - "Condition statements for the current policy statement"; - - container config { - description - "Configuration data for policy conditions"; - - uses policy-conditions-config; - } - - container state { - - config false; - - description - "Operational state data for policy conditions"; - - uses policy-conditions-config; - uses policy-conditions-state; - } - uses generic-conditions; - uses igp-conditions; - } - } - - grouping policy-statements-config { - description - "Configuration data for policy statements"; - - leaf name { - type string; - description - "name of the policy statement"; - } - } - - grouping policy-statements-state { - description - "Operational state data for policy statements"; - } - - - - grouping policy-actions-config { - description - "Configuration data for policy actions"; - - uses generic-actions; - } - - grouping policy-actions-state { - description - "Operational state data for policy actions"; - } - - grouping policy-actions-top { - description - "Top-level grouping for policy actions"; - - container actions { - description - "Top-level container for policy action statements"; - - container config { - description - "Configuration data for policy actions"; - - uses policy-actions-config; - } - - container state { - - config false; - - description - "Operational state data for policy actions"; - - uses policy-actions-config; - uses policy-actions-state; - } - - uses igp-actions-top; - } - } - - grouping policy-statements-top { - description - "Top-level grouping for the policy statements list"; - - container statements { - description - "Enclosing container for policy statements"; - - list statement { - key "name"; - // TODO: names of policy statements within a policy - // definition should probably be optional, however, YANG - // requires a unique id for lists - ordered-by user; - description - "Policy statements group conditions and actions - within a policy definition. They are evaluated in - the order specified (see the description of policy - evaluation at the top of this module."; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to list key"; - } - - container config { - description - "Configuration data for policy statements"; - - uses policy-statements-config; - } - - container state { - - config false; - - description - "Operational state data for policy statements"; - - uses policy-statements-config; - uses policy-statements-state; - } - - uses policy-conditions-top; - uses policy-actions-top; - } - } - } - - grouping defined-sets-top { - description - "Top-level grouping for defined set definitions"; - - container defined-sets { - description - "Predefined sets of attributes used in policy match - statements"; - - uses generic-defined-sets; - } - } - - grouping policy-definitions-config { - description - "Configuration data for policy definitions"; - - leaf name { - type string; - description - "Name of the top-level policy definition -- this name - is used in references to the current policy"; - } - } - - grouping policy-definitions-state { - description - "Operational state data for policy definitions"; - } - - grouping policy-definitions-top { - description - "Top-level grouping for the policy definition list"; - - container policy-definitions { - description - "Enclosing container for the list of top-level policy - definitions"; - - list policy-definition { - key "name"; - description - "List of top-level policy definitions, keyed by unique - name. These policy definitions are expected to be - referenced (by name) in policy chains specified in import - or export configuration statements."; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the list key"; - } - - container config { - description - "Configuration data for policy defintions"; - - uses policy-definitions-config; - } - - container state { - - config false; - - description - "Operational state data for policy definitions"; - - uses policy-definitions-config; - uses policy-definitions-state; - } - - uses policy-statements-top; - } - } - } - - grouping routing-policy-top { - description - "Top level container for OpenConfig routing policy"; - - container routing-policy { - description - "Top-level container for all routing policy configuration"; - - - uses defined-sets-top; - - uses policy-definitions-top; - } - } - - grouping apply-policy-import-config { - description - "Configuration data for applying import policies"; - - leaf-list import-policy { - type leafref { - path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:name"; - //TODO: require-instance should be added when it's - //supported in YANG 1.1 - //require-instance true; - } - ordered-by user; - description - "list of policy names in sequence to be applied on - receiving a routing update in the current context, e.g., - for the current peer group, neighbor, address family, - etc."; - } - - leaf default-import-policy { - type default-policy-type; - default REJECT_ROUTE; - description - "explicitly set a default policy if no policy definition - in the import policy chain is satisfied."; - } - - } - - grouping apply-policy-export-config { - description - "Configuration data for applying export policies"; - - leaf-list export-policy { - type leafref { - path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:name"; - //TODO: require-instance should be added when it's - //supported in YANG 1.1 - //require-instance true; - } - ordered-by user; - description - "list of policy names in sequence to be applied on - sending a routing update in the current context, e.g., - for the current peer group, neighbor, address family, - etc."; - } - - leaf default-export-policy { - type default-policy-type; - default REJECT_ROUTE; - description - "explicitly set a default policy if no policy definition - in the export policy chain is satisfied."; - } - } - - - grouping apply-policy-config { - description - "Configuration data for routing policies"; - - uses apply-policy-import-config; - uses apply-policy-export-config; - - } - - - - grouping apply-policy-state { - description - "Operational state associated with routing policy"; - - //TODO: identify additional state data beyond the intended - //policy configuration. - } - - grouping apply-policy-group { - description - "Top level container for routing policy applications. This - grouping is intended to be used in routing models where - needed."; - - container apply-policy { - description - "Anchor point for routing policies in the model. - Import and export policies are with respect to the local - routing table, i.e., export (send) and import (receive), - depending on the context."; - - container config { - description - "Policy configuration data."; - - uses apply-policy-config; - } - - container state { - - config false; - description - "Operational state for routing policy"; - - uses apply-policy-config; - uses apply-policy-state; - } - } - } - - uses routing-policy-top; - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-telemetry.yang b/yang/modules/cisco-ios-xr/631/openconfig-telemetry.yang deleted file mode 100755 index 8627112..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-telemetry.yang +++ /dev/null @@ -1,733 +0,0 @@ -module openconfig-telemetry { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/telemetry"; - - prefix "oc-telemetry"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group www.openconfig.net"; - - description - "Data model which creates the configuration for the telemetry - systems and functions on the device."; - - oc-ext:openconfig-version "0.2.0"; - - revision "2016-02-04" { - description - "Initial OpenConfig public release"; - reference "0.2.0"; - } - - container telemetry-system { - description - "Top level configuration and state for the - device's telemetry system."; - - container sensor-groups { - description - "Top level container for sensor-groups."; - - list sensor-group { - key sensor-group-id; - description - "List of telemetry sensory groups on the local - system, where a sensor grouping represents a resuable - grouping of multiple paths and exclude filters."; - - leaf sensor-group-id { - type leafref { - path "../config/sensor-group-id"; - } - description - "Reference to the name or identifier of the - sensor grouping"; - } - container config { - description - "Configuration parameters relating to the - telemetry sensor grouping"; - uses telemetry-sensor-group-config; - } - container state { - config false; - description - "State information relating to the telemetry - sensor group"; - uses telemetry-sensor-group-config; - } - - container sensor-paths { - description - "Top level container to hold a set of sensor - paths grouped together"; - - list sensor-path { - key path; - description - "List of paths in the model which together - comprise a sensor grouping. Filters for each path - to exclude items are also provided."; - - leaf path { - type leafref { - path "../config/path"; - } - description - "Reference to the path of interest"; - } - container config { - description - "Configuration parameters to configure a set - of data model paths as a sensor grouping"; - uses telemetry-sensor-path-config; - } - container state { - config false; - description - "Configuration parameters to configure a set - of data model paths as a sensor grouping"; - uses telemetry-sensor-path-config; - } - } - } - } - } - - container destination-groups { - description - "Top level container for destination group configuration - and state."; - - list destination-group { - key group-id; - description - "List of destination-groups. Destination groups allow the - reuse of common telemetry destinations across the - telemetry configuration. An operator references a - set of destinations via the configurable - destination-group-identifier. - - A destination group may contain one or more telemetry - destinations"; - - leaf group-id { - type leafref { - path "../config/group-id"; - } - description - "Unique identifier for the destination group"; - } - - container config { - description - "Top level config container for destination groups"; - leaf group-id { - type string; - description - "Unique identifier for the destination group"; - } - } - - container state { - config false; - description - "Top level state container for destination groups"; - - leaf group-id { - type string; - description - "Unique identifier for destination group"; - } - } - - container destinations { - description - "The destination container lists the destination - information such as IP address and port of the - telemetry messages from the network element."; - list destination { - key "destination-address destination-port"; - description - "List of telemetry stream destinations"; - - leaf destination-address { - type leafref { - path "../config/destination-address"; - } - description - "Reference to the destination address of the - telemetry stream"; - } - - leaf destination-port { - type leafref { - path "../config/destination-port"; - } - description - "Reference to the port number of the stream - destination"; - } - - container config { - description - "Configuration parameters relating to - telemetry destinations"; - uses telemetry-stream-destination-config; - } - - container state { - config false; - description - "State information associated with - telemetry destinations"; - uses telemetry-stream-destination-config; - } - } - } - } - } - - container subscriptions { - description - "This container holds information for both persistent - and dynamic telemetry subscriptions."; - - container persistent { - description - "This container holds information relating to persistent - telemetry subscriptions. A persistent telemetry - subscription is configued locally on the device through - configuration, and is persistent across device restarts or - other redundancy changes."; - - list subscription { - key subscription-id; - description - "List of telemetry subscriptions. A telemetry - subscription consists of a set of collection - destinations, stream attributes, and associated paths to - state information in the model (sensor data)"; - - leaf subscription-id { - type leafref { - path "../config/subscription-id"; - } - description - "Reference to the identifier of the subscription - itself. The id will be the handle to refer to the - subscription once created"; - } - - container config { - description - "Config parameters relating to the telemetry - subscriptions on the local device"; - - uses telemetry-subscription-config; - uses telemetry-local-source-address-config; - uses telemetry-qos-marking-config; - } - - container state { - config false; - description - "State parameters relating to the telemetry - subscriptions on the local device"; - - uses telemetry-subscription-config; - uses telemetry-subscription-state; - uses telemetry-local-source-address-config; - uses telemetry-qos-marking-config; - } - - container sensor-profiles { - description - "A sensor profile is a set of sensor groups or - individual sensor paths which are associated with a - telemetry subscription. This is the source of the - telemetry data for the subscription to send to the - defined collectors."; - list sensor-profile { - key sensor-group; - description - "List of telemetry sensor groups used - in the subscription"; - - leaf sensor-group { - type leafref { - path "../config/sensor-group"; - } - description - "Reference to the telemetry sensor group name"; - } - - container config { - description - "Configuration parameters related to the sensor - profile for a subscription"; - uses telemetry-sensor-profile-config; - } - - container state { - config false; - description - "State information relating to the sensor profile - for a subscription"; - uses telemetry-sensor-profile-config; - } - } - } - - container destination-groups { - description - "A subscription may specify destination addresses. - If the subscription supplies destination addresses, - the network element will be the initiator of the - telemetry streaming, sending it to the destination(s) - specified. - - If the destination set is omitted, the subscription - preconfigures certain elements such as paths and - sample intervals under a specified subscription ID. - In this case, the network element will NOT initiate an - outbound connection for telemetry, but will wait for - an inbound connection from a network management - system. - - It is expected that the network management system - connecting to the network element will reference - the preconfigured subscription ID when initiating - a subscription."; - - list destination-group { - key group-id; - description - "Identifier of the previously defined destination - group"; - - leaf group-id { - type leafref { - path "../config/group-id"; - } - description - "The destination group id references a configured - group of destinations for the telemetry stream."; - } - - container config { - description - "Configuration parameters related to telemetry - destinations."; - - leaf group-id { - type leafref { - path "../../../../../../../destination-groups" - + "/destination-group/group-id"; - } - description - "The destination group id references a reusable - group of destination addresses and ports for - the telemetry stream."; - } - } - - container state { - description - "State information related to telemetry - destinations"; - - leaf group-id { - type leafref { - path "../../../../../../../destination-groups" - + "/destination-group/group-id"; - } - description - "The destination group id references a reusable - group of destination addresses and ports for - the telemetry stream."; - } - } - } - } - } - } - - container dynamic { - description - "This container holds information relating to dynamic - telemetry subscriptions. A dynamic subscription is - typically configured through an RPC channel, and does not - persist across device restarts, or if the RPC channel is - reset or otherwise torn down."; - - - list subscription { - key subscription-id; - config false; - description - "List representation of telemetry subscriptions that - are configured via an inline RPC, otherwise known - as dynamic telemetry subscriptions."; - - leaf subscription-id { - type leafref { - path "../state/subscription-id"; - } - - description - "Reference to the identifier of the subscription - itself. The id will be the handle to refer to the - subscription once created"; - } - - container state { - config false; - description - "State information relating to dynamic telemetry - subscriptions."; - - uses telemetry-subscription-config; - uses telemetry-stream-destination-config; - uses telemetry-stream-frequency-config; - uses telemetry-heartbeat-config; - uses telemetry-suppress-redundant-config; - uses telemetry-qos-marking-config; - } - - container sensor-paths { - description - "Top level container to hold a set of sensor - paths grouped together"; - - list sensor-path { - key path; - description - "List of paths in the model which together - comprise a sensor grouping. Filters for each path - to exclude items are also provided."; - - leaf path { - type leafref { - path "../state/path"; - } - description - "Reference to the path of interest"; - } - - container state { - config false; - description - "State information for a dynamic subscription's - paths of interest"; - uses telemetry-sensor-path-config; - } - } - } - } - } - } - } - - // extension statements - - // feature statements - - // identity statements - - // typedef statements - - typedef telemetry-stream-protocol { - type enumeration { - enum TCP { - description - "TCP protocol transport for the stream"; - } - enum UDP { - description - "UDP protocol transport for the stream"; - } - } - description - "Selectable protocols for transport - of the telemetry stream"; - } - - // grouping statements - - grouping telemetry-sensor-path-config { - description - "Configuration parameters relating to the - grouping of data model paths comprising a - sensor grouping"; - leaf path { - type string; - description - "Path to a section of operational state of interest - (the sensor)."; - } - - leaf exclude-filter { - type string; - description - "Filter to exclude certain values out of the state - values"; - //May not be necessary. Could remove. - } - } - - grouping telemetry-heartbeat-config { - description - "Configuration parameters relating to the - heartbeat of the telemetry subscription"; - leaf heartbeat-interval { - type uint64; - description - "Maximum time interval in seconds that may pass - between updates from a device to a telemetry collector. - If this interval expires, but there is no updated data to - send (such as if suppress_updates has been configured), the - device must send a telemetry message to the collector."; - } - } - - grouping telemetry-suppress-redundant-config { - description - "Configuration parameters relating to suppression of - redundant upstream updates"; - leaf suppress-redundant { - type boolean; - description - "Boolean flag to control suppression of redundant - telemetry updates to the collector platform. If this flag is - set to TRUE, then the collector will only send an update at - the configured interval if a subscribed data value has - changed. Otherwise, the device will not send an update to - the collector until expiration of the heartbeat interval."; - } - } - - grouping telemetry-sensor-profile-config { - description - "Configuration parameters relating to the sensor groups - used in the sensor profile"; - leaf sensor-group { - type leafref { - path "/telemetry-system/sensor-groups/sensor-group" - + "/config/sensor-group-id"; - } - description - "Reference to the sensor group which is used in the profile"; - } - uses telemetry-stream-subscription-config; - } - - grouping telemetry-stream-subscription-config { - description - "Configuration used when the sensor is a stream based sensor."; - - uses telemetry-stream-frequency-config; - uses telemetry-heartbeat-config; - uses telemetry-suppress-redundant-config; - - } - - grouping telemetry-qos-marking-config { - description - "Config parameters relating to the quality of service - marking on device generated telemetry packets"; - - leaf originated-qos-marking { - type inet:dscp; - description - "DSCP marking of packets generated by the telemetry - subsystem on the network device."; - } - } - - - grouping telemetry-sensor-group-config { - description - "Config parameters related to the sensor groups - on the device"; - leaf sensor-group-id { - type string; - description - "Name or identifier for the sensor group itself. - Will be referenced by other configuration specifying a - sensor group"; - } - } - - grouping telemetry-subscription-config { - description - "Configuration parameters relating to the telemetry - subscription"; - leaf subscription-id { - type uint64; - description - "Identifer of the telemetry subscription. - Will be used by configuration operations needing - to modify or delete the telemetry subscription"; - } - } - - grouping telemetry-subscription-state { - description - "State values for the telemetry subscription"; - //TODO add values - } - - grouping telemetry-stream-destination-config { - description - "Configuration parameters for the stream destinations"; - leaf destination-address { - type inet:ip-address; - description - "IP address of the telemetry stream destination"; - } - leaf destination-port { - type uint16; - description - "Protocol (udp or tcp) port number for the telemetry - stream destination"; - } - leaf destination-protocol { - type telemetry-stream-protocol; - description - "Protocol used to transmit telemetry data to the - collector"; - } - } - - grouping telemetry-stream-frequency-config { - description - "Config parameters for the frequency of updates to - the collector"; - leaf sample-interval { - type uint64; - description - "Time in milliseconds between the device's sample of a - telemetry data source. For example, setting this to 100 - would require the local device to collect the telemetry - data every 100 milliseconds. There can be latency or jitter - in transmitting the data, but the sample must occur at - the specified interval. - - The timestamp must reflect the actual time when the data - was sampled, not simply the previous sample timestamp + - sample-interval. - - If sample-interval is set to 0, the telemetry sensor - becomes event based. The sensor must then emit data upon - every change of the underlying data source."; - } - } - - grouping telemetry-sensor-specification { - description - "Config related to creating telemetry sensor groups. A sensor - group is a related set of sensor paths and/or filters to - exclude items. A group is assigned a reusable identifer, so - it can be used in multiple telemetry subscriptions."; - list telemetry-sensor-group { - key telemetry-sensor-group-id; - description - "List of telemetry sensor groups"; - - leaf telemetry-sensor-group-id { - type string; - description - "The sensor group identifer is a reusable handle which - identifies a single sensor group. It is referenced from - the subscription configuration."; - } - uses telemetry-sensor-paths; - } - } - - grouping telemetry-sensor-paths { - description - "This grouping contains these paths to leaves or containers - in the data model which are the sources of telemetry - information."; - - list telemetry-sensor-paths { - key telemetry-sensor-path; - description - "A list of sensor paths and exclude filters which comprise - a sensor grouping"; - - leaf telemetry-sensor-path { - type string; - description - "The sensor path is a path to a portion of operational - state of interest in the data model"; - } - // This may not be needed. Decide on removal. - leaf sensor-exclude-filter { - type string; - description - "The exclude filter allows certain values of state to be - filtered out of the telemetry stream"; - } - } - } - - - grouping telemetry-sensor-profile { - description - "Config relating to sensor profiles. A sensor profile is the - set of sensor information, ether a grouping or individual - paths, which is relevant for a specific subscription."; - list telemetry-sensor-profile { - key telemetry-sensor-group; - description - "List of sensor groupings which are used in a subscription"; - - leaf telemetry-sensor-group { - type leafref { - path "/telemetry-system/telemetry-subscriptions" - + "/telemetry-sensor-specification/telemetry-sensor-group" - + "/telemetry-sensor-group-id"; - require-instance true; - } - description - "Reference to a telemetry sensor grouping - to be used in the subscription"; - } - } - } - - grouping telemetry-local-source-address-config { - description - "Config relating to the local source address for telemetry - messages"; - // TODO: Make this a reference to an interface. - leaf local-source-address { - type inet:ip-address; - description - "The IP address which will be the source of packets from - the device to a telemetry collector destination."; - } - } - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-terminal-device.yang b/yang/modules/cisco-ios-xr/631/openconfig-terminal-device.yang deleted file mode 100644 index 81bc122..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-terminal-device.yang +++ /dev/null @@ -1,1090 +0,0 @@ -module openconfig-terminal-device { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/terminal-device"; - - prefix "oc-opt-term"; - - import openconfig-types { prefix oc-types; } - import openconfig-transport-types { prefix oc-opt-types; } - import openconfig-if-ethernet { prefix oc-eth; } - import openconfig-platform { prefix oc-platform; } - import openconfig-platform-transceiver { prefix oc-transceiver; } - import openconfig-extensions { prefix oc-ext; } - import ietf-yang-types { prefix yang; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module describes a terminal optics device model for - managing the terminal systems (client and line side) in a - DWDM transport network. - - Elements of the model: - - physical port: corresponds to a physical, pluggable client - port on the terminal device. Examples includes 10G, 40G, 100G - (e.g., 10x10G, 4x25G or 1x100G) and 400G/1T in the future. - Physical client ports will have associated operational state or - PMs. - - physical channel: a physical lane or channel in the - physical client port. Each physical client port has 1 or more - channels. An example is 100GBASE-LR4 client physical port having - 4x25G channels. Channels have their own optical PMs and can be - monitored independently within a client physical port (e.g., - channel power). Physical client channels are defined in the - model as part of a physical client port, and are modeled - primarily for reading their PMs. - - logical channel: a logical grouping of logical grooming elements - that may be assigned to subsequent grooming stages for - multiplexing / de-multiplexing, or to an optical channel for - line side transmission. The logical channels can represent, for - example, an ODU/OTU logical packing of the client - data onto the line side. Tributaries are similarly logical - groupings of demand that can be represented in this structure and - assigned to an optical channel. Note that different types of - logical channels may be present, each with their corresponding - PMs. - - optical channel: corresponds to an optical carrier and is - assigned a wavelength/frequency. Optical channels have PMs - such as power, BER, and operational mode. - - Directionality: - - To maintain simplicity in the model, the configuration is - described from client-to-line direction. The assumption is that - equivalent reverse configuration is implicit, resulting in - the same line-to-client configuration. - - Physical layout: - - The model does not assume a particular physical layout of client - and line ports on the terminal device (e.g., such as number of - ports per linecard, separate linecards for client and line ports, - etc.)."; - - oc-ext:openconfig-version "0.3.1"; - - revision "2016-06-17" { - description - "Public release"; - reference "0.3.1"; - } - - - grouping terminal-input-optical-power { - description - "Reusable leaves related to input optical power"; - - leaf input-power { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The input optical power of this port in units of 0.01dBm. - If the port is an aggregate of multiple physical channels, - this attribute is the total power or sum of all channels."; - } - } - - grouping terminal-ethernet-protocol-config { - description - "Configuration data for logical channels with Ethernet - framing"; - - //TODO:currently a empty container - } - - grouping terminal-ethernet-protocol-state { - description - "Ethernet-specific counters when logical channel - is using Ethernet protocol framing, e.g., 10GE, 100GE"; - - uses oc-eth:ethernet-interface-state-counters; - } - - grouping terminal-ethernet-protocol-top { - description - "Top-level grouping for data related to Ethernet protocol - framing on logical channels"; - - container ethernet { - description - "Top level container for data related to Ethernet framing - for the logical channel"; - - container config { - description - "Configuration data for Ethernet protocol framing on logical - channels"; - - uses terminal-ethernet-protocol-config; - } - - container state { - config false; - description - "Operational state data for Ethernet protocol framing on logical - channels"; - - uses terminal-ethernet-protocol-state; - } - } - } - - grouping terminal-otn-protocol-config { - description - "OTU configuration when logical channel - framing is using an OTU protocol, e.g., OTU1, OTU3, etc."; - - leaf tti-msg-transmit { - type string; - description - "Trail trace identifier (TTI) message transmitted"; - } - - leaf tti-msg-expected { - type string; - description - "Trail trace identifier (TTI) message expected"; - } - - leaf tti-msg-auto { - type boolean; - description - "Trail trace identifier (TTI) transmit message automatically created. - If True, then setting a custom transmit message would be invalid."; - } - } - - grouping terminal-otn-protocol-counter-stats { - description - "Counter based statistics containers for logical channels - using OTN framing"; - - leaf errored-seconds { - type yang:counter64; - description - "The number of seconds that at least one errored blocks occurs, - at least one code violation occurs, loss of sync is detected or - loss of signal is detected"; - } - - leaf severely-errored-seconds { - type yang:counter64; - description - "The number of seconds that loss of frame is detected OR - the number of errored blocks, code violations, loss of sync or - loss of signal is detected exceeds a predefined threshold"; - } - - leaf unavailable-seconds { - type yang:counter64; - description - "The number of seconds during which the link is unavailable"; - } - - leaf code-violations { - type yang:counter64; - description - "For ethernet or fiberchannel links, the number of 8b/10b - coding violations. For SONET/SDH, the number of BIP (bit - interleaved parity) errors"; - } - - leaf fec-uncorrectable-words { - type yang:counter64; - description - "The number words that were uncorrectable by the FEC"; - } - - leaf fec-corrected-bytes { - type yang:counter64; - description - "The number of bytes that were corrected by the FEC"; - } - - leaf fec-corrected-bits { - type yang:counter64; - description - "The number of bits that were corrected by the FEC"; - } - - leaf background-block-errors { - type yang:counter64; - description - "The number of background block errors"; - } - } - - grouping terminal-otn-protocol-multi-stats { - description - "Multi-value statistics containers for logical channels using - OTN framing (e.g., max, min, avg, instant)"; - - container pre-fec-ber { - description - "Bit error rate before forward error correction -- computed - value"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container post-fec-ber { - description - "Bit error rate after forward error correction -- computed - value"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container q-value { - description - "Quality value (factor) of a channel"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container esnr { - description - "Electrical signal to noise ratio. Baud rate - normalized signal to noise ratio based on - error vector magnitude"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - } - - grouping terminal-otn-protocol-state { - description - "OTU operational state when logical channel - framing is using an OTU protocol, e.g., OTU1, OTU3, etc."; - - - leaf tti-msg-recv { - type string; - description - "Trail trace identifier (TTI) message received"; - } - - leaf rdi-msg { - type string; - description - "Remote defect indication (RDI) message received"; - } - uses terminal-otn-protocol-counter-stats; - uses terminal-otn-protocol-multi-stats; - } - - grouping terminal-otn-protocol-top { - description - "Top-level grouping for data related to OTN protocol framing"; - - container otn { - description - "Top level container for OTU configuration when logical - channel framing is using an OTU protocol, e.g., OTU1, OTU3, - etc."; - - container config { - description - "Configuration data for OTN protocol framing"; - - uses terminal-otn-protocol-config; - } - - container state { - - config false; - - description - "Operational state data for OTN protocol PMs, statistics, - etc."; - - uses terminal-otn-protocol-config; - uses terminal-otn-protocol-state; - } - } - } - - grouping terminal-client-port-assignment-config { - description - "Configuration data for assigning physical client ports to - logical channels"; - - leaf index { - type uint32; - description - "Index of the client port assignment"; - } - - leaf description { - type string; - description - "Descriptive name for the client port-to-logical channel - mapping"; - } - - leaf logical-channel { - type leafref { - path "/oc-opt-term:terminal-device/oc-opt-term:logical-channels" + - "/oc-opt-term:channel/oc-opt-term:index"; - } - description - "Reference to the logical channel for this - assignment"; - } - - leaf allocation { - type decimal64 { - fraction-digits 3; - } - units Gbps; - description - "Allocation of the client physical port to the assigned - logical channel expressed in Gbps. In most cases, - the full client physical port rate is assigned to a single - logical channel."; - } - - } - - grouping terminal-client-port-assignment-state { - description - "Operational state data for assigning physical client ports - to logical channels"; - } - - grouping terminal-client-port-assignment-top { - description - "Top-level grouping for the assigment of client physical ports - to logical channels"; - //TODO: this grouping could be removed, instead reusing a common - //grouping for logical client assignment pointers - - container logical-channel-assignments { - description - "Enclosing container for client port to logical client - mappings"; - - list assignment { - key "index"; - description - "List of assignments to logical clients"; - - leaf index { - type leafref { - path "../config/index"; - } - description - "Reference to the index of this logical client - assignment"; - } - - container config { - description - "Configuration data for the logical client assignment"; - - uses terminal-client-port-assignment-config; - } - - container state { - - config false; - - description - "Operational state data for the logical client - assignment"; - - uses terminal-client-port-assignment-config; - uses terminal-client-port-assignment-state; - } - } - } - } - - - grouping terminal-logical-chan-assignment-config { - description - "Configuration data for assigning client logical channels - to line-side tributaries"; - - leaf index { - type uint32; - description - "Index of the current logical client channel to tributary - mapping"; - } - - leaf description { - type string; - description - "Name assigned to the logical client channel"; - } - - leaf assignment-type { - type enumeration { - enum LOGICAL_CHANNEL { - description - "Subsequent channel is a logical channel"; - } - enum OPTICAL_CHANNEL { - description - "Subsequent channel is a optical channel / carrier"; - } - } - description - "Each logical channel element may be assigned to subsequent - stages of logical elements to implement further grooming, or - can be assigned to a line-side optical channel for - transmission. Each assignment also has an associated - bandwidth allocation."; - } - - leaf logical-channel { - type leafref { - path "/oc-opt-term:terminal-device/" + - "oc-opt-term:logical-channels/oc-opt-term:channel/" + - "oc-opt-term:index"; - } - must "assignment-type = LOGICAL_CHANNEL" { - description - "The assignment-type must be set to LOGICAL_CHANNEL for - this leaf to be valid"; - } - description - "Reference to another stage of logical channel elements."; - } - - leaf optical-channel { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - must "assignment-type = OPTICAL_CHANNEL" { - description - "The assignment-type must be set to OPTICAL_CHANNEL for - this leaf to be valid"; - } - description - "Reference to the line-side optical channel that should - carry the current logical channel element. Use this - reference to exit the logical element stage."; - } - - leaf allocation { - type decimal64 { - fraction-digits 3; - } - units Gbps; - description - "Allocation of the logical client channel to the tributary - or sub-channel, expressed in Gbps"; - } - - } - - grouping terminal-logical-chan-assignment-state { - description - "Operational state data for the assignment of logical client - channel to line-side tributary"; - } - - grouping terminal-logical-chan-assignment-top { - description - "Top-level grouping for the list of logical client channel-to- - tributary assignments"; - - container logical-channel-assignments { - //TODO: we need a commonly understood name for this logical - //channel structure - description - "Enclosing container for tributary assignments"; - - list assignment { - key "index"; - description - "Logical channel elements may be assigned directly to - optical channels for line-side transmission, or can be - further groomed into additional stages of logical channel - elements. The grooming can multiplex (i.e., split the - current element into multiple elements in the subsequent - stage) or de-multiplex (i.e., combine the current element - with other elements into the same element in the subsequent - stage) logical elements in each stage. - - Note that to support the ability to groom the logical - elements, the list of logical channel elements should be - populated with an entry for the logical elements at - each stage, starting with the initial assignment from the - respective client physical port. - - Each logical element assignment consists of a pointer to - an element in the next stage, or to an optical channel, - along with a bandwidth allocation for the corresponding - assignment (e.g., to split or combine signal)."; - - leaf index { - type leafref { - path "../config/index"; - } - description - "Reference to the index for the current tributary - assignment"; - } - - container config { - description - "Configuration data for tributary assignments"; - - uses terminal-logical-chan-assignment-config; - } - - container state { - - config false; - - description - "Operational state data for tributary assignments"; - - uses terminal-logical-chan-assignment-config; - uses terminal-logical-chan-assignment-state; - } - } - } - } - - grouping terminal-logical-channel-ingress-config { - description - "Configuration data for ingress signal to logical channel"; - - leaf transceiver { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to the transceiver carrying the input signal - for the logical channel. If specific physical channels - are mapped to the logical channel (as opposed to all - physical channels carried by the transceiver), they can be - specified in the list of physical channel references."; - } - - leaf-list physical-channel { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-transceiver:transceiver/" + - "oc-transceiver:physical-channels/" + - "oc-transceiver:channel/oc-transceiver:index"; - } - description - "This list should be populated with references - to the client physical channels that feed this logical - channel from the transceiver specified in the 'transceiver' - leaf, which must be specified. If this leaf-list is empty, - all physical channels in the transceiver are assumed to be - mapped to the logical channel."; - } - } - - grouping terminal-logical-channel-ingress-state { - description - "Operational state data for ingress signal to logical channel"; - } - - grouping terminal-logical-channel-ingress-top { - description - "Top-level grouping for ingress signal to logical channel"; - - container ingress { - description - "Top-level container for specifying references to the - source of signal for the logical channel, either a - transceiver or individual physical channels"; - - container config { - description - "Configuration data for the signal source for the - logical channel"; - - uses terminal-logical-channel-ingress-config; - } - - container state { - - config false; - - description - "Operational state data for the signal source for the - logical channel"; - - uses terminal-logical-channel-ingress-config; - uses terminal-logical-channel-ingress-state; - } - } - } - - grouping terminal-logical-channel-config { - description - "Configuration data for logical channels"; - - leaf index { - type uint32; - description - "Index of the current logical channel"; - } - - leaf description { - type string; - description - "Description of the logical channel"; - } - - leaf admin-state { - type oc-opt-types:admin-state-type; - description - "Sets the admin state of the logical channel"; - } - - leaf rate-class { - type identityref { - base oc-opt-types:TRIBUTARY_RATE_CLASS_TYPE; - } - description - "Rounded bit rate of the tributary signal. Exact bit rate - will be refined by protocol selection."; - } - - leaf trib-protocol { - type identityref { - base oc-opt-types:TRIBUTARY_PROTOCOL_TYPE; - } - description - "Protocol framing of the tributary signal. If this - LogicalChannel is directly connected to a Client-Port or - Optical-Channel, this is the protocol of the associated port. - If the LogicalChannel is connected to other LogicalChannels, - the TributaryProtocol of the LogicalChannels will define a - specific mapping/demapping or multiplexing/demultiplexing - function. - - Not all protocols are valid, depending on the value - of trib-rate-class. The expectation is that the NMS - will validate that a correct combination of rate class - and protocol are specfied. Basic combinations are: - - rate class: 1G - protocols: 1GE - - rate class: 2.5G - protocols: OC48, STM16 - - rate class: 10G - protocols: 10GE LAN, 10GE WAN, OC192, STM64, OTU2, OTU2e, - OTU1e, ODU2, ODU2e, ODU1e - - rate class: 40G - protocols: 40GE, OC768, STM256, OTU3, ODU3 - - rate class: 100G - protocols: 100GE, 100G MLG, OTU4, OTUCn, ODU4"; - } - - leaf logical-channel-type { - type identityref { - base oc-opt-types:LOGICAL_ELEMENT_PROTOCOL_TYPE; - } - description - "The type / stage of the logical element determines the - configuration and operational state parameters (PMs) - available for the logical element"; - } - - leaf loopback-mode { - type oc-opt-types:loopback-mode-type; - description - "Sets the loopback type on the logical channel. Setting the - mode to something besides NONE activates the loopback in - the specified mode."; - } - } - - - grouping terminal-logical-channel-state { - description - "Operational state data for logical client channels"; - - leaf link-state { - type enumeration { - enum UP { - description - "Logical channel is operationally up"; - } - enum DOWN { - description - "Logical channel is operationally down"; - } - } - description - "Link-state of the Ethernet protocol on the logical channel, - SONET / SDH framed signal, etc."; - } - - } - - grouping terminal-logical-channel-top { - description - "Top-level grouping for logical channels"; - - container logical-channels { - description - "Enclosing container the list of logical channels"; - - list channel { - key "index"; - description - "List of logical channels"; - //TODO: naming for this list of logical elements should be - //revisited. - - leaf index { - type leafref { - path "../config/index"; - } - description - "Reference to the index of the logical channel"; - } - - container config { - description - "Configuration data for logical channels"; - - uses terminal-logical-channel-config; - - } - - container state { - - config false; - - description - "Operational state data for logical channels"; - - uses terminal-logical-channel-config; - uses terminal-logical-channel-state; - } - - uses terminal-otn-protocol-top { - when "../config/protocol-type = PROT_OTN" { - description - "Include the OTN protocol data only when the - channel is using OTN framing."; - } - } - uses terminal-ethernet-protocol-top { - when "../config/protocol-type = PROT_ETHERNET" { - description - "Include the Ethernet protocol statistics only when the - protocol used by the link is Ethernet."; - } - } - uses terminal-logical-channel-ingress-top; - uses terminal-logical-chan-assignment-top; - } - } - } - - - grouping terminal-optical-channel-config { - description - "Configuration data for describing optical channels"; - - leaf frequency { - type oc-opt-types:frequency-type; - description - "Frequency of the optical channel, expressed in MHz"; - } - - leaf target-output-power { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "Target output optical power level of the optical channel, - expressed in increments of 0.01 dBm (decibel-milliwats)"; - } - - leaf operational-mode { - type uint16; - // this must statement checks for existence of the - // operational mode in the list of supported operational - // modes - must "boolean(../../../../operational-modes/state/" + - "supported-modes[mode-id=current()])" { - description - "The referenced operational mode must exist in the list of - supported operational modes supplied by the device"; - } - description - "Vendor-specific mode identifier -- sets the operational - mode for the channel"; - } - - leaf line-port { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to the line-side physical port that carries - this optical channel. The target port should be - a component in the physical inventory data model."; - } - } - - grouping terminal-optical-channel-state { - description - "Operational state data for optical channels"; - - leaf group-id { - type uint32; - description - "If the device places constraints on which optical - channels must be managed together (e.g., transmitted on the - same line port), it can indicate that by setting the group-id - to the same value across related optical channels."; - } - - uses oc-transceiver:optical-power-state; - - container chromatic-dispersion { - description - "Chromatic Dispersion of an optical channel - in ps/nm as reported by receiver"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container polarization-mode-dispersion { - description - "Polarization Mode Dispersion of an optical channel - in ps as reported by receiver"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container second-order-polarization-mode-dispersion { - description - "Second Order Polarization Mode Dispersion of an optical - channel in ps^2 as reported by receiver"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - - container polarization-dependent-loss { - description - "Polarization Dependent Loss of an optical channel - in dB as reported by receiver"; - - uses oc-types:avg-min-max-instant-stats-precision1; - } - } - - grouping terminal-optical-channel-top { - description - "Top-level grouping for optical channel data"; - - container optical-channel { - description - "Enclosing container for the list of optical channels"; - - container config { - description - "Configuration data for optical channels"; - - uses terminal-optical-channel-config; - } - - container state { - - config false; - - description - "Operational state data for optical channels"; - - uses terminal-optical-channel-config; - uses terminal-optical-channel-state; - } - } - } - - grouping terminal-operational-mode-config { - description - "Configuration data for vendor-supported operational modes"; - } - - grouping terminal-operational-mode-state { - description - "Operational state data for vendor-supported operational - modes"; - - leaf mode-id { - type uint16; - description - "Two-octet encoding of the vendor-defined operational - mode"; - } - - leaf description { - type string; - description - "Vendor-supplied textual description of the characteristics - of this operational mode to enable operators to select the - appropriate mode for the application."; - } - - //TODO: examples of the kind of info that would be useful to - //report in the operational mode: - //Symbol rate (32G, 40G, 43G, 64G, etc.) - //Modulation (QPSK, 8-QAM, 16-QAM, etc.) - //Differential encoding (on, off/pilot symbol, etc) - //State of polarization tracking mode (default, med. - //high-speed, etc.) - //Pulse shaping (RRC, RC, roll-off factor) - //FEC mode (SD, HD, % OH) - - leaf vendor-id { - type string; - description - "Identifier to represent the vendor / supplier of the - platform and the associated operational mode information"; - } - } - - grouping terminal-operational-mode-top { - description - "Top-level grouping for vendor-supported operational modes"; - - container operational-modes { - description - "Enclosing container for list of operational modes"; - - list mode { - key "mode-id"; - config false; - description - "List of operational modes supported by the platform. - The operational mode provides a platform-defined summary - of information such as symbol rate, modulation, pulse - shaping, etc."; - - leaf mode-id { - type leafref { - path "../state/mode-id"; - } - description - "Reference to mode-id"; - } - - container config { - description - "Configuration data for operational mode"; - - uses terminal-operational-mode-config; - } - - container state { - - config false; - - description - "Operational state data for the platform-defined - operational mode"; - - uses terminal-operational-mode-config; - uses terminal-operational-mode-state; - } - } - } - } - - - grouping terminal-device-config { - description - "Configuration data for transport terminal devices at a - device-wide level"; - } - - grouping terminal-device-state { - description - "Operational state data for transport terminal devices at a - device-wide level"; - } - - grouping terminal-device-top { - description - "Top-level grouping for data for terminal devices"; - - container terminal-device { - description - "Top-level container for the terminal device"; - - container config { - description - "Configuration data for global terminal-device"; - - uses terminal-device-config; - } - - container state { - - config false; - - description - "Operational state data for global terminal device"; - - uses terminal-device-config; - uses terminal-device-state; - } - - uses terminal-logical-channel-top; - uses terminal-operational-mode-top; - - } - } - - // data definition statements - - uses terminal-device-top; - - // augment statements - - augment "/oc-platform:components/oc-platform:component" { - when "/oc-platform:components/oc-platform:component/" + - "oc-platform:state/oc-platform:type = 'OPTICAL_CHANNEL'" { - description - "Augment is active when component is of type - OPTICAL_CHANNEL"; - } - description - "Adding optical channel data to physical inventory"; - - uses terminal-optical-channel-top { - } - } - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-transport-line-common.yang b/yang/modules/cisco-ios-xr/631/openconfig-transport-line-common.yang deleted file mode 100755 index ccd5159..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-transport-line-common.yang +++ /dev/null @@ -1,295 +0,0 @@ -module openconfig-transport-line-common { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/transport-line-common"; - - prefix "oc-line-com"; - - // import some basic types - import iana-if-type { prefix ift; } - import openconfig-extensions { prefix oc-ext; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-platform { prefix oc-platform; } - import openconfig-types { prefix oc-types; } - import openconfig-transport-types { prefix oc-opt-types; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module defines common data elements for OpenConfig data - models for optical transport line system elements, such as - amplifiers and ROADMs (wavelength routers)."; - - oc-ext:openconfig-version "0.3.0"; - - revision "2017-07-08" { - description - "Add monitor port type and refs to hw ports, "; - reference "0.3.0"; - } - - revision "2017-03-28" { - description - "Added min/max/avg stats, status for media channels, OCM, APS"; - reference "0.2.0"; - } - - revision "2016-03-31" { - description - "Initial public release"; - reference "0.1.0"; - } - - - // extension statements - - // feature statements - - // identity statements - - identity OPTICAL_LINE_PORT_TYPE { - description - "Type definition for optical node port types"; - } - - identity INGRESS { - base OPTICAL_LINE_PORT_TYPE; - description - "Ingress port, corresponding to a signal entering - a line device such as an amplifier or wavelength - router."; - } - - identity EGRESS { - base OPTICAL_LINE_PORT_TYPE; - description - "Egress port, corresponding to a signal exiting - a line device such as an amplifier or wavelength - router."; - } - - identity ADD { - base OPTICAL_LINE_PORT_TYPE; - description - "Add port, corresponding to a signal injected - at a wavelength router."; - } - - identity DROP { - base OPTICAL_LINE_PORT_TYPE; - description - "Drop port, corresponding to a signal dropped - at a wavelength router."; - } - - identity MONITOR { - base OPTICAL_LINE_PORT_TYPE; - description - "Monitor port, corresponding to a signal used by an optical - channel monitor. This is used to represent the connection - that a channel monitor port is connected to. This - connection may be via physical cable and faceplate ports or - internal to the device"; - } - - // typedef statements - - // grouping statements - - grouping optical-osc-config { - description - "Configuration data for OSC interfaces"; - - leaf-list interface { - type oc-if:base-interface-ref; - description - "List of references to OSC interfaces"; - } - } - - grouping optical-osc-state { - description - "Operational state data for OSC interfaces"; - - container input-power { - description - "The input optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - the target is expected to just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container output-power { - description - "The output optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - the target is expected to just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container laser-bias-current { - description - "The current applied by the system to the transmit laser to - achieve the output power. The current is expressed in mA - with up to one decimal precision. If avg/min/max statistics - are not supported, the target is expected to just supply - the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-mA; - } - } - - - - grouping optical-osc-top { - description - "Top-level grouping for configuration and operational state - data for optical supervisory channels (OSC) for amplifiers, - WSS/ROADM, nodes, etc."; - - container config { - description - "Configuration data for OSCs"; - - uses optical-osc-config; - } - - container state { - - config false; - - description - "Operational state data for OSCs"; - - uses optical-osc-config; - uses optical-osc-state; - } - } - - - grouping transport-line-common-port-config { - description - "Configuration data for optical line ports"; - - leaf admin-state { - type oc-opt-types:admin-state-type; - description - "Sets the admin state of the optical-port"; - } - } - - grouping transport-line-common-port-state { - description - "Operational state data describing optical line ports"; - - leaf optical-port-type { - type identityref { - base OPTICAL_LINE_PORT_TYPE; - } - description - "Indicates the type of transport line port. This is an - informational field that should be made available by the - device (e.g., in the openconfig-platform model)."; - } - - container input-power { - description - "The total input optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - - container output-power { - description - "The total output optical power of this port in units - of 0.01dBm. If avg/min/max statistics are not supported, - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - } - - grouping transport-line-common-port-top { - description - "Top-level grouping "; - - container optical-port { - description - "Top-level container "; - - container config { - - description - "Operational config data for optical line ports"; - - uses transport-line-common-port-config; - } - - container state { - - config false; - - description - "Operational state data for optical line ports"; - - uses transport-line-common-port-config; - uses transport-line-common-port-state; - } - } - } - - - - // data definition statements - - // uses optical-osc-top; - - // augment statements - - augment "/oc-platform:components/oc-platform:component" { - description - "Adding optical line port data to platform model"; - - uses transport-line-common-port-top { - when "/oc-platform:components/oc-platform:component/" + - "oc-platform:state/oc-platform:type = 'PORT'" { - description - "Augment is active when component is of type - PORT"; - } - } - } - - //TODO:this is placeholder until SONET model is added - //to interfaces model - augment "/oc-if:interfaces/oc-if:interface" { - when "oc-if:config/oc-if:type = 'ift:sonet'" { - description "Additional interface configuration parameters when - the interface type is SONET/SDH"; - } - description "Adds additional SONET/SDH-specific data to - osc model"; - - container sonet { - description - "Data related to SONET/SDH interfaces"; - } - } - - // rpc statements - - // notification statements - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-transport-line-protection.yang b/yang/modules/cisco-ios-xr/631/openconfig-transport-line-protection.yang deleted file mode 100644 index 23c4c21..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-transport-line-protection.yang +++ /dev/null @@ -1,504 +0,0 @@ -module openconfig-transport-line-protection { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/optical-transport-line-protection"; - - prefix "oc-line-protect"; - - import openconfig-extensions { prefix oc-ext; } - import openconfig-types { prefix oc-types; } - import openconfig-platform { prefix oc-platform; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This model describes configuration and operational state data - for optical line protection elements, deployed as part of a - transport line system. An Automatic Protection Switch (APS) - is typically installed in the same device as the amplifiers - and wave-router, however an APS can also be a standalone - device. In both scenarios, it serves the same purpose of - providing protection using two dark fiber pairs to ensure the - amplifiers can still receive a signal if one of the two fiber - pairs is broken."; - - // - // Automatic Protection Switch (APS) port details and directionality. - // _________ - // | | - // | | <=== LINE-PRIMARY-IN - // | | - // COMMON-IN ===> | | ===> LINE-PRIMARY-OUT - // | | - // | APS | - // COMMON-OUT <=== | | - // | | <=== LINE-SECONDARY-IN - // | | - // | | ===> LINE-SECONDARY-OUT - // |_______| - // - - oc-ext:openconfig-version "0.2.0"; - - revision "2017-03-28" { - description - "Added min/max/avg stats, status for media channels, OCM, APS"; - reference "0.2.0"; - } - - revision "2016-08-05" { - description - "Initial public release"; - reference "0.1.0"; - } - - // extension statements - - // feature statements - - // identity statements - - identity APS_PATHS { - description - "Base identity for identifying the line paths on an - automatic protection switch"; - } - - identity PRIMARY { - base APS_PATHS; - description - "The primary line path connected to an automatic protection - switch port indicating the primary/preferred path"; - } - - identity SECONDARY { - base APS_PATHS; - description - "The secondary line path connected to an automatic protection - switch port indicating the secondary path"; - } - - // grouping statements - - grouping aps-input-port-config { - description - "Grouping for config related to unidirectional automatic - protection switch input ports"; - - leaf enabled { - type boolean; - default "true"; - description - "This leaf contains the configured, desired state of the - port. Disabling the port turns off alarm reporting for - the port"; - } - - leaf target-attenuation { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "Target attenuation of the variable optical attenuator - associated with the port in increments of 0.01 dB."; - } - } - - grouping aps-output-port-config { - description - "Grouping for config related to unidirectional automatic - protection switch output ports"; - - leaf target-attenuation { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "Target attenuation of the variable optical attenuator - associated with the port in increments of 0.01 dB"; - } - } - - grouping aps-input-port-state { - description - "Grouping for state related to unidirectional automatic - protection switch input ports"; - - leaf attenuation { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The attenuation of the variable optical attenuator - associated with the port in increments of 0.01 dB."; - } - - container optical-power { - description - "The optical input power of this port in units of - 0.01dBm. Optical input power represents the signal - traversing from an external destination into the module. - The power is measured before any attenuation. If avg/min/max - statistics are not supported, the target is expected to - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - } - - grouping aps-output-port-state { - description - "Grouping for state related to unidirectional automatic - protection switch output ports"; - - leaf attenuation { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The attenuation of the variable optical attenuator - associated with the port in increments of 0.01 dB"; - } - - container optical-power { - description - "The optical output power of this port in units of - 0.01dBm. Optical output power represents the signal - traversing from the module to an external destination. The - power is measured after any attenuation. If avg/min/max - statistics are not supported, the target is expected to - just supply the instant value"; - - uses oc-types:avg-min-max-instant-stats-precision2-dBm; - } - } - - grouping aps-ports { - description - "Top level grouping for automatic protection switch ports"; - - container line-primary-in { - description - "Container for information related to the line primary - input port"; - - container config { - description - "Configuration data for the line primary input port"; - - uses aps-input-port-config; - } - - container state { - - config false; - - description - "State data for the line primary input port"; - - uses aps-input-port-config; - uses aps-input-port-state; - } - - } - - container line-primary-out { - description - "Container for information related to the line primary - output port"; - - container config { - description - "Configuration data for the line primary output port"; - - uses aps-output-port-config; - } - - container state { - - config false; - - description - "State data for the line primary output port"; - - uses aps-output-port-config; - uses aps-output-port-state; - } - } - - container line-secondary-in { - description - "Container for information related to the line secondary - input port"; - - container config { - description - "Configuration data for the line secondary input port"; - - uses aps-input-port-config; - } - - container state { - - config false; - - description - "State data for the line secondary input port"; - - uses aps-input-port-config; - uses aps-input-port-state; - } - } - - container line-secondary-out { - description - "Container for information related to the line secondary - output port"; - - container config { - description - "Configuration data for the line secondary output port"; - - uses aps-output-port-config; - } - - container state { - - config false; - - description - "State data for the line secondary output port"; - - uses aps-output-port-config; - uses aps-output-port-state; - } - } - - container common-in { - description - "Container for information related to the line common - input port"; - - container config { - description - "Configuration data for the line common input port"; - - uses aps-input-port-config; - } - - container state { - - config false; - - description - "State data for the line common input port"; - - uses aps-input-port-config; - uses aps-input-port-state; - } - } - - container common-output { - description - "Container for information related to the line common - output port"; - - container config { - description - "Configuration data for the line common output port"; - - uses aps-output-port-config; - } - - container state { - - config false; - - description - "State data for the line common output port"; - - uses aps-output-port-config; - uses aps-output-port-state; - } - } - } - - grouping aps-config { - description - "Configuration data for automatic protection switch modules"; - - leaf name { - type leafref { - path "/oc-platform:components/oc-platform:component/" + - "oc-platform:name"; - } - description - "Reference to the component name (in the platform model) - corresponding to this automatic protection switch module - in the device"; - } - - leaf revertive { - type boolean; - description - "Revertive behavior of the module. - If True, then automatically revert after protection switch - once the fault is restored."; - } - - leaf primary-switch-threshold { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The threshold at which the primary line port will switch to - the opposite line port in increments of 0.01 dBm. If the - hardware supports only one switch threshold for primary and - and secondary ports then it is recommended to set both - primary-switch-threshold and secondary-switch-threshold to - the same value to be explicit"; - } - - leaf primary-switch-hysteresis { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The delta in 0.01 dB between the primary-switch-threshold - and the signal received before initiating a reversion in - order to prevent toggling between ports when an input - signal is very close to threshold. If the hardware supports - only one switch hysteresis for primary and secondary ports - then it is recommended to set both primary-switch-threshold - and secondary-switch-threshold to the same value to be - explicit"; - } - - leaf secondary-switch-threshold { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The threshold at which the secondary line port will switch to - the opposite line port in increments of 0.01 dBm. If the - hardware supports only one switch threshold for primary and - and secondary ports then it is recommended to set both - primary-switch-threshold and secondary-switch-threshold to - the same value to be explicit"; - } - - leaf secondary-switch-hysteresis { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The delta in 0.01 dB between the secondary-switch-threshold - and the signal received before initiating a reversion in - order to prevent toggling between ports when an input - signal is very close to threshold. If the hardware supports - only one switch hysteresis for primary and secondary ports - then it is recommended to set both primary-switch-threshold - and secondary-switch-threshold to the same value to be - explicit"; - } - } - - grouping aps-state { - description - "State data for automatic protection switch modules"; - - leaf active-path { - type identityref { - base APS_PATHS; - } - description - "Indicates which line path on the automatic protection switch - is currently the active path connected to the common port"; - } - } - - grouping automatic-protection-switch-top { - description - "Top level grouping for automatic protection switch data"; - - container aps-modules { - description - "Enclosing container for list of automatic protection - switch modules"; - - list aps-module { - key "name"; - description - "List of automatic protection switch modules present - in the device"; - - leaf name { - type leafref { - path "../config/name"; - } - description - "Reference to the config name list key"; - } - - container config { - description - "Configuration data for an automatic protection - switch module"; - - uses aps-config; - } - - container state { - - config false; - - description - "Operational state data for an automatic protection - switch module"; - - uses aps-config; - uses aps-state; - } - - container ports { - description - "Top level grouping for automatic protection switch ports"; - - uses aps-ports; - } - } - } - } - - grouping transport-line-protection-top { - description - "Top level grouping for transport line protection data"; - - container aps { - description - "Top level grouping for automatic protection switch data"; - - uses automatic-protection-switch-top; - } - } - - // data definition statements - - uses transport-line-protection-top; - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-transport-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-transport-types.yang deleted file mode 100644 index 59aee1c..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-transport-types.yang +++ /dev/null @@ -1,558 +0,0 @@ -module openconfig-transport-types { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/transport-types"; - - prefix "oc-opt-types"; - - import openconfig-platform-types { prefix oc-platform-types; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module contains general type definitions and identities - for optical transport models."; - - oc-ext:openconfig-version "0.3.1"; - - revision "2016-06-17" { - description - "Public release"; - reference "0.3.1"; - } - - // typedef statements - - typedef frequency-type { - type uint64; - units "MHz"; - description - "Type for optical spectrum frequency values"; - } - - typedef admin-state-type { - type enumeration { - enum ENABLED { - description - "Sets the channel admin state to enabled"; - } - enum DISABLED { - description - "Sets the channel admin state to disabled"; - } - enum MAINT { - description - "Sets the channel to maintenance / diagnostic mode"; - } - } - description "Administrative state modes for - logical channels in the transponder model."; - } - - typedef loopback-mode-type { - type enumeration { - enum NONE { - description - "No loopback is applied"; - } - enum FACILITY { - description - "A loopback which directs traffic normally transmitted - on the port back to the device as if received on the same - port from an external source."; - } - enum TERMINAL { - description - "A loopback which directs traffic received from an external - source on the port back out the transmit side of the same - port."; - } - } - default NONE; - description - "Loopback modes for transponder logical channels"; - } - - - // identity statements - - identity TRIBUTARY_PROTOCOL_TYPE { - description - "Base identity for protocol framing used by tributary - signals."; - } - - identity PROT_1GE { - base TRIBUTARY_PROTOCOL_TYPE; - description "1G Ethernet protocol"; - } - - identity PROT_OC48 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OC48 protocol"; - } - - identity PROT_STM16 { - base TRIBUTARY_PROTOCOL_TYPE; - description "STM 16 protocol"; - } - - identity PROT_10GE_LAN { - base TRIBUTARY_PROTOCOL_TYPE; - description "10G Ethernet LAN protocol"; - } - - identity PROT_10GE_WAN { - base TRIBUTARY_PROTOCOL_TYPE; - description "10G Ethernet WAN protocol"; - } - - identity PROT_OC192 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OC 192 (9.6GB) port protocol"; - } - - identity PROT_STM64 { - base TRIBUTARY_PROTOCOL_TYPE; - description "STM 64 protocol"; - } - - identity PROT_OTU2 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU 2 protocol"; - } - - identity PROT_OTU2E { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU 2e protocol"; - } - - identity PROT_OTU1E { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU 1e protocol"; - } - - identity PROT_ODU2 { - base TRIBUTARY_PROTOCOL_TYPE; - description "ODU 2 protocol"; - } - - identity PROT_ODU2E { - base TRIBUTARY_PROTOCOL_TYPE; - description "ODU 2e protocol"; - } - - identity PROT_40GE { - base TRIBUTARY_PROTOCOL_TYPE; - description "40G Ethernet port protocol"; - } - - identity PROT_OC768 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OC 768 protocol"; - } - - identity PROT_STM256 { - base TRIBUTARY_PROTOCOL_TYPE; - description "STM 256 protocol"; - } - - identity PROT_OTU3 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU 3 protocol"; - } - - identity PROT_ODU3 { - base TRIBUTARY_PROTOCOL_TYPE; - description "ODU 3 protocol"; - } - - identity PROT_100GE { - base TRIBUTARY_PROTOCOL_TYPE; - description "100G Ethernet protocol"; - } - - identity PROT_100G_MLG { - base TRIBUTARY_PROTOCOL_TYPE; - description "100G MLG protocol"; - } - - identity PROT_OTU4 { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU4 signal protocol (112G) for transporting - 100GE signal"; - } - - identity PROT_OTUCN { - base TRIBUTARY_PROTOCOL_TYPE; - description "OTU Cn protocol"; - } - - identity PROT_ODU4 { - base TRIBUTARY_PROTOCOL_TYPE; - description "ODU 4 protocol"; - } - - identity TRANSCEIVER_FORM_FACTOR_TYPE { - description - "Base identity for identifying the type of pluggable optic - transceiver (i.e,. form factor) used in a port."; - } - - identity CFP { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "C form-factor pluggable, that can support up to a - 100 Gb/s signal with 10x10G or 4x25G physical channels"; - } - - identity CFP2 { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "1/2 C form-factor pluggable, that can support up to a - 200 Gb/s signal with 10x10G, 4x25G, or 8x25G physical - channels"; - } - - identity CFP2_ACO { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "CFP2 analog coherent optics transceiver, supporting - 100 Gb, 200Gb, and 250 Gb/s signal."; - } - - identity CFP4 { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "1/4 C form-factor pluggable, that can support up to a - 100 Gb/s signal with 10x10G or 4x25G physical channels"; - } - - identity QSFP { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "Quad Small Form-factor Pluggable transceiver that can support - up to 4x10G physical channels"; - } - - identity QSFP28 { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "QSFP pluggable optic with support for up to 4x28G physical - channels"; - } - - identity SFP { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "Small form-factor pluggable transceiver supporting up to - 10 Gb/s signal"; - } - - identity SFP_PLUS { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "Enhanced small form-factor pluggable transceiver supporting - up to 16 Gb/s signals, including 10 GbE and OTU2"; - } - - identity XFP { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "10 Gigabit small form factor pluggable transceiver supporting - 10 GbE and OTU2"; - } - - identity X2 { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "10 Gigabit small form factor pluggable transceiver supporting - 10 GbE using a XAUI inerface and 4 data channels."; - } - - identity NON_PLUGGABLE { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "Represents a port that does not require a pluggable optic, - e.g., with on-board optics like COBO"; - } - - identity OTHER { - base TRANSCEIVER_FORM_FACTOR_TYPE; - description - "Represents a transceiver form factor not otherwise listed"; - } - - identity FIBER_CONNECTOR_TYPE { - description - "Type of optical fiber connector"; - } - - identity SC_CONNECTOR { - base FIBER_CONNECTOR_TYPE; - description - "SC type fiber connector"; - } - - identity LC_CONNECTOR { - base FIBER_CONNECTOR_TYPE; - description - "LC type fiber connector"; - } - - identity MPO_CONNECTOR { - base FIBER_CONNECTOR_TYPE; - description - "MPO (multi-fiber push-on/pull-off) type fiber connector - 1x12 fibers"; - } - - identity ETHERNET_PMD_TYPE { - description - "Ethernet compliance codes (PMD) supported by transceivers"; - } - - identity ETH_10GBASE_LRM { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 10GBASE_LRM"; - } - - identity ETH_10GBASE_LR { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 10GBASE_LR"; - } - - identity ETH_10GBASE_ZR { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 10GBASE_ZR"; - } - - identity ETH_10GBASE_ER { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 10GBASE_ER"; - } - - identity ETH_10GBASE_SR { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 10GBASE_SR"; - } - - identity ETH_40GBASE_CR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 40GBASE_CR4"; - } - - identity ETH_40GBASE_SR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 40GBASE_SR4"; - } - - identity ETH_40GBASE_LR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 40GBASE_LR4"; - } - - identity ETH_40GBASE_ER4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 40GBASE_ER4"; - } - - identity ETH_40GBASE_PSM4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 40GBASE_PSM4"; - } - - identity ETH_4X10GBASE_LR { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 4x10GBASE_LR"; - } - - identity ETH_4X10GBASE_SR { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 4x10GBASE_SR"; - } - - identity ETH_100G_AOC { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100G_AOC"; - } - - identity ETH_100G_ACC { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100G_ACC"; - } - - identity ETH_100GBASE_SR10 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_SR10"; - } - - identity ETH_100GBASE_SR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_SR4"; - } - - identity ETH_100GBASE_LR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_LR4"; - } - - identity ETH_100GBASE_ER4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_ER4"; - } - - identity ETH_100GBASE_CWDM4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_CWDM4"; - } - - identity ETH_100GBASE_CLR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_CLR4"; - } - - identity ETH_100GBASE_PSM4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_PSM4"; - } - - identity ETH_100GBASE_CR4 { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: 100GBASE_CR4"; - } - - identity ETH_UNDEFINED { - base ETHERNET_PMD_TYPE; - description "Ethernet compliance code: undefined"; - } - - identity SONET_APPLICATION_CODE { - description - "Supported SONET/SDH application codes"; - } - - identity VSR2000_3R2 { - base SONET_APPLICATION_CODE; - description - "SONET/SDH application code: VSR2000_3R2"; - } - - identity VSR2000_3R3 { - base SONET_APPLICATION_CODE; - description - "SONET/SDH application code: VSR2000_3R3"; - } - - identity VSR2000_3R5 { - base SONET_APPLICATION_CODE; - description - "SONET/SDH application code: VSR2000_3R5"; - } - - identity SONET_UNDEFINED { - base SONET_APPLICATION_CODE; - description - "SONET/SDH application code: undefined"; - } - - identity OTN_APPLICATION_CODE { - description - "Supported OTN application codes"; - } - - identity P1L1_2D1 { - base OTN_APPLICATION_CODE; - description - "OTN application code: P1L1_2D1"; - } - - identity P1S1_2D2 { - base OTN_APPLICATION_CODE; - description - "OTN application code: P1S1_2D2"; - } - - identity P1L1_2D2 { - base OTN_APPLICATION_CODE; - description - "OTN application code: P1L1_2D2"; - } - - identity OTN_UNDEFINED { - base OTN_APPLICATION_CODE; - description - "OTN application code: undefined"; - } - - identity TRIBUTARY_RATE_CLASS_TYPE { - description - "Rate of tributary signal _- identities will typically reflect - rounded bit rate."; - } - - identity TRIB_RATE_1G { - base TRIBUTARY_RATE_CLASS_TYPE; - description - "1G tributary signal rate"; - } - - identity TRIB_RATE_2.5G { - base TRIBUTARY_RATE_CLASS_TYPE; - description - "2.5G tributary signal rate"; - } - - identity TRIB_RATE_10G { - base TRIBUTARY_RATE_CLASS_TYPE; - description - "10G tributary signal rate"; - } - - identity TRIB_RATE_40G { - base TRIBUTARY_RATE_CLASS_TYPE; - description - "40G tributary signal rate"; - } - - identity TRIB_RATE_100G { - base TRIBUTARY_RATE_CLASS_TYPE; - description - "100G tributary signal rate"; - } - - identity LOGICAL_ELEMENT_PROTOCOL_TYPE { - description - "Type of protocol framing used on the logical channel or - tributary"; - } - - identity PROT_ETHERNET { - base LOGICAL_ELEMENT_PROTOCOL_TYPE; - description - "Ethernet protocol framing"; - } - - identity PROT_OTN { - base LOGICAL_ELEMENT_PROTOCOL_TYPE; - description - "OTN protocol framing"; - } - - identity OPTICAL_CHANNEL { - base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; - description - "Optical channels act as carriers for transport traffic - directed over a line system. They are represented as - physical components in the physical inventory model."; - } - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-types.yang deleted file mode 100755 index ecffdc2..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-types.yang +++ /dev/null @@ -1,325 +0,0 @@ -module openconfig-types { - yang-version "1"; - - namespace "http://openconfig.net/yang/openconfig-types"; - - prefix "oc-types"; - - // import statements - import openconfig-extensions { prefix oc-ext; } - - // meta - organization - "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module contains a set of general type definitions that - are used across OpenConfig models. It can be imported by modules - that make use of these types."; - - oc-ext:openconfig-version "0.3.2"; - - revision "2017-01-13" { - description - "Add ADDRESS_FAMILY identity"; - reference "0.3.2"; - } - - revision "2016-11-14" { - description - "Correct length of ieeefloat32"; - reference "0.3.1"; - } - - revision "2016-11-11" { - description - "Additional types - ieeefloat32 and routing-password"; - reference "0.3.0"; - } - - revision "2016-05-31" { - description - "OpenConfig public release"; - reference "0.2.0"; - } - - typedef percentage { - type uint8 { - range "0..100"; - } - description - "Integer indicating a percentage value"; - } - - typedef std-regexp { - type string; - description - "This type definition is a placeholder for a standard - definition of a regular expression that can be utilised in - OpenConfig models. Further discussion is required to - consider the type of regular expressions that are to be - supported. An initial proposal is POSIX compatible."; - } - - typedef timeticks64 { - type uint64; - description - "This type is based on the timeticks type defined in - RFC 6991, but with 64-bit width. It represents the time, - modulo 2^64, in hundredths of a second between two epochs."; - reference - "RFC 6991 - Common YANG Data Types"; - } - - typedef ieeefloat32 { - type binary { - length "32"; - } - description - "An IEEE 32-bit floating point number. The format of this number - is of the form: - 1-bit sign - 8-bit exponent - 24-bit fraction - The floating point value is calculated using: - (-1)**S * 2**(Exponent-127) * (1+Fraction)"; - } - - typedef routing-password { - type string; - description - "This type is indicative of a password that is used within - a routing protocol which can be returned in plain text to the - NMS by the local system. Such passwords are typically stored - as encrypted strings. Since the encryption used is generally - well known, it is possible to extract the original value from - the string - and hence this format is not considered secure. - Leaves specified with this type should not be modified by - the system, and should be returned to the end-user in plain - text. This type exists to differentiate passwords, which - may be sensitive, from other string leaves. It could, for - example, be used by the NMS to censor this data when - viewed by particular users."; - } - - grouping avg-min-max-stats-precision1 { - description - "Common nodes for recording average, minimum, and - maximum values for a statistic. These values all have - fraction-digits set to 1."; - - leaf avg { - type decimal64 { - fraction-digits 1; - } - description - "The arithmetic mean value of the statistic over the - sampling period."; - } - - leaf min { - type decimal64 { - fraction-digits 1; - } - description - "The minimum value of the statistic over the sampling - period"; - } - - leaf max { - type decimal64 { - fraction-digits 1; - } - description - "The maximum value of the statitic over the sampling - period"; - } - } - - grouping avg-min-max-instant-stats-precision1 { - description - "Common grouping for recording an instantaneous statistic value - in addition to avg-min-max stats"; - - leaf instant { - type decimal64 { - fraction-digits 1; - } - description - "The instantaneous value of the statistic."; - } - - uses avg-min-max-stats-precision1; - } - - grouping avg-min-max-instant-stats-precision2-dB { - description - "Common grouping for recording dB values with 2 decimal - precision. Values include the instantaneous, average, - minimum, and maximum statistics"; - - leaf instant { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The instantaneous value of the statistic."; - } - - leaf avg { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The arithmetic mean value of the statistic over the - sampling period."; - } - - leaf min { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The minimum value of the statistic over the sampling - period"; - } - - leaf max { - type decimal64 { - fraction-digits 2; - } - units dB; - description - "The maximum value of the statistic over the sampling - period"; - } - } - - grouping avg-min-max-instant-stats-precision2-dBm { - description - "Common grouping for recording dBm values with 2 decimal - precision. Values include the instantaneous, average, - minimum, and maximum statistics"; - - leaf instant { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The instantaneous value of the statistic."; - } - - leaf avg { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The arithmetic mean value of the statistic over the - sampling period."; - } - - leaf min { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The minimum value of the statistic over the sampling - period"; - } - - leaf max { - type decimal64 { - fraction-digits 2; - } - units dBm; - description - "The maximum value of the statistic over the sampling - period"; - } - } - - grouping avg-min-max-instant-stats-precision2-mA { - description - "Common grouping for recording mA values with 2 decimal - precision. Values include the instantaneous, average, - minimum, and maximum statistics"; - - leaf instant { - type decimal64 { - fraction-digits 2; - } - units mA; - description - "The instantaneous value of the statistic."; - } - - leaf avg { - type decimal64 { - fraction-digits 2; - } - units mA; - description - "The arithmetic mean value of the statistic over the - sampling period."; - } - - leaf min { - type decimal64 { - fraction-digits 2; - } - units mA; - description - "The minimum value of the statistic over the sampling - period"; - } - - leaf max { - type decimal64 { - fraction-digits 2; - } - units mA; - description - "The maximum value of the statistic over the sampling - period"; - } - } - - identity ADDRESS_FAMILY { - description - "A base identity for all address families"; - } - - identity IPV4 { - base ADDRESS_FAMILY; - description - "The IPv4 address family"; - } - - identity IPV6 { - base ADDRESS_FAMILY; - description - "The IPv6 address family"; - } - - identity MPLS { - base ADDRESS_FAMILY; - description - "The MPLS address family"; - } - - identity L2_ETHERNET { - base ADDRESS_FAMILY; - description - "The 802.3 Ethernet address family"; - } -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-vlan-types.yang b/yang/modules/cisco-ios-xr/631/openconfig-vlan-types.yang deleted file mode 100755 index dd095ce..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-vlan-types.yang +++ /dev/null @@ -1,180 +0,0 @@ -module openconfig-vlan-types { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/vlan-types"; - - prefix "oc-vlan-types"; - - // import some basic types - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module defines configuration and state variables for VLANs, - in addition to VLAN parameters associated with interfaces"; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - // extension statements - - // feature statements - - // identity statements - - identity TPID_TYPES { - description - "Base identity for TPID values that can override the VLAN - ethertype value"; - } - - identity TPID_0x8100 { - base TPID_TYPES; - description - "Default TPID value for 802.1q single-tagged VLANs."; - } - - identity TPID_0x8A88 { - base TPID_TYPES; - description - "TPID value for 802.1ad provider bridging, Q-in-Q, - or stacked VLANs"; - } - - identity TPID_0x9100 { - base TPID_TYPES; - description - "Alternate TPID value"; - } - - identity TPID_0X9200 { - base TPID_TYPES; - description - "Alternate TPID value"; - } - - // typedef statements - - // TODO: typedefs should be defined in a vlan-types.yang file. - typedef vlan-id { - type uint16 { - range 1..4094; - } - description - "Type definition representing a single-tagged VLAN"; - } - - typedef vlan-range { - type string { - // range specified as [lower]..[upper] - pattern "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|" + - "40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|" + - "[1-9])"; - } - description - "Type definition representing a range of single-tagged - VLANs. A range is specified as x..y where x and y are - valid VLAN IDs (1 <= vlan-id <= 4094). The range is - assumed to be inclusive, such that any VLAN-ID matching - x <= VLAN-ID <= y falls within the range."; - } - - typedef qinq-id { - type string { - pattern - "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])\." + - "((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])|\*)"; - } - description - "Type definition representing a single double-tagged/QinQ VLAN - identifier. The format of a QinQ VLAN-ID is x.y where X is the - 'outer' VLAN identifier, and y is the 'inner' VLAN identifier. - Both x and y must be valid VLAN IDs (1 <= vlan-id <= 4094) - with the exception that y may be equal to a wildcard (*). In - cases where y is set to the wildcard, this represents all inner - VLAN identifiers where the outer VLAN identifier is equal to - x"; - } - - typedef qinq-id-range { - type union { - type string { - // match cases where the range is specified as x..y.z - pattern - "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])\.\." + - "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])\." + - "((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])|\*)"; - } - type string { - // match cases where the range is specified as x.y..z - pattern - "(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9]))\." + - "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])\.\." + - "(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|" + - "[1-9][0-9]{1,2}|[1-9])"; - } - } - description - "A type definition representing a range of double-tagged/QinQ - VLAN identifiers. The format of a QinQ VLAN-ID range can be - specified in three formats. Where the range is outer VLAN IDs - the range is specified as x..y.z. In this case outer VLAN - identifiers meeting the criteria x <= outer-vlan-id <= y are - accepted iff the inner VLAN-ID is equal to y - or any inner-tag - if the wildcard is specified. Alternatively the range can be - specified as x.y..z. In this case only VLANs with an - outer-vlan-id qual to x are accepted (x may again be the - wildcard). Inner VLANs are accepted if they meet the inequality - y <= inner-vlan-id <= z."; - } - - typedef vlan-mode-type { - type enumeration { - enum ACCESS { - description "Access mode VLAN interface (No 802.1q header)"; - } - enum TRUNK { - description "Trunk mode VLAN interface"; - } - } - description - "VLAN interface mode (trunk or access)"; - } - - typedef vlan-ref { - type union { - type vlan-id; - type string; - // TODO: string should be changed to leafref to reference - // an existing VLAN. this is not allowed in YANG 1.0 but - // is expected to be in YANG 1.1. - // type leafref { - // path "vlan:vlans/vlan:vlan/vlan:config/vlan:name"; - // } - } - description - "Reference to a VLAN by name or id"; - } - -} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-vlan.yang b/yang/modules/cisco-ios-xr/631/openconfig-vlan.yang deleted file mode 100755 index afc61fd..0000000 --- a/yang/modules/cisco-ios-xr/631/openconfig-vlan.yang +++ /dev/null @@ -1,407 +0,0 @@ -module openconfig-vlan { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/vlan"; - - prefix "oc-vlan"; - - // import some basic types - import openconfig-vlan-types { prefix oc-vlan-types; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-if-ethernet { prefix oc-eth; } - import openconfig-if-aggregate { prefix oc-lag; } - import iana-if-type { prefix ift; } - import openconfig-extensions { prefix oc-ext; } - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - netopenconfig@googlegroups.com"; - - description - "This module defines configuration and state variables for VLANs, - in addition to VLAN parameters associated with interfaces"; - - oc-ext:openconfig-version "1.0.2"; - - revision "2016-05-26" { - description - "OpenConfig public release"; - reference "1.0.2"; - } - - - - // grouping statements - - grouping vlan-config { - description "VLAN configuration container."; - - leaf vlan-id { - type oc-vlan-types:vlan-id; - description "Interface VLAN id."; - } - - leaf name { - type string; - description "Interface VLAN name."; - } - - leaf status { - type enumeration { - enum ACTIVE { - description "VLAN is active"; - } - enum SUSPENDED { - description "VLAN is inactive / suspended"; - } - } - default ACTIVE; - description "Admin state of the VLAN"; - } - - leaf tpid { - type identityref { - base oc-vlan-types:TPID_TYPES; - } - default oc-vlan-types:TPID_0x8100; - description - "Optionally set the tag protocol identifier field (TPID) that - is accepted on the VLAN"; - } - - } - - grouping vlan-state { - description "State variables for VLANs"; - - } - - grouping vlan-members-state { - description - "List of interfaces / subinterfaces belonging to the VLAN."; - - container members { - description - "Enclosing container for list of member interfaces"; - - list member { - config false; - description - "List of references to interfaces / subinterfaces - associated with the VLAN."; - - uses oc-if:interface-ref-state; - } - } - } - - grouping vlan-ethernet-config { - description - "VLAN related configuration that is part of the physical - Ethernet interface."; - - leaf interface-mode { - type oc-vlan-types:vlan-mode-type; - description - "Set the interface to access or trunk mode for - VLANs"; - } - - leaf native-vlan { - when "interface-mode = 'TRUNK'" { - description - "Native VLAN is valid for trunk mode interfaces"; - } - type union { - type oc-vlan-types:vlan-id; - type oc-vlan-types:qinq-id; - } - description - "Set the native VLAN id for untagged frames arriving on - a trunk interface. This configuration is only valid on - a trunk interface."; - } - - leaf access-vlan { - when "interface-mode = 'ACCESS'" { - description - "Access VLAN assigned to the interfaces"; - } - type union { - type oc-vlan-types:vlan-id; - type oc-vlan-types:qinq-id; - } - description - "Assign the access vlan to the access port."; - } - - leaf-list trunk-vlans { - when "interface-mode = 'TRUNK'" { - description - "Allowed VLANs may be specified for trunk mode - interfaces."; - } - type union { - type oc-vlan-types:vlan-id; - type oc-vlan-types:vlan-range; - type oc-vlan-types:qinq-id; - type oc-vlan-types:qinq-id-range; - } - description - "Specify VLANs, or ranges thereof, that the interface may - carry when in trunk mode. If not specified, all VLANs are - allowed on the interface. Ranges are specified in the form - x..y, where x , else range + Format: "; + } + leaf exp-match { + type string; + description + "WRED exp match if EXP start value equals to end + value Format: , else range Format: + "; + } + } + + grouping WRED-PARAMS-V2 { + description + "Typhoon WRED parameters"; + leaf type { + type Wred; + description + "WRED type"; + } + leaf curve-xr { + type uint16; + description + "Number of curves"; + } + list curve { + max-elements "64"; + description + "Curve details"; + uses WRED-CURVE-PARAMS-V2; + } + } + + grouping PIR-SHAPE-PARAMS-V2 { + description + "PIR Shape Params"; + container pir { + description + "PIR in kbps"; + uses QOS-PARAM; + } + container pbs { + description + "PBS in bytes"; + uses QOS-PARAM; + } + leaf chunk-id { + type uint32; + description + "Shape Chunk ID"; + } + leaf profile-id { + type uint16; + description + "Shape profile ID"; + } + leaf scale-factor { + type uint16; + description + "Scale Factor"; + } + } + + grouping CIR-SHAPE-PARAMS-V2 { + description + "CIR Shape Params"; + container cir { + description + "CIR in kbps"; + uses QOS-PARAM; + } + container config-bandwidth { + description + "Config bandwidth"; + uses SHAPE-USER-CFG-BW; + } + container cbs { + description + "CBS in bytes"; + uses QOS-PARAM; + } + leaf chunk-id { + type uint32; + description + "Shape Chunk ID"; + } + leaf profile-id { + type uint16; + description + "Shape profile ID"; + } + leaf scale-factor { + type uint16; + description + "Scale Factor"; + } + } + + grouping SHAPER-PARAMS-V2 { + description + "Shaper parameters"; + container cir-shape { + description + "CIR shaper params"; + uses CIR-SHAPE-PARAMS-V2; + } + container pir-shape { + description + "PIR shaper params"; + uses PIR-SHAPE-PARAMS-V2; + } + leaf cir-shape-type { + type Shape-profiletype-v2; + description + "CIR Shaper type"; + } + leaf pir-shape-type { + type Shape-profiletype-v2; + description + "PIR Shaper type"; + } + } + + grouping QUEUE-LIMIT-PARAMS-V2 { + description + "Queue limit parameters"; + container queue-limit { + description + "Queue limit in kbytes"; + uses QOS-PARAM; + } + container config-queue-limit { + description + "Config queue limit"; + uses QOS-PARAM; + } + leaf absolute-index { + type uint16; + description + "Absolute Index"; + } + leaf template-id { + type uint16; + description + "Template ID"; + } + leaf curve-id { + type uint16; + description + "Curve ID"; + } + } + + grouping QOS-SHOW-EA-ST-V2 { + description + "QoS policy"; + list qos-show-ea-st-v2 { + description + "qos show ea st v2"; + container queue { + description + "Queue parameters"; + uses QUEUE-PARAMS; + } + container queue-limit-parameters { + description + "Queue limit parameters"; + uses QUEUE-LIMIT-PARAMS-V2; + } + container shape { + description + "Shape parameters"; + uses SHAPER-PARAMS-V2; + } + container police { + description + "Police parameters"; + uses POLICE-PARAMS; + } + container wfq { + description + "WFQ parameters"; + uses WFQ-PARAMS; + } + container wred { + description + "WRED parameters"; + uses WRED-PARAMS-V2; + } + container mark { + description + "Mark parameters"; + uses CLASS-MARK-ACTIONS; + } + leaf class-level { + type uint8; + description + "Class level"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "Class name"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + leaf parent-policy-name { + type string { + length "0..65"; + } + description + "Parent policy name"; + } + leaf parent-class-name { + type string { + length "0..65"; + } + description + "Parent class name"; + } + } + } + + grouping MARK-ACTION { + description + "Marking parameters"; + leaf mark-value { + type uint8; + description + "Mark value"; + } + leaf action-opcode { + type Action-opcode; + description + "Action opcode"; + } + } + + grouping MARK-ACTION-PER-CATEGORY { + description + "Marking action"; + leaf action-type { + type Action; + description + "Action type"; + } + list mark-detail { + max-elements "2"; + description + "Mark value"; + uses MARK-ACTION; + } + } + + grouping CLASS-MARK-ACTIONS { + description + "Mark parameters"; + container child-mark { + description + "Child mark only"; + uses MARK-ACTION-PER-CATEGORY; + } + container police-conform { + description + "Child police conform mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container police-exceed { + description + "Child police exceed mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container police-violate { + description + "Child police violate mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container parent-mark { + description + "Parent mark only"; + uses MARK-ACTION-PER-CATEGORY; + } + container parent-police-conform { + description + "Parent police conform mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container parent-police-exceed { + description + "Parent police exceed mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container parent-police-violate { + description + "Parent police violate mark"; + uses MARK-ACTION-PER-CATEGORY; + } + } + + grouping WRED-CURVE-PARAMS-V1 { + description + "Trident WRED curve parameters"; + container min-threshold { + description + "Minimum threshold"; + uses QOS-PARAM; + } + container min-threshold-user-config { + description + "Minimum threshold WRED context"; + uses QOS-PARAM; + } + container max-threshold { + description + "Maximum threshold"; + uses QOS-PARAM; + } + container max-threshold-user-config { + description + "Maximum threshold WRED context"; + uses QOS-PARAM; + } + leaf match { + type string; + description + "WRED precedence match if precedence start value + equals to end value Format: , else + range Format: "; + } + } + + grouping WRED-PARAMS-V1 { + description + "Trident WRED parameters"; + leaf type { + type Wred; + description + "WRED type"; + } + leaf curve-xr { + type uint16; + description + "Number of curves"; + } + leaf table-id { + type uint8; + description + "Table ID"; + } + leaf profile-id { + type uint32; + description + "Profile ID"; + } + leaf scaling-profile-id { + type uint32; + description + "Scaling profile ID"; + } + list curve { + max-elements "64"; + description + "Curve details"; + uses WRED-CURVE-PARAMS-V1; + } + } + + grouping WFQ-PARAMS { + description + "WFQ parameters"; + container parent-bandwidth { + description + "Parent bandwidth"; + uses QOS-PARAM; + } + container bandwidth { + description + "CFG Bandwidth"; + uses QOS-PARAM; + } + leaf profile-id { + type uint32; + description + "WFQ profile"; + } + leaf committed-weight { + type uint32; + description + "Committed weight"; + } + leaf excess-weight { + type uint16; + description + "Excess weight"; + } + leaf excess-ratio { + type uint16; + description + "Parent Excess ratio"; + } + leaf chunk-id { + type uint32; + description + "Chunk ID"; + } + leaf level { + type uint8; + description + "Level"; + } + } + + grouping CFG-POLICE { + description + "Config police parameters"; + container average-rate { + description + "Average rate"; + uses QOS-PARAM; + } + container peak-rate { + description + "Peak rate"; + uses QOS-PARAM; + } + container conform-burst { + description + "Conform burst"; + uses QOS-PARAM; + } + container exceed-burst { + description + "Exceed burst"; + uses QOS-PARAM; + } + } + + grouping POLICE-PARAMS { + description + "Police parameters"; + container cir { + description + "CIR"; + uses QOS-PARAM; + } + container cbs { + description + "CBS"; + uses QOS-PARAM; + } + container pir { + description + "PIR"; + uses QOS-PARAM; + } + container pbs { + description + "PBS"; + uses QOS-PARAM; + } + container police-config-parameters { + description + "Police config parameters"; + uses CFG-POLICE; + } + leaf policer-type { + type Tb-algorithm; + description + "Policer type"; + } + leaf profile-id { + type uint32; + description + "Police profile ID"; + } + } + + grouping SHAPE-USER-CFG-BW { + description + "Config bandwidth parameters"; + container minimum-rate { + description + "Minimum bandwidth rate"; + uses QOS-PARAM; + } + } + + grouping SHAPER-PARAMS-V1 { + description + "Shaper parameters"; + container cir { + description + "CIR in kbps"; + uses QOS-PARAM; + } + container config-bandwidth { + description + "Config bandwidth"; + uses SHAPE-USER-CFG-BW; + } + container cbs { + description + "CBS in bytes"; + uses QOS-PARAM; + } + container pir { + description + "PIR in kbps"; + uses QOS-PARAM; + } + container pbs { + description + "PBS in bytes"; + uses QOS-PARAM; + } + leaf profile-id { + type uint16; + description + "Shape profile ID"; + } + } + + grouping QUEUE-LIMIT-PARAMS-V1 { + description + "Queue limit parameters"; + container queue-limit { + description + "Queue limit in kbytes"; + uses QOS-PARAM; + } + container config-queue-limit { + description + "Config queue limit"; + uses QOS-PARAM; + } + leaf profile-id { + type uint32; + description + "Profile ID"; + } + leaf scaling-profile-id { + type uint32; + description + "Scaling profile ID"; + } + } + + grouping QUEUE-PARAMS { + description + "Queue parameters"; + leaf queue-id { + type uint32; + description + "Queue ID"; + } + leaf queue-type { + type Queue; + description + "Queue type"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "Class name"; + } + } + + grouping QOS-SHOW-EA-ST-V1 { + description + "QoS policy"; + list qos-show-ea-st-v1 { + description + "qos show ea st v1"; + container queue { + description + "Queue parameters"; + uses QUEUE-PARAMS; + } + container queue-limit-parameters { + description + "Queue limit parameters"; + uses QUEUE-LIMIT-PARAMS-V1; + } + container shape { + description + "Shape parameters"; + uses SHAPER-PARAMS-V1; + } + container police { + description + "Police parameters"; + uses POLICE-PARAMS; + } + container wfq { + description + "WFQ parameters"; + uses WFQ-PARAMS; + } + container wred { + description + "WRED parameters"; + uses WRED-PARAMS-V1; + } + container mark { + description + "Mark parameters"; + uses CLASS-MARK-ACTIONS; + } + leaf class-level { + type uint8; + description + "Class level"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "Class name"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + leaf parent-policy-name { + type string { + length "0..65"; + } + description + "Parent policy name"; + } + leaf parent-class-name { + type string { + length "0..65"; + } + description + "Parent class name"; + } + } + } + + grouping QOS-PARAM { + description + "Config details"; + leaf value { + type uint32; + description + "Config value"; + } + leaf unit { + type Qos-unit; + description + "Config unit"; + } + } + + grouping INTF-CONFIG-PROGRAMED { + description + "Interface configured and programmed parameters"; + container port-config-bandwidth { + description + "Bandwidth due to port speed change"; + uses QOS-PARAM; + } + container ancp-config-bandwidth { + description + "Bandwidth obtain from IM"; + uses QOS-PARAM; + } + container ancp-programmed-bandwidth { + description + "ANCP bandwidth that was programmed"; + uses QOS-PARAM; + } + container port-shaper-rate { + description + "Bandwidth that was programmed"; + uses QOS-PARAM; + } + } + + grouping QOS-SHOW-EA-HEADER-ST { + description + "QoS policy header"; + container interface-parameters { + description + "Interface config and programmed parameters"; + uses INTF-CONFIG-PROGRAMED; + } + container programmed-bandwidth { + description + "Bandwidth that was programmed"; + uses QOS-PARAM; + } + leaf classes { + type uint16; + description + "Number of classes"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + } + + grouping QOS-SHOW-EA-POLICY { + description + "QoS policy"; + container header { + description + "QoS policy header"; + uses QOS-SHOW-EA-HEADER-ST; + } + container policy { + description + "Trident QoS policy details"; + uses QOS-SHOW-EA-ST-V1; + } + container policy-typhoon { + description + "Typhoon QoS policy details"; + uses QOS-SHOW-EA-ST-V2; + } + } + + grouping QOS-EA-CAPABILITY { + description + "QoS capability"; + leaf max-policy-maps { + type uint32; + description + "Maximum policy maps per system"; + } + leaf max-policy-hierarchy { + type uint32; + description + "Maximum policy hierarchy"; + } + leaf max-policy-name-length { + type uint32; + description + "Maximum policy name length"; + } + leaf max-classes-per-child-policy { + type uint32; + description + "Maximum classes per child policy"; + } + leaf max-classes-per-policy { + type uint32; + description + "Maximum classes per policy"; + } + leaf max-classes-per-grand-parent-policy { + type uint32; + description + "Maximum classes per parent policy"; + } + leaf max-police-actions-per-class { + type uint32; + description + "Maximum police actions per class"; + } + leaf max-marking-actions-per-class { + type uint32; + description + "Maximum marking action per class"; + } + leaf max-matches-per-class { + type uint32; + description + "Maximum matches per class"; + } + leaf max-classmap-name-length { + type uint32; + description + "Maximum classmap name length"; + } + leaf max-bundle-members { + type uint32; + description + "Maximum bundle members"; + } + leaf max-instance-name-length { + type uint32; + description + "Maximum instance name length"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-qos-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-qos-oper.yang new file mode 100644 index 0000000..a95c330 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-qos-oper.yang @@ -0,0 +1,310 @@ +module Cisco-IOS-XR-asr9k-qos-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-qos-oper"; + prefix asr9k-qos-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-qos-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-asr9k-qos-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-qos package operational data. + + This module contains definitions + for the following management objects: + platform-qos: QoS ASR9K platform operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NV-SATELLITE-INPUT { + description + "Common node of nv-satellite-interface, + satellite-id, member-interface"; + container nv-satellite-input { + description + "A piece of Satellite QoS policy-map operational + data for input"; + uses NV-SAT-STATISTICS; + } + } + + grouping DETAILS { + description + "Common node of output, input, member-interface"; + container details { + description + "QoS policy direction egress"; + uses QOS-SHOW-EA-POLICY; + } + } + + grouping STATISTICS { + description + "Common node of input, output, policy-name"; + container statistics { + description + "Policy-map statistics operational data for an + interface"; + uses QOS-STATS; + } + } + + grouping INTERFACE { + description + "Common node of interface-table, + nv-interface-table"; + list interface { + key "interface-name"; + description + "QoS policy-map operational data for a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses MEMBER-INTERFACE-TABLE; + uses SATELLITE-ID-TABLE; + uses INPUT; + uses OUTPUT; + } + } + + grouping INPUT { + description + "Common node of shared-policy-instance, + member-interface, interface"; + container input { + description + "A piece of QoS policy-map operational data for + an interface"; + uses STATISTICS; + uses POLICY-NAME-TABLE; + } + } + + grouping MEMBER-INTERFACE-TABLE { + description + "Common node of interface, nv-satellite-interface, + shared-policy-instance"; + container member-interfaces { + description + "QoS policy-map member interface table"; + list member-interface { + key "interface-name"; + description + "QoS policy-map member interface statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Name of member interface"; + } + uses SATELLITE-ID-TABLE; + uses INPUT; + uses NV-SATELLITE-INPUT; + uses OUTPUT; + uses NV-SATELLITE-OUTPUT; + } + } + } + + grouping QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE { + description + "Common node of interface, nv-satellite-interface, + shared-policy-instanceCommon node of + bundle-output, bundle-input"; + container member-interfaces { + description + "QoS list of member interfaces"; + list member-interface { + key "interface-name"; + description + "QoS interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Memeber interface"; + } + uses DETAILS; + } + } + } + + grouping POLICY-NAME-TABLE { + description + "Common node of input, output"; + container policy-names { + description + "Policy-map statistics operational data for an + interface"; + list policy-name { + key "service-policy-name"; + description + "Policy-map statistics operational data for an + interface"; + leaf service-policy-name { + type xr:Cisco-ios-xr-string; + description + "Name of the policy"; + } + uses STATISTICS; + } + } + } + + grouping NV-SATELLITE-OUTPUT { + description + "Common node of nv-satellite-interface, + satellite-id, member-interface"; + container nv-satellite-output { + description + "A piece of Satellite QoS policy-map operational + data for an interface"; + uses NV-SAT-STATISTICS; + } + } + + grouping OUTPUT { + description + "Common node of shared-policy-instance, + member-interface, interface"; + container output { + description + "A piece of QoS policy-map operational data for + an interface"; + uses STATISTICS; + uses POLICY-NAME-TABLE; + } + } + + grouping NV-SAT-STATISTICS { + description + "Common node of nv-satellite-input, + nv-satellite-output"; + container nv-sat-statistics { + description + "Policy-map statistics operational data for + satellite interface"; + uses QOS-STATS; + } + } + + grouping SATELLITE-ID-TABLE { + description + "Common node of interface, member-interface"; + container satellite-ids { + description + "Satellite ID information"; + list satellite-id { + key "nv-satellite-id"; + description + "Satellite ID information"; + leaf nv-satellite-id { + type int32; + description + "Satellite ID"; + } + uses NV-SATELLITE-INPUT; + uses NV-SATELLITE-OUTPUT; + } + } + } + + container platform-qos { + config false; + description + "QoS ASR9K platform operational data "; + container nodes { + description + "List of nodes with platform specific QoS + configuration"; + list node { + key "node-name"; + description + "Node with platform specific QoS configuration"; + container capability { + description + "QoS system capability"; + uses QOS-EA-CAPABILITY; + } + container interfaces { + description + "QoS list of interfaces"; + list interface { + key "interface-name"; + description + "QoS interface name"; + container input { + description + "QoS policy direction ingress"; + uses DETAILS; + } + container output { + description + "QoS policy direction egress"; + uses DETAILS; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } + container bundle-interfaces { + description + "QoS list of bundle interfaces"; + list bundle-interface { + key "interface-name"; + description + "QoS interface name"; + container bundle-output { + description + "QoS policy direction output"; + uses QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE; + } + container bundle-input { + description + "QoS policy direction output"; + uses QOS-ASR9K-OPER-MEMBER-INTERFACE-TABLE; + } + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang new file mode 100644 index 0000000..872b051 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1.yang @@ -0,0 +1,752 @@ +submodule Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-diag-admin-oper { + prefix Cisco-IOS-XR-asr9k-sc-diag-admin-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-diag-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Diag-slot { + type enumeration { + enum "fan-tray" { + description + "Slot type is fan tray"; + } + enum "power-module" { + description + "Slot type is power module"; + } + enum "module" { + description + "Slot type is module"; + } + } + description + "Slot types"; + } + + typedef Diag-node { + type enumeration { + enum "node" { + description + "Node type is node"; + } + enum "spa" { + description + "Node type is SPA"; + } + } + description + "Node types"; + } + + typedef Diag-processor { + type enumeration { + enum "mpc8614d" { + description + "Processor type 8614D"; + } + } + description + "Processor types"; + } + + typedef Node-state { + type enumeration { + enum "not-present" { + value 0; + description + "Not present"; + } + enum "present" { + value 1; + description + "Present"; + } + enum "reset" { + value 2; + description + "Reset"; + } + enum "rommon" { + value 3; + description + "Card booting or rommon"; + } + enum "mbi-boot" { + value 4; + description + "MBI booting"; + } + enum "mbi-run" { + value 5; + description + "Running MBI"; + } + enum "xr-run" { + value 6; + description + "Running ENA"; + } + enum "bring-down" { + value 7; + description + "Bringdown"; + } + enum "xr-fail" { + value 8; + description + "ENA failure"; + } + enum "fdiag-run" { + value 9; + description + "Running FDIAG"; + } + enum "fdiag-fail" { + value 10; + description + "FDIAG failure"; + } + enum "power" { + value 11; + description + "Powered"; + } + enum "unpower" { + value 12; + description + "Unpowered"; + } + enum "mdr-warm-reload" { + value 13; + description + "MDR warm reload"; + } + enum "mdr-mbi-run" { + value 14; + description + "MDR running MBI"; + } + enum "maintenance-mode" { + value 15; + description + "Maintenance mode"; + } + enum "admin-down" { + value 16; + description + "Admin down"; + } + enum "not-monitor" { + value 17; + description + "No MON"; + } + enum "unknown-card" { + value 18; + description + "Unknown"; + } + enum "failed" { + value 19; + description + "Failed"; + } + enum "ok" { + value 20; + description + "OK"; + } + enum "missing" { + value 21; + description + "Missing"; + } + enum "diag-download" { + value 22; + description + "Field diag downloading"; + } + enum "diag-not-monitor" { + value 23; + description + "Field diag unmonitor"; + } + enum "fabric-diag-not-monitor" { + value 24; + description + "Fabric field diag unmonitor"; + } + enum "diag-rp-launch" { + value 25; + description + "Field diag RP launching"; + } + enum "diag-run" { + value 26; + description + "Field diag running"; + } + enum "diag-pass" { + value 27; + description + "Field diag pass"; + } + enum "diag-fail" { + value 28; + description + "Field diag fail"; + } + enum "diag-timeout" { + value 29; + description + "Field diag timeout"; + } + enum "disable" { + value 30; + description + "Disable"; + } + enum "spa-boot" { + value 31; + description + "SPA booting"; + } + enum "not-allowed-online" { + value 32; + description + "Not allowed online"; + } + enum "stop" { + value 33; + description + "Stopped"; + } + enum "incomp-version" { + value 34; + description + "Incompatible FW version"; + } + enum "fpd-hold" { + value 35; + description + "FPD hold"; + } + enum "xr-preparation" { + value 36; + description + "XR preparation"; + } + enum "sync-ready" { + value 37; + description + "Sync ready state"; + } + enum "xr-isolate" { + value 38; + description + "Node isolate state"; + } + enum "ready" { + value 39; + description + "Ready"; + } + enum "invalid" { + value 40; + description + "Invalid"; + } + enum "operational" { + value 41; + description + "Operational"; + } + enum "operational-lock" { + value 42; + description + "Operational lock"; + } + enum "going-down" { + value 43; + description + "Going down"; + } + enum "going-offline" { + value 44; + description + "Going offline"; + } + enum "going-online" { + value 45; + description + "Going online"; + } + enum "offline" { + value 46; + description + "Offline"; + } + enum "up" { + value 47; + description + "Up"; + } + enum "down" { + value 48; + description + "Down"; + } + enum "max" { + value 49; + description + "Max"; + } + enum "unknown" { + value 50; + description + "Unknown"; + } + } + description + "Node state detail"; + } + + grouping DIAG-SUMMARY-ENTRY { + description + "Diag summary of a node"; + leaf type { + type Diag-node; + description + "Node type"; + } + leaf node { + type xr:Node-id; + description + "Node ID"; + } + leaf slot-type { + type Diag-slot; + description + "Slot type"; + } + leaf description { + type string; + description + "Description"; + } + } + + grouping DIAG-SUMMARY { + description + "Diag summary information"; + list summary { + description + "Summary data"; + uses DIAG-SUMMARY-ENTRY; + } + } + + grouping DIAG-CHASSIS { + description + "Diag chassis information"; + leaf serial-number { + type string; + description + "Serial number"; + } + leaf pid { + type string; + description + "PID"; + } + leaf vid { + type string; + description + "VID"; + } + leaf description { + type string; + description + "Describes in user-readable terms"; + } + leaf clei { + type string; + description + "CLEI"; + } + leaf tan { + type string; + description + "Top assembly number"; + } + } + + grouping DIAG-SLOT-DETAIL { + description + "Slot detail information"; + list node-detail { + description + "Detail information for slot"; + uses DIAG-NODE; + } + list spa-detail { + description + "Detail information for spa"; + uses DIAG-SPA; + } + } + + grouping DIAG-EDM-MAIN { + description + "Main information"; + leaf board-type { + type uint32; + description + "Board type"; + } + leaf tan { + type string; + description + "Top assembly number"; + } + leaf tan-revision { + type string; + description + "Top assembly number revision"; + } + leaf deviation-number { + type uint32; + description + "Deviation number"; + } + leaf serial-number { + type string; + description + "Serial number"; + } + } + + grouping DIAG-SPA { + description + "Diag details"; + container main { + description + "Main"; + uses DIAG-EDM-MAIN; + } + container hardware-revision { + description + "Hardware revision"; + uses DIAG-EDM-REVISION; + } + leaf node { + type xr:Node-id; + description + "Node"; + } + leaf name { + type string; + description + "SPA name"; + } + leaf pca-unit-number { + type string; + description + "Format is C-BN-V where C = Class Code, BN = Base + Number, and V = Version"; + } + leaf pca-revision { + type string; + description + "PCA revision information"; + } + leaf pid { + type string; + description + "PID"; + } + leaf vid { + type string; + description + "VID"; + } + leaf clei { + type string; + description + "CLEI"; + } + leaf node-state { + type Node-state; + description + "Node state"; + } + } + + grouping DIAG-SSD-REVISION { + description + "SSD information"; + leaf number { + type string; + description + "SSD number"; + } + leaf fw-rev { + type string; + description + "Firmware revision"; + } + leaf serial-number { + type string; + description + "Serial number"; + } + } + + grouping DIAG-DIMM-REVISION { + description + "DIMM version information"; + leaf size { + type uint32; + description + "Size in MB"; + } + leaf speed { + type uint32; + description + "Speed in MHz"; + } + leaf locator { + type string; + description + "Locator information"; + } + leaf cas { + type uint32; + description + "Column address strobe latency in clock cycles"; + } + } + + grouping DIAG-REVISION-NUMBER { + description + "Revision detail"; + leaf major-revision { + type uint32; + description + "Major revision"; + } + leaf minor-revision { + type uint32; + description + "Minor revision"; + } + } + + grouping DIAG-HARDWARE-REVISION { + description + "Hardware revision"; + container hw-rev { + description + "Hardware version"; + uses DIAG-REVISION-NUMBER; + } + container fw-rev { + description + "Firmware version"; + uses DIAG-REVISION-NUMBER; + } + container sw-rev { + description + "Software version"; + uses DIAG-REVISION-NUMBER; + } + container dimm-rev { + description + "DIMM version information"; + uses DIAG-DIMM-REVISION; + } + container ssd-rev { + description + "SSD version information"; + uses DIAG-SSD-REVISION; + } + leaf node-description { + type string; + description + "Node decsription"; + } + leaf version { + type string; + description + "Version information"; + } + } + + grouping DIAG-EDM-REVISION { + description + "Board FPGA/CPLD/ASIC hardware revision + information"; + list hardware-revision { + description + "Board FPGA/CPLD/ASIC hardware revision"; + uses DIAG-HARDWARE-REVISION; + } + } + + grouping DIAG-EDM-PLD-VERSION { + description + "PLD version information"; + leaf type { + type uint32; + description + "Processor PLD version"; + } + leaf processor-higher-version { + type uint32; + description + "HigherVerion"; + } + leaf processor-lower-version { + type uint32; + description + "LowerVersion"; + } + } + + grouping DIAG-NODE { + description + "Diag node information"; + container pld { + description + "Programmable logic device information"; + uses DIAG-EDM-PLD-VERSION; + } + container hardware-revision { + description + "Hardware revision"; + uses DIAG-EDM-REVISION; + } + container cbc-active-partition { + description + "CBC active partition"; + uses DIAG-REVISION-NUMBER; + } + container cbc-inactive-partition { + description + "CBC inactive partition"; + uses DIAG-REVISION-NUMBER; + } + leaf description { + type string; + description + "Describes in user-readable terms"; + } + leaf serial-number { + type string; + description + "Main serial number"; + } + leaf tan { + type string; + description + "Top assembly number"; + } + leaf pid { + type string; + description + "PID"; + } + leaf vid { + type string; + description + "VID"; + } + leaf chip-hardware-revision { + type string; + description + "Chip hardware revision"; + } + leaf new-deviation-number { + type uint32; + description + "New deviation number"; + } + leaf clei { + type string; + description + "CLEI"; + } + leaf board-state { + type Node-state; + description + "Module operational state"; + } + leaf pld-motherboard { + type string; + description + "Motherboard PLD version"; + } + leaf pld-power { + type string; + description + "Power PLD version"; + } + leaf monlib { + type string; + description + "MONLIB version"; + } + leaf rommon { + type string; + description + "ROMMON version"; + } + leaf cpu0 { + type Diag-processor; + description + "Processor type"; + } + } + + grouping DIAG-DETAIL { + description + "Diag detail"; + container node { + description + "Node information"; + uses DIAG-NODE; + } + container spa { + description + "SPA information"; + uses DIAG-SPA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang new file mode 100644 index 0000000..b3d8a91 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-admin-oper.yang @@ -0,0 +1,148 @@ +module Cisco-IOS-XR-asr9k-sc-diag-admin-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-admin-oper"; + prefix asr9k-sc-diag-admin-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-sc-diag-admin-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-diag package + admin-plane operational data. + + This module contains definitions + for the following management objects: + diag: Diag admin operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container diag { + config false; + description + "Diag admin operational data"; + container racks { + description + "Diag operational data for available racks"; + list rack { + key "rack-name"; + description + "Diag operational data for a particular rack"; + container fan-traies { + description + "Fan tray table operational data"; + list fan-tray { + key "fan-tray-name"; + description + "Fan tray operational data"; + container detail { + description + "Diag detailed information"; + uses DIAG-DETAIL; + } + leaf fan-tray-name { + type xr:Cisco-ios-xr-string; + description + "Fan tray name"; + } + } + } + container power-supplies { + description + "Power supply table operational data"; + list power-supply { + key "power-supply-name"; + description + "Power supply operational data"; + container detail { + description + "Diag detailed information"; + uses DIAG-DETAIL; + } + leaf power-supply-name { + type xr:Cisco-ios-xr-string; + description + "Power supply name"; + } + } + } + container slots { + description + "Diag operational data for all available slots"; + list slot { + key "slot-name"; + description + "Diag operational data for a particular slot"; + container detail { + description + "Slot detailed information"; + uses DIAG-SLOT-DETAIL; + } + container instances { + description + "Diag operational data for all available + instances"; + list instance { + key "instance-name"; + description + "Diag operational data for a particular + instance"; + container detail { + description + "Diag detailed information"; + uses DIAG-DETAIL; + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Instance name"; + } + } + } + leaf slot-name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + container chassis { + description + "Chassis information"; + uses DIAG-CHASSIS; + } + container summary { + description + "Summary information"; + uses DIAG-SUMMARY; + } + leaf rack-name { + type int32; + description + "Rack name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang new file mode 100644 index 0000000..5408e2b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper-sub1.yang @@ -0,0 +1,717 @@ +submodule Cisco-IOS-XR-asr9k-sc-diag-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-diag-oper { + prefix Cisco-IOS-XR-asr9k-sc-diag-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-diag package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Diag-slot { + type enumeration { + enum "fan-tray" { + description + "Slot type is fan tray"; + } + enum "power-module" { + description + "Slot type is power module"; + } + enum "module" { + description + "Slot type is module"; + } + } + description + "Slot types"; + } + + typedef Diag-node { + type enumeration { + enum "node" { + description + "Node type is node"; + } + enum "spa" { + description + "Node type is SPA"; + } + } + description + "Node types"; + } + + typedef Diag-processor { + type enumeration { + enum "mpc8614d" { + description + "Processor type 8614D"; + } + } + description + "Processor types"; + } + + typedef Node-state { + type enumeration { + enum "not-present" { + value 0; + description + "Not present"; + } + enum "present" { + value 1; + description + "Present"; + } + enum "reset" { + value 2; + description + "Reset"; + } + enum "rommon" { + value 3; + description + "Card booting or rommon"; + } + enum "mbi-boot" { + value 4; + description + "MBI booting"; + } + enum "mbi-run" { + value 5; + description + "Running MBI"; + } + enum "xr-run" { + value 6; + description + "Running ENA"; + } + enum "bring-down" { + value 7; + description + "Bringdown"; + } + enum "xr-fail" { + value 8; + description + "ENA failure"; + } + enum "fdiag-run" { + value 9; + description + "Running FDIAG"; + } + enum "fdiag-fail" { + value 10; + description + "FDIAG failure"; + } + enum "power" { + value 11; + description + "Powered"; + } + enum "unpower" { + value 12; + description + "Unpowered"; + } + enum "mdr-warm-reload" { + value 13; + description + "MDR warm reload"; + } + enum "mdr-mbi-run" { + value 14; + description + "MDR running MBI"; + } + enum "maintenance-mode" { + value 15; + description + "Maintenance mode"; + } + enum "admin-down" { + value 16; + description + "Admin down"; + } + enum "not-monitor" { + value 17; + description + "No MON"; + } + enum "unknown-card" { + value 18; + description + "Unknown"; + } + enum "failed" { + value 19; + description + "Failed"; + } + enum "ok" { + value 20; + description + "OK"; + } + enum "missing" { + value 21; + description + "Missing"; + } + enum "diag-download" { + value 22; + description + "Field diag downloading"; + } + enum "diag-not-monitor" { + value 23; + description + "Field diag unmonitor"; + } + enum "fabric-diag-not-monitor" { + value 24; + description + "Fabric field diag unmonitor"; + } + enum "diag-rp-launch" { + value 25; + description + "Field diag RP launching"; + } + enum "diag-run" { + value 26; + description + "Field diag running"; + } + enum "diag-pass" { + value 27; + description + "Field diag pass"; + } + enum "diag-fail" { + value 28; + description + "Field diag fail"; + } + enum "diag-timeout" { + value 29; + description + "Field diag timeout"; + } + enum "disable" { + value 30; + description + "Disable"; + } + enum "spa-boot" { + value 31; + description + "SPA booting"; + } + enum "not-allowed-online" { + value 32; + description + "Not allowed online"; + } + enum "stop" { + value 33; + description + "Stopped"; + } + enum "incomp-version" { + value 34; + description + "Incompatible FW version"; + } + enum "fpd-hold" { + value 35; + description + "FPD hold"; + } + enum "xr-preparation" { + value 36; + description + "XR preparation"; + } + enum "sync-ready" { + value 37; + description + "Sync ready state"; + } + enum "xr-isolate" { + value 38; + description + "Node isolate state"; + } + enum "ready" { + value 39; + description + "Ready"; + } + enum "invalid" { + value 40; + description + "Invalid"; + } + enum "operational" { + value 41; + description + "Operational"; + } + enum "operational-lock" { + value 42; + description + "Operational lock"; + } + enum "going-down" { + value 43; + description + "Going down"; + } + enum "going-offline" { + value 44; + description + "Going offline"; + } + enum "going-online" { + value 45; + description + "Going online"; + } + enum "offline" { + value 46; + description + "Offline"; + } + enum "up" { + value 47; + description + "Up"; + } + enum "down" { + value 48; + description + "Down"; + } + enum "max" { + value 49; + description + "Max"; + } + enum "unknown" { + value 50; + description + "Unknown"; + } + } + description + "Node state detail"; + } + + grouping DIAG-SUMMARY-ENTRY { + description + "Diag summary of a node"; + leaf type { + type Diag-node; + description + "Node type"; + } + leaf node { + type xr:Node-id; + description + "Node ID"; + } + leaf slot-type { + type Diag-slot; + description + "Slot type"; + } + leaf description { + type string; + description + "Description"; + } + } + + grouping DIAG-SUMMARY { + description + "Diag summary information"; + list summary { + description + "Summary data"; + uses DIAG-SUMMARY-ENTRY; + } + } + + grouping DIAG-DETAIL { + description + "Diag detail"; + container node { + description + "Node information"; + uses DIAG-NODE; + } + container spa { + description + "SPA information"; + uses DIAG-SPA; + } + } + + grouping DIAG-EDM-MAIN { + description + "Main information"; + leaf board-type { + type uint32; + description + "Board type"; + } + leaf tan { + type string; + description + "Top assembly number"; + } + leaf tan-revision { + type string; + description + "Top assembly number revision"; + } + leaf deviation-number { + type uint32; + description + "Deviation number"; + } + leaf serial-number { + type string; + description + "Serial number"; + } + } + + grouping DIAG-SPA { + description + "Diag details"; + container main { + description + "Main"; + uses DIAG-EDM-MAIN; + } + container hardware-revision { + description + "Hardware revision"; + uses DIAG-EDM-REVISION; + } + leaf node { + type xr:Node-id; + description + "Node"; + } + leaf name { + type string; + description + "SPA name"; + } + leaf pca-unit-number { + type string; + description + "Format is C-BN-V where C = Class Code, BN = Base + Number, and V = Version"; + } + leaf pca-revision { + type string; + description + "PCA revision information"; + } + leaf pid { + type string; + description + "PID"; + } + leaf vid { + type string; + description + "VID"; + } + leaf clei { + type string; + description + "CLEI"; + } + leaf node-state { + type Node-state; + description + "Node state"; + } + } + + grouping DIAG-SSD-REVISION { + description + "SSD information"; + leaf number { + type string; + description + "SSD number"; + } + leaf fw-rev { + type string; + description + "Firmware revision"; + } + leaf serial-number { + type string; + description + "Serial number"; + } + } + + grouping DIAG-DIMM-REVISION { + description + "DIMM version information"; + leaf size { + type uint32; + description + "Size in MB"; + } + leaf speed { + type uint32; + description + "Speed in MHz"; + } + leaf locator { + type string; + description + "Locator information"; + } + leaf cas { + type uint32; + description + "Column address strobe latency in clock cycles"; + } + } + + grouping DIAG-REVISION-NUMBER { + description + "Revision detail"; + leaf major-revision { + type uint32; + description + "Major revision"; + } + leaf minor-revision { + type uint32; + description + "Minor revision"; + } + } + + grouping DIAG-HARDWARE-REVISION { + description + "Hardware revision"; + container hw-rev { + description + "Hardware version"; + uses DIAG-REVISION-NUMBER; + } + container fw-rev { + description + "Firmware version"; + uses DIAG-REVISION-NUMBER; + } + container sw-rev { + description + "Software version"; + uses DIAG-REVISION-NUMBER; + } + container dimm-rev { + description + "DIMM version information"; + uses DIAG-DIMM-REVISION; + } + container ssd-rev { + description + "SSD version information"; + uses DIAG-SSD-REVISION; + } + leaf node-description { + type string; + description + "Node decsription"; + } + leaf version { + type string; + description + "Version information"; + } + } + + grouping DIAG-EDM-REVISION { + description + "Board FPGA/CPLD/ASIC hardware revision + information"; + list hardware-revision { + description + "Board FPGA/CPLD/ASIC hardware revision"; + uses DIAG-HARDWARE-REVISION; + } + } + + grouping DIAG-EDM-PLD-VERSION { + description + "PLD version information"; + leaf type { + type uint32; + description + "Processor PLD version"; + } + leaf processor-higher-version { + type uint32; + description + "HigherVerion"; + } + leaf processor-lower-version { + type uint32; + description + "LowerVersion"; + } + } + + grouping DIAG-NODE { + description + "Diag node information"; + container pld { + description + "Programmable logic device information"; + uses DIAG-EDM-PLD-VERSION; + } + container hardware-revision { + description + "Hardware revision"; + uses DIAG-EDM-REVISION; + } + container cbc-active-partition { + description + "CBC active partition"; + uses DIAG-REVISION-NUMBER; + } + container cbc-inactive-partition { + description + "CBC inactive partition"; + uses DIAG-REVISION-NUMBER; + } + leaf description { + type string; + description + "Describes in user-readable terms"; + } + leaf serial-number { + type string; + description + "Main serial number"; + } + leaf tan { + type string; + description + "Top assembly number"; + } + leaf pid { + type string; + description + "PID"; + } + leaf vid { + type string; + description + "VID"; + } + leaf chip-hardware-revision { + type string; + description + "Chip hardware revision"; + } + leaf new-deviation-number { + type uint32; + description + "New deviation number"; + } + leaf clei { + type string; + description + "CLEI"; + } + leaf board-state { + type Node-state; + description + "Module operational state"; + } + leaf pld-motherboard { + type string; + description + "Motherboard PLD version"; + } + leaf pld-power { + type string; + description + "Power PLD version"; + } + leaf monlib { + type string; + description + "MONLIB version"; + } + leaf rommon { + type string; + description + "ROMMON version"; + } + leaf cpu0 { + type Diag-processor; + description + "Processor type"; + } + } + + grouping DIAG-SLOT-DETAIL { + description + "Slot detail information"; + list node-detail { + description + "Detail information for slot"; + uses DIAG-NODE; + } + list spa-detail { + description + "Detail information for spa"; + uses DIAG-SPA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper.yang new file mode 100644 index 0000000..00ac650 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-diag-oper.yang @@ -0,0 +1,104 @@ +module Cisco-IOS-XR-asr9k-sc-diag-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-diag-oper"; + prefix asr9k-sc-diag-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-sc-diag-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-diag package operational data. + + This module contains definitions + for the following management objects: + diag: Diag admin operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container diag { + config false; + description + "Diag admin operational data"; + container racks { + description + "Diag operational data for available racks"; + list rack { + key "rack-name"; + description + "Diag operational data for a particular rack"; + container slots { + description + "Diag operational data for all available slots"; + list slot { + key "slot-name"; + description + "Diag operational data for a particular slot"; + container detail { + description + "Slot detailed information"; + uses DIAG-SLOT-DETAIL; + } + container instances { + description + "Diag operational data for all available + instances"; + list instance { + key "instance-name"; + description + "Diag operational data for a particular + instance"; + container detail { + description + "Diag detailed information"; + uses DIAG-DETAIL; + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Instance name"; + } + } + } + leaf slot-name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + container summary { + description + "Summary information"; + uses DIAG-SUMMARY; + } + leaf rack-name { + type int32; + description + "Rack name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang new file mode 100644 index 0000000..ac1f572 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1.yang @@ -0,0 +1,194 @@ +submodule Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-envmon-admin-oper { + prefix Cisco-IOS-XR-asr9k-sc-envmon-admin-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-envmon-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-19 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ENVMON-POWER-INFO { + description + "Power Info bag"; + leaf power-value { + type int32; + description + "Current Power Value of the Unit"; + } + leaf power-max-value { + type int32; + description + "Max Power Value of the Unit"; + } + leaf power-unit-multiplier { + type uint32; + description + "Unit Multiplier of Power"; + } + leaf power-accuracy { + type uint32; + description + "Accuracy of the Power Value"; + } + leaf power-measure-caliber { + type uint32; + description + "Measure Caliber"; + } + leaf power-current-type { + type uint32; + description + "Current Type of the Unit"; + } + leaf power-origin { + type uint32; + description + "The Power Origin of the Unit"; + } + leaf power-admin-state { + type uint32; + description + "Admin Status of the Unit"; + } + leaf power-oper-state { + type uint32; + description + "Oper Status of the Unit"; + } + leaf power-state-enter-reason { + type string { + length "0..50"; + } + description + "Enter Reason for the State"; + } + } + + grouping ENVMON-SENSOR-INFO { + description + "ENVMON sensor Info"; + leaf field-validity-bitmap { + type uint32; + description + "Sensor valid bitmap"; + } + leaf device-description { + type string { + length "0..50"; + } + description + "Device Name"; + } + leaf units { + type string { + length "0..50"; + } + description + "Units of variable being read"; + } + leaf device-id { + type uint32; + description + "Identifier for this device"; + } + leaf value { + type uint32; + description + "Current reading of sensor"; + } + leaf alarm-type { + type uint32; + description + "Indicates threshold violation"; + } + leaf data-type { + type uint32; + description + "Sensor data type enums"; + } + leaf scale { + type uint32; + description + "Sensor scale enums"; + } + leaf precision { + type uint32; + description + "Sensor precision range"; + } + leaf status { + type uint32; + description + "Sensor operation state enums"; + } + leaf age-time-stamp { + type uint32; + description + "Age of the sensor value; set to the current time + if directly access the value from sensor"; + } + leaf update-rate { + type uint32; + description + "Sensor value update rate;set to 0 if sensor + value is updated and evaluated immediately"; + } + } + + grouping ENVMON-THRESHOLD-INFO { + description + "ENVMON threshold Info"; + leaf threshold-severity { + type uint32; + description + "Indicates minor, major, critical severities"; + } + leaf threshold-relation { + type uint32; + description + "Indicates relation between sensor value and + threshold"; + } + leaf threshold-value { + type uint32; + description + "Value of the configured threshold"; + } + leaf threshold-evaluation { + type boolean; + description + "Indicates the result of the most recent + evaluation of the thresholD"; + } + leaf threshold-notification-enabled { + type boolean; + description + "Indicates whether or not a notification should + result, in case of threshold violation"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang new file mode 100644 index 0000000..b351358 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper.yang @@ -0,0 +1,173 @@ +module Cisco-IOS-XR-asr9k-sc-envmon-admin-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-envmon-admin-oper"; + prefix asr9k-sc-envmon-admin-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-sc-envmon-admin-oper-sub1 { + revision-date 2017-01-19; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-envmon package + admin-plane operational data. + + This module contains definitions + for the following management objects: + environmental-monitoring: Admin Environmental Monitoring + Operational data space + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-19 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container environmental-monitoring { + config false; + description + "Admin Environmental Monitoring Operational data + space"; + container racks { + description + "Table of racks"; + list rack { + key "rack"; + description + "Number"; + container slots { + description + "Table of slots"; + list slot { + key "slot"; + description + "Name"; + container modules { + description + "Table of modules"; + list module { + key "module"; + description + "Name"; + container sensor-types { + description + "Table of sensor types"; + list sensor-type { + key "type"; + description + "Type of sensor"; + container sensor-names { + description + "Table of sensors"; + list sensor-name { + key "name"; + description + "Name of sensor"; + container thresholds { + description + "The threshold information"; + list threshold { + key "type"; + description + "Types of thresholds"; + container value-detailed { + description + "Detailed sensor threshold + information"; + uses ENVMON-THRESHOLD-INFO; + } + leaf trap { + type boolean; + description + "Threshold trap enable flag + true-ENABLE, false-DISABLE"; + } + leaf value-brief { + type xr:Hex-integer; + description + "Threshold value for the sensor"; + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Threshold type"; + } + } + } + container value-detailed { + description + "Detailed sensor information including + the sensor value"; + uses ENVMON-SENSOR-INFO; + } + leaf value-brief { + type xr:Hex-integer; + description + "The sensor value"; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Sensor name"; + } + } + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Sensor type"; + } + } + } + container power { + description + "Module Power Draw"; + container power-bag { + description + "Detailed power bag information"; + uses ENVMON-POWER-INFO; + } + } + leaf module { + type xr:Cisco-ios-xr-string; + description + "Module name"; + } + } + } + leaf slot { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + leaf rack { + type int32; + description + "Rack number"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang new file mode 100644 index 0000000..b7f4c61 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1.yang @@ -0,0 +1,194 @@ +submodule Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-envmon-oper { + prefix Cisco-IOS-XR-asr9k-sc-envmon-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-envmon package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-19 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ENVMON-POWER-INFO { + description + "Power Info bag"; + leaf power-value { + type int32; + description + "Current Power Value of the Unit"; + } + leaf power-max-value { + type int32; + description + "Max Power Value of the Unit"; + } + leaf power-unit-multiplier { + type uint32; + description + "Unit Multiplier of Power"; + } + leaf power-accuracy { + type uint32; + description + "Accuracy of the Power Value"; + } + leaf power-measure-caliber { + type uint32; + description + "Measure Caliber"; + } + leaf power-current-type { + type uint32; + description + "Current Type of the Unit"; + } + leaf power-origin { + type uint32; + description + "The Power Origin of the Unit"; + } + leaf power-admin-state { + type uint32; + description + "Admin Status of the Unit"; + } + leaf power-oper-state { + type uint32; + description + "Oper Status of the Unit"; + } + leaf power-state-enter-reason { + type string { + length "0..50"; + } + description + "Enter Reason for the State"; + } + } + + grouping ENVMON-THRESHOLD-INFO { + description + "ENVMON threshold Info"; + leaf threshold-severity { + type uint32; + description + "Indicates minor, major, critical severities"; + } + leaf threshold-relation { + type uint32; + description + "Indicates relation between sensor value and + threshold"; + } + leaf threshold-value { + type uint32; + description + "Value of the configured threshold"; + } + leaf threshold-evaluation { + type boolean; + description + "Indicates the result of the most recent + evaluation of the thresholD"; + } + leaf threshold-notification-enabled { + type boolean; + description + "Indicates whether or not a notification should + result, in case of threshold violation"; + } + } + + grouping ENVMON-SENSOR-INFO { + description + "ENVMON sensor Info"; + leaf field-validity-bitmap { + type uint32; + description + "Sensor valid bitmap"; + } + leaf device-description { + type string { + length "0..50"; + } + description + "Device Name"; + } + leaf units { + type string { + length "0..50"; + } + description + "Units of variable being read"; + } + leaf device-id { + type uint32; + description + "Identifier for this device"; + } + leaf value { + type uint32; + description + "Current reading of sensor"; + } + leaf alarm-type { + type uint32; + description + "Indicates threshold violation"; + } + leaf data-type { + type uint32; + description + "Sensor data type enums"; + } + leaf scale { + type uint32; + description + "Sensor scale enums"; + } + leaf precision { + type uint32; + description + "Sensor precision range"; + } + leaf status { + type uint32; + description + "Sensor operation state enums"; + } + leaf age-time-stamp { + type uint32; + description + "Age of the sensor value; set to the current time + if directly access the value from sensor"; + } + leaf update-rate { + type uint32; + description + "Sensor value update rate;set to 0 if sensor + value is updated and evaluated immediately"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang new file mode 100644 index 0000000..96f3c41 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-envmon-oper.yang @@ -0,0 +1,298 @@ +module Cisco-IOS-XR-asr9k-sc-envmon-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-envmon-oper"; + prefix asr9k-sc-envmon-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-sc-envmon-oper-sub1 { + revision-date 2017-01-19; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-envmon package operational data. + + This module contains definitions + for the following management objects: + environmental-monitoring-cli: Environmental Monitoring + Operational data space + environmental-monitoring: environmental monitoring + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-19 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container environmental-monitoring-cli { + config false; + description + "Environmental Monitoring Operational data space"; + container rack-clis { + description + "Table of racks"; + list rack-cli { + key "rack"; + description + "Number"; + container slot-clis { + description + "Table of slots"; + list slot-cli { + key "slot"; + description + "Name"; + container module-clis { + description + "Table of modules"; + list module-cli { + key "module"; + description + "Name"; + container sensor-type-clis { + description + "Table of sensor types"; + list sensor-type-cli { + key "type"; + description + "Type of sensor"; + container sensor-name-clis { + description + "Table of sensors"; + list sensor-name-cli { + key "name"; + description + "Name of sensor"; + container value-detailed-cli { + description + "Detailed sensor information including + the sensor value"; + uses ENVMON-SENSOR-INFO; + } + container threshold-clis { + description + "The threshold information"; + list threshold-cli { + key "type"; + description + "Types of thresholds"; + container value-detailed-cli { + description + "Detailed sensor threshold + information"; + uses ENVMON-THRESHOLD-INFO; + } + leaf trap-cli { + type boolean; + description + "Threshold trap enable flag + true-ENABLE, false-DISABLE"; + } + leaf value-brief-cli { + type xr:Hex-integer; + description + "Threshold value for the sensor"; + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Threshold type"; + } + } + } + leaf value-brief-cli { + type xr:Hex-integer; + description + "The sensor value"; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Sensor name"; + } + } + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Sensor type"; + } + } + } + container power-cli { + description + "Module Power Draw"; + container power-bag-cli { + description + "Detailed power bag information"; + uses ENVMON-POWER-INFO; + } + } + leaf module { + type xr:Cisco-ios-xr-string; + description + "Module name"; + } + } + } + leaf slot { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + leaf rack { + type int32; + description + "Rack number"; + } + } + } + } + container environmental-monitoring { + config false; + description + "environmental monitoring"; + container racks { + description + "Table of racks"; + list rack { + key "rack"; + description + "Number"; + container slots { + description + "Table of slots"; + list slot { + key "slot"; + description + "Name"; + container modules { + description + "Table of modules"; + list module { + key "module"; + description + "Name"; + container power { + description + "Module Power Draw"; + container power-bag { + description + "Detailed power bag information"; + uses ENVMON-POWER-INFO; + } + } + container sensor-types { + description + "Table of sensor types"; + list sensor-type { + key "type"; + description + "Type of sensor"; + container sensor-names { + description + "Table of sensors"; + list sensor-name { + key "name"; + description + "Name of sensor"; + container thresholds { + description + "The threshold information"; + list threshold { + key "type"; + description + "Types of thresholds"; + container value-detailed { + description + "Detailed sensor threshold + information"; + uses ENVMON-THRESHOLD-INFO; + } + leaf trap { + type boolean; + description + "Threshold trap enable flag + true-ENABLE, false-DISABLE"; + } + leaf value-brief { + type xr:Hex-integer; + description + "Threshold value for the sensor"; + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Threshold type"; + } + } + } + container value-detailed { + description + "Detailed sensor information including + the sensor value"; + uses ENVMON-SENSOR-INFO; + } + leaf value-brief { + type xr:Hex-integer; + description + "The sensor value"; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Sensor name"; + } + } + } + leaf type { + type xr:Cisco-ios-xr-string; + description + "Sensor type"; + } + } + } + leaf module { + type xr:Cisco-ios-xr-string; + description + "Module name"; + } + } + } + leaf slot { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + leaf rack { + type int32; + description + "Rack number"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang new file mode 100644 index 0000000..aae293f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1.yang @@ -0,0 +1,419 @@ +submodule Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper { + prefix Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-invmgr-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-04 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Card-reset-reason { + type enumeration { + enum "reset-unknown" { + value 1; + description + "reset unknown"; + } + enum "power-up" { + value 2; + description + "power up"; + } + enum "parity-error" { + value 3; + description + "parity error"; + } + enum "clear-config-reset" { + value 4; + description + "clear config reset"; + } + enum "manual-reset" { + value 5; + description + "manual reset"; + } + enum "watch-dog-timeout-reset" { + value 6; + description + "watch dog timeout reset"; + } + enum "resource-overflow-reset" { + value 7; + description + "resource overflow reset"; + } + enum "missing-task-reset" { + value 8; + description + "missing task reset"; + } + enum "low-voltage-reset" { + value 9; + description + "low voltage reset"; + } + enum "controller-reset" { + value 10; + description + "controller reset"; + } + enum "system-reset" { + value 11; + description + "system reset"; + } + enum "switchover-reset" { + value 12; + description + "switchover reset"; + } + enum "upgrade-reset" { + value 13; + description + "upgrade reset"; + } + enum "downgrade-reset" { + value 14; + description + "downgrade reset"; + } + enum "cache-error-reset" { + value 15; + description + "cache error reset"; + } + enum "device-driver-reset" { + value 16; + description + "device driver reset"; + } + enum "software-exception-reset" { + value 17; + description + "software exception reset"; + } + enum "restore-config-reset" { + value 18; + description + "restore config reset"; + } + enum "abort-rev-reset" { + value 19; + description + "abort rev reset"; + } + enum "burn-boot-reset" { + value 20; + description + "burn boot reset"; + } + enum "standby-cd-healthier-reset" { + value 21; + description + "standby cd healthier reset"; + } + enum "non-native-config-clear-reset" { + value 22; + description + "non native config clear reset"; + } + enum "memory-protection-error-reset" { + value 23; + description + "memory protection error reset"; + } + enum "card-reset-reason-max" { + value 24; + description + "card reset reason max"; + } + } + description + "Card reset reason"; + } + + grouping INV-PWG-INFO { + description + "Power supply group bag"; + leaf power-group-redundancy-mode { + type int32; + description + "redundancy mode"; + } + leaf power-group-power-units { + type string; + description + "power units"; + } + leaf power-group-available-current { + type int32; + description + "available current"; + } + leaf power-group-drawn-current { + type int32; + description + "drawn current"; + } + } + + grouping INV-TIMESPEC { + description + "Inventory FRU Info Time Spec"; + leaf time-in-seconds { + type int32; + units "second"; + description + "Time Value in Seconds"; + } + leaf time-in-nano-seconds { + type int32; + units "nanosecond"; + description + "Time Value in Nano-seconds"; + } + } + + grouping INV-CARD-FRU-INFO { + description + "card (FRU) operation state bag"; + container last-operational-state-change { + description + "last card oper change state"; + uses INV-TIMESPEC; + } + container card-up-time { + description + "card up time"; + uses INV-TIMESPEC; + } + leaf card-administrative-state { + type int32; + description + "card admin state: shutdown or not"; + } + leaf power-administrative-state { + type int32; + description + "power admin state: up or down"; + } + leaf card-operational-state { + type int32; + description + "card operation state"; + } + leaf card-monitor-state { + type int32; + description + "card is monitored by a manager or left + unmonitored"; + } + leaf card-reset-reason { + type Card-reset-reason; + description + "card reset reason enum"; + } + leaf power-current-measurement { + type int32; + description + "power current: not implemented"; + } + leaf power-operational-state { + type int32; + description + "Power operation state"; + } + } + + grouping INV-PHY-ENTITY-BASIC-INFO { + description + "Bag contains all the basic inventory information + for each entity"; + leaf description { + type string { + length "0..255"; + } + description + "describes in user-readable terms what the + entity in question does"; + } + leaf vendor-type { + type string { + length "0..255"; + } + description + "maps to the vendor OID string"; + } + leaf name { + type string { + length "0..255"; + } + description + "name string for the entity"; + } + leaf hardware-revision { + type string { + length "0..255"; + } + description + "hw revision string"; + } + leaf firmware-revision { + type string { + length "0..255"; + } + description + "firmware revision string"; + } + leaf software-revision { + type string { + length "0..255"; + } + description + "software revision string"; + } + leaf chip-hardware-revision { + type string { + length "0..255"; + } + description + "chip module hw revision string"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "serial number"; + } + leaf manufacturer-name { + type string { + length "0..255"; + } + description + "manufacturer's name"; + } + leaf model-name { + type string { + length "0..255"; + } + description + "model name"; + } + leaf asset-id-str { + type string { + length "0..255"; + } + description + "asset Identification string"; + } + leaf asset-identification { + type int32; + description + "asset Identification"; + } + leaf is-field-replaceable-unit { + type boolean; + description + "1 if Field Replaceable Unit 0, if not"; + } + leaf manufacturer-asset-tags { + type int32; + description + "Manufacture Asset Tags"; + } + leaf composite-class-code { + type int32; + description + "Major&minor class of the entity"; + } + leaf memory-size { + type int32; + description + "Size of memory associated with the entity + where applicable"; + } + leaf environmental-monitor-path { + type string { + length "0..255"; + } + description + "sysdb name of sensor in the envmon EDM"; + } + leaf alias { + type string { + length "0..255"; + } + description + "useful for storing an entity alias "; + } + leaf group-flag { + type boolean; + description + "indicates if this entity is group or not"; + } + leaf new-deviation-number { + type int32; + description + "integer value for New Deviation Number 0x88"; + } + leaf physical-layer-interface-module-type { + type int32; + description + "integer value for plim type if applicable to + this entity"; + } + leaf unrecognized-fru { + type boolean; + description + "1 if UnrecognizedFRU and 0 for recognizedFRU"; + } + leaf redundancystate { + type int32; + description + "integer value for Redundancy State if + applicable to this entity"; + } + leaf ceport { + type boolean; + description + "1 if ce port found, 0 if not"; + } + leaf xr-scoped { + type boolean; + description + "1 if xr scoped, 0 if not"; + } + leaf unique-id { + type int32; + description + "Unique id for an entity"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang new file mode 100644 index 0000000..307bbc5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper.yang @@ -0,0 +1,271 @@ +module Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper"; + prefix asr9k-sc-invmgr-admin-oper; + + include Cisco-IOS-XR-asr9k-sc-invmgr-admin-oper-sub1 { + revision-date 2017-01-04; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-invmgr package + admin-plane operational data. + + This module contains definitions + for the following management objects: + inventory: Inventory operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-04 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PORT-SLOT-TABLE { + description + "Common node of module, card"; + container port-slots { + description + "PortSlotTable contains all optics ports in a + SPA/PLIM."; + list port-slot { + key "number"; + description + "PortSlot number in the SPA/PLIM"; + container port { + description + "Port string"; + uses BASIC-ATTRIBUTES; + } + leaf number { + type int32; + description + "portslot number"; + } + uses BASIC-ATTRIBUTES; + } + } + } + + grouping SENSOR-TABLE { + description + "Common node of card, hw-component, module"; + container sensors { + description + "ModuleSensorTable contains all sensors in a + Module."; + list sensor { + key "number"; + description + "Sensor number in the Module"; + leaf number { + type int32; + description + "sensor number"; + } + uses BASIC-ATTRIBUTES; + } + } + } + + grouping BASIC-ATTRIBUTES { + description + "Common node of slot, card, sub-slot, module, + port-slot, port, hw-component, sensor"; + container basic-attributes { + description + "Attributes"; + container fru-info { + description + "Field Replaceable Unit (FRU) inventory + information"; + uses INV-CARD-FRU-INFO; + } + container basic-info { + description + "Inventory information"; + uses INV-PHY-ENTITY-BASIC-INFO; + } + } + } + + grouping VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES { + description + "Common node of slot, card, sub-slot, module, + port-slot, port, hw-component, sensorCommon node + of rack, power-supply-shelf, fan-tray"; + container basic-attributes { + description + "Attributes"; + container basic-info { + description + "Inventory information"; + uses INV-PHY-ENTITY-BASIC-INFO; + } + } + } + + container inventory { + config false; + description + "Inventory operational data"; + container racks { + description + "Table of racks"; + list rack { + key "number"; + description + "Rack number"; + container power-supply-shelfs { + description + "Table for rack power supply shelves "; + list power-supply-shelf { + key "number"; + description + "Power Supply Shelf number"; + leaf number { + type int32; + description + "Power Shelf number"; + } + uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; + } + } + container slots { + description + "Slot table contains all slots in the rack"; + list slot { + key "number"; + description + "Slot number"; + container cards { + description + "Card table contains all cards in the slot"; + list card { + key "number"; + description + "Card number"; + container sub-slots { + description + "SubSlotTable contains all subslots in a + Slot"; + list sub-slot { + key "number"; + description + "SubSlot number"; + container module { + description + "Module string"; + uses PORT-SLOT-TABLE; + uses SENSOR-TABLE; + uses BASIC-ATTRIBUTES; + } + leaf number { + type int32; + description + "subslot number"; + } + uses BASIC-ATTRIBUTES; + } + } + container hw-components { + description + "HWComponent table contains all HW modules + within the card "; + list hw-component { + key "number"; + description + "HWComponent number"; + leaf number { + type int32; + description + "node number"; + } + uses SENSOR-TABLE; + uses BASIC-ATTRIBUTES; + } + } + leaf number { + type int32; + description + "card number"; + } + uses PORT-SLOT-TABLE; + uses SENSOR-TABLE; + uses BASIC-ATTRIBUTES; + } + } + leaf number { + type int32; + description + "Slot number"; + } + uses BASIC-ATTRIBUTES; + } + } + container fan-traies { + description + "Table for rack fan trays"; + list fan-tray { + key "number"; + description + "Fan tray number"; + leaf number { + type int32; + description + "Fan tray number"; + } + uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; + } + } + container power-supply-zones { + description + "Table for defining rack power supply zones "; + list power-supply-zone { + key "number"; + description + "Power Supply Zone number"; + container power-supply-zone-attributes { + description + "Power suppy zone attributes "; + container power-supply-group-info { + description + "Power supply group information"; + uses INV-PWG-INFO; + } + } + leaf number { + type int32; + description + "Power Zone number"; + } + } + } + leaf number { + type int32; + description + "Rack number"; + } + uses VKG-INVMGR-ADMINOPER-BASIC-ATTRIBUTES; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang new file mode 100644 index 0000000..365ab34 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1.yang @@ -0,0 +1,394 @@ +submodule Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-sc-invmgr-oper { + prefix Cisco-IOS-XR-asr9k-sc-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-04 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Card-reset-reason { + type enumeration { + enum "reset-unknown" { + value 1; + description + "reset unknown"; + } + enum "power-up" { + value 2; + description + "power up"; + } + enum "parity-error" { + value 3; + description + "parity error"; + } + enum "clear-config-reset" { + value 4; + description + "clear config reset"; + } + enum "manual-reset" { + value 5; + description + "manual reset"; + } + enum "watch-dog-timeout-reset" { + value 6; + description + "watch dog timeout reset"; + } + enum "resource-overflow-reset" { + value 7; + description + "resource overflow reset"; + } + enum "missing-task-reset" { + value 8; + description + "missing task reset"; + } + enum "low-voltage-reset" { + value 9; + description + "low voltage reset"; + } + enum "controller-reset" { + value 10; + description + "controller reset"; + } + enum "system-reset" { + value 11; + description + "system reset"; + } + enum "switchover-reset" { + value 12; + description + "switchover reset"; + } + enum "upgrade-reset" { + value 13; + description + "upgrade reset"; + } + enum "downgrade-reset" { + value 14; + description + "downgrade reset"; + } + enum "cache-error-reset" { + value 15; + description + "cache error reset"; + } + enum "device-driver-reset" { + value 16; + description + "device driver reset"; + } + enum "software-exception-reset" { + value 17; + description + "software exception reset"; + } + enum "restore-config-reset" { + value 18; + description + "restore config reset"; + } + enum "abort-rev-reset" { + value 19; + description + "abort rev reset"; + } + enum "burn-boot-reset" { + value 20; + description + "burn boot reset"; + } + enum "standby-cd-healthier-reset" { + value 21; + description + "standby cd healthier reset"; + } + enum "non-native-config-clear-reset" { + value 22; + description + "non native config clear reset"; + } + enum "memory-protection-error-reset" { + value 23; + description + "memory protection error reset"; + } + enum "card-reset-reason-max" { + value 24; + description + "card reset reason max"; + } + } + description + "Card reset reason"; + } + + grouping INV-TIMESPEC { + description + "Inventory FRU Info Time Spec"; + leaf time-in-seconds { + type int32; + units "second"; + description + "Time Value in Seconds"; + } + leaf time-in-nano-seconds { + type int32; + units "nanosecond"; + description + "Time Value in Nano-seconds"; + } + } + + grouping INV-CARD-FRU-INFO { + description + "card (FRU) operation state bag"; + container last-operational-state-change { + description + "last card oper change state"; + uses INV-TIMESPEC; + } + container card-up-time { + description + "card up time"; + uses INV-TIMESPEC; + } + leaf card-administrative-state { + type int32; + description + "card admin state: shutdown or not"; + } + leaf power-administrative-state { + type int32; + description + "power admin state: up or down"; + } + leaf card-operational-state { + type int32; + description + "card operation state"; + } + leaf card-monitor-state { + type int32; + description + "card is monitored by a manager or left + unmonitored"; + } + leaf card-reset-reason { + type Card-reset-reason; + description + "card reset reason enum"; + } + leaf power-current-measurement { + type int32; + description + "power current: not implemented"; + } + leaf power-operational-state { + type int32; + description + "Power operation state"; + } + } + + grouping INV-PHY-ENTITY-BASIC-INFO { + description + "Bag contains all the basic inventory information + for each entity"; + leaf description { + type string { + length "0..255"; + } + description + "describes in user-readable terms what the + entity in question does"; + } + leaf vendor-type { + type string { + length "0..255"; + } + description + "maps to the vendor OID string"; + } + leaf name { + type string { + length "0..255"; + } + description + "name string for the entity"; + } + leaf hardware-revision { + type string { + length "0..255"; + } + description + "hw revision string"; + } + leaf firmware-revision { + type string { + length "0..255"; + } + description + "firmware revision string"; + } + leaf software-revision { + type string { + length "0..255"; + } + description + "software revision string"; + } + leaf chip-hardware-revision { + type string { + length "0..255"; + } + description + "chip module hw revision string"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "serial number"; + } + leaf manufacturer-name { + type string { + length "0..255"; + } + description + "manufacturer's name"; + } + leaf model-name { + type string { + length "0..255"; + } + description + "model name"; + } + leaf asset-id-str { + type string { + length "0..255"; + } + description + "asset Identification string"; + } + leaf asset-identification { + type int32; + description + "asset Identification"; + } + leaf is-field-replaceable-unit { + type boolean; + description + "1 if Field Replaceable Unit 0, if not"; + } + leaf manufacturer-asset-tags { + type int32; + description + "Manufacture Asset Tags"; + } + leaf composite-class-code { + type int32; + description + "Major&minor class of the entity"; + } + leaf memory-size { + type int32; + description + "Size of memory associated with the entity + where applicable"; + } + leaf environmental-monitor-path { + type string { + length "0..255"; + } + description + "sysdb name of sensor in the envmon EDM"; + } + leaf alias { + type string { + length "0..255"; + } + description + "useful for storing an entity alias "; + } + leaf group-flag { + type boolean; + description + "indicates if this entity is group or not"; + } + leaf new-deviation-number { + type int32; + description + "integer value for New Deviation Number 0x88"; + } + leaf physical-layer-interface-module-type { + type int32; + description + "integer value for plim type if applicable to + this entity"; + } + leaf unrecognized-fru { + type boolean; + description + "1 if UnrecognizedFRU and 0 for recognizedFRU"; + } + leaf redundancystate { + type int32; + description + "integer value for Redundancy State if + applicable to this entity"; + } + leaf ceport { + type boolean; + description + "1 if ce port found, 0 if not"; + } + leaf xr-scoped { + type boolean; + description + "1 if xr scoped, 0 if not"; + } + leaf unique-id { + type int32; + description + "Unique id for an entity"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang new file mode 100644 index 0000000..5a152d2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-sc-invmgr-oper.yang @@ -0,0 +1,200 @@ +module Cisco-IOS-XR-asr9k-sc-invmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-sc-invmgr-oper"; + prefix asr9k-sc-invmgr-oper; + + include Cisco-IOS-XR-asr9k-sc-invmgr-oper-sub1 { + revision-date 2017-01-04; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-sc-invmgr package operational data. + + This module contains definitions + for the following management objects: + inventory: Logical Router Inventory operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-04 { + description + "IOS-XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PORT-SLOT-TABLE { + description + "Common node of module, card"; + container port-slots { + description + "PortSlotTable contains all optics ports in a + SPA/PLIM."; + list port-slot { + key "number"; + description + "PortSlot number in the SPA/PLIM"; + container port { + description + "Port string"; + uses BASIC-ATTRIBUTES; + } + leaf number { + type int32; + description + "portslot number"; + } + uses BASIC-ATTRIBUTES; + } + } + } + + grouping SENSOR-TABLE { + description + "Common node of card, hw-component, module"; + container sensors { + description + "ModuleSensorTable contains all sensors in a + Module."; + list sensor { + key "number"; + description + "Sensor number in the Module"; + leaf number { + type int32; + description + "sensor number"; + } + uses BASIC-ATTRIBUTES; + } + } + } + + grouping BASIC-ATTRIBUTES { + description + "Common node of slot, card, sub-slot, module, + port-slot, port, hw-component, sensor"; + container basic-attributes { + description + "Attributes"; + container basic-info { + description + "Inventory information"; + uses INV-PHY-ENTITY-BASIC-INFO; + } + container fru-info { + description + "Field Replaceable Unit (FRU) inventory + information"; + uses INV-CARD-FRU-INFO; + } + } + } + + container inventory { + config false; + description + "Logical Router Inventory operational data"; + container racks { + description + "Table of racks"; + list rack { + key "number"; + description + "Rack number"; + container slots { + description + "Slot table contains all slots in the rack"; + list slot { + key "number"; + description + "Slot number"; + container cards { + description + "Card table contains all cards in the slot"; + list card { + key "number"; + description + "Card number"; + container sub-slots { + description + "SubSlotTable contains all subslots in a + Slot"; + list sub-slot { + key "number"; + description + "SubSlot number"; + container module { + description + "Module string"; + uses SENSOR-TABLE; + uses PORT-SLOT-TABLE; + uses BASIC-ATTRIBUTES; + } + leaf number { + type int32; + description + "subslot number"; + } + uses BASIC-ATTRIBUTES; + } + } + container hw-components { + description + "HWComponent table contains all HW modules + within the card "; + list hw-component { + key "number"; + description + "HWComponent number"; + leaf number { + type int32; + description + "node number"; + } + uses SENSOR-TABLE; + uses BASIC-ATTRIBUTES; + } + } + leaf number { + type int32; + description + "card number"; + } + uses SENSOR-TABLE; + uses PORT-SLOT-TABLE; + uses BASIC-ATTRIBUTES; + } + } + leaf number { + type int32; + description + "Slot number"; + } + uses BASIC-ATTRIBUTES; + } + } + leaf number { + type int32; + description + "Rack number"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang new file mode 100644 index 0000000..c8fbca7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub1.yang @@ -0,0 +1,1134 @@ +submodule Cisco-IOS-XR-asr9k-xbar-oper-sub1 { + belongs-to Cisco-IOS-XR-asr9k-xbar-oper { + prefix Cisco-IOS-XR-asr9k-xbar-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-xbar package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping XBAR-EDM-SM15-PE-CC-STATS { + description + "XBAR EDM SM15 PE CC STATS"; + leaf in-pkt-cnt { + type uint64; + description + "IN PKT CNT"; + } + leaf out-path0-pkt-cnt { + type uint64; + description + "OUT PATH0 PKT CNT"; + } + leaf out-path1-pkt-cnt { + type uint64; + description + "OUT PATH1 PKT CNT"; + } + leaf xbar-ecc-drop-pkt-cnt { + type uint64; + description + "XBAR ECC DROP PKT CNT"; + } + leaf mem0-drop-pkt-cnt { + type uint64; + description + "MEM0 DROP PKT CNT"; + } + leaf mem1-drop-pkt-cnt { + type uint64; + description + "MEM1 DROP PKT CNT"; + } + leaf congn-pkt-cnt { + type uint64; + description + "CONGN PKT CNT"; + } + leaf xbar-ecc-single-err-cnt { + type uint64; + description + "XBAR ECC SINGLE ERR CNT"; + } + leaf xbar-ecc-double-err-cnt { + type uint64; + description + "XBAR ECC DOUBLE ERR CNT"; + } + leaf mem0-ecc-single-err-cnt { + type uint64; + description + "MEM0 ECC SINGLE ERR CNT"; + } + leaf mem0-ecc-double-err-cnt { + type uint64; + description + "MEM0 ECC DOUBLE ERR CNT"; + } + leaf mem1-ecc-single-err-cnt { + type uint64; + description + "MEM1 ECC SINGLE ERR CNT"; + } + leaf mem1-ecc-double-err-cnt { + type uint64; + description + "MEM1 ECC DOUBLE ERR CNT"; + } + leaf fc-cc-0-1-trans-cnt { + type uint64; + description + "FC CC 0 1 TRANS CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + } + + grouping XBAR-EDM-SM15-PE-MC-STATS { + description + "XBAR EDM SM15 PE MC STATS"; + leaf in-pkt-mc-cnt { + type uint64; + description + "IN PKT MC CNT"; + } + leaf in-full-line-mc-cnt { + type uint64; + description + "IN FULL LINE MC CNT"; + } + leaf pkt-trunc-eop-mc-cnt { + type uint64; + description + "PKT TRUNC EOP MC CNT"; + } + leaf pkt-sop-drop-mc-cnt { + type uint64; + description + "PKT SOP DROP MC CNT"; + } + leaf pkt-ecc-err-drop-mc-cnt { + type uint64; + description + "PKT ECC ERR DROP MC CNT"; + } + leaf pkt-ecc-err-trunc-cnt-mc-cnt { + type uint64; + description + "PKT ECC ERR TRUNC CNT MC CNT"; + } + leaf ecc-1bit-err-mc0-cnt { + type uint64; + description + "ECC 1BIT ERR MC0 CNT"; + } + leaf ecc-1bit-err-mc1-cnt { + type uint64; + description + "ECC 1BIT ERR MC1 CNT"; + } + leaf ecc-1bit-err-mc2-cnt { + type uint64; + description + "ECC 1BIT ERR MC2 CNT"; + } + leaf ecc-2bit-err-mc0-cnt { + type uint64; + description + "ECC 2BIT ERR MC0 CNT"; + } + leaf ecc-2bit-err-mc1-cnt { + type uint64; + description + "ECC 2BIT ERR MC1 CNT"; + } + leaf ecc-2bit-err-mc2-cnt { + type uint64; + description + "ECC 2BIT ERR MC2 CNT"; + } + leaf out-pkt-mc-cnt { + type uint64; + description + "OUT PKT MC CNT"; + } + leaf fe-mc-sop-eop-pack-cnt { + type uint64; + description + "FE MC SOP EOP PACK CNT"; + } + leaf fc-mc-0-1-trans-cnt { + type uint64; + description + "FC MC 0 1 TRANS CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + } + + grouping XBAR-EDM-SM15-PE-UC-STATS { + description + "XBAR EDM SM15 PE UC STATS"; + leaf in-pkt-uc0-cnt { + type uint64; + description + "IN PKT UC0 CNT"; + } + leaf in-pkt-uc1-cnt { + type uint64; + description + "IN PKT UC1 CNT"; + } + leaf in-pkt-uc2-cnt { + type uint64; + description + "IN PKT UC2 CNT"; + } + leaf in-full-line-uc0-cnt { + type uint64; + description + "IN FULL LINE UC0 CNT"; + } + leaf in-full-line-uc1-cnt { + type uint64; + description + "IN FULL LINE UC1 CNT"; + } + leaf in-full-line-uc2-cnt { + type uint64; + description + "IN FULL LINE UC2 CNT"; + } + leaf pkt-trunc-eop-uc0-cnt { + type uint64; + description + "PKT TRUNC EOP UC0 CNT"; + } + leaf pkt-trunc-eop-uc1-cnt { + type uint64; + description + "PKT TRUNC EOP UC1 CNT"; + } + leaf pkt-trunc-eop-uc2-cnt { + type uint64; + description + "PKT TRUNC EOP UC2 CNT"; + } + leaf pkt-sop-drop-uc0-cnt { + type uint64; + description + "PKT SOP DROP UC0 CNT"; + } + leaf pkt-sop-drop-uc1-cnt { + type uint64; + description + "PKT SOP DROP UC1 CNT"; + } + leaf pkt-sop-drop-uc2-cnt { + type uint64; + description + "PKT SOP DROP UC2 CNT"; + } + leaf pkt-ecc-err-drop-uc-cnt { + type uint64; + description + "PKT ECC ERR DROP UC CNT"; + } + leaf pkt-ecc-trunc-cnt-uc-cnt { + type uint64; + description + "PKT ECC TRUNC CNT UC CNT"; + } + leaf ecc-1bit-err-uc0-0-cnt { + type uint64; + description + "ECC 1BIT ERR UC0 0 CNT"; + } + leaf ecc-1bit-err-uc0-1-cnt { + type uint64; + description + "ECC 1BIT ERR UC0 1 CNT"; + } + leaf ecc-1bit-err-uc1-0-cnt { + type uint64; + description + "ECC 1BIT ERR UC1 0 CNT"; + } + leaf ecc-1bit-err-uc1-1-cnt { + type uint64; + description + "ECC 1BIT ERR UC1 1 CNT"; + } + leaf ecc-1bit-err-uc2-0-cnt { + type uint64; + description + "ECC 1BIT ERR UC2 0 CNT"; + } + leaf ecc-1bit-err-uc2-1-cnt { + type uint64; + description + "ECC 1BIT ERR UC2 1 CNT"; + } + leaf ecc-2bit-err-uc0-0-cnt { + type uint64; + description + "ECC 2BIT ERR UC0 0 CNT"; + } + leaf ecc-2bit-err-uc0-1-cnt { + type uint64; + description + "ECC 2BIT ERR UC0 1 CNT"; + } + leaf ecc-2bit-err-uc1-0-cnt { + type uint64; + description + "ECC 2BIT ERR UC1 0 CNT"; + } + leaf ecc-2bit-err-uc1-1-cnt { + type uint64; + description + "ECC 2BIT ERR UC1 1 CNT"; + } + leaf ecc-2bit-err-uc2-0-cnt { + type uint64; + description + "ECC 2BIT ERR UC2 0 CNT"; + } + leaf ecc-2bit-err-uc2-1-cnt { + type uint64; + description + "ECC 2BIT ERR UC2 1 CNT"; + } + leaf out-pkt-uc-cnt { + type uint64; + description + "OUT PKT UC CNT"; + } + leaf fe-uc-sop-eop-pack-cnt { + type uint64; + description + "FE UC SOP EOP PACK CNT"; + } + leaf fc-uc-0-1-trans-cnt { + type uint64; + description + "FC UC 0 1 TRANS CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + } + + grouping XBAR-EDM-SM15-PI-CC-STATS { + description + "XBAR EDM SM15 PI CC STATS"; + leaf in0-ecc-serr-cnt { + type uint64; + description + "IN0 ECC SERR CNT"; + } + leaf in0-ecc-derr-cnt { + type uint64; + description + "IN0 ECC DERR CNT"; + } + leaf in1-ecc-serr-cnt { + type uint64; + description + "IN1 ECC SERR CNT"; + } + leaf in1-ecc-derr-cnt { + type uint64; + description + "IN1 ECC DERR CNT"; + } + leaf data-mem-ecc-serr-cnt { + type uint64; + description + "DATA MEM ECC SERR CNT"; + } + leaf data-mem-ecc-derr-cnt { + type uint64; + description + "DATA MEM ECC DERR CNT"; + } + leaf data-mem-ovf0-cnt { + type uint64; + description + "DATA MEM OVF0 CNT"; + } + leaf data-mem-ovf1-cnt { + type uint64; + description + "DATA MEM OVF1 CNT"; + } + leaf fpoe-mem-ecc-serr-cnt { + type uint64; + description + "FPOE MEM ECC SERR CNT"; + } + leaf fpoe-mem-ecc-derr-cnt { + type uint64; + description + "FPOE MEM ECC DERR CNT"; + } + leaf null-poe-cnt { + type uint64; + description + "NULL POE CNT"; + } + leaf shut-ack-cnt { + type uint64; + description + "SHUT ACK CNT"; + } + leaf in0-fnc-err-cnt { + type uint64; + description + "IN0 FNC ERR CNT"; + } + leaf in1-fnc-err-cnt { + type uint64; + description + "IN1 FNC ERR CNT"; + } + leaf in0-drop-cnt { + type uint64; + description + "IN0 DROP CNT"; + } + leaf in1-drop-cnt { + type uint64; + description + "IN1 DROP CNT"; + } + leaf in0-cong-cnt { + type uint64; + description + "IN0 CONG CNT"; + } + leaf in1-cong-cnt { + type uint64; + description + "IN1 CONG CNT"; + } + leaf in0-shut-cnt { + type uint64; + description + "IN0 SHUT CNT"; + } + leaf in1-shut-cnt { + type uint64; + description + "IN1 SHUT CNT"; + } + leaf tail-drop-msg-cnt { + type uint64; + description + "TAIL DROP MSG CNT"; + } + leaf in0-pkt-cnt { + type uint64; + description + "IN0 PKT CNT"; + } + leaf in1-pkt-cnt { + type uint64; + description + "IN1 PKT CNT"; + } + leaf dmem-rd-cnt { + type uint64; + description + "DMEM RD CNT"; + } + leaf in-dmem0-cnt { + type uint64; + description + "IN DMEM0 CNT"; + } + leaf in-dmem1-cnt { + type uint64; + description + "IN DMEM1 CNT"; + } + leaf out-pkt-cnt { + type uint64; + description + "OUT PKT CNT"; + } + leaf stop-thrsh-hit-cnt { + type uint64; + description + "STOP THRSH HIT CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + } + + grouping XBAR-EDM-SM15-PI-MC-STATS { + description + "XBAR EDM SM15 PI MC STATS"; + leaf pkt-rcv-cnt { + type uint64; + description + "PKT RCV CNT"; + } + leaf pkt-seq-err-cnt { + type uint64; + description + "PKT SEQ ERR CNT"; + } + leaf in-coming-pkt-err-cnt { + type uint64; + description + "INCOMING PKT ERR CNT"; + } + leaf min-pkt-len-err-cnt { + type uint64; + description + "MIN PKT LEN ERR CNT"; + } + leaf max-pkt-len-err-cnt { + type uint64; + description + "MAX PKT LEN ERR CNT"; + } + leaf line-err-drp-pkt { + type uint64; + description + "LINE ERR DRP PKT"; + } + leaf pkt-crc-err-cnt { + type uint64; + description + "PKT CRC ERR CNT"; + } + leaf pkt-cfh-crc-err-cnt { + type uint64; + description + "PKT CFH CRC ERR CNT"; + } + leaf line-s-written-in-mem { + type uint64; + description + "LINES WRITTEN IN MEM"; + } + leaf tail-drp-pkt-cnt { + type uint64; + description + "TAIL DRP PKT CNT"; + } + leaf data-mem0-ecc-1bit-err-cnt { + type uint64; + description + "DATA MEM0 ECC 1BIT ERR CNT"; + } + leaf data-mem1-ecc-1bit-err-cnt { + type uint64; + description + "DATA MEM1 ECC 1BIT ERR CNT"; + } + leaf data-mem2-ecc-1bit-err-cnt { + type uint64; + description + "DATA MEM2 ECC 1BIT ERR CNT"; + } + leaf data-mem0-ecc-2bit-err-cnt { + type uint64; + description + "DATA MEM0 ECC 2BIT ERR CNT"; + } + leaf data-mem1-ecc-2bit-err-cnt { + type uint64; + description + "DATA MEM1 ECC 2BIT ERR CNT"; + } + leaf data-mem2-ecc-2bit-err-cnt { + type uint64; + description + "DATA MEM2 ECC 2BIT ERR CNT"; + } + leaf diag-pkt-cnt { + type uint64; + description + "DIAG PKT CNT"; + } + leaf pkt-sent-to-disabled-port { + type uint64; + description + "PKT SENT TO DISABLED PORT"; + } + leaf pkt-fpoe-match-hit-cnt { + type uint64; + description + "PKT FPOE MATCH HIT CNT"; + } + leaf pkt-null-poe-sent-cnt { + type uint64; + description + "PKT NULL POE SENT CNT"; + } + leaf pkt-fpoe-addr-rng-hit-cnt { + type uint64; + description + "PKT FPOE ADDR RNG HIT CNT"; + } + leaf di-hdr-len-err-pkt-cnt { + type uint64; + description + "DI HDR LEN ERR PKT CNT"; + } + leaf di-err-pkt-cnt { + type uint64; + description + "DI ERR PKT CNT"; + } + leaf fpoe-mem-ecc-1bit-err-cnt { + type uint64; + description + "FPOE MEM ECC 1BIT ERR CNT"; + } + leaf fpoe-mem-ecc-2bit-err-cnt { + type uint64; + description + "FPOE MEM ECC 2BIT ERR CNT"; + } + leaf pkts-sent-to-mx-cnt { + type uint64; + description + "PKTS SENT TO MX CNT"; + } + leaf cpp-head-drop-pkt-from-ma-cnt { + type uint64; + description + "CPP HEAD DROP PKT FROM MA CNT"; + } + leaf tr-head-drop-pkt-from-ma-cnt { + type uint64; + description + "TR HEAD DROP PKT FROM MA CNT"; + } + leaf tr-pkt-sent-to-mx { + type uint64; + description + "TR PKT SENT TO MX"; + } + leaf stop-thrsh-hit-cnt { + type uint64; + description + "STOP THRSH HIT CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + leaf crc-stomp-pkt-cnt { + type uint64; + description + "CRC STOMP PKT CNT"; + } + } + + grouping XBAR-EDM-SM15-PI-UC-STATS { + description + "XBAR EDM SM15 PI UC STATS"; + leaf pkt-rcv-cnt { + type uint64; + description + "PKT RCV CNT"; + } + leaf pkt-seq-err-cnt { + type uint64; + description + "PKT SEQ ERR CNT"; + } + leaf in-coming-pkt-err-cnt { + type uint64; + description + "INCOMING PKT ERR CNT"; + } + leaf min-pkt-len-err-cnt { + type uint64; + description + "MIN PKT LEN ERR CNT"; + } + leaf max-pkt-len-err-cnt { + type uint64; + description + "MAX PKT LEN ERR CNT"; + } + leaf line-err-drp-pkt { + type uint64; + description + "LINE ERR DRP PKT"; + } + leaf pkt-crc-err-cnt { + type uint64; + description + "PKT CRC ERR CNT"; + } + leaf pkt-cfh-crc-err-cnt { + type uint64; + description + "PKT CFH CRC ERR CNT"; + } + leaf line-s-written-in-mem0 { + type uint64; + description + "LINES WRITTEN IN MEM0"; + } + leaf line-s-written-in-mem1 { + type uint64; + description + "LINES WRITTEN IN MEM1"; + } + leaf line-s-written-in-mem2 { + type uint64; + description + "LINES WRITTEN IN MEM2"; + } + leaf tail-drp-pkt-cnt { + type uint64; + description + "TAIL DRP PKT CNT"; + } + leaf uc0-data-mem-ecc-1bit-err-cnt { + type uint64; + description + "UC0 DATA MEM ECC 1BIT ERR CNT"; + } + leaf uc1-data-mem-ecc-1bit-err-cnt { + type uint64; + description + "UC1 DATA MEM ECC 1BIT ERR CNT"; + } + leaf uc2-data-mem-ecc-1bit-err-cnt { + type uint64; + description + "UC2 DATA MEM ECC 1BIT ERR CNT"; + } + leaf uc0-data-mem-ecc-2bit-err-cnt { + type uint64; + description + "UC0 DATA MEM ECC 2BIT ERR CNT"; + } + leaf uc1-data-mem-ecc-2bit-err-cnt { + type uint64; + description + "UC1 DATA MEM ECC 2BIT ERR CNT"; + } + leaf uc2-data-mem-ecc-2bit-err-cnt { + type uint64; + description + "UC2 DATA MEM ECC 2BIT ERR CNT"; + } + leaf diag-pkt-cnt { + type uint64; + description + "DIAG PKT CNT"; + } + leaf pkt-sent-to-disabled-port-cnt { + type uint64; + description + "PKT SENT TO DISABLED PORT CNT"; + } + leaf pkt-null-poe-sent-ua0-cnt { + type uint64; + description + "PKT NULL POE SENT UA0 CNT"; + } + leaf pkt-null-poe-sent-ua1-cnt { + type uint64; + description + "PKT NULL POE SENT UA1 CNT"; + } + leaf pkt-null-poe-sent-ua2-cnt { + type uint64; + description + "PKT NULL POE SENT UA2 CNT"; + } + leaf pkt-fpoe-addr-rng-hit-cnt { + type uint64; + description + "PKT FPOE ADDR RNG HIT CNT"; + } + leaf fpoe-mem-ecc-1bit-err-cnt { + type uint64; + description + "FPOE MEM ECC 1BIT ERR CNT"; + } + leaf fpoe-mem-ecc-2bit-err-cnt { + type uint64; + description + "FPOE MEM ECC 2BIT ERR CNT"; + } + leaf pkts-sent-to-ux0-cnt { + type uint64; + description + "PKTS SENT TO UX0 CNT"; + } + leaf pkts-sent-to-ux1-cnt { + type uint64; + description + "PKTS SENT TO UX1 CNT"; + } + leaf pkts-sent-to-ux2-cnt { + type uint64; + description + "PKTS SENT TO UX2 CNT"; + } + leaf cpp-head-drop-pkt-cnt { + type uint64; + description + "CPP HEAD DROP PKT CNT"; + } + leaf tr-head-drop-pkt-cnt { + type uint64; + description + "TR HEAD DROP PKT CNT"; + } + leaf tr-pkt-sent-to-ux { + type uint64; + description + "TR PKT SENT TO UX"; + } + leaf stop-thrsh-hit-cnt { + type uint64; + description + "STOP THRSH HIT CNT"; + } + leaf rate-cnt { + type uint64; + description + "RATE CNT"; + } + leaf calc-rate { + type uint64; + description + "calc rate"; + } + leaf crc-stomp-pkt-cnt { + type uint64; + description + "CRC STOMP PKT CNT"; + } + } + + grouping XBAR-EDM-SM15-PE-STATS { + description + "XBAR EDM SM15 PE STATS"; + leaf total-rate1-cnt { + type uint64; + description + "TOTAL RATE1 CNT"; + } + leaf total-rate2-cnt { + type uint64; + description + "TOTAL RATE2 CNT"; + } + leaf total-rate3-cnt { + type uint64; + description + "TOTAL RATE3 CNT"; + } + leaf total-calc-rate { + type uint64; + description + "total calc rate"; + } + leaf mc2uc-preempt-cnt { + type uint64; + description + "MC2UC PREEMPT CNT"; + } + } + + grouping XBAR-EDM-SM15-PI-STATS { + description + "XBAR EDM SM15 PI STATS"; + leaf total-rate1-cnt { + type uint64; + description + "TOTAL RATE1 CNT"; + } + leaf total-rate2-cnt { + type uint64; + description + "TOTAL RATE2 CNT"; + } + leaf total-rate3-cnt { + type uint64; + description + "TOTAL RATE3 CNT"; + } + leaf total-calc-rate { + type uint64; + description + "total calc rate"; + } + } + + grouping XBAR-EDM-SM15-CA-STATS { + description + "XBAR EDM SM15 CA STATS"; + leaf dest-drop-pkt-cnt { + type uint64; + description + "DEST DROP PKT CNT"; + } + leaf src-dest-pkt-cnt { + type uint64; + description + "SRC DEST PKT CNT"; + } + leaf dest-src-pkt-cnt { + type uint64; + description + "DEST SRC PKT CNT"; + } + leaf rcv-pkt-cnt { + type uint64; + description + "RCV PKT CNT"; + } + leaf tx-pkt-cnt { + type uint64; + description + "TX PKT CNT"; + } + leaf rx-drop-pkt-cnt { + type uint64; + description + "RX DROP PKT CNT"; + } + } + + grouping XBAR-EDM-SM15-MA-STATS { + description + "XBAR EDM SM15 MA STATS"; + leaf dest-drop-pkt-cnt { + type uint64; + description + "DEST DROP PKT CNT"; + } + leaf src-dest-pkt-cnt { + type uint64; + description + "SRC DEST PKT CNT"; + } + leaf dest-src-pkt-cnt { + type uint64; + description + "DEST SRC PKT CNT"; + } + leaf rcv-pkt-cnt { + type uint64; + description + "RCV PKT CNT"; + } + leaf tx-pkt-cnt { + type uint64; + description + "TX PKT CNT"; + } + leaf rx-drop-pkt-cnt { + type uint64; + description + "RX DROP PKT CNT"; + } + leaf rx-re-transmit-cnt { + type uint64; + description + "RX RETRANSMIT CNT"; + } + leaf rx-fabric-to-cnt { + type uint64; + description + "RX FABRIC TO CNT"; + } + leaf rx-hol-to-cnt { + type uint64; + description + "RX HOL TO CNT"; + } + } + + grouping XBAR-EDM-SM15-UA-STATS { + description + "XBAR EDM SM15 UA STATS"; + leaf dest-drop-pkt-cnt { + type uint64; + description + "DEST DROP PKT CNT"; + } + leaf src-dest-pkt-cnt { + type uint64; + description + "SRC DEST PKT CNT"; + } + leaf dest-src-pkt-cnt { + type uint64; + description + "DEST SRC PKT CNT"; + } + leaf rcv-pkt-cnt { + type uint64; + description + "RCV PKT CNT"; + } + leaf tx-pkt-cnt { + type uint64; + description + "TX PKT CNT"; + } + leaf rx-drop-pkt-cnt { + type uint64; + description + "RX DROP PKT CNT"; + } + leaf rx-fabric-to-cnt { + type uint64; + description + "RX FABRIC TO CNT"; + } + leaf ack-wait-cnt { + type uint64; + description + "ACK WAIT CNT"; + } + } + + grouping XBAR-EDM-SM15-PORT-STATS { + description + "XBAR EDM SM15 PORT STATS"; + container ua0-stats { + description + "ua0 stats"; + uses XBAR-EDM-SM15-UA-STATS; + } + container ua1-stats { + description + "ua1 stats"; + uses XBAR-EDM-SM15-UA-STATS; + } + container ua2-stats { + description + "ua2 stats"; + uses XBAR-EDM-SM15-UA-STATS; + } + container ma-stats { + description + "ma stats"; + uses XBAR-EDM-SM15-MA-STATS; + } + container ca-stats { + description + "ca stats"; + uses XBAR-EDM-SM15-CA-STATS; + } + container pi-stats { + description + "pi stats"; + uses XBAR-EDM-SM15-PI-STATS; + } + container pe-stats { + description + "pe stats"; + uses XBAR-EDM-SM15-PE-STATS; + } + container pi-uc-stats { + description + "pi uc stats"; + uses XBAR-EDM-SM15-PI-UC-STATS; + } + container pi-mc-stats { + description + "pi mc stats"; + uses XBAR-EDM-SM15-PI-MC-STATS; + } + container pi-cc-stats { + description + "pi cc stats"; + uses XBAR-EDM-SM15-PI-CC-STATS; + } + container pe-uc-stats { + description + "pe uc stats"; + uses XBAR-EDM-SM15-PE-UC-STATS; + } + container pe-mc-stats { + description + "pe mc stats"; + uses XBAR-EDM-SM15-PE-MC-STATS; + } + container pe-cc-stats { + description + "pe cc stats"; + uses XBAR-EDM-SM15-PE-CC-STATS; + } + leaf internal-err-cnt { + type uint64; + description + "internal err cnt"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang new file mode 100644 index 0000000..f109ad2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper-sub2.yang @@ -0,0 +1,265 @@ +submodule Cisco-IOS-XR-asr9k-xbar-oper-sub2 { + belongs-to Cisco-IOS-XR-asr9k-xbar-oper { + prefix Cisco-IOS-XR-asr9k-xbar-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR asr9k-xbar package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Q-stats { + type uint64; + description + "Q stats"; + } + + grouping XBAR-XML-EDM-PORT-STATS { + description + "Bag containing xbar packet stats"; + leaf internal-error-count { + type uint64; + description + ""; + } + leaf input-buffer-queued-packet-count-high { + type Q-stats; + description + ""; + } + leaf ingress-packet-count-since-last-read-high { + type Q-stats; + description + ""; + } + leaf ingress-channel-utilization-count-high { + type Q-stats; + description + ""; + } + leaf input-buffer-back-pressure-count-high { + type Q-stats; + description + ""; + } + leaf xbar-timeout-drop-count-high { + type Q-stats; + description + ""; + } + leaf holdrop-count-high { + type Q-stats; + description + ""; + } + leaf null-fpoe-drop-count-high { + type Q-stats; + description + ""; + } + leaf diagnostic-packet-count-high { + type Q-stats; + description + ""; + } + leaf input-buffer-correctable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf input-buffer-uncorrectable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf header-crc-error-count-high { + type Q-stats; + description + ""; + } + leaf short-input-header-error-count-high { + type Q-stats; + description + ""; + } + leaf packet-crc-error-count-high { + type Q-stats; + description + ""; + } + leaf short-packet-error-count-high { + type Q-stats; + description + ""; + } + leaf output-buffer-queued-packet-count-high { + type Q-stats; + description + ""; + } + leaf egress-packet-count-since-last-read-high { + type Q-stats; + description + ""; + } + leaf egress-channel-utilization-count-high { + type Q-stats; + description + ""; + } + leaf output-buffer-back-pressure-count-high { + type Q-stats; + description + ""; + } + leaf output-buffer-correctable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf output-buffer-uncorrectable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf fpoedb-correctable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf fpoedb-uncorrectable-ecc-error-count-high { + type Q-stats; + description + ""; + } + leaf input-buffer-queued-packet-count-low { + type Q-stats; + description + ""; + } + leaf ingress-packet-count-since-last-read-low { + type Q-stats; + description + ""; + } + leaf ingress-channel-utilization-count-low { + type Q-stats; + description + ""; + } + leaf input-buffer-back-pressure-count-low { + type Q-stats; + description + ""; + } + leaf xbar-timeout-drop-count-low { + type Q-stats; + description + ""; + } + leaf holdrop-count-low { + type Q-stats; + description + ""; + } + leaf null-fpoe-drop-count-low { + type Q-stats; + description + ""; + } + leaf diagnostic-packet-count-low { + type Q-stats; + description + ""; + } + leaf input-buffer-correctable-ecc-error-count-low { + type Q-stats; + description + ""; + } + leaf input-buffer-uncorrectable-ecc-error-count-low { + type Q-stats; + description + ""; + } + leaf header-crc-error-count-low { + type Q-stats; + description + ""; + } + leaf short-input-header-error-count-low { + type Q-stats; + description + ""; + } + leaf packet-crc-error-count-low { + type Q-stats; + description + ""; + } + leaf short-packet-error-count-low { + type Q-stats; + description + ""; + } + leaf output-buffer-queued-packet-count-low { + type Q-stats; + description + ""; + } + leaf egress-packet-count-since-last-read-low { + type Q-stats; + description + ""; + } + leaf egress-channel-utilization-count-low { + type Q-stats; + description + ""; + } + leaf output-buffer-back-pressure-count-low { + type Q-stats; + description + ""; + } + leaf output-buffer-correctable-ecc-error-count-low { + type Q-stats; + description + ""; + } + leaf output-buffer-uncorrectable-ecc-error-count-low { + type Q-stats; + description + ""; + } + leaf fpoedb-correctable-ecc-error-count-low { + type Q-stats; + description + ""; + } + leaf fpoedb-uncorrectable-ecc-error-count-low { + type Q-stats; + description + ""; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper.yang new file mode 100644 index 0000000..abb8149 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-asr9k-xbar-oper.yang @@ -0,0 +1,106 @@ +module Cisco-IOS-XR-asr9k-xbar-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-xbar-oper"; + prefix asr9k-xbar-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-asr9k-xbar-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-asr9k-xbar-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR asr9k-xbar package operational data. + + This module contains definitions + for the following management objects: + cross-bar-stats: Crossbar stats operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container cross-bar-stats { + config false; + description + "Crossbar stats operational data"; + container nodes { + description + "Table of Nodes"; + list node { + key "node-name"; + description + "Information about a particular node"; + container cross-bar-table { + description + "Table of stats information"; + container pkt-stats { + description + "Table of packet stats"; + list pkt-stat { + description + "Stats information for a particular asic type + and port"; + leaf asic-id { + type xr:Cisco-ios-xr-string; + description + "Asic ID"; + } + leaf port { + type xr:Cisco-ios-xr-string; + description + "Port"; + } + uses XBAR-XML-EDM-PORT-STATS; + } + } + container sm15-stats { + description + "Table of packet stats for SM15"; + list sm15-stat { + description + "Stats information for a particular asic type + and port"; + leaf asic-id { + type xr:Cisco-ios-xr-string; + description + "Asic ID"; + } + leaf port { + type xr:Cisco-ios-xr-string; + description + "Port"; + } + uses XBAR-EDM-SM15-PORT-STATS; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-common-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-common-datatypes.yang new file mode 100644 index 0000000..9a9c264 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-common-datatypes.yang @@ -0,0 +1,148 @@ +module Cisco-IOS-XR-atm-common-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-atm-common-datatypes"; + prefix atm-common-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Atm-vp-shaping { + type enumeration { + enum "cbr" { + value 1; + description + "Constant Bit Rate"; + } + enum "vbr-nrt" { + value 2; + description + "Variable Bit Rate-non real time"; + } + enum "vbr-rt" { + value 3; + description + "Variable Bit Rate-real time"; + } + enum "ubr" { + value 6; + description + "Unspecified Bit Rate"; + } + } + description + "Atm vp shaping"; + } + + typedef Atm-pvc-shaping { + type enumeration { + enum "cbr" { + value 1; + description + "Constant Bit Rate"; + } + enum "vbr-nrt" { + value 2; + description + "Variable Bit Rate-non real time"; + } + enum "vbr-rt" { + value 3; + description + "Variable Bit Rate-real time"; + } + enum "ubr" { + value 6; + description + "Unspecified Bit Rate"; + } + } + description + "Atm pvc shaping"; + } + + typedef Atm-pvc-data { + type enumeration { + enum "data" { + value 0; + description + "Data"; + } + enum "ilmi" { + value 2; + description + "ILMI"; + } + enum "layer2" { + value 3; + description + "Layer2"; + } + } + description + "Atm pvc data"; + } + + typedef Atm-pvc-encapsulation { + type enumeration { + enum "snap" { + value 3; + description + "SNAP"; + } + enum "vc-mux" { + value 4; + description + "VC MUX"; + } + enum "nlpid" { + value 5; + description + "NLPID"; + } + enum "aal0" { + value 7; + description + "AAL0"; + } + enum "aal5" { + value 8; + description + "AAL5"; + } + } + description + "Atm pvc encapsulation"; + } + + typedef Atm-vc-class-name { + type xr:Cisco-ios-xr-string { + length "1..30"; + } + description + "Atm vc class name"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-cfg.yang new file mode 100644 index 0000000..8887ea2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-cfg.yang @@ -0,0 +1,463 @@ +module Cisco-IOS-XR-atm-vcm-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-cfg"; + prefix atm-vcm-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-atm-common-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2vpn-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2vpn-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Atm-vpi-bits-mode { + type enumeration { + enum "twelve" { + value 12; + description + "12-bits VPI cell format"; + } + } + description + "Atm vpi bits mode"; + } + + typedef Vpi-range { + type uint32 { + range "0..4095"; + } + description + "Vpi range"; + } + + typedef Atm-pvc-test-mode { + type enumeration { + enum "loop" { + value 1; + description + "Loop mode applicable to L2/L3 PVC"; + } + enum "reserved" { + value 2; + description + "Reserved mode applicable to L2 PVC"; + } + } + description + "Atm pvc test mode"; + } + + typedef Atm-pvp-test-mode { + type enumeration { + enum "loop" { + value 1; + description + "Loop mode"; + } + } + description + "Atm pvp test mode"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container atm { + description + "ATM Configuration"; + container pvps { + description + "PVP Configuration"; + list pvp { + key "vpi"; + description + "Configuration of particular PVP"; + container shape { + description + "Configure traffic shaping parameters"; + leaf type { + type dt1:Atm-pvc-shaping; + description + "Traffic shaping type"; + } + leaf peak-cell-rate { + type uint32 { + range "8..622080"; + } + description + "Peak cell rate (kbps)"; + } + leaf sustained-cell-rate { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "8..622080"; + } + description + "Sustained cell rate (kbps)"; + } + leaf burst-size { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "1..8192"; + } + description + "Burst size in cells"; + } + } + container cell-packing { + presence "Indicates a cell-packing node is configured."; + description + "Configure cell-packing parameters. All + parameters are mandatory."; + leaf maximum-cells-packed { + type uint32 { + range "2..255"; + } + mandatory true; + description + "Maximum number of cells to be packed in a + packet"; + } + leaf cell-packing-timer-id { + type uint32 { + range "1..3"; + } + mandatory true; + description + "Which cell packing timer to use"; + } + } + leaf enable { + type empty; + description + "Create the PVP"; + } + leaf test-mode { + type Atm-pvp-test-mode; + description + "Configure the PVP test mode"; + } + leaf oam-segment-endpoint { + type empty; + description + "Enable L2VPN PVP OAM segment endpoint"; + } + leaf vpi { + type Vpi-range; + description + "VPI value"; + } + } + } + container pvcs { + description + "PVC Configuration"; + list pvc { + key "vpi vci pv-ctype"; + description + "Configuration particular PVC"; + container shape { + description + "Configure traffic shaping parameters"; + leaf type { + type dt1:Atm-pvc-shaping; + description + "Traffic shaping type"; + } + leaf peak-cell-rate { + type uint32 { + range "8..622080"; + } + description + "Peak cell rate (kbps)"; + } + leaf sustained-cell-rate { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "8..622080"; + } + description + "Sustained cell rate (kbps)"; + } + leaf burst-size { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "1..8192"; + } + description + "Burst size in cells"; + } + } + container oam-emulation { + description + "L2VPN OAM emulation"; + leaf enable { + type empty; + description + "Enable OAM emulation"; + } + leaf ais-transmit-rate { + type uint32 { + range "0..60"; + } + description + "AIS cell transmit rate (1 per x seconds)"; + } + } + container cell-packing { + presence "Indicates a cell-packing node is configured."; + description + "Configure cell-packing parameters. All + parameters are mandatory."; + leaf maximum-cells-packed { + type uint32 { + range "2..255"; + } + mandatory true; + description + "Maximum number of cells to be packed in a + packet"; + } + leaf cell-packing-timer-id { + type uint32 { + range "1..3"; + } + mandatory true; + description + "Which cell packing timer to use"; + } + } + leaf vc-class { + type dt1:Atm-vc-class-name; + description + "Name of the VC class"; + } + leaf encapsulation { + type dt1:Atm-pvc-encapsulation; + description + "Configure encapsulation"; + } + leaf enable { + type empty; + description + "Create the PVC"; + } + leaf test-mode { + type Atm-pvc-test-mode; + description + "Configure the PVC test mode"; + } + leaf oam-segment-endpoint { + type empty; + description + "Enable L2VPN PVC OAM segment endpoint"; + } + leaf vpi { + type Vpi-range; + description + "VPI value"; + } + leaf vci { + type uint32 { + range "1..65535"; + } + description + "VCI value"; + } + leaf pv-ctype { + type dt1:Atm-pvc-data; + description + "PVC type"; + } + } + } + container maximum-cell-packing-timers { + presence "Indicates a maximum-cell-packing-timers node is configured."; + description + "Configure maximum cell-packing timers. All + parameters are mandatory."; + leaf cell-packing-timer1 { + type uint32 { + range "50..4095"; + } + mandatory true; + description + "Cell-packing timer1 (micro seconds)"; + } + leaf cell-packing-timer2 { + type uint32 { + range "50..4095"; + } + mandatory true; + description + "Cell-packing timer2 (micro seconds)"; + } + leaf cell-packing-timer3 { + type uint32 { + range "50..4095"; + } + mandatory true; + description + "Cell-packing timer3 (micro seconds)"; + } + } + container vp-tunnels { + description + "VP tunnel configuration"; + list vp-tunnel { + key "vpi"; + description + "Configure a VP tunnel on this interface"; + container shape { + description + "Configure Traffic shaping parameters"; + leaf type { + type dt1:Atm-vp-shaping; + description + "Traffic shaping type"; + } + leaf peak-cell-rate { + type uint32 { + range "8..622080"; + } + description + "Peak cell rate (kbps)"; + } + leaf sustained-cell-rate { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "8..622080"; + } + description + "Sustained cell rate (kbps)"; + } + leaf burst-size { + when "../type != 'cbr' and ../type != 'ubr'" { + description + "../Type != CBR and ../Type != UBR"; + } + type uint32 { + range "1..8192"; + } + description + "Burst size in cells"; + } + } + leaf enable-hierarchical-shaping { + type empty; + description + "Enable Hierarchical Shaping configuration"; + } + leaf enable { + type empty; + description + "Create the VP Tunnel"; + } + leaf disable-f4oam { + type empty; + description + "Disable F4 OAM configuration"; + } + leaf vpi { + type Vpi-range; + description + "VPI value"; + } + } + } + leaf max-vpi-bits { + type Atm-vpi-bits-mode; + description + "Support 12-bits VPI cell format"; + } + leaf vc-class { + type dt1:Atm-vc-class-name; + description + "Name of the VC class"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + container atm-port-mode-parameters { + description + "ATM L2transport Port Mode Parameters + Configuration"; + container cell-packing { + presence "Indicates a cell-packing node is configured."; + description + "Configure cell-packing parameters. All + parameters are mandatory."; + leaf maximum-cells-packed { + type uint32 { + range "2..255"; + } + mandatory true; + description + "Maximum number of cells to be packed in a + packet"; + } + leaf cell-packing-timer-id { + type uint32 { + range "1..3"; + } + mandatory true; + description + "Which cell packing timer to use"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub1.yang new file mode 100644 index 0000000..0f2b6a0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub1.yang @@ -0,0 +1,192 @@ +submodule Cisco-IOS-XR-atm-vcm-oper-sub1 { + belongs-to Cisco-IOS-XR-atm-vcm-oper { + prefix Cisco-IOS-XR-atm-vcm-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vp-state { + type enumeration { + enum "vp-initialized" { + value 0; + description + "VP-Tunnel State: Initialized"; + } + enum "vp-modifying" { + value 1; + description + "VP-Tunnel State: Modifying"; + } + enum "vp-ready" { + value 2; + description + "VP-Tunnel State: Ready"; + } + enum "vp-mgd-down" { + value 3; + description + "VP-Tunnel State: Managed Down"; + } + enum "vp-deleting" { + value 4; + description + "VP-Tunnel State: Deleting"; + } + enum "vp-deleted" { + value 5; + description + "VP-Tunnel State: Deleted"; + } + enum "vp-state-unknown" { + value 6; + description + "VP-Tunnel State: Unknown"; + } + } + description + "VP-Tunnel State"; + } + + typedef Vp-traf-shaping { + type enumeration { + enum "vp-cbr" { + value 1; + description + "VP-Tunnel traffic shaping type CBR"; + } + enum "vp-vbr-nrt" { + value 2; + description + "VP-Tunnel traffic shaping type VBR-NR"; + } + enum "vp-vbr-rt" { + value 3; + description + "VP-Tunnel traffic shaping type VBR-RT"; + } + enum "vp-abr" { + value 4; + description + "VP-Tunnel traffic shaping type ABR"; + } + enum "vp-ubr-plus" { + value 5; + description + "VP-Tunnel traffic shaping type UBR+"; + } + enum "vp-ubr" { + value 6; + description + "VP-Tunnel traffic shaping type UBR"; + } + enum "vp-traf-shaping-unknown" { + value 7; + description + "VP-Tunnel traffic shaping type Unknown + (invalid)"; + } + } + description + "VP-Tunnel traffic shaping type"; + } + + grouping ATM-VCM-VP { + description + "ATM VP-Tunnel data"; + leaf main-interface { + type xr:Interface-name; + description + "Main Interface handle"; + } + leaf vp-interface { + type xr:Interface-name; + description + "VP Interfcace handle"; + } + leaf vpi-xr { + type uint16; + description + "VP-Tunnel VPI value"; + } + leaf shape { + type Vp-traf-shaping; + description + "ATM VP traffic shaping type"; + } + leaf peak-cell-rate { + type uint32; + units "kbit/s"; + description + "Peak cell rate in Kbps"; + } + leaf sustained-cell-rate { + type uint32; + units "kbit/s"; + description + "Sustained cell rate in Kbps"; + } + leaf burst-rate { + type uint32; + description + "Burst size in cells"; + } + leaf f4oam-enabled { + type boolean; + description + "F4OAM Enabled flag"; + } + leaf data-vc-count { + type uint32; + description + "Number of Data PVCs under this VP-tunnel"; + } + leaf oper-status { + type boolean; + description + "TRUE value indicates that the VP is + operationally UP"; + } + leaf amin-status { + type boolean; + description + "TRUE value indicates that the VP is + administratively UP"; + } + leaf internal-state { + type Vp-state; + description + "Internal state"; + } + leaf last-vp-state-change-time { + type uint32; + description + "Time when VP-Tunnel state was last changed"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub2.yang new file mode 100644 index 0000000..2b8dd66 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub2.yang @@ -0,0 +1,149 @@ +submodule Cisco-IOS-XR-atm-vcm-oper-sub2 { + belongs-to Cisco-IOS-XR-atm-vcm-oper { + prefix Cisco-IOS-XR-atm-vcm-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-atm-vcm-oper-sub4 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vcm-port { + type enumeration { + enum "port-type-layer-2" { + value 0; + description + " Layer 2 ATM port type "; + } + enum "port-type-layer-3" { + value 1; + description + " Layer 3 ATM port type "; + } + enum "port-type-unknown" { + value 3; + description + " ATM port type unknown "; + } + } + description + "ATM port type"; + } + + grouping ATM-VCM-IF { + description + "ATM Interface configuration"; + container cell-packing-data { + description + "Cell packing specific information"; + uses ATM-VCM-CELL-PACKING-INFO; + } + leaf ilmi-vpi { + type uint32; + description + "ILMI VPI"; + } + leaf ilmi-vci { + type uint32; + description + "ILMI VCI"; + } + leaf pvc-failures { + type uint32; + description + "Number of PVC Failures"; + } + leaf currently-failing-layer2pv-ps { + type uint32; + description + "Number of currently failing Layer 2 PVPs"; + } + leaf currently-failing-layer2pv-cs { + type uint32; + description + "Number of currently failing Layer 2 PVCs"; + } + leaf currently-failing-layer3vp-tunnels { + type uint32; + description + "Number of currently failing Layer 3 VP tunnels"; + } + leaf currently-failing-layer3pv-cs { + type uint32; + description + "Number of currently failing Layer 3 PVCs"; + } + leaf pvc-failures-trap-enable { + type boolean; + description + "If true, PVC failures trap is enabled"; + } + leaf pvc-notification-interval { + type uint32; + description + "PVC trap notification interval"; + } + leaf configured-layer2pv-ps { + type uint32; + description + "Number of Layer 2 PVPs configured"; + } + leaf configured-layer2pv-cs { + type uint32; + description + "Number of Layer 2 PVCs configured"; + } + leaf configured-layer3vp-tunnels { + type uint32; + description + "Number of Layer 3 VP tunnels configured"; + } + leaf configured-layer3pv-cs { + type uint32; + description + "Number of Layer 3 PVCs configured"; + } + leaf port-type { + type Vcm-port; + description + "ATM interface port type"; + } + leaf main-interface { + type xr:Interface-name; + description + "Main Interface handle"; + } + leaf l2-cell-packing-count { + type uint16; + description + "Number of L2 attachment circuits with the cell + packing feature enabled on this main interface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub3.yang new file mode 100644 index 0000000..7260eb2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub3.yang @@ -0,0 +1,278 @@ +submodule Cisco-IOS-XR-atm-vcm-oper-sub3 { + belongs-to Cisco-IOS-XR-atm-vcm-oper { + prefix Cisco-IOS-XR-atm-vcm-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-atm-vcm-oper-sub4 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Class-link-oam-inherit-level { + type enumeration { + enum "vc-configured-onvc" { + value 0; + description + "Configured on VC"; + } + enum "vc-class-onvc" { + value 1; + description + "Class on VC"; + } + enum "vc-class-on-sub-interface" { + value 2; + description + "Class on sub-if"; + } + enum "vc-class-on-main-interface" { + value 3; + description + "Class on main-if"; + } + enum "vc-global-default" { + value 4; + description + "Global default values"; + } + enum "vc-inherit-level-unknown" { + value 5; + description + "Unknown (invalid)"; + } + } + description + "ATM VC-class inheritence level for class-link"; + } + + typedef Vc-manage-level { + type enumeration { + enum "manage" { + value 1; + description + "Managed"; + } + enum "not-managed" { + value 2; + description + "Not managed"; + } + } + description + "ATM Class link manage level"; + } + + grouping ATM-CLASS-LINK-OAM-AIS-RDI { + description + "ATM class link AIS/RDI information"; + leaf ais-rdi-up-count { + type uint32; + description + "AIS RDI up count"; + } + leaf ais-rdi-up-time { + type uint32; + units "second"; + description + "Time (in seconds) with no AIS/RDI cells before + declaring a VC as up"; + } + leaf ais-rdi-inherit-level { + type Class-link-oam-inherit-level; + description + "AIS RDI inherit level"; + } + } + + grouping ATM-CLASS-LINK-OAM-RETRY { + description + "ATM class link retry information"; + leaf retry-up-count { + type uint32; + description + "Retry Count"; + } + leaf down-count { + type uint32; + description + "Down Count"; + } + leaf retry-frequency { + type uint32; + description + "Retry frequency"; + } + leaf retry-inherit-level { + type Class-link-oam-inherit-level; + description + "Retry inherit level"; + } + } + + grouping ATM-CLASS-LINK-OAM-PVC { + description + "ATM class link PVC information"; + leaf manage-level { + type Vc-manage-level; + description + "Manage Level"; + } + leaf pvc-frequency { + type uint32; + description + "PVC Frequency"; + } + leaf keep-vc-up { + type boolean; + description + "Keep vc up"; + } + leaf ais-rdi-failure { + type boolean; + description + "AIS RDI failure"; + } + leaf manage-inherit-level { + type Class-link-oam-inherit-level; + description + "Manage inherit level"; + } + } + + grouping ATM-CLASS-LINK-ENCAPSULATION { + description + "ATM class link encapsulation information"; + leaf encapsulation-type { + type Vc-encap; + description + "Encapsulation type"; + } + leaf encapsulation-inherit-level { + type Vc-inherit-level; + description + "Encapsulation inherit level"; + } + } + + grouping ATM-CLASS-LINK-SHAPING { + description + "ATM class link shaping information"; + leaf shaping-type { + type Vc-traf-shaping; + description + "ATM VC traffic shaping type"; + } + leaf peak-output-rate { + type uint32; + units "kbit/s"; + description + "Peak output rate in Kbps"; + } + leaf average-output-rate { + type uint32; + description + "Average output rate"; + } + leaf burst-output-rate { + type uint32; + description + "Burst output rate"; + } + leaf shaping-inherit-level { + type Vc-inherit-level; + description + "Shaping inherit level"; + } + } + + grouping ATM-CLASS-LINK-OAM { + description + "ATM class link oam information"; + container class-link-shaping { + description + "Traffic Shaping detail of VC class"; + uses ATM-CLASS-LINK-SHAPING; + } + container class-link-encapsulation { + description + "Encapsulation details of VC class"; + uses ATM-CLASS-LINK-ENCAPSULATION; + } + container oam-pvc { + description + "OAM PVC details of VC class"; + uses ATM-CLASS-LINK-OAM-PVC; + } + container oam-retry { + description + "OAM Retry details of VC class"; + uses ATM-CLASS-LINK-OAM-RETRY; + } + container ais-rdi { + description + "AIS RDI details of a VC class"; + uses ATM-CLASS-LINK-OAM-AIS-RDI; + } + } + + grouping ATM-CLASS-LINK-NOT-SUPPORTED { + description + "ATM VC Class not supported information"; + leaf encapsulation-not-supported { + type Vc-encap; + description + "Encapsulation type not supported"; + } + leaf not-supported-inherit-level { + type Vc-inherit-level; + description + "NotSupportedInheritLevel"; + } + } + + grouping ATM-CLASS-LINK-VPI-VCI { + description + "ATM class link information"; + container vc-class-not-supported { + description + "Not supported VC class"; + uses ATM-CLASS-LINK-NOT-SUPPORTED; + } + container oam-config { + description + "Oam values for class link"; + uses ATM-CLASS-LINK-OAM; + } + leaf sub-interface-name { + type xr:Interface-name; + description + "Sub-interface handle"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub4.yang new file mode 100644 index 0000000..297b4d3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper-sub4.yang @@ -0,0 +1,502 @@ +submodule Cisco-IOS-XR-atm-vcm-oper-sub4 { + belongs-to Cisco-IOS-XR-atm-vcm-oper { + prefix Cisco-IOS-XR-atm-vcm-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vc-cell-packing-mode { + type enumeration { + enum "vp" { + value 1; + description + "VP mode"; + } + enum "vc" { + value 2; + description + "VC mode"; + } + enum "port-mode" { + value 3; + description + "Port mode"; + } + } + description + "ATM VC cell packing mode"; + } + + typedef Vc-test-mode { + type enumeration { + enum "test-mode-none" { + value 1; + description + "VC not in test mode"; + } + enum "loop" { + value 2; + description + "VC in test mode Loop"; + } + enum "reserved" { + value 3; + description + "VC in test mode Reserved"; + } + } + description + "VC Test Mode Type"; + } + + typedef Vc-state { + type enumeration { + enum "initialized" { + value 0; + description + "ATM VC State: only VC data structure + initialized "; + } + enum "modifying" { + value 1; + description + "ATM VC State: configuration currently being + changed"; + } + enum "modified" { + value 2; + description + "ATM VC State: configuration changed "; + } + enum "activating" { + value 3; + description + "ATM VC State: command sent to hardware to + activate "; + } + enum "activated" { + value 4; + description + "ATM VC State: activated in h/w or protocol "; + } + enum "not-verified" { + value 5; + description + "ATM VC State: OAM/ILMI - yet to verify "; + } + enum "ready" { + value 6; + description + "ATM VC State: Ready state "; + } + enum "deactivating" { + value 7; + description + "ATM VC State: command sent to h/w to deactivate"; + } + enum "inactive" { + value 8; + description + "ATM VC State: inactive/not present in hardware "; + } + enum "deleting" { + value 9; + description + "ATM VC State: VC is being deleted "; + } + enum "deleted" { + value 10; + description + "ATM VC State: VC is already delete in hardware "; + } + enum "state-unknown" { + value 11; + description + "ATM VC State: Unknown(invalid)"; + } + } + description + "VC State"; + } + + typedef Vc-inherit-level { + type enumeration { + enum "directly-configured-onvc" { + value 0; + description + "ATM vc-class inherit level: Config of VC"; + } + enum "vc-class-configured-onvc" { + value 1; + description + "ATM vc-class inherit level: Class of VC"; + } + enum "vc-class-configured-on-sub-interface" { + value 2; + description + "ATM vc-class inherit level: Class of Sub-if"; + } + enum "vc-class-configured-on-main-interface" { + value 3; + description + "ATM vc-class inherit level: Class of Main-if"; + } + enum "global-default" { + value 4; + description + "ATM vc-class inherit level: Global Default"; + } + enum "unknown" { + value 5; + description + "ATM vc-class inherit level: Unknown (invalid)"; + } + enum "not-supported" { + value 6; + description + "ATM vc-class inherit level: Not supported on + this VC class"; + } + } + description + "ATM vc-class inheritence level"; + } + + typedef Vc-traf-shaping { + type enumeration { + enum "cbr" { + value 1; + description + "VC traffic shaping type CBR"; + } + enum "vbr-nrt" { + value 2; + description + "VC traffic shaping type VBR-NR"; + } + enum "vbr-rt" { + value 3; + description + "VC traffic shaping type VBR-RT"; + } + enum "abr" { + value 4; + description + "VC traffic shaping type ABR"; + } + enum "ubr-plus" { + value 5; + description + "VC traffic shaping type UBR+"; + } + enum "ubr" { + value 6; + description + "VC traffic shaping type UBR"; + } + enum "traf-shaping-unknown" { + value 7; + description + "VC traffic shaping type Unknown (invalid)"; + } + } + description + "VC traffic shaping type"; + } + + typedef Vc-encap { + type enumeration { + enum "ilmi" { + value 1; + description + "ILMI Encapsulation"; + } + enum "qsaal" { + value 2; + description + "QSAAL Encapsulation"; + } + enum "snap" { + value 3; + description + "SNAP Encapsulation"; + } + enum "mux" { + value 4; + description + "MUX Encapsulation"; + } + enum "nlpid" { + value 5; + description + "NLPID Encapsulation"; + } + enum "f4oam" { + value 6; + description + "F4OAM Encapsulation"; + } + enum "aal0" { + value 7; + description + "AAL0 Encapsulation"; + } + enum "aal5" { + value 8; + description + "AAL5 Encapsulation"; + } + enum "encap-unknown" { + value 9; + description + "Uknown (invalid) Encapsulation"; + } + } + description + "VC Encapsulation Type"; + } + + typedef Vc { + type enumeration { + enum "layer3-vc" { + value 0; + description + " ATM Layer 3 VC type"; + } + enum "layer2-vc" { + value 1; + description + " ATM Layer 2 VC type"; + } + enum "layer2-vp" { + value 2; + description + " ATM Layer 2 VP type"; + } + enum "vc-type-unknown" { + value 3; + description + " ATM type unknown"; + } + } + description + " ATM VC type"; + } + + grouping ATM-CELL-PACKING-DATA { + description + "ATM cell packing data"; + container cell-packing { + description + "Cell packing specific data"; + uses ATM-VCM-CELL-PACKING-INFO; + } + leaf sub-interface-name { + type xr:Interface-name; + description + "Sub-interface name"; + } + leaf cell-packing-mode { + type Vc-cell-packing-mode; + description + "ATM cell packing mode"; + } + leaf vpi { + type uint32; + description + "VPI"; + } + leaf vci { + type uint32; + description + "VCI"; + } + leaf received-average-cells-packets { + type uint64; + description + "Average cells/packets received"; + } + leaf sent-cells-packets { + type uint64; + description + "Average cells/packets sent"; + } + } + + grouping ATM-VCM-CELL-PACKING-INFO { + description + "ATM Layer 2 VC specific information"; + leaf local-max-cells-packed-per-packet { + type uint16; + description + "Local configuration of maximum number of cells + to be packed per packet"; + } + leaf negotiated-max-cells-packed-per-packet { + type uint16; + description + "Negotiated value of maximum number of cells to + be packed per packed"; + } + leaf max-cell-packed-timeout { + type uint16; + units "microsecond"; + description + "Maximum cell packing timeout inmicro seconds"; + } + } + + grouping ATM-VCM-VC { + description + "ATM VC data"; + container cell-packing-data { + description + "Cell packing specific data"; + uses ATM-VCM-CELL-PACKING-INFO; + } + leaf main-interface { + type xr:Interface-name; + description + "Main Interface handle"; + } + leaf sub-interface { + type xr:Interface-name; + description + "Subinterface handle"; + } + leaf vc-interface { + type xr:Interface-name; + description + "VC Interfcace handle"; + } + leaf vpi-xr { + type uint16; + description + "VC VPI value"; + } + leaf vci-xr { + type uint16; + description + "VC VCI value"; + } + leaf type { + type Vc; + description + "VC Type"; + } + leaf encapsulation { + type Vc-encap; + description + "Encapsulation type"; + } + leaf shape { + type Vc-traf-shaping; + description + "ATM VC traffic shaping type"; + } + leaf peak-cell-rate { + type uint32; + units "kbit/s"; + description + "Peak cell rate in Kbps"; + } + leaf sustained-cell-rate { + type uint32; + units "kbit/s"; + description + "Sustained cell rate in Kbps"; + } + leaf burst-rate { + type uint32; + description + "Burst size in cells"; + } + leaf encaps-inherit-level { + type Vc-inherit-level; + description + "Encapsulation inherit level - identifies if + encapsulation is set to default, configured on + the VC, or inherited from the vcclass."; + } + leaf qos-inherit-level { + type Vc-inherit-level; + description + "Quality of Service inherit level - identifies if + QoS is set to default, configured on the VC, or + inherited from the vcclass."; + } + leaf transmit-mtu { + type uint32; + description + "Transmit MTU"; + } + leaf receive-mtu { + type uint32; + description + "Receive MTU"; + } + leaf vc-onvp-tunnel { + type boolean; + description + "VC on VP-tunnel flag"; + } + leaf vc-on-p2p-sub-interface { + type boolean; + description + "VC on Point-to-point Sub-interface"; + } + leaf oper-status { + type boolean; + description + "TRUE value indicates that the VC is + operationally UP"; + } + leaf amin-status { + type boolean; + description + "TRUE value indicates that the VC is + administratively UP"; + } + leaf internal-state { + type Vc-state; + description + "VC Internal state"; + } + leaf last-state-change-time { + type uint32; + description + "Time when VC was last changed"; + } + leaf test-mode { + type Vc-test-mode; + description + "VC test mode"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper.yang new file mode 100644 index 0000000..79eac7e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-atm-vcm-oper.yang @@ -0,0 +1,207 @@ +module Cisco-IOS-XR-atm-vcm-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-oper"; + prefix atm-vcm-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-atm-common-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-atm-vcm-oper-sub4 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-atm-vcm-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-atm-vcm-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-atm-vcm-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR atm-vcm package operational data. + + This module contains definitions + for the following management objects: + atm-vcm: ATM VCM operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Atm-pvc-vpi-range { + type uint32 { + range "0..4095"; + } + description + "Atm pvc vpi range"; + } + + typedef Atm-pvc-vci-range { + type uint32 { + range "1..65535"; + } + description + "Atm pvc vci range"; + } + + container atm-vcm { + config false; + description + "ATM VCM operational data"; + container nodes { + description + "Contains all the nodes"; + list node { + key "node-name"; + description + "The node on which ATM Interfaces/VCs/VPs are + located"; + container vcs { + description + "Contains all VC information for node"; + list vc { + key "interface-name"; + description + "All VC information on a node"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf vpi { + type Atm-pvc-vpi-range; + description + "VPI"; + } + leaf vci { + type Atm-pvc-vci-range; + description + "VCI"; + } + uses ATM-VCM-VC; + } + } + container cell-packs { + description + "Contains all cell packing information for node"; + list cell-pack { + description + "All cell packing information on a node"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf pci { + type int32; + description + "PCI"; + } + uses ATM-CELL-PACKING-DATA; + } + } + container pvps { + description + "Contains all L2 PVP information for node"; + list pvp { + key "interface-name"; + description + "All L2 PVP information on a node"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf vpi { + type int32; + description + "VPI"; + } + uses ATM-VCM-VC; + } + } + container class-links { + description + "Contains all class link information for node"; + list class-link { + key "vpi"; + description + "All ATM VC information on a node"; + leaf vpi { + type int32; + description + "VPI"; + } + leaf vci { + type int32; + description + "VCI"; + } + uses ATM-CLASS-LINK-VPI-VCI; + } + } + container interfaces { + description + "Contains all Interface information for node"; + list interface { + key "interface-name"; + description + "ATM Interface data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ATM-VCM-IF; + } + } + container vp-tunnels { + description + "Contains all VP-tunnel information for node"; + list vp-tunnel { + key "interface-name"; + description + "All VP-tunnel information on a node"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf vpi { + type int32; + description + "VPI"; + } + uses ATM-VCM-VP; + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-cfg.yang new file mode 100644 index 0000000..c6e07f7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-cfg.yang @@ -0,0 +1,859 @@ +module Cisco-IOS-XR-bundlemgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-cfg"; + prefix bundlemgr-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-rgmgr-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR bundlemgr package configuration. + + This module contains definitions + for the following management objects: + lacp: Link Aggregation Control Protocol commands + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-rgmgr-cfg, + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-16 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bfd-mode { + type enumeration { + enum "no-cfg" { + value 0; + description + "BFD mode not configured on per-bundle basis"; + } + enum "cisco" { + value 1; + description + "BFD mode Cisco"; + } + enum "ietf" { + value 2; + description + "BFD mode IETF"; + } + } + description + "Bfd mode"; + } + + typedef Churn-logging { + type enumeration { + enum "actor" { + value 1; + description + "Logging for actor churn only"; + } + enum "partner" { + value 2; + description + "Logging for partner churn only"; + } + enum "both" { + value 3; + description + "Logging for actor and partner churn"; + } + } + description + "Churn logging"; + } + + typedef Bundle-mode { + type enumeration { + enum "on" { + value 0; + description + "On"; + } + enum "active" { + value 1; + description + "Active"; + } + enum "passive" { + value 2; + description + "Passive"; + } + } + description + "Bundle mode"; + } + + typedef Bundle-minimum-bandwidth-range { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "kbps" { + value 1; + description + "kbps"; + } + enum "mbps" { + value 2; + description + "mbps"; + } + enum "gbps" { + value 3; + description + "gbps"; + } + } + description + "Bundle minimum bandwidth range"; + } + + typedef Period-short-enum { + type union { + type enumeration { + enum "true" { + value 1; + description + "Use the standard LACP short period (1s)"; + } + } + type uint32 { + range "1..1000"; + } + } + description + "Period short enum"; + } + + typedef Bundle-cisco-ext-types { + type enumeration { + enum "lon-signaling-off" { + value 0; + description + "LON signaling disabled"; + } + enum "lon-signaling-on" { + value 1; + description + "LON signaling enabled"; + } + } + description + "Bundle cisco ext types"; + } + + typedef Bundle-cisco-ext { + type empty; + description + "Cisco extensions enabled"; + } + + typedef Bundle-maximum-active-links-mode { + type enumeration { + enum "default" { + value 0; + description + "Default"; + } + enum "hot-standby" { + value 1; + description + "Hot standby"; + } + } + description + "Bundle maximum active links mode"; + } + + typedef Mlacp-switchover { + type enumeration { + enum "brute-force" { + value 1; + description + "Brute force shutdown"; + } + enum "revertive" { + value 2; + description + "Revertive behavior"; + } + } + description + "Mlacp switchover"; + } + + typedef Bundle-load-balance { + type enumeration { + enum "default" { + value 0; + description + "Default hash function used"; + } + enum "efp-auto" { + value 1; + description + "Send all traffic for this EFP over an + automatically selected member"; + } + enum "efp-value" { + value 2; + description + "Send all traffic for this EFP over the member + corresponding to the specified hash function"; + } + enum "source-ip" { + value 3; + description + "Load balance according to source IP address"; + } + enum "destination-ip" { + value 4; + description + "Load balance according to detination IP address"; + } + } + description + "Bundle load balance"; + } + + typedef Bundle-port-activity { + type enumeration { + enum "on" { + value 1; + description + "On"; + } + enum "active" { + value 2; + description + "Active"; + } + enum "passive" { + value 3; + description + "Passive"; + } + enum "inherit" { + value 4; + description + "Inherit"; + } + } + description + "Bundle port activity"; + } + + typedef Mlacp-maximize-parameter { + type enumeration { + enum "links" { + value 1; + description + "Maximize the number of operational links"; + } + enum "bandwidth" { + value 2; + description + "Maximize the operational bandwidth"; + } + } + description + "Mlacp maximize parameter"; + } + + typedef Bundle-period { + type union { + type enumeration { + enum "true" { + value 1; + description + "Use the standard LACP short period (1s)"; + } + } + type uint32 { + range "1..1000"; + } + } + description + "Bundle period"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container bfd { + description + "BFD over bundle members configuration"; + container address-family { + description + "Configuration of BFDoBM for all address + families"; + container ipv6 { + description + "Configuration of BFDoBM for IPv6 address + family"; + container ipv6-timers { + description + "Timers associated with BFDoBM"; + leaf ipv6-nbor-unconfig-timer { + type uint32 { + range "60..3600"; + } + description + "IPv6 Timer associated with aggressiveness on + BFD session peer being unconfigured"; + } + leaf ipv6-start-timer { + type uint32 { + range "60..3600"; + } + description + "IPv6 Timer associated with aggressiveness on + BFD session creation"; + } + } + leaf ipv6-destination-address { + type string; + description + "IPv6 Destination address for BFD sessions + created by bundlemgr"; + } + leaf ipv6-detection-multiplier { + type uint32 { + range "2..50"; + } + description + "IPv6 Detection multiplier for BFD sessions + created by bundlemgr"; + } + leaf ipv6-fast-detect { + type empty; + description + "Configure to enable BFD over bundle members"; + } + leaf ipv6-interval { + type uint32 { + range "3..30000"; + } + description + "IPV6 Hello interval for BFD sessions created + by bundlemgr"; + } + } + container ipv4 { + description + "Configuration of BFDoBM for IPv4 address + family"; + container echo { + description + "Container for Echo min-multiplier"; + leaf min-interval { + type uint32 { + range "15..2000"; + } + description + "Configure echo min-interval for bundle + interface"; + } + } + container timers { + description + "Timers associated with BFDoBM"; + leaf nbor-unconfig-timer { + type uint32 { + range "60..3600"; + } + description + "Timer associated with aggressiveness on BFD + session peer being unconfigured"; + } + leaf start-timer { + type uint32 { + range "60..3600"; + } + description + "Timer associated with aggressiveness on BFD + session creation"; + } + } + leaf interval { + type uint32 { + range "3..30000"; + } + description + "Hello interval for BFD sessions created by + bundlemgr"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions created + by bundlemgr"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination address for BFD sessions created + by bundlemgr"; + } + leaf fast-detect { + type empty; + description + "Configure to enable BFD over bundle members"; + } + } + } + leaf mode { + type Bfd-mode; + default "no-cfg"; + description + "Configuration of BFDoBM mode [cisco|ietf]"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container bundle { + description + "Generic per-bundle configuration"; + container bundle-load-balancing { + description + "Load-balance configuration"; + container hash-function { + presence "Indicates a hash-function node is configured."; + description + "Enable loadbalancing on this Bundle / EFP"; + leaf hash-type { + type Bundle-load-balance; + mandatory true; + description + "The specified hash function to use"; + } + leaf hash-value { + type uint32 { + range "1..64"; + } + mandatory true; + description + "The loadbalance hash value selected. For + non-EFP Value methods, this value must be set + to 1."; + } + } + leaf localize-links { + type uint32 { + range "1..64"; + } + description + "Set thresholds for forwarding bundle traffic + within a rack"; + } + } + container minimum-active { + description + "Minimum criteria for a bundle to be active"; + container bandwidth { + presence "Indicates a bandwidth node is configured."; + description + "Bandwidth (in kbps) needed to bring up a + bundle"; + leaf min-bandwidth-range { + type Bundle-minimum-bandwidth-range; + mandatory true; + description + "Minimum Bandwidth Range"; + } + leaf bandwidth { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Bandwidth"; + } + } + leaf links { + type uint32 { + range "1..64"; + } + default "1"; + description + "Number of active links needed to bring up a + bundle"; + } + } + container maximum-active { + description + "Set a limit on the number of links that can be + active"; + container links { + presence "Indicates a links node is configured."; + description + "Maximum number of active links in a bundle"; + leaf links { + type uint32 { + range "1..64"; + } + mandatory true; + description + "Number of active links"; + } + leaf max-active-links-mode { + type Bundle-maximum-active-links-mode; + description + "Maximum active links mode"; + } + } + } + leaf lacp-delay { + type uint32 { + range "1000..15000"; + } + description + "Set the lacp-delay timeout for members of this + bundle"; + } + leaf shutdown { + type empty; + description + "Deactivate all member links (down to Standby + state)"; + } + leaf wait-while { + type uint32 { + range "0..2000"; + } + default "2000"; + description + "Set the wait-while timeout for members of this + bundle"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container lacp { + description + "Link Aggregation Control Protocol per-interface + configuration (for bundle or member)"; + container cisco-extensions { + presence "Indicates a cisco-extensions node is configured."; + description + "Enable bundle Cisco extensions"; + leaf cisco-ext { + type Bundle-cisco-ext; + mandatory true; + description + "Cisco extensions"; + } + leaf cisco-ext-type { + type Bundle-cisco-ext-types; + description + "Specific Cisco extension to enable / disable"; + } + } + container timeout { + description + "Set timeout values for LACP-related timers"; + leaf rx-default { + type uint32 { + range "0..3000"; + } + description + "Set the timeout between expired and defaulted + states"; + } + leaf actor-churn { + type uint32 { + range "0..120"; + } + description + "The time in milliseconds for which to run the + timer"; + } + leaf partner-churn { + type uint32 { + range "0..120"; + } + description + "Set the timeout to use before declaring + partner churn"; + } + } + leaf system-priority { + type uint32 { + range "1..65535"; + } + description + "System priority for this bundle. Lower value is + higher priority."; + } + leaf period { + type Bundle-period; + description + "Lacp period for the bundle."; + } + leaf collector-max-delay { + type uint32 { + range "0..65535"; + } + description + "Collector Max Delay value to signal to the LACP + partner"; + } + leaf lacp-nonrevertive { + type empty; + description + "Configure to enable lacp non-revertive mode"; + } + leaf mode { + type Bundle-mode; + description + "Lacp mode for the bundle."; + } + leaf fast-switchover { + type empty; + description + "Configure to enable the fast-switchover mode"; + } + leaf suppress-flaps { + type uint32 { + range "100..65535"; + } + description + "Suppress flaps on switchover for the specified + period (in ms)"; + } + leaf system-mac { + type yang:mac-address; + description + "System identifier for this bundle."; + } + leaf period-short { + type Period-short-enum; + units "millisecond"; + description + "LACP period to request from the partner (LACP + standard short period, or rate in milliseconds + for use with Cisco-specific extensions). + Default is LACP standard long period (30s)."; + } + leaf churn-logging { + type Churn-logging; + description + "Log churn notifications on the specified + system(s)"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container bundle-member { + description + "Generic per-member configuration"; + container id { + description + "Add the port to an aggregated interface."; + leaf bundle-id { + type uint32 { + range "1..65535"; + } + description + "Identifier of the bundle to add the port to."; + } + leaf port-activity { + type Bundle-port-activity; + description + "Port Activity"; + } + } + leaf port-priority { + type xr:Cisco-ios-xr-port-number; + default "32768"; + description + "Priority for this port. Lower value is higher + priority."; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container mlacp { + description + "Multi-chassis LACP configuration"; + container maximize { + presence "Indicates a maximize node is configured."; + description + "Set parameters to maximize between the mLACP + peers"; + leaf maximize-by { + type Mlacp-maximize-parameter; + mandatory true; + description + "The paramenter which should be maximized"; + } + leaf link-threshold { + type uint32 { + range "0..64"; + } + description + "The number of links below which to switch to + the peer if it has more links available. Only + applicable if maximizing by links. If 0, no + threshold is applied."; + } + leaf bandwidth-threshold { + type uint32 { + range "0..4294967295"; + } + description + "The bandwidth (in kbps) below which to switch + to the peer if it has more bandwidth available + . Only applicable if maximizing by bandwidth. + If 0, no threshold is applied."; + } + } + leaf port-priority { + type xr:Cisco-ios-xr-port-number; + default "32768"; + description + "The LACP port priority (lower value is higher + priority)"; + } + leaf recovery-delay { + type uint32 { + range "0..65535"; + } + default "300"; + description + "Set the delay before the bundle becomes active + after recovery from failure"; + } + leaf switchover-type { + type Mlacp-switchover; + description + "Set the type of mLACP switchover to use for + this bundle"; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "Specify an ICCP Group in which this bundle + should operate"; + } + } + } + augment "/a2:redundancy-group-manager/a2:iccp/a2:iccp-groups/a2:iccp-group" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-rgmgr-cfg'"; + container mlacp { + description + "Multi-chassis Link Aggregation Control Protocol + commands"; + leaf connect-timeout { + type uint32 { + range "0..65534"; + } + description + "Number of seconds to wait before assuming mLACP + peer is down."; + } + leaf system-mac { + type yang:mac-address; + description + "Unique LACP identifier for this system."; + } + leaf node { + type uint32 { + range "0..7"; + } + description + "Unique identifier for this system in the ICCP + Group."; + } + leaf system-priority { + type uint32 { + range "1..65535"; + } + description + "Priority for this system. Lower value is higher + priority."; + } + } + } + container lacp { + description + "Link Aggregation Control Protocol commands"; + leaf system-mac { + type yang:mac-address; + description + "Unique identifier for this system."; + } + leaf system-priority { + type uint32 { + range "1..65535"; + } + default "32768"; + description + "Priority for this system. Lower value is higher + priority."; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub1.yang new file mode 100644 index 0000000..2a75ba9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub1.yang @@ -0,0 +1,280 @@ +submodule Cisco-IOS-XR-bundlemgr-oper-sub1 { + belongs-to Cisco-IOS-XR-bundlemgr-oper { + prefix Cisco-IOS-XR-bundlemgr-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR bundlemgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-22 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bundle-media1 { + type enumeration { + enum "ethernet" { + value 0; + description + "Ethernet"; + } + enum "pos" { + value 1; + description + "POS"; + } + } + description + "Bundle media1"; + } + + typedef Load-balance { + type enumeration { + enum "default" { + value 0; + description + "Default"; + } + enum "auto" { + value 1; + description + "Auto"; + } + enum "value" { + value 2; + description + "Value"; + } + enum "source-ip" { + value 3; + description + "Source IP"; + } + enum "destination-ip" { + value 4; + description + "Destination IP"; + } + enum "unknown" { + value 5; + description + "Unknown"; + } + } + description + "Load balance"; + } + + typedef Bundle-media { + type enumeration { + enum "bundle-media-ethernet" { + value 0; + description + "bundle media ethernet"; + } + enum "bundle-media-pos" { + value 1; + description + "bundle media pos"; + } + enum "bundle-media-count" { + value 2; + description + "bundle media count"; + } + } + description + "Bundle media"; + } + + typedef Bundle-mlacp-mode { + type enumeration { + enum "bundle-mlacp-mode-standby" { + value 0; + description + "bundle mlacp mode standby"; + } + enum "bundle-mlacp-mode-active" { + value 1; + description + "bundle mlacp mode active"; + } + enum "bundle-mlacp-mode-count" { + value 2; + description + "bundle mlacp mode count"; + } + } + description + "Bundle mlacp mode"; + } + + grouping BMA-MEMBER-ITEM { + description + "BMA MEMBER ITEM"; + leaf interface-name { + type xr:Interface-name; + description + "Member interface"; + } + leaf link-id { + type uint8; + description + "Member's link ID in database"; + } + leaf link-order-number { + type uint8; + description + "Member's link order number in database"; + } + leaf bandwidth { + type uint8; + description + "Member's relative bandwidth"; + } + } + + grouping BMA-BUNDLE-DATA { + description + "Adjacency info for a single bundle"; + container brief { + description + "Brief bundle data"; + uses BMA-BRIEF-ITEM; + } + container load-balance-data { + description + "Load Balance data"; + uses BMA-LOAD-BALANCE-DATA; + } + leaf media { + type Bundle-media1; + description + "Media type of bundle"; + } + leaf max-member-count { + type uint32; + description + "Maximum number of members for the bundle"; + } + leaf avoid-rebalance { + type boolean; + description + "Avoid rebalancing traffic flows"; + } + list member { + description + "Members of the bundle"; + uses BMA-MEMBER-ITEM; + } + list sub-interface { + description + "Sub-interfaces of the bundle"; + uses BMA-SUBINTF-ITEM; + } + } + + grouping BMA-LOAD-BALANCE-DATA { + description + "Load balance settings on a bundle"; + leaf type { + type Load-balance; + description + "Type of load balancing to use"; + } + leaf value { + type uint32; + description + "Load balance hash value"; + } + leaf local-link-threshold { + type uint32; + description + "Threshold below which rack-local balancing is + disabled"; + } + } + + grouping BMA-SUBINTF-ITEM { + description + "BMA SUBINTF ITEM"; + container load-balance-data { + description + "Load balance data"; + uses BMA-LOAD-BALANCE-DATA; + } + leaf interface-name { + type xr:Interface-name; + description + "Sub interface"; + } + } + + grouping BMA-BRIEF-ITEM { + description + "Brief information for a single bundle"; + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface"; + } + leaf sub-interface-count { + type uint32; + description + "Number of sub-interfaces on the bundle"; + } + leaf member-count { + type uint32; + description + "Number of members configured to the bundle"; + } + leaf total-weight { + type uint32; + description + "Total weighting (relative bandwidth) of bundle"; + } + list sub-interface { + description + "Sub-interfaces of the bundle"; + uses BMA-SUBINTF-ITEM; + } + } + + grouping BMA-BRIEF-DATA { + description + "BMA BRIEF DATA"; + list bundle-data { + description + "Data for all bundles on node"; + uses BMA-BRIEF-ITEM; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub2.yang new file mode 100644 index 0000000..b0cb555 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper-sub2.yang @@ -0,0 +1,3834 @@ +submodule Cisco-IOS-XR-bundlemgr-oper-sub2 { + belongs-to Cisco-IOS-XR-bundlemgr-oper { + prefix Cisco-IOS-XR-bundlemgr-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-bundlemgr-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR bundlemgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-22 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bml-timestamp { + type uint64; + description + "Bml timestamp"; + } + + typedef Bmd-mlacp-mbr-state-enum { + type enumeration { + enum "mbr-state-nak" { + description + "Member info NAK'd"; + } + enum "mbr-state-unknown" { + description + "No member state TLV received"; + } + enum "mbr-state-up" { + description + "Member is up"; + } + enum "mbr-state-down" { + description + "Member is down"; + } + enum "mbr-state-admin-down" { + description + "Member is admin down"; + } + enum "mbr-state-test" { + description + "Member state TLV reported test"; + } + enum "mbr-state-error" { + description + "Member state TLV reported error"; + } + } + description + "State of an mLACP device"; + } + + typedef Bmd-mlacp-bdl-state-enum { + type enumeration { + enum "bdl-state-nak" { + description + "Bundle info NAK'd"; + } + enum "bdl-state-unknown" { + description + "No bundle state TLV received"; + } + enum "bdl-state-no-sync" { + description + "No bundle config TLV with sync bit set received"; + } + enum "bdl-state-rec-delay" { + description + "Revertive delay timer running"; + } + enum "bdl-state-up" { + description + "Bundle is up"; + } + enum "bdl-state-down" { + description + "Bundle is down"; + } + enum "bdl-state-admin-down" { + description + "Bundle is admin down"; + } + enum "bdl-state-test" { + description + "Bundle state TLV reported test"; + } + enum "bdl-state-error" { + description + "Bundle state TLV reported error"; + } + } + description + "State of an mLACP device"; + } + + typedef Bmd-mlacp-node-sync-enum { + type enumeration { + enum "node-sync-req" { + description + "Sync requested of device"; + } + enum "node-sync-done" { + description + "Sync performed by device"; + } + enum "node-sync-start" { + description + "Sync in progress from device"; + } + enum "node-sync-init" { + description + "Initial sync pending from device"; + } + enum "node-sync-singleton" { + description + "Sync not required for singleton groups"; + } + } + description + "Synchronization states of an mLACP device"; + } + + typedef Bmd-mlacp-node-state-enum { + type enumeration { + enum "node-state-incomplete" { + description + "Missing some mLACP IG config"; + } + enum "node-state-conn-rejected" { + description + "Connection rejected by peer"; + } + enum "node-state-connect-sent" { + description + "Connect timer running"; + } + enum "node-state-unconfigured" { + description + "Missing some ICCP IG config"; + } + enum "node-state-unreachable" { + description + "ICCP declared peer node unreachable"; + } + enum "node-state-iccp-down" { + description + "ICCP declared peer node down"; + } + enum "node-state-nak" { + description + "System info NAK'd"; + } + enum "node-state-unknown" { + description + "No system state TLV received"; + } + enum "node-state-mlacp-down" { + description + "System state TLV reported down"; + } + enum "node-state-admin-down" { + description + "System state TLV reported admin down"; + } + enum "node-state-pe-isolated" { + description + "System is isolated from core network"; + } + enum "node-state-error" { + description + "System state TLV reported error"; + } + enum "node-state-test" { + description + "System state TLV reported test"; + } + enum "node-state-up" { + description + "System is up"; + } + } + description + "State of an mLACP device"; + } + + typedef Bmd-node-ldp-id { + type Bm-in4-addr; + description + "Bmd node ldp id"; + } + + typedef Lacp-churnstates { + type enumeration { + enum "no-churn" { + value 1; + description + "The port is synchronized correctly"; + } + enum "churn" { + value 2; + description + "The port is OutOfSync and the churn timer has + expired"; + } + enum "churn-monitor" { + value 3; + description + "The port is OutOfSync but the churn timer has + not expired"; + } + } + description + "Lacp churnstates"; + } + + typedef Rxstates { + type enumeration { + enum "current-rx" { + value 1; + description + "current rx"; + } + enum "expired" { + value 2; + description + "expired"; + } + enum "defaulted" { + value 3; + description + "defaulted"; + } + enum "initialize" { + value 4; + description + "initialize"; + } + enum "lacp-disabled" { + value 5; + description + "lacp disabled"; + } + enum "port-disabled" { + value 6; + description + "port disabled"; + } + } + description + "Rxstates"; + } + + typedef Lacp-period-state { + type enumeration { + enum "period-s-low" { + description + "Packets are being sent using a long period"; + } + enum "period-fast" { + description + "Packets are being sent using a short period"; + } + enum "period-none" { + description + "Packets are not being sent"; + } + } + description + "Lacp period state"; + } + + typedef Lacp-sel-state { + type enumeration { + enum "unselected" { + description + "The link is Unselected"; + } + enum "standby" { + description + "The link is Standby"; + } + enum "selected" { + description + "The link is Selected"; + } + } + description + "Lacp sel state"; + } + + typedef Bm-link-period-value { + type uint32; + description + "Bm link period value"; + } + + typedef Bm-link-state-bits { + type uint8; + description + "Bm link state bits"; + } + + typedef Bm-link-number { + type uint16; + description + "Bm link number"; + } + + typedef Bm-bdl-id { + type uint16; + description + "Bm bdl id"; + } + + typedef Bmd-bag-event-rg-item { + type enumeration { + enum "bmd-event-rg-idb-create" { + description + "RG structure created"; + } + enum "bmd-event-rg-configured" { + description + "RG configured by user"; + } + enum "bmd-event-rg-user-config" { + description + "User changed the configuration"; + } + enum "bmd-event-rg-connect-ion" { + description + "Connection to peer"; + } + enum "bmd-event-rg-data" { + description + "Data received"; + } + enum "bmd-event-rg-sync" { + description + "Sync performed"; + } + enum "bmd-event-rg-first-retry" { + description + "First retry"; + } + enum "bmd-event-rg-error" { + description + "Last error"; + } + enum "bmd-event-rg-mlacp-tlv" { + description + "mLACP TLV received"; + } + enum "bmd-event-rg-iccp-event" { + description + "ICCP event received"; + } + enum "bmd-event-rg-count" { + description + "Number of RG events"; + } + } + description + "Description of an event for a RG"; + } + + typedef Bmd-bag-event-bdl-item { + type enumeration { + enum "bmd-event-bdl-idb-create" { + description + "Bundle structure created"; + } + enum "bmd-event-bdl-configured" { + description + "Bundle configured by user"; + } + enum "bmd-event-bdl-im-state" { + description + "Bundle's IM state changed"; + } + enum "bmd-event-bdl-mbr-added" { + description + "Member added to the bundle"; + } + enum "bmd-event-bdl-mbr-deleted" { + description + "Member removed from the bundle"; + } + enum "bmd-event-bdl-mac-addr" { + description + "Bundle's MAC address changed"; + } + enum "bmd-event-bdl-first-retry" { + description + "First retry"; + } + enum "bmd-event-bdl-user-config" { + description + "User changed the configuration"; + } + enum "bmd-event-bdl-error" { + description + "Last error"; + } + enum "bmd-event-bdl-mlacp-tlv" { + description + "mLACP TLV received"; + } + enum "bmd-event-bdl-redundancy-role" { + description + "redundancy role change"; + } + enum "bdl-bfd-state-change" { + description + "BFD state change"; + } + enum "bmd-event-bdl-icl" { + description + "Inter-chassis link mode changed"; + } + enum "bmd-event-bdl-count" { + description + "Number of bundle events"; + } + } + description + "Description of an event for a bundle"; + } + + typedef Bmd-bag-item-string { + type string; + description + "Bmd bag item string"; + } + + typedef Bmd-bag-event-data { + type enumeration { + enum "bmd-bag-evt-data-none" { + description + "No additional data"; + } + enum "bmd-bag-evt-data-error" { + description + "Additional data is an error code"; + } + enum "bmd-bag-evt-data-string" { + description + "Additional data is a string"; + } + } + description + "Type of additional info for an event"; + } + + typedef Bmd-bag-event-mbr-item { + type enumeration { + enum "bmd-event-mbr-idb-create" { + description + "Member structure created"; + } + enum "bmd-event-mbr-bdl-add" { + description + "Added to bundle"; + } + enum "bmd-event-mbr-im-state" { + description + "Member's IM state changed"; + } + enum "bmd-event-mbr-sel-logic" { + description + "Sel logic state changed"; + } + enum "bmd-event-mbr-mux" { + description + "Mux state changed"; + } + enum "bmd-event-mbr-bfd" { + description + "BFD state changed"; + } + enum "bmd-event-mbr-expired" { + description + "Expired"; + } + enum "bmd-event-mbr-defaulted" { + description + "Defaulted"; + } + enum "bmd-event-mbr-first-retry" { + description + "First retry"; + } + enum "bmd-event-mbr-msg" { + description + "Message from BML"; + } + enum "bmd-event-mbr-error" { + description + "Last error"; + } + enum "bmd-event-mbr-mlacp-tlv" { + description + "mLACP TLV received"; + } + enum "bmd-event-mbr-redundancy-role" { + description + "redundancy role change"; + } + enum "bmd-event-mbr-count" { + description + "Number of member events"; + } + } + description + "Description of an event for a member"; + } + + typedef Bmd-bag-target { + type enumeration { + enum "bm-bag-target-mbr" { + description + "Information for a member"; + } + enum "bm-bag-target-bdl" { + description + "Information for a bundle"; + } + enum "bm-bag-target-node" { + description + "Information for a node"; + } + enum "bm-bag-target-rg" { + description + "Information for an RG"; + } + } + description + "Scope of information"; + } + + typedef Bmd-switch-reason { + type enumeration { + enum "bm-switch-reason-none" { + description + "Switch is permitted"; + } + enum "bm-switch-reason-noop" { + description + "Switch has no effect"; + } + enum "bm-switch-reason-not-mlacp" { + description + "mLACP not configured"; + } + enum "bm-switch-reason-revertive" { + description + "Brute-force or revertive switchover is in + effect"; + } + enum "bm-switch-reason-bdl-down" { + description + "Would-be active bundle is not ready"; + } + enum "bm-switch-reason-recovery" { + description + "Recovery delay in effect, applications may not + be fully synced"; + } + enum "bm-switch-reason-preceding-error" { + description + "Preceding switch action not viable"; + } + enum "bm-switch-reason-wrong-order" { + description + "Switch actions are scheduled incorrectly"; + } + enum "bm-switch-reason-singleton" { + description + "The ICCP group is operating in singleton mode"; + } + } + description + "Bmd switch reason"; + } + + typedef Bmd-bag-mlacp-sch-action-item { + type enumeration { + enum "switchover" { + description + "mLACP Switchover scheduled"; + } + enum "switchback" { + description + "mLACP Switchback scheduled"; + } + } + description + "Description of scheduled actions for a bundle"; + } + + typedef Bmd-member-type-enum { + type enumeration { + enum "bmd-mbr-local" { + value 0; + description + "Member has been configured on the local device"; + } + enum "bmd-mbr-foreign" { + value 1; + description + "Member has been configured on an mLACP peer + device"; + } + enum "bmd-mbr-unknown" { + value 2; + description + "Member's type is unknown"; + } + } + description + "Bmd member type enum"; + } + + typedef Bm-muxreason { + type enumeration { + enum "bm-mux-reason-no-reason" { + value 0; + description + "Selection logic has not yet been run for the + bundle this link is a member of"; + } + enum "bm-mux-reason-link-down" { + value 1; + description + "Link is down"; + } + enum "bm-mux-reason-link-deleted" { + value 2; + description + "Link is being removed from the bundle"; + } + enum "bm-mux-reason-duplex" { + value 3; + description + "Link has wrong duplexity"; + } + enum "bm-mux-reason-bandwidth" { + value 4; + description + "Link has wrong bandwidth"; + } + enum "bm-mux-reason-loop-back" { + value 5; + description + "Link is a loopback interface"; + } + enum "bm-mux-reason-activity-type" { + value 6; + description + "Link has wrong activity type"; + } + enum "bm-mux-reason-link-limit" { + value 7; + description + "Link's bundle already has maximum number of + members allowed"; + } + enum "bm-mux-reason-shared" { + value 8; + description + "Link is attached to a shared medium"; + } + enum "bm-mux-reason-lagid" { + value 9; + description + "Link has wrong LAG ID"; + } + enum "bm-mux-reason-no-bundle" { + value 10; + description + "Link's bundle does not exist"; + } + enum "bm-mux-reason-no-primary" { + value 11; + description + "Link's bundle has no primary link"; + } + enum "bm-mux-reason-bundle-down" { + value 12; + description + "Link's bundle is shut down"; + } + enum "bm-mux-reason-individual" { + value 13; + description + "Link is marked individual by partner"; + } + enum "bm-mux-reason-defaulted" { + value 14; + description + "Link is Defaulted, suggesting it is not + receiving LACPDUs from the peer"; + } + enum "bm-mux-reason-in-sync" { + value 15; + description + "Link is in InSync state"; + } + enum "bm-mux-reason-collecting" { + value 16; + description + "Link is in Collecting state"; + } + enum "bm-mux-reason-active-link-limit" { + value 17; + description + "Link exceeds maximum active limit"; + } + enum "bm-mux-reason-distributing" { + value 18; + description + "Link is in Distributing state"; + } + enum "bm-mux-reason-count" { + value 19; + description + "Enumeration maximum value"; + } + } + description + "Bm muxreason"; + } + + typedef Bmd-member-state { + type enumeration { + enum "bmd-mbr-state-configured" { + value 1; + description + "Member is configured"; + } + enum "bmd-mbr-state-standby" { + value 2; + description + "Member is standby"; + } + enum "bmd-mbr-state-hot-standby" { + value 3; + description + "Member is hot standby"; + } + enum "bmd-mbr-state-negotiating" { + value 4; + description + "Member is negotiating"; + } + enum "bmd-mbr-state-bfd-running" { + value 5; + description + "Member has a BFD session running"; + } + enum "bmd-mbr-state-active" { + value 6; + description + "Member is active"; + } + } + description + "Bmd member state"; + } + + typedef Bm-severity { + type enumeration { + enum "ok" { + value 0; + description + "OK"; + } + enum "information" { + value 1; + description + "Information"; + } + enum "misconfiguration" { + value 2; + description + "Misconfiguration"; + } + enum "warning" { + value 3; + description + "Warning"; + } + enum "error" { + value 5; + description + "Error"; + } + } + description + "Severity of the member state reason"; + } + + typedef Bm-state-reason-target { + type enumeration { + enum "member-reason" { + description + "Member applicable reason"; + } + enum "bundle-reason" { + description + "Bundle applicable reason"; + } + } + description + "Scope of the state reason"; + } + + typedef Bm-mbr-state-reason { + type enumeration { + enum "bm-mbr-state-reason-unknown" { + value 0; + description + "Reason unavailable (diagnostics error)"; + } + enum "bm-mbr-state-reason-unselectable-unknown" { + value 1; + description + "Link cannot be used (unknown reason)"; + } + enum "bm-mbr-state-reason-link-down" { + value 2; + description + "Link is down"; + } + enum "bm-mbr-state-reason-link-deleting" { + value 3; + description + "Link is being removed from the bundle"; + } + enum "bm-mbr-state-reason-creating" { + value 4; + description + "Link is in the process of being created"; + } + enum "bm-mbr-state-reason-bundle-creating" { + value 5; + description + "Bundle is in the process of being created"; + } + enum "bm-mbr-state-reason-bundle-deleting" { + value 6; + description + "Bundle is in the process of being deleted"; + } + enum "bm-mbr-state-reason-bundle-admin-down" { + value 7; + description + "Bundle has been shut down"; + } + enum "bm-mbr-state-reason-replicating" { + value 8; + description + "Bundle is in the process of being replicated to + this location"; + } + enum "bm-mbr-state-reason-bandwidth" { + value 9; + description + "Incompatible with other links in the bundle + (bandwidth out of range)"; + } + enum "bm-mbr-state-reason-loop-back" { + value 10; + description + "Loopback: Actor and Partner have the same + System ID and Key"; + } + enum "bm-mbr-state-reason-activity-type" { + value 11; + description + "Incompatible with other links in the bundle + (LACP vs non-LACP)"; + } + enum "bm-mbr-state-reason-bundle-shutdown" { + value 12; + description + "Bundle shutdown is configured for the bundle"; + } + enum "bm-mbr-state-reason-min-selected" { + value 13; + description + "Not enough links available to meet + minimum-active threshold"; + } + enum "bm-mbr-state-reason-max-selected" { + value 14; + description + "Link is Standby due to maximum-active links + configuration"; + } + enum "bm-mbr-state-reason-link-limit" { + value 15; + description + "Bundle has too many member links configured"; + } + enum "bm-mbr-state-reason-active-limit" { + value 16; + description + "Bundle has reached maximum supported number of + active links"; + } + enum "bm-mbr-state-reason-standby-unknown" { + value 17; + description + "Link is Standby (unknown reason)"; + } + enum "bm-mbr-state-reason-expired" { + value 18; + description + "Link is Expired; LACPDUs are not being received + from the partner"; + } + enum "bm-mbr-state-reason-defaulted" { + value 19; + description + "Link is Defaulted; LACPDUs are not being + received from the partner"; + } + enum "bm-mbr-state-reason-act-or-not-agg" { + value 20; + description + "Link is Not Aggregatable (unknown reason)"; + } + enum "bm-mbr-state-reason-partner-not-agg" { + value 21; + description + "Partner has marked the link as Not Aggregatable"; + } + enum "bm-mbr-state-reason-lagid" { + value 22; + description + "Partner System ID/Key do not match that of the + Selected links"; + } + enum "bm-mbr-state-reason-bundle-not-cfgd" { + value 23; + description + "Bundle interface is not present in + configuration"; + } + enum "bm-mbr-state-reason-bundle-not-ready" { + value 24; + description + "Wait-while timer is running"; + } + enum "bm-mbr-state-reason-partner-ood" { + value 25; + description + "Partner has not echoed the correct parameters + for this link"; + } + enum "bm-mbr-state-reason-partner-not-in-sync" { + value 26; + description + "Partner is not Synchronized (Waiting, Standby, + or LAG ID mismatch)"; + } + enum "bm-mbr-state-reason-foreign-partner-oos" { + value 27; + description + "Partner is not Synchronized (Waiting, not + Selected, or out-of-date)"; + } + enum "bm-mbr-state-reason-attach-unknown" { + value 28; + description + "Link is Attached and has not gone Collecting + (unknown reason)"; + } + enum "bm-mbr-state-reason-partner-not-collecting" { + value 29; + description + "Partner has not advertized that it is + Collecting"; + } + enum "bm-mbr-state-reason-collect-unknown" { + value 30; + description + "Link is Collecting and has not gone + Distributing (unknown reason)"; + } + enum "bm-mbr-state-reason-standby-foreign" { + value 31; + description + "Link is marked as Standby by mLACP peer"; + } + enum "bm-mbr-state-reason-bfd-starting" { + value 32; + description + "Link is waiting for BFD session to start"; + } + enum "bm-mbr-state-reason-bfd-down" { + value 33; + description + "BFD state of this link is Down"; + } + enum "bm-mbr-state-reason-bfd-nbr-unconfig" { + value 34; + description + "BFD session is unconfigured on the remote end"; + } + enum "bm-mbr-state-reason-mlacp" { + value 35; + description + "Link is not operational as a result of mLACP + negotiations"; + } + enum "bm-mbr-state-reason-pe-isolated" { + value 36; + description + "ICCP group is isolated from the core network"; + } + enum "bm-mbr-state-reason-forced-switchover" { + value 37; + description + "Forced switchover to the mLACP peer"; + } + enum "bm-mbr-state-reason-errdis-unknown" { + value 38; + description + "Link is error disabled (unknown reason)"; + } + enum "bm-mbr-state-reason-mlacp-no-mbr-state-info" { + value 39; + description + "Waiting for member state information from mLACP + peer"; + } + enum "bm-mbr-state-reason-active" { + value 40; + description + "Link is Active"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-state-info" { + value 41; + description + "Waiting for bundle state information from mLACP + peer"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-config-info" { + value 42; + description + "Waiting for bundle configuration information + from mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-sync" { + value 43; + description + "Waiting for bundle to complete initial + synchronization with mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-bdl-has-no-peer" { + value 44; + description + "mLACP bundle does not have a peer device"; + } + enum "bm-mbr-state-reason-mlacp-nak" { + value 45; + description + "Link is being ignored due to an inconsistency + with mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-transport-unavailable" { + value 46; + description + "ICCP transport is unavailable"; + } + enum "bm-mbr-state-reason-mlacp-not-configured" { + value 47; + description + "ICCP Group is not fully configured"; + } + enum "bm-mbr-state-reason-recovery-timer" { + value 48; + description + "mLACP recovery delay timer is running"; + } + enum "bm-mbr-state-reason-mlacp-standby" { + value 49; + description + "mLACP peer is active"; + } + enum "bm-mbr-state-reason-maximized-out" { + value 50; + description + "mLACP peer has more links/bandwidth available"; + } + enum "bm-mbr-state-reason-mlacp-peer-selected" { + value 51; + description + "mLACP peer has one or more links Selected"; + } + enum "bm-mbr-state-reason-mlacp-connect-timer-running" { + value 52; + description + "mLACP bundle does not have a peer device + (connect timer running)"; + } + enum "bm-mbr-state-reason-bundle-not-mlacp" { + value 53; + description + "Bundle is not configured to run mLACP"; + } + enum "bm-mbr-state-reason-no-lon" { + value 54; + description + "Bundle has too many working links configured + (more than the maximum-active limit)"; + } + enum "bm-mbr-state-reason-cumul-rel-bw-limit" { + value 55; + description + "Additional bandwidth from link would exceed + load balancing capabilities"; + } + enum "bm-mbr-state-reason-no-mac" { + value 56; + description + "No MAC address available for the bundle"; + } + enum "bm-mbr-state-reason-no-system-id" { + value 57; + description + "No system ID available for use by this bundle"; + } + enum "bm-mbr-state-reason-link-shutdown" { + value 58; + description + "Link is shutdown"; + } + enum "bm-mbr-state-reason-activity-mlacp" { + value 59; + description + "Non-LACP link in mLACP bundle"; + } + enum "bm-mbr-state-reason-activity-iccp" { + value 60; + description + "LACP link in inter-chassis bundle"; + } + enum "bm-mbr-state-reason-bundle-icpe-mlacp" { + value 61; + description + "Parent bundle is both inter-chassis and + configured for mLACP"; + } + enum "bm-mbr-state-reason-no-link-num" { + value 62; + description + "Too many bundle members in system; no link + number available"; + } + enum "bm-mbr-state-reason-standby-peer-higher-prio" { + value 63; + description + "mLACP peer has a higher priority link"; + } + enum "bm-mbr-state-reason-red-state-standby" { + value 64; + description + "Link is in standby redundancy state"; + } + enum "bm-mbr-state-reason-other-red-state-standby" { + value 65; + description + "One or more links in the bundle are in standby + redundancy state"; + } + enum "bm-mbr-state-reason-hold-ing" { + value 66; + description + "Holding down temporary to avoid churn after + restart"; + } + enum "bm-mbr-state-reason-bundle-error-disabled" { + value 67; + description + "Bundle has been error-disabled"; + } + enum "bm-mbr-state-reason-bundle-efd-disabled" { + value 68; + description + "Bundle has been disabled by EFD"; + } + enum "bm-mbr-state-reason-singleton-pe-isolated" { + value 69; + description + "Singleton ICCP group is isolated from the core + network"; + } + enum "bm-mbr-state-reason-bfd-ipv6-starting" { + value 70; + description + "Link is waiting for BFDv6 session to start"; + } + enum "bm-mbr-state-reason-bfd-ipv6-down" { + value 71; + description + "BFDv6 state of this link is Down"; + } + enum "bm-mbr-state-reason-bfd-ipv6-nbr-unconfig" { + value 72; + description + "BFDv6 session is unconfigured on the remote end"; + } + enum "bm-mbr-state-reason-timer-running" { + value 73; + description + "LACP delay timer is running"; + } + enum "bm-mbr-state-reason-client-bundle-ctrl" { + value 74; + description + "Client has configured the bundle state Down"; + } + enum "bm-mbr-state-reason-count" { + value 75; + description + "Enumeration maximum value"; + } + } + description + "Bm mbr state reason"; + } + + typedef Bm-muxstate { + type enumeration { + enum "detached" { + value 1; + description + "Port is not attached to a bundle"; + } + enum "waiting" { + value 2; + description + "Port has chosen bundle and is waiting to join"; + } + enum "attached" { + value 3; + description + "Port is attached to the bundle but not active"; + } + enum "collecting" { + value 4; + description + "Port is ready to receive data"; + } + enum "distributing" { + value 5; + description + "Port is distributing data"; + } + enum "collecting-distributing" { + value 6; + description + "Port is active and can send and receive data"; + } + } + description + "Bm muxstate"; + } + + typedef Bmd-mlacp-switchover { + type enumeration { + enum "bmd-mlacp-switchover-nonrevertive" { + value 0; + description + "Non-revertive switchover type"; + } + enum "bmd-mlacp-switchover-brute-force" { + value 1; + description + "Brute force switchover type"; + } + enum "bmd-mlacp-switchover-revertive" { + value 2; + description + "Revertive switchover type"; + } + enum "bmd-mlacp-switchover-count" { + value 3; + description + "Number of switchover types"; + } + } + description + "Bmd mlacp switchover"; + } + + typedef Bm-feature-status { + type enumeration { + enum "bm-feature-not-configured" { + description + "No configuration is applied for a feature"; + } + enum "bm-feature-not-operational" { + description + "The feature is currently not operational"; + } + enum "bm-feature-operational" { + description + "The feature is currently operational"; + } + } + description + "Bm feature status"; + } + + typedef Bm-bdl-mac-source { + type enumeration { + enum "bm-bdl-mac-source-unknown" { + description + "The MAC is currently unknown"; + } + enum "bm-bdl-mac-source-chassis" { + description + "The MAC was allocated from the chassis pool"; + } + enum "bm-bdl-mac-source-configured" { + description + "The MAC was configured by the user"; + } + enum "bm-bdl-mac-source-member" { + description + "The MAC belongs to a member"; + } + enum "bm-bdl-mac-source-peer" { + description + "The MAC has come from the peer device"; + } + } + description + "Bm bdl mac source"; + } + + typedef Bm-bdl-state { + type enumeration { + enum "bm-bdl-state-admin-down" { + description + "The bundle has been configured Down"; + } + enum "bm-bdl-state-down" { + description + "The bundle is Down"; + } + enum "bm-bdl-state-client-down" { + description + "The bundle is controlled by CLIENT Down"; + } + enum "bm-bdl-state-ptnr-down" { + description + "The bundle is Down on the partner device"; + } + enum "bm-bdl-state-bundle-shutdown" { + description + "Bundle shutdown has been configured"; + } + enum "bm-bdl-state-pe-isolated" { + description + "The bundle cannot contact the core"; + } + enum "bm-bdl-state-nak" { + description + "The state is disputed by a peer device"; + } + enum "bm-bdl-state-up-active" { + description + "The bundle is Up"; + } + enum "bm-bdl-state-mlacp-hot-standby" { + description + "The bundle is Up, but is mLACP standby"; + } + enum "bm-bdl-state-mlacp-cold-standby" { + description + "The bundle is mLACP standby, but will not + eliminate traffic loss"; + } + enum "bm-bdl-state-unknown" { + description + "The bundle state has not been determined"; + } + enum "bm-bdl-state-cold-standby" { + description + "The bundle is standby, but will not eliminate + traffic loss"; + } + enum "bm-bdl-state-error-disabled" { + description + "The bundle has been error-disabled"; + } + enum "bm-bdl-state-efd-disabled" { + description + "The bundle has been disabled by EFD"; + } + } + description + "Bm bdl state"; + } + + typedef Bm-in6-addr { + type inet:ipv6-address; + description + "Bm in6 addr"; + } + + typedef Bm-in4-addr { + type inet:ipv4-address; + description + "Bm in4 addr"; + } + + typedef Bm-af-id { + type enumeration { + enum "bm-af-id-ipv4" { + value 1136568623; + description + "IPv4 AFI"; + } + enum "bm-af-id-ipv6" { + value 1136568624; + description + "IPv6 AFI"; + } + } + description + "Bm af id"; + } + + typedef Bmd-bfd-bdl-state { + type enumeration { + enum "bmd-bfd-bdl-down" { + description + "BFD is down on the bundle"; + } + enum "bmd-bfd-bdl-unknown" { + description + "BFD has just started on a bundle, and the state + has not been determined"; + } + enum "bmd-bfd-bdl-up" { + description + "BFD is up on the bundle"; + } + enum "bmd-bfd-bdl-count" { + description + "Number of BFD states on a bundle"; + } + } + description + "Bmd bfd bdl state"; + } + + typedef Bm-which-system { + type enumeration { + enum "bm-which-system-actr" { + description + "Actor"; + } + enum "bm-which-system-ptnr" { + description + "Partner"; + } + } + description + "Bm which system"; + } + + grouping LACP-COUNTERS { + description + "Statistics for a port using using LACP"; + leaf lacpd-us-received { + type uint32; + description + "LACPDUs received"; + } + leaf lacpd-us-transmitted { + type uint32; + description + "LACPDUs transmitted"; + } + leaf marker-packets-received { + type uint32; + description + "Marker packets received"; + } + leaf marker-responses-transmitted { + type uint32; + description + "Marker response packets transmitted"; + } + leaf illegal-packets-received { + type uint32; + description + "Illegal and unknown packets received"; + } + leaf excess-lacpd-us-received { + type uint32; + description + "LACPDUs received that exceed the rate limit"; + } + leaf excess-marker-packets-received { + type uint32; + description + "Marker packets received that exceed the rate + limit"; + } + leaf defaulted { + type uint32; + description + "State flag set to Defaulted"; + } + leaf expired { + type uint32; + description + "State flag set to Expired"; + } + leaf time-since-last-lacpdu-received { + type Bml-timestamp; + description + "Time elapsed since last LACPDU received (nsec)"; + } + leaf time-since-cleared { + type Bml-timestamp; + description + "Time elapsed since counters last cleared (nsec)"; + } + leaf time-since-unexpected-event { + type Bml-timestamp; + description + "Time elapsed since last unexpected event (nsec)"; + } + leaf last-cleared-sec { + type uint32; + description + "Last time counters cleared (s) (deprecated)"; + } + leaf last-cleared-nsec { + type uint32; + description + "Last time counters cleared (nsec) (deprecated)"; + } + } + + grouping LACP-LINK-DATA { + description + "Link properties for a port using LACP + (Deprecated)"; + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle"; + } + leaf actor-system-priority { + type uint16; + description + "System priority of the actor system"; + } + leaf actor-system-mac-address { + type yang:mac-address; + description + "MAC Address of the actor system"; + } + leaf actor-operational-key { + type uint16; + description + "Operational key for this port"; + } + leaf partner-system-priority { + type uint16; + description + "System priority of partner system"; + } + leaf partner-system-mac-address { + type yang:mac-address; + description + "MAC Address used to identify the partner system"; + } + leaf partner-operational-key { + type uint16; + description + "Operational key for partner port"; + } + leaf selected-aggregator-id { + type uint32; + description + "MIB ifindex of selected bundle"; + } + leaf attached-aggregator-id { + type uint32; + description + "MIB ifindex of attached bundle"; + } + leaf actor-port-id { + type uint16; + description + "Port number of this port"; + } + leaf actor-port-priority { + type uint16; + description + "Priority of this port"; + } + leaf partner-port-id { + type uint16; + description + "Port number of the partner's port"; + } + leaf partner-port-priority { + type uint16; + description + "Priority of the partner's port"; + } + leaf actor-port-state { + type uint8; + description + "LACP state of this port"; + } + leaf partner-port-state { + type uint8; + description + "LACP state of the partner's port"; + } + } + + grouping LACP-DROPS { + description + "Otherwise unaccounted LACP drops for a node"; + leaf wrong-port-count { + type uint32; + description + "LACP protocol packets received on ports with + LACP inactive/off"; + } + leaf last-wrong-port { + type uint32; + description + "Last unrecognized port on which a packet was + received"; + } + leaf unknown-port-count { + type uint32; + description + "Packets received for which rx port could not be + determined"; + } + leaf undecodable-packets { + type uint32; + description + "Packets received which could not be decoded"; + } + leaf time-since-cleared { + type Bml-timestamp; + units "nanosecond"; + description + "Time elapsed since counters were last cleared + (in nanoseconds)"; + } + leaf time-since-unexpected-event { + type Bml-timestamp; + units "nanosecond"; + description + "Time elapsed since last unexpected event (in + nanoseconds)"; + } + leaf time-since-last-updated { + type Bml-timestamp; + units "nanosecond"; + description + "Time elapsed since statistics were last updated + (in nanoseconds)"; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR { + description + "Per member mLACP TLV counter information"; + container mlacp-tlv-counters { + description + "Counts of mLACP TLVs sent and received"; + uses BMD-BAG-MLACP-TLV-COUNTERS; + } + leaf port-name { + type string; + description + "Port name of member"; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE-DATA { + description + "Peer device specific mLACP TLV counter + information"; + leaf node-id { + type uint32; + description + "Device ID"; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group ID"; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE { + description + "Per peer device mLACP TLV counter information"; + container node-data { + description + "Peer device mLACP TLV counter information"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE-DATA; + } + container mlacp-sync-requests-on-all-foreign-ports { + description + "Counts of mLACP sync request TLVs on all ports"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + list member-data { + description + "Member mLACP TLV counter information"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL-DATA { + description + "Bundle specific mLACP TLV counter information"; + container mlacp-sync-requests-on-all-local-ports { + description + "Counts of mLACP sync request TLVs on all ports"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + leaf bundle-name { + type string; + description + "Name of the bundle"; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group ID"; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL { + description + "Per bundle mLACP TLV counter information"; + container bundle-data { + description + "Bundle mLACP TLV counter information"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL-DATA; + } + list node-data { + description + "Peer device mLACP TLV counter information"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-NODE; + } + list member-data { + description + "Local member mLACP TLV counter information"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-MBR; + } + } + + grouping BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG { + description + "mLACP counter information for multiple items"; + list items { + description + "mLACP counter information items"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL; + } + } + + grouping LACP-SYSTEM-ID { + description + "LACP System identification information"; + container system-id { + description + "System ID"; + uses BM-SYSTEM-ID-TYPE; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group that the system ID is for"; + } + leaf system-priority { + type uint16; + description + "Priority of the system (deprecated)"; + } + leaf system-mac-address { + type yang:mac-address; + description + "MAC Address used to identify the system + (deprecated)"; + } + } + + grouping BMD-BAG-MLACP-ICCP-EVENT-COUNTERS { + description + "Counts of ICCP events"; + leaf transport-up { + type uint32; + description + "Number of transport up events"; + } + leaf transport-down { + type uint32; + description + "Number of transport down events"; + } + leaf transport-unavailable { + type uint32; + description + "Number of transport unavailable events"; + } + leaf configured-set { + type uint32; + description + "Number of configure events"; + } + leaf configured-clear { + type uint32; + description + "Number of unconfigure events"; + } + leaf reachability-set { + type uint32; + description + "Number of reachability events"; + } + leaf reachability-cleared { + type uint32; + description + "Number of reachability cleared events"; + } + leaf member-status-up { + type uint32; + description + "Number of member status up events"; + } + leaf member-status-down { + type uint32; + description + "Number of member status down events"; + } + leaf pe-isolated { + type uint32; + description + "Number of PE isolation events"; + } + leaf pe-isolated-clear { + type uint32; + description + "Number of PE isolation cleared events"; + } + } + + grouping BMD-BAG-MLACP-ICCP-MSG-COUNTERS { + description + "Counts of ICCP messages"; + leaf sent-messages { + type uint32; + description + "Number of messages sent"; + } + leaf sent-buffer-messages { + type uint32; + description + "Number of buffers sent (may be multiple per + message)"; + } + leaf received-messages { + type uint32; + description + "Number of messages received"; + } + leaf transmission-errors { + type uint32; + description + "Number of transmission errors"; + } + } + + grouping BMD-BAG-MLACP-INVALID-TLV-COUNTERS { + description + "Counts of invalid TLVs received"; + leaf incorrect-length { + type uint32; + description + "Number of messages received of an incorrect + length"; + } + leaf invalid-type { + type uint32; + description + "Number of messages received with an invalid + mLACP TLV type"; + } + leaf invalid-data { + type uint32; + description + "Number of messages received containing invalid + data"; + } + leaf unknown-bundle { + type uint32; + description + "Number of messages received for an unknown + bundle"; + } + leaf unknown-port { + type uint32; + description + "Number of messages received for an unknown port"; + } + } + + grouping BMD-BAG-MLACP-RG-TLV-COUNTERS { + description + "Counts of ICCP level TLVs"; + leaf sent-config { + type uint32; + description + "Number of config TLVs sent"; + } + leaf received-config { + type uint32; + description + "Number of config TLVs received"; + } + leaf sent-state { + type uint32; + description + "Number of state TLVs sent"; + } + leaf received-state { + type uint32; + description + "Number of state TLVs received"; + } + leaf sent-na-ks { + type uint32; + description + "Number of NAK TLVs sent"; + } + leaf received-na-ks { + type uint32; + description + "Number of NAK TLVs received"; + } + leaf sent-sync-requests { + type uint32; + description + "Number of sync request TLVs sent"; + } + leaf received-sync-requests { + type uint32; + description + "Number of sync request TLVs received"; + } + leaf sent-state-sync-requests { + type uint32; + description + "Number of state sync request TLVs sent"; + } + leaf received-state-sync-requests { + type uint32; + description + "Number of state sync request TLVs received"; + } + leaf sent-config-sync-requests { + type uint32; + description + "Number of config sync request TLVs sent"; + } + leaf received-config-sync-requests { + type uint32; + description + "Number of state config request TLVs received"; + } + leaf sent-solicited-sync-data { + type uint32; + description + "Number of solicited sync data TLVs sent"; + } + leaf received-solicited-sync-data { + type uint32; + description + "Number of solicited sync data TLVs received"; + } + leaf sent-unsolicited-sync-data { + type uint32; + description + "Number of unsolicited sync data TLVs sent"; + } + leaf received-unsolicited-sync-data { + type uint32; + description + "Number of unsolicited sync data TLVs received"; + } + } + + grouping BMD-BAG-MLACP-CONNECTION-COUNTERS { + description + "Counts of connection events"; + leaf sent-connects { + type uint32; + description + "Number of connect TLVs sent"; + } + leaf received-connects { + type uint32; + description + "Number of connect TLVs received"; + } + leaf iccp-invalid-connects { + type uint32; + description + "Number of invalid ICCP connects"; + } + leaf iccp-config-connect-errors { + type uint32; + description + "Number of ICCP connection errors due to config"; + } + leaf iccp-count-connect-errors { + type uint32; + description + "Number of ICCP connection errors due to max ICCP + group count"; + } + leaf sent-wrong-versions { + type uint32; + description + "Number of wrong version TLVs sent"; + } + leaf received-wrong-versions { + type uint32; + description + "Number of wrong version TLVs received"; + } + leaf sent-disconnects { + type uint32; + description + "Number of disconnect TLVs sent"; + } + leaf received-disconnects { + type uint32; + description + "Number of disconnect TLVs received"; + } + leaf iccp-invalid-disconnects { + type uint32; + description + "Number of invalid ICCP disconnects"; + } + } + + grouping BMD-BAG-RG-INFO-MLACP-COUNTERS { + description + "ICCP group mLACP counters"; + container connection { + description + "Number of connection events"; + uses BMD-BAG-MLACP-CONNECTION-COUNTERS; + } + container tl-vs { + description + "Number TLVs sent and received"; + uses BMD-BAG-MLACP-RG-TLV-COUNTERS; + } + container invalid-tl-vs { + description + "Number invalid TLVs received"; + uses BMD-BAG-MLACP-INVALID-TLV-COUNTERS; + } + container iccp-messages { + description + "Number ICCP messages sent and received"; + uses BMD-BAG-MLACP-ICCP-MSG-COUNTERS; + } + container iccp-events { + description + "Number of ICCP events"; + uses BMD-BAG-MLACP-ICCP-EVENT-COUNTERS; + } + leaf last-time-cleared { + type uint64; + units "nanosecond"; + description + "Time in nsecs from boot when counters were last + cleared (deprecated)"; + } + leaf time-since-cleared { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since counters were last + cleared"; + } + leaf last-unexpected-event { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since last unexpected + event"; + } + } + + grouping BMD-BAG-RG-INFO-MLACP-COUNTERS-RG { + description + "mLACP counter information for an ICCP group"; + container iccp-group-counters { + description + "ICCP Group counters"; + uses BMD-BAG-RG-INFO-MLACP-COUNTERS; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group ID"; + } + } + + grouping BMD-EVENT-BAG-MULTIPLE { + description + "Bag for returning data about events"; + list events-item { + description + "Event items"; + uses BMD-EVENT-BAG; + } + } + + grouping BM-MAC-ALLOC { + description + "Data on MAC address allocation"; + list mac-address { + description + "MAC addresses allocated but unused"; + uses BM-MAC-ADDR-ST; + } + } + + grouping MLACP-MBR-INFO-TYPE { + description + "Information for a member"; + leaf port-name { + type string; + description + "Port Name"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle (local device's + members only)"; + } + leaf mlacp-node-id { + type uint8; + description + "mLACP Device ID"; + } + leaf port-number { + type uint16; + description + "Port number of the member"; + } + leaf operational-priority { + type uint16; + description + "Operational priority of the member in the bundle"; + } + leaf configured-priority { + type uint16; + description + "Configured priority of the member in the bundle"; + } + leaf member-state { + type Bmd-mlacp-mbr-state-enum; + description + "Member state"; + } + } + + grouping MLACP-BDL-INFO-TYPE { + description + "Information for a bundle"; + container mac-address { + description + "Bundle MAC address"; + uses BM-MAC-ADDR-ST; + } + leaf bundle-name { + type string; + description + "Bundle name"; + } + leaf mlacp-node-id { + type uint8; + description + "mLACP Device ID"; + } + leaf aggregator-id { + type uint16; + description + "Bundle aggregrator ID"; + } + leaf bundle-state { + type Bmd-mlacp-bdl-state-enum; + description + "Bundle state"; + } + leaf port-priority { + type uint16; + description + "Bundle port priority"; + } + } + + grouping BMD-BAG-MLACP-BDL { + description + "mLACP information for a bundle"; + leaf bundle-interface-key { + type uint16; + description + "Bundle interface key"; + } + leaf media-type { + type Bundle-media; + description + "The media type of the bundle interface"; + } + leaf redundancy-object-id { + type uint64; + description + "Redundancy Object ID of the bundle"; + } + list mlacp-bundle-data { + description + "mLACP information for the bundle"; + uses MLACP-BDL-INFO-TYPE; + } + list mlacp-member-data { + description + "mLACP information for the member"; + uses MLACP-MBR-INFO-TYPE; + } + } + + grouping MLACP-RG-NODE-INFO-TYPE { + description + "LACP information for an RG"; + container system-id { + description + "System ID for the ICCP Group"; + uses BM-SYSTEM-ID-TYPE; + } + leaf mlacp-node-id { + type uint8; + description + "mLACP Device ID"; + } + leaf ldp-id { + type Bmd-node-ldp-id; + description + "LDP ID of the device"; + } + leaf version-number { + type uint32; + description + "Version of the protocol being used"; + } + leaf node-state { + type Bmd-mlacp-node-state-enum; + description + "Node state"; + } + leaf iccp-group-state { + type Bmd-mlacp-node-sync-enum; + description + "Node synchronization state"; + } + } + + grouping BMD-BAG-MLACP-RG { + description + "mLACP information for an RG"; + leaf iccp-group-id { + type uint32; + description + "ICCP Group that the mLACP information is for"; + } + leaf singleton { + type boolean; + description + "Is the ICCP group in singleton mode (1 = + singleton; 0 = not singleton)"; + } + leaf connect-timer-running { + type uint64; + units "nanosecond"; + description + "Time remaining on connect timer innsecs"; + } + list node-data { + description + "Information for the IG from the local and peer + devices"; + uses MLACP-RG-NODE-INFO-TYPE; + } + } + + grouping BMD-BAG-MLACP-DATA { + description + "Combined mLACP information for bundle and ICCP + Group"; + container iccp-group-data { + description + "ICCP Group information"; + uses BMD-BAG-MLACP-RG; + } + list bundle-data { + description + "Bundle information"; + uses BMD-BAG-MLACP-BDL; + } + } + + grouping BMD-BAG-MLACP-DATA-MULTIPLE { + description + "Combined mLACP information for bundle and ICCP + Group"; + list mlacp-data { + description + "mLACP data for multiple ICCP Groups"; + uses BMD-BAG-MLACP-DATA; + } + } + + grouping BMD-BAG-PROT-MBR-INFO { + description + "Protect information for a member"; + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle"; + } + leaf underlying-link-id { + type uint16; + description + "Member's underlying link ID"; + } + leaf link-order-number { + type uint16; + description + "Member's link order number"; + } + leaf bandwidth { + type uint32; + description + "Member's bandwidth"; + } + leaf node { + type xr:Node-id; + description + "Member's node ID"; + } + leaf active { + type boolean; + description + "Member is active within its bundle"; + } + leaf notification-received { + type boolean; + description + "Received a notification on the member"; + } + leaf slow-path-up { + type boolean; + description + "Member is up in the slow path"; + } + leaf time-stamp { + type uint64; + description + "Last event for the member"; + } + } + + grouping BMD-BAG-PROT-BDL-INFO { + description + "Protect information for a bundle"; + leaf bundle-interface-handle { + type xr:Interface-name; + description + "Bundle's interface handle"; + } + leaf interface-up { + type boolean; + description + "Whether the bundle interface is up"; + } + leaf registered { + type boolean; + description + "Whether there is a client protect registration + on the bundle interface"; + } + leaf slow-path-up { + type boolean; + description + "Bundle is up in the slow path"; + } + leaf slow-path-trigger { + type boolean; + description + "Whether the last protect trigger originated in + the slow path"; + } + leaf minimum-active-links { + type uint32; + description + "Minimum active links threshold"; + } + leaf minimum-bandwidth { + type uint32; + description + "Minimum bandwidth threshold"; + } + leaf event-type { + type Bmd-bag-target; + description + "Scope of the last event that impacted the bundle"; + } + leaf time-stamp { + type uint64; + description + "Last event for the bundle"; + } + list member-info { + description + "Information about the members"; + uses BMD-BAG-PROT-MBR-INFO; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-MULTIPLE { + description + "mLACP counter information for multiple ICCP + groups"; + list iccp-group { + description + "ICCP Group mLACP TLV counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE-DATA { + description + "Peer device specific mLACP TLV counter + information"; + container mlacp-sync-requests-on-all-foreign-ports { + description + "Counts of mLACP sync request TLVs on all ports"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + container mlacp-sync-requests-on-all-foreign-bundles { + description + "Counts of mLACP sync request TLVs on all bundles"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + leaf node-id { + type uint32; + description + "Device ID"; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE { + description + "Per peer device mLACP TLV counter information"; + container node-data { + description + "Peer device mLACP TLV counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE-DATA; + } + list bundle-data { + description + "Peer device bundle mLACP TLV counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL; + } + } + + grouping BMD-BAG-MLACP-SYNC-RQST-COUNTERS { + description + "Counts of mLACP sync request TLVs received"; + container received-sync-requests { + description + "Number of mLACP sync request TLVs received"; + uses BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD; + } + leaf last-time-cleared { + type uint64; + units "nanosecond"; + description + "Time in nsecs from boot when counters were last + cleared (deprecated)"; + } + leaf time-since-cleared { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since counters were last + cleared"; + } + } + + grouping OPTIONAL-SYNC-REQUEST-COUNTERS { + description + "Optional sync request counters field"; + uses BMD-BAG-MLACP-SYNC-RQST-COUNTERS; + } + + grouping BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD { + description + "Counts of mLACP sync request TLVs received"; + leaf all-syncs { + type uint32; + description + "Total number of sync requests received"; + } + leaf config-syncs { + type uint32; + description + "Number of config sync requests received"; + } + leaf state-syncs { + type uint32; + description + "Number of state sync requests received"; + } + } + + grouping BMD-BAG-MLACP-TLV-COUNTERS { + description + "Counts of mLACP TLVs sent and received"; + container received-sync-requests { + description + "Number of mLACP sync request TLVs received"; + uses BMD-BAG-MLACP-SYNC-RQST-TLVS-RCVD; + } + leaf sent-config-tl-vs { + type uint32; + description + "Number of mLACP config TLVs sent"; + } + leaf sent-state-tl-vs { + type uint32; + description + "Number of mLACP state TLVs sent"; + } + leaf sent-priority-tl-vs { + type uint32; + description + "Number of mLACP priority TLVs sent"; + } + leaf received-priority-tl-vs { + type uint32; + description + "Number of mLACP priority TLVs received"; + } + leaf received-nak-tl-vs { + type uint32; + description + "Number of mLACP NAK TLVs received"; + } + leaf last-time-cleared { + type uint64; + units "nanosecond"; + description + "Time in nsecs from boot when counters were last + cleared (deprecated)"; + } + leaf time-since-cleared { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since counters were last + cleared"; + } + leaf last-unexpected-event { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since last unexpected + event"; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL { + description + "Per bundle mLACP TLV counter information"; + container mlacp-tlv-counters { + description + "Counts of mLACP TLVs sent and received"; + uses BMD-BAG-MLACP-TLV-COUNTERS; + } + leaf bundle-name { + type string; + description + "Bundle name"; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-DATA { + description + "ICCP group specific mLACP TLV counter information"; + container mlacp-sync-requests-on-all-local-ports { + description + "Counts of mLACP sync request TLVs on all ports"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + container mlacp-sync-requests-on-all-local-bundles { + description + "Counts of mLACP sync request TLVs on all bundles"; + uses OPTIONAL-SYNC-REQUEST-COUNTERS; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group ID"; + } + list bundle-data { + description + "Local device bundle mLACP counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-BDL; + } + } + + grouping BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG { + description + "ICCP group mLACP counter information"; + container iccp-group-data { + description + "ICCP Group mLACP TLV counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-DATA; + } + list node-data { + description + "Peer device bundle mLACP counter information"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-NODE; + } + } + + grouping LACP-LINK-ADDITIONAL-INFO-FOREIGN-TYPE { + description + "Additional information for a foreign LACP link"; + leaf peer-address { + type Bmd-node-ldp-id; + description + "The LDP address of the device that the link is + configured on"; + } + leaf member-name { + type string; + description + "Member's (short form) name"; + } + } + + grouping LACP-LINK-ADDITIONAL-INFO-LOCAL-TYPE { + description + "Additional information for a local LACP link"; + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle"; + } + } + + grouping LACP-LINK-ADDITIONAL-INFO { + description + "Additional information for the link that is + dependent on type"; + container local { + when "../mbr-type = 'bmd-mbr-local'" { + description + "../MbrType = 'BMD_MBR_LOCAL'"; + } + description + "Information for a local port"; + uses LACP-LINK-ADDITIONAL-INFO-LOCAL-TYPE; + } + container foreign { + when "../mbr-type = 'bmd-mbr-foreign'" { + description + "../MbrType = 'BMD_MBR_FOREIGN'"; + } + description + "Information for a foreign port"; + uses LACP-LINK-ADDITIONAL-INFO-FOREIGN-TYPE; + } + leaf mbr-type { + type Bmd-member-type-enum; + description + "MbrType"; + } + } + + grouping BM-LINK-ID-TYPE { + description + "BM LINK ID TYPE"; + leaf link-priority { + type uint16; + description + "link priority"; + } + leaf link-number { + type Bm-link-number; + description + "link number"; + } + } + + grouping BM-LACP-PORT-INFO-TYPE { + description + "BM LACP PORT INFO TYPE"; + container system { + description + "system"; + uses BM-SYSTEM-ID-TYPE; + } + container port { + description + "port"; + uses BM-LINK-ID-TYPE; + } + leaf key { + type Bm-bdl-id; + description + "key"; + } + leaf state { + type Bm-link-state-bits; + description + "state"; + } + } + + grouping LACP-LINK-DEVICE-INFO-TYPE { + description + "Link properties for a port from a device"; + container port-info { + description + "LACP parameters for this device"; + uses BM-LACP-PORT-INFO-TYPE; + } + leaf tx-period { + type Bm-link-period-value; + description + "Time (in ms) between transmitting LACPDUs"; + } + } + + grouping LACP-MBR-DATA { + description + "Link properties for a port using LACP"; + container actor-info { + description + "LACP information for the port from the actor"; + uses LACP-LINK-DEVICE-INFO-TYPE; + } + container partner-info { + description + "LACP information for the port from the partner"; + uses LACP-LINK-DEVICE-INFO-TYPE; + } + container additional-info { + description + "Additional information for the link"; + uses LACP-LINK-ADDITIONAL-INFO; + } + leaf selected-aggregator-id { + type uint32; + description + "MIB ifindex of selected bundle"; + } + leaf attached-aggregator-id { + type uint32; + description + "MIB ifindex of attached bundle"; + } + leaf selection-state { + type Lacp-sel-state; + description + "State of the Selection Logic state machine"; + } + leaf period-state { + type Lacp-period-state; + description + "State of the Period state machine"; + } + leaf receive-machine-state { + type Rxstates; + description + "State of the RX state machine"; + } + leaf mux-state { + type Bm-muxstate; + description + "State of the Mux state machine"; + } + leaf actor-churn-state { + type Lacp-churnstates; + description + "State of the Churn state machine for the Actor"; + } + leaf partner-churn-state { + type Lacp-churnstates; + description + "State of the Churn state machine for the Partner"; + } + leaf iccp-group-id { + type uint32; + description + "The ID of the ICCP group that the link is + configured on"; + } + } + + grouping LACP-COMBINED-DATA { + description + "LACP COMBINED DATA"; + container bundle-data { + description + "Bundle information"; + uses LACP-BUNDLE-DATA; + } + list member-data { + description + "Member information"; + uses LACP-MBR-DATA; + } + } + + grouping BMD-BAG-EVENT-ITEM-RG { + description + "A single event item for an RG"; + container data { + description + "Additional data for the event"; + uses BMD-BAG-EVENT-DATA; + } + leaf rg-event-type { + type Bmd-bag-event-rg-item; + description + "Type of event for RG"; + } + leaf time-stamp { + type uint64; + description + "Time stamp of the event"; + } + } + + grouping BMD-BAG-EVENT-ITEM-BDL { + description + "A single event item for a bundle"; + container data { + description + "Additional data for the event"; + uses BMD-BAG-EVENT-DATA; + } + leaf bundle-event-type { + type Bmd-bag-event-bdl-item; + description + "Type of event for bundle"; + } + leaf time-stamp { + type uint64; + description + "Time stamp of the event"; + } + } + + grouping BMD-BAG-EVENT-DATA { + description + "Additional data for an event"; + leaf data-type { + type Bmd-bag-event-data; + description + "DataType"; + } + leaf no-data { + when "../data-type = 'bmd-bag-evt-data-none'" { + description + "../DataType = 'BMD_BAG_EVT_DATA_NONE'"; + } + type uint8; + description + "NoData"; + } + leaf error { + when "../data-type = 'bmd-bag-evt-data-error'" { + description + "../DataType = 'BMD_BAG_EVT_DATA_ERROR'"; + } + type uint32; + description + "Error"; + } + leaf string-data { + when "../data-type = 'bmd-bag-evt-data-string'" { + description + "../DataType = 'BMD_BAG_EVT_DATA_STRING'"; + } + type Bmd-bag-item-string; + description + "StringData"; + } + } + + grouping BMD-BAG-EVENT-ITEM-MBR { + description + "A single event item for a member"; + container data { + description + "Additional data for the event"; + uses BMD-BAG-EVENT-DATA; + } + leaf member-event-type { + type Bmd-bag-event-mbr-item; + description + "Type of event for member"; + } + leaf time-stamp { + type uint64; + description + "Time stamp of the event"; + } + } + + grouping BMD-BAG-EVENT-ITEM { + description + "Event item"; + container member-evt-info { + when "../event-type = 'bm-bag-target-mbr'" { + description + "../EventType = 'BM_BAG_TARGET_MBR'"; + } + description + "Event information for a member"; + uses BMD-BAG-EVENT-ITEM-MBR; + } + container bundle-evt-info { + when "../event-type = 'bm-bag-target-bdl'" { + description + "../EventType = 'BM_BAG_TARGET_BDL'"; + } + description + "Event information for a bundle"; + uses BMD-BAG-EVENT-ITEM-BDL; + } + container rg-evt-info { + when "../event-type = 'bm-bag-target-rg'" { + description + "../EventType = 'BM_BAG_TARGET_RG'"; + } + description + "Event information for an RG"; + uses BMD-BAG-EVENT-ITEM-RG; + } + leaf event-type { + type Bmd-bag-target; + description + "EventType"; + } + } + + grouping BMD-EVENT-BAG { + description + "Bag for returning data about events"; + leaf item-name { + type string; + description + "Name for the current item to use"; + } + list items { + description + "Event items"; + uses BMD-BAG-EVENT-ITEM; + } + } + + grouping BM-BUNDLE-COMBINED-DATA { + description + "BM BUNDLE COMBINED DATA"; + container bundle-data { + description + "Bundle information"; + uses BM-BUNDLE-DATA; + } + list member-data { + description + "Member information"; + uses BM-MEMBER-DATA; + } + } + + grouping BMD-BAG-MLACP-SCH-ACTION { + description + "Bag for returning data about scheduled actions"; + leaf mlacp-action { + type Bmd-bag-mlacp-sch-action-item; + description + "Type of mLACP scheduled action for a bundle"; + } + leaf time-remaining { + type uint64; + units "second"; + description + "Seconds left before action"; + } + leaf action-state { + type Bmd-switch-reason; + description + "Details whether the switch action is viable"; + } + } + + grouping BMD-SCH-ACTION-BAG { + description + "Bag for returning data about scheduled actions"; + leaf bundle-name { + type string; + description + "Name of the bundle"; + } + list scheduled-action { + description + "Scheduled actions"; + uses BMD-BAG-MLACP-SCH-ACTION; + } + } + + grouping BMD-BFD-COUNTER-BAG { + description + "BFD events"; + leaf member-name { + type string; + description + "Name of the member this information is for"; + } + leaf last-time-cleared { + type uint64; + description + "Timestamp when counters were last cleared + (deprecated)"; + } + leaf starting { + type uint32; + description + "Number of times member state changed to starting"; + } + leaf up { + type uint32; + description + "Number of times member state changed to up"; + } + leaf down { + type uint32; + description + "Number of times member state changed to down"; + } + leaf neighbor-unconfigured { + type uint32; + description + "Number of times member state changed to neighbor + unconfigured"; + } + leaf start-timeouts { + type uint32; + description + "Number of timeouts waiting for BFD to start"; + } + leaf neighbor-unconfigured-timeouts { + type uint32; + description + "Number of timeouts waiting for neighbor to + become unconfigured"; + } + leaf time-since-cleared { + type uint64; + units "nanosecond"; + description + "Elapsed time in nsecs since counters were last + cleared"; + } + } + + grouping BM-NAME-BAG { + description + "Item Name"; + leaf item-name { + type string; + description + "Name of item"; + } + } + + grouping BMD-BFD-COUNTER-BAG-MULTIPLE { + description + "BFD events"; + container bundle-name { + description + "Name of the bundle this information is for"; + uses BM-NAME-BAG; + } + list bfd-counter { + description + "BFD event counters"; + uses BMD-BFD-COUNTER-BAG; + } + } + + grouping BM-MBR-STATE-REASON-DATA-TYPE { + description + "Additional member state reason data"; + leaf reason-type { + type Bm-state-reason-target; + description + "The item the reason applies to"; + } + leaf severity { + type Bm-severity; + description + "The severity of the reason"; + } + } + + grouping BM-MUX-DATA { + description + "BM MUX DATA"; + container member-mux-state-reason-data { + description + "Data regarding the reason for last Mux state + change"; + uses BM-MBR-STATE-REASON-DATA-TYPE; + } + leaf mux-state { + type Bm-muxstate; + description + "Current state of this bundle member"; + } + leaf error { + type uint32; + description + "Internal value indicating if an error occurred + trying to put a link into the desired state"; + } + leaf member-mux-state-reason { + type Bm-mbr-state-reason; + description + "Reason for last Mux state change"; + } + leaf member-state { + type Bmd-member-state; + description + "Current internal state of this bundle member"; + } + leaf mux-state-reason { + type Bm-muxreason; + description + "Reason for last Mux state change (Deprecated)"; + } + } + + grouping BM-LACP-LINK-DATA { + description + "Link properties for a port using LACP "; + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle"; + } + leaf actor-system-priority { + type uint16; + description + "System priority of actor system"; + } + leaf actor-system-mac-address { + type yang:mac-address; + description + "MAC Address of the actor system"; + } + leaf actor-operational-key { + type uint16; + description + "Operational key for this port"; + } + leaf partner-system-priority { + type uint16; + description + "System priority of partner system"; + } + leaf partner-system-mac-address { + type yang:mac-address; + description + "MAC Address used to identify the partner system"; + } + leaf partner-operational-key { + type uint16; + description + "Operational key for partner port"; + } + leaf selected-aggregator-id { + type uint32; + description + "MIB ifindex of selected bundle"; + } + leaf attached-aggregator-id { + type uint32; + description + "MIB ifindex of attached bundle"; + } + leaf actor-port-id { + type uint16; + description + "Port number of this port"; + } + leaf actor-port-priority { + type uint16; + description + "Priority of this port"; + } + leaf partner-port-id { + type uint16; + description + "Port number of the partner's port"; + } + leaf partner-port-priority { + type uint16; + description + "Priority of the partner's port"; + } + leaf actor-port-state { + type uint8; + description + "LACP state of this port"; + } + leaf partner-port-state { + type uint8; + description + "LACP state of the partner's port"; + } + } + + grouping BM-LACP-COUNTERS { + description + "Statistics for a port using using LACP"; + leaf lacpd-us-received { + type uint32; + description + "LACPDUs received"; + } + leaf lacpd-us-transmitted { + type uint32; + description + "LACPDUs transmitted"; + } + leaf marker-packets-received { + type uint32; + description + "Marker packets received"; + } + leaf marker-responses-transmitted { + type uint32; + description + "Marker response packets transmitted"; + } + leaf illegal-packets-received { + type uint32; + description + "Illegal and unknown packets received"; + } + leaf excess-lacpd-us-received { + type uint32; + description + "LACPDUs received that exceed the rate limit"; + } + leaf excess-marker-packets-received { + type uint32; + description + "Marker packets received that exceed the rate + limit"; + } + leaf defaulted { + type uint32; + description + "State flag set to Defaulted"; + } + leaf expired { + type uint32; + description + "State flag set to Expired"; + } + leaf last-cleared-sec { + type uint32; + description + "Last time counters cleared (s) (deprecated)"; + } + leaf last-cleared-nsec { + type uint32; + description + "Last time counters cleared (nsec) (deprecated)"; + } + } + + grouping BM-MEMBER-DATA { + description + "Bundle member data for any member"; + container counters { + description + "Counters data about member link"; + uses BM-LACP-COUNTERS; + } + container link-data { + description + "Lacp data about member link"; + uses BM-LACP-LINK-DATA; + } + container member-mux-data { + description + "Mux state machine data"; + uses BM-MUX-DATA; + } + container mac-address { + description + "MAC address of this member (deprecated)"; + uses BM-MAC-ADDR-ST; + } + leaf interface-name { + type xr:Interface-name; + description + "Member's interface name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf port-priority { + type uint16; + description + "The priority of this member"; + } + leaf port-number { + type uint16; + description + "Member's link number"; + } + leaf underlying-link-id { + type uint16; + description + "Member's underlying link ID"; + } + leaf link-order-number { + type uint16; + description + "Member's link order number"; + } + leaf iccp-node { + type uint32; + description + "Location of member"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth of this member (kbps)"; + } + leaf lacp-enabled { + type string; + description + "Boolean indicating LACP enabled or not"; + } + leaf member-type { + type Bmd-member-type-enum; + description + "Member's type (local/foreign)"; + } + leaf member-name { + type string; + description + "Member's (short form) name"; + } + } + + grouping ETHER-MACADDR-TYPE { + description + "ETHER MACADDR TYPE"; + leaf macaddr { + type yang:hex-string; + description + "macaddr"; + } + } + + grouping BM-SYSTEM-ID-TYPE { + description + "BM SYSTEM ID TYPE"; + container system-mac-addr { + description + "MAC Address used to identify the system"; + uses ETHER-MACADDR-TYPE; + } + leaf system-prio { + type uint16; + description + "Priority of the system"; + } + } + + grouping BM-ADDR { + description + "BM ADDR"; + leaf af { + type Bm-af-id; + description + "AF"; + } + leaf ipv4 { + when "../af = 'bm-af-id-ipv4'" { + description + "../AF = 'BM_AF_ID_IPV4'"; + } + type Bm-in4-addr; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../af = 'bm-af-id-ipv6'" { + description + "../AF = 'BM_AF_ID_IPV6'"; + } + type Bm-in6-addr; + description + "IPv6 address type"; + } + } + + grouping BM-BUNDLE-BFD-DATA-TYPE { + description + "BM BUNDLE BFD DATA TYPE"; + container destination-address { + description + "Configured destination address for BFD session"; + uses BM-ADDR; + } + leaf bundle-status { + type Bmd-bfd-bdl-state; + description + "Status of BFD on the bundle"; + } + leaf start-timer { + type uint32; + description + "Time to wait on session start before declaring + DOWN"; + } + leaf nbr-unconfig-timer { + type uint32; + description + "Time to wait on session NBR_UNCONFIG before + declaring DOWN"; + } + leaf pref-multiplier { + type uint16; + description + "Preferred multiplier for the BFD session"; + } + leaf pref-min-interval { + type uint32; + description + "Preferred minimum interval for the BFD session + (ms)"; + } + leaf pref-echo-min-interval { + type uint32; + description + "Preferred echo minimum interval for the BFD + session (ms)"; + } + leaf fast-detect { + type boolean; + description + "Flag indicating if BFD is enabled (1 = enabled; + 0 = not enabled)"; + } + leaf mode-info { + type uint32; + description + "Standard used for per-member BFD"; + } + } + + grouping BM-MAC-ADDR-ST { + description + "BM MAC ADDR ST"; + leaf address { + type yang:mac-address; + description + "MAC address"; + } + } + + grouping BM-BUNDLE-DATA { + description + "Data for a bundle interface"; + container mac-address { + description + "MAC address of this member"; + uses BM-MAC-ADDR-ST; + } + leaf bundle-interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + leaf available-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth available to the bundle interface + (kbps)"; + } + leaf effective-bandwidth { + type uint32; + units "kbit/s"; + description + "Effective bandwidth on the bundle interface + (kbps)"; + } + leaf configured-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth configured on the bundle interface + (kbps)"; + } + leaf minimum-active-links { + type uint8; + description + "Minimum number of active links for bundle to go + up"; + } + leaf maximum-active-links { + type uint8; + description + "Maximum number of active links in the bundle"; + } + leaf maximum-active-links-source { + type Bm-which-system; + description + "Source of maximum active links value"; + } + leaf minimum-bandwidth { + type uint32; + units "kbit/s"; + description + "Minimum bundle bandwidth for bundle to go up + (kbps)"; + } + leaf primary-member { + type xr:Interface-name; + description + "Primary bundle member (no longer applicable)"; + } + leaf bundle-status { + type Bm-bdl-state; + description + "The state of the bundle"; + } + leaf active-member-count { + type uint16; + description + "The number of active local members on the bundle"; + } + leaf standby-member-count { + type uint16; + description + "The number of standby local members on the + bundle"; + } + leaf configured-member-count { + type uint16; + description + "The number of configured local members on the + bundle"; + } + leaf mac-source { + type Bm-bdl-mac-source; + description + "The source of the MAC Address"; + } + leaf mac-source-member { + type xr:Interface-name; + description + "The name of the member that supplied the MAC + address"; + } + leaf inter-chassis { + type boolean; + description + "Indicates if this bundle is operating as an + inter-chassis link (1 = I-C link, 0 = normal)"; + } + leaf is-active { + type boolean; + description + "Indicates the active/standby redundancy state of + the device for the bundle"; + } + leaf lacp-status { + type Bm-feature-status; + description + "The status of the LACP feature on the bundle"; + } + leaf mlacp-status { + type Bm-feature-status; + description + "The status of the mLACP feature on the bundle"; + } + leaf ipv4bfd-status { + type Bm-feature-status; + description + "The status of the BFD (IPv4) feature on the + bundle"; + } + leaf link-order-status { + type Bm-feature-status; + description + "The status of the link order signaling feature + on the bundle"; + } + leaf ipv6bfd-status { + type Bm-feature-status; + description + "The status of the BFD (IPv6) feature on the + bundle"; + } + leaf load-balance-hash-type { + type string; + description + "The type of hash to use for load balancing"; + } + leaf load-balance-locality-threshold { + type uint16; + description + "The number of links required per rack for + localized load balancing"; + } + leaf suppression-timer { + type uint16; + description + "Timer for suppressing bundle state flaps"; + } + leaf wait-while-timer { + type uint16; + description + "The wait while time used for member ports"; + } + leaf collector-max-delay { + type uint16; + description + "Collector Max Delay"; + } + leaf cisco-extensions { + type boolean; + description + "The status of the Cisco Extensions feature (1 = + enabled, 0 = not enabled)"; + } + leaf lacp-nonrevertive { + type boolean; + description + "The status of the LACP nonrevertive feature (1 = + enable, 0 = not enabled)"; + } + leaf iccp-group-id { + type uint32; + description + "ICCP Group that the bundle is configured to"; + } + leaf active-foreign-member-count { + type uint16; + description + "The number of active foreign members on the + bundle"; + } + leaf configured-foreign-member-count { + type uint16; + description + "The number of configured local members on the + bundle"; + } + leaf switchover-type { + type Bmd-mlacp-switchover; + description + "How a switchover of the bundle from this device + will occur"; + } + leaf maximize-threshold-value-links { + type uint32; + description + "Attempt to maximize the bundle if links are + below this value"; + } + leaf maximize-threshold-value-band-width { + type uint32; + description + "Attempt to maximize the bundle if bandwidth is + below this value"; + } + leaf mlacp-mode { + type Bundle-mlacp-mode; + description + "Indicates the mode of the device for the bundle"; + } + leaf recovery-delay { + type uint16; + units "second"; + description + "Number of seconds to wait before becoming active + after recovering from a failure"; + } + leaf singleton { + type boolean; + description + "Is the ICCP group of the bundle in singleton + mode (1 = singleton; 0 = not singleton)"; + } + list bfd-config { + description + "Configuration values for BFD on bundle members"; + uses BM-BUNDLE-BFD-DATA-TYPE; + } + } + + grouping LACP-BUNDLE-DATA { + description + "Data for a LACP-enabled bundle interface"; + container actor-bundle-data { + description + "Basic bundle information"; + uses BM-BUNDLE-DATA; + } + container bundle-system-id { + description + "System ID for the bundle"; + uses BM-SYSTEM-ID-TYPE; + } + leaf actor-operational-key { + type uint16; + description + "Operational key of the interface"; + } + leaf partner-system-priority { + type uint16; + description + "Priority of the partner system"; + } + leaf partner-system-mac-address { + type yang:mac-address; + description + "MAC Address used to identify the partner system"; + } + leaf partner-operational-key { + type uint16; + description + "Operational key of the partner"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper.yang new file mode 100644 index 0000000..a61861b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-bundlemgr-oper.yang @@ -0,0 +1,1155 @@ +module Cisco-IOS-XR-bundlemgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-bundlemgr-oper"; + prefix bundlemgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-bundlemgr-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-bundlemgr-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR bundlemgr package operational data. + + This module contains definitions + for the following management objects: + lacp-bundles: LACP bundle data + bundle-information: bundle information + lacp-data: lacp data + bundles: bundles + lacp-bundle-members: lacp bundle members + bundles-adjacency: bundles adjacency + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-22 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lacp-bundles { + config false; + description + "LACP bundle data"; + container bundles { + description + "LACP bundle data"; + list bundle { + key "bundle-interface"; + description + "LACP Bundle interface"; + container data { + description + "Data for each Bundle"; + uses LACP-BUNDLE-DATA; + } + container members { + description + "LACP Member interface"; + list member { + key "member-interface"; + description + "Member information"; + leaf member-interface { + type xr:Interface-name; + description + "Member interface"; + } + uses BM-MEMBER-DATA; + } + } + leaf bundle-interface { + type xr:Interface-name; + description + "LACP Bundle interface"; + } + } + } + } + container bundle-information { + config false; + description + "bundle information"; + container bfd-counters { + description + "BFD counters information for bundles and members"; + container bfd-counters-bundles { + description + "Bundle interfaces with BFD counters information"; + list bfd-counters-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container bfd-counters-bundle-descendant { + description + "Data for this item and all its members"; + uses BMD-BFD-COUNTER-BAG-MULTIPLE; + } + container bfd-counters-bundle-children-members { + description + "Children of bundle with BFD counters + information"; + list bfd-counters-bundle-children-member { + key "member-interface"; + description + "Bundle member item with BFD counters + information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses BMD-BFD-COUNTER-BAG; + } + } + container bfd-counters-bundle-item { + description + "Data for this item"; + uses BM-NAME-BAG; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container bfd-counters-members { + description + "Member interfaces with BFD counters information"; + list bfd-counters-member { + key "member-interface"; + description + "Member interface"; + container bfd-counters-member-item { + description + "Data for this item"; + uses BMD-BFD-COUNTER-BAG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + } + container scheduled-actions { + description + "Scheduled actions on a bundle"; + container scheduled-actions-bundles { + description + "Bundles with actions scheduled"; + list scheduled-actions-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container scheduled-actions-bundle-item { + description + "Data for this item"; + uses BMD-SCH-ACTION-BAG; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + } + container bundle { + description + "Generic information for bundles and members"; + container bundle-bundles { + description + "Bundle interfaces with common bundle + information"; + list bundle-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container bundle-bundle-descendant { + description + "Data for this item and all its members"; + uses BM-BUNDLE-COMBINED-DATA; + } + container bundle-bundle-children-members { + description + "Children of bundle with common bundle + information"; + list bundle-bundle-children-member { + key "member-interface"; + description + "Bundle member item with common bundle + information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses BM-MEMBER-DATA; + } + } + container bundle-bundle-item { + description + "Data for this item"; + uses BM-BUNDLE-DATA; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container bundle-members { + description + "Member interfaces with common bundle + information"; + list bundle-member { + key "member-interface"; + description + "Member interface"; + container bundle-member-ancestor { + description + "Data for this item and its parent bundle"; + uses BM-BUNDLE-COMBINED-DATA; + } + container bundle-member-item { + description + "Data for this item"; + uses BM-MEMBER-DATA; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + } + container events-rg { + description + "Bundle ICCP events information for bundles and + members"; + container events-rg-members { + description + "Bundle Member interfaces with ICCP events + information"; + list events-rg-member { + key "member-interface"; + description + "Member interface"; + container events-rg-member-ancestor { + description + "Data for this item and its parent bundle"; + uses BMD-EVENT-BAG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + container events-rg-iccp-groups { + description + "ICCP events for all ICCP Groups"; + list events-rg-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container events-rg-bundle-item-iccp-group { + description + "Data for this item"; + uses BMD-EVENT-BAG; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + container events-rg-bundles { + description + "Bundle interfaces with ICCP events information"; + list events-rg-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container events-rg-bundle-ancestor { + description + "Data for this item and its parent bundle"; + uses BMD-EVENT-BAG; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + } + container lacp { + description + "LACP information for bundles and members"; + container lacp-bundles { + description + "Bundle interfaces with LACP information"; + list lacp-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container lacp-bundle-item { + description + "Data for this item"; + uses LACP-BUNDLE-DATA; + } + container lacp-bundle-descendant { + description + "Data for this item and all its members"; + uses LACP-COMBINED-DATA; + } + container lacp-bundle-children-members { + description + "Children of bundle with LACP information"; + list lacp-bundle-children-member { + key "member-interface"; + description + "Bundle member item with LACP information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses LACP-MBR-DATA; + } + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container lacp-members { + description + "Member interfaces with LACP information"; + list lacp-member { + key "member-interface"; + description + "Member interface"; + container lacp-member-ancestor { + description + "Data for this item and its parent bundle"; + uses LACP-COMBINED-DATA; + } + container lacp-member-item { + description + "Data for this item"; + uses LACP-MBR-DATA; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + } + container mlacp-bundle-counters { + description + "Bundle specific counters of mLACP events"; + container iccp-groups { + description + "ICCP Groups with counters of their bundle's + mLACP events"; + list iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container iccp-group-item { + description + "Data for this item"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + container bundles { + description + "Bundle interfaces with counters of mLACP events"; + list bundle { + key "bundle-interface"; + description + "Bundle interface"; + container bundle-item { + description + "Data for this item"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG-MULTIPLE; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container nodes { + description + "Devices with counters of their bundle's mLACP + events"; + list node { + key "node"; + description + "Node ID"; + container node-item { + description + "Data for this item"; + uses BMD-BAG-BDL-INFO-MLACP-COUNTERS-RG; + } + leaf node { + type string; + description + "For a local device the Node ID e.g. + '0_0_CPU0', for a peer device the LDP ID + followed by the ICCP Group ID e.g. '5.4.3.2 + ,4'"; + } + } + } + } + container protect { + description + "Information for bundles and members that are in + the protect database"; + container protect-bundles { + description + "Bundle interfaces with information in the + protect database"; + list protect-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container protect-bundle-item { + description + "Data for this item"; + uses BMD-BAG-PROT-BDL-INFO; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + } + container mlacp-brief { + description + "mLACP Information for Interchassis Groups and + bundles"; + container mlacp-bundle-briefs { + description + "Bundle interfaces with brief mLACP information"; + list mlacp-bundle-brief { + key "bundle-interface"; + description + "Bundle interface"; + container mlacp-bundle-item-brief { + description + "Data for this item"; + uses BMD-BAG-MLACP-DATA-MULTIPLE; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container mlacp-brief-iccp-groups { + description + "ICCP Groups with brief mLACP information"; + list mlacp-brief-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container mlacp-brief-iccp-group-item { + description + "Data for this item"; + uses BMD-BAG-MLACP-DATA; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container mlacp { + description + "mLACP Information for Interchassis Groups and + bundles"; + container mlacp-bundles { + description + "Bundle interfaces with mLACP information"; + list mlacp-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container mlacp-bundle-item { + description + "Data for this item"; + uses BMD-BAG-MLACP-DATA-MULTIPLE; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container mlacp-iccp-groups { + description + "ICCP Groups with mLACP information"; + list mlacp-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container mlacp-iccp-group-item { + description + "Data for this item"; + uses BMD-BAG-MLACP-DATA; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container mac-allocation { + description + "Information about allocated MAC addresses that + are not in use"; + container mac-allocation-global { + description + "All MAC addresses that are allocated but + currently not in use"; + container mac-allocation-global-item { + description + "Data for this item"; + uses BM-MAC-ALLOC; + } + } + } + container events { + description + "Events information for bundles and members"; + container events-members { + description + "Member interfaces with events information"; + list events-member { + key "member-interface"; + description + "Member interface"; + container events-member-item { + description + "Data for this item"; + uses BMD-EVENT-BAG; + } + container events-member-ancestor { + description + "Data for this item and its parent bundle"; + uses BMD-EVENT-BAG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + container events-bundles { + description + "Bundle interfaces with events information"; + list events-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container events-bundle-ancestor { + description + "Data for this item and its parent bundle"; + uses BMD-EVENT-BAG; + } + container events-bundle-item { + description + "Data for this item"; + uses BMD-EVENT-BAG; + } + container events-bundle-descendant { + description + "Data for this item and all its members"; + uses BMD-EVENT-BAG-MULTIPLE; + } + container events-bundle-children-members { + description + "Children of bundle with events information"; + list events-bundle-children-member { + key "member-interface"; + description + "Bundle member item with events information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses BMD-EVENT-BAG; + } + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + } + container events-bdl { + description + "Bundle events information for bundles and + members"; + container events-bdl-members { + description + "Member interfaces with bundle events + information"; + list events-bdl-member { + key "member-interface"; + description + "Member interface"; + container events-bdl-member-ancestor { + description + "Data for this item and its parent bundle"; + uses BMD-EVENT-BAG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + container events-bdl-bundles { + description + "Bundle interfaces with bundle events + information"; + list events-bdl-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container events-bdl-bundle-item { + description + "Data for this item"; + uses BMD-EVENT-BAG; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container events-bdl-iccp-groups { + description + "Bundle events for all ICCP Groups"; + list events-bdl-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container events-bdl-bundle-descendant-iccp-group { + description + "Data for this item and all its members"; + uses BMD-EVENT-BAG-MULTIPLE; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container bundle-briefs { + description + "Bundle interfaces with common bundle information"; + list bundle-brief { + key "bundle-interface"; + description + "Bundle interface"; + container bundle-brief-item { + description + "Data for this item"; + uses BM-BUNDLE-DATA; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container events-mbr { + description + "Bundle member events information for bundles and + members"; + container events-mbr-bundles { + description + "Bundle interfaces with member events + information"; + list events-mbr-bundle { + key "bundle-interface"; + description + "Bundle interface"; + container events-mbr-bundle-children-members { + description + "Children of bundle with member events + information"; + list events-mbr-bundle-children-member { + key "member-interface"; + description + "Bundle member item with member events + information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses BMD-EVENT-BAG; + } + } + container events-mbr-bundle-descendant { + description + "Data for this item and all its members"; + uses BMD-EVENT-BAG-MULTIPLE; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container events-mbr-members { + description + "Member interfaces with bundle member events + information"; + list events-mbr-member { + key "member-interface"; + description + "Member interface"; + container events-mbr-member-item { + description + "Data for this item"; + uses BMD-EVENT-BAG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + container events-mbr-iccp-groups { + description + "Member events for all ICCP Groups"; + list events-mbr-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container events-mbr-bundle-children-member-iccp-groups { + description + "Children of bundle with member events + information"; + list events-mbr-bundle-children-member-iccp-group { + key "member-interface"; + description + "Bundle member item with ICCP events + information"; + leaf member-interface { + type string; + description + "Member interface"; + } + uses BMD-EVENT-BAG; + } + } + container events-mbr-bundle-descendant-iccp-group { + description + "Data for this item and all its members"; + uses BMD-EVENT-BAG-MULTIPLE; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container mlacp-iccp-group-counters { + description + "ICCP Group specific counters of mLACP events"; + container iccp-groups { + description + "ICCP Groups with counters of mLACP events"; + list iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container iccp-group-ancestor-bundle { + description + "Data for this item and its parent RG"; + uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; + } + container iccp-group-ancestor-member { + description + "Data for this item and its parent RG"; + uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; + } + container iccp-group-ancestor-node { + description + "Data for this item and its parent RG"; + uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; + } + container iccp-group-item { + description + "Data for this item"; + uses BMD-BAG-RG-INFO-MLACP-COUNTERS-RG; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container system-id { + description + "System Identifiers for the local system and all + ICCP Groups"; + container system-id-global { + description + "System Identifier for the local system"; + container system-id-global-item { + description + "Data for this item"; + uses LACP-SYSTEM-ID; + } + } + container system-id-iccp-groups { + description + "System Identifiers for all ICCP Groups"; + list system-id-iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container system-id-iccp-group-item { + description + "Data for this item"; + uses LACP-SYSTEM-ID; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + } + container mlacp-member-counters { + description + "Member specific counters of mLACP events"; + container iccp-groups { + description + "ICCP Groups with counters of their member's + mLACP events"; + list iccp-group { + key "iccp-group"; + description + "ICCP Group ID"; + container iccp-group-item { + description + "Data for this item and all its members"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; + } + leaf iccp-group { + type uint32 { + range "1..4294967295"; + } + description + "ICCP Group ID"; + } + } + } + container members { + description + "Member interfaces with counters of mLACP events"; + list member { + key "member-interface"; + description + "Member interface"; + container member-item { + description + "Data for this item"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; + } + leaf member-interface { + type string; + description + "Member interface"; + } + } + } + container bundles { + description + "Bundle interfaces with counters of their + member's mLACP events"; + list bundle { + key "bundle-interface"; + description + "Bundle interface"; + container bundle-item { + description + "Data for this item"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-BDL; + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + container nodes { + description + "Devices with counters of their member's mLACP + events"; + list node { + key "node"; + description + "Node ID"; + container node-item { + description + "Data for this item"; + uses BMD-BAG-MBR-INFO-MLACP-COUNTERS-RG; + } + leaf node { + type string; + description + "For a local device the Node ID e.g. + '0_0_CPU0', for a peer device the LDP ID + followed by the ICCP Group ID e.g. '5.4.3.2 + ,4'"; + } + } + } + } + } + container lacp-data { + config false; + description + "lacp data"; + container global { + description + "Global LACP data"; + container system-id { + description + "LACP System ID"; + uses LACP-SYSTEM-ID; + } + } + } + container bundles { + config false; + description + "bundles"; + container bundles { + description + "Per bundle operational data"; + list bundle { + key "bundle-interface"; + description + "Bundle interface"; + container data { + description + "Data for each Bundle"; + uses BM-BUNDLE-DATA; + } + container members { + description + "Member interface"; + list member { + key "member-interface"; + description + "Member information"; + leaf member-interface { + type xr:Interface-name; + description + "Member interface"; + } + uses BM-MEMBER-DATA; + } + } + leaf bundle-interface { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + } + container lacp-bundle-members { + config false; + description + "lacp bundle members"; + container nodes { + description + "Table of devices with their LACP bundle member + interfaces"; + list node { + key "node"; + description + "Node ID"; + container counters { + description + "Link counters for LACP bundle members per node"; + uses LACP-DROPS; + } + leaf node { + type string; + description + "For a local device the Node ID e.g. '0_0_CPU0' + , for a peer device the LDP ID followed by the + ICCP Group ID e.g. '5.4.3.2,4'"; + } + } + } + container members { + description + "Table of LACP bundle member interfaces"; + list member { + key "member-interface"; + description + "LACP bundle member interface data"; + container data { + description + "Link data for LACP bundle members"; + uses LACP-LINK-DATA; + } + container counters { + description + "Link counters for LACP bundle members"; + uses LACP-COUNTERS; + } + leaf member-interface { + type xr:Interface-name; + description + "Member interface"; + } + } + } + } + container bundles-adjacency { + config false; + description + "bundles adjacency"; + container nodes { + description + "Per bundle operational data"; + list node { + key "node-name"; + description + "Location"; + container brief { + description + "Brief load-balance information for the node"; + uses BMA-BRIEF-DATA; + } + container bundles { + description + "Per bundle operational data"; + list bundle { + key "bundle-name"; + description + "Bundle information"; + container bundle-info { + description + "Data for each Bundle"; + uses BMA-BUNDLE-DATA; + } + leaf bundle-name { + type xr:Interface-name; + description + "Bundle interface"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-call-home-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-call-home-cfg.yang new file mode 100644 index 0000000..8e9013a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-call-home-cfg.yang @@ -0,0 +1,735 @@ +module Cisco-IOS-XR-call-home-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-call-home-cfg"; + prefix call-home-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR call-home package configuration. + + This module contains definitions + for the following management objects: + call-home: Set CallHome parameters + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-13 { + description + "Initial version."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Call-home-mail-send-interval { + type enumeration { + enum "daily" { + value 0; + description + "Daily call-home message"; + } + enum "weekly" { + value 1; + description + "Weekly call-home message"; + } + enum "monthly" { + value 2; + description + "Monthly call-home message"; + } + } + description + "Call home mail send interval"; + } + + typedef Call-home-day-of-week { + type enumeration { + enum "sunday" { + value 0; + description + "Sunday"; + } + enum "monday" { + value 1; + description + "Monday"; + } + enum "tuesday" { + value 2; + description + "Tuesday"; + } + enum "wednesday" { + value 3; + description + "Wednesday"; + } + enum "thursday" { + value 4; + description + "Thursday"; + } + enum "friday" { + value 5; + description + "Friday"; + } + enum "saturday" { + value 6; + description + "Saturday"; + } + } + description + "Call home day of week"; + } + + typedef Call-home-event-severity { + type enumeration { + enum "debugging" { + value 0; + description + "Debugging event"; + } + enum "normal" { + value 1; + description + "Normal event"; + } + enum "notification" { + value 2; + description + "Notification event"; + } + enum "warning" { + value 3; + description + "Warning event"; + } + enum "minor" { + value 4; + description + "Minor event"; + } + enum "major" { + value 5; + description + "Major event"; + } + enum "critical" { + value 6; + description + "Critical event"; + } + enum "fatal" { + value 7; + description + "Fatal event"; + } + enum "disaster" { + value 8; + description + "Disaster event"; + } + enum "catastrophic" { + value 9; + description + "Catastrophic event"; + } + } + description + "Call home event severity"; + } + + typedef Snapshot-interval { + type enumeration { + enum "daily" { + value 0; + description + "Daily call-home message"; + } + enum "weekly" { + value 1; + description + "Weekly call-home message"; + } + enum "monthly" { + value 2; + description + "Monthly call-home message"; + } + } + description + "Snapshot interval"; + } + + typedef Call-home-trans-method { + type enumeration { + enum "email" { + value 1; + description + "To add email address to lthis profile"; + } + enum "http" { + value 2; + description + "To add destination address(1-200) characters"; + } + } + description + "Call home trans method"; + } + + typedef Data-privacy-level { + type enumeration { + enum "normal" { + value 0; + description + "Normal"; + } + enum "high" { + value 1; + description + "High"; + } + enum "host-name" { + value 2; + description + "HostName"; + } + } + description + "Data privacy level"; + } + + container call-home { + description + "Set CallHome parameters"; + container mail-servers { + description + "List of call-home mail_server"; + list mail-server { + key "mail-serv-address"; + description + "Email server"; + leaf priority { + type uint32 { + range "1..100"; + } + description + "Mail server with lower # will be used first"; + } + leaf mail-serv-address { + type string; + description + "Email server"; + } + } + } + container syslog-throttling { + description + "Enable or disable call-home syslog message + throttling"; + leaf active { + type boolean; + description + "Active syslog throttling"; + } + } + container smart-licensing { + description + "Enable/disable licensing messages. By default is + enabled."; + leaf profile-name { + type string; + description + "To specify existing profile name used for TG so + that licensing message"; + } + leaf active { + type empty; + description + "Active the smart-licensing"; + } + } + container http-proxy { + description + "http proxy server address and port"; + leaf server-address { + type string; + description + "http proxy server address"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "http proxy server's port"; + } + } + container profiles { + description + "List of profiles"; + list profile { + key "profile-name"; + description + "A specific profile"; + container report-type { + description + "Choose what data to report"; + container reporting-callhome-data { + description + "Report smart call-home data"; + leaf enable { + type boolean; + description + "Enable report smart call-home data"; + } + } + container reporting-licensing-data { + description + "Report smart licensing data"; + leaf enable { + type boolean; + description + "Enable report smart licensing data"; + } + } + } + container methods { + description + "Transport method (http or email)"; + list method { + key "method"; + description + "Transport method"; + leaf enable { + type boolean; + description + "Enable this transport method"; + } + leaf method { + type Call-home-trans-method; + description + "Transport Method"; + } + } + } + container addresses { + description + "List of destination address"; + list address { + key "method destination-addr"; + description + "A specific address"; + leaf enable { + type boolean; + description + "Set the address"; + } + leaf method { + type Call-home-trans-method; + description + "Transpotation Method"; + } + leaf destination-addr { + type string { + length "1..200"; + } + description + "Destination address (1-200) characters"; + } + } + } + container subscribe-alert-group { + description + "Subscribe to alert-group"; + container environment { + description + "environmental info"; + leaf severity { + type Call-home-event-severity; + description + "Severity"; + } + } + container configuration { + description + "configuration info"; + container periodic { + description + "Periodic call-home message"; + leaf interval { + type Call-home-mail-send-interval; + description + "none"; + } + leaf day { + type uint32 { + range "0..31"; + } + description + "Day"; + } + leaf weekday { + type Call-home-day-of-week; + description + "Day of week"; + } + leaf hour { + type uint32 { + range "0..23"; + } + description + "Hour"; + } + leaf minute { + type uint32 { + range "0..59"; + } + description + "Minute"; + } + } + leaf subscribe { + type empty; + description + "Subscribe the alert-group"; + } + } + container snapshot { + description + "snapshot info"; + container periodic { + description + "Periodic call-home message"; + leaf interval { + type Snapshot-interval; + description + "none"; + } + leaf day { + type uint32 { + range "0..31"; + } + description + "Day of month"; + } + leaf weekday { + type Call-home-day-of-week; + description + "Day of week"; + } + leaf hour { + type uint32 { + range "0..23"; + } + description + "Hour"; + } + leaf minute { + type uint32 { + range "0..59"; + } + description + "Minute"; + } + } + } + container inventory { + description + "inventory info"; + container periodic { + description + "Periodic call-home message"; + leaf interval { + type Call-home-mail-send-interval; + description + "none"; + } + leaf day { + type uint32 { + range "0..31"; + } + description + "Day of month"; + } + leaf weekday { + type Call-home-day-of-week; + description + "Day of week"; + } + leaf hour { + type uint32 { + range "0..23"; + } + description + "Hour"; + } + leaf minute { + type uint32 { + range "0..59"; + } + description + "Minute"; + } + } + leaf subscribe { + type empty; + description + "Subscribe the alert-group"; + } + } + container crash { + description + "Crash info"; + leaf subscribe { + type empty; + description + "Subscribe crash group"; + } + } + container syslogs { + description + "syslog info"; + list syslog { + key "syslog-pattern"; + description + "Syslog message pattern to be matched"; + leaf severity { + type Call-home-event-severity; + description + "Severity"; + } + leaf syslog-pattern { + type string { + length "1..80"; + } + description + "Syslog message pattern to be matched"; + } + } + } + } + leaf create { + type empty; + description + "Create a profile"; + } + leaf message-format { + type string; + description + "none"; + } + leaf anonymous { + type boolean; + description + "Enable call-home anonymous reporting only"; + } + leaf message-size-limit { + type uint32 { + range "50..3145728"; + } + description + "To specify message size limit for this profile"; + } + leaf active { + type empty; + description + "Activate the current profile"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + } + } + container alert-groups { + description + "List of alert-group"; + list alert-group { + key "alert-group-name"; + description + "A specific alert-group"; + leaf enable { + type boolean; + description + "Enable the alert-group"; + } + leaf disable { + type boolean; + description + "Disable the alert-group"; + } + leaf alert-group-name { + type xr:Cisco-ios-xr-string; + description + "none"; + } + } + } + container data-privacies { + description + "Set call-home data-privacy"; + list data-privacy { + key "host-name"; + description + "level hostname"; + leaf level { + type Data-privacy-level; + description + "Set call-home data-privacy level"; + } + leaf host-name { + type string; + description + "Data privacy type (hostname or level)"; + } + } + } + container alert-group-config { + description + "alert-group config"; + container snapshot-commands { + description + "snapshot for adding CLI command"; + list snapshot-command { + key "command"; + description + "A specific CLI cmd for snapshot"; + leaf active { + type empty; + description + "enable snapshot cmd"; + } + leaf command { + type string { + length "1..127"; + } + description + "new added command"; + } + } + } + } + container authorization { + description + "Config aaa authorization, default username is + callhome"; + leaf username { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Username for authorization. default is callhome"; + } + leaf active { + type empty; + description + "Enable call-home aaa-authorization"; + } + } + leaf customer-id { + type string { + length "1..64"; + } + description + "Customer identification for Cisco Smart Call + Home"; + } + leaf phone-number { + type string { + length "1..17"; + } + description + "Phone number of the contact person."; + } + leaf contact-smart-licensing { + type boolean; + description + "System Contact is Smart Licensing"; + } + leaf contact-email-address { + type string { + length "1..194"; + } + description + "Contact person's email address"; + } + leaf rate-limit { + type uint32 { + range "1..5"; + } + description + "Call-home event trigger rate-limit threshold per + minute."; + } + leaf site-id { + type string { + length "1..200"; + } + description + "Site identification for Cisco Smart Call Home"; + } + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Vrf routing/forwarding instance name"; + } + leaf street-address { + type string { + length "1..200"; + } + description + "Street address, city, state, and zip code."; + } + leaf source-interface { + type xr:Interface-name; + description + "Source interface name to send call-home messages"; + } + leaf contract-id { + type string { + length "1..64"; + } + description + "Contract identification for Cisco Smart Call + Home"; + } + leaf reply-to { + type string; + description + "Call home msg's reply-to email address"; + } + leaf from { + type string; + description + "Call home msg's from email address"; + } + leaf active { + type empty; + description + "Enable call-home service"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-cfg.yang new file mode 100644 index 0000000..a813f4e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-cfg.yang @@ -0,0 +1,96 @@ +module Cisco-IOS-XR-cdp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-cfg"; + prefix cdp-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR cdp package configuration. + + This module contains definitions + for the following management objects: + cdp: Global CDP configuration data + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-16 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container cdp { + description + "Interface specific CDP configuration"; + leaf enable { + type empty; + description + "Enable or disable CDP on an interface"; + } + } + } + container cdp { + description + "Global CDP configuration data"; + leaf timer { + type uint32 { + range "5..255"; + } + default "60"; + description + "Specify the rate at which CDP packets are sent"; + } + leaf advertise-v1-only { + type empty; + description + "Enable CDPv1 only advertisements"; + } + leaf enable { + type boolean; + default "true"; + description + "Enable or disable CDP globally"; + } + leaf hold-time { + type uint32 { + range "10..255"; + } + default "180"; + description + "Length of time (in sec) that the receiver must + keep a CDP packet"; + } + leaf log-adjacency { + type empty; + description + "Enable logging of adjacency changes"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper-sub1.yang new file mode 100644 index 0000000..6bd2bdf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper-sub1.yang @@ -0,0 +1,338 @@ +submodule Cisco-IOS-XR-cdp-oper-sub1 { + belongs-to Cisco-IOS-XR-cdp-oper { + prefix Cisco-IOS-XR-cdp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR cdp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Revison descritption string."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Im-state { + type uint32; + description + "Im state"; + } + + typedef Cdp-duplex { + type enumeration { + enum "cdp-dplx-none" { + value 0; + description + "cdp dplx none"; + } + enum "cdp-dplx-half" { + value 1; + description + "cdp dplx half"; + } + enum "cdp-dplx-full" { + value 2; + description + "cdp dplx full"; + } + } + description + "Cdp duplex"; + } + + typedef In6-addr { + type inet:ipv6-address; + description + "In6 addr"; + } + + typedef Cdp-l3-addr-protocol { + type enumeration { + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + } + description + "Cdp l3 addr protocol"; + } + + grouping CDP-INTERFACE { + description + "Information about an interface that CDP is + running on"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface"; + } + leaf basecaps-state { + type Im-state; + description + "Interface basecaps state"; + } + leaf cdp-protocol-state { + type Im-state; + description + "CDP protocol state"; + } + leaf interface-encaps { + type string; + description + "Interface encapsulation"; + } + } + + grouping CDP-STATS { + description + "CDP statistics"; + leaf received-packets { + type uint32; + description + "Received packets"; + } + leaf received-packets-v1 { + type uint32; + description + "Received v1 packets"; + } + leaf received-packets-v2 { + type uint32; + description + "Received v2 packets"; + } + leaf transmitted-packets { + type uint32; + description + "Transmitted packets"; + } + leaf transmitted-packets-v1 { + type uint32; + description + "Transmitted v1 packets"; + } + leaf transmitted-packets-v2 { + type uint32; + description + "Transmitted v2 packets"; + } + leaf header-errors { + type uint32; + description + "Header syntax errors"; + } + leaf checksum-errors { + type uint32; + description + "Checksum errors"; + } + leaf encapsulation-errors { + type uint32; + description + "Transmission errors"; + } + leaf bad-packet-errors { + type uint32; + description + "Bad packet received and dropped"; + } + leaf out-of-memory-errors { + type uint32; + description + "Out-of-memory conditions"; + } + leaf truncated-packet-errors { + type uint32; + description + "Truncated messages"; + } + leaf header-version-errors { + type uint32; + description + "Can't handle receive version"; + } + leaf open-file-errors { + type uint32; + description + "Cannot open file"; + } + } + + grouping CDP-PROTOCOL-HELLO-ENTRY { + description + "CDP Protocol Hello entry"; + list cdp-prot-hello-entry { + description + "cdp prot hello entry"; + leaf hello-message { + type yang:hex-string; + description + "Protocol Hello msg"; + } + } + } + + grouping CDP-L3-ADDR { + description + "CDP L3 ADDR"; + leaf address-type { + type Cdp-l3-addr-protocol; + description + "AddressType"; + } + leaf ipv4-address { + when "../address-type = 'ipv4'" { + description + "../AddressType = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../address-type = 'ipv6'" { + description + "../AddressType = 'IPv6'"; + } + type In6-addr; + description + "IPv6 address"; + } + } + + grouping CDP-ADDRESS-ENTRY { + description + "CDP Address entry"; + list cdp-addr-entry { + description + "cdp addr entry"; + container address { + description + "Network layer address"; + uses CDP-L3-ADDR; + } + } + } + + grouping CDP-NEIGHBOR-ENTRY-DETAILS { + description + "Detailed neighbor info"; + container network-addresses { + description + "List of network addresses "; + uses CDP-ADDRESS-ENTRY; + } + container protocol-hello-list { + description + "List of protocol hello entries"; + uses CDP-PROTOCOL-HELLO-ENTRY; + } + leaf version { + type string; + description + "Version TLV"; + } + leaf vtp-domain { + type string; + description + "VTP domain"; + } + leaf native-vlan { + type uint32; + description + "Native VLAN"; + } + leaf duplex { + type Cdp-duplex; + description + "Duplex setting"; + } + leaf system-name { + type string; + description + "SysName"; + } + } + + grouping CDP-NEIGHBOR { + description + "CDP neighbor info"; + list cdp-neighbor { + description + "cdp neighbor"; + container detail { + description + "Detailed neighbor info"; + uses CDP-NEIGHBOR-ENTRY-DETAILS; + } + leaf receiving-interface-name { + type xr:Interface-name; + description + "Interface the neighbor entry was received on "; + } + leaf device-id { + type string; + description + "Device identifier"; + } + leaf port-id { + type string; + description + "Outgoing port identifier"; + } + leaf header-version { + type uint8; + description + "Version number"; + } + leaf hold-time { + type uint16; + description + "Remaining hold time"; + } + leaf capabilities { + type string; + description + "Capabilities"; + } + leaf platform { + type string; + description + "Platform type"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper.yang new file mode 100644 index 0000000..9561cc1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cdp-oper.yang @@ -0,0 +1,144 @@ +module Cisco-IOS-XR-cdp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cdp-oper"; + prefix cdp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-cdp-oper-sub1 { + revision-date 2015-07-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR cdp package operational data. + + This module contains definitions + for the following management objects: + cdp: CDP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Revison descritption string."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container cdp { + config false; + description + "CDP operational data"; + container nodes { + description + "Per node CDP operational data"; + list node { + key "node-name"; + description + "The CDP operational data for a particular node"; + container neighbors { + description + "The CDP neighbor tables on this node"; + container details { + description + "The detailed CDP neighbor table"; + list detail { + description + "Detailed information about a CDP neighbor + entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + uses CDP-NEIGHBOR; + } + } + container devices { + description + "The detailed CDP neighbor table"; + list device { + key "device-id"; + description + "Detailed information about a CDP neighbor + entry"; + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + uses CDP-NEIGHBOR; + } + } + container summaries { + description + "The CDP neighbor summary table"; + list summary { + description + "Brief information about a CDP neighbor entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + uses CDP-NEIGHBOR; + } + } + } + container statistics { + description + "The CDP traffic statistics for this node"; + uses CDP-STATS; + } + container interfaces { + description + "The table of interfaces on which CDP is + running on this node"; + list interface { + key "interface-name"; + description + "Operational data for an interface on which + CDP is running"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses CDP-INTERFACE; + } + } + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cfgmgr-rollback-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cfgmgr-rollback-act.yang new file mode 100644 index 0000000..e0c5363 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cfgmgr-rollback-act.yang @@ -0,0 +1,116 @@ +module Cisco-IOS-XR-cfgmgr-rollback-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cfgmgr-rollback-act"; + prefix rollback-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-17 { + description + "IOS XR 6.1.1 revision."; + } + + grouping ROLLBACK-ATTRIBUTES { + leaf force { + when "../best-effort = 'false'" { + description + "Only when best-effort is false."; + } + type boolean; + default "false"; + description + "Override commit blocks"; + } + leaf best-effort { + when "../force = 'false'" { + description + "Only when force is false."; + } + type boolean; + default "false"; + description + "Rollback via best-effort operation"; + } + leaf label { + type string; + description + "Assign a label to this rollback"; + } + leaf comment { + type string; + description + "Assign a comment to this rollback"; + } + } + + rpc roll-back-configuration-last { + description + "Rollback last commits made"; + input { + leaf count { + type int32 { + range "1..100"; + } + mandatory true; + description + "Number of commits to rollback"; + } + uses ROLLBACK-ATTRIBUTES; + } + } + rpc roll-back-configuration-to { + description + "Rollback up to (and including) a specific commit"; + input { + leaf commit-id { + type string; + mandatory true; + description + "Commit ID"; + } + uses ROLLBACK-ATTRIBUTES; + } + } + rpc roll-back-configuration-to-exclude { + description + "Rollback up to (and excluding) a specific commit"; + input { + leaf commit-id { + type string; + mandatory true; + description + "Commit ID"; + } + uses ROLLBACK-ATTRIBUTES; + } + } + rpc roll-back-configuration { + description + "Rollback a specific commit"; + input { + leaf commit-id { + type string; + mandatory true; + description + "Commit ID"; + } + uses ROLLBACK-ATTRIBUTES; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-cfg.yang new file mode 100644 index 0000000..0b5bf2f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-cfg.yang @@ -0,0 +1,3584 @@ +module Cisco-IOS-XR-clns-isis-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-cfg"; + prefix clns-isis-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-clns-isis-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR clns-isis package configuration. + + This module contains definitions + for the following management objects: + isis: IS-IS configuration for all instances + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-20 { + description + "Change micro-loop-avoidance enable default to none. Add distribute-list-in and vrf-context."; + } + revision 2017-06-02 { + description + "IOS XR 6.3.2 Removed must statements from key leafs."; + } + revision 2017-05-22 { + description + "IOS XR 6.3.2 revision with schema changes for opencfg support and some string boundary checking."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Nflag-clear { + type enumeration { + enum "disable" { + value 0; + description + "Disable N-flag-clear"; + } + enum "enable" { + value 1; + description + "Enable N-flag-clear"; + } + } + description + "Nflag clear"; + } + + typedef Isis-adv-type-inter-level { + type enumeration { + enum "inter-level" { + value 1; + description + "InterLevel"; + } + } + description + "Isis adv type inter level"; + } + + typedef Isis-interface-state { + type enumeration { + enum "shutdown" { + value 0; + description + "Shutdown"; + } + enum "suppressed" { + value 1; + description + "Suppressed"; + } + enum "passive" { + value 2; + description + "Passive"; + } + enum "enabled-active" { + value 3; + description + "EnabledActive"; + } + } + description + "Isis interface state"; + } + + typedef Isisfrr { + type enumeration { + enum "per-link" { + value 1; + description + "Prefix independent per-link computation"; + } + enum "per-prefix" { + value 2; + description + "Prefix dependent computation"; + } + } + description + "Isisfrr"; + } + + typedef Isisfrr-load-sharing { + type enumeration { + enum "disable" { + value 1; + description + "Disable load sharing of prefixes across + multiple backups"; + } + } + description + "Isisfrr load sharing"; + } + + typedef Isis-authentication-failure-mode { + type enumeration { + enum "drop" { + value 0; + description + "Drop non-authenticating PDUs"; + } + enum "send-only" { + value 1; + description + "Accept non-authenticating PDUs"; + } + } + description + "Isis authentication failure mode"; + } + + typedef Isis-apply-weight { + type enumeration { + enum "ecmp-only" { + value 1; + description + "Apply weight to ECMP prefixes"; + } + enum "ucmp-only" { + value 2; + description + "Apply weight to UCMP prefixes"; + } + enum "ecmp-only-bandwidth" { + value 3; + description + "Apply weight to ECMP prefixes"; + } + } + description + "Isis apply weight"; + } + + typedef Isis-label-preference { + type enumeration { + enum "ldp" { + value 0; + description + "Label Distribution Protocol"; + } + enum "segment-routing" { + value 1; + description + "Segment Routing"; + } + } + description + "Isis label preference"; + } + + typedef Isis-metric-style-transition { + type enumeration { + enum "disabled" { + value 0; + description + "Disabled"; + } + enum "enabled" { + value 1; + description + "Enabled"; + } + } + description + "Isis metric style transition"; + } + + typedef Isissid1 { + type enumeration { + enum "index" { + value 1; + description + "SID as an index"; + } + enum "absolute" { + value 2; + description + "SID as an absolute label"; + } + } + description + "Isissid1"; + } + + typedef Isis-metric { + type enumeration { + enum "internal" { + value 0; + description + "Internal metric"; + } + enum "external" { + value 1; + description + "External metric"; + } + enum "rib-internal" { + value 2; + description + "RIB Internal metric"; + } + enum "rib-external" { + value 3; + description + "RIB External metric"; + } + } + description + "Isis metric"; + } + + typedef Isis-attached-bit { + type enumeration { + enum "area" { + value 0; + description + "Computed from the attached areas"; + } + enum "on" { + value 1; + description + "Forced ON"; + } + enum "off" { + value 2; + description + "Forced OFF"; + } + } + description + "Isis attached bit"; + } + + typedef Isis-configurable-levels { + type enumeration { + enum "level1" { + value 1; + description + "Level1"; + } + enum "level2" { + value 2; + description + "Level2"; + } + enum "level1-and2" { + value 3; + description + "Both Levels"; + } + } + description + "Isis configurable levels"; + } + + typedef Isissid { + type uint32 { + range "0..1048575"; + } + description + "Isissid"; + } + + typedef Isis-hello-padding { + type enumeration { + enum "never" { + value 0; + description + "Never pad Hellos"; + } + enum "sometimes" { + value 1; + description + "Pad Hellos during adjacency formation only"; + } + } + description + "Isis hello padding"; + } + + typedef Isis-snp-auth { + type enumeration { + enum "send-only" { + value 0; + description + "Authenticate SNP send only"; + } + enum "full" { + value 1; + description + "Authenticate SNP send and recv"; + } + } + description + "Isis snp auth"; + } + + typedef Isis-interface-af-state { + type enumeration { + enum "disable" { + value 0; + description + "Disable"; + } + } + description + "Isis interface af state"; + } + + typedef Isisexplicit-null-flag { + type enumeration { + enum "disable" { + value 0; + description + "Disable EXPLICITNULL"; + } + enum "enable" { + value 1; + description + "Enable EXPLICITNULL"; + } + } + description + "Isisexplicit null flag"; + } + + typedef Isis-redist-proto { + type enumeration { + enum "connected" { + value 0; + description + "Connected"; + } + enum "static" { + value 1; + description + "Static"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + enum "bgp" { + value 3; + description + "BGP"; + } + enum "isis" { + value 4; + description + "ISIS"; + } + enum "ospfv3" { + value 5; + description + "OSPFv3"; + } + enum "rip" { + value 6; + description + "RIP"; + } + enum "eigrp" { + value 7; + description + "EIGRP"; + } + enum "subscriber" { + value 8; + description + "Subscriber"; + } + enum "application" { + value 9; + description + "Application"; + } + enum "mobile" { + value 10; + description + "Mobile"; + } + } + description + "Isis redist proto"; + } + + typedef Isis-tracing-mode { + type enumeration { + enum "off" { + value 0; + description + "No tracing"; + } + enum "basic" { + value 1; + description + "Basic tracing (less overhead)"; + } + enum "enhanced" { + value 2; + description + "Enhanced tracing (more overhead)"; + } + } + description + "Isis tracing mode"; + } + + typedef Isis-prefix-priority { + type enumeration { + enum "critical-priority" { + value 0; + description + "Critical prefix priority"; + } + enum "high-priority" { + value 1; + description + "High prefix priority"; + } + enum "medium-priority" { + value 2; + description + "Medium prefix priority"; + } + } + description + "Isis prefix priority"; + } + + typedef Isis-authentication-algorithm { + type enumeration { + enum "cleartext" { + value 1; + description + "Cleartext password"; + } + enum "hmac-md5" { + value 2; + description + "HMAC-MD5 checksum"; + } + enum "keychain" { + value 3; + description + "Key Chain authentication"; + } + } + description + "Isis authentication algorithm"; + } + + typedef Isisispf-state { + type enumeration { + enum "enabled" { + value 1; + description + "Enabled"; + } + } + description + "Isisispf state"; + } + + typedef Isissid-protected { + type enumeration { + enum "disable" { + value 0; + description + "Not protected"; + } + enum "enable" { + value 1; + description + "Protected"; + } + } + description + "Isissid protected"; + } + + typedef Isis-adv-type-external { + type enumeration { + enum "external" { + value 1; + description + "External"; + } + } + description + "Isis adv type external"; + } + + typedef Isisphp-flag { + type enumeration { + enum "enable" { + value 0; + description + "Enable PHP"; + } + enum "disable" { + value 1; + description + "Disable PHP"; + } + } + description + "Isisphp flag"; + } + + typedef Isis-metric-style { + type enumeration { + enum "old-metric-style" { + value 0; + description + "ISO 10589 metric style (old-style)"; + } + enum "new-metric-style" { + value 1; + description + "32-bit metric style (new-style)"; + } + enum "both-metric-style" { + value 2; + description + "Both forms of metric style"; + } + } + description + "Isis metric style"; + } + + typedef Isis-remote-lfa { + type enumeration { + enum "remote-lfa-none" { + value 0; + description + "No remote LFA option set"; + } + enum "remote-lfa-tunnel-ldp" { + value 1; + description + "Construct remote LFA tunnel using MPLS LDP"; + } + } + description + "Isis remote lfa"; + } + + typedef Isis-micro-loop-avoidance { + type enumeration { + enum "not-set" { + value 0; + description + "No Avoidance type set"; + } + enum "micro-loop-avoidance-all" { + value 1; + description + "Provide mirco loop avoidance for all prefixes"; + } + enum "micro-loop-avoidance-protected" { + value 2; + description + "Provide mirco loop avoidance only for protected + prefixes"; + } + enum "micro-loop-avoidance-segement-routing" { + value 3; + description + "Provide segment-routing mirco loop avoidance"; + } + } + description + "Isis micro loop avoidance"; + } + + typedef Isis-adj-check { + type enumeration { + enum "disabled" { + value 0; + description + "Disabled"; + } + } + description + "Isis adj check"; + } + + typedef Isis-interface-frr-tiebreaker { + type enumeration { + enum "node-protecting" { + value 3; + description + "Prefer node protecting backup path"; + } + enum "srlg-disjoint" { + value 6; + description + "Prefer SRLG disjoint backup path"; + } + } + description + "Isis interface frr tiebreaker"; + } + + typedef Isis-overload-bit-mode { + type enumeration { + enum "permanently-set" { + value 1; + description + "Set always"; + } + enum "startup-period" { + value 2; + description + "Set during the startup period"; + } + enum "wait-for-bgp" { + value 3; + description + "Set until BGP comverges"; + } + } + description + "Isis overload bit mode"; + } + + typedef Isis-nsf-flavor { + type enumeration { + enum "cisco-proprietary-nsf" { + value 1; + description + "Cisco proprietary NSF"; + } + enum "ietf-standard-nsf" { + value 2; + description + "IETF standard NSF"; + } + } + description + "Isis nsf flavor"; + } + + typedef Isisfrr-tiebreaker { + type enumeration { + enum "downstream" { + value 0; + description + "Prefer backup path via downstream node"; + } + enum "lc-disjoint" { + value 1; + description + "Prefer line card disjoint backup path"; + } + enum "lowest-backup-metric" { + value 2; + description + "Prefer backup path with lowest total metric"; + } + enum "node-protecting" { + value 3; + description + "Prefer node protecting backup path"; + } + enum "primary-path" { + value 4; + description + "Prefer backup path from ECMP set"; + } + enum "secondary-path" { + value 5; + description + "Prefer non-ECMP backup path"; + } + enum "srlg-disjoint" { + value 6; + description + "Prefer SRLG disjoint backup path"; + } + } + description + "Isisfrr tiebreaker"; + } + + typedef Isis-mib-manual-address-drops-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 2; + description + "Enable"; + } + } + description + "Isis mib manual address drops boolean"; + } + + typedef Isis-mib-authentication-type-failure-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 9; + description + "Enable"; + } + } + description + "Isis mib authentication type failure boolean"; + } + + typedef Isis-mib-max-area-address-mismatch-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 6; + description + "Enable"; + } + } + description + "Isis mib max area address mismatch boolean"; + } + + typedef Isis-mib-sequence-number-skip-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 8; + description + "Enable"; + } + } + description + "Isis mib sequence number skip boolean"; + } + + typedef Isis-mib-database-over-flow-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 1; + description + "Enable"; + } + } + description + "Isis mib database over flow boolean"; + } + + typedef Isis-mib-all-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 19; + description + "Enable"; + } + } + description + "Isis mib all boolean"; + } + + typedef Isis-mib-lsp-too-large-to-propagate-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 14; + description + "Enable"; + } + } + description + "Isis mib lsp too large to propagate boolean"; + } + + typedef Isis-mib-own-lsp-purge-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 7; + description + "Enable"; + } + } + description + "Isis mib own lsp purge boolean"; + } + + typedef Isis-mib-adjacency-change-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 17; + description + "Enable"; + } + } + description + "Isis mib adjacency change boolean"; + } + + typedef Isis-mib-protocols-supported-mismatch-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 16; + description + "Enable"; + } + } + description + "Isis mib protocols supported mismatch boolean"; + } + + typedef Isis-mib-attempt-to-exceed-max-sequence-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 4; + description + "Enable"; + } + } + description + "Isis mib attempt to exceed max sequence boolean"; + } + + typedef Isis-mib-id-length-mismatch-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 5; + description + "Enable"; + } + } + description + "Isis mib id length mismatch boolean"; + } + + typedef Isis-mib-originated-lsp-buffer-size-mismatch-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 15; + description + "Enable"; + } + } + description + "Isis mib originated lsp buffer size mismatch + boolean"; + } + + typedef Isis-mib-area-mismatch-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 12; + description + "Enable"; + } + } + description + "Isis mib area mismatch boolean"; + } + + typedef Isis-mib-corrupted-lsp-detected-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 3; + description + "Enable"; + } + } + description + "Isis mib corrupted lsp detected boolean"; + } + + typedef Isis-mib-lsp-error-detected-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 18; + description + "Enable"; + } + } + description + "Isis mib lsp error detected boolean"; + } + + typedef Isis-mib-rejected-adjacency-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 13; + description + "Enable"; + } + } + description + "Isis mib rejected adjacency boolean"; + } + + typedef Isis-mib-version-skew-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 11; + description + "Enable"; + } + } + description + "Isis mib version skew boolean"; + } + + typedef Isis-mib-authentication-failure-boolean { + type enumeration { + enum "false" { + value 0; + description + "Disable"; + } + enum "true" { + value 10; + description + "Enable"; + } + } + description + "Isis mib authentication failure boolean"; + } + + grouping METRIC-TABLE { + description + "Common node of interface-af, af"; + container metrics { + description + "Metric configuration"; + list metric { + key "level"; + description + "Metric configuration. Legal value depends on + the metric-style specified for the topology. If + the metric-style defined is narrow, then only a + value between <1-63> is allowed and if the + metric-style is defined as wide, then a value + between <1-16777215> is allowed as the metric + value. All routers exclude links with the + maximum wide metric (16777215) from their SPF"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf metric { + type union { + type enumeration { + enum "maximum" { + value 16777215; + description + "Maximum wide metric. All routers will + exclude this link from their SPF"; + } + } + type uint32 { + range "1..16777215"; + } + } + mandatory true; + description + "Allowed metric: <1-63> for narrow, + <1-16777215> for wide"; + } + } + } + } + + grouping WEIGHT-TABLE { + description + "Common node of interface-af, af"; + container weights { + description + "Weight configuration"; + list weight { + key "level"; + description + "Weight configuration under interface for load + balancing"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf weight { + type uint32 { + range "1..16777214"; + } + mandatory true; + description + "Weight to be configured under interface for + Load Balancing. Allowed weight: <1-16777215>"; + } + } + } + } + + grouping MANUAL-ADJ-SID-TABLE { + description + "Common node of interface-af, af"; + container manual-adj-sids { + description + "Manual Adjacecy SID configuration"; + list manual-adj-sid { + key "level sid-type sid"; + description + "Assign adjancency SID to an interface"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf sid-type { + type Isissid1; + description + "Sid type aboslute or index"; + } + leaf sid { + type Isissid; + description + "Sid value"; + } + leaf protected { + type Isissid-protected; + mandatory true; + description + "Enable/Disable SID protection"; + } + } + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container isis { + description + "Enable ISIS-MIB notifications"; + leaf database-overflow { + type Isis-mib-database-over-flow-boolean; + default "false"; + description + "Enable or disable"; + } + leaf manual-address-drops { + type Isis-mib-manual-address-drops-boolean; + default "false"; + description + "Enable or disable"; + } + leaf corrupted-lsp-detected { + type Isis-mib-corrupted-lsp-detected-boolean; + default "false"; + description + "Enable or disable"; + } + leaf attempt-to-exceed-max-sequence { + type Isis-mib-attempt-to-exceed-max-sequence-boolean; + default "false"; + description + "Enable or disable"; + } + leaf id-length-mismatch { + type Isis-mib-id-length-mismatch-boolean; + default "false"; + description + "Enable or disable"; + } + leaf max-area-address-mismatch { + type Isis-mib-max-area-address-mismatch-boolean; + default "false"; + description + "Enable or disable"; + } + leaf own-lsp-purge { + type Isis-mib-own-lsp-purge-boolean; + default "false"; + description + "Enable or disable"; + } + leaf sequence-number-skip { + type Isis-mib-sequence-number-skip-boolean; + default "false"; + description + "Enable or disable"; + } + leaf authentication-type-failure { + type Isis-mib-authentication-type-failure-boolean; + default "false"; + description + "Enable or disable"; + } + leaf authentication-failure { + type Isis-mib-authentication-failure-boolean; + default "false"; + description + "Enable or disable"; + } + leaf version-skew { + type Isis-mib-version-skew-boolean; + default "false"; + description + "Enable or disable"; + } + leaf area-mismatch { + type Isis-mib-area-mismatch-boolean; + default "false"; + description + "Enable or disable"; + } + leaf rejected-adjacency { + type Isis-mib-rejected-adjacency-boolean; + default "false"; + description + "Enable or disable"; + } + leaf lsp-too-large-to-propagate { + type Isis-mib-lsp-too-large-to-propagate-boolean; + default "false"; + description + "Enable or disable"; + } + leaf originated-lsp-buffer-size-mismatch { + type Isis-mib-originated-lsp-buffer-size-mismatch-boolean; + default "false"; + description + "Enable or disable"; + } + leaf protocols-supported-mismatch { + type Isis-mib-protocols-supported-mismatch-boolean; + default "false"; + description + "Enable or disable"; + } + leaf adjacency-change { + type Isis-mib-adjacency-change-boolean; + default "false"; + description + "Enable or disable"; + } + leaf lsp-error-detected { + type Isis-mib-lsp-error-detected-boolean; + default "false"; + description + "Enable or disable"; + } + leaf all { + type Isis-mib-all-boolean; + default "false"; + description + "Enable all isisMIB notifications"; + } + } + } + container isis { + description + "IS-IS configuration for all instances"; + container instances { + description + "IS-IS instance configuration"; + list instance { + key "instance-name"; + description + "Configuration for a single IS-IS instance"; + container srgb { + presence "Indicates a srgb node is configured."; + description + "Segment Routing Global Block configuration"; + leaf lower-bound { + type uint32 { + range "16000..1048574"; + } + mandatory true; + description + "The lower bound of the SRGB"; + } + leaf upper-bound { + type uint32 { + range "16001..1048575"; + } + mandatory true; + description + "The upper bound of the SRGB"; + } + } + container lsp-generation-intervals { + description + "LSP generation-interval configuration"; + list lsp-generation-interval { + key "level"; + description + "LSP generation scheduling parameters"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf maximum-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Maximum wait before generating local LSP in + milliseconds"; + } + leaf initial-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Initial wait before generating local LSP in + milliseconds"; + } + leaf secondary-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Secondary wait before generating local LSP + in milliseconds"; + } + } + } + container lsp-arrival-times { + description + "LSP arrival time configuration"; + list lsp-arrival-time { + key "level"; + description + "Minimum LSP arrival time"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf maximum-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Maximum delay expected to take since last + LSPin milliseconds"; + } + leaf initial-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Initial delay expected to take since last + LSPin milliseconds"; + } + leaf secondary-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Secondary delay expected to take since last + LSPin milliseconds"; + } + } + } + container trace-buffer-size { + description + "Trace buffer size configuration"; + leaf detailed { + type uint32 { + range "1..1000000"; + } + description + "Buffer size for detailed traces"; + } + leaf standard { + type uint32 { + range "1..1000000"; + } + description + "Buffer size for standard traces"; + } + leaf severe { + type uint32 { + range "1..1000000"; + } + description + "Buffer size for severe trace"; + } + leaf hello { + type uint32 { + range "1..1000000"; + } + description + "Buffer size for hello trace"; + } + } + container max-link-metrics { + description + "Max Link Metric configuration"; + list max-link-metric { + key "level"; + description + "Max Link Metric"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + } + } + container adjacency-stagger { + presence "enable adjacency-stagger"; + description + "Stagger ISIS adjacency bring up"; + leaf initial-nbr { + type uint32 { + range "2..65000"; + } + default "2"; + description + "Adjacency Stagger: Initial number of + neighbors to bring up per area"; + } + leaf max-nbr { + type uint32 { + range "2..65000"; + } + default "64"; + description + "Adjacency Stagger: Subsequent simultaneous + number of neighbors to bring up"; + } + } + container afs { + description + "Per-address-family configuration"; + list af { + key "af-name saf-name"; + description + "Configuration for an IS-IS address-family. If + a named (non-default) topology is being + created it must be multicast."; + + grouping AF-CONTENT { + description + "Content grouping."; + container segment-routing { + description + "Enable Segment Routing configuration"; + container prefix-sid-map { + description + "Enable Segment Routing prefix SID map + configuration"; + leaf advertise-local { + type empty; + description + "Enable Segment Routing prefix SID map + advertise local"; + } + leaf receive { + type boolean; + description + "If TRUE, remote prefix SID map + advertisements will be used. If FALSE, + they will not be used."; + } + } + leaf bundle-member-adj-sid { + type empty; + description + "Enable per bundle member adjacency SID"; + } + leaf mpls { + type Isis-label-preference; + description + "Prefer segment routing labels over LDP + labels"; + } + } + container metric-styles { + description + "Metric-style configuration"; + list metric-style { + key "level"; + description + "Configuration of metric style in LSPs"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf style { + type Isis-metric-style; + default "old-metric-style"; + description + "Metric Style"; + } + leaf transition-state { + when "../style != 'both-metric-style'" { + description + "../Style != 2"; + } + type Isis-metric-style-transition; + default "disabled"; + description + "Transition state"; + } + } + } + container frr-table { + description + "Fast-ReRoute configuration"; + container frr-load-sharings { + description + "Load share prefixes across multiple + backups"; + list frr-load-sharing { + key "level"; + description + "Disable load sharing"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf load-sharing { + type Isisfrr-load-sharing; + mandatory true; + description + "Load sharing"; + } + } + } + container priority-limits { + description + "FRR prefix-limit configuration"; + list priority-limit { + key "level frr-type"; + description + "Limit backup computation upto the prefix + priority"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf frr-type { + type Isisfrr; + description + "Computation Type"; + } + leaf priority { + type Isis-prefix-priority; + mandatory true; + description + "Compute for all prefixes upto the + specified priority"; + } + } + } + container frr-remote-lfa-prefixes { + description + "FRR remote LFA prefix list filter + configuration"; + list frr-remote-lfa-prefix { + key "level"; + description + "Filter remote LFA router IDs using + prefix-list"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf prefix-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + mandatory true; + description + "Name of the prefix list"; + } + } + } + container frr-tiebreakers { + description + "FRR tiebreakers configuration"; + list frr-tiebreaker { + key "level tiebreaker"; + description + "Configure tiebreaker for multiple backups"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf tiebreaker { + type Isisfrr-tiebreaker; + description + "Tiebreaker for which configuration + applies"; + } + leaf index { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Preference order among tiebreakers"; + } + } + } + container frr-use-cand-onlies { + description + "FRR use candidate only configuration"; + list frr-use-cand-only { + key "level frr-type"; + description + "Configure use candidate only to exclude + interfaces as backup"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf frr-type { + type Isisfrr; + description + "Computation Type"; + } + } + } + } + container router-id { + description + "Stable IP address for system. Will only be + applied for the unicast sub-address-family."; + leaf address { + type inet:ip-address-no-zone; + must "not(../interface-name)"; + description + "IPv4/IPv6 address to be used as a router + ID. Precisely one of Address and Interface + must be specified."; + } + leaf interface-name { + type xr:Interface-name; + must "not(../address)"; + description + "Interface with designated stable IP + address to be used as a router ID. This + must be a Loopback interface. Precisely + one of Address and Interface must be + specified."; + } + } + container spf-prefix-priorities { + description + "SPF Prefix Priority configuration"; + list spf-prefix-priority { + key "level prefix-priority-type"; + description + "Determine SPF priority for prefixes"; + leaf level { + type dt1:Isis-internal-level; + description + "SPF Level for prefix prioritization"; + } + leaf prefix-priority-type { + type Isis-prefix-priority; + description + "SPF Priority to assign matching prefixes"; + } + leaf admin-tag { + type uint32 { + range "1..4294967295"; + } + must "not(../access-list-name)"; + description + "Tag value to determine prefixes for this + priority"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + must "not(../admin-tag)"; + description + "Access List to determine prefixes for + this priority"; + } + } + } + container summary-prefixes { + description + "Summary-prefix configuration"; + list summary-prefix { + key "address-prefix"; + description + "Configure IP address prefixes to advertise"; + leaf address-prefix { + type inet:ip-prefix; + description + "IP summary address prefix"; + } + leaf tag { + type uint32 { + range "1..4294967295"; + } + description + "The tag value"; + } + leaf level { + type uint32 { + range "1..2"; + } + description + "Level in which to summarize routes"; + } + } + } + container micro-loop-avoidance { + description + "Micro Loop Avoidance configuration"; + leaf enable { + type Isis-micro-loop-avoidance; + description + "MicroLoop avoidance enable configuration"; + } + leaf rib-update-delay { + type uint32 { + range "1000..65535"; + } + units "millisecond"; + default "5000"; + description + "Value of delay in msecs in updating RIB"; + } + } + container ucmp { + description + "UCMP (UnEqual Cost MultiPath) configuration"; + container enable { + description + "UCMP feature enable configuration"; + leaf variance { + type uint32 { + range "101..10000"; + } + default "200"; + description + "Value of variance"; + } + leaf prefix-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Prefix List"; + } + } + container exclude-interfaces { + description + "Interfaces excluded from UCMP path + computation"; + list exclude-interface { + key "interface-name"; + description + "Exclude this interface from UCMP path + computation"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface to be excluded"; + } + } + } + leaf delay-interval { + type uint32 { + range "100..65535"; + } + units "millisecond"; + default "100"; + description + "Delay in msecs between primary SPF and + UCMP computation"; + } + } + container max-redist-prefixes { + description + "Maximum number of redistributed + prefixesconfiguration"; + list max-redist-prefix { + key "level"; + description + "An upper limit on the number of + redistributed prefixes which may be + included in the local system's LSP"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf prefix-limit { + type uint32 { + range "1..28000"; + } + mandatory true; + description + "Max number of prefixes"; + } + } + } + container propagations { + description + "Route propagation configuration"; + list propagation { + key "source-level destination-level"; + description + "Propagate routes between IS-IS levels"; + leaf source-level { + type dt1:Isis-internal-level; + description + "Source level for routes"; + } + leaf destination-level { + type dt1:Isis-internal-level; + description + "Destination level for routes. Must + differ from SourceLevel"; + } + leaf route-policy-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + mandatory true; + description + "Route policy limiting routes to be + propagated"; + } + } + } + container redistributions { + description + "Protocol redistribution configuration"; + list redistribution { + must "connected-or-static-or-rip-or-subscriber-or-mobile or ospf-or-ospfv3-or-isis-or-application or bgp or eigrp" { + description + "Connected-or-Static-or-RIP-or-Subscriber-or-Mobile or OSPF-or-OSPFv3-or-ISIS-or-Application or BGP or EIGRP must be present."; + } + key "protocol-name"; + description + "Redistribution of other protocols into + this IS-IS instance"; + + grouping REDISTRIBUTION-CONTENT { + description + "REDISTRIBUTION CONTENT"; + leaf metric { + type uint32 { + range "0..16777215"; + } + description + "Metric for redistributed routes: <0-63> + for narrow, <0-16777215> for wide"; + } + leaf levels { + type Isis-configurable-levels; + description + "Levels to redistribute routes into"; + } + leaf route-policy-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Route policy to control redistribution."; + } + leaf metric-type { + type Isis-metric; + description + "IS-IS metric type"; + } + leaf ospf-route-type { + type int32; + description + "OSPF route types to redistribute. May + only be specified if Protocol is OSPF."; + } + } + container connected-or-static-or-rip-or-subscriber-or-mobile { + when "../protocol-name = 'connected' or ../protocol-name = 'static' or ../protocol-name = 'rip' or ../protocol-name = 'subscriber' or ../protocol-name = 'mobile'" { + description + "../ProtocolName = Connected or . + ./ProtocolName = Static or . + ./ProtocolName = RIP or ../ProtocolName + = Subscriber or ../ProtocolName = + Mobile"; + } + presence "Indicates that this node is configured."; + description + "connected or static or rip or subscriber + or mobile"; + uses REDISTRIBUTION-CONTENT; + } + leaf protocol-name { + type Isis-redist-proto; + description + "The protocol to be redistributed. OSPFv3 + may not be specified for an IPv4 topology + and OSPF may not be specified for an IPv6 + topology."; + } + list ospf-or-ospfv3-or-isis-or-application { + when "../protocol-name = 'ospf' or ../protocol-name = 'ospfv3' or ../protocol-name = 'isis' or ../protocol-name = 'application'" { + description + "../ProtocolName = OSPF or . + ./ProtocolName = OSPFv3 or . + ./ProtocolName = ISIS or . + ./ProtocolName = Application"; + } + key "instance-name"; + description + "ospf or ospfv3 or isis or application"; + leaf instance-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Protocol Instance Identifier. Mandatory + for ISIS, OSPF and application, must not + be specified otherwise."; + } + uses REDISTRIBUTION-CONTENT; + } + list bgp { + when "../protocol-name = 'bgp'" { + description + "../ProtocolName = BGP"; + } + key "as-xx as-yy"; + description + "bgp"; + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "First half of BGP AS number in XX.YY + format. Mandatory if Protocol is BGP + and must not be specified otherwise. + Must be a non-zero value if second half + is zero."; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "Second half of BGP AS number in XX.YY + format. Mandatory if Protocol is BGP and + must not be specified otherwise. Must be + a non-zero value if first half is zero."; + } + uses REDISTRIBUTION-CONTENT; + } + list eigrp { + when "../protocol-name = 'eigrp'" { + description + "../ProtocolName = EIGRP"; + } + key "as-zz"; + description + "eigrp"; + leaf as-zz { + type uint32 { + range "1..65535"; + } + description + "Eigrp as number."; + } + uses REDISTRIBUTION-CONTENT; + } + } + } + container spf-periodic-intervals { + description + "Peoridic SPF configuration"; + list spf-periodic-interval { + key "level"; + description + "Maximum interval between spf runs"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf periodic-interval { + type uint32 { + range "0..3600"; + } + units "second"; + mandatory true; + description + "Maximum interval in between SPF runs in + seconds"; + } + } + } + container spf-intervals { + description + "SPF-interval configuration"; + list spf-interval { + key "level"; + description + "Route calculation scheduling parameters"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf maximum-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Maximum wait before running a route + calculation in milliseconds"; + } + leaf initial-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Initial wait before running a route + calculation in milliseconds"; + } + leaf secondary-wait { + type uint32 { + range "0..120000"; + } + units "millisecond"; + description + "Secondary wait before running a route + calculation in milliseconds"; + } + } + } + container monitor-convergence { + description + "Enable convergence monitoring"; + leaf enable { + type empty; + description + "Enable convergence monitoring"; + } + leaf track-ip-frr { + type empty; + description + "Enable the Tracking of IP-Frr Convergence"; + } + leaf prefix-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Enable the monitoring of individual + prefixes (prefix list name)"; + } + } + container default-information { + description + "Control origination of a default route with + the option of using a policy. If no policy + is specified the default route is + advertised with zero cost in level 2 only."; + leaf use-policy { + type boolean; + description + "Flag to indicate whether default + origination is controlled using a policy"; + } + leaf policy-name { + when "../use-policy != 'false'" { + description + "../UsePolicy != 0"; + } + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Policy name"; + } + leaf external { + type empty; + description + "Flag to indicate that the default prefix + should be originated as an external route"; + } + } + container admin-distances { + description + "Per-route administrative + distanceconfiguration"; + list admin-distance { + key "address-prefix"; + description + "Administrative distance configuration. The + supplied distance is applied to all routes + discovered from the specified source, or + only those that match the supplied prefix + list if this is specified"; + leaf address-prefix { + type inet:ip-prefix; + description + "IP route source prefix"; + } + leaf distance { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Administrative distance"; + } + leaf prefix-list { + type string { + length "1..32"; + } + description + "List of prefixes to which this distance + applies"; + } + } + } + container ispf { + description + "ISPF configuration"; + container states { + description + "ISPF state (enable/disable)"; + list state { + key "level"; + description + "Enable/disable ISPF"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf state { + type Isisispf-state; + mandatory true; + description + "State"; + } + } + } + } + container mpls-ldp-global { + description + "MPLS LDP configuration. MPLS LDP + configuration will only be applied for the + IPv4-unicast address-family."; + leaf auto-config { + type boolean; + description + "If TRUE, LDP will be enabled onall IS-IS + interfaces enabled for this address-family"; + } + } + container mpls { + description + "MPLS configuration. MPLS configuration will + only be applied for the IPv4-unicast + address-family."; + container router-id { + description + "Traffic Engineering stable IP address for + system"; + leaf address { + type inet:ipv4-address-no-zone; + must "not(../interface-name)"; + description + "IPv4 address to be used as a router ID. + Precisely one of Address and Interface + must be specified."; + } + leaf interface-name { + type xr:Interface-name; + must "not(../address)"; + description + "Interface with designated stable IP + address to be used as a router ID. This + must be a Loopback interface. Precisely + one of Address and Interface must be + specified."; + } + } + container level { + description + "Enable MPLS for an IS-IS at the given + levels"; + leaf level1 { + type boolean; + description + "Level 1 enabled"; + } + leaf level2 { + type boolean; + description + "Level 2 enabled"; + } + } + leaf igp-intact { + type empty; + description + "Install TE and non-TE nexthops in the RIB"; + } + leaf multicast-intact { + type empty; + description + "Install non-TE nexthops in the RIB for use + by multicast"; + } + } + leaf maximum-paths { + type uint32 { + range "1..64"; + } + description + "Maximum number of active parallel paths per + route"; + } + leaf topology-id { + type uint32 { + range "6..4095"; + } + description + "Set the topology ID for a named + (non-default) topology. This object must be + set before any other configuration is + supplied for a named (non-default) topology + , and must be the last configuration object + to be removed. This item should not be + supplied for the non-named default + topologies."; + } + leaf single-topology { + type empty; + description + "Run IPv6 Unicast using the standard (IPv4 + Unicast) topology"; + } + leaf adjacency-check { + type Isis-adj-check; + description + "Suppress check for consistent AF support on + received IIHs"; + } + leaf advertise-link-attributes { + type boolean; + description + "If TRUE, advertise additional link + attributes in our LSP"; + } + leaf apply-weight { + type Isis-apply-weight; + description + "Apply weights to UCMP or ECMP only"; + } + leaf default-admin-distance { + type uint32 { + range "1..255"; + } + default "115"; + description + "Default IS-IS administrative distance + configuration."; + } + leaf advertise-passive-only { + type empty; + description + "If enabled, advertise prefixes of passive + interfaces only"; + } + leaf ignore-attached-bit { + type boolean; + description + "If TRUE, Ignore other routers attached bit"; + } + leaf attached-bit { + type Isis-attached-bit; + default "area"; + description + "Set the attached bit in this router's level + 1 System LSP"; + } + leaf route-source-first-hop { + type boolean; + description + "If TRUE, routes will be installed with the + IP address of the first-hop node as the + source instead of the originating node"; + } + uses MANUAL-ADJ-SID-TABLE; + uses METRIC-TABLE; + uses WEIGHT-TABLE; + } + container af-data { + presence "Indicates a af-data node is configured."; + description + "Data container."; + uses AF-CONTENT; + } + leaf af-name { + type dt1:Isis-address-family; + description + "Address family"; + } + leaf saf-name { + type dt1:Isis-sub-address-family; + description + "Sub address family"; + } + list topology-name { + key "topology-name"; + description + "keys: topology-name"; + leaf topology-name { + type dt1:Isis-topology-name; + description + "Topology Name"; + } + uses AF-CONTENT; + } + } + } + container lsp-refresh-intervals { + description + "LSP refresh-interval configuration"; + list lsp-refresh-interval { + key "level"; + description + "Interval between re-flooding of unchanged + LSPs"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "1..65535"; + } + units "second"; + mandatory true; + description + "Seconds"; + } + } + } + container distribute { + presence "enable distribute"; + description + "IS-IS Distribute BGP-LS configuration"; + leaf dist-inst-id { + type uint32 { + range "1..65535"; + } + description + "Instance ID"; + } + leaf level { + type Isis-configurable-levels; + description + "Level"; + } + leaf dist-throttle { + type uint32 { + range "1..20"; + } + units "second"; + description + "Seconds"; + } + } + container lsp-accept-passwords { + description + "LSP/SNP accept password configuration"; + list lsp-accept-password { + key "level"; + description + "LSP/SNP accept passwords. This requires the + existence of an LSPPassword of the same level + ."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf password { + type xr:Proprietary-password; + mandatory true; + description + "Password"; + } + } + } + container lsp-mtus { + description + "LSP MTU configuration"; + list lsp-mtu { + key "level"; + description + "LSP MTU"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf mtu { + type uint32 { + range "128..4352"; + } + units "byte"; + mandatory true; + description + "Bytes"; + } + } + } + container nsf { + description + "IS-IS NSF configuration"; + leaf flavor { + type Isis-nsf-flavor; + description + "NSF not configured if item is deleted"; + } + leaf interface-timer { + type uint32 { + range "1..20"; + } + units "second"; + default "1"; + description + "Per-interface time period to wait for a + restart ACK during an IETF-NSF restart. This + configuration has no effect if IETF-NSF is + not configured"; + } + leaf max-interface-timer-expiry { + type uint32 { + range "1..10"; + } + default "10"; + description + "Maximum number of times an interface timer + may expire during an IETF-NSF restart before + the NSF restart is aborted. This + configuration has no effect if IETF NSF is + not configured."; + } + leaf lifetime { + type uint32 { + range "5..300"; + } + units "second"; + default "90"; + description + "Maximum route lifetime following restart. + When this lifetime expires, old routes will + be purged from the RIB."; + } + } + container link-groups { + description + "Link Group"; + list link-group { + key "link-group-name"; + description + "Configuration for link group name"; + leaf metric-offset { + type uint32 { + range "0..16777215"; + } + description + "Metric for redistributed routes: <0-63> for + narrow, <0-16777215> for wide"; + } + leaf revert-members { + type uint32 { + range "2..64"; + } + default "2"; + description + "Revert Members"; + } + leaf minimum-members { + type uint32 { + range "2..64"; + } + default "2"; + description + "Minimum Members"; + } + leaf link-group-name { + type dt1:Isis-link-group-name; + description + "Link Group Name"; + } + } + } + container lsp-check-intervals { + description + "LSP checksum check interval configuration"; + list lsp-check-interval { + key "level"; + description + "LSP checksum check interval parameters"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "10..65535"; + } + units "second"; + mandatory true; + description + "LSP checksum check interval time in seconds"; + } + } + } + container lsp-passwords { + description + "LSP/SNP password configuration"; + list lsp-password { + key "level"; + description + "LSP/SNP passwords. This must exist if an + LSPAcceptPassword of the same level exists."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf algorithm { + type Isis-authentication-algorithm; + mandatory true; + description + "Algorithm"; + } + leaf failure-mode { + type Isis-authentication-failure-mode; + mandatory true; + description + "Failure Mode"; + } + leaf authentication-type { + type Isis-snp-auth; + mandatory true; + description + "SNP packet authentication mode"; + } + leaf password { + type xr:Proprietary-password; + mandatory true; + description + "Password or unencrypted Key Chain name"; + } + } + } + container nets { + description + "NET configuration"; + list net { + key "net-name"; + description + "Network Entity Title (NET)"; + leaf net-name { + type xr:Osi-net; + description + "Network Entity Title"; + } + } + } + container lsp-lifetimes { + description + "LSP lifetime configuration"; + list lsp-lifetime { + key "level"; + description + "Maximum LSP lifetime"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf lifetime { + type uint32 { + range "1..65535"; + } + units "second"; + mandatory true; + description + "Seconds"; + } + } + } + container overload-bits { + description + "LSP overload-bit configuration"; + list overload-bit { + key "level"; + description + "Set the overload bit in the System LSP so + that other routers avoid this one in SPF + calculations. This may be done either + unconditionally, or on startup until either a + set time has passed or IS-IS is informed that + BGP has converged. This is an Object with a + union discriminated on an integer value of + the ISISOverloadBitModeType."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf overload-bit-mode { + type Isis-overload-bit-mode; + description + "Circumstances under which the overload bit + is set in the system LSP"; + } + leaf hippity-period { + when "../overload-bit-mode = 'startup-period'" { + description + "../OverloadBitMode = 2"; + } + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time in seconds to advertise ourself as + overloaded after process startup"; + } + leaf external-adv-type { + type Isis-adv-type-external; + description + "Advertise prefixes from other protocols"; + } + leaf inter-level-adv-type { + type Isis-adv-type-inter-level; + description + "Advertise prefixes across ISIS levels"; + } + } + } + container interfaces { + description + "Per-interface configuration"; + list interface { + key "interface-name"; + description + "Configuration for an IS-IS interface"; + container lsp-retransmit-throttle-intervals { + description + "LSP-retransmission-throttle-interval + configuration"; + list lsp-retransmit-throttle-interval { + key "level"; + description + "Minimum interval betwen retransissions of + different LSPs"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "0..65535"; + } + units "millisecond"; + mandatory true; + description + "Milliseconds"; + } + } + } + container lsp-retransmit-intervals { + description + "LSP-retransmission-interval configuration"; + list lsp-retransmit-interval { + key "level"; + description + "Interval between retransmissions of the + same LSP"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "0..65535"; + } + units "second"; + mandatory true; + description + "Seconds"; + } + } + } + container bfd { + description + "BFD configuration"; + leaf enable-ipv6 { + type boolean; + description + "TRUE to enable BFD. FALSE to disable and to + prevent inheritance from a parent"; + } + leaf enable-ipv4 { + type boolean; + description + "TRUE to enable BFD. FALSE to disable and to + prevent inheritance from a parent"; + } + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by + isis"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions + created by isis"; + } + } + container priorities { + description + "DIS-election priority configuration"; + list priority { + key "level"; + description + "DIS-election priority"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf priority-value { + type uint32 { + range "0..127"; + } + mandatory true; + description + "Priority"; + } + } + } + container hello-accept-passwords { + description + "IIH accept password configuration"; + list hello-accept-password { + key "level"; + description + "IIH accept passwords. This requires the + existence of a HelloPassword of the same + level."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf password { + type xr:Proprietary-password; + mandatory true; + description + "Password"; + } + } + } + container hello-passwords { + description + "IIH password configuration"; + list hello-password { + key "level"; + description + "IIH passwords. This must exist if a + HelloAcceptPassword of the same level + exists."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf algorithm { + type Isis-authentication-algorithm; + mandatory true; + description + "Algorithm"; + } + leaf failure-mode { + type Isis-authentication-failure-mode; + mandatory true; + description + "Failure Mode"; + } + leaf password { + type xr:Proprietary-password; + mandatory true; + description + "Password or unencrypted Key Chain name"; + } + } + } + container hello-paddings { + description + "Hello-padding configuration"; + list hello-padding { + key "level"; + description + "Pad IIHs to the interface MTU"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf padding-type { + type Isis-hello-padding; + mandatory true; + description + "Hello padding type value"; + } + } + } + container hello-multipliers { + description + "Hello-multiplier configuration"; + list hello-multiplier { + key "level"; + description + "Hello-multiplier configuration. The number + of successive IIHs that may be missed on an + adjacency before it is considered down."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf multiplier { + type uint32 { + range "3..1000"; + } + mandatory true; + description + "Hello multiplier value"; + } + } + } + container lsp-fast-flood-thresholds { + description + "LSP fast flood threshold configuration"; + list lsp-fast-flood-threshold { + key "level"; + description + "Number of LSPs to send back to back on an + interface."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf count { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Count"; + } + } + } + container prefix-attribute-n-flag-clears { + description + "Prefix attribute N flag clear configuration"; + list prefix-attribute-n-flag-clear { + key "level"; + description + "Clear the N flag in prefix attribute flags + sub-TLV"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + } + } + container hello-intervals { + description + "Hello-interval configuration"; + list hello-interval { + key "level"; + description + "Hello-interval configuration. The interval + at which IIH packets will be sent. This + will be three times quicker on a LAN + interface which has been electted DIS."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "1..65535"; + } + units "second"; + mandatory true; + description + "Seconds"; + } + } + } + container interface-afs { + description + "Per-interface address-family configuration"; + list interface-af { + must "interface-af-data or topology-name" { + description + "interface-af-data or topology-name must be + present."; + } + key "af-name saf-name"; + description + "Configuration for an IS-IS address-family + on a single interface. If a named + (non-default) topology is being created it + must be multicast. Also the topology ID + mustbe set first and delete last in the + router configuration."; + + grouping INTERFACE-AF-CONTENT { + description + "Content grouping."; + container prefix-sid { + presence "Indicates a prefix-sid node is configured."; + description + "Assign prefix SID to an interface, + ISISPHPFlag will be rejected if set to + disable, ISISEXPLICITNULLFlag will + override the value of ISISPHPFlag"; + leaf type { + type Isissid1; + mandatory true; + description + "SID type for the interface"; + } + leaf value { + type uint32 { + range "0..1048575"; + } + mandatory true; + description + "SID value for the interface"; + } + leaf php { + type Isisphp-flag; + mandatory true; + description + "Enable/Disable Penultimate Hop Popping"; + } + leaf explicit-null { + type Isisexplicit-null-flag; + mandatory true; + description + "Enable/Disable Explicit-NULL flag"; + } + leaf nflag-clear { + type Nflag-clear; + mandatory true; + description + "Clear N-flag for the prefix-SID"; + } + } + container interface-frr-table { + description + "Fast-ReRoute configuration"; + container frrlfa-candidate-interfaces { + description + "FRR LFA candidate configuration"; + list frrlfa-candidate-interface { + key "interface-name frr-type"; + description + "Include an interface to LFA candidate + in computation"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf frr-type { + type Isisfrr; + description + "Computation Type"; + } + leaf level { + type uint32 { + range "0..2"; + } + mandatory true; + description + "Level"; + } + } + } + container frr-remote-lfa-max-metrics { + description + "Remote LFA maxmimum metric"; + list frr-remote-lfa-max-metric { + key "level"; + description + "Configure the maximum metric for + selecting a remote LFA node"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf max-metric { + type uint32 { + range "1..16777215"; + } + mandatory true; + description + "Value of the metric"; + } + } + } + container frr-types { + description + "Type of FRR computation per level"; + list frr-type { + key "level"; + description + "Type of computation for prefixes + reachable via interface"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf type { + type Isisfrr; + mandatory true; + description + "Computation Type"; + } + } + } + container frr-remote-lfa-types { + description + "Remote LFA Enable"; + list frr-remote-lfa-type { + key "level"; + description + "Enable remote lfa for a particular + level"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf type { + type Isis-remote-lfa; + mandatory true; + description + "Remote LFA Type"; + } + } + } + container interface-frr-tiebreaker-defaults { + description + "Interface FRR Default tiebreaker + configuration"; + list interface-frr-tiebreaker-default { + key "level"; + description + "Configure default tiebreaker"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + } + } + container frrtilfa-types { + description + "TI LFA Enable"; + list frrtilfa-type { + key "level"; + description + "Enable TI lfa for a particular level"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + } + } + container frr-exclude-interfaces { + description + "FRR exclusion configuration"; + list frr-exclude-interface { + key "interface-name frr-type"; + description + "Exclude an interface from computation"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf frr-type { + type Isisfrr; + description + "Computation Type"; + } + leaf level { + type uint32 { + range "0..2"; + } + mandatory true; + description + "Level"; + } + } + } + container interface-frr-tiebreakers { + description + "Interface FRR tiebreakers configuration"; + list interface-frr-tiebreaker { + key "level tiebreaker"; + description + "Configure tiebreaker for multiple + backups"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf tiebreaker { + type Isis-interface-frr-tiebreaker; + description + "Tiebreaker for which configuration + applies"; + } + leaf index { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Preference order among tiebreakers"; + } + } + } + } + container mpls-ldp { + description + "MPLS LDP configuration"; + leaf sync-level { + type uint32 { + range "0..2"; + } + default "0"; + description + "Enable MPLS LDP Synchronization for an + IS-IS level"; + } + } + container prefix-sspfsid { + presence "Indicates a prefix-sspfsid node is configured."; + description + "Assign prefix SSPF SID to an interface, + ISISPHPFlag will be rejected if set to + disable, ISISEXPLICITNULLFlag will + override the value of ISISPHPFlag"; + leaf type { + type Isissid1; + mandatory true; + description + "SID type for the interface"; + } + leaf value { + type uint32 { + range "0..1048575"; + } + mandatory true; + description + "SID value for the interface"; + } + leaf php { + type Isisphp-flag; + mandatory true; + description + "Enable/Disable Penultimate Hop Popping"; + } + leaf explicit-null { + type Isisexplicit-null-flag; + mandatory true; + description + "Enable/Disable Explicit-NULL flag"; + } + leaf nflag-clear { + type Nflag-clear; + mandatory true; + description + "Clear N-flag for the prefix-SID"; + } + } + container auto-metrics { + description + "AutoMetric configuration"; + list auto-metric { + key "level"; + description + "AutoMetric Proactive-Protect + configuration. Legal value depends on + the metric-style specified for the + topology. If the metric-style defined is + narrow, then only a value between <1-63> + is allowed and if the metric-style is + defined as wide, then a value between + <1-16777214> is allowed as the + auto-metric value."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf proactive-protect { + type uint32 { + range "1..16777214"; + } + mandatory true; + description + "Allowed auto metric:<1-63> for narrow + ,<1-16777214> for wide"; + } + } + } + container admin-tags { + description + "admin-tag configuration"; + list admin-tag { + key "level"; + description + "Admin tag for advertised interface + connected routes"; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf admin-tag { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Tag to associate with connected routes"; + } + } + } + container interface-link-group { + presence "Indicates a interface-link-group node is configured."; + description + "Provide link group name and level"; + leaf link-group { + type dt1:Isis-link-group-name; + mandatory true; + description + "Link Group"; + } + leaf level { + type uint32 { + range "0..2"; + } + default "0"; + description + "Level in which link group will be + effective"; + } + } + leaf interface-af-state { + type Isis-interface-af-state; + description + "Interface state"; + } + leaf running { + type empty; + description + "The presence of this object allows an + address-family to be run over the + interface in question.This must be the + first object created under the + InterfaceAddressFamily container, and the + last one deleted"; + } + uses MANUAL-ADJ-SID-TABLE; + uses METRIC-TABLE; + uses WEIGHT-TABLE; + } + container interface-af-data { + description + "Data container."; + uses INTERFACE-AF-CONTENT; + } + leaf af-name { + type dt1:Isis-address-family; + description + "Address family"; + } + leaf saf-name { + type dt1:Isis-sub-address-family; + description + "Sub address family"; + } + list topology-name { + key "topology-name"; + description + "keys: topology-name"; + leaf topology-name { + type dt1:Isis-topology-name; + description + "Topology Name"; + } + uses INTERFACE-AF-CONTENT; + } + } + } + container csnp-intervals { + description + "CSNP-interval configuration"; + list csnp-interval { + key "level"; + description + "CSNP-interval configuration. No fixed + default value as this depends on the media + type of the interface."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "0..65535"; + } + units "second"; + mandatory true; + description + "Seconds"; + } + } + } + container lsp-intervals { + description + "LSP-interval configuration"; + list lsp-interval { + key "level"; + description + "Interval between transmission of LSPs on + interface."; + leaf level { + type dt1:Isis-internal-level; + description + "Level to which configuration applies"; + } + leaf interval { + type uint32 { + range "1..4294967295"; + } + units "millisecond"; + mandatory true; + description + "Milliseconds"; + } + } + } + leaf running { + type empty; + description + "This object must be set before any other + configuration is supplied for an interface, + and must be the last per-interface + configuration object to be removed."; + } + leaf circuit-type { + type Isis-configurable-levels; + default "level1-and2"; + description + "Configure circuit type for interface"; + } + leaf point-to-point { + type empty; + description + "IS-IS will attempt to form point-to-point + over LAN adjacencies over this interface."; + } + leaf state { + type Isis-interface-state; + description + "Enable/Disable routing"; + } + leaf mesh-group { + type union { + type enumeration { + enum "blocked" { + value 0; + description + "Blocked mesh group. Changed LSPs are not + flooded over blocked interfaces"; + } + } + type uint32 { + range "0..4294967295"; + } + } + description + "Mesh-group configuration"; + } + leaf link-down-fast-detect { + type empty; + description + "Configure high priority detection of + interface down event"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + leaf running { + type empty; + description + "Flag to indicate that instance should be + running. This must be the first object + created when an IS-IS instance is configured, + and the last object deleted when it is + deconfigured. When this object is deleted, + the IS-IS instance will exit."; + } + leaf log-adjacency-changes { + type empty; + description + "Log changes in adjacency state"; + } + leaf ignore-lsp-errors { + type boolean; + description + "If TRUE, LSPs recieved with bad checksums will + result in the purging of that LSP from the LSP + DB. If FALSE or not set, the received LSP will + just be ignored."; + } + leaf is-type { + type Isis-configurable-levels; + default "level1-and2"; + description + "IS type of the IS-IS process"; + } + leaf tracing-mode { + type Isis-tracing-mode; + default "basic"; + description + "Tracing mode configuration"; + } + leaf vrf-context { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF context for ISIS process"; + } + leaf instance-id { + type uint32 { + range "0..65535"; + } + default "0"; + description + "Instance ID of the IS-IS process"; + } + leaf dynamic-host-name { + type boolean; + description + "If TRUE, dynamic hostname resolution is + disabled, and system IDs will always be + displayed by show and debug output."; + } + leaf nsr { + type empty; + description + "IS-IS NSR configuration"; + } + leaf log-pdu-drops { + type empty; + description + "Log PDU drops"; + } + leaf instance-name { + type dt1:Isis-instance-name; + description + "Instance identifier"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-datatypes.yang new file mode 100644 index 0000000..a6b098c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-datatypes.yang @@ -0,0 +1,132 @@ +module Cisco-IOS-XR-clns-isis-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-datatypes"; + prefix clns-isis-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Isis-address-family { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4"; + } + enum "ipv6" { + value 1; + description + "IPv6"; + } + } + description + "Isis address family"; + } + + typedef Isis-ipv6-prefix-length { + type uint32 { + range "0..128"; + } + description + "Isis ipv6 prefix length"; + } + + typedef Isis-ipv4-prefix-length { + type uint32 { + range "0..32"; + } + description + "Isis ipv4 prefix length"; + } + + typedef Isis-instance-name { + type xr:Cisco-ios-xr-string { + length "1..40"; + } + description + "Isis instance name"; + } + + typedef Isis-internal-level { + type enumeration { + enum "not-set" { + value 0; + description + "Level not set"; + } + enum "level1" { + value 1; + description + "Level1"; + } + enum "level2" { + value 2; + description + "Level2"; + } + } + description + "Isis internal level"; + } + + typedef Isis-link-group-name { + type xr:Cisco-ios-xr-string { + length "1..40"; + } + description + "Isis link group name"; + } + + typedef Isis-sub-address-family { + type enumeration { + enum "unicast" { + value 0; + description + "Unicast"; + } + enum "multicast" { + value 1; + description + "Multicast"; + } + } + description + "Isis sub address family"; + } + + typedef Isis-topology-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Isis topology name"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub1.yang new file mode 100644 index 0000000..5f78f10 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub1.yang @@ -0,0 +1,7539 @@ +submodule Cisco-IOS-XR-clns-isis-oper-sub1 { + belongs-to Cisco-IOS-XR-clns-isis-oper { + prefix Cisco-IOS-XR-clns-isis-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR clns-isis package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Isis-uloop-event { + type enumeration { + enum "isis-u-loop-event-none" { + description + "isis u loop event none"; + } + enum "isis-u-loop-event-link-down" { + description + "isis u loop event link down"; + } + enum "isis-u-loop-event-link-up" { + description + "isis u loop event link up"; + } + enum "isis-u-loop-event-ol-bit-set" { + description + "isis u loop event ol bit set"; + } + enum "isis-u-loop-event-ol-bit-unset" { + description + "isis u loop event ol bit unset"; + } + } + description + "Isis uloop event"; + } + + typedef Isis-uloop-avoidance { + type enumeration { + enum "isis-u-loop-avoidance-type-none" { + value 0; + description + "No MicroLoop avoidance"; + } + enum "isis-u-loop-avoidance-type-all" { + value 1; + description + "Apply MicroLoop avoidance for all prefixes"; + } + enum "isis-u-loop-avoidance-type-protected" { + value 2; + description + "Apply MicroLoop avoidance only for protected + prefixes"; + } + enum "isis-u-loop-avoidance-type-sr" { + value 3; + description + "Segment Routing MicroLoop avoidance for All + single-link changes"; + } + } + description + "Isis uloop avoidance"; + } + + typedef Isis-metric-style { + type enumeration { + enum "isis-metric-style-narrow" { + value 0; + description + "old-style (ISO 10589) metrics"; + } + enum "isis-metric-style-wide" { + value 1; + description + "new-style 32-bit metrics"; + } + enum "isis-metric-style-transition" { + value 2; + description + "send/accept both forms of metric"; + } + } + description + "Isis metric style"; + } + + typedef Isis-startup-status { + type enumeration { + enum "isis-startup-ssm-active" { + description + "Startup-state-machine controlled restart in + progress"; + } + enum "isis-startup-ssm-complete" { + description + "Startup-state-machine controlled restart + complete"; + } + enum "isis-startup-ssm-aborted" { + description + "Startup-state-machine controlled restart + aborted"; + } + enum "isis-startup-ssm-not-run" { + description + "Startup-state-machine controlled not attempted"; + } + } + description + "Isis startup status"; + } + + typedef Isis-nsf-flavor { + type enumeration { + enum "isis-nsf-flav-or-none" { + value 0; + description + "NSF not configured"; + } + enum "isis-nsf-flav-or-cisco" { + value 1; + description + "Cisco-proprietary NSF"; + } + enum "isis-nsf-flav-or-ietf" { + value 2; + description + "IETF-standard NSF"; + } + enum "isis-nsf-flav-or-nsr" { + value 3; + description + "Cisco-proprietary NSR"; + } + } + description + "Isis nsf flavor"; + } + + typedef Isis-err-log-level { + type enumeration { + enum "isis-err-log-level-info" { + value 0; + description + "isis err log level info"; + } + enum "isis-err-log-level-warn" { + value 1; + description + "isis err log level warn"; + } + enum "isis-err-log-level-critical" { + value 2; + description + "isis err log level critical"; + } + } + description + "Isis err log level"; + } + + typedef Isis-if-af-prefix-unknown-reason { + type enumeration { + enum "isis-intf-af-prefix-unknown-adv-suppressed" { + description + "isis intf af prefix unknown adv suppressed"; + } + enum "isis-intf-af-prefix-unknown-global-addr-reg-error" { + description + "isis intf af prefix unknown global addr reg + error"; + } + enum "isis-intf-af-prefix-unknown-internal-error" { + description + "isis intf af prefix unknown internal error"; + } + } + description + "Isis if af prefix unknown reason"; + } + + typedef Isis-if-af-fwd-addr-unknown-reason { + type enumeration { + enum "isis-intf-af-fwd-addr-unknown-cfg-passive" { + description + "isis intf af fwd addr unknown cfg passive"; + } + enum "isis-intf-af-fwd-addr-unknown-proto-doesnt-exist" { + description + "isis intf af fwd addr unknown proto doesnt + exist"; + } + enum "isis-intf-af-fwd-addr-unknown-next-hop-reg-error" { + description + "isis intf af fwd addr unknown next hop reg + error"; + } + enum "isis-intf-af-fwd-addr-unknown-no-link-local-add" { + description + "isis intf af fwd addr unknown no link local add"; + } + enum "isis-intf-af-fwd-addr-unknown-af-not-up" { + description + "isis intf af fwd addr unknown af not up"; + } + enum "isis-intf-af-fwd-addr-unknown-vrf-enabled" { + description + "isis intf af fwd addr unknown vrf enabled"; + } + enum "isis-intf-af-fwd-addr-unknown-internal-error" { + description + "isis intf af fwd addr unknown internal error"; + } + } + description + "Isis if af fwd addr unknown reason"; + } + + typedef Isis-if-af-proto-down-reason { + type enumeration { + enum "isis-intf-af-proto-down-imd-conn-fail" { + description + "isis intf af proto down imd conn fail"; + } + enum "isis-intf-af-proto-down-imd-node-doesnt-exist" { + description + "isis intf af proto down imd node doesnt exist"; + } + enum "isis-intf-af-proto-down-imd-exist-reg-error" { + description + "isis intf af proto down imd exist reg error"; + } + enum "isis-intf-af-proto-down-imd-state-reg-error" { + description + "isis intf af proto down imd state reg error"; + } + enum "isis-intf-af-proto-down-af-not-up" { + description + "isis intf af proto down af not up"; + } + enum "isis-intf-af-proto-down-internal-error" { + description + "isis intf af proto down internal error"; + } + } + description + "Isis if af proto down reason"; + } + + typedef Isis-if-af-disabled-reason { + type enumeration { + enum "isis-intf-af-disabled-no-topo-enabled" { + description + "isis intf af disabled no topo enabled"; + } + enum "isis-intf-af-disabled-internal-error" { + description + "isis intf af disabled internal error"; + } + } + description + "Isis if af disabled reason"; + } + + typedef Isis-frr-tiebreaker { + type enumeration { + enum "isis-frr-tiebreaker-down-stream" { + value 0; + description + "Backup path is via downstream node"; + } + enum "isis-frr-tiebreaker-lc-disjoint" { + value 1; + description + "Backup path is line card disjoint"; + } + enum "isis-frr-tiebreaker-low-est-backup-metric" { + value 2; + description + "Backup path has lowest metric"; + } + enum "isis-frr-tiebreaker-node-protecting" { + value 3; + description + "Backup path is node protecting"; + } + enum "isis-frr-tiebreaker-primary-path" { + value 4; + description + "Backup path is ECMP"; + } + enum "isis-frr-tiebreaker-secondary-path" { + value 5; + description + "Backup path is not an ECMP"; + } + enum "isis-frr-tiebreaker-srlg-disjoint" { + value 6; + description + "Backup path is SRLG disjoint"; + } + enum "isis-frr-tiebreaker-default" { + value 7; + description + "Backup path is link protecting"; + } + } + description + "Isis frr tiebreaker"; + } + + typedef Isis-frr { + type enumeration { + enum "isis-frr-type-none" { + value 0; + description + "Computation disabled"; + } + enum "isis-frr-type-per-link" { + value 1; + description + "Prefix independent per-link computation"; + } + enum "isis-frr-type-per-prefix" { + value 2; + description + "Prefix dependent computation"; + } + enum "isis-frr-type-sr-u-loop" { + value 3; + description + "Segment Routing Microloop Avoidance computation"; + } + } + description + "Isis frr"; + } + + typedef Isis-if-topo-adv-prefix-disabled-reason { + type enumeration { + enum "isis-intf-topo-adv-prefix-disabled-intf-suppressed" { + description + "isis intf topo adv prefix disabled intf + suppressed"; + } + enum "isis-intf-topo-adv-prefix-disabled-af-not-up" { + description + "isis intf topo adv prefix disabled af not up"; + } + enum "isis-intf-topo-adv-prefix-disabled-af-prefixes-unknown" { + description + "isis intf topo adv prefix disabled af prefixes + unknown"; + } + enum "isis-intf-topo-adv-prefix-disabled-internal-error" { + description + "isis intf topo adv prefix disabled internal + error"; + } + } + description + "Isis if topo adv prefix disabled reason"; + } + + typedef Isis-if-topo-adj-form-disabled-reason { + type enumeration { + enum "isis-intf-topo-adj-form-disabled-intf-passive" { + description + "isis intf topo adj form disabled intf passive"; + } + enum "isis-intf-topo-adj-form-disabled-af-not-up" { + description + "isis intf topo adj form disabled af not up"; + } + enum "isis-intf-topo-adj-form-disabled-af-fwd-addr-unknown" { + description + "isis intf topo adj form disabled af fwd addr + unknown"; + } + enum "isis-intf-topo-adj-form-disabled-topo-not-cfg" { + description + "isis intf topo adj form disabled topo not cfg"; + } + enum "isis-intf-topo-adj-form-disabled-topo-can-not-participate" { + description + "isis intf topo adj form disabled topo can not + participate"; + } + enum "isis-intf-topo-adj-form-disabled-idle" { + description + "isis intf topo adj form disabled idle"; + } + enum "isis-intf-topo-adj-form-disabled-internal-error" { + description + "isis intf topo adj form disabled internal error"; + } + enum "isis-intf-topo-adj-form-disabled-mtu" { + description + "isis intf topo adj form disabled mtu"; + } + enum "isis-intf-topo-adj-form-disabled-snpa" { + description + "isis intf topo adj form disabled snpa"; + } + enum "isis-intf-topo-adj-form-disabled-mcast" { + description + "isis intf topo adj form disabled mcast"; + } + } + description + "Isis if topo adj form disabled reason"; + } + + typedef Isis-if-topo-disabled-reason { + type enumeration { + enum "isis-intf-topo-disabled-not-cfg" { + description + "isis intf topo disabled not cfg"; + } + enum "isis-intf-topo-disabled-internal-error" { + description + "isis intf topo disabled internal error"; + } + } + description + "Isis if topo disabled reason"; + } + + typedef Isis-circuit-id { + type yang:hex-string; + description + "Isis circuit id"; + } + + typedef Isis-if-mcast-invalid-reason { + type enumeration { + enum "isis-intf-mcast-invalid-join-error" { + description + "Error when attempting to join this multicast + group"; + } + enum "isis-intf-mcast-invalid-internal-error" { + description + "Internal error"; + } + enum "isis-intf-mcast-invalid-not-yet-needed" { + description + "Multicast group membership not yet requested"; + } + } + description + "Isis if mcast invalid reason"; + } + + typedef Isis-if-clns-snpa-unknown-reason { + type enumeration { + enum "isis-intf-clns-snpa-unknown-access-error" { + description + "isis intf clns snpa unknown access error"; + } + enum "isis-intf-clns-snpa-unknown-not-lan" { + description + "isis intf clns snpa unknown not lan"; + } + enum "isis-intf-clns-snpa-unknown-internal-error" { + description + "isis intf clns snpa unknown internal error"; + } + } + description + "Isis if clns snpa unknown reason"; + } + + typedef Isis-known { + type enumeration { + enum "isis-unknown" { + value 0; + description + "Unknown"; + } + enum "isis-known" { + value 1; + description + "Known"; + } + } + description + "Isis known"; + } + + typedef Isis-if-clns-mtu-invalid-reason { + type enumeration { + enum "isis-intf-clns-mtu-invalid-too-small" { + description + "isis intf clns mtu invalid too small"; + } + enum "isis-intf-clns-mtu-invalid-internal-error" { + description + "isis intf clns mtu invalid internal error"; + } + } + description + "Isis if clns mtu invalid reason"; + } + + typedef Isis-if-clns-proto-down-reason { + type enumeration { + enum "isis-intf-clns-proto-down-add-to-intf-stack-fail" { + description + "isis intf clns proto down add to intf stack + fail"; + } + enum "isis-intf-clns-proto-down-no-imd-conn" { + description + "isis intf clns proto down no imd conn"; + } + enum "isis-intf-clns-proto-down-imd-node-doesnt-exist" { + description + "isis intf clns proto down imd node doesnt exist"; + } + enum "isis-intf-clns-proto-down-imd-exist-reg-error" { + description + "isis intf clns proto down imd exist reg error"; + } + enum "isis-intf-clns-proto-down-imd-state-reg-error" { + description + "isis intf clns proto down imd state reg error"; + } + enum "isis-intf-clns-proto-down-clns-not-up" { + description + "isis intf clns proto down clns not up"; + } + } + description + "Isis if clns proto down reason"; + } + + typedef Isis-up { + type enumeration { + enum "isis-down" { + value 0; + description + "Down"; + } + enum "isis-up" { + value 1; + description + "Up"; + } + } + description + "Isis up"; + } + + typedef Isis-extended-circuit-number { + type uint32; + description + "Isis extended circuit number"; + } + + typedef Isis-circuit-number { + type uint8; + description + "Isis circuit number"; + } + + typedef Isis-if-adv-prefix-disabled-reason { + type enumeration { + enum "isis-intf-adv-prefix-disabled-if-cfg-suppressed" { + description + "isis intf adv prefix disabled if cfg suppressed"; + } + enum "isis-intf-adv-prefix-disabled-no-topo-participate" { + description + "isis intf adv prefix disabled no topo + participate"; + } + enum "isis-intf-adv-prefix-disabled-internal-error" { + description + "isis intf adv prefix disabled internal error"; + } + } + description + "Isis if adv prefix disabled reason"; + } + + typedef Isis-if-adj-form-disabled-reason { + type enumeration { + enum "isis-intf-adj-form-disabled-cfg-passive" { + description + "isis intf adj form disabled cfg passive"; + } + enum "isis-intf-adj-form-disabled-no-topo-participate" { + description + "isis intf adj form disabled no topo participate"; + } + enum "isis-intf-adj-form-disabled-add-to-intf-stack-fail" { + description + "isis intf adj form disabled add to intf stack + fail"; + } + enum "isis-intf-adj-form-disabled-clns-io" { + description + "isis intf adj form disabled clns io"; + } + enum "isis-intf-adj-form-disabled-internal-error" { + description + "isis intf adj form disabled internal error"; + } + } + description + "Isis if adj form disabled reason"; + } + + typedef Isis-if-disabled-reason { + type enumeration { + enum "isis-intf-disabled-no-net-cfg" { + description + "isis intf disabled no net cfg"; + } + enum "isis-intf-disabled-area-missing" { + description + "isis intf disabled area missing"; + } + enum "isis-intf-disabled-no-area-running" { + description + "isis intf disabled no area running"; + } + enum "isis-intf-disabled-no-topos-cfg" { + description + "isis intf disabled no topos cfg"; + } + enum "isis-intf-disabled-no-imd-conn" { + description + "isis intf disabled no imd conn"; + } + enum "isis-intf-disabled-imd-reg-error" { + description + "isis intf disabled imd reg error"; + } + enum "isis-intf-disabled-level-mismatch" { + description + "isis intf disabled level mismatch"; + } + enum "isis-intf-disabled-base-caps-error" { + description + "isis intf disabled base caps error"; + } + enum "isis-intf-disabled-intf-doesnt-exist" { + description + "isis intf disabled intf doesnt exist"; + } + enum "isis-intf-disabled-intf-shutdown" { + description + "isis intf disabled intf shutdown"; + } + enum "isis-intf-disabled-internal-error" { + description + "isis intf disabled internal error"; + } + } + description + "Isis if disabled reason"; + } + + typedef Isis-enabled { + type enumeration { + enum "isis-disabled" { + value 0; + description + "Disabled"; + } + enum "isis-enabled" { + value 1; + description + "Enabled"; + } + } + description + "Isis enabled"; + } + + typedef Isis-mesh-group-number { + type uint32; + description + "Isis mesh group number"; + } + + typedef Isis-sh-route-adv-origin { + type enumeration { + enum "isis-sh-route-adv-origin-interface" { + description + "IS-IS interface prefix"; + } + enum "isis-sh-route-adv-origin-redistributed" { + description + "Redistributed prefix"; + } + enum "isis-sh-route-adv-origin-native" { + description + "Native prefix"; + } + enum "isis-sh-route-adv-origin-summary" { + description + "Summary prefix"; + } + enum "isis-sh-route-adv-origin-default" { + description + "Explicit origination of default prefix"; + } + } + description + "Origin of a prefix advertisement"; + } + + typedef Isis-prefix-priority { + type enumeration { + enum "isis-prefix-priority-critical" { + value 0; + description + "Critical priority prefixes"; + } + enum "isis-prefix-priority-high" { + value 1; + description + "High priority prefixes"; + } + enum "isis-prefix-priority-med" { + value 2; + description + "Medium priority prefixes"; + } + enum "isis-prefix-priority-low" { + value 3; + description + "Low priority prefixes"; + } + } + description + "Isis prefix priority"; + } + + typedef Isis-prefix-origin { + type enumeration { + enum "isis-prefix-origin-l1-summary-null" { + value 0; + description + "Level 1 Summary Null Route"; + } + enum "isis-prefix-origin-l1" { + value 1; + description + "Level 1 Route"; + } + enum "isis-prefix-origin-l2-summary-null" { + value 2; + description + "Level 2 Summary Null Route"; + } + enum "isis-prefix-origin-l2" { + value 3; + description + "Level 2 Route"; + } + enum "isis-prefix-origin-inter-area-summary-null" { + value 4; + description + "Level 1 Interarea Summary Null Route"; + } + enum "isis-prefix-origin-inter-area" { + value 5; + description + "Level 1 Interarea Route"; + } + enum "isis-prefix-origin-default-nearest-attached" { + value 6; + description + "Nearest Attached Default Route"; + } + } + description + "Isis prefix origin"; + } + + typedef Isis-string { + type string; + description + "Isis string"; + } + + typedef Isis-redist-proto { + type enumeration { + enum "isis-redist-connected" { + value 0; + description + "Redistributed protocol is Connected"; + } + enum "isis-redist-static" { + value 1; + description + "Redistributed protocol is Static"; + } + enum "isis-redist-ospf" { + value 2; + description + "Redistributed protocol is OSPF"; + } + enum "isis-redist-bgp" { + value 3; + description + "Redistributed protocol is BGP"; + } + enum "isis-redist-isis" { + value 4; + description + "Redistributed protocol is IS-IS"; + } + enum "isis-redist-ospfv3" { + value 5; + description + "Redistributed protocol is OSPFv3"; + } + enum "isis-redist-rip" { + value 6; + description + "Redistributed protocol is RIP"; + } + enum "isis-redist-eigrp" { + value 7; + description + "Redistributed protocol is EIGRP"; + } + enum "isis-redist-subscriber" { + value 8; + description + "Redistributed protocol is Subscriber"; + } + enum "isis-redist-application" { + value 9; + description + "Redistributed protocol is Application"; + } + enum "isis-redist-mobile" { + value 10; + description + "Redistributed protocol is Mobile"; + } + } + description + "Isis redist proto"; + } + + typedef Isis-valid { + type enumeration { + enum "isis-invalid" { + value 0; + description + "Invalid"; + } + enum "isis-valid" { + value 1; + description + "Valid"; + } + } + description + "Isis valid"; + } + + typedef Isis-tilfa-computation { + type enumeration { + enum "isis-tilfa-comp-none" { + description + "isis tilfa comp none"; + } + enum "isis-tilfa-comp-link" { + description + "isis tilfa comp link"; + } + enum "isis-tilfa-comp-node" { + description + "isis tilfa comp node"; + } + enum "isis-tilfa-comp-srlg" { + description + "isis tilfa comp srlg"; + } + enum "isis-tilfa-comp-node-srlg" { + description + "isis tilfa comp node srlg"; + } + } + description + "Isis tilfa computation"; + } + + typedef Isis-prefix-tag { + type uint32; + description + "Isis prefix tag"; + } + + typedef Isis-sh-interface-name { + type string; + description + "Isis sh interface name"; + } + + typedef Isis-metric { + type uint32; + description + "Isis metric"; + } + + typedef Isis-reachable { + type enumeration { + enum "isis-unreachable" { + value 0; + description + "Unreachable"; + } + enum "isis-reachable" { + value 1; + description + "Reachable"; + } + } + description + "Isis reachable"; + } + + typedef Isis-metric-mode { + type enumeration { + enum "isis-metric-mode-fixed" { + value 0; + description + "Fixed"; + } + enum "isis-metric-mode-relative" { + value 1; + description + "Relative"; + } + enum "isis-metric-mode-absolute" { + value 2; + description + "Absolute"; + } + } + description + "Isis metric mode"; + } + + typedef Isis-ip-prefix-length { + type uint8; + description + "Isis ip prefix length"; + } + + typedef Isis-spf-trigger { + type enumeration { + enum "isis-spf-trig-config" { + description + "Configuration change"; + } + enum "isis-spf-trig-nsr-fo" { + description + "NSR FO is done"; + } + enum "isis-spf-trig-periodic" { + description + "Periodic SPF"; + } + enum "isis-spf-trig-clear" { + description + "Cleared route table"; + } + enum "isis-spf-trig-newadj" { + description + "New adjacency"; + } + enum "isis-spf-trig-deladj" { + description + "Deleted adjacency"; + } + enum "isis-spf-trig-next-hop" { + description + "IP nexthop address change"; + } + enum "isis-spf-trig-metric" { + description + "Changed interface metric"; + } + enum "isis-spf-trig-dis" { + description + "Change to elected DIS"; + } + enum "isis-spf-trig-frr-per-link" { + description + "Change to per-link FRR config"; + } + enum "isis-spf-trig-frr-per-prefix" { + description + "Change to per-prefix FRR config"; + } + enum "isis-spf-trig-ucmp" { + description + "Change to UCMP config/calculation"; + } + enum "isis-spf-trig-new-tunnel" { + description + "New TE Autoroute Tunnel"; + } + enum "isis-spf-trig-del-tunnel" { + description + "Deleted TE Autoroute Tunnel"; + } + enum "isis-spf-trig-chg-tunnel" { + description + "Changed TE Autoroute Tunnel"; + } + enum "isis-spf-trig-new-node" { + description + "New LSP zero which participates in topology"; + } + enum "isis-spf-trig-del-node" { + description + "New LSP zero which no longer participates in + topology"; + } + enum "isis-spf-trig-newlsp" { + description + "Previously unseen LSP fragment"; + } + enum "isis-spf-trig-lsp-expiry" { + description + "LSP expired"; + } + enum "isis-spf-trig-attach-set" { + description + "Attached bit set"; + } + enum "isis-spf-trig-attach-clr" { + description + "Attached bit cleared"; + } + enum "isis-spf-trig-overload-set" { + description + "Overload bit set"; + } + enum "isis-spf-trig-overload-clr" { + description + "Overload bit cleared"; + } + enum "isis-spf-trig-link-good" { + description + "Good news link TLV content change"; + } + enum "isis-spf-trig-link-bad" { + description + "Bad news link TLV content change"; + } + enum "isis-spf-trig-prefix-good" { + description + "Good news prefix TLV content change"; + } + enum "isis-spf-trig-prefix-bad" { + description + "Bad news prefix TLV content change"; + } + enum "isis-spf-trig-prefix" { + description + "Neutral (neither good nor bad news) prefix TLV + content change"; + } + enum "isis-spf-trig-area-addr" { + description + "Area address TLV content change"; + } + enum "isis-spf-trig-ip-addr" { + description + "IP address TLV content change"; + } + enum "isis-spf-trig-rtrid" { + description + "Router id TLV content change"; + } + enum "isis-spf-trig-prefix-policy" { + description + "Prefix policy change"; + } + } + description + "Isis spf trigger"; + } + + typedef Isis-spf-class { + type enumeration { + enum "isis-spf-frr-sr-u-loop" { + value 0; + description + "Remote microloop avoidance SPF"; + } + enum "isis-spf-frr-per-link" { + value 1; + description + "FRR per-link SPF"; + } + enum "isis-spf-partial" { + value 2; + description + "PRC"; + } + enum "isis-spf-frr-per-prefix" { + value 3; + description + "FRR per-prefix SPF"; + } + enum "isis-spf-ucmp-calc" { + value 4; + description + "UCMP SPF"; + } + enum "isis-spf-next-hop" { + value 5; + description + "Next Hop"; + } + enum "isis-spf-incremental" { + value 6; + description + "Incremental SPF"; + } + enum "isis-spf-full" { + value 7; + description + "Full SPF"; + } + } + description + "Types of route calculation"; + } + + typedef Isis-sh-te-pce-flooding-scope { + type enumeration { + enum "none" { + description + "Flooding is disabled"; + } + enum "area" { + description + "Area wide flooding"; + } + enum "domain" { + description + "Domain wide flooding"; + } + } + description + "Isis sh te pce flooding scope"; + } + + typedef Isis-sh-te-link { + type enumeration { + enum "isis-sh-te-link-p2p" { + description + "Tunnel is absolute"; + } + enum "isis-sh-te-link-broadcast" { + description + "Broadcast link"; + } + } + description + "Isis sh te link"; + } + + typedef Isis-lsp-db-op { + type enumeration { + enum "isis-lsp-db-clear" { + description + "Clear the LSP database"; + } + enum "isis-lsp-db-insert-new-lsp" { + description + "Insertion of new LSP"; + } + enum "isis-lsp-db-replace-lsp-with-lsp" { + description + "LSP replacing LSP"; + } + enum "isis-lsp-db-purge-lsp" { + description + "LSP purged by the local system"; + } + enum "isis-lsp-db-delete-lsp" { + description + "Removal of the LSP from the database"; + } + } + description + "Isis lsp db op"; + } + + typedef Isis-pseudo-node-number { + type uint8; + description + "Isis pseudo node number"; + } + + typedef Isis-lsp-trigger { + type enumeration { + enum "isis-lsp-trig-config" { + description + "Any configuration change"; + } + enum "isis-lsp-trig-newadj" { + description + "New adjacency came up"; + } + enum "isis-lsp-trig-deladj" { + description + "Adjacency went down"; + } + enum "isis-lsp-trig-dr-change" { + description + "DIS changed, or pseudonode changed"; + } + enum "isis-lsp-trig-area-set" { + description + "Active area set changed"; + } + enum "isis-lsp-trig-attach" { + description + "Attached bit changed state"; + } + enum "isis-lsp-trig-hippity" { + description + "LSPDB overload bit changed state"; + } + enum "isis-lsp-trig-regen" { + description + "LSP regeneration"; + } + enum "isis-lsp-trig-ip-if-up" { + description + "Directly connected IP prefix up"; + } + enum "isis-lsp-trig-ip-if-down" { + description + "Directly connected IP prefix down"; + } + enum "isis-lsp-trig-ip-inter-area" { + description + "Interarea IP route appeared or gone"; + } + enum "isis-lsp-trig-ip-external" { + description + "Redistributed IP route appeared or gone"; + } + enum "isis-lsp-trig-ip-external-full" { + description + "Full IP redistribution"; + } + enum "isis-lsp-trig-ip-def-orig" { + description + "Default information originate changed"; + } + enum "isis-lsp-trig-ip-addr-chg" { + description + "IP interface address changed"; + } + enum "isis-lsp-trig-te-info" { + description + "TE bandwidth resource information"; + } + enum "isis-lsp-trig-te-pce-info" { + description + "TE PCE information"; + } + enum "isis-lsp-trig-te-fa-info" { + description + "TE forwarding adjacency information"; + } + enum "isis-lsp-trig-nsr-fo" { + description + "NSR FO is done"; + } + enum "isis-lsp-trig-pn-cancel" { + description + "Pseudo-node generation canceled"; + } + enum "isis-lsp-trig-lkgp" { + description + "Link-group offset metric change"; + } + enum "isis-lsp-trig-pp" { + description + "Proactive Protection metric change"; + } + enum "isis-lsp-trig-config-force-send" { + description + "Any configuration change that requires all LSPs + to be updated"; + } + enum "isis-lsp-trig-config-force-init" { + description + "Any configuration change that requires the LBD + database re-init."; + } + enum "isis-lsp-trig-adj-sid-add" { + description + "Adjacency SID added"; + } + enum "isis-lsp-trig-adj-sid-delete" { + description + "Adjacency SID deleted"; + } + enum "isis-lsp-trig-msd" { + description + "Maximum SID depth change"; + } + enum "isis-lsp-trig-adj-sid-wait-timer" { + description + "Adjacency SID wait timer expired"; + } + enum "isis-lsp-trig-direct-gen" { + description + "Direct LSP generation"; + } + } + description + "Isis lsp trigger"; + } + + typedef Isis-adj-topo-status { + type enumeration { + enum "isis-adj-topo-status-ok" { + description + "Topology is included in adjacency"; + } + enum "isis-adj-topo-status-intf-not-configured" { + description + "Topology is not configured on the interface"; + } + enum "isis-adj-topo-status-intf-not-running" { + description + "Topology is not running on the interface"; + } + enum "isis-adj-topo-status-init-state" { + description + "Adjacency is in INIT state"; + } + enum "isis-adj-topo-status-neighbor-doesnt-participate" { + description + "Neighbor doesn't participate in topology"; + } + enum "isis-adj-topo-status-ipv4-address-tlv-missing" { + description + "Neighbor IIH doesn't contain IPv4 address TLV"; + } + enum "isis-adj-topo-status-ipv4-address-tlv-empty" { + description + "Neighbor's IPv4 address TLV is empty"; + } + enum "isis-adj-topo-status-ipv6-address-tlv-missing" { + description + "Neighbor IIH doesn't contain IPv6 address TLV"; + } + enum "isis-adj-topo-status-ipv6-address-tlv-empty" { + description + "Neighbor's IPv6 address TLV is empty"; + } + enum "isis-adj-topo-status-ipv4-address-matches-ours" { + description + "Neighbor's IPv4 address matches ours"; + } + enum "isis-adj-topo-status-ipv6-address-matches-ours" { + description + "Neighbor's IPv6 address matches ours"; + } + enum "isis-adj-topo-status-ipv4-address-subnet-mismatch" { + description + "Neighbor's IPv4 address is in a different + subnet to ours"; + } + enum "isis-adj-topo-status-ipv6-address-not-link-local" { + description + "Neighbor's IPv6 address is not link local"; + } + } + description + "Status of a topology in an adjacency"; + } + + typedef Isis-dr-priority { + type uint8; + description + "Isis dr priority"; + } + + typedef Isis-adj-bfd-state { + type enumeration { + enum "isis-adj-bfd-no-state" { + value 0; + description + "No BFD session created"; + } + enum "isis-adj-bfd-down-state" { + value 1; + description + "BFD session is DOWN"; + } + enum "isis-adj-bfd-init-state" { + value 2; + description + "Waiting for BFD session to come UP"; + } + enum "isis-adj-bfd-up-state" { + value 3; + description + "BFD session is UP"; + } + } + description + "Current BFD state of an adjacency"; + } + + typedef Isis-adj-topo-change { + type enumeration { + enum "isis-adj-topo-up-change" { + value 0; + description + "Topology up"; + } + enum "isis-adj-topo-next-hop-change" { + value 1; + description + "Topology next-hop changed"; + } + enum "isis-adj-topo-down-change" { + value 2; + description + "Topology down"; + } + } + description + "Per-topology change type for an adjacency"; + } + + typedef Isis-adj-state-reason { + type enumeration { + enum "isis-adj-up-nsf-restart" { + value 0; + description + "NSF Restart"; + } + enum "isis-adj-up-new-adj" { + value 1; + description + "New adjacency"; + } + enum "isis-adj-up-restarted" { + value 2; + description + "Restarted"; + } + enum "isis-adj-up-nsf-restored" { + value 3; + description + "Restored during NSF"; + } + enum "isis-adj-up-chkpt-restored" { + value 4; + description + "Restored from checkpoint"; + } + enum "isis-adj-init-reason" { + value 5; + description + "Into INIT"; + } + enum "isis-adj-init-neighbor-forgot" { + value 6; + description + "Neighbor forgot us"; + } + enum "isis-adj-down-hold-time" { + value 7; + description + "Holdtime expired"; + } + enum "isis-adj-down-if-down" { + value 8; + description + "Interface state going down"; + } + enum "isis-adj-down-cfg-mismatch" { + value 9; + description + "Area address/level mismatch"; + } + enum "isis-adj-down-circ-id" { + value 10; + description + "Circuit ID changed"; + } + enum "isis-adj-down-nsf-ack-fail" { + value 11; + description + "NSF could not CSNP Ack P2P adjacency"; + } + enum "isis-adj-down-db-clear" { + value 12; + description + "Clear of the Adjacency DB"; + } + enum "isis-adj-down-no-common-topology" { + value 13; + description + "Neighbors have no common link topology"; + } + enum "isis-adj-down-restart-tlv-missing" { + value 14; + description + "Restart TLV missing during IETF NSF restart"; + } + enum "isis-adj-down-bfd-down" { + value 15; + description + "BFD session has gone DOWN"; + } + enum "isis-adj-down-3way-down" { + value 16; + description + "3-way state down"; + } + } + description + "Isis adj state reason"; + } + + typedef Isis-level { + type enumeration { + enum "isis-level0" { + value 0; + description + "isis level0"; + } + enum "isis-level1" { + value 1; + description + "isis level1"; + } + enum "isis-level2" { + value 2; + description + "isis level2"; + } + } + description + "Isis level"; + } + + typedef Isis-ipv6-address { + type inet:ipv6-address; + description + "Isis ipv6 address"; + } + + typedef Isis-nodal-sid-value { + type uint32; + description + "Isis nodal sid value"; + } + + typedef Isis-ipv4-address { + type inet:ipv4-address; + description + "Isis ipv4 address"; + } + + typedef Isis-sub-af-id { + type enumeration { + enum "unicast" { + value 0; + description + "Unicast"; + } + enum "multicast" { + value 1; + description + "Multicast"; + } + } + description + "Isis sub af id"; + } + + typedef Isis-af-id { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4"; + } + enum "ipv6" { + value 1; + description + "IPv6"; + } + } + description + "Isis af id"; + } + + typedef Isis-media-class { + type enumeration { + enum "isis-media-class-lan" { + value 0; + description + "LAN"; + } + enum "isis-media-class-p2p" { + value 1; + description + "P2P"; + } + enum "isis-media-class-loop-back" { + value 2; + description + "Loopback"; + } + } + description + "Isis media class"; + } + + typedef Isis-levels { + type enumeration { + enum "isis-levels-none" { + value 0; + description + "isis levels none"; + } + enum "isis-levels-1" { + value 1; + description + "isis levels 1"; + } + enum "isis-levels-2" { + value 2; + description + "isis levels 2"; + } + enum "isis-levels-12" { + value 3; + description + "isis levels 12"; + } + enum "isis-levels-total" { + value 4; + description + "isis levels total"; + } + } + description + "Isis levels"; + } + + typedef Isis-adj-state { + type enumeration { + enum "isis-adj-up-state" { + value 0; + description + "Adjacency up"; + } + enum "isis-adj-init-state" { + value 1; + description + "Adjacency initializing"; + } + enum "isis-adj-failed-state" { + value 2; + description + "Adjacency down/failed"; + } + } + description + "Isis adj state"; + } + + grouping ISIS-SH-CHKPT-TE-TUNNEL { + description + "Checkpointed TE tunnel"; + leaf checkpoint-te-level { + type Isis-level; + description + "TE database level"; + } + leaf checkpoint-te-system-id { + type xr:Osi-system-id; + description + "Destination system ID"; + } + leaf checkpoint-te-interface { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf checkpoint-te-flags { + type uint32; + description + "Tunnel flags"; + } + leaf checkpoint-te-nexthop { + type Isis-ipv4-address; + description + "Tunnel next-hop IP address"; + } + leaf checkpoint-te-metric { + type int32; + description + "Tunnel metric"; + } + leaf checkpoint-te-metric-mode { + type Isis-metric-mode; + description + "Tunnel metric mode"; + } + leaf checkpoint-te-bandwidth { + type uint32; + description + "Tunnel bandwidth"; + } + leaf checkpoint-te-object-id { + type uint32; + description + "Tunnel checkpoint object ID"; + } + } + + grouping NSR-STATS-GBL-TYPE { + description + "NSR STATS GBL TYPE"; + leaf no-of-l1-lsp { + type uint32; + description + "no of l1 lsp"; + } + leaf no-of-l2-lsp { + type uint32; + description + "no of l2 lsp"; + } + leaf no-of-l1-adj { + type uint16; + description + "no of l1 adj"; + } + leaf no-of-l2-adj { + type uint16; + description + "no of l2 adj"; + } + leaf no-of-live-interface { + type uint16; + description + "no of live interface"; + } + leaf no-of-ptp-interface { + type uint16; + description + "no of ptp interface"; + } + leaf no-of-lan-interface { + type uint16; + description + "no of lan interface"; + } + leaf no-of-loopback-interface { + type uint16; + description + "no of loopback interface"; + } + leaf no-of-te-tunnels { + type uint16; + description + "no of te tunnels"; + } + leaf no-of-te-links { + type uint16; + description + "no of te links"; + } + leaf no-of-ipv4-routes { + type uint32; + description + "no of ipv4 routes"; + } + leaf no-of-ipv6-routes { + type uint32; + description + "no of ipv6 routes"; + } + leaf seqnum { + type uint32; + description + "seqnum"; + } + } + + grouping NSR-STATS-GBL-ARR-TYPE { + description + "NSR STATS GBL ARR TYPE"; + container self { + description + "self"; + uses NSR-STATS-GBL-TYPE; + } + list peer { + max-elements "3"; + description + "peer"; + uses NSR-STATS-GBL-TYPE; + } + } + + grouping ISIS-SH-NSR-STATS-GLOBAL { + description + "IS-IS process NSR statistics"; + container isis-nsr-stats-data { + description + "ISIS NSR STATS Data"; + uses NSR-STATS-GBL-ARR-TYPE; + } + leaf isis-vm-state { + type uint16; + description + "ISIS VM STATE"; + } + } + + grouping ISIS-SH-MESH-ENTRY { + description + "Mesh-group informaiton for one interface"; + list isis-sh-mesh-entry { + description + "isis sh mesh entry"; + leaf mesh-group-interface { + type xr:Interface-name; + description + "This interface"; + } + leaf mesh-group-number { + type Isis-mesh-group-number; + description + "Mesh-group number"; + } + } + } + + grouping ISIS-SH-MESH-GROUPS { + description + "IS-IS mesh-group data"; + container mesh-group-configured-interface-list { + description + "List of mesh-group-configured interfaces"; + uses ISIS-SH-MESH-ENTRY; + } + } + + grouping ISIS-SH-CHKPT-LSP { + description + "Checkpointed LSP"; + leaf checkpoint-lsp-object-id { + type uint32; + description + "LSP Checkpoint table object ID"; + } + leaf checkpoint-lsp-level { + type uint8; + description + "LSP level"; + } + leaf checkpoint-lsp-local-flag { + type boolean; + description + "TRUE if this is a local LSP"; + } + leaf checkpoint-lsp-id { + type xr:Isis-lsp-id; + description + "LSP ID"; + } + } + + grouping ISIS-SH-NBR-SUMM-LEVEL { + description + "Neighbor states for one level"; + leaf neighbor-up-count { + type uint32; + description + "Neighbors up"; + } + leaf neighbor-init-count { + type uint32; + description + "Neighbors being initialized"; + } + leaf neighbor-down-count { + type uint32; + description + "Neighbors down"; + } + } + + grouping ISIS-SH-NBR-SUMM { + description + "Neighbor summary data"; + container level1-neighbors { + description + "L1-only neighbors"; + uses ISIS-SH-NBR-SUMM-LEVEL; + } + container level2-neighbors { + description + "L2-only neighbors"; + uses ISIS-SH-NBR-SUMM-LEVEL; + } + container level12-neigbors { + description + "L12 neighbors"; + uses ISIS-SH-NBR-SUMM-LEVEL; + } + } + + grouping ISIS-SH-TOPO-AREA { + description + "Per-topology, per-area IS-IS protocol data"; + leaf level { + type Isis-level; + description + "The level this data refers to"; + } + leaf uses-default-link-topo-flag { + type boolean; + description + "Does this topology use the default link topology"; + } + leaf generated-metric-style { + type Isis-metric-style; + description + "Generate metric style"; + } + leaf accepted-metric-style { + type Isis-metric-style; + description + "Accept metric style"; + } + leaf metric { + type Isis-metric; + description + "Metric"; + } + leaf ispf-state { + type Isis-enabled; + description + "ISPF state"; + } + leaf te-enabled { + type boolean; + description + "Indicates whether MPLS TE is enabled"; + } + leaf uloop-avoidance-type { + type Isis-uloop-avoidance; + description + "Microloop avoidance type"; + } + leaf rib-update-delay { + type uint32; + description + "Microloop RIB update delay"; + } + leaf sr-uloop-is-active { + type boolean; + description + "Explicit paths installed in the RIB"; + } + leaf duration { + type uint32; + description + "SR microloop avoidance duration"; + } + leaf sr-uloop-event { + type Isis-uloop-event; + description + "SR microloop avoidance event"; + } + leaf sr-uloop-near-node-id { + type xr:Isis-node-id; + description + "SR microloop near node"; + } + leaf sr-uloop-far-node-id { + type xr:Isis-node-id; + description + "SR microloop far node"; + } + } + + grouping ISIS-SH-REDIST-ENTRY { + description + "Redistributed protocol entry"; + list isis-sh-redist-entry { + description + "isis sh redist entry"; + container protocol-details { + description + "Relevant details of the redistributed protocol"; + uses ISIS-SH-REDIST-ENTRY-PROTO; + } + } + } + + grouping ISIS-SH-TOPO { + description + "Per-topology IS-IS instance data"; + container id { + description + "Topology ID"; + uses ISIS-TOPO-ID-TYPE; + } + container redist-protocols-list { + description + "List of redistributed protocols"; + uses ISIS-SH-REDIST-ENTRY; + } + leaf default-admin-distance { + type uint32; + description + "Default administrative distance"; + } + leaf advertise-passive-only { + type boolean; + description + "Advertise passive interface prefixes only"; + } + leaf wait-redist-complete { + type boolean; + description + "Waiting for redist complete RIB event"; + } + list per-area-data { + description + "Per-area data"; + uses ISIS-SH-TOPO-AREA; + } + } + + grouping ISIS-SH-PROTO { + description + "Information about an IS-IS instance"; + leaf vrf-context { + type Isis-string; + description + "VRF context"; + } + leaf nsap-system-id { + type xr:Osi-system-id; + description + "Local system ID"; + } + leaf valid-nsap-system-id { + type boolean; + description + "Indicates if system ID valid"; + } + leaf instance-id { + type uint16; + description + "instance id"; + } + leaf running-levels { + type Isis-levels; + description + "Levels running"; + } + leaf configured-nsf-flavor { + type Isis-nsf-flavor; + description + "Configured NSF type"; + } + leaf last-restart-nsf-flavor { + type Isis-nsf-flavor; + description + "NSF type of last restart"; + } + leaf last-restart-status { + type Isis-startup-status; + description + "Last restart status"; + } + leaf te-connection { + type Isis-up; + description + "TE connection"; + } + leaf remaining-time-for-next-nsf-restart { + type uint32; + description + "Time remaining until the next NSF restart may be + attempted"; + } + leaf adj-form-count { + type uint32; + description + "Adj Forming count"; + } + leaf adj-full-count { + type uint32; + description + "Adj Full count"; + } + leaf adj-stagger-enabled { + type boolean; + description + "Adjacency Stagger Enabled"; + } + leaf adj-stagger-init { + type uint32; + description + "Adjacency Stagger Initiall Number of Forming + Neighbors Allowed"; + } + leaf adj-stagger-max { + type uint32; + description + "Adjacency Stagger Max Number of Forming + Neighbors Allowed"; + } + leaf srgb-allocated { + type boolean; + description + "Is SRGB allocated ?"; + } + leaf srgb-start { + type uint32; + description + "First label in SRGB"; + } + leaf srgb-end { + type uint32; + description + "Last label in SRGB"; + } + leaf srlb-allocated { + type boolean; + description + "Is SRLB allocated ?"; + } + leaf srlb-start { + type uint32; + description + "First label in SRLB"; + } + leaf srlb-end { + type uint32; + description + "Last label in SRLB"; + } + list manual-area-address { + description + "Manual area addresses"; + leaf entry { + type xr:Osi-area-address; + } + } + list active-area-address { + description + "Active area addresses"; + leaf entry { + type xr:Osi-area-address; + } + } + list per-topo-data { + description + "Per-topology data"; + uses ISIS-SH-TOPO; + } + } + + grouping ISIS-TRAFFIC-INTF-AREA-LAN-TYPE { + description + "Per-interface, per-area LAN-only statistics"; + container iih-count { + description + "IIH statistics"; + uses ISIS-TRAFFIC-PDU-COUNT-TYPE; + } + leaf memory-exhausted-iih-count { + type uint32; + description + "IIHs not sent due to memory exhaustion"; + } + leaf dis-election-count { + type uint32; + description + "DIS elections"; + } + } + + grouping ISIS-TRAFFIC-INTF-AREA-TYPE { + description + "Per-interface, per-area statistics"; + container lsp-count { + description + "LSP statistics"; + uses ISIS-TRAFFIC-PDU-COUNT-TYPE; + } + container csnp-count { + description + "CSNP statistics"; + uses ISIS-TRAFFIC-PDU-COUNT-TYPE; + } + container psnp-count { + description + "PSNP statistics"; + uses ISIS-TRAFFIC-PDU-COUNT-TYPE; + } + leaf lsp-drop-count { + type uint32; + description + "Count of LSPs dropped due to minimum arrival + time config"; + } + leaf lsp-flooding-dup-count { + type uint32; + description + "Count of LSPs already received by neighbors and + not flooded"; + } + } + + grouping ISIS-SH-TRAFFIC-INTF-AREA { + description + "Per-interface, per-area data"; + container statistics { + description + "Statistics"; + uses ISIS-TRAFFIC-INTF-AREA-TYPE; + } + container lan-data { + description + "LAN interface statistics. NULL for non-LAN + interfaces"; + uses ISIS-TRAFFIC-INTF-AREA-LAN-TYPE; + } + leaf level { + type Isis-level; + description + "Level of the area this data relates to"; + } + } + + grouping ISIS-TRAFFIC-PDU-COUNT-TYPE { + description + "Per-interface, per-PDU statistics"; + leaf pdu-receive-count { + type uint32; + description + "PDUs received"; + } + leaf pdu-send-count { + type uint32; + description + "PDUs sent"; + } + } + + grouping ISIS-TRAFFIC-INTF-P2P-TYPE { + description + "Per-interface point-to-point statistics"; + container iih-count { + description + "IIH statistics"; + uses ISIS-TRAFFIC-PDU-COUNT-TYPE; + } + leaf memory-exhausted-iih-count { + type uint32; + description + "IIHs not sent due to memory exhaustion"; + } + leaf lsp-retransmit-count { + type uint32; + description + "LSP retransmissions"; + } + } + + grouping ISIS-SH-TRAFFIC-INTF { + description + "IS-IS interface traffic data"; + container p2p-statistics { + description + "P2P interface statistics. NULL for non-P2P + interfaces"; + uses ISIS-TRAFFIC-INTF-P2P-TYPE; + } + leaf traffic-interface { + type xr:Interface-name; + description + "Interface to which traffic statistics apply"; + } + leaf interface-media-type { + type Isis-media-class; + description + "Interface media class"; + } + list per-area-data { + description + "Per-area data"; + uses ISIS-SH-TRAFFIC-INTF-AREA; + } + } + + grouping ISIS-SH-CHKPT-IDB { + description + "Checkpointed interface"; + leaf checkpoint-object-id { + type uint32; + description + "Checkpoint object ID"; + } + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf checkpoint-interface-handle { + type xr:Interface-name; + description + "Local interface handle"; + } + leaf local-circuit-number { + type Isis-circuit-number; + description + "Local circuit number"; + } + leaf dis-areas { + type Isis-levels; + description + "Areas in which this system is DIS"; + } + leaf has-adjacency { + type boolean; + description + "TRUE if there is an adjacency on this interface"; + } + leaf local-snpa { + type xr:Isis-snpa; + description + "SNPA of this interface"; + } + leaf has-joined-mcast-group { + type boolean; + description + "TRUE if multicast group registration succeeded + on this interface"; + } + leaf has-achieved-ldp-sync { + type boolean; + description + "MPLS LDP sync status"; + } + leaf has-achieved-ld-pv6-sync { + type boolean; + description + "MPLS LDPv6 sync status"; + } + } + + grouping ISIS-SH-ERR-LOG-ENT { + description + "An error log entry"; + container generic-data { + description + "Generic entry data"; + uses ISIS-SH-GENERIC-LOG-ENT; + } + leaf error-log-level { + type Isis-err-log-level; + description + "Logging level"; + } + leaf error-code { + type uint32; + description + "Error code"; + } + leaf error-reason { + type string; + description + "Error details"; + } + } + + grouping ISIS-SH-ERR-LOG-STRUC { + description + "Error log structure"; + list log-entry { + description + "Error Log entries"; + uses ISIS-SH-ERR-LOG-ENT; + } + } + + grouping ISIS-SH-CHKPT-ADJ { + description + "Checkpointed adjacency"; + leaf checkpoint-adjacency-object-id { + type uint32; + description + "Checkpoint object ID"; + } + leaf checkpoint-adjacency-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + leaf checkpoint-adjacency-snpa { + type xr:Isis-snpa; + description + "Neighbor SNPA"; + } + leaf checkpoint-adjacency-interface { + type xr:Interface-name; + description + "Local interface"; + } + leaf checkpoint-adjacency-level { + type Isis-level; + description + "Adjacency level"; + } + leaf checkpoint-adjacency-holdtime { + type uint16; + description + "Adjacency holdtime (s)"; + } + leaf checkpoint-adjacency-lan-priority { + type Isis-dr-priority; + description + "Adjacency LAN priority"; + } + leaf checkpoint-adjacency-circuit-number { + type Isis-circuit-number; + description + "Neighbor circuit number"; + } + list checkpoint-adjacency-per-address-family-next-hop { + description + "Per address family next hops"; + uses ISIS-IP-ADDR-TYPE; + } + } + + grouping ISIS-SH-IF-AF-PREFIX-DATA { + description + "Address prefix info"; + leaf is-unnumbered { + type boolean; + description + "Is the interface unnumbered"; + } + list prefix { + description + "Array of global prefixes"; + uses ISIS-IP-PREFIX-TYPE; + } + } + + grouping ISIS-SH-IF-AF-PREFIX-UNKNOWN { + description + "Address prefix unknown info"; + leaf reason-code { + type Isis-if-af-prefix-unknown-reason; + description + "Reason why the global prefix(es) is(are) unknown"; + } + } + + grouping ISIS-SH-IF-AF-PREFIX-STATUS { + description + "ISIS SH IF AF PREFIX STATUS"; + container unknown { + when "../status = 'isis-unknown'" { + description + "../Status = 'ISIS_UNKNOWN'"; + } + description + "Unknown state for the global prefixes"; + uses ISIS-SH-IF-AF-PREFIX-UNKNOWN; + } + container prefix-data { + when "../status = 'isis-known'" { + description + "../Status = 'ISIS_KNOWN'"; + } + description + "Global prefix data for the Address Family"; + uses ISIS-SH-IF-AF-PREFIX-DATA; + } + leaf status { + type Isis-known; + description + "Status"; + } + } + + grouping ISIS-IP-ADDR-TYPE { + description + "ISIS IP ADDR TYPE"; + leaf af-name { + type Isis-af-id; + description + "AFName"; + } + leaf ipv4 { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type Isis-ipv4-address; + description + "IPV4 address type"; + } + leaf ipv6 { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Isis-ipv6-address; + description + "IPV6 address type"; + } + } + + grouping ISIS-SH-IF-AF-FWD-ADDR-DATA { + description + "Address-family forwarding address data"; + leaf unnumbered-interface-name { + type string; + description + "If the interface is unnumbered, then its name, + else NULL"; + } + list forwarding-address { + description + "Array of forwarding addresses"; + uses ISIS-IP-ADDR-TYPE; + } + } + + grouping ISIS-SH-IF-AF-FWD-ADDR-UNKNOWN { + description + "Forwarding address unknown data"; + leaf reason-code { + type Isis-if-af-fwd-addr-unknown-reason; + description + "Reason why the forwarding address(es) of an AF + is(are) unknown"; + } + } + + grouping ISIS-SH-IF-AF-FWD-ADDR-STATUS { + description + "ISIS SH IF AF FWD ADDR STATUS"; + container unknown { + when "../status = 'isis-unknown'" { + description + "../Status = 'ISIS_UNKNOWN'"; + } + description + "Unknown forwarding address data"; + uses ISIS-SH-IF-AF-FWD-ADDR-UNKNOWN; + } + container forwarding-address-data { + when "../status = 'isis-known'" { + description + "../Status = 'ISIS_KNOWN'"; + } + description + "Known Forwarding address data"; + uses ISIS-SH-IF-AF-FWD-ADDR-DATA; + } + leaf status { + type Isis-known; + description + "Status"; + } + } + + grouping ISIS-SH-IF-AF-PROTO-DOWN { + description + "Address family protocol down info"; + leaf reason-code { + type Isis-if-af-proto-down-reason; + description + "Reason why the Address Family protocol status is + down"; + } + } + + grouping ISIS-SH-IF-AF-PROTO-STATUS { + description + "ISIS SH IF AF PROTO STATUS"; + container disabled { + when "../status = 'isis-down'" { + description + "../Status = 'ISIS_DOWN'"; + } + description + "Disabled state of the Address Family protocol"; + uses ISIS-SH-IF-AF-PROTO-DOWN; + } + leaf status { + type Isis-up; + description + "Status"; + } + } + + grouping ISIS-SH-IF-AF-ENABLED { + description + "Enabled address-family info of an interface"; + container protocol-status { + description + "Protocol status of the AF"; + uses ISIS-SH-IF-AF-PROTO-STATUS; + } + container forwarding-address-status { + description + "Forwarding status of the AF"; + uses ISIS-SH-IF-AF-FWD-ADDR-STATUS; + } + container prefix-status { + description + "Prefix status of the AF"; + uses ISIS-SH-IF-AF-PREFIX-STATUS; + } + } + + grouping ISIS-SH-IF-AF-DISABLED { + description + "Address family disabled info"; + leaf reason-code { + type Isis-if-af-disabled-reason; + description + "Reason why the Address Family is disabled"; + } + } + + grouping ISIS-SH-IF-AF-STATUS { + description + "ISIS SH IF AF STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled info for the AF of an interface"; + uses ISIS-SH-IF-AF-DISABLED; + } + container af-data { + when "../status = 'isis-enabled'" { + description + "../Status = 'ISIS_ENABLED'"; + } + description + "Enabled data for the AF of an interface"; + uses ISIS-SH-IF-AF-ENABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-AF { + description + "Per Address family info"; + container af-status { + description + "Address Family status of the interface"; + uses ISIS-SH-IF-AF-STATUS; + } + leaf af-name { + type Isis-af-id; + description + "Address Family Identifier of the interface"; + } + } + + grouping ISIS-SH-MADJ-SID-IF { + description + "Manual Adjacency SID Interface Configuration and + Operation"; + leaf manual-adjacency-sid-label { + type Isis-nodal-sid-value; + description + "Manual Adjacency SID Label"; + } + leaf manual-adjacency-sid-index { + type Isis-nodal-sid-value; + description + "Manual Adjacency SID Index (if configured as + index)"; + } + leaf manual-adjacency-sid-type { + type uint8; + description + "Manual Adjacency SID Type (Absolute or Index)"; + } + leaf sid-protected { + type boolean; + description + "SID configured as protected by backup path"; + } + leaf sid-active { + type boolean; + description + "SID is in use"; + } + } + + grouping ISIS-FRR-TIEBREAKER-SORTED { + description + "FRR Tie Breaker Structure"; + leaf tie-breaker { + type Isis-frr-tiebreaker; + description + "Tie Breaker Type"; + } + leaf index { + type uint8; + description + "Tie Breaker Index"; + } + } + + grouping ISIS-SH-IF-FRR-LEVEL { + description + "Per level FRR information"; + leaf frr-type { + type Isis-frr; + description + "FRR type configured per level for this interface"; + } + leaf is-frr { + type boolean; + description + "Is FRR enabled per level on this interface"; + } + leaf is-remote-lfa { + type boolean; + description + "Is FRR Remote LFA enabled per level for this + interface"; + } + leaf is-ti-lfa { + type boolean; + description + "Is FRR TI LFA enabled per level for this + interface"; + } + leaf ti-lfa-node-tie-breaker-index { + type uint8; + description + "TI LFA node-protecting Tie breaker index"; + } + leaf ti-lfa-srlg-tie-breaker { + type uint8; + description + "TI LFA srlg Tie breaker index"; + } + leaf is-tie-breakers-configured { + type boolean; + description + "Is Tiebreaker configured per level for this + interface"; + } + list frr-tie-breaker { + max-elements "8"; + description + "FRR TieBreakers array per level for this + interface"; + uses ISIS-FRR-TIEBREAKER-SORTED; + } + } + + grouping ISIS-SH-IF-TOPO-ADV-PREFIX-DISABLED { + description + "Topology info when prefix advertisement is + disabled"; + leaf reason-code { + type Isis-if-topo-adv-prefix-disabled-reason; + description + "Reason why the prefix advertisement status of a + topology is disabled"; + } + } + + grouping ISIS-SH-IF-TOPO-ADV-PREFIX-STATUS { + description + "ISIS SH IF TOPO ADV PREFIX STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled state for the prefix advertisement + status of a topology"; + uses ISIS-SH-IF-TOPO-ADV-PREFIX-DISABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-TOPO-ADJ-FORM-DISABLED { + description + "Topology info when adjacency formation is + disabled"; + leaf reason-code { + type Isis-if-topo-adj-form-disabled-reason; + description + "Reason why the adjacency formation status of a + topology is disabled"; + } + } + + grouping ISIS-SH-IF-TOPO-ADJ-FORM-STATUS { + description + "ISIS SH IF TOPO ADJ FORM STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled state for the adjacency formation + status of a topology"; + uses ISIS-SH-IF-TOPO-ADJ-FORM-DISABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-TOPO-ENABLED { + description + "Enabled topology info of an interface"; + container adjacency-form-status { + description + "Adjacency formation status of a topology"; + uses ISIS-SH-IF-TOPO-ADJ-FORM-STATUS; + } + container adv-prefix-status { + description + "Prefix advertisement status of a topology"; + uses ISIS-SH-IF-TOPO-ADV-PREFIX-STATUS; + } + container level1-frr { + description + "Level1 FRR information"; + uses ISIS-SH-IF-FRR-LEVEL; + } + container level2-frr { + description + "Level2 FRR information"; + uses ISIS-SH-IF-FRR-LEVEL; + } + leaf level1-metric { + type Isis-metric; + description + "L1 metric for this topology"; + } + leaf level2-metric { + type Isis-metric; + description + "L2 metric for this topology"; + } + leaf level1-weight { + type Isis-metric; + description + "L1 metric for this topology"; + } + leaf level2-weight { + type Isis-metric; + description + "L2 metric for this topology"; + } + leaf max-label-supported { + type uint8; + description + "MPLS maximum number of pri labels supported"; + } + leaf max-bkp-label-supported { + type uint8; + description + "MPLS maximum number of backup labels supported"; + } + leaf max-srte-label-supported { + type uint8; + description + "MPLS maximum number of srte labels supported"; + } + leaf level1ldp-sync-enabled { + type boolean; + description + "MPLS LDP sync enabled status for L1"; + } + leaf level2ldp-sync-enabled { + type boolean; + description + "MPLS LDP sync enabled status for L2"; + } + leaf ldp-sync-status { + type boolean; + description + "Status of MPLS LDP synchronization"; + } + leaf ld-pv6-sync-status { + type boolean; + description + "Status of MPLS LDPv6 synchronization"; + } + leaf level1-offset-metric { + type Isis-metric; + description + "L1 metric-offset for this topology"; + } + leaf level2-offset-metric { + type Isis-metric; + description + "L2 metric-offset for this topology"; + } + leaf level1-lkgp-configured { + type boolean; + description + "Link-Group configure status for L1"; + } + leaf level2-lkgp-configured { + type boolean; + description + "Link-Group configure status for L2"; + } + leaf level1pp-metric { + type Isis-metric; + description + "L1 PP-metric for this topology"; + } + leaf level2pp-metric { + type Isis-metric; + description + "L2 PP-metric for this topology"; + } + leaf level1pp-configured { + type boolean; + description + "PP configure status for L1"; + } + leaf level2pp-configured { + type boolean; + description + "PP configure status for L2"; + } + list manual-adj-sid { + description + "Array of Manual Adjacency SIDs"; + uses ISIS-SH-MADJ-SID-IF; + } + } + + grouping ISIS-SH-IF-TOPO-DISABLED { + description + "Disabled topology info of an interface"; + leaf reason-code { + type Isis-if-topo-disabled-reason; + description + "Reason why the topology is disabled"; + } + } + + grouping ISIS-SH-IF-TOPO-STATUS { + description + "ISIS SH IF TOPO STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled information of a topology"; + uses ISIS-SH-IF-TOPO-DISABLED; + } + container enabled { + when "../status = 'isis-enabled'" { + description + "../Status = 'ISIS_ENABLED'"; + } + description + "Enabled information of a topology"; + uses ISIS-SH-IF-TOPO-ENABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-TOPO { + description + "Per topology info of an interface"; + container topology-id { + description + "Topology identifier"; + uses ISIS-TOPO-ID-TYPE; + } + container status { + description + "Status of the topology"; + uses ISIS-SH-IF-TOPO-STATUS; + } + } + + grouping ISIS-SH-IF-AREA-ACTIVE-LAN { + description + "Per-interface, per-area data for active LAN + interface"; + leaf circuit-lan-id { + type Isis-circuit-id; + description + "Circuit LAN ID"; + } + leaf time-until-next-iih { + type uint32; + description + "Time (ms) until next IIH"; + } + leaf interface-priority { + type Isis-dr-priority; + description + "Interface's DIS-election priority"; + } + leaf dispriority { + type Isis-dr-priority; + description + "Priority of current DIS on this LAN"; + } + leaf are-we-dis { + type boolean; + description + "Flag indicating if this LAN circuit is the DIS"; + } + } + + grouping ISIS-SH-IF-AREA-ACTIVE { + description + "Per-area data for an interface"; + container lan-data { + description + "LAN data, NULL iff interface has non-LAN media + type"; + uses ISIS-SH-IF-AREA-ACTIVE-LAN; + } + leaf level { + type Isis-level; + description + "Level of the area"; + } + leaf adjacency-count { + type uint32; + description + "Number of adjacencies"; + } + leaf lsp-pacing-interval { + type uint32; + description + "LSP pacing time period (ms)"; + } + leaf psnp-transmit-queue-size { + type uint32; + description + "No. of SNP entries queued to be transmitted"; + } + leaf hello-interval { + type uint32; + description + "Hello interval"; + } + leaf hello-multiplier { + type uint32; + description + "Hello Multiplier"; + } + } + + grouping ISIS-SH-IF-CLNS-P2P-OVER-LAN { + description + "Point-to-point over LAN specific CLNS state"; + container multicast-status { + description + "Multicast group membership status"; + uses ISIS-SH-IF-MCAST-STATUS; + } + } + + grouping ISIS-SH-IF-CLNS-P2P { + description + "Point-to-point CLNS state"; + container p2p-over-lan-data { + description + "Point-to-point over LAN data"; + uses ISIS-SH-IF-CLNS-P2P-OVER-LAN; + } + } + + grouping ISIS-SH-IF-MCAST-INVALID { + description + "Invalid multicast info"; + leaf reason-code { + type Isis-if-mcast-invalid-reason; + description + "Reason why the multicast status is invalid"; + } + } + + grouping ISIS-SH-IF-MCAST-STATUS { + description + "ISIS SH IF MCAST STATUS"; + container invalid { + when "../status = 'isis-invalid'" { + description + "../Status = 'ISIS_INVALID'"; + } + description + "Information pertaining to the invalid multicast + status"; + uses ISIS-SH-IF-MCAST-INVALID; + } + leaf status { + type Isis-valid; + description + "Status"; + } + } + + grouping ISIS-SH-IF-AREA-CLNS { + description + "Per interface per area CLNS state"; + container multicast-status { + description + "Multicast group membership status"; + uses ISIS-SH-IF-MCAST-STATUS; + } + leaf level { + type Isis-level; + description + "Level of the area"; + } + } + + grouping ISIS-SH-IF-CLNS-LAN { + description + "LAN specific CLNS state"; + list per-area-data { + description + "Array of per area CLNS data"; + uses ISIS-SH-IF-AREA-CLNS; + } + } + + grouping ISIS-SH-IF-CLNS-MEDIA-SPECIFIC-STATUS { + description + "Media Specific CLNS state"; + container clns-lan-data { + when "../clns-media-type = 'isis-media-class-lan'" { + description + "../CLNSMediaType = 'ISIS_MEDIA_CLASS_LAN'"; + } + description + "LAN state"; + uses ISIS-SH-IF-CLNS-LAN; + } + container clns-p2p-data { + when "../clns-media-type = 'isis-media-class-p2p'" { + description + "../CLNSMediaType = 'ISIS_MEDIA_CLASS_P2P'"; + } + description + "Point-to-point state"; + uses ISIS-SH-IF-CLNS-P2P; + } + leaf clns-media-type { + type Isis-media-class; + description + "CLNSMediaType"; + } + } + + grouping ISIS-SH-IF-CLNS-SNPA-KNOWN { + description + "CLNS SNPA info"; + leaf snpa { + type xr:Isis-snpa; + description + "Valid SNPA"; + } + } + + grouping ISIS-SH-IF-CLNS-SNPA-UNKNOWN { + description + "Interface info with CLNS SNPA unknown"; + leaf reason-code { + type Isis-if-clns-snpa-unknown-reason; + description + "Reason why the SNPA is unknown"; + } + } + + grouping ISIS-SH-IF-CLNS-SNPA-STATUS { + description + "ISIS SH IF CLNS SNPA STATUS"; + container unknown { + when "../status = 'isis-unknown'" { + description + "../Status = 'ISIS_UNKNOWN'"; + } + description + "Information pertaining to the unknown SNPA state"; + uses ISIS-SH-IF-CLNS-SNPA-UNKNOWN; + } + container known { + when "../status = 'isis-known'" { + description + "../Status = 'ISIS_KNOWN'"; + } + description + "Information pertaining to the known SNPA state"; + uses ISIS-SH-IF-CLNS-SNPA-KNOWN; + } + leaf status { + type Isis-known; + description + "Status"; + } + } + + grouping ISIS-SH-IF-CLNS-MTU-INVALID { + description + "Interface info with invalid MTU"; + leaf reason-code { + type Isis-if-clns-mtu-invalid-reason; + description + "Reason why the MTU is invalid"; + } + } + + grouping ISIS-SH-IF-CLNS-MTU-STATUS { + description + "ISIS SH IF CLNS MTU STATUS"; + container invalid { + when "../status = 'isis-invalid'" { + description + "../Status = 'ISIS_INVALID'"; + } + description + "Information pertaining to the invalid CLNS MTU"; + uses ISIS-SH-IF-CLNS-MTU-INVALID; + } + leaf status { + type Isis-valid; + description + "Status"; + } + leaf mtu { + when "../status = 'isis-valid'" { + description + "../Status = 'ISIS_VALID'"; + } + type uint32; + description + "Valid MTU"; + } + } + + grouping ISIS-SH-IF-CLNS-PROTO-DOWN { + description + "Interface info when CLNS is down"; + leaf reason-code { + type Isis-if-clns-proto-down-reason; + description + "Reason why CLNS is down"; + } + } + + grouping ISIS-SH-IF-CLNS-STATUS { + description + "ISIS SH IF CLNS STATUS"; + container clns-down-info { + when "../status = 'isis-down'" { + description + "../Status = 'ISIS_DOWN'"; + } + description + "State describing why CLNS is down"; + uses ISIS-SH-IF-CLNS-PROTO-DOWN; + } + leaf status { + type Isis-up; + description + "Status"; + } + } + + grouping ISIS-SH-IF-CLNS { + description + "CLNS I/O data for an interface"; + container clns-status { + description + "Is CLNS protcol up or if not, the reason why it + is not up"; + uses ISIS-SH-IF-CLNS-STATUS; + } + container mtu-info { + description + "A valid MTU or the reason for the MTU being + invalid"; + uses ISIS-SH-IF-CLNS-MTU-STATUS; + } + container snpa-state { + description + "SNPA state"; + uses ISIS-SH-IF-CLNS-SNPA-STATUS; + } + container media-specific-state { + description + "Media Specific CLNS state"; + uses ISIS-SH-IF-CLNS-MEDIA-SPECIFIC-STATUS; + } + leaf time-until-next-lsp { + type uint32; + description + "Time until next LSP may be sent (ms)"; + } + leaf lsp-transmit-requested-flag { + type boolean; + description + "TRUE if an LSP transmission has been requested"; + } + leaf lsp-transmitted-flag { + type boolean; + description + "TRUE if an LSP transmission has been sent, + indicates LastLSPLevelTransmitted and + LastLSP_IDTransmitted valid"; + } + leaf lsp-txmitd-b2b-limit { + type uint32; + description + "Number of LSPs that can be sent back to back in + the current window without exceeding the pacing + limit"; + } + leaf lsp-txmt-b2b-msecs { + type uint32; + units "millisecond"; + description + "Time im msecs indicating the end of the window + in which the 'back to back lsps to be sent' + counter applies"; + } + leaf last-lsp-level-transmitted { + type Isis-level; + description + "Level of the Last LSP Transmitted"; + } + leaf last-lsp-id-transmitted { + type xr:Isis-lsp-id; + description + "Last LSP ID Transmitted"; + } + } + + grouping ISIS-SH-IF-BFD-TYPE { + description + "Per-interface BFD data"; + leaf enabled { + type boolean; + description + "IPv4 BFD enabled status"; + } + leaf ipv6-enabled { + type boolean; + description + "IPv6 BFD enabled status"; + } + leaf interval { + type uint32; + units "millisecond"; + description + "BFD hello minimum interval in milliseconds"; + } + leaf multiplier { + type uint32; + description + "BFD hello multiplier"; + } + } + + grouping ISIS-SH-IF-ACTIVE-P2P { + description + "Per-interface data"; + leaf time-until-next-iih { + type uint32; + description + "Time in ms before the next IIH can be sent"; + } + leaf retransmit-lsp-queue-size { + type uint32; + description + "No. of LSPs queued to be retransmitted"; + } + leaf retransmit-lsp-interval { + type uint32; + description + "Time in ms until the next scheduled LSP is + retransmitted"; + } + leaf extended-circuit-number { + type Isis-extended-circuit-number; + description + "Extended Circuit Number valid for a P2P + interface"; + } + } + + grouping ISIS-SH-IF-ADV-PREFIX-DISABLED { + description + "Interface info when prefix advertisement is + disabled"; + leaf reason-code { + type Isis-if-adv-prefix-disabled-reason; + description + "Reason why the interface is not able to + advertise prefixes"; + } + } + + grouping ISIS-SH-IF-ADV-PREFIX-STATUS { + description + "ISIS SH IF ADV PREFIX STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled info for the prefix advertisement + status"; + uses ISIS-SH-IF-ADV-PREFIX-DISABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-ADJ-FORM-DISABLED { + description + "Interface info when adjacency formation is + disabled"; + leaf reason-code { + type Isis-if-adj-form-disabled-reason; + description + "Reason why the interface is not able to form + adjacencies"; + } + } + + grouping ISIS-SH-IF-ADJ-FORM-STATUS { + description + "ISIS SH IF ADJ FORM STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "Disabled info for the adjacency formation status"; + uses ISIS-SH-IF-ADJ-FORM-DISABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-ENABLED { + description + "State of an enabled interface"; + container adjacency-form-status { + description + "Interface's Adjacency Formation status"; + uses ISIS-SH-IF-ADJ-FORM-STATUS; + } + container adv-prefix-status { + description + "Interface's Prefix Advertisement status"; + uses ISIS-SH-IF-ADV-PREFIX-STATUS; + } + container p2p-data { + description + "Data for an active P2P interface, NULL if not + active or P2P"; + uses ISIS-SH-IF-ACTIVE-P2P; + } + container bfd-data { + description + "The BFD data for the given interface"; + uses ISIS-SH-IF-BFD-TYPE; + } + container clns-data { + description + "Interface data specific to CLNS I/O services"; + uses ISIS-SH-IF-CLNS; + } + leaf interface-media-type { + type Isis-media-class; + description + "Media type of the interface"; + } + leaf enabled-circuit-type { + type Isis-levels; + description + "Enabled Circuit type of the interface"; + } + leaf local-circuit-number { + type Isis-circuit-number; + description + "Local Circuit Number of the interface"; + } + leaf rsi-srlg-registered { + type boolean; + description + "Rsi Srlg Registered"; + } + leaf bandwidth { + type uint32; + description + "Bandwidth of the interface"; + } + list underlying-interface { + description + "Underlying interface list for bundle interfaces"; + uses ISIS-SH-INTF-DET; + } + list per-area-data { + description + "Array of area information for an active + interface"; + uses ISIS-SH-IF-AREA-ACTIVE; + } + list per-topology-data { + description + "Array of topology information"; + uses ISIS-SH-IF-TOPO; + } + list per-address-family-data { + description + "Array of address family information"; + uses ISIS-SH-IF-AF; + } + } + + grouping ISIS-SH-IF-DISABLED { + description + "Disabled interface info"; + leaf reason-code { + type Isis-if-disabled-reason; + description + "Reason why the interface is disabled"; + } + } + + grouping ISIS-SH-IF-STATUS { + description + "ISIS SH IF STATUS"; + container disabled { + when "../status = 'isis-disabled'" { + description + "../Status = 'ISIS_DISABLED'"; + } + description + "The interface state if disabled"; + uses ISIS-SH-IF-DISABLED; + } + container enabled { + when "../status = 'isis-enabled'" { + description + "../Status = 'ISIS_ENABLED'"; + } + description + "The interface state if enabled"; + uses ISIS-SH-IF-ENABLED; + } + leaf status { + type Isis-enabled; + description + "Status"; + } + } + + grouping ISIS-SH-IF-CFG-STATUS { + description + "Configured state of an interface"; + leaf adjacency-form-status { + type boolean; + description + "Configured adjacency formation status"; + } + leaf adv-prefix-status { + type boolean; + description + "Configured prefix advertisement status"; + } + } + + grouping ISIS-SH-IF { + description + "All the Information of an IS-IS interface"; + container configured-status { + description + "Configured interface status"; + uses ISIS-SH-IF-CFG-STATUS; + } + container interface-status-and-data { + description + "Information about the interface status and its + data"; + uses ISIS-SH-IF-STATUS; + } + leaf configured-circuit-type { + type Isis-levels; + description + "Configured circuit type for the interface"; + } + leaf mesh-group { + type Isis-mesh-group-number; + description + "Interface mesh group"; + } + leaf is-type { + type Isis-levels; + description + "IS-type of the router"; + } + leaf nsr-intf { + type boolean; + description + "ISIS NSR Interface"; + } + } + + grouping NSR-STATUS-NII-INTF { + description + "NSR STATUS NII INTF"; + leaf exist { + type boolean; + description + "exist"; + } + leaf brought-up { + type boolean; + description + "brought up"; + } + leaf retry-timer { + type boolean; + description + "retry timer"; + } + leaf running { + type boolean; + description + "running"; + } + leaf has-adj { + type boolean; + description + "has adj"; + } + } + + grouping NSR-STATUS-TE { + description + "NSR STATUS TE"; + leaf enabled { + type uint8; + description + "enabled"; + } + leaf conn-up { + type uint8; + description + "conn up"; + } + leaf te-link-cb { + type uint8; + description + "te link cb"; + } + leaf te-tunnel-cb { + type uint8; + description + "te tunnel cb"; + } + leaf adv-sync-data { + type uint8; + description + "adv sync data"; + } + leaf link-purge-time-on { + type uint8; + description + "link purge time on"; + } + leaf tunnel-purge-time-on { + type uint8; + description + "tunnel purge time on"; + } + leaf has-info-from-te { + type uint8; + description + "has info from te"; + } + } + + grouping NSR-STATUS-DS { + description + "NSR STATUS DS"; + container conn-ts { + description + "conn ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container conn-cb-ts { + description + "conn cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container pub-ts { + description + "pub ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container pub-cb-ts { + description + "pub cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container reg-ts { + description + "reg ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container reg-cb-ts { + description + "reg cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container unreg-ts { + description + "unreg ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container unreg-cb-ts { + description + "unreg cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container disconn-cb-ts { + description + "disconn cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container notify-cb-ts { + description + "notify cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container del-cb-ts { + description + "del cb ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container remove-srv-ts { + description + "remove srv ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container conn-status-ts { + description + "conn status ts"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + leaf conn { + type uint8; + description + "conn"; + } + leaf conn-cb { + type uint8; + description + "conn cb"; + } + leaf pub { + type uint8; + description + "pub"; + } + leaf pub-cb { + type uint8; + description + "pub cb"; + } + leaf reg { + type uint8; + description + "reg"; + } + leaf reg-cb { + type uint8; + description + "reg cb"; + } + leaf unreg { + type uint8; + description + "unreg"; + } + leaf unreg-cb { + type uint8; + description + "unreg cb"; + } + leaf disconn-cb { + type uint8; + description + "disconn cb"; + } + leaf notify-cb { + type uint8; + description + "notify cb"; + } + leaf notify-peer-xr { + type yang:hex-string; + description + "notify peer xr"; + } + leaf del-cb { + type uint8; + description + "del cb"; + } + leaf remove-srv { + type uint8; + description + "remove srv"; + } + leaf conn-status { + type boolean; + description + "conn status"; + } + list notify-peer { + max-elements "4"; + description + "notify peer"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + } + + grouping NSR-STATUS-PM { + description + "NSR STATUS PM"; + leaf reg { + type uint8; + description + "reg"; + } + leaf conn-cb { + type uint8; + description + "conn cb"; + } + leaf disconn-cb { + type uint8; + description + "disconn cb"; + } + leaf conn-status { + type boolean; + description + "conn status"; + } + } + + grouping NSR-STATUS-NCD { + description + "NSR STATUS NCD"; + leaf vm-idx { + type uint8; + description + "vm idx"; + } + leaf conn-up { + type boolean; + description + "conn up"; + } + leaf endp-hdl { + type uint8; + description + "endp hdl"; + } + leaf chksum { + type uint16; + description + "chksum"; + } + leaf send-seqnum { + type uint32; + description + "send seqnum"; + } + leaf recv-cnt { + type uint32; + description + "recv cnt"; + } + } + + grouping NSR-STATUS-GEN { + description + "NSR STATUS GEN"; + leaf my-nodeid { + type uint32; + description + "my nodeid"; + } + leaf my-process-id { + type uint32; + description + "my process id"; + } + leaf pm-issu-role { + type uint8; + description + "pm issu role"; + } + leaf pm-ha-role { + type uint8; + description + "pm ha role"; + } + leaf sysmgr-ha-role { + type uint8; + description + "sysmgr ha role"; + } + leaf nsr-send-ready { + type uint8; + description + "nsr send ready"; + } + leaf nsr-send-unready { + type uint8; + description + "nsr send unready"; + } + leaf nsr-send-err { + type uint32; + description + "nsr send err"; + } + leaf nsr-recv-err { + type uint32; + description + "nsr recv err"; + } + leaf retry-flag { + type uint32; + description + "retry flag"; + } + leaf nsr-enabled { + type boolean; + description + "nsr enabled"; + } + leaf nsr-configured { + type boolean; + description + "nsr configured"; + } + leaf nsf-configured { + type boolean; + description + "nsf configured"; + } + leaf failover { + type boolean; + description + "failover"; + } + leaf lanid-req-needed { + type boolean; + description + "lanid req needed"; + } + } + + grouping NSR-STATUS-INFRA-TYPE { + description + "NSR STATUS INFRA TYPE"; + container gen { + description + "gen"; + uses NSR-STATUS-GEN; + } + container pm { + description + "pm"; + uses NSR-STATUS-PM; + } + container ds { + description + "ds"; + uses NSR-STATUS-DS; + } + container te { + description + "te"; + uses NSR-STATUS-TE; + } + list ncd { + max-elements "5"; + description + "ncd"; + uses NSR-STATUS-NCD; + } + list nii-idb { + max-elements "3"; + description + "nii idb"; + uses NSR-STATUS-NII-INTF; + } + } + + grouping NSR-STATUS-GBL-TYPE { + description + "NSR STATUS GBL TYPE"; + list full-sync-achieved { + max-elements "3"; + description + "full sync achieved"; + leaf entry { + type uint32; + } + } + list man-sync-count { + max-elements "3"; + description + "man sync count"; + leaf entry { + type uint32; + } + } + list nsr-chg-count { + max-elements "3"; + description + "nsr chg count"; + leaf entry { + type uint32; + } + } + list uptime { + max-elements "3"; + description + "uptime"; + leaf entry { + type uint32; + } + } + list uptime-valid { + min-elements 3; + max-elements "3"; + description + "uptime valid"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + } + + grouping ISIS-SH-NSR-STATUS-GLOBAL { + description + "IS-IS process NSR status"; + container isis-nsr-peer { + description + "ISIS NSR PEER STATUS"; + uses NSR-STATUS-GBL-TYPE; + } + container isis-nsr-infra { + description + "ISIS NSR Infra"; + uses NSR-STATUS-INFRA-TYPE; + } + leaf isis-vm-state { + type uint16; + description + "ISIS VM STATE"; + } + } + + grouping ISIS-SH-IPV4-ROUTE-SUMMARIZATION-STATUS { + description + "Summarization status"; + container summary-prefix { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Summarizing Prefix"; + uses ISIS-IPV4-PREFIX-TYPE; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-IPV4-ROUTE-ADV { + description + "How a prefix is advertised in a particular level"; + container summarization-status { + description + "Status of summarization for the prefix"; + uses ISIS-SH-IPV4-ROUTE-SUMMARIZATION-STATUS; + } + leaf level { + type Isis-level; + description + "Level in which the prefix is advertised"; + } + leaf advertising-origin { + type Isis-sh-route-adv-origin; + description + "The origin of the advertisement"; + } + leaf metric { + type Isis-metric; + description + "Metric with which the prefix is advertised"; + } + leaf is-propagated { + type boolean; + description + "Has the prefix been propagated from another + level?"; + } + leaf is-external-metric { + type boolean; + description + "Is the metric an external metric?"; + } + leaf is-external-reachability { + type boolean; + description + "Is the prefix external to the IS-IS domain?"; + } + leaf is-interarea { + type boolean; + description + "Is the up/down bit set?"; + } + list tags { + description + "Tags associated with the prefix"; + leaf entry { + type Isis-prefix-tag; + } + } + list nodal-sid { + description + "Nodal SIDs with the prefix item"; + uses ISIS-NODAL-SID-TYPE; + } + } + + grouping ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE { + description + "Source of a native route"; + leaf source-lsp-id { + type xr:Isis-lsp-id; + description + "ID of the LSP advertising the prefix"; + } + leaf source-address { + type Isis-ipv4-address; + description + "Source address of the IS advertising the prefix"; + } + list tags { + description + "Tags associated with the prefix item"; + leaf entry { + type Isis-prefix-tag; + } + } + list nodal-sid { + description + "Nodal SIDs with the prefix item"; + uses ISIS-NODAL-SID-TYPE; + } + } + + grouping ISIS-SH-IPV4-UCMP-PATH { + description + "IPv4 path to a destination"; + container frr-backup { + description + "FRR backup for this path"; + uses ISIS-SH-IPV4-FRR-BACKUP; + } + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv4-address; + description + "Next hop neighbor's forwarding address"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf tag { + type Isis-prefix-tag; + description + "Tag associated with the path"; + } + leaf total-ucmp-distance { + type Isis-metric; + description + "Distance to the network via this UCMP next hop"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + leaf is-te-tunnel-interface { + type boolean; + description + "Is path via a TE tunnel"; + } + leaf is-sr-exclude-tunnel-interface { + type boolean; + description + "Is path via an SR-exclude TE tunnel"; + } + } + + grouping ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE { + description + "Paths and sources for a native route at a + particular preference"; + leaf origin { + type Isis-prefix-origin; + description + "Origin of route"; + } + leaf metric { + type Isis-metric; + description + "Distance to network"; + } + leaf multicast-metric { + type Isis-metric; + description + "Multicast-intact distance to network"; + } + leaf is-external-metric { + type boolean; + description + "Is the metric an external metric?"; + } + leaf administrative-distance { + type uint16; + description + "Administrative Distance"; + } + list paths { + description + "First hops toward the prefix"; + uses ISIS-SH-IPV4-PATH; + } + list ucmp-next-hop { + description + "UCMP first hops toward the prefix"; + uses ISIS-SH-IPV4-UCMP-PATH; + } + list multicast-path { + description + "Multicast intact first hops toward the prefix"; + uses ISIS-SH-IPV4-PATH; + } + list srte-path { + description + "SR-TE native first hops toward the prefix"; + uses ISIS-SH-IPV4-PATH; + } + list explicit-path { + description + "SR microloop avoidance paths"; + uses ISIS-SH-IPV4-PATH; + } + list source { + description + "Sources advertising the prefix"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE; + } + list multicast-source { + description + "Multicast-intact sources advertising the prefix"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-SOURCE; + } + } + + grouping ISIS-SH-IPV4-ROUTE-NATIVE-DETAILS { + description + "Details of a native IS-IS route to a prefix"; + container primary { + description + "Primary paths to prefix"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE; + } + leaf priority { + type Isis-prefix-priority; + description + "Relative importance of the prefix"; + } + list backup { + description + "Backup paths to prefix"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-PREFERENCE; + } + } + + grouping ISIS-SH-IPV4-ROUTE-NATIVE-STATUS { + description + "Status of a native IS-IS route to a prefix"; + container native-details { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Details of the native route"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-DETAILS; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-IPV4-ROUTE { + description + "IS-IS IPv4 route"; + container connected-status { + description + "Status of IS-IS directly connected routes to the + prefix"; + uses ISIS-SH-ROUTE-CONN-STATUS; + } + container redistributed-status { + description + "Status of other protocols' routes redistributed + into IS-IS"; + uses ISIS-SH-ROUTE-REDIST-STATUS; + } + container native-status { + description + "Status of native IS-IS routes to the prefix"; + uses ISIS-SH-IPV4-ROUTE-NATIVE-STATUS; + } + list per-level-advertising-detail { + description + "Per level details of how the local system + advertises the prefix"; + uses ISIS-SH-IPV4-ROUTE-ADV; + } + } + + grouping ISIS-SH-IPV6-ROUTE-SUMMARIZATION-STATUS { + description + "Summarization status"; + container summary-prefix { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Summarizing Prefix"; + uses ISIS-IPV6-PREFIX-TYPE; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-IPV6-ROUTE-ADV { + description + "How a prefix is advertised in a particular level"; + container summarization-status { + description + "Status of summarization for the prefix"; + uses ISIS-SH-IPV6-ROUTE-SUMMARIZATION-STATUS; + } + leaf level { + type Isis-level; + description + "Level in which the prefix is advertised"; + } + leaf advertising-origin { + type Isis-sh-route-adv-origin; + description + "The origin of the advertisement"; + } + leaf metric { + type Isis-metric; + description + "Metric with which the prefix is advertised"; + } + leaf is-propagated { + type boolean; + description + "Has the prefix been propagated from another + level?"; + } + leaf is-external-metric { + type boolean; + description + "Is the metric an external metric?"; + } + leaf is-external-reachability { + type boolean; + description + "Is the prefix external to the IS-IS domain?"; + } + leaf is-interarea { + type boolean; + description + "Is the up/down bit set?"; + } + list tags { + description + "Tags associated with the prefix"; + leaf entry { + type Isis-prefix-tag; + } + } + list nodal-sid { + description + "Nodal SIDs with the prefix item"; + uses ISIS-NODAL-SID-TYPE; + } + } + + grouping ISIS-NODAL-SID-TYPE { + description + "ISIS NODAL SID TYPE"; + leaf sid-value { + type Isis-nodal-sid-value; + description + "sid value"; + } + leaf rflag { + type uint8; + description + "rflag"; + } + leaf nflag { + type uint8; + description + "nflag"; + } + leaf pflag { + type uint8; + description + "pflag"; + } + leaf eflag { + type uint8; + description + "eflag"; + } + leaf vflag { + type uint8; + description + "vflag"; + } + leaf lflag { + type uint8; + description + "lflag"; + } + leaf algorithm { + type uint8; + description + "algorithm"; + } + } + + grouping ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE { + description + "Source of a native route"; + leaf source-lsp-id { + type xr:Isis-lsp-id; + description + "ID of the LSP advertising the prefix"; + } + leaf source-address { + type Isis-ipv6-address; + description + "Source address of the IS advertising the prefix"; + } + list tags { + description + "Tags associated with the prefix item"; + leaf entry { + type Isis-prefix-tag; + } + } + list nodal-sid { + description + "Nodal SIDs with the prefix item"; + uses ISIS-NODAL-SID-TYPE; + } + } + + grouping ISIS-SH-IPV6-UCMP-PATH { + description + "IPv6 path to a destination"; + container frr-backup { + description + "FRR backup for this path"; + uses ISIS-SH-IPV6-FRR-BACKUP; + } + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv6-address; + description + "Next hop neighbor's forwarding address"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf tag { + type Isis-prefix-tag; + description + "Tag associated with the path"; + } + leaf total-ucmp-distance { + type Isis-metric; + description + "Distance to the network via this UCMP next hop"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + leaf is-te-tunnel-interface { + type boolean; + description + "Is path via a TE tunnel"; + } + leaf is-sr-exclude-tunnel-interface { + type boolean; + description + "Is path via an SR-exclude TE tunnel"; + } + } + + grouping ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE { + description + "Paths and sources for a native route at a + particular preference"; + leaf origin { + type Isis-prefix-origin; + description + "Origin of route"; + } + leaf metric { + type Isis-metric; + description + "Distance to network"; + } + leaf multicast-metric { + type Isis-metric; + description + "Multicast-intact distance to network"; + } + leaf is-external-metric { + type boolean; + description + "Is the metric an external metric?"; + } + leaf administrative-distance { + type uint16; + description + "Administrative Distance"; + } + list paths { + description + "First hops toward the prefix"; + uses ISIS-SH-IPV6-PATH; + } + list ucmp-next-hop { + description + "UCMP first hops toward the prefix"; + uses ISIS-SH-IPV6-UCMP-PATH; + } + list multicast-path { + description + "Multicast intact first hops toward the prefix"; + uses ISIS-SH-IPV6-PATH; + } + list srte-path { + description + "SR-TE native first hops toward the prefix"; + uses ISIS-SH-IPV6-PATH; + } + list explicit-path { + description + "SR microloop avoidance paths"; + uses ISIS-SH-IPV6-PATH; + } + list source { + description + "Sources advertising the prefix"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE; + } + list multicast-source { + description + "Multicast-intact sources advertising the prefix"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-SOURCE; + } + } + + grouping ISIS-SH-IPV6-ROUTE-NATIVE-DETAILS { + description + "Details of a native IS-IS route to a prefix"; + container primary { + description + "Primary paths to prefix"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE; + } + leaf priority { + type Isis-prefix-priority; + description + "Relative importance of the prefix"; + } + list backup { + description + "Backup paths to prefix"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-PREFERENCE; + } + } + + grouping ISIS-SH-IPV6-ROUTE-NATIVE-STATUS { + description + "Status of a native IS-IS route to a prefix"; + container native-details { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Details of the native route"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-DETAILS; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-REDIST-ENTRY-PROTO { + description + "Redistributed protocol information"; + leaf protocol { + type Isis-redist-proto; + description + "Protocol"; + } + leaf isis-instance-id { + when "../protocol = 'isis-redist-isis'" { + description + "../Protocol = 'ISIS_REDIST_ISIS'"; + } + type Isis-string; + description + "IS-IS instance identifier"; + } + leaf ospf-process-id { + when "../protocol = 'isis-redist-ospf'" { + description + "../Protocol = 'ISIS_REDIST_OSPF'"; + } + type Isis-string; + description + "OSPF process identifier"; + } + leaf ospfv3-process-id { + when "../protocol = 'isis-redist-ospfv3'" { + description + "../Protocol = 'ISIS_REDIST_OSPFV3'"; + } + type Isis-string; + description + "OSPFv3 process identifier"; + } + leaf bgp-as-number { + when "../protocol = 'isis-redist-bgp'" { + description + "../Protocol = 'ISIS_REDIST_BGP'"; + } + type Isis-string; + description + "BGP Autonomous System number"; + } + leaf eigrp-as-number { + when "../protocol = 'isis-redist-eigrp'" { + description + "../Protocol = 'ISIS_REDIST_EIGRP'"; + } + type Isis-string; + description + "EIGRP Autonomous System number"; + } + leaf application-name { + when "../protocol = 'isis-redist-application'" { + description + "../Protocol = 'ISIS_REDIST_APPLICATION'"; + } + type Isis-string; + description + "Application Name"; + } + } + + grouping ISIS-SH-ROUTE-REDIST-LEVEL-DETAILS { + description + "Details of a route redistributed into a + particular level"; + container owner { + description + "Protocol redistributing the route"; + uses ISIS-SH-REDIST-ENTRY-PROTO; + } + leaf level { + type Isis-level; + description + "Level into which the route is redistributed"; + } + } + + grouping ISIS-SH-ROUTE-REDIST-DETAILS { + description + "ISIS SH ROUTE REDIST DETAILS"; + list isis-sh-route-redist-detail { + description + "isis sh route redist detail"; + uses ISIS-SH-ROUTE-REDIST-LEVEL-DETAILS; + } + } + + grouping ISIS-SH-ROUTE-REDIST-STATUS { + description + "Status of redistributed routes to a prefix"; + container redistribution-details { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Per level details of the redistributed route"; + uses ISIS-SH-ROUTE-REDIST-DETAILS; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-ROUTE-CONN-DETAILS { + description + "Details of an IS-IS directly connected prefix"; + list interface { + description + "Interfaces"; + leaf entry { + type Isis-sh-interface-name; + } + } + } + + grouping ISIS-SH-ROUTE-CONN-STATUS { + description + "Status of an IS-IS directly connected prefix"; + container connected-details { + when "../is-valid = 'isis-valid'" { + description + "../IsValid = 'ISIS_VALID'"; + } + description + "Details of the directly connected prefix"; + uses ISIS-SH-ROUTE-CONN-DETAILS; + } + leaf is-valid { + type Isis-valid; + description + "IsValid"; + } + } + + grouping ISIS-SH-IPV6-ROUTE { + description + "IS-IS IPv6 route"; + container connected-status { + description + "Status of IS-IS directly connected routes to the + prefix"; + uses ISIS-SH-ROUTE-CONN-STATUS; + } + container redistributed-status { + description + "Status of other protocols' routes redistributed + into IS-IS"; + uses ISIS-SH-ROUTE-REDIST-STATUS; + } + container native-status { + description + "Status of native IS-IS routes to the prefix"; + uses ISIS-SH-IPV6-ROUTE-NATIVE-STATUS; + } + list per-level-advertising-detail { + description + "Per level details of how the local system + advertises the prefix"; + uses ISIS-SH-IPV6-ROUTE-ADV; + } + } + + grouping ISIS-SH-IPV6-FRR-BACKUP { + description + "FRR backup path"; + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv6-address; + description + "Next hop neighbor's forwarding address"; + } + leaf tunnel-egress-interface { + type Isis-sh-interface-name; + description + "Tunnel interface to send the packet out of"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf remote-lfa-system-id { + type xr:Osi-system-id; + description + "Remote LFA PQ Node's ID"; + } + leaf remote-lfa-router-id { + type Isis-ipv6-address; + description + "Remote LFA Router ID"; + } + leaf remote-lfa-system-pid { + type xr:Osi-system-id; + description + "Remote LFA PQ Node's ID"; + } + leaf remote-lfa-router-pid { + type Isis-ipv6-address; + description + "Remote LFA Router ID"; + } + leaf total-backup-distance { + type Isis-metric; + description + "Distance to the network via this backup path"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf num-sid { + type uint32; + description + "Number of SIDs in TI-LFA/rLFA"; + } + leaf backup-repair-list-size { + type uint32; + description + "Backup Repair List Size"; + } + leaf tilfa-computation { + type Isis-tilfa-computation; + description + "Ti LFA computation which provided backup path"; + } + leaf prefix-source-node-id { + type string; + description + "PrefixSourceNodeID"; + } + leaf is-downstream { + type boolean; + description + "Is the backup path via downstream node?"; + } + leaf is-lc-disjoint { + type boolean; + description + "Is the backup path line card disjoint with + primary?"; + } + leaf is-node-protecting { + type boolean; + description + "Is the backup path node protecting?"; + } + leaf is-primary-path { + type boolean; + description + "Is the backup path an ECMP to the network?"; + } + leaf is-srlg-disjoint { + type boolean; + description + "Is the backup path SRLG disjoint with primary?"; + } + leaf is-remote-lfa { + type boolean; + description + "Is the backup path via a Remote LFA?"; + } + leaf is-epcfrr-lfa { + type boolean; + description + "Is the backup path via a TI-LFA?"; + } + leaf is-strict-spflfa { + type boolean; + description + "Is the backup path TI-LFA strict SPF?"; + } + leaf is-tunnel-requested { + type boolean; + description + "Is SR TE tunnel requested"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + list segment-routing-sid-value-entry { + max-elements "3"; + description + "Segment routing sid values for TI-LFA/rLFA"; + leaf entry { + type Isis-nodal-sid-value; + } + } + list backup-repair { + description + "BAckup Repair List"; + uses ISIS-SH-REP-EL; + } + } + + grouping ISIS-SH-IPV6-PATH { + description + "IPv6 path to a destination"; + container frr-backup { + description + "FRR backup for this path"; + uses ISIS-SH-IPV6-FRR-BACKUP; + } + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv6-address; + description + "Next hop neighbor's forwarding address"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf tag { + type Isis-prefix-tag; + description + "Tag associated with the path"; + } + leaf tunnel-interface { + type Isis-sh-interface-name; + description + "Explicit path tunnel interface"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + leaf is-te-tunnel-interface { + type boolean; + description + "Is path via a TE tunnel"; + } + leaf is-sr-exclude-tunnel-interface { + type boolean; + description + "Is path via an SR-exclude TE tunnel"; + } + list uloop-explicit { + description + "Uloop Explicit List"; + uses ISIS-SH-REP-EL; + } + } + + grouping ISIS-SH-IPV6-TOPO-REACHABLE-DETAILS { + description + "Status of a reachable IPv6 IS"; + leaf root-distance { + type Isis-metric; + description + "Distance to the IS"; + } + leaf multicast-root-distance { + type Isis-metric; + description + "Distance to the IS"; + } + list paths { + description + "First hops towards the IS"; + uses ISIS-SH-IPV6-PATH; + } + list multicast-path { + description + "Multicast intact first hops towards the IS"; + uses ISIS-SH-IPV6-PATH; + } + list parent { + description + "Parents of the IS within the SPT"; + uses ISIS-SH-TOPO-NEIGHBOR; + } + list children { + description + "Children of the IS within the SPT"; + uses ISIS-SH-TOPO-NEIGHBOR; + } + } + + grouping ISIS-SH-IPV6-TOPO-REACHABLE-STATUS { + description + "Reachability status of an IPv6 IS"; + container reachable-details { + when "../reachable-status = 'isis-reachable'" { + description + "../ReachableStatus = 'ISIS_REACHABLE'"; + } + description + "Status of the IS within the SPT"; + uses ISIS-SH-IPV6-TOPO-REACHABLE-DETAILS; + } + leaf reachable-status { + type Isis-reachable; + description + "ReachableStatus"; + } + } + + grouping ISIS-SH-IPV6-TOPO-ENTRY { + description + "IPv6 IS Link Topology Entry"; + container reachability-status { + description + "Is the IS reachable, and, if so, its status + within the SPT"; + uses ISIS-SH-IPV6-TOPO-REACHABLE-STATUS; + } + container advertised-prefix-item-counts { + description + "Per-priority counts of prefix items advertised + by the IS"; + uses ISIS-PER-PRIORITY-COUNTS; + } + leaf source-address { + type Isis-ipv6-address; + description + "Source Address"; + } + leaf is-participant { + type boolean; + description + "Does the IS participate in the topology?"; + } + leaf is-overloaded { + type boolean; + description + "Is the IS overloaded?"; + } + leaf is-attached { + type boolean; + description + "Is the IS attached?"; + } + } + + grouping ISIS-SH-TOPO-SUMMARY-NODE-STATS { + description + "Reachability counters"; + leaf reachable-node-count { + type uint32; + description + "Number of nodes reachable in SPT"; + } + leaf unreachable-node-count { + type uint32; + description + "Number of nodes unreachable in SPT"; + } + leaf unreachable-participant-node-count { + type uint32; + description + "Number of participating nodes unreachable in SPT"; + } + } + + grouping ISIS-SH-TOPO-SUMMARY { + description + "Summary Statistics for an IS Topology"; + container router-node-count { + description + "Node Counts for System nodes"; + uses ISIS-SH-TOPO-SUMMARY-NODE-STATS; + } + container pseudonode-node-count { + description + "Node Counts for Pseudonode nodes"; + uses ISIS-SH-TOPO-SUMMARY-NODE-STATS; + } + } + + grouping ISIS-SH-TOPO-NEIGHBOR { + description + "SPT Neighbor"; + leaf neighbor-id { + type xr:Osi-system-id; + description + "Neighbor ID"; + } + leaf intermediate-pseudonode { + type xr:Isis-node-id; + description + "Pseudonode between system and its neighbor"; + } + } + + grouping ISIS-SH-REP-EL { + description + "OSPF Repair Element"; + leaf repair-element-node-id { + type string; + description + "RepairElementNodeID"; + } + leaf repair-ipv4-addr { + type Isis-ipv4-address; + description + "RepairIPv4Addr"; + } + leaf repair-ipv6-addr { + type Isis-ipv6-address; + description + "RepairIPv6Addr"; + } + leaf repair-label { + type uint32; + description + "Repair Label"; + } + leaf repair-element-type { + type uint32; + description + "Repair Element Type"; + } + leaf repair-strict-spf-label { + type uint32; + description + "Repair Strict SPF Label"; + } + } + + grouping ISIS-SH-IPV4-FRR-BACKUP { + description + "FRR backup path"; + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv4-address; + description + "Next hop neighbor's forwarding address"; + } + leaf tunnel-egress-interface { + type Isis-sh-interface-name; + description + "Tunnel Interface to send the packet out of"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf remote-lfa-system-id { + type xr:Osi-system-id; + description + "Remote LFA PQ Node's ID"; + } + leaf remote-lfa-router-id { + type Isis-ipv4-address; + description + "Remote LFA Router ID"; + } + leaf remote-lfa-system-pid { + type xr:Osi-system-id; + description + "Remote LFA PQ Node's ID"; + } + leaf remote-lfa-router-pid { + type Isis-ipv4-address; + description + "Remote LFA Router ID"; + } + leaf total-backup-distance { + type Isis-metric; + description + "Distance to the network via this backup path"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf num-sid { + type uint32; + description + "Number of SIDs in TI-LFA/rLFA"; + } + leaf backup-repair-list-size { + type uint32; + description + "Backup Repair List Size"; + } + leaf tilfa-computation { + type Isis-tilfa-computation; + description + "Ti LFA computation which provided backup path"; + } + leaf prefix-source-node-id { + type string; + description + "PrefixSourceNodeID"; + } + leaf is-downstream { + type boolean; + description + "Is the backup path via downstream node?"; + } + leaf is-lc-disjoint { + type boolean; + description + "Is the backup path line card disjoint with + primary?"; + } + leaf is-node-protecting { + type boolean; + description + "Is the backup path node protecting?"; + } + leaf is-primary-path { + type boolean; + description + "Is the backup path an ECMP to the network?"; + } + leaf is-srlg-disjoint { + type boolean; + description + "Is the backup path SRLG disjoint with primary?"; + } + leaf is-remote-lfa { + type boolean; + description + "Is the backup path via a Remote LFA?"; + } + leaf is-epcfrr-lfa { + type boolean; + description + "Is the backup path via a TI-LFA?"; + } + leaf is-strict-spflfa { + type boolean; + description + "Is the backup path TI-LFA strict SPF?"; + } + leaf is-tunnel-requested { + type boolean; + description + "Is SR TE tunnel requested"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + list segment-routing-sid-value-entry { + max-elements "3"; + description + "Segment routing sid values for TI-LFA/rLFA"; + leaf entry { + type Isis-nodal-sid-value; + } + } + list backup-repair { + description + "Backup Repair List"; + uses ISIS-SH-REP-EL; + } + } + + grouping ISIS-SH-IPV4-PATH { + description + "IPv4 path to a destination"; + container frr-backup { + description + "FRR backup for this path"; + uses ISIS-SH-IPV4-FRR-BACKUP; + } + leaf neighbor-id { + type xr:Osi-system-id; + description + "Next hop neighbor ID"; + } + leaf egress-interface { + type Isis-sh-interface-name; + description + "Interface to send the packet out of"; + } + leaf neighbor-address { + type Isis-ipv4-address; + description + "Next hop neighbor's forwarding address"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Next hop neighbor's SNPA"; + } + leaf tag { + type Isis-prefix-tag; + description + "Tag associated with the path"; + } + leaf tunnel-interface { + type Isis-sh-interface-name; + description + "Explicit path tunnel interface"; + } + leaf segment-routing-sid-value { + type Isis-nodal-sid-value; + description + "Segment routing sid value received from first + hop"; + } + leaf weight { + type Isis-metric; + description + "Weight configured on the interface"; + } + leaf is-te-tunnel-interface { + type boolean; + description + "Is path via a TE tunnel"; + } + leaf is-sr-exclude-tunnel-interface { + type boolean; + description + "Is path via an SR-exclude TE tunnel"; + } + list uloop-explicit { + description + "Uloop Explicit List"; + uses ISIS-SH-REP-EL; + } + } + + grouping ISIS-SH-IPV4-TOPO-REACHABLE-DETAILS { + description + "Status of a reachable IPv4 IS"; + leaf root-distance { + type Isis-metric; + description + "Distance to the IS"; + } + leaf multicast-root-distance { + type Isis-metric; + description + "Distance to the IS"; + } + list paths { + description + "First hops towards the IS"; + uses ISIS-SH-IPV4-PATH; + } + list multicast-path { + description + "Multicast intact first hops towards the IS"; + uses ISIS-SH-IPV4-PATH; + } + list parent { + description + "Parents of the IS within the SPT"; + uses ISIS-SH-TOPO-NEIGHBOR; + } + list children { + description + "Children of the IS within the SPT"; + uses ISIS-SH-TOPO-NEIGHBOR; + } + } + + grouping ISIS-SH-IPV4-TOPO-REACHABLE-STATUS { + description + "Reachability status of an IPv4 IS"; + container reachable-details { + when "../reachable-status = 'isis-reachable'" { + description + "../ReachableStatus = 'ISIS_REACHABLE'"; + } + description + "Status of the IS within the SPT"; + uses ISIS-SH-IPV4-TOPO-REACHABLE-DETAILS; + } + leaf reachable-status { + type Isis-reachable; + description + "ReachableStatus"; + } + } + + grouping ISIS-SH-IPV4-TOPO-ENTRY { + description + "IPv4 IS Link Topology Entry"; + container reachability-status { + description + "Is the IS reachable, and, if so, its status + within the SPT"; + uses ISIS-SH-IPV4-TOPO-REACHABLE-STATUS; + } + container advertised-prefix-item-counts { + description + "Per-priority counts of prefix items advertised + by the IS"; + uses ISIS-PER-PRIORITY-COUNTS; + } + leaf source-address { + type Isis-ipv4-address; + description + "Source Address"; + } + leaf is-participant { + type boolean; + description + "Does the IS participate in the topology?"; + } + leaf is-overloaded { + type boolean; + description + "Is the IS overloaded?"; + } + leaf is-attached { + type boolean; + description + "Is the IS attached?"; + } + } + + grouping ISIS-SH-TE-TUNNEL { + description + "MPLS TE tunnel"; + leaf te-system-id { + type xr:Osi-system-id; + description + "Destination system ID"; + } + leaf te-interface { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf te-bandwidth { + type uint32; + description + "Tunnel bandwidth"; + } + leaf teigp-metric { + type int32; + description + "Tunnel metric"; + } + leaf te-next-hop-ip-address { + type inet:ipv4-address; + description + "Tunnel next-hop IP address"; + } + leaf te-mode-type { + type Isis-metric-mode; + description + "Tunnel metric mode"; + } + leaf teipv4fa-enabled { + type boolean; + description + "Indicates whether MPLS TE IPv4 forwarding + adjacency is enabled"; + } + leaf teipv6fa-enabled { + type boolean; + description + "Indicates whether MPLS TE IPv6 forwarding + adjacency is enabled"; + } + leaf teipv4aa-enabled { + type boolean; + description + "Indicates whether MPLS TE IPv4 autoroute + announce is enabled"; + } + leaf teipv6aa-enabled { + type boolean; + description + "Indicates whether MPLS TE IPv6 autoroute + announce is enabled"; + } + leaf te-checkpoint-object-id { + type uint32; + description + "Tunnel checkpoint object ID"; + } + leaf te-segment-routing-enabled { + type boolean; + description + "Indicates whether MPLS TE segment routing is + enabled"; + } + leaf te-segment-routing-strict-spf { + type boolean; + description + "Indicates whether MPLS TE segment routing strict + SPF is enabled"; + } + leaf te-segment-routing-exclude { + type boolean; + description + "Indicates whether Segment routing labeled + traffic exclusion is enabled"; + } + } + + grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS { + description + "Prefix item counts for the route update phase"; + container unreachable { + description + "Number of unreachable prefixes in the database"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container reachable { + description + "Number of reachable prefixes in the database"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container added { + description + "Number of prefixes added during calculation"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container deleted { + description + "Number of prefixes deleted during calculation"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container modified { + description + "Number of prefixes modified, i.e. a first hop + and/or metric change"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container touched { + description + "Number of prefixes considered whilst updating + the routing table"; + uses ISIS-PER-PRIORITY-COUNTS; + } + } + + grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-NODE-COUNTS { + description + "Node counts for the route update phase"; + container per-priority-touched { + description + "Per-priority count of nodes considered during + route update"; + uses ISIS-PER-PRIORITY-COUNTS; + } + leaf total-touched { + type uint32; + description + "Total number of nodes considered during route + update"; + } + } + + grouping ISIS-PER-PRIORITY-TIMINGS { + description + "Per-priority timings"; + container critical { + description + "Critical priority"; + uses ISIS-TIMINGS-TYPE; + } + container high { + description + "High priority"; + uses ISIS-TIMINGS-TYPE; + } + container medium { + description + "Medium priority"; + uses ISIS-TIMINGS-TYPE; + } + container low { + description + "Low priority"; + uses ISIS-TIMINGS-TYPE; + } + } + + grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE-TIMINGS-BREAKDOWN { + description + "Breakdown of the time taken to perform the route + update"; + container local-rib-update { + description + "Time to update IS-IS's local RIB"; + uses ISIS-PER-PRIORITY-TIMINGS; + } + container global-rib-build { + description + "Time to build the update to send to the global + RIB"; + uses ISIS-PER-PRIORITY-TIMINGS; + } + container global-rib-send { + description + "Time to send the update to the global RIB"; + uses ISIS-PER-PRIORITY-TIMINGS; + } + } + + grouping ISIS-SH-SPF-LOG-ROUTE-UPDATE { + description + "Statistics for the route update phase of the + calculation"; + container duration { + description + "Duration of the routing table update"; + uses ISIS-TIMINGS-TYPE; + } + container duration-breakdown { + description + "Breakdown of the time taken by the routing table + update"; + uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-TIMINGS-BREAKDOWN; + } + container node-counts { + description + "Node counts"; + uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-NODE-COUNTS; + } + container item-counts { + description + "Prefix item counts"; + uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS; + } + container route-counts { + description + "Distinct prefix counts"; + uses ISIS-SH-SPF-LOG-ROUTE-UPDATE-PREFIX-COUNTS; + } + container rib-batch-counts { + description + "Number of RIB batches sent"; + uses ISIS-PER-PRIORITY-COUNTS; + } + } + + grouping ISIS-SH-SPF-LOG-SPT-CALC-NODE-COUNTS { + description + "Node counts for the SPT calculation phase"; + leaf unreachable { + type uint32; + description + "Number of unreachable nodes in the database"; + } + leaf reachable { + type uint32; + description + "Number of reachable nodes in the database"; + } + leaf added { + type uint32; + description + "Number of nodes added to the SPT"; + } + leaf deleted { + type uint32; + description + "Number of nodes deleted from the SPT"; + } + leaf modified { + type uint32; + description + "Number of modified nodes (first hop and/or + metric change)"; + } + leaf touched { + type uint32; + description + "Number of nodes touched whilst calculating the + SPT"; + } + } + + grouping ISIS-TIMINGS-TYPE { + description + "Duration of an event in real and CPU time"; + leaf real-duration { + type uint32; + units "millisecond"; + description + "Real time duration in milliseconds"; + } + leaf cpu-duration { + type uint32; + units "millisecond"; + description + "CPU time duration in milliseconds"; + } + } + + grouping ISIS-SH-SPF-LOG-SPT-CALC { + description + "Statistics for the SPT calculation phase"; + container duration { + description + "Duration of the SPT calculation"; + uses ISIS-TIMINGS-TYPE; + } + container node-counts { + description + "Node counts"; + uses ISIS-SH-SPF-LOG-SPT-CALC-NODE-COUNTS; + } + } + + grouping ISIS-IPV6-PREFIX-TYPE { + description + "IPv4 address and prefix length"; + leaf prefix { + type Isis-ipv6-address; + description + "prefix"; + } + leaf prefix-length { + type Isis-ip-prefix-length; + description + "prefix length"; + } + } + + grouping ISIS-IPV4-PREFIX-TYPE { + description + "IPv4 address and prefix length"; + leaf prefix { + type Isis-ipv4-address; + description + "prefix"; + } + leaf prefix-length { + type Isis-ip-prefix-length; + description + "prefix length"; + } + } + + grouping ISIS-IP-PREFIX-TYPE { + description + "ISIS IP PREFIX TYPE"; + container ipv4 { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + description + "ipv4"; + uses ISIS-IPV4-PREFIX-TYPE; + } + container ipv6 { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + description + "ipv6"; + uses ISIS-IPV6-PREFIX-TYPE; + } + leaf af-name { + type Isis-af-id; + description + "AFName"; + } + } + + grouping ISIS-SH-SPF-LOG-TRIGGERS { + description + "The reasons for running a calculation"; + container trigger-prefix { + description + "ID of a changed prefix in the first trigger LSP, + if any"; + uses ISIS-IP-PREFIX-TYPE; + } + leaf unique-trigger-count { + type uint32; + description + "Number of unique triggers on this run"; + } + leaf first-trigger-lsp-id { + type xr:Isis-lsp-id; + description + "ID of the first LSP to trigger the calculation, + if any"; + } + leaf trigger-link { + type xr:Isis-node-id; + description + "ID of a changed link in the first trigger LSP, + if any"; + } + leaf trigger-next-hop-id { + type xr:Osi-system-id; + description + "ID of a changed next hop, if any"; + } + leaf is-sr-uloop-calculation { + type boolean; + description + "Is this SR micro loop calculation?"; + } + leaf is-sr-uloop-link-down { + type boolean; + description + "Is this SR micro loop calculation for link down?"; + } + list trigger { + description + "Triggers applying to this log entry"; + leaf entry { + type Isis-spf-trigger; + } + } + } + + grouping ISIS-SH-SPF-LOG-ENT { + description + "IS-IS route calculation log entry"; + container generic-data { + description + "Generic entry data."; + uses ISIS-SH-GENERIC-LOG-ENT; + } + container triggers { + description + "Trigger information"; + uses ISIS-SH-SPF-LOG-TRIGGERS; + } + container spt-calculation-statistics { + description + "Statistics for the SPT calculation phase"; + uses ISIS-SH-SPF-LOG-SPT-CALC; + } + container route-update-statistics { + description + "Statistics for the route update phase"; + uses ISIS-SH-SPF-LOG-ROUTE-UPDATE; + } + leaf class { + type Isis-spf-class; + description + "Type of calculation."; + } + leaf wait-enforced { + type uint32; + units "millisecond"; + description + "Time between the first trigger and the start of + the route calculation, in milliseconds."; + } + leaf next-wait-interval { + type uint32; + units "millisecond"; + description + "Minimum time from end of this route calculation + until the start of the next, in milliseconds"; + } + leaf updated-lsp-count { + type uint32; + description + "Number of LSPs which arrived during the route + calculation"; + } + } + + grouping ISIS-SH-SPF-LOG-STRUC { + description + "Log of IS-IS route calculations"; + list log-entry { + description + "SPF Log entries"; + uses ISIS-SH-SPF-LOG-ENT; + } + } + + grouping ISIS-SH-TE-LOG-ENT { + description + "MPLS TE log entry"; + container generic-data { + description + "Generic entry data"; + uses ISIS-SH-GENERIC-LOG-ENT; + } + leaf neighbor-ip-address { + type inet:ipv4-address; + description + "Neighbor ip address"; + } + leaf status { + type boolean; + description + "Up (TRUE) or down"; + } + leaf log-interface { + type xr:Interface-name; + description + "Interface"; + } + leaf te-log-neighbor-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + } + + grouping ISIS-SH-TE-LOG-STRUC { + description + "MPLS TE log"; + list log-entry { + description + "Log entries"; + uses ISIS-SH-TE-LOG-ENT; + } + } + + grouping ISIS-SH-TE-PCE-ADV { + description + "TE PCE advertisements for an IS-IS level"; + leaf pce-adv-data-present { + type boolean; + description + "Indicates whether any PCE advertisements are + present"; + } + leaf pce-flooding-scope { + type Isis-sh-te-pce-flooding-scope; + description + "Flooding scope for PCE advertisement"; + } + leaf pce-address-ipv4 { + type inet:ipv4-address; + description + "IPv4 PCE address"; + } + leaf pce-path-scope-bits { + type uint8; + description + "PCE path scope bits"; + } + leaf pce-path-scope-prefs { + type uint16; + description + "PCE path scope preferences"; + } + } + + grouping ISIS-SH-TE-ADV-SUB-TLV { + description + "MPLS TE advertisement sub TLV"; + leaf te-sub-tlv-type { + type uint16; + description + "Type of sub TLV"; + } + leaf te-sub-tlv-length { + type uint16; + description + "Length of sub TLV"; + } + leaf te-sub-tlv-value { + type yang:hex-string; + description + "Value of sub TLV"; + } + } + + grouping ISIS-SH-TE-ADV-ENTRY { + description + "MPLS TE advertisement"; + leaf te-neighbor-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + leaf link-type { + type Isis-sh-te-link; + description + "Link type"; + } + leaf local-ip-address { + type inet:ipv4-address; + description + "Local IP address"; + } + leaf te-neighbor-ip-address { + type inet:ipv4-address; + description + "Neighbor IP address"; + } + leaf te-metric { + type uint32; + description + "TE metric"; + } + leaf te-physical-link-bandwidth { + type uint32; + description + "Physical link bandwidth"; + } + leaf te-reserved-link-bandwidth { + type uint32; + description + "Reservable link bandwidth in global pool"; + } + leaf te-subpool-reserved-link-bandwidth { + type uint32; + description + "Reservable link bandwidth in subpool"; + } + leaf te-affinity { + type uint32; + description + "Affinity bits"; + } + leaf te-ext-admin-num { + type uint32; + description + "TE Ext Admin Number"; + } + leaf te-sub-tlv-data-present { + type boolean; + description + "Indicates whether any TE sub TLVs are present"; + } + list te-transmitted-bandwidth { + max-elements "8"; + description + "Bandwidth in use in global pool"; + leaf entry { + type uint32; + } + } + list te-subpool-transmitted-bandwidth { + max-elements "8"; + description + "Bandwidth in use in subpool"; + leaf entry { + type uint32; + } + } + list te-ext-admin-sub { + max-elements "8"; + description + "TE Extended Admin Group"; + leaf entry { + type uint32; + } + } + list te-sub-tlv { + description + "List of TE sub TLVs"; + uses ISIS-SH-TE-ADV-SUB-TLV; + } + } + + grouping ISIS-SH-TE-ADV { + description + "TE advertisements for an IS-IS level"; + container tepceadv { + description + "TE PCE advertisements"; + uses ISIS-SH-TE-PCE-ADV; + } + leaf te-adv-data-present { + type boolean; + description + "Indicates whether any TE advertisements are + present"; + } + leaf te-system-id { + type xr:Osi-system-id; + description + "Local system ID"; + } + leaf te-local-router-id { + type inet:ipv4-address; + description + "Local TE router ID"; + } + list te-adv { + description + "List of TE advertisement entries"; + uses ISIS-SH-TE-ADV-ENTRY; + } + } + + grouping ISIS-PER-PRIORITY-COUNTS { + description + "Per-priority counts"; + leaf critical { + type uint32; + description + "Critical priority"; + } + leaf high { + type uint32; + description + "High priority"; + } + leaf medium { + type uint32; + description + "Medium priority"; + } + leaf low { + type uint32; + description + "Low priority"; + } + } + + grouping ISIS-SH-FRR-LEVEL-SUMMARY { + description + "FRR backup statistics for one level"; + container all-paths-protected { + description + "Number of prefixes with all paths having FRR + backup"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container some-paths-protected { + description + "Number of prefixes with some paths having FRR + backup"; + uses ISIS-PER-PRIORITY-COUNTS; + } + container unprotected { + description + "Number of reachable prefixes without FRR backup"; + uses ISIS-PER-PRIORITY-COUNTS; + } + } + + grouping ISIS-SH-FRR-SUMMARY { + description + "FRR summary for an ISIS topology"; + container level1-prefixes { + description + "FRR summary for prefixes reachable in L1"; + uses ISIS-SH-FRR-LEVEL-SUMMARY; + } + container level2-prefixes { + description + "FRR summary for prefixes reachable in L2"; + uses ISIS-SH-FRR-LEVEL-SUMMARY; + } + container unreachable-prefixes { + description + "Unreachable prefixes"; + uses ISIS-PER-PRIORITY-COUNTS; + } + } + + grouping ISIS-SH-LSP-DB-LOG-ENT { + description + "LSP Database Log Entry"; + container generic-data { + description + "Generic entry data"; + uses ISIS-SH-GENERIC-LOG-ENT; + } + container new-lsp-entry { + description + "Entry being inserted or the updated version of + an old entry."; + uses ISIS-SH-LSP-HEADER; + } + container old-lsp-entry { + description + "Entry being replaced."; + uses ISIS-SH-LSP-HEADER; + } + leaf lspdb-operation { + type Isis-lsp-db-op; + description + "Operation applying to this entry."; + } + } + + grouping ISIS-SH-LSP-DB-LOG-STRUC { + description + "LSP Database Log"; + list log-entry { + description + "Entries"; + uses ISIS-SH-LSP-DB-LOG-ENT; + } + } + + grouping ISIS-SH-LSP-LOG-ENT { + description + "LSP-log entry"; + container generic-data { + description + "Generic entry data"; + uses ISIS-SH-GENERIC-LOG-ENT; + } + leaf trigger-count { + type uint32; + description + "Number of triggers on this run. May not be equal + to the number of trigger event types if one or + more trigger events has occurred more than once."; + } + leaf delayed-trigger-count { + type uint32; + description + "Number of delayed triggers"; + } + leaf log-interface { + type xr:Interface-name; + description + "Appropriate interface, if any"; + } + leaf pseudo-node-number { + type Isis-pseudo-node-number; + description + "Pseudo-node number"; + } + list trigger { + description + "Triggers applying to this log entry."; + leaf entry { + type Isis-lsp-trigger; + } + } + } + + grouping ISIS-SH-LSP-LOG-STRUC { + description + "LSP log"; + list log-entry { + description + "Log entries"; + uses ISIS-SH-LSP-LOG-ENT; + } + } + + grouping ISIS-SH-LSP-HEADER { + description + "Contents of an IS-IS LSP header"; + leaf lsp-id { + type xr:Isis-lsp-id; + description + "The LSP ID"; + } + leaf local-lsp-flag { + type boolean; + description + "TRUE if this is a locally generated LSP"; + } + leaf lsp-active-flag { + type boolean; + description + "TRUE if this LSP has not expired"; + } + leaf lsp-holdtime { + type uint16; + units "second"; + description + "Time, in seconds, until LSP expiry (if active) + or deletion (if expired) "; + } + leaf lsp-sequence-number { + type uint32; + description + "The LSP sequence number"; + } + leaf lsp-checksum { + type uint16; + description + "The LSP checksum"; + } + leaf lsp-partition-repair-supported-flag { + type boolean; + description + "TRUE if partition repair is supported"; + } + leaf lsp-attached-flag { + type boolean; + description + "TRUE if attached bit is set"; + } + leaf lsp-overloaded-flag { + type boolean; + description + "TRUE if the overload bit is set"; + } + leaf lsp-nonv1a-flag { + type uint16; + description + "TRUE if the LSP is non-v1a, XXX for testing"; + } + leaf lsp-level { + type Isis-levels; + description + "The type of the IS sourcing the LSP"; + } + leaf lsp-length { + type uint16; + description + "The total length of the LSP"; + } + leaf max-area-addresses { + type uint8; + description + "max area addresses"; + } + leaf id-length { + type uint8; + description + "System Id length"; + } + leaf version { + type uint8; + description + "isis version"; + } + leaf version2 { + type uint8; + description + "isis version2"; + } + } + + grouping ISIS-SH-LSP { + description + "An IS-IS LSP"; + container lsp-header-data { + description + "Information from the LSP header"; + uses ISIS-SH-LSP-HEADER; + } + leaf lsp-body { + type yang:hex-string; + description + "LSP as received/sent over the wire, starting + from the LSP ID field"; + } + } + + grouping ISIS-SH-ADJ-TOPO { + description + "Per-topology per-adjacency data"; + container id { + description + "Topology ID"; + uses ISIS-TOPO-ID-TYPE; + } + leaf topology-status { + type Isis-adj-topo-status; + description + "Status of topology in adjacency"; + } + leaf parallel-p2p-link-suppressed-flag { + type boolean; + description + "TRUE if suppressed parallel point-to-point link"; + } + } + + grouping ISIS-SH-ADJ { + description + "An IS-IS adjacency"; + leaf adjacency-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + leaf adjacency-snpa { + type xr:Isis-snpa; + description + "Neighbor SNPA"; + } + leaf adjacency-interface { + type xr:Interface-name; + description + "Local interface"; + } + leaf adjacency-media-type { + type Isis-media-class; + description + "Link media type"; + } + leaf adjacency-state { + type Isis-adj-state; + description + "Adjacency state"; + } + leaf adjacency-bfd-state { + type Isis-adj-bfd-state; + description + "Adjacency IPv4 BFD state"; + } + leaf adjacency-ipv6bfd-state { + type Isis-adj-bfd-state; + description + "Adjacency IPv6 BFD state"; + } + leaf adj-ipv4bfd-retry-running { + type boolean; + description + "Is IPv4 BFD retry timer running"; + } + leaf adj-ipv6bfd-retry-running { + type boolean; + description + "Is IPv6 BFD retry timer running"; + } + leaf adj-ipv4bfd-retry-exp { + type uint32; + description + "Time to expiration of IPv4 BFD retry timer (s)"; + } + leaf adj-ipv6bfd-retry-exp { + type uint32; + description + "Time to expiration of IPv6 BFD retry timer (s)"; + } + leaf adj-ipv4bfd-retry-count { + type uint32; + description + "IPv4 BFD retry counter"; + } + leaf adj-ipv6bfd-retry-count { + type uint32; + description + "IPv6 BFD retry counter"; + } + leaf adjacency-uptime-valid-flag { + type boolean; + description + "TRUE if AdjacencyUptime is set"; + } + leaf adjacency-uptime { + type uint32; + description + "How long the adjacency has been up (s)"; + } + leaf adjacency-holdtime { + type uint32; + description + "Time (s) until adjacency declared down if no IIH + received"; + } + leaf adjacency-checkpoint-object-id { + type uint32; + description + "Adjacency checkpoint object ID"; + } + leaf adjacency-ietf-nsf-capable-flag { + type boolean; + description + "TRUE if neighbor is IETF-NSF capable"; + } + leaf adjacency-dispriority { + type Isis-dr-priority; + description + "Priority of DIS on this LAN. Valid only if + aj_media_class is ISIS_MEDIA_CLASS_LAN"; + } + leaf adjacency-neighbor-priority { + type Isis-dr-priority; + description + "Neighbor IS priority. Valid only if + aj_media_class is ISIS_MEDIA_CLASS_LAN"; + } + leaf adjacency-local-priority { + type Isis-dr-priority; + description + "Local IS priority. Valid only if aj_media_class + is ISIS_MEDIA_CLASS_LAN"; + } + leaf local-dis-flag { + type boolean; + description + "TRUE if local system is DIS. Valid only if + AdjacencyMediaType is ISIS_MEDIA_CLASS_LAN"; + } + leaf neighbor-dis-flag { + type boolean; + description + "TRUE if neighbor is DIS. Valid only if + AdjacencyMediaType is ISIS_MEDIA_CLASS_LAN"; + } + leaf nsr-standby { + type uint8; + description + "ISIS NSR STANDBY"; + } + list adjacency-area-address { + description + "Area addresses active over this adjacency"; + leaf entry { + type xr:Osi-area-address; + } + } + list adjacency-topology { + description + "Per-topology data"; + uses ISIS-SH-ADJ-TOPO; + } + list adjacency-per-address-family-data { + description + "Per-address-family data"; + uses ISIS-SH-ADJ-AF; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY-ALL-FRAGMENTS-STATS { + description + "All fragment counters"; + container node-counters { + description + "Summary by class of node"; + uses ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY-TOPO-CLASS-COUNTERS { + description + "Per-topology related info"; + container id { + description + "Topology ID"; + uses ISIS-TOPO-ID-TYPE; + } + container overloaded-lsp-count { + description + "Number of LSPs with their per-topology overload + bit set"; + uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; + } + container attached-lsp-count { + description + "Number of LSPs with their per-topology attached + bit set"; + uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS { + description + "LSP status counters"; + leaf active-lsp-count { + type uint32; + description + "Number of active LSPs"; + } + leaf purged-lsp-count { + type uint32; + description + "Number of purged LSPs"; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS { + description + "LSP node type counters"; + container route-lsp-count { + description + "Router LSPs"; + uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; + } + container pseudo-node-lsp-count { + description + "Pseudonode LSPs"; + uses ISIS-SH-LSP-DB-SUMMARY-STATUS-CLASS-COUNTERS; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY-FRAGMENT-0-STATS { + description + "Fragment-0 counters"; + container node-counters { + description + "Summary by class of node"; + uses ISIS-SH-LSP-DB-SUMMARY-NODE-CLASS-COUNTERS; + } + list per-topology-counter { + description + "Per topology counters"; + uses ISIS-SH-LSP-DB-SUMMARY-TOPO-CLASS-COUNTERS; + } + } + + grouping ISIS-SH-LSP-DB-SUMMARY { + description + "Summary Statistics for an IS-IS LSP Database"; + container fragment0lsp-stats { + description + "Statistics for fragment 0 LSPs"; + uses ISIS-SH-LSP-DB-SUMMARY-FRAGMENT-0-STATS; + } + container all-fragment-lsp-stats { + description + "Statistics for all LSP fragments"; + uses ISIS-SH-LSP-DB-SUMMARY-ALL-FRAGMENTS-STATS; + } + } + + grouping ISIS-ADJ-LOG-TOPO-TYPE { + description + "Per-topology per-adjacency log data"; + container id { + description + "Topology ID"; + uses ISIS-TOPO-ID-TYPE; + } + leaf change { + type Isis-adj-topo-change; + description + "Change"; + } + } + + grouping ISIS-SH-GENERIC-LOG-ENT { + description + "Generic portion of a log entry"; + container timestamp { + description + "Time in UTC relative to Jan 1st, 1970"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + } + + grouping ISIS-SH-ADJ-LOG-ENT { + description + "An adjacency log entry"; + container generic-data { + description + "Generic entry data"; + uses ISIS-SH-GENERIC-LOG-ENT; + } + leaf adj-log-neighbor-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf prev-adj-state { + type Isis-adj-state; + description + "Previous adjacency state"; + } + leaf cur-adj-state { + type Isis-adj-state; + description + "Current adjacency state"; + } + leaf state-reason { + type Isis-adj-state-reason; + description + "Reason adjacency changed state"; + } + list adjacency-per-topology-change { + description + "Per-topology changes"; + uses ISIS-ADJ-LOG-TOPO-TYPE; + } + } + + grouping ISIS-SH-ADJ-LOG-STRUC { + description + "Adjacency log structure"; + list log-entry { + description + "Adjacency Log entries"; + uses ISIS-SH-ADJ-LOG-ENT; + } + } + + grouping ISIS-AREA-TOPO-STATS-TYPE { + description + "Per-area, per-topology traffic statistics"; + leaf spf-run-count { + type uint32; + description + "Number of full SPF calculations run"; + } + leaf ispf-run-count { + type uint32; + description + "Number of ISPF calculations run"; + } + leaf nhc-run-count { + type uint32; + description + "Number of Next Hop Calculations run"; + } + leaf prc-run-count { + type uint32; + description + "Number of PRCs run"; + } + leaf periodic-run-count { + type uint32; + description + "Number of periodic SPF calculations run"; + } + } + + grouping ISIS-SH-TRAFFIC-AREA-TOPO { + description + "Per-area, per-topology traffic data"; + container id { + description + "Topology ID"; + uses ISIS-TOPO-ID-TYPE; + } + container statistics { + description + "Statistics"; + uses ISIS-AREA-TOPO-STATS-TYPE; + } + } + + grouping ISIS-AREA-STATS-TYPE { + description + "Per-area traffic statistics"; + leaf system-lsp-build-count { + type uint32; + description + "Number of times system LSP rebuilt"; + } + leaf system-lsp-refresh-count { + type uint32; + description + "Number of times system LSP refreshed"; + } + } + + grouping ISIS-SH-TRAFFIC-AREA { + description + "Per-area traffic data"; + container statistics { + description + "Statistics"; + uses ISIS-AREA-STATS-TYPE; + } + leaf level { + type Isis-level; + description + "Level this data applies to"; + } + list per-topology-data { + description + "Per-topoogy statistics"; + uses ISIS-SH-TRAFFIC-AREA-TOPO; + } + } + + grouping ISIS-SH-TIMESTAMP-TYPE { + description + "Timestamp for an event"; + leaf seconds { + type uint32; + units "second"; + description + "Timestamp value (seconds)"; + } + leaf nano-seconds { + type uint32; + units "nanosecond"; + description + "Timestamp value (nanoseconds)"; + } + } + + grouping ISIS-TRAFFIC-GLOBAL-TYPE { + description + "IS-IS process traffic statistics"; + container avg-hello-process-time { + description + "Average hello process time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-csnp-process-time { + description + "Average CSNP process time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-psnp-process-time { + description + "Average PSNP process time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-lsp-process-time { + description + "Average LSP process time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-hello-transmit-time { + description + "Average hello transmit time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-csnp-transmit-time { + description + "Average CSNP transmit time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-psnp-transmit-time { + description + "Average PSNP transmit time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + container avg-lsp-transmit-time { + description + "Average LSP transmit time"; + uses ISIS-SH-TIMESTAMP-TYPE; + } + leaf fast-psnp-lookup-count { + type uint32; + description + "Fast-PSNP cache lookups"; + } + leaf fast-psnp-lookup-hit-count { + type uint32; + description + "Fast-PSNP cache hits"; + } + leaf fast-csnp-lookup-count { + type uint32; + description + "Fast-CSNP cache lookups"; + } + leaf fast-csnp-lookup-hit-count { + type uint32; + description + "Fast-CSNP cache hits"; + } + leaf fast-csnp-cache-update-count { + type uint32; + description + "Fast-CSNP cache updates"; + } + leaf zero-holdtime-lsp-count { + type uint32; + description + "LSPs received with holdtime 0"; + } + leaf invalid-checksum-lsp-count { + type uint32; + description + "LSPs received with invalid checksum"; + } + leaf iih-dropped-count { + type uint32; + description + "IIHs dropped - Not Used"; + } + leaf lsp-dropped-count { + type uint32; + description + "LSPs dropped"; + } + leaf snp-dropped-count { + type uint32; + description + "SNPs dropped"; + } + leaf maximum-iih-queue-length { + type uint32; + description + "Maximum IIH queue length - Not Used"; + } + leaf maximum-pdu-queue-length { + type uint32; + description + "Maximum update PDU queue length"; + } + leaf pdu-queue-length { + type uint32; + description + "Update PDU queue length"; + } + leaf avg-hello-recv-rate { + type uint32; + units "packet/s"; + description + "Average hello receive rate in packets per second"; + } + leaf avg-csnp-recv-rate { + type uint32; + units "packet/s"; + description + "Average csnp receive rate in packets per second"; + } + leaf avg-psnp-recv-rate { + type uint32; + units "packet/s"; + description + "Average psnp receive rate in packets per second"; + } + leaf avg-lsp-recv-rate { + type uint32; + units "packet/s"; + description + "Average LSP receive rate in packets per second"; + } + leaf avg-hello-send-rate { + type uint32; + units "packet/s"; + description + "Average hello send rate in packets per second"; + } + leaf avg-csnp-send-rate { + type uint32; + units "packet/s"; + description + "Average csnp send rate in packets per second"; + } + leaf avg-psnp-send-rate { + type uint32; + units "packet/s"; + description + "Average psnp send rate in packets per second"; + } + leaf avg-lsp-send-rate { + type uint32; + units "packet/s"; + description + "Average LSP send rate in packets per second"; + } + } + + grouping ISIS-SH-TRAFFIC-GLOBAL { + description + "IS-IS process traffic data"; + container statistics { + description + "Statistics"; + uses ISIS-TRAFFIC-GLOBAL-TYPE; + } + list per-area-data { + description + "Per-area data"; + uses ISIS-SH-TRAFFIC-AREA; + } + } + + grouping ISIS-SH-HOST { + description + "Bag representing a host (IS)"; + leaf local-is-flag { + type boolean; + description + "TRUE if this is the local IS"; + } + leaf host-levels { + type Isis-levels; + description + "Host levels"; + } + leaf host-name { + type string; + description + "Host name"; + } + } + + grouping ISIS-IPV6-ADJ-SID-BACKUP-INFO { + description + "IPv4 Adjacency SID backup information"; + leaf backup-label-stack-size { + type uint8; + description + "Number of labels in the backup path label stack"; + } + leaf backup-node-address { + type Isis-ipv6-address; + description + "Neighbor address used as adjacency backup target"; + } + leaf backup-nexthop { + type Isis-ipv6-address; + description + "Backup path nexthop address"; + } + leaf backup-interface { + type xr:Interface-name; + description + "Backup path interface"; + } + list backup-label-stack { + description + "Backup path label stack"; + leaf entry { + type uint32; + } + } + } + + grouping ISIS-IPV6-ADJ-SID { + description + "IPv6 Adjacency SID"; + container adjacency-sid-backup { + description + "Adjacency SID Backup Info"; + uses ISIS-IPV6-ADJ-SID-BACKUP-INFO; + } + container adjacency-sid-backup-te { + description + "Adjacency SID Backup Info TE"; + uses ISIS-IPV6-ADJ-SID-BACKUP-INFO; + } + leaf adjacency-sid-value { + type Isis-nodal-sid-value; + description + "Adjacency SID value"; + } + } + + grouping ISIS-SH-ADJ-IPV6 { + description + "IPv6 Specific Per-Adjacency Data"; + container adjacency-sid { + description + "Adjacency SID"; + uses ISIS-IPV6-ADJ-SID; + } + container non-frr-adjacency-sid { + description + "Adjacency SID not eligible for FRR protection"; + uses ISIS-IPV6-ADJ-SID; + } + leaf next-hop { + type Isis-ipv6-address; + description + "Adjacency next hop"; + } + list interface-address { + description + "Adjacency interface addresses"; + leaf entry { + type Isis-ipv6-address; + } + } + list underlying-adjacency-sid { + description + "Per bundle member Adjacency sid"; + leaf entry { + type Isis-nodal-sid-value; + } + } + list underlying-interface { + description + "Underlying interface list for bundle interfaces"; + uses ISIS-SH-INTF-DET; + } + } + + grouping ISIS-SH-INTF-DET { + description + "Interface Detail"; + leaf interface-handle { + type xr:Interface-name; + description + "Local interface handle"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + } + + grouping ISIS-IPV4-ADJ-SID-BACKUP-INFO { + description + "IPv4 Adjacency SID backup information"; + leaf backup-label-stack-size { + type uint8; + description + "Number of labels in the backup path label stack"; + } + leaf backup-node-address { + type Isis-ipv4-address; + description + "Neighbor address used as adjacency backup target"; + } + leaf backup-nexthop { + type Isis-ipv4-address; + description + "Backup path nexthop address"; + } + leaf backup-interface { + type xr:Interface-name; + description + "Backup path interface"; + } + list backup-label-stack { + description + "Backup path label stack"; + leaf entry { + type uint32; + } + } + } + + grouping ISIS-IPV4-ADJ-SID { + description + "IPv4 Adjacency SID"; + container adjacency-sid-backup { + description + "Adjacency SID Backup Info"; + uses ISIS-IPV4-ADJ-SID-BACKUP-INFO; + } + container adjacency-sid-backup-te { + description + "Adjacency SID Backup Info TE"; + uses ISIS-IPV4-ADJ-SID-BACKUP-INFO; + } + leaf adjacency-sid-value { + type Isis-nodal-sid-value; + description + "Adjacency SID value"; + } + } + + grouping ISIS-SH-ADJ-IPV4 { + description + "IPv4 Specific Per-Adjacency Data"; + container adjacency-sid { + description + "Adjacency SID"; + uses ISIS-IPV4-ADJ-SID; + } + container non-frr-adjacency-sid { + description + "Adjacency SID not eligible for FRR protection"; + uses ISIS-IPV4-ADJ-SID; + } + leaf next-hop { + type Isis-ipv4-address; + description + "Adjacency next hop"; + } + list interface-address { + description + "Adjacency interface addresses"; + leaf entry { + type Isis-ipv4-address; + } + } + list underlying-adjacency-sid { + description + "Per bundle member Adjacency sid"; + leaf entry { + type Isis-nodal-sid-value; + } + } + list underlying-interface { + description + "Underlying interface list for bundle interfaces"; + uses ISIS-SH-INTF-DET; + } + } + + grouping ISIS-SH-ADJ-AF { + description + "ISIS SH ADJ AF"; + container ipv4 { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + description + "IPV4 neighbor info"; + uses ISIS-SH-ADJ-IPV4; + } + container ipv6 { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + description + "IPV6 neighbor info"; + uses ISIS-SH-ADJ-IPV6; + } + leaf af-name { + type Isis-af-id; + description + "AFName"; + } + } + + grouping ISIS-TOPO-ID-TYPE { + description + "Identification of an IS-IS topology"; + leaf af-name { + type Isis-af-id; + description + "AF name"; + } + leaf saf-name { + type Isis-sub-af-id; + description + "Sub-AF name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf topology-name { + type string; + description + "Topology Name"; + } + } + + grouping ISIS-SH-NBR { + description + "A neighbor IS"; + leaf neighbor-system-id { + type xr:Osi-system-id; + description + "Neighbor system ID"; + } + leaf neighbor-snpa { + type xr:Isis-snpa; + description + "Neighbor SNPA"; + } + leaf local-interface { + type xr:Interface-name; + description + "Local interface"; + } + leaf neighbor-state { + type Isis-adj-state; + description + "Neighbor (adjacency) state"; + } + leaf neighbor-circuit-type { + type Isis-levels; + description + "Circuit type"; + } + leaf neighbor-ietf-nsf-capable-flag { + type uint32; + description + "TRUE if neighbor is IETF-NSF capable"; + } + leaf neighbor-media-type { + type Isis-media-class; + description + "Link media type"; + } + leaf neighbor-holdtime { + type uint32; + description + "Time (s) until neighbor declared down if no IIH + received"; + } + leaf neighbor-uptime-valid-flag { + type boolean; + description + "TRUE if NeighborUptime is set"; + } + leaf neighbor-uptime { + type uint32; + description + "How long the neighbor has been up (s)"; + } + leaf nsr-standby { + type boolean; + description + "ISIS NSR STANDBY"; + } + list neighbor-active-area-address { + description + "Active area addresses"; + leaf entry { + type xr:Osi-area-address; + } + } + list topologies-supported { + description + "Topologies supported by both neighbor and local + system"; + uses ISIS-TOPO-ID-TYPE; + } + list neighbor-per-address-family-data { + description + "Per address-family data"; + uses ISIS-SH-ADJ-AF; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub2.yang new file mode 100644 index 0000000..33d6983 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper-sub2.yang @@ -0,0 +1,197 @@ +submodule Cisco-IOS-XR-clns-isis-oper-sub2 { + belongs-to Cisco-IOS-XR-clns-isis-oper { + prefix Cisco-IOS-XR-clns-isis-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR clns-isis package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srms-mi-flag-e-b { + type enumeration { + enum "false" { + value 0; + description + "False"; + } + enum "true" { + value 1; + description + "True"; + } + } + description + "Srms mi flag e b"; + } + + typedef In6-addr-t-b { + type inet:ipv6-address; + description + "In6 addr t b"; + } + + typedef Srms-mi-af-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Srms mi af e b"; + } + + typedef Srms-mi-src-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "local" { + value 1; + description + "Local"; + } + enum "remote" { + value 2; + description + "Remote"; + } + } + description + "Srms mi src e b"; + } + + grouping ADDR { + description + "ADDR"; + leaf af { + type Srms-mi-af-e-b; + description + "AF"; + } + leaf ipv4 { + when "../af = 'ipv4'" { + description + "../AF = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4"; + } + leaf ipv6 { + when "../af = 'ipv6'" { + description + "../AF = 'IPv6'"; + } + type In6-addr-t-b; + description + "IPv6"; + } + } + + grouping SRMS-MI-T-B { + description + "SRMS show bag"; + container addr { + description + "addr"; + uses ADDR; + } + leaf src { + type Srms-mi-src-e-b; + description + "src"; + } + leaf router { + type string { + length "0..30"; + } + description + "Router ID"; + } + leaf area { + type string { + length "0..30"; + } + description + "Area (OSPF) or Level (ISIS)"; + } + leaf prefix { + type uint8; + description + "Prefix length"; + } + leaf sid-start { + type uint32; + description + "Starting SID"; + } + leaf sid-count { + type uint32; + description + "SID range"; + } + leaf last-prefix { + type string { + length "0..50"; + } + description + "Last IP Prefix"; + } + leaf last-sid-index { + type uint32; + description + "Last SID Index"; + } + leaf flag-attached { + type Srms-mi-flag-e-b; + description + "Attached flag"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper.yang new file mode 100644 index 0000000..b0de36b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-clns-isis-oper.yang @@ -0,0 +1,601 @@ +module Cisco-IOS-XR-clns-isis-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-clns-isis-oper"; + prefix clns-isis-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-clns-isis-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-clns-isis-oper-sub2 { + revision-date 2017-06-26; + } + include Cisco-IOS-XR-clns-isis-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR clns-isis package operational data. + + This module contains definitions + for the following management objects: + isis: IS-IS operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping POLICY-MI { + description + "Common node of policy-ipv4-active, + policy-ipv4-backup, policy-ipv6-active, + policy-ipv6-backup"; + list policy-mi { + key "mi-id"; + description + "Mapping Item"; + leaf mi-id { + type xr:Cisco-ios-xr-string; + description + "Mapping Item ID (0, 1, 2, ...)"; + } + uses SRMS-MI-T-B; + } + } + + container isis { + config false; + description + "IS-IS operational data"; + container instances { + description + "Per-instance operational data"; + list instance { + key "instance-name"; + description + "IS-IS instance"; + container neighbors { + description + "Neighbor table"; + list neighbor { + description + "A single neighbor router"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-NBR; + } + } + container host-names { + description + "Hostname table"; + list host-name { + key "system-id"; + description + "Hostname table entry"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + uses ISIS-SH-HOST; + } + } + container statistics-global { + description + "Per-instance statistics"; + uses ISIS-SH-TRAFFIC-GLOBAL; + } + container levels { + description + "Level table"; + list level { + key "level"; + description + "Per-level operational data"; + container adjacency-log { + description + "Log of adjacency changes within a single + level"; + uses ISIS-SH-ADJ-LOG-STRUC; + } + container lsp-table-summary { + description + "Summary information for one level's LSP + database"; + uses ISIS-SH-LSP-DB-SUMMARY; + } + container adjacencies { + description + "Adjacency table"; + list adjacency { + description + "A single IS-IS adjacency"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-ADJ; + } + } + container detailed-lsps { + description + "Detailed LSP table. Use to retrieve LSPs + with TLV content."; + list detailed-lsp { + key "lsp-id"; + description + "An IS-IS LSP with detailed TLV data + included"; + leaf lsp-id { + type xr:Isis-lsp-id; + description + "LSP ID"; + } + uses ISIS-SH-LSP; + } + } + container lsps { + description + "LSP table"; + list lsp { + key "lsp-id"; + description + "An IS-IS LSP (header information only)"; + leaf lsp-id { + type xr:Isis-lsp-id; + description + "LSP ID"; + } + uses ISIS-SH-LSP; + } + } + container lsp-log { + description + "LSP-log for a single level"; + uses ISIS-SH-LSP-LOG-STRUC; + } + container database-log { + description + "Database-log for a single level"; + uses ISIS-SH-LSP-DB-LOG-STRUC; + } + leaf level { + type dt1:Isis-internal-level; + description + "Level"; + } + } + } + container topologies { + description + "Topology table"; + list topology { + description + "Per-topology data"; + container frr-summary { + description + "FRR summary information for a particular + IS-IS topology"; + uses ISIS-SH-FRR-SUMMARY; + } + container topology-levels { + description + "Per-topology level table"; + list topology-level { + key "level"; + description + "Per-level topology operational data"; + container te-advertisements { + description + "TE advertisements for a single level and + topology. Only available within the IPv4 + Unicast topology."; + uses ISIS-SH-TE-ADV; + } + container te-adjacency-log { + description + "TE adjacency-log for a single level and + topology. Only available within the IPv4 + Unicast topology."; + uses ISIS-SH-TE-LOG-STRUC; + } + container spf-log { + description + "Log of route calculations for a single + level and topology"; + uses ISIS-SH-SPF-LOG-STRUC; + } + container te-tunnels { + description + "TE tunnels table. Only available within + the IPv4 Unicast topology."; + list te-tunnel { + description + "A single TE tunnel advertized by IS-IS"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-TE-TUNNEL; + } + } + container ipv4-link-topologies { + description + "IPv4 IS Topology table"; + list ipv4-link-topology { + key "system-id"; + description + "An IS in an IPv4 Link Topology"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + uses ISIS-SH-IPV4-TOPO-ENTRY; + } + } + container topology-summary { + description + "Summary information for a particular IS + Topology"; + uses ISIS-SH-TOPO-SUMMARY; + } + container ipv6-link-topologies { + description + "IPv6 IS Topology table"; + list ipv6-link-topology { + key "system-id"; + description + "An IS in an IPv6 Link Topology"; + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + uses ISIS-SH-IPV6-TOPO-ENTRY; + } + } + leaf level { + type dt1:Isis-internal-level; + description + "Level"; + } + } + } + container ipv6-routes { + description + "IPv6 local route"; + list ipv6-route { + description + "An IPv6 route known to IS-IS"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type dt1:Isis-ipv6-prefix-length; + description + "Prefix Length"; + } + uses ISIS-SH-IPV6-ROUTE; + } + } + container ipv6frr-backups { + description + "IPv6 FRR table"; + list ipv6frr-backup { + description + "FRR backup for an IPv6 network"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type dt1:Isis-ipv6-prefix-length; + description + "Prefix Length"; + } + uses ISIS-SH-IPV6-ROUTE; + } + } + container ipv4frr-backups { + description + "IPv4 FRR table"; + list ipv4frr-backup { + description + "FRR backup for an IPv4 network"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type dt1:Isis-ipv4-prefix-length; + description + "Prefix Length"; + } + uses ISIS-SH-IPV4-ROUTE; + } + } + container ipv4-routes { + description + "IPv4 local route table"; + list ipv4-route { + description + "An IPv4 route known to IS-IS"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type dt1:Isis-ipv4-prefix-length; + description + "Prefix Length"; + } + uses ISIS-SH-IPV4-ROUTE; + } + } + leaf af-name { + type dt1:Isis-address-family; + description + "Address family"; + } + leaf saf-name { + type dt1:Isis-sub-address-family; + description + "Sub address family"; + } + leaf topology-name { + type dt1:Isis-topology-name; + description + "Topology Name"; + } + } + } + container nsr-status { + description + "NSR Status information"; + uses ISIS-SH-NSR-STATUS-GLOBAL; + } + container interfaces { + description + "Interface table"; + list interface { + key "interface-name"; + description + "Information about one IS-IS interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-IF; + } + } + container checkpoint-adjacencies { + description + "Checkpointed adjacency table"; + list checkpoint-adjacency { + description + "A checkpointed IS-IS adjacency"; + leaf level { + type dt1:Isis-internal-level; + description + "Level"; + } + leaf system-id { + type xr:Osi-system-id; + description + "System ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-CHKPT-ADJ; + } + } + container srms { + description + "Segment Routing Mapping Server operational + data"; + container policy { + description + "Policy operational data"; + container policy-ipv4 { + description + "IPv4 policy operational data"; + container policy-ipv4-active { + description + "IPv4 active policy operational data"; + uses POLICY-MI; + } + container policy-ipv4-backup { + description + "IPv4 backup policy operational data"; + uses POLICY-MI; + } + } + container policy-ipv6 { + description + "IPv6 policy operational data"; + container policy-ipv6-backup { + description + "IPv6 backup policy operational data"; + uses POLICY-MI; + } + container policy-ipv6-active { + description + "IPv6 active policy operational data"; + uses POLICY-MI; + } + } + } + } + container error-log { + description + "Log of errors and warnings"; + uses ISIS-SH-ERR-LOG-STRUC; + } + container checkpoint-interfaces { + description + "Checkpointed interface table"; + list checkpoint-interface { + key "interface-name"; + description + "Checkpointed information about one IS-IS + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-CHKPT-IDB; + } + } + container interface-statistics { + description + "Interface statistics table"; + list interface-statistic { + key "interface-name"; + description + "Statistics data for one IS-IS interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-TRAFFIC-INTF; + } + } + container protocol { + description + "Basic protocol information about an IS-IS + instance"; + uses ISIS-SH-PROTO; + } + container neighbor-summaries { + description + "Neighbor-summary table"; + list neighbor-summary { + key "interface-name"; + description + "Neighbor-summary data for a single interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-NBR-SUMM; + } + } + container checkpoint-lsps { + description + "Checkpointed LSP table"; + list checkpoint-lsp { + description + "A checkpointed IS-IS LSP"; + leaf level { + type dt1:Isis-internal-level; + description + "Level"; + } + leaf lsp-id { + type xr:Isis-lsp-id; + description + "LSP ID"; + } + uses ISIS-SH-CHKPT-LSP; + } + } + container mesh-groups { + description + "Mesh-group information"; + uses ISIS-SH-MESH-GROUPS; + } + container nsr-statistics { + description + "NSR Statistics information"; + uses ISIS-SH-NSR-STATS-GLOBAL; + } + container checkpoint-te-tunnels { + description + "Checkpointed TE tunnel table"; + list checkpoint-te-tunnel { + description + "A checkpointed TE tunnel"; + leaf level { + type dt1:Isis-internal-level; + description + "Level"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ISIS-SH-CHKPT-TE-TUNNEL; + } + } + leaf instance-name { + type dt1:Isis-instance-name; + description + "Instance identifier"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper-sub1.yang new file mode 100644 index 0000000..fd976e8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper-sub1.yang @@ -0,0 +1,123 @@ +submodule Cisco-IOS-XR-cmproxy-oper-sub1 { + belongs-to Cisco-IOS-XR-cmproxy-oper { + prefix Cisco-IOS-XR-cmproxy-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR cmproxy package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CMP-INV-ST { + description + "cmp inv info"; + leaf valid { + type uint32; + description + "valid flag"; + } + leaf card-type { + type uint32; + description + "card type"; + } + leaf card-type-string { + type string { + length "0..32"; + } + description + "card type string"; + } + leaf nodeid { + type int32; + description + "node ID"; + } + leaf node-name { + type string { + length "0..32"; + } + description + "node name string"; + } + leaf partner-id { + type int32; + description + "partner node id"; + } + leaf partner-name { + type string { + length "0..32"; + } + description + "partner name string"; + } + leaf red-state { + type uint32; + description + "redundancy state"; + } + leaf red-state-string { + type string { + length "0..32"; + } + description + "redundancy state string"; + } + leaf node-sw-state { + type uint32; + description + "current software state"; + } + leaf node-sw-state-string { + type string { + length "0..32"; + } + description + "current software state string"; + } + leaf prev-sw-state { + type uint32; + description + "previous software state"; + } + leaf prev-sw-state-string { + type string { + length "0..32"; + } + description + "previous software state string"; + } + leaf node-ip { + type uint32; + description + "node IP address"; + } + leaf node-ipv4-string { + type string { + length "0..16"; + } + description + "node IPv4 address string"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper.yang new file mode 100644 index 0000000..337d8bb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-cmproxy-oper.yang @@ -0,0 +1,74 @@ +module Cisco-IOS-XR-cmproxy-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cmproxy-oper"; + prefix cmproxy-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-cmproxy-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR cmproxy package operational data. + + This module contains definitions + for the following management objects: + sdr-inventory-vm: Platform VM information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container sdr-inventory-vm { + config false; + description + "Platform VM information"; + container nodes { + description + "Node directory"; + list node { + key "name"; + description + "Node name"; + container node-entries { + description + "VM Information"; + list node-entry { + key "name"; + description + "VM information for a node"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Node name"; + } + uses CMP-INV-ST; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-common-acl-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-common-acl-datatypes.yang new file mode 100644 index 0000000..bead10a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-common-acl-datatypes.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-common-acl-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-common-acl-datatypes"; + prefix common-acl-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Acl-usage-app-id-enum { + type enumeration { + enum "pfilter" { + value 1; + description + "General Usage Statistics"; + } + enum "bgp" { + value 2; + description + "Usage staistics related to BGP Traffic"; + } + enum "ospf" { + value 3; + description + "Usage staistics related to OSPF Traffic"; + } + } + description + "Acl usage app id enum"; + } + + typedef Acl-sequence-number-range { + type uint32 { + range "1..2147483646"; + } + description + "Acl sequence number range"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-cfg.yang new file mode 100644 index 0000000..57ee55e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-cfg.yang @@ -0,0 +1,43 @@ +module Cisco-IOS-XR-config-cfgmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-cfg"; + prefix config-cfgmgr-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR config-cfgmgr package configuration. + + This module contains definitions + for the following management objects: + cfgmgr: Cfgmgr configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container cfgmgr { + description + "Cfgmgr configuration"; + leaf mode-exclusive { + type boolean; + default "true"; + description + "Enabled or Disabled"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang new file mode 100644 index 0000000..e414358 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1.yang @@ -0,0 +1,304 @@ +submodule Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1 { + belongs-to Cisco-IOS-XR-config-cfgmgr-exec-oper { + prefix Cisco-IOS-XR-config-cfgmgr-exec-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR config-cfgmgr-exec package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Hist-record { + type enumeration { + enum "cfghist-bag-record-all" { + description + "All history"; + } + enum "cfghist-bag-record-alarm" { + description + "Alarm history"; + } + enum "cfghist-bag-record-cfs-check" { + description + "CfgCheck history"; + } + enum "cfghist-bag-record-commit" { + description + "Commit history"; + } + enum "cfghist-bag-record-oir" { + description + "OIR history"; + } + enum "cfghist-bag-record-shutdown" { + description + "Shutdown history"; + } + enum "cfghist-bag-record-startup" { + description + "Bootup history"; + } + enum "cfghist-bag-record-backup" { + description + "Backup history"; + } + enum "cfghist-bag-record-rebase" { + description + "Rebase history"; + } + enum "cfghist-bag-record-last" { + description + "Last history"; + } + } + description + "Possible types of history"; + } + + grouping HIST-BACKUP { + description + "HIST BACKUP"; + leaf comment { + type string; + description + "Comment"; + } + } + + grouping HIST-STARTUP { + description + "HIST STARTUP"; + leaf how-booted { + type string; + description + "How Booted"; + } + leaf boot-path { + type string; + description + "Boot Path"; + } + } + + grouping HIST-SHUTDOWN { + description + "HIST SHUTDOWN"; + leaf comment { + type string; + description + "Comment"; + } + } + + grouping HIST-OIR { + description + "HIST OIR"; + leaf config-type { + type string; + description + "Config Type"; + } + leaf operation { + type string; + description + "Operation"; + } + leaf config-name { + type string; + description + "Config Name"; + } + } + + grouping HIST-COMMIT { + description + "HIST COMMIT"; + leaf commit-id { + type string; + description + "CommitId"; + } + leaf user-id { + type string; + description + "UserId"; + } + leaf line { + type string; + description + "Line"; + } + leaf client-name { + type string; + description + "Client name"; + } + leaf label { + type string; + description + "Label"; + } + leaf comment { + type string; + description + "Comment"; + } + } + + grouping HIST-CFSCHECK { + description + "HIST CFSCHECK"; + leaf user-id { + type string; + description + "UserId"; + } + leaf line { + type string; + description + "Line"; + } + } + + grouping HIST-ALARM { + description + "HIST ALARM"; + leaf state { + type string; + description + "State"; + } + leaf where { + type string; + description + "Where"; + } + } + + grouping HIST-INFO { + description + "Configuration history record information"; + container alarm-info { + when "../type = 'cfghist-bag-record-alarm'" { + description + "../type = 'CFGHIST_BAG_RECORD_ALARM'"; + } + description + "alarm info"; + uses HIST-ALARM; + } + container cfscheck-info { + when "../type = 'cfghist-bag-record-cfs-check'" { + description + "../type = 'CFGHIST_BAG_RECORD_CFSCHECK'"; + } + description + "cfscheck info"; + uses HIST-CFSCHECK; + } + container commit-info { + when "../type = 'cfghist-bag-record-commit'" { + description + "../type = 'CFGHIST_BAG_RECORD_COMMIT'"; + } + description + "commit info"; + uses HIST-COMMIT; + } + container oir-info { + when "../type = 'cfghist-bag-record-oir'" { + description + "../type = 'CFGHIST_BAG_RECORD_OIR'"; + } + description + "oir info"; + uses HIST-OIR; + } + container shutdown-info { + when "../type = 'cfghist-bag-record-shutdown'" { + description + "../type = 'CFGHIST_BAG_RECORD_SHUTDOWN'"; + } + description + "shutdown info"; + uses HIST-SHUTDOWN; + } + container startup-info { + when "../type = 'cfghist-bag-record-startup'" { + description + "../type = 'CFGHIST_BAG_RECORD_STARTUP'"; + } + description + "startup info"; + uses HIST-STARTUP; + } + container backup-info { + when "../type = 'cfghist-bag-record-backup'" { + description + "../type = 'CFGHIST_BAG_RECORD_BACKUP'"; + } + description + "backup info"; + uses HIST-BACKUP; + } + leaf type { + type Hist-record; + description + "type"; + } + leaf a { + when "../type != 'cfghist-bag-record-alarm' and ../type != 'cfghist-bag-record-cfs-check' and ../type != 'cfghist-bag-record-commit' and ../type != 'cfghist-bag-record-oir' and ../type != 'cfghist-bag-record-shutdown' and ../type != 'cfghist-bag-record-startup' and ../type != 'cfghist-bag-record-backup'" { + description + "../type != 'CFGHIST_BAG_RECORD_ALARM' and . + ./type != 'CFGHIST_BAG_RECORD_CFSCHECK' and . + ./type != 'CFGHIST_BAG_RECORD_COMMIT' and . + ./type != 'CFGHIST_BAG_RECORD_OIR' and ../type + != 'CFGHIST_BAG_RECORD_SHUTDOWN' and ../type + != 'CFGHIST_BAG_RECORD_STARTUP' and ../type != + 'CFGHIST_BAG_RECORD_BACKUP'"; + } + type uint32; + description + "B"; + } + } + + grouping CONFIGURATIONHISTORY-ENTRY { + description + "Per History Information"; + container info { + description + "Content of the history"; + uses HIST-INFO; + } + leaf timestamp { + type uint32; + description + "Time stamp for the history"; + } + leaf record-type { + type Hist-record; + description + "Record type"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang new file mode 100644 index 0000000..b231cc2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-exec-oper.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-config-cfgmgr-exec-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-exec-oper"; + prefix config-cfgmgr-exec-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-config-cfgmgr-exec-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR config-cfgmgr-exec package operational data. + + This module contains definitions + for the following management objects: + cfg-hist-gl: Configuration History Global path information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container cfg-hist-gl { + config false; + description + "Configuration History Global path information"; + list record-type { + key "record-type"; + description + "History summary information for a specific type + of history"; + leaf record-type { + type xr:Cisco-ios-xr-string; + description + "Record type"; + } + list record { + key "record"; + description + "History summary information for a specific type + of history"; + leaf record { + type int32; + description + "Record"; + } + uses CONFIGURATIONHISTORY-ENTRY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-oper.yang new file mode 100644 index 0000000..347b454 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-cfgmgr-oper.yang @@ -0,0 +1,42 @@ +module Cisco-IOS-XR-config-cfgmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-cfgmgr-oper"; + prefix config-cfgmgr-oper; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR config-cfgmgr package operational data. + + This module contains definitions + for the following management objects: + config: Configuration-related operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container config { + config false; + description + "Configuration-related operational data"; + container global { + description + "Global operational data"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mda-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mda-cfg.yang new file mode 100644 index 0000000..609436e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mda-cfg.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-config-mda-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-mda-cfg"; + prefix config-mda-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR config-mda package configuration. + + This module contains definitions + for the following management objects: + active-nodes: Per-node configuration for active nodes + preconfigured-nodes: preconfigured nodes + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container active-nodes { + description + "Per-node configuration for active nodes"; + list active-node { + key "node-name"; + description + "The configuration for an active node"; + leaf node-name { + type xr:Node-id; + description + "The identifier for this node"; + } + } + } + container preconfigured-nodes { + description + "preconfigured nodes"; + list preconfigured-node { + key "node-name"; + description + "The configuration for a non-active node"; + leaf node-name { + type xr:Node-id; + description + "The identifier for this node"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mibs-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mibs-cfg.yang new file mode 100644 index 0000000..e90d203 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-config-mibs-cfg.yang @@ -0,0 +1,55 @@ +module Cisco-IOS-XR-config-mibs-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-config-mibs-cfg"; + prefix config-mibs-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR config-mibs package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-09-29 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container config-man { + description + "CISCO-CONFIG-MAN-MIB notification configurations"; + leaf enable { + type empty; + description + "Enable ciscoConfigManMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-odu-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-odu-datatypes.yang new file mode 100644 index 0000000..26746c2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-odu-datatypes.yang @@ -0,0 +1,474 @@ +module Cisco-IOS-XR-controller-odu-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-odu-datatypes"; + prefix controller-odu-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Otn-child-controller-name { + type enumeration { + enum "odu1" { + value 1; + description + "Create lower order odu1 controller"; + } + enum "odu2" { + value 2; + description + "Create lower order odu2 controller"; + } + enum "odu3" { + value 3; + description + "Create lower order odu3 controller"; + } + enum "odu0" { + value 10; + description + "Create lower order odu0 controller"; + } + enum "odu2e" { + value 11; + description + "Create lower order odu2e controller"; + } + enum "odu1e" { + value 23; + description + "Create lower order odu1e controller"; + } + enum "odu2f" { + value 25; + description + "Create lower order odu2f controller"; + } + enum "odu3e1" { + value 26; + description + "Create lower order odu3e1 controller"; + } + enum "odu3e2" { + value 27; + description + "Create lower order odu3e2 controller"; + } + } + description + "Otn child controller name"; + } + + typedef Otn-child-flex-controller-name { + type enumeration { + enum "odu-flex" { + value 22; + description + "Create lower order odu-flex controller"; + } + } + description + "Otn child flex controller name"; + } + + typedef Otn-flex-mapping { + type enumeration { + enum "gfp-f-fixed" { + value 1; + description + "GFP-FIX Mapping"; + } + enum "gfp-resizable" { + value 2; + description + "GFP-Resizable Mapping"; + } + enum "cbr" { + value 3; + description + "CBR Mapping"; + } + } + description + "Otn flex mapping"; + } + + typedef Otntcm-mode { + type enumeration { + enum "transparent" { + value 0; + description + "Set TCM Mode as transparent"; + } + enum "nim" { + value 1; + description + "Set TCM Mode as NIM"; + } + enum "operational" { + value 2; + description + "Set TCM Mode as operational"; + } + } + description + "Otntcm mode"; + } + + typedef Otn-per-mon { + type enumeration { + enum "disable" { + value 0; + description + "Performance Monitoring Disabled"; + } + enum "enable" { + value 1; + description + "Performance Monitoring Enabled"; + } + } + description + "Otn per mon"; + } + + typedef Odu-time-slot-granularity { + type enumeration { + enum "1.25g" { + value 0; + description + "1.25G time slot granularity"; + } + enum "2.5g" { + value 1; + description + "2.5G time slot granularity"; + } + } + description + "Odu time slot granularity"; + } + + typedef Mode { + type enumeration { + enum "mode-invalid" { + value 0; + description + "prbs Mode Invalid"; + } + enum "mode-source" { + value 1; + description + "Prbs Mode Source"; + } + enum "mode-sink" { + value 2; + description + "Prbs Mode Sink"; + } + enum "mode-source-sink" { + value 3; + description + "Prbs Mode Source_Sink"; + } + } + description + "Mode"; + } + + typedef Otn-send-tti-type-os { + type enumeration { + enum "send-tti-os-ascii/os-ascii" { + value 10; + description + "Send TTI OS ASCII string"; + } + enum "send-tti-os-hex/os-hex" { + value 12; + description + "Send TTI OS HEX string"; + } + } + description + "Otn send tti type os"; + } + + typedef Otn-exp-tti-type-sapi { + type enumeration { + enum "exp-tti-sapi-ascii/sapi-ascii" { + value 15; + description + "Expected TTI SAPI ASCII string"; + } + } + description + "Otn exp tti type sapi"; + } + + typedef Otn-termination { + type enumeration { + enum "ether" { + value 1; + description + "Termination to ether"; + } + } + description + "Otn termination"; + } + + typedef Otn-send-tti-type-sapi { + type enumeration { + enum "send-tti-sapi-ascii/sapi-ascii" { + value 14; + description + "Send TTI SAPI ASCII string"; + } + } + description + "Otn send tti type sapi"; + } + + typedef Otn-sec-admin-state { + type enumeration { + enum "normal" { + value 0; + description + "In normal state"; + } + enum "maintenance" { + value 1; + description + "Under maintenance"; + } + } + description + "Otn sec admin state"; + } + + typedef Otn-mapping { + type enumeration { + enum "gfp-f" { + value 1; + description + "gfp_f for mapping"; + } + enum "bmp" { + value 3; + description + "bmp for mapping"; + } + enum "gmp" { + value 4; + description + "gmp for mapping"; + } + enum "gfp-f-ext" { + value 6; + description + "gfp_f_ext for mapping"; + } + } + description + "Otn mapping"; + } + + typedef Otn-exp-tti-type-os { + type enumeration { + enum "exp-tti-os-ascii/os-ascii" { + value 11; + description + "Expected TTI OS ASCII string"; + } + enum "exp-tti-os-hex/os-hex" { + value 13; + description + "Expected TTI OS HEX string"; + } + } + description + "Otn exp tti type os"; + } + + typedef Odu-delay { + type enumeration { + enum "disable" { + value 0; + description + "Delay Disable"; + } + enum "enable" { + value 1; + description + "Delay Enable"; + } + } + description + "Odu delay"; + } + + typedef Otn-loopback { + type enumeration { + enum "line" { + value 2; + description + "Line loopback"; + } + enum "internal" { + value 4; + description + "Internal loopback"; + } + } + description + "Otn loopback"; + } + + typedef Otn-exp-tti-type-full { + type enumeration { + enum "exp-tti-full-ascii/full-ascii" { + value 5; + description + "Expected TTI Full ASCII string"; + } + enum "exp-tti-hex/hex" { + value 7; + description + "Expected TTI hex string"; + } + } + description + "Otn exp tti type full"; + } + + typedef Otn-send-tti-type-full { + type enumeration { + enum "send-tti-full-ascii/full-ascii" { + value 4; + description + "Send TTI Full ASCII string"; + } + enum "send-tti-hex/hex" { + value 6; + description + "Send TTI hex string"; + } + } + description + "Otn send tti type full"; + } + + typedef Otn-exp-tti-type-dapi { + type enumeration { + enum "exp-tti-dapi-ascii/dapi-ascii" { + value 9; + description + "Expected TTI DAPI ASCII string"; + } + } + description + "Otn exp tti type dapi"; + } + + typedef Otn-send-tti-type-dapi { + type enumeration { + enum "send-tti-dapi-ascii/dapi-ascii" { + value 8; + description + "Send TTI DAPI ASCII string"; + } + } + description + "Otn send tti type dapi"; + } + + typedef Otntcmca { + type enumeration { + enum "disable" { + value 0; + description + "Consequent(ial) action for Disabled"; + } + enum "enable" { + value 1; + description + "consequent(ial) action for Enabled"; + } + } + description + "Otntcmca"; + } + + typedef Pattern { + type enumeration { + enum "pattern-none" { + value 0; + description + "prbs pattern None"; + } + enum "pattern-pn31" { + value 1; + description + "Prbs pattern pn31"; + } + enum "pattern-pn23" { + value 2; + description + "Prbs pattern pn23"; + } + enum "pattern-pn11" { + value 4; + description + "Prbs pattern pn11"; + } + enum "pattern-inverted-pn31" { + value 8; + description + "Prbs pattern inverted pn31"; + } + enum "pattern-inverted-pn11" { + value 16; + description + "Prbs pattern inverted pn11"; + } + } + description + "Pattern"; + } + + typedef Otnpmtimca { + type enumeration { + enum "disable" { + value 0; + description + "Path layer PM TIM Consequent action Disabled"; + } + enum "enable" { + value 1; + description + "Path layer PM TIM Consequent action Enabled"; + } + } + description + "Otnpmtimca"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-cfg.yang new file mode 100644 index 0000000..78c6e46 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-cfg.yang @@ -0,0 +1,536 @@ +module Cisco-IOS-XR-controller-optics-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg"; + prefix controller-optics-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR controller-optics package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Optics-fec { + type enumeration { + enum "fec-none" { + value 0; + description + "No Fec"; + } + enum "fec-h15" { + value 1; + description + "Enhanced H15"; + } + enum "fec-h25" { + value 2; + description + "Enhanced H25"; + } + enum "fec-h15-de" { + value 4; + description + "Enhanced H15 DE"; + } + enum "fec-h25-de" { + value 8; + description + "Enhanced H25 DE"; + } + } + description + "Optics fec"; + } + + typedef Optics-ots-ampli-control-mode { + type enumeration { + enum "automatic" { + value 1; + description + "Automatic Amplifier Mode"; + } + enum "manual" { + value 2; + description + "Manual Amplifier Mode"; + } + } + description + "Optics ots ampli control mode"; + } + + typedef Threshold { + type enumeration { + enum "low" { + value 1; + description + "Low Threshold"; + } + enum "high" { + value 2; + description + "High Threshold"; + } + } + description + "Threshold"; + } + + typedef Optics-dwdm-carrier-param { + type enumeration { + enum "itu-ch" { + value 0; + description + "ITU Wave Channel Number"; + } + enum "wavelength" { + value 1; + description + "Wavelength in nm"; + } + enum "frequency" { + value 2; + description + "Frequency in Hertz"; + } + } + description + "Optics dwdm carrier param"; + } + + typedef Optics-ots-safety-control-mode { + type enumeration { + enum "auto" { + value 1; + description + "Automatic Safety Control Mode"; + } + enum "disabled" { + value 2; + description + "Disable Safety Control Mode"; + } + } + description + "Optics ots safety control mode"; + } + + typedef Optics-ots-ampli-gain-range { + type enumeration { + enum "normal" { + value 1; + description + "Normal Amplifier Gain Range"; + } + enum "extended" { + value 2; + description + "Extended Amplifier Gain Range"; + } + } + description + "Optics ots ampli gain range"; + } + + typedef Optics-dwdm-carrier-grid { + type enumeration { + enum "50g-hz-grid" { + value 0; + description + "50GHz Grid"; + } + enum "100mhz-grid" { + value 1; + description + "100MHz Grid"; + } + } + description + "Optics dwdm carrier grid"; + } + + typedef Optics-loopback { + type enumeration { + enum "none" { + value 0; + description + "No Loopback"; + } + enum "internal" { + value 1; + description + "Internal Loopback"; + } + enum "line" { + value 2; + description + "Line Loopback"; + } + } + description + "Optics loopback"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container optics { + description + "Optics controller configuration"; + container rx-thresholds { + description + "Configure Rx threshold"; + list rx-threshold { + key "rx-threshold-type"; + description + "Optics RX Low or high threshold configuration"; + leaf rx-threshold-type { + type Threshold; + description + "Low or high rx threshold"; + } + leaf rx-threshold { + type int32 { + range "-400..300"; + } + mandatory true; + description + "Select power level (in units of 0.1dBm)"; + } + } + } + container optics-network-srlgs { + description + "Configure Network srlgs"; + list optics-network-srlg { + key "set-id"; + description + "Configure network srlg sets"; + leaf set-id { + type uint32 { + range "1..17"; + } + description + "Set index"; + } + leaf srlg1 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg2 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg3 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg4 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg5 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg6 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + } + } + container optics-dwdm-carrier { + presence "Indicates a optics-dwdm-carrier node is configured."; + description + "Configure optics DWDM Carrier"; + leaf grid-type { + type Optics-dwdm-carrier-grid; + mandatory true; + description + "DWDM Channel Grid Type"; + } + leaf param-type { + type Optics-dwdm-carrier-param; + mandatory true; + description + "DWDM Channel Parameter Type ITU-Channel or + Frequency or Wavelength"; + } + leaf param-value { + type uint32 { + range "1..1961000"; + } + mandatory true; + description + "Type ITU-Channel Range 1-100, Frequency Range + 19115-19610, Wavelength Range 1528773-1568362, + 100MHz Frequency Range 1911500-1961000"; + } + } + container optics-lanes { + description + "Optics lanes"; + list optics-lane { + key "index"; + description + "Lane"; + leaf description { + type string { + length "1..255"; + } + description + "Configure description for this Lane"; + } + leaf index { + type int32; + description + "Lane Number"; + } + } + } + container tx-thresholds { + description + "Configure Tx threshold"; + list tx-threshold { + key "tx-threshold-type"; + description + "Optics TX Low or high threshold configuration"; + leaf tx-threshold-type { + type Threshold; + description + "Low or high tx threshold"; + } + leaf tx-threshold { + type int32 { + range "-400..300"; + } + mandatory true; + description + "Select power level (in units of 0.1dBm)"; + } + } + } + leaf optics-transmit-power { + type int32 { + range "-190..20"; + } + description + "Select power level (in units of 0.1dBm)"; + } + leaf optics-ots-channel-power-max-delta { + type int32 { + range "-500..300"; + } + description + "Configure max delta among all measured channel + powers "; + } + leaf optics-loopback { + type Optics-loopback; + default "none"; + description + "Configure optics loopback mode "; + } + leaf optics-ots-osri { + type boolean; + description + "Configure Optical safety remote interlock + (OSRI)"; + } + leaf optics-ots-amplifier-gain-degrade-high-threshold { + type int32 { + range "0..500"; + } + description + "Select Amplifier Gain Degrade High Threshold(in + units of 0.1dBm)"; + } + leaf optics-ots-rx-voa-attenuation { + type int32 { + range "0..200"; + } + description + "Select RX Voa Attenuation Setpoint(in units of + 0.1dBm)"; + } + leaf optics-fec { + type Optics-fec; + default "fec-none"; + description + "Configure optics fec "; + } + leaf optics-dgd-high-threshold { + type int32 { + range "0..18000"; + } + description + "Select DGD high threshold(in units of 0.1ps)"; + } + leaf optics-ots-amplifier-channel-power { + type int32 { + range "-500..300"; + } + description + "Select Amplifier Channel Power(in units of 0 + .1dBm)"; + } + leaf optics-ots-amplifier-control-mode { + type Optics-ots-ampli-control-mode; + description + "Configure amplifier working mode"; + } + leaf optics-ots-amplifier-gain { + type int32 { + range "0..500"; + } + description + "Select Amplifier Gain value(in units of 0.1dBm)"; + } + leaf optics-ots-amplifier-gain-range { + type Optics-ots-ampli-gain-range; + description + "Normal or extended Ampli Gain Range"; + } + leaf optics-ots-safety-control-mode { + type Optics-ots-safety-control-mode; + description + "Configure safety Control Mode"; + } + leaf optics-cd-min { + type int32 { + range "-280000..280000"; + } + description + "Select min chromatic dispersion (in units of + ps/nm)"; + } + leaf optics-ots-tx-voa-attenuation { + type int32 { + range "0..200"; + } + description + "Select TX Voa Attenuation Setpoint(in units of + 0.1dBm)"; + } + leaf optics-ots-amplifier-tilt { + type int32 { + range "-50..50"; + } + description + "Select Amplifier Tilt value(in units of 0.1dB)"; + } + leaf optics-transmit-shutdown { + type boolean; + description + "Configure optics transmit laser shutdown "; + } + leaf optics-description { + type string { + length "1..255"; + } + description + "Configure optics port description "; + } + leaf optics-performance-monitoring { + type boolean; + default "true"; + description + "Select Performance Monitoring as Enable or + Disable"; + } + leaf optics-cd-max { + type int32 { + range "-280000..280000"; + } + description + "Select max chromatic dispersion (in units of + ps/nm)"; + } + leaf optics-lbc-high-threshold { + type int32 { + range "0..100"; + } + description + "Select power level (in units of percentage)"; + } + leaf optics-cd-high-threshold { + type int32 { + range "-280000..280000"; + } + description + "Select chromatic dispersion high threshold(in + units of ps/nm)"; + } + leaf optics-osnr-low-threshold { + type int32 { + range "0..4000"; + } + description + "Select OSNR low threshold(in units of 0.01db)"; + } + leaf optics-ots-amplifier-gain-degrade-low-threshold { + type int32 { + range "0..500"; + } + description + "Select Amplifier Gain Degrade Low Threshold(in + units of 0.1dBm)"; + } + leaf optics-cd-low-threshold { + type int32 { + range "-280000..280000"; + } + description + "Select chromatic dispersion low threshold(in + units of ps/nm)"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper-sub1.yang new file mode 100644 index 0000000..5ef2009 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper-sub1.yang @@ -0,0 +1,2888 @@ +submodule Cisco-IOS-XR-controller-optics-oper-sub1 { + belongs-to Cisco-IOS-XR-controller-optics-oper { + prefix Cisco-IOS-XR-controller-optics-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR controller-optics package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ethernet-pmd { + type enumeration { + enum "optics-eth-not-set" { + value 0; + description + "Not set"; + } + enum "optics-eth-10gbase-lrm" { + value 1; + description + "10GBASE LRM"; + } + enum "optics-eth-10gbase-lr" { + value 2; + description + "10GBASE LR"; + } + enum "optics-eth-10gbase-zr" { + value 3; + description + "10GBASE ZR"; + } + enum "optics-eth-10gbase-er" { + value 4; + description + "10GBASE ER"; + } + enum "optics-eth-10gbase-sr" { + value 5; + description + "10GBASE SR"; + } + enum "optics-eth-10gbase" { + value 6; + description + "10GBASE T"; + } + enum "optics-eth-40gbase-cr4" { + value 7; + description + "40GBASE CR4"; + } + enum "optics-eth-40gbase-sr4" { + value 8; + description + "40GBASE SR4"; + } + enum "optics-eth-40gbase-lr4" { + value 9; + description + "40GBASE LR4"; + } + enum "optics-eth-40gbase-er4" { + value 10; + description + "40GBASE ER4"; + } + enum "optics-eth-40gbase-psm4" { + value 11; + description + "40GBASE PSM4"; + } + enum "optics-eth-40gbase-csr4" { + value 12; + description + "40GBASE CSR4"; + } + enum "optics-eth-40gbase-sr-bd" { + value 13; + description + "40GBASE SR BD"; + } + enum "optics-eth-40g-aoc" { + value 14; + description + "40G AOC"; + } + enum "optics-eth-4x10gbase-lr" { + value 15; + description + "4X10GBASE LR"; + } + enum "optics-eth-4x10gbase-sr" { + value 16; + description + "4X10GBASE SR"; + } + enum "optics-eth-100g-aoc" { + value 17; + description + "100G AOC"; + } + enum "optics-eth-100g-acc" { + value 18; + description + "100G ACC"; + } + enum "optics-eth-100gbase-sr10" { + value 19; + description + "100GBASE SR10"; + } + enum "optics-eth-100gbase-sr4" { + value 20; + description + "100GBASE SR4"; + } + enum "optics-eth-100gbase-lr4" { + value 21; + description + "100GBASE LR4"; + } + enum "optics-eth-100gbase-er4" { + value 22; + description + "100GBASE ER4"; + } + enum "optics-eth-100gbase-cwdm4" { + value 23; + description + "100GBASE CWDM4"; + } + enum "optics-eth-100gbase-clr4" { + value 24; + description + "100GBASE CLR4"; + } + enum "optics-eth-100gbase-psm4" { + value 25; + description + "100GBASE PSM4"; + } + enum "optics-eth-100gbase-cr4" { + value 26; + description + "100GBASE CR4"; + } + enum "optics-eth-100gbase-al" { + value 27; + description + "100GBASE AL"; + } + enum "optics-eth-100gbase-pl" { + value 28; + description + "100GBASE PL"; + } + enum "optics-eth-undefined" { + value 29; + description + "Eth Undefined"; + } + } + description + "Ethernet Pmd Type"; + } + + typedef Sonet-application-code { + type enumeration { + enum "optics-sonet-not-set" { + value 0; + description + "Not Set"; + } + enum "optics-vsr2000-3r2" { + value 1; + description + "VSR2000 3R2"; + } + enum "optics-vsr2000-3r3" { + value 2; + description + "VSR2000 3R3"; + } + enum "optics-vsr2000-3r5" { + value 3; + description + "VSR2000 3R5"; + } + enum "optics-sonet-undefined" { + value 4; + description + "Undefined"; + } + } + description + "Sonet application code"; + } + + typedef Otn-application-code { + type enumeration { + enum "optics-not-set" { + value 0; + description + "Not Set"; + } + enum "optics-p1l1-2d1" { + value 1; + description + "P1L1 2D1"; + } + enum "optics-p1s1-2d2" { + value 2; + description + "P1S1 2D2"; + } + enum "optics-p1l1-2d2" { + value 3; + description + "P1L1 2D2"; + } + enum "optics-undefined" { + value 4; + description + "Undefined"; + } + } + description + "Otn application code"; + } + + typedef Fiber-connector { + type enumeration { + enum "optics-connect-or-not-set" { + value 0; + description + "Not Set"; + } + enum "optics-sc-connect-or" { + value 1; + description + "SC"; + } + enum "optics-lc-connect-or" { + value 2; + description + "LC"; + } + enum "optics-mpo-connect-or" { + value 3; + description + "MPO"; + } + enum "optics-undefined-connect-or" { + value 4; + description + "Undefined"; + } + } + description + "Fiber connector"; + } + + typedef Optics-amplifier-safety-control-mode { + type enumeration { + enum "optics-amplifier-safety-mode-invalid" { + value 0; + description + "Invalid"; + } + enum "optics-amplifier-safety-mode-auto" { + value 1; + description + "auto"; + } + enum "optics-amplifier-safety-mode-disabled" { + value 2; + description + "disabled"; + } + } + description + "Optics amplifier safety control mode"; + } + + typedef Optics-amplifier-gain-range { + type enumeration { + enum "optics-amplifier-gain-range-invalid" { + value 0; + description + "Invalid"; + } + enum "optics-amplifier-gain-range-normal" { + value 1; + description + "Normal"; + } + enum "optics-amplifier-gain-range-ext-end-ed" { + value 2; + description + "Extended"; + } + } + description + "Optics amplifier gain range"; + } + + typedef Optics-amplifier-control-mode { + type enumeration { + enum "automatic" { + value 1; + description + "Automatic"; + } + enum "manual" { + value 2; + description + "Manual"; + } + } + description + "Optics amplifier control mode"; + } + + typedef Optics-port-status { + type enumeration { + enum "active" { + value 0; + description + "Active"; + } + enum "standby" { + value 1; + description + "Standby"; + } + } + description + "Optics port status"; + } + + typedef Optics-port { + type enumeration { + enum "com" { + value 0; + description + "Com"; + } + enum "line" { + value 1; + description + "Line"; + } + enum "osc" { + value 2; + description + "Osc"; + } + enum "com-check" { + value 3; + description + "Com Check"; + } + enum "work" { + value 4; + description + "Working"; + } + enum "prot" { + value 5; + description + "Protected"; + } + } + description + "Optics port"; + } + + typedef Optics-fec { + type enumeration { + enum "fec-none" { + value 0; + description + "FEC NONE"; + } + enum "fec-hg15" { + value 1; + description + "ENHANCED FEC H15"; + } + enum "fec-hg25" { + value 2; + description + "ENHANCED FEC H25"; + } + enum "fec-hg15-de" { + value 4; + description + "FEC HG15 DE"; + } + enum "fec-hg25-de" { + value 8; + description + "FEC HG25 DE"; + } + enum "fec-enabled" { + value 16; + description + "FEC ENABLED"; + } + enum "fec-not-set" { + value 32; + description + "FEC DISABLED"; + } + } + description + "Optics fec"; + } + + typedef Optics-phy { + type enumeration { + enum "not-set" { + value 0; + description + "Not set"; + } + enum "invalid" { + value 1; + description + "Invalid"; + } + enum "long-reach-four-lanes" { + value 2; + description + "Long reach 4 lanes"; + } + enum "short-reach-ten-lanes" { + value 3; + description + "Short reach 10 lanes"; + } + enum "short-reach-one-lane" { + value 4; + description + "Short reach 1 lane"; + } + enum "long-reach-one-lane" { + value 5; + description + "Long reach 1 lane"; + } + enum "short-reach-four-lanes" { + value 6; + description + "Short reach 4 lanes"; + } + enum "copper-four-lanes" { + value 7; + description + "Copper 4 lanes"; + } + enum "active-optical-cable" { + value 8; + description + "Active optical cable"; + } + enum "fourty-gig-e-long-reach-four-lanes" { + value 9; + description + "Long reach 4 lanes"; + } + enum "fourty-gig-e-short-reach-four-lanes" { + value 10; + description + "Short reach 4 lanes"; + } + enum "cwdm-four-lanes" { + value 11; + description + "CWDM 4 lanes"; + } + enum "extended-reach-four-lanes" { + value 12; + description + "Extended reach 4 lanes"; + } + enum "psm-four-lanes" { + value 13; + description + "PSM 4 lanes"; + } + enum "active-copper-cable" { + value 14; + description + "Active copper cable"; + } + enum "fourty-gig-e-extended-reach-four-lanes" { + value 15; + description + "Extended reach 4 lanes"; + } + enum "four-x-ten-gig-e-short-reach-one-lane" { + value 16; + description + "Short reach 1 lane"; + } + enum "fourty-gig-epsm-four-lanes" { + value 17; + description + "PSM 4 lanes"; + } + enum "fourty-gig-e-copper-four-lanes" { + value 18; + description + "Copper 4 lanes"; + } + enum "long-reach-mm-one-lane" { + value 19; + description + "Long reach MM 1 lane"; + } + enum "copper-short-reach" { + value 20; + description + "Copper Short reach 4 lanes"; + } + enum "short-reach-srbd" { + value 21; + description + "Short reach BD 4 lanes"; + } + enum "copper-one-lane" { + value 22; + description + "Copper One Lane"; + } + enum "four-x-ten-gig-e-long-reach-one-lane" { + value 23; + description + "Long reach 1 lane"; + } + enum "fourty-gig-eaoc-four-lanes" { + value 24; + description + "Active optical cable"; + } + enum "extended-one-lane" { + value 25; + description + "Extended One Lane"; + } + enum "zr-one-lane" { + value 26; + description + "ZR One Lane"; + } + enum "dwdm-one-lane" { + value 27; + description + "DWDM One Lane"; + } + enum "sx-one-lane" { + value 28; + description + "SX One Lane"; + } + enum "lx-one-lane" { + value 29; + description + "LX One Lane"; + } + enum "ex-one-lane" { + value 30; + description + "EX One Lane"; + } + enum "zx-one-lane" { + value 31; + description + "ZX One Lane"; + } + enum "ba-set-one-lane" { + value 32; + description + "BASE_T One Lane"; + } + enum "aoc-one-lane" { + value 33; + description + "Active Optical 1 Lane"; + } + enum "active-copper-one-lane" { + value 34; + description + "Active Copper 1 Lane"; + } + enum "fourty-gig-eacu-four-lanes" { + value 35; + description + "Active Copper 4 Lanes"; + } + enum "four-x-ten-gig-eacu-one-lanes" { + value 36; + description + "Active Copper 1 Lane"; + } + enum "four-x-ten-gig-ecu-one-lanes" { + value 37; + description + "Copper 1 Lanes"; + } + enum "four-x-ten-gig-eaoc-one-lanes" { + value 38; + description + "Active Optics 1 Lane"; + } + enum "twenty-five-gig-short-reach-one-lane" { + value 39; + description + "Short reach 1 lane"; + } + enum "twenty-five-gig-long-reach-one-lane" { + value 40; + description + "Long reach 1 lane"; + } + enum "twenty-five-gig-extended-reach-one-lane" { + value 41; + description + "Extended reach 1 lane"; + } + enum "twenty-five-gig-copper-one-lane" { + value 42; + description + "Copper One Lane"; + } + enum "twenty-five-gig-active-optical-one-lane" { + value 43; + description + "Active Optical One Lane"; + } + enum "hundred-gig-edwdm-two" { + value 44; + description + "100GE DWDM Optics"; + } + enum "fourty-gig-plr4-four-lanes" { + value 45; + description + "PLR4 Optics"; + } + enum "fourty-gig-esr4-four-lanes" { + value 46; + description + "ESR4 Optics"; + } + enum "smsr-four-lanes" { + value 47; + description + "SMSR Optics"; + } + enum "cazadero-rqsa" { + value 48; + description + "Cazadero R"; + } + enum "trunk-port-cfp2" { + value 49; + description + "CFP2 DWDM Optics"; + } + enum "short-reach1-lane" { + value 50; + description + "Short reach 1 lane"; + } + enum "inmd-reach1lane" { + value 51; + description + "Inmd reach 1 lane"; + } + enum "long-reach1-lane" { + value 52; + description + "Long reach 1 lane"; + } + enum "twenty-five-gig-ecu-one-lanes" { + value 53; + description + "Copper 1 Lanes"; + } + enum "hundred-gig-e" { + value 54; + description + "ExtentedReach4Lane"; + } + enum "ten-gig-bx" { + value 55; + description + "10G BX optics"; + } + enum "one-geige" { + value 56; + description + "1G BX optics"; + } + } + description + "Optics phy type"; + } + + typedef Optics-form-factor { + type enumeration { + enum "not-set" { + value 0; + description + "Not set"; + } + enum "invalid" { + value 1; + description + "Invalid"; + } + enum "cpak" { + value 2; + description + "CPAK"; + } + enum "cxp" { + value 3; + description + "CXP"; + } + enum "sfp-plus" { + value 4; + description + "SFP+"; + } + enum "qsfp" { + value 5; + description + "QSFP"; + } + enum "qsfp-plus" { + value 6; + description + "QSFP+"; + } + enum "qsfp28" { + value 7; + description + "QSFP28"; + } + enum "sfp" { + value 8; + description + "SFP"; + } + enum "cfp" { + value 9; + description + "CFP"; + } + enum "cfp2" { + value 10; + description + "CFP2"; + } + enum "cfp4" { + value 11; + description + "CFP4"; + } + enum "xfp" { + value 12; + description + "XFP"; + } + enum "x2" { + value 13; + description + "X2"; + } + enum "non-pluggable" { + value 14; + description + "Non pluggable"; + } + enum "other" { + value 15; + description + "Other"; + } + } + description + "Optics form factor"; + } + + typedef Optics-controller-state { + type enumeration { + enum "optics-state-up" { + value 0; + description + "Up"; + } + enum "optics-state-down" { + value 1; + description + "Down"; + } + enum "optics-state-admin-down" { + value 2; + description + "Administratively Down"; + } + } + description + "Optics controller state"; + } + + typedef Optics-led-state { + type enumeration { + enum "off" { + value 0; + description + "Off"; + } + enum "green-on" { + value 1; + description + "Green"; + } + enum "green-flashing" { + value 2; + description + "Green Flashing"; + } + enum "yellow-on" { + value 3; + description + "Yellow"; + } + enum "yellow-flashing" { + value 4; + description + "Yellow Flashing"; + } + enum "red-on" { + value 5; + description + "Red"; + } + enum "red-flashing" { + value 6; + description + "Red Flashing"; + } + } + description + "Optics led state"; + } + + typedef Optics-laser-state { + type enumeration { + enum "on" { + value 0; + description + "On"; + } + enum "off" { + value 1; + description + "Off"; + } + enum "unknown" { + value 2; + description + "Unknown"; + } + enum "apr" { + value 3; + description + "Apr"; + } + } + description + "Optics laser state"; + } + + typedef Optics { + type enumeration { + enum "optics-unknown" { + value 0; + description + "Unknow Optics Type"; + } + enum "optics-grey" { + value 1; + description + "Grey Optics"; + } + enum "optics-dwdm" { + value 2; + description + "DWDM Optics"; + } + enum "optics-cwdm" { + value 3; + description + "CWDM Optics"; + } + } + description + "Optics"; + } + + typedef Optics-tas { + type enumeration { + enum "tas-ui-oos" { + value 0; + description + "Out Of Service"; + } + enum "tas-ui-main" { + value 1; + description + "Maintenance"; + } + enum "tas-ui-is" { + value 2; + description + "In Service"; + } + enum "tas-ui-ains" { + value 3; + description + "Automatic In Service"; + } + } + description + "Optics tas"; + } + + typedef Optics-wave-band { + type enumeration { + enum "c-band" { + value 0; + description + "C BAND"; + } + enum "l-band" { + value 1; + description + "L BAND"; + } + enum "c-band-odd" { + value 2; + description + "C ODD"; + } + enum "c-band-even" { + value 3; + description + "C EVEN"; + } + enum "invalid-band" { + value 4; + description + "Invalid"; + } + } + description + "Optics wave band"; + } + + grouping OPTICS-DB-INFO { + description + " Optics DB Info"; + container network-srlg-info { + description + "Network SRLG information"; + uses OPTICS-EDM-NETWORK-SRLG-INFO; + } + leaf transport-admin-state { + type Optics-tas; + description + "Transport Admin State"; + } + leaf controller-state { + type Optics-controller-state; + description + "Optics controller state: Up, Down or + Administratively Down"; + } + } + + grouping EXT-PARAM-EDM-ALARM-INFO { + description + "Extended DOM Alarm Information"; + container lo-snr { + description + "Low SNR Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container hi-snr1 { + description + "High SNR Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container lo-snr1 { + description + "Low SNR Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-snr2 { + description + "High SNR Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container lo-isi1 { + description + "Low ISI Correction Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container hi-isi1 { + description + "High ISI Correction Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container lo-isi2 { + description + "Low ISI Correction Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-isi2 { + description + "High ISI Correction Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container lo-pam1 { + description + "Low PAM Rate Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pam1 { + description + "High PAM Rate Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container lo-pam2 { + description + "Low PAM Rate Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pam2 { + description + "High PAM Rate Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container lo-tec1 { + description + "Low TEC Current Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container hi-tec1 { + description + "High TEC Current Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container lo-tec2 { + description + "Low TEC Current Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-tec2 { + description + "High TEC Current Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container lo-laser-freq1 { + description + "Low Laser Differential Frequency Alarm for Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container hi-laser-freq1 { + description + "High Laser Differential Frequency Alarm for + Lane1"; + uses OPTICS-ALARM-DETAIL; + } + container lo-laser-freq2 { + description + "Low Laser Differential Frequency Alarm for Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-laser-freq2 { + description + "High Laser Differential Frequency Alarm for + Lane2"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pre-fecber-cur-acc { + description + "High Pre FEC BER Current Accumulated Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pre-fecber-min { + description + "High Pre FEC BER Min Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pre-fecber-max { + description + "High Pre FEC BER Max Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pre-fecber-prior-acc { + description + "High Pre FEC BER Prior Accumulated Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-pre-fecber-cur { + description + "High Pre FEC BER Current Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-uncorrected-ber-cur-acc { + description + "High Uncorrected BER Current Accumulated Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-uncorrected-ber-min { + description + "High Uncorrected BER Min Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-uncorrected-ber-max { + description + "High Uncorrected BER Max Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-uncorrected-ber-prior-acc { + description + "High Uncorrected BER Prior Accumulated Alarm"; + uses OPTICS-ALARM-DETAIL; + } + container hi-uncorrected-ber-cur { + description + "High Uncorrected BER Current Alarm"; + uses OPTICS-ALARM-DETAIL; + } + } + + grouping OPTICS-EXT-THRESHOLD-PARAM { + description + "extended monitored parameter threshold + information"; + leaf snr-alarm-high-threshold { + type int32; + description + "High threshold alarm for SNR"; + } + leaf snr-alarm-low-threshold { + type int32; + description + "Low threshold alarm for SNR"; + } + leaf snr-warn-high-threshold { + type int32; + description + "High threshold warning for SNR"; + } + leaf snr-warn-low-threshold { + type int32; + description + "Low threshold warning for SNR"; + } + leaf isi-correction-alarm-high-threshold { + type int32; + description + "High threshold alarm for ISI Correction"; + } + leaf isi-correction-alarm-low-threshold { + type int32; + description + "Low threshold alarm for ISI Correction"; + } + leaf isi-correction-warn-high-threshold { + type int32; + description + "High threshold warning for ISI Correction"; + } + leaf isi-correction-warn-low-threshold { + type int32; + description + "Low threshold warning for ISI Correction"; + } + leaf pam-rate-alarm-high-threshold { + type int32; + description + "High threshold alarm for PAM Rate"; + } + leaf pam-rate-alarm-low-threshold { + type int32; + description + "Low threshold alarm for PAM Rate"; + } + leaf pam-rate-warn-high-threshold { + type int32; + description + "High threshold warning for PAM Rate"; + } + leaf pam-rate-warn-low-threshold { + type int32; + description + "Low threshold warning for PAM Rate"; + } + leaf pre-fec-ber-alarm-high-threshold { + type int64; + description + "High threshold alarm for Pre FEC BER"; + } + leaf pre-fec-ber-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Pre FEC BER"; + } + leaf pre-fec-ber-warn-high-threshold { + type int64; + description + "High threshold warning for Pre FEC BER"; + } + leaf pre-fec-ber-warn-low-threshold { + type int64; + description + "Low threshold warning for Pre FEC BER"; + } + leaf uncorrected-ber-alarm-high-threshold { + type int64; + description + "High threshold alarm for Uncorrected BER"; + } + leaf uncorrected-ber-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Uncorrected BER"; + } + leaf uncorrected-ber-warn-high-threshold { + type int64; + description + "High threshold warning for Uncorrected BER"; + } + leaf uncorrected-ber-warn-low-threshold { + type int64; + description + "Low threshold warning for Uncorrected BER"; + } + leaf tec-current-alarm-high-threshold { + type int32; + description + "High threshold alarm for TEC Current"; + } + leaf tec-current-alarm-low-threshold { + type int32; + description + "Low threshold alarm for TEC Current"; + } + leaf tec-current-warn-high-threshold { + type int32; + description + "High threshold warning for TEC Current"; + } + leaf tec-current-warn-low-threshold { + type int32; + description + "Low threshold warning for TEC Current"; + } + leaf laser-diff-frequency-alarm-high-threshold { + type int32; + description + "High Threshold Alarm for Differential Laser + Frequency"; + } + leaf laser-diff-frequency-alarm-low-threshold { + type int32; + description + "Low Threshold Alarm for Differential Laser + Frequency"; + } + leaf laser-diff-frequency-warn-high-threshold { + type int32; + description + "High Threshold Warning for Differential Laser + Frequency"; + } + leaf laser-diff-frequency-warn-low-threshold { + type int32; + description + "Low Threshold Warning for Differential Laser + Frequency"; + } + leaf laser-diff-temperature-alarm-high-threshold { + type int32; + description + "High Threshold Alarm for Differential Laser + Temperature"; + } + leaf laser-diff-temperature-alarm-low-threshold { + type int32; + description + "Low Threshold Alarm for Differential Laser + Temperature"; + } + leaf laser-diff-temperature-warn-high-threshold { + type int32; + description + "High Threshold Warning for Differential Laser + Temperature"; + } + leaf laser-diff-temperature-warn-low-threshold { + type int32; + description + "Low Threshold Warning for Differential Laser + Temperature"; + } + leaf pre-fec-ber-latched-min-alarm-high-threshold { + type int64; + description + "High threshold alarm for Latched Min Pre FEC BER"; + } + leaf pre-fec-ber-latched-min-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Latched Min Pre FEC BER"; + } + leaf pre-fec-ber-latched-min-warn-high-threshold { + type int64; + description + "High threshold warning for Latched Min Pre FEC + BER"; + } + leaf pre-fec-ber-latched-min-warn-low-threshold { + type int64; + description + "Low threshold warning for Latched Min Pre FEC + BER"; + } + leaf pre-fec-ber-latched-max-alarm-high-threshold { + type int64; + description + "High threshold alarm for Latched Max Pre FEC BER"; + } + leaf pre-fec-ber-latched-max-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Latched Max Pre FEC BER"; + } + leaf pre-fec-ber-latched-max-warn-high-threshold { + type int64; + description + "High threshold warning for Latched Max Pre FEC + BER"; + } + leaf pre-fec-ber-latched-max-warn-low-threshold { + type int64; + description + "Low threshold warning for Latched Max Pre FEC + BER"; + } + leaf pre-fec-ber-accumulated-alarm-high-threshold { + type int64; + description + "High threshold alarm for Accumulated Pre FEC BER"; + } + leaf pre-fec-ber-accumulated-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Accumulated Pre FEC BER"; + } + leaf pre-fec-ber-accumulated-warn-high-threshold { + type int64; + description + "High threshold warning for Accumulated Pre FEC + BER"; + } + leaf pre-fec-ber-accumulated-warn-low-threshold { + type int64; + description + "Low threshold warning for Accumulated Pre FEC + BER"; + } + leaf pre-fec-ber-instantaneous-alarm-high-threshold { + type int64; + description + "High threshold alarm for Instantaneous Pre FEC + BER"; + } + leaf pre-fec-ber-instantaneous-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Instantaneous Pre FEC + BER"; + } + leaf pre-fec-ber-instantaneous-warn-high-threshold { + type int64; + description + "High threshold warning for Instantaneous Pre FEC + BER"; + } + leaf pre-fec-ber-instantaneous-warn-low-threshold { + type int64; + description + "Low threshold warning for Instantaneous Pre FEC + BER"; + } + leaf uncorrected-ber-latched-min-alarm-high-threshold { + type int64; + description + "High threshold alarm for Latched Min + Uncorrected BER"; + } + leaf uncorrected-ber-latched-min-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Latched Min Uncorrected + BER"; + } + leaf uncorrected-ber-latched-min-warn-high-threshold { + type int64; + description + "High threshold warning for Latched Min + Uncorrected BER"; + } + leaf uncorrected-ber-latched-min-warn-low-threshold { + type int64; + description + "Low threshold alarm for Latched Min Uncorrected + BER"; + } + leaf uncorrected-ber-latched-max-alarm-high-threshold { + type int64; + description + "High threshold alarm for Latched_Max Uncorrected + BER"; + } + leaf uncorrected-ber-latched-max-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Latched_Max Uncorrected + BER"; + } + leaf uncorrected-ber-latched-max-warn-high-threshold { + type int64; + description + "High threshold warning Latched_Max for + Uncorrected BER"; + } + leaf uncorrected-ber-latched-max-warn-low-threshold { + type int64; + description + "Low threshold warning Latched_Max for + Uncorrected BER"; + } + leaf uncorrected-ber-accumulated-alarm-high-threshold { + type int64; + description + "High threshold alarm for Accumulated Uncorrected + BER"; + } + leaf uncorrected-ber-accumulated-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Accumulated Uncorrected + BER"; + } + leaf uncorrected-ber-accumulated-warn-high-threshold { + type int64; + description + "High threshold warning for Accumulated + Uncorrected BER"; + } + leaf uncorrected-ber-accumulated-warn-low-threshold { + type int64; + description + "Low threshold warning for Accumulated + Uncorrected BER"; + } + leaf uncorrected-ber-instantaneous-alarm-high-threshold { + type int64; + description + "High threshold alarm for Instantaneous + Uncorrected BER"; + } + leaf uncorrected-ber-instantaneous-alarm-low-threshold { + type int64; + description + "Low threshold alarm for Instantaneous + Uncorrected BER"; + } + leaf uncorrected-ber-instantaneous-warn-high-threshold { + type int64; + description + "High threshold warning for Instantaneous + Uncorrected BER"; + } + leaf uncorrected-ber-instantaneous-warn-low-threshold { + type int64; + description + "Low threshold warning for Instantaneous + Uncorrected BER"; + } + } + + grouping OPTICS-EXT-PARAM { + description + "extended monitored parameter information"; + leaf snr-lane1 { + type int32; + description + "Signal to Noise Ratio on Lane 1"; + } + leaf snr-lane2 { + type int32; + description + "Signal to Noise Ratio on Lane 2"; + } + leaf isi-correction-lane1 { + type int32; + description + "Inter symbol Interference correction on Lane 1"; + } + leaf isi-correction-lane2 { + type int32; + description + "Inter symbol Interference correction on Lane 2"; + } + leaf pam-rate-lane1 { + type int32; + description + "PAM Histogram parameter on Lane 1"; + } + leaf pam-rate-lane2 { + type int32; + description + "PAM Histogram parameter on Lane 2"; + } + leaf pre-fec-ber { + type int64; + description + "Pre FEC BER since last counter reset"; + } + leaf uncorrected-ber { + type int64; + description + "Uncorrected BER since last counter reset"; + } + leaf tec-current-lane1 { + type int32; + description + "Current flowing to the TEC of a cooled laser on + Lane 1"; + } + leaf tec-current-lane2 { + type int32; + description + "Current flowing to the TEC of a cooled laser on + Lane 2"; + } + leaf laser-diff-frequency-lane1 { + type int32; + description + "Difference between target and actual center + frequency on Lane 1"; + } + leaf laser-diff-frequency-lane2 { + type int32; + description + "Difference between target and actual center + frequency on Lane 2"; + } + leaf laser-diff-temperature-lane1 { + type int32; + description + "Difference between target and actual temperature + on Lane 1"; + } + leaf laser-diff-temperature-lane2 { + type int32; + description + "Difference between target and actual temperature + on Lane 2"; + } + leaf pre-fec-ber-latched-min { + type int64; + description + "Latched minimum Pre FEC BER value since last + read, line ingress"; + } + leaf pre-fec-ber-latched-max { + type int64; + description + "Latched maximum Pre FEC BER value since last + read, line ingress"; + } + leaf pre-fec-ber-accumulated { + type int64; + description + "Pre FEC BER value prior accumulation period, + line ingress"; + } + leaf pre-fec-ber-instantaneous { + type int64; + description + "Pre FEC BER value instantaneous line ingress"; + } + leaf uncorrected-ber-latched-min { + type int64; + description + "Latched minimum Uncorrected BER value since last + read, line ingress"; + } + leaf uncorrected-ber-latched-max { + type int64; + description + "Latched maximum Uncorrected BER value since last + read, line ingress"; + } + leaf uncorrected-ber-accumulated { + type int64; + description + "Uncorrected BER value prior accumulation period, + line ingress"; + } + leaf uncorrected-ber-instantaneous { + type int64; + description + "Uncorrected BER value instantaneous line line + ingress"; + } + } + + grouping OPTICS-TRANSCEIVER-DATA { + description + "Optics Transceiver Details"; + leaf vendor-info { + type string; + description + "Vendor Information"; + } + leaf adapter-vendor-info { + type string; + description + "Adapter Vendor Information"; + } + leaf date { + type string; + description + "Date in Transceiver"; + } + leaf optics-vendor-rev { + type string; + description + "Transceiver vendors revision number"; + } + leaf optics-serial-no { + type string; + description + "Transceiver serial number"; + } + leaf optics-vendor-part { + type string; + description + "Transceiver vendors part number"; + } + leaf optics-type { + type string; + description + "Transceiver optics type"; + } + leaf vendor-name { + type string; + description + "Transceiver optics vendor name"; + } + leaf oui-no { + type string; + description + "Transceiver optics type"; + } + leaf optics-pid { + type string; + description + "Transceiver optics pid"; + } + leaf optics-vid { + type string; + description + "Transceiver optics vid"; + } + leaf connector-type { + type Fiber-connector; + description + "Connector type"; + } + leaf otn-application-code { + type Otn-application-code; + description + "Otn Application Code"; + } + leaf sonet-application-code { + type Sonet-application-code; + description + "Sonet Application Code"; + } + leaf ethernet-compliance-code { + type Ethernet-pmd; + description + "Ethernet Compliance Code"; + } + leaf internal-temperature { + type int32; + description + "Internal Temperature in C"; + } + } + + grouping OTS-EDM-ALARM-INFO { + description + "Ots Alarm Information"; + container low-tx-power { + description + "Low Tx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx-power { + description + "Low Rx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container rx-los-p { + description + "Rx LOS_P"; + uses OPTICS-ALARM-DETAIL; + } + container rx-loc { + description + "Rx LOC"; + uses OPTICS-ALARM-DETAIL; + } + container amp-gain-deg-low { + description + "Ampli Gain Deg Low"; + uses OPTICS-ALARM-DETAIL; + } + container amp-gain-deg-high { + description + "Ampli Gain Deg High"; + uses OPTICS-ALARM-DETAIL; + } + container auto-laser-shut { + description + "Auto Laser Shut"; + uses OPTICS-ALARM-DETAIL; + } + container auto-power-red { + description + "Auto Power Red"; + uses OPTICS-ALARM-DETAIL; + } + container auto-ampli-ctrl-disabled { + description + "Auto Ampli Ctrl Disabled"; + uses OPTICS-ALARM-DETAIL; + } + container auto-ampli-ctrl-config-mismatch { + description + "Auto Ampli Ctrl Config Mismatch"; + uses OPTICS-ALARM-DETAIL; + } + container switch-to-protect { + description + "Switch To Protect"; + uses OPTICS-ALARM-DETAIL; + } + container auto-ampli-ctrl-running { + description + "Auto Ampli Ctrl Running"; + uses OPTICS-ALARM-DETAIL; + } + } + + grouping OPTICS-ALARM-DETAIL { + description + " Optics Alarm Detail"; + leaf is-detected { + type boolean; + description + "Is defect detected?"; + } + leaf counter { + type uint32; + description + "Alarm counter"; + } + } + + grouping OPTICS-EDM-ALARM-INFO { + description + "Optics Alarm Information"; + container high-rx-power { + description + "High Rx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx-power { + description + "Low Rx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx-power { + description + "High Tx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx-power { + description + "Low Tx Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-lbc { + description + "High laser bias current in units of percentage"; + uses OPTICS-ALARM-DETAIL; + } + container low-temperature { + description + "Low Temperature alarm"; + uses OPTICS-ALARM-DETAIL; + } + container high-temperature { + description + "High Temperature alarm"; + uses OPTICS-ALARM-DETAIL; + } + container low-voltage { + description + "Low Voltage alarm"; + uses OPTICS-ALARM-DETAIL; + } + container high-voltage { + description + "High Voltage alarm"; + uses OPTICS-ALARM-DETAIL; + } + container high-rx1-power { + description + "High Rx1 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-rx2-power { + description + "High Rx2 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-rx3-power { + description + "High Rx3 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-rx4-power { + description + "High Rx4 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx1-power { + description + "Low Rx1 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx2-power { + description + "Low Rx2 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx3-power { + description + "Low Rx3 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-rx4-power { + description + "Low Rx4 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx1-power { + description + "High Tx1 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx2-power { + description + "High Tx2 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx3-power { + description + "High Tx3 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx4-power { + description + "High Tx4 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx1-power { + description + "Low Tx1 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx2-power { + description + "Low Tx2 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx3-power { + description + "Low Tx3 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx4-power { + description + "Low Tx4 Power in uints of 0.1 dBm"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx1lbc { + description + "High Tx1 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx2lbc { + description + "High Tx2 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx3lbc { + description + "High Tx3 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container high-tx4lbc { + description + "High Tx4 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx1lbc { + description + "Low Tx1 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx2lbc { + description + "Low Tx2 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx3lbc { + description + "Low Tx3 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container low-tx4lbc { + description + "Low Tx4 laser bias current in units of + percentage"; + uses OPTICS-ALARM-DETAIL; + } + container rx-los { + description + "RX LOS"; + uses OPTICS-ALARM-DETAIL; + } + container tx-los { + description + "TX LOS"; + uses OPTICS-ALARM-DETAIL; + } + container rx-lol { + description + "RX LOL"; + uses OPTICS-ALARM-DETAIL; + } + container tx-lol { + description + "TX LOL"; + uses OPTICS-ALARM-DETAIL; + } + container tx-fault { + description + "TX Fault"; + uses OPTICS-ALARM-DETAIL; + } + container hidgd { + description + "HI DGD"; + uses OPTICS-ALARM-DETAIL; + } + container oorcd { + description + "OOR CD"; + uses OPTICS-ALARM-DETAIL; + } + container osnr { + description + "OSNR"; + uses OPTICS-ALARM-DETAIL; + } + container wvlool { + description + "WVL OOL"; + uses OPTICS-ALARM-DETAIL; + } + container mea { + description + "MEA"; + uses OPTICS-ALARM-DETAIL; + } + container imp-removal { + description + "IMPROPER REM"; + uses OPTICS-ALARM-DETAIL; + } + container rx-loc { + description + "Rx LOC"; + uses OPTICS-ALARM-DETAIL; + } + container amp-gain-deg-low { + description + "Ampli Gain Deg Low"; + uses OPTICS-ALARM-DETAIL; + } + container amp-gain-deg-high { + description + "Ampli Gain Deg High"; + uses OPTICS-ALARM-DETAIL; + } + container txpwr-mismatch { + description + "TX POWER PROV MISMATCH"; + uses OPTICS-ALARM-DETAIL; + } + } + + grouping LANE-ALARM-DETAIL { + description + " Lane Alarm Detail"; + leaf is-detected { + type boolean; + description + "Is defect detected?"; + } + leaf counter { + type uint32; + description + "Alarm counter"; + } + } + + grouping LANE-EDM-ALARM-INFO { + description + " Lane Information Detail"; + container high-rx-power { + description + "High Rx Power"; + uses LANE-ALARM-DETAIL; + } + container low-rx-power { + description + "Low Rx Power"; + uses LANE-ALARM-DETAIL; + } + container high-tx-power { + description + "High Tx Power"; + uses LANE-ALARM-DETAIL; + } + container low-tx-power { + description + "Low Tx Power"; + uses LANE-ALARM-DETAIL; + } + container high-lbc { + description + "High laser bias current"; + uses LANE-ALARM-DETAIL; + } + } + + grouping OPTICS-EDM-LANE-DATA { + description + "Grey lane data"; + container lane-alarm-info { + description + "Lane Alarm Information"; + uses LANE-EDM-ALARM-INFO; + } + leaf lane-index { + type uint32; + description + "The index number of the lane"; + } + leaf laser-bias-current-percent { + type uint32; + units "percentage"; + description + "Laser Bias Current in units of 0.01 percentage"; + } + leaf laser-bias-current-milli-amps { + type uint32; + description + "Laser Bias Current in units of 0.01mA"; + } + leaf transmit-power { + type int32; + description + "Transmit power in the unit of 0.01dBm"; + } + leaf receive-power { + type int32; + description + "Transponder receive power in the unit of 0.01dBm"; + } + leaf receive-signal-power { + type int32; + description + "Transponder receive signal power in the unit of + 0.01dBm"; + } + leaf transmit-signal-power { + type int32; + description + "Transmit Signal power in the unit of 0.01dBm"; + } + leaf output-frequency { + type int32; + description + "Output frequency read from hw in the unit 100MHz"; + } + leaf frequency-offset { + type int32; + description + "Frequency Offset read from hw in unit of MHz"; + } + } + + grouping OPTICS-EDM-NETWORK-SRLG-STRUCTURE { + description + "Network SRLG Information"; + leaf set-number { + type uint32; + description + "Array to maintain set number"; + } + leaf-list network-srlg { + type uint32; + description + "Network Srlg"; + } + } + + grouping OPTICS-EDM-NETWORK-SRLG-INFO { + description + "Network SRLG Information Array"; + list network-srlg-array { + description + "Network Srlg Array"; + uses OPTICS-EDM-NETWORK-SRLG-STRUCTURE; + } + } + + grouping OPTICS-EDM-INFO { + description + "optics transponder information"; + container network-srlg-info { + description + "Network SRLG information"; + uses OPTICS-EDM-NETWORK-SRLG-INFO; + } + container optics-alarm-info { + description + "Optics Alarm Information"; + uses OPTICS-EDM-ALARM-INFO; + } + container ots-alarm-info { + description + "Ots Alarm Information"; + uses OTS-EDM-ALARM-INFO; + } + container transceiver-info { + description + "Transceiver Vendor Details"; + uses OPTICS-TRANSCEIVER-DATA; + } + container ext-param-val { + description + "Extended optics parameters"; + uses OPTICS-EXT-PARAM; + } + container ext-param-threshold-val { + description + "Extended optics parameters threshold values"; + uses OPTICS-EXT-THRESHOLD-PARAM; + } + container extended-alarm-alarm-info { + description + "Extended DOM alarm Information"; + uses EXT-PARAM-EDM-ALARM-INFO; + } + leaf transport-admin-state { + type Optics-tas; + description + "Transport Admin State"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf optics-present { + type boolean; + description + "Is Optics Present?"; + } + leaf optics-type { + type Optics; + description + "Old Optics type name, Use Derived Optics type"; + } + leaf derived-optics-type { + type string; + description + "Derived Optics type name"; + } + leaf optics-module { + type string; + description + "Optics module name"; + } + leaf dwdm-carrier-band { + type Optics-wave-band; + description + "DWDM Carrier Band information"; + } + leaf dwdm-carrier-channel { + type string; + description + "Current ITU DWDM Carrier channel number"; + } + leaf dwdm-carrier-frequency { + type string; + description + "DWDM Carrier frequency read from hw in the unit + 1THz"; + } + leaf dwdm-carrier-wavelength { + type string; + description + "Wavelength of color optics 0.001nm"; + } + leaf grey-wavelength { + type uint32; + description + "Wavelength of grey optics 0.01nm"; + } + leaf rx-low-threshold { + type int32; + description + "Rx Low threshold value in units of 0.1dBm"; + } + leaf rx-high-threshold { + type int32; + description + "Rx High threshold value in units of 0.1dBm"; + } + leaf lbc-high-threshold { + type int32; + units "percentage"; + description + "LBC High threshold value in units of percentage"; + } + leaf tx-low-threshold { + type int32; + description + "Tx Low threshold value in units of 0.1dBm"; + } + leaf tx-high-threshold { + type int32; + description + "Tx High threshold value in units of 0.1dBm"; + } + leaf lbc-th-high-default { + type int32; + description + "LBC high threshold default value in unit of 0 + .001mA"; + } + leaf lbc-th-low-default { + type int32; + description + "LBC low threshold default value in units of 0 + .001mA"; + } + leaf temp-low-threshold { + type int32; + description + "Temp Low threshold value in the units 0.01 C"; + } + leaf temp-high-threshold { + type int32; + description + "Temp High threshold value in the units of 0.01 C"; + } + leaf volt-low-threshold { + type int32; + description + "Volt Low threshold value"; + } + leaf volt-high-threshold { + type int32; + description + "Volt High threshold value"; + } + leaf cd { + type int32; + description + "Chromatic Dispersion ps/nm"; + } + leaf cd-min { + type int32; + description + "Chromatic Dispersion Min ps/nm"; + } + leaf cd-max { + type int32; + description + "Chromatic Dispersion Max ps/nm"; + } + leaf cd-low-threshold { + type int32; + description + "Chromatic Dispersion low threshold ps/nm"; + } + leaf cd-high-threshold { + type int32; + description + "Chromatic Dispersion high threshold ps/nm"; + } + leaf osnr-low-threshold { + type string; + description + "OSNR low threshold in 0.01 dB"; + } + leaf dgd-high-threshold { + type string; + description + "DGD high threshold in 0.1 ps"; + } + leaf polarization-mode-dispersion { + type string; + description + "Polarization Mode Dispersion 0.1ps"; + } + leaf second-order-polarization-mode-dispersion { + type string; + description + "Second Order Polarization Mode Dispersion 0 + .1ps^2"; + } + leaf optical-signal-to-noise-ratio { + type string; + description + "Optical Signal to Noise Ratio dB"; + } + leaf polarization-dependent-loss { + type string; + description + "Polarization Dependent Loss dB"; + } + leaf polarization-change-rate { + type string; + description + "Polarization Change Rate rad/s"; + } + leaf differential-group-delay { + type string; + description + "Differential Group Delay ps"; + } + leaf phase-noise { + type string; + description + "Phase Noise dB"; + } + leaf pm-enable { + type uint32; + description + "PmEable or Disable"; + } + leaf laser-state { + type Optics-laser-state; + description + "Showing laser state.Either ON or OFF or unknown"; + } + leaf led-state { + type Optics-led-state; + description + "Showing Current Colour of led state"; + } + leaf controller-state { + type Optics-controller-state; + description + "Optics controller state: Up, Down or + Administratively Down"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf form-factor { + type Optics-form-factor; + description + "Optics form factor"; + } + leaf phy-type { + type Optics-phy; + description + "Optics physical type"; + } + leaf cfg-tx-power { + type int32; + description + "Configured Tx power value in 0.1 dB"; + } + leaf cfg-tx-power-configurable { + type boolean; + description + "TX Power Configuration is supported or not"; + } + leaf temperature { + type int32; + description + "Temperature value"; + } + leaf voltage { + type int32; + description + "Voltage value"; + } + leaf display-volt-temp { + type boolean; + description + "Display Volt/Temp ?"; + } + leaf cd-configurable { + type boolean; + description + "CD Configurable is supported or not"; + } + leaf optics-fec { + type Optics-fec; + description + "Optics FEC"; + } + leaf skip-snmp-pm-table { + type int32; + description + "PM enabled or not"; + } + leaf port-type { + type Optics-port; + description + "Showing port type"; + } + leaf port-status { + type Optics-port-status; + description + "Showing port status"; + } + leaf rx-voa-attenuation { + type int32; + description + "Rx Voa Attenuation in the unit of 0.01dBm"; + } + leaf tx-voa-attenuation { + type int32; + description + "Tx Voa Attenuation in the unit of 0.01dBm"; + } + leaf ampli-gain { + type int32; + description + "Ampli Gain in the unit of 0.01dBm"; + } + leaf ampli-tilt { + type int32; + description + "Ampli Tilt in the unit of 0.01dBm"; + } + leaf rx-power-th-configurable { + type boolean; + description + "rx power th configurable"; + } + leaf tx-power-th-configurable { + type boolean; + description + "tx power th configurable"; + } + leaf rx-voa-attenuation-config-val { + type int32; + description + "rx voa attenuation config val"; + } + leaf tx-voa-attenuation-config-val { + type int32; + description + "tx voa attenuation config val"; + } + leaf ampli-control-mode-config-val { + type Optics-amplifier-control-mode; + description + "ampli control mode config val"; + } + leaf ampli-gain-range-config-val { + type Optics-amplifier-gain-range; + description + "ampli gain range config val"; + } + leaf ampli-gain-config-val { + type int32; + description + "ampli gain config val"; + } + leaf ampli-tilt-config-val { + type int32; + description + "ampli tilt config val"; + } + leaf ampli-channel-power-config-val { + type int32; + description + "ampli channel power config val"; + } + leaf channel-power-max-delta-config-val { + type int32; + description + "channel power max delta config val"; + } + leaf ampli-gain-thr-deg-low-config-val { + type int32; + description + "ampli gain thr deg low config val"; + } + leaf ampli-gain-thr-deg-high-config-val { + type int32; + description + "ampli gain thr deg high config val"; + } + leaf osri-config-val { + type boolean; + description + "osri config val"; + } + leaf tx-config-val { + type boolean; + description + "tx config val"; + } + leaf rx-config-val { + type boolean; + description + "rx config val"; + } + leaf safety-control-mode-config-val { + type Optics-amplifier-safety-control-mode; + description + "safety control mode config val"; + } + leaf total-rx-power { + type int32; + description + "Total Receive Power for Multi-Lane Optics in dBm"; + } + leaf total-tx-power { + type int32; + description + "Total Transmit Power for Multi-Lane Optics in + dBm"; + } + leaf is-bo-configured { + type boolean; + description + "Is BO configured ?"; + } + leaf is-ext-param-valid { + type boolean; + description + "Are the Extended Parameters Valid ?"; + } + leaf alarm-detected { + type boolean; + description + "Are there any alarms ?"; + } + leaf rx-low-warning-threshold { + type int32; + description + "Rx Low Warning threshold value in units of 0 + .1dBm"; + } + leaf rx-high-warning-threshold { + type int32; + description + "Rx High Warning threshold value in units of 0 + .1dBm"; + } + leaf tx-low-warning-threshold { + type int32; + description + "Tx Low Warning threshold value in units of 0 + .1dBm"; + } + leaf tx-high-warning-threshold { + type int32; + description + "Tx High Warning threshold value in units of 0 + .1dBm"; + } + leaf lbc-th-high-warning-default { + type int32; + description + "LBC high Warning threshold default value in unit + of 0.001mA"; + } + leaf lbc-th-low-warning-default { + type int32; + description + "LBC low warning threshold default value in units + of 0.001mA"; + } + leaf temp-low-warning-threshold { + type int32; + description + "Temp Low warning threshold value in the units 0 + .01 C"; + } + leaf temp-high-warning-threshold { + type int32; + description + "Temp High warning threshold value in the units + of 0.01 C"; + } + leaf volt-low-warning-threshold { + type int32; + description + "Volt Low warning threshold value"; + } + leaf volt-high-warning-threshold { + type int32; + description + "Volt High warning threshold value"; + } + leaf ampli-gain-range { + type Optics-amplifier-gain-range; + description + "Ampli gain range"; + } + leaf safety-control-mode { + type Optics-amplifier-safety-control-mode; + description + "Safety control mode"; + } + leaf osri { + type boolean; + description + "OSRI"; + } + leaf description { + type string; + description + "Controller description string"; + } + leaf is-optics-type-string-valid { + type boolean; + description + "Is the Optics type string valid ?"; + } + leaf optics-type-str { + type string; + description + "optics type String"; + } + leaf tx-enable { + type boolean; + description + "TX Enable"; + } + leaf rx-enable { + type boolean; + description + "RX Enable"; + } + leaf rx-low-threshold-current { + type int32; + description + "Rx Low threshold actual value in units of 0.1dBm"; + } + list lane-data { + description + "Lane information"; + uses OPTICS-EDM-LANE-DATA; + } + } + + grouping OTS-EDM-SPECTRUM-POWER-INFO { + description + "OTS EDM SPECTRUM POWER INFO"; + leaf slice-num { + type uint32; + description + "spectrum slice number"; + } + leaf lower-frequency { + type uint64; + description + "Lower frequency of the specified PSD"; + } + leaf upper-frequency { + type uint64; + description + "Upper frequency of the specified PSD"; + } + leaf rx-power { + type int32; + description + "Received Power in dBm multiplied by 100"; + } + leaf tx-power { + type int32; + description + "Transmit Power in dBm multiplied by 100"; + } + leaf rx-psd { + type string { + length "0..16"; + } + description + "Received Power spectral density in microwatts + per megahertz, uW/MHz"; + } + leaf tx-psd { + type string { + length "0..16"; + } + description + "Transmit Power spectral density in microwatts + per megahertz, uW/MHz"; + } + } + + grouping OTS-EDM-SPECTRUM-INFO { + description + "power information of slices in optical spectrum"; + leaf total-spectrum-slice-count { + type uint32; + description + "Total number of slices in Spectrum"; + } + leaf spectrum-slice-spacing { + type uint32; + description + "Spacing between spectrum slices"; + } + leaf first-slice-wavelength { + type string { + length "0..32"; + } + description + "Wavelength of first slice"; + } + list spectrum-slice-power-info { + description + "Power information of spectrum slice info"; + uses OTS-EDM-SPECTRUM-POWER-INFO; + } + } + + grouping OPTICS-EDM-SPECTRUM-INFO { + description + "optics spectrum information"; + container spectrum-info { + description + "OTS Spectrum information"; + uses OTS-EDM-SPECTRUM-INFO; + } + } + + grouping OPTICS-EDM-CHANNEL-WAVELENGTH-MAP-INFO { + description + "OPTICS EDM CHANNEL WAVELENGTH MAP INFO"; + leaf itu-chan-num { + type uint32; + description + "ITU channel number"; + } + leaf g694-chan-num { + type int32; + description + "G694 channel number"; + } + leaf frequency { + type string { + length "0..32"; + } + description + "Frequency"; + } + leaf wavelength { + type string { + length "0..32"; + } + description + "Wavelength"; + } + } + + grouping OPTICS-EDM-WAVE-INFO { + description + "wavelength channel mapping information"; + leaf dwdm-carrier-band { + type Optics-wave-band; + description + "DWDM carrier band"; + } + leaf dwdm-carrier-min { + type uint32; + description + "Lowest DWDM carrier supported"; + } + leaf dwdm-carrier-max { + type uint32; + description + "Highest DWDM carrier supported"; + } + list dwdm-carrier-map-info { + description + "DWDM carrier mapping info"; + uses OPTICS-EDM-CHANNEL-WAVELENGTH-MAP-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper.yang new file mode 100644 index 0000000..dbfb7e7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-optics-oper.yang @@ -0,0 +1,103 @@ +module Cisco-IOS-XR-controller-optics-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-oper"; + prefix controller-optics-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-controller-optics-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR controller-optics package operational data. + + This module contains definitions + for the following management objects: + optics-oper: Optics operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container optics-oper { + config false; + description + "Optics operational data"; + container optics-ports { + description + "All Optics Port operational data"; + list optics-port { + key "name"; + description + "Optics operational data"; + container optics-dwdm-carrier-channel-map { + description + "Optics operational data"; + uses OPTICS-EDM-WAVE-INFO; + } + container ots-spectrum-info { + description + "Ots Spectrum Operational data"; + uses OPTICS-EDM-SPECTRUM-INFO; + } + container optics-dwdm-carrier-channel-map-flexi { + description + "Optics operational data"; + uses OPTICS-EDM-WAVE-INFO; + } + container optics-info { + description + "Optics operational data"; + uses OPTICS-EDM-INFO; + } + container optics-lanes { + description + "All Optics Port operational data"; + list optics-lane { + key "number"; + description + "Lane Information"; + leaf number { + type int32; + description + "Lane Index"; + } + uses OPTICS-EDM-LANE-DATA; + } + } + container optics-db-info { + description + "Optics operational data"; + uses OPTICS-DB-INFO; + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-cfg.yang new file mode 100644 index 0000000..bbe904e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-cfg.yang @@ -0,0 +1,761 @@ +module Cisco-IOS-XR-controller-otu-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-cfg"; + prefix controller-otu-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR controller-otu package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-13 { + description + "PRBS Config added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Otu-forward-error-correction { + type enumeration { + enum "none" { + value 1; + description + "No Fec"; + } + enum "standard" { + value 2; + description + "Standard Fec"; + } + enum "enhanced-i7" { + value 4; + description + "EnhancedI7 Fec"; + } + enum "enhanced-i4" { + value 8; + description + "Enhanced I4 Fec"; + } + enum "enhanced-swizzle" { + value 16; + description + "EnhancedSwizzle Fec"; + } + enum "enhanced-hg20" { + value 32; + description + "EnhancedHG20 Fec"; + } + enum "enhanced-hg7" { + value 64; + description + "EnhancedHG7 Fec"; + } + } + description + "Otu forward error correction"; + } + + typedef Otn-per-mon { + type enumeration { + enum "disable" { + value 0; + description + "Performance Monitoring Disabled"; + } + enum "enable" { + value 1; + description + "Performance Monitoring Enabled"; + } + } + description + "Otn per mon"; + } + + typedef Otn-send-tti-type-os { + type enumeration { + enum "send-tti-os-ascii/os-ascii" { + value 10; + description + "Send TTI OS ASCII string"; + } + enum "send-tti-os-hex/os-hex" { + value 12; + description + "Send TTI OS HEX string"; + } + } + description + "Otn send tti type os"; + } + + typedef Otn-exp-tti-type-sapi { + type enumeration { + enum "exp-tti-sapi-ascii/sapi-ascii" { + value 15; + description + "Expected TTI SAPI ASCII string"; + } + } + description + "Otn exp tti type sapi"; + } + + typedef Otn-send-tti-type-sapi { + type enumeration { + enum "send-tti-sapi-ascii/sapi-ascii" { + value 14; + description + "Send TTI SAPI ASCII string"; + } + } + description + "Otn send tti type sapi"; + } + + typedef Otu-mode { + type enumeration { + enum "mode-invalid" { + value 0; + description + "prbs Mode Invalid"; + } + enum "mode-source" { + value 1; + description + "Prbs Mode Source"; + } + enum "mode-sink" { + value 2; + description + "Prbs Mode Sink"; + } + enum "mode-source-sink" { + value 3; + description + "Prbs Mode Source_Sink"; + } + } + description + "Otu mode"; + } + + typedef Otn-sec-admin-state { + type enumeration { + enum "normal" { + value 0; + description + "In normal state"; + } + enum "maintenance" { + value 1; + description + "Under maintenance"; + } + } + description + "Otn sec admin state"; + } + + typedef Otn-exp-tti-type-os { + type enumeration { + enum "exp-tti-os-ascii/os-ascii" { + value 11; + description + "Expected TTI OS ASCII string"; + } + enum "exp-tti-os-hex/os-hex" { + value 13; + description + "Expected TTI OS HEX string"; + } + } + description + "Otn exp tti type os"; + } + + typedef Otn-loopback { + type enumeration { + enum "line" { + value 2; + description + "Line loopback"; + } + enum "internal" { + value 4; + description + "Internal loopback"; + } + } + description + "Otn loopback"; + } + + typedef Otu-pattern { + type enumeration { + enum "pattern-none" { + value 0; + description + "prbs pattern None"; + } + enum "pattern-pn31" { + value 1; + description + "Prbs pattern pn31"; + } + enum "pattern-pn23" { + value 2; + description + "Prbs pattern pn23"; + } + enum "pattern-pn11" { + value 4; + description + "Prbs pattern pn11"; + } + enum "pattern-inverted-pn31" { + value 8; + description + "Prbs pattern inverted pn31"; + } + enum "pattern-inverted-pn11" { + value 16; + description + "Prbs pattern inverted pn11"; + } + enum "pattern-pn15" { + value 32; + description + "Prbs pattern pn15"; + } + } + description + "Otu pattern"; + } + + typedef Otn-exp-tti-type-full { + type enumeration { + enum "exp-tti-full-ascii/full-ascii" { + value 5; + description + "Expected TTI Full ASCII string"; + } + enum "exp-tti-hex/hex" { + value 7; + description + "Expected TTI hex string"; + } + } + description + "Otn exp tti type full"; + } + + typedef Otn-send-tti-type-full { + type enumeration { + enum "send-tti-full-ascii/full-ascii" { + value 4; + description + "Send TTI Full ASCII string"; + } + enum "send-tti-hex/hex" { + value 6; + description + "Send TTI hex string"; + } + } + description + "Otn send tti type full"; + } + + typedef Otn-exp-tti-type-dapi { + type enumeration { + enum "exp-tti-dapi-ascii/dapi-ascii" { + value 9; + description + "Expected TTI DAPI ASCII string"; + } + } + description + "Otn exp tti type dapi"; + } + + typedef Otn-send-tti-type-dapi { + type enumeration { + enum "send-tti-dapi-ascii/dapi-ascii" { + value 8; + description + "Send TTI DAPI ASCII string"; + } + } + description + "Otn send tti type dapi"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container otu { + description + "OTU port controller configuration"; + container otn-send-ttitcmos { + description + "Configure OTN Send TTI value for OS config"; + leaf string-type { + type Otn-send-tti-type-os; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf osascii-string { + when "../string-type = 'send-tti-os-ascii/os-ascii'" { + description + "../StringType = SEND_TTI_OS_ASCII/OS_ASCII"; + } + type string { + length "1..32"; + } + description + "OS ASCII text (Max 32 characters)"; + } + leaf oshex-string { + when "../string-type = 'send-tti-os-hex/os-hex'" { + description + "../StringType = SEND_TTI_OS_HEX/OS_HEX"; + } + type string { + length "1..64"; + } + description + "OS HEX text (Max 64 characters)"; + } + } + container otn-send-ttitcmdapi { + description + "Configure OTN Send TTI value for DAPI configs"; + leaf string-type { + type Otn-send-tti-type-dapi; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf dapi-ascii-string { + when "../string-type = 'send-tti-dapi-ascii/dapi-ascii'" { + description + "../StringType = + SEND_TTI_DAPI_ASCII/DAPI_ASCII"; + } + type string { + length "1..14"; + } + description + "DAPI ASCII text (Max 14 characters)"; + } + } + container otn-expected-ttisapi { + description + "Configure OTN Expected TTI value for SAPI + configs"; + leaf string-type { + type Otn-exp-tti-type-sapi; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf sapi-ascii-string { + when "../string-type = 'exp-tti-sapi-ascii/sapi-ascii'" { + description + "../StringType = EXP_TTI_SAPI_ASCII/SAPI_ASCII"; + } + type string { + length "1..14"; + } + description + "SAPI ASCII text (Max 14 characters)"; + } + } + container proactive-protection { + description + "Configure Proactive Protection"; + container trigger-threshold { + description + "Proactive Protection Threshold"; + leaf coefficient { + type uint32 { + range "1..9"; + } + description + "Bit error rate coefficient"; + } + leaf power { + type uint32 { + range "3..9"; + } + description + "Bit error rate power"; + } + leaf enable { + type empty; + description + "Proactive Protection supported"; + } + } + container revert-window { + description + "Proactive Protection Window"; + leaf value { + type uint32 { + range "2000..10000"; + } + description + "Integration window for FRR trigger in MS"; + } + leaf enable { + type empty; + description + "Enable Proactive Protection"; + } + } + container trigger-window { + description + "Proactive Protection Window"; + leaf value { + type uint32 { + range "10..10000"; + } + description + "Integration window for FRR trigger in MS"; + } + leaf enable { + type empty; + description + "Enable Proactive Protection"; + } + } + container revert-threshold { + description + "Proactive Protection Threshold"; + leaf coefficient { + type uint32 { + range "1..9"; + } + description + "Bit error rate coefficient"; + } + leaf power { + type uint32 { + range "4..10"; + } + description + "Bit error rate power"; + } + leaf enable { + type empty; + description + "Proactive Protection supported"; + } + } + leaf status { + type empty; + description + "Enable Proactive Protection"; + } + } + container network-srlgs { + description + "Configure Network srlgs"; + list network-srlg { + key "set-id"; + description + "Configure network srlg sets"; + leaf set-id { + type uint32 { + range "1..17"; + } + description + "Set index"; + } + leaf srlg1 { + type uint32 { + range "0..4294967294"; + } + description + "First value for Network SRLG"; + } + leaf srlg2 { + type uint32 { + range "0..4294967294"; + } + description + "Second value for Network SRLG"; + } + leaf srlg3 { + type uint32 { + range "0..4294967294"; + } + description + "Third value for Network SRLG"; + } + leaf srlg4 { + type uint32 { + range "0..4294967294"; + } + description + "Forth value for Network SRLG"; + } + leaf srlg5 { + type uint32 { + range "0..4294967294"; + } + description + "Fifth value for Network SRLG"; + } + leaf srlg6 { + type uint32 { + range "0..4294967294"; + } + description + "Sixth value for Network SRLG"; + } + } + } + container otn-send-tti { + description + "Configure OTN Send TTI value for Full ASCII/HEX"; + leaf string-type { + type Otn-send-tti-type-full; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf full-ascii-string { + when "../string-type = 'send-tti-full-ascii/full-ascii'" { + description + "../StringType = + SEND_TTI_FULL_ASCII/FULL_ASCII"; + } + type string { + length "1..64"; + } + description + "Full ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'send-tti-hex/hex'" { + description + "../StringType = SEND_TTI_HEX/Hex"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128 - The string length + should be an even number)"; + } + } + container otn-expected-ttitcmdapi { + description + "Configure OTN Expected TTI value for DAPI + configs"; + leaf string-type { + type Otn-exp-tti-type-dapi; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf dapi-ascii-string { + when "../string-type = 'exp-tti-dapi-ascii/dapi-ascii'" { + description + "../StringType = EXP_TTI_DAPI_ASCII/DAPI_ASCII"; + } + type string { + length "1..14"; + } + description + "DAPI ASCII text (Max 14 characters)"; + } + } + container otn-send-ttisapi { + description + "Configure OTN Send TTI value for SAPI configs"; + leaf string-type { + type Otn-send-tti-type-sapi; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf sapi-ascii-string { + when "../string-type = 'send-tti-sapi-ascii/sapi-ascii'" { + description + "../StringType = + SEND_TTI_SAPI_ASCII/SAPI_ASCII"; + } + type string { + length "1..14"; + } + description + "SAPI ASCII text (Max 14 characters)"; + } + } + container prbs { + description + "Enable Prbs And configure"; + leaf mode-value { + type Otu-mode; + description + "Mode value"; + } + leaf patternvalue { + type Otu-pattern; + description + "Pattern value"; + } + } + container otn-expected-ttitcmos { + description + "Configure OTN Expected TTI value for OS config"; + leaf string-type { + type Otn-exp-tti-type-os; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf osascii-string { + when "../string-type = 'exp-tti-os-ascii/os-ascii'" { + description + "../StringType = EXP_TTI_OS_ASCII/OS_ASCII"; + } + type string { + length "1..32"; + } + description + "OS ASCII text (Max 32 characters)"; + } + leaf oshex-string { + when "../string-type = 'exp-tti-os-hex/os-hex'" { + description + "../StringType = EXP_TTI_OS_HEX/OS_HEX"; + } + type string { + length "1..64"; + } + description + "OS HEX text (Max 64 characters)"; + } + } + container otn-expected-tti { + description + "Configure OTN Expected TTI value for Full + ASCII/HEX"; + leaf string-type { + type Otn-exp-tti-type-full; + description + "TTI string type (FULL ASCII or DAPI ASCII or + SAPI ASCII or hex format or OS ASCII or OS + HEX)"; + } + leaf full-ascii-string { + when "../string-type = 'exp-tti-full-ascii/full-ascii'" { + description + "../StringType = EXP_TTI_FULL_ASCII/FULL_ASCII"; + } + type string { + length "1..64"; + } + description + "Full ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'exp-tti-hex/hex'" { + description + "../StringType = EXP_TTI_HEX/Hex"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128 - The string length + should be an even number)"; + } + } + leaf gcc { + type empty; + description + "General Communication Channel configuration"; + } + leaf sf { + type uint32 { + range "5..9"; + } + description + "Signal failure threshold"; + } + leaf secondary-admin-state { + type Otn-sec-admin-state; + default "normal"; + description + "Configure secondary admin state "; + } + leaf sd { + type uint32 { + range "5..9"; + } + description + "Signal degrade threshold"; + } + leaf performance-monitoring { + type Otn-per-mon; + default "enable"; + description + "Configure performance monitoring"; + } + leaf loopback { + type Otn-loopback; + description + "Type of Loopback"; + } + leaf fec { + type Otu-forward-error-correction; + default "none"; + description + "Configure forward error correction"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper-sub1.yang new file mode 100644 index 0000000..0936268 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper-sub1.yang @@ -0,0 +1,1030 @@ +submodule Cisco-IOS-XR-controller-otu-oper-sub1 { + belongs-to Cisco-IOS-XR-controller-otu-oper { + prefix Cisco-IOS-XR-controller-otu-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR controller-otu package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-13 { + description + "PRBS Info added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Gmpls-otu-tti-mode { + type enumeration { + enum "gmpls-otu-tti-mode-none" { + description + "Not Set"; + } + enum "gmpls-otu-tti-mode-sm" { + description + "Section Monitoring"; + } + enum "gmpls-otu-tti-mode-pm" { + description + "Path Monitoring"; + } + enum "gmpls-otu-tti-mode-tcm" { + description + "Tandem Connection Monitoring"; + } + } + description + "Gmpls otu tti mode"; + } + + typedef Otu-pp-intf-state { + type enumeration { + enum "otu-pp-intf-up" { + value 0; + description + "Interface is Up"; + } + enum "otu-pp-intf-failing" { + value 1; + description + "Interface is Going Down"; + } + enum "otu-pp-intf-down" { + value 2; + description + "Interface Down"; + } + } + description + "Otu pp intf state"; + } + + typedef Otu-pp-fsm-state { + type enumeration { + enum "otu-in-active" { + value 0; + description + "In Active"; + } + enum "otu-disabled" { + value 1; + description + "Disabled"; + } + enum "otu-normal-state" { + value 2; + description + "Normal"; + } + enum "otu-local-failing" { + value 3; + description + "Local Failing"; + } + enum "otu-remote-failing" { + value 4; + description + "Remote Failing"; + } + enum "otu-main-t-failing" { + value 5; + description + "Maintance Failing"; + } + enum "otu-regen-failing" { + value 6; + description + "Regenerator Failing"; + } + enum "otu-local-failed" { + value 7; + description + "Local Failed"; + } + enum "otu-remote-failed" { + value 8; + description + "Remote Failed"; + } + enum "otu-main-t-failed" { + value 9; + description + "Maintance Failed"; + } + enum "otu-regen-failed" { + value 10; + description + "Regenerator Failed"; + } + } + description + "Otu pp fsm state"; + } + + typedef Otu-per-mon { + type enumeration { + enum "disable" { + value 0; + description + "Disable"; + } + enum "enable" { + value 1; + description + "Enable"; + } + } + description + "Otu per mon"; + } + + typedef Otu-sec-state { + type enumeration { + enum "normal" { + value 0; + description + "Normal"; + } + enum "maintenance" { + value 1; + description + "Maintenance"; + } + enum "ais" { + value 2; + description + "Automatic In Service"; + } + } + description + "Otu sec state"; + } + + typedef Otu-der-state { + type enumeration { + enum "out-of-service" { + value 0; + description + "Out Of Service"; + } + enum "in-service" { + value 1; + description + "In Service"; + } + enum "maintenance" { + value 2; + description + "Maintenance"; + } + enum "ais" { + value 3; + description + "Automatic In Service"; + } + } + description + "Otu der state"; + } + + typedef Otu-g709fec-mode { + type enumeration { + enum "otu-bag-none-fec" { + value 1; + description + "NONE"; + } + enum "otu-bag-standard-fec" { + value 2; + description + "STANDARD"; + } + enum "otu-bag-1-i-7-fec" { + value 4; + description + "ENHANCEDI.7"; + } + enum "otu-bag-1-i-4-fec" { + value 8; + description + "ENHANCEDI.4"; + } + enum "otu-bag-swizzle-fec" { + value 16; + description + "SWIZZLE"; + } + enum "otu-bag-hg20-fec" { + value 32; + description + "HIGH GAIN20"; + } + enum "otu-bag-enhanced-hg7-fec" { + value 64; + description + "Enhanced High Gain 7"; + } + enum "otu-bag-sd20-fec" { + value 128; + description + "Soft-Decision 20"; + } + enum "otu-bag-sd7-fec" { + value 256; + description + "Soft-Decision 7"; + } + enum "otu-bag-all-fec" { + value 512; + description + "ALL"; + } + } + description + "Otu g709fec mode"; + } + + typedef Otu-loop-back-mode { + type enumeration { + enum "none" { + value 1; + description + "None"; + } + enum "line" { + value 2; + description + "Line"; + } + enum "internal" { + value 4; + description + "Internal"; + } + } + description + "Otu loop back mode"; + } + + typedef Otu-tti-et { + type enumeration { + enum "ascii" { + value 0; + description + "ASCII"; + } + enum "hex" { + value 1; + description + "HEX"; + } + enum "full-ascii" { + value 2; + description + "FULL ASCII"; + } + enum "full-hex" { + value 3; + description + "FULL HEX"; + } + } + description + "Otu tti et"; + } + + typedef Otu-state-et { + type enumeration { + enum "not-ready" { + value 0; + description + "Not Ready"; + } + enum "admin-down" { + value 1; + description + "Admin Down"; + } + enum "down" { + value 2; + description + "Down"; + } + enum "up" { + value 3; + description + "Up"; + } + enum "shutdown" { + value 4; + description + "Shutdown"; + } + enum "error-disable" { + value 5; + description + "Error Disable"; + } + enum "down-immediate" { + value 6; + description + "Down Immediate"; + } + enum "down-immediate-admin" { + value 7; + description + "Down Immediate Admin"; + } + enum "down-graceful" { + value 8; + description + "Down Graceful"; + } + enum "begin-shutdown" { + value 9; + description + "Begin Shutdown"; + } + enum "end-shutdown" { + value 10; + description + "End Shutdown"; + } + enum "begin-error-disable" { + value 11; + description + "Begin Error Disable"; + } + enum "end-error-disable" { + value 12; + description + "End Error Disable"; + } + enum "begin-down-graceful" { + value 13; + description + "Begin Down Graceful"; + } + enum "reset" { + value 14; + description + "Reset"; + } + enum "operational" { + value 15; + description + "Operational"; + } + enum "not-operational" { + value 16; + description + "Not Operational"; + } + enum "unknown" { + value 17; + description + "Unknown"; + } + enum "last" { + value 18; + description + "Last"; + } + } + description + "Otu state et"; + } + + typedef Otu-prbs-status { + type enumeration { + enum "locked" { + value 0; + description + "Locked"; + } + enum "unlocked" { + value 1; + description + "Unlocked"; + } + enum "not-applicable" { + value 2; + description + "Not Applicable"; + } + } + description + "Otu prbs status"; + } + + typedef Otu-prbs-pattern { + type enumeration { + enum "not-applicable" { + value 0; + description + "OTU PRBS pattern not applicable"; + } + enum "pn31" { + value 1; + description + "PN31"; + } + enum "pn23" { + value 2; + description + "PN23"; + } + enum "pn11" { + value 4; + description + "PN11"; + } + enum "inverted-pn31" { + value 8; + description + "INVERTED PN31"; + } + enum "inverted-pn11" { + value 16; + description + "INVERTED PN11"; + } + enum "pn15" { + value 32; + description + "PN15"; + } + } + description + "Otu prbs pattern"; + } + + typedef Otu-prbs-mode { + type enumeration { + enum "not-applicable" { + value 0; + description + "OTU PRBS mode not applicable"; + } + enum "source" { + value 1; + description + "Source"; + } + enum "sink" { + value 2; + description + "Sink"; + } + enum "source-sink" { + value 3; + description + "Source Sink"; + } + } + description + "Otu prbs mode"; + } + + typedef Otu-prbs-test { + type enumeration { + enum "disable" { + value 0; + description + "Disable"; + } + enum "enable" { + value 1; + description + "Enable"; + } + } + description + "Otu prbs test"; + } + + grouping FEC-OPER-DATA { + description + "FEC Satistics"; + leaf post-fec-ber { + type string; + description + "Bit Error Rate After Forward Error Correction"; + } + leaf pre-fec-ber { + type string; + description + "Bit Error Rate Before Forward Error Correction"; + } + } + + grouping OTU-PROACTIVE-INFO { + description + "Proactive Protection"; + leaf proactive-status { + type boolean; + description + "Proactive Status"; + } + leaf inherit-sec-state { + type Otu-sec-state; + description + "Secondary Admin State"; + } + leaf config-sec-state { + type Otu-sec-state; + description + "Sec State"; + } + leaf proactive-fsm-state { + type Otu-pp-fsm-state; + description + "Proactive FSM State"; + } + leaf proactive-fsm-if-state { + type Otu-pp-intf-state; + description + "Proactive FSM IF State"; + } + leaf trig-thresh-coeff { + type uint8; + description + "Trigger threshold coefficient"; + } + leaf trig-thresh-power { + type uint8; + description + "Trigger threshold power"; + } + leaf rvrt-thresh-coeff { + type uint8; + description + "Revert threshold coefficient"; + } + leaf rvrt-thresh-power { + type uint8; + description + "Revert threshold power"; + } + leaf trigger-window { + type uint32; + description + "Trigger Integration window"; + } + leaf revert-window { + type uint32; + description + "Revert Integration Window"; + } + } + + grouping OTU-EDM-ALARM { + description + " OTU Alarm"; + leaf reporting-enabled { + type boolean; + description + "Is reporting enabled?"; + } + leaf is-detected { + type boolean; + description + "Is defect detected?"; + } + leaf is-asserted { + type boolean; + description + "Is defect delared?"; + } + leaf counter { + type uint64; + description + "Alarm counter"; + } + } + + grouping OTU-ALARM-INFO { + description + "otu information"; + container los { + description + "Loss of Signal"; + uses OTU-EDM-ALARM; + } + container lof { + description + "Loss of Frame"; + uses OTU-EDM-ALARM; + } + container lom { + description + "Loss of MultiFrame"; + uses OTU-EDM-ALARM; + } + container oof { + description + "Out of Frame"; + uses OTU-EDM-ALARM; + } + container oom { + description + "Out of MultiFrame"; + uses OTU-EDM-ALARM; + } + container ais { + description + "Alarm Indication Signal"; + uses OTU-EDM-ALARM; + } + container iae { + description + "Incoming Alignment Error"; + uses OTU-EDM-ALARM; + } + container biae { + description + "Backward Incoming Alignment Error"; + uses OTU-EDM-ALARM; + } + container bdi { + description + "Backward Defect Indication"; + uses OTU-EDM-ALARM; + } + container tim { + description + "Trace Identifier Mismatch"; + uses OTU-EDM-ALARM; + } + container eoc { + description + "GCC End of Channel"; + uses OTU-EDM-ALARM; + } + container fec-mismatch { + description + "FEC mismatch alarm"; + uses OTU-EDM-ALARM; + } + container sf-ber { + description + "SF BER alarm"; + uses OTU-EDM-ALARM; + } + container sd-ber { + description + "SD BER alarm"; + uses OTU-EDM-ALARM; + } + container ec { + description + "EC alarm"; + uses OTU-EDM-ALARM; + } + container uc { + description + "UC alarm"; + uses OTU-EDM-ALARM; + } + container fecunc { + description + "FEC UnCorrected Word"; + uses OTU-EDM-ALARM; + } + } + + grouping NETWORK-SRLG-SET { + description + "Network Shared Risk Link Group information + expressed in integer format"; + leaf set-id { + type uint32; + description + "Array to maintain set id number"; + } + leaf-list srlg { + type uint32; + description + "Shared Risk Link Group information expressed in + integer format"; + } + } + + grouping NETWORK-SRLG-INFO { + description + "Array of Network Shared Risk Link Group + Information"; + list srlg-info { + description + "Array of Network Shared Risk Link Group + information"; + uses NETWORK-SRLG-SET; + } + } + + grouping OTU-TTI-ST { + description + "TTI SAPI DAPI"; + leaf full-tti-ascii-string { + type string; + description + "full tti ascii String "; + } + leaf-list sapi { + type uint8; + description + "tx String "; + } + leaf-list dapi { + type uint8; + description + "exp String "; + } + leaf-list operator-specific { + type uint8; + description + "rec String "; + } + } + + grouping OTU-G709-TTI { + description + "OTU TTI"; + container tx { + description + "String Sent"; + uses OTU-TTI-ST; + } + container exp { + description + "String Expected"; + uses OTU-TTI-ST; + } + container rec { + description + "String Received"; + uses OTU-TTI-ST; + } + leaf g709tti-sent-mode { + type Otu-tti-et; + description + "G709TTI sent"; + } + leaf g709tti-exp-mode { + type Otu-tti-et; + description + "G709TTI Expected"; + } + leaf g709tti-rec-mode { + type Otu-tti-et; + description + "G709TTI Recieved"; + } + leaf remote-interface { + type string; + description + "Remote Interface Name"; + } + leaf remote-host-name { + type string; + description + "Remote host name"; + } + leaf remote-ip-addr { + type string; + description + "Remote host ip"; + } + } + + grouping OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX { + description + "otn otu remote info via tti t rtrid ifindex"; + leaf router-id { + type uint32; + description + "Router ID"; + } + leaf if-index { + type uint32; + description + "IfIndex"; + } + } + + grouping OTU-PER-PORT-INFO { + description + "OTU"; + container local { + description + "TTI"; + uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; + } + container remote { + description + "Remote"; + uses OTN-OTU-REMOTE-INFO-VIA-TTI-T-RTRID-IFINDEX; + } + container tti-mode { + description + "OTU TTI"; + uses OTU-G709-TTI; + } + container network-srlg { + description + "Network Shared Risk Link Group information"; + uses NETWORK-SRLG-INFO; + } + container otu-alarm-info { + description + "OTU layer alarm Information"; + uses OTU-ALARM-INFO; + } + container proactive { + description + "Proactive Protection"; + uses OTU-PROACTIVE-INFO; + } + container otu-fec-satistics { + description + "OTU FEC Statistics"; + uses FEC-OPER-DATA; + } + leaf state { + type Otu-state-et; + description + "Admin State"; + } + leaf name { + type string; + description + "Interface Name"; + } + leaf sf { + type uint8; + description + "SF in the form of 1.0E - "; + } + leaf sd { + type uint8; + description + "SD in the form of 1.0E - "; + } + leaf loopback-mode { + type Otu-loop-back-mode; + description + "Loopback"; + } + leaf fec-mode { + type Otu-g709fec-mode; + description + "FEC"; + } + leaf derivedstate-mode { + type Otu-der-state; + description + "Derived State"; + } + leaf inherit-sec-state { + type Otu-sec-state; + description + "Sec State"; + } + leaf config-sec-state { + type Otu-sec-state; + description + "Sec State"; + } + leaf gcc-mode { + type boolean; + description + "OTU GCC"; + } + leaf q { + type uint64; + description + "q value calculated"; + } + leaf q-margin { + type uint64; + description + "q margin calculated"; + } + leaf performance-monitoring { + type Otu-per-mon; + description + "Performance Monitoring"; + } + leaf ec { + type uint64; + description + "Average bit errors corrected"; + } + leaf uc { + type uint64; + description + "Uncorrected word count"; + } + leaf pre-fec-val { + type int32; + description + "Pre FEC BER Value in form 0.00"; + } + leaf pre-fec-mantissa { + type int8; + description + "Pre FEC BER Mantissa in form E-"; + } + leaf ec-value { + type boolean; + description + "EC value present"; + } + leaf uc-value { + type boolean; + description + "Uc value present"; + } + leaf pre-fec-ber-value { + type boolean; + description + "Pre fec val present "; + } + leaf pre-fec-ber-mantissa { + type boolean; + description + "Pre fec val mantissa"; + } + leaf nv-optical-support { + type boolean; + description + "NV Optical support"; + } + leaf gmpls-tti-mode { + type Gmpls-otu-tti-mode; + description + "GMPLS TTI MODE"; + } + leaf gmpls-tvm-id { + type uint8; + description + "GMPLS TCM ID"; + } + leaf auto-tti-flag { + type boolean; + description + "Auto tti flag"; + } + leaf description { + type string; + description + "Controller description string"; + } + } + + grouping OTU-PRBS-INFO { + description + "PRBS"; + leaf otu-prbs-test { + type Otu-prbs-test; + description + "otu prbs test"; + } + leaf otu-prbs-mode { + type Otu-prbs-mode; + description + "otu prbs mode"; + } + leaf otu-prbs-pattern { + type Otu-prbs-pattern; + description + "otu prbs pattern"; + } + leaf otu-prbs-status { + type Otu-prbs-status; + description + "otu prbs status"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper.yang new file mode 100644 index 0000000..c818ec9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-controller-otu-oper.yang @@ -0,0 +1,77 @@ +module Cisco-IOS-XR-controller-otu-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-controller-otu-oper"; + prefix controller-otu-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-controller-otu-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR controller-otu package operational data. + + This module contains definitions + for the following management objects: + otu: OTU operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-13 { + description + "PRBS Info added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container otu { + config false; + description + "OTU operational data"; + container controllers { + description + "All OTU Port operational data"; + list controller { + key "controller-name"; + description + "OTU Port operational data"; + container prbs { + description + "OTU port PRBS operational data"; + uses OTU-PRBS-INFO; + } + container info { + description + "OTU port operational data"; + uses OTU-PER-PORT-INFO; + } + leaf controller-name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-act.yang new file mode 100644 index 0000000..f63f706 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-act.yang @@ -0,0 +1,201 @@ +module Cisco-IOS-XR-crypto-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-act"; + prefix crypto-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-17 { + description + "IOS XR 6.1.1 revision."; + } + + grouping KEY-MODULUS { + leaf key-label { + type string; + description + "RSA keypair label"; + } + leaf key-modulus { + type int32 { + range "512..4096"; + } + mandatory true; + description + "Key modulus in the range of 512 to 4096 for your General Purpose Keypair. Choosing a key modulus greater than 512 may take a few minutes"; + } + } + + rpc key-generate-rsa-general-keys { + description + "Generate a general purpose RSA key pair for signing and encryption"; + input { + uses KEY-MODULUS; + } + } + rpc key-generate-rsa-usage-keys { + description + "Generate seperate RSA key pairs for signing and encryption"; + input { + uses KEY-MODULUS; + } + } + rpc key-generate-rsa { + description + "Generate seperate RSA key pairs for signing and encryption"; + input { + uses KEY-MODULUS; + } + } + rpc key-generate-dsa { + description + "Generate DSA keys"; + input { + leaf key-modulus { + type int32 { + range "512|768|1024|2048"; + } + mandatory true; + description + "Key modulus size can be 512, 768, 1024 or 2048 bits."; + } + } + } + rpc key-zeroize-rsa { + description + "Remove RSA keys"; + input { + leaf key-label { + type string; + description + "RSA key label"; + } + } + } + rpc key-zeroize-dsa { + description + "Remove DSA keys"; + } + rpc key-zeroize-authentication-rsa { + description + "Remove RSA authentication key"; + } + rpc key-import-authentication-rsa { + description + "Remove RSA authentication key"; + input { + leaf path { + type string; + mandatory true; + description + "Path to RSA pubkey file"; + } + } + } + rpc ca-authenticate { + description + "Get the certification authority certificate"; + input { + leaf server-name { + type string; + mandatory true; + description + "CA Server Name"; + } + } + } + rpc ca-enroll { + description + "Request a certificate from a CA"; + input { + leaf server-name { + type string; + mandatory true; + description + "CA Server Name"; + } + } + } + rpc ca-import-certificate { + description + "Import a certificate from a s/tftp server or the terminal"; + input { + leaf server-name { + type string; + mandatory true; + description + "CA Server Name"; + } + } + } + rpc ca-cancel-enroll { + description + "Cancel enrollment from a CA"; + input { + leaf server-name { + type string; + mandatory true; + description + "CA Server Name"; + } + } + } + rpc ca-crl-request { + description + "Actions on certificate revocation lists"; + input { + leaf uri { + type string; + mandatory true; + description + "CRL Distribution Point in URI format"; + } + } + output { + leaf certificate { + type string; + mandatory true; + description + "Certificate returned"; + } + } + } + rpc ca-trustpool-import-url { + description + "Manual import trustpool certificates from URL"; + input { + leaf url { + type string; + description + "in URL format"; + } + } + } + rpc ca-trustpool-import-url-clean { + description + "Remove downloaded certificates in trustpool"; + input { + leaf url { + type string; + description + "in URL format"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang new file mode 100644 index 0000000..93bb3c3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-cfg.yang @@ -0,0 +1,217 @@ +module Cisco-IOS-XR-crypto-macsec-mka-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-cfg"; + prefix crypto-macsec-mka-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-mka package configuration. + + This module contains definitions + for the following management objects: + macsec: MACSec MKA + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Macsec-mka-window-size { + type uint32 { + range "0..1024"; + } + description + "Macsec mka window size"; + } + + typedef Macsec-mka-security-policy { + type enumeration { + enum "should-secure" { + value 0; + description + "should secure"; + } + enum "must-secure" { + value 1; + description + "must secure"; + } + } + description + "Macsec mka security policy"; + } + + typedef Macsec-mka-key-server-priority { + type uint32 { + range "0..255"; + } + description + "Macsec mka key server priority"; + } + + typedef Macsec-mka-policy-exception { + type enumeration { + enum "lacp-in-clear" { + value 1; + description + "lacp in clear"; + } + } + description + "Macsec mka policy exception"; + } + + typedef Macsec-mka-cipher-suite { + type enumeration { + enum "gcm-aes-128" { + value 1; + description + "GCM AES 128"; + } + enum "gcm-aes-256" { + value 2; + description + "GCM AES 256"; + } + enum "gcm-aes-xpn-128" { + value 3; + description + "GCM AES XPN 128"; + } + enum "gcm-aes-xpn-256" { + value 4; + description + "GCM AES XPN 256"; + } + } + description + "Macsec mka cipher suite"; + } + + typedef Macsec-mka-conf-offset { + type enumeration { + enum "conf-off-set-0" { + value 0; + description + "CONF OFFSET 0"; + } + enum "conf-off-set-30" { + value 30; + description + "CONF OFFSET 30"; + } + enum "conf-off-set-50" { + value 50; + description + "CONF OFFSET 50"; + } + } + description + "Macsec mka conf offset"; + } + + typedef Macsec-mka-sak-rekey-interval { + type uint32 { + range "0..43200"; + } + description + "Macsec mka sak rekey interval"; + } + + typedef Macsec-mka-vlan-tags-in-clear { + type uint32 { + range "1..2"; + } + description + "Macsec mka vlan tags in clear"; + } + + container macsec { + description + "MACSec MKA"; + list policy { + key "name"; + description + "MACSec Policy"; + leaf delay-protection { + type boolean; + description + "TRUE enables data delay protection"; + } + leaf security-policy { + type Macsec-mka-security-policy; + description + "Security-Policy of Policy"; + } + leaf key-server-priority { + type Macsec-mka-key-server-priority; + description + "Key-Server-Priority of Policy"; + } + leaf conf-offset { + type Macsec-mka-conf-offset; + description + "Conf-Offset of Policy"; + } + leaf sak-rekey-interval { + type Macsec-mka-sak-rekey-interval; + units "minute"; + description + "Interval after which key-server generates new + SAK for a Secured Session"; + } + leaf policy-exception { + type Macsec-mka-policy-exception; + description + "Macsec policy exception for packets to be in + clear"; + } + leaf window-size { + type Macsec-mka-window-size; + description + "Window-Size of Policy"; + } + leaf cipher-suite { + type Macsec-mka-cipher-suite; + description + "Cipher-suite of Policy"; + } + leaf include-icv-indicator { + type boolean; + description + "TRUE enables Include ICV Indicator paramset in + MKPDU"; + } + leaf vlan-tags-in-clear { + type Macsec-mka-vlan-tags-in-clear; + description + "VLAN-Tags-In-Clear of Policy"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "Name of the Policy of maximum length 16"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang new file mode 100644 index 0000000..8aa151b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-if-cfg.yang @@ -0,0 +1,126 @@ +module Cisco-IOS-XR-crypto-macsec-mka-if-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-if-cfg"; + prefix crypto-macsec-mka-if-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-mka-if package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Eap-list { + type string { + pattern "(eap)"; + } + description + "eap: eap config"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container macsec { + description + "MACSec service for an interface"; + container macsec-service { + presence "Indicates a macsec-service node is configured."; + description + "macsec-service configuration on interface"; + leaf decrypt-port { + type xr:Interface-name; + mandatory true; + description + "macsec service decryption port"; + } + leaf key-chain { + type string { + length "1..32"; + } + mandatory true; + description + "name of keychain"; + } + leaf policy { + type string { + length "1..16"; + } + description + "name of policy"; + } + } + container eap { + description + "Enabling MACSec eap Configuration on Interface"; + leaf eap-config { + type Eap-list; + description + "Eap config"; + } + leaf policy-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "Name of Policy"; + } + } + container psk-key-chain { + presence "Indicates a psk-key-chain node is configured."; + description + "MACSec MKA Configuration on Interface"; + leaf key-chain-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + mandatory true; + description + "Name of KeyChainName"; + } + leaf policy-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "Name of Policy"; + } + leaf fallback-key-chain { + type string { + length "1..32"; + } + description + "name of fallback keychain"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang new file mode 100644 index 0000000..66a0c73 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper-sub1.yang @@ -0,0 +1,469 @@ +submodule Cisco-IOS-XR-crypto-macsec-mka-oper-sub1 { + belongs-to Cisco-IOS-XR-crypto-macsec-mka-oper { + prefix Cisco-IOS-XR-crypto-macsec-mka-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-mka package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PEER-DATA { + description + "PEER DATA"; + leaf mi { + type string; + description + "Member ID"; + } + leaf sci { + type string; + description + "Rx SCI"; + } + leaf mn { + type uint32; + description + "Message Number"; + } + leaf priority { + type uint32; + description + "KS Priority"; + } + leaf ssci { + type uint32; + description + "Peer SSCI"; + } + } + + grouping CA-DATA { + description + "CA DATA"; + container peers-status { + description + "Peers Status"; + uses PEERS-STATUS-DATA; + } + leaf is-key-server { + type boolean; + description + "Is Key Server"; + } + leaf status { + type uint32; + description + "Session Status [Secured/Not Secured]"; + } + leaf num-live-peers { + type uint32; + description + "Number of Live Peers"; + } + leaf first-ca { + type boolean; + description + "Is First CA"; + } + leaf peer-sci { + type string; + description + "Peer SCI(MAC)"; + } + leaf num-live-peers-responded { + type uint32; + description + "Number of Live Peers responded"; + } + leaf ckn { + type string; + description + "CKN"; + } + leaf my-mi { + type string; + description + "Member Identifier"; + } + leaf my-mn { + type uint32; + description + "Message Number"; + } + leaf authenticator { + type boolean; + description + "authenticator"; + } + leaf status-description { + type string; + description + "Status Description"; + } + leaf authentication-mode { + type string; + description + "CA Authentication Mode + :PRIMARY-PSK/FALLBACK-PSK/EAP"; + } + leaf key-chain { + type string; + description + "Key Chain name"; + } + list live-peer { + description + "Live Peer List"; + uses PEER-DATA; + } + list potential-peer { + description + "Potential Peer List"; + uses PEER-DATA; + } + list dormant-peer { + description + "Dormant Peer List"; + uses PEER-DATA; + } + } + + grouping PEER-STATUS-DATA-INTERNAL { + description + "PEER STATUS DATA INTERNAL"; + leaf mi { + type string { + length "0..25"; + } + description + "Member ID"; + } + leaf icv-status { + type string { + length "0..10"; + } + description + "ICV Status"; + } + leaf icv-check-timestamp { + type string { + length "0..128"; + } + description + "ICV Check Timestamp"; + } + } + + grouping PEER-STATUS-DATA { + description + "PEER STATUS DATA"; + container peer-data { + description + "Peer Status Data"; + uses PEER-STATUS-DATA-INTERNAL; + } + leaf sci { + type string { + length "0..17"; + } + description + "Rx SCI"; + } + } + + grouping PEERS-STATUS-DATA { + description + "PEERS STATUS DATA"; + leaf tx-mkpdu-timestamp { + type string { + length "0..128"; + } + description + "Tx MKPDU Timestamp"; + } + leaf peer-count { + type uint32; + description + "Peer Count"; + } + list peer { + description + "Peer List"; + uses PEER-STATUS-DATA; + } + } + + grouping FALLBACK-KEEPALIVE-DATA { + description + "FALLBACK KEEPALIVE DATA"; + container peers-status { + description + "Peers Status"; + uses PEERS-STATUS-DATA; + } + leaf ckn { + type string { + length "0..65"; + } + description + "CKN"; + } + leaf mi { + type string { + length "0..25"; + } + description + "Member Identifier"; + } + leaf mn { + type uint32; + description + "Message Number"; + } + } + + grouping VP-DATA { + description + "VP DATA"; + leaf my-sci { + type string; + description + "Local SCI(MAC)"; + } + leaf virtual-port-id { + type uint32; + description + "Virtual Port ID"; + } + leaf latest-rx { + type boolean; + description + "Latest Rx status"; + } + leaf latest-tx { + type boolean; + description + "Latest Tx status"; + } + leaf latest-an { + type uint32; + description + "Latest SAK AN"; + } + leaf latest-ki { + type string; + description + "Latest SAK KI"; + } + leaf latest-kn { + type uint32; + description + "Latest SAK KN"; + } + leaf old-rx { + type boolean; + description + "Old Rx status"; + } + leaf old-tx { + type boolean; + description + "Old Tx status"; + } + leaf old-an { + type uint32; + description + "Old SAK AN"; + } + leaf old-ki { + type string; + description + "Old SAK KI"; + } + leaf old-kn { + type uint32; + description + "Old SAK KN"; + } + leaf wait-time { + type uint32; + description + "SAK Transmit Wait Time"; + } + leaf retire-time { + type uint32; + description + "SAK Retire time"; + } + leaf cipher-suite { + type uint32; + description + "SAK Cipher Suite"; + } + leaf ssci { + type uint32; + description + "SSCI of the Local TxSC"; + } + leaf time-to-sak-rekey { + type string; + description + "Next SAK Rekey time in Sec"; + } + list fallback-keepalive { + description + "Fallback Keepalive"; + uses FALLBACK-KEEPALIVE-DATA; + } + } + + grouping MKA-VLAN-TAG { + description + "MKA VLAN TAG"; + leaf ether-type { + type uint16; + description + "EtherType"; + } + leaf priority { + type uint8; + description + "Priority"; + } + leaf cfi { + type uint8; + description + "Cannonical Format Identifier"; + } + leaf vlan-id { + type uint16; + description + "Vlan Id"; + } + } + + grouping MKA-SESSION-SUMMARY { + description + "MKA SESSION SUMMARY"; + container outer-tag { + description + "VLAN Outer TAG"; + uses MKA-VLAN-TAG; + } + container inner-tag { + description + "VLAN Inner TAG"; + uses MKA-VLAN-TAG; + } + leaf interface-name { + type string; + description + "macsec configured interface"; + } + leaf inherited-policy { + type boolean; + description + "Is Inherited Policy"; + } + leaf policy { + type string; + description + "Policy Name"; + } + leaf priority { + type uint32; + description + "Key Server Priority"; + } + leaf my-mac { + type string; + description + "My MAC"; + } + leaf delay-protection { + type boolean; + description + "Delay Protect"; + } + leaf replay-protect { + type boolean; + description + "Replay Protect"; + } + leaf window-size { + type uint32; + description + "Replay Window Size"; + } + leaf include-icv-indicator { + type boolean; + description + "IncludeICVIndicator"; + } + leaf confidentiality-offset { + type uint32; + description + "Confidentiality Offset"; + } + leaf algo-agility { + type uint32; + description + "Alogorithm Agility"; + } + leaf capability { + type uint32; + description + "MACSec Capability"; + } + leaf cipher-str { + type string; + description + "Cipher String"; + } + leaf mac-sec-desired { + type boolean; + description + "MACSec Desired"; + } + } + + grouping MKA-SESSION { + description + "MKA SESSION"; + container session-summary { + description + "Session summary"; + uses MKA-SESSION-SUMMARY; + } + container vp { + description + "Virtual Pointer Info"; + uses VP-DATA; + } + list ca { + description + "CA List for a Session"; + uses CA-DATA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper.yang new file mode 100644 index 0000000..9a05264 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-mka-oper.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-crypto-macsec-mka-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-mka-oper"; + prefix crypto-macsec-mka-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-crypto-macsec-mka-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-mka package operational data. + + This module contains definitions + for the following management objects: + macsec: Macsec operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container macsec { + config false; + description + "Macsec operational data"; + container mka { + description + "MKA Data"; + container interfaces { + description + "MKA Data"; + list interface { + key "name"; + description + "MKA Data for the Interface"; + container session { + description + "MKA Session Data"; + uses MKA-SESSION; + } + leaf name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang new file mode 100644 index 0000000..4749238 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper-sub1.yang @@ -0,0 +1,1904 @@ +submodule Cisco-IOS-XR-crypto-macsec-pl-oper-sub1 { + belongs-to Cisco-IOS-XR-crypto-macsec-pl-oper { + prefix Cisco-IOS-XR-crypto-macsec-pl-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-pl package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Macsec-card { + type enumeration { + enum "macsec-none" { + value 0; + description + "macsec none"; + } + enum "macsec-msfpga" { + value 1; + description + "macsec msfpga"; + } + enum "macsec-xlmsfpga" { + value 2; + description + "macsec xlmsfpga"; + } + enum "macsec-apm" { + value 3; + description + "macsec apm"; + } + } + description + "Macsec card"; + } + + grouping PL-ES200-FLOW-INFO { + description + "Flow Information"; + leaf flow-no { + type uint32; + description + "Flow Number"; + } + leaf is-flow-enabled { + type boolean; + description + "Is Flow Enabled"; + } + leaf ethertype { + type uint16; + description + "Parsed EtherType to match could be 0 if + Ethertype should'nt + be matched can be 0x88E5 for MACSec tag"; + } + leaf outer-vlan-id { + type uint16; + description + " VLAN ID for outer tag use this when + only one tag should be matched"; + } + leaf outer-vlan-user-pri { + type uint8; + description + "VLAN User Priority for outer tag use + this when only one tag should be matched"; + } + leaf inner-vlan-id { + type uint16; + description + "VLAN ID for inner tag used when two + VLAN Tags should be matched"; + } + leaf inner-vlan-user-pri { + type uint8; + description + " VLAN User priority for inner tag use + when matching two VLAN tags"; + } + leaf psci { + type uint64; + description + " SCI to be matched value required for + ingress only, pass NULL for egress"; + } + leaf match-priority { + type uint8; + description + "priority for match 0-15(highest) "; + } + leaf tci-v { + type uint8; + description + "value of 'v' in TCI to match (1bit) "; + } + leaf tci-e-xr { + type uint8; + description + "value of 'es' in TCI to match (1bit) "; + } + leaf tci-sc { + type uint8; + description + "value of 'sc' in TCI to match (1bit) "; + } + leaf tci-scb { + type uint8; + description + "value of 'scb' in TCI to match (1bit) "; + } + leaf tci { + type uint8; + description + "value of 'e' in TCI to match (1bit )"; + } + leaf tci-c { + type uint8; + description + "value of 'c' in TCI to match (1bit) "; + } + leaf tci-chk { + type boolean; + description + "TCI bits will be checked only when this + bit is enabled. All the values of TCI bits + are mandatory when TCI check is used"; + } + leaf pkt-type { + type string; + description + "Type of packet. See ethMscCfyEPktType_e"; + } + leaf tag-num { + type string; + description + "No. of MPLS or VLAN tags See ethMscCfyETagNum_e "; + } + leaf inner-vlan-dei { + type boolean; + description + "Dei to match for innner Vlan tag"; + } + leaf outer-vlan-dei { + type boolean; + description + "Dei to match for outer Vlan tag"; + } + leaf pbb-sid { + type uint32; + description + " Service Instance id "; + } + leaf pbb-bvid { + type uint32; + description + " Backbone Vlan id "; + } + leaf pbb-pcp { + type uint8; + description + " pcp "; + } + leaf pbb-dei { + type uint8; + description + " dei "; + } + leaf mpls1-label { + type uint32; + description + " label "; + } + leaf mpls1-exp { + type uint8; + description + " exp "; + } + leaf mpls1-bos { + type uint8; + description + " botton of stack "; + } + leaf mpls2-label { + type uint32; + description + " label "; + } + leaf mpls2-exp { + type uint8; + description + " exp "; + } + leaf mpls2-bos { + type uint8; + description + " botton of stack "; + } + leaf plain-bits { + type uint64; + units "bit"; + description + "Plain bits to compare. Max values: + untagged pkt - 40 bits after EthType + 1 VLAN tag - 24 bits after parsed EthType + 2 VLAN tags- 8 bits after parsed EthType + 1 MPLS tag - 32 bits after 1st tag + 2 MPLS tags- 8 bits following after 2nd + or atmost 5th MPLS tag + PBB - 16 bits after C-SA + PBB with VLAN tag - 16 bits of VLAN tag "; + } + leaf plain-bits-size { + type uint8; + description + "No. of bits used in plainBits"; + } + leaf force-ctrl { + type boolean; + description + "Force the pkt as control pkt irrepective + of the results of control packet detector"; + } + leaf drop { + type boolean; + description + "Drop the packet"; + } + leaf mask-da { + type uint64; + description + "DA mask"; + } + leaf mask-ethertype { + type uint32; + description + "Parsed EtherType mask"; + } + leaf mask-plain-bits { + type uint64; + description + "Plain Bits mask"; + } + leaf flow-hits { + type uint64; + description + "Pkts matching the Flow"; + } + leaf-list macda { + type uint8; + description + "MAC DA"; + } + } + + grouping PL-ES200-FLOW { + description + "Flow Details"; + container tx-flow { + description + "Tx Flow Details"; + uses PL-ES200-FLOW-INFO; + } + container rx-flow { + description + "Rx Flow Details"; + uses PL-ES200-FLOW-INFO; + } + } + + grouping PL-MSFPGA-FLOW-INFO { + description + "Flow Information"; + leaf flow-id { + type uint8; + description + "Flow Index"; + } + leaf valid { + type boolean; + description + "Flow Validity"; + } + leaf is-egress { + type boolean; + description + "rx_tx direction"; + } + leaf in-use { + type boolean; + description + "In Use"; + } + leaf action { + type uint8; + description + "Action"; + } + leaf smac-inuse { + type boolean; + description + "If MAC SA in Use"; + } + leaf dmac-inuse { + type boolean; + description + "If MAC DA in Use"; + } + leaf ethertype { + type uint16; + description + "Ether Type"; + } + leaf outer-vlan { + type uint16; + description + "Outer VLAN ID"; + } + leaf outer-vlan-up { + type uint8; + description + "Outer Vlan UserPri"; + } + leaf outer-vlan-tpid { + type uint16; + description + "Outer Vlan TPID"; + } + leaf inner-vlan { + type uint16; + description + "Inner VLAN ID"; + } + leaf inner-vlan-up { + type uint8; + description + "Inner Vlan UserPri"; + } + leaf inner-vlan-tpid { + type uint16; + description + "Inner Vlan TPID"; + } + leaf source-port { + type uint32; + description + "Source Port"; + } + leaf source-port-chk { + type boolean; + description + "Source Port ChkEn"; + } + leaf sci-inuse { + type boolean; + description + "If SCI in use"; + } + leaf sci { + type uint64; + description + "SCI"; + } + leaf match-pri { + type uint8; + description + "Match Priority"; + } + leaf is-ctrl-pkt { + type boolean; + description + "Is Control Pkt"; + } + leaf ctrl-check { + type boolean; + description + "Ctrl Pkt ChkEn"; + } + leaf match-untagged { + type boolean; + description + "MatchUntagged"; + } + leaf match-tagged { + type boolean; + description + "MatchTagged"; + } + leaf match-bad-tag { + type boolean; + description + "Match Bad Tag"; + } + leaf match-kay-tag { + type boolean; + description + "MatchKaYTag"; + } + leaf tci-v { + type uint8; + description + "TCI V"; + } + leaf tci-e-xr { + type uint8; + description + "TCI ES"; + } + leaf tci-sc { + type uint8; + description + "TCI SC"; + } + leaf tci-scb { + type uint8; + description + "TCI SCB"; + } + leaf tci { + type uint8; + description + "TCI E"; + } + leaf tci-c { + type uint8; + description + "TCI C"; + } + leaf tci-an { + type uint8; + description + "TCI AN"; + } + leaf tci-an-chk { + type boolean; + description + "TciAnChkEn"; + } + leaf tci-chk { + type boolean; + description + "TciChkEn"; + } + leaf sai { + type uint32; + description + "SAI"; + } + leaf-list macsa { + type uint8; + description + "MAC SA"; + } + leaf-list macda { + type uint8; + description + "MAC DA"; + } + } + + grouping PL-MSFPGA-FLOW { + description + "Flow Details"; + container tx-flow { + description + "Tx Flow Details"; + uses PL-MSFPGA-FLOW-INFO; + } + container rx-flow { + description + "Rx Flow Details"; + uses PL-MSFPGA-FLOW-INFO; + } + } + + grouping PL-MACSEC-FLOW-EXT { + description + "PL MACSEC FLOW EXT"; + container msfpga-flow { + when "../type = 'macsec-msfpga'" { + description + "../type = 'MACSEC_MSFPGA'"; + } + description + "MSFPGA Flow Information"; + uses PL-MSFPGA-FLOW; + } + container es200-flow { + when "../type = 'macsec-apm'" { + description + "../type = 'MACSEC_APM'"; + } + description + "ES200 Flow Information"; + uses PL-ES200-FLOW; + } + leaf type { + type Macsec-card; + description + "type"; + } + } + + grouping PL-MACSEC-FLOW { + description + "MACSec HW Flow Details"; + container ext { + description + "ext"; + uses PL-MACSEC-FLOW-EXT; + } + } + + grouping PL-ES200-RX-SA-INFO { + description + "RX SA specific information"; + container xform-params { + description + " Xform Params"; + uses PL-ES200-XFORM-PARAMS; + } + leaf is-valid { + type boolean; + description + "Is structure valid"; + } + leaf sa-id { + type uint8; + description + "SA Index"; + } + leaf sc-no { + type uint32; + description + "SC Number"; + } + leaf in-pkts-unchecked { + type uint8; + description + "frame not valid & validateFrames disabled"; + } + leaf in-pkts-delayed { + type uint8; + description + "PN of packet outside replay window & + validateFrames !strict"; + } + leaf in-pkts-late { + type uint8; + description + "PN of packet outside replay window & + validateFrames strict"; + } + leaf in-pkts-ok { + type uint8; + description + "packets with no error"; + } + leaf in-pkts-invalid { + type uint8; + description + "packet not valid & validateFrames !strict"; + } + leaf in-pkts-not-valid { + type uint8; + description + "packet not valid & validateFrames strict"; + } + leaf in-pkts-not-using-sa { + type uint8; + description + "packet assigned to SA not in use & + validateFrames strict"; + } + leaf in-pkts-unused-sa { + type uint8; + description + "packet assigned to SA not in use& validateFrames + !strict"; + } + leaf in-octets-decrypted-validated1 { + type uint8; + description + "octets1 decrypted/validated"; + } + leaf in-octets-validated { + type uint8; + description + "octets validated"; + } + } + + grouping PL-ES200-XFORM-PARAMS { + description + "SA Xform specific information"; + leaf replay-win-size { + type uint32; + description + "range of pkt nos considered valid"; + } + leaf crypt-algo { + type string; + description + "Cryptographic algo used"; + } + leaf is-egress-tr { + type boolean; + description + "APM_TRUE if this is Egress Transform record, + APM_FALSE otherwise"; + } + leaf aes-key-len { + type string; + description + "AES Key length"; + } + leaf assoc-num { + type uint8; + description + "Association Number for egress"; + } + leaf is-seq-num64-bit { + type boolean; + description + "TRUE if Seq Num is 64-bit, FALSE if it is 32-bit"; + } + leaf bgen-auth-key { + type boolean; + description + "TRUE to generate the authKey, so authKey in this + struct not used + APM_FALSE to use provided authKey"; + } + } + + grouping PL-ES200-TX-SA-INFO { + description + "TX SA specific information"; + container xform-params { + description + " Xform Params"; + uses PL-ES200-XFORM-PARAMS; + } + leaf is-valid { + type boolean; + description + "Is structure valid"; + } + leaf sa-id { + type uint8; + description + "SA Index"; + } + leaf sc-no { + type uint32; + description + "SC Number"; + } + leaf out-pkts-too-long { + type uint8; + description + "packets exceeding egress MTU"; + } + leaf out-pkts-encrypted-protected { + type uint8; + description + "packets encrypted/protected"; + } + leaf out-octets-encrypted-protected1 { + type uint8; + description + "octets1 encrypted/protected"; + } + leaf initial-pkt-number { + type uint8; + description + "Initial Packet Number"; + } + leaf current-pkt-number { + type uint64; + description + "Current packet Number"; + } + leaf max-pkt-number { + type uint64; + description + "Maximum packet Number"; + } + } + + grouping PL-ES200-SA { + description + "SA details"; + container tx-sa { + description + "Tx SA Details"; + uses PL-ES200-TX-SA-INFO; + } + list rx-sa { + description + "Rx SA Details"; + uses PL-ES200-RX-SA-INFO; + } + } + + grouping PL-XLFPGA-RX-SA-INFO { + description + "Rx SA specific information"; + leaf protection-enable { + type boolean; + description + "Protection Enabled"; + } + leaf secure-mode { + type uint32; + description + "Secure Mode - Must/Should"; + } + leaf replay-protect-mode { + type boolean; + description + "Replay Protect Mode"; + } + leaf validation-mode { + type uint32; + description + "Validation Mode"; + } + leaf replay-window { + type uint32; + description + "Replay Window "; + } + leaf secure-channel-id { + type uint64; + description + "Secure Channel ID"; + } + leaf cipher-suite { + type uint32; + description + "Cipher Suite Used"; + } + leaf confidentiality-offset { + type uint8; + description + "Confidentiality Offset"; + } + leaf fcs-err-cfg { + type uint32; + description + "FCS Error Config"; + } + leaf auth-err-cfg { + type uint32; + description + "Auth Error Config"; + } + leaf max-packet-num { + type uint64; + description + "Max Packet Number"; + } + leaf num-an-in-use { + type uint32; + description + "Num of AN's in Use"; + } + leaf an { + type yang:hex-string; + description + "Association Number"; + } + leaf recent-an { + type uint8; + description + "Recent Association Num"; + } + leaf pkt-untagged-detected { + type boolean; + description + "Untagged Pkts Detected"; + } + leaf pkt-tagged-detected { + type boolean; + description + "Tagged Pkts Detected"; + } + leaf pkt-tagged-validated { + type boolean; + description + "Tagged Pkts Validated"; + } + leaf current-packet-num { + type uint64; + description + "Current Packet Number"; + } + leaf-list ssci { + type uint32; + max-elements "4"; + description + "Short Secure Channel ID"; + } + leaf-list lowest-acceptable-packet-num { + type uint64; + max-elements "4"; + description + "Lowest Acceptable Packet Number"; + } + leaf-list next-expected-packet-num { + type uint64; + max-elements "4"; + description + "Next expected Packet Number"; + } + leaf-list crc-value { + type uint32; + max-elements "4"; + description + "CRC Value"; + } + } + + grouping PL-XLFPGA-TX-SA-INFO { + description + "Tx SA specific information"; + leaf protection-enable { + type boolean; + description + "Protection Enabled"; + } + leaf secure-mode { + type uint8; + description + "Secure Mode - Must/Should"; + } + leaf secure-channel-id { + type uint64; + description + "Secure Channel ID"; + } + leaf sectag-length { + type uint32; + units "byte"; + description + "Sec Tag Length(bytes) "; + } + leaf cipher-suite { + type uint32; + description + "Cipher Suite Used"; + } + leaf confidentiality-offset { + type uint8; + description + "Confidentiality Offset"; + } + leaf fcs-err-cfg { + type uint8; + description + "FCS Error Config"; + } + leaf max-packet-num { + type uint64; + description + "Max Packet Number"; + } + leaf an { + type uint8; + description + "Association Number"; + } + leaf initial-packet-number { + type uint64; + description + "Initial Packet Number"; + } + leaf ssci { + type uint32; + description + "Short Secure Channel ID"; + } + leaf current-packet-num { + type uint64; + description + "Current Packet Number"; + } + leaf crc-value { + type uint32; + description + "CRC Value"; + } + } + + grouping PL-XLFPGA-SA { + description + "Xilinx FPGA SA Detail"; + container tx-sa { + description + "Tx SA Details"; + uses PL-XLFPGA-TX-SA-INFO; + } + container rx-sa { + description + "Rx SA Details"; + uses PL-XLFPGA-RX-SA-INFO; + } + } + + grouping PL-MSFPGA-SA-INFO { + description + "SA specific information"; + leaf sa-id { + type uint8; + description + "SA Index"; + } + leaf valid { + type boolean; + description + "SA Validity"; + } + leaf is-egress { + type boolean; + description + "rx_tx direction"; + } + leaf crypto-algo { + type uint8; + description + "Crypto Algorithm"; + } + leaf key-len { + type uint8; + description + "Key Length"; + } + leaf an { + type uint8; + description + "Association Number"; + } + leaf xpn { + type uint8; + description + "XPN EN"; + } + leaf sci { + type uint64; + description + "SCI"; + } + leaf in-use { + type boolean; + description + "In Use"; + } + leaf next-pn { + type uint64; + description + "Next Packet Number"; + } + leaf c-offset { + type uint8; + description + "Conf offset"; + } + leaf action { + type uint8; + description + "Action"; + } + leaf q-bit { + type boolean; + description + "Q bit"; + } + leaf qq-bit { + type boolean; + description + "QQ bit"; + } + } + + grouping PL-MSFPGA-SA { + description + "SA details"; + container tx-sa { + description + "Tx SA Details"; + uses PL-MSFPGA-SA-INFO; + } + container rx-sa { + description + "Rx SA Details"; + uses PL-MSFPGA-SA-INFO; + } + } + + grouping PL-MACSEC-SA-EXT { + description + "PL MACSEC SA EXT"; + container msfpga-sa { + when "../type = 'macsec-msfpga'" { + description + "../type = 'MACSEC_MSFPGA'"; + } + description + "MSFPGA SA Information"; + uses PL-MSFPGA-SA; + } + container xlfpga-sa { + when "../type = 'macsec-xlmsfpga'" { + description + "../type = 'MACSEC_XLMSFPGA'"; + } + description + "XLFPGA SA Information"; + uses PL-XLFPGA-SA; + } + container es200-sa { + when "../type = 'macsec-apm'" { + description + "../type = 'MACSEC_APM'"; + } + description + "ES200 SA Information"; + uses PL-ES200-SA; + } + leaf type { + type Macsec-card; + description + "type"; + } + } + + grouping PL-MACSEC-SA { + description + "MACSec HW SA Details"; + container ext { + description + "ext"; + uses PL-MACSEC-SA-EXT; + } + } + + grouping PL-ES200-PORT-LEVEL-STATS { + description + "Port Level Stats"; + leaf multi-flow-match { + type uint64; + description + "Pkts matching multiple flow entries"; + } + leaf parser-dropped { + type uint64; + description + "Pkts dropped by header parser as invalid"; + } + leaf flow-miss { + type uint64; + description + "Pkts matching none of flow entries"; + } + leaf pkts-ctrl { + type uint64; + description + "Control pkts forwarded"; + } + leaf pkts-data { + type uint64; + description + "Data pkts forwarded"; + } + leaf pkts-dropped { + type uint64; + description + "Pkts dropped by classifier"; + } + leaf pkts-err-in { + type uint64; + description + "Pkts received with an error indication"; + } + } + + grouping PL-ES200-RX-INTERFACE-MACSEC-STATS { + description + "Per Interface Macsec Ingress Stats"; + leaf transform-error-pkts { + type uint64; + description + "counter to count internal errors in the MACSec + core"; + } + leaf in-pkt-ctrl { + type uint64; + description + "ingress packet that is classified as control + packet"; + } + leaf in-pkt-no-tag { + type uint64; + description + "ingress packet untagged & validateFrames is + strict"; + } + leaf in-pkts-untagged { + type uint64; + description + "ingress packet untagged & validateFrames is + !strict"; + } + leaf in-pkt-bad-tag { + type uint64; + description + "ingress frames received with an invalid MACSec + tag or ICV + added with next one gives InPktsSCIMiss"; + } + leaf in-pkt-no-sci { + type uint64; + description + "correctly tagged ingress frames for which no + valid SC found & + validateFrames is strict"; + } + leaf in-pkts-unknown-sci { + type uint64; + description + "correctly tagged ingress frames for which no + valid SC found & + validateFrames is !strict"; + } + leaf in-pkts-tagged-ctrl { + type uint64; + description + "ingress packets that are control or KaY packets"; + } + leaf in-octets-unctrl { + type uint64; + description + "Octets rx on uncontrolled port"; + } + leaf in-octets-ctrl { + type uint64; + description + "Octets rx on controlled port"; + } + leaf in-ucast-pkts-unctrl { + type uint64; + description + "Unicast pkts rx on uncontrolled port"; + } + leaf in-ucast-pkts-ctrl { + type uint64; + description + "Unicast pkts rx on controlled port"; + } + leaf in-mcast-pkts-unctrl { + type uint64; + description + "Multicast pkts rx on uncontrolled port"; + } + leaf in-mcast-pkts-ctrl { + type uint64; + description + "Multicast pkts rx on controlled port"; + } + leaf in-bcast-pkts-unctrl { + type uint64; + description + "Broadcast pkts rx on uncontrolled port"; + } + leaf in-bcast-pkts-ctrl { + type uint64; + description + "Broadcast pkts rx on controlled port"; + } + leaf in-rx-drop-pkts-unctrl { + type uint64; + description + "Control pkts dropped due to overrun"; + } + leaf in-rx-drop-pkts-ctrl { + type uint64; + description + "Data pkts dropped due to overrun"; + } + leaf in-rx-error-pkts-unctrl { + type uint64; + description + "Control pkts error-terminated due to overrun"; + } + leaf in-rx-error-pkts-ctrl { + type uint64; + description + "Data pkts error-terminated due to overrun"; + } + leaf in-drop-pkts-class { + type uint64; + description + "Packets dropped due to overflow in + classification pipeline"; + } + leaf in-drop-pkts-data { + type uint64; + description + "Packets dropped due to overflow in processing + pipeline"; + } + } + + grouping PL-ES200-TX-INTERFACE-MACSEC-STATS { + description + "Per Interface Macsec Egress Stats"; + leaf transform-error-pkts { + type uint64; + description + "counter to count internal errors in the MACSec + core"; + } + leaf out-pkt-ctrl { + type uint64; + description + "egress packet that is classified as control + packet"; + } + leaf out-pkts-untagged { + type uint64; + description + "egress packet to go out untagged when + protectFrames not set"; + } + leaf out-octets-unctrl { + type uint64; + description + "Octets tx on uncontrolled port"; + } + leaf out-octets-ctrl { + type uint64; + description + "Octets tx on controlled port"; + } + leaf out-octets-common { + type uint64; + description + "Octets tx on common port"; + } + leaf out-ucast-pkts-unctrl { + type uint64; + description + "Unicast pkts tx on uncontrolled port"; + } + leaf out-ucast-pkts-ctrl { + type uint64; + description + "Unicast pkts tx on controlled port"; + } + leaf out-mcast-pkts-unctrl { + type uint64; + description + "Multicast pkts tx on uncontrolled port"; + } + leaf out-mcast-pkts-ctrl { + type uint64; + description + "Multicast pkts tx on controlled port"; + } + leaf out-bcast-pkts-unctrl { + type uint64; + description + "Broadcast pkts tx on uncontrolled port"; + } + leaf out-bcast-pkts-ctrl { + type uint64; + description + "Broadcast pkts tx on controlled port"; + } + leaf out-rx-drop-pkts-unctrl { + type uint64; + description + "Control pkts dropped due to overrun"; + } + leaf out-rx-drop-pkts-ctrl { + type uint64; + description + "Data pkts dropped due to overrun"; + } + leaf out-rx-err-pkts-unctrl { + type uint64; + description + "Control pkts error-terminated due to overrun"; + } + leaf out-rx-err-pkts-ctrl { + type uint64; + description + "Data pkts error-terminated due to overrun"; + } + leaf out-drop-pkts-class { + type uint64; + description + "Packets dropped due to overflow in + classification pipeline"; + } + leaf out-drop-pkts-data { + type uint64; + description + "Packets dropped due to overflow in processing + pipeline"; + } + } + + grouping PL-ES200-RX-SC-MACSEC-STATS { + description + "RX SC Stats"; + leaf in-pkts-sa-not-in-use { + type uint64; + description + "Packets received with SA not in use"; + } + } + + grouping PL-ES200-TX-SC-MACSEC-STATS { + description + "TX SC Stats"; + leaf out-pkts-sa-not-in-use { + type uint64; + description + "Packets received with SA not in use"; + } + } + + grouping PL-ES200-RX-SA-STATS { + description + "Per SA Ingress Stats"; + leaf in-pkts-unchecked { + type uint64; + description + "frame not valid & validateFrames disabled"; + } + leaf in-pkts-delayed { + type uint64; + description + "PN of packet outside replay window & + validateFrames !strict"; + } + leaf in-pkts-late { + type uint64; + description + "PN of packet outside replay window & + validateFrames strict"; + } + leaf in-pkts-ok { + type uint64; + description + "packets with no error"; + } + leaf in-pkts-invalid { + type uint64; + description + "packet not valid & validateFrames !strict"; + } + leaf in-pkts-not-valid { + type uint64; + description + "packet not valid & validateFrames strict"; + } + leaf in-pkts-not-using-sa { + type uint64; + description + "packet assigned to SA not in use & + validateFrames strict"; + } + leaf in-pkts-unused-sa { + type uint64; + description + "packet assigned to SA not in use & + validateFrames !strict"; + } + leaf in-octets-decrypted-validated1 { + type uint64; + description + "octets1 decrypted/validated"; + } + leaf in-octets-validated { + type uint64; + description + "octets validated"; + } + } + + grouping PL-ES200-TX-SA-STATS { + description + "Per SA Egress Stats"; + leaf out-pkts-too-long { + type uint64; + description + "packets exceeding egress MTU"; + } + leaf out-pkts-encrypted-protected { + type uint64; + description + "packets encrypted/protected"; + } + leaf out-octets-encrypted-protected1 { + type uint64; + description + "octets1 encrypted/protected ?"; + } + } + + grouping PL-ES200-STATS { + description + "Stats Details"; + container tx-sa-stats { + description + "Tx SA Stats"; + uses PL-ES200-TX-SA-STATS; + } + container rx-sa-stats { + description + "Rx SA Stats"; + uses PL-ES200-RX-SA-STATS; + } + container tx-sc-macsec-stats { + description + "Tx SC Macsec Stats"; + uses PL-ES200-TX-SC-MACSEC-STATS; + } + container rx-sc-macsec-stats { + description + "Rx SC Macsec Stats"; + uses PL-ES200-RX-SC-MACSEC-STATS; + } + container tx-interface-macsec-stats { + description + "Tx interface Macsec Stats"; + uses PL-ES200-TX-INTERFACE-MACSEC-STATS; + } + container rx-interface-macsec-stats { + description + "Rx interface Macsec Stats"; + uses PL-ES200-RX-INTERFACE-MACSEC-STATS; + } + container tx-port-stats { + description + "Port level TX Stats"; + uses PL-ES200-PORT-LEVEL-STATS; + } + container rx-port-stats { + description + "Port level RX Stats"; + uses PL-ES200-PORT-LEVEL-STATS; + } + } + + grouping PL-XLFPGA-MACSEC-RX-SA-STATS { + description + "Rx SA Level Stats"; + leaf an { + type uint64; + description + "Current Rx AN"; + } + leaf sa-ok-pkts { + type uint64; + description + "Rx Ok Pkts for Current AN"; + } + leaf sa-not-using-pkts { + type uint64; + description + "Rx Pkts not using SA for Current AN"; + } + leaf sa-unused-pkts { + type uint64; + description + "Rx Pkts Unused Pkts for Current AN"; + } + leaf sa-not-valid-pkts { + type uint64; + description + "Rx Not Valid Pkts for Current AN"; + } + leaf sa-invalid-pkts { + type uint64; + description + "Rx Invalid Pkts for current AN"; + } + } + + grouping PL-XLFPGA-MACSEC-RX-STATS { + description + "Per SC and SA Level Rx Stats"; + leaf sc-decrypted-octets { + type uint64; + description + "Rx Octets Decrypted"; + } + leaf sc-no-tag-pkts { + type uint64; + description + "Rx No Tag Packets"; + } + leaf sc-untagged-pkts { + type uint64; + description + "Rx Untagged Packets"; + } + leaf sc-bad-tag-pkts { + type uint64; + description + "Rx Bad Tag Packets"; + } + leaf sc-late-pkts { + type uint64; + description + "Rx Late Pkts"; + } + leaf sc-delayed-pkts { + type uint64; + description + "Rx Delayed Pkts"; + } + leaf sc-unchecked-pkts { + type uint64; + description + "Rx Unchecked Pkts"; + } + leaf sc-no-sci-pkts { + type uint64; + description + "Rx No SCI Pkts"; + } + leaf sc-unknown-sci-pkts { + type uint64; + description + "Rx Unknown SCI Pkts"; + } + leaf sc-ok-pkts { + type uint64; + description + "Rx Pkts Ok"; + } + leaf sc-not-using-pkts { + type uint64; + description + "Rx Pkts Not Using SA"; + } + leaf sc-unused-pkts { + type uint64; + description + "Rx Pkts Unused SA"; + } + leaf sc-not-valid-pkts { + type uint64; + description + "Rx Not Valid Pkts"; + } + leaf sc-invalid-pkts { + type uint64; + description + "Rx Pkts Invalid"; + } + leaf sc-overrun-pkts { + type uint64; + description + "Rx Overrun Pkts"; + } + leaf sc-bypass-pkts { + type uint64; + description + "Rx Bypass Packets"; + } + leaf sc-eapol-pkts { + type uint64; + description + "Rx Eapol Packets"; + } + leaf sc-dropped-pkts { + type uint64; + description + "Rx Dropped Packets"; + } + list rx-sa-stat { + description + "Rx SA Level Stats"; + uses PL-XLFPGA-MACSEC-RX-SA-STATS; + } + } + + grouping PL-XLFPGA-MACSEC-TX-STATS { + description + "Per SC and SA Level Tx Stats"; + leaf sc-encrypted-octets { + type uint64; + description + "Tx Octets Encrypted"; + } + leaf sc-toolong-pkts { + type uint64; + description + "Tx Pkts Too Long"; + } + leaf sc-encrypted-pkts { + type uint64; + description + "Tx packets Encrypted"; + } + leaf sc-untagged-pkts { + type uint64; + description + "Tx Untagged Packets"; + } + leaf sc-overrun-pkts { + type uint64; + description + "Tx Overrun Packets"; + } + leaf sc-bypass-pkts { + type uint64; + description + "Tx Bypass Packets"; + } + leaf sc-eapol-pkts { + type uint64; + description + "Tx Eapol Packets"; + } + leaf sc-dropped-pkts { + type uint64; + description + "Tx Dropped Packets"; + } + leaf current-an { + type uint64; + description + "Current Tx AN"; + } + leaf sa-encrypted-pkts { + type uint64; + description + "Current Tx SA Encrypted Packets"; + } + } + + grouping PL-XLFPGA-STATS { + description + "XLFPGA Stats Details"; + container macsec-tx-stats { + description + "Tx SC and SA Level Stats"; + uses PL-XLFPGA-MACSEC-TX-STATS; + } + container macsec-rx-stats { + description + "Rx SC and SA Level Stats"; + uses PL-XLFPGA-MACSEC-RX-STATS; + } + } + + grouping PL-MSFPGA-RX-INTERFACE-MACSEC-STATS { + description + "Per Interface Macsec Ingress Stats"; + leaf in-pkt-untagged { + type uint64; + description + "Rx Pkts Untagged"; + } + leaf in-pkt-notag { + type uint64; + description + "Rx Pkts Notag"; + } + leaf in-pkt-bad-tag { + type uint64; + description + "Rx Pkts Bad tag"; + } + leaf in-pkt-no-sci { + type uint64; + description + "Rx Pkts No Sci"; + } + leaf in-pkt-unknown-sci { + type uint64; + description + "Rx Pkts Unknown Sci"; + } + leaf in-pkt-tagged { + type uint64; + description + "Rx Pkts Tagged"; + } + leaf in-pkt-overrun { + type uint64; + description + "Rx Pkts Over Run"; + } + leaf in-pkt-uncontrolled { + type uint64; + description + "Rx Pkts Uncontrolled"; + } + } + + grouping PL-MSFPGA-TX-INTERFACE-MACSEC-STATS { + description + "Per Interface Macsec Egress Stats"; + leaf out-pkt-uncontrolled { + type uint64; + description + "Tx Pkts Uncontrolled"; + } + leaf out-pkt-untagged { + type uint64; + description + "Tx Pkts Untagged"; + } + leaf out-pkt-too-long { + type uint64; + description + "Tx Pkts Too Long"; + } + } + + grouping PL-MSFPGA-RX-SA-STATS { + description + "Per SA Ingress Stats"; + leaf in-pkts-unused-sa { + type uint64; + description + "Rx Pkts Unused SA"; + } + leaf in-pkts-not-using-sa { + type uint64; + description + "Rx Pkts Not Using SA"; + } + leaf in-pkts-not-valid { + type uint64; + description + "Rx Pkts Not Valid"; + } + leaf in-pkts-invalid { + type uint64; + description + "Rx Pkts Invalid"; + } + leaf in-pkts-ok { + type uint64; + description + "Rx Pkts OK"; + } + leaf in-pkts-delayed { + type uint64; + description + "Rx Pkts Delayed"; + } + leaf in-pkts-late { + type uint64; + description + "Rx Pkts Late"; + } + leaf in-pkts-unchecked { + type uint64; + description + "Rx Pkts Unchecked"; + } + leaf in-octets-validated { + type uint64; + description + "Rx Octets Validated"; + } + leaf in-octets-decrypted { + type uint64; + description + "Rx Octets Decrypted"; + } + } + + grouping PL-MSFPGA-TX-SA-STATS { + description + "Per SA Egress Stats"; + leaf out-pkts-protected { + type uint64; + description + "Tx Pkts Protected"; + } + leaf out-pkts-encrypted { + type uint64; + description + "Tx Pkts Encrypted"; + } + leaf out-octets-protected { + type uint64; + description + "Tx Octets Protected"; + } + leaf out-octets-encrypted { + type uint64; + description + "Tx Octets Encrypted"; + } + } + + grouping PL-MSFPGA-STATS { + description + "Stats Details"; + container tx-sa-stats { + description + "Tx SA Stats"; + uses PL-MSFPGA-TX-SA-STATS; + } + container rx-sa-stats { + description + "Rx SA Stats"; + uses PL-MSFPGA-RX-SA-STATS; + } + container tx-interface-macsec-stats { + description + "Tx interface Macsec Stats"; + uses PL-MSFPGA-TX-INTERFACE-MACSEC-STATS; + } + container rx-interface-macsec-stats { + description + "Rx interface Macsec Stats"; + uses PL-MSFPGA-RX-INTERFACE-MACSEC-STATS; + } + } + + grouping PL-MACSEC-STATS-T-EXT { + description + "PL MACSEC STATS T EXT"; + container msfpga-stats { + when "../type = 'macsec-msfpga'" { + description + "../type = 'MACSEC_MSFPGA'"; + } + description + "MSFPGA Stats"; + uses PL-MSFPGA-STATS; + } + container xlfpga-stats { + when "../type = 'macsec-xlmsfpga'" { + description + "../type = 'MACSEC_XLMSFPGA'"; + } + description + "XLFPGA Stats"; + uses PL-XLFPGA-STATS; + } + container es200-stats { + when "../type = 'macsec-apm'" { + description + "../type = 'MACSEC_APM'"; + } + description + "ES200 Stats"; + uses PL-ES200-STATS; + } + leaf type { + type Macsec-card; + description + "type"; + } + } + + grouping PL-MACSEC-STATS { + description + "Per SA Stats Counters"; + container ext { + description + "ext"; + uses PL-MACSEC-STATS-T-EXT; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper.yang new file mode 100644 index 0000000..cd18b3d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-pl-oper.yang @@ -0,0 +1,113 @@ +module Cisco-IOS-XR-crypto-macsec-pl-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-pl-oper"; + prefix crypto-macsec-pl-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-crypto-macsec-pl-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-pl package operational data. + + This module contains definitions + for the following management objects: + macsec-platform: MACSec operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container macsec-platform { + config false; + description + "MACSec operational data"; + container nodes { + description + "NodeTable for all the nodes"; + list node { + key "node-name"; + description + "Node where macsec interfaces exist"; + container interfaces { + description + "Table of Interfaces"; + list interface { + key "name"; + description + "Interface Where Macsec is configured"; + container hw-statistics { + description + "The Hardware Statistics"; + uses PL-MACSEC-STATS; + } + container hw-sas { + description + "Table of Hardware SAs"; + list hw-sa { + key "sa-id"; + description + "Hardware Security Association"; + leaf sa-id { + type int32; + description + "SA ID"; + } + uses PL-MACSEC-SA; + } + } + container hw-flow-s { + description + "Table of Hardware Flows"; + list hw-flow { + key "flow-id"; + description + "Hardware Flow"; + leaf flow-id { + type int32; + description + "FLOW ID"; + } + uses PL-MACSEC-FLOW; + } + } + container sw-statistics { + description + "The Software Statistics"; + uses PL-MACSEC-STATS; + } + leaf name { + type xr:Interface-name; + description + "Value"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang new file mode 100644 index 0000000..366dc3f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper-sub1.yang @@ -0,0 +1,279 @@ +submodule Cisco-IOS-XR-crypto-macsec-secy-oper-sub1 { + belongs-to Cisco-IOS-XR-crypto-macsec-secy-oper { + prefix Cisco-IOS-XR-crypto-macsec-secy-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-secy package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MACSEC-RX-SA-STATS { + description + "MACSEC RX SA STATS"; + leaf in-pkts-ok { + type uint64; + description + "InPktsOK"; + } + leaf in-pkts-invalid { + type uint64; + description + "InPktsInvalid"; + } + leaf in-pkts-not-valid { + type uint64; + description + "InPktsNotValid"; + } + leaf in-pkts-not-using-sa { + type uint64; + description + "InPktsNotUsingSA"; + } + leaf in-pkts-unused-sa { + type uint64; + description + "InPktsUnusedSA"; + } + leaf next-pn { + type uint64; + description + "NextPN"; + } + } + + grouping MACSEC-RX-SC-STATS { + description + "MACSEC RX SC STATS"; + leaf rx-sci { + type uint64; + description + "Rx SCI"; + } + leaf in-pkts-unchecked { + type uint64; + description + "InPktsUnchecked"; + } + leaf in-pkts-delayed { + type uint64; + description + "InPktsDelayed"; + } + leaf in-pkts-late { + type uint64; + description + "InPktsLate"; + } + leaf in-pkts-ok { + type uint64; + description + "InPktsOK"; + } + leaf in-pkts-invalid { + type uint64; + description + "InPktsInvalid"; + } + leaf in-pkts-not-valid { + type uint64; + description + "InPktsNotValid"; + } + leaf in-pkts-not-using-sa { + type uint64; + description + "InPktsNotUsingSA"; + } + leaf in-pkts-unused-sa { + type uint64; + description + "InPktsUnusedSA"; + } + leaf in-pkts-untagged-hit { + type uint64; + description + "InPktsUntaggedHit"; + } + leaf in-octets-validated { + type uint64; + description + "InOctetsValidated"; + } + leaf in-octets-decrypted { + type uint64; + description + "InOctetsDecrypted"; + } + list rxsa-stat { + description + "rxsa stats"; + uses MACSEC-RX-SA-STATS; + } + } + + grouping MACSEC-TX-SA-STATS { + description + "MACSEC TX SA STATS"; + leaf out-pkts-protected { + type uint64; + description + "OutPktsProtected"; + } + leaf out-pkts-encrypted { + type uint64; + description + "OutPktsEncrypted"; + } + leaf next-pn { + type uint64; + description + "NextPN"; + } + } + + grouping MACSEC-TX-SC-STATS { + description + "MACSEC TX SC STATS"; + leaf tx-sci { + type uint64; + description + "Tx SCI"; + } + leaf out-pkts-protected { + type uint64; + description + "OutPktsProtected"; + } + leaf out-pkts-encrypted { + type uint64; + description + "OutPktsEncrypted"; + } + leaf out-octets-protected { + type uint64; + description + "OutOctetsProtected"; + } + leaf out-octets-encrypted { + type uint64; + description + "OutOctetsEncrypted"; + } + leaf out-pkts-too-long { + type uint64; + description + "OutPktsTooLong"; + } + list txsa-stat { + description + "tx sa stats"; + uses MACSEC-TX-SA-STATS; + } + } + + grouping MACSEC-IF-STATS { + description + "MACSEC IF STATS"; + leaf in-pkts-untagged { + type uint64; + description + "InPktsUntagged"; + } + leaf in-pkts-no-tag { + type uint64; + description + "InPktsNoTag"; + } + leaf in-pkts-bad-tag { + type uint64; + description + "InPktsBadTag"; + } + leaf in-pkts-unknown-sci { + type uint64; + description + "InPktsUnknownSCI"; + } + leaf in-pkts-no-sci { + type uint64; + description + "InPktsNoSCI"; + } + leaf in-pkts-overrun { + type uint64; + description + "InPktsOverrun"; + } + leaf in-octets-validated { + type uint64; + description + "InOctetsValidated"; + } + leaf in-octets-decrypted { + type uint64; + description + "InOctetsDecrypted"; + } + leaf out-pkts-untagged { + type uint64; + description + "OutPktsUntagged"; + } + leaf out-pkts-too-long { + type uint64; + description + "OutPktsTooLong"; + } + leaf out-octets-protected { + type uint64; + description + "OutOctetsProtected"; + } + leaf out-octets-encrypted { + type uint64; + description + "OutOctetsEncrypted"; + } + } + + grouping MACSEC-SECY-STATS { + description + "MACSEC SECY STATS"; + container intf-stats { + description + "Interface stats"; + uses MACSEC-IF-STATS; + } + container tx-sc-stats { + description + "Tx SC Stats"; + uses MACSEC-TX-SC-STATS; + } + list rx-sc-stats { + description + "RX SC Stats List"; + uses MACSEC-RX-SC-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper.yang new file mode 100644 index 0000000..e4c0b75 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-macsec-secy-oper.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-crypto-macsec-secy-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-macsec-secy-oper"; + prefix crypto-macsec-secy-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-crypto-macsec-secy-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-macsec-secy package operational data. + + This module contains definitions + for the following management objects: + macsec: Macsec operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container macsec { + config false; + description + "Macsec operational data"; + container secy { + description + "MAC Security Entity"; + container interfaces { + description + "MAC Security Data"; + list interface { + key "name"; + description + "MAC Security Data for the Interface"; + container stats { + description + "MACsec Stats"; + uses MACSEC-SECY-STATS; + } + leaf name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-cfg.yang new file mode 100644 index 0000000..181263d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-cfg.yang @@ -0,0 +1,78 @@ +module Cisco-IOS-XR-crypto-sam-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-cfg"; + prefix crypto-sam-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-sam package configuration. + + This module contains definitions + for the following management objects: + sam: Software Authentication Manager (SAM) Config + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-21 { + description + "Resolving dependency issue with SAM"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Crypto-sam-action { + type enumeration { + enum "proceed" { + value 1; + description + "To respond YES to the SAM prompt"; + } + enum "terminate" { + value 2; + description + "To respond NO to the SAM prompt"; + } + } + description + "Crypto sam action"; + } + + container sam { + description + "Software Authentication Manager (SAM) Config"; + container prompt-interval { + presence "Indicates a prompt-interval node is configured."; + description + "Set prompt interval at reboot time"; + leaf action { + type Crypto-sam-action; + mandatory true; + description + "Respond to SAM prompt either Proceed/Terminate"; + } + leaf prompt-time { + type uint32 { + range "0..300"; + } + units "second"; + mandatory true; + description + "Prompt time from 0 - 300 seconds"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper-sub1.yang new file mode 100644 index 0000000..b205c03 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper-sub1.yang @@ -0,0 +1,369 @@ +submodule Cisco-IOS-XR-crypto-sam-oper-sub1 { + belongs-to Cisco-IOS-XR-crypto-sam-oper { + prefix Cisco-IOS-XR-crypto-sam-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR crypto-sam package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Log-tables { + type enumeration { + enum "unkown" { + description + "Table is not known"; + } + enum "memory-digest-table" { + description + "Table is memory digest table"; + } + enum "system-database-digest" { + description + "Table is system database digest table"; + } + enum "sam-tables" { + description + "Table is SAM table"; + } + } + description + "Log tables"; + } + + typedef Certificate-issuer { + type enumeration { + enum "unknown" { + description + "Issuer is not known"; + } + enum "code-signing-server-certificate-authority" { + description + "Issuer is code signing server certificate + authority"; + } + } + description + "Certificate issuers"; + } + + typedef Log-error { + type enumeration { + enum "unknown" { + description + "Log error is not known"; + } + enum "log-message-error" { + description + "Log error is message error"; + } + enum "get-issuer-name-failed" { + description + "Log error is get issuer name failed"; + } + } + description + "Log errors"; + } + + typedef Log-code { + type enumeration { + enum "unknown" { + description + "Log code is not known"; + } + enum "sam-server-restared-router-reboot" { + description + "Log code is SAM server restarted through router + reboot"; + } + enum "sam-server-restared" { + description + "Log code is SAM server restarted"; + } + enum "added-certificate-in-table" { + description + "Log code is Added certificate in table"; + } + enum "copied-certificate-in-table" { + description + "Log code is Copied certificate in table"; + } + enum "certificate-flag-changed" { + description + "Log code is Certificate flag changed"; + } + enum "validated-certificate" { + description + "Log code is validated ceritificate"; + } + enum "certificate-expired-detected" { + description + "Log code is Ceritificate expired detected"; + } + enum "certificate-revoked-detected" { + description + "Log code is Ceritificate revoked detected"; + } + enum "ca-certificate-expired-detected" { + description + "Log code is CA Ceritificate expired detected"; + } + enum "ca-certificate-revoked-detected" { + description + "Log code is CA Ceritificate revoked detected"; + } + enum "deleted-certificate-from-table" { + description + "Log code is Deleted certificate from table"; + } + enum "crl-added-updated-in-table" { + description + "Log code is CRL added/updated in table"; + } + enum "checked-memory-digest" { + description + "Log code is Checked memory digest"; + } + enum "nvram-digest-mismatch-detected" { + description + "Log code is NVRAM digest Mistmatch detected"; + } + enum "insecure-backup-file-detected" { + description + "Log code is Insecure backup file detected"; + } + enum "error-restore-operation" { + description + "Log code is Error during restore operation, + backup file might have not been intact"; + } + enum "backup-file-on-nvram-deleted" { + description + "Log code is Found backup file on NVRAM for SAM + log had been deleted"; + } + enum "sam-log-file-recovered-from-system-database" { + description + "Log code is SAM log backup file recovered from + system database"; + } + enum "validated-elf" { + description + "Log code is validated ELF"; + } + enum "namespace-deleted-recovered-by-sam" { + description + "Log code is SAM system database name space + deleted/recovered by SAM"; + } + } + description + "Log code types"; + } + + grouping ISSUER-INFO { + description + "CRL issuer information"; + leaf common-name { + type string; + description + "Common name"; + } + leaf organization { + type string; + description + "Organization"; + } + leaf country { + type string; + description + "Country"; + } + } + + grouping CRYPTO-SAM-CRL-INFO { + description + "CRL table entry information"; + container issuer { + description + "Issuer name"; + uses ISSUER-INFO; + } + leaf crl-index { + type uint16; + description + " CRL index"; + } + leaf updates { + type string; + description + "Updated time of CRL is displayed"; + } + } + + grouping FLAGS { + description + "Certificate flags"; + leaf is-trusted { + type boolean; + description + "Trusted flag"; + } + leaf is-revoked { + type boolean; + description + "Revoked flag"; + } + leaf is-expired { + type boolean; + description + "Expired flag"; + } + leaf is-validated { + type boolean; + description + "Validated flag"; + } + } + + grouping CRYPTO-SAM-CERTIFICATE-COMMON { + description + "Certificate table common information"; + container certificate-flags { + description + "Certificate flags"; + uses FLAGS; + } + leaf location { + type string; + description + "Certificate location"; + } + leaf certificate-index { + type uint16; + description + "Certificate index"; + } + } + + grouping LOG-SAM-INFO { + description + "SAM log information"; + leaf time { + type string; + description + "Log time"; + } + leaf code { + type Log-code; + description + "Log code"; + } + leaf target-device { + type string; + description + "Target device"; + } + leaf index { + type uint32; + description + "Device index"; + } + leaf error { + type Log-error; + description + "Log error message"; + } + leaf issuer { + type Certificate-issuer; + description + "Issuer of the certificate"; + } + leaf serial-no { + type string; + description + "Serial number"; + } + leaf sam-table-index { + type uint32; + description + "SAM table index"; + } + leaf update-time { + type string; + description + "Last update time of the certificate"; + } + leaf source-device { + type string; + description + "source device name"; + } + leaf table { + type Log-tables; + description + "Log table information"; + } + } + + grouping CRYPTO-LOG { + description + "SAM logs data"; + leaf total-entries { + type uint32; + description + "Total log entries available"; + } + leaf entries-shown { + type uint32; + description + "Total entries shown"; + } + list logs { + description + "SAM logs"; + uses LOG-SAM-INFO; + } + } + + grouping CRYPTO-SAM-SYSINFO { + description + "SAM system information"; + leaf is-running { + type boolean; + description + "True if SAM status information runs"; + } + leaf prompt-interval { + type uint32; + units "second"; + description + "Prompt interval atreboot time in seconds"; + } + leaf is-default-response { + type boolean; + description + "True if promptdefault response is true"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper.yang new file mode 100644 index 0000000..1d155a6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-sam-oper.yang @@ -0,0 +1,149 @@ +module Cisco-IOS-XR-crypto-sam-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-sam-oper"; + prefix crypto-sam-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-crypto-sam-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-sam package operational data. + + This module contains definitions + for the following management objects: + sam: Software authentication manager certificate information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container sam { + config false; + description + "Software authentication manager certificate + information"; + container system-information { + description + "SAM system information"; + uses CRYPTO-SAM-SYSINFO; + } + container log-contents { + description + "SAM log content table information"; + list log-content { + key "number-of-lines"; + description + "Number of lines for SAM log message"; + leaf number-of-lines { + type int32; + description + "Number of lines"; + } + uses CRYPTO-LOG; + } + } + container devices { + description + "Certificate device table information"; + list device { + key "device-name"; + description + "Certificate table device information"; + container certificate { + description + "Certificate table information"; + container brief { + description + "Certificate table brief information"; + uses CRYPTO-SAM-CERTIFICATE-COMMON; + } + container certificate-indexes { + description + "Certificate detail index table information"; + list certificate-index { + key "index"; + description + "Certificate detail index information"; + container detail { + description + "Certificate table detail information"; + uses CRYPTO-SAM-CERTIFICATE-COMMON; + } + leaf index { + type int32; + description + "Specify certificate index"; + } + } + } + } + leaf device-name { + type xr:Cisco-ios-xr-string; + description + "Specify device name"; + } + } + } + container packages { + description + "SAM certificate information package"; + list package { + key "package-name"; + description + "SAM certificate information for a specific + package"; + leaf package-name { + type string; + description + "Specify package name"; + } + uses CRYPTO-SAM-CERTIFICATE-COMMON; + } + } + container certificate-revocations { + description + "Certificate revocation list index table + information"; + list certificate-revocation { + key "crl-index"; + description + "Certificate revocation list index information"; + container certificate-revocation-list-detail { + description + "Certificate revocation list detail information"; + uses CRYPTO-SAM-CRL-INFO; + } + leaf crl-index { + type int32; + description + "CRL index"; + } + } + } + container certificate-revocation-list-summary { + description + "Certificate revocation list summary information "; + uses CRYPTO-SAM-CRL-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-cfg.yang new file mode 100644 index 0000000..3ca7e26 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-cfg.yang @@ -0,0 +1,332 @@ +module Cisco-IOS-XR-crypto-ssh-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-cfg"; + prefix crypto-ssh-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-ssh package configuration. + + This module contains definitions + for the following management objects: + ssh: Secure Shell configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-21 { + description + "Resolving dependency issue with SAM"; + } + revision 2017-07-15 { + description + "Fixing client rekey support."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-07-13 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping VRF { + description + "Common node of vrf-table, netconf-vrf-table"; + list vrf { + key "vrf-name"; + description + "Enter VRF name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Enter VRF name"; + } + leaf enable { + type empty; + mandatory true; + description + "Enable to use VRF"; + } + leaf ipv4-access-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "SSH v4 access-list name"; + } + leaf ipv6-access-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "SSH v6 access-list name"; + } + } + } + + grouping KEY-EXCHANGE { + description + "Common node of client-algo, server-algo"; + container key-exchange { + presence "Indicates a key-exchange node is configured."; + description + "Key exchange algorithm"; + leaf kex-algo1st { + type string { + length "1..32"; + } + mandatory true; + description + "key exchange algorithm"; + } + leaf kex-algo2nd { + type string { + length "1..32"; + } + description + "key exchange algorithm"; + } + leaf kex-algo3rd { + type string { + length "1..32"; + } + description + "key exchange algorithm"; + } + leaf kex-algo4th { + type string { + length "1..32"; + } + description + "key exchange algorithm"; + } + leaf kex-algo5th { + type string { + length "1..32"; + } + description + "key exchange algorithm"; + } + } + } + + container ssh { + description + "Secure Shell configuration"; + container client { + description + "Provide SSH client service"; + container client-algo { + description + "Cisco ssh algorithms"; + uses KEY-EXCHANGE; + } + container client-enable { + description + "clientenable"; + container client-cipher { + description + "clientcipher"; + leaf aescbc { + type boolean; + default "false"; + description + "Enable AES-CBC ciphers for client"; + } + } + } + leaf rekey-volume { + type uint32 { + range "1024..4095"; + } + default "1024"; + description + "Configure client volume-based rekey for SSH"; + } + leaf host-public-key { + type string; + description + "Filename - where to store known host file"; + } + leaf client-vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Source interface VRF for ssh client sessions"; + } + leaf rekey-time { + type uint32 { + range "30..1440"; + } + units "minute"; + default "60"; + description + "Configure client time-based rekey for SSH"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source interface for ssh client sessions"; + } + leaf dscp { + type uint32 { + range "0..63"; + } + description + "Cisco sshd DSCP value"; + } + } + container server { + description + "Provide SSH server service"; + container disable { + description + "disable"; + container hmac { + description + "hmac"; + leaf hmac-sha512 { + type boolean; + default "false"; + description + "Disable Hmac-sha2-512 negotiation"; + } + } + } + container enable { + description + "enable"; + container cipher { + description + "cipher"; + leaf aescbc { + type boolean; + default "false"; + description + "Enable AES-CBC ciphers"; + } + } + } + container vrf-table { + description + "Cisco sshd VRF name"; + uses VRF; + } + container server-algo { + description + "Cisco ssh algorithms"; + uses KEY-EXCHANGE; + } + container capability { + description + "Capability"; + leaf netconf-xml { + type boolean; + default "false"; + description + "Enable Netconf-XML stack on port 22"; + } + } + container netconf-vrf-table { + description + "Cisco sshd Netconf VRF name"; + uses VRF; + } + leaf rekey-volume { + type uint32 { + range "1024..4095"; + } + default "1024"; + description + "Configure volume-based rekey for SSH"; + } + leaf session-limit { + type uint32 { + range "1..110"; + } + description + "Cisco sshd session-limit of service requests"; + } + leaf netconf { + type uint32 { + range "1..65535"; + } + default "830"; + description + "port number on which ssh service to be started + for netconf"; + } + leaf v2 { + type empty; + description + "Cisco sshd force protocol version 2 only"; + } + leaf rekey-time { + type uint32 { + range "30..1440"; + } + units "minute"; + default "60"; + description + "Time Period in minutes, defalut 60"; + } + leaf logging { + type empty; + description + "Enable ssh server logging"; + } + leaf rate-limit { + type uint32 { + range "1..600"; + } + default "60"; + description + "Cisco sshd rate-limit of service requests"; + } + leaf timeout { + type uint32 { + range "5..120"; + } + units "second"; + default "30"; + description + "Timeout value between 5-120 seconds defalut 30"; + } + leaf dscp { + type uint32 { + range "0..63"; + } + description + "Cisco sshd DSCP value"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang new file mode 100644 index 0000000..4efef29 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang @@ -0,0 +1,558 @@ +submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 { + belongs-to Cisco-IOS-XR-crypto-ssh-oper { + prefix Cisco-IOS-XR-crypto-ssh-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR crypto-ssh package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-06-02 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Connection { + type enumeration { + enum "undefined" { + value 0; + description + "connection type not yet known"; + } + enum "shell" { + value 1; + description + "Interactive Shell"; + } + enum "exec" { + value 2; + description + "Remote Command Execution"; + } + enum "scp" { + value 3; + description + "Secure Copy"; + } + enum "sftp-subsystem" { + value 4; + description + "Secure File Transfer"; + } + enum "netconf-subsystem" { + value 5; + description + "Netconf Subsystem"; + } + enum "tl1-subsystem" { + value 6; + description + "TL1 Subsystem"; + } + enum "netconf-xml-subsystem" { + value 7; + description + "Netconf XML Subsystem"; + } + } + description + "SSH channel connection types"; + } + + typedef Authen { + type enumeration { + enum "password" { + value 0; + description + "Password"; + } + enum "rsa-public-key" { + value 1; + description + "RSA public key encryption type"; + } + enum "keyboard-interactive" { + value 2; + description + "Keyboard interactive"; + } + } + description + "SSH session authentication types"; + } + + typedef Version { + type enumeration { + enum "v2" { + value 0; + description + "Version V2"; + } + enum "v1" { + value 1; + description + "Version V1"; + } + } + description + "SSH state versions"; + } + + typedef States { + type enumeration { + enum "open" { + value 1; + description + "SSH Open"; + } + enum "version-ok" { + value 2; + description + "SSH version OK"; + } + enum "key-exchange-initialize" { + value 3; + description + "Key exchange(KEX) init message exchanged"; + } + enum "key-exchange-dh" { + value 4; + description + "Diffie-Hellman(DH) secret is generated"; + } + enum "new-keys" { + value 5; + description + "New keys are received"; + } + enum "authenticate-information" { + value 6; + description + "Need more information to authenticate"; + } + enum "authenticated" { + value 7; + description + "The client successfully authenticated"; + } + enum "channel-open" { + value 8; + description + "Channel has been successfully opened"; + } + enum "pty-open" { + value 9; + description + "Allocated PTY"; + } + enum "session-open" { + value 10; + description + "Opened an exec shell"; + } + enum "rekey" { + value 11; + description + "Received rekey request"; + } + enum "suspended" { + value 12; + description + "Session is suspended"; + } + enum "session-closed" { + value 13; + description + "Session has been closed"; + } + } + description + "SSH session states"; + } + + typedef Mac { + type enumeration { + enum "hmac-md5" { + value 0; + description + "Hash-based Message Authentication Code(HMAC) + MD5 algorithm"; + } + enum "hmac-sha1" { + value 1; + description + "Hash-based Message Authentication Code(HMAC) + SHA1 algorithm"; + } + enum "hmac-sha2-256" { + value 2; + description + "Hash-based Message Authentication Code(HMAC) + SHA2-256 algorithm"; + } + enum "hmac-sha2-512" { + value 3; + description + "Hash-based Message Authentication Code(HMAC) + SHA2-512 algorithm"; + } + enum "aes-gcm" { + value 4; + description + "AES GCM based Authentication Tag as MAC + algorithm"; + } + } + description + "Different Message Authentication Code(MAC) + functions"; + } + + typedef Cipher { + type enumeration { + enum "aes128-cbc" { + value 0; + description + "Advanced Encryption Standard(AES) 128 bits + cipher block chaining(CBC)"; + } + enum "aes192-cbc" { + value 1; + description + "Advanced Encryption Standard(AES) 192 bits + cipher block chaining(CBC)"; + } + enum "aes256-cbc" { + value 2; + description + "Advanced Encryption Standard(AES) 256 bits + cipher block chaining(CBC)"; + } + enum "triple-des-cbc" { + value 3; + description + "Triple Data Encryption Standard(DES) cipher + block chaining(CBC)"; + } + enum "aes128-ctr" { + value 4; + description + "Advanced Encryption Standard(AES) 128 bits + counter mode (CTR)"; + } + enum "aes192-ctr" { + value 5; + description + "Advanced Encryption Standard(AES) 192 bits + counter mode (CTR)"; + } + enum "aes256-ctr" { + value 6; + description + "Advanced Encryption Standard(AES) 256 bits + counter mode (CTR)"; + } + enum "aes128-gcm" { + value 7; + description + "Advanced Encryption Standard(AES) 128 bits GCM + mode (GCM)"; + } + enum "aes256-gcm" { + value 8; + description + "Advanced Encryption Standard(AES) 256 bits GCM + mode (GCM)"; + } + } + description + "SSH session in and out cipher standards"; + } + + typedef Hostkey { + type enumeration { + enum "ssh-dss" { + value 0; + description + "Algorithm type DSS"; + } + enum "ssh-rsa" { + value 1; + description + "Algorithm type RSA"; + } + } + description + "SSH session authentication types"; + } + + typedef Kex-name { + type enumeration { + enum "diffie-hellman-group1" { + value 0; + description + "Diffie-Hellman group 1 key exchange algorithm"; + } + enum "diffie-hellman-group14" { + value 1; + description + "Diffie-Hellman group 14 key exchange algorithm"; + } + enum "diffie-hellman-group15" { + value 2; + description + "Diffie-Hellman group 14 key exchange algorithm"; + } + enum "diffie-hellman-group16" { + value 3; + description + "Diffie-Hellman group 16 key exchange algorithm"; + } + enum "diffie-hellman-group17" { + value 4; + description + "Diffie-Hellman group 17 key exchange algorithm"; + } + enum "diffie-hellman-group18" { + value 5; + description + "Diffie-Hellman key group 18 exchange algorithm"; + } + enum "ecdh-nistp256" { + value 6; + description + "Elliptical curve Diffie-Hellman prime 256 key + exchange algorithm"; + } + enum "ecdh-nistp384" { + value 7; + description + "Elliptical curve Diffie-Hellman prime 384 key + exchange algorithm"; + } + enum "ecdh-nistp521" { + value 8; + description + "Elliptical curve Diffie-Hellman prime 521 + exchange algorithm"; + } + enum "password-authenticated" { + value 9; + description + "Password authenticated key agreement algorithm"; + } + } + description + "Different key-exchange(kex) algorithms"; + } + + grouping SESSION-BRIEF-INFO { + description + "Information for a particular session/channel"; + list session-brief-info { + description + "session brief info"; + leaf session-id { + type uint32; + description + "Session ID"; + } + leaf channel-id { + type uint32; + description + "Channel ID"; + } + leaf vty-assigned { + type boolean; + description + "Boolean indicating whether line VTY line number + is valid"; + } + leaf vty-line-number { + type uint32; + description + "VTY line number"; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + leaf session-state { + type States; + description + "SSH session state"; + } + leaf user-id { + type string; + description + "User ID"; + } + leaf host-address { + type string; + description + "Host address"; + } + leaf version { + type Version; + description + "SSH state version"; + } + leaf authentication-type { + type Authen; + description + "Authentication method"; + } + leaf connection-type { + type Connection; + description + "Channel Connection Type"; + } + } + } + + grouping SSH-SESSION-BRIEF { + description + "Incoming and outgoing session information"; + container incoming-sessions { + description + "List of incoming sessions"; + uses SESSION-BRIEF-INFO; + } + container outgoing-sessions { + description + "List of outgoing sessions"; + uses SESSION-BRIEF-INFO; + } + } + + grouping SESSION-REKEY-INFO { + description + "Session rekey info"; + list session-rekey-info { + description + "session rekey info"; + leaf session-id { + type uint32; + description + "Session ID"; + } + leaf session-rekey-count { + type uint32; + description + "Session Rekey Count"; + } + leaf time-to-rekey { + type string; + description + "Time To Rekey"; + } + leaf volume-to-rekey { + type string; + description + "Volume To Rekey"; + } + } + } + + grouping SSH-SESSION-REKEY { + description + "Incoming and outgoing session rekey details"; + container incoming-sessions { + description + "List of incoming sessions"; + uses SESSION-REKEY-INFO; + } + container outgoing-connections { + description + "List of outgoing connections"; + uses SESSION-REKEY-INFO; + } + } + + grouping SESSION-DETAIL-INFO { + description + "Particular session details"; + list session-detail-info { + description + "session detail info"; + leaf session-id { + type uint32; + description + "Session ID"; + } + leaf key-exchange { + type Kex-name; + description + "Key exchange name"; + } + leaf public-key { + type Hostkey; + description + "Host key algorithm"; + } + leaf in-cipher { + type Cipher; + description + "In cipher algorithm"; + } + leaf out-cipher { + type Cipher; + description + "Out cipher algorithm"; + } + leaf in-mac { + type Mac; + description + "In MAC"; + } + leaf out-mac { + type Mac; + description + "Out MAC"; + } + } + } + + grouping SSH-SESSION-DETAIL { + description + "Incoming and outgoing session details"; + container incoming-sessions { + description + "List of incoming sessions"; + uses SESSION-DETAIL-INFO; + } + container outgoing-connections { + description + "List of outgoing connections"; + uses SESSION-DETAIL-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper.yang new file mode 100644 index 0000000..6d5a1ad --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-crypto-ssh-oper.yang @@ -0,0 +1,97 @@ +module Cisco-IOS-XR-crypto-ssh-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-crypto-ssh-oper"; + prefix crypto-ssh-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-crypto-ssh-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR crypto-ssh package operational data. + + This module contains definitions + for the following management objects: + ssh1: Crypto Secure Shell(SSH) data + ssh: ssh + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-06-02 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ssh1 { + config false; + description + "Crypto Secure Shell(SSH) data"; + container kex { + description + "key exchange method data"; + container nodes { + description + "Node-specific ssh session details"; + list node { + key "node-name"; + description + "SSH session details for a particular node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses SSH-SESSION-DETAIL; + } + } + } + } + container ssh { + config false; + description + "ssh"; + container session { + description + "Crypto SSH session"; + container rekey { + description + "SSH session rekey information"; + uses SSH-SESSION-REKEY; + } + container brief { + description + "SSH session brief information"; + uses SSH-SESSION-BRIEF; + } + container detail { + description + "SSH session detail information"; + uses SSH-SESSION-DETAIL; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper-sub1.yang new file mode 100644 index 0000000..432a4f0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper-sub1.yang @@ -0,0 +1,1703 @@ +submodule Cisco-IOS-XR-dnx-driver-oper-sub1 { + belongs-to Cisco-IOS-XR-dnx-driver-oper { + prefix Cisco-IOS-XR-dnx-driver-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dnx-driver package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-29 { + description + "Changed blk and field info to be dynamic."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Asic-init-method { + type enumeration { + enum "asic-init-method-unset" { + value -1; + description + "asic init method unset"; + } + enum "asic-init-method-no-reset" { + value 0; + description + "asic init method no reset"; + } + enum "asic-init-method-pon-reset" { + value 1; + description + "asic init method pon reset"; + } + enum "asic-init-method-pon-reset-on-intr" { + value 2; + description + "asic init method pon reset on intr"; + } + enum "asic-init-method-hard-reset" { + value 3; + description + "asic init method hard reset"; + } + enum "asic-init-method-warmboot" { + value 4; + description + "asic init method warmboot"; + } + enum "asic-init-method-issu-wb" { + value 5; + description + "asic init method issu wb"; + } + enum "asic-init-method-pci-shutdown" { + value 6; + description + "asic init method pci shutdown"; + } + enum "asic-init-method-quiesce" { + value 7; + description + "asic init method quiesce"; + } + enum "asic-init-method-issu-started" { + value 8; + description + "asic init method issu started"; + } + enum "asic-init-method-issu-rollback" { + value 9; + description + "asic init method issu rollback"; + } + enum "asic-init-method-issu-abort" { + value 10; + description + "asic init method issu abort"; + } + enum "asic-init-method-slice-cleanup" { + value 11; + description + "asic init method slice cleanup"; + } + enum "asic-init-method-lc-remove" { + value 12; + description + "asic init method lc remove"; + } + enum "asic-init-method-node-down" { + value 13; + description + "asic init method node down"; + } + enum "asic-init-method-intr" { + value 14; + description + "asic init method intr"; + } + enum "asic-init-method-board-reload" { + value 15; + description + "asic init method board reload"; + } + enum "asic-init-method-max" { + value 16; + description + "asic init method max"; + } + } + description + "Asic init method"; + } + + typedef Asic-access-state { + type enumeration { + enum "asic-state-unset" { + value -1; + description + "asic state unset"; + } + enum "asic-state-none" { + value 0; + description + "asic state none"; + } + enum "asic-state-device-off-line" { + value 1; + description + "asic state device off line"; + } + enum "asic-state-device-created" { + value 2; + description + "asic state device created"; + } + enum "asic-state-device-online" { + value 3; + description + "asic state device online"; + } + enum "asic-state-warmboot" { + value 4; + description + "asic state warmboot"; + } + enum "asic-state-de-init-start" { + value 5; + description + "asic state de init start"; + } + enum "asic-state-intr-de-init" { + value 6; + description + "asic state intr de init"; + } + enum "asic-state-bcm-detach" { + value 7; + description + "asic state bcm detach"; + } + enum "asic-state-soc-de-init" { + value 8; + description + "asic state soc de init"; + } + enum "asic-state-de-init-done" { + value 9; + description + "asic state de init done"; + } + enum "asic-state-soc-init" { + value 10; + description + "asic state soc init"; + } + enum "asic-state-bcm-init" { + value 11; + description + "asic state bcm init"; + } + enum "asic-state-intr-init" { + value 12; + description + "asic state intr init"; + } + enum "asic-state-soc-init-start" { + value 13; + description + "asic state soc init start"; + } + enum "asic-state-bcm-init-start" { + value 14; + description + "asic state bcm init start"; + } + enum "asic-state-intr-init-start" { + value 15; + description + "asic state intr init start"; + } + enum "asic-state-hard-reset" { + value 16; + description + "asic state hard reset"; + } + enum "asic-state-normal" { + value 17; + description + "asic state normal"; + } + enum "asic-state-exception" { + value 18; + description + "asic state exception"; + } + enum "asic-state-hp-attached" { + value 19; + description + "asic state hp attached"; + } + enum "asic-state-quiesce" { + value 20; + description + "asic state quiesce"; + } + enum "asic-state-issu-started" { + value 21; + description + "asic state issu started"; + } + enum "asic-state-issu-started-nn" { + value 22; + description + "asic state issu started nn"; + } + enum "asic-state-issu-abort" { + value 23; + description + "asic state issu abort"; + } + enum "asic-state-max" { + value 24; + description + "asic state max"; + } + } + description + "Asic access state"; + } + + typedef Asic-oper-state { + type enumeration { + enum "asic-oper-unset" { + value -1; + description + "asic oper unset"; + } + enum "asic-oper-unknown" { + value 0; + description + "asic oper unknown"; + } + enum "asic-oper-up" { + value 1; + description + "asic oper up"; + } + enum "asic-oper-down" { + value 2; + description + "asic oper down"; + } + enum "asic-card-down" { + value 3; + description + "asic card down"; + } + } + description + "Asic oper state"; + } + + typedef Slice-state { + type enumeration { + enum "slice-oper-unset" { + value -1; + description + "slice oper unset"; + } + enum "slice-oper-down" { + value 0; + description + "slice oper down"; + } + enum "slice-oper-up" { + value 1; + description + "slice oper up"; + } + enum "slice-oper-na" { + value 2; + description + "slice oper na"; + } + } + description + "Slice state"; + } + + typedef Fc-mode { + type enumeration { + enum "fc-mode-unset" { + value -1; + description + "fc mode unset"; + } + enum "fc-mode-unavail" { + value 0; + description + "fc mode unavail"; + } + enum "fc-mode-inband" { + value 1; + description + "fc mode inband"; + } + enum "fc-mode-oob" { + value 2; + description + "fc mode oob"; + } + } + description + "Fc mode"; + } + + typedef Link-error-state { + type enumeration { + enum "link-error-unset" { + value -1; + description + "link error unset"; + } + enum "link-error-none" { + value 0; + description + "link error none"; + } + enum "link-error-shut" { + value 1; + description + "link error shut"; + } + enum "link-error-max" { + value 2; + description + "link error max"; + } + } + description + "Link error state"; + } + + typedef Oper-state { + type enumeration { + enum "oper-unset" { + value -1; + description + "oper unset"; + } + enum "oper-unknown" { + value 0; + description + "oper unknown"; + } + enum "oper-up" { + value 1; + description + "oper up"; + } + enum "oper-down" { + value 2; + description + "oper down"; + } + enum "card-down" { + value 3; + description + "card down"; + } + } + description + "Oper state"; + } + + typedef Admin-state { + type enumeration { + enum "admin-unset" { + value -1; + description + "admin unset"; + } + enum "admin-up" { + value 0; + description + "admin up"; + } + enum "admin-down" { + value 1; + description + "admin down"; + } + } + description + "Admin state"; + } + + typedef Link-stage { + type enumeration { + enum "link-stage-unset" { + value -1; + description + "link stage unset"; + } + enum "link-stage-unused" { + value 0; + description + "link stage unused"; + } + enum "link-stage-fia" { + value 1; + description + "link stage fia"; + } + enum "link-stage-s1" { + value 2; + description + "link stage s1"; + } + enum "link-stage-s2" { + value 3; + description + "link stage s2"; + } + enum "link-stage-s3" { + value 4; + description + "link stage s3"; + } + enum "link-stage-unknown" { + value 5; + description + "link stage unknown"; + } + } + description + "Link stage"; + } + + typedef Link { + type enumeration { + enum "link-type-unset" { + value -1; + description + "link type unset"; + } + enum "link-type-unavail" { + value 0; + description + "link type unavail"; + } + enum "link-type-tx" { + value 1; + description + "link type tx"; + } + enum "link-type-rx" { + value 2; + description + "link type rx"; + } + } + description + "Link"; + } + + typedef Asic { + type enumeration { + enum "asic-unset" { + value -1; + description + "asic unset"; + } + enum "asic-unavail" { + value 0; + description + "asic unavail"; + } + enum "asic-fia" { + value 1; + description + "asic fia"; + } + enum "asic-s123" { + value 2; + description + "asic s123"; + } + enum "asic-s13" { + value 3; + description + "asic s13"; + } + enum "asic-s2" { + value 4; + description + "asic s2"; + } + enum "asic-b2b" { + value 5; + description + "asic b2b"; + } + enum "asic-type-unknown" { + value 6; + description + "asic type unknown"; + } + } + description + "Asic"; + } + + typedef Rack { + type enumeration { + enum "rack-type-unset" { + value -1; + description + "rack type unset"; + } + enum "rack-type-lcc" { + value 0; + description + "rack type lcc"; + } + enum "rack-type-fcc" { + value 1; + description + "rack type fcc"; + } + } + description + "Rack"; + } + + grouping FIA-EDM-LINK-OVF-COUNTERS { + description + "FIA EDM LINK OVF COUNTERS"; + leaf tx-control-cells-counter { + type string { + length "0..6"; + } + description + "TX Control cells counter"; + } + leaf tx-data-cell-counter { + type string { + length "0..6"; + } + description + "TX Data cell counter"; + } + leaf tx-data-byte-counter { + type string { + length "0..6"; + } + description + "TX Data byte counter"; + } + leaf rx-crc-errors-counter { + type string { + length "0..6"; + } + description + "RX CRC errors counter"; + } + leaf rx-lfec-fec-correctable-error { + type string { + length "0..6"; + } + description + "RX LFEC FEC correctable error"; + } + leaf rx-8b-10b-disparity-errors { + type string { + length "0..6"; + } + description + "RX 8b 10b disparity errors"; + } + leaf rx-control-cells-counter { + type string { + length "0..6"; + } + description + "RX Control cells counter"; + } + leaf rx-data-cell-counter { + type string { + length "0..6"; + } + description + "RX Data cell counter"; + } + leaf rx-data-byte-counter { + type string { + length "0..6"; + } + description + "RX Data byte counter"; + } + leaf rx-dropped-retransmitted-control { + type string { + length "0..6"; + } + description + "RX dropped retransmitted control"; + } + leaf tx-asyn-fifo-rate { + type string { + length "0..6"; + } + description + "TX Asyn fifo rate"; + } + leaf rx-asyn-fifo-rate { + type string { + length "0..6"; + } + description + "RX Asyn fifo rate"; + } + leaf rx-lfec-fec-uncorrectable-errors { + type string { + length "0..6"; + } + description + "RX LFEC FEC uncorrectable errors"; + } + leaf rx-8b-10b-code-errors { + type string { + length "0..6"; + } + description + "RX 8b 10b code errors"; + } + } + + grouping FIA-EDM-LINK-COUNTERS { + description + "FIA EDM LINK COUNTERS"; + leaf tx-control-cells-counter { + type uint64; + description + "TX Control cells counter"; + } + leaf tx-data-cell-counter { + type uint64; + description + "TX Data cell counter"; + } + leaf tx-data-byte-counter { + type uint64; + description + "TX Data byte counter"; + } + leaf rx-crc-errors-counter { + type uint64; + description + "RX CRC errors counter"; + } + leaf rx-lfec-fec-correctable-error { + type uint64; + description + "RX LFEC FEC correctable error"; + } + leaf rx-8b-10b-disparity-errors { + type uint64; + description + "RX 8b 10b disparity errors"; + } + leaf rx-control-cells-counter { + type uint64; + description + "RX Control cells counter"; + } + leaf rx-data-cell-counter { + type uint64; + description + "RX Data cell counter"; + } + leaf rx-data-byte-counter { + type uint64; + description + "RX Data byte counter"; + } + leaf rx-dropped-retransmitted-control { + type uint64; + description + "RX dropped retransmitted control"; + } + leaf tx-asyn-fifo-rate { + type uint64; + description + "TX Asyn fifo rate"; + } + leaf rx-asyn-fifo-rate { + type uint64; + description + "RX Asyn fifo rate"; + } + leaf rx-lfec-fec-uncorrectable-errors { + type uint64; + description + "RX LFEC FEC uncorrectable errors"; + } + leaf rx-8b-10b-code-errors { + type uint64; + description + "RX 8b 10b code errors"; + } + } + + grouping FIA-EDM-LINK-ERROR-STATUS { + description + "FIA EDM LINK ERROR STATUS"; + leaf link-crc-error { + type uint32; + description + "link crc error"; + } + leaf link-size-error { + type uint32; + description + "link size error"; + } + leaf link-mis-align-error { + type uint32; + description + "link mis align error"; + } + leaf link-code-group-error { + type uint32; + description + "link code group error"; + } + leaf link-no-sig-lock-error { + type uint32; + description + "link no sig lock error"; + } + leaf link-no-sig-accept-error { + type uint32; + description + "link no sig accept error"; + } + leaf link-tokens-error { + type uint32; + description + "link tokens error"; + } + leaf error-token-count { + type uint32; + description + "error token count"; + } + } + + grouping FIA-EDM-STATS-ASIC-FMAC { + description + "FIA EDM STATS ASIC FMAC"; + container link-error-status { + description + "link error status"; + uses FIA-EDM-LINK-ERROR-STATUS; + } + container link-counters { + description + "link counters"; + uses FIA-EDM-LINK-COUNTERS; + } + container ovf-status { + description + "ovf status"; + uses FIA-EDM-LINK-OVF-COUNTERS; + } + } + + grouping FIA-EDM-STATS-ASIC-FMAC-INFO { + description + "FIA EDM STATS ASIC FMAC INFO"; + container aggr-stats { + description + "aggr stats"; + uses FIA-EDM-STATS-ASIC-FMAC; + } + container incr-stats { + description + "incr stats"; + uses FIA-EDM-STATS-ASIC-FMAC; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf rack-no { + type uint32; + description + "rack no"; + } + leaf slot-no { + type uint32; + description + "slot no"; + } + leaf asic-instance { + type uint32; + description + "asic instance"; + } + leaf link-no { + type uint32; + description + "link no"; + } + leaf link-valid { + type boolean; + description + "link valid"; + } + } + + grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { + description + "FIA EDM DEVICE STATS FIELD INFO"; + leaf field-name { + type string { + length "0..80"; + } + description + "Field Name"; + } + leaf field-value { + type uint64; + description + "Field Value"; + } + leaf is-ovf { + type boolean; + description + "Is Ovf"; + } + } + + grouping FIA-EDM-DEVICE-STATS-BLK-INFO { + description + "FIA EDM DEVICE STATS BLK INFO"; + leaf block-name { + type string { + length "0..10"; + } + description + "Block Name"; + } + leaf num-fields { + type uint8; + description + "Num Fields"; + } + list field-info { + description + "field info"; + uses FIA-EDM-DEVICE-STATS-FIELD-INFO; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { + description + "FIA EDM DEVICE STATS ASIC INFO"; + leaf num-blocks { + type uint8; + description + "Num Blocks"; + } + list block-info { + description + "block info"; + uses FIA-EDM-DEVICE-STATS-BLK-INFO; + } + } + + grouping FIA-EDM-STATS-INFO { + description + "FIA EDM STATS INFO"; + container stats-info { + description + "stats info"; + uses FIA-EDM-DEVICE-STATS-ASIC-INFO; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf rack-no { + type uint32; + description + "rack no"; + } + leaf slot-no { + type uint32; + description + "slot no"; + } + leaf asic-instance { + type uint32; + description + "asic instance"; + } + leaf chip-ver { + type uint16; + description + "chip ver"; + } + } + + grouping FIA-EDM-DIAG-SHELL-OUTPUT { + description + "FIA EDM DIAG SHELL OUTPUT"; + leaf output-xr { + type string; + description + "output xr"; + } + } + + grouping FIA-EDM-TXLINK-STATS { + description + "FIA EDM TXLINK STATS"; + leaf dummy { + type uint32; + description + "dummy"; + } + } + + grouping FIA-EDM-TXLINK { + description + "FIA EDM TXLINK"; + container this-link { + description + "this link"; + uses FIA-EDM-LINK-IDENTITY; + } + container far-end-link { + description + "far end link"; + uses FIA-EDM-LINK-IDENTITY; + } + container stats { + description + "stats"; + uses FIA-EDM-TXLINK-STATS; + } + container history { + description + "history"; + uses FIA-EDM-HISTORY; + } + leaf speed { + type uint32; + description + "speed"; + } + leaf stage { + type uint8; + description + "stage"; + } + leaf is-link-valid { + type boolean; + description + "is link valid"; + } + leaf is-conf-pending { + type boolean; + description + "is conf pending"; + } + leaf is-power-enabled { + type boolean; + description + "is power enabled"; + } + leaf coeff1 { + type uint32; + description + "coeff1"; + } + leaf coeff2 { + type uint32; + description + "coeff2"; + } + leaf admin-state { + type Admin-state; + description + "Admin State"; + } + leaf oper-state { + type Oper-state; + description + "Oper State"; + } + leaf error-state { + type Link-error-state; + description + "Error State"; + } + leaf num-admin-shuts { + type uint32; + description + "num admin shuts"; + } + } + + grouping FIA-EDM-OIR-HISTORY { + description + "FIA EDM OIR HISTORY"; + leaf card-flag { + type int32; + description + "card flag"; + } + leaf card-type { + type int32; + description + "card type"; + } + leaf reg-flag { + type int32; + description + "reg flag"; + } + leaf evt-flag { + type int32; + description + "evt flag"; + } + leaf rack-num { + type int32; + description + "rack num"; + } + leaf instance { + type int32; + description + "instance"; + } + leaf cur-card-state { + type int32; + description + "cur card state"; + } + } + + grouping FIA-EDM-OIR-RECORD-CIRCULAR-BUFFER { + description + "FIA EDM OIR RECORD CIRCULAR BUFFER"; + leaf count { + type int32; + description + "count"; + } + leaf start { + type int32; + description + "start"; + } + leaf end { + type int32; + description + "end"; + } + list fia-oir-info { + max-elements "10"; + description + "fia oir info"; + uses FIA-EDM-OIR-HISTORY; + } + } + + grouping FIA-EDM-CARD-INFO { + description + "FIA EDM CARD INFO"; + container oir-circular-buffer { + description + "oir circular buffer"; + uses FIA-EDM-OIR-RECORD-CIRCULAR-BUFFER; + } + leaf card-type { + type int32; + description + "card type"; + } + leaf card-name { + type string; + description + "card name"; + } + leaf slot-no { + type int32; + description + "slot no"; + } + leaf card-flag { + type int32; + description + "card flag"; + } + leaf evt-flag { + type int32; + description + "evt flag"; + } + leaf reg-flag { + type int32; + description + "reg flag"; + } + leaf instance { + type int32; + description + "instance"; + } + leaf card-state { + type uint8; + description + "card state"; + } + leaf exp-num-asics { + type uint32; + description + "exp num asics"; + } + leaf exp-num-asics-per-fsdb { + type uint32; + description + "exp num asics per fsdb"; + } + leaf is-powered { + type boolean; + description + "is powered"; + } + leaf cxp-avail-bitmap { + type uint64; + description + "cxp avail bitmap"; + } + leaf num-ilkns-per-asic { + type uint32; + description + "num ilkns per asic"; + } + leaf num-local-ports-per-ilkn { + type uint32; + description + "num local ports per ilkn"; + } + leaf num-cos-per-port { + type uint8; + description + "num cos per port"; + } + } + + grouping FIA-EDM-DEVICE { + description + "FIA EDM DEVICE"; + container asic-id { + description + "asic id"; + uses FIA-EDM-ASIC-IDENTITY; + } + leaf is-valid { + type boolean; + description + "is valid"; + } + leaf fapid { + type uint32; + description + "fapid"; + } + leaf hotplug-event { + type uint32; + description + "hotplug event"; + } + leaf slice-state { + type Slice-state; + description + "Slice State"; + } + leaf admin-state { + type Admin-state; + description + "Admin State"; + } + leaf oper-state { + type Asic-oper-state; + description + "Oper State"; + } + leaf asic-state { + type Asic-access-state; + description + "Asic State"; + } + leaf last-init-cause { + type Asic-init-method; + description + "last init cause"; + } + leaf num-pon-resets { + type uint32; + description + "num pon resets"; + } + leaf num-hard-resets { + type uint32; + description + "num hard resets"; + } + leaf local-switch-state { + type boolean; + description + "local switch state"; + } + } + + grouping FIA-EDM-DRIVER-INFO { + description + "FIA EDM DRIVER INFO"; + leaf drv-version { + type uint32; + description + "drv version"; + } + leaf coeff-major-rev { + type uint32; + description + "coeff major rev"; + } + leaf coeff-minor-rev { + type uint32; + description + "coeff minor rev"; + } + leaf functional-role { + type uint8; + description + "functional role"; + } + leaf issu-role { + type uint8; + description + "issu role"; + } + leaf node-id { + type string; + description + "node id"; + } + leaf rack-type { + type int32; + description + "rack type"; + } + leaf rack-num { + type uint8; + description + "rack num"; + } + leaf is-driver-ready { + type boolean; + description + "is driver ready"; + } + leaf card-avail-mask { + type uint32; + description + "card avail mask"; + } + leaf asic-avail-mask { + type uint64; + description + "asic avail mask"; + } + leaf exp-asic-avail-mask { + type uint64; + description + "exp asic avail mask"; + } + leaf ucmc-ratio { + type uint32; + description + "ucmc ratio"; + } + leaf asic-oper-notify-to-fsdb-pending-bmap { + type uint64; + description + "asic oper notify to fsdb pending bmap"; + } + leaf is-full-fgid-download-req { + type boolean; + description + "is full fgid download req"; + } + leaf is-fgid-download-in-progress { + type boolean; + description + "is fgid download in progress"; + } + leaf is-fgid-download-completed { + type boolean; + description + "is fgid download completed"; + } + leaf fsdb-conn-active { + type boolean; + description + "fsdb conn active"; + } + leaf fgid-conn-active { + type boolean; + description + "fgid conn active"; + } + leaf issu-mgr-conn-active { + type boolean; + description + "issu mgr conn active"; + } + leaf fsdb-reg-active { + type boolean; + description + "fsdb reg active"; + } + leaf fgid-reg-active { + type boolean; + description + "fgid reg active"; + } + leaf issu-mgr-reg-active { + type boolean; + description + "issu mgr reg active"; + } + leaf num-pm-conn-reqs { + type uint8; + description + "num pm conn reqs"; + } + leaf num-fsdb-conn-reqs { + type uint8; + description + "num fsdb conn reqs"; + } + leaf num-fgid-conn-reqs { + type uint8; + description + "num fgid conn reqs"; + } + leaf num-fstats-conn-reqs { + type uint8; + description + "num fstats conn reqs"; + } + leaf num-cm-conn-reqs { + type uint8; + description + "num cm conn reqs"; + } + leaf num-issu-mgr-conn-reqs { + type uint8; + description + "num issu mgr conn reqs"; + } + leaf num-peer-fia-conn-reqs { + type uint8; + description + "num peer fia conn reqs"; + } + leaf is-gaspp-registered { + type boolean; + description + "is gaspp registered"; + } + leaf is-cih-registered { + type boolean; + description + "is cih registered"; + } + leaf drvr-initial-startup-timestamp { + type string; + description + "drvr initial startup timestamp"; + } + leaf drvr-current-startup-timestamp { + type string; + description + "drvr current startup timestamp"; + } + leaf num-intf-ports { + type uint32; + description + "num intf ports"; + } + leaf uc-weight { + type uint8; + description + "uc weight"; + } + leaf respawn-count { + type uint8; + description + "respawn count"; + } + leaf total-asics { + type uint8; + description + "total asics"; + } + leaf issu-ready-ntfy-pending { + type boolean; + description + "issu ready ntfy pending"; + } + leaf issu-abort-sent { + type boolean; + description + "issu abort sent"; + } + leaf issu-abort-rcvd { + type boolean; + description + "issu abort rcvd"; + } + leaf fabric-mode { + type uint8; + description + "fabric mode"; + } + leaf fc-mode { + type Fc-mode; + description + "FC Mode"; + } + leaf board-rev-id { + type uint32; + description + "board rev id"; + } + list device-info { + max-elements "32"; + description + "device info"; + uses FIA-EDM-DEVICE; + } + list card-info { + max-elements "16"; + description + "card info"; + uses FIA-EDM-CARD-INFO; + } + } + + grouping FIA-EDM-STATE-CHANGE { + description + "FIA EDM STATE CHANGE"; + leaf admin-state { + type Admin-state; + description + "Admin State"; + } + leaf oper-state { + type Oper-state; + description + "Oper State"; + } + leaf error-state { + type Link-error-state; + description + "Error State"; + } + leaf timestamp { + type uint64; + description + "timestamp"; + } + leaf reasons { + type string; + description + "reasons"; + } + } + + grouping FIA-EDM-HISTORY { + description + "FIA EDM HISTORY"; + leaf histnum { + type uint8; + description + "histnum"; + } + leaf start-index { + type uint8; + description + "start index"; + } + list hist { + max-elements "5"; + description + "hist"; + uses FIA-EDM-STATE-CHANGE; + } + } + + grouping FIA-EDM-ASIC-IDENTITY { + description + "FIA EDM ASIC IDENTITY"; + leaf rack-type { + type Rack; + description + "Rack Type"; + } + leaf asic-type { + type Asic; + description + "Asic Type"; + } + leaf rack-num { + type uint32; + description + "rack num"; + } + leaf slot-num { + type uint32; + description + "slot num"; + } + leaf asic-instance { + type uint32; + description + "asic instance"; + } + } + + grouping FIA-EDM-LINK-IDENTITY { + description + "FIA EDM LINK IDENTITY"; + container asic-id { + description + "asic id"; + uses FIA-EDM-ASIC-IDENTITY; + } + leaf link-type { + type Link; + description + "Link Type"; + } + leaf link-stage { + type Link-stage; + description + "Link Stage"; + } + leaf link-num { + type uint32; + description + "link num"; + } + leaf phy-link-num { + type uint32; + description + "phy link num"; + } + } + + grouping FIA-EDM-RXLINK { + description + "FIA EDM RXLINK"; + container this-link { + description + "this link"; + uses FIA-EDM-LINK-IDENTITY; + } + container far-end-link { + description + "far end link"; + uses FIA-EDM-LINK-IDENTITY; + } + container far-end-link-in-hw { + description + "far end link in hw"; + uses FIA-EDM-LINK-IDENTITY; + } + container history { + description + "history"; + uses FIA-EDM-HISTORY; + } + leaf speed { + type uint32; + description + "speed"; + } + leaf stage { + type Link-stage; + description + "Stage"; + } + leaf is-link-valid { + type boolean; + description + "is link valid"; + } + leaf is-conf-pending { + type boolean; + description + "is conf pending"; + } + leaf admin-state { + type Admin-state; + description + "Admin State"; + } + leaf oper-state { + type Oper-state; + description + "Oper State"; + } + leaf error-state { + type Link-error-state; + description + "Error State"; + } + leaf flags { + type string; + description + "flags"; + } + leaf flap-cnt { + type uint32; + description + "flap cnt"; + } + leaf num-admin-shuts { + type uint32; + description + "num admin shuts"; + } + leaf correctable-errors { + type uint64; + description + "correctable errors"; + } + leaf uncorrectable-errors { + type uint64; + description + "uncorrectable errors"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper.yang new file mode 100644 index 0000000..e2bef75 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-driver-oper.yang @@ -0,0 +1,379 @@ +module Cisco-IOS-XR-dnx-driver-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-driver-oper"; + prefix dnx-driver-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-dnx-driver-oper-sub1 { + revision-date 2017-08-29; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dnx-driver package operational data. + + This module contains definitions + for the following management objects: + fia: FIA driver operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-29 { + description + "Changed blk and field info to be dynamic."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Link-option-string { + type string { + pattern "(flap)|(topo)"; + } + description + "flap:Display link flap info, topo:Display link + topo info"; + } + + typedef Fia-max-asic-instances { + type uint32 { + range "0..255"; + } + description + "Fia max asic instances"; + } + + typedef Link-info-max-number { + type uint32 { + range "0..47"; + } + description + "Link info max number"; + } + + typedef Diag-shell-unit-number { + type uint32 { + range "0..63"; + } + description + "Diag shell unit number"; + } + + container fia { + config false; + description + "FIA driver operational data"; + container nodes { + description + "FIA driver operational data for available nodes"; + list node { + key "node-name"; + description + "FIA operational data for a particular node"; + container rx-link-information { + description + "FIA link rx information"; + container link-options { + description + "Option table for link rx information"; + list link-option { + key "option"; + description + "Option : topo , flag , stats"; + container rx-asic-instances { + description + "Instance table for rx information"; + list rx-asic-instance { + key "instance"; + description + "Instance number for rx link information"; + container rx-links { + description + "Link table class for rx information"; + list rx-link { + description + "Link number for rx link information"; + leaf start-number { + type Link-info-max-number; + description + "Start number"; + } + leaf end-number { + type Link-info-max-number; + description + "End number"; + } + leaf status-option { + type xr:Cisco-ios-xr-string; + description + "RX link status option"; + } + list rx-link { + key "link"; + description + "Single link information"; + leaf link { + type int32; + description + "Single link"; + } + uses FIA-EDM-RXLINK; + } + } + } + leaf instance { + type Fia-max-asic-instances; + description + "Receive instance"; + } + } + } + leaf option { + type Link-option-string; + description + "Link option"; + } + } + } + } + container driver-information { + description + "FIA driver information"; + uses FIA-EDM-DRIVER-INFO; + } + container clear-statistics { + description + "Clear statistics information"; + container asic-instances { + description + "Instance table for clear statistics + information"; + list asic-instance { + key "asic-instance"; + description + "Asic instance to be cleared"; + leaf asic-instance { + type Fia-max-asic-instances; + description + "Asic instance"; + } + leaf instance { + type int32; + mandatory true; + description + "Clear value"; + } + } + } + } + container tx-link-information { + description + "FIA link TX information"; + container tx-status-option-table { + description + "Link table for tx information"; + container tx-status-option { + description + "Option: data, ctrl, all- for now none"; + container tx-asic-instances { + description + "Instance table for tx information"; + list tx-asic-instance { + key "instance"; + description + "Instance number for tx link information"; + container tx-links { + description + "Link table for tx information"; + list tx-link { + description + "Link number for tx link information"; + leaf start-number { + type Link-info-max-number; + description + "Start number"; + } + leaf end-number { + type Link-info-max-number; + description + "End number"; + } + list tx-link { + key "link"; + description + "Single link information"; + leaf link { + type int32; + description + "Single Link"; + } + uses FIA-EDM-TXLINK; + } + } + } + leaf instance { + type Fia-max-asic-instances; + description + "Transmit instance"; + } + } + } + } + } + } + container diag-shell { + description + "FIA diag shell information"; + container diag-shell-units { + description + "Unit table for diag shell"; + list diag-shell-unit { + key "unit"; + description + "Unit number for diag shell statistics"; + container commands { + description + "Command table for diag shell"; + list command { + key "cmd"; + description + "Command for diag shell statistics"; + leaf cmd { + type string; + description + "Shell command"; + } + list output { + key "output"; + description + "Added to support datalist"; + leaf output { + type xr:Cisco-ios-xr-string; + description + "First line"; + } + uses FIA-EDM-DIAG-SHELL-OUTPUT; + } + } + } + leaf unit { + type Diag-shell-unit-number; + description + "Unit number"; + } + } + } + } + container oir-history { + description + "FIA operational data of oir history"; + container flags { + description + "Flag table for history"; + list flag { + key "flag"; + description + "Flag value for physical location"; + container slots { + description + "Slot table for history"; + list slot { + key "slot"; + description + "Slot number for getting history"; + leaf slot { + type int32; + description + "Slot number"; + } + uses FIA-EDM-DRIVER-INFO; + } + } + leaf flag { + type int32; + description + "Flag value"; + } + } + } + } + container asic-statistics { + description + "FIA asic statistics information"; + container statistics-asic-instances { + description + "Instance table for statistics"; + list statistics-asic-instance { + key "instance"; + description + "Asic instance for statistics"; + container pbc-statistics { + description + "Packet Byte Counter for a Asic"; + container pbc-stats { + description + "PBC stats bag"; + uses FIA-EDM-STATS-INFO; + } + } + container fmac-statistics { + description + "Statistics of FMAC"; + container fmac-links { + description + "Link table for statistics"; + list fmac-link { + key "link"; + description + "Link number for statistics"; + leaf link { + type int32; + description + "Link number"; + } + list fmac-asic { + key "asic"; + description + "Single aisc information"; + leaf asic { + type int32; + description + "Single asic"; + } + uses FIA-EDM-STATS-ASIC-FMAC-INFO; + } + } + } + } + leaf instance { + type Fia-max-asic-instances; + description + "Asic instance"; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang new file mode 100644 index 0000000..85f5c15 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub1.yang @@ -0,0 +1,268 @@ +submodule Cisco-IOS-XR-dnx-netflow-oper-sub1 { + belongs-to Cisco-IOS-XR-dnx-netflow-oper { + prefix Cisco-IOS-XR-dnx-netflow-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dnx-netflow package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Flow-monitor-name { + type string; + description + "Flow monitor name"; + } + + grouping NFSVR-COLLECTOR-INFO { + description + "Per collector information"; + leaf exporter-state { + type string; + description + "Exporter state"; + } + leaf destination-address { + type string; + description + "Destination IPv4 address in AAA.BBB.CCC.DDD + format"; + } + leaf source-address { + type string; + description + "Source IPv4 address in AAA.BBB.CCC.DDD format"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf destination-port { + type uint16; + description + "Destination port number"; + } + leaf souce-port { + type uint16; + description + "Source port number"; + } + leaf transport-protocol { + type string; + description + "Transport protocol"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf flows-sent { + type uint64; + description + "Flows sent"; + } + leaf templates-sent { + type uint64; + description + "Templates sent"; + } + leaf option-templates-sent { + type uint64; + description + "Option templates sent"; + } + leaf option-data-sent { + type uint64; + description + "Option data sent"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf flow-bytes-sent { + type uint64; + units "byte"; + description + "Flow bytes sent"; + } + leaf template-bytes-sent { + type uint64; + units "byte"; + description + "Template bytes sent"; + } + leaf option-template-bytes-sent { + type uint64; + units "byte"; + description + "Option template bytes sent"; + } + leaf option-data-bytes-sent { + type uint64; + units "byte"; + description + "Option data bytes sent"; + } + leaf packets-dropped { + type uint64; + description + "Packets dropped"; + } + leaf flows-dropped { + type uint64; + description + "Flows dropped"; + } + leaf templates-dropped { + type uint64; + description + "Templates dropped"; + } + leaf option-templates-dropped { + type uint64; + description + "Option templates dropped"; + } + leaf option-data-dropped { + type uint64; + description + "Option data dropped"; + } + leaf bytes-dropped { + type uint64; + units "byte"; + description + "Bytes dropped"; + } + leaf flow-bytes-dropped { + type uint64; + units "byte"; + description + "Flow bytes dropped"; + } + leaf template-bytes-dropped { + type uint64; + units "byte"; + description + "Template bytes dropped"; + } + leaf option-template-bytes-dropped { + type uint64; + units "byte"; + description + "Option template bytes dropped"; + } + leaf option-data-bytes-dropped { + type uint64; + description + "Option data dropped"; + } + leaf last-hour-packest-sent { + type uint64; + description + "Total packets exported over the last one hour"; + } + leaf last-hour-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one hour"; + } + leaf last-hour-flows-sent { + type uint64; + description + "Total flows exported over the of last one hour"; + } + leaf last-minute-packets { + type uint64; + description + "Total packets exported over the last one minute"; + } + leaf last-minute-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one minute"; + } + leaf last-minute-flows-sent { + type uint64; + description + "Total flows exported over the last one minute"; + } + leaf last-second-packets-sent { + type uint64; + description + "Total packets exported over the last one second"; + } + leaf last-second-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one second"; + } + leaf last-second-flows-sent { + type uint64; + description + "Total flows exported over the last one second"; + } + } + + grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS { + description + "Flow exporter information"; + leaf name { + type string; + description + "Exporter name"; + } + leaf memory-usage { + type uint32; + description + "Memory usage"; + } + leaf-list used-by-flow-monitor { + type Flow-monitor-name; + description + "List of flow monitors that use the exporter"; + } + list collector { + description + "Statistics of all collectors"; + uses NFSVR-COLLECTOR-INFO; + } + } + + grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY { + description + "Flow exporter information"; + list statistic { + description + "Array of flow exporters"; + uses NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang new file mode 100644 index 0000000..95b56e2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper-sub2.yang @@ -0,0 +1,105 @@ +submodule Cisco-IOS-XR-dnx-netflow-oper-sub2 { + belongs-to Cisco-IOS-XR-dnx-netflow-oper { + prefix Cisco-IOS-XR-dnx-netflow-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dnx-netflow package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NF-PRODUCER-STATS { + description + "Netflow Platform Producer Process statistics"; + leaf ipv4-ingress-flows { + type uint64; + description + "IPv4 ingress flows"; + } + leaf ipv4-egress-flows { + type uint64; + description + "IPv4 egress flows"; + } + leaf ipv6-ingress-flows { + type uint64; + description + "IPv6 ingress flows"; + } + leaf ipv6-egress-flows { + type uint64; + description + "IPv6 egress flows"; + } + leaf mpls-ingress-flows { + type uint64; + description + "MPLS ingress flows"; + } + leaf mpls-egress-flows { + type uint64; + description + "MPLS egress flows"; + } + leaf ipfix315-ingress-flows { + type uint64; + description + "IPFIX315 ingress flows"; + } + leaf ipfix315-egress-flows { + type uint64; + description + "IPFIX315 egress flows"; + } + leaf drops-no-space { + type uint64; + description + "Drops (no space)"; + } + leaf drops-others { + type uint64; + description + "Drops (others)"; + } + leaf unknown-ingress-flows { + type uint64; + description + "Unknown ingress flows"; + } + leaf unknown-egress-flows { + type uint64; + description + "Unknown egress flows"; + } + leaf waiting-servers { + type uint64; + description + "Number of waiting servers"; + } + leaf last-cleared { + type string; + description + "Last time Statistics cleared in 'Mon Jan 1 12:00 + :00 2xxx' format"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper.yang new file mode 100644 index 0000000..30e6788 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-netflow-oper.yang @@ -0,0 +1,95 @@ +module Cisco-IOS-XR-dnx-netflow-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-netflow-oper"; + prefix dnx-netflow-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-dnx-netflow-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-dnx-netflow-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dnx-netflow package operational data. + + This module contains definitions + for the following management objects: + net-flow: NetFlow operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container net-flow { + config false; + description + "NetFlow operational data"; + container statistics { + description + "Node-specific NetFlow statistics information"; + list statistic { + key "node"; + description + "NetFlow statistics information for a particular + node"; + container producer { + description + "NetFlow producer statistics"; + container statistics { + description + "Statistics information"; + uses NF-PRODUCER-STATS; + } + } + container server { + description + "NetFlow server statistics"; + container flow-exporters { + description + "Flow exporter information"; + list flow-exporter { + key "exporter-name"; + description + "Exporter information"; + container exporter { + description + "Statistics information for the exporter"; + uses NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY; + } + leaf exporter-name { + type xr:Cisco-ios-xr-string; + description + "Exporter name"; + } + } + } + } + leaf node { + type xr:Node-id; + description + "Node location"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang new file mode 100644 index 0000000..1df9baf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper-sub1.yang @@ -0,0 +1,89 @@ +submodule Cisco-IOS-XR-dnx-port-mapper-oper-sub1 { + belongs-to Cisco-IOS-XR-dnx-port-mapper-oper { + prefix Cisco-IOS-XR-dnx-port-mapper-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dnx-port-mapper package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping OOR-INTERFACE-DETAIL { + description + "OOR specific details for the interface"; + leaf interface-name { + type string; + description + "Name of the interface"; + } + leaf interface-status { + type string; + description + "The current state of the interface"; + } + leaf time-stamp { + type string; + description + "Timestamp"; + } + leaf npu-id { + type string; + description + "Npuid of the interface"; + } + leaf hardware-resource { + type string; + description + "Type of harware resoruce"; + } + } + + grouping OOR-INTERFACE-INFO { + description + "OOR specific details for the bundle interface"; + list interface { + description + "Interface details"; + uses OOR-INTERFACE-DETAIL; + } + } + + grouping OOR-SUMMARY { + description + "Lists interfaces in each of the three states"; + leaf red { + type uint32; + description + "interfaces in red state"; + } + leaf green { + type uint32; + description + "interfaces in green state"; + } + leaf yel-low { + type uint32; + description + "interfaces in yellow state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper.yang new file mode 100644 index 0000000..7bf17d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dnx-port-mapper-oper.yang @@ -0,0 +1,79 @@ +module Cisco-IOS-XR-dnx-port-mapper-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-port-mapper-oper"; + prefix dnx-port-mapper-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-dnx-port-mapper-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dnx-port-mapper package operational data. + + This module contains definitions + for the following management objects: + oor: Out of Resource Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container oor { + config false; + description + "Out of Resource Data"; + container nodes { + description + "OOR data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container summary { + description + "Summary"; + uses OOR-SUMMARY; + } + container interface-names { + description + "OOR Interface Information"; + list interface-name { + key "interface-name"; + description + "OOR Data for particular interface"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "The name of the interface"; + } + uses OOR-INTERFACE-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-cfg.yang new file mode 100644 index 0000000..0302ae5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-cfg.yang @@ -0,0 +1,138 @@ +module Cisco-IOS-XR-dot1x-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-cfg"; + prefix dot1x-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dot1x package configuration. + + This module contains definitions + for the following management objects: + dot1x: Global Dot1x Configuration + eap: eap + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dot1xpae { + type string { + pattern "(supplicant)|(authenticator)|(both)"; + } + description + "supplicant:PAE Type as Supplicant, authenticator: + PAE type as Authenticator, both: PAE type as + Supplicant & Authenticator"; + } + + typedef Dot1x-reauth-local-interval { + type uint32 { + range "60..5184000"; + } + description + "Dot1x reauth local interval"; + } + + container dot1x { + description + "Global Dot1x Configuration"; + list dot1x-profile { + key "profile-name"; + description + "Global Dot1x Profile Name"; + container supplicant { + description + "Dot1x Supplicant Related Configuration"; + leaf eap-profile { + type string; + description + "EAP Profile for Supplicant"; + } + } + container authenticator { + description + "Dot1x Authenticator Related Configuration"; + container timers { + description + "Timers for Authenticator"; + container reauth-time { + description + "After this time ReAuthentication will be + trigerred"; + leaf server { + type boolean; + description + "Reauth will be triggerred based on the EAP + server configuration"; + } + leaf local { + type Dot1x-reauth-local-interval; + units "second"; + description + "Reauth will be triggerred based on the + configuration in box"; + } + } + } + } + leaf pae { + type Dot1xpae; + description + "Dot1x PAE (Port Access Entity) Role"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Name of the Dot1x Profile"; + } + } + } + container eap { + description + "eap"; + list eap-profile { + key "profile-name"; + description + "Global EAP Profile Configuration"; + container eaptls { + description + "EAP TLS Configuration"; + leaf pki-trustpoint { + type string; + description + "Configure PKI Trustpoint"; + } + } + leaf identity { + type string; + description + "Configure EAP Identity/UserName"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Name of the EAP Profile"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-if-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-if-cfg.yang new file mode 100644 index 0000000..b2cf34a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-if-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-dot1x-if-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-if-cfg"; + prefix dot1x-if-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dot1x-if package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container dot1x-interface { + description + "Interface Specific Dot1x Configuration"; + leaf dot1x-profile { + type string; + description + "Name of Dot1x profile"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper-sub1.yang new file mode 100644 index 0000000..4fbec00 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper-sub1.yang @@ -0,0 +1,537 @@ +submodule Cisco-IOS-XR-dot1x-oper-sub1 { + belongs-to Cisco-IOS-XR-dot1x-oper { + prefix Cisco-IOS-XR-dot1x-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dot1x package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DOT1X-INTERFACE-MKA { + description + "DOT1X INTERFACE MKA"; + leaf tie-break-role { + type string; + description + "Dot1x Tie breaker role chosen for mka when PAE + type is BOTH"; + } + leaf eap-based-macsec { + type string; + description + "EAP Mode status for MKA"; + } + leaf mka-start-time { + type string; + description + "Time stamp when Dot1x posting a message to MKA + to start session."; + } + leaf mka-stop-time { + type string; + description + "Time stamp when Dot1x posting a message to MKA + to stop session."; + } + leaf mka-response-time { + type string; + description + "Time Stamp of MKA acknowledgement to Dot1x"; + } + } + + grouping DOT1X-SUPP-CLIENT-INFO { + description + "DOT1X SUPP CLIENT INFO"; + leaf mac { + type string; + description + "formatted MAC Address"; + } + leaf eap-method { + type string; + description + "EAP Method"; + } + leaf last-auth-time { + type string; + description + "Last Authenticated Timestamp (formatted)"; + } + leaf auth-sm-state { + type string; + description + "supp SM State"; + } + leaf auth-bend-sm-state { + type string; + description + "supp back end SM State"; + } + } + + grouping DOT1X-SUPP-INFO { + description + "DOT1X SUPP INFO"; + leaf eap-profile { + type string; + description + "EAP profile"; + } + leaf config-dependency { + type string; + description + "Configuration Dependency "; + } + list client { + description + "Supp Client info"; + uses DOT1X-SUPP-CLIENT-INFO; + } + } + + grouping DOT1X-AUTH-CLIENT-INFO { + description + "DOT1X AUTH CLIENT INFO"; + leaf mac { + type string; + description + "formatted MAC Address"; + } + leaf auth-sm-state { + type string; + description + "Auth SM State"; + } + leaf auth-bend-sm-state { + type string; + description + "Auth back end SM State"; + } + leaf time-to-next-reauth { + type string; + description + "remaining time for next reauthentication"; + } + leaf last-auth-time { + type string; + description + "Last Authenticated Timestamp (formatted)"; + } + } + + grouping DOT1X-AUTH-INFO { + description + "DOT1X AUTH INFO"; + leaf reauth { + type string; + description + "Re-Authentication enabled status"; + } + leaf config-dependency { + type string; + description + "Configuration Dependency "; + } + list client { + description + "Authenticator client list"; + uses DOT1X-AUTH-CLIENT-INFO; + } + } + + grouping DOT1X-INTERFACE-INFO { + description + "DOT1X INTERFACE INFO"; + container auth-info { + description + "Dot1x Authenticator info"; + uses DOT1X-AUTH-INFO; + } + container supp-info { + description + "Dot1x Supplicant info"; + uses DOT1X-SUPP-INFO; + } + leaf pae { + type string; + description + "PAE type on interface"; + } + leaf port-status { + type string; + description + "Dot1x Port Status"; + } + leaf dot1x-profile { + type string; + description + "Dot1x Profile"; + } + } + + grouping DOT1X-INTERFACE-DETAIL { + description + "DOT1X INTERFACE DETAIL"; + container intf-info { + description + "Dot1x interface Info"; + uses DOT1X-INTERFACE-INFO; + } + container mka-status-info { + description + "MKA session secure status"; + uses DOT1X-INTERFACE-MKA; + } + leaf interface-name { + type string; + description + "Interface Display name "; + } + leaf interface-sname { + type string; + description + "Interface Display short_name "; + } + leaf if-handle { + type string; + description + "Interface handle"; + } + leaf mac { + type string; + description + "formatted MAC Address"; + } + leaf ethertype { + type string; + description + "EAPOL Ethertype"; + } + } + + grouping DOT1X-GLOBAL-STATISTICS { + description + "DOT1X GLOBAL STATISTICS"; + leaf tx-total { + type uint32; + description + "TxTotal"; + } + leaf rx-total { + type uint32; + description + "RxTotal"; + } + leaf rx-no-idb { + type uint32; + description + "RxNoIDB"; + } + } + + grouping DOT1X-STATISTICS { + description + "DOT1X STATISTICS"; + container gl-stats { + description + "Global statistics"; + uses DOT1X-GLOBAL-STATISTICS; + } + list if-stats { + description + "dot1x interface statistics list"; + uses DOT1X-IF-STATISTICS; + } + } + + grouping DOT1X-SUPP-TIMERS { + description + "DOT1X SUPP TIMERS"; + leaf auth-period { + type uint32; + units "second"; + description + "in Seconds, supplicant waits for a response from + an authenticator except for EAPOL-START before + timing out"; + } + leaf held-period { + type uint32; + units "second"; + description + "in Seconds, supplicant will stay in the HELD + state (that is, the length of time it will wait + before trying to send the credentials again + after a failed attempt)"; + } + leaf start-period { + type uint32; + units "second"; + description + "Configures the interval, in seconds, between two + successive EAPOL-Start frames when they are + being retransmitted"; + } + leaf max-start { + type uint32; + description + "Max No. of EAPOL-Start frames supplicant can + send to the authenticator"; + } + } + + grouping DOT1X-AUTH-TIMERS { + description + "DOT1X AUTH TIMERS"; + leaf quiet-period { + type uint32; + units "second"; + description + "in Seconds, authenticator remains quiet (in the + HELD state) following a failed authentication + exchange before trying to reauthenticate the + client"; + } + leaf tx-period { + type uint32; + units "second"; + description + "in Seconds, Timeout for supplicant reply, + authenticator-to-supplicant retransmission time + for EAP-request-ID packets (assuming that no + response is received) from the client"; + } + leaf max-reauth-req { + type uint32; + description + "Max No. of Reauthentication Attempts (or) + retransmits an EAP-request-ID frame to the + client before restarting the authentication + process"; + } + leaf supp-timeout { + type uint32; + units "second"; + description + "in Seconds, Timeout for supplicant reply, + authenticator-to-supplicant retransmission time + for all EAP messages except for EAP Request ID + packets"; + } + leaf max-req { + type uint32; + description + "Max No. of EAP-Req (except for EAP-Request-ID) + retransmits (authenticator-to-supplicant) before + sending EAP-Failure"; + } + leaf reauth-period { + type uint32; + units "second"; + description + "in Seconds, after which an automatic + reauthentication should be initiated"; + } + } + + grouping DOT1X-DEFAULT { + description + "DOT1X DEFAULT"; + container auth-timers { + description + "Dot1x Authenticator default Timer values"; + uses DOT1X-AUTH-TIMERS; + } + container supp-timers { + description + "Dot1x Supllicant default Timer values"; + uses DOT1X-SUPP-TIMERS; + } + leaf version { + type uint32; + description + "Dot1x Protocol Version"; + } + } + + grouping DOT1X-IF-SUPP-STATISTICS { + description + "DOT1X IF SUPP STATISTICS"; + leaf rx-req { + type uint32; + description + "RxReq"; + } + leaf rx-invalid { + type uint32; + description + "RxInvalid"; + } + leaf rx-len-err { + type uint32; + description + "RxLenErr"; + } + leaf rx-my-mac-err { + type uint32; + description + "RxMyMacErr"; + } + leaf rx-total { + type uint32; + description + "RxTotal"; + } + leaf tx-start { + type uint32; + description + "TxStart"; + } + leaf tx-logoff { + type uint32; + description + "TxLogoff"; + } + leaf tx-resp { + type uint32; + description + "TxResp"; + } + leaf tx-total { + type uint32; + description + "TxTotal"; + } + } + + grouping DOT1X-IF-AUTH-STATISTICS { + description + "DOT1X IF AUTH STATISTICS"; + leaf rx-start { + type uint32; + description + "RxStart"; + } + leaf rx-logoff { + type uint32; + description + "RxLogoff"; + } + leaf rx-resp { + type uint32; + description + "RxResp"; + } + leaf rx-resp-id { + type uint32; + description + "RxRespID"; + } + leaf rx-invalid { + type uint32; + description + "RxInvalid"; + } + leaf rx-len-err { + type uint32; + description + "RxLenErr"; + } + leaf rx-my-mac-err { + type uint32; + description + "RxMyMacErr"; + } + leaf rx-total { + type uint32; + description + "RxTotal"; + } + leaf tx-req { + type uint32; + description + "TxReq"; + } + leaf tx-reqid { + type uint32; + description + "TxReqID"; + } + leaf tx-total { + type uint32; + description + "TxTotal"; + } + } + + grouping DOT1X-IDB-STATISTICS { + description + "DOT1X IDB STATISTICS"; + leaf rx-total { + type uint32; + description + "RxTotal"; + } + leaf tx-total { + type uint32; + description + "TxTotal"; + } + leaf no-rx-on-intf-down { + type uint32; + description + "NoRxOnIntfDown"; + } + } + + grouping DOT1X-IF-STATISTICS { + description + "DOT1X IF STATISTICS"; + container idb { + description + "Dot1x interface database Statistics"; + uses DOT1X-IDB-STATISTICS; + } + container auth { + description + "Dot1x Authenticator Port Statistics"; + uses DOT1X-IF-AUTH-STATISTICS; + } + container supp { + description + "Dot1x Supplicant Port Statistics"; + uses DOT1X-IF-SUPP-STATISTICS; + } + leaf interface-name { + type string; + description + "Interface Display name "; + } + leaf pae { + type string; + description + "PAE type on interface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper.yang new file mode 100644 index 0000000..83472fd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dot1x-oper.yang @@ -0,0 +1,107 @@ +module Cisco-IOS-XR-dot1x-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dot1x-oper"; + prefix dot1x-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-dot1x-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dot1x package operational data. + + This module contains definitions + for the following management objects: + dot1x: Dot1x operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container dot1x { + config false; + description + "Dot1x operational data"; + container statistics { + description + "Dot1x operational data"; + container interface-statistics { + description + "Interfaces with Dot1x"; + list interface-statistic { + key "name"; + description + "Dot1x Data for that Interface"; + leaf name { + type xr:Interface-name; + description + "Interface Name"; + } + uses DOT1X-IF-STATISTICS; + } + } + } + container nodes { + description + "Node-specific Dot1x operational data"; + list node { + key "node-name"; + description + "Dot1x operational data for a particular node"; + container dot1x-defaults { + description + "Dot1x Default Values"; + uses DOT1X-DEFAULT; + } + container statistics { + description + "Dot1x Default Values"; + uses DOT1X-STATISTICS; + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + container session { + description + "Dot1x operational data"; + container interface-sessions { + description + "Interfaces with Dot1x"; + list interface-session { + key "name"; + description + "Dot1x Data for that Interface"; + leaf name { + type xr:Interface-name; + description + "Interface Name"; + } + uses DOT1X-INTERFACE-DETAIL; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang new file mode 100644 index 0000000..2f91702 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-icpe-ethernet-cfg.yang @@ -0,0 +1,101 @@ +module Cisco-IOS-XR-drivers-icpe-ethernet-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-icpe-ethernet-cfg"; + prefix drivers-icpe-ethernet-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR drivers-icpe-ethernet package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Extended-ethernet-loopback { + type enumeration { + enum "internal" { + value 1; + description + "Internal loopback"; + } + enum "line" { + value 2; + description + "Line loopback"; + } + } + description + "Extended ethernet loopback"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf laser-squelch { + type empty; + description + "Configure Laser-Squelch"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container loopbacks { + description + "Configure Extended loopback (diagnostics)"; + list loopback { + key "level"; + description + "Configure extended loopback mode"; + leaf level { + type uint32 { + range "1..3"; + } + description + "Level"; + } + leaf loopback { + type Extended-ethernet-loopback; + mandatory true; + description + "Loopback"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf perf-mon-disable { + type empty; + description + "Configure Performance Monitoring "; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-cfg.yang new file mode 100644 index 0000000..cb1d562 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-cfg.yang @@ -0,0 +1,313 @@ +module Cisco-IOS-XR-drivers-media-eth-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-cfg"; + prefix drivers-media-eth-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR drivers-media-eth package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ethernet-auto-negotiation { + type enumeration { + enum "true" { + value 1; + description + "IEEE Standard auto-negotiation"; + } + enum "override" { + value 2; + description + "Auto-negotiation with configuration override"; + } + } + description + "Ethernet auto negotiation"; + } + + typedef Ethernet-fec { + type enumeration { + enum "none" { + value 0; + description + "Disable any FEC enabled on the interface"; + } + enum "standard" { + value 1; + description + "Enable standard (Reed-Solomon) FEC"; + } + } + description + "Ethernet fec"; + } + + typedef Ethernet-flow-ctrl { + type enumeration { + enum "ingress" { + value 0; + description + "Ingress flow control (sending pause frames)"; + } + enum "egress" { + value 1; + description + "Egress flow control (received pause frames)"; + } + enum "bidirectional" { + value 2; + description + "Bi-direction flow control"; + } + } + description + "Ethernet flow ctrl"; + } + + typedef Ethernet-duplex { + type enumeration { + enum "full" { + value 0; + description + "Full duplex"; + } + enum "half" { + value 1; + description + "Half duplex"; + } + } + description + "Ethernet duplex"; + } + + typedef Ethernet-loopback { + type enumeration { + enum "external" { + value 0; + description + "External loopback (using loopback connector)"; + } + enum "internal" { + value 1; + description + "Internal loopback"; + } + enum "line" { + value 2; + description + "Line loopback"; + } + } + description + "Ethernet loopback"; + } + + typedef Ethernet-speed { + type enumeration { + enum "10" { + value 10; + description + "10Mbits/s"; + } + enum "100" { + value 100; + description + "100Mbits/s"; + } + enum "1000" { + value 1000; + description + "1Gbits/s"; + } + } + description + "Ethernet speed"; + } + + typedef Ethernet-ipg { + type enumeration { + enum "non-standard" { + value 16; + description + "Non standard IPG"; + } + } + description + "Ethernet ipg"; + } + + typedef Ethernet-pfc { + type enumeration { + enum "on" { + value 1; + description + "Enable priority flow control"; + } + } + description + "Ethernet pfc"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ethernet { + description + "Ether specific interface configuration"; + container signal-fail-bit-error-rate { + description + "Signal Fail Bit Error Rate handling options"; + leaf signal-remote-fault { + type empty; + description + "Signal a remote fault to the peer device + whenever the link is taken down due to + crossing the SF-BER threshold"; + } + leaf signal-fail-threshold { + type uint32 { + range "4..12"; + } + default "4"; + description + "Set the Signal Fail bit error rate threshold + on an interface to a value of 10e-x, where x + is the value passed in here"; + } + leaf signal-fail-report-disable { + type empty; + description + "Disable generation of an alarm whenever the + SF-BER threshold is crossed for this interface"; + } + } + container optical-power-degrade { + description + "Optical power degrade handling options"; + leaf rx-alarm-threshold { + type int32 { + range "-300..50"; + } + description + "Set the value of the received optical power + degrade alarm threshold on an interface"; + } + } + container signal-degrade-bit-error-rate { + description + "Signal Degrade Bit Error Rate handling options"; + leaf signal-degrade-threshold { + type uint32 { + range "3..12"; + } + default "6"; + description + "Set the Signal Degrade bit error rate + threshold on an interface to a value of 10e-x, + where x is the value passed in here"; + } + leaf signal-degrade-report { + type empty; + description + "Generate an alarm whenever the SD-BER + threshold is crossed for this interface"; + } + } + container carrier-delay { + description + "Set the carrier transition delay on an + interface in msecs"; + leaf carrier-delay-up { + type uint32 { + range "0..2147483647"; + } + description + "Carrier Delay (up) in msecs"; + } + leaf carrier-delay-down { + type uint32 { + range "0..2147483647"; + } + description + "Carrier Delay (down) in msecs"; + } + } + leaf duplex { + type Ethernet-duplex; + description + "Configure duplex operational mode"; + } + leaf auto-negotiation { + type Ethernet-auto-negotiation; + description + "Link auto-negotiation"; + } + leaf flow-control { + type Ethernet-flow-ctrl; + description + "Configure flow-control mode"; + } + leaf forward-error-correction { + type Ethernet-fec; + description + "Forward Error Correction"; + } + leaf priority-flow-control { + type Ethernet-pfc; + description + "Configure priority flow-control mode"; + } + leaf loopback { + type Ethernet-loopback; + description + "Configure loopback mode"; + } + leaf speed { + type Ethernet-speed; + description + "Set the ethernet speed on an interface"; + } + leaf inter-packet-gap { + type Ethernet-ipg; + description + "Inter-packet gap"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang new file mode 100644 index 0000000..da7f28b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper-sub1.yang @@ -0,0 +1,3344 @@ +submodule Cisco-IOS-XR-drivers-media-eth-oper-sub1 { + belongs-to Cisco-IOS-XR-drivers-media-eth-oper { + prefix Cisco-IOS-XR-drivers-media-eth-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR drivers-media-eth package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-04-04 { + description + "Added new fields to phy data."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ethernet-dev-if { + type enumeration { + enum "no-interface" { + description + "no interface"; + } + enum "xgmii" { + description + "xgmii"; + } + enum "xaui" { + description + "xaui"; + } + enum "ethernet-num-dev-if" { + description + "ethernet num dev if"; + } + } + description + "Ethernet dev if"; + } + + typedef Ethernet-dev { + type enumeration { + enum "no-device" { + description + "no device"; + } + enum "pma-pmd" { + description + "pma pmd"; + } + enum "wis" { + description + "wis"; + } + enum "pcs" { + description + "pcs"; + } + enum "phy-xs" { + description + "phy xs"; + } + enum "dte-xs" { + description + "dte xs"; + } + enum "ethernet-num-dev" { + description + "ethernet num dev"; + } + } + description + "Ethernet dev"; + } + + typedef Ethernet-bert-pattern { + type enumeration { + enum "no-test-pattern" { + description + "no test pattern"; + } + enum "high-frequency" { + description + "high frequency"; + } + enum "low-frequency" { + description + "low frequency"; + } + enum "mixed-frequency" { + description + "mixed frequency"; + } + enum "continuous-random" { + description + "continuous random"; + } + enum "continuous-jitter" { + description + "continuous jitter"; + } + enum "long-continuous-random" { + description + "long continuous random"; + } + enum "short-continuous-random" { + description + "short continuous random"; + } + enum "pseudorandom-seed-a" { + description + "pseudorandom seed a"; + } + enum "pseudorandom-seed-b" { + description + "pseudorandom seed b"; + } + enum "prbs31" { + description + "prbs31"; + } + enum "square-wave" { + description + "square wave"; + } + enum "pseudorandom" { + description + "pseudorandom"; + } + enum "ethernet-bert-pattern-types" { + description + "ethernet bert pattern types"; + } + } + description + "Ethernet test patterns (IEEE spec 36A/48A)"; + } + + typedef Ethernet-bert-err-cnt { + type enumeration { + enum "no-count-type" { + description + "no count type"; + } + enum "bit-error-count" { + description + "bit error count"; + } + enum "frame-error-count" { + description + "frame error count"; + } + enum "block-error-count" { + description + "block error count"; + } + enum "ethernet-bert-err-cnt-types" { + description + "ethernet bert err cnt types"; + } + } + description + "Ethernet bert err cnt"; + } + + typedef Ethernet-bert-mask { + type uint32; + description + "Ethernet bert mask"; + } + + typedef Ether-ains-status { + type enumeration { + enum "ains-soak-status-none" { + description + "AINS Soak timer not running"; + } + enum "ains-soak-status-pending" { + description + "AINS Soak timer pending"; + } + enum "ains-soak-status-running" { + description + "AINS Soak timer running"; + } + } + description + "Ether ains status"; + } + + typedef Mac-addr { + type yang:mac-address; + description + "Mac addr"; + } + + typedef Ether-pfc { + type enumeration { + enum "no-pfc" { + description + "No priority flow control (disabled)"; + } + enum "on" { + description + "Priority flow control enabled"; + } + } + description + "Priority flowcontrol type"; + } + + typedef Eth-ctrlr-alarm-state { + type enumeration { + enum "alarm-not-supported" { + value 0; + description + "Not supported on this interface"; + } + enum "alarm-set" { + value 1; + description + "Alarm set"; + } + enum "alarm-not-set" { + value 2; + description + "Alarm not set"; + } + } + description + "Ethernet alarm state"; + } + + typedef Ethernet-ipg { + type enumeration { + enum "standard" { + description + "IEEE standard value of 12"; + } + enum "non-standard" { + description + "Non-standard value of 16"; + } + } + description + "Inter packet gap"; + } + + typedef Ether-flowcontrol { + type enumeration { + enum "no-flowcontrol" { + description + "No flow control (disabled)"; + } + enum "egress" { + description + "Traffic egress (pause frames ingress)"; + } + enum "ingress" { + description + "Traffic ingress (pause frames egress)"; + } + enum "bidirectional" { + description + "On both ingress and egress"; + } + } + description + "Flowcontrol type"; + } + + typedef Ethernet-duplex { + type enumeration { + enum "ethernet-duplex-invalid" { + description + "ethernet duplex invalid"; + } + enum "half-duplex" { + description + "half duplex"; + } + enum "full-duplex" { + description + "full duplex"; + } + } + description + "Duplexity"; + } + + typedef Ethernet-speed { + type enumeration { + enum "ethernet-speed-invalid" { + value 0; + description + "ethernet speed invalid"; + } + enum "ten-mbps" { + value 1; + description + "ten mbps"; + } + enum "hundred-mbps" { + value 2; + description + "hundred mbps"; + } + enum "one-gbps" { + value 3; + description + "one gbps"; + } + enum "ten-gbps" { + value 4; + description + "ten gbps"; + } + enum "twenty-five-gbps" { + value 5; + description + "twenty five gbps"; + } + enum "forty-gbps" { + value 6; + description + "forty gbps"; + } + enum "fifty-gbps" { + value 7; + description + "fifty gbps"; + } + enum "hundred-gbps" { + value 8; + description + "hundred gbps"; + } + enum "two-hundred-gbps" { + value 9; + description + "two hundred gbps"; + } + enum "four-hundred-gbps" { + value 10; + description + "four hundred gbps"; + } + enum "ethernet-speed-types-count" { + value 11; + description + "ethernet speed types count"; + } + } + description + "Speed"; + } + + typedef Ether-autoneg-mask { + type uint32; + description + "Ether autoneg mask"; + } + + typedef Ether-led-state { + type enumeration { + enum "led-state-unknown" { + description + "LED state is unknown"; + } + enum "led-off" { + description + "LED is off"; + } + enum "green-on" { + description + "LED is green"; + } + enum "green-flashing" { + description + "LED is flashing green"; + } + enum "yellow-on" { + description + "LED is yellow"; + } + enum "yellow-flashing" { + description + "LED is flashing yellow"; + } + enum "red-on" { + description + "LED is red"; + } + enum "red-flashing" { + description + "LED is flashing red"; + } + } + description + "Ether led state"; + } + + typedef Ether-link-state { + type enumeration { + enum "state-undefined" { + description + "State undefined"; + } + enum "unknown-state" { + description + "Initializing, true state not yet known"; + } + enum "available" { + description + "Link or light normal, loopback normal"; + } + enum "not-available" { + description + "Link loss or low light, no loopback"; + } + enum "remote-fault" { + description + "Remote fault with no detail"; + } + enum "invalid-signal" { + description + "Invalid signal, applies only to 10BASE-FB"; + } + enum "remote-jabber" { + description + "Remote fault, reason known to be jabber"; + } + enum "link-loss" { + description + "Remote fault, reason known to be far-end link + loss"; + } + enum "remote-test" { + description + "Remote fault, reason known to be test"; + } + enum "offline" { + description + "Offline (applies to auto-negotiation)"; + } + enum "auto-neg-error" { + description + "Auto-Negotiation Error"; + } + enum "pmd-link-fault" { + description + "PMD/PMA receive link fault"; + } + enum "frame-loss" { + description + "WIS loss of frames"; + } + enum "signal-loss" { + description + "WIS loss of signal"; + } + enum "link-fault" { + description + "PCS receive link fault"; + } + enum "excessive-ber" { + description + "PCS Bit Error Rate monitor reporting excessive + error rate"; + } + enum "dxs-link-fault" { + description + "DTE XGXS receive link fault"; + } + enum "pxs-link-fault" { + description + "PHY XGXS transmit link fault"; + } + enum "security" { + description + "Security failure (not a valid part)"; + } + enum "phy-not-present" { + description + "The optics for the port are not present"; + } + enum "no-optic-license" { + description + "License error (No advanced optical license)"; + } + enum "unsupported-module" { + description + "Module is not supported"; + } + enum "dwdm-laser-shut" { + description + "DWDM Laser shutdown"; + } + enum "wanphy-laser-shut" { + description + "WANPHY Laser shutdown"; + } + enum "incompatible-config" { + description + "Incompatible configuration"; + } + enum "system-error" { + description + "System error"; + } + enum "wan-framing-error" { + description + "WAN Framing Error"; + } + enum "otn-framing-error" { + description + "OTN Framing Error"; + } + enum "shutdown" { + description + "Link is shutdown"; + } + } + description + "Ethernet link state: IEEE 802.3/802.3ae clause 30 + .5.1.1.4"; + } + + typedef Ethernet-fec { + type enumeration { + enum "not-configured" { + description + "FEC not configured"; + } + enum "standard" { + description + "Reed-Solomon encoding"; + } + enum "disabled" { + description + "FEC explicitly disabled"; + } + enum "base-r" { + description + "BASE-R encoding"; + } + } + description + "FEC type"; + } + + typedef Ethernet-loopback { + type enumeration { + enum "no-loopback" { + description + "Disabled"; + } + enum "internal" { + description + "Loopback in the framer"; + } + enum "line" { + description + "Loops peer's packets back to them"; + } + enum "external" { + description + "tx externally connected to rx"; + } + } + description + "Loopback type"; + } + + typedef Ether-dom-alarm { + type enumeration { + enum "no-information" { + description + "DOM Alarm information is not available"; + } + enum "alarm-high" { + description + "Alarm high"; + } + enum "warning-high" { + description + "Warning high"; + } + enum "normal" { + description + "Within normal parameters"; + } + enum "warning-low" { + description + "Warning low"; + } + enum "alarm-low" { + description + "Alarm low"; + } + } + description + "Ether dom alarm"; + } + + typedef Ether-phy-present { + type enumeration { + enum "phy-not-present" { + description + "No PHY present"; + } + enum "phy-present" { + description + "PHY is present"; + } + enum "no-information" { + description + "State is unknown"; + } + } + description + "Ether phy present"; + } + + typedef Ethernet-media { + type enumeration { + enum "ethernet-other" { + description + "IEEE 802.3/802.3ae clause 30.2.5"; + } + enum "ethernet-unknown" { + description + "Initializing, true state or type not yet known"; + } + enum "ethernet-aui" { + description + "No internal MAU, view from AUI"; + } + enum "ethernet-10base5" { + description + "Thick coax MAU"; + } + enum "ethernet-foirl" { + description + "FOIRL MAU as specified in 9.9"; + } + enum "ethernet-10base2" { + description + "Thin coax MAU"; + } + enum "ethernet-10broad36" { + description + "Broadband DTE MAU"; + } + enum "ethernet-10base" { + description + "UTP MAU, duplexity unknown"; + } + enum "ethernet-10base-thd" { + description + "UTP MAU, half duplex"; + } + enum "ethernet-10base-tfd" { + description + "UTP MAU, full duplex"; + } + enum "ethernet-10base-fp" { + description + "Passive fiber MAU"; + } + enum "ethernet-10base-fb" { + description + "Synchronous fiber MAU"; + } + enum "ethernet-10base-fl" { + description + "Asynchronous fiber MAU, duplexity unknown"; + } + enum "ethernet-10base-flhd" { + description + "Asynchronous fiber MAU, half duplex"; + } + enum "ethernet-10base-flfd" { + description + "Asynchronous fiber MAU, full duplex"; + } + enum "ethernet-100base-t4" { + description + "Four-pair Category 3 UTP"; + } + enum "ethernet-100base-tx" { + description + "Two-pair Category 5 UTP, duplexity unknown"; + } + enum "ethernet-100base-txhd" { + description + "Two-pair Category 5 UTP, half duplex"; + } + enum "ethernet-100base-txfd" { + description + "Two-pair Category 5 UTP, full duplex"; + } + enum "ethernet-100base-fx" { + description + "X fiber over PMD, duplexity unknown"; + } + enum "ethernet-100base-fxhd" { + description + "X fiber over PMD, half duplex"; + } + enum "ethernet-100base-fxfd" { + description + "X fiber over PMD, full duplex"; + } + enum "ethernet-100base-ex" { + description + "X fiber over PMD (40km), duplexity unknown"; + } + enum "ethernet-100base-exhd" { + description + "X fiber over PMD (40km), half duplex"; + } + enum "ethernet-100base-exfd" { + description + "X fiber over PMD (40km), full duplex"; + } + enum "ethernet-100base-t2" { + description + "Two-pair Category 3 UTP, duplexity unknown"; + } + enum "ethernet-100base-t2hd" { + description + "Two-pair Category 3 UTP, half duplex"; + } + enum "ethernet-100base-t2fd" { + description + "Two-pair Category 3 UTP, full duplex"; + } + enum "ethernet-1000base-x" { + description + "X PCS/PMA, duplexity unknown"; + } + enum "ethernet-1000base-xhd" { + description + "X 1000BASE-XHDX PCS/PMA, half duplex"; + } + enum "ethernet-1000base-xfd" { + description + "X PCS/PMA, full duplex"; + } + enum "ethernet-1000base-lx" { + description + "X fiber over long-wl laser PMD, duplexity + unknown"; + } + enum "ethernet-1000base-lxhd" { + description + "X fiber over long-wl laser PMD, half duplex"; + } + enum "ethernet-1000base-lxfd" { + description + "X fiber over long-wl laser PMD, full duplex"; + } + enum "ethernet-1000base-sx" { + description + "X fiber over short-wl laser PMD, duplexity + unknown"; + } + enum "ethernet-1000base-sxhd" { + description + "X fiber over short-wl laser PMD, half duplex"; + } + enum "ethernet-1000base-sxfd" { + description + "X fiber over short-wl laser PMD, full duplex"; + } + enum "ethernet-1000base-cx" { + description + "X copper over 150-Ohm balanced PMD, duplexity + unknown"; + } + enum "ethernet-1000base-cxhd" { + description + "X copper over 150-Ohm balancedPMD, half duplex"; + } + enum "ethernet-1000base-cxfd" { + description + "X copper over 150-Ohm balancedPMD, full duplex"; + } + enum "ethernet-1000base" { + description + "Four-pair Category 5 UTP PHY, duplexity unknown"; + } + enum "ethernet-1000base-thd" { + description + "Four-pair Category 5 UTP PHY, half duplex"; + } + enum "ethernet-1000base-tfd" { + description + "Four-pair Category 5 UTP PHY, full duplex"; + } + enum "ethernet-10gbase-x" { + description + "X PCS/PMA "; + } + enum "ethernet-10gbase-lx4" { + description + "X fiber over 4 lane 1310nm optics"; + } + enum "ethernet-10gbase-r" { + description + "R PCS/PMA"; + } + enum "ethernet-10gbase-er" { + description + "R fiber over 1550nm optics"; + } + enum "ethernet-10gbase-lr" { + description + "R fiber over 1310nm optics"; + } + enum "ethernet-10gbase-sr" { + description + "R fiber over 850nm optics"; + } + enum "ethernet-10gbase-w" { + description + "W PCS/PMA"; + } + enum "ethernet-10gbase-ew" { + description + "W fiber over 1550nm optics"; + } + enum "ethernet-10gbase-lw" { + description + "W fiber over 1310nm optics"; + } + enum "ethernet-10gbase-sw" { + description + "W fiber over 850nm optics"; + } + enum "ethernet-1000base-zx" { + description + "Single-mode fiber over 1550nm optics (Cisco)"; + } + enum "ethernet-1000base-cwdm" { + description + "CWDM with unknown wavelength optics"; + } + enum "ethernet-1000base-cwdm-1470" { + description + "CWDM with 1470nm optics"; + } + enum "ethernet-1000base-cwdm-1490" { + description + "CWDM with 1490nm optics"; + } + enum "ethernet-1000base-cwdm-1510" { + description + "CWDM with 1510nm optics"; + } + enum "ethernet-1000base-cwdm-1530" { + description + "CWDM with 1530nm optics"; + } + enum "ethernet-1000base-cwdm-1550" { + description + "CWDM with 1550nm optics"; + } + enum "ethernet-1000base-cwdm-1570" { + description + "CWDM with 1570nm optics"; + } + enum "ethernet-1000base-cwdm-1590" { + description + "CWDM with 1590nm optics"; + } + enum "ethernet-1000base-cwdm-1610" { + description + "CWDM with 1610nm optics"; + } + enum "ethernet-10gbase-zr" { + description + "Cisco-defined, over 1550nm optics"; + } + enum "ethernet-10gbase-dwdm" { + description + "DWDM optics"; + } + enum "ethernet-100gbase-lr4" { + description + "fiber over 4 lane optics (long reach)"; + } + enum "ethernet-1000base-dwdm" { + description + "DWDM optics"; + } + enum "ethernet-1000base-dwdm-1533" { + description + "DWDM with 1533nm optics"; + } + enum "ethernet-1000base-dwdm-1537" { + description + "DWDM with 1537nm optics"; + } + enum "ethernet-1000base-dwdm-1541" { + description + "DWDM with 1541nm optics"; + } + enum "ethernet-1000base-dwdm-1545" { + description + "DWDM with 1545nm optics"; + } + enum "ethernet-1000base-dwdm-1549" { + description + "DWDM with 1549nm optics"; + } + enum "ethernet-1000base-dwdm-1553" { + description + "DWDM with 1553nm optics"; + } + enum "ethernet-1000base-dwdm-1557" { + description + "DWDM with 1557nm optics"; + } + enum "ethernet-1000base-dwdm-1561" { + description + "DWDM with 1561nm optics"; + } + enum "ethernet-40gbase-lr4" { + description + "fiber over 4 lane optics (long reach)"; + } + enum "ethernet-40gbase-er4" { + description + "fiber over 4 lane optics (extended reach)"; + } + enum "ethernet-100gbase-er4" { + description + "fiber over 4 lane optics (extended reach)"; + } + enum "ethernet-1000base-ex" { + description + "X fiber over 1310nm optics"; + } + enum "ethernet-1000base-bx10-d" { + description + "X fibre (D, 10km)"; + } + enum "ethernet-1000base-bx10-u" { + description + "X fibre (U, 10km)"; + } + enum "ethernet-1000base-dwdm-1561-42" { + description + "DWDM with 1561.42nm optics"; + } + enum "ethernet-1000base-dwdm-1560-61" { + description + "DWDM with 1560.61nm optics"; + } + enum "ethernet-1000base-dwdm-1559-79" { + description + "DWDM with 1559.79nm optics"; + } + enum "ethernet-1000base-dwdm-1558-98" { + description + "DWDM with 1558.98nm optics"; + } + enum "ethernet-1000base-dwdm-1558-17" { + description + "DWDM with 1558.17nm optics"; + } + enum "ethernet-1000base-dwdm-1557-36" { + description + "DWDM with 1557.36nm optics"; + } + enum "ethernet-1000base-dwdm-1556-55" { + description + "DWDM with 1556.55nm optics"; + } + enum "ethernet-1000base-dwdm-1555-75" { + description + "DWDM with 1555.75nm optics"; + } + enum "ethernet-1000base-dwdm-1554-94" { + description + "DWDM with 1554.94nm optics"; + } + enum "ethernet-1000base-dwdm-1554-13" { + description + "DWDM with 1554.13nm optics"; + } + enum "ethernet-1000base-dwdm-1553-33" { + description + "DWDM with 1553.33nm optics"; + } + enum "ethernet-1000base-dwdm-1552-52" { + description + "DWDM with 1552.52nm optics"; + } + enum "ethernet-1000base-dwdm-1551-72" { + description + "DWDM with 1551.72nm optics"; + } + enum "ethernet-1000base-dwdm-1550-92" { + description + "DWDM with 1550.92nm optics"; + } + enum "ethernet-1000base-dwdm-1550-12" { + description + "DWDM with 1550.12nm optics"; + } + enum "ethernet-1000base-dwdm-1549-32" { + description + "DWDM with 1549.32nm optics"; + } + enum "ethernet-1000base-dwdm-1548-51" { + description + "DWDM with 1548.51nm optics"; + } + enum "ethernet-1000base-dwdm-1547-72" { + description + "DWDM with 1547.72nm optics"; + } + enum "ethernet-1000base-dwdm-1546-92" { + description + "DWDM with 1546.92nm optics"; + } + enum "ethernet-1000base-dwdm-1546-12" { + description + "DWDM with 1546.12nm optics"; + } + enum "ethernet-1000base-dwdm-1545-32" { + description + "DWDM with 1545.32nm optics"; + } + enum "ethernet-1000base-dwdm-1544-53" { + description + "DWDM with 1544.53nm optics"; + } + enum "ethernet-1000base-dwdm-1543-73" { + description + "DWDM with 1543.73nm optics"; + } + enum "ethernet-1000base-dwdm-1542-94" { + description + "DWDM with 1542.94nm optics"; + } + enum "ethernet-1000base-dwdm-1542-14" { + description + "DWDM with 1542.14nm optics"; + } + enum "ethernet-1000base-dwdm-1541-35" { + description + "DWDM with 1541.35nm optics"; + } + enum "ethernet-1000base-dwdm-1540-56" { + description + "DWDM with 1540.56nm optics"; + } + enum "ethernet-1000base-dwdm-1539-77" { + description + "DWDM with 1539.77nm optics"; + } + enum "ethernet-1000base-dwdm-1538-98" { + description + "DWDM with 1538.98nm optics"; + } + enum "ethernet-1000base-dwdm-1538-19" { + description + "DWDM with 1538.19nm optics"; + } + enum "ethernet-1000base-dwdm-1537-40" { + description + "DWDM with 1537.40nm optics"; + } + enum "ethernet-1000base-dwdm-1536-61" { + description + "DWDM with 1536.61nm optics"; + } + enum "ethernet-1000base-dwdm-1535-82" { + description + "DWDM with 1535.82nm optics"; + } + enum "ethernet-1000base-dwdm-1535-04" { + description + "DWDM with 1535.04nm optics"; + } + enum "ethernet-1000base-dwdm-1534-25" { + description + "DWDM with 1534.25nm optics"; + } + enum "ethernet-1000base-dwdm-1533-47" { + description + "DWDM with 1533.47nm optics"; + } + enum "ethernet-1000base-dwdm-1532-68" { + description + "DWDM with 1532.68nm optics"; + } + enum "ethernet-1000base-dwdm-1531-90" { + description + "DWDM with 1531.90nm optics"; + } + enum "ethernet-1000base-dwdm-1531-12" { + description + "DWDM with 1531.12nm optics"; + } + enum "ethernet-1000base-dwdm-1530-33" { + description + "DWDM with 1530.33nm optics"; + } + enum "ethernet-1000base-dwdm-tunable" { + description + "DWDM with tunable optics"; + } + enum "ethernet-10gbase-dwdm-1561-42" { + description + "DWDM with 1561.42nm optics"; + } + enum "ethernet-10gbase-dwdm-1560-61" { + description + "DWDM with 1560.61nm optics"; + } + enum "ethernet-10gbase-dwdm-1559-79" { + description + "DWDM with 1559.79nm optics"; + } + enum "ethernet-10gbase-dwdm-1558-98" { + description + "DWDM with 1558.98nm optics"; + } + enum "ethernet-10gbase-dwdm-1558-17" { + description + "DWDM with 1558.17nm optics"; + } + enum "ethernet-10gbase-dwdm-1557-36" { + description + "DWDM with 1557.36nm optics"; + } + enum "ethernet-10gbase-dwdm-1556-55" { + description + "DWDM with 1556.55nm optics"; + } + enum "ethernet-10gbase-dwdm-1555-75" { + description + "DWDM with 1555.75nm optics"; + } + enum "ethernet-10gbase-dwdm-1554-94" { + description + "DWDM with 1554.94nm optics"; + } + enum "ethernet-10gbase-dwdm-1554-13" { + description + "DWDM with 1554.13nm optics"; + } + enum "ethernet-10gbase-dwdm-1553-33" { + description + "DWDM with 1553.33nm optics"; + } + enum "ethernet-10gbase-dwdm-1552-52" { + description + "DWDM with 1552.52nm optics"; + } + enum "ethernet-10gbase-dwdm-1551-72" { + description + "DWDM with 1551.72nm optics"; + } + enum "ethernet-10gbase-dwdm-1550-92" { + description + "DWDM with 1550.92nm optics"; + } + enum "ethernet-10gbase-dwdm-1550-12" { + description + "DWDM with 1550.12nm optics"; + } + enum "ethernet-10gbase-dwdm-1549-32" { + description + "DWDM with 1549.32nm optics"; + } + enum "ethernet-10gbase-dwdm-1548-51" { + description + "DWDM with 1548.51nm optics"; + } + enum "ethernet-10gbase-dwdm-1547-72" { + description + "DWDM with 1547.72nm optics"; + } + enum "ethernet-10gbase-dwdm-1546-92" { + description + "DWDM with 1546.92nm optics"; + } + enum "ethernet-10gbase-dwdm-1546-12" { + description + "DWDM with 1546.12nm optics"; + } + enum "ethernet-10gbase-dwdm-1545-32" { + description + "DWDM with 1545.32nm optics"; + } + enum "ethernet-10gbase-dwdm-1544-53" { + description + "DWDM with 1544.53nm optics"; + } + enum "ethernet-10gbase-dwdm-1543-73" { + description + "DWDM with 1543.73nm optics"; + } + enum "ethernet-10gbase-dwdm-1542-94" { + description + "DWDM with 1542.94nm optics"; + } + enum "ethernet-10gbase-dwdm-1542-14" { + description + "DWDM with 1542.14nm optics"; + } + enum "ethernet-10gbase-dwdm-1541-35" { + description + "DWDM with 1541.35nm optics"; + } + enum "ethernet-10gbase-dwdm-1540-56" { + description + "DWDM with 1540.56nm optics"; + } + enum "ethernet-10gbase-dwdm-1539-77" { + description + "DWDM with 1539.77nm optics"; + } + enum "ethernet-10gbase-dwdm-1538-98" { + description + "DWDM with 1538.98nm optics"; + } + enum "ethernet-10gbase-dwdm-1538-19" { + description + "DWDM with 1538.19nm optics"; + } + enum "ethernet-10gbase-dwdm-1537-40" { + description + "DWDM with 1537.40nm optics"; + } + enum "ethernet-10gbase-dwdm-1536-61" { + description + "DWDM with 1536.61nm optics"; + } + enum "ethernet-10gbase-dwdm-1535-82" { + description + "DWDM with 1535.82nm optics"; + } + enum "ethernet-10gbase-dwdm-1535-04" { + description + "DWDM with 1535.04nm optics"; + } + enum "ethernet-10gbase-dwdm-1534-25" { + description + "DWDM with 1534.25nm optics"; + } + enum "ethernet-10gbase-dwdm-1533-47" { + description + "DWDM with 1533.47nm optics"; + } + enum "ethernet-10gbase-dwdm-1532-68" { + description + "DWDM with 1532.68nm optics"; + } + enum "ethernet-10gbase-dwdm-1531-90" { + description + "DWDM with 1531.90nm optics"; + } + enum "ethernet-10gbase-dwdm-1531-12" { + description + "DWDM with 1531.12nm optics"; + } + enum "ethernet-10gbase-dwdm-1530-33" { + description + "DWDM with 1530.33nm optics"; + } + enum "ethernet-10gbase-dwdm-tunable" { + description + "DWDM with tunable optics"; + } + enum "ethernet-40gbase-dwdm-1561-42" { + description + "DWDM with 1561.42nm optics"; + } + enum "ethernet-40gbase-dwdm-1560-61" { + description + "DWDM with 1560.61nm optics"; + } + enum "ethernet-40gbase-dwdm-1559-79" { + description + "DWDM with 1559.79nm optics"; + } + enum "ethernet-40gbase-dwdm-1558-98" { + description + "DWDM with 1558.98nm optics"; + } + enum "ethernet-40gbase-dwdm-1558-17" { + description + "DWDM with 1558.17nm optics"; + } + enum "ethernet-40gbase-dwdm-1557-36" { + description + "DWDM with 1557.36nm optics"; + } + enum "ethernet-40gbase-dwdm-1556-55" { + description + "DWDM with 1556.55nm optics"; + } + enum "ethernet-40gbase-dwdm-1555-75" { + description + "DWDM with 1555.75nm optics"; + } + enum "ethernet-40gbase-dwdm-1554-94" { + description + "DWDM with 1554.94nm optics"; + } + enum "ethernet-40gbase-dwdm-1554-13" { + description + "DWDM with 1554.13nm optics"; + } + enum "ethernet-40gbase-dwdm-1553-33" { + description + "DWDM with 1553.33nm optics"; + } + enum "ethernet-40gbase-dwdm-1552-52" { + description + "DWDM with 1552.52nm optics"; + } + enum "ethernet-40gbase-dwdm-1551-72" { + description + "DWDM with 1551.72nm optics"; + } + enum "ethernet-40gbase-dwdm-1550-92" { + description + "DWDM with 1550.92nm optics"; + } + enum "ethernet-40gbase-dwdm-1550-12" { + description + "DWDM with 1550.12nm optics"; + } + enum "ethernet-40gbase-dwdm-1549-32" { + description + "DWDM with 1549.32nm optics"; + } + enum "ethernet-40gbase-dwdm-1548-51" { + description + "DWDM with 1548.51nm optics"; + } + enum "ethernet-40gbase-dwdm-1547-72" { + description + "DWDM with 1547.72nm optics"; + } + enum "ethernet-40gbase-dwdm-1546-92" { + description + "DWDM with 1546.92nm optics"; + } + enum "ethernet-40gbase-dwdm-1546-12" { + description + "DWDM with 1546.12nm optics"; + } + enum "ethernet-40gbase-dwdm-1545-32" { + description + "DWDM with 1545.32nm optics"; + } + enum "ethernet-40gbase-dwdm-1544-53" { + description + "DWDM with 1544.53nm optics"; + } + enum "ethernet-40gbase-dwdm-1543-73" { + description + "DWDM with 1543.73nm optics"; + } + enum "ethernet-40gbase-dwdm-1542-94" { + description + "DWDM with 1542.94nm optics"; + } + enum "ethernet-40gbase-dwdm-1542-14" { + description + "DWDM with 1542.14nm optics"; + } + enum "ethernet-40gbase-dwdm-1541-35" { + description + "DWDM with 1541.35nm optics"; + } + enum "ethernet-40gbase-dwdm-1540-56" { + description + "DWDM with 1540.56nm optics"; + } + enum "ethernet-40gbase-dwdm-1539-77" { + description + "DWDM with 1539.77nm optics"; + } + enum "ethernet-40gbase-dwdm-1538-98" { + description + "DWDM with 1538.98nm optics"; + } + enum "ethernet-40gbase-dwdm-1538-19" { + description + "DWDM with 1538.19nm optics"; + } + enum "ethernet-40gbase-dwdm-1537-40" { + description + "DWDM with 1537.40nm optics"; + } + enum "ethernet-40gbase-dwdm-1536-61" { + description + "DWDM with 1536.61nm optics"; + } + enum "ethernet-40gbase-dwdm-1535-82" { + description + "DWDM with 1535.82nm optics"; + } + enum "ethernet-40gbase-dwdm-1535-04" { + description + "DWDM with 1535.04nm optics"; + } + enum "ethernet-40gbase-dwdm-1534-25" { + description + "DWDM with 1534.25nm optics"; + } + enum "ethernet-40gbase-dwdm-1533-47" { + description + "DWDM with 1533.47nm optics"; + } + enum "ethernet-40gbase-dwdm-1532-68" { + description + "DWDM with 1532.68nm optics"; + } + enum "ethernet-40gbase-dwdm-1531-90" { + description + "DWDM with 1531.90nm optics"; + } + enum "ethernet-40gbase-dwdm-1531-12" { + description + "DWDM with 1531.12nm optics"; + } + enum "ethernet-40gbase-dwdm-1530-33" { + description + "DWDM with 1530.33nm optics"; + } + enum "ethernet-40gbase-dwdm-tunable" { + description + "DWDM with tunable optics"; + } + enum "ethernet-100gbase-dwdm-1561-42" { + description + "DWDM with 1561.42nm optics"; + } + enum "ethernet-100gbase-dwdm-1560-61" { + description + "DWDM with 1560.61nm optics"; + } + enum "ethernet-100gbase-dwdm-1559-79" { + description + "DWDM with 1559.79nm optics"; + } + enum "ethernet-100gbase-dwdm-1558-98" { + description + "DWDM with 1558.98nm optics"; + } + enum "ethernet-100gbase-dwdm-1558-17" { + description + "DWDM with 1558.17nm optics"; + } + enum "ethernet-100gbase-dwdm-1557-36" { + description + "DWDM with 1557.36nm optics"; + } + enum "ethernet-100gbase-dwdm-1556-55" { + description + "DWDM with 1556.55nm optics"; + } + enum "ethernet-100gbase-dwdm-1555-75" { + description + "DWDM with 1555.75nm optics"; + } + enum "ethernet-100gbase-dwdm-1554-94" { + description + "DWDM with 1554.94nm optics"; + } + enum "ethernet-100gbase-dwdm-1554-13" { + description + "DWDM with 1554.13nm optics"; + } + enum "ethernet-100gbase-dwdm-1553-33" { + description + "DWDM with 1553.33nm optics"; + } + enum "ethernet-100gbase-dwdm-1552-52" { + description + "DWDM with 1552.52nm optics"; + } + enum "ethernet-100gbase-dwdm-1551-72" { + description + "DWDM with 1551.72nm optics"; + } + enum "ethernet-100gbase-dwdm-1550-92" { + description + "DWDM with 1550.92nm optics"; + } + enum "ethernet-100gbase-dwdm-1550-12" { + description + "DWDM with 1550.12nm optics"; + } + enum "ethernet-100gbase-dwdm-1549-32" { + description + "DWDM with 1549.32nm optics"; + } + enum "ethernet-100gbase-dwdm-1548-51" { + description + "DWDM with 1548.51nm optics"; + } + enum "ethernet-100gbase-dwdm-1547-72" { + description + "DWDM with 1547.72nm optics"; + } + enum "ethernet-100gbase-dwdm-1546-92" { + description + "DWDM with 1546.92nm optics"; + } + enum "ethernet-100gbase-dwdm-1546-12" { + description + "DWDM with 1546.12nm optics"; + } + enum "ethernet-100gbase-dwdm-1545-32" { + description + "DWDM with 1545.32nm optics"; + } + enum "ethernet-100gbase-dwdm-1544-53" { + description + "DWDM with 1544.53nm optics"; + } + enum "ethernet-100gbase-dwdm-1543-73" { + description + "DWDM with 1543.73nm optics"; + } + enum "ethernet-100gbase-dwdm-1542-94" { + description + "DWDM with 1542.94nm optics"; + } + enum "ethernet-100gbase-dwdm-1542-14" { + description + "DWDM with 1542.14nm optics"; + } + enum "ethernet-100gbase-dwdm-1541-35" { + description + "DWDM with 1541.35nm optics"; + } + enum "ethernet-100gbase-dwdm-1540-56" { + description + "DWDM with 1540.56nm optics"; + } + enum "ethernet-100gbase-dwdm-1539-77" { + description + "DWDM with 1539.77nm optics"; + } + enum "ethernet-100gbase-dwdm-1538-98" { + description + "DWDM with 1538.98nm optics"; + } + enum "ethernet-100gbase-dwdm-1538-19" { + description + "DWDM with 1538.19nm optics"; + } + enum "ethernet-100gbase-dwdm-1537-40" { + description + "DWDM with 1537.40nm optics"; + } + enum "ethernet-100gbase-dwdm-1536-61" { + description + "DWDM with 1536.61nm optics"; + } + enum "ethernet-100gbase-dwdm-1535-82" { + description + "DWDM with 1535.82nm optics"; + } + enum "ethernet-100gbase-dwdm-1535-04" { + description + "DWDM with 1535.04nm optics"; + } + enum "ethernet-100gbase-dwdm-1534-25" { + description + "DWDM with 1534.25nm optics"; + } + enum "ethernet-100gbase-dwdm-1533-47" { + description + "DWDM with 1533.47nm optics"; + } + enum "ethernet-100gbase-dwdm-1532-68" { + description + "DWDM with 1532.68nm optics"; + } + enum "ethernet-100gbase-dwdm-1531-90" { + description + "DWDM with 1531.90nm optics"; + } + enum "ethernet-100gbase-dwdm-1531-12" { + description + "DWDM with 1531.12nm optics"; + } + enum "ethernet-100gbase-dwdm-1530-33" { + description + "DWDM with 1530.33nm optics"; + } + enum "ethernet-100gbase-dwdm-tunable" { + description + "DWDM with tunable optics"; + } + enum "ethernet-40gbase-kr4" { + description + "4 lane copper (backplane)"; + } + enum "ethernet-40gbase-cr4" { + description + "4 lane copper (very short reach)"; + } + enum "ethernet-40gbase-sr4" { + description + "fiber over 4 lane optics (short reach)"; + } + enum "ethernet-40gbase-fr" { + description + "serial fiber (2+ km)"; + } + enum "ethernet-100gbase-cr10" { + description + "10 lane copper (very short reach)"; + } + enum "ethernet-100gbase-sr10" { + description + "MMF fiber over 10 lane optics (short reach)"; + } + enum "ethernet-40gbase-csr4" { + description + "fiber over 4 lane optics (extended short reach)"; + } + enum "ethernet-10gbase-cwdm" { + description + "CWDM optics"; + } + enum "ethernet-10gbase-cwdm-tunable" { + description + "CWDM with tunable optics"; + } + enum "ethernet-10gbase-cwdm-1470" { + description + "CWDM with 1470nm optics"; + } + enum "ethernet-10gbase-cwdm-1490" { + description + "CWDM with 1490nm optics"; + } + enum "ethernet-10gbase-cwdm-1510" { + description + "CWDM with 1510nm optics"; + } + enum "ethernet-10gbase-cwdm-1530" { + description + "CWDM with 1530nm optics"; + } + enum "ethernet-10gbase-cwdm-1550" { + description + "CWDM with 1550nm optics"; + } + enum "ethernet-10gbase-cwdm-1570" { + description + "CWDM with 1570nm optics"; + } + enum "ethernet-10gbase-cwdm-1590" { + description + "CWDM with 1590nm optics"; + } + enum "ethernet-10gbase-cwdm-1610" { + description + "CWDM with 1610nm optics"; + } + enum "ethernet-40gbase-cwdm" { + description + "CWDM optics"; + } + enum "ethernet-40gbase-cwdm-tunable" { + description + "CWDM with tunable optics"; + } + enum "ethernet-40gbase-cwdm-1470" { + description + "CWDM with 1470nm optics"; + } + enum "ethernet-40gbase-cwdm-1490" { + description + "CWDM with 1490nm optics"; + } + enum "ethernet-40gbase-cwdm-1510" { + description + "CWDM with 1510nm optics"; + } + enum "ethernet-40gbase-cwdm-1530" { + description + "CWDM with 1530nm optics"; + } + enum "ethernet-40gbase-cwdm-1550" { + description + "CWDM with 1550nm optics"; + } + enum "ethernet-40gbase-cwdm-1570" { + description + "CWDM with 1570nm optics"; + } + enum "ethernet-40gbase-cwdm-1590" { + description + "CWDM with 1590nm optics"; + } + enum "ethernet-40gbase-cwdm-1610" { + description + "CWDM with 1610nm optics"; + } + enum "ethernet-100gbase-cwdm" { + description + "CWDM optics"; + } + enum "ethernet-100gbase-cwdm-tunable" { + description + "CWDM with tunable optics"; + } + enum "ethernet-100gbase-cwdm-1470" { + description + "CWDM with 1470nm optics"; + } + enum "ethernet-100gbase-cwdm-1490" { + description + "CWDM with 1490nm optics"; + } + enum "ethernet-100gbase-cwdm-1510" { + description + "CWDM with 1510nm optics"; + } + enum "ethernet-100gbase-cwdm-1530" { + description + "CWDM with 1530nm optics"; + } + enum "ethernet-100gbase-cwdm-1550" { + description + "CWDM with 1550nm optics"; + } + enum "ethernet-100gbase-cwdm-1570" { + description + "CWDM with 1570nm optics"; + } + enum "ethernet-100gbase-cwdm-1590" { + description + "CWDM with 1590nm optics"; + } + enum "ethernet-100gbase-cwdm-1610" { + description + "CWDM with 1610nm optics"; + } + enum "ethernet-40gbase-elpb" { + description + "Electrical loopback"; + } + enum "ethernet-100gbase-elpb" { + description + "Electrical loopback"; + } + enum "ethernet-100gbase-lr10" { + description + "Fiber over 10 lane optics (long reach)"; + } + enum "ethernet-40gbase" { + description + "Four-pair Category 8 STP"; + } + enum "ethernet-100gbase-kp4" { + description + "4 lane copper (backplane)"; + } + enum "ethernet-100gbase-kr4" { + description + "Improved 4 lane copper (backplane)"; + } + enum "ethernet-10gbase-lrm" { + description + "Multimode fiber with 1310nm optics (long reach)"; + } + enum "ethernet-10gbase-cx4" { + description + "4 lane X copper"; + } + enum "ethernet-10gbase" { + description + "Four-pair Category 6+ UTP"; + } + enum "ethernet-10gbase-kx4" { + description + "4 lane X copper (backplane)"; + } + enum "ethernet-10gbase-kr" { + description + "Copper (backplane)"; + } + enum "ethernet-10gbase-pr" { + description + "Passive optical network"; + } + enum "ethernet-100base-lx" { + description + "X fiber over 4 lane 1310nm optics"; + } + enum "ethernet-100base-zx" { + description + "Single-mode fiber over 1550nm optics (Cisco)"; + } + enum "ethernet-1000base-bx-d" { + description + "X fibre (D)"; + } + enum "ethernet-1000base-bx-u" { + description + "X fibre (U)"; + } + enum "ethernet-1000base-bx20-d" { + description + "X fibre (D, 20km)"; + } + enum "ethernet-1000base-bx20-u" { + description + "X fibre (U, 20km)"; + } + enum "ethernet-1000base-bx40-d" { + description + "X fibre (D, 40km)"; + } + enum "ethernet-1000base-bx40-da" { + description + "X fibre (D, 40km)"; + } + enum "ethernet-1000base-bx40-u" { + description + "X fibre (U, 40km)"; + } + enum "ethernet-1000base-bx80-d" { + description + "X fibre (D, 80km)"; + } + enum "ethernet-1000base-bx80-u" { + description + "X fibre (U, 80km)"; + } + enum "ethernet-1000base-bx120-d" { + description + "X fibre (D, 120km)"; + } + enum "ethernet-1000base-bx120-u" { + description + "X fibre (U, 120km)"; + } + enum "ethernet-10gbase-bx-d" { + description + "X fibre (D)"; + } + enum "ethernet-10gbase-bx-u" { + description + "X fibre (U)"; + } + enum "ethernet-10gbase-bx10-d" { + description + "X fibre (D, 10km)"; + } + enum "ethernet-10gbase-bx10-u" { + description + "X fibre (U, 10km)"; + } + enum "ethernet-10gbase-bx20-d" { + description + "X fibre (D, 20km)"; + } + enum "ethernet-10gbase-bx20-u" { + description + "X fibre (U, 20km)"; + } + enum "ethernet-10gbase-bx40-d" { + description + "X fibre (D, 40km)"; + } + enum "ethernet-10gbase-bx40-u" { + description + "X fibre (U, 40km)"; + } + enum "ethernet-10gbase-bx80-d" { + description + "X fibre (D, 80km)"; + } + enum "ethernet-10gbase-bx80-u" { + description + "X fibre (U, 80km)"; + } + enum "ethernet-10gbase-bx120-d" { + description + "X fibre (D, 120km)"; + } + enum "ethernet-10gbase-bx120-u" { + description + "X fibre (U, 120km)"; + } + enum "ethernet-1000base-dr-lx" { + description + "X fiber over long-wl laser PMD, duplexity + unknown, dual rate"; + } + enum "ethernet-100gbase-er4l" { + description + "fiber over 4 lane optics (25km reach) (lite)"; + } + enum "ethernet-100gbase-sr4" { + description + "fiber over 4 lane optics (short reach)"; + } + enum "ethernet-40gbase-sr-bd" { + description + "Bi-directional fiber over 2 lane optics (short + reach)"; + } + enum "ethernet-25gbase-cr" { + description + "Twinaxial copper cabling"; + } + enum "ethernet-25gbase-cr-s" { + description + "Twinaxial copper cabling (no RS-FEC)"; + } + enum "ethernet-25gbase-kr" { + description + "One lane electrical backplane"; + } + enum "ethernet-25gbase-kr-s" { + description + "One lane electrical backplane (no RS-FEC)"; + } + enum "ethernet-25gbase-r" { + description + "One lane fiber"; + } + enum "ethernet-25gbase-sr" { + description + "Multimode fiber"; + } + enum "ethernet-25gbase-dwdm" { + description + "DWDM optics"; + } + enum "ethernet-25gbase-dwdm-tunable" { + description + "DWDM with tunable optics"; + } + enum "ethernet-25gbase-cwdm" { + description + "CWDM optics"; + } + enum "ethernet-25gbase-cwdm-tunable" { + description + "CWDM with tunable optics"; + } + enum "ethernet-100gbase-psm4" { + description + "4 parallel single mode fibers"; + } + enum "ethernet-100gbase-er10" { + description + "Fiber over 10 lane optics (extended reach)"; + } + enum "ethernet-100gbase-er10l" { + description + "Fiber over 10 lane optics (extended reach) + (lite)"; + } + enum "ethernet-100gbase-acc" { + description + "Active copper cable"; + } + enum "ethernet-100gbase-aoc" { + description + "Active optical cable"; + } + enum "ethernet-100gbase-cwdm4" { + description + "4 lane CWDM cable"; + } + enum "ethernet-40gbase-psm4" { + description + "4 parallel single mode fibers"; + } + enum "ethernet-100gbase-cr4" { + description + "4 lane copper (very short reach)"; + } + enum "ethernet-100gbase-act-loop" { + description + "Active loopback"; + } + enum "ethernet-100gbase-pas-loop" { + description + "Passive loopback"; + } + enum "ethernet-50gbase-cr2" { + description + "2 lane copper (very short reach)"; + } + enum "ethernet-50gbase-sr2" { + description + "fiber over 2 lane optics (short reach)"; + } + enum "ethernet-50gbase-psm2" { + description + "2 parallel single mode fibers"; + } + enum "ethernet-200gbase-cr4" { + description + "4 lanes Passive Copper"; + } + enum "ethernet-400gbase-fr4" { + description + "Duplex SMF LC Connector 2km"; + } + enum "ethernet-400gbase-dr4" { + description + "SMF with MPO-12 connector"; + } + enum "ethernet-400gbase-cr4" { + description + "4 lanes Passive Copper"; + } + enum "ethernet-10gbase-cu1m" { + description + "Passive Twinax cable assembly 1m"; + } + enum "ethernet-10gbase-cu3m" { + description + "Passive Twinax cable assembly 3m"; + } + enum "ethernet-10gbase-cu5m" { + description + "Passive Twinax cable assembly 5m"; + } + enum "ethernet-10gbase-acu7m" { + description + "Active Twinax cable assembly 7m"; + } + enum "ethernet-10gbase-acu10m" { + description + "Active Twinax cable assembly 10m"; + } + enum "ethernet-40gbase-aoc" { + description + "Active optical cable"; + } + enum "ethernet-4x10g-base-lr" { + description + "fiber over 4 lane optics (long reach)"; + } + enum "ethernet-base-max" { + description + "ethernet base max"; + } + } + description + "Ethernet media types: IEEE 802.3/802.3ae clause + 30.5.1.1.2"; + } + + typedef Ethernet-port-enable { + type enumeration { + enum "disabled" { + description + "Port disabled, both directions"; + } + enum "rx-enabled" { + description + "Port enabled rx direction only"; + } + enum "tx-enabled" { + description + "Port enabled tx direction only"; + } + enum "enabled" { + description + "Port enabled, both directions"; + } + } + description + "Port admin state"; + } + + grouping ETHERNET-BERT-STATUS-TYPE { + description + "ETHERNET BERT STATUS TYPE"; + leaf bert-state-enabled { + type boolean; + description + "State"; + } + leaf data-availability { + type Ethernet-bert-mask; + description + "Flag indicating available data"; + } + leaf receive-count { + type uint64; + description + "Receive count (if 0x1 set in flag)"; + } + leaf transmit-count { + type uint64; + description + "Transmit count (if 0x2 set in flag)"; + } + leaf receive-errors { + type uint64; + description + "Received errors (if 0x4 set in flag)"; + } + leaf error-type { + type Ethernet-bert-err-cnt; + description + "Bit, block or frame error"; + } + leaf test-pattern { + type Ethernet-bert-pattern; + description + "Test pattern"; + } + leaf device-under-test { + type Ethernet-dev; + description + "Device being tested"; + } + leaf interface-device { + type Ethernet-dev-if; + description + "Interface being tested"; + } + } + + grouping ETH-SHOWCTRL-BERT { + description + "Per port BERT test status information"; + container bert-status { + description + "Current test status"; + uses ETHERNET-BERT-STATUS-TYPE; + } + leaf time-left { + type uint32; + units "second"; + description + "Remaining time for this test in seconds"; + } + leaf port-bert-interval { + type uint32; + description + "Port BERT interval"; + } + } + + grouping ETH-CTLR-TRANSPORT-INFO { + description + "ETH CTLR TRANSPORT INFO"; + leaf maintenance-mode-enabled { + type boolean; + description + "Maintenance Mode - TRUE if enabled"; + } + leaf ains-status { + type Ether-ains-status; + description + "AINS Soak status"; + } + leaf total-duration { + type uint32; + units "second"; + description + "Total duration (seconds) of AINS soak timer"; + } + leaf remaining-duration { + type uint32; + units "second"; + description + "Remaining duration (seconds) of AINS soak timer"; + } + } + + grouping ETHER-MCAST-MAC-TYPE { + description + "Multicast MAC address"; + leaf mac-address { + type Mac-addr; + description + "MAC address"; + } + leaf mask { + type Mac-addr; + description + "Mask for this MAC address"; + } + } + + grouping ETH-CTRLR-MCAST-MAC-FILTER { + description + "ETH CTRLR MCAST MAC FILTER"; + leaf multicast-promiscuous { + type boolean; + description + "Whether the port is in multicast promiscuous + mode"; + } + list multicast-mac-address { + description + "MAC addresses in the multicast ingress + destination MAC filter"; + uses ETHER-MCAST-MAC-TYPE; + } + } + + grouping ETH-CTRLR-UCAST-MAC-FILTER { + description + "ETH CTRLR UCAST MAC FILTER"; + leaf-list unicast-mac-address { + type Mac-addr; + description + "MAC addresses in the unicast ingress destination + MAC filter"; + } + } + + grouping ETH-CTRLR-MAC-INFO { + description + "ETH CTRLR MAC INFO"; + container unicast-mac-filters { + description + "Port unicast MAC filter information"; + uses ETH-CTRLR-UCAST-MAC-FILTER; + } + container multicast-mac-filters { + description + "Port multicast MAC filter information"; + uses ETH-CTRLR-MCAST-MAC-FILTER; + } + leaf mtu { + type uint32; + description + "Port operational MTU"; + } + leaf mru { + type uint32; + description + "Port operational MRU"; + } + leaf burned-in-mac-address { + type Mac-addr; + description + "Port Burned-In MAC address"; + } + leaf operational-mac-address { + type Mac-addr; + description + "Port operational MAC address"; + } + } + + grouping ETHER-PFC-DETAILS-TYPE { + description + "ETHER PFC DETAILS TYPE"; + leaf priority-flowcontrol { + type Ether-pfc; + description + "Port operational priority flow control"; + } + leaf priority-enabled-bitmap { + type uint8; + description + "Priority bitmap"; + } + leaf-list rx-frame { + type uint64; + max-elements "8"; + description + "RX Frame counts"; + } + leaf-list tx-frame { + type uint64; + max-elements "8"; + description + "TX Frame counts"; + } + } + + grouping ETHER-OPD-SETTINGS { + description + "ETHER OPD SETTINGS"; + leaf received-optical-power-degrade-threshold-set { + type int32; + description + "Rx-OPD alarm threshold set?"; + } + leaf received-optical-power-degrade-threshold { + type int32; + description + "Rx-OPD alarm threshold value"; + } + } + + grouping ETH-OPD-MONITORING { + description + "ETH OPD MONITORING"; + container settings { + description + "The OPD monitoring settings to be applied"; + uses ETHER-OPD-SETTINGS; + } + leaf supported { + type int32; + description + "Whether or not OPD monitoring is supported"; + } + } + + grouping ETHER-BER-STATE { + description + "ETHER BER STATE"; + leaf sd-current-ber { + type uint32; + description + "Current SD-BER"; + } + leaf sf-current-ber { + type uint32; + description + "Current SF-BER"; + } + } + + grouping ETHER-BER-SETTINGS { + description + "ETHER BER SETTINGS"; + leaf signal-degrade-threshold { + type uint32; + description + "BER threshold for signal to degrade"; + } + leaf signal-degrade-alarm { + type int32; + description + "Report alarm to indicate signal degrade"; + } + leaf signal-fail-threshold { + type uint32; + description + "BER threshold for signal to fail"; + } + leaf signal-fail-alarm { + type int32; + description + "Report alarm to indicate signal failure"; + } + leaf signal-remote-fault { + type int32; + description + "Whether drivers should signal remote faults"; + } + } + + grouping ETH-BER-MONITORING { + description + "ETH BER MONITORING"; + container settings { + description + "The BER monitoring settings to be applied"; + uses ETHER-BER-SETTINGS; + } + container state { + description + "The BER state"; + uses ETHER-BER-STATE; + } + leaf supported { + type int32; + description + "Whether or not BER monitoring is supported"; + } + } + + grouping ETH-CTRLR-ERROR-COUNTERS { + description + "ETH CTRLR ERROR COUNTERS"; + leaf sync-header-errors { + type uint64; + description + "Sync-header error count"; + } + leaf pcsbip-errors { + type uint64; + description + "PCS BIP error count"; + } + } + + grouping ETH-CTRLR-ALARMS { + description + "ETH CTRLR ALARMS"; + leaf received-loss-of-signal-alarm { + type Eth-ctrlr-alarm-state; + description + "Received Loss of Signal"; + } + leaf pcs-loss-of-block-lock-alarm { + type Eth-ctrlr-alarm-state; + description + "PCS Loss of Block Lock"; + } + leaf local-fault-alarm { + type Eth-ctrlr-alarm-state; + description + "Local Fault"; + } + leaf remote-fault-alarm { + type Eth-ctrlr-alarm-state; + description + "Remote Fault"; + } + leaf sd-ber-alarm { + type Eth-ctrlr-alarm-state; + description + "SD BER"; + } + leaf sf-ber-alarm { + type Eth-ctrlr-alarm-state; + description + "SF BER"; + } + leaf loss-of-synchronization-data-alarm { + type Eth-ctrlr-alarm-state; + description + "Loss of Synchronization Data"; + } + leaf hi-ber-alarm { + type Eth-ctrlr-alarm-state; + description + "Hi BER"; + } + leaf squelch-alarm { + type Eth-ctrlr-alarm-state; + description + "Squelch"; + } + leaf rx-opd-alarm { + type Eth-ctrlr-alarm-state; + description + "Rx OPD Alarm"; + } + } + + grouping ETHER-AUTONEG-TYPE { + description + "Autonegotiation settings"; + leaf autoneg-enabled { + type int32; + description + "TRUE if autonegotiation is enabled"; + } + leaf mask { + type Ether-autoneg-mask; + description + "Validity mask: 0x1 speed, 0x2 duplex, 0x4 + flowcontrol, 0x8 fec"; + } + leaf speed { + type Ethernet-speed; + description + "Restricted speed (if relevant bit is set in + mask)"; + } + leaf duplex { + type Ethernet-duplex; + description + "Restricted duplex (if relevant bit is set in + mask)"; + } + leaf flowcontrol { + type Ether-flowcontrol; + description + "Restricted flowcontrol (if relevant bit is set + in mask)"; + } + leaf config-override { + type int32; + description + "If true, configuration overrides negotiated + settings. If false, negotiated settings in + effect"; + } + leaf fec { + type Ethernet-fec; + description + "Restricted FEC (if revelevant bit is set in + mask)"; + } + } + + grouping ETH-CTRLR-L1-INFO { + description + "ETH CTRLR L1 INFO"; + container autoneg { + description + "Port autonegotiation configuration settings"; + uses ETHER-AUTONEG-TYPE; + } + container current-alarms { + description + "Current alarms"; + uses ETH-CTRLR-ALARMS; + } + container previous-alarms { + description + "Previous alarms"; + uses ETH-CTRLR-ALARMS; + } + container error-counts { + description + "Statistics for detected errors"; + uses ETH-CTRLR-ERROR-COUNTERS; + } + container ber-monitoring { + description + "BER monitoring details"; + uses ETH-BER-MONITORING; + } + container opd-monitoring { + description + "OPD monitoring details"; + uses ETH-OPD-MONITORING; + } + container pfc-info { + description + "Priority flow control information"; + uses ETHER-PFC-DETAILS-TYPE; + } + leaf link-state { + type Ether-link-state; + description + "Link state"; + } + leaf led-state { + type Ether-led-state; + description + "State of the LED"; + } + leaf speed { + type Ethernet-speed; + description + "Port operational speed"; + } + leaf duplex { + type Ethernet-duplex; + description + "Port operational duplexity"; + } + leaf flowcontrol { + type Ether-flowcontrol; + description + "Port operational flow control"; + } + leaf ipg { + type Ethernet-ipg; + description + "Port operational inter-packet-gap"; + } + leaf laser-squelch-enabled { + type boolean; + description + "Laser Squelch - TRUE if enabled"; + } + leaf bandwidth-utilization { + type uint32; + units "percentage"; + description + "Bandwidth utilization (hundredths of a percent)"; + } + leaf bandwidth { + type uint64; + description + "Port operational bandwidth"; + } + } + + grouping EXTENDED-LOOPBACK-TYPE { + description + "EXTENDED LOOPBACK TYPE"; + leaf level { + type uint32; + description + "Level"; + } + leaf loopback { + type Ethernet-loopback; + description + "Port operational loopback"; + } + } + + grouping ETHER-FEC-DETAILS-TYPE { + description + "ETHER FEC DETAILS TYPE"; + leaf fec { + type Ethernet-fec; + description + "Port operational FEC type"; + } + leaf corrected-codeword-count { + type uint64; + description + "Corrected codeword error count"; + } + leaf uncorrected-codeword-count { + type uint64; + description + "Uncorrected codeword error count"; + } + } + + grouping ETH-CTRLR-PHY-DOM-ALARMS { + description + "ETH CTRLR PHY DOM ALARMS"; + leaf transceiver-temperature { + type Ether-dom-alarm; + description + "Transceiver Temperature Alarm"; + } + leaf transceiver-voltage { + type Ether-dom-alarm; + description + "Transceiver Voltage Alarm"; + } + leaf transmit-laser-power { + type Ether-dom-alarm; + description + "Transmit Laser Power Alarm"; + } + leaf received-laser-power { + type Ether-dom-alarm; + description + "Received Optical Power Alarm"; + } + leaf laser-bias-current { + type Ether-dom-alarm; + description + "Laser Bias Current Alarm"; + } + } + + grouping ETH-CTRLR-PHY-DOM-THRESHOLD-VALIDITY { + description + "ETH CTRLR PHY DOM THRESHOLD VALIDITY"; + leaf temperature-valid { + type int32; + description + "The temperature fields are valid"; + } + leaf voltage-valid { + type int32; + description + "The voltage fields are valid"; + } + leaf laser-bias-valid { + type int32; + description + "The laser bias fields are valid"; + } + leaf transmit-power-valid { + type int32; + description + "The transmit power fields are valid"; + } + leaf receive-power-valid { + type int32; + description + "The receive power fields are valid"; + } + } + + grouping ETH-CTRLR-PHY-DOM-THRESHOLDS { + description + "ETH CTRLR PHY DOM THRESHOLDS"; + container field-validity { + description + "Field validity"; + uses ETH-CTRLR-PHY-DOM-THRESHOLD-VALIDITY; + } + leaf transceiver-temperature-alarm-high { + type int32; + description + "Transceiver high temperature alarm threshold + (mDegrees C)"; + } + leaf transceiver-temperature-warning-high { + type int32; + description + "Transceiver high temperature warning threshold + (mDegrees C)"; + } + leaf transceiver-temperature-warning-low { + type int32; + description + "Transceiver low temperature warning threshold + (mDegrees C)"; + } + leaf transceiver-temperature-alarm-low { + type int32; + description + "Transceiver low temperature alarm threshold + (mDegrees C)"; + } + leaf transceiver-voltage-alarm-high { + type uint32; + description + "Transceiver high voltage alarm threshold (mV)"; + } + leaf transceiver-voltage-warning-high { + type uint32; + description + "Transceiver high voltage warning threshold (mV)"; + } + leaf transceiver-voltage-warning-low { + type uint32; + description + "Transceiver low voltage warning threshold (mV)"; + } + leaf transceiver-voltage-alarm-low { + type uint32; + description + "Transceiver low voltage alarm threshold (mV)"; + } + leaf laser-bias-alarm-high { + type uint32; + description + "Laser bias high alarm threshold (uA)"; + } + leaf laser-bias-warning-high { + type uint32; + description + "Laser bias high warning threshold (uA)"; + } + leaf laser-bias-warning-low { + type uint32; + description + "Laser bias low warning threshold (uA)"; + } + leaf laser-bias-alarm-low { + type uint32; + description + "Laser bias low alarm threshold (uA)"; + } + leaf optical-transmit-power-alarm-high { + type uint32; + description + "High optical transmit power alarm threshold (uW)"; + } + leaf optical-transmit-power-warning-high { + type uint32; + description + "High optical transmit power warning threshold + (uW)"; + } + leaf optical-transmit-power-warning-low { + type uint32; + description + "Low optical transmit power warning threshold + (uW)"; + } + leaf optical-transmit-power-alarm-low { + type uint32; + description + "Low optical transmit power alarm threshold (uW)"; + } + leaf optical-receive-power-alarm-high { + type uint32; + description + "High optical receive power alarm threshold (uW)"; + } + leaf optical-receive-power-warning-high { + type uint32; + description + "High optical receive power warning threshold + (uW)"; + } + leaf optical-receive-power-warning-low { + type uint32; + description + "Low optical receive power warning threshold (uW)"; + } + leaf optical-receive-power-alarm-low { + type uint32; + description + "Low optical receive power alarm threshold (uW)"; + } + } + + grouping ETH-CTRLR-PHY-LANE-OPT-MON-VALIDITY { + description + "ETH CTRLR PHY LANE OPT MON VALIDITY"; + leaf wavelength-valid { + type int32; + description + "The wavelength 'per lane' field is valid"; + } + leaf transmit-power-valid { + type int32; + description + "The transmit power 'per lane' field is valid"; + } + leaf receive-power-valid { + type int32; + description + "The receive power 'per lane' field is valid"; + } + leaf laser-bias-valid { + type int32; + description + "The laser bias 'per lane' field is valid"; + } + } + + grouping ETH-CTRLR-PHY-DOM-LANE-ALARMS { + description + "ETH CTRLR PHY DOM LANE ALARMS"; + leaf transmit-laser-power { + type Ether-dom-alarm; + description + "Transmit Laser Power Alarm"; + } + leaf received-laser-power { + type Ether-dom-alarm; + description + "Received Optical Power Alarm"; + } + leaf laser-bias-current { + type Ether-dom-alarm; + description + "Laser Bias Current Alarm"; + } + } + + grouping ETH-CTRLR-PHY-LANE-OPT-MON { + description + "ETH CTRLR PHY LANE OPT MON"; + container dig-opt-mon-alarm { + description + "Digital Optical Monitoring alarms"; + uses ETH-CTRLR-PHY-DOM-LANE-ALARMS; + } + leaf center-wavelength { + type uint32; + description + "Center Wavelength (nm*1000)"; + } + leaf transmit-laser-power { + type int32; + description + "Transmit Laser Power (dBm*1000)"; + } + leaf received-laser-power { + type int32; + description + "Received Optical Power (dBm*1000)"; + } + leaf laser-bias-current { + type uint32; + description + "Laser Bias Current (uAmps)"; + } + leaf lane-id { + type uint32; + description + "Numerical identifier for this lane"; + } + } + + grouping ETHER-PHY-DETAILS-TYPE { + description + "ETHER PHY DETAILS TYPE"; + container lane-field-validity { + description + "Digital Optical Monitoring (per lane + information) validity"; + uses ETH-CTRLR-PHY-LANE-OPT-MON-VALIDITY; + } + container dig-opt-mon-alarm-thresholds { + description + "Digital Optical Monitoring alarm thresholds"; + uses ETH-CTRLR-PHY-DOM-THRESHOLDS; + } + container dig-opt-mon-alarms { + description + "Digital Optical Monitoring alarms"; + uses ETH-CTRLR-PHY-DOM-ALARMS; + } + leaf vendor { + type string; + description + "Name of the port optics manufacturer"; + } + leaf vendor-part-number { + type string; + description + "Part number for the port optics"; + } + leaf vendor-serial-number { + type string; + description + "Serial number for the port optics"; + } + leaf transceiver-temperature { + type int32; + description + "The temperature of the transceiver (mDegrees C)"; + } + leaf transceiver-voltage { + type int32; + description + "The input voltage to the transceiver (mV)"; + } + leaf transceiver-tx-power { + type int32; + description + "The transceiver transmit laser power (uW)"; + } + leaf transceiver-rx-power { + type int32; + description + "The transceiver receive optical power (uW)"; + } + leaf transceiver-tx-bias { + type int32; + description + "The laser bias of the transceiver (uA)"; + } + leaf optics-wavelength { + type uint32; + description + "Wavelength of the optics being used in nm * 1000"; + } + leaf optics-type { + type string; + description + "Optics module type"; + } + leaf revision-number { + type string; + description + "Module revision number"; + } + list lane { + description + "Digital Optical Monitoring (per lane + information)"; + uses ETH-CTRLR-PHY-LANE-OPT-MON; + } + } + + grouping ETH-CTRLR-PHY-INFO { + description + "ETH CTRLR PHY INFO"; + container phy-details { + description + "Details about the PHY"; + uses ETHER-PHY-DETAILS-TYPE; + } + container fec-details { + description + "Forward Error Correction information"; + uses ETHER-FEC-DETAILS-TYPE; + } + leaf media-type { + type Ethernet-media; + description + "Port media type"; + } + leaf phy-present { + type Ether-phy-present; + description + "Presence of PHY"; + } + leaf loopback { + type Ethernet-loopback; + description + "Port operational loopback"; + } + list extended-loopback { + description + "Port operational extended loopback"; + uses EXTENDED-LOOPBACK-TYPE; + } + } + + grouping ETHERNET-CONTROLLER-DRIVER-BAG-V2-TYPE { + description + "Ethernet bag for driver state for the show + controllers command"; + container phy-info { + description + "PHY information"; + uses ETH-CTRLR-PHY-INFO; + } + container layer1-info { + description + "Layer 1 information"; + uses ETH-CTRLR-L1-INFO; + } + container mac-info { + description + "MAC Layer information"; + uses ETH-CTRLR-MAC-INFO; + } + container transport-info { + description + "Transport state information"; + uses ETH-CTLR-TRANSPORT-INFO; + } + leaf admin-state { + type Ethernet-port-enable; + description + "Port Administrative State"; + } + leaf oper-state-up { + type boolean; + description + "Port Operational state - TRUE if up"; + } + } + + grouping ETHERNET-PORT-STATS-TYPE { + description + "Port stats counters"; + leaf received-total-bytes { + type uint64; + description + "Total octets of all frames"; + } + leaf received-good-bytes { + type uint64; + description + "Total octets of all good frames"; + } + leaf received-total-frames { + type uint64; + description + "All frames, good or bad"; + } + leaf received8021q-frames { + type uint64; + description + "All 802.1Q frames"; + } + leaf received-pause-frames { + type uint64; + description + "All pause frames"; + } + leaf received-unknown-opcodes { + type uint64; + description + "Unsupported MAC Control frames"; + } + leaf received-total64-octet-frames { + type uint64; + description + "All 64 Octet Frame Count"; + } + leaf received-total-octet-frames-from65-to127 { + type uint64; + description + "All 65-127 Octet Frame Count"; + } + leaf received-total-octet-frames-from128-to255 { + type uint64; + description + "All 128-255 Octet Frame Count"; + } + leaf received-total-octet-frames-from256-to511 { + type uint64; + description + "All 256-511 Octet Frame Count"; + } + leaf received-total-octet-frames-from512-to1023 { + type uint64; + description + "All 512-1023 Octet Frame Count"; + } + leaf received-total-octet-frames-from1024-to1518 { + type uint64; + description + "All 1024-1518 Octet Frame Count"; + } + leaf received-total-octet-frames-from1519-to-max { + type uint64; + description + "All > 1518 Octet Frame Count"; + } + leaf received-good-frames { + type uint64; + description + "Received Good Frames"; + } + leaf received-unicast-frames { + type uint64; + description + "Received unicast Frames"; + } + leaf received-multicast-frames { + type uint64; + description + "Received multicast Frames"; + } + leaf received-broadcast-frames { + type uint64; + description + "Received broadcast Frames"; + } + leaf number-of-buffer-overrun-packets-dropped { + type uint64; + description + "Drops due to buffer overrun"; + } + leaf number-of-aborted-packets-dropped { + type uint64; + description + "Drops due to packet abort"; + } + leaf numberof-invalid-vlan-id-packets-dropped { + type uint64; + description + "Drops due to invalid VLAN id"; + } + leaf invalid-dest-mac-drop-packets { + type uint64; + description + "Drops due to the destination MAC not matching"; + } + leaf invalid-encap-drop-packets { + type uint64; + description + "Drops due to the encapsulation or ether type not + matching"; + } + leaf number-of-miscellaneous-packets-dropped { + type uint64; + description + "Any other drops not counted"; + } + leaf dropped-giant-packets-greaterthan-mru { + type uint64; + description + "Good frames > MRU, dropped"; + } + leaf dropped-ether-stats-undersize-pkts { + type uint64; + description + "Good frames < 64 Octet, dropped"; + } + leaf dropped-jabbers-packets-greaterthan-mru { + type uint64; + description + "Bad Frames > MRU, dropped"; + } + leaf dropped-ether-stats-fragments { + type uint64; + description + "Bad Frames < 64 Octet, dropped"; + } + leaf dropped-packets-with-crc-align-errors { + type uint64; + description + "Frames 64 - MRU with CRC error"; + } + leaf ether-stats-collisions { + type uint64; + description + "All collision events"; + } + leaf symbol-errors { + type uint64; + description + "Symbol errors"; + } + leaf dropped-miscellaneous-error-packets { + type uint64; + description + "Any other errors not counted"; + } + leaf rfc2819-ether-stats-oversized-pkts { + type uint64; + description + "RFC2819 etherStatsOversizedPkts"; + } + leaf rfc2819-ether-stats-jabbers { + type uint64; + description + "RFC2819 etherStatsJabbers"; + } + leaf rfc2819-ether-stats-crc-align-errors { + type uint64; + description + "RFC2819 etherStatsCRCAlignErrors"; + } + leaf rfc3635dot3-stats-alignment-errors { + type uint64; + description + "RFC3635 dot3StatsAlignmentErrors"; + } + leaf total-bytes-transmitted { + type uint64; + description + "Total octets of all frames"; + } + leaf total-good-bytes-transmitted { + type uint64; + description + "Total octets of all good frames"; + } + leaf total-frames-transmitted { + type uint64; + description + "All frames, good or bad"; + } + leaf transmitted8021q-frames { + type uint64; + description + "All 802.1Q frames"; + } + leaf transmitted-total-pause-frames { + type uint64; + description + "All pause frames"; + } + leaf transmitted-total64-octet-frames { + type uint64; + description + "All 64 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from65-to127 { + type uint64; + description + "All 65-127 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from128-to255 { + type uint64; + description + "All 128-255 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from256-to511 { + type uint64; + description + "All 256-511 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from512-to1023 { + type uint64; + description + "All 512-1023 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from1024-to1518 { + type uint64; + description + "All 1024-1518 Octet Frame Count"; + } + leaf transmitted-total-octet-frames-from1518-to-max { + type uint64; + description + "All > 1518 Octet Frame Count"; + } + leaf transmitted-good-frames { + type uint64; + description + "Transmitted Good Frames"; + } + leaf transmitted-unicast-frames { + type uint64; + description + "Transmitted unicast Frames"; + } + leaf transmitted-multicast-frames { + type uint64; + description + "Transmitted multicast Frames"; + } + leaf transmitted-broadcast-frames { + type uint64; + description + "Transmitted broadcast Frames"; + } + leaf buffer-underrun-packet-drops { + type uint64; + description + "Drops due to buffer underrun"; + } + leaf aborted-packet-drops { + type uint64; + description + "Drops due to packet abort"; + } + leaf uncounted-dropped-frames { + type uint64; + description + "Any other drops not counted"; + } + leaf miscellaneous-output-errors { + type uint64; + description + "Any other errors not counted"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper.yang new file mode 100644 index 0000000..90dd232 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-media-eth-oper.yang @@ -0,0 +1,98 @@ +module Cisco-IOS-XR-drivers-media-eth-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-media-eth-oper"; + prefix drivers-media-eth-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-drivers-media-eth-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR drivers-media-eth package operational data. + + This module contains definitions + for the following management objects: + ethernet-interface: Ethernet operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-04-04 { + description + "Added new fields to phy data."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ethernet-interface { + config false; + description + "Ethernet operational data"; + container statistics { + description + "Ethernet controller statistics table"; + list statistic { + key "interface-name"; + description + "Ethernet statistics information"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses ETHERNET-PORT-STATS-TYPE; + } + } + container interfaces { + description + "Ethernet controller info table"; + list interface { + key "interface-name"; + description + "Ethernet controller information"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses ETHERNET-CONTROLLER-DRIVER-BAG-V2-TYPE; + } + } + container berts { + description + "Ethernet controller BERT table"; + list bert { + key "interface-name"; + description + "Ethernet BERT information"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses ETH-SHOWCTRL-BERT; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang new file mode 100644 index 0000000..3c47f18 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-drivers-vpa-infra-cfg.yang @@ -0,0 +1,72 @@ +module Cisco-IOS-XR-drivers-vpa-infra-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-drivers-vpa-infra-cfg"; + prefix drivers-vpa-infra-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR drivers-vpa-infra package configuration. + + This module contains definitions + for the following management objects: + hardware-module: Configure subslot h/w module + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Hw-module-shutdown-power-mode { + type enumeration { + enum "powered" { + value 2; + description + "Keep the showdown module powered (default)"; + } + } + description + "Hw module shutdown power mode"; + } + + container hardware-module { + description + "Configure subslot h/w module"; + container nodes { + description + " subslot h/w module"; + list node { + key "node-name"; + description + "The identifier for a SPA node"; + leaf shutdown { + type Hw-module-shutdown-power-mode; + description + "Shutdown a subslot h/w module"; + } + leaf node-name { + type xr:Node-id; + description + "A SPA node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-cfg.yang new file mode 100644 index 0000000..2e53582 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-cfg.yang @@ -0,0 +1,1015 @@ +module Cisco-IOS-XR-dwdm-ui-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-cfg"; + prefix dwdm-ui-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dwdm-ui package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-12-16 { + description + "Adding additional In Service Transport Admin State to allow configuration while dwdm controller is in service"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Prbs-pattern { + type enumeration { + enum "none" { + value 0; + description + "None Pattern"; + } + enum "null" { + value 1; + description + "Null Pattern"; + } + enum "pn11" { + value 2; + description + "PN11 Pattern"; + } + enum "pn23" { + value 3; + description + "PN23 Pattern"; + } + enum "pn31" { + value 4; + description + "PN31 Pattern"; + } + } + description + "Prbs pattern"; + } + + typedef Proactive { + type enumeration { + enum "default" { + value 1; + description + "Proactive Protection Default Mode"; + } + enum "graceful" { + value 2; + description + "Proactive Protection Graceful Mode"; + } + } + description + "Proactive"; + } + + typedef Expected-tti { + type enumeration { + enum "expected-tti-ascii" { + value 3; + description + "Expected TTI ascii string"; + } + enum "expected-tti-hex" { + value 4; + description + "Expected TTI hex string"; + } + } + description + "Expected tti"; + } + + typedef Fec { + type enumeration { + enum "none" { + value 0; + description + "No FEC"; + } + enum "standard" { + value 1; + description + "Standard FEC"; + } + enum "enhanced" { + value 2; + description + "Enhanced FEC"; + } + enum "high-gain-hd" { + value 3; + description + "High-Gain Hard Decision"; + } + enum "long-haul-hd" { + value 4; + description + "Long-Haul Hard Decision"; + } + enum "high-gain-sd" { + value 5; + description + "High-Gain Soft Decision"; + } + enum "long-haul-sd" { + value 6; + description + "Long-Haul Soft Decision"; + } + enum "ci-bch" { + value 7; + description + "Ci BCH"; + } + enum "high-gain-multivendor-hd" { + value 8; + description + "High-Gain Multivendor Interoperable Hard + Decision"; + } + } + description + "Fec"; + } + + typedef Framing { + type enumeration { + enum "opu1e" { + value 1; + description + "opu1e Framing"; + } + enum "opu2e" { + value 2; + description + "opu2e Framing"; + } + } + description + "Framing"; + } + + typedef Otu-threshold { + type enumeration { + enum "prefec-sd" { + value 0; + description + "PREFEC SD BER THRESHOLD"; + } + enum "prefec-sf" { + value 1; + description + "PREFEC SF BER THRESHOLD"; + } + enum "otu-sd" { + value 4; + description + "OTU SD BER threshold"; + } + enum "otu-sf" { + value 5; + description + "OTU SF BER threshold"; + } + } + description + "Otu threshold"; + } + + typedef Dwdm-loopback { + type enumeration { + enum "none" { + value 0; + description + "No Loopback"; + } + enum "line" { + value 1; + description + "Line Loopback"; + } + enum "internal" { + value 2; + description + "Internal Loopback"; + } + } + description + "Dwdm loopback"; + } + + typedef Efec { + type enumeration { + enum "none" { + value 0; + description + "default submode to handle backward + compatibility"; + } + enum "i.4" { + value 1; + description + "efec i.4"; + } + enum "i.7" { + value 2; + description + "efec i.7"; + } + } + description + "Efec"; + } + + typedef Odu-alarm { + type enumeration { + enum "oci" { + value 14; + description + "ODU OCI"; + } + enum "odu-ais" { + value 15; + description + "ODU AIS"; + } + enum "lck" { + value 16; + description + "ODU LCK"; + } + enum "odu-bdi" { + value 17; + description + "ODU BDI"; + } + enum "odu-sf" { + value 20; + description + "ODU SF BER"; + } + enum "odu-sd" { + value 21; + description + "ODU SD BER"; + } + enum "plm" { + value 22; + description + "ODU PTIM"; + } + enum "odu-tim" { + value 23; + description + "ODU TIM"; + } + } + description + "Odu alarm"; + } + + typedef Prbs-mode { + type enumeration { + enum "source" { + value 0; + description + "Source Mode"; + } + enum "sink" { + value 1; + description + "Sink Mode"; + } + enum "source-sink" { + value 2; + description + "Source-Sink Mode"; + } + enum "invalid" { + value 3; + description + "Invalid Mode"; + } + } + description + "Prbs mode"; + } + + typedef Tx-tti { + type enumeration { + enum "tx-tti-ascii" { + value 0; + description + "TX TTI ascii string"; + } + enum "tx-tti-hex" { + value 1; + description + "TX TTI hex string"; + } + } + description + "Tx tti"; + } + + typedef Otu-alarm { + type enumeration { + enum "los" { + value 0; + description + "LOS"; + } + enum "lof" { + value 1; + description + "LOF"; + } + enum "lom" { + value 2; + description + "LOM"; + } + enum "iae" { + value 6; + description + "OTU IAE"; + } + enum "otu-bdi" { + value 7; + description + "OTU BDI"; + } + enum "otu-tim" { + value 8; + description + "OTU TIM"; + } + enum "otu-sf" { + value 10; + description + "OTU SF BER"; + } + enum "otu-sd" { + value 11; + description + "OTU SD BER"; + } + enum "fec-mismatch" { + value 24; + description + "FEC mismatch"; + } + enum "prefec-sd-ber" { + value 31; + description + "PREFEC SD BER"; + } + enum "prefec-sf-ber" { + value 32; + description + "PREFEC SF BER"; + } + } + description + "Otu alarm"; + } + + typedef Dwdm-admin-state { + type enumeration { + enum "out-of-service" { + value 0; + description + "Out of service"; + } + enum "in-service" { + value 1; + description + "In service"; + } + enum "maintenance" { + value 2; + description + "Out of service maintenance"; + } + enum "in-service-config-allowed" { + value 3; + description + "In service Config allowed"; + } + } + description + "Dwdm admin state"; + } + + typedef Odu-threshold { + type enumeration { + enum "odu-sd" { + value 8; + description + "ODU SD BER threshold"; + } + enum "odu-sf" { + value 9; + description + "ODU SF BER threshold"; + } + } + description + "Odu threshold"; + } + + typedef Wave-channel-num { + type enumeration { + enum "default" { + value 0; + description + "Default Wave Channel Number"; + } + enum "channel-wavelength" { + value 1; + description + "Wavelength Wave Channel Number"; + } + enum "channel-frequency" { + value 2; + description + "Frequency Wave Channel Number"; + } + enum "100mhz-frequency" { + value 4; + description + "Frequency in Steps of 100MHz"; + } + } + description + "Wave channel num"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf maintenance-embargo { + type boolean; + description + "configure maintenance embargo flag on the given + interface"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container dwdm { + description + "DWDM port controller configuration"; + container network-srlgs { + description + "Configure Network srlgs"; + list network-srlg { + key "set-id"; + description + "Configure network srlg sets"; + leaf set-id { + type uint32 { + range "1..17"; + } + description + "Set index"; + } + leaf srlg1 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg2 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg3 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg4 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg5 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + leaf srlg6 { + type uint32 { + range "0..4294967294"; + } + description + "none"; + } + } + } + container g709 { + description + "Configure G709 parameters"; + container odu { + description + "Configure ODU parameters"; + container odu-reports { + description + "Configure ODU alarm reporting"; + list odu-report { + key "alarm"; + description + "none"; + leaf alarm { + type Odu-alarm; + description + "ODU alarm type"; + } + } + } + container odu-thresholds { + description + "Configure ODU threshold value"; + list odu-threshold { + key "threshold"; + description + "none"; + leaf threshold { + type Odu-threshold; + description + "ODU Threshold type"; + } + leaf threshold-value { + type uint32 { + range "1..9"; + } + mandatory true; + description + "Bit error rate (10 to the minus n)"; + } + } + } + container odu-expected-tti { + description + "Configure ODU Expected TTI value"; + leaf string-type { + type Expected-tti; + description + "TTI string type (ascii or hex format)"; + } + leaf ascii-string { + when "../string-type = 'expected-tti-ascii'" { + description + "../StringType = EXPECTED_TTI_ASCII"; + } + type string { + length "1..64"; + } + description + "ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'expected-tti-hex'" { + description + "../StringType = EXPECTED_TTI_HEX"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128- The string length + should be an even number)"; + } + } + container odu-tx-tti { + description + "Configure ODU TTI value"; + leaf string-type { + type Tx-tti; + description + "TTI string type (ascii or hex format)"; + } + leaf ascii-string { + when "../string-type = 'tx-tti-ascii'" { + description + "../StringType = TX_TTI_ASCII"; + } + type string { + length "1..64"; + } + description + "ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'tx-tti-hex'" { + description + "../StringType = TX_TTI_HEX"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128- The string length + should be an even number)"; + } + } + } + container otu { + description + "Configure OTU parameters"; + container otu-expected-tti { + description + "Configure OTU Expected TTI value"; + leaf string-type { + type Expected-tti; + description + "TTI string type (ascii or hex format)"; + } + leaf ascii-string { + when "../string-type = 'expected-tti-ascii'" { + description + "../StringType = EXPECTED_TTI_ASCII"; + } + type string { + length "1..64"; + } + description + "ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'expected-tti-hex'" { + description + "../StringType = EXPECTED_TTI_HEX"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128- The string length + should be an even number)"; + } + } + container otu-thresholds { + description + "Configure OTU threshold value"; + list otu-threshold { + key "threshold"; + description + "none"; + leaf threshold { + type Otu-threshold; + description + "OTU Threshold type"; + } + leaf threshold-value { + type uint32 { + range "1..9"; + } + mandatory true; + description + "Bit error rate (10 to the minus n)"; + } + } + } + container frr { + description + "Configure FRR thresholds and Window for + trigger and revert"; + container trigger-window { + presence "Indicates a trigger-window node is configured."; + description + "Configure FRR trigger window"; + leaf window { + type uint32 { + range "10..10000"; + } + mandatory true; + description + "Integration window for FRR trigger in MS"; + } + leaf dummy { + type uint32 { + range "0..2"; + } + description + "Just a Dummy for window for FRR revert in + MS"; + } + } + container revert-threshold { + presence "Indicates a revert-threshold node is configured."; + description + "Configure proactive protection revert + threshold"; + leaf ber-base { + type uint32 { + range "1..9"; + } + mandatory true; + description + "Bit error rate base (x of xE-y)"; + } + leaf ber-power { + type uint32 { + range "3..10"; + } + mandatory true; + description + "Bit error rate power (y of xE-y)"; + } + } + container trigger-threshold { + presence "Indicates a trigger-threshold node is configured."; + description + "Configure proactive protection trigger + threshold"; + leaf ber-base { + type uint32 { + range "1..9"; + } + mandatory true; + description + "Bit error rate base (x of xE-y)"; + } + leaf ber-power { + type uint32 { + range "2..9"; + } + mandatory true; + description + "Bit error rate power (y of xE-y)"; + } + } + container revert-window { + presence "Indicates a revert-window node is configured."; + description + "Configure FRR revert window"; + leaf window { + type uint32 { + range "500..100000"; + } + mandatory true; + description + "Integration window for FRR revert in MS"; + } + leaf dummy { + type uint32 { + range "0..2"; + } + description + "Just a Dummy for window for FRR revert in + MS"; + } + } + } + container otu-reports { + description + "Configure OTU alarm reporting"; + list otu-report { + key "alarm"; + description + "none"; + leaf alarm { + type Otu-alarm; + description + "OTU alarm type"; + } + } + } + container otu-tx-tti { + description + "Configure OTU TTI value"; + leaf string-type { + type Tx-tti; + description + "TTI string type (ascii or hex format)"; + } + leaf ascii-string { + when "../string-type = 'tx-tti-ascii'" { + description + "../StringType = TX_TTI_ASCII"; + } + type string { + length "1..64"; + } + description + "ASCII text (Max 64 characters)"; + } + leaf hex-string { + when "../string-type = 'tx-tti-hex'" { + description + "../StringType = TX_TTI_HEX"; + } + type string { + length "1..128"; + } + description + "Hex nibbles (Max 128- The string length + should be an even number)"; + } + } + } + container prbs { + presence "Indicates a prbs node is configured."; + description + "Configure PRBS mode and pattern"; + leaf prbs-mode { + type Prbs-mode; + mandatory true; + description + "Enable PRBS with mode"; + } + leaf prbs-pattern { + type Prbs-pattern; + mandatory true; + description + "Enable prbs test with pattern"; + } + } + container fec { + presence "Indicates a fec node is configured."; + description + "Configure FEC mode"; + leaf fec-mode { + type Fec; + mandatory true; + description + "None, Standard, Enhanced, High-Gain, + Long-Haul, Ci-BCH"; + } + leaf efec-mode { + type Efec; + default "none"; + description + "Enhanced FECMode to use i.4, i.7, Other + FECMode to use None"; + } + } + leaf proactive { + type Proactive; + description + "Enable proactive protectioni Graceful or + Default mode"; + } + leaf bdi-to-gais { + type empty; + description + "Enable GAIS insertion"; + } + leaf tim-to-gais { + type empty; + description + "Configure Trace Identifier Mismatch alarm + consequence"; + } + leaf proactive-logging-file { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Configure proactive protection log file"; + } + leaf tti-processing { + type empty; + description + "Configure Trail Trace Identifier processing"; + } + leaf enable { + type boolean; + description + "Disable or Enable g709 framing"; + } + leaf framing { + type Framing; + description + "Over clocking mode for client signal bw + compatibility"; + } + } + container wavelength { + presence "Indicates a wavelength node is configured."; + description + "Configure transponder wavelength"; + leaf wave-channel { + type uint32 { + range "1..1568362"; + } + mandatory true; + description + "Select a ITU channel number,channel range for + C-band: 1~82,L-band:106~185,spacing:50GHZ or + 100MHz"; + } + leaf wave-channel-number { + type Wave-channel-num; + mandatory true; + description + "Wave Channel Number"; + } + leaf prog-frequency { + type string { + length "1..128"; + } + description + "Enter Frequency Data in THz"; + } + } + leaf enable-vtxp { + type boolean; + description + "Disable or Enable VTXP configuration"; + } + leaf network-port-id { + type string { + length "1..64"; + } + description + "Configure network port id"; + } + leaf transport-admin-state { + type Dwdm-admin-state; + default "out-of-service"; + description + "Configure transport admin state"; + } + leaf laser { + type empty; + description + "Configure laser off/on"; + } + leaf transmit-power { + type int32 { + range "-190..10"; + } + description + "Select power level (in units of 0.1dBm)"; + } + leaf rx-threshold { + type int32 { + range "-350..50"; + } + description + "Select power level (in units of 0.1dBm)"; + } + leaf network-connection-id { + type string { + length "1..64"; + } + description + "Configure network connection id"; + } + leaf loopback { + type Dwdm-loopback; + default "none"; + description + "Configure loopback mode "; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang new file mode 100644 index 0000000..1083bd7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper-sub1.yang @@ -0,0 +1,1768 @@ +submodule Cisco-IOS-XR-dwdm-ui-oper-sub1 { + belongs-to Cisco-IOS-XR-dwdm-ui-oper { + prefix Cisco-IOS-XR-dwdm-ui-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR dwdm-ui package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef G709aps-byte { + type enumeration { + enum "pp-no-protect" { + value 0; + description + "No Protection"; + } + enum "pp-no-request" { + value 15; + description + "No Request"; + } + enum "pp-regen-degrade" { + value 63; + description + "Regenerator Degrade"; + } + enum "pp-sig-degrade" { + value 175; + description + "Signal Degrade"; + } + enum "pp-remote-main" { + value 239; + description + "Maintenance Request"; + } + enum "pp-aps-unknown" { + value 255; + description + "Unknown"; + } + } + description + "G709aps byte"; + } + + typedef G709ppintf-state { + type enumeration { + enum "pp-intf-up" { + value 0; + description + "Interface is Up"; + } + enum "pp-intf-failing" { + value 1; + description + "Interface is Going Down"; + } + enum "pp-intf-down" { + value 2; + description + "Interface Down"; + } + } + description + "G709ppintf state"; + } + + typedef G709ppfsm-state { + type enumeration { + enum "in-active" { + value 0; + description + "In Active"; + } + enum "disabled" { + value 1; + description + "Disabled"; + } + enum "normal-state" { + value 2; + description + "Normal"; + } + enum "local-failing" { + value 3; + description + "Local Failing"; + } + enum "remote-failing" { + value 4; + description + "Remote Failing"; + } + enum "main-t-failing" { + value 5; + description + "Maintance Failing"; + } + enum "regen-failing" { + value 6; + description + "Regenerator Failing"; + } + enum "local-failed" { + value 7; + description + "Local Failed"; + } + enum "remote-failed" { + value 8; + description + "Remote Failed"; + } + enum "main-t-failed" { + value 9; + description + "Maintance Failed"; + } + enum "regen-failed" { + value 10; + description + "Regenerator Failed"; + } + } + description + "G709ppfsm state"; + } + + typedef G709ppfsm-mode { + type enumeration { + enum "pp-disable" { + value 0; + description + "OFF"; + } + enum "pp-default-mode" { + value 1; + description + "ON (Default Mode)"; + } + enum "pp-graceful-mode" { + value 2; + description + "ON (Graceful Mode)"; + } + } + description + "G709ppfsm mode"; + } + + typedef Dwdm-wave-channel-owner { + type enumeration { + enum "default" { + value 0; + description + "Hardware Default"; + } + enum "configuration" { + value 1; + description + "Configuration"; + } + enum "gmpls" { + value 2; + description + "GMPLS Signaled"; + } + } + description + "Dwdm wave channel owner"; + } + + typedef G709efec-mode { + type enumeration { + enum "g975-none" { + value 0; + description + ""; + } + enum "g975-1-i4" { + value 1; + description + "G975.1 I.4"; + } + enum "g975-1-i7" { + value 2; + description + "G975.1 I.7"; + } + } + description + "G709efec mode"; + } + + typedef Dwdmtas-state { + type enumeration { + enum "tas-oos" { + value 0; + description + "Out of Service"; + } + enum "tas-is" { + value 1; + description + "In Service"; + } + enum "tas-oos-mt" { + value 2; + description + "Out of Service Maintenance"; + } + enum "tas-is-cfg" { + value 3; + description + "In Service Config allowed"; + } + } + description + "Dwdmtas state"; + } + + typedef Dwdm-controller-state { + type enumeration { + enum "dwdm-ui-state-up" { + value 0; + description + "Up"; + } + enum "dwdm-ui-state-down" { + value 1; + description + "Down"; + } + enum "dwdm-ui-state-admin-down" { + value 2; + description + "Administratively Down"; + } + } + description + "Dwdm controller state"; + } + + typedef G709prbs-mode { + type enumeration { + enum "mode-source" { + value 0; + description + "mode source"; + } + enum "mode-sink" { + value 1; + description + "mode sink"; + } + enum "mode-source-sink" { + value 2; + description + "mode source sink"; + } + enum "mode-invalid" { + value 3; + description + "mode invalid"; + } + } + description + "G709prbs mode"; + } + + typedef G709prbs-pattern { + type enumeration { + enum "pattern-none" { + value 0; + description + "pattern none"; + } + enum "pattern-null" { + value 1; + description + "pattern null"; + } + enum "pattern-pn11" { + value 2; + description + "pattern pn11"; + } + enum "pattern-pn23" { + value 3; + description + "pattern pn23"; + } + enum "pattern-pn31" { + value 4; + description + "pattern pn31"; + } + } + description + "G709prbs pattern"; + } + + typedef G709prbs-interval { + type enumeration { + enum "current-interval" { + value 0; + description + "Current interval"; + } + enum "previous-interval" { + value 1; + description + "Previous interval"; + } + enum "previous-interval2" { + value 2; + description + "Previous interval 2"; + } + enum "previous-interval3" { + value 3; + description + "Previous interval 3"; + } + enum "previous-interval4" { + value 4; + description + "Previous interval 4"; + } + enum "previous-interval5" { + value 5; + description + "Previous interval 5"; + } + enum "previous-interval6" { + value 6; + description + "Previous interval 6"; + } + enum "previous-interval7" { + value 7; + description + "Previous interval 7"; + } + enum "previous-interval8" { + value 8; + description + "Previous interval 8"; + } + enum "previous-interval9" { + value 9; + description + "Previous interval 9"; + } + enum "previous-interval10" { + value 10; + description + "Previous interval 10"; + } + enum "previous-interval11" { + value 11; + description + "Previous interval 11"; + } + enum "previous-interval12" { + value 12; + description + "Previous interval 12"; + } + enum "previous-interval13" { + value 13; + description + "Previous interval 13"; + } + enum "previous-interval14" { + value 14; + description + "Previous interval 14"; + } + enum "previous-interval15" { + value 15; + description + "Previous interval 15"; + } + enum "previous-interval16" { + value 16; + description + "Previous interval 16"; + } + enum "previous-interval17" { + value 17; + description + "Previous interval 17"; + } + enum "previous-interval18" { + value 18; + description + "Previous interval 18"; + } + enum "previous-interval19" { + value 19; + description + "Previous interval 19"; + } + enum "previous-interval20" { + value 20; + description + "Previous interval 20"; + } + enum "previous-interval21" { + value 21; + description + "Previous interval 21"; + } + enum "previous-interval22" { + value 22; + description + "Previous interval 22"; + } + enum "previous-interval23" { + value 23; + description + "Previous interval 23"; + } + enum "previous-interval24" { + value 24; + description + "Previous interval 24"; + } + enum "previous-interval25" { + value 25; + description + "Previous interval 25"; + } + enum "previous-interval26" { + value 26; + description + "Previous interval 26"; + } + enum "previous-interval27" { + value 27; + description + "Previous interval 27"; + } + enum "previous-interval28" { + value 28; + description + "Previous interval 28"; + } + enum "previous-interval29" { + value 29; + description + "Previous interval 29"; + } + enum "previous-interval30" { + value 30; + description + "Previous interval 30"; + } + enum "previous-interval31" { + value 31; + description + "Previous interval 31"; + } + enum "previous-interval32" { + value 32; + description + "Previous interval 32"; + } + } + description + "PRBS test interval information"; + } + + grouping DWDM-EDM-VTXP-INFO { + description + "VTXP Information"; + leaf vtxp-enable { + type boolean; + description + "Is VTXP attribute enabled"; + } + } + + grouping DWDM-EDM-SIGNAL-LOG-INFO { + description + "Signal log information"; + leaf is-log-enabled { + type boolean; + description + "'true' if signal log is enabled 'false' + otherwise"; + } + leaf log-filename { + type string { + length "0..64"; + } + description + "Log file name "; + } + } + + grouping DWDM-EDM-PROACTIVE-INFO { + description + "Proactive Information"; + leaf proactive-feature { + type boolean; + description + "Feature Support"; + } + leaf proactive-mode { + type G709ppfsm-mode; + description + "Proactive Mode"; + } + leaf proactive-fsm-state { + type G709ppfsm-state; + description + "Proactive FSM State"; + } + leaf proactive-fsm-if-state { + type G709ppintf-state; + description + "Proactive FSM IF State"; + } + leaf tas-state { + type Dwdmtas-state; + description + "TAS State"; + } + leaf trig-thresh-coeff { + type uint8; + description + "Trigger threshold coefficient"; + } + leaf trig-thresh-power { + type uint8; + description + "Trigger threshold power"; + } + leaf rvrt-thresh-coeff { + type uint8; + description + "Revert threshold coefficient"; + } + leaf rvrt-thresh-power { + type uint8; + description + "Revert threshold power"; + } + leaf default-trig-thresh-coeff { + type uint8; + description + "Default Trigger threshold coefficient"; + } + leaf default-trig-thresh-power { + type uint8; + description + "Default Trigger threshold power"; + } + leaf default-rvrt-thresh-coeff { + type uint8; + description + "Default Revert threshold coefficient"; + } + leaf default-rvrt-thresh-power { + type uint8; + description + "Default Revert threshold power"; + } + leaf trig-samples { + type uint8; + description + "Required Trigger Samples"; + } + leaf rvrt-samples { + type uint8; + description + "Required Revert Samples"; + } + leaf trigger-window { + type uint32; + description + "Trigger Integration window"; + } + leaf revert-window { + type uint32; + description + "Revert Integration Window"; + } + leaf protection-trigger { + type boolean; + description + "Protection Trigger State"; + } + leaf interface-trigger { + type boolean; + description + "Proactive Interface Triffer"; + } + leaf tx-aps { + type uint8; + description + "Transmitted APS Byte"; + } + leaf tx-aps-descr { + type G709aps-byte; + description + "Tx APS Description"; + } + leaf rx-aps { + type uint8; + description + "Received APS byte"; + } + leaf rx-aps-descr { + type G709aps-byte; + description + "Rx APS Description"; + } + leaf alarm-state { + type boolean; + description + "AlarmState"; + } + leaf trig-ec-cnt { + type uint32; + description + "Trigger EC Cnt"; + } + leaf rvrt-ec-cnt { + type uint32; + description + "Revert EC Cnt"; + } + leaf prefec-thresh-crossed { + type boolean; + description + "Prefec Trigger Thresh Crossed"; + } + } + + grouping DWDM-EDM-NETWORK-SRLG-INFO { + description + "Network SRLG Information"; + leaf-list network-srlg { + type uint32; + max-elements "102"; + description + "Network Srlg"; + } + } + + grouping DWDM-EDM-TDC-INFO { + description + "TDC information"; + leaf tdc-valid { + type boolean; + description + "TRUE for Valid else Invalid"; + } + leaf major-alarm { + type boolean; + description + "TRUE for Alarm condition else FALSE"; + } + leaf operation-mode { + type boolean; + description + "TRUE for MANUAL else AUTO"; + } + leaf tdc-status { + type boolean; + description + "TRUE if TDC Aquiring else Locked"; + } + leaf dispersion-offset { + type int32; + description + "TDC Dispersion Offset"; + } + leaf reroute-ber { + type int32; + description + "Reroute BER"; + } + leaf is-reroute-control-enabled { + type boolean; + description + "TRUE for ENABLED else DISABLED"; + } + } + + grouping DWDM-EDM-OPTICS-INFO { + description + "optics transponder information"; + leaf optics-type { + type string { + length "0..64"; + } + description + "Optics type name"; + } + leaf clock-source { + type uint8; + description + "Actual transmit clock source"; + } + leaf wave-frequency-progressive-string { + type string { + length "0..64"; + } + description + "Wave Frequency Information for Progressive + Frequencies"; + } + leaf wavelength-progressive-string { + type string { + length "0..64"; + } + description + "Wavelength Information for Progressive + Frequencies"; + } + leaf is-wave-frequency-progressive-valid { + type boolean; + description + "True if Progressive Frequency is supported by hw"; + } + leaf wavelength-progressive { + type uint32; + description + "Wavelength Information for Progressive + Frequencies"; + } + leaf wave-band { + type uint32; + description + "Wavelength band information"; + } + leaf wave-channel { + type uint32; + description + "Current ITU wavelength channel number"; + } + leaf wave-frequency { + type uint32; + description + " wavelenght frequency read from hw in the uint 0 + .01nm"; + } + leaf is-wave-frequency-valid { + type boolean; + description + "True if hw supported wavelength frequency + readback"; + } + leaf wave-channel-owner { + type Dwdm-wave-channel-owner; + description + "Owner of current wavelength"; + } + leaf gmpls-set-wave-channel { + type uint16; + description + "Wavelength channel set by GMPLS"; + } + leaf configured-wave-channel { + type uint16; + description + "Wavelength channel set from configuration"; + } + leaf default-wave-channel { + type uint16; + description + "Wavelength channel default from hardware"; + } + leaf transmit-power { + type int32; + description + "Transmit power in the unit of 0.01dbm"; + } + leaf transmit-power-threshold { + type int32; + description + "Transmit power threshold value"; + } + leaf laser-current-bias { + type int32; + description + "Laser current bias value"; + } + leaf laser-current-bias-threshold { + type int32; + description + " Laser Current Bias threshold value"; + } + leaf receive-power { + type int32; + description + "Transponder receive power"; + } + leaf is-rx-los-threshold-supported { + type boolean; + description + "TRUE if Rx LOS thresold configurable"; + } + leaf rx-los-threshold { + type int32; + description + "Rx LOS threshold value"; + } + leaf transmit-power-min { + type int32; + description + "Transmit power mininum value in the interval + time"; + } + leaf transmit-power-max { + type int32; + description + "Transmit power maximum value in the interval + time"; + } + leaf transmit-power-avg { + type int32; + description + "Transmit optical average value in the interval + time"; + } + leaf receive-power-min { + type int32; + description + "Recieve power mininum value in the interval time"; + } + leaf receive-power-max { + type int32; + description + "Receive power maximum value in the interval time"; + } + leaf receive-power-avg { + type int32; + description + "Recieve power average value in the interval time"; + } + leaf laser-bias-current-min { + type int32; + description + "Laser bias current minimum value in the interval + time"; + } + leaf laser-bias-current-max { + type int32; + description + "Laser bias current maxinum value in the interval + time"; + } + leaf laser-bias-current-avg { + type int32; + description + "Laser bias current average value in the interval + time"; + } + leaf chromatic-dispersion { + type int32; + description + "Current chromatic dispersion"; + } + leaf differential-group-delay { + type int32; + description + "Current differential group Delay"; + } + leaf polarization-mode-dispersion { + type int32; + description + "Current polarization mode dispersion"; + } + leaf signal-to-noise-ratio { + type int32; + description + "Current optical signal to noise ratio"; + } + leaf polarization-dependent-loss { + type int32; + description + "Current Polarization Dependent loss"; + } + leaf polarization-change-rate { + type uint32; + description + "Current Polarization change rate"; + } + leaf phase-noise { + type uint32; + description + "Current Phase Noise"; + } + leaf output-power-fail { + type uint32; + description + "Transmit power failure(above/belowe a threshold) + count"; + } + leaf input-power-fail { + type uint32; + description + "Receive power failure(above/belowe a threshold) + count"; + } + } + + grouping DWDM-EDM-G709-ODU { + description + "dwdm odu information"; + container oci { + description + "Open Connection Indiction information"; + uses DWDM-EDM-G709-ALARM; + } + container ais { + description + "Alarm Indication Signal information"; + uses DWDM-EDM-G709-ALARM; + } + container lck { + description + "Upstream Connection Locked information"; + uses DWDM-EDM-G709-ALARM; + } + container bdi { + description + "Backward Defect Indication information"; + uses DWDM-EDM-G709-ALARM; + } + container eoc { + description + "GCC End of Channel information"; + uses DWDM-EDM-G709-ALARM; + } + container ptim { + description + "Payload Type Identifier Mismatch information"; + uses DWDM-EDM-G709-ALARM; + } + container tim { + description + "Trace Identifier Mismatch information"; + uses DWDM-EDM-G709-ALARM; + } + container sf-ber { + description + "Signal Fail BER information"; + uses DWDM-EDM-G709-ALERT; + } + container sd-ber { + description + "Signal Degrade BER information"; + uses DWDM-EDM-G709-ALERT; + } + container bbe-tca { + description + "Background Block Error TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container es-tca { + description + "Errored Seconds TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container bbe { + description + "Background Block Error information"; + uses DWDM-EDM-G709-PM; + } + container es { + description + "Errored Seconds information"; + uses DWDM-EDM-G709-PM; + } + container ses { + description + "Severly Errored Seconds information"; + uses DWDM-EDM-G709-PM; + } + container uas { + description + "Unavailability Seconds information"; + uses DWDM-EDM-G709-PM; + } + container fc { + description + "Failure count information"; + uses DWDM-EDM-G709-PM; + } + container bber { + description + "Background Block Error Rate count information"; + uses DWDM-EDM-G709-PM; + } + container esr { + description + "Errored Seconds Rate information"; + uses DWDM-EDM-G709-PM; + } + container sesr { + description + "Severly Errored Seconds Rate information"; + uses DWDM-EDM-G709-PM; + } + container tti { + description + "Trail Trace Identifier information"; + uses DWDM-EDM-G709-TTI; + } + leaf bip { + type uint64; + description + "Bit Interleave Parity(BIP) counter"; + } + leaf bei { + type uint64; + description + "Backward Error Indication counter"; + } + } + + grouping DWDM-EDM-G709-TTI { + description + "G709 TTI information"; + leaf tx-string-type { + type uint32; + description + "Type of String"; + } + leaf expected-string-type { + type uint32; + description + "Type of String"; + } + leaf rx-string-type { + type uint32; + description + "Type of String"; + } + leaf tx-tti { + type string { + length "0..129"; + } + description + "Tx TTI String "; + } + leaf tx-sapi0 { + type string { + length "0..5"; + } + description + "Tx SAPI[0] Field"; + } + leaf tx-sapi { + type string { + length "0..16"; + } + description + "Tx SAPI[1-15] Field"; + } + leaf tx-sapi-range { + type string { + length "0..6"; + } + description + " Tx SAPI Range String"; + } + leaf tx-dapi0 { + type string { + length "0..5"; + } + description + "Tx DAPI[0] Field"; + } + leaf tx-dapi { + type string { + length "0..16"; + } + description + "Tx DAPI[1-15] Field"; + } + leaf tx-dapi-range { + type string { + length "0..6"; + } + description + " Tx DAPI Range String"; + } + leaf tx-oper-spec { + type string { + length "0..33"; + } + description + "Tx Operator Specific Field"; + } + leaf tx-oper-spec-range { + type string { + length "0..6"; + } + description + " Tx Operator Specific Field Range String"; + } + leaf rx-tti { + type string { + length "0..129"; + } + description + "Rx TTI String "; + } + leaf rx-sapi0 { + type string { + length "0..5"; + } + description + "Rx SAPI[0] Field"; + } + leaf rx-sapi { + type string { + length "0..16"; + } + description + "Rx SAPI[1-15] Field"; + } + leaf rx-sapi-range { + type string { + length "0..6"; + } + description + " Rx SAPI Range String"; + } + leaf rx-dapi0 { + type string { + length "0..5"; + } + description + "Rx DAPI[0] Field"; + } + leaf rx-dapi { + type string { + length "0..16"; + } + description + "Rx DAPI[1-15] Field"; + } + leaf rx-dapi-range { + type string { + length "0..6"; + } + description + " Rx DAPI Range String"; + } + leaf rx-oper-spec-range { + type string { + length "0..6"; + } + description + " Rx Operator Specific Field Range String"; + } + leaf rx-oper-spec { + type string { + length "0..33"; + } + description + "Rx Operator Specific Field"; + } + leaf expected-tti { + type string { + length "0..129"; + } + description + "Expected TTI String"; + } + leaf expected-sapi0 { + type string { + length "0..5"; + } + description + "Expected SAPI[0] Field"; + } + leaf expected-sapi { + type string { + length "0..16"; + } + description + "Expected SAPI[1-15] Field"; + } + leaf exp-sapi-range { + type string { + length "0..6"; + } + description + " Expected SAPI Range String"; + } + leaf expected-dapi0 { + type string { + length "0..5"; + } + description + "Expected DAPI[0] Field"; + } + leaf expected-dapi { + type string { + length "0..16"; + } + description + "Expected DAPI[1-15] Field"; + } + leaf exp-dapi-range { + type string { + length "0..6"; + } + description + " Expected DAPI Range String"; + } + leaf expected-oper-spec { + type string { + length "0..33"; + } + description + "Expected Operator Specific Field"; + } + leaf exp-oper-spec-range { + type string { + length "0..6"; + } + description + " Expected Operator Specific Field Range String"; + } + } + + grouping DWDM-EDM-G709-PM { + description + "G709 PM information"; + leaf counter { + type uint64; + description + "Performance Monitoring counter"; + } + } + + grouping DWDM-EDM-G709-OTU { + description + "DWDM OTU information"; + container los { + description + "Loss of Signal information"; + uses DWDM-EDM-G709-ALARM; + } + container lof { + description + "Loss of Frame information"; + uses DWDM-EDM-G709-ALARM; + } + container lom { + description + "Loss of MultiFrame information"; + uses DWDM-EDM-G709-ALARM; + } + container oof { + description + "Out of Frame information"; + uses DWDM-EDM-G709-ALARM; + } + container oom { + description + "Out of MultiFrame information"; + uses DWDM-EDM-G709-ALARM; + } + container ais { + description + "Alarm Indication Signal information"; + uses DWDM-EDM-G709-ALARM; + } + container iae { + description + "Incoming Alignment Error information"; + uses DWDM-EDM-G709-ALARM; + } + container bdi { + description + "Backward Defect Indication information"; + uses DWDM-EDM-G709-ALARM; + } + container tim { + description + "Trace Identifier Mismatch information"; + uses DWDM-EDM-G709-ALARM; + } + container eoc { + description + "GCC End of Channel information"; + uses DWDM-EDM-G709-ALARM; + } + container sf-ber { + description + "Signal Fail BER information"; + uses DWDM-EDM-G709-ALERT; + } + container sd-ber { + description + "Signal Degrade BER information"; + uses DWDM-EDM-G709-ALERT; + } + container prefec-sf-ber { + description + "Prefec Signal Fail BER information"; + uses DWDM-EDM-G709-ALERT; + } + container prefec-sd-ber { + description + "Prefec Signal Degrade BER information"; + uses DWDM-EDM-G709-ALERT; + } + container bbe-tca { + description + " Backgound Block Error TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container es-tca { + description + "Errored Seconds TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container bbe { + description + "Backgound Block Error information"; + uses DWDM-EDM-G709-PM; + } + container es { + description + "Errored Seconds information "; + uses DWDM-EDM-G709-PM; + } + container ses { + description + "Severly Errored Seconds information"; + uses DWDM-EDM-G709-PM; + } + container uas { + description + "Unavailability Seconds information"; + uses DWDM-EDM-G709-PM; + } + container fc { + description + "Failure Count information"; + uses DWDM-EDM-G709-PM; + } + container bber { + description + "Backgound Block Error Rate information"; + uses DWDM-EDM-G709-PM; + } + container esr { + description + "Errored Seconds Rate information"; + uses DWDM-EDM-G709-PM; + } + container sesr { + description + "Severly Errored Seconds Rate information"; + uses DWDM-EDM-G709-PM; + } + container tti { + description + "Trail Trace Identifier information"; + uses DWDM-EDM-G709-TTI; + } + leaf bei { + type uint64; + description + "Backward Error Indication counter"; + } + leaf bip { + type uint64; + description + "Bit Interleave Parity(BIP) counter"; + } + } + + grouping DWDM-EDM-G709-ALERT { + description + "G709 Alert Information"; + leaf reporting-enabled { + type boolean; + description + "Is reporting enabled?"; + } + leaf is-detected { + type boolean; + description + "Is defect detected?"; + } + leaf is-asserted { + type boolean; + description + "Is defect delared?"; + } + leaf threshold { + type int32; + description + "Error threshold power"; + } + leaf counter { + type uint64; + description + "Error counter"; + } + } + + grouping DWDM-EDM-G709-ALARM { + description + " G709 Alarm information"; + leaf reporting-enabled { + type boolean; + description + "Is reporting enabled?"; + } + leaf is-detected { + type boolean; + description + "Is defect detected?"; + } + leaf is-asserted { + type boolean; + description + "Is defect delared?"; + } + leaf counter { + type uint64; + description + "Alarm counter"; + } + } + + grouping DWDM-EDM-G709-INFO { + description + "g709 information"; + container fec-mismatch { + description + "FEC mismatch alarm"; + uses DWDM-EDM-G709-ALARM; + } + container ec-tca { + description + "FEC Corrected bits TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container uc-tca { + description + "FEC uncorrected words TCA information"; + uses DWDM-EDM-G709-ALERT; + } + container otu-info { + description + "OTU layer information"; + uses DWDM-EDM-G709-OTU; + } + container odu-info { + description + "ODU layer Information"; + uses DWDM-EDM-G709-ODU; + } + leaf is-g709-enabled { + type boolean; + description + " Is G709 framing enabled"; + } + leaf is-fec-mode-default { + type boolean; + description + " Is Operating FEC Mode Default"; + } + leaf fec-mode { + type int32; + description + "FEC information"; + } + leaf remote-fec-mode { + type int32; + description + "Remote FEC information"; + } + leaf efec-mode { + type G709efec-mode; + description + "EFEC information"; + } + leaf loopback-mode { + type int32; + description + "Loopback information"; + } + leaf ec { + type uint64; + description + "Corrected bit error counter "; + } + leaf ec-accum { + type uint64; + description + "FEC Corrected bit error accumulated counter"; + } + leaf uc { + type uint64; + description + "FEC Uncorrected words counter"; + } + leaf fec-ber { + type uint64; + description + "pre fec ber calculated"; + } + leaf fec-ber-man { + type int32; + description + "pre fec ber calculated"; + } + leaf q { + type uint64; + description + "q value calculated"; + } + leaf q-margin { + type uint64; + description + "q margin calculated"; + } + leaf fe-cstr { + type string { + length "0..64"; + } + description + "FEC BER String "; + } + leaf qstr { + type string { + length "0..64"; + } + description + "Q String "; + } + leaf qmargin-str { + type string { + length "0..64"; + } + description + "QMargin String"; + } + leaf network-port-id { + type string { + length "0..65"; + } + description + "Network port ID"; + } + leaf network-conn-id { + type string { + length "0..65"; + } + description + "Network connection ID"; + } + leaf is-prbs-enabled { + type boolean; + description + "'true' if Prbs is enabled 'false' otherwise"; + } + leaf g709-prbs-mode { + type G709prbs-mode; + description + "Configured mode of PRBS Test"; + } + leaf g709-prbs-pattern { + type G709prbs-pattern; + description + "Pattern of PRBS Test"; + } + leaf prbs-time-stamp { + type uint64; + description + "Time stamp for prbs configuration"; + } + } + + grouping DWDM-EDM-PORT-INFO { + description + "dwdm port operational information"; + container g709-info { + description + "G709 operational information"; + uses DWDM-EDM-G709-INFO; + } + container optics-info { + description + "Optics operational information"; + uses DWDM-EDM-OPTICS-INFO; + } + container tdc-info { + description + "TDC operational information"; + uses DWDM-EDM-TDC-INFO; + } + container network-srlg-info { + description + "Network SRLG information"; + uses DWDM-EDM-NETWORK-SRLG-INFO; + } + container proactive { + description + "Proactive protection information"; + uses DWDM-EDM-PROACTIVE-INFO; + } + container signal-log { + description + "Signal log information"; + uses DWDM-EDM-SIGNAL-LOG-INFO; + } + leaf controller-state { + type Dwdm-controller-state; + description + "DWDM controller state: Up, Down or + Administratively Down"; + } + leaf transport-admin-state { + type Dwdmtas-state; + description + "DWDM controller TAS state: IS, OOS, OOS-MT or + IS-CFG"; + } + leaf slice-state { + type boolean; + description + "DWDM port slice state Up/Down"; + } + } + + grouping DWDM-EDM-WAVE-INFO { + description + "wavelength information"; + leaf wave-band { + type uint32; + description + "Wavelength band"; + } + leaf wave-channel-min { + type uint32; + description + "Lowest ITU wavelength channel number supported"; + } + leaf wave-channel-max { + type uint32; + description + "Highest ITU wavelength channel number supported"; + } + } + + grouping PRBS-INTERVAL { + description + "PRBS Interval Information"; + leaf interval-index { + type G709prbs-interval; + description + "Index of bucket, current and previous"; + } + leaf configured-pattern { + type G709prbs-pattern; + description + "Configured pattern of PRBS test"; + } + leaf start-at { + type string { + length "0..64"; + } + description + "Interval start timestamp"; + } + leaf stop-at { + type string { + length "0..64"; + } + description + "Interval stop timestamp"; + } + leaf received-pattern { + type G709prbs-pattern; + description + "Received Pattern of PRBS Test"; + } + leaf bit-error-count { + type uint64; + description + "Bit Error Count"; + } + leaf found-count { + type uint64; + description + "Count of pattern found in interval"; + } + leaf lost-count { + type uint64; + description + "Count of pattern lost in interval"; + } + leaf found-at { + type string { + length "0..64"; + } + description + "Pattern first found at timestamp"; + } + leaf lost-at { + type string { + length "0..64"; + } + description + "Pattern first lost at timestamp"; + } + } + + grouping DWDM-EDM-PRBS-INFO { + description + "PRBS information"; + leaf is-prbs-enabled { + type boolean; + description + "'True' if PRBS is enabled 'False' otherwise"; + } + leaf prbs-config-mode { + type G709prbs-mode; + description + "Configured mode of PRBS test"; + } + list prbs-entry { + description + "History consists of 15-minute/24-hour intervals"; + uses PRBS-INTERVAL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper.yang new file mode 100644 index 0000000..9254e87 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-dwdm-ui-oper.yang @@ -0,0 +1,124 @@ +module Cisco-IOS-XR-dwdm-ui-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-dwdm-ui-oper"; + prefix dwdm-ui-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-dwdm-ui-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR dwdm-ui package operational data. + + This module contains definitions + for the following management objects: + dwdm: DWDM operational data + vtxp: vtxp + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container dwdm { + config false; + description + "DWDM operational data"; + container ports { + description + "All DWDM Port operational data"; + list port { + key "name"; + description + "DWDM Port operational data"; + container prbs { + description + "DWDM Port PRBS related data"; + container twenty-four-hours-bucket { + description + "Port 24-hour PRBS statistics table"; + container twenty-four-hours-statistics { + description + "Port 24-hour PRBS statistics data"; + uses DWDM-EDM-PRBS-INFO; + } + } + container fifteen-minutes-bucket { + description + "Port 15-minute PRBS statistics table"; + container fifteen-minutes-statistics { + description + "Port 15-minute PRBS statistics data"; + uses DWDM-EDM-PRBS-INFO; + } + } + } + container optics { + description + "DWDM Port optics operational data"; + container wave-info { + description + "DWDM port wavelength information data"; + uses DWDM-EDM-WAVE-INFO; + } + } + container info { + description + "DWDM port operational data"; + uses DWDM-EDM-PORT-INFO; + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container vtxp { + config false; + description + "vtxp"; + container dwdm-vtxp { + description + "DWDM operational data"; + container port-vtxps { + description + "All DWDM Port operational data"; + list port-vtxp { + key "name"; + description + "DWDM Port operational data"; + container info { + description + "DWDM port operational data"; + uses DWDM-EDM-VTXP-INFO; + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-ace-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-ace-cfg.yang new file mode 100644 index 0000000..f95a6cf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-ace-cfg.yang @@ -0,0 +1,169 @@ +submodule Cisco-IOS-XR-es-ace-cfg { + belongs-to Cisco-IOS-XR-es-acl-cfg { + prefix es-acl-cfg; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ES ACL entry configuration. + + Copyright (c) 2015-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "Initial revision."; + } + + typedef es-acl-grant-enum { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + } + description + "ES acl grant enum"; + } + + typedef es-acl-address { + type string { + pattern "([0-9a-fA-F]{1,4}(\\.[0-9a-fA-F]{1,4}){2})"; + } + } + + grouping ES-ACL-CONFIG-ACE { + description + "ES ACE entry."; + leaf grant { + type es-acl-grant-enum; + description + "Whether to forward or drop packets matching the + ACE."; + } + container source-network { + description + "Source network settings."; + leaf source-address { + type es-acl-address; + description + "Source address to match, leave unspecified + for any."; + } + leaf source-wild-card-bits { + type es-acl-address; + description + "Wildcard bits to apply to source address + (if specified), leave unspecified for no + wildcarding."; + } + } + container destination-network { + description + "Destination network settings."; + leaf destination-address { + type es-acl-address; + description + "Destination address to match (if a protocol + was specified), leave unspecified for any."; + } + leaf destination-wild-card-bits { + type es-acl-address; + description + "Wildcard bits to apply to destination address + (if specified), leave unspecified for no + wildcarding."; + } + } + leaf vlan1 { + type uint16; + description + "VLAN ID/range lower limit"; + } + leaf vlan2 { + type uint16; + description + "VLAN ID range higher limit"; + } + leaf cos { + type uint8; + description + "COS value"; + } + leaf dei { + type uint8; + description + "DEI bit"; + } + leaf inner-vlan1 { + type uint16; + description + "Inner VLAN ID/range lower limit"; + } + leaf inner-vlan2 { + type uint16; + description + "Inner VLAN ID range higher limit"; + } + leaf inner-cos { + type uint8; + description + "Inner COS value"; + } + leaf inner-dei { + type uint8; + description + "Inner DEI bit"; + } + leaf remark { + type string; + description + "Comments or a description for the access list."; + } + leaf ether-type-number { + type uint16; + description + "Ethernet type Number"; + } + leaf capture { + type boolean; + description + "Enable capture."; + } + leaf log-option { + type uint8; + description + "Whether and how to log matches against this + entry."; + } + leaf sequence-str { + type string { + length "1..64"; + } + description + "Sequence String for the ace."; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-cfg.yang new file mode 100644 index 0000000..aebafcf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-cfg.yang @@ -0,0 +1,90 @@ +module Cisco-IOS-XR-es-acl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg"; + prefix es-acl-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-common-acl-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-es-ace-cfg { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR es-acl package configuration. + + This module contains definitions + for the following management objects: + es-acl: Layer 2 ACL configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Es-acl-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Es acl name"; + } + + container es-acl { + description + "Layer 2 ACL configuration data"; + container accesses { + description + "Table of access lists"; + list access { + key "name"; + description + "An ACL"; + container access-list-entries { + description + "ACL entry table; contains list of access list + entries"; + list access-list-entry { + key "sequence-number"; + description + "An ACL entry; either a description (remark) + or anAccess List Entry to match against"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "Sequence number of access list entry"; + } + uses ES-ACL-CONFIG-ACE; + } + } + leaf name { + type Es-acl-name; + description + "Name of the access list"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-datatypes.yang new file mode 100644 index 0000000..088ef47 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-datatypes.yang @@ -0,0 +1,74 @@ +module Cisco-IOS-XR-es-acl-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-datatypes"; + prefix es-acl-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Es-acl-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Es acl name"; + } + + typedef Acl-usage-app-id-enum { + type enumeration { + enum "pfilter" { + value 1; + description + "General Usage Statistics"; + } + enum "bgp" { + value 2; + description + "Usage staistics related to BGP Traffic"; + } + enum "ospf" { + value 3; + description + "Usage staistics related to OSPF Traffic"; + } + } + description + "Acl usage app id enum"; + } + + typedef Acl-sequence-number-range { + type uint32 { + range "1..2147483646"; + } + description + "Acl sequence number range"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper-sub1.yang new file mode 100644 index 0000000..c4d042d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper-sub1.yang @@ -0,0 +1,239 @@ +submodule Cisco-IOS-XR-es-acl-oper-sub1 { + belongs-to Cisco-IOS-XR-es-acl-oper { + prefix Cisco-IOS-XR-es-acl-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR es-acl package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Acl-action { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + enum "encrypt" { + value 2; + description + "Encrypt"; + } + enum "bypass" { + value 3; + description + "Bypass"; + } + enum "fallthrough" { + value 4; + description + "Fallthrough"; + } + enum "invalid" { + value 5; + description + "Invalid"; + } + } + description + "Acl action"; + } + + typedef Acl-ace1 { + type enumeration { + enum "normal" { + description + "This is Normal ACE"; + } + enum "remark" { + description + "This is Remark ACE"; + } + enum "abf" { + description + "This is ABF ACE"; + } + } + description + "ACE Types"; + } + + typedef Acl-ace { + type Acl-ace1; + description + "ACE Types"; + } + + grouping ES-ACL-EDM-ACE { + description + "ACLE bag"; + leaf ace-type { + type Acl-ace; + description + "ACE type (acl, remark)"; + } + leaf ace-sequence-number { + type uint32; + description + "ACE sequence number"; + } + leaf hits { + type uint64; + description + "ACE hit number"; + } + leaf grant { + type Acl-action; + description + "Grant value permit/deny "; + } + leaf source-address { + type xr:Osi-system-id; + description + "Source MAC address"; + } + leaf source-wild-card-bits { + type xr:Osi-system-id; + description + "Source wild card bits"; + } + leaf destination-address { + type xr:Osi-system-id; + description + "Destination MAC address"; + } + leaf destination-wild-card-bits { + type xr:Osi-system-id; + description + "Destination wild card bits"; + } + leaf ether-type-number { + type uint16; + description + "Ethernet type Number"; + } + leaf vlan1 { + type uint16; + description + "VLAN ID/range lower limit"; + } + leaf vlan2 { + type uint16; + description + "VLAN ID range higher limit"; + } + leaf cos { + type uint8; + description + "COS value"; + } + leaf dei { + type uint8; + description + "DEI bit"; + } + leaf inner-header-vlan1 { + type uint16; + description + "Inner header VLAN ID/range lower limit"; + } + leaf inner-header-vlan2 { + type uint16; + description + "Inner header VLAN ID range higher limit"; + } + leaf inner-header-cos { + type uint8; + description + "Inner header COS value"; + } + leaf inner-header-dei { + type uint8; + description + "Inner header DEI bit"; + } + leaf capture { + type boolean; + description + "Capture option, TRUE if enabled"; + } + leaf log-option { + type uint8; + description + "Log option"; + } + leaf remark { + type string; + description + "Remark string"; + } + leaf acl-name { + type string; + description + "Acl Name"; + } + leaf sequence-string { + type string; + description + "Sequence Sring"; + } + } + + grouping ES-ACL-EDM-OOR-DETAIL { + description + "Oor deatil config BAG"; + leaf current-configured-ac-ls { + type uint32; + description + "Current configured acls"; + } + leaf current-configured-ac-es { + type uint32; + description + "Current configured aces"; + } + leaf maximum-configurable-ac-ls { + type uint32; + description + "max configurable acls"; + } + leaf maximum-configurable-ac-es { + type uint32; + description + "max configurable aces"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper.yang new file mode 100644 index 0000000..83d5461 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-es-acl-oper.yang @@ -0,0 +1,159 @@ +module Cisco-IOS-XR-es-acl-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-oper"; + prefix es-acl-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-common-acl-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-es-acl-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR es-acl package operational data. + + This module contains definitions + for the following management objects: + es-acl: Root class of ES ACL Oper schema tree + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Es-acl-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Es acl name"; + } + + container es-acl { + config false; + description + "Root class of ES ACL Oper schema tree"; + container active { + description + "Out Of Resources, Limits to the resources + allocatable"; + container oor { + description + "Out Of Resources, Limits to the resources + allocatable"; + container acl-summary { + description + "Resource Limits pertaining to ACLs only"; + container details { + description + "Details containing the resource limits of the + ACLs"; + uses ES-ACL-EDM-OOR-DETAIL; + } + } + } + container list { + description + "List containing ACLs"; + container acls { + description + "ACL class displaying Usage and Entries"; + list acl { + key "name"; + description + "Name of the Access List"; + container acl-sequence-numbers { + description + "Table of all the SequenceNumbers per ACL"; + list acl-sequence-number { + key "sequence-number"; + description + "Sequence Number of an ACL entry"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "ACLEntry Sequence Number"; + } + uses ES-ACL-EDM-ACE; + } + } + leaf name { + type Es-acl-name; + description + "Name of the Access List"; + } + } + } + } + container oor-acls { + description + "Resource occupation details for ACLs"; + list oor-acl { + key "name"; + description + "Resource occupation details for a particular + ACL"; + leaf name { + type Es-acl-name; + description + "Name of the Access List"; + } + uses ES-ACL-EDM-OOR-DETAIL; + } + } + container usages { + description + "Table of Usage statistics of ACLs at different + nodes"; + list usage { + description + "Usage statistics of an ACL at a node"; + leaf location { + type xr:Node-id; + description + "Node where ACL is applied"; + } + leaf application-id { + type dt1:Acl-usage-app-id-enum; + description + "Application ID"; + } + leaf name { + type Es-acl-name; + description + "Name of the ACL"; + } + leaf usage-details { + type string; + mandatory true; + description + "Usage Statistics Details"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-cfg.yang new file mode 100644 index 0000000..7f0fcb6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-cfg.yang @@ -0,0 +1,1041 @@ +module Cisco-IOS-XR-ethernet-cfm-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-cfg"; + prefix ethernet-cfm-cfg; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ethernet-cfm-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-infra-sla-datatypes { + prefix dt2; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2-eth-infra-cfg { + prefix a2; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a3; + } + import Cisco-IOS-XR-infra-sla-cfg { + prefix a4; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2-eth-infra-cfg, + Cisco-IOS-XR-snmp-agent-cfg, + Cisco-IOS-XR-infra-sla-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Cfm-mip-policy { + type enumeration { + enum "all" { + value 2; + description + "Create MIPs on all ports in the Bridge Domain + or Cross-connect"; + } + enum "lower-mep-only" { + value 3; + description + "Create MIPs on ports which have a MEP at a + lower level"; + } + } + description + "Cfm mip policy"; + } + + typedef Cfm-service { + type enumeration { + enum "bridge-domain" { + value 1; + description + "Use a Bridge Domain - all MEPs will be Up MEPs + and MIPs are permitted"; + } + enum "p2p-cross-connect" { + value 2; + description + "Use a P2P Cross Connect - all MEPs will be Up + MEPs and MIPs are permitted"; + } + enum "mp2mp-cross-connect" { + value 3; + description + "Use a MP2MP Cross Connect - all MEPs will be Up + MEPs and MIPs are permitted"; + } + enum "vlan-aware-flexible-cross-connect" { + value 4; + description + "Use a VLAN-aware Flexible Cross Connect - all + MEPs will be Up MEPs and MIPs are permitted"; + } + enum "vlan-unaware-flexible-cross-connect" { + value 5; + description + "Use a VLAN-unaware Flexible Cross Connect - all + MEPs will be Up MEPs and MIPs are permitted"; + } + enum "down-meps" { + value 6; + description + "Down MEPs - no MIPs permitted"; + } + } + description + "Cfm service"; + } + + typedef Cfm-short-ma-name-format { + type enumeration { + enum "vlan-id" { + value 1; + description + "VLAN ID"; + } + enum "string" { + value 2; + description + "String Short MA Name"; + } + enum "number" { + value 3; + description + "Numeric Short MA Name"; + } + enum "vpn-id" { + value 4; + description + "RFC 2685 VPN ID"; + } + enum "icc-based" { + value 32; + description + "ICC-based format"; + } + } + description + "Cfm short ma name format"; + } + + typedef Cfm-lm-counters-cfg { + type enumeration { + enum "aggregate" { + value 1; + description + "Aggregate Counters"; + } + enum "list" { + value 2; + description + "List of per-CoS counters"; + } + enum "range" { + value 3; + description + "Range of per-CoS counters"; + } + } + description + "Cfm lm counters cfg"; + } + + typedef Cfm-mdid-format { + type enumeration { + enum "null" { + value 1; + description + "Null MDID"; + } + enum "dns-like" { + value 2; + description + "DNS-like MDID"; + } + enum "mac-address" { + value 3; + description + "MDID Comprising MAC Address and 16-bit integer"; + } + enum "string" { + value 4; + description + "String MDID"; + } + } + description + "Cfm mdid format"; + } + + augment "/a4:sla/a4:protocols" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-sla-cfg'"; + container ethernet { + description + "The Ethernet SLA protocol"; + container profiles { + description + "Table of SLA profiles on the protocol"; + list profile { + key "profile-name"; + description + "Name of the profile"; + container statistics { + description + "Statistics configuration for the SLA profile"; + list statistic { + key "statistic-name"; + description + "Type of statistic"; + container buckets-size { + presence "Indicates a buckets-size node is configured."; + description + "Size of the buckets into which statistics + are collected"; + leaf buckets-size { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Size of each bucket"; + } + leaf buckets-size-unit { + type dt2:Sla-buckets-size-units-enum; + mandatory true; + description + "Unit associated with the BucketsSize"; + } + } + container aggregation { + presence "Indicates a aggregation node is configured."; + description + "Aggregation to apply to results for the + statistic"; + leaf bins-count { + type uint32 { + range "0..100"; + } + mandatory true; + description + "Number of bins to aggregate results into + (0 for no aggregation)"; + } + leaf bins-width { + type uint32 { + range "1..10000"; + } + description + "Width of each bin"; + } + leaf bins-width-tenths { + type uint32 { + range "0..9"; + } + description + "Tenths portion of the bin width"; + } + } + leaf enable { + type empty; + description + "Enable statistic gathering of the metric"; + } + leaf buckets-archive { + type uint32 { + range "1..100"; + } + description + "Number of buckets to archive in memory"; + } + leaf statistic-name { + type dt2:Sla-statistic-type-enum; + description + "The type of statistic to measure"; + } + } + } + container schedule { + presence "Indicates a schedule node is configured."; + description + "Schedule to use for probes within an + operation"; + leaf probe-interval { + type uint32 { + range "1..90"; + } + description + "Interval between probes. This must be + specified if, and only if, ProbeIntervalUnit + is not 'Week' or 'Day'."; + } + leaf probe-interval-day { + type dt2:Sla-probe-interval-day-enum; + description + "Day of week on which to schedule probes. + This must be specified if, and only if, + ProbeIntervalUnit is 'Week'."; + } + leaf probe-interval-unit { + type dt2:Sla-probe-interval-units-enum; + mandatory true; + description + "Time unit associated with the ProbeInterval. + The value must not be 'Once'. If 'Week' or + 'Day' is specified, probes are scheduled + weekly or daily respectively."; + } + leaf start-time-hour { + type uint32 { + range "0..23"; + } + description + "Time after midnight (in UTC) to send the + first packet each day."; + } + leaf start-time-minute { + type uint32 { + range "0..59"; + } + description + "Time after midnight (in UTC) to send the + first packet each day. This must be + specified if, and only if, StartTimeHour is + specified."; + } + leaf start-time-second { + type uint32 { + range "0..59"; + } + description + "Time after midnight (in UTC) to send the + first packet each day. This must only be + specified if StartTimeHour is specified, and + must not be specified if ProbeIntervalUnit + is 'Week' or 'Day'."; + } + leaf probe-duration { + type uint32 { + range "1..3600"; + } + description + "Duration of each probe. This must be + specified if, and only if, ProbeDurationUnit + is specified."; + } + leaf probe-duration-unit { + type dt2:Sla-probe-duration-units-enum; + description + "Time unit associated with the ProbeDuration. + The value must not be 'Once'."; + } + } + container probe { + description + "Probe configuration for the SLA profile"; + container send { + presence "Indicates a send node is configured."; + description + "Schedule to use for packets within a burst. + The default value is to send a single packet + once."; + leaf burst-interval { + type uint32 { + range "1..3600"; + } + description + "Interval between bursts. This must be + specified if, and only if, the SendType is + 'Burst' and the 'BurstIntervalUnit' is not + 'Once'."; + } + leaf burst-interval-unit { + type dt2:Sla-burst-interval-units-enum; + description + "Time unit associated with the BurstInterval + . This must be specified if, and only if, + SendType is 'Burst'."; + } + leaf packet-interval { + type uint32 { + range "1..30000"; + } + description + "Interval between packets. This must be + specified if, and only if, + PacketIntervalUnit is not 'Once'."; + } + leaf packet-interval-unit { + type dt2:Sla-packet-interval-units-enum; + mandatory true; + description + "Time unit associated with the + PacketInterval"; + } + leaf packet-count { + type uint32 { + range "2..1200"; + } + description + "The number of packets in each burst. This + must be specified if, and only if, the + SendType is 'Burst'."; + } + leaf send-type { + type dt2:Sla-send; + mandatory true; + description + "The packet distribution: single packets or + bursts of packets. If 'Burst' is specified + , PacketCount and BurstInterval must be + specified."; + } + } + container packet-size-and-padding { + presence "Indicates a packet-size-and-padding node is configured."; + description + "Minimum size to pad outgoing packet to"; + leaf size { + type uint32 { + range "1..9000"; + } + mandatory true; + description + "Minimum size to pad outgoing packet to"; + } + leaf padding-type { + type dt2:Sla-padding-pattern; + description + "Type of padding to be used for the packet"; + } + leaf padding-value { + type xr:Hex-integer; + description + "Pattern to be used for hex padding. This + can be specified if, and only if, the + PaddingType is 'Hex'."; + } + } + leaf priority { + type uint32 { + range "0..7"; + } + description + "Priority class to assign to outgoing SLA + packets"; + } + leaf synthetic-loss-calculation-packets { + type uint32 { + range "10..12096000"; + } + description + "Number of packets to use in each FLR + calculation"; + } + } + leaf packet-type { + type string; + description + "The possible packet types are cfm-loopback, + cfm-delay-measurement, + cfm-delay-measurement-version-0, + cfm-loss-measurement and + cfm-synthetic-loss-measurement"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:ethernet-features" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2-eth-infra-cfg'"; + container cfm { + description + "CFM interface configuration"; + container domains { + description + "Domain-specific interface configuration"; + list domain { + key "domain"; + description + "Configuration for a particular Maintenance + Domain"; + container mep { + description + "MEP Configuration"; + container sla-profile-target-mep-ids { + description + "SLA specific configuration"; + list sla-profile-target-mep-id { + key "profile target-mep-id"; + description + "Configuration for a particular SLA + operation"; + leaf profile { + type xr:Cisco-ios-xr-string; + description + "SLA profile name"; + } + leaf target-mep-id { + type dt1:Cfm-mep-id; + description + "Target MEP-ID"; + } + } + list sla-profile-target-mac-address { + key "profile target-mac-address"; + description + "Configuration for a particular SLA + operation"; + leaf profile { + type xr:Cisco-ios-xr-string; + description + "SLA profile name"; + } + leaf target-mac-address { + type yang:mac-address; + description + "Target MAC address"; + } + } + } + container mep-properties { + presence "Indicates a mep-properties node is configured."; + description + "Properties for this MEP"; + leaf service { + type string { + length "1..79"; + } + mandatory true; + description + "Service (Maintenance Association)"; + } + leaf mep-id { + type dt1:Cfm-mep-id; + mandatory true; + description + "MEP ID"; + } + } + container loss-measurement-counters { + presence "Indicates a loss-measurement-counters node is configured."; + description + "Loss-measurement specific configuration"; + leaf cfg-type { + type Cfm-lm-counters-cfg; + mandatory true; + description + "Aggregate, List, or Range"; + } + leaf cos0 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - start of + range or list item"; + } + leaf cos1 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - end of + range or list item"; + } + leaf cos2 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + leaf cos3 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + leaf cos4 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + leaf cos5 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + leaf cos6 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + leaf cos7 { + type dt1:Cfm-cos-bits; + description + "CoS bits for per-CoS counters - list item"; + } + } + leaf cos { + type dt1:Cfm-cos-bits; + description + "The Class of Service bits for this MEP"; + } + } + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + } + } + container ais-up { + description + "Interface specific AIS configuration"; + container transmission { + presence "enable transmission"; + description + "AIS transmission configuration"; + leaf ais-interval { + type dt1:Cfm-ais-interval; + description + "AIS Interval"; + } + leaf cos { + type dt1:Cfm-cos-bits; + description + "Class of Service bits"; + } + } + } + } + } + augment "/a2:ethernet-features" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2-eth-infra-cfg'"; + container cfm { + description + "CFM global configuration"; + container traceroute-cache { + description + "Traceroute Cache Configuration"; + leaf hold-time { + type uint32 { + range "1..525600"; + } + default "100"; + description + "Hold Time in minutes"; + } + leaf cache-size { + type uint32 { + range "1..4294967295"; + } + default "100"; + description + "Cache Size limit (number of replies)"; + } + } + container domains { + description + "Domain-specific global configuration"; + list domain { + key "domain"; + description + "Configuration for a particular Maintenance + Domain"; + container services { + description + "Service-specific global configuration"; + list service { + key "service"; + description + "Configuration for a particular Service + (Maintenance Association)"; + container efd2 { + presence "Indicates a efd2 node is configured."; + description + "Enable EFD to bring down ports when MEPs + detect errors"; + leaf enable { + type empty; + mandatory true; + description + "Enable EFD"; + } + leaf protection-switching-enable { + type empty; + description + "Enable protection switching notifications"; + } + } + container continuity-check-interval { + presence "Indicates a continuity-check-interval node is configured."; + description + "Continuity Check Interval and Loss + Threshold. Configuring the interval + enables Continuity Check."; + leaf ccm-interval { + type dt1:Cfm-ccm-interval; + mandatory true; + description + "CCM Interval"; + } + leaf loss-threshold { + type uint32 { + range "2..255"; + } + description + "Loss Threshold (default 3)"; + } + } + container mip-auto-creation { + presence "Indicates a mip-auto-creation node is configured."; + description + "MIP Auto-creation Policy"; + leaf mip-policy { + type Cfm-mip-policy; + mandatory true; + description + "MIP Auto-creation Policy"; + } + leaf ccm-learning-enable { + type empty; + description + "Enable CCM Learning at MIPs in this + service"; + } + } + container ais { + description + "Service specific AIS configuration"; + container transmission { + presence "enable transmission"; + description + "AIS transmission configuration"; + leaf ais-interval { + type dt1:Cfm-ais-interval; + description + "AIS Interval"; + } + leaf cos { + type dt1:Cfm-cos-bits; + description + "Class of Service bits"; + } + } + } + container cross-check { + description + "Cross-check configuration"; + container cross-check-meps { + description + "Cross-check MEPs"; + list cross-check-mep { + key "mep-id"; + description + "MEP ID and optional MAC Address for + Cross-check"; + leaf mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID"; + } + leaf enable-mac-address { + type empty; + description + "MAC Address is specified"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + } + } + leaf auto { + type empty; + description + "Enable automatic MEP cross-check"; + } + } + container service-properties { + presence "Indicates a service-properties node is configured."; + description + "Fundamental properties of the service + (maintenance association)"; + leaf service-type { + type Cfm-service; + mandatory true; + description + "Type of Service"; + } + leaf group-name { + type string; + description + "Bridge Group or Cross-connect Group, if + Service Type is BridgeDomain or + CrossConnect"; + } + leaf switching-name { + type string; + description + "Bridge Domain or Cross-connect name, if + Service Type is BridgeDomain or + CrossConnect"; + } + leaf ce-id { + type uint32 { + range "1..16384"; + } + description + "Local Customer Edge Identifier"; + } + leaf remote-ce-id { + type uint32 { + range "1..16384"; + } + description + "Remote Customer Edge Identifier"; + } + leaf evi { + type uint32 { + range "1..65534"; + } + description + "EVPN ID"; + } + leaf short-ma-name-format { + type Cfm-short-ma-name-format; + description + "Short MA Name Format"; + } + leaf short-ma-name-string { + type xr:Cisco-ios-xr-string { + length "1..45"; + } + description + "String Short MA Name, if format is String"; + } + leaf short-ma-name-number { + type uint32 { + range "0..65535"; + } + description + "Numeric Short MA Name, if format is VlanID + or Number"; + } + leaf short-ma-name-oui { + type uint32 { + range "0..16777215"; + } + description + "VPN OUI, if Short MA Name format is VPN_ID"; + } + leaf short-ma-name-vpn-index { + type int32; + description + "VPN Index, if Short MA Name format is + VPN_ID"; + } + leaf short-ma-name-icc { + type xr:Cisco-ios-xr-string { + length "1..6"; + } + description + "ITU Carrier Code (ICC), if format is + ICCBased"; + } + leaf short-ma-name-umc { + type xr:Cisco-ios-xr-string { + length "1..12"; + } + description + "Unique MEG ID Code (UMC), if format is + ICCBased"; + } + } + leaf maximum-meps { + type uint32 { + range "2..8190"; + } + default "100"; + description + "Limit on the number of MEPs in the service"; + } + leaf log-cross-check-errors { + type empty; + description + "Log Cross-check Errors detected for peer + MEPs"; + } + leaf continuity-check-archive-hold-time { + type uint32 { + range "1..65535"; + } + default "100"; + description + "How long to store information for peer MEPs + that have timed out"; + } + leaf tags { + type uint32; + description + "The number of tags to use when sending CFM + packets from up MEPs in this Service"; + } + leaf log-continuity-check-state-changes { + type empty; + description + "Log peer MEPs state changes"; + } + leaf log-efd { + type empty; + description + "Enable logging"; + } + leaf continuity-check-auto-traceroute { + type empty; + description + "Automatically trigger a traceroute when a + peer MEP times out"; + } + leaf log-continuity-check-errors { + type empty; + description + "Log CCM Errors detected for peer MEPs"; + } + leaf log-ais { + type empty; + description + "Log receipt of AIS and LCK messages"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + } + } + container domain-properties { + description + "Fundamental properties of the domain"; + leaf level { + type dt1:Cfm-level; + description + "Maintenance Domain Level"; + } + leaf mdid-format { + type Cfm-mdid-format; + description + "Maintenance Domain ID Format"; + } + leaf mdid-mac-address { + when "../mdid-format = 'mac-address'" { + description + "../MDIDFormat = MACAddress"; + } + type yang:mac-address; + description + "MAC Address, if MDID Format is MACAddress"; + } + leaf mdid-number { + when "../mdid-format = 'mac-address'" { + description + "../MDIDFormat = MACAddress"; + } + type uint32 { + range "0..65535"; + } + description + "Unsigned 16-bit Interger, if MDID Format is + MACAddress"; + } + leaf mdid-string { + when "../mdid-format = 'dns-like' or ../mdid-format = 'string'" { + description + "../MDIDFormat = DNSLike or ../MDIDFormat = + String"; + } + type string { + length "1..43"; + } + description + "String MDID, if MDID format is String or + DNSLike"; + } + } + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + } + } + leaf nv-satellite-sla-processing-disable { + type empty; + description + "Disable processing of Ethernet SLA packets on + nV Satellite devices"; + } + } + } + augment "/a3:snmp/a3:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container cfm { + description + "802.1ag Connectivity Fault Management MIB + notification configuration"; + leaf enable { + type empty; + description + "Enable 802.1ag Connectivity Fault Management + MIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-datatypes.yang new file mode 100644 index 0000000..ec66b9c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-datatypes.yang @@ -0,0 +1,169 @@ +module Cisco-IOS-XR-ethernet-cfm-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-datatypes"; + prefix ethernet-cfm-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Cfm-bnm-wtr { + type uint32 { + range "0..600"; + } + description + "Cfm bnm wtr"; + } + + typedef Cfm-ccm-interval { + type enumeration { + enum "3.3ms" { + value 1; + description + "3.3ms"; + } + enum "10ms" { + value 2; + description + "10ms"; + } + enum "100ms" { + value 3; + description + "100ms"; + } + enum "1s" { + value 4; + description + "1s"; + } + enum "10s" { + value 5; + description + "10s"; + } + enum "1m" { + value 6; + description + "1m"; + } + enum "10m" { + value 7; + description + "10m"; + } + } + description + "Cfm ccm interval"; + } + + typedef Cfm-mep-id { + type uint32 { + range "1..8191"; + } + description + "Cfm mep id"; + } + + typedef Cfm-bnm-hold-off { + type uint32 { + range "0..600"; + } + description + "Cfm bnm hold off"; + } + + typedef Cfm-level { + type uint32 { + range "0..7"; + } + description + "Cfm level"; + } + + typedef Bandwidth-notification-state { + type enumeration { + enum "ok" { + value 1; + description + "Link is not degraded"; + } + enum "degraded" { + value 2; + description + "Link is in degraded state"; + } + } + description + "Bandwidth notification state"; + } + + typedef Cfm-cos-bits { + type uint32 { + range "0..7"; + } + description + "Cfm cos bits"; + } + + typedef Cfm-bnm-loss-threshold { + type uint32 { + range "2..255"; + } + description + "Cfm bnm loss threshold"; + } + + typedef Cfm-ais-interval { + type enumeration { + enum "1s" { + value 4; + description + "1s"; + } + enum "1m" { + value 6; + description + "1m"; + } + } + description + "Cfm ais interval"; + } + + typedef Cfm-mep-dir { + type enumeration { + enum "up" { + value 0; + description + "Up MEP"; + } + enum "down" { + value 1; + description + "Down MEP"; + } + } + description + "Cfm mep dir"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang new file mode 100644 index 0000000..bc72394 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub1.yang @@ -0,0 +1,987 @@ +submodule Cisco-IOS-XR-ethernet-cfm-oper-sub1 { + belongs-to Cisco-IOS-XR-ethernet-cfm-oper { + prefix Cisco-IOS-XR-ethernet-cfm-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sla-error-string { + type string; + description + "Sla error string"; + } + + typedef Sla-oper-packet-priority { + type enumeration { + enum "priority-none" { + value 0; + description + "Packet does not use any specified priority."; + } + enum "priority-cos" { + value 1; + description + "Packet uses a specified 3-bit COS priority + value."; + } + } + description + "Priority scheme for packet priority"; + } + + typedef Sla-oper-test-pattern-scheme { + type enumeration { + enum "hex" { + value 0; + description + "Packet is padded with a user-specified string"; + } + enum "pseudo-random" { + value 1; + description + "Packet is padded with a pseudo-random bit + sequence"; + } + } + description + "Test pattern scheme for packet padding"; + } + + typedef Sla-oper-bucket { + type enumeration { + enum "bucket-type-bins" { + value 0; + description + "SLA metric bin"; + } + enum "bucket-type-samples" { + value 1; + description + "SLA metric sample"; + } + } + description + "Type of SLA metric bucket"; + } + + typedef Sla-bucket-size { + type enumeration { + enum "buckets-per-probe" { + value 0; + description + "Bucket size is configured as buckets per probe"; + } + enum "probes-per-bucket" { + value 1; + description + "Bucket size is configured as probes per bucket"; + } + } + description + "Type of configuration of a bucket size"; + } + + typedef Sla-recordable-metric { + type enumeration { + enum "metric-invalid" { + value 0; + description + "Not a valid metric type"; + } + enum "metric-round-trip-delay" { + value 1; + description + "Round-trip Delay"; + } + enum "metric-one-way-delay-sd" { + value 2; + description + "One-way Delay (Source->Destination)"; + } + enum "metric-one-way-delay-ds" { + value 3; + description + "One-way Delay (Destination->Source)"; + } + enum "metric-round-trip-jitter" { + value 4; + description + "Round-trip Jitter"; + } + enum "metric-one-way-jitter-sd" { + value 5; + description + "One-way Jitter (Source->Destination)"; + } + enum "metric-one-way-jitter-ds" { + value 6; + description + "One-way Jitter (Destination->Source)"; + } + enum "metric-one-way-flr-sd" { + value 7; + description + "One-way Frame Loss Ratio (Source->Destination)"; + } + enum "metric-one-way-flr-ds" { + value 8; + description + "One-way Frame Loss Ratio (Destination->Source)"; + } + } + description + "Types of metrics that can be recorded by probes"; + } + + typedef Sla-oper-operation { + type enumeration { + enum "operation-type-configured" { + value 0; + description + "Configured SLA operation"; + } + enum "operation-type-ondemand" { + value 1; + description + "On-demand SLA operation"; + } + } + description + "Type of SLA operation"; + } + + grouping SLA-OPER-CONFIG-ERRORS { + description + "Most recent configuration error information for + an SLA operation"; + leaf profile-name-xr { + type string; + description + "The name of the operation profile."; + } + leaf display-short { + type string; + description + "Short display name used by the operation"; + } + leaf rt-delay-inconsistent { + type boolean; + description + "Is the profile configured to collect RT Delay + but the packet type doesn't support it?"; + } + leaf ow-delay-sd-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Delay + (SD) but the packet type doesn't support it?"; + } + leaf ow-delay-ds-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Delay + (DS) but the packet type doesn't support it?"; + } + leaf rt-jitter-inconsistent { + type boolean; + description + "Is the profile configured to collect RT Jitter + but the packet type doesn't support it?"; + } + leaf ow-jitter-sd-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Jitter + (SD) but the packet type doesn't support it?"; + } + leaf ow-jitter-ds-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Delay + (DS) but the packet type doesn't support it?"; + } + leaf ow-loss-sd-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Frame + Loss (SD) but the packet type doesn't support it + ?"; + } + leaf ow-loss-ds-inconsistent { + type boolean; + description + "Is the profile configured to collect OW Frame + Loss (DS) but the packet type doesn't support it + ?"; + } + leaf packet-pad-inconsistent { + type boolean; + description + "Is the profile configured to pad packets but the + packet type doesn't support it?"; + } + leaf packet-rand-pad-inconsistent { + type boolean; + description + "Is the profile configured to pad packets with a + pseudo-random string but the packet type doesn't + support it?"; + } + leaf min-packet-interval-inconsistent { + type boolean; + description + "Is the profile configured to send packets more + frequently than the protocol allows?"; + } + leaf priority-inconsistent { + type boolean; + description + "Is the profile configured to use a packet + priority scheme that the protocol does not + support?"; + } + leaf packet-type-inconsistent { + type boolean; + description + "Is the profile configured to use a packet type + that isn't supported by any protocols?"; + } + leaf profile-doesnt-exist { + type boolean; + description + "Is the operation configured to use a profile + that is not currently defined for the protocol?"; + } + leaf synthetic-loss-not-supported { + type boolean; + description + "The profile is configured to use a packet type + which doesn't support synthetic loss measurement + and the number of packets per FLR calculation + has been configured"; + } + leaf probe-too-big { + type boolean; + description + "The profile is configured to use a packet type + which does not allow more than 72000 packets per + probe and greater than 72000 packets per probe + have been configured"; + } + leaf-list error-string { + type Sla-error-string; + description + "Displays other issues not indicated from the + flags above, for example MIB incompatibility + issues."; + } + } + + grouping SLA-OPER-OPERATION-METRIC { + description + "Status for an individual metric on an operation"; + container metric-config { + description + "Configuration of the metric"; + uses SLA-CFG-METRIC-TYPE; + } + leaf current-buckets-archive { + type uint32; + description + "Number of valid buckets currently in the buckets + archive"; + } + } + + grouping SLA-OPER-PACKET-PRIORITY { + description + "Union of available types of packet priority"; + leaf priority-type { + type Sla-oper-packet-priority; + description + "PriorityType"; + } + leaf cos { + when "../priority-type = 'priority-cos'" { + description + "../PriorityType = 'PriorityCOS'"; + } + type uint8; + description + "3-bit COS priority value applied to packets"; + } + } + + grouping SLA-OPER-PACKET-PADDING { + description + "Parameters of a probe that are only valid if + packet padding is configured"; + leaf packet-pad-size { + type uint16; + description + "Size that packets are being padded to"; + } + leaf test-pattern-pad-scheme { + type Sla-oper-test-pattern-scheme; + description + "Test pattern scheme that is used in the packet + padding"; + } + leaf test-pattern-pad-hex-string { + type uint32; + description + "Hex string that is used in the packet padding"; + } + } + + grouping SLA-OPER-OPERATION-PROFILE { + description + "Parameters of an operation that are only valid if + it has a profile"; + container packet-padding { + description + "Configuration of the packet padding"; + uses SLA-OPER-PACKET-PADDING; + } + container priority { + description + "Priority at which to send the packet, if + configured"; + uses SLA-OPER-PACKET-PRIORITY; + } + container operation-schedule { + description + "Operation schedule"; + uses SLA-OPER-OPERATION-SCHEDULE; + } + leaf probe-type { + type string; + description + "Type of probe used by the operation"; + } + leaf packets-per-burst { + type uint16; + description + "Number of packets sent per burst"; + } + leaf inter-packet-interval { + type uint16; + units "millisecond"; + description + "Interval between packets within a burst in + milliseconds"; + } + leaf bursts-per-probe { + type uint32; + description + "Number of bursts sent per probe"; + } + leaf inter-burst-interval { + type uint32; + units "millisecond"; + description + "Interval between bursts within a probe in + milliseconds"; + } + leaf flr-calculation-interval { + type uint32; + units "millisecond"; + description + "Interval between FLR calculations for SLM, in + milliseconds"; + } + list operation-metric { + description + "Array of the metrics that are measured by the + operation"; + uses SLA-OPER-OPERATION-METRIC; + } + } + + grouping SLA-OPER-OPERATION { + description + "The state of an SLA operation"; + container profile-options { + description + "Options that are only valid if the operation has + a profile"; + uses SLA-OPER-OPERATION-PROFILE; + } + container specific-options { + description + "Options specific to the type of operation"; + uses SLA-OPER-OPERATION-SPECIFIC-OPTS; + } + leaf display-short { + type string; + description + "Short display name used by the operation"; + } + leaf display-long { + type string; + description + "Long display name used by the operation"; + } + leaf last-run { + type uint32; + description + "Time that the last probe for the operation was + run, NULL if never run."; + } + } + + grouping SLA-OPER-SAMPLE { + description + "Contents of an SLA metric sample"; + leaf sent-at { + type uint32; + units "millisecond"; + description + "The time (in milliseconds relative to the start + time of the bucket) that the sample was sent at"; + } + leaf sent { + type boolean; + description + "Whether the sample packet was sucessfully sent"; + } + leaf timed-out { + type boolean; + description + "Whether the sample packet timed out"; + } + leaf corrupt { + type boolean; + description + "Whether the sample packet was corrupt"; + } + leaf out-of-order { + type boolean; + description + "Whether the sample packet was received + out-of-order"; + } + leaf no-data-packets { + type boolean; + description + "Whether a measurement could not be made because + no data packets were sent in the sample period. + Only applicable for LMM measurements"; + } + leaf result { + type int32; + description + "The result (in microseconds or millionths of a + percent) of the sample, if available"; + } + leaf frames-sent { + type uint32; + description + "For FLR measurements, the number of frames sent, + if available"; + } + leaf frames-lost { + type uint32; + description + "For FLR measurements, the number of frames lost, + if available"; + } + } + + grouping SLA-OPER-BUCKET-UNAGGREGATED { + description + "Result samples in an SLA metric bucket"; + list sample { + description + "The samples of an SLA metric bucket"; + uses SLA-OPER-SAMPLE; + } + } + + grouping SLA-OPER-BIN { + description + "Contents of an SLA metric bin"; + leaf lower-bound { + type int32; + description + "Lower bound (inclusive) of the bin, in + milliseconds or single units of percent. This + field is not used for LMM measurements"; + } + leaf upper-bound { + type int32; + description + "Upper bound (exclusive) of the bin, in + milliseconds or single units of percent. This + field is not used for LMM measurements"; + } + leaf lower-bound-tenths { + type int32; + units "percentage"; + description + "Lower bound (inclusive) of the bin, in tenths of + percent. This field is only used for LMM + measurements"; + } + leaf upper-bound-tenths { + type int32; + units "percentage"; + description + "Upper bound (exclusive) of the bin, in tenths of + percent. This field is only used for LMM + measurements"; + } + leaf sum { + type int64; + description + "The sum of the results in the bin, in + microseconds or millionths of a percent"; + } + leaf count { + type uint32; + description + "The total number of results in the bin"; + } + } + + grouping SLA-OPER-BUCKET-AGGREGATED { + description + "Result bins in an SLA metric bucket"; + list bins { + description + "The bins of an SLA metric bucket"; + uses SLA-OPER-BIN; + } + } + + grouping BUCKET-CONTENTS { + description + "Contents of an SLA bucket; bins or samples"; + container aggregated { + when "../bucket-type = 'bucket-type-bins'" { + description + "../BucketType = 'BucketTypeBins'"; + } + description + "Result bins in an SLA metric bucket"; + uses SLA-OPER-BUCKET-AGGREGATED; + } + container unaggregated { + when "../bucket-type = 'bucket-type-samples'" { + description + "../BucketType = 'BucketTypeSamples'"; + } + description + "Result samples in an SLA metric bucket"; + uses SLA-OPER-BUCKET-UNAGGREGATED; + } + leaf bucket-type { + type Sla-oper-bucket; + description + "BucketType"; + } + } + + grouping SLA-OPER-BUCKET { + description + "The contents of an SLA bucket"; + container contents { + description + "The contents of the bucket; bins or samples"; + uses BUCKET-CONTENTS; + } + leaf start-at { + type uint32; + description + "Absolute time that the bucket started being + filled at"; + } + leaf duration { + type uint32; + units "second"; + description + "Length of time for which the bucket is being + filled in seconds"; + } + leaf sent { + type uint32; + description + "Number of packets sent in the probe"; + } + leaf lost { + type uint32; + description + "Number of lost packets in the probe"; + } + leaf corrupt { + type uint32; + description + "Number of corrupt packets in the probe"; + } + leaf out-of-order { + type uint32; + description + "Number of packets recieved out-of-order in the + probe"; + } + leaf duplicates { + type uint32; + description + "Number of duplicate packets received in the + probe"; + } + leaf minimum { + type int32; + description + "Overall minimum result in the probe, in + microseconds or millionths of a percent"; + } + leaf maximum { + type int32; + description + "Overall minimum result in the probe, in + microseconds or millionths of a percent"; + } + leaf time-of-minimum { + type uint32; + description + "Absolute time that the minimum value was + recorded"; + } + leaf time-of-maximum { + type uint32; + description + "Absolute time that the maximum value was + recorded"; + } + leaf average { + type int32; + description + "Mean of the results in the probe, in + microseconds or millionths of a percent"; + } + leaf standard-deviation { + type int32; + description + "Standard deviation of the results in the probe, + in microseconds or millionths of a percent"; + } + leaf result-count { + type uint32; + description + "The count of samples collected in the bucket."; + } + leaf data-sent-count { + type uint32; + description + "The number of data packets sent across the + bucket, used in the calculation of overall FLR."; + } + leaf data-lost-count { + type uint32; + description + "The number of data packets lost across the + bucket, used in the calculation of overall FLR."; + } + leaf overall-flr { + type int32; + units "percentage"; + description + "Frame Loss Ratio across the whole bucket, in + millionths of a percent"; + } + leaf suspect-start-mid-bucket { + type boolean; + description + "Results suspect due to a probe starting mid-way + through a bucket"; + } + leaf suspect-schedule-latency { + type boolean; + description + "Results suspect due to scheduling latency + causing one or more packets to not be sent"; + } + leaf suspect-send-fail { + type boolean; + description + "Results suspect due to failure to send one or + more packets"; + } + leaf suspect-premature-end { + type boolean; + description + "Results suspect due to a probe ending + prematurely"; + } + leaf suspect-clock-drift { + type boolean; + description + "Results suspect as more than 10 seconds time + drift detected"; + } + leaf suspect-memory-allocation-failed { + type boolean; + description + "Results suspect due to a memory allocation + failure"; + } + leaf suspect-cleared-mid-bucket { + type boolean; + description + "Results suspect as bucket was cleared mid-way + through being filled"; + } + leaf suspect-probe-restarted { + type boolean; + description + "Results suspect as probe restarted mid-way + through the bucket"; + } + leaf suspect-management-latency { + type boolean; + description + "Results suspect as processing of results has + been delayed"; + } + leaf suspect-multiple-buckets { + type boolean; + description + "Results suspect as the probe has been configured + across multiple buckets"; + } + leaf suspect-misordering { + type boolean; + description + "Results suspect as misordering has been detected + , affecting results"; + } + leaf suspect-flr-low-packet-count { + type boolean; + description + "Results suspect as FLR calculated based on a low + packet count"; + } + leaf premature-reason { + type uint32; + description + "If the probe ended prematurely, the error that + caused a probe to end"; + } + leaf premature-reason-string { + type string; + description + "Description of the error code that caused the + probe to end prematurely. For informational + purposes only"; + } + } + + grouping SLA-CFG-METRIC-TYPE { + description + "Aggregation configuration for an individual + metric"; + leaf metric-type { + type Sla-recordable-metric; + description + "Type of metric to which this configuration + applies"; + } + leaf bins-count { + type uint16; + description + "Total number of bins into which to aggregate. 0 + if no aggregation."; + } + leaf bins-width { + type uint16; + description + "Width of each bin into which to aggregate. 0 if + no aggregation. For SLM, the units of this value + are in single units of percent; for LMM they are + in tenths of percent; for other measurements + they are in milliseconds."; + } + leaf bucket-size { + type uint8; + description + "Size of buckets into which measurements are + collected"; + } + leaf bucket-size-unit { + type Sla-bucket-size; + description + "Whether bucket size is 'per-probe' or 'probes'"; + } + leaf buckets-archive { + type uint32; + description + "Maximum number of buckets to store in memory"; + } + } + + grouping SLA-OPER-METRIC-STATISTICS { + description + "The results gathered for an individual metric"; + container config { + description + "Configuration of the metric"; + uses SLA-CFG-METRIC-TYPE; + } + list bucket { + description + "Buckets stored for the metric"; + uses SLA-OPER-BUCKET; + } + } + + grouping SLA-OPER-OPERATION-SCHEDULE { + description + "Schedule of an operation"; + leaf start-time { + type uint32; + units "second"; + description + "Start time of the first probe, in seconds since + the Unix Epoch"; + } + leaf start-time-configured { + type boolean; + description + "Whether or not the operation start time was + explicitly configured"; + } + leaf schedule-duration { + type uint32; + units "second"; + description + "Duration of a probe for the operation in seconds"; + } + leaf schedule-interval { + type uint32; + units "second"; + description + "Interval between the start times of consecutive + probes, in seconds."; + } + } + + grouping SLA-OPER-OD-OPERATION-SPECIFIC { + description + "Parameters specific to the state of an ondemand + operation"; + leaf ondemand-operation-id { + type uint32; + description + "ID of the ondemand operation"; + } + leaf probe-count { + type uint8; + description + "Total number of probes sent during the operation"; + } + } + + grouping SLA-OPER-CFG-OPERATION-SPECIFIC { + description + "Parameters specific to the state of a configured + operation"; + leaf profile-name { + type string; + description + "Name of the profile used by the operation"; + } + } + + grouping SLA-OPER-OPERATION-SPECIFIC-OPTS { + description + "Parameters specific to the type of SLA operation"; + container configured-operation-options { + when "../oper-type = 'operation-type-configured'" { + description + "../OperType = 'OperationTypeConfigured'"; + } + description + "Parameters for a configured operation"; + uses SLA-OPER-CFG-OPERATION-SPECIFIC; + } + container ondemand-operation-options { + when "../oper-type = 'operation-type-ondemand'" { + description + "../OperType = 'OperationTypeOndemand'"; + } + description + "Parameters for an ondemand operation"; + uses SLA-OPER-OD-OPERATION-SPECIFIC; + } + leaf oper-type { + type Sla-oper-operation; + description + "OperType"; + } + } + + grouping SLA-OPER-OPERATION-STATISTICS { + description + "The statistics of an SLA operation"; + container specific-options { + description + "Options specific to the type of operation"; + uses SLA-OPER-OPERATION-SPECIFIC-OPTS; + } + container operation-schedule { + description + "Operation schedule"; + uses SLA-OPER-OPERATION-SCHEDULE; + } + leaf probe-type { + type string; + description + "Type of probe used by the operation"; + } + leaf display-short { + type string; + description + "Short display name used by the operation"; + } + leaf display-long { + type string; + description + "Long display name used by the operation"; + } + leaf flr-calculation-interval { + type uint32; + units "millisecond"; + description + "Interval between FLR calculations for SLM, in + milliseconds"; + } + list operation-metric { + description + "Metrics gathered for the operation"; + uses SLA-OPER-METRIC-STATISTICS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang new file mode 100644 index 0000000..27b6f31 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub2.yang @@ -0,0 +1,2791 @@ +submodule Cisco-IOS-XR-ethernet-cfm-oper-sub2 { + belongs-to Cisco-IOS-XR-ethernet-cfm-oper { + prefix Cisco-IOS-XR-ethernet-cfm-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Cfm-pm-addl-intf-status { + type enumeration { + enum "unknown" { + value 0; + description + "Additional interface status unknown"; + } + enum "administratively-down" { + value 1; + description + "Interface is explicitly shutdown in + configuration"; + } + enum "remote-excessive-errors" { + value 2; + description + "Remote interface has exceeded its 802.3 Link + OAM error threshold"; + } + enum "local-excessive-errors" { + value 3; + description + "Local interface has exceeded its 802.3 Link OAM + error threshold"; + } + } + description + "Additional interface status"; + } + + typedef Cfm-pm-intf-status { + type enumeration { + enum "interface-status-up" { + value 1; + description + "Interface is up"; + } + enum "interface-status-down" { + value 2; + description + "Interface is down"; + } + enum "interface-status-testing" { + value 3; + description + "Interface is in testing mode"; + } + enum "interface-status-unknown" { + value 4; + description + "Unknown interface status"; + } + enum "interface-status-dormant" { + value 5; + description + "Interface is dormant"; + } + enum "interface-status-not-present" { + value 6; + description + "Interface status not found"; + } + enum "interface-status-lower-layer-down" { + value 7; + description + "Lower layer is down"; + } + } + description + "Interface status"; + } + + typedef Cfm-pm-port-status { + type enumeration { + enum "port-status-blocked" { + value 1; + description + "Port is STP blocked"; + } + enum "port-status-up" { + value 2; + description + "Port is up"; + } + enum "port-status-unknown" { + value 3; + description + "Unknown port status"; + } + } + description + "Port status"; + } + + typedef Cfm-pm-rmep-state { + type enumeration { + enum "peer-mep-idle" { + value 1; + description + "Momentary state during reset"; + } + enum "peer-mep-start" { + value 2; + description + "Loss timer not expired since reset, but no + valid CCM received"; + } + enum "peer-mep-failed" { + value 3; + description + "Loss timer has expired"; + } + enum "peer-mep-ok" { + value 4; + description + "Loss timer has not expired since last valid CCM"; + } + } + description + "State of the Peer MEP state machine"; + } + + typedef Cfm-pm-rmep-xc-state { + type enumeration { + enum "cross-check-ok" { + value 0; + description + "Cross-check OK"; + } + enum "cross-check-missing" { + value 1; + description + "No CCMs received within loss time from peer MEP"; + } + enum "cross-check-extra" { + value 2; + description + "CCMs received from peer MEP not marked for + cross-check"; + } + } + description + "Cross-check state of a peer MEP"; + } + + typedef Cfm-pm-ais-receive { + type enumeration { + enum "receive-none" { + value 0; + description + "No signal received"; + } + enum "receive-ais" { + value 1; + description + "Receiving AIS messages"; + } + enum "receive-lck" { + value 2; + description + "Receiving LCK messages"; + } + enum "receive-direct" { + value 3; + description + "Receiving AIS directly from another MEP on the + same interface"; + } + } + description + "Enumeration of how the MEP is receiving the + signal, directly or via AIS or LCK messages."; + } + + typedef Cfm-pm-ais-transmit { + type enumeration { + enum "transmit-none" { + value 0; + description + "AIS not transmitted"; + } + enum "transmit-ais" { + value 1; + description + "AIS transmitted via MIP"; + } + enum "transmit-ais-direct" { + value 2; + description + "AIS signal passed directly to a higher MEP"; + } + } + description + "Enumeration of how the MEP is transmitting AIS, + via a MIP or directly to a higher MEP"; + } + + typedef Cfm-pm-mep-defect { + type enumeration { + enum "defect-none" { + value 0; + description + "No defect reported"; + } + enum "defect-rdi-ccm" { + value 1; + description + "Some Peer MEP's CCM has the RDI bit set"; + } + enum "defect-ma-cstatus" { + value 2; + description + "A Peer MEP port or interface status error has + been reported"; + } + enum "defect-remote-ccm" { + value 3; + description + "Not receiving valid CCMs from at least one Peer + MEP"; + } + enum "defect-error-ccm" { + value 4; + description + "Currently receiving invalid CCMs from at least + one Peer MEP"; + } + enum "defect-cross-connect-ccm" { + value 5; + description + "Currently receiving CCMs from an incorrect + service (MA)"; + } + } + description + "Defects that can be reported by a MEP"; + } + + typedef Cfm-pm-mep-fng-state { + type enumeration { + enum "fng-reset" { + value 1; + description + "FNG in reset state"; + } + enum "fng-defect" { + value 2; + description + "FNG has detected but not yet reported a defect"; + } + enum "fng-report-defect" { + value 3; + description + "FNG is in the process of reporting a defect"; + } + enum "fng-defect-reported" { + value 4; + description + "FNG has reported a defect"; + } + enum "fng-defect-clearing" { + value 5; + description + "No defect present, but the reset timer has not + yet expired"; + } + } + description + "Fault Notification Generation state machine + states"; + } + + typedef Cfm-pm-elr-egress-action { + type enumeration { + enum "elr-egress-ok" { + value 1; + description + "OK"; + } + enum "elr-egress-down" { + value 2; + description + "Down"; + } + enum "elr-egress-blocked" { + value 3; + description + "STP Blocked"; + } + enum "elr-egress-vid" { + value 4; + description + "VID Blocked"; + } + enum "elr-egress-mac" { + value 255; + description + "MAC Pruned"; + } + } + description + "ELR Egress action"; + } + + typedef Cfm-pm-elr-ingress-action { + type enumeration { + enum "elr-ingress-ok" { + value 1; + description + "OK"; + } + enum "elr-ingress-down" { + value 2; + description + "Down"; + } + enum "elr-ingress-blocked" { + value 3; + description + "STP Blocked"; + } + enum "elr-ingress-vid" { + value 4; + description + "VID Blocked"; + } + } + description + "ELR Ingress action"; + } + + typedef Cfm-pm-elr-relay-action { + type enumeration { + enum "elr-relay-hit" { + value 1; + description + "Target Hit"; + } + enum "elr-relay-fdb" { + value 2; + description + "Filtering database"; + } + enum "elr-relay-flood" { + value 3; + description + "Flood forwarded"; + } + enum "elr-relay-drop" { + value 4; + description + "Dropped"; + } + } + description + "ELR relay action"; + } + + typedef Cfm-pm-last-hop-fmt { + type enumeration { + enum "last-hop-none" { + description + "No last hop identifier"; + } + enum "last-hop-host-name" { + description + "Last hop identifier is a hostname"; + } + enum "last-hop-egress-id" { + description + "Last hop identifier is an egress ID"; + } + } + description + "Last hop identifier format"; + } + + typedef Cfm-pm-egress-action { + type enumeration { + enum "egress-ok" { + value 1; + description + "OK"; + } + enum "egress-down" { + value 2; + description + "Down"; + } + enum "egress-blocked" { + value 3; + description + "STP Blocked"; + } + enum "egress-vid" { + value 4; + description + "VID Blocked"; + } + } + description + "Egress action"; + } + + typedef Cfm-pm-port-id-fmt { + type enumeration { + enum "port-id-interface-alias" { + value 1; + description + "Port ID is an interface alias"; + } + enum "port-id-port-component" { + value 2; + description + "Port ID is a component name"; + } + enum "port-id-mac-address" { + value 3; + description + "Port ID is a MAC address"; + } + enum "port-id-network-address" { + value 4; + description + "Port ID is a network address"; + } + enum "port-id-interface-name" { + value 5; + description + "Port ID is an interface name"; + } + enum "port-id-agent-circuit-id" { + value 6; + description + "Port ID is an agent name"; + } + enum "port-id-local" { + value 7; + description + "Port ID is a local name"; + } + enum "port-id-unknown" { + value 8; + description + "Port ID format unknown"; + } + } + description + "Port ID format"; + } + + typedef Cfm-pm-ingress-action { + type enumeration { + enum "ingress-ok" { + value 1; + description + "OK"; + } + enum "ingress-down" { + value 2; + description + "Down"; + } + enum "ingress-blocked" { + value 3; + description + "STP Blocked"; + } + enum "ingress-vid" { + value 4; + description + "VID Blocked"; + } + } + description + "Ingress action"; + } + + typedef Cfm-pm-id-fmt { + type enumeration { + enum "id-format-is-string" { + value 0; + description + "ID format is a string"; + } + enum "id-format-is-mac-address" { + value 1; + description + "ID format is a MAC address"; + } + enum "id-format-is-raw-hex" { + value 2; + description + "ID format is raw hex"; + } + } + description + "ID format"; + } + + typedef Cfm-pm-chassis-id-fmt { + type enumeration { + enum "chassis-id-chassis-component" { + value 1; + description + "Chassis ID is a component name"; + } + enum "chassis-id-interface-alias" { + value 2; + description + "Chassis ID is an interface alias"; + } + enum "chassis-id-port-component" { + value 3; + description + "Chassis ID is a port component name"; + } + enum "chassis-id-mac-address" { + value 4; + description + "Chassis ID is a MAC address"; + } + enum "chassis-id-network-address" { + value 5; + description + "Chassis ID is a network address"; + } + enum "chassis-id-interface-name" { + value 6; + description + "Chassis ID is an interface name"; + } + enum "chassis-id-local" { + value 7; + description + "Chassis ID is a local name"; + } + enum "chassis-id-unknown-type" { + value 8; + description + "Unknown Chassis ID type"; + } + } + description + "Chassis ID type"; + } + + typedef Cfm-pm-relay-action { + type enumeration { + enum "relay-hit" { + value 1; + description + "Target Hit"; + } + enum "relay-fdb" { + value 2; + description + "Filtering database"; + } + enum "relay-mpdb" { + value 3; + description + "CCM Learning database"; + } + } + description + "LTR relay action"; + } + + typedef Cfm-pm-elm-reply-filter { + type enumeration { + enum "reply-filter-not-present" { + value 0; + description + "Reply Filter not present"; + } + enum "reply-filter-default" { + value 1; + description + "Reply from ports which are not MAC-pruned, + VID-pruned, or STP-blocked"; + } + enum "reply-filter-vlan-topology" { + value 2; + description + "Reply from ports which are not VID-pruned or + STP-blocked"; + } + enum "reply-filter-spanning-tree" { + value 3; + description + "Reply from ports which are not STP-blocked"; + } + enum "reply-filter-all-ports" { + value 4; + description + "Reply from all ports"; + } + } + description + "Reply filter used for Exploratory Linktrace + operations"; + } + + typedef Cfm-pm-elt-delay-model { + type enumeration { + enum "delay-model-invalid" { + value 0; + description + "Not a valid delay model"; + } + enum "delay-model-logarithmic" { + value 1; + description + "Reply using logarithmic delay model"; + } + enum "delay-model-constant" { + value 2; + description + "Reply using constant delay model"; + } + } + description + "Delay model used for Exploratory Linktrace + operations"; + } + + typedef Cfm-pm-lt-mode { + type enumeration { + enum "cfm-pm-lt-mode-basic" { + value 1; + description + "Basic IEEE 802.1ag Linktrace"; + } + enum "cfm-pm-lt-mode-exploratory" { + value 2; + description + "Cisco Exploratory Linktrace"; + } + } + description + "Type of Linktrace operation"; + } + + typedef Cfm-pm-pkt-action { + type enumeration { + enum "packet-processed" { + value 0; + description + "Packet processed successfully"; + } + enum "packet-forwarded" { + value 1; + description + "Packet forwarded"; + } + enum "unknown-opcode" { + value 2; + description + "Packet dropped at a MEP due to unknown opcode"; + } + enum "filter-level" { + value 3; + description + "Packet dropped due to level/opcode filtering at + a MEP"; + } + enum "filter-blocked" { + value 4; + description + "Packet dropped because interface is STP blocked"; + } + enum "filter-local-mac" { + value 5; + description + "Packet dropped due to local destination MAC"; + } + enum "malformed-ccm-size" { + value 6; + description + "CCM too short or too long"; + } + enum "malformed-ccm-mep-id" { + value 7; + description + "Invalid MEP-ID"; + } + enum "malformed-too-short" { + value 8; + description + "Packet too short"; + } + enum "malformed-destination-mac-unicast" { + value 9; + description + "Destination MAC address does not match + interface"; + } + enum "malformed-destination-mac-multicast" { + value 10; + description + "Invalid multicast destination MAC address"; + } + enum "malformed-tlv-offset" { + value 11; + description + "TLV offset too short or beyond the end of the + packet"; + } + enum "malformed-lbm-source-mac" { + value 12; + description + "Invalid source MAC address for LBM"; + } + enum "malformed-ltr-relay-action" { + value 13; + description + "Unknown LTR relay action"; + } + enum "malformed-ltr-reply-tlv" { + value 14; + description + "LTR has neither reply-ingress or reply-egress"; + } + enum "malformed-lt-origin" { + value 15; + description + "Invalid Linktrace Message origin MAC address"; + } + enum "malformed-ltm-target" { + value 16; + description + "Invalid LTM target MAC address"; + } + enum "malformed-source-mac" { + value 17; + description + "Invalid source MAC address"; + } + enum "malformed-header-too-short" { + value 18; + description + "Packet too short for CFM header"; + } + enum "malformed-tlv-header-overrun" { + value 19; + description + "TLV header extends beyond the end of the packet"; + } + enum "malformed-tlv-overrun" { + value 20; + description + "TLV extends beyond the end of the packet"; + } + enum "malformed-duplicate-sender-id" { + value 21; + description + "Multiple Sender-ID TLVs found"; + } + enum "malformed-duplicate-port-status" { + value 22; + description + "Multiple Port-status TLVs found"; + } + enum "malformed-duplicate-interface-status" { + value 23; + description + "Multiple Interface-state TLVs found"; + } + enum "malformed-wrong-tlv" { + value 24; + description + "Invalid TLV for this type of packet found"; + } + enum "malformed-duplicate-data" { + value 25; + description + "Multiple Data TLVs found"; + } + enum "malformed-duplicate-ltr-egress-id" { + value 26; + description + "Multiple LTR-Egress-ID TLVs found"; + } + enum "malformed-duplicate-reply-ingress" { + value 27; + description + "Multiple Reply-ingress TLVs found"; + } + enum "malformed-duplicate-reply-egress" { + value 28; + description + "Multiple Reply-egress TLVs found"; + } + enum "malformed-duplicate-ltm-egress-id" { + value 29; + description + "Multiple LTM-Egress-ID TLVs found"; + } + enum "malformed-sender-id-size" { + value 30; + description + "Sender-ID TLV is too short"; + } + enum "malformed-chassis-id-size" { + value 31; + description + "Sender-ID TLV is too short to contain the + Chassis ID"; + } + enum "malformed-mgmt-address-domain-size" { + value 32; + description + "Sender-ID TLV is too short to contain the + management address domain"; + } + enum "malformed-mgmt-address-size" { + value 33; + description + "Sender-ID TLV is too short to contain the + management address"; + } + enum "malformed-port-status-size" { + value 34; + description + "Port-status TLV is too short"; + } + enum "malformed-port-status" { + value 35; + description + "Invalid Port status value"; + } + enum "malformed-interface-status-size" { + value 36; + description + "Interface-status TLV is too short"; + } + enum "malformed-interface-status" { + value 37; + description + "Invalid Interface status value"; + } + enum "malformed-organization-specific-tlv-size" { + value 38; + description + "Organization-specific TLV is too short"; + } + enum "malformed-duplicate-mep-name" { + value 39; + description + "Multiple MEP-name TLVs found"; + } + enum "malformed-duplicate-additional-interface-status" { + value 40; + description + "Multiple additional-interface-status TLVs found"; + } + enum "malformed-ltr-egress-id-size" { + value 41; + description + "LTR-Egress-ID TLV is too short"; + } + enum "malformed-reply-ingress-size" { + value 42; + description + "Reply-ingress TLV is too short"; + } + enum "malformed-ingress-action" { + value 43; + description + "Invalid ingress-action value"; + } + enum "malformed-reply-ingress-mac" { + value 44; + description + "Reply-ingress TLV has invalid MAC address"; + } + enum "malformed-ingress-port-length-size" { + value 45; + description + "Reply-ingress TLV is too short to contain the + Port ID type"; + } + enum "malformed-ingress-port-id-length" { + value 46; + description + "Reply-ingress TLV has a zero Port ID length"; + } + enum "malformed-ingress-port-id-size" { + value 47; + description + "Reply-ingress TLV is too short to contain the + Port ID"; + } + enum "malformed-reply-egress-size" { + value 48; + description + "Reply-egress TLV is too short"; + } + enum "malformed-egress-action" { + value 49; + description + "Invalid egress-action value"; + } + enum "malformed-reply-egress-mac" { + value 50; + description + "Reply-egress TLV has invalid MAC address"; + } + enum "malformed-egress-port-length-size" { + value 51; + description + "Reply-egress TLV is too short to contain the + Port ID type"; + } + enum "malformed-egress-port-id-length" { + value 52; + description + "Reply-egress TLV has a zero Port ID length"; + } + enum "malformed-egress-port-id-size" { + value 53; + description + "Reply-egress TLV is too short to contain the + Port ID"; + } + enum "malformed-ltm-egress-id-size" { + value 54; + description + "LTM-Egress_ID TLV is too short"; + } + enum "malformed-mep-name-size" { + value 55; + description + "MEP-name TLV is too short"; + } + enum "malformed-mep-name-name-length" { + value 56; + description + "MEP-name TLV is too short to contain a MEP name"; + } + enum "malformed-additional-interface-status-size" { + value 57; + description + "Additional-interface-status is too short"; + } + enum "malformed-additional-interface-status" { + value 58; + description + "Invalid additional interface status"; + } + enum "malformed-ccm-interval" { + value 59; + description + "CCM has a zero CCM interval"; + } + enum "malformed-mdid-mac-address-length" { + value 60; + description + "CCM has a MAC-address MDID but the MDID is the + wrong length"; + } + enum "malformed-mdid-length" { + value 61; + description + "CCM has an invalid MDID length"; + } + enum "malformed-sman-length" { + value 62; + description + "CCM has an invalid Short MA Name length"; + } + enum "malformed-sman2-byte-length" { + value 63; + description + "CCM has a VID or 16-bit Short MA Name but a + mismatched length"; + } + enum "malformed-sman-vpn-id-length" { + value 64; + description + "CCM has a VPNID Short MA Name but a mismatched + length"; + } + enum "malformed-elr-no-reply-tlv" { + value 65; + description + "ELR has no ELR Reply TLVs"; + } + enum "malformed-separate-elr-reply-egress" { + value 66; + description + "ELR Reply Egress TLVs not all adjacent"; + } + enum "malformed-dcm-destination-multicast" { + value 67; + description + "DCM has a multicast destination MAC"; + } + enum "malformed-dcm-embed-length" { + value 68; + description + "DCM is too short to contain an Embedded PDU"; + } + enum "malformed-dcm-embed-level" { + value 69; + description + "DCM Embedded PDU level does not match DCM level"; + } + enum "malformed-dcm-embed-version" { + value 70; + description + "DCM Embedded PDU version does not match DCM + version"; + } + enum "malformed-elr-relay-action" { + value 71; + description + "Unknown ELR relay action"; + } + enum "malformed-elr-tt-ls" { + value 73; + description + "Reply Ingress TTL is not one greater than Reply + Egress TTL"; + } + enum "malformed-elr-ttl-ingress" { + value 74; + description + "Reply Ingress TTL present without ELR Reply + Ingress TLV"; + } + enum "malformed-elr-ttl-egress" { + value 75; + description + "Reply Egress TTL present without ELR Reply + Egress TLV"; + } + enum "malformed-elm-destination-unicast" { + value 76; + description + "ELM Destination MAC must not be unicast"; + } + enum "malformed-elm-egress-id" { + value 77; + description + "ELM has no LTM Egress ID TLV"; + } + enum "malformed-dcm-embed-oui" { + value 78; + description + "Embedded DCM OUI unrecognized"; + } + enum "malformed-dcm-embed-opcode" { + value 79; + description + "Embedded DCM Opcode is not ELM"; + } + enum "malformed-elm-constant-zero" { + value 80; + description + "ELM Constant Factor is zero"; + } + enum "malformed-elr-timeout-zero" { + value 81; + description + "ELR Next-Hop Timeout is zero"; + } + enum "malformed-duplicate-test" { + value 82; + description + "Multiple Test TLVs found"; + } + enum "malformed-dmm-source-mac" { + value 83; + description + "Invalid source MAC address for DMM"; + } + enum "malformed-test-size" { + value 84; + description + "Test TLV is too short"; + } + enum "malformed-dmr-time-stamps" { + value 85; + description + "DMR has exactly one of its Rxf and Txb + timestamps unspecified"; + } + enum "malformed-dm-time-stamp-fmt" { + value 86; + description + "The format of one or more timestamps is invalid"; + } + enum "malformed-ais-interval" { + value 87; + description + "AIS/LCK has invalid interval value (not 1 + second or 1 minute)"; + } + enum "filter-interface-down" { + value 88; + description + "Packet dropped due to interface being down"; + } + enum "filter-forward-standby" { + value 89; + description + "Packet dropped - not forwarded because + interface is in standby mode"; + } + enum "malformed-sman-icc-based-length" { + value 90; + description + "CCM has an ICC-based format Short MA Name but a + mismatched length"; + } + enum "filter-foward-issu-secondary" { + value 120; + description + "Packet dropped - not forwarded in secondary HA + role"; + } + enum "filter-response-standby" { + value 121; + description + "Packet dropped - not responded to because + interface is in standby mode"; + } + enum "filter-response-issu-secondary" { + value 122; + description + "Packet dropped - not responded to in secondary + HA role"; + } + } + description + "Action taken for received packet"; + } + + grouping CFM-PM-REMOTE-MEP-STATS { + description + "Peer MEP statistics"; + container last-ccm-received-time { + description + "Elapsed time since last CCM received"; + uses CFM-PM-TIMESTAMP; + } + leaf ccms-received { + type uint64; + description + "Number of CCMs received"; + } + leaf ccms-wrong-level { + type uint64; + description + "Number of CCMs received with an invalid level"; + } + leaf ccms-invalid-maid { + type uint64; + description + "Number of CCMs received with an invalid MAID"; + } + leaf ccms-invalid-interval { + type uint64; + description + "Number of CCMs received with an invalid interval"; + } + leaf ccms-invalid-source-mac-address { + type uint64; + description + "Number of CCMs received with an invalid source + MAC address"; + } + leaf ccms-our-mep-id { + type uint64; + description + "Number of CCMs received with our MEP ID"; + } + leaf ccms-rdi { + type uint64; + description + "Number of CCMs received with the Remote Defect + Indication bit set"; + } + leaf ccms-out-of-sequence { + type uint64; + description + "Number of CCMs received out-of-sequence"; + } + leaf last-ccm-sequence-number { + type uint32; + description + "Sequence number of last CCM received"; + } + } + + grouping CFM-PM-MEP-NAME { + description + "MEP name"; + leaf name { + type string; + description + "MEP name"; + } + } + + grouping CFM-PM-CCM-HDR-V2 { + description + "CCM frame header"; + container mdid { + description + "MDID"; + uses CFM-BAG-MDID-V2; + } + container short-ma-name { + description + "Short MA Name"; + uses CFM-BAG-SMAN-V2; + } + leaf level { + type Cfm-bag-md-level; + description + "MD level"; + } + leaf version { + type uint8; + description + "Version"; + } + leaf interval { + type Cfm-bag-ccm-interval; + description + "CCM interval"; + } + leaf rdi { + type boolean; + description + "Remote defect indicated"; + } + leaf sequence-number { + type uint32; + description + "CCM sequence number"; + } + leaf mep-id { + type uint16; + description + "MEP ID"; + } + leaf mdid-format { + type uint8; + description + "MDID Format"; + } + leaf short-ma-name-format { + type uint8; + description + "Short MA Name format"; + } + } + + grouping CFM-PM-CCM-V2 { + description + "Continuity check message (CCM)"; + container header { + description + "Frame header"; + uses CFM-PM-CCM-HDR-V2; + } + container sender-id { + description + "Sender ID TLV"; + uses CFM-PM-SENDER-ID; + } + container mep-name { + description + "MEP name"; + uses CFM-PM-MEP-NAME; + } + leaf port-status { + type Cfm-pm-port-status; + description + "Port status"; + } + leaf interface-status { + type Cfm-pm-intf-status; + description + "Interface status"; + } + leaf additional-interface-status { + type Cfm-pm-addl-intf-status; + description + "Additional interface status"; + } + leaf raw-data { + type yang:hex-string; + description + "Undecoded frame"; + } + list organization-specific-tlv { + description + "Organizational-specific TLVs"; + uses CFM-PM-ORG-SPEC-TLV; + } + list unknown-tlv { + description + "Unknown TLVs"; + uses CFM-PM-UNKNOWN-TLV; + } + } + + grouping CFM-PM-REMOTE-MEP-V2 { + description + "Peer maintenance endpoint (MEP)"; + container error-state { + description + "Error state"; + uses CFM-PM-RMEP-ERR-STATE; + } + container last-up-down-time { + description + "Elapsed time since peer MEP became active or + timed out"; + uses CFM-PM-TIMESTAMP; + } + container last-ccm-received { + description + "Last CCM received from the peer MEP"; + uses CFM-PM-CCM-V2; + } + container statistics { + description + "Peer MEP statistics"; + uses CFM-PM-REMOTE-MEP-STATS; + } + leaf mep-id { + type uint16; + description + "MEP ID"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + leaf cross-check-state { + type Cfm-pm-rmep-xc-state; + description + "Cross-check state"; + } + leaf peer-mep-state { + type Cfm-pm-rmep-state; + description + "State of the peer MEP state machine"; + } + leaf ccm-offload { + type Cfm-bag-ccm-offload; + description + "Offload status of received CCM handling"; + } + } + + grouping CFM-PM-REMOTE-MEPS-V2-BAG { + description + "Peer MEPs table entry"; + container peer-mep { + description + "Peer MEP"; + uses CFM-PM-REMOTE-MEP-V2; + } + leaf domain-xr { + type string; + description + "Maintenance domain name"; + } + leaf service-xr { + type string; + description + "Service name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Maintenance level"; + } + leaf mep-id { + type uint16; + description + "MEP ID"; + } + leaf interface-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf mep-direction { + type Cfm-bag-direction; + description + "MEP facing direction"; + } + leaf standby { + type boolean; + description + "The local MEP is on an interface in standby mode"; + } + } + + grouping CFM-PM-MEP-AIS-STATS { + description + "Local MEP AIS information"; + container sending-start { + description + "Time elapsed since AIS sending started"; + uses CFM-PM-TIMESTAMP; + } + container receiving-start { + description + "Time elapsed since AIS receiving started"; + uses CFM-PM-TIMESTAMP; + } + leaf level { + type Cfm-bag-md-level; + description + "AIS transmission level"; + } + leaf interval { + type Cfm-bag-ais-interval; + description + "AIS transmission interval"; + } + leaf sending-ais { + type Cfm-pm-ais-transmit; + description + "Details of how AIS is being transmitted"; + } + leaf receiving-ais { + type Cfm-pm-ais-receive; + description + "Details of how the signal is being received"; + } + leaf last-interval { + type Cfm-bag-ais-interval; + description + "The interval of the last received AIS packet"; + } + leaf last-mac-address { + type Mac-address; + description + "Source MAC address of the last received AIS + packet"; + } + } + + grouping CFM-PM-MEP-STATS { + description + "Local MEP statistics"; + leaf ccms-sent { + type uint64; + description + "Number of CCMs sent"; + } + leaf ccms-received { + type uint64; + description + "Number of CCMs received"; + } + leaf ccms-out-of-sequence { + type uint64; + description + "Number of CCMs received out-of-sequence"; + } + leaf ccms-discarded { + type uint64; + description + "Number of CCMs discarded because maximum MEPs + limit was reached"; + } + leaf lb-ms-sent { + type uint64; + description + "Number of LBMs sent"; + } + leaf lb-rs-sent { + type uint64; + description + "Number of LBRs sent"; + } + leaf lb-rs-received { + type uint64; + description + "Number of LBRs received"; + } + leaf lb-rs-out-of-sequence { + type uint64; + description + "Number of LBRs received out-of-sequence"; + } + leaf lb-rs-bad-data { + type uint64; + description + "Number of LBRs received with non-matching + user-specified data"; + } + leaf lb-ms-received { + type uint64; + description + "Number of LBMs received"; + } + leaf lt-rs-received-unexpected { + type uint64; + description + "Number of unexpected LTRs received"; + } + leaf ai-ss-sent { + type uint64; + description + "Number of AIS messages sent"; + } + leaf ai-ss-received { + type uint64; + description + "Number of AIS messages received"; + } + leaf lc-ks-received { + type uint64; + description + "Number of LCK messages received"; + } + leaf dm-ms-sent { + type uint64; + description + "Number of DMM messages sent"; + } + leaf dm-ms-received { + type uint64; + description + "Number of DMM messages received"; + } + leaf dm-rs-sent { + type uint64; + description + "Number of DMR messages sent"; + } + leaf dm-rs-received { + type uint64; + description + "Number of DMR messages received"; + } + leaf sl-ms-sent { + type uint64; + description + "Number of SLM messages sent"; + } + leaf sl-ms-received { + type uint64; + description + "Number of SLM messages received"; + } + leaf sl-rs-sent { + type uint64; + description + "Number of SLR messages sent"; + } + leaf sl-rs-received { + type uint64; + description + "Number of SLR messages received"; + } + leaf lm-ms-sent { + type uint64; + description + "Number of LMM messages sent"; + } + leaf lm-ms-received { + type uint64; + description + "Number of LMM messages received"; + } + leaf lm-rs-sent { + type uint64; + description + "Number of LMR messages sent"; + } + leaf lm-rs-received { + type uint64; + description + "Number of LMR messages received"; + } + leaf bn-ms-received { + type uint64; + description + "Number of BNM messages received"; + } + leaf bn-ms-discarded { + type uint64; + description + "Number of BNM messages discarded"; + } + } + + grouping CFM-PM-MEP-STATS-BAG { + description + "Local MEP table entry"; + container statistics { + description + "MEP statistics"; + uses CFM-PM-MEP-STATS; + } + container ais-statistics { + description + "MEP AIS statistics"; + uses CFM-PM-MEP-AIS-STATS; + } + container defects { + description + "Defects detected from peer MEPs"; + uses CFM-PM-DEFECTS; + } + leaf domain-xr { + type string; + description + "Maintenance domain name"; + } + leaf service-xr { + type string; + description + "Service name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Maintenance level"; + } + leaf mep-id-xr { + type uint16; + description + "MEP ID"; + } + leaf interface-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf interface-state { + type string; + description + "IM Interface state"; + } + leaf interworking-state { + type Cfm-bag-iw-state; + description + "Interface interworking state"; + } + leaf stp-state { + type Cfm-bag-stp-state; + description + "STP state"; + } + leaf mep-direction { + type Cfm-bag-direction; + description + "MEP facing direction"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + leaf peer-meps-detected { + type uint32; + description + "Number of peer MEPs detected"; + } + leaf peer-meps-with-errors-detected { + type uint32; + description + "Number of peer MEPs detected with errors"; + } + leaf remote-defect { + type boolean; + description + "Remote defect indicated"; + } + leaf fault-notification-state { + type Cfm-pm-mep-fng-state; + description + "Fault Notification Generation state"; + } + leaf ccm-generation-enabled { + type boolean; + description + "CCM generation enabled"; + } + leaf ccm-interval { + type Cfm-bag-ccm-interval; + description + "The interval between CCMs"; + } + leaf ccm-offload { + type Cfm-bag-ccm-offload; + description + "Offload status of CCM processing"; + } + leaf highest-defect { + type Cfm-pm-mep-defect; + description + "Highest-priority defect present since last FNG + reset"; + } + leaf rdi-defect { + type boolean; + description + "A peer MEP RDI defect has been reported"; + } + leaf mac-status-defect { + type boolean; + description + "A peer MEP port or interface status error has + been reported"; + } + leaf peer-mep-ccm-defect { + type boolean; + description + "A peer MEP CCM error has been reported"; + } + leaf error-ccm-defect { + type boolean; + description + "A CCM error has been reported"; + } + leaf cross-connect-ccm-defect { + type boolean; + description + "A cross-connect CCM error has been reported"; + } + leaf next-lbm-id { + type uint32; + description + "Next Transaction ID to be sent in a Loopback + Message"; + } + leaf next-ltm-id { + type uint32; + description + "Next Transaction ID to be sent in a Linktrace + Message"; + } + leaf cos { + type uint8; + description + "CoS bits the MEP will use for sent packets, if + configured"; + } + leaf efd-triggered { + type boolean; + description + "EFD triggered on the interface"; + } + leaf standby { + type boolean; + description + "The local MEP is on an interface in standby mode"; + } + leaf hairpin { + type boolean; + description + "MEP is on a sub-interface in the same + bridge-domain and on the same trunk interface as + another sub-interface"; + } + leaf defects-ignored { + type boolean; + description + "Defects present but ignored due to 'report + defects' configuration"; + } + } + + grouping CFM-PM-ELR-REPLY-EGRESS { + description + "ELR Reply egress TLV"; + container last-egress-id { + description + "Last Egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + container next-egress-id { + description + "Next Egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + container port-id { + description + "Port ID"; + uses CFM-PM-PORT-ID; + } + leaf action { + type Cfm-pm-elr-egress-action; + description + "Reply egress action"; + } + leaf mac-address { + type Mac-address; + description + "MAC address of egress interface"; + } + } + + grouping CFM-PM-ELR-REPLY-INGRESS { + description + "ELR Reply ingress TLV"; + container last-egress-id { + description + "Last egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + container next-egress-id { + description + "Next egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + container port-id { + description + "Port ID"; + uses CFM-PM-PORT-ID; + } + leaf action { + type Cfm-pm-elr-ingress-action; + description + "ELR Reply ingress action"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + } + + grouping CFM-PM-ELR-HDR { + description + "ELR frame header"; + leaf level { + type Cfm-bag-md-level; + description + "MD level"; + } + leaf version { + type uint8; + description + "Version"; + } + leaf forwarded { + type boolean; + description + "ELR was forwarded"; + } + leaf terminal-mep { + type boolean; + description + "Terminal MEP reached"; + } + leaf reply-filter-unknown { + type boolean; + description + "Reply Filter unrecognized"; + } + leaf transaction-id { + type uint32; + description + "Transaction ID"; + } + leaf ttl { + type uint8; + description + "TTL"; + } + leaf relay-action { + type Cfm-pm-elr-relay-action; + description + "Relay action"; + } + leaf next-hop-timeout { + type uint32; + units "second"; + description + "Next Hop Timeout, in seconds"; + } + leaf delay-model { + type Cfm-pm-elt-delay-model; + description + "Delay Model"; + } + } + + grouping CFM-PM-ELR { + description + "Exploratory Linktrace Reply (ELR) message "; + container header { + description + "Frame header"; + uses CFM-PM-ELR-HDR; + } + container sender-id { + description + "Sender ID TLV"; + uses CFM-PM-SENDER-ID; + } + container reply-ingress { + description + "Reply ingress TLV"; + uses CFM-PM-ELR-REPLY-INGRESS; + } + container reply-egress { + description + "Reply egress TLV"; + uses CFM-PM-ELR-REPLY-EGRESS; + } + container last-hop { + description + "Last hop ID"; + uses CFM-PM-LAST-HOP; + } + leaf raw-data { + type yang:hex-string; + description + "Undecoded frame"; + } + list organization-specific-tlv { + description + "Organizational-specific TLVs"; + uses CFM-PM-ORG-SPEC-TLV; + } + list unknown-tlv { + description + "Unknown TLVs"; + uses CFM-PM-UNKNOWN-TLV; + } + } + + grouping CFM-PM-LAST-HOP { + description + "Last hop type"; + container egress-id { + when "../last-hop-format = 'last-hop-egress-id'" { + description + "../LastHopFormat = 'LastHopEgressID'"; + } + description + "Egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + leaf last-hop-format { + type Cfm-pm-last-hop-fmt; + description + "LastHopFormat"; + } + leaf host-name { + when "../last-hop-format = 'last-hop-host-name'" { + description + "../LastHopFormat = 'LastHopHostname'"; + } + type Cfm-bag-optional-string; + description + "Hostname"; + } + } + + grouping CFM-PM-UNKNOWN-TLV { + description + "Unknown TLV"; + leaf typecode { + type uint8; + description + "Type code of TLV"; + } + leaf value { + type yang:hex-string; + description + "Binary data in TLV"; + } + } + + grouping CFM-PM-ORG-SPEC-TLV { + description + "Organizational-specific TLV"; + leaf oui { + type yang:hex-string; + description + "Organizationally-unique ID"; + } + leaf subtype { + type uint8; + description + "Subtype of TLV"; + } + leaf value { + type yang:hex-string; + description + "Binary data in TLV"; + } + } + + grouping CFM-PM-REPLY-EGRESS { + description + "Reply egress TLV"; + container port-id { + description + "Port ID"; + uses CFM-PM-PORT-ID; + } + leaf action { + type Cfm-pm-egress-action; + description + "Reply egress action"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + } + + grouping CFM-PM-PORT-ID-VAL { + description + "Port ID Value"; + leaf port-id-format { + type Cfm-pm-id-fmt; + description + "PortIDFormat"; + } + leaf port-id-string { + when "../port-id-format = 'id-format-is-string'" { + description + "../PortIDFormat = 'IDFormatIsString'"; + } + type Cfm-bag-optional-string; + description + "Port ID String"; + } + leaf port-id-mac { + when "../port-id-format = 'id-format-is-mac-address'" { + description + "../PortIDFormat = 'IDFormatIsMACAddress'"; + } + type Mac-address; + description + "Port ID MAC Address"; + } + leaf port-id-raw { + when "../port-id-format != 'id-format-is-string' and ../port-id-format != 'id-format-is-mac-address'" { + description + "../PortIDFormat != 'IDFormatIsString' and . + ./PortIDFormat != 'IDFormatIsMACAddress'"; + } + type Cfm-bag-optional-hex-data; + description + "Raw Port ID"; + } + } + + grouping CFM-PM-PORT-ID { + description + "Port ID"; + container port-id-value { + description + "Port ID (Current)"; + uses CFM-PM-PORT-ID-VAL; + } + leaf port-id-type { + type Cfm-pm-port-id-fmt; + description + "Port ID type"; + } + leaf port-id-type-value { + type uint8; + description + "Port ID type value"; + } + leaf port-id { + type yang:hex-string; + description + "Port ID (Deprecated)"; + } + } + + grouping CFM-PM-REPLY-INGRESS { + description + "Reply ingress TLV"; + container port-id { + description + "Port ID"; + uses CFM-PM-PORT-ID; + } + leaf action { + type Cfm-pm-ingress-action; + description + "Reply ingress action"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + } + + grouping CFM-PM-EGRESS-ID-TYPE { + description + "Egress ID"; + leaf unique-id { + type uint16; + description + "Unique ID"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + } + + grouping CFM-PM-LTR-EGRESS-ID { + description + "LTR Egress ID TLV"; + container last-egress-id { + description + "Last egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + container next-egress-id { + description + "Next egress ID"; + uses CFM-PM-EGRESS-ID-TYPE; + } + } + + grouping CFM-PM-CHASSIS-ID-VAL { + description + "Chassis ID Value"; + leaf chassis-id-format { + type Cfm-pm-id-fmt; + description + "ChassisIDFormat"; + } + leaf chassis-id-string { + when "../chassis-id-format = 'id-format-is-string'" { + description + "../ChassisIDFormat = 'IDFormatIsString'"; + } + type Cfm-bag-optional-string; + description + "Chassis ID String"; + } + leaf chassis-id-mac { + when "../chassis-id-format = 'id-format-is-mac-address'" { + description + "../ChassisIDFormat = 'IDFormatIsMACAddress'"; + } + type Mac-address; + description + "Chassis ID MAC Address"; + } + leaf chassis-id-raw { + when "../chassis-id-format != 'id-format-is-string' and ../chassis-id-format != 'id-format-is-mac-address'" { + description + "../ChassisIDFormat != 'IDFormatIsString' and . + ./ChassisIDFormat != 'IDFormatIsMACAddress'"; + } + type Cfm-bag-optional-hex-data; + description + "Raw Chassis ID"; + } + } + + grouping CFM-PM-CHASSIS-ID { + description + "Chassis ID"; + container chassis-id-value { + description + "Chassis ID (Current)"; + uses CFM-PM-CHASSIS-ID-VAL; + } + leaf chassis-id-type { + type Cfm-pm-chassis-id-fmt; + description + "Chassis ID Type"; + } + leaf chassis-id-type-value { + type uint8; + description + "Chassis ID Type"; + } + leaf chassis-id { + type yang:hex-string; + description + "Chassis ID (Deprecated)"; + } + } + + grouping CFM-PM-SENDER-ID { + description + "Sender ID TLV"; + container chassis-id { + description + "Chassis ID"; + uses CFM-PM-CHASSIS-ID; + } + leaf management-address-domain { + type yang:hex-string; + description + "Management address domain"; + } + leaf management-address { + type yang:hex-string; + description + "Management address"; + } + } + + grouping CFM-PM-LTR-HDR { + description + "LTR frame header"; + leaf level { + type Cfm-bag-md-level; + description + "MD level"; + } + leaf version { + type uint8; + description + "Version"; + } + leaf use-fdb-only { + type boolean; + description + "Use filtering DB only"; + } + leaf forwarded { + type boolean; + description + "LTR was forwarded"; + } + leaf terminal-mep { + type boolean; + description + "Terminal MEP reached"; + } + leaf transaction-id { + type uint32; + description + "Transaction ID"; + } + leaf ttl { + type uint8; + description + "TTL"; + } + leaf relay-action { + type Cfm-pm-relay-action; + description + "Relay action"; + } + } + + grouping CFM-PM-LTR { + description + "Linktrace reply (LTR) message "; + container header { + description + "Frame header"; + uses CFM-PM-LTR-HDR; + } + container sender-id { + description + "Sender ID TLV"; + uses CFM-PM-SENDER-ID; + } + container egress-id { + description + "Egress ID TLV"; + uses CFM-PM-LTR-EGRESS-ID; + } + container reply-ingress { + description + "Reply ingress TLV"; + uses CFM-PM-REPLY-INGRESS; + } + container reply-egress { + description + "Reply egress TLV"; + uses CFM-PM-REPLY-EGRESS; + } + container last-hop { + description + "Last hop ID"; + uses CFM-PM-LAST-HOP; + } + leaf raw-data { + type yang:hex-string; + description + "Undecoded frame"; + } + list organization-specific-tlv { + description + "Organizational-specific TLVs"; + uses CFM-PM-ORG-SPEC-TLV; + } + list unknown-tlv { + description + "Unknown TLVs"; + uses CFM-PM-UNKNOWN-TLV; + } + } + + grouping CFM-PM-MEP-TR-CACHE-BAG { + description + "Traceroute cache table entry"; + container traceroute-information { + description + "Information about the traceroute operation"; + uses CFM-PM-LT-INFO; + } + leaf replies-dropped { + type uint32; + description + "Count of ignored replies for this request"; + } + list linktrace-reply { + description + "Received linktrace replies"; + uses CFM-PM-LTR; + } + list exploratory-linktrace-reply { + description + "Received exploratory linktrace replies"; + uses CFM-PM-ELR; + } + } + + grouping CFM-PM-LT-OPTS-EXPLORATORY { + description + "options for an Exploratory Linktrace"; + leaf delay-model { + type Cfm-pm-elt-delay-model; + description + "Delay model for delay calculations"; + } + leaf delay-constant-factor { + type uint32; + description + "Constant Factor for delay calculations"; + } + leaf reply-filter { + type Cfm-pm-elm-reply-filter; + description + "Reply Filtering mode used by responders"; + } + } + + grouping CFM-PM-LT-OPTS-BASIC { + description + "Options for a basic IEEE 802.1ag Linktrace"; + leaf is-auto { + type boolean; + description + "Traceroute was initiated automatically"; + } + leaf fdb-only { + type boolean; + description + "Only use the Filtering Database for forwarding + lookups"; + } + } + + grouping CFM-PM-LT-OPTS { + description + "Options affecting the behavior of the traceroute"; + container basic-options { + when "../mode = 'cfm-pm-lt-mode-basic'" { + description + "../Mode = 'CFM_PM_LT_MODE_BASIC'"; + } + description + "Options for a basic IEEE 802.1ag Linktrace"; + uses CFM-PM-LT-OPTS-BASIC; + } + container exploratory-options { + when "../mode = 'cfm-pm-lt-mode-exploratory'" { + description + "../Mode = 'CFM_PM_LT_MODE_EXPLORATORY'"; + } + description + "Options for an Exploratory Linktrace"; + uses CFM-PM-LT-OPTS-EXPLORATORY; + } + leaf mode { + type Cfm-pm-lt-mode; + description + "Mode"; + } + } + + grouping CFM-PM-LT-INFO { + description + "Information about a traceroute request"; + container options { + description + "Options affecting traceroute behavior"; + uses CFM-PM-LT-OPTS; + } + leaf domain { + type string; + description + "Maintenance domain name"; + } + leaf service { + type string; + description + "Service name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Maintenance level"; + } + leaf source-mep-id { + type uint16; + description + "Source MEP ID"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source interface"; + } + leaf source-mac-address { + type Mac-address; + description + "Source MAC address"; + } + leaf target-mac-address { + type Mac-address; + description + "Target MAC address"; + } + leaf directed-mac-address { + type Mac-address; + description + "Directed MAC address"; + } + leaf target-mep-id { + type uint16; + description + "Target MEP ID"; + } + leaf timestamp { + type uint64; + units "second"; + description + "Timestamp of initiation time (seconds)"; + } + leaf ttl { + type uint8; + description + "Time to live"; + } + leaf transaction-id { + type uint32; + description + "Transaction ID"; + } + } + + grouping CFM-PM-MEP-INCOMPLETE-TR-BAG { + description + "Local MEP incomplete traceroute table entry"; + container traceroute-information { + description + "Information about the traceroute operation"; + uses CFM-PM-LT-INFO; + } + leaf time-left { + type uint64; + units "second"; + description + "Time (in seconds) before the traceroute + completes"; + } + } + + grouping CFM-PM-CLDB-BAG { + description + "Continuity check message learning database table + entry"; + leaf domain-xr { + type string; + description + "Maintenance domain name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Maintenance level"; + } + leaf service-xr { + type string; + description + "Maintenance association name"; + } + leaf source-mac-address { + type Mac-address; + description + "Source MAC address"; + } + leaf ingress-interface { + type uint32; + description + "The XID of the ingress interface for the CCM"; + } + leaf stale { + type boolean; + description + "The XID is stale and may have been reused for a + different interface"; + } + leaf ingress-interface-string { + type string; + description + "String representation of the Bridge Domain or + Cross-Connect associated with the ingress XID"; + } + } + + grouping CFM-PM-EFP-STATS { + description + "EFP statistics"; + leaf malformed-packets { + type uint64; + description + "Number of malformed packets received at this EFP"; + } + leaf dropped-packets { + type uint64; + description + "Number of packets dropped at this EFP"; + } + leaf last-malformed-opcode { + type Cfm-bag-opcode; + description + "Opcode for last malformed packet"; + } + leaf last-malformed-reason { + type Cfm-pm-pkt-action; + description + "Reason last malformed packet was malformed"; + } + } + + grouping CFM-PM-EFP-STATS-BAG { + description + "Local interface statistics table entry"; + container statistics { + description + "EFP statistics"; + uses CFM-PM-EFP-STATS; + } + leaf interface-xr { + type xr:Interface-name; + description + "Interface"; + } + } + + grouping CFM-PM-TIMESTAMP { + description + "Timestamp"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping CFM-PM-RMEP-ERR-STATE { + description + "Error state of a Peer MEP"; + leaf loss-threshold-exceeded { + type boolean; + description + "Timed out (loss threshold exceeded)"; + } + leaf invalid-level { + type boolean; + description + "Invalid level"; + } + leaf invalid-maid { + type boolean; + description + "Invalid MAID"; + } + leaf invalid-ccm-interval { + type boolean; + description + "Invalid CCM interval"; + } + leaf received-our-mac { + type boolean; + description + "Loop detected (our MAC address received)"; + } + leaf received-our-mep-id { + type boolean; + description + "Configuration Error (our MEP ID received)"; + } + leaf received-rdi { + type boolean; + description + "Remote defection indication received"; + } + } + + grouping CFM-PM-DEFECTS { + description + "Defects detected from peer MEPs"; + container remote-meps-defects { + description + "Defects detected from remote MEPs"; + uses CFM-PM-RMEP-ERR-STATE; + } + leaf ais-received { + type boolean; + description + "AIS or LCK received"; + } + leaf peer-meps-that-timed-out { + type uint32; + description + "Number of peer MEPs that have timed out"; + } + leaf missing { + type uint32; + description + "Number of missing peer MEPs"; + } + leaf auto-missing { + type uint32; + description + "Number of missing auto cross-check MEPs"; + } + leaf unexpected { + type uint32; + description + "Number of unexpected peer MEPs"; + } + leaf local-port-status { + type boolean; + description + "The local port or interface is down"; + } + leaf peer-port-status { + type boolean; + description + "A peer port or interface is down"; + } + } + + grouping CFM-PM-AIS-STATS { + description + "AIS statistics"; + container defects { + description + "Defects detected"; + uses CFM-PM-DEFECTS; + } + container last-started { + description + "Time elapsed since sending last started"; + uses CFM-PM-TIMESTAMP; + } + leaf direction { + type Cfm-bag-direction; + description + "Direction of AIS packets"; + } + leaf lowest-level { + type Cfm-bag-md-level; + description + "Level of the lowest MEP transmitting AIS"; + } + leaf transmission-level { + type Cfm-bag-md-level; + description + "Level that AIS packets are transmitted on"; + } + leaf transmission-interval { + type Cfm-bag-ais-interval; + description + "Interval at which AIS packets are transmitted"; + } + leaf sent-packets { + type uint32; + description + "Total number of packets sent by the transmitting + MEP"; + } + leaf-list via-level { + type Cfm-bag-md-level; + description + "Levels of other MEPs receiving AIS"; + } + } + + grouping CFM-PM-EFP-AIS-BAG { + description + "Local interface AIS table entry"; + container statistics { + description + "AIS statistics"; + uses CFM-PM-AIS-STATS; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf interface-state { + type string; + description + "IM Interface state"; + } + leaf interworking-state { + type Cfm-bag-iw-state; + description + "Interface interworking state"; + } + leaf stp-state { + type Cfm-bag-stp-state; + description + "STP state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang new file mode 100644 index 0000000..03be697 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub3.yang @@ -0,0 +1,1034 @@ +submodule Cisco-IOS-XR-ethernet-cfm-oper-sub3 { + belongs-to Cisco-IOS-XR-ethernet-cfm-oper { + prefix Cisco-IOS-XR-ethernet-cfm-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Cfm-bag-sman-fmt { + type enumeration { + enum "sman-vlan-id" { + value 1; + description + "Short MA Name is a 12-bit VLAN-ID"; + } + enum "sman-string" { + value 2; + description + "Short MA Name is a character string"; + } + enum "sman-uint16" { + value 3; + description + "Short MA Name is a 16-bit unsigned integer"; + } + enum "sman-vpn-id" { + value 4; + description + "Short MA Name is a global VPN identifier"; + } + enum "sman-icc" { + value 32; + description + "Short MA Name uses the ICC-based format"; + } + enum "sman-unknown" { + value 33; + description + "Unknown Short MA Name format"; + } + } + description + "Short MA Name format"; + } + + typedef Cfm-bag-mdid-fmt { + type enumeration { + enum "mdid-null" { + value 1; + description + "MDID is explicity NULL"; + } + enum "mdid-dns-like" { + value 2; + description + "MDID is based on a DNS name"; + } + enum "mdid-mac-address" { + value 3; + description + "MDID is a (MAC address, integer) pair"; + } + enum "mdid-string" { + value 4; + description + "MDID is a character string"; + } + enum "mdid-unknown" { + value 5; + description + "Unknown MDID format"; + } + } + description + "CFM MDID format"; + } + + typedef Cfm-bag-ccm-offload { + type enumeration { + enum "offload-none" { + description + "CCM processing has not been offloaded"; + } + enum "offload-software" { + description + "CCM processing has been offloaded to software"; + } + enum "offload-hardware" { + description + "CCM processing has been offloaded to hardware"; + } + } + description + "Offload status of CCM processing"; + } + + typedef Cfm-bag-optional-hex-data { + type yang:hex-string; + description + "Hex binary data which may be optionally present."; + } + + typedef Cfm-bag-optional-string { + type string; + description + "String which may be optionally present."; + } + + typedef Cfm-bag-ccm-interval { + type enumeration { + enum "interval-none" { + value 0; + description + "Invalid CCM interval"; + } + enum "interval3-3ms" { + value 1; + description + "Interval of 3.3ms"; + } + enum "interval10ms" { + value 2; + description + "Interval of 10ms"; + } + enum "interval100ms" { + value 3; + description + "Interval of 100ms"; + } + enum "interval1s" { + value 4; + description + "Interval of 1s"; + } + enum "interval10s" { + value 5; + description + "Interval of 10s"; + } + enum "interval1m" { + value 6; + description + "Interval of 1 min"; + } + enum "interval10m" { + value 7; + description + "Interval of 10 mins"; + } + } + description + "CFM CCM intervals"; + } + + typedef Cfm-bag-bdid-fmt { + type enumeration { + enum "invalid" { + value 0; + description + "Invalid BDID identifier format"; + } + enum "bd-id" { + value 1; + description + "Identifier is a bridge domain ID"; + } + enum "xc-p2p-id" { + value 2; + description + "Identifier is a P2P cross-connect ID"; + } + enum "xc-mp2mp-id" { + value 3; + description + "Identifier is a MP2MP cross-connect ID"; + } + enum "fxc-vlan-aware-id" { + value 4; + description + "Identifier is a VLAN-aware flexible + cross-connect ID"; + } + enum "fxc-vlan-unaware-id" { + value 5; + description + "Identifier is a VLAN-unaware flexible + cross-connect ID"; + } + enum "down-only" { + value 6; + description + "Identifier is a maintenance association name"; + } + } + description + "Bridge domain identifier format"; + } + + typedef Cfm-ma-mp-variety { + type enumeration { + enum "mip" { + description + "MIP"; + } + enum "up-mep" { + description + "Up MEP"; + } + enum "downmep" { + description + "Down MEP"; + } + enum "unknown-mep" { + description + "Unknown MEP"; + } + } + description + "CFM MA Maintenance Point varieties"; + } + + typedef Mac-address { + type yang:mac-address; + description + "MAC address type"; + } + + typedef Cfm-bag-issu-role { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown"; + } + enum "primary" { + value 1; + description + "Primary"; + } + enum "secondary" { + value 2; + description + "Secondary"; + } + } + description + "CFM ISSU role"; + } + + typedef Cfm-bag-opcode { + type enumeration { + enum "reserved" { + value 0; + description + "Reserved"; + } + enum "ccm" { + value 1; + description + "Continuity Check"; + } + enum "lbr" { + value 2; + description + "Loopback Reply"; + } + enum "lbm" { + value 3; + description + "Loopback Message"; + } + enum "ltr" { + value 4; + description + "Linktrace Reply"; + } + enum "ltm" { + value 5; + description + "Linktrace Message"; + } + } + description + "CFM Opcode"; + } + + typedef Cfm-bag-ais-interval { + type enumeration { + enum "ais-interval-none" { + value 0; + description + "Invalid AIS interval"; + } + enum "ais-interval1s" { + value 4; + description + "Interval of 1s"; + } + enum "ais-interval1m" { + value 6; + description + "Interval of 1 min"; + } + } + description + "CFM AIS intervals"; + } + + typedef Cfm-bag-md-level { + type enumeration { + enum "level0" { + value 0; + description + "CFM level 0"; + } + enum "level1" { + value 1; + description + "CFM level 1"; + } + enum "level2" { + value 2; + description + "CFM level 2"; + } + enum "level3" { + value 3; + description + "CFM level 3"; + } + enum "level4" { + value 4; + description + "CFM level 4"; + } + enum "level5" { + value 5; + description + "CFM level 5"; + } + enum "level6" { + value 6; + description + "CFM level 6"; + } + enum "level7" { + value 7; + description + "CFM level 7"; + } + enum "level-invalid" { + value 8; + description + "Invalid CFM level"; + } + } + description + "CFM level"; + } + + typedef Cfm-bag-direction { + type enumeration { + enum "direction-up" { + value 0; + description + "Up"; + } + enum "direction-down" { + value 1; + description + "Down"; + } + enum "direction-invalid" { + value 2; + description + "Invalid direction"; + } + } + description + "MEP direction"; + } + + typedef Cfm-bag-stp-state { + type enumeration { + enum "stp-up" { + description + "Interface is UP"; + } + enum "stp-blocked" { + description + "Interface is STP-blocked"; + } + enum "stp-unknown" { + description + "Unknown Interface STP state"; + } + } + description + "CFM STP state"; + } + + typedef Cfm-bag-iw-state { + type enumeration { + enum "interworking-up" { + description + "Interface is UP"; + } + enum "interworking-test" { + description + "Interface is in TEST mode"; + } + } + description + "CFM Interworking state"; + } + + grouping CFM-BAG-SMAN-VPNID-NAME { + description + "Short MA Name VPN ID name"; + leaf oui { + type uint32; + description + "VPN authority organizationally-unique ID"; + } + leaf index { + type uint32; + description + "VPN index"; + } + } + + grouping CFM-BAG-SMAN-V2 { + description + "Short MA Name types"; + container vpn-id-name { + when "../short-ma-name-format-value = 'sman-vpn-id'" { + description + "../ShortMANameFormatValue = 'SMAN_VPN_ID'"; + } + description + "VPN ID name"; + uses CFM-BAG-SMAN-VPNID-NAME; + } + leaf short-ma-name-format-value { + type Cfm-bag-sman-fmt; + description + "ShortMANameFormatValue"; + } + leaf vlan-id-name { + when "../short-ma-name-format-value = 'sman-vlan-id'" { + description + "../ShortMANameFormatValue = 'SMAN_VLAN_ID'"; + } + type uint16; + description + "VLAN ID name"; + } + leaf string-name { + when "../short-ma-name-format-value = 'sman-string'" { + description + "../ShortMANameFormatValue = 'SMANString'"; + } + type Cfm-bag-optional-string; + description + "String name"; + } + leaf integer-name { + when "../short-ma-name-format-value = 'sman-uint16'" { + description + "../ShortMANameFormatValue = 'SMAN_UINT16'"; + } + type uint16; + description + "Unsigned integer name"; + } + leaf icc-based { + when "../short-ma-name-format-value = 'sman-icc'" { + description + "../ShortMANameFormatValue = 'SMAN_ICC'"; + } + type Cfm-bag-optional-string; + description + "ICC-based format"; + } + leaf short-ma-name-data { + when "../short-ma-name-format-value = 'sman-unknown'" { + description + "../ShortMANameFormatValue = 'SMANUnknown'"; + } + type Cfm-bag-optional-hex-data; + description + "Hex data"; + } + } + + grouping CFM-BAG-MDID-MAC-NAME { + description + "MDID MAC name"; + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + leaf integer { + type uint16; + description + "Integer"; + } + } + + grouping CFM-BAG-MDID-V2 { + description + "MDID types"; + container mac-name { + when "../mdid-format-value = 'mdid-mac-address'" { + description + "../MDIDFormatValue = 'MDID_MACAddress'"; + } + description + "MAC address name"; + uses CFM-BAG-MDID-MAC-NAME; + } + leaf mdid-format-value { + type Cfm-bag-mdid-fmt; + description + "MDIDFormatValue"; + } + leaf dns-like-name { + when "../mdid-format-value = 'mdid-dns-like'" { + description + "../MDIDFormatValue = 'MDID_DNSLike'"; + } + type Cfm-bag-optional-string; + description + "DNS-like name"; + } + leaf string-name { + when "../mdid-format-value = 'mdid-string'" { + description + "../MDIDFormatValue = 'MDIDString'"; + } + type Cfm-bag-optional-string; + description + "String name"; + } + leaf mdid-data { + when "../mdid-format-value = 'mdid-unknown'" { + description + "../MDIDFormatValue = 'MDIDUnknown'"; + } + type Cfm-bag-optional-hex-data; + description + "Hex data"; + } + } + + grouping CFM-BAG-SAT-PDU-CAPS { + description + "Satellite PDU Capabilities"; + leaf responder { + type boolean; + description + "Responder"; + } + leaf controller { + type boolean; + description + "Controller"; + } + } + + grouping CFM-BAG-SAT-ACCESS-PORT-CAPS { + description + "Satellite access port capabilities"; + container loopback { + description + "Loopback"; + uses CFM-BAG-SAT-PDU-CAPS; + } + container delay-measurement { + description + "Delay Measurement"; + uses CFM-BAG-SAT-PDU-CAPS; + } + container synthetic-loss-measurement { + description + "Synthetic Loss Measurement"; + uses CFM-BAG-SAT-PDU-CAPS; + } + } + + grouping CFM-MA-MEP-ERRORS { + description + "CFM MA MEP Errors"; + container mep { + description + "The MEP that has errors"; + uses CFM-MA-MP; + } + container service-bridge-domain { + description + "BD/XC ID for the MEP's Service, or Service name + if the Service is 'down-only'"; + uses CFM-BAG-BDID; + } + container interface-bridge-domain { + description + "ID of the BD/XC that the MEP's EFP is in, if any"; + uses CFM-BAG-BDID; + } + container satellite-capabilities { + description + "Satellite Capabilities"; + uses CFM-BAG-SAT-ACCESS-PORT-CAPS; + } + leaf ccm-interval { + type Cfm-bag-ccm-interval; + description + "Interval between CCMs sent on this MEP."; + } + leaf no-domain { + type boolean; + description + "The MEP's Domain is not configured"; + } + leaf no-service { + type boolean; + description + "The MEP's Service is not configured"; + } + leaf bridge-domain-mismatch { + type boolean; + description + "The MEP's EFP is not in the Service's Bridge + Domain"; + } + leaf level-conflict { + type boolean; + description + "Another MEP facing in the same direction is at + the same Maintenance Level"; + } + leaf ccm-interval-not-supported { + type boolean; + description + "CCM Interval is less than minimum interval + supported by hardware"; + } + leaf offload-out-of-resources { + type boolean; + description + "Offload resource limits have been exceeded"; + } + leaf offload-multiple-local-mep { + type boolean; + description + "Multiple offloaded MEPs on the same interface + are not supported."; + } + leaf offload-no-cross-check { + type boolean; + description + "The MEP should be offloaded but crosscheck has + not been configured."; + } + leaf offload-multiple-peer-meps { + type boolean; + description + "The MEP should be offloaded but multiple + crosscheck MEPs have been configured, and this + is not supported."; + } + leaf offload-mep-direction-not-supported { + type boolean; + description + "The MEP direction does not support offload."; + } + leaf ais-configured { + type boolean; + description + "AIS is configured on the same interface as the + down MEP"; + } + leaf bundle-level0 { + type boolean; + description + "The MEP is configured in a domain at level 0, on + a bundle interface or sub-interface. This is + not supported"; + } + leaf bridge-domain-not-in-bd-infra { + type boolean; + description + "A BD/XC specified in the MEG config, but it does + not exist globally."; + } + leaf maid-format-not-supported { + type boolean; + description + "The configured MAID format is not supported for + hardware offload."; + } + leaf fatal-offload-error { + type boolean; + description + "The platform returned a fatal error when passed + the offload session."; + } + leaf satellite-limitation { + type boolean; + description + "A satellite limitation is preventing MEP being + offloaded to satellite."; + } + leaf sla-loopback-operations-disabled { + type boolean; + description + "In-progress Ethernet SLA loopback operations are + disabled due to satellite having loopback + responder-only capabilities."; + } + leaf sla-synthetic-loss-operations-disabled { + type boolean; + description + "In-progress Ethernet SLA synthetic loss + measurement operations are disabled due to + satellite having synthetic loss measurement + responder-only capabilities."; + } + leaf sla-delay-measurement-operations-disabled { + type boolean; + description + "In-progress Ethernet SLA delay measurement + operations are disabled due to satellite having + delay measurement responder-only capabilities."; + } + leaf no-valid-mac-address { + type boolean; + description + "The EFP doesn't have a valid MAC address yet. + This will also get set if the MAC address we + have is a multicast address."; + } + leaf no-interface-type { + type boolean; + description + "We haven't yet been able to look up the + interface type to find whether the interface is + a bundle."; + } + leaf not-in-im { + type boolean; + description + "The EFP has been deleted from IM."; + } + leaf no-mlacp { + type boolean; + description + "The EFP is a bundle and the mLACP mode is not + yet known."; + } + leaf satellite-error-string { + type string; + description + "Error string returned from satellite"; + } + leaf satellite-id { + type uint16; + description + "ID of the satellite"; + } + } + + grouping CFM-BAG-BDID { + description + "Bridge domain identifier"; + leaf bridge-domain-id-format { + type Cfm-bag-bdid-fmt; + description + "Bridge domain identifier format"; + } + leaf group { + type string; + description + "Name of the Bridge/XConnect Group"; + } + leaf name { + type string; + description + "Name of the Bridge Domain/XConnect"; + } + leaf ce-id { + type uint16; + description + "Local Customer Edge Identifier (CE-ID)"; + } + leaf remote-ce-id { + type uint16; + description + "Remote Customer Edge Identifier (CE-ID)"; + } + leaf evi { + type uint32; + description + "EVPN ID for VLAN-aware flexible cross-connects"; + } + } + + grouping CFM-MA-MP { + description + "CFM MA Maintenance Point"; + leaf domain-name { + type string; + description + "Domain name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Domain level"; + } + leaf service-name { + type string; + description + "Service name"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf maintenance-point-type { + type Cfm-ma-mp-variety; + description + "Type of Maintenance Point"; + } + leaf mep-id { + type uint16; + description + "MEP ID"; + } + } + + grouping CFM-MA-MP-BRIEF { + description + "CFM MA Maintenance Point Information"; + container maintenance-point { + description + "Maintenance Point"; + uses CFM-MA-MP; + } + leaf mep-has-error { + type boolean; + description + "MEP error flag"; + } + leaf mac-address { + type Mac-address; + description + "MAC Address"; + } + } + + grouping CFM-MA-SUMMARY { + description + "CFM MA Summary Information"; + leaf domains { + type uint32; + description + "The number of domains in the CFM database."; + } + leaf services { + type uint32; + description + "The number of services in the CFM database."; + } + leaf ccm-rate { + type uint32; + description + "The combined rate of CCMs on this card."; + } + leaf local-meps { + type uint32; + description + "The number of local MEPs in the CFM database."; + } + leaf operational-local-meps { + type uint32; + description + "The number of operational local MEPs."; + } + leaf down-meps { + type uint32; + description + "The number of down-MEPs."; + } + leaf up-meps { + type uint32; + description + "The number of up-MEPs."; + } + leaf offloaded { + type uint32; + description + "The number of MEPs for which CCM processing has + been offloaded."; + } + leaf offloaded-at3-3ms { + type uint32; + description + "The number of MEPs offloaded with CCMs at 3.3ms + intervals."; + } + leaf offloaded-at10ms { + type uint32; + description + "The number of MEPs offloaded with CCMs at 10ms + intervals."; + } + leaf disabled-misconfigured { + type uint32; + description + "The number of local MEPs disabled due to + configuration errors."; + } + leaf disabled-out-of-resources { + type uint32; + description + "The number of local MEPs disabled due to lack of + resources."; + } + leaf disabled-operational-error { + type uint32; + description + "The number of local MEPs disabled due to + operational errors."; + } + leaf peer-meps { + type uint32; + description + "The number of peer MEPs."; + } + leaf operational-peer-meps { + type uint32; + description + "The number of operational peer MEPs recorded in + the CFM database."; + } + leaf peer-meps-with-defects { + type uint32; + description + "The number of peer MEPs with defects."; + } + leaf peer-meps-without-defects { + type uint32; + description + "The number of peer MEPs without defects."; + } + leaf peer-meps-timed-out { + type uint32; + description + "The number of peer MEPs that have timed out."; + } + leaf mips { + type uint32; + description + "The number of MIPs"; + } + leaf interfaces { + type uint32; + description + "The number of interfaces running CFM."; + } + leaf bridge-domains-and-xconnects { + type uint32; + description + "Number or bridge domains and crossconnects."; + } + leaf traceroute-cache-entries { + type uint32; + description + "Number of traceroute cache entries."; + } + leaf traceroute-cache-replies { + type uint32; + description + "Number of traceroute cache replies."; + } + leaf ccm-learning-db-entries { + type uint32; + description + "Number of entries in the CCM learning database."; + } + leaf issu-role { + type Cfm-bag-issu-role; + description + "ISSU Role of CFM-D, if any."; + } + leaf bnm-enabled-links { + type uint32; + description + "Number of BNM Enabled Links"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang new file mode 100644 index 0000000..3903f3e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper-sub4.yang @@ -0,0 +1,69 @@ +submodule Cisco-IOS-XR-ethernet-cfm-oper-sub4 { + belongs-to Cisco-IOS-XR-ethernet-cfm-oper { + prefix Cisco-IOS-XR-ethernet-cfm-oper; + } + + include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CGM-CFG-ERRORS { + description + "CFM Global Manager Service Error Information"; + container bridge-domain-id { + description + "BD/XC ID, or Service name if the Service is + 'down-only'"; + uses CFM-BAG-BDID; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf level { + type Cfm-bag-md-level; + description + "Level"; + } + leaf service-name { + type string; + description + "Service name"; + } + leaf bridge-domain-is-configured { + type boolean; + description + "The BD/XC is configured globally"; + } + leaf l2-fib-download-error { + type boolean; + description + "The BD/XC could not be downloaded to L2FIB"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper.yang new file mode 100644 index 0000000..714f519 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-oper.yang @@ -0,0 +1,710 @@ +module Cisco-IOS-XR-ethernet-cfm-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-oper"; + prefix ethernet-cfm-oper; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ethernet-cfm-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-infra-sla-oper { + prefix a1; + } + include Cisco-IOS-XR-ethernet-cfm-oper-sub4 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ethernet-cfm-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ethernet-cfm-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm package operational data. + + This module contains definitions + for the following management objects: + cfm: CFM operational data + + This YANG module augments the + Cisco-IOS-XR-infra-sla-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Cfm-ais-dir { + type enumeration { + enum "up" { + value 0; + description + "Packets sent inward"; + } + enum "down" { + value 1; + description + "Packets sent outward"; + } + } + description + "Cfm ais dir"; + } + + augment "/a1:sla/a1:protocols" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-infra-sla-oper'"; + container ethernet { + description + "The Ethernet SLA protocol"; + container statistics-on-demand-currents { + description + "Table of current statistics for SLA on-demand + operations"; + list statistics-on-demand-current { + description + "Current statistics data for an SLA on-demand + operation"; + leaf operation-id { + type uint32 { + range "1..4294967295"; + } + description + "Operation ID"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION-STATISTICS; + } + } + container operations { + description + "Table of SLA operations"; + list operation { + description + "SLA operation to get operation data for"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile Name"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION; + } + } + container statistics-historicals { + description + "Table of historical statistics for SLA + operations"; + list statistics-historical { + description + "Historical statistics data for an SLA + configured operation"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile Name"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION-STATISTICS; + } + } + container statistics-on-demand-historicals { + description + "Table of historical statistics for SLA + on-demand operations"; + list statistics-on-demand-historical { + description + "Historical statistics data for an SLA + on-demand operation"; + leaf operation-id { + type uint32 { + range "1..4294967295"; + } + description + "Operation ID"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION-STATISTICS; + } + } + container config-errors { + description + "Table of SLA configuration errors on configured + operations"; + list config-error { + description + "SLA operation to get configuration errors data + for"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile Name"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191"; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format"; + } + uses SLA-OPER-CONFIG-ERRORS; + } + } + container on-demand-operations { + description + "Table of SLA on-demand operations"; + list on-demand-operation { + description + "SLA on-demand operation to get operation data + for"; + leaf operation-id { + type uint32 { + range "1..4294967295"; + } + description + "Operation ID"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION; + } + } + container statistics-currents { + description + "Table of current statistics for SLA operations"; + list statistics-current { + description + "Current statistics data for an SLA configured + operation"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile Name"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf mep-id { + type uint32 { + range "1..8191"; + } + description + "MEP ID in the range 1 to 8191. Either MEP ID + or MAC address must be specified."; + } + leaf mac-address { + type yang:mac-address; + description + "Unicast MAC Address in xxxx.xxxx.xxxx format. + Either MEP ID or MAC address must be + specified."; + } + uses SLA-OPER-OPERATION-STATISTICS; + } + } + } + } + container cfm { + config false; + description + "CFM operational data"; + container nodes { + description + "Node table for node-specific operational data"; + list node { + key "node"; + description + "Node-specific data for a particular node"; + container interface-aises { + description + "Interface AIS table"; + list interface-ais { + key "interface-name direction"; + description + "AIS statistics for a particular interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf direction { + type Cfm-ais-dir; + description + "AIS Direction"; + } + uses CFM-PM-EFP-AIS-BAG; + } + } + container interface-statistics { + description + "Interface Statistics table"; + list interface-statistic { + key "interface"; + description + "Counters for a particular interface"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses CFM-PM-EFP-STATS-BAG; + } + } + container summary { + description + "Summary"; + uses CFM-MA-SUMMARY; + } + container ccm-learning-databases { + description + "CCMLearningDatabase table"; + list ccm-learning-database { + key "domain service mac-address"; + description + "CCM Learning Database entry"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses CFM-PM-CLDB-BAG; + } + } + leaf node { + type xr:Node-id; + description + "Node"; + } + } + } + container global { + description + "Global operational data"; + container incomplete-traceroutes { + description + "Incomplete Traceroute table"; + list incomplete-traceroute { + key "domain service mep-id interface transaction-id"; + description + "Information about a traceroute operation that + has not yet timed out"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf transaction-id { + type int32; + description + "Transaction ID"; + } + uses CFM-PM-MEP-INCOMPLETE-TR-BAG; + } + } + container maintenance-points { + description + "Maintenance Points table"; + list maintenance-point { + key "domain service interface"; + description + "Information about a particular Maintenance + Point"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses CFM-MA-MP-BRIEF; + } + } + container global-configuration-errors { + description + "Global configuration errors table"; + list global-configuration-error { + key "domain service"; + description + "Information about a particular configuration + error"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + uses CGM-CFG-ERRORS; + } + } + container mep-configuration-errors { + description + "MEP configuration errors table"; + list mep-configuration-error { + key "domain service interface"; + description + "Information about a particular configuration + error"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses CFM-MA-MEP-ERRORS; + } + } + container traceroute-caches { + description + "Traceroute Cache table"; + list traceroute-cache { + key "domain service mep-id interface transaction-id"; + description + "Information about a particular traceroute + operation"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf transaction-id { + type int32; + description + "Transaction ID"; + } + uses CFM-PM-MEP-TR-CACHE-BAG; + } + } + container local-meps { + description + "Local MEPs table"; + list local-mep { + key "domain service mep-id interface"; + description + "Information about a particular local MEP"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses CFM-PM-MEP-STATS-BAG; + } + } + container peer-me-pv2s { + description + "Peer MEPs table Version 2"; + list peer-me-pv2 { + key "domain service local-mep-id interface peer-mep-id peer-mac-address"; + description + "Information about a peer MEP for a particular + local MEP"; + leaf domain { + type string { + length "1..79"; + } + description + "Maintenance Domain"; + } + leaf service { + type string { + length "1..79"; + } + description + "Service (Maintenance Association)"; + } + leaf local-mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID of Local MEP"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf peer-mep-id { + type dt1:Cfm-mep-id; + description + "MEP ID of Peer MEP"; + } + leaf peer-mac-address { + type yang:mac-address; + description + "Peer MAC address"; + } + uses CFM-PM-REMOTE-MEPS-V2-BAG; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang new file mode 100644 index 0000000..bdc49ec --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-cfm-sat-cfg.yang @@ -0,0 +1,76 @@ +module Cisco-IOS-XR-ethernet-cfm-sat-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-cfm-sat-cfg"; + prefix ethernet-cfm-sat-cfg; + + import Cisco-IOS-XR-ethernet-cfm-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2-eth-infra-cfg { + prefix a2; + } + import Cisco-IOS-XR-icpe-infra-cfg { + prefix a3; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-cfm-sat package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2-eth-infra-cfg, + Cisco-IOS-XR-icpe-infra-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration/a3:nv-satellite-fabric-link" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-icpe-infra-cfg'"; + container ethernet-features { + description + "Ethernet Satellite configuration"; + container cfm { + description + "CFM Satellite configuration"; + leaf continuity-check-interval { + type dt1:Cfm-ccm-interval; + description + "Continuity-Check Interval"; + } + leaf level { + type dt1:Cfm-level; + description + "Maintenance Domain Level"; + } + leaf enable { + type empty; + description + "Enable CFM on Satellite"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-cfg.yang new file mode 100644 index 0000000..d9190ac --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-cfg.yang @@ -0,0 +1,822 @@ +module Cisco-IOS-XR-ethernet-link-oam-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg"; + prefix ethernet-link-oam-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2-eth-infra-cfg { + prefix a2; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a3; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-link-oam package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg, + Cisco-IOS-XR-l2-eth-infra-cfg, + Cisco-IOS-XR-ifmgr-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ether-link-oam-threshold-window-multiplier-enum { + type enumeration { + enum "none" { + value 0; + description + "Do not use a multiplier"; + } + enum "thousand" { + value 1; + description + "Use multiplier of 1000"; + } + enum "million" { + value 2; + description + "Use multiplier of 1,000,000"; + } + enum "billion" { + value 3; + description + "Use multiplier of 1,000,000,000"; + } + } + description + "Ether link oam threshold window multiplier enum"; + } + + typedef Ether-link-oam-threshold-units-frames-enum { + type enumeration { + enum "frames" { + value 3; + description + "Define threshold in frames"; + } + enum "ppm" { + value 4; + description + "Define threshold in parts per million"; + } + } + description + "Ether link oam threshold units frames enum"; + } + + typedef Ether-link-oam-threshold-units-symbols-enum { + type enumeration { + enum "symbols" { + value 2; + description + "Define threshold in symbols"; + } + enum "ppm" { + value 4; + description + "Define threshold in parts per million"; + } + } + description + "Ether link oam threshold units symbols enum"; + } + + typedef Ether-link-oam-window-units-symbols-enum { + type enumeration { + enum "milliseconds" { + value 1; + description + "Define window in milliseconds"; + } + enum "symbols" { + value 2; + description + "Define window in symbols"; + } + } + description + "Ether link oam window units symbols enum"; + } + + typedef Ether-link-oam-window-units-frames-enum { + type enumeration { + enum "milliseconds" { + value 1; + description + "Define window in milliseconds"; + } + enum "frames" { + value 3; + description + "Define window in frames"; + } + } + description + "Ether link oam window units frames enum"; + } + + typedef Ether-link-oam-require-mode-enum { + type enumeration { + enum "passive" { + value 0; + description + "Ethernet Link OAM Passive mode"; + } + enum "active" { + value 1; + description + "Ethernet Link OAM Active mode"; + } + enum "dont-care" { + value 2; + description + "Ethernet Link OAM mode not required"; + } + } + description + "Ether link oam require mode enum"; + } + + typedef Ether-link-oam-event-action-enum-efd { + type enumeration { + enum "disable" { + value 1; + description + "Perform no action"; + } + enum "error-disable" { + value 2; + description + "Disable the interface"; + } + enum "log" { + value 3; + description + "Log the event"; + } + enum "efd" { + value 4; + description + "EFD the interface"; + } + } + description + "Ether link oam event action enum efd"; + } + + typedef Ether-link-oam-event-action-prim-enum { + type enumeration { + enum "disable" { + value 1; + description + "Perform no action"; + } + enum "log" { + value 3; + description + "Log the event"; + } + } + description + "Ether link oam event action prim enum"; + } + + typedef Ether-link-oam-mode-enum { + type enumeration { + enum "passive" { + value 0; + description + "Ethernet Link OAM Passive mode"; + } + enum "active" { + value 1; + description + "Ethernet Link OAM Active mode"; + } + } + description + "Ether link oam mode enum"; + } + + typedef Ether-link-oam-event-action-enum { + type enumeration { + enum "disable" { + value 1; + description + "Perform no action"; + } + enum "error-disable" { + value 2; + description + "Disable the interface"; + } + enum "log" { + value 3; + description + "Log the event"; + } + } + description + "Ether link oam event action enum"; + } + + typedef Ether-link-oam-hello-interval-enum { + type enumeration { + enum "1s" { + value 0; + description + "1 s OAM hello interval"; + } + enum "100ms" { + value 1; + description + "100 ms OAM hello interval"; + } + } + description + "Ether link oam hello interval enum"; + } + + grouping LINK-MONITORING { + description + "Common node of profile, ether-link-oam"; + container link-monitoring { + description + "Configure link monitor parameters"; + container symbol-period { + description + "Symbol-period event configuration"; + container window { + presence "Indicates a window node is configured."; + description + "Window size configuration for symbol-period + events"; + leaf window { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Size of the symbol-period window"; + } + leaf units { + type Ether-link-oam-window-units-symbols-enum; + mandatory true; + description + "Units to use for this window"; + } + leaf multiplier { + type Ether-link-oam-threshold-window-multiplier-enum; + default "none"; + description + "The multiplier to use for this window (only + valid if 'Units' is Symbols and treated as 1 + if unspecified)"; + } + } + container threshold { + description + "Threshold configuration for symbol-period + events"; + leaf threshold-low { + type uint32 { + range "1..4294967295"; + } + must "../units"; + default "1"; + description + "The low threshold for symbol-period"; + } + leaf threshold-high { + type uint32 { + range "1..4294967295"; + } + must "../units"; + description + "The high threshold for symbol-period"; + } + leaf units { + type Ether-link-oam-threshold-units-symbols-enum; + must "../threshold-low or ../threshold-high"; + default "symbols"; + description + "The units to use for these thresholds"; + } + leaf multiplier-low { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-low and ../units"; + default "none"; + description + "The multiplier to use for the low threshold + (only valid if 'Units' is Symbols and treated + as 1 if unspecified)"; + } + leaf multiplier-high { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-high and ../units"; + description + "The multiplier to use for the high threshold + (only valid if 'Units' is Symbols and treated + as 1 if unspecified)"; + } + } + } + container frame-period { + description + "Frame-period event configuration"; + container window { + presence "Indicates a window node is configured."; + description + "Window size configuration for frame-period + events"; + leaf window { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Size of the frame-period window"; + } + leaf units { + type Ether-link-oam-window-units-frames-enum; + mandatory true; + description + "The units to use for this window"; + } + leaf multiplier { + type Ether-link-oam-threshold-window-multiplier-enum; + default "none"; + description + "The multiplier to use for this window (only + valid if 'Units' is Frames and treated as 1 + if unspecified)"; + } + } + container threshold { + description + "Threshold configuration for frame-period + events"; + leaf threshold-low { + type uint32 { + range "1..4294967295"; + } + must "../units"; + default "1"; + description + "The low threshold for frame-period events"; + } + leaf threshold-high { + type uint32 { + range "1..4294967295"; + } + must "../units"; + description + "The high threshold for frame-period events"; + } + leaf units { + type Ether-link-oam-threshold-units-frames-enum; + must "../threshold-low or ../threshold-high"; + default "ppm"; + description + "The units to use for these thresholds"; + } + leaf multiplier-low { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-low and ../units"; + default "none"; + description + "The multiplier to use for the low threshold + (only valid if 'Units' is Frames and treated + as 1 if unspecified)"; + } + leaf multiplier-high { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-high and ../units"; + description + "The multiplier to use for the high threshold + (only valid if 'Units' is Frames and treated + as 1 if unspecified)"; + } + } + } + container frame-seconds { + description + "Frame-seconds event configuration"; + container threshold { + description + "Threshold configuration for frame-seconds + events"; + leaf threshold-low { + type uint32 { + range "1..900"; + } + units "second"; + default "1"; + description + "The low threshold for frame-seconds events"; + } + leaf threshold-high { + type uint32 { + range "1..900"; + } + units "second"; + description + "The high threshold for frame-seconds events"; + } + } + leaf window { + type uint32 { + range "10000..900000"; + } + units "millisecond"; + default "60000"; + description + "Window size configuration for frame-seconds + events"; + } + } + container frame { + description + "Frame event configuration"; + container threshold { + description + "Threshold configuration for frame events"; + leaf threshold-low { + type uint32 { + range "1..4294967295"; + } + default "1"; + description + "The low threshold for frame events"; + } + leaf threshold-high { + type uint32 { + range "1..4294967295"; + } + description + "The high threshold for frame events"; + } + leaf multiplier-low { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-low"; + default "none"; + description + "The multiplier to use for the low threshold + (treated as 1 if unspecified)"; + } + leaf multiplier-high { + type Ether-link-oam-threshold-window-multiplier-enum; + must "../threshold-high"; + description + "The multiplier to use for the high threshold + (treated as 1 if unspecified)"; + } + } + leaf window { + type uint32 { + range "1000..60000"; + } + units "millisecond"; + default "1000"; + description + "Window size configuration for frame events"; + } + } + leaf monitoring { + type boolean; + description + "Enable or disable monitoring"; + } + } + } + + augment "/a3:interface-configurations/a3:interface-configuration/a2:ethernet-features" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2-eth-infra-cfg'"; + leaf ether-link-oam-enable { + type empty; + description + "Enable Ethernet Link OAM on the interface"; + } + } + augment "/a3:interface-configurations/a3:interface-configuration/a2:ethernet-features" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2-eth-infra-cfg'"; + container ether-link-oam { + description + "Ethernet Link OAM Interface Configuration"; + container action { + description + "Configure action parameters"; + leaf dying-gasp { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a dying gasp occurs"; + } + leaf link-fault { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a link fault occurs"; + } + leaf capabilities-conflict { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a capabilities conflict + occurs"; + } + leaf session-up { + type Ether-link-oam-event-action-prim-enum; + description + "Action to perform when a session comes up"; + } + leaf critical-event { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a critical event occurs"; + } + leaf remote-loopback { + type Ether-link-oam-event-action-prim-enum; + description + "Action to perform when remote loopback is + entered or exited"; + } + leaf wiring-conflict { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a wiring conflict + occurs"; + } + leaf high-threshold { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a high-threshold event + occurs"; + } + leaf discovery-timeout { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when discovery timeout + occurs"; + } + leaf session-down { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a session comes down"; + } + } + container require-remote { + description + "Configure remote requirement parameters"; + leaf mode { + type Ether-link-oam-require-mode-enum; + description + "Possible required peer modes"; + } + leaf mib-retrieval { + type boolean; + description + "Enable or disable MIB retrieval peer + requirement"; + } + leaf remote-loopback { + type boolean; + description + "Enable or disable remote loopback peer + requirement"; + } + leaf link-monitoring { + type boolean; + description + "Enable or disable link monitoring peer + requirement"; + } + } + leaf timeout { + type uint32 { + range "2..30"; + } + description + "Connection timeout period in number of lost + heartbeats"; + } + leaf mode { + type Ether-link-oam-mode-enum; + description + "Possible Ethernet Link OAM modes"; + } + leaf mib-retrieval { + type boolean; + description + "Enable or disable MIB retrieval"; + } + leaf profile-name { + type string; + description + "Set the profile to use on the interface"; + } + leaf remote-loopback { + type boolean; + description + "Enable or disable remote loopback"; + } + leaf hello-interval { + type Ether-link-oam-hello-interval-enum; + description + "Possible Ethernet Link OAM hello intervals"; + } + leaf udlf { + type boolean; + description + "Enable or disable uni-directional link-fault + detection"; + } + uses LINK-MONITORING; + } + } + augment "/a2:ethernet-features" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2-eth-infra-cfg'"; + container ether-link-oam { + description + "Ethernet Link OAM Global Configuration"; + container profiles { + description + "Table of Ethernet Link OAM profiles"; + list profile { + key "profile"; + description + "Name of the profile"; + container action { + description + "Configure action parameters"; + leaf dying-gasp { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a dying gasp occurs"; + } + leaf session-up { + type Ether-link-oam-event-action-prim-enum; + description + "Action to perform when a session comes up"; + } + leaf critical-event { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a critical event + occurs"; + } + leaf session-down { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a session goes down"; + } + leaf discovery-timeout { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when discovery timeout + occurs"; + } + leaf high-threshold { + type Ether-link-oam-event-action-enum; + description + "Action to perform when a high-threshold + event occurs"; + } + leaf capabilities-conflict { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a capabilities + conflict occurs"; + } + leaf remote-loopback { + type Ether-link-oam-event-action-prim-enum; + description + "Action to perform when remote loopback is + entered or exited"; + } + leaf link-fault { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a link fault message + is received"; + } + leaf wiring-conflict { + type Ether-link-oam-event-action-enum-efd; + description + "Action to perform when a wiring conflict + occurs"; + } + } + container require-remote { + description + "Configure remote requirement parameters"; + leaf mib-retrieval { + type boolean; + description + "Enable or disable MIB retrieval requirement"; + } + leaf mode { + type Ether-link-oam-require-mode-enum; + description + "Possible required OAM modes"; + } + leaf remote-loopback { + type boolean; + description + "Enable or disable remote loopback + requirement"; + } + leaf link-monitoring { + type boolean; + description + "Enable or disable link monitoring + requirement"; + } + } + leaf mib-retrieval { + type boolean; + description + "Enable or disable MIB retrieval support"; + } + leaf udlf { + type boolean; + description + "Enable or disable uni-directional link-fault + detection support"; + } + leaf hello-interval { + type Ether-link-oam-hello-interval-enum; + description + "Possible Ethernet Link OAM hello intervals"; + } + leaf mode { + type Ether-link-oam-mode-enum; + description + "Set the OAM mode to passive"; + } + leaf remote-loopback { + type boolean; + description + "Enable or disable remote loopback support"; + } + leaf timeout { + type uint32 { + range "2..30"; + } + description + "Connection timeout period in number of lost + heartbeats"; + } + leaf profile { + type xr:Cisco-ios-xr-string; + description + "none"; + } + uses LINK-MONITORING; + } + } + } + } + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container oam { + description + "802.3 OAM MIB notification configuration"; + leaf enable { + type empty; + description + "Enable 802.3 OAM MIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang new file mode 100644 index 0000000..7413467 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper-sub1.yang @@ -0,0 +1,1479 @@ +submodule Cisco-IOS-XR-ethernet-link-oam-oper-sub1 { + belongs-to Cisco-IOS-XR-ethernet-link-oam-oper { + prefix Cisco-IOS-XR-ethernet-link-oam-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-link-oam package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Log-location { + type enumeration { + enum "log-location-local" { + value 1; + description + "A local event"; + } + enum "log-location-remote" { + value 2; + description + "A remote event"; + } + } + description + "The location of the event that caused a log entry"; + } + + typedef Log { + type enumeration { + enum "log-type-symbol-event" { + value 1; + description + "Log entry for an errored symbol event"; + } + enum "log-type-period-event" { + value 2; + description + "Log entry for an errored frame period event"; + } + enum "log-type-frame-event" { + value 3; + description + "Log entry for an errored frame event"; + } + enum "log-type-secs-event" { + value 4; + description + "Log entry for an errored frame seconds summary + event"; + } + enum "log-type-link-fault" { + value 256; + description + "Log entry for a link fault"; + } + enum "log-type-dying-gasp" { + value 257; + description + "Log entry for a dying gasp"; + } + enum "log-type-critical-event" { + value 258; + description + "Log entry for a critical event"; + } + } + description + "The type of a log entry"; + } + + typedef Action { + type enumeration { + enum "no-action" { + value 1; + description + "Disabled (do nothing)"; + } + enum "disable-interface" { + value 2; + description + "Disable the interface"; + } + enum "log" { + value 3; + description + "Log the event and do nothing else"; + } + enum "efd" { + value 4; + description + "EFD the interface"; + } + } + description + "Actions supported by an OAM interface"; + } + + typedef Protocol-state { + type enumeration { + enum "protocol-state-inactive" { + value 0; + description + "The protocol is in the INACTIVE state"; + } + enum "protocol-state-fault" { + value 1; + description + "The protocol is in the FAULT state"; + } + enum "protocol-state-active-send-local" { + value 2; + description + "The protocol is in the ACTIVE_SEND_LOCAL state"; + } + enum "protocol-state-passive-wait" { + value 3; + description + "The protocol is in the SEND_LOCAL_REMOTE state"; + } + enum "protocol-state-send-local-remote" { + value 4; + description + "The protocol is in the LOCAL_REMOTE state"; + } + enum "protocol-state-send-local-remote-ok" { + value 5; + description + "The protocol is in the LOCAL_REMOTE_OK state"; + } + enum "protocol-state-send-any" { + value 6; + description + "The protocol is in the SEND_ANY state"; + } + } + description + "The state the protocol is in"; + } + + typedef Mode { + type enumeration { + enum "passive" { + value 0; + description + "Passive mode"; + } + enum "active" { + value 1; + description + "Active mode"; + } + enum "dont-care" { + value 2; + description + "Don't care what the mode is"; + } + } + description + "Mode of an OAM interface"; + } + + typedef Loopback-status { + type enumeration { + enum "none" { + value 1; + description + "Loopback is not being performed"; + } + enum "initiating" { + value 2; + description + "Initiating master loopback"; + } + enum "master-loopback" { + value 3; + description + "In master loopback mode"; + } + enum "terminating" { + value 4; + description + "Terminating master loopback mode"; + } + enum "local-loopback" { + value 5; + description + "In slave loopback mode"; + } + enum "unknown" { + value 6; + description + "Parser and multiplexer combination unexpected"; + } + } + description + "The loopback mode of an OAM interface"; + } + + typedef Operational-state { + type enumeration { + enum "disabled" { + value 1; + description + "802.3 OAM is disabled"; + } + enum "link-fault" { + value 2; + description + "802.3 OAM has encountered a link fault"; + } + enum "passive-wait" { + value 3; + description + "Passive OAM entity waiting to see if peer is + OAM capable"; + } + enum "active-send-local" { + value 4; + description + "Active OAM entity trying to determine if peer + is OAM capable"; + } + enum "send-local-and-remote" { + value 5; + description + "OAM discovered peer but still to accept or + reject peer config"; + } + enum "send-local-and-remote-ok" { + value 6; + description + "OAM peering is allowed by local device"; + } + enum "peering-locally-rejected" { + value 7; + description + "OAM peering rejected by local device"; + } + enum "peering-remotely-rejected" { + value 8; + description + "OAM peering rejected by remote device"; + } + enum "operational" { + value 9; + description + "802.3 OAM is operational"; + } + enum "operational-half-duplex" { + value 10; + description + "802.3 OAM is operating in half-duplex mode"; + } + } + description + "Operational state of an interface"; + } + + grouping ELOD-STATS { + description + "Statistics for an 802.3 OAM interface"; + leaf information-tx { + type uint32; + description + "Number of information OAMPDUs transmitted"; + } + leaf information-rx { + type uint32; + description + "Number of information OAMPDUs received"; + } + leaf unique-event-notification-tx { + type uint32; + description + "Number of unique event notification OAMPDUs + transmitted"; + } + leaf unique-event-notification-rx { + type uint32; + description + "Number of unique event notification OAMPDUs + received"; + } + leaf duplicate-event-notification-tx { + type uint32; + description + "Number of duplicate event notification OAMPDUs + transmitted"; + } + leaf duplicate-event-notification-rx { + type uint32; + description + "Number of duplicate event notification OAMPDUs + received"; + } + leaf loopback-control-tx { + type uint32; + description + "Number of loopback control OAMPDUs transmitted"; + } + leaf loopback-control-rx { + type uint32; + description + "Number of loopback control OAMPDUs received"; + } + leaf variable-request-tx { + type uint32; + description + "Number of variable request OAMPDUs transmitted"; + } + leaf variable-request-rx { + type uint32; + description + "Number of variable request OAMPDUs received"; + } + leaf variable-response-tx { + type uint32; + description + "Number of variable response OAMPDUs transmitted"; + } + leaf variable-response-rx { + type uint32; + description + "Number of variable response OAMPDUs received"; + } + leaf org-specific-tx { + type uint32; + description + "Number of organization specific OAMPDUs + transmitted"; + } + leaf org-specific-rx { + type uint32; + description + "Number of organization specific OAMPDUs received"; + } + leaf unsupported-codes-tx { + type uint32; + description + "Number of OAMPDUs with unsupported codes + transmitted"; + } + leaf unsupported-codes-rx { + type uint32; + description + "Number of OAMPDUs with unsupported codes + received"; + } + leaf frames-lost-due-to-oam { + type uint32; + description + "Number of frames lost due to OAM"; + } + leaf fixed-frames-rx { + type uint32; + description + "Number of RX frames 'fixed' by OAM"; + } + leaf local-error-symbol-period-records { + type uint32; + description + "Number of local error symbol period records"; + } + leaf local-error-frame-records { + type uint32; + description + "Number of local error frame records"; + } + leaf local-error-frame-period-records { + type uint32; + description + "Number of local error frame period records"; + } + leaf local-error-frame-second-records { + type uint32; + description + "Number of local error frame second records"; + } + leaf remote-error-symbol-period-records { + type uint32; + description + "Number of remote error symbol period records"; + } + leaf remote-error-frame-records { + type uint32; + description + "Number of remote error frame records"; + } + leaf remote-error-frame-period-records { + type uint32; + description + "Number of remote error frame period records"; + } + leaf remote-error-frame-second-records { + type uint32; + description + "Number of remote error frame second records"; + } + } + + grouping ELOD-LOG-ENTRY { + description + "A single log entry"; + leaf index { + type uint32; + description + "Index in the log entries table"; + } + leaf handle { + type xr:Interface-name; + description + "Interface handle for this log entry"; + } + leaf oui { + type yang:hex-string; + description + "OUI for the log entry"; + } + leaf timestamp { + type uint64; + description + "Timestamp in hundredths of a second since unix + epoch for when the event occurred"; + } + leaf type { + type Log; + description + "Type of event that this entry describes"; + } + leaf location { + type Log-location; + description + "Where the event occurred"; + } + leaf event-total { + type uint32; + description + "Total number of times event has occurred"; + } + leaf action-taken { + type Action; + description + "Local action taken (If applicable)"; + } + leaf window { + type uint64; + description + "Size of the window (If applicable)"; + } + leaf threshold { + type uint64; + description + "Size of the threshold (If applicable)"; + } + leaf local-high-threshold { + type uint64; + description + "Size of the local high threshold (If applicable) + . For remote threshold events this is scaled for + comparison with the Breaching Value. This is to + account for different local and remote window + sizes."; + } + leaf value { + type uint64; + description + "Breaching value (If applicable)"; + } + leaf running-total { + type uint64; + description + "The running total number of errors seen since + OAM was enabled on the interface(If applicable)"; + } + leaf window-config-units { + type uint64; + description + "The window in the units that are currently + configured"; + } + leaf window-units { + type uint8; + description + "The units in which the window size is configured + ."; + } + leaf threshold-config-units { + type uint64; + description + "The threshold in the units that are currently + configured"; + } + leaf threshold-units { + type uint8; + description + "The units in which the threshold size is + configured."; + } + leaf local-high-threshold-config-units { + type uint64; + description + "The local high threshold in the units that are + currently configured"; + } + leaf value-config-units { + type uint64; + description + "The breaching value in the units that are + currently configured"; + } + } + + grouping ELOD-SUMMARY-INFO { + description + "Summary information for all 802.3 OAM sessions on + a node"; + leaf interfaces { + type uint32; + description + "The number of interfaces with 802.3 OAM + configured"; + } + leaf port-down { + type uint32; + description + "The number of interfaces in 'Port Down' state"; + } + leaf passive-wait { + type uint32; + description + "The number of interfaces in 'Passive Wait' state"; + } + leaf active-send { + type uint32; + description + "The number of interfaces in 'Active Send' state"; + } + leaf evaluating { + type uint32; + description + "The number of interfaces in 'Evaluating' state"; + } + leaf local-accept { + type uint32; + description + "The number of interfaces in 'Local Accept' state"; + } + leaf local-reject { + type uint32; + description + "The number of interfaces in 'Local Reject' state"; + } + leaf remote-reject { + type uint32; + description + "The number of interfaces in 'Remote Reject' + state"; + } + leaf operational { + type uint32; + description + "The number of interfaces in 'Operational' state"; + } + leaf loopback-mode { + type uint32; + description + "The number of interfaces in loopback mode"; + } + leaf miswired-connections { + type uint32; + description + "The number of miswired connections"; + } + leaf events { + type uint64; + description + "The number of events recorded"; + } + leaf local-events { + type uint64; + description + "The number of local events recorded"; + } + leaf local-symbol-period { + type uint64; + description + "The number of local symbol period events + recorded"; + } + leaf local-frame { + type uint64; + description + "The mumber of local frame error events recorded"; + } + leaf local-frame-period { + type uint64; + description + "The number of local frame period events recorded"; + } + leaf local-frame-seconds { + type uint64; + description + "The number of local frame second events recoded"; + } + leaf remote-events { + type uint64; + description + "The number of remote events recorded"; + } + leaf remote-symbol-period { + type uint64; + description + "The number of remote symbol period events + recorded"; + } + leaf remote-frame { + type uint64; + description + "The mumber of remote frame error events recorded"; + } + leaf remote-frame-period { + type uint64; + description + "The number of remote frame period events + recorded"; + } + leaf remote-frame-seconds { + type uint64; + description + "The number of remote frame second events recoded"; + } + } + + grouping ELOD-RUNNING-CONFIG { + description + "The configuration currently running on an + interface"; + leaf fast-hello-interval-enabled { + type boolean; + description + "Is 100ms hello interval time enabled?"; + } + leaf link-monitor-enabled { + type boolean; + description + "Is link monitoring enabled?"; + } + leaf remote-loopback-enabled { + type boolean; + description + "Is remote loopback enabled?"; + } + leaf mib-retrieval-enabled { + type boolean; + description + "Is MIB retrieval enabled?"; + } + leaf udlf-enabled { + type boolean; + description + "Is uni-directional link-fault detection enabled?"; + } + leaf mode { + type Mode; + description + "Configured mode"; + } + leaf connection-timeout { + type uint8; + description + "Connection timeout"; + } + leaf symbol-period-window { + type uint32; + description + "Symbol period event window size"; + } + leaf symbol-period-window-units { + type uint8; + description + "Symbol period event window units"; + } + leaf symbol-period-window-multiplier { + type uint8; + description + "Symbol period event window multiplier"; + } + leaf symbol-period-threshold-low { + type uint64; + description + "Symbol period event low threshold"; + } + leaf symbol-period-threshold-high { + type uint64; + description + "Symbol period event high threshold"; + } + leaf symbol-period-threshold-units { + type uint8; + description + "Symbol period event threshold units"; + } + leaf symbol-period-threshold-low-multiplier { + type uint8; + description + "Symbol period event threshold low multiplier"; + } + leaf symbol-period-threshold-high-multiplier { + type uint8; + description + "Symbol period event threshold high multiplier"; + } + leaf frame-window { + type uint32; + description + "Frame event window size"; + } + leaf frame-threshold-low { + type uint64; + description + "Frame event low threshold"; + } + leaf frame-threshold-high { + type uint64; + description + "Frame event high threshold"; + } + leaf frame-threshold-low-multiplier { + type uint8; + description + "Frame period event threshold low multiplier"; + } + leaf frame-threshold-high-multiplier { + type uint8; + description + "Frame event threshold high multiplier"; + } + leaf frame-period-window { + type uint32; + description + "Frame period event window size"; + } + leaf frame-period-window-units { + type uint8; + description + "Frame period event window units"; + } + leaf frame-period-window-multiplier { + type uint8; + description + "Frame period event window multiplier"; + } + leaf frame-period-threshold-low { + type uint64; + description + "Frame period event low threshold"; + } + leaf frame-period-threshold-high { + type uint64; + description + "Frame period event high threshold"; + } + leaf frame-period-threshold-units { + type uint8; + description + "Frame period event threshold units"; + } + leaf frame-period-threshold-low-multiplier { + type uint8; + description + "Frame period event threshold low multiplier"; + } + leaf frame-period-threshold-high-multiplier { + type uint8; + description + "Frame period event threshold high multiplier"; + } + leaf frame-seconds-window { + type uint32; + units "second"; + description + "Frame seconds event high threshold"; + } + leaf frame-seconds-threshold-low { + type uint64; + units "second"; + description + "Frame seconds event high threshold"; + } + leaf frame-seconds-threshold-high { + type uint64; + units "second"; + description + "Frame seconds event high threshold"; + } + leaf high-threshold-action { + type Action; + description + "Action to perform when a high threshold is + breached"; + } + leaf link-fault-action { + type Action; + description + "Action to perform when a link fault occurs"; + } + leaf dying-gasp-action { + type Action; + description + "Action to perform when a dying gasp occurs"; + } + leaf critical-event-action { + type Action; + description + "Action to perform when a critical event occurs"; + } + leaf discovery-timeout-action { + type Action; + description + "Action to perform when a discovery timeout + occurs"; + } + leaf capabilities-conflict-action { + type Action; + description + "Action to perform when a capabilities conflict + occurs"; + } + leaf wiring-conflict-action { + type Action; + description + "Action to perform when a wiring conflict occurs"; + } + leaf session-up-action { + type Action; + description + "Action to perform when a session comes up"; + } + leaf session-down-action { + type Action; + description + "Action to perform when a session comes down"; + } + leaf remote-loopback-action { + type Action; + description + "Action to perform when a session enters or exits + remote loopback"; + } + leaf require-remote-mode { + type Mode; + description + "The mode that is required of the remote peer"; + } + leaf require-remote-mib-retrieval { + type boolean; + description + "Require the remote peer to support MIB retrieval"; + } + leaf require-loopback { + type boolean; + description + "Require the remote peer to support loopback mode"; + } + leaf require-link-monitoring { + type boolean; + description + "Require the remote peer to support link + monitoring"; + } + leaf fast-hello-interval-enabled-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf link-monitoring-enabled-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf remote-loopback-enabled-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf mib-retrieval-enabled-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf udlf-enabled-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf mode-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf connection-timeout-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf symbol-period-window-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf symbol-period-threshold-low-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf symbol-period-threshold-high-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-window-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-threshold-low-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-threshold-high-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-period-window-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-period-threshold-low-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-period-threshold-high-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-seconds-window-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-seconds-threshold-low-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf frame-seconds-threshold-high-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf high-threshold-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf link-fault-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf dying-gasp-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf critical-event-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf discovery-timeout-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf capabilities-conflict-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf wiring-conflict-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf session-down-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf session-up-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf remote-loopback-action-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf require-mode-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf require-mib-retrieval-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf require-loopback-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + leaf require-link-monitoring-overridden { + type boolean; + description + "Is this configuration information an interface + override?"; + } + } + + grouping EFD-TRIGGERS { + description + "Triggers currently causing the interface to be + brought down using EFD"; + leaf link-fault-received { + type boolean; + description + "Link-fault messages being received"; + } + leaf discovery-timed-out { + type boolean; + description + "The discovery process has timed out"; + } + leaf capabilities-conflict { + type boolean; + description + "A capabilities conflict has been detected"; + } + leaf wiring-conflict { + type boolean; + description + "A wiring conflict has been detected"; + } + leaf session-down { + type boolean; + description + "The 802.3 OAM session is down"; + } + } + + grouping ELOD-ERRORS { + description + "Most recent error information for an 802.3 OAM + interface"; + leaf pfi-reason { + type string; + description + "Reason for the Interface Management error (if + applicable)"; + } + leaf pfi-error-code { + type uint32; + description + "The Interface Management error/success code"; + } + leaf platform-reason { + type string; + description + "Reason for the platform error (if applicable)"; + } + leaf platform-error-code { + type uint32; + description + "The platform error/success code"; + } + leaf spio-reason { + type string; + description + "Reason for the Packet I/O error (if applicable)"; + } + leaf spio-error-code { + type uint32; + description + "The Packet I/O error/success code"; + } + leaf epi-reason { + type string; + description + "Reason for the Packet error (if applicable)"; + } + leaf epi-error-code { + type uint32; + description + "The Packet error/success code"; + } + leaf caps-add-reason { + type string; + description + "Reason for the caps add error (if applicable)"; + } + leaf caps-add-error-code { + type uint32; + description + "The caps add error/success code"; + } + } + + grouping ELOD-INTERFACE-STATE { + description + "The state of an 802.3 OAM interface"; + container errors { + description + "The errors that have occurred on this interface"; + uses ELOD-ERRORS; + } + container efd-triggers { + description + "Any present EFD triggers"; + uses EFD-TRIGGERS; + } + leaf protocol-code { + type Protocol-state; + description + "The state the protocol is in"; + } + leaf rx-fault { + type boolean; + description + "Has a uni-directional link-fault been detected?"; + } + leaf local-mwd-key { + type uint32; + description + "The local MWD key"; + } + leaf remote-mwd-key-present { + type boolean; + description + "Does the remote side have an MWD key?"; + } + leaf remote-mwd-key { + type uint32; + description + "The remote MWD key"; + } + } + + grouping ELOD-DISCOVERY-INFO { + description + "The results of a 'get discovery info' query"; + leaf name { + type string; + description + "Interface Name"; + } + leaf operational-status { + type Operational-state; + description + "Operational status"; + } + leaf loopback-mode { + type Loopback-status; + description + "The loopback mode the interface is in"; + } + leaf local-mode { + type Mode; + description + "Local Mode (passive/active)"; + } + leaf miswired { + type boolean; + description + "Has the interface mis-wired?"; + } + leaf local-mwd-key { + type uint32; + description + "Local Mis-wiring Detection key"; + } + leaf local-function-unidirectional { + type boolean; + description + "Local Unidirectional support"; + } + leaf local-function-loopback { + type boolean; + description + "Local loopback support"; + } + leaf local-function-event { + type boolean; + description + "Local event support"; + } + leaf local-functionvariable { + type boolean; + description + "Local variable retreival support"; + } + leaf local-revision { + type uint32; + description + "Local revision"; + } + leaf local-mtu { + type uint32; + description + "Local MTU"; + } + leaf local-operational { + type boolean; + description + "Is the local OAM session operational?"; + } + leaf local-evaluating { + type boolean; + description + "Is the local OAM session evaluating?"; + } + leaf remote-mode { + type Mode; + description + "Remote Mode (passive/active)"; + } + leaf remote-unidirectional { + type boolean; + description + "Remote unidirectional support"; + } + leaf remote-loopback { + type boolean; + description + "Remote loopback support"; + } + leaf remote-event { + type boolean; + description + "Remote event support"; + } + leaf remote-variable { + type boolean; + description + "Remote variable retreival support"; + } + leaf remote-mtu { + type uint32; + description + "Remote MTU"; + } + leaf remote-mac-address { + type yang:mac-address; + description + "Remote MAC address"; + } + leaf remote-vendor-oui { + type yang:hex-string; + description + "Remote vendor OUI"; + } + leaf remote-revision { + type uint16; + description + "Remote revision"; + } + leaf remote-vendor-info { + type uint32; + description + "Remote vendor info"; + } + leaf remote-mwd-key { + type uint32; + description + "Remote Mis-wiring Detection key"; + } + leaf operational-status-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf loopback-mode-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-mode-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf miswired-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-mwd-key-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-function-unidirectional-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-function-loopback-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-function-event-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-functionvariable-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-revisionvalid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf local-mtu-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-mode-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-unidirectional-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-loopback-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-event-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-variable-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-mtu-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-mac-address-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-vendor-oui-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-revisionvalid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-vendor-info-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf remote-mwd-key-valid { + type boolean; + description + "Has this value been received successfully?"; + } + leaf received-at-risk-notification-timestamp { + type uint64; + units "second"; + description + "Timestamp of when the last At Risk notification + was received (in seconds since the UNIX epoch), + or 0 if the peer is not currently at risk"; + } + leaf received-at-risk-notification-time-remaining { + type uint16; + units "second"; + description + "Number of seconds remaining that the peer has + indicated it will be At Risk"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper.yang new file mode 100644 index 0000000..ac8f243 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-link-oam-oper.yang @@ -0,0 +1,165 @@ +module Cisco-IOS-XR-ethernet-link-oam-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-oper"; + prefix ethernet-link-oam-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ethernet-link-oam-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-link-oam package operational data. + + This module contains definitions + for the following management objects: + ether-link-oam: Ethernet Link OAM operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ether-link-oam { + config false; + description + "Ethernet Link OAM operational data"; + container discovery-info-interfaces { + description + "Table of Ethernet Link OAM enabled interfaces + within Discovery Info container"; + list discovery-info-interface { + key "member-interface"; + description + "Ethernet Link OAM interface to get Discovery + Info for"; + leaf member-interface { + type xr:Interface-name; + description + "Member Interface"; + } + uses ELOD-DISCOVERY-INFO; + } + } + container interface-state-interfaces { + description + "Table of Ethernet Link OAM enabled interfaces + within Interface State container"; + list interface-state-interface { + key "member-interface"; + description + "Ethernet Link OAM interface to get Interface + State for"; + leaf member-interface { + type xr:Interface-name; + description + "Member Interface"; + } + uses ELOD-INTERFACE-STATE; + } + } + container running-config-interfaces { + description + "Table of Ethernet Link OAM enabled interfaces + within Running Config container"; + list running-config-interface { + key "member-interface"; + description + "Ethernet Link OAM interface to get Running + Config for"; + leaf member-interface { + type xr:Interface-name; + description + "Member Interface"; + } + uses ELOD-RUNNING-CONFIG; + } + } + container nodes { + description + "Node table for node-specific operational data"; + list node { + key "node-name"; + description + "Node-specific data for a particular node"; + container summary { + description + "Ethernet Link OAM Summary information for the + entire node"; + uses ELOD-SUMMARY-INFO; + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + container event-log-entry-interfaces { + description + "Table of Ethernet Link OAM enabled interfaces + within Event Log Entry container"; + list event-log-entry-interface { + key "member-interface"; + description + "Ethernet Link OAM enabled interface to get + Event Log Entry for"; + container event-log-entry-indexes { + description + "Table of Ethernet Link OAM Event Log entries + on the interface"; + list event-log-entry-index { + key "event-log-entry-index"; + description + "Ethernet Link OAM Event Log Entry Index to + get data for"; + leaf event-log-entry-index { + type xr:Cisco-ios-xr-string; + description + "Event Log Entry index"; + } + uses ELOD-LOG-ENTRY; + } + } + leaf member-interface { + type xr:Interface-name; + description + "Member Interface"; + } + } + } + container stats-interfaces { + description + "Table of Ethernet Link OAM enabled interfaces + within Stats container"; + list stats-interface { + key "member-interface"; + description + "Ethernet Link OAM interface to get Stats for"; + leaf member-interface { + type xr:Interface-name; + description + "Member Interface"; + } + uses ELOD-STATS; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-cfg.yang new file mode 100644 index 0000000..3e6d94b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-cfg.yang @@ -0,0 +1,199 @@ +module Cisco-IOS-XR-ethernet-lldp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg"; + prefix ethernet-lldp-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-lldp package configuration. + + This module contains definitions + for the following management objects: + lldp: Enable LLDP, or configure global LLDP subcommands + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container lldp { + presence "Indicates a lldp node is configured."; + description + "Disable LLDP TX or RX"; + container transmit { + description + "Disable LLDP TX"; + leaf disable { + type boolean; + default "false"; + description + "disable LLDP TX"; + } + } + container receive { + description + "Disable LLDP RX"; + leaf disable { + type boolean; + default "false"; + description + "disable LLDP RX"; + } + } + leaf lldp-intf-enter { + type boolean; + mandatory true; + description + "enter LLDP interface submode"; + } + } + } + container lldp { + description + "Enable LLDP, or configure global LLDP subcommands"; + container tlv-select { + presence "Indicates a tlv-select node is configured."; + description + "Selection of LLDP TLVs to disable"; + container system-name { + description + "System Name TLV"; + leaf disable { + type boolean; + default "false"; + description + "disable System Name TLV"; + } + } + container port-description { + description + "Port Description TLV"; + leaf disable { + type boolean; + default "false"; + description + "disable Port Description TLV"; + } + } + container system-description { + description + "System Description TLV"; + leaf disable { + type boolean; + default "false"; + description + "disable System Description TLV"; + } + } + container system-capabilities { + description + "System Capabilities TLV"; + leaf disable { + type boolean; + default "false"; + description + "disable System Capabilities TLV"; + } + } + container management-address { + description + "Management Address TLV"; + leaf disable { + type boolean; + default "false"; + description + "disable Management Address TLV"; + } + } + leaf tlv-select-enter { + type boolean; + mandatory true; + description + "enter lldp tlv-select submode"; + } + } + leaf holdtime { + type uint32 { + range "0..65535"; + } + description + "Length of time (in sec) that receiver must + keep this packet"; + } + leaf extended-show-width { + type boolean; + default "false"; + description + "Enable or disable LLDP Show LLDP Neighbor + Extended Width"; + } + leaf enable-subintf { + type boolean; + default "false"; + description + "Enable or disable LLDP on Sub-interfaces as well + globally"; + } + leaf enable-mgmtintf { + type boolean; + default "false"; + description + "Enable or disable LLDP on Mgmt interfaces as + well globally"; + } + leaf timer { + type uint32 { + range "5..65534"; + } + default "30"; + description + "Specify the rate at which LLDP packets are sent + (in sec)"; + } + leaf reinit { + type uint32 { + range "2..5"; + } + default "2"; + description + "Delay (in sec) for LLDP initialization on any + interface"; + } + leaf enable { + type boolean; + default "false"; + description + "Enable or disable LLDP globally"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang new file mode 100644 index 0000000..10bc1c1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub1.yang @@ -0,0 +1,461 @@ +submodule Cisco-IOS-XR-ethernet-lldp-oper-sub1 { + belongs-to Cisco-IOS-XR-ethernet-lldp-oper { + prefix Cisco-IOS-XR-ethernet-lldp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-lldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef In6-addr { + type inet:ipv6-address; + description + "In6 addr"; + } + + typedef Lldp-l3-addr-protocol { + type enumeration { + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + } + description + "Lldp l3 addr protocol"; + } + + grouping LLDP-STATS { + description + "LLDP statistics"; + leaf transmitted-packets { + type uint32; + description + "Transmitted packets"; + } + leaf aged-out-entries { + type uint32; + description + "Aged out entries"; + } + leaf discarded-packets { + type uint32; + description + "Discarded packets"; + } + leaf bad-packets { + type uint32; + description + "Bad packet received and dropped"; + } + leaf received-packets { + type uint32; + description + "Received packets"; + } + leaf discarded-tl-vs { + type uint32; + description + "Discarded TLVs"; + } + leaf unrecognized-tl-vs { + type uint32; + description + "Unrecognized TLVs"; + } + leaf out-of-memory-errors { + type uint32; + description + "Out-of-memory conditions"; + } + leaf encapsulation-errors { + type uint32; + description + "Transmission errors"; + } + leaf queue-overflow-errors { + type uint32; + description + "Queue overflows"; + } + leaf table-overflow-errors { + type uint32; + description + "Table overflows"; + } + } + + grouping LLDP-INTERFACE { + description + "Information about an interface that LLDP is + running on"; + container local-network-addresses { + description + "Local Management Addresses"; + uses LLDP-ADDRESS-ENTRY; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf tx-enabled { + type uint8; + description + "TX Enabled"; + } + leaf rx-enabled { + type uint8; + description + "RX Enabled"; + } + leaf tx-state { + type string; + description + "TX State"; + } + leaf rx-state { + type string; + description + "RX State"; + } + leaf if-index { + type uint32; + description + "ifIndex"; + } + leaf port-id { + type string; + description + "Outgoing port identifier"; + } + leaf port-id-sub-type { + type uint8; + description + "Port ID sub type"; + } + leaf port-description { + type string; + description + "Port Description"; + } + } + + grouping LLDP-ORG-DEF-TLV-ENTRY { + description + "LLDP Org Def TLV entry"; + list lldp-org-def-tlv-entry { + description + "lldp org def tlv entry"; + leaf oui { + type uint32; + description + "Organizationally Unique Identifier"; + } + leaf tlv-subtype { + type uint8; + description + "Org Def TLV subtype"; + } + leaf tlv-info-indes { + type uint32; + description + "lldpRemOrgDefInfoIndex"; + } + leaf tlv-value { + type yang:hex-string; + description + "Org Def TLV payload"; + } + } + } + + grouping LLDP-UNKNOWN-TLV-ENTRY { + description + "LLDP Unknown TLV entry"; + list lldp-unknown-tlv-entry { + description + "lldp unknown tlv entry"; + leaf tlv-type { + type uint8; + description + "Unknown TLV type"; + } + leaf tlv-value { + type yang:hex-string; + description + "Unknown TLV payload"; + } + } + } + + grouping LLDP-NEIGHBOR-ENTRY-MIB-DETAILS { + description + "MIB neighbor info"; + container unknown-tlv-list { + description + "Unknown TLV list"; + uses LLDP-UNKNOWN-TLV-ENTRY; + } + container org-def-tlv-list { + description + "Org Def TLV list"; + uses LLDP-ORG-DEF-TLV-ENTRY; + } + leaf rem-time-mark { + type uint32; + description + "TimeFilter"; + } + leaf rem-local-port-num { + type uint32; + description + "LldpPortNumber"; + } + leaf rem-index { + type uint32; + description + "lldpRemIndex"; + } + leaf chassis-id-sub-type { + type uint8; + description + "Chassis ID sub type"; + } + leaf chassis-id-len { + type uint16; + description + "Chassis ID length"; + } + leaf port-id-sub-type { + type uint8; + description + "Port ID sub type"; + } + leaf port-id-len { + type uint16; + description + "Port ID length"; + } + leaf combined-capabilities { + type uint32; + description + "Supported and combined cpabilities"; + } + } + + grouping LLDP-L3-ADDR { + description + "LLDP L3 ADDR"; + leaf address-type { + type Lldp-l3-addr-protocol; + description + "AddressType"; + } + leaf ipv4-address { + when "../address-type = 'ipv4'" { + description + "../AddressType = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../address-type = 'ipv6'" { + description + "../AddressType = 'IPv6'"; + } + type In6-addr; + description + "IPv6 address"; + } + } + + grouping LLDP-ADDRESS-ENTRY { + description + "LLDP Address entry"; + list lldp-addr-entry { + description + "lldp addr entry"; + container address { + description + "Network layer address"; + uses LLDP-L3-ADDR; + } + leaf ma-subtype { + type uint8; + description + "MA sub type"; + } + leaf if-num { + type uint32; + description + "Interface num"; + } + } + } + + grouping LLDP-NEIGHBOR-ENTRY-DETAILS { + description + "Detailed neighbor info"; + container network-addresses { + description + "Management Addresses"; + uses LLDP-ADDRESS-ENTRY; + } + leaf peer-mac-address { + type yang:mac-address; + description + "Peer Mac Address"; + } + leaf port-description { + type string; + description + "Port Description"; + } + leaf system-name { + type string; + description + "System Name"; + } + leaf system-description { + type string; + description + "System Description"; + } + leaf time-remaining { + type uint32; + description + "Time remaining"; + } + leaf system-capabilities { + type string; + description + "System Capabilities"; + } + leaf enabled-capabilities { + type string; + description + "Enabled Capabilities"; + } + leaf auto-negotiation { + type string; + description + "Auto Negotiation"; + } + leaf physical-media-capabilities { + type string; + description + "Physical media capabilities"; + } + leaf media-attachment-unit-type { + type uint32; + description + "Media Attachment Unit type"; + } + leaf port-vlan-id { + type uint32; + description + "Vlan ID"; + } + } + + grouping LLDP-NEIGHBOR { + description + "LLDP neighbor info"; + list lldp-neighbor { + description + "lldp neighbor"; + container detail { + description + "Detailed neighbor info"; + uses LLDP-NEIGHBOR-ENTRY-DETAILS; + } + container mib { + description + "MIB nieghbor info"; + uses LLDP-NEIGHBOR-ENTRY-MIB-DETAILS; + } + leaf receiving-interface-name { + type xr:Interface-name; + description + "Interface the neighbor entry was received on "; + } + leaf receiving-parent-interface-name { + type xr:Interface-name; + description + "Parent Interface the neighbor entry was + received on "; + } + leaf device-id { + type string; + description + "Device identifier"; + } + leaf chassis-id { + type string; + description + "Chassis id"; + } + leaf port-id-detail { + type string; + description + "Outgoing port identifier"; + } + leaf header-version { + type uint8; + description + "Version number"; + } + leaf hold-time { + type uint16; + description + "Remaining hold time"; + } + leaf enabled-capabilities { + type string; + description + "Enabled Capabilities"; + } + leaf platform { + type string; + description + "Platform type"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang new file mode 100644 index 0000000..91f25c3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper-sub2.yang @@ -0,0 +1,66 @@ +submodule Cisco-IOS-XR-ethernet-lldp-oper-sub2 { + belongs-to Cisco-IOS-XR-ethernet-lldp-oper { + prefix Cisco-IOS-XR-ethernet-lldp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ethernet-lldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping LLDP-MGR-GLOBAL-INFO { + description + "LLDP global info"; + leaf chassis-id { + type string; + description + "Chassis identifier"; + } + leaf chassis-id-sub-type { + type uint8; + description + "Chassis ID sub type"; + } + leaf system-name { + type string; + description + "System Name"; + } + leaf timer { + type uint32; + description + "Rate at which LLDP packets re sent (in sec)"; + } + leaf hold-time { + type uint32; + description + "Length of time (in sec)that receiver must keep + thispacket"; + } + leaf re-init { + type uint32; + description + "Delay (in sec) for LLDPinitialization on + anyinterface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper.yang new file mode 100644 index 0000000..771a083 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ethernet-lldp-oper.yang @@ -0,0 +1,171 @@ +module Cisco-IOS-XR-ethernet-lldp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-oper"; + prefix ethernet-lldp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ethernet-lldp-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ethernet-lldp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ethernet-lldp package operational data. + + This module contains definitions + for the following management objects: + lldp: Link Layer Discovery Protocol operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-13 { + description + "Added a new notification."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping LLDP-BODY { + container global-lldp { + description + "Global LLDP data"; + container lldp-info { + description + "The LLDP Global Information of this box"; + uses LLDP-MGR-GLOBAL-INFO; + } + } + container nodes { + description + "Per node LLDP operational data"; + list node { + key "node-name"; + description + "The LLDP operational data for a particular node"; + container neighbors { + description + "The LLDP neighbor tables on this node"; + container devices { + description + "The detailed LLDP neighbor table on this + device"; + list device { + description + "Detailed information about a LLDP neighbor + entry"; + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses LLDP-NEIGHBOR; + } + } + container details { + description + "The detailed LLDP neighbor table"; + list detail { + description + "Detailed information about a LLDP neighbor + entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + uses LLDP-NEIGHBOR; + } + } + container summaries { + description + "The LLDP neighbor summary table"; + list summary { + description + "Brief information about a LLDP neighbor + entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf device-id { + type string; + description + "The neighboring device identifier"; + } + uses LLDP-NEIGHBOR; + } + } + } + container interfaces { + description + "The table of interfaces on which LLDP is + running on this node"; + list interface { + key "interface-name"; + description + "Operational data for an interface on which + LLDP is running"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses LLDP-INTERFACE; + } + } + container statistics { + description + "The LLDP traffic statistics for this node"; + uses LLDP-STATS; + } + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } + + notification lldp-event { + description + "Notification event for lldp"; + uses LLDP-BODY; + } + container lldp { + config false; + description + "Link Layer Discovery Protocol operational data"; + uses LLDP-BODY; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper-sub1.yang new file mode 100644 index 0000000..385c977 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper-sub1.yang @@ -0,0 +1,1634 @@ +submodule Cisco-IOS-XR-evpn-oper-sub1 { + belongs-to Cisco-IOS-XR-evpn-oper { + prefix Cisco-IOS-XR-evpn-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR evpn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2vpn-evpn-sc-mode { + type enumeration { + enum "invalid" { + description + "Invalid service carving mode"; + } + enum "auto" { + description + "Auto service carving mode"; + } + enum "manual" { + description + "Manual service carving"; + } + } + description + "EVPN Ethernet-Segment service carving mode"; + } + + typedef L2vpn-evpn-smac-src { + type enumeration { + enum "invalid" { + description + "Incomplete Configuration"; + } + enum "not-applicable" { + description + "Source MAC Not Applicable (EVPN)"; + } + enum "local" { + description + "Local"; + } + enum "pbb-bsa" { + description + "PBB BSA"; + } + enum "esi" { + description + "From ESI"; + } + enum "esi-invalid" { + description + "From ESI, Error"; + } + enum "pbb-bsa-overrride" { + description + "PBB BSA, no ESI"; + } + } + description + "L2vpn evpn smac src"; + } + + typedef L2vpn-evpn-lb-mode { + type enumeration { + enum "invalid-load-balancing" { + description + "Invalid load balancing"; + } + enum "single-homed" { + description + "Single-homed site or network"; + } + enum "multi-homed-aa-per-flow" { + description + "Multi-homed access network active/active per + flow"; + } + enum "multi-homed-aa-per-service" { + description + "Multi-homed access network active/active per + service"; + } + } + description + "L2VPN EVPN load balancing mode"; + } + + typedef L2vpn-evpn-mf-mode { + type enumeration { + enum "invalid" { + description + "Invalid MAC Flushing mode"; + } + enum "tcn-stp" { + description + "TCN STP MAC Flushing mode"; + } + enum "mvrp" { + description + "MVRP MAC Flushing mode"; + } + } + description + "L2VPN EVPN MAC flushing mode"; + } + + typedef L2vpn-evpn-rt-origin { + type enumeration { + enum "invalid" { + description + "Incomplete Configuration"; + } + enum "extracted" { + description + "From ESI"; + } + enum "configured" { + description + "Locally configured"; + } + } + description + "L2vpn evpn rt origin"; + } + + typedef L2vpn-rg-role { + type enumeration { + enum "l2vpn-rg-role-not-defined" { + description + "l2vpn rg role not defined"; + } + enum "l2vpn-rg-role-active" { + description + "l2vpn rg role active"; + } + enum "l2vpn-rg-role-standby" { + description + "l2vpn rg role standby"; + } + enum "l2vpn-rg-role-max" { + description + "l2vpn rg role max"; + } + } + description + "L2vpn rg role"; + } + + typedef L2vpn-evpn-esi { + type enumeration { + enum "esi-type0" { + value 0; + description + "ESI type zero"; + } + enum "esi-type1" { + value 1; + description + "ESI type one"; + } + enum "esi-type2" { + value 2; + description + "ESI type two"; + } + enum "esi-type3" { + value 3; + description + "ESI type three"; + } + enum "esi-type4" { + value 4; + description + "ESI type four"; + } + enum "esi-type5" { + value 5; + description + "ESI type five"; + } + enum "l2vpn-evpn-esi-type-legacy" { + value 128; + description + "ESI type legacy"; + } + enum "l2vpn-evpn-esi-type-override" { + value 129; + description + "ESI type override (10-octet value)"; + } + enum "esi-type-invalid" { + value 255; + description + "ESI type invalid"; + } + } + description + "EVPN ESI types"; + } + + typedef L2vpn-ad-rt-role { + type enumeration { + enum "both" { + value 0; + description + "Both"; + } + enum "import" { + value 1; + description + "Import"; + } + enum "export" { + value 2; + description + "Export"; + } + } + description + "L2vpn ad rt role"; + } + + typedef L2vpn-ad-rt { + type enumeration { + enum "l2vpn-ad-rt-none" { + value 0; + description + "Route target not set"; + } + enum "l2vpn-ad-rt-as" { + value 1; + description + "Route Target with 2 Byte AS number"; + } + enum "l2vpn-ad-rt-4byte-as" { + value 2; + description + "Route Target with 4 Byte AS number"; + } + enum "l2vpn-ad-rt-v4-addr" { + value 3; + description + "Route Target with IPv4 Address"; + } + enum "es-import" { + value 1538; + description + "Ethernet Segment Route Target from BGP"; + } + } + description + "L2vpn ad rt"; + } + + typedef L2vpn-ad-rd { + type enumeration { + enum "l2vpn-ad-rd-none" { + value 0; + description + "Route Distinguisher not set"; + } + enum "l2vpn-ad-rd-auto" { + value 1; + description + "Route Distinguisher auto-generated"; + } + enum "l2vpn-ad-rd-as" { + value 2; + description + "Route Distinguisher with 2 Byte AS number"; + } + enum "l2vpn-ad-rd-4byte-as" { + value 3; + description + "Route Distinguisher with 4 Byte AS number"; + } + enum "l2vpn-ad-rd-v4-addr" { + value 4; + description + "Route Distinguisher with IPv4 Address"; + } + } + description + "L2vpn ad rd"; + } + + typedef L2vpn-evpn { + type enumeration { + enum "evpn-type-invalid" { + description + "Unspecify type for that EVI entry"; + } + enum "evpn-type-evpn" { + description + "EVPN service type"; + } + enum "evpn-type-pbb-evpn" { + description + "PBB EVPN service type"; + } + enum "evpn-type-evpn-vpws-vlan-unaware" { + description + "EVPN VPWS vlan-unaware service type"; + } + enum "evpn-type-evpn-vpws-vlan-aware" { + description + "EVPN VPWS vlan-aware service type"; + } + enum "evpn-type-max" { + description + "Max EVPN type"; + } + } + description + "L2vpn evpn"; + } + + grouping L2VPN-EVPN-REMOTE-SHG-INFO { + description + "L2VPN EVPN remote split horizon group labels"; + leaf next-hop { + type inet:ipv6-address; + description + "Next-hop IP address (v6 format)"; + } + leaf label { + type uint32; + description + "Split horizon label associated with next-hop + address"; + } + } + + grouping L2VPN-EVPN-EAD-SERVICE-INFO { + description + "L2VPN EVPN EAD Ethernet Tag"; + leaf vpn-id { + type uint32; + description + "VPN ID"; + } + leaf type { + type L2vpn-evpn; + description + "Service Type"; + } + leaf ethernet-tag { + type uint32; + description + "Ethernet Tag"; + } + } + + grouping L2VPN-EVPN-ES-NH-BUFFER { + description + "L2VPN EVPN Ethernet Segment (ES) nexthops + information"; + leaf next-hop { + type inet:ipv6-address; + description + "Next-hop IP address (v6 format)"; + } + } + + grouping L2VPN-EVPN-ES { + description + "EVPN Ethernet Segment (ES) database information"; + leaf esi-type { + type L2vpn-evpn-esi; + description + "ESI Type"; + } + leaf esi-system-identifier { + type string; + description + "ESI System Identifier"; + } + leaf esi-port-key { + type uint32; + description + "ESI Port Key"; + } + leaf esi-system-priority { + type uint32; + description + "ESI System Priority"; + } + leaf ethernet-segment-name { + type string; + description + "Ethernet Segment Name"; + } + leaf ethernet-segment-state { + type uint32; + description + "State of the ethernet segment"; + } + leaf if-handle { + type xr:Interface-name; + description + "Main port ifhandle"; + } + leaf main-port-role { + type L2vpn-rg-role; + description + "Main port redundancy group role"; + } + leaf main-port-mac { + type yang:mac-address; + description + "Main Port MAC Address"; + } + leaf num-up-p-ws { + type uint32; + description + "Number of PWs in Up state"; + } + leaf route-target { + type yang:mac-address; + description + "ES-Import Route Target"; + } + leaf rt-origin { + type L2vpn-evpn-rt-origin; + description + "Origin of operational ES-Import RT"; + } + leaf es-bgp-gates { + type string; + description + "ES BGP Gates"; + } + leaf es-l2fib-gates { + type string; + description + "ES L2FIB Gates"; + } + leaf mac-flushing-mode-config { + type L2vpn-evpn-mf-mode; + description + "Configured MAC Flushing mode"; + } + leaf load-balance-mode-config { + type L2vpn-evpn-lb-mode; + description + "Configured load balancing mode"; + } + leaf load-balance-mode-is-default { + type boolean; + description + "Load balancing mode is default"; + } + leaf load-balance-mode-oper { + type L2vpn-evpn-lb-mode; + description + "Operational load balancing mode"; + } + leaf force-single-home { + type boolean; + description + "Ethernet-Segment forced to single home"; + } + leaf source-mac-oper { + type yang:mac-address; + description + "Operational Source MAC address"; + } + leaf source-mac-origin { + type L2vpn-evpn-smac-src; + description + "Origin of operational source MAC address"; + } + leaf peering-timer { + type uint32; + units "second"; + description + "Configured timer for triggering DF election + (seconds)"; + } + leaf peering-timer-left { + type uint32; + units "millisecond"; + description + "Milliseconds left on DF election timer"; + } + leaf recovery-timer { + type uint32; + units "second"; + description + "Configured timer for (STP) recovery (seconds)"; + } + leaf recovery-timer-left { + type uint32; + units "millisecond"; + description + "Milliseconds left on (STP) recovery timer"; + } + leaf carving-timer { + type uint32; + units "second"; + description + "Configured timer for delaying DF election + (seconds)"; + } + leaf carving-timer-left { + type uint32; + units "millisecond"; + description + "Milliseconds left on carving timer"; + } + leaf service-carving-mode { + type L2vpn-evpn-sc-mode; + description + "Service carving mode"; + } + leaf primary-services-input { + type string; + description + "Input string of Primary services ESI/I-SIDs"; + } + leaf secondary-services-input { + type string; + description + "Input string of Secondary services ESI/I-SIDs"; + } + leaf forwarder-ports { + type uint32; + description + "Count of Forwarders (AC, AC PW, VFI PW)"; + } + leaf permanent-forwarder-ports { + type uint32; + description + "Count of Forwarders with permanent service"; + } + leaf elected-forwarder-ports { + type uint32; + description + "Count of Forwarders with elected service"; + } + leaf not-elected-forwarder-ports { + type uint32; + description + "Count of Forwarders with not elected service"; + } + leaf not-config-forwarder-ports { + type uint32; + description + "Count of forwarders with missing config detected"; + } + leaf mp-protected { + type boolean; + description + "MP is protected and not under EVPN control"; + } + leaf nve-anycast-vtep { + type boolean; + description + "Anycast VTEP mode on NVE main-interface"; + } + leaf nve-ingress-replication { + type boolean; + description + "Ingress-Replication is configured on NVE + main-interface"; + } + leaf local-split-horizon-group-label-valid { + type boolean; + description + "Local split horizon group label is valid"; + } + leaf local-split-horizon-group-label { + type uint32; + description + "Local split horizon group label"; + } + list ethernet-segment-identifier { + description + "Ethernet Segment id"; + leaf entry { + type uint8; + } + } + list primary-service { + description + "List of Primary services ESI/I-SIDs"; + leaf entry { + type uint32; + } + } + list secondary-service { + description + "List of Secondary services ESI/I-SIDs"; + leaf entry { + type uint32; + } + } + list service-carving-i-sidelected-result { + description + "Elected ISID service carving results"; + leaf entry { + type uint32; + } + } + list service-carving-isid-not-elected-result { + description + "Not elected ISID service carving results"; + leaf entry { + type uint32; + } + } + list service-carving-evi-elected-result { + description + "Elected EVI service carving results"; + leaf entry { + type uint32; + } + } + list service-carving-evi-not-elected-result { + description + "Not elected EVI service carving results"; + leaf entry { + type uint32; + } + } + list next-hop { + description + "List of nexthop IPv6 addresses"; + uses L2VPN-EVPN-ES-NH-BUFFER; + } + list service-carving-vpws-permanent-result { + description + "Permanent EVPN VPWS service carving results"; + uses L2VPN-EVPN-EAD-SERVICE-INFO; + } + list remote-split-horizon-group-label { + description + "Remote split horizon group labels"; + uses L2VPN-EVPN-REMOTE-SHG-INFO; + } + } + + grouping L2VPN-EVPN-LABEL { + description + "EVPN Internal Label database information"; + leaf evi-xr { + type uint32; + description + "EVPN id"; + } + leaf esi { + type yang:hex-string; + description + "Ethernet Segment id"; + } + leaf tag { + type uint32; + description + "Label Tag"; + } + leaf internal-label { + type uint32; + description + "MPLS Internal Label"; + } + leaf encap { + type uint8; + description + "Encap type of remote EAD/ES, EAD/EVI and MAC + routes"; + } + leaf mac-num-paths { + type uint32; + description + "Number of items in the MAC path buffer"; + } + leaf ead-num-paths { + type uint32; + description + "Number of items in the ead path buffer"; + } + leaf evi-num-paths { + type uint32; + description + "Number of items in the evi path buffer"; + } + leaf sum-num-paths { + type uint32; + description + "Number of items in the sum path buffer"; + } + leaf sum-num-active-paths { + type uint32; + description + "Number of items in the sum path buffer that are + Active Paths"; + } + leaf resolved { + type boolean; + description + "Internal Label has resolved per-ES EAD and + per-EVI EAD or MAC routes"; + } + leaf ecmp-disable { + type boolean; + description + "ECMP Disable Per EVI Resolution"; + } + leaf redundancy-single-active { + type boolean; + description + "Single-active redundancy configured at remote ES"; + } + leaf redundancy-single-flow-active { + type boolean; + description + "Single-flow-active redundancy at remote ES + (MST-AG)"; + } + list mac-path-buffer { + description + "MAC Path list buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + list ead-path-buffer { + description + "EAD/ES Path list buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + list evi-path-buffer { + description + "EAD/EVI Path list buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + list summary-path-buffer { + description + "Summary Path list buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + } + + grouping L2VPN-EVPN-MAC { + description + "L2VPN EVPN MAC database information"; + leaf ethernet-tag-xr { + type uint32; + description + "Ethernet Tag"; + } + leaf mac-address-xr { + type yang:mac-address; + description + "MAC address"; + } + leaf ip-address-xr { + type inet:ipv6-address; + description + "IP address (v6 format)"; + } + leaf local-label { + type uint32; + description + "Associated local label"; + } + leaf num-paths { + type uint32; + description + " Number of items in path list buffer"; + } + leaf is-local-mac { + type boolean; + description + "Indication of MAC being locally generated"; + } + leaf is-proxy-entry { + type boolean; + description + "Proxy entry"; + } + leaf is-remote-mac { + type boolean; + description + "Indication of MAC being remotely generated"; + } + leaf soo-nexthop { + type inet:ipv6-address; + description + "SOO nexthop (v6 format)"; + } + leaf ipnh-address { + type inet:ipv6-address; + description + "IP nexthop address (v6 format)"; + } + leaf esi-port-key { + type uint16; + description + "ESI port key"; + } + leaf local-encap-type { + type uint8; + description + "Encap type of local MAC"; + } + leaf remote-encap-type { + type uint8; + description + "Encap type of remote MAC"; + } + leaf learned-bridge-port-name { + type string; + description + "Port the MAC was learned on"; + } + leaf local-seq-id { + type uint32; + description + "local seq id"; + } + leaf remote-seq-id { + type uint32; + description + "remote seq id"; + } + leaf local-l3-label { + type uint32; + description + "local l3 label"; + } + leaf router-mac-address { + type yang:mac-address; + description + "Router MAC address"; + } + leaf mac-flush-requested { + type uint16; + description + "Number of flushes requested "; + } + leaf mac-flush-received { + type uint16; + description + "Number of flushes received "; + } + leaf internal-label { + type uint32; + description + "MPLS Internal Label"; + } + leaf resolved { + type boolean; + description + "Internal Label has resolved per-ES EAD and + per-EVI EAD or MAC routes"; + } + leaf local-is-static { + type boolean; + description + "Indication if Local MAC is statically configured"; + } + leaf remote-is-static { + type boolean; + description + "Indication if Remote MAC is statically + configured"; + } + list local-ethernet-segment-identifier { + description + "Local Ethernet Segment id"; + leaf entry { + type uint8; + } + } + list remote-ethernet-segment-identifier { + description + "Remote Ethernet Segment id"; + leaf entry { + type uint8; + } + } + list path-buffer { + description + "Path List Buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + } + + grouping L2VPN-EVPN-EVI-BGP-RT { + description + "EVPN E-VPN ID Route Target information"; + container route-target { + description + "Route Target"; + uses L2VPN-RT; + } + leaf bd-name { + type string; + description + "Bridge Domain Name"; + } + leaf evi-xr { + type uint32; + description + "VPN ID"; + } + leaf route-target-role { + type L2vpn-ad-rt-role; + description + "RT Role"; + } + leaf route-target-stitching { + type boolean; + description + "RT Stitching"; + } + } + + grouping L2VPN-EVPN-IMCAST { + description + "L2VPN EVPN Inclusive Multicast database + information"; + leaf evi-xr { + type uint32; + description + "E-VPN id"; + } + leaf ethernet-tag-xr { + type uint32; + description + "Ethernet Tag"; + } + leaf originating-ip-xr { + type inet:ipv6-address; + description + "Originating IP"; + } + leaf next-hop { + type inet:ipv6-address; + description + "IP of nexthop"; + } + leaf output-label { + type uint32; + description + "Output label"; + } + leaf is-local-entry { + type boolean; + description + "Local entry"; + } + leaf is-proxy-entry { + type boolean; + description + "Proxy entry"; + } + leaf encap-type { + type uint8; + description + "Encap type of local or remote IMCAST route"; + } + } + + grouping L2VPN-LABEL-PATH-BUFFER { + description + "L2VPN LABEL PATH BUFFER"; + leaf next-hop { + type inet:ipv6-address; + description + "Next-hop IP address (v6 format)"; + } + leaf output-label { + type uint32; + description + "Output Label"; + } + leaf srte-tunnel { + type xr:Interface-name; + description + "Segment-Routing Traffic Engineering Tunnel + Interface Handle"; + } + } + + grouping L2VPN-EVPN-EAD { + description + "L2VPN EVPN EAD database information"; + leaf ethernet-vpnid { + type uint32; + description + "E-VPN id"; + } + leaf type { + type L2vpn-evpn; + description + "Service Type"; + } + leaf ethernet-tag-xr { + type uint32; + description + "Ethernet Tag"; + } + leaf local-next-hop { + type inet:ipv6-address; + description + "Local nexthop IP"; + } + leaf local-label { + type uint32; + description + "Associated local label"; + } + leaf is-local-ead { + type boolean; + description + "Indication of EthernetAutoDiscovery Route is + local"; + } + leaf encap { + type uint8; + description + "Encap type of local or remote EAD"; + } + leaf redundancy-single-active { + type boolean; + description + "Single-active redundancy configured at remote + EAD"; + } + leaf redundancy-single-flow-active { + type boolean; + description + "Single-flow-active redundancy configured at + remote EAD"; + } + leaf num-paths { + type uint32; + description + " Number of items in path list buffer"; + } + list ethernet-segment-identifier { + description + "Ethernet Segment id"; + leaf entry { + type uint8; + } + } + list path-buffer { + description + "Path List Buffer"; + uses L2VPN-LABEL-PATH-BUFFER; + } + } + + grouping L2VPN-EVPN-NEIGHBOR { + description + "L2VPN EVPN Neighbor database information"; + leaf evi-xr { + type uint32; + description + "E-VPN id"; + } + leaf neighbor { + type inet:ipv6-address; + description + "Neighbor IP"; + } + } + + grouping L2VPN-RT-ES-IMPORT { + description + "L2VPN RT ES IMPORT"; + leaf high-bytes { + type uint32; + description + "Top 4 bytes of ES Import"; + } + leaf low-bytes { + type uint16; + description + "Low 2 bytes of ES Import"; + } + } + + grouping L2VPN-RT-V4ADDR { + description + "L2VPN RT V4ADDR"; + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RT-4BYTE-AS { + description + "L2VPN RT 4BYTE AS"; + leaf four-byte-as { + type uint32; + description + "4 Byte AS Number"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RT-2BYTE-AS { + description + "L2VPN RT 2BYTE AS"; + leaf two-byte-as { + type uint16; + description + "2 Byte AS Number"; + } + leaf four-byte-index { + type uint32; + description + "4 Byte Index"; + } + } + + grouping L2VPN-RT { + description + "L2VPN RT"; + container two-byte-as { + when "../rt = 'l2vpn-ad-rt-as'" { + description + "../RT = 'L2VPN_AD_RT_AS'"; + } + description + "two byte as"; + uses L2VPN-RT-2BYTE-AS; + } + container four-byte-as { + when "../rt = 'l2vpn-ad-rt-4byte-as'" { + description + "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; + } + description + "four byte as"; + uses L2VPN-RT-4BYTE-AS; + } + container v4-addr { + when "../rt = 'l2vpn-ad-rt-v4-addr'" { + description + "../RT = 'L2VPN_AD_RT_V4ADDR'"; + } + description + "v4 addr"; + uses L2VPN-RT-V4ADDR; + } + container es-import { + when "../rt = 'es-import'" { + description + "../RT = 'ES_Import'"; + } + description + "es import"; + uses L2VPN-RT-ES-IMPORT; + } + leaf rt { + type L2vpn-ad-rt; + description + "RT"; + } + } + + grouping L2VPN-RD-V4ADDR { + description + "L2VPN RD V4ADDR"; + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RD-4BYTE-AS { + description + "L2VPN RD 4BYTE AS"; + leaf four-byte-as { + type uint32; + description + "4 Byte AS Number"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RD-2BYTE-AS { + description + "L2VPN RD 2BYTE AS"; + leaf two-byte-as { + type uint16; + description + "2 Byte AS Number"; + } + leaf four-byte-index { + type uint32; + description + "4 Byte Index"; + } + } + + grouping L2VPN-RD-AUTO { + description + "L2VPN RD AUTO"; + leaf router-id { + type inet:ipv4-address; + description + "BGP Router ID"; + } + leaf auto-index { + type uint16; + description + "Auto-generated Index"; + } + } + + grouping L2VPN-RD { + description + "L2VPN RD"; + container auto { + when "../rd = 'l2vpn-ad-rd-auto'" { + description + "../RD = 'L2VPN_AD_RD_AUTO'"; + } + description + "auto"; + uses L2VPN-RD-AUTO; + } + container two-byte-as { + when "../rd = 'l2vpn-ad-rd-as'" { + description + "../RD = 'L2VPN_AD_RD_AS'"; + } + description + "two byte as"; + uses L2VPN-RD-2BYTE-AS; + } + container four-byte-as { + when "../rd = 'l2vpn-ad-rd-4byte-as'" { + description + "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; + } + description + "four byte as"; + uses L2VPN-RD-4BYTE-AS; + } + container v4-addr { + when "../rd = 'l2vpn-ad-rd-v4-addr'" { + description + "../RD = 'L2VPN_AD_RD_V4ADDR'"; + } + description + "v4 addr"; + uses L2VPN-RD-V4ADDR; + } + leaf rd { + type L2vpn-ad-rd; + description + "RD"; + } + } + + grouping L2VPN-EVPN-FLOW-LABEL { + description + "L2VPN EVPN FLOW LABEL"; + leaf static-flow-label { + type boolean; + description + "Static flow label"; + } + leaf global-flow-label { + type boolean; + description + "Globally configured flow label"; + } + } + + grouping L2VPN-EVPN-EVI-DETAIL { + description + "EVPN E-VPN ID database detail information"; + container flow-label { + description + "Flow Label Information"; + uses L2VPN-EVPN-FLOW-LABEL; + } + container rd-auto { + description + "Automatic Route Distingtuisher"; + uses L2VPN-RD; + } + container rd-configured { + description + "Configured Route Distinguisher"; + uses L2VPN-RD; + } + container rt-auto { + description + "Automatic Route Target"; + uses L2VPN-RT; + } + container rt-auto-stitching { + description + "Automatic Route Target Stitching"; + uses L2VPN-RT; + } + leaf evi-xr { + type uint32; + description + "E-VPN id"; + } + leaf description { + type string; + description + "EVI description"; + } + leaf bd-name { + type string; + description + "Bridge domain name"; + } + leaf type { + type L2vpn-evpn; + description + "Service Type"; + } + leaf unicast-label { + type uint32; + description + "Unicast Label"; + } + leaf multicast-label { + type uint32; + description + "Multicast Label"; + } + leaf cw-disable { + type boolean; + description + "Control-Word Disable"; + } + leaf table-policy-name { + type string; + description + "Table-policy Name"; + } + leaf forward-class { + type uint8; + description + "Forward Class attribute"; + } + leaf rt-import-block-set { + type boolean; + description + "Is Import RT None set"; + } + leaf rt-export-block-set { + type boolean; + description + "Is Export RT None set"; + } + leaf advertise-mac { + type boolean; + description + "Advertise MAC-only routes on this EVI"; + } + leaf advertise-bvi-mac { + type boolean; + description + "Advertise BVI MACs routes on this EVI"; + } + leaf aliasing-disabled { + type boolean; + description + "Route Aliasing is disabled"; + } + leaf unknown-unicast-flooding-disabled { + type boolean; + description + "Unknown-unicast flooding is disabled"; + } + leaf reoriginate-disabled { + type boolean; + description + "Route Re-origination is disabled"; + } + leaf stitching { + type uint8; + description + "EVPN Instance is Regular/Stitching side"; + } + leaf encapsulation { + type uint8; + description + "EVPN Instance encapsulation"; + } + } + + grouping L2VPN-EVPN-SUMMARY { + description + "EVPN Information Summary"; + leaf router-id { + type inet:ipv6-address; + description + "EVPN Router ID"; + } + leaf as { + type uint32; + description + "BGP AS number"; + } + leaf ev-is { + type uint32; + description + "Number of EVI DB Entries"; + } + leaf local-mac-routes { + type uint32; + description + "Number of Local MAC Routes"; + } + leaf local-ipv4-mac-routes { + type uint32; + description + "Number of Local IPv4 MAC-IP Routes"; + } + leaf local-ipv6-mac-routes { + type uint32; + description + "Number of Local IPv6 MAC-IP Routes"; + } + leaf es-global-mac-routes { + type uint32; + description + "Number of ES:Global MAC Routes"; + } + leaf remote-mac-routes { + type uint32; + description + "Number of Remote MAC Routes"; + } + leaf remote-soo-mac-routes { + type uint32; + description + "Number of Remote Soo MAC Routes"; + } + leaf remote-ipv4-mac-routes { + type uint32; + description + "Number of Remote IPv4 MAC-IP Routes"; + } + leaf remote-ipv6-mac-routes { + type uint32; + description + "Number of Remote IPv6 MAC-IP Routes"; + } + leaf local-imcast-routes { + type uint32; + description + "Number of Local IMCAST Routes"; + } + leaf remote-imcast-routes { + type uint32; + description + "Number of Remote IMCAST Routes"; + } + leaf labels { + type uint32; + description + "Number of Internal Labels"; + } + leaf es-entries { + type uint32; + description + "Number of ES Entries in DB"; + } + leaf neighbor-entries { + type uint32; + description + "Number of neighbor Entries in DB"; + } + leaf local-ead-routes { + type uint32; + description + "Number of Local EAD Entries in DB"; + } + leaf remote-ead-routes { + type uint32; + description + "Number of Remote EAD Entries in DB"; + } + leaf global-source-mac { + type yang:mac-address; + description + "Global Source MAC Address"; + } + leaf peering-time { + type uint32; + units "second"; + description + "EVPN ES Peering Time (seconds)"; + } + leaf recovery-time { + type uint32; + units "second"; + description + "EVPN ES Recovery Time (seconds)"; + } + leaf carving-time { + type uint32; + units "second"; + description + "EVPN ES Carving Time (seconds)"; + } + leaf mac-secure-move-count { + type uint32; + description + "Number of moves within the move interval before + locking the MAC"; + } + leaf mac-secure-move-interval { + type uint32; + description + "Interval to watch for subsequent mac moves + before locking the MAC"; + } + leaf mac-secure-freeze-time { + type uint32; + description + "Length of time to lock the mac after a MAC + security violation"; + } + leaf mac-secure-retry-count { + type uint32; + description + "Number of times to retry after a MAC un-freezes"; + } + leaf cost-out { + type boolean; + description + "EVPN Node Cost-out"; + } + leaf startup-cost-in-time { + type uint32; + units "minute"; + description + "EVPN Node startup cost-in Time (minutes)"; + } + leaf l2rib-throttle { + type boolean; + description + "Send to L2RIB Throttled"; + } + leaf logging-df-election-enabled { + type boolean; + description + "Logging EVPN Designated Forwarder changes + enabled"; + } + } + + grouping L2VPN-EVPN-EVI-SUMMARY { + description + "EVPN E-VPN ID database summary information"; + leaf evi-xr { + type uint32; + description + "E-VPN id"; + } + leaf bd-name { + type string; + description + "Bridge domain name"; + } + leaf type { + type L2vpn-evpn; + description + "Service Type"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper.yang new file mode 100644 index 0000000..29f0464 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-evpn-oper.yang @@ -0,0 +1,531 @@ +module Cisco-IOS-XR-evpn-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper"; + prefix evpn-oper; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-evpn-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR evpn package operational data. + + This module contains definitions + for the following management objects: + evpn: EVPN Operational Table + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rd-addr-index { + type uint32 { + range "0..65535"; + } + description + "Rd addr index"; + } + + typedef Bgp-route-target-role { + type enumeration { + enum "both" { + value 0; + description + "Both Import and export roles"; + } + enum "import" { + value 1; + description + "Import role"; + } + enum "export" { + value 2; + description + "Export role"; + } + } + description + "Bgp route target role"; + } + + typedef Bgp-route-target { + type enumeration { + enum "no-stitching" { + value 0; + description + "RT is default type"; + } + enum "stitching" { + value 1; + description + "RT is for stitching (Golf-L2)"; + } + } + description + "Bgp route target"; + } + + typedef Rdas-index { + type uint32 { + range "0..4294967295"; + } + description + "Rdas index"; + } + + typedef Rdas-range { + type uint32 { + range "1..4294967295"; + } + description + "Rdas range"; + } + + typedef Bgp-route-target-format { + type enumeration { + enum "none" { + value 0; + description + "No route target"; + } + enum "two-byte-as" { + value 1; + description + "2 Byte AS:nn format"; + } + enum "four-byte-as" { + value 2; + description + "4 byte AS:nn format"; + } + enum "ipv4-address" { + value 3; + description + "IP:nn format"; + } + enum "es-import" { + value 1538; + description + "a.a.i format"; + } + } + description + "Bgp route target format"; + } + + grouping EVI-TABLE { + description + "Common node of active, standby, node"; + container evis { + description + "L2VPN EVPN EVI Table"; + list evi { + key "evi"; + description + "L2VPN EVPN EVI Entry"; + leaf evi { + type int32; + description + "EVPN id"; + } + uses L2VPN-EVPN-EVI-SUMMARY; + } + } + } + + grouping AC-ID-TABLE { + description + "Common node of active, standby, node"; + container ac-ids { + description + "EVPN AC ID table"; + list ac-id { + description + "EVPN AC ID table"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf ac-id { + type int32; + description + "AC ID"; + } + uses L2VPN-EVPN-NEIGHBOR; + } + } + } + + grouping EVI-DETAIL { + description + "Common node of active, standby, node"; + container evi-detail { + description + "L2VPN EVI Detail Table"; + container elements { + description + "EVI BGP RT Detail Info Elements"; + list element { + key "evi"; + description + "EVI BGP RT Detail Info"; + leaf evi { + type int32; + description + "EVPN id"; + } + uses L2VPN-EVPN-EVI-DETAIL; + } + } + container evi-children { + description + "Container for all EVI detail info"; + container neighbors { + description + "EVPN Neighbor table"; + list neighbor { + description + "EVPN Neighbor table"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf neighbor-ip { + type inet:ip-address-no-zone; + description + "Neighbor IP"; + } + uses L2VPN-EVPN-NEIGHBOR; + } + } + container ethernet-auto-discoveries { + description + "EVPN Ethernet Auto-Discovery table"; + list ethernet-auto-discovery { + description + "EVPN Ethernet Auto-Discovery Entry"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf esi1 { + type xr:Hex-integer; + description + "ES id (part 1/5)"; + } + leaf esi2 { + type xr:Hex-integer; + description + "ES id (part 2/5)"; + } + leaf esi3 { + type xr:Hex-integer; + description + "ES id (part 3/5)"; + } + leaf esi4 { + type xr:Hex-integer; + description + "ES id (part 4/5)"; + } + leaf esi5 { + type xr:Hex-integer; + description + "ES id (part 5/5)"; + } + leaf ethernet-tag { + type int32; + description + "Ethernet Tag ID"; + } + uses L2VPN-EVPN-EAD; + } + } + container inclusive-multicasts { + description + "L2VPN EVPN IMCAST table"; + list inclusive-multicast { + description + "L2VPN EVPN IMCAST table"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf ethernet-tag { + type int32; + description + "Ethernet Tag"; + } + leaf originating-ip { + type inet:ip-address-no-zone; + description + "Originating IP"; + } + uses L2VPN-EVPN-IMCAST; + } + } + container route-targets { + description + "L2VPN EVPN EVI RT Child Table"; + list route-target { + description + "L2VPN EVPN EVI RT Table"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf role { + type Bgp-route-target-role; + description + "Role of the route target"; + } + leaf type { + type Bgp-route-target; + description + "Type of the route target"; + } + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + } + leaf as { + type Rdas-range; + description + "Two or Four byte AS Number"; + } + leaf as-index { + type Rdas-index; + description + "RT AS Index"; + } + leaf addr-index { + type Rd-addr-index; + description + "RT IP Index"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "RT IPv4 Address"; + } + uses L2VPN-EVPN-EVI-BGP-RT; + } + } + container macs { + description + "L2VPN EVPN EVI MAC table"; + list mac { + description + "L2VPN EVPN MAC table"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf ethernet-tag { + type int32; + description + "Ethernet Tag ID"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + uses L2VPN-EVPN-MAC; + } + } + } + } + } + + grouping ETHERNET-SEGMENT-TABLE { + description + "Common node of active, standby, node"; + container ethernet-segments { + description + "EVPN Ethernet-Segment Table"; + list ethernet-segment { + description + "EVPN Ethernet-Segment Entry"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf esi1 { + type xr:Hex-integer; + description + "ES id (part 1/5)"; + } + leaf esi2 { + type xr:Hex-integer; + description + "ES id (part 2/5)"; + } + leaf esi3 { + type xr:Hex-integer; + description + "ES id (part 3/5)"; + } + leaf esi4 { + type xr:Hex-integer; + description + "ES id (part 4/5)"; + } + leaf esi5 { + type xr:Hex-integer; + description + "ES id (part 5/5)"; + } + uses L2VPN-EVPN-ES; + } + } + } + + grouping SUMMARY { + description + "Common node of active, standby, node"; + container summary { + description + "L2VPN EVPN Summary"; + uses L2VPN-EVPN-SUMMARY; + } + } + + grouping INTERNAL-LABEL-TABLE { + description + "Common node of active, standby, node"; + container internal-labels { + description + "EVPN Internal Label Table"; + list internal-label { + description + "L2VPN EVPN Internal Label"; + leaf evi { + type int32; + description + "EVPN id"; + } + leaf esi1 { + type xr:Hex-integer; + description + "ES id (part 1/5)"; + } + leaf esi2 { + type xr:Hex-integer; + description + "ES id (part 2/5)"; + } + leaf esi3 { + type xr:Hex-integer; + description + "ES id (part 3/5)"; + } + leaf esi4 { + type xr:Hex-integer; + description + "ES id (part 4/5)"; + } + leaf esi5 { + type xr:Hex-integer; + description + "ES id (part 5/5)"; + } + leaf ethernet-tag { + type int32; + description + "Ethernet Tag ID"; + } + uses L2VPN-EVPN-LABEL; + } + } + } + + container evpn { + config false; + description + "EVPN Operational Table"; + container nodes { + description + "Table of EVPN operational data for a particular + node"; + list node { + key "node-id"; + description + "EVPN operational data for a particular node"; + leaf node-id { + type xr:Node-id; + description + "Location"; + } + uses EVI-TABLE; + uses SUMMARY; + uses EVI-DETAIL; + uses INTERNAL-LABEL-TABLE; + uses ETHERNET-SEGMENT-TABLE; + uses AC-ID-TABLE; + } + } + container active { + description + "Active EVPN operational data"; + uses EVI-TABLE; + uses SUMMARY; + uses EVI-DETAIL; + uses INTERNAL-LABEL-TABLE; + uses ETHERNET-SEGMENT-TABLE; + uses AC-ID-TABLE; + } + container standby { + description + "Standby EVPN operational data"; + uses EVI-TABLE; + uses SUMMARY; + uses EVI-DETAIL; + uses INTERNAL-LABEL-TABLE; + uses ETHERNET-SEGMENT-TABLE; + uses AC-ID-TABLE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fabhfr-mib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fabhfr-mib-cfg.yang new file mode 100644 index 0000000..27e399e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fabhfr-mib-cfg.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-fabhfr-mib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fabhfr-mib-cfg"; + prefix fabhfr-mib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fabhfr-mib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-31 { + description + "Yang Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container fabric-crs { + description + "CISCO-FABRIC-HFR-MIB notification configuration"; + leaf bundle-state { + type empty; + description + "Enable cfhBundleStateNotification notification"; + } + leaf plane-state { + type empty; + description + "Enable cfhPlaneStateNotification notification"; + } + leaf bundle-downed-link { + type empty; + description + "Enable cfhBundleDownedLinkNotification + notification"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-hw-profile-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-hw-profile-cfg.yang new file mode 100644 index 0000000..53b2c47 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-hw-profile-cfg.yang @@ -0,0 +1,483 @@ +module Cisco-IOS-XR-fia-hw-profile-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fia-hw-profile-cfg"; + prefix fia-hw-profile-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fia-hw-profile package configuration. + + This module contains definitions + for the following management objects: + hw-module-profile-config: none + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-22 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hw-module-profile-config { + description + "none"; + container profile { + description + "Configure profile."; + container tcam-table { + description + "Configure profile for TCAM LC cards"; + container fib-table { + description + "FIB table for TCAM LC cards"; + container ipv4-address { + description + "IPv4 table for TCAM LC cards"; + container ipv4-unicast { + description + "Unicast table for TCAM LC cards"; + container ipv4-unicast-prefix-lengths { + description + "IPv4 Unicast prefix "; + list ipv4-unicast-prefix-length { + key "prefix-length"; + description + "IPv4 Unicast prefix length"; + leaf ipv4-unicast-prefix-percent { + type string; + units "percentage"; + description + "curve out percentage of TCAM table + entries"; + } + leaf prefix-length { + type uint32 { + range "0..32"; + } + description + "prefix length"; + } + } + } + leaf ipv4-unicast-percent { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "curve out percentage of TCAM table entries"; + } + } + } + container ipv6-address { + description + "IPv6 table for TCAM LC cards"; + container ipv6-unicast { + description + "Unicast table for TCAM LC cards"; + container ipv6-unicast-prefix-lengths { + description + "IPv6 Unicast prefix "; + list ipv6-unicast-prefix-length { + key "prefix-length"; + description + "IPv6 Unicast prefix length"; + leaf ipv6-unicast-prefix-percent { + type string; + units "percentage"; + description + "curve out percentage of TCAM table + entries"; + } + leaf prefix-length { + type uint32 { + range "0..128"; + } + description + "prefix length"; + } + } + } + leaf ipv6-unicast-percent { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "curve out percentage of TCAM table entries"; + } + } + } + } + } + container load-balance { + description + "Configure load balance parameters"; + leaf load-balance-profile { + type int32; + description + "Configure load balance parameters"; + } + } + container stats { + description + "Configure stats"; + leaf counter-profile { + type int32; + description + "Configure stats for qos-enhanced and + acl-permit"; + } + } + container netflows { + description + "Configure Netflow profile."; + list netflow { + key "ipfix315-enable location-string location-id"; + description + "none"; + leaf ipfix315-enable { + type xr:Cisco-ios-xr-string; + description + "none"; + } + leaf location-string { + type xr:Cisco-ios-xr-string; + description + "Location of NETFLOW config"; + } + leaf location-id { + type int32; + description + "Location ID hex to Decimal 0xffff for all"; + } + leaf enable-val { + type int32; + mandatory true; + description + "If Enabled set value to 65535"; + } + } + } + container profile-acl { + description + "Configure acl profile"; + leaf egress { + type boolean; + description + "Enabled or disabled"; + } + } + container profile-tcam { + description + "Configure Tcam Profile"; + container key-format { + description + "none"; + container acl-tables { + description + "Configure acl profile"; + list acl-table { + key "address-family location-string location-id"; + description + "Configure format for acl profile"; + leaf address-family { + type xr:Cisco-ios-xr-string; + description + "ipv4/ipv6"; + } + leaf location-string { + type xr:Cisco-ios-xr-string; + description + "Location string (all) if for all LCs"; + } + leaf location-id { + type int32; + description + "Location ID hex to Decimal 0xffff for all"; + } + leaf source-addr { + type int32; + description + "Source Address 32 bit qual"; + } + leaf destination-addr { + type int32; + description + "Destination Address 32 bit qual"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf dest-port { + type int32; + description + "Destination Port"; + } + leaf prot-type { + type int32; + description + "Protocol Type"; + } + leaf tcp-flag { + type int32; + description + "TCP Flags"; + } + leaf pack-len { + type int32; + description + "Packet Length"; + } + leaf frag-bit { + type int32; + description + "Fragment Bit"; + } + leaf precedence { + type int32; + description + "Precedence"; + } + leaf port-range { + type int32; + description + "PortRange"; + } + leaf udf1 { + type string; + description + "UDF name"; + } + leaf udf2 { + type string; + description + "UDF name"; + } + leaf udf3 { + type string; + description + "UDF name"; + } + leaf udf4 { + type string; + description + "UDF name"; + } + leaf udf5 { + type string; + description + "UDF name"; + } + leaf udf6 { + type string; + description + "UDF name"; + } + leaf udf7 { + type string; + description + "UDF name"; + } + leaf udf8 { + type string; + description + "UDF name"; + } + leaf en-capture { + type int32; + description + "Enable Capture"; + } + leaf en-ttl { + type int32; + description + "Enable Setting TTL"; + } + leaf en-match { + type int32; + description + "Enable Matching TTL"; + } + leaf en-share-acl { + type int32; + description + "Enable Non Shared Interface ACL"; + } + } + } + } + } + container qos { + description + "Configure profile."; + container hqos-enable-all { + description + "Configure Hqos profile"; + leaf hqos-enable { + type int32; + description + " Hqos profile value"; + } + } + container ingress-model-root-def { + description + "Configure Ingress Model Default"; + leaf ingress-model-leaf-def { + type int32; + description + "Ingress Model Default"; + } + } + container ingress-models { + description + "Configure Ingress Model Root"; + list ingress-model { + key "node-name"; + description + "Configure Ingress Model"; + leaf node-name { + type xr:Cisco-ios-xr-string; + description + "NodeName"; + } + list ingress-model-leaf { + key "location"; + description + "Configure Ingress Model Leaf"; + leaf ingress-model-leaf { + type int32; + mandatory true; + description + "IngressModelLeaf"; + } + leaf location { + type int32; + description + "Location"; + } + } + } + } + container trunks { + description + "Configure Max Trunk Size"; + leaf trunk-size { + type int32; + description + "Max Trunk Size"; + } + } + container class-maps-root-def { + description + "Configure Class Maps Default"; + leaf class-map-size-def { + type int32; + description + "Class Map Size Default"; + } + } + container class-maps { + description + "Configure Class Map Root"; + list class-map { + key "node-name"; + description + "Configure Class Maps"; + leaf node-name { + type xr:Cisco-ios-xr-string; + description + "NodeName"; + } + list class-map-size { + key "location"; + description + "Class Map Size"; + leaf class-map-size { + type int32; + mandatory true; + description + "ClassMapSize"; + } + leaf location { + type int32; + description + "Location"; + } + } + } + } + } + } + container fib-scale { + description + "Configure Fib for Scale for noTcam LC."; + container ipv6-unicast-scale-no-tcam { + description + "IPv6 table for NOTCAM LC Scale."; + container scale-ipv6-no-tcam { + description + "Scale for IPv6 table for NoTCAM LC."; + leaf internet-optimized-ipv6-no-tcam { + type string; + description + "Internet-optimized Scale for IPv6 table for + NoTCAM LC."; + } + } + } + container ipv4-unicast-scale-no-tcam { + description + "IPv4 table for NOTCAM LC Scale."; + container scale-ipv4-no-tcam { + description + "Scale for IPv4 table for NoTCAM LC."; + leaf optimized-ipv4-no-tcam { + type string; + description + "Optimized Scale for IPv4 table for NoTCAM LC."; + } + } + } + } + container tcam { + description + "Configure Tcam."; + container fib-tcam-scale { + description + "Configure Fib iscale for Tcam."; + container ipv4-unicast-scale { + description + "IPv4 table for TCAM LC Scale."; + leaf ipv4-scale { + type empty; + description + "Scale for IPv4 table for TCAM LC."; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang new file mode 100644 index 0000000..aee12dc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper-sub1.yang @@ -0,0 +1,114 @@ +submodule Cisco-IOS-XR-fia-internal-tcam-oper-sub1 { + belongs-to Cisco-IOS-XR-fia-internal-tcam-oper { + prefix Cisco-IOS-XR-fia-internal-tcam-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fia-internal-tcam package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FIA-TCAM-DB { + description + "FIA TCAM DB"; + leaf db-id { + type uint32; + description + "db id"; + } + leaf db-inuse-entries { + type uint32; + description + "db inuse entries"; + } + leaf db-prefix { + type string; + description + "db prefix"; + } + } + + grouping FIA-TCAM-BANK { + description + "FIA TCAM BANK"; + leaf bank-id { + type string; + description + "bank id"; + } + leaf bank-key-size { + type string; + description + "bank key size"; + } + leaf bank-free-entries { + type uint32; + description + "bank free entries"; + } + leaf bank-inuse-entries { + type uint32; + description + "bank inuse entries"; + } + leaf owner { + type string; + description + "owner"; + } + leaf nof-dbs { + type uint32; + description + "nof dbs"; + } + list bank-db { + description + "bank db"; + uses FIA-TCAM-DB; + } + } + + grouping FIA-NPU-TCAM { + description + "FIA NPU TCAM"; + leaf npu-id { + type uint32; + description + "npu id"; + } + list tcam-bank { + description + "tcam bank"; + uses FIA-TCAM-BANK; + } + } + + grouping FIA-CARD-TCAM { + description + "FIA CARD TCAM"; + list npu-tcam { + description + "npu tcam"; + uses FIA-NPU-TCAM; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper.yang new file mode 100644 index 0000000..5a55130 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fia-internal-tcam-oper.yang @@ -0,0 +1,73 @@ +module Cisco-IOS-XR-fia-internal-tcam-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fia-internal-tcam-oper"; + prefix fia-internal-tcam-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fia-internal-tcam-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fia-internal-tcam package operational data. + + This module contains definitions + for the following management objects: + controller: Controller Resources + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container controller { + config false; + description + "Controller Resources"; + container dpa { + description + "Controller DPA operational data"; + container nodes { + description + "DPA data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container external-tcam-resources { + description + "External TCAM Resource Information"; + uses FIA-CARD-TCAM; + } + container internal-tcam-resources { + description + "Internal TCAM Resource Information"; + uses FIA-CARD-TCAM; + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-cef-lba-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-cef-lba-cfg.yang new file mode 100644 index 0000000..7718ab0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-cef-lba-cfg.yang @@ -0,0 +1,50 @@ +module Cisco-IOS-XR-fib-cef-lba-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fib-cef-lba-cfg"; + prefix fib-cef-lba-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fib-cef-lba package configuration. + + This module contains definitions + for the following management objects: + fiblb: FIB load-balancing + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container fiblb { + description + "FIB load-balancing"; + leaf fields { + type uint32 { + range "0..1"; + } + description + "Specify number of fields used for the load + balancing"; + } + leaf payload { + type boolean; + description + "Payload Load-Balancing"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-cfg.yang new file mode 100644 index 0000000..20fc52b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-cfg.yang @@ -0,0 +1,140 @@ +module Cisco-IOS-XR-fib-common-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-cfg"; + prefix fib-common-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fib-common package configuration. + + This module contains definitions + for the following management objects: + fib: CEF configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fib-pbts-forward-class { + type union { + type enumeration { + enum "any" { + value 8; + description + "Any class"; + } + } + type uint32 { + range "0..8"; + } + } + description + "Fib pbts forward class"; + } + + typedef Fib-pbts-fallback { + type enumeration { + enum "list" { + value 1; + description + "Fallback to class number list"; + } + enum "any" { + value 2; + description + "Fallback to any class"; + } + enum "drop" { + value 3; + description + "Fallback to drop"; + } + } + description + "Fib pbts fallback"; + } + + container fib { + description + "CEF configuration"; + container pbts-forward-class-fallbacks { + description + "PBTS class configuration"; + list pbts-forward-class-fallback { + key "forward-class-number"; + description + "Set PBTS class for fallback"; + leaf forward-class-number { + type Fib-pbts-forward-class; + description + "PBTS forward class number"; + } + leaf fallback-type { + type Fib-pbts-fallback; + mandatory true; + description + "Set PBTS fallback type"; + } + leaf-list fallback-class-number-array { + type uint32 { + range "0..7"; + } + max-elements "7"; + description + "Set PBTS fallback class number array"; + } + } + } + container platform { + description + "FIB platform parameters"; + container label-switched-multicast { + description + "Options for label-switched-multicast parameters"; + leaf frr-holdtime { + type uint32 { + range "3..180"; + } + units "second"; + description + "Set time to keep FRR slots programmed post FRR"; + } + } + } + leaf prefer-aib-routes { + type boolean; + description + "Set options for adjacency routes overriding RIB + routes"; + } + leaf frr-follow-bgp-pic { + type boolean; + description + "Set option for fast-reroute to follow BGP PIC + update, not to wait for timeout"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub1.yang new file mode 100644 index 0000000..608fa7f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub1.yang @@ -0,0 +1,416 @@ +submodule Cisco-IOS-XR-fib-common-oper-sub1 { + belongs-to Cisco-IOS-XR-fib-common-oper { + prefix Cisco-IOS-XR-fib-common-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mgmt-fib-mpls-frr-state { + type enumeration { + enum "partial" { + value 0; + description + "Partial"; + } + enum "active" { + value 1; + description + "Active"; + } + enum "ready" { + value 2; + description + "Ready"; + } + enum "complete" { + value 3; + description + "Complete"; + } + enum "any" { + value 4; + description + "Any"; + } + } + description + "MPLS FRR entry state"; + } + + typedef Mgmt-fib-mpls-lsp-role { + type enumeration { + enum "head" { + value 0; + description + "Head"; + } + enum "midpoint" { + value 1; + description + "Midpoint"; + } + } + description + "MPLS FRR entry role"; + } + + grouping FIB-MPLS-FRR-DB-MCAST-LEGS { + description + "FIB MPLS FRR DB MCAST LEGS"; + container frr-entry-id { + description + "FRR entry ID"; + uses FIB-MPLS-FRR-DB-ENTRY-GEN-ID; + } + leaf tunnel-interface-name { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf input-label { + type uint32; + description + "Input label"; + } + leaf outgoing-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf outgoing-label { + type uint32; + description + "Outgoing label"; + } + leaf frr-interface-name { + type xr:Interface-name; + description + "FRR interface"; + } + leaf frr-label { + type uint32; + description + "FRR output label"; + } + leaf entry-frr-state { + type Mgmt-fib-mpls-frr-state; + description + "MPLS FRR entry state"; + } + leaf frr-next-hop-ipv4-address { + type inet:ipv4-address; + description + "Next hop IPv4 address"; + } + leaf is-mldp-lsp { + type boolean; + description + "MLDP or P2MP-TE"; + } + } + + grouping FIB-MPLS-FRR-DB-ENTRY-MID-ID { + description + "FIB MPLS FRR DB ENTRY MID ID"; + leaf source-address { + type inet:ipv4-address; + description + "Source IPv4 address"; + } + leaf lspid { + type uint32; + description + "LSP ID"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + } + + grouping FIB-MPLS-FRR-DB-ENTRY-HEAD-ID { + description + "FIB MPLS FRR DB ENTRY HEAD ID"; + leaf destination-prefix { + type inet:ipv4-address; + description + "Destination prefix"; + } + leaf destination-prefix-length { + type uint32; + description + "Destination prefix length"; + } + } + + grouping FIB-MPLS-FRR-DB-ENTRY-GEN-ID { + description + "FIB MPLS FRR DB ENTRY GEN ID"; + container head { + when "../role = 'head'" { + description + "../Role = 'Head'"; + } + description + "head"; + uses FIB-MPLS-FRR-DB-ENTRY-HEAD-ID; + } + container midpoint { + when "../role = 'midpoint'" { + description + "../Role = 'Midpoint'"; + } + description + "midpoint"; + uses FIB-MPLS-FRR-DB-ENTRY-MID-ID; + } + leaf role { + type Mgmt-fib-mpls-lsp-role; + description + "Role"; + } + } + + grouping FIB-MPLS-FRR-DB-ENTRY { + description + "FIB MPLS FRR DB ENTRY"; + container frr-entry-id { + description + "FRR entry ID"; + uses FIB-MPLS-FRR-DB-ENTRY-GEN-ID; + } + leaf tunnel-interface-name { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf input-label { + type uint32; + description + "Input label"; + } + leaf outgoing-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf outgoing-label { + type uint32; + description + "Outgoing label"; + } + leaf frr-interface-name { + type xr:Interface-name; + description + "FRR interface"; + } + leaf frr-label { + type uint32; + description + "FRR output label"; + } + leaf entry-frr-state { + type Mgmt-fib-mpls-frr-state; + description + "MPLS FRR entry state"; + } + leaf frr-next-hop-ipv4-address { + type inet:ipv4-address; + description + "Next hop IPv4 address"; + } + leaf is-mldp-lsp { + type boolean; + description + "MLDP or P2MP-TE"; + } + leaf is-multicast-tunnel { + type boolean; + description + "Multicast tunnel"; + } + leaf multicast-tunnel-legs { + type uint32; + description + "Number of legs in MCAST tunnel"; + } + list multicast-leg { + description + "MCAST legs"; + uses FIB-MPLS-FRR-DB-MCAST-LEGS; + } + } + + grouping FIB-MPLS-FRR-DB-SUM { + description + "FIB MPLS FRR DB SUM"; + leaf active { + type uint32; + description + "Number of FRR rewrites in Active state"; + } + leaf ready { + type uint32; + description + "Number of FRR rewrites in Ready state"; + } + leaf partial { + type uint32; + description + "Number of FRR rewrites in Partial state"; + } + leaf other { + type uint32; + description + "Number of FRR rewrites in an unrecognized state"; + } + } + + grouping FIB-MPLS-SH-TUN-INFO { + description + "Information about TE-head tunnel LI"; + leaf tunnel-interface-name { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf tunnel-local-label { + type uint32; + description + "Tunnel Local label"; + } + leaf tunnel-fwd-class { + type uint8; + description + "Tunnel Forward Class"; + } + leaf tunnel-load-metric { + type uint8; + description + " Tunnel Load Metric"; + } + leaf tunnel-is-srte { + type boolean; + description + "Is Tunnel SRTE"; + } + leaf tunnel-resolution-incomplete { + type boolean; + description + "Tunnel head resolution is incomplete"; + } + leaf tunnel-resolution-inconsistent { + type boolean; + description + "Tunnel head resolition is inconsitent b/w TEhead + and Local label"; + } + leaf tunnel-is-programmed-to-drop { + type boolean; + description + "Is Tunnel programmed as drop"; + } + } + + grouping FIB-MPLS-TIMESPEC { + description + "FIB MPLS TIMESPEC"; + leaf seconds { + type int32; + units "second"; + description + "Seconds part of time valueiin UTC"; + } + leaf nanoseconds { + type int32; + units "nanosecond"; + description + "Nanoseconds part of time value"; + } + } + + grouping FIB-MPLS-FRR-EVENT { + description + "FIB MPLS FRR EVENT"; + container start-time { + description + "Time of FRR event processing start, Seconds in + UTC, and Nano Seconds"; + uses FIB-MPLS-TIMESPEC; + } + leaf protected-frr-interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf next-hop { + type uint32; + description + "Next Hop"; + } + leaf number-of-rewrites-affected { + type uint32; + description + "Number of rewrites affected"; + } + leaf switching-time-nsecs { + type uint32; + units "nanosecond"; + description + "Time to switch rewrites [nsecs]"; + } + leaf main-processing { + type uint32; + description + "Main Processing for FRR"; + } + leaf fast-bundle-member-down-interface { + type uint32; + description + "Fast Bundle Member Down Interface"; + } + leaf frr-event-node-id { + type xr:Node-id; + description + "Node on which the FRR event happened"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub2.yang new file mode 100644 index 0000000..654b3bd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub2.yang @@ -0,0 +1,728 @@ +submodule Cisco-IOS-XR-fib-common-oper-sub2 { + belongs-to Cisco-IOS-XR-fib-common-oper { + prefix Cisco-IOS-XR-fib-common-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fib-common-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Next-hop { + type enumeration { + enum "tx" { + value 0; + description + "TX"; + } + enum "rx" { + value 1; + description + "RX"; + } + enum "special" { + value 2; + description + "Special"; + } + } + description + "MPLS Forwarding Next Hop Type"; + } + + typedef Proto { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4"; + } + enum "ipv6" { + value 1; + description + "IPv6"; + } + enum "mpls" { + value 2; + description + "MPLS"; + } + } + description + "MPLS Forwarding Protocol Type"; + } + + grouping MPLS-FRR-DB-ENTRY { + description + "MPLS FRR DB ENTRY"; + container frr-db { + description + "FRR DB"; + uses FIB-MPLS-FRR-DB-ENTRY; + } + leaf outgoing-lable-string { + type string; + description + "Output label in string format"; + } + leaf frr-lable-string { + type string; + description + "FRR label in string format"; + } + } + + grouping MPLS-SH-TEHEAD { + description + "Information about TE tunnel head"; + container tunnel-info { + description + "Tunnel head information"; + uses FIB-MPLS-SH-TUN-INFO; + } + container fwdg { + description + "Tunnel forwarding information"; + uses MPLS-SH-LEAF; + } + } + + grouping MPLS-LABEL-SECURITY-SUMMARY { + description + "MPLS LABEL SECURITY SUMMARY"; + leaf rpf-drops { + type uint64; + description + "RPF drops"; + } + leaf multi-label-drops { + type uint64; + description + "Multi-label drops"; + } + } + + grouping MPLS-LABEL-SECURITY-INTF { + description + "MPLS LABEL SECURITY INTF"; + leaf rpf-enabled { + type boolean; + description + "RPF is enabled on interface"; + } + leaf rpf-supported { + type boolean; + description + "RPF stats supported per interface"; + } + leaf mld-enabled { + type boolean; + description + "Multi-label drop is enabled on interface"; + } + leaf mld-supported { + type boolean; + description + "Multi-label drop counters are supported per + interface"; + } + leaf rpf-drops { + type uint64; + description + "RPF drops"; + } + leaf multi-label-drops { + type uint64; + description + "Multi-label drops"; + } + leaf rpfifh { + type xr:Interface-name; + description + "RPF interface handle"; + } + } + + grouping MPLS-MCAST-INFO { + description + "Information for mpls multicast entries"; + leaf multicast-mol-base-flags { + type uint32; + description + "MOL base flags"; + } + leaf multicast-mol-flags { + type uint16; + description + "MOL flags"; + } + leaf multicast-mol-referance-count { + type uint16; + description + "MOL refcount"; + } + leaf multicast-tunnel-interface-handler { + type xr:Interface-name; + description + "multicast mpls tunnel"; + } + leaf multicast-tunnel-id { + type uint32; + description + "multicast mpls P2MP-TE tunnel id or MLDP Tunnel + LSMID on all nodes"; + } + leaf multicast-tunnel-next-hop-information { + type uint32; + description + "multicast nhinfo for p2mp TE Head"; + } + leaf multicast-tunnel-lspvif { + type uint32; + description + "multicast LSPVIF for MLDP Tunnels"; + } + leaf multicast-mpls-output-paths { + type uint16; + description + "num multicast mpls output paths "; + } + leaf multicast-mpls-protocol-output-paths { + type uint16; + description + "num multicast mpls prot output paths "; + } + leaf multicast-mpls-local-output-paths { + type uint16; + description + "num multicast mpls local output paths"; + } + leaf multicast-rpf-id { + type uint32; + description + "The multicast RPF-ID "; + } + leaf multicast-encap-id { + type uint32; + description + "The multicast ENCAP-ID "; + } + leaf multicast-platform-data-length { + type uint8; + description + "The multicast platform data len"; + } + leaf multicast-platform-data { + type yang:hex-string; + description + "The multicast platform data"; + } + } + + grouping MPLS-LDI-INFO { + description + "Detailed load sharing information for mpls table + entries"; + leaf ldi-hardware-information { + type yang:hex-string; + description + "Hardware info"; + } + } + + grouping MPLS-ADJ-EXACT-ROUTE-HASH-INFO { + description + "MPLS Adj Exact-Route Hash info"; + leaf hash-index-is-valid { + type boolean; + description + "Is Hash Index valid?"; + } + leaf hash-index { + type uint8; + description + "Hash Index value"; + } + } + + grouping MPLS-FWD-INFO { + description + "MPLS FWD INFO"; + leaf l3-mtu { + type uint32; + description + "L3 MTU"; + } + leaf total-encapsulation-size { + type uint32; + description + "Total encapsulation size: L2 + MPLS"; + } + leaf mac-size { + type uint32; + description + "Length of L2 encapsulation"; + } + leaf transmit-number-of-packets-switched { + type uint64; + description + "Number of packets switched"; + } + leaf transmit-number-of-bytes-switched { + type uint64; + units "byte"; + description + "Number of Bytes switched"; + } + leaf status { + type int32; + description + "Status"; + } + leaf next-hop-interface { + type xr:Interface-name; + description + "Next hop interface"; + } + leaf next-hop-protocol { + type Proto; + description + "The address family (V4/V6) "; + } + leaf next-hop-string { + type string; + description + "Next hop address in string format"; + } + list label-stack { + description + "Label stack"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-ADJ-INFO { + description + "MPLS ADJ INFO"; + container label-information-detail { + description + "Detail label info"; + uses MPLS-FWD-INFO; + } + container exact-route-hash-info { + description + "Path's Hash info in case of exact-route command"; + uses MPLS-ADJ-EXACT-ROUTE-HASH-INFO; + } + leaf label-information-type { + type uint32; + description + "Label-Info type"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + leaf outgoing-label { + type uint32; + description + "Outgoing label"; + } + leaf mpls-adjacency-flags { + type uint32; + description + "MPLS Adjacency flags"; + } + leaf tunnel-id-present { + type boolean; + description + "Tunnel id present?"; + } + leaf outgoing-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf outgoing-physical-interface { + type xr:Interface-name; + description + "Outgoing Physical Interface"; + } + leaf outgoing-parent-interface { + type xr:Interface-name; + description + "Outgoing Parent Interface"; + } + leaf tunnel-interface { + type xr:Interface-name; + description + "Tunnel Interface"; + } + leaf label-information-path-index { + type uint32; + description + "LabelInformationPathIndex"; + } + leaf label-information-next-hop-type { + type Next-hop; + description + "NHinfo Type"; + } + leaf label-information-next-hop-protocol { + type Proto; + description + "The address family (v4/v6) "; + } + leaf tx-bytes { + type uint64; + units "byte"; + description + "Bytes transmitted per LSP"; + } + leaf tx-packets { + type uint64; + description + "Packets transmitted per LSP"; + } + leaf outgoing-interface-string { + type string; + description + "Output Interface in string format"; + } + leaf outgoing-label-string { + type string; + description + "Output Label in string format"; + } + leaf prefix-or-id { + type string; + description + "Prefix Or ID"; + } + leaf label-information-next-hop-string { + type string; + description + "Next hop address in string format"; + } + leaf label-information-route-version { + type uint64; + description + "The version of the route"; + } + leaf label-information-time-in-milli-seconds { + type uint64; + description + "The time of last update in msec"; + } + } + + grouping MPLS-SH-LEAF { + description + "Information about label leaf"; + container ldi-information { + description + "LDI-info in FIB leaf"; + uses MPLS-LDI-INFO; + } + container multicast-information { + description + "The multicast info"; + uses MPLS-MCAST-INFO; + } + leaf leaf-local-label { + type uint32; + description + "Local label"; + } + leaf eos-bit { + type uint32; + description + "EOS bit"; + } + leaf hardware-information { + type yang:hex-string; + description + "Hardware info"; + } + leaf leaf-referance-count { + type uint32; + description + "Number of references to the leaf"; + } + leaf leaf-flags { + type uint32; + description + "The leaf flags"; + } + leaf path-list-referance-count { + type uint32; + description + "Number of references to the pathlist"; + } + leaf path-list-flags { + type uint32; + description + "The pathlist flags"; + } + leaf ldi-referance-count { + type uint32; + description + "Number of references to the LDI"; + } + leaf ldi-flags { + type uint32; + description + "The LDI flags"; + } + leaf ldi-type { + type uint32; + description + "The LDI type"; + } + leaf ldi-pointer { + type uint32; + description + "The pointer to the LDI"; + } + leaf lw-ldi-type { + type uint32; + description + "The LW-LDI type"; + } + leaf lw-ldi-pointer { + type uint32; + description + "The pointer to the LW-LDI"; + } + leaf lw-ldi-refernace-count { + type uint32; + description + "The LW-LDI refcounter"; + } + leaf lw-shared-ldi-pointer { + type uint32; + description + "The pointer to the shared LDI in LW-LDI"; + } + leaf lspa-flags { + type uint32; + description + "The LSPA flags"; + } + leaf afi-table-id { + type uint32; + description + "The AFI table ID"; + } + leaf multicast-label { + type boolean; + description + "The unicast or multicast label"; + } + leaf leaf-time-in-milli-seconds { + type uint64; + description + "The time of last update in msec"; + } + list label-information { + description + "Label-infos in FIB leaf"; + uses MPLS-ADJ-INFO; + } + } + + grouping MPLS-FWDING-SUMMARY { + description + "MPLS FWDING SUMMARY"; + leaf ipv4-imposition-entries { + type uint32; + description + "Number of IPv4 imposition entries"; + } + leaf reserved-label-entries { + type uint32; + description + "Number of reserved label entries"; + } + leaf label-switched-entries { + type uint32; + description + "Number of label swap/disposition entries"; + } + leaf deleted-stale-entries { + type uint32; + description + "Number of delete stale label entries"; + } + leaf te-head-entries { + type uint32; + description + "Number of TE tunnel head imposition entries"; + } + leaf te-frr-head-entries { + type uint32; + description + "Number of TE FRR tunnel head imposition entries"; + } + leaf te-frr-interface-entries { + type uint32; + description + "Number of TE FRR protected interface entries"; + } + leaf te-frr-next-hop-entries { + type uint32; + description + "Number of TE FRR protected next-hop entries"; + } + leaf te-mid-points-entries { + type uint32; + description + "Number of TE MidPoints forwarding entries"; + } + leaf te-frr-mid-points-entries { + type uint32; + description + "Number of TE FRR MidPoints forwarding entries"; + } + leaf te-internal-entries { + type uint32; + description + "Number of TE internal forwarding entries"; + } + leaf te-frr-internal-entries { + type uint32; + description + "Number of TE internal forwarding entries"; + } + leaf total-forwarding-updates { + type uint32; + description + "Total forwarding updates from LSD to LFDs"; + } + leaf total-forwarding-update-messages { + type uint32; + description + "Total forwarding update messages from LSD to + LFDs"; + } + leaf total-p2mp-forwarding-updates { + type uint32; + description + "Total forwarding updates from MRIB to LFDs"; + } + leaf total-p2mp-forwarding-added-or-modify-messages { + type uint32; + description + "Total p2mp forwarding add/modify messages from + MRIB to LFDs"; + } + leaf total-p2mp-forwarding-delete-messages { + type uint32; + description + "Total p2mp forwarding del messages from MRIB to + LFDs"; + } + leaf total-p2mp-forwarding-drop-messages { + type uint32; + description + "Total p2mp forwarding messages dropped from MRIB + to LFDs"; + } + leaf total-p2mp-iir-forwarding-drop-messages { + type uint32; + description + "Total IIR triggered p2mp forwarding MRIB + messages dropped"; + } + leaf lowest-label { + type uint32; + description + "Lowest label in use"; + } + leaf highest-label { + type uint32; + description + "Highest Label in use"; + } + leaf ignore-protect { + type uint32; + description + "Number of TE tunnels treated as non-protected"; + } + leaf mte-head-entries { + type uint32; + description + "Number of MTE tunnel head entries"; + } + leaf mte-ll-entries { + type uint32; + description + "Number of MTE local entries"; + } + leaf mte-midpoint-entries { + type uint32; + description + "Number of MTE midpoint entries"; + } + leaf global-dropped-packets { + type uint64; + description + "Number of global FIB packets dropped"; + } + leaf global-fragmented-packets { + type uint64; + description + "Number of global FIB packets fragmented"; + } + leaf global-failed-lookups { + type uint64; + description + "Number of global failed lookups"; + } + leaf lrpf-entries { + type uint32; + description + "Number of labels with RPF"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub3.yang new file mode 100644 index 0000000..938e445 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub3.yang @@ -0,0 +1,4008 @@ +submodule Cisco-IOS-XR-fib-common-oper-sub3 { + belongs-to Cisco-IOS-XR-fib-common-oper { + prefix Cisco-IOS-XR-fib-common-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fib-mpls-llc-entry-bag { + type enumeration { + enum "fib-mpls-llc-bag-type-xc" { + value 1; + description + "fib mpls llc bag type xc"; + } + enum "fib-mpls-llc-bag-type-pfx" { + value 2; + description + "fib mpls llc bag type pfx"; + } + enum "fib-mpls-llc-bag-type-lsm" { + value 3; + description + "fib mpls llc bag type lsm"; + } + enum "fib-mpls-llc-bag-type-max" { + value 4; + description + "fib mpls llc bag type max"; + } + } + description + "Fib mpls llc entry bag"; + } + + typedef Fib-rpf-mode { + type enumeration { + enum "fib-rpf-mode-strict" { + description + "RPF mode strict"; + } + enum "fib-rpf-mode-loose" { + description + "RPF mode loose"; + } + enum "fib-rpf-mode-unknown" { + description + "RPF mode unknown"; + } + } + description + "RPF mode types"; + } + + typedef Fibidb-oper { + type enumeration { + enum "fibidb-none" { + value 0; + description + "fibidb none"; + } + enum "fibidb-create" { + value 1; + description + "fibidb create"; + } + enum "fibidb-delete" { + value 2; + description + "fibidb delete"; + } + enum "fibidb-modify" { + value 3; + description + "fibidb modify"; + } + enum "fibidb-max" { + value 4; + description + "fibidb max"; + } + } + description + "Fibidb oper"; + } + + typedef Fib-sh-tbl-fib-ext-bag { + type enumeration { + enum "leaf-extension" { + value 1; + description + "Leaf Extension"; + } + } + description + "Fib sh tbl fib ext bag"; + } + + typedef Fib-update-path-lfa-protection { + type enumeration { + enum "not-lfa-protected" { + description + "Not LFA-protected"; + } + enum "local-lfa-protected" { + description + "Local-LFA protected"; + } + enum "remote-lfa-protected" { + description + "Remote-LFA protected"; + } + enum "ti-lfa-protected" { + description + "TI-LFA protected"; + } + } + description + "LFA protection type"; + } + + typedef Fib-sh-ipencap-hdr { + type enumeration { + enum "fib-sh-ip-encap-none" { + description + "No Header"; + } + enum "fib-sh-ip-encap-ip4" { + description + "IPv4 Header"; + } + enum "fib-sh-ip-encap-ip6" { + description + "IPv6 Header"; + } + enum "fib-sh-ip-encap-udp" { + description + "UDP Header"; + } + enum "fib-sh-ip-encap-lisp" { + description + "Lisp Header"; + } + } + description + "IP Encap Header Type"; + } + + typedef Fib-neh-special { + type enumeration { + enum "nh-not-found" { + description + "nh not found"; + } + enum "nh-null0" { + description + "nh null0"; + } + enum "nh-punt" { + description + "nh punt"; + } + enum "nh-drop" { + description + "nh drop"; + } + enum "nh-glean" { + description + "nh glean"; + } + enum "nh-receive" { + description + "nh receive"; + } + enum "nh-broadcast" { + description + "nh broadcast"; + } + enum "nh-external" { + description + "nh external"; + } + enum "nh-lisp" { + description + "nh lisp"; + } + enum "nh-lookup" { + description + "nh lookup"; + } + enum "nh-max-type" { + description + "nh max type"; + } + } + description + "Fib neh special"; + } + + typedef Fib-neh { + type enumeration { + enum "nh-local" { + description + "nh local"; + } + enum "nh-remote" { + description + "nh remote"; + } + enum "nh-special" { + description + "nh special"; + } + } + description + "Fib neh"; + } + + typedef Fib-adjacency-show { + type enumeration { + enum "fib-adjacency-normal" { + description + "Normal adjacency"; + } + enum "fib-adjacency-null" { + description + "Null adjacency"; + } + enum "fib-adjacency-punt" { + description + "Punt adjacency"; + } + enum "fib-adjacency-drop" { + description + "Drop adjacency"; + } + enum "fib-adjacency-glean" { + description + "Glean adjacency"; + } + enum "fib-adjacency-discard" { + description + "Discard adjacency"; + } + enum "fib-adjacency-broadcast" { + description + "Broadcast adjacency"; + } + enum "fib-adjacency-external" { + description + "external adjacency"; + } + enum "fib-adjacency-lisp" { + description + "LISP adjacency"; + } + enum "fib-adjacency-unknown" { + description + "Unknown adjacency"; + } + } + description + "Adjacency types"; + } + + typedef Fib-loadshare-show { + type enumeration { + enum "fib-load-share-none" { + description + "No loadsharing"; + } + enum "fib-load-share-per-packet" { + description + "Per packet loadsharing"; + } + enum "fib-load-share-dest-sharing" { + description + "Destination loadsharing"; + } + } + description + "Loadsharing type"; + } + + typedef Fib-nhinfo-ext-bag { + type enumeration { + enum "replicated-nh-info" { + description + "Replicated NHINFO"; + } + enum "shared-nh-info" { + description + "Shared NHINFO"; + } + } + description + "FIB NHINFO extension type"; + } + + typedef Fib-frr-protocol-show { + type enumeration { + enum "frr-protocol-ipv4" { + description + "frr protocol ipv4"; + } + enum "frr-protocol-ipv6" { + description + "frr protocol ipv6"; + } + enum "frr-protocol-mpls" { + description + "frr protocol mpls"; + } + } + description + "Fib frr protocol show"; + } + + typedef Ss-lba-state { + type enumeration { + enum "l3" { + description + "L3 Load Balance config"; + } + enum "l4" { + description + "L4 Load Balance config"; + } + } + description + "Load Balance config"; + } + + grouping FIB-MPLS-LLC-LSM { + description + "FIB MPLS LLC LSM"; + leaf nh { + type string { + length "0..52"; + } + description + "nh"; + } + leaf mcast-id { + type uint32; + description + "mcast id"; + } + } + + grouping FIB-MPLS-LLC-PFX { + description + "FIB MPLS LLC PFX"; + leaf pfx { + type string { + length "0..52"; + } + description + "pfx"; + } + leaf tbl-id { + type uint32; + description + "tbl id"; + } + } + + grouping FIB-MPLS-LLC-TYPE-EXT { + description + "FIB MPLS LLC TYPE EXT"; + container pfx { + when "../type = 'fib-mpls-llc-bag-type-pfx'" { + description + "../type = 'FIB_MPLS_LLC_BAG_TYPE_PFX'"; + } + description + "pfx"; + uses FIB-MPLS-LLC-PFX; + } + container lsm { + when "../type = 'fib-mpls-llc-bag-type-lsm'" { + description + "../type = 'FIB_MPLS_LLC_BAG_TYPE_LSM'"; + } + description + "lsm"; + uses FIB-MPLS-LLC-LSM; + } + leaf type { + type Fib-mpls-llc-entry-bag; + description + "type"; + } + } + + grouping FIB-MPLS-LLC { + description + "FIB MPLS LLC"; + container ext { + description + "ext"; + uses FIB-MPLS-LLC-TYPE-EXT; + } + leaf local-label { + type uint32; + description + "local label"; + } + leaf source-xr { + type uint32; + description + "source xr"; + } + leaf update-ts { + type uint64; + description + "update ts"; + } + leaf retry-ts { + type uint64; + description + "retry ts"; + } + leaf num-retries { + type uint32; + description + "num retries"; + } + } + + grouping FIB-SH-PLAT-CAPABILITIES { + description + "FIB platform capabilities"; + leaf fpc-num-l3-lbl-levels { + type uint8; + description + "L3 LBL levels"; + } + leaf fpc-num-l3-lbl-paths { + type uint8; + description + "L3 Hash buckets"; + } + leaf fpc-num-l3-lbl-rec-paths { + type uint8; + description + "L3 Recursive Hash buckets"; + } + leaf fpc-num-l3-ucmp-paths { + type uint8; + description + "L3 Unequal cost hash buckets"; + } + leaf fpc-num-fwding-stages { + type uint8; + description + "Forwarding stages"; + } + leaf fpc-local-label-split { + type uint32; + description + "Label split"; + } + leaf fpc-stats-support { + type boolean; + description + "Statistics support"; + } + leaf fpc-platf-ready-cb-wait { + type boolean; + description + "Plat ready cb register"; + } + leaf fpc-num-paths-per-pbts-class { + type uint8; + description + "Path per tunnel class"; + } + leaf fpc-platf-v4-upd-disable { + type boolean; + description + "V4 update disable"; + } + leaf fpc-platf-v6-upd-disable { + type boolean; + description + "V6 update disable"; + } + leaf fpc-lba-tuples-default { + type uint32; + description + "LBA tuples"; + } + leaf fpc-mraps-support { + type boolean; + description + "MRAPS support"; + } + leaf fpc-pbts-defclass-support { + type boolean; + description + "PBTS default class support"; + } + leaf fpc-loadinfo-filter-support { + type boolean; + description + "loadinfo filter support"; + } + leaf fpc-nhid { + type boolean; + description + "NHID support"; + } + leaf fpc-platf-temp-back-walk-reqd { + type boolean; + description + "Backwalk dependents is required"; + } + leaf fpc-link-mpls-nhinfo-in-ipv6-thread-support { + type boolean; + description + "Link MPLS IPv6 NH support"; + } + leaf fpc-exclude-deag-bkup { + type boolean; + description + "Exclude Deag backup Paths"; + } + leaf fpc-dlb-support { + type boolean; + description + "Per-destination load-balancing support"; + } + leaf fpc-prefix-filter-support { + type uint8; + description + "Prefix filter level of support"; + } + leaf fpc-slowpath-ingress-inject-reqd { + type boolean; + description + "Slowpath ingress inject required"; + } + list fpc-lisp-decap-over-v4 { + min-elements 3; + max-elements "3"; + description + "LISP Decap over 4"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list fpc-lisp-decap-over-v6 { + min-elements 3; + max-elements "3"; + description + "LISP Decap over 6"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list fpc-lisp-ucmp { + min-elements 3; + max-elements "3"; + description + "LISP UCMP support"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list fpc-resolve-via-table { + min-elements 3; + max-elements "3"; + description + "Fallback VRF support"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + } + + grouping FIB-SH-PROTO-FRR-STATS { + description + "FIB per protocol frr counters"; + leaf mi-num-intf-frr { + type uint32; + description + "number of FRR events sent on nh interface down"; + } + leaf mi-num-parent-intf-frr { + type uint32; + description + "number of FRR events sent on nh parent interface + down"; + } + leaf mi-num-pfi-intf-down { + type uint32; + description + "number of interface down FRR events from PFI"; + } + leaf mi-num-bfd-down { + type uint32; + description + "number of NH down FRR events frm BFD"; + } + leaf mi-num-prot-frr-objects { + type uint32; + description + "total number of prot FRR objects"; + } + leaf mi-num-bkup-frr-objects { + type uint32; + description + "total number of backup FRR objects"; + } + leaf mi-num-tunid-allocs { + type uint32; + description + "total number of successful FRR tunnel ID + allocations"; + } + leaf mi-num-tunid-alloc-failures { + type uint32; + description + "total number of FRR tunnel ID allocation + failures"; + } + leaf mi-num-tunid-frees { + type uint32; + description + "total number of successful FRR tunnel ID frees"; + } + leaf mi-num-tunid-free-failures { + type uint32; + description + "total number of FRR tunnel ID free failures"; + } + leaf mi-num-frr-reset-queue-adds { + type uint32; + description + "number of frr reset queue adds"; + } + leaf mi-num-frr-reset-queue-remove { + type uint32; + description + "number of frr reset queue deletes"; + } + leaf mi-num-frr-reset { + type uint32; + description + "number of frr resets"; + } + leaf mi-num-frr-proto-events { + type uint32; + description + "number of frr events received in proto thread"; + } + leaf mi-num-frr-logs { + type uint32; + description + "frr log size"; + } + } + + grouping FIB-SH-ROUTE-DEL-TS { + description + "FIB SH ROUTE DEL TS"; + leaf tableid { + type uint32; + description + "tableid"; + } + leaf prfx { + type string { + length "0..16"; + } + description + "prfx"; + } + leaf prfx-len { + type uint16; + description + "prfx len"; + } + leaf prfx-proto { + type uint16; + description + "prfx proto"; + } + leaf msec-time { + type uint64; + description + "msec time"; + } + } + + grouping FIB-SH-PROTO-PURGE-STATS { + description + "FIB per protocol purge counters"; + list fpp-cntr { + max-elements "3"; + description + "the number of frees for this proto"; + leaf entry { + type uint32; + } + } + } + + grouping FIB-SH-GTRIE-FN-TIMING { + description + "FIB timing statistics for individual gtrie + functions"; + leaf fgft-fn { + type string { + length "0..64"; + } + description + "Gtrie operation"; + } + leaf fgft-tot-updates { + type uint64; + description + "Total number of updates"; + } + leaf fgft-tot-updates-zero { + type uint64; + description + "Total number of updates with zero timing (due to + timestamp granularity)"; + } + leaf fgft-tot-upd-time { + type uint64; + description + "Total time for updates"; + } + leaf fgft-max-time { + type uint64; + description + "Time for the update"; + } + leaf fgft-max-tstamp { + type uint64; + description + "Time stamp of max update"; + } + } + + grouping FIB-SH-GTRIE-TIMING { + description + "FIB platform update statistics"; + leaf fgt-num-success { + type uint64; + description + "Number of successful updates"; + } + leaf fgt-num-failure { + type uint64; + description + "Number of unsuccessful updates"; + } + leaf fgt-upd-total-time { + type uint64; + description + "Total time for all pd updates"; + } + list fgt-gtrie-fn-timing { + description + "Array of max time info indexed by gtrie function"; + uses FIB-SH-GTRIE-FN-TIMING; + } + } + + grouping FIB-SH-OBJ-ACTION-STATS { + description + "FIB Max time statistics for each action types of + an object"; + leaf foas-tot-updates { + type uint64; + description + "Total number of updates"; + } + leaf foas-tot-upd-time { + type uint64; + description + "Total time for updates"; + } + leaf foas-tot-updates-zero { + type uint64; + description + "Total number of updates that took zero time"; + } + leaf foas-num-success { + type uint64; + description + "Total number of successful updates"; + } + leaf foas-num-failure { + type uint64; + description + "Total number of failed updates"; + } + leaf foas-max-time { + type uint64; + description + "Time for the update"; + } + leaf foas-max-tstamp { + type uint64; + description + "Time stamp of max update"; + } + } + + grouping FIB-SH-OBJ-STATS { + description + "FIB Max time statistics for each FIB object"; + leaf fos-tot-updates { + type uint64; + description + "Total number of updates"; + } + leaf fos-tot-upd-time { + type uint64; + description + "Total time for updates"; + } + list fos-obj-act-stat { + description + "Array of max time info indexed by action type"; + uses FIB-SH-OBJ-ACTION-STATS; + } + } + + grouping FIB-SH-PLATF-UPD-STATS { + description + "FIB platform update statistics"; + leaf fpus-num-success { + type uint64; + description + "Number of successful updates"; + } + leaf fpus-num-failure { + type uint64; + description + "Number of unsuccessful updates"; + } + leaf fpus-upd-total-time { + type uint64; + description + "Total time for all pd updates"; + } + list fpus-obj-stat { + description + "Array of max time info indexed by object type"; + uses FIB-SH-OBJ-STATS; + } + } + + grouping FIB-SH-PROTO-DEBUG-STATS { + description + "FIB per protocol debug information"; + container fpd-platf-upd-stats { + description + "platform update statistics"; + uses FIB-SH-PLATF-UPD-STATS; + } + container fpd-gtrie-timing { + description + "Gtrie timing statistics"; + uses FIB-SH-GTRIE-TIMING; + } + leaf fpd-gbltbl-entries { + type uint64; + description + "the number of fib entries in global tbl"; + } + leaf fpd-gbltbl-rej-entries { + type uint64; + description + "the number of fib entries in global retry tbl"; + } + leaf fpd-vrftbl-entries { + type uint64; + description + "the number of fib entries in vrf tbls"; + } + leaf fpd-vrftbl-rej-entries { + type uint64; + description + "the number of fib entries in vrf retry tbls"; + } + leaf fpd-num-tbls { + type uint32; + description + "the number of tables in table set"; + } + leaf fpd-bcdl-msgs { + type uint64; + description + "the number of bcdl msgs"; + } + leaf fpd-route-upd { + type uint64; + description + "the number of route updates"; + } + leaf fpd-route-del { + type uint64; + description + "the number of route deletes"; + } + leaf fpd-route-rcv { + type uint64; + description + "the number of routes received"; + } + leaf fpd-route-drops { + type uint64; + description + "the number of routes dropped"; + } + leaf fpd-lbl-recycled { + type uint64; + description + "the number of routes handled with recycled label"; + } + leaf fpd-version-mismatch-drops { + type uint64; + description + "the number of routes dropped because of version + mismatch"; + } + leaf fpd-adj-upd { + type uint64; + description + "the number of adjacency updates"; + } + leaf fpd-adj-del { + type uint64; + description + "the number of adjacency deletes"; + } + leaf fpd-adj-upd-tx { + type uint64; + description + "number of TX adjacency updates from AIB"; + } + leaf fpd-adj-upd-tx-nh-found { + type uint64; + description + "number of TX adjacency updates that found or + created NH"; + } + leaf fpd-adj-upd-tx-retry-created { + type uint64; + description + "number of TX adjacency updates that went to + retry"; + } + leaf fpd-adj-tx-retry-nh-found { + type uint64; + description + "number of TX adj retries that found or created + NH"; + } + leaf fpd-adj-tx-retry-obj-reinit { + type uint64; + description + "number of times TX NH retry objects updated"; + } + leaf fpd-adj-drops { + type uint64; + description + " number of adj updates dropped because of OOR"; + } + leaf fpd-adj-msg { + type uint64; + description + "number of AIB messages"; + } + leaf fpd-te-rcv { + type uint64; + description + "the number of TE upds received"; + } + leaf fpd-te-version-mismatch-drops { + type uint64; + description + "the number of TE upds dropped because of version + mismatch"; + } + leaf fpd-num-retry-touts { + type uint64; + description + "the number of retry timeouts"; + } + leaf fpd-ldi-num-fixedup { + type uint64; + description + "the number of fixup LDIs"; + } + leaf fpd-ldi-num-correct-fixup { + type uint64; + description + "the number of corrected fixup LDIs"; + } + leaf fpd-pl-num-queued-fixedup { + type uint64; + description + "the number of PL queued for fixup"; + } + leaf fpd-pl-num-correct-fixup { + type uint64; + description + "the number of corrected fixup PLs"; + } + leaf fpd-pl-retry-add-exist { + type uint64; + description + "the number PLs added to retry while already in + retry"; + } + leaf fpd-pl-inline-res-q { + type uint64; + description + "the number of PLs linked to resolving tables for + inline res"; + } + leaf fpd-pl-with-backup-create-count { + type uint64; + description + "number of pl creates with backu path"; + } + leaf fpd-pl-with-backup-del-count { + type uint64; + description + "number of pl deletes with backup path"; + } + leaf fpd-pl-backup-enable-count { + type uint64; + description + "number of PLs marked to include backup path"; + } + leaf fpd-pl-backup-disable-count { + type uint64; + description + " number of PLs unmarked to include backup path"; + } + leaf fpd-pl-fast-nfn-count { + type uint64; + description + "number of PLs visited on fast notification"; + } + leaf fpd-ldi-backup-activate-count { + type uint64; + description + "number of ldi backup path activications"; + } + leaf fpd-ldi-last-backup-activate-time { + type uint64; + description + "ldi mod time for last backup activation"; + } + leaf fpd-ldi-max-backup-activate-time { + type uint64; + description + "max ldi mod time for backup activation"; + } + leaf fpd-ldi-min-backup-activate-time { + type uint64; + description + "min ldi mod time for backup activation"; + } + leaf fpd-ldi-total-backup-activate-time { + type uint64; + description + "total ldi mod time for backup activation"; + } + leaf fpd-ldi-avg-backup-activate-time { + type uint64; + description + "avg ldi mod time for backup activation"; + } + leaf fpd-recursion-constraint-count { + type uint64; + description + "number of resolution failures because of + recursion constraint"; + } + leaf fpd-ldi-num-del-refcnt { + type uint64; + description + "the number of deleted with non-zero refcount"; + } + leaf fpd-retryq-size { + type uint32; + description + "the number of elements in retryq"; + } + leaf fpd-num-allocs { + type uint64; + description + "the number of allocs for this proto"; + } + leaf fpd-num-frees { + type uint64; + description + "the number of frees for this proto"; + } + leaf fpd-retryq-timeout { + type uint32; + description + "timeout value in msec"; + } + leaf fpd-retryq-sched-time { + type uint32; + description + "Scheduler time period in msec"; + } + list fpd-gbltbl-src-entry { + max-elements "14"; + description + "Number of global routes from + + each route source"; + leaf entry { + type uint64; + } + } + list fpd-vrftbl-src-entry { + max-elements "14"; + description + "Number of vrf routes from + + each route source"; + leaf entry { + type uint64; + } + } + list fpd-num-retry { + description + "the number of retries of each type"; + leaf entry { + type uint64; + } + } + } + + grouping FIB-SH-MISC { + description + "FIB miscellaneous info"; + container mi-issu-state { + description + "FIB ISSU state"; + uses FIB-ISSU-STATE; + } + container mi-plat-capabilities { + description + "FIB platform capabilities"; + uses FIB-SH-PLAT-CAPABILITIES; + } + leaf mi-pfi-ifh-upd { + type uint64; + description + "number of pfi ifh create notif"; + } + leaf mi-pfi-ifh-del { + type uint64; + description + "number of pfi ifh delete notif"; + } + leaf mi-pfi-ifh-stale { + type uint64; + description + "number of stale ifh removed"; + } + leaf mi-tot-plat-upd-time { + type uint64; + description + "total platform update time"; + } + leaf mi-tot-gtrie-time { + type uint64; + description + "total time spent in gtrie operations"; + } + leaf mi-tot-dnld-time { + type uint64; + description + "total download time"; + } + leaf mi-clock-time { + type uint64; + description + "clock download time"; + } + leaf mi-cpu-time { + type uint64; + description + "CPU download time"; + } + leaf mi-shm-reset-ts { + type uint64; + description + "Last FIB shared memory reset time stamp"; + } + leaf mi-idb-recycle-count { + type uint32; + description + "Number of idbs that hit ifh recycle"; + } + leaf mi-idb-recycle-cleanup-count { + type uint32; + description + "Number of idb cleaned up after hitting ifh + recycle"; + } + leaf mi-num-mgmt-list { + type uint32; + description + "Number of management interfaces"; + } + leaf mi-num-virtual-ll-addresses-added { + type uint32; + description + "mi num virtual ll addresses added"; + } + leaf mi-num-virtual-ll-addresses-deleted { + type uint32; + description + "mi num virtual ll addresses deleted"; + } + leaf mi-num-virtual-ll-addresses-dropped { + type uint32; + description + "mi num virtual ll addresses dropped"; + } + leaf mi-num-virtual-ll-addresses-cached { + type uint32; + description + "mi num virtual ll addresses cached"; + } + leaf mi-cpuless-init { + type boolean; + description + "cpuless node list init"; + } + leaf mi-cpuless-count { + type uint32; + description + "count of cpuless line cards"; + } + leaf mi-prefer-aib-routes-over-rib-oper { + type boolean; + description + "Prefer AIB routes over RIB/LSD operational state"; + } + leaf mi-prefer-aib-routes-over-rib-cfg { + type boolean; + description + "Prefer AIB routes over RIB/LSD configured state"; + } + leaf mi-xpl-ldi-enabled { + type boolean; + description + "XPL loadinfo is enabled"; + } + leaf mi-frr-follow-bgp-pic { + type boolean; + description + "fast-reroute follow BGP-PIC configured"; + } + list mi-idb-ext-cleanup-failed-count { + max-elements "3"; + description + "Number of recycled idb extensions that failed + + cleanup"; + leaf entry { + type uint32; + } + } + list mi-lrpf-stats-fail { + max-elements "9"; + description + "Per protocol Failure stats for label RPF"; + leaf entry { + type uint32; + } + } + list mi-lrpf-stats-act { + max-elements "24"; + description + "Per protocol actions stats for label RPF"; + leaf entry { + type uint32; + } + } + list mi-lrpf-num { + max-elements "3"; + description + "Per protocol number of label RPFs"; + leaf entry { + type uint32; + } + } + list mi-idb-lsec-enabled-num { + max-elements "3"; + description + "Number of interfaces having label security + + enabled"; + leaf entry { + type uint32; + } + } + list mi-num-lisp-eid { + max-elements "3"; + description + "number of LISP EID prefixes"; + leaf entry { + type uint32; + } + } + list mi-num-lisp-valid-eid { + max-elements "3"; + description + "number of LISP EID prefixes eligible for + + forwarding"; + leaf entry { + type uint32; + } + } + list mi-cpuless-node { + max-elements "20"; + description + "list of cpuless line cards"; + leaf entry { + type uint32; + } + } + list mi-proto-dbg-stat { + description + "Per protocol debug stats"; + uses FIB-SH-PROTO-DEBUG-STATS; + } + list mi-idb-purge-cntr { + max-elements "3"; + description + "the number of counters used for purge counter + stats"; + uses FIB-SH-PROTO-PURGE-STATS; + } + list mi-del { + description + "Timestamps of deleted routes"; + uses FIB-SH-ROUTE-DEL-TS; + } + list mi-frr-stat { + max-elements "3"; + description + "FRR statistics"; + uses FIB-SH-PROTO-FRR-STATS; + } + } + + grouping FIB-SH-TBL-EXT-CLIENT-SUM { + description + "FIB external client summary information"; + container ses-pl-sum { + description + "ECD pathlist summary"; + uses FIB-SH-TBL-EXT-PL-SUM; + } + leaf ses-client-name { + type string; + description + "External client name"; + } + leaf ses-feci-fib-proto { + type uint32; + description + "Registration proto"; + } + leaf ses-num-regs { + type uint32; + description + "Number of registrations"; + } + leaf ses-num-pending { + type uint32; + description + "Number of pending notifs"; + } + leaf ses-client-pulsed-time { + type uint64; + description + "Client pulsed timestamp"; + } + leaf ses-comp-id { + type uint32; + description + "component-id of the client"; + } + leaf ses-ecd-version { + type uint32; + description + "ECD version"; + } + } + + grouping FIB-SH-NHID-ENTRY { + description + "FIB per NHID entry information"; + leaf nh-interf-handle { + type xr:Interface-name; + description + "Next-hop interface"; + } + leaf nh-address-xr { + type string; + description + "Next-hop address"; + } + leaf nh-protocol { + type uint8; + description + "Next-hop address protocol, IPv4/IPv6"; + } + leaf nh-link-type { + type uint8; + description + "Payload linktype"; + } + leaf nh-table-id { + type uint32; + description + "Table-ID entry notified for"; + } + leaf nh-id { + type uint32; + description + "NHID value"; + } + leaf nh-id-application { + type uint8; + description + "NHID application type"; + } + leaf version { + type uint64; + description + "RIB version"; + } + leaf time-of-last-update-in-msec { + type uint64; + description + "The time of last update in msec"; + } + } + + grouping EVT-HIST-ENTRY { + description + "Event history Entry"; + leaf evt-timestamp { + type string; + description + "The timestamp of the event"; + } + leaf evt-name { + type string; + description + "Event name"; + } + leaf evt-type { + type uint8; + description + "Event type"; + } + leaf evt-many { + type boolean; + description + "Multiple instance flag"; + } + leaf evt-sticky { + type boolean; + description + "Sticky flag"; + } + list evt-data { + description + "Optional data"; + leaf entry { + type uint32; + } + } + } + + grouping EVT-HIST-INFO { + description + "Per object event history"; + leaf evt-class-name { + type string; + description + "Class name string"; + } + list evt-entry { + description + "Array of event entries"; + uses EVT-HIST-ENTRY; + } + } + + grouping FIB-SH-INT-INTERNAL { + description + "FIB per interface internal information"; + container fib-idb-hist { + description + "Event History for IDB"; + uses EVT-HIST-INFO; + } + container fib-srte-head-hist { + description + "Event History for Srtehead"; + uses EVT-HIST-INFO; + } + } + + grouping FIB-SH-INT-DET { + description + "FIB per interface detail information"; + leaf interface-mtu { + type uint16; + description + "Interface Protocol MTU"; + } + leaf forwarding-flag { + type boolean; + description + "Forwarding enabled/disabled flag"; + } + leaf rpf-configured-flag { + type boolean; + description + "RPF configured flag"; + } + leaf rpf-mode { + type Fib-rpf-mode; + description + "RPF mode"; + } + leaf default-route-with-rpf { + type boolean; + description + "Allow default route with RPF"; + } + leaf self-ping-with-rpf { + type boolean; + description + "Allow selfping with RPF"; + } + leaf bgp-pa-input-configured-flag { + type boolean; + description + "BGP PA configured flag"; + } + leaf source-bgp-pa-input-configured-flag { + type boolean; + description + "src BGP PA configured flag"; + } + leaf destination-bgp-pa-input-configured-flag { + type boolean; + description + "dst BGP PA configured flag"; + } + leaf bgp-pa-output-configured-flag { + type boolean; + description + "BGP PA configured flag"; + } + leaf source-bgp-pa-output-configured-flag { + type boolean; + description + "src BGP PA configured flag"; + } + leaf destination-bgp-pa-output-configured-flag { + type boolean; + description + "dst BGP PA configured flag"; + } + leaf icmp-flag { + type uint32; + description + "ICMP configured flag"; + } + leaf multi-label-drop-flag { + type boolean; + description + "Drop packets with multiple-label-stack if set"; + } + } + + grouping FIB-SH-INT { + description + "FIB per interface information"; + container detail-fib-int-information { + description + "Detailed FIB interface information"; + uses FIB-SH-INT-DET; + } + container si-internal { + description + "Internal Information"; + uses FIB-SH-INT-INTERNAL; + } + leaf per-interface { + type xr:Interface-name; + description + "Interface handle"; + } + leaf fib-interface-type { + type uint32; + description + "FIB Interface type"; + } + leaf fib-id-pointer { + type uint32; + description + "Pointer to fibidb"; + } + leaf fib-id-flags { + type uint32; + description + "Flags on fibidb"; + } + leaf fib-id-extension-pointer { + type uint32; + description + "Pointer to fibidb extension"; + } + leaf fib-id-extension-flags { + type uint32; + description + "Flags on fibidb extension"; + } + leaf number-of-dependent-next-hop-information { + type uint32; + description + "Number of dependent nhinfo's"; + } + leaf vrf-local-cef-information-pointer { + type uint32; + description + "Vrf local cef info ptr"; + } + leaf reference-count { + type uint16; + description + "Reference count"; + } + leaf last-modified-time { + type uint32; + description + "Time last modified"; + } + leaf last-operation { + type Fibidb-oper; + description + "Last Oper"; + } + leaf protocol-enabled { + type boolean; + description + "Is the protocol configured?"; + } + leaf referance-count-for-protocol { + type uint32; + description + "Reference count for the protocol"; + } + leaf number-of-input-packets { + type uint64; + description + "Number of input packets"; + } + leaf number-of-input-bytes { + type uint64; + units "byte"; + description + "Number of input bytes"; + } + leaf number-of-output-packets { + type uint64; + description + "Number of output packets"; + } + leaf number-of-output-bytes { + type uint64; + units "byte"; + description + "Number of output bytes"; + } + leaf interface-up-flag { + type boolean; + description + "Interface up flag"; + } + leaf per-packet-load-balancing-flag { + type boolean; + description + "Per packet loadbalancing flag"; + } + leaf p2p-interface-flag { + type boolean; + description + "P2P interface flag"; + } + leaf loopback-interface-flag { + type boolean; + description + "Loopback interface flag"; + } + leaf null-interface-flag { + type boolean; + description + "Null interface flag"; + } + leaf tunnel-interface-flag { + type boolean; + description + "Tunnel interface flag"; + } + leaf gre-tunnel-interface-flag { + type boolean; + description + "GRE Tunnel interface flag"; + } + leaf punt-packets-from-fib-switching-flag { + type boolean; + description + "Punt packets from FIB switching flag"; + } + leaf drop-packets-while-fib-switching-flag { + type boolean; + description + "Drop packets while FIB switching flag"; + } + leaf punt-packets-from-linecard-flag { + type boolean; + description + "Punt packets from linecard flag"; + } + leaf primary-ipv4-address { + type string { + length "0..52"; + } + description + "Pimary local v4 address for the interface"; + } + leaf primary-ipv6-address { + type string { + length "0..52"; + } + description + "Pimary local v6 address for the interface"; + } + } + + grouping FIB-SH-TBL-FIB-EXT-DET { + description + "FIB entry extension list information"; + leaf context-label-flag { + type boolean; + description + "Context Label Exist"; + } + leaf context-label { + type uint32; + description + "Context Label"; + } + } + + grouping FIB-SH-TBL-FIB-EXT-CMN-DET { + description + "FIB SH TBL FIB EXT CMN DET"; + container sfecd-le { + when "../type = 'leaf-extension'" { + description + "../type = 'LeafExtension'"; + } + description + "sfecd le"; + uses FIB-SH-TBL-FIB-EXT-DET; + } + leaf type { + type Fib-sh-tbl-fib-ext-bag; + description + "type"; + } + } + + grouping FIB-SH-LEAF-SRV6-STATS { + description + "Statistics for a IPv6 SR prefix"; + leaf srv6-packets-forwarded { + type uint64; + description + "SRv6 packets forwarded for a prefix"; + } + leaf srv6-packets-dropped { + type uint64; + description + "SRv6 Packets dropped for a prefix"; + } + } + + grouping FIB-SH-LEAF-SRV6-INFO { + description + "IPv6 SR related information"; + container srv6-statistics { + description + "Statistics for a IPv6 SR prefix"; + uses FIB-SH-LEAF-SRV6-STATS; + } + leaf route-is-sripv6-flag { + type boolean; + description + "Route is an IPv6 Segment-Routing prefix"; + } + leaf srv6-pfx-resolved-via-policy-label { + type boolean; + description + "Route is a SRv6 prefix resolved via Policy label"; + } + leaf sripv6-stats-valid-flag { + type boolean; + description + "Statistics are valid for this prefix"; + } + } + + grouping FIB-SH-TBL-MPLS-LABEL-STACK { + description + "mpls label stack information for FIB table + entries"; + leaf number-of-labels { + type uint32; + description + "NumberOfLabels"; + } + leaf out-interface { + type xr:Interface-name; + description + "OutInterface"; + } + leaf nh-address { + type string { + length "0..52"; + } + description + "NHAddress"; + } + list lstack { + max-elements "23"; + description + "lstack"; + leaf entry { + type uint32; + } + } + } + + grouping FIB-SH-TBL-PATH-MPLS-INFO { + description + "mpls path information for FIB table entries"; + leaf local-lable { + type uint32; + description + "LocalLable"; + } + leaf recursive-fwd-chain { + type boolean; + description + "RecursiveFwdChain"; + } + leaf number-of-igp-paths { + type uint32; + description + "NumberOfIGPPaths"; + } + leaf remote-backup { + type boolean; + description + "RemoteBackupPath"; + } + list recursive-lbl-stack { + description + "Recursive Label(s)"; + leaf entry { + type uint32; + } + } + list igp-label-stack-array { + description + "igp label stack array"; + uses FIB-SH-TBL-MPLS-LABEL-STACK; + } + } + + grouping FIB-SH-IPENCAP-HDR-DET { + description + "Detailed IP Encap Header Description"; + leaf ip-encap-hdr-type { + type Fib-sh-ipencap-hdr; + description + "Header Type"; + } + leaf ip-encap-hdrp { + type yang:hex-string; + description + "Static Header"; + } + leaf ip-encap-hdr-dyn { + type uint32; + description + "Dynamic Header Fields"; + } + } + + grouping FIB-SH-IPENCAP-DET { + description + "Detailed IP Encap Description"; + leaf ip-encap-hdr-count { + type uint8; + description + "Header Count"; + } + leaf ip-encap-locks { + type uint32; + description + "IPEncap Object Locks"; + } + leaf ip-encap-transport-tbl { + type uint32; + description + "Transport Table"; + } + leaf ipe-transport-vrf-name { + type string; + description + "Transport VRF name"; + } + leaf ip-encap-transport-af { + type uint32; + description + "Transport AF"; + } + leaf ip-encap-payload-af { + type uint32; + description + "Payload AF"; + } + leaf ip-encap-payload-mtu { + type uint16; + description + "Payload MTU"; + } + leaf ip-encap-parent { + type uint32; + description + "Pointer to parent"; + } + leaf ip-encap-parent-type { + type uint32; + description + "Parent type enumeration"; + } + list ip-encap-hdr { + description + "Headers"; + uses FIB-SH-IPENCAP-HDR-DET; + } + } + + grouping FIB-SH-TBL-PATH-DET { + description + "Detailed path information for FIB table entries"; + leaf ip-address-to-recurse { + type string { + length "0..52"; + } + description + "IP address to recurse to"; + } + leaf label-to-recurse { + type uint32; + description + "Local label to recurse over"; + } + leaf detail-next-hop-prefix { + type string { + length "0..52"; + } + description + "Next hop prefix"; + } + leaf next-hop-mask-length { + type uint8; + description + "Next hop mask length"; + } + leaf interface-associated-path { + type xr:Interface-name; + description + "Interface associated with this path"; + } + leaf next-hop-interface { + type xr:Interface-name; + description + "Next hop interface"; + } + leaf next-hop-vrf { + type string { + length "0..33"; + } + description + "Next hop VRF"; + } + leaf tunnle-endpoint-id { + type uint32; + description + "Tunnel endpoint id"; + } + leaf lisprlocid { + type uint32; + description + "LISP RLOC ID"; + } + leaf number-of-dependencies-this-path { + type uint32; + description + "No. of dependents for this path"; + } + leaf robin-reset-value { + type uint8; + description + "Round robin reset value"; + } + leaf recurse-prefix-object { + type boolean; + description + "Is recursion object a leaf?"; + } + leaf next-prefix-recursion { + type yang:hex-string; + description + "Next prefix recursion in the path"; + } + leaf next-prefix-length { + type uint8; + description + "Next prefix length"; + } + leaf recurse-prefix-object2 { + type boolean; + description + "Recursion has two leaves (e.g. implicit-null + path)"; + } + leaf next-prefix-recursion2 { + type yang:hex-string; + description + "Next prefix2 recursion in the path"; + } + leaf next-prefix-length2 { + type uint8; + description + "Next prefix2 length"; + } + leaf detail-fib-adjacency-type { + type Fib-adjacency-show; + description + "FIB entry adjacency type"; + } + leaf current-path-flag { + type boolean; + description + "Current path flag"; + } + leaf recursive-path-information { + type boolean; + description + "Recursive path information is available"; + } + leaf external-adjacency { + type boolean; + description + "Path is an external adjacency"; + } + leaf fib-path-nh-information-type { + type Fib-neh; + description + "FIB Nhinfo type"; + } + leaf fib-path-nh-information-type-special { + type Fib-neh-special; + description + "FIB Nhinfo type special"; + } + leaf weight-of-path { + type uint32; + description + "Weight of the path"; + } + leaf tunnel-class { + type uint8; + description + "Tunnel class of the path"; + } + leaf tunnel-is-forward-class { + type boolean; + description + "Tunnel is forward class"; + } + list spd-ipencap { + description + "IP Encap"; + uses FIB-SH-IPENCAP-DET; + } + } + + grouping FIB-SH-TBL-PATH { + description + "Brief path information for FIB table entries"; + list fib-sh-tbl-path { + description + "fib sh tbl path"; + container more-detail-about-path { + description + "More detail about this path entry"; + uses FIB-SH-TBL-PATH-DET; + } + container mpls-information-for-path { + description + "mpls info for this path entry"; + uses FIB-SH-TBL-PATH-MPLS-INFO; + } + leaf hardware-information { + type yang:hex-string; + description + "Hardware info"; + } + leaf brief-interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf brief-next-hop-prefix { + type string { + length "0..52"; + } + description + "Next hop prefix"; + } + leaf via-label-to-recurse { + type uint32; + description + "Local label to recurse over"; + } + leaf brief-pnode-address { + type string { + length "0..52"; + } + description + "P-node address"; + } + leaf brief-qnode-address { + type string { + length "0..52"; + } + description + "Q-node address"; + } + leaf brief-lfa-protection-type { + type Fib-update-path-lfa-protection; + description + "LFA protection type"; + } + leaf resolved-path { + type boolean; + description + "Resolved path"; + } + leaf recursive-path { + type boolean; + description + "Recursive path"; + } + leaf packets-received-path { + type boolean; + description + "Packets received on this path"; + } + leaf attached-path { + type boolean; + description + "Attached path"; + } + leaf backup-path { + type boolean; + description + "Backup path"; + } + leaf best-external-path { + type boolean; + description + "Best external path"; + } + leaf protect-ignore { + type boolean; + description + "Is protection ignored"; + } + leaf path-dlb { + type boolean; + description + "Is this the path used for DLB"; + } + leaf path-flags { + type uint32; + description + "Path flags"; + } + leaf path-info-flags { + type uint16; + description + "Path Info flags"; + } + leaf path-index { + type uint8; + description + "Path index"; + } + leaf backup-index { + type uint8; + description + "Backup path index"; + } + leaf next-hop-index { + type uint32; + description + "Next Hop Index"; + } + leaf parent-interface-handle { + type xr:Interface-name; + description + "Parent Interface Handle"; + } + leaf recursionvia-len { + type uint8; + description + "recursion via /N constraint"; + } + } + } + + grouping FIB-ADDR-STR { + description + "FIB address"; + leaf address { + type string { + length "0..60"; + } + description + "address"; + } + } + + grouping FIB-SH-TBL-LOADINFO-INT { + description + "Internal load sharing information arrays for FIB + table entries"; + leaf level-ofldis { + type uint8; + description + "level of ldis"; + } + leaf number-of-ldis { + type uint8; + description + "no. of ldis"; + } + leaf maximum-index-arrays { + type uint32; + description + "Maximum index of the arrays"; + } + leaf path-indices { + type yang:hex-string; + description + "Path indices"; + } + leaf path-ldi-numbers { + type yang:hex-string; + description + "Path indices"; + } + leaf maximum-slots { + type uint32; + description + "Maximum slots"; + } + leaf normalized-weights { + type yang:hex-string; + description + "Normalized weights"; + } + leaf tunnel-class-value { + type yang:hex-string; + description + "Tunnel class value"; + } + leaf is-pbts-info-valid { + type boolean; + description + "PBTS info valid flag"; + } + leaf pbts-class-offset { + type yang:hex-string; + description + "PBTS class offset"; + } + leaf pbts-class-num-paths { + type yang:hex-string; + description + "PBTS class num paths"; + } + leaf pbts-fallback-mapped-class { + type yang:hex-string; + description + "PBTS class falls back to class"; + } + leaf round-robin-disable { + type boolean; + description + "Round Robin Disable"; + } + leaf ldi-next-hop-buckets { + type uint8; + description + "Number of LDI next hop buckets"; + } + leaf platform-hardware-information { + type yang:hex-string; + description + "Platform Hardware info"; + } + list sanity-flag { + description + "Sanity flag"; + leaf entry { + type boolean; + } + } + list interface-handle { + description + "Interface handle"; + leaf entry { + type xr:Interface-name; + } + } + list weights-of-path { + description + "Weights of paths"; + leaf entry { + type uint32; + } + } + list adjacency-address { + description + "Adjacency address"; + uses FIB-ADDR-STR; + } + list pbts-class-is-fallback-mapped { + min-elements 9; + max-elements "9"; + description + "Does PBTS class fall back to drop or any class"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list pbts-fallback-to-drop { + min-elements 9; + max-elements "9"; + description + "PBTS class falls back to drop"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list tunnel-is-forward-class { + min-elements 128; + max-elements "128"; + description + "Tunnel is forward class"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + } + + grouping FIB-SH-TBL-LOADINFO-DET { + description + "Detailed load sharing information for FIB table + entries"; + container load-informtion-internal-data { + description + "Loadinfo internal data"; + uses FIB-SH-TBL-LOADINFO-INT; + } + leaf packets-through-load-information { + type uint64; + description + "Packets through this loadinfo"; + } + leaf bytes-through-load-information { + type uint64; + units "byte"; + description + "Bytes through this loadinfo"; + } + leaf total-packets-through-load-information { + type uint64; + description + "Total packets through this loadinfo"; + } + leaf total-bytes-through-load-information { + type uint64; + units "byte"; + description + "Total bytes through this loadinfo"; + } + leaf prefix-of-owner { + type uint32; + description + "Prefix of the owner"; + } + leaf mask-length-of-owner { + type uint32; + description + "Mask length of the owner"; + } + leaf load-information-reference-count { + type uint16; + description + "Loadinfo reference count"; + } + leaf per-dest-load-sharing-flag { + type boolean; + description + "Per destination load sharing flag"; + } + leaf load-information-owner-deleted-flag { + type boolean; + description + "Loadinfo owner deleted flag"; + } + leaf loadinfo-sanity-flag { + type boolean; + description + "Loadinfo sanity flag"; + } + leaf is-owner { + type boolean; + description + "Owner flag"; + } + } + + grouping FIB-SH-TBL-FIB-DET { + description + "Detailed FIB table entry information"; + container loadshare-information { + description + "Detailed Loadshare info"; + uses FIB-SH-TBL-LOADINFO-DET; + } + leaf fib-entry-version { + type uint32; + description + "FIB entry version number"; + } + leaf per-prefix-accounting { + type uint8; + description + "Per Prefix Accounting"; + } + leaf load-sharing-type { + type Fib-loadshare-show; + description + "Load sharing type"; + } + leaf fib-entry-adjacency-type { + type Fib-adjacency-show; + description + "FIB entry adjacency type"; + } + leaf fib-protocol-type { + type uint32; + description + "FIB Protocol type"; + } + leaf afi-fib-protocol-type { + type uint32; + description + "AFI FIB protocol type"; + } + leaf aib-l3-address { + type yang:hex-string; + description + "AIB L3 Address"; + } + leaf adjacency-address-length { + type uint32; + description + "ADJ ADDR LEN"; + } + leaf adjacency-interface { + type uint32; + description + "ADJ IFH"; + } + leaf fib-special-nh-information-type { + type uint32; + description + "FIB Special NHINFO Type"; + } + leaf fib-entry-adjacency-address { + type yang:hex-string; + description + "FIB entry adj address"; + } + leaf fib-entry-adjacency-interface { + type uint32; + description + "FIB entry adjacency interface"; + } + leaf packets-through-fib-entry { + type uint64; + description + "Packets through this FIB entry"; + } + leaf bytes-through-fib-entry { + type uint64; + units "byte"; + description + "Bytes through this FIB entry"; + } + leaf detailed-prefix-length { + type uint32; + description + "Prefix length"; + } + leaf prefix-protocol { + type uint32; + description + "Prefix protocol"; + } + leaf precedence-forpackets { + type uint8; + description + "Precedence for packets to this entry"; + } + leaf traffic-index-for-packets { + type uint8; + description + "Traffic index for packets to this entry"; + } + leaf switch-compontent-id { + type uint32; + description + "Switch function compontent ID"; + } + leaf fast-adjacency-flag { + type boolean; + description + "Fast adjacency flag"; + } + leaf illegal-fast-adjacency-flag { + type boolean; + description + "Illegal fast adjacency flag"; + } + leaf remote-adjacency-flag { + type boolean; + description + "Remote adjacency flag"; + } + leaf bgp-attribute-id { + type uint32; + description + "BGP attribute id"; + } + leaf bgp-local-attribute-id { + type uint32; + description + "BGP local attribute id"; + } + leaf bgp-attribute-origin-as { + type uint32; + description + "BGP attribute origin as"; + } + leaf bgp-attribute-next-hop-as { + type uint32; + description + "BGP attribute next hop as"; + } + leaf path-string { + type yang:hex-string; + description + "As path string"; + } + leaf extcom-string { + type yang:hex-string; + description + "extcom st"; + } + leaf com-string { + type yang:hex-string; + description + "com st"; + } + leaf extended-community { + type uint32; + description + "extended community"; + } + leaf qos-group { + type uint32; + description + "qos group"; + } + leaf mpls-fec { + type uint32; + description + "mpls fec"; + } + leaf qppb-qos-group-and-ip-precedence { + type uint32; + description + "qppb QOS group and IP precedence"; + } + leaf flow-tag { + type uint8; + description + "PBR flow-tag"; + } + leaf forward-class { + type uint8; + description + "SPP forwarding class ID"; + } + leaf pl-time-of-last-update-in-msec { + type uint64; + description + "The time of last update for PL in msec"; + } + leaf ldi-time-of-last-update-in-msec { + type uint64; + description + "The time of last update for LDI in msec"; + } + leaf lwldi-time-of-last-update-in-msec { + type uint64; + description + "The time of last update for LW-LDI in msec"; + } + leaf pl-time-stamp-type { + type uint32; + description + "The type of time-stamp on PL"; + } + } + + grouping FIB-SH-TBL-FIB { + description + "Basic FIB table information"; + container detail-fib-entry-information { + description + "Detailed FIB entry information"; + uses FIB-SH-TBL-FIB-DET; + } + container fib-entry-path { + description + "FIB entry path details"; + uses FIB-SH-TBL-PATH; + } + container srv6-information { + description + "Information about IPv6 SR prefix"; + uses FIB-SH-LEAF-SRV6-INFO; + } + leaf protocol-type-fib-entry { + type uint32; + description + "Proto type for this entry"; + } + leaf platform-hardware { + type yang:hex-string; + description + "Platform Hardware info"; + } + leaf number-of-referances-to-path-list { + type uint32; + description + "Number of references to the pathlist"; + } + leaf path-list-flags { + type uint32; + description + "The pathlist flags"; + } + leaf path-list-source { + type uint32; + description + "The pathlist source"; + } + leaf number-of-referances-to-ldi { + type uint32; + description + "Number of references to the LDI"; + } + leaf ldi-flags { + type uint32; + description + "The LDI flags"; + } + leaf flags-external-ldi { + type uint32; + description + "The flags of ext assocaited with LDI "; + } + leaf pointer-external-ldi { + type uint32; + description + "The pointer to the ext assocaited with LDI"; + } + leaf exact-path-interface-handle { + type uint32; + description + "exact-path interface handle"; + } + leaf exact-path-gre-interface-handle { + type uint32; + description + "exact-path GRE physical interface handle"; + } + leaf exact-route-gre-phys-ifh-avail { + type boolean; + description + "exact-route GRE phy ifh available"; + } + leaf exact-route-result { + type boolean; + description + "exact-route result"; + } + leaf prefix-is-static-or-connected { + type boolean; + description + "Prefix is static or connected"; + } + leaf packet-should-recieve { + type boolean; + description + "Packet should always be received"; + } + leaf prefix-connected { + type boolean; + description + "Prefix is connected"; + } + leaf prefix-for-adjancency { + type boolean; + description + "Prefix is for an adjacency"; + } + leaf prefix-for-pic-next-hop { + type boolean; + description + "Prefix is for a PIC nexthop"; + } + leaf purgable-after-purge-interval { + type boolean; + description + "Purgable after the purge interval"; + } + leaf broadcast-recive-flag { + type boolean; + description + "Broadcast receive flag"; + } + leaf broadcast-forward-flag { + type boolean; + description + "Broadcast forward flag"; + } + leaf zero-by-zero-route-as-default { + type boolean; + description + "0/0 route added as default route"; + } + leaf external-switch-triggered { + type boolean; + description + "External switch function triggered"; + } + leaf route-attribute-flag { + type boolean; + description + "Route attributes summary flag"; + } + leaf dummy-real-zero-route { + type boolean; + description + "Dummy real zero route"; + } + leaf ldi-lw-flag { + type uint32; + description + "The LDI LW flags"; + } + leaf ref-counter-of-ldi-lw-ldi { + type uint32; + description + "The refcounter of LDI LW LDI"; + } + leaf type-of-ldi-lw-ldi { + type uint32; + description + "The type of LDI LW LDI"; + } + leaf lspa-flags { + type uint32; + description + "The LSPA flags"; + } + leaf version-of-route { + type uint64; + description + "The version of the route"; + } + leaf fib-route-download-priority { + type uint32; + description + "Priority at which the route was downloaded"; + } + leaf time-of-last-update-in-msec { + type uint64; + description + "The time of last update in msec"; + } + leaf l2-subscriber-route { + type boolean; + description + "Is L2 Subscriber route"; + } + leaf l2-subscriber-xconnect-id { + type uint32; + description + "XConnect-id associated with L2 subscriber"; + } + leaf l2-subscriber-ip-protocol { + type uint32; + description + "IP protocol associated with L2 subscriber"; + } + leaf l2tpv3-cookie-length-bits { + type uint32; + description + "L2TPv3 cookie length for L2 subscriber"; + } + leaf route-for-external-reach-linecard-flag { + type boolean; + description + "Route destined for Line Card that support + External Reach only"; + } + leaf route-is-sr-flag { + type boolean; + description + "Route is a MPLS Segment-Routing prefix"; + } + list extension-object { + description + "Leaf Extension Object List"; + uses FIB-SH-TBL-FIB-EXT-CMN-DET; + } + } + + grouping FIB-SH-NHINFO-EXT-REP-DET { + description + "NHINFO entry extension object information"; + leaf nh-info-replicated-type { + type uint8; + description + "Replicated NHINFO type"; + } + leaf nh-info-replicated-nh-id { + type uint32; + description + "NHID of the replicated NHINFO"; + } + leaf nh-info-replicated-interface { + type xr:Interface-name; + description + "Interface of the replicated NHINFO"; + } + } + + grouping FIB-SH-NHINFO-EXT-CMN-DET { + description + "FIB SH NHINFO EXT CMN DET"; + container snecd-nhr { + when "../type = 'replicated-nh-info'" { + description + "../type = 'ReplicatedNHINFO'"; + } + description + "snecd nhr"; + uses FIB-SH-NHINFO-EXT-REP-DET; + } + leaf type { + type Fib-nhinfo-ext-bag; + description + "type"; + } + } + + grouping FIB-SH-FIB-OBJ-BASE { + description + "FIB object base information"; + leaf object-reference-count { + type uint32; + description + "FIB Object Reference Count"; + } + leaf object-flags { + type uint32; + description + "FIB Object flags"; + } + leaf object-type { + type uint8; + description + "FIB Object type"; + } + leaf object-time-stamp { + type uint64; + description + "FIB Object TimeStamp in msec"; + } + leaf object-pointer { + type uint64; + description + "FIB Object pointer"; + } + } + + grouping FIB-SH-EXT-BASE { + description + "FIB object extension base information"; + container object-base { + description + "FIB Object Base information"; + uses FIB-SH-FIB-OBJ-BASE; + } + leaf parent-object-pointer { + type uint64; + description + "FIB Extension Object's parent pointer"; + } + leaf back-object-pointer { + type uint64; + description + "FIB Extension Object's back pointer"; + } + } + + grouping FIB-SH-NHINFO-EXT-DET { + description + "NHINFO entry extension internal information"; + container nh-info-extension-base { + description + "NHINFO Extension object base information"; + uses FIB-SH-EXT-BASE; + } + container nh-info-extension-detail { + description + "NHINFO Extension Detail Information"; + uses FIB-SH-NHINFO-EXT-CMN-DET; + } + } + + grouping FIB-SH-NHINFO-EXT { + description + "FIB per nhinfo info"; + list nh-info-extension-detail { + description + "NHINFO Extension Detail"; + uses FIB-SH-NHINFO-EXT-DET; + } + } + + grouping FIB-SH-NHINFO-PWHE-EXT { + description + "FIB PW-HE specific info"; + leaf pwhe-adjacency-client-data { + type uint32; + description + "PW-HE specific client data in adjacency"; + } + leaf vctype { + type uint32; + description + "VC type"; + } + leaf vc-internal-label { + type uint32; + description + "VC Internal Label"; + } + leaf cw-enabled { + type boolean; + description + "Is CW enabled?"; + } + leaf l2-overhead-bytes { + type uint16; + units "byte"; + description + "L2 overhead bytes for interface stats accounting"; + } + leaf dot1q-vlan-tag { + type uint32; + description + "VLAN tag"; + } + } + + grouping FIB-SH-NHINFO { + description + "FIB per nhinfo information"; + container si-pwhe { + description + "PW-HE interface extension"; + uses FIB-SH-NHINFO-PWHE-EXT; + } + container nh-info-extension { + description + "NHinfo Extensions"; + uses FIB-SH-NHINFO-EXT; + } + leaf si-link-proto { + type uint32; + description + "FIB Protocol Type for NHINFO linktype"; + } + leaf si-nhinfo { + type uint32; + description + "NHinfo object"; + } + leaf si-nhtype { + type uint32; + description + "NHinfo Type"; + } + leaf si-ifh { + type uint32; + description + "Ifhndl assoc w nhinfo"; + } + leaf si-pfi-interface-type { + type uint32; + description + "Pamna Interface Type"; + } + leaf si-adj-ptr { + type uint32; + description + "Adj Ptr"; + } + leaf si-adj-present { + type boolean; + description + "nhinfo point to adj"; + } + leaf si-special-type { + type uint32; + description + "nature of special nhinfo"; + } + leaf si-refcount { + type uint32; + description + "refcount"; + } + leaf si-flags { + type uint32; + description + "nhinfo flags"; + } + leaf si-adj-if { + type uint32; + description + "ADJ Interface"; + } + leaf si-ext-pfx { + type yang:hex-string; + description + "Extension Prefix"; + } + leaf si-ext-pfx-len { + type uint32; + description + "Extension Prefix Len"; + } + leaf si-ext-pfx-proto { + type uint32; + description + "Extension Prefix Protocol"; + } + leaf si-adj-address { + type yang:hex-string; + description + "AIB L3 Address"; + } + leaf si-adj-addrlen { + type uint32; + description + "ADJ L3 address length"; + } + leaf si-adj-addr-proto { + type uint32; + description + "ADJ L3 address Protocol"; + } + leaf si-adj-rw-len { + type uint32; + description + "Length of Macstring"; + } + leaf si-adj-rw { + type yang:hex-string; + description + "Macstring for Adjacency"; + } + leaf si-dep-nhinfo-type { + type uint32; + description + "Depenedent nhinfo type"; + } + leaf si-dep-nhinfo { + type uint32; + description + "Dependent nhinfo"; + } + leaf si-dep-nhinfo-ifh { + type uint32; + description + "Dependent nhinfo ifhndl"; + } + leaf si-bkup-frr { + type uint32; + description + "pointer to Backup FRR obj"; + } + leaf si-protect-frr { + type uint32; + description + "pointer to protect FRR object"; + } + leaf si-bkup-nhinfo { + type uint32; + description + "Bacckup NHINFO obj"; + } + leaf si-bkup-ifh { + type uint32; + description + "Bacckup IFH"; + } + leaf si-bkup-addr { + type yang:hex-string; + description + "Bkup L3 Address"; + } + leaf si-bkup-addrlen { + type uint32; + description + "BKup L3 address length"; + } + leaf si-bkup-addr-proto { + type uint32; + description + "BKup L3 address Protocol"; + } + leaf si-frr-active { + type boolean; + description + "is FRR currently active"; + } + leaf si-attr-is-ext-mgd { + type boolean; + description + "NH is externally managed"; + } + leaf si-attr-is-incomp { + type boolean; + description + "NH is incomplete"; + } + leaf si-attr-is-tunnel { + type boolean; + description + "NH is assoc w a TE tunnel"; + } + leaf si-attr-is-tunnel-srte { + type boolean; + description + "NH is assoc w a SRTE tunnel"; + } + leaf si-attr-is-gre-tunnel { + type boolean; + description + "NH is assoc w a GRE tunnel"; + } + leaf si-gre-ti { + type uint32; + description + "GRE tunnel info"; + } + leaf si-gre-ti-flags { + type uint32; + description + "Flags on GRE tunnel info"; + } + leaf si-gre-ti-refcnt { + type uint32; + description + "Refcount on GRE tunnel info"; + } + leaf si-gre-tos-propagate { + type boolean; + description + "Is GRE TOS propagate set"; + } + leaf si-hardware { + type yang:hex-string; + description + "Platform Hardware info"; + } + leaf si-nhinfo-ptr { + type uint32; + description + "nhinfo pointer"; + } + leaf si-fnb-idb-ptr { + type uint32; + description + "pointer to idb"; + } + leaf si-anc-ifh { + type uint32; + description + "Ancestor IFH"; + } + leaf si-gre-ti-resolving-leafp { + type uint32; + description + "GRE resolving ip-leaf"; + } + leaf si-gre-dest-addr { + type yang:hex-string; + description + "GRE dest address"; + } + leaf si-nhid { + type uint32; + description + "NHID value in the TX NH"; + } + leaf si-upd-ts { + type uint64; + description + "NH update timestamp"; + } + } + + grouping FIB-SH-TIMESPEC { + description + "FIB SH TIMESPEC"; + leaf seconds { + type int32; + description + "Seconds"; + } + leaf nano-seconds { + type int32; + description + "NanoSeconds"; + } + } + + grouping FIB-SH-FRR-LOG { + description + "FIB frr log information"; + container frr-timestamp { + description + "frr timestamp"; + uses FIB-SH-TIMESPEC; + } + leaf frr-protocol-type { + type Fib-frr-protocol-show; + description + "FIB Protocol Type"; + } + leaf frr-interface-name { + type xr:Interface-name; + description + "Interface assoc w frr nh"; + } + leaf frr-prefix { + type string { + length "0..52"; + } + description + "nh prefix"; + } + leaf frr-switching-time { + type uint32; + description + "frr switching time"; + } + leaf bundle-member-interface-name { + type xr:Interface-name; + description + "bundle member"; + } + } + + grouping FIB-SH-TBL-EXT-PL-SUM { + description + "FIB external client pathlist summary"; + leaf sep-num-ecd-pathlist { + type uint32; + description + "Number of ECD pathlists"; + } + leaf sep-num-ecd-pl-unresolved { + type uint32; + description + "Number of ECD pathlists unresolved"; + } + list sep-num-ecd-pl-per-interest { + max-elements "10"; + description + "Number of ECD pathlists per interest"; + leaf entry { + type uint32; + } + } + } + + grouping FIB-SH-TBL-EXT-SUM-ALL { + description + "FIB external brief summary information across all + clients"; + container sesa-pl-sum { + description + "External pathlist summary"; + uses FIB-SH-TBL-EXT-PL-SUM; + } + leaf sesa-num-client { + type uint32; + description + "Client information"; + } + } + + grouping FIB-SH-PFX-MASKLEN-CNT { + description + "FIB Prefix Masklength counts"; + leaf mask-length { + type uint8; + description + "Mask length"; + } + leaf number-of-prefixes { + type uint32; + description + "Number of prefixes with given mask length"; + } + } + + grouping FIB-SH-PFX-MASKLEN-DISTRIB { + description + "FIB Prefix Masklengths distribution"; + list unicast-prefixe { + description + "Masklength counts for unicast prefixes"; + uses FIB-SH-PFX-MASKLEN-CNT; + } + list broadcast-prefixe { + description + "Masklength counts for broadcast prefixes"; + uses FIB-SH-PFX-MASKLEN-CNT; + } + list multicast-prefix { + description + "Masklength counts for multicast prefixes"; + uses FIB-SH-PFX-MASKLEN-CNT; + } + } + + grouping FIB-PL-LDI-COUNT { + description + "FIB Pathlist and Loadinfo summary"; + leaf total-load-sharing-element-bytes { + type uint32; + units "byte"; + description + "Total memory used by load sharing elements in + bytes"; + } + leaf total-load-sharing-element-references { + type uint64; + description + "Total count of references to load sharing + elements"; + } + leaf total-path-list-elements { + type uint32; + description + "Total count of Pathlist elements"; + } + leaf recursive-path-list-elements { + type uint32; + description + "Count of recursive Pathlist elements"; + } + leaf platform-shared-path-list-elements { + type uint32; + description + "Count of platform shared Pathlist elements"; + } + leaf retry-path-list-elements { + type uint32; + description + "Count of Pathlist elements in retry"; + } + leaf total-load-info-elements { + type uint32; + description + "Total count of Loadinfo elements"; + } + leaf recursive-load-info-elements { + type uint32; + description + "Count of recursive Loadinfo elements"; + } + leaf platform-shared-load-info-elements { + type uint32; + description + "Count of platform shared Loadinfo elements"; + } + leaf xpl-load-info-elements { + type uint32; + description + "Count of XPL Loadinfo elements"; + } + } + + grouping FIB-SH-SUM { + description + "FIB summary statistics"; + container exclusive-load-sharing-element { + description + "Exclusive load sharing element"; + uses FIB-PL-LDI-COUNT; + } + container shared-load-sharing-element { + description + "Shared load sharing element"; + uses FIB-PL-LDI-COUNT; + } + container cross-shared-load-sharing-element { + description + "Cross-table shared load sharing element"; + uses FIB-PL-LDI-COUNT; + } + container label-shared-load-sharing-element { + description + "Label-shared load sharing element"; + uses FIB-PL-LDI-COUNT; + } + container prefix-masklen-distribution { + description + "Distribution of prefix mask lengths"; + uses FIB-SH-PFX-MASKLEN-DISTRIB; + } + leaf prefix { + type yang:hex-string; + description + "The router-id"; + } + leaf ss-tbl-id { + type uint32; + description + "Table Id"; + } + leaf ss-tbl-id-ptr { + type uint32; + description + "Table Id Ptr"; + } + leaf ss-vrf-id { + type uint32; + description + "Virtual routing forwarding instance Id"; + } + leaf ss-vr-id { + type uint32; + description + "Virtual router instance Id"; + } + leaf load-balancing { + type Ss-lba-state; + description + "LBA configuration state"; + } + leaf forwarding-elements { + type uint32; + description + "Number of forwarding elements linked to the + table"; + } + leaf routes { + type uint32; + description + "Number of routes"; + } + leaf prefix-in-place-modifications { + type uint32; + description + "Number of inplace modifications"; + } + leaf stale-prefix-deletes { + type uint32; + description + "Number of deleted stale leafs"; + } + leaf load-sharing-elements { + type uint32; + description + "Count of load sharing elements"; + } + leaf load-sharing-references { + type uint64; + description + "Count of load sharing references"; + } + leaf total-load-share-element-bytes { + type uint32; + description + "Total memory used by load sharing elements"; + } + leaf leaves-used-bytes { + type uint32; + description + "Total memory used by leaves"; + } + leaf reresolve-entries { + type uint32; + description + "Number of reresolved entries"; + } + leaf old-unresolve-entries { + type uint32; + description + "Number of old unresolved entries"; + } + leaf new-unresolve-entries { + type uint32; + description + "Number of new unresolved entries"; + } + leaf unresolve-entries { + type uint32; + description + "Number of total unresolved entries"; + } + leaf cef-route-drops { + type uint32; + description + "Number of routes dropped by CEF"; + } + leaf cef-version-mismatch-route-drops { + type uint64; + description + "the number of routes dropped due to version + mismatch"; + } + leaf delete-cache-num-entries { + type uint32; + description + "Number of entries in the route delete cache"; + } + leaf existing-leaves-revisions { + type uint32; + description + "Number of entries present on addition"; + } + leaf fib-default-prefix { + type uint32; + description + "Default prefix"; + } + leaf fib-default-prefix-mask-length { + type uint32; + description + "Default prefix mask length"; + } + leaf next-hops { + type uint32; + description + "Number of NHINFOS"; + } + leaf incomplete-next-hops { + type uint32; + description + "Number of incomplete NHINFOS"; + } + leaf resolution-timer { + type uint32; + units "second"; + description + "IP CEF resolution timer in seconds"; + } + leaf slow-process-timer { + type uint32; + units "second"; + description + "IP CEF slow processing time in seconds"; + } + leaf max-resolution-timer { + type uint32; + units "second"; + description + "IP CEF max resolution time in seconds"; + } + leaf imposition-prefixes { + type uint32; + description + "Number of prefixes with imposition LDI"; + } + leaf extended-prefixes { + type uint32; + description + "Number of prefixes with extended path-list"; + } + leaf cefl-bl-recycled-routes { + type uint32; + description + "Number of routes updates with recycled label + handled"; + } + leaf ldi-backwalks { + type uint32; + description + "pd backwalks on LDI modify with backup path"; + } + leaf ss-prot-route-count { + type uint32; + description + "Number of routes with FRR protection"; + } + leaf lisp-eid-prefixes { + type uint32; + description + "Number of lisp eid prefixes associated with + table"; + } + leaf lisp-eid-valid-prefixes { + type uint32; + description + "Number of lisp eid prefixes eligible for + forwarding"; + } + leaf lisp-rloc-objects { + type uint32; + description + "Number of lisp rloc objects associated with + table"; + } + leaf ss-vxlan-ltep-ifh { + type xr:Interface-name; + description + "VXLAN local Interface handle"; + } + leaf ss-drop-pl-count { + type uint32; + description + "Number of dropped pathlists"; + } + } + + grouping FIB-SH-RSRC-SHM { + description + "Shared memory availability"; + leaf srs-curr-mode { + type uint32; + description + "OOR mode for this shared memory window"; + } + leaf srs-avg-avail { + type uint64; + units "byte"; + description + "Average number of bytes available"; + } + leaf srs-max-avail { + type uint64; + units "byte"; + description + "Maximum bytes available"; + } + } + + grouping FIB-SH-RSRC-AVAIL-STATE { + description + "FIB resource availability state"; + leaf sr-curr-mode { + type uint32; + description + "Current overall oor mode"; + } + leaf sr-hwrsrc-info { + type yang:hex-string; + description + "Opaque hardware rsrc state info"; + } + leaf sr-shmwin-oor-count { + type uint8; + description + "sr shmwin oor count"; + } + leaf sr-hw-oor-count { + type uint8; + description + "sr hw oor count"; + } + leaf sr-in-oor-ts { + type uint64; + description + "sr in oor ts"; + } + leaf sr-out-oor-ts { + type uint64; + description + "sr out oor ts"; + } + list sr-hwrsrc-mode { + description + "Hardware resource mode"; + leaf entry { + type uint32; + } + } + list sr-shm-state { + description + "Current status of shared memories"; + uses FIB-SH-RSRC-SHM; + } + } + + grouping FIB-ISSU-PROTO-STATE { + description + "FIB ISSU protocol state"; + leaf protocol-name { + type string { + length "0..6"; + } + description + "Protocol name"; + } + leaf aib-eod-time-stamp { + type string { + length "0..33"; + } + description + "AIB EODTimeStamp"; + } + leaf rsi-eod-valid { + type boolean; + description + "RSI EOD expected/valid"; + } + leaf rsi-eod-time-stamp { + type string { + length "0..33"; + } + description + "RSI EOD received timestamp"; + } + leaf lsd-eod-valid { + type boolean; + description + "LSD EOD expected/valid"; + } + leaf lsd-eod-time-stamp { + type string { + length "0..33"; + } + description + "LSD EOD received timestamp"; + } + leaf lmrib-eod-valid { + type boolean; + description + "LMRIB EOD expected/valid"; + } + leaf lmrib-eod-time-stamp { + type string { + length "0..33"; + } + description + "LMRIB EOD received timestamp"; + } + leaf rib-info-valid { + type boolean; + description + "RIB table info valid"; + } + leaf bcdl-tables { + type uint32; + description + "Number of BCDL tables"; + } + leaf converged-tables { + type uint32; + description + "Number of tables converged"; + } + leaf rib-tables-converged-time-stamp { + type string { + length "0..33"; + } + description + "All RIB tables converged timestamp"; + } + leaf protocol-eod-valid { + type boolean; + description + "Protocol EOD expected/valid"; + } + leaf protocol-eod-time-stamp { + type string { + length "0..33"; + } + description + "Protocol EOD sent timestamp"; + } + } + + grouping FIB-ISSU-STATE { + description + "FIB ISSU state"; + leaf imdr-support { + type boolean; + description + "IMDR supported"; + } + leaf slc-support { + type boolean; + description + "SLC supported"; + } + leaf fis-issu-restart { + type boolean; + description + "ISSU restart"; + } + leaf imdr-eoc-implicit { + type boolean; + description + "IMDR End-of-config implicit"; + } + leaf slc-eoc-implicit { + type boolean; + description + "SLC End-of-config implicit"; + } + leaf eoc-received-imdr-time-stamp { + type string { + length "0..33"; + } + description + "End-of-config received from IMDR timestamp"; + } + leaf eoc-received-slc-time-stamp { + type string { + length "0..33"; + } + description + "End-of-config received from SLC timestamp"; + } + leaf eod-received-im-time-stamp { + type string { + length "0..33"; + } + description + "End-of-download received from IM timestamp"; + } + leaf eod-sent-imdr-time-stamp { + type string { + length "0..33"; + } + description + "End-of-download send to IMDR timestamp"; + } + leaf eod-sent-slc-time-stamp { + type string { + length "0..33"; + } + description + "End-of-download send to SLC timestamp"; + } + leaf fis-issu-error-ts { + type uint64; + description + "ISSU error sent to ISSUMGR timetstamp"; + } + list fis-proto-state { + max-elements "3"; + description + "IMDR state for the protocols"; + uses FIB-ISSU-PROTO-STATE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub4.yang new file mode 100644 index 0000000..59c1509 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub4.yang @@ -0,0 +1,201 @@ +submodule Cisco-IOS-XR-fib-common-oper-sub4 { + belongs-to Cisco-IOS-XR-fib-common-oper { + prefix Cisco-IOS-XR-fib-common-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FIB-GLOBAL-SUMMARY-OBJ-HISTORY { + description + "FIB Global summary object history"; + leaf count { + type uint32; + description + "Placeholder for obj history counts"; + } + } + + grouping FIB-GLOBAL-SUMMARY-OBJ-HISTORY-PROTO { + description + "FIB GLOBAL SUMMARY OBJ HISTORY PROTO"; + container base-object { + description + "Base object"; + uses FIB-GLOBAL-BASE-ST; + } + container object-history { + description + "Obj History"; + uses FIB-GLOBAL-SUMMARY-OBJ-HISTORY; + } + } + + grouping FIB-GLOBAL-SUMMARY-HEALTH { + description + "FIB Global summary health"; + leaf is-retry-db-empty { + type boolean; + description + "Is the retry db empty?"; + } + } + + grouping FIB-GLOBAL-BASE-ST { + description + "FIB Global Base st"; + leaf protocol { + type uint32; + description + "protocol"; + } + } + + grouping FIB-GLOBAL-SUMMARY { + description + "FIB Global summary"; + container base-object { + description + "Base object"; + uses FIB-GLOBAL-BASE-ST; + } + container summary-counts { + description + "Global Summary counts"; + uses FIB-GLOBAL-SUMMARY-COUNTS; + } + container health { + description + "Global summary health"; + uses FIB-GLOBAL-SUMMARY-HEALTH; + } + } + + grouping FIB-GLOBAL-SUMMARY-PROTO { + description + "FIB GLOBAL SUMMARY PROTO"; + container common-info { + description + "Common Info"; + uses FIB-GLOBAL-SUMMARY-COMMON-INFO; + } + container summary { + description + "Global summary"; + uses FIB-GLOBAL-SUMMARY; + } + } + + grouping FIB-GLOBAL-NUM-OBJECTS-ST { + description + "FIB Global summary num retries"; + leaf object-type { + type string { + length "0..30"; + } + description + "object"; + } + leaf num-objects { + type uint32; + description + "number of elements for this obj type"; + } + } + + grouping FIB-GLOBAL-NUM-RETRIES-ST { + description + "FIB Global summary num retries"; + leaf retry-object-type { + type string { + length "0..30"; + } + description + "retry object"; + } + leaf num-retries { + type uint64; + description + "number of elements for this obj type in retry db"; + } + } + + grouping FIB-GLOBAL-SUMMARY-COUNTS { + description + "FIB Global summary counts"; + leaf num-retry-timeouts { + type uint64; + description + "number of retry timeouts"; + } + leaf num-retry-ojbects { + type uint32; + description + "number of elements in retry db"; + } + list array-number-of-retry { + description + "number of objects in retry db"; + uses FIB-GLOBAL-NUM-RETRIES-ST; + } + list array-number-of-object { + description + "total number of objects"; + uses FIB-GLOBAL-NUM-OBJECTS-ST; + } + } + + grouping FIB-GLOBAL-SUMMARY-COMMON-INFO { + description + "FIB Global summary common"; + leaf count { + type uint32; + description + "Placeholder for common info counts"; + } + } + + grouping FIB-GLOBAL-SUMMARY-TOTAL { + description + "FIB GLOBAL SUMMARY TOTAL"; + container common-info { + description + "Common info"; + uses FIB-GLOBAL-SUMMARY-COMMON-INFO; + } + container total-counters { + description + "Aggregate counters of all protocols"; + uses FIB-GLOBAL-SUMMARY-COUNTS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub5.yang new file mode 100644 index 0000000..7829e5f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper-sub5.yang @@ -0,0 +1,157 @@ +submodule Cisco-IOS-XR-fib-common-oper-sub5 { + belongs-to Cisco-IOS-XR-fib-common-oper { + prefix Cisco-IOS-XR-fib-common-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FIB-STATISTICS-BAG-DROPS { + description + "FIB drop statistics"; + leaf no-route-packets { + type uint64; + description + "no route pkt"; + } + leaf punt-unreachable-packets { + type uint64; + description + "Punt generate unreach pkt"; + } + leaf df-unreachable-packets { + type uint64; + description + "DF unreachable pkt"; + } + leaf encapsulation-failure-packets { + type uint64; + description + "encapsulation failure pkt"; + } + leaf incomplete-adjacency-packets { + type uint64; + description + "incomplete adjacency pkt"; + } + leaf unresolved-prefix-packets { + type uint64; + description + "unresolved prefix pkt"; + } + leaf unsupported-feature-packets { + type uint64; + description + "unsupported feature pkt"; + } + leaf discard-packets { + type uint64; + description + "discard pkt"; + } + leaf checksum-error-packets { + type uint64; + description + "checksum error pkt"; + } + leaf fragmenation-consumed-packets { + type uint64; + description + "frag consumed packet pkt"; + } + leaf fragmenation-failure-packets { + type uint64; + description + "fragmenation failure pkt"; + } + leaf null-packets { + type uint64; + description + "null0 pkt"; + } + leaf rpf-check-failure-packets { + type uint64; + description + "RPF check failures pkt"; + } + leaf acl-in-rpf-packets { + type uint64; + description + "ACL in RPF pkt"; + } + leaf rp-destination-drop-packets { + type uint64; + description + "rp dest drop pkt"; + } + leaf total-number-of-drop-packets { + type uint64; + description + "the total number of drop pkt"; + } + leaf mpls-disabled-interface { + type uint64; + description + "mpls disabled in interface"; + } + leaf gre-lookup-failed-drop { + type uint64; + description + "GRE tunnel lookup failed drop pkt"; + } + leaf gre-error-drop { + type uint64; + description + "GRE processing errors"; + } + leaf lisp-punt-drops { + type uint64; + description + "LISP Punt drops"; + } + leaf lisp-encap-error-drops { + type uint64; + description + "Lisp encap error drops"; + } + leaf lisp-decap-error-drops { + type uint64; + description + "Lisp decap error drops"; + } + leaf multi-label-drops { + type uint64; + description + "Drops for the packets with multi[le labels"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper.yang new file mode 100644 index 0000000..ba43795 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fib-common-oper.yang @@ -0,0 +1,1102 @@ +module Cisco-IOS-XR-fib-common-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fib-common-oper"; + prefix fib-common-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fib-common-oper-sub5 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-fib-common-oper-sub4 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-fib-common-oper-sub3 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-fib-common-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-fib-common-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fib-common package operational data. + + This module contains definitions + for the following management objects: + fib-statistics: cef interface drops operational data + fib: fib + mpls-forwarding: mpls forwarding + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-20 { + description + "IOS XR 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fib-route-source { + type enumeration { + enum "lsd" { + value 5; + description + "LSD"; + } + enum "rib" { + value 7; + description + "RIB"; + } + enum "mrib" { + value 13; + description + "MRIB"; + } + } + description + "Fib route source"; + } + + typedef Fib-protocol { + type enumeration { + enum "ipv4" { + value 0; + description + "ipv4 protocol"; + } + enum "ipv6" { + value 1; + description + "ipv6 protocol"; + } + enum "mpls" { + value 2; + description + "MPLS protocol"; + } + } + description + "Fib protocol"; + } + + typedef Fibafi-proto { + type enumeration { + enum "ipv4" { + value 0; + description + "ipv4 protocol"; + } + enum "ipv4-mpls" { + value 1; + description + "ipv4 mpls protocol"; + } + enum "ipv6" { + value 2; + description + "ipv6 protocol"; + } + enum "ipv6-mpls" { + value 3; + description + "ipv6 mpls protocol"; + } + } + description + "Fibafi proto"; + } + + typedef Fib-label { + type uint32 { + range "16..1048575"; + } + description + "Fib label"; + } + + typedef Fibllc-entry { + type enumeration { + enum "xc" { + value 1; + description + "LabelXconnect"; + } + enum "pfx" { + value 2; + description + "IPPrefix"; + } + } + description + "Fibllc entry"; + } + + typedef Fib-link { + type enumeration { + enum "link-ipv4" { + value 0; + description + "IPv4 link protocol"; + } + enum "link-ipv6" { + value 1; + description + "IPv6 link protocol"; + } + enum "link-mpls" { + value 2; + description + "MPLS link protocol"; + } + } + description + "Fib link"; + } + + typedef Mpls-label { + type uint32 { + range "16..1048575"; + } + description + "Mpls label"; + } + + typedef Mplseos { + type enumeration { + enum "eos0" { + value 0; + description + "EOS Disable"; + } + enum "eos1" { + value 1; + description + "EOS Enable"; + } + } + description + "Mplseos"; + } + + container fib-statistics { + config false; + description + "cef interface drops operational data"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Specific node operational data"; + container drops { + description + "Specific node drops"; + uses FIB-STATISTICS-BAG-DROPS; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container fib { + config false; + description + "fib"; + container nodes { + description + "Table of nodes"; + list node { + key "node-name"; + description + "Operational data for a specific Node"; + container global { + description + "FIB Global info"; + container summary { + description + "Global Summary"; + container total { + description + "Display total counters and common info"; + uses FIB-GLOBAL-SUMMARY-TOTAL; + } + container protos { + description + "Proto Table"; + list proto { + key "protocol-name"; + description + "Proto Table entry"; + leaf protocol-name { + type Fibafi-proto; + description + "Protocol Name"; + } + uses FIB-GLOBAL-SUMMARY-PROTO; + } + } + } + container object-history { + description + "Object History"; + container obj-history-protos { + description + "Proto Table"; + list obj-history-proto { + key "protocol-name"; + description + "Protocol Table entry"; + leaf protocol-name { + type Fibafi-proto; + description + "Protocol Name"; + } + uses FIB-GLOBAL-SUMMARY-OBJ-HISTORY-PROTO; + } + } + } + } + container protocols { + description + "Protocol table"; + list protocol { + key "protocol-name"; + description + "Protocol table entry"; + container issu-state { + description + "CEF ISSU State"; + uses FIB-ISSU-STATE; + } + container resource { + description + "Resource information"; + container resource-detail-info { + description + "Detailed info"; + uses FIB-SH-RSRC-AVAIL-STATE; + } + container resource-hardware-ingress-info { + description + "Detailed info with ingress hardware info"; + uses FIB-SH-RSRC-AVAIL-STATE; + } + container resource-hardware-egress-info { + description + "Detailed info with egress hardware info"; + uses FIB-SH-RSRC-AVAIL-STATE; + } + container resource-summary-info { + description + "Summary info"; + uses FIB-SH-RSRC-AVAIL-STATE; + } + } + container fib-summaries { + description + "Summary for FIB tables"; + list fib-summary { + description + "Summary for the requested fib table"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + leaf table-id { + type xr:Hex-integer; + description + "FIB table id"; + } + uses FIB-SH-SUM; + } + } + container external-summary-all { + description + "Summary for all external clients"; + uses FIB-SH-TBL-EXT-SUM-ALL; + } + container frr-log { + description + "Table of Fast Reroute activation logs"; + container frr-interfaces { + description + "FRR Interface Table"; + list frr-interface { + key "frr-interface-name"; + description + "Specify FRR Interface Name"; + container logs { + description + "FRR log table"; + list log { + key "log-index"; + description + "Specify index into frr log table"; + leaf log-index { + type int32; + description + "FRR Log Index"; + } + uses FIB-SH-FRR-LOG; + } + } + leaf frr-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + } + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF table entry"; + container nh-info-detail-hardware-egress { + description + "NHInfoTable is accessed by two keys; + {NHInterface,NHAddress}"; + container nh-info-special-detail-hardware-egress { + description + "Detail hardware engress info for Special + nhinfo"; + container nh-info-special-null-detail-hardware-egress { + description + "Detail hardware engress info for + special-null NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-punt-detail-hardware-egress { + description + "Detail hardware engress info for + special-punt NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-discard-detail-hardware-egress { + description + "Detail hardware engress info for + special-discard NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-drop-detail-hardware-egress { + description + "Detail hardware engress info for + special-drop NHInfo entry"; + uses FIB-SH-NHINFO; + } + } + container nh-info-local-detail-hardware-egresses { + description + "Local (non-remote) nhinfo"; + list nh-info-local-detail-hardware-egress { + description + "Detail hardware egress NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + container nh-info-remote-detail-hardware-egresses { + description + "Detail hardware egress info for remote + NHInfo table"; + list nh-info-remote-detail-hardware-egress { + description + "Detail hardware egress info for NHinfo + entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + } + container ip-prefix-details { + description + "IP FIB prefix detail table"; + list ip-prefix-detail { + description + "IP FIB prefix detail table entry"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Destination IP address"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "IP prefix length"; + } + uses FIB-SH-TBL-FIB; + } + } + container nh-info-detail { + description + "NHInfoTable is accessed by two keys; + {NHInterface,NHAddress}"; + container nh-info-local-details { + description + "Local (non-remote) nhinfo"; + list nh-info-local-detail { + description + "Detail NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + container nh-info-special-detail { + description + "Special nhinfo"; + container nh-info-special-punt-detail { + description + "Detail special-punt NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-drop-detail { + description + "Detail special-drop NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-null-detail { + description + "Detail special-null NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-discard-detail { + description + "Detail special-discard NHInfo entry"; + uses FIB-SH-NHINFO; + } + } + container nh-info-remote-details { + description + "Detailed Remote NHInfo table"; + list nh-info-remote-detail { + description + "Detailed remote NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + } + container summary { + description + "Operational data for FIB Tablee"; + uses FIB-SH-SUM; + } + container interface-infos { + description + "Table of InterfaceInfo"; + list interface-info { + key "link-type"; + description + "Specify link type"; + container interfaces { + description + "Table of interfaces"; + list interface { + key "interface-name"; + description + "Specify Interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses FIB-SH-INT; + } + } + leaf link-type { + type Fib-link; + description + "Link type"; + } + } + } + container ip-prefix-briefs { + description + "IP FIB prefix brief table"; + list ip-prefix-brief { + description + "IP FIB prefix brief table entry"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Destination IP address"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "IP prefix length"; + } + uses FIB-SH-TBL-FIB; + } + } + container nh-info-detail-hardware-ingress { + description + "NHInfoTable is accessed by two keys; + {NHInterface,NHAddress}"; + container nh-info-remote-detail-hardware-ingresses { + description + "Detailed hardware ingress info for remote + NHInfo table"; + list nh-info-remote-detail-hardware-ingress { + description + "Detail hardware ingress info for remote + NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + container nh-info-local-detail-hardware-ingresses { + description + "Local (non-remote) nhinfo"; + list nh-info-local-detail-hardware-ingress { + description + "Detail hardware ingress NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + container nh-info-special-detail-hardware-ingress { + description + "Special nhinfo"; + container nh-info-special-punt-detail-hardware-ingress { + description + "Detail hardware ingress info for + special-punt NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-null-detail-hardware-ingress { + description + "Detail hardware ingress info for + special-null NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-drop-detail-hardware-ingress { + description + "Detail hardware ingress info for + special-drop NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-discard-detail-hardware-ingress { + description + "Detail hardware ingress info for + special-discard NHInfo entry"; + uses FIB-SH-NHINFO; + } + } + } + container nh-info-brief { + description + "NHInfoTable is accessed by two keys; + {NHInterface,NHAddress}"; + container nh-info-special-brief { + description + "Special nhinfo"; + container nh-info-special-discard-brief { + description + "Brief special-discard NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-null-brief { + description + "Brief special-null NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-punt-brief { + description + "Brief special-punt NHInfo entry"; + uses FIB-SH-NHINFO; + } + container nh-info-special-drop-brief { + description + "Brief special-drop NHInfo entry"; + uses FIB-SH-NHINFO; + } + } + container nh-info-remote-briefs { + description + "remote nhinfo"; + list nh-info-remote-brief { + description + "Brief remote NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + container nh-info-local-briefs { + description + "Local (non-remote) nhinfo"; + list nh-info-local-brief { + description + "Brief NHinfo entry"; + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format"; + } + uses FIB-SH-NHINFO; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + } + } + container exact-routes { + description + "Exact Route Table"; + list exact-route { + description + "Exact route for the given source and + destination addresses"; + leaf protocol-name { + type Fib-protocol; + description + "Protocol Name"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + leaf source { + type xr:Cisco-ios-xr-string; + description + "Source address"; + } + leaf destination { + type xr:Cisco-ios-xr-string; + description + "Destination address"; + } + uses FIB-SH-TBL-FIB; + } + } + container nh-ids { + description + "NHIdTable is accessed by two keys; + {NHIdValue} and/or {NHInterface,NHAddress"; + list nh-id { + description + "NextHopeId table entry"; + leaf nh-id-value { + type int32; + description + "NexthopId Value"; + } + leaf nh-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf nh-address { + type xr:Cisco-ios-xr-string; + description + "Next-hop address in string format (e.g., 1 + .2.3.4)"; + } + uses FIB-SH-NHID-ENTRY; + } + } + container external-client-summaries { + description + "External Client Summary Table"; + list external-client-summary { + description + "Summary of the external clients"; + leaf ecd-ver { + type int32; + description + "Ecd Version"; + } + leaf id { + type int32; + description + "ID of the client: ECDv1 is component id, + ECDv2 is client id"; + } + uses FIB-SH-TBL-EXT-CLIENT-SUM; + } + } + container misc { + description + "CEF misc hidden data"; + uses FIB-SH-MISC; + } + container local-label { + description + "Local label"; + container conflicts { + description + "FIB Local-label conflicts database"; + list conflict { + description + "CEF Local-label conflicts entry"; + leaf label { + type Fib-label; + description + "Local label"; + } + leaf source { + type Fib-route-source; + description + "Route source"; + } + leaf ll-ctype { + type Fibllc-entry; + description + "Type of entry"; + } + leaf pfx-tbl-id { + type int32; + description + "Table ID of IP prefix"; + } + leaf prefix { + type xr:Cisco-ios-xr-string; + description + "IP Prefix"; + } + leaf prefix-len { + type int32; + description + "Length of IP Prefix"; + } + uses FIB-MPLS-LLC; + } + } + } + leaf protocol-name { + type Fib-protocol; + description + "Protocol Name "; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container mpls-forwarding { + config false; + description + "mpls forwarding"; + container nodes { + description + "Table of Nodes"; + list node { + key "node-name"; + description + "Operational data for a specific Node"; + container forwarding-summary { + description + "MPLS forwarding summary"; + uses MPLS-FWDING-SUMMARY; + } + container frr-logs { + description + "FRR Log Table"; + list frr-log { + key "event-id"; + description + "FRR Log information"; + leaf event-id { + type int32; + description + "Event ID"; + } + uses FIB-MPLS-FRR-EVENT; + } + } + container label-fib { + description + "Labels For FIB"; + container forwarding-details { + description + "MPLS Forwarding Detail table"; + list forwarding-detail { + description + "MPLS forwarding details"; + leaf label-value { + type Mpls-label; + description + "Local label value"; + } + leaf eos { + type Mplseos; + description + "End of stack flag"; + } + uses MPLS-SH-LEAF; + } + } + container informations { + description + "Forwarding filtering details"; + list information { + description + "MPLS forwarding information"; + leaf label-value { + type Mpls-label; + description + "Local label value"; + } + leaf eos { + type Mplseos; + description + "End of stack flag"; + } + uses MPLS-SH-LEAF; + } + } + container label-security { + description + "MPLS label security"; + container interfaces { + description + "MPLS label security interface table"; + list interface { + key "interface-name"; + description + "Specify interface Name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses MPLS-LABEL-SECURITY-INTF; + } + } + container summary { + description + "MPLS label security summary"; + uses MPLS-LABEL-SECURITY-SUMMARY; + } + } + } + container tunnel { + description + "TE Tunnel information"; + container forwarding-tunnels { + description + "Forwarding details for TE tunnels"; + list forwarding-tunnel { + key "interface-name"; + description + "Forwarding information for the TE tunnel"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses MPLS-SH-TEHEAD; + } + } + } + container frr-database { + description + "MPLS forwarding FRR Database"; + container frrdb-summary { + description + "MPLS forwarding FRR Database Summary"; + uses FIB-MPLS-FRR-DB-SUM; + } + container frrdb-protected-interface-table-summaries { + description + "MPLS forwarding FRR Database Protected + Interface Summary Table"; + list frrdb-protected-interface-table-summary { + key "interface-name"; + description + "MPLS forwarding FRR Database Protected + Interface Summary"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses FIB-MPLS-FRR-DB-SUM; + } + } + container frrdb-tunnel-midpoint-summary { + description + "MPLS forwarding FRR Database Tunnel Midpoint + Summary"; + uses FIB-MPLS-FRR-DB-SUM; + } + container frrdb-tunnel-midpoints { + description + "MPLS forwarding FRR Database Tunnel Midpoint + Table"; + list frrdb-tunnel-midpoint { + key "local-label"; + description + "MPLS forwarding FRR Database Tunnel Midpoint + Entry"; + leaf local-label { + type Mpls-label; + description + "Local label value"; + } + uses MPLS-FRR-DB-ENTRY; + } + } + container frrdb-tunnel-heads { + description + "MPLS forwarding FRR Database Tunnel Head + Table"; + list frrdb-tunnel-head { + key "interface-name"; + description + "MPLS forwarding FRR Database Tunnel Head + Entry"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses MPLS-FRR-DB-ENTRY; + } + } + container frrdb-tunnel-head-summary { + description + "MPLS forwarding FRR Database Tunnel Head + Summary"; + uses FIB-MPLS-FRR-DB-SUM; + } + container frrdb-backup-interface-summaries { + description + "MPLS forwarding FRR Database Backup Interface + Summary Table"; + list frrdb-backup-interface-summary { + key "interface-name"; + description + "MPLS forwarding FRR Database Backup + Interface Summary"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses FIB-MPLS-FRR-DB-SUM; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-flashmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-flashmib-cfg.yang new file mode 100644 index 0000000..6105c8f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-flashmib-cfg.yang @@ -0,0 +1,62 @@ +module Cisco-IOS-XR-flashmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-flashmib-cfg"; + prefix flashmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR flashmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-12-15 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container flash { + description + "CISCO-FLASH-MIB notification configuration"; + leaf insertion { + type empty; + description + "Enable ciscoFlashDeviceInsertedNotif + notification"; + } + leaf removal { + type empty; + description + "Enable ciscoFlashDeviceRemovedNotif + notification"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-cfg.yang new file mode 100644 index 0000000..f1baab2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-cfg.yang @@ -0,0 +1,385 @@ +module Cisco-IOS-XR-freqsync-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg"; + prefix freqsync-cfg; + + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + import Cisco-IOS-XR-freqsync-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR freqsync package configuration. + + This module contains definitions + for the following management objects: + frequency-synchronization: frequency synchronization + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg, + Cisco-IOS-XR-ifmgr-cfg + Cisco-IOS-XR-config-mda-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fsync-system-timing-mode { + type enumeration { + enum "line-only" { + value 2; + description + "Line-interfaces only"; + } + enum "clock-only" { + value 3; + description + "Clock-interfaces only"; + } + } + description + "Fsync system timing mode"; + } + + typedef Fsync-clock-source { + type enumeration { + enum "system" { + value 1; + description + "System"; + } + enum "independent" { + value 3; + description + "Independent"; + } + } + description + "Fsync clock source"; + } + + typedef Fsync-source-selection-logging { + type enumeration { + enum "changes" { + value 1; + description + "Log selection changes"; + } + enum "errors" { + value 2; + description + "Log selection errors"; + } + } + description + "Fsync source selection logging"; + } + + grouping NODE-CFG { + description + "active/preconfigured nodes configuration"; + container clock-interface { + description + "Configuration for a clock interface"; + container clocks { + description + "Configuration for a clock interface"; + list clock { + key "clock-type port"; + description + "Configuration for a clock interface"; + container frequency-synchronization { + description + "Frequency Synchronization clock configuraiton"; + container output-quality-level { + description + "Set the output quality level"; + leaf quality-level-option { + type dt1:Fsync-ql-option; + must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; + description + "Quality level option"; + } + leaf exact-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; + description + "Exact quality level value"; + } + leaf min-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Minimum quality level value"; + } + leaf max-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Maximum quality level value"; + } + } + container input-quality-level { + description + "Set the input quality level"; + leaf quality-level-option { + type dt1:Fsync-ql-option; + must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; + description + "Quality level option"; + } + leaf exact-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; + description + "Exact quality level value"; + } + leaf min-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Minimum quality level value"; + } + leaf max-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Maximum quality level value"; + } + } + leaf wait-to-restore-time { + type uint32 { + range "0..12"; + } + default "5"; + description + "Set the wait-to-restore time for this source"; + } + leaf priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Set the priority of this source"; + } + leaf selection-input { + type empty; + description + "Assign this source as a selection input"; + } + leaf time-of-day-priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Set the time-of-day priority of this source"; + } + leaf ssm-disable { + type empty; + description + "Disable SSM on this source"; + } + } + leaf clock-type { + type dt1:Fsync-clock; + description + "Clock type"; + } + leaf port { + type int32; + description + "Clock port"; + } + } + } + } + } + + augment "/a2:interface-configurations/a2:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container frequency-synchronization { + description + "Frequency Synchronization interface + configuration"; + container input-quality-level { + description + "Set the input quality level"; + leaf quality-level-option { + type dt1:Fsync-ql-option; + must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; + description + "Quality level option"; + } + leaf exact-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; + description + "Exact quality level value"; + } + leaf min-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Minimum quality level value"; + } + leaf max-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Maximum quality level value"; + } + } + container output-quality-level { + description + "Set the output quality level"; + leaf quality-level-option { + type dt1:Fsync-ql-option; + must "../exact-quality-level-value or ../min-quality-level-value or ../max-quality-level-value"; + description + "Quality level option"; + } + leaf exact-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../min-quality-level-value or ../max-quality-level-value)"; + description + "Exact quality level value"; + } + leaf min-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Minimum quality level value"; + } + leaf max-quality-level-value { + type dt1:Fsync-ql-value; + must "../quality-level-option and not(../exact-quality-level-value)"; + description + "Maximum quality level value"; + } + } + leaf ssm-disable { + type empty; + description + "Disable SSM on this source"; + } + leaf time-of-day-priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Set the time-of-day priority of this source"; + } + leaf selection-input { + type empty; + description + "Assign this source as a selection input"; + } + leaf enable { + type empty; + description + "Enable Frequency Synchronization"; + } + leaf priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Set the priority of this source"; + } + leaf wait-to-restore-time { + type uint32 { + range "0..12"; + } + default "5"; + description + "Set the wait-to-restore time for this source"; + } + } + } + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container frequency-synchronization { + description + "Frequency Synchronization trap configuration"; + leaf enable { + type empty; + description + "Enable Frequency Synchronization traps"; + } + } + } + augment "/node:active-nodes/node:active-node" { + description + "This augment extends active nodes configuration"; + uses NODE-CFG; + } + augment "/node:preconfigured-nodes/node:preconfigured-node" { + description + "This augment extends preconfigured nodes + configuration"; + uses NODE-CFG; + } + container frequency-synchronization { + description + "frequency synchronization"; + leaf quality-level-option { + type dt1:Fsync-ql-option; + default "option-1"; + description + "Quality level option"; + } + leaf enable { + type empty; + description + "Enable Frequency Synchronization"; + } + leaf source-selection-logging { + type Fsync-source-selection-logging; + description + "Source selection logging option"; + } + leaf clock-interface-source-type { + type Fsync-clock-source; + description + "Clock interface source type"; + } + leaf system-timing-mode { + type Fsync-system-timing-mode; + description + "System timing mode"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-datatypes.yang new file mode 100644 index 0000000..4aa68bb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-datatypes.yang @@ -0,0 +1,177 @@ +module Cisco-IOS-XR-freqsync-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-datatypes"; + prefix freqsync-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fsync-ql-option { + type enumeration { + enum "option-1" { + value 1; + description + "ITU-T Option 1"; + } + enum "option-2,-generation-1" { + value 2; + description + "ITU-T Option 2, Generation 1"; + } + enum "option-2,-generation-2" { + value 3; + description + "ITU-T Option 2, Generation 2"; + } + } + description + "Fsync ql option"; + } + + typedef Fsync-clock { + type enumeration { + enum "sync" { + value 3; + description + "Synchronous clock"; + } + enum "internal" { + value 4; + description + "Internal clock"; + } + } + description + "Fsync clock"; + } + + typedef Fsync-ql-value { + type enumeration { + enum "dnu" { + value 1; + description + "This signal should not be used for + synchronization"; + } + enum "o1-prc" { + value 10; + description + "ITU-T Option 1: Primary reference clock"; + } + enum "o1-ssu-a" { + value 11; + description + "ITU-T Option 1: Type I or V slave clock"; + } + enum "o1-ssu-b" { + value 12; + description + "ITU-T Option 1: Type IV slave clock"; + } + enum "o1-sec" { + value 13; + description + "ITU-T Option 1: SONET equipment clock"; + } + enum "o2-g1-prs" { + value 20; + description + "ITU-T Option 2, Generation 1: Primary reference + source"; + } + enum "o2-g1-stu" { + value 21; + description + "ITU-T Option 2, Generation 1: Synchronized - + traceability unknown"; + } + enum "o2-g1-st2" { + value 22; + description + "ITU-T Option 2, Generation 1: Stratum 2"; + } + enum "o2-g1-st3" { + value 23; + description + "ITU-T Option 2, Generation 1: Stratum 3"; + } + enum "o2-g1-smc" { + value 24; + description + "ITU-T Option 2, Generation 1: SONET clock self + timed"; + } + enum "o2-g1-st4" { + value 25; + description + "ITU-T Option 2, Generation 1: Stratum 4 freerun"; + } + enum "o2-g2-prs" { + value 30; + description + "ITU-T Option 2, Generation 2: Primary reference + source"; + } + enum "o2-g2-stu" { + value 31; + description + "ITU-T Option 2, Generation 2: Synchronized - + traceability unknown"; + } + enum "o2-g2-st2" { + value 32; + description + "ITU-T Option 2, Generation 2: Stratum 2"; + } + enum "o2-g2-st3" { + value 33; + description + "ITU-T Option 2, Generation 2: Stratum 3"; + } + enum "o2-g2-tnc" { + value 34; + description + "ITU-T Option 2, Generation 2: Transit node + clock"; + } + enum "o2-g2-st3e" { + value 35; + description + "ITU-T Option 2, Generation 2: Stratum 3E"; + } + enum "o2-g2-smc" { + value 36; + description + "ITU-T Option 2, Generation 2: SONET clock self + timed"; + } + enum "o2-g2-st4" { + value 37; + description + "ITU-T Option 2, Generation 2: Stratum 4 freerun"; + } + } + description + "Fsync ql value"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper-sub1.yang new file mode 100644 index 0000000..80b263a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper-sub1.yang @@ -0,0 +1,1722 @@ +submodule Cisco-IOS-XR-freqsync-oper-sub1 { + belongs-to Cisco-IOS-XR-freqsync-oper { + prefix Cisco-IOS-XR-freqsync-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR freqsync package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-20 { + description + "Combined selection point info from FSYNC-SP-INFO in FSYNC-SP-INFO-V2"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fsync-bag-stream-state { + type enumeration { + enum "stream-invalid" { + value 0; + description + "Invalid stream"; + } + enum "stream-unqualified" { + value 1; + description + "Unqualified stream"; + } + enum "stream-available" { + value 2; + description + "Stream available"; + } + enum "stream-available-acquiring" { + value 3; + description + "Stream available acquiring"; + } + enum "stream-locked" { + value 4; + description + "Stream locked"; + } + enum "stream-holdover" { + value 5; + description + "Stream in holdover"; + } + enum "stream-freerun" { + value 6; + description + "Stream free running"; + } + enum "stream-failed" { + value 7; + description + "Stream failed"; + } + enum "stream-unmonitored" { + value 8; + description + "Unmonitored stream"; + } + enum "stream-error" { + value 9; + description + "Stream error"; + } + } + description + "Platform stream status"; + } + + typedef Fsync-output-id { + type uint8; + description + "Fsync output id"; + } + + typedef Fsync-bag-stream-input { + type enumeration { + enum "invalid-input" { + value 0; + description + "Invalid stream input"; + } + enum "source-input" { + value 1; + description + "Source stream input"; + } + enum "selection-point-input" { + value 2; + description + "Selection point stream input"; + } + } + description + "Stream input type"; + } + + typedef Fsync-bag-clock-intf-class { + type enumeration { + enum "clock-class-bitst1" { + value 0; + description + "BITS T1"; + } + enum "clock-class-bitse1" { + value 1; + description + "BITS E1"; + } + enum "clock-class-bits2m" { + value 2; + description + "BITS 2M"; + } + enum "clock-class-bits6m" { + value 3; + description + "BITS 6M"; + } + enum "clock-class-bits64k" { + value 4; + description + "BITS 64K"; + } + enum "clock-class-dti" { + value 5; + description + "DTI"; + } + enum "clock-class-gps" { + value 6; + description + "GPS"; + } + enum "clock-class-chassis-sync" { + value 7; + description + "Inter-Chassis Sync"; + } + enum "clock-class-bitsj1" { + value 8; + description + "Bits J1"; + } + enum "clock-class-unknown" { + value 255; + description + "Unknown"; + } + } + description + "Clock-interface class"; + } + + typedef Fsync-bag-optional-string { + type string; + description + "Fsync bag optional string"; + } + + typedef Fsync-bag-source-state { + type enumeration { + enum "source-state-unknown" { + value 0; + description + "Unknown"; + } + enum "source-state-up" { + value 1; + description + "Up"; + } + enum "source-state-down" { + value 2; + description + "Down"; + } + } + description + "Source state"; + } + + typedef Fsync-bag-esmc-peer-state { + type enumeration { + enum "peer-down" { + value 1808240398; + description + "Peer state down"; + } + enum "peer-up" { + value 1808240399; + description + "Peer state up"; + } + enum "peer-timed-out" { + value 1808240400; + description + "Peer state timed out"; + } + enum "peer-unknown" { + value 1808240401; + description + "Peer state unknown"; + } + } + description + "ESMC peer state"; + } + + typedef Fsync-bag-ql-o2-g2-value { + type enumeration { + enum "option2-generation2-invalid" { + value 0; + description + "Invalid"; + } + enum "option2-generation2-do-not-use" { + value 1; + description + "Do not use"; + } + enum "option2-generation2-failed" { + value 2; + description + "Failed"; + } + enum "option2-generation2-none" { + value 3; + description + "None"; + } + enum "option2-generation2prs" { + value 30; + description + "Primary reference source"; + } + enum "option2-generation2stu" { + value 31; + description + "Synchronized - traceability unknown"; + } + enum "option2-generation2-stratum2" { + value 32; + description + "Stratum 2"; + } + enum "option2-generation2-stratum3" { + value 33; + description + "Stratum 3"; + } + enum "option2-generation2tnc" { + value 34; + description + "Transit node clock"; + } + enum "option2-generation2-stratum3e" { + value 35; + description + "Stratum 3E"; + } + enum "option2-generation2smc" { + value 36; + description + "SONET clock self timed"; + } + enum "option2-generation2-stratum4" { + value 37; + description + "Stratum 4 freerun"; + } + } + description + "Quality level option 2, generation 2 values"; + } + + typedef Fsync-bag-ql-o2-g1-value { + type enumeration { + enum "option2-generation1-invalid" { + value 0; + description + "Invalid"; + } + enum "option2-generation1-do-not-use" { + value 1; + description + "Do not use"; + } + enum "option2-generation1-failed" { + value 2; + description + "Failed"; + } + enum "option2-generation1-none" { + value 3; + description + "None"; + } + enum "option2-generation1prs" { + value 20; + description + "Primary reference source"; + } + enum "option2-generation1stu" { + value 21; + description + "Synchronized - traceability unknown"; + } + enum "option2-generation1-stratum2" { + value 22; + description + "Stratum 2"; + } + enum "option2-generation1-stratum3" { + value 23; + description + "Stratum 3"; + } + enum "option2-generation1smc" { + value 24; + description + "SONET clock self timed"; + } + enum "option2-generation1-stratum4" { + value 25; + description + "Stratum 4 freerun"; + } + } + description + "Quality level option 2, generation 1 values"; + } + + typedef Fsync-bag-ql-o1-value { + type enumeration { + enum "option1-invalid" { + value 0; + description + "Invalid"; + } + enum "option1-do-not-use" { + value 1; + description + "Do not use"; + } + enum "option1-failed" { + value 2; + description + "Failed"; + } + enum "option1-none" { + value 3; + description + "None"; + } + enum "option1prc" { + value 10; + description + "Primary reference clock"; + } + enum "option1ssu-a" { + value 11; + description + "Type I or V slave clock"; + } + enum "option1ssu-b" { + value 12; + description + "Type VI slave clock"; + } + enum "option1sec" { + value 13; + description + "SONET equipment clock"; + } + } + description + "Quality level option 1 values"; + } + + typedef Fsync-bag-ql-option { + type enumeration { + enum "no-quality-level-option" { + value 0; + description + "No quality level option"; + } + enum "option1" { + value 1; + description + "ITU-T Quality level option 1"; + } + enum "option2-generation1" { + value 2; + description + "ITU-T Quality level option 2, generation 1"; + } + enum "option2-generation2" { + value 3; + description + "ITU-T Quality level option 2, generation 2"; + } + enum "invalid-quality-level-option" { + value 4; + description + "Invalid quality level option"; + } + } + description + "Quality level option"; + } + + typedef Fsync-bag-damping-state { + type enumeration { + enum "damping-state-down" { + value 0; + description + "Down"; + } + enum "damping-state-coming-up" { + value 1; + description + "Coming up"; + } + enum "damping-state-up" { + value 2; + description + "Up"; + } + enum "damping-state-going-down" { + value 3; + description + "Going down"; + } + } + description + "Damping state"; + } + + typedef Fsync-time-pri { + type uint8; + description + "Fsync time pri"; + } + + typedef Fsync-pri { + type uint8; + description + "Fsync pri"; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + typedef Fsync-bag-forwardtrace-node { + type enumeration { + enum "forward-trace-node-selection-point" { + description + "A selection point forwardtrace node"; + } + enum "forward-trace-node-source" { + description + "A timing source forwardtrace node"; + } + } + description + "Selection forwardtrace node information"; + } + + typedef Fsync-bag-selection-point-desc { + type string; + description + "Fsync bag selection point desc"; + } + + typedef Fsync-selection-point-type { + type uint8; + description + "Fsync selection point type"; + } + + typedef Fsync-bag-source-class { + type enumeration { + enum "invalid-source" { + value 0; + description + "Invalid source class"; + } + enum "ethernet-interface-source" { + value 1; + description + "Ethernet interface"; + } + enum "sonet-interface-source" { + value 2; + description + "SONET interface"; + } + enum "clock-interface-source" { + value 3; + description + "Clock interface"; + } + enum "internal-clock-source" { + value 4; + description + "Internal clock"; + } + enum "ptp-source" { + value 5; + description + "PTP clock"; + } + enum "satellite-access-interface-source" { + value 6; + description + "Satellite Access Interface"; + } + enum "ntp-source" { + value 7; + description + "NTP clock"; + } + } + description + "Source class"; + } + + grouping FSYNC-BAG-LAST-SP-ID { + description + "Last selection point ID"; + container selection-point { + description + "Last selection point"; + uses FSYNC-BAG-SP-ID; + } + leaf output-id { + type Fsync-output-id; + description + "Output ID"; + } + } + + grouping FSYNC-BAG-STREAM-ID { + description + "Stream ID"; + container source-id { + when "../stream-input = 'source-input'" { + description + "../StreamInput = 'SourceInput'"; + } + description + "Source ID"; + uses FSYNC-BAG-SOURCE-ID; + } + container selection-point-id { + when "../stream-input = 'selection-point-input'" { + description + "../StreamInput = 'SelectionPointInput'"; + } + description + "Selection point ID"; + uses FSYNC-BAG-LAST-SP-ID; + } + leaf stream-input { + type Fsync-bag-stream-input; + description + "StreamInput"; + } + } + + grouping FSYNC-SP-INPUT-INFO { + description + "Selection point input information"; + container input-selection-point { + description + "The selection point the input is for"; + uses FSYNC-BAG-SP-ID; + } + container stream { + description + "Stream"; + uses FSYNC-BAG-STREAM-ID; + } + container original-source { + description + "Original source"; + uses FSYNC-BAG-SOURCE-ID; + } + container quality-level { + description + "Quality Level"; + uses FSYNC-BAG-QL; + } + leaf supports-frequency { + type boolean; + description + "The selection point input supports frequency"; + } + leaf supports-time-of-day { + type boolean; + description + "The selection point input supports time-of-day"; + } + leaf priority { + type Fsync-pri; + description + "Priority"; + } + leaf time-of-day-priority { + type Fsync-time-pri; + description + "Time-of-day priority"; + } + leaf selected { + type boolean; + description + "The selection point input is selected"; + } + leaf output-id-xr { + type Fsync-output-id; + description + "Platform output ID, if the input is selected"; + } + leaf platform-status { + type Fsync-bag-stream-state; + description + "Platform status"; + } + leaf platform-failed-reason { + type Fsync-bag-optional-string; + description + "Why the stream has failed"; + } + } + + grouping FSYNC-CLOCK-INFO-V2 { + description + "Clock interface information"; + container source { + description + "The source ID for the clock"; + uses FSYNC-BAG-SOURCE-ID; + } + container selected-source { + description + "Timing source selected for clock output"; + uses FSYNC-BAG-SOURCE-ID; + } + container quality-level-received { + description + "Received quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-damped { + description + "Quality level after damping has been applied"; + uses FSYNC-BAG-QL; + } + container quality-level-effective-input { + description + "The effective input quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-effective-output { + description + "The effective output quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-selected-source { + description + "The quality level of the source driving this + interface"; + uses FSYNC-BAG-QL; + } + leaf state { + type Fsync-bag-source-state; + description + "Clock state"; + } + leaf down-reason { + type Fsync-bag-optional-string; + description + "Why the clock is down"; + } + leaf description { + type string; + description + "Clock description"; + } + leaf priority { + type Fsync-pri; + description + "Priority"; + } + leaf time-of-day-priority { + type Fsync-time-pri; + description + "Time-of-day priority"; + } + leaf ssm-support { + type boolean; + description + "The clock supports SSMs"; + } + leaf ssm-enabled { + type boolean; + description + "The clock output is squelched"; + } + leaf loopback { + type boolean; + description + "The clock is looped back"; + } + leaf selection-input { + type boolean; + description + "The clock is an input for selection"; + } + leaf squelched { + type boolean; + description + "The clock output is squelched"; + } + leaf damping-state { + type Fsync-bag-damping-state; + description + "Damping state"; + } + leaf damping-time { + type uint32; + description + "Time until damping state changes in ms"; + } + leaf input-disabled { + type boolean; + description + "Timing input is disabled"; + } + leaf output-disabled { + type boolean; + description + "Timing output is disabled"; + } + leaf wait-to-restore-time { + type uint16; + description + "Wait-to-restore time for the clock"; + } + leaf clock-type-xr { + type Fsync-bag-clock-intf-class; + description + "The type of clock"; + } + leaf supports-frequency { + type boolean; + description + "The PTP clock supports frequency"; + } + leaf supports-time-of-day { + type boolean; + description + "The PTP clock supports time"; + } + list spa-selection-point { + description + "Spa selection points"; + uses FSYNC-BAG-SP-INFO; + } + list node-selection-point { + description + "Node selection points"; + uses FSYNC-BAG-SP-INFO; + } + } + + grouping FSYNC-SSM-INFO { + description + "SSM summary information"; + leaf ethernet-sources { + type uint32; + description + "Number of ethernet interfaces in synchronous + mode"; + } + leaf ethernet-sources-select { + type uint32; + description + "Number of ethernet interfaces assigned for + selection"; + } + leaf ethernet-sources-enabled { + type uint32; + description + "Number of ethernet interfaces with SSM enabled"; + } + leaf sonet-sources { + type uint32; + description + "Number of SONET interfaces in synchronous mode"; + } + leaf sonet-sources-select { + type uint32; + description + "Number of SONET interfaces assigned for + selection"; + } + leaf sonet-sources-enabled { + type uint32; + description + "Number of SONET interfaces with SSM enabled"; + } + leaf events-sent { + type uint32; + description + "Total event SSMs sent"; + } + leaf events-received { + type uint32; + description + "Total event SSMs received"; + } + leaf infos-sent { + type uint32; + description + "Total information SSMs sent"; + } + leaf infos-received { + type uint32; + description + "Total information SSMs received"; + } + leaf dn-us-sent { + type uint32; + description + "Total DNU SSMs sent"; + } + leaf dn-us-received { + type uint32; + description + "Total DNU SSMs received"; + } + } + + grouping FSYNC-PTP-INFO-V2 { + description + "Frequency Synchronization PTP information"; + container quality-level-effective-input { + description + "The effective input quality level"; + uses FSYNC-BAG-QL; + } + leaf state { + type Fsync-bag-source-state; + description + "PTP state"; + } + leaf supports-frequency { + type boolean; + description + "The PTP clock supports frequency"; + } + leaf supports-time-of-day { + type boolean; + description + "The PTP clock supports time"; + } + leaf frequency-priority { + type Fsync-pri; + description + "The priority of the PTP clock when selected + between frequency sources"; + } + leaf time-of-day-priority { + type Fsync-time-pri; + description + "The priority of the PTP clock when selecting + between time-of-day sources"; + } + list spa-selection-point { + description + "Spa selection points"; + uses FSYNC-BAG-SP-INFO; + } + list node-selection-point { + description + "Node selection points"; + uses FSYNC-BAG-SP-INFO; + } + } + + grouping FSYNC-BAG-ERROR { + description + "Source QL config error information"; + container source { + description + "Source"; + uses FSYNC-BAG-SOURCE-ID; + } + container input-min-ql { + description + "Configured minimum input QL"; + uses FSYNC-BAG-QL; + } + container input-exact-ql { + description + "Configured exact input QL"; + uses FSYNC-BAG-QL; + } + container input-max-ql { + description + "Configured maximum input QL"; + uses FSYNC-BAG-QL; + } + container output-min-ql { + description + "Configured mininum output QL"; + uses FSYNC-BAG-QL; + } + container output-exact-ql { + description + "Configured exact output QL"; + uses FSYNC-BAG-QL; + } + container output-max-ql { + description + "Configured exact maximum QL"; + uses FSYNC-BAG-QL; + } + leaf enable-error { + type boolean; + description + "Frequency Synchronization enable error"; + } + leaf input-min-error { + type boolean; + description + "Minimum input QL config error"; + } + leaf input-exact-error { + type boolean; + description + "Exact input QL config error"; + } + leaf input-max-error { + type boolean; + description + "Maximum input Ql config error"; + } + leaf ouput-min-error { + type boolean; + description + "Minimum output QL config error"; + } + leaf output-exact-error { + type boolean; + description + "Exact output QL config error"; + } + leaf output-max-error { + type boolean; + description + "Maximum output QL config error"; + } + leaf input-output-mismatch { + type boolean; + description + "Input/Output mismatch error"; + } + } + + grouping FSYNC-CONFIG-ERRORS-INFO { + description + "Configuration error information"; + list error-source { + description + "Configuration errors"; + uses FSYNC-BAG-ERROR; + } + } + + grouping FSYNC-BAG-SP-OUTPUT-DEF-V2 { + description + "Output information for a selection point or + interface"; + leaf local-clock-ouput { + type boolean; + description + "Used for local clock output"; + } + leaf local-line-output { + type boolean; + description + "Used for local line interface output"; + } + leaf local-time-of-day-output { + type boolean; + description + "Used for local time-of-day output"; + } + list spa-selection-point { + description + "SPA selection points"; + uses FSYNC-BAG-SP-INFO; + } + list node-selection-point { + description + "Node selection points"; + uses FSYNC-BAG-SP-INFO; + } + list chassis-selection-point { + description + "Chassis selection points"; + uses FSYNC-BAG-SP-INFO; + } + list router-selection-point { + description + "Router selection points"; + uses FSYNC-BAG-SP-INFO; + } + } + + grouping FSYNC-SP-INFO-V2 { + description + "Selection point information"; + container output { + description + "Information about the output of the selection + point"; + uses FSYNC-BAG-SP-OUTPUT-DEF-V2; + } + container last-programmed { + description + "Time the SP was last programmed"; + uses FSYNC-BAG-TIMESTAMP; + } + container last-selection { + description + "Time the last selection was made"; + uses FSYNC-BAG-TIMESTAMP; + } + leaf selection-point-type { + type Fsync-selection-point-type; + description + "Selection Point Type"; + } + leaf description { + type string; + description + "Description"; + } + leaf inputs { + type uint32; + description + "Number of inputs"; + } + leaf inputs-selected { + type uint32; + description + "Number of inputs that are selected"; + } + leaf time-of-day-selection { + type boolean; + description + "The selection point is a time-of-day selection + point"; + } + } + + grouping FSYNC-NTP-INFO-V2 { + description + "Frequency Synchronization NTP information"; + container quality-level-effective-input { + description + "The effective input quality level"; + uses FSYNC-BAG-QL; + } + leaf state { + type Fsync-bag-source-state; + description + "NTP state"; + } + leaf supports-frequency { + type boolean; + description + "The NTP clock supports frequency"; + } + leaf supports-time-of-day { + type boolean; + description + "The NTP clock supports time"; + } + leaf frequency-priority { + type Fsync-pri; + description + "The priority of the NTP clock when selected + between frequency sources"; + } + leaf time-of-day-priority { + type Fsync-time-pri; + description + "The priority of the NTP clock when selecting + between time-of-day sources"; + } + list spa-selection-point { + description + "Spa selection points"; + uses FSYNC-BAG-SP-INFO; + } + list node-selection-point { + description + "Node selection points"; + uses FSYNC-BAG-SP-INFO; + } + } + + grouping FSYNC-BAG-ETH-ESMC-STATS { + description + "ESMC Statistics"; + leaf esmc-events-sent { + type uint16; + description + "Number of event SSMs sent"; + } + leaf esmc-events-received { + type uint16; + description + "Number of event SSMs received"; + } + leaf esmc-infos-sent { + type uint32; + description + "Number of info SSMs sent"; + } + leaf esmc-infos-received { + type uint32; + description + "Number of info SSms received"; + } + leaf esmc-dn-us-sent { + type uint32; + description + "Number of SSMs with DNU QL sent"; + } + leaf esmc-dn-us-received { + type uint32; + description + "Number of SSMs with DNU QL received"; + } + leaf esmc-malformed-received { + type uint16; + description + "Number of malformed packets received"; + } + leaf esmc-received-error { + type uint16; + description + "Number of received packets that failed to be + handled"; + } + } + + grouping FSYNC-BAG-TIMESTAMP { + description + "Timestamp"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping FSYNC-BAG-ETH-PEER-INFO { + description + "Ethernet peer information"; + container peer-state-time { + description + "Time of last peer state transition"; + uses FSYNC-BAG-TIMESTAMP; + } + container last-ssm { + description + "Time of last SSM received"; + uses FSYNC-BAG-TIMESTAMP; + } + leaf peer-state { + type Fsync-bag-esmc-peer-state; + description + "Peer state"; + } + leaf peer-up-count { + type uint16; + description + "Number of times the peer has come up"; + } + leaf peer-timeout-count { + type uint16; + description + "Number of times the peer has timed out"; + } + } + + grouping FSYNC-BAG-SP-INFO { + description + "Selection point information"; + leaf selection-point { + type Fsync-selection-point-type; + description + "Selection point ID"; + } + leaf selection-point-description { + type Fsync-bag-selection-point-desc; + description + "Selection point description"; + } + } + + grouping FSYNC-BAG-QL { + description + "Quality level"; + leaf quality-level-option { + type Fsync-bag-ql-option; + description + "QualityLevelOption"; + } + leaf option1-value { + when "../quality-level-option = 'option1'" { + description + "../QualityLevelOption = 'Option1'"; + } + type Fsync-bag-ql-o1-value; + description + "ITU-T Option 1 QL value"; + } + leaf option2-generation1-value { + when "../quality-level-option = 'option2-generation1'" { + description + "../QualityLevelOption = 'Option2Generation1'"; + } + type Fsync-bag-ql-o2-g1-value; + description + "ITU-T Option 2, generation 1 value"; + } + leaf option2-generation2-value { + when "../quality-level-option = 'option2-generation2'" { + description + "../QualityLevelOption = 'Option2Generation2'"; + } + type Fsync-bag-ql-o2-g2-value; + description + "ITU-T Option 2, generation 2 value"; + } + } + + grouping FSYNC-IF-INFO-V2 { + description + "Line interface information"; + container source { + description + "The source ID for the interface"; + uses FSYNC-BAG-SOURCE-ID; + } + container selected-source { + description + "Timing source selected for interface output"; + uses FSYNC-BAG-SOURCE-ID; + } + container quality-level-received { + description + "Received quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-damped { + description + "Quality level after damping has been applied"; + uses FSYNC-BAG-QL; + } + container quality-level-effective-input { + description + "The effective input quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-effective-output { + description + "The effective output quality level"; + uses FSYNC-BAG-QL; + } + container quality-level-selected-source { + description + "The quality level of the source driving this + interface"; + uses FSYNC-BAG-QL; + } + container ethernet-peer-information { + description + "Ethernet peer information"; + uses FSYNC-BAG-ETH-PEER-INFO; + } + container esmc-statistics { + description + "ESMC Statistics"; + uses FSYNC-BAG-ETH-ESMC-STATS; + } + leaf name { + type string; + description + "Interface name"; + } + leaf state { + type Im-state-enum; + description + "Interface state"; + } + leaf ssm-enabled { + type boolean; + description + "SSM is enabled on the interface"; + } + leaf squelched { + type boolean; + description + "The interface output is squelched"; + } + leaf selection-input { + type boolean; + description + "The interface is an input for selection"; + } + leaf priority { + type Fsync-pri; + description + "Priority"; + } + leaf time-of-day-priority { + type Fsync-time-pri; + description + "Time-of-day priority"; + } + leaf damping-state { + type Fsync-bag-damping-state; + description + "Damping state"; + } + leaf damping-time { + type uint32; + description + "Time until damping state changes in ms"; + } + leaf wait-to-restore-time { + type uint16; + description + "Wait-to-restore time for the interface"; + } + leaf supports-frequency { + type boolean; + description + "The PTP clock supports frequency"; + } + leaf supports-time-of-day { + type boolean; + description + "The PTP clock supports time"; + } + list spa-selection-point { + description + "Spa selection points"; + uses FSYNC-BAG-SP-INFO; + } + list node-selection-point { + description + "Node selection points"; + uses FSYNC-BAG-SP-INFO; + } + } + + grouping FSYNC-BAG-SUMMARY-TOD-INFO { + description + "Time-of-day summary information"; + container source { + description + "The source associated with this summary + information"; + uses FSYNC-BAG-SOURCE-ID; + } + leaf node-count { + type uint32; + description + "The number of cards having their time-of-day set + by the source"; + } + } + + grouping FSYNC-BAG-SUMMARY-FREQ-INFO { + description + "Frequency summary information"; + container source { + description + "The source associated with this summary + information"; + uses FSYNC-BAG-SOURCE-ID; + } + leaf clock-count { + type uint32; + description + "The number of clock-interfaces being driven by + the source"; + } + leaf ethernet-count { + type uint32; + description + "The number of Ethernet interfaces being driven + by the source"; + } + leaf sonet-count { + type uint32; + description + "The number of SONET/SDH interfaces being driven + by the source"; + } + } + + grouping FSYNC-SUMMARY-INFO { + description + "Frequency Synchronization summary information"; + list frequency-summary { + description + "Summary of sources selected for frequency"; + uses FSYNC-BAG-SUMMARY-FREQ-INFO; + } + list time-of-day-summary { + description + "Summary of sources selected for time-of-day"; + uses FSYNC-BAG-SUMMARY-TOD-INFO; + } + } + + grouping FSYNC-BAG-FORWARDTRACE-NODE { + description + "Selection forwardtrace node"; + container selection-point { + when "../node-type = 'forward-trace-node-selection-point'" { + description + "../NodeType = 'ForwardTraceNodeSelectionPoint'"; + } + description + "Selection Point"; + uses FSYNC-BAG-SP-ID; + } + container source { + when "../node-type = 'forward-trace-node-source'" { + description + "../NodeType = 'ForwardTraceNodeSource'"; + } + description + "Timing Source"; + uses FSYNC-BAG-SOURCE-ID; + } + leaf node-type { + type Fsync-bag-forwardtrace-node; + description + "NodeType"; + } + } + + grouping FSYNC-BAG-FORWARDTRACE { + description + "Selection forwardtrace"; + container forward-trace-node { + description + "The source or selection point at this point in + the forwardtrace"; + uses FSYNC-BAG-FORWARDTRACE-NODE; + } + } + + grouping FSYNC-SELECTION-FORWARDTRACE-INFO { + description + "Selection forwardtrace information"; + list forward-trace { + description + "Selection ForwardTrace"; + uses FSYNC-BAG-FORWARDTRACE; + } + } + + grouping FSYNC-BAG-SP-ID { + description + "Selection point ID"; + leaf selection-point-type { + type Fsync-selection-point-type; + description + "Selection point type"; + } + leaf selection-point-description { + type Fsync-bag-selection-point-desc; + description + "Selection point descrption"; + } + leaf node { + type xr:Node-id; + description + "Node"; + } + } + + grouping FSYNC-BAG-CLOCK-ID { + description + "Clock ID"; + leaf node { + type xr:Node-id; + description + "Node"; + } + leaf port { + type uint32; + description + "Port number"; + } + } + + grouping FSYNC-BAG-SOURCE-ID { + description + "Source ID"; + container clock-id { + when "../source-class = 'clock-interface-source'" { + description + "../SourceClass = 'ClockInterfaceSource'"; + } + description + "Clock ID"; + uses FSYNC-BAG-CLOCK-ID; + } + leaf source-class { + type Fsync-bag-source-class; + description + "SourceClass"; + } + leaf ethernet-interface { + when "../source-class = 'ethernet-interface-source'" { + description + "../SourceClass = 'EthernetInterfaceSource'"; + } + type xr:Interface-name; + description + "Ethernet interface"; + } + leaf sonet-interface { + when "../source-class = 'sonet-interface-source'" { + description + "../SourceClass = 'SONETInterfaceSource'"; + } + type xr:Interface-name; + description + "SONET interfaces"; + } + leaf node { + when "../source-class = 'internal-clock-source'" { + description + "../SourceClass = 'InternalClockSource'"; + } + type xr:Node-id; + description + "Internal Clock Node"; + } + leaf ptp-node { + when "../source-class = 'ptp-source'" { + description + "../SourceClass = 'PTPSource'"; + } + type xr:Node-id; + description + "PTP Clock Node"; + } + leaf satellite-access-interface { + when "../source-class = 'satellite-access-interface-source'" { + description + "../SourceClass = + 'SatelliteAccessInterfaceSource'"; + } + type xr:Interface-name; + description + "Satellite Access Interface"; + } + leaf ntp-node { + when "../source-class = 'ntp-source'" { + description + "../SourceClass = 'NTPSource'"; + } + type xr:Node-id; + description + "NTP Clock Node"; + } + } + + grouping FSYNC-SELECTION-BACKTRACE-INFO { + description + "Selection backtrace information"; + container selected-source { + description + "Source which has been selected for output"; + uses FSYNC-BAG-SOURCE-ID; + } + list selection-point { + description + "List of selection points in the backtrace"; + uses FSYNC-BAG-SP-ID; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper.yang new file mode 100644 index 0000000..6844769 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-oper.yang @@ -0,0 +1,357 @@ +module Cisco-IOS-XR-freqsync-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-oper"; + prefix freqsync-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-freqsync-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-freqsync-oper-sub1 { + revision-date 2017-10-20; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR freqsync package operational data. + + This module contains definitions + for the following management objects: + frequency-synchronization: Frequency Synchronization + operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-20 { + description + "Combined selection point info from FSYNC-SP-INFO in FSYNC-SP-INFO-V2"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fsync-stream { + type enumeration { + enum "local" { + value 1; + description + "Stream input from a local source"; + } + enum "selection-point" { + value 2; + description + "Stream input from a selection point on a remote + node"; + } + } + description + "Fsync stream"; + } + + typedef Fsync-source { + type enumeration { + enum "ethernet" { + value 1; + description + "An ethernet interface"; + } + enum "sonet" { + value 2; + description + "A SONET interface"; + } + enum "clock" { + value 3; + description + "A clock interface"; + } + enum "internal" { + value 4; + description + "An internal clock"; + } + enum "ptp" { + value 5; + description + "A PTP clock"; + } + enum "satellite-access" { + value 6; + description + "A satellite access interface clock"; + } + enum "ntp" { + value 7; + description + "An NTP clock"; + } + } + description + "Fsync source"; + } + + container frequency-synchronization { + config false; + description + "Frequency Synchronization operational data"; + container global-nodes { + description + "Table for global node-specific operational data"; + list global-node { + key "node"; + description + "Global node-specific data for a particular node"; + container clock-interface-selection-back-traces { + description + "Selection backtrace operational data for + clock-interfaces"; + list clock-interface-selection-back-trace { + key "clock-type port"; + description + "Selection backtrace operational data for a + particular clock-interface"; + leaf clock-type { + type dt1:Fsync-clock; + description + "Clock type"; + } + leaf port { + type int32; + description + "Clock port"; + } + uses FSYNC-SELECTION-BACKTRACE-INFO; + } + } + container clock-interface-selection-forward-traces { + description + "Selection forwardtrace operational data for + clock-interfaces"; + list clock-interface-selection-forward-trace { + key "clock-type port"; + description + "Selection forwardtrace operational data for a + particular clock-interface"; + leaf clock-type { + type dt1:Fsync-clock; + description + "Clock type"; + } + leaf port { + type int32; + description + "Clock port"; + } + uses FSYNC-SELECTION-FORWARDTRACE-INFO; + } + } + container time-of-day-back-trace { + description + "Selection backtrace operational data for + time-of-day on a particular node"; + uses FSYNC-SELECTION-BACKTRACE-INFO; + } + container ntp-selection-forward-trace { + description + "Selection forwardtrace operational data for a + NTP clock"; + uses FSYNC-SELECTION-FORWARDTRACE-INFO; + } + container ptp-selection-forward-trace { + description + "Selection forwardtrace operational data for a + PTP clock"; + uses FSYNC-SELECTION-FORWARDTRACE-INFO; + } + leaf node { + type xr:Node-id; + description + "Node"; + } + } + } + container global-interfaces { + description + "Table for global interface operational data"; + list global-interface { + key "interface-name"; + description + "Global interface information for a particular + interface"; + container interface-selection-forward-trace { + description + "Selection forwardtrace operational data for a + particular interface"; + uses FSYNC-SELECTION-FORWARDTRACE-INFO; + } + container interface-selection-back-trace { + description + "Selection backtrace operational data for a + particular interface"; + uses FSYNC-SELECTION-BACKTRACE-INFO; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + container summary { + description + "Summary operational data"; + uses FSYNC-SUMMARY-INFO; + } + container interface-datas { + description + "Table for interface operational data"; + list interface-data { + key "interface-name"; + description + "Operational data for a particular interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses FSYNC-IF-INFO-V2; + } + } + container nodes { + description + "Table for node-specific operational data"; + list node { + key "node"; + description + "Node-specific data for a particular node"; + container ntp-data { + description + "NTP operational data"; + uses FSYNC-NTP-INFO-V2; + } + container selection-point-datas { + description + "Selection point data table"; + list selection-point-data { + key "selection-point"; + description + "Operational data for a given selection point"; + leaf selection-point { + type int32; + description + "Selection point ID"; + } + uses FSYNC-SP-INFO-V2; + } + } + container configuration-errors { + description + "Configuration error operational data"; + uses FSYNC-CONFIG-ERRORS-INFO; + } + container ptp-data { + description + "PTP operational data"; + uses FSYNC-PTP-INFO-V2; + } + container ssm-summary { + description + "SSM operational data"; + uses FSYNC-SSM-INFO; + } + container clock-datas { + description + "Table for clock operational data"; + list clock-data { + key "clock-type port"; + description + "Operational data for a particular clock"; + leaf clock-type { + type dt1:Fsync-clock; + description + "Clock type"; + } + leaf port { + type int32; + description + "Clock port"; + } + uses FSYNC-CLOCK-INFO-V2; + } + } + container selection-point-inputs { + description + "Table for selection point input operational + data"; + list selection-point-input { + description + "Operational data for a particular selection + point input"; + leaf selection-point { + type int32; + description + "Selection point ID"; + } + leaf stream-type { + type Fsync-stream; + description + "Type of stream"; + } + leaf source-type { + type Fsync-source; + description + "Type of source"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf clock-port { + type int32; + description + "Clock port"; + } + leaf last-node { + type xr:Node-id; + description + "Last node for a selection point stream"; + } + leaf last-selection-point { + type int32; + description + "Last selection point for a selection point + stream"; + } + leaf output-id { + type int32; + description + "Output ID for a selection point stream"; + } + uses FSYNC-SP-INPUT-INFO; + } + } + leaf node { + type xr:Node-id; + description + "Node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-sat-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-sat-cfg.yang new file mode 100644 index 0000000..51d9e9b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-freqsync-sat-cfg.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-freqsync-sat-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-sat-cfg"; + prefix freqsync-sat-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2-eth-infra-cfg { + prefix a2; + } + import Cisco-IOS-XR-icpe-infra-cfg { + prefix a3; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR freqsync-sat package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2-eth-infra-cfg, + Cisco-IOS-XR-icpe-infra-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration/a3:nv-satellite-fabric-link" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-icpe-infra-cfg'"; + container frequency-synchronization { + description + "Frequency Synchronization satellite + configuration"; + leaf enable { + type empty; + description + "Enable Frequency Synchronization"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang new file mode 100644 index 0000000..d0bc055 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1.yang @@ -0,0 +1,49 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-drop-stats package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DROP-STATS { + description + "DROP STATS"; + leaf id { + type uint32; + description + "id"; + } + leaf name { + type string; + description + "name"; + } + leaf count { + type uint64; + description + "count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang new file mode 100644 index 0000000..f83c261 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper.yang @@ -0,0 +1,84 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper"; + prefix fretta-bcm-dpa-drop-stats-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-drop-stats package operational data. + + This module contains definitions + for the following management objects: + drop: Drop stats data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container drop { + config false; + description + "Drop stats data"; + container nodes { + description + "Drop data per node"; + list node { + key "node-name"; + description + "Drop stats data for a particular node"; + container npu-number-for-drop-stats { + description + "NPU drop stats"; + list npu-number-for-drop-stat { + key "npu-id"; + description + "All drop stats for a particular NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + list drop-specific-stats-data { + key "drop-data"; + description + "Second argument to the module"; + leaf drop-data { + type int32; + description + "Drop ID"; + } + uses DROP-STATS; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang new file mode 100644 index 0000000..84be98e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1.yang @@ -0,0 +1,224 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DPA-SYSDB-STATS-APP-USAGE { + description + "DPA SYSDB STATS APP USAGE"; + leaf app-type { + type string; + description + "app type"; + } + leaf num-cntrs-for-app { + type uint32; + description + "num cntrs for app"; + } + leaf num-cntrs-used { + type uint32; + description + "num cntrs used"; + } + } + + grouping DPA-SYSDB-STATS-CNTR-ENG { + description + "DPA SYSDB STATS CNTR ENG"; + leaf state { + type string; + description + "state"; + } + leaf core-id { + type uint32; + description + "core id"; + } + list apps-info { + description + "apps info"; + uses DPA-SYSDB-STATS-APP-USAGE; + } + } + + grouping DPA-SYSDB-STATS-HW-RESOURCE { + description + "DPA SYSDB STATS HW RESOURCE"; + leaf sys-cp-cnfg-prof { + type uint32; + description + "sys cp cnfg prof"; + } + leaf next-avail-cp-id { + type uint32; + description + "next avail cp id"; + } + leaf num-cntr-engines { + type uint32; + description + "num cntr engines"; + } + list cntr-engine { + description + "cntr engine"; + uses DPA-SYSDB-STATS-CNTR-ENG; + } + } + + grouping DPA-SYSDB-LT-HW-RESOURCE { + description + "DPA SYSDB LT HW RESOURCE"; + leaf lt-id { + type uint32; + description + "lt id"; + } + leaf name { + type string; + description + "name"; + } + leaf hw-entries { + type uint32; + description + "hw entries"; + } + leaf sw-entries { + type uint32; + description + "sw entries"; + } + } + + grouping DPA-SYSDB-NPU-HW-RESOURCE { + description + "DPA SYSDB NPU HW RESOURCE"; + leaf max-allowed { + type uint32; + description + "max allowed"; + } + leaf npu-id { + type uint32; + description + "npu id"; + } + leaf max-entries { + type uint32; + description + "max entries"; + } + leaf red-oor-threshold { + type uint32; + description + "red oor threshold"; + } + leaf red-oor-threshold-percent { + type uint32; + description + "red oor threshold percent"; + } + leaf yellow-oor-threshold { + type uint32; + description + "yellow oor threshold"; + } + leaf yellow-oor-threshold-percent { + type uint32; + description + "yellow oor threshold percent"; + } + leaf inuse-objects { + type uint32; + description + "inuse objects"; + } + leaf num-lt { + type uint32; + description + "num lt"; + } + leaf oor-change-count { + type uint32; + description + "oor change count"; + } + leaf oor-state-change-time1 { + type string; + description + "oor state change time1"; + } + leaf oor-state-change-time2 { + type string; + description + "oor state change time2"; + } + leaf oor-state { + type string; + description + "oor state"; + } + list lt-hwr { + description + "lt hwr"; + uses DPA-SYSDB-LT-HW-RESOURCE; + } + } + + grouping DPA-SYSDB-HW-RESOURCE { + description + "DPA SYSDB HW RESOURCE"; + leaf resource-id { + type uint32; + description + "resource id"; + } + leaf name { + type string; + description + "name"; + } + leaf num-npus { + type uint32; + description + "num npus"; + } + leaf cmd-invalid { + type boolean; + description + "cmd invalid"; + } + list npu-hwr { + description + "npu hwr"; + uses DPA-SYSDB-NPU-HW-RESOURCE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang new file mode 100644 index 0000000..6390bb5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2.yang @@ -0,0 +1,665 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DPA-TRAP-STATS { + description + "DPA TRAP STATS"; + leaf trap-strength { + type uint32; + description + "Trap Strength of the trap"; + } + leaf priority { + type uint32; + description + "Priority of the trap"; + } + leaf trap-id-xr { + type uint32; + description + "Id of the trap"; + } + leaf gport { + type uint32; + description + "Gport of the trap"; + } + leaf fec-id { + type uint32; + description + "Fec id of the trap"; + } + leaf policer-id { + type uint32; + description + "Id of the policer on the trap"; + } + leaf stats-id { + type uint32; + description + "Stats Id of the trap"; + } + leaf encap-id { + type uint32; + description + "Encap Id of the trap"; + } + leaf mc-group { + type uint32; + description + "McGroup of the trap"; + } + leaf trap-string { + type string; + description + "Name String of the trap"; + } + leaf id { + type uint32; + description + "Id for internal use"; + } + leaf offset { + type uint64; + description + "Offset for internal use"; + } + leaf npu-id { + type uint64; + description + "NpuId on which trap is enabled"; + } + leaf packet-dropped { + type uint64; + description + "Number of packets dropped after hitting the trap"; + } + leaf packet-accepted { + type uint64; + description + "Number of packets accepted after hitting the + trap"; + } + } + + grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { + description + "DPA VOQ INGRESS PACKET STATISTICS"; + leaf received-bytes { + type uint64; + units "byte"; + description + "Bytes Received on the port"; + } + leaf received-packets { + type uint64; + description + "Packets Received on the port"; + } + leaf dropped-bytes { + type uint64; + units "byte"; + description + "Bytes Dropped on the port"; + } + leaf dropped-packets { + type uint64; + description + "Packets Dropeed on the port"; + } + } + + grouping DPA-VOQ-INTF-PORT { + description + "DPA VOQ INTF PORT"; + leaf in-use { + type boolean; + description + "Flag to indicate if port is in use"; + } + leaf rack-num { + type uint8; + description + "Rack of port"; + } + leaf slot-num { + type uint8; + description + "Slot of port"; + } + leaf npu-num { + type uint8; + description + "NPU of port"; + } + leaf npu-core { + type uint8; + description + "NPU core of port"; + } + leaf port-num { + type uint8; + description + "Port Number of port"; + } + leaf if-handle { + type uint32; + description + "IfHandle of port"; + } + leaf sys-port { + type uint32; + description + "System port of port"; + } + leaf pp-port { + type uint32; + description + "PP Port number of port"; + } + leaf port-speed { + type uint32; + description + "Port speed of port"; + } + leaf voq-base { + type uint32; + description + "Voq Base number of port"; + } + leaf connector-id { + type uint32; + description + "Connector id of port"; + } + leaf is-local-port { + type boolean; + description + "Flag to indicate if port is local to the node"; + } + list voq-stat { + max-elements "8"; + description + "Keeps a record of the received and dropped + packets and bytes on the port"; + uses DPA-VOQ-INGRESS-PACKET-STATISTICS; + } + } + + grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { + description + "Detailed ASIC statistics field information"; + leaf field-name { + type string { + length "0..80"; + } + description + "Field name"; + } + leaf field-value { + type uint64; + description + "Field value"; + } + leaf is-overflow { + type boolean; + description + "Flag to indicate overflow"; + } + } + + grouping FIA-EDM-DEVICE-STATS-BLK-INFO { + description + "Detailed ASIC statistics block information"; + leaf block-name { + type string { + length "0..10"; + } + description + "Block name"; + } + leaf num-fields { + type uint8; + description + "Number of fields"; + } + list field-info { + description + "Field information"; + uses FIA-EDM-DEVICE-STATS-FIELD-INFO; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { + description + "Detailed ASIC statistics information"; + leaf num-blocks { + type uint8; + description + "Number of blocks"; + } + list block-info { + description + "Block information"; + uses FIA-EDM-DEVICE-STATS-BLK-INFO; + } + } + + grouping FIA-EDM-STATS-INFO { + description + "Detailed ASIC statistics"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { + description + "ASIC statistics"; + leaf nbi-rx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from NIF to IRE"; + } + leaf nbi-rx-total-pkt-cnt { + type uint64; + description + "Total packets sent from NIF to IRE"; + } + leaf ire-cpu-pkt-cnt { + type uint64; + description + "CPU ingress received packet counter"; + } + leaf ire-nif-pkt-cnt { + type uint64; + description + "NIF received packet counter"; + } + leaf ire-oamp-pkt-cnt { + type uint64; + description + "OAMP ingress received packet counter"; + } + leaf ire-olp-pkt-cnt { + type uint64; + description + "OLP ingress received packet counter"; + } + leaf ire-rcy-pkt-cnt { + type uint64; + description + "Recycling ingress received packet counter"; + } + leaf ire-fdt-if-cnt { + type uint64; + description + "Performance counter of the FDT interface"; + } + leaf idr-mmu-if-cnt { + type uint64; + description + "Performance counter of the MMU interface"; + } + leaf idr-ocb-if-cnt { + type uint64; + description + "Performance counter of the OCB interface"; + } + leaf iqm-enqueue-pkt-cnt { + type uint64; + description + "Counts enqueued packets"; + } + leaf iqm-dequeue-pkt-cnt { + type uint64; + description + "Counts dequeued packets"; + } + leaf iqm-deleted-pkt-cnt { + type uint64; + description + "Counts matched packets discarded in the DEQ + process"; + } + leaf iqm-enq-discarded-pkt-cnt { + type uint64; + description + "Counts all packets discarded at the ENQ pipe"; + } + leaf ipt-egq-pkt-cnt { + type uint64; + description + "EGQ packet counter"; + } + leaf ipt-enq-pkt-cnt { + type uint64; + description + "ENQ packet counter"; + } + leaf ipt-fdt-pkt-cnt { + type uint64; + description + "FDT packet counter"; + } + leaf ipt-cfg-event-cnt { + type uint64; + description + "Configurable event counter"; + } + leaf ipt-cfg-byte-cnt { + type uint64; + units "byte"; + description + "Configurable bytes counter"; + } + leaf fdt-ipt-desc-cell-cnt { + type uint64; + description + "Descriptor cell counter"; + } + leaf fdt-ire-desc-cell-cnt { + type uint64; + description + "IRE internal descriptor cell counter"; + } + leaf fdt-transmitted-data-cells-cnt { + type uint64; + description + "Counts all transmitted data cells"; + } + leaf fdr-p1-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 1"; + } + leaf fdr-p2-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 2"; + } + leaf fdr-p3-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 3"; + } + leaf fdr-cell-in-cnt-total { + type uint64; + description + "FDR total incoming cell counter"; + } + leaf fda-cells-in-cnt-p1 { + type uint64; + description + "FDA input cell counter P1"; + } + leaf fda-cells-in-cnt-p2 { + type uint64; + description + "FDA input cell counter P2"; + } + leaf fda-cells-in-cnt-p3 { + type uint64; + description + "FDA input cell counter P3"; + } + leaf fda-cells-in-tdm-cnt { + type uint64; + description + "FDA input cell counter TDM"; + } + leaf fda-cells-in-meshmc-cnt { + type uint64; + description + "FDA input cell counter MESHMC"; + } + leaf fda-cells-in-ipt-cnt { + type uint64; + description + "FDA input cell counter IPT"; + } + leaf fda-cells-out-cnt-p1 { + type uint64; + description + "FDA output cell counter P1"; + } + leaf fda-cells-out-cnt-p2 { + type uint64; + description + "FDA output cell counter P2"; + } + leaf fda-cells-out-cnt-p3 { + type uint64; + description + "FDA output cell counter P3"; + } + leaf fda-cells-out-tdm-cnt { + type uint64; + description + "FDA output cell counter TDM"; + } + leaf fda-cells-out-meshmc-cnt { + type uint64; + description + "FDA output cell counter MESHMC"; + } + leaf fda-cells-out-ipt-cnt { + type uint64; + description + "FDA output cell counter IPT"; + } + leaf fda-egq-drop-cnt { + type uint64; + description + "FDA EGQ drop counter"; + } + leaf fda-egq-meshmc-drop-cnt { + type uint64; + description + "FDA EGQ MESHMC drop counter"; + } + leaf egq-fqp-pkt-cnt { + type uint64; + description + "FQP2EPE packet counter"; + } + leaf egq-pqp-uc-pkt-cnt { + type uint64; + description + "PQP2FQP unicast packet counter"; + } + leaf egq-pqp-discard-uc-pkt-cnt { + type uint64; + description + "PQP discarded unicast packet counter"; + } + leaf egq-pqp-uc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP unicast bytes counter"; + } + leaf egq-pqp-mc-pkt-cnt { + type uint64; + description + "PQP2FQP multicast packet counter"; + } + leaf egq-pqp-discard-mc-pkt-cnt { + type uint64; + description + "PQP discarded multicast packet counter"; + } + leaf egq-pqp-mc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP multicast bytes counter"; + } + leaf egq-ehp-uc-pkt-cnt { + type uint64; + description + "EHP2PQP unicast packet counter"; + } + leaf egq-ehp-mc-high-pkt-cnt { + type uint64; + description + "EHP2PQP multicast high packet counter"; + } + leaf egq-ehp-mc-low-pkt-cnt { + type uint64; + description + "EHP2PQP multicast low packet counter"; + } + leaf egq-deleted-pkt-cnt { + type uint64; + description + "EHP2PQP discarded packet counter"; + } + leaf egq-ehp-mc-high-discard-cnt { + type uint64; + description + "Number of multicast high packets discarded + because multicast FIFO is full"; + } + leaf egq-ehp-mc-low-discard-cnt { + type uint64; + description + "Number of multicast low packets discarded + because multicast FIFO is full"; + } + leaf egq-erpp-lag-pruning-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + LAG multicast pruning"; + } + leaf egq-erpp-pmf-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + ERPP PMF"; + } + leaf egq-erpp-vlan-mbr-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded because + of egress VLAN membership"; + } + leaf epni-epe-byte-cnt { + type uint64; + units "byte"; + description + "EPE2PNI bytes counter"; + } + leaf epni-epe-pkt-cnt { + type uint64; + description + "EPE2PNI packet counter"; + } + leaf epni-epe-discard-cnt { + type uint64; + description + "EPE discarded packet counter"; + } + leaf nbi-tx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from EGQ to NIF"; + } + leaf nbi-tx-total-pkt-cnt { + type uint64; + description + "Total packets sent from EGQ to NIF"; + } + } + + grouping FIA-EDM-STATS-BRIEF-INFO { + description + "ASIC statistics information"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang new file mode 100644 index 0000000..75000cc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper.yang @@ -0,0 +1,263 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper"; + prefix fretta-bcm-dpa-hw-resources-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-hw-resources package operational data. + + This module contains definitions + for the following management objects: + dpa: Stats Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Max-trap-s { + type uint32 { + range "0..4294967295"; + } + description + "Max trap s"; + } + + typedef Resource { + type enumeration { + enum "lem" { + value 0; + description + "lem"; + } + enum "lpm" { + value 1; + description + "lpm"; + } + enum "encap" { + value 2; + description + "encap"; + } + enum "ext-tcam-ipv4" { + value 3; + description + "ext tcam ipv4"; + } + enum "ext-tcam-ipv6-short" { + value 4; + description + "ext tcam ipv6 short"; + } + enum "ext-tcam-ipv6-long" { + value 5; + description + "ext tcam ipv6 long"; + } + enum "fec" { + value 6; + description + "fec"; + } + enum "ecmpfec" { + value 7; + description + "ecmp fec"; + } + enum "ext-tcam-ipv6" { + value 8; + description + "ext tcam ipv6"; + } + } + description + "Resource"; + } + + typedef Max-lc-intf-hand-les { + type uint32 { + range "0..4294967295"; + } + description + "Max lc intf hand les"; + } + + container dpa { + config false; + description + "Stats Data"; + container stats { + description + "Voq or Trap Data"; + container nodes { + description + "DPA data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container hw-resources-datas { + description + "DPA hw resources stats "; + list hw-resources-data { + key "resource"; + description + "Hardware resources table"; + leaf resource { + type Resource; + description + "Resource type"; + } + uses DPA-SYSDB-HW-RESOURCE; + } + } + container asic-statistics { + description + "ASIC statistics table"; + container asic-statistics-for-npu-ids { + description + "ASIC statistics"; + list asic-statistics-for-npu-id { + key "npu-id"; + description + "ASIC statistics for a particular NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-BRIEF-INFO; + } + } + container asic-statistics-detail-for-npu-ids { + description + "Detailed ASIC statistics"; + list asic-statistics-detail-for-npu-id { + key "npu-id"; + description + "Detailed ASIC statistics for a particular + NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-INFO; + } + } + } + container npu-numbers { + description + "Ingress Stats"; + list npu-number { + key "npu-id"; + description + "Stats for a particular npu"; + container display { + description + "show npu specific voq or trap stats"; + container base-numbers { + description + "Voq stats grouped by voq base numbers"; + list base-number { + key "base-number"; + description + "Voq Base Number for a particular voq"; + leaf base-number { + type Max-lc-intf-hand-les; + description + "Interface handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + container trap-ids { + description + "Trap stats for a particular npu"; + list trap-id { + key "trap-id"; + description + "Filter by specific trap id"; + leaf trap-id { + type Max-trap-s; + description + "Trap ID"; + } + uses DPA-TRAP-STATS; + } + } + container interface-handles { + description + "Voq stats grouped by interface handle"; + list interface-handle { + key "interface-handle"; + description + "Voq stats for a particular interface + handle"; + leaf interface-handle { + type Max-lc-intf-hand-les; + description + "Interface Handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + } + leaf npu-id { + type int32; + description + "Npu number"; + } + } + } + container npu-ids { + description + "DPA stats hw resources info "; + list npu-id { + key "npu-id"; + description + "Stats Hardware Info for particular NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses DPA-SYSDB-STATS-HW-RESOURCE; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang new file mode 100644 index 0000000..fe079da --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1.yang @@ -0,0 +1,665 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-npu-stats package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DPA-TRAP-STATS { + description + "DPA TRAP STATS"; + leaf trap-strength { + type uint32; + description + "Trap Strength of the trap"; + } + leaf priority { + type uint32; + description + "Priority of the trap"; + } + leaf trap-id-xr { + type uint32; + description + "Id of the trap"; + } + leaf gport { + type uint32; + description + "Gport of the trap"; + } + leaf fec-id { + type uint32; + description + "Fec id of the trap"; + } + leaf policer-id { + type uint32; + description + "Id of the policer on the trap"; + } + leaf stats-id { + type uint32; + description + "Stats Id of the trap"; + } + leaf encap-id { + type uint32; + description + "Encap Id of the trap"; + } + leaf mc-group { + type uint32; + description + "McGroup of the trap"; + } + leaf trap-string { + type string; + description + "Name String of the trap"; + } + leaf id { + type uint32; + description + "Id for internal use"; + } + leaf offset { + type uint64; + description + "Offset for internal use"; + } + leaf npu-id { + type uint64; + description + "NpuId on which trap is enabled"; + } + leaf packet-dropped { + type uint64; + description + "Number of packets dropped after hitting the trap"; + } + leaf packet-accepted { + type uint64; + description + "Number of packets accepted after hitting the + trap"; + } + } + + grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { + description + "DPA VOQ INGRESS PACKET STATISTICS"; + leaf received-bytes { + type uint64; + units "byte"; + description + "Bytes Received on the port"; + } + leaf received-packets { + type uint64; + description + "Packets Received on the port"; + } + leaf dropped-bytes { + type uint64; + units "byte"; + description + "Bytes Dropped on the port"; + } + leaf dropped-packets { + type uint64; + description + "Packets Dropeed on the port"; + } + } + + grouping DPA-VOQ-INTF-PORT { + description + "DPA VOQ INTF PORT"; + leaf in-use { + type boolean; + description + "Flag to indicate if port is in use"; + } + leaf rack-num { + type uint8; + description + "Rack of port"; + } + leaf slot-num { + type uint8; + description + "Slot of port"; + } + leaf npu-num { + type uint8; + description + "NPU of port"; + } + leaf npu-core { + type uint8; + description + "NPU core of port"; + } + leaf port-num { + type uint8; + description + "Port Number of port"; + } + leaf if-handle { + type uint32; + description + "IfHandle of port"; + } + leaf sys-port { + type uint32; + description + "System port of port"; + } + leaf pp-port { + type uint32; + description + "PP Port number of port"; + } + leaf port-speed { + type uint32; + description + "Port speed of port"; + } + leaf voq-base { + type uint32; + description + "Voq Base number of port"; + } + leaf connector-id { + type uint32; + description + "Connector id of port"; + } + leaf is-local-port { + type boolean; + description + "Flag to indicate if port is local to the node"; + } + list voq-stat { + max-elements "8"; + description + "Keeps a record of the received and dropped + packets and bytes on the port"; + uses DPA-VOQ-INGRESS-PACKET-STATISTICS; + } + } + + grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { + description + "Detailed ASIC statistics field information"; + leaf field-name { + type string { + length "0..80"; + } + description + "Field name"; + } + leaf field-value { + type uint64; + description + "Field value"; + } + leaf is-overflow { + type boolean; + description + "Flag to indicate overflow"; + } + } + + grouping FIA-EDM-DEVICE-STATS-BLK-INFO { + description + "Detailed ASIC statistics block information"; + leaf block-name { + type string { + length "0..10"; + } + description + "Block name"; + } + leaf num-fields { + type uint8; + description + "Number of fields"; + } + list field-info { + description + "Field information"; + uses FIA-EDM-DEVICE-STATS-FIELD-INFO; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { + description + "Detailed ASIC statistics information"; + leaf num-blocks { + type uint8; + description + "Number of blocks"; + } + list block-info { + description + "Block information"; + uses FIA-EDM-DEVICE-STATS-BLK-INFO; + } + } + + grouping FIA-EDM-STATS-INFO { + description + "Detailed ASIC statistics"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { + description + "ASIC statistics"; + leaf nbi-rx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from NIF to IRE"; + } + leaf nbi-rx-total-pkt-cnt { + type uint64; + description + "Total packets sent from NIF to IRE"; + } + leaf ire-cpu-pkt-cnt { + type uint64; + description + "CPU ingress received packet counter"; + } + leaf ire-nif-pkt-cnt { + type uint64; + description + "NIF received packet counter"; + } + leaf ire-oamp-pkt-cnt { + type uint64; + description + "OAMP ingress received packet counter"; + } + leaf ire-olp-pkt-cnt { + type uint64; + description + "OLP ingress received packet counter"; + } + leaf ire-rcy-pkt-cnt { + type uint64; + description + "Recycling ingress received packet counter"; + } + leaf ire-fdt-if-cnt { + type uint64; + description + "Performance counter of the FDT interface"; + } + leaf idr-mmu-if-cnt { + type uint64; + description + "Performance counter of the MMU interface"; + } + leaf idr-ocb-if-cnt { + type uint64; + description + "Performance counter of the OCB interface"; + } + leaf iqm-enqueue-pkt-cnt { + type uint64; + description + "Counts enqueued packets"; + } + leaf iqm-dequeue-pkt-cnt { + type uint64; + description + "Counts dequeued packets"; + } + leaf iqm-deleted-pkt-cnt { + type uint64; + description + "Counts matched packets discarded in the DEQ + process"; + } + leaf iqm-enq-discarded-pkt-cnt { + type uint64; + description + "Counts all packets discarded at the ENQ pipe"; + } + leaf ipt-egq-pkt-cnt { + type uint64; + description + "EGQ packet counter"; + } + leaf ipt-enq-pkt-cnt { + type uint64; + description + "ENQ packet counter"; + } + leaf ipt-fdt-pkt-cnt { + type uint64; + description + "FDT packet counter"; + } + leaf ipt-cfg-event-cnt { + type uint64; + description + "Configurable event counter"; + } + leaf ipt-cfg-byte-cnt { + type uint64; + units "byte"; + description + "Configurable bytes counter"; + } + leaf fdt-ipt-desc-cell-cnt { + type uint64; + description + "Descriptor cell counter"; + } + leaf fdt-ire-desc-cell-cnt { + type uint64; + description + "IRE internal descriptor cell counter"; + } + leaf fdt-transmitted-data-cells-cnt { + type uint64; + description + "Counts all transmitted data cells"; + } + leaf fdr-p1-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 1"; + } + leaf fdr-p2-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 2"; + } + leaf fdr-p3-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 3"; + } + leaf fdr-cell-in-cnt-total { + type uint64; + description + "FDR total incoming cell counter"; + } + leaf fda-cells-in-cnt-p1 { + type uint64; + description + "FDA input cell counter P1"; + } + leaf fda-cells-in-cnt-p2 { + type uint64; + description + "FDA input cell counter P2"; + } + leaf fda-cells-in-cnt-p3 { + type uint64; + description + "FDA input cell counter P3"; + } + leaf fda-cells-in-tdm-cnt { + type uint64; + description + "FDA input cell counter TDM"; + } + leaf fda-cells-in-meshmc-cnt { + type uint64; + description + "FDA input cell counter MESHMC"; + } + leaf fda-cells-in-ipt-cnt { + type uint64; + description + "FDA input cell counter IPT"; + } + leaf fda-cells-out-cnt-p1 { + type uint64; + description + "FDA output cell counter P1"; + } + leaf fda-cells-out-cnt-p2 { + type uint64; + description + "FDA output cell counter P2"; + } + leaf fda-cells-out-cnt-p3 { + type uint64; + description + "FDA output cell counter P3"; + } + leaf fda-cells-out-tdm-cnt { + type uint64; + description + "FDA output cell counter TDM"; + } + leaf fda-cells-out-meshmc-cnt { + type uint64; + description + "FDA output cell counter MESHMC"; + } + leaf fda-cells-out-ipt-cnt { + type uint64; + description + "FDA output cell counter IPT"; + } + leaf fda-egq-drop-cnt { + type uint64; + description + "FDA EGQ drop counter"; + } + leaf fda-egq-meshmc-drop-cnt { + type uint64; + description + "FDA EGQ MESHMC drop counter"; + } + leaf egq-fqp-pkt-cnt { + type uint64; + description + "FQP2EPE packet counter"; + } + leaf egq-pqp-uc-pkt-cnt { + type uint64; + description + "PQP2FQP unicast packet counter"; + } + leaf egq-pqp-discard-uc-pkt-cnt { + type uint64; + description + "PQP discarded unicast packet counter"; + } + leaf egq-pqp-uc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP unicast bytes counter"; + } + leaf egq-pqp-mc-pkt-cnt { + type uint64; + description + "PQP2FQP multicast packet counter"; + } + leaf egq-pqp-discard-mc-pkt-cnt { + type uint64; + description + "PQP discarded multicast packet counter"; + } + leaf egq-pqp-mc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP multicast bytes counter"; + } + leaf egq-ehp-uc-pkt-cnt { + type uint64; + description + "EHP2PQP unicast packet counter"; + } + leaf egq-ehp-mc-high-pkt-cnt { + type uint64; + description + "EHP2PQP multicast high packet counter"; + } + leaf egq-ehp-mc-low-pkt-cnt { + type uint64; + description + "EHP2PQP multicast low packet counter"; + } + leaf egq-deleted-pkt-cnt { + type uint64; + description + "EHP2PQP discarded packet counter"; + } + leaf egq-ehp-mc-high-discard-cnt { + type uint64; + description + "Number of multicast high packets discarded + because multicast FIFO is full"; + } + leaf egq-ehp-mc-low-discard-cnt { + type uint64; + description + "Number of multicast low packets discarded + because multicast FIFO is full"; + } + leaf egq-erpp-lag-pruning-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + LAG multicast pruning"; + } + leaf egq-erpp-pmf-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + ERPP PMF"; + } + leaf egq-erpp-vlan-mbr-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded because + of egress VLAN membership"; + } + leaf epni-epe-byte-cnt { + type uint64; + units "byte"; + description + "EPE2PNI bytes counter"; + } + leaf epni-epe-pkt-cnt { + type uint64; + description + "EPE2PNI packet counter"; + } + leaf epni-epe-discard-cnt { + type uint64; + description + "EPE discarded packet counter"; + } + leaf nbi-tx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from EGQ to NIF"; + } + leaf nbi-tx-total-pkt-cnt { + type uint64; + description + "Total packets sent from EGQ to NIF"; + } + } + + grouping FIA-EDM-STATS-BRIEF-INFO { + description + "ASIC statistics information"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang new file mode 100644 index 0000000..5cee48f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper.yang @@ -0,0 +1,178 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper"; + prefix fretta-bcm-dpa-npu-stats-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-npu-stats package operational data. + + This module contains definitions + for the following management objects: + dpa: Stats Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Max-trap-s { + type uint32 { + range "0..4294967295"; + } + description + "Max trap s"; + } + + typedef Max-lc-intf-hand-les { + type uint32 { + range "0..4294967295"; + } + description + "Max lc intf hand les"; + } + + container dpa { + config false; + description + "Stats Data"; + container stats { + description + "Voq or Trap Data"; + container nodes { + description + "DPA data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container asic-statistics { + description + "ASIC statistics table"; + container asic-statistics-for-npu-ids { + description + "ASIC statistics"; + list asic-statistics-for-npu-id { + key "npu-id"; + description + "ASIC statistics for a particular NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-BRIEF-INFO; + } + } + container asic-statistics-detail-for-npu-ids { + description + "Detailed ASIC statistics"; + list asic-statistics-detail-for-npu-id { + key "npu-id"; + description + "Detailed ASIC statistics for a particular + NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-INFO; + } + } + } + container npu-numbers { + description + "Ingress Stats"; + list npu-number { + key "npu-id"; + description + "Stats for a particular npu"; + container display { + description + "show npu specific voq or trap stats"; + container base-numbers { + description + "Voq stats grouped by voq base numbers"; + list base-number { + key "base-number"; + description + "Voq Base Number for a particular voq"; + leaf base-number { + type Max-lc-intf-hand-les; + description + "Interface handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + container trap-ids { + description + "Trap stats for a particular npu"; + list trap-id { + key "trap-id"; + description + "Filter by specific trap id"; + leaf trap-id { + type Max-trap-s; + description + "Trap ID"; + } + uses DPA-TRAP-STATS; + } + } + container interface-handles { + description + "Voq stats grouped by interface handle"; + list interface-handle { + key "interface-handle"; + description + "Voq stats for a particular interface + handle"; + leaf interface-handle { + type Max-lc-intf-hand-les; + description + "Interface Handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + } + leaf npu-id { + type int32; + description + "Npu number"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-oor-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-oor-cfg.yang new file mode 100644 index 0000000..830346d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-oor-cfg.yang @@ -0,0 +1,76 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-oor-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-oor-cfg"; + prefix fretta-bcm-dpa-oor-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-oor package configuration. + + This module contains definitions + for the following management objects: + oor-hw-config: Out-Of-Resource (OOR) configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container oor-hw-config { + description + "Out-Of-Resource (OOR) configuration"; + container hw { + description + "Hardware OOR configuration"; + container thresholds { + description + "Configure OOR hardware thresholds"; + list threshold { + key "color"; + description + "none"; + leaf color { + type xr:Cisco-ios-xr-string; + description + "none"; + } + leaf percent { + type uint32 { + range "0..100"; + } + units "percentage"; + mandatory true; + description + "value in percent"; + } + } + } + leaf dampening { + type uint32 { + range "0..600"; + } + units "second"; + description + "Configure OOR hardware dampening timeouts"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-datatypes.yang new file mode 100644 index 0000000..eccee9e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-datatypes.yang @@ -0,0 +1,675 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-resources-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-resources-datatypes"; + prefix fretta-bcm-dpa-resources-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dpa-table { + type enumeration { + enum "test-if" { + value 0; + description + "test if"; + } + enum "test-nhg" { + value 1; + description + "test nhg"; + } + enum "test-nh" { + value 2; + description + "test nh"; + } + enum "test-rt" { + value 3; + description + "test rt"; + } + enum "test-dynhg" { + value 4; + description + "testdynhg"; + } + enum "test-ip-punt-policy" { + value 5; + description + "test ippuntpolicy"; + } + enum "test-punt" { + value 6; + description + "test punt"; + } + enum "test-punt-policy-stats" { + value 7; + description + "testpuntpolicystats"; + } + enum "test-async-update" { + value 8; + description + "testasyncupdate"; + } + enum "test-ddel-q" { + value 9; + description + "test ddel q"; + } + enum "bdbvi" { + value 10; + description + "bdbvi"; + } + enum "sys" { + value 11; + description + "sys"; + } + enum "npu" { + value 12; + description + "npu"; + } + enum "npuhwid" { + value 13; + description + "npuhwid"; + } + enum "l1-port" { + value 14; + description + "l1port"; + } + enum "l2-port" { + value 15; + description + "l2port"; + } + enum "l2intf" { + value 16; + description + "l2intf"; + } + enum "mplspwe-port" { + value 17; + description + "mplspweport"; + } + enum "mhpwe-port" { + value 18; + description + "mhpweport"; + } + enum "l2xc" { + value 19; + description + "l2xc"; + } + enum "l2vpnstats" { + value 20; + description + "l2vpnstats"; + } + enum "l1-ports-tats" { + value 21; + description + "l1portstats"; + } + enum "l3intf" { + value 22; + description + "l3intf"; + } + enum "l3intfrxstats" { + value 23; + description + "l3intfrxstats"; + } + enum "ip-route" { + value 24; + description + "iproute"; + } + enum "ip6-route" { + value 25; + description + "ip6route"; + } + enum "punt-policy-stats" { + value 26; + description + "puntpolicystats"; + } + enum "ip-punt-policy" { + value 27; + description + "ippuntpolicy"; + } + enum "ip6-punt-policy" { + value 28; + description + "ip6puntpolicy"; + } + enum "isis-punt-policy" { + value 29; + description + "isispuntpolicy"; + } + enum "ipnh-group" { + value 30; + description + "ipnhgroup"; + } + enum "ip6nh-group" { + value 31; + description + "ip6nhgroup"; + } + enum "ipnh" { + value 32; + description + "ipnh"; + } + enum "ip6nh" { + value 33; + description + "ip6nh"; + } + enum "ipvrf" { + value 34; + description + "ipvrf"; + } + enum "mplsnh" { + value 35; + description + "mplsnh"; + } + enum "mpls-label" { + value 36; + description + "mplslabel"; + } + enum "dnx-trap" { + value 37; + description + "dnx trap"; + } + enum "punt" { + value 38; + description + "punt"; + } + enum "punt-police-r" { + value 39; + description + "puntpolicer"; + } + enum "punt-lpts-police-r" { + value 40; + description + "puntlptspolicer"; + } + enum "punt-stats" { + value 41; + description + "puntstats"; + } + enum "tm-port" { + value 42; + description + "tmport"; + } + enum "span-session" { + value 43; + description + "spansession"; + } + enum "police-rstats" { + value 44; + description + "policerstats"; + } + enum "tm-ports-tats" { + value 45; + description + "tmportstats"; + } + enum "l3intftxstats" { + value 46; + description + "l3intftxstats"; + } + enum "mplstetxstats" { + value 47; + description + "mplstetxstats"; + } + enum "mplslblstats" { + value 48; + description + "mplslblstats"; + } + enum "police-r" { + value 49; + description + "policer"; + } + enum "l2intfrxstats" { + value 50; + description + "l2intfrxstats"; + } + enum "l2intftxstats" { + value 51; + description + "l2intftxstats"; + } + enum "dnx-pbr-tt-ipv4" { + value 52; + description + "dnx pbr tt ipv4"; + } + enum "dnx-pbr-tt-ipv6" { + value 53; + description + "dnx pbr tt ipv6"; + } + enum "bfdhwoff" { + value 54; + description + "bfdhwoff"; + } + enum "global" { + value 55; + description + "global"; + } + enum "lag-port" { + value 56; + description + "lagport"; + } + enum "qos-profile" { + value 57; + description + "qosprofile"; + } + enum "tmrate-profile" { + value 58; + description + "tmrateprofile"; + } + enum "dnx-port-range" { + value 59; + description + "dnx port range"; + } + enum "ipacl" { + value 60; + description + "ipacl"; + } + enum "ip6acl" { + value 61; + description + "ip6acl"; + } + enum "sched-tree" { + value 62; + description + "schedtree"; + } + enum "tmcos" { + value 63; + description + "tmcos"; + } + enum "statsagg" { + value 64; + description + "statsagg"; + } + enum "nhprotect" { + value 65; + description + "nhprotect"; + } + enum "sampler" { + value 66; + description + "sampler"; + } + enum "l2qos" { + value 67; + description + "l2qos"; + } + enum "peer-qos" { + value 68; + description + "peerqos"; + } + enum "ipqos" { + value 69; + description + "ipqos"; + } + enum "ip6qos" { + value 70; + description + "ip6qos"; + } + enum "mplsqos" { + value 71; + description + "mplsqos"; + } + enum "qosid" { + value 72; + description + "qosid"; + } + enum "extlif" { + value 73; + description + "extlif"; + } + enum "elif" { + value 74; + description + "elif"; + } + enum "ingaclstats" { + value 75; + description + "ingaclstats"; + } + enum "egraclstats" { + value 76; + description + "egraclstats"; + } + enum "edpl" { + value 77; + description + "edpl"; + } + enum "cfmmaid" { + value 78; + description + "cfmmaid"; + } + enum "cfmdefmps" { + value 79; + description + "cfmdefmps"; + } + enum "cfmofflmep" { + value 80; + description + "cfmofflmep"; + } + enum "cfmoffrmep" { + value 81; + description + "cfmoffrmep"; + } + enum "cfmnonoff" { + value 82; + description + "cfmnonoff"; + } + enum "cfmhwoffrxstats" { + value 83; + description + "cfmhwoffrxstats"; + } + enum "ipmc-route" { + value 84; + description + "ipmcroute"; + } + enum "l2ipmc-route" { + value 85; + description + "l2ipmcroute"; + } + enum "ipmco-list" { + value 86; + description + "ipmcolist"; + } + enum "l2mco-list" { + value 87; + description + "l2mcolist"; + } + enum "ipmc-merge-do-list" { + value 88; + description + "ipmcmergedolist"; + } + enum "sgfgid-list" { + value 89; + description + "sgfgidlist"; + } + enum "meshmc" { + value 90; + description + "meshmc"; + } + enum "l2-bridge" { + value 91; + description + "l2bridge"; + } + enum "l2-bridge-port" { + value 92; + description + "l2bridgeport"; + } + enum "l2-bridge-mac" { + value 93; + description + "l2bridgemac"; + } + enum "l2brmac" { + value 94; + description + "l2brmac"; + } + enum "ip-tunnel-decap" { + value 95; + description + "iptunneldecap"; + } + enum "l2vlan-range" { + value 96; + description + "l2vlanrange"; + } + enum "ip-tunnel-encap" { + value 97; + description + "iptunnelencap"; + } + enum "rawget" { + value 98; + description + "rawget"; + } + enum "ip6mc-route" { + value 99; + description + "ip6mcroute"; + } + enum "l2evpnact-remote-peer-id" { + value 100; + description + "l2evpnactremotepeerid"; + } + enum "l2evpnact-local-shl" { + value 101; + description + "l2evpnactlocalshl"; + } + enum "l2evpnact-remote-shl" { + value 102; + description + "l2evpnactremoteshl"; + } + enum "evpn-iml-range" { + value 103; + description + "evpn imlrange"; + } + enum "l2-bridge-o-list" { + value 104; + description + "l2bridgeolist"; + } + enum "l2acl" { + value 105; + description + "l2acl"; + } + enum "l2evpn-nh" { + value 106; + description + "l2evpn nh"; + } + enum "l2-bridge-port-sc" { + value 107; + description + "l2bridgeport sc"; + } + enum "l3intfmctxstats" { + value 108; + description + "l3intfmctxstats"; + } + enum "tidl-sample" { + value 109; + description + "tidl sample"; + } + enum "tidl-ref-sample" { + value 110; + description + "tidl ref sample"; + } + enum "ipacl-prefix" { + value 111; + description + "ipaclprefix"; + } + enum "ip6acl-prefix" { + value 112; + description + "ip6aclprefix"; + } + enum "ipacl-port" { + value 113; + description + "ipaclport"; + } + enum "scaleacl" { + value 114; + description + "scaleacl"; + } + enum "ipmcf-hop" { + value 115; + description + "ipmcfhop"; + } + enum "bundle-swoff" { + value 116; + description + "bundle swoff"; + } + enum "mcidswoff" { + value 117; + description + "mcidswoff"; + } + enum "dest-map" { + value 118; + description + "destmap"; + } + enum "l2-bridge-port-pw" { + value 119; + description + "l2bridgeport pw"; + } + enum "l2evpnact-local-shlstats" { + value 120; + description + "l2evpnactlocalshlstats"; + } + enum "test-hidden" { + value 121; + description + "testhidden"; + } + enum "test-local" { + value 122; + description + "testlocal"; + } + enum "test-repeated" { + value 123; + description + "testrepeated"; + } + enum "limd" { + value 124; + description + "limd"; + } + enum "litap" { + value 125; + description + "litap"; + } + enum "test-xtf" { + value 126; + description + "test xtf"; + } + enum "ipmcrxstats" { + value 127; + description + "ipmcrxstats"; + } + } + description + "Dpa table"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang new file mode 100644 index 0000000..ff50bcf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1.yang @@ -0,0 +1,665 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-resources-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DPA-TRAP-STATS { + description + "DPA TRAP STATS"; + leaf trap-strength { + type uint32; + description + "Trap Strength of the trap"; + } + leaf priority { + type uint32; + description + "Priority of the trap"; + } + leaf trap-id-xr { + type uint32; + description + "Id of the trap"; + } + leaf gport { + type uint32; + description + "Gport of the trap"; + } + leaf fec-id { + type uint32; + description + "Fec id of the trap"; + } + leaf policer-id { + type uint32; + description + "Id of the policer on the trap"; + } + leaf stats-id { + type uint32; + description + "Stats Id of the trap"; + } + leaf encap-id { + type uint32; + description + "Encap Id of the trap"; + } + leaf mc-group { + type uint32; + description + "McGroup of the trap"; + } + leaf trap-string { + type string; + description + "Name String of the trap"; + } + leaf id { + type uint32; + description + "Id for internal use"; + } + leaf offset { + type uint64; + description + "Offset for internal use"; + } + leaf npu-id { + type uint64; + description + "NpuId on which trap is enabled"; + } + leaf packet-dropped { + type uint64; + description + "Number of packets dropped after hitting the trap"; + } + leaf packet-accepted { + type uint64; + description + "Number of packets accepted after hitting the + trap"; + } + } + + grouping DPA-VOQ-INGRESS-PACKET-STATISTICS { + description + "DPA VOQ INGRESS PACKET STATISTICS"; + leaf received-bytes { + type uint64; + units "byte"; + description + "Bytes Received on the port"; + } + leaf received-packets { + type uint64; + description + "Packets Received on the port"; + } + leaf dropped-bytes { + type uint64; + units "byte"; + description + "Bytes Dropped on the port"; + } + leaf dropped-packets { + type uint64; + description + "Packets Dropeed on the port"; + } + } + + grouping DPA-VOQ-INTF-PORT { + description + "DPA VOQ INTF PORT"; + leaf in-use { + type boolean; + description + "Flag to indicate if port is in use"; + } + leaf rack-num { + type uint8; + description + "Rack of port"; + } + leaf slot-num { + type uint8; + description + "Slot of port"; + } + leaf npu-num { + type uint8; + description + "NPU of port"; + } + leaf npu-core { + type uint8; + description + "NPU core of port"; + } + leaf port-num { + type uint8; + description + "Port Number of port"; + } + leaf if-handle { + type uint32; + description + "IfHandle of port"; + } + leaf sys-port { + type uint32; + description + "System port of port"; + } + leaf pp-port { + type uint32; + description + "PP Port number of port"; + } + leaf port-speed { + type uint32; + description + "Port speed of port"; + } + leaf voq-base { + type uint32; + description + "Voq Base number of port"; + } + leaf connector-id { + type uint32; + description + "Connector id of port"; + } + leaf is-local-port { + type boolean; + description + "Flag to indicate if port is local to the node"; + } + list voq-stat { + max-elements "8"; + description + "Keeps a record of the received and dropped + packets and bytes on the port"; + uses DPA-VOQ-INGRESS-PACKET-STATISTICS; + } + } + + grouping FIA-EDM-DEVICE-STATS-FIELD-INFO { + description + "Detailed ASIC statistics field information"; + leaf field-name { + type string { + length "0..80"; + } + description + "Field name"; + } + leaf field-value { + type uint64; + description + "Field value"; + } + leaf is-overflow { + type boolean; + description + "Flag to indicate overflow"; + } + } + + grouping FIA-EDM-DEVICE-STATS-BLK-INFO { + description + "Detailed ASIC statistics block information"; + leaf block-name { + type string { + length "0..10"; + } + description + "Block name"; + } + leaf num-fields { + type uint8; + description + "Number of fields"; + } + list field-info { + description + "Field information"; + uses FIA-EDM-DEVICE-STATS-FIELD-INFO; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-INFO { + description + "Detailed ASIC statistics information"; + leaf num-blocks { + type uint8; + description + "Number of blocks"; + } + list block-info { + description + "Block information"; + uses FIA-EDM-DEVICE-STATS-BLK-INFO; + } + } + + grouping FIA-EDM-STATS-INFO { + description + "Detailed ASIC statistics"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } + + grouping FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO { + description + "ASIC statistics"; + leaf nbi-rx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from NIF to IRE"; + } + leaf nbi-rx-total-pkt-cnt { + type uint64; + description + "Total packets sent from NIF to IRE"; + } + leaf ire-cpu-pkt-cnt { + type uint64; + description + "CPU ingress received packet counter"; + } + leaf ire-nif-pkt-cnt { + type uint64; + description + "NIF received packet counter"; + } + leaf ire-oamp-pkt-cnt { + type uint64; + description + "OAMP ingress received packet counter"; + } + leaf ire-olp-pkt-cnt { + type uint64; + description + "OLP ingress received packet counter"; + } + leaf ire-rcy-pkt-cnt { + type uint64; + description + "Recycling ingress received packet counter"; + } + leaf ire-fdt-if-cnt { + type uint64; + description + "Performance counter of the FDT interface"; + } + leaf idr-mmu-if-cnt { + type uint64; + description + "Performance counter of the MMU interface"; + } + leaf idr-ocb-if-cnt { + type uint64; + description + "Performance counter of the OCB interface"; + } + leaf iqm-enqueue-pkt-cnt { + type uint64; + description + "Counts enqueued packets"; + } + leaf iqm-dequeue-pkt-cnt { + type uint64; + description + "Counts dequeued packets"; + } + leaf iqm-deleted-pkt-cnt { + type uint64; + description + "Counts matched packets discarded in the DEQ + process"; + } + leaf iqm-enq-discarded-pkt-cnt { + type uint64; + description + "Counts all packets discarded at the ENQ pipe"; + } + leaf ipt-egq-pkt-cnt { + type uint64; + description + "EGQ packet counter"; + } + leaf ipt-enq-pkt-cnt { + type uint64; + description + "ENQ packet counter"; + } + leaf ipt-fdt-pkt-cnt { + type uint64; + description + "FDT packet counter"; + } + leaf ipt-cfg-event-cnt { + type uint64; + description + "Configurable event counter"; + } + leaf ipt-cfg-byte-cnt { + type uint64; + units "byte"; + description + "Configurable bytes counter"; + } + leaf fdt-ipt-desc-cell-cnt { + type uint64; + description + "Descriptor cell counter"; + } + leaf fdt-ire-desc-cell-cnt { + type uint64; + description + "IRE internal descriptor cell counter"; + } + leaf fdt-transmitted-data-cells-cnt { + type uint64; + description + "Counts all transmitted data cells"; + } + leaf fdr-p1-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 1"; + } + leaf fdr-p2-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 2"; + } + leaf fdr-p3-cell-in-cnt { + type uint64; + description + "FDR total incoming cell counter at pipe 3"; + } + leaf fdr-cell-in-cnt-total { + type uint64; + description + "FDR total incoming cell counter"; + } + leaf fda-cells-in-cnt-p1 { + type uint64; + description + "FDA input cell counter P1"; + } + leaf fda-cells-in-cnt-p2 { + type uint64; + description + "FDA input cell counter P2"; + } + leaf fda-cells-in-cnt-p3 { + type uint64; + description + "FDA input cell counter P3"; + } + leaf fda-cells-in-tdm-cnt { + type uint64; + description + "FDA input cell counter TDM"; + } + leaf fda-cells-in-meshmc-cnt { + type uint64; + description + "FDA input cell counter MESHMC"; + } + leaf fda-cells-in-ipt-cnt { + type uint64; + description + "FDA input cell counter IPT"; + } + leaf fda-cells-out-cnt-p1 { + type uint64; + description + "FDA output cell counter P1"; + } + leaf fda-cells-out-cnt-p2 { + type uint64; + description + "FDA output cell counter P2"; + } + leaf fda-cells-out-cnt-p3 { + type uint64; + description + "FDA output cell counter P3"; + } + leaf fda-cells-out-tdm-cnt { + type uint64; + description + "FDA output cell counter TDM"; + } + leaf fda-cells-out-meshmc-cnt { + type uint64; + description + "FDA output cell counter MESHMC"; + } + leaf fda-cells-out-ipt-cnt { + type uint64; + description + "FDA output cell counter IPT"; + } + leaf fda-egq-drop-cnt { + type uint64; + description + "FDA EGQ drop counter"; + } + leaf fda-egq-meshmc-drop-cnt { + type uint64; + description + "FDA EGQ MESHMC drop counter"; + } + leaf egq-fqp-pkt-cnt { + type uint64; + description + "FQP2EPE packet counter"; + } + leaf egq-pqp-uc-pkt-cnt { + type uint64; + description + "PQP2FQP unicast packet counter"; + } + leaf egq-pqp-discard-uc-pkt-cnt { + type uint64; + description + "PQP discarded unicast packet counter"; + } + leaf egq-pqp-uc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP unicast bytes counter"; + } + leaf egq-pqp-mc-pkt-cnt { + type uint64; + description + "PQP2FQP multicast packet counter"; + } + leaf egq-pqp-discard-mc-pkt-cnt { + type uint64; + description + "PQP discarded multicast packet counter"; + } + leaf egq-pqp-mc-bytes-cnt { + type uint64; + units "byte"; + description + "PQP2FQP multicast bytes counter"; + } + leaf egq-ehp-uc-pkt-cnt { + type uint64; + description + "EHP2PQP unicast packet counter"; + } + leaf egq-ehp-mc-high-pkt-cnt { + type uint64; + description + "EHP2PQP multicast high packet counter"; + } + leaf egq-ehp-mc-low-pkt-cnt { + type uint64; + description + "EHP2PQP multicast low packet counter"; + } + leaf egq-deleted-pkt-cnt { + type uint64; + description + "EHP2PQP discarded packet counter"; + } + leaf egq-ehp-mc-high-discard-cnt { + type uint64; + description + "Number of multicast high packets discarded + because multicast FIFO is full"; + } + leaf egq-ehp-mc-low-discard-cnt { + type uint64; + description + "Number of multicast low packets discarded + because multicast FIFO is full"; + } + leaf egq-erpp-lag-pruning-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + LAG multicast pruning"; + } + leaf egq-erpp-pmf-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded due to + ERPP PMF"; + } + leaf egq-erpp-vlan-mbr-discard-cnt { + type uint64; + description + "Number of packet descriptors discarded because + of egress VLAN membership"; + } + leaf epni-epe-byte-cnt { + type uint64; + units "byte"; + description + "EPE2PNI bytes counter"; + } + leaf epni-epe-pkt-cnt { + type uint64; + description + "EPE2PNI packet counter"; + } + leaf epni-epe-discard-cnt { + type uint64; + description + "EPE discarded packet counter"; + } + leaf nbi-tx-total-byte-cnt { + type uint64; + units "byte"; + description + "Total bytes sent from EGQ to NIF"; + } + leaf nbi-tx-total-pkt-cnt { + type uint64; + description + "Total packets sent from EGQ to NIF"; + } + } + + grouping FIA-EDM-STATS-BRIEF-INFO { + description + "ASIC statistics information"; + container statistics { + description + "Statistics"; + uses FIA-EDM-DEVICE-STATS-ASIC-BRIEF-INFO; + } + leaf valid { + type boolean; + description + "Flag to indicate if data is valid"; + } + leaf rack-number { + type uint32; + description + "Rack number"; + } + leaf slot-number { + type uint32; + description + "Slot number"; + } + leaf asic-instance { + type uint32; + description + "ASIC instance"; + } + leaf chip-version { + type uint16; + description + "Chip version"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang new file mode 100644 index 0000000..5daf7d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2.yang @@ -0,0 +1,146 @@ +submodule Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2 { + belongs-to Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { + prefix Cisco-IOS-XR-fretta-bcm-dpa-resources-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DPA-SYSDB-NPU-TABLE-RESOURCE { + description + "DPA SYSDB NPU TABLE RESOURCE"; + leaf npu-id { + type uint32; + description + "npu id"; + } + leaf num-objs { + type uint32; + description + "num objs"; + } + leaf create-req { + type uint32; + description + "create req"; + } + leaf create-ok { + type uint32; + description + "create ok"; + } + leaf delete-req { + type uint32; + description + "delete req"; + } + leaf delete-ok { + type uint32; + description + "delete ok"; + } + leaf update-req { + type uint32; + description + "update req"; + } + leaf update-ok { + type uint32; + description + "update ok"; + } + leaf eod-req { + type uint32; + description + "eod req"; + } + leaf eod-ok { + type uint32; + description + "eod ok"; + } + leaf err-hw-fail { + type uint32; + description + "err hw fail"; + } + leaf err-ref-resolve { + type uint32; + description + "err ref resolve"; + } + leaf err-db-notfound { + type uint32; + description + "err db notfound"; + } + leaf err-db-exists { + type uint32; + description + "err db exists"; + } + leaf err-db-nomem { + type uint32; + description + "err db nomem"; + } + } + + grouping DPA-SYSDB-TABLE-RESOURCE { + description + "DPA SYSDB TABLE RESOURCE"; + leaf table-id { + type uint32; + description + "table id"; + } + leaf name { + type string { + length "0..64"; + } + description + "name"; + } + leaf is-global { + type boolean; + description + "is global"; + } + leaf num-npus { + type uint32; + description + "num npus"; + } + leaf table-specific-list { + type string; + description + "table specific list"; + } + list npu-tblr { + description + "npu tblr"; + uses DPA-SYSDB-NPU-TABLE-RESOURCE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang new file mode 100644 index 0000000..8f09fbd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper.yang @@ -0,0 +1,861 @@ +module Cisco-IOS-XR-fretta-bcm-dpa-resources-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-resources-oper"; + prefix fretta-bcm-dpa-resources-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-fretta-bcm-dpa-resources-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-bcm-dpa-resources package operational data. + + This module contains definitions + for the following management objects: + dpa: Stats Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Max-trap-s { + type uint32 { + range "0..4294967295"; + } + description + "Max trap s"; + } + + typedef Max-lc-intf-hand-les { + type uint32 { + range "0..4294967295"; + } + description + "Max lc intf hand les"; + } + + typedef Dpa-table { + type enumeration { + enum "test-if" { + value 0; + description + "test if"; + } + enum "test-nhg" { + value 1; + description + "test nhg"; + } + enum "test-nh" { + value 2; + description + "test nh"; + } + enum "test-rt" { + value 3; + description + "test rt"; + } + enum "test-dynhg" { + value 4; + description + "testdynhg"; + } + enum "test-ip-punt-policy" { + value 5; + description + "test ippuntpolicy"; + } + enum "test-punt" { + value 6; + description + "test punt"; + } + enum "test-punt-policy-stats" { + value 7; + description + "testpuntpolicystats"; + } + enum "test-async-update" { + value 8; + description + "testasyncupdate"; + } + enum "test-ddel-q" { + value 9; + description + "test ddel q"; + } + enum "bdbvi" { + value 10; + description + "bdbvi"; + } + enum "sys" { + value 11; + description + "sys"; + } + enum "npu" { + value 12; + description + "npu"; + } + enum "npuhwid" { + value 13; + description + "npuhwid"; + } + enum "l1-port" { + value 14; + description + "l1port"; + } + enum "l2-port" { + value 15; + description + "l2port"; + } + enum "l2intf" { + value 16; + description + "l2intf"; + } + enum "mplspwe-port" { + value 17; + description + "mplspweport"; + } + enum "mhpwe-port" { + value 18; + description + "mhpweport"; + } + enum "l2xc" { + value 19; + description + "l2xc"; + } + enum "l2vpnstats" { + value 20; + description + "l2vpnstats"; + } + enum "l1-ports-tats" { + value 21; + description + "l1portstats"; + } + enum "l3intf" { + value 22; + description + "l3intf"; + } + enum "l3intfrxstats" { + value 23; + description + "l3intfrxstats"; + } + enum "ip-route" { + value 24; + description + "iproute"; + } + enum "ip6-route" { + value 25; + description + "ip6route"; + } + enum "punt-policy-stats" { + value 26; + description + "puntpolicystats"; + } + enum "ip-punt-policy" { + value 27; + description + "ippuntpolicy"; + } + enum "ip6-punt-policy" { + value 28; + description + "ip6puntpolicy"; + } + enum "isis-punt-policy" { + value 29; + description + "isispuntpolicy"; + } + enum "ipnh-group" { + value 30; + description + "ipnhgroup"; + } + enum "ip6nh-group" { + value 31; + description + "ip6nhgroup"; + } + enum "ipnh" { + value 32; + description + "ipnh"; + } + enum "ip6nh" { + value 33; + description + "ip6nh"; + } + enum "ipvrf" { + value 34; + description + "ipvrf"; + } + enum "mplsnh" { + value 35; + description + "mplsnh"; + } + enum "mpls-label" { + value 36; + description + "mplslabel"; + } + enum "dnx-trap" { + value 37; + description + "dnx trap"; + } + enum "punt" { + value 38; + description + "punt"; + } + enum "punt-police-r" { + value 39; + description + "puntpolicer"; + } + enum "punt-lpts-police-r" { + value 40; + description + "puntlptspolicer"; + } + enum "punt-stats" { + value 41; + description + "puntstats"; + } + enum "tm-port" { + value 42; + description + "tmport"; + } + enum "span-session" { + value 43; + description + "spansession"; + } + enum "police-rstats" { + value 44; + description + "policerstats"; + } + enum "tm-ports-tats" { + value 45; + description + "tmportstats"; + } + enum "l3intftxstats" { + value 46; + description + "l3intftxstats"; + } + enum "mplstetxstats" { + value 47; + description + "mplstetxstats"; + } + enum "mplslblstats" { + value 48; + description + "mplslblstats"; + } + enum "police-r" { + value 49; + description + "policer"; + } + enum "l2intfrxstats" { + value 50; + description + "l2intfrxstats"; + } + enum "l2intftxstats" { + value 51; + description + "l2intftxstats"; + } + enum "dnx-pbr-tt-ipv4" { + value 52; + description + "dnx pbr tt ipv4"; + } + enum "dnx-pbr-tt-ipv6" { + value 53; + description + "dnx pbr tt ipv6"; + } + enum "bfdhwoff" { + value 54; + description + "bfdhwoff"; + } + enum "global" { + value 55; + description + "global"; + } + enum "lag-port" { + value 56; + description + "lagport"; + } + enum "qos-profile" { + value 57; + description + "qosprofile"; + } + enum "tmrate-profile" { + value 58; + description + "tmrateprofile"; + } + enum "dnx-port-range" { + value 59; + description + "dnx port range"; + } + enum "ipacl" { + value 60; + description + "ipacl"; + } + enum "ip6acl" { + value 61; + description + "ip6acl"; + } + enum "sched-tree" { + value 62; + description + "schedtree"; + } + enum "tmcos" { + value 63; + description + "tmcos"; + } + enum "statsagg" { + value 64; + description + "statsagg"; + } + enum "nhprotect" { + value 65; + description + "nhprotect"; + } + enum "sampler" { + value 66; + description + "sampler"; + } + enum "l2qos" { + value 67; + description + "l2qos"; + } + enum "peer-qos" { + value 68; + description + "peerqos"; + } + enum "ipqos" { + value 69; + description + "ipqos"; + } + enum "ip6qos" { + value 70; + description + "ip6qos"; + } + enum "mplsqos" { + value 71; + description + "mplsqos"; + } + enum "qosid" { + value 72; + description + "qosid"; + } + enum "extlif" { + value 73; + description + "extlif"; + } + enum "elif" { + value 74; + description + "elif"; + } + enum "ingaclstats" { + value 75; + description + "ingaclstats"; + } + enum "egraclstats" { + value 76; + description + "egraclstats"; + } + enum "edpl" { + value 77; + description + "edpl"; + } + enum "cfmmaid" { + value 78; + description + "cfmmaid"; + } + enum "cfmdefmps" { + value 79; + description + "cfmdefmps"; + } + enum "cfmofflmep" { + value 80; + description + "cfmofflmep"; + } + enum "cfmoffrmep" { + value 81; + description + "cfmoffrmep"; + } + enum "cfmnonoff" { + value 82; + description + "cfmnonoff"; + } + enum "cfmhwoffrxstats" { + value 83; + description + "cfmhwoffrxstats"; + } + enum "ipmc-route" { + value 84; + description + "ipmcroute"; + } + enum "l2ipmc-route" { + value 85; + description + "l2ipmcroute"; + } + enum "ipmco-list" { + value 86; + description + "ipmcolist"; + } + enum "l2mco-list" { + value 87; + description + "l2mcolist"; + } + enum "ipmc-merge-do-list" { + value 88; + description + "ipmcmergedolist"; + } + enum "sgfgid-list" { + value 89; + description + "sgfgidlist"; + } + enum "meshmc" { + value 90; + description + "meshmc"; + } + enum "l2-bridge" { + value 91; + description + "l2bridge"; + } + enum "l2-bridge-port" { + value 92; + description + "l2bridgeport"; + } + enum "l2-bridge-mac" { + value 93; + description + "l2bridgemac"; + } + enum "l2brmac" { + value 94; + description + "l2brmac"; + } + enum "ip-tunnel-decap" { + value 95; + description + "iptunneldecap"; + } + enum "l2vlan-range" { + value 96; + description + "l2vlanrange"; + } + enum "ip-tunnel-encap" { + value 97; + description + "iptunnelencap"; + } + enum "rawget" { + value 98; + description + "rawget"; + } + enum "ip6mc-route" { + value 99; + description + "ip6mcroute"; + } + enum "l2evpnact-remote-peer-id" { + value 100; + description + "l2evpnactremotepeerid"; + } + enum "l2evpnact-local-shl" { + value 101; + description + "l2evpnactlocalshl"; + } + enum "l2evpnact-remote-shl" { + value 102; + description + "l2evpnactremoteshl"; + } + enum "evpn-iml-range" { + value 103; + description + "evpn imlrange"; + } + enum "l2-bridge-o-list" { + value 104; + description + "l2bridgeolist"; + } + enum "l2acl" { + value 105; + description + "l2acl"; + } + enum "l2evpn-nh" { + value 106; + description + "l2evpn nh"; + } + enum "l2-bridge-port-sc" { + value 107; + description + "l2bridgeport sc"; + } + enum "l3intfmctxstats" { + value 108; + description + "l3intfmctxstats"; + } + enum "tidl-sample" { + value 109; + description + "tidl sample"; + } + enum "tidl-ref-sample" { + value 110; + description + "tidl ref sample"; + } + enum "ipacl-prefix" { + value 111; + description + "ipaclprefix"; + } + enum "ip6acl-prefix" { + value 112; + description + "ip6aclprefix"; + } + enum "ipacl-port" { + value 113; + description + "ipaclport"; + } + enum "scaleacl" { + value 114; + description + "scaleacl"; + } + enum "ipmcf-hop" { + value 115; + description + "ipmcfhop"; + } + enum "bundle-swoff" { + value 116; + description + "bundle swoff"; + } + enum "mcidswoff" { + value 117; + description + "mcidswoff"; + } + enum "dest-map" { + value 118; + description + "destmap"; + } + enum "l2-bridge-port-pw" { + value 119; + description + "l2bridgeport pw"; + } + enum "l2evpnact-local-shlstats" { + value 120; + description + "l2evpnactlocalshlstats"; + } + enum "test-hidden" { + value 121; + description + "testhidden"; + } + enum "test-local" { + value 122; + description + "testlocal"; + } + enum "test-repeated" { + value 123; + description + "testrepeated"; + } + enum "limd" { + value 124; + description + "limd"; + } + enum "litap" { + value 125; + description + "litap"; + } + enum "test-xtf" { + value 126; + description + "test xtf"; + } + enum "ipmcrxstats" { + value 127; + description + "ipmcrxstats"; + } + } + description + "Dpa table"; + } + + container dpa { + config false; + description + "Stats Data"; + container resources { + description + "DPA Resources Data"; + container nodes { + description + "DPA data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container table-datas { + description + "DPA Resources table"; + list table-data { + key "resource"; + description + "DPA Resources table"; + leaf resource { + type Dpa-table; + description + "Resource type"; + } + uses DPA-SYSDB-TABLE-RESOURCE; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + container stats { + description + "Voq or Trap Data"; + container nodes { + description + "DPA data for available nodes"; + list node { + key "node-name"; + description + "DPA operational data for a particular node"; + container asic-statistics { + description + "ASIC statistics table"; + container asic-statistics-for-npu-ids { + description + "ASIC statistics"; + list asic-statistics-for-npu-id { + key "npu-id"; + description + "ASIC statistics for a particular NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-BRIEF-INFO; + } + } + container asic-statistics-detail-for-npu-ids { + description + "Detailed ASIC statistics"; + list asic-statistics-detail-for-npu-id { + key "npu-id"; + description + "Detailed ASIC statistics for a particular + NPU"; + leaf npu-id { + type int32; + description + "NPU number"; + } + uses FIA-EDM-STATS-INFO; + } + } + } + container npu-numbers { + description + "Ingress Stats"; + list npu-number { + key "npu-id"; + description + "Stats for a particular npu"; + container display { + description + "show npu specific voq or trap stats"; + container base-numbers { + description + "Voq stats grouped by voq base numbers"; + list base-number { + key "base-number"; + description + "Voq Base Number for a particular voq"; + leaf base-number { + type Max-lc-intf-hand-les; + description + "Interface handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + container trap-ids { + description + "Trap stats for a particular npu"; + list trap-id { + key "trap-id"; + description + "Filter by specific trap id"; + leaf trap-id { + type Max-trap-s; + description + "Trap ID"; + } + uses DPA-TRAP-STATS; + } + } + container interface-handles { + description + "Voq stats grouped by interface handle"; + list interface-handle { + key "interface-handle"; + description + "Voq stats for a particular interface + handle"; + leaf interface-handle { + type Max-lc-intf-hand-les; + description + "Interface Handle"; + } + uses DPA-VOQ-INTF-PORT; + } + } + } + leaf npu-id { + type int32; + description + "Npu number"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang new file mode 100644 index 0000000..374cd40 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper-sub1.yang @@ -0,0 +1,49 @@ +submodule Cisco-IOS-XR-fretta-grid-svr-oper-sub1 { + belongs-to Cisco-IOS-XR-fretta-grid-svr-oper { + prefix Cisco-IOS-XR-fretta-grid-svr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR fretta-grid-svr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping GRID-SVR-SHOW-CLIENT-DATA { + description + "Client information and resource ID database"; + leaf res-id { + type uint32; + description + "Resource ID"; + } + } + + grouping GRID-SVR-SHOW-CLIENT { + description + "Client information"; + list client-data { + description + "Client information"; + uses GRID-SVR-SHOW-CLIENT-DATA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper.yang new file mode 100644 index 0000000..ec462ce --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-fretta-grid-svr-oper.yang @@ -0,0 +1,89 @@ +module Cisco-IOS-XR-fretta-grid-svr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-grid-svr-oper"; + prefix fretta-grid-svr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-fretta-grid-svr-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR fretta-grid-svr package operational data. + + This module contains definitions + for the following management objects: + grid: GRID operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container grid { + config false; + description + "GRID operational data"; + container nodes { + description + "Table of nodes"; + list node { + key "node-name"; + description + "Operational data for a particular node"; + container client-xr { + description + "GRID Client Table"; + list client { + key "client-name"; + description + "GRID Client Database"; + leaf client-name { + type xr:Cisco-ios-xr-string; + description + "Client name"; + } + uses GRID-SVR-SHOW-CLIENT; + } + } + container clients { + description + "GRID Client Consistency Check"; + list client { + key "client-name"; + description + "GRID Client Consistency Check"; + leaf client-name { + type xr:Cisco-ios-xr-string; + description + "Client name"; + } + uses GRID-SVR-SHOW-CLIENT; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-group-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-group-cfg.yang new file mode 100644 index 0000000..7877d25 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-group-cfg.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-group-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-group-cfg"; + prefix group-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 W Tasman Drive + San Jose, CA 95134 + + Tel: +1 1800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains IOS-XR group YANG data + for flexible cli groups + + Copyright (c) 2013-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-29 { + description + "Initial revision."; + } + + container groups { + description + "config groups"; + list group { + key "group-name"; + description + "Group config definition"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "0..32"; + } + description + "Group name"; + } + } + } + container apply-groups { + description + "apply groups"; + leaf apply-group { + type xr:Cisco-ios-xr-string; + description + "apply-group name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-cfg.yang new file mode 100644 index 0000000..23a4b24 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-cfg.yang @@ -0,0 +1,247 @@ +module Cisco-IOS-XR-ha-eem-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-cfg"; + prefix ha-eem-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ha-eem package configuration. + + This module contains definitions + for the following management objects: + event-manager: Event manager configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Event-manager-persist-time { + type uint32 { + range "0..4294967295"; + } + description + "Event manager persist time"; + } + + typedef Event-manager-checksum { + type enumeration { + enum "sha-1" { + value 1; + description + "Use SHA-1 checksum"; + } + enum "md5" { + value 2; + description + "Use MD5 checksum"; + } + } + description + "Event manager checksum"; + } + + typedef Event-manager-policy-sec { + type enumeration { + enum "rsa-2048" { + value 2; + description + "Cisco Signature"; + } + enum "trust" { + value 3; + description + "Trust Signature"; + } + } + description + "Event manager policy sec"; + } + + typedef Event-manager-policy-mode { + type enumeration { + enum "cisco" { + value 1; + description + "Cisco Signature"; + } + enum "trust" { + value 2; + description + "Trust Signature"; + } + } + description + "Event manager policy mode"; + } + + typedef Event-manager-policy { + type enumeration { + enum "system" { + value 0; + description + "Event manager system policy"; + } + enum "user" { + value 1; + description + "Event manager user policy"; + } + } + description + "Event manager policy"; + } + + container event-manager { + description + "Event manager configuration"; + container policies { + description + "Register an event manager policy"; + list policy { + key "policy-name"; + description + "Name of the policy file"; + leaf policy-name { + type xr:Cisco-ios-xr-string; + description + "Name of the policy file"; + } + leaf username { + type string; + mandatory true; + description + "A configured username"; + } + leaf persist-time { + type Event-manager-persist-time; + units "second"; + mandatory true; + description + "Time of validity (in seconds) for cached AAA + taskmap of username (default is 3600)"; + } + leaf policy-type { + type Event-manager-policy; + description + "Event manager type of this policy"; + } + leaf checksum-type { + type Event-manager-checksum; + description + "Specify Embedded Event Manager policy checksum"; + } + leaf check-sum-value { + type string; + description + "CheckSum Value"; + } + leaf policy-security-mode { + type Event-manager-policy-mode; + description + "Specify Embedded Event Manager policy security + mode"; + } + leaf policy-security-level { + type Event-manager-policy-sec; + description + "Event Manager policy security Level"; + } + } + } + container scheduler-script { + description + "scheduler classs type"; + container thread-classes { + description + "scheduler thread classs "; + list thread-class { + key "thread-class-name"; + description + "scheduler classs type argument"; + leaf thread-class-name { + type xr:Cisco-ios-xr-string; + description + "Name of the global variable"; + } + leaf num-threads { + type uint32 { + range "1..5"; + } + mandatory true; + description + "number of scheduler threads"; + } + } + } + } + container environments { + description + "Set an event manager global variable for event + manager policies"; + list environment { + key "environment-name"; + description + "Name of the global variable"; + leaf environment-name { + type xr:Cisco-ios-xr-string; + description + "Name of the global variable"; + } + leaf environment-value { + type string; + mandatory true; + description + "Value of the global variable"; + } + } + } + leaf refresh-time { + type uint32 { + range "10..4294967295"; + } + units "second"; + default "1800"; + description + "Set refresh time (in seconds) for policy + username's AAA taskmap"; + } + leaf schedule-suspend { + type boolean; + description + "Enable suspend policy scheduling"; + } + leaf directory-user-policy { + type string; + description + "Set event manager user policy directory"; + } + leaf directory-user-library { + type string; + description + "Path of the user policy library directory"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang new file mode 100644 index 0000000..178c4fc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper-sub1.yang @@ -0,0 +1,143 @@ +submodule Cisco-IOS-XR-ha-eem-policy-oper-sub1 { + belongs-to Cisco-IOS-XR-ha-eem-policy-oper { + prefix Cisco-IOS-XR-ha-eem-policy-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ha-eem-policy package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-05 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping EEM-POLICY { + description + "Event manager policy availabe"; + leaf type { + type string; + description + "policy type"; + } + leaf time-created { + type string; + description + "time created"; + } + leaf policy-name { + type string; + description + "policy name"; + } + } + + grouping EEM-POLICY-REG { + description + "Event manager policy Registered"; + leaf type { + type string; + description + "policy type"; + } + leaf time-created { + type string; + description + "time created"; + } + leaf policy-name { + type string; + description + "policy name"; + } + leaf class { + type string; + description + "class"; + } + leaf event-type { + type string; + description + "event type"; + } + leaf trap { + type string; + description + "trap"; + } + leaf persist-time { + type uint32; + description + "PersistTime "; + } + leaf username { + type string; + description + "username"; + } + leaf description { + type string; + description + "description"; + } + } + + grouping EEM-REFRESH-TIME { + description + "Event manager refresh-time"; + leaf refreshtime { + type uint32; + description + "Event manager refresh-time "; + } + } + + grouping EEM-ENV { + description + "Event manager environmental"; + leaf name-xr { + type string; + description + "variable name"; + } + leaf value { + type string; + description + "value"; + } + } + + grouping EEM-DIR-USR { + description + "Event manager directory user"; + leaf policy { + type string; + description + "policy"; + } + leaf library { + type string; + description + "library"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper.yang new file mode 100644 index 0000000..903d91e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ha-eem-policy-oper.yang @@ -0,0 +1,113 @@ +module Cisco-IOS-XR-ha-eem-policy-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ha-eem-policy-oper"; + prefix ha-eem-policy-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ha-eem-policy-oper-sub1 { + revision-date 2016-02-05; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ha-eem-policy package operational data. + + This module contains definitions + for the following management objects: + eem: EEM operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-05 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container eem { + config false; + description + "EEM operational data"; + container dir-user { + description + "directory user"; + container library { + description + "directory user library"; + uses EEM-DIR-USR; + } + container policy { + description + "directory user policy"; + uses EEM-DIR-USR; + } + } + container env-variables { + description + "list of environmental variables"; + list env-variable { + key "name"; + description + "environmental variables name and value "; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Environmental variable name"; + } + uses EEM-ENV; + } + } + container refresh-time { + description + "Refresh time"; + uses EEM-REFRESH-TIME; + } + container reg-policies { + description + "list the registered policies"; + list reg-policy { + key "name"; + description + "policy name and create time "; + leaf name { + type xr:Cisco-ios-xr-string; + description + "policy name"; + } + uses EEM-POLICY-REG; + } + } + container avl-policies { + description + "list the available policies"; + list avl-policy { + key "name"; + description + "policy name and create time "; + leaf name { + type xr:Cisco-ios-xr-string; + description + "System policy name"; + } + uses EEM-POLICY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-hwmod-mpa-reload-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-hwmod-mpa-reload-act.yang new file mode 100644 index 0000000..00653a7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-hwmod-mpa-reload-act.yang @@ -0,0 +1,45 @@ +module Cisco-IOS-XR-hwmod-mpa-reload-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-hwmod-mpa-reload-act"; + prefix hwmod-mpa-reload-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR MPA reload action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-30 { + description + "IOS XR 6.2.1 revision."; + } + + rpc hw-module-subslot { + description + "Execute subslot h/w module operations"; + input { + leaf subslot { + type string; + description + "Fully qualified location specification"; + } + leaf reload { + type empty; + description + "Cycle subslot h/w reset"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-cfg.yang new file mode 100644 index 0000000..72c2c48 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-cfg.yang @@ -0,0 +1,421 @@ +module Cisco-IOS-XR-icpe-infra-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg"; + prefix icpe-infra-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-rgmgr-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package configuration. + + This module contains definitions + for the following management objects: + nv-satellite-global: nV Satellite Global configuration + nv-satellites: nv satellites + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-rgmgr-cfg, + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-sat-id { + type uint32 { + range "100..65534"; + } + description + "Icpe sat id"; + } + + typedef Icpe-slot { + type uint32 { + range "0..8"; + } + description + "Icpe slot"; + } + + typedef Icpe-min-links { + type uint32 { + range "1..64"; + } + description + "Icpe min links"; + } + + typedef Icpe-subslot { + type uint32 { + range "0..8"; + } + description + "Icpe subslot"; + } + + grouping ENABLE { + description + "Common node of nv-satellite-fabric-network, + satellites"; + leaf enable { + type empty; + description + "Enable"; + } + } + + grouping REMOTE-PORTS-TABLE { + description + "Common node of nv-satellite-fabric-link, + satellites"; + container remote-ports { + description + "Remote Ports table"; + list remote-port { + key "port-type slot sub-slot"; + description + "Remote Ports"; + leaf port-type { + type xr:Cisco-ios-xr-string; + description + "Port type"; + } + leaf slot { + type Icpe-slot; + description + "Slot"; + } + leaf sub-slot { + type Icpe-subslot; + description + "Sub slot"; + } + leaf port-range { + type string; + mandatory true; + description + "Port range"; + } + } + } + } + + grouping REDUNDANCY { + description + "Common node of nv-satellite-fabric-link, + nv-satellite-fabric-network"; + container redundancy { + description + "Redundancy submode"; + leaf iccp-group { + type uint32 { + range "0..4294967295"; + } + description + "Links the satellite fabric to the given ICCP + group"; + } + leaf minimum-preferred-links { + type Icpe-min-links; + description + "Mininum number of active links preferred"; + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container nv-satellite-access { + description + "nV Satellite Access Link Configuration"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container nv-satellite-fabric-link { + description + "nV Satellite Fabric Link Configuration"; + leaf satellite { + type Icpe-sat-id; + description + "Hub & Spoke connection to a single Satellite"; + } + leaf minimum-required-links { + type Icpe-min-links; + description + "Mininum number of active links required"; + } + uses REDUNDANCY; + uses REMOTE-PORTS-TABLE; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container nv-satellite-fabric-network { + description + "Complex Network connection to one or more + Satellites"; + container satellites { + description + "Connected Satellite table"; + list satellite { + key "satellite-id"; + description + "Connected Satellite"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses REMOTE-PORTS-TABLE; + uses ENABLE; + } + } + uses REDUNDANCY; + uses ENABLE; + } + } + augment "/a2:redundancy-group-manager/a2:iccp/a2:iccp-groups/a2:iccp-group" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-rgmgr-cfg'"; + container nv-satellite { + description + "nV Satellite configuration"; + leaf system-mac { + type yang:mac-address; + description + "Optional identifier for this system"; + } + } + } + container nv-satellite-global { + description + "nV Satellite Global configuration"; + container chassis-mac { + description + "Chassis MAC address"; + leaf mac1 { + type uint32 { + range "0..2147483647"; + } + units "byte"; + description + "First two bytes of MAC address"; + } + leaf mac2 { + type uint32 { + range "0..2147483647"; + } + units "byte"; + description + "Second two bytes of MAC address"; + } + leaf mac3 { + type uint32 { + range "0..2147483647"; + } + units "byte"; + description + "Third two bytes of MAC address"; + } + } + } + container nv-satellites { + description + "nv satellites"; + list nv-satellite { + key "satellite-id"; + description + "Satellite Configuration"; + container upgrade-on-connect { + description + "Satellite auto-upgrade capability"; + leaf connect-type { + type enumeration { + enum "on-connection" { + value 1; + description + "Satellite Upgrade on Connection"; + } + enum "on-first-connection" { + value 2; + description + "Satellite Upgrade on First Connection after + configuration or host boot"; + } + } + description + "When to upgrade the satellite"; + } + leaf reference { + type string; + description + "Reference name"; + } + } + container candidate-fabric-ports { + description + "Enable interfaces on the satellite to be used + as fabric ports table"; + list candidate-fabric-port { + key "port-type slot sub-slot"; + description + "Enable interfaces on the satellite to be used + as fabric ports"; + leaf port-type { + type xr:Cisco-ios-xr-string; + description + "Port type"; + } + leaf slot { + type Icpe-slot; + description + "Slot"; + } + leaf sub-slot { + type Icpe-subslot; + description + "Sub slot"; + } + leaf port-range { + type string; + mandatory true; + description + "Port range"; + } + } + } + container connection-info { + description + "Satellite User"; + leaf username { + type string; + description + "Satellite Username"; + } + leaf password { + type xr:Md5-password; + description + "Encrypted password for the user"; + } + } + container redundancy { + description + "Redundancy submode"; + leaf host-priority { + type uint32 { + range "0..255"; + } + description + "Priority for this host for the given satellite"; + } + } + leaf vrf { + type string; + description + "VRF for Satellite IP Address"; + } + leaf timeout-warning { + type uint32 { + range "0..4294967295"; + } + description + "Discovery timeout warning for the satellite"; + } + leaf device-name { + type string; + description + "Satellite Name"; + } + leaf description { + type string; + description + "Satellite Description"; + } + leaf type { + type string; + description + "Satellite Type"; + } + leaf enable { + type empty; + description + "Enable"; + } + leaf disc-timeout { + type uint32 { + range "0..4294967295"; + } + description + "Discovery timeout for the satellite"; + } + leaf delayed-switchback { + type uint32 { + range "0..4294967295"; + } + units "second"; + description + "Timer (in seconds) for delaying switchback in a + dual home setup"; + } + leaf serial-number { + type string; + description + "Satellite Serial Number"; + } + leaf secret { + type xr:Md5-password; + description + "Encrypted password for the Satellite"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "Satellite IP Address"; + } + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub1.yang new file mode 100644 index 0000000..034565d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub1.yang @@ -0,0 +1,138 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub1 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-INSTALL-OP-STATUS-DETAIL { + description + "Detailed breakdown of install status"; + leaf operation-id-xr { + type uint32; + description + "Operation ID"; + } + leaf satellite-range { + type Xr-yang-string; + description + "Satellite range"; + } + leaf-list sats-not-initiated { + type uint16; + description + "Sats not initiated"; + } + leaf-list sats-transferring { + type uint16; + description + "Sats transferring"; + } + leaf-list sats-activating { + type uint16; + description + "Sats activating"; + } + leaf-list sats-updating { + type uint16; + description + "Sats updating"; + } + leaf-list sats-deactivating { + type uint16; + description + "Sats deactivating"; + } + leaf-list sats-removing { + type uint16; + description + "Sats removing"; + } + leaf-list sats-transfer-failed { + type uint16; + description + "Sats transfer failed"; + } + leaf-list sats-activate-failed { + type uint16; + description + "Sats activate failed"; + } + leaf-list sats-update-failed { + type uint16; + description + "Sats update failed"; + } + leaf-list sats-deactivate-failed { + type uint16; + description + "Sats deactivate failed"; + } + leaf-list sats-remove-failed { + type uint16; + description + "Sats remove failed"; + } + leaf-list sats-transfer-aborted { + type uint16; + description + "Sats transfer aborted"; + } + leaf-list sats-activate-aborted { + type uint16; + description + "Sats activate aborted"; + } + leaf-list sats-update-aborted { + type uint16; + description + "Sats update aborted"; + } + leaf-list sats-deactivate-aborted { + type uint16; + description + "Sats deactivate aborted"; + } + leaf-list sats-remove-aborted { + type uint16; + description + "Sats remove aborted"; + } + leaf-list sats-no-operation { + type uint16; + description + "Sats no operation"; + } + leaf-list sats-completed { + type uint16; + description + "Sats completed"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub10.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub10.yang new file mode 100644 index 0000000..1d2e78c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub10.yang @@ -0,0 +1,290 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub10 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-install-sat-state { + type enumeration { + enum "icpe-install-sat-state-unknown" { + description + "Unknown"; + } + enum "icpe-install-sat-state-not-initiat-ed" { + description + "Not initiated"; + } + enum "icpe-install-sat-state-transferring" { + description + "Transferring"; + } + enum "icpe-install-sat-state-activating" { + description + "Activating"; + } + enum "icpe-install-sat-state-updating" { + description + "Updating"; + } + enum "icpe-install-sat-state-deactivating" { + description + "Deactivating"; + } + enum "icpe-install-sat-state-removing" { + description + "Removing"; + } + enum "icpe-install-sat-state-success" { + description + "Success"; + } + enum "icpe-install-sat-state-failure" { + description + "Failure"; + } + enum "icpe-install-sat-state-multiple-ops" { + description + "Multiple ops"; + } + enum "icpe-install-sat-state-aborted" { + description + "Aborted"; + } + enum "icpe-install-sat-state-protocol-version" { + description + "Protocol version"; + } + enum "icpe-install-sat-state-pkg-not-present" { + description + "Pkg not present"; + } + enum "icpe-install-sat-state-no-image" { + description + "No image"; + } + enum "icpe-install-sat-state-no-such-file" { + description + "No such file"; + } + enum "icpe-install-sat-state-sat-uncfgd" { + description + "Sat uncfgd"; + } + enum "icpe-install-sat-state-processing" { + description + "Processing"; + } + } + description + "Icpe install sat state"; + } + + grouping ICPE-INSTALL-SHOW-DETAIL-SATELLITE-TYPE { + description + "ICPE INSTALL SHOW DETAIL SATELLITE TYPE"; + leaf satellite-id { + type uint16; + description + "Satellite ID"; + } + leaf state { + type Icpe-install-sat-state; + description + "State"; + } + leaf percentage { + type uint16; + units "percentage"; + description + "Percentage"; + } + leaf retries { + type uint16; + description + "Retries"; + } + leaf start-time { + type uint32; + description + "Start time"; + } + leaf end-time { + type uint32; + description + "End time"; + } + leaf info { + type Xr-yang-string; + description + "Info"; + } + } + + grouping ICPE-INSTALL-SHOW-DETAIL-TYPE { + description + "Detailed breakdown of install status"; + leaf operation-id-xr { + type uint32; + description + "Operation ID"; + } + leaf satellite-range { + type Xr-yang-string; + description + "Satellite range"; + } + leaf operation-type { + type uint16; + description + "Operation type"; + } + leaf progress-percentage { + type uint16; + units "percentage"; + description + "Progress percentage"; + } + leaf start-time { + type uint32; + description + "Start time"; + } + leaf end-time { + type uint32; + description + "End time"; + } + leaf ref-state { + type Icpe-install-sat-state; + description + "Ref state"; + } + leaf-list sats-not-initiated { + type uint16; + description + "Sats not initiated"; + } + leaf-list sats-transferring { + type uint16; + description + "Sats transferring"; + } + leaf-list sats-activating { + type uint16; + description + "Sats activating"; + } + leaf-list sats-updating { + type uint16; + description + "Sats updating"; + } + leaf-list sats-deactivating { + type uint16; + description + "Sats deactivating"; + } + leaf-list sats-removing { + type uint16; + description + "Sats removing"; + } + leaf-list sats-transfer-failed { + type uint16; + description + "Sats transfer failed"; + } + leaf-list sats-activate-failed { + type uint16; + description + "Sats activate failed"; + } + leaf-list sats-update-failed { + type uint16; + description + "Sats update failed"; + } + leaf-list sats-deactivate-failed { + type uint16; + description + "Sats deactivate failed"; + } + leaf-list sats-remove-failed { + type uint16; + description + "Sats remove failed"; + } + leaf-list sats-transfer-aborted { + type uint16; + description + "Sats transfer aborted"; + } + leaf-list sats-activate-aborted { + type uint16; + description + "Sats activate aborted"; + } + leaf-list sats-update-aborted { + type uint16; + description + "Sats update aborted"; + } + leaf-list sats-deactivate-aborted { + type uint16; + description + "Sats deactivate aborted"; + } + leaf-list sats-remove-aborted { + type uint16; + description + "Sats remove aborted"; + } + leaf-list sats-no-operation { + type uint16; + description + "Sats no operation"; + } + leaf-list sats-completed { + type uint16; + description + "Sats completed"; + } + leaf-list name-string { + type Xr-yang-string; + description + "Name strings"; + } + list satellite { + description + "Breakdown per satellite table"; + uses ICPE-INSTALL-SHOW-DETAIL-SATELLITE-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub11.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub11.yang new file mode 100644 index 0000000..192de60 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub11.yang @@ -0,0 +1,358 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub11 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + import ietf-yang-types { + prefix yang; + } + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-opm-resync-fsm-state { + type enumeration { + enum "icpe-opm-resync-fsm-state-not-open" { + description + "Not open"; + } + enum "icpe-opm-resync-fsm-state-stable" { + description + "Stable"; + } + enum "icpe-opm-resync-fsm-state-in-resync" { + description + "In resync"; + } + enum "icpe-opm-resync-fsm-state-queued" { + description + "Queued"; + } + enum "icpe-opm-resync-fsm-state-resync-req" { + description + "Resync req"; + } + } + description + "Icpe opm resync fsm state"; + } + + typedef Icpe-opm-chan-fsm-state { + type enumeration { + enum "icpe-opm-chan-fsm-state-down" { + description + "Down"; + } + enum "icpe-opm-chan-fsm-state-closed" { + description + "Closed"; + } + enum "icpe-opm-chan-fsm-state-opening" { + description + "Opening"; + } + enum "icpe-opm-chan-fsm-state-opened" { + description + "Opened"; + } + enum "icpe-opm-chan-fsm-state-open" { + description + "Open"; + } + } + description + "Icpe opm chan fsm state"; + } + + typedef Icpe-opm-controller { + type enumeration { + enum "icpe-opm-controller-unknown" { + description + "Unknown"; + } + enum "icpe-opm-controller-primary" { + description + "Primary"; + } + enum "icpe-opm-controller-secondary" { + description + "Secondary"; + } + } + description + "Icpe opm controller"; + } + + typedef Icpe-opm-sync-fsm-state { + type enumeration { + enum "icpe-opm-sync-fsm-state-split-brain" { + description + "Split brain"; + } + enum "icpe-opm-sync-fsm-state-waiting" { + description + "Waiting"; + } + enum "icpe-opm-sync-fsm-state-whole-brain" { + description + "Whole brain"; + } + } + description + "Icpe opm sync fsm state"; + } + + typedef Icpe-opm-arbitration-fsm-state { + type enumeration { + enum "icpe-opm-arbitration-fsm-state-unarbitrated" { + description + "Unarbitrated"; + } + enum "icpe-opm-arbitration-fsm-state-waiting" { + description + "Waiting"; + } + enum "icpe-opm-arbitration-fsm-state-arbitrating" { + description + "Arbitrating"; + } + enum "icpe-opm-arbitration-fsm-state-arbitrated" { + description + "Arbitrated"; + } + } + description + "Icpe opm arbitration fsm state"; + } + + typedef Icpe-opm-auth-fsm-state { + type enumeration { + enum "icpe-opm-auth-fsm-state-unauth" { + description + "Unauth"; + } + enum "icpe-opm-auth-fsm-state-waiting" { + description + "Waiting"; + } + enum "icpe-opm-auth-fsm-state-waiting-for-auth" { + description + "Waiting for auth"; + } + enum "icpe-opm-auth-fsm-state-waiting-for-reply" { + description + "Waiting for reply"; + } + enum "icpe-opm-auth-fsm-state-authed" { + description + "Authed"; + } + } + description + "Icpe opm auth fsm state"; + } + + typedef Icpe-opm-transport-state { + type enumeration { + enum "icpe-opm-transport-state-disconnected" { + description + "Disconnected"; + } + enum "icpe-opm-transport-state-iccp-unavailable" { + description + "ICCP unavailable"; + } + enum "icpe-opm-transport-state-no-member-present" { + description + "No member present"; + } + enum "icpe-opm-transport-state-member-down" { + description + "Member down"; + } + enum "icpe-opm-transport-state-member-not-reachable" { + description + "Member not reachable"; + } + enum "icpe-opm-transport-state-waiting-for-app-connect" { + description + "Waiting for app connect"; + } + enum "icpe-opm-transport-state-waiting-for-app-connect-response" { + description + "Waiting for app connect response"; + } + enum "icpe-opm-transport-state-connected" { + description + "Connected"; + } + } + description + "Icpe opm transport state"; + } + + typedef Icpe-opm-sess-state { + type enumeration { + enum "icpe-opm-sess-state-disconnected" { + description + "Disconnected"; + } + enum "icpe-opm-sess-state-connecting" { + description + "Connecting"; + } + enum "icpe-opm-sess-state-authenticating" { + description + "Authenticating"; + } + enum "icpe-opm-sess-state-arbitrating" { + description + "Arbitrating"; + } + enum "icpe-opm-sess-state-waiting-for-resyncs" { + description + "Waiting for resyncs"; + } + enum "icpe-opm-sess-state-connected" { + description + "Connected"; + } + } + description + "Icpe opm sess state"; + } + + grouping ICPE-REDUNDANCY-CHAN-TYPE { + description + "ICPE REDUNDANCY CHAN TYPE"; + container channel-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + container resync-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + leaf channel-id { + type uint32; + description + "Channel ID"; + } + leaf chan-state { + type Icpe-opm-chan-fsm-state; + description + "Chan state"; + } + leaf resync-state { + type Icpe-opm-resync-fsm-state; + description + "Resync state"; + } + leaf control-messages-sent { + type uint64; + description + "Control messages sent"; + } + leaf normal-messages-sent { + type uint64; + description + "Normal messages sent"; + } + leaf control-messages-received { + type uint64; + description + "Control messages received"; + } + leaf normal-messages-received { + type uint64; + description + "Normal messages received"; + } + } + + grouping ICPE-REDUNDANCY-SESSION { + description + "nV Satellite Redundancy Protocol Information"; + container protocol-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + leaf iccp-group-xr { + type uint32; + description + "ICCP group"; + } + leaf protocol-state { + type Icpe-opm-sess-state; + description + "Protocol state"; + } + leaf transport-state { + type Icpe-opm-transport-state; + description + "Transport state"; + } + leaf authentication-state { + type Icpe-opm-auth-fsm-state; + description + "Authentication state"; + } + leaf arbitration-state { + type Icpe-opm-arbitration-fsm-state; + description + "Arbitration state"; + } + leaf synchronization-state { + type Icpe-opm-sync-fsm-state; + description + "Synchronization state"; + } + leaf primacy { + type Icpe-opm-controller; + description + "Primacy"; + } + leaf system-mac { + type yang:mac-address; + description + "System MAC"; + } + leaf isolated { + type boolean; + description + "Isolated"; + } + list channel { + description + "Channels on this session table"; + uses ICPE-REDUNDANCY-CHAN-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub12.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub12.yang new file mode 100644 index 0000000..a12abdf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub12.yang @@ -0,0 +1,68 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub12 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-RELOAD-OP-STATUS-DETAIL { + description + "Detailed breakdown of reload status"; + leaf operation-id-xr { + type uint32; + description + "Operation ID"; + } + leaf satellite-range { + type Xr-yang-string; + description + "Satellite range"; + } + leaf-list sats-not-initiated { + type uint16; + description + "Sats not initiated"; + } + leaf-list sats-reloading { + type uint16; + description + "Sats reloading"; + } + leaf-list sats-reloaded { + type uint16; + description + "Sats reloaded"; + } + leaf-list sats-reload-failed { + type uint16; + description + "Sats reload failed"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub2.yang new file mode 100644 index 0000000..d7eb3f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub2.yang @@ -0,0 +1,72 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub2 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-install-pkg-supp { + type enumeration { + enum "icpe-install-pkg-supp-unknown" { + description + "Unknown"; + } + enum "icpe-install-pkg-supp-not-supported" { + description + "Not supported"; + } + enum "icpe-install-pkg-supp-supported" { + description + "Supported"; + } + } + description + "Icpe install pkg supp"; + } + + grouping ICPE-OPER-SAT-PACKAGE-INFORMATION-TYPE { + description + "Satellite Software Package Information"; + container install-package-info { + description + "Package Data on this Satellite"; + uses ICPE-OPER-PACKAGE-INFO-TYPE; + } + leaf satellite-id-xr { + type uint16; + description + "Satellite ID"; + } + leaf package-support { + type Icpe-install-pkg-supp; + description + "Package support"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub3.yang new file mode 100644 index 0000000..2294d32 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub3.yang @@ -0,0 +1,965 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub3 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-oper-multichassis-redundancy { + type enumeration { + enum "icpe-oper-multi-chassis-redundancy-not-redundant" { + description + "Not redundant"; + } + enum "icpe-oper-multi-chassis-redundancy-active" { + description + "Active"; + } + enum "icpe-oper-multi-chassis-redundancy-standby" { + description + "Standby"; + } + } + description + "Icpe oper multichassis redundancy"; + } + + typedef Icpe-oper-discd-link-state { + type enumeration { + enum "icpe-oper-discd-link-state-stopped" { + description + "Stopped"; + } + enum "icpe-oper-discd-link-state-probing" { + description + "Probing"; + } + enum "icpe-oper-discd-link-state-configuring" { + description + "Configuring"; + } + enum "icpe-oper-discd-link-state-ready" { + description + "Ready"; + } + } + description + "Icpe oper discd link state"; + } + + typedef Icpe-oper-port { + type enumeration { + enum "icpe-oper-port-unknown" { + description + "Unknown"; + } + enum "icpe-oper-port-gigabit-ethernet" { + description + "Gigabit ethernet"; + } + enum "icpe-oper-port-ten-gig-e" { + description + "Ten gig e"; + } + } + description + "Icpe oper port"; + } + + typedef Icpe-oper-install-state { + type enumeration { + enum "icpe-oper-install-state-stable" { + description + "Stable"; + } + enum "icpe-oper-install-state-transferring" { + description + "Transferring"; + } + enum "icpe-oper-install-state-transferred" { + description + "Transferred"; + } + enum "icpe-oper-install-state-installing" { + description + "Installing"; + } + enum "icpe-oper-install-state-in-progress" { + description + "In progress"; + } + } + description + "Icpe oper install state"; + } + + typedef Icpe-gco-oper-control-reason { + type enumeration { + enum "icpe-gco-oper-control-reason-unknown-error" { + description + "Unknown error"; + } + enum "icpe-gco-oper-control-reason-wrong-chassis-type" { + description + "Wrong chassis type"; + } + enum "icpe-gco-oper-control-reason-wrong-chassis-serial" { + description + "Wrong chassis serial"; + } + enum "icpe-gco-oper-control-reason-needs-to-upgrade" { + description + "Needs to upgrade"; + } + enum "icpe-gco-oper-control-reason-none" { + description + "None"; + } + } + description + "Icpe gco oper control reason"; + } + + typedef Icpe-oper-sdacp-sess-state { + type enumeration { + enum "icpe-oper-sdacp-sess-state-not-created" { + description + "Not created"; + } + enum "icpe-oper-sdacp-sess-state-created" { + description + "Created"; + } + enum "icpe-oper-sdacp-sess-state-authentication-not-ok" { + description + "Authentication not OK"; + } + enum "icpe-oper-sdacp-sess-state-authentication-ok" { + description + "Authentication OK"; + } + enum "icpe-oper-sdacp-sess-state-version-not-ok" { + description + "Version not OK"; + } + enum "icpe-oper-sdacp-sess-state-up" { + description + "Up"; + } + enum "icpe-oper-sdacp-sess-state-issu" { + description + "ISSU"; + } + } + description + "Icpe oper sdacp sess state"; + } + + typedef Icpe-oper-conflict { + type enumeration { + enum "icpe-oper-conflict-not-calculated" { + description + "Not calculated"; + } + enum "icpe-oper-conflict-no-conflict" { + description + "No conflict"; + } + enum "icpe-oper-conflict-satellite-not-configured" { + description + "Satellite not configured"; + } + enum "icpe-oper-conflict-satellite-no-type" { + description + "Satellite no type"; + } + enum "icpe-oper-conflict-satellite-id-invalid" { + description + "Satellite id invalid"; + } + enum "icpe-oper-conflict-satellite-no-ipv4-addr" { + description + "Satellite no ipv4 addr"; + } + enum "icpe-oper-conflict-satellite-conflicting-ipv4-addr" { + description + "Satellite conflicting ipv4 addr"; + } + enum "icpe-oper-conflict-no-configured-links" { + description + "No configured links"; + } + enum "icpe-oper-conflict-no-discovered-links" { + description + "No discovered links"; + } + enum "icpe-oper-conflict-invalid-ports" { + description + "Invalid ports"; + } + enum "icpe-oper-conflict-ports-overlap" { + description + "Ports overlap"; + } + enum "icpe-oper-conflict-waiting-for-ipv4-addr" { + description + "Waiting for ipv4 addr"; + } + enum "icpe-oper-conflict-waiting-for-vrf" { + description + "Waiting for VRF"; + } + enum "icpe-oper-conflict-different-ipv4-addr" { + description + "Different ipv4 addr"; + } + enum "icpe-oper-conflict-different-vrf" { + description + "Different VRF"; + } + enum "icpe-oper-conflict-satellite-link-ipv4-overlap" { + description + "Satellite link ipv4 overlap"; + } + enum "icpe-oper-conflict-waiting-for-ident" { + description + "Waiting for ident"; + } + enum "icpe-oper-conflict-multiple-ids" { + description + "Multiple ids"; + } + enum "icpe-oper-conflict-multiple-satellites" { + description + "Multiple satellites"; + } + enum "icpe-oper-conflict-ident-rejected" { + description + "Ident rejected"; + } + enum "icpe-oper-conflict-interface-down" { + description + "Interface down"; + } + enum "icpe-oper-conflict-auto-ip-unavailable" { + description + "Auto IP unavailable"; + } + enum "icpe-oper-conflict-satellite-auto-ip-link-manual-ip" { + description + "Satellite auto IP link manual IP"; + } + enum "icpe-oper-conflict-link-auto-ip-satellite-manual-ip" { + description + "Link auto IP satellite manual IP"; + } + enum "icpe-oper-conflict-serial-num-mismatch" { + description + "Serial num mismatch"; + } + enum "icpe-oper-conflict-satellite-not-identified" { + description + "Satellite not identified"; + } + enum "icpe-oper-conflict-satellite-unsupported-type" { + description + "Satellite unsupported type"; + } + enum "icpe-oper-conflict-satellite-partition-unsupported" { + description + "Satellite partition unsupported"; + } + enum "icpe-oper-conflict-satellite-no-serial-number" { + description + "Satellite no serial number"; + } + enum "icpe-oper-conflict-satellite-conflicting-serial-number" { + description + "Satellite conflicting serial number"; + } + enum "icpe-oper-conflict-satellite-link-waiting-for-arp" { + description + "Satellite link waiting for arp"; + } + enum "icpe-oper-conflict-host-pe-isolated-split-brain" { + description + "Host PE isolated split brain"; + } + enum "icpe-oper-conflict-fabric-iccp-group-inconsistent" { + description + "Fabric ICCP group inconsistent"; + } + enum "icpe-oper-conflict-invalid-iccp-group" { + description + "Invalid ICCP group"; + } + enum "icpe-oper-conflict-port-rejected" { + description + "Port rejected"; + } + enum "icpe-oper-conflict-satellite-icl-not-supported" { + description + "Satellite ICL not supported"; + } + enum "icpe-oper-conflict-multiple-serial-number" { + description + "Multiple serial number"; + } + enum "icpe-oper-conflict-multiple-mac-address" { + description + "Multiple MAC address"; + } + } + description + "Icpe oper conflict"; + } + + typedef Icpe-optical-sync-state { + type enumeration { + enum "icpe-optical-sync-state-unknown" { + description + "Unknown"; + } + enum "icpe-optical-sync-state-syncing" { + description + "Syncing"; + } + enum "icpe-optical-sync-state-synced" { + description + "Synced"; + } + enum "icpe-optical-sync-state-not-connected" { + description + "Not connected"; + } + } + description + "Icpe optical sync state"; + } + + typedef Icpe-oper-ver-check-state { + type enumeration { + enum "icpe-oper-ver-check-state-unknown" { + description + "Unknown"; + } + enum "icpe-oper-ver-check-state-not-compatible" { + description + "Not compatible"; + } + enum "icpe-oper-ver-check-state-current-version" { + description + "Current version"; + } + enum "icpe-oper-ver-check-state-compatible-older" { + description + "Compatible older"; + } + enum "icpe-oper-ver-check-state-compatible-newer" { + description + "Compatible newer"; + } + } + description + "Icpe oper ver check state"; + } + + typedef Icpe-oper-fabric-port { + type enumeration { + enum "icpe-oper-fabric-port-unknown" { + description + "Unknown"; + } + enum "icpe-oper-fabric-port-n-v-fabric-gig-e" { + description + "n v fabric- gig e"; + } + enum "icpe-oper-fabric-port-n-v-fabric-ten-gig-e" { + description + "n v fabric- ten gig e"; + } + enum "icpe-oper-fabric-port-n-v-fabric-hundred-gig-e" { + description + "n v fabric- hundred gig e"; + } + } + description + "Icpe oper fabric port"; + } + + typedef Xr-yang-string { + type string; + description + "Xr yang string"; + } + + grouping ICPE-OPER-PACKAGE-ITEM-TYPE { + description + "ICPE OPER PACKAGE ITEM TYPE"; + leaf name { + type Xr-yang-string; + description + "Name"; + } + leaf version { + type Xr-yang-string; + description + "Version"; + } + leaf is-base-image { + type boolean; + description + "Is base image"; + } + } + + grouping ICPE-OPER-PACKAGE-LIST-TYPE { + description + "ICPE OPER PACKAGE LIST TYPE"; + list package { + description + "A package on this Satellite table"; + uses ICPE-OPER-PACKAGE-ITEM-TYPE; + } + } + + grouping ICPE-OPER-PACKAGE-INFO-TYPE { + description + "ICPE OPER PACKAGE INFO TYPE"; + container active-packages { + description + "Active Packages running on this Satellite"; + uses ICPE-OPER-PACKAGE-LIST-TYPE; + } + container inactive-packages { + description + "Inactive Packages on this Satellite"; + uses ICPE-OPER-PACKAGE-LIST-TYPE; + } + container committed-packages { + description + "Committed Packages running on this Satellite"; + uses ICPE-OPER-PACKAGE-LIST-TYPE; + } + } + + grouping ICPE-OPER-DISCD-LINK-TYPE { + description + "ICPE OPER DISCD LINK TYPE"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf state { + type Icpe-oper-discd-link-state; + description + "State"; + } + leaf conflict-reason { + type Icpe-oper-conflict; + description + "Conflict reason"; + } + leaf conflict-context { + type Xr-yang-string; + description + "Conflict context"; + } + } + + grouping ICPE-OPER-PORT-RANGE-TYPE { + description + "ICPE OPER PORT RANGE TYPE"; + leaf slot { + type uint32; + description + "Slot"; + } + leaf subslot { + type uint32; + description + "Subslot"; + } + leaf low-port { + type uint32; + description + "Low port"; + } + leaf high-port { + type uint32; + description + "High port"; + } + leaf port-type { + type Icpe-oper-port; + description + "Port type"; + } + leaf conflict-reason { + type Icpe-oper-conflict; + description + "Conflict reason"; + } + leaf conflict-context { + type Xr-yang-string; + description + "Conflict context"; + } + } + + grouping ICPE-OPER-CFGD-LINK-TYPE { + description + "ICPE OPER CFGD LINK TYPE"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf ip-address { + type inet:ipv4-address; + description + "IP address"; + } + leaf ip-address-auto { + type boolean; + description + "IP address auto"; + } + leaf vrf-id-present { + type boolean; + description + "VRF ID present"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf minimum-preferred-links { + type uint32; + description + "Minimum preferred links"; + } + leaf number-active-links { + type uint32; + description + "Number active links"; + } + leaf min-links-satisfied { + type boolean; + description + "Min links satisfied"; + } + leaf minimum-required-links { + type uint32; + description + "Minimum required links"; + } + leaf required-min-links-satisfied { + type boolean; + description + "Required min links satisfied"; + } + leaf conflict-reason { + type Icpe-oper-conflict; + description + "Conflict reason"; + } + leaf conflict-context { + type Xr-yang-string; + description + "Conflict context"; + } + list port-range { + description + "Port ranges table"; + uses ICPE-OPER-PORT-RANGE-TYPE; + } + list discovered-link { + description + "Discovered Links table"; + uses ICPE-OPER-DISCD-LINK-TYPE; + } + } + + grouping ICPE-OPTICAL-APPLICATION-STATE-TYPE { + description + "ICPE OPTICAL APPLICATION STATE TYPE"; + leaf name { + type Xr-yang-string; + description + "Name"; + } + leaf sync-state { + type Icpe-optical-sync-state; + description + "Sync state"; + } + } + + grouping ICPE-OPTICAL-STATUS-TYPE { + description + "ICPE OPTICAL STATUS TYPE"; + leaf chassis-sync-state { + type Icpe-optical-sync-state; + description + "Chassis sync state"; + } + list application { + description + "Application State table"; + uses ICPE-OPTICAL-APPLICATION-STATE-TYPE; + } + } + + grouping ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE { + description + "ICPE OPER CAND FAB PORTS CURR TYPE"; + leaf port-type { + type Icpe-oper-fabric-port; + description + "Port type"; + } + leaf slot { + type uint16; + description + "Slot"; + } + leaf subslot { + type uint16; + description + "Subslot"; + } + leaf port { + type uint16; + description + "Port"; + } + leaf permanent { + type boolean; + description + "Permanent"; + } + leaf requested { + type boolean; + description + "Requested"; + } + } + + grouping ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE { + description + "ICPE OPER CAND FAB PORTS CFGD TYPE"; + leaf port-type { + type Icpe-oper-fabric-port; + description + "Port type"; + } + leaf slot { + type uint16; + description + "Slot"; + } + leaf subslot { + type uint16; + description + "Subslot"; + } + leaf port { + type uint16; + description + "Port"; + } + leaf valid { + type boolean; + description + "Valid"; + } + } + + grouping ICPE-OPER-CAND-FAB-PORTS-TYPE { + description + "ICPE OPER CAND FAB PORTS TYPE"; + leaf channel-up { + type boolean; + description + "Channel up"; + } + leaf out-of-sync { + type boolean; + description + "Out of sync"; + } + leaf error-string { + type Xr-yang-string; + description + "Error string"; + } + list configured-port { + description + "Configured Candidate Fabric Ports table"; + uses ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE; + } + list current-port { + description + "Current Candidate Fabric Ports on this Satellite + table"; + uses ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE; + } + } + + grouping ICPE-OPER-SAT-STATUS { + description + "Satellite status information"; + container candidate-fabric-ports { + description + "Candidate Fabric Ports on this Satellite"; + uses ICPE-OPER-CAND-FAB-PORTS-TYPE; + } + container optical-status { + description + "Optical Satellite Status"; + uses ICPE-OPTICAL-STATUS-TYPE; + } + container redundancy-out-of-sync-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + leaf satellite-id-xr { + type uint16; + description + "Satellite ID"; + } + leaf version-check-state { + type Icpe-oper-ver-check-state; + description + "Version check state"; + } + leaf remote-version-present { + type boolean; + description + "Remote version present"; + } + leaf type { + type Xr-yang-string; + description + "Type"; + } + leaf ethernet-fabric-supported { + type boolean; + description + "Ethernet fabric supported"; + } + leaf optical-supported { + type boolean; + description + "Optical supported"; + } + leaf ip-address { + type inet:ipv4-address; + description + "IP address"; + } + leaf ip-address-present { + type boolean; + description + "IP address present"; + } + leaf ip-address-auto { + type boolean; + description + "IP address auto"; + } + leaf ipv6-address { + type inet:ipv6-address; + description + "IPV6 address"; + } + leaf ipv6-address-present { + type boolean; + description + "IPV6 address present"; + } + leaf vrf-name { + type Xr-yang-string; + description + "VRF name"; + } + leaf vrfid { + type uint32; + description + "VRFID"; + } + leaf description { + type Xr-yang-string; + description + "Description"; + } + leaf description-present { + type boolean; + description + "Description present"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf mac-address-present { + type boolean; + description + "MAC address present"; + } + leaf configured-serial-number { + type Xr-yang-string; + description + "Configured serial number"; + } + leaf configured-serial-number-present { + type boolean; + description + "Configured serial number present"; + } + leaf received-serial-number { + type Xr-yang-string; + description + "Received serial number"; + } + leaf received-serial-number-present { + type boolean; + description + "Received serial number present"; + } + leaf password { + type Xr-yang-string; + description + "Password"; + } + leaf password-error { + type Xr-yang-string; + description + "Password error"; + } + leaf received-host-name { + type Xr-yang-string; + description + "Received hostname"; + } + leaf cfgd-timeout { + type uint32; + description + "Cfgd timeout"; + } + leaf timeout-warning { + type uint32; + description + "Timeout warning"; + } + leaf conflict-reason { + type Icpe-oper-conflict; + description + "Conflict reason"; + } + leaf conflict-context { + type Xr-yang-string; + description + "Conflict context"; + } + leaf redundancy-iccp-group { + type uint32; + description + "Redundancy ICCP group"; + } + leaf recovery-delay-time-left { + type uint16; + description + "Recovery delay time left"; + } + leaf host-treating-as-active { + type boolean; + description + "Host treating as active"; + } + leaf satellite-treating-as-active { + type boolean; + description + "Satellite treating as active"; + } + leaf sdacp-session-state { + type Icpe-oper-sdacp-sess-state; + description + "SDACP session state"; + } + leaf sdacp-session-failure-reason { + type Icpe-gco-oper-control-reason; + description + "SDACP session failure reason"; + } + leaf install-state { + type Icpe-oper-install-state; + description + "Install state"; + } + leaf-list remote-version { + type Xr-yang-string; + description + "Remote version"; + } + list configured-link { + description + "Configured Links on this Satellite table"; + uses ICPE-OPER-CFGD-LINK-TYPE; + } + } + + grouping ICPE-TIMESTAMP-TYPE { + description + "ICPE TIMESTAMP TYPE"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub4.yang new file mode 100644 index 0000000..35ebb8b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub4.yang @@ -0,0 +1,63 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub4 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-RELOAD-STATUS-DETAIL { + description + "Detailed breakdown of reload status"; + leaf satellite-range-xr { + type Xr-yang-string; + description + "Satellite range"; + } + leaf-list sats-not-initiated { + type uint16; + description + "Sats not initiated"; + } + leaf-list sats-reloading { + type uint16; + description + "Sats reloading"; + } + leaf-list sats-reloaded { + type uint16; + description + "Sats reloaded"; + } + leaf-list sats-reload-failed { + type uint16; + description + "Sats reload failed"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub5.yang new file mode 100644 index 0000000..124311d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub5.yang @@ -0,0 +1,50 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub5 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-INSTALL-PROGRESS { + description + "Current percentage of install"; + leaf operation-id-xr { + type uint32; + description + "Operation ID"; + } + leaf progress-percentage { + type uint16; + units "percentage"; + description + "Progress percentage"; + } + leaf satellite-count { + type uint32; + description + "Satellite count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub6.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub6.yang new file mode 100644 index 0000000..06d17a2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub6.yang @@ -0,0 +1,48 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub6 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-OPER-INSTALL-REF-INFO-TYPE { + description + "Install Reference Information"; + leaf reference-name-xr { + type Xr-yang-string; + description + "Reference name"; + } + leaf-list reference-file { + type Xr-yang-string; + description + "Reference files"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub7.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub7.yang new file mode 100644 index 0000000..8f9f59c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub7.yang @@ -0,0 +1,275 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub7 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-oper-topo-remote-source { + type enumeration { + enum "icpe-oper-topo-remote-source-unknown" { + description + "Unknown"; + } + enum "icpe-oper-topo-remote-source-remote-icl-id" { + description + "Remote ICL ID"; + } + enum "icpe-oper-topo-remote-source-remote-satellite-mac" { + description + "Remote satellite MAC"; + } + enum "icpe-oper-topo-remote-source-remote-host-mac" { + description + "Remote host MAC"; + } + enum "icpe-oper-topo-remote-source-direct-satellite" { + description + "Direct satellite"; + } + enum "icpe-oper-topo-remote-source-direct-host" { + description + "Direct host"; + } + } + description + "Icpe oper topo remote source"; + } + + grouping ICPE-OPER-TOPO-REMOTE-SFL-TYPE { + description + "ICPE OPER TOPO REMOTE SFL TYPE"; + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf source { + type Icpe-oper-topo-remote-source; + description + "Source"; + } + leaf remote-is-satellite { + type boolean; + description + "Remote is satellite"; + } + leaf remote-is-local-host { + type boolean; + description + "Remote is local host"; + } + leaf icl-id { + type uint32; + description + "ICL ID"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf interface-name { + type Xr-yang-string; + description + "Interface name"; + } + } + + grouping ICPE-OPER-TOPO-LOCAL-SFL-TYPE { + description + "ICPE OPER TOPO LOCAL SFL TYPE"; + leaf icl-id { + type uint32; + description + "ICL ID"; + } + leaf interface-name { + type Xr-yang-string; + description + "Interface name"; + } + leaf display-name { + type Xr-yang-string; + description + "Display name"; + } + leaf redundant { + type boolean; + description + "Redundant"; + } + leaf active { + type boolean; + description + "Active"; + } + leaf obsolete { + type boolean; + description + "Obsolete"; + } + list remote-device { + description + "Remote Device table"; + uses ICPE-OPER-TOPO-REMOTE-SFL-TYPE; + } + } + + grouping ICPE-OPER-TOPO-SATTUN-TYPE { + description + "ICPE OPER TOPO SATTUN TYPE"; + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf configured { + type boolean; + description + "Configured"; + } + leaf num-hops { + type uint16; + description + "Num hops"; + } + leaf type { + type Xr-yang-string; + description + "Type"; + } + leaf satellite-id { + type uint16; + description + "Satellite ID"; + } + leaf received-serial-number { + type Xr-yang-string; + description + "Received serial number"; + } + leaf received-serial-number-present { + type boolean; + description + "Received serial number present"; + } + leaf vlan-id { + type uint16; + description + "VLAN ID"; + } + leaf display-name { + type Xr-yang-string; + description + "Display name"; + } + leaf conflict-reason { + type Icpe-oper-conflict; + description + "Conflict reason"; + } + leaf conflict-context { + type Xr-yang-string; + description + "Conflict context"; + } + list fabric-link { + description + "Local Satellite Fabric Link table"; + uses ICPE-OPER-TOPO-LOCAL-SFL-TYPE; + } + } + + grouping ICPE-OPER-TOPO-DSFL-TYPE { + description + "ICPE OPER TOPO DSFL TYPE"; + leaf interface-name { + type Xr-yang-string; + description + "Interface name"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf discovery-running { + type boolean; + description + "Discovery running"; + } + } + + grouping ICPE-OPER-TOPO-CSFL-TYPE { + description + "Satellite Topology Information"; + leaf interface-name-xr { + type Xr-yang-string; + description + "Interface name"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf redundancy-iccp-group { + type uint32; + description + "Redundancy ICCP group"; + } + leaf is-physical { + type boolean; + description + "Is physical"; + } + leaf ring-whole { + type boolean; + description + "Ring whole"; + } + list discovered-link { + description + "Discovered Links table"; + uses ICPE-OPER-TOPO-DSFL-TYPE; + } + list satellite { + description + "Satellite table"; + uses ICPE-OPER-TOPO-SATTUN-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub8.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub8.yang new file mode 100644 index 0000000..9d46450 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub8.yang @@ -0,0 +1,93 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub8 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-OPER-SAT-VERSION-TYPE { + description + "ICPE OPER SAT VERSION TYPE"; + leaf version-check-state { + type Icpe-oper-ver-check-state; + description + "Version check state"; + } + leaf remote-version-present { + type boolean; + description + "Remote version present"; + } + leaf-list remote-version { + type Xr-yang-string; + description + "Remote version"; + } + } + + grouping ICPE-OPER-SAT-REMOTE-VERSION-TYPE { + description + "Satellite remote version information"; + container active-version { + description + "Satellite active version information"; + uses ICPE-OPER-SAT-VERSION-TYPE; + } + container transferred-version { + description + "Satellite transferred version information"; + uses ICPE-OPER-SAT-VERSION-TYPE; + } + container committed-version { + description + "Satellite committed version information"; + uses ICPE-OPER-SAT-VERSION-TYPE; + } + leaf satellite-id-xr { + type uint16; + description + "Satellite ID"; + } + leaf version-check-state { + type Icpe-oper-ver-check-state; + description + "Version check state"; + } + leaf remote-version-present { + type boolean; + description + "Remote version present"; + } + leaf-list remote-version { + type Xr-yang-string; + description + "Remote version"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub9.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub9.yang new file mode 100644 index 0000000..ac03284 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper-sub9.yang @@ -0,0 +1,73 @@ +submodule Cisco-IOS-XR-icpe-infra-oper-sub9 { + belongs-to Cisco-IOS-XR-icpe-infra-oper { + prefix Cisco-IOS-XR-icpe-infra-oper; + } + + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-GCO-PRIORITY-OPER-TYPE { + description + "Satellite priority information"; + leaf satellite-id-xr { + type uint16; + description + "Satellite ID"; + } + leaf rgid { + type uint32; + description + "RG ID"; + } + leaf best-path-hops { + type uint32; + description + "Best path hops"; + } + leaf configured-priority { + type uint8; + description + "Configured priority"; + } + leaf host-priority { + type uint64; + description + "Host priority"; + } + leaf partner-priority { + type uint64; + description + "Partner priority"; + } + leaf multichassis-redundancy { + type Icpe-oper-multichassis-redundancy; + description + "Multichassis redundancy"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper.yang new file mode 100644 index 0000000..e33f92a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-infra-oper.yang @@ -0,0 +1,317 @@ +module Cisco-IOS-XR-icpe-infra-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-oper"; + prefix icpe-infra-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-icpe-infra-oper-sub12 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub11 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub10 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub9 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub8 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub7 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub6 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub5 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub4 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-infra-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR icpe-infra package operational data. + + This module contains definitions + for the following management objects: + nv-satellite: Satellite operational information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-sat-id { + type uint32 { + range "100..65534"; + } + description + "Icpe sat id"; + } + + container nv-satellite { + config false; + description + "Satellite operational information"; + container reload-op-statuses { + description + "Detailed breakdown of reload status table"; + list reload-op-status { + key "operation-id"; + description + "Detailed breakdown of reload status"; + leaf operation-id { + type uint32 { + range "0..4294967295"; + } + description + "Operation ID"; + } + uses ICPE-RELOAD-OP-STATUS-DETAIL; + } + } + container sdacp-redundancies { + description + "nV Satellite Redundancy Protocol Information + table"; + list sdacp-redundancy { + key "iccp-group"; + description + "nV Satellite Redundancy Protocol Information"; + leaf iccp-group { + type uint32 { + range "0..4294967295"; + } + description + "ICCP group"; + } + uses ICPE-REDUNDANCY-SESSION; + } + } + container install-shows { + description + "Detailed breakdown of install status table"; + list install-show { + key "operation-id"; + description + "Detailed breakdown of install status"; + leaf operation-id { + type uint32 { + range "0..4294967295"; + } + description + "Operation ID"; + } + uses ICPE-INSTALL-SHOW-DETAIL-TYPE; + } + } + container satellite-statuses { + description + "Satellite status information table"; + list satellite-status { + key "satellite-id"; + description + "Satellite status information"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses ICPE-OPER-SAT-STATUS; + } + } + container satellite-priorities { + description + "Satellite priority information table"; + list satellite-priority { + key "satellite-id"; + description + "Satellite priority information"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses ICPE-GCO-PRIORITY-OPER-TYPE; + } + } + container satellite-versions { + description + "Satellite remote version information table"; + list satellite-version { + key "satellite-id"; + description + "Satellite remote version information"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses ICPE-OPER-SAT-REMOTE-VERSION-TYPE; + } + } + container satellite-topologies { + description + "Satellite Topology Information table"; + list satellite-topology { + key "interface-name"; + description + "Satellite Topology Information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ICPE-OPER-TOPO-CSFL-TYPE; + } + } + container install-reference-info { + description + "Satellite Install Reference Information"; + container references { + description + "Install Reference Information table"; + list reference { + key "reference-name"; + description + "Install Reference Information"; + leaf reference-name { + type xr:Cisco-ios-xr-string; + description + "Reference name"; + } + uses ICPE-OPER-INSTALL-REF-INFO-TYPE; + } + } + } + container install-op-progresses { + description + "Current percentage of install table"; + list install-op-progress { + key "operation-id"; + description + "Current percentage of install"; + leaf operation-id { + type uint32 { + range "0..4294967295"; + } + description + "Operation ID"; + } + uses ICPE-INSTALL-PROGRESS; + } + } + container reload-statuses { + description + "Detailed breakdown of reload status table"; + list reload-status { + key "satellite-range"; + description + "Detailed breakdown of reload status"; + leaf satellite-range { + type xr:Cisco-ios-xr-string; + description + "Satellite range"; + } + uses ICPE-RELOAD-STATUS-DETAIL; + } + } + container install { + description + "Satellite Install Information"; + container satellite-software-versions { + description + "Satellite Software Package Information table"; + list satellite-software-version { + key "satellite-id"; + description + "Satellite Software Package Information"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses ICPE-OPER-SAT-PACKAGE-INFORMATION-TYPE; + } + } + } + container install-op-statuses { + description + "Detailed breakdown of install status table"; + list install-op-status { + key "operation-id"; + description + "Detailed breakdown of install status"; + leaf operation-id { + type uint32 { + range "0..4294967295"; + } + description + "Operation ID"; + } + uses ICPE-INSTALL-OP-STATUS-DETAIL; + } + } + container satellite-properties { + description + "ICPE GCO operational information"; + container id-ranges { + description + "Satellite ID range table"; + list id-range { + key "sat-id-range"; + description + "Satellite ID range"; + leaf sat-id-range { + type xr:Cisco-ios-xr-string; + description + "Sat ID range"; + } + leaf min { + type uint32 { + range "0..2147483647"; + } + description + "Min"; + } + leaf max { + type uint32 { + range "0..2147483647"; + } + description + "Max"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang new file mode 100644 index 0000000..d39bc92 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub1.yang @@ -0,0 +1,281 @@ +submodule Cisco-IOS-XR-icpe-sdacp-oper-sub1 { + belongs-to Cisco-IOS-XR-icpe-sdacp-oper { + prefix Cisco-IOS-XR-icpe-sdacp-oper; + } + + import ietf-inet-types { + prefix inet; + } + include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-sdacp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-cpm-chan-fsm-state { + type enumeration { + enum "icpe-cpm-chan-fsm-state-down" { + description + "Down"; + } + enum "icpe-cpm-chan-fsm-state-not-supported" { + description + "Not supported"; + } + enum "icpe-cpm-chan-fsm-state-closed" { + description + "Closed"; + } + enum "icpe-cpm-chan-fsm-state-opening" { + description + "Opening"; + } + enum "icpe-cpm-chan-fsm-state-opened" { + description + "Opened"; + } + enum "icpe-cpm-chan-fsm-state-open" { + description + "Open"; + } + } + description + "Icpe cpm chan fsm state"; + } + + typedef Icpe-cpm-channel-resync-state { + type enumeration { + enum "icpe-cpm-channel-resync-state-unknown" { + description + "Unknown"; + } + enum "icpe-cpm-channel-resync-state-not-in-resync" { + description + "Not in resync"; + } + enum "icpe-cpm-channel-resync-state-in-client-resync" { + description + "In client resync"; + } + enum "icpe-cpm-channel-resync-state-in-satellite-resync" { + description + "In satellite resync"; + } + } + description + "Icpe cpm channel resync state"; + } + + typedef Icpe-cpm-control-fsm-state { + type enumeration { + enum "icpe-cpm-control-fsm-state-disconnected" { + description + "Disconnected"; + } + enum "icpe-cpm-control-fsm-state-connecting" { + description + "Connecting"; + } + enum "icpe-cpm-control-fsm-state-authenticating" { + description + "Authenticating"; + } + enum "icpe-cpm-control-fsm-state-check-ing-ver" { + description + "Checking Version"; + } + enum "icpe-cpm-control-fsm-state-connected" { + description + "Connected"; + } + enum "icpe-cpm-control-fsm-state-issu" { + description + "ISSU In Progress"; + } + } + description + "Icpe cpm control fsm state"; + } + + grouping ICPE-CPM-OPER-CHAN-TYPE { + description + "ICPE CPM OPER CHAN TYPE"; + container capabilities { + description + "Capabilities"; + uses ICPE-YANG-CAPABILITIES-TYPE; + } + container resync-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + container channel-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + leaf channel-id { + type uint16; + description + "Channel ID"; + } + leaf resync-state { + type Icpe-cpm-channel-resync-state; + description + "Resync state"; + } + leaf channel-state { + type Icpe-cpm-chan-fsm-state; + description + "Channel state"; + } + leaf control-messages-sent { + type uint64; + description + "Control messages sent"; + } + leaf normal-messages-sent { + type uint64; + description + "Normal messages sent"; + } + leaf control-messages-received { + type uint64; + description + "Control messages received"; + } + leaf normal-messages-received { + type uint64; + description + "Normal messages received"; + } + leaf control-messages-dropped { + type uint64; + description + "Control messages dropped"; + } + leaf normal-messages-dropped { + type uint64; + description + "Normal messages dropped"; + } + leaf secs-since-last-cleared { + type uint64; + units "second"; + description + "Secs since last cleared"; + } + leaf version { + type uint16; + description + "Version"; + } + } + + grouping ICPE-CPM-TIMESTAMP-TYPE { + description + "ICPE CPM TIMESTAMP TYPE"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping ICPE-TIMESTAMP-TYPE { + description + "ICPE TIMESTAMP TYPE"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping ICPE-CPM-OPER-SAT { + description + "SDAC Protocol Discovery information"; + container protocol-state-timestamp { + description + "Timestamp"; + uses ICPE-TIMESTAMP-TYPE; + } + container transport-error-timestamp { + description + "Timestamp"; + uses ICPE-CPM-TIMESTAMP-TYPE; + } + leaf satellite-id-xr { + type uint16; + description + "Satellite ID"; + } + leaf satellite-ip-address { + type inet:ipv4-address; + description + "Satellite IP address"; + } + leaf ip-address-auto { + type boolean; + description + "IP address auto"; + } + leaf vrf-name { + type Xr-yang-string; + description + "VRF name"; + } + leaf control-protocol-state { + type Icpe-cpm-control-fsm-state; + description + "Control protocol state"; + } + leaf transport-error { + type uint32; + description + "Transport error"; + } + list channel { + description + "Channels on satellite table"; + uses ICPE-CPM-OPER-CHAN-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang new file mode 100644 index 0000000..a6bb948 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub2.yang @@ -0,0 +1,433 @@ +submodule Cisco-IOS-XR-icpe-sdacp-oper-sub2 { + belongs-to Cisco-IOS-XR-icpe-sdacp-oper { + prefix Cisco-IOS-XR-icpe-sdacp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-sdacp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dpm-proto-host-state { + type enumeration { + enum "dpm-proto-host-state-idle" { + description + "Idle"; + } + enum "dpm-proto-host-state-discovered" { + description + "Discovered"; + } + enum "dpm-proto-host-state-rejecting" { + description + "Rejecting"; + } + } + description + "Dpm proto host state"; + } + + typedef Dpm-proto-state { + type enumeration { + enum "dpm-proto-state-idle" { + description + "Idle"; + } + enum "dpm-proto-state-probing" { + description + "Probing"; + } + enum "dpm-proto-state-legacy" { + description + "Legacy"; + } + enum "dpm-proto-state-configuring" { + description + "Configuring"; + } + enum "dpm-proto-state-discovered" { + description + "Discovered"; + } + enum "dpm-proto-state-rejecting" { + description + "Rejecting"; + } + enum "dpm-proto-state-seen" { + description + "Seen"; + } + } + description + "Dpm proto state"; + } + + typedef Xr-yang-string { + type string; + description + "Xr yang string"; + } + + grouping ICPE-YANG-CAPABILITIES-TLV-TYPE { + description + "ICPE YANG CAPABILITIES TLV TYPE"; + leaf type { + type uint32; + description + "Type"; + } + leaf debug { + type Xr-yang-string; + description + "Debug"; + } + leaf-list value { + type uint8; + description + "Value"; + } + } + + grouping ICPE-YANG-CAPABILITIES-TYPE { + description + "ICPE YANG CAPABILITIES TYPE"; + list tl-vs { + description + "Capability TLVs table"; + uses ICPE-YANG-CAPABILITIES-TLV-TYPE; + } + } + + grouping DPM-OPER-HOST-TYPE { + description + "DPM OPER HOST TYPE"; + leaf host-chassis-mac { + type yang:mac-address; + description + "Host chassis MAC"; + } + leaf host-interface-mac { + type yang:mac-address; + description + "Host interface MAC"; + } + leaf discovery-protocol-state { + type Dpm-proto-host-state; + description + "Discovery protocol state"; + } + leaf route-length { + type uint32; + description + "Route length"; + } + leaf current-timeout { + type uint32; + description + "Current timeout"; + } + leaf host-ack-packets-received { + type uint64; + description + "Host ack packets received"; + } + leaf host-ack-packets-sent { + type uint64; + description + "Host ack packets sent"; + } + leaf secs-since-pkts-cleaned { + type uint64; + units "second"; + description + "Secs since pkts cleaned"; + } + } + + grouping DPM-OPER-SAT-TYPE { + description + "DPM OPER SAT TYPE"; + leaf satellite-id { + type uint16; + description + "Satellite ID"; + } + leaf satellite-interface-id { + type uint32; + description + "Satellite interface ID"; + } + leaf satellite-interface-mac { + type yang:mac-address; + description + "Satellite interface MAC"; + } + leaf satellite-ip-address { + type inet:ipv4-address; + description + "Satellite IP address"; + } + leaf host-ip-address { + type inet:ipv4-address; + description + "Host IP address"; + } + leaf satellite-chassis-type { + type Xr-yang-string; + description + "Satellite chassis type"; + } + leaf satellite-chassis-vendor { + type Xr-yang-string; + description + "Satellite chassis vendor"; + } + leaf satellite-chassis-mac { + type yang:mac-address; + description + "Satellite chassis MAC"; + } + leaf satellite-serial-id { + type Xr-yang-string; + description + "Satellite serial id"; + } + leaf satellite-module-type { + type Xr-yang-string; + description + "Satellite module type"; + } + leaf satellite-module-vendor { + type Xr-yang-string; + description + "Satellite module vendor"; + } + leaf satellite-module-mac { + type yang:mac-address; + description + "Satellite module MAC"; + } + leaf conflict-reason { + type uint32; + description + "Conflict reason"; + } + leaf received-sys-mac { + type yang:mac-address; + description + "Received sys MAC"; + } + leaf host-chassis-type { + type Xr-yang-string; + description + "Host chassis type"; + } + leaf host-chassis-vendor { + type Xr-yang-string; + description + "Host chassis vendor"; + } + leaf host-chassis-mac { + type yang:mac-address; + description + "Host chassis MAC"; + } + leaf discovery-protocol-state { + type Dpm-proto-state; + description + "Discovery protocol state"; + } + leaf last-imdr-state { + type uint32; + description + "Last IMDR state"; + } + leaf current-timeout { + type uint32; + description + "Current timeout"; + } + leaf is-queued-for-efd { + type boolean; + description + "Is queued for EFD"; + } + leaf is-queued-for-oc { + type boolean; + description + "Is queued for OC"; + } + leaf ifmgr-state { + type boolean; + description + "Ifmgr state"; + } + leaf legacy { + type boolean; + description + "Legacy"; + } + leaf deleting { + type boolean; + description + "Deleting"; + } + leaf ident-packets-received { + type uint64; + description + "Ident packets received"; + } + leaf ready-packets-received { + type uint64; + description + "Ready packets received"; + } + leaf los-packets-received { + type uint64; + description + "Los packets received"; + } + leaf invalid-packets-received { + type uint64; + description + "Invalid packets received"; + } + leaf configuration-packets-sent { + type uint64; + description + "Configuration packets sent"; + } + leaf ack-packets-sent { + type uint64; + description + "Ack packets sent"; + } + leaf reject-packets-sent { + type uint64; + description + "Reject packets sent"; + } + leaf secs-since-pkts-cleaned { + type uint64; + units "second"; + description + "Secs since pkts cleaned"; + } + } + + grouping DPM-OPER-IF { + description + "ICPE DPM operational information"; + leaf discovery-interface-xr { + type Xr-yang-string; + description + "Discovery interface"; + } + leaf discovery-interface-handle { + type xr:Interface-name; + description + "Discovery interface handle"; + } + leaf discovery-interface-status { + type Dpm-proto-state; + description + "Discovery interface status"; + } + leaf ident-packets-received { + type uint64; + description + "Ident packets received"; + } + leaf ready-packets-received { + type uint64; + description + "Ready packets received"; + } + leaf los-packets-received { + type uint64; + description + "Los packets received"; + } + leaf invalid-packets-received { + type uint64; + description + "Invalid packets received"; + } + leaf configuration-packets-sent { + type uint64; + description + "Configuration packets sent"; + } + leaf ack-packets-sent { + type uint64; + description + "Ack packets sent"; + } + leaf reject-packets-sent { + type uint64; + description + "Reject packets sent"; + } + leaf probe-packets-sent { + type uint64; + description + "Probe packets sent"; + } + leaf host-ack-packets-received { + type uint64; + description + "Host ack packets received"; + } + leaf host-ack-packets-sent { + type uint64; + description + "Host ack packets sent"; + } + leaf secs-since-pkts-cleaned { + type uint64; + units "second"; + description + "Secs since pkts cleaned"; + } + list satellite { + description + "ICPE DPM satellite operational information table"; + uses DPM-OPER-SAT-TYPE; + } + list remote-host { + description + "ICPE DPM remote host operational information + table"; + uses DPM-OPER-HOST-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang new file mode 100644 index 0000000..dec630c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper-sub3.yang @@ -0,0 +1,163 @@ +submodule Cisco-IOS-XR-icpe-sdacp-oper-sub3 { + belongs-to Cisco-IOS-XR-icpe-sdacp-oper { + prefix Cisco-IOS-XR-icpe-sdacp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR icpe-sdacp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ICPE-SDACP-DISC-SAT-LINK-TYPE { + description + "ICPE SDACP DISC SAT LINK TYPE"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf satellite-status { + type Dpm-proto-state; + description + "Satellite status"; + } + leaf conflict-reason { + type uint32; + description + "Conflict reason"; + } + leaf satellite-chassis-vendor { + type Xr-yang-string; + description + "Satellite chassis vendor"; + } + leaf satellite-interface-id { + type uint32; + description + "Satellite interface ID"; + } + leaf satellite-interface-mac { + type yang:mac-address; + description + "Satellite interface MAC"; + } + leaf satellite-chassis-mac { + type yang:mac-address; + description + "Satellite chassis MAC"; + } + leaf satellite-serial-id { + type Xr-yang-string; + description + "Satellite serial id"; + } + leaf satellite-module-vendor { + type Xr-yang-string; + description + "Satellite module vendor"; + } + } + + grouping ICPE-SDACP-SAT-TYPE { + description + "ICPE SDACP SAT TYPE"; + leaf satellite-id { + type uint16; + description + "Satellite ID"; + } + leaf satellite-status { + type Dpm-proto-state; + description + "Satellite status"; + } + leaf conflict-reason { + type uint32; + description + "Conflict reason"; + } + leaf satellite-ip-address { + type inet:ipv4-address; + description + "Satellite IP address"; + } + leaf host-ip-address { + type inet:ipv4-address; + description + "Host IP address"; + } + list interface { + description + "ICPE Discovered satellite state information + table"; + uses ICPE-SDACP-DISC-SAT-LINK-TYPE; + } + } + + grouping ICPE-SDACP-DISC-SFL-TYPE { + description + "ICPE SDACP DISC SFL TYPE"; + leaf interface-name { + type Xr-yang-string; + description + "Interface name"; + } + leaf interface-status { + type Dpm-proto-state; + description + "Interface status"; + } + } + + grouping ICPE-SDACP-CFG-SFL { + description + "ICPE Configured interface state information"; + leaf interface-name-xr { + type Xr-yang-string; + description + "Interface name"; + } + list interface { + description + "ICPE Discovery interface state information table"; + uses ICPE-SDACP-DISC-SFL-TYPE; + } + list satellite { + description + "ICPE Satellite state information table"; + uses ICPE-SDACP-SAT-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper.yang new file mode 100644 index 0000000..54113a3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-icpe-sdacp-oper.yang @@ -0,0 +1,118 @@ +module Cisco-IOS-XR-icpe-sdacp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-sdacp-oper"; + prefix icpe-sdacp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-icpe-infra-oper { + prefix a1; + } + include Cisco-IOS-XR-icpe-sdacp-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-sdacp-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-icpe-sdacp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR icpe-sdacp package operational data. + + This YANG module augments the + Cisco-IOS-XR-icpe-infra-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Icpe-sat-id { + type uint32 { + range "100..65534"; + } + description + "Icpe sat id"; + } + + augment "/a1:nv-satellite" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-icpe-infra-oper'"; + container sdacp-discovery2s { + description + "ICPE Configured interface state information + table"; + list sdacp-discovery2 { + key "interface-name"; + description + "ICPE Configured interface state information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses ICPE-SDACP-CFG-SFL; + } + } + } + augment "/a1:nv-satellite" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-icpe-infra-oper'"; + container icpe-dpms { + description + "ICPE DPM operational information table"; + list icpe-dpm { + key "discovery-interface"; + description + "ICPE DPM operational information"; + leaf discovery-interface { + type xr:Interface-name; + description + "Discovery interface"; + } + uses DPM-OPER-IF; + } + } + } + augment "/a1:nv-satellite" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-icpe-infra-oper'"; + container sdacp-controls { + description + "SDAC Protocol Discovery information table"; + list sdacp-control { + key "satellite-id"; + description + "SDAC Protocol Discovery information"; + leaf satellite-id { + type Icpe-sat-id; + description + "Satellite ID"; + } + uses ICPE-CPM-OPER-SAT; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-cfg.yang new file mode 100644 index 0000000..52fb03c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-cfg.yang @@ -0,0 +1,189 @@ +module Cisco-IOS-XR-iedge4710-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-cfg"; + prefix iedge4710-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR iedge4710 package configuration. + + This module contains definitions + for the following management objects: + subscriber-manager: iEdge subscriber manager configuration + subscriber-featurette: subscriber featurette + iedge-license-manager: iedge license manager + sub-manager: sub manager + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container service-policies { + description + "Interface control subscriber policy + configuration"; + list service-policy { + key "service-policy-name"; + description + "Service policy to be applied to access + interface for subscribers"; + leaf service-policy-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + } + } + } + container subscriber-manager { + description + "iEdge subscriber manager configuration"; + container accounting { + description + "iEdge accounting feature"; + container send-stop { + description + "Accounting send stop feature"; + container setup-failure { + description + "Setup failure feature"; + leaf method-list-name { + type string; + description + "AAA List name either default or preconfigured"; + } + } + } + container interim { + description + "interim accounting related"; + container variation { + description + "variation of first session or service interim + record from configured timeout"; + leaf maximum-percentage-variation { + type uint32 { + range "0..50"; + } + units "percentage"; + description + "maximum percentage variation (maximum + absolute variation is 15 minutes)"; + } + } + } + } + container srg { + description + "SRG specific config"; + leaf sync-account-session-id { + type empty; + description + "sync account session id from master to slave"; + } + } + } + container subscriber-featurette { + description + "subscriber featurette"; + list featurette-name { + key "featurette"; + description + "enable featurette processing"; + leaf enable { + type int32; + description + "instance of featurette"; + } + leaf featurette { + type xr:Cisco-ios-xr-string; + description + "subscriber feature"; + } + } + } + container iedge-license-manager { + description + "iedge license manager"; + list node { + key "node-name"; + description + "Location. For eg., 0/1/CPU0"; + leaf session-limit { + type int32; + description + "Session limit configured on linecard"; + } + leaf session-threshold { + type int32; + description + "Session threshold configured on linecard"; + } + leaf node-name { + type xr:Cisco-ios-xr-string; + description + "The node id to filter on. For eg., 0/1/CPU0"; + } + } + } + container sub-manager { + description + "sub manager"; + list location { + key "location1"; + description + "Select location"; + container trace { + description + "Subscriber manager trace"; + leaf trace-level { + type int32; + description + "Subscriber manager trace level"; + } + } + leaf history { + type empty; + description + "Disable history for subscriber manager"; + } + leaf location1 { + type xr:Cisco-ios-xr-string; + description + "Specify location"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub1.yang new file mode 100644 index 0000000..272bb34 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub1.yang @@ -0,0 +1,54 @@ +submodule Cisco-IOS-XR-iedge4710-oper-sub1 { + belongs-to Cisco-IOS-XR-iedge4710-oper { + prefix Cisco-IOS-XR-iedge4710-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR iedge4710 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ISLM-SUMMARY-DATA { + description + "ISLM SUMMARY DATA"; + leaf session-limit { + type uint32; + description + "configured session limit"; + } + leaf session-threshold { + type uint32; + description + "configured session threshold"; + } + leaf session-license-count { + type uint32; + description + "number of license"; + } + leaf session-count { + type uint32; + description + "number of sessions"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub2.yang new file mode 100644 index 0000000..0e944ce --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub2.yang @@ -0,0 +1,1321 @@ +submodule Cisco-IOS-XR-iedge4710-oper-sub2 { + belongs-to Cisco-IOS-XR-iedge4710-oper { + prefix Cisco-IOS-XR-iedge4710-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR iedge4710 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Iedge-oper-session-af-state { + type enumeration { + enum "not-started" { + description + "Not started"; + } + enum "down" { + description + "Down"; + } + enum "up-pending" { + description + "Up Pending"; + } + enum "up" { + description + "Up"; + } + } + description + "Subscriber session address family state"; + } + + typedef Aaa-terminate-cause { + type enumeration { + enum "none" { + description + "None"; + } + enum "user-request" { + description + "User request"; + } + enum "lost-carrier" { + description + "Lost carrier"; + } + enum "lost-service" { + description + "Lost service"; + } + enum "idle-timeout" { + description + "Idle timeout"; + } + enum "session-timeout" { + description + "Session timeout"; + } + enum "admin-reset" { + description + "Admin reset"; + } + enum "admin-reboot" { + description + "Admin reboot"; + } + enum "port-error" { + description + "Port error"; + } + enum "nas-error" { + description + "NAS error"; + } + enum "nas-request" { + description + "NAS request"; + } + enum "nas-reboot" { + description + "NAS reboot"; + } + enum "port-unneeded" { + description + "Port unneeded"; + } + enum "port-preempted" { + description + "Port preempted"; + } + enum "port-suspended" { + description + "Port suspended"; + } + enum "service-unavailable" { + description + "Service unavailable"; + } + enum "callback" { + description + "Callback"; + } + enum "user-error" { + description + "User error"; + } + enum "host-request" { + description + "Host request"; + } + enum "supplicant-restart" { + description + "Supplicant restart"; + } + enum "reauthorization-failure" { + description + "Reauthorization failure"; + } + enum "port-reinitialized" { + description + "Port reinitialized"; + } + enum "admin-disabled" { + description + "Admin disabled"; + } + } + description + "AAA terminate cause types"; + } + + typedef Aaa-interface { + type enumeration { + enum "none" { + description + "None"; + } + enum "primary-rate" { + description + "Primary rate"; + } + enum "basic-rate" { + description + "Basic rate"; + } + enum "serial" { + description + "Serial"; + } + enum "asynchronous" { + description + "Asynchronous"; + } + enum "vty" { + description + "VTY"; + } + enum "atm" { + description + "ATM"; + } + enum "ethernet" { + description + "Ethernet"; + } + enum "ppp-over-atm" { + description + "PPP over ATM"; + } + enum "pppoe-over-atm" { + description + "PPPoE over ATM"; + } + enum "pppoe-over-ethernet" { + description + "PPPoE over ethernet"; + } + enum "ppp-over-vlan" { + description + "PPP over VLAN"; + } + enum "ppp-over-qinq" { + description + "PPP over Q in Q"; + } + enum "v120" { + description + "V120"; + } + enum "v110" { + description + "V110"; + } + enum "piafs" { + description + "PHS internet access forum standard"; + } + enum "x75" { + description + "X75"; + } + enum "ip-sec" { + description + "IP sec"; + } + enum "other" { + description + "Other"; + } + enum "virtual-pppoe-over-ethernet" { + description + "Virtual PPPoE over ethernet"; + } + enum "virtual-pppoe-over-vlan" { + description + "Virtual PPPoE over VLAN"; + } + enum "virtual-pppoe-over-qinq" { + description + "Virtual PPPoE over Q in Q"; + } + enum "ipo-e-over-ethernet" { + description + "IPoE over ethernet"; + } + enum "ipo-e-over-vlan" { + description + "IPoE over VLAN"; + } + enum "ipo-e-over-qinq" { + description + "IPoE over Q in Q"; + } + enum "virtual-i-po-e-over-ethernet" { + description + "Virtual IPoE over ethernet"; + } + enum "virtual-i-po-e-over-vlan" { + description + "Virtual IPoE over VLAN"; + } + enum "virtual-i-po-e-over-qinq" { + description + "Virtual IPoE over Q in Q"; + } + } + description + "AAA interface types"; + } + + typedef Aaa-tunnel-proto { + type enumeration { + enum "none" { + description + "None"; + } + enum "pptp" { + description + "Point-to-point tunneling protocol"; + } + enum "l2f" { + description + "Layer 2 forwarding"; + } + enum "l2tp" { + description + "Layer 2 tunneling protocol"; + } + enum "atmp" { + description + "Ascend tunnel management protocol"; + } + enum "vtp" { + description + "VLAN trunk protocol"; + } + enum "ah" { + description + "Authentication header"; + } + enum "ip-over-ip" { + description + "IP over IP"; + } + enum "minimum-ip-over-ip" { + description + "Minimum IP over IP"; + } + enum "esp" { + description + "Encapsulating security payload"; + } + enum "gre" { + description + "Generic routing encapsulation"; + } + enum "bay-dvs" { + description + "Bay dial virtual services"; + } + enum "ip-in-ip" { + description + "IP in IP"; + } + enum "vlan" { + description + "VLAN"; + } + } + description + "Tunnel protocol types"; + } + + typedef Aaa-tunnel-medium { + type enumeration { + enum "none" { + description + "None"; + } + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + enum "nsap" { + description + "NSAP"; + } + enum "hdlc" { + description + "HDLC"; + } + enum "bbn" { + description + "BBN"; + } + enum "all802" { + description + "ALL 802"; + } + } + description + "Tunnel medium types"; + } + + typedef Aaa-auth-service { + type enumeration { + enum "none" { + description + "None"; + } + enum "login" { + description + "Login"; + } + enum "framed" { + description + "Framed"; + } + enum "callback-login" { + description + "Callback login"; + } + enum "callback-framed" { + description + "Callback framed"; + } + enum "outbound" { + description + "Outbound"; + } + enum "administrator" { + description + "Administrator"; + } + enum "prompt" { + description + "Prompt"; + } + enum "authentication-only" { + description + "Authentication only"; + } + enum "callback-nas-prompt" { + description + "Callback NAS prompt"; + } + enum "call-check" { + description + "Call check"; + } + enum "callback-administrator" { + description + "Callback administrator"; + } + enum "voice" { + description + "Voice"; + } + enum "fax" { + description + "Fax"; + } + enum "modem-relay" { + description + "Modem relay"; + } + enum "eap-over-udp" { + description + "EAP over UDP"; + } + } + description + "AAA authorization service types"; + } + + typedef Iedge-oper-session-state { + type enumeration { + enum "initialize" { + description + "Initialize"; + } + enum "connecting" { + description + "Connecting"; + } + enum "connected" { + description + "Connected"; + } + enum "activated" { + description + "Activated"; + } + enum "idle" { + description + "Idle"; + } + enum "disconnecting" { + description + "Disconnecting"; + } + enum "end" { + description + "End"; + } + } + description + "Subscriber session states"; + } + + typedef Mac-address { + type yang:mac-address; + description + "MAC address type"; + } + + typedef Hex-binary { + type yang:hex-string; + description + "Hex binary data"; + } + + typedef Ipv4-address { + type inet:ipv4-address; + description + "IP address type"; + } + + typedef Iedge-ppp-sub { + type enumeration { + enum "pta" { + description + "PPP termination and aggregation"; + } + enum "lac" { + description + "L2TP access controller"; + } + } + description + "PPPoE sub types"; + } + + typedef Iedge-oper-session { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "pppoe" { + description + "PPPoE/PPP client"; + } + enum "ppp" { + description + "PPP serial client"; + } + enum "ip-packet-trigger" { + description + "IP subscriber - packet trigger"; + } + enum "ip-packet-dhcp-trigger" { + description + "IP subscriber - DHCP trigger"; + } + } + description + "Subscriber session types"; + } + + grouping IEDGE-MOBILITY-SESSION-DATA { + description + "Mobility attributes"; + leaf mpc-protocol { + type boolean; + description + "Cisco MPC Protocol"; + } + leaf mobility-ipv4-address { + type string; + description + "IPv4 address of Mobility Node"; + } + leaf mobility-default-ipv4-gateway { + type string; + description + "Default Gateway IPv4 Address"; + } + leaf mobility-dns-server { + type string; + description + "DNS Server Primary"; + } + leaf mobility-dhcp-server { + type string; + description + "DHCP Server"; + } + leaf mobility-ipv4-netmask { + type string; + description + "IPv4 Netmask"; + } + leaf domain-name { + type string; + description + "Domain Name"; + } + leaf uplink-gre-key { + type string; + description + "Uplink GRE Key"; + } + leaf downlink-gre-key { + type string; + description + "Downlink GRE Key"; + } + leaf lease-time { + type string; + units "second"; + description + "Duration of lease in seconds"; + } + } + + grouping IEDGE-AAA-ATTR { + description + "AAA attributes"; + leaf ipv4mtu { + type uint32; + description + "IPv4 maximum transmission unit"; + } + leaf ipv4-unnumbered { + type string; + description + "IPv4 unnumbered"; + } + leaf authorization-service-type { + type Aaa-auth-service; + description + "Authorization service type"; + } + leaf tunnel-client-endpoint { + type Ipv4-address; + description + "Tunnel client endpoint"; + } + leaf tunnel-server-endpoint { + type Ipv4-address; + description + "Tunnel server endpoint"; + } + leaf tunnel-tos-setting { + type uint32; + description + "Tunnel TOS setting"; + } + leaf tunnel-medium { + type Aaa-tunnel-medium; + description + "Tunnel medium"; + } + leaf tunnel-preference { + type uint32; + description + "Tunnel preference"; + } + leaf tunnel-client-authentication-id { + type string; + description + "Tunnel client authentication ID"; + } + leaf tunnel-protocol { + type Aaa-tunnel-proto; + description + "Tunnel protocol"; + } + leaf actual-data-rate-upstream { + type uint32; + units "Mbit/s"; + description + "Actual data rate upstream (in Mbps)"; + } + leaf actual-data-rate-downstream { + type uint32; + units "Mbit/s"; + description + "Actual data rate downstream (in Mbps)"; + } + leaf attainable-data-rate-upstream { + type uint32; + units "Mbit/s"; + description + "Attainable data rate upstream (in Mbps)"; + } + leaf attainable-data-rate-downstream { + type uint32; + units "Mbit/s"; + description + "Attainable data rate downstream (in Mbps)"; + } + leaf pool-address { + type string; + description + "IP address pool"; + } + leaf circuit-id { + type string; + description + "Circuit ID"; + } + leaf connection-receive-speed { + type uint32; + description + "Connection receive speed"; + } + leaf connection-transmission-speed { + type uint32; + description + "Connection transmission speed"; + } + leaf destination-station-id { + type string; + description + "Destination station ID"; + } + leaf primary-dns-server-address { + type Ipv4-address; + description + "Primary DNS server address"; + } + leaf secondary-dns-server-address { + type Ipv4-address; + description + "Secondary DNS server address"; + } + leaf formatted-calling-station-id { + type string; + description + "Formatted calling station id"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf interface-type { + type Aaa-interface; + description + "Interface type"; + } + leaf interim-accounting-interval { + type uint32; + description + "Interim accounting interval"; + } + leaf ingress-access-list { + type string; + description + "Ingress access list"; + } + leaf egress-access-list { + type string; + description + "Egress access list"; + } + leaf ip-netmask { + type Ipv4-address; + description + "IP netmask for the user"; + } + leaf is-interworking-functionality { + type boolean; + description + "True, if interworking functionality"; + } + leaf max-interleaving-delay-downstream { + type uint32; + units "Mbit/s"; + description + "Maximum interleaving delay downstream (in Mbps)"; + } + leaf max-interleaving-delay-upstream { + type uint32; + units "Mbit/s"; + description + "Maximum interleaving delay upstream (in Mbps)"; + } + leaf max-data-rate-upstream { + type uint32; + units "Mbit/s"; + description + "Maximum data rate upstream (in Mbps)"; + } + leaf max-data-rate-downstream { + type uint32; + units "Mbit/s"; + description + "Maximum data rate downstream (in Mbps)"; + } + leaf min-data-rate-downstream { + type uint32; + units "Mbit/s"; + description + "Minimum data rate downstream (in Mbps)"; + } + leaf min-data-rate-downstream-low-power { + type uint32; + units "Mbit/s"; + description + "Minimum data rate downstream low power (in Mbps)"; + } + leaf min-data-rate-upstream-low-power { + type uint32; + units "Mbit/s"; + description + "Minimum data rate upstream low power (in Mbps)"; + } + leaf primary-net-bios-server-address { + type Ipv4-address; + description + "Primary net bios server address"; + } + leaf secondary-net-bios-server-address { + type Ipv4-address; + description + "Secondary net bios server address"; + } + leaf parent-interface-name { + type xr:Interface-name; + description + "Parent interface name"; + } + leaf remote-id { + type string; + description + "Remote ID"; + } + leaf route { + type string; + description + "Route information for a user session"; + } + leaf session-timeout { + type uint32; + units "second"; + description + "Session timeout (in seconds)"; + } + leaf strict-rpf-packets { + type uint32; + description + "Strict RPF packets"; + } + leaf accounting-session-id { + type string; + description + "Accounting session ID"; + } + leaf upstream-parameterized-qos-policy { + type string; + description + "Upstream parameterized QoS policy to be applied + on the subscriber side"; + } + leaf downstream-parameterized-qos-policy { + type string; + description + "Downstream parameterized QoS policy to be + applied on the subscriber side"; + } + leaf upstream-qos-policy { + type string; + description + "Upstream QoS policy to be applied on the + subscriber side"; + } + leaf downstream-qos-policy { + type string; + description + "Downstream QoS policy to be applied on the + subscriber side"; + } + leaf session-termination-cause { + type Aaa-terminate-cause; + description + "Session termination cause"; + } + } + + grouping IEDGE-OPER-COA-DATA { + description + "IEDGE OPER COA DATA"; + leaf request-acked { + type boolean; + description + "Coa Request Acked"; + } + leaf request-time { + type string; + description + "Request time in DDD MMM DD HH:MM:SS YYYY format + eg: Tue Apr 11 21:30:47 2011"; + } + leaf coa-request-attributes { + type yang:hex-string; + description + "List of Request Attributes collected in COA + response"; + } + leaf reply-time { + type string; + description + "Reply time in DDD MMM DD HH:MM:SS YYYY format eg + : Tue Apr 11 21:30:47 2011"; + } + leaf coa-reply-attributes { + type yang:hex-string; + description + "List of Reply Attributes collected in COA + response"; + } + } + + grouping IEDGE-OPER-ACCOUNTING-DATA { + description + "Session/Service accounting information"; + leaf accounting-state-rc { + type uint32; + description + "Accounting State Error Code for Accounting + Session"; + } + leaf accounting-stop-state { + type uint32; + description + "Accounting Stop State"; + } + leaf record-context-name { + type string; + description + "Accounting record context name"; + } + leaf method-list-name { + type string; + description + "AAA method list name used to perform accounting"; + } + leaf account-session-id { + type string; + description + "Accounting session ID"; + } + leaf accounting-start-time { + type string; + description + "Accounting start time in DDD MMM DD HH:MM:SS + YYYY format eg: Tue Feb 15 15:12:49 2011"; + } + leaf is-interim-accounting-enabled { + type boolean; + description + "True if interim accounting is enabled"; + } + leaf interim-interval { + type uint32; + units "minute"; + description + "Interim accounting interval (in minutes)"; + } + leaf last-successful-interim-update-time { + type string; + description + "Time of last successful interim update in DDD + MMM DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30 + :47 2011"; + } + leaf next-interim-update-attempt-time { + type uint32; + units "second"; + description + "Time of next interim update attempt (in seconds)"; + } + leaf last-interim-update-attempt-time { + type string; + description + "Time of last interim update attempt in DDD MMM + DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 + 2011"; + } + leaf sent-interim-updates { + type uint32; + description + "Number of interim updates sent"; + } + leaf accepted-interim-updates { + type uint32; + description + "Number of interim updates accepted"; + } + leaf rejected-interim-updates { + type uint32; + description + "Number of interim updates rejected"; + } + leaf sent-interim-update-failures { + type uint32; + description + "Number of interim update send failures"; + } + } + + grouping IEDGE-ACCNT-DATA { + description + "Accounting information"; + list accounting-session { + description + "Accounting information"; + uses IEDGE-OPER-ACCOUNTING-DATA; + } + } + + grouping SUBSCRIBER-SESSION-DATA { + description + "Subscriber session information"; + container accounting { + description + "Accounting information"; + uses IEDGE-ACCNT-DATA; + } + container user-profile-attributes { + description + "List of user profile attributes collected for + subscriber session"; + uses IEDGE-AAA-ATTR; + } + container mobility-attributes { + description + "List of mobility attributes collected for + subscriber session"; + uses IEDGE-MOBILITY-SESSION-DATA; + } + leaf session-type { + type Iedge-oper-session; + description + "Subscriber session type"; + } + leaf pppoe-sub-type { + type Iedge-ppp-sub; + description + "PPPoE sub type"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf circuit-id { + type string; + description + "Circuit ID"; + } + leaf remote-id { + type string; + description + "Remote ID"; + } + leaf lns-address { + type Ipv4-address; + description + "PPPoE LNS address"; + } + leaf lac-address { + type Ipv4-address; + description + "PPPoE LAC address"; + } + leaf tunnel-client-authentication-id { + type string; + description + "PPPoE LAC tunnel client authentication ID"; + } + leaf tunnel-server-authentication-id { + type string; + description + "PPPoE LAC tunnel server authentication ID"; + } + leaf session-ip-address { + type Ipv4-address; + description + "Session ip address"; + } + leaf session-ipv6-address { + type string; + description + "Session IPv6 address"; + } + leaf session-ipv6-prefix { + type string; + description + "Session IPv6 prefix"; + } + leaf delegated-ipv6-prefix { + type string; + description + "Session delegated IPv6 prefix"; + } + leaf ipv6-interface-id { + type Hex-binary; + description + "IPv6 Interface ID"; + } + leaf mac-address { + type Mac-address; + description + "MAC address"; + } + leaf account-session-id { + type string; + description + "Accounting session ID"; + } + leaf nas-port { + type string; + description + "NAS port"; + } + leaf username { + type string; + description + "Username"; + } + leaf clientname { + type string; + description + "Client Username"; + } + leaf formattedname { + type string; + description + "Formatted Username"; + } + leaf is-session-authentic { + type boolean; + description + "If true, session is authentic"; + } + leaf is-session-author { + type boolean; + description + "If true, session is authorized"; + } + leaf session-state { + type Iedge-oper-session-state; + description + "Session state"; + } + leaf session-creation-time { + type string; + description + "Session creation time in DDD MMM DD HH:MM:SS + YYYY format eg: Tue Apr 11 21:30:47 2011"; + } + leaf idle-state-change-time { + type string; + description + "Time when idle state change occurred in DDD MMM + DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 + 2011"; + } + leaf total-session-idle-time { + type uint32; + units "second"; + description + "Total session idle time (in seconds)"; + } + leaf access-interface-name { + type xr:Interface-name; + description + "Access interface name associated with the + session"; + } + leaf pending-callbacks { + type uint64; + description + "Active pending callbacks bitmask"; + } + leaf af-up-status { + type uint32; + description + "AF status per Subscriber Session"; + } + leaf session-ipv4-state { + type Iedge-oper-session-af-state; + description + "Session IPv4 state"; + } + leaf session-ipv6-state { + type Iedge-oper-session-af-state; + description + "Session IPv6 state"; + } + list session-change-of-authorization { + description + "Subscriber change of authorization information"; + uses IEDGE-OPER-COA-DATA; + } + } + + grouping SUBSCRIBER-SESSION-AF-COUNTS { + description + "Subscriber address family session counts"; + leaf in-progress-sessions { + type uint32; + description + "Sessions with undecided address family"; + } + leaf ipv4-only-sessions { + type uint32; + description + "IPv4 only sessions "; + } + leaf ipv6-only-sessions { + type uint32; + description + "IPv6 only sessions "; + } + leaf dual-part-up-sessions { + type uint32; + description + "Dual stack partially up sessions"; + } + leaf dual-up-sessions { + type uint32; + description + "Dual stack up sessions"; + } + leaf lac-sessions { + type uint32; + description + "LAC sessions"; + } + } + + grouping SUBSCRIBER-SESSION-AF-SUMMARY { + description + "Subscriber session address family summary + information"; + container pppoe { + description + "PPPoE summary"; + uses SUBSCRIBER-SESSION-AF-COUNTS; + } + container ip-subscriber-dhcp { + description + "IP subscriber DHCP summary"; + uses SUBSCRIBER-SESSION-AF-COUNTS; + } + container ip-subscriber-packet { + description + "IP subscriber packet summary"; + uses SUBSCRIBER-SESSION-AF-COUNTS; + } + } + + grouping SUBSCRIBER-SESSION-STATE-COUNTS { + description + "Subscriber state session counts"; + leaf initialized-sessions { + type uint32; + description + "Sessions in initialized state"; + } + leaf connecting-sessions { + type uint32; + description + "Sessions in connecting state"; + } + leaf connected-sessions { + type uint32; + description + "Sessions in connected state"; + } + leaf activated-sessions { + type uint32; + description + "Sessions in activated state"; + } + leaf idle-sessions { + type uint32; + description + "Sessions in idle state"; + } + leaf disconnecting-sessions { + type uint32; + description + "Sessions in disconnecting state"; + } + leaf end-sessions { + type uint32; + description + "Sessions in end state"; + } + } + + grouping SUBSCRIBER-SESSION-STATE-SUMMARY { + description + "Subscriber session state summary information"; + container pppoe { + description + "PPPoE summary"; + uses SUBSCRIBER-SESSION-STATE-COUNTS; + } + container ip-subscriber-dhcp { + description + "IP subscriber DHCP summary"; + uses SUBSCRIBER-SESSION-STATE-COUNTS; + } + container ip-subscriber-packet { + description + "IP subscriber packet summary"; + uses SUBSCRIBER-SESSION-STATE-COUNTS; + } + } + + grouping SUBSCRIBER-SESSION-SUMMARY { + description + "Subscriber session summary information"; + container state-xr { + description + "State summary"; + uses SUBSCRIBER-SESSION-STATE-SUMMARY; + } + container address-family-xr { + description + "Address family summary"; + uses SUBSCRIBER-SESSION-AF-SUMMARY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub3.yang new file mode 100644 index 0000000..1aa85c4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper-sub3.yang @@ -0,0 +1,752 @@ +submodule Cisco-IOS-XR-iedge4710-oper-sub3 { + belongs-to Cisco-IOS-XR-iedge4710-oper { + prefix Cisco-IOS-XR-iedge4710-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR iedge4710 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping IEDGE-STATS-SRG-DATA { + description + "Geo Redundancy statistics"; + leaf txlist-send-triggered { + type uint32; + description + "Txlist Send Triggered"; + } + leaf txlist-send-failed { + type uint32; + description + "Txlist Send Failed"; + } + leaf txlist-send-failed-notactive { + type uint32; + description + "Txlist send failed due to not active"; + } + leaf actual-txlist-sent { + type uint32; + description + "Txlist Send Success"; + } + leaf alreadyin-txlist { + type uint32; + description + "Element already in Txlist"; + } + leaf txlist-encode { + type uint32; + description + "Txlist Encode"; + } + leaf txlist-encode-fail { + type uint32; + description + "Txlist encode Failed"; + } + leaf create-update-encode { + type uint32; + description + "Txlist Create Update Encode"; + } + leaf delete-encode { + type uint32; + description + "Txlist Delete Encode"; + } + leaf create-upd-clean-callback { + type uint32; + description + "Txlist Create/update clean callback"; + } + leaf delete-clean-callback { + type uint32; + description + "Txlist Delete clean callback"; + } + leaf slave-recv-entry { + type uint32; + description + "Slave Recieved Sync"; + } + leaf slave-decode-fail { + type uint32; + description + "Decode failed on Slave"; + } + leaf slave-create-update { + type uint32; + description + "Create Update received on slave"; + } + leaf slave-delete { + type uint32; + description + "Delete received on slave"; + } + leaf srg-context-malloc { + type uint32; + description + "SRG context allocated"; + } + leaf srg-context-free { + type uint32; + description + "SRG context freed"; + } + leaf sod-count { + type uint32; + description + "Number of SODs Received"; + } + leaf eod-count { + type uint32; + description + "Number of EODs Received"; + } + leaf sod-eod-replay-req-count { + type uint32; + description + "Number of Replay Requests Within SOD EOD Window"; + } + leaf sod-eod-dirty-mark-count { + type uint32; + description + "Number of Sessions Marked as Invalid Within SOD + EOD Window"; + } + leaf sod-eod-dirty-delete-count { + type uint32; + description + "Number of Sessions Invalid Deletes Within SOD + EOD Window"; + } + leaf ack-to-srg { + type uint32; + description + "Number of ACKs sent to Srg"; + } + leaf nack-to-srg { + type uint32; + description + "Number of NACKs sent to Srg"; + } + leaf nack-to-srg-fail-cnt { + type uint32; + description + "Number of NACKs Failed to send to Srg"; + } + leaf txlist-remove-all { + type uint32; + description + "Number of Txlist remove all calls"; + } + leaf txlist-del-sync { + type uint32; + description + "Number for Txlist delete for sync msg"; + } + leaf txlist-del-sync-notlinked { + type uint32; + description + "Number of Txlist delete for sync which are not + linked"; + } + leaf txlist-del-app { + type uint32; + description + "Number of Txlist delete for App msg"; + } + leaf txlist-del-app-notlinked { + type uint32; + description + "Number of Txlist delete for App which are not + linked"; + } + leaf txlist-clean-invalid-state { + type uint32; + description + "Number of Txlist Cleanup called on Invalid + subscriber srg state"; + } + leaf txlist-remove-all-internal-error { + type uint32; + description + "Number of Internal errors upon Master Txlist + remove all call"; + } + leaf is-srg-flow-control-enabled { + type boolean; + description + "Flag indicating SRG Flow control enabled or not"; + } + leaf max-inflight-sessoin-count { + type uint32; + description + "Maximum no.of inflight sessions allowed"; + } + leaf flow-control-resume-threshold { + type uint32; + description + "Threshold Limit to resume the flow control"; + } + leaf inflight-session-count { + type uint32; + description + "No.of Sessions inflight at given time"; + } + leaf inflight-add-count { + type uint32; + description + "No.of inflight sessions added"; + } + leaf inflight-under-run-count { + type uint32; + description + "Inflight Underrun Counter"; + } + leaf inflight-alloc-fails { + type uint32; + description + "Memory Alloc Failures for Inflight Entry"; + } + leaf inflight-insert-failures { + type uint32; + description + "Inflight Entry Insert Failures"; + } + leaf inflight-deletes { + type uint32; + description + "Inflight Deletes Count"; + } + leaf inflight-not-found { + type uint32; + description + "Inflight Entries not found during delete"; + } + leaf inflight-delete-failures { + type uint32; + description + "Inflight Entry Delete Failures"; + } + leaf total-pause-count { + type uint32; + description + "Total No.of times Pause is Enabled"; + } + leaf total-resume-count { + type uint32; + description + "Total No.of times Resume is triggered"; + } + leaf total-dont-send-to-txlist { + type uint32; + description + "Total No of times Dont send to Txlist"; + } + leaf total-srg-not-master { + type uint32; + description + "Total No of times SRG Not Master"; + } + leaf total-master-eoms-pending { + type uint32; + description + "Total No of times Master EOMS Pending"; + } + leaf last-pause-period { + type uint64; + description + "Amount of time paused during last flow control + window"; + } + leaf total-pause-time { + type uint64; + description + "Total Amount of time paused during all flow + control windows"; + } + leaf last-pause-time { + type uint64; + description + "Timestamp of recent Pause Event"; + } + leaf last-resume-time { + type uint64; + description + "Timestamp of recent Resume Event"; + } + } + + grouping IEDGE-STATS-SUMMARY-DATA { + description + "Summary statistics"; + leaf no-subscriber-control-policy-on-interface { + type uint64; + description + "Subscriber control policy not applied on + interface"; + } + leaf no-class-match-in-start-request { + type uint64; + description + "No control policy class match during subscriber + start"; + } + leaf nas-port-attribute-format-warnings { + type uint64; + description + "NAS port attribute format warnings"; + } + leaf nas-port-id-attribute-format-warnings { + type uint64; + description + "NAS port ID attribute format warnings"; + } + leaf destination-station-id-attribute-format-warnings { + type uint64; + description + "Destination station ID attribute format warnings"; + } + leaf calling-station-id-attribute-format-warnings { + type uint64; + description + "Calling station ID attribute format warnings"; + } + leaf username-attribute-format-warnings { + type uint64; + description + "Username attribute format warnings"; + } + leaf install-user-profiles { + type uint64; + description + "User profiles installed"; + } + leaf user-profile-install-errors { + type uint64; + description + "User profile install errors"; + } + leaf user-profile-removals { + type uint64; + description + "User profile removals"; + } + leaf user-profile-errors { + type uint64; + description + "User profile errors"; + } + leaf sess-disc-quota-exhausts { + type uint64; + description + "Session Disconnect Quota Exhausts"; + } + leaf sess-disc-no-quota { + type uint64; + description + "Session Disconnect Request Queued, no quota"; + } + leaf sess-disc-quota-avail { + type uint64; + description + "Session Disconnect Request Accepted, quota + available"; + } + leaf sess-disc-recon-ip { + type uint64; + description + "Session Disconnect Requests not Dequeued, + reconciliation in progress"; + } + leaf sess-disc-none-started { + type uint64; + description + "Session Disconnect Requests not Dequeued, no + quota"; + } + leaf sess-disc-quota { + type uint32; + description + "Session Disconnect Quota"; + } + leaf sess-disc-quota-remaining { + type uint32; + description + "Session Disconnect Quota Remaining"; + } + leaf sess-disc-q-count { + type uint32; + description + "Session Disconnect Requests Queued"; + } + } + + grouping IEDGE-STATS-CH-REQ-STATS { + description + "Change of authorization request statistics"; + leaf received-requests { + type uint64; + description + "Received requests"; + } + leaf acknowledged-requests { + type uint64; + description + "Acknowledged requests"; + } + leaf non-acknowledged-requests { + type uint64; + description + "Non acknowledged requests"; + } + } + + grouping IEDGE-STATS-CH-DATA { + description + "Change of authorization statistics"; + container account-logon { + description + "Account logon request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container account-logoff { + description + "Account logoff request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container account-update { + description + "Account update request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container session-disconnect { + description + "Session disconnect request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container single-service-logon { + description + "Service logon request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container single-service-logoff { + description + "Single Service logoff request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container single-service-modify { + description + "Single Service Modify request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + container service-multi { + description + "MA-CoA Service request statistics"; + uses IEDGE-STATS-CH-REQ-STATS; + } + leaf unknown-account-cmd-resps { + type uint64; + description + "Responses to unknown account command"; + } + leaf unknown-service-cmd-resps { + type uint64; + description + "Responses to unknown service command"; + } + leaf unknown-cmd-resps { + type uint64; + description + "Responses to unknown command"; + } + leaf attr-list-retrieve-failure-resps { + type uint64; + description + "Responses to attribute list failure errors"; + } + leaf resp-send-failure { + type uint64; + description + "Response send failures"; + } + leaf internal-err-resps { + type uint64; + description + "Responses to internal error"; + } + leaf service-profile-push-failure-resps { + type uint64; + description + "Responses to service profile push failures"; + } + leaf no-cmd-resps { + type uint64; + description + "Responses empty (no command) COA request"; + } + leaf no-session-found-resps { + type uint64; + description + "Responses to COA with unknown session identifier"; + } + leaf no-session-peer-resps { + type uint64; + description + "Responses to session peer not found error"; + } + } + + grouping IEDGE-STATS-COORD-ALL-DATA { + description + "IEDGE STATS COORD ALL DATA"; + container accounting-statistics { + description + "List of stats for accounting"; + uses IEDGE-STATS-COORD-ACCT-DATA; + } + container authentication-statistics { + description + "List of stats for authentication"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container authorization-statistics { + description + "List of stats for authorization"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container change-of-authorization-statistics { + description + "List of stats for COA"; + uses IEDGE-STATS-CH-DATA; + } + container mobility-statistics { + description + "List of stats for Mobility"; + uses IEDGE-STATS-MOB-DATA; + } + } + + grouping IEDGE-STATS-MOB-DATA { + description + "Mobility statistics"; + leaf send-request-successes { + type uint64; + description + "Request send success"; + } + leaf send-request-failures { + type uint64; + description + "Request send failures"; + } + leaf receive-response-successes { + type uint64; + description + "Response receive success"; + } + leaf receive-response-failures { + type uint64; + description + "Response receive failures"; + } + } + + grouping IEDGE-STATS-COORD-AUTH-DATA { + description + "Authorization & authentication statistics"; + leaf sent-requests { + type uint64; + description + "Requests sent to radius server"; + } + leaf accepted-requests { + type uint64; + description + "Request accepted by Radius server"; + } + leaf successful-requests { + type uint64; + description + "Requests which are successful"; + } + leaf rejected-requests { + type uint64; + description + "Requests rejected by radius server"; + } + leaf unreachable-requests { + type uint64; + description + "Radius server not available"; + } + leaf errored-requests { + type uint64; + description + "Unexpected errors"; + } + leaf incomplete-requests { + type uint64; + description + "Incomplete requests - missing attributes"; + } + leaf terminated-requests { + type uint64; + description + "Requests terminated by disconnect"; + } + } + + grouping IEDGE-INTERIM-INFLIGHT-COORD-DATA { + description + "Interim inflight information"; + leaf quota-exhausts { + type uint32; + description + "Quota exhausts"; + } + leaf denied-requests { + type uint32; + description + "Denied requests"; + } + leaf accepted-requests { + type uint32; + description + "Accepted requests"; + } + leaf total-quota-of-requests { + type uint32; + description + "Total quota of requests"; + } + leaf remaining-quota-of-requests { + type uint32; + description + "Remaining quota of requests"; + } + leaf low-water-mark-quota-of-requests { + type uint32; + description + "Low water mark quota of requests"; + } + } + + grouping IEDGE-STATS-COORD-ACCT-REQ-STATS { + description + "AAA accounting request-response statistics"; + leaf received-requests { + type uint64; + description + "Received requests"; + } + leaf errored-requests { + type uint64; + description + "Errored requests"; + } + leaf aaa-errored-requests { + type uint64; + description + "AAA errored requests"; + } + leaf aaa-sent-requests { + type uint64; + description + "AAA requests sent"; + } + leaf aaa-succeeded-responses { + type uint64; + description + "AAA succeeded responses"; + } + leaf aaa-failed-responses { + type uint64; + description + "AAA failed responses"; + } + } + + grouping IEDGE-STATS-COORD-ACCT-DATA { + description + "AAA accounting statistics"; + container start { + description + "Start statistics"; + uses IEDGE-STATS-COORD-ACCT-REQ-STATS; + } + container stop { + description + "Stop statistics"; + uses IEDGE-STATS-COORD-ACCT-REQ-STATS; + } + container interim { + description + "Interim statistics"; + uses IEDGE-STATS-COORD-ACCT-REQ-STATS; + } + container pass-through { + description + "Pass-through statistics"; + uses IEDGE-STATS-COORD-ACCT-REQ-STATS; + } + container update { + description + "Update statistics"; + uses IEDGE-STATS-COORD-ACCT-REQ-STATS; + } + container interim-inflight { + description + "Interim inflight details"; + uses IEDGE-INTERIM-INFLIGHT-COORD-DATA; + } + leaf active-sessions { + type uint32; + description + "Active sessions"; + } + leaf started-sessions { + type uint64; + description + "Started sessions"; + } + leaf stopped-sessions { + type uint64; + description + "Stopped sessions"; + } + leaf policy-plane-errored-requests { + type uint64; + description + "Policy plane errored requests"; + } + leaf policy-plane-unknown-requests { + type uint64; + description + "Policy plane unknown requests"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper.yang new file mode 100644 index 0000000..ea7acdc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-iedge4710-oper.yang @@ -0,0 +1,521 @@ +module Cisco-IOS-XR-iedge4710-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-iedge4710-oper"; + prefix iedge4710-oper; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-iedge4710-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-iedge4710-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-iedge4710-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR iedge4710 package operational data. + + This module contains definitions + for the following management objects: + subscriber: Subscriber operational data + iedge-license-manager: iedge license manager + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Subscriber-author-state-filter-flag { + type enumeration { + enum "un-authorized" { + value 0; + description + "UnAuthorized"; + } + enum "authorized" { + value 1; + description + "Authorized"; + } + } + description + "Subscriber author state filter flag"; + } + + typedef Subscriber-address-family-filter-flag { + type enumeration { + enum "ipv4-only" { + value 0; + description + "IPv4 only"; + } + enum "ipv6-only" { + value 1; + description + "IPv6 only"; + } + enum "ipv4-all" { + value 2; + description + "IPv4 all"; + } + enum "ipv6-all" { + value 3; + description + "IPv6 all"; + } + enum "dual-all" { + value 4; + description + "Dual all"; + } + enum "dual-part-up" { + value 5; + description + "Dual part up"; + } + enum "dual-up" { + value 6; + description + "Dual up"; + } + enum "lac" { + value 7; + description + "LAC"; + } + } + description + "Subscriber address family filter flag"; + } + + typedef Subscriber-state-filter-flag { + type enumeration { + enum "initializing" { + value 0; + description + "Initializing"; + } + enum "connecting" { + value 1; + description + "Connecting"; + } + enum "connected" { + value 2; + description + "Connected"; + } + enum "activated" { + value 3; + description + "Activated"; + } + enum "idle" { + value 4; + description + "Idle"; + } + enum "disconnecting" { + value 5; + description + "Disconnecting"; + } + enum "end" { + value 6; + description + "End"; + } + } + description + "Subscriber state filter flag"; + } + + typedef Subscriber-authen-state-filter-flag { + type enumeration { + enum "un-authenticated" { + value 0; + description + "UnAuthenticated"; + } + enum "authenticated" { + value 1; + description + "Authenticated"; + } + } + description + "Subscriber authen state filter flag"; + } + + container subscriber { + config false; + description + "Subscriber operational data"; + container manager { + description + "Subscriber manager operational data"; + container nodes { + description + "Subscriber manager list of nodes"; + list node { + key "node-name"; + description + "Subscriber manager operational data for a + particular node"; + container statistics { + description + "Subscriber manager statistics"; + container aaa { + description + "AAA statistics"; + container aggregate-accounting { + description + "Aggregate accounting statistics"; + uses IEDGE-STATS-COORD-ACCT-DATA; + } + container authentication { + description + "Authentication statistics"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container aggregate-mobility { + description + "Aggregate mobility statistics"; + uses IEDGE-STATS-MOB-DATA; + } + container aggregate-authentication { + description + "Aggregate authentication statistics"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container accounting-stats-all { + description + "Display all subscriber management + statistics"; + uses IEDGE-STATS-COORD-ALL-DATA; + } + container change-of-authorization { + description + "Change of authorization (COA) statistics"; + uses IEDGE-STATS-CH-DATA; + } + container authorization { + description + "Authorization statistics"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container aggregate-authorization { + description + "Aggregate authorization statistics"; + uses IEDGE-STATS-COORD-AUTH-DATA; + } + container aggregate-accounting-stats-all { + description + "Display all subscriber management total + statistics"; + uses IEDGE-STATS-COORD-ALL-DATA; + } + container accounting { + description + "Accounting statistics"; + uses IEDGE-STATS-COORD-ACCT-DATA; + } + container mobility { + description + "Mobility statistics"; + uses IEDGE-STATS-MOB-DATA; + } + container aggregate-change-of-authorization { + description + "Aggregate change of authorization (COA) + statistics"; + uses IEDGE-STATS-CH-DATA; + } + } + container aggregate-summary { + description + "Aggregate summary of statistics"; + uses IEDGE-STATS-SUMMARY-DATA; + } + container srg { + description + "Geo Redundancy statistics"; + uses IEDGE-STATS-SRG-DATA; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container session { + description + "Subscriber session operational data"; + container nodes { + description + "List of subscriber session supported nodes"; + list node { + key "node-name"; + description + "Subscriber session operational data for a + particular node"; + container author-summaries { + description + "Summary information filtered by authorization + state"; + list author-summary { + key "author-state"; + description + "authorization summary"; + leaf author-state { + type Subscriber-author-state-filter-flag; + description + "Authorization state"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container summary { + description + "Subscriber session summary information"; + uses SUBSCRIBER-SESSION-SUMMARY; + } + container mac-summaries { + description + "Summary information filtered by MAC address"; + list mac-summary { + key "mac-address"; + description + "MAC address summary"; + leaf mac-address { + type yang:mac-address; + description + "Subscriber MAC address"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container interface-summaries { + description + "Summary information filtered by interface"; + list interface-summary { + key "interface-name"; + description + "Interface summary"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container authentication-summaries { + description + "Summary information filtered by + authentication state"; + list authentication-summary { + key "authentication-state"; + description + "authentication summary"; + leaf authentication-state { + type Subscriber-authen-state-filter-flag; + description + "Authentication state"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container state-summaries { + description + "Summary information filtered by session state"; + list state-summary { + key "state"; + description + "State summary"; + leaf state { + type Subscriber-state-filter-flag; + description + "Subscriber state"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container ipv4-address-vrf-summaries { + description + "Summary information filtered by IPv4 address + and VRF"; + list ipv4-address-vrf-summary { + description + "IPv4 address and VRF summary"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Subscriber IPv4 address"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container address-family-summaries { + description + "Summary information filtered by address + family"; + list address-family-summary { + key "address-family"; + description + "Address family summary"; + leaf address-family { + type Subscriber-address-family-filter-flag; + description + "Address family"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container username-summaries { + description + "Summary information filtered by username"; + list username-summary { + key "username"; + description + "Username summary"; + leaf username { + type xr:Cisco-ios-xr-string; + description + "Subscriber username"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container access-interface-summaries { + description + "Summary information filtered by access + interface"; + list access-interface-summary { + key "interface-name"; + description + "Access interface summary"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container ipv4-address-summaries { + description + "Summary information filtered by subscriber + IPv4 address"; + list ipv4-address-summary { + key "address"; + description + "IPv4 address summary"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Subscriber IPv4 address"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container vrf-summaries { + description + "Summary information filtered by VRF"; + list vrf-summary { + key "vrf-name"; + description + "VRF summary"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses SUBSCRIBER-SESSION-SUMMARY; + } + } + container sessions { + description + "IP subscriber sessions"; + list session { + key "session-id"; + description + "Subscriber session information"; + leaf session-id { + type xr:Hex-integer; + description + "Session ID"; + } + uses SUBSCRIBER-SESSION-DATA; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + } + container iedge-license-manager { + config false; + description + "iedge license manager"; + container nodes { + description + "Session License Manager operational data for a + location"; + list node { + key "nodeid"; + description + "Location. For example, 0/1/CPU0"; + container iedge-license-manager-summary { + description + "Display Session License Manager summary data"; + uses ISLM-SUMMARY-DATA; + } + leaf nodeid { + type xr:Node-id; + description + "The node id to filter on. For example, + 0/1/CPU0"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-cfg.yang new file mode 100644 index 0000000..430da62 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-cfg.yang @@ -0,0 +1,318 @@ +module Cisco-IOS-XR-ifmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg"; + prefix ifmgr-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ifmgr package configuration. + + This module contains definitions + for the following management objects: + global-interface-configuration: Global scoped configuration + for interfaces + interface-configurations: interface configurations + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Interface-mode-enum { + type enumeration { + enum "default" { + value 0; + description + "Default Interface Mode"; + } + enum "point-to-point" { + value 1; + description + "Point-to-Point Interface Mode"; + } + enum "multipoint" { + value 2; + description + "Multipoint Interface Mode"; + } + enum "l2-transport" { + value 3; + description + "L2 Transport Interface Mode"; + } + } + description + "Interface mode enum"; + } + + typedef Interface-active { + type string { + pattern "(act)|(pre)"; + } + description + "act:The interface is active, pre:Preconfiguration"; + } + + typedef Secondary-admin-state-enum { + type enumeration { + enum "normal" { + value 0; + description + "Normal Mode"; + } + enum "maintenance" { + value 1; + description + "Maintenance Mode"; + } + } + description + "Secondary admin state enum"; + } + + typedef Link-status-enum { + type enumeration { + enum "default" { + value 0; + description + "Display link status messages for physical links"; + } + enum "disable" { + value 1; + description + "Disable link status messages"; + } + enum "software-interfaces" { + value 2; + description + "Display link status messages for all interfaces"; + } + } + description + "Link status enum"; + } + + container global-interface-configuration { + description + "Global scoped configuration for interfaces"; + leaf link-status { + type Link-status-enum; + default "default"; + description + "Enable or disable link-status messages"; + } + } + container interface-configurations { + description + "interface configurations"; + list interface-configuration { + key "active interface-name"; + description + "The configuration for an interface"; + container dampening { + description + "Whether this interface's state changes are + dampened or not"; + leaf args { + type enumeration { + enum "default-values" { + value 0; + description + "Default values"; + } + enum "specify-half-life" { + value 1; + description + "Half Life Specified"; + } + enum "specify-all" { + value 4; + description + "All Arguments except Restart Penalty + Specified"; + } + enum "specify-rp" { + value 5; + description + "All Arguments Specified"; + } + } + description + "Dampening Arguments"; + } + leaf half-life { + when "../args = 'specify-half-life' or ../args = 'specify-all' or ../args = 'specify-rp'" { + description + "../Args = 1 or ../Args = 4 or ../Args = 5"; + } + type uint32 { + range "1..45"; + } + units "minute"; + description + "Decay half life (in minutes)"; + } + leaf reuse-threshold { + when "../args = 'specify-all' or ../args = 'specify-rp'" { + description + "../Args = 4 or ../Args = 5"; + } + type uint32 { + range "1..20000"; + } + description + "Reuse threshold"; + } + leaf suppress-threshold { + when "../args = 'specify-all' or ../args = 'specify-rp'" { + description + "../Args = 4 or ../Args = 5"; + } + type uint32 { + range "1..20000"; + } + description + "Suppress threshold"; + } + leaf suppress-time { + when "../args = 'specify-all' or ../args = 'specify-rp'" { + description + "../Args = 4 or ../Args = 5"; + } + type uint32 { + range "1..255"; + } + units "minute"; + description + "Max suppress time (in minutes)"; + } + leaf restart-penalty { + when "../args = 'specify-rp'" { + description + "../Args = 5"; + } + type uint32 { + range "0..20000"; + } + description + "Restart penalty"; + } + } + container mtus { + description + "The MTU configuration for the interface"; + list mtu { + key "owner"; + description + "The MTU for the interface"; + leaf owner { + type xr:Cisco-ios-xr-string; + description + "The Owner of the interface - eg. for + 'LoopbackX' main interface this is 'loopback'"; + } + leaf mtu { + type uint32 { + range "64..65535"; + } + mandatory true; + description + "The MTU value"; + } + } + } + container encapsulation { + description + "The encapsulation on the interface"; + leaf encapsulation { + type string; + description + "The encapsulation - e.g. hdlc, ppp"; + } + leaf capsulation-options { + type int32; + description + "The options for this capsulation, usually '0'"; + } + } + leaf shutdown { + type empty; + description + "The existence of this configuration indicates + the interface is shut down"; + } + leaf interface-virtual { + type empty; + description + "The mode in which an interface is running. The + existence of this object causes the creation of + the software virtual/subinterface."; + } + leaf secondary-admin-state { + type Secondary-admin-state-enum; + description + "The secondary admin state of the interface"; + } + leaf interface-mode-non-physical { + type Interface-mode-enum; + default "default"; + description + "The mode in which an interface is running. The + existence of this object causes the creation of + the software subinterface."; + } + leaf bandwidth { + type uint32 { + range "0..4294967295"; + } + units "kbit/s"; + description + "The bandwidth of the interface in kbps"; + } + leaf link-status { + type empty; + description + "Enable interface and line-protocol state change + alarms"; + } + leaf description { + type string; + description + "The description of this interface"; + } + leaf active { + type Interface-active; + description + "Whether the interface is active or + preconfigured"; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub1.yang new file mode 100644 index 0000000..c961a47 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub1.yang @@ -0,0 +1,115 @@ +submodule Cisco-IOS-XR-ifmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-ifmgr-oper { + prefix Cisco-IOS-XR-ifmgr-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ifmgr-oper-sub2 { + revision-date 2015-07-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ifmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping IMDS-IFATTR-BASE-INFO { + description + "Basic interface information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf parent-interface { + type xr:Interface-name; + description + "Parent Interface"; + } + leaf type { + type string; + description + "Interface type"; + } + leaf state { + type Im-state-enum; + description + "Operational state"; + } + leaf actual-state { + type Im-state-enum; + description + "Operational state with no translation of error + disable or shutdown"; + } + leaf line-state { + type Im-state-enum; + description + "Line protocol state"; + } + leaf actual-line-state { + type Im-state-enum; + description + "Line protocol state with no translation of error + disable or shutdown"; + } + leaf encapsulation { + type string; + description + "Interface encapsulation"; + } + leaf encapsulation-type-string { + type string { + length "0..32"; + } + description + "Interface encapsulation description string"; + } + leaf mtu { + type uint32; + units "byte"; + description + "MTU in bytes"; + } + leaf sub-interface-mtu-overhead { + type uint32; + description + "Subif MTU overhead"; + } + leaf l2-transport { + type boolean; + description + "L2 transport"; + } + leaf bandwidth { + type uint32; + description + "Interface bandwidth (Kb/s)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub2.yang new file mode 100644 index 0000000..f8b5e64 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper-sub2.yang @@ -0,0 +1,219 @@ +submodule Cisco-IOS-XR-ifmgr-oper-sub2 { + belongs-to Cisco-IOS-XR-ifmgr-oper { + prefix Cisco-IOS-XR-ifmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ifmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + grouping IM-SHOW-DAMP-NODE { + description + "IM SHOW DAMP NODE"; + container capsulation-dampening { + description + "Capsulation dampening"; + uses IM-SHOW-DAMP-NODE-INFO; + } + leaf capsulation-number { + type string; + description + "Capsulation number"; + } + } + + grouping IM-SHOW-DAMP-NODE-INFO { + description + "IM SHOW DAMP NODE INFO"; + leaf penalty { + type uint32; + description + "Dampening penalty of the interface"; + } + leaf is-suppressed-enabled { + type boolean; + description + "Flag showing if state is suppressed"; + } + leaf seconds-remaining { + type uint32; + units "second"; + description + "Remaining period of suppression in secs"; + } + leaf flaps { + type uint32; + description + "Number of underlying state flaps"; + } + leaf state { + type Im-state-enum; + description + "Underlying state of the node"; + } + } + + grouping IM-SHOW-DAMP-INFO { + description + "IM show dampening bag"; + container interface-dampening { + description + "Interface dampening"; + uses IM-SHOW-DAMP-NODE-INFO; + } + leaf state-transition-count { + type uint32; + description + "The number of times the state has changed"; + } + leaf last-state-transition-time { + type uint32; + description + "The time elasped after the last state transition"; + } + leaf is-dampening-enabled { + type boolean; + description + "Flag showing if dampening is enabled"; + } + leaf half-life { + type uint32; + units "minute"; + description + "Configured decay half life in mins"; + } + leaf reuse-threshold { + type uint32; + description + "Configured reuse threshold"; + } + leaf suppress-threshold { + type uint32; + description + "Value of suppress threshold"; + } + leaf maximum-suppress-time { + type uint32; + units "minute"; + description + "Maximum suppress time in mins"; + } + leaf restart-penalty { + type uint32; + description + "Configured restart penalty"; + } + list capsulation { + description + "Dampening information for capsulations"; + uses IM-SHOW-DAMP-NODE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper.yang new file mode 100644 index 0000000..d1e3a0e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ifmgr-oper.yang @@ -0,0 +1,212 @@ +module Cisco-IOS-XR-ifmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-oper"; + prefix ifmgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ifmgr-oper-sub2 { + revision-date 2015-07-30; + } + include Cisco-IOS-XR-ifmgr-oper-sub1 { + revision-date 2015-07-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ifmgr package operational data. + + This module contains definitions + for the following management objects: + interface-dampening: Interface dampening data + interface-properties: interface properties + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping INTERFACE-TABLE { + description + "Common node of system-view, locationview, + pq-node-location"; + container interfaces { + description + "Operational data for all interfaces and + controllers"; + list interface { + key "interface-name"; + description + "The operational attributes for a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IMDS-IFATTR-BASE-INFO; + } + } + } + + container interface-dampening { + config false; + description + "Interface dampening data"; + container interfaces { + description + "The interface list for which dampening info is + available"; + list interface { + key "interface-name"; + description + "The interface for which dampening info is being + queried"; + container if-dampening { + description + "Dampening info for the interface"; + uses IM-SHOW-DAMP-INFO; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the"; + } + } + } + container nodes { + description + "The location of the interface(s) being queried"; + list node { + key "node-name"; + description + "The location of the interface(s) being queried"; + container show { + description + "Show details for the interfaces"; + container dampening { + description + "Dampening information of the interface(s) + being queried"; + container if-handles { + description + "Interface handle for which dampening info + queried"; + list if-handle { + key "interface-handle-name"; + description + "Dampening info for the interface handle"; + leaf interface-handle-name { + type xr:Cisco-ios-xr-string; + description + "The interface handle"; + } + uses IM-SHOW-DAMP-INFO; + } + } + container interfaces { + description + "Table of interfaces for which dampening info + can be queried"; + list interface { + key "interface-name"; + description + "Dampening info for the interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the"; + } + uses IM-SHOW-DAMP-INFO; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "The location of the interface(s)"; + } + } + } + } + container interface-properties { + config false; + description + "interface properties"; + container data-nodes { + description + "Operational data for interfaces"; + list data-node { + key "data-node-name"; + description + "The location of a (D)RP in the same LR as the + interface being queried"; + container locationviews { + description + "Location-specific view of interface + operational data"; + list locationview { + key "locationview-name"; + description + "Operational data for all interfaces and + controllers on a particular node"; + leaf locationview-name { + type xr:Node-id; + description + "The location to filter on"; + } + uses INTERFACE-TABLE; + } + } + container pq-node-locations { + description + "Partially qualified Location-specific view of + interface operational data"; + list pq-node-location { + key "pq-node-name"; + description + "Operational data for all interfaces and + controllers on a particular pq_node"; + leaf pq-node-name { + type xr:Pq-node-id; + description + "The partially qualified location to filter + on"; + } + uses INTERFACE-TABLE; + } + } + container system-view { + description + "System-wide view of interface operational data"; + uses INTERFACE-TABLE; + } + leaf data-node-name { + type xr:Node-id; + description + "The location of the (D)RP"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-cfg.yang new file mode 100644 index 0000000..4473fa5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-cfg.yang @@ -0,0 +1,112 @@ +module Cisco-IOS-XR-infra-alarm-logger-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-cfg"; + prefix infra-alarm-logger-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-infra-alarm-logger-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-infra-syslog-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-alarm-logger package configuration. + + This YANG module augments the + Cisco-IOS-XR-infra-syslog-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-23 { + description + "Added pre-config suppression feature"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:syslog" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-syslog-cfg'"; + container alarm-logger { + description + "Alarm Logger Properties"; + container alarm-filter-strings { + description + "List of filter strings"; + list alarm-filter-string { + key "filter-string"; + description + "Match string to filter alarms"; + leaf filter-string { + type xr:Cisco-ios-xr-string; + description + "Filter String"; + } + } + } + leaf pre-config-suppression { + type empty; + description + "Suppress events from a card/VM till its + configuration is complete"; + } + leaf severity-level { + type dt1:Alarm-logger-severity-level; + description + "Log all events with equal or higher (lower + level) severity than this"; + } + leaf pre-config-suppression-timeout { + type uint32 { + range "1..60"; + } + units "minute"; + default "15"; + description + "Timeout (in minutes) for pre-config events + suppression (default 15)"; + } + leaf buffer-size { + type uint32 { + range "1024..1024000"; + } + description + "Set size of the local event buffer"; + } + leaf source-location { + type empty; + description + "Enable alarm source location in message text"; + } + leaf threshold { + type uint32 { + range "10..100"; + } + default "90"; + description + "Configure threshold (%) for capacity alarm"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang new file mode 100644 index 0000000..ced480a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-datatypes.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-infra-alarm-logger-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-datatypes"; + prefix infra-alarm-logger-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Alarm-logger-severity-level { + type enumeration { + enum "emergency" { + value 0; + description + "Emergency"; + } + enum "alert" { + value 1; + description + "Alert"; + } + enum "critical" { + value 2; + description + "Critical"; + } + enum "error" { + value 3; + description + "Error"; + } + enum "warning" { + value 4; + description + "Warning"; + } + enum "notice" { + value 5; + description + "Notice"; + } + enum "informational" { + value 6; + description + "Informational"; + } + } + description + "Alarm logger severity level"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang new file mode 100644 index 0000000..e35f1d6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper-sub1.yang @@ -0,0 +1,198 @@ +submodule Cisco-IOS-XR-infra-alarm-logger-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-alarm-logger-oper { + prefix Cisco-IOS-XR-infra-alarm-logger-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-alarm-logger package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Al-alarm-bistate { + type enumeration { + enum "not-available" { + value 0; + description + "not available"; + } + enum "active" { + value 1; + description + "active"; + } + enum "clear" { + value 2; + description + "clear"; + } + } + description + "Al alarm bistate"; + } + + typedef Al-alarm-severity { + type enumeration { + enum "unknown" { + value -1; + description + "unknown"; + } + enum "emergency" { + value 0; + description + "emergency"; + } + enum "alert" { + value 1; + description + "alert"; + } + enum "critical" { + value 2; + description + "critical"; + } + enum "error" { + value 3; + description + "error"; + } + enum "warning" { + value 4; + description + "warning"; + } + enum "notice" { + value 5; + description + "notice"; + } + enum "informational" { + value 6; + description + "informational"; + } + enum "debugging" { + value 7; + description + "debugging"; + } + } + description + "Al alarm severity"; + } + + grouping AL-ALDEMS-ALARM-BAG { + description + "Alarm-Logger alarm"; + leaf source-id { + type string; + description + "Source Identifier(Location).Indicates the node + in which the alarm was generated"; + } + leaf timestamp { + type uint64; + units "millisecond"; + description + "Time when the alarm was generated. It is + expressed in number of milliseconds since 00:00 + :00 UTC, January 1, 1970"; + } + leaf category { + type string; + description + "Category of the alarm"; + } + leaf group { + type string; + description + "Group of messages to which this alarm belongs to"; + } + leaf code { + type string; + description + "Alarm code which further qualifies the alarm + within a message group"; + } + leaf severity { + type Al-alarm-severity; + description + "Severity of the alarm"; + } + leaf state { + type Al-alarm-bistate; + description + "State of the alarm (bistate alarms only)"; + } + leaf correlation-id { + type uint32; + description + "Correlation Identifier"; + } + leaf is-admin { + type boolean; + description + "Indicates the event id admin-level"; + } + leaf additional-text { + type string; + description + "Full text of the Alarm"; + } + } + + grouping AL-LOGGING-INFO-BAG { + description + "Logging information"; + leaf log-buffer-size { + type uint32; + units "byte"; + description + "Current Logging Buffer Size (Bytes)"; + } + leaf max-log-buffer-size { + type uint32; + units "byte"; + description + "Maximum Logging Buffer Size (Bytes) "; + } + leaf record-count { + type uint32; + description + "Number of Records in the Buffer"; + } + leaf capacity-threshold { + type uint32; + units "percentage"; + description + "Percentage of the buffer utilization which, when + exceeded, triggers the generation of a + notification for the clients of the XML agent"; + } + leaf severity-filter { + type Al-alarm-severity; + description + "Severity Filter"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper.yang new file mode 100644 index 0000000..4c54fe7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-alarm-logger-oper.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-infra-alarm-logger-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-alarm-logger-oper"; + prefix infra-alarm-logger-oper; + + include Cisco-IOS-XR-infra-alarm-logger-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-alarm-logger package operational data. + + This module contains definitions + for the following management objects: + alarm-logger: Alarm Logger operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container alarm-logger { + config false; + description + "Alarm Logger operational data"; + container buffer-status { + description + "Describes buffer utilization and parameters + configured"; + uses AL-LOGGING-INFO-BAG; + } + container alarms { + description + "Table that contains the database of logged + alarms"; + list alarm { + key "event-id"; + description + "One of the logged alarms"; + leaf event-id { + type int32; + description + "Event ID"; + } + uses AL-ALDEMS-ALARM-BAG; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang new file mode 100644 index 0000000..4a38b10 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ceredundancymib-cfg.yang @@ -0,0 +1,62 @@ +module Cisco-IOS-XR-infra-ceredundancymib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ceredundancymib-cfg"; + prefix infra-ceredundancymib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-ceredundancymib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container entity-redundancy { + description + "CISCO-ENTITY-REDUNDANCY-MIB notification + configuration"; + leaf switchover { + type empty; + description + "Enable switchover notification"; + } + leaf enable { + type empty; + description + "Enable CISCO-ENTITY-REDUNDANCY-MIB notification"; + } + leaf status { + type empty; + description + "Enable status change notification"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-confcopymib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-confcopymib-cfg.yang new file mode 100644 index 0000000..93914cd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-confcopymib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-infra-confcopymib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-confcopymib-cfg"; + prefix infra-confcopymib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-confcopymib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container config-copy { + description + "CISCO-CONFIG-COPY-MIB notification configuration"; + leaf completion { + type empty; + description + "Enable ccCopyCompletion notification"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-cfg.yang new file mode 100644 index 0000000..4b3ac4c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-cfg.yang @@ -0,0 +1,552 @@ +module Cisco-IOS-XR-infra-correlator-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-cfg"; + prefix infra-correlator-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-infra-syslog-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-correlator package configuration. + + This YANG module augments the + Cisco-IOS-XR-infra-syslog-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CONTEXT-CORRELATION { + description + "Common node of non-stateful, stateful"; + leaf context-correlation { + type empty; + description + "Enable correlation on alarm context"; + } + } + + grouping NON-ROOT-CAUSE-TABLE { + description + "Common node of non-stateful, stateful"; + container non-root-causes { + description + "Table of configured non-rootcause"; + list non-root-cause { + key "category group message-code"; + description + "A non-rootcause"; + leaf category { + type string; + description + "Correlated message category"; + } + leaf group { + type string; + description + "Correlated message group"; + } + leaf message-code { + type string; + description + "Correlated message code"; + } + } + } + } + + grouping TIMEOUT-ROOT-CAUSE { + description + "Common node of non-stateful, stateful"; + leaf timeout-root-cause { + type uint32 { + range "1..7200000"; + } + units "millisecond"; + description + "Rootcause Timeout (time to wait for rootcause) + in milliseconds"; + } + } + + grouping APPLIED-TO { + description + "Common node of rule, rule-set"; + container applied-to { + description + "Applied to the Rule or Ruleset"; + container contexts { + description + "Table of configured contexts to apply"; + list context { + key "context"; + description + "A context"; + leaf context { + type string { + length "1..32"; + } + description + "Context"; + } + } + } + container locations { + description + "Table of configured locations to apply"; + list location { + key "location"; + description + "A location"; + leaf location { + type xr:Node-id; + description + "Location"; + } + } + } + leaf all { + type empty; + description + "Apply to all of the router"; + } + } + } + + grouping TIMEOUT { + description + "Common node of non-stateful, stateful"; + leaf timeout { + type uint32 { + range "1..7200000"; + } + units "millisecond"; + description + "Timeout (time to wait for active correlation) in + milliseconds"; + } + } + + grouping ROOT-CAUSE { + description + "Common node of non-stateful, stateful"; + container root-cause { + description + "The root cause"; + leaf category { + type string; + description + "Root message category"; + } + leaf group { + type string; + description + "Root message group"; + } + leaf message-code { + type string; + description + "Root message code"; + } + } + } + + augment "/a1:syslog" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-syslog-cfg'"; + container correlator { + description + "Configure properties of the event correlator"; + container rules { + description + "Table of configured rules"; + list rule { + key "name"; + description + "Rule name"; + container definition { + description + "Configure a specified correlation rule"; + leaf timeout { + type uint32 { + range "1..7200000"; + } + description + "Timeout (time the rule is to be active) in + milliseconds"; + } + leaf category-name-entry1 { + type string; + description + "Root message category name"; + } + leaf group-name-entry1 { + type string; + description + "Root message group name"; + } + leaf message-code-entry1 { + type string; + description + "Root message code"; + } + leaf category-name-entry2 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry2 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry2 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry3 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry3 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry3 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry4 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry4 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry4 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry5 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry5 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry5 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry6 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry6 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry6 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry7 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry7 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry7 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry8 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry8 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry8 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry9 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry9 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry9 { + type string; + description + "Correlated message code"; + } + leaf category-name-entry10 { + type string; + description + "Correlated message category name"; + } + leaf group-name-entry10 { + type string; + description + "Correlated message group name"; + } + leaf message-code-entry10 { + type string; + description + "Correlated message code"; + } + } + container non-stateful { + description + "The Non-Stateful Rule Type"; + uses CONTEXT-CORRELATION; + uses TIMEOUT-ROOT-CAUSE; + uses NON-ROOT-CAUSE-TABLE; + uses ROOT-CAUSE; + uses TIMEOUT; + } + container stateful { + description + "The Stateful Rule Type"; + leaf reparent { + type empty; + description + "Enable reparent of alarm on rootcause alarm + clear"; + } + leaf reissue { + type empty; + description + "Enable reissue of non-bistate alarms on + rootcause alarm clear"; + } + uses CONTEXT-CORRELATION; + uses TIMEOUT-ROOT-CAUSE; + uses NON-ROOT-CAUSE-TABLE; + uses ROOT-CAUSE; + uses TIMEOUT; + } + container apply-to { + description + "Apply the Rules"; + container contexts { + description + "Apply rule to a specified list of contexts, + e.g. interfaces"; + leaf-list context { + type string; + max-elements "32"; + description + "One or more context names"; + } + } + container locations { + description + "Apply rule to a specified list of Locations"; + leaf-list location { + type xr:Node-id; + max-elements "32"; + description + "One or more Locations"; + } + } + leaf all-of-router { + type empty; + description + "Apply the rule to all of the router"; + } + } + leaf name { + type string { + length "1..32"; + } + description + "Rule name"; + } + uses APPLIED-TO; + } + } + container rule-sets { + description + "Table of configured rulesets"; + list rule-set { + key "name"; + description + "Ruleset name"; + container rulenames { + description + "Table of configured rulenames"; + list rulename { + key "rulename"; + description + "A rulename"; + leaf rulename { + type string { + length "1..32"; + } + description + "Rule name"; + } + } + } + leaf name { + type string { + length "1..32"; + } + description + "Ruleset name"; + } + uses APPLIED-TO; + } + } + leaf buffer-size { + type uint32 { + range "1024..52428800"; + } + description + "Configure size of the correlator buffer"; + } + } + } + augment "/a1:syslog" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-syslog-cfg'"; + container suppression { + description + "Configure properties of the syslog/alarm + suppression"; + container rules { + description + "Table of configured rules"; + list rule { + key "name"; + description + "Rule name"; + container applied-to { + description + "Applied to the Rule"; + container sources { + description + "Table of configured sources to apply"; + list source { + key "source"; + description + "An alarm source"; + leaf source { + type xr:Node-id; + description + "Source"; + } + } + } + leaf all { + type empty; + description + "Apply to all of the router"; + } + } + container alarm-causes { + description + "Causes of alarms to be suppressed"; + list alarm-cause { + key "category group code"; + description + "Category, Group and Code of alarm/syslog to + be suppressed"; + leaf category { + type string { + length "1..32"; + } + description + "Category"; + } + leaf group { + type string { + length "1..32"; + } + description + "Group"; + } + leaf code { + type string { + length "1..32"; + } + description + "Code"; + } + } + } + leaf all-alarms { + type empty; + description + "Suppress all alarms"; + } + leaf name { + type string { + length "1..32"; + } + description + "Rule name"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper-sub1.yang new file mode 100644 index 0000000..6728164 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper-sub1.yang @@ -0,0 +1,462 @@ +submodule Cisco-IOS-XR-infra-correlator-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-correlator-oper { + prefix Cisco-IOS-XR-infra-correlator-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-correlator package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Al-alarm-bistate { + type enumeration { + enum "not-available" { + value 0; + description + "not available"; + } + enum "active" { + value 1; + description + "active"; + } + enum "clear" { + value 2; + description + "clear"; + } + } + description + "Al alarm bistate"; + } + + typedef Context { + type string { + length "0..33"; + } + description + "Context"; + } + + typedef Al-alarm-severity { + type enumeration { + enum "unknown" { + value -1; + description + "unknown"; + } + enum "emergency" { + value 0; + description + "emergency"; + } + enum "alert" { + value 1; + description + "alert"; + } + enum "critical" { + value 2; + description + "critical"; + } + enum "error" { + value 3; + description + "error"; + } + enum "warning" { + value 4; + description + "warning"; + } + enum "notice" { + value 5; + description + "notice"; + } + enum "informational" { + value 6; + description + "informational"; + } + enum "debugging" { + value 7; + description + "debugging"; + } + } + description + "Al alarm severity"; + } + + typedef Ac-rule-state { + type enumeration { + enum "rule-unapplied" { + value 0; + description + "Rule is in Unapplied state"; + } + enum "rule-applied" { + value 1; + description + "Rule is Applied to specified RacksSlots, + Contexts and Sources"; + } + enum "rule-applied-all" { + value 2; + description + "Rule is Applied to all of router"; + } + } + description + "Ac rule state"; + } + + grouping AC-RULE-DETAIL-BAG { + description + "Correlation Rule detail information"; + container rule-summary { + description + "Rule summary, name, etc"; + uses AC-RULE-SUMMARY-BAG; + } + leaf timeout { + type uint32; + description + "Time window (in ms) for which root/all messages + are kept in correlater before sending them to + the logger"; + } + leaf root-cause-timeout { + type uint32; + description + "Timeout before root cause alarm"; + } + leaf internal { + type boolean; + description + "True if the rule is internal"; + } + leaf reissue-non-bistate { + type boolean; + description + "Whether to reissue non-bistate alarms"; + } + leaf reparent { + type boolean; + description + "Reparent"; + } + leaf context-correlation { + type boolean; + description + "Whether context correlation is enabled"; + } + leaf-list apply-location { + type xr:Node-id; + description + "Locations (R/S/M) to which the rule is applied"; + } + leaf-list apply-context { + type Context; + description + "Contexts (Interfaces) to which the rule is + applied"; + } + list codes { + description + "Message codes defining the rule."; + uses AC-MSG-CODE; + } + } + + grouping AC-RULE-SUMMARY-BAG { + description + "Correlation Rule summary information"; + leaf rule-name-xr { + type string; + description + "Correlation Rule Name"; + } + leaf stateful { + type boolean; + description + "Whether the rule is stateful"; + } + leaf rule-state { + type Ac-rule-state; + description + "Applied state of the rule It could be not + applied, applied or applied to all"; + } + leaf buffered-alarms-count { + type uint32; + description + "Number of buffered alarms correlated to this + rule"; + } + } + + grouping AC-RULESET-DETAIL-BAG { + description + "Correlation Ruleset detail information"; + leaf rule-set-name-xr { + type string; + description + "Ruleset Name"; + } + list rules { + description + "Rules contained in a ruleset"; + uses AC-RULE-SUMMARY-BAG; + } + } + + grouping AC-RULESET-SUMMARY-BAG { + description + "Correlation Ruleset summary information"; + leaf rule-set-name-xr { + type string; + description + "Ruleset Name"; + } + } + + grouping AL-ALDEMS-ALARM-BAG { + description + "Alarm-Logger alarm"; + leaf source-id { + type string; + description + "Source Identifier(Location).Indicates the node + in which the alarm was generated"; + } + leaf timestamp { + type uint64; + units "millisecond"; + description + "Time when the alarm was generated. It is + expressed in number of milliseconds since 00:00 + :00 UTC, January 1, 1970"; + } + leaf category { + type string; + description + "Category of the alarm"; + } + leaf group { + type string; + description + "Group of messages to which this alarm belongs to"; + } + leaf code { + type string; + description + "Alarm code which further qualifies the alarm + within a message group"; + } + leaf severity { + type Al-alarm-severity; + description + "Severity of the alarm"; + } + leaf state { + type Al-alarm-bistate; + description + "State of the alarm (bistate alarms only)"; + } + leaf correlation-id { + type uint32; + description + "Correlation Identifier"; + } + leaf is-admin { + type boolean; + description + "Indicates the event id admin-level"; + } + leaf additional-text { + type string; + description + "Full text of the Alarm"; + } + } + + grouping AC-ALDEMS-ALARM-BAG { + description + "Correlator Alarm"; + container alarm-info { + description + "Correlated alarm information"; + uses AL-ALDEMS-ALARM-BAG; + } + leaf rule-name { + type string; + description + "Correlation rule name"; + } + leaf context { + type string; + description + "Context string for the alarm"; + } + } + + grouping AC-BUFFER-INFO-BAG { + description + "Correlator buffer usage information"; + leaf current-size { + type uint32; + description + "Current buffer usage"; + } + leaf configured-size { + type uint32; + description + "Configured buffer size"; + } + } + + grouping AC-RULE-INFO-BAG { + description + "Deprecated bag for correlation rule information"; + leaf rule-name-xr { + type string; + description + "Correlation Rule Name"; + } + leaf timeout { + type uint32; + description + "Time window (in ms) for which root/all messages + are kept in correlater before sending them to + the logger"; + } + leaf rule-state { + type Ac-rule-state; + description + "Applied state of the rule It could be not + applied, applied or applied to all"; + } + leaf-list apply-location { + type xr:Node-id; + max-elements "32"; + description + "Locations (R/S/M) to which the rule is applied"; + } + leaf-list apply-context { + type Context; + max-elements "32"; + description + "Contexts (Interfaces) to which the rule is + applied"; + } + list codes { + max-elements "10"; + description + "Message codes defining the rule."; + uses AC-MSG-CODE; + } + } + + grouping AC-MSG-CODE { + description + "MSG group code pair"; + leaf category { + type string; + description + "Category of messages to which this alarm belongs"; + } + leaf group { + type string; + description + "Group of messages to which this alarm belongs"; + } + leaf code { + type string; + description + "Alarm code which further qualifies the alarm + within a message group"; + } + } + + grouping AC-SUPPR-RULE-DETAIL-BAG { + description + "Suppress Rule detail information"; + container rule-summary { + description + "Rule summary, name, etc"; + uses AC-SUPPR-RULE-SUMMARY-BAG; + } + leaf all-alarms { + type boolean; + description + "Match any alarm"; + } + leaf alarm-severity { + type Al-alarm-severity; + description + "Severity level to suppress"; + } + leaf-list apply-source { + type xr:Node-id; + description + "Sources (R/S/M) to which the rule is applied"; + } + list codes { + description + "Message codes defining the rule."; + uses AC-MSG-CODE; + } + } + + grouping AC-SUPPR-RULE-SUMMARY-BAG { + description + "Suppress Rule summary information"; + leaf rule-name-xr { + type string; + description + "Suppress Rule Name"; + } + leaf rule-state { + type Ac-rule-state; + description + "Applied state of the rule It could be not + applied, applied or applied to all"; + } + leaf suppressed-alarms-count { + type uint32; + description + "Number of suppressed alarms associated with this + rule"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper.yang new file mode 100644 index 0000000..922c91a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-correlator-oper.yang @@ -0,0 +1,197 @@ +module Cisco-IOS-XR-infra-correlator-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-correlator-oper"; + prefix infra-correlator-oper; + + include Cisco-IOS-XR-infra-correlator-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-correlator package operational data. + + This module contains definitions + for the following management objects: + suppression: Suppression operational data + correlator: correlator + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container suppression { + config false; + description + "Suppression operational data"; + container rule-summaries { + description + "Table that contains the database of suppression + rule summary"; + list rule-summary { + key "rule-name"; + description + "One of the suppression rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Suppression Rule Name"; + } + uses AC-SUPPR-RULE-SUMMARY-BAG; + } + } + container rule-details { + description + "Table that contains the database of suppression + rule details"; + list rule-detail { + key "rule-name"; + description + "Details of one of the suppression rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Suppression Rule Name"; + } + uses AC-SUPPR-RULE-DETAIL-BAG; + } + } + } + container correlator { + config false; + description + "correlator"; + container rules { + description + "Table that contains the database of correlation + rules"; + list rule { + key "rule-name"; + description + "One of the correlation rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Correlation Rule Name"; + } + uses AC-RULE-INFO-BAG; + } + } + container buffer-status { + description + "Describes buffer utilization and parameters + configured"; + uses AC-BUFFER-INFO-BAG; + } + container alarms { + description + "Correlated alarms Table"; + list alarm { + key "alarm-id"; + description + "One of the correlated alarms"; + leaf alarm-id { + type int32; + description + "Alarm ID"; + } + uses AC-ALDEMS-ALARM-BAG; + } + } + container rule-set-summaries { + description + "Table that contains the ruleset summary info"; + list rule-set-summary { + key "rule-set-name"; + description + "Summary of one of the correlation rulesets"; + leaf rule-set-name { + type string { + length "1..32"; + } + description + "Ruleset Name"; + } + uses AC-RULESET-SUMMARY-BAG; + } + } + container rule-set-details { + description + "Table that contains the ruleset detail info"; + list rule-set-detail { + key "rule-set-name"; + description + "Detail of one of the correlation rulesets"; + leaf rule-set-name { + type string { + length "1..32"; + } + description + "Ruleset Name"; + } + uses AC-RULESET-DETAIL-BAG; + } + } + container rule-details { + description + "Table that contains the database of correlation + rule details"; + list rule-detail { + key "rule-name"; + description + "Details of one of the correlation rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Correlation Rule Name"; + } + uses AC-RULE-DETAIL-BAG; + } + } + container rule-summaries { + description + "Table that contains the database of correlation + rule summary"; + list rule-summary { + key "rule-name"; + description + "One of the correlation rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Correlation Rule Name"; + } + uses AC-RULE-SUMMARY-BAG; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-cfg.yang new file mode 100644 index 0000000..ee16286 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-cfg.yang @@ -0,0 +1,427 @@ +module Cisco-IOS-XR-infra-dumper-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-cfg"; + prefix infra-dumper-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-dumper package configuration. + + This module contains definitions + for the following management objects: + exception: Core dump configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-28 { + description + "Fix the schema for config exception"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Copy { + type enumeration { + enum "default" { + value 0; + description + "copy not configured"; + } + enum "copy" { + value 512; + description + "Dump to local memory: for time critical + processes"; + } + } + description + "Copy"; + } + + typedef Context { + type enumeration { + enum "default" { + value 0; + description + "context not configured"; + } + enum "context" { + value 65536; + description + "Dump context info only: Overrides other options + except for 'no-core'"; + } + } + description + "Context"; + } + + typedef Sharedmemory { + type enumeration { + enum "default" { + value 0; + description + "shared memory not configured"; + } + enum "shared-memory" { + value 2; + description + "Dump shared memory of the target process"; + } + } + description + "Sharedmemory"; + } + + typedef Sparse { + type enumeration { + enum "default" { + value 0; + description + "sparse not configured"; + } + enum "sparse" { + value 1024; + description + "Dump memory relevant to stack trace only: for + time critical processes"; + } + } + description + "Sparse"; + } + + typedef Nocore { + type enumeration { + enum "default" { + value 0; + description + "no core not configured"; + } + enum "no-core" { + value 131072; + description + "Disable core dump for the target process: + Overrides other options"; + } + } + description + "Nocore"; + } + + typedef Packetmemory { + type enumeration { + enum "default" { + value 0; + description + "packet memory not configured"; + } + enum "packet-memory" { + value 8; + description + "Dump packet memory of the target process"; + } + } + description + "Packetmemory"; + } + + typedef Skipcpuinfo { + type enumeration { + enum "default" { + value 0; + description + "skip-cpu-info not configured"; + } + enum "skip-cpu-info" { + value 4096; + description + "Skip CPU usage snapshot: for time critical + processes"; + } + } + description + "Skipcpuinfo"; + } + + typedef Mainmemory { + type enumeration { + enum "default" { + value 0; + description + "main memory not configured"; + } + enum "main-memory" { + value 1; + description + "Dump main memory of the target process"; + } + } + description + "Mainmemory"; + } + + container exception { + description + "Core dump configuration commands"; + container choice1 { + description + "Preference of the dump location"; + leaf compress { + type boolean; + must "../file-path"; + description + "Specify 'true' to compress core files dumped on + this path, 'false' to not compress"; + } + leaf lower-limit { + type uint32 { + range "0..4"; + } + must "../compress and ../file-path and ../filename and ../higher-limit"; + description + "Lower limit. This is required if Filename is + specified."; + } + leaf higher-limit { + type uint32 { + range "5..64"; + } + must "../compress and ../file-path and ../filename and ../lower-limit"; + description + "Higher limit. This is required if Filename is + specified."; + } + leaf file-path { + type string; + must "../compress"; + description + "Protocol and directory"; + } + leaf filename { + type string; + must "../compress and ../file-path and ../lower-limit and ../higher-limit"; + description + "Dump filename"; + } + } + container choice3 { + description + "Preference of the dump location"; + leaf compress { + type boolean; + must "../file-path"; + description + "Specify 'true' to compress core files dumped on + this path, 'false' to not compress"; + } + leaf lower-limit { + type uint32 { + range "0..4"; + } + must "../compress and ../file-path and ../filename and ../higher-limit"; + description + "Lower limit. This is required if Filename is + specified."; + } + leaf higher-limit { + type uint32 { + range "5..64"; + } + must "../compress and ../file-path and ../filename and ../lower-limit"; + description + "Higher limit. This is required if Filename is + specified."; + } + leaf file-path { + type string; + must "../compress"; + description + "Protocol and directory"; + } + leaf filename { + type string; + must "../compress and ../file-path and ../lower-limit and ../higher-limit"; + description + "Dump filename"; + } + } + container process-names { + description + "Specify per process configuration"; + list process-name { + key "processname"; + description + "Specify per process configuration"; + container core-option { + description + "Specify per process core option"; + leaf main-memoryval { + type Mainmemory; + default "default"; + description + "Dump main memory of the target process"; + } + leaf shared-memoryval { + type Sharedmemory; + default "default"; + description + "Dump shared memory of the target process"; + } + leaf packet-memoryval { + type Packetmemory; + default "default"; + description + "Dump packet memory of the target process"; + } + leaf copyval { + type Copy; + default "default"; + description + "Dump to local memory: for time critical + processes"; + } + leaf sparseval { + type Sparse; + default "default"; + description + "Dump memory relevant to stack trace only: for + time critical processes"; + } + leaf skipcpuinfoval { + type Skipcpuinfo; + default "default"; + description + "Skip CPU usage snapshot: for time critical + processes"; + } + leaf contextval { + type Context; + default "default"; + description + "Dump context info only: Overrides other + options except for 'no-core'"; + } + leaf nocoreval { + type Nocore; + default "default"; + description + "Disable core dump for the target process: + Overrides other options"; + } + } + leaf processname { + type xr:Cisco-ios-xr-string; + description + "Specify per process configuration"; + } + } + } + container choice2 { + description + "Preference of the dump location"; + leaf compress { + type boolean; + must "../file-path"; + description + "Specify 'true' to compress core files dumped on + this path, 'false' to not compress"; + } + leaf lower-limit { + type uint32 { + range "0..4"; + } + must "../compress and ../file-path and ../filename and ../higher-limit"; + description + "Lower limit. This is required if Filename is + specified."; + } + leaf higher-limit { + type uint32 { + range "5..64"; + } + must "../compress and ../file-path and ../filename and ../lower-limit"; + description + "Higher limit. This is required if Filename is + specified."; + } + leaf file-path { + type string; + must "../compress"; + description + "Protocol and directory"; + } + leaf filename { + type string; + must "../compress and ../file-path and ../lower-limit and ../higher-limit"; + description + "Dump filename"; + } + } + leaf sparse { + type boolean; + description + "Specify 'true' to enable sparse core dump, + 'false' to disable sparse core dump"; + } + leaf core-verification { + type boolean; + description + "Disable core file verification"; + } + leaf core-size { + type uint32 { + range "1..4095"; + } + description + "Only print out stack trace and create no core + file beyond this size"; + } + leaf kernel-debugger { + type empty; + description + "Enable kernel debugger"; + } + leaf packet-memory { + type boolean; + description + "Specify 'true' to dump packet memory for all + process, 'false' to disable dump of packet + memory"; + } + leaf sparse-size { + type uint32 { + range "1..4095"; + } + description + "Switch to sparse core dump at this size"; + } + leaf memory-threshold { + type uint32 { + range "3..40"; + } + units "percentage"; + description + "Give up core dump if specified free memory can + not be secured"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang new file mode 100644 index 0000000..0cc9220 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper-sub1.yang @@ -0,0 +1,268 @@ +submodule Cisco-IOS-XR-infra-dumper-exception-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-dumper-exception-oper { + prefix Cisco-IOS-XR-infra-dumper-exception-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-dumper-exception package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DISPLAY-SIZE-ST { + description + "displayConfiguration"; + leaf string { + type string; + description + "String "; + } + } + + grouping DISPLAY-KERNEL-TFTP-ROUTE-CONFIG-ST { + description + "displayConfiguration"; + leaf slot { + type uint32; + description + "Slot "; + } + leaf port { + type uint32; + description + "Port "; + } + leaf ip-addr { + type string; + description + "IP Address"; + } + leaf mask { + type string; + description + "Mask"; + } + leaf destination { + type string; + description + "Destination "; + } + leaf next-hop { + type string; + description + "NextHop "; + } + } + + grouping DISPLAY-KERNEL-CONFIGURATION-ST { + description + "displayFallback Configuration"; + leaf choice-fall-back { + type string; + description + "Choice "; + } + leaf path { + type string; + description + "Path "; + } + leaf file-name { + type string; + description + "Name of the File "; + } + leaf memory { + type string; + description + "Memory "; + } + } + + grouping DISPLAY-FALLBACK-CONFIGURATION-ST { + description + "displayFallback Configuration"; + leaf choice-fall-back { + type string; + description + "Choice "; + } + leaf path { + type string; + description + "Path "; + } + leaf compress { + type string; + description + "Compress on/off "; + } + leaf file-name { + type string; + description + "Name of the File "; + } + leaf boot-device-str { + type string; + description + "Boot Device String "; + } + leaf range-low { + type uint32; + description + "Range Low "; + } + leaf range-high { + type uint32; + description + "Range High "; + } + } + + grouping DISPLAY-CONFIGURATION-ST { + description + "display Configuration"; + leaf choice { + type string; + description + "Choice "; + } + leaf path { + type string; + description + "Path "; + } + leaf compress { + type string; + description + "Compress on/off "; + } + leaf file-name { + type string; + description + "Name of the File "; + } + leaf range-low { + type uint32; + description + "Range Low "; + } + leaf range-high { + type uint32; + description + "Range High "; + } + } + + grouping DUMPER-EXCEPTION-CONFIG-XML { + description + "Exception Information"; + container display-config1 { + description + "Display Configuration"; + uses DISPLAY-CONFIGURATION-ST; + } + container display-config2 { + description + "Display Configuration"; + uses DISPLAY-CONFIGURATION-ST; + } + container display-config3 { + description + "Display Configuration"; + uses DISPLAY-CONFIGURATION-ST; + } + container display-fall-back-config1 { + description + "Display fallback Configuration"; + uses DISPLAY-FALLBACK-CONFIGURATION-ST; + } + container display-fall-back-config2 { + description + "Display fallback Configuration"; + uses DISPLAY-FALLBACK-CONFIGURATION-ST; + } + container display-fall-back-config3 { + description + "Display fallback Configuration"; + uses DISPLAY-FALLBACK-CONFIGURATION-ST; + } + container kernel-config { + description + "Kernel Configuration"; + uses DISPLAY-KERNEL-CONFIGURATION-ST; + } + container kernel-route-config { + description + "Kernel Route Configuration"; + uses DISPLAY-KERNEL-TFTP-ROUTE-CONFIG-ST; + } + container core-size { + description + "Core Size"; + uses DISPLAY-SIZE-ST; + } + container memory-threshold { + description + "Memory Threshold "; + uses DISPLAY-SIZE-ST; + } + container proc-size { + description + "Proc Size"; + uses DISPLAY-SIZE-ST; + } + container qsize { + description + "QSIZE "; + uses DISPLAY-SIZE-ST; + } + leaf pak-mem { + type string; + description + "Pak MEM"; + } + leaf sparse { + type string; + description + "Sparse "; + } + leaf spr-size { + type string; + description + "Spr Size"; + } + leaf core-verification { + type string; + description + "Core Verification "; + } + leaf dump-time-out { + type string; + description + "Dump Timeout "; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper.yang new file mode 100644 index 0000000..6ac76ec --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-exception-oper.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-infra-dumper-exception-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-exception-oper"; + prefix infra-dumper-exception-oper; + + include Cisco-IOS-XR-infra-dumper-exception-oper-sub1 { + revision-date 2017-05-05; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-dumper-exception package operational data. + + This module contains definitions + for the following management objects: + exception: Show all exception dump configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container exception { + config false; + description + "Show all exception dump configuration"; + container enter { + description + "exception bag"; + uses DUMPER-EXCEPTION-CONFIG-XML; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper-sub1.yang new file mode 100644 index 0000000..886640e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper-sub1.yang @@ -0,0 +1,193 @@ +submodule Cisco-IOS-XR-infra-dumper-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-dumper-oper { + prefix Cisco-IOS-XR-infra-dumper-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-dumper package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DUMPER-PKG-TABLE { + description + "Package Information"; + leaf name { + type string; + description + "Package name"; + } + leaf source { + type string; + description + "Package Source"; + } + } + + grouping DUMPER-DLL-TABLE { + description + "DLL Information"; + leaf path { + type string; + description + "DLL Path"; + } + leaf text-addr { + type uint32; + description + "text addr"; + } + leaf text-size { + type uint32; + description + "text size"; + } + leaf data-addr { + type uint32; + description + "data addr"; + } + leaf data-size { + type uint32; + description + "data size"; + } + leaf version { + type uint32; + description + "version"; + } + } + + grouping STACK-TRACE-ST { + description + "Stack Trace"; + leaf stack-trace { + type uint32; + description + "stack trace"; + } + } + + grouping CONTEXT-LOGS { + description + "Context of a process core"; + leaf process-name { + type string; + description + "Process name"; + } + leaf pid { + type uint32; + description + "Process ID"; + } + leaf tid { + type uint32; + description + "Thread ID"; + } + leaf core-dump-time { + type string; + description + "Core dump time/Crash time"; + } + leaf sig-num { + type uint32; + description + "Signal number"; + } + leaf sin-err-str { + type string; + description + "Signal error string"; + } + leaf sig-send-pid { + type uint32; + description + "Sender pid"; + } + leaf sig-code { + type uint32; + description + "Signal code"; + } + leaf sin-info { + type string; + description + "Signal info"; + } + leaf core-for-process { + type string; + description + "Core for process at "; + } + leaf registers-info { + type string; + description + "Registers Info"; + } + list stack-trace { + description + "Stack Trace"; + uses STACK-TRACE-ST; + } + list dll-info { + description + "DLL Information"; + uses DUMPER-DLL-TABLE; + } + } + + grouping DUMPER-CONTEXT-INFO-XML { + description + "Dumper Context of a process core"; + leaf node { + type string; + description + "Node name"; + } + list context-info { + description + "Context Information"; + uses CONTEXT-LOGS; + } + list crash-package-information { + description + "Crash Package Information"; + uses DUMPER-PKG-TABLE; + } + } + + grouping DUMPER-CRASH-INFO-XML { + description + "all crash info"; + list crash-info { + description + "All crash info"; + uses DUMPER-CONTEXT-INFO-XML; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper.yang new file mode 100644 index 0000000..88946af --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-dumper-oper.yang @@ -0,0 +1,131 @@ +module Cisco-IOS-XR-infra-dumper-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-dumper-oper"; + prefix infra-dumper-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-dumper-oper-sub1 { + revision-date 2017-05-05; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-dumper package operational data. + + This module contains definitions + for the following management objects: + context: Core dump configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Fix comp-mdata.pl for adding sub1 yang file to /pkg/yang"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ALL { + description + "Common node of context, context-number, + context-location"; + container all { + description + "context bag"; + uses DUMPER-CRASH-INFO-XML; + } + } + + grouping ENTER { + description + "Common node of location, number"; + container enter { + description + "Context info bag"; + uses DUMPER-CRASH-INFO-XML; + } + } + + container context { + config false; + description + "Core dump configuration commands"; + container context-numbers { + description + "Context number table"; + list context-number { + key "context-num"; + description + "Context number "; + container locations { + description + "Core Context location table"; + list location { + key "node-name"; + description + "Operational Context for a particular location"; + leaf node-name { + type xr:Node-id; + description + "The node"; + } + uses ENTER; + } + } + leaf context-num { + type int32; + description + "Context for which crash dump info required"; + } + uses ALL; + } + } + container context-locations { + description + "Core Context location table"; + list context-location { + key "node-name"; + description + "Operational Context for a particular location"; + container numbers { + description + "Context number Table"; + list number { + key "context-num"; + description + "Context number"; + leaf context-num { + type int32; + description + "Context for which crash dump info required"; + } + uses ENTER; + } + } + leaf node-name { + type xr:Node-id; + description + "The node"; + } + uses ALL; + } + } + uses ALL; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-cfg.yang new file mode 100644 index 0000000..32cc6fe --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-cfg.yang @@ -0,0 +1,94 @@ +module Cisco-IOS-XR-infra-infra-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-cfg"; + prefix infra-infra-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-infra package configuration. + + This module contains definitions + for the following management objects: + banners: Schema for Banner configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-16 { + description + "Initial Rev 1"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Banner { + type enumeration { + enum "exec" { + value 0; + description + "Set EXEC process creation banner"; + } + enum "incoming" { + value 1; + description + "Set incoming terminal line banner"; + } + enum "motd" { + value 2; + description + "Set Message of the Day banner"; + } + enum "login" { + value 3; + description + "Set login banner"; + } + enum "slip-ppp" { + value 4; + description + "Set Message for SLIP/PPP"; + } + enum "prompt-timeout" { + value 5; + description + "Set Message for login authentication timeout"; + } + } + description + "Banner"; + } + + container banners { + description + "Schema for Banner configuration commands"; + list banner { + key "banner-name"; + description + "Select a Banner Type"; + leaf banner-name { + type Banner; + description + "Banner Type"; + } + leaf banner-text { + type string; + mandatory true; + description + "Banner text message"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-cfg.yang new file mode 100644 index 0000000..3f484a9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-cfg.yang @@ -0,0 +1,251 @@ +module Cisco-IOS-XR-infra-infra-clock-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-cfg"; + prefix infra-infra-clock-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-infra-clock package configuration. + + This module contains definitions + for the following management objects: + clock: Configure time-of-day clock + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Clock-month { + type enumeration { + enum "january" { + value 0; + description + "January"; + } + enum "february" { + value 1; + description + "February"; + } + enum "march" { + value 2; + description + "March"; + } + enum "april" { + value 3; + description + "April"; + } + enum "may" { + value 4; + description + "May"; + } + enum "june" { + value 5; + description + "June"; + } + enum "july" { + value 6; + description + "July"; + } + enum "august" { + value 7; + description + "August"; + } + enum "september" { + value 8; + description + "September"; + } + enum "october" { + value 9; + description + "October"; + } + enum "november" { + value 10; + description + "November"; + } + enum "december" { + value 11; + description + "December"; + } + } + description + "Clock month"; + } + + typedef Clock-summer-time-mode { + type enumeration { + enum "recurring" { + value 0; + description + "Recurring summer time"; + } + enum "date" { + value 1; + description + "Absolute summer time"; + } + } + description + "Clock summer time mode"; + } + + container clock { + description + "Configure time-of-day clock"; + container summer-time { + presence "Indicates a summer-time node is configured."; + description + "Configure summer (daylight savings) time"; + leaf time-zone-name { + type string; + mandatory true; + description + "Name of time zone in summer"; + } + leaf mode { + type Clock-summer-time-mode; + mandatory true; + description + "Summer time mode"; + } + leaf start-week-number-or-start-date { + type uint32 { + range "1..31"; + } + description + " If Mode is set to 'Recurring' specify Week + number of the Month to start (first and last + strings are not allowed as they are in CLI) , + if Mode is set to 'Date' specify Date to start "; + } + leaf start-weekday-or-start-year { + type uint32 { + range "0..2035"; + } + description + " If Mode is set to 'Recurring' specify Weekday + to start , if Mode is set to 'Date' specify + Year to start "; + } + leaf start-month { + type Clock-month; + description + " Month to start "; + } + leaf start-hour { + type uint32 { + range "0..23"; + } + description + "Hour to start "; + } + leaf start-minute { + type uint32 { + range "0..59"; + } + description + "Minute to start "; + } + leaf end-week-number-or-end-date { + type uint32 { + range "1..31"; + } + description + "If Mode is set to 'Recurring' specify Week + number of the Month to end (first and last + strings are not allowed as they are in CLI), if + Mode is set to 'Date' specify Date to End"; + } + leaf end-weekday-or-end-year { + type uint32 { + range "0..2035"; + } + description + "If Mode is set to 'Recurring' specify Weekday + to end , if Mode is set to 'Date' specify Year + to end"; + } + leaf end-month { + type Clock-month; + description + " Month to end "; + } + leaf end-hour { + type uint32 { + range "0..23"; + } + description + "Hour to end "; + } + leaf end-minute { + type uint32 { + range "0..59"; + } + description + "Minute to end "; + } + leaf offset { + type uint32 { + range "1..1440"; + } + units "minute"; + description + "Offset to add in minutes "; + } + } + container time-zone { + presence "Indicates a time-zone node is configured."; + description + "Configure time zone"; + leaf time-zone-name { + type string; + mandatory true; + description + "Name of time zone"; + } + leaf hour-offset { + type int32 { + range "-23..23"; + } + units "hour"; + mandatory true; + description + "Hours offset from UTC"; + } + leaf minute-offset { + type uint32 { + range "0..59"; + } + units "minute"; + default "0"; + description + "Minutes offset from UTC"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang new file mode 100644 index 0000000..b605d05 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-clock-linux-cfg.yang @@ -0,0 +1,54 @@ +module Cisco-IOS-XR-infra-infra-clock-linux-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg"; + prefix infra-infra-clock-linux-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-infra-clock-linux package configuration. + + This module contains definitions + for the following management objects: + clock: Configure time-of-day clock + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container clock { + description + "Configure time-of-day clock"; + container time-zone { + presence "Indicates a time-zone node is configured."; + description + "Configure time zone"; + leaf time-zone-name { + type string; + mandatory true; + description + "Name of time zone"; + } + leaf area-name { + type string; + mandatory true; + description + "Area File in zoneinfo package"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-locale-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-locale-cfg.yang new file mode 100644 index 0000000..b13bbfa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-infra-locale-cfg.yang @@ -0,0 +1,1946 @@ +module Cisco-IOS-XR-infra-infra-locale-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-locale-cfg"; + prefix infra-infra-locale-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-infra-locale package configuration. + + This module contains definitions + for the following management objects: + locale: Define the geographical locale + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Locale-country { + type enumeration { + enum "ad" { + value 1; + description + "Andorra"; + } + enum "ae" { + value 2; + description + "United Arab Emirates"; + } + enum "af" { + value 3; + description + "Afghanistan"; + } + enum "ag" { + value 4; + description + "Antigua and Barbuda"; + } + enum "ai" { + value 5; + description + "Anguilla"; + } + enum "al" { + value 6; + description + "Albania"; + } + enum "am" { + value 7; + description + "Armenia"; + } + enum "an" { + value 8; + description + "Netherlands Antilles"; + } + enum "ao" { + value 9; + description + "Angola"; + } + enum "aq" { + value 10; + description + "Antarctica"; + } + enum "ar" { + value 11; + description + "Argentina"; + } + enum "as" { + value 12; + description + "American Samoa"; + } + enum "at" { + value 13; + description + "Austria"; + } + enum "au" { + value 14; + description + "Australia"; + } + enum "aw" { + value 15; + description + "Aruba"; + } + enum "az" { + value 16; + description + "Azerbaijan"; + } + enum "ba" { + value 17; + description + "Bosnia and Herzegovina"; + } + enum "bb" { + value 18; + description + "Barbados"; + } + enum "bd" { + value 19; + description + "Bangladesh"; + } + enum "be" { + value 20; + description + "Belgium"; + } + enum "bf" { + value 21; + description + "Burkina Faso"; + } + enum "bg" { + value 22; + description + "Bulgaria"; + } + enum "bh" { + value 23; + description + "Bahrain"; + } + enum "bi" { + value 24; + description + "Burundi"; + } + enum "bj" { + value 25; + description + "Benin"; + } + enum "bm" { + value 26; + description + "Bermuda"; + } + enum "bn" { + value 27; + description + "Brunei Darussalam"; + } + enum "bo" { + value 28; + description + "Bolivia"; + } + enum "br" { + value 29; + description + "Brazil"; + } + enum "bs" { + value 30; + description + "Bahamas"; + } + enum "bt" { + value 31; + description + "Bhutan"; + } + enum "bv" { + value 32; + description + "Bouvet Island"; + } + enum "bw" { + value 33; + description + "Botswana"; + } + enum "by" { + value 34; + description + "Belarus"; + } + enum "bz" { + value 35; + description + "Belize"; + } + enum "ca" { + value 36; + description + "Canada"; + } + enum "cc" { + value 37; + description + "Cocos (Keeling) Islands"; + } + enum "cd" { + value 38; + description + "Congo, The Democratic Republic of the (Zaire)"; + } + enum "cf" { + value 39; + description + "Central African Republic"; + } + enum "cg" { + value 40; + description + "Congo"; + } + enum "ch" { + value 41; + description + "Switzerland"; + } + enum "ci" { + value 42; + description + "Cote D'Ivoire"; + } + enum "ck" { + value 43; + description + "Cook Islands"; + } + enum "cl" { + value 44; + description + "Chile"; + } + enum "cm" { + value 45; + description + "Cameroon"; + } + enum "cn" { + value 46; + description + "China"; + } + enum "co" { + value 47; + description + "Colombia"; + } + enum "cr" { + value 48; + description + "Costa Rica"; + } + enum "cu" { + value 49; + description + "Cuba"; + } + enum "cv" { + value 50; + description + "Cape Verde"; + } + enum "cx" { + value 51; + description + "Christmas Island"; + } + enum "cy" { + value 52; + description + "Cyprus"; + } + enum "cz" { + value 53; + description + "Czech Republic"; + } + enum "de" { + value 54; + description + "Germany"; + } + enum "dj" { + value 55; + description + "Djibouti"; + } + enum "dk" { + value 56; + description + "Denmark"; + } + enum "dm" { + value 57; + description + "Dominica"; + } + enum "do" { + value 58; + description + "Dominican Republic"; + } + enum "dz" { + value 59; + description + "Algeria"; + } + enum "ec" { + value 60; + description + "Ecuador"; + } + enum "ee" { + value 61; + description + "Estonia"; + } + enum "eg" { + value 62; + description + "Egypt"; + } + enum "eh" { + value 63; + description + "Western Sahara"; + } + enum "er" { + value 64; + description + "Eritrea"; + } + enum "es" { + value 65; + description + "Spain"; + } + enum "et" { + value 66; + description + "Ethiopia"; + } + enum "fi" { + value 67; + description + "Finland"; + } + enum "fj" { + value 68; + description + "Fiji"; + } + enum "fk" { + value 69; + description + "Falkland Islands (Malvinas)"; + } + enum "fm" { + value 70; + description + "Micronesia, Federated States of"; + } + enum "fo" { + value 71; + description + "Faroe Islands"; + } + enum "fr" { + value 72; + description + "France"; + } + enum "ga" { + value 73; + description + "Gabon"; + } + enum "gb" { + value 74; + description + "United Kingdom"; + } + enum "gd" { + value 75; + description + "Grenada"; + } + enum "ge" { + value 76; + description + "Georgia"; + } + enum "gf" { + value 77; + description + "French Guiana"; + } + enum "gh" { + value 78; + description + "Ghana"; + } + enum "gi" { + value 79; + description + "Gibraltar"; + } + enum "gl" { + value 80; + description + "Greenland"; + } + enum "gm" { + value 81; + description + "Gambia"; + } + enum "gn" { + value 82; + description + "Guinea"; + } + enum "gp" { + value 83; + description + "Guadeloupe"; + } + enum "gq" { + value 84; + description + "Equatorial Guinea"; + } + enum "gr" { + value 85; + description + "Greece"; + } + enum "gs" { + value 86; + description + "South Georgia and the South Sandwich Islands"; + } + enum "gt" { + value 87; + description + "Guatemala"; + } + enum "gu" { + value 88; + description + "Guam"; + } + enum "gw" { + value 89; + description + "Guinea Bissau"; + } + enum "gy" { + value 90; + description + "Guyana"; + } + enum "hk" { + value 91; + description + "Hong Kong"; + } + enum "hm" { + value 92; + description + "Heard Island and McDonald Islands"; + } + enum "hn" { + value 93; + description + "Honduras"; + } + enum "hr" { + value 94; + description + "Croatia"; + } + enum "ht" { + value 95; + description + "Haiti"; + } + enum "hu" { + value 96; + description + "Hungary"; + } + enum "id" { + value 97; + description + "Indonesia"; + } + enum "ie" { + value 98; + description + "Ireland"; + } + enum "il" { + value 99; + description + "Israel"; + } + enum "in" { + value 100; + description + "India"; + } + enum "io" { + value 101; + description + "British Indian Ocean Territory"; + } + enum "iq" { + value 102; + description + "Iraq"; + } + enum "ir" { + value 103; + description + "Iran, Islamic Republic of"; + } + enum "is" { + value 104; + description + "Iceland"; + } + enum "it" { + value 105; + description + "Italy"; + } + enum "jm" { + value 106; + description + "Jamaica"; + } + enum "jo" { + value 107; + description + "Jordan"; + } + enum "jp" { + value 108; + description + "Japan"; + } + enum "ke" { + value 109; + description + "Kenya"; + } + enum "kg" { + value 110; + description + "Kyrgyzstan"; + } + enum "kh" { + value 111; + description + "Cambodia"; + } + enum "ki" { + value 112; + description + "Kiribati"; + } + enum "km" { + value 113; + description + "Comoros"; + } + enum "kn" { + value 114; + description + "Saint Kitts and Nevis"; + } + enum "kp" { + value 115; + description + "Korea, Democratic People's Republic of"; + } + enum "kr" { + value 116; + description + "Korea, Republic of"; + } + enum "kw" { + value 117; + description + "Kuwait"; + } + enum "ky" { + value 118; + description + "Cayman Islands"; + } + enum "kz" { + value 119; + description + "Kazakstan"; + } + enum "la" { + value 120; + description + "Lao People's Democratic Republic"; + } + enum "lb" { + value 121; + description + "Lebanon"; + } + enum "lc" { + value 122; + description + "Saint Lucia"; + } + enum "li" { + value 123; + description + "Liechtenstein"; + } + enum "lk" { + value 124; + description + "Sri Lanka"; + } + enum "lr" { + value 125; + description + "Liberia"; + } + enum "ls" { + value 126; + description + "Lesotho"; + } + enum "lt" { + value 127; + description + "Lithuania"; + } + enum "lu" { + value 128; + description + "Luxembourg"; + } + enum "lv" { + value 129; + description + "Latvia"; + } + enum "ly" { + value 130; + description + "Libyan Arab Jamahiriya"; + } + enum "ma" { + value 131; + description + "Morocco"; + } + enum "mc" { + value 132; + description + "Monaco"; + } + enum "md" { + value 133; + description + "Moldova, Republic of"; + } + enum "mg" { + value 134; + description + "Madagascar"; + } + enum "mh" { + value 135; + description + "Marshall Islands"; + } + enum "mk" { + value 136; + description + "Macedonia, The Former Yugoslav Republic of"; + } + enum "ml" { + value 137; + description + "Mali"; + } + enum "mm" { + value 138; + description + "Myanmar"; + } + enum "mn" { + value 139; + description + "Mongolia"; + } + enum "mo" { + value 140; + description + "Macau"; + } + enum "mp" { + value 141; + description + "Northern Mariana Islands"; + } + enum "mq" { + value 142; + description + "Martinique"; + } + enum "mr" { + value 143; + description + "Mauritania"; + } + enum "ms" { + value 144; + description + "Montserrat"; + } + enum "mt" { + value 145; + description + "Malta"; + } + enum "mu" { + value 146; + description + "Mauritius"; + } + enum "mv" { + value 147; + description + "Maldives"; + } + enum "mw" { + value 148; + description + "Malawi"; + } + enum "mx" { + value 149; + description + "Mexico"; + } + enum "my" { + value 150; + description + "Malaysia"; + } + enum "mz" { + value 151; + description + "Mozambique"; + } + enum "na" { + value 152; + description + "Namibia"; + } + enum "nc" { + value 153; + description + "New Caledonia"; + } + enum "ne" { + value 154; + description + "Niger"; + } + enum "nf" { + value 155; + description + "Norfolk Island"; + } + enum "ng" { + value 156; + description + "Nigeria"; + } + enum "ni" { + value 157; + description + "Nicaragua"; + } + enum "nl" { + value 158; + description + "Netherlands"; + } + enum "no" { + value 159; + description + "Norway"; + } + enum "np" { + value 160; + description + "Nepal"; + } + enum "nr" { + value 161; + description + "Nauru"; + } + enum "nu" { + value 162; + description + "Niue"; + } + enum "nz" { + value 163; + description + "New Zealand"; + } + enum "om" { + value 164; + description + "Oman"; + } + enum "pa" { + value 165; + description + "Panama"; + } + enum "pe" { + value 166; + description + "Peru"; + } + enum "pf" { + value 167; + description + "French Polynesia"; + } + enum "pg" { + value 168; + description + "Papua New Guinea"; + } + enum "ph" { + value 169; + description + "Philippines"; + } + enum "pk" { + value 170; + description + "Pakistan"; + } + enum "pl" { + value 171; + description + "Poland"; + } + enum "pm" { + value 172; + description + "Saint Pierre and Miquelon"; + } + enum "pn" { + value 173; + description + "Pitcairn"; + } + enum "pr" { + value 174; + description + "Puerto Rico"; + } + enum "pt" { + value 175; + description + "Portugal"; + } + enum "pw" { + value 176; + description + "Palau"; + } + enum "py" { + value 177; + description + "Paraguay"; + } + enum "qa" { + value 178; + description + "Qatar"; + } + enum "re" { + value 179; + description + "Reunion"; + } + enum "ro" { + value 180; + description + "Romania"; + } + enum "ru" { + value 181; + description + "Russian Federation"; + } + enum "rw" { + value 182; + description + "Rwanda"; + } + enum "sa" { + value 183; + description + "Saudi Arabia"; + } + enum "sb" { + value 184; + description + "Solomon Islands"; + } + enum "sc" { + value 185; + description + "Seychelles"; + } + enum "sd" { + value 186; + description + "Sudan"; + } + enum "se" { + value 187; + description + "Sweden"; + } + enum "sg" { + value 188; + description + "Singapore"; + } + enum "sh" { + value 189; + description + "Saint Helena"; + } + enum "si" { + value 190; + description + "Slovenia"; + } + enum "sj" { + value 191; + description + "Svalbard and Jan Mayen"; + } + enum "sk" { + value 192; + description + "Slovakia"; + } + enum "sl" { + value 193; + description + "Sierra Leone"; + } + enum "sm" { + value 194; + description + "San Marino"; + } + enum "sn" { + value 195; + description + "Senegal"; + } + enum "so" { + value 196; + description + "Somalia"; + } + enum "sr" { + value 197; + description + "Suriname"; + } + enum "st" { + value 198; + description + "Sao Tome and Principe"; + } + enum "sv" { + value 199; + description + "El Salvador"; + } + enum "sy" { + value 200; + description + "Syrian Arab Republic"; + } + enum "sz" { + value 201; + description + "Swaziland"; + } + enum "tc" { + value 202; + description + "Turks and Caicos Islands"; + } + enum "td" { + value 203; + description + "Chad"; + } + enum "tf" { + value 204; + description + "French Southern Territories"; + } + enum "tg" { + value 205; + description + "Togo"; + } + enum "th" { + value 206; + description + "Thailand"; + } + enum "tj" { + value 207; + description + "Tajikistan"; + } + enum "tk" { + value 208; + description + "Tokelau"; + } + enum "tm" { + value 209; + description + "Turkmenistan"; + } + enum "tn" { + value 210; + description + "Tunisia"; + } + enum "to" { + value 211; + description + "Tonga"; + } + enum "tp" { + value 212; + description + "East Timor"; + } + enum "tr" { + value 213; + description + "Turkey"; + } + enum "tt" { + value 214; + description + "Trinidad and Tobago"; + } + enum "tv" { + value 215; + description + "Tuvalu"; + } + enum "tw" { + value 216; + description + "Taiwan, Province of China"; + } + enum "tz" { + value 217; + description + "Tanzania, United Republic of"; + } + enum "ua" { + value 218; + description + "Ukraine"; + } + enum "ug" { + value 219; + description + "Uganda"; + } + enum "um" { + value 220; + description + "United States Minor Outlying Islands"; + } + enum "us" { + value 221; + description + "United States"; + } + enum "uy" { + value 222; + description + "Uruguay"; + } + enum "uz" { + value 223; + description + "Uzbekistan"; + } + enum "va" { + value 224; + description + "Holy See (Vatican City State)"; + } + enum "vc" { + value 225; + description + "Saint Vincent and The Grenadines"; + } + enum "ve" { + value 226; + description + "Venezuela"; + } + enum "vg" { + value 227; + description + "Virgin Islands, British"; + } + enum "vi" { + value 228; + description + "Virgin Islands, U.S."; + } + enum "vn" { + value 229; + description + "Vietnam"; + } + enum "vu" { + value 230; + description + "Vanuatu"; + } + enum "wf" { + value 231; + description + "Wallis and Futuna"; + } + enum "ws" { + value 232; + description + "Samoa"; + } + enum "ye" { + value 233; + description + "Yemen"; + } + enum "yt" { + value 234; + description + "Mayotte"; + } + enum "yu" { + value 235; + description + "Yugoslavia"; + } + enum "za" { + value 236; + description + "South Africa"; + } + enum "zm" { + value 237; + description + "Zambia"; + } + enum "zw" { + value 238; + description + "Zimbabwe"; + } + } + description + "Locale country"; + } + + typedef Locale-language { + type enumeration { + enum "aa" { + value 1; + description + "Afar"; + } + enum "ab" { + value 2; + description + "Abkhazian"; + } + enum "af" { + value 3; + description + "Afrikaans"; + } + enum "am" { + value 4; + description + "Amharic"; + } + enum "ar" { + value 5; + description + "Arabic"; + } + enum "as" { + value 6; + description + "Assamese"; + } + enum "ay" { + value 7; + description + "Aymara"; + } + enum "az" { + value 8; + description + "Azerbaijani"; + } + enum "ba" { + value 9; + description + "Bashkir"; + } + enum "be" { + value 10; + description + "Byelorussian"; + } + enum "bg" { + value 11; + description + "Bulgarian"; + } + enum "bh" { + value 12; + description + "Bihari"; + } + enum "bi" { + value 13; + description + "Bislama"; + } + enum "bn" { + value 14; + description + "Bengali"; + } + enum "bo" { + value 15; + description + "Tibetan"; + } + enum "br" { + value 16; + description + "Breton"; + } + enum "ca" { + value 17; + description + "Catalan"; + } + enum "co" { + value 18; + description + "Corsican"; + } + enum "cs" { + value 19; + description + "Czech"; + } + enum "cy" { + value 20; + description + "Welsh"; + } + enum "da" { + value 21; + description + "Danish"; + } + enum "de" { + value 22; + description + "German"; + } + enum "dz" { + value 23; + description + "Bhutani"; + } + enum "el" { + value 24; + description + "Greek"; + } + enum "en" { + value 25; + description + "English"; + } + enum "eo" { + value 26; + description + "Esperanto"; + } + enum "es" { + value 27; + description + "Spanish"; + } + enum "et" { + value 28; + description + "Estonian"; + } + enum "eu" { + value 29; + description + "Basque"; + } + enum "fa" { + value 30; + description + "Persian"; + } + enum "fi" { + value 31; + description + "Finnish"; + } + enum "fj" { + value 32; + description + "Fiji"; + } + enum "fo" { + value 33; + description + "Faroese"; + } + enum "fr" { + value 34; + description + "French"; + } + enum "fy" { + value 35; + description + "Frisian"; + } + enum "ga" { + value 36; + description + "Irish"; + } + enum "gd" { + value 37; + description + "Scots Gaelic"; + } + enum "gl" { + value 38; + description + "Galician"; + } + enum "gn" { + value 39; + description + "Guarani"; + } + enum "gu" { + value 40; + description + "Gujarati"; + } + enum "ha" { + value 41; + description + "Hausa"; + } + enum "he" { + value 42; + description + "Hebrew"; + } + enum "hi" { + value 43; + description + "Hindi"; + } + enum "hr" { + value 44; + description + "Croatian"; + } + enum "hu" { + value 45; + description + "Hungarian"; + } + enum "hy" { + value 46; + description + "Armenian"; + } + enum "ia" { + value 47; + description + "Interlingua"; + } + enum "id" { + value 48; + description + "Indonesian"; + } + enum "ie" { + value 49; + description + "Interlingue"; + } + enum "ik" { + value 50; + description + "Inupiak"; + } + enum "is" { + value 51; + description + "Icelandic"; + } + enum "it" { + value 52; + description + "Italian"; + } + enum "iu" { + value 53; + description + "Inuktitut"; + } + enum "ja" { + value 54; + description + "Japanese"; + } + enum "jw" { + value 55; + description + "Javanese"; + } + enum "ka" { + value 56; + description + "Georgian"; + } + enum "kk" { + value 57; + description + "Kazakh"; + } + enum "kl" { + value 58; + description + "Greenlandic"; + } + enum "km" { + value 59; + description + "Cambodian"; + } + enum "kn" { + value 60; + description + "Kannada"; + } + enum "ko" { + value 61; + description + "Korean"; + } + enum "ks" { + value 62; + description + "Kashmiri"; + } + enum "ku" { + value 63; + description + "Kurdish"; + } + enum "ky" { + value 64; + description + "Kirghiz"; + } + enum "la" { + value 65; + description + "Latin"; + } + enum "ln" { + value 66; + description + "Lingala"; + } + enum "lo" { + value 67; + description + "Laothian"; + } + enum "lt" { + value 68; + description + "Lithuanian"; + } + enum "lv" { + value 69; + description + "Latvian, Lettish"; + } + enum "mg" { + value 70; + description + "Malagasy"; + } + enum "mi" { + value 71; + description + "Maori"; + } + enum "mk" { + value 72; + description + "Macedonian"; + } + enum "ml" { + value 73; + description + "Malayalam"; + } + enum "mn" { + value 74; + description + "Mongolian"; + } + enum "mo" { + value 75; + description + "Moldavian"; + } + enum "mr" { + value 76; + description + "Marathi"; + } + enum "ms" { + value 77; + description + "Malay"; + } + enum "mt" { + value 78; + description + "Maltese"; + } + enum "my" { + value 79; + description + "Burmese"; + } + enum "na" { + value 80; + description + "Nauru"; + } + enum "ne" { + value 81; + description + "Nepali"; + } + enum "nl" { + value 82; + description + "Dutch"; + } + enum "no" { + value 83; + description + "Norwegian"; + } + enum "oc" { + value 84; + description + "Occitan"; + } + enum "om" { + value 85; + description + "(Afan) Oromo"; + } + enum "or" { + value 86; + description + "Oriya"; + } + enum "pa" { + value 87; + description + "Punjabi"; + } + enum "pl" { + value 88; + description + "Polish"; + } + enum "ps" { + value 89; + description + "Pashto, Pushto"; + } + enum "pt" { + value 90; + description + "Portuguese"; + } + enum "qu" { + value 91; + description + "Quechua"; + } + enum "rm" { + value 92; + description + "Rhaeto Romance"; + } + enum "rn" { + value 93; + description + "Kirundi"; + } + enum "ro" { + value 94; + description + "Romanian"; + } + enum "ru" { + value 95; + description + "Russian"; + } + enum "rw" { + value 96; + description + "Kinyarwanda"; + } + enum "sa" { + value 97; + description + "Sanskrit"; + } + enum "sd" { + value 98; + description + "Sindhi"; + } + enum "sg" { + value 99; + description + "Sangho"; + } + enum "sh" { + value 100; + description + "Serbo Croatian"; + } + enum "si" { + value 101; + description + "Sinhalese"; + } + enum "sk" { + value 102; + description + "Slovak"; + } + enum "sl" { + value 103; + description + "Slovenian"; + } + enum "sm" { + value 104; + description + "Samoan"; + } + enum "sn" { + value 105; + description + "Shona"; + } + enum "so" { + value 106; + description + "Somali"; + } + enum "sq" { + value 107; + description + "Albanian"; + } + enum "sr" { + value 108; + description + "Serbian"; + } + enum "ss" { + value 109; + description + "Siswati"; + } + enum "st" { + value 110; + description + "Sesotho"; + } + enum "su" { + value 111; + description + "Sundanese"; + } + enum "sv" { + value 112; + description + "Swedish"; + } + enum "sw" { + value 113; + description + "Swahili"; + } + enum "ta" { + value 114; + description + "Tamil"; + } + enum "te" { + value 115; + description + "Telugu"; + } + enum "tg" { + value 116; + description + "Tajik"; + } + enum "th" { + value 117; + description + "Thai"; + } + enum "ti" { + value 118; + description + "Tigrinya"; + } + enum "tk" { + value 119; + description + "Turkmen"; + } + enum "tl" { + value 120; + description + "Tagalog"; + } + enum "tn" { + value 121; + description + "Setswana"; + } + enum "to" { + value 122; + description + "Tonga"; + } + enum "tr" { + value 123; + description + "Turkish"; + } + enum "ts" { + value 124; + description + "Tsonga"; + } + enum "tt" { + value 125; + description + "Tatar"; + } + enum "tw" { + value 126; + description + "Twi"; + } + enum "ug" { + value 127; + description + "Uighur"; + } + enum "uk" { + value 128; + description + "Ukrainian"; + } + enum "ur" { + value 129; + description + "Urdu"; + } + enum "uz" { + value 130; + description + "Uzbek"; + } + enum "vi" { + value 131; + description + "Vietnamese"; + } + enum "vo" { + value 132; + description + "Volapuk"; + } + enum "wo" { + value 133; + description + "Wolof"; + } + enum "xh" { + value 134; + description + "Xhosa"; + } + enum "yi" { + value 135; + description + "Yiddish"; + } + enum "yo" { + value 136; + description + "Yoruba"; + } + enum "za" { + value 137; + description + "Zhuang"; + } + enum "zh" { + value 138; + description + "Chinese"; + } + enum "zu" { + value 139; + description + "Zulu"; + } + } + description + "Locale language"; + } + + container locale { + description + "Define the geographical locale"; + leaf country { + type Locale-country; + description + "Name of country locale"; + } + leaf language { + type Locale-language; + description + "Name of language locale"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ltrace-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ltrace-cfg.yang new file mode 100644 index 0000000..01eb065 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-ltrace-cfg.yang @@ -0,0 +1,126 @@ +module Cisco-IOS-XR-infra-ltrace-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-ltrace-cfg"; + prefix infra-ltrace-cfg; + + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-ltrace package configuration. + + This YANG module augments the + Cisco-IOS-XR-config-mda-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Infra-ltrace-mode { + type enumeration { + enum "static" { + value 1; + description + "Set ltrace memory allocation to static mode"; + } + enum "dynamic" { + value 2; + description + "Set ltrace memory allocation to dynamic mode"; + } + } + description + "Infra ltrace mode"; + } + + typedef Infra-ltrace-scale { + type enumeration { + enum "0" { + value 0; + description + "Use platform-defined scale-factor"; + } + enum "1" { + value 1; + description + "Do not scale down ltrace memory request"; + } + enum "2" { + value 2; + description + "Scale down ltrace memory request by 2"; + } + enum "4" { + value 4; + description + "Scale down ltrace memory request by 4"; + } + enum "8" { + value 8; + description + "Scale down ltrace memory request by 8"; + } + enum "16" { + value 16; + description + "Scale down ltrace memory request by 16"; + } + } + description + "Infra ltrace scale"; + } + + grouping NODE-CFG { + description + "active/preconfigured nodes configuration"; + container ltrace { + description + "Ltrace Memory configuration"; + container allocation-params { + description + "Select Ltrace mode and scale-factor"; + leaf mode { + type Infra-ltrace-mode; + description + "Select an allocation mode (static:1, dynamic + :2)"; + } + leaf scale-factor { + type Infra-ltrace-scale; + description + "Select a scaling down factor"; + } + } + } + } + + augment "/node:active-nodes/node:active-node" { + description + "This augment extends active nodes configuration"; + uses NODE-CFG; + } + augment "/node:preconfigured-nodes/node:preconfigured-node" { + description + "This augment extends preconfigured nodes + configuration"; + uses NODE-CFG; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-nsr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-nsr-cfg.yang new file mode 100644 index 0000000..12a92b5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-nsr-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-infra-nsr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-nsr-cfg"; + prefix infra-nsr-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-nsr package configuration. + + This module contains definitions + for the following management objects: + nsr: NSR global configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-27 { + description + "IOS XR 6.4.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container nsr { + description + "NSR global configuration"; + container process-failure { + description + "Recovery action for process failures on active + RP/DRP"; + leaf switchover { + type empty; + description + "Enable RP/DRP switchover on process failures"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-cfg.yang new file mode 100644 index 0000000..000d406 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-cfg.yang @@ -0,0 +1,903 @@ +module Cisco-IOS-XR-infra-objmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-cfg"; + prefix infra-objmgr-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-objmgr package configuration. + + This module contains definitions + for the following management objects: + object-group: Object-group configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Start-port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Start port"; + } + + typedef Port-operator { + type enumeration { + enum "equal" { + value 0; + description + "Match packets on ports equal to entered port + number"; + } + enum "not-equal" { + value 1; + description + "Match packets on ports not equal to entered + port number"; + } + enum "greater-than" { + value 2; + description + "Match packets on ports greater than entered + port number"; + } + enum "less-than" { + value 3; + description + "Match packets on ports less than entered port + number"; + } + } + description + "Port operator"; + } + + typedef Port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Port"; + } + + typedef End-port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "End port"; + } + + container object-group { + description + "Object-group configuration"; + container port { + description + "Port object group"; + container udf-objects { + description + "Table of port objects groups"; + list udf-object { + key "object-name"; + description + "Port object group"; + container operators { + description + "Table of port operators"; + list operator { + key "operator-type port"; + description + "op class"; + leaf operator-type { + type Port-operator; + description + "operation for ports"; + } + leaf port { + type Port; + description + "Port number"; + } + } + } + container nested-groups { + description + "Table of nested port object groups"; + list nested-group { + key "nested-group-name"; + description + "nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Name of a nested object group"; + } + } + } + container port-ranges { + description + "Table of port range addresses"; + list port-range { + key "start-port end-port"; + description + "Match only packets on a given port range"; + leaf start-port { + type Start-port; + description + "Port number"; + } + leaf end-port { + type End-port; + description + "Port number"; + } + } + } + leaf description { + type string { + length "1..100"; + } + description + "Up to 100 characters describing this object"; + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Port object group name - maximum 64 + characters"; + } + } + } + } + container network { + description + "Network object group"; + container ipv6 { + description + "IPv6 object group"; + container udf-objects { + description + "Table of ipv6 object groups"; + list udf-object { + key "object-name"; + description + "IPv6 object group"; + container nested-groups { + description + "Table of nested ipv6 object groups"; + list nested-group { + key "nested-group-name"; + description + "nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter the name of a nested object group"; + } + } + } + container address-ranges { + description + "Table of ipv6 address ranges"; + list address-range { + key "start-address end-address"; + description + "Range of host addresses"; + leaf start-address { + type inet:ip-address-no-zone; + description + "IPv6 address"; + } + leaf end-address { + type inet:ip-address-no-zone; + description + "IPv6 address"; + } + } + } + container addresses { + description + "Table of ipv6 addresses"; + list address { + key "prefix prefix-length"; + description + "IPv6 address"; + leaf prefix { + type inet:ip-address-no-zone; + description + "IPv6 prefix x:x::x/y"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix of the IP Address"; + } + } + } + container hosts { + description + "Table of ipv6 host addresses"; + list host { + key "host-address"; + description + "A single host address"; + leaf host-address { + type inet:ip-address-no-zone; + description + "host ipv6 address"; + } + } + } + leaf description { + type string { + length "1..100"; + } + description + "Up to 100 characters describing this object"; + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "IPv6 object group name - maximum 64 + characters"; + } + } + } + } + container ipv4 { + description + "IPv4 object group"; + container udf-objects { + description + "Table of ipv4 object groups"; + list udf-object { + key "object-name"; + description + "IPv4 object group"; + container nested-groups { + description + "Table of nested ipv4 object groups"; + list nested-group { + key "nested-group-name"; + description + "Nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + } + } + container address-ranges { + description + "Table of ipv4 host address ranges"; + list address-range { + key "start-address end-address"; + description + "Range of host addresses"; + leaf start-address { + type inet:ip-address-no-zone; + description + "IPv4 address"; + } + leaf end-address { + type inet:ip-address-no-zone; + description + "IPv4 address"; + } + } + } + container addresses { + description + "Table of addresses"; + list address { + key "prefix prefix-length"; + description + "IPv4 address"; + leaf prefix { + type inet:ip-address-no-zone; + description + "IPv4 address/prefix"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix of the IP Address"; + } + } + } + container hosts { + description + "Table of host addresses"; + list host { + key "host-address"; + description + "A single host address"; + leaf host-address { + type inet:ip-address-no-zone; + description + "Host ipv4 address"; + } + } + } + leaf description { + type string { + length "1..100"; + } + description + "Up to 100 characters describing this object"; + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "IPv4 object group name - maximum 64 + characters"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang new file mode 100644 index 0000000..32711fa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper-sub1.yang @@ -0,0 +1,167 @@ +submodule Cisco-IOS-XR-infra-objmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-objmgr-oper { + prefix Cisco-IOS-XR-infra-objmgr-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-objmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping OBJ-GROUP-IPV4-MEMBER-HOST { + description + "Member host address bag"; + leaf host-address-xr { + type inet:ipv4-address; + description + "Host address"; + } + } + + grouping OBJ-GROUP-IPV4-MEMBER-RANGE { + description + "Member range bag"; + leaf start-address-xr { + type inet:ipv4-address; + description + "Range start address"; + } + leaf end-address-xr { + type inet:ipv4-address; + description + "Range end address"; + } + } + + grouping OBJ-GROUP-IPV4-MEMBER-ADDRESS { + description + "Member address bag"; + leaf prefix-xr { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf prefix-length-xr { + type uint32; + description + "Prefix length"; + } + } + + grouping OBJ-GROUP-IPV6-MEMBER-HOST { + description + "Member host address bag"; + leaf host-address-xr { + type inet:ipv6-address; + description + "Host address"; + } + } + + grouping OBJ-GROUP-IPV6-MEMBER-RANGE { + description + "Member range bag"; + leaf start-address-xr { + type inet:ipv6-address; + description + "Range start address"; + } + leaf end-address-xr { + type inet:ipv6-address; + description + "Range end address"; + } + } + + grouping OBJ-GROUP-IPV6-MEMBER-ADDRESS { + description + "Member address bag"; + leaf prefix-xr { + type inet:ipv6-address; + description + "IPv4 Address"; + } + leaf prefix-length-xr { + type uint32; + description + "Prefix length"; + } + } + + grouping OBJ-GROUP-PARENT { + description + "Group parent bag"; + leaf parent-name { + type string; + description + "Parent node"; + } + } + + grouping OBJ-GROUP-PORT-MEMBER-RANGE { + description + "Member port range bag"; + leaf start-port-xr { + type uint32; + description + "Port start address"; + } + leaf end-port-xr { + type uint32; + description + "Port end address"; + } + } + + grouping OBJ-GROUP-PORT-MEMBER-PORT { + description + "Member port operator port bag"; + leaf operator-type-xr { + type uint32; + description + "Operator"; + } + leaf port-xr { + type uint32; + description + "Port"; + } + } + + grouping OBJ-GROUP-MEMBER-NESTED { + description + "Member nested bag"; + leaf nested-group-name-xr { + type string; + description + "Nested group"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper.yang new file mode 100644 index 0000000..5abe269 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-objmgr-oper.yang @@ -0,0 +1,941 @@ +module Cisco-IOS-XR-infra-objmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-objmgr-oper"; + prefix infra-objmgr-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-objmgr-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-objmgr package operational data. + + This module contains definitions + for the following management objects: + object-group: Object-group operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Start-port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Start port"; + } + + typedef Port-operator { + type enumeration { + enum "equal" { + value 0; + description + "Match packets on ports equal to entered port + number"; + } + enum "not-equal" { + value 1; + description + "Match packets on ports not equal to entered + port number"; + } + enum "greater-than" { + value 2; + description + "Match packets on ports greater than entered + port number"; + } + enum "less-than" { + value 3; + description + "Match packets on ports less than entered port + number"; + } + } + description + "Port operator"; + } + + typedef Port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Port"; + } + + typedef End-port { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Echo (7)"; + } + enum "discard" { + value 9; + description + "Discard (9)"; + } + enum "daytime" { + value 13; + description + "Daytime (13)"; + } + enum "chargen" { + value 19; + description + "Character generator (19)"; + } + enum "ftp-data" { + value 20; + description + "FTP data connections (used infrequently, 20)"; + } + enum "ftp" { + value 21; + description + "File Transfer Protocol (21)"; + } + enum "ssh" { + value 22; + description + "Secure Shell (22)"; + } + enum "telnet" { + value 23; + description + "Telnet (23)"; + } + enum "smtp" { + value 25; + description + "Simple Mail Transport Protocol (25)"; + } + enum "time" { + value 37; + description + "Time (37)"; + } + enum "nicname" { + value 43; + description + "Nicname (43)"; + } + enum "tacacs" { + value 49; + description + "TAC Access Control System (49)"; + } + enum "domain" { + value 53; + description + "Domain Name Service (53)"; + } + enum "gopher" { + value 70; + description + "Gopher (70)"; + } + enum "finger" { + value 79; + description + "Finger (79)"; + } + enum "www" { + value 80; + description + "World Wide Web (HTTP, 80)"; + } + enum "host-name" { + value 101; + description + "NIC hostname server (101)"; + } + enum "pop2" { + value 109; + description + "Post Office Protocol v2 (109)"; + } + enum "pop3" { + value 110; + description + "Post Office Protocol v3 (110)"; + } + enum "sun-rpc" { + value 111; + description + "Sun Remote Procedure Call (111)"; + } + enum "ident" { + value 113; + description + "Ident Protocol (113)"; + } + enum "nntp" { + value 119; + description + "Network News Transport Protocol (119)"; + } + enum "bgp" { + value 179; + description + "Border Gateway Protocol (179)"; + } + enum "irc" { + value 194; + description + "Internet Relay Chat (194)"; + } + enum "pim-auto-rp" { + value 496; + description + "PIM Auto-RP (496)"; + } + enum "exec" { + value 512; + description + "Exec (rsh, 512)"; + } + enum "login" { + value 513; + description + "Login (rlogin, 513)"; + } + enum "cmd" { + value 514; + description + "Remote commands (rcmd, 514)"; + } + enum "lpd" { + value 515; + description + "Printer service (515)"; + } + enum "uucp" { + value 540; + description + "Unix-to-Unix Copy Program (540)"; + } + enum "klogin" { + value 543; + description + "Kerberos login (543)"; + } + enum "kshell" { + value 544; + description + "Kerberos shell (544)"; + } + enum "talk" { + value 517; + description + "Talk (517)"; + } + enum "ldp" { + value 646; + description + "LDP session connection attempts (MPLS, 646)"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "End port"; + } + + container object-group { + config false; + description + "Object-group operational data"; + container port { + description + "Port object group"; + container objects { + description + "Table of Object"; + list object { + key "object-name"; + description + "Port object group"; + container nested-groups { + description + "Table of NestedGroup"; + list nested-group { + key "nested-group-name"; + description + "nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + uses OBJ-GROUP-MEMBER-NESTED; + } + } + container operators { + description + "Table of Operator"; + list operator { + description + "op class"; + leaf operator-type { + type Port-operator; + description + "operation for ports"; + } + leaf port { + type Port; + description + "Port number"; + } + uses OBJ-GROUP-PORT-MEMBER-PORT; + } + } + container port-ranges { + description + "Table of PortRange"; + list port-range { + description + "Match only packets on a given port range"; + leaf start-port { + type Start-port; + description + "Start port number"; + } + leaf end-port { + type End-port; + description + "End port number"; + } + uses OBJ-GROUP-PORT-MEMBER-RANGE; + } + } + container parent-groups { + description + "Table of ParentGroup"; + list parent-group { + key "parent-group-name"; + description + "Parent object group"; + leaf parent-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + uses OBJ-GROUP-PARENT; + } + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Port object group name"; + } + } + } + } + container network { + description + "Network object group"; + container ipv6 { + description + "IPv6 object group"; + container objects { + description + "Table of Object"; + list object { + key "object-name"; + description + "IPv6 object group"; + container nested-groups { + description + "Table of NestedGroup"; + list nested-group { + key "nested-group-name"; + description + "nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter the name of a nested object group"; + } + uses OBJ-GROUP-MEMBER-NESTED; + } + } + container addresses { + description + "Table of Address"; + list address { + description + "IPv6 address"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "IPv6 prefix x:x::x/y"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix of the IP Address"; + } + uses OBJ-GROUP-IPV6-MEMBER-ADDRESS; + } + } + container address-ranges { + description + "Table of AddressRange"; + list address-range { + description + "Range of host addresses"; + leaf start-address { + type inet:ipv6-address-no-zone; + description + "IPv6 address"; + } + leaf end-address { + type inet:ipv6-address-no-zone; + description + "IPv6 address"; + } + uses OBJ-GROUP-IPV6-MEMBER-RANGE; + } + } + container parent-groups { + description + "Table of parent object group"; + list parent-group { + key "parent-group-name"; + description + "Parent object group"; + leaf parent-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + uses OBJ-GROUP-PARENT; + } + } + container hosts { + description + "Table of Host"; + list host { + key "host-address"; + description + "A single host address"; + leaf host-address { + type inet:ipv6-address-no-zone; + description + "host ipv6 address"; + } + uses OBJ-GROUP-IPV6-MEMBER-HOST; + } + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "IPv6 object group name - maximum 64 + characters"; + } + } + } + } + container ipv4 { + description + "IPv4 object group"; + container objects { + description + "Table of Object"; + list object { + key "object-name"; + description + "IPv4 object group"; + container nested-groups { + description + "Table of NestedGroup"; + list nested-group { + key "nested-group-name"; + description + "Nested object group"; + leaf nested-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + uses OBJ-GROUP-MEMBER-NESTED; + } + } + container addresses { + description + "Table of Address"; + list address { + description + "IPv4 address"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "IPv4 address/prefix"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix of the IP Address"; + } + uses OBJ-GROUP-IPV4-MEMBER-ADDRESS; + } + } + container address-ranges { + description + "Table of AddressRange"; + list address-range { + description + "Range of host addresses"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + leaf end-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + uses OBJ-GROUP-IPV4-MEMBER-RANGE; + } + } + container parent-groups { + description + "Table of parent object group"; + list parent-group { + key "parent-group-name"; + description + "Parent object group"; + leaf parent-group-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Nested object group"; + } + uses OBJ-GROUP-PARENT; + } + } + container hosts { + description + "Table of Host"; + list host { + key "host-address"; + description + "A single host address"; + leaf host-address { + type inet:ipv4-address-no-zone; + description + "Host ipv4 address"; + } + uses OBJ-GROUP-IPV4-MEMBER-HOST; + } + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "IPv4 object group name - maximum 64 + characters"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-cfg.yang new file mode 100644 index 0000000..74fa550 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-cfg.yang @@ -0,0 +1,2314 @@ +module Cisco-IOS-XR-infra-policymgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-cfg"; + prefix infra-policymgr-cfg; + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ASR9k policy manager configuration. + + Copyright (c) 2013, 2015-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-12-09 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-06-27 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-05-15 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-04-03 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-03-03 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-02-15 { + description + "IOS XR 6.2.1 revision."; + } + revision 2017-02-08 { + description + "IOS XR 6.2.1 revision."; + } + revision 2016-12-15 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-05-18 { + description + "IOS XR 5.3.2 revision."; + } + revision 2013-07-22 { + description + "Initial revision."; + } + + typedef mac-address { + type string { + pattern "[0-9a-fA-F]{4}(\\.[0-9a-fA-F]{4}){2}"; + } + description + "The mac-address type represents a MAC address. + The canonical representation uses lowercase characters. + It is made of three groups of four hexadecimal digits + separated by dots (.)"; + } + + typedef Class-map-type { + type enumeration { + enum "qos" { + value 1; + description + "QoS Classmap."; + } + enum "traffic" { + value 3; + description + "TRAFFIC Classmap."; + } + enum "control" { + value 4; + description + "Control Subscriber Classmap."; + } + } + description + "Policy manager class-map type."; + } + + typedef Alarm-severity { + type string { + pattern "(informational)|(notification)|(warning)|(error)|(critical)|(alert)|(emergency)"; + } + description + "Alaram severity types."; + } + + typedef Policy-map-type { + type enumeration { + enum "qos" { + value 1; + description + "QoS Policymap"; + } + enum "pbr" { + value 2; + description + "PBR Policymap"; + } + enum "traffic" { + value 3; + description + "TRAFFIC Policymap"; + } + enum "subscriber-control" { + value 4; + description + "SUBSCRIBER-CONTROL Policymap"; + } + enum "redirect" { + value 6; + description + "REDIRECT Policy map"; + } + enum "flow-monitor" { + value 7; + description + "FLOWMONITOR Policy map"; + } + } + description + "Policy manager policy-map type."; + } + + typedef Service-policy-type { + type string { + pattern "(PBR)|(QOS)|(REDIRECT)|(TRAFFIC)|(pbr)|(qos)|(redirect)|(traffic)"; + } + description + "Policy manager service-policy type."; + } + + typedef Pmap-class-map-type { + type enumeration { + enum "qos" { + value 1; + description + "QoS Classmap."; + } + enum "traffic" { + value 2; + description + "TRAFFIC Classmap."; + } + enum "subscriber-control" { + value 3; + description + "Subscriber Control Classmap."; + } + } + description + "Policy manager class-map type."; + } + + typedef Bandwidth-units { + type string { + pattern "(bps)|(kbps)|(mbps)|(gbps)|(percent)|(per-million)|(per-thousand)"; + } + description + "Supported units for bandwidth. + bps - units in Bits/Sec + kbps - units in KiloBits/Sec + mbps - units in MegaBits/Sec + gbps - units in GigaBits/Sec + percent - units in Percentage + per-million - parts per-million bandwidth value + per-thousand - Parts per-thousand bandwidth value"; + } + + typedef Bandwidth-remaining-units { + type string { + pattern "(percent)|(ratio)"; + } + description + "Supported units for bandwidth remaining. + percent - units in Percentage + ratio - units in Ratio"; + } + + typedef Rate-units { + type string { + pattern "(bps)|(kbps)|(mbps)|(gbps)|(pps)|(percent)|(cellsps)"; + } + description + "Supported units for police rate or peak-rate. + bps - units in Bits/Sec + kbps - units in KiloBits/Sec + mbps - units in MegaBits/Sec + gbps - units in GigaBits/Sec + pps - units in Packets/Sec + percent - units in Percentage + cellsps - units in Cells/Sec"; + } + + typedef Cac-rate-units { + type string { + pattern "(bps)|(kbps)|(mbps)|(gbps)|(cellsps)"; + } + description + "Supported units for CAC rate or flow-rate. + bps - units in Bits/Sec + kbps - units in KiloBits/Sec + mbps - units in MegaBits/Sec + gbps - units in GigaBits/Sec + cellsps - units in Cells/Sec"; + } + + typedef Queue-units { + type string { + pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells)|(percent)"; + } + description + "Supported units for queue. + bytes - units in Bytes + kbytes - units in KiloBytes + mbytes - units in MegaBytes + gbytes - units in Gigabytes + us - units in Microseconds + ms - units in Milliseconds + packets - units in Packets + cells - units in Cells + percent - units in Percent"; + } + + typedef Threshold-units { + type string { + pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells)"; + } + description + "Supported units for RED threshold. + bytes - units in Bytes + kbytes - units in KiloBytes + mbytes - units in MegaBytes + gbytes - units in GigaBytes + us - units in Microseconds + ms - units in Milliseconds + packets - units in Packets + cells - units in Cells"; + } + + typedef Pfc-units { + type string { + pattern "(bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells)"; + } + description + "Supported units for pfc. + bytes - units in Bytes + kbytes - units in KiloBytes + mbytes - units in MegaBytes + gbytes - units in Gigabytes + us - units in Microseconds + ms - units in Milliseconds + packets - units in Packets + cells - units in Cells"; + } + + typedef Float-str { + type string { + pattern "[0-9]+(\\.[0-9]+)?"; + } + description + "Floating point number string representation."; + } + + typedef Dscp { + type string { + pattern "([0-9]|[1-5][0-9]|6[0-3])|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7)"; + } + description + "DSCP value string representation. + Should be single value 0..63 or predefined string."; + } + + typedef Dscp-range { + type string { + pattern "([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7)"; + } + description + "DSCP value or range string representation. + Should be single value 0..63 or predefined string + or range -."; + } + + typedef Num-range { + type string { + pattern "(\\d+)|(\\d+\\-\\d+)"; + } + description + "Numeric value or range string representation. + Should be single value or range -."; + } + + typedef Protocol { + type string { + pattern "([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\-([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))|((ahp)|(dhcpv4)|(dhcpv6)|(eigrp)|(esp)|(gre)|(icmp)|(igmp)|(igrp)|(ipinip)|(ipv4)|(ipv6)|(ipv6icmp)|(mpls)|(nos)|(ospf)|(pcp)|(pim)|(ppp)|(sctp)|(tcp)|(udp))"; + } + description + "Numeric value or range or string representation. + Should be single value or range 0..255."; + } + + typedef Ethertype { + type string { + pattern "((153[6-9]|15[4-9][0-9]|1[6-9][0-9][0-9]|[2-9][0-9][0-9][0-9])|([1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9])|(65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]))|((arp)|(ipv4)|(ipv6))"; + } + description + "Numeric value or string representation. + Should be single value 1536..65535 or predefined string."; + } + + typedef Precedence { + type union { + type uint8 { + range "0..7"; + } + type string { + pattern "(critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine)"; + } + } + description + "Precedence value. + critical Critical precedence (5) + flash Flash precedence (3) + flash-override Flash override precedence (4) + immediate Immediate precedence (2) + internet Internetwork control precedence (6) + network Network control precedence (7) + priority Priority precedence (1) + routine Routine precedence (0)"; + } + + typedef Cos { + type uint8 { + range "0..7"; + } + description + "Cos value."; + } + + typedef Idle-timeout-number { + type uint16 { + range "10..2550"; + } + units "seconds"; + description + "String that idle-timeout can take."; + } + + typedef Idle-timeout-string { + type string { + pattern "(None)|(none)"; + } + description + "This flow does not expire."; + } + + typedef Idle-timeout { + type union { + type Idle-timeout-number; + type Idle-timeout-string; + } + description + "Idle timeout."; + } + + typedef Event-type { + type enumeration { + enum "account-logoff" { + description + "Account logoff event."; + } + enum "account-logon" { + description + "Account logon event."; + } + enum "authentication-failure" { + description + "Authentication failure event."; + } + enum "authentication-no-response" { + description + "Authentication no response event."; + } + enum "authorization-failure" { + description + "Authorization failure event."; + } + enum "authorization-no-response" { + description + "Authorization no response event."; + } + enum "credit-exhausted" { + description + "Credit exhaustion event."; + } + enum "exception" { + description + "Exception event."; + } + enum "idle-timeout" { + description + "Idle timeout event."; + } + enum "quota-depleted" { + description + "Quota depletion event."; + } + enum "service-start" { + description + "Service start event."; + } + enum "service-stop" { + description + "Service stop event."; + } + enum "session-activate" { + description + "Session activate event."; + } + enum "session-start" { + description + "Session start event."; + } + enum "session-stop" { + description + "Session stop event."; + } + enum "timer-expiry" { + description + "Timer expiry event."; + } + } + description + "Event type."; + } + + typedef Execution-strategy { + type enumeration { + enum "do-all" { + description + "Do all actions."; + } + enum "do-until-failure" { + description + "Do all actions until failure."; + } + enum "do-until-success" { + description + "Do all actions until success."; + } + } + description + "Executuion strategy."; + } + + typedef Authorize-identifier { + type enumeration { + enum "circuit-id" { + description + "Authorize circuit ID."; + } + enum "dhcp-client-id" { + description + "Authorize dhcp client ID."; + } + enum "remote-id" { + description + "Authorize remote ID."; + } + enum "source-address-ipv4" { + description + "Authorize source IPv4 address."; + } + enum "source-address-ipv6" { + description + "Authorize source IPv6 address."; + } + enum "source-address-mac" { + description + "Authorize source MAC address."; + } + enum "username" { + description + "Authorize username."; + } + } + description + "Authorize identifier."; + } + + typedef dhcp-client-id-options { + type string { + pattern "(none)|(ascii)|(hex)"; + } + description + "DHCP client Id Flag option."; + } + + grouping MATCH { + description + "Supported 'match' or 'match-not' actions."; + leaf-list ipv4-dscp { + type Dscp-range; + ordered-by user; + description + "Match IPv4 DSCP."; + } + leaf-list ipv6-dscp { + type Dscp-range; + ordered-by user; + description + "Match IPv6 DSCP."; + } + leaf-list dscp { + type Dscp-range; + ordered-by user; + description + "Match DSCP."; + } + leaf-list ipv4-precedence { + type Precedence; + ordered-by user; + description + "Match IPv4 precedence."; + } + leaf-list ipv6-precedence { + type Precedence; + ordered-by user; + description + "Match IPv6 precedence."; + } + leaf-list precedence { + type Precedence; + ordered-by user; + description + "Match precedence."; + } + leaf-list qos-group { + type Num-range; + ordered-by user; + description + "Match QoS group. + Should be value 0..512 or range."; + } + leaf-list traffic-class { + type Num-range; + ordered-by user; + description + "Match Traffic Class. + Should be value 0..63 or range."; + } + leaf-list cos { + type Cos; + ordered-by user; + description + "Match CoS."; + } + leaf-list inner-cos { + type Cos; + ordered-by user; + description + "Match inner CoS."; + } + leaf dei { + type uint8 { + range "0..1"; + } + description + "Match DEI bit."; + } + leaf dei-inner { + type uint8 { + range "0..1"; + } + description + "Match DEI INNER bit."; + } + leaf-list protocol { + type Protocol; + ordered-by user; + description + "Match protocol."; + } + leaf ipv4-acl { + type string { + length "1..64"; + } + description + "Match IPv4 ACL."; + } + leaf ipv6-acl { + type string { + length "1..64"; + } + description + "Match IPv6 ACL."; + } + leaf ethernet-services-acl { + type string { + length "1..64"; + } + description + "Match Ethernet Services"; + } + leaf-list mpls-experimental-topmost { + type Cos; + ordered-by user; + description + "Match MPLS experimental topmost label."; + } + leaf-list mpls-experimental-imposition { + type Cos; + ordered-by user; + description + "Match MPLS experimental imposition label."; + } + leaf-list discard-class { + type Cos; + ordered-by user; + description + "Match discard class."; + } + leaf-list ipv4-packet-length { + type Num-range; + ordered-by user; + description + "Match IPv4 packet length. + Should be value 0..65535 or range."; + } + leaf-list ipv6-packet-length { + type Num-range; + ordered-by user; + description + "Match IPv6 packet length. + Should be value 0..65535 or range."; + } + leaf-list packet-length { + type Num-range; + ordered-by user; + description + "Match packet length. + Should be value 0..65535 or range."; + } + leaf mpls-disposition-ipv4-access-list { + type string { + length "1..32"; + } + description + "Match MPLS Label Disposition IPv4 access list."; + } + leaf mpls-disposition-ipv6-access-list { + type string { + length "1..32"; + } + description + "Match MPLS Label Disposition IPv6 access list."; + } + leaf-list vlan { + type Num-range; + ordered-by user; + description + "Match VLAN ID."; + } + leaf-list inner-vlan { + type Num-range; + ordered-by user; + description + "Match inner VLAN ID."; + } + leaf-list flow-tag { + type Num-range; + ordered-by user; + description + "Match flow-tag. Should be value 1..63 or range."; + } + leaf-list ethertype { + type Ethertype; + ordered-by user; + description + "Match Ethertype."; + } + list destination-address-ipv4 { + key "address netmask"; + description + "Match destination IPv4 address."; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address."; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "IPv4 netmask."; + } + } + list destination-address-ipv6 { + key "address prefix-length"; + description + "Match destination IPv6 address."; + leaf address { + type inet:ipv6-address-no-zone; + description + "IPv6 address."; + } + leaf prefix-length { + type uint8 { + range "0..128"; + } + description + "IPv6 prefix length."; + } + } + leaf-list destination-port { + type Num-range; + ordered-by user; + description + "Match destination port. + Should be value 0..65535 or range."; + } + leaf-list fragment-type { + type string { + pattern "(first-fragment)|(is-fragment)|(last-fragment)"; + } + max-elements "3"; + ordered-by user; + description + "Match fragment type for a packet."; + } + leaf-list frame-relay-dlci { + type Num-range; + ordered-by user; + description + "Match frame-relay DLCI value. + Should be value 16..1007 or range."; + } + leaf fr-de { + type uint8 { + range "0..1"; + } + description + "Set FrameRelay DE bit."; + } + leaf-list icmpv4-code { + type Num-range; + ordered-by user; + description + "Match IPv4 ICMP code. + Should be value 0..255 or range."; + } + leaf-list icmpv4-type { + type Num-range; + ordered-by user; + description + "Match IPv4 ICMP type. + Should be value 0..255 or range."; + } + leaf-list icmpv6-code { + type Num-range; + ordered-by user; + description + "Match IPv6 ICMP code. + Should be value 0..255 or range."; + } + leaf-list icmpv6-type { + type Num-range; + ordered-by user; + description + "Match IPv6 ICMP type. + Should be value 0..255 or range."; + } + list source-address-ipv4 { + key "address netmask"; + description + "Match source IPv4 address."; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address."; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "IPv4 netmask."; + } + } + list source-address-ipv6 { + key "address prefix-length"; + description + "Match source IPv6 address."; + leaf address { + type inet:ipv6-address-no-zone; + description + "IPv6 address."; + } + leaf prefix-length { + type uint8 { + range "0..128"; + } + description + "IPv6 prefix length."; + } + } + leaf-list source-port { + type Num-range; + ordered-by user; + description + "Match source port. + Should be value 0..65535 or range."; + } + leaf tcp-flag { + type uint16 { + range "0..4095"; + } + description + "Match TCP flags."; + } + leaf authen-status { + type string { + pattern "(authenticated)|(unauthenticated)"; + } + description + "Match authentication status."; + } + leaf-list circuit-id { + type string { + length "1..32"; + } + ordered-by user; + description + "Match Circuit ID."; + } + leaf-list circuit-id-regex { + type string { + length "1..32"; + } + ordered-by user; + description + "Match Circuit id regex."; + } + list dhcp-client-id { + key "value flag"; + description + "Match dhcp client ID."; + leaf value { + type string { + length "1..32"; + } + description + "Dhcp client Id."; + } + leaf flag { + type dhcp-client-id-options; + description + "Dhcp client id Ascii/Hex"; + } + } + list dhcp-client-id-regex { + key "value flag"; + description + "Match dhcp client id regex."; + leaf value { + type string { + length "1..32"; + } + description + "Dhcp client id regular expression."; + } + leaf flag { + type dhcp-client-id-options; + description + "Dhcp client Id regex Ascii/Hex."; + } + } + list domain-name { + key "name format"; + description + "Match domain name."; + leaf name { + type string { + length "1..32"; + } + description + "Domain name or regular expression."; + } + leaf format { + type string { + length "1..32"; + } + description + "Domain-format name."; + } + } + list domain-name-regex { + key "regex format"; + description + "Match domain name."; + leaf regex { + type string { + length "1..32"; + } + description + "Domain name or regular expression."; + } + leaf format { + type string { + length "1..32"; + } + description + "Domain-format name."; + } + } + leaf-list remote-id { + type string { + length "1..32"; + } + ordered-by user; + description + "Match remote ID."; + } + leaf-list remote-id-regex { + type string { + length "1..32"; + } + ordered-by user; + description + "Match remote id regex."; + } + leaf-list service-name { + type string { + length "1..32"; + } + ordered-by user; + description + "Match servicve name."; + } + leaf-list service-name-regex { + type string { + length "1..32"; + } + ordered-by user; + description + "Match servicve name regular expression."; + } + leaf-list timer { + type string { + length "1..32"; + } + ordered-by user; + description + "Match timer."; + } + leaf-list timer-regex { + type string { + length "1..32"; + } + ordered-by user; + description + "Match timer regular expression."; + } + leaf-list user-name { + type string { + length "1..32"; + } + ordered-by user; + description + "Match user name."; + } + leaf-list user-name-regex { + type string { + length "1..32"; + } + ordered-by user; + description + "Match user name regular expression."; + } + leaf-list source-mac { + type string; + ordered-by user; + description + "Match source MAC address."; + } + leaf-list destination-mac { + type string; + ordered-by user; + description + "Match destination MAC address."; + } + leaf vpls-control { + type empty; + description + "Match VPLS control"; + } + leaf vpls-broadcast { + type empty; + description + "Match VPLS Broadcast"; + } + leaf vpls-multicast { + type empty; + description + "Match VPLS Multicast"; + } + leaf vpls-known { + type empty; + description + "Match VPLS Known"; + } + leaf vpls-unknown { + type empty; + description + "Match VPLS Unknown"; + } + } + + grouping MATCH-MATCHNOT { + description + "match or match-not containers."; + container match { + description + "Match rules."; + uses MATCH; + leaf atm-clp { + type uint8 { + range "0..1"; + } + description + "Match ATM CLP bit."; + } + leaf atm-oam { + type empty; + description + "Match ATM OAM."; + } + leaf cac-admit { + type empty; + description + "Match CAC admitted."; + } + leaf cac-unadmit { + type empty; + description + "Match CAC unadmitted."; + } + container flow { + description + "Match flow."; + leaf-list flow-key { + type string { + pattern "(SourceIP)|(DestinationIP)|(5Tuple)"; + } + ordered-by user; + description + "Configure the flow-key parameters."; + } + container flow-cache { + description + "Configure the flow-cache parameters"; + leaf idle-timeout { + type Idle-timeout; + description + "Maximum time of inactivity for a flow."; + } + } + } + } + container match-not { + description + "Match not rules."; + uses MATCH; + container flow { + description + "Match flow."; + leaf-list flow-tag { + type uint16 { + range "1..63"; + } + ordered-by user; + description + "Configure the flow-tag parameters."; + } + } + } + } + + grouping CLASS-MAP-RULE { + description + "Class-map rule"; + leaf class-map-mode-match-any { + when "count(../class-map-mode-match-all) = 0" { + description + "Class MUST have only one mode."; + } + type empty; + description + "Match all match criteria"; + } + leaf class-map-mode-match-all { + when "count(../class-map-mode-match-any) = 0" { + description + "Class MUST have only one mode."; + } + type empty; + description + "Match any match criteria."; + } + uses MATCH-MATCHNOT; + leaf description { + type string; + description + "Description for this policy-map."; + } + } + + grouping POLICY-MARK { + description + "Policy packet marking actions."; + leaf dscp { + type Dscp; + description + "Marks a packet by setting the DSCP in the ToS byte."; + } + leaf qos-group { + type uint16 { + range "0..512"; + } + description + "Sets the QoS group identifiers on IPv4 or MPLS packets. + The set qos-group is supported only on an ingress policy."; + } + leaf traffic-class { + type uint8 { + range "0..63"; + } + description + "Sets the Traffic class identifiers on IPv4 or MPLS packets."; + } + leaf discard-class { + type uint8 { + range "0..7"; + } + description + "Sets the discard class on IPv4 or MPLS packets. + The discard-class can be used only in service policies + that are attached in the ingress policy."; + } + leaf forward-class { + type uint8 { + range "0..7"; + } + description + "Sets the forward class."; + } + leaf df { + type uint8 { + range "0..1"; + } + description + "Set DF bit."; + } + leaf cos { + type uint8 { + range "0..7"; + } + description + "Sets the specific IEEE 802.1Q Layer 2 CoS value of an + outgoing packet. + This command should be used by a router if a user wants + to mark a packet that is being sent to a switch. + Switches can leverage Layer 2 header information, + including a CoS value marking. Packets entering an + interface cannot be set with a CoS value."; + } + leaf inner-cos { + type uint8 { + range "0..7"; + } + description + "Set inner cos."; + } + leaf precedence { + type Precedence; + description + "Sets the precedence value in the IP header."; + } + leaf precedence-tunnel { + type Precedence; + description + "Sets the precedence tunnel value for ipsec."; + } + leaf mpls-experimental-top-most { + type uint8 { + range "0..7"; + } + description + "Sets the experimental value of the MPLS packet top-most + labels."; + } + leaf mpls-experimental-imposition { + type uint8 { + range "0..7"; + } + description + "Sets the experimental value of the MPLS packet + imposition labels. + Imposition can be used only in service policies that + are attached in the ingress policy"; + } + leaf srp-priority { + type uint8 { + range "0..7"; + } + description + "Sets the spatial reuse protocol priority value of an + outgoing packet."; + } + leaf fr-de { + type uint8 { + range "0..1"; + } + description + "Set FrameRelay DE bit."; + } + leaf dei { + type uint8 { + range "0..1"; + } + description + "Set DEI bit."; + } + leaf dei-imposition { + type uint8 { + range "0..1"; + } + description + "Set DEI imposition bit."; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source IPv4 address."; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination IPv4 address."; + } + } + + grouping CAC-RATE-VALUE { + description + "CAC rate value."; + leaf value { + type uint32 { + range "1..4294967295"; + } + must "../units" { + description + "units must be set."; + } + description + "Rate value."; + } + leaf units { + type Cac-rate-units; + description + "Rate units."; + } + } + + grouping POLICE-ACTION { + description + "Police action."; + leaf Transmit { + type empty; + description + "Police action transmit."; + } + leaf drop { + type empty; + description + "Police action drop."; + } + container set { + description + "Police action packet marking."; + uses POLICY-MARK; + } + } + + grouping POLICY-MAP-RULE { + description + "Class-map rule."; + list event { + key "event-type"; + description + "Policy event."; + leaf event-type { + type Event-type; + description + "Event type."; + } + leaf event-mode-match-all { + when "count(../event-mode-match-first) = 0" { + description + "Event MUST have only one mode."; + } + type empty; + description + "Execute all the matched classes."; + } + leaf event-mode-match-first { + when "count(../event-mode-match-all) = 0" { + description + "Event MUST have only one mode."; + } + type empty; + description + "Execute only the first matched class."; + } + list class { + key "class-name class-type"; + description + "Class-map rule."; + leaf class-name { + type string { + pattern "[a-zA-Z0-9][a-zA-Z0-9\\._@$%+#:=<>\\-]{0,62}"; + } + description + "Name of class."; + } + leaf class-type { + type Pmap-class-map-type; + description + "Type of class."; + } + leaf class-execution-strategy { + type Execution-strategy; + description + "Class execution strategy."; + } + list action-rule { + key "action-sequence-number"; + description + "Action rule."; + leaf action-sequence-number { + type uint16 { + range "1..65535"; + } + description + "Sequence number for this action."; + } + container activate-dynamic-template { + presence + "This container is present only if actions is + related to dynamic templates."; + description + "Activate dynamic templates."; + leaf name { + type string; + mandatory true; + description + "Dynamic template name."; + } + leaf aaa-list { + type string; + description + "Name of the AAA method list."; + } + } + container authenticate { + description + "Authentication related configuration."; + leaf aaa-list { + type string; + description + "Name of the AAA method list."; + } + } + container authorize { + must "format or identifier" { + description + "format or identifier must be set."; + } + presence + "This container is present only if actions is + related to authorization."; + description + "Authorize."; + leaf aaa-list { + type string; + mandatory true; + description + "Name of the AAA method list."; + } + leaf format { + type string; + description + "Specify an Authorize format name."; + } + leaf identifier { + type Authorize-identifier; + description + "Specify an Authorize format name."; + } + leaf password { + type string; + mandatory true; + description + "Specify a password to be used for AAA + request."; + } + } + container deactivate-dynamic-template { + presence + "This container is present only if actions is + related to dynamic templates."; + description + "Deactivate dynamic templates."; + leaf name { + type string; + mandatory true; + description + "Dynamic template name."; + } + leaf aaa-list { + type string; + description + "Name of the AAA method list."; + } + } + leaf disconnect { + type empty; + description + "Disconnect session."; + } + leaf monitor { + type empty; + description + "Monitor session."; + } + container set-timer { + presence + "This container is present only if actions is + related to timer."; + description + "Set a timer to execute a rule on its + expiry"; + leaf timer-name { + type string; + mandatory true; + description + "Name of the timer."; + } + leaf timer-value { + type uint32; + units "minutes"; + mandatory true; + description + "Timer value in minutes."; + } + } + container stop-timer { + description + "Disable timer before it expires."; + leaf timer-name { + type string; + description + "Name of the timer."; + } + } + } + } + } + list policy-map-rule { + key "class-name class-type"; + description + "Class-map rule."; + leaf class-name { + type string { + pattern "[a-zA-Z0-9][a-zA-Z0-9\\._@$%+#:=<>\\-]{0,62}"; + } + description + "Name of class-map."; + } + leaf class-type { + type Pmap-class-map-type; + description + "Type of class-map."; + } + container shape { + must "rate" { + description + "rate container must be present."; + } + description + "Policy action shape."; + container rate { + description + "Rate configuration."; + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Shape bandwidth value."; + } + leaf unit { + type Bandwidth-units; + description + "Shape bandwidth units."; + } + } + container burst { + description + "Burst size configuration."; + leaf value { + type uint32; + must "../units" { + description + "units must be set."; + } + description + "Burst size value."; + } + leaf units { + type Threshold-units; + description + "Burst size units."; + } + } + } + container min-bandwidth { + description + "Policy action minimum bandwidth queue."; + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Minimum bandwidth value."; + } + leaf unit { + type Bandwidth-units; + description + "Minimum bandwidth units."; + } + } + container bandwidth-remaining { + description + "Policy action bandwidth remaining queue."; + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Remaining bandwidth value."; + } + leaf unit { + type Bandwidth-remaining-units; + description + "Remaining bandwidth units."; + } + } + container queue-limit { + description + "Policy action queue limit."; + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Remaining bandwidth value."; + } + leaf unit { + type Queue-units; + description + "Remaining bandwidth units."; + } + } + container pfc { + description + "Policy action pfc."; + leaf pfc-pause-set { + type empty; + description + "Pfc Pause set value."; + } + container pfc-buffer-size { + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Pfc buffer size value."; + } + leaf unit { + type Pfc-units; + description + "Pfc buffer size units."; + } + } + container pfc-pause-threshold { + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Pfc pause threshold value."; + } + leaf unit { + type Pfc-units; + description + "Pfc pause threshold units."; + } + } + container pfc-resume-threshold { + leaf value { + type uint32; + must "../unit" { + description + "unit must be set."; + } + description + "Pfc resume threshold value."; + } + leaf unit { + type Pfc-units; + description + "Pfc resume threshold units."; + } + } + } + leaf priority-level { + type uint8 { + range "1..7"; + } + description + "Priority level."; + } + leaf default-red { + type empty; + description + "Default random early detection"; + } + leaf ecn-red { + type empty; + description + "ECN based random early detection"; + } + list random-detect { + key "threshold-min-value threshold-min-units threshold-max-value threshold-max-units"; + description + "Random early detection. + All RED profiles in a class must be based + on the same field."; + leaf threshold-min-value { + type uint32; + description + "Minimum RED threshold value."; + } + leaf threshold-min-units { + type Threshold-units; + description + "Minimum RED threshold units."; + } + leaf threshold-max-value { + type uint32; + description + "Maximum RED threshold value."; + } + leaf threshold-max-units { + type Threshold-units; + description + "Maximum RED threshold units."; + } + leaf-list cos { + type Dscp-range; + ordered-by user; + description + "WRED based on CoS."; + } + leaf-list discard-class { + type Cos; + ordered-by user; + description + "WRED based on discard class."; + } + leaf-list dscp { + type Dscp-range; + ordered-by user; + description + "WRED based on DSCP."; + } + leaf-list mpls-exp { + type Cos; + ordered-by user; + description + "MPLS Experimental value based WRED."; + } + leaf-list precedence { + type Precedence; + ordered-by user; + description + "WRED based on precedence."; + } + leaf dei { + type uint8 { + range "0..1"; + } + description + "DEI based WRED."; + } + leaf ecn { + type empty; + description + "ECN based WRED."; + } + } + container set { + description + "Policy action packet marking."; + uses POLICY-MARK; + } + container police { + must "rate" { + description + "rate container must be present."; + } + description + "Configures traffic policing action."; + container rate { + description + "Rate configuration."; + leaf value { + type uint32; + must "../units" { + description + "units must be set."; + } + description + "Rate value."; + } + leaf units { + type Rate-units; + description + "Rate units."; + } + } + container peak-rate { + description + "Peak rate configuration."; + leaf value { + type uint32; + must "../units" { + description + "units must be set."; + } + description + "Peak rate value."; + } + leaf units { + type Rate-units; + description + "Peak rate units."; + } + } + container burst { + description + "Burst configuration."; + leaf value { + type uint32; + must "../units" { + description + "units must be set."; + } + description + "Burst value."; + } + leaf units { + type Threshold-units; + description + "Burst units."; + } + } + container peak-burst { + description + "Peak burst configuration."; + leaf value { + type uint32; + must "../units" { + description + "units must be set."; + } + description + "Peak burst value."; + } + leaf units { + type Threshold-units; + description + "Peak burst units."; + } + } + container conform-action { + description + "Configures the action to take on packets that conform + to the rate limit."; + uses POLICE-ACTION; + } + container exceed-action { + description + "Configures the action to take on packets that exceed + the rate limit."; + uses POLICE-ACTION; + } + container violate-action { + description + "Configures the action to take on packets that violate + the rate limit."; + uses POLICE-ACTION; + } + } + container service-policy { + description + "Configure a child service policy."; + leaf policy-name { + type string { + pattern "[a-zA-Z0-9][a-zA-Z0-9\\._@$%+#:=<>\\-]{0,62}"; + } + description + "Name of service-policy."; + } + leaf type { + type Service-policy-type; + description + "Type of service-policy."; + } + } + container cac-local { + description + "Policy action CAC."; + container rate { + description + "The rate allocated for all flows."; + uses CAC-RATE-VALUE; + } + container flow-rate { + description + "The rate allocated per flow."; + uses CAC-RATE-VALUE; + } + leaf flow-idle-timeout { + type Idle-timeout; + description + "The interval after which a flow is removed, + if there is no activity. + If timeout is 0 this flow does not expire."; + } + } + container flow-params { + description + "Policy flow monitoring action."; + leaf max-flow { + type uint16 { + range "0..4096"; + } + description + "Max simultaneous flows monitored per policy class"; + } + leaf interval-duration { + type uint32; + units "seconds"; + description + "Monitored interval duration."; + } + leaf history { + type uint32; + description + "Keep stats/metrics on box for so many intervals."; + } + leaf timeout { + type uint32; + units "seconds"; + description + "Declare a flow dead if no packets received in + so much time"; + } + } + container metrics-ipcbr { + description + "Policy IP-CBR metric action."; + container rate { + description + "Nominal per-flow data rate."; + leaf layer3 { + type uint32; + units "bps"; + description + "Nominal rate specified at the L3 (IP)."; + } + leaf packet { + type uint32; + units "pps"; + description + "Nominal IP layer packet rate (in pps)."; + } + leaf media { + type uint32 { + range "1..3000000000"; + } + units "bps"; + description + "Nominal data rate of the media flow (ip payload)."; + } + } + container media-packet { + description + "Media-packet structure."; + leaf size { + type uint16; + units "bytes"; + description + "Nominal size of the media-packet."; + } + leaf count-in-layer3 { + type uint8 { + range "1..64"; + } + units "packets"; + description + "Nominal number of media packets in an IP payload."; + } + } + } + container react { + description + "Policy action react."; + leaf descrition { + type string; + description + "String describing the react statement."; + } + container action { + description + "Action on alert."; + leaf syslog { + type empty; + description + "Syslog."; + } + leaf snmp { + type empty; + description + "SNMP."; + } + } + container alarm { + description + "Alaram settings."; + container type { + description + "Alarm type."; + leaf discrete { + type empty; + description + "Discrete alarm type."; + } + leaf group-count { + type uint16; + units "number of flows"; + description + "Number of flows to reach before + triggering alarm"; + } + leaf group-percent { + type uint16; + units "percentage"; + description + "Percent to reach before triggering alarm"; + } + } + leaf severity { + type Alarm-severity; + description + "Severity of the alarm."; + } + } + container threshold { + description + "Alarm threshold settings."; + container trigger-value { + description + "Alarm trigger value settings."; + leaf greater-than { + type string; + description + "Greater than"; + } + leaf greater-than-equal { + type string; + description + "Greater than equal"; + } + leaf less-than { + type string; + description + "Less than"; + } + leaf less-than-equal { + type string; + description + "Less than equal"; + } + leaf range { + type string; + description + "Range"; + } + } + container trigger-type { + description + "Alarm trigger type settings."; + leaf immediate { + type empty; + description + "Immediate trigger."; + } + leaf average { + type uint32; + description + "Trigger averaged over N intervals."; + } + } + } + leaf criterion-delay-factor { + type empty; + description + "React criterion delay factor."; + } + leaf criterion-media-stop { + type empty; + description + "React criterion media stop."; + } + leaf criterion-mrv { + type empty; + description + "React criterion mrv."; + } + leaf criterion-flow-count { + type empty; + description + "React criterion flow count."; + } + leaf criterion-packet-rate { + type empty; + description + "React criterion packet rate."; + } + } + leaf http-redirect { + type string; + description + "Policy action http redirect. + Redirect to this url."; + } + leaf pbr-transmit { + type empty; + description + "Policy action PBR transmit."; + } + leaf pbr-drop { + type empty; + description + "Policy action PBR drop."; + } + leaf decap-gre { + type empty; + description + "Policy action DECAP GRE."; + } + container pbr-redirect { + description + "Policy action redirect"; + container ipv4 { + description + "Policy action redirect IPv4"; + leaf ipv4-next-hop { + type inet:ipv4-address-no-zone; + description + "IPv4 address."; + } + leaf vrf { + type string; + description + "IPv4 VRF."; + } + } + container ipv6 { + description + "Policy action redirect IPv6"; + leaf ipv6-next-hop { + type inet:ipv6-address-no-zone; + description + "IPv6 address."; + } + leaf vrf { + type string; + description + "IPv6 VRF."; + } + } + container next-hop { + description + "Next hop address."; + container route-target { + description + "Route Target"; + container ipv4-address { + description + "IPv4 address."; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address."; + } + leaf netmask { + type string; + description + "IPv4 netmask."; + } + } + leaf as-number { + type uint32 { + range "1..4294967295"; + } + description + "2-byte/4-byte AS number"; + } + leaf index { + type uint32 { + range "0..4294967295"; + } + description + "ASN2:index 2/4 byte (hex or decimal format)"; + } + } + } + } + container pbr-forward { + description + "Policy action PBR forward."; + leaf default { + type empty; + description + "Use system default routing table."; + } + container next-hop { + description + "Use specific next-hop. + Here we present 5 different combination + for the pbf next-hop. + 1. vrf with v6 address + 2. vrf with v4 address + 3. vrf + 4. v4 address + 5. v6 address"; + leaf vrf { + type string; + description + "VRF name."; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address."; + } + leaf ipv6-address { + type inet:ipv6-address; + description + "IPv6 address."; + } + } + } + leaf service-fragment { + type string; + description + "Policy action service fragment. + Service fragment name"; + } + leaf fragment { + type string; + description + "Policy action fragment. Fragment name"; + } + container service-function-path { + presence + "This container is present for service- + function-path configuration"; + description + "Policy action service function path."; + leaf path-id { + type uint32 { + range "1..16777215"; + } + mandatory true; + description + "Service function path id."; + } + leaf index { + type uint8 { + range "1..255"; + } + mandatory true; + description + "Service function path index."; + } + leaf metadata { + type string; + description + "Service function path metadata name."; + } + } + } + leaf description { + type string; + description + "Description for this policy-map."; + } + } + + container policy-manager { + description + "Global Policy Manager configuration."; + container class-maps { + description + "Class-maps configuration."; + list class-map { + key "type name"; + description + "Class-map configuration."; + leaf type { + type Class-map-type; + description + "Type of class-map."; + } + leaf name { + type string { + pattern "[a-zA-Z0-9][a-zA-Z0-9\\._@$%+#:=<>\\-]{0,62}"; + } + description + "Name of class-map."; + } + uses CLASS-MAP-RULE; + } + } + container policy-maps { + description + "Policy-maps configuration."; + list policy-map { + key "type name"; + description + "Policy-map configuration."; + leaf type { + type Policy-map-type; + description + "Type of policy-map."; + } + leaf name { + type string { + pattern "[a-zA-Z0-9][a-zA-Z0-9\\._@$%+#:=<>\\-]{0,62}"; + } + description + "Name of policy-map."; + } + uses POLICY-MAP-RULE; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-oper.yang new file mode 100644 index 0000000..4056e2a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-policymgr-oper.yang @@ -0,0 +1,8459 @@ +module Cisco-IOS-XR-infra-policymgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-policymgr-oper"; + prefix infra-policymgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-policymgr package operational data. + + This module contains definitions + for the following management objects: + policy-manager: Policy-map operational data + + Copyright (c) 2013-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-11 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-08-28 { + description + "IOS XR 6.3.1 revision."; + } + revision 2017-05-27 { + description + "IOS XR 6.3.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Policymgr-policy-map { + type enumeration { + enum "qos" { + value 1; + description + "QoS Policymap"; + } + enum "pbr" { + value 2; + description + "PBR Policymap"; + } + enum "traffic" { + value 3; + description + "TRAFFIC Policymap"; + } + enum "subscriber-control" { + value 4; + description + "SUBSCONTROL Policymap"; + } + enum "accounting" { + value 5; + description + "ACCOUNTING Policymap"; + } + enum "redirect" { + value 6; + description + "REDIRECT Policy map"; + } + enum "flow-monitor" { + value 7; + description + "FlOWMONITOR Policy map"; + } + } + description + "Policymgr policy map"; + } + + typedef Policymgr-class-map { + type enumeration { + enum "qos" { + value 1; + description + "QoS Classmap"; + } + enum "pbr" { + value 2; + description + "PBR Classmap"; + } + enum "traffic" { + value 3; + description + "TRAFFIC Classmap"; + } + enum "subscriber-control" { + value 4; + description + "SUBSCONTROL Classmap"; + } + } + description + "Policymgr class map"; + } + + typedef Pclass-exec-strat-en { + type enumeration { + enum "pclass-exe-strat-unspecified" { + description + "Unspecified"; + } + enum "pclass-exe-strat-do-all" { + description + "Exec all actions"; + } + enum "pclass-exe-strat-do-until-success" { + description + "Exec until one of actions succeeds"; + } + enum "pclass-exe-strat-do-until-failure" { + description + "Exec until there is a failure"; + } + enum "pclass-exe-strat-max" { + description + "Invalid"; + } + } + description + "Policy class execution strategy"; + } + + typedef Policy-map-hd-inbag { + type uint64; + description + "Policy map hd inbag"; + } + + typedef Match-available-id-en { + type enumeration { + enum "match-avail-ident-unspecified" { + value 0; + description + "match avail ident unspecified"; + } + enum "match-avail-ident-dnis" { + value 1; + description + "match avail ident dnis"; + } + enum "match-avail-ident-domain" { + value 2; + description + "match avail ident domain"; + } + enum "match-avail-ident-circuit-id" { + value 3; + description + "match avail ident circuit id"; + } + enum "match-avail-ident-remote-id" { + value 4; + description + "match avail ident remote id"; + } + enum "match-avail-ident-media" { + value 5; + description + "match avail ident media"; + } + enum "match-avail-ident-nas-port" { + value 6; + description + "match avail ident nas port"; + } + enum "match-avail-ident-protocol" { + value 7; + description + "match avail ident protocol"; + } + enum "match-avail-ident-source-address-ipv4" { + value 8; + description + "match avail ident source address ipv4"; + } + enum "match-avail-ident-source-address-ipv6" { + value 9; + description + "match avail ident source address ipv6"; + } + enum "match-avail-ident-source-address-mac" { + value 10; + description + "match avail ident source address mac"; + } + enum "match-avail-ident-tunnel-name" { + value 11; + description + "match avail ident tunnel name"; + } + enum "match-avail-ident-user-name" { + value 12; + description + "match avail ident user name"; + } + enum "match-avail-ident-vendor-id" { + value 13; + description + "match avail ident vendor id"; + } + enum "match-avail-ident-dhcp-client-id" { + value 14; + description + "match avail ident dhcp client id"; + } + enum "match-avail-ident-max" { + value 15; + description + "match avail ident max"; + } + } + description + "Match available id en"; + } + + typedef Afmon-alarm-type-en { + type enumeration { + enum "afmon-alm-type-invalid" { + value 0; + description + "afmon alm type invalid"; + } + enum "afmon-alm-discrete" { + value 1; + description + "afmon alm discrete"; + } + enum "afmon-alm-grp-cnt" { + value 2; + description + "afmon alm grp cnt"; + } + enum "afmon-alm-grp-pct" { + value 3; + description + "afmon alm grp pct"; + } + enum "afmon-alm-type-max" { + value 4; + description + "afmon alm type max"; + } + } + description + "Afmon alarm type en"; + } + + typedef Decode-identifier-en { + type enumeration { + enum "policy-decid-unspecified" { + value 0; + description + "policy decid unspecified"; + } + enum "policy-decid-remote-id" { + value 1; + description + "policy decid remote id"; + } + enum "policy-decid-circuit-id" { + value 2; + description + "policy decid circuit id"; + } + enum "policy-decid-user-name" { + value 3; + description + "policy decid user name"; + } + enum "policy-decid-max" { + value 4; + description + "policy decid max"; + } + } + description + "Decode identifier en"; + } + + typedef Class-map-name { + type string { + length "0..65"; + } + description + "Class map name"; + } + + typedef Policy-chk-sum { + type string { + length "0..16"; + } + description + "Policy chk sum"; + } + + typedef Policy-action-en { + type enumeration { + enum "policy-action-none" { + value 0; + description + "Policy Action None"; + } + enum "policy-action-unspecified" { + value 1; + description + "Policy Action is not specified"; + } + enum "policy-action-mark" { + value 2; + description + "Policy Action Mark"; + } + enum "policy-action-mark2" { + value 3; + description + "Policy Action Mark2"; + } + enum "policy-action-wred" { + value 4; + description + "Policy Action WRED"; + } + enum "policy-action-encap-seq" { + value 5; + description + "Policy action encap-sequence number"; + } + enum "policy-action-priority" { + value 6; + description + "Policy Action Priority Queue"; + } + enum "policy-action-iphc" { + value 7; + description + "Policy Action IP Header Compression"; + } + enum "policy-action-bw-remaining" { + value 8; + description + "Policy Action Bandwidth Remaining Queue"; + } + enum "policy-action-min-bw" { + value 9; + description + "Policy Action Minimum Bandwidth Queue"; + } + enum "policy-action-authenticate-aaa" { + value 10; + description + "Policy Action authenticate"; + } + enum "policy-action-collect-id" { + value 11; + description + "Policy Action collect identifier"; + } + enum "policy-action-disconnect" { + value 12; + description + "Policy Action disconnect session"; + } + enum "policy-action-set-timer" { + value 13; + description + "Policy Action set timer"; + } + enum "policy-action-stop-timer" { + value 14; + description + "Policy Action stop timer"; + } + enum "policy-action-query-ancp" { + value 15; + description + "Policy Action query ancp"; + } + enum "policy-action-accounting-aaa-list" { + value 16; + description + "Policy Action accounting aaa"; + } + enum "policy-action-prepaid-config" { + value 17; + description + "Policy Action prepaid config"; + } + enum "policy-action-timeout-idle" { + value 18; + description + "Policy Action timeout idle"; + } + enum "policy-action-proxy-aaa" { + value 19; + description + "Policy Action proxy aaa"; + } + enum "policy-action-template-activate" { + value 20; + description + "Policy Action activate template"; + } + enum "policy-action-template-deactivate" { + value 21; + description + "Policy Action deactivate template"; + } + enum "policy-action-decode-identifier" { + value 22; + description + "Policy Action decode identifier"; + } + enum "policy-action-q-limit" { + value 23; + description + "Policy Action Queue Limit"; + } + enum "policy-action-authorize-id" { + value 24; + description + "Policy Action authorize idetifier"; + } + enum "policy-action-accounting-event-aaa-list" { + value 25; + description + "Policy Action accounting event"; + } + enum "policy-action-afmon-react" { + value 26; + description + "Policy Action React (afmon)"; + } + enum "policy-action-httpr" { + value 27; + description + "Policy Action httpr (pbr)"; + } + enum "policy-action-pbr-transmit" { + value 28; + description + "Policy Action pbr transmit"; + } + enum "policy-action-pbr-drop" { + value 29; + description + "Policy Action pbr drop"; + } + enum "policy-action-punt" { + value 30; + description + "Policy Action pbr punt"; + } + enum "policy-action-copy" { + value 31; + description + "Policy Action pbr copy"; + } + enum "policy-action-sfrag" { + value 32; + description + "Policy Action Service fragment"; + } + enum "policy-action-monitor" { + value 33; + description + "Policy Action Monitor"; + } + enum "policy-action-redirect" { + value 34; + description + "Policy Action redirect"; + } + enum "policy-action-ipv4-nh" { + value 35; + description + "Policy Action ipv4 next hop"; + } + enum "policy-action-ipv6-nh" { + value 36; + description + "Policy Action ipv6 next hop"; + } + enum "policy-action-vlan-pop" { + value 37; + description + "Policy Action pop"; + } + enum "policy-action-pbr-next-hop" { + value 38; + description + "Policy Action PBR Forward"; + } + enum "policy-action-decap-gre" { + value 39; + description + "Policy Action decapsule GRE"; + } + enum "policy-action-output-interface" { + value 40; + description + "Policy Action PBR redirect interface"; + } + enum "policy-action-service-function-path" { + value 41; + description + "Policy Action PBR service chaining"; + } + enum "policy-action-ptrs" { + value 42; + description + "Dummy action for internal use"; + } + enum "policy-action-police" { + value 43; + description + "Policy Action Police"; + } + enum "policy-action-shape" { + value 44; + description + "Policy Action Shape"; + } + enum "policy-action-serv-pol" { + value 45; + description + "Policy Action Service Policy"; + } + enum "policy-action-cac" { + value 46; + description + "Policy Action CAC"; + } + enum "policy-action-afmon-flow-parm" { + value 47; + description + "Policy Action Flow params (afmon)"; + } + enum "policy-action-afmon-ipcbr-metric" { + value 48; + description + "Policy Action IP-CBR Metric (afmon)"; + } + enum "policy-action-afmon-rtp-metric" { + value 49; + description + "Policy Action RTP-Custom Metric (afmon)"; + } + enum "policy-action-afmon-rtp-mmr-metric" { + value 50; + description + "Policy Action RTP-MMR Metric (afmon)"; + } + enum "policy-action-afmon-rtp-j2k-metric" { + value 51; + description + "Policy Action RTP-J2K Metric (afmon)"; + } + enum "policy-action-afmon-rtp-voice-metric" { + value 52; + description + "Policy Action RTP-Voice Metric (afmon)"; + } + enum "policy-action-afmon-mdi-metric" { + value 53; + description + "Policy Action MDI Metric (afmon)"; + } + enum "policy-action-afmon-mdi-rtp-metric" { + value 54; + description + "Policy Action MDI RTP Metric (afmon)"; + } + enum "policy-action-afmon-fmm" { + value 55; + description + "Policy Action flow monitor (afmon)"; + } + enum "policy-action-pfc" { + value 56; + description + "Policy Action PFC"; + } + enum "policy-action-max" { + value 57; + description + "Policy Action Max (Invalid)"; + } + } + description + "Policy Actions Enumeration"; + } + + typedef Cac-flow-actn-type-e { + type uint8; + description + "Cac flow actn type e"; + } + + typedef Authorize-id-en { + type enumeration { + enum "policy-authorize-ident-unspecified" { + value 0; + description + "policy authorize ident unspecified"; + } + enum "policy-authorize-ident-dnis" { + value 1; + description + "policy authorize ident dnis"; + } + enum "policy-authorize-ident-domain" { + value 2; + description + "policy authorize ident domain"; + } + enum "policy-authorize-ident-user-name" { + value 3; + description + "policy authorize ident user name"; + } + enum "policy-authorize-ident-nas-port" { + value 4; + description + "policy authorize ident nas port"; + } + enum "policy-authorize-ident-source-address-ipv4" { + value 5; + description + "policy authorize ident source address ipv4"; + } + enum "policy-authorize-ident-source-address-ipv6" { + value 6; + description + "policy authorize ident source address ipv6"; + } + enum "policy-authorize-ident-source-address-mac" { + value 7; + description + "policy authorize ident source address mac"; + } + enum "policy-authorize-ident-auto-detect" { + value 8; + description + "policy authorize ident auto detect"; + } + enum "policy-authorize-ident-tunnel-name" { + value 9; + description + "policy authorize ident tunnel name"; + } + enum "policy-authorize-ident-dhcp-client-id" { + value 10; + description + "policy authorize ident dhcp client id"; + } + enum "policy-authorize-ident-circuit-id" { + value 11; + description + "policy authorize ident circuit id"; + } + enum "policy-authorize-ident-remote-id" { + value 12; + description + "policy authorize ident remote id"; + } + enum "policy-authorize-ident-vendor-id" { + value 13; + description + "policy authorize ident vendor id"; + } + enum "policy-authorize-ident-service-name" { + value 14; + description + "policy authorize ident service name"; + } + enum "policy-authorize-ident-max" { + value 15; + description + "policy authorize ident max"; + } + } + description + "Authorize id en"; + } + + typedef Afmon-ipcbr-parm-type-en { + type enumeration { + enum "afmon-ipcbr-parm-invalid" { + value 0; + description + "afmon ipcbr parm invalid"; + } + enum "afmon-ipcbr-parm-ip-pkt-rate" { + value 1; + description + "afmon ipcbr parm ip pkt rate"; + } + enum "afmon-ipcbr-parm-ip-bit-rate" { + value 2; + description + "afmon ipcbr parm ip bit rate"; + } + enum "afmon-ipcbr-parm-media-bit-rate" { + value 3; + description + "afmon ipcbr parm media bit rate"; + } + enum "afmon-ipcbr-parm-media-pkt-size" { + value 4; + description + "afmon ipcbr parm media pkt size"; + } + enum "afmon-ipcbr-parm-media-pkts-per-ip" { + value 5; + description + "afmon ipcbr parm media pkts per ip"; + } + enum "afmon-ipcbr-parm-max" { + value 6; + description + "afmon ipcbr parm max"; + } + } + description + "Afmon ipcbr parm type en"; + } + + typedef Match-media-type-en { + type enumeration { + enum "match-media-type-unspecified" { + value 0; + description + "match media type unspecified"; + } + enum "match-media-type-async" { + value 1; + description + "match media type async"; + } + enum "match-media-type-atm" { + value 2; + description + "match media type atm"; + } + enum "match-media-type-ether" { + value 3; + description + "match media type ether"; + } + enum "match-media-type-ip" { + value 4; + description + "match media type ip"; + } + enum "match-media-type-isdn" { + value 5; + description + "match media type isdn"; + } + enum "match-media-type-mpls" { + value 6; + description + "match media type mpls"; + } + enum "match-media-type-sync" { + value 7; + description + "match media type sync"; + } + enum "match-media-type-max" { + value 8; + description + "match media type max"; + } + } + description + "Match media type en"; + } + + typedef Plmgr-appln-type-en { + type enumeration { + enum "qos" { + value 1; + description + "Application type QOS"; + } + enum "pbr" { + value 2; + description + "Application type PBR"; + } + enum "subscriber-control" { + value 3; + description + "Application type subscriber control"; + } + enum "accounting" { + value 4; + description + "Application type accounting"; + } + enum "traffic" { + value 5; + description + "Application type traffic"; + } + enum "performance-traffic" { + value 6; + description + "Application type performance traffic"; + } + } + description + "Different Application types"; + } + + typedef Policy-route-target-en { + type enumeration { + enum "policy-rt-type-none" { + value 0; + description + "policy rt type none"; + } + enum "policy-rt-type-asn2" { + value 1; + description + "policy rt type asn2"; + } + enum "policy-rt-type-ipv4" { + value 2; + description + "policy rt type ipv4"; + } + enum "policy-rt-type-asn4" { + value 3; + description + "policy rt type asn4"; + } + enum "policy-rt-type-max" { + value 4; + description + "policy rt type max"; + } + } + description + "Policy route target en"; + } + + typedef Identifier-en { + type enumeration { + enum "policy-ident-unspecified" { + value 0; + description + "policy ident unspecified"; + } + enum "policy-ident-authen-status" { + value 1; + description + "policy ident authen status"; + } + enum "policy-ident-dnis" { + value 2; + description + "policy ident dnis"; + } + enum "policy-ident-media" { + value 3; + description + "policy ident media"; + } + enum "policy-ident-mlp-negotiated" { + value 4; + description + "policy ident mlp negotiated"; + } + enum "policy-ident-nas-port" { + value 5; + description + "policy ident nas port"; + } + enum "policy-ident-no-user-name" { + value 6; + description + "policy ident no user name"; + } + enum "policy-ident-protocol" { + value 7; + description + "policy ident protocol"; + } + enum "policy-ident-service-name" { + value 8; + description + "policy ident service name"; + } + enum "policy-ident-source-address-ipv4" { + value 9; + description + "policy ident source address ipv4"; + } + enum "policy-ident-source-address-ipv6" { + value 10; + description + "policy ident source address ipv6"; + } + enum "policy-ident-source-address-mac" { + value 11; + description + "policy ident source address mac"; + } + enum "policy-ident-timer" { + value 12; + description + "policy ident timer"; + } + enum "policy-ident-tunnel-name" { + value 13; + description + "policy ident tunnel name"; + } + enum "policy-ident-auth-domain" { + value 14; + description + "policy ident auth domain"; + } + enum "policy-ident-auth-user-name" { + value 15; + description + "policy ident auth user name"; + } + enum "policy-ident-unauth-domain" { + value 16; + description + "policy ident unauth domain"; + } + enum "policy-ident-unauth-user-name" { + value 17; + description + "policy ident unauth user name"; + } + enum "policy-ident-max" { + value 18; + description + "policy ident max"; + } + } + description + "Identifier en"; + } + + typedef Mark-type-en { + type enumeration { + enum "mark-type-none" { + value 0; + description + "Mark None"; + } + enum "mark-type-dscp" { + value 1; + description + "Mark DSCP"; + } + enum "mark-type-prec" { + value 2; + description + "Mark Precedence"; + } + enum "mark-type-mpls-exp-topmost" { + value 3; + description + "Mark MPLS EXP on topmost header"; + } + enum "mark-type-mpls-exp-imposition" { + value 4; + description + "Mark MPLS EXP on imposition header"; + } + enum "mark-type-qos-group" { + value 5; + description + "Mark QoS Group"; + } + enum "mark-type-discard-class" { + value 6; + description + "Mark Discard Class"; + } + enum "mark-type-cos" { + value 7; + description + "Mark CoS"; + } + enum "mark-type-cos-inner" { + value 8; + description + "Mark COS Inner"; + } + enum "mark-type-srp-priority" { + value 9; + description + "Mark Priority"; + } + enum "mark-type-atm-clp" { + value 10; + description + "Mark ATM CLP"; + } + enum "mark-type-fr-de" { + value 11; + description + "Mark FR DE"; + } + enum "mark-type-dscp-tunnel" { + value 12; + description + "Mark DSCP in Tunnel Header"; + } + enum "mark-type-prec-tunnel" { + value 13; + description + "Mark Precedence in Tunnel Header"; + } + enum "mark-type-dei" { + value 14; + description + "Mark DEI"; + } + enum "mark-type-dei-imposition" { + value 15; + description + "Mark DEI on imposition header"; + } + enum "mark-type-forward-class" { + value 16; + description + "Mark forward class"; + } + enum "mark-type-df" { + value 17; + description + "Mark DF bit"; + } + enum "mark-type-traffic-class" { + value 18; + description + "Mark Traffic Class"; + } + enum "mark-type-src-mac" { + value 19; + description + "Mark source mac"; + } + enum "mark-type-dst-mac" { + value 20; + description + "Mark destination mac"; + } + enum "mark-type-ipv4-src-addr" { + value 21; + description + "Mark ipv4 source address"; + } + enum "mark-type-ipv4-dst-addr" { + value 22; + description + "Mark ipv4 destination address"; + } + enum "mark-type-vlan-id" { + value 23; + description + "Mark vlan id"; + } + enum "mark-type-udp-src-port" { + value 24; + description + "Mark type udp source port"; + } + enum "mark-type-udp-dst-port" { + value 25; + description + "Mark type udp destination port"; + } + enum "mark-type-tcp-src-port" { + value 26; + description + "Mark type tcp source port"; + } + enum "mark-type-tcp-dst-port" { + value 27; + description + "Mark type tcp destination port"; + } + enum "mark-type-sctp-src-port" { + value 28; + description + "Mark type sctp source port"; + } + enum "mark-type-sctp-dst-port" { + value 29; + description + "Mark type sctp destination port"; + } + enum "mark-type-max" { + value 30; + description + "Mark Type Max (Invalid)"; + } + } + description + "Mark Type Enumeration"; + } + + typedef Qlimit-type-en { + type enumeration { + enum "qlimit-cmd" { + value 0; + description + "Queue Limit"; + } + enum "qlimit-discard-class" { + value 1; + description + "Queue Limit based on Discard Class"; + } + enum "qlimit-qos-group" { + value 2; + description + "Queue Limit based on Qos Group"; + } + enum "qlimit-precedence" { + value 3; + description + "Queue Limit based on Precedence"; + } + enum "qlimit-mpls-exp" { + value 4; + description + "Queue Limit based on Mpls Exp"; + } + enum "qlimit-dscp" { + value 5; + description + "Queue Limit based on Dscp"; + } + enum "qlimit-max" { + value 6; + description + "Queue Limit Max (Invalid)"; + } + } + description + "Queue Limit Types"; + } + + typedef Afmon-react-criterion-en { + type enumeration { + enum "afmon-react-crit-invalid" { + value 0; + description + "afmon react crit invalid"; + } + enum "afmon-react-mrv" { + value 1; + description + "afmon react mrv"; + } + enum "afmon-react-df" { + value 2; + description + "afmon react df"; + } + enum "afmon-react-mse" { + value 3; + description + "afmon react mse"; + } + enum "afmon-react-pkt-rate" { + value 4; + description + "afmon react pkt rate"; + } + enum "afmon-react-flow-cnt" { + value 5; + description + "afmon react flow cnt"; + } + enum "afmon-react-rtp-loss-fraction" { + value 6; + description + "afmon react rtp loss fraction"; + } + enum "afmon-react-rtp-jitter" { + value 7; + description + "afmon react rtp jitter"; + } + enum "afmon-react-rtp-max-jitter" { + value 8; + description + "afmon react rtp max jitter"; + } + enum "afmon-react-rtp-out-of-order" { + value 9; + description + "afmon react rtp out of order"; + } + enum "afmon-react-rtp-loss-pkts" { + value 10; + description + "afmon react rtp loss pkts"; + } + enum "afmon-react-rtp-ta" { + value 11; + description + "afmon react rtp ta"; + } + enum "afmon-react-rtp-es" { + value 12; + description + "afmon react rtp es"; + } + enum "afmon-react-mdi-mlr" { + value 13; + description + "afmon react mdi mlr"; + } + enum "afmon-react-mdi-mdc" { + value 14; + description + "afmon react mdi mdc"; + } + enum "afmon-react-mdi-jitter" { + value 15; + description + "afmon react mdi jitter"; + } + enum "afmon-react-mdi-loss-pkts" { + value 16; + description + "afmon react mdi loss pkts"; + } + enum "afmon-react-mdi-ta" { + value 17; + description + "afmon react mdi ta"; + } + enum "afmon-react-mdi-es" { + value 18; + description + "afmon react mdi es"; + } + enum "afmon-react-crit-max" { + value 19; + description + "afmon react crit max"; + } + } + description + "Afmon react criterion en"; + } + + typedef Pfc-pause-type { + type enumeration { + enum "pfc-buffer-size-defined" { + description + "pfc buffer size defined"; + } + enum "pfc-pause-threshold-defined" { + description + "pfc pause threshold defined"; + } + enum "pfc-resume-threshold-defined" { + description + "pfc resume threshold defined"; + } + enum "pfc-buffer-size-value" { + description + "pfc buffer size value"; + } + enum "pfc-pause-threshold-value" { + description + "pfc pause threshold value"; + } + enum "pfc-resume-threshold-value" { + description + "pfc resume threshold value"; + } + } + description + "Pfc pause type"; + } + + typedef Police-actn-category-en { + type enumeration { + enum "police-actn-category-conform" { + value 0; + description + "Conform action"; + } + enum "police-actn-category-exceed" { + value 1; + description + "Exceed action"; + } + enum "police-actn-category-violate" { + value 2; + description + "Violate action"; + } + enum "police-actn-category-max" { + value 3; + description + "Maximum police action categories"; + } + } + description + "Police Action Categories"; + } + + typedef Redirect-type-e { + type uint8; + description + "Redirect type e"; + } + + typedef Match-nas-port-sub-id-en { + type enumeration { + enum "match-nas-port-sub-id-unspecified" { + value 0; + description + "match nas port sub id unspecified"; + } + enum "match-nas-port-sub-id-adapter" { + value 1; + description + "match nas port sub id adapter"; + } + enum "match-nas-port-sub-id-channel" { + value 2; + description + "match nas port sub id channel"; + } + enum "match-nas-port-sub-id-ip-addr" { + value 3; + description + "match nas port sub id ip addr"; + } + enum "match-nas-port-sub-id-port" { + value 4; + description + "match nas port sub id port"; + } + enum "match-nas-port-sub-id-shelf" { + value 5; + description + "match nas port sub id shelf"; + } + enum "match-nas-port-sub-id-slot" { + value 6; + description + "match nas port sub id slot"; + } + enum "match-nas-port-sub-id-sub-interface" { + value 7; + description + "match nas port sub id sub interface"; + } + enum "match-nas-port-sub-id-type" { + value 8; + description + "match nas port sub id type"; + } + enum "match-nas-port-sub-id-vci" { + value 9; + description + "match nas port sub id vci"; + } + enum "match-nas-port-sub-id-vlan" { + value 10; + description + "match nas port sub id vlan"; + } + enum "match-nas-port-sub-id-vpi" { + value 11; + description + "match nas port sub id vpi"; + } + enum "match-nas-port-sub-id-max" { + value 12; + description + "match nas port sub id max"; + } + } + description + "Match nas port sub id en"; + } + + typedef Mark-type-e { + type uint8; + description + "Mark type e"; + } + + typedef Object-name { + type string { + length "0..65"; + } + description + "Object name"; + } + + typedef Cac-flow-actn-type-en { + type enumeration { + enum "cac-flow-actn-type-local" { + value 0; + description + "CAC flow local"; + } + enum "cac-flow-actn-type-max" { + value 1; + description + "Max CAC flow types"; + } + } + description + "CAC flow types"; + } + + typedef Policy-map-table-type-e { + type uint8; + description + "Policy map table type e"; + } + + typedef Enum-val-t { + type uint16; + description + "Enum val t"; + } + + typedef Afmon-react-actn-en { + type enumeration { + enum "afmon-react-actn-none" { + value 0; + description + "afmon react actn none"; + } + enum "afmon-react-syslog" { + value 1; + description + "afmon react syslog"; + } + enum "afmon-react-snmp" { + value 2; + description + "afmon react snmp"; + } + enum "afmon-react-clone" { + value 3; + description + "afmon react clone"; + } + } + description + "Afmon react actn en"; + } + + typedef Pevent-cond-eval-en { + type enumeration { + enum "pevent-cond-eval-unspecified" { + description + "Unspecified execution strategy"; + } + enum "pevent-cond-eval-match-first" { + description + "Match-first execution strategy"; + } + enum "pevent-cond-eval-match-all" { + description + "Match-all execution strategy"; + } + enum "pevent-cond-eval-max" { + description + "Internal use only"; + } + } + description + "Policy event execution strategy enumeration"; + } + + typedef Dpss-snid-type-en { + type enumeration { + enum "dpss-snid-invalid" { + value 0; + description + "dpss snid invalid"; + } + enum "dpss-snid-index" { + value 1; + description + "dpss snid index"; + } + enum "dpss-snid-name" { + value 2; + description + "dpss snid name"; + } + enum "dpss-snid-type-max" { + value 3; + description + "dpss snid type max"; + } + } + description + "Dpss snid type en"; + } + + typedef Pclass-data-avl-inbag { + type uint64; + description + "Pclass data avl inbag"; + } + + typedef Match-type-en { + type enumeration { + enum "match-type-none" { + description + "Match Type None"; + } + enum "match-type-ipv4-dscp" { + description + "Match Type IPv4 DSCP"; + } + enum "match-type-ipv4-prec" { + description + "Match Type IPv4 Precedence"; + } + enum "match-type-ipv6-dscp" { + description + "Match Type IPv6 DSCP"; + } + enum "match-type-packet-length" { + description + "Match Type Packet length"; + } + enum "match-type-ipv4-packet-length" { + description + "Match Type IPv4 Packet length"; + } + enum "match-type-ipv6-packet-length" { + description + "Match Type IPv6 Packet length"; + } + enum "match-type-flow-tag" { + description + "Match Type Flow Tag"; + } + enum "match-type-icmpv4-type" { + description + "Match Type IPv4 icmp-type"; + } + enum "match-type-icmpv4-code" { + description + "Match Type IPv4 icmp-code"; + } + enum "match-type-icmpv6-type" { + description + "Match Type IPv6 icmp-type"; + } + enum "match-type-icmpv6-code" { + description + "Match Type IPv6 icmp-code"; + } + enum "match-type-ipv6-prec" { + description + "Match Type IPv6 Precedence"; + } + enum "match-type-fragment-type" { + description + "Match type fragment-type"; + } + enum "match-type-tcp-flag" { + description + "Match type TCP flag"; + } + enum "match-type-dscp" { + description + "Match Type DSCP"; + } + enum "match-type-prec" { + description + "Match Type Precedence"; + } + enum "match-type-proto" { + description + "Match Type Protocol"; + } + enum "match-type-proto-icmpv4" { + description + "Match Type protocol ICMPv4"; + } + enum "match-type-proto-icmpv6" { + description + "Match Type protocol ICMPv6"; + } + enum "match-type-mpls-exp-top" { + description + "Match Type MPLS EXP Topmost"; + } + enum "match-type-mpls-exp-imp" { + description + "Match Type MPLS EXP Imposition"; + } + enum "match-type-mpls-disp-ipv4-acl" { + description + "Match Type MPLS DISP IPv4 ACL"; + } + enum "match-type-mpls-disp-ipv6-acl" { + description + "Match Type MPLS DISP IPv6 ACL"; + } + enum "match-type-mpls-topmost-eos" { + description + "Match Type MPLS TOPMOST EOS"; + } + enum "match-type-mpls-topmost-label" { + description + "Match Type MPLS TOPMOST LABEL"; + } + enum "match-type-cos" { + description + "Match Type COS"; + } + enum "match-type-cos-inner" { + description + "Match Type inner COS"; + } + enum "match-type-dei" { + description + "Match Type DEI"; + } + enum "match-type-dei-inner" { + description + "Match Type inner DEI"; + } + enum "match-type-vlan" { + description + "Match Type VLAN"; + } + enum "match-type-vlan-inner" { + description + "Match Type inner VLAN"; + } + enum "match-type-fr-dlci" { + description + "Match Type FR DLCI"; + } + enum "match-type-src-mac" { + description + "Match Type Source MAC Address"; + } + enum "match-type-dst-mac" { + description + "Match Type Destination MAC Address"; + } + enum "match-type-atm-oam" { + description + "Match Type ATM OAM"; + } + enum "match-type-atm-clp" { + description + "Match Type ATM CLP"; + } + enum "match-type-fr-de" { + description + "Match Type FR DE"; + } + enum "match-type-qos-grp" { + description + "Match Type QoS Group"; + } + enum "match-type-traffic-class" { + description + "Match Type Traffic Class"; + } + enum "match-type-disc-cls" { + description + "Match Type Discard Class"; + } + enum "match-type-vpls-known" { + description + "Match Type VPLS Known"; + } + enum "match-type-vpls-unknown" { + description + "Match Type VPLS Unknown"; + } + enum "match-type-vpls-mcast" { + description + "Match Type VPLS Multicast"; + } + enum "match-type-vpls-bcast" { + description + "Match Type VPLS Broadcast"; + } + enum "match-type-vpls-control" { + description + "Match Type VPLS Control"; + } + enum "match-type-ipv4-acl" { + description + "Match Type IPv4 ACL"; + } + enum "match-type-ipv6-acl" { + description + "Match Type IPv6 ACL"; + } + enum "match-type-flow-key" { + description + "Match Type Flow Key"; + } + enum "match-type-avail-id" { + description + "Match Type Available Identifier"; + } + enum "match-type-authen-status" { + description + "Match Type Authentication Status"; + } + enum "match-type-media" { + description + "Match Type Media"; + } + enum "match-type-mlp-negotiated" { + description + "Match Type MLP Negotiated"; + } + enum "match-type-subs-protocol" { + description + "Match Type Protocol"; + } + enum "match-type-dnis" { + description + "Match Type DNIS"; + } + enum "match-type-dnis-regexp" { + description + "Match Type DNIS Regular Exp"; + } + enum "match-type-domain" { + description + "Match Type Domain"; + } + enum "match-type-domain-regexp" { + description + "Match Type Domain Regular Exp"; + } + enum "match-type-nas-port" { + description + "Match Type NAS Port"; + } + enum "match-type-service-name" { + description + "Match Type Service Name"; + } + enum "match-type-service-name-regexp" { + description + "Match Type Service Name Regular Exp"; + } + enum "match-type-src-addr-ipv4" { + description + "Match Type Source Address IPV4"; + } + enum "match-type-dst-addr-ipv4" { + description + "Match Type Source Address IPV4"; + } + enum "match-type-src-addr-ipv6" { + description + "Match Type Source Address IPV6"; + } + enum "match-type-dst-addr-ipv6" { + description + "Match Type Source Address IPV6"; + } + enum "match-type-src-addr-mac" { + description + "Match Type Source Address Mac"; + } + enum "match-type-src-port" { + description + "Match Type Source Port"; + } + enum "match-type-dst-port" { + description + "Match Type Source Port"; + } + enum "match-type-timer" { + description + "Match Type Timer"; + } + enum "match-type-timer-regexp" { + description + "Match Type Timer Regular Exp"; + } + enum "match-type-tunnel-name" { + description + "Match Type Tunnel Name"; + } + enum "match-type-tunnel-name-regexp" { + description + "Match Type Tunnel Name Regular Exp"; + } + enum "match-type-user-name" { + description + "Match Type User Name"; + } + enum "match-type-user-name-regexp" { + description + "Match Type User Name Regular Exp"; + } + enum "match-type-auth-user-name" { + description + "Match Type Authenticated User Name"; + } + enum "match-type-auth-user-name-regexp" { + description + "Match Type Authenticated Userame Reg Exp"; + } + enum "match-type-unauth-user-name" { + description + "Match Type Unauthenticated Username"; + } + enum "match-type-unauth-user-name-regexp" { + description + "Match Type Unauthenicated Username RegEx"; + } + enum "match-type-no-user-name" { + description + "Match Type No Username"; + } + enum "match-type-auth-domain" { + description + "Match Type Authenticated Domain"; + } + enum "match-type-auth-domain-regexp" { + description + "Match Type Authenticated Domain RegEx"; + } + enum "match-type-unauth-domain" { + description + "Match Type Unauthenticated Domain"; + } + enum "match-type-unauth-domain-regexp" { + description + "Match Type Unauthenticated Domain RegEx"; + } + enum "match-type-vendor-id" { + description + "Match Type Vendor ID"; + } + enum "match-type-vendor-id-regexp" { + description + "Match Type Vendor ID RegEx"; + } + enum "match-type-access-interface" { + description + "Match Type Access Interface"; + } + enum "match-type-input-interface" { + description + "Match Type Input Interface"; + } + enum "match-type-input-interface-hdl" { + description + "Match Type Input Interface handle"; + } + enum "match-type-ether-type" { + description + "Match Type Ethernet Type"; + } + enum "match-type-dhcp-client-id" { + description + "Match DHCP Client ID"; + } + enum "match-type-dhcp-client-id-regexp" { + description + "Match DHCP Client ID RegEx"; + } + enum "match-type-circuit-id" { + description + "Match Type Circuit ID"; + } + enum "match-type-circuit-id-regexp" { + description + "Match Type Circuit ID RegEx"; + } + enum "match-type-remote-id" { + description + "Match Type Remote ID"; + } + enum "match-type-remote-id-regexp" { + description + "Match Type Remote ID RegEx"; + } + enum "match-type-cac-admit-local" { + description + "Match Type CAC admitted"; + } + enum "match-type-cac-unadmit-local" { + description + "Match Type CAC unadmitted"; + } + enum "match-type-any-internal" { + description + "Match Type Any (Used only for class-default)"; + } + enum "match-type-ethernet-service-s-acl" { + description + "Match Type Ethernet-Services ACL"; + } + enum "match-type-ptrs" { + description + "Dummy match type for internal use"; + } + enum "match-type-max" { + description + "Match Type Max (Invalid)"; + } + } + description + "Match Type"; + } + + typedef Flow-key-en { + type enumeration { + enum "flow-key-invalid" { + value 0; + description + "Flow key invalid"; + } + enum "flow-key-src-ip" { + value 1; + description + "Flow key source ip"; + } + enum "flow-key-dst-ip" { + value 2; + description + "Flow key destination ip"; + } + enum "flow-key-five-tuple" { + value 3; + description + "Flow key five tuple"; + } + enum "flow-key-max" { + value 4; + description + "Flow key max"; + } + } + description + "Flow key en"; + } + + typedef Match-attr-e { + type enumeration { + enum "value" { + value 0; + description + "Match attribute value"; + } + enum "range" { + value 1; + description + "Match attribute range"; + } + enum "mask" { + value 2; + description + "Match attribute mask"; + } + } + description + "Match attribute type"; + } + + typedef Afmon-alarm-sev-en { + type enumeration { + enum "afmon-alm-none" { + value 0; + description + "afmon alm none"; + } + enum "afmon-alm-info" { + value 1; + description + "afmon alm info"; + } + enum "afmon-alm-notif" { + value 2; + description + "afmon alm notif"; + } + enum "afmon-alm-warn" { + value 3; + description + "afmon alm warn"; + } + enum "afmon-alm-error" { + value 4; + description + "afmon alm error"; + } + enum "afmon-alm-crit" { + value 5; + description + "afmon alm crit"; + } + enum "afmon-alm-alert" { + value 6; + description + "afmon alm alert"; + } + enum "afmon-alm-emerg" { + value 7; + description + "afmon alm emerg"; + } + enum "afmon-alm-sev-max" { + value 8; + description + "afmon alm sev max"; + } + } + description + "AFMon Alarm Severities"; + } + + typedef Acct-en { + type enumeration { + enum "policy-acct-evt-unspecified" { + value 0; + description + "policy acct evt unspecified"; + } + enum "policy-acct-evt-start" { + value 1; + description + "policy acct evt start"; + } + enum "policy-acct-evt-stop" { + value 2; + description + "policy acct evt stop"; + } + enum "policy-acct-evt-update" { + value 3; + description + "policy acct evt update"; + } + } + description + "Acct en"; + } + + typedef String-arr { + type string; + description + "String arr"; + } + + typedef Match-logical-operator-en { + type enumeration { + enum "match-operator-unspecified" { + value 0; + description + "match operator unspecified"; + } + enum "match-equal-to" { + value 1; + description + "match equal to"; + } + enum "match-greater-than" { + value 2; + description + "match greater than"; + } + enum "match-greater-than-or-equal" { + value 3; + description + "match greater than or equal"; + } + enum "match-less-than" { + value 4; + description + "match less than"; + } + enum "match-less-than-or-equal" { + value 5; + description + "match less than or equal"; + } + enum "match-operator-max" { + value 6; + description + "match operator max"; + } + } + description + "Logical Operators"; + } + + typedef Pclass-diff-inbag { + type uint64; + description + "Pclass diff inbag"; + } + + typedef Shared-bucket-name { + type string { + length "0..65"; + } + description + "Shared bucket name"; + } + + typedef Policy-param-unit-type { + type enumeration { + enum "policy-param-unit-invalid" { + description + "policy param unit invalid"; + } + enum "policy-param-unit-bytes" { + description + "policy param unit bytes"; + } + enum "policy-param-unit-kbytes" { + description + "policy param unit kbytes"; + } + enum "policy-param-unit-mbytes" { + description + "policy param unit mbytes"; + } + enum "policy-param-unit-gbytes" { + description + "policy param unit gbytes"; + } + enum "policy-param-unit-bitsps" { + description + "policy param unit bitsps"; + } + enum "policy-param-unit-kbitsps" { + description + "policy param unit kbitsps"; + } + enum "policy-param-unit-mbitsps" { + description + "policy param unit mbitsps"; + } + enum "policy-param-unit-gbitsps" { + description + "policy param unit gbitsps"; + } + enum "policy-param-unit-cells-ps" { + description + "policy param unit cells ps"; + } + enum "policy-param-unit-packets-ps" { + description + "policy param unit packets ps"; + } + enum "policy-param-unit-us" { + description + "policy param unit us"; + } + enum "policy-param-unit-ms" { + description + "policy param unit ms"; + } + enum "policy-param-unit-seconds" { + description + "policy param unit seconds"; + } + enum "policy-param-unit-packets" { + description + "policy param unit packets"; + } + enum "policy-param-unit-cells" { + description + "policy param unit cells"; + } + enum "policy-param-unit-percent" { + description + "policy param unit percent"; + } + enum "policy-param-unit-per-thousand" { + description + "policy param unit per thousand"; + } + enum "policy-param-unit-per-million" { + description + "policy param unit per million"; + } + enum "policy-param-unit-hz" { + description + "policy param unit hz"; + } + enum "policy-param-unit-khz" { + description + "policy param unit khz"; + } + enum "policy-param-unit-mhz" { + description + "policy param unit mhz"; + } + enum "policy-param-unit-ratio" { + description + "policy param unit ratio"; + } + enum "policy-param-unit-max" { + description + "policy param unit max"; + } + } + description + "Policy param unit type"; + } + + typedef Pevent-type-en { + type enumeration { + enum "pevent-type-unspecified" { + description + "Unspecified event"; + } + enum "pevent-type-acct-logon" { + description + "Log on event"; + } + enum "pevent-type-acct-logoff" { + description + "Log off event"; + } + enum "pevent-type-credit-exhausted" { + description + "Credit exhausted event"; + } + enum "pevent-type-idle-timeout" { + description + "Idle timeout event"; + } + enum "pevent-type-absolute-timeout" { + description + "Absolute timeout event"; + } + enum "pevent-type-quota-depleted" { + description + "Quota depletion event"; + } + enum "pevent-type-service-start" { + description + "Service start event"; + } + enum "pevent-type-service-stop" { + description + "Service stop event"; + } + enum "pevent-type-session-start" { + description + "Session start event"; + } + enum "pevent-type-session-activate" { + description + "Session activate event"; + } + enum "pevent-type-session-restart" { + description + "Session restart event"; + } + enum "pevent-type-session-stop" { + description + "Session stop event"; + } + enum "pevent-type-session-disconnect" { + description + "Session disconnect event"; + } + enum "pevent-type-session-update" { + description + "Session update event"; + } + enum "pevent-type-flow-start" { + description + "Flow start event"; + } + enum "pevent-type-flow-stop" { + description + "Flow stop event"; + } + enum "pevent-type-accouting-start" { + description + "Accounting start event"; + } + enum "pevent-type-acountng-g-stop" { + description + "Accounting stop event"; + } + enum "pevent-type-acountng-g-update" { + description + "Accounting update event"; + } + enum "pevent-type-timer-expiry" { + description + "Timer expierd event"; + } + enum "pevent-type-threshold-reached" { + description + "Threshold reached event"; + } + enum "pevent-type-ka-success" { + description + "Keep alive success event"; + } + enum "pevent-type-ka-failure" { + description + "Keep alive failure event"; + } + enum "pevent-type-link-up" { + description + "Link up event"; + } + enum "pevent-type-link-down" { + description + "Link down event"; + } + enum "pevent-type-authorization-failure" { + description + "Authorization failure event"; + } + enum "pevent-type-authorization-no-response" { + description + "Authorization no response event"; + } + enum "pevent-type-authentication-failure" { + description + "Authentication failure event"; + } + enum "pevent-type-authentication-no-response" { + description + "Authentication no response event"; + } + enum "pevent-type-exception" { + description + "Exception event"; + } + enum "pevent-type-session-ident-chg" { + description + "Session identity change event"; + } + enum "pevent-type-max" { + description + "Internal use only"; + } + } + description + "Policy event enumeration"; + } + + typedef Afmon-react-parm-type-en { + type enumeration { + enum "afmon-react-parm-invalid" { + value 0; + description + "invalid"; + } + enum "afmon-react-parm-oper-id" { + value 1; + description + "Operation ID"; + } + enum "afmon-react-parm-crit-erion" { + value 2; + description + "Criterion"; + } + enum "afmon-react-parm-desc" { + value 3; + description + "Description"; + } + enum "afmon-react-parm-trig-value" { + value 4; + description + "Trigger value"; + } + enum "afmon-react-parm-trig-type" { + value 5; + description + "Trigger Type"; + } + enum "afmon-react-parm-action" { + value 6; + description + "Action"; + } + enum "afmon-react-parm-alm-type" { + value 7; + description + "Alarm type"; + } + enum "afmon-react-parm-alm-severity" { + value 8; + description + "Alarm Severity"; + } + enum "afmon-react-parm-max" { + value 9; + description + "Maximum react parm type"; + } + } + description + "(afmon) React submode param types"; + } + + typedef Plmgr-var-type-en { + type enumeration { + enum "plmgr-var-type-class-name" { + description + "plmgr var type class name"; + } + enum "plmgr-var-type-uint8" { + description + "plmgr var type uint8"; + } + enum "plmgr-var-type-uint16" { + description + "plmgr var type uint16"; + } + enum "plmgr-var-type-uint32" { + description + "plmgr var type uint32"; + } + enum "plmgr-var-type-param-uint32" { + description + "plmgr var type param uint32"; + } + enum "plmgr-var-type-dscp" { + description + "plmgr var type dscp"; + } + enum "plmgr-var-type-prec" { + description + "plmgr var type prec"; + } + enum "plmgr-var-type-max" { + description + "plmgr var type max"; + } + } + description + "Type of default variable values"; + } + + typedef Var-cmap-name { + type string { + length "0..65"; + } + description + "Var cmap name"; + } + + typedef Policy-map-name { + type string { + length "0..65"; + } + description + "Policy map name"; + } + + typedef Policy-action-attr-en { + type enumeration { + enum "action-attribute" { + value 1; + description + "action attribute"; + } + enum "sub-action-attribute" { + value 2; + description + "sub action attribute"; + } + } + description + "Policy action attribute enum"; + } + + typedef String-td { + type string; + description + "String td"; + } + + typedef Policy-obj-enc-en { + type enumeration { + enum "policy-obj-enc-name" { + description + "Name of the Policy"; + } + enum "policy-obj-enc-hdl" { + description + "Policy Handle"; + } + enum "policy-obj-enc-var-idx" { + description + "Policy Variable Index"; + } + enum "policy-obj-enc-in-line" { + description + "Inline Class"; + } + } + description + "Child policy related encoding information"; + } + + typedef Plmgr-app-fwding-type-e { + type enumeration { + enum "layer2" { + value 0; + description + " Forwarding type layer2"; + } + enum "layer3" { + value 1; + description + " Forwarding type layer3"; + } + enum "any" { + value 2; + description + "Forwarding type any"; + } + } + description + "Forwarding types"; + } + + typedef Class-map-type-en { + type enumeration { + enum "class-map-type-none" { + description + "class map type none"; + } + enum "class-map-type-qos" { + description + "class map type qos"; + } + enum "class-map-type-pbr" { + description + "class map type pbr"; + } + enum "class-map-type-traffic" { + description + "class map type traffic"; + } + enum "class-map-type-subs-control" { + description + "class map type subs control"; + } + enum "class-map-type-max" { + description + "class map type max"; + } + } + description + "Class map type en"; + } + + typedef Wred-type-en { + type enumeration { + enum "wred-cos-cmd" { + description + "wred cos cmd"; + } + enum "wred-dscp-cmd" { + description + "wred dscp cmd"; + } + enum "wred-precedence-cmd" { + description + "wred precedence cmd"; + } + enum "wred-discard-class-cmd" { + description + "wred discard class cmd"; + } + enum "wred-mpls-exp-cmd" { + description + "wred mpls exp cmd"; + } + enum "red-with-user-min-max" { + description + "red with user min max"; + } + enum "red-with-default-min-max" { + description + "red with default min max"; + } + enum "wred-dei-cmd" { + description + "wred dei cmd"; + } + enum "wred-ecn-cmd" { + description + "wred ecn cmd"; + } + enum "wred-invalid-cmd" { + description + "wred invalid cmd"; + } + } + description + "Wred type en"; + } + + typedef Policy-map-table-type-en { + type enumeration { + enum "policy-map-table-type-none" { + description + "policy map table type none"; + } + enum "policy-map-table-type-l2-any" { + description + "policy map table type l2 any"; + } + enum "policy-map-table-type-l2-l3" { + description + "policy map table type l2 l3"; + } + enum "policy-map-table-type-l3-ipv4" { + description + "policy map table type l3 ipv4"; + } + enum "policy-map-table-type-l3-ds" { + description + "policy map table type l3 ds"; + } + enum "policy-map-table-type-traffic-ingress" { + description + "policy map table type traffic ingress"; + } + enum "policy-map-table-type-qos-ingress" { + description + "policy map table type qos ingress"; + } + enum "policy-map-table-type-qos-egress" { + description + "policy map table type qos egress"; + } + enum "policy-map-table-type-max" { + description + "policy map table type max"; + } + } + description + "Policy-Map Table Type"; + } + + typedef Shared-bucket-type { + type enumeration { + enum "shared-bucket-type-not-specified" { + description + "shared bucket type not specified"; + } + enum "shared-bucket-referred" { + description + "shared bucket referred"; + } + enum "shared-bucket-defined" { + description + "shared bucket defined"; + } + } + description + "Shared bucket type"; + } + + typedef Afmon-rtp-clock-rate-type-en { + type enumeration { + enum "afmon-rtp-cr-invalid" { + value 0; + description + "afmon rtp cr invalid"; + } + enum "afmon-rtp-cr-8k" { + value 1; + description + "afmon rtp cr 8k"; + } + enum "afmon-rtp-cr-16k" { + value 2; + description + "afmon rtp cr 16k"; + } + enum "afmon-rtp-cr-11025" { + value 3; + description + "afmon rtp cr 11025"; + } + enum "afmon-rtp-cr-22050" { + value 4; + description + "afmon rtp cr 22050"; + } + enum "afmon-rtp-cr-44100" { + value 5; + description + "afmon rtp cr 44100"; + } + enum "afmon-rtp-cr-48k" { + value 6; + description + "afmon rtp cr 48k"; + } + enum "afmon-rtp-cr-90k" { + value 7; + description + "afmon rtp cr 90k"; + } + enum "afmon-rtp-cr-27m" { + value 8; + description + "afmon rtp cr 27m"; + } + enum "afmon-rtp-cr-148500k" { + value 9; + description + "afmon rtp cr 148500k"; + } + enum "afmon-rtp-cr-148351k" { + value 10; + description + "afmon rtp cr 148351k"; + } + enum "afmon-rtp-cr-max" { + value 11; + description + "afmon rtp cr max"; + } + } + description + "Afmon rtp clock rate type en"; + } + + typedef Afmon-trig-relop-en { + type enumeration { + enum "afmon-trig-relop-invalid" { + value 0; + description + "afmon trig relop invalid"; + } + enum "afmon-trig-lt" { + value 1; + description + "afmon trig lt"; + } + enum "afmon-trig-le" { + value 2; + description + "afmon trig le"; + } + enum "afmon-trig-gt" { + value 3; + description + "afmon trig gt"; + } + enum "afmon-trig-ge" { + value 4; + description + "afmon trig ge"; + } + enum "afmon-trig-range" { + value 5; + description + "afmon trig range"; + } + enum "afmon-trig-relop-max" { + value 6; + description + "afmon trig relop max"; + } + } + description + "Afmon trig relop en"; + } + + typedef Match-no-username-en { + type enumeration { + enum "match-no-user-name-unspecified" { + value 0; + description + "match no user name unspecified"; + } + enum "match-no-user-name" { + value 1; + description + "match no user name"; + } + enum "match-user-name" { + value 2; + description + "match user name"; + } + enum "match-no-user-name-max" { + value 3; + description + "match no user name max"; + } + } + description + "Match no username en"; + } + + typedef Afmon-rtp-parm-type-en { + type enumeration { + enum "afmon-rtp-parm-invalid" { + value 0; + description + "afmon rtp parm invalid"; + } + enum "afmon-rtp-parm-min-seq" { + value 1; + description + "afmon rtp parm min seq"; + } + enum "afmon-rtp-parm-max-drop" { + value 2; + description + "afmon rtp parm max drop"; + } + enum "afmon-rtp-parm-max-mis-order" { + value 3; + description + "afmon rtp parm max mis order"; + } + enum "afmon-rtp-parm-seq-ext-cop4" { + value 4; + description + "afmon rtp parm seq ext cop4"; + } + enum "afmon-rtp-parm-clock-rate" { + value 5; + description + "afmon rtp parm clock rate"; + } + enum "afmon-rtp-parm-max" { + value 6; + description + "afmon rtp parm max"; + } + } + description + "Afmon rtp parm type en"; + } + + typedef Policy-map-type-en { + type enumeration { + enum "policy-map-type-none" { + description + "policy map type none"; + } + enum "policy-map-type-qos" { + description + "policy map type qos"; + } + enum "policy-map-type-pbr" { + description + "policy map type pbr"; + } + enum "policy-map-type-traffic" { + description + "policy map type traffic"; + } + enum "policy-map-type-subs-control" { + description + "policy map type subs control"; + } + enum "policy-map-type-accounting" { + description + "policy map type accounting"; + } + enum "policy-map-type-redirect" { + description + "policy map type redirect"; + } + enum "policy-map-type-afmon" { + description + "policy map type afmon"; + } + enum "policy-map-type-merge" { + description + "policy map type merge"; + } + enum "policy-map-type-max" { + description + "policy map type max"; + } + } + description + "Policy map type en"; + } + + typedef Redirect-type-en { + type enumeration { + enum "redirect-type-none" { + value 0; + description + "Redirect None"; + } + enum "redirect-type-output-interface" { + value 1; + description + "Redirect to output intreface"; + } + enum "redirect-type-max" { + value 2; + description + "Redirect Max (Invalid)"; + } + } + description + "Redirect types Enumeration"; + } + + typedef Policy-action-exec-type-e { + type enumeration { + enum "execution-immediate" { + value 1; + description + "execution immediate"; + } + enum "execution-deferred" { + value 2; + description + "execution deferred"; + } + } + description + "Policy action execution type enum"; + } + + typedef Class-map-mode-en { + type enumeration { + enum "class-map-mode-match-any" { + value 0; + description + "Type Match-Any"; + } + enum "class-map-mode-match-all" { + value 1; + description + "Type Match-All"; + } + enum "class-map-mode-max" { + value 2; + description + "Not a valid mode"; + } + enum "class-map-mode-usr-def" { + value 1073741824; + description + "User defined match type"; + } + } + description + "Class-Map Mode"; + } + + typedef Match-subs-protocol-en { + type enumeration { + enum "match-subs-protocol-unspecified" { + value 0; + description + "match subs protocol unspecified"; + } + enum "match-subs-protocol-ipv4" { + value 1; + description + "match subs protocol ipv4"; + } + enum "match-subs-protocol-ppp" { + value 2; + description + "match subs protocol ppp"; + } + enum "match-subs-protocol-dhcpv4" { + value 3; + description + "match subs protocol dhcpv4"; + } + enum "match-subs-protocol-dhcpv6" { + value 4; + description + "match subs protocol dhcpv6"; + } + enum "match-subs-protocol-max" { + value 5; + description + "match subs protocol max"; + } + } + description + "Match subs protocol en"; + } + + typedef Vsvc-service-type-t { + type enumeration { + enum "vsvc-service-invalid" { + value 0; + description + "vsvc service invalid"; + } + enum "vsvc-service-v-path" { + value 1; + description + "vsvc service v path"; + } + enum "vsvc-service-ipsec" { + value 2; + description + "vsvc service ipsec"; + } + enum "vsvc-service-cgn" { + value 3; + description + "vsvc service cgn"; + } + enum "vsvc-service-o-flow" { + value 4; + description + "vsvc service o flow"; + } + enum "vsvc-service-output" { + value 5; + description + "vsvc service output"; + } + enum "vsvc-service-cfg-v-path" { + value 6; + description + "vsvc service cfg v path"; + } + enum "vsvc-service-sfp" { + value 7; + description + "vsvc service sfp"; + } + enum "vsvc-service-sfl" { + value 8; + description + "vsvc service sfl"; + } + enum "vsvc-service-sffl" { + value 9; + description + "vsvc service sffl"; + } + enum "vsvc-service-max" { + value 10; + description + "vsvc service max"; + } + } + description + "Vsvc service type t"; + } + + typedef Class-map-hd-inbag { + type uint64; + description + "Class map hd inbag"; + } + + typedef Afmon-flow-parm-type-en { + type enumeration { + enum "afmon-flow-parm-invalid" { + value 0; + description + "invalid"; + } + enum "afmon-flow-parm-max-mon-flow-s" { + value 1; + description + "Max monitored flows"; + } + enum "afmon-flow-parm-mon-interval" { + value 2; + description + "Monitoring interval"; + } + enum "afmon-flow-parm-intvl-hist" { + value 3; + description + "Interval History"; + } + enum "afmon-flow-parm-flow-timeout" { + value 4; + description + "Flow Timeout"; + } + enum "afmon-flow-parm-max" { + value 5; + description + "Maximum flow parm type"; + } + } + description + "(afmon) Flow submode param types"; + } + + typedef Afmon-trig-type-en { + type enumeration { + enum "afmon-trig-type-invalid" { + value 0; + description + "afmon trig type invalid"; + } + enum "afmon-trig-immed" { + value 1; + description + "afmon trig immed"; + } + enum "afmon-trig-avg" { + value 2; + description + "afmon trig avg"; + } + enum "afmon-trig-type-max" { + value 3; + description + "afmon trig type max"; + } + } + description + "Afmon trig type en"; + } + + typedef Match-authen-status-en { + type enumeration { + enum "match-authen-status-unspecified" { + value 0; + description + "match authen status unspecified"; + } + enum "match-authen-status-authenticated" { + value 1; + description + "match authen status authenticated"; + } + enum "match-authen-status-unauthenticated" { + value 2; + description + "match authen status unauthenticated"; + } + enum "match-authen-status-max" { + value 3; + description + "match authen status max"; + } + } + description + "Match authen status en"; + } + + typedef Policy-class-info-en { + type enumeration { + enum "policy-class-info-key-type" { + description + "Policy Class Info Key"; + } + enum "policy-class-info-mod-type" { + description + "Policy Class Info Modify Bag"; + } + } + description + "Policy class info en"; + } + + typedef Afmon-mdi-parm-type-en { + type enumeration { + enum "afmon-mdi-parm-invalid" { + value 0; + description + "afmon mdi parm invalid"; + } + enum "afmon-mdi-parm-pids" { + value 1; + description + "afmon mdi parm pids"; + } + enum "afmon-mdi-parm-pkt-rate" { + value 2; + description + "afmon mdi parm pkt rate"; + } + enum "afmon-mdi-parm-ip-pkt-rate" { + value 3; + description + "afmon mdi parm ip pkt rate"; + } + enum "afmon-mdi-parm-ip-bit-rate" { + value 4; + description + "afmon mdi parm ip bit rate"; + } + enum "afmon-mdi-parm-max" { + value 5; + description + "afmon mdi parm max"; + } + } + description + "Afmon mdi parm type en"; + } + + typedef Police-action-type-en { + type enumeration { + enum "police-action-none" { + value 0; + description + "Policer Action None"; + } + enum "police-action-transmit" { + value 1; + description + "Policer Action Transmit"; + } + enum "police-action-drop" { + value 2; + description + "Policer Action Drop"; + } + enum "police-action-mark" { + value 3; + description + "Policer Action Mark"; + } + enum "police-action-max" { + value 4; + description + "Policer Action Max"; + } + } + description + "Policer Action Type"; + } + + typedef Match-mlp-negotiated-en { + type enumeration { + enum "match-mlp-negotiated-unspecified" { + value 0; + description + "match mlp negotiated unspecified"; + } + enum "match-mlp-negotiated" { + value 1; + description + "match mlp negotiated"; + } + enum "match-mlp-not-negotiated" { + value 2; + description + "match mlp not negotiated"; + } + enum "match-mlp-max" { + value 3; + description + "match mlp max"; + } + } + description + "Match mlp negotiated en"; + } + + typedef Match-cap-e { + type uint8; + description + "Match cap e"; + } + + typedef Policy-action-e { + type uint8; + description + "Policy action e"; + } + + typedef Match-nas-port-intf-type-en { + type enumeration { + enum "match-nas-port-intf-type-unspecified" { + value 0; + description + "match nas port intf type unspecified"; + } + enum "match-nas-port-intf-type-async" { + value 1; + description + "match nas port intf type async"; + } + enum "match-nas-port-intf-type-atm" { + value 2; + description + "match nas port intf type atm"; + } + enum "match-nas-port-intf-type-bri" { + value 3; + description + "match nas port intf type bri"; + } + enum "match-nas-port-intf-type-ether" { + value 4; + description + "match nas port intf type ether"; + } + enum "match-nas-port-intf-type-ipsec" { + value 5; + description + "match nas port intf type ipsec"; + } + enum "match-nas-port-intf-type-none" { + value 6; + description + "match nas port intf type none"; + } + enum "match-nas-port-intf-type-piafs" { + value 7; + description + "match nas port intf type piafs"; + } + enum "match-nas-port-intf-type-pppatm" { + value 8; + description + "match nas port intf type pppatm"; + } + enum "match-nas-port-intf-type-ppp-ether" { + value 9; + description + "match nas port intf type ppp ether"; + } + enum "match-nas-port-intf-type-pppoeatm" { + value 10; + description + "match nas port intf type pppoeatm"; + } + enum "match-nas-port-intf-type-pppqinq" { + value 11; + description + "match nas port intf type pppqinq"; + } + enum "match-nas-port-intf-type-pppvlan" { + value 12; + description + "match nas port intf type pppvlan"; + } + enum "match-nas-port-intf-type-pri" { + value 13; + description + "match nas port intf type pri"; + } + enum "match-nas-port-intf-type-sync" { + value 14; + description + "match nas port intf type sync"; + } + enum "match-nas-port-intf-type-v110" { + value 15; + description + "match nas port intf type v110"; + } + enum "match-nas-port-intf-type-v120" { + value 16; + description + "match nas port intf type v120"; + } + enum "match-nas-port-intf-type-vty" { + value 17; + description + "match nas port intf type vty"; + } + enum "match-nas-port-intf-type-x75" { + value 18; + description + "match nas port intf type x75"; + } + enum "match-nas-port-intf-type-max" { + value 19; + description + "match nas port intf type max"; + } + } + description + "Match nas port intf type en"; + } + + grouping DEI-BIT { + description + "DEI BIT"; + uses DEI-BIT-ST; + } + + grouping UINT64-ARRAY { + description + "UINT64 ARRAY"; + leaf-list uint64_array { + type uint64; + description + "uint64 array"; + } + } + + grouping DEI-BIT-ST { + description + "DEI BIT ST"; + leaf bit-value { + type uint32; + description + "Value of the DEI bit"; + } + } + + grouping ACTION-PBF-INFO-ST { + description + "action pbr pbf"; + leaf addr { + type inet:ipv6-address; + description + "v4 or v6 address"; + } + leaf vrf { + type String-td; + description + "vrf name"; + } + leaf rt-type { + type uint8; + description + "route target type"; + } + leaf rt { + type yang:hex-string; + description + "route target"; + } + } + + grouping MAC-ADDR-ARRAY { + description + "MAC ADDR ARRAY"; + list mac-addr-array { + description + "mac addr array"; + uses MAC-ADDR-ST; + } + } + + grouping ACTION-SERVICE-FUNCTION-PATH-ST { + description + "service function path"; + leaf path-id { + type uint32; + description + "service path id"; + } + leaf service-index { + type uint8; + description + "service path index"; + } + leaf meta-name { + type string; + description + "metadata name"; + } + leaf vs-index { + type uint32; + description + "vservice index"; + } + } + + grouping ACTION-AFMON-FMM-INFO-P { + description + "ACTION AFMON FMM INFO P"; + uses ACTION-AFMON-FMM-INFO-ST; + } + + grouping ACTION-MARK2-INFO { + description + "ACTION MARK2 INFO"; + list action-mark2-info { + description + "action mark2 info"; + uses ACTION-MARK2-INFO-ST; + } + } + + grouping ACTION-AUTHEN-AAA-INFO-P { + description + "ACTION AUTHEN AAA INFO P"; + uses ACTION-AUTHEN-AAA-ST; + } + + grouping ACTION-IPV4-NH-INFO-ST { + description + "ipv4 next hop action"; + leaf nh-addr { + type inet:ipv4-address; + description + "nh addr"; + } + leaf vrf-name { + type string; + description + "Vrf name"; + } + } + + grouping ACTION-AFMON-REACT-ST { + description + "AFMon React Configuration"; + leaf oper-id { + type uint32; + description + "React Operation ID"; + } + leaf description { + type String-td; + description + "Describing the oper"; + } + leaf trig-num-intvls { + type uint32; + description + "Averaged over N intvls"; + } + leaf clone-ifh { + type uint32; + description + "Clone interface handle"; + } + leaf notif-actns { + type uint8; + description + "Bitmap of actions on alert"; + } + leaf criterion { + type uint8; + description + "React Criterion"; + } + leaf trig-type { + type uint8; + description + "Immediate or averaged thresh trigger"; + } + leaf trig-relop { + type uint8; + description + "Trigger LT|LE|GT|GE|Range"; + } + leaf trig-level-1 { + type String-td; + description + "Trigger threshold 1/lower"; + } + leaf trig-level-2 { + type String-td; + description + "Trigger upper threshold for range"; + } + leaf alm-grp-thresh { + type uint16; + units "percentage"; + description + "Num/percent in grp"; + } + leaf alm-type { + type uint8; + description + "Discrete | grouped alarm"; + } + leaf alm-severity { + type uint8; + description + "Major|Minor|... alarm"; + } + } + + grouping ACTION-STOP-TIMER-INFO-P { + description + "ACTION STOP TIMER INFO P"; + uses ACTION-STOP-TIMER-ST; + } + + grouping PMAP-VAR-LIST-ST { + description + "PMAP VAR LIST ST"; + list pmap-var-list-arr { + description + "pmap var list arr"; + uses PMAP-VAR-INFO-ST; + } + } + + grouping ACTION-AFMON-MDI-INFO-ST { + description + "AFMon MDI Configuration"; + container ip-bit-rate { + description + "data rate in bps"; + uses POLICY-PARAM-UINT32-ST; + } + leaf action-metric-type { + type Policy-action-en; + description + "metric type"; + } + leaf filtered-pkt-rate { + type uint32; + description + "filtered packet rate"; + } + leaf ip-pkt-rate { + type uint32; + description + "packet rate in pps"; + } + leaf-list pids { + type uint32; + description + "array of monitoredcd pids"; + } + } + + grouping INLINE-CLASS-MAP-BG { + description + "Inline Class-map bag"; + container match-infop { + description + "Pointer to the first Match info"; + uses CLASS-MATCH-INFO-ST; + } + leaf mode { + type Class-map-mode-en; + description + "Inline Class-Map Mode Match any/all"; + } + leaf flags { + type uint32; + description + "Inline Class-Map flags"; + } + leaf match-count { + type uint32; + description + "Number of Match infos"; + } + } + + grouping ACTION-AFMON-FLOW-PARM-INFO-ST { + description + "(afmon) flow-parm submode action"; + leaf max-mon-flows { + type uint32; + description + "max simult flows monitored per policy class"; + } + leaf mon-interval { + type uint32; + units "second"; + description + "monitored interval duration in secs"; + } + leaf intvl-hist { + type uint32; + description + "num intervals of data stored on rtr"; + } + leaf flow-timeout { + type uint32; + units "second"; + description + "timeout in secs"; + } + } + + grouping ACTION-TIMEOUT-IDLE-INFO-P { + description + "ACTION TIMEOUT IDLE INFO P"; + uses ACTION-TIMEOUT-IDLE-ST; + } + + grouping ACTION-ACCOUNTING-EVENT-ST { + description + "ACTION ACCOUNTING EVENT ST"; + leaf action { + type Acct-en; + description + "action"; + } + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + } + + grouping PLMGR-VRF-STATS-BG { + description + "List of Stats of all class type"; + leaf pmap-name { + type string; + description + "pmap name"; + } + list cmap-stats-arr { + description + "cmap stats arr"; + uses PLMGR-CMAP-STATS-ARR-ST; + } + } + + grouping POLICY-MAP-BG { + description + "Policy-map Bag"; + list policy-map-bg { + description + "policy map bg"; + container pmap-var-list { + description + "pmap var list"; + uses PMAP-VAR-LIST-ST; + } + container event-infop { + description + "event infop"; + uses POLICY-EVENT-INFO-BG; + } + leaf name { + type Policy-map-name; + description + "name"; + } + leaf type { + type Policy-map-type-en; + description + "type"; + } + leaf description { + type String-td; + description + "description"; + } + } + } + + grouping MATCH-IPV4-ST { + description + "Source Address IPv4"; + leaf prefix { + type inet:ipv4-address; + description + "prefix"; + } + leaf mask { + type inet:ipv4-address; + description + "mask"; + } + } + + grouping ACTION-IPV4-NH-INFO-P { + description + "ACTION IPV4 NH INFO P"; + uses ACTION-IPV4-NH-INFO-ARRAY; + } + + grouping ACTION-QLIMIT-INFO-ST { + description + "Queue Limit structure"; + container qlim { + description + "qlim"; + uses POLICY-PARAM-UINT32-ST; + } + container atmclp-qlim { + description + "atmclp qlim"; + uses POLICY-PARAM-UINT32-ST; + } + container match-values { + description + "match values"; + uses UINT8-RNG-ARRAY; + } + leaf type { + type Qlimit-type-en; + description + "type"; + } + leaf qlimit-flags { + type uint32; + description + "qlimit flags"; + } + } + + grouping POLICY-MAP-APPLIED-SHOW-BG { + description + "Policy-map applied show bag"; + leaf parent-pmap-name { + type Policy-map-name; + description + "parent pmap name"; + } + leaf pmap-type { + type Policy-map-type-en; + description + "pmap type"; + } + leaf-list subscriber-grp { + type Object-name; + description + "subscriber grp"; + } + list pmaps { + description + "pmaps"; + uses POLICY-MAP-BG; + } + list pmap-var-list { + description + "pmap var list"; + uses PLMGR-APPLIED-VARLIST-BG; + } + } + + grouping POLICY-PARAM-UINT32-ST { + description + "POLICY PARAM UINT32 ST"; + leaf value { + type uint32; + description + "value"; + } + leaf unit { + type Policy-param-unit-type; + description + "unit"; + } + } + + grouping ACTION-PFC-INFO-P { + description + "ACTION PFC INFO P"; + uses ACTION-PFC-INFO-ST; + } + + grouping VALUE-ATTR-T { + description + " Value attribute for a match type"; + leaf minimum { + type uint32; + description + "Minimum value for a match type"; + } + leaf maximum { + type uint32; + description + "Maximum value for a match type"; + } + } + + grouping POLICY-MAP-APPLIED-DATA-BG { + description + "Policy-map applied data bag"; + leaf applied-pmap-name { + type Policy-map-name; + description + "applied pmap name"; + } + leaf pmap-type { + type Policy-map-type-en; + description + "pmap type"; + } + leaf-list merged-pmap-name-arr { + type Policy-map-name; + description + "merged pmap name arr"; + } + leaf-list subscriber-grp { + type Object-name; + description + "subscriber grp"; + } + list pmap-var-list { + description + "pmap var list"; + uses PLMGR-APPLIED-VARLIST-BG; + } + } + + grouping PACTION-DATA-HD { + description + "PACTION DATA HD"; + uses POLICY-ACTION-INFO-ST; + } + + grouping PLMGR-CMAP-DIFF-BG { + description + "Class-map diff Bag"; + container del { + description + "del"; + uses CLASS-MAP-BG; + } + container add { + description + "add"; + uses CLASS-MAP-BG; + } + } + + grouping ACTION-MARK-INFO { + description + "ACTION MARK INFO"; + list action-mark-info { + description + "action mark info"; + uses ACTION-MARK-INFO-ST; + } + } + + grouping POLICY-CLASS-INFO-MOD-BG { + description + "Policy-class modify Bag"; + list policy-class-info-mod-bg { + description + "policy class info mod bg"; + container new-value { + description + "new value"; + uses POLICY-CLASS-INFO-BG; + } + container old-value { + description + "old value"; + uses POLICY-CLASS-INFO-BG; + } + } + } + + grouping POLICY-ACTION-INFO-ST { + description + "Per class action structure"; + list policy-action-info-st { + description + "policy action info st"; + container actp { + description + "actp"; + uses POLICY-ACTION-DATAP-UN; + } + leaf seq { + type uint16; + description + "seq"; + } + leaf flags { + type uint16; + description + "flags"; + } + } + } + + grouping CMATCH-DATA-HD { + description + "CMATCH DATA HD"; + uses CLASS-MATCH-INFO-ST; + } + + grouping ACTION-QLIMIT-INFO-P { + description + "ACTION QLIMIT INFO P"; + uses ACTION-QLIMIT-INFO-ARRAY; + } + + grouping PLMGR-APP-TB-ACTION-CAP-T { + description + "Policy action capability"; + container policy-action-attribute { + description + "Policy Action attribute info"; + uses PLMGR-ACTION-ATTR-UN; + } + leaf policy-action { + type Policy-action-e; + description + "Policy action "; + } + } + + grouping PLMGR-CMAP-STATS-ARR-ST { + description + "Statistics per ClassMap"; + leaf cmap-name { + type string { + length "0..65"; + } + description + "cmap name"; + } + leaf matched-bytes { + type uint64; + description + "matched bytes"; + } + leaf matched-packets { + type uint64; + description + "matched packets"; + } + leaf transmit-bytes { + type uint64; + description + "transmit bytes"; + } + leaf transmit-packets { + type uint64; + description + "transmit packets"; + } + } + + grouping POL-CLASS-ENC-UN { + description + "Union of object name and app object ptr"; + container inline-cmap { + when "../enc = 'policy-obj-enc-in-line'" { + description + "../enc = 'POLICY_OBJ_ENC_INLINE'"; + } + description + "inline cmap"; + uses INLINE-CLASS-MAP-BG; + } + leaf enc { + type Policy-obj-enc-en; + description + "enc"; + } + leaf class-name { + when "../enc = 'policy-obj-enc-name'" { + description + "../enc = 'POLICY_OBJ_ENC_NAME'"; + } + type Class-map-name; + description + "class name"; + } + leaf hd { + when "../enc = 'policy-obj-enc-hdl'" { + description + "../enc = 'POLICY_OBJ_ENC_HDL'"; + } + type Class-map-hd-inbag; + description + "hd"; + } + leaf idx { + when "../enc = 'policy-obj-enc-var-idx'" { + description + "../enc = 'POLICY_OBJ_ENC_VAR_IDX'"; + } + type uint8; + description + "idx"; + } + } + + grouping ACTION-SERVICE-FUNCTION-PATH-P { + description + "ACTION SERVICE FUNCTION PATH P"; + uses ACTION-SERVICE-FUNCTION-PATH-ST; + } + + grouping ACTION-SHAPE-INFO-ST { + description + "Shape info bag"; + container bw { + description + "bw"; + uses POLICY-PARAM-UINT32-ST; + } + container be { + description + "be"; + uses POLICY-PARAM-UINT32-ST; + } + } + + grouping ACTION-SERVICE-POLICY-INFO-P { + description + "ACTION SERVICE POLICY INFO P"; + uses CHLD-POL-ENC-UN; + } + + grouping ACTION-PFC-INFO-ST { + description + "Pfc info bag"; + container buffer-size { + description + "buffer size"; + uses POLICY-PARAM-UINT32-ST; + } + container pause-threshold { + description + "pause threshold"; + uses POLICY-PARAM-UINT32-ST; + } + container resume-threshold { + description + "resume threshold"; + uses POLICY-PARAM-UINT32-ST; + } + leaf pfc-pause-set { + type uint32; + description + "pfc pause set"; + } + leaf buffer-size-flag { + type uint32; + description + "buffer size flag"; + } + } + + grouping MATCH-NAS-PORT-ST { + description + "NAS Port"; + leaf sub-id { + type Match-nas-port-sub-id-en; + description + "sub id"; + } + leaf operator { + type Match-logical-operator-en; + description + "operator"; + } + leaf value { + type uint32; + description + "value"; + } + } + + grouping PLMGR-APP-GL-COOKIE-CAP-T { + description + "Cookie capability of a network element"; + leaf policy-map-cookie { + type boolean; + description + "Specifies policy-map cookie supported or not"; + } + leaf inline-class-cookie { + type boolean; + description + "Specifies class cookie supported or not"; + } + } + + grouping CMAP-DATA-HD { + description + "CMAP DATA HD"; + uses CLASS-MAP-BG; + } + + grouping ACTION-AUTHEN-AAA-ST { + description + "Authenticate AAA list info"; + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + leaf authen-password { + type string; + description + "authen password"; + } + } + + grouping ACTION-SET-TIMER-INFO-P { + description + "ACTION SET TIMER INFO P"; + uses ACTION-SET-TIMER-ST; + } + + grouping MAC-ADDR-ST { + description + "MAC ADDR ST"; + leaf-list mac-addr { + type uint16; + max-elements "3"; + description + "MAC address"; + } + leaf-list mask { + type uint16; + max-elements "3"; + description + "MAC mask"; + } + } + + grouping PLMGR-ACTION-ATTR-UN { + description + "Union of default values corrosponding to variable + type"; + container sub-action { + when "../action-type = 'sub-action-attribute'" { + description + "../action_type = 'SubActionAttribute'"; + } + description + "sub action"; + uses POLICY-SUB-ACTIONS-T; + } + container action-attr { + when "../action-type = 'action-attribute'" { + description + "../action_type = 'ActionAttribute'"; + } + description + "action attr"; + uses POLICY-ACTION-ATTR-T; + } + leaf action-type { + type Policy-action-attr-en; + description + "action type"; + } + } + + grouping PLMGR-APP-GL-SYSTEM-CAP-T { + description + "System level capability of a network element"; + leaf maximum-inline-classes-per-system { + type uint32; + description + "Maximum number of inline classes supported on a + network element"; + } + leaf maximum-policy-maps-per-system { + type uint32; + description + "Maximum number of unique policy-map supported on + a network element"; + } + } + + grouping ACTION-PRIO-INFO-ST { + description + "Priority action"; + leaf prio-lvl { + type uint32; + description + "prio lvl"; + } + } + + grouping ACTION-AFMON-RTP-INFO-P { + description + "ACTION AFMON RTP INFO P"; + uses ACTION-AFMON-RTP-INFO-ST; + } + + grouping PLMGR-MATCH-ATTR-UN { + description + "Union of default values corrosponding to variable + type"; + container val-attr { + when "../match-attr-type = 'value'" { + description + "../match_attr_type = 'Value'"; + } + description + "val attr"; + uses VALUE-ATTR-T; + } + container rng-attr { + when "../match-attr-type = 'range'" { + description + "../match_attr_type = 'Range'"; + } + description + "rng attr"; + uses VALUE-ATTR-T; + } + container mask-attr { + when "../match-attr-type = 'mask'" { + description + "../match_attr_type = 'Mask'"; + } + description + "mask attr"; + uses MASK-ATTR-T; + } + leaf match-attr-type { + type Match-attr-e; + description + "match attr type"; + } + } + + grouping UINT16-RNG-ARRAY { + description + "UINT16 RNG ARRAY"; + list uint16_rng_array { + description + "uint16 rng array"; + uses UINT16-RNG-ST; + } + } + + grouping PLMGR-PMAP-TARGETS-SUMMARY-BG { + description + "Policymap targets summary info. returned to show + client(from policymgr)"; + leaf total-policy-maps-input-direction { + type uint32; + description + "Total policymapsin the input direction"; + } + leaf total-policy-maps-output-direction { + type uint32; + description + "Total policymapsin the output direction"; + } + leaf total-child-policy-maps-input-direction { + type uint32; + description + "Totalpolicymaps applied as child policy in the + input direction"; + } + leaf total-child-policy-maps-output-direction { + type uint32; + description + "Totalpolicymaps applied as child policy in the + output direction"; + } + leaf total-interfaces-input-direction { + type uint32; + description + "Totalinterfaces with service-policy in the input + direction"; + } + leaf total-interfaces-output-direction { + type uint32; + description + "Totalinterfaces with service-policy in the + output direction"; + } + } + + grouping POLICY-MAP-DETAILED-SHOW-BG { + description + "Policy-map detail show bag"; + container pmap { + description + "Policy map info"; + uses POLICY-MAP-BG; + } + container ipv4-acl { + description + "IPv4 Access-list"; + uses STRING-ARRAY; + } + container ipv6-acl { + description + "IPv6 Access-list"; + uses STRING-ARRAY; + } + container ether-service-acl { + description + "Ethernet-Services Access-list"; + uses STRING-ARRAY; + } + } + + grouping PLMGR-SUMMARY-BG { + description + "The policymgr database"; + leaf total-class-maps { + type uint32; + description + "Total number of Classmaps configured"; + } + leaf total-class-map-types { + type uint32; + description + "Total number of Classmap types configured"; + } + leaf total-policy-maps { + type uint32; + description + "Total number of Policymaps configured"; + } + leaf total-policy-map-types { + type uint32; + description + "Total number of Policymap types configured"; + } + list class-maps { + description + "Summary of Classmap database"; + uses PLMGR-APP-DB-BG; + } + list policy-maps { + description + "Summary of Policymap database"; + uses PLMGR-APP-DB-BG; + } + } + + grouping ACTION-IPV6-NH-INFO-ARRAY { + description + "ACTION IPV6 NH INFO ARRAY"; + list action-ipv6-nh-info-array { + description + "action ipv6 nh info array"; + uses ACTION-IPV6-NH-INFO-ST; + } + } + + grouping ACTION-PREPAID-CONFIG-INFO-P { + description + "ACTION PREPAID CONFIG INFO P"; + uses ACTION-PREPAID-CFG-ST; + } + + grouping PCLASS-KEY-HD { + description + "PCLASS KEY HD"; + uses POLICY-CLASS-INFO-KEY-BG; + } + + grouping CLASS-MATCH-INFO-ST { + description + "Class-map match info"; + list class-match-info-st { + description + "class match info st"; + container match-data { + description + "Match criteria"; + uses CLASS-MATCH-DATA-UN; + } + leaf flags { + type uint32; + description + "Flags"; + } + } + } + + grouping ACTION-CAC-INFO-ST { + description + "CAC action info bag"; + container flow-rate { + description + "flow rate"; + uses POLICY-PARAM-UINT32-ST; + } + container rate { + description + "rate"; + uses POLICY-PARAM-UINT32-ST; + } + leaf cac-type { + type Cac-flow-actn-type-e; + description + "cac type"; + } + leaf idle-timeout { + type uint16; + description + "idle timeout"; + } + } + + grouping AFMON-RTP-CLOCK-RATE-ST { + description + "AFMon RTP clock rate params"; + leaf pt { + type uint32; + description + "pt"; + } + leaf frequency { + type uint32; + description + "frequency"; + } + } + + grouping ACTION-ACCT-AAA-LIST-INFO-P { + description + "ACTION ACCT AAA LIST INFO P"; + uses ACTION-ACCT-AAA-LIST-ST; + } + + grouping PLMGR-APP-TB-PERSISTENT-CAP-T { + description + "Table persistent capability"; + leaf persistent { + type boolean; + description + "Table persistent support"; + } + } + + grouping ACTION-BWREM-INFO-P { + description + "ACTION BWREM INFO P"; + uses ACTION-BWREM-INFO-ST; + } + + grouping PLMGR-APP-TB-TRANSIENT-CAP-T { + description + "Table transient support capability"; + leaf transient { + type boolean; + description + "Table transient support"; + } + } + + grouping PCLASS-DATA-HD { + description + "PCLASS DATA HD"; + uses POLICY-CLASS-INFO-BG; + } + + grouping PLMGR-OBJ-REF-PMAP-BG { + description + "Object detail."; + leaf total-internal-reference-objects { + type uint32; + description + "Total number of internal reference objects"; + } + leaf total-class-maps { + type uint32; + description + "Total number of Classmaps in a Policymap"; + } + leaf total-flows { + type uint32; + description + "Total flows in a Policymap"; + } + } + + grouping PLMGR-VAR-VAL-UN { + description + "Union of default values corrosponding to variable + type"; + leaf type { + type Plmgr-var-type-en; + description + "type"; + } + leaf class-name { + when "../type = 'plmgr-var-type-class-name'" { + description + "../type = 'PLMGR_VAR_TYPE_CLASS_NAME'"; + } + type Var-cmap-name; + description + "class name"; + } + leaf uint8_val { + when "../type = 'plmgr-var-type-uint8'" { + description + "../type = 'PLMGR_VAR_TYPE_UINT8'"; + } + type uint8; + description + "uint8 val"; + } + leaf uint16_val { + when "../type = 'plmgr-var-type-uint16'" { + description + "../type = 'PLMGR_VAR_TYPE_UINT16'"; + } + type uint16; + description + "uint16 val"; + } + leaf uint32_val { + when "../type = 'plmgr-var-type-uint32'" { + description + "../type = 'PLMGR_VAR_TYPE_UINT32'"; + } + type uint32; + description + "uint32 val"; + } + leaf param-uint32-val { + when "../type = 'plmgr-var-type-param-uint32'" { + description + "../type = 'PLMGR_VAR_TYPE_PARAM_UINT32'"; + } + type uint32; + description + "param uint32 val"; + } + leaf dscp-val { + when "../type = 'plmgr-var-type-dscp'" { + description + "../type = 'PLMGR_VAR_TYPE_DSCP'"; + } + type uint8; + description + "dscp val"; + } + leaf prec-val { + when "../type = 'plmgr-var-type-prec'" { + description + "../type = 'PLMGR_VAR_TYPE_PREC'"; + } + type uint8; + description + "prec val"; + } + } + + grouping ACTION-AUTHORIZE-ID-ST { + description + "authorize identifiers"; + leaf id { + type uint8; + description + "id"; + } + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + leaf format-name { + type string; + description + "format name"; + } + leaf password { + type string; + description + "password"; + } + } + + grouping ACTION-ENCAP-INFO-ST { + description + "Encapsulation sequence action"; + leaf seq { + type uint8; + description + "seq"; + } + } + + grouping IPV4-ADDR-ARRAY { + description + "IPV4 ADDR ARRAY"; + list ipv4-addr-array { + description + "ipv4 addr array"; + uses MATCH-IPV4-ST; + } + } + + grouping NAS-PORT-ARRAY { + description + "NAS PORT ARRAY"; + list nas-port-array { + description + "nas port array"; + uses MATCH-NAS-PORT-ST; + } + } + + grouping ACTION-AFMON-IPCBR-INFO-ST { + description + "AFMon IP-CBR Configuration"; + container ip-bit-rate { + description + "data rate in bps"; + uses POLICY-PARAM-UINT32-ST; + } + container media-bit-rate { + description + "media data rate in bps"; + uses POLICY-PARAM-UINT32-ST; + } + leaf action-metric-type { + type Policy-action-en; + description + "metric type"; + } + leaf ip-pkt-rate { + type uint32; + description + "packet rate in pps"; + } + leaf media-pkt-size { + type uint32; + units "byte"; + description + "media packet size in bytes"; + } + leaf media-pkts-per-ip { + type uint32; + description + "media packets per ip pkt"; + } + } + + grouping ACTION-AFMON-IPCBR-INFO-P { + description + "ACTION AFMON IPCBR INFO P"; + uses ACTION-AFMON-IPCBR-INFO-ST; + } + + grouping ACTION-IPV4-NH-INFO-ARRAY { + description + "ACTION IPV4 NH INFO ARRAY"; + list action-ipv4-nh-info-array { + description + "action ipv4 nh info array"; + uses ACTION-IPV4-NH-INFO-ST; + } + } + + grouping PEVENT-DATA-HD { + description + "PEVENT DATA HD"; + uses POLICY-EVENT-INFO-BG; + } + + grouping ACTION-REDIRECT-INFO-ST { + description + "redirect action"; + leaf value { + type uint32; + description + "value"; + } + leaf type { + type Redirect-type-e; + description + "type"; + } + } + + grouping CLASS-MAP-BG { + description + "Class-map bag"; + list class-map-bg { + description + "class map bg"; + container match-infop { + description + "Pointer to the first Match info"; + uses CLASS-MATCH-INFO-ST; + } + leaf name { + type Class-map-name; + description + "Name of the class-map"; + } + leaf type { + type Class-map-type-en; + description + "Class-Map Type QoS/PBR/Netflow/..."; + } + leaf mode { + type Class-map-mode-en; + description + "Class-Map Mode Match any/Match all"; + } + leaf description { + type String-td; + description + "description"; + } + } + } + + grouping MATCH-IPV6-ST { + description + "MATCH IPV6 ST"; + leaf prefix { + type inet:ipv6-address; + description + "IPV6 prefix"; + } + leaf mask { + type uint32; + description + "IPV6 mask"; + } + } + + grouping ACTION-SERVICE-POLICY-INFO-ST { + description + "ACTION SERVICE POLICY INFO ST"; + uses CHLD-POL-ENC-UN; + } + + grouping ACTION-ENCAP-INFO-P { + description + "ACTION ENCAP INFO P"; + uses ACTION-ENCAP-INFO-ST; + } + + grouping ACTION-PBF-INFO-ARRAY { + description + "ACTION PBF INFO ARRAY"; + list action-pbf-info-array { + description + "action pbf info array"; + uses ACTION-PBF-INFO-ST; + } + } + + grouping ACTION-HTTPR-INFO-ST { + description + "httpr action"; + leaf redirect-url { + type string; + description + "redirect url"; + } + } + + grouping POLICY-ACTION-DATAP-UN { + description + "Pointers to the action data of different type"; + container mark { + when "../type = 'policy-action-mark'" { + description + "../type = 'POLICY_ACTION_MARK'"; + } + description + "mark"; + uses ACTION-MARK-INFO; + } + container mark2 { + when "../type = 'policy-action-mark2'" { + description + "../type = 'POLICY_ACTION_MARK2'"; + } + description + "mark2"; + uses ACTION-MARK2-INFO; + } + container wred { + when "../type = 'policy-action-wred'" { + description + "../type = 'POLICY_ACTION_WRED'"; + } + description + "wred"; + uses ACTION-WRED-INFO; + } + container encap { + when "../type = 'policy-action-encap-seq'" { + description + "../type = 'POLICY_ACTION_ENCAP_SEQ'"; + } + description + "encap"; + uses ACTION-ENCAP-INFO-ST; + } + container prio { + when "../type = 'policy-action-priority'" { + description + "../type = 'POLICY_ACTION_PRIORITY'"; + } + description + "prio"; + uses ACTION-PRIO-INFO-ST; + } + container bwrem { + when "../type = 'policy-action-bw-remaining'" { + description + "../type = 'POLICY_ACTION_BW_REMAINING'"; + } + description + "bwrem"; + uses ACTION-BWREM-INFO-ST; + } + container min-bw { + when "../type = 'policy-action-min-bw'" { + description + "../type = 'POLICY_ACTION_MIN_BW'"; + } + description + "min bw"; + uses ACTION-MINBW-INFO-ST; + } + container authen-aaa { + when "../type = 'policy-action-authenticate-aaa'" { + description + "../type = 'POLICY_ACTION_AUTHENTICATE_AAA'"; + } + description + "authen aaa"; + uses ACTION-AUTHEN-AAA-ST; + } + container collect-id { + when "../type = 'policy-action-collect-id'" { + description + "../type = 'POLICY_ACTION_COLLECT_ID'"; + } + description + "collect id"; + uses ACTION-COLLECT-ID-ST; + } + container decode-id { + when "../type = 'policy-action-decode-identifier'" { + description + "../type = 'POLICY_ACTION_DECODE_IDENTIFIER'"; + } + description + "decode id"; + uses ACTION-DECODE-IDENTIFIER-ST; + } + container set-timer { + when "../type = 'policy-action-set-timer'" { + description + "../type = 'POLICY_ACTION_SET_TIMER'"; + } + description + "set timer"; + uses ACTION-SET-TIMER-ST; + } + container stop-timer { + when "../type = 'policy-action-stop-timer'" { + description + "../type = 'POLICY_ACTION_STOP_TIMER'"; + } + description + "stop timer"; + uses ACTION-STOP-TIMER-ST; + } + container acct-aaa-list { + when "../type = 'policy-action-accounting-aaa-list'" { + description + "../type = 'POLICY_ACTION_ACCOUNTING_AAA_LIST'"; + } + description + "acct aaa list"; + uses ACTION-ACCT-AAA-LIST-ST; + } + container query-ancp { + when "../type = 'policy-action-query-ancp'" { + description + "../type = 'POLICY_ACTION_QUERY_ANCP'"; + } + description + "query ancp"; + uses ACTION-QUERY-ANCP-SESSION-ST; + } + container prepaid-cfg { + when "../type = 'policy-action-prepaid-config'" { + description + "../type = 'POLICY_ACTION_PREPAID_CONFIG'"; + } + description + "prepaid cfg"; + uses ACTION-PREPAID-CFG-ST; + } + container timeout-idle { + when "../type = 'policy-action-timeout-idle'" { + description + "../type = 'POLICY_ACTION_TIMEOUT_IDLE'"; + } + description + "timeout idle"; + uses ACTION-TIMEOUT-IDLE-ST; + } + container proxy-aaa { + when "../type = 'policy-action-proxy-aaa'" { + description + "../type = 'POLICY_ACTION_PROXY_AAA'"; + } + description + "proxy aaa"; + uses ACTION-PROXY-AAA-ST; + } + container act-template { + when "../type = 'policy-action-template-activate'" { + description + "../type = 'POLICY_ACTION_TEMPLATE_ACTIVATE'"; + } + description + "act template"; + uses ACTION-TEMPLATE-ST; + } + container deact-template { + when "../type = 'policy-action-template-deactivate'" { + description + "../type = 'POLICY_ACTION_TEMPLATE_DEACTIVATE'"; + } + description + "deact template"; + uses ACTION-TEMPLATE-ST; + } + container qlimit { + when "../type = 'policy-action-q-limit'" { + description + "../type = 'POLICY_ACTION_Q_LIMIT'"; + } + description + "qlimit"; + uses ACTION-QLIMIT-INFO-ARRAY; + } + container accounting-event-aaa { + when "../type = 'policy-action-accounting-event-aaa-list'" { + description + "../type = + 'POLICY_ACTION_ACCOUNTING_EVENT_AAA_LIST'"; + } + description + "accounting event aaa"; + uses ACTION-ACCOUNTING-EVENT-ST; + } + container authorize-id { + when "../type = 'policy-action-authorize-id'" { + description + "../type = 'POLICY_ACTION_AUTHORIZE_ID'"; + } + description + "authorize id"; + uses ACTION-AUTHORIZE-ID-ST; + } + container afm-react { + when "../type = 'policy-action-afmon-react'" { + description + "../type = 'POLICY_ACTION_AFMON_REACT'"; + } + description + "afm react"; + uses ACTION-AFMON-REACT-INFO; + } + container httpr { + when "../type = 'policy-action-httpr'" { + description + "../type = 'POLICY_ACTION_HTTPR'"; + } + description + "httpr"; + uses ACTION-HTTPR-INFO-ST; + } + container punt { + when "../type = 'policy-action-punt'" { + description + "../type = 'POLICY_ACTION_PUNT'"; + } + description + "punt"; + uses ACTION-PUNT-INFO-ST; + } + container copy { + when "../type = 'policy-action-copy'" { + description + "../type = 'POLICY_ACTION_COPY'"; + } + description + "copy"; + uses ACTION-COPY-INFO-ST; + } + container sfrag { + when "../type = 'policy-action-sfrag'" { + description + "../type = 'POLICY_ACTION_SFRAG'"; + } + description + "sfrag"; + uses ACTION-SFRAG-INFO-ST; + } + container redirect { + when "../type = 'policy-action-redirect'" { + description + "../type = 'POLICY_ACTION_REDIRECT'"; + } + description + "redirect"; + uses ACTION-REDIRECT-INFO-ST; + } + container out-intf { + when "../type = 'policy-action-output-interface'" { + description + "../type = 'POLICY_ACTION_OUTPUT_INTERFACE'"; + } + description + "out intf"; + uses ACTION-OUTPUT-INTERFACE-INFO-ST; + } + container serv-func { + when "../type = 'policy-action-service-function-path'" { + description + "../type = 'POLICY_ACTION_SERVICE_FUNCTION_PATH'"; + } + description + "serv func"; + uses ACTION-SERVICE-FUNCTION-PATH-ST; + } + container police { + when "../type = 'policy-action-police'" { + description + "../type = 'POLICY_ACTION_POLICE'"; + } + description + "police"; + uses ACTION-POLICE-INFO-ST; + } + container shape { + when "../type = 'policy-action-shape'" { + description + "../type = 'POLICY_ACTION_SHAPE'"; + } + description + "shape"; + uses ACTION-SHAPE-INFO-ST; + } + container child-policy { + when "../type = 'policy-action-serv-pol'" { + description + "../type = 'POLICY_ACTION_SERV_POL'"; + } + description + "child policy"; + uses CHLD-POL-ENC-UN; + } + container cac { + when "../type = 'policy-action-cac'" { + description + "../type = 'POLICY_ACTION_CAC'"; + } + description + "cac"; + uses ACTION-CAC-INFO-ST; + } + container pfc { + when "../type = 'policy-action-pfc'" { + description + "../type = 'POLICY_ACTION_PFC'"; + } + description + "pfc"; + uses ACTION-PFC-INFO-ST; + } + container flow-parm { + when "../type = 'policy-action-afmon-flow-parm'" { + description + "../type = 'POLICY_ACTION_AFMON_FLOW_PARM'"; + } + description + "flow parm"; + uses ACTION-AFMON-FLOW-PARM-INFO-ST; + } + container ipcbr { + when "../type = 'policy-action-afmon-ipcbr-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_IPCBR_METRIC'"; + } + description + "ipcbr"; + uses ACTION-AFMON-IPCBR-INFO-ST; + } + container rtp { + when "../type = 'policy-action-afmon-rtp-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_RTP_METRIC'"; + } + description + "rtp"; + uses ACTION-AFMON-RTP-INFO-ST; + } + container rtp-mmr { + when "../type = 'policy-action-afmon-rtp-mmr-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_RTP_MMR_METRIC'"; + } + description + "rtp mmr"; + uses ACTION-AFMON-RTP-INFO-ST; + } + container rtp-j2k { + when "../type = 'policy-action-afmon-rtp-j2k-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_RTP_J2K_METRIC'"; + } + description + "rtp j2k"; + uses ACTION-AFMON-RTP-INFO-ST; + } + container rtp-voice { + when "../type = 'policy-action-afmon-rtp-voice-metric'" { + description + "../type = + 'POLICY_ACTION_AFMON_RTP_VOICE_METRIC'"; + } + description + "rtp voice"; + uses ACTION-AFMON-RTP-INFO-ST; + } + container mdi { + when "../type = 'policy-action-afmon-mdi-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_MDI_METRIC'"; + } + description + "mdi"; + uses ACTION-AFMON-MDI-INFO-ST; + } + container mdi-rtp { + when "../type = 'policy-action-afmon-mdi-rtp-metric'" { + description + "../type = 'POLICY_ACTION_AFMON_MDI_RTP_METRIC'"; + } + description + "mdi rtp"; + uses ACTION-AFMON-MDI-INFO-ST; + } + container fmm { + when "../type = 'policy-action-afmon-fmm'" { + description + "../type = 'POLICY_ACTION_AFMON_FMM'"; + } + description + "fmm"; + uses ACTION-AFMON-FMM-INFO-ST; + } + container pbf { + when "../type = 'policy-action-pbr-next-hop'" { + description + "../type = 'POLICY_ACTION_PBR_NEXTHOP'"; + } + description + "pbf"; + uses ACTION-PBF-INFO-ARRAY; + } + container ipv4-nh { + when "../type = 'policy-action-ipv4-nh'" { + description + "../type = 'POLICY_ACTION_IPV4_NH'"; + } + description + "ipv4 nh"; + uses ACTION-IPV4-NH-INFO-ARRAY; + } + container ipv6-nh { + when "../type = 'policy-action-ipv6-nh'" { + description + "../type = 'POLICY_ACTION_IPV6_NH'"; + } + description + "ipv6 nh"; + uses ACTION-IPV6-NH-INFO-ARRAY; + } + leaf type { + type Policy-action-en; + description + "type"; + } + leaf data-p { + when "../type != 'policy-action-mark' and ../type != 'policy-action-mark2' and ../type != 'policy-action-wred' and ../type != 'policy-action-encap-seq' and ../type != 'policy-action-priority' and ../type != 'policy-action-bw-remaining' and ../type != 'policy-action-min-bw' and ../type != 'policy-action-authenticate-aaa' and ../type != 'policy-action-collect-id' and ../type != 'policy-action-decode-identifier' and ../type != 'policy-action-set-timer' and ../type != 'policy-action-stop-timer' and ../type != 'policy-action-accounting-aaa-list' and ../type != 'policy-action-query-ancp' and ../type != 'policy-action-prepaid-config' and ../type != 'policy-action-timeout-idle' and ../type != 'policy-action-proxy-aaa' and ../type != 'policy-action-template-activate' and ../type != 'policy-action-template-deactivate' and ../type != 'policy-action-q-limit' and ../type != 'policy-action-accounting-event-aaa-list' and ../type != 'policy-action-authorize-id' and ../type != 'policy-action-afmon-react' and ../type != 'policy-action-httpr' and ../type != 'policy-action-punt' and ../type != 'policy-action-copy' and ../type != 'policy-action-sfrag' and ../type != 'policy-action-redirect' and ../type != 'policy-action-output-interface' and ../type != 'policy-action-service-function-path' and ../type != 'policy-action-police' and ../type != 'policy-action-shape' and ../type != 'policy-action-serv-pol' and ../type != 'policy-action-cac' and ../type != 'policy-action-pfc' and ../type != 'policy-action-afmon-flow-parm' and ../type != 'policy-action-afmon-ipcbr-metric' and ../type != 'policy-action-afmon-rtp-metric' and ../type != 'policy-action-afmon-rtp-mmr-metric' and ../type != 'policy-action-afmon-rtp-j2k-metric' and ../type != 'policy-action-afmon-rtp-voice-metric' and ../type != 'policy-action-afmon-mdi-metric' and ../type != 'policy-action-afmon-mdi-rtp-metric' and ../type != 'policy-action-afmon-fmm' and ../type != 'policy-action-pbr-next-hop' and ../type != 'policy-action-ipv4-nh' and ../type != 'policy-action-ipv6-nh'" { + description + "../type != 'POLICY_ACTION_MARK' and ../type != + 'POLICY_ACTION_MARK2' and ../type != + 'POLICY_ACTION_WRED' and ../type != + 'POLICY_ACTION_ENCAP_SEQ' and ../type != + 'POLICY_ACTION_PRIORITY' and ../type != + 'POLICY_ACTION_BW_REMAINING' and ../type != + 'POLICY_ACTION_MIN_BW' and ../type != + 'POLICY_ACTION_AUTHENTICATE_AAA' and ../type + != 'POLICY_ACTION_COLLECT_ID' and ../type != + 'POLICY_ACTION_DECODE_IDENTIFIER' and ../type + != 'POLICY_ACTION_SET_TIMER' and ../type != + 'POLICY_ACTION_STOP_TIMER' and ../type != + 'POLICY_ACTION_ACCOUNTING_AAA_LIST' and . + ./type != 'POLICY_ACTION_QUERY_ANCP' and . + ./type != 'POLICY_ACTION_PREPAID_CONFIG' and . + ./type != 'POLICY_ACTION_TIMEOUT_IDLE' and . + ./type != 'POLICY_ACTION_PROXY_AAA' and . + ./type != 'POLICY_ACTION_TEMPLATE_ACTIVATE' + and ../type != + 'POLICY_ACTION_TEMPLATE_DEACTIVATE' and . + ./type != 'POLICY_ACTION_Q_LIMIT' and ../type + != 'POLICY_ACTION_ACCOUNTING_EVENT_AAA_LIST' + and ../type != 'POLICY_ACTION_AUTHORIZE_ID' + and ../type != 'POLICY_ACTION_AFMON_REACT' and + ../type != 'POLICY_ACTION_HTTPR' and ../type + != 'POLICY_ACTION_PUNT' and ../type != + 'POLICY_ACTION_COPY' and ../type != + 'POLICY_ACTION_SFRAG' and ../type != + 'POLICY_ACTION_REDIRECT' and ../type != + 'POLICY_ACTION_OUTPUT_INTERFACE' and ../type + != 'POLICY_ACTION_SERVICE_FUNCTION_PATH' and . + ./type != 'POLICY_ACTION_POLICE' and ../type + != 'POLICY_ACTION_SHAPE' and ../type != + 'POLICY_ACTION_SERV_POL' and ../type != + 'POLICY_ACTION_CAC' and ../type != + 'POLICY_ACTION_PFC' and ../type != + 'POLICY_ACTION_AFMON_FLOW_PARM' and ../type != + 'POLICY_ACTION_AFMON_IPCBR_METRIC' and ../type + != 'POLICY_ACTION_AFMON_RTP_METRIC' and . + ./type != 'POLICY_ACTION_AFMON_RTP_MMR_METRIC' + and ../type != + 'POLICY_ACTION_AFMON_RTP_J2K_METRIC' and . + ./type != + 'POLICY_ACTION_AFMON_RTP_VOICE_METRIC' and . + ./type != 'POLICY_ACTION_AFMON_MDI_METRIC' and + ../type != + 'POLICY_ACTION_AFMON_MDI_RTP_METRIC' and . + ./type != 'POLICY_ACTION_AFMON_FMM' and . + ./type != 'POLICY_ACTION_PBR_NEXTHOP' and . + ./type != 'POLICY_ACTION_IPV4_NH' and ../type + != 'POLICY_ACTION_IPV6_NH'"; + } + type uint32; + description + "data p"; + } + } + + grouping ACTION-DECODE-IDENTIFIER-ST { + description + "ACTION DECODE IDENTIFIER ST"; + leaf id { + type Decode-identifier-en; + description + "id"; + } + leaf format-name { + type string; + description + "format name"; + } + } + + grouping ACTION-POLICE-INFO-ST { + description + "Police action info bag"; + container rate { + description + "rate"; + uses POLICY-PARAM-UINT32-ST; + } + container burst { + description + "burst"; + uses POLICY-PARAM-UINT32-ST; + } + container peak-rate { + description + "peak rate"; + uses POLICY-PARAM-UINT32-ST; + } + container peak-burst { + description + "peak burst"; + uses POLICY-PARAM-UINT32-ST; + } + container cdvt { + description + "cdvt"; + uses POLICY-PARAM-UINT32-ST; + } + container conform-actns { + description + "conform actns"; + uses POLICE-ACTION-ARRAY; + } + container exceed-actns { + description + "exceed actns"; + uses POLICE-ACTION-ARRAY; + } + container violate-actns { + description + "violate actns"; + uses POLICE-ACTION-ARRAY; + } + container confclass-encode { + description + "confclass encode"; + uses POL-CLASS-ENC-UN; + } + container confclass-p { + description + "confclass p"; + uses CLASS-MAP-BG; + } + container excdclass-encode { + description + "excdclass encode"; + uses POL-CLASS-ENC-UN; + } + container excdclass-p { + description + "excdclass p"; + uses CLASS-MAP-BG; + } + leaf flags { + type uint32; + description + "flags"; + } + leaf police-flags { + type uint32; + description + "police flags"; + } + leaf sbuck-name { + type Shared-bucket-name; + description + "sbuck name"; + } + leaf sbuck-type { + type Shared-bucket-type; + description + "sbuck type"; + } + } + + grouping PLMGR-APP-GL-BULK-BEST-EFFORT-CAP-T { + description + " Best effort capability of a network element"; + leaf best-effort-per-bulk-instance { + type boolean; + description + "Specifies policymgr supports bulk configuration + best effort behavior or not"; + } + } + + grouping POLICY-CLASS-INFO-KEY-BG { + description + "Policy-class key Bag"; + list policy-class-info-key-bg { + description + "policy class info key bg"; + leaf policy-class-hd { + type uint32; + description + "policy class hd"; + } + leaf seq { + type uint32; + description + "seq"; + } + } + } + + grouping ACTION-COLLECT-ID-INFO-P { + description + "ACTION COLLECT ID INFO P"; + uses ACTION-COLLECT-ID-ST; + } + + grouping POLICY-CLASS-INFO-UN { + description + "POLICY CLASS INFO UN"; + container key { + when "../type = 'policy-class-info-key-type'" { + description + "../type = 'POLICY_CLASS_INFO_KEY_TYPE'"; + } + description + "key"; + uses POLICY-CLASS-INFO-KEY-BG; + } + container mod-data { + when "../type = 'policy-class-info-mod-type'" { + description + "../type = 'POLICY_CLASS_INFO_MOD_TYPE'"; + } + description + "mod data"; + uses POLICY-CLASS-INFO-MOD-BG; + } + leaf type { + type Policy-class-info-en; + description + "type"; + } + } + + grouping ACTION-PRIO-INFO-P { + description + "ACTION PRIO INFO P"; + uses ACTION-PRIO-INFO-ST; + } + + grouping ACTION-QUERY-ANCP-SESSION-P { + description + "ACTION QUERY ANCP SESSION P"; + uses ACTION-QUERY-ANCP-SESSION-ST; + } + + grouping PLMGR-TABLE-CAP-BG { + description + "Table Capability details "; + list table-capabilty { + description + "Table capability"; + uses PLMGR-APP-TB-CAPS-T; + } + } + + grouping POLICE-ACTION-UN { + description + "Police action bag"; + container mark { + when "../type = 'police-action-mark'" { + description + "../type = 'POLICE_ACTION_MARK'"; + } + description + "mark"; + uses ACTION-MARK-INFO-ST; + } + leaf type { + type Police-action-type-en; + description + "type"; + } + } + + grouping UINT32-RNG-ST { + description + "UINT32 RNG ST"; + leaf min { + type uint32; + description + "Lower limit of the range"; + } + leaf max { + type uint32; + description + "Upper limit of the range"; + } + } + + grouping ACTION-COLLECT-ID-ST { + description + "Collect identifiers"; + leaf id { + type Identifier-en; + description + "id"; + } + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + } + + grouping ACTION-SHAPE-INFO-P { + description + "ACTION SHAPE INFO P"; + uses ACTION-SHAPE-INFO-ST; + } + + grouping PLMGR-PMAP-DIFF-BG { + description + "Policy-map diff Bag"; + container del { + description + "del"; + uses POLICY-MAP-BG; + } + container add { + description + "add"; + uses POLICY-MAP-BG; + } + } + + grouping ACTION-WRED-INFO-P { + description + "ACTION WRED INFO P"; + uses ACTION-WRED-INFO; + } + + grouping PLMGR-APP-GL-STATS-CAP-T { + description + "Stats capability of a network element"; + leaf maximum-class-stats-polling-rate { + type uint32; + description + "Maximum statistics polling rate supported by a + network in terms of class stats per sec"; + } + } + + grouping UINT32-ARRAY { + description + "UINT32 ARRAY"; + leaf-list uint32_array { + type uint32; + description + "uint32 array"; + } + } + + grouping PLMGR-OBJ-REF-SUMMARY-BG { + description + "Object detail."; + leaf object-name { + type string { + length "0..64"; + } + description + "Name of object (Policymap/Classmap)"; + } + } + + grouping ACTION-COPY-INFO-ST { + description + "copy action"; + leaf num-byte { + type uint32; + units "byte"; + description + "number of bytes"; + } + leaf sn-type { + type Dpss-snid-type-en; + description + "service node ID type"; + } + leaf sn-index { + type uint32; + description + "service node index"; + } + leaf sn-name { + type string; + description + "service node url"; + } + leaf app-id { + type uint32; + description + "application ID"; + } + leaf local-id { + type uint32; + description + "local ID"; + } + leaf vsnode-type { + type Vsvc-service-type-t; + description + "vservice node type"; + } + } + + grouping ACTION-SFRAG-INFO-P { + description + "ACTION SFRAG INFO P"; + uses ACTION-SFRAG-INFO-ST; + } + + grouping PLMGR-APP-TB-CLASS-CAP-T { + description + " Table class capability"; + leaf classmap-class-support { + type boolean; + description + "ClassmapClassSupport"; + } + leaf class-sequence-number-support { + type boolean; + description + "ClassSequenceNumberSupport"; + } + leaf class-ordering-support { + type boolean; + description + "ClassOrderingSupport"; + } + leaf class-idel-timeout-support { + type boolean; + description + "ClassIdelTimeoutSupport"; + } + leaf inline-c-lass-support { + type boolean; + description + "InlineCLassSupport"; + } + leaf maximum-inline-class-provision-rate { + type uint32; + description + "MaximumInlineClassProvisionRate"; + } + leaf maximum-inline-class-per-table { + type uint32; + description + "MaximumInlineClassPerTable"; + } + } + + grouping PLMGR-PMAP-TARGETS-ARR-BG { + description + "The array bag"; + list plmgr-pmap-targets { + description + "plmgr pmap targets"; + uses PLMGR-PMAP-TARGETS-BG; + } + } + + grouping CLASS-MATCH-DATA-UN { + description + "Union of pointers to the supported match criteria"; + container ipv4-dscp { + when "../type = 'match-type-ipv4-dscp'" { + description + "../type = 'MATCH_TYPE_IPV4_DSCP'"; + } + description + "IPv4 DSCP"; + uses UINT8-RNG-ARRAY; + } + container ipv6-dscp { + when "../type = 'match-type-ipv6-dscp'" { + description + "../type = 'MATCH_TYPE_IPV6_DSCP'"; + } + description + "IPv6 DSCP"; + uses UINT8-RNG-ARRAY; + } + container dscp { + when "../type = 'match-type-dscp'" { + description + "../type = 'MATCH_TYPE_DSCP'"; + } + description + "Match DSCP range array"; + uses UINT8-RNG-ARRAY; + } + container ipv4-prec { + when "../type = 'match-type-ipv4-prec'" { + description + "../type = 'MATCH_TYPE_IPV4_PREC'"; + } + description + "IPv4 Precedence"; + uses UINT8-ARRAY; + } + container ipv6-prec { + when "../type = 'match-type-ipv6-prec'" { + description + "../type = 'MATCH_TYPE_IPV6_PREC'"; + } + description + "IPv6 Precedence"; + uses UINT8-ARRAY; + } + container prec { + when "../type = 'match-type-prec'" { + description + "../type = 'MATCH_TYPE_PREC'"; + } + description + "Match Precedence array"; + uses UINT8-ARRAY; + } + container discard-class { + when "../type = 'match-type-disc-cls'" { + description + "../type = 'MATCH_TYPE_DISC_CLS'"; + } + description + "Match Discard Class array"; + uses UINT8-ARRAY; + } + container qos-group { + when "../type = 'match-type-qos-grp'" { + description + "../type = 'MATCH_TYPE_QOS_GRP'"; + } + description + "Match QoS group array"; + uses UINT16-RNG-ARRAY; + } + container traffic-class { + when "../type = 'match-type-traffic-class'" { + description + "../type = 'MATCH_TYPE_TRAFFIC_CLASS'"; + } + description + "Match Traffic class array"; + uses UINT8-RNG-ARRAY; + } + container proto { + when "../type = 'match-type-proto'" { + description + "../type = 'MATCH_TYPE_PROTO'"; + } + description + "Match Protocol array"; + uses UINT16-RNG-ARRAY; + } + container icmp-v4 { + when "../type = 'match-type-proto-icmpv4'" { + description + "../type = 'MATCH_TYPE_PROTO_ICMPV4'"; + } + description + "Match ICMPV4 Protocol"; + uses PROTO-ICMP-ST; + } + container icmp-v6 { + when "../type = 'match-type-proto-icmpv6'" { + description + "../type = 'MATCH_TYPE_PROTO_ICMPV6'"; + } + description + "Match ICMPV6 Protocol array"; + uses PROTO-ICMP-ST; + } + container ipv4-packet-len { + when "../type = 'match-type-ipv4-packet-length'" { + description + "../type = 'MATCH_TYPE_IPV4_PACKET_LENGTH'"; + } + description + "IPv4 packet length array"; + uses UINT16-RNG-ARRAY; + } + container ipv6-packet-len { + when "../type = 'match-type-ipv6-packet-length'" { + description + "../type = 'MATCH_TYPE_IPV6_PACKET_LENGTH'"; + } + description + "IPv6 packet length array"; + uses UINT16-RNG-ARRAY; + } + container packet-len { + when "../type = 'match-type-packet-length'" { + description + "../type = 'MATCH_TYPE_PACKET_LENGTH'"; + } + description + "Match packet length array"; + uses UINT16-RNG-ARRAY; + } + container flow-tag { + when "../type = 'match-type-flow-tag'" { + description + "../type = 'MATCH_TYPE_FLOW_TAG'"; + } + description + "Match flow-tag array"; + uses UINT8-RNG-ARRAY; + } + container tcp-flag { + when "../type = 'match-type-tcp-flag'" { + description + "../type = 'MATCH_TYPE_TCP_FLAG'"; + } + description + "Match tcp flag value"; + uses TCP-FLAG-ST; + } + container icmpv4-type { + when "../type = 'match-type-icmpv4-type'" { + description + "../type = 'MATCH_TYPE_ICMPV4_TYPE'"; + } + description + "Match ipv4 icmp type"; + uses UINT8-RNG-ARRAY; + } + container icmpv4-code { + when "../type = 'match-type-icmpv4-code'" { + description + "../type = 'MATCH_TYPE_ICMPV4_CODE'"; + } + description + "Match ipv4 icmp code"; + uses UINT8-RNG-ARRAY; + } + container icmpv6-type { + when "../type = 'match-type-icmpv6-type'" { + description + "../type = 'MATCH_TYPE_ICMPV6_TYPE'"; + } + description + "Match ipv6 icmp type"; + uses UINT8-RNG-ARRAY; + } + container icmpv6-code { + when "../type = 'match-type-icmpv6-code'" { + description + "../type = 'MATCH_TYPE_ICMPV6_CODE'"; + } + description + "Match ipv6 icmp code"; + uses UINT8-RNG-ARRAY; + } + container mpls-exp { + when "../type = 'match-type-mpls-exp-top'" { + description + "../type = 'MATCH_TYPE_MPLS_EXP_TOP'"; + } + description + "Match MPLS experimental topmost array"; + uses UINT8-ARRAY; + } + container mpls-exp-imp { + when "../type = 'match-type-mpls-exp-imp'" { + description + "../type = 'MATCH_TYPE_MPLS_EXP_IMP'"; + } + description + "Match MPLS experimental imposition array"; + uses UINT8-ARRAY; + } + container mpls-disp-ipv4-acl { + when "../type = 'match-type-mpls-disp-ipv4-acl'" { + description + "../type = 'MATCH_TYPE_MPLS_DISP_IPV4_ACL'"; + } + description + "MPLS Disposition IPv4 Access-list"; + uses STRING-ARRAY; + } + container mpls-disp-ipv6-acl { + when "../type = 'match-type-mpls-disp-ipv6-acl'" { + description + "../type = 'MATCH_TYPE_MPLS_DISP_IPV6_ACL'"; + } + description + "MPLS Disposition IPv6 Access-list"; + uses STRING-ARRAY; + } + container mpls-top-label { + when "../type = 'match-type-mpls-topmost-label'" { + description + "../type = 'MATCH_TYPE_MPLS_TOPMOST_LABEL'"; + } + description + "MPLS Topmost LABEL"; + uses UINT32-RNG-ARRAY; + } + container cos { + when "../type = 'match-type-cos'" { + description + "../type = 'MATCH_TYPE_COS'"; + } + description + "Match CoS array"; + uses UINT8-ARRAY; + } + container cos-inr { + when "../type = 'match-type-cos-inner'" { + description + "../type = 'MATCH_TYPE_COS_INNER'"; + } + description + "Match inner header CoS"; + uses UINT8-ARRAY; + } + container dei { + when "../type = 'match-type-dei'" { + description + "../type = 'MATCH_TYPE_DEI'"; + } + description + "Match DEI Bit"; + uses DEI-BIT-ST; + } + container dei-inr { + when "../type = 'match-type-dei-inner'" { + description + "../type = 'MATCH_TYPE_DEI_INNER'"; + } + description + "Match inner DEI Bit"; + uses DEI-BIT-ST; + } + container vlan { + when "../type = 'match-type-vlan'" { + description + "../type = 'MATCH_TYPE_VLAN'"; + } + description + "Match VLAN array"; + uses VLAN-ID-ARRAY; + } + container vlan-inr { + when "../type = 'match-type-vlan-inner'" { + description + "../type = 'MATCH_TYPE_VLAN_INNER'"; + } + description + "Match inner header VLAN range array"; + uses UINT16-RNG-ARRAY; + } + container fr-dlci { + when "../type = 'match-type-fr-dlci'" { + description + "../type = 'MATCH_TYPE_FR_DLCI'"; + } + description + "Match FR DLCI range array"; + uses UINT16-RNG-ARRAY; + } + container src-mac { + when "../type = 'match-type-src-mac'" { + description + "../type = 'MATCH_TYPE_SRC_MAC'"; + } + description + "Match Source MAC address"; + uses MAC-ADDR-ST; + } + container dst-mac { + when "../type = 'match-type-dst-mac'" { + description + "../type = 'MATCH_TYPE_DST_MAC'"; + } + description + "Match Destination MAC address"; + uses MAC-ADDR-ST; + } + container atm-clp { + when "../type = 'match-type-atm-clp'" { + description + "../type = 'MATCH_TYPE_ATM_CLP'"; + } + description + "Match ATM CLP level"; + uses UINT8-ARRAY; + } + container fr-de { + when "../type = 'match-type-fr-de'" { + description + "../type = 'MATCH_TYPE_FR_DE'"; + } + description + "Match FR DE value"; + uses UINT8-ARRAY; + } + container ipv4-acl { + when "../type = 'match-type-ipv4-acl'" { + description + "../type = 'MATCH_TYPE_IPV4_ACL'"; + } + description + "IPv4 Access-list"; + uses STRING-ARRAY; + } + container ipv6-acl { + when "../type = 'match-type-ipv6-acl'" { + description + "../type = 'MATCH_TYPE_IPV6_ACL'"; + } + description + "IPv6 Access-list"; + uses STRING-ARRAY; + } + container ether-service-acl { + when "../type = 'match-type-ethernet-service-s-acl'" { + description + "../type = 'MATCH_TYPE_ETHERNET_SERVICES_ACL'"; + } + description + "Ethernet-Services Access-list"; + uses STRING-ARRAY; + } + container avail-id { + when "../type = 'match-type-avail-id'" { + description + "../type = 'MATCH_TYPE_AVAIL_ID'"; + } + description + "Available Identifiers"; + uses UINT8-ARRAY; + } + container media-type { + when "../type = 'match-type-media'" { + description + "../type = 'MATCH_TYPE_MEDIA'"; + } + description + "Media Type"; + uses UINT8-ARRAY; + } + container subs-protocol { + when "../type = 'match-type-subs-protocol'" { + description + "../type = 'MATCH_TYPE_SUBS_PROTOCOL'"; + } + description + "Protocol"; + uses UINT8-ARRAY; + } + container dnis { + when "../type = 'match-type-dnis'" { + description + "../type = 'MATCH_TYPE_DNIS'"; + } + description + "DNIS"; + uses STRING-ARRAY; + } + container dnis-regex { + when "../type = 'match-type-dnis-regexp'" { + description + "../type = 'MATCH_TYPE_DNIS_REGEXP'"; + } + description + "DNIS Regular Expression"; + uses STRING-ARRAY; + } + container domain { + when "../type = 'match-type-domain'" { + description + "../type = 'MATCH_TYPE_DOMAIN'"; + } + description + "Domain Name"; + uses DOMAIN-ARRAY; + } + container domain-regex { + when "../type = 'match-type-domain-regexp'" { + description + "../type = 'MATCH_TYPE_DOMAIN_REGEXP'"; + } + description + "Domain Regular Expression"; + uses DOMAIN-ARRAY; + } + container nas-port { + when "../type = 'match-type-nas-port'" { + description + "../type = 'MATCH_TYPE_NAS_PORT'"; + } + description + "NAS Port"; + uses NAS-PORT-ARRAY; + } + container service-name { + when "../type = 'match-type-service-name'" { + description + "../type = 'MATCH_TYPE_SERVICE_NAME'"; + } + description + "Service Name"; + uses STRING-ARRAY; + } + container service-name-regex { + when "../type = 'match-type-service-name-regexp'" { + description + "../type = 'MATCH_TYPE_SERVICE_NAME_REGEXP'"; + } + description + "Service Name Regular Exp"; + uses STRING-ARRAY; + } + container src-addr-ipv4 { + when "../type = 'match-type-src-addr-ipv4'" { + description + "../type = 'MATCH_TYPE_SRC_ADDR_IPV4'"; + } + description + "Source Address IPV4"; + uses IPV4-ADDR-ARRAY; + } + container dst-addr-ipv4 { + when "../type = 'match-type-dst-addr-ipv4'" { + description + "../type = 'MATCH_TYPE_DST_ADDR_IPV4'"; + } + description + "Destination Address IPV4"; + uses IPV4-ADDR-ARRAY; + } + container src-addr-ipv6 { + when "../type = 'match-type-src-addr-ipv6'" { + description + "../type = 'MATCH_TYPE_SRC_ADDR_IPV6'"; + } + description + "Source Address IPV6"; + uses IPV6-ADDR-ARRAY; + } + container dst-addr-ipv6 { + when "../type = 'match-type-dst-addr-ipv6'" { + description + "../type = 'MATCH_TYPE_DST_ADDR_IPV6'"; + } + description + "Destination Address IPV6"; + uses IPV6-ADDR-ARRAY; + } + container src-addr-mac { + when "../type = 'match-type-src-addr-mac'" { + description + "../type = 'MATCH_TYPE_SRC_ADDR_MAC'"; + } + description + "Source Address MAC"; + uses MAC-ADDR-ARRAY; + } + container timer { + when "../type = 'match-type-timer'" { + description + "../type = 'MATCH_TYPE_TIMER'"; + } + description + "Timer"; + uses STRING-ARRAY; + } + container timer-regexp { + when "../type = 'match-type-timer-regexp'" { + description + "../type = 'MATCH_TYPE_TIMER_REGEXP'"; + } + description + "Timer Regular Expression"; + uses STRING-ARRAY; + } + container tunnel-name { + when "../type = 'match-type-tunnel-name'" { + description + "../type = 'MATCH_TYPE_TUNNEL_NAME'"; + } + description + "Tunnel Name"; + uses STRING-ARRAY; + } + container tunnel-name-regex { + when "../type = 'match-type-tunnel-name-regexp'" { + description + "../type = 'MATCH_TYPE_TUNNEL_NAME_REGEXP'"; + } + description + "Tunnel Name Regular Expression"; + uses STRING-ARRAY; + } + container user-name { + when "../type = 'match-type-user-name'" { + description + "../type = 'MATCH_TYPE_USERNAME'"; + } + description + "User Name"; + uses STRING-ARRAY; + } + container user-name-regex { + when "../type = 'match-type-user-name-regexp'" { + description + "../type = 'MATCH_TYPE_USERNAME_REGEXP'"; + } + description + "User Name Regular Expression"; + uses STRING-ARRAY; + } + container auth-username { + when "../type = 'match-type-auth-user-name'" { + description + "../type = 'MATCH_TYPE_AUTH_USERNAME'"; + } + description + "Authenticated User Name"; + uses STRING-ARRAY; + } + container auth-username-regex { + when "../type = 'match-type-auth-user-name-regexp'" { + description + "../type = 'MATCH_TYPE_AUTH_USERNAME_REGEXP'"; + } + description + "Authenticated User Name RegEx"; + uses STRING-ARRAY; + } + container unauth-username { + when "../type = 'match-type-unauth-user-name'" { + description + "../type = 'MATCH_TYPE_UNAUTH_USERNAME'"; + } + description + "Unauthenticated User Name"; + uses STRING-ARRAY; + } + container unauth-username-regex { + when "../type = 'match-type-unauth-user-name-regexp'" { + description + "../type = 'MATCH_TYPE_UNAUTH_USERNAME_REGEXP'"; + } + description + "Unauthenticated User Name RegEx"; + uses STRING-ARRAY; + } + container auth-domain { + when "../type = 'match-type-auth-domain'" { + description + "../type = 'MATCH_TYPE_AUTH_DOMAIN'"; + } + description + "Authenticated domain name"; + uses STRING-ARRAY; + } + container auth-domain-regex { + when "../type = 'match-type-auth-domain-regexp'" { + description + "../type = 'MATCH_TYPE_AUTH_DOMAIN_REGEXP'"; + } + description + "Authenticated Domain Name RegEx"; + uses STRING-ARRAY; + } + container unauth-domain { + when "../type = 'match-type-unauth-domain'" { + description + "../type = 'MATCH_TYPE_UNAUTH_DOMAIN'"; + } + description + "Unauthenticated Domain Name"; + uses STRING-ARRAY; + } + container unauth-domain-regex { + when "../type = 'match-type-unauth-domain-regexp'" { + description + "../type = 'MATCH_TYPE_UNAUTH_DOMAIN_REGEXP'"; + } + description + "Unauthenticated Domain Name RegEx"; + uses STRING-ARRAY; + } + container vendor-id { + when "../type = 'match-type-vendor-id'" { + description + "../type = 'MATCH_TYPE_VENDOR_ID'"; + } + description + "Vendor ID"; + uses STRING-ARRAY; + } + container vendor-id-regex { + when "../type = 'match-type-vendor-id-regexp'" { + description + "../type = 'MATCH_TYPE_VENDOR_ID_REGEXP'"; + } + description + "Vendor ID RegEx"; + uses STRING-ARRAY; + } + container access-interface { + when "../type = 'match-type-access-interface'" { + description + "../type = 'MATCH_TYPE_ACCESS_INTERFACE'"; + } + description + "Access interface"; + uses STRING-ARRAY; + } + container input-interface { + when "../type = 'match-type-input-interface'" { + description + "../type = 'MATCH_TYPE_INPUT_INTERFACE'"; + } + description + "Input interface"; + uses STRING-ARRAY; + } + container input-intfhdl { + when "../type = 'match-type-input-interface-hdl'" { + description + "../type = 'MATCH_TYPE_INPUT_INTERFACE_HDL'"; + } + description + "Input interface handle"; + uses UINT64-ARRAY; + } + container ethertype { + when "../type = 'match-type-ether-type'" { + description + "../type = 'MATCH_TYPE_ETHERTYPE'"; + } + description + "Ethernet type"; + uses UINT16-RNG-ARRAY; + } + container flow-key-data { + when "../type = 'match-type-flow-key'" { + description + "../type = 'MATCH_TYPE_FLOW_KEY'"; + } + description + "Flow key structure"; + uses FLOW-KEY-ST; + } + container dhcp-client-id { + when "../type = 'match-type-dhcp-client-id'" { + description + "../type = 'MATCH_TYPE_DHCP_CLIENT_ID'"; + } + description + "Dhcp Client ID"; + uses STRING-ARRAY; + } + container dhcp-client-id-regex { + when "../type = 'match-type-dhcp-client-id-regexp'" { + description + "../type = 'MATCH_TYPE_DHCP_CLIENT_ID_REGEXP'"; + } + description + "Dhcp Client ID RegEx"; + uses STRING-ARRAY; + } + container circuit-id { + when "../type = 'match-type-circuit-id'" { + description + "../type = 'MATCH_TYPE_CIRCUIT_ID'"; + } + description + "Circuit ID"; + uses STRING-ARRAY; + } + container circuit-id-regex { + when "../type = 'match-type-circuit-id-regexp'" { + description + "../type = 'MATCH_TYPE_CIRCUIT_ID_REGEXP'"; + } + description + "Circuit ID RegEx"; + uses STRING-ARRAY; + } + container remote-id { + when "../type = 'match-type-remote-id'" { + description + "../type = 'MATCH_TYPE_REMOTE_ID'"; + } + description + "Remote ID"; + uses STRING-ARRAY; + } + container remote-id-regex { + when "../type = 'match-type-remote-id-regexp'" { + description + "../type = 'MATCH_TYPE_REMOTE_ID_REGEXP'"; + } + description + "Remote ID RegEx"; + uses STRING-ARRAY; + } + container src-port { + when "../type = 'match-type-src-port'" { + description + "../type = 'MATCH_TYPE_SRC_PORT'"; + } + description + "Source port"; + uses UINT16-RNG-ARRAY; + } + container dst-port { + when "../type = 'match-type-dst-port'" { + description + "../type = 'MATCH_TYPE_DST_PORT'"; + } + description + "Destination port"; + uses UINT16-RNG-ARRAY; + } + leaf type { + type Match-type-en; + description + "type"; + } + leaf mpls-top-eos { + when "../type = 'match-type-mpls-topmost-eos'" { + description + "../type = 'MATCH_TYPE_MPLS_TOPMOST_EOS'"; + } + type uint8; + description + "MPLS Topmost EOS"; + } + leaf fragment-type { + when "../type = 'match-type-fragment-type'" { + description + "../type = 'MATCH_TYPE_FRAGMENT_TYPE'"; + } + type uint8; + description + "Fragment type"; + } + leaf authen-status { + when "../type = 'match-type-authen-status'" { + description + "../type = 'MATCH_TYPE_AUTHEN_STATUS'"; + } + type Match-authen-status-en; + description + "Authentication Status"; + } + leaf mlp-negotiated { + when "../type = 'match-type-mlp-negotiated'" { + description + "../type = 'MATCH_TYPE_MLP_NEGOTIATED'"; + } + type Match-mlp-negotiated-en; + description + "MLP Negotiated"; + } + } + + grouping ACTION-OUTPUT-INTERFACE-INFO-P { + description + "ACTION OUTPUT INTERFACE INFO P"; + uses ACTION-OUTPUT-INTERFACE-INFO-ST; + } + + grouping UINT32-RNG-ARRAY { + description + "UINT32 RNG ARRAY"; + list uint32_rng_array { + description + "uint32 rng array"; + uses UINT32-RNG-ST; + } + } + + grouping TCP-FLAG-ST { + description + "TCP FLAG ST"; + leaf value { + type uint16; + description + "Value of TCP flag"; + } + leaf match-any { + type boolean; + description + "Match any TCP flag bit"; + } + } + + grouping ACTION-AUTHORIZE-ID-INFO-P { + description + "ACTION AUTHORIZE ID INFO P"; + uses ACTION-AUTHORIZE-ID-ST; + } + + grouping PLMGR-APPLIED-VARLIST-BG { + description + "Policy-map applied variable list"; + list var-list { + description + "var list"; + uses PLMGR-VAR-VAL-UN; + } + } + + grouping ACTION-IPV6-NH-INFO-P { + description + "ACTION IPV6 NH INFO P"; + uses ACTION-IPV6-NH-INFO-ARRAY; + } + + grouping ACTION-PROXY-AAA-ST { + description + "ACTION PROXY AAA ST"; + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + } + + grouping ACTION-PROXY-AAA-INFO-P { + description + "ACTION PROXY AAA INFO P"; + uses ACTION-PROXY-AAA-ST; + } + + grouping ACTION-SFRAG-INFO-ST { + description + "service fragment action"; + leaf name { + type string; + description + "Service Fragment Name"; + } + } + + grouping ACTION-MINBW-INFO-P { + description + "ACTION MINBW INFO P"; + uses ACTION-MINBW-INFO-ST; + } + + grouping ACTION-PUNT-INFO-P { + description + "ACTION PUNT INFO P"; + uses ACTION-PUNT-INFO-ST; + } + + grouping ACTION-COPY-INFO-P { + description + "ACTION COPY INFO P"; + uses ACTION-COPY-INFO-ST; + } + + grouping ACTION-DECODE-IDENTIFIER-INFO-P { + description + "ACTION DECODE IDENTIFIER INFO P"; + uses ACTION-DECODE-IDENTIFIER-ST; + } + + grouping ACTION-CAC-INFO-P { + description + "ACTION CAC INFO P"; + uses ACTION-CAC-INFO-ST; + } + + grouping PLMGR-OBJ-CMAP-DETAIL-BG { + description + "Object detail."; + leaf total-reference-objects { + type uint32; + description + "Total number of Policymaps referencing a + Classmap"; + } + list policy-map-reference { + description + "List of Policymaps referencing a Classmap"; + uses PLMGR-PMAP-LIST; + } + } + + grouping ACTION-BWREM-INFO-ST { + description + "BW remaining action"; + container bwrem { + description + "bwrem"; + uses POLICY-PARAM-UINT32-ST; + } + } + + grouping PMAP-DATA-HD { + description + "PMAP DATA HD"; + uses POLICY-MAP-BG; + } + + grouping ACTION-AFMON-REACT-INFO-P { + description + "ACTION AFMON REACT INFO P"; + uses ACTION-AFMON-REACT-INFO; + } + + grouping POLICY-SUB-ACTIONS-T { + description + ""; + list sub-action-attribute { + description + ""; + uses POLICY-SUB-ACTION-ATTR-T; + } + } + + grouping PLMGR-PIPELINE-CAP-BG { + description + " Pipeline capabilities details"; + list pipeline-capability { + description + "Pipelinecapability"; + uses PLMGR-APP-PLN-CAPS-T; + } + } + + grouping ACTION-MARK-INFO-ST { + description + "Mark action"; + leaf type { + type Mark-type-en; + description + "type"; + } + leaf mark-flags { + type uint32; + description + "mark flags"; + } + leaf value { + type uint16; + description + "value"; + } + } + + grouping ACTION-TIMEOUT-IDLE-ST { + description + "ACTION TIMEOUT IDLE ST"; + leaf secs { + type uint32; + description + "secs"; + } + } + + grouping ACTION-AFMON-MDI-INFO-P { + description + "ACTION AFMON MDI INFO P"; + uses ACTION-AFMON-MDI-INFO-ST; + } + + grouping ACTION-MINBW-INFO-ST { + description + "Min BW action"; + container bw { + description + "bw"; + uses POLICY-PARAM-UINT32-ST; + } + } + + grouping POLICY-MAP-HD-ST { + description + "POLICY MAP HD ST"; + container data-hd { + description + "data hd"; + } + leaf hd { + type Policy-map-hd-inbag; + description + "hd"; + } + } + + grouping MATCH-DOMAIN-ST { + description + "Domain Format"; + leaf domain-name { + type String-td; + description + "domain name"; + } + leaf format-name { + type String-td; + description + "format name"; + } + } + + grouping STRING-ARRAY { + description + "STRING ARRAY"; + leaf-list string-array { + type String-td; + description + "string array"; + } + } + + grouping ACTION-ACCT-AAA-LIST-ST { + description + "ACTION ACCT AAA LIST ST"; + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + leaf secs { + type uint32; + description + "secs"; + } + } + + grouping PMAP-VAR-INFO-ST { + description + "PMAP VAR INFO ST"; + container val { + description + "val"; + uses PLMGR-VAR-VAL-UN; + } + leaf name { + type string { + length "0..32"; + } + description + "name"; + } + leaf id { + type uint32; + description + "id"; + } + } + + grouping PLMGR-PMAP-STR-TARGETS-BG { + description + "Policymap and target info returned to the show + client"; + leaf-list targets { + type String-arr; + description + "targets"; + } + leaf-list parent-targets { + type String-arr; + description + "parent targets"; + } + } + + grouping IPV6-ADDR-ARRAY { + description + "IPV6 ADDR ARRAY"; + list ipv6-addr-array { + description + "ipv6 addr array"; + uses MATCH-IPV6-ST; + } + } + + grouping PLMGR-APP-PLN-CAPS-T { + description + " Pipe line capabilty info"; + leaf pipeline-id { + type uint32; + description + "Pipe line id"; + } + leaf description { + type string; + description + "Description"; + } + leaf-list table-type { + type Policy-map-table-type-e; + description + "List of table types in the pipeline in the + order"; + } + } + + grouping PLMGR-APP-GL-STATUS-CAP-T { + description + "Status capabilty of a network element"; + leaf status-per-match { + type boolean; + description + "Filter operation status capability"; + } + leaf status-per-action { + type boolean; + description + "Action operation status capability"; + } + leaf status-per-inline-class { + type boolean; + description + "Inline class operation status capability"; + } + leaf status-per-class-map { + type boolean; + description + "Class map operation status capability"; + } + leaf status-per-policy-map { + type boolean; + description + "Policy map operation status capability"; + } + leaf status-per-bulk { + type boolean; + description + "Bulk operation status capability"; + } + } + + grouping POLICY-SUB-ACTION-ATTR-T { + description + ""; + container action-attribute { + description + ""; + uses POLICY-ACTION-ATTR-T; + } + leaf sub-action { + type uint32; + description + ""; + } + } + + grouping ACTION-AFMON-FMM-INFO-ST { + description + "AFMon flow monitor configuration"; + leaf fmm-name { + type string { + length "0..33"; + } + description + "flow monitor name"; + } + } + + grouping ACTION-WRED-INFO-ST { + description + "WRED parameters info structure"; + container match-ranges { + description + "match ranges"; + uses UINT8-RNG-ARRAY; + } + container min-threshold { + description + "min threshold"; + uses POLICY-PARAM-UINT32-ST; + } + container max-threshold { + description + "max threshold"; + uses POLICY-PARAM-UINT32-ST; + } + leaf type { + type Wred-type-en; + description + "cos/prec/dscp/ based WRED"; + } + leaf wred-flags { + type uint32; + description + "wred flags"; + } + leaf probability { + type uint32; + description + "probability"; + } + } + + grouping ACTION-AFMON-FLOW-PARM-INFO-P { + description + "ACTION AFMON FLOW PARM INFO P"; + uses ACTION-AFMON-FLOW-PARM-INFO-ST; + } + + grouping ACTION-MARK-INFO-P { + description + "ACTION MARK INFO P"; + uses ACTION-MARK-INFO; + } + + grouping ACTION-PUNT-INFO-ST { + description + "punt action"; + leaf sn-type { + type Dpss-snid-type-en; + description + "service node ID type"; + } + leaf sn-index { + type uint32; + description + "service node index"; + } + leaf sn-name { + type string; + description + "service node name"; + } + leaf app-id { + type uint32; + description + "application ID"; + } + leaf local-id { + type uint32; + description + "local ID"; + } + leaf vsnode-type { + type Vsvc-service-type-t; + description + "vservice node type"; + } + } + + grouping PLMGR-VRF-STATS-ARR-BG { + description + "The array bag"; + leaf pmap-name { + type string; + description + "pmap name"; + } + leaf vrf-name { + type string; + description + "vrf name"; + } + leaf appln-type { + type uint32; + description + "appln type"; + } + leaf addr-family { + type uint32; + description + "addr family"; + } + leaf rc { + type int32; + description + "rc"; + } + list plmgr-vrf-stats { + description + "plmgr vrf stats"; + uses PLMGR-VRF-STATS-BG; + } + } + + grouping UINT8-RNG-ARRAY { + description + "UINT8 RNG ARRAY"; + list uint8_rng_array { + description + "uint8 rng array"; + uses UINT8-RNG-ST; + } + } + + grouping POLICE-ACTION-ARRAY { + description + "POLICE ACTION ARRAY"; + list police-action-array { + description + "police action array"; + uses POLICE-ACTION-UN; + } + } + + grouping POLICY-MAP-TYPE-N-NAME-ST { + description + "POLICY MAP TYPE N NAME ST"; + leaf name { + type Policy-map-name; + description + "name"; + } + leaf type { + type Policy-map-type-en; + description + "type"; + } + } + + grouping ACTION-PBF-INFO-P { + description + "ACTION PBF INFO P"; + uses ACTION-PBF-INFO-ARRAY; + } + + grouping ACTION-ACCT-EVENT-INFO-P { + description + "ACTION ACCT EVENT INFO P"; + uses ACTION-ACCOUNTING-EVENT-ST; + } + + grouping ACTION-SET-TIMER-ST { + description + "ACTION SET TIMER ST"; + leaf timer-name { + type string; + description + "timer name"; + } + leaf duration { + type uint32; + description + "duration"; + } + leaf absolute-time { + type string; + description + "absolute time"; + } + } + + grouping ACTION-AFMON-RTP-INFO-ST { + description + "AFMon RTP Configuration"; + leaf action-metric-type { + type Policy-action-en; + description + "metric type"; + } + leaf min-sequential { + type uint32; + description + "min sequential"; + } + leaf max-dropout { + type uint32; + description + "max dropout"; + } + leaf max-misorder { + type uint32; + description + "max misorder"; + } + leaf seq-ext-cop4 { + type uint32; + description + "enable seq extension cop4"; + } + list clock-rate { + description + "clock rate"; + uses AFMON-RTP-CLOCK-RATE-ST; + } + } + + grouping PCLASS-MOD-DATA-HD { + description + "PCLASS MOD DATA HD"; + uses POLICY-CLASS-INFO-MOD-BG; + } + + grouping PLMGR-PCLASS-DIFF-BG { + description + "Policy-class diff Bag"; + container del { + description + "del"; + uses POLICY-CLASS-INFO-UN; + } + container mod { + description + "mod"; + uses POLICY-CLASS-INFO-UN; + } + container add { + description + "add"; + uses POLICY-CLASS-INFO-UN; + } + } + + grouping ACTION-MARK2-INFO-P { + description + "ACTION MARK2 INFO P"; + uses ACTION-MARK2-INFO; + } + + grouping ACTION-IPV6-NH-INFO-ST { + description + "ipv6 next hop action"; + leaf nh-addr { + type inet:ipv6-address; + description + "IPV6 Address"; + } + leaf vrf-name { + type string; + description + "Vrf name"; + } + } + + grouping PLMGR-APP-GL-ATOMICITY-CAP-T { + description + " Atomicity capability of network element "; + leaf atomicity-per-bulk { + type boolean; + description + "Specifies policymgr bulk configuration atomicity + supported or not"; + } + leaf atomicity-per-inline-class { + type boolean; + description + "Specifies policymgr inline class configuration + atomicity supported or not"; + } + leaf atomicity-per-policy-map { + type boolean; + description + "Specifies policymgr policy-map configuration + atomicity supported or not"; + } + } + + grouping PLMGR-APP-TB-MATCH-CAP-T { + description + "Match capability"; + leaf match-capability-type { + type Match-cap-e; + description + "Match type"; + } + list match-attribute { + description + "Match attribute"; + uses PLMGR-MATCH-ATTR-UN; + } + } + + grouping ACTION-STOP-TIMER-ST { + description + "ACTION STOP TIMER ST"; + leaf timer-name { + type string; + description + "timer name"; + } + } + + grouping CHLD-POL-ENC-UN { + description + "Union of object name and app object ptr"; + container info { + when "../enc = 'policy-obj-enc-name'" { + description + "../enc = 'POLICY_OBJ_ENC_NAME'"; + } + description + "info"; + uses POLICY-MAP-TYPE-N-NAME-ST; + } + container hd-info { + when "../enc = 'policy-obj-enc-hdl'" { + description + "../enc = 'POLICY_OBJ_ENC_HDL'"; + } + description + "hd info"; + uses POLICY-MAP-HD-ST; + } + leaf enc { + type Policy-obj-enc-en; + description + "enc"; + } + } + + grouping POLICY-CLASS-INFO-BG { + description + "Class per policy info"; + list policy-class-info-bg { + description + "policy class info bg"; + container cl-encode { + description + "cl encode"; + uses POL-CLASS-ENC-UN; + } + container clmp-p { + description + "clmp p"; + uses CLASS-MAP-BG; + } + container act-infop { + description + "act infop"; + uses POLICY-ACTION-INFO-ST; + } + leaf policy-class-hd { + type uint32; + description + "policy class hd"; + } + leaf seq { + type uint32; + description + "seq"; + } + leaf flags { + type uint32; + description + "flags"; + } + leaf ctype { + type Class-map-type-en; + description + "ctype"; + } + leaf num-actions { + type uint16; + description + "num actions"; + } + leaf version { + type uint8; + description + "version"; + } + leaf exe-strat { + type Pclass-exec-strat-en; + description + "exe strat"; + } + } + } + + grouping ACTION-TEMPLATE-ST { + description + "ACTION TEMPLATE ST"; + leaf template-name { + type string; + description + "template name"; + } + leaf aaa-list-name { + type string; + description + "aaa list name"; + } + leaf flags { + type uint32; + description + "flags"; + } + } + + grouping ACTION-QLIMIT-INFO-ARRAY { + description + "ACTION QLIMIT INFO ARRAY"; + list action-qlimit-info-array { + description + "action qlimit info array"; + uses ACTION-QLIMIT-INFO-ST; + } + } + + grouping UINT16-ARRAY { + description + "UINT16 ARRAY"; + leaf-list uint16_array { + type uint16; + description + "uint16 array"; + } + } + + grouping ACTION-MARK2-INFO-ST { + description + "Mark action"; + leaf value { + type uint32; + description + "value"; + } + leaf value-overflow { + type uint16; + description + "value overflow"; + } + leaf type { + type Mark-type-e; + description + "type"; + } + leaf mark-flags { + type uint8; + description + "mark flags"; + } + } + + grouping ACTION-AFMON-REACT-INFO { + description + "ACTION AFMON REACT INFO"; + list action-afmon-react-info { + description + "action afmon react info"; + uses ACTION-AFMON-REACT-ST; + } + } + + grouping PLMGR-APP-TB-STATS-CAP-T { + description + " Table stats capability"; + leaf class-aggregate-targetaggregate-stats { + type boolean; + description + "Specifies if complete table stats is supported + or not"; + } + leaf class-target-aggregate { + type boolean; + description + "Specifies if class statistics aggregated for + all targets is supporte dor not"; + } + leaf class-target-stats { + type boolean; + description + "Specifies if class statistics for each target + supported or not"; + } + leaf table-target-stats { + type boolean; + description + "Specifies if per targets statistics retrieval is + supporte dor not"; + } + leaf action-taget-stats { + type boolean; + description + "Specifies per action per target statistics + supoorted or not"; + } + } + + grouping PROTO-ICMP-ST { + description + "PROTO ICMP ST"; + leaf type { + type uint8; + description + "Protocol type"; + } + leaf code { + type uint8; + description + "Protocol code"; + } + } + + grouping ACTION-OUTPUT-INTERFACE-INFO-ST { + description + "output_interface action"; + leaf out-ifname { + type string; + description + "output interface name"; + } + } + + grouping VLAN-ID-ARRAY { + description + "VLAN ID ARRAY"; + list vlan-id-array { + description + "vlan id array"; + uses VLAN-ID-ST; + } + } + + grouping PLMGR-PMAP-TARGETS-BG { + description + "Policymap and targets info. returned to Policymgr + (from policy client)"; + leaf policy-map-name { + type string { + length "0..64"; + } + description + "PolicyMapName"; + } + leaf num-targets { + type uint32; + description + "NumTargets"; + } + leaf num-parent-targets { + type uint32; + description + "NumParentTargets"; + } + leaf-list pmap-targets { + type uint8; + description + "pmap targets"; + } + leaf-list pmap-parent-targets { + type uint8; + description + "pmap parent targets"; + } + } + + grouping PLMGR-PMAP-LIST { + description + "policy-map list"; + leaf object-type { + type Plmgr-appln-type-en; + description + "Application type configured"; + } + leaf policy-map-name { + type string { + length "0..64"; + } + description + "Name of Policymap referencing a Classmap"; + } + } + + grouping ACTION-REDIRECT-INFO-P { + description + "ACTION REDIRECT INFO P"; + uses ACTION-REDIRECT-INFO-ST; + } + + grouping POLICY-EVENT-INFO-BG { + description + "Event info bag"; + list policy-event-info-bg { + description + "policy event info bg"; + container class-infop { + description + "class infop"; + uses POLICY-CLASS-INFO-BG; + } + leaf event-type { + type Pevent-type-en; + description + "event type"; + } + leaf cond-eval { + type Pevent-cond-eval-en; + description + "cond eval"; + } + } + } + + grouping INLINE-CMAP-DATA-HD { + description + "INLINE CMAP DATA HD"; + uses INLINE-CLASS-MAP-BG; + } + + grouping UINT8-RNG-ST { + description + "UINT8 RNG ST"; + leaf min { + type uint8; + description + "Lower limit of the range"; + } + leaf max { + type uint8; + description + "Upper limit of the range"; + } + } + + grouping PLMGR-APP-TB-CAPS-T { + description + "Policymgr application table capabilty info"; + container stats-capabilty { + description + "Stats capabaility"; + uses PLMGR-APP-TB-STATS-CAP-T; + } + container transient-capability { + description + "Transient capability"; + uses PLMGR-APP-TB-TRANSIENT-CAP-T; + } + container persistent-capability { + description + "Persistent capability"; + uses PLMGR-APP-TB-PERSISTENT-CAP-T; + } + container class-capability { + description + "Class capabaility"; + uses PLMGR-APP-TB-CLASS-CAP-T; + } + leaf table-type { + type Policy-map-table-type-e; + description + " Table type"; + } + leaf-list forwarding-type { + type Plmgr-app-fwding-type-e; + description + "Forwarding type supported "; + } + list match-capability { + description + "Match capability "; + uses PLMGR-APP-TB-MATCH-CAP-T; + } + list action-capability { + description + "Action capability"; + uses PLMGR-APP-TB-ACTION-CAP-T; + } + } + + grouping DOMAIN-ARRAY { + description + "DOMAIN ARRAY"; + list domain-array { + description + "domain array"; + uses MATCH-DOMAIN-ST; + } + } + + grouping FLOW-KEY-ST { + description + "FLOW KEY ST"; + container flow-keys { + description + "flow keys"; + uses FLOW-KEY-ARRAY; + } + leaf max-count { + type uint16; + description + "Maximum count of flows"; + } + leaf idle-timeout { + type uint16; + units "second"; + description + "Idle timeout of flows (in seconds)"; + } + } + + grouping POLICY-MAP-HDR-BG { + description + "Policy-map Header Bag"; + leaf name { + type Policy-map-name; + description + "name"; + } + leaf type { + type Policy-map-type-en; + description + "type"; + } + leaf table-id { + type uint32; + description + "table id"; + } + leaf flags { + type uint32; + description + "flags"; + } + } + + grouping ACTION-TEMPLATE-INFO-P { + description + "ACTION TEMPLATE INFO P"; + uses ACTION-TEMPLATE-ST; + } + + grouping ACTION-HTTPR-INFO-P { + description + "ACTION HTTPR INFO P"; + uses ACTION-HTTPR-INFO-ST; + } + + grouping ACTION-POLICE-INFO-P { + description + "ACTION POLICE INFO P"; + uses ACTION-POLICE-INFO-ST; + } + + grouping VLAN-ID-ST { + description + "VLAN ID ST"; + leaf min { + type uint16; + description + "Lower limit of the range"; + } + leaf max { + type uint16; + description + "Upper limit of the range"; + } + leaf mask { + type uint16; + description + "VLAN mask"; + } + } + + grouping PLMGR-APP-GL-CAP-T { + description + "Global capability of network element"; + container system-capability { + description + "system capability"; + uses PLMGR-APP-GL-SYSTEM-CAP-T; + } + container atomicity-capability { + description + "atomicity capability"; + uses PLMGR-APP-GL-ATOMICITY-CAP-T; + } + container stats-capability { + description + "stats capability"; + uses PLMGR-APP-GL-STATS-CAP-T; + } + container cookie-capability { + description + "cookie capability"; + uses PLMGR-APP-GL-COOKIE-CAP-T; + } + container status-capability { + description + "status capability"; + uses PLMGR-APP-GL-STATUS-CAP-T; + } + container bulk-best-effort-capability { + description + "bulk best effort capability"; + uses PLMGR-APP-GL-BULK-BEST-EFFORT-CAP-T; + } + } + + grouping ACTION-WRED-INFO { + description + "ACTION WRED INFO"; + list action-wred-info { + description + "action wred info"; + uses ACTION-WRED-INFO-ST; + } + } + + grouping FLOW-KEY-ARRAY { + description + "FLOW KEY ARRAY"; + leaf keys { + type yang:hex-string; + description + "keys"; + } + leaf num { + type uint8; + description + "num"; + } + } + + grouping UINT8-ARRAY { + description + "UINT8 ARRAY"; + leaf-list uint8_array { + type uint8; + description + "uint8 array"; + } + } + + grouping POLICY-ACTION-ATTR-T { + description + " Policy action attribute"; + leaf policy-action-exec-type { + type Policy-action-exec-type-e; + description + "policy action exec type"; + } + leaf num-instances { + type uint32; + description + "num instances"; + } + } + + grouping ACTION-QUERY-ANCP-SESSION-ST { + description + "ACTION QUERY ANCP SESSION ST"; + leaf enable { + type uint8; + description + "enable"; + } + } + + grouping MASK-ATTR-T { + description + "Mask attributes for a match type"; + leaf subnet { + type boolean; + description + "Subnet mask support for a match type"; + } + leaf arbitrary { + type boolean; + description + "Arbitrary mask support for a match type"; + } + leaf wild-card { + type boolean; + description + "Wild card mask support for a match type"; + } + } + + grouping PLMGR-GLOBAL-CAP-BG { + description + "Global Capabaility details "; + list global-capability { + description + "Global capability"; + uses PLMGR-APP-GL-CAP-T; + } + } + + grouping UINT16-RNG-ST { + description + "UINT16 RNG ST"; + leaf min { + type uint16; + description + "Lower limit of the range"; + } + leaf max { + type uint16; + description + "Upper limit of the range"; + } + } + + grouping ACTION-PREPAID-CFG-ST { + description + "ACTION PREPAID CFG ST"; + leaf prepaid-config-profile-name { + type string; + description + "prepaid config profile name"; + } + } + + grouping PLMGR-APP-DB-BG { + description + "Per application Classmap/Policymap database"; + leaf object-type { + type Plmgr-appln-type-en; + description + "Application type configured"; + } + leaf total-objects { + type uint32; + description + "Total number of objects configured for a + specific object type"; + } + leaf transient { + type boolean; + description + "Transient object"; + } + list reference { + description + "Each Policymap details"; + uses PLMGR-OBJ-REF-PMAP-BG; + } + list objects { + description + "Each object details"; + uses PLMGR-OBJ-REF-SUMMARY-BG; + } + list class-map-reference { + description + "Each Classmapdetails"; + uses PLMGR-OBJ-CMAP-DETAIL-BG; + } + } + + grouping TARGETS { + description + "Common node of node, global"; + container target-policy-map-types { + description + "Targets of a policymap"; + list target-policy-map-type { + key "type"; + description + "Policymgr application type"; + container policy-map-targets { + description + "Policy-map table"; + list policy-map-target { + key "policy-map-name"; + description + "Policy-map targets"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-PMAP-STR-TARGETS-BG; + } + } + container policy-map-target-summary { + description + "Policy-map table"; + uses PLMGR-PMAP-TARGETS-SUMMARY-BG; + } + container target-summary-per-policy-maps { + description + "Policy-map table per Policy-map"; + list target-summary-per-policy-map { + key "policy-map-name"; + description + "Policy-map targets summary"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-PMAP-TARGETS-SUMMARY-BG; + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + } + + grouping CLASS-MAP { + description + "Common node of node, global"; + container class-map { + description + "List of classmap details"; + container class-map-types { + description + "Application type of a classmap"; + list class-map-type { + key "type"; + description + "Policymgr application type"; + container class-map-details { + description + "Class-map detail table"; + list class-map-detail { + key "class-map-name"; + description + "Class-map detail information"; + leaf class-map-name { + type string { + length "1..63"; + } + description + "Name of class-map"; + } + uses PLMGR-APP-DB-BG; + } + } + container class-maps { + description + "Class-map definition table"; + list class-map { + key "class-map-name"; + description + "Class-map configuration"; + leaf class-map-name { + type string { + length "1..63"; + } + description + "Name of class-map"; + } + uses CLASS-MAP-BG; + } + } + container class-map-briefs { + description + "Class-map brief table"; + list class-map-brief { + key "class-map-name"; + description + "Class-map brief information"; + leaf class-map-name { + type string { + length "1..63"; + } + description + "Name of class-map"; + } + uses PLMGR-APP-DB-BG; + } + } + leaf type { + type Policymgr-class-map; + description + "The application type"; + } + } + } + } + } + + grouping SUMMARY { + description + "Common node of node, global"; + container summary { + description + "Summary of policy-maps and class-maps configured"; + uses PLMGR-SUMMARY-BG; + } + } + + grouping POLICY-MAP { + description + "Common node of node, global"; + container policy-map { + description + "List of policymap details"; + container transient-policy-map-type-xr { + description + "Application type of transient policy-map"; + list transient-policy-map-type { + key "type"; + description + "Transient policy-map type"; + container transient-policy-map-names { + description + "Transient policy-map definition table"; + list transient-policy-map-name { + key "policy-map-name"; + description + "Transient policy-map definition table"; + container class-handles { + description + "Transient policy-map class handle table"; + list class-handle { + key "inline-classhandle"; + description + "Transient policy-map class handle"; + leaf inline-classhandle { + type int32; + description + "inline class handle"; + } + uses POLICY-MAP-BG; + } + } + container class-seq-nums { + description + "Transient policy-map sequence number table"; + list class-seq-num { + key "sequence-num"; + description + "Transient policy-map sequence number"; + leaf sequence-num { + type int32; + description + "sequence number"; + } + uses POLICY-MAP-BG; + } + } + container definition { + description + "Transient Policy-map type name"; + uses POLICY-MAP-BG; + } + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + container policy-map-unused-types { + description + "Policy-map unused table"; + list policy-map-unused-type { + key "type"; + description + "Policy-map unused"; + container unuseds { + description + "Policy-map unused"; + list unused { + key "policy-map-name"; + description + "Policy-map unused information"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-APP-DB-BG; + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + container policy-map-types { + description + "Application type of a policymap"; + list policy-map-type { + key "type"; + description + "Policymgr application type"; + container policy-maps { + description + "Policy-map definition table"; + list policy-map { + key "policy-map-name"; + description + "Policy-map configuration"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses POLICY-MAP-BG; + } + } + container policy-map-details { + description + "Policy-map table"; + list policy-map-detail { + key "policy-map-name"; + description + "Policy-map detail information"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-APP-DB-BG; + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + container transient-policy-map-types { + description + "Application type of transient policy-map list"; + list transient-policy-map-type { + key "type"; + description + "Transient policy-map type"; + container transient-list-unuseds { + description + "Transient policy-map list unused table"; + list transient-list-unused { + key "policy-map-name"; + description + "Policy-map list unused"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-APP-DB-BG; + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + } + } + + grouping DETAIL { + description + "Common node of transient-input, transient-output"; + container detail { + description + "Policy map"; + uses POLICY-MAP-APPLIED-SHOW-BG; + } + } + + grouping POLICYMGR-OPER-DETAIL { + description + "Common node of transient-input, + transient-outputCommon node of output, input"; + container detail { + description + "WORD interface name"; + uses POLICY-MAP-APPLIED-SHOW-BG; + } + } + + container policy-manager { + config false; + description + "Policy-map operational data"; + container global { + description + "Global QOS operational data"; + container policy-map-applied-types { + description + "List of Applied policymap details"; + list policy-map-applied-type { + key "type"; + description + "Policymgr application type"; + container if-names { + description + "Interface table"; + list if-name { + key "interface-name"; + description + "WORD interface name"; + container input { + description + "Input direction table"; + uses POLICYMGR-OPER-DETAIL; + } + container output { + description + "Output direction table"; + uses POLICYMGR-OPER-DETAIL; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + container transient-policy-map-targets-types { + description + "Transient policy-map target table"; + list transient-policy-map-targets-type { + key "type"; + description + "Transient Policymgr application type"; + container transient-target-summary-per-policy-maps { + description + "Transient Policy-map table per Policy-map"; + list transient-target-summary-per-policy-map { + key "policy-map-name"; + description + "Policy-map targets summary"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-PMAP-TARGETS-SUMMARY-BG; + } + } + container transient-policy-map-target-summary { + description + "Transient Policy-map table"; + uses PLMGR-PMAP-TARGETS-SUMMARY-BG; + } + container transient-policy-map-targets { + description + "Transient Policy-map table"; + list transient-policy-map-target { + key "policy-map-name"; + description + "Transient Policy-map targets"; + leaf policy-map-name { + type string { + length "1..63"; + } + description + "Name of policy-map"; + } + uses PLMGR-PMAP-STR-TARGETS-BG; + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + container transient-policy-map-applied-types { + description + "Transient policy-map applied type"; + list transient-policy-map-applied-type { + key "type"; + description + "Transient policy-map applied type"; + container transient-interface-names { + description + "Interface table"; + list transient-interface-name { + key "interface-name"; + description + "WORD interface name"; + container transient-output { + description + "Output direction table"; + uses DETAIL; + } + container transient-input { + description + "Input direction table"; + uses DETAIL; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + } + } + leaf type { + type Policymgr-policy-map; + description + "The application type"; + } + } + } + uses TARGETS; + uses CLASS-MAP; + uses POLICY-MAP; + uses SUMMARY; + } + container nodes { + description + "Node-specific Policymgr operational data"; + list node { + key "node-name"; + description + "Policymgr operational data for a particular + node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses TARGETS; + uses CLASS-MAP; + uses POLICY-MAP; + uses SUMMARY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-cfg.yang new file mode 100644 index 0000000..603717f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-cfg.yang @@ -0,0 +1,308 @@ +module Cisco-IOS-XR-infra-rcmd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-cfg"; + prefix infra-rcmd-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rcmd package configuration. + + This module contains definitions + for the following management objects: + router-convergence: Configure Router Convergence Monitoring + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rcmd-priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical routes"; + } + enum "high" { + value 1; + description + "High priority routes"; + } + enum "medium" { + value 2; + description + "Medium priority routes"; + } + enum "low" { + value 3; + description + "Low priority routes"; + } + } + description + "Rcmd priority"; + } + + typedef Protocol-name { + type enumeration { + enum "ospf" { + value 0; + description + "Configure parameters related to OSPF"; + } + enum "isis" { + value 1; + description + "Configure parameters related to ISIS"; + } + } + description + "Protocol name"; + } + + container router-convergence { + description + "Configure Router Convergence Monitoring"; + container protocols { + description + "Table of Protocol"; + list protocol { + key "protocol-name"; + description + "Protocol for which to configure RCMD parameters"; + container priorities { + description + "Table of Priority"; + list priority { + key "rcmd-priority"; + description + "Priority"; + leaf threshold { + type int32; + description + "Threshold value for convergence (in msec)"; + } + leaf leaf-networks { + type uint32 { + range "10..100"; + } + description + "Specify the maximum number of leaf networks + monitored"; + } + leaf disable { + type empty; + description + "Disables the monitoring of route convergence + for specified priority"; + } + leaf enable { + type empty; + description + "Enable Priority. Deletion of this object + also causes deletion of all associated + objects under Priority."; + } + leaf frr-threshold { + type uint32 { + range "1..100"; + } + units "percentage"; + description + "Threshold value for Fast ReRoute Coverage + (in percentage)"; + } + leaf rcmd-priority { + type Rcmd-priority; + description + "Specify the priority"; + } + } + } + leaf enable { + type empty; + description + "Enable Protocol for which to configure RCMD + parameters. Deletion of this object also + causes deletion of all associated objects + under Protocol."; + } + leaf protocol-name { + type Protocol-name; + description + "Specify the protocol"; + } + } + } + container storage-location { + presence "Indicates a storage-location node is configured."; + description + "Absolute directory path for saving the archive + files. Example /disk0:/rcmd/ or + /rcmd/"; + leaf diagnostics { + type string; + description + "Absolute directory path for storing diagnostic + reports. Example /disk0:/rcmd/ or + /rcmd/"; + } + leaf diagnostics-size { + type uint32 { + range "5..80"; + } + description + "Maximum size of diagnostics dir (5% - 80%) for + local storage."; + } + leaf reports-size { + type uint32 { + range "5..80"; + } + description + "Maximum size of reports dir (5% - 80%) for + local storage."; + } + leaf reports { + type string; + description + "Absolute directory path for storing reports. + Example /disk0:/rcmd/ or /rcmd/"; + } + } + container mpls-ldp { + presence "Indicates a mpls-ldp node is configured."; + description + "RCMD related configuration for MPLS-LDP"; + container remote-lfa { + presence "Indicates a remote-lfa node is configured."; + description + "Monitoring configuration for Remote LFA"; + leaf threshold { + type uint32 { + range "1..100"; + } + units "percentage"; + description + "Threshold value for label coverage (in + percentage)"; + } + } + } + container collect-diagnostics { + description + "Table of CollectDiagnostics"; + list collect-diagnostic { + key "node-name"; + description + "Collect diagnostics on specified node"; + leaf enable { + type empty; + description + "Enables collection of diagnostics on the + specified location"; + } + leaf node-name { + type xr:Node-id; + description + "Specified location"; + } + } + } + container nodes { + description + "Table of Node"; + list node { + key "node-name"; + description + "Configure parameters for the specified node + (Partially qualified location allowed)"; + leaf disable { + type empty; + description + "Disables the monitoring of route convergence + on specified location"; + } + leaf enable { + type empty; + description + "Enable Configure parameters for the specified + node (Partially qualified location allowed). + Deletion of this object also causes deletion + of all associated objects under Node."; + } + leaf node-name { + type xr:Pq-node-id; + description + "Wildcard expression(eg. */*/*, R/*/*, R/S/*, + R/S/I)"; + } + } + } + leaf event-buffer-size { + type uint32 { + range "100..500"; + } + description + "Event buffer size for storing event traces (as + number of events)"; + } + leaf prefix-monitor-limit { + type uint32 { + range "0..100"; + } + description + "Limits Individual Prefix Monitoring"; + } + leaf disable { + type empty; + description + "Disable the monitoring of route convergence on + the entire router"; + } + leaf enable { + type empty; + description + "Enable Configure Router Convergence Monitoring. + Deletion of this object also causes deletion of + all associated objects under RouterConvergence."; + } + leaf max-events-stored { + type uint32 { + range "10..500"; + } + description + "Maximum number of events stored in the server"; + } + leaf monitoring-interval { + type uint32 { + range "5..120"; + } + units "minute"; + description + "Interval in which to collect logs (in mins)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang new file mode 100644 index 0000000..e80ba01 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper-sub1.yang @@ -0,0 +1,2816 @@ +submodule Cisco-IOS-XR-infra-rcmd-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-rcmd-oper { + prefix Cisco-IOS-XR-infra-rcmd-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-rcmd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rcmd-show-inst-state { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown state"; + } + enum "active" { + value 1; + description + "Active state"; + } + enum "in-active" { + value 2; + description + "InActive state"; + } + enum "na" { + value 3; + description + "Max state"; + } + } + description + "instance state"; + } + + typedef Rcmd-show-intf-event { + type enumeration { + enum "create" { + value 1; + description + "Create"; + } + enum "delete" { + value 2; + description + "Delete"; + } + enum "link-up" { + value 3; + description + "LinkUp"; + } + enum "link-down" { + value 4; + description + "LinkDown"; + } + enum "primary-address" { + value 5; + description + "PrimaryAddress"; + } + enum "secondary-address" { + value 6; + description + "SecondaryAddress"; + } + enum "ipv6-link-local-address" { + value 7; + description + "Ipv6LinkLocalAddress"; + } + enum "ipv6-global-address" { + value 8; + description + "Ipv6GlobalAddress"; + } + enum "mtu" { + value 9; + description + "MTU"; + } + enum "band-width" { + value 10; + description + "BandWidth"; + } + enum "ldp-sync" { + value 11; + description + "LDPSync"; + } + enum "forward-reference" { + value 12; + description + "ForwardReference"; + } + enum "ldp-no-sync" { + value 13; + description + "LDPNoSync"; + } + } + description + "Rcmd show intf event"; + } + + typedef Rcmd-show-comp-id { + type enumeration { + enum "ospf" { + description + "OSPF component"; + } + enum "isis" { + description + "ISIS component"; + } + enum "un-known" { + description + "Max NA"; + } + } + description + "Component Info"; + } + + typedef Rcmd-show-ldp-conv-state { + type enumeration { + enum "not-full" { + description + "Not Fully Covered"; + } + enum "fully-covered" { + description + "Fully Covered"; + } + enum "coverage-above-threshold" { + description + "Backup Coverage Above Threshold"; + } + enum "coverage-below-threshold" { + description + "Backup Coverage Below Threshold"; + } + enum "coverage-flapping" { + description + "Backup Coverage is Flappping"; + } + } + description + "LDP Convergence States"; + } + + typedef Rcmd-show-ldp-session-state { + type enumeration { + enum "gr-down" { + description + "GR Down State"; + } + enum "gr-converging" { + description + "GR Converging State"; + } + enum "establishing" { + description + "Establishing State"; + } + enum "converging" { + description + "Converging State"; + } + enum "converged" { + description + "Converged State"; + } + enum "retrying" { + description + "Retrying State"; + } + enum "total" { + description + "Cumulative Coverage for all the States"; + } + } + description + "LDP Session State"; + } + + typedef Rcmd-protocol-id { + type enumeration { + enum "ospf" { + value 0; + description + "OSPF protocol"; + } + enum "isis" { + value 1; + description + "ISIS Prrotocol"; + } + enum "na" { + value 2; + description + "Max NA"; + } + } + description + "Protocol Info"; + } + + typedef Rcmd-show-ldp-neighbour-status { + type enumeration { + enum "down" { + description + "Down State"; + } + enum "up" { + description + "Up State"; + } + } + description + "LDP Adjacency Session Status"; + } + + typedef Rcmd-ldp-event { + type enumeration { + enum "neighbor" { + value 1; + description + "Neighbor Event"; + } + enum "adjacency" { + value 2; + description + "Adjacency Event"; + } + } + description + "Type of LDP Event"; + } + + typedef Rcmd-show-mem { + type enumeration { + enum "standard" { + value 0; + description + "Standard type"; + } + enum "chunk" { + value 1; + description + "Chunk type"; + } + enum "edm" { + value 2; + description + "EDM type"; + } + enum "string" { + value 3; + description + "String type"; + } + enum "static" { + value 4; + description + "Static type"; + } + enum "unknown" { + value 5; + description + "Unknown type"; + } + } + description + "RCMD Memory Manager type"; + } + + typedef Rcmd-isis-spf { + type enumeration { + enum "full" { + value 0; + description + "Full"; + } + enum "incremental" { + value 1; + description + "Incremental"; + } + enum "next-hop" { + value 2; + description + "Next hop calculation"; + } + enum "partial-route" { + value 3; + description + "Partial route calculation"; + } + } + description + "Type of an ISIS SPF run"; + } + + typedef Rcmd-isis-lvl { + type enumeration { + enum "l1" { + value 0; + description + "Level 1"; + } + enum "l2" { + value 1; + description + "Level 2"; + } + } + description + "Type of an ISIS Level"; + } + + typedef Rcmd-bag-enbl-dsbl { + type enumeration { + enum "dsbl" { + value 0; + description + "Disabled"; + } + enum "enbl" { + value 1; + description + "Enabled"; + } + } + description + "status enum"; + } + + typedef Rcmd-show-node { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown Type"; + } + enum "lc" { + value 1; + description + "LC Type"; + } + enum "rp" { + value 2; + description + "RP Type"; + } + } + description + "Type of Node"; + } + + typedef Rcmd-bool-yes-no { + type enumeration { + enum "no" { + value 0; + description + "No"; + } + enum "yes" { + value 1; + description + "Yes"; + } + } + description + "Boolean enum"; + } + + typedef Rcmd-show-prcs-state { + type enumeration { + enum "success" { + value 0; + description + "Success"; + } + enum "cpu" { + value 1; + description + "Cpu overload"; + } + enum "memory" { + value 2; + description + "Memory overload"; + } + } + description + "Post Processing Info"; + } + + typedef Rcmd-bag-enable-disable { + type enumeration { + enum "disable" { + value 0; + description + "Disabled"; + } + enum "enable" { + value 1; + description + "Enabled"; + } + } + description + "status enum"; + } + + typedef Rcmd-show-ipfrr-lfa { + type enumeration { + enum "none" { + description + "No IP Frr LFA Type "; + } + enum "local" { + description + "IP Frr Local LFA"; + } + enum "remote" { + description + "IP Frr Remote LFA"; + } + } + description + "IP Frr LFA Types"; + } + + typedef Rcmd-show-route-path-change { + type enumeration { + enum "primary" { + value 0; + description + "Primary path is changed"; + } + enum "backup" { + value 1; + description + "Backup path is changed"; + } + } + description + "Type of route change"; + } + + typedef Rcmd-linecard-speed { + type enumeration { + enum "other" { + value 0; + description + "Other linecard"; + } + enum "fastest" { + value 1; + description + "Fastest linecard"; + } + enum "slowest" { + value 2; + description + "Slowest linecard"; + } + } + description + "Comparative speed of programming on linecard"; + } + + typedef Rcmd-ls-change { + type enumeration { + enum "new" { + value 0; + description + "Added"; + } + enum "delete" { + value 1; + description + "Deleted"; + } + enum "modify" { + value 2; + description + "Modified"; + } + enum "noop" { + value 3; + description + "No operation"; + } + } + description + "Type of change"; + } + + typedef Rcmd-lsa { + type enumeration { + enum "unknown" { + value 0; + description + "Invalid LSA"; + } + enum "router" { + value 1; + description + "Router LSA"; + } + enum "network" { + value 2; + description + "Network LSA"; + } + enum "summary" { + value 3; + description + "Summary LSA"; + } + enum "asbr" { + value 4; + description + "ASBR LSA"; + } + enum "external" { + value 5; + description + "External LSA"; + } + enum "multicast" { + value 6; + description + "Multicast LSA"; + } + enum "nssa" { + value 7; + description + "NSSA LSA"; + } + } + description + "Type of LSA"; + } + + typedef Rcmd-spf-state { + type enumeration { + enum "complete" { + value 0; + description + "Complete"; + } + enum "in-complete" { + value 1; + description + "InComplete"; + } + enum "collecting" { + value 2; + description + "Collecting data"; + } + enum "no-route-change" { + value 3; + description + "No Route Change"; + } + } + description + "Type of an ISIS Level"; + } + + typedef Rcmd-change { + type enumeration { + enum "none" { + value 0; + description + "Invalid"; + } + enum "add" { + value 1; + description + "Added"; + } + enum "delete" { + value 2; + description + "Deleted"; + } + enum "modify" { + value 3; + description + "Modified"; + } + enum "no-change" { + value 4; + description + "No Change"; + } + } + description + "Type of change"; + } + + typedef Rcmd-show-route { + type enumeration { + enum "ospf" { + description + "OSPF route init"; + } + enum "intra" { + description + "OSPF Intra route"; + } + enum "inter" { + description + "OSPF Inter route"; + } + enum "ext-1" { + description + "OSPF External Type-1 Route"; + } + enum "ext-2" { + description + "OSPF External Type-2 Route"; + } + enum "nssa-1" { + description + "OSPF NSSA Type-1 Route"; + } + enum "nssa-2" { + description + "OSPF NSSA Type-2 Route"; + } + enum "isis" { + description + "ISIS route init"; + } + enum "l1-summary" { + description + "ISIS L1 Summary"; + } + enum "l1" { + description + "ISIS L1"; + } + enum "l2-summary" { + description + "ISIS L2 Summary"; + } + enum "l2" { + description + "ISIS L2"; + } + enum "inter-area-summary" { + description + "ISIS Inter Area Summary"; + } + enum "inter-area" { + description + "ISIS Inter Area"; + } + enum "default-attached" { + description + "ISIS Default Route Attached"; + } + } + description + "Route Types"; + } + + typedef Rcmd-priority-level { + type enumeration { + enum "critical" { + value 0; + description + "Critical"; + } + enum "high" { + value 1; + description + "High"; + } + enum "medium" { + value 2; + description + "Medium"; + } + enum "low" { + value 3; + description + "Low"; + } + } + description + "Level of priority"; + } + + grouping RCMD-SHOW-INSTANCE { + description + "Instance Information"; + leaf instance-id { + type uint32; + description + "Instance Id"; + } + leaf instance-state { + type Rcmd-show-inst-state; + description + "Instance State"; + } + leaf instance-deleted { + type Rcmd-bool-yes-no; + description + "Instance Deleted"; + } + leaf fwd-referenced { + type Rcmd-bool-yes-no; + description + "Forward Referenced"; + } + leaf last-update-time { + type string; + description + "Last Updated Time"; + } + leaf node-id { + type uint32; + description + "Node Id"; + } + leaf spf-offset { + type uint32; + description + "SPF Offset"; + } + leaf total-spf-nos { + type uint32; + description + "Total spf nos"; + } + leaf arch-spf-run { + type uint32; + description + "spf run can be archived"; + } + leaf route-change-spf-nos { + type uint32; + description + "Route change spf nos"; + } + leaf no-route-change-spf-nos { + type uint32; + description + "No Route change spf nos"; + } + leaf not-interested-spf-nos { + type uint32; + description + "Not Interested SPF nos"; + } + leaf total-spt-nos { + type uint32; + description + "Total spt nos"; + } + } + + grouping RCMD-SHOW-INSTANCE-NAME { + description + "Instance Name Information"; + leaf name { + type string; + description + "Instance Name"; + } + leaf last-update-time { + type string; + description + "Last Updated Time"; + } + leaf total-spf-nos { + type uint32; + description + "Total spf nos"; + } + leaf route-change-spf-nos { + type uint32; + description + "Route change spf nos"; + } + leaf no-route-change-spf-nos { + type uint32; + description + "No Route change spf nos"; + } + leaf not-interested-spf-nos { + type uint32; + description + "Not Interested SPF nos"; + } + leaf lsp-regeneration-count { + type uint32; + description + "LSP Regen Count"; + } + leaf lsp-regeneration-serial { + type uint32; + description + "Last Serial"; + } + leaf arch-spf-event { + type uint32; + description + "Archive SPF event"; + } + leaf arch-lsp-regeneration { + type uint32; + description + "Archive Lsp regen"; + } + list instance { + description + "Instance Information"; + uses RCMD-SHOW-INSTANCE; + } + } + + grouping RCMD-SHOW-PROCESS-INFO { + description + "Process Information"; + leaf protocol-id { + type Rcmd-protocol-id; + description + "Protocol id"; + } + leaf process-name { + type string; + description + "Process Name"; + } + list instance-name { + description + "Instance/VRF Name"; + uses RCMD-SHOW-INSTANCE-NAME; + } + } + + grouping RCMD-SHOW-PROCESS { + description + "Process Information"; + list process { + description + "Process Information"; + uses RCMD-SHOW-PROCESS-INFO; + } + } + + grouping RCMD-SHOW-INTF-EVENT { + description + "Interface event information"; + leaf sequence-no { + type uint32; + description + "Sequence No"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf component { + type Rcmd-show-comp-id; + description + "Component info"; + } + leaf event-type { + type Rcmd-show-intf-event; + description + "Event Info"; + } + leaf event-time { + type string; + description + "Event Time"; + } + leaf primary-address { + type inet:ipv4-address; + description + "Primary Address"; + } + } + + grouping RCMD-SHOW-LDP-RLFA-LOG { + description + "LDP RLFA Logs information"; + leaf log-time { + type string; + description + "Event Time (eg: Apr 24 13:16:04.961)"; + } + leaf label-coverage-state { + type Rcmd-show-ldp-conv-state; + description + "Label Coverage State"; + } + leaf route-count { + type uint32; + description + "Total Route Count"; + } + leaf remote-label-count { + type uint32; + description + "Remote Label Count"; + } + } + + grouping RCMD-SHOW-LDP-RLFA-PQ-NODE { + description + "LDP Remote Lfa Remote Node information"; + leaf remote-node-id { + type inet:ipv4-address; + description + "Remote Node ID"; + } + leaf lsr-id { + type inet:ipv4-address; + description + "Label Space Router ID"; + } + leaf transport-address { + type inet:ipv4-address; + description + "Transport Address"; + } + leaf in-use-time { + type string; + description + "Inuse time of the Session"; + } + leaf session-state { + type Rcmd-show-ldp-session-state; + description + "Session State"; + } + leaf route-count { + type uint32; + description + "Total Route Count"; + } + leaf path-count { + type uint32; + description + "Total Path Count"; + } + leaf remote-label-count { + type uint32; + description + "Remote Label Count"; + } + leaf protected-route-count { + type uint32; + description + "Protected Route Count"; + } + leaf protected-path-count { + type uint32; + description + "Protected Path Count"; + } + } + + grouping RCMD-SHOW-LDP-RLFA-STAT { + description + "LDP RLFA Session Statistics information"; + leaf session-state { + type Rcmd-show-ldp-session-state; + description + "Session State"; + } + leaf session-count { + type uint32; + description + "LDP Session Count"; + } + leaf route-count { + type uint32; + description + "Total Route Count"; + } + leaf path-count { + type uint32; + description + "Total Path Count"; + } + leaf remote-label-count { + type uint32; + description + "Remote Label Count"; + } + leaf protected-route-count { + type uint32; + description + "Protected Route Count"; + } + leaf protected-path-count { + type uint32; + description + "Protected Path Count"; + } + } + + grouping RCMD-SHOW-LDP-RLFA-EVENT { + description + "LDP RLFA information"; + leaf event-id-xr { + type uint32; + description + "LDP-rLFA Event ID"; + } + leaf end-of-calculation-time { + type string; + description + "End of IGP LFA Calculation Time (eg: Apr 24 13 + :16:04.961)"; + } + leaf igp-protocol { + type Rcmd-protocol-id; + description + "IGP Protocol"; + } + leaf process-name { + type string; + description + "Process Name"; + } + leaf ipfrr-event-id { + type uint32; + description + "IGP IP-FRR Event ID (ref: + rcmd_show_ipfrr_event_info(EventID))"; + } + leaf below-threshold { + type boolean; + description + "Coverage Below Threshold"; + } + list session-statistic { + description + "RLFA Statistics categorized by session state"; + uses RCMD-SHOW-LDP-RLFA-STAT; + } + list remote-node { + description + "Remote Node Information"; + uses RCMD-SHOW-LDP-RLFA-PQ-NODE; + } + list logs { + description + "Logs Information"; + uses RCMD-SHOW-LDP-RLFA-LOG; + } + } + + grouping RCMD-SHOW-LDP-SESSION-EVENT { + description + "LDP Session Event"; + leaf event-id-xr { + type uint32; + description + "Event ID"; + } + leaf event-type { + type Rcmd-ldp-event; + description + "Type of event"; + } + leaf event-time { + type string; + description + "Event Time"; + } + leaf lsr-id { + type inet:ipv4-address; + description + "Label Space Router ID"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf address { + type inet:ipv4-address; + description + "transport address or adjacency address"; + } + leaf state { + type Rcmd-show-ldp-neighbour-status; + description + "Adjacency Session Status"; + } + } + + grouping RCMD-SHOW-STRING-MEMORY-INFO { + description + "string memory Information"; + leaf size { + type uint32; + description + "Size of the block"; + } + leaf total { + type uint32; + description + "Total request"; + } + leaf success { + type uint32; + description + "Cache-hit success"; + } + leaf failure { + type uint32; + description + "Cache-hit failure"; + } + } + + grouping RCMD-SHOW-EDM-MEMORY-INFO { + description + "edm memory Information"; + leaf size { + type uint32; + description + "Size of the block"; + } + leaf total { + type uint32; + description + "Total request"; + } + leaf success { + type uint32; + description + "Cache-hit success"; + } + leaf failure { + type uint32; + description + "Cache-hit failure"; + } + } + + grouping RCMD-SHOW-MEMORY-INFO { + description + "memory Information"; + leaf structure-name { + type string; + description + "Structure Name"; + } + leaf size { + type uint32; + description + "Size of the datastructure"; + } + leaf current-count { + type uint32; + description + "Current Count"; + } + leaf alloc-fails { + type uint32; + description + "Allocation Fails"; + } + leaf alloc-count { + type uint32; + description + "Allocated count"; + } + leaf freed-count { + type uint32; + description + "Freed Count"; + } + leaf memory-type { + type Rcmd-show-mem; + description + "Memory Type"; + } + } + + grouping RCMD-SHOW-MEMORY { + description + "Memory Information"; + list memory-info { + description + "Memory Info"; + uses RCMD-SHOW-MEMORY-INFO; + } + list edm-memory-info { + description + "Memory Info"; + uses RCMD-SHOW-EDM-MEMORY-INFO; + } + list string-memory-info { + description + "Memory Info"; + uses RCMD-SHOW-STRING-MEMORY-INFO; + } + } + + grouping RCMD-REGEN-LSP-INFO { + description + "Regenerated LSP information"; + leaf serial-number-xr { + type uint32; + description + "Serial Number of the session event"; + } + leaf lsp-id { + type string; + description + "LSP ID"; + } + leaf sequence-number { + type uint32; + description + "Sequence Number"; + } + leaf reception-time { + type string; + description + "Reception Time on router (in hh:mm:ss.msec)"; + } + leaf isis-level { + type Rcmd-isis-lvl; + description + "ISIS Level"; + } + leaf spf-run-number { + type uint32; + description + "SPF Run Number"; + } + leaf reason { + type string; + description + "Trigger reasons for LSP regeneration. Example: + pr^ - periodic, cr^ - clear (Check the + documentation for the entire list)"; + } + } + + grouping RCMD-LSP-INFO { + description + "LSP information"; + leaf lsp-id { + type string; + description + "LSP ID"; + } + leaf sequence-number { + type uint32; + description + "Sequence Number"; + } + leaf change-type { + type Rcmd-ls-change; + description + "Add, Delete, Modify"; + } + leaf reception-time { + type string; + description + "Reception Time on router (in hh:mm:ss.msec)"; + } + } + + grouping RCMD-ISIS-SPF-RUN-SUMMARY { + description + "SPF summary information"; + leaf topology { + type uint32; + description + "Topology index (multi-topology)"; + } + leaf isis-level { + type Rcmd-isis-lvl; + description + "ISIS Level"; + } + leaf type { + type Rcmd-isis-spf; + description + "Type of SPF"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + leaf state { + type Rcmd-spf-state; + description + "SPF state"; + } + leaf is-data-complete { + type boolean; + description + "Whether the event has all information"; + } + leaf trigger-time { + type string; + description + "Trigger time (in hh:mm:ss.msec)"; + } + leaf duration { + type string; + description + "Duration of SPF calculation (in ss.msec)"; + } + leaf total-lsp-changes { + type uint16; + description + "Total number of LSP changes processed"; + } + list priority-summary { + description + "Convergence information summary on per-priority + basis"; + uses RCMD-PRIORITY-SUMMARY; + } + } + + grouping RCMD-ISIS-SPF-RUN { + description + "ISIS SPF run information"; + container spf-summary { + description + "SPF summary information"; + uses RCMD-ISIS-SPF-RUN-SUMMARY; + } + container node-statistics { + description + "SPF Node statistics"; + uses RCMD-STAT; + } + leaf start-time { + type string; + description + "Start time (offset from event trigger time in ss + .msec)"; + } + leaf wait-time { + type uint32; + description + "Wait time applied at SPF schedule (in msec)"; + } + leaf reason { + type string; + description + "Trigger reasons for SPF run. Example: pr^ - + periodic, cr^ - clear (Check the documentation + for the entire list)"; + } + list trigger-lsp { + description + "Trigger LSP"; + uses RCMD-LSP-INFO; + } + list priority { + description + "Convergence information on per-priority basis"; + uses RCMD-PRIORITY; + } + list lsp-processed { + description + "List of LSP changes processed"; + uses RCMD-LSP-INFO; + } + list lsp-regenerated { + description + "List of LSP regenerated"; + uses RCMD-REGEN-LSP-INFO; + } + } + + grouping RCMD-SHOW-NODE-INFO { + description + "Node Information"; + leaf node-id { + type uint32; + description + "Node Id"; + } + leaf node-name { + type string; + description + "Node Name"; + } + leaf rack-id { + type uint32; + description + "Rack Id"; + } + leaf last-update-time { + type string; + description + "Last Updated Time"; + } + leaf fwd-referenced { + type Rcmd-bool-yes-no; + description + "Forward Referenced"; + } + leaf node-type { + type Rcmd-show-node; + description + "Node Type"; + } + leaf software-state { + type uint32; + description + "Software State"; + } + leaf card-state { + type uint32; + description + "Card State"; + } + leaf node-state { + type Rcmd-bool-yes-no; + description + "Node State"; + } + leaf status { + type Rcmd-bag-enbl-dsbl; + description + "Status"; + } + leaf diag-mode { + type uint32; + description + "Diag Mode"; + } + leaf redundancy-state { + type uint32; + description + "Redundancy State"; + } + } + + grouping RCMD-SHOW-NODE { + description + "Node Information"; + list node-information { + description + "Node Info"; + uses RCMD-SHOW-NODE-INFO; + } + } + + grouping RCMD-SHOW-LTRACE { + description + "Trace Information"; + leaf trace-name { + type string; + description + "Configured Hostname"; + } + leaf total-stats { + type uint32; + description + "Server Total Status"; + } + leaf last-run-stats { + type uint32; + description + "Server Last Run Status"; + } + leaf error-stats { + type uint32; + description + "Server Error Status"; + } + } + + grouping RCMD-SHOW-SERVER-DETAIL { + description + "RCMD server detailed information"; + leaf overload-suspend { + type uint32; + description + "Overload suspend"; + } + leaf memory-suspend { + type uint32; + description + "Memory Suspend"; + } + list trace-information { + description + "Trace Information"; + uses RCMD-SHOW-LTRACE; + } + } + + grouping RCMD-SHOW-CFG-PROTO-PRIO { + description + "Priority Level Configuration"; + leaf priority-name { + type Rcmd-priority-level; + description + "Priority Level"; + } + leaf threshold { + type uint32; + description + "threshold value"; + } + leaf disable { + type Rcmd-bool-yes-no; + description + "Enable/Disable cfg"; + } + } + + grouping RCMD-SHOW-CFG-PROTO { + description + "Protocol Configuration"; + leaf protocol-name { + type string; + description + "Protocol Name"; + } + list priority { + description + "Priority level configuration"; + uses RCMD-SHOW-CFG-PROTO-PRIO; + } + } + + grouping RCMD-SHOW-SERVER { + description + "RCMD Server Information"; + leaf host-name { + type string; + description + "Configured Hostname"; + } + leaf status { + type Rcmd-bag-enable-disable; + description + "Server Status"; + } + leaf max-events { + type uint32; + description + "Maximum Events"; + } + leaf event-buffer-size { + type uint32; + description + "Event Buffer Size"; + } + leaf monitoring-interval { + type uint32; + description + "Configured Monitor Interval"; + } + leaf next-interval { + type uint32; + description + "Time for next processing"; + } + leaf max-interface-count { + type uint32; + description + "Max Interface events count"; + } + leaf interface-count { + type uint32; + description + "Interface events count"; + } + leaf node-rp-count { + type uint32; + description + "RP count"; + } + leaf node-lc-count { + type uint32; + description + "LC count"; + } + leaf diag-node-count { + type uint32; + description + "Diag Node count"; + } + leaf disabled-node-count { + type uint32; + description + "Disabled Node count"; + } + leaf in-active-node-count { + type uint32; + description + "Disabled Node count"; + } + leaf last-process-start-time { + type string; + description + "Last Processing Start Time"; + } + leaf last-process-duration { + type string; + description + "Last Processing Duration"; + } + leaf last-process-state { + type Rcmd-show-prcs-state; + description + "Process state"; + } + leaf process-count { + type uint32; + description + "Post Processing count"; + } + leaf spf-process-count { + type uint32; + description + "SPF Processing count"; + } + leaf reports-archive-path { + type string; + description + "Reports Archival Path"; + } + leaf reports-archive-node { + type string; + description + "Reports Archival Node (Applicable for local + location)"; + } + leaf last-archival-status { + type string; + description + "Last Archival Status"; + } + leaf last-archival-error { + type string; + description + "Last Archival Error"; + } + leaf last-archival-error-time { + type string; + description + "Last Archival Status"; + } + leaf archive-count { + type uint32; + description + "Archive Count"; + } + leaf diagnostics-archive-path { + type string; + description + "Diagnostics Archival Path"; + } + leaf diagnostics-archive-node { + type string; + description + "Diagnostics Archival Node (Applicable for local + location)"; + } + list protocol-config { + description + "Protocol level configuration"; + uses RCMD-SHOW-CFG-PROTO; + } + list server-detail { + description + "Detailed Information"; + uses RCMD-SHOW-SERVER-DETAIL; + } + } + + grouping RCMD-SHOW-TYPE357-STATS-INFO { + description + "prefix statistics information"; + leaf inter-area-routes { + type uint32; + description + "Total Inter-Area Routes"; + } + leaf inter-area-added { + type uint32; + description + "Total IA Routes Added"; + } + leaf inter-area-modified { + type uint32; + description + "Total IA Routes Modified"; + } + leaf inter-area-deleted { + type uint32; + description + "Total IA Routes Deleted"; + } + leaf inter-area-critical { + type uint32; + description + "Total IA Routes Critical"; + } + leaf inter-area-high { + type uint32; + description + "Total IA Routes High"; + } + leaf inter-area-medium { + type uint32; + description + "Total IA Routes Medium"; + } + leaf inter-area-low { + type uint32; + description + "Total IA Routes Low"; + } + leaf external-routes { + type uint32; + description + "Total External Routes"; + } + leaf external-added { + type uint32; + description + "Total Ext Routes Added"; + } + leaf external-modified { + type uint32; + description + "Total Ext Routes Modified"; + } + leaf external-deleted { + type uint32; + description + "Total Ext Routes Deleted"; + } + leaf external-critical { + type uint32; + description + "Total Ext Routes Critical"; + } + leaf external-high { + type uint32; + description + "Total Ext Routes High"; + } + leaf external-medium { + type uint32; + description + "Total Ext Routes Medium"; + } + leaf external-low { + type uint32; + description + "Total Ext Routes Low"; + } + } + + grouping RCMD-SHOW-PREFIX-LC-INFO { + description + "Linecard timeline details"; + leaf node-name { + type string; + description + "Linecard node name"; + } + leaf speed { + type Rcmd-linecard-speed; + description + "Relative convergence speed"; + } + leaf fib-complete { + type string; + description + "Completion point of FIB"; + } + } + + grouping RCMD-SHOW-PREFIX-TIMELINE { + description + "Timeline information details at each component + level"; + leaf route-origin { + type string; + description + "Route origin (routing protocol)"; + } + leaf ri-bv4-enter { + type string; + description + "Entry point of IPv4 RIB"; + } + leaf ri-bv4-exit { + type string; + description + "Exit point from IPv4 RIB to FIBs"; + } + leaf ri-bv4-redistribute { + type string; + description + "Route Redistribute point from IPv4 RIB to LDP"; + } + leaf ldp-enter { + type string; + description + "Entry point of LDP"; + } + leaf ldp-exit { + type string; + description + "Exit point of LDP to LSD"; + } + leaf lsd-enter { + type string; + description + "Entry point of LSD"; + } + leaf lsd-exit { + type string; + description + "Exit point of LSD to FIBs"; + } + list lc-ip { + description + "List of Linecards' completion point for IP + routes"; + uses RCMD-SHOW-PREFIX-LC-INFO; + } + list lc-mpls { + description + "List of Linecards' completion point for MPLS + labels"; + uses RCMD-SHOW-PREFIX-LC-INFO; + } + } + + grouping RCMD-SHOW-IPFRR-LFA-PATH { + description + "IP Frr Path information"; + leaf lfa-type { + type Rcmd-show-ipfrr-lfa; + description + "Type of LFA"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf neighbour-address { + type inet:ipv4-address; + description + "Nexthop Address"; + } + leaf change-type { + type Rcmd-change; + description + "Event Add/Delete"; + } + leaf path-metric { + type uint32; + description + "Path Metric"; + } + leaf remote-node-id { + type inet:ipv4-address; + description + "Remote Node ID, in case of Remote LFA"; + } + } + + grouping RCMD-SHOW-PREFIX-PATH { + description + "Prefix Path information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf neighbour-address { + type inet:ipv4-address; + description + "Nexthop Address"; + } + leaf change-type { + type Rcmd-change; + description + "Event Add/Delete"; + } + leaf path-metric { + type uint32; + description + "Path Metric"; + } + list lfa-path { + description + "Backup Path Informatoin"; + uses RCMD-SHOW-IPFRR-LFA-PATH; + } + } + + grouping RCMD-SHOW-PREFIX-EVENT { + description + "Event information"; + container ip-convergence-time { + description + "Convergence time for IP route programming"; + uses RCMD-TIMESTAMP; + } + container mpls-convergence-time { + description + "Convergence time for MPLS label programming"; + uses RCMD-TIMESTAMP; + } + leaf prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf prefix-lenth { + type uint32; + description + "Prefix length"; + } + leaf spf-run-no { + type uint32; + description + "Referenced SPF Run No (0 - Not Applicable)"; + } + leaf ipfrr-event-id { + type uint32; + description + "Referenced IP-FRR Event ID (0 - Not Applicable)"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + leaf priority { + type Rcmd-priority-level; + description + "Event processed priority"; + } + leaf change-type { + type Rcmd-change; + description + "Event Add/Delete"; + } + leaf route-type { + type Rcmd-show-route; + description + "Route Type intra/inter/l1/l2"; + } + leaf route-path-change-type { + type Rcmd-show-route-path-change; + description + "Route Path Change Type"; + } + leaf cost { + type uint32; + description + "Protocol route cost"; + } + leaf trigger-time { + type string; + description + "Event trigger time"; + } + list path { + description + "Path information"; + uses RCMD-SHOW-PREFIX-PATH; + } + list trigger-lsa { + description + "LSA that triggered this event"; + uses RCMD-LSA-INFO; + } + list time-line { + description + "Timeline information"; + uses RCMD-SHOW-PREFIX-TIMELINE; + } + list lsa-processed { + description + "List of LSAs processed"; + uses RCMD-LSA-INFO; + } + } + + grouping RCMD-IAEXT-PRIORITY-SUMMARY { + description + "Priority Summary for Inter-area & external + calculation"; + container route-statistics { + description + "Route statistics"; + uses RCMD-STAT; + } + container ip-convergence-time { + description + "Convergence time for IP route programming"; + uses RCMD-TIMESTAMP; + } + container mpls-convergence-time { + description + "Convergence time for MPLS label programming"; + uses RCMD-TIMESTAMP; + } + leaf level { + type Rcmd-priority-level; + description + "Critical, High, Medium or Low"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + leaf type3ls-as { + type uint32; + description + "Number of Type 3 LSA"; + } + leaf type4ls-as { + type uint32; + description + "Number of Type 4 LSA"; + } + leaf type57ls-as { + type uint32; + description + "Number of Type 5/7 LSA"; + } + } + + grouping RCMD-IAEXT-PRIORITY { + description + "Convergence information for a priority in + Inter-area and external calculation"; + container priority-summary { + description + "Summary of the priority"; + uses RCMD-IAEXT-PRIORITY-SUMMARY; + } + list convergence-timeline { + description + "Convergence timeline details"; + uses RCMD-TIMELINE; + } + list leaf-networks-added { + description + "List of Leaf Networks Added"; + uses RCMD-NETWORK; + } + list leaf-networks-deleted { + description + "List of Leaf Networks Deleted"; + uses RCMD-NETWORK; + } + } + + grouping RCMD-OSPF-IAEXT-INFO { + description + "Inter-area & external calculation information"; + list priority { + description + "Convergence information on a per-priority basis"; + uses RCMD-IAEXT-PRIORITY; + } + } + + grouping RCMD-NETWORK { + description + "Network"; + leaf address { + type inet:ipv4-address; + description + "IP address"; + } + leaf net-mask { + type uint8; + description + "Mask"; + } + } + + grouping RCMD-LC-INFO { + description + "Linecard timeline details"; + container fib-complete { + description + "Completion point of FIB"; + uses RCMD-TIME; + } + leaf node-name { + type string; + description + "Linecard node name"; + } + leaf speed { + type Rcmd-linecard-speed; + description + "Relative convergence speed"; + } + } + + grouping RCMD-TIME { + description + "The timestamps for each module"; + leaf start-time { + type string; + description + "First route process time relative to event + trigger time (in ss.msec)"; + } + leaf end-time { + type string; + description + "Last route process time relative to event + trigger time (in ss.msec)"; + } + leaf duration { + type string; + description + "Duration of processing (in ss.msec)"; + } + } + + grouping RCMD-TIMELINE { + description + "Timeline information details at each component + level"; + container route-origin { + description + "Route origin (routing protocol)"; + uses RCMD-TIME; + } + container ri-bv4-enter { + description + "Entry point of IPv4 RIB"; + uses RCMD-TIME; + } + container ri-bv4-exit { + description + "Exit point from IPv4 RIB to FIBs"; + uses RCMD-TIME; + } + container ri-bv4-redistribute { + description + "Route Redistribute point from IPv4 RIB to LDP"; + uses RCMD-TIME; + } + container ldp-enter { + description + "Entry point of LDP"; + uses RCMD-TIME; + } + container ldp-exit { + description + "Exit point of LDP to LSD"; + uses RCMD-TIME; + } + container lsd-enter { + description + "Entry point of LSD"; + uses RCMD-TIME; + } + container lsd-exit { + description + "Exit point of LSD to FIBs"; + uses RCMD-TIME; + } + list lc-ip { + description + "List of Linecards' completion point for IP + routes"; + uses RCMD-LC-INFO; + } + list lc-mpls { + description + "List of Linecards' completion point for MPLS + labels"; + uses RCMD-LC-INFO; + } + } + + grouping RCMD-PRIORITY { + description + "Convergence information for a priority"; + container priority-summary { + description + "Summary of the priority"; + uses RCMD-PRIORITY-SUMMARY; + } + list convergence-timeline { + description + "Convergence timeline details"; + uses RCMD-TIMELINE; + } + list leaf-networks-added { + description + "List of Leaf Networks Added"; + uses RCMD-NETWORK; + } + list leaf-networks-deleted { + description + "List of Leaf Networks Deleted"; + uses RCMD-NETWORK; + } + } + + grouping RCMD-LSA-INFO { + description + "LSA information"; + leaf lsa-id { + type inet:ipv4-address; + description + "LSA ID"; + } + leaf sequence-number { + type string; + description + "Sequence Number"; + } + leaf lsa-type { + type Rcmd-lsa; + description + "LSA type"; + } + leaf origin-router-id { + type inet:ipv4-address; + description + "Originating Router ID"; + } + leaf change-type { + type Rcmd-ls-change; + description + "Add, Delete, Modify"; + } + leaf reception-time { + type string; + description + "Reception Time on router (in hh:mm:ss.msec)"; + } + } + + grouping RCMD-OSPF-SPT-INFO { + description + "Dijkstra run information"; + leaf dijkstra-run-number { + type uint32; + description + "Area Dijkstra run number"; + } + leaf area-id { + type inet:ipv4-address; + description + "Area ID"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + leaf trigger-time { + type string; + description + "Trigger time (in hh:mm:ss.msec)"; + } + leaf start-time { + type string; + description + "Start time (offset from event trigger time in ss + .msec)"; + } + leaf wait-time { + type uint32; + description + "Wait time (offset from event trigger time in ss + .msec)"; + } + leaf duration { + type string; + description + "Duration of Dijktra calculation (in ss.msec)"; + } + list trigger-lsa { + description + "LSA that triggered the Dijkstra run"; + uses RCMD-LSA-INFO; + } + list priority { + description + "Convergence information on per-priority basis"; + uses RCMD-PRIORITY; + } + list lsa-processed { + description + "List of type 1/2 LSA changes processed"; + uses RCMD-LSA-INFO; + } + } + + grouping RCMD-TIMESTAMP { + description + "Time range"; + leaf minimum-time { + type string; + units "millisecond"; + description + "Minimum time(in seconds.milliseconds)"; + } + leaf maximum-time { + type string; + units "millisecond"; + description + "Maximum time(in seconds.milliseconds)"; + } + leaf slowest-node-name { + type string; + description + "Linecard node name which took the maximum time"; + } + leaf fastest-node-name { + type string; + description + "Linecard node name which took the minimum time"; + } + } + + grouping RCMD-SHOW-FRR-STAT { + description + "Priority Summary for Frr Statistics"; + leaf total-routes { + type uint32; + description + "Total Number of Routes"; + } + leaf fully-protected-routes { + type uint32; + description + "Fully Protected Routes"; + } + leaf partially-protected-routes { + type uint32; + description + "Partially Protected Routes"; + } + leaf coverage { + type string; + units "percentage"; + description + "Coverage in percentage"; + } + } + + grouping RCMD-STAT { + description + "Statistics"; + leaf adds { + type uint32; + description + "Added"; + } + leaf deletes { + type uint32; + description + "Deleted"; + } + leaf modifies { + type uint32; + description + "Modified"; + } + leaf reachables { + type uint32; + description + "Reachable"; + } + leaf unreachables { + type uint32; + description + "Unreachable"; + } + leaf touches { + type uint32; + description + "Touched"; + } + } + + grouping RCMD-PRIORITY-SUMMARY { + description + "Summary of convergence information for a priority"; + container route-statistics { + description + "Route statistics"; + uses RCMD-STAT; + } + container ip-convergence-time { + description + "Convergence time for IP route programming"; + uses RCMD-TIMESTAMP; + } + container mpls-convergence-time { + description + "Convergence time for MPLS label programming"; + uses RCMD-TIMESTAMP; + } + leaf level { + type Rcmd-priority-level; + description + "Critical, High, Medium or Low"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + list frr-statistic { + description + "Fast Re-Route Statistics"; + uses RCMD-SHOW-FRR-STAT; + } + } + + grouping RCMD-OSPF-SPF-RUN-SUMMARY { + description + "SPF summary information"; + leaf state { + type Rcmd-spf-state; + description + "SPF state"; + } + leaf is-data-complete { + type boolean; + description + "Whether the event has all information"; + } + leaf threshold-exceeded { + type boolean; + description + "Threshold exceeded"; + } + leaf trigger-time { + type string; + description + "Trigger time (in hh:mm:ss.msec)"; + } + leaf start-time { + type string; + description + "Start time (offset from event trigger time in ss + .msec)"; + } + leaf duration { + type string; + description + "Duration of complete SPF calculation (in ss + .msec)"; + } + leaf total-dijkstra-runs { + type uint16; + description + "Total number of Dijkstra runs"; + } + leaf total-inter-area-and-external-batches { + type uint16; + description + "Total number of inter-area/external computation + batches"; + } + leaf total-type12lsa-changes { + type uint16; + description + "Total number of Type 1/2 LSA changes processed"; + } + leaf total-type357lsa-changes { + type uint16; + description + "Total number of Type 3/5/7 LSA changes processed"; + } + list priority-summary { + description + "Convergence information summary on per-priority + basis"; + uses RCMD-PRIORITY-SUMMARY; + } + } + + grouping RCMD-OSPF-SPF-RUN { + description + "SPF run information"; + container spf-summary { + description + "SPF summary information"; + uses RCMD-OSPF-SPF-RUN-SUMMARY; + } + list dijkstra-run { + description + "List of Dijkstra runs"; + uses RCMD-OSPF-SPT-INFO; + } + list inter-area-and-external { + description + "Inter-area & external calculation information"; + uses RCMD-OSPF-IAEXT-INFO; + } + } + + grouping RCMD-SHOW-PREFIX-INFO { + description + "prefix statistics information"; + leaf prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf prefix-lenth { + type uint32; + description + "Prefix length"; + } + leaf last-event-time { + type string; + description + "Last event trigger time"; + } + leaf last-priority { + type Rcmd-priority-level; + description + "Last event processed priority"; + } + leaf last-route-type { + type Rcmd-show-route; + description + "Last event Route Type"; + } + leaf last-change-type { + type Rcmd-change; + description + "Last event Add/Delete"; + } + leaf last-cost { + type uint32; + description + "Last Known Cost"; + } + leaf critical-priority { + type uint32; + description + "No. of times processed under Critical Priority"; + } + leaf high-priority { + type uint32; + description + "No. of times processed under High Priority"; + } + leaf medium-priority { + type uint32; + description + "No. of times processed under Medium Priority"; + } + leaf low-priority { + type uint32; + description + "No. of times processed under Low Priority"; + } + leaf add-count { + type uint32; + description + "No. of times route gets Added"; + } + leaf modify-count { + type uint32; + description + "No. of times route gets Deleted"; + } + leaf delete-count { + type uint32; + description + "No. of times route gets Deleted"; + } + leaf threshold-exceed-count { + type uint32; + description + "No. of times threshold got exceeded"; + } + } + + grouping RCMD-SHOW-IPFRR-PATH { + description + "IP-Frr Remote Node Primary Path information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf neighbour-address { + type inet:ipv4-address; + description + "Nexthop Address"; + } + } + + grouping RCMD-SHOW-IPFRR-RLFA-PQ-NODE { + description + "IP-Frr Remote Node information"; + leaf remote-node-id { + type inet:ipv4-address; + description + "Remote-LFA Node ID"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf neighbour-address { + type inet:ipv4-address; + description + "Nexthop Address"; + } + leaf path-count { + type uint32; + description + "Number of paths protected by this Remote Node"; + } + leaf in-use-time { + type string; + description + "Inuse time of the Remote Node (eg: Apr 24 13:16 + :04.961)"; + } + list primary-path { + description + "Protected Primary Paths"; + uses RCMD-SHOW-IPFRR-PATH; + } + } + + grouping RCMD-SHOW-IPFRR-STATS { + description + "IP-Frr statistics information"; + leaf priority { + type Rcmd-priority-level; + description + "Priority"; + } + leaf total-routes { + type uint32; + description + "Total Number of Routes"; + } + leaf fully-protected-routes { + type uint32; + description + "Fully Protected Routes"; + } + leaf partially-protected-routes { + type uint32; + description + "Partially Protected Routes"; + } + leaf coverage { + type string; + units "percentage"; + description + "Coverage in percentage"; + } + leaf local-lfa-coverage { + type string; + units "percentage"; + description + "Local LFA Coverage in percentage"; + } + leaf remote-lfa-coverage { + type string; + units "percentage"; + description + "Remote LFA Coverage in percentage"; + } + leaf below-threshold { + type boolean; + description + "Covearge is below Configured Threshold"; + } + } + + grouping RCMD-SHOW-IPFRR-EVENT-INFO { + description + "IP-Frr Run information"; + leaf event-id-xr { + type uint32; + description + "IP-Frr Event ID"; + } + leaf trigger-time { + type string; + description + "Trigger time (eg: Apr 24 13:16:04.961)"; + } + leaf trigger-spf-run { + type uint32; + description + "IP-Frr Triggered reference SPF Run Number"; + } + leaf wait-time { + type uint32; + units "millisecond"; + description + "Waiting Time (in milliseconds)"; + } + leaf start-time-offset { + type string; + units "millisecond"; + description + "Start Time offset from trigger time (in + milliseconds)"; + } + leaf duration { + type string; + units "millisecond"; + description + "Duration for the calculation (in milliseconds)"; + } + leaf completed-spf-run { + type uint32; + description + "IP-Frr Completed reference SPF Run Number"; + } + leaf total-routes { + type uint32; + description + "Cumulative Number of Routes for all priorities"; + } + leaf fully-protected-routes { + type uint32; + description + "Cumulative Number of Fully Protected Routes"; + } + leaf partially-protected-routes { + type uint32; + description + "Cumulative Number of Partially Protected Routes"; + } + leaf coverage { + type string; + units "percentage"; + description + "Coverage in percentage for all priorities"; + } + list ipfrr-statistic { + description + "IP-Frr Statistics categorized by priority"; + uses RCMD-SHOW-IPFRR-STATS; + } + list remote-node { + description + "Remote Node Information"; + uses RCMD-SHOW-IPFRR-RLFA-PQ-NODE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper.yang new file mode 100644 index 0000000..8f35a41 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rcmd-oper.yang @@ -0,0 +1,504 @@ +module Cisco-IOS-XR-infra-rcmd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rcmd-oper"; + prefix infra-rcmd-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-rcmd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rcmd package operational data. + + This module contains definitions + for the following management objects: + rcmd: Show command for Route Convergence Monitoring & + Diagnostics + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container rcmd { + config false; + description + "Show command for Route Convergence Monitoring & + Diagnostics"; + container ospf { + description + "Operational data for OSPF"; + container instances { + description + "Operational data"; + list instance { + key "instance-name"; + description + "Operational data for a particular instance"; + container ipfrr-event-summaries { + description + "OSPF IP-FRR events summary data"; + list ipfrr-event-summary { + key "event-id"; + description + "IP-FRR Event data"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific IP-FRR Event"; + } + uses RCMD-SHOW-IPFRR-EVENT-INFO; + } + } + container prefix-event-statistics { + description + "OSPF Prefix events summary data"; + list prefix-event-statistic { + key "prefix-info"; + description + "Prefix Event statistics"; + leaf prefix-info { + type inet:ip-prefix; + description + "Events with Prefix"; + } + uses RCMD-SHOW-PREFIX-INFO; + } + } + container spf-run-summaries { + description + "OSPF SPF run summary data"; + list spf-run-summary { + key "spf-run-number"; + description + "SPF Event data"; + leaf spf-run-number { + type uint32 { + range "1..4294967295"; + } + description + "Specific SPF run"; + } + uses RCMD-OSPF-SPF-RUN; + } + } + container ipfrr-event-offlines { + description + "OSPF IP-FRR Event offline data"; + list ipfrr-event-offline { + key "event-id"; + description + "Offline operational data for particular OSPF + IP-FRR Event"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific IP-FRR Event"; + } + uses RCMD-SHOW-IPFRR-EVENT-INFO; + } + } + container spf-run-offlines { + description + "OSPF SPF run offline data"; + list spf-run-offline { + key "spf-run-number"; + description + "Offline operational data for particular OSPF + SPF run"; + leaf spf-run-number { + type uint32 { + range "1..4294967295"; + } + description + "Specific SPF run"; + } + uses RCMD-OSPF-SPF-RUN; + } + } + container summary-external-event-summaries { + description + "OSPF Summary-External Prefix events summary + data"; + list summary-external-event-summary { + key "event-id"; + description + "OSPF Summary-External Prefix Event data"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container prefix-event-summaries { + description + "OSPF Prefix events summary data"; + list prefix-event-summary { + key "event-id"; + description + "OSPF Prefix Event data"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container summary-external-event-offlines { + description + "OSPF Summary-External Prefix events offline + data"; + list summary-external-event-offline { + key "event-id"; + description + "Offline operational data for particular OSPF + Prefix Event"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container prefix-event-offlines { + description + "OSPF Prefix events offline data"; + list prefix-event-offline { + key "event-id"; + description + "Offline operational data for particular OSPF + Prefix Event"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container summary-external-event-statistics { + description + "Summary-External prefix monitoring statistics"; + uses RCMD-SHOW-TYPE357-STATS-INFO; + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Operational data for a particular instance"; + } + } + } + } + container server { + description + "Server Info"; + container normal { + description + "Server Info"; + uses RCMD-SHOW-SERVER; + } + container detail { + description + "Server Info"; + uses RCMD-SHOW-SERVER; + } + } + container node { + description + "Node Info"; + uses RCMD-SHOW-NODE; + } + container isis { + description + "Operational data for ISIS"; + container instances { + description + "Operational data"; + list instance { + key "instance-name"; + description + "Operational data for a particular instance"; + container ipfrr-event-summaries { + description + "ISIS IP-FRR events summary data"; + list ipfrr-event-summary { + key "event-id"; + description + "IP-FRR Event data"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific IP-FRR Event"; + } + uses RCMD-SHOW-IPFRR-EVENT-INFO; + } + } + container prefix-event-statistics { + description + "ISIS Prefix events statistics data"; + list prefix-event-statistic { + key "prefix-info"; + description + "Monitoring Statistics"; + leaf prefix-info { + type inet:ip-prefix; + description + "Events with Prefix"; + } + uses RCMD-SHOW-PREFIX-INFO; + } + } + container spf-run-summaries { + description + "ISIS SPF run summary data"; + list spf-run-summary { + key "spf-run-number"; + description + "SPF Event data"; + leaf spf-run-number { + type uint32 { + range "1..4294967295"; + } + description + "Specific SPF run"; + } + uses RCMD-ISIS-SPF-RUN; + } + } + container ipfrr-event-offlines { + description + "ISIS IP-FRR Event offline data"; + list ipfrr-event-offline { + key "event-id"; + description + "Offline operational data for particular ISIS + IP-FRR Event"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific IP-FRR Event"; + } + uses RCMD-SHOW-IPFRR-EVENT-INFO; + } + } + container spf-run-offlines { + description + "ISIS SPF run offline data"; + list spf-run-offline { + key "spf-run-number"; + description + "Offline operational data for particular ISIS + SPF run"; + leaf spf-run-number { + type uint32 { + range "1..4294967295"; + } + description + "Specific SPF run"; + } + uses RCMD-ISIS-SPF-RUN; + } + } + container prefix-event-summaries { + description + "ISIS Prefix events summary data"; + list prefix-event-summary { + key "event-id"; + description + "Prefix Event data"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container prefix-event-offlines { + description + "ISIS Prefix events offline data"; + list prefix-event-offline { + key "event-id"; + description + "Offline operational data for particular ISIS + Prefix Event"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-PREFIX-EVENT; + } + } + container lsp-regenerateds { + description + "Regenerated LSP data"; + list lsp-regenerated { + key "serial-number"; + description + "Regenerated LSP data"; + leaf serial-number { + type uint32 { + range "1..4294967295"; + } + description + "Data for a particular regenerated LSP"; + } + uses RCMD-REGEN-LSP-INFO; + } + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Operational data for a particular instance"; + } + } + } + } + container memory { + description + "Memory Info"; + uses RCMD-SHOW-MEMORY; + } + container ldp { + description + "LDP data"; + container sessions { + description + "Session Events"; + list session { + key "event-id"; + description + "Session"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-LDP-SESSION-EVENT; + } + } + container remote-lfa-s { + description + "Remote LFA Coverage Events"; + list remote-lfa { + key "event-id"; + description + "RemoteLFA"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-LDP-RLFA-EVENT; + } + } + container remote-lfa-summaries { + description + "Remote LFA Coverage Events"; + list remote-lfa-summary { + key "event-id"; + description + "Summary operational data for Remote LFA"; + leaf event-id { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event ID"; + } + uses RCMD-SHOW-LDP-RLFA-EVENT; + } + } + } + container intf { + description + "Interface data"; + container events { + description + "Events"; + list event { + key "event-no"; + description + "Events"; + leaf event-no { + type uint32 { + range "1..4294967295"; + } + description + "Specific Event No."; + } + uses RCMD-SHOW-INTF-EVENT; + } + } + } + container process { + description + "Process information"; + container isis { + description + "ISIS Process Information"; + uses RCMD-SHOW-PROCESS; + } + container ospf { + description + "OSPF Process Information"; + uses RCMD-SHOW-PROCESS; + } + container ldp { + description + "LDP Process Information"; + uses RCMD-SHOW-PROCESS; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper-sub1.yang new file mode 100644 index 0000000..548779f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper-sub1.yang @@ -0,0 +1,129 @@ +submodule Cisco-IOS-XR-infra-rmf-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-rmf-oper { + prefix Cisco-IOS-XR-infra-rmf-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-rmf package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping RED-SUMMARY { + description + "rmf show"; + leaf err-log { + type string; + description + "Error Log"; + } + list red-pair { + description + "Redundancy Pair"; + uses RED-SUMMARY-PAIR; + } + } + + grouping RED-GROUP-INFO { + description + "RED GROUP INFO"; + leaf active { + type string; + description + "Active"; + } + leaf standby { + type string; + description + "Standby"; + } + leaf ha-state { + type string; + description + "HAState"; + } + leaf nsr-state { + type string; + description + "NSRState"; + } + } + + grouping RED-SUMMARY-PAIR { + description + "rmf row show"; + leaf active { + type string; + description + "Active node name R/S/I"; + } + leaf standby { + type string; + description + "Standby node name R/S/I"; + } + leaf ha-state { + type string; + description + "High Availability state Ready/Not Ready"; + } + leaf nsr-state { + type string; + description + "NSR state Configured/Not Configured"; + } + list groupinfo { + description + "groupinfo"; + uses RED-GROUP-INFO; + } + } + + grouping RED-NODE-INFO { + description + "Node Information"; + container redundancy { + description + "Row information"; + uses RED-SUMMARY-PAIR; + } + leaf log { + type string; + description + "Reload and boot logs"; + } + leaf active-reboot-reason { + type string; + description + "Active node reload"; + } + leaf standby-reboot-reason { + type string; + description + "Standby node reload"; + } + leaf err-log { + type string; + description + "Error Log"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper.yang new file mode 100644 index 0000000..4034468 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rmf-oper.yang @@ -0,0 +1,65 @@ +module Cisco-IOS-XR-infra-rmf-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rmf-oper"; + prefix infra-rmf-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-rmf-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rmf package operational data. + + This module contains definitions + for the following management objects: + redundancy: Redundancy show information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container redundancy { + config false; + description + "Redundancy show information"; + container nodes { + description + "Location show information"; + list node { + key "node-id"; + description + "Redundancy Node Information"; + leaf node-id { + type xr:Node-id; + description + "Node Location"; + } + uses RED-NODE-INFO; + } + } + container summary { + description + "Redundancy Summary of Nodes"; + uses RED-SUMMARY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-cfg.yang new file mode 100644 index 0000000..7d9b9fc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-cfg.yang @@ -0,0 +1,612 @@ +module Cisco-IOS-XR-infra-rsi-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg"; + prefix infra-rsi-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rsi package configuration. + + This module contains definitions + for the following management objects: + vrfs: VRF configuration + global-af: global af + srlg: srlg + vrf-groups: vrf groups + selective-vrf-download: selective vrf download + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-snmp-agent-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Vrf-sub-address-family { + type enumeration { + enum "unicast" { + value 1; + description + "Unicast"; + } + enum "multicast" { + value 2; + description + "Multicast"; + } + enum "flow-spec" { + value 133; + description + "Flow spec"; + } + } + description + "Vrf sub address family"; + } + + typedef Vrf-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Vrf address family"; + } + + typedef Srlg-priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical"; + } + enum "high" { + value 1; + description + "High"; + } + enum "default" { + value 2; + description + "Default"; + } + enum "low" { + value 3; + description + "Low"; + } + enum "very-low" { + value 4; + description + "Very low"; + } + } + description + "Srlg priority"; + } + + grouping AF-TABLE { + description + "Common node of vrf, global-af"; + container afs { + description + "VRF address family configuration"; + list af { + key "af-name saf-name topology-name"; + description + "VRF address family configuration"; + leaf create { + type empty; + description + "VRF configuration for a particular address + family"; + } + leaf af-name { + type Vrf-address-family; + description + "Address family"; + } + leaf saf-name { + type Vrf-sub-address-family; + description + "Sub-Address family"; + } + leaf topology-name { + type xr:Cisco-ios-xr-string { + length "1..244"; + } + description + "Topology name"; + } + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Assign the interface to a VRF"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container afs { + description + "Per-address-family and topology configuration"; + list af { + key "af-name saf-name"; + description + "The presence of this object enables the + givenaddress-family and topology on the + interface."; + leaf af-name { + type Vrf-address-family; + description + "Address-family"; + } + leaf saf-name { + type Vrf-sub-address-family; + description + "Sub-address-family"; + } + } + list af-topology-name { + key "topology-name af-name saf-name"; + description + "The presence of this object enables the + givenaddress-family and topology on the + interface."; + leaf topology-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Topology name"; + } + leaf af-name { + type Vrf-address-family; + description + "Address-family"; + } + leaf saf-name { + type Vrf-sub-address-family; + description + "Sub-address-family"; + } + } + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container selective-vrf-download { + description + "CISCO-SELECTIVE-VRF-DOWNLOAD-MIB notification + configuration"; + leaf role-change { + type empty; + description + "Enable csvdEntityRoleChangeNotification + notification"; + } + } + } + container vrfs { + description + "VRF configuration"; + list vrf { + key "vrf-name"; + description + "VRF configuration"; + container vpn-id { + presence "Indicates a vpn-id node is configured."; + description + "VPN-ID for the VRF"; + leaf vpn-oui { + type uint32 { + range "0..16777215"; + } + mandatory true; + description + "OUI of VPNID OUI"; + } + leaf vpn-index { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "Index of VPNID Index"; + } + } + leaf fallback-vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Fallback VRF"; + } + leaf remote-route-filter-disable { + type empty; + description + "For disabling remote route filtering for this + VRF on core-facing card"; + } + leaf create { + type empty; + description + "VRF global configuration"; + } + leaf mode-big { + type empty; + description + "Configuration enable of big VRF"; + } + leaf description { + type string { + length "1..244"; + } + description + "A textual description of the VRF"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + uses AF-TABLE; + } + } + container global-af { + description + "global af"; + uses AF-TABLE; + } + container srlg { + description + "srlg"; + container interfaces { + description + "Set of interfaces configured with SRLG"; + list interface { + key "interface-name"; + description + "Interface configurations"; + container include-optical { + description + "Include optical configuration for an interface"; + leaf enable { + type empty; + description + "Enable SRLG interface include optical"; + } + leaf priority { + type Srlg-priority; + default "default"; + description + "Priority for optical domain values"; + } + } + container interface-group { + description + "Group configuration for an interface"; + container group-names { + description + "Set of group name under an interface"; + list group-name { + key "group-name-index"; + description + "Group name included under interface"; + leaf group-name-index { + type uint32; + description + "Group name index"; + } + leaf group-name { + type string; + mandatory true; + description + "Group name"; + } + leaf srlg-priority { + type Srlg-priority; + default "default"; + description + "SRLG priority"; + } + } + } + leaf enable { + type empty; + description + "Enable SRLG interface group submode"; + } + } + container values { + description + "SRLG Value configuration for an interface"; + list value { + key "srlg-index"; + description + "SRLG value data"; + leaf srlg-index { + type uint32 { + range "1..65535"; + } + description + "SRLG index"; + } + leaf srlg-value { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "SRLG value"; + } + leaf srlg-priority { + type Srlg-priority; + default "default"; + description + "SRLG priority"; + } + } + } + container interface-srlg-names { + description + "SRLG Name configuration for an interface"; + list interface-srlg-name { + key "srlg-name"; + description + "SRLG name data"; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + } + } + leaf enable { + type empty; + description + "Enable SRLG interface"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + container srlg-names { + description + "Set of SRLG name configuration"; + list srlg-name { + key "srlg-name"; + description + "SRLG name configuration"; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + leaf srlg-value { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "SRLG value"; + } + } + } + container groups { + description + "Set of groups configured with SRLG"; + list group { + key "group-name"; + description + "Group configurations"; + container group-values { + description + "Set of SRLG values configured under a group"; + list group-value { + key "srlg-index"; + description + "Group SRLG values with attribute"; + leaf srlg-index { + type uint32 { + range "1..65535"; + } + description + "SRLG index"; + } + leaf srlg-value { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "SRLG value"; + } + leaf srlg-priority { + type Srlg-priority; + default "default"; + description + "SRLG priority"; + } + } + } + leaf enable { + type empty; + description + "Enable SRLG group"; + } + leaf group-name { + type xr:Cisco-ios-xr-string; + description + "Group name"; + } + } + } + container inherit-nodes { + description + "Set of inherit nodes configured with SRLG"; + list inherit-node { + key "inherit-node-name"; + description + "Inherit node configurations"; + container inherit-node-values { + description + "Set of SRLG values configured under an inherit + node"; + list inherit-node-value { + key "srlg-index"; + description + "Inherit node SRLG value with attributes"; + leaf srlg-index { + type uint32 { + range "1..65535"; + } + description + "SRLG index"; + } + leaf srlg-value { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "SRLG value"; + } + leaf srlg-priority { + type Srlg-priority; + default "default"; + description + "SRLG priority"; + } + } + } + leaf enable { + type empty; + description + "Enable SRLG inherit node"; + } + leaf inherit-node-name { + type xr:Pq-node-id; + description + "The inherit node name"; + } + } + } + leaf enable { + type empty; + description + "Enable SRLG"; + } + } + container vrf-groups { + description + "vrf groups"; + list vrf-group { + key "vrf-group-name"; + description + "VRF group configuration"; + container vrfs { + description + "Set of VRFs configured under a VRF group"; + list vrf { + key "vrf-name"; + description + "VRF configuration"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + leaf enable { + type empty; + description + "Enable VRF group"; + } + leaf vrf-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF group name"; + } + } + } + container selective-vrf-download { + description + "selective vrf download"; + leaf disable { + type empty; + description + "Disable selective VRF download"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub1.yang new file mode 100644 index 0000000..0b8d0f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub1.yang @@ -0,0 +1,54 @@ +submodule Cisco-IOS-XR-infra-rsi-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-rsi-oper { + prefix Cisco-IOS-XR-infra-rsi-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-rsi package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef String1 { + type string; + description + "String1"; + } + + grouping RSI-MASTER-STATE { + description + "RSI MASTER STATE"; + leaf is-svd-enabled { + type boolean; + description + "Is SVD Enabled Operational"; + } + leaf is-svd-enabled-cfg { + type boolean; + description + "Is SVD Enabled Config"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub2.yang new file mode 100644 index 0000000..aa751c3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper-sub2.yang @@ -0,0 +1,326 @@ +submodule Cisco-IOS-XR-infra-rsi-oper-sub2 { + belongs-to Cisco-IOS-XR-infra-rsi-oper { + prefix Cisco-IOS-XR-infra-rsi-oper; + } + + include Cisco-IOS-XR-infra-rsi-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-rsi package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Source { + type enumeration { + enum "configured" { + value 1; + description + "Configured"; + } + enum "from-group" { + value 2; + description + "From group"; + } + enum "inherited" { + value 4; + description + "Inherited"; + } + enum "from-optical" { + value 8; + description + "From optical"; + } + enum "configured-and-notified" { + value 17; + description + "Configured and notified"; + } + enum "from-group-and-notified" { + value 18; + description + "From group and notified"; + } + enum "inherited-and-notified" { + value 20; + description + "Inherited and notified"; + } + enum "from-optical-and-notified" { + value 24; + description + "From optical and notified"; + } + } + description + "Source"; + } + + typedef Priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical"; + } + enum "high" { + value 1; + description + "High"; + } + enum "medium" { + value 2; + description + "Medium"; + } + enum "low" { + value 3; + description + "Low"; + } + enum "very-low" { + value 4; + description + "Very low"; + } + } + description + "Priority"; + } + + grouping RSI-SRLG-NAME-INTF-SHOW { + description + "RSI SRLG NAME INTF SHOW"; + container interfaces { + description + "Interfaces information"; + uses RSI-SRLG-INTF-SHOW; + } + leaf srlg-name-xr { + type string; + description + "SRLG name"; + } + leaf srlg-value { + type uint32; + description + "SRLG value"; + } + } + + grouping RSI-SRLG-INTF-SHOW { + description + "RSI SRLG INTF SHOW"; + leaf-list interface-name { + type String1; + description + "Interface name"; + } + } + + grouping RSI-SRLG-ATTR-DETAIL { + description + "RSI SRLG ATTR DETAIL"; + leaf srlg-value { + type uint32; + description + "SRLG value"; + } + leaf priority { + type Priority; + description + "Priority"; + } + leaf source { + type Source; + description + "Source"; + } + leaf source-name { + type string; + description + "Source name"; + } + leaf srlg-index { + type uint16; + description + "Index"; + } + } + + grouping RSI-SRLG-INTF-DETAIL-SHOW { + description + "RSI SRLG INTF DETAIL SHOW"; + leaf groups { + type uint32; + description + "Groups"; + } + leaf nodes { + type uint32; + description + "Nodes"; + } + list srlg-attribute { + description + "SRLG attributes"; + uses RSI-SRLG-ATTR-DETAIL; + } + } + + grouping RSI-SRLG-INTF-BRIEF-SHOW { + description + "RSI SRLG INTF BRIEF SHOW"; + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf value-count { + type uint32; + description + "Values"; + } + leaf registrations { + type uint32; + description + "Registrations"; + } + leaf-list srlg-value { + type uint32; + description + "SRLG values"; + } + } + + grouping RSI-SRLG-INHLOC-SHOW { + description + "RSI SRLG INHLOC SHOW"; + leaf node-name { + type string; + description + "Inherit node name"; + } + leaf node-values { + type uint32; + description + "Node values"; + } + list srlg-attribute { + description + "SRLG attribute"; + uses RSI-SRLG-ATTR-BRIEF; + } + } + + grouping RSI-SRLG-ATTR-BRIEF { + description + "RSI SRLG ATTR BRIEF"; + leaf srlg-value { + type uint32; + description + "SRLG value"; + } + leaf priority { + type Priority; + description + "Priority"; + } + leaf srlg-index { + type uint16; + description + "Index"; + } + } + + grouping RSI-SRLG-GROUP-SHOW { + description + "RSI SRLG GROUP SHOW"; + leaf group-name-xr { + type string; + description + "Group name"; + } + leaf group-values { + type uint32; + description + "Group values"; + } + list srlg-attribute { + description + "SRLG attribute"; + uses RSI-SRLG-ATTR-BRIEF; + } + } + + grouping RSI-SRLG-NAME-VALUE-SHOW { + description + "RSI SRLG NAME VALUE SHOW"; + leaf srlg-value { + type uint32; + description + "SRLG value"; + } + leaf srlg-name-xr { + type string; + description + "SRLG name"; + } + } + + grouping RSI-VRFGROUP-ATTR-BRIEF { + description + "RSI VRFGROUP ATTR BRIEF"; + leaf vrf-name { + type string; + description + "VRF name"; + } + } + + grouping RSI-VRFGROUP-GROUP-SHOW { + description + "RSI VRFGROUP GROUP SHOW"; + leaf vr-fs { + type uint32; + description + "Number of VRFs in this VRF group"; + } + leaf forward-reference { + type boolean; + description + "VRF group not present but used"; + } + list vrf { + description + "VRF group's VRF"; + uses RSI-VRFGROUP-ATTR-BRIEF; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper.yang new file mode 100644 index 0000000..a72dd64 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-oper.yang @@ -0,0 +1,257 @@ +module Cisco-IOS-XR-infra-rsi-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper"; + prefix infra-rsi-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-rsi-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-infra-rsi-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rsi package operational data. + + This module contains definitions + for the following management objects: + vrf-group: VRF group operational data + srlg: srlg + selective-vrf-download: selective vrf download + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container vrf-group { + config false; + description + "VRF group operational data"; + container nodes { + description + "Node operational data"; + list node { + key "node-name"; + description + "Node details"; + container groups { + description + "Group operational data"; + list group { + key "group-name"; + description + "Group details"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Group name"; + } + uses RSI-VRFGROUP-GROUP-SHOW; + } + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + } + container srlg { + config false; + description + "srlg"; + container srlg-maps { + description + "Set of SRLG name, value maps configured"; + list srlg-map { + key "srlg-name"; + description + "Configured SRLG name details "; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + uses RSI-SRLG-NAME-VALUE-SHOW; + } + } + container nodes { + description + "RSI SRLG operational data"; + list node { + key "node-name"; + description + "RSI SRLG operational data"; + container srlg-maps { + description + "Set of SRLG name, value maps configured"; + list srlg-map { + key "srlg-name"; + description + "Configured SRLG name details "; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + uses RSI-SRLG-NAME-VALUE-SHOW; + } + } + container groups { + description + "Set of Groups configured for SRLG"; + list group { + key "group-name"; + description + "SRLG group details"; + leaf group-name { + type xr:Cisco-ios-xr-string; + description + "Group name"; + } + uses RSI-SRLG-GROUP-SHOW; + } + } + container inherit-nodes { + description + "Set of inherit locations configured for SRLG"; + list inherit-node { + key "inherit-node-name"; + description + "SRLG inherit location details"; + leaf inherit-node-name { + type xr:Pq-node-id; + description + "Inherit node"; + } + uses RSI-SRLG-INHLOC-SHOW; + } + } + container interfaces { + description + "Set of interfaces configured for SRLG"; + list interface { + key "interface-name"; + description + "SRLG interface summary"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses RSI-SRLG-INTF-BRIEF-SHOW; + } + } + container interface-details { + description + "Set of interfaces configured for SRLG"; + list interface-detail { + key "interface-name"; + description + "SRLG interface details"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses RSI-SRLG-INTF-DETAIL-SHOW; + } + } + container srlg-values { + description + "Set of SRLG values configured"; + list srlg-value { + key "value"; + description + "Configured SRLG value details "; + leaf value { + type int32; + description + "SRLG value"; + } + uses RSI-SRLG-INTF-SHOW; + } + } + container interface-srlg-names { + description + "Set of SRLG names configured"; + list interface-srlg-name { + key "srlg-name"; + description + "Configured SRLG name details "; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + uses RSI-SRLG-NAME-INTF-SHOW; + } + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + container interface-srlg-names { + description + "Set of SRLG names configured"; + list interface-srlg-name { + key "srlg-name"; + description + "Configured SRLG name details "; + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG name"; + } + uses RSI-SRLG-NAME-INTF-SHOW; + } + } + } + container selective-vrf-download { + config false; + description + "selective vrf download"; + container state { + description + "Selective VRF Download feature state details"; + uses RSI-MASTER-STATE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang new file mode 100644 index 0000000..6895ad5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-rsi-subscriber-cfg.yang @@ -0,0 +1,75 @@ +module Cisco-IOS-XR-infra-rsi-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-subscriber-cfg"; + prefix infra-rsi-subscriber-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-rsi-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping VRF { + description + "Common node of ip-subscriber, ppp, + subscriber-service"; + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Assign the interface to a VRF "; + } + } + + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses VRF; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses VRF; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses VRF; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-cfg.yang new file mode 100644 index 0000000..1290c9c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-cfg.yang @@ -0,0 +1,302 @@ +module Cisco-IOS-XR-infra-serg-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-cfg"; + prefix infra-serg-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-serg package configuration. + + This module contains definitions + for the following management objects: + session-redundancy: Session Redundancy configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Session-redundancy-group-role { + type enumeration { + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "Session redundancy group role"; + } + + typedef Serg-addr-family { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 10; + description + "IPv6"; + } + } + description + "Serg addr family"; + } + + container session-redundancy { + description + "Session Redundancy configuration"; + container groups { + description + "Table of Group"; + list group { + key "group-id"; + description + "Redundancy Group configuration"; + container peer { + description + "None"; + container ipaddress { + description + "IPv4 or IPv6 Address of SERG Peer"; + leaf address-family { + type Serg-addr-family; + description + "Type of IPv4/IPv6 address"; + } + leaf prefix-string { + type inet:ip-address-no-zone; + description + "IPv4/IPv6 address"; + } + } + } + container revertive-timer { + description + "None"; + leaf max-value { + type uint32 { + range "1..65535"; + } + description + "Value of MAX Revertive Timer"; + } + leaf value { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Value of revertive time in minutes"; + } + } + container interface-list { + description + "List of Interfaces for this Group"; + container interface-ranges { + description + "Table of InterfaceRange"; + list interface-range { + key "interface-name sub-interface-range-start sub-interface-range-end"; + description + "Interface for this Group"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf sub-interface-range-start { + type uint32 { + range "0..2147483647"; + } + description + "Sub Interface Start Range"; + } + leaf sub-interface-range-end { + type uint32 { + range "0..2147483647"; + } + description + "Sub Interface End Range"; + } + leaf interface-id-range-start { + type uint32 { + range "1..65535"; + } + description + "Interface ID Start Range"; + } + leaf interface-id-range-end { + type uint32 { + range "1..65535"; + } + description + "Interface ID End Range"; + } + } + } + container interfaces { + description + "Table of Interface"; + list interface { + key "interface-name"; + description + "Interface for this Group"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-id { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Interface Id for the interface"; + } + } + } + leaf enable { + type empty; + description + "Enable List of Interfaces for this Group. + Deletion of this object also causes deletion + of all associated objects under InterfaceList + ."; + } + } + leaf core-tracking-object { + type string; + description + "Core Tracking Object for this Group"; + } + leaf disable-tracking-object { + type empty; + description + "Disable Tracking Object for this Group"; + } + leaf redundancy-disable { + type empty; + description + "Disable"; + } + leaf enable { + type empty; + description + "Enable Redundancy Group configuration. + Deletion of this object also causes deletion + of all associated objects under Group."; + } + leaf description { + type string; + description + "Description for this Group"; + } + leaf access-tracking-object { + type string; + description + "Access Tracking Object for this Group"; + } + leaf preferred-role { + type Session-redundancy-group-role; + description + "Set preferred role"; + } + leaf hold-timer { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Set hold time (in Minutes)"; + } + leaf group-id { + type uint32 { + range "1..500"; + } + description + "Group ID"; + } + } + } + container revertive-timer { + description + "None"; + leaf max-value { + type uint32 { + range "1..65535"; + } + description + "Value of MAX Revertive Timer"; + } + leaf value { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Value of revertive time in minutes"; + } + } + leaf redundancy-disable { + type empty; + description + "Disable"; + } + leaf enable { + type empty; + description + "Enable Session Redundancy configuration. + Deletion of this object also causes deletion of + all associated objects under SessionRedundancy."; + } + leaf source-interface { + type xr:Interface-name; + description + "Source Interface for Redundancy Peer + Communication"; + } + leaf preferred-role { + type Session-redundancy-group-role; + description + "Set preferred role"; + } + leaf hold-timer { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Set hold time (in Minutes)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub1.yang new file mode 100644 index 0000000..3601629 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub1.yang @@ -0,0 +1,1708 @@ +submodule Cisco-IOS-XR-infra-serg-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-serg-oper { + prefix Cisco-IOS-XR-infra-serg-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-serg package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Serg-show-so-reason { + type enumeration { + enum "internal" { + value 0; + description + "SwitchOver for Internal Reason"; + } + enum "admin" { + value 1; + description + "SwitchOver for Admin"; + } + enum "peer-up" { + value 2; + description + "SwitchOver for Peer UP"; + } + enum "peer-down" { + value 3; + description + "SwitchOver for Peer Down"; + } + enum "object-tracking-status-change" { + value 4; + description + "SwitchOver for Object Tracking status change"; + } + enum "serg-show-so-reason-max" { + value 5; + description + "Unknown Switchover Reason"; + } + } + description + "Session Redundancy Switchover Reason"; + } + + typedef Serg-peer-status { + type enumeration { + enum "not-configured" { + value 0; + description + "Peer not configured"; + } + enum "initialize" { + value 1; + description + "Peer initialization"; + } + enum "retry" { + value 2; + description + "Peer retry pending"; + } + enum "connect" { + value 3; + description + "Connection in Progress"; + } + enum "listen" { + value 4; + description + "Listening in Progress"; + } + enum "registration" { + value 5; + description + "Awaiting Registration from Peer"; + } + enum "cleanup" { + value 6; + description + "Peer cleanup in progress"; + } + enum "connected" { + value 7; + description + "Peer Connected"; + } + enum "established" { + value 8; + description + "Peer Established"; + } + } + description + "SERG Peer Status"; + } + + typedef Serg-show-session-error { + type enumeration { + enum "none" { + value 0; + description + "Invalid Error"; + } + enum "hard" { + value 1; + description + "Hard Error"; + } + enum "soft" { + value 2; + description + "Soft Error"; + } + } + description + "SERG Session Error Operation"; + } + + typedef Serg-show-session-operation { + type enumeration { + enum "none" { + value 0; + description + "No Operation"; + } + enum "update" { + value 1; + description + "SERG Session Update Operation"; + } + enum "delete" { + value 2; + description + "SERG Session Delete Operation"; + } + enum "in-sync" { + value 3; + description + "SERG Session In Sync"; + } + } + description + "SERG Session Operation"; + } + + typedef Serg-show-comp { + type enumeration { + enum "serga" { + value 0; + description + "SERG Agent"; + } + enum "ipv6nd" { + value 1; + description + "IPv6ND"; + } + enum "dhcpv6" { + value 2; + description + "DHCPv6"; + } + } + description + "SERG Components"; + } + + typedef Serg-show-slave-mode { + type enumeration { + enum "none" { + value 0; + description + "Not Configured"; + } + enum "warm" { + value 1; + description + "Warm Modem"; + } + enum "hot" { + value 2; + description + "Hot Mode"; + } + } + description + "SERG Slave Mode"; + } + + typedef Serg-show-role { + type enumeration { + enum "none" { + value 0; + description + "Not Configured"; + } + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "SERG Role"; + } + + typedef Serg-show-im-role { + type enumeration { + enum "none" { + value 0; + description + "Not Determined"; + } + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "SERG Interface Management Role"; + } + + grouping SERG-AGT-SHOW-GROUP-LIST-ENTRY { + description + "Session Redundancy Agent Group Summary + Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf role { + type Serg-show-im-role; + description + "SERG Role"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf peer-status { + type Serg-peer-status; + description + "Peer Status"; + } + leaf preferred-role { + type Serg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Serg-show-slave-mode; + description + "Slave Mode"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf interface-count { + type uint32; + description + "Interface Count"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf pending-add-session-count { + type uint32; + description + "Pending Session Count for Synchornization"; + } + } + + grouping SERG-SHOW-TXLSTAT { + description + "serg txlstat"; + leaf tx-list-encode-marker-ok { + type uint32; + description + "TxListEncodeMarkerOk"; + } + leaf tx-list-encode-marker-partial-write { + type uint32; + description + "TxListEncodeMarkerPartialWrite"; + } + leaf tx-list-clean-marker { + type uint32; + description + "TxListCleanMarker"; + } + leaf tx-list-encode-command-ok { + type uint32; + description + "TxListEncodeCommandOk"; + } + leaf tx-list-encode-command-partial-write { + type uint32; + description + "TxListEncodeCommandPartialWrite"; + } + leaf tx-list-clean-command { + type uint32; + description + "TxListCleanCommand"; + } + leaf tx-list-encode-negotiation-ok { + type uint32; + description + "TxListEncodeNegotiationOk"; + } + leaf tx-list-encode-negotiation-partial-write { + type uint32; + description + "TxListEncodeNegotiationPartialWrite"; + } + leaf tx-list-clean-negotiation { + type uint32; + description + "TxListCleanNegotiation"; + } + } + + grouping SERG-SHOW-IDB-STATUS-STAT { + description + "serg idb status stat"; + leaf pend-caps-rem-cnt { + type uint32; + description + "No. of interfaces pending caps remove"; + } + leaf pend-reg-disable-cnt { + type uint32; + description + "No. of interfaces pending red disable"; + } + leaf pend-other-batch-oper-cnt { + type uint32; + description + "No. of interfaces pending for other (except + unreg/caps rem) batch oper"; + } + leaf non-stale-cnt { + type uint32; + description + "No. of non stale interfaces"; + } + leaf grp-bound-cnt { + type uint32; + description + "No. of interface bound to a group"; + } + } + + grouping SERG-SHOW-TXSEND-TCP-STATISTICS { + description + "TxSend Global Statistics Information"; + leaf messages-sent { + type uint32; + description + "Message Sent Count"; + } + leaf bytes-sent { + type uint32; + units "byte"; + description + "Bytes Sent Count"; + } + leaf messages-received { + type uint32; + description + "Message Received Count"; + } + leaf bytes-received { + type uint32; + units "byte"; + description + "Bytes Received Count"; + } + leaf connect-count { + type uint32; + description + "Socket Connect Count"; + } + leaf blocked-connect-count { + type uint32; + description + "Blocked Socket Connect Count"; + } + leaf connect-retry-count { + type uint32; + description + "Socket Connect Retry Count"; + } + leaf remote-node-down-count { + type uint32; + description + "Remote Peer DisConnect Count"; + } + leaf accept-count { + type uint32; + description + "Socket Accept Count"; + } + leaf maximum-sent-message-size { + type uint32; + description + "Maximum Size of Sent Message"; + } + leaf maximum-received-message-size { + type uint32; + description + "Maximum Size of Received Message"; + } + leaf peer-pause-count { + type uint32; + description + "Peer Pause Count"; + } + leaf buffer-full-occurence-count { + type uint32; + description + "Buffer Full on Write Occurence Count"; + } + leaf mem-move-message-count { + type uint32; + description + "Partial Message Memory Move Occurence Count"; + } + leaf mem-move-bytes-count { + type uint32; + description + "Partial Message Memory Move Byte Count"; + } + leaf socket-read-count { + type uint32; + description + "Socket Read Count"; + } + leaf socket-write-count { + type uint32; + description + "Socket Write Count"; + } + leaf active-socket-count { + type uint16; + description + "Active Socket Count"; + } + leaf maximum-requested-buffer-size { + type uint32; + description + "Maximum Size of Requested Buffer"; + } + leaf buffer-freed-count { + type uint16; + description + "Buffer Free Count"; + } + leaf buffer-cache-hit { + type uint16; + description + "Buffer Cache Hit Count"; + } + leaf buffer-cache-miss { + type uint16; + description + "Buffer Cache Miss Count"; + } + } + + grouping SERG-SHOW-OPQ-MEM-STATS { + description + "serg show opq mem stats"; + leaf component { + type Serg-show-comp; + description + "Component"; + } + leaf session-count { + type uint32; + description + "Session count for each component"; + } + leaf opaque-size { + type uint32; + description + "Current Opaque Memory Size for each component"; + } + leaf opaque-high-size { + type uint32; + description + "High Watermark of Opaque Data Size for each + component"; + } + leaf opaque-data-size { + type uint32; + description + "Current Opaque Data Size for each component"; + } + } + + grouping SERG-SHOW-AGT-CLIENT-STATUS { + description + "serg show agt client status"; + leaf component { + type Serg-show-comp; + description + "Component"; + } + leaf client-connection-status { + type boolean; + description + "ClientConnectionStatus"; + } + leaf client-initialization-synchronization-pending { + type boolean; + description + "ClientInitializationSynchronizationPending"; + } + leaf client-synchronization-end-of-download-pending { + type boolean; + description + "ClientSynchronizationEndOfDownloadPending"; + } + leaf up-time-stamp { + type string; + description + "UpTimeStamp"; + } + leaf down-time-stamp { + type string; + description + "DownTimeStamp"; + } + leaf clean-up-timer-remaining { + type uint32; + units "second"; + description + "Value in Seconds to trigger the client cleanup"; + } + } + + grouping SERG-SHOW-AGT-STATISTICS { + description + "serg agt stats t"; + container intf-status-statistics { + description + "intf status statistics"; + uses SERG-SHOW-IDB-STATUS-STAT; + } + container tx-list-statistics { + description + "tx list statistics"; + uses SERG-SHOW-TXLSTAT; + } + leaf source-interface-name { + type string; + description + "Source Interface Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf source-interface-ipv4-address { + type inet:ipv4-address; + description + "Source Interface IPv4 Address"; + } + leaf source-interface-ipv6-address { + type inet:ipv6-address; + description + "Source Interface IPv6 Address"; + } + leaf redundancy-role { + type string; + description + "Redundancy Role"; + } + leaf restart-client-sync-in-progress { + type boolean; + description + "Restart Client Sync In Progress Flag"; + } + leaf client-init-sync-time-stamp { + type string; + description + "Synchronization TimeStamp"; + } + leaf restart-peer-sync-in-progress { + type boolean; + description + "Restart Peer Sync In Progress Flag"; + } + leaf peer-init-sync-time-stamp { + type string; + description + "Synchronization TimeStamp"; + } + leaf sync-in-progress { + type boolean; + description + "Sync In Progress Flag"; + } + leaf peer-action-timer { + type uint32; + units "second"; + description + "Value in Seconds to trigger the peer actions"; + } + leaf retry-timer-remaining { + type uint32; + units "second"; + description + "Value in Seconds to trigger the retry"; + } + leaf tx-list-client-registration-invalid { + type uint32; + description + "TxListClientRegistrationInvalid"; + } + leaf tx-list-client-de-registration-invalid { + type uint32; + description + "TxListClientDeRegistrationInvalid"; + } + leaf tx-list-client-connection-up { + type uint32; + description + "TxListClientConnectionUp"; + } + leaf tx-list-client-connection-down { + type uint32; + description + "TxListClientConnectionDown"; + } + leaf tx-list-client-peer-done { + type uint32; + description + "TxListClientPeerDone"; + } + leaf tx-list-client-message-call-back { + type uint32; + description + "TxListClientMessageCallBack"; + } + leaf tx-list-client-receive-valid { + type uint32; + description + "TxListClientReceiveValid"; + } + leaf tx-list-client-receive-invalid { + type uint32; + description + "TxListClientReceiveInValid"; + } + leaf tx-list-client-receive-command-valid { + type uint32; + description + "TxListClientReceiveCommandValid"; + } + leaf tx-list-client-receive-command-invalid { + type uint32; + description + "TxListClientReceiveCommandInValid"; + } + leaf tx-list-client-receive-session-sessionvalid { + type uint32; + description + "TxListClientReceiveSessionSessionValid"; + } + leaf tx-list-client-receive-session-session-invalid { + type uint32; + description + "TxListClientReceiveSessionSessionInValid"; + } + leaf tx-list-peer-timer-handler { + type uint32; + description + "TxListPeerTimerHandler"; + } + leaf tx-list-peer-registration-invalid { + type uint32; + description + "TxListPeerRegistrationInValid"; + } + leaf tx-list-peer-de-registration-invalid { + type uint32; + description + "TxListPeerDeRegistrationInValid"; + } + leaf tx-list-peer-message-call-back-valid { + type uint32; + description + "TxListPeerMessageCallBackValid"; + } + leaf tx-list-peer-message-call-back-invalid { + type uint32; + description + "TxListPeerMessageCallBackInValid"; + } + leaf tx-list-peer-done { + type uint32; + description + "TxListPeerDone"; + } + leaf tx-list-peer-cmd-connection-up-not-ok { + type uint32; + description + "TxListPeerCmdConnectionUpNotOk"; + } + leaf tx-list-peer-cmd-connection-down-not-ok { + type uint32; + description + "TxListPeerCmdConnectionDownNotOk"; + } + leaf tx-list-peer-session-connection-up-not-ok { + type uint32; + description + "TxListPeerSessionConnectionUpNotOk"; + } + leaf tx-list-peer-session-connection-down-not-ok { + type uint32; + description + "TxListPeerSessionConnectionDownNotOk"; + } + list client-status { + description + "Client Status"; + uses SERG-SHOW-AGT-CLIENT-STATUS; + } + list opaque-memory-status { + description + "Opaque memory Stats"; + uses SERG-SHOW-OPQ-MEM-STATS; + } + list tx-list-over-tcp-status { + description + "TCP TxList Statistics"; + uses SERG-SHOW-TXSEND-TCP-STATISTICS; + } + } + + grouping SERG-SHOW-AGT-INTF-CLIENT-STATUS { + description + "serg show agt intf client status"; + leaf component { + type Serg-show-comp; + description + "Component"; + } + leaf serg-show-idb-client-eoms-pending { + type boolean; + description + "SERG SHOW IDB CLIENT EOMS PENDING"; + } + leaf serg-show-idb-client-sync-eod-pending { + type boolean; + description + "SERG SHOW IDB CLIENT SYNC EOD PENDING"; + } + leaf session-count { + type uint32; + description + "session count"; + } + } + + grouping SERG-SHOW-INTF-STATUS { + description + "Session Redundancy Interface Status"; + leaf idb-state-fwd-ref { + type boolean; + description + "Interface Forward Referenced"; + } + leaf idb-state-stale { + type boolean; + description + "Interface State Stale"; + } + leaf idb-state-registered { + type boolean; + description + "Interface State Registered"; + } + leaf idb-state-caps-added { + type boolean; + description + "Interface State Caps Added"; + } + leaf idb-state-owned-re-source { + type boolean; + description + "Interface State Owned Resource"; + } + leaf idb-client-eoms-pending { + type boolean; + description + "Interface Client EOMS Pending"; + } + leaf idb-state-p-end-caps-rem { + type boolean; + description + "Interface Caps Remove Pending"; + } + leaf idb-state-p-end-reg-disable { + type boolean; + description + "Interface Registration Disable Pending"; + } + } + + grouping SERG-SHOW-INTF-OPER { + description + "Session Redundancy Interface Operational Status"; + leaf idb-oper-reg-enable { + type boolean; + description + "Operational Registration Enabled"; + } + leaf idb-oper-reg-disable { + type boolean; + description + "Operational Registration Disabled"; + } + leaf idb-oper-caps-add { + type boolean; + description + "Operational Caps Add"; + } + leaf idb-oper-caps-remove { + type boolean; + description + "Operational Caps Remove"; + } + leaf idb-oper-attr-update { + type boolean; + description + "Operational Attribute Update"; + } + } + + grouping SERG-SHOW-AGT-INTF-ENTRY { + description + "Session Redundancy Agent Interface Information"; + container interface-oper { + description + "Interface Batch Operation"; + uses SERG-SHOW-INTF-OPER; + } + container interface-status { + description + "Interface Status"; + uses SERG-SHOW-INTF-STATUS; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-synchronization-id { + type uint32; + description + "Interface Sync ID"; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf role { + type Serg-show-im-role; + description + "SERG Role"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf interface-enable-error-count { + type uint32; + description + "Interface Enable Error Count"; + } + leaf interface-disable-error-count { + type uint32; + description + "Interface Disable Error Count"; + } + leaf interface-caps-add-error-count { + type uint32; + description + "Interface Caps Add Error Count"; + } + leaf interface-caps-remove-error-count { + type uint32; + description + "Interface Caps Remove Error Count"; + } + leaf interface-attribute-update-error-count { + type uint32; + description + "Interface Attribute Update Error Count"; + } + list client-status { + description + "Interface status for each client"; + uses SERG-SHOW-AGT-INTF-CLIENT-STATUS; + } + } + + grouping SERG-SHOW-GROUP-INTF-INFO { + description + "Session Redundancy Group Interface-List + Information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-synchronization-id { + type uint32; + description + "Interface Synchronization ID"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + } + + grouping SERG-SHOW-CLIENT-SESSION-COUNT { + description + "Session Redundancy Client Session Count + Information"; + leaf component { + type Serg-show-comp; + description + "Component"; + } + leaf session-count { + type uint32; + description + "Session count"; + } + } + + grouping SERG-SHOW-GROUP-ENTRY { + description + "Session Redundancy Group Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf description { + type string; + description + "Group Description"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf init-role { + type Serg-show-role; + description + "Preferred Init Role"; + } + leaf negotiating-role { + type Serg-show-role; + description + "Negotiating Role"; + } + leaf current-role { + type Serg-show-role; + description + "Current Role"; + } + leaf slave-mode { + type Serg-show-slave-mode; + description + "Slave Mode"; + } + leaf hold-timer { + type uint32; + description + "Switch Over Hold Time"; + } + leaf core-tracking-object-name { + type string; + description + "Core Object Tracking Name"; + } + leaf core-tracking-object-status { + type boolean; + description + "Core Object Tracking Status"; + } + leaf access-tracking-object-name { + type string; + description + "Access Object Tracking Name"; + } + leaf access-tracking-object-status { + type boolean; + description + "Access Object Tracking Status"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf peer-status { + type Serg-peer-status; + description + "Peer Status"; + } + leaf peer-last-negotiation-time { + type string; + description + "Last Negotiation time of Peer"; + } + leaf peer-last-up-time { + type string; + description + "Last UP time of Peer"; + } + leaf peer-last-down-time { + type string; + description + "Last Down time of Peer"; + } + leaf peer-init-role { + type Serg-show-role; + description + "Peer Preferred Init Role"; + } + leaf peer-negotiating-role { + type Serg-show-role; + description + "Peer Negotiating Role"; + } + leaf peer-current-role { + type Serg-show-role; + description + "Peer Current Role"; + } + leaf peer-object-tracking-status { + type boolean; + description + "Peer Object Tracking Status"; + } + leaf last-switchover-time { + type string; + description + "Last Switchover time"; + } + leaf switchover-count { + type uint32; + description + "Switchover Count"; + } + leaf last-switchover-reason { + type Serg-show-so-reason; + description + "Last Switchover Reason"; + } + leaf switchover-hold-time { + type uint32; + units "second"; + description + "Switchover Hold Time in seconds"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf slave-update-failure-count { + type uint32; + description + "Slave Session update fail count"; + } + leaf pending-session-update-count { + type uint32; + description + "Pending Session Update Count"; + } + leaf pending-session-delete-count { + type uint32; + description + "Pending Session Delete Count"; + } + leaf interface-count { + type uint32; + description + "No. of Configured Interfaces"; + } + leaf revertive-timer { + type uint32; + description + "Revertive timer for SWO back"; + } + leaf switchover-revert-time { + type uint32; + units "second"; + description + "Switchover Revert Time in seconds"; + } + list client-session-count { + description + "Client Session Count"; + uses SERG-SHOW-CLIENT-SESSION-COUNT; + } + list interface { + description + "Interface List"; + uses SERG-SHOW-GROUP-INTF-INFO; + } + } + + grouping SERG-SHOW-AGT-CLIENT-STATISTICS { + description + "serg agt c stats t"; + leaf tx-list-start-of-download-add-ok { + type uint32; + description + "TxListStartOfDownloadAddOk"; + } + leaf tx-list-start-of-download-add-not-ok { + type uint32; + description + "TxListStartOfDownloadAddNotOk"; + } + leaf tx-list-end-of-download-add-ok { + type uint32; + description + "TxListEndOfDownloadAddOk"; + } + leaf tx-list-end-of-download-add-not-ok { + type uint32; + description + "TxListEndOfDownloadAddNotOk"; + } + leaf tx-list-end-of-message-add-ok { + type uint32; + description + "TxListEndOfMessageAddOk"; + } + leaf tx-list-end-of-message-add-not-ok { + type uint32; + description + "TxListEndOfMessageAddNotOk"; + } + leaf tx-list-clear-all-add-ok { + type uint32; + description + "TxListClearAllAddOk"; + } + leaf tx-list-clear-all-add-not-ok { + type uint32; + description + "TxListClearAllAddNotOk"; + } + leaf tx-list-clear-selected-add-ok { + type uint32; + description + "TxListClearSelectedAddOk"; + } + leaf tx-list-clear-selected-add-not-ok { + type uint32; + description + "TxListClearSelectedAddNotOk"; + } + leaf tx-list-replay-all-add-ok { + type uint32; + description + "TxListReplayAllAddOk"; + } + leaf tx-list-replay-all-add-not-ok { + type uint32; + description + "TxListReplayAllAddNotOk"; + } + leaf tx-list-replay-selected-add-ok { + type uint32; + description + "TxListReplaySelectedAddOk"; + } + leaf tx-list-replay-selected-add-not-ok { + type uint32; + description + "TxListReplaySelectedAddNotOk"; + } + leaf tx-list-session-session-add-ok { + type uint32; + description + "TxListSessionSessionAddOk"; + } + leaf tx-list-session-session-add-not-ok { + type uint32; + description + "TxListSessionSessionAddNotOk"; + } + leaf tx-list-session-session-update-ok { + type uint32; + description + "TxListSessionSessionUpdateOk"; + } + leaf tx-list-session-session-update-not-ok { + type uint32; + description + "TxListSessionSessionUpdateNotOk"; + } + leaf tx-list-session-session-delete { + type uint32; + description + "TxListSessionSessionDelete"; + } + leaf clean-call-back { + type uint32; + description + "CleanCallBack"; + } + leaf tx-list-encode-session-session-ok { + type uint32; + description + "TxListEncodeSessionSessionOk"; + } + leaf tx-list-encode-session-session-partial-write { + type uint32; + description + "TxListEncodeSessionSessionPartialWrite"; + } + leaf last-replay-all-count { + type uint32; + description + "LastReplayAllCount"; + } + leaf tx-list-receive-command-replay-all { + type uint32; + description + "TxListReceiveCommandReplayAll"; + } + leaf tx-list-receive-command-replay-selected { + type uint32; + description + "TxListReceiveCommandReplaySelected"; + } + leaf tx-list-receive-session-session-delete-valid { + type uint32; + description + "TxListReceiveSessionSessionDeleteValid"; + } + leaf tx-list-receive-session-session-delete-invalid { + type uint32; + description + "TxListReceiveSessionSessionDeleteInValid"; + } + leaf tx-list-receive-session-session-update-valid { + type uint32; + description + "TxListReceiveSessionSessionUpdateValid"; + } + leaf tx-list-receive-session-session-update-invalid { + type uint32; + description + "TxListReceiveSessionSessionUpdateInValid"; + } + leaf tx-list-receive-session-session-sod-all { + type uint32; + description + "TxListReceiveSessionSessionSODAll"; + } + leaf tx-list-receive-session-session-sod-selected { + type uint32; + description + "TxListReceiveSessionSessionSODSelected"; + } + leaf tx-list-receive-session-session-eod-all { + type uint32; + description + "TxListReceiveSessionSessionEODAll"; + } + leaf tx-list-receive-session-session-eod-selected { + type uint32; + description + "TxListReceiveSessionSessionEODSelected"; + } + leaf tx-list-receive-session-session-eoms { + type uint32; + description + "TxListReceiveSessionSessionEOMS"; + } + leaf tx-list-receive-session-session-clear-all { + type uint32; + description + "TxListReceiveSessionSessionClearAll"; + } + leaf tx-list-receive-session-session-clear-selected { + type uint32; + description + "TxListReceiveSessionSessionClearSelected"; + } + leaf tx-list-receive-session-session-neg-ack { + type uint32; + description + "TxListReceiveSessionSessionNegAck"; + } + leaf tx-list-receive-session-session-neg-ack-not-ok { + type uint32; + description + "TxListReceiveSessionSessionNegAckNotOk"; + } + leaf tx-list-client-registration-ok { + type uint32; + description + "TxListClientRegistrationOk"; + } + leaf tx-list-client-registration-not-ok { + type uint32; + description + "TxListClientRegistrationNotOk"; + } + leaf tx-list-client-de-registration { + type uint32; + description + "TxListClientDeRegistration"; + } + leaf tx-list-client-connection-down { + type uint32; + description + "TxListClientConnectionDown"; + } + leaf tx-list-client-cleanup { + type uint32; + description + "TxListClientCleanup"; + } + leaf tx-list-active-ok { + type uint32; + description + "TxListActiveOk"; + } + leaf tx-list-active-not-ok { + type uint32; + description + "TxListActiveNotOk"; + } + leaf tx-list-de-active-ok { + type uint32; + description + "TxListDeActiveOk"; + } + leaf tx-list-de-active-not-ok { + type uint32; + description + "TxListDeActiveNotOk"; + } + } + + grouping SERG-SHOW-SESSION-ERROR-INFO { + description + "Session Redundancy Session Verbose Client Error + Information"; + leaf sync-error-count { + type uint16; + description + "No. of Errors occured during Synchronization"; + } + leaf last-error-code { + type uint32; + description + "Last Error Code"; + } + leaf last-error-type { + type Serg-show-session-error; + description + "Last Error Type"; + } + } + + grouping SERG-SHOW-SESSION-CLIENT { + description + "Session Redundancy Session Verbose Client + Information"; + leaf component { + type Serg-show-comp; + description + "Component"; + } + leaf operation { + type Serg-show-session-operation; + description + "Operation Code"; + } + leaf tx-list-queue-fail { + type boolean; + description + "Tx List Queue Failed"; + } + leaf marked-for-sweeping { + type boolean; + description + "Marked For Sweeping"; + } + leaf marked-for-cleanup { + type boolean; + description + "Marked For Cleanup"; + } + } + + grouping SERG-SHOW-SESSION-ENTRY { + description + "Session Redundancy Session Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf key-index { + type string; + description + "Key index"; + } + leaf role-master { + type boolean; + description + "Master Role is Set"; + } + leaf negative-acknowledgement-update-all { + type boolean; + description + "Negative Acknowledgement Update Flag is Set"; + } + list session-detailed-information { + description + "More Session Information"; + uses SERG-SHOW-SESSION-CLIENT; + } + list session-sync-error-information { + description + "Session Synchroniation Error Information"; + uses SERG-SHOW-SESSION-ERROR-INFO; + } + } + + grouping SERG-SHOW-MGR-SUMMARY { + description + "Session Redundancy Manager Summary Information"; + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf active-state { + type boolean; + description + "Process Active State"; + } + leaf preferred-role { + type Serg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Serg-show-slave-mode; + description + "Slave Mode"; + } + leaf hold-timer { + type uint32; + description + "Switch Over Hold Time"; + } + leaf source-interface-name { + type string; + description + "Source Interface Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf source-interface-ipv4-address { + type inet:ipv4-address; + description + "Source Interface IPv4 Address"; + } + leaf source-interface-ipv6-address { + type inet:ipv6-address; + description + "Source Interface IPv6 Address"; + } + leaf group-count { + type uint32; + description + "No. of Configured Groups"; + } + leaf disabled-group-count { + type uint32; + description + "No. of Disabled Groups by Config"; + } + leaf master-group-count { + type uint32; + description + "No. of Master/Active Groups"; + } + leaf slave-group-count { + type uint32; + description + "No. of Slave Groups"; + } + leaf interface-count { + type uint32; + description + "No. of Configured Interfaces"; + } + leaf master-interface-count { + type uint32; + description + "No. of Master/Active Interfaces"; + } + leaf slave-interface-count { + type uint32; + description + "No. of Slave Interfaces"; + } + } + + grouping SERG-SHOW-MGR-GROUP-ENTRY { + description + "Session Redundancy Manager Group Information"; + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf description { + type string; + description + "Group Description"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf role { + type Serg-show-im-role; + description + "SERG Role"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf interface-count { + type uint32; + description + "Interface Count"; + } + leaf preferred-role { + type Serg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Serg-show-slave-mode; + description + "Slave Mode"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf node-name { + type string; + description + "Node Information"; + } + } + + grouping SERG-SHOW-MGR-INTF-ENTRY { + description + "Session Redundancy Manager Interface Information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-mapping-id { + type uint32; + description + "Interface Mapping ID"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf role { + type Serg-show-im-role; + description + "SERG Role"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub2.yang new file mode 100644 index 0000000..c8a276d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper-sub2.yang @@ -0,0 +1,176 @@ +submodule Cisco-IOS-XR-infra-serg-oper-sub2 { + belongs-to Cisco-IOS-XR-infra-serg-oper { + prefix Cisco-IOS-XR-infra-serg-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-serg package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Serg-show-mem { + type enumeration { + enum "standard" { + value 0; + description + "Standard type"; + } + enum "chunk" { + value 1; + description + "Chunk type"; + } + enum "edm" { + value 2; + description + "EDM type"; + } + enum "string" { + value 3; + description + "String type"; + } + enum "static" { + value 4; + description + "Static type"; + } + enum "unknown" { + value 5; + description + "Unknown type"; + } + } + description + "SERG Memory Manager type"; + } + + grouping SERG-SHOW-STRING-MEMORY-INFO { + description + "string memory Information"; + leaf size { + type uint32; + description + "Size of the block"; + } + leaf total { + type uint32; + description + "Total request"; + } + leaf success { + type uint32; + description + "Cache-hit success"; + } + leaf failure { + type uint32; + description + "Cache-hit failure"; + } + } + + grouping SERG-SHOW-EDM-MEMORY-INFO { + description + "edm memory Information"; + leaf size { + type uint32; + description + "Size of the block"; + } + leaf total { + type uint32; + description + "Total request"; + } + leaf success { + type uint32; + description + "Cache-hit success"; + } + leaf failure { + type uint32; + description + "Cache-hit failure"; + } + } + + grouping SERG-SHOW-MEMORY-INFO { + description + "memory Information"; + leaf structure-name { + type string; + description + "Structure Name"; + } + leaf size { + type uint32; + description + "Size of the datastructure"; + } + leaf current-count { + type uint32; + description + "Current Count"; + } + leaf alloc-fails { + type uint32; + description + "Allocation Fails"; + } + leaf alloc-count { + type uint32; + description + "Allocated count"; + } + leaf freed-count { + type uint32; + description + "Freed Count"; + } + leaf memory-type { + type Serg-show-mem; + description + "Memory Type"; + } + } + + grouping SERG-SHOW-MEMORY { + description + "Memory Information"; + list memory-info { + description + "Memory Info"; + uses SERG-SHOW-MEMORY-INFO; + } + list edm-memory-info { + description + "EDM Memory Info"; + uses SERG-SHOW-EDM-MEMORY-INFO; + } + list string-memory-info { + description + "String Memory Info"; + uses SERG-SHOW-STRING-MEMORY-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper.yang new file mode 100644 index 0000000..e233fee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-serg-oper.yang @@ -0,0 +1,190 @@ +module Cisco-IOS-XR-infra-serg-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-serg-oper"; + prefix infra-serg-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-serg-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-infra-serg-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-serg package operational data. + + This module contains definitions + for the following management objects: + session-redundancy-manager: Session Redundancy Manager + information + session-redundancy-agent: session redundancy agent + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container session-redundancy-manager { + config false; + description + "Session Redundancy Manager information"; + container interfaces { + description + "Subscriber Redundancy Manager interface table"; + list interface { + key "interface"; + description + "interface redundancy manager interface"; + leaf interface { + type xr:Cisco-ios-xr-string; + description + "Interface"; + } + uses SERG-SHOW-MGR-INTF-ENTRY; + } + } + container groups { + description + "Session Redundancy Manager group table"; + list group { + key "group"; + description + "Session redundancy manager group"; + leaf group { + type xr:Cisco-ios-xr-string; + description + "Group"; + } + uses SERG-SHOW-MGR-GROUP-ENTRY; + } + } + container summary { + description + "Session redundancy manager summary"; + uses SERG-SHOW-MGR-SUMMARY; + } + } + container session-redundancy-agent { + config false; + description + "session redundancy agent"; + container nodes { + description + "List of nodes for which session data is + collected"; + list node { + key "node-name"; + description + "Session data for a particular node"; + container group-id-xr { + description + "Data for particular subscriber group session"; + list group-id { + key "group-id"; + description + "Group id for subscriber group session"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "GroupId"; + } + uses SERG-SHOW-SESSION-ENTRY; + } + } + container client-ids { + description + "Stats Client"; + list client-id { + key "stats-client-id"; + description + "Specify stats client"; + leaf stats-client-id { + type int32; + description + "Client Id"; + } + uses SERG-SHOW-AGT-CLIENT-STATISTICS; + } + } + container memory { + description + "Show Memory"; + uses SERG-SHOW-MEMORY; + } + container group-ids { + description + "Data for particular subscriber group "; + list group-id { + key "group-id"; + description + "Group id for subscriber group"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "Group Id"; + } + uses SERG-SHOW-GROUP-ENTRY; + } + } + container interfaces { + description + "List of interfaces"; + list interface { + key "interface"; + description + "Specify interface name"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses SERG-SHOW-AGT-INTF-ENTRY; + } + } + container stats-global { + description + "Stats Global"; + uses SERG-SHOW-AGT-STATISTICS; + } + container group-summaries { + description + "Session data for a particular node"; + list group-summary { + key "group-id"; + description + "Session redundancy agent group summary"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "GroupId"; + } + uses SERG-AGT-SHOW-GROUP-LIST-ENTRY; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-cfg.yang new file mode 100644 index 0000000..b9c610e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-cfg.yang @@ -0,0 +1,41 @@ +module Cisco-IOS-XR-infra-sla-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-cfg"; + prefix infra-sla-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-sla package configuration. + + This module contains definitions + for the following management objects: + sla: SLA prtocol and profile Configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container sla { + description + "SLA prtocol and profile Configuration"; + container protocols { + description + "Table of all SLA protocols"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-datatypes.yang new file mode 100644 index 0000000..2d41dbc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-datatypes.yang @@ -0,0 +1,465 @@ +module Cisco-IOS-XR-infra-sla-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-datatypes"; + prefix infra-sla-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sla-burst-interval-units-enum { + type enumeration { + enum "once" { + value 1; + description + "Send one burst per probe"; + } + enum "milliseconds" { + value 2; + description + "Send bursts within a probe with an interval + unit of milliseconds"; + } + enum "seconds" { + value 3; + description + "Send bursts within a probe with an interval + unit of seconds"; + } + enum "minutes" { + value 4; + description + "Send bursts within a probe with an interval + unit of minutes"; + } + enum "hours" { + value 5; + description + "Send bursts within a probe with an interval + unit of hours"; + } + } + description + "Sla burst interval units enum"; + } + + typedef Sla-send { + type enumeration { + enum "packet" { + value 0; + description + "Send individual packets"; + } + enum "burst" { + value 1; + description + "Send bursts of packets"; + } + } + description + "Sla send"; + } + + typedef Sla-probe-interval-day-enum { + type enumeration { + enum "monday" { + value 1; + description + "Schedule every Monday"; + } + enum "tuesday" { + value 2; + description + "Schedule every Tuesday"; + } + enum "wednesday" { + value 3; + description + "Schedule every Wednesday"; + } + enum "thursday" { + value 4; + description + "Schedule every Thursday"; + } + enum "friday" { + value 5; + description + "Schedule every Friday"; + } + enum "saturday" { + value 6; + description + "Schedule every Saturday"; + } + enum "sunday" { + value 7; + description + "Schedule every Sunday"; + } + } + description + "Sla probe interval day enum"; + } + + typedef Sla-packet-interval-units-enum { + type enumeration { + enum "once" { + value 1; + description + "Send one packet per burst"; + } + enum "milliseconds" { + value 2; + description + "Send packets with an interval unit of + milliseconds"; + } + enum "seconds" { + value 3; + description + "Send packets with an interval unit of seconds"; + } + enum "minutes" { + value 4; + description + "Send packets with an interval unit of minutes"; + } + enum "hours" { + value 5; + description + "Send packets with an interval unit of hours"; + } + } + description + "Sla packet interval units enum"; + } + + typedef Sla-on-demand-repeat-interval-units-enum { + type enumeration { + enum "seconds" { + value 3; + description + "Schedule probes to repeat with an interval unit + of seconds"; + } + enum "minutes" { + value 4; + description + "Schedule probes to repeat with an interval unit + of minutes"; + } + enum "hours" { + value 5; + description + "Schedule probes to repeat with an interval unit + of hours"; + } + } + description + "Sla on demand repeat interval units enum"; + } + + typedef Sla-probe-duration-units-enum { + type enumeration { + enum "seconds" { + value 3; + description + "Schedule probes to run with a duration unit of + seconds"; + } + enum "minutes" { + value 4; + description + "Schedule probes to run with a duration unit of + minutes"; + } + enum "hours" { + value 5; + description + "Schedule probes to run with a duration unit of + hours"; + } + enum "day" { + value 6; + description + "Schedule probes to run for a duration of 1 day"; + } + enum "week" { + value 7; + description + "Schedule probes to run for a duration of 1 week"; + } + } + description + "Sla probe duration units enum"; + } + + typedef Sla-statistic-type-enum { + type enumeration { + enum "round-trip-delay" { + value 1; + description + "Collect round trip delay metric data"; + } + enum "one-way-delay-sd" { + value 2; + description + "Collect one way delay source->dest metric data"; + } + enum "one-way-delay-ds" { + value 3; + description + "Collect one way delay dest->source metric data"; + } + enum "round-trip-jitter" { + value 4; + description + "Collect round trip delay metric data"; + } + enum "one-way-jitter-sd" { + value 5; + description + "Collect one way jitter source->dest metric data"; + } + enum "one-way-jitter-ds" { + value 6; + description + "Collect one way jitter dest->source metric data"; + } + enum "one-way-loss-sd" { + value 7; + description + "Collect one way loss source->dest metric data"; + } + enum "one-way-loss-ds" { + value 8; + description + "Collect one way loss dest->source metric data"; + } + } + description + "Sla statistic type enum"; + } + + typedef Sla-buckets-size-units-enum { + type enumeration { + enum "buckets-per-probe" { + value 0; + description + "Store results as a number of buckets per probe + - note that this option has been DEPRECATED"; + } + enum "probes-per-bucket" { + value 1; + description + "Store results as a number of probes per bucket"; + } + } + description + "Sla buckets size units enum"; + } + + typedef Sla-probe-interval-units-enum { + type enumeration { + enum "minutes" { + value 4; + description + "Schedule probes to run with an interval unit of + minutes"; + } + enum "hours" { + value 5; + description + "Schedule probes to run with an interval unit of + hours"; + } + enum "day" { + value 6; + description + "Schedule probes to run every day"; + } + enum "week" { + value 7; + description + "Schedule probes to run every week"; + } + } + description + "Sla probe interval units enum"; + } + + typedef Sla-on-demand-start-month-enum { + type enumeration { + enum "january" { + value 0; + description + "January"; + } + enum "february" { + value 1; + description + "February"; + } + enum "march" { + value 2; + description + "March"; + } + enum "april" { + value 3; + description + "April"; + } + enum "may" { + value 4; + description + "May"; + } + enum "june" { + value 5; + description + "June"; + } + enum "july" { + value 6; + description + "July"; + } + enum "august" { + value 7; + description + "August"; + } + enum "september" { + value 8; + description + "September"; + } + enum "october" { + value 9; + description + "October"; + } + enum "november" { + value 10; + description + "November"; + } + enum "december" { + value 11; + description + "December"; + } + } + description + "Sla on demand start month enum"; + } + + typedef Sla-padding-pattern { + type enumeration { + enum "hex" { + value 0; + description + "Use an optionally specified hex pattern for + packet padding"; + } + enum "pseudo-random" { + value 1; + description + "Use a pseudo-random bit sequence for packet + padding"; + } + } + description + "Sla padding pattern"; + } + + typedef Sla-on-demand-start-time-types-enum { + type enumeration { + enum "now" { + value 0; + description + "Start immediately"; + } + enum "absolute" { + value 1; + description + "Start at a specified time"; + } + enum "relative" { + value 2; + description + "Start after a specified period"; + } + } + description + "Sla on demand start time types enum"; + } + + typedef Sla-on-demand-probe-duration-units-enum { + type enumeration { + enum "seconds" { + value 3; + description + "Schedule probes to run with a duration unit of + seconds"; + } + enum "minutes" { + value 4; + description + "Schedule probes to run with a duration unit of + minutes"; + } + enum "hours" { + value 5; + description + "Schedule probes to run with a duration unit of + hours"; + } + } + description + "Sla on demand probe duration units enum"; + } + + typedef Sla-on-demand-start-time-relative-units-enum { + type enumeration { + enum "seconds" { + value 3; + description + "Schedule probe to start after a unit of seconds"; + } + enum "minutes" { + value 4; + description + "Schedule probe to start after a unit of minutes"; + } + enum "hours" { + value 5; + description + "Schedule probe to start after a unit of hours"; + } + } + description + "Sla on demand start time relative units enum"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-oper.yang new file mode 100644 index 0000000..b425201 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-sla-oper.yang @@ -0,0 +1,48 @@ +module Cisco-IOS-XR-infra-sla-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-sla-oper"; + prefix infra-sla-oper; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-sla package operational data. + + This module contains definitions + for the following management objects: + sla: SLA oper commands + sla-nodes: sla nodes + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container sla { + config false; + description + "SLA oper commands"; + container protocols { + description + "Table of all SLA protocols"; + } + } + container sla-nodes { + config false; + description + "sla nodes"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-act.yang new file mode 100644 index 0000000..05e9bec --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-act.yang @@ -0,0 +1,67 @@ +module Cisco-IOS-XR-infra-statsd-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-act"; + prefix statsd-act; + + import Cisco-IOS-XR-types { + prefix csc; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + Copyright (c) 2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-10 { + description + "IOS XR 6.4.1 revision."; + } + + rpc clear-counters-controller { + description + "Controller name.\n"; + input { + leaf controller-name { + type csc:Interface-name; + mandatory true; + description + "Controller name"; + } + } + csc:xr-task "interface"; + csc:cli-command "clear counters "; + } + rpc clear-counters-all { + description + "Clear counters on all interfaces.\n"; + csc:xr-task "interface"; + csc:cli-command "clear counters all"; + } + rpc clear-counters-interface { + description + "Clear counters for interface.\n"; + input { + leaf interface-name { + type csc:Interface-name; + mandatory true; + description + "Interface name"; + } + } + csc:xr-task "interface"; + csc:cli-command "clear counters interface "; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-cfg.yang new file mode 100644 index 0000000..0fd617f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-cfg.yang @@ -0,0 +1,92 @@ +module Cisco-IOS-XR-infra-statsd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg"; + prefix infra-statsd-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-statsd package configuration. + + This module contains definitions + for the following management objects: + statistics: Global statistics configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container statistics { + description + "Per-interface statistics configuration"; + leaf load-interval { + type uint32 { + range "0..600"; + } + default "300"; + description + "Specify interval for load calculation for an + interface"; + } + } + } + container statistics { + description + "Global statistics configuration"; + container period { + description + "Collection period for statistics polling"; + container service-accounting { + description + "Collection polling period for service + accounting collectors"; + leaf polling-period { + type uint32 { + range "30..3600"; + } + must "not(../polling-disable)"; + description + "Collection polling period for service + accounting collectors"; + } + leaf polling-disable { + type empty; + must "not(../polling-period)"; + description + "Disable periodic statistics polling for + service accounting collectors"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper-sub1.yang new file mode 100644 index 0000000..612ff89 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper-sub1.yang @@ -0,0 +1,361 @@ +submodule Cisco-IOS-XR-infra-statsd-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-statsd-oper { + prefix Cisco-IOS-XR-infra-statsd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-statsd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping STATSDBAG-DATARATE { + description + "Datarate information"; + leaf input-data-rate { + type uint64; + units "bit/s"; + description + "Input data rate in 1000's of bps"; + } + leaf input-packet-rate { + type uint64; + units "packet/s"; + description + "Input packets per second"; + } + leaf output-data-rate { + type uint64; + units "bit/s"; + description + "Output data rate in 1000's of bps"; + } + leaf output-packet-rate { + type uint64; + units "packet/s"; + description + "Output packets per second"; + } + leaf peak-input-data-rate { + type uint64; + description + "Peak input data rate"; + } + leaf peak-input-packet-rate { + type uint64; + description + "Peak input packet rate"; + } + leaf peak-output-data-rate { + type uint64; + description + "Peak output data rate"; + } + leaf peak-output-packet-rate { + type uint64; + description + "Peak output packet rate"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth (in kbps)"; + } + leaf load-interval { + type uint32; + description + "Number of 30-sec intervals less one"; + } + leaf output-load { + type uint8; + description + "Output load as fraction of 255"; + } + leaf input-load { + type uint8; + description + "Input load as fraction of 255"; + } + leaf reliability { + type uint8; + description + "Reliability coefficient"; + } + } + + grouping IFSTATSBAG-GENERIC { + description + "Generic set of interface counters"; + leaf packets-received { + type uint64; + description + "Packets received"; + } + leaf bytes-received { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf multicast-packets-received { + type uint64; + description + "Multicast packets received"; + } + leaf broadcast-packets-received { + type uint64; + description + "Broadcast packets received"; + } + leaf multicast-packets-sent { + type uint64; + description + "Multicast packets sent"; + } + leaf broadcast-packets-sent { + type uint64; + description + "Broadcast packets sent"; + } + leaf output-drops { + type uint32; + description + "Total output drops"; + } + leaf output-queue-drops { + type uint32; + description + "Output queue drops"; + } + leaf input-drops { + type uint32; + description + "Total input drops"; + } + leaf input-queue-drops { + type uint32; + description + "Input queue drops"; + } + leaf runt-packets-received { + type uint32; + description + "Received runt packets"; + } + leaf giant-packets-received { + type uint32; + description + "Received giant packets"; + } + leaf throttled-packets-received { + type uint32; + description + "Received throttled packets"; + } + leaf parity-packets-received { + type uint32; + description + "Received parity packets"; + } + leaf unknown-protocol-packets-received { + type uint32; + description + "Unknown protocol packets received"; + } + leaf input-errors { + type uint32; + description + "Total input errors"; + } + leaf crc-errors { + type uint32; + description + "Input CRC errors"; + } + leaf input-overruns { + type uint32; + description + "Input overruns"; + } + leaf framing-errors-received { + type uint32; + description + "Framing-errors received"; + } + leaf input-ignored-packets { + type uint32; + description + "Input ignored packets"; + } + leaf input-aborts { + type uint32; + description + "Input aborts"; + } + leaf output-errors { + type uint32; + description + "Total output errors"; + } + leaf output-underruns { + type uint32; + description + "Output underruns"; + } + leaf output-buffer-failures { + type uint32; + description + "Output buffer failures"; + } + leaf output-buffers-swapped-out { + type uint32; + description + "Output buffers swapped out"; + } + leaf applique { + type uint32; + description + "Applique"; + } + leaf resets { + type uint32; + description + "Number of board resets"; + } + leaf carrier-transitions { + type uint32; + description + "Carrier transitions"; + } + leaf availability-flag { + type uint32; + description + "Availability bit mask"; + } + leaf last-data-time { + type uint32; + units "second"; + description + "Time when counters were last written (in + seconds)"; + } + leaf seconds-since-last-clear-counters { + type uint32; + units "second"; + description + "Number of seconds since last clear counters"; + } + leaf last-discontinuity-time { + type uint32; + units "second"; + description + "SysUpTime when counters were last reset (in + seconds)"; + } + leaf seconds-since-packet-received { + type uint32; + units "second"; + description + "Seconds since packet received"; + } + leaf seconds-since-packet-sent { + type uint32; + units "second"; + description + "Seconds since packet sent"; + } + } + + grouping IFSTATSBAG-PROTO { + description + "Interface counters per protocol"; + leaf bytes-received { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf packets-received { + type uint64; + description + "Packets received"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf protocol { + type uint32; + description + "Protocol number"; + } + leaf last-data-time { + type uint32; + units "second"; + description + "Time when counters were last written (in + seconds)"; + } + leaf input-data-rate { + type uint64; + units "bit/s"; + description + "Input data rate in 1000's of bps"; + } + leaf input-packet-rate { + type uint64; + units "packet/s"; + description + "Input packets per second"; + } + leaf output-data-rate { + type uint64; + units "bit/s"; + description + "Output data rate in 1000's of bps"; + } + leaf output-packet-rate { + type uint64; + units "packet/s"; + description + "Output packets per second"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper.yang new file mode 100644 index 0000000..5927155 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-statsd-oper.yang @@ -0,0 +1,138 @@ +module Cisco-IOS-XR-infra-statsd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper"; + prefix infra-statsd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-statsd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-statsd package operational data. + + This module contains definitions + for the following management objects: + infra-statistics: Statistics Infrastructure + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DATA-RATE { + description + "Common node of latest, cache, total, interface"; + container data-rate { + description + "Datarate information"; + uses STATSDBAG-DATARATE; + } + } + + grouping PROTOCOL-TABLE { + description + "Common node of latest, cache, total, interface"; + container protocols { + description + "List of protocols"; + list protocol { + key "protocol-name"; + description + "Interface counters per protocol"; + leaf protocol-name { + type xr:Cisco-ios-xr-string; + description + "Name of the protocol"; + } + uses IFSTATSBAG-PROTO; + } + } + } + + grouping INTERFACES-MIB-COUNTERS { + description + "Common node of latest, cache, total, interface"; + container interfaces-mib-counters { + description + "Set of interface counters as displayed by the + InterfacesMIB"; + uses IFSTATSBAG-GENERIC; + } + } + + grouping GENERIC-COUNTERS { + description + "Common node of latest, cache, total, interface"; + container generic-counters { + description + "Generic set of interface counters"; + uses IFSTATSBAG-GENERIC; + } + } + + container infra-statistics { + config false; + description + "Statistics Infrastructure"; + container interfaces { + description + "List of interfaces"; + list interface { + key "interface-name"; + description + "Statistics of an interface"; + container cache { + description + "Cached stats data of interfaces"; + uses PROTOCOL-TABLE; + uses INTERFACES-MIB-COUNTERS; + uses DATA-RATE; + uses GENERIC-COUNTERS; + } + container latest { + description + "Latest stats data of interfaces"; + uses PROTOCOL-TABLE; + uses INTERFACES-MIB-COUNTERS; + uses DATA-RATE; + uses GENERIC-COUNTERS; + } + container total { + description + "Total stats data of interfaces"; + uses PROTOCOL-TABLE; + uses INTERFACES-MIB-COUNTERS; + uses DATA-RATE; + uses GENERIC-COUNTERS; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses PROTOCOL-TABLE; + uses INTERFACES-MIB-COUNTERS; + uses DATA-RATE; + uses GENERIC-COUNTERS; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-cfg.yang new file mode 100644 index 0000000..e9c6a80 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-cfg.yang @@ -0,0 +1,1469 @@ +module Cisco-IOS-XR-infra-syslog-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-cfg"; + prefix infra-syslog-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-syslog package configuration. + + This module contains definitions + for the following management objects: + syslog-service: Syslog Timestamp Services + syslog: syslog + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-31 { + description + "file path option provided in logging file config"; + } + revision 2016-06-22 { + description + "file path removed from logging file config"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Logging-tos { + type enumeration { + enum "precedence" { + value 0; + description + "Logging TOS type precedence"; + } + enum "dscp" { + value 1; + description + "Logging TOS type DSCP"; + } + } + description + "Logging tos"; + } + + typedef Logging-dscp-value { + type union { + type enumeration { + enum "default" { + value 0; + description + "Applicable to DSCP: bits 000000"; + } + enum "af11" { + value 10; + description + "Applicable to DSCP: bits 001010"; + } + enum "af12" { + value 12; + description + "Applicable to DSCP: bits 001100"; + } + enum "af13" { + value 14; + description + "Applicable to DSCP: bits 001110"; + } + enum "af21" { + value 18; + description + "Applicable to DSCP: bits 010010"; + } + enum "af22" { + value 20; + description + "Applicable to DSCP: bits 010100"; + } + enum "af23" { + value 22; + description + "Applicable to DSCP: bits 010110"; + } + enum "af31" { + value 26; + description + "Applicable to DSCP: bits 011010"; + } + enum "af32" { + value 28; + description + "Applicable to DSCP: bits 011100"; + } + enum "af33" { + value 30; + description + "Applicable to DSCP: bits 011110"; + } + enum "af41" { + value 34; + description + "Applicable to DSCP: bits 100010"; + } + enum "af42" { + value 36; + description + "Applicable to DSCP: bits 100100"; + } + enum "af43" { + value 38; + description + "Applicable to DSCP: bits 100110"; + } + enum "ef" { + value 46; + description + "Applicable to DSCP: bits 101110"; + } + enum "cs1" { + value 8; + description + "Applicable to DSCP: bits 001000"; + } + enum "cs2" { + value 16; + description + "Applicable to DSCP: bits 010000"; + } + enum "cs3" { + value 24; + description + "Applicable to DSCP: bits 011000"; + } + enum "cs4" { + value 32; + description + "Applicable to DSCP: bits 100000"; + } + enum "cs5" { + value 40; + description + "Applicable to DSCP: bits 101000"; + } + enum "cs6" { + value 48; + description + "Applicable to DSCP: bits 110000"; + } + enum "cs7" { + value 56; + description + "Applicable to DSCP: bits 111000"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Logging dscp value"; + } + + typedef Logging-precedence-value { + type union { + type enumeration { + enum "routine" { + value 0; + description + "Applicable to precedence: value 0"; + } + enum "priority" { + value 1; + description + "Applicable to precedence: value 1"; + } + enum "immediate" { + value 2; + description + "Applicable to precedence: value 2"; + } + enum "flash" { + value 3; + description + "Applicable to precedence: value 3"; + } + enum "flash-override" { + value 4; + description + "Applicable to precedence: value 4"; + } + enum "critical" { + value 5; + description + "Applicable to precedence: value 5"; + } + enum "internet" { + value 6; + description + "Applicable to precedence: value 6"; + } + enum "network" { + value 7; + description + "Applicable to precedence: value 7"; + } + } + type uint32 { + range "0..7"; + } + } + description + "Logging precedence value"; + } + + typedef Facility { + type enumeration { + enum "kern" { + value 0; + description + "Kernel Facility"; + } + enum "user" { + value 8; + description + "User Facility"; + } + enum "mail" { + value 16; + description + "Mail Facility"; + } + enum "daemon" { + value 24; + description + "Daemon Facility"; + } + enum "auth" { + value 32; + description + "Auth Facility"; + } + enum "syslog" { + value 40; + description + "Syslog Facility"; + } + enum "lpr" { + value 48; + description + "Lpr Facility"; + } + enum "news" { + value 56; + description + "News Facility"; + } + enum "uucp" { + value 64; + description + "Uucp Facility"; + } + enum "cron" { + value 72; + description + "Cron Facility"; + } + enum "authpriv" { + value 80; + description + "Authpriv Facility"; + } + enum "ftp" { + value 88; + description + "Ftp Facility"; + } + enum "local0" { + value 128; + description + "Local0 Facility"; + } + enum "local1" { + value 136; + description + "Local1 Facility"; + } + enum "local2" { + value 144; + description + "Local2 Facility"; + } + enum "local3" { + value 152; + description + "Local3 Facility"; + } + enum "local4" { + value 160; + description + "Local4 Facility"; + } + enum "local5" { + value 168; + description + "Local5 Facility"; + } + enum "local6" { + value 176; + description + "Local6 Facility"; + } + enum "local7" { + value 184; + description + "Local7 Facility"; + } + enum "sys9" { + value 192; + description + "System9 Facility"; + } + enum "sys10" { + value 200; + description + "System10 Facility"; + } + enum "sys11" { + value 208; + description + "System11 Facility"; + } + enum "sys12" { + value 216; + description + "System12 Facility"; + } + enum "sys13" { + value 224; + description + "System13 Facility"; + } + enum "sys14" { + value 232; + description + "System14 Facility"; + } + } + description + "Facility"; + } + + typedef Logging-dscp { + type enumeration { + enum "dscp" { + value 1; + description + "Logging TOS type DSCP"; + } + } + description + "Logging dscp"; + } + + typedef Logging-levels { + type enumeration { + enum "emergency" { + value 0; + description + "Emergency Level Msg"; + } + enum "alert" { + value 1; + description + "Alert Level Msg"; + } + enum "critical" { + value 2; + description + "Critical Level Msg"; + } + enum "error" { + value 3; + description + "Error Level Msg"; + } + enum "warning" { + value 4; + description + "Warning Level Msg"; + } + enum "notice" { + value 5; + description + "Notification Level Msg"; + } + enum "info" { + value 6; + description + "Informational Level Msg"; + } + enum "debug" { + value 7; + description + "Debugging Level Msg"; + } + enum "disable" { + value 15; + description + "Disable logging"; + } + } + description + "Logging levels"; + } + + typedef Logging-precedence { + type enumeration { + enum "precedence" { + value 0; + description + "Logging TOS type precedence"; + } + } + description + "Logging precedence"; + } + + typedef Time-info { + type enumeration { + enum "disable" { + value 0; + description + "Exclude"; + } + enum "enable" { + value 1; + description + "Include"; + } + } + description + "Time info"; + } + + typedef Log-message-severity { + type enumeration { + enum "emergency" { + value 0; + description + "System is unusable (severity=0)"; + } + enum "alert" { + value 1; + description + "Immediate action needed (severity=1)"; + } + enum "critical" { + value 2; + description + "Critical conditions (severity=2)"; + } + enum "error" { + value 3; + description + "Error conditions (severity=3)"; + } + enum "warning" { + value 4; + description + "Warning conditions (severity=4)"; + } + enum "notice" { + value 5; + description + "Normal but significant conditions (severity=5)"; + } + enum "informational" { + value 6; + description + "Informational messages (severity=6)"; + } + enum "debug" { + value 7; + description + "Debugging messages (severity=7)"; + } + } + description + "Log message severity"; + } + + typedef Log-collect-frequency { + type enumeration { + enum "weekly" { + value 1; + description + "Collect log in files on a weekly basis"; + } + enum "daily" { + value 2; + description + "Collect log in files on a daily basis"; + } + } + description + "Log collect frequency"; + } + + typedef Log-severity { + type enumeration { + enum "emergency" { + value 0; + description + "System is unusable (severity=0)"; + } + enum "alert" { + value 1; + description + "Immediate action needed (severity=1)"; + } + enum "critical" { + value 2; + description + "Critical conditions (severity=2)"; + } + enum "error" { + value 3; + description + "Error conditions (severity=3)"; + } + enum "warning" { + value 4; + description + "Warning conditions (severity=4)"; + } + enum "notice" { + value 5; + description + "Normal but significant conditions (severity=5)"; + } + enum "informational" { + value 6; + description + "Informational messages (severity=6)"; + } + enum "debug" { + value 7; + description + "Debugging messages (severity=7)"; + } + } + description + "Log severity"; + } + + container syslog-service { + description + "Syslog Timestamp Services"; + container timestamps { + description + "Timestamp debug/log messages configuration"; + container log { + description + "Timestamp log messages"; + container log-datetime { + description + "Timestamp with date and time"; + container log-datetime-value { + description + "Set timestamp for log message"; + leaf time-stamp-value { + type Time-info; + default "enable"; + description + "Time"; + } + leaf msec { + type Time-info; + units "second"; + default "enable"; + description + "Seconds"; + } + leaf time-zone { + type Time-info; + default "disable"; + description + "Timezone"; + } + leaf year { + type Time-info; + default "disable"; + description + "Year"; + } + } + } + leaf log-uptime { + type empty; + description + "Timestamp with systime uptime"; + } + leaf log-timestamp-disable { + type empty; + description + "Disable timestamp log messages"; + } + } + container debug { + description + "Timestamp debug messages"; + container debug-datetime { + description + "Timestamp with date and time"; + container datetime-value { + description + "Set time format for debug msg"; + leaf time-stamp-value { + type Time-info; + default "enable"; + description + "Time"; + } + leaf msec { + type Time-info; + units "second"; + default "enable"; + description + "Seconds"; + } + leaf time-zone { + type Time-info; + default "disable"; + description + "Timezone"; + } + leaf year { + type Time-info; + default "disable"; + description + "Year"; + } + } + } + leaf debug-timestamp-disable { + type empty; + description + "Disable timestamp debug messages"; + } + leaf debug-uptime { + type empty; + description + "Timestamp with systime uptime"; + } + } + leaf enable { + type empty; + description + "Enable timestamp debug/log messages"; + } + } + } + container syslog { + description + "syslog"; + container monitor-logging { + description + "Set monitor logging"; + container monitor-discriminator { + description + "Set monitor logging discriminators"; + leaf match2 { + type string; + description + "Set monitor logging match2 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set monitor logging no-match1 discriminator"; + } + leaf match1 { + type string; + description + "Set monitor logging match1 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set monitor logging no-match3 discriminator"; + } + leaf match3 { + type string; + description + "Set monitor logging match3 discriminator"; + } + leaf nomatch2 { + type string; + description + "Set monitor logging no-match2 discriminator"; + } + } + leaf logging-level { + type Logging-levels; + default "debug"; + description + "Monitor Logging Level"; + } + } + container history-logging { + description + "Set history logging"; + leaf history-size { + type uint32 { + range "1..500"; + } + default "1"; + description + "Logging history size"; + } + leaf logging-level { + type Logging-levels; + default "warning"; + description + "History logging level"; + } + } + container logging-facilities { + description + "Modify message logging facilities"; + leaf facility-level { + type Facility; + default "local7"; + description + "Facility from which logging is done"; + } + } + container trap-logging { + description + "Set trap logging"; + leaf logging-level { + type Logging-levels; + default "info"; + description + "Trap logging level"; + } + } + container buffered-logging { + description + "Set buffered logging parameters"; + container buffered-discriminator { + description + "Set buffered logging discriminators"; + leaf match2 { + type string; + description + "Set buffered logging match2 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set buffered logging no-match1 discriminator"; + } + leaf match1 { + type string; + description + "Set buffered logging match1 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set buffered logging no-match3 discriminator"; + } + leaf match3 { + type string; + description + "Set buffered logging match3 discriminator"; + } + leaf nomatch2 { + type string; + description + "Set buffered logging no-match2 discriminator"; + } + } + leaf logging-level { + type Logging-levels; + default "debug"; + description + "Logging level for Buffered logging"; + } + leaf buffer-size { + type uint32 { + range "4096..4294967295"; + } + default "2097152"; + description + "Logging buffered size"; + } + } + container host-server { + description + "Configure logging host"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF specific data"; + container ipv6s { + description + "List of the IPv6 logging host"; + list ipv6 { + must "ipv6-severity-port" { + description + "ipv6-severity-port must be present."; + } + key "address"; + description + "IPv6 address of the logging host"; + container ipv6-severity-port { + presence "Indicates ipv6-severity-port container is configured."; + description + "Severity/Port for the logging host"; + leaf severity { + type int32; + default "6"; + description + "Severity for the logging host"; + } + leaf port { + type int32; + default "514"; + description + "Port for the logging host"; + } + } + container ipv6-discriminator { + description + "Set IPv6 logging discriminators"; + leaf nomatch2 { + type string; + description + "Set IPv6 logging no-match2 discriminator"; + } + leaf match3 { + type string; + description + "Set IPv6 logging match3 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set IPv6 logging no-match3 discriminator"; + } + leaf match1 { + type string; + description + "Set IPv6 logging match1 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set IPv6 logging no-match1 discriminator"; + } + leaf match2 { + type string; + description + "Set IPv6 logging match2 discriminator"; + } + } + container ipv6-severity-levels { + status obsolete; + description + "Severity container of the logging host"; + list ipv6-severity-level { + key "severity"; + status obsolete; + description + "Severity for the logging host"; + leaf severity { + type Log-severity; + description + "Severity for the logging host"; + } + } + } + leaf address { + type inet:ipv6-address-no-zone; + description + "IPv6 address of the logging host"; + } + } + } + container hosts { + description + "List of the logging host"; + list host { + must "host-severity-port" { + description + "host-severity-port must be present."; + } + key "host-name"; + description + "Name of the logging host"; + container host-name-severities { + status obsolete; + description + "Severity container of the logging host"; + list host-name-severity { + key "severity"; + status obsolete; + description + "Severity for the logging host"; + leaf severity { + type Log-severity; + description + "Severity for the logging host"; + } + } + } + container host-name-discriminator { + description + "Set Hostname logging discriminators"; + leaf nomatch2 { + type string; + description + "Set hostname logging no-match2 + discriminator"; + } + leaf match3 { + type string; + description + "Set hostname logging match3 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set hostname logging no-match3 + discriminator"; + } + leaf match1 { + type string; + description + "Set hostname logging match1 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set hostname logging no-match1 + discriminator"; + } + leaf match2 { + type string; + description + "Set hostname logging match2 discriminator"; + } + } + container host-severity-port { + presence "Indicates host-severity-port container is configured."; + description + "Severity/Port for the logging host"; + leaf severity { + type int32; + default "6"; + description + "Severity for the logging host"; + } + leaf port { + type int32; + default "514"; + description + "Port for the logging host"; + } + } + leaf host-name { + type string; + description + "Name of the logging host"; + } + } + } + container ipv4s { + description + "List of the IPv4 logging host"; + list ipv4 { + must "ipv4-severity-port" { + description + "ipv4-severity-port must be present."; + } + key "address"; + description + "IPv4 address of the logging host"; + container ipv4-severity-levels { + status obsolete; + description + "Severity container of the logging host"; + list ipv4-severity-level { + key "severity"; + status obsolete; + description + "Severity for the logging host"; + leaf severity { + type Log-severity; + description + "Severity for the logging host"; + } + } + } + container ipv4-severity-port { + presence "Indicates ipv4-severity-port container is configured."; + description + "Severity/Port for the logging host"; + leaf severity { + type int32; + default "6"; + description + "Severity for the logging host"; + } + leaf port { + type int32; + default "514"; + description + "Port for the logging host"; + } + } + container ipv4-discriminator { + description + "Set IPv4 logging discriminators"; + leaf nomatch2 { + type string; + description + "Set IPv4 logging no-match2 discriminator"; + } + leaf match3 { + type string; + description + "Set IPv4 logging match3 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set IPv4 logging no-match3 discriminator"; + } + leaf match1 { + type string; + description + "Set IPv4 logging match1 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set IPv4 logging no-match1 discriminator"; + } + leaf match2 { + type string; + description + "Set IPv4 logging match2 discriminator"; + } + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the logging host"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + } + container console-logging { + description + "Set console logging"; + container console-discriminator { + description + "Set console logging discriminators"; + leaf match2 { + type string; + description + "Set console logging match2 discriminator"; + } + leaf nomatch1 { + type string; + description + "Set console logging no-match1 discriminator"; + } + leaf match1 { + type string; + description + "Set console logging match1 discriminator"; + } + leaf nomatch3 { + type string; + description + "Set console logging no-match3 discriminator"; + } + leaf match3 { + type string; + description + "Set console logging match3 discriminator"; + } + leaf nomatch2 { + type string; + description + "Set console logging no-match2 discriminator"; + } + } + leaf logging-level { + type Logging-levels; + default "warning"; + description + "Console logging level"; + } + } + container files { + description + "Configure logging file destination"; + list file { + key "file-name"; + description + "Specify File Name"; + container file-specification { + description + "Specifications of the logging file destination"; + leaf path { + type string; + description + "File path"; + } + leaf max-file-size { + type int32; + default "1024"; + description + "Maximum file size (in KB)"; + } + leaf severity { + type int32; + default "6"; + description + "Severity of messages"; + } + } + container file-log-discriminator { + description + "Set File logging discriminators"; + leaf nomatch2 { + type string; + description + "Set file logging no match discriminator 2"; + } + leaf match3 { + type string; + description + "Set file logging match discriminator 3"; + } + leaf nomatch3 { + type string; + description + "Set file logging no match discriminator 3"; + } + leaf match1 { + type string; + description + "Set file logging match discriminator 1"; + } + leaf nomatch1 { + type string; + description + "Set file logging no match discriminator 1"; + } + leaf match2 { + type string; + description + "Set file logging match discriminator 2"; + } + } + leaf file-name { + type xr:Cisco-ios-xr-string; + description + "Name of the file"; + } + } + } + container ipv4 { + description + "Syslog TOS bit for outgoing messages"; + container dscp { + presence "Indicates a dscp node is configured."; + status obsolete; + description + "DSCP value"; + leaf type { + type Logging-dscp; + mandatory true; + description + "Logging TOS type DSCP"; + } + leaf unused { + type Logging-precedence-value; + description + "Unused"; + } + leaf value { + type Logging-dscp-value; + mandatory true; + description + "Logging DSCP value"; + } + } + container tos { + description + "Type of service"; + leaf type { + type Logging-tos; + description + "Logging TOS type DSCP or precedence"; + } + leaf precedence { + when "../type = 'precedence'" { + description + "../Type = Precedence"; + } + type Logging-precedence-value; + description + "Logging precedence value"; + } + leaf dscp { + when "../type = 'dscp'" { + description + "../Type = DSCP"; + } + type Logging-dscp-value; + description + "Logging DSCP value"; + } + } + container precedence { + presence "Indicates a precedence node is configured."; + status obsolete; + description + "Precedence value"; + leaf type { + type Logging-precedence; + mandatory true; + description + "Logging TOS type precedence"; + } + leaf value { + type Logging-precedence-value; + mandatory true; + description + "Logging precedence value"; + } + leaf unused { + type Logging-dscp-value; + description + "Unused"; + } + } + } + container archive { + description + "Archive attributes configuration"; + leaf size { + type uint32 { + range "1..2047"; + } + description + "The total size of the archive"; + } + leaf file-size { + type uint32 { + range "1..2047"; + } + description + "The maximum file size for a single log file."; + } + leaf device { + type string; + description + "'/disk0:' or '/disk1:' or '/harddisk:'"; + } + leaf threshold { + type uint32 { + range "1..99"; + } + units "percentage"; + description + "The size threshold at which a syslog is + generated"; + } + leaf frequency { + type Log-collect-frequency; + description + "The collection interval for logs"; + } + leaf severity { + type Log-message-severity; + description + "The minimum severity of log messages to archive"; + } + leaf length { + type uint32 { + range "1..256"; + } + description + "The maximum number of weeks of log to maintain"; + } + } + container ipv6 { + description + "Syslog traffic class bit for outgoing messages"; + container dscp { + presence "Indicates a dscp node is configured."; + status obsolete; + description + "DSCP value"; + leaf type { + type Logging-dscp; + mandatory true; + description + "Logging TOS type DSCP"; + } + leaf unused { + type Logging-precedence-value; + description + "Unused"; + } + leaf value { + type Logging-dscp-value; + mandatory true; + description + "Logging DSCP value"; + } + } + container traffic-class { + description + "Type of traffic class"; + leaf type { + type Logging-tos; + description + "Logging TOS type DSCP or precedence"; + } + leaf precedence { + when "../type = 'precedence'" { + description + "../Type = Precedence"; + } + type Logging-precedence-value; + description + "Logging precedence value"; + } + leaf dscp { + when "../type = 'dscp'" { + description + "../Type = DSCP"; + } + type Logging-dscp-value; + description + "Logging DSCP value"; + } + } + container precedence { + presence "Indicates a precedence node is configured."; + status obsolete; + description + "Precedence value"; + leaf type { + type Logging-precedence; + mandatory true; + description + "Logging TOS type precedence"; + } + leaf value { + type Logging-precedence-value; + mandatory true; + description + "Logging precedence value"; + } + leaf unused { + type Logging-dscp-value; + description + "Unused"; + } + } + } + container source-interface-table { + description + "Configure source interface"; + container source-interface-values { + description + "Specify interface for source address in logging + transactions"; + list source-interface-value { + key "src-interface-name-value"; + description + "Source interface"; + container source-interface-vrfs { + description + "Configure source interface VRF"; + list source-interface-vrf { + key "vrf-name"; + description + "Specify VRF for source interface"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + leaf src-interface-name-value { + type xr:Interface-name; + description + "Which Interface"; + } + } + } + } + leaf host-name-prefix { + type string; + description + "Hostname prefix to add on msgs to servers"; + } + leaf local-log-file-size { + type uint32 { + range "0..4294967295"; + } + default "32768"; + description + "Set size of the local log file"; + } + leaf enable-console-logging { + type boolean; + description + "Enabled or disabled"; + } + leaf suppress-duplicates { + type empty; + description + "Suppress consecutive duplicate messages"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper-sub1.yang new file mode 100644 index 0000000..1128ce3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper-sub1.yang @@ -0,0 +1,355 @@ +submodule Cisco-IOS-XR-infra-syslog-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-syslog-oper { + prefix Cisco-IOS-XR-infra-syslog-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-syslog package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-24 { + description + "Schema added for Show logging files CLI"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef System-message-severity { + type enumeration { + enum "message-severity-unknown" { + value -1; + description + "Unknown"; + } + enum "message-severity-emergency" { + value 0; + description + "Emergency"; + } + enum "message-severity-alert" { + value 1; + description + "Alert"; + } + enum "message-severity-critical" { + value 2; + description + "Critical"; + } + enum "message-severity-error" { + value 3; + description + "Error"; + } + enum "message-severity-warning" { + value 4; + description + "Warning"; + } + enum "message-severity-notice" { + value 5; + description + "Notice"; + } + enum "message-severity-informational" { + value 6; + description + "Informational"; + } + enum "message-severity-debug" { + value 7; + description + "Debug"; + } + } + description + "System message severity"; + } + + grouping FILE-LOG-STATS { + description + "System log file destination statistics"; + leaf file-name { + type string; + description + "File name for logging messages"; + } + leaf message-count { + type uint32; + description + "Message count"; + } + } + + grouping TLS-REMOTE-LOG-STATS { + description + "System log tls remote statistics"; + leaf remote-host-name { + type string; + description + "TLS Remote hostname"; + } + leaf message-count { + type uint32; + description + "Message count"; + } + } + + grouping REMOTE-LOG-STATS { + description + "System log remote statistics"; + leaf remote-host-name { + type string; + description + "Remote hostname"; + } + leaf message-count { + type uint32; + description + "Message count"; + } + } + + grouping LOG-DEST-STATS { + description + "System log statistics"; + leaf is-log-enabled { + type boolean; + description + "Is log enabled"; + } + leaf severity { + type System-message-severity; + description + "Configured severity"; + } + leaf message-count { + type uint32; + description + "Message count"; + } + leaf buffer-size { + type uint32; + units "byte"; + description + "Buffer size in bytes if logging buffer isenabled"; + } + } + + grouping LOG-ENABLE-STATS { + description + "System log discard statistics"; + leaf is-log-enabled { + type boolean; + description + "Is log enabled"; + } + leaf drop-count { + type uint32; + description + "Number of messages dropped"; + } + leaf flush-count { + type uint32; + description + "Number of messages flushed"; + } + leaf overrun-count { + type uint32; + description + "Number of messages overrun"; + } + } + + grouping SYSTEM-MESSAGE-STATISTICS { + description + "System message statistics"; + container logging-stats { + description + "Logging statistics"; + uses LOG-ENABLE-STATS; + } + container console-logging-stats { + description + "Console logging statistics"; + uses LOG-DEST-STATS; + } + container monitor-logging-stats { + description + "Monitor loggingstatistics"; + uses LOG-DEST-STATS; + } + container trap-logging-stats { + description + "Trap logging statistics"; + uses LOG-DEST-STATS; + } + container buffer-logging-stats { + description + "Buffer logging statistics"; + uses LOG-DEST-STATS; + } + list remote-logging-stat { + description + "Remote logging statistics"; + uses REMOTE-LOG-STATS; + } + list tls-remote-logging-stat { + description + "TLS Remote logging statistics"; + uses TLS-REMOTE-LOG-STATS; + } + list file-logging-stat { + description + "File logging statistics"; + uses FILE-LOG-STATS; + } + } + + grouping SYSTEM-MESSAGE { + description + "System message"; + leaf card-type { + type string; + description + "Message card location: 'RP', 'DRP', 'LC', 'SC', + 'SP' or 'UNK' "; + } + leaf node-name { + type xr:Node-id; + description + "Message source location"; + } + leaf time-stamp { + type uint64; + units "millisecond"; + description + "Time in milliseconds since 00:00:00 UTC, January + 11970 of when message was generated"; + } + leaf time-of-day { + type string; + description + "Time of day of event in DDD MMM DD YYYY HH:MM + :SS format, e.g Wed Apr 01 2009 15:50:26"; + } + leaf time-zone { + type string; + description + "Time Zone in UTC+/-HH:MM format, e.g UTC+5:30, + UTC-6"; + } + leaf process-name { + type string; + description + "Process name"; + } + leaf category { + type string; + description + "Message category"; + } + leaf group { + type string; + description + "Message group"; + } + leaf message-name { + type string; + description + "Message name"; + } + leaf severity { + type System-message-severity; + description + "Message severity"; + } + leaf text { + type string; + description + "Additional message text"; + } + } + + grouping AN-REMOTE-LOG-SERVER { + description + "A System log AN remote log server structure"; + leaf ip-address { + type string; + description + "IP Address"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf vrf-severity { + type string; + description + "VRF Severity"; + } + leaf rh-discriminator { + type string; + description + "Remote-Host Discriminator"; + } + } + + grouping AN-REMOTE-LOG-SERVERS { + description + "System log All AN remote servers"; + list an-remote-log-server { + description + "AN Remote Log Servers"; + uses AN-REMOTE-LOG-SERVER; + } + } + + grouping FILE-LOG-DETAILS { + description + "System log file details"; + leaf file-path { + type string; + description + "File path for logging messages"; + } + leaf file-name { + type string; + description + "File name for logging messages"; + } + } + + grouping FILE-LOG-LIST-PATH { + description + "System log files list and path"; + list file-log-detail { + description + "Logging Files"; + uses FILE-LOG-DETAILS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper.yang new file mode 100644 index 0000000..30ff6fa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-syslog-oper.yang @@ -0,0 +1,96 @@ +module Cisco-IOS-XR-infra-syslog-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-syslog-oper"; + prefix infra-syslog-oper; + + include Cisco-IOS-XR-infra-syslog-oper-sub1 { + revision-date 2016-06-24; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-syslog package operational data. + + This module contains definitions + for the following management objects: + logging: Logging History data + syslog: syslog + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-24 { + description + "Schema added for Show logging files CLI"; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container logging { + config false; + description + "Logging History data"; + container history { + description + "Syslog Info "; + leaf properties { + type string; + description + "Syslog Properties"; + } + leaf message { + type string; + description + "Syslog Message"; + } + } + } + container syslog { + config false; + description + "syslog"; + container logging-files { + description + "Logging Files information"; + uses FILE-LOG-LIST-PATH; + } + container an-remote-servers { + description + "Logging AN remote servers information"; + uses AN-REMOTE-LOG-SERVERS; + } + container messages { + description + "Message table information"; + list message { + key "message-id"; + description + "A system message"; + leaf message-id { + type int32; + description + "Message ID of the system message"; + } + uses SYSTEM-MESSAGE; + } + } + container logging-statistics { + description + "Logging statistics information"; + uses SYSTEM-MESSAGE-STATISTICS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-systemmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-systemmib-cfg.yang new file mode 100644 index 0000000..6436d06 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-systemmib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-infra-systemmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-systemmib-cfg"; + prefix infra-systemmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-systemmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container system { + description + "CISCO-SYSTEM-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable ciscoSystemMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-cfg.yang new file mode 100644 index 0000000..654759c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-cfg.yang @@ -0,0 +1,191 @@ +module Cisco-IOS-XR-infra-tc-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-cfg"; + prefix infra-tc-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-tc package configuration. + + This module contains definitions + for the following management objects: + traffic-collector: Global Traffic Collector configuration + commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef History-size { + type union { + type enumeration { + enum "max" { + value 10; + description + "Max history"; + } + } + type uint32 { + range "1..10"; + } + } + description + "History size"; + } + + typedef Collect-ion-interval { + type enumeration { + enum "1-minute" { + value 1; + description + "Interval1minute"; + } + enum "2-minutes" { + value 2; + description + "Interval2minutes"; + } + enum "3-minutes" { + value 3; + description + "Interval3minutes"; + } + enum "4-minutes" { + value 4; + description + "Interval4minutes"; + } + enum "5-minutes" { + value 5; + description + "Interval5minutes"; + } + enum "6-minutes" { + value 6; + description + "Interval6minutes"; + } + enum "10-minutes" { + value 10; + description + "Interval10minutes"; + } + enum "12-minutes" { + value 12; + description + "Interval12minutes"; + } + enum "15-minutes" { + value 15; + description + "Interval15inutes"; + } + enum "20-minutes" { + value 20; + description + "Interval20minutes"; + } + enum "30-minutes" { + value 30; + description + "Interval30minutes"; + } + enum "60-minutes" { + value 60; + description + "Interval60minutes"; + } + } + description + "Collect ion interval"; + } + + typedef History-timeout { + type union { + type enumeration { + enum "max" { + value 720; + description + "Max timeout"; + } + } + type uint32 { + range "0..720"; + } + } + description + "History timeout"; + } + + container traffic-collector { + description + "Global Traffic Collector configuration commands"; + container external-interfaces { + description + "Configure external interfaces"; + list external-interface { + key "interface-name"; + description + "Configure an external internface"; + leaf enable { + type empty; + description + "Enable traffic collector on this interface"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + } + } + container statistics { + description + "Configure statistics related parameters"; + leaf history-size { + type History-size; + description + "Configure statistics history size"; + } + leaf collection-interval { + type Collect-ion-interval; + description + "Configure statistics collection interval"; + } + leaf enable-traffic-collector-statistics { + type empty; + description + "Enable traffic collector statistics"; + } + leaf history-timeout { + type History-timeout; + description + "Configure statistics history timeout interval"; + } + } + leaf enable-traffic-collector { + type empty; + description + "Enable traffic collector"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper-sub1.yang new file mode 100644 index 0000000..1128cfb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper-sub1.yang @@ -0,0 +1,302 @@ +submodule Cisco-IOS-XR-infra-tc-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-tc-oper { + prefix Cisco-IOS-XR-infra-tc-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-tc package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping TC-MGMT-MSG-STAT { + description + "TC Server Message Statistics"; + leaf packet-sent { + type uint64; + description + "Number of packets sent"; + } + leaf byte-sent { + type uint64; + units "byte"; + description + "Number of bytes sent"; + } + leaf packet-received { + type uint64; + description + "Number of packets received"; + } + leaf byte-received { + type uint64; + units "byte"; + description + "Number of bytes received"; + } + leaf maximum-roundtrip-latency { + type uint32; + description + "Maximum roundtrip latency in msec"; + } + leaf maimum-latency-timestamp { + type uint64; + description + "Timestamp of maximum latency"; + } + } + + grouping TC-MGMT-VRF-STAT { + description + "Statistics on VRF Table and its sub-tables"; + container database-statistics-ipv4 { + description + "Database statistics for IPv4 table"; + uses TC-MGMT-DB-STAT; + } + container database-statistics-tunnel { + description + "Database statistics for Tunnel table"; + uses TC-MGMT-DB-STAT; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + } + + grouping TC-MGMT-DB-STAT { + description + "Database statistics"; + leaf number-of-entries { + type uint32; + description + "Number of DB entries"; + } + leaf number-of-stale-entries { + type uint32; + description + "Number of stale entries"; + } + leaf number-of-add-o-perations { + type uint64; + description + "Number of add operations"; + } + leaf number-of-delete-o-perations { + type uint64; + description + "Number of delete operations"; + } + } + + grouping TC-MGMT-SUMMARY { + description + "TC Server Summary"; + container database-statistics-external-interface { + description + "Database statistics for External Interface"; + uses TC-MGMT-DB-STAT; + } + leaf collection-interval { + type uint8; + units "minute"; + description + "Statistic collection interval in minutes"; + } + leaf collection-timer-is-running { + type boolean; + description + "TRUE if collection timer is running"; + } + leaf timeout-interval { + type uint16; + units "hour"; + description + "Statistic history timeout interval in hours"; + } + leaf timeout-timer-is-running { + type boolean; + description + "TRUE if history timeout timer is running"; + } + leaf history-size { + type uint8; + description + "Statistics history size"; + } + list vrf-statistic { + description + "VRF table statistics"; + uses TC-MGMT-VRF-STAT; + } + list collection-message-statistic { + description + "Statistics per message type for STAT collector"; + uses TC-MGMT-MSG-STAT; + } + list checkpoint-message-statistic { + description + "Statistics per message type for Chkpt"; + uses TC-MGMT-MSG-STAT; + } + } + + grouping TC-MGMT-EXT-IF-DATA { + description + "TC Server external interface data"; + leaf interface-name-xr { + type string; + description + "Interface name in Display format"; + } + leaf interface-handle { + type uint32; + description + "Interface handle"; + } + leaf vrfid { + type uint32; + description + "Interface VRF ID"; + } + leaf is-interface-enabled { + type boolean; + description + "Flag to indicate interface enabled or not"; + } + } + + grouping TC-MGMT-TUNNEL-DATA { + description + "TC Server external interface data"; + container base-counter-statistics { + description + "Base counter statistics"; + uses TC-MGMT-COUNT-STATS; + } + leaf interface-name-xr { + type string; + description + "Interface name in Display format"; + } + leaf interface-handle { + type uint32; + description + "Interface handle"; + } + leaf vrfid { + type uint32; + description + "Interface VRF ID"; + } + leaf is-active { + type boolean; + description + "Interface is Active and collecting new + Statistics"; + } + } + + grouping TC-MGMT-COUNT-HISTORY { + description + "TC Server counter statistics"; + leaf event-start-timestamp { + type uint64; + description + "Event Start timestamp"; + } + leaf event-end-timestamp { + type uint64; + description + "Event End timestamp"; + } + leaf transmit-number-of-packets-switched { + type uint64; + description + "Number of packets switched in this interval"; + } + leaf transmit-number-of-bytes-switched { + type uint64; + units "byte"; + description + "Number of Bytes switched in this interval"; + } + leaf is-valid { + type boolean; + description + "Flag to indicate if this history entry is valid"; + } + } + + grouping TC-MGMT-COUNT-STATS { + description + "TC Server counter statistics"; + leaf transmit-packets-per-second-switched { + type uint64; + units "packet/s"; + description + "Average Rate of Packets/second switched"; + } + leaf transmit-bytes-per-second-switched { + type uint64; + units "byte/s"; + description + "Average Rate of Bytes/second switched"; + } + list count-history { + description + "Counter History"; + uses TC-MGMT-COUNT-HISTORY; + } + } + + grouping TC-MGMT-PREFIX-DATA { + description + "TC Server Prefix data"; + container base-counter-statistics { + description + "Base counter statistics"; + uses TC-MGMT-COUNT-STATS; + } + container traffic-matrix-counter-statistics { + description + "Traffic Matrix (TM) counter statistics"; + uses TC-MGMT-COUNT-STATS; + } + leaf prefix { + type string; + description + "Prefix Address (V4 or V6 Format)"; + } + leaf label-xr { + type uint32; + description + "Label"; + } + leaf is-active { + type boolean; + description + "Prefix is Active and collecting new Statistics"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper.yang new file mode 100644 index 0000000..40bd157 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-tc-oper.yang @@ -0,0 +1,163 @@ +module Cisco-IOS-XR-infra-tc-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper"; + prefix infra-tc-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-tc-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-tc package operational data. + + This module contains definitions + for the following management objects: + traffic-collector: Global Traffic Collector configuration + commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tc-oper-af-name { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4"; + } + enum "ipv6" { + value 1; + description + "IPv6"; + } + } + description + "Tc oper af name"; + } + + typedef Tc-oper-local-label { + type uint32 { + range "16..1048575"; + } + description + "Tc oper local label"; + } + + grouping AF-TABLE { + description + "Common node of default-vrf, traffic-collector"; + container afs { + description + "Address Family specific operational data"; + list af { + key "af-name"; + description + "Operational data for given Address Family"; + container counters { + description + "Show Counters"; + container prefixes { + description + "Prefix Database"; + list prefix { + description + "Show Prefix Counter"; + leaf ipaddr { + type xr:Cisco-ios-xr-string; + description + "IP Address"; + } + leaf mask { + type xr:Cisco-ios-xr-string; + description + "Prefix Mask"; + } + leaf label { + type Tc-oper-local-label; + description + "Local Label"; + } + uses TC-MGMT-PREFIX-DATA; + } + } + container tunnels { + description + "Tunnels"; + list tunnel { + key "interface-name"; + description + "Tunnel information"; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses TC-MGMT-TUNNEL-DATA; + } + } + } + leaf af-name { + type Tc-oper-af-name; + description + "Address Family name"; + } + } + } + } + + container traffic-collector { + config false; + description + "Global Traffic Collector configuration commands"; + container external-interfaces { + description + "External Interface"; + list external-interface { + key "interface-name"; + description + "External Interface "; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses TC-MGMT-EXT-IF-DATA; + } + } + container summary { + description + "Traffic Collector summary"; + uses TC-MGMT-SUMMARY; + } + container vrf-table { + description + "VRF specific operational data"; + container default-vrf { + description + "DefaultVRF specific operational data"; + uses AF-TABLE; + } + } + uses AF-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-cfg.yang new file mode 100644 index 0000000..9747b5a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-cfg.yang @@ -0,0 +1,769 @@ +module Cisco-IOS-XR-infra-xtc-agent-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-agent-cfg"; + prefix infra-xtc-agent-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-segment-routing-ms-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc-agent package configuration. + + This YANG module augments the + Cisco-IOS-XR-segment-routing-ms-cfg + module with configuration data. + + Copyright (c) 2013-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-11 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Xtc-metric-value { + type enumeration { + enum "relative" { + value 1; + description + "Relative metric value"; + } + enum "absolute" { + value 2; + description + "Absolute metric value"; + } + } + description + "Xtc metric value"; + } + + typedef Xtc-binding-sidexplicit-rule { + type enumeration { + enum "fallback-dynamic" { + value 1; + description + "Fallback dynamic option"; + } + enum "enforce-srlb" { + value 2; + description + "SRLB enforcement option"; + } + } + description + "Xtc binding sidexplicit rule"; + } + + typedef Xtc-path-hop { + type enumeration { + enum "mpls" { + value 1; + description + "Segment-routing MPLS"; + } + enum "srv6" { + value 2; + description + "Segment-routing v6"; + } + } + description + "Xtc path hop"; + } + + typedef Xtc-affinity-rule { + type enumeration { + enum "affinity-include-all" { + value 0; + description + "Include-all affinity rule"; + } + enum "affinity-exclude-any" { + value 1; + description + "Exclude-any affinity rule"; + } + enum "affinity-include-any" { + value 2; + description + "Include-any affinity rule"; + } + } + description + "Xtc affinity rule"; + } + + typedef Xtc-path { + type enumeration { + enum "explicit" { + value 1; + description + "Explicit"; + } + enum "dynamic" { + value 2; + description + "Dynamic"; + } + } + description + "Xtc path"; + } + + typedef Xtc-metric { + type enumeration { + enum "igp" { + value 1; + description + "IGP metric type"; + } + enum "te" { + value 2; + description + "TE metric type"; + } + } + description + "Xtc metric"; + } + + typedef Xtc-segment { + type enumeration { + enum "ipv4-address" { + value 1; + description + "IPv4 Address"; + } + enum "mpls-label" { + value 3; + description + "MPLS Label"; + } + } + description + "Xtc segment"; + } + + typedef Xtc-binding-sid { + type enumeration { + enum "mpls-label-specified" { + value 1; + description + "Use specified BSID MPLS label"; + } + enum "mpls-label-any" { + value 2; + description + "Allocate BSID MPLS label"; + } + } + description + "Xtc binding sid"; + } + + typedef Xtc-disjointness { + type enumeration { + enum "link" { + value 1; + description + "Link Disjointness"; + } + enum "node" { + value 2; + description + "Node Disjointness"; + } + enum "srlg" { + value 3; + description + "SRLG Disjointness"; + } + enum "srlg-node" { + value 4; + description + "SRLG Node Disjointness"; + } + } + description + "Xtc disjointness"; + } + + typedef Xtc-end-point { + type enumeration { + enum "end-point-type-ipv4" { + value 1; + description + "IPv4 endpoint address"; + } + enum "end-point-type-ipv6" { + value 2; + description + "IPv6 endpoint address"; + } + } + description + "Xtc end point"; + } + + grouping ENABLE { + description + "Common node of traffic-engineering, policy, + segment-list, candidate-paths, preference, + path-info, pce, metric, constraints, + srte-interface, on-demand-color"; + leaf enable { + type empty; + description + "True only"; + } + } + + augment "/a1:sr" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-segment-routing-ms-cfg'"; + container traffic-engineering { + description + "Traffic Engineering configuration data"; + container on-demand-colors { + description + "On-demand color configuration"; + list on-demand-color { + key "color"; + description + "On-demand color configuration"; + container on-demand-color-dyn-mpls { + description + "Dynamic MPLS path properties"; + container on-demand-color-dyn-mpls-metric { + description + "Metric type"; + leaf metric-type { + type Xtc-metric; + description + "Metric Type"; + } + leaf enable { + type empty; + description + "Metric submode Enable"; + } + } + container on-demand-color-dyn-mpls-pce { + description + "Use Path Computation Element"; + leaf enable { + type empty; + description + "PCE submode Enable"; + } + } + container disjoint-path { + presence "Indicates a disjoint-path node is configured."; + description + "Disjoint path"; + leaf group-id { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Group ID"; + } + leaf disjointness-type { + type Xtc-disjointness; + mandatory true; + description + "Disjointness Type"; + } + leaf sub-id { + type uint32 { + range "1..65535"; + } + description + "Sub ID"; + } + } + leaf enable { + type empty; + description + "Dynamic MPLS path properties submode Enable"; + } + } + leaf color { + type uint32 { + range "1..4294967295"; + } + description + "Color"; + } + uses ENABLE; + } + } + container segments { + description + "Segment-lists configuration"; + list segment { + key "path-name"; + description + "Segment-list configuration"; + container segments { + description + "Segments/hops configuration for given + Segment-list"; + list segment { + key "segment-index"; + description + "Configure Segment/hop at the index"; + leaf segment-index { + type uint32 { + range "1..65535"; + } + description + "Segment index"; + } + leaf segment-type { + type Xtc-segment; + description + "Segment/hop type"; + } + leaf address { + when "../segment-type = 'ipv4-address'" { + description + "../SegmentType = IPv4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPv4 Address"; + } + leaf mpls-label { + when "../segment-type = 'mpls-label'" { + description + "../SegmentType = MPLSLabel"; + } + type uint32 { + range "0..1048575"; + } + description + "MPLS Label"; + } + } + } + leaf path-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Segment-list name"; + } + uses ENABLE; + } + } + container logging { + description + "Logging configuration"; + leaf policy-status { + type empty; + description + "Enable logging for policy status"; + } + } + container binding-sid-rules { + description + "Binding sid rules"; + container explicit { + description + "Binding sid explicit options"; + leaf rule { + type Xtc-binding-sidexplicit-rule; + description + "Binding sid explicit rule"; + } + } + } + container policies { + description + "Policy configuration"; + list policy { + key "policy-name"; + description + "Policy configuration"; + container binding-sid { + description + "Binding Segment ID"; + leaf binding-sid-type { + type Xtc-binding-sid; + description + "Binding SID type"; + } + leaf mpls-label { + when "../binding-sid-type = 'mpls-label-specified'" { + description + "../BindingSIDType = MPLSLabelSpecified"; + } + type uint32 { + range "16..1048575"; + } + description + "MPLS Label"; + } + } + container policy-color-endpoint { + presence "Indicates a policy-color-endpoint node is configured."; + description + "Color and endpoint of a policyColor, + EndPointType, Endpoint"; + leaf color { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Color"; + } + leaf end-point-type { + type Xtc-end-point; + mandatory true; + description + "End point type"; + } + leaf end-point-address { + type inet:ip-address-no-zone; + mandatory true; + description + "End point address"; + } + } + container candidate-paths { + description + "Policy candidate-paths configuration"; + container preferences { + description + "Policy path-option preference table"; + list preference { + key "path-index"; + description + "Policy path-option preference entry"; + container constraints { + description + "SR path computation and verification + constraints"; + container affinity-rules { + description + "SR path computation and verification + affinity rules"; + list affinity-rule { + key "rule color"; + description + "SR path computation and verification + affinity rule"; + leaf rule { + type Xtc-affinity-rule; + description + "Path-option preference"; + } + leaf color { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "The color"; + } + } + } + uses ENABLE; + } + container path-infos { + description + "Policy path-option preference + configuration"; + list path-info { + key "type hop-type segment-list-name"; + description + "Policy configuration"; + container pce { + description + "PCE configuration for the candidate-path + . Valid only for dynamic candidate-paths + ."; + uses ENABLE; + } + container metric { + description + "Metric configuration, valid only for + dynamic path-options"; + container margin { + description + "Metric type"; + leaf value-type { + type Xtc-metric-value; + description + "Metric value type"; + } + leaf absolute-value { + when "../value-type = 'absolute'" { + description + "../ValueType = Absolute"; + } + type uint32 { + range "0..2147483647"; + } + description + "Absolute metric value"; + } + leaf relative-value { + when "../value-type = 'relative'" { + description + "../ValueType = Relative"; + } + type uint32 { + range "0..100"; + } + description + "Relative metric value"; + } + } + leaf sid-limit { + type uint32 { + range "0..255"; + } + description + "Maximum number of SIDs"; + } + leaf metric-type { + type Xtc-metric; + description + "Metric type"; + } + uses ENABLE; + } + leaf weight { + type int32; + description + "Path-option weight"; + } + leaf type { + type Xtc-path; + description + "Path-option type"; + } + leaf hop-type { + type Xtc-path-hop; + description + "Type of dynamic path to be computed"; + } + leaf segment-list-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Segment-list name"; + } + uses ENABLE; + } + } + leaf path-index { + type uint32 { + range "1..65535"; + } + description + "Path-option preference"; + } + uses ENABLE; + } + } + uses ENABLE; + } + leaf shutdown { + type empty; + description + "Administratively shutdown policy"; + } + leaf policy-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Policy name"; + } + uses ENABLE; + } + } + container srte-interfaces { + description + "SR-TE interfaces"; + list srte-interface { + key "srte-interface-name"; + description + "SR-TE interface"; + container interface-affinities { + description + "Set user defined interface attribute flags"; + list interface-affinity { + key "color"; + description + "Set user defined interface attribute flags"; + leaf color { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Interface affinity colors"; + } + } + } + leaf srte-interface-name { + type xr:Interface-name; + description + "SR-TE Interface name"; + } + uses ENABLE; + } + } + container pcc { + description + "Path Computation Client"; + container pce-peers { + description + "PCE peer configuration"; + list pce-peer { + key "pce-address"; + description + "PCE peer"; + leaf enable { + type empty; + description + "PCC Peer Enable"; + } + leaf precedence { + type uint32 { + range "0..255"; + } + description + "Precedence value of this PCE"; + } + leaf pce-address { + type inet:ip-address-no-zone; + description + "Remote PCE address"; + } + } + } + container pce-addresses { + description + "PCE peer configuration"; + list pce-address { + key "pce-address"; + description + "PCE peer address"; + leaf pce-address { + type inet:ip-address-no-zone; + description + "Remote PCE address"; + } + leaf precedence { + type uint32 { + range "0..255"; + } + mandatory true; + description + "Precedence value of this PCE"; + } + } + } + leaf dead-timer-interval { + type uint32 { + range "1..255"; + } + description + "Amount of time after which the peer can + declare this session down, if no PCEP message + has been received"; + } + leaf report-all { + type empty; + description + "Report all local SR policies to connected PCEP + peers"; + } + leaf keepalive-timer-interval { + type uint32 { + range "0..255"; + } + description + "Maximum time between two consecutive PCEP + messages sent by this node"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "Local source IP address to use on PCEP + sessions"; + } + leaf enable { + type empty; + description + "PCC Enable"; + } + leaf delegation-timeout { + type uint32 { + range "0..3600"; + } + description + "The maximum time delegated SR-TE policies can + remain up without an active connection to a + PCE"; + } + } + container affinity-maps { + description + "Affinity-map configuration"; + list affinity-map { + key "color"; + description + "Affinity-map entry"; + leaf color { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Affinity-map bit-position"; + } + leaf bit-position { + type uint32 { + range "0..31"; + } + mandatory true; + description + "Affinity-map bit-position"; + } + } + } + uses ENABLE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub1.yang new file mode 100644 index 0000000..0577785 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub1.yang @@ -0,0 +1,1161 @@ +submodule Cisco-IOS-XR-infra-xtc-agent-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-xtc-agent-oper { + prefix Cisco-IOS-XR-infra-xtc-agent-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc-agent package operational data. + + Copyright (c) 2013-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-11 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Xtc-sid1 { + type enumeration { + enum "sr-protected-adj-sid" { + value 1; + description + "Protected Adjacency SID"; + } + enum "sr-unprotected-adj-sid" { + value 2; + description + "Unprotected Adjacency SID"; + } + enum "sr-bgp-egress-peer-engineering-sid" { + value 3; + description + "BGP egress peer engineering SID"; + } + enum "sr-reqular-prefix-sid" { + value 4; + description + "Regular prefix SID"; + } + enum "sr-strict-prefix-sid" { + value 5; + description + "Strict prefix SID"; + } + } + description + "XTC SID Types"; + } + + typedef Xtc-igp-info-id { + type enumeration { + enum "isis" { + value 1; + description + "ISIS"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + enum "bgp" { + value 3; + description + "BGP"; + } + } + description + "IGP IDs"; + } + + typedef Xtc-disjointness { + type enumeration { + enum "no-disjointness" { + description + "No Disjointness"; + } + enum "link-disjointness" { + description + "Link disjointness"; + } + enum "node-disjointness" { + description + "Node disjointness"; + } + enum "srlg-disjointness" { + description + "SRLG disjointness"; + } + enum "srlg-node-disjointness" { + description + "SRLG-Node disjointness"; + } + } + description + "XTC policy path type"; + } + + typedef Xtc-sr-sid { + type enumeration { + enum "ipv4-node-sid" { + description + "IPv4 Node SID"; + } + enum "ipv4-adjacency-sid" { + description + "IPv4 Adjacency SID"; + } + enum "unknown-sid" { + description + "Unknown SID"; + } + } + description + "XTC SR SID type"; + } + + typedef Xtc-policy-path { + type enumeration { + enum "explicit" { + description + "Explicit path"; + } + enum "dynamic" { + description + "Dynamic path"; + } + enum "dynamic-pce" { + description + "Dynamic PCE-based path"; + } + } + description + "XTC policy path type"; + } + + typedef Xtc-bsid-error { + type enumeration { + enum "none" { + description + "No error"; + } + enum "allocating" { + description + "Error allocating via LSD"; + } + enum "exists" { + description + "Explicitly configured BSID already exists"; + } + enum "internal" { + description + "Internal error"; + } + enum "color-endpoint-exists" { + description + "Configured BSID used by another color/end-point"; + } + enum "forwarding-rewrite-error" { + description + "BSID Forwarding rewrite (label xconnect) failed"; + } + enum "srlb-invalid-label" { + description + "BSID not valid within SRLB range"; + } + } + description + "Xtc bsid error"; + } + + typedef Xtc-bsid-mode { + type enumeration { + enum "explicit" { + description + "Explicit binding SID"; + } + enum "dynamic" { + description + "Dynamic binding SID"; + } + } + description + "XTC BSID MODE type"; + } + + typedef Xtc-sid { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "mpls" { + value 1; + description + "MPLS"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Xtc sid"; + } + + typedef Xtc-ipv6-address { + type inet:ipv6-address; + description + "Xtc ipv6 address"; + } + + typedef Xtc-ipv4-address { + type inet:ipv4-address; + description + "Xtc ipv4 address"; + } + + typedef Xtc-af-id { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Xtc af id"; + } + + grouping XTC-PFX-BAG { + description + "XTC Prefix Information"; + container node-protocol-identifier { + description + "Node protocol identifier"; + uses XTC-NODE-PID-BAG; + } + leaf node-identifier-xr { + type uint32; + description + "Node identifier"; + } + list address { + description + "Prefix address"; + uses XTC-IP-ADDR-TYPE; + } + } + + grouping XTC-IPV6-LINK-BAG { + description + "XTC IPv6 Link Information"; + container local-igp-information { + description + "Local node IGP information"; + uses XTC-IGP-INFO-BAG; + } + container remote-node-protocol-identifier { + description + "Remote node protocol identifier"; + uses XTC-NODE-PID-BAG; + } + leaf local-ipv6-address { + type inet:ipv6-address; + description + "Local IPv6 address"; + } + leaf remote-ipv6-address { + type inet:ipv6-address; + description + "Remote IPv6 address"; + } + leaf igp-metric { + type uint32; + description + "IGP Metric"; + } + leaf te-metric { + type uint32; + description + "TE Metric"; + } + leaf maximum-link-bandwidth { + type uint64; + description + "Max link bandwidth"; + } + leaf max-reservable-bandwidth { + type uint64; + description + "Max Reservable bandwidth"; + } + list adjacency-sid { + description + "Adjacency SIDs"; + uses XTC-SID-BAG; + } + } + + grouping XTC-IPV4-LINK-BAG { + description + "XTC IPv4 Link Information"; + container local-igp-information { + description + "Local node IGP information"; + uses XTC-IGP-INFO-BAG; + } + container remote-node-protocol-identifier { + description + "Remote node protocol identifier"; + uses XTC-NODE-PID-BAG; + } + leaf local-ipv4-address { + type inet:ipv4-address; + description + "Local IPv4 address"; + } + leaf remote-ipv4-address { + type inet:ipv4-address; + description + "Remote IPv4 address"; + } + leaf igp-metric { + type uint32; + description + "IGP Metric"; + } + leaf te-metric { + type uint32; + description + "TE Metric"; + } + leaf maximum-link-bandwidth { + type uint64; + description + "Max link bandwidth"; + } + leaf max-reservable-bandwidth { + type uint64; + description + "Max Reservable bandwidth"; + } + leaf administrative-groups { + type uint32; + description + "Link admin-groups"; + } + leaf-list srlgs { + type uint32; + description + "SRLG Values"; + } + list adjacency-sid { + description + "Adjacency SIDs"; + uses XTC-SID-BAG; + } + } + + grouping XTC-SID-BAG { + description + "XTC SID bags"; + container sid-prefix { + description + "Prefix"; + uses XTC-IP-ADDR-TYPE; + } + leaf sid-type { + type Xtc-sid1; + description + "SID Type"; + } + leaf algorithm { + type uint32; + description + "Prefix-SID algorithm number"; + } + leaf mpls-label { + type uint32; + description + "MPLS Label"; + } + } + + grouping XTC-IGP-INFO-BGP { + description + "XTC BGP Information"; + leaf router-id { + type Xtc-ipv4-address; + description + "BGP router ID"; + } + } + + grouping XTC-IGP-INFO-OSPF { + description + "XTC OSPF Information"; + leaf router-id { + type Xtc-ipv4-address; + description + "OSPF router ID"; + } + leaf area { + type uint32; + description + "OSPF area"; + } + } + + grouping XTC-IGP-INFO-ISIS { + description + "XTC ISIS Information"; + leaf system-id { + type string; + description + "ISIS system ID"; + } + leaf level { + type uint32; + description + "ISIS level"; + } + } + + grouping XTC-IGP-INFO-TYPE { + description + "XTC IGP INFO TYPE"; + container isis { + when "../igp-id = 'isis'" { + description + "../IGP_ID = 'ISIS'"; + } + description + "ISIS information"; + uses XTC-IGP-INFO-ISIS; + } + container ospf { + when "../igp-id = 'ospf'" { + description + "../IGP_ID = 'OSPF'"; + } + description + "OSPF information"; + uses XTC-IGP-INFO-OSPF; + } + container bgp { + when "../igp-id = 'bgp'" { + description + "../IGP_ID = 'BGP'"; + } + description + "BGP information"; + uses XTC-IGP-INFO-BGP; + } + leaf igp-id { + type Xtc-igp-info-id; + description + "IGP ID"; + } + } + + grouping XTC-IGP-INFO-BAG { + description + "XTC IGP information bag"; + container igp { + description + "IGP-specific information"; + uses XTC-IGP-INFO-TYPE; + } + leaf domain-identifier { + type uint64; + description + "Domain identifier"; + } + } + + grouping XTC-NODE-PID-BAG { + description + "XTC Node Protocol Identifier Information"; + leaf node-name { + type string; + description + "Node Name"; + } + leaf ipv4-bgp-router-id-set { + type boolean; + description + "True if IPv4 BGP router ID is set"; + } + leaf ipv4-bgp-router-id { + type inet:ipv4-address; + description + "IPv4 TE router ID"; + } + leaf ipv4te-router-id-set { + type boolean; + description + "True if IPv4 TE router ID is set"; + } + leaf ipv4te-router-id { + type inet:ipv4-address; + description + "IPv4 BGP router ID"; + } + list igp-information { + description + "IGP information"; + uses XTC-IGP-INFO-BAG; + } + } + + grouping XTC-TOPO-NODE-BAG { + description + "XTC Topology Node Information"; + container node-protocol-identifier { + description + "Node protocol identifier"; + uses XTC-NODE-PID-BAG; + } + leaf node-identifier-xr { + type uint32; + description + "Node identifier"; + } + leaf overload { + type boolean; + description + "Node Overload Bit"; + } + list prefix-sid { + description + "Prefix SIDs"; + uses XTC-SID-BAG; + } + list ipv4-link { + description + "IPv4 Link information"; + uses XTC-IPV4-LINK-BAG; + } + list ipv6-link { + description + "IPv6 Link information"; + uses XTC-IPV6-LINK-BAG; + } + } + + grouping XTC-TOPO-SUMMARY-BAG { + description + "XTC Topology Node Summary Information"; + leaf nodes { + type uint32; + description + "Number of nodes"; + } + leaf prefixes { + type uint32; + description + "Number of prefixes"; + } + leaf prefix-sids { + type uint32; + description + "Number of prefix SIDs"; + } + leaf links { + type uint32; + description + "Number of links"; + } + leaf adjacency-sids { + type uint32; + description + "Number of adjacency SIDs"; + } + } + + grouping XTC-FWDING-POLICY-PATH-BAG { + description + "Policy Forwarding path information"; + leaf outgoing-interface { + type xr:Interface-name; + description + "Outgoing interface handle"; + } + leaf next-hop-ipv4 { + type Xtc-ipv4-address; + description + "IPv4 Next Hop"; + } + leaf next-hop-table-id { + type uint32; + description + "Table ID for nexthop address"; + } + leaf is-protected { + type boolean; + description + "Is this path protected ?"; + } + leaf is-pure-bkup { + type boolean; + description + "Is this path a pure backup ?"; + } + leaf load-metric { + type uint32; + description + "Path's load metric for load balancing"; + } + leaf path-id { + type uint8; + description + "path Id"; + } + leaf bkup-path-id { + type uint8; + description + "Backup path Id"; + } + leaf segment-list-name { + type string; + description + "Associated segment-list"; + } + leaf are-stats-valid { + type boolean; + description + "Are per path stats valid?"; + } + leaf forwarding-stats-pkts { + type uint64; + description + "Number of packets forwarded on this path"; + } + leaf forwarding-stats-bytes { + type uint64; + units "byte"; + description + "Number of bytes forwarded on this path"; + } + leaf-list label-stack { + type uint32; + description + "Path outgoing labels"; + } + } + + grouping XTC-FWDING-POLICY-BAG { + description + "Policy forwarding information"; + leaf policy-name { + type string; + description + "Policy name"; + } + leaf is-local-label-valid { + type boolean; + description + "Is local label valid and allocated?"; + } + leaf local-label { + type uint32; + description + "Local label for SR MPLS policy"; + } + leaf are-stats-valid { + type boolean; + description + "Are policy stats valid?"; + } + leaf forwarding-stats-pkts { + type uint64; + description + "Number of packets forwarded"; + } + leaf forwarding-stats-bytes { + type uint64; + units "byte"; + description + "Number of bytes forwarded"; + } + list paths { + description + "Forwarding paths"; + uses XTC-FWDING-POLICY-PATH-BAG; + } + } + + grouping XTC-DIST-INFO-BAG { + description + "Disjoint path information"; + leaf disjointness-type { + type Xtc-disjointness; + description + "Disjointness type"; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf sub-id { + type uint32; + description + "Sub ID"; + } + } + + grouping XTC-ON-DEMAND-COLOR-BAG { + description + "On-Demand Color information"; + container disjoint-path-info { + description + "Disjoint path information"; + uses XTC-DIST-INFO-BAG; + } + leaf color-xr { + type uint32; + description + "Color"; + } + } + + grouping XTC-POLICY-AUTO-BAG { + description + "XTC autopolicy info"; + leaf creator-name { + type string; + description + "Name of client who created policy"; + } + leaf distinguisher { + type uint32; + description + "Distinguisher"; + } + leaf preference { + type uint32; + description + "Preference of the policy"; + } + leaf ipv6-caps-enabled { + type boolean; + description + "Whether IPv6 caps was requested to be enabled"; + } + } + + grouping XTC-PATH-METRICS-BAG { + description + "SR path metrics bag"; + leaf margin-relative { + type uint8; + description + "Margin Relative"; + } + leaf margin-absolute { + type uint8; + description + "Margin Absolute"; + } + leaf maximum-segments { + type uint16; + description + "Maximum number of segments"; + } + leaf accumulative-te-metric { + type uint32; + description + "Accumulative TE metric"; + } + leaf accumulative-igp-metric { + type uint32; + description + "Accumulative IGP metric"; + } + leaf accumulative-delay { + type uint32; + description + "Accumulative delay"; + } + } + + grouping XTC-AFFINITY-COLOR { + description + "XTC AFFINITY COLOR"; + leaf color { + type string; + description + "An affinity color"; + } + } + + grouping XTC-AFFINITY-CONSTRAINT { + description + "XTC AFFINITY CONSTRAINT"; + leaf type { + type uint8; + description + "Affinity type"; + } + leaf value { + type uint32; + description + "Affinity value"; + } + list color { + description + "Colors"; + uses XTC-AFFINITY-COLOR; + } + } + + grouping XTC-PATH-CONSTRAINTS-BAG { + description + "XTC SR per candidate path metrics information"; + container path-metrics { + description + "Path metrics"; + uses XTC-PATH-METRICS-BAG; + } + list affinity-constraint { + description + "Affinity constraints list"; + uses XTC-AFFINITY-CONSTRAINT; + } + } + + grouping XTC-SR-HOP-TYPE { + description + "XTC SR hop"; + container sid { + description + "SID value"; + uses XTC-PREFIX-SID-TYPE; + } + container local-address { + description + "Local address"; + uses XTC-IP-ADDR-TYPE; + } + container remote-address { + description + "Remote address"; + uses XTC-IP-ADDR-TYPE; + } + leaf sid-type { + type Xtc-sr-sid; + description + "SID type"; + } + } + + grouping XTC-POLICY-PATH-BAG { + description + "XTC policy path information bag"; + container sr-path-constraints { + description + "SR path constraints"; + uses XTC-PATH-CONSTRAINTS-BAG; + } + leaf index { + type uint32; + description + "Index number"; + } + leaf type { + type Xtc-policy-path; + description + "Path option type"; + } + leaf name { + type string; + description + "Explicit path option name"; + } + leaf active { + type boolean; + description + "Whether the path is active (used)"; + } + leaf weight { + type uint32; + description + "Configured weight of the path-option"; + } + leaf metric-type { + type uint8; + description + "Configured path metric type"; + } + leaf metric-value { + type uint32; + description + "Path metric value"; + } + leaf is-valid { + type boolean; + description + "True if path is valid"; + } + leaf pce-based-path { + type boolean; + description + "True if the path is to be computed by PCE"; + } + leaf pce-address { + type inet:ipv4-address; + description + "Address of the PCE computed the path"; + } + leaf error { + type string; + description + "Error (for display only)"; + } + list hops { + description + "SR hop list"; + uses XTC-SR-HOP-TYPE; + } + } + + grouping XTC-PREFIX-SID-TYPE { + description + "XTC PREFIX SID TYPE"; + leaf sid-type { + type Xtc-sid; + description + "SIDType"; + } + leaf label { + when "../sid-type = 'mpls'" { + description + "../SIDType = 'MPLS'"; + } + type uint32; + description + "MPLS label"; + } + leaf ipv6 { + when "../sid-type = 'ipv6'" { + description + "../SIDType = 'IPv6'"; + } + type Xtc-ipv6-address; + description + "IPv6 address"; + } + } + + grouping XTC-POLICY-BSID-BAG { + description + "XTC policy binding SID information"; + container value { + description + "Binding SID value"; + uses XTC-PREFIX-SID-TYPE; + } + leaf bsid-mode { + type Xtc-bsid-mode; + description + "Binding SID Mode"; + } + leaf error { + type Xtc-bsid-error; + description + "Binding SID error, if any"; + } + leaf state { + type string; + description + "State of the binding SID"; + } + leaf explicit-based { + type boolean; + description + "Whether the binding SID is explicit-based"; + } + leaf policy-selected { + type boolean; + description + "Whether the policy is selected for forwarding on + this BSID"; + } + } + + grouping XTC-IP-ADDR-TYPE { + description + "XTC IP ADDR TYPE"; + leaf af-name { + type Xtc-af-id; + description + "AFName"; + } + leaf ipv4 { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type Xtc-ipv4-address; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Xtc-ipv6-address; + description + "IPv6 address type"; + } + } + + grouping XTC-POLICY-BAG { + description + "XTC policy information"; + container destination-address { + description + "Destination address"; + uses XTC-IP-ADDR-TYPE; + } + container binding-sid { + description + "Binding SID information"; + uses XTC-POLICY-BSID-BAG; + } + container auto-policy-info { + description + "Autopolicy information"; + uses XTC-POLICY-AUTO-BAG; + } + leaf policy-name { + type string; + description + "Policy name"; + } + leaf administrative-up { + type uint32; + description + "Admin up"; + } + leaf operational-up { + type uint32; + description + "Operational up"; + } + leaf color { + type uint32; + description + "Color"; + } + leaf is-auto-policy { + type boolean; + description + "Whether policy was automatically created or + configured"; + } + leaf transition-count { + type uint32; + description + "Indicates number of up/down transitions"; + } + leaf forward-class { + type uint32; + description + "Forward class of the policy"; + } + leaf up-time { + type uint64; + units "nanosecond"; + description + "Policy up time in nano seconds"; + } + leaf up-age { + type uint64; + units "nanosecond"; + description + "Policy up age (since) in nano seconds"; + } + leaf down-time { + type uint64; + units "nanosecond"; + description + "Policy down time in nano seconds"; + } + leaf down-age { + type uint64; + units "nanosecond"; + description + "Policy down age (since) in nano seconds"; + } + leaf lsp-id { + type uint32; + description + "LSP ID"; + } + leaf interface-handle { + type uint32; + description + "Interface handle"; + } + leaf policy-group-identifier { + type uint16; + description + "Policy group identifier"; + } + leaf local-label-identifier { + type uint16; + description + "Local label identifier"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + list paths { + description + "Path options"; + uses XTC-POLICY-PATH-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub2.yang new file mode 100644 index 0000000..377b4a4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper-sub2.yang @@ -0,0 +1,842 @@ +submodule Cisco-IOS-XR-infra-xtc-agent-oper-sub2 { + belongs-to Cisco-IOS-XR-infra-xtc-agent-oper { + prefix Cisco-IOS-XR-infra-xtc-agent-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-11 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PCEP-CONN-STATS-BAG { + description + "PCEP CONN STATS information"; + leaf ka-msg-rx { + type uint64; + description + "KA messages rxed"; + } + leaf ka-msg-fail-rx { + type uint64; + description + "KA messages fail rxed"; + } + leaf ka-msg-tx { + type uint64; + description + "KA messages txed"; + } + leaf ka-msg-fail-tx { + type uint64; + description + "KA messages fail txed"; + } + leaf pcreq-msg-rx { + type uint64; + description + "PCREQ messages rxed"; + } + leaf pcreq-msg-fail-rx { + type uint64; + description + "PCREQ messages fail rxed"; + } + leaf pcreq-msg-tx { + type uint64; + description + "PCREQ messages txed"; + } + leaf pcreq-msg-fail-tx { + type uint64; + description + "PCREQ messages fail txed"; + } + leaf pcrep-msg-rx { + type uint64; + description + "PCREP messages rxed"; + } + leaf pcrep-msg-fail-rx { + type uint64; + description + "PCREP messages fail rxed"; + } + leaf pcrep-msg-tx { + type uint64; + description + "PCREP messages txed"; + } + leaf pcrep-msg-fail-tx { + type uint64; + description + "PCREP messages fail txed"; + } + leaf pcrpt-msg-rx { + type uint64; + description + "PCRPT messages rxed"; + } + leaf pcrpt-msg-fail-rx { + type uint64; + description + "PCRPT messages fail rxed"; + } + leaf pcrpt-msg-tx { + type uint64; + description + "PCRPT messages txed"; + } + leaf pcrpt-msg-fail-tx { + type uint64; + description + "PCRPT messages fail txed"; + } + leaf pcupd-msg-rx { + type uint64; + description + "PCUPD messages rxed"; + } + leaf pcupd-msg-fail-rx { + type uint64; + description + "PCUPD messages fail rxed"; + } + leaf pcupd-msg-tx { + type uint64; + description + "PCUPD messages txed"; + } + leaf pcupd-msg-fail-tx { + type uint64; + description + "PCUPD messages fail txed"; + } + leaf open-msg-rx { + type uint64; + description + "OPEN messages rxed"; + } + leaf open-msg-fail-rx { + type uint64; + description + "OPEN messages fail rxed"; + } + leaf open-msg-tx { + type uint64; + description + "OPEN messages txed"; + } + leaf open-msg-fail-tx { + type uint64; + description + "OPEN messages fail txed"; + } + leaf pcerr-msg-rx { + type uint64; + description + "PCERR messages rxed"; + } + leaf pcerr-msg-fail-rx { + type uint64; + description + "PCERR messages fail rxed"; + } + leaf pcerr-msg-tx { + type uint64; + description + "PCERR messages txed"; + } + leaf pcerr-msg-fail-tx { + type uint64; + description + "PCERR messages fail txed"; + } + leaf pcntf-msg-rx { + type uint64; + description + "PCNTF messages rxed"; + } + leaf pcntf-msg-fail-rx { + type uint64; + description + "PCNTF messages fail rxed"; + } + leaf pcntf-msg-tx { + type uint64; + description + "PCNTF messages txed"; + } + leaf pcntf-msg-fail-tx { + type uint64; + description + "PCNTF messages fail txed"; + } + leaf pce-eos-msg-tx { + type uint64; + description + "PCE EOS messages txed"; + } + leaf pce-eos-msg-fail-tx { + type uint64; + description + "PCE EOS messages fail txed"; + } + leaf close-msg-rx { + type uint64; + description + "CLOSE messages rxed"; + } + leaf close-msg-fail-rx { + type uint64; + description + "CLOSE messages fail rxed"; + } + leaf close-msg-tx { + type uint64; + description + "CLOSE messages txed"; + } + leaf close-msg-fail-tx { + type uint64; + description + "CLOSE messages fail txed"; + } + leaf unexpected-msg-rx { + type uint64; + description + "Unexpected messages rxed"; + } + leaf corrupted-msg-rx { + type uint64; + description + "Corrupted messages rxed"; + } + leaf reply-time-index { + type uint32; + description + "index into recorded reply time"; + } + leaf minimum-reply-time { + type uint64; + description + "min reply time"; + } + leaf maximum-reply-time { + type uint64; + description + "max reply time"; + } + leaf requests-timed-out { + type uint64; + description + "requests timed out"; + } + leaf last-pcerr-type-rx { + type uint8; + description + "last PCERR type received"; + } + leaf last-pcerr-val-rx { + type uint8; + description + "last PCERR value received"; + } + leaf last-pcerr-rx-ts { + type uint64; + description + "last time when PCERR was received"; + } + leaf last-pcerr-type-tx { + type uint8; + description + "last PCERR type transmitted"; + } + leaf last-pcerr-val-tx { + type uint8; + description + "last PCERR value transmitted"; + } + leaf last-pcerr-tx-ts { + type uint64; + description + "last time when PCERR was transmitted"; + } + leaf pcinitiate-msg-rx { + type uint64; + description + "PCINITIATE messages rxed"; + } + leaf pcinitiate-msg-fail-rx { + type uint64; + description + "PCINITIATE messages fail rxed"; + } + leaf-list recorded-reply-time { + type uint64; + max-elements "10"; + description + "Recorded reply time"; + } + } + + grouping PCEP-SOCKET-BAG { + description + "PCEP SOCKET information"; + leaf fd { + type int64; + description + "file descriptor"; + } + leaf wnotify { + type boolean; + description + "write notify"; + } + leaf rnotify { + type boolean; + description + "read notify"; + } + leaf refcnt { + type uint32; + description + "ref count"; + } + leaf selected { + type boolean; + description + "selected"; + } + leaf owner { + type uint32; + description + "owner"; + } + leaf csockaddr-str { + type string; + description + "client address"; + } + leaf ssockaddr-str { + type string; + description + "server address"; + } + } + + grouping PCEP-CONN-BAG { + description + "PCEP CONN information"; + container socket-info { + description + "socket info"; + uses PCEP-SOCKET-BAG; + } + container stats { + description + "stats"; + uses PCEP-CONN-STATS-BAG; + } + leaf handle { + type uint32; + description + "internal handle"; + } + leaf state-str { + type string; + description + "connection state"; + } + leaf local-ok { + type boolean; + description + "local accepted"; + } + leaf remote-ok { + type boolean; + description + "remote accepted"; + } + leaf open-retry { + type uint32; + description + "open retry count"; + } + leaf ref-cnt { + type uint32; + description + "ref count"; + } + leaf rx-state-str { + type string; + description + "socket state"; + } + leaf holddown-counter { + type uint16; + description + "holddown counter"; + } + leaf pcep-up-ts { + type uint64; + description + "PCEP up timestamp"; + } + leaf precedence { + type uint8; + description + "Precedence"; + } + leaf ka-interval-local { + type uint32; + description + "KA interval local"; + } + leaf ka-interval-remote { + type uint32; + description + "KA interval remote"; + } + leaf dead-interval-local { + type uint32; + description + "Dead interval local"; + } + leaf dead-interval-remote { + type uint32; + description + "Dead interval remote"; + } + leaf pcep-session-id-local { + type uint32; + description + "PCEP session ID local"; + } + leaf pcep-session-id-remote { + type uint32; + description + "PCEP session ID remote"; + } + leaf pcep-server-ipv4-addr { + type inet:ipv4-address; + description + "PCEP server Ipv4 address"; + } + leaf pcep-client-ipv4-addr { + type inet:ipv4-address; + description + "PCEP client Ipv4 address"; + } + leaf is-stateful-local { + type boolean; + description + "is stateful local"; + } + leaf is-stateful-remote { + type boolean; + description + "is stateful remote"; + } + leaf is-stateful-u-flag-local { + type boolean; + description + "is stateful with U flag local"; + } + leaf is-stateful-u-flag-remote { + type boolean; + description + "is stateful with U flag remote"; + } + leaf is-segment-routing-local { + type boolean; + description + "is segment routing local"; + } + leaf is-segment-routing-remote { + type boolean; + description + "is segment routing remote"; + } + leaf is-best-pce { + type boolean; + description + "is this the best PCE to delegate to"; + } + leaf sr-msd-local { + type uint8; + description + "SR MSD local"; + } + leaf sr-msd-remote { + type uint8; + description + "SR MSD remote"; + } + } + + grouping PCEP-HOP-SR-IPV4 { + description + "PCEP SR IPv4 hop information"; + leaf type { + type uint8; + description + "SID type"; + } + leaf cflag { + type boolean; + description + "C flag"; + } + leaf sid { + type uint32; + description + "SID"; + } + leaf remote-addr { + type uint32; + description + "Remote address"; + } + leaf local-addr { + type uint32; + description + "Local address"; + } + } + + grouping PCEP-HOP-IPV4 { + description + "PCEP IPv4 hop information"; + leaf v4-addr { + type uint32; + description + "IPv4 prefix"; + } + leaf prefix-len { + type uint8; + description + "Prefix length"; + } + } + + grouping PCEP-HOP-DATA { + description + "PCEP HOP DATA"; + container ipv4 { + when "../hop-type = 'pcep-hop-type-ipv4'" { + description + "../HopType = 'PCEP_HOP_TYPE_IPV4'"; + } + description + "IPv4 hop info"; + uses PCEP-HOP-IPV4; + } + container sr-v4 { + when "../hop-type = 'pcep-hop-type-srv4'" { + description + "../HopType = 'PCEP_HOP_TYPE_SRV4'"; + } + description + "SR IPv4 hop info"; + uses PCEP-HOP-SR-IPV4; + } + leaf hop-type { + type uint8; + description + "HopType"; + } + } + + grouping PCEP-HOP-BAG { + description + "PCEP HOP information"; + container data { + description + "data"; + uses PCEP-HOP-DATA; + } + leaf loose { + type boolean; + description + "is loose hop"; + } + } + + grouping PCEP-PATH-STATS-BAG { + description + "PCEP PATH stats"; + leaf reports-requested { + type uint64; + description + "Reports requested"; + } + leaf reports-sent { + type uint64; + description + "Reports sent"; + } + leaf reports-failed-to-send { + type uint64; + description + "Reports failed"; + } + } + + grouping PCEP-PATH-BAG { + description + "PCEP PATH information"; + container stats { + description + "stats"; + uses PCEP-PATH-STATS-BAG; + } + leaf used-bw { + type int64; + description + "used bw"; + } + leaf requested-bw { + type int64; + description + "requested bw"; + } + leaf metric-value { + type int64; + description + "metric value"; + } + leaf refcnt { + type int64; + description + "refcnt"; + } + leaf lsp-plsp-id { + type uint32; + description + "LSP PLSP ID"; + } + leaf binding-sid-value { + type uint32; + description + "Binding SID"; + } + leaf lsp-id-tlv-ext-tunnel-id { + type uint32; + description + "Ext Tun ID"; + } + leaf lsp-id-tlv-tunnel-endpoint-address { + type uint32; + description + "Tun endpoint address"; + } + leaf lsp-id-tlv-tunnel-sender-address { + type uint32; + description + "Tun sender address"; + } + leaf srp-id { + type uint32; + description + "SRP ID"; + } + leaf lsp-id-tlv-lsp-id { + type uint16; + description + "LSP ID"; + } + leaf lsp-id-tlv-tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf lsp-id { + type uint16; + description + "Application LSP ID"; + } + leaf binding-sid-type { + type uint16; + description + "Binding SID type"; + } + leaf lsp-oper { + type uint8; + description + "LSP oper flags"; + } + leaf path-setup-type { + type uint8; + description + "Path setup type"; + } + leaf metric-type { + type uint8; + description + "Metric type"; + } + leaf is-reported { + type boolean; + description + "is reported"; + } + leaf lsp-a-flag { + type boolean; + description + "LSP A Flag"; + } + leaf lsp-r-flag { + type boolean; + description + "LSP R Flag"; + } + leaf lsp-s-flag { + type boolean; + description + "LSP S Flag"; + } + leaf lsp-d-flag { + type boolean; + description + "LSP D Flag"; + } + leaf lsp-c-flag { + type boolean; + description + "LSP C Flag"; + } + list ero-hop { + description + "ero hop"; + uses PCEP-HOP-BAG; + } + list rro-hop { + description + "rro hop"; + uses PCEP-HOP-BAG; + } + } + + grouping PCEP-PLSP-EVENT-BAG { + description + "PCEP PLSP event"; + leaf ts { + type uint64; + description + "Timestamp"; + } + leaf desc { + type string; + description + "Description"; + } + } + + grouping PCEP-PLSP-STATS-BAG { + description + "PCEP PLSP stats"; + leaf paths-created { + type uint64; + description + "Paths Created"; + } + leaf paths-destroyed { + type uint64; + description + "Paths Destroyed"; + } + leaf path-create-errors { + type uint64; + description + "Path create errors"; + } + leaf path-destroy-errors { + type uint64; + description + "Path destroy errors"; + } + leaf requests-created { + type uint64; + description + "Requests created"; + } + leaf requests-destroyed { + type uint64; + description + "Requests destroyed"; + } + leaf requests-failed { + type uint64; + description + "Requests failed"; + } + } + + grouping PCEP-PLSP-BAG { + description + "PCEP PLSP information"; + container stats { + description + "Stats"; + uses PCEP-PLSP-STATS-BAG; + } + leaf plsp-id-xr { + type uint32; + description + "PLSP ID"; + } + leaf sym-path-name { + type string; + description + "Symbolic Path Name"; + } + leaf refcnt { + type int64; + description + "Refcnt"; + } + leaf conn-delegated-to { + type uint32; + description + "CONN delegated to"; + } + list event-history { + max-elements "10"; + description + "event history"; + uses PCEP-PLSP-EVENT-BAG; + } + list path { + description + "path"; + uses PCEP-PATH-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper.yang new file mode 100644 index 0000000..1585d78 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-agent-oper.yang @@ -0,0 +1,175 @@ +module Cisco-IOS-XR-infra-xtc-agent-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-agent-oper"; + prefix infra-xtc-agent-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-xtc-agent-oper-sub2 { + revision-date 2017-09-11; + } + include Cisco-IOS-XR-infra-xtc-agent-oper-sub1 { + revision-date 2017-09-11; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc-agent package operational data. + + This module contains definitions + for the following management objects: + pcc: Path-computation client in XTC + xtc: xtc + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-11 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pcc { + config false; + description + "Path-computation client in XTC"; + container plsps { + description + "PCC PLSP database in XTC"; + list plsp { + key "plsp-id"; + description + "PCC PLSP information"; + leaf plsp-id { + type int32; + description + "PLSP ID"; + } + uses PCEP-PLSP-BAG; + } + } + container peers { + description + "PCC peer database in XTC"; + list peer { + key "peer-addr"; + description + "PCC peer information"; + leaf peer-addr { + type inet:ip-address-no-zone; + description + "Peer Address"; + } + uses PCEP-CONN-BAG; + } + } + } + container xtc { + config false; + description + "xtc"; + container policies { + description + "Policy database in XTC Agent"; + list policy { + key "id"; + description + "Policy information"; + leaf id { + type int32; + description + "Policy ID"; + } + uses XTC-POLICY-BAG; + } + } + container on-demand-colors { + description + "On-Demand Color database in XTC Agent"; + list on-demand-color { + key "color"; + description + "On Demand Color information"; + leaf color { + type int32; + description + "Color"; + } + uses XTC-ON-DEMAND-COLOR-BAG; + } + } + container forwarding { + description + "Forwarding information"; + container policy-forwardings { + description + "Forwarding information for policies"; + list policy-forwarding { + key "name"; + description + "Forwarding information for the policy"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Policy Name"; + } + uses XTC-FWDING-POLICY-BAG; + } + } + } + container topology-summary { + description + "Node summary database"; + uses XTC-TOPO-SUMMARY-BAG; + } + container topology-nodes { + description + "Node database in XTC Agent"; + list topology-node { + key "node-identifier"; + description + "Node information"; + leaf node-identifier { + type int32; + description + "Node Identifier"; + } + uses XTC-TOPO-NODE-BAG; + } + } + container prefix-infos { + description + "Prefixes database in XTC Agent"; + list prefix-info { + key "node-identifier"; + description + "Prefix information"; + leaf node-identifier { + type int32; + description + "Node ID"; + } + uses XTC-PFX-BAG; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-cfg.yang new file mode 100644 index 0000000..e421945 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-cfg.yang @@ -0,0 +1,486 @@ +module Cisco-IOS-XR-infra-xtc-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg"; + prefix infra-xtc-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc package configuration. + + This module contains definitions + for the following management objects: + pce: PCE configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-31 { + description + "Revision description string."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pce-disjoint-path { + type enumeration { + enum "link" { + value 1; + description + "Link"; + } + enum "node" { + value 2; + description + "Node"; + } + enum "srlg" { + value 3; + description + "SRLG"; + } + enum "srlg-node" { + value 4; + description + "SRLG Node"; + } + } + description + "Pce disjoint path"; + } + + typedef Pce-explicit-path-hop { + type enumeration { + enum "address" { + value 1; + description + "Address"; + } + enum "sid-node" { + value 2; + description + "SID Node"; + } + enum "sid-adjancency" { + value 3; + description + "SID Adjacency"; + } + enum "binding-sid" { + value 4; + description + "Binding SID"; + } + } + description + "Pce explicit path hop"; + } + + grouping ENABLE { + description + "Common node of pce, lsp-name, disjoint-path, + group, rsvp-te, explicit-path, pcc-address"; + leaf enable { + type empty; + description + "True only"; + } + } + + container pce { + description + "PCE configuration data"; + container pcc-addresses { + description + "Path computation client configuration"; + list pcc-address { + key "address"; + description + "Path computation client address"; + container lsp-names { + description + "MPLS label switched path"; + list lsp-name { + key "name"; + description + "MPLS label switched path"; + container rsvp-te { + description + "RSVP-TE configuration"; + container affinity { + description + "LSP Affinity"; + leaf include-any { + type xr:Hex-integer; + description + "Include-any affinity value"; + } + leaf include-all { + type xr:Hex-integer; + description + "Include-all affinity value"; + } + leaf exclude-any { + type xr:Hex-integer; + description + "Exclude-any affinity value"; + } + } + container priority { + presence "Indicates a priority node is configured."; + description + "Tunnel Setup and Hold Priorities"; + leaf setup-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Setup Priority"; + } + leaf hold-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Hold Priority"; + } + } + leaf fast-protect { + type empty; + description + "Enable fast protection"; + } + leaf bandwidth { + type int32; + units "kbit/s"; + description + "Bandwidth configuration"; + } + uses ENABLE; + } + leaf undelegate { + type empty; + description + "Undelegate LSP"; + } + leaf explicit-path-name { + type string; + description + "Explicit-path name"; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "LSP name"; + } + uses ENABLE; + } + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + uses ENABLE; + } + } + container logging { + description + "PCE logging configuration"; + leaf no-path { + type empty; + description + "Logging NO-PATH configuration"; + } + leaf pcerr { + type empty; + description + "Logging of received PCErr messages"; + } + leaf fallback { + type empty; + description + "Logging fallback configuration"; + } + } + container backoff { + description + "PCE backoff configuration"; + leaf ratio { + type uint32 { + range "0..255"; + } + default "2"; + description + "Backoff common ratio configuration"; + } + leaf threshold { + type uint32 { + range "0..3600"; + } + default "0"; + description + "Backoff threshold configuration"; + } + leaf difference { + type uint32 { + range "0..255"; + } + default "2"; + description + "Backoff common difference configuration"; + } + } + container state-syncs { + description + "Standby PCE configuration"; + list state-sync { + key "address"; + description + "Standby PCE ipv4 address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + } + } + container segment-routing { + description + "PCE segment-routing configuration"; + leaf te-latency { + type empty; + description + "Use te-latency algorithm configuration"; + } + leaf strict-sid-only { + type empty; + description + "Use strict-sid-only configuration"; + } + } + container timers { + description + "PCE Timers configuration"; + leaf reoptimization-timer { + type uint32 { + range "10..3600"; + } + units "second"; + default "60"; + description + "Topology reoptimization timer configuration"; + } + leaf keepalive { + type uint32 { + range "0..255"; + } + units "second"; + default "30"; + description + "Keepalive interval in seconds, zero to disable"; + } + leaf minimum-peer-keepalive { + type uint32 { + range "0..255"; + } + units "second"; + default "20"; + description + "Minimum acceptable peer proposed keepalive + interval"; + } + } + container netconf { + description + "NETCONF configuration"; + container netconf-ssh { + description + "NETCONF SSH configuration"; + leaf netconf-ssh-password { + type xr:Proprietary-password; + description + "Password to use for NETCONF SSH connections"; + } + leaf netconf-ssh-user { + type string; + description + "User name to use for NETCONF SSH connections"; + } + } + } + container disjoint-path { + description + "Disjoint path configuration"; + container groups { + description + "Association configuration"; + list group { + key "group-id dp-type sub-id"; + description + "Association Group Configuration"; + container group-lsp-records { + description + "lsp pcc records container with in group"; + list group-lsp-record { + key "lsp-id"; + description + "LSP first/second PCC record tuple + containingIpAddr, LspName, DisjPath"; + leaf lsp-id { + type uint32 { + range "1..2"; + } + description + "Lsp id"; + } + leaf ip-addr { + type inet:ipv4-address-no-zone; + description + "IP address of PCC"; + } + leaf lsp-name { + type string; + description + "Identifying name for LSP"; + } + leaf disj-path { + type int32; + description + "Set LSP to follow shortest-path"; + } + } + } + leaf strict { + type empty; + description + "Disable Fallback"; + } + leaf group-id { + type uint32 { + range "1..65535"; + } + description + "Group ID"; + } + leaf dp-type { + type Pce-disjoint-path; + description + "Disjointness type"; + } + leaf sub-id { + type uint32 { + range "0..65535"; + } + description + "Sub group ID, 0 to unset"; + } + uses ENABLE; + } + } + uses ENABLE; + } + container explicit-paths { + description + "Explicit paths"; + list explicit-path { + key "name"; + description + "Explicit-path configuration"; + container path-hops { + description + "Path Hops"; + list path-hop { + key "index"; + description + "Explicit path hop configuration"; + leaf index { + type uint32 { + range "1..65535"; + } + description + "Hop Index"; + } + leaf hop-type { + type Pce-explicit-path-hop; + description + "Path hop type"; + } + leaf address { + when "../hop-type = 'address' or ../hop-type = 'sid-node' or ../hop-type = 'sid-adjancency'" { + description + "../HopType = Address or ../HopType = + SIDNode or ../HopType = SIDAdjancency"; + } + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "IPv4 Address"; + } + leaf remote-address { + when "../hop-type = 'sid-adjancency'" { + description + "../HopType = SIDAdjancency"; + } + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "Remote IPv4 address"; + } + leaf mpls-label { + when "../hop-type = 'sid-node' or ../hop-type = 'sid-adjancency' or ../hop-type = 'binding-sid'" { + description + "../HopType = SIDNode or ../HopType = + SIDAdjancency or ../HopType = BindingSID"; + } + type uint32 { + range "0..1048575"; + } + default "0"; + description + "MPLS Label"; + } + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Explicit-path name"; + } + uses ENABLE; + } + } + leaf server-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address of PCE server"; + } + leaf password { + type xr:Proprietary-password; + description + "MD5 password"; + } + uses ENABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper-sub1.yang new file mode 100644 index 0000000..59db246 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper-sub1.yang @@ -0,0 +1,1822 @@ +submodule Cisco-IOS-XR-infra-xtc-oper-sub1 { + belongs-to Cisco-IOS-XR-infra-xtc-oper { + prefix Cisco-IOS-XR-infra-xtc-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-24 { + description + "Added C flag to pcep flags."; + } + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-05-31 { + description + "Revision description string."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pce-cspf-rc { + type enumeration { + enum "pce-cspf-not-set" { + description + "Not set"; + } + enum "pce-cspf-src-not-found" { + description + "Source not found"; + } + enum "pce-cspf-dst-not-found" { + description + "Destination not found"; + } + enum "pce-cspf-second-src-not-found" { + description + "Second source not found"; + } + enum "pce-cspf-second-dst-not-found" { + description + "Second destination not found"; + } + enum "pce-cspf-no-mem" { + description + "No memory"; + } + enum "pce-cspf-ex-path-not-resolved" { + description + "Second path not resolved"; + } + enum "pce-cspf-no-path" { + description + "No path"; + } + enum "pce-cspf-sp-success" { + description + "Shortest path success"; + } + enum "pce-cspf-error" { + description + "Error"; + } + enum "pce-cspf-fallback-srlg-node-node" { + description + "Fallback from SRLG-NODE to NODE"; + } + enum "pce-cspf-fallback-srlg-node-link" { + description + "Fallback from SRLG-NODE to LINK"; + } + enum "pce-cspf-fallback-srlg-node-sp" { + description + "Fallback from SRLG-NODE to SP"; + } + enum "pce-cspf-fallback-node-link" { + description + "Fallback from NODE to LINK"; + } + enum "pce-cspf-fallback-link-sp" { + description + "Fallback from LINK to SP"; + } + enum "pce-cspf-fallback-node-sp" { + description + "Fallback from NODE to SP"; + } + enum "pce-cspf-fallback-srlg-link" { + description + "Fallback from SRLG to LINK"; + } + enum "pce-cspf-fallback-srlg-sp" { + description + "Fallback from SRLG to SP"; + } + enum "pce-cspf-dp-success" { + description + "Disjoint path success"; + } + } + description + "PCE CSPF Result Code"; + } + + typedef Pce-headend-swap { + type enumeration { + enum "pcehs-none" { + description + "Headends not swapped"; + } + enum "pcehs-plain" { + description + "Headends swapped"; + } + enum "pcehs-rwi" { + description + "Headends swapped with increment"; + } + } + description + "PCE Headends Swap Code"; + } + + typedef Pce-ipv6-address { + type inet:ipv6-address; + description + "Pce ipv6 address"; + } + + typedef Pce-af-id { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Pce af id"; + } + + typedef Sid { + type enumeration { + enum "sr-protected-adj-sid" { + value 1; + description + "Protected Adjacency SID"; + } + enum "sr-unprotected-adj-sid" { + value 2; + description + "Unprotected Adjacency SID"; + } + enum "sr-bgp-egress-peer-engineering-sid" { + value 3; + description + "BGP egress peer engineering SID"; + } + enum "sr-reqular-prefix-sid" { + value 4; + description + "Regular prefix SID"; + } + enum "sr-strict-prefix-sid" { + value 5; + description + "Strict prefix SID"; + } + } + description + "SID Types"; + } + + typedef Pce-ipv4-address { + type inet:ipv4-address; + description + "Pce ipv4 address"; + } + + typedef Pce-igp-info-id { + type enumeration { + enum "isis" { + value 1; + description + "ISIS"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + enum "bgp" { + value 3; + description + "BGP"; + } + } + description + "IGP IDs"; + } + + typedef Pcep-state { + type enumeration { + enum "tcp-close" { + description + "TCP close"; + } + enum "tcp-listen" { + description + "TCP listen"; + } + enum "tcp-connect" { + description + "TCP connect"; + } + enum "pcep-closed" { + description + "PCEP closed"; + } + enum "pcep-opening" { + description + "PCEP opening"; + } + enum "pcep-open" { + description + "PCEP open"; + } + } + description + "PCEP State"; + } + + typedef Pce-proto { + type enumeration { + enum "pcep" { + description + "PCE protocol"; + } + enum "netconf" { + description + "Netconf protocol"; + } + } + description + "PCE peer protocol"; + } + + typedef Pce-rro { + type enumeration { + enum "rro-type-ipv4-address" { + description + "IPv4 Address"; + } + enum "rro-type-mpls-label" { + description + "MPLS Label"; + } + enum "rro-type-sripv4-node-sid" { + description + "Segment Routing IPv4 Node SID"; + } + enum "rro-type-sripv4-adjacency-sid" { + description + "Segment Routing IPv4 Adjacency SID"; + } + enum "rro-type-sr-nai-null" { + description + "Segment Routing with NAI null"; + } + } + description + "PCE RRO type"; + } + + typedef Pce-sr-sid { + type enumeration { + enum "ipv4-node-sid" { + description + "IPv4 Node SID"; + } + enum "ipv4-adjacency-sid" { + description + "IPv4 Adjacency SID"; + } + enum "unknown-sid" { + description + "Unknown SID"; + } + } + description + "PCE SR SID type"; + } + + typedef Lsp-state { + type enumeration { + enum "lsp-down" { + description + "LSP is down"; + } + enum "lsp-up" { + description + "LSP is up"; + } + } + description + "LSP setup type"; + } + + typedef Pcep-lsp-state { + type enumeration { + enum "lsp-down" { + description + "LSP is down"; + } + enum "lsp-up" { + description + "LSP is up"; + } + enum "lsp-active" { + description + "LSP is active (carrying traffic)"; + } + enum "lsp-going-down" { + description + "LSP is going down"; + } + enum "lsp-being-signaled" { + description + "LSP is being signaled"; + } + } + description + "PCEP operation protocol"; + } + + typedef Lsp-setup { + type enumeration { + enum "setup-rsvp" { + description + "LSP is established using RSVP-TE"; + } + enum "setup-sr" { + description + "LSP is established using SR-TE"; + } + enum "setup-unknown" { + description + "Unknown LSP establishment method"; + } + } + description + "LSP setup type"; + } + + grouping PCE-ADDR-BAG { + description + "PCE Address Information"; + leaf address-family { + type uint8; + description + "Address Family"; + } + leaf ipv4-prefix { + type inet:ipv4-address; + description + "IPv4 prefix"; + } + leaf ipv6-prefix { + type inet:ipv6-address; + description + "IPv6 prefix"; + } + } + + grouping PCE-PATH-BAG { + description + "PCE path information"; + container source { + description + "Source of path"; + uses PCE-IP-ADDR-TYPE; + } + container destination { + description + "Destination of path"; + uses PCE-IP-ADDR-TYPE; + } + leaf cost { + type uint64; + description + "Cost"; + } + list hops { + description + "Hop addresses"; + uses PCE-ADDR-BAG; + } + } + + grouping PCE-PATH-LIST-BAG { + description + "PCE path list"; + leaf headends-swapped { + type Pce-headend-swap; + description + "Headends swapped"; + } + leaf cspf-result { + type Pce-cspf-rc; + description + "CSPF Result"; + } + list output-path { + description + "Output PCE paths"; + uses PCE-PATH-BAG; + } + } + + grouping PCE-ASSO-LSP-INFO { + description + "Association LSP common information"; + leaf pcc-address { + type inet:ipv4-address; + description + "PCC address"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + leaf lspid { + type uint32; + description + "LSP ID"; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf pce-based { + type boolean; + description + "PCE Based"; + } + leaf plsp-id { + type uint32; + description + "PLSP ID"; + } + } + + grouping PCE-ASSO-BAG { + description + "PCE Association information"; + leaf association-type { + type uint32; + description + "Association Type"; + } + leaf association-id { + type uint32; + description + "Association ID"; + } + leaf association-source { + type inet:ipv4-address; + description + "Association Source"; + } + leaf strict { + type boolean; + description + "Association Strict Mode"; + } + leaf status { + type uint32; + description + "Association Status"; + } + leaf headends-swapped { + type uint32; + description + "Headends Swapped"; + } + list association-lsp { + description + "Association LSP Info"; + uses PCE-ASSO-LSP-INFO; + } + } + + grouping PCE-PFX-ENTRY { + description + "PCE prefix etnry"; + container ip { + description + "Prefix IP address"; + uses PCE-IP-ADDR-TYPE; + } + } + + grouping PCE-PFX-BAG { + description + "PCE Prefix Information"; + container node-protocol-identifier { + description + "Node protocol identifier"; + uses PCE-NODE-PID-BAG; + } + leaf node-identifier-xr { + type uint32; + description + "Node identifier"; + } + list address { + description + "Prefix address"; + uses PCE-PFX-ENTRY; + } + } + + grouping PCE-IPV6-LINK-BAG { + description + "PCE IPv6 Link Information"; + container local-igp-information { + description + "Local node IGP information"; + uses PCE-IGP-INFO-BAG; + } + container remote-node-protocol-identifier { + description + "Remote node protocol identifier"; + uses PCE-NODE-PID-BAG; + } + leaf local-ipv6-address { + type inet:ipv6-address; + description + "Local IPv6 address"; + } + leaf remote-ipv6-address { + type inet:ipv6-address; + description + "Remote IPv6 address"; + } + leaf igp-metric { + type uint32; + description + "IGP Metric"; + } + leaf te-metric { + type uint32; + description + "TE Metric"; + } + leaf maximum-link-bandwidth { + type uint64; + description + "Max link bandwidth"; + } + leaf max-reservable-bandwidth { + type uint64; + description + "Max Reservable bandwidth"; + } + list adjacency-sid { + description + "Adjacency SIDs"; + uses PCE-SID-BAG; + } + } + + grouping PCE-IPV4-LINK-BAG { + description + "PCE IPv4 Link Information"; + container local-igp-information { + description + "Local node IGP information"; + uses PCE-IGP-INFO-BAG; + } + container remote-node-protocol-identifier { + description + "Remote node protocol identifier"; + uses PCE-NODE-PID-BAG; + } + leaf local-ipv4-address { + type inet:ipv4-address; + description + "Local IPv4 address"; + } + leaf remote-ipv4-address { + type inet:ipv4-address; + description + "Remote IPv4 address"; + } + leaf igp-metric { + type uint32; + description + "IGP Metric"; + } + leaf te-metric { + type uint32; + description + "TE Metric"; + } + leaf maximum-link-bandwidth { + type uint64; + description + "Max link bandwidth"; + } + leaf max-reservable-bandwidth { + type uint64; + description + "Max Reservable bandwidth"; + } + leaf-list srlgs { + type uint32; + description + "SRLG Values"; + } + list adjacency-sid { + description + "Adjacency SIDs"; + uses PCE-SID-BAG; + } + } + + grouping PCE-IP-ADDR-TYPE { + description + "PCE IP ADDR TYPE"; + leaf af-name { + type Pce-af-id; + description + "AFName"; + } + leaf ipv4 { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type Pce-ipv4-address; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Pce-ipv6-address; + description + "IPv6 address type"; + } + } + + grouping PCE-SID-BAG { + description + "PCE SID bags"; + container sid-prefix { + description + "Prefix"; + uses PCE-IP-ADDR-TYPE; + } + leaf sid-type { + type Sid; + description + "SID Type"; + } + leaf mpls-label { + type uint32; + description + "MPLS Label"; + } + leaf domain-identifier { + type uint64; + description + "Domain identifier"; + } + leaf rflag { + type boolean; + description + "R Flag"; + } + leaf nflag { + type boolean; + description + "N Flag"; + } + leaf pflag { + type boolean; + description + "P Flag"; + } + leaf eflag { + type boolean; + description + "E Flag"; + } + leaf vflag { + type boolean; + description + "V Flag"; + } + leaf lflag { + type boolean; + description + "L Flag"; + } + } + + grouping PCE-SRGB-INFO-BAG { + description + "PCE SRGB information bag"; + container igp-srgb { + description + "IGP-specific information"; + uses PCE-IGP-INFO-TYPE; + } + leaf start { + type uint32; + description + "SRGB start"; + } + leaf size { + type uint32; + description + "SRGB size"; + } + } + + grouping PCE-IGP-INFO-BGP { + description + "PCE BGP Information"; + leaf router-id { + type Pce-ipv4-address; + description + "BGP router ID"; + } + leaf confed-asn { + type uint32; + description + "Confederation ASN"; + } + } + + grouping PCE-IGP-INFO-OSPF { + description + "PCE OSPF Information"; + leaf router-id { + type Pce-ipv4-address; + description + "OSPF router ID"; + } + leaf area { + type uint32; + description + "OSPF area"; + } + } + + grouping PCE-IGP-INFO-ISIS { + description + "PCE ISIS Information"; + leaf system-id { + type string; + description + "ISIS system ID"; + } + leaf level { + type uint32; + description + "ISIS level"; + } + } + + grouping PCE-IGP-INFO-TYPE { + description + "PCE IGP INFO TYPE"; + container isis { + when "../igp-id = 'isis'" { + description + "../IGP_ID = 'ISIS'"; + } + description + "ISIS information"; + uses PCE-IGP-INFO-ISIS; + } + container ospf { + when "../igp-id = 'ospf'" { + description + "../IGP_ID = 'OSPF'"; + } + description + "OSPF information"; + uses PCE-IGP-INFO-OSPF; + } + container bgp { + when "../igp-id = 'bgp'" { + description + "../IGP_ID = 'BGP'"; + } + description + "BGP information"; + uses PCE-IGP-INFO-BGP; + } + leaf igp-id { + type Pce-igp-info-id; + description + "IGP ID"; + } + } + + grouping PCE-IGP-INFO-BAG { + description + "PCE IGP information bag"; + container igp { + description + "IGP-specific information"; + uses PCE-IGP-INFO-TYPE; + } + leaf domain-identifier { + type uint64; + description + "Domain identifier"; + } + leaf autonomous-system-number { + type uint32; + description + "Autonomous System Number"; + } + } + + grouping PCE-NODE-PID-BAG { + description + "PCE Node Protocol Identifier Information"; + leaf node-name { + type string; + description + "Node Name"; + } + leaf ipv4-bgp-router-id-set { + type boolean; + description + "True if IPv4 BGP router ID is set"; + } + leaf ipv4-bgp-router-id { + type inet:ipv4-address; + description + "IPv4 TE router ID"; + } + leaf ipv4te-router-id-set { + type boolean; + description + "True if IPv4 TE router ID is set"; + } + leaf ipv4te-router-id { + type inet:ipv4-address; + description + "IPv4 BGP router ID"; + } + list igp-information { + description + "IGP information"; + uses PCE-IGP-INFO-BAG; + } + list srgb-information { + description + "SRGB information"; + uses PCE-SRGB-INFO-BAG; + } + } + + grouping PCE-XTC-NODE-BAG { + description + "PCE XTC Node Information"; + container node-protocol-identifier { + description + "Node protocol identifier"; + uses PCE-NODE-PID-BAG; + } + leaf node-identifier-xr { + type uint32; + description + "Node identifier"; + } + leaf overload { + type boolean; + description + "Node Overload Bit"; + } + list prefix-sid { + description + "Prefix SIDs"; + uses PCE-SID-BAG; + } + list ipv4-link { + description + "IPv4 Link information"; + uses PCE-IPV4-LINK-BAG; + } + list ipv6-link { + description + "IPv6 Link information"; + uses PCE-IPV6-LINK-BAG; + } + } + + grouping PCE-TOPO-STATS-BAG { + description + "Statistics on topology update"; + leaf num-nodes-added { + type uint32; + description + "Number of nodes added"; + } + leaf num-nodes-deleted { + type uint32; + description + "Number of nodes deleted"; + } + leaf num-links-added { + type uint32; + description + "Number of links added"; + } + leaf num-links-deleted { + type uint32; + description + "Number of links deleted"; + } + leaf num-prefixes-added { + type uint32; + description + "Number of prefixes added"; + } + leaf num-prefixes-deleted { + type uint32; + description + "Number of prefixes deleted"; + } + } + + grouping PCE-NODE-SUMMARY-BAG { + description + "PCE Node Summary Information"; + container stats-topology-update { + description + "Statistics on topology update"; + uses PCE-TOPO-STATS-BAG; + } + leaf nodes { + type uint32; + description + "Number of PCE nodes"; + } + leaf lookup-nodes { + type uint32; + description + "Number of lookup nodes"; + } + leaf prefixes { + type uint32; + description + "Number of prefixes"; + } + leaf prefix-sids { + type uint32; + description + "Number of total prefix SIDs"; + } + leaf regular-prefix-sids { + type uint32; + description + "Number of reguar prefix SIDs"; + } + leaf strict-prefix-sids { + type uint32; + description + "Number of strict prefix SIDs"; + } + leaf links { + type uint32; + description + "Number of links"; + } + leaf epe-links { + type uint32; + description + "Number of EPE links"; + } + leaf adjacency-sids { + type uint32; + description + "Number of total adjacency SIDs"; + } + leaf epesids { + type uint32; + description + "Number of total EPE SIDs"; + } + leaf protected-adjacency-sids { + type uint32; + description + "Number of protected adjacency SIDs"; + } + leaf un-protected-adjacency-sids { + type uint32; + description + "Number of unprotected adjacency SIDs"; + } + leaf topology-consistent { + type boolean; + description + "True if topology is consistent"; + } + } + + grouping PCE-PEER-BAG { + description + "Peer information"; + container brief-pcep-information { + description + "PCE protocol information"; + uses PCE-PCEP-BAG; + } + leaf peer-address-xr { + type inet:ipv4-address; + description + "Peer address"; + } + leaf peer-protocol { + type Pce-proto; + description + "Protocol between PCE and peer"; + } + } + + grouping PCE-PCEP-ERROR-BAG { + description + "PCEP Error information"; + leaf pc-error-type { + type uint8; + description + "PCEP Error type"; + } + leaf pc-error-value { + type uint8; + description + "PCEP Error Value"; + } + } + + grouping PCE-PCEP-BAG { + description + "PCEP information"; + leaf pcep-state { + type Pcep-state; + description + "PCEP State"; + } + leaf stateful { + type boolean; + description + "Stateful"; + } + leaf capability-update { + type boolean; + description + "Update capability"; + } + leaf capability-instantiate { + type boolean; + description + "Instantiation capability"; + } + leaf capability-segment-routing { + type boolean; + description + "Segment Routing capability"; + } + leaf capability-triggered-sync { + type boolean; + description + "Triggered Synchronization capability"; + } + leaf capability-db-version { + type boolean; + description + "DB version capability"; + } + leaf capability-delta-sync { + type boolean; + description + "Delta Synchronization capability"; + } + } + + grouping PCE-PCEP-DETAIL-BAG { + description + "Detailed PCE protocol information"; + container brief-pcep-information { + description + "Brief PCE protocol information"; + uses PCE-PCEP-BAG; + } + container last-error-rx { + description + "Last PCError received"; + uses PCE-PCEP-ERROR-BAG; + } + container last-error-tx { + description + "Last PCError sent"; + uses PCE-PCEP-ERROR-BAG; + } + leaf error { + type string; + description + "Error (for display only)"; + } + leaf speaker-id { + type string; + description + "Speaker Entity ID"; + } + leaf pcep-up-time { + type uint32; + description + "PCEP Up Time"; + } + leaf keepalives { + type uint32; + description + "Keepalive count"; + } + leaf md5-enabled { + type boolean; + description + "MD5 Authentication Enabled"; + } + leaf keychain-enabled { + type boolean; + description + "Keychain based Authentication Enabled"; + } + leaf negotiated-local-keepalive { + type uint32; + description + "Negotiated KA"; + } + leaf negotiated-remote-keepalive { + type uint32; + description + "Negotiated KA"; + } + leaf negotiated-dead-time { + type uint32; + description + "Negotiated DT"; + } + leaf pce-request-rx { + type uint32; + description + "PCEReq Rx"; + } + leaf pce-request-tx { + type uint32; + description + "PCEReq Tx"; + } + leaf pce-reply-rx { + type uint32; + description + "PCERep Rx"; + } + leaf pce-reply-tx { + type uint32; + description + "PCERep Tx"; + } + leaf pce-error-rx { + type uint32; + description + "PCEErr Rx"; + } + leaf pce-error-tx { + type uint32; + description + "PCEErr Tx"; + } + leaf pce-open-tx { + type uint32; + description + "PCEOpen Tx"; + } + leaf pce-open-rx { + type uint32; + description + "PCEOpen Rx"; + } + leaf pce-report-rx { + type uint32; + description + "PCERpt Rx"; + } + leaf pce-report-tx { + type uint32; + description + "PCERpt Tx"; + } + leaf pce-update-rx { + type uint32; + description + "PCEUpd Rx"; + } + leaf pce-update-tx { + type uint32; + description + "PCEUpd Tx"; + } + leaf pce-initiate-rx { + type uint32; + description + "PCEInit Rx"; + } + leaf pce-initiate-tx { + type uint32; + description + "PCEInit Tx"; + } + leaf pce-keepalive-tx { + type uint64; + description + "PCE Keepalive Tx"; + } + leaf pce-keepalive-rx { + type uint64; + description + "PCE Keepalive Rx"; + } + leaf local-session-id { + type uint8; + description + "Local PCEP session ID"; + } + leaf remote-session-id { + type uint8; + description + "Remote PCEP session ID"; + } + leaf minimum-keepalive-interval { + type uint8; + description + "Minimum keepalive interval for the peer"; + } + leaf maximum-dead-interval { + type uint8; + description + "Maximum dead interval for the peer"; + } + } + + grouping PCE-PEER-DETAIL-BAG { + description + "Detailed PCEP peer information"; + container detail-pcep-information { + description + "Detailed PCE protocol information"; + uses PCE-PCEP-DETAIL-BAG; + } + leaf peer-address-xr { + type inet:ipv4-address; + description + "Peer address"; + } + leaf peer-protocol { + type Pce-proto; + description + "Protocol between PCE and peer"; + } + } + + grouping PCE-EVENT-INFO { + description + "PCE Event information"; + leaf event-message { + type string; + description + "Event message"; + } + leaf time-stamp { + type uint32; + description + "Event time, relative to Jan 1, 1970"; + } + } + + grouping PCE-EVENT-BAG { + description + "Private LSP information"; + list event-buffer { + description + "LSP Event buffer"; + uses PCE-EVENT-INFO; + } + } + + grouping PCE-LSPA-INFO { + description + "PCE LSP attribute information"; + leaf affinity-exclude-any { + type uint32; + description + "Affinity exclude any"; + } + leaf affinity-include-any { + type uint32; + description + "Affinity include any"; + } + leaf affinity-include-all { + type uint32; + description + "Affinity include all"; + } + leaf setup-priority { + type uint8; + description + "Setup Priority"; + } + leaf hold-priority { + type uint8; + description + "Hold Priority"; + } + leaf local-protection { + type boolean; + description + "True, if local protection is desired"; + } + } + + grouping PCE-ASSO-INFO { + description + "PCE LSP association information"; + leaf association-type { + type uint32; + description + "Association Type"; + } + leaf association-id { + type uint32; + description + "Association ID"; + } + leaf association-source { + type inet:ipv4-address; + description + "Association Source"; + } + } + + grouping PCE-LSP-RSVP-ERROR-BAG { + description + "RSVP error information"; + leaf node-address { + type inet:ipv4-address; + description + "RSVP error node address"; + } + leaf error-flags { + type uint8; + description + "RSVP error flags"; + } + leaf error-code { + type uint8; + description + "RSVP error code"; + } + leaf error-value { + type uint16; + description + "RSVP error value"; + } + } + + grouping PCE-PCEP-INFO { + description + "PCEP LSP information"; + container rsvp-error { + description + "RSVP error info"; + uses PCE-LSP-RSVP-ERROR-BAG; + } + leaf pcepid { + type uint32; + description + "PCE protocol identifier"; + } + leaf pcep-flag-d { + type boolean; + description + "PCEP LSP delegation flag"; + } + leaf pcep-flag-s { + type boolean; + description + "PCEP LSP state-sync flag"; + } + leaf pcep-flag-r { + type boolean; + description + "PCEP LSP remove flag"; + } + leaf pcep-flag-a { + type boolean; + description + "PCEP LSP admin flag"; + } + leaf pcep-flag-o { + type uint8; + description + "PCEP LSP operation flag"; + } + leaf pcep-flag-c { + type uint8; + description + "PCEP LSP initiated flag"; + } + } + + grouping PCE-RRO-INFO { + description + "RRO information"; + container sr-rro { + description + "Segment Routing RRO info"; + uses PCE-SR-HOP-TYPE; + } + leaf rro-type { + type Pce-rro; + description + "RRO Type"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address of RRO"; + } + leaf mpls-label { + type uint32; + description + "MPLS label of RRO"; + } + leaf flags { + type uint8; + description + "RRO Flags"; + } + } + + grouping PCE-SR-HOP-TYPE { + description + "SR hop type"; + leaf sid-type { + type Pce-sr-sid; + description + "SID type"; + } + leaf mpls-label { + type uint32; + description + "Label"; + } + leaf local-addr { + type inet:ipv4-address; + description + "Local Address"; + } + leaf remote-addr { + type inet:ipv4-address; + description + "Remote Address"; + } + } + + grouping PCE-RSVP-HOP-TYPE { + description + "RSVP hop type"; + leaf hop-address { + type inet:ipv4-address; + description + "RSVP hop address"; + } + } + + grouping PCE-ERO-INFO { + description + "ERO information"; + leaf reported-metric-type { + type uint32; + description + "Reported Metric Type"; + } + leaf reported-metric-value { + type uint32; + description + "Reported Metric Value"; + } + leaf computed-metric-type { + type uint32; + description + "Computed Metric Type"; + } + leaf computed-metric-value { + type uint32; + description + "Computed Metric Value"; + } + leaf computed-hop-list-time { + type uint32; + description + "Computed Hop List Time"; + } + list reported-rsvp-path { + description + "Reported RSVP path"; + uses PCE-RSVP-HOP-TYPE; + } + list reported-sr-path { + description + "Reported SR path"; + uses PCE-SR-HOP-TYPE; + } + list computed-rsvp-path { + description + "Computed RSVP path"; + uses PCE-RSVP-HOP-TYPE; + } + list computed-sr-path { + description + "Computed SR path"; + uses PCE-SR-HOP-TYPE; + } + } + + grouping PCE-LSP-DETAIL-INFO { + description + "Detailed LSP information"; + container brief-lsp-information { + description + "Brief LSP information"; + uses PCE-LSP-INFO; + } + container er-os { + description + "Paths"; + uses PCE-ERO-INFO; + } + container lsppcep-information { + description + "PCEP related LSP information"; + uses PCE-PCEP-INFO; + } + container lsp-association-info { + description + "LSP association information"; + uses PCE-ASSO-INFO; + } + container lsp-attributes { + description + "LSP attributes"; + uses PCE-LSPA-INFO; + } + leaf signaled-bandwidth-specified { + type boolean; + description + "True if router notifies signal bandwidth"; + } + leaf signaled-bandwidth { + type uint64; + description + "Signaled Bandwidth"; + } + leaf actual-bandwidth-specified { + type boolean; + description + "True if router notifies actual bandwidth"; + } + leaf actual-bandwidth { + type uint64; + description + "Actual bandwidth utilized in the data-plane"; + } + leaf lsp-role { + type uint32; + description + "LSP Role"; + } + leaf computing-pce { + type uint32; + description + "Computing PCE"; + } + leaf sub-delegated-pce { + type inet:ipv4-address; + description + "Sub delegated PCE"; + } + leaf state-sync-pce { + type inet:ipv4-address; + description + "State-sync PCE"; + } + leaf reporting-pcc-address { + type inet:ipv4-address; + description + "Reporting PCC address"; + } + leaf-list srlg-info { + type uint32; + description + "List of SLRGs used by LSP"; + } + list rro { + description + "RRO"; + uses PCE-RRO-INFO; + } + } + + grouping PCE-TUN-DETAIL-BAG { + description + "Tunnel detail information"; + container private-lsp-information { + description + "Private LSP information"; + uses PCE-EVENT-BAG; + } + leaf pcc-address { + type inet:ipv4-address; + description + "PCC address"; + } + leaf tunnel-name-xr { + type string; + description + "Tunnel Name"; + } + list detail-lsp-information { + description + "Detail LSP information"; + uses PCE-LSP-DETAIL-INFO; + } + } + + grouping PCE-LSP-COUNTS-BAG { + description + "Number of LSPs"; + leaf all-ls-ps { + type uint32; + description + "Number of all LSPs"; + } + leaf up-ls-ps { + type uint32; + description + "Number of operational LSPs"; + } + leaf admin-up-ls-ps { + type uint32; + description + "Number of administratively up LSPs"; + } + leaf sr-ls-ps { + type uint32; + description + "Number of LSPs with Segment routing setup type"; + } + leaf rsvp-ls-ps { + type uint32; + description + "Number of LSPs with RSVP setup type"; + } + } + + grouping PCE-LSP-PER-PEER-SUMMARY-BAG { + description + "Number of LSPs for specific peer"; + container lsp-summary { + description + "Number of LSPs for specific peer"; + uses PCE-LSP-COUNTS-BAG; + } + leaf peer-address { + type inet:ipv4-address; + description + "Peer IPv4 address"; + } + } + + grouping PCE-LSP-SUMMARY-BAG { + description + "PCE LSP summary information"; + container all-ls-ps { + description + "Summary for all peers"; + uses PCE-LSP-COUNTS-BAG; + } + list peer-ls-ps-info { + description + "Number of LSPs for specific peer"; + uses PCE-LSP-PER-PEER-SUMMARY-BAG; + } + } + + grouping PCE-LSP-INFO { + description + "LSP common information"; + leaf source-address { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + leaf lspid { + type uint32; + description + "LSP ID"; + } + leaf binding-sid { + type uint32; + description + "Binding SID"; + } + leaf lsp-setup-type { + type Lsp-setup; + description + "LSP Setup Type"; + } + leaf operational-state { + type Pcep-lsp-state; + description + "Operational state"; + } + leaf administrative-state { + type Lsp-state; + description + "Admin state"; + } + } + + grouping PCE-TUN-BAG { + description + "Tunnel information"; + leaf pcc-address { + type inet:ipv4-address; + description + "PCC address"; + } + leaf tunnel-name-xr { + type string; + description + "Tunnel Name"; + } + list brief-lsp-information { + description + "Brief LSP information"; + uses PCE-LSP-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper.yang new file mode 100644 index 0000000..6f309ca --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-infra-xtc-oper.yang @@ -0,0 +1,372 @@ +module Cisco-IOS-XR-infra-xtc-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper"; + prefix infra-xtc-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-infra-xtc-oper-sub1 { + revision-date 2017-08-24; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR infra-xtc package operational data. + + This module contains definitions + for the following management objects: + pce-lsp-data: PCE LSP's data + pce-peer: pce peer + pce-topology: pce topology + pce: pce + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-24 { + description + "Added C flag to pcep flags."; + } + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-05-31 { + description + "Revision description string."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pce-asso { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown type"; + } + enum "link" { + value 1; + description + "LINK"; + } + enum "node" { + value 2; + description + "NODE"; + } + enum "srlg" { + value 3; + description + "SRLG"; + } + } + description + "Pce asso"; + } + + grouping PEER-TABLE { + description + "Common node of pce, pce-peer"; + container peer-infos { + description + "Peers database in XTC"; + list peer-info { + key "peer-address"; + description + "PCE peer information"; + leaf peer-address { + type inet:ip-address-no-zone; + description + "Peer Address"; + } + uses PCE-PEER-BAG; + } + } + } + + grouping PEER-DETAIL-TABLE { + description + "Common node of pce, pce-peer"; + container peer-detail-infos { + description + "Detailed peers database in XTC"; + list peer-detail-info { + key "peer-address"; + description + "Detailed PCE peer information"; + leaf peer-address { + type inet:ip-address-no-zone; + description + "Peer Address"; + } + uses PCE-PEER-DETAIL-BAG; + } + } + } + + grouping PREFIX-TABLE { + description + "Common node of pce, pce-topology"; + container prefix-infos { + description + "Prefixes database in XTC"; + list prefix-info { + key "node-identifier"; + description + "PCE prefix information"; + leaf node-identifier { + type int32; + description + "Node ID"; + } + uses PCE-PFX-BAG; + } + } + } + + grouping TUNNEL-TABLE { + description + "Common node of pce, pce-lsp-data"; + container tunnel-infos { + description + "Tunnel database in XTC"; + list tunnel-info { + key "peer-address plsp-id tunnel-name"; + description + "Tunnel information"; + leaf peer-address { + type inet:ip-address-no-zone; + description + "Peer Address"; + } + leaf plsp-id { + type int32; + description + "PCEP LSP ID"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel name"; + } + uses PCE-TUN-BAG; + } + } + } + + grouping TOPOLOGY-SUMMARY { + description + "Common node of pce, pce-topology"; + container topology-summary { + description + "Node summary database in XTC"; + uses PCE-NODE-SUMMARY-BAG; + } + } + + grouping LSP-SUMMARY { + description + "Common node of pce, pce-lsp-data"; + container lsp-summary { + description + "LSP summary database in XTC"; + uses PCE-LSP-SUMMARY-BAG; + } + } + + grouping TOPOLOGY-NODE-TABLE { + description + "Common node of pce, pce-topology"; + container topology-nodes { + description + "Node database in XTC"; + list topology-node { + key "node-identifier"; + description + "Node information"; + leaf node-identifier { + type int32; + description + "Node Identifier"; + } + uses PCE-XTC-NODE-BAG; + } + } + } + + grouping TUNNEL-DETAIL-TABLE { + description + "Common node of pce, pce-lsp-data"; + container tunnel-detail-infos { + description + "Detailed tunnel database in XTC"; + list tunnel-detail-info { + key "peer-address plsp-id tunnel-name"; + description + "Detailed tunnel information"; + leaf peer-address { + type inet:ip-address-no-zone; + description + "Peer Address"; + } + leaf plsp-id { + type int32; + description + "PCEP LSP ID"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel name"; + } + uses PCE-TUN-DETAIL-BAG; + } + } + } + + container pce-lsp-data { + config false; + description + "PCE LSP's data"; + uses TUNNEL-TABLE; + uses LSP-SUMMARY; + uses TUNNEL-DETAIL-TABLE; + } + container pce-peer { + config false; + description + "pce peer"; + uses PEER-DETAIL-TABLE; + uses PEER-TABLE; + } + container pce-topology { + config false; + description + "pce topology"; + uses TOPOLOGY-SUMMARY; + uses TOPOLOGY-NODE-TABLE; + uses PREFIX-TABLE; + } + container pce { + config false; + description + "pce"; + container association-infos { + description + "Associaition database in XTC"; + list association-info { + key "group-id"; + description + "PCE Association information"; + leaf group-id { + type int32; + description + "Group ID"; + } + leaf type { + type Pce-asso; + description + "Type"; + } + leaf sub-id { + type int32; + description + "Sub ID"; + } + uses PCE-ASSO-BAG; + } + } + container cspf { + description + "CSPF path info"; + container cspf-paths { + description + "This table models the path calculation + capabilities in XTC.A GET operation for the + complete table will return no entries."; + list cspf-path { + key "af source1 destination1 metric-type source2 destination2 disjoint-level disjoint-strict shortest-path"; + description + "A GET operation on this class returns the path + ."; + leaf af { + type int32; + description + "Address Family"; + } + leaf source1 { + type inet:ip-address-no-zone; + description + "Source of path 1"; + } + leaf destination1 { + type inet:ip-address-no-zone; + description + "Destination of path 1"; + } + leaf metric-type { + type int32; + description + "Metric type"; + } + leaf source2 { + type inet:ip-address-no-zone; + description + "Source of path 2"; + } + leaf destination2 { + type inet:ip-address-no-zone; + description + "Destination of path 2"; + } + leaf disjoint-level { + type int32; + description + "Disjointness level"; + } + leaf disjoint-strict { + type int32; + description + "Strict disjointness required"; + } + leaf shortest-path { + type int32; + description + "Whether path 1 or 2 should be shortest"; + } + uses PCE-PATH-LIST-BAG; + } + } + } + uses TOPOLOGY-SUMMARY; + uses TUNNEL-TABLE; + uses PEER-DETAIL-TABLE; + uses TOPOLOGY-NODE-TABLE; + uses PREFIX-TABLE; + uses LSP-SUMMARY; + uses PEER-TABLE; + uses TUNNEL-DETAIL-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang new file mode 100644 index 0000000..5c886e9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub1.yang @@ -0,0 +1,175 @@ +submodule Cisco-IOS-XR-installmgr-admin-oper-sub1 { + belongs-to Cisco-IOS-XR-installmgr-admin-oper { + prefix Cisco-IOS-XR-installmgr-admin-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR installmgr-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Instmgr-bag-log-entry-user-msg-category { + type enumeration { + enum "user-error" { + value 1; + description + "User error"; + } + enum "non-specific" { + value 2; + description + "Non-specific message"; + } + enum "warning" { + value 3; + description + "Warning message"; + } + enum "information" { + value 4; + description + "Information message"; + } + enum "user-prompt" { + value 5; + description + "User prompt"; + } + enum "log" { + value 6; + description + "Log message"; + } + enum "system-error" { + value 7; + description + "System error"; + } + enum "user-response" { + value 8; + description + "User response"; + } + } + description + "Category type"; + } + + grouping INSTMGR-BAG-LOG-ENTRY-USER-MSG-SCOPE-TYPE { + description + "INSTMGR BAG LOG ENTRY USER MSG SCOPE TYPE"; + leaf admin-read { + type boolean; + description + "Does the admin want to read this?"; + } + leaf affected-sd-rs { + type uint32; + description + "Which SDRs are affected by the message"; + } + } + + grouping INSTMGR-BAG-LOG-ENTRY-V3 { + description + "INSTMGR BAG LOG ENTRY V3"; + container scope { + description + "Scope of the message"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-SCOPE-TYPE; + } + leaf category { + type Instmgr-bag-log-entry-user-msg-category; + description + "Category of the message"; + } + leaf message { + type string; + description + "Message"; + } + } + + grouping MSG-CONTENTS { + description + "MSG CONTENTS"; + container v3 { + when "../version = '3'" { + description + "../Version = '3'"; + } + description + "v3"; + uses INSTMGR-BAG-LOG-ENTRY-V3; + } + leaf version { + type uint32; + description + "Version"; + } + } + + grouping INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3 { + description + "A user message"; + container log-contents { + description + "Log contents"; + uses MSG-CONTENTS; + } + } + + grouping INSTALL-LOG-ENTRY-4 { + description + "Install manager history log entry"; + list header { + description + "Header information"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + list summary { + description + "Summary information"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + list message { + description + "Status Information Logs"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + list change { + description + "Install changes"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + list detail { + description + "Install details"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + list communication { + description + "Install communications"; + uses INSTMGR-BAG-LOG-ENTRY-USER-MSG-TYPE-3; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang new file mode 100644 index 0000000..2768097 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub2.yang @@ -0,0 +1,951 @@ +submodule Cisco-IOS-XR-installmgr-admin-oper-sub2 { + belongs-to Cisco-IOS-XR-installmgr-admin-oper { + prefix Cisco-IOS-XR-installmgr-admin-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR installmgr-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Path { + type string; + description + "The path of the file from the root directory of + the package group"; + } + + typedef Instmgr-group { + type enumeration { + enum "inst-pkg-group-undefined" { + description + "Undefined grouping"; + } + enum "inst-pkg-group-grouped" { + description + "Packages are grouped"; + } + enum "inst-pkg-group-individual" { + description + "Packages are all individual"; + } + } + description + "Group type"; + } + + typedef Instmgr-pkg { + type enumeration { + enum "inst-pkg-type-undefined" { + description + "Undefined package"; + } + enum "inst-pkg-type-root" { + description + "Root package"; + } + enum "inst-pkg-type-standard" { + description + "Standard package"; + } + enum "inst-pkg-type-internal" { + description + "Internal package"; + } + } + description + "Package type"; + } + + typedef Instmgr-card { + type string; + description + "A card-type"; + } + + typedef Instmgr-install-phase { + type enumeration { + enum "inst-phase-unknown" { + value 0; + description + "Unknown operational phase"; + } + enum "inst-phase-download" { + value 10; + description + "Downloading"; + } + enum "inst-phase-sw-change" { + value 50; + description + "Performing software changes"; + } + enum "inst-phase-cleaning-up" { + value 1000; + description + "Cleaning up after op"; + } + } + description + "Current operation phase"; + } + + typedef Instmgr-bag-ii-state { + type enumeration { + enum "idle" { + value 1; + description + "Node to be upraded"; + } + enum "in-progress" { + value 2; + description + "Node is being upraded"; + } + enum "completed" { + value 3; + description + "Node upgraded successfully"; + } + enum "aborted" { + value 4; + description + "Node reverted to the old S/W"; + } + enum "rebooted" { + value 5; + description + "Node rebooted and held in MBI"; + } + } + description + "The Incremental Install state of an install"; + } + + typedef Instmgr-bag-ii-direction { + type enumeration { + enum "not-incremental" { + description + "Not incremental install operation"; + } + enum "installing" { + description + "Installing"; + } + enum "unwinding" { + description + "Unwinding"; + } + } + description + "The Incremental Install direction"; + } + + typedef Instmgr-bag-user-msg-category { + type enumeration { + enum "user-error" { + value 1; + description + "User error"; + } + enum "non-specific" { + value 2; + description + "Non-specific message"; + } + enum "warning" { + value 3; + description + "Warning message"; + } + enum "information" { + value 4; + description + "Information message"; + } + enum "user-prompt" { + value 5; + description + "User prompt"; + } + enum "log" { + value 6; + description + "Log message"; + } + enum "system-error" { + value 7; + description + "System error"; + } + enum "user-response" { + value 8; + description + "User response"; + } + } + description + "Instmgr bag user msg category"; + } + + typedef Instmgr-issu-abort-impact { + type enumeration { + enum "undefined" { + description + "Unknown abort impact"; + } + enum "hitless" { + description + "Abort is hitless"; + } + enum "traffic-outage" { + description + "Abort will not affect traffic"; + } + enum "not-applicable" { + description + "Abort impact: n/a"; + } + } + description + "Abort impact"; + } + + typedef Instmgr-issu-abort-method { + type enumeration { + enum "method-undefined" { + description + "Unknown abort method"; + } + enum "method-no-operation" { + description + "No abort is required"; + } + enum "method-standby-reload" { + description + "Abort will reload standby nodes"; + } + enum "method-system-reload" { + description + "Abort will reload the whole system"; + } + enum "method-rollback" { + description + "Abort will rollback"; + } + enum "method-not-possible" { + description + "Abort is not possible"; + } + enum "method-admin-only" { + description + "Abort is not possible by SDR user"; + } + } + description + "Abort method"; + } + + typedef Instmgr-bag-abort-state { + type enumeration { + enum "abortable" { + value 1; + description + "Operation can be aborted"; + } + enum "no-longer-abortable" { + value 2; + description + "Operation can no longer be aborted"; + } + enum "never-abortable" { + value 3; + description + "Operation cannot be aborted"; + } + enum "already-aborted" { + value 4; + description + "Operation has been aborted"; + } + } + description + "The abortable state of an install command"; + } + + typedef Instmgr-request { + type enumeration { + enum "add" { + value 1; + description + "install add"; + } + enum "accept" { + value 2; + description + "install accept"; + } + enum "clean" { + value 3; + description + "install clean"; + } + enum "activate" { + value 4; + description + "install activate"; + } + enum "deactivate" { + value 5; + description + "install deactivate"; + } + enum "commit" { + value 6; + description + "install commit"; + } + enum "verify" { + value 7; + description + "install verify"; + } + enum "rollback" { + value 8; + description + "install rollback"; + } + enum "clear-rollback" { + value 9; + description + "install clear rollback oldest"; + } + enum "clear-log" { + value 10; + description + "install clear historylog"; + } + enum "health-check" { + value 11; + description + "(Deprecated) install healthcheck"; + } + enum "operation" { + value 12; + description + "install run/accept/complete"; + } + enum "stop-timer" { + value 13; + description + "install auto-abort-timer stop"; + } + enum "label" { + value 14; + description + "install label"; + } + enum "clear-label" { + value 15; + description + "clear install label"; + } + enum "extend" { + value 16; + description + "install extend"; + } + } + description + "Instmgr request"; + } + + typedef Instmgr-request-option { + type int32; + description + "Install manager request option bitset"; + } + + typedef Instmgr-bag-request-trigger { + type enumeration { + enum "cli" { + value 1; + description + "Request triggered by CLI"; + } + enum "xr-xml" { + value 2; + description + "Request triggered by XML"; + } + } + description + "The trigger type of an install request"; + } + + typedef Lr-name { + type string; + description + "SDR name"; + } + + typedef Instmgr-node { + type uint64; + description + "Instmgr node"; + } + + grouping BOOT-IMG { + description + "Install manager boot image"; + leaf system-image-file { + type string; + description + "The boot image"; + } + } + + grouping LOCATION-SPECIFIC-LOADPATH { + description + "SDR specific load path information"; + leaf request-id { + type uint32; + description + "Install op affecting scope"; + } + leaf secure-domain-router-name { + type Lr-name; + description + "SDR name"; + } + leaf node-name { + type xr:Node-id; + description + "Node identifier"; + } + list load-path { + description + "Load path"; + uses PKG-INFO; + } + list standby-load-path { + description + "Load paths for standby nodes"; + uses PKG-INFO; + } + } + + grouping LR-SPECIFIC-LOADPATH { + description + "SDR specific load path information"; + leaf request-id { + type uint32; + description + "Install op affecting scope"; + } + leaf secure-domain-router-name { + type Lr-name; + description + "SDR name"; + } + list load-path { + description + "Load path"; + uses PKG-INFO; + } + list standby-load-path { + description + "Load paths for standby nodes"; + uses PKG-INFO; + } + } + + grouping ADMIN-LOADPATH { + description + "Admin Resources Load path information"; + leaf request-id { + type uint32; + description + "Install op affecting scope"; + } + list load-path { + description + "Admin Resources load path"; + uses PKG-INFO; + } + list standby-load-path { + description + "Load paths for standby nodes"; + uses PKG-INFO; + } + } + + grouping DEFAULT-LOADPATH { + description + "Default Load path information"; + leaf request-id { + type uint32; + description + "Install op affecting scope"; + } + leaf admin-match { + type boolean; + description + "Does this match the Admin Resources load path?"; + } + leaf-list secure-domain-router-name { + type Lr-name; + description + "Names of SDRs this applies to"; + } + list load-path { + description + "Default load path"; + uses PKG-INFO; + } + list standby-load-path { + description + "Load paths for standby nodes"; + uses PKG-INFO; + } + } + + grouping INSTALL-INVENTORY-SUMMARY { + description + "Inventory summary information"; + container default-load-path { + description + "Default load path"; + uses DEFAULT-LOADPATH; + } + container admin-load-path { + description + "Admin Resources load path"; + uses ADMIN-LOADPATH; + } + list sdr-load-path { + description + "SDR load paths"; + uses LR-SPECIFIC-LOADPATH; + } + list location-load-path { + description + "Location load paths"; + uses LOCATION-SPECIFIC-LOADPATH; + } + } + + grouping INSTMGR-COMPONENT-INFO { + description + "Information about a single component"; + leaf name { + type string; + description + "Name of the component"; + } + leaf version { + type string; + description + "Version of the component"; + } + leaf release { + type string; + description + "Release that the component belongs to"; + } + leaf description { + type string; + description + "Description of the component"; + } + leaf-list files { + type Path; + description + "The set of files belonging to the component"; + } + } + + grouping INSTMGR-SUB-PKG-INFO { + description + "INSTMGR SUB PKG INFO"; + leaf name { + type string; + description + "Name of the sub-package"; + } + leaf node-types { + type Instmgr-node; + description + "Node types of the package"; + } + } + + grouping INSTMGR-PKG-INFO { + description + "Information about a package"; + leaf name { + type string; + description + "Name of the package"; + } + leaf version { + type string; + description + "Version of the package"; + } + leaf description { + type string; + description + "Description of the package"; + } + leaf release { + type string; + description + "Release that the package belongs to"; + } + leaf vendor { + type string; + description + "Information about the vendor that supplied the + package"; + } + leaf date { + type string; + description + "Time and date that the package was built"; + } + leaf source { + type string; + description + "Identifies the provider of the package"; + } + leaf base { + type string; + description + "Identifies the base bundle that the package is + for"; + } + leaf bootable { + type boolean; + description + "TRUE if package has BOOTIMAGE tag set"; + } + leaf composite { + type boolean; + description + "TRUE if package is a composite package"; + } + leaf restart-info { + type string; + description + "Restart info of the package"; + } + leaf package-type { + type Instmgr-pkg; + description + "Type of the package"; + } + leaf group-type { + type Instmgr-group; + description + "Group type of the package"; + } + leaf depth { + type uint32; + description + "Number of layers of parent packages"; + } + leaf uncompressed-size { + type uint32; + description + "Uncompressed size of package"; + } + leaf compressed-size { + type uint32; + description + "Compressed size of package"; + } + leaf-list cards { + type Instmgr-card; + description + "Card types that the package should be installed + on"; + } + list sub-pkg { + description + "Sub-package info of the package"; + uses INSTMGR-SUB-PKG-INFO; + } + } + + grouping INSTMGR-BAG-II-NODE-STATE-TYPE { + description + "The state of Incremental Install for a given node"; + leaf node-name { + type xr:Node-id; + description + "Node identifier"; + } + leaf state { + type Instmgr-bag-ii-state; + description + "State"; + } + } + + grouping INSTMGR-BAG-II-INFO-TYPE { + description + "Incremental Install info"; + leaf direction { + type Instmgr-bag-ii-direction; + description + "Install direction"; + } + leaf ii-error { + type string; + description + "First error during incremental install"; + } + list nodes { + description + "Participating nodes"; + uses INSTMGR-BAG-II-NODE-STATE-TYPE; + } + } + + grouping INSTMGR-BAG-USER-MSG-SCOPE-TYPE { + description + "INSTMGR BAG USER MSG SCOPE TYPE"; + leaf admin-read { + type boolean; + description + "Does the admin want to read this?"; + } + leaf affected-sd-rs { + type uint32; + description + "Which LRs are affected by the message"; + } + } + + grouping INSTMGR-BAG-USER-MSG-TYPE { + description + "A user message"; + container scope { + description + "Scope of the message"; + uses INSTMGR-BAG-USER-MSG-SCOPE-TYPE; + } + leaf category { + type Instmgr-bag-user-msg-category; + description + "Category of the message"; + } + leaf message { + type string; + description + "Message"; + } + } + + grouping INSTMGR-ISSU-ABORT-STATUS { + description + "Abort status"; + leaf abort-method { + type Instmgr-issu-abort-method; + description + "Method of abort"; + } + leaf abort-impact { + type Instmgr-issu-abort-impact; + description + "Impact of abort"; + } + } + + grouping INSTMGR-BAG-REQUEST-INFO { + description + "Request information"; + leaf request-id { + type uint32; + description + "Install id of operation"; + } + leaf user-id { + type string; + description + "User ID that started the reqeust"; + } + leaf trigger-type { + type Instmgr-bag-request-trigger; + description + "Request trigger type"; + } + leaf request-option { + type Instmgr-request-option; + description + "Options affecting processing of install requests"; + } + leaf operation-type { + type Instmgr-request; + description + "Requested operation type"; + } + leaf operation-detail { + type string; + description + "Detail operation information"; + } + } + + grouping INSTMGR-INSTALL-STATUS { + description + "Status for an install request"; + container request-information { + description + "Requested install operation"; + uses INSTMGR-BAG-REQUEST-INFO; + } + container abort-status { + description + "How the abort will occur"; + uses INSTMGR-ISSU-ABORT-STATUS; + } + container incremental-install-information { + description + "Incremental Install information"; + uses INSTMGR-BAG-II-INFO-TYPE; + } + leaf percentage { + type uint8; + units "percentage"; + description + "Percentage completed"; + } + leaf abort-state { + type Instmgr-bag-abort-state; + description + "Abort state"; + } + leaf downloaded-bytes { + type uint32; + units "byte"; + description + "Downloaded bytes"; + } + leaf unanswered-query { + type boolean; + description + "Whether the operation is blocked waiting for a + response from the user"; + } + leaf operation-phase { + type Instmgr-install-phase; + description + "Phase of the operation"; + } + list issu-message { + description + "Messages related to ISSU operations"; + uses INSTMGR-BAG-USER-MSG-TYPE; + } + list message { + description + "Messages output to the user"; + uses INSTMGR-BAG-USER-MSG-TYPE; + } + } + + grouping PKG-GROUP { + description + "Package group"; + leaf device-name { + type string; + description + "Device name"; + } + leaf name { + type string; + description + "Package group name"; + } + } + + grouping PKG-INFO { + description + "Package information"; + container package { + description + "Package"; + uses PKG-GROUP; + } + leaf version { + type string; + description + "Version"; + } + leaf build-information { + type string; + description + "Build information"; + } + } + + grouping INVENTORY { + description + "Inventory"; + leaf major { + type uint32; + description + "Major data version number"; + } + leaf minor { + type uint32; + description + "Minor data version number"; + } + leaf boot-image-name { + type string; + description + "Name of the boot image"; + } + leaf node-type { + type Instmgr-node; + description + "Node's type"; + } + leaf secure-domain-router-name { + type Lr-name; + description + "SDR name"; + } + list load-path { + description + "Load path"; + uses PKG-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang new file mode 100644 index 0000000..e4c07ab --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper-sub3.yang @@ -0,0 +1,826 @@ +submodule Cisco-IOS-XR-installmgr-admin-oper-sub3 { + belongs-to Cisco-IOS-XR-installmgr-admin-oper { + prefix Cisco-IOS-XR-installmgr-admin-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR installmgr-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Instmgr-ism-fsm-state { + type enumeration { + enum "idle" { + value 0; + description + "No ISSU in progress"; + } + enum "init-done" { + value 1; + description + "LOAD init"; + } + enum "load-shut" { + value 2; + description + "LOAD preparation"; + } + enum "load-wait" { + value 3; + description + "LOAD wait"; + } + enum "load-stp-root-before" { + value 4; + description + "LOAD root SC FO"; + } + enum "load-standby-root-sc-upgrade" { + value 5; + description + "LOAD standby ROOT SC Upgrade"; + } + enum "load-standby-management-upgrade" { + value 6; + description + "LOAD standby management upgrade"; + } + enum "load-stp-root-after" { + value 7; + description + "LOAD NDSC FO"; + } + enum "load-fabric-upgrade" { + value 8; + description + "LOAD fabric upgrade"; + } + enum "load-management-issu-ready" { + value 9; + description + "LOAD ISSU ready"; + } + enum "load-done" { + value 10; + description + "LOAD done"; + } + enum "run-prep" { + value 11; + description + "RUN preparation"; + } + enum "run-wait" { + value 12; + description + "RUN wait"; + } + enum "runi-mdr-prep" { + value 13; + description + "RUN iMDR preparation"; + } + enum "runi-mdr-start" { + value 14; + description + "RUN iMDR start"; + } + enum "runi-mdr-complete" { + value 15; + description + "RUN iMDR complete"; + } + enum "run-make-standby-ready" { + value 16; + description + "RUN make standby ready"; + } + enum "run-root-scfo" { + value 17; + description + "RUN root SC FO"; + } + enum "run-ndscfo" { + value 18; + description + "RUN NDSC FO"; + } + enum "run-transient1" { + value 19; + description + "RUN transient1"; + } + enum "run-dscfo" { + value 20; + description + "RUN DSC FO"; + } + enum "run-fo-complete" { + value 21; + description + "RUN FO compelte"; + } + enum "run-stp-root-return" { + value 22; + description + "Run STP Root Return"; + } + enum "runi-mdr-continue" { + value 23; + description + "RUN iMDR continue"; + } + enum "run-am-i-ready-afteri-mdr" { + value 24; + description + "RUN I am ready after iMDR"; + } + enum "run-nsf-ready" { + value 25; + description + "RUN NSF ready"; + } + enum "run-nsf-begin" { + value 26; + description + "RUN iMDR begin"; + } + enum "runi-mdr-done" { + value 27; + description + "RUN iMDR done"; + } + enum "run-management-issu-ready" { + value 28; + description + "RUN mgmt issu ready"; + } + enum "run-un-shut" { + value 29; + description + "RUN unshut"; + } + enum "run-is-done" { + value 30; + description + "RUN done"; + } + enum "state-max" { + value 31; + description + "Max ISSU state"; + } + } + description + "Install manager FSM state"; + } + + typedef Installmgr-ism-node-conforming { + type enumeration { + enum "conforming" { + value 0; + description + "Conforming Nodes"; + } + enum "none-conforming" { + value 1; + description + "Non-conforming nodes"; + } + enum "upgrade-fail" { + value 2; + description + "Node Upgrade failed"; + } + enum "none-conforming-spa" { + value 3; + description + "Non-conforming SPAs"; + } + enum "spa-upgrade-fail" { + value 4; + description + "SPA Upgrade failed"; + } + } + description + "ISSU manage node inventory type"; + } + + typedef Instmgr-ism-node-state { + type enumeration { + enum "none" { + value 0; + description + "No ISSU in progress"; + } + enum "issu-node-gsp-ready" { + value 1; + description + "Node GSP ready"; + } + enum "load-shut-done" { + value 2; + description + "Load shut done"; + } + enum "standby-management-upgrade-done" { + value 3; + description + "Standby management nodes upgrade done"; + } + enum "fabric-upgrade-done" { + value 4; + description + "Fabric nodes upgrade done"; + } + enum "imdr-preparation-ack-received" { + value 5; + description + "iMDR preparation ACK received"; + } + enum "imdr-preparation-failed" { + value 6; + description + "iMDR preparation ACK failed"; + } + enum "imdr-start-ack-received" { + value 7; + description + "iMDR start AVK received"; + } + enum "imdr-start-failed" { + value 8; + description + "iMDR start failed"; + } + enum "imdr-complete-ack-received" { + value 9; + description + "iMDR complete ACK received"; + } + enum "imdr-complete-failed" { + value 10; + description + "iMDR complete failed"; + } + enum "standby-management-ready" { + value 11; + description + "Standby management nodes ready"; + } + enum "fo-acknowledged" { + value 12; + description + "FO acked"; + } + enum "fo-complete" { + value 13; + description + "FO complete"; + } + enum "standby-ready-after-fo" { + value 14; + description + "Standby nodes ready after FO"; + } + enum "iam-ready-afteri-mdr" { + value 15; + description + "Node is ready after iMDR"; + } + enum "nsf-ready" { + value 16; + description + "NSF ready"; + } + enum "nsf-begin-ack-received" { + value 17; + description + "NSF begin ACK received"; + } + enum "imdr-done" { + value 18; + description + "iMDR done"; + } + enum "unshut-done" { + value 19; + description + "Unshut done"; + } + enum "run-done" { + value 20; + description + "Run done"; + } + enum "imdr-abort-sent" { + value 21; + description + "iMDR abort sent"; + } + enum "imdr-abort-ack-received" { + value 22; + description + "iMDR abort ACK Received"; + } + enum "imdr-abort-failed" { + value 23; + description + "iMDR abort failed"; + } + enum "standby-management-downgrade-done" { + value 24; + description + "Standby management nodes downgrade done"; + } + enum "fabric-downgrade-done" { + value 25; + description + "Fabric nodes downgrade done"; + } + enum "reload-during-issu" { + value 26; + description + "Node reloaded during ISSU"; + } + enum "timneout" { + value 27; + description + "Node time out"; + } + enum "fabric-upgrade-failed" { + value 28; + description + "Fabric upgrade failed"; + } + enum "unsupported-hw" { + value 29; + description + "Unsupported hardware"; + } + enum "not-reachable" { + value 30; + description + "Node unreachable"; + } + enum "max" { + value 32; + description + "Max node state"; + } + } + description + "ISSU manager node state"; + } + + typedef Instmgr-pi-card { + type enumeration { + enum "type-rp" { + value 0; + description + "Card type RP"; + } + enum "type-drp" { + value 1; + description + "Card Type DRP"; + } + enum "type-lc" { + value 2; + description + "Card type LC"; + } + enum "type-sc" { + value 3; + description + "Card type SC"; + } + enum "type-sp" { + value 4; + description + "Card type SP"; + } + enum "type-other" { + value 5; + description + "Card type other"; + } + } + description + "PI card types"; + } + + typedef Instmgr-node-role { + type enumeration { + enum "redundency-unknown" { + value 0; + description + "Redundency unknown"; + } + enum "redundency-active" { + value 1; + description + "Redundency active"; + } + enum "redundency-standby" { + value 2; + description + "Redundency standby"; + } + enum "redundency-unusable" { + value 3; + description + "Redundency unusable"; + } + } + description + "Node role"; + } + + typedef Instmgr-card-state { + type enumeration { + enum "instmgr-card-not-present" { + value 0; + description + "instmgr card not present"; + } + enum "instmgr-card-present" { + value 1; + description + "instmgr card present"; + } + enum "instmgr-card-reset" { + value 2; + description + "instmgr card reset"; + } + enum "instmgr-card-booting" { + value 3; + description + "instmgr card booting"; + } + enum "instmgr-card-mbi-booting" { + value 4; + description + "instmgr card mbi booting"; + } + enum "instmgr-card-running-mbi" { + value 5; + description + "instmgr card running mbi"; + } + enum "instmgr-card-running-ena" { + value 6; + description + "instmgr card running ena"; + } + enum "instmgr-card-bring-down" { + value 7; + description + "instmgr card bring down"; + } + enum "instmgr-card-ena-failure" { + value 8; + description + "instmgr card ena failure"; + } + enum "instmgr-card-f-diag-run" { + value 9; + description + "instmgr card f diag run"; + } + enum "instmgr-card-f-diag-failure" { + value 10; + description + "instmgr card f diag failure"; + } + enum "instmgr-card-powered" { + value 11; + description + "instmgr card powered"; + } + enum "instmgr-card-unpowered" { + value 12; + description + "instmgr card unpowered"; + } + enum "instmgr-card-mdr" { + value 13; + description + "instmgr card mdr"; + } + enum "instmgr-card-mdr-running-mbi" { + value 14; + description + "instmgr card mdr running mbi"; + } + enum "instmgr-card-main-t-mode" { + value 15; + description + "instmgr card main t mode"; + } + enum "instmgr-card-admin-down" { + value 16; + description + "instmgr card admin down"; + } + enum "instmgr-card-no-mon" { + value 17; + description + "instmgr card no mon"; + } + enum "instmgr-card-unknown" { + value 18; + description + "instmgr card unknown"; + } + enum "instmgr-card-failed" { + value 19; + description + "instmgr card failed"; + } + enum "instmgr-card-ok" { + value 20; + description + "instmgr card ok"; + } + enum "instmgr-card-missing" { + value 21; + description + "instmgr card missing"; + } + enum "instmgr-card-field-diag-downloading" { + value 22; + description + "instmgr card field diag downloading"; + } + enum "instmgr-card-field-diag-unmonitor" { + value 23; + description + "instmgr card field diag unmonitor"; + } + enum "instmgr-card-fabric-field-diag-unmonitor" { + value 24; + description + "instmgr card fabric field diag unmonitor"; + } + enum "instmgr-card-field-diag-rp-launching" { + value 25; + description + "instmgr card field diag rp launching"; + } + enum "instmgr-card-field-diag-running" { + value 26; + description + "instmgr card field diag running"; + } + enum "instmgr-card-field-diag-pass" { + value 27; + description + "instmgr card field diag pass"; + } + enum "instmgr-card-field-diag-fail" { + value 28; + description + "instmgr card field diag fail"; + } + enum "instmgr-card-field-diag-timeout" { + value 29; + description + "instmgr card field diag timeout"; + } + enum "instmgr-card-disabled" { + value 30; + description + "instmgr card disabled"; + } + enum "instmgr-card-spa-booting" { + value 31; + description + "instmgr card spa booting"; + } + enum "instmgr-card-not-allowed-online" { + value 32; + description + "instmgr card not allowed online"; + } + enum "instmgr-card-stopped" { + value 33; + description + "instmgr card stopped"; + } + enum "instmgr-card-incompatible-fw-ver" { + value 34; + description + "instmgr card incompatible fw ver"; + } + enum "instmgr-card-fpd-hold" { + value 35; + description + "instmgr card fpd hold"; + } + enum "instmgr-card-updating-fpd" { + value 37; + description + "instmgr card updating fpd"; + } + enum "instmgr-card-num-states" { + value 38; + description + "instmgr card num states"; + } + } + description + "Instmgr card state"; + } + + grouping NODE-LIST { + description + "List of nodes"; + leaf-list node { + type xr:Node-id; + description + "node"; + } + } + + grouping INSTALL-ISSU-STAGE { + description + "stage details for an install ISSU op"; + container node-in-progress { + description + "Nodes in progress"; + uses NODE-LIST; + } + container nodes-in-load { + description + "Node in LOAD phase"; + uses NODE-LIST; + } + container nodes-in-run { + description + "Node in RUN phase"; + uses NODE-LIST; + } + container nc-nodes { + description + "None-conforming nodes"; + uses NODE-LIST; + } + leaf issu-state { + type string; + description + "Current ISSU state"; + } + leaf issu-op-id { + type uint32; + description + "ISSU operational ID"; + } + leaf percentage { + type uint32; + units "percentage"; + description + "ISSU progress percentage"; + } + leaf is-issu-aborted { + type boolean; + description + "ISSU aborted?"; + } + leaf is-issu-aborted-by-ism { + type boolean; + description + "ISSU aborted by ISM?"; + } + leaf issu-manager-fsm-state { + type Instmgr-ism-fsm-state; + description + "ISM FSM state"; + } + leaf participating-node-all { + type uint32; + description + "Number of participating nodes"; + } + leaf num-nodes-in-progress { + type uint32; + description + "Number of node in progress"; + } + leaf num-of-nodes-in-load { + type uint32; + description + "Number of nodes in LOAD phase"; + } + leaf num-of-nodes-in-run { + type uint32; + description + "Number of nodes in RUN phase"; + } + leaf numof-nc-nodes { + type uint32; + description + "Number of none-conforming nodes"; + } + } + + grouping ISM-CARD-STATUS { + description + "ism card status td"; + leaf node-name { + type xr:Node-id; + description + "Node identifier"; + } + leaf partner-node-name { + type xr:Node-id; + description + "Partner Node IDs"; + } + leaf node-state { + type Instmgr-card-state; + description + "Node state"; + } + leaf node-role { + type Instmgr-node-role; + description + "Node roll"; + } + leaf node-type-pi { + type Instmgr-pi-card; + description + "PI Node type"; + } + leaf node-type-issu { + type string; + description + "ISSU node type"; + } + leaf node-current-state { + type Instmgr-ism-node-state; + description + "Current node ISSU state"; + } + leaf node-expected-state { + type Instmgr-ism-node-state; + description + "Expected ISSU state"; + } + leaf node-failure-reason { + type string; + description + "Node failure reason"; + } + leaf is-conforming-node { + type Installmgr-ism-node-conforming; + description + "Node none-cnforming"; + } + leaf attempts { + type uint32; + description + "Number of attempts made"; + } + leaf is-node-upgraded { + type boolean; + description + "Is node upgraded?"; + } + } + + grouping ISM-CARD-INVENTORY-SUMMARY { + description + "ISM inventory summary for a given card type"; + list summary { + description + "node state for all nodes"; + uses ISM-CARD-STATUS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper.yang new file mode 100644 index 0000000..fa037af --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-installmgr-admin-oper.yang @@ -0,0 +1,429 @@ +module Cisco-IOS-XR-installmgr-admin-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-installmgr-admin-oper"; + prefix installmgr-admin-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-installmgr-admin-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-installmgr-admin-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-installmgr-admin-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR installmgr package + admin-plane operational data. + + This module contains definitions + for the following management objects: + install: Information of software packages and install + operations + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ism-card-type-family { + type enumeration { + enum "ndsc-active-rp" { + value 1; + description + "Active NDSC RPs"; + } + enum "ndsc-standby-rp" { + value 2; + description + "Standby NDSC RPs"; + } + enum "active-drp" { + value 3; + description + "Active DRP"; + } + enum "standby-drp" { + value 4; + description + "Standby DRP"; + } + enum "dsc-active-rp" { + value 5; + description + "Active dSC"; + } + enum "dsc-standby-rp" { + value 6; + description + "Standby dSC"; + } + enum "active-sc" { + value 7; + description + "Active non-root SC"; + } + enum "standby-sc" { + value 8; + description + "Standby non-root SC"; + } + enum "root-active-sc" { + value 9; + description + "Active root SC"; + } + enum "root-standby-sc" { + value 10; + description + "Standby root SC"; + } + enum "lc" { + value 11; + description + "Line card"; + } + enum "sp" { + value 12; + description + "Non-Fabric SP"; + } + enum "fabric-sp" { + value 13; + description + "Fabric SP"; + } + enum "spa" { + value 14; + description + "SPA"; + } + } + description + "Ism card type family"; + } + + grouping INVENTORY-TABLE { + description + "Common node of active, active, inactive, inactive + , committed, committed"; + container inventories { + description + "Software inventory"; + list inventory { + key "node-name"; + description + "Inventory information for specific node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses INVENTORY; + } + } + } + + grouping SUMMARY { + description + "Common node of active, inactive, committed"; + container summary { + description + "Summarized inventory information"; + uses INSTALL-INVENTORY-SUMMARY; + } + } + + container install { + config false; + description + "Information of software packages and install + operations"; + container configuration-registers { + description + "Configuration register (confreg) information"; + list configuration-register { + key "node-name"; + description + "Configuration register for specific node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + leaf config-register { + type xr:Hex-integer; + mandatory true; + description + "Configuration register value"; + } + } + } + container request-statuses { + description + "Install operation request status"; + list request-status { + key "request-id"; + description + "Request status Information"; + leaf request-id { + type int32; + description + "Install operation request ID"; + } + uses INSTMGR-INSTALL-STATUS; + } + } + container boot-variables { + description + "Boot variable information"; + list boot-variable { + key "node-name"; + description + "Boot variable for specific node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + leaf boot-variable { + type string; + mandatory true; + description + "Boot variable value"; + } + } + } + container software { + description + "Software package,component and alias information"; + container alias-devices { + description + "Package alias information"; + list alias-device { + key "device-name"; + description + "Package alias information for specific device"; + container aliases { + description + "alias information"; + list alias { + key "package-name"; + description + "Aliases for specific package"; + leaf package-name { + type string; + description + "Package Name"; + } + leaf alias-names { + type string; + mandatory true; + description + "Alias names"; + } + } + } + leaf device-name { + type xr:Cisco-ios-xr-string; + description + "Device Name"; + } + } + } + container package-devices { + description + "Package information"; + list package-device { + key "device-name"; + description + "Package information for specific device"; + container packages { + description + "Package information for specific package"; + list package { + key "package-name"; + description + "Package information"; + leaf package-name { + type string; + description + "Package Name"; + } + uses INSTMGR-PKG-INFO; + } + } + leaf device-name { + type xr:Cisco-ios-xr-string; + description + "Device Name"; + } + } + } + container component-devices { + description + "Software component information"; + list component-device { + key "device-name"; + description + "Component information for specific device"; + container component-packages { + description + "Software package information"; + list component-package { + key "package-name"; + description + "Component information for specific package"; + leaf package-name { + type string; + description + "Package Name"; + } + list component { + key "component-name"; + description + "Component information"; + leaf component-name { + type string; + description + "Component Name"; + } + uses INSTMGR-COMPONENT-INFO; + } + } + } + leaf device-name { + type xr:Cisco-ios-xr-string; + description + "Device Name"; + } + } + } + } + container software-inventory { + description + "Information of install operations"; + container committed { + description + "Committed inventory information"; + uses SUMMARY; + uses INVENTORY-TABLE; + } + container inactive { + description + "Inactive inventory information"; + uses SUMMARY; + uses INVENTORY-TABLE; + } + container requests { + description + "Install operation requests"; + container requests { + description + "Install operation request history"; + list request { + key "request-id"; + description + "Install operation request information"; + container inventories { + description + "Inventory information of install operation + request"; + list inventory { + key "node-name"; + description + "Inventory information"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses INVENTORY; + } + } + leaf request-id { + type int32; + description + "Install operation request ID"; + } + } + } + } + container active { + description + "Active inventory information"; + uses SUMMARY; + uses INVENTORY-TABLE; + } + } + container issu { + description + "Information of install ISSU operations"; + container card-inventories { + description + "ISSU manager card inventory table"; + list card-inventory { + key "card-type-id"; + description + "ISSU manager inventory summary of the same + card type"; + leaf card-type-id { + type Ism-card-type-family; + description + "ISSU manager card type ID"; + } + uses ISM-CARD-INVENTORY-SUMMARY; + } + } + container stage { + description + "Summarized ISSU stage information"; + uses INSTALL-ISSU-STAGE; + } + } + container boot-image { + description + "System Boot Image"; + uses BOOT-IMG; + } + container logs { + description + "Install operation log"; + list log { + key "request-id"; + description + "Log information"; + leaf request-id { + type int32; + description + "Install operation request ID"; + } + uses INSTALL-LOG-ENTRY-4; + } + } + leaf log-size { + type int32; + description + "Install operation log history size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-cfg.yang new file mode 100644 index 0000000..4e238dc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-cfg.yang @@ -0,0 +1,53 @@ +module Cisco-IOS-XR-invmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-cfg"; + prefix invmgr-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR invmgr package configuration. + + This module contains definitions + for the following management objects: + inventory-configurations: Configuration for inventory entities + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container inventory-configurations { + description + "Configuration for inventory entities"; + list entity { + key "name"; + description + "Entity name"; + leaf name { + type string; + description + "Entity name"; + } + leaf name-xr { + type string; + mandatory true; + description + "Entity name"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub1.yang new file mode 100644 index 0000000..1fcdf2a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub1.yang @@ -0,0 +1,506 @@ +submodule Cisco-IOS-XR-invmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-invmgr-oper { + prefix Cisco-IOS-XR-invmgr-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-07 { + description + "Fixed type translation error."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping RMA-DETAIL { + description + "EEPROM RMA data content"; + leaf test-history { + type string { + length "0..255"; + } + description + "Test history"; + } + leaf rma-number { + type string { + length "0..255"; + } + description + "RMA tracking number format is N-N-N"; + } + leaf rma-history { + type string { + length "0..255"; + } + description + "RMA history"; + } + } + + grouping DIAG-EEPROM { + description + "Diag EEPROM data content"; + container rma { + description + "RMA Data"; + uses RMA-DETAIL; + } + leaf description { + type string { + length "0..255"; + } + description + "A textual description of physical entity"; + } + leaf idprom-format-rev { + type string { + length "0..255"; + } + description + "IDPROM Format Revision"; + } + leaf controller-family { + type string { + length "0..255"; + } + description + "Controller family"; + } + leaf controller-type { + type string { + length "0..255"; + } + description + "Controller type"; + } + leaf vid { + type string { + length "0..255"; + } + description + "Version ID"; + } + leaf hwid { + type string { + length "0..255"; + } + description + "Hardware Revision"; + } + leaf pid { + type string { + length "0..255"; + } + description + "Product ID"; + } + leaf udi-description { + type string { + length "0..255"; + } + description + "UDI description"; + } + leaf udi-name { + type string { + length "0..255"; + } + description + "UDI name"; + } + leaf clei { + type string { + length "0..255"; + } + description + "Common Language Equipment Identifier (CLEI) code"; + } + leaf eci { + type string { + length "0..255"; + } + description + "Equipment Catalog Item (ECI) number"; + } + leaf top-assem-part-num { + type string { + length "0..255"; + } + description + "Top assembly part number"; + } + leaf top-assem-vid { + type string { + length "0..255"; + } + description + "Top assembly revision number"; + } + leaf pca-num { + type string { + length "0..255"; + } + description + "PCA number"; + } + leaf pcavid { + type string { + length "0..255"; + } + description + "PCA revision ID"; + } + leaf chassis-sid { + type string { + length "0..255"; + } + description + "Chassis serial number"; + } + leaf dev-num1 { + type string { + length "0..255"; + } + description + "Deviation Number # 1"; + } + leaf dev-num2 { + type string { + length "0..255"; + } + description + "Deviation Number # 2"; + } + leaf dev-num3 { + type string { + length "0..255"; + } + description + "Deviation Number # 3"; + } + leaf dev-num4 { + type string { + length "0..255"; + } + description + "Deviation Number # 4"; + } + leaf dev-num5 { + type string { + length "0..255"; + } + description + "Deviation Number # 5"; + } + leaf dev-num6 { + type string { + length "0..255"; + } + description + "Deviation Number # 6"; + } + leaf dev-num7 { + type string { + length "0..255"; + } + description + "Deviation Number # 7"; + } + leaf manu-test-data { + type string { + length "0..255"; + } + description + "Manufacturing Test Data"; + } + leaf asset-id { + type string { + length "0..255"; + } + description + "Asset ID"; + } + leaf asset-alias { + type string { + length "0..255"; + } + description + "Asset Alias"; + } + leaf base-mac-address1 { + type string { + length "0..255"; + } + description + "Base Mac Address #1"; + } + leaf mac-add-blk-size1 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #1"; + } + leaf base-mac-address2 { + type string { + length "0..255"; + } + description + "Base Mac Address #2"; + } + leaf mac-add-blk-size2 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #2"; + } + leaf base-mac-address3 { + type string { + length "0..255"; + } + description + "Base Mac Address #3"; + } + leaf mac-add-blk-size3 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #3"; + } + leaf base-mac-address4 { + type string { + length "0..255"; + } + description + "Base Mac Address #4"; + } + leaf mac-add-blk-size4 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #4"; + } + leaf pcb-serial-num { + type string { + length "0..255"; + } + description + "PCB Serial Number"; + } + leaf power-supply-type { + type string { + length "0..255"; + } + description + "Power Supply Type"; + } + leaf power-consumption { + type string { + length "0..255"; + } + description + "Power Consumption"; + } + leaf block-signature { + type string { + length "0..255"; + } + description + "Block Signature"; + } + leaf block-version { + type string { + length "0..255"; + } + description + "Block Version"; + } + leaf block-length { + type string { + length "0..255"; + } + description + "Block Length"; + } + leaf block-checksum { + type string { + length "0..255"; + } + description + "Block Checksum"; + } + leaf eeprom-size { + type string { + length "0..255"; + } + description + "EEPROM Size"; + } + leaf block-count { + type string { + length "0..255"; + } + description + "Block Count"; + } + leaf fru-major-type { + type string { + length "0..255"; + } + description + "FRU Major Type"; + } + leaf fru-minor-type { + type string { + length "0..255"; + } + description + "FRU Minor Type"; + } + leaf oem-string { + type string { + length "0..255"; + } + description + "OEM String"; + } + leaf product-id { + type string { + length "0..255"; + } + description + "Product ID"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "Serial Number"; + } + leaf part-number { + type string { + length "0..255"; + } + description + "Part Number"; + } + leaf part-revision { + type string { + length "0..255"; + } + description + "Part Revision"; + } + leaf mfg-deviation { + type string { + length "0..255"; + } + description + "MFG Deviation"; + } + leaf hw-version { + type string { + length "0..255"; + } + description + "Hardware Version"; + } + leaf mfg-bits { + type string { + length "0..255"; + } + description + "MFG Bits"; + } + leaf engineer-use { + type string { + length "0..255"; + } + description + "Engineer Use"; + } + leaf snmpoid { + type string { + length "0..255"; + } + description + "SNMP OID"; + } + leaf rma-code { + type string { + length "0..255"; + } + description + "RMA Code"; + } + } + + grouping INVMGR-EEPROM-OPAQUE-DATA { + description + "invmgr eeprom opaque data"; + container eeprom { + description + "EEPROM data not from hex data"; + uses DIAG-EEPROM; + } + leaf inv-card-type { + type uint8; + description + "Inventory card type"; + } + leaf opaque-data { + type yang:hex-string; + description + "EEPROM hex data"; + } + leaf opaque-data-size { + type uint32; + description + "size of the EEPROM hex data"; + } + leaf has-eeprom { + type uint32; + description + "use eeprom instead of opaque data"; + } + leaf description { + type string { + length "0..255"; + } + description + "A textual description of physical entity"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub2.yang new file mode 100644 index 0000000..b532e70 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub2.yang @@ -0,0 +1,479 @@ +submodule Cisco-IOS-XR-invmgr-oper-sub2 { + belongs-to Cisco-IOS-XR-invmgr-oper { + prefix Cisco-IOS-XR-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-07 { + description + "Fixed type translation error."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Card-reset-reason { + type enumeration { + enum "reset-unknown" { + value 1; + description + "reset unknown"; + } + enum "power-up" { + value 2; + description + "power up"; + } + enum "parity-error" { + value 3; + description + "parity error"; + } + enum "clear-config-reset" { + value 4; + description + "clear config reset"; + } + enum "manual-reset" { + value 5; + description + "manual reset"; + } + enum "watch-dog-timeout-reset" { + value 6; + description + "watch dog timeout reset"; + } + enum "resource-overflow-reset" { + value 7; + description + "resource overflow reset"; + } + enum "missing-task-reset" { + value 8; + description + "missing task reset"; + } + enum "low-voltage-reset" { + value 9; + description + "low voltage reset"; + } + enum "controller-reset" { + value 10; + description + "controller reset"; + } + enum "system-reset" { + value 11; + description + "system reset"; + } + enum "switchover-reset" { + value 12; + description + "switchover reset"; + } + enum "upgrade-reset" { + value 13; + description + "upgrade reset"; + } + enum "downgrade-reset" { + value 14; + description + "downgrade reset"; + } + enum "cache-error-reset" { + value 15; + description + "cache error reset"; + } + enum "device-driver-reset" { + value 16; + description + "device driver reset"; + } + enum "software-exception-reset" { + value 17; + description + "software exception reset"; + } + enum "restore-config-reset" { + value 18; + description + "restore config reset"; + } + enum "abort-rev-reset" { + value 19; + description + "abort rev reset"; + } + enum "burn-boot-reset" { + value 20; + description + "burn boot reset"; + } + enum "standby-cd-healthier-reset" { + value 21; + description + "standby cd healthier reset"; + } + enum "non-native-config-clear-reset" { + value 22; + description + "non native config clear reset"; + } + enum "memory-protection-error-reset" { + value 23; + description + "memory protection error reset"; + } + enum "card-reset-reason-max" { + value 24; + description + "card reset reason max"; + } + } + description + "Card reset reason"; + } + + grouping INV-TIMESPEC { + description + "Inventory FRU Info Time Spec"; + leaf time-in-seconds { + type int32; + units "second"; + description + "Time Value in Seconds"; + } + leaf time-in-nano-seconds { + type int32; + units "nanosecond"; + description + "Time Value in Nano-seconds"; + } + } + + grouping INV-CARD-FRU-INFO { + description + "card (FRU) operation state bag"; + container last-operational-state-change { + description + "last card oper change state"; + uses INV-TIMESPEC; + } + container card-up-time { + description + "card up time"; + uses INV-TIMESPEC; + } + leaf card-administrative-state { + type int32; + description + "card admin state: shutdown or not"; + } + leaf power-administrative-state { + type int32; + description + "power admin state: up or down"; + } + leaf card-operational-state { + type int32; + description + "card operation state"; + } + leaf card-monitor-state { + type int32; + description + "card is monitored by a manager or left + unmonitored"; + } + leaf card-reset-reason { + type Card-reset-reason; + description + "card reset reason enum"; + } + leaf power-current-measurement { + type int32; + description + "power current: not implemented"; + } + leaf power-operational-state { + type int32; + description + "Power operation state"; + } + } + + grouping INV-PWG-INFO { + description + "Power supply group bag"; + leaf power-group-redundancy-mode { + type int32; + description + "redundancy mode"; + } + leaf power-group-power-units { + type string; + description + "power units"; + } + leaf power-group-available-current { + type int32; + description + "available current"; + } + leaf power-group-drawn-current { + type int32; + description + "drawn current"; + } + } + + grouping INV-PHY-ENTITY-ASSET-INFO { + description + "The physical entity detaled asset attribute bag"; + leaf part-number { + type string { + length "0..255"; + } + description + ""; + } + leaf manufacturer-assembly-number { + type string { + length "0..255"; + } + description + "Manufacture Assembly number"; + } + leaf manufacturer-assembly-revision { + type string { + length "0..255"; + } + description + "Manufacture assembly revision"; + } + leaf manufacturer-firmware-identifier { + type string { + length "0..255"; + } + description + ""; + } + leaf manufacturer-software-identifier { + type string { + length "0..255"; + } + description + ""; + } + leaf manufacturer-common-language-equipment-identifier { + type string { + length "0..255"; + } + description + "Common Language Equipment Identifier + number"; + } + leaf original-equipment-manufacturer-string { + type string { + length "0..255"; + } + description + "String containing OEM information if + applicable"; + } + } + + grouping INV-PHY-ENTITY-BASIC-INFO { + description + "Bag contains all the basic inventory information + for each entity"; + leaf description { + type string { + length "0..255"; + } + description + "describes in user-readable terms what the + entity in question does"; + } + leaf vendor-type { + type string { + length "0..255"; + } + description + "maps to the vendor OID string"; + } + leaf name { + type string { + length "0..255"; + } + description + "name string for the entity"; + } + leaf hardware-revision { + type string { + length "0..255"; + } + description + "hw revision string"; + } + leaf firmware-revision { + type string { + length "0..255"; + } + description + "firmware revision string"; + } + leaf software-revision { + type string { + length "0..255"; + } + description + "software revision string"; + } + leaf chip-hardware-revision { + type string { + length "0..255"; + } + description + "chip module hw revision string"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "serial number"; + } + leaf manufacturer-name { + type string { + length "0..255"; + } + description + "manufacturer's name"; + } + leaf model-name { + type string { + length "0..255"; + } + description + "model name"; + } + leaf asset-id-str { + type string { + length "0..255"; + } + description + "asset Identification string"; + } + leaf asset-identification { + type int32; + description + "asset Identification"; + } + leaf is-field-replaceable-unit { + type boolean; + description + "1 if Field Replaceable Unit 0, if not"; + } + leaf manufacturer-asset-tags { + type int32; + description + "Manufacture Asset Tags"; + } + leaf composite-class-code { + type int32; + description + "Major&minor class of the entity"; + } + leaf memory-size { + type int32; + description + "Size of memory associated with the entity + where applicable"; + } + leaf environmental-monitor-path { + type string { + length "0..255"; + } + description + "sysdb name of sensor in the envmon EDM"; + } + leaf alias { + type string { + length "0..255"; + } + description + "useful for storing an entity alias "; + } + leaf group-flag { + type boolean; + description + "indicates if this entity is group or not"; + } + leaf new-deviation-number { + type int32; + description + "integer value for New Deviation Number 0x88"; + } + leaf physical-layer-interface-module-type { + type int32; + description + "integer value for plim type if applicable to + this entity"; + } + leaf unrecognized-fru { + type boolean; + description + "1 if UnrecognizedFRU and 0 for recognizedFRU"; + } + leaf redundancystate { + type int32; + description + "integer value for Redundancy State if + applicable to this entity"; + } + leaf ceport { + type boolean; + description + "1 if ce port found, 0 if not"; + } + leaf xr-scoped { + type boolean; + description + "1 if xr scoped, 0 if not"; + } + leaf unique-id { + type int32; + description + "Unique id for an entity"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub3.yang new file mode 100644 index 0000000..2f4ff40 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub3.yang @@ -0,0 +1,141 @@ +submodule Cisco-IOS-XR-invmgr-oper-sub3 { + belongs-to Cisco-IOS-XR-invmgr-oper { + prefix Cisco-IOS-XR-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-07 { + description + "Fixed type translation error."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ENVMON-THRESHOLD-INFO { + description + "ENVMON threshold Info"; + leaf threshold-severity { + type uint32; + description + "Indicates minor, major, critical severities"; + } + leaf threshold-relation { + type uint32; + description + "Indicates relation between sensor value and + threshold"; + } + leaf threshold-value { + type uint32; + description + "Value of the configured threshold"; + } + leaf threshold-evaluation { + type boolean; + description + "Indicates the result of the most recent + evaluation of the thresholD"; + } + leaf threshold-notification-enabled { + type boolean; + description + "Indicates whether or not a notification should + result, in case of threshold violation"; + } + } + + grouping ENVMON-SENSOR-INFO { + description + "ENVMON sensor Info"; + leaf field-validity-bitmap { + type uint32; + description + "Sensor valid bitmap"; + } + leaf device-description { + type string { + length "0..50"; + } + description + "Device Name"; + } + leaf units { + type string { + length "0..50"; + } + description + "Units of variable being read"; + } + leaf device-id { + type uint32; + description + "Identifier for this device"; + } + leaf value { + type uint32; + description + "Current reading of sensor"; + } + leaf alarm-type { + type uint32; + description + "Indicates threshold violation"; + } + leaf data-type { + type uint32; + description + "Sensor data type enums"; + } + leaf scale { + type uint32; + description + "Sensor scale enums"; + } + leaf precision { + type uint32; + description + "Sensor precision range"; + } + leaf status { + type uint32; + description + "Sensor operation state enums"; + } + leaf age-time-stamp { + type uint32; + description + "Age of the sensor value; set to the current time + if directly access the value from sensor"; + } + leaf update-rate { + type uint32; + description + "Sensor value update rate;set to 0 if sensor + value is updated and evaluated immediately"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub4.yang new file mode 100644 index 0000000..bcf1613 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper-sub4.yang @@ -0,0 +1,301 @@ +submodule Cisco-IOS-XR-invmgr-oper-sub4 { + belongs-to Cisco-IOS-XR-invmgr-oper { + prefix Cisco-IOS-XR-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-07 { + description + "Fixed type translation error."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Threshold-relation { + type enumeration { + enum "less-than" { + value 1; + description + "Sensor value is less than threshold"; + } + enum "less-or-equal" { + value 2; + description + "Sensor value is lesser than or equal to + threshold"; + } + enum "greater-than" { + value 3; + description + "Sensor value is greater than threshold"; + } + enum "greater-or-equal" { + value 4; + description + "Sensor value is greater than or equal to + threshold"; + } + enum "equal" { + value 5; + description + "Sensor value is equal to threshold"; + } + enum "not-equal" { + value 6; + description + "Sensor value is not equal to threshold"; + } + } + description + "Threshold relation"; + } + + typedef Threshold-severity { + type enumeration { + enum "other" { + value 1; + description + "Other"; + } + enum "minor" { + value 10; + description + "Minor"; + } + enum "major" { + value 20; + description + "Major"; + } + enum "critical" { + value 30; + description + "Critical"; + } + } + description + "Threshold severity"; + } + + typedef Sensor-status { + type enumeration { + enum "ok" { + value 1; + description + "State ok"; + } + enum "unavailable" { + value 2; + description + "State Unavailable"; + } + enum "non-operational" { + value 3; + description + "State no operational"; + } + } + description + "Sensor status"; + } + + typedef Sensor-data { + type enumeration { + enum "unknown" { + value 2; + description + "Datatype unknown"; + } + enum "ac-volts" { + value 3; + description + "AC volts"; + } + enum "dc-volts" { + value 4; + description + "DC volts"; + } + enum "amperes" { + value 5; + description + "Amperes"; + } + enum "watts" { + value 6; + description + "Power in watts"; + } + enum "hertz" { + value 7; + description + "Frequency in hertz"; + } + enum "celsius" { + value 8; + description + "Celsius"; + } + enum "rpm" { + value 10; + description + "Rotations per minute"; + } + enum "dbm" { + value 14; + description + "Power in dBm"; + } + enum "db" { + value 15; + description + "Power in dB"; + } + } + description + "Sensor measurement data types"; + } + + typedef Unit { + type enumeration { + enum "celsius" { + description + "Degree in celsius"; + } + enum "milli-volts" { + description + "Milli volts"; + } + enum "milli-amperes" { + description + "Milli amperes"; + } + enum "rpm" { + description + "Rotations per minute"; + } + enum "watts" { + description + "Watts"; + } + enum "dbm" { + description + "dBm"; + } + enum "db" { + description + "dB"; + } + } + description + "Unit information"; + } + + grouping ENVMON-THRESHOLD-TYPE { + description + "Threshold information of a specific type"; + leaf threshold-severity { + type Threshold-severity; + description + "Indicates minor, major, critical severities"; + } + leaf threshold-relation { + type Threshold-relation; + description + "Indicates relation between sensor value and + threshold"; + } + leaf threshold-value { + type int32; + description + "Value of the configured threshold"; + } + leaf threshold-name { + type string { + length "0..50"; + } + description + "Threshold name"; + } + } + + grouping ENVMON-THRESHOLD-INFO-XML { + description + "Threshold information"; + list threshold-array { + description + "Array of threshold"; + uses ENVMON-THRESHOLD-TYPE; + } + } + + grouping ENVMON-SENSOR-INFO-XML { + description + "Environment monitoring sensor information"; + container threshold { + description + "Threshold information"; + uses ENVMON-THRESHOLD-INFO-XML; + } + leaf description { + type string { + length "0..50"; + } + description + "Device Name"; + } + leaf units { + type Unit; + description + "Units of variable being read"; + } + leaf value { + type string { + length "0..50"; + } + description + "Current reading of sensor Displays in decimal(ex + 1.234) for powersupply sensor type"; + } + leaf data-type { + type Sensor-data; + description + "Sensor data type"; + } + leaf status { + type Sensor-status; + description + "Sensor operation state"; + } + leaf update-rate { + type uint32; + description + "Sensor value update rate; set to 0 if sensor + value is updated and evaluated immediately"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper.yang new file mode 100644 index 0000000..2386899 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-invmgr-oper.yang @@ -0,0 +1,436 @@ +module Cisco-IOS-XR-invmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper"; + prefix invmgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-invmgr-oper-sub4 { + revision-date 2017-09-07; + } + include Cisco-IOS-XR-invmgr-oper-sub3 { + revision-date 2017-09-07; + } + include Cisco-IOS-XR-invmgr-oper-sub2 { + revision-date 2017-09-07; + } + include Cisco-IOS-XR-invmgr-oper-sub1 { + revision-date 2017-09-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR invmgr package operational data. + + This module contains definitions + for the following management objects: + inventory: Inventory information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-07 { + description + "Fixed type translation error."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping THRESH-BAG { + description + "Common node of minor-lo, minor-hi, major-lo, + major-hi, critical-lo, critical-hi"; + container thresh-bag { + description + "Environment threshold info"; + uses ENVMON-THRESHOLD-INFO; + } + } + + grouping ATTRIBUTES { + description + "Common node of rack, slot, tsi1, tsi2, tsi3, tsi4 + , tsi5, tsi6, tsi7, tsi8, tsi9, tsi10, tsi11"; + container attributes { + description + "Attributes"; + container inv-basic-bag { + description + "Inventory Basic Bag"; + uses INV-PHY-ENTITY-BASIC-INFO; + } + container env-sensor-info { + description + "Environment sensor info"; + uses ENVMON-SENSOR-INFO; + } + container pwg-info { + description + "Inventory EDM PWG info"; + uses INV-PWG-INFO; + } + container env-sensor-info-xml { + description + "Environment sensor info XML"; + uses ENVMON-SENSOR-INFO-XML; + } + container inv-asset-bag { + description + "Inventory Asset Bag"; + uses INV-PHY-ENTITY-ASSET-INFO; + } + container threshold { + description + "Threshold"; + container major-lo { + description + "Major Low"; + uses THRESH-BAG; + } + container critical-hi { + description + "Critical High"; + uses THRESH-BAG; + } + container minor-hi { + description + "Minor High"; + uses THRESH-BAG; + } + container major-hi { + description + "Major High"; + uses THRESH-BAG; + } + container critical-lo { + description + "Critical Low"; + uses THRESH-BAG; + } + container minor-lo { + description + "Minor Low"; + uses THRESH-BAG; + } + } + container fru-info { + description + "Inventory EDM FRU info"; + uses INV-CARD-FRU-INFO; + } + container inv-eeprom-info { + description + "Inventory EDM EEPROM Information Bag"; + uses INVMGR-EEPROM-OPAQUE-DATA; + } + leaf module-done { + type uint32; + default "1"; + description + "Inventory EDM Module Done Tuple"; + } + leaf vm-node-id { + type uint32 { + range "0..4294967295"; + } + description + "VM Node ID Tuple"; + } + leaf vm-done { + type uint32; + description + "VM Done Tuple"; + } + leaf node-id { + type uint32 { + range "0..4294967295"; + } + description + "Node ID Tuple"; + } + } + } + + grouping SLOT { + description + "Common node of powershelf, fantray, entity"; + list slot { + key "name"; + description + "Slot number"; + container tsi1s { + description + "Entity Level 1"; + list tsi1 { + key "name"; + description + "TSI1"; + container tsi2s { + description + "Entity Level 2"; + list tsi2 { + key "name"; + description + "TSI2"; + container tsi3s { + description + "Entity Level 3"; + list tsi3 { + key "name"; + description + "TSI3"; + container tsi4s { + description + "Entity Level 4"; + list tsi4 { + key "name"; + description + "TSI4"; + container tsi5s { + description + "Entity Level 5"; + list tsi5 { + key "name"; + description + "TSI5"; + container tsi6s { + description + "Entity Level 6"; + list tsi6 { + key "name"; + description + "TSI6"; + container tsi7s { + description + "Entity Level 7"; + list tsi7 { + key "name"; + description + "TSI7"; + container tsi8s { + description + "Entity Level 8"; + list tsi8 { + key "name"; + description + "TSI8"; + container tsi9s { + description + "Entity Level 9"; + list tsi9 { + key "name"; + description + "TSI9"; + container tsi10s { + description + "Entity Level 10"; + list tsi10 { + key "name"; + description + "TSI10"; + container tsi11s { + description + "Entity Level 11"; + list tsi11 { + key "name"; + description + "TSI11"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI11"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI10"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI9"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI8"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI7"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI6"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI5"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI4"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI3"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI2"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "TSI1"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + uses ATTRIBUTES; + } + } + + container inventory { + config false; + description + "Inventory information"; + container entities { + description + "Entities Table"; + list entity { + key "name"; + description + "Entity name"; + container attributes { + description + "Attributes"; + container inv-basic-bag { + description + "Inventory Basic Bag"; + uses INV-PHY-ENTITY-BASIC-INFO; + } + container inv-asset-bag { + description + "Inventory Asset Bag"; + uses INV-PHY-ENTITY-ASSET-INFO; + } + } + container subentities { + description + "SubEntities Table"; + list subentity { + key "name"; + description + "Subentity name"; + leaf name { + type string; + description + "Subentity name"; + } + leaf name-xr { + type string; + mandatory true; + description + "Subentity name"; + } + } + } + leaf name { + type string; + description + "Entity name"; + } + } + } + container racks { + description + "RackTable"; + list rack { + key "name"; + description + "Rack name"; + container entity { + description + "Entity information"; + uses SLOT; + } + container powershelf { + description + "Powershelf information"; + uses SLOT; + } + container fantray { + description + "Fantray information"; + uses SLOT; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Rack name"; + } + uses ATTRIBUTES; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-cfg.yang new file mode 100644 index 0000000..0025ad4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-cfg.yang @@ -0,0 +1,364 @@ +module Cisco-IOS-XR-ip-bfd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-cfg"; + prefix ip-bfd-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-bfd package configuration. + + This module contains definitions + for the following management objects: + bfd: BFD Configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bfd-echo-startup-validate { + type enumeration { + enum "off" { + value 0; + description + "Disable echo startup validation"; + } + enum "on" { + value 1; + description + "Enable echo startup validation"; + } + enum "force" { + value 2; + description + "Force echo startup validation"; + } + } + description + "Bfd echo startup validate"; + } + + typedef Bfd-bundle-coexistence-bob-blb { + type enumeration { + enum "inherited" { + value 1; + description + "Inherited coexistence mode"; + } + enum "logical" { + value 2; + description + "Logical coexistence mode"; + } + } + description + "Bfd bundle coexistence bob blb"; + } + + typedef Bfd-if-echo-usage { + type enumeration { + enum "enable" { + value 0; + description + "Enable echo"; + } + enum "disable" { + value 1; + description + "Disable echo"; + } + } + description + "Bfd if echo usage"; + } + + typedef Bfd-if-ipv6-checksum-usage { + type enumeration { + enum "disable" { + value 0; + description + "Disable IPv6 checksum"; + } + enum "enable" { + value 1; + description + "Enable IPv6 checksum"; + } + } + description + "Bfd if ipv6 checksum usage"; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container bfd { + description + "CISCO-IETF-BFD-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable CISCO-IETF-BFD-MIB notifications"; + } + } + } + container bfd { + description + "BFD Configuration"; + container flap-damp { + description + "Flapping class container"; + container bundle-member { + description + "Bundle per member feature class container"; + leaf initial-delay { + type uint32 { + range "1..518400000"; + } + units "millisecond"; + default "16000"; + description + "Initial delay before bringing up session"; + } + leaf maximum-delay { + type uint32 { + range "1..518400000"; + } + units "millisecond"; + default "600000"; + description + "Maximum delay before bringing up session"; + } + leaf secondary-delay { + type uint32 { + range "1..518400000"; + } + units "millisecond"; + default "20000"; + description + "Secondary delay before bringing up session"; + } + leaf l3-only-mode { + type empty; + description + "Apply immediate dampening and only when + failure is L3 specific"; + } + } + container extensions { + description + "Extensions to the BFD dampening feature"; + leaf down-monitor { + type empty; + description + "If set, DOWN state monitoring mode is enabled"; + } + } + leaf threshold { + type uint32 { + range "60000..3600000"; + } + units "millisecond"; + default "120000"; + description + "Stability threshold to enable dampening"; + } + leaf initial-delay { + type uint32 { + range "1..3600000"; + } + units "millisecond"; + default "2000"; + description + "Initial delay before bringing up session"; + } + leaf maximum-delay { + type uint32 { + range "1..3600000"; + } + units "millisecond"; + default "120000"; + description + "Maximum delay before bringing up session"; + } + leaf dampen-disable { + type empty; + description + "Dampening Enable/Disable"; + } + leaf secondary-delay { + type uint32 { + range "1..3600000"; + } + units "millisecond"; + default "5000"; + description + "Secondary delay before bringing up session"; + } + } + container echo-latency { + description + "BFD echo latency feature class container"; + container detect { + description + "BFD echo latency detection"; + leaf latency-detect-enabled { + type boolean; + description + "If set, echo latency detect is enabled"; + } + leaf latency-detect-percentage { + type uint32 { + range "100..250"; + } + units "percentage"; + description + "Echo latency detect percentage"; + } + leaf latency-detect-count { + type uint32 { + range "1..10"; + } + description + "Echo latency detect count"; + } + } + } + container echo-startup { + description + "BFD echo startup feature class container"; + leaf validate { + type Bfd-echo-startup-validate; + default "off"; + description + "BFD echo validation prior to session bringup"; + } + } + container interfaces { + description + "Interface configuration"; + list interface { + key "interface-name"; + description + "Single interface configuration"; + leaf interface-echo-usage { + type Bfd-if-echo-usage; + default "enable"; + description + "Echo usage for this interface"; + } + leaf ipv6-checksum { + type Bfd-if-ipv6-checksum-usage; + default "enable"; + description + "IPv6 checksum usage for this interface - + Interface config will always take precedence + over global config"; + } + leaf interface-ipv4-echo-source { + type inet:ip-address-no-zone; + description + "Interface IPv4 echo source address + configuration"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container multi-path-includes { + description + "Multipath Include configuration"; + list multi-path-include { + key "location"; + description + "Location configuration"; + leaf location { + type xr:Node-id; + description + "Location"; + } + } + } + container bundle { + description + "Configuration related to BFD over Bundle"; + container coexistence { + description + "Coexistence mode for BFD on bundle feature"; + leaf bob-blb { + type Bfd-bundle-coexistence-bob-blb; + description + "Coexistence mode for BoB and BLB feature"; + } + } + } + leaf global-echo-usage { + type empty; + description + "Echo configuration"; + } + leaf ipv6-checksum-disable { + type empty; + description + "To disable IPv6 checksum configuration"; + } + leaf global-echo-min-interval { + type uint32 { + range "15..2000"; + } + units "millisecond"; + default "15"; + description + "Configure echo min-interval for bundle interface"; + } + leaf ttl-drop-threshold { + type uint32 { + range "0..254"; + } + description + "Multihop TTL Drop Threshold"; + } + leaf single-hop-trap { + type empty; + description + "Single hop trap configuration"; + } + leaf global-ipv4-echo-source { + type inet:ip-address-no-zone; + description + "IPv4 echo source address configuration"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang new file mode 100644 index 0000000..8146dcb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang @@ -0,0 +1,193 @@ +module Cisco-IOS-XR-ip-bfd-oper-sub1-deviations { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper-sub1-deviations.yang"; + prefix cisco-xr-bfd-devs; + + import Cisco-IOS-XR-ip-bfd-oper { + prefix bfd; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations of ip-bfd package + model set for Cisco IOS-XR. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-16 { + description + "Initial revision applicable to IOS-XR 6.1.2 and older releases"; + } + + deviation "/bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:session-details/bfd:session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:mp-download-state/bfd:change-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-tx-last-error-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-multi-hop-session-details/bfd:ipv4-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4-single-hop-session-details/bfd:ipv4-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-tail-session-details/bfd:ipv4bf-do-mplste-tail-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-multi-hop-session-details/bfd:ipv6-multi-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:label-session-details/bfd:label-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv6-single-hop-session-details/bfd:ipv6-single-hop-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:session-details/bfd:session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } + deviation "/bfd:bfd/bfd:ipv4bf-do-mplste-head-session-details/bfd:ipv4bf-do-mplste-head-session-detail/bfd:lsp-ping-info/bfd:lsp-ping-rx-last-time/bfd:seconds" { + deviate replace { + type uint32; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1.yang new file mode 100644 index 0000000..77ea147 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper-sub1.yang @@ -0,0 +1,1358 @@ +submodule Cisco-IOS-XR-ip-bfd-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-bfd-oper { + prefix Cisco-IOS-XR-ip-bfd-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-bfd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bfd-mp-download-state { + type enumeration { + enum "bfd-mp-download-none" { + value 0; + description + "bfd mp download none"; + } + enum "bfd-mp-download-no-lc" { + value 1; + description + "bfd mp download no lc"; + } + enum "bfd-mp-download-downloaded" { + value 2; + description + "bfd mp download downloaded"; + } + enum "bfd-mp-download-ack" { + value 3; + description + "bfd mp download ack"; + } + enum "bfd-mp-download-nack" { + value 4; + description + "bfd mp download nack"; + } + enum "bfd-mp-download-delete" { + value 5; + description + "bfd mp download delete"; + } + } + description + "Bfd mp download state"; + } + + typedef Bfd-mgmt-session-diag { + type enumeration { + enum "bfd-mgmt-session-diag-none" { + value 0; + description + "No diagnostic"; + } + enum "bfd-mgmt-session-diag-control-detect-expired" { + value 1; + description + "Control Detection Time Expired"; + } + enum "bfd-mgmt-session-diag-echo-function-failed" { + value 2; + description + "Echo Function Failed"; + } + enum "bfd-mgmt-session-diag-nb-or-signaled-down" { + value 3; + description + "Neighbor Signaled Session Down"; + } + enum "bfd-mgmt-session-diag-fwding-plane-reset" { + value 4; + description + "Forwarding Plane Reset"; + } + enum "bfd-mgmt-session-diag-path-down" { + value 5; + description + "Path Down"; + } + enum "bfd-mgmt-session-diag-conc-path-down" { + value 6; + description + "Concatenated Path Down"; + } + enum "bfd-mgmt-session-diag-admin-down" { + value 7; + description + "Administratively Down"; + } + enum "bfd-mgmt-session-diag-rev-conc-path-down" { + value 8; + description + "Reverse Concatenated Path Down"; + } + enum "bfd-mgmt-session-diag-num" { + value 10; + description + "Unknown diagnostic state"; + } + } + description + "BFD session diagnostic"; + } + + typedef Bfd-in6-addr { + type inet:ipv6-address; + description + "Bfd in6 addr"; + } + + typedef Bfd-in-addr { + type inet:ipv4-address; + description + "Bfd in addr"; + } + + typedef Bfd-af-id { + type enumeration { + enum "bfd-af-id-none" { + value 0; + description + "No Address"; + } + enum "bfd-af-id-ipv4" { + value 2; + description + "IPv4 AFI"; + } + enum "bfd-af-id-ipv6" { + value 10; + description + "IPv6 AFI"; + } + } + description + "Bfd af id"; + } + + typedef Bfd-discr { + type uint32; + description + "Bfd discr"; + } + + typedef Bfd-mgmt-pkt-display { + type enumeration { + enum "bfd-mgmt-pkt-display-type-none" { + value 0; + description + "None"; + } + enum "bfd-mgmt-pkt-display-type-bob-mbr" { + value 1; + description + "Display Type Bundle RTR Member"; + } + enum "bfd-mgmt-pkt-display-type-max" { + value 2; + description + "Display Type Enum Max Value"; + } + } + description + "BFD session type"; + } + + typedef Bfd-session { + type enumeration { + enum "undefined" { + description + "Session type is undefined"; + } + enum "bundle-member" { + description + "Session type is bundle member"; + } + enum "bundle-interface" { + description + "Session type is bundle interface"; + } + enum "state-inheriting" { + description + "Session type is state inheriting"; + } + enum "bundle-vlan" { + description + "Session type is bundle vlan"; + } + enum "mpls-tp" { + description + "Session type is MPLS-TP"; + } + enum "gre" { + description + "Session type is GRE tunnel"; + } + enum "pseudowire-headend" { + description + "Session type is PW-HE"; + } + enum "ip-single-hop" { + description + "Session type is IP single hop"; + } + } + description + "BFD session type"; + } + + typedef Bfd-mgmt-session-state { + type enumeration { + enum "bfd-mgmt-session-state-admin-down" { + value 0; + description + "Session in Administratively Shutdown State"; + } + enum "bfd-mgmt-session-state-down" { + value 1; + description + "Session in Down State"; + } + enum "bfd-mgmt-session-state-init" { + value 2; + description + "Session in Initializing State"; + } + enum "bfd-mgmt-session-state-up" { + value 3; + description + "Session in Up State"; + } + enum "bfd-mgmt-session-state-failing" { + value 4; + description + "Session in Failing State"; + } + enum "bfd-mgmt-session-state-unknown" { + value 6; + description + "Session in Unknown State"; + } + } + description + "BFD session states"; + } + + grouping BFD-MGMT-RELATION-LINK-DETAIL { + description + "Detail Member Link Information"; + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf interface-name { + type string { + length "0..64"; + } + description + "Session Interface Name"; + } + leaf local-discriminator { + type Bfd-discr; + description + "Session's Local discriminator"; + } + } + + grouping BFD-MGMT-RELATION { + description + "BFD Relation Detail Information"; + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf local-discriminator { + type Bfd-discr; + description + "Session's Local discriminator"; + } + list link-information { + description + "Detail Member Link Information"; + uses BFD-MGMT-RELATION-LINK-DETAIL; + } + list association-information { + description + "Association session information"; + uses BFD-MGMT-SESSION-ASSOCIATION-INFORMATION; + } + } + + grouping BFD-MGMT-RELATION-LINK-BRIEF { + description + "Brief Member Link Information"; + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf interface-name { + type string { + length "0..64"; + } + description + "Session Interface Name"; + } + } + + grouping BFD-MGMT-RELATION-BRIEF { + description + "BFD Relation Brief Information"; + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + list link-information { + description + "Brief Member Link Information"; + uses BFD-MGMT-RELATION-LINK-BRIEF; + } + } + + grouping BFD-MGMT-MIB-DATABASE { + description + "BFD MIB Mapping Database Entry Information"; + container dest-address { + description + "Session Destination address"; + uses IP-ADDR-T-UNION; + } + leaf local-discriminator { + type Bfd-discr; + description + "Sessions' Local Discriminator"; + } + leaf remote-discriminator { + type Bfd-discr; + description + "Sessions' Remote Discriminator"; + } + leaf sessionversion { + type uint32; + description + "Session BFD Version"; + } + leaf session-state { + type uint32; + description + "Session State"; + } + leaf trap-bitmap { + type uint32; + description + "Trap Generator Bitmap"; + } + leaf pkt-in { + type uint64; + description + "Packet In Counter"; + } + leaf pkt-out { + type uint64; + description + "Packet Out Counter"; + } + leaf last-up-time-sec { + type uint64; + units "second"; + description + "Last Session Up Time (seconds)"; + } + leaf last-up-time-nsec { + type uint32; + units "nanosecond"; + description + "Last Session Up Time (nanoseconds)"; + } + leaf last-down-time-sec { + type uint64; + units "second"; + description + "Last Session Down Time (seconds)"; + } + leaf last-down-time-nsec { + type uint32; + units "nanosecond"; + description + "Last Session Down Time (nanoseconds)"; + } + leaf last-down-diag { + type Bfd-mgmt-session-diag; + description + "Last Session Down Diag"; + } + leaf up-counter { + type uint32; + description + "Up Count"; + } + leaf last-time-cached { + type uint64; + description + "Last Time Session Info Queried"; + } + leaf interface-name { + type string { + length "0..64"; + } + description + "Session Interface Name"; + } + leaf int-handle { + type uint32; + description + "Session Interface Handle"; + } + leaf detection-multiplier { + type uint32; + description + "Detection Multiplier"; + } + leaf desired-min-tx-interval { + type uint32; + description + "Desired Min TX Interval"; + } + leaf required-min-rx-interval { + type uint32; + description + "Required Min RX Interval"; + } + leaf required-min-rx-echo-interval { + type uint32; + description + "Required Min RX Echo Interval"; + } + } + + grouping BFD-LOC-MGMT-SESSION-STATE-INFORMATION { + description + "BFD Location Session State Information"; + leaf total-count { + type uint32; + description + "Number of sessions in database"; + } + leaf up-count { + type uint32; + description + "Number of sessions in up state"; + } + leaf down-count { + type uint32; + description + "Number of sessions in down state"; + } + leaf unknown-count { + type uint32; + description + "Number of sessions in unknown state"; + } + leaf retry-count { + type uint32; + description + "Number of sessions in retry state"; + } + leaf standby-count { + type uint32; + description + "Number of sessions in standby state"; + } + } + + grouping BFD-MGMT-BFD-LOC-INFORMATION { + description + "BFD Location Summary Information"; + container session-state { + description + "Statistics of states for sessions"; + uses BFD-LOC-MGMT-SESSION-STATE-INFORMATION; + } + } + + grouping BFD-MGMT-SUMMARY { + description + "BFD MGMT SUMMARY"; + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + leaf pps-allocated-value { + type uint32; + description + "Allocated PPS value"; + } + leaf ppsmp-allocated-value { + type uint32; + description + "Allocated MP PPS value"; + } + leaf pps-max-value { + type uint32; + description + "Max PPS value"; + } + leaf ppsmp-max-value { + type uint32; + description + "Max MP PPS value"; + } + leaf total-session-number { + type uint32; + description + "Total Session Number"; + } + leaf mp-session-number { + type uint32; + description + "MP Session Number"; + } + leaf max-session-number { + type uint32; + description + "Max Session Number"; + } + leaf pps-all-percentage { + type uint32; + units "percentage"; + description + "All PPS percentage"; + } + leaf ppsmp-percentage { + type uint32; + units "percentage"; + description + "MP PPS percentage"; + } + } + + grouping BFD-MGMT-LSP-PING-INFO { + description + "BFD LSP Ping info"; + container lsp-ping-tx-last-time { + description + "LSP Ping last sent time"; + uses BFD-TIMESPEC; + } + container lsp-ping-tx-last-error-time { + description + "LSP Ping last error time"; + uses BFD-TIMESPEC; + } + container lsp-ping-rx-last-time { + description + "LSP Ping last received time"; + uses BFD-TIMESPEC; + } + leaf lsp-ping-tx-count { + type uint32; + description + "LSP Ping Tx count"; + } + leaf lsp-ping-tx-error-count { + type uint32; + description + "LSP Ping Tx error count"; + } + leaf lsp-ping-tx-last-rc { + type string; + description + "LSP Ping Tx last result"; + } + leaf lsp-ping-tx-last-error-rc { + type string; + description + "LSP Ping Tx last error"; + } + leaf lsp-ping-rx-last-discr { + type Bfd-discr; + description + "LSP Ping Rx last received discriminator"; + } + leaf lsp-ping-rx-count { + type uint32; + description + "LSP Ping numer of times received"; + } + leaf lsp-ping-rx-last-code { + type uint8; + description + "LSP Ping Rx Last Code"; + } + leaf lsp-ping-rx-last-subcode { + type uint8; + description + "LSP Ping Rx Last Subcode"; + } + leaf lsp-ping-rx-last-output { + type string; + description + "LSP Ping Rx Last Output"; + } + } + + grouping BFD-TIMESPEC { + description + "BFD TIMESPEC"; + leaf seconds { + type uint64; + units "second"; + description + "seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "nanoseconds"; + } + } + + grouping BFD-MGMT-MP-DOWNLOAD-STATE-INFO { + description + "BFD Download State"; + container change-time { + description + "Change time"; + uses BFD-TIMESPEC; + } + leaf mp-download-state { + type Bfd-mp-download-state; + description + "MP Download State"; + } + } + + grouping BFD-MGMT-SESSION-ASSOCIATION-INFORMATION { + description + "BFD Session Association Information"; + container ip-destination-address { + description + "IPv4/v6 dest address"; + uses IP-ADDR-T-UNION; + } + leaf interface-name { + type string { + length "0..64"; + } + description + "Session Interface Name"; + } + leaf sessiontype { + type Bfd-session; + description + "Session type"; + } + leaf local-discriminator { + type Bfd-discr; + description + "Session's Local discriminator"; + } + list owner-information { + description + "Client applications owning the session"; + uses BFD-MGMT-SESSION-OWNER-INFORMATION; + } + } + + grouping BFD-MGMT-SESSION-OWNER-INFORMATION { + description + "BFD Session Owner Information"; + leaf interval { + type uint32; + units "microsecond"; + description + "Client specified minimum transmit interval in + micro-seconds"; + } + leaf detection-multiplier { + type uint32; + description + "Client specified detection multiplier to compute + detection time"; + } + leaf adjusted-interval { + type uint32; + units "millisecond"; + description + "Adjusted minimum transmit interval in + milli-seconds"; + } + leaf adjusted-detection-multiplier { + type uint32; + description + "Adjusted detection multiplier to compute + detection time"; + } + leaf name { + type string { + length "0..257"; + } + description + "Client process name"; + } + } + + grouping BFD-MGMT-INTERVAL-STATISTICS { + description + "BFD Agent Interval between packets Information"; + leaf number { + type uint32; + description + "Number of Interval Samples between Packets + sent/received"; + } + leaf minimum { + type uint32; + units "millisecond"; + description + "Minimum of Transmit/Receive Interval (in + milli-seconds)"; + } + leaf maximum { + type uint32; + units "millisecond"; + description + "Maximum of Transmit/Receive Interval (in + milli-seconds)"; + } + leaf average { + type uint32; + units "millisecond"; + description + "Average of Transmit/Receive Interval (in + milli-seconds)"; + } + leaf last { + type uint32; + units "millisecond"; + description + "Time since last Transmit/Receive (in + milli-seconds)"; + } + } + + grouping BFD-MGMT-CONTROL-PACKET { + description + "BFD Control Packet"; + leaf version { + type uint8; + description + "Version"; + } + leaf diagnostic { + type Bfd-mgmt-session-diag; + description + "Diagnostic"; + } + leaf ihear-you { + type int32; + description + "I Hear You (v0)"; + } + leaf state { + type Bfd-mgmt-session-state; + description + "State (v1)"; + } + leaf demand { + type int32; + description + "Demand mode"; + } + leaf poll { + type int32; + description + "Poll bit"; + } + leaf final { + type int32; + description + "Final bit"; + } + leaf control-plane-independent { + type int32; + description + "BFD implementation does not share fate with its + control plane"; + } + leaf authentication-present { + type int32; + description + "Requesting authentication for the session"; + } + leaf detection-multiplier { + type uint32; + description + "Detection Multiplier"; + } + leaf length { + type uint32; + description + "Length"; + } + leaf my-discriminator { + type Bfd-discr; + description + "My Discriminator"; + } + leaf your-discriminator { + type Bfd-discr; + description + "Your Discriminator"; + } + leaf desired-minimum-transmit-interval { + type uint32; + units "microsecond"; + description + "Desired minimum transmit interval in + micro-seconds"; + } + leaf required-minimum-receive-interval { + type uint32; + units "microsecond"; + description + "Required receive interval in micro-seconds"; + } + leaf required-minimum-echo-receive-interval { + type uint32; + units "microsecond"; + description + "Required echo receive interval in micro-seconds"; + } + } + + grouping BFD-MGMT-SESSION-STATE-TIME { + description + "BFD Session State Transition Time Information"; + leaf days { + type uint32; + units "day"; + description + "Number of days since last session state + transition"; + } + leaf hours { + type uint8; + units "hour"; + description + "Number of hours since last session state + transition"; + } + leaf minutes { + type uint8; + units "minute"; + description + "Number of mins since last session state + transition"; + } + leaf seconds { + type uint8; + units "second"; + description + "Number of seconds since last session state + transition"; + } + } + + grouping IP-ADDR-T-UNION { + description + "IP ADDR T UNION"; + leaf afi { + type Bfd-af-id; + description + "AFI"; + } + leaf dummy { + when "../afi = 'bfd-af-id-none'" { + description + "../AFI = 'BFD_AF_ID_NONE'"; + } + type uint8; + description + "No Address"; + } + leaf ipv4 { + when "../afi = 'bfd-af-id-ipv4'" { + description + "../AFI = 'BFD_AF_ID_IPV4'"; + } + type Bfd-in-addr; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../afi = 'bfd-af-id-ipv6'" { + description + "../AFI = 'BFD_AF_ID_IPV6'"; + } + type Bfd-in6-addr; + description + "IPv6 address type"; + } + } + + grouping BFD-MGMT-SESSION-STATUS-INFORMATION { + description + "BFD Agent detailed Session Information"; + container source-address { + description + "Source address"; + uses IP-ADDR-T-UNION; + } + container last-state-change { + description + "Time since last state change"; + uses BFD-MGMT-SESSION-STATE-TIME; + } + container transmit-packet { + description + "Transmit Packet"; + uses BFD-MGMT-CONTROL-PACKET; + } + container receive-packet { + description + "Receive Packet"; + uses BFD-MGMT-CONTROL-PACKET; + } + container status-brief-information { + description + "Brief Status Information"; + uses BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF; + } + container async-transmit-statistics { + description + "Statistics of Interval between Async Packets + Transmitted (in milli-seconds)"; + uses BFD-MGMT-INTERVAL-STATISTICS; + } + container async-receive-statistics { + description + "Statistics of Interval between Async Packets + Received (in milli-seconds)"; + uses BFD-MGMT-INTERVAL-STATISTICS; + } + container echo-transmit-statistics { + description + "Statistics of Interval between Echo Packets + Transmitted (in milli-seconds)"; + uses BFD-MGMT-INTERVAL-STATISTICS; + } + container echo-received-statistics { + description + "Statistics of Interval between Echo Packets + Received (in milli-seconds)"; + uses BFD-MGMT-INTERVAL-STATISTICS; + } + leaf sessiontype { + type Bfd-session; + description + "Session type"; + } + leaf session-subtype { + type string; + description + "Session subtype"; + } + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf local-discriminator { + type Bfd-discr; + description + "Session's Local discriminator"; + } + leaf remote-discriminator { + type Bfd-discr; + description + "Session's Remote discriminator"; + } + leaf to-up-state-count { + type uint32; + description + "Number of times session state went to UP"; + } + leaf desired-minimum-echo-transmit-interval { + type uint32; + units "millisecond"; + description + "Desired minimum echo transmit interval in + milli-seconds"; + } + leaf remote-negotiated-interval { + type uint32; + units "millisecond"; + description + "Remote Negotiated Interval in milli-seconds"; + } + leaf latency-number { + type uint32; + description + "Number of Latency Samples. Time between Transmit + and Receive"; + } + leaf latency-minimum { + type uint32; + units "microsecond"; + description + "Minimum value of Latency (in micro-seconds)"; + } + leaf latency-maximum { + type uint32; + units "microsecond"; + description + "Maximum value of Latency (in micro-seconds)"; + } + leaf latency-average { + type uint32; + units "microsecond"; + description + "Average value of Latency (in micro-seconds)"; + } + leaf node-id { + type xr:Node-id; + description + "Location where session is housed"; + } + leaf internal-label { + type uint32; + description + "Internal Label"; + } + } + + grouping BFD-MGMT-SESSION-DETAIL { + description + "BFD Detailed Session Information"; + container status-information { + description + "Session status information"; + uses BFD-MGMT-SESSION-STATUS-INFORMATION; + } + container mp-download-state { + description + "MP Dowload State"; + uses BFD-MGMT-MP-DOWNLOAD-STATE-INFO; + } + container lsp-ping-info { + description + "LSP Ping Info"; + uses BFD-MGMT-LSP-PING-INFO; + } + list owner-information { + description + "Client applications owning the session"; + uses BFD-MGMT-SESSION-OWNER-INFORMATION; + } + list association-information { + description + "Association session information"; + uses BFD-MGMT-SESSION-ASSOCIATION-INFORMATION; + } + } + + grouping BFD-MGMT-MULTIPLE-PATHS { + description + "BFD Multiple paths Info"; + leaf session-subtype { + type string; + description + "Session subtype"; + } + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf local-discriminator { + type Bfd-discr; + description + "Session's Local discriminator"; + } + leaf node-id { + type xr:Node-id; + description + "Location where session is housed"; + } + leaf incoming-label-xr { + type uint32; + description + "Incoming Label"; + } + leaf session-interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + + grouping BFD-MGMT-CLIENT-FLAGS { + description + "BFD Client Flags"; + leaf is-zombie-state { + type int32; + description + "Client is in Zombie State"; + } + leaf is-recreate-state { + type int32; + description + "Client is in Recreate State"; + } + } + + grouping BFD-MGMT-CLIENT-BRIEF-INFORMATION { + description + "BFD Brief Client Information"; + leaf name-xr { + type string { + length "0..257"; + } + description + "Client process name"; + } + leaf node-id { + type xr:Node-id; + description + "Location where client resides"; + } + leaf session-count { + type uint32; + description + "Number of sessions created by this client"; + } + } + + grouping BFD-MGMT-CLIENT-DETAIL-INFORMATION { + description + "BFD detailed Client Information"; + container brief { + description + "Brief client information"; + uses BFD-MGMT-CLIENT-BRIEF-INFORMATION; + } + container flags { + description + "The BFD Client Flags"; + uses BFD-MGMT-CLIENT-FLAGS; + } + leaf recreate-time { + type uint32; + units "second"; + description + "Recreate Time in Seconds"; + } + } + + grouping BFD-MGMT-PACKET-COUNT { + description + "BFD Agent Packet Count Info"; + leaf hello-transmit-count { + type uint32; + description + "Number of Hellos transmitted"; + } + leaf hello-receive-count { + type uint32; + description + "Number of Hellos received"; + } + leaf echo-transmit-count { + type uint32; + description + "Number of echo packets transmitted"; + } + leaf echo-receive-count { + type uint32; + description + "Number of echo packets received"; + } + leaf display-type { + type Bfd-mgmt-pkt-display; + description + "Packet Display Type"; + } + } + + grouping BFD-MGMT-SESSION-STATE-INFORMATION { + description + "BFD Session State Information"; + leaf total-count { + type uint32; + description + "Number of sessions in database"; + } + leaf down-count { + type uint32; + description + "Number of sessions in down state"; + } + leaf up-count { + type uint32; + description + "Number of sessions in up state"; + } + leaf unknown-count { + type uint32; + description + "Number of sessions in unknown state"; + } + } + + grouping BFD-MGMT-BFD-INFORMATION { + description + "BFD Summary Information"; + container session-state { + description + "Statistics of states for sessions"; + uses BFD-MGMT-SESSION-STATE-INFORMATION; + } + } + + grouping BFD-MGMT-ECHO-INTERVAL-MULTIPLIER-INFORMATION { + description + "BFD Agent Echo Interval and Detection Multiplier + Information"; + leaf negotiated-transmit-interval { + type uint32; + units "microsecond"; + description + "Negotiated transmit interval in micro-seconds"; + } + leaf detection-time { + type uint32; + units "microsecond"; + description + "Detection time in micro-seconds"; + } + leaf detection-multiplier { + type uint32; + description + "Detection Multiplier"; + } + } + + grouping BFD-MGMT-ASYNC-INTERVAL-MULTIPLIER-INFORMATION { + description + "BFD Agent Async Interval and Detection Multiplier + Information"; + leaf negotiated-remote-transmit-interval { + type uint32; + units "microsecond"; + description + "Negotiated remote transmit interval in + micro-seconds"; + } + leaf negotiated-local-transmit-interval { + type uint32; + units "microsecond"; + description + "Negotiated local transmit interval in + micro-seconds"; + } + leaf detection-time { + type uint32; + units "microsecond"; + description + "Detection time in micro-seconds"; + } + leaf detection-multiplier { + type uint32; + description + "Detection Multiplier"; + } + } + + grouping BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF { + description + "BFD Session Status Brief Information "; + container async-interval-multiplier { + description + "Async Interval and Detect Multiplier Information"; + uses BFD-MGMT-ASYNC-INTERVAL-MULTIPLIER-INFORMATION; + } + container echo-interval-multiplier { + description + "Echo Interval and Detect Multiplier Information"; + uses BFD-MGMT-ECHO-INTERVAL-MULTIPLIER-INFORMATION; + } + } + + grouping BFD-MGMT-SESSION-BRIEF { + description + "BFD Brief Session Information"; + container status-brief-information { + description + "Brief Status Information"; + uses BFD-MGMT-SESSION-STATUS-INFORMATION-BRIEF; + } + leaf node-id { + type xr:Node-id; + description + "Location where session is housed"; + } + leaf state { + type Bfd-mgmt-session-state; + description + "State"; + } + leaf session-type { + type Bfd-session; + description + "Session type"; + } + leaf session-subtype { + type string; + description + "Session subtype"; + } + leaf session-flags { + type uint32; + description + "Session Flags"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper.yang new file mode 100644 index 0000000..6fa7585 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-bfd-oper.yang @@ -0,0 +1,1528 @@ +module Cisco-IOS-XR-ip-bfd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-bfd-oper"; + prefix ip-bfd-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-bfd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-bfd package operational data. + + This module contains definitions + for the following management objects: + bfd: Bidirectional Forwarding Detection(BFD) operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container bfd { + config false; + description + "Bidirectional Forwarding Detection(BFD) + operational data"; + container label-session-briefs { + description + "Table of brief information about all Label BFD + sessions in the System"; + list label-session-brief { + description + "Brief information for a single Label BFD + session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv4bf-do-mplste-tail-summary { + description + "Summary information of IPv4 BFD over MPLS-TE + Tail"; + uses BFD-MGMT-BFD-INFORMATION; + } + container ipv6-single-hop-counters { + description + "IPv6 single hop Counters"; + container ipv6-single-hop-packet-counters { + description + "Table of IPv6 single hop Packet counters"; + list ipv6-single-hop-packet-counter { + key "interface-name"; + description + "Interface IPv6 single hop Packet counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container counters { + description + "Counters"; + container packet-counters { + description + "Table of Packet counters"; + list packet-counter { + key "interface-name"; + description + "Interface Packet counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container client-details { + description + "Table of detailed information about BFD clients"; + list client-detail { + key "client-name"; + description + "Detailed information of client"; + leaf client-name { + type xr:Cisco-ios-xr-string; + description + "Client Name"; + } + uses BFD-MGMT-CLIENT-DETAIL-INFORMATION; + } + } + container ipv4-single-hop-summary { + description + "Summary information of BFD IPv4 singlehop + sessions"; + uses BFD-MGMT-BFD-INFORMATION; + } + container ipv6-single-hop-summary { + description + "Summary information of BFD IPv6 singlehop + sessions"; + uses BFD-MGMT-BFD-INFORMATION; + } + container label-multi-paths { + description + "Label multipath"; + list label-multi-path { + description + "Label multipath table"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4-multi-hop-session-details { + description + "Table of detailed information about all IPv4 + multihop BFD sessions in the System "; + list ipv4-multi-hop-session-detail { + description + "Detailed information for a single IPv4 multihop + BFD session"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv4-single-hop-session-details { + description + "Table of detailed information about all IPv4 + singlehop BFD sessions in the System "; + list ipv4-single-hop-session-detail { + description + "Detailed information for a single IPv4 + singlehop BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv4-multi-hop-session-briefs { + description + "Table of brief information about all IPv4 + multihop BFD sessions in the System"; + list ipv4-multi-hop-session-brief { + description + "Brief information for a single IPv4 multihop + BFD session"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container generic-summaries { + description + "Generic summary information about BFD location"; + list generic-summary { + key "location"; + description + "Generic summary information for bfd location + table"; + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SUMMARY; + } + } + container ipv6-single-hop-multi-paths { + description + "IPv6 single hop multipath"; + list ipv6-single-hop-multi-path { + description + "IPv6 single hop multipath table"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4-single-hop-node-location-summaries { + description + "Table of summary information about BFD IPv4 + singlehop sessions per location"; + list ipv4-single-hop-node-location-summary { + key "location"; + description + "Summary information for BFD IPv4 singlehop + sessions for location"; + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container label-summary { + description + "Summary information of Label BFD"; + uses BFD-MGMT-BFD-INFORMATION; + } + container ipv4bf-do-mplste-head-session-briefs { + description + "Table of brief information about all IPv4 BFD + over MPLS-TE Head sessions in the System"; + list ipv4bf-do-mplste-head-session-brief { + description + "Brief information for a single IPv4 BFD over + MPLS-TE Head session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv4bf-do-mplste-tail-session-details { + description + "Table of detailed information about all IPv4 BFD + over MPLS-TE Tail sessions in the System"; + list ipv4bf-do-mplste-tail-session-detail { + description + "Detailed information for a single IPv4 BFD over + MPLS-TE Tail session"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv4-multi-hop-node-location-summaries { + description + "Table of summary information about BFD IPv4 + multihop sessions per location"; + list ipv4-multi-hop-node-location-summary { + key "location"; + description + "Summary information for BFD IPv4 multihop + sessions for location"; + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container ipv4bf-do-mplste-tail-session-briefs { + description + "Table of brief information about all IPv4 BFD + over MPLS-TE Tail sessions in the System"; + list ipv4bf-do-mplste-tail-session-brief { + description + "Brief information for a single IPv4 BFD over + MPLS-TE session"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv6-multi-hop-node-location-summaries { + description + "Table of summary information about BFD IPv6 + multihop sessions per location"; + list ipv6-multi-hop-node-location-summary { + key "location"; + description + "Summary information for BFD IPv6 multihop + sessions for location"; + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container ipv4-multi-hop-summary { + description + "Summary information of BFD IPv4 multihop + sessions"; + uses BFD-MGMT-BFD-INFORMATION; + } + container ipv4-single-hop-counters { + description + "IPv4 single hop Counters"; + container ipv4-single-hop-packet-counters { + description + "Table of IPv4 single hop Packet counters"; + list ipv4-single-hop-packet-counter { + key "interface-name"; + description + "Interface IPv4 single hop Packet counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container ipv6-multi-hop-session-details { + description + "Table of detailed information about all IPv6 + multihop BFD sessions in the System "; + list ipv6-multi-hop-session-detail { + description + "Detailed information for a single IPv6 multihop + BFD session"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv6-multi-hop-multi-paths { + description + "IPv6 multi hop multipath"; + list ipv6-multi-hop-multi-path { + description + "IPv6 multihop multipath table"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4bf-do-mplste-head-counters { + description + "IPv4 BFD over MPLS-TE Counters"; + container ipv4bf-do-mplste-head-packet-counters { + description + "Table of IPv4 BFD over MPLS-TE Packet counters"; + list ipv4bf-do-mplste-head-packet-counter { + description + "Interface IPv4 BFD over MPLS-TE Packet + counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container session-mibs { + description + "BFD session MIB database"; + list session-mib { + key "discriminator"; + description + "Brief information for BFD session MIB"; + leaf discriminator { + type uint32 { + range "1..4294967295"; + } + description + "Session Discr"; + } + uses BFD-MGMT-MIB-DATABASE; + } + } + container ipv6-multi-hop-summary { + description + "Summary information of BFD IPv6 multihop + sessions"; + uses BFD-MGMT-BFD-INFORMATION; + } + container label-summary-nodes { + description + "Table of summary about Label BFD sessions for + location"; + list label-summary-node { + key "location-name"; + description + "Summary of Label BFD "; + leaf location-name { + type xr:Cisco-ios-xr-string; + description + "Location name"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container ipv6-multi-hop-session-briefs { + description + "Table of brief information about all IPv6 + multihop BFD sessions in the System"; + list ipv6-multi-hop-session-brief { + description + "Brief information for a single IPv6 multihop + BFD session"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container session-briefs { + description + "Table of brief information about singlehop IPv4 + BFD sessions in the System"; + list session-brief { + description + "Brief information for a single IPv4 singlehop + BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv6-single-hop-node-location-summaries { + description + "Table of summary information about BFD IPv6 + singlehop sessions per location"; + list ipv6-single-hop-node-location-summary { + key "location"; + description + "Summary information for BFD IPv6 singlehop + sessions for location"; + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container summary { + description + "Summary information of BFD IPv4 singlehop + sessions"; + uses BFD-MGMT-BFD-INFORMATION; + } + container ipv4bfd-mplste-tail-node-summaries { + description + "Table of summary about IPv4 TE tail BFD sessions + for location"; + list ipv4bfd-mplste-tail-node-summary { + key "location-name"; + description + "Summary of IPv4 BFD over MPLS-TE tail"; + leaf location-name { + type xr:Cisco-ios-xr-string; + description + "Location name"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container ipv4-single-hop-location-summaries { + description + "Table of summary information about IPv4 + singlehop BFD sessions for location"; + list ipv4-single-hop-location-summary { + key "location-name"; + description + "Summary information for BFD IPv4 singlehop + sessions for location"; + leaf location-name { + type xr:Cisco-ios-xr-string; + description + "Location Name"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container ipv4bfd-mplste-head-summary-nodes { + description + "Table of summary about IPv4 TE head BFD sessions + for location"; + list ipv4bfd-mplste-head-summary-node { + key "location-name"; + description + "Summary of IPv4 BFD over MPLS-TE head"; + leaf location-name { + type xr:Cisco-ios-xr-string; + description + "Location name"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container label-session-details { + description + "Table of detailed information about all Label + BFD sessions in the System "; + list label-session-detail { + description + "Detailed information for a single BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv6-single-hop-session-details { + description + "Table of detailed information about all IPv6 + singlehop BFD sessions in the System "; + list ipv6-single-hop-session-detail { + description + "Detailed information for a single IPv6 + singlehop BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv4-multi-hop-counters { + description + "IPv4 multiple hop Counters"; + container ipv4-multi-hop-packet-counters { + description + "Table of IPv4 multiple hop Packet counters"; + list ipv4-multi-hop-packet-counter { + description + "IPv4 multiple hop Packet counters"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container session-details { + description + "Table of detailed information about IPv4 + singlehop BFD sessions in the System "; + list session-detail { + description + "Detailed information for a single IPv4 + singlehop BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container ipv4-single-hop-multi-paths { + description + "IPv4 single hop multipath"; + list ipv4-single-hop-multi-path { + description + "IPv4 single hop multipath table"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4-single-hop-session-briefs { + description + "Table of brief information about all IPv4 + singlehop BFD sessions in the System"; + list ipv4-single-hop-session-brief { + description + "Brief information for a single IPv4 singlehop + BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv6-multi-hop-counters { + description + "IPv6 multiple hop Counters"; + container ipv6-multi-hop-packet-counters { + description + "Table of IPv6 multiple hop Packet counters"; + list ipv6-multi-hop-packet-counter { + description + "IPv4 multiple hop Packet counters"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container ipv6-single-hop-location-summaries { + description + "Table of summary information about BFD IPv6 + singlehop sessions per location"; + list ipv6-single-hop-location-summary { + key "location-name"; + description + "Summary information for BFD IPv6 singlehop + sessions for location"; + leaf location-name { + type xr:Cisco-ios-xr-string; + description + "Location Name"; + } + uses BFD-MGMT-BFD-LOC-INFORMATION; + } + } + container label-counters { + description + "Label Counters"; + container label-packet-counters { + description + "Table of Label Packet counters"; + list label-packet-counter { + description + "Interface Label Packet counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container ipv4bf-do-mplste-head-session-details { + description + "Table of detailed information about all IPv4 BFD + over MPLS-TE Head sessions in the System"; + list ipv4bf-do-mplste-head-session-detail { + description + "Detailed information for a single IPv4 BFD over + MPLS-TE head session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-DETAIL; + } + } + container relation-briefs { + description + "Table of brief information about all BFD + relations in the System"; + list relation-brief { + description + "Brief information for relation of a single BFD + session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + uses BFD-MGMT-RELATION-BRIEF; + } + } + container client-briefs { + description + "Table of Brief information about BFD clients"; + list client-brief { + key "name"; + description + "Brief information of client"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Client Name"; + } + uses BFD-MGMT-CLIENT-BRIEF-INFORMATION; + } + } + container ipv4bf-do-mplste-head-multi-paths { + description + "IPv4 BFD over MPLS-TE Head multipath"; + list ipv4bf-do-mplste-head-multi-path { + description + "Label multipath table"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container relation-details { + description + "Table of detail information about all BFD + relations in the System"; + list relation-detail { + description + "Detail information for relation of a single BFD + session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + uses BFD-MGMT-RELATION; + } + } + container ipv4bf-do-mplste-tail-counters { + description + "IPv4 BFD over MPLS-TE Counters"; + container ipv4bf-do-mplste-tail-packet-counters { + description + "Table of IPv4 BFD over MPLS-TE Packet counters"; + list ipv4bf-do-mplste-tail-packet-counter { + description + "Interface IPv4 BFD over MPLS-TE Packet + counters"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-PACKET-COUNT; + } + } + } + container ipv6-single-hop-session-briefs { + description + "Table of brief information about all IPv6 + singlehop BFD sessions in the System"; + list ipv6-single-hop-session-brief { + description + "Brief information for a single IPv6 singlehop + BFD session"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-SESSION-BRIEF; + } + } + container ipv4bf-do-mplste-tail-multi-paths { + description + "IPv4 BFD over MPLS-TE Tail multipath"; + list ipv4bf-do-mplste-tail-multi-path { + description + "Label multipath table"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf incoming-label { + type int32; + description + "Incoming Label"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf fec-subgroup-id { + type int32; + description + "FEC Subgroup ID"; + } + leaf feclspid { + type int32; + description + "FEC LSP ID"; + } + leaf fec-tunnel-id { + type int32; + description + "FEC Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "FEC Extended Tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address-no-zone; + description + "FEC Source"; + } + leaf fec-destination { + type inet:ipv4-address-no-zone; + description + "FEC Destination"; + } + leaf fecp2mpid { + type int32; + description + "FEC P2MP ID"; + } + leaf fec-subgroup-originator { + type inet:ipv4-address-no-zone; + description + "FEC Subgroup originator"; + } + leaf fec-ctype { + type int32; + description + "FEC C Type"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4-multi-hop-multi-paths { + description + "IPv4 multi-hop multipath"; + list ipv4-multi-hop-multi-path { + description + "IPv4 multi hop multipath table"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination Address"; + } + leaf location { + type xr:Node-id; + description + "Location"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses BFD-MGMT-MULTIPLE-PATHS; + } + } + container ipv4bf-do-mplste-head-summary { + description + "Summary information of IPv4 BFD over MPLS-TE + Head"; + uses BFD-MGMT-BFD-INFORMATION; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-cfg.yang new file mode 100644 index 0000000..4742fe2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-cfg.yang @@ -0,0 +1,313 @@ +module Cisco-IOS-XR-ip-daps-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg"; + prefix ip-daps-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-daps package configuration. + + This module contains definitions + for the following management objects: + address-pool-service: Address Pool configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container address-pool-service { + description + "Address Pool configuration data"; + container vrfs { + description + "Enter VRF specific config mode"; + list vrf { + key "vrf-name"; + description + "Specify VRF Name"; + container ipv6 { + description + "Enter IPv6 specific mode"; + container pools { + description + "IPv6 Pool Name"; + list pool { + key "ipv6-pool-name"; + description + "Enter the IPv6 Pool name"; + container address-ranges { + description + "Specify address range for allocation"; + list address-range { + key "start-address"; + description + "None"; + leaf start-address { + type inet:ip-address-no-zone; + description + "Start address of the range"; + } + leaf blocked { + type int32; + description + "Blocked flag"; + } + leaf end-address { + type inet:ip-address-no-zone; + mandatory true; + description + "End Address of the range"; + } + } + } + container excludes { + description + "Exclude IPv6 addresses / prefixes"; + list exclude { + key "start-address"; + description + "None"; + leaf start-address { + type inet:ip-address-no-zone; + description + "First Address in IPv6 exclude range"; + } + leaf end-address { + type inet:ip-address-no-zone; + mandatory true; + description + "Last address in exclude Range"; + } + } + } + container utilization-mark { + description + "Specify utilization mark"; + leaf high-mark { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "Specify numerical value as percentage"; + } + leaf low-mark { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "Specify numerical value as percentage"; + } + } + container prefix-ranges { + description + "Specify prefix range for allocation"; + list prefix-range { + key "start-prefix"; + description + "None"; + leaf start-prefix { + type inet:ip-address-no-zone; + description + "First prefix of range"; + } + leaf blocked { + type int32; + description + "Blocked flag"; + } + leaf end-prefix { + type inet:ip-address-no-zone; + mandatory true; + description + "Last prefix of range"; + } + } + } + container networks { + description + "Specify network for allocation"; + list network { + key "prefix"; + description + "None"; + leaf prefix { + type inet:ip-address-no-zone; + description + "None"; + } + leaf blocked { + type int32; + description + "Blocked flag"; + } + leaf prefix-length { + type uint32 { + range "1..128"; + } + mandatory true; + description + "Prefix length for the IPv6 Prefix"; + } + } + } + leaf prefix-length { + type uint32 { + range "1..128"; + } + description + "Enter the prefix-length for the Pool"; + } + leaf ipv6-pool-name { + type xr:Cisco-ios-xr-string; + description + "Enter the IPv6 Pool name"; + } + } + } + } + container ipv4 { + description + "Enter IPv4 specific configuration"; + container pools { + description + "IPv4 Pool Table"; + list pool { + key "pool-name"; + description + "IPv4 Pool name"; + container address-ranges { + description + "address range for allocation"; + list address-range { + key "start-address"; + description + "Specify first address in range"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "Specify first address of the range"; + } + leaf end-address { + type inet:ip-address-no-zone; + mandatory true; + description + "Last address of the range"; + } + leaf blocked { + type int32; + description + "Blocked flag"; + } + } + } + container excludes { + description + "Exclude addresses"; + list exclude { + key "start-address"; + description + "First address in range"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "First address in exclude range"; + } + leaf end-address { + type inet:ip-address-no-zone; + mandatory true; + description + "Last address in excluded range"; + } + } + } + container utilization-mark { + description + "Specify utilization mark"; + leaf high { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "Specify numerical value as percentage"; + } + leaf low { + type uint32 { + range "0..100"; + } + units "percentage"; + description + "Specify numerical value as percentage"; + } + } + container networks { + description + "Specify network for allocation"; + list network { + key "ipv4-prefix"; + description + "Network Prefix"; + leaf ipv4-prefix { + type inet:ip-address-no-zone; + description + "None"; + } + leaf blocked { + type int32; + description + "Blocked flag"; + } + leaf prefix-length { + type int32; + mandatory true; + description + "Subnet Length for IPv4 subnet"; + } + leaf default-router { + type inet:ipv4-address-no-zone; + description + "Default Gateway for IPv4 subnet"; + } + } + } + leaf pool-name { + type xr:Cisco-ios-xr-string; + description + "Enter the IPv4 Pool name"; + } + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "none"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-mib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-mib-cfg.yang new file mode 100644 index 0000000..8cb06e4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-mib-cfg.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-ip-daps-mib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-mib-cfg"; + prefix ip-daps-mib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-daps-mib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container addresspool-mib { + description + "Enable SNMP daps traps"; + leaf high { + type boolean; + description + "Enable SNMP Address Pool High Threshold trap"; + } + leaf low { + type boolean; + description + "Enable SNMP Address Pool Low Threshold trap"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper-sub1.yang new file mode 100644 index 0000000..468ca38 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper-sub1.yang @@ -0,0 +1,508 @@ +submodule Cisco-IOS-XR-ip-daps-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-daps-oper { + prefix Cisco-IOS-XR-ip-daps-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-daps package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Daps-client { + type enumeration { + enum "none" { + value 0; + description + "Client type is None"; + } + enum "ppp" { + value 1; + description + "Client type is PPP"; + } + enum "dhcp" { + value 2; + description + "Client type is DHCP"; + } + enum "dhcpv6" { + value 4; + description + "Client type is DHCPv6"; + } + enum "ipv6nd" { + value 5; + description + "Client type is IPv6ND"; + } + } + description + "DAPS client types"; + } + + typedef Ipv6-addr { + type inet:ipv6-address; + description + "Ipv6 addr"; + } + + typedef Ip-addr { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4 address"; + } + enum "ipv6" { + value 10; + description + "IPv6 address"; + } + } + description + "Address type"; + } + + grouping DAPS-VRF-POOL-INFO { + description + "VRF pool information"; + leaf pool-name { + type string { + length "0..64"; + } + description + "Pool name"; + } + leaf vrf-name { + type string { + length "0..64"; + } + description + "VRF name"; + } + leaf used { + type uint32; + description + "Used allocations"; + } + leaf excluded { + type uint32; + description + "Excluded allocations"; + } + leaf free { + type uint32; + description + "Free allocations"; + } + leaf total { + type uint32; + description + "Total allocations"; + } + } + + grouping DAPS-VRF-ALLOCATION-SUMMARY { + description + "VRF allocation summary"; + leaf used { + type uint32; + description + "Used allocations"; + } + leaf excluded { + type uint32; + description + "Excluded allocations"; + } + leaf free { + type uint32; + description + "Free allocations"; + } + leaf total { + type uint32; + description + "Total allocations"; + } + leaf high-utilization-threshold { + type uint8; + units "percentage"; + description + "High utilization threshold in percentage"; + } + leaf low-utilization-threshold { + type uint8; + units "percentage"; + description + "Low utilization threshold in percentage"; + } + leaf utilization { + type uint8; + units "percentage"; + description + "Current utilization in percentage"; + } + } + + grouping DAPS-VRF-INFO { + description + " VRF information"; + container allocation-summary { + description + "Allocation summary"; + uses DAPS-VRF-ALLOCATION-SUMMARY; + } + list pools { + description + "Pools data"; + uses DAPS-VRF-POOL-INFO; + } + } + + grouping IP-DAPS-SHOW-POOL-TOTAL-UTIL { + description + "IP DAPS pool total utilization"; + leaf total-utilization-high-mark { + type uint8; + description + "High utilization mark"; + } + leaf total-utilization-low-mark { + type uint8; + description + "Low utilization mark"; + } + leaf current-total-utilization { + type uint8; + description + "Current utilization"; + } + } + + grouping IP-DAPS-SHOW-POOL-CFG { + description + "IP DAPS pool configuration"; + leaf pool-name { + type string { + length "0..64"; + } + description + "Pool name"; + } + leaf pool-id { + type uint32; + description + "Pool ID for MIBS"; + } + leaf vrf-name { + type string { + length "0..64"; + } + description + "VRF name"; + } + leaf pool-scope { + type string { + length "0..64"; + } + description + "Pool Scope"; + } + leaf pool-prefix-length { + type uint32; + description + "Prefix length"; + } + leaf high-utilization-mark { + type uint8; + description + "High utilization mark"; + } + leaf low-utilization-mark { + type uint8; + description + "Low utilization mark"; + } + leaf current-utilization { + type uint8; + description + "Current utilization"; + } + leaf utilization-high-count { + type uint32; + description + "Number of times High utilization threshold was + crossed"; + } + leaf utilization-low-count { + type uint32; + description + "Number of times Low utilization threshold was + crossed"; + } + } + + grouping DAPS-POOL-IN-USE-ADDRESS { + description + "In-use address data"; + container address { + description + "Client address"; + uses IP-ADDR-ST; + } + leaf client-type { + type Daps-client; + description + "Client type"; + } + } + + grouping DAPS-POOL-RANGE { + description + "Pool address range data"; + container start-address { + description + "Range start"; + uses IP-ADDR-ST; + } + container end-address { + description + "Range end"; + uses IP-ADDR-ST; + } + leaf used { + type uint32; + description + "Used allocations"; + } + leaf excluded { + type uint32; + description + "Excluded allocations"; + } + leaf free { + type uint32; + description + "Free allocations"; + } + } + + grouping DAPS-POOL-THRESHOLD { + description + "Pool threshold information"; + leaf threshold { + type uint32; + units "percentage"; + description + "Threshold in percentage"; + } + leaf triggers { + type uint32; + description + "Number of Triggers"; + } + leaf time-last-crossed { + type string; + description + "Last time at which threshold crossed in DDD MMM + DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 + 2011"; + } + } + + grouping DAPS-POOL-ALLOCATIONS { + description + "Pool allocations data"; + container high-threshold { + description + "High threshold data"; + uses DAPS-POOL-THRESHOLD; + } + container low-threshold { + description + "Low threshold data"; + uses DAPS-POOL-THRESHOLD; + } + leaf vrf-name { + type string { + length "0..64"; + } + description + "VRF name"; + } + leaf used { + type uint32; + description + "Used allocations"; + } + leaf excluded { + type uint32; + description + "Excluded allocations"; + } + leaf free { + type uint32; + description + "Free allocations"; + } + leaf total { + type uint32; + description + "Total allocations"; + } + leaf utilization { + type uint32; + units "percentage"; + description + "Current utilization in percentage"; + } + } + + grouping DAPS-POOL-DETAIL { + description + "Pool data"; + container pool-allocations { + description + "Pool allocations"; + uses DAPS-POOL-ALLOCATIONS; + } + list address-range { + description + "Address ranges"; + uses DAPS-POOL-RANGE; + } + list in-use-address { + description + "In-use addresses"; + uses DAPS-POOL-IN-USE-ADDRESS; + } + } + + grouping IP-ADDR-UN { + description + "Daps Address"; + leaf address-family { + type Ip-addr; + description + "AddressFamily"; + } + leaf ipv4-address { + when "../address-family = 'ipv4'" { + description + "../AddressFamily = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../address-family = 'ipv6'" { + description + "../AddressFamily = 'IPv6'"; + } + type Ipv6-addr; + description + "IPv6 address"; + } + } + + grouping IP-ADDR-ST { + description + "IP address information"; + container address { + description + "Address"; + uses IP-ADDR-UN; + } + } + + grouping IP-DAPS-SHOW-POOL-BRIEF { + description + "IP DAPS pool parameters"; + container start-address-xr { + description + "Range start"; + uses IP-ADDR-ST; + } + container end-address { + description + "Range end"; + uses IP-ADDR-ST; + } + container default-router { + description + "Default router"; + uses IP-ADDR-ST; + } + leaf pool-name { + type string { + length "0..64"; + } + description + "Pool name"; + } + leaf vrf-name { + type string { + length "0..64"; + } + description + "VRF name"; + } + leaf pool-scope { + type string { + length "0..64"; + } + description + "Pool scope"; + } + leaf allocated-addresses { + type uint32; + description + "Number of addresses allocated"; + } + leaf free-addresses { + type uint32; + description + "Number of addresses free"; + } + leaf excluded-addresses { + type uint32; + description + "Number of addresses excluded"; + } + leaf network-blocked-status { + type uint32; + description + "Is network blocked"; + } + leaf network-blocked-status-trp { + type uint32; + description + "Is network blocked trap send"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper.yang new file mode 100644 index 0000000..a317ef1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-daps-oper.yang @@ -0,0 +1,130 @@ +module Cisco-IOS-XR-ip-daps-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-oper"; + prefix ip-daps-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-daps-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-daps package operational data. + + This module contains definitions + for the following management objects: + address-pool-service: Pool operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container address-pool-service { + config false; + description + "Pool operational data"; + container nodes { + description + "Pool operational data for a particular location"; + list node { + key "node-name"; + description + "Location. For eg., 0/1/CPU0"; + container pools { + description + "List of IPv4/IPv6 pool data"; + list pool { + key "pool-name"; + description + "Pool data by pool name"; + container address-ranges { + description + "Summary info for pool"; + list address-range { + key "start-address"; + description + "Start Address of the Range"; + leaf start-address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + uses IP-DAPS-SHOW-POOL-BRIEF; + } + } + container allocated-addresses { + description + "Detailed info for the Pool"; + uses DAPS-POOL-DETAIL; + } + container configuration { + description + "Configuration info for pool"; + uses IP-DAPS-SHOW-POOL-CFG; + } + leaf pool-name { + type xr:Cisco-ios-xr-string; + description + "The pool name"; + } + } + } + container total-utilization { + description + "Show total utilization for pool"; + uses IP-DAPS-SHOW-POOL-TOTAL-UTIL; + } + container vrfs { + description + "Pool VRF data"; + list vrf { + key "vrf-name"; + description + "VRF level Pool information"; + container ipv4 { + description + "IPv4 pool VRF data"; + uses DAPS-VRF-INFO; + } + container ipv6 { + description + "IPv6 Pool VRF data"; + uses DAPS-VRF-INFO; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "The VRF name"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-cfg.yang new file mode 100644 index 0000000..734480e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-cfg.yang @@ -0,0 +1,168 @@ +module Cisco-IOS-XR-ip-domain-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg"; + prefix ip-domain-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-domain package configuration. + + This module contains definitions + for the following management objects: + ip-domain: IP domain configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-05-13 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ip-domain { + description + "IP domain configuration"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF specific data"; + container ipv6-hosts { + description + "IPv6 host"; + list ipv6-host { + key "host-name"; + description + "Host name and up to 4 host IPv6 addresses"; + leaf host-name { + type string; + description + "A hostname"; + } + leaf-list address { + type inet:ipv6-address-no-zone; + min-elements 1; + max-elements "4"; + description + "Host IPv6 addresses"; + } + } + } + container servers { + description + "Name server addresses"; + list server { + key "order server-address"; + description + "Name server address"; + leaf order { + type int32; + description + "This is used to sort the servers in the + order of precedence"; + } + leaf server-address { + type inet:ip-address-no-zone; + description + "A name server address"; + } + } + } + container lists { + description + "Domain names to complete unqualified host + names"; + list list { + key "order list-name"; + description + "Domain name to complete unqualified host + names"; + leaf order { + type int32; + description + "This is used to sort the names in the order + of precedence"; + } + leaf list-name { + type xr:Cisco-ios-xr-string; + description + "A domain name"; + } + } + } + container ipv4-hosts { + description + "IPv4 host"; + list ipv4-host { + key "host-name"; + description + "Host name and up to 8 host IPv4 addresses"; + leaf host-name { + type string; + description + "A hostname"; + } + leaf-list address { + type inet:ipv4-address-no-zone; + min-elements 1; + max-elements "8"; + description + "Host IPv4 addresses"; + } + } + } + leaf lookup { + type empty; + description + "Disable Domain Name System hostname + translation"; + } + leaf multicast-domain { + type string; + description + "Default multicast domain name"; + } + leaf source-interface { + type xr:Interface-name; + description + "Specify interface for source address in + connections"; + } + leaf name { + type string; + description + "Default domain name"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper-sub1.yang new file mode 100644 index 0000000..4520bc8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper-sub1.yang @@ -0,0 +1,188 @@ +submodule Cisco-IOS-XR-ip-domain-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-domain-oper { + prefix Cisco-IOS-XR-ip-domain-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-domain package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-09-29 { + description + "IOS XR 6.0.0 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + identity Host-address-base { + description + "Base identity for Host-address"; + } + + identity ipv4 { + base Host-address-base; + description + "IPv4 family address"; + } + + identity ipv6 { + base Host-address-base; + description + "IPv6 family address"; + } + + typedef String1 { + type string { + length "0..256"; + } + description + "String1"; + } + + typedef Domain-ipv6-address { + type inet:ipv6-address; + description + "Domain ipv6 address"; + } + + typedef Host-address { + type identityref { + base Host-address-base; + } + description + "Host Address Type"; + } + + typedef Server-domain-lkup { + type enumeration { + enum "static-mapping" { + value 0; + description + "Static mapping"; + } + enum "domain-service" { + value 1; + description + "Domain service"; + } + } + description + "Domain look up"; + } + + grouping DOMAIN-HOST-ALIAS-BAG { + description + "Domain host alias"; + leaf-list host-alias { + type String1; + description + "Host alias list"; + } + } + + grouping DOMAIN-SH-HOSTS-BAG { + description + "Domain hosts"; + container host-alias-list { + description + "Host alias"; + uses DOMAIN-HOST-ALIAS-BAG; + } + leaf af-name { + type Host-address; + description + "Address type"; + } + leaf age { + type uint16; + units "hour"; + description + "Age in hours"; + } + list host-address { + description + "Host address list"; + uses DOMAIN-IPADDRESS; + } + } + + grouping DOMAIN-IPADDRESS { + description + "IP Address"; + leaf af-name { + type Host-address; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Domain-ipv6-address; + description + "IPv6 address"; + } + } + + grouping DOMAIN-SH-SERVER-BAG { + description + "Domain servers"; + leaf domain-lookup { + type Server-domain-lkup; + description + "Domain lookup"; + } + leaf domain-name { + type string { + length "0..256"; + } + description + "Domain name"; + } + leaf-list domain { + type String1; + description + "Domain list"; + } + list server-address { + description + "Server address list"; + uses DOMAIN-IPADDRESS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper.yang new file mode 100644 index 0000000..1b2c2ba --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-domain-oper.yang @@ -0,0 +1,88 @@ +module Cisco-IOS-XR-ip-domain-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-oper"; + prefix ip-domain-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-domain-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-domain package operational data. + + This module contains definitions + for the following management objects: + ip-domain: Domain server and host data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-09-29 { + description + "IOS XR 6.0.0 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ip-domain { + config false; + description + "Domain server and host data"; + container vrfs { + description + "List of VRFs"; + list vrf { + key "vrf-name"; + description + "VRF instance"; + container server { + description + "Domain server data"; + uses DOMAIN-SH-SERVER-BAG; + } + container hosts { + description + "List of domain hosts"; + list host { + key "host-name"; + description + "IP domain-name, lookup style, nameservers for + specific host"; + leaf host-name { + type string; + description + "Hostname"; + } + uses DOMAIN-SH-HOSTS-BAG; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-cfg.yang new file mode 100644 index 0000000..9105357 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-cfg.yang @@ -0,0 +1,110 @@ +module Cisco-IOS-XR-ip-iarm-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-cfg"; + prefix ip-iarm-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm package configuration. + + This module contains definitions + for the following management objects: + ip-arm: IP Address Repository Manager (IPv4/IPv6 ARM) + configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ip-arm-conflict-policy { + type enumeration { + enum "lowest-rack-slot" { + value 0; + description + "Lowest Rack/Slot"; + } + enum "static" { + value 1; + description + "UP interfaces unaffected"; + } + enum "longest-prefix" { + value 2; + description + "Longest Prefix"; + } + enum "highest-ip" { + value 4; + description + "Highest IP"; + } + } + description + "Ip arm conflict policy"; + } + + grouping CONFLICT-POLICY-TABLE { + description + "Common node of ipv4, ipv6"; + container conflict-policy-table { + description + "IP ARM conflict policy configuration"; + leaf conflict-policy { + type Ip-arm-conflict-policy; + description + "IP ARM conflict policy value definitions"; + } + } + } + + grouping MULTICAST-HOST { + description + "Common node of ipv4, ipv6"; + container multicast-host { + description + "IP ARM Multicast Host configuration"; + leaf multicast-host-interface { + type xr:Interface-name; + description + "Default multicast host interface name"; + } + } + } + + container ip-arm { + description + "IP Address Repository Manager (IPv4/IPv6 ARM) + configuration data"; + container ipv4 { + description + "IPv4 ARM configuration"; + uses CONFLICT-POLICY-TABLE; + uses MULTICAST-HOST; + } + container ipv6 { + description + "IPv6 ARM configuration"; + uses CONFLICT-POLICY-TABLE; + uses MULTICAST-HOST; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-datatypes.yang new file mode 100644 index 0000000..822e55a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-datatypes.yang @@ -0,0 +1,36 @@ +module Cisco-IOS-XR-ip-iarm-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-datatypes"; + prefix ip-iarm-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ipv6arm-prefix-length { + type uint32 { + range "0..128"; + } + description + "Ipv6arm prefix length"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang new file mode 100644 index 0000000..562d2a2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper-sub1.yang @@ -0,0 +1,241 @@ +submodule Cisco-IOS-XR-ip-iarm-v4-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-iarm-v4-oper { + prefix Cisco-IOS-XR-ip-iarm-v4-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm-v4 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef String1 { + type string; + description + "String1"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + grouping IP-ARM-EDM-DB-RTRID-BAG-TYPE { + description + "Router-id information by VRF"; + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID"; + } + } + + grouping IP-ARM-EDM-DB-VRF-BAG-TYPE { + description + "VRF summary information"; + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + } + + grouping IP-ARM-EDM-SUMMARY-BAG-TYPE { + description + "IP-ARM summary information"; + leaf producer-count { + type int32; + description + "Number of producers"; + } + leaf address-conflict-count { + type int32; + description + "Number of address conflicts"; + } + leaf unnumbered-conflict-count { + type int32; + description + "Number of unnumbered interface conflicts"; + } + leaf db-master-version { + type uint32; + description + "IP-ARM DB master version"; + } + leaf vrf-count { + type int32; + description + "Number of known VRFs"; + } + } + + grouping IP-ARM-EDM-DB-IF-BAG-TYPE { + description + "Database information by interface"; + leaf referenced-interface { + type String1; + description + "Referenced Interface - only valid for an + unnumbered interface"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + list address { + description + "Address info"; + uses IP-ARM-EDM-ADDR-TYPE; + } + } + + grouping ARM-ADDRTYPE { + description + "ARM ADDRTYPE"; + leaf afi { + type int32; + description + "AFI"; + } + leaf ipv4-address { + when "../afi = '2'" { + description + "../AFI = '2'"; + } + type inet:ipv4-address; + description + "IPV4 Address"; + } + leaf ipv6-address { + when "../afi = '10'" { + description + "../AFI = '10'"; + } + type Ipv6-address; + description + "IPV6 Address"; + } + } + + grouping IP-ARM-EDM-ADDR-TYPE { + description + "IP ARM EDM ADDR TYPE"; + container address { + description + "Address"; + uses ARM-ADDRTYPE; + } + leaf prefix-length { + type uint32; + description + "Prefix length"; + } + leaf route-tag { + type uint32; + description + "Route Tag of the address"; + } + leaf is-primary { + type boolean; + description + "Is address primary - valid only for IPv4 + addresses"; + } + leaf is-tentative { + type boolean; + description + "Is address valid/tentative - valid only for IPV6 + addresses"; + } + leaf is-prefix-sid { + type boolean; + description + "Is prefix_sid valid - valid only for IPV6 + addresses"; + } + leaf producer { + type string; + description + "Producer Name"; + } + } + + grouping IP-ARM-EDM-DB-NET-BAG-TYPE { + description + "Database information by network"; + container address-xr { + description + "Address info"; + uses IP-ARM-EDM-ADDR-TYPE; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf referenced-interface { + type String1; + description + "Referenced Interface - only valid for an + unnumbered interface"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper.yang new file mode 100644 index 0000000..8470db7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v4-oper.yang @@ -0,0 +1,155 @@ +module Cisco-IOS-XR-ip-iarm-v4-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v4-oper"; + prefix ip-iarm-v4-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-iarm-v4-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm-v4 package operational data. + + This module contains definitions + for the following management objects: + ipv4arm: IPv4 Address Repository Manager (IPv4 ARM) + operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv4arm-prefix-length { + type uint32 { + range "0..32"; + } + description + "Ipv4arm prefix length"; + } + + container ipv4arm { + config false; + description + "IPv4 Address Repository Manager (IPv4 ARM) + operational data"; + container addresses { + description + "IPv4 ARM address database information"; + container vrfs { + description + "IPv4 ARM address database information per VRF"; + list vrf { + key "vrf-name"; + description + "IPv4 ARM address database information in a VRF"; + container networks { + description + "IPv4 ARM address database information by + network"; + list network { + description + "An IPv4 Address in IPv4 ARM"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Address"; + } + leaf prefix-length { + type Ipv4arm-prefix-length; + description + "Prefix Length"; + } + leaf handle { + type xr:Interface-name; + description + "Interface"; + } + uses IP-ARM-EDM-DB-NET-BAG-TYPE; + } + } + container interfaces { + description + "IPv4 ARM address database information by + interface"; + list interface { + key "interface"; + description + "An IPv4 address in IPv4 ARM"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses IP-ARM-EDM-DB-IF-BAG-TYPE; + } + } + leaf vrf-name { + type string; + description + "VRF name"; + } + } + } + } + container summary { + description + "IPv4 ARM summary information"; + uses IP-ARM-EDM-SUMMARY-BAG-TYPE; + } + container vrf-summaries { + description + "IPv4 ARM VRFs summary information"; + list vrf-summary { + key "vrf-name"; + description + "IPv4 ARM VRF summary information"; + leaf vrf-name { + type string; + description + "VRF name"; + } + uses IP-ARM-EDM-DB-VRF-BAG-TYPE; + } + } + container router-id { + description + "IPv4 ARM Router ID information"; + uses IP-ARM-EDM-DB-RTRID-BAG-TYPE; + } + leaf multicast-host-interface { + type xr:Interface-name; + description + "Default multicast host interface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang new file mode 100644 index 0000000..19ebba2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper-sub1.yang @@ -0,0 +1,216 @@ +submodule Cisco-IOS-XR-ip-iarm-v6-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-iarm-v6-oper { + prefix Cisco-IOS-XR-ip-iarm-v6-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm-v6 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef String1 { + type string; + description + "String1"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + grouping IP-ARM-EDM-DB-VRF-BAG-TYPE { + description + "VRF summary information"; + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + } + + grouping IP-ARM-EDM-SUMMARY-BAG-TYPE { + description + "IP-ARM summary information"; + leaf producer-count { + type int32; + description + "Number of producers"; + } + leaf address-conflict-count { + type int32; + description + "Number of address conflicts"; + } + leaf unnumbered-conflict-count { + type int32; + description + "Number of unnumbered interface conflicts"; + } + leaf db-master-version { + type uint32; + description + "IP-ARM DB master version"; + } + leaf vrf-count { + type int32; + description + "Number of known VRFs"; + } + } + + grouping IP-ARM-EDM-DB-IF-BAG-TYPE { + description + "Database information by interface"; + leaf referenced-interface { + type String1; + description + "Referenced Interface - only valid for an + unnumbered interface"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + list address { + description + "Address info"; + uses IP-ARM-EDM-ADDR-TYPE; + } + } + + grouping ARM-ADDRTYPE { + description + "ARM ADDRTYPE"; + leaf afi { + type int32; + description + "AFI"; + } + leaf ipv4-address { + when "../afi = '2'" { + description + "../AFI = '2'"; + } + type inet:ipv4-address; + description + "IPV4 Address"; + } + leaf ipv6-address { + when "../afi = '10'" { + description + "../AFI = '10'"; + } + type Ipv6-address; + description + "IPV6 Address"; + } + } + + grouping IP-ARM-EDM-ADDR-TYPE { + description + "IP ARM EDM ADDR TYPE"; + container address { + description + "Address"; + uses ARM-ADDRTYPE; + } + leaf prefix-length { + type uint32; + description + "Prefix length"; + } + leaf route-tag { + type uint32; + description + "Route Tag of the address"; + } + leaf is-primary { + type boolean; + description + "Is address primary - valid only for IPv4 + addresses"; + } + leaf is-tentative { + type boolean; + description + "Is address valid/tentative - valid only for IPV6 + addresses"; + } + leaf is-prefix-sid { + type boolean; + description + "Is prefix_sid valid - valid only for IPV6 + addresses"; + } + leaf producer { + type string; + description + "Producer Name"; + } + } + + grouping IP-ARM-EDM-DB-NET-BAG-TYPE { + description + "Database information by network"; + container address-xr { + description + "Address info"; + uses IP-ARM-EDM-ADDR-TYPE; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf referenced-interface { + type String1; + description + "Referenced Interface - only valid for an + unnumbered interface"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper.yang new file mode 100644 index 0000000..fa54abb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-v6-oper.yang @@ -0,0 +1,150 @@ +module Cisco-IOS-XR-ip-iarm-v6-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-v6-oper"; + prefix ip-iarm-v6-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-iarm-v6-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm-v6 package operational data. + + This module contains definitions + for the following management objects: + ipv6arm: IPv6 Address Repository Manager (IPv6 ARM) + operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6arm-prefix-length { + type uint32 { + range "0..128"; + } + description + "Ipv6arm prefix length"; + } + + container ipv6arm { + config false; + description + "IPv6 Address Repository Manager (IPv6 ARM) + operational data"; + container addresses { + description + "IPv6 ARM address database information"; + container vrfs { + description + "IPv6 ARM address database information per VRF"; + list vrf { + key "vrf-name"; + description + "IPv6 ARM address database information in a VRF"; + container networks { + description + "IPv6 ARM address database information by + network"; + list network { + description + "An IPv6 Address in IPv6 ARM"; + leaf address { + type inet:ipv6-address-no-zone; + description + "Address"; + } + leaf prefix-length { + type Ipv6arm-prefix-length; + description + "Prefix Length"; + } + leaf handle { + type xr:Interface-name; + description + "Interface"; + } + uses IP-ARM-EDM-DB-NET-BAG-TYPE; + } + } + container interfaces { + description + "IPv6 ARM address database information by + interface"; + list interface { + key "interface"; + description + "An IPv6 address in IPv6 ARM"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses IP-ARM-EDM-DB-IF-BAG-TYPE; + } + } + leaf vrf-name { + type string; + description + "VRF name"; + } + } + } + } + container summary { + description + "IPv6 ARM summary information"; + uses IP-ARM-EDM-SUMMARY-BAG-TYPE; + } + container vrf-summaries { + description + "IPv6 ARM VRFs summary information"; + list vrf-summary { + key "vrf-name"; + description + "IPv6 ARM VRF summary information"; + leaf vrf-name { + type string; + description + "VRF name"; + } + uses IP-ARM-EDM-DB-VRF-BAG-TYPE; + } + } + leaf multicast-host-interface { + type xr:Interface-name; + description + "Default multicast host interface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang new file mode 100644 index 0000000..ff95749 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iarm-vrf-cfg.yang @@ -0,0 +1,69 @@ +module Cisco-IOS-XR-ip-iarm-vrf-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iarm-vrf-cfg"; + prefix ip-iarm-vrf-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-infra-rsi-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iarm-vrf package configuration. + + This YANG module augments the + Cisco-IOS-XR-infra-rsi-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping INTERFACE { + description + "Common node of ipv4, ipv6"; + leaf interface { + type xr:Interface-name; + description + "Default multicast host interface name"; + } + } + + augment "/a1:vrfs/a1:vrf" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-rsi-cfg'"; + container multicast-host { + description + "Multicast host stack configuration"; + container ipv4 { + description + "IPv4 configuration"; + uses INTERFACE; + } + container ipv6 { + description + "IPv6 configuration"; + uses INTERFACE; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-icmp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-icmp-cfg.yang new file mode 100644 index 0000000..e10fcef --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-icmp-cfg.yang @@ -0,0 +1,111 @@ +module Cisco-IOS-XR-ip-icmp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-icmp-cfg"; + prefix ip-icmp-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-icmp package configuration. + + This module contains definitions + for the following management objects: + icmp: IP ICMP configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-08 { + description + "IOS XR 6.3.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Source-policy { + type enumeration { + enum "vrf" { + value 1; + description + "Set Source Selection Policy to vrf"; + } + enum "rfc" { + value 2; + description + "Set Source Selection Policy to rfc"; + } + } + description + "Source policy"; + } + + grouping SOURCE { + description + "Common node of ipv4, ipv6"; + container source { + description + "IP ICMP Source Address Selection Policy"; + leaf source-address-policy { + type Source-policy; + description + "Configure Source Address Policy"; + } + } + } + + grouping RATE-LIMIT { + description + "Common node of ipv4, ipv6"; + container rate-limit { + description + "Set ratelimit of ICMP packets"; + container unreachable { + description + "Set unreachable ICMP packets ratelimit"; + leaf rate { + type uint32 { + range "0..4294967295"; + } + description + "Rate Limit of Unreachable ICMP packets"; + } + leaf fragmentation { + type uint32 { + range "0..4294967295"; + } + description + "Rate Limit of Unreachable DF packets"; + } + } + } + } + + container icmp { + description + "IP ICMP configuration data"; + container ipv6 { + description + "IP Protocol Type"; + uses RATE-LIMIT; + uses SOURCE; + } + container ipv4 { + description + "IP Protocol Type"; + uses RATE-LIMIT; + uses SOURCE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-cfg.yang new file mode 100644 index 0000000..a60da5f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-cfg.yang @@ -0,0 +1,233 @@ +module Cisco-IOS-XR-ip-iep-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-cfg"; + prefix ip-iep-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iep package configuration. + + This module contains definitions + for the following management objects: + ip-explicit-paths: IP Explicit Path config data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ip-iep-num { + type enumeration { + enum "unnumbered" { + value 1; + description + "Unnumbered"; + } + enum "numbered" { + value 2; + description + "Numbered"; + } + } + description + "Ip iep num"; + } + + typedef Ip-iep-hop { + type enumeration { + enum "next-strict" { + value 2; + description + "NextStrict"; + } + enum "next-loose" { + value 3; + description + "NextLoose"; + } + enum "exclude" { + value 4; + description + "Exclude"; + } + enum "exclude-srlg" { + value 5; + description + "Exclude Shared Risk Link Group"; + } + enum "next-label" { + value 6; + description + "NextLabel"; + } + } + description + "Ip iep hop"; + } + + typedef Ip-iep-path { + type enumeration { + enum "identifier" { + value 1; + description + "Identifier"; + } + enum "name" { + value 2; + description + "Name"; + } + } + description + "Ip iep path"; + } + + container ip-explicit-paths { + description + "IP Explicit Path config data"; + container paths { + description + "A list of explicit paths"; + list path { + must "name or identifier" { + description + "Name or Identifier must be present."; + } + key "type"; + description + "Config data for a specific explicit path"; + + grouping PATH-CONTENT { + description + "PATH CONTENT"; + container hops { + description + "List of Hops"; + list hop { + key "index-number"; + description + "Hop Information"; + leaf index-number { + type uint32 { + range "1..65535"; + } + description + "Index number"; + } + leaf ip-address { + when "../hop-type != 'next-label'" { + description + "../HopType != NextLabel"; + } + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "IP address of the hop"; + } + leaf hop-type { + type Ip-iep-hop; + default "next-strict"; + description + "Include or exclude this hop in the path"; + } + leaf if-index { + when "../hop-type != 'next-label'" { + description + "../HopType != NextLabel"; + } + type int32; + default "0"; + description + "Ifindex value"; + } + leaf num-type { + when "../hop-type != 'next-label'" { + description + "../HopType != NextLabel"; + } + type Ip-iep-num; + default "numbered"; + description + "Number type Numbered or Unnumbered"; + } + leaf mpls-label { + when "../hop-type = 'next-label'" { + description + "../HopType = NextLabel"; + } + type uint32 { + range "0..1048575"; + } + description + "MPLS Label"; + } + } + } + leaf disable { + type empty; + description + "Disable the explicit path"; + } + } + leaf type { + type Ip-iep-path; + description + "Path type"; + } + list name { + when "../type = 'name'" { + description + "../Type = Name"; + } + key "name"; + description + "name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Path name"; + } + uses PATH-CONTENT; + } + list identifier { + when "../type = 'identifier'" { + description + "../Type = Identifier"; + } + key "id"; + description + "identifier"; + leaf id { + type uint32 { + range "1..65535"; + } + description + "Path identifier"; + } + uses PATH-CONTENT; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper-sub1.yang new file mode 100644 index 0000000..fe80bc3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper-sub1.yang @@ -0,0 +1,135 @@ +submodule Cisco-IOS-XR-ip-iep-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-iep-oper { + prefix Cisco-IOS-XR-ip-iep-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-iep package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Iep-hop { + type enumeration { + enum "strict" { + description + "Hop type is strict"; + } + enum "loose" { + description + "Hop type is loose"; + } + } + description + "Hop types of the next-address configured"; + } + + typedef Iep-address { + type enumeration { + enum "next" { + description + "Address type is next"; + } + enum "exclude" { + description + "Address type is exclude"; + } + enum "exclude-srlg" { + description + "Address type is exclude SRLG"; + } + } + description + "Address types"; + } + + typedef Iep-status { + type enumeration { + enum "enabled" { + description + "Status is enabled"; + } + enum "disabled" { + description + "Status is disabled"; + } + } + description + "Status of the path"; + } + + grouping IEP-IP-ADDRESS-ENTRY { + description + "IP address configured in the explicit path"; + leaf index { + type uint32; + description + "Index number at which the path entry is inserted + or modified"; + } + leaf if-index { + type uint32; + description + "Interface Index of the path"; + } + leaf address-type { + type Iep-address; + description + "Specifies the address type"; + } + leaf hop-type { + type Iep-hop; + description + "Specifies the next unicast address in the path + as a strict or loose hop"; + } + leaf address { + type inet:ipv4-address; + description + "IPv4 unicast address"; + } + leaf mpls-label { + type uint32; + description + "MPLS label"; + } + } + + grouping IEP-EXPLICIT-PATH { + description + "Explicit path details"; + leaf status { + type Iep-status; + description + "Status of the path"; + } + list address { + description + "List of IP addresses configured in the explicit + path"; + uses IEP-IP-ADDRESS-ENTRY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper.yang new file mode 100644 index 0000000..fd0fa48 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-iep-oper.yang @@ -0,0 +1,79 @@ +module Cisco-IOS-XR-ip-iep-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-iep-oper"; + prefix ip-iep-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-iep-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-iep package operational data. + + This module contains definitions + for the following management objects: + explicit-paths: Configured IP explicit paths + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container explicit-paths { + config false; + description + "Configured IP explicit paths"; + container identifiers { + description + "List of configured IP explicit path identifiers, + this corresponds to mplsTunnelHopTable in TE MIB"; + list identifier { + key "identifier-id"; + description + "IP explicit path configured for a particular + identifier"; + leaf identifier-id { + type int32; + description + "Identifier ID"; + } + uses IEP-EXPLICIT-PATH; + } + } + container names { + description + "List of configured IP explicit path names, this + corresponds to mplsTunnelHopTable in TE MIB"; + list name { + key "path-name"; + description + "IP explicit path configured for a particular + path name"; + leaf path-name { + type xr:Cisco-ios-xr-string; + description + "Path name"; + } + uses IEP-EXPLICIT-PATH; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-cfg.yang new file mode 100644 index 0000000..4b2be2e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-cfg.yang @@ -0,0 +1,1235 @@ +module Cisco-IOS-XR-ip-mobileip-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-cfg"; + prefix ip-mobileip-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-mobileip package configuration. + + This module contains definitions + for the following management objects: + mobile-ip: MobileIP configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-09-02 { + description + "Initial version"; + } + + typedef Gre-key-type { + type enumeration { + enum "symmetric" { + value 1; + description + "Symmetric GRE Key (same Uplink and Downlink + key)"; + } + } + description + "Gre key type"; + } + + typedef Service-type { + type enumeration { + enum "ipv4" { + value 1; + description + "ipv4 service type"; + } + enum "ipv6" { + value 2; + description + "ipv6 service type"; + } + enum "dual" { + value 3; + description + "dual service type"; + } + } + description + "Service type"; + } + + typedef Lma-service { + type enumeration { + enum "service-mll" { + value 1; + description + "Wireless Private Routing service"; + } + } + description + "Lma service"; + } + + typedef Redist-type { + type enumeration { + enum "home-address" { + value 1; + description + "Redistribute HoA/HNP routes"; + } + } + description + "Redist type"; + } + + typedef Redist-sub-type { + type enumeration { + enum "host-prefix" { + value 1; + description + "Redistribute HoA/HNP host prefix routes"; + } + enum "disable" { + value 2; + description + "Disable redistribution of HoA/HNP host and pool + refix routes"; + } + } + description + "Redist sub type"; + } + + typedef Lma-role { + type enumeration { + enum "3gma" { + value 0; + description + "3GMA mode"; + } + } + description + "Lma role"; + } + + typedef Lma-rat { + type enumeration { + enum "virtual" { + value 0; + description + "VIRTUAL rat"; + } + enum "ppp" { + value 1; + description + "PPP rat"; + } + enum "ethernet" { + value 2; + description + "ETHERNET rat"; + } + enum "wlan" { + value 3; + description + "WLAN rat"; + } + enum "wi-max" { + value 4; + description + "WIMAX rat"; + } + enum "3gppgeran" { + value 5; + description + "3GPP_GERAN rat"; + } + enum "3gpputran" { + value 6; + description + "3GPP_UTRAN rat"; + } + enum "3gppeutran" { + value 7; + description + "3GPP_E_UTRAN rat"; + } + enum "3gpp2ehrpd" { + value 8; + description + "3GPP2_EHRPD rat"; + } + enum "3gpp2hrpd" { + value 9; + description + "3GPP2_HRPD rat"; + } + enum "3gpp21rtt" { + value 10; + description + "3GPP2_1RTT rat"; + } + enum "3gpp2umb" { + value 11; + description + "3GPP2_UMB rat"; + } + } + description + "Lma rat"; + } + + typedef Encap-opt { + type enumeration { + enum "greipv4" { + value 4; + description + "GRE IPv4 tunnel encap"; + } + enum "greipv6" { + value 5; + description + "GRE IPv6 tunnel encap"; + } + enum "mgreipv4" { + value 7; + description + "mGRE IPv4 tunnel encap"; + } + enum "mgreipv6" { + value 8; + description + "mGRE IPv6 tunnel encap"; + } + } + description + "Encap opt"; + } + + container mobile-ip { + description + "MobileIP configuration"; + container domains { + description + "Table of Domain"; + list domain { + key "domain-name"; + description + "PMIPv6 domain configuration"; + container mags { + description + "Table of MAG"; + list mag { + key "mag-name"; + description + "MAG within domain"; + leaf mag-name { + type xr:Cisco-ios-xr-string { + length "1..125"; + } + description + "MAG Identifier"; + } + } + } + container nais { + description + "Table of NAI"; + list nai { + key "nai-name"; + description + "Network access identifier or Realm"; + leaf lma { + type string { + length "1..125"; + } + description + "LMA for this MN"; + } + leaf apn { + type string { + length "1..125"; + } + description + "Access point network for this MN"; + } + leaf customer { + type xr:Cisco-ios-xr-string { + length "1..125"; + } + description + "Customer name for this MN"; + } + leaf service { + type Service-type; + description + "Service type for this MN"; + } + leaf network { + type string { + length "1..125"; + } + description + "Network name (Address pool) for this MN"; + } + leaf nai-name { + type string { + length "1..125"; + } + description + "MN Identifier"; + } + } + } + container authenticate-option { + description + "Authentication option between PMIPV6 entities"; + leaf spi { + type xr:Hex-integer; + description + "SPI in hex value"; + } + leaf key { + type string { + length "1..125"; + } + description + "ASCII string"; + } + } + container lmas { + description + "Table of LMA"; + list lma { + key "lma-name"; + description + "LMA within domain"; + leaf lma-name { + type xr:Cisco-ios-xr-string { + length "1..125"; + } + description + "LMA Identifier"; + } + } + } + leaf enable { + type empty; + description + "Enable PMIPv6 domain configuration. Deletion + of this object also causes deletion of all + associated objects under Domain."; + } + leaf domain-name { + type xr:Cisco-ios-xr-string { + length "1..125"; + } + description + "Domain Name"; + } + } + } + container lmas { + description + "Table of LMA"; + list lma { + key "lma-name domain-name"; + description + "PMIPv6 LMA configuration"; + container binding-revocation-attributes { + description + "LMA Binding Revocation Attributes"; + container delay { + description + "Time to wait before Retransmitting BRI + Message"; + leaf br-min { + type uint32 { + range "500..65535"; + } + description + "Specify in millisec"; + } + leaf br-max { + type uint32 { + range "500..65535"; + } + description + "Specify in millisec"; + } + } + leaf retry { + type uint32 { + range "1..10"; + } + description + "Number of Retransmissons Allowed for BRI + Message"; + } + } + container rat-attributes { + description + "Radio access technology type config this LMA"; + leaf lma-rat { + type Lma-rat; + description + "LMA rat type"; + } + leaf priority-value { + type uint32 { + range "1..255"; + } + description + "Specify the priority value"; + } + } + container heart-beat-attributes { + description + "heartbeat config for this LMA"; + leaf interval { + type uint32 { + range "10..3600"; + } + description + "Specify the interval value in second"; + } + leaf retries { + type uint32 { + range "1..10"; + } + description + "Specify the retry value"; + } + leaf timeout { + type uint32 { + range "1..3600"; + } + description + "Specify the timeout value"; + } + } + container lmaipv6-addresses { + description + "Table of LMAIPv6Address"; + list lmaipv6-address { + key "address"; + description + "Configure IPv6 address for this LMA"; + leaf address { + type inet:ipv6-address-no-zone; + description + "LMA IPv6 address"; + } + } + } + container hnp { + description + "LMA HNP options"; + leaf maximum { + type uint32 { + range "1..3"; + } + description + "maximum HNPs allowed per MN interface"; + } + } + container redistribute { + description + "Redistribute routes"; + leaf redist-type { + type Redist-type; + description + "Redistribute type"; + } + leaf redist-sub-type { + type Redist-sub-type; + description + "Redistribute sub-type"; + } + } + container aaa { + description + "AAA configuration for this LMA"; + container accounting { + description + "AAA accounting for this LMA"; + leaf enable { + type empty; + description + "Set constant integer"; + } + leaf interim-interval { + type uint32 { + range "1..86400"; + } + units "minute"; + description + "Interim acounting interval (in minutes)"; + } + } + } + container dscp { + description + "DSCP for packets originating from this LMA"; + leaf value { + type uint32 { + range "1..63"; + } + description + "Specify the DSCP value"; + } + leaf force { + type empty; + description + "Set constant integer"; + } + } + container lmaipv4-addresses { + description + "Table of LMAIPv4Address"; + list lmaipv4-address { + key "address"; + description + "Configure IPv4 address for this LMA"; + leaf address { + type inet:ipv4-address-no-zone; + description + "LMA IPv4 address"; + } + } + } + container roles { + description + "Table of Role"; + list role { + key "lma-role"; + description + "Role of this LMA"; + leaf lma-role { + type Lma-role; + description + "LMA role mode"; + } + } + } + container binding-attributes { + description + "LMA binding attributes"; + leaf refresh-time { + type uint32 { + range "4..65000"; + } + units "second"; + description + "Specify in seconds, (multiples of 4)"; + } + leaf delete-wait-interval { + type uint32 { + range "100..65535"; + } + description + "bce delete wait time interval"; + } + leaf create-wait-interval { + type uint32 { + range "100..65535"; + } + description + "bce create wait time interval"; + } + leaf max-life-time { + type uint32 { + range "10..65535"; + } + units "second"; + description + "Maximum bce lifetime permitted"; + } + leaf maximum { + type uint32 { + range "1..128000"; + } + description + "Specify max. number of bindings"; + } + } + container mags { + description + "Table of MAG"; + list mag { + key "mag-name domain-name"; + description + "MAG within LMA"; + container authenticate-option { + description + "Authentication option between PMIPV6 + entities"; + leaf spi { + type xr:Hex-integer; + description + "SPI in hex value"; + } + leaf key { + type string { + length "1..125"; + } + description + "ASCII string"; + } + } + container dscp { + description + "DSCP for packets originating from this MAG"; + leaf value { + type uint32 { + range "1..63"; + } + description + "Specify the DSCP value"; + } + leaf force { + type empty; + description + "Set constant integer"; + } + } + leaf encap-option { + type Encap-opt; + description + "Encapsulation option between PMIPV6 entities"; + } + leaf ipv4-address { + type inet:ipv4-address-no-zone; + description + "Configure IPv4 address for this MAG"; + } + leaf ipv6-address { + type inet:ipv6-address-no-zone; + description + "Configure IPv6 address for this MAG"; + } + leaf tunnel { + type xr:Interface-name; + description + "static tunnel for this peer MAG"; + } + leaf mag-name { + type string { + length "1..125"; + } + description + "MAG identifier"; + } + leaf domain-name { + type string { + length "1..125"; + } + description + "Domain name"; + } + } + } + container tunnel-attributes { + description + "tunnel attributes"; + leaf mtu { + type uint32 { + range "68..17916"; + } + description + "maximum transmission unit for tunnel"; + } + leaf acl { + type string { + length "1..125"; + } + description + "access list to apply for tunnel"; + } + } + container services { + description + "Table of Service"; + list service { + key "lma-service"; + description + "Service of this LMA"; + container customers { + description + "Table of Customer"; + list customer { + key "customer-name vrf-name"; + description + "customer configuration on this mobile local + loop service"; + container authenticate-option { + description + "Authentication option between PMIPV6 + entities"; + leaf spi { + type xr:Hex-integer; + description + "SPI in hex value"; + } + leaf key { + type string { + length "1..125"; + } + description + "ASCII string"; + } + } + container heart-beat-attributes { + description + "heartbeat config for this Customer"; + leaf interval { + type uint32 { + range "10..3600"; + } + description + "Specify the interval value in second"; + } + leaf retries { + type uint32 { + range "1..10"; + } + description + "Specify the retry value"; + } + leaf timeout { + type uint32 { + range "1..3600"; + } + description + "Specify the timeout value"; + } + } + container transports { + description + "Table of Transport"; + list transport { + key "vrf-name"; + description + "Customer transport attributes"; + leaf ipv4-address { + type inet:ipv4-address-no-zone; + description + "Configure IPv4 address for this LMA"; + } + leaf ipv6-address { + type inet:ipv6-address-no-zone; + description + "Configure IPv6 address for this LMA"; + } + leaf vrf-name { + type string { + length "1..125"; + } + description + "VRF Name"; + } + } + } + container network-attributes { + description + "network parameters for the customer"; + container authorizes { + description + "Table of Authorize"; + list authorize { + key "name"; + description + "not authorize the network prefixes"; + container pool-attributes { + description + "Pool configs for this network"; + container mobile-node { + description + "pool configs for the mobile nodes"; + container ipv4-pool { + description + "None"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "Pool IPv4 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..30"; + } + description + "IPv4 Pool Prefix value"; + } + } + container ipv6-pool { + description + "None"; + leaf start-address { + type inet:ipv6-address-no-zone; + description + "Pool IPv6 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..62"; + } + description + "IPv6 Pool Prefix value"; + } + } + } + container mobile-network { + description + "pool configs for the mobile network"; + container mripv6-pools { + description + "Table of MRIPV6Pool"; + list mripv6-pool { + key "start-address"; + description + "ipv6 pool"; + leaf start-address { + type inet:ipv6-address-no-zone; + description + "Pool IPv6 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..64"; + } + description + "IPv6 Pool Prefix value"; + } + leaf network-prefix { + type uint32 { + range "8..64"; + } + description + "IPv4 Network Prefix value"; + } + } + } + container mripv4-pools { + description + "Table of MRIPV4Pool"; + list mripv4-pool { + key "start-address"; + description + "ipv4 pool"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "Pool IPv4 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..30"; + } + description + "IPv4 Pool Prefix value"; + } + leaf network-prefix { + type uint32 { + range "8..32"; + } + description + "IPv4 Network Prefix value"; + } + } + } + } + } + leaf name { + type string { + length "1..125"; + } + description + "ASCII string"; + } + } + } + leaf unauthorize { + type empty; + description + "not authorize the network prefixes"; + } + } + container gre-key { + description + "Customer specific GRE key"; + leaf gre-key-type { + type Gre-key-type; + description + "GRE key type"; + } + leaf gre-key-value { + type uint32 { + range "1..4294967295"; + } + description + "GRE key value"; + } + } + container binding-attributes { + description + "Customer specific binding attributes"; + leaf max-life-time { + type uint32 { + range "10..65535"; + } + units "second"; + description + "Maximum bce lifetime permitted"; + } + } + leaf mnp-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for customer"; + } + leaf mnp-ipv4-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for customer specific + logical mn"; + } + leaf mnp-ipv6-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for customer specific + logical mn"; + } + leaf mnp-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for customer specific + logical mn"; + } + leaf mnp-ipv4-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for customer"; + } + leaf mnp-ipv6-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for customer"; + } + leaf mobile-route-ad { + type uint32 { + range "1..254"; + } + description + "Specify the Admin Distance value"; + } + leaf bandwidth-aggregate { + type uint32 { + range "1..4294967295"; + } + units "kbit/s"; + description + "Aggregate bandwidth across all logical MNs"; + } + leaf customer-name { + type string { + length "1..32"; + } + description + "Customer name"; + } + leaf vrf-name { + type string { + length "1..32"; + } + description + "VRF name"; + } + } + } + leaf mnp-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for all customer's"; + } + leaf mnp-ipv4-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for all logical mn's"; + } + leaf mnp-ipv6-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for all logical mn's"; + } + leaf mnp-lmn { + type uint32 { + range "1..32"; + } + description + "mnp limit config for all logical mn's"; + } + leaf ignore-home-address { + type empty; + description + "Ignore HoA/HNP option"; + } + leaf mnp-ipv4-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for all customer's"; + } + leaf mnp-ipv6-customer { + type uint32 { + range "1..4000000"; + } + description + "mnp limit config for all customer's"; + } + leaf lma-service { + type Lma-service; + description + "LMA service mode"; + } + } + } + container networks { + description + "Table of Network"; + list network { + key "lma-network"; + description + "network for this LMA"; + container pool-attributes { + description + "Pool configs for this network"; + container mobile-node { + description + "pool configs for the mobile nodes"; + container ipv4-pool { + description + "None"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "Pool IPv4 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..30"; + } + description + "IPv4 Pool Prefix value"; + } + } + container ipv6-pool { + description + "None"; + leaf start-address { + type inet:ipv6-address-no-zone; + description + "Pool IPv6 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..62"; + } + description + "IPv6 Pool Prefix value"; + } + } + } + container mobile-network { + description + "pool configs for the mobile network"; + container mripv6-pools { + description + "Table of MRIPV6Pool"; + list mripv6-pool { + key "start-address"; + description + "ipv6 pool"; + leaf start-address { + type inet:ipv6-address-no-zone; + description + "Pool IPv6 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..64"; + } + description + "IPv6 Pool Prefix value"; + } + leaf network-prefix { + type uint32 { + range "8..64"; + } + description + "IPv4 Network Prefix value"; + } + } + } + container mripv4-pools { + description + "Table of MRIPV4Pool"; + list mripv4-pool { + key "start-address"; + description + "ipv4 pool"; + leaf start-address { + type inet:ipv4-address-no-zone; + description + "Pool IPv4 start address"; + } + leaf pool-prefix { + type uint32 { + range "8..30"; + } + description + "IPv4 Pool Prefix value"; + } + leaf network-prefix { + type uint32 { + range "8..32"; + } + description + "IPv4 Network Prefix value"; + } + } + } + } + } + leaf lma-network { + type string { + length "1..125"; + } + description + "Network name"; + } + } + } + container replay-protection { + description + "Replay Protection Method"; + leaf timestamp-window { + type uint32 { + range "1..255"; + } + units "second"; + description + "Specify timestamp window value in seconds"; + } + } + leaf generate { + type empty; + description + "generate gre key for LMA bindings"; + } + leaf mobile-route-ad { + type uint32 { + range "1..254"; + } + description + "Specify the Admin Distance value"; + } + leaf ani { + type empty; + description + "enable ani option processing in LMA"; + } + leaf multipath { + type empty; + description + "enable multipath support for LMA"; + } + leaf dynamic { + type empty; + description + "enable dynamic mag learning for LMA"; + } + leaf enforce { + type empty; + description + "enforce heartbeat values to MAG"; + } + leaf default-profile { + type string { + length "1..125"; + } + description + "Default MN profile for LMA"; + } + leaf interface { + type xr:Interface-name; + description + "CN facing interface name"; + } + leaf mobile-map { + type string { + length "1..125"; + } + description + "Mobile Map for this LMA"; + } + leaf pgw-subs-cont { + type empty; + description + "Feature related to interface with PGW"; + } + leaf lma-name { + type string { + length "1..125"; + } + description + "LMA name"; + } + leaf domain-name { + type string { + length "1..125"; + } + description + "Domain name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang new file mode 100644 index 0000000..c98205e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper-sub1.yang @@ -0,0 +1,1520 @@ +submodule Cisco-IOS-XR-ip-mobileip-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-mobileip-oper { + prefix Cisco-IOS-XR-ip-mobileip-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-mobileip package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-03-10 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pmipv6-encap { + type enumeration { + enum "none" { + description + "None"; + } + enum "ipv6" { + description + "IPV6 Tunnel"; + } + enum "ipv6-ipv4" { + description + "IPV6 in IPV4 Tunnel"; + } + enum "ipv6-udp" { + description + "IPV6 in IPV4 UDP Tunnel"; + } + enum "gre-ipv4" { + description + "GRE IPV4 Tunnel"; + } + enum "gre-ipv6" { + description + "GRE IPV6 Tunnel"; + } + enum "gre" { + description + "GRE Tunnel"; + } + enum "mgre-ipv4" { + description + "MGRE IPV4 Tunnel"; + } + enum "mgre-ipv6" { + description + "MGRE IPV6 Tunnel"; + } + enum "mip-udp" { + description + "MIP UDP Tunnel"; + } + enum "mip-mudp" { + description + "MIP MUDP Tunnel"; + } + enum "max" { + description + "MAX Encap Type"; + } + } + description + "ENCAP Types"; + } + + typedef Pmipv6-addr { + type enumeration { + enum "none" { + description + "None"; + } + enum "ipv4" { + description + "IPV4 Address"; + } + enum "ipv6" { + description + "IPV6 Address"; + } + enum "pmipv6-addr-ipv4-ipv6" { + description + "Both IPV4 and IPV6 Address"; + } + } + description + "Address Types"; + } + + typedef Pmipv6-role { + type enumeration { + enum "wlan" { + description + "WLAN"; + } + enum "gpp" { + description + "3GPP"; + } + enum "lte" { + description + "LTE"; + } + enum "wi-max" { + description + "WiMAX"; + } + enum "gma" { + description + "3GMA"; + } + enum "rmax" { + description + "MAX Role"; + } + } + description + "PMIPV6 Role Types"; + } + + grouping PMIPV6-DOMAIN-CUST-BD { + description + "PMIPV6 Customer Configs"; + leaf cust { + type boolean; + description + "Customer Present"; + } + leaf vrf { + type boolean; + description + "Customer VRF Present"; + } + leaf t-vrf { + type boolean; + description + "Transport VRF Present"; + } + leaf auth-option { + type boolean; + description + "Authentication Option"; + } + leaf heart-beat { + type boolean; + description + "HeartBeat Option"; + } + leaf reg-time { + type uint32; + description + "BCE Registration Lifetime"; + } + leaf cust-name { + type string; + description + "CUSTOMER Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf t-vrf-name { + type string; + description + "Transport VRF Name"; + } + } + + grouping PMIPV6-SHOW-LMA-NW-BD { + description + "PMIPV6 LMA NW"; + leaf v4pool { + type boolean; + description + "IPV4 pool Present"; + } + leaf v6pool { + type boolean; + description + "IPV6 pool Present"; + } + leaf network { + type string; + description + "Network Name"; + } + leaf ipv4 { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf ipv6 { + type inet:ipv6-address; + description + "IPv6 Address"; + } + leaf v4pfx-len { + type uint8; + description + "v4 prefix len"; + } + leaf v6pfx-len { + type uint8; + description + "v6 prefix len"; + } + leaf mrnet { + type uint8; + description + "num of mrnet"; + } + } + + grouping PMIPV6-DOMAIN-PARAM-PEER-BD { + description + "PMIPV6 Domain Param Peer"; + leaf peer { + type string; + description + "Peer Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf interface { + type string; + description + "Peer static tunnel intf"; + } + leaf encap { + type Pmipv6-encap; + description + "Encapsulation Type"; + } + leaf auth { + type boolean; + description + "Authentication Option"; + } + leaf vrf { + type boolean; + description + "VRF Present"; + } + leaf statictunnel { + type boolean; + description + "Static tunnel Present"; + } + } + + grouping PMIPV6-SHOW-MAG-INTERFACES-BD { + description + "PMIPV6 MAG Interface"; + leaf apn { + type boolean; + description + "APN Present"; + } + leaf interface { + type string; + description + "Access Interface Name"; + } + leaf apn-name { + type string; + description + "APN Name"; + } + } + + grouping PMIPV6-ENTITY-ID-BD { + description + "Entity ID"; + leaf entity { + type string; + description + "Identifier of PMIP Node"; + } + leaf addr-type { + type Pmipv6-addr; + description + "IPV4 or IPV6 or Both"; + } + leaf address { + type inet:ipv6-address; + description + "IPV6 address of LMA/MAG"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPV4 addrress of LMA/MAG"; + } + } + + grouping PMIPV6-DOMAIN-PARAM-BD { + description + "PMIPV6 Domain Param"; + container self-id { + description + "Self Identifier"; + uses PMIPV6-ENTITY-ID-BD; + } + leaf timestamp { + type boolean; + description + "Timestamp method in use"; + } + leaf window { + type uint64; + description + "Timestamp Validity Window"; + } + leaf auth-option { + type boolean; + description + "Authentication Option"; + } + leaf reg-time { + type uint32; + description + "BCE Registration Lifetime"; + } + leaf ref-time { + type uint32; + description + "BCE Refresh Time"; + } + leaf retx { + type uint16; + description + "Refresh Retransmit Init"; + } + leaf ret-max { + type uint16; + description + "Refresh Retransmit Max"; + } + leaf bri-init { + type uint16; + description + "BRI Init Delay time"; + } + leaf bri-retries { + type uint16; + description + "BRI Max Retries"; + } + leaf bri-max { + type uint16; + description + "BRI Max Delay time"; + } + leaf max-bindings { + type uint32; + description + "Allowed Max. Bindings"; + } + leaf hnp { + type uint8; + description + "Allowed HNPs per MN Intf."; + } + leaf encap { + type Pmipv6-encap; + description + "Encapsulation Type"; + } + leaf delete-time { + type uint16; + description + "BCE Delete Hold Timer"; + } + leaf create-time { + type uint16; + description + "BCE Create Wait Timer"; + } + leaf up-grekey { + type uint32; + description + "Upstream GRE Key"; + } + leaf down-grekey { + type uint32; + description + "Downstream GRE Key"; + } + } + + grouping PMIPV6-SHOW-GLOBALS-BD { + description + "PMIPv6 Globals"; + container parameters { + description + "Domain Parameters"; + uses PMIPV6-DOMAIN-PARAM-BD; + } + container mll-service { + description + "MLL service parameters"; + uses PMIPV6-LMA-MLL-SERVICE-BD; + } + leaf domain { + type string; + description + "Domain Name"; + } + leaf selfid { + type string; + description + "Self ID"; + } + leaf apn-name { + type string; + description + "APN Name"; + } + leaf role { + type Pmipv6-role; + description + "Role Type"; + } + leaf count { + type uint32; + description + "Number of Networks/Intf"; + } + leaf peers { + type uint32; + description + "Number of Peers"; + } + leaf customers { + type uint32; + description + "Number of Customers"; + } + leaf num-network { + type uint32; + description + "Number of Networks"; + } + leaf discover-mn { + type boolean; + description + "Discover MN Detachment"; + } + leaf local-routing { + type boolean; + description + "Local Routing"; + } + leaf aaa-accounting { + type boolean; + description + "AAA Accounting"; + } + leaf default-mn { + type boolean; + description + "Default MN Enabled"; + } + leaf apn { + type boolean; + description + "APN Present"; + } + leaf learn-mag { + type boolean; + description + "Learn MAG"; + } + leaf session-mgr { + type boolean; + description + "Session Manager"; + } + leaf service { + type uint8; + description + "Service"; + } + leaf profile { + type string; + description + "Default MN Profile Name"; + } + leaf ddp { + type uint32; + description + "Discover Detach Period"; + } + leaf ddt { + type uint32; + description + "Discover Detach Timeout"; + } + leaf ddr { + type uint8; + description + "Discover Detach Retries"; + } + list intf { + description + "MAG Access List"; + uses PMIPV6-SHOW-MAG-INTERFACES-BD; + } + list peer { + description + "Peer Parameters"; + uses PMIPV6-DOMAIN-PARAM-PEER-BD; + } + list network { + description + "LMA Network Parameters"; + uses PMIPV6-SHOW-LMA-NW-BD; + } + list cust { + description + "Customer parameters"; + uses PMIPV6-DOMAIN-CUST-BD; + } + } + + grouping PMIPV6-LMA-MLL-SERVICE-BD { + description + "PMIPV6 Service"; + leaf ignore-hoa { + type boolean; + description + "Ignore Home Address"; + } + leaf mnp-ipv4-lmn-max { + type uint16; + description + "Max IPv4 prefixes per LMN"; + } + leaf mnp-ipv6-lmn-max { + type uint16; + description + "Max IPv6 prefixes per LMN"; + } + leaf mnp-lmn-max { + type uint16; + description + "Max prefixes per LMN"; + } + leaf mnp-ipv4-cust-max { + type uint32; + description + "Max IPv4 prefixes per Customer"; + } + leaf mnp-ipv6-cust-max { + type uint32; + description + "Max IPv6 prefixes per Customer"; + } + leaf mnp-cust-max { + type uint32; + description + "Max prefixes per Customer"; + } + leaf mnp-ipv4-cust-cur { + type uint32; + description + "Current IPv4 prefixes per Customer"; + } + leaf mnp-ipv6-cust-cur { + type uint32; + description + "Current IPv6 prefixes per Customer"; + } + } + + grouping PMIPV6-SHOW-CUST-GLOBALS-BD { + description + "PMIPV6 Customer Globals"; + container mll-service { + description + "MLL service parameters"; + uses PMIPV6-LMA-MLL-SERVICE-BD; + } + leaf cust-name { + type string; + description + "Customer Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf auth-option { + type boolean; + description + "Authentication Option"; + } + } + + grouping PMIPV6-SHOW-HB-PATH-BD { + description + "Heartbeat Path"; + leaf vrf { + type string; + description + "VRF Name"; + } + leaf customer-name { + type string; + description + "Customer Name"; + } + leaf source-port { + type uint32; + description + "Source Port"; + } + leaf destination-port { + type uint32; + description + "Destination Port"; + } + leaf source-ipv4-address { + type inet:ipv4-address; + description + "Source IPv4 Address"; + } + leaf destination-ipv4-address { + type inet:ipv4-address; + description + "Destination IPv4 Address"; + } + leaf source-ipv6-address { + type inet:ipv6-address; + description + "Source IPv6 Address"; + } + leaf destination-ipv6-address { + type inet:ipv6-address; + description + "Destination IPv6 Address"; + } + leaf status { + type boolean; + description + "Path Status"; + } + leaf ipv6-path { + type boolean; + description + "IPv6 Path"; + } + } + + grouping PMIPV6-V6-PREFIX-BD { + description + "IPv6 Prefix"; + leaf pfxlen { + type uint8; + description + "IPv6 prefix length"; + } + leaf prefix { + type inet:ipv6-address; + description + "IPv6 prefix"; + } + } + + grouping PMIPV6-V4-PREFIX-BD { + description + "IPv4 Prefix"; + leaf pfxlen { + type uint8; + description + "IPv4 prefix length"; + } + leaf prefix { + type inet:ipv4-address; + description + "IPv4 prefix"; + } + } + + grouping PMIPV6-SHOW-BINDING-COA-BD { + description + "COA entry"; + leaf llid { + type string; + description + "Link Layer Identifier"; + } + leaf peer-name { + type string; + description + "Peer Name"; + } + leaf tunnel { + type string; + description + "Tunnel Interface"; + } + leaf e-label { + type string; + description + "Egress Label"; + } + leaf color { + type string; + description + "Label Color"; + } + leaf roa-min-tf { + type string; + description + "Roaming Intf"; + } + leaf pstate { + type string; + description + "COA STATE"; + } + leaf msisdn { + type string; + description + "MSISDN"; + } + leaf imsi { + type string; + description + "IMSI or IMSI NAI"; + } + leaf cdma-nai { + type string; + description + "CDMA NAI"; + } + leaf pgw-apn { + type string; + description + "Subscriber APN on PWG"; + } + leaf pgw-trans-vrf { + type string; + description + "Subscriber Transport VRF on PGW"; + } + leaf att { + type uint16; + description + "MN ATT"; + } + leaf lifetime { + type uint32; + description + "Life Time of coa"; + } + leaf lifetime-remaining { + type uint32; + description + "Life Time remain of coa"; + } + leaf refresh { + type uint32; + description + "refresh Time of coa"; + } + leaf refresh-rem { + type uint32; + description + "refresh Time remain of coa"; + } + leaf dnkey { + type uint32; + description + "down key for coa tunnel"; + } + leaf upkey { + type uint32; + description + "up key for coa tunnel"; + } + leaf coa-v4 { + type inet:ipv4-address; + description + "IPv4 CoA"; + } + leaf coa-v6 { + type inet:ipv6-address; + description + "IPv6 CoA"; + } + } + + grouping PMIPV6-SHOW-BINDING-BD { + description + "PMIPV6 Binding"; + leaf mnnai { + type string; + description + "Mobile Node Identifier"; + } + leaf customer-name-xr { + type string; + description + "Customer name"; + } + leaf llid { + type string; + description + "Link Layer Identifier"; + } + leaf peer-id { + type string; + description + "Peer Identifier"; + } + leaf phyintf { + type string; + description + "Access Interface"; + } + leaf tunnel { + type string; + description + "Tunnel Interface"; + } + leaf state { + type string; + description + "State Name"; + } + leaf apn { + type string; + description + "Access Point Network"; + } + leaf att { + type uint16; + description + "MN ATT"; + } + leaf hoa { + type inet:ipv4-address; + description + "MN HOA"; + } + leaf dflt { + type inet:ipv4-address; + description + "MN Default Router"; + } + leaf lifetime { + type uint32; + description + "Life Time of Binding"; + } + leaf liferem { + type uint32; + description + "Life Time Remaining"; + } + leaf refresh { + type uint32; + description + "Refresh Time of Binding"; + } + leaf refresh-rem { + type uint32; + description + "Refresh Time Remaining"; + } + leaf prefix-len { + type uint8; + description + "Prefix Length"; + } + leaf num-hnps { + type uint8; + description + "HNP count"; + } + leaf num-coa { + type uint8; + description + "COA count"; + } + leaf num-dmnp-v4 { + type uint8; + description + "IPv4 DMNP count"; + } + leaf num-dmnp-v6 { + type uint8; + description + "IPv6 DMNP count"; + } + leaf hnps { + type inet:ipv6-address; + description + "MN Home Network Prefixes"; + } + leaf ignore-home-address { + type boolean; + description + "Ignore HoA/HNP"; + } + leaf up-stream-grekey { + type uint32; + description + "Upstream GRE Key"; + } + leaf down-stream-grekey { + type uint32; + description + "DownStream GRE Key"; + } + leaf vrfid { + type uint32; + description + "VRF ID of Access Interface"; + } + list coa { + description + "COA entries"; + uses PMIPV6-SHOW-BINDING-COA-BD; + } + list dmnp-v4 { + description + "IPv4 DMNP prefixes"; + uses PMIPV6-V4-PREFIX-BD; + } + list dmnp-v6 { + description + "IPv6 DMNP prefixes"; + uses PMIPV6-V6-PREFIX-BD; + } + } + + grouping PMIPV6-SHOW-LMA-PEER-STATS-BD { + description + "PMIPv6 LMA Peer Statistics"; + container protocol-statistics { + description + "LMA Protocol Statistics"; + uses PMIPV6-LMA-PROTO-STATS-BD; + } + leaf lma-identifier { + type string; + description + "LMA Identifier"; + } + } + + grouping PMIPV6-MM-PKT-STATS-BD { + description + "Packet Statistics"; + leaf checksum-errors { + type uint64; + description + "Checksumm errors"; + } + leaf send-drops { + type uint64; + description + "Drop count of sent packets"; + } + leaf receive-drops { + type uint64; + description + "Drop count of received packets"; + } + leaf packets-received { + type uint64; + description + "Count of received packets"; + } + leaf packets-sent { + type uint64; + description + "Count of sent packets"; + } + leaf send-drops-ipv6 { + type uint64; + description + "Drop count of IPv6 sent packets"; + } + leaf receive-drops-ipv6 { + type uint64; + description + "Drop count of IPv6 received packets"; + } + leaf packets-received-ipv6 { + type uint64; + description + "Count of IPv6 received packets"; + } + leaf packets-sent-ipv6 { + type uint64; + description + "Count of IPv6 sent packets"; + } + } + + grouping PMIPV6-SHOW-LMA-STATS-BD { + description + "PMIPv6 LMA Statistics"; + container packet-statistics { + description + "Packet Statistics"; + uses PMIPV6-MM-PKT-STATS-BD; + } + container protocol-statistics { + description + "LMA Protocol Statistics"; + uses PMIPV6-LMA-PROTO-STATS-BD; + } + container accounting-statistics { + description + "LMA Accounting Statistics"; + uses PMIPV6-ACCT-STATS-BD; + } + leaf lma-identifier { + type string; + description + "LMA Identifier"; + } + leaf bce-count { + type uint32; + description + "Count of Bindings"; + } + leaf handoff-count { + type uint32; + description + "Count of Handoffs"; + } + leaf single-tenant-count { + type uint32; + description + "Count of Single Tenants"; + } + leaf multi-tenant-count { + type uint32; + description + "Count of Multi Tenants"; + } + } + + grouping PMIPV6-SHOW-LMA-LICENSE-STATS-BD { + description + "PMIPv6 LMA License Statistics"; + leaf lma-identifier { + type string; + description + "LMA Identifier"; + } + leaf bce-count { + type uint32; + description + "Instantaneous Count of Bindings"; + } + leaf peak-bce-count { + type uint32; + description + "Peak Count of Bindings"; + } + leaf peak-bce-count-reset-timestamp { + type uint32; + description + "Timestamp when the Peak Count of Bindings was + reset"; + } + } + + grouping PMIPV6-ACCT-STATS-BD { + description + "PMIPv6 Accounting Statistics"; + leaf accounting-start-sent-count { + type uint64; + description + "Count of Accounting Start Records Sent"; + } + leaf accounting-update-sent-count { + type uint64; + description + "Count of Accounting Update Records Sent"; + } + leaf accounting-stop-sent-count { + type uint64; + description + "Count of Accounting Stop Records Sent"; + } + } + + grouping PMIPV6-PBRA-STATS-BD { + description + "PMIPv6 PBRA Statistics"; + leaf pbra-count { + type uint64; + description + "Count of PBRAs"; + } + leaf pbra-drop-count { + type uint32; + description + "Count of PBRAs dropped"; + } + leaf success-count { + type uint32; + description + "Count of Revoc Status - Success"; + } + leaf partial-success-count { + type uint32; + description + "Count of Revoc Status - Partial Success"; + } + leaf no-binding-count { + type uint32; + description + "Count of Revoc Status - Binding Does Not Exist"; + } + leaf hoa-required-count { + type uint32; + description + "Count of Revoc Status - IPv4 Home Address Option + Required"; + } + leaf no-author-for-global-revoc-count { + type uint32; + description + "Count of Revoc Status - Global Revocation NOT + Authorized"; + } + leaf mn-identity-required-count { + type uint32; + description + "Count of Revoc Status - Revoked Mobile Node + Identity Required"; + } + leaf mn-attached-count { + type uint32; + description + "Count of Revoc Status - Revocation Failed - MN + is Attached"; + } + leaf unknown-revoc-trigger-count { + type uint32; + description + "Count of Revoc Status - Revocation Trigger NOT + supported"; + } + leaf revoc-function-not-supported-count { + type uint32; + description + "Count of Revoc Status - Revocation Function NOT + Supported"; + } + leaf pbr-not-supported-count { + type uint32; + description + "Count of Revoc Status - Proxy Binding Revocation + NOT Supported"; + } + } + + grouping PMIPV6-PBRI-STATS-BD { + description + "PMIPv6 PBRI Statistics"; + leaf pbri-count { + type uint64; + description + "Count of PBRIs"; + } + leaf pbri-drop-count { + type uint32; + description + "Count of PBRIs dropped"; + } + leaf unspecified-count { + type uint32; + description + "Count of Revoc Trigger - Unspecified"; + } + leaf admin-reason-count { + type uint32; + description + "Count of Revoc Trigger - Administrative Reason"; + } + leaf mag-handover-same-att-count { + type uint32; + description + "Count of Revoc Trigger - Inter MAG Handover Same + ATT"; + } + leaf mag-handover-different-att-count { + type uint32; + description + "Count of Revoc Trigger - Inter MAG Handover + Different ATT"; + } + leaf mag-handover-unknown-count { + type uint32; + description + "Count of Revoc Trigger - Inter MAG Handover + Unknown"; + } + leaf user-session-termination-count { + type uint32; + description + "Count of Revoc Trigger - User Init Session + Terminatation"; + } + leaf network-session-termination-count { + type uint32; + description + "Count of Revoc Trigger - Access Network Session + Termination"; + } + leaf out-of-sync-bce-state-count { + type uint32; + description + "Count of Revoc Trigger - Possible Out-of-Sync + BCE State"; + } + leaf per-peer-policy-count { + type uint32; + description + "Count of Revoc Trigger - Per-Peer Policy"; + } + leaf revoking-mn-local-policy-count { + type uint32; + description + "Count of Revoc Trigger - Revoking Mobility Node + Local Policy"; + } + } + + grouping PMIPV6-PBA-STATS-BD { + description + "PMIPv6 PBA Statistics"; + leaf pba-count { + type uint64; + description + "Count of PBAs"; + } + leaf pba-drop-count { + type uint32; + description + "Count of PBAs dropped"; + } + leaf accepted-count { + type uint32; + description + "Count of Status Code - Binding Update accepted"; + } + leaf unknown-count { + type uint32; + description + "Count of Status Code - Last BA status code sent."; + } + leaf unspecified-failure-count { + type uint32; + description + "Count of Status Code - Reason unspecified"; + } + leaf admin-failure-count { + type uint32; + description + "Count of Status Code - Administratively + prohibited"; + } + leaf resource-failure-count { + type uint32; + description + "Count of Status Code - Insufficient resources"; + } + leaf home-reg-failure-count { + type uint32; + description + "Count of Status Code - Home registration not + supported"; + } + leaf home-subnet-failure-count { + type uint32; + description + "Count of Status Code - Not home subnet"; + } + leaf bad-sequence-failure-count { + type uint32; + description + "Count of Status Code - Sequence number out of + window"; + } + leaf reg-type-failure-count { + type uint32; + description + "Count of Status Code - Registration type change"; + } + leaf authen-failure-count { + type uint32; + description + "Count of Status Code - Auth Fail"; + } + leaf proxy-reg-not-enabled-count { + type uint32; + description + "Count of Status Code - Proxy Registration not + enabled"; + } + leaf not-lma-for-this-mn-count { + type uint32; + description + "Count of Status Code - Not LMA for this Mobile + Node"; + } + leaf no-author-for-proxy-reg-count { + type uint32; + description + "Count of Status Code - MAG not auth.for proxyreg"; + } + leaf no-author-for-hnp-count { + type uint32; + description + "Count of Status Code - Not authorized for HNP"; + } + leaf timestamp-mismatch-count { + type uint32; + description + "Count of Status Code - Invalid timestamp value"; + } + leaf timestamp-lower-than-previous-accepted-count { + type uint32; + description + "Count of Status Code - Timestamp lower than + previous accepted"; + } + leaf missing-hnp-opt-count { + type uint32; + description + "Count of Status Code - Missing Home Network + Prefix option"; + } + leaf received-hnps-do-not-match-bce-hnps-count { + type uint32; + description + "Count of Status Code - Recevied HNPs do not + match with BCE"; + } + leaf missing-mn-id-opt-count { + type uint32; + description + "Count of Status Code - Missing MN identifier + option"; + } + leaf missing-hi-opt-count { + type uint32; + description + "Count of Status Code - Missing Handoff Indicator"; + } + leaf missing-access-tech-type-opt-count { + type uint32; + description + "Count of Status Code - Missing ATT option"; + } + leaf no-author-for-ipv4-mobility-count { + type uint32; + description + "Count of Status Code - Not authorized for IPv4 + mobility"; + } + leaf no-author-for-ipv4-hoa-count { + type uint32; + description + "Count of Status Code - Not authorized for IPv4 + HoA"; + } + leaf no-author-for-ipv6-mobility-count { + type uint32; + description + "Count of Status Code - Not authorized for IPv6 + mobility"; + } + leaf multiple-ipv4-ho-a-not-supported-count { + type uint32; + description + "Count of Status Code - Multiple IPv4 HoA not + supported"; + } + leaf gre-key-opt-required-count { + type uint32; + description + "Count of Status Code - GRE Key option is + required"; + } + } + + grouping PMIPV6-PBU-STATS-BD { + description + "PMIPv6 PBU Statistics"; + leaf pbu-count { + type uint64; + description + "Count of PBUs"; + } + leaf pbu-drop-count { + type uint32; + description + "Count of PBUs Dropped"; + } + } + + grouping PMIPV6-LMA-PROTO-STATS-BD { + description + "PMIPv6 LMA Protocol Statistics"; + container pbu-receive-statistics { + description + "PBU Receive Statistics"; + uses PMIPV6-PBU-STATS-BD; + } + container pba-send-statistics { + description + "PBA Send Statistics"; + uses PMIPV6-PBA-STATS-BD; + } + container pbri-send-statistics { + description + "PBRI Send Statistics"; + uses PMIPV6-PBRI-STATS-BD; + } + container pbri-receive-statistics { + description + "PBRI Receive Statistics"; + uses PMIPV6-PBRI-STATS-BD; + } + container pbra-send-statistics { + description + "PBRA Send Statistics"; + uses PMIPV6-PBRA-STATS-BD; + } + container pbra-receive-statistics { + description + "PBRA Receive Statistics"; + uses PMIPV6-PBRA-STATS-BD; + } + } + + grouping PMIPV6-SHOW-LMA-CUST-STATS-BD { + description + "PMIPv6 LMA Customer Statistics"; + container protocol-statistics { + description + "LMA Protocol Statistics"; + uses PMIPV6-LMA-PROTO-STATS-BD; + } + container accounting-statistics { + description + "LMA Accounting Statistics"; + uses PMIPV6-ACCT-STATS-BD; + } + leaf lma-identifier { + type string; + description + "LMA Identifier"; + } + leaf bce-count { + type uint32; + description + "Count of Bindings"; + } + leaf handoff-count { + type uint32; + description + "Count of Handoffs"; + } + leaf ipv4-mnp-count { + type uint32; + description + "Count of IPv4 Mobile Node Prefixes"; + } + leaf ipv6-mnp-count { + type uint32; + description + "Count of IPv6 Mobile Node Prefixes"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper.yang new file mode 100644 index 0000000..d66a36c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-mobileip-oper.yang @@ -0,0 +1,168 @@ +module Cisco-IOS-XR-ip-mobileip-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper"; + prefix ip-mobileip-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-mobileip-oper-sub1 { + revision-date 2016-03-10; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-mobileip package operational data. + + This module contains definitions + for the following management objects: + pmipv6: Proxy Mobile IPv6 + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-03-10 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pmipv6 { + config false; + description + "Proxy Mobile IPv6"; + container lma { + description + "None"; + container statistics { + description + "None"; + container customer-statistics { + description + "Table of CustomerStatistics"; + list customer-statistic { + key "customer-name"; + description + "Customer statistics"; + leaf customer-name { + type xr:Cisco-ios-xr-string; + description + "Customer Name"; + } + uses PMIPV6-SHOW-LMA-CUST-STATS-BD; + } + } + container license { + description + "LMA License Statistics"; + uses PMIPV6-SHOW-LMA-LICENSE-STATS-BD; + } + container global { + description + "Global Statistics"; + uses PMIPV6-SHOW-LMA-STATS-BD; + } + container mag-statistics { + description + "Table of MAGStatistics"; + list mag-statistic { + key "mag-name"; + description + "Peer MAG statistics"; + leaf mag-name { + type xr:Cisco-ios-xr-string; + description + "Peer MAG Name"; + } + uses PMIPV6-SHOW-LMA-PEER-STATS-BD; + } + } + } + container bindings { + description + "Table of Binding"; + list binding { + description + "Binding Parameters"; + leaf mag-name { + type xr:Cisco-ios-xr-string; + description + "Peer MAG ID"; + } + leaf nai-string { + type xr:Cisco-ios-xr-string; + description + "NAI String"; + } + leaf imsi-string { + type xr:Cisco-ios-xr-string; + description + "IMSI String"; + } + leaf customer-name { + type xr:Cisco-ios-xr-string; + description + "Customer String"; + } + uses PMIPV6-SHOW-BINDING-BD; + } + } + container heartbeats { + description + "Table of Heartbeat"; + list heartbeat { + key "peer-addr"; + description + "Heartbeat information"; + leaf peer-addr { + type inet:ip-address-no-zone; + description + "IPv4 or IPv6 address"; + } + uses PMIPV6-SHOW-HB-PATH-BD; + } + } + container config-variables { + description + "Global Configuration Variables"; + container customer-variables { + description + "Table of CustomerVariables"; + list customer-variable { + key "customer-name"; + description + "Customer name string"; + leaf customer-name { + type xr:Cisco-ios-xr-string; + description + "Customer name"; + } + uses PMIPV6-SHOW-CUST-GLOBALS-BD; + } + } + container global-variables { + description + "Global Configuration Variables"; + uses PMIPV6-SHOW-GLOBALS-BD; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang new file mode 100644 index 0000000..434f3eb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper-sub1.yang @@ -0,0 +1,549 @@ +submodule Cisco-IOS-XR-ip-ntp-admin-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-ntp-admin-oper { + prefix Cisco-IOS-XR-ip-ntp-admin-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-ntp-admin package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ntp-peer-status { + type enumeration { + enum "ntp-ctl-pst-sel-reject" { + description + " reject"; + } + enum "ntp-ctl-pst-sel-sane" { + description + " x falsetick"; + } + enum "ntp-ctl-pst-sel-correct" { + description + " . excess "; + } + enum "ntp-ctl-pst-sel-selcand" { + description + " - outlyer"; + } + enum "ntp-ctl-pst-sel-sync-cand" { + description + " + candidate"; + } + enum "ntp-ctl-pst-sel-distsys-peer" { + description + " # selected"; + } + enum "ntp-ctl-pst-sel-sys-peer" { + description + " * sys peer"; + } + enum "ntp-ctl-pst-sel-pps" { + description + " o pps peer"; + } + } + description + "Type of peer status"; + } + + typedef Ntp-mode { + type enumeration { + enum "ntp-mode-unspec" { + description + "Unspecified probably old NTP version"; + } + enum "ntp-mode-symetric-active" { + description + "Symmetric active"; + } + enum "ntp-mode-symetric-passive" { + description + "Symmetric passive"; + } + enum "ntp-mode-client" { + description + "Client mode"; + } + enum "ntp-mode-server" { + description + "Server mode"; + } + enum "ntp-mode-xcast-server" { + description + "Broadcast mode"; + } + enum "ntp-mode-control" { + description + "Control mode packet"; + } + enum "ntp-mode-private" { + description + "Implementation defined function"; + } + enum "ntp-mode-xcast-client" { + description + "A broadcast client mode"; + } + } + description + "Type of mode"; + } + + typedef Clock-update-node { + type enumeration { + enum "clk-never-updated" { + value 0; + description + " clock is never updated"; + } + enum "clk-updated" { + value 1; + description + " clock is updated"; + } + enum "clk-no-update-info" { + value 2; + description + " clock has no update info"; + } + } + description + "Mode of Clock Update"; + } + + typedef Ntp-loop-filter-state { + type enumeration { + enum "ntp-loop-flt-n-set" { + value 0; + description + " never set"; + } + enum "ntp-loop-flt-f-set" { + value 1; + description + " drift set from file"; + } + enum "ntp-loop-flt-spik" { + value 2; + description + " spike"; + } + enum "ntp-loop-flt-freq" { + value 3; + description + " drift being measured"; + } + enum "ntp-loop-flt-sync" { + value 4; + description + " normal controlled loop"; + } + enum "ntp-loop-flt-unkn" { + value 5; + description + " unknown"; + } + } + description + "Loop filter state"; + } + + typedef Ntp-leap { + type enumeration { + enum "ntp-leap-no-warning" { + description + "Normal, no leap second warning"; + } + enum "ntp-leap-addse-cond" { + description + "Last minute of day has 61 seconds"; + } + enum "ntp-leap-delse-cond" { + description + "Last minute of day has 59 seconds"; + } + enum "ntp-leap-not-in-sync" { + description + "Overload, clock is free running"; + } + } + description + "Type of leap"; + } + + grouping FILTER-DETAILS { + description + "Sub part of peer info"; + leaf filter-delay { + type string; + description + "filter delay"; + } + leaf filter-offset { + type string; + description + "filter offset"; + } + leaf filter-disp { + type string; + description + "filter disp"; + } + } + + grouping NTP-EDM-PEER-DETAIL-INFO { + description + "Peer Detail Information"; + container peer-info-common { + description + "Common peer info"; + uses NTP-EDM-PEER-INFO-COMMON; + } + container ref-time { + description + "Reference time"; + uses EDM-L-FP; + } + container originate-time { + description + "Originate timestamp"; + uses EDM-L-FP; + } + container receive-time { + description + "Receive timestamp"; + uses EDM-L-FP; + } + container transmit-time { + description + "Transmit timestamp"; + uses EDM-L-FP; + } + leaf leap { + type Ntp-leap; + description + "Leap"; + } + leaf peer-mode { + type Ntp-mode; + description + "Peer's association mode"; + } + leaf poll-interval { + type uint8; + description + "Peer poll interval"; + } + leaf is-ref-clock { + type boolean; + description + "Is refclock"; + } + leaf is-authenticated { + type boolean; + description + "Is authenticated"; + } + leaf root-delay { + type string; + description + "Root delay"; + } + leaf root-dispersion { + type string; + description + "Root dispersion"; + } + leaf synch-distance { + type string; + description + "Synch distance"; + } + leaf precision { + type int8; + description + "Precision"; + } + leaf version { + type uint8; + description + "NTP version"; + } + leaf filter-index { + type uint32; + description + "Index into filter shift register"; + } + list filter-detail { + max-elements "8"; + description + "Filter Details"; + uses FILTER-DETAILS; + } + } + + grouping NTP-EDM-ASSOC-DETAIL-RESULT { + description + "The NTP association detail result"; + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-leap { + type Ntp-leap; + description + "Leap"; + } + list peer-detail-info { + description + "Peer info"; + uses NTP-EDM-PEER-DETAIL-INFO; + } + } + + grouping NTP-EDM-PEER-INFO-COMMON { + description + "Peer common info"; + leaf host-mode { + type Ntp-mode; + description + "Association mode with this peer"; + } + leaf is-configured { + type boolean; + description + "Is configured"; + } + leaf address { + type string; + description + "Peer Address"; + } + leaf reference-id { + type inet:ipv4-address; + description + "Peer reference ID"; + } + leaf host-poll { + type uint8; + description + "Host poll"; + } + leaf reachability { + type uint8; + description + "Reachability"; + } + leaf stratum { + type uint8; + description + "Peer stratum"; + } + leaf status { + type Ntp-peer-status; + description + "Peer status"; + } + leaf delay { + type string; + description + "Peer delay"; + } + leaf offset { + type string; + description + "Peer offset"; + } + leaf dispersion { + type string; + description + "Peer dispersion"; + } + leaf is-sys-peer { + type boolean; + description + "Indicates whether this is syspeer"; + } + } + + grouping NTP-EDM-PEER-SUMMARY-INFO { + description + "Peer summary info"; + container peer-info-common { + description + "Common peer info"; + uses NTP-EDM-PEER-INFO-COMMON; + } + leaf time-since { + type int32; + description + "Time since last frame received (-1=none)"; + } + } + + grouping NTP-EDM-ASSOC-SUMMARY-RESULT { + description + "The NTP association result"; + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-leap { + type Ntp-leap; + description + "Leap"; + } + list peer-summary-info { + description + "Peer info"; + uses NTP-EDM-PEER-SUMMARY-INFO; + } + } + + grouping EDM-UL-F { + description + "EDM UL F"; + leaf frac { + type uint32; + description + "Fractional format in NTP reference code"; + } + } + + grouping EDM-UL-I { + description + "EDM UL I"; + leaf int { + type uint32; + description + "Integer format in NTP reference code"; + } + } + + grouping EDM-L-FP { + description + "EDM L FP"; + container sec { + description + "Second part in 64-bit NTP timestamp"; + uses EDM-UL-I; + } + container frac-secs { + description + "Fractional part in 64-bit NTP timestamp"; + uses EDM-UL-F; + } + } + + grouping NTP-EDM-STATUS-RESULT { + description + "The NTP status result"; + container sys-ref-time { + description + "Reference time"; + uses EDM-L-FP; + } + container sys-drift { + description + "System Drift"; + uses EDM-L-FP; + } + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-dispersion { + type string; + description + "Peer dispersion"; + } + leaf sys-offset { + type string; + description + "Clock offset"; + } + leaf clock-period { + type uint32; + units "nanosecond"; + description + "Clock period in nanosecs"; + } + leaf sys-leap { + type Ntp-leap; + description + "leap"; + } + leaf sys-precision { + type int8; + description + "Precision"; + } + leaf sys-stratum { + type uint8; + description + "Stratum"; + } + leaf sys-ref-id { + type inet:ipv4-address; + description + "Reference clock ID"; + } + leaf sys-root-delay { + type string; + description + "Root delay"; + } + leaf sys-root-dispersion { + type string; + description + "Root dispersion"; + } + leaf loop-filter-state { + type Ntp-loop-filter-state; + description + "Loop Filter State"; + } + leaf poll-interval { + type uint8; + description + "Peer poll interval"; + } + leaf is-updated { + type Clock-update-node; + description + "Is clock updated"; + } + leaf last-update { + type int32; + description + "Last Update"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper.yang new file mode 100644 index 0000000..2c364a9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-admin-oper.yang @@ -0,0 +1,101 @@ +module Cisco-IOS-XR-ip-ntp-admin-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-admin-oper"; + prefix ip-ntp-admin-oper; + + include Cisco-IOS-XR-ip-ntp-admin-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-ntp package + admin-plane operational data. + + This module contains definitions + for the following management objects: + ntp: NTP admin operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ntp { + config false; + description + "NTP admin operational data"; + container racks { + description + "Rack-specific NTP operational data"; + list rack { + key "number"; + description + "NTP operational data for a particular rack"; + container slots { + description + "Node-specific NTP operational data"; + list slot { + key "number"; + description + "NTP operational data for a particular slot"; + container instances { + description + "Instance-specific NTP operational data"; + list instance { + key "number"; + description + "NTP operational data for a particular + instance"; + container status { + description + "Status of NTP peer(s)"; + uses NTP-EDM-STATUS-RESULT; + } + container associations { + description + "NTP Associations information"; + uses NTP-EDM-ASSOC-SUMMARY-RESULT; + } + container associations-detail { + description + "NTP Associations Detail information"; + uses NTP-EDM-ASSOC-DETAIL-RESULT; + } + leaf number { + type int32; + description + "The instance number"; + } + } + } + leaf number { + type int32; + description + "The slot number"; + } + } + } + leaf number { + type int32; + description + "The rack number"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-cfg.yang new file mode 100644 index 0000000..369c0d4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-cfg.yang @@ -0,0 +1,665 @@ +module Cisco-IOS-XR-ip-ntp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-cfg"; + prefix ip-ntp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-ntp package configuration. + + This module contains definitions + for the following management objects: + ntp: NTP configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ntp-prefer-peer { + type empty; + description + "Prefer"; + } + + typedef Ntpdscp { + type enumeration { + enum "ntp-precedence" { + value 0; + description + "Precedence Value"; + } + enum "ntpdscp" { + value 1; + description + "DSCP Value"; + } + } + description + "Ntpdscp"; + } + + typedef Ntp-key-number { + type uint32 { + range "1..65535"; + } + description + "Ntp key number"; + } + + typedef Ntpttl { + type uint32 { + range "1..255"; + } + description + "Ntpttl"; + } + + typedef Ntp-burst { + type empty; + description + "Burst"; + } + + typedef Ntpi-burst { + type empty; + description + "IBurst"; + } + + typedef Ntp-version { + type uint32 { + range "2..4"; + } + description + "Ntp version"; + } + + typedef Ntp-peer { + type enumeration { + enum "peer" { + value 0; + description + "Peer"; + } + enum "server" { + value 1; + description + "Server"; + } + } + description + "Ntp peer"; + } + + typedef Ntp-access-af { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4"; + } + enum "ipv6" { + value 1; + description + "IPv6"; + } + } + description + "Ntp access af"; + } + + typedef Ntp-access { + type enumeration { + enum "peer" { + value 0; + description + "Peer"; + } + enum "serve" { + value 1; + description + "Serve"; + } + enum "serve-only" { + value 2; + description + "Serve Only"; + } + enum "query-only" { + value 3; + description + "Query Only"; + } + } + description + "Ntp access"; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container ntp { + description + "CISCO-NTP-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable ciscoNtpMIB notification configuration"; + } + } + } + container ntp { + presence "Indicates a ntp node is configured."; + description + "NTP configuration"; + container peer-vrfs { + description + "Configures NTP Peers or Servers"; + list peer-vrf { + key "vrf-name"; + description + "Configures NTP Peers or Servers for a single + VRF. The 'default' must also be specified for + default VRF"; + container peer-ipv4s { + description + "Configures IPv4 NTP Peers or Servers"; + list peer-ipv4 { + key "address-ipv4"; + description + "Configure an IPv4 NTP server or peer"; + leaf address-ipv4 { + type inet:ipv4-address-no-zone; + description + "IPv4 Address of a peer"; + } + list peer-type-ipv4 { + key "peer-type"; + description + "Configure an IPv4 NTP server or peer"; + leaf peer-type { + type Ntp-peer; + description + "Peer or Server"; + } + leaf ntp-version { + type Ntp-version; + description + "NTP version"; + } + leaf authentication-key { + type Ntp-key-number; + description + "Authentication Key"; + } + leaf min-poll { + type uint32 { + range "4..17"; + } + description + "Minimum poll interval"; + } + leaf max-poll { + type uint32 { + range "4..17"; + } + description + "Maxinum poll interval"; + } + leaf preferred-peer { + type Ntp-prefer-peer; + description + "Preferred peer"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source interface of this peer"; + } + leaf burst { + type Ntp-burst; + description + "Use burst mode"; + } + leaf iburst { + type Ntpi-burst; + description + "Use iburst mode"; + } + } + } + } + container peer-ipv6s { + description + "Configuration NTP Peers or Servers of IPV6"; + list peer-ipv6 { + key "address-ipv6"; + description + "Configure a NTP server or peer"; + leaf address-ipv6 { + type inet:ipv6-address-no-zone; + description + "Address of a peer"; + } + list peer-type-ipv6 { + key "peer-type"; + description + "Configure a NTP server or peer"; + leaf peer-type { + type Ntp-peer; + description + "Peer or Server"; + } + leaf ntp-version { + type Ntp-version; + description + "NTP version"; + } + leaf authentication-key { + type Ntp-key-number; + description + "Authentication Key"; + } + leaf min-poll { + type uint32 { + range "4..17"; + } + description + "Minimum poll interval"; + } + leaf max-poll { + type uint32 { + range "4..17"; + } + description + "Maxinum poll interval"; + } + leaf preferred-peer { + type Ntp-prefer-peer; + description + "Preferred peer"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source interface of this peer"; + } + leaf burst { + type Ntp-burst; + description + "Use burst mode"; + } + leaf iburst { + type Ntpi-burst; + description + "Use iburst mode"; + } + leaf address-ipv6 { + type inet:ipv6-address-no-zone; + description + "IPv6 address"; + } + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container dscp-ipv4 { + presence "Indicates a dscp-ipv4 node is configured."; + description + " Set IP DSCP value for outgoing NTP IPV4 packets"; + leaf mode { + type Ntpdscp; + mandatory true; + description + "NTPPRECEDENCE (0) to specify Precedence value + NTPDSCP (1) to specify DSCP value"; + } + leaf dscp-or-precedence-value { + type uint32 { + range "0..63"; + } + mandatory true; + description + "If Mode is set to 'NTPPRECEDENCE(0)' specify + Precedence value , if Mode is set to + 'NTPDSCP(1)' specify DSCP"; + } + } + container dscp-ipv6 { + presence "Indicates a dscp-ipv6 node is configured."; + description + " Set IP DSCP value for outgoing NTP IPV6 packets"; + leaf mode { + type Ntpdscp; + mandatory true; + description + "NTPPRECEDENCE(0) to specify Precedence value + NTPDSCP(1) to specify DSCP value"; + } + leaf dscp-or-precedence-value { + type uint32 { + range "0..63"; + } + mandatory true; + description + "If Mode is set to 'NTPPRECEDENCE(0)' specify + Precedence value , if Mode is set to + 'NTPDSCP(1)' specify DSCP"; + } + } + container sources { + description + "Configure NTP source interface"; + list source { + key "vrf-name"; + description + "Configure NTP source interface"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf source-interface { + type xr:Interface-name; + mandatory true; + description + "Source Interface for NTP"; + } + } + } + container drift { + description + "NTP drift"; + container file { + description + "File containing drift value"; + leaf location { + type string; + default "PWD"; + description + "PWD or disk0 etc"; + } + leaf filename { + type string; + description + "File containing drift value"; + } + } + leaf aging-time { + type uint32 { + range "0..65535"; + } + description + "Drift Aging Time"; + } + } + container authentication { + description + "Configure NTP Authentication keys"; + container keies { + description + "Authentication Key Table"; + list key { + key "key-number"; + description + "Authentication key for trusted time sources"; + leaf key-number { + type Ntp-key-number; + description + "Authentication Key number"; + } + leaf authentication-key { + type string; + mandatory true; + description + "Authentication key - maximum 32 characters"; + } + } + } + container trusted-keies { + description + "Key numbers for trusted time sources"; + list trusted-key { + key "key-number"; + description + "Configure NTP trusted key"; + leaf key-number { + type Ntp-key-number; + description + "Key number"; + } + } + } + leaf enable { + type empty; + description + "Enable NTP authentication keys"; + } + } + container passive { + description + "Configure NTP passive associations"; + leaf enable { + type empty; + description + "Enable NTP Passive associations"; + } + } + container interface-tables { + description + "NTP per interface configuration"; + list interface-table { + key "vrf-name"; + description + "NTP per interface configuration"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + list interface { + key "interface"; + description + "Name of the interface"; + container interface-multicast { + description + "Configure NTP multicast service"; + container multicast-clients { + description + "Configures multicast client peers"; + list multicast-client { + key "ip-address"; + description + "Listen to NTP multicasts"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP address of a multicast group"; + } + } + } + container multicast-servers { + description + "Configures multicast server peers"; + list multicast-server { + key "ip-address"; + description + "Configure NTP multicast group server peer"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP address of a multicast group"; + } + leaf authentication-key { + type Ntp-key-number; + description + "Authentication key"; + } + leaf version { + type Ntp-version; + description + "NTP version"; + } + leaf ttl { + type Ntpttl; + description + "TTL"; + } + } + } + } + container interface-broadcast { + description + "Configure NTP broadcast service"; + container broadcast { + description + "Configure NTP broadcast"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Destination broadcast IPv4 address"; + } + leaf authentication-key { + type Ntp-key-number; + description + "Authentication key"; + } + leaf ntp-version { + type Ntp-version; + description + "NTP version"; + } + } + leaf broadcast-client { + type empty; + description + "Listen to NTP broadcasts"; + } + } + leaf disable { + type empty; + description + "Disable NTP"; + } + leaf interface { + type xr:Interface-name; + description + "interface"; + } + } + } + } + container access-group-tables { + description + "Control NTP access"; + list access-group-table { + key "vrf-name"; + description + "Control NTP access"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + list access-group-af-table { + key "af"; + description + "Configure NTP access address family"; + leaf af { + type Ntp-access-af; + description + "Address family"; + } + list access-group { + key "access-group-type"; + description + "Configure NTP access group"; + leaf access-group-type { + type Ntp-access; + description + "Access group type"; + } + leaf access-list-name { + type string; + mandatory true; + description + "Access list name - maximum 32 characters"; + } + } + } + } + } + leaf max-associations { + type uint32 { + range "0..4294967295"; + } + description + "Set maximum number of associations"; + } + leaf master { + type uint32 { + range "1..15"; + } + default "8"; + description + "Act as NTP master clock"; + } + leaf broadcast-delay { + type uint32 { + range "1..999999"; + } + description + "Estimated round-trip delay"; + } + leaf log-internal-sync { + type empty; + description + "To enable logging internal sync conflicts"; + } + leaf update-calendar { + type empty; + description + "To enable calendar update with NTP time"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper-sub1.yang new file mode 100644 index 0000000..de1a418 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper-sub1.yang @@ -0,0 +1,549 @@ +submodule Cisco-IOS-XR-ip-ntp-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-ntp-oper { + prefix Cisco-IOS-XR-ip-ntp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-ntp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Clock-update-node { + type enumeration { + enum "clk-never-updated" { + value 0; + description + " clock is never updated"; + } + enum "clk-updated" { + value 1; + description + " clock is updated"; + } + enum "clk-no-update-info" { + value 2; + description + " clock has no update info"; + } + } + description + "Mode of Clock Update"; + } + + typedef Ntp-loop-filter-state { + type enumeration { + enum "ntp-loop-flt-n-set" { + value 0; + description + " never set"; + } + enum "ntp-loop-flt-f-set" { + value 1; + description + " drift set from file"; + } + enum "ntp-loop-flt-spik" { + value 2; + description + " spike"; + } + enum "ntp-loop-flt-freq" { + value 3; + description + " drift being measured"; + } + enum "ntp-loop-flt-sync" { + value 4; + description + " normal controlled loop"; + } + enum "ntp-loop-flt-unkn" { + value 5; + description + " unknown"; + } + } + description + "Loop filter state"; + } + + typedef Ntp-peer-status { + type enumeration { + enum "ntp-ctl-pst-sel-reject" { + description + " reject"; + } + enum "ntp-ctl-pst-sel-sane" { + description + " x falsetick"; + } + enum "ntp-ctl-pst-sel-correct" { + description + " . excess "; + } + enum "ntp-ctl-pst-sel-selcand" { + description + " - outlyer"; + } + enum "ntp-ctl-pst-sel-sync-cand" { + description + " + candidate"; + } + enum "ntp-ctl-pst-sel-distsys-peer" { + description + " # selected"; + } + enum "ntp-ctl-pst-sel-sys-peer" { + description + " * sys peer"; + } + enum "ntp-ctl-pst-sel-pps" { + description + " o pps peer"; + } + } + description + "Type of peer status"; + } + + typedef Ntp-mode { + type enumeration { + enum "ntp-mode-unspec" { + description + "Unspecified probably old NTP version"; + } + enum "ntp-mode-symetric-active" { + description + "Symmetric active"; + } + enum "ntp-mode-symetric-passive" { + description + "Symmetric passive"; + } + enum "ntp-mode-client" { + description + "Client mode"; + } + enum "ntp-mode-server" { + description + "Server mode"; + } + enum "ntp-mode-xcast-server" { + description + "Broadcast mode"; + } + enum "ntp-mode-control" { + description + "Control mode packet"; + } + enum "ntp-mode-private" { + description + "Implementation defined function"; + } + enum "ntp-mode-xcast-client" { + description + "A broadcast client mode"; + } + } + description + "Type of mode"; + } + + typedef Ntp-leap { + type enumeration { + enum "ntp-leap-no-warning" { + description + "Normal, no leap second warning"; + } + enum "ntp-leap-addse-cond" { + description + "Last minute of day has 61 seconds"; + } + enum "ntp-leap-delse-cond" { + description + "Last minute of day has 59 seconds"; + } + enum "ntp-leap-not-in-sync" { + description + "Overload, clock is free running"; + } + } + description + "Type of leap"; + } + + grouping NTP-EDM-PEER-SUMMARY-INFO { + description + "Peer summary info"; + container peer-info-common { + description + "Common peer info"; + uses NTP-EDM-PEER-INFO-COMMON; + } + leaf time-since { + type int32; + description + "Time since last frame received (-1=none)"; + } + } + + grouping NTP-EDM-ASSOC-SUMMARY-RESULT { + description + "The NTP association result"; + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-leap { + type Ntp-leap; + description + "Leap"; + } + list peer-summary-info { + description + "Peer info"; + uses NTP-EDM-PEER-SUMMARY-INFO; + } + } + + grouping NTP-EDM-STATUS-RESULT { + description + "The NTP status result"; + container sys-ref-time { + description + "Reference time"; + uses EDM-L-FP; + } + container sys-drift { + description + "System Drift"; + uses EDM-L-FP; + } + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-dispersion { + type string; + description + "Peer dispersion"; + } + leaf sys-offset { + type string; + description + "Clock offset"; + } + leaf clock-period { + type uint32; + units "nanosecond"; + description + "Clock period in nanosecs"; + } + leaf sys-leap { + type Ntp-leap; + description + "leap"; + } + leaf sys-precision { + type int8; + description + "Precision"; + } + leaf sys-stratum { + type uint8; + description + "Stratum"; + } + leaf sys-ref-id { + type inet:ipv4-address; + description + "Reference clock ID"; + } + leaf sys-root-delay { + type string; + description + "Root delay"; + } + leaf sys-root-dispersion { + type string; + description + "Root dispersion"; + } + leaf loop-filter-state { + type Ntp-loop-filter-state; + description + "Loop Filter State"; + } + leaf poll-interval { + type uint8; + description + "Peer poll interval"; + } + leaf is-updated { + type Clock-update-node; + description + "Is clock updated"; + } + leaf last-update { + type int32; + description + "Last Update"; + } + } + + grouping FILTER-DETAILS { + description + "Sub part of peer info"; + leaf filter-delay { + type string; + description + "filter delay"; + } + leaf filter-offset { + type string; + description + "filter offset"; + } + leaf filter-disp { + type string; + description + "filter disp"; + } + } + + grouping EDM-UL-F { + description + "EDM UL F"; + leaf frac { + type uint32; + description + "Fractional format in NTP reference code"; + } + } + + grouping EDM-UL-I { + description + "EDM UL I"; + leaf int { + type uint32; + description + "Integer format in NTP reference code"; + } + } + + grouping EDM-L-FP { + description + "EDM L FP"; + container sec { + description + "Second part in 64-bit NTP timestamp"; + uses EDM-UL-I; + } + container frac-secs { + description + "Fractional part in 64-bit NTP timestamp"; + uses EDM-UL-F; + } + } + + grouping NTP-EDM-PEER-INFO-COMMON { + description + "Peer common info"; + leaf host-mode { + type Ntp-mode; + description + "Association mode with this peer"; + } + leaf is-configured { + type boolean; + description + "Is configured"; + } + leaf address { + type string; + description + "Peer Address"; + } + leaf reference-id { + type inet:ipv4-address; + description + "Peer reference ID"; + } + leaf host-poll { + type uint8; + description + "Host poll"; + } + leaf reachability { + type uint8; + description + "Reachability"; + } + leaf stratum { + type uint8; + description + "Peer stratum"; + } + leaf status { + type Ntp-peer-status; + description + "Peer status"; + } + leaf delay { + type string; + description + "Peer delay"; + } + leaf offset { + type string; + description + "Peer offset"; + } + leaf dispersion { + type string; + description + "Peer dispersion"; + } + leaf is-sys-peer { + type boolean; + description + "Indicates whether this is syspeer"; + } + } + + grouping NTP-EDM-PEER-DETAIL-INFO { + description + "Peer Detail Information"; + container peer-info-common { + description + "Common peer info"; + uses NTP-EDM-PEER-INFO-COMMON; + } + container ref-time { + description + "Reference time"; + uses EDM-L-FP; + } + container originate-time { + description + "Originate timestamp"; + uses EDM-L-FP; + } + container receive-time { + description + "Receive timestamp"; + uses EDM-L-FP; + } + container transmit-time { + description + "Transmit timestamp"; + uses EDM-L-FP; + } + leaf leap { + type Ntp-leap; + description + "Leap"; + } + leaf peer-mode { + type Ntp-mode; + description + "Peer's association mode"; + } + leaf poll-interval { + type uint8; + description + "Peer poll interval"; + } + leaf is-ref-clock { + type boolean; + description + "Is refclock"; + } + leaf is-authenticated { + type boolean; + description + "Is authenticated"; + } + leaf root-delay { + type string; + description + "Root delay"; + } + leaf root-dispersion { + type string; + description + "Root dispersion"; + } + leaf synch-distance { + type string; + description + "Synch distance"; + } + leaf precision { + type int8; + description + "Precision"; + } + leaf version { + type uint8; + description + "NTP version"; + } + leaf filter-index { + type uint32; + description + "Index into filter shift register"; + } + list filter-detail { + max-elements "8"; + description + "Filter Details"; + uses FILTER-DETAILS; + } + } + + grouping NTP-EDM-ASSOC-DETAIL-RESULT { + description + "The NTP association detail result"; + leaf is-ntp-enabled { + type boolean; + description + "Is NTP enabled"; + } + leaf sys-leap { + type Ntp-leap; + description + "Leap"; + } + list peer-detail-info { + description + "Peer info"; + uses NTP-EDM-PEER-DETAIL-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper.yang new file mode 100644 index 0000000..24dd870 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-ntp-oper.yang @@ -0,0 +1,74 @@ +module Cisco-IOS-XR-ip-ntp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-ntp-oper"; + prefix ip-ntp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-ntp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-ntp package operational data. + + This module contains definitions + for the following management objects: + ntp: NTP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ntp { + config false; + description + "NTP operational data"; + container nodes { + description + "Node-specific NTP operational data"; + list node { + key "node"; + description + "NTP operational data for a particular node"; + container associations-detail { + description + "NTP Associations Detail information"; + uses NTP-EDM-ASSOC-DETAIL-RESULT; + } + container status { + description + "Status of NTP peer(s)"; + uses NTP-EDM-STATUS-RESULT; + } + container associations { + description + "NTP Associations information"; + uses NTP-EDM-ASSOC-SUMMARY-RESULT; + } + leaf node { + type xr:Node-id; + description + "The node identifier"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-cfg.yang new file mode 100644 index 0000000..bff13e0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-cfg.yang @@ -0,0 +1,337 @@ +module Cisco-IOS-XR-ip-pfilter-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-cfg"; + prefix ip-pfilter-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-pfilter package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv6-packet-filter { + description + "IPv6 Packet Filtering configuration for the + interface"; + container inbound { + description + "IPv6 Packet filter to be applied to inbound + packets"; + leaf common-acl-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv6 + Packet Filter Name to be applied to Inbound + packets, ACL providing HW optimization when + applied on multiple interfaces. NOTE: This + parameter is mandatory if 'Name' is not + specified."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv6 + Packet Filter Name to be applied to Inbound + NOTE: This parameter is mandatory if + 'CommonACLName' is not specified."; + } + leaf interface-statistics { + type empty; + description + "True if packets hitting the ACL should be + counted in hardware per interface.The default + is not to count them. NOTE: + InterfaceStatistics is allowed only if Name is + specified."; + } + leaf compression-level { + type uint32 { + range "0..3"; + } + description + "The level of compression applied to the ACL on + this interface. The range is 0 to 3 with + default being no compression (0)."; + } + leaf-list acl-name-array { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + max-elements "5"; + description + "Array of IPv6 Packet Filter Names to be + applied to Inbound packets"; + } + leaf-list is-common-array { + type boolean; + max-elements "5"; + description + "Array of CommonACL flags for each ACL. TRUE + indicates HW optimization on multiple + interfaces is provided"; + } + } + container outbound { + description + "IPv6 Packet filter to be applied to outbound + packets"; + leaf do-not-use { + type string { + length "1..65"; + } + description + "Reserved. Error if specified."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv6 + Packet Filter Name to be applied to Outbound + packets."; + } + leaf interface-statistics { + type empty; + description + "True if packets hitting the ACL should be + counted in hardware per interface.The default + is not to count them."; + } + leaf compression-level { + type uint32 { + range "0..3"; + } + description + "The level of compression applied to the ACL on + this interface. The range is 0 to 3 with + default being no compression (0)."; + } + leaf-list acl-name-array { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + max-elements "5"; + description + "Array of IPv6 Packet Filter Names to be + applied to Inbound packets"; + } + leaf-list is-common-array { + type boolean; + max-elements "5"; + description + "Array of CommonACL flags for each ACL. TRUE + indicates HW optimization on multiple + interfaces is provided"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container es-packet-filter { + description + "ES Packet Filtering configuration for the + interface"; + leaf outbound { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Name of filter to be applied to outbound + packets"; + } + leaf inbound { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Name of filter to be applied to inbound packets"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv4-packet-filter { + description + "IPv4 Packet Filtering configuration for the + interface"; + container outbound { + description + "IPv4 Packet filter to be applied to outbound + packets"; + leaf do-not-use { + type string { + length "1..65"; + } + description + "Reserved. Error if specified."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv4 + Packet Filter Name to be applied to Outbound + packets NOTE: This parameter is mandatory if + 'CommonACLName' is not specified."; + } + leaf hardware-count { + type empty; + description + "True if packets hitting the ACL should be + counted in the hardware. The default is not + to count them."; + } + leaf interface-statistics { + type empty; + description + "True if packets hitting the ACL should be + counted in hardware per interface.The default + is not to count them."; + } + leaf compression-level { + type uint32 { + range "0..3"; + } + description + "The level of compression applied to the ACL on + this interface. The range is 0 to 3 with + default being no compression (0)."; + } + leaf-list acl-name-array { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + max-elements "5"; + description + "Array of IPv4 Packet Filter Names to be + applied to Outbound packets"; + } + leaf-list is-common-array { + type boolean; + max-elements "5"; + description + "Array of CommonACL flags for each ACL. TRUE + indicates HW optimization on multiple + interfaces is provided"; + } + } + container inbound { + description + "IPv4 Packet filter to be applied to inbound + packets"; + leaf common-acl-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv4 + Packet Filter Name to be applied to Inbound + packets, ACL providing HW optimization when + applied on multiple interfaces. NOTE: This + parameter is mandatory if 'Name' is not + specified."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Reserved for backward compatibility. IPv4 + Packet Filter Name to be applied to Inbound + packets NOTE: This parameter is mandatory if + 'CommonACLName' is not specified."; + } + leaf hardware-count { + type empty; + description + "True if packets hitting the ACL should be + counted in the hardware. The default is not + to count them. NOTE: HardwareCount is allowed + only if Name is specified."; + } + leaf interface-statistics { + type empty; + description + "True if packets hitting the ACL should be + counted in hardware per interface.The default + is not to count them. NOTE: + InterfaceStatistics is allowed only if Name is + specified."; + } + leaf compression-level { + type uint32 { + range "0..3"; + } + description + "The level of compression applied to the ACL on + this interface. The range is 0 to 3 with + default being no compression (0)."; + } + leaf-list acl-name-array { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + max-elements "5"; + description + "Array of IPv4 Packet Filter Names to be + applied to Inbound packets"; + } + leaf-list is-common-array { + type boolean; + max-elements "5"; + description + "Array of CommonACL flags for each ACL. TRUE + indicates HW optimization on multiple + interfaces is provided"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang new file mode 100644 index 0000000..f58fba1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper-sub1.yang @@ -0,0 +1,39 @@ +submodule Cisco-IOS-XR-ip-pfilter-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-pfilter-oper { + prefix Cisco-IOS-XR-ip-pfilter-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-pfilter package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PFILTER-INTF-ACL-INFO { + description + "Pfilter interface ACL details"; + leaf acl-info { + type string; + description + "acl information"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper.yang new file mode 100644 index 0000000..ebec17d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-oper.yang @@ -0,0 +1,98 @@ +module Cisco-IOS-XR-ip-pfilter-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-oper"; + prefix ip-pfilter-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-pfilter-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-pfilter package operational data. + + This module contains definitions + for the following management objects: + pfilter-ma: Root class of PfilterMa Oper schema + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ACL-INFO-TABLE { + description + "Common node of ipv4, ipv6"; + container acl-info-table { + description + "Operational data for pfilter"; + container interface-infos { + description + "Operational data for pfilter"; + list interface-info { + key "interface-name"; + description + "Operational data for pfilter in bag"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses PFILTER-INTF-ACL-INFO; + } + } + } + } + + container pfilter-ma { + config false; + description + "Root class of PfilterMa Oper schema"; + container nodes { + description + "Node-specific operational data"; + list node { + key "node-name"; + description + "PfilterMa operational data for a particular + node"; + container process { + description + "Operational data for pfilter"; + container ipv6 { + description + "Operational data for pfilter"; + uses ACL-INFO-TABLE; + } + container ipv4 { + description + "Operational data for pfilter"; + uses ACL-INFO-TABLE; + } + } + leaf node-name { + type xr:Node-id; + description + "The node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang new file mode 100644 index 0000000..ac5757a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-pfilter-subscriber-cfg.yang @@ -0,0 +1,202 @@ +module Cisco-IOS-XR-ip-pfilter-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-pfilter-subscriber-cfg"; + prefix ip-pfilter-subscriber-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-pfilter-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping IPV6-PACKET-FILTER { + description + "Common node of ppp, subscriber-service, + ip-subscriber"; + container ipv6-packet-filter { + description + "IPv6 Packet Filtering configuration for the + interface"; + container inbound { + description + "IPv6 Packet filter to be applied to inbound + packets"; + leaf common-acl-name { + type string; + description + "Not supported (Leave unspecified)."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "IPv6 Packet Filter Name to be applied to + Inbound NOTE: This parameter is mandatory if + 'CommonACLName' is not specified."; + } + leaf interface-statistics { + type empty; + description + "Not supported (Leave unspecified)."; + } + } + container outbound { + description + "IPv6 Packet filter to be applied to outbound + packets"; + leaf common-acl-name { + type string; + description + "Not supported (Leave unspecified)."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "IPv6 Packet Filter Name to be applied to + Outbound packets."; + } + leaf interface-statistics { + type empty; + description + "Not supported (Leave unspecified)."; + } + } + } + } + + grouping IPV4-PACKET-FILTER { + description + "Common node of ppp, subscriber-service, + ip-subscriber"; + container ipv4-packet-filter { + description + "IPv4 Packet Filtering configuration for the + template"; + container outbound { + description + "IPv4 Packet filter to be applied to outbound + packets"; + leaf common-acl-name { + type string; + description + "Not supported (Leave unspecified)."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "IPv4 Packet Filter Name to be applied to + Outbound packets."; + } + leaf hardware-count { + type empty; + description + "Not supported (Leave unspecified)."; + } + leaf interface-statistics { + type empty; + description + "Not supported (Leave unspecified)."; + } + } + container inbound { + description + "IPv4 Packet filter to be applied to inbound + packets"; + leaf common-acl-name { + type string; + description + "Not supported (Leave unspecified)."; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "IPv4 Packet Filter Name to be applied to + Inbound packets NOTE: This parameter is + mandatory if 'CommonACLName' is not specified."; + } + leaf hardware-count { + type empty; + description + "Not supported (Leave unspecified)."; + } + leaf interface-statistics { + type empty; + description + "Not supported (Leave unspecified)."; + } + } + } + } + + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-PACKET-FILTER; + } + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-PACKET-FILTER; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-PACKET-FILTER; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-PACKET-FILTER; + } + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-PACKET-FILTER; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-PACKET-FILTER; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-raw-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-raw-cfg.yang new file mode 100644 index 0000000..2b07249 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-raw-cfg.yang @@ -0,0 +1,92 @@ +module Cisco-IOS-XR-ip-raw-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-raw-cfg"; + prefix ip-raw-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-raw package configuration. + + This module contains definitions + for the following management objects: + ip-raw: Global IP RAW configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ip-raw { + description + "Global IP RAW configuration"; + container num-thread { + presence "Indicates a num-thread node is configured."; + description + "RAW InQueue and OutQueue threads"; + leaf raw-in-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "InQ Threads"; + } + leaf raw-out-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "OutQ Threads"; + } + } + container directory { + presence "Indicates a directory node is configured."; + description + "RAW directory details"; + leaf directoryname { + type string; + mandatory true; + description + "Directory name"; + } + leaf max-raw-debug-files { + type uint32 { + range "1..18000"; + } + default "256"; + description + "Set number of Debug files"; + } + leaf max-file-size-files { + type uint32 { + range "1024..4294967295"; + } + units "byte"; + description + "Set size of debug files in bytes"; + } + } + leaf receive-q { + type uint32 { + range "40..800"; + } + description + "RAW receive Queue Size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-cfg.yang new file mode 100644 index 0000000..1993c67 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-cfg.yang @@ -0,0 +1,164 @@ +module Cisco-IOS-XR-ip-rib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-cfg"; + prefix ip-rib-cfg; + + import Cisco-IOS-XR-infra-rsi-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rib package configuration. + + This module contains definitions + for the following management objects: + rib: RIB configuration. + + This YANG module augments the + Cisco-IOS-XR-infra-rsi-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-31 { + description + "Fixed missing augmentation from multiple MDA parent."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NEXT-HOP-DAMPENING-DISABLE { + description + "Common node of ipv4, ipv6"; + leaf next-hop-dampening-disable { + type empty; + description + "Disable next-hop dampening"; + } + } + + grouping REDISTRIBUTION-HISTORY { + description + "Common node of ipv4, ipv6"; + container redistribution-history { + description + "Redistribution history related configs"; + container keep { + description + "Retain redistribution history after disconnect."; + leaf bcdl { + type empty; + description + "Enable retain BCDL history"; + } + } + leaf bcdl-client { + type uint32 { + range "10..2000000"; + } + description + "Maximum BCDL redistribution history size."; + } + leaf protocol-client { + type uint32 { + range "10..250000"; + } + description + "Maximum protocol redistribution history size."; + } + } + } + + augment "/a1:vrfs/a1:vrf/a1:afs/a1:af" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-rsi-cfg'"; + container maximum-prefix { + presence "Indicates a maximum-prefix node is configured."; + description + "Set maximum prefix limits"; + leaf prefix-limit { + type uint32 { + range "32..10000000"; + } + mandatory true; + description + "Set table's maximum prefix limit"; + } + leaf mid-threshold { + type uint32 { + range "1..100"; + } + description + "Mid-threshold (% of maximum)"; + } + } + } + augment "/a1:global-af/a1:afs/a1:af" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-rsi-cfg'"; + container maximum-prefix { + presence "Indicates a maximum-prefix node is configured."; + description + "Set maximum prefix limits"; + leaf prefix-limit { + type uint32 { + range "32..10000000"; + } + mandatory true; + description + "Set table's maximum prefix limit"; + } + leaf mid-threshold { + type uint32 { + range "1..100"; + } + description + "Mid-threshold (% of maximum)"; + } + } + } + container rib { + description + "RIB configuration."; + container af { + description + "RIB address family configuration"; + container ipv4 { + description + "IPv4 configuration"; + uses NEXT-HOP-DAMPENING-DISABLE; + uses REDISTRIBUTION-HISTORY; + } + container ipv6 { + description + "IPv6 configuration"; + uses NEXT-HOP-DAMPENING-DISABLE; + uses REDISTRIBUTION-HISTORY; + } + } + leaf max-recursion-depth { + type uint32 { + range "5..16"; + } + description + "Set maximum depth for route recursion check"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang new file mode 100644 index 0000000..55afe06 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper-sub1.yang @@ -0,0 +1,847 @@ +submodule Cisco-IOS-XR-ip-rib-ipv4-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-rib-ipv4-oper { + prefix Cisco-IOS-XR-ip-rib-ipv4-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-rib-ipv4 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv4-rib-edm-addr { + type inet:ipv4-address; + description + "Ipv4 rib edm addr"; + } + + grouping IPV4-RIB-EDM-TABLE { + description + "Information of a routing table"; + leaf tableid { + type uint32; + description + "Table id"; + } + leaf afi { + type uint32; + description + "Address Family"; + } + leaf safi { + type uint32; + description + "sub Address Family"; + } + leaf vrf-name { + type string; + description + "VRF Name of the table"; + } + leaf table-name { + type string; + description + "Name of the table"; + } + leaf version { + type uint64; + description + "Table version"; + } + leaf conf-prefix-limit { + type uint32; + description + "Configured prefix limit"; + } + leaf current-prefix-count { + type uint32; + description + "Num prefixes in table"; + } + leaf num-svdlcl-prefix { + type uint32; + description + "Num SVD local prefixes"; + } + leaf num-svdrem-prefix { + type uint32; + description + "Num SVD remote prefixes"; + } + leaf table-version { + type uint64; + description + "Version no. of the table"; + } + leaf prefix-limit-notified { + type boolean; + description + "Prefix limit state indicator"; + } + leaf fwd-referenced { + type boolean; + description + "Table in fwd reference state?"; + } + leaf deleted { + type boolean; + description + "Table deleted?"; + } + leaf initial-converge { + type boolean; + description + "Table has reached convergence"; + } + } + + grouping RIB-EDM-ROUTE-COUNT { + description + "Specifics of route count"; + leaf active-routes-count { + type uint32; + description + "Number of active routes"; + } + leaf num-backup-routes { + type uint32; + description + "Number of backup (inactive) routes"; + } + leaf num-active-paths { + type uint32; + description + "Number of paths to active routes"; + } + leaf num-backup-paths { + type uint32; + description + "Number of paths to backup routes"; + } + } + + grouping RIB-EDM-PROTO-ROUTE-SUMM-DETAIL { + description + "Details of Protocol route types"; + container proto-route-count { + description + "Count for proto. instance"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-none { + description + "No route type"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-other { + description + "Unknown route type"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-intra { + description + "OSPF route within an area"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-inter { + description + "OSPF route across diff. areas"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-extern1 { + description + "OSPF external route of type 1"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-extern2 { + description + "OSPF external route of type 2"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-sum { + description + "IS-IS summary route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l1 { + description + "IS-IS level 1 route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l2 { + description + "IS-IS level 2 route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l1-ia { + description + "IS-IS level1 inter-area route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-int { + description + "iBGP route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-ext { + description + "eBGP route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-loc { + description + "BGP local route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-nssa1 { + description + "OSPF NSSA ext. route type 1"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-nssa2 { + description + "OSPF NSSA ext. route type 2"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-igrp2-int { + description + "EIGRP internal route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-igrp2-ext { + description + "EIGRP external route"; + uses RIB-EDM-ROUTE-COUNT; + } + leaf name { + type string; + description + "Proto name"; + } + leaf instance { + type string; + description + "Instance"; + } + } + + grouping IPV4-RIB-EDM-ADVERT { + description + "Route advertisement information"; + list ipv4-rib-edm-advert { + description + "ipv4 rib edm advert"; + leaf protocol-id { + type uint32; + description + "Protocol advertising the route"; + } + leaf client-id { + type uint32; + description + " Client advertising the route"; + } + leaf number-of-extended-communities { + type uint32; + description + "Number of extended communities"; + } + leaf extended-communities { + type yang:hex-string; + description + "Extended communities"; + } + leaf protocol-opaque-flags { + type uint8; + description + "OSPF area-id flags"; + } + leaf protocol-opaque { + type uint32; + description + "OSPF area-id"; + } + leaf code { + type int8; + description + "Protocol code"; + } + leaf instance-name { + type string { + length "0..41"; + } + description + "Instance name"; + } + } + } + + grouping IPV4-RIB-EDM-PROTO { + description + "Information of a rib protocol"; + leaf protocol-names { + type string; + description + "Name"; + } + leaf instance { + type string; + description + "Instance"; + } + leaf version { + type uint32; + description + "Proto version"; + } + leaf redistribution-client-count { + type uint32; + description + "Number of redist clients"; + } + leaf protocol-clients-count { + type uint32; + description + "Number of proto clients"; + } + leaf routes-counts { + type uint32; + description + "Number of routes (including active, backup and + deleted), where, number of backup routes = + RoutesCounts - ActiveRoutesCount - + DeletedRoutesCount "; + } + leaf active-routes-count { + type uint32; + description + "Number of active routes (not deleted)"; + } + leaf deleted-routes-count { + type uint32; + description + "Number of deleted routes"; + } + leaf paths-count { + type uint32; + description + "Number of paths for all routes"; + } + leaf protocol-route-memory { + type uint32; + units "byte"; + description + "Memory for proto's routes and paths in bytes"; + } + leaf backup-routes-count { + type uint32; + description + "Number of backup routes"; + } + } + + grouping RIB-EDM-OPAQUE-OBJ { + description + "Informaton of an opaque data"; + leaf key { + type yang:hex-string; + description + "key"; + } + leaf data { + type yang:hex-string; + description + "data"; + } + } + + grouping IPV4-RIB-EDM-PATH { + description + "Information of a rib path"; + list ipv4-rib-edm-path { + description + "ipv4 rib edm path"; + leaf address { + type Ipv4-rib-edm-addr; + description + "Nexthop"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf information-source { + type Ipv4-rib-edm-addr; + description + "Infosource"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf v6-nexthop { + type inet:ipv6-address; + description + "V6 nexthop"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf v6-information-source { + type inet:ipv6-address; + description + "V6 Infosource"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf metric { + type uint32; + description + "Metrics"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf load-metric { + type uint32; + description + "Load Metrics"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf flags64 { + type uint64; + description + "Flags extended to 64 bits"; + } + leaf flags { + type uint16; + description + "Flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf private-flags { + type uint16; + description + "Private Flags"; + } + leaf looped { + type boolean; + description + "Looping path"; + } + leaf next-hop-table-id { + type uint32; + description + "Nexthop tableid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-vrf-name { + type string; + description + "VRF Name of the nh table"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-table-name { + type string; + description + "NH table name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-afi { + type uint32; + description + "NH afi"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-safi { + type uint32; + description + "NH safi"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf route-label { + type uint32; + description + "Label associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf pathid { + type uint32; + description + "Path id of this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf backup-pathid { + type uint32; + description + "Path id of this path's backup"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf ref-cnt-of-backup { + type uint32; + description + "Refcnt of backup"; + } + leaf number-of-extended-communities { + type uint32; + description + "Number of extended communities"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf mvpn-present { + type boolean; + description + "MVPN attribute present"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf path-rt-present { + type boolean; + description + "Path RT present"; + } + leaf vrf-import-rt-present { + type boolean; + description + "VRFIMPORTRTPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf source-asrt-present { + type boolean; + description + "SOURCEASRTPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf source-rd-present { + type boolean; + description + "SOURCERDPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf segmented-nexthop-present { + type boolean; + description + "SegmentedNexthopPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-id { + type uint32; + description + "NHID associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-id-refcount { + type uint32; + description + "NHID references"; + } + leaf ospf-area-id { + type string; + description + "OSPF area associated with the path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf has-labelstk { + type boolean; + description + "Path has a label stack"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf num-labels { + type uint8; + description + "Number of labels in stack"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf binding-label { + type uint32; + description + "binding Label for this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf nhid-feid { + type uint64; + description + "Fib nhid encap id"; + } + leaf mpls-feid { + type uint64; + description + "Fib mpls encap id"; + } + leaf has-vxlan-network-id { + type boolean; + description + "VXLAN Network Identifier exists for this path"; + } + leaf vxlan-network-id { + type uint32; + description + "VXLAN Network Identifier for this path"; + } + leaf has-xcid { + type boolean; + description + "L2 Cross Connect ID exists for this path"; + } + leaf xcid { + type uint32; + description + "L2 Cross Connect ID for this path"; + } + leaf has-span-diag-interface { + type boolean; + description + "SPAN Diagnostics Interface exists for this path"; + } + leaf span-diag-interface { + type xr:Interface-name; + description + "SPAN Diagnostics Interface for this path"; + } + leaf has-subscriber-parent-interface { + type boolean; + description + "Subscriber Parent Interface exists for this + path"; + } + leaf subscriber-parent-interface { + type xr:Interface-name; + description + "Subscriber Parent Interface for this path"; + } + list remote-backup-addr { + max-elements "2"; + description + "Remote backup node address"; + leaf entry { + type Ipv4-rib-edm-addr; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + list labelstk { + description + "Outgoing label stack for this path"; + leaf entry { + type uint32; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + } + } + + grouping IPV4-RIB-EDM-ROUTE { + description + "Information of a rib route head and rib proto + route"; + container route-path { + description + "Path(s) of the route"; + uses IPV4-RIB-EDM-PATH; + } + leaf prefix { + type Ipv4-rib-edm-addr; + description + "Route prefix"; + } + leaf prefix-length-xr { + type uint8; + description + "Length of prefix"; + } + leaf route-version { + type uint32; + description + "Route version"; + } + leaf protocol-id { + type uint32; + description + "Protocol advertising the route"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf protocol-name { + type string; + description + " Name of Protocol"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf instance { + type string; + description + "Instance name"; + } + leaf client-id { + type uint32; + description + "Client adding the route to RIB"; + } + leaf route-type { + type uint16; + description + "Route type"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf priority { + type uint8; + description + "Route priority"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf svd-type { + type uint8; + description + "SVD Type of route"; + } + leaf flags { + type uint32; + description + "Route flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf extended-flags { + type uint64; + description + "Extended Route flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf tag { + type uint32; + description + "Opaque proto specific info"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf distance { + type uint32; + description + "Distance of the route"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf diversion-distance { + type uint32; + description + "Diversion distance of the route"; + } + leaf metric { + type uint32; + description + "Route metric"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf paths-count { + type uint32; + description + "Number of paths"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf attribute-identity { + type uint32; + description + "BGP Attribute ID"; + } + leaf traffic-index { + type uint8; + description + "BGP Traffic Index"; + } + leaf route-precedence { + type uint8; + description + "Route ip precedence"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf qos-group { + type uint8; + description + "Route qos group"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf flow-tag { + type uint8; + description + "Flow tag"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf fwd-class { + type uint8; + description + "Forward Class"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf pic-count { + type uint8; + description + "Number of pic paths in this route"; + } + leaf active { + type boolean; + description + "Is the route active or backup"; + } + leaf diversion { + type boolean; + description + "Route has a diversion path"; + } + leaf diversion-proto-name { + type string; + description + "Diversion route protocol name"; + } + leaf route-age { + type uint32; + units "second"; + description + "Age of route (seconds)"; + } + leaf route-label { + type uint32; + description + "Local label of the route"; + } + leaf version { + type uint32; + description + "Route Version"; + } + leaf tbl-version { + type uint64; + description + "Table Version"; + } + leaf route-modify-time { + type uint64; + units "nanosecond"; + description + "Route modification time(nanoseconds)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper.yang new file mode 100644 index 0000000..3a9e077 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv4-oper.yang @@ -0,0 +1,587 @@ +module Cisco-IOS-XR-ip-rib-ipv4-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv4-oper"; + prefix ip-rib-ipv4-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-rib-ipv4-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rib-ipv4 package operational data. + + This module contains definitions + for the following management objects: + rib-stdby: RIB standby node operational data + rib: rib + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rib-saf-name { + type string { + pattern "(Unicast)|(Multicast)"; + } + description + "Unicast: Comment: Ucast string for , + Multicast: Comment: Mcast string for "; + } + + typedef Rib-af-name { + type string { + pattern "(IPv4)|(IPv6)"; + } + description + "IPv4: Comment: v4 string for , IPv6: + Comment: v6 string for "; + } + + grouping VRF-TABLE { + description + "Common node of rib, rib-stdby"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "Specific VRF"; + container afs { + description + "Address Family (AF) table"; + list af { + key "af-name"; + description + "Specific AF information"; + container safs { + description + "Subsequent Address Family (SAF) table"; + list saf { + key "saf-name"; + description + "Specific SAF information"; + container ip-rib-route-table-names { + description + "Global container of routes"; + list ip-rib-route-table-name { + key "route-table-name"; + description + "IP RIB Route table name for a topology"; + container routes { + description + "Route information "; + list route { + description + "Route information of a specific Network + Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + leaf next-hop-address { + type inet:ipv4-address-no-zone; + description + "NextHop Address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Outgoing Interface"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container deleted-routes { + description + "Deleted"; + list deleted-route { + description + "Route information for a specific + deleted address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container destination-kw { + description + "Destination KW"; + container dest-best-routes { + description + "Best Local"; + list dest-best-route { + key "address"; + description + "Best local route information for a + specific Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container dest-q-routes { + description + "Quarantine"; + list dest-q-route { + description + "Route information of a specific Backup + Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container dest-backup-routes { + description + "Backup"; + list dest-backup-route { + description + "Route information of a specific Backup + Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container dest-next-hop-routes { + description + "Resolving next hop"; + list dest-next-hop-route { + key "address"; + description + "Nexthop information for a specific + address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + } + container opaques { + description + "Opaque information "; + list opaque { + description + "Opaque item "; + leaf opaque-clientid { + type int32; + description + "Opaque Client ID"; + } + leaf opaque-protoid { + type int32; + description + "Opaque Proto ID"; + } + leaf opaque-key-type { + type int32; + description + "Opaque key type"; + } + leaf opaque-key-size { + type int32; + description + "Opaque key size"; + } + leaf opaque-data-size { + type int32; + description + "Opaque data size"; + } + leaf opaque-string { + type xr:Cisco-ios-xr-string; + description + "Opaque string"; + } + uses RIB-EDM-OPAQUE-OBJ; + } + } + container protocol { + description + "Contains the classification of routes by + protocol"; + container mobile { + description + "Mobile Protocol"; + uses NON-AS; + } + container subscriber { + description + "Subscriber Protocol"; + uses NON-AS; + } + container connected { + description + "Connected Protocol"; + uses NON-AS; + } + container dagr { + description + "DAGR Protocol(Direct-Attached Gateway + Redundancy) Protocol"; + uses NON-AS; + } + container rip { + description + "RIP Protocol"; + uses NON-AS; + } + container ospf { + description + "OSPF Protocol"; + uses AS; + } + container static { + description + "Static Protocol"; + uses NON-AS; + } + container rpl { + description + "RPL Protocol"; + uses AS; + } + container application { + description + "Application Protocol"; + uses NON-AS; + } + container te-client { + description + "TEClient Protocol"; + uses NON-AS; + } + container eigrp { + description + "EIGRP Protocol"; + uses AS; + } + container local { + description + "Local Protocol"; + container smiap { + description + "SMIAP"; + uses PROTOCOL-ROUTE-TABLE; + uses INFORMATION; + } + container lspv { + description + "LSPV(Label Switched Path Verification) + Protocol"; + uses PROTOCOL-ROUTE-TABLE; + uses INFORMATION; + } + uses NON-AS; + } + container bgp { + description + "BGP Protocol"; + uses AS; + } + container isis { + description + "ISIS Protocol"; + uses AS; + } + } + container q-routes { + description + "Quarantine"; + list q-route { + description + "Route information for a specific + quarantined address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container backup-routes { + description + "Backup route information for the given + table"; + list backup-route { + description + "Route information for a specific backup + address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + leaf protoid { + type int32; + description + "Proto ID"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + container adverts { + description + "Route advertiser information "; + list advert { + description + "Route information of a specific Network + Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ADVERT; + } + } + leaf route-table-name { + type xr:Cisco-ios-xr-string; + description + "Name of the route table"; + } + } + } + leaf saf-name { + type Rib-saf-name; + description + "Name of the SAF"; + } + } + } + leaf af-name { + type Rib-af-name; + description + "Name of the AF"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF"; + } + } + } + } + + grouping AS { + description + "Common node of bgp, ospf, isis, eigrp, rpl"; + list as { + key "as"; + description + "Autonomous System of protocol"; + leaf as { + type xr:Cisco-ios-xr-string; + description + "Autonomous system"; + } + uses PROTOCOL-ROUTE-TABLE; + uses INFORMATION; + } + } + + grouping INFORMATION { + description + "Common node of as, non-as, smiap, lspv"; + container information { + description + "Protocol related Information"; + uses IPV4-RIB-EDM-PROTO; + } + } + + grouping RIB-TABLE { + description + "Common node of rib, rib-stdby"; + container rib-table-ids { + description + "RIB table"; + list rib-table-id { + key "tableid"; + description + "Specific Table"; + container summary-protos { + description + "RIB table summary"; + list summary-proto { + key "protoid"; + description + "Route summary information for a specific + table/protocol "; + leaf protoid { + type int32; + description + "Proto ID"; + } + uses RIB-EDM-PROTO-ROUTE-SUMM-DETAIL; + } + } + container rib-table-itf-hndls { + description + "RIB table interface"; + list rib-table-itf-hndl { + key "handle"; + description + "Interface handle"; + leaf handle { + type int32; + description + "Itf Handle"; + } + list itf-route { + key "address"; + description + "Route information for a specific + table/interface "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + } + container information { + description + "Table related Information"; + uses IPV4-RIB-EDM-TABLE; + } + leaf tableid { + type xr:Hex-integer; + description + "Table ID"; + } + } + } + } + + grouping NON-AS { + description + "Common node of local, connected, rip, static, + subscriber, mobile, dagr, application, te-client"; + container non-as { + description + "Non Autonomous System of protocol"; + uses PROTOCOL-ROUTE-TABLE; + uses INFORMATION; + } + } + + grouping PROTOCOL-ROUTE-TABLE { + description + "Common node of as, non-as, smiap, lspv"; + container protocol-routes { + description + "Protocol specific Route"; + list protocol-route { + description + " Route information of a specific Network + Address "; + leaf address { + type inet:ipv4-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + uses IPV4-RIB-EDM-ROUTE; + } + } + } + + container rib-stdby { + config false; + description + "RIB standby node operational data"; + uses VRF-TABLE; + uses RIB-TABLE; + } + container rib { + config false; + description + "rib"; + uses VRF-TABLE; + uses RIB-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang new file mode 100644 index 0000000..f49fa68 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper-sub1.yang @@ -0,0 +1,832 @@ +submodule Cisco-IOS-XR-ip-rib-ipv6-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-rib-ipv6-oper { + prefix Cisco-IOS-XR-ip-rib-ipv6-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-rib-ipv6 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6-rib-edm-addr { + type inet:ipv6-address; + description + "Ipv6 rib edm addr"; + } + + grouping IPV6-RIB-EDM-PROTO { + description + "Information of a rib protocol"; + leaf protocol-names { + type string; + description + "Name"; + } + leaf instance { + type string; + description + "Instance"; + } + leaf version { + type uint32; + description + "Proto version"; + } + leaf redistribution-client-count { + type uint32; + description + "Number of redist clients"; + } + leaf protocol-clients-count { + type uint32; + description + "Number of proto clients"; + } + leaf routes-counts { + type uint32; + description + "Number of routes (including active, backup and + deleted), where, number of backup routes = + RoutesCounts - ActiveRoutesCount - + DeletedRoutesCount "; + } + leaf active-routes-count { + type uint32; + description + "Number of active routes (not deleted)"; + } + leaf deleted-routes-count { + type uint32; + description + "Number of deleted routes"; + } + leaf paths-count { + type uint32; + description + "Number of paths for all routes"; + } + leaf protocol-route-memory { + type uint32; + units "byte"; + description + "Memory for proto's routes and paths in bytes"; + } + leaf backup-routes-count { + type uint32; + description + "Number of backup routes"; + } + } + + grouping IPV6-RIB-EDM-ADVERT { + description + "Route advertisement information"; + list ipv6-rib-edm-advert { + description + "ipv6 rib edm advert"; + leaf protocol-id { + type uint32; + description + "Protocol advertising the route"; + } + leaf client-id { + type uint32; + description + " Client advertising the route"; + } + leaf number-of-extended-communities { + type uint32; + description + "Number of extended communities"; + } + leaf extended-communities { + type yang:hex-string; + description + "Extended communities"; + } + leaf protocol-opaque-flags { + type uint8; + description + "OSPF area-id flags"; + } + leaf protocol-opaque { + type uint32; + description + "OSPF area-id"; + } + leaf code { + type int8; + description + "Protocol code"; + } + leaf instance-name { + type string { + length "0..41"; + } + description + "Instance name"; + } + } + } + + grouping IPV6-RIB-EDM-PATH { + description + "Information of a rib path"; + list ipv6-rib-edm-path { + description + "ipv6 rib edm path"; + leaf address { + type Ipv6-rib-edm-addr; + description + "Nexthop"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf information-source { + type Ipv6-rib-edm-addr; + description + "Infosource"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf v6-nexthop { + type inet:ipv6-address; + description + "V6 nexthop"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf v6-information-source { + type inet:ipv6-address; + description + "V6 Infosource"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf metric { + type uint32; + description + "Metrics"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf load-metric { + type uint32; + description + "Load Metrics"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf flags64 { + type uint64; + description + "Flags extended to 64 bits"; + } + leaf flags { + type uint16; + description + "Flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf private-flags { + type uint16; + description + "Private Flags"; + } + leaf looped { + type boolean; + description + "Looping path"; + } + leaf next-hop-table-id { + type uint32; + description + "Nexthop tableid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-vrf-name { + type string; + description + "VRF Name of the nh table"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-table-name { + type string; + description + "NH table name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-afi { + type uint32; + description + "NH afi"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-safi { + type uint32; + description + "NH safi"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf route-label { + type uint32; + description + "Label associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf pathid { + type uint32; + description + "Path id of this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf backup-pathid { + type uint32; + description + "Path id of this path's backup"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf ref-cnt-of-backup { + type uint32; + description + "Refcnt of backup"; + } + leaf number-of-extended-communities { + type uint32; + description + "Number of extended communities"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf mvpn-present { + type boolean; + description + "MVPN attribute present"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf path-rt-present { + type boolean; + description + "Path RT present"; + } + leaf vrf-import-rt-present { + type boolean; + description + "VRFIMPORTRTPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf source-asrt-present { + type boolean; + description + "SOURCEASRTPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf source-rd-present { + type boolean; + description + "SOURCERDPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf segmented-nexthop-present { + type boolean; + description + "SegmentedNexthopPresent"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-id { + type uint32; + description + "NHID associated with this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf next-hop-id-refcount { + type uint32; + description + "NHID references"; + } + leaf ospf-area-id { + type string; + description + "OSPF area associated with the path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf has-labelstk { + type boolean; + description + "Path has a label stack"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf num-labels { + type uint8; + description + "Number of labels in stack"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf binding-label { + type uint32; + description + "binding Label for this path"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf nhid-feid { + type uint64; + description + "Fib nhid encap id"; + } + leaf mpls-feid { + type uint64; + description + "Fib mpls encap id"; + } + leaf has-vxlan-network-id { + type boolean; + description + "VXLAN Network Identifier exists for this path"; + } + leaf vxlan-network-id { + type uint32; + description + "VXLAN Network Identifier for this path"; + } + leaf has-xcid { + type boolean; + description + "L2 Cross Connect ID exists for this path"; + } + leaf xcid { + type uint32; + description + "L2 Cross Connect ID for this path"; + } + leaf has-span-diag-interface { + type boolean; + description + "SPAN Diagnostics Interface exists for this path"; + } + leaf span-diag-interface { + type xr:Interface-name; + description + "SPAN Diagnostics Interface for this path"; + } + leaf has-subscriber-parent-interface { + type boolean; + description + "Subscriber Parent Interface exists for this + path"; + } + leaf subscriber-parent-interface { + type xr:Interface-name; + description + "Subscriber Parent Interface for this path"; + } + list remote-backup-addr { + max-elements "2"; + description + "Remote backup node address"; + leaf entry { + type Ipv6-rib-edm-addr; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + list labelstk { + description + "Outgoing label stack for this path"; + leaf entry { + type uint32; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + } + } + + grouping IPV6-RIB-EDM-ROUTE { + description + "Information of a rib route head and rib proto + route"; + container route-path { + description + "Path(s) of the route"; + uses IPV6-RIB-EDM-PATH; + } + leaf prefix { + type Ipv6-rib-edm-addr; + description + "Route prefix"; + } + leaf prefix-length-xr { + type uint8; + description + "Length of prefix"; + } + leaf route-version { + type uint32; + description + "Route version"; + } + leaf protocol-id { + type uint32; + description + "Protocol advertising the route"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf protocol-name { + type string; + description + " Name of Protocol"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf instance { + type string; + description + "Instance name"; + } + leaf client-id { + type uint32; + description + "Client adding the route to RIB"; + } + leaf route-type { + type uint16; + description + "Route type"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf priority { + type uint8; + description + "Route priority"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf svd-type { + type uint8; + description + "SVD Type of route"; + } + leaf flags { + type uint32; + description + "Route flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf extended-flags { + type uint64; + description + "Extended Route flags"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf tag { + type uint32; + description + "Opaque proto specific info"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf distance { + type uint32; + description + "Distance of the route"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf diversion-distance { + type uint32; + description + "Diversion distance of the route"; + } + leaf metric { + type uint32; + description + "Route metric"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf paths-count { + type uint32; + description + "Number of paths"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf attribute-identity { + type uint32; + description + "BGP Attribute ID"; + } + leaf traffic-index { + type uint8; + description + "BGP Traffic Index"; + } + leaf route-precedence { + type uint8; + description + "Route ip precedence"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf qos-group { + type uint8; + description + "Route qos group"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf flow-tag { + type uint8; + description + "Flow tag"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf fwd-class { + type uint8; + description + "Forward Class"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf pic-count { + type uint8; + description + "Number of pic paths in this route"; + } + leaf active { + type boolean; + description + "Is the route active or backup"; + } + leaf diversion { + type boolean; + description + "Route has a diversion path"; + } + leaf diversion-proto-name { + type string; + description + "Diversion route protocol name"; + } + leaf route-age { + type uint32; + units "second"; + description + "Age of route (seconds)"; + } + leaf route-label { + type uint32; + description + "Local label of the route"; + } + leaf version { + type uint32; + description + "Route Version"; + } + leaf tbl-version { + type uint64; + description + "Table Version"; + } + leaf route-modify-time { + type uint64; + units "nanosecond"; + description + "Route modification time(nanoseconds)"; + } + } + + grouping RIB-EDM-ROUTE-COUNT { + description + "Specifics of route count"; + leaf active-routes-count { + type uint32; + description + "Number of active routes"; + } + leaf num-backup-routes { + type uint32; + description + "Number of backup (inactive) routes"; + } + leaf num-active-paths { + type uint32; + description + "Number of paths to active routes"; + } + leaf num-backup-paths { + type uint32; + description + "Number of paths to backup routes"; + } + } + + grouping RIB-EDM-PROTO-ROUTE-SUMM-DETAIL { + description + "Details of Protocol route types"; + container proto-route-count { + description + "Count for proto. instance"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-none { + description + "No route type"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-other { + description + "Unknown route type"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-intra { + description + "OSPF route within an area"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-inter { + description + "OSPF route across diff. areas"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-extern1 { + description + "OSPF external route of type 1"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-extern2 { + description + "OSPF external route of type 2"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-sum { + description + "IS-IS summary route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l1 { + description + "IS-IS level 1 route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l2 { + description + "IS-IS level 2 route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-isis-l1-ia { + description + "IS-IS level1 inter-area route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-int { + description + "iBGP route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-ext { + description + "eBGP route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-bgp-loc { + description + "BGP local route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-nssa1 { + description + "OSPF NSSA ext. route type 1"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-ospf-nssa2 { + description + "OSPF NSSA ext. route type 2"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-igrp2-int { + description + "EIGRP internal route"; + uses RIB-EDM-ROUTE-COUNT; + } + container rtype-igrp2-ext { + description + "EIGRP external route"; + uses RIB-EDM-ROUTE-COUNT; + } + leaf name { + type string; + description + "Proto name"; + } + leaf instance { + type string; + description + "Instance"; + } + } + + grouping IPV6-RIB-EDM-TABLE { + description + "Information of a routing table"; + leaf tableid { + type uint32; + description + "Table id"; + } + leaf afi { + type uint32; + description + "Address Family"; + } + leaf safi { + type uint32; + description + "sub Address Family"; + } + leaf vrf-name { + type string; + description + "VRF Name of the table"; + } + leaf table-name { + type string; + description + "Name of the table"; + } + leaf version { + type uint64; + description + "Table version"; + } + leaf conf-prefix-limit { + type uint32; + description + "Configured prefix limit"; + } + leaf current-prefix-count { + type uint32; + description + "Num prefixes in table"; + } + leaf num-svdlcl-prefix { + type uint32; + description + "Num SVD local prefixes"; + } + leaf num-svdrem-prefix { + type uint32; + description + "Num SVD remote prefixes"; + } + leaf table-version { + type uint64; + description + "Version no. of the table"; + } + leaf prefix-limit-notified { + type boolean; + description + "Prefix limit state indicator"; + } + leaf fwd-referenced { + type boolean; + description + "Table in fwd reference state?"; + } + leaf deleted { + type boolean; + description + "Table deleted?"; + } + leaf initial-converge { + type boolean; + description + "Table has reached convergence"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper.yang new file mode 100644 index 0000000..9d6052d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rib-ipv6-oper.yang @@ -0,0 +1,513 @@ +module Cisco-IOS-XR-ip-rib-ipv6-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rib-ipv6-oper"; + prefix ip-rib-ipv6-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-rib-ipv6-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rib-ipv6 package operational data. + + This module contains definitions + for the following management objects: + ipv6-rib: RIB operational data + ipv6-rib-stdby: ipv6 rib stdby + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping VRF-TABLE { + description + "Common node of ipv6-rib, ipv6-rib-stdby"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "Specific VRF"; + container afs { + description + "Address Family (AF) table"; + list af { + key "af-name"; + description + "Specific AF information"; + container safs { + description + "Subsequent Address Family (SAF) table"; + list saf { + key "saf-name"; + description + "Specific SAF information"; + container ip-rib-route-table-names { + description + "Global container of routes"; + list ip-rib-route-table-name { + key "route-table-name"; + description + "IP RIB Route table name for a topology"; + container destination-kw { + description + "Destination KW"; + container dest-q-routes { + description + "Quarantine"; + list dest-q-route { + description + "Route information of a specific Backup + Address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container dest-backup-routes { + description + "Backup"; + list dest-backup-route { + description + "Route information of a specific Backup + Address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container dest-best-routes { + description + "Best Local"; + list dest-best-route { + key "address"; + description + "Best local route information for a + specific Address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container dest-next-hop-routes { + description + "Resolving next hop"; + list dest-next-hop-route { + key "address"; + description + "Nexthop information for a specific + address"; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + } + container adverts { + description + "Route advertiser information "; + list advert { + description + "Route information of a specific Network + Address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ADVERT; + } + } + container deleted-routes { + description + "Deleted"; + list deleted-route { + description + "Route information for a specific + deleted address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container protocol { + description + "Contains the classification of routes by + protocol"; + container local { + description + "Local Protocol"; + container lspv { + description + "LSPV(Label Switched Path Verification) + protocol"; + uses INFORMATION; + uses PROTOCOL-ROUTE-TABLE; + } + uses NON-AS; + } + container bgp { + description + "BGP Protocol"; + uses AS; + } + container mobile { + description + "Mobile Protocol"; + uses NON-AS; + } + container eigrp { + description + "EIGRP Protocol"; + uses AS; + } + container rpl { + description + "RPL Protocol"; + uses AS; + } + container static { + description + "Static Protocol"; + uses NON-AS; + } + container te-client { + description + "TEClient protocol"; + uses NON-AS; + } + container subscriber { + description + "Subscriber Protocol"; + uses NON-AS; + } + container ospf { + description + "OSPF Protocol"; + uses AS; + } + container connected { + description + "Connected Protocol"; + container l2vpn { + description + "L2VPN"; + uses INFORMATION; + uses PROTOCOL-ROUTE-TABLE; + } + uses NON-AS; + } + container isis { + description + "ISIS Protocol"; + uses AS; + } + } + container routes { + description + "Route information "; + list route { + description + "Route information of a specific Network + Address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + leaf next-hop-address { + type inet:ipv6-address-no-zone; + description + "NextHop Address "; + } + leaf interface-name { + type xr:Interface-name; + description + "Outgoing Interface "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container q-routes { + description + "Quarantine"; + list q-route { + description + "Route information for a specific + quarantined address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + container backup-routes { + description + "Backup route information for the given + table"; + list backup-route { + description + "Route information for a specific backup + address "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + leaf protoid { + type int32; + description + "Proto ID"; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + leaf route-table-name { + type xr:Cisco-ios-xr-string; + description + "Name of the route table "; + } + } + } + leaf saf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the SAF"; + } + } + } + leaf af-name { + type xr:Cisco-ios-xr-string; + description + "Name of the AF - 'IPv6'"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF"; + } + } + } + } + + grouping AS { + description + "Common node of bgp, ospf, isis, eigrp, rpl"; + list as { + key "as"; + description + "Autonomous System of protocol"; + leaf as { + type xr:Cisco-ios-xr-string; + description + "Autonomous system"; + } + uses INFORMATION; + uses PROTOCOL-ROUTE-TABLE; + } + } + + grouping INFORMATION { + description + "Common node of as, non-as, l2vpn, lspv"; + container information { + description + "Protocol related Information"; + uses IPV6-RIB-EDM-PROTO; + } + } + + grouping RIB-TABLE { + description + "Common node of ipv6-rib, ipv6-rib-stdby"; + container rib-table-ids { + description + "RIB table"; + list rib-table-id { + key "tableid"; + description + "Specific Table"; + container information { + description + "Table related Information"; + uses IPV6-RIB-EDM-TABLE; + } + container summary-protos { + description + "RIB table summary"; + list summary-proto { + key "protoid"; + description + "Route summary information for a specific + table/protocol "; + leaf protoid { + type int32; + description + "Proto ID"; + } + uses RIB-EDM-PROTO-ROUTE-SUMM-DETAIL; + } + } + container rib-table-itf-hndls { + description + "RIB table interface"; + list rib-table-itf-hndl { + key "handle"; + description + "Interface handle"; + leaf handle { + type int32; + description + "Itf Handle"; + } + list itf-route { + key "address"; + description + "Route information for a specific + table/interface "; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + } + leaf tableid { + type xr:Hex-integer; + description + "Table ID"; + } + } + } + } + + grouping NON-AS { + description + "Common node of local, connected, static, + subscriber, mobile, te-client"; + container non-as { + description + "Non Autonomous System of protocol"; + uses INFORMATION; + uses PROTOCOL-ROUTE-TABLE; + } + } + + grouping PROTOCOL-ROUTE-TABLE { + description + "Common node of as, non-as, l2vpn, lspv"; + container protocol-routes { + description + "Protocol specific Route"; + list protocol-route { + description + "Route information of a specific Network Address"; + leaf address { + type inet:ipv6-address-no-zone; + description + "Network Address"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix Length "; + } + uses IPV6-RIB-EDM-ROUTE; + } + } + } + + container ipv6-rib { + config false; + description + "RIB operational data"; + uses RIB-TABLE; + uses VRF-TABLE; + } + container ipv6-rib-stdby { + config false; + description + "ipv6 rib stdby"; + uses RIB-TABLE; + uses VRF-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-cfg.yang new file mode 100644 index 0000000..2c234a4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-cfg.yang @@ -0,0 +1,790 @@ +module Cisco-IOS-XR-ip-rip-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-cfg"; + prefix ip-rip-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rip package configuration. + + This module contains definitions + for the following management objects: + rip: RIP configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rip-ext-community { + type enumeration { + enum "as" { + value 0; + description + "AS:nn format"; + } + enum "ipv4-address" { + value 1; + description + "IPV4Address:nn format"; + } + enum "four-byte-as" { + value 2; + description + "4-byte ASN format"; + } + } + description + "Rip ext community"; + } + + typedef Default-redist-route { + type enumeration { + enum "all" { + value 0; + description + "All routes"; + } + } + description + "Default redist route"; + } + + typedef Default-information-option { + type enumeration { + enum "always" { + value 0; + description + "Always"; + } + enum "policy" { + value 1; + description + "Use route-policy"; + } + } + description + "Default information option"; + } + + typedef Isis-redist-route { + type enumeration { + enum "level1" { + value 1; + description + "Level-1 routes only"; + } + enum "level2" { + value 2; + description + "Level-1 routes only"; + } + enum "level1-and2" { + value 3; + description + "Level-1 and level-2 routes"; + } + } + description + "Isis redist route"; + } + + typedef Bgp-redist-route { + type enumeration { + enum "all" { + value 0; + description + "All routes"; + } + enum "internal" { + value 512; + description + "Internal routes only"; + } + enum "external" { + value 1024; + description + "External routes only"; + } + enum "local" { + value 2048; + description + "Local routes only"; + } + } + description + "Bgp redist route"; + } + + typedef Rip-auth-mode { + type enumeration { + enum "text" { + value 2; + description + "Text mode"; + } + enum "md5" { + value 3; + description + "MD5 mode"; + } + } + description + "Rip auth mode"; + } + + grouping DISTANCE { + description + "Common node of default-vrf, vrf"; + leaf distance { + type uint32 { + range "0..255"; + } + default "120"; + description + "Administrative distance"; + } + } + + grouping VALIDATE-SOURCE-DISABLE { + description + "Common node of default-vrf, vrf"; + leaf validate-source-disable { + type empty; + description + "Disable validation of source address of routing + updates"; + } + } + + grouping AUTO-SUMMARY { + description + "Common node of default-vrf, vrf"; + leaf auto-summary { + type empty; + description + "Enable automatic network number summarization"; + } + } + + grouping TIMERS { + description + "Common node of default-vrf, vrf"; + container timers { + presence "Indicates a timers node is configured."; + description + "Various routing timers"; + leaf update-timer { + type uint32 { + range "5..50000"; + } + mandatory true; + description + "Interval between updates"; + } + leaf invalid-timer { + type uint32 { + range "15..200000"; + } + mandatory true; + description + "Invalid"; + } + leaf holddown-timer { + type uint32 { + range "15..200000"; + } + mandatory true; + description + "Holddown"; + } + leaf flush-timer { + type uint32 { + range "16..250000"; + } + mandatory true; + description + "Flush"; + } + } + } + + grouping REDISTRIBUTION { + description + "Common node of default-vrf, vrf"; + container redistribution { + description + "Redistribute information from another routing + protocol"; + container connected { + presence "enable connected"; + description + "Redistribute connected routes"; + leaf route-policy-name { + type string; + description + "Route Policy name"; + } + leaf route-type { + type Default-redist-route; + description + "Route type"; + } + } + container bgps { + description + "Redistribute BGP routes"; + list bgp { + key "asnxx asnyy"; + description + "Autonomous system number"; + leaf asnxx { + type uint32 { + range "0..65535"; + } + description + "Higher 16 bits of 4-byte BGP AS number"; + } + leaf asnyy { + type uint32 { + range "0..4294967295"; + } + description + "2-byte or 4-byte BGP AS number"; + } + leaf policy { + type string; + description + "Route Policy name"; + } + leaf type { + type Bgp-redist-route; + description + "Route type"; + } + } + } + container isises { + description + "Redistribute IS-IS routes"; + list isis { + key "isis-name"; + description + "Redistribute IS-IS routes"; + leaf isis-name { + type xr:Cisco-ios-xr-string; + description + "IS-IS instance name"; + } + leaf route-policy-name { + type string; + description + "Route Policy name"; + } + leaf route-type { + type Isis-redist-route; + description + "Route type"; + } + } + } + container eigrp-s { + description + "Redistribute EIGRP routes"; + list eigrp { + key "as"; + description + "Redistribute EIGRP routes"; + leaf as { + type uint32 { + range "1..65535"; + } + description + "Autonomous system number"; + } + leaf route-policy-name { + type string; + description + "Route Policy name"; + } + leaf route-type { + type Default-redist-route; + description + "Route type"; + } + } + } + container static { + presence "enable static"; + description + "Redistribute static routes"; + leaf route-policy-name { + type string; + description + "Route Policy name"; + } + leaf route-type { + type Default-redist-route; + description + "Route type"; + } + } + container ospfs { + description + "Redistribute OSPF routes"; + list ospf { + key "ospf-name"; + description + "Redistribute OSPF routes"; + leaf ospf-name { + type xr:Cisco-ios-xr-string; + description + "Process ID for the OSPF instance"; + } + leaf route-policy-name { + type string; + description + "Route Policy name"; + } + leaf internal { + type boolean; + description + "Internal routes"; + } + leaf external { + type boolean; + description + "External routes"; + } + leaf external-type { + type uint32 { + range "0..2"; + } + description + "External route type"; + } + leaf nssa-external { + type boolean; + description + "NSSA External routes"; + } + leaf nssa-external-type { + type uint32 { + range "0..2"; + } + description + "NSSA External route type"; + } + } + } + } + } + + grouping DEFAULT-INFORMATION { + description + "Common node of default-vrf, vrf"; + container default-information { + presence "Indicates a default-information node is configured."; + description + "Controls default information origination"; + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf option { + type Default-information-option; + mandatory true; + description + "Origination option"; + } + } + } + + grouping IP-DISTANCE-TABLE { + description + "Common node of default-vrf, vrf"; + container ip-distances { + description + "Table of IP specific administrative distances"; + list ip-distance { + key "address netmask"; + description + "IP specific administrative distance"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP Source address"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "IP address mask"; + } + leaf distance { + type uint32 { + range "0..255"; + } + mandatory true; + description + "Administrative distance"; + } + } + } + } + + grouping MAXIMUM-PATHS { + description + "Common node of default-vrf, vrf"; + leaf maximum-paths { + type uint32 { + range "1..128"; + } + default "4"; + description + "Maximum number of paths allowed per route"; + } + } + + grouping POLICY-IN { + description + "Common node of default-vrf, vrf"; + leaf policy-in { + type string; + description + "Route Policy for inbbound routing updates"; + } + } + + grouping POLICY-OUT { + description + "Common node of default-vrf, vrf"; + leaf policy-out { + type string; + description + "Route Policy for outbound routing updates"; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of default-vrf, vrf"; + container interfaces { + description + "Table of RIP interfaces"; + list interface { + key "interface-name"; + description + "RIP interface name"; + container authentication { + presence "Indicates a authentication node is configured."; + description + "Authentication keychain and mode"; + leaf keychain { + type string; + mandatory true; + description + "Name of keychain"; + } + leaf mode { + type Rip-auth-mode; + mandatory true; + description + "Authentication mode"; + } + } + container site-of-origin { + description + "SOO community for prefixes learned over this + interface"; + leaf type { + type Rip-ext-community; + description + "Extended community type"; + } + leaf as-xx { + when "../type != 'as' and ../type != 'ipv4-address'" { + description + "../Type != AS and ../Type != IPV4Address"; + } + type uint32 { + range "0..65535"; + } + description + "AS Number for AS:nn format"; + } + leaf as-yy { + when "../type != 'ipv4-address'" { + description + "../Type != IPV4Address"; + } + type uint32 { + range "0..4294967295"; + } + description + "32 bit value for AS:nn format"; + } + leaf as-index { + when "../type != 'ipv4-address'" { + description + "../Type != IPV4Address"; + } + type uint32 { + range "0..4294967295"; + } + description + "AS Number Index"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPV4 address for IPV4Address:nn format"; + } + leaf address-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type uint32 { + range "0..65535"; + } + description + "16bit value for IPV4Address:nn format"; + } + } + container receive-version { + description + "RIP versions supported for receiving + advertisements"; + leaf version1 { + type boolean; + description + "Support RIP version 1"; + } + leaf version2 { + type boolean; + default "true"; + description + "Support RIP version 2"; + } + } + container send-version { + description + "RIP versions supported for sending + advertisements"; + leaf version1 { + type boolean; + description + "Support RIP version 1"; + } + leaf version2 { + type boolean; + default "true"; + description + "Support RIP version 2"; + } + } + leaf broadcast-for-v2 { + type empty; + description + "Send RIP v2 output packets to broadcast + address"; + } + leaf poison-reverse { + type empty; + description + "Enable poison reverse"; + } + leaf passive { + type empty; + description + "Suppress routing updates on this interface"; + } + leaf enable { + type empty; + description + "Starts RIP interface configuration"; + } + leaf policy-out { + type string; + description + "Route Policy for outbound routing updates"; + } + leaf accept-metric-zero { + type empty; + description + "Accept RIP updates with metric 0"; + } + leaf policy-in { + type string; + description + "Route Policy for inbound routing updates"; + } + leaf split-horizon-disable { + type empty; + description + "Disable split horizon"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + } + + grouping BROADCAST-FOR-V2 { + description + "Common node of default-vrf, vrf"; + leaf broadcast-for-v2 { + type empty; + description + "Send RIP v2 output packets to broadcast address"; + } + } + + grouping NSF { + description + "Common node of default-vrf, vrf"; + leaf nsf { + type empty; + description + "Enable Cisco Non Stop Forwarding"; + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbors { + description + "Configure RIP Neighbors"; + list neighbor { + key "neighbor-address"; + description + "Neighbor address"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + } + } + } + + grouping OUTPUT-DELAY { + description + "Common node of default-vrf, vrf"; + leaf output-delay { + type uint32 { + range "8..50"; + } + units "millisecond"; + description + "Inter-packet delay for RIP updates"; + } + } + + grouping DEFAULT-METRIC { + description + "Common node of default-vrf, vrf"; + leaf default-metric { + type uint32 { + range "0..16"; + } + description + "Default metric of redistributed routes"; + } + } + + container rip { + description + "RIP configuration"; + container default-vrf { + description + "RIP configuration for Default VRF"; + leaf enable { + type empty; + description + "Starts RIP configuration for Default VRF"; + } + uses BROADCAST-FOR-V2; + uses DISTANCE; + uses DEFAULT-INFORMATION; + uses DEFAULT-METRIC; + uses OUTPUT-DELAY; + uses AUTO-SUMMARY; + uses REDISTRIBUTION; + uses IP-DISTANCE-TABLE; + uses POLICY-OUT; + uses INTERFACE-TABLE; + uses NEIGHBOR-TABLE; + uses VALIDATE-SOURCE-DISABLE; + uses MAXIMUM-PATHS; + uses NSF; + uses POLICY-IN; + uses TIMERS; + } + container vrfs { + description + "VRF related RIP configuration"; + list vrf { + key "vrf-name"; + description + "RIP configuration for a particular VRF"; + leaf enable { + type empty; + description + "Starts RIP configuration for a particular VRF"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses BROADCAST-FOR-V2; + uses DISTANCE; + uses DEFAULT-INFORMATION; + uses DEFAULT-METRIC; + uses OUTPUT-DELAY; + uses AUTO-SUMMARY; + uses REDISTRIBUTION; + uses IP-DISTANCE-TABLE; + uses POLICY-OUT; + uses INTERFACE-TABLE; + uses NEIGHBOR-TABLE; + uses VALIDATE-SOURCE-DISABLE; + uses MAXIMUM-PATHS; + uses NSF; + uses POLICY-IN; + uses TIMERS; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper-sub1.yang new file mode 100644 index 0000000..c706f3f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper-sub1.yang @@ -0,0 +1,768 @@ +submodule Cisco-IOS-XR-ip-rip-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-rip-oper { + prefix Cisco-IOS-XR-ip-rip-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-rip package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Interface-state { + type enumeration { + enum "interface-none" { + value 0; + description + "Interface does not exist"; + } + enum "interface-down" { + value 1; + description + "Interface exists but IP is down"; + } + enum "interface-up" { + value 2; + description + "Interface exists and IP is up"; + } + enum "interface-unknown" { + value 3; + description + "Unknown state"; + } + } + description + "Interface state"; + } + + typedef Rip-route-origin { + type enumeration { + enum "rip-rt-org-runover" { + value 0; + description + "configured 'network'"; + } + enum "rip-rt-org-redist" { + value 1; + description + "redistributed"; + } + enum "rip-rt-org-auto-summary" { + value 2; + description + "auto summary"; + } + enum "rip-rt-org-rip" { + value 3; + description + "learned via RIP"; + } + enum "rip-rt-org-intsummary" { + value 4; + description + "interface summary-address"; + } + enum "rip-rt-org-unused" { + value 5; + description + "route stay in for triggered rip"; + } + } + description + "Rip route origin"; + } + + grouping RIP-SHOW-PROTO-PROC-BD { + description + "RIP protocol process data"; + leaf vrf-config-count { + type uint32; + description + "Number of VRFs configured"; + } + leaf vrf-active-count { + type uint32; + description + "Number of active VRFs"; + } + leaf socket-descriptor { + type int32; + description + "Socket descriptior"; + } + leaf current-oom-state { + type int32; + description + "Current OOM state"; + } + leaf route-count { + type uint32; + description + "Number of routes allocated"; + } + leaf path-count { + type uint32; + description + "Number of paths allocated"; + } + list vrf-summary { + description + "List of VRFs configured"; + uses RIP-SHOW-VRF-SUMM-BD; + } + } + + grouping RIP-SHOW-IF-SUMM-BD { + description + "RIP Interface summary data"; + leaf interface-name { + type string; + description + "Interface name"; + } + leaf enabled { + type boolean; + description + "RIP enabled indicator"; + } + leaf state { + type Interface-state; + description + "Interface state"; + } + leaf destination-address { + type inet:ipv4-address; + description + "IP address"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of IP address"; + } + leaf oom-flags { + type uint32; + description + "Current OOM flags"; + } + leaf send-version { + type uint32; + description + "RIP versions this interface sends out"; + } + leaf receive-version { + type uint32; + description + "RIP versions this interface will receive"; + } + leaf neighbor-count { + type uint32; + description + "Number of neighbors seen"; + } + } + + grouping RIP-SHOW-VRF-SUMM-BD { + description + "RIP VRF summary data"; + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf active { + type boolean; + description + "VRF Active indicator"; + } + leaf oom-flags { + type uint32; + description + "Current OOM flags"; + } + leaf route-count { + type uint32; + description + "Number of routes allocated"; + } + leaf path-count { + type uint32; + description + "Number of paths allocated"; + } + leaf update-timer { + type uint32; + description + "Update timer"; + } + leaf next-update-time { + type uint32; + description + "Time left for next update"; + } + leaf invalid-timer { + type uint32; + description + "Invalid timer"; + } + leaf hold-down-timer { + type uint32; + description + "Holddown timer"; + } + leaf flush-timer { + type uint32; + description + "Flush timer"; + } + leaf interface-configured-count { + type uint32; + description + "Number of interfaces configured"; + } + leaf active-interface-count { + type uint32; + description + "Number of active interfaces"; + } + } + + grouping RIP-SHOW-PROTO-VRF-BD { + description + "RIP protocol VRF data"; + container vrf-summary { + description + "VRF summary data"; + uses RIP-SHOW-VRF-SUMM-BD; + } + list interface-summary { + description + "List of Interfaces configured"; + uses RIP-SHOW-IF-SUMM-BD; + } + } + + grouping RIP-PEER-BD { + description + "A RIP peer"; + leaf peer-uptime { + type uint32; + description + "Uptime of this peer"; + } + leaf peer-address { + type inet:ipv4-address; + description + "IP Address of this peer"; + } + leaf peer-version { + type uint8; + description + "RIP version for this peer"; + } + leaf discarded-peer-packets { + type uint32; + description + "Discarded packets from this peer"; + } + leaf discarded-peer-routes { + type uint32; + description + "Discarded routes from this peer"; + } + } + + grouping RIP-SUMMARY-BD { + description + "A RIP summary route"; + leaf prefix { + type inet:ipv4-address; + description + "Summary address prefix"; + } + leaf prefix-length { + type uint32; + description + "Summary address prefix length"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Summary address next hop"; + } + leaf metric { + type int32; + description + "Summary metric"; + } + } + + grouping RIP-SHOW-INTERFACE-BD { + description + "A RIP-enabled interface"; + leaf interface { + type string; + description + "Interface name"; + } + leaf if-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf rip-enabled { + type boolean; + description + "Whether RIP is enabled on this interface"; + } + leaf is-passive-interface { + type boolean; + description + "Passive interface indicator"; + } + leaf multicast-address { + type boolean; + description + "Use broadcast address for v2 packets"; + } + leaf accept-metric { + type boolean; + description + "Accept routes of metric 0 indicator"; + } + leaf send-version { + type uint32; + description + "Versions that the interface is sending"; + } + leaf receive-version { + type uint32; + description + "Versions that the interface will recieve"; + } + leaf state { + type Interface-state; + description + "Current state of the interface"; + } + leaf destination-address { + type inet:ipv4-address; + description + "IP Address of this interface"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of the IP address"; + } + leaf metric-cost { + type uint32; + description + "Cost added to routes through this interface"; + } + leaf split-horizon { + type boolean; + description + "Split horizon enabled indicator"; + } + leaf poison-horizon { + type boolean; + description + "Poisoned reverse enabled indicator"; + } + leaf triggered-rip { + type boolean; + description + "Triggered RIP enabled indicator"; + } + leaf neighbor-address { + type inet:ipv4-address; + description + "Interface's triggered RIP neighbor"; + } + leaf oom-flags { + type uint32; + description + "Out-of-memory status flags"; + } + leaf join-status { + type boolean; + description + "Multicast group join status"; + } + leaf lpts-state { + type boolean; + description + "LPTSState"; + } + leaf auth-mode { + type uint32; + description + "Authentication Mode"; + } + leaf auth-keychain { + type string; + description + "Authentication Keychain Name"; + } + leaf send-auth-key-exists { + type boolean; + description + "Authentication send key exists"; + } + leaf auth-key-md5 { + type boolean; + description + "Authentication key programmed with MD5 algorithm"; + } + leaf auth-key-send-id { + type uint64; + description + "Current active Send Authentication Key Id"; + } + leaf total-pkt-recvd { + type uint32; + description + "Total packets received"; + } + leaf pkt-drop-wrong-kc { + type uint32; + description + "Packets dropped due to wrong keychain configured"; + } + leaf pkt-drop-no-auth { + type uint32; + description + "Packets dropped due to missing authentication + data"; + } + leaf pkt-drop-invalid-auth { + type uint32; + description + "Packets dropped due to invalid authentication + data"; + } + leaf pkt-accepted-valid-auth { + type uint32; + description + "Packets accepted with valid authentication data"; + } + list rip-summary { + description + "User defined summary addresses"; + uses RIP-SUMMARY-BD; + } + list rip-peer { + description + "Neighbors on this interface"; + uses RIP-PEER-BD; + } + } + + grouping RIP-SHOW-STATISTICS-BD { + description + "RIP statistics"; + leaf received-packets { + type uint32; + description + "Total packets received"; + } + leaf discarded-packets { + type uint32; + description + "Total discarded packets"; + } + leaf discarded-routes { + type uint32; + description + "Total discarded routes"; + } + leaf standby-packets-received { + type uint32; + description + "Packets rx in SRP"; + } + leaf sent-messages { + type uint32; + description + "Number of messages sent"; + } + leaf sent-message-failures { + type uint32; + description + "Number of message send failures"; + } + leaf query-responses { + type uint32; + description + "Number of RIP queries responded to"; + } + leaf periodic-updates { + type uint32; + description + "Number of periodic RIP updates"; + } + leaf route-count { + type uint32; + description + "Number of routes allocated"; + } + leaf path-count { + type uint32; + description + "Number of paths allocated"; + } + leaf route-malloc-failures { + type uint32; + description + "Number of failures to allocate memory for a + route"; + } + leaf path-malloc-failures { + type uint32; + description + "Number of failures to allocate memory for a path"; + } + leaf rib-updates { + type uint32; + description + "Number of route updates to RIB made by RIP"; + } + } + + grouping RIP-SHOW-GLOBAL-CONFIG-BD { + description + "RIP's configuration settings"; + leaf active { + type boolean; + description + "VRF active indicator"; + } + leaf vr-fised-socket { + type boolean; + description + "VRF added to socket indicator"; + } + leaf rip-version { + type int32; + description + "Version of RIP configured"; + } + leaf default-metric { + type uint8; + description + "Default metric for RIP routes"; + } + leaf maximum-paths { + type uint8; + description + "Maximum number of paths a route can have"; + } + leaf auto-summarize { + type boolean; + description + "Auto-summarization indicator"; + } + leaf multicast-address { + type boolean; + description + "Use broadcast/multicast address indicator"; + } + leaf flash-threshold { + type uint8; + description + "Flash update threshold"; + } + leaf input-q-length { + type uint16; + description + "Length of the input queue"; + } + leaf triggered-rip { + type boolean; + description + "Triggered RIP enabled indicator"; + } + leaf validation-indicator { + type boolean; + description + "Incoming packet source validation indicator"; + } + leaf update-timer { + type uint32; + description + "Update timer"; + } + leaf next-update-time { + type uint32; + description + "Time left for next update"; + } + leaf invalid-timer { + type uint32; + description + "Invalid timer"; + } + leaf hold-down-timer { + type uint32; + description + "Holddown timer"; + } + leaf flush-timer { + type uint32; + description + "Flush timer"; + } + leaf oom-flags { + type uint32; + description + "Out-of-memory status flags"; + } + leaf nsf-status { + type boolean; + description + "NSF Enable status"; + } + leaf nsf-life-time { + type uint32; + description + "NSF life time"; + } + } + + grouping RIP-PATH-BD { + description + "A RIP route path"; + leaf source-address { + type inet:ipv4-address; + description + "Source address"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next hop address"; + } + leaf metric { + type uint16; + description + "Metric"; + } + leaf tag { + type uint16; + description + "Tag"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf uptime { + type uint32; + description + "Up time"; + } + leaf is-permanent { + type boolean; + description + "Permanent indicator"; + } + } + + grouping RIP-SHOW-ROUTE-BD { + description + "A route in RIP's local routing table"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination IP Address for this route"; + } + leaf prefix-length-xr { + type uint32; + description + "Prefix length of IP address"; + } + leaf distance { + type uint16; + description + "Route administrative distance"; + } + leaf bgp-count { + type uint16; + description + "Hop count for this route"; + } + leaf route-type { + type uint16; + description + "Type of this route"; + } + leaf route-summary { + type boolean; + description + "Summary route placeholder indicator"; + } + leaf route-tag { + type uint16; + description + "Generic route information"; + } + leaf version { + type uint8; + description + "RIB supplied version number"; + } + leaf attributes { + type uint32; + description + "RIB supplied route attributes"; + } + leaf active { + type boolean; + description + "Active route indicator"; + } + leaf path-origin { + type Rip-route-origin; + description + "Where this route was learnt"; + } + leaf hold-down { + type boolean; + description + "Indicates whether route is in holddown"; + } + list paths { + description + "The paths for this route"; + uses RIP-PATH-BD; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper.yang new file mode 100644 index 0000000..c90d610 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rip-oper.yang @@ -0,0 +1,168 @@ +module Cisco-IOS-XR-ip-rip-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rip-oper"; + prefix ip-rip-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-rip-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rip package operational data. + + This module contains definitions + for the following management objects: + rip: RIP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ROUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container routes { + description + "RIP route database"; + list route { + description + "A route in the RIP database"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Network prefix"; + } + leaf prefix-length { + type uint32 { + range "0..32"; + } + description + "Prefix length"; + } + uses RIP-SHOW-ROUTE-BD; + } + } + } + + grouping STATISTICS { + description + "Common node of default-vrf, vrf"; + container statistics { + description + "RIP statistics information"; + uses RIP-SHOW-STATISTICS-BD; + } + } + + grouping DEFAULT-VRF { + description + "Common node of rip, protocol"; + container default-vrf { + description + "RIP operational data for Default VRF"; + uses ROUTE-TABLE; + uses CONFIGURATION; + uses STATISTICS; + uses INTERFACE-TABLE; + uses GLOBAL; + } + } + + grouping CONFIGURATION { + description + "Common node of default-vrf, vrf"; + container configuration { + description + "RIP global configuration"; + uses RIP-SHOW-GLOBAL-CONFIG-BD; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of default-vrf, vrf"; + container interfaces { + description + "RIP interfaces"; + list interface { + key "interface-name"; + description + "Information about a particular RIP interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses RIP-SHOW-INTERFACE-BD; + } + } + } + + grouping GLOBAL { + description + "Common node of default-vrf, vrf"; + container global { + description + "Global Information "; + uses RIP-SHOW-PROTO-VRF-BD; + } + } + + container rip { + config false; + description + "RIP operational data"; + container vrfs { + description + "VRF related operational data"; + list vrf { + key "vrf-name"; + description + "Operational data for a particular VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF"; + } + uses ROUTE-TABLE; + uses CONFIGURATION; + uses STATISTICS; + uses INTERFACE-TABLE; + uses GLOBAL; + } + } + container protocol { + description + "Protocol operational data"; + container process { + description + "RIP global process "; + uses RIP-SHOW-PROTO-PROC-BD; + } + uses DEFAULT-VRF; + } + uses DEFAULT-VRF; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-cfg.yang new file mode 100644 index 0000000..7c4e2d8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-cfg.yang @@ -0,0 +1,719 @@ +module Cisco-IOS-XR-ip-rsvp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-cfg"; + prefix ip-rsvp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rsvp package configuration. + + This module contains definitions + for the following management objects: + rsvp: Global RSVP configuration commands + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rsvp-rdm { + type enumeration { + enum "rdm" { + value 1; + description + "RDM Keyword Specified"; + } + enum "not-specified" { + value 2; + description + "RDM Keyword Not Specified"; + } + enum "use-default-bandwidth" { + value 3; + description + "Use Default Bandwidth - 75% Link Bandwidth"; + } + } + description + "Rsvp rdm"; + } + + typedef Rsvp-bc0 { + type enumeration { + enum "bc0" { + value 1; + description + "Keyword is bc0"; + } + enum "global-pool" { + value 2; + description + "Keyword is global-pool"; + } + enum "not-specified" { + value 3; + description + "Keyword is not specified"; + } + } + description + "Rsvp bc0"; + } + + typedef Rsvp-bw-cfg { + type enumeration { + enum "absolute" { + value 0; + description + "Configuration is in absolute bandwidth values"; + } + enum "percentage" { + value 1; + description + "Configuration is in percentage of physical + bandwidth values"; + } + } + description + "Rsvp bw cfg"; + } + + typedef Rsvp-bc1 { + type enumeration { + enum "bc1" { + value 1; + description + "Keyword is bc1"; + } + enum "sub-pool" { + value 2; + description + "Keyword is sub-pool"; + } + } + description + "Rsvp bc1"; + } + + grouping AUTHENTICATION { + description + "Common node of rsvp, interface, neighbor"; + container authentication { + description + "Configure RSVP authentication"; + leaf life-time { + type uint32 { + range "30..86400"; + } + units "second"; + description + "Life time (in seconds) for each security + association"; + } + leaf enable { + type boolean; + description + "Enable or disable RSVP authentication"; + } + leaf window-size { + type uint32 { + range "1..64"; + } + description + "Window-size to limit number of out-of-order + messages"; + } + leaf key-chain { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Key chain to authenticate RSVP signalling + messages"; + } + } + } + + grouping OUT-OF-BAND { + description + "Common node of cntl-signalling, if-signalling"; + container out-of-band { + description + "Configure RSVP out-of-band signalling parameters"; + leaf missed-messages { + type uint32 { + range "1..110000"; + } + default "38000"; + description + "Configure max number of consecutive missed + messages for state expiry for out-of-band + tunnels"; + } + leaf refresh-interval { + type uint32 { + range "180..86400"; + } + units "second"; + description + "Configure interval between successive refreshes + for out-of-band tunnels"; + } + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container rsvp { + description + "Enable RSVP-MIB notifications"; + leaf lost-flow { + type empty; + description + "Enable lostFlow notification"; + } + leaf new-flow { + type empty; + description + "Enable newFlow notification"; + } + leaf enable { + type empty; + description + "Enable all RSVP notifications"; + } + } + } + container rsvp { + description + "Global RSVP configuration commands"; + container neighbors { + description + "RSVP Neighbor Table"; + list neighbor { + key "neighbor"; + description + "RSVP neighbor configuration"; + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + uses AUTHENTICATION; + } + } + container controllers { + description + "Controller table"; + list controller { + key "controller-name"; + description + "Controller configuration"; + container cntl-signalling { + description + "Configure RSVP signalling parameters"; + uses OUT-OF-BAND; + } + leaf enable { + type empty; + description + "Enable RSVP on an interface"; + } + leaf controller-name { + type xr:Interface-name; + description + "Name of controller"; + } + } + } + container global-logging { + description + "Global Logging"; + leaf log-nsr-status { + type empty; + description + "Enable NSR Status Logging"; + } + leaf log-issu-status { + type empty; + description + "Enable ISSU Status Logging"; + } + } + container global-bandwidth { + description + "Configure Global Bandwidth Parameters"; + container default-interface-percent { + description + "Configure Global RSVP signalling parameters"; + container mam { + description + "Configure global default MAM I/F percent + bandwidth parameters"; + leaf max-res-percent { + type uint32 { + range "0..10000"; + } + description + "Default maximum reservable I/F % B/W "; + } + leaf bc0-percent { + type uint32 { + range "0..10000"; + } + description + "Default BC0 pool I/F % B/W "; + } + leaf bc1-percent { + type uint32 { + range "0..10000"; + } + description + "Default BC1 pool I/F % B/W "; + } + } + container rdm { + description + "Configure global default RDM I/F percent + bandwidth parameters"; + leaf bc0-percent { + type uint32 { + range "0..10000"; + } + description + "Default BC0 pool I/F % B/W "; + } + leaf bc1-percent { + type uint32 { + range "0..10000"; + } + description + "Default BC1 pool I/F % B/W "; + } + } + } + } + container interfaces { + description + "Interface table"; + list interface { + key "name"; + description + "Interface configuration"; + container if-signalling { + description + "Configure RSVP signalling parameters"; + container refresh-reduction { + description + "Configure RSVP Refresh Reduction parameters"; + leaf disable { + type empty; + description + "Disable refresh reduction"; + } + leaf reliable-ack-max-size { + type uint32 { + range "20..65000"; + } + units "byte"; + default "4096"; + description + "Configure max size of a single RSVP ACK + message"; + } + leaf reliable-ack-hold-time { + type uint32 { + range "100..5000"; + } + units "millisecond"; + default "400"; + description + "Configure hold time for sending RSVP ACK + message(s)"; + } + leaf reliable-retransmit-time { + type uint32 { + range "100..10000"; + } + units "millisecond"; + default "2100"; + description + "Configure min delay to wait for an ACK + before a retransmit"; + } + leaf reliable-s-refresh { + type empty; + description + "Configure use of reliable messaging for + summary refresh"; + } + leaf summary-max-size { + type uint32 { + range "20..65000"; + } + units "byte"; + default "4096"; + description + "Configure max size of a single RSVP summary + refresh message"; + } + leaf bundle-message-max-size { + type uint32 { + range "512..65000"; + } + units "byte"; + default "4096"; + description + "Configure maximum size of a single RSVP + Bundle message"; + } + } + container interval-rate { + description + "Configure number of messages to be sent per + interval"; + leaf messages-per-interval { + type uint32 { + range "1..500"; + } + default "100"; + description + "Number of messages to be sent per interval"; + } + leaf interval-size { + type uint32 { + range "250..2000"; + } + units "millisecond"; + default "1000"; + description + "Size of an interval (milliseconds)"; + } + } + leaf dscp { + type uint32 { + range "0..63"; + } + description + "Differentiated Services Code Point (DSCP)"; + } + leaf missed-messages { + type uint32 { + range "1..8"; + } + default "4"; + description + "Configure max number of consecutive missed + messages for state expiry"; + } + leaf hello-graceful-restart-if-based { + type empty; + description + "Enable IF-based Hello adjacency on a RSVP + interface"; + } + leaf pacing { + type empty; + description + "Enable rate-limiting on the interface"; + } + leaf refresh-interval { + type uint32 { + range "10..180"; + } + units "second"; + default "45"; + description + "Configure interval between successive + refreshes"; + } + uses OUT-OF-BAND; + } + container bandwidth { + description + "Configure Bandwidth"; + container mam { + description + "Configure MAM bandwidth parameters"; + leaf max-resv-bandwidth { + type uint32 { + range "0..4294967295"; + } + description + "Maximum reservable bandwidth (Kbps or + percent of physical bandwidth)"; + } + leaf max-resv-flow { + type uint32 { + range "0..4294967295"; + } + description + "Largest reservable flow (Kbps or percent of + physical bandwidth)"; + } + leaf bc0-bandwidth { + type uint32 { + range "0..4294967295"; + } + description + "Reservable bandwidth in BC0 (Kbps or percent + of physical bandwidth)"; + } + leaf bc1-bandwidth { + type uint32 { + range "0..4294967295"; + } + description + "Reservable bandwidth in BC1 (Kbps or percent + of physical bandwidth)"; + } + leaf bandwidth-mode { + type Rsvp-bw-cfg; + units "percentage"; + description + "Absolute or Percentage bandwidth mode"; + } + } + container rdm { + description + "Configure RDM bandwidth parameters"; + leaf max-resv-flow { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type uint32 { + range "0..4294967295"; + } + description + "Largest reservable flow (Kbps or percent of + physical bandwidth)"; + } + leaf bc0-bandwidth { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type uint32 { + range "0..4294967295"; + } + description + "Reservable bandwidth in BC0 (Kbps or percent + of physical bandwidth)"; + } + leaf bc1-bandwidth { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type uint32 { + range "0..4294967295"; + } + description + "Reservable bandwidth in BC1 (Kbps or percent + of physical bandwidth)"; + } + leaf rdm-keyword { + type Rsvp-rdm; + description + "Set requests should always use RDM"; + } + leaf bc0-keyword { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type Rsvp-bc0; + description + "Set requests should always use BC0"; + } + leaf bc1-keyword { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type Rsvp-bc1; + description + "Set requests should always use BC1"; + } + leaf bandwidth-mode { + when "../rdm-keyword = 'rdm' or ../rdm-keyword = 'not-specified'" { + description + "../RDMKeyword = RDM or ../RDMKeyword = + NotSpecified"; + } + type Rsvp-bw-cfg; + units "percentage"; + description + "Absolute or Percentage bandwidth mode"; + } + } + } + leaf enable { + type empty; + description + "Enable RSVP on an interface"; + } + leaf name { + type xr:Interface-name; + description + "Name of interface"; + } + uses AUTHENTICATION; + } + } + container signalling { + description + "Configure Global RSVP signalling parameters"; + container global-out-of-band { + description + "Configure out-of-band signalling parameters"; + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF used for out-of-band control signalling"; + } + } + container graceful-restart { + description + "Configure RSVP Graceful-Restart parameters"; + container lsp-class-type { + description + "Send LSP's ctype for recovery and suggested + label"; + leaf enable { + type boolean; + description + "Send LSP's ctype for recovery and suggested + label"; + } + } + leaf enable { + type boolean; + description + "Enable RSVP graceful restart"; + } + leaf restart-time { + type uint32 { + range "60..3600"; + } + units "second"; + default "120"; + description + "Graceful restart time (seconds)"; + } + leaf recovery-time { + type uint32 { + range "0..3600"; + } + units "second"; + default "120"; + description + "Graceful restart recovery time (seconds)"; + } + } + container prefix-filtering { + description + "Configure prefix filtering parameters"; + container default-deny-action { + description + "Configure RSVP behaviour for scenarios where + ACL match yields a default (implicit) deny"; + leaf drop { + type empty; + description + "Configure RSVP to drop packets when ACL match + yields a default (implicit) deny"; + } + } + leaf acl { + type string { + length "1..65"; + } + description + "Configure an ACL to perform prefix filtering + of RSVP Router Alert messages"; + } + } + container pesr { + description + "Sending Path Error with State-Removal flag"; + leaf disable { + type empty; + description + "Disable RSVP PESR"; + } + } + container checksum { + description + "RSVP message checksum computation"; + leaf disable { + type empty; + description + "Disable RSVP message checksum computation"; + } + } + leaf hello-graceful-restart-misses { + type uint32 { + range "1..10"; + } + default "3"; + description + "Configure max number of consecutive missed + Hello messages"; + } + leaf hello-graceful-restart-interval { + type uint32 { + range "3000..30000"; + } + units "millisecond"; + default "5000"; + description + "Configure interval between successive Hello + messages"; + } + } + uses AUTHENTICATION; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang new file mode 100644 index 0000000..0c4cfec --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub1.yang @@ -0,0 +1,4682 @@ +submodule Cisco-IOS-XR-ip-rsvp-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-rsvp-oper { + prefix Cisco-IOS-XR-ip-rsvp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-rsvp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Igpte-lib-bw-model { + type enumeration { + enum "rdm" { + value 0; + description + "Russian Dolls Model"; + } + enum "mam" { + value 1; + description + "Maximum Allocation Model"; + } + enum "not-set" { + value 2; + description + "No model set"; + } + } + description + "Bandwidth model"; + } + + typedef Rsvp-mgmt-restart-state { + type enumeration { + enum "done" { + description + "Restart is done"; + } + enum "recovery" { + description + "Neighbor is in recovery"; + } + enum "abort" { + description + "Neighbor recovery aborted"; + } + } + description + "RSVP GR (Graceful Restart) Restart states"; + } + + typedef Rsvp-mgmt-hello-down-reason { + type enumeration { + enum "not-applicable" { + description + "Not applicable. This means RSVP Hellos are up"; + } + enum "wrong-destination-instance" { + description + "Incorrect destination instance in received + Hellos"; + } + enum "wrong-source-instance" { + description + "Incorrect source instance in received Hellos"; + } + enum "hello-missed" { + description + "Hellos not being received"; + } + enum "interface-down" { + description + "Interface went down"; + } + enum "neighbor-disabled-hello" { + description + "Neighbor disabled Hellos"; + } + enum "control-channel-down" { + description + "Control channel went down"; + } + } + description + "Reasons why RSVP Hellos went down"; + } + + typedef Rsvp-mgmt-hello-instance-owner { + type enumeration { + enum "mpls-graceful-restart" { + description + "MPLS Graceful Restart"; + } + enum "mpls-ouni" { + description + "MPLS OUNI"; + } + } + description + "RSVP Hello instance owner"; + } + + typedef Rsvp-mgmt-association { + type enumeration { + enum "none" { + value 0; + description + "No ASSOCIATION Object present"; + } + enum "ipv4" { + value 1; + description + "IPv4 ASSOCIATION Type"; + } + enum "ipv6" { + value 2; + description + "IPv6 ASSOCIATION Type"; + } + enum "extended-ipv4" { + value 3; + description + "EXTENDED IPv4 ASSOCIATION Type"; + } + enum "extended-ipv6" { + value 4; + description + "EXTENDED IPv6 ASSOCIATION Type"; + } + } + description + "RSVP ASSOCIATION Types"; + } + + typedef Rsvp-mgmt-rro-subobj { + type enumeration { + enum "ipv4rro-type" { + value 1; + description + "IPv4 RRO Type"; + } + enum "label-rro-type" { + value 3; + description + "Label RRO Type"; + } + enum "unnumbered-rro-type" { + value 4; + description + "Unnumbered RRO Type"; + } + enum "srlg-rro-type" { + value 34; + description + "SRLG RRO Type"; + } + } + description + "RSVP RRO Types"; + } + + typedef Rsi-vrf-id { + type uint32; + description + "Rsi vrf id"; + } + + typedef Rsvp-mgmt-frr-state-enum { + type enumeration { + enum "ready-state" { + value 0; + description + "Ready State"; + } + enum "pending-state" { + value 1; + description + "Pending"; + } + enum "active-state" { + value 2; + description + "Active State"; + } + } + description + "RSVP FRR States"; + } + + typedef Rsvp-proc-nsr-not-ready-reason { + type enumeration { + enum "collab-time-out" { + description + "Collab connection time out"; + } + enum "collab-conntection-idt" { + description + "Collab connection down or IDT not done"; + } + enum "nsr-peer-not-connected" { + description + "NSR peer not connected"; + } + enum "nsr-peer-not-in-sync" { + description + "NSR peer not in sync"; + } + } + description + "Rsvp proc nsr not ready reason"; + } + + typedef Rsvp-sync-status { + type enumeration { + enum "not-ready" { + description + "Not Ready"; + } + enum "ready" { + description + "Ready"; + } + } + description + "Rsvp sync status"; + } + + typedef Rsvp-mgmt-gr-app { + type enumeration { + enum "ouni" { + description + "Application is OUNI"; + } + enum "gmpls" { + description + "Application is GMPLS"; + } + } + description + "RSVP Graceful Restart application type"; + } + + typedef Rsvp-proc-role { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "v1-active" { + description + "V1 Active"; + } + enum "v1-standby" { + description + "V1 Standby"; + } + enum "v2-active" { + description + "V2 Active"; + } + enum "v2-standby" { + description + "V2 Standby"; + } + enum "v1-active-post-big-bang" { + description + "V1 Active post big-bang"; + } + enum "v1-standby-post-big-bang" { + description + "V1 Standbyi post big-bang"; + } + enum "count" { + description + "Count"; + } + } + description + "RSVP Process Role"; + } + + typedef Rsvp-mgmt-auth-challenge-status { + type enumeration { + enum "rsvp-mgmt-auth-cs-not-cfg" { + description + "Not configured"; + } + enum "rsvp-mgmt-auth-cs-completed" { + description + "Complete"; + } + enum "rsvp-mgmt-auth-cs-in-progress" { + description + "In Progress"; + } + enum "rsvp-mgmt-auth-cs-failure" { + description + "Failed"; + } + enum "rsvp-mgmt-auth-cs-not-supported" { + description + "Not supported"; + } + } + description + "RSVP Authentication Challenge Status"; + } + + typedef Rsvp-mgmt-hello-instance { + type enumeration { + enum "active" { + description + "Hello requests and ACKs are sent"; + } + enum "passive" { + description + "Hello ACKs only are sent"; + } + } + description + "RSVP Hello instance types"; + } + + typedef Rsvp-mgmt-hello-state { + type enumeration { + enum "hello-state-init" { + description + "No Hello messages ever received from neighbor"; + } + enum "hello-state-up" { + description + "Receiving expected Hello messages from neighbor"; + } + enum "hello-state-down" { + description + "Stopped receiving expected Hello messages from + neighbor"; + } + } + description + "RSVP Hello instance states"; + } + + typedef Rsvp-mgmt-reservation-type-enum { + type enumeration { + enum "rsvp-mgmt-ff-option" { + value 10; + description + "Single Reservation"; + } + enum "rsvp-mgmt-wf-option" { + value 17; + description + "Shared Reservation, Unlimited Scope"; + } + enum "rsvp-mgmt-se-option" { + value 18; + description + "Shared Reservation, Limited Scope"; + } + } + description + "RSVP Reservation Types"; + } + + typedef Rsvp-mgmt-flow-spec { + type enumeration { + enum "g709otn" { + value 5; + description + "G709 OTN FlowSpec Type"; + } + } + description + "RSVP Generic FlowSpec Types"; + } + + typedef Rsvp-mgmt-qos-service-enum { + type enumeration { + enum "rsvp-mgmt-qos-unknown" { + value 0; + description + "QOS Unknown"; + } + enum "rsvp-mgmt-qos-guaranteed" { + value 3; + description + "QOS Guaranteed"; + } + enum "rsvp-mgmt-qos-controlled-load" { + value 5; + description + "QOS Controlled Load"; + } + enum "rsvp-mgmt-qos-qualitative" { + value 6; + description + "QOS Qualitative"; + } + } + description + "QOS Types"; + } + + typedef Rsvp-mgmt-messageid { + type uint32; + description + "Rsvp mgmt messageid"; + } + + typedef Rsvp-timer-state { + type enumeration { + enum "rsvp-timer-running-and-sleeping" { + value 1; + description + "RSVP timer running and sleeping"; + } + enum "rsvp-timer-running" { + value 2; + description + "RSVP timer running"; + } + enum "rsvp-timer-not-running" { + value 3; + description + "RSVP timer not running"; + } + } + description + "RSVP Timer States"; + } + + typedef Rsvp-mgmt-ero-subobj-status { + type enumeration { + enum "rsvp-mgmt-ero-status-not-available" { + value 0; + description + "ERO is not available in topology"; + } + enum "rsvp-mgmt-ero-status-available" { + value 1; + description + "ERO is available in topology"; + } + enum "rsvp-mgmt-ero-status-bw-not-available" { + value 2; + description + "ERO doesn't have bw available in topology"; + } + } + description + "RSVP ERO Status"; + } + + typedef Rsvp-mgmt-ero-subobj { + type enumeration { + enum "rsvp-mgmt-ero-type-ipv4" { + value 1; + description + "IPv4 ERO Type"; + } + enum "rsvp-mgmt-ero-type-un-num" { + value 4; + description + "Unnumbered ERO Type"; + } + } + description + "RSVP ERO Types"; + } + + typedef Rsvp-mgmt-generic-label { + type enumeration { + enum "rsvp-mgmt-label-type-gmpls" { + value 2; + description + "Generalized Label Type"; + } + } + description + "RSVP Generic Label Types"; + } + + typedef Rsvp-mgmt-mpls-label { + type uint32; + description + "Rsvp mgmt mpls label"; + } + + typedef Rsvp-mgmt-tspec { + type enumeration { + enum "g709otn" { + value 5; + description + "G709 OTN Sender Tspec Type"; + } + enum "intsrv" { + value 12; + description + "Int-Serv Sender Tspec Type"; + } + } + description + "RSVP Generic Sender Tspec Types"; + } + + typedef Rsvp-mgmt-filter { + type enumeration { + enum "rsvp-mgmt-filter-type-ipv4" { + value 1; + description + "IPv4 FilterSpec Type"; + } + enum "rsvp-mgmt-filter-type-p2mp-lsp-ipv4" { + value 12; + description + "P2MP LSP IPv4 FilterSpec Type"; + } + } + description + "RSVP Filter Types"; + } + + typedef Rsvp-mgmt-session { + type enumeration { + enum "rsvp-mgmt-session-type-udp-ipv4" { + value 1; + description + "UDP IPv4 Session Type"; + } + enum "rsvp-mgmt-session-type-lsp-ipv4" { + value 7; + description + "LSP IPv4 Session Type"; + } + enum "rsvp-mgmt-session-type-uni-ipv4" { + value 9; + description + "UNI IPv4 Session Type"; + } + enum "rsvp-mgmt-session-type-p2mp-lsp-ipv4" { + value 13; + description + "P2MP LSP IPv4 Session Type"; + } + } + description + "RSVP Session Types"; + } + + typedef Rsvp-mgmt-auth-ki { + type enumeration { + enum "rsvp-mgmt-auth-ki-type-none" { + description + "None"; + } + enum "rsvp-mgmt-auth-ki-type-global" { + description + "Global"; + } + enum "rsvp-mgmt-auth-ki-type-interface" { + description + "Interface"; + } + enum "rsvp-mgmt-auth-ki-type-neighbor" { + description + "Neighbor"; + } + } + description + "RSVP Authentication KeyInfo Type"; + } + + typedef Rsvp-mgmt-auth-direction { + type enumeration { + enum "rsvp-mgmt-auth-direction-send" { + description + "Send"; + } + enum "rsvp-mgmt-auth-direction-recv" { + description + "Receive"; + } + } + description + "RSVP Authentication Direction Types"; + } + + typedef Rsvp-mgmt-dste-modes { + type enumeration { + enum "pre-standard" { + value 1; + description + "pre standard"; + } + enum "standard" { + value 3; + description + "standard"; + } + } + description + "RSVP DSTE modes"; + } + + grouping RSVP-MGMT-RXSB-DETAIL { + description + "Detailed Form of RSVP Proxy Reservation"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container style { + description + "RSVP Style"; + uses RSVP-MGMT-STYLE; + } + container filter { + description + "RSVP Filter"; + uses RSVP-MGMT-FILTER-INFO; + } + container flow-spec { + description + "Flow Spec Information"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec Information"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + container hop { + description + "Path Hop Info"; + uses RSVP-MGMT-HOP-INFO; + } + container rsvp-header { + description + "RSVP Header"; + uses RSVP-MGMT-HEADER-INFO; + } + leaf input-interface { + type string; + description + "Path Input Interface"; + } + leaf dynamic-state { + type uint32; + description + "Dynamic State Handle"; + } + } + + grouping RSVP-MGMT-PXSB-DETAIL { + description + "Detailed Form of RSVP Proxy Path"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container template { + description + "RSVP Template"; + uses RSVP-MGMT-FILTER-INFO; + } + container traffic-spec { + description + "RSVP Traffic Spec Info"; + uses RSVP-MGMT-TRAFFIC-SPEC; + } + container generic-traffic-spec { + description + "RSVP Generic Traffic Spec Info"; + uses RSVP-MGMT-GEN-TRAFFIC-SPEC; + } + container hop { + description + "Path Hop Info"; + uses RSVP-MGMT-HOP-INFO; + } + container rsvp-header { + description + "RSVP Header"; + uses RSVP-MGMT-HEADER-INFO; + } + leaf input-interface { + type string; + description + "Path Input Interface"; + } + leaf dynamic-state { + type uint32; + description + "Dynamic State Handle"; + } + } + + grouping RSVP-MGMT-GLBL-BW-POOL-INFO { + description + "Global B/W pool information"; + leaf max-res-pool-percent { + type uint32; + units "percentage"; + description + "Maxium reservable I/F percent B/W"; + } + leaf bc0-percent { + type uint32; + units "percentage"; + description + "BC0 I/F percent B/W"; + } + leaf bc1-percent { + type uint32; + units "percentage"; + description + "BC1 I/F percent B/W"; + } + leaf is-max-res-pool-percent-configured { + type boolean; + description + "Is maximum reservable default I/F percent + configured"; + } + leaf is-bc0-percent-configured { + type boolean; + description + "Is BC0 default I/F percent configured"; + } + leaf is-bc1-percent-configured { + type boolean; + description + "Is BC1 default I/F percent configured"; + } + leaf bandwidth-configuration-model { + type Igpte-lib-bw-model; + description + "Bandwith configuration model currently in use + (MAM/RDM)"; + } + } + + grouping RSVP-MGMT-GLBL-NBR-COMPACT { + description + "Compact Info for RSVP Global Neighbor"; + container global-neighbor-flags { + description + "Global Neighbor Flags"; + uses RSVP-MGMT-GLBL-NBR-FLAGS; + } + leaf is-gr-enabled { + type boolean; + description + "Is GR enabled"; + } + leaf node-address { + type inet:ipv4-address; + description + "Neighbor node address"; + } + leaf restart-state { + type Rsvp-mgmt-restart-state; + description + "Restart state"; + } + leaf-list local-node-address { + type inet:ipv4-address; + description + "Local node address"; + } + leaf-list neighbor-hello-state { + type Rsvp-mgmt-hello-state; + description + "Neighbor Hello state"; + } + leaf-list lost-communication-reason { + type Rsvp-mgmt-hello-down-reason; + description + "Reason why communication was lost"; + } + leaf-list lost-communication-total { + type uint16; + description + "Total number of times communication got lost"; + } + list up-time { + description + "Time hellos have been up"; + uses RSVP-MGMT-TIMESPEC; + } + list lost-communication-time { + description + "Time when communication was lost"; + uses RSVP-MGMT-TIMESPEC; + } + } + + grouping RSVP-MGMT-PATH-COMPACT { + description + "Compact Form of RSVP Path Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container template { + description + "RSVP Template"; + uses RSVP-MGMT-FILTER-INFO; + } + container session-attribute { + description + "RSVP Session Attribute"; + uses RSVP-MGMT-SESSION-ATTRIBUTE; + } + container traffic-spec { + description + "RSVP Traffic Spec Info"; + uses RSVP-MGMT-TRAFFIC-SPEC; + } + container generic-traffic-spec { + description + "RSVP Generic Traffic Spec Info"; + uses RSVP-MGMT-GEN-TRAFFIC-SPEC; + } + leaf input-interface { + type string; + description + "Path Input Interface"; + } + } + + grouping RSVP-MGMT-GLBL-NBR-FLAGS { + description + "Global Neighbor Flags"; + leaf is-application-ouni { + type boolean; + description + "OUNI Application"; + } + leaf is-application-mpls { + type boolean; + description + "MPLS Application"; + } + } + + grouping RSVP-MGMT-GLBL-NBR-DETAIL { + description + "Detail Info for RSVP Global Neighbor"; + container global-neighbor-flags { + description + "Global Neighbor Flags"; + uses RSVP-MGMT-GLBL-NBR-FLAGS; + } + container restart-time-left { + description + "How much restart time remains"; + uses RSVP-MGMT-TIMESPEC; + } + container restart-timer-expiry-time { + description + "When will restart timer expire"; + uses RSVP-MGMT-TIMESPEC; + } + container recovery-time-left { + description + "How much recovery timer remains"; + uses RSVP-MGMT-TIMESPEC; + } + container recovery-timer-exp-time { + description + "Time at which recovery timer will expire"; + uses RSVP-MGMT-TIMESPEC; + } + leaf is-gr-enabled { + type boolean; + description + "Is GR enabled"; + } + leaf node-address { + type inet:ipv4-address; + description + "Neighbor node address"; + } + leaf restart-state { + type Rsvp-mgmt-restart-state; + description + "Current restart state"; + } + leaf restart-time { + type uint32; + units "millisecond"; + description + "GR Restart Time (milliseconds)"; + } + leaf is-restart-timer-running { + type boolean; + description + "Is GR restart timer running"; + } + leaf recovery-time { + type uint32; + units "millisecond"; + description + "GR Recovery Time (milliseconds)"; + } + leaf is-recovery-timer-running { + type boolean; + description + "Is RSVP recovery timer running"; + } + leaf hello-interval { + type uint32; + units "millisecond"; + description + "Hello Interval (milliseconds)"; + } + leaf missed-hellos { + type uint8; + description + "Hello missed count"; + } + leaf pending-states { + type uint32; + description + "Number of pending states for this neighbor"; + } + leaf-list local-node-address { + type inet:ipv4-address; + description + "Local node address"; + } + leaf-list interface-neighbor { + type inet:ipv4-address; + description + "Interface Neighbor List"; + } + leaf-list neighbor-hello-state { + type Rsvp-mgmt-hello-state; + description + "Neighbor's hello state"; + } + leaf-list lost-communication-reason { + type Rsvp-mgmt-hello-down-reason; + description + "Reason why communication was lost"; + } + leaf-list lost-communication-total { + type uint16; + description + "Total number of times communication got lost"; + } + list up-time { + description + "Hello up time"; + uses RSVP-MGMT-TIMESPEC; + } + list lost-communication-time { + description + "Time when communication was lost"; + uses RSVP-MGMT-TIMESPEC; + } + } + + grouping RSVP-MGMT-HELLO-INSTANCE-DETAIL { + description + "Detail Info for RSVP Hello Instance"; + container up-time { + description + "Hello up time"; + uses RSVP-MGMT-TIMESPEC; + } + container communication-lost-time { + description + "Time when communication was lost"; + uses RSVP-MGMT-TIMESPEC; + } + leaf source-address-xr { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination address"; + } + leaf hello-instance-owner { + type Rsvp-mgmt-hello-instance-owner; + description + "Hello instance owner"; + } + leaf neighbor-hello-state { + type Rsvp-mgmt-hello-state; + description + "Neighbor Hello state"; + } + leaf instance-type { + type Rsvp-mgmt-hello-instance; + description + "Hello instance type"; + } + leaf hello-interface { + type xr:Interface-name; + description + "Interface to use"; + } + leaf hello-interval { + type uint32; + description + "Hello Interval"; + } + leaf missed-acks-allowed { + type uint32; + description + "Number of missed Hello allowed"; + } + leaf source-instance { + type uint32; + description + "Source Instance"; + } + leaf destination-instance { + type uint32; + description + "Destination Instance"; + } + leaf communication-lost-reason { + type Rsvp-mgmt-hello-down-reason; + description + "Reason why communication was lost"; + } + leaf total-communication-lost { + type uint16; + description + "Total number of times communication got lost"; + } + leaf communication-lost-hello-missed { + type uint16; + description + "Lost Comm. Hello missed count"; + } + leaf communication-lost-wrong-source-inst { + type uint16; + description + "Count of lost comm. due to wrong Source Inst"; + } + leaf communication-lost-wrong-destination-inst { + type uint16; + description + "Count of lost comm. due to wrong Destination + Inst"; + } + leaf communication-lost-interface-down { + type uint16; + description + "Count of lost comm. due to interface down"; + } + leaf communication-lost-neighbor-disabled-hello { + type uint16; + description + "Count of lost comm. due to nbor disabling Hellos"; + } + leaf hello-messages-sent { + type uint64; + description + "Number of hello messages sent"; + } + leaf hello-messages-received { + type uint64; + description + "Number of hello messages received"; + } + leaf hello-request-suppressed { + type uint64; + description + "Count of Hello Requests suppessed"; + } + } + + grouping RSVP-SESSION-RSB-DETAIL { + description + "RSVP Detail Session Reservation Info"; + container generic-out-label { + description + "Generic Label for outbound traffic"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container flow-spec { + description + "Flow spec object"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec object"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + leaf is-valid { + type boolean; + description + "Entry validity"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf out-interface { + type xr:Interface-name; + description + "Interface on which outbound message was sent"; + } + leaf out-label { + type Rsvp-mgmt-mpls-label; + description + "Label for outbound traffic"; + } + leaf backup-interface { + type xr:Interface-name; + description + "Backup tunnel interface"; + } + leaf backup-label { + type Rsvp-mgmt-mpls-label; + description + "Backup label"; + } + leaf is-rro-valid { + type boolean; + description + "RRO validity"; + } + leaf is-flow-spec-valid { + type boolean; + description + "FlowSpec validity"; + } + list rro { + description + "Record route object"; + uses RSVP-MGMT-RRO-SUBOBJ; + } + } + + grouping RSVP-MGMT-REV-LSP-UNSUPPORTED-SUBOBJ { + description + "RSVP MGMT REV LSP UNSUPPORTED SUBOBJ"; + leaf-list rsvp-mgmt-rev-lsp-unsupported-subobj { + type uint8; + description + "rsvp mgmt rev lsp unsupported subobj"; + } + } + + grouping RSVP-MGMT-REVERSE-LSP { + description + "RSVP REVERSE_LSP Object"; + container generic-traffic-spec { + description + "Generic Traffic Spec object"; + uses RSVP-MGMT-GEN-TRAFFIC-SPEC; + } + list ero { + description + "Explicit Route Sub Objects"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list unsup-sub-object { + description + "Unsupported REVERSE_LSP Sub Objects"; + uses RSVP-MGMT-REV-LSP-UNSUPPORTED-SUBOBJ; + } + } + + grouping RSVP-MGMT-PROTECTION-LINK-FLAGS { + description + "RSVP PROTECTION Object Link Flags"; + leaf enhanced { + type boolean; + description + "Indicates Enhanced Protection Scheme"; + } + leaf ded1-plus1 { + type boolean; + description + "Dedicated 1+1 Protection"; + } + leaf ded1-to1 { + type boolean; + description + "Dedicated 1:1 Protection"; + } + leaf shared { + type boolean; + description + "Shared Link Layer Protection"; + } + leaf unprotected { + type boolean; + description + "LSP should not use any Link Layer Protection"; + } + leaf extra-traffic { + type boolean; + description + "LSP should use Links that are protecting other + (primary) traffic"; + } + leaf reserved-bit1 { + type boolean; + description + "Reserved Bit 1"; + } + leaf reserved-bit2 { + type boolean; + description + "Reserved Bit 2"; + } + } + + grouping RSVP-MGMT-PROTECTION-LSP-FLAGS { + description + "RSVP PROTECTION Object LSP Flags"; + leaf rerouting { + type boolean; + description + "Full Rerouting"; + } + leaf rerouting-no-et { + type boolean; + description + "Rerouting Without Extra-Traffic"; + } + leaf one-to-n-protection-et { + type boolean; + description + "1:N Protection with Extra-Traffic"; + } + leaf one-plus-one-uni { + type boolean; + description + "1+1 Unidirectional Protection"; + } + leaf one-plus-one-bi { + type boolean; + description + "1+1 Bidirectional Protection"; + } + } + + grouping RSVP-MGMT-PROTECTION { + description + "RSVP PROTECTION Object Info"; + container lsp-flags { + description + "PROTECTION Object LSP Flags"; + uses RSVP-MGMT-PROTECTION-LSP-FLAGS; + } + container link-flags { + description + "PROTECTION Object Link Flags"; + uses RSVP-MGMT-PROTECTION-LINK-FLAGS; + } + leaf s { + type boolean; + description + "Secondary Bit"; + } + leaf p { + type boolean; + description + "Protecting Bit"; + } + leaf n { + type boolean; + description + "Notification Bit"; + } + leaf o { + type boolean; + description + "Operational Bit"; + } + } + + grouping RSVP-MGMT-ASSOCIATION-IPV6-EXT { + description + "RSVP EXTENDED ASSOCIATION IPv6 Object Info"; + leaf type { + type uint16; + description + "Association Type (RFC 4872)"; + } + leaf id { + type uint16; + description + "Association ID"; + } + leaf source { + type inet:ipv6-address; + description + "Association IPV6 Source Address"; + } + leaf global-source { + type uint32; + description + "Global Association Source"; + } + leaf-list extended-id { + type uint32; + description + "Extended Association ID"; + } + } + + grouping RSVP-MGMT-ASSOCIATION-IPV4-EXT { + description + "RSVP EXTENDED ASSOCIATION IPv4 Object Info"; + leaf type { + type uint16; + description + "Association Type (RFC 4872)"; + } + leaf id { + type uint16; + description + "Association ID"; + } + leaf source { + type inet:ipv4-address; + description + "Association IPV4 Source Address"; + } + leaf global-source { + type uint32; + description + "Global Association Source"; + } + leaf-list extended-id { + type uint32; + description + "Extended Association ID"; + } + } + + grouping RSVP-MGMT-ASSOCIATION-IPV6 { + description + "RSVP ASSOCIATION IPv6 Object Info"; + leaf type { + type uint16; + description + "Association Type (RFC 4872)"; + } + leaf id { + type uint16; + description + "Association ID"; + } + leaf source { + type inet:ipv6-address; + description + "Association IPV6 Source Address"; + } + } + + grouping RSVP-MGMT-ASSOCIATION-IPV4 { + description + "RSVP ASSOCIATION IPv4 Object Info"; + leaf type { + type uint16; + description + "Association Type (RFC 4872)"; + } + leaf id { + type uint16; + description + "Association ID"; + } + leaf source { + type inet:ipv4-address; + description + "Association IPV4 Source Address"; + } + } + + grouping RSVP-MGMT-ASSOCIATION { + description + "Union of the different ASSOCIATION types"; + container ipv4 { + when "../association-type = 'ipv4'" { + description + "../AssociationType = 'IPv4'"; + } + description + "IPV4 ASSOCIATION Object"; + uses RSVP-MGMT-ASSOCIATION-IPV4; + } + container ipv6 { + when "../association-type = 'ipv6'" { + description + "../AssociationType = 'IPv6'"; + } + description + "IPV6 ASSOCIATION Object"; + uses RSVP-MGMT-ASSOCIATION-IPV6; + } + container extended-ipv4 { + when "../association-type = 'extended-ipv4'" { + description + "../AssociationType = 'ExtendedIPv4'"; + } + description + "EXTENDED IPV4 ASSOCIATION Object"; + uses RSVP-MGMT-ASSOCIATION-IPV4-EXT; + } + container extended-ipv6 { + when "../association-type = 'extended-ipv6'" { + description + "../AssociationType = 'ExtendedIPv6'"; + } + description + "EXTENDED IPV6 ASSOCIATION Object"; + uses RSVP-MGMT-ASSOCIATION-IPV6-EXT; + } + leaf association-type { + type Rsvp-mgmt-association; + description + "AssociationType"; + } + } + + grouping RSVP-MGMT-RRO-SRLG-SUBOBJ { + description + "RSVP RRO SRLG subobject"; + leaf-list srl-gs { + type uint32; + description + "The RRO Subobject SRLGs"; + } + } + + grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS { + description + "RSVP RRO UNNUMBERED Subobject Flags"; + leaf is-protection-available { + type boolean; + description + "Local Protection Available"; + } + leaf is-protection-in-use { + type boolean; + description + "Local Protection In Use"; + } + leaf is-bandwidth-protected { + type boolean; + description + "Bandwidth Protection Available"; + } + leaf is-node-protection-available { + type boolean; + description + "Node Protection Available"; + } + leaf is-node-id { + type boolean; + description + "Node ID In Use"; + } + } + + grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ { + description + "RSVP RRO Unnumbered subobject"; + container flags { + description + "The RRO Subobject Unnumbered Flags"; + uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS; + } + leaf interface-address { + type inet:ipv4-address; + description + "The RRO Interface Address"; + } + leaf interface-id { + type uint32; + description + "The RRO Interface ID"; + } + } + + grouping RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS { + description + "RSVP RRO Label Subobject Flags"; + leaf is-global-label { + type boolean; + description + "Label is Global across all interfaces"; + } + } + + grouping RSVP-MGMT-RRO-LABEL-SUBOBJ { + description + "RSVP RRO Label subobject"; + container flags { + description + "The RRO Subobject Label Flags"; + uses RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS; + } + leaf label { + type uint32; + description + "The RRO Subobject Label Value"; + } + leaf is-label-variable-length { + type boolean; + description + "Is the RRO Subobject Label Variable Length"; + } + leaf-list variable-length-label { + type uint32; + description + "The RRO Subobject Variable Length Label"; + } + } + + grouping RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS { + description + "RSVP RRO IPV4 Subobject Flags"; + leaf is-protection-available { + type boolean; + description + "Local Protection Available"; + } + leaf is-protection-in-use { + type boolean; + description + "Local Protection In Use"; + } + leaf is-bandwidth-protected { + type boolean; + description + "Bandwidth Protection Available"; + } + leaf is-node-protection-available { + type boolean; + description + "Node Protection Available"; + } + leaf is-node-id { + type boolean; + description + "Node ID In Use"; + } + } + + grouping RSVP-MGMT-RRO-IPV4-SUBOBJ { + description + "RSVP RRO IPV4 subobject"; + container flags { + description + "The RRO IPV4 Subobject Flags"; + uses RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS; + } + leaf rro-address { + type inet:ipv4-address; + description + "The RRO IPV4 Address"; + } + } + + grouping RSVP-MGMT-RRO-SUBOBJ { + description + "Union of the different RSVP RRO types"; + container ipv4rro-sub-object { + when "../rro-type = 'ipv4rro-type'" { + description + "../RROType = 'IPv4RROType'"; + } + description + "IPV4 RRO Sub Object"; + uses RSVP-MGMT-RRO-IPV4-SUBOBJ; + } + container label-rro-sub-object { + when "../rro-type = 'label-rro-type'" { + description + "../RROType = 'LabelRROType'"; + } + description + "Label RRO Sub Object"; + uses RSVP-MGMT-RRO-LABEL-SUBOBJ; + } + container unnumbered-rro-sub-object { + when "../rro-type = 'unnumbered-rro-type'" { + description + "../RROType = 'UnnumberedRROType'"; + } + description + "Unnumbered RRO Sub Object"; + uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ; + } + container srlg-rro-sub-object { + when "../rro-type = 'srlg-rro-type'" { + description + "../RROType = 'SRLG_RROType'"; + } + description + "SRLG RRO Sub Object"; + uses RSVP-MGMT-RRO-SRLG-SUBOBJ; + } + leaf rro-type { + type Rsvp-mgmt-rro-subobj; + description + "RROType"; + } + } + + grouping RSVP-SESSION-PSB-DETAIL { + description + "RSVP Detail Session Path Info"; + container generic-in-label { + description + "Generic Label for inbound traffic"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container traffic-spec { + description + "Traffic Spec object"; + uses RSVP-MGMT-TRAFFIC-SPEC; + } + container generic-traffic-spec { + description + "Generic Traffic Spec object"; + uses RSVP-MGMT-GEN-TRAFFIC-SPEC; + } + container association { + description + "Association object"; + uses RSVP-MGMT-ASSOCIATION; + } + container protection { + description + "Protection object"; + uses RSVP-MGMT-PROTECTION; + } + container reverse-lsp { + description + "Reverse LSP object"; + uses RSVP-MGMT-REVERSE-LSP; + } + leaf is-valid { + type boolean; + description + "Entry validity"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf lsp-id { + type uint32; + description + "LSP ID"; + } + leaf p2mp-sub-group-origin { + type inet:ipv4-address; + description + "Point to Multipoint SubGroup Origin"; + } + leaf sub-group-id { + type uint16; + description + "Point to Multipoint Subgroup ID"; + } + leaf in-interface { + type xr:Interface-name; + description + "Interface on which inbound message was received"; + } + leaf in-label { + type Rsvp-mgmt-mpls-label; + description + "Label for inbound traffic"; + } + leaf lsp-wrap-label { + type Rsvp-mgmt-mpls-label; + description + "LSP Wrap Label"; + } + leaf is-bad-address { + type boolean; + description + "Address validity"; + } + leaf incoming-interface-address { + type inet:ipv4-address; + description + "IP address of Path's incoming interface"; + } + leaf is-ero-valid { + type boolean; + description + "ERO validity"; + } + leaf is-rro-valid { + type boolean; + description + "RRO validity"; + } + leaf is-traffic-spec-valid { + type boolean; + description + "Traffic Spec validity"; + } + leaf tunnel-name { + type string; + description + "Tunnel name"; + } + list ero { + description + "Explicit Route Sub Objects"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list rro { + description + "Record Route Sub Objects"; + uses RSVP-MGMT-RRO-SUBOBJ; + } + } + + grouping RSVP-SESSION-PSB-RSB-DETAIL { + description + "List of Path and Reservation Info"; + list psb-info { + description + "Path Info"; + uses RSVP-SESSION-PSB-DETAIL; + } + list rsb-info { + description + "Reservation Info"; + uses RSVP-SESSION-RSB-DETAIL; + } + } + + grouping RSVP-MGMT-SESSION-DETAIL { + description + "RSVP Detail Session Info"; + container compact { + description + "Compact session data"; + uses RSVP-MGMT-SESSION-COMPACT; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + list psb-rsb-info { + description + "Path and Reservation Info"; + uses RSVP-SESSION-PSB-RSB-DETAIL; + } + } + + grouping RSVP-MGMT-KEY { + description + "Key to uniquely identify some RSVP records"; + leaf p2mp-id { + type uint32; + description + "Point-to-multipoint ID"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf destination-port-or-tunnel-id { + type uint32; + description + "Destination Port or Tunnel ID. For the LSP and + OUNI session types this represents the Tunnel ID + whereas for the UDP session type this represents + the Destination Port"; + } + leaf protocol { + type uint32; + description + "Protocol. UDP session type this represents the + Protocol (UDP not supported at present)"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "Protocol or Extended Tunnel ID. For the LSP and + OUNI sesion types this represents the Extended + Tunnel ID"; + } + leaf session-type { + type Rsvp-mgmt-session; + description + "Session Type (e.g. LSP, OUNI or UDP)"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source Address"; + } + leaf source-port-or-lsp-id { + type uint32; + description + "Source Port or LSP_ID. For the LSP and OUNI + session types this represents the LSP_ID whereas + for the UDP session type this represents the + SourcePort"; + } + leaf p2mp-sub-group-origin { + type inet:ipv4-address; + description + "Point to Multipoint SubGroup Origin"; + } + leaf sub-group-id { + type uint16; + description + "Point to Multipoint Subgroup ID"; + } + leaf vrfid { + type Rsi-vrf-id; + description + "Signalling VRF ID"; + } + } + + grouping RSVP-MGMT-REQUEST-FLAGS { + description + "Request state flags"; + leaf is-local-receiver { + type boolean; + description + "Local Receiver"; + } + leaf is-refreshing { + type boolean; + description + "Is neighbor refreshing"; + } + leaf is-send-confirm { + type boolean; + description + "Send Confirm message"; + } + leaf is-ack-outstanding { + type boolean; + description + "Is ACK message outstanding"; + } + leaf is-message-id-allocated { + type boolean; + description + "Is MessageID allocated"; + } + leaf is-nack-received { + type boolean; + description + "A NACK message was received"; + } + leaf is-retransmit { + type boolean; + description + "Retransmit the message"; + } + leaf is-paced { + type boolean; + description + "Message is paced"; + } + leaf is-label-request-in-path { + type boolean; + description + "The Path message contains Label Request"; + } + leaf is-rro-in-path { + type boolean; + description + "The Path message contains RRO"; + } + leaf is-record-label-in-path { + type boolean; + description + "Path has Session-Attr object with Record Labels + set"; + } + leaf is-merge-point { + type boolean; + description + "Is node a Merge Point"; + } + } + + grouping RSVP-MGMT-REQUEST-DETAIL { + description + "Detailed Form of RSVP Request Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container flow-spec { + description + "Flow Spec Information"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec Information"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + container filter { + description + "RSVP Filter"; + uses RSVP-MGMT-FILTER-INFO; + } + container style { + description + "RSVP Style"; + uses RSVP-MGMT-STYLE; + } + container req-flags { + description + "Request flags"; + uses RSVP-MGMT-REQUEST-FLAGS; + } + container hop { + description + "Hop Infomation"; + uses RSVP-MGMT-HOP-INFO; + } + container header { + description + "RSVP Header Information"; + uses RSVP-MGMT-HEADER-INFO; + } + container policy-sources { + description + "RSVP Policy Sources"; + uses RSVP-MGMT-POLICY-SOURCES; + } + container policy-flags { + description + "RSVP Policy Flags"; + uses RSVP-MGMT-POLICY-FLAGS; + } + container policy-query-flags { + description + "RSVP Query Flags"; + uses RSVP-MGMT-POLICY-QUERY-FLAGS; + } + leaf output-interface { + type string; + description + "output Interface"; + } + list psb-key { + description + "List of RSB keys"; + uses RSVP-MGMT-KEY; + } + list rsb-key { + description + "List of RSB keys"; + uses RSVP-MGMT-KEY; + } + } + + grouping RSVP-MGMT-REQUEST-COMPACT { + description + "Compact Form of RSVP Request Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container flow-spec { + description + "Flow Spec Information"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec Information"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + container filter { + description + "RSVP Filter"; + uses RSVP-MGMT-FILTER-INFO; + } + container style { + description + "RSVP Style"; + uses RSVP-MGMT-STYLE; + } + leaf output-interface { + type string; + description + "Output Interface"; + } + } + + grouping RSVP-MGMT-FRR-STATES-DETAIL { + description + "RSVP states for one FRR LSP"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + leaf path-status { + type Rsvp-mgmt-frr-state-enum; + description + "RSVP FRR Path States"; + } + leaf reservation-status { + type Rsvp-mgmt-frr-state-enum; + description + "RSVP FRR Reservation States"; + } + } + + grouping RSVP-GLOBAL-INFO { + description + "RSVP global information"; + container issu-status { + description + "Issu status"; + uses RSVP-NSR-ISSU-STATUS-INFO; + } + container nsr-status { + description + "NSR status"; + uses RSVP-NSR-ISSU-STATUS-INFO; + } + container database-counters { + description + "All database counters"; + uses RSVP-MGMT-ALL-DB-COUNTERS; + } + leaf interfaces { + type uint32; + description + "Total interfaces"; + } + leaf ls-ps { + type uint32; + description + "Total LSPs"; + } + } + + grouping RSVP-IDT-STATUS { + description + "IDT status information"; + leaf sync-status { + type Rsvp-sync-status; + description + "Sync status"; + } + leaf not-ready-reason { + type Rsvp-proc-nsr-not-ready-reason; + description + "Not ready reason"; + } + leaf idt-start-time { + type uint32; + units "second"; + description + "IDT start timestamp in seconds"; + } + leaf idt-end-time { + type uint32; + units "second"; + description + "IDT end timestamp in seconds"; + } + leaf declare-time { + type uint32; + units "second"; + description + "Declare ready timestamp in seconds"; + } + leaf withdraw-time { + type uint32; + units "second"; + description + "Withdraw ready timestamp in seconds"; + } + } + + grouping RSVP-NSR-ISSU-STATUS-INFO { + description + "NSR/ISSU status information"; + container idt-status { + description + "IDT status"; + uses RSVP-IDT-STATUS; + } + container previous-idt-status { + description + "Previous IDT status"; + uses RSVP-IDT-STATUS; + } + leaf role { + type Rsvp-proc-role; + description + "Process role"; + } + } + + grouping RSVP-MGMT-IF-NBR-DETAIL { + description + "Detail Info for RSVP Interface Neighbor"; + leaf interface-neighbor-address { + type inet:ipv4-address; + description + "Interface Neighbor address"; + } + leaf neighbor-interface-name { + type xr:Interface-name; + description + "Neighbor's Interface handle"; + } + leaf is-rr-enabled { + type boolean; + description + "Is Neighbor's RR enable"; + } + leaf neighbor-epoch { + type uint32; + description + "Neighbor's epoch value"; + } + leaf out-of-order-messages { + type uint32; + description + "Number of out of order msgs"; + } + leaf retransmitted-messages { + type uint32; + description + "Number of retransmitted msgs"; + } + } + + grouping RSVP-MGMT-NBR-DETAIL { + description + "Detail Info for RSVP Neighbor"; + leaf node-address { + type inet:ipv4-address; + description + "Neighbor node address"; + } + list interface-neighbor-list-detail { + description + "Detail list of I/F Neighbors"; + uses RSVP-MGMT-IF-NBR-DETAIL; + } + } + + grouping RSVP-MGMT-HELLO-IF-INSTANCE-DETAIL { + description + "Detail Info for IF-based RSVP Hello Instance"; + container last-message-sent-time { + description + "Last Ack/msg sent time"; + uses RSVP-MGMT-TIMESPEC; + } + leaf source-address-xr { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination address"; + } + leaf hello-global-neighbor-id { + type inet:ipv4-address; + description + "Global Neighbor ID"; + } + leaf instance-type { + type Rsvp-mgmt-hello-instance; + description + "Hello instance type"; + } + leaf hello-interface { + type xr:Interface-name; + description + "Interface to use"; + } + leaf source-instance { + type uint32; + description + "Source Instance"; + } + leaf destination-instance { + type uint32; + description + "Destination Instance"; + } + leaf hello-messages-sent { + type uint64; + description + "Number of hello messages sent"; + } + leaf hello-messages-received { + type uint64; + description + "Number of hello messages received"; + } + } + + grouping RSVP-MGMT-HELLO-IF-INSTANCE-COMPACT { + description + "Compact Info for IF-based RSVP Hello Instance"; + leaf source-address-xr { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination address"; + } + leaf instance-type { + type Rsvp-mgmt-hello-instance; + description + "Hello instance type"; + } + leaf hello-interface { + type xr:Interface-name; + description + "Interface to use"; + } + } + + grouping RSVP-MGMT-LOCAL-NODE-ID-IPV4 { + description + "Local Node-id"; + leaf local-node-ip-address { + type inet:ipv4-address; + description + "Local node address"; + } + leaf application-type { + type Rsvp-mgmt-gr-app; + description + "GR local node-id app type"; + } + } + + grouping RSVP-MGMT-GRACEFUL-RESTART { + description + "RSVP Graceful Restart Info"; + container recovery-time-left { + description + "How much recovery timer remains"; + uses RSVP-MGMT-TIMESPEC; + } + container recovery-timer-exp-time { + description + "Time at which recovery timer will expire"; + uses RSVP-MGMT-TIMESPEC; + } + leaf is-gr-enabled { + type boolean; + description + "Whether GR is enabled"; + } + leaf global-neighbors { + type uint32; + description + "Global neighbor count"; + } + leaf restart-time { + type uint32; + units "millisecond"; + description + "Restart time (milliseconds)"; + } + leaf recovery-time { + type uint32; + units "millisecond"; + description + "Recovery time (milliseconds)"; + } + leaf is-recovery-timer-running { + type boolean; + description + "Whether recovery timer is running"; + } + leaf hello-interval { + type uint32; + description + "Interval at which hello messages are sent"; + } + leaf missed-hellos { + type uint8; + description + "Max number of hellos missed before hellos + declared down"; + } + leaf pending-states { + type uint32; + description + "Total number of pending states"; + } + list local-node-address { + description + "Local node address"; + uses RSVP-MGMT-LOCAL-NODE-ID-IPV4; + } + } + + grouping RSVP-MGMT-INTERFACE-COMPACT { + description + "Compact Form of RSVP interface Info"; + container bandwidth-information { + description + "Interface bandwidth information"; + uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; + } + leaf interface-name-xr { + type string; + description + "Interface Name"; + } + } + + grouping RSVP-MGMT-ALL-DB-COUNTERS { + description + "All database counters"; + leaf sessions { + type uint32; + description + "Number of sessions"; + } + leaf incoming-paths { + type uint32; + description + "Number of locally created and incoming path + states"; + } + leaf outgoing-paths { + type uint32; + description + "Number of outgoing path states"; + } + leaf incoming-reservations { + type uint32; + description + "Number of locally created and incoming + reservation states"; + } + leaf outgoing-reservations { + type uint32; + description + "Number of outgoing reservation states"; + } + leaf interfaces { + type uint32; + description + "Number of Interfaces"; + } + } + + grouping RSVP-SYNC-COUNT-INFO { + description + "RSVP sync sent and received counters information"; + leaf last-cleared-timestamp { + type uint32; + units "second"; + description + "The timestamp, in seconds, when these statistics + are cleared since 00:00:00 UTC, + January 1, 1970"; + } + leaf rsvp-process-role { + type Rsvp-proc-role; + description + "Process role"; + } + leaf last-idt-states { + type uint32; + description + "Last IDT number of states"; + } + leaf total-states { + type uint32; + description + "Total number of states"; + } + leaf total-deletions { + type uint32; + description + "Total number of deletions"; + } + leaf total-nacks { + type uint64; + description + "Total number of NACKs"; + } + leaf total-id-ts { + type uint32; + description + "Total number of IDTs"; + } + } + + grouping RSVP-MGMT-EVENT-COUNT-INFO { + description + "Count of events"; + leaf expired-paths { + type uint32; + description + "Counter for Expired Path states"; + } + leaf expired-reservations { + type uint32; + description + "Counter for Expired Reservation states"; + } + leaf nac-ks { + type uint32; + description + "Counter for NACKs received"; + } + } + + grouping RSVP-MGMT-COUNTERS-OOR { + description + "Counters for all messages dropped in OOR + condition"; + leaf dropped-path-messages { + type uint32; + description + "Count of Path messages dropped due to an out of + resource condition"; + } + } + + grouping RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO { + description + "Prefix filtering interface counters"; + container forwarded { + description + "Count of messages which got forwarded"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container locally-destined { + description + "Count of locally destined messages"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container dropped { + description + "Count of messages dropped"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container default-action-dropped { + description + "Count of messages which got dropped due to + default ACL action"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container default-action-processed { + description + "Count of messages which were processed due to + default ACL action"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container total { + description + "Count of total messages"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + } + + grouping RSVP-MGMT-COUNT-PREFIX-MSG { + description + "Message types for prefix filtering"; + leaf path { + type uint32; + description + "Count of Path messages"; + } + leaf path-tear { + type uint32; + description + "Count of PathTear messages"; + } + leaf reservation-confirm { + type uint32; + description + "Count of ReservationConfirm messages"; + } + leaf total { + type uint32; + description + "Total count of messages"; + } + } + + grouping RSVP-MGMT-COUNT-PREFIX-ACL-INFO { + description + "Prefix filtering ACL counters"; + container forwarded { + description + "Count of messages which got forwarded"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container locally-destined { + description + "Count of locally destined messages"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container dropped { + description + "Count of messages dropped"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + container total { + description + "Count of total messages"; + uses RSVP-MGMT-COUNT-PREFIX-MSG; + } + } + + grouping RSVP-MGMT-COUNTS { + description + "Counters for all known RSVP message types"; + leaf path { + type uint32; + description + "Count of Path messages"; + } + leaf reservation { + type uint32; + description + "Count of Reservation messages"; + } + leaf path-error { + type uint32; + description + "Count of PathError messages"; + } + leaf reservation-error { + type uint32; + description + "Count of ReservationError messages"; + } + leaf path-tear { + type uint32; + description + "Count of PathTear messages"; + } + leaf reservation-tear { + type uint32; + description + "Count of ReservationTear messages"; + } + leaf reservation-confirm { + type uint32; + description + "Count of ReservationConfirm messages"; + } + leaf bundle { + type uint32; + description + "Count of Bundle messages"; + } + leaf ack { + type uint32; + description + "Count of ACK messages"; + } + leaf srefresh { + type uint32; + description + "Count of Srefresh messages"; + } + leaf hello { + type uint32; + description + "Count of Hello messages"; + } + leaf challenge { + type uint32; + description + "Count of Integrity Challenge messages"; + } + leaf response { + type uint32; + description + "Count of Integrity Response messages"; + } + } + + grouping RSVP-MGMT-COUNT-MESSAGE { + description + "Counters for all messages"; + container received-messages { + description + "Count of messages received"; + uses RSVP-MGMT-COUNTS; + } + container transmitted-messages { + description + "Count of messages transmitted"; + uses RSVP-MGMT-COUNTS; + } + container bundle-received-messages { + description + "Count of Bundle messages received"; + uses RSVP-MGMT-COUNTS; + } + container bundle-transmitted-messages { + description + "Count of Bundle messages transmitted"; + uses RSVP-MGMT-COUNTS; + } + leaf retransmitted-messages { + type uint32; + description + "Count of messages retransmitted"; + } + leaf out-of-order-messages { + type uint32; + description + "Count of Out of Order messages"; + } + leaf rate-limited-messages { + type uint32; + description + "Count of Rate Limited messages"; + } + } + + grouping RSVP-MGMT-RESERVATION-COMPACT { + description + "Compact Form of RSVP Reservation Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container flow-spec { + description + "Flow Spec Information"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec Info"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + container style { + description + "RSVP Style"; + uses RSVP-MGMT-STYLE; + } + container filter { + description + "RSVP Filter"; + uses RSVP-MGMT-FILTER-INFO; + } + leaf input-interface { + type string; + description + "Reservation Input Interface"; + } + } + + grouping RSVP-MGMT-AUTH-RECV-TYPE-COUNTERS { + description + "RSVP Authentication Receive Type Counters"; + leaf authentication-received-valid-messages { + type uint32; + description + "Valid messages"; + } + leaf authentication-received-challenges-sent { + type uint32; + description + "Challenges sent"; + } + leaf authentication-received-challenge-response { + type uint32; + description + "Challenge responses received"; + } + leaf authentication-received-challenges-resent { + type uint32; + description + "Challenges resent"; + } + leaf authentication-received-challenge-timeouts { + type uint32; + description + "Challenge timeouts"; + } + leaf authentication-received-during-challenge { + type uint32; + description + "Authentication received during challenge"; + } + leaf authentication-received-incomplete { + type uint32; + description + "Authentication received incomplete"; + } + leaf authentication-received-no-integrity { + type uint32; + description + "Authentication received with no integrity"; + } + leaf authentication-received-bad-digest { + type uint32; + description + "Authentication received with bad digest"; + } + leaf authentication-received-wrong-digest-type { + type uint32; + description + "Authentication received with wrong digest type"; + } + leaf authentication-received-sequence-number-duplicate { + type uint32; + description + "Authentication received with duplicate sequence + number"; + } + leaf authentication-received-sequence-number-outof-range { + type uint32; + description + "Authentication received with sequence number out + of range"; + } + leaf authentication-received-wrong-challenges-response { + type uint32; + description + "Incorect challenge responses received"; + } + leaf authentication-received-challenges-response-duplicate { + type uint32; + description + "Duplicate challenge responses received"; + } + leaf authentication-received-response-late { + type uint32; + description + "Challenge responses received late"; + } + leaf authentication-received-bad-message-format { + type uint32; + description + "Authentication received with bad mesage format"; + } + } + + grouping RSVP-MGMT-AUTH-DIRECTION-RECV { + description + "RSVP Authentication Recieve Type Information"; + container counters { + description + "Counters"; + uses RSVP-MGMT-AUTH-RECV-TYPE-COUNTERS; + } + leaf sequence { + type uint64; + description + "Sequence number"; + } + leaf sequence-window-size { + type uint32; + description + "Sequence window size"; + } + leaf sequence-window-count { + type uint32; + description + "Sequence window count"; + } + leaf-list sequence-window { + type uint64; + max-elements "64"; + description + "Sequence window"; + } + } + + grouping RSVP-MGMT-AUTH-SEND-TYPE-COUNTERS { + description + "RSVP Authentication Send Type Counters"; + leaf authentication-sent { + type uint32; + description + "Messages sent"; + } + leaf authentication-failures { + type uint32; + description + "Failures"; + } + leaf authentication-send-challenges-received { + type uint32; + description + "Challenges received"; + } + leaf authentication-challenge-responses-sent { + type uint32; + description + "Challenge responses sent"; + } + } + + grouping RSVP-MGMT-AUTH-DIRECTION-SEND { + description + "RSVP Authentication Send Type Information"; + container counters { + description + "Counters"; + uses RSVP-MGMT-AUTH-SEND-TYPE-COUNTERS; + } + leaf sequence { + type uint64; + description + "Sequence number"; + } + } + + grouping RSVP-MGMT-AUTH-DIRECTION { + description + "Union of the different RSVP Authentication + Direction types"; + container send-info { + when "../auth-direction = 'rsvp-mgmt-auth-direction-send'" { + description + "../AuthDirection = 'RSVPMgmtAuthDirectionSend'"; + } + description + "send info"; + uses RSVP-MGMT-AUTH-DIRECTION-SEND; + } + container receive-info { + when "../auth-direction = 'rsvp-mgmt-auth-direction-recv'" { + description + "../AuthDirection = 'RSVPMgmtAuthDirectionRecv'"; + } + description + "receive info"; + uses RSVP-MGMT-AUTH-DIRECTION-RECV; + } + leaf auth-direction { + type Rsvp-mgmt-auth-direction; + description + "AuthDirection"; + } + } + + grouping RSVP-MGMT-AUTHENTICATION-DETAIL { + description + "Authentication Detail Information"; + container auth-compact { + description + "Basic authentication data"; + uses RSVP-MGMT-AUTHENTICATION-COMPACT; + } + container direction-info { + description + "direction info"; + uses RSVP-MGMT-AUTH-DIRECTION; + } + leaf key-status { + type uint32; + description + "Key status"; + } + leaf key-digest-info { + type uint32; + description + "Direction"; + } + leaf lifetime { + type uint32; + units "second"; + description + "Lifetime (seconds)"; + } + leaf lifetime-left { + type uint32; + units "second"; + description + "Remaining lifetime (seconds)"; + } + leaf challenge-status { + type Rsvp-mgmt-auth-challenge-status; + description + "Challenge status"; + } + } + + grouping RSVP-MGMT-HELLO-INSTANCE-COMPACT { + description + "Compact Info for RSVP Hello Instance"; + leaf source-address-xr { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination address"; + } + leaf neighbor-hello-state { + type Rsvp-mgmt-hello-state; + description + "Neighbor Hello state"; + } + leaf instance-type { + type Rsvp-mgmt-hello-instance; + description + "Hello instance type"; + } + leaf hello-interface { + type xr:Interface-name; + description + "Interface to use"; + } + leaf lost-communication-total { + type uint16; + description + "Total number of times communication got lost"; + } + } + + grouping RSVP-MGMT-RSB-FLAGS { + description + "Reservation State Block Flags"; + leaf is-local-receiver { + type boolean; + description + "Local Receiver"; + } + leaf is-message-id-valid { + type boolean; + description + "MessageID Valid"; + } + leaf is-local-repair { + type boolean; + description + "Rerouted"; + } + leaf is-merge-point { + type boolean; + description + "Is node a Merge Point"; + } + leaf is-lockout { + type boolean; + description + "Locked Out"; + } + } + + grouping RSVP-MGMT-STYLE { + description + "RSVP Reservation Style"; + leaf reservation-type { + type Rsvp-mgmt-reservation-type-enum; + description + "The Reservation Type: WF, SE or FF"; + } + } + + grouping RSVP-MGMT-FLOW-SPEC-G709-OTN { + description + "RSVP G709 OTN FlowSpec Info"; + leaf flow-signal-type { + type uint8; + description + "G709 OTN Flow Signal Type (Refer G709 v3)"; + } + leaf flow-nvc { + type uint16; + description + "G709 OTN Flow NVC"; + } + leaf flow-multiplier { + type uint16; + description + "G709 OTN Flow Multiplier"; + } + leaf flow-bit-rate { + type uint64; + description + "G709 OTN Flow Bit Rate"; + } + } + + grouping RSVP-MGMT-GEN-FLOW-SPEC { + description + "Union of different RSVP Generic FlowSpec types"; + container g709otn-flow-spec { + when "../flow-spec-type = 'g709otn'" { + description + "../FlowSpecType = 'G709OTN'"; + } + description + "G709 OTN FlowSpec"; + uses RSVP-MGMT-FLOW-SPEC-G709-OTN; + } + leaf flow-spec-type { + type Rsvp-mgmt-flow-spec; + description + "FlowSpecType"; + } + } + + grouping RSVP-MGMT-FLOW-SPEC { + description + "RSVP Flow Spec"; + leaf flow-average-rate { + type uint64; + units "byte/s"; + description + "The Flow Average Rate in bytes per second"; + } + leaf flow-max-burst { + type uint64; + description + "The Flow Maximum Burst"; + } + leaf flow-peak-rate { + type uint64; + units "byte/s"; + description + "The Flow Peak Rate in bytes per second"; + } + leaf flow-min-unit { + type uint32; + description + "The Flow Minimum Unit"; + } + leaf flow-max-unit { + type uint32; + description + "The Flow Maximum Unit"; + } + leaf flow-requested-rate { + type uint64; + units "byte/s"; + description + "The Flow Requested Rate in bytes per second"; + } + leaf flow-slack { + type uint32; + description + "The Flow Slack"; + } + leaf flow-qos { + type Rsvp-mgmt-qos-service-enum; + description + "The Flow Quality of Service"; + } + } + + grouping RSVP-MGMT-RESERVATION-DETAIL { + description + "Detailed Form of RSVP Reservation Info"; + container flow-spec { + description + "Flow Spec Information"; + uses RSVP-MGMT-FLOW-SPEC; + } + container generic-flow-spec { + description + "Generic Flow Spec Information"; + uses RSVP-MGMT-GEN-FLOW-SPEC; + } + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container style { + description + "RSVP Style"; + uses RSVP-MGMT-STYLE; + } + container filter { + description + "RSVP Filter"; + uses RSVP-MGMT-FILTER-INFO; + } + container rsb-flags { + description + "Reservation State Block Flags"; + uses RSVP-MGMT-RSB-FLAGS; + } + container hop { + description + "Hop Infomation"; + uses RSVP-MGMT-HOP-INFO; + } + container policy-sources { + description + "RSVP Policy Sources"; + uses RSVP-MGMT-POLICY-SOURCES; + } + container header { + description + "RSVP Header Information"; + uses RSVP-MGMT-HEADER-INFO; + } + container policy-flags { + description + "RSVP Policy Flags"; + uses RSVP-MGMT-POLICY-FLAGS; + } + container expiry-time { + description + "Expiry Time"; + uses RSVP-MGMT-TIMESPEC; + } + container policy-query-flags { + description + "RSVP Query Flags"; + uses RSVP-MGMT-POLICY-QUERY-FLAGS; + } + container label-info { + description + "Label Information"; + uses RSVP-MGMT-LABEL-INFO; + } + leaf input-adjusted-interface { + type string; + description + "Input Adjusted Interface"; + } + leaf input-physical-interface { + type string; + description + "Input Physical Interface"; + } + } + + grouping RSVP-MGMT-FRR-STATE-STATUS-COUNTERS { + description + "FRR state counters"; + leaf total { + type uint32; + description + "Total number of instances of this state"; + } + leaf active-instances { + type uint32; + description + "Number of active instances of this state"; + } + leaf ready-instances { + type uint32; + description + "Number of ready instances of this state"; + } + leaf active-wait-instances { + type uint32; + description + "Number of instances of this state awaiting Path + messages to be sent out or Resv messages to be + received"; + } + } + + grouping RSVP-MGMT-FRR-STATES-COMPACT { + description + "Count of RSVP FRR States"; + container path-states { + description + "Path state counters"; + uses RSVP-MGMT-FRR-STATE-STATUS-COUNTERS; + } + container reservation-states { + description + "Rerservation state counters"; + uses RSVP-MGMT-FRR-STATE-STATUS-COUNTERS; + } + } + + grouping RSVP-MGMT-MESSAGEID { + description + "RSVP Message ID"; + leaf message-id { + type Rsvp-mgmt-messageid; + description + "Message ID"; + } + } + + grouping RSVP-MGMT-NBOR { + description + "Neighbor"; + container expiry-time { + description + "Expiry time"; + uses RSVP-MGMT-TIMESPEC; + } + leaf is-neighbor-refresh-reduction-capable { + type boolean; + description + "Is neighbor capable of Refresh Reduction"; + } + leaf neighbor-address { + type inet:ipv4-address; + description + "IP address of the neighbor"; + } + leaf message-ids { + type uint32; + description + "Number of MessageIDs"; + } + leaf outgoing-states { + type int32; + description + "Number of outgoing states to the neighbour"; + } + list neighbor-message-id { + max-elements "6"; + description + "List of Neighbor MessageIDs"; + uses RSVP-MGMT-MESSAGEID; + } + } + + grouping RSVP-MGMT-INTERFACE-FLAGS { + description + "Interface related flags"; + leaf is-mpls-enabled { + type boolean; + description + "MPLS enabled on interface"; + } + leaf is-refresh-reduction-enabled { + type boolean; + description + "Refresh Reduction enabled"; + } + leaf is-pacing-enabled { + type boolean; + description + "Message pacing enabled"; + } + leaf is-refresh-enabled { + type boolean; + description + "Refresh enabled"; + } + leaf is-s-refresh-enabled { + type boolean; + description + "Summary Refresh enabled"; + } + leaf is-interface-down { + type boolean; + description + "Interface is DOWN"; + } + leaf is-interface-created { + type boolean; + description + "Interface is created"; + } + leaf is-rel-s-refresh-enabled { + type boolean; + description + "Use reliable xmt for SRefresh"; + } + leaf is-backup-tunnel { + type boolean; + description + "This is backup tunnel"; + } + leaf is-rsvp-configured { + type boolean; + description + "RSVP explicitly configured"; + } + leaf is-non-default-vrf { + type boolean; + description + "Interface is defined in non-Default VRF"; + } + leaf is-message-bundling-enabled { + type boolean; + description + "Use bundling for outgoing RSVP messages."; + } + } + + grouping RSVP-MGMT-INTERFACE-DETAIL { + description + "Detail Form of RSVP interface Info"; + container bandwidth-information { + description + "Interface bandwidth information"; + uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; + } + container flags { + description + "Interface flags"; + uses RSVP-MGMT-INTERFACE-FLAGS; + } + leaf interface-name-xr { + type string; + description + "Interface Name"; + } + leaf signalling-ip-tos { + type uint8; + description + "IP TOS (precedence/DSCP) to use in signalling + messages"; + } + leaf integrity-send-password { + type string { + length "0..40"; + } + description + "Integrity send password"; + } + leaf integrity-receive-password { + type string { + length "0..40"; + } + description + "Integrity receive password"; + } + leaf integrity-receive-password-optional { + type uint8; + description + "Integrity recv password optional"; + } + leaf refresh-timer-state { + type Rsvp-timer-state; + description + "Refresh timer state"; + } + leaf summary-refresh-timer-state { + type Rsvp-timer-state; + description + "Summary refresh timer state"; + } + leaf refresh-interval { + type int32; + units "millisecond"; + description + "Refresh interval in msecs"; + } + leaf out-of-band-refresh-interval { + type uint32; + units "millisecond"; + description + "Out-of-band Refresh interval in msecs"; + } + leaf summary-refresh-max-size { + type uint32; + units "byte"; + description + "Max size in bytes of a single SRefresh"; + } + leaf bundle-message-max-size { + type uint32; + units "byte"; + description + "Max size in bytes of a single Bundle message"; + } + leaf expiry-timer-state { + type Rsvp-timer-state; + description + "Expiry timer state"; + } + leaf expiry-states { + type int32; + description + "Number of states for expiry check"; + } + leaf expiry-interval { + type int32; + units "millisecond"; + description + "Expiry interval in msecs"; + } + leaf expiry-drops-tolerated { + type int32; + description + "Number of missed messages tolerated"; + } + leaf out-of-band-expiry-drops-tolerated { + type uint32; + description + "Number of out-of-band missed messages tolerated"; + } + leaf ack-hold-time { + type uint32; + description + "ACK hold time in msec"; + } + leaf ack-max-size { + type uint32; + description + "Max size for ACK message"; + } + leaf retransmit-time { + type uint32; + description + "Retransmit time in msec"; + } + leaf pacing-interval { + type uint32; + units "millisecond"; + description + "Pacing interval in msecs"; + } + leaf pacing-message-rate { + type uint32; + description + "No. of messages per interval"; + } + leaf pacing-timer-state { + type Rsvp-timer-state; + description + "State of pacing timer"; + } + leaf pacing-messages { + type int32; + description + "Number of messages deferred for pacing"; + } + list neighbor-array { + max-elements "6"; + description + "Neighbor array"; + uses RSVP-MGMT-NBOR; + } + } + + grouping RSVP-MGMT-ERO-UNNUM-SUBOBJ { + description + "RSVP ERO UNNUM subobject"; + leaf is-strict-route { + type boolean; + description + "ERO Entry Is Strict"; + } + leaf ero-interface-id { + type uint32; + description + "The Interface ID in ERO"; + } + leaf ero-router-id { + type inet:ipv4-address; + description + "The Router ID in ERO"; + } + leaf status { + type Rsvp-mgmt-ero-subobj-status; + description + "Status of ERO"; + } + } + + grouping RSVP-MGMT-ERO-IPV4-SUBOBJ { + description + "RSVP ERO IPV4 subobject"; + leaf is-strict-route { + type boolean; + description + "ERO Entry Is Strict"; + } + leaf ero-address { + type inet:ipv4-address; + description + "The ERO IPV4 Address"; + } + leaf prefix-length { + type uint8; + description + "ERO Prefix Length"; + } + } + + grouping RSVP-MGMT-ERO-SUBOBJ { + description + "Union of the different RSVP ERO types"; + container ipv4ero-sub-object { + when "../ero-type = 'rsvp-mgmt-ero-type-ipv4'" { + description + "../EROType = 'RSVP_MGMT_ERO_TYPE_IPv4'"; + } + description + "IPV4 ERO Sub Object"; + uses RSVP-MGMT-ERO-IPV4-SUBOBJ; + } + container unnumbered-ero-sub-object { + when "../ero-type = 'rsvp-mgmt-ero-type-un-num'" { + description + "../EROType = 'RSVP_MGMT_ERO_TYPE_UNNUM'"; + } + description + "Unnumbered ERO Sub Object"; + uses RSVP-MGMT-ERO-UNNUM-SUBOBJ; + } + leaf ero-type { + type Rsvp-mgmt-ero-subobj; + description + "EROType"; + } + } + + grouping RSVP-MGMT-CT-INFO { + description + "Class-Type Information"; + leaf is-class-type-info-valid { + type boolean; + description + "Is the Class-Type information valid"; + } + leaf class-type { + type uint8; + description + "DS-TE Class-Type"; + } + } + + grouping RSVP-MGMT-GENERALIZED-LABEL { + description + "RSVP Generalized Label"; + leaf-list value { + type uint32; + description + "Generalized Label Value"; + } + } + + grouping RSVP-MGMT-GENERIC-LABEL { + description + "Union of different RSVP Generic Label types"; + container generalized-label { + when "../generic-label-type = 'rsvp-mgmt-label-type-gmpls'" { + description + "../GenericLabelType = + 'RSVP_MGMT_LABEL_TYPE_GMPLS'"; + } + description + "Generalized Label"; + uses RSVP-MGMT-GENERALIZED-LABEL; + } + leaf generic-label-type { + type Rsvp-mgmt-generic-label; + description + "GenericLabelType"; + } + } + + grouping RSVP-MGMT-LABEL-INFO { + description + "Label Information"; + container generic-local-downstream-label { + description + "Generic Local Downstream Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container generic-outgoing-downstream-label { + description + "Generic Outgoing Downstream Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container generic-merge-point-label { + description + "Generic MergePoint Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container generic-outgoing-upstream-label { + description + "Generic Outgoing Upstream Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container generic-local-upstream-label { + description + "Generic Local Upstream Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + container generic-recovery-label { + description + "Generic Recovery Label"; + uses RSVP-MGMT-GENERIC-LABEL; + } + leaf is-valid { + type boolean; + description + "Is the label information valid"; + } + leaf local-downstream-label { + type Rsvp-mgmt-mpls-label; + description + "Local Downstream Label"; + } + leaf outgoing-downstream-label { + type Rsvp-mgmt-mpls-label; + description + "Outgoing Downstream Label"; + } + leaf merge-point-label { + type Rsvp-mgmt-mpls-label; + description + "MergePoint Label"; + } + leaf outgoing-upstream-label { + type Rsvp-mgmt-mpls-label; + description + "Outgoing Upstream Label"; + } + leaf local-upstream-label { + type Rsvp-mgmt-mpls-label; + description + "Local Upstream Label"; + } + leaf recovery-label { + type Rsvp-mgmt-mpls-label; + description + "Recovery Label"; + } + leaf lsp-wrap-label { + type Rsvp-mgmt-mpls-label; + description + "LSP Wrap Label"; + } + } + + grouping RSVP-PATH-FORWARDING-CONTEXT { + description + "RSVP Path Forwarding Context"; + container policy-flags { + description + "Policy Flags"; + uses RSVP-MGMT-POLICY-FLAGS; + } + container policy-query-flags { + description + "Policy Query Flags"; + uses RSVP-MGMT-POLICY-QUERY-FLAGS; + } + leaf output-interface { + type string; + description + "Output interface"; + } + } + + grouping RSVP-MGMT-POLICY-QUERY-FLAGS { + description + "RSVP Policy Query Flags"; + leaf is-needed { + type boolean; + description + "Needed"; + } + leaf is-report-required { + type boolean; + description + "Report Required"; + } + leaf is-resync { + type boolean; + description + "Resynchronization"; + } + leaf is-bypass { + type boolean; + description + "Bypass"; + } + } + + grouping RSVP-MGMT-POLICY-FLAGS { + description + "RSVP Policy Flags"; + leaf is-accepted { + type boolean; + description + "Accepted"; + } + leaf is-installed { + type boolean; + description + "Installed"; + } + leaf is-forwarding { + type boolean; + description + "Forwarding"; + } + } + + grouping RSVP-MGMT-TIMESPEC { + description + "RSVP Time Spec"; + leaf seconds { + type int32; + units "second"; + description + "Time Value in Seconds"; + } + leaf nanoseconds { + type int32; + units "nanosecond"; + description + "Time Value in Nano-seconds"; + } + } + + grouping RSVP-MGMT-HEADER-INFO { + description + "RSVP/IP Header Info"; + leaf rsvp-version { + type uint8; + description + "RSVP Version"; + } + leaf rsvp-header-flags { + type uint8; + description + "RSVP Header Flags (defined in RFC2205 Section 3 + .1.1)"; + } + leaf rsvp-ttl { + type uint8; + description + "RSVP TTL"; + } + leaf rsvp-message-type { + type uint8; + description + "RSVP Message Type"; + } + leaf ip-tos { + type uint8; + description + "IP Type of Service"; + } + leaf ip-ttl { + type uint8; + description + "IP TTL"; + } + leaf ip-source-address { + type inet:ipv4-address; + description + "IP Source Address"; + } + } + + grouping RSVP-MGMT-POLICY-SOURCES { + description + "RSVP Policy Sources"; + leaf is-te-link { + type boolean; + description + "Policy Source is TE Link"; + } + leaf is-local { + type boolean; + description + "Policy Source is Local"; + } + leaf is-cops { + type boolean; + description + "Policy Source is COPS"; + } + leaf is-default { + type boolean; + description + "Policy Source is Default"; + } + leaf is-cable { + type boolean; + description + "Policy Source is Cable"; + } + } + + grouping RSVP-MGMT-HOP-INFO { + description + "Hop Info"; + leaf neighbor-address { + type inet:ipv4-address; + description + "IP address of the neighbor"; + } + leaf neighbor-logical-interface-name { + type xr:Interface-name; + description + "Neighbor Logical Interface Name"; + } + } + + grouping RSVP-MGMT-PATH-FLAGS { + description + "RSVP Path Flags"; + leaf is-non-rsvp-hop-upstream { + type boolean; + description + "Non-RSVP Hop Upstream"; + } + leaf is-local-sender { + type boolean; + description + "Local Sender"; + } + leaf is-message-id-valid { + type boolean; + description + "MessageID Valid"; + } + leaf is-local-repair { + type boolean; + description + "Rerouted"; + } + leaf is-bidirectional { + type boolean; + description + "Bidirectional"; + } + leaf is-lockout { + type boolean; + description + "Locked Out"; + } + } + + grouping RSVP-MGMT-TSPEC-G709-OTN { + description + "RSVP G709 OTN Sender Tspec Info"; + leaf traffic-signal-type { + type uint8; + description + "G709 OTN Traffic Signal Type (Refer G709 v3)"; + } + leaf traffic-nvc { + type uint16; + description + "G709 OTN Traffic NVC"; + } + leaf traffic-multiplier { + type uint16; + description + "G709 OTN Traffic Multiplier"; + } + leaf traffic-bit-rate { + type uint64; + description + "G709 OTN Traffic Bit Rate"; + } + } + + grouping RSVP-MGMT-GEN-TRAFFIC-SPEC { + description + "Union of different RSVP Generic Sender Tspec + types"; + container g709otn-tspec { + when "../tspec-type = 'g709otn'" { + description + "../TspecType = 'G709OTN'"; + } + description + "G709 OTN Sender Tspec"; + uses RSVP-MGMT-TSPEC-G709-OTN; + } + container intsrv-tspec { + when "../tspec-type = 'intsrv'" { + description + "../TspecType = 'INTSRV'"; + } + description + "Integrated Services Sender Tspec"; + uses RSVP-MGMT-TRAFFIC-SPEC; + } + leaf tspec-type { + type Rsvp-mgmt-tspec; + description + "TspecType"; + } + } + + grouping RSVP-MGMT-TRAFFIC-SPEC { + description + "RSVP Traffic Spec Info"; + leaf traffic-average-rate { + type uint64; + units "byte/s"; + description + "Traffic Average Rate in bytes per second"; + } + leaf traffic-max-burst { + type uint64; + description + "Traffic Maximum Burst"; + } + leaf traffic-peak-rate { + type uint64; + units "byte/s"; + description + "Traffic Peak Rate in bytes per second"; + } + leaf traffic-min-unit { + type uint32; + description + "Traffic Minimum Unit"; + } + leaf traffic-max-unit { + type uint32; + description + "Traffic Maximum Unit"; + } + } + + grouping RSVP-MGMT-SESSION-ATTRIBUTE-FLAGS { + description + "RSVP Session Attribute Flags"; + leaf is-local-protect { + type boolean; + description + "Local Protection"; + } + leaf is-node-protect { + type boolean; + description + "Node Protection"; + } + leaf is-bandwidth-protect { + type boolean; + description + "Bandwidth Protection"; + } + leaf is-record-labels { + type boolean; + description + "Records Labels"; + } + leaf is-shared-explicit-requested { + type boolean; + description + "Shared Explicit Requested"; + } + } + + grouping RSVP-MGMT-SESSION-ATTRIBUTE { + description + "RSVP Session Attributes"; + container sess-attribute-flags { + description + "Session Attributes"; + uses RSVP-MGMT-SESSION-ATTRIBUTE-FLAGS; + } + leaf setup-priority { + type uint8; + description + "Setup Priority"; + } + leaf reservation-priority { + type uint8; + description + "Reservation Priority"; + } + } + + grouping RSVP-MGMT-FILTER-P2MP-IPV4 { + description + "RSVP P2MP IPv4 FilterSpec"; + leaf source-address { + type inet:ipv4-address; + description + "Source Address"; + } + leaf source-port { + type uint16; + description + "Source Port"; + } + leaf p2mp-sub-group-origin { + type inet:ipv4-address; + description + "Point to Multipoint SubGroup Origin"; + } + leaf sub-group-id { + type uint16; + description + "Point to Multipoint Subgroup ID"; + } + } + + grouping RSVP-MGMT-FILTER-IPV4 { + description + "RSVP Filter"; + leaf source-address { + type inet:ipv4-address; + description + "Source Address"; + } + leaf source-port { + type uint16; + description + "Source Port"; + } + } + + grouping RSVP-FILTER-UNION { + description + "Union of the different RSVP filterspec types"; + container udp-ipv4-session { + when "../filter-type = 'rsvp-mgmt-filter-type-ipv4'" { + description + "../FilterType = 'RSVPMgmtFilterTypeIPv4'"; + } + description + "UDP IPV4 FilterSpec"; + uses RSVP-MGMT-FILTER-IPV4; + } + container p2mp-ipv4-session { + when "../filter-type = 'rsvp-mgmt-filter-type-p2mp-lsp-ipv4'" { + description + "../FilterType = + 'RSVPMgmtFilterTypeP2MP_LSP_IPv4'"; + } + description + "IPv4 P2MP LSP FilterSpec"; + uses RSVP-MGMT-FILTER-P2MP-IPV4; + } + leaf filter-type { + type Rsvp-mgmt-filter; + description + "FilterType"; + } + } + + grouping RSVP-MGMT-FILTER-INFO { + description + "RSVP FilterSpec Info"; + container rsvp-filter { + description + "RSVP Filter"; + uses RSVP-FILTER-UNION; + } + } + + grouping RSVP-MGMT-S2L-SUB-LSP-IPV4 { + description + "RSVP S2L Sub-LSP"; + leaf s2l-destination-address { + type inet:ipv4-address; + description + "S2L Sub-LSP Destination Address"; + } + } + + grouping RSVP-MGMT-PATH-DETAIL { + description + "Detailed Form of RSVP Path Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + container s2l-sub-lsp { + description + "RSVP S2L Sub-LSP information"; + uses RSVP-MGMT-S2L-SUB-LSP-IPV4; + } + container template { + description + "RSVP Template"; + uses RSVP-MGMT-FILTER-INFO; + } + container session-attribute { + description + "RSVP Session Attribute"; + uses RSVP-MGMT-SESSION-ATTRIBUTE; + } + container traffic-spec { + description + "RSVP Traffic Spec Info"; + uses RSVP-MGMT-TRAFFIC-SPEC; + } + container generic-traffic-spec { + description + "RSVP Generic Traffic Spec Info"; + uses RSVP-MGMT-GEN-TRAFFIC-SPEC; + } + container path-flags { + description + "Path Flags"; + uses RSVP-MGMT-PATH-FLAGS; + } + container hop { + description + "Path Hop Info"; + uses RSVP-MGMT-HOP-INFO; + } + container policy-source-info { + description + "Policy Sources Info"; + uses RSVP-MGMT-POLICY-SOURCES; + } + container header { + description + "RSVP Header Info"; + uses RSVP-MGMT-HEADER-INFO; + } + container expiry-time { + description + "Expiry Time"; + uses RSVP-MGMT-TIMESPEC; + } + container policy-flags { + description + "Policy Flags"; + uses RSVP-MGMT-POLICY-FLAGS; + } + container policy-query-flags { + description + "Policy Query Flags"; + uses RSVP-MGMT-POLICY-QUERY-FLAGS; + } + container label-info { + description + "Label Information"; + uses RSVP-MGMT-LABEL-INFO; + } + container class-type { + description + "DS-TE Class-Type"; + uses RSVP-MGMT-CT-INFO; + } + leaf input-interface { + type string; + description + "Path Input Interface"; + } + leaf backup-tunnel-name { + type string; + description + "Path Backup Tunnel"; + } + leaf is-in-ero-valid { + type boolean; + description + "Incoming ERO validity"; + } + leaf is-out-ero-valid { + type boolean; + description + "Outgoing ERO validity"; + } + list pfc { + description + "Path Forwarding Contexts"; + uses RSVP-PATH-FORWARDING-CONTEXT; + } + list in-ero { + description + "Incoming Explicit Route Sub Objects"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list out-ero { + description + "Outgoing Explicit Route Sub Objects"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + } + + grouping RSVP-MGMT-SESSION-P2MP-LSP-TUNNEL-IPV4 { + description + "RSVP P2MP-LSP-Tunnel-IPv4 Session"; + leaf p2mp-id { + type uint32; + description + "The Point to Multipoint ID"; + } + leaf tunnel-id { + type uint16; + description + "The Session Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "The Session Extended Tunnel ID"; + } + } + + grouping RSVP-MGMT-SESSION-UNI-IPV4 { + description + "RSVP UNI IPv4 Session"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf tunnel-id { + type uint16; + description + "The Session Tunnel ID"; + } + leaf extended-address { + type inet:ipv4-address; + description + "The Session Extended Address"; + } + } + + grouping RSVP-MGMT-SESSION-LSP-TUNNEL-IPV4 { + description + "RSVP LSP-Tunnel-IPv4 Session"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf tunnel-id { + type uint16; + description + "The Session Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "The Session Extended Tunnel ID"; + } + } + + grouping RSVP-MGMT-SESSION-UDP-IPV4 { + description + "RSVP UDP IPv4 Session"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf protocol { + type uint8; + description + "Protocol type (originally defined in RFC 790, + further values in subsequent RFCs)"; + } + leaf destination-port { + type uint16; + description + "The Session Destination Port"; + } + } + + grouping RSVP-SESSION-UNION { + description + "Union of the different RSVP session types"; + container ipv4 { + when "../session-type = 'rsvp-mgmt-session-type-udp-ipv4'" { + description + "../SessionType = 'RSVPMgmtSessionTypeUDP_IPv4'"; + } + description + "UDP IPv4 session"; + uses RSVP-MGMT-SESSION-UDP-IPV4; + } + container ipv4-lsp-session { + when "../session-type = 'rsvp-mgmt-session-type-lsp-ipv4'" { + description + "../SessionType = 'RSVPMgmtSessionTypeLSP_IPv4'"; + } + description + "IPv4 LSP session"; + uses RSVP-MGMT-SESSION-LSP-TUNNEL-IPV4; + } + container ipv4-uni-session { + when "../session-type = 'rsvp-mgmt-session-type-uni-ipv4'" { + description + "../SessionType = 'RSVPMgmtSessionTypeUNI_IPv4'"; + } + description + "IPv4 UNI session"; + uses RSVP-MGMT-SESSION-UNI-IPV4; + } + container ipv4-p2mp-lsp-session { + when "../session-type = 'rsvp-mgmt-session-type-p2mp-lsp-ipv4'" { + description + "../SessionType = + 'RSVPMgmtSessionTypeP2MP_LSP_IPv4'"; + } + description + "IPv4 P2MP LSP session"; + uses RSVP-MGMT-SESSION-P2MP-LSP-TUNNEL-IPV4; + } + leaf session-type { + type Rsvp-mgmt-session; + description + "SessionType"; + } + } + + grouping RSVP-MGMT-SESSION-INFO { + description + "RSVP Session Info"; + container rsvp-session { + description + "RSVP Session"; + uses RSVP-SESSION-UNION; + } + } + + grouping RSVP-MGMT-SESSION-COMPACT { + description + "RSVP Compact Session Info"; + container session { + description + "RSVP Session Information"; + uses RSVP-MGMT-SESSION-INFO; + } + leaf ps-bs { + type uint32; + description + "Number of path state block states"; + } + leaf rs-bs { + type uint32; + description + "Number of reservation state block states"; + } + leaf requests { + type uint32; + description + "Number of request states"; + } + leaf detail-list-size { + type uint32; + description + "Number of elements in detail list"; + } + } + + grouping RSVP-MGMT-AUTHENTICATION-COMPACT { + description + "Authentication Compact Information"; + leaf source-address-xr { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination address"; + } + leaf neighbor-address { + type inet:ipv4-address; + description + "Neighbor address"; + } + leaf direction { + type Rsvp-mgmt-auth-direction; + description + "Direction"; + } + leaf key-type { + type Rsvp-mgmt-auth-ki; + description + "Key type"; + } + leaf key-source { + type string; + description + "Key source"; + } + leaf key-id { + type uint64; + description + "Key ID"; + } + leaf key-id-valid { + type uint32; + description + "Key validity"; + } + } + + grouping RSVP-MGMT-INTERFACE-BW-STD-DSTE { + description + "RSVP interface bandwidth info with standard based + DSTE enabled"; + leaf allocated-bit-rate { + type uint64; + units "bit/s"; + description + "Bandwidth (bits per second) now allocated"; + } + leaf max-flow-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed per flow"; + } + leaf max-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed"; + } + leaf max-pool0-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed in BC0 + pool"; + } + leaf max-pool1-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed in BC1 + pool"; + } + leaf is-max-bandwidth-absolute { + type boolean; + description + "True if the Max B/W is an absolute value and + false if its a percentage"; + } + leaf is-max-bc0-bandwidth-absolute { + type boolean; + description + "True if the Max BC0 B/W is an absolute value and + false if its a percentage"; + } + leaf is-max-bc1-bandwidth-absolute { + type boolean; + description + "True if the Max BC1 sub-pool B/W is an absolute + value and false if its a percentage"; + } + } + + grouping RSVP-MGMT-INTERFACE-BW-PRESTD-DSTE { + description + "Prestandard DSTE interface bandwidth information"; + leaf allocated-bit-rate { + type uint64; + units "bit/s"; + description + "Bandwidth (bits per second) now allocated"; + } + leaf max-flow-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed per flow"; + } + leaf max-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed"; + } + leaf max-subpool-bandwidth { + type uint64; + units "bit/s"; + description + "Max bandwidth (bits per second) allowed in + subpool"; + } + leaf is-max-bandwidth-absolute { + type boolean; + description + "True if the Max B/W is an absolute value and + false if its a percentage"; + } + leaf is-max-subpool-bandwidth-absolute { + type boolean; + description + "True if the Max sub-pool B/W is an absolute + value and false if its a percentage"; + } + } + + grouping RSVP-MGMT-DSTE-MODE-INTERFACE-BW { + description + "Union of the different RSVP interface bandwidth + types"; + container pre-standard-dste-interface { + when "../dste-mode = 'pre-standard'" { + description + "../DSTEMode = 'PreStandard'"; + } + description + "Prestandard DSTE interface information"; + uses RSVP-MGMT-INTERFACE-BW-PRESTD-DSTE; + } + container standard-dste-interface { + when "../dste-mode = 'standard'" { + description + "../DSTEMode = 'Standard'"; + } + description + "Standard DSTE interface information"; + uses RSVP-MGMT-INTERFACE-BW-STD-DSTE; + } + leaf dste-mode { + type Rsvp-mgmt-dste-modes; + description + "DSTEMode"; + } + } + + grouping RSVP-MGMT-INTERFACE-SUMMARY { + description + "Summary Form of RSVP interface Info"; + container bandwidth-information { + description + "Interface bandwidth information"; + uses RSVP-MGMT-DSTE-MODE-INTERFACE-BW; + } + leaf interface-name-xr { + type string; + description + "Interface Name"; + } + leaf paths-in { + type uint32; + description + "Number of locally created and incoming path + states"; + } + leaf paths-out { + type uint32; + description + "Number of outgoing path states"; + } + leaf reservations-in { + type uint32; + description + "Number of locally created and incoming + reservation states"; + } + leaf reservations-out { + type uint32; + description + "Number of outgoing reservation states"; + } + } + + grouping RSVP-MGMT-IF-NBR-COMPACT { + description + "Compact Info for RSVP Interface Neighbor"; + leaf interface-neighbor-address { + type inet:ipv4-address; + description + "Interface Neighbor address"; + } + leaf neighbor-interface-name { + type xr:Interface-name; + description + "Neighbor's Interface handle"; + } + } + + grouping RSVP-MGMT-NBR-COMPACT { + description + "Compact Info for RSVP Neighbor"; + leaf node-address { + type inet:ipv4-address; + description + "Neighbor node address"; + } + list interface-neighbor-list-compact { + description + "Compact list of I/F Neighbors"; + uses RSVP-MGMT-IF-NBR-COMPACT; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang new file mode 100644 index 0000000..802de0a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper-sub2.yang @@ -0,0 +1,253 @@ +submodule Cisco-IOS-XR-ip-rsvp-oper-sub2 { + belongs-to Cisco-IOS-XR-ip-rsvp-oper { + prefix Cisco-IOS-XR-ip-rsvp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-rsvp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MPLS-RSVP-INTERFACE-COUNTERS { + description + "MPLS RSVP interface counters"; + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf in-path-messages { + type uint64; + description + "Per interface count of path messages received"; + } + leaf in-path-error-messages { + type uint64; + description + "Per interface count of path error messages + received"; + } + leaf in-path-tear-messages { + type uint64; + description + "Per interface count of path tear messages + received"; + } + leaf in-reservation-messages { + type uint64; + description + "Per interface count of reservation messages + received"; + } + leaf in-reservation-error-messages { + type uint64; + description + "Per interface count of reservation error + messages received"; + } + leaf in-reservation-tear-messages { + type uint64; + description + "Per interface count of reservation tear messages + received"; + } + leaf in-hello-messages { + type uint64; + description + "Per interface count of hello messages received"; + } + leaf in-srefresh-messages { + type uint64; + description + "Per interface count of srefresh messages + received"; + } + leaf in-ack-messages { + type uint64; + description + "Per interface count of ack messages received"; + } + leaf out-path-messages { + type uint64; + description + "Per interface count of path messages send"; + } + leaf out-path-error-messages { + type uint64; + description + "Per interface count of path error messages send"; + } + leaf out-path-tear-messages { + type uint64; + description + "Per interface count of path tear messages send"; + } + leaf out-reservation-messages { + type uint64; + description + "Per interface count of reservation messages send"; + } + leaf out-reservation-error-messages { + type uint64; + description + "Per interface count of reservation error + messages send"; + } + leaf out-reservation-tear-messages { + type uint64; + description + "Per interface count of reservation tear messages + send"; + } + leaf out-hello-messages { + type uint64; + description + "Per interface count of hello messages send"; + } + leaf out-srefresh-messages { + type uint64; + description + "Per interface count of srefresh messages send"; + } + leaf out-ack-messages { + type uint64; + description + "Per interface count of ack messages send"; + } + } + + grouping MPLS-RSVP-GLOBAL-COUNTERS { + description + "MPLS RSVP global counters"; + leaf path-timeouts { + type uint64; + description + "Global count of Path Timeouts"; + } + leaf reservation-timeouts { + type uint64; + description + "Global count of reservation timeouts"; + } + leaf rate-limited-messages { + type uint64; + description + "Global count of rate limited messages"; + } + leaf in-path-messages { + type uint64; + description + "Global count of path messages received"; + } + leaf in-path-error-messages { + type uint64; + description + "Global count of path error messages received"; + } + leaf in-path-tear-messages { + type uint64; + description + "Global count of path tear messages received"; + } + leaf in-reservation-messages { + type uint64; + description + "Global count of reservation messages received"; + } + leaf in-reservation-error-messages { + type uint64; + description + "Global count of reservation error messages + received"; + } + leaf in-reservation-tear-messages { + type uint64; + description + "Global count of reservation tear messages + received"; + } + leaf in-hello-messages { + type uint64; + description + "Global count of hello messages received"; + } + leaf in-srefresh-messages { + type uint64; + description + "Global count of srefresh messages received"; + } + leaf in-ack-messages { + type uint64; + description + "Global count of ack messages received"; + } + leaf out-path-messages { + type uint64; + description + "Global count of path messages send"; + } + leaf out-path-error-messages { + type uint64; + description + "Global count of path error messages send"; + } + leaf out-path-tear-messages { + type uint64; + description + "Global count of path tear messages send"; + } + leaf out-reservation-messages { + type uint64; + description + "Global count of reservation messages send"; + } + leaf out-reservation-error-messages { + type uint64; + description + "Global count of reservation error messages send"; + } + leaf out-reservation-tear-messages { + type uint64; + description + "Global count of reservation tear messages send"; + } + leaf out-hello-messages { + type uint64; + description + "Global count of hello messages send"; + } + leaf out-srefresh-messages { + type uint64; + description + "Global count of srefresh messages send"; + } + leaf out-ack-messages { + type uint64; + description + "Global count of ack messages send"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper.yang new file mode 100644 index 0000000..c71fc08 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-rsvp-oper.yang @@ -0,0 +1,1513 @@ +module Cisco-IOS-XR-ip-rsvp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-rsvp-oper"; + prefix ip-rsvp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-rsvp-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-ip-rsvp-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-rsvp package operational data. + + This module contains definitions + for the following management objects: + rsvp-standby: RSVP operational data for standby role + rsvp: rsvp + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Rsvp-mode { + type enumeration { + enum "send" { + value 0; + description + "Send"; + } + enum "receive" { + value 1; + description + "Receive"; + } + } + description + "Rsvp mode"; + } + + typedef Rsvp-session { + type enumeration { + enum "ipv4" { + value 1; + description + "Show IPv4 sessions only"; + } + enum "p2p-lsp-ipv4" { + value 7; + description + "Show IPv4 P2P LSP sessions only"; + } + enum "ouni-ipv4" { + value 9; + description + "Show IPv4 OUNI sessions only"; + } + enum "p2mp-lsp-ipv4" { + value 13; + description + "Show IPv4 P2MP LSP sessions only"; + } + } + description + "Rsvp session"; + } + + grouping INTERFACE-NEIGHBOR-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container interface-neighbor-details { + description + "Table of detailed info about I/F neighbors"; + list interface-neighbor-detail { + key "neighbor-address"; + description + "Detailed info for a single interface neighbor"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Address of global neighbor"; + } + uses RSVP-MGMT-NBR-DETAIL; + } + } + } + + grouping COUNTERS { + description + "Common node of rsvp, rsvp-standby"; + container counters { + description + "Counters"; + container interface-messages { + description + "Table of message counters"; + list interface-message { + key "interface-name"; + description + "Interface message counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name. 'None' is used internally + where the true interface is unknown (e.g. for + routed packets)"; + } + uses RSVP-MGMT-COUNT-MESSAGE; + } + } + container message-summary { + description + "Summary information for all RSVP message + counters"; + uses RSVP-MGMT-COUNT-MESSAGE; + } + container prefix-filtering { + description + "Prefix filtering counters"; + container accesses { + description + "AccessList specific prefix filtering counters"; + list access { + key "access-list-name"; + description + "Prefix filtering counters for a specific + AccessList"; + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "AccessList Name"; + } + uses RSVP-MGMT-COUNT-PREFIX-ACL-INFO; + } + } + container interfaces { + description + "Interface specific prefix filtering counters"; + container summary { + description + "Summary of prefix filtering counts for all + interfaces"; + uses RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO; + } + container interfaces { + description + "Table of interface specific prefix filtering + counters"; + list interface { + key "interface-name"; + description + "Prefix filtering counters for a specific + interface"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "Interface Name. 'None' is used internally + where the true interface is unknown (e.g. + for routed packets)"; + } + uses RSVP-MGMT-COUNT-PREFIX-INTERFACE-INFO; + } + } + } + } + container out-of-resource { + description + "Out of resource counters"; + container interfaces { + description + "Interface specific out of resource counters"; + container summary { + description + "Summary of out of resource counts for all + interfaces"; + uses RSVP-MGMT-COUNTERS-OOR; + } + container interfaces { + description + "Table of interface specific out of resource + counters"; + list interface { + key "interface-name"; + description + "Out of resource counters for a specific + interface"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "Interface Name. 'None' is used internally + where the true interface is unknown (e.g. + for routed packets)"; + } + uses RSVP-MGMT-COUNTERS-OOR; + } + } + } + } + container interface-events { + description + "Event counters"; + list interface-event { + key "interface-name"; + description + "Event counters for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name. 'None' is used internally + where the true interface is unknown (e.g. for + routed packets)"; + } + uses RSVP-MGMT-EVENT-COUNT-INFO; + } + } + container nsr { + description + "Summary information for all RSVP NSR counters"; + uses RSVP-SYNC-COUNT-INFO; + } + container issu { + description + "Summary information for all RSVP ISSU counters"; + uses RSVP-SYNC-COUNT-INFO; + } + container database { + description + "Summary information for all RSVP database + counters"; + uses RSVP-MGMT-ALL-DB-COUNTERS; + } + container event-syncs { + description + "Table containing event sync counters"; + list event-sync { + key "interface-name"; + description + "Event sync counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses RSVP-MGMT-EVENT-COUNT-INFO; + } + } + } + } + + grouping HELLO-INTERFACE-INSTANCE-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container hello-interface-instance-details { + description + "Table of detailed info about i/f-based hello + instances"; + list hello-interface-instance-detail { + key "source-address destination-address"; + description + "Detailed info for a single interface-based + hello instance"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + uses RSVP-MGMT-HELLO-IF-INSTANCE-DETAIL; + } + } + } + + grouping AUTHENTICATION-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container authentication-briefs { + description + "Table for Authentication related information"; + list authentication-brief { + key "source-address destination-address mode-id interface-name"; + description + "Brief Authentication information"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf mode-id { + type Rsvp-mode; + description + "Mode (Tx or Rx)"; + } + leaf interface-name { + type xr:Interface-name; + description + "InterfaceName"; + } + uses RSVP-MGMT-AUTHENTICATION-COMPACT; + } + } + } + + grouping REQUEST-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container request-details { + description + "Table of detail info about requests"; + list request-detail { + description + "Detail info for a request"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-REQUEST-DETAIL; + } + } + } + + grouping RSB-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container rsb-briefs { + description + "Table of brief info about reservation state + blocks"; + list rsb-brief { + description + "Brief info for a single reservation state block"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port "; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-RESERVATION-COMPACT; + } + } + } + + grouping OPEN-CONFIG { + description + "Common node of rsvp, rsvp-standby"; + container open-config { + description + "OpenConfig info"; + container global-counters { + description + "Platform wide RSVP statistics and counters"; + uses MPLS-RSVP-GLOBAL-COUNTERS; + } + container interface-counters { + description + "Table of info about RSVP-enabled interface + counters for OpenConfig"; + list interface-counter { + key "interface-name"; + description + "Info about an RSVP-enabled interface counters"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-RSVP-INTERFACE-COUNTERS; + } + } + } + } + + grouping REQUEST-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container request-briefs { + description + "Table of brief info about requests"; + list request-brief { + description + "Brief info for a request"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-REQUEST-COMPACT; + } + } + } + + grouping HELLO-INTERFACE-INSTANCE-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container hello-interface-instance-briefs { + description + "Table of brief info about i/f-based hello + instances"; + list hello-interface-instance-brief { + key "source-address destination-address"; + description + "Brief info for a single interface-based hello + instance"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + uses RSVP-MGMT-HELLO-IF-INSTANCE-COMPACT; + } + } + } + + grouping INTERFACE-NEIGHBOR-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container interface-neighbor-briefs { + description + "Table of brief info about I/F neighbors"; + list interface-neighbor-brief { + key "neighbor-address"; + description + "Brief info for a single interface neighbor"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Address of global neighbor"; + } + uses RSVP-MGMT-NBR-COMPACT; + } + } + } + + grouping PSB-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container psb-briefs { + description + "Table of brief info about path state blocks"; + list psb-brief { + description + "Brief info for a single path state block"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port "; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-PATH-COMPACT; + } + } + } + + grouping GLOBAL-NEIGHBOR-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container global-neighbor-briefs { + description + "Table of brief info about global neighbors"; + list global-neighbor-brief { + key "neighbor-address"; + description + "Brief info for a single global neighbor"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Address of global neighbor"; + } + uses RSVP-MGMT-GLBL-NBR-COMPACT; + } + } + } + + grouping SESSION-DETAILED-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container session-detaileds { + description + "Table of detailed info about sessions"; + list session-detailed { + description + "Detailed info about session"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-SESSION-DETAIL; + } + } + } + + grouping AUTHENTICATION-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container authentication-details { + description + "Table for detailed authentication related + information"; + list authentication-detail { + key "source-address destination-address mode-id interface-name"; + description + "Brief Authentication information"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf mode-id { + type Rsvp-mode; + description + "Mode (Tx or Rx)"; + } + leaf interface-name { + type xr:Interface-name; + description + "InterfaceName"; + } + uses RSVP-MGMT-AUTHENTICATION-DETAIL; + } + } + } + + grouping GLOBAL-NEIGHBOR-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container global-neighbor-details { + description + "Table of detailed info about global neighbors"; + list global-neighbor-detail { + key "neighbor-address"; + description + "Detail info for a single global neighbor"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Address of global neighbor"; + } + uses RSVP-MGMT-GLBL-NBR-DETAIL; + } + } + } + + grouping INTERFACE-SUMMARY-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container interface-summaries { + description + "Table of summary info about RSVP-enabled + interfaces"; + list interface-summary { + key "interface-name"; + description + "Summary info about an RSVP-enabled interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses RSVP-MGMT-INTERFACE-SUMMARY; + } + } + } + + grouping INTERFACE-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container interface-briefs { + description + "Table of brief info about RSVP-enabled + interfaces"; + list interface-brief { + key "interface-name"; + description + "Brief info about an RSVP-enabled interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses RSVP-MGMT-INTERFACE-COMPACT; + } + } + } + + grouping HELLO-INSTANCE-DETAIL-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container hello-instance-details { + description + "Table of detailed info about hello instances"; + list hello-instance-detail { + key "source-address destination-address"; + description + "Detailed info for a single hello instance"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + uses RSVP-MGMT-HELLO-INSTANCE-DETAIL; + } + } + } + + grouping SUMMARY { + description + "Common node of rsvp, rsvp-standby"; + container summary { + description + "RSVP summary information"; + uses RSVP-GLOBAL-INFO; + } + } + + grouping PSB-DETAILED-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container psb-detaileds { + description + "Table of detailed info about path state blocks"; + list psb-detailed { + description + "Detailed info for a single path state block"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port "; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-PATH-DETAIL; + } + } + } + + grouping NSR { + description + "Common node of rsvp, rsvp-standby"; + container nsr { + description + "RSVP NSR information"; + container status { + description + "RSVP NSR status information"; + uses RSVP-NSR-ISSU-STATUS-INFO; + } + } + } + + grouping GRACEFUL-RESTART { + description + "Common node of rsvp, rsvp-standby"; + container graceful-restart { + description + "Info about graceful-restart"; + uses RSVP-MGMT-GRACEFUL-RESTART; + } + } + + grouping FRR-SUMMARY { + description + "Common node of rsvp, rsvp-standby"; + container frr-summary { + description + "Fast Re-Route Summary State Information"; + uses RSVP-MGMT-FRR-STATES-COMPACT; + } + } + + grouping RSB-DETAILED-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container rsb-detaileds { + description + "Table of detailed info about reservation state + blocks"; + list rsb-detailed { + description + "Detailed info for a single reservation state + block"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port "; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-RESERVATION-DETAIL; + } + } + } + + grouping HELLO-INSTANCE-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container hello-instance-briefs { + description + "Table of brief info about hello instances"; + list hello-instance-brief { + key "source-address destination-address"; + description + "Brief info for a single hello instance"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + uses RSVP-MGMT-HELLO-INSTANCE-COMPACT; + } + } + } + + grouping FRR-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container frrs { + description + "Table of detailed info about Fast Re-route + states"; + list frr { + description + "Detailed info for a single Fast Re-route state"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-FRR-STATES-DETAIL; + } + } + } + + grouping CONTROLLER-SUMMARY-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container controller-summaries { + description + "Table of summary info about RSVP-enabled + controllers"; + list controller-summary { + key "controller-name"; + description + "Summary info about an RSVP-enabled controller"; + leaf controller-name { + type xr:Interface-name; + description + "Controller Name"; + } + uses RSVP-MGMT-INTERFACE-SUMMARY; + } + } + } + + grouping SESSION-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container session-briefs { + description + "Table of brief info about sessions"; + list session-brief { + description + "Brief info about session"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-SESSION-COMPACT; + } + } + } + + grouping INTERFACE-DETAILED-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container interface-detaileds { + description + "Table of detailed info about RSVP-enabled + interfaces"; + list interface-detailed { + key "interface-name"; + description + "Detailed info about an RSVP-enabled interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses RSVP-MGMT-INTERFACE-DETAIL; + } + } + } + + grouping CONTROLLER-BRIEF-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container controller-briefs { + description + "Table of brief info about RSVP-enabled + controller"; + list controller-brief { + key "controller-name"; + description + "Brief info about an RSVP-enabled controller"; + leaf controller-name { + type xr:Interface-name; + description + "Controller Name"; + } + uses RSVP-MGMT-INTERFACE-COMPACT; + } + } + } + + grouping CONTROLLER-DETAILED-TABLE { + description + "Common node of rsvp, rsvp-standby"; + container controller-detaileds { + description + "Table of detailed info about RSVP-enabled + controllers"; + list controller-detailed { + key "controller-name"; + description + "Detailed info about an RSVP-enabled controller"; + leaf controller-name { + type xr:Interface-name; + description + "Controller Name"; + } + uses RSVP-MGMT-INTERFACE-DETAIL; + } + } + } + + container rsvp-standby { + config false; + description + "RSVP operational data for standby role"; + uses INTERFACE-NEIGHBOR-BRIEF-TABLE; + uses CONTROLLER-SUMMARY-TABLE; + uses AUTHENTICATION-BRIEF-TABLE; + uses SESSION-BRIEF-TABLE; + uses PSB-DETAILED-TABLE; + uses CONTROLLER-DETAILED-TABLE; + uses FRR-SUMMARY; + uses RSB-DETAILED-TABLE; + uses INTERFACE-SUMMARY-TABLE; + uses HELLO-INSTANCE-BRIEF-TABLE; + uses AUTHENTICATION-DETAIL-TABLE; + uses RSB-BRIEF-TABLE; + uses OPEN-CONFIG; + uses COUNTERS; + uses INTERFACE-DETAILED-TABLE; + uses CONTROLLER-BRIEF-TABLE; + uses GRACEFUL-RESTART; + uses HELLO-INTERFACE-INSTANCE-BRIEF-TABLE; + uses HELLO-INTERFACE-INSTANCE-DETAIL-TABLE; + uses INTERFACE-NEIGHBOR-DETAIL-TABLE; + uses NSR; + uses SUMMARY; + uses FRR-TABLE; + uses REQUEST-BRIEF-TABLE; + uses REQUEST-DETAIL-TABLE; + uses INTERFACE-BRIEF-TABLE; + uses SESSION-DETAILED-TABLE; + uses HELLO-INSTANCE-DETAIL-TABLE; + uses GLOBAL-NEIGHBOR-DETAIL-TABLE; + uses PSB-BRIEF-TABLE; + uses GLOBAL-NEIGHBOR-BRIEF-TABLE; + } + container rsvp { + config false; + description + "rsvp"; + container issu { + description + "RSVP ISSU information"; + container status { + description + "RSVP ISSU status information"; + uses RSVP-NSR-ISSU-STATUS-INFO; + } + } + container bw-pool-info { + description + "All B/W Pool info"; + uses RSVP-MGMT-GLBL-BW-POOL-INFO; + } + container pxsb-details { + description + "Table of detailed PXSB info"; + list pxsb-detail { + description + "Detailed PXSB info"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-PXSB-DETAIL; + } + } + container rxsb-details { + description + "Table of detailed RXSB info"; + list rxsb-detail { + description + "Detailed RXSB info"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf destination-port { + type int32; + description + "Destination Port"; + } + leaf protocol { + type int32; + description + "Protocol"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf session-type { + type Rsvp-session; + description + "Session Type"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf source-port { + type int32; + description + "Source Port"; + } + leaf sub-group-origin { + type inet:ipv4-address-no-zone; + description + "Subgroup Origin"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses RSVP-MGMT-RXSB-DETAIL; + } + } + uses INTERFACE-NEIGHBOR-BRIEF-TABLE; + uses CONTROLLER-SUMMARY-TABLE; + uses AUTHENTICATION-BRIEF-TABLE; + uses SESSION-BRIEF-TABLE; + uses PSB-DETAILED-TABLE; + uses CONTROLLER-DETAILED-TABLE; + uses FRR-SUMMARY; + uses RSB-DETAILED-TABLE; + uses INTERFACE-SUMMARY-TABLE; + uses HELLO-INSTANCE-BRIEF-TABLE; + uses AUTHENTICATION-DETAIL-TABLE; + uses RSB-BRIEF-TABLE; + uses OPEN-CONFIG; + uses COUNTERS; + uses INTERFACE-DETAILED-TABLE; + uses CONTROLLER-BRIEF-TABLE; + uses GRACEFUL-RESTART; + uses HELLO-INTERFACE-INSTANCE-BRIEF-TABLE; + uses HELLO-INTERFACE-INSTANCE-DETAIL-TABLE; + uses INTERFACE-NEIGHBOR-DETAIL-TABLE; + uses NSR; + uses SUMMARY; + uses FRR-TABLE; + uses REQUEST-BRIEF-TABLE; + uses REQUEST-DETAIL-TABLE; + uses INTERFACE-BRIEF-TABLE; + uses SESSION-DETAILED-TABLE; + uses HELLO-INSTANCE-DETAIL-TABLE; + uses GLOBAL-NEIGHBOR-DETAIL-TABLE; + uses PSB-BRIEF-TABLE; + uses GLOBAL-NEIGHBOR-BRIEF-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-cfg.yang new file mode 100644 index 0000000..da24dd1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-cfg.yang @@ -0,0 +1,164 @@ +module Cisco-IOS-XR-ip-sbfd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-cfg"; + prefix ip-sbfd-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-sbfd package configuration. + + This module contains definitions + for the following management objects: + sbfd: SBFD Configuration ,Seamless-BFD is method for detecting + faultsbetween two different nodes in a network + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping REMOTE-DISCRIMINATOR { + description + "Common node of ipv4-address, ipv6-address"; + list remote-discriminator { + key "remote-discriminator"; + description + "Remote Discriminator value"; + leaf remote-discriminator { + type uint32 { + range "1..4294967295"; + } + description + "Remote Discriminator Value"; + } + } + } + + container sbfd { + description + "SBFD Configuration ,Seamless-BFD is method for + detecting faultsbetween two different nodes in a + network"; + container remote-target { + description + "configure remote target"; + container ipv4-addresses { + description + "ipv4 address as target"; + list ipv4-address { + key "address"; + description + "IP Address Value for RemoteDiscriminatorTable"; + leaf address { + type inet:ipv4-address-no-zone; + description + " IPv4 address"; + } + uses REMOTE-DISCRIMINATOR; + } + } + container ipv6-addresses { + description + "ipv6 address as target"; + list ipv6-address { + key "address"; + description + "IP Address Value for RemoteDiscriminatorTable"; + leaf address { + type inet:ipv6-address-no-zone; + description + " IPv6 adddress"; + } + uses REMOTE-DISCRIMINATOR; + } + } + } + container local-discriminator { + description + "Configure local discriminator"; + container intf-discriminators { + description + "Configure local discriminator from interface + address"; + list intf-discriminator { + key "interface-name"; + description + "interface address as discriminator"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container dynamic-discriminators { + description + "Configure local discriminator dynamically"; + list dynamic-discriminator { + key "discriminator"; + description + "Local discriminator value"; + leaf discriminator { + type uint32 { + range "0..1"; + } + description + "Dynamic discriminator value"; + } + } + } + container ipv4-discriminators { + description + "Configure local discriminator as an ipv4 + address"; + list ipv4-discriminator { + key "address"; + description + "ipv4 address as discriminator"; + leaf address { + type inet:ip-address-no-zone; + description + " IPv4 address"; + } + } + } + container val32-discriminators { + description + "Configure local discriminator as an integer"; + list val32-discriminator { + key "discriminator"; + description + "Local discriminator value"; + leaf discriminator { + type uint32 { + range "1..4294967295"; + } + description + "Local discriminator value"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang new file mode 100644 index 0000000..2e91171 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper-sub1.yang @@ -0,0 +1,192 @@ +submodule Cisco-IOS-XR-ip-sbfd-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-sbfd-oper { + prefix Cisco-IOS-XR-ip-sbfd-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-sbfd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bfd-discr { + type uint32; + description + "Bfd discr"; + } + + typedef Bfd-in6-addr { + type inet:ipv6-address; + description + "Bfd in6 addr"; + } + + typedef Bfd-in-addr { + type inet:ipv4-address; + description + "Bfd in addr"; + } + + typedef Bfd-af-id { + type enumeration { + enum "bfd-af-id-none" { + value 0; + description + "No Address"; + } + enum "bfd-af-id-ipv4" { + value 2; + description + "IPv4 AFI"; + } + enum "bfd-af-id-ipv6" { + value 10; + description + "IPv6 AFI"; + } + } + description + "Bfd af id"; + } + + typedef Sbfd-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "ipv4"; + } + enum "ipv6" { + value 2; + description + "ipv6"; + } + } + description + "Sbfd address family"; + } + + grouping BFD-MGMT-TGT-IDENTIFIER-LOCAL { + description + "SBFD Target Identifier Table"; + leaf discr { + type uint32; + description + "Local discriminator"; + } + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + leaf flags { + type string; + description + "MODE name"; + } + leaf status { + type string; + description + "Status"; + } + leaf discr-src { + type string; + description + "Discriminator source name"; + } + } + + grouping IP-ADDR-T-UNION { + description + "IP ADDR T UNION"; + leaf afi { + type Bfd-af-id; + description + "AFI"; + } + leaf dummy { + when "../afi = 'bfd-af-id-none'" { + description + "../AFI = 'BFD_AF_ID_NONE'"; + } + type uint8; + description + "No Address"; + } + leaf ipv4 { + when "../afi = 'bfd-af-id-ipv4'" { + description + "../AFI = 'BFD_AF_ID_IPV4'"; + } + type Bfd-in-addr; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../afi = 'bfd-af-id-ipv6'" { + description + "../AFI = 'BFD_AF_ID_IPV6'"; + } + type Bfd-in6-addr; + description + "IPv6 address type"; + } + } + + grouping BFD-MGMT-TGT-IDENTIFIER-REMOTE { + description + "SBFD Target Identifier Table"; + container ip-address { + description + "IP address"; + uses IP-ADDR-T-UNION; + } + leaf tid-type { + type Sbfd-address-family; + description + "Target identifier for sbfd"; + } + leaf discr { + type Bfd-discr; + description + "Remote discriminator"; + } + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + leaf status { + type string; + description + "Status"; + } + leaf discr-src { + type string; + description + "Discriminator source name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper.yang new file mode 100644 index 0000000..cd16347 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-sbfd-oper.yang @@ -0,0 +1,115 @@ +module Cisco-IOS-XR-ip-sbfd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-sbfd-oper"; + prefix ip-sbfd-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-sbfd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-sbfd package operational data. + + This module contains definitions + for the following management objects: + sbfd: Seamless BFD (S-BFD) operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container sbfd { + config false; + description + "Seamless BFD (S-BFD) operational data"; + container target-identifier { + description + "Target-identifier information"; + container remote-vrfs { + description + "SBFD remote discriminator data"; + list remote-vrf { + key "vrf-name"; + description + "Table of remote discriminator data per VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + list remote-discriminator { + description + "SBFD remote discriminator "; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name "; + } + leaf remote-discriminator { + type int32; + description + "Remote Discriminator"; + } + leaf address { + type inet:ip-address-no-zone; + description + "Address"; + } + uses BFD-MGMT-TGT-IDENTIFIER-REMOTE; + } + } + } + container local-vrfs { + description + "SBFD local discriminator data"; + list local-vrf { + key "vrf-name"; + description + "Table of local discriminator data per VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + list local-discriminator { + description + "SBFD local discriminator "; + leaf local-discriminator { + type int32; + description + "Local discriminator"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name "; + } + uses BFD-MGMT-TGT-IDENTIFIER-LOCAL; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-static-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-static-cfg.yang new file mode 100644 index 0000000..e4c2530 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-static-cfg.yang @@ -0,0 +1,456 @@ +module Cisco-IOS-XR-ip-static-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-cfg"; + prefix ip-static-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-static package configuration. + + This module contains definitions + for the following management objects: + router-static: This class represents router static + configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-09-10 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping VRF-ROUTE { + description + "Common node of vrf-prefix, vrf-prefix-topology"; + container vrf-route { + description + "A connected or recursive static route"; + container vrf-next-hop-table { + description + "The set of nexthop information configured for + this route"; + uses VRF-NEXT-HOP; + } + } + } + + grouping VRF-NEXT-HOP { + description + "Common node of vrf-next-hop-table, + vrf-recursive-next-hop-table, + segment-route-next-hop-table"; + + grouping VRF-NEXT-HOP-CONTENT { + description + "VRF NEXT HOP CONTENT"; + leaf bfd-fast-detect { + type boolean; + default "false"; + description + "If set, bfd is enabled"; + } + leaf minimum-interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + default "100"; + description + "BFD Hello interval in milliseconds"; + } + leaf detect-multiplier { + type uint32 { + range "1..10"; + } + default "3"; + description + "BFD Detect Multiplier"; + } + leaf metric { + type uint32 { + range "1..254"; + } + default "1"; + description + "Distance metric for this path"; + } + leaf tag { + type uint32 { + range "1..4294967295"; + } + description + "Tag for this path"; + } + leaf permanent { + type boolean; + default "false"; + description + "If set, path is permanent"; + } + leaf vrf-lable { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "VRF LABEL"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + default "0"; + description + "Tunnel ID for this path"; + } + leaf object-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the object to track"; + } + leaf description { + type string; + description + "Short Description of Static Route"; + } + leaf load-metric { + type uint32 { + range "1..16777214"; + } + default "1"; + description + "UCMP load metric"; + } + leaf index { + type string; + description + "Nexthop Identifier for OC Yang model"; + } + } + list vrf-next-hop-interface-name { + key "interface-name"; + description + "A forwarding interface or Segement Routing mpls + path name and/or the address of a nexthop router + for this route (one of these must be specified)"; + leaf interface-name { + type xr:Interface-name; + description + "Forwarding interface"; + } + uses VRF-NEXT-HOP-CONTENT; + } + list vrf-next-hop-interface-name-next-hop-address { + key "interface-name next-hop-address"; + description + "A forwarding interface or Segement Routing mpls + path name and/or the address of a nexthop router + for this route (one of these must be specified)"; + leaf interface-name { + type xr:Interface-name; + description + "Forwarding interface"; + } + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next hop address"; + } + uses VRF-NEXT-HOP-CONTENT; + } + list vrf-next-hop-next-hop-address { + key "next-hop-address"; + description + "A forwarding interface or Segement Routing mpls + path name and/or the address of a nexthop router + for this route (one of these must be specified)"; + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next hop address"; + } + uses VRF-NEXT-HOP-CONTENT; + } + list vrf-next-hop-next-hop-address-explicit-path-name { + key "next-hop-address explicit-path-name"; + description + "A forwarding interface or Segement Routing mpls + path name and/or the address of a nexthop router + for this route (one of these must be specified)"; + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next hop address"; + } + leaf explicit-path-name { + type xr:Cisco-ios-xr-string; + description + "Segment Routing mpls path name"; + } + uses VRF-NEXT-HOP-CONTENT; + } + list vrf-next-hop-explicit-path-name { + key "explicit-path-name"; + description + "A forwarding interface or Segement Routing mpls + path name and/or the address of a nexthop router + for this route (one of these must be specified)"; + leaf explicit-path-name { + type xr:Cisco-ios-xr-string; + description + "Segment Routing mpls path name"; + } + uses VRF-NEXT-HOP-CONTENT; + } + } + + grouping VRF-SEG-ROUTE { + description + "Common node of vrf-prefix, vrf-prefix-topology"; + container vrf-seg-route { + description + "A static segment route"; + container segment-route-next-hop-table { + description + "The set of nexthop information configured for + this route"; + uses VRF-NEXT-HOP; + } + } + } + + grouping VRF-RECURSE-ROUTE-TABLE { + description + "Common node of vrf-prefix, vrf-prefix-topology"; + container vrf-recurse-routes { + description + "A recursive next VRF static route"; + list vrf-recurse-route { + key "vrf-name"; + description + "A recursive next vrf static route"; + container vrf-recursive-next-hop-table { + description + "The set of nexthop information configured for + this route"; + uses VRF-NEXT-HOP; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Fallback or recusive VRF name"; + } + } + } + } + + grouping TOPOLOGY-TABLE { + description + "Common node of vrf-unicast, vrf-multicast"; + container topologies { + description + "Topology static configuration container"; + list topology { + key "topology-name"; + description + "Topology static configuration"; + leaf topology-name { + type xr:Cisco-ios-xr-string; + description + "Topology name"; + } + uses VRF-PREFIX-TOPOLOGY-TABLE; + } + } + } + + grouping VRF-PREFIX-TABLE { + description + "Common node of vrf-unicast, vrf-multicast"; + container vrf-prefixes { + description + "The set of all Static Topologies for this AFI."; + list vrf-prefix { + key "prefix prefix-length"; + description + "A static route"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Destination prefix"; + } + leaf prefix-length { + type uint32 { + range "0..128"; + } + description + "Destination prefix length"; + } + uses VRF-ROUTE; + uses VRF-RECURSE-ROUTE-TABLE; + uses VRF-SEG-ROUTE; + } + } + } + + grouping ADDRESS-FAMILY { + description + "Common node of default-vrf, vrf"; + container address-family { + description + "Address family configuration"; + container vrfipv4 { + description + "IPv4 static configuration"; + uses VRF-UNICAST; + uses VRF-MULTICAST; + } + container vrfipv6 { + description + "IPv6 static configuration"; + uses VRF-UNICAST; + uses VRF-MULTICAST; + } + } + } + + grouping VRF-PREFIX-TOPOLOGY-TABLE { + description + "Common node of default-topology, topology"; + container vrf-prefix-topologies { + description + "The set of all Static Topologies for this AFI."; + list vrf-prefix-topology { + key "prefix prefix-length"; + description + "A static route"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Destination prefix"; + } + leaf prefix-length { + type uint32 { + range "0..128"; + } + description + "Destination prefix length"; + } + uses VRF-ROUTE; + uses VRF-RECURSE-ROUTE-TABLE; + uses VRF-SEG-ROUTE; + } + } + } + + grouping DEFAULT-TOPOLOGY { + description + "Common node of vrf-unicast, vrf-multicast"; + container default-topology { + description + "Default topology configuration"; + uses VRF-PREFIX-TOPOLOGY-TABLE; + } + } + + grouping VRF-UNICAST { + description + "Common node of vrfipv4, vrfipv6"; + container vrf-unicast { + description + "Unicast static configuration"; + uses TOPOLOGY-TABLE; + uses VRF-PREFIX-TABLE; + uses DEFAULT-TOPOLOGY; + } + } + + grouping VRF-MULTICAST { + description + "Common node of vrfipv4, vrfipv6"; + container vrf-multicast { + description + "Multicast static configuration"; + uses TOPOLOGY-TABLE; + uses VRF-PREFIX-TABLE; + uses DEFAULT-TOPOLOGY; + } + } + + container router-static { + description + "This class represents router static configuration"; + container vrfs { + description + "VRF static configuration container"; + list vrf { + key "vrf-name"; + description + "VRF static configuration"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses ADDRESS-FAMILY; + } + } + container default-vrf { + description + "Default VRF configuration"; + uses ADDRESS-FAMILY; + } + container maximum-routes { + description + "The maximum number of static routes that can be + configured."; + leaf ipv6-routes { + type uint32 { + range "1..140000"; + } + default "4000"; + description + "The maximum number of static routes that can be + configured for IPv6 AFI."; + } + leaf ipv4-routes { + type uint32 { + range "1..140000"; + } + default "4000"; + description + "The maximum number of static routes that can be + configured for IPv4 AFI."; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-cfg.yang new file mode 100644 index 0000000..0859133 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-cfg.yang @@ -0,0 +1,323 @@ +module Cisco-IOS-XR-ip-tcp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-cfg"; + prefix ip-tcp-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package configuration. + + This module contains definitions + for the following management objects: + ip-tcp: Global IP TCP configuration + ip: ip + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping TFTP { + description + "Common node of ipv4, ipv6"; + container tftp { + description + "TFTP server configuration commands"; + container udp { + presence "Indicates a udp node is configured."; + description + "UDP details"; + leaf access-list-name { + type string; + description + "Access list"; + } + leaf maximum-server { + type uint32 { + range "0..2147483647"; + } + description + "Set number of allowable servers, 0 for + no-limit"; + } + leaf home-directory { + type string; + mandatory true; + description + "Specify device name where file is read from (e + .g. flash:)"; + } + leaf dscp-value { + type int32; + description + "Set IP DSCP (DiffServ CodePoint) for TFTP + Server Packets"; + } + } + } + } + + grouping SMALL-SERVERS { + description + "Common node of ipv4, ipv6"; + container small-servers { + description + "Describing IPV4 and IPV6 small servers"; + container tcp-small-servers { + presence "Indicates a tcp-small-servers node is configured."; + description + "Describing TCP related IPV4 and IPV6 small + servers"; + leaf access-control-list-name { + type string; + description + "Specify the access list"; + } + leaf small-server { + type union { + type enumeration { + enum "no-limit" { + value 0; + description + "Unlimited Servers"; + } + } + type uint32 { + range "0..2147483647"; + } + } + mandatory true; + description + "Set number of allowable TCP small servers, + specify 0 for no-limit"; + } + } + } + } + + grouping TELNET { + description + "Common node of ipv4, ipv6"; + container telnet { + description + "TELNET server configuration commands"; + container tcp { + presence "Indicates a tcp node is configured."; + description + "TCP details"; + leaf access-list-name { + type string; + description + "Access list"; + } + leaf maximum-server { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Set number of allowable servers"; + } + } + } + } + + container ip-tcp { + description + "Global IP TCP configuration"; + container directory { + presence "Indicates a directory node is configured."; + description + "TCP directory details"; + leaf directoryname { + type string; + mandatory true; + description + "Directory name "; + } + leaf max-debug-files { + type uint32 { + range "1..10000"; + } + default "256"; + description + "Set number of Debug files"; + } + leaf max-file-size-files { + type uint32 { + range "1024..4294967295"; + } + units "byte"; + description + "Set size of debug files in bytes"; + } + } + container throttle { + presence "Indicates a throttle node is configured."; + description + "Throttle TCP receive buffer (in percentage)"; + leaf tcpmin-throttle { + type uint32 { + range "0..100"; + } + mandatory true; + description + "Min throttle"; + } + leaf tcpmaxthrottle { + type uint32 { + range "0..100"; + } + mandatory true; + description + "Max throttle"; + } + } + container num-thread { + presence "Indicates a num-thread node is configured."; + description + "TCP InQueue and OutQueue threads"; + leaf tcp-in-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "InQ Threads"; + } + leaf tcp-out-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "OutQ Threads"; + } + } + leaf accept-rate { + type uint32 { + range "1..1000"; + } + default "500"; + description + "TCP connection accept rate"; + } + leaf selective-ack { + type empty; + description + "Enable TCP selective-ACK"; + } + leaf window-size { + type uint32 { + range "2048..65535"; + } + units "byte"; + description + "TCP receive window size (bytes)"; + } + leaf receive-q { + type uint32 { + range "40..800"; + } + description + "TCP receive Queue Size"; + } + leaf maximum-segment-size { + type uint32 { + range "68..10000"; + } + description + "TCP initial maximum segment size"; + } + leaf syn-wait-time { + type uint32 { + range "5..30"; + } + units "second"; + description + "Time to wait on new TCP connections in seconds"; + } + leaf timestamp { + type empty; + description + "Enable TCP timestamp option"; + } + leaf path-mtu-discovery { + type int32; + units "minute"; + default "10"; + description + "Aging time; 0 for infinite, and range be (10,30)"; + } + } + container ip { + description + "ip"; + container cinetd { + description + "Cinetd configuration data"; + container services { + description + "Describing services of cinetd"; + container ipv4 { + description + "IPV4 related services"; + uses SMALL-SERVERS; + } + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF specific data"; + container ipv6 { + description + "IPV6 related services"; + uses TELNET; + uses TFTP; + } + container ipv4 { + description + "IPV4 related services"; + uses TELNET; + uses TFTP; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + container ipv6 { + description + "IPV6 related services"; + uses SMALL-SERVERS; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub1.yang new file mode 100644 index 0000000..3002302 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub1.yang @@ -0,0 +1,1722 @@ +submodule Cisco-IOS-XR-ip-tcp-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-tcp-oper { + prefix Cisco-IOS-XR-ip-tcp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Nsr-down-reason { + type enumeration { + enum "none" { + description + "None, i.e. NSR was never up"; + } + enum "init-sync-aborted" { + description + "Initial sync was aborted"; + } + enum "client-disabled" { + description + "Disabled by Active APP"; + } + enum "client-disconnect" { + description + "Standby APP disconnected"; + } + enum "tcp-disconnect" { + description + "Standby TCP disconnected"; + } + enum "failover" { + description + "RP/DRP Failover occurred"; + } + enum "nsr-clear" { + description + "Clear nsr command"; + } + enum "internal-error" { + description + "Internal error occurred"; + } + enum "retransmit-threshold-exceed" { + description + "Retransmission threshold exceededprobably + becauseS-TCP was not healthy"; + } + enum "init-sync-failure-thresh-exceeded" { + description + "Init-sync repeat failures have exceeded + threshold"; + } + enum "audit-timeout" { + description + "Audit operation timed out"; + } + enum "audit-failed" { + description + "Audit operation failed"; + } + enum "standby-sscb-deleted" { + description + "Standby SSCB deleted"; + } + enum "standby-session-close" { + description + "Session was closed on standby"; + } + enum "standby-rxpath-frozen" { + description + "RX-Path was frozen on standby"; + } + enum "partner-deleted" { + description + "Partner was deleted from set"; + } + } + description + "NSR-Down Reasons"; + } + + typedef Nsr-status { + type enumeration { + enum "down" { + description + "NSR Stream Down"; + } + enum "up" { + description + "NSR Stream Up"; + } + enum "na" { + description + "NSR Stream Not applicable"; + } + } + description + "NSR Stream Status"; + } + + typedef Addr-family { + type enumeration { + enum "internetwork" { + value 2; + description + "Internetwork: UDP, TCP, etc."; + } + enum "ip-version6" { + value 10; + description + "IP version 6"; + } + } + description + "Address Family Types"; + } + + grouping TCP-NSR-PCB-STATS-BAG { + description + "SSO/NSR statistics of a TCP connection"; + container snd-counters { + description + "Send path counters for the PCB"; + uses TCP-NSR-SND-COUNTERS-NODE; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf number-of-times-nsr-up { + type uint32; + description + "no. of times nsr went up"; + } + leaf number-of-timers-nsr-down { + type uint32; + description + "no. of times nsr went down"; + } + leaf number-of-times-nsr-disabled { + type uint32; + description + "no. of times nsr was disabled"; + } + leaf number-of-times-nsr-fail-over { + type uint32; + description + "no. of times fail-over occured"; + } + leaf internal-ack-drops-not-replicated { + type uint64; + description + "Number of iACKs dropped because session is not + replicated"; + } + leaf internal-ack-drops-initsync-first-phase { + type uint64; + description + "Number of iACKs dropped because 1st phase of + init-sync is in progress"; + } + leaf internal-ack-drops-stale { + type uint64; + description + "Number of stale iACKs dropped"; + } + leaf internal-ack-drops-immediate-match { + type uint64; + description + "Number of iACKs not held because of an immediate + match"; + } + leaf last-cleared-time { + type uint32; + units "second"; + description + "Time of last clear (in seconds since 1st Jan + 1970 00:00:00)"; + } + } + + grouping TCP-NSR-SSCB-STATS-BAG { + description + "SSO/NSR statistics of a Session Set"; + leaf sscb { + type uint64; + description + "SSCB Address"; + } + leaf set-id { + type uint32; + description + "ID of this Session-set"; + } + leaf number-of-attempted-init-sync { + type uint32; + description + "no. of initial-sync attempts"; + } + leaf number-of-succeeded-init-sync { + type uint32; + description + "no. of initial-sync successes"; + } + leaf number-of-failed-init-sync { + type uint32; + description + "no. of initial-sync failures"; + } + leaf number-of-failover { + type uint32; + description + "Number of Switch-overs"; + } + leaf number-of-nsr-resets { + type uint32; + description + "Number of times NSR was reset for the session"; + } + leaf last-cleared-time { + type uint32; + units "second"; + description + "Time of last clear (in seconds since 1st Jan + 1970 00:00:00)"; + } + } + + grouping TCP-NSR-CCB-STATS-BAG { + description + "SSO/NSR statistics of a Client"; + leaf ccb { + type uint64; + description + "Address of the Client Control Block"; + } + leaf pid { + type uint32; + description + "PID of the Client"; + } + leaf process-name { + type string; + description + "Proc name of Clinet"; + } + leaf job-id { + type int32; + description + "JOb ID of Client"; + } + leaf instance { + type uint32; + description + "Instance of the Client"; + } + leaf connected-at { + type uint32; + units "second"; + description + "Time of connect (in seconds since 1st Jan 1970 + 00:00:00)"; + } + leaf number-of-created-sscb { + type uint32; + description + "Num of created session sets"; + } + leaf number-of-deleted-sscb { + type uint32; + description + "Num of deleted session sets"; + } + leaf last-cleared-time { + type uint32; + units "second"; + description + "Time of last clear (in seconds since 1st Jan + 1970 00:00:00)"; + } + list notification-statistic { + description + "Various types of notification stats"; + uses TSS-NOTIF-STATS; + } + } + + grouping TCP-NSR-AUDIT-COUNTERS-AGGR-ONLY-NODE { + description + "Aggregate-only counters for NSR audit"; + leaf mark-session-set-rcv-drop-aggr { + type uint32; + description + "Number of session-set Mark messages dropped by + standby"; + } + leaf session-rcv-drop-aggr { + type uint32; + description + "Number of session audit messages dropped by + standby"; + } + leaf sweep-session-set-rcv-drop-aggr { + type uint32; + description + "Number of session-set Sweep messages dropped by + standby"; + } + leaf session-set-response-rcv-drop-aggr { + type uint32; + description + "Number of session-set response messages dropped + by active"; + } + leaf mark-session-set-ack-rcv-drop-aggr { + type uint32; + description + "Number of session-set mark ack messages dropped + by active"; + } + leaf mark-session-set-nack-rcv-drop-aggr { + type uint32; + description + "Number of session-set mark nack messages dropped + by active"; + } + } + + grouping TCP-NSR-AUDIT-COUNTERS-NODE { + description + "Audit counters"; + leaf mark-session-set-send { + type uint32; + description + "Number of successful session-set Mark's sent by + active"; + } + leaf mark-session-set-send-drop { + type uint32; + description + "Number of failed session-set Mark's"; + } + leaf mark-session-set-rcv { + type uint32; + description + "Number of successful session-set Mark's received + by standby"; + } + leaf mark-session-set-rcv-drop { + type uint32; + description + "Number of session-set Mark's dropped by standby"; + } + leaf session-send { + type uint32; + description + "Number of successful session audits sent by + active"; + } + leaf session-send-drop { + type uint32; + description + "Number of session audits that couldn't be sent + by active"; + } + leaf session-rcv { + type uint32; + description + "Number of session audits received by standby"; + } + leaf session-rcv-drop { + type uint32; + description + "Number of session audits dropped by standby"; + } + leaf sweep-session-set-send { + type uint32; + description + "Number of successful session-set Sweep's sent by + active"; + } + leaf sweep-session-set-send-drop { + type uint32; + description + "Number of failed session-set Sweep's"; + } + leaf sweep-session-set-rcv { + type uint32; + description + "Number of successful session-set Sweep's + received by standby"; + } + leaf sweep-session-set-rcv-drop { + type uint32; + description + "Number of session-set Sweep's dropped by standby"; + } + leaf session-set-response-send { + type uint32; + description + "Number of successful audit responses sent by + standby"; + } + leaf session-set-response-send-drop { + type uint32; + description + "Number of audit responses that couldn't be sent + by standby"; + } + leaf session-set-response-rcv { + type uint32; + description + "Number of audit responses received by active"; + } + leaf session-set-response-rcv-drop { + type uint32; + description + "Number of audit responses dropped by active"; + } + leaf mark-session-set-ack-send { + type uint32; + description + "Number of successful audit mark acks sent by + standby"; + } + leaf mark-session-set-ack-send-drop { + type uint32; + description + "Number of audit mark acks that couldn't be sent + by standby"; + } + leaf mark-session-set-ack-rcv { + type uint32; + description + "Number of audit mark acks received by active"; + } + leaf mark-session-set-ack-rcv-drop { + type uint32; + description + "Number of audit mark acks dropped by active"; + } + leaf mark-session-set-nack-send { + type uint32; + description + "Number of successful audit mark nacks sent by + standby"; + } + leaf mark-session-set-nack-send-drop { + type uint32; + description + "Number of audit mark nacks that couldn't be sent + by standby"; + } + leaf mark-session-set-nack-rcv { + type uint32; + description + "Number of audit mark nacks received by active"; + } + leaf mark-session-set-nack-rcv-drop { + type uint32; + description + "Number of audit mark nacks dropped by active"; + } + leaf abort { + type uint32; + description + "Number of times the active aborted an audit + session"; + } + } + + grouping TCP-NSR-AUDIT-COUNTERS-AGGR-NODE { + description + "Aggregate counters for NSR audit"; + container common { + description + "Common audit counters"; + uses TCP-NSR-AUDIT-COUNTERS-NODE; + } + container aggr-only { + description + "Aggregate only audit counters"; + uses TCP-NSR-AUDIT-COUNTERS-AGGR-ONLY-NODE; + } + } + + grouping TCP-NSR-SND-COUNTERS-AGGR-ONLY-NODE { + description + "Send path aggregate only counters"; + leaf data-xfer-rcv-drop-no-pcb { + type uint32; + description + "Number of Data transfer messages dropped because + PCB wasn't found"; + } + leaf data-xfer-rcv-drop-no-scb-dp { + type uint32; + description + "Number of Data transfer messages dropped because + SCB DP wasn't found"; + } + leaf seg-instr-rcv-drop-no-pcb { + type uint32; + description + "Number of Segmentation instruction messages + dropped because PCB wasn't found"; + } + leaf seg-instr-rcv-drop-no-scb-dp { + type uint32; + description + "Number of Segmentation instruction messages + dropped because SCB DP wasn't found"; + } + leaf nack-rcv-drop-no-pcb { + type uint32; + description + "Number of NACK messages dropped because PCB + wasn't found"; + } + leaf nack-rcv-drop-no-scb-dp { + type uint32; + description + "Number of NACK messages dropped because SCB DP + wasn't found"; + } + leaf cleanup-rcv-drop-no-pcb { + type uint32; + description + "Number of Cleanup messages dropped because PCB + wasn't found"; + } + leaf cleanup-rcv-drop-no-scb-dp { + type uint32; + description + "Number of Cleanup messages dropped because SCB + DP wasn't found"; + } + } + + grouping TCP-NSR-SND-COUNTERS-NODE { + description + "Send path counters"; + leaf data-xfer-send { + type uint32; + description + "Number of successful DATA transfers"; + } + leaf data-xfer-send-total { + type uint64; + description + "Amount of data transferred"; + } + leaf data-xfer-send-drop { + type uint32; + description + "Number of failed DATA transfers"; + } + leaf data-xfer-send-iov-alloc { + type uint32; + description + "Number of data transfer msgs., that required new + IOV's to be allocated"; + } + leaf data-xfer-rcv { + type uint32; + description + "Number of received DATA transfers"; + } + leaf data-xfer-rcv-success { + type uint32; + description + "Number of successfully received DATA transfers"; + } + leaf data-xfer-rcv-fail-buffer-trim { + type uint32; + description + "Number of received DATA transfers that had + buffer trim failures"; + } + leaf data-xfer-rcv-fail-snd-una-out-of-sync { + type uint32; + description + "Number of received DATA transfers that had + failures because the send path was out of sync"; + } + leaf seg-instr-send { + type uint32; + description + "Number of successful Segmentation instruction + messages"; + } + leaf seg-instr-send-units { + type uint32; + description + "Number of segement units transferred via the + successful Segmentation instruction messages"; + } + leaf seg-instr-send-drop { + type uint32; + description + "Number of failed Segmentation instruction + messages"; + } + leaf seg-instr-rcv { + type uint32; + description + "Number of received Segmentation instruction + messages"; + } + leaf seg-instr-rcv-success { + type uint32; + description + "Number of successfully received Segmentation + instruction messages"; + } + leaf seg-instr-rcv-fail-buffer-trim { + type uint32; + description + "Number of received Segmentation instructions + that had buffer trim failures"; + } + leaf seg-instr-rcv-fail-tcp-process { + type uint32; + description + "Number of received Segmentation instructions + that had failures during TCP processing"; + } + leaf nack-send { + type uint32; + description + "Number of successful NACK messages"; + } + leaf nack-send-drop { + type uint32; + description + "Number of failed NACK messages"; + } + leaf nack-rcv { + type uint32; + description + "Number of received NACK messages"; + } + leaf nack-rcv-success { + type uint32; + description + "Number of successfully received NACK messages"; + } + leaf nack-rcv-fail-data-send { + type uint32; + description + "Number of received NACK messages that had + failures when sending data in response to the + NACK"; + } + leaf cleanup-send { + type uint32; + description + "Number of successful Cleanup messages"; + } + leaf cleanup-send-drop { + type uint32; + description + "Number of failed Cleanup messages"; + } + leaf cleanup-rcv { + type uint32; + description + "Number of received Cleanup messages"; + } + leaf cleanup-rcv-success { + type uint32; + description + "Number of successfully received Cleanup messages"; + } + leaf cleanup-rcv-fail-buffer-trim { + type uint32; + description + "Number of Cleanup messages that had trim + failures"; + } + } + + grouping TCP-NSR-SND-COUNTERS-AGGR-NODE { + description + "Send path aggregate counters"; + container common { + description + "Common send path counters"; + uses TCP-NSR-SND-COUNTERS-NODE; + } + container aggr-only { + description + "Aggregate only send path counters"; + uses TCP-NSR-SND-COUNTERS-AGGR-ONLY-NODE; + } + } + + grouping TSS-NOTIF-STATS { + description + "notif stats structure used in ccb stats bag"; + leaf queued-count { + type uint32; + description + "how many were queued"; + } + leaf failed-count { + type uint32; + description + "Errors while queuing the notifs"; + } + leaf delivered-count { + type uint32; + description + "How many were picked up by app?"; + } + leaf dropped-count { + type uint32; + description + "How many were dropped because of timeout"; + } + } + + grouping TCP-NSR-SUMMARY-STATS-BAG { + description + "Summary SSO/NSR statistics"; + container snd-counters { + description + "Aggregate Send path counters"; + uses TCP-NSR-SND-COUNTERS-AGGR-NODE; + } + container audit-counters { + description + "Aggregate Audit counters"; + uses TCP-NSR-AUDIT-COUNTERS-AGGR-NODE; + } + leaf last-cleared-time { + type uint32; + units "second"; + description + "Time of last clear (in seconds since 1st Jan + 1970 00:00:00)"; + } + leaf number-of-connected-clients { + type uint32; + description + "Number of disconnected clients"; + } + leaf number-of-disconnected-clients { + type uint32; + description + "Number of disconnected clients"; + } + leaf number-of-current-clients { + type uint32; + description + "Number of current clients"; + } + leaf number-of-created-session-sets { + type uint32; + description + "Number of created session sets"; + } + leaf number-of-destroyed-session-sets { + type uint32; + description + "Number of destroyed session sets"; + } + leaf number-of-current-session-sets { + type uint32; + description + "Number of current session sets"; + } + leaf number-of-added-sessions { + type uint32; + description + "Number of added sessions"; + } + leaf number-of-deleted-sessions { + type uint32; + description + "Number of deleted sessions"; + } + leaf number-of-current-sessions { + type uint32; + description + "Number of current sessions"; + } + leaf number-of-partner-node { + type uint32; + description + " Number of Parner Nodes"; + } + leaf number-of-attempted-init-sync { + type uint32; + description + "no. of initial-sync attempts"; + } + leaf number-of-succeeded-init-sync { + type uint32; + description + "no. of initial-sync successes"; + } + leaf number-of-failed-init-sync { + type uint32; + description + "no. of initial-sync fails"; + } + leaf number-of-held-packets { + type uint32; + description + "Number of Packets held by Active TCP"; + } + leaf number-of-held-but-dropped-packets { + type uint32; + description + "Number of held packets dropped by Active TCP"; + } + leaf number-of-held-internal-acks { + type uint32; + description + "Number of Internal Acks held by Active TCP"; + } + leaf number-of-held-but-dropped-internal-acks { + type uint32; + description + "Number of held Internal Acks dropped by Active + TCP"; + } + leaf number-of-sent-internal-acks { + type uint32; + description + "Number of Internal Acks sent to Active TCP by + Standby TCP"; + } + leaf number-of-received-internal-acks { + type uint32; + description + "Number of Internal Acks received by Active TCP"; + } + leaf number-of-qad-receive-messages-drops { + type uint32; + description + "Number of dropped messages from partner TCP + stack(s)"; + } + leaf number-of-qad-receive-messages-unknowns { + type uint32; + description + "Number of unknown messages from partner TCP + stack(s)"; + } + leaf number-of-qad-receive-messages-accepts { + type uint32; + description + "Number of messages accepted from partner TCP + stack(s)"; + } + leaf number-of-qad-stale-receive-messages-drops { + type uint32; + description + "Number of dropped messages from partner TCP + stack(s) because they were out-of-order"; + } + leaf number-of-qad-transfer-message-sent { + type uint32; + description + "Number of messages sent to partner TCP stack(s)"; + } + leaf number-of-qad-transfer-message-drops { + type uint32; + description + "Number of messages failed to be sent to partner + TCP stack(s)"; + } + leaf number-of-internal-ack-drops-no-pcb { + type uint32; + description + "Number of iACKs dropped because there is no PCB"; + } + leaf number-of-internal-ack-drops-no-scbdp { + type uint32; + description + "Number of iACKs dropped because there is no + datapath SCB"; + } + leaf internal-ack-drops-not-replicated { + type uint32; + description + "Number of iACKs dropped because session is not + replicated"; + } + leaf internal-ack-drops-initsync-first-phase { + type uint32; + description + "Number of iACKs dropped because init-sync is in + 1st phase"; + } + leaf internal-ack-drops-stale { + type uint32; + description + "Number of stale iACKs dropped"; + } + leaf internal-ack-drops-immediate-match { + type uint32; + description + "Number of iACKs not held because of an immediate + match"; + } + leaf held-packet-drops { + type uint32; + description + "Number of held packets dropped because of errors"; + } + list notification-statistic { + description + "Various types of notification stats"; + uses TSS-NOTIF-STATS; + } + } + + grouping TCP-NSR-SSCB-DETAILED-BAG { + description + "Detailed Information about an SSO/NSR Session-set"; + leaf sscb { + type uint64; + description + "Address of the Session Set Control Block"; + } + leaf pid { + type uint32; + description + "PID of the Client that owns this Session-set"; + } + leaf set-id { + type uint32; + description + "ID of this Session-set"; + } + leaf sso-role { + type uint32; + description + "TCP role for this set?"; + } + leaf mode { + type uint32; + description + "Session-set mode"; + } + leaf address-family { + type Addr-family; + description + "Address Family of the sessions in this set"; + } + leaf well-known-port { + type uint16; + description + "Well Known Port of the client"; + } + leaf local-node { + type xr:Node-id; + description + "Local node of this set"; + } + leaf local-instance { + type uint32; + description + "Instance of the client application on the local + node"; + } + leaf protect-node { + type xr:Node-id; + description + "The node protecting this set"; + } + leaf protect-instance { + type uint32; + description + "Instance of the client application on the + protection node"; + } + leaf number-of-sessions { + type uint32; + description + "Number of Sessions in the set"; + } + leaf number-of-synced-sessions-up-stream { + type uint32; + description + "How many sessions are synced with upstream + partner"; + } + leaf number-of-synced-sessions-down-stream { + type uint32; + description + "How many sessions are synced with downstream + partner"; + } + leaf is-init-sync-in-progress { + type boolean; + description + "Is an initial sync in progress currently?"; + } + leaf is-init-sync-second-phase { + type boolean; + description + "Is initial sync in the second phase?"; + } + leaf sequence-number-of-init-sync { + type uint32; + description + "ID of the current or the last initial sync + operation"; + } + leaf init-sync-timer { + type uint32; + description + "Time left on the initial sync timer"; + } + leaf total-number-of-init-sync-sessions { + type uint32; + description + "Number of sessions being synced as part of the + current initial sync operation"; + } + leaf number-of-init-synced-sessions { + type uint32; + description + "Number of sessions that are synced as part of + the current initial sync operation"; + } + leaf number-of-sessions-init-sync-failed { + type uint32; + description + "Number of sessions that failed to sync as part + of the current initial sync operation"; + } + leaf init-sync-error { + type string; + description + "Initial sync failure reason, if any"; + } + leaf is-init-sync-error-local { + type boolean; + description + "Initial sync failed due to a local error or + remote stack"; + } + leaf init-sync-start-time { + type uint32; + units "second"; + description + "Time at which last or current initial sync + operation was started (in seconds since 1st Jan + 1970 00:00:00)"; + } + leaf init-sync-end-time { + type uint32; + units "second"; + description + "Time at which the last initial sync operation + was ended (in seconds since 1st Jan 1970 00:00 + :00)"; + } + leaf is-sscb-init-sync-ready { + type boolean; + description + "Is the SSCB ready for another initial sync?"; + } + leaf init-sync-ready-start-time { + type uint32; + units "second"; + description + "Time at which the session was ready for initial + sync last (in seconds since 1st Jan 1970 00:00 + :00)"; + } + leaf init-sync-ready-end-time { + type uint32; + units "second"; + description + "Time at which the session set last went + not-ready for initial sync (in seconds since 1st + Jan 1970 00:00:00)"; + } + leaf nsr-reset-time { + type uint32; + units "second"; + description + "Time at which NSR was last reset on the session + set (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf is-audit-in-progress { + type boolean; + description + "Is an audit in progress currently?"; + } + leaf audit-seq-number { + type uint32; + description + "ID of the current or the last audit operation"; + } + leaf audit-start-time { + type uint32; + units "second"; + description + "Time at which last or current audit operation + was started (in seconds since 1st Jan 1970 00:00 + :00)"; + } + leaf audit-end-time { + type uint32; + units "second"; + description + "Time at which the last audit operation was ended + (in seconds since 1st Jan 1970 00:00:00)"; + } + } + + grouping TCP-NSR-CCB-BRIEF-BAG { + description + "Summary Information about an SSO/NSR Client"; + leaf ccb { + type uint64; + description + "Address of the Client Control Block"; + } + leaf pid { + type uint32; + description + "PID of the Client"; + } + leaf process-name { + type string; + description + "Proc name of Clinet"; + } + leaf job-id { + type int32; + description + "JOb ID of Client"; + } + leaf instance { + type uint32; + description + "Instance of the Client"; + } + leaf numberof-sets { + type uint32; + description + "Number of Sets owned by this client "; + } + leaf number-of-sessions { + type uint32; + description + "Number of sessions owned by this client "; + } + leaf number-of-up-sessions { + type uint32; + description + "Number of sessions with NSR up "; + } + } + + grouping TCP-NSR-CCB-DETAILED-BAG { + description + "Detailed Information about an SSO/NSR Client"; + leaf ccb { + type uint64; + description + "Address of the Client Control Block"; + } + leaf pid { + type uint32; + description + "PID of the Client"; + } + leaf process-name { + type string; + description + "Proc name of Clinet"; + } + leaf job-id { + type int32; + description + "JOb ID of Client"; + } + leaf instance { + type uint32; + description + "Instance of the Client"; + } + leaf numberof-sets { + type uint32; + description + "Number of Sets owned by this client "; + } + leaf number-of-sessions { + type uint32; + description + "Number of sessions owned by this client "; + } + leaf number-of-up-sessions { + type uint32; + description + "Number of sessions with NSR up"; + } + leaf connected-at { + type uint32; + units "second"; + description + "Time of connect (in seconds since 1st Jan 1970 + 00:00:00)"; + } + leaf is-notification-registered { + type boolean; + description + "Registered with TCP for notifications?"; + } + } + + grouping TCP-NSR-HOLD-QUEUE-NODE { + description + "Info about the Packet or iACK held"; + leaf sequence-number { + type uint32; + description + "Sequence Number"; + } + leaf data-length { + type uint32; + description + "Data Length"; + } + leaf acknoledgement-number { + type uint32; + description + "Ack Number"; + } + } + + grouping TCP-NSR-SSCB-BRIEF-BAG { + description + "Summary Information about an SSO/NSR Session-set"; + leaf sscb { + type uint64; + description + "Address of the Session Set Control Block"; + } + leaf pid { + type uint32; + description + "PID of the Client that owns this Session-set"; + } + leaf client-name { + type string; + description + "the name of Clinet that owns this Session-set"; + } + leaf client-instance { + type uint32; + description + "Instance of the Client that owns this + Session-set"; + } + leaf set-id { + type uint32; + description + "ID of this Session-set"; + } + leaf sso-role { + type uint32; + description + "TCP role for this set?"; + } + leaf mode { + type uint32; + description + "Session-set mode"; + } + leaf address-family { + type Addr-family; + description + "Address Family of the sessions in this set"; + } + leaf well-known-port { + type uint16; + description + "Well Known Port of the client"; + } + leaf local-node { + type xr:Node-id; + description + "Local node of this set"; + } + leaf local-instance { + type uint32; + description + "Instance of the client application on the local + node"; + } + leaf protect-node { + type xr:Node-id; + description + "The node protecting this set"; + } + leaf protect-instance { + type uint32; + description + "Instance of the client application on the + protection node"; + } + leaf number-of-sessions { + type uint32; + description + "Number of Sessions in the set"; + } + leaf number-of-synced-sessions-up-stream { + type uint32; + description + "How many sessions are synced with upstream + partner"; + } + leaf number-of-synced-sessions-down-stream { + type uint32; + description + "How many sessions are synced with downstream + partner"; + } + leaf is-init-sync-in-progress { + type boolean; + description + "Is an initial sync in progress currently?"; + } + leaf is-sscb-init-sync-ready { + type boolean; + description + "Is the SSCB ready for another initial sync?"; + } + } + + grouping TCP-NSR-PCB-DETAILED-BAG { + description + "Detailed SSO/NSR information about a TCP + connection"; + container set-information { + description + "Sesson-set information"; + uses TCP-NSR-SSCB-BRIEF-BAG; + } + leaf address-family { + type Addr-family; + description + "Address family"; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf sscb { + type uint64; + description + "SSCB Address"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf vrf-id { + type uint32; + description + "VRF Id"; + } + leaf is-admin-configured-up { + type boolean; + description + "Is NSR administratively configured?"; + } + leaf is-us-operational-up { + type Nsr-status; + description + "Is Upstream NSR operational?"; + } + leaf is-ds-operational-up { + type Nsr-status; + description + "Is Downstream NSR operational?"; + } + leaf is-only-receive-path-replication { + type boolean; + description + "Is replication limited to receive-path only"; + } + leaf cookie { + type uint64; + description + "Cookie provided by active APP"; + } + leaf is-session-replicated { + type boolean; + description + "Has the session been replicated to standby?"; + } + leaf is-session-synced { + type boolean; + description + "Has the session completed initial-sync?"; + } + leaf fist-standby-sequence-number { + type uint32; + description + "If initial sync is completed, then the FSSN - + First Standby Sequence Number"; + } + leaf fssn-offset { + type uint32; + description + "Offset of FSSN in input stream"; + } + leaf nsr-down-reason { + type Nsr-down-reason; + description + "If NSR is not up, the reason for it."; + } + leaf nsr-down-time { + type uint32; + description + "Time at which NSR went down"; + } + leaf sequence-number-of-init-sync { + type uint32; + description + "ID of the Initial sync operation"; + } + leaf is-init-sync-in-progress { + type boolean; + description + "Is initial-sync currently in progress?"; + } + leaf is-init-sync-second-phase { + type boolean; + description + "Is initial sync in the second phase?"; + } + leaf init-sync-error { + type string; + description + "Initial sync failure reason, if any"; + } + leaf is-init-sync-error-local { + type boolean; + description + "Initial sync failed due to a local error or + remote stack"; + } + leaf init-sync-start-time { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + started (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf init-sync-end-time { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + ended (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf init-sync-flags { + type uint32; + description + "Init Sync flags for the session"; + } + leaf sequence-number-of-init-sync-up-stream { + type uint32; + description + "ID of the Initial sync operation"; + } + leaf peer-endp-hdl-up-stream { + type uint64; + description + "Peer NCD endp handle"; + } + leaf init-sync-start-time-up-stream { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + started (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf init-sync-end-time-up-stream { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + ended (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf fist-standby-sequence-number-up-stream { + type uint32; + description + "FSSN for the upstream partner"; + } + leaf nsr-down-reason-up-stream { + type Nsr-down-reason; + description + "The reason NSR is not up towards the upstream + partner"; + } + leaf nsr-down-time-up-stream { + type uint32; + description + "Time at which NSR went down"; + } + leaf sequence-number-of-init-sync-down-stream { + type uint32; + description + "ID of the Initial sync operation"; + } + leaf peer-endp-hdl-down-stream { + type uint64; + description + "Peer NCD endp handle"; + } + leaf init-sync-start-time-down-stream { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + started (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf init-sync-end-time-down-stream { + type uint32; + units "second"; + description + "Time at which the initial sync operation was + ended (in seconds since 1st Jan 1970 00:00:00)"; + } + leaf fist-standby-sequence-number-down-stream { + type uint32; + description + "FSSN for the upstream partner"; + } + leaf nsr-down-reason-down-stream { + type Nsr-down-reason; + description + "The reason NSR is not up towards the upstream + partner"; + } + leaf nsr-down-time-down-stream { + type uint32; + description + "Time at which NSR went down"; + } + leaf max-number-of-held-packet { + type int32; + description + "Max number of incoming packets have been held"; + } + leaf max-number-of-held-packet-reach-time { + type uint32; + description + "Max number of held incoming packets reaches at"; + } + leaf max-number-of-held-internal-ack { + type int32; + description + "Max number of internal acks have been held"; + } + leaf max-number-of-held-internal-ack-reach-time { + type uint32; + description + "Max number of held internal acks reaches at"; + } + list local-address { + max-elements "4"; + description + "Local address"; + leaf entry { + type inet:ipv4-address; + } + } + list foreign-address { + max-elements "4"; + description + "Foreign address"; + leaf entry { + type inet:ipv4-address; + } + } + list packet-hold-queue { + description + "Sequence Number and datalength of each node in + hold_pakqueue"; + uses TCP-NSR-HOLD-QUEUE-NODE; + } + list internal-ack-hold-queue { + description + "Sequence Number and datalength of each node in + hold_iackqueue"; + uses TCP-NSR-HOLD-QUEUE-NODE; + } + } + + grouping TCP-NSR-PCB-BRIEF-BAG { + description + "Summary NSR information about a TCP connection"; + leaf address-family { + type Addr-family; + description + "Address family"; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf sscb { + type uint64; + description + "SSCB Address"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf vrf-id { + type uint32; + description + "VRF Id"; + } + leaf is-admin-configured-up { + type boolean; + description + "Is NSR administratively configured?"; + } + leaf is-us-operational-up { + type Nsr-status; + description + "Is Upstream NSR operational?"; + } + leaf is-ds-operational-up { + type Nsr-status; + description + "Is Downstream NSR operational?"; + } + leaf is-only-receive-path-replication { + type boolean; + description + "Is replication limited to receive-path only"; + } + list local-address { + max-elements "4"; + description + "Local address"; + leaf entry { + type inet:ipv4-address; + } + } + list foreign-address { + max-elements "4"; + description + "Foreign address"; + leaf entry { + type inet:ipv4-address; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub2.yang new file mode 100644 index 0000000..52495b1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub2.yang @@ -0,0 +1,71 @@ +submodule Cisco-IOS-XR-ip-tcp-oper-sub2 { + belongs-to Cisco-IOS-XR-ip-tcp-oper { + prefix Cisco-IOS-XR-ip-tcp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping IP-TCP { + description + "TCP Traffic Information"; + leaf tcp-input-packets { + type uint32; + description + "TCP packets received"; + } + leaf tcp-checksum-error-packets { + type uint32; + description + "TCP packets with checksum errors"; + } + leaf tcp-dropped-packets { + type uint32; + description + "TCP packets dropped (no port)"; + } + leaf tcp-output-packets { + type uint32; + description + "TCP packets transmitted"; + } + leaf tcp-retransmitted-packets { + type uint32; + description + "TCP packets retransmitted"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub3.yang new file mode 100644 index 0000000..324591a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub3.yang @@ -0,0 +1,1844 @@ +submodule Cisco-IOS-XR-ip-tcp-oper-sub3 { + belongs-to Cisco-IOS-XR-ip-tcp-oper { + prefix Cisco-IOS-XR-ip-tcp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tcp-timer { + type enumeration { + enum "retransmission-timer" { + value 0; + description + "Retransmission timer"; + } + enum "window-probe-timer" { + value 1; + description + "Send Window Probe timer"; + } + enum "timewait-state-timer" { + value 2; + description + "TIMEWAIT state timer"; + } + enum "ack-hold-timer" { + value 3; + description + "ACK Hold timer"; + } + enum "keep-alive-timer" { + value 4; + description + "Keep Alive timer"; + } + enum "pmtu-ager-timer" { + value 5; + description + "PMTU Ager Timer"; + } + enum "retransmission-giveup-timer" { + value 6; + description + "Retransmission Giveup timer"; + } + enum "throttle-timer" { + value 7; + description + "Throttle (for PAW/xipc) timer"; + } + } + description + "TCP Timer Type"; + } + + typedef Pak-prio { + type enumeration { + enum "unspecified-packet" { + value 0; + description + "Unspecified"; + } + enum "normal-packet" { + value 1; + description + "Normal: all traffic routed via this router, + Telnet/FTP traffic generated from within this + router"; + } + enum "medium-packet" { + value 2; + description + "Medium: Packets with low drop probability e.g. + Routing updates & requests"; + } + enum "high-packet" { + value 3; + description + "High: Packets with very low drop probability + and normal delivery e.g. L3 Keepalives like + OSPF/ISIS Hellos"; + } + enum "crucial-packet" { + value 4; + description + "Crucial: Packets with very low drop probability + and expedited delivery e.g L2 keepalives, HDLC + Keepalives"; + } + } + description + "Packet Priority Types"; + } + + typedef Tcp-in6-addr { + type inet:ipv6-address; + description + "Tcp in6 addr"; + } + + typedef Tcp-conn-state { + type enumeration { + enum "closed" { + value 0; + description + "Closed"; + } + enum "listen" { + value 1; + description + "Listen"; + } + enum "syn-sent" { + value 2; + description + "Syn sent"; + } + enum "syn-received" { + value 3; + description + "Syn received"; + } + enum "established" { + value 4; + description + "Established"; + } + enum "close-wait" { + value 5; + description + "Close wait"; + } + enum "fin-wait1" { + value 6; + description + "FIN Wait1"; + } + enum "closing" { + value 7; + description + "Closing"; + } + enum "last-ack" { + value 8; + description + "Last ack"; + } + enum "fin-wait2" { + value 9; + description + "FIN Wait2"; + } + enum "time-wait" { + value 10; + description + "Time wait"; + } + } + description + "TCP Connection State"; + } + + typedef Tcp-address-family { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 10; + description + "IPv6"; + } + } + description + "Address Family Type"; + } + + grouping TCP-SH-BRIEF-BAG { + description + "Summary information about a TCP connection"; + container local-address { + description + "Local address"; + uses TCP-ADDRESS-TYPE; + } + container foreign-address { + description + "Foreign address"; + uses TCP-ADDRESS-TYPE; + } + leaf af-name { + type Tcp-address-family; + description + "Address family"; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf connection-state { + type Tcp-conn-state; + description + "Connection state"; + } + leaf local-pid { + type uint32; + description + "Id of the local process"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf current-receive-queue-size { + type uint32; + units "byte"; + description + "Current receive queue size in bytes"; + } + leaf current-send-queue-size { + type uint32; + units "byte"; + description + "Current send queue size in bytes"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + } + + grouping TCP-SOCKBUF-STATES-BAG { + description + "TCP Socket Buffer State Flags"; + leaf locked { + type boolean; + description + "Lock on data queue (so_rcv only)"; + } + leaf waiting-for-lock { + type boolean; + description + "Someone is waiting to lock"; + } + leaf waiting-for-data { + type boolean; + description + "Someone is waiting for data/space"; + } + leaf input-select { + type boolean; + description + "Buffer is selected for INPUT"; + } + leaf async-io { + type boolean; + description + "Async I/O"; + } + leaf not-interruptible { + type boolean; + description + "Not interruptible"; + } + leaf io-timer-set { + type boolean; + description + "Read/write timer set"; + } + leaf delayed-wakeup { + type boolean; + description + "Want delayed wakeups"; + } + leaf wakeup { + type boolean; + description + "Read/write wakeup pending"; + } + leaf connect-wakeup { + type boolean; + description + "Connect wakeup pending"; + } + leaf output-select { + type boolean; + description + "Buffer is selected for OUTPUT"; + } + leaf out-of-band-select { + type boolean; + description + "Buffer is selected for OBAND"; + } + } + + grouping SACKHOLE-BAG { + description + "Sack send hole entry"; + leaf start { + type uint32; + description + "Start seq no. of hole"; + } + leaf end { + type uint32; + description + "End seq no. of hole"; + } + leaf duplicated-ack { + type uint32; + description + "Number of dup (s)acks for this hole"; + } + leaf retransmitted { + type uint32; + description + "Next seq. no in hole to be retransmitted"; + } + } + + grouping SACKBLK-BAG { + description + "Sack block entry"; + leaf start { + type uint32; + description + "Start seq no. of sack block"; + } + leaf end { + type uint32; + description + "End seq no. of sack block"; + } + } + + grouping TCP-CONN-STATES-BAG { + description + "TCP Connection states"; + leaf nagle-wait { + type boolean; + description + "Nagle has delayed output"; + } + leaf ack-needed { + type boolean; + description + "Send an ACK"; + } + leaf fin-sent { + type boolean; + description + "FIN has been sent"; + } + leaf probing { + type boolean; + description + "Probing a closed window"; + } + leaf need-push { + type boolean; + description + "Need to push data out"; + } + leaf pushed { + type boolean; + description + "A segment is pushed due to MSG_PUSH"; + } + leaf in-syn-cache { + type boolean; + description + "Connection is in SYN cache"; + } + leaf path-mtu-ager { + type boolean; + description + "Path MTU aging timer is running"; + } + } + + grouping TCP-CONN-FEATURES-BAG { + description + "TCP Connection features"; + leaf selective-ack { + type boolean; + description + "Selective ack on?"; + } + leaf md5 { + type boolean; + description + "MD5 option on?"; + } + leaf timestamps { + type boolean; + description + "Timestamps on?"; + } + leaf window-scaling { + type boolean; + description + "Window-scaling on?"; + } + leaf nagle { + type boolean; + description + "Nagle algorithm on?"; + } + leaf giveup-timer { + type boolean; + description + "Giveup timer is on?"; + } + leaf connection-keep-alive-timer { + type boolean; + description + "Keepalive timer is on?"; + } + leaf path-mtu-discovery { + type boolean; + description + "Path MTU Discovery feature is on?"; + } + leaf mss-cisco { + type boolean; + description + "tcp mss feature is on?"; + } + } + + grouping TCP-SOCK-STATES-BAG { + description + "TCP Socket State Flags"; + leaf no-file-descriptor-reference { + type boolean; + description + "No file descriptor ref"; + } + leaf is-connected { + type boolean; + description + "Socket is connected to peer"; + } + leaf is-connecting { + type boolean; + description + "Connecting in progress"; + } + leaf is-disconnecting { + type boolean; + description + "Disconnecting in progress"; + } + leaf cant-send-more { + type boolean; + description + "Can't send more data to peer"; + } + leaf cant-receive-more { + type boolean; + description + "Can't recv more data from peer"; + } + leaf received-at-mark { + type boolean; + description + "At mark on input"; + } + leaf privileged { + type boolean; + description + "Privileged for broadcast, raw..."; + } + leaf block-close { + type boolean; + description + "Close is blocked (i.e. socket is a replicated + socket on a standby node"; + } + leaf async-io-notify { + type boolean; + description + "Async i/o notify"; + } + leaf is-confirming { + type boolean; + description + "Deciding to accept connection req"; + } + leaf is-solock { + type boolean; + description + "Mutex acquired by solock()"; + } + leaf is-detached { + type boolean; + description + "PCB and socket are detached"; + } + leaf block-receive { + type boolean; + description + "Socket is blocked for receive - while going + through SSO initial sync"; + } + leaf block-send { + type boolean; + description + "Socket is blocked for send (if it is a + replicated socket on a standby node)"; + } + } + + grouping TCP-SOCK-OPTIONS-BAG { + description + "TCP Socket Option Flags "; + leaf debug { + type boolean; + description + "Turn on debugging info recording"; + } + leaf accept-connection { + type boolean; + description + "Socket has had listen()"; + } + leaf reuse-address { + type boolean; + description + "Allow local address reuse"; + } + leaf keep-alive { + type boolean; + description + "Keep connections alive"; + } + leaf dont-route { + type boolean; + description + "Just use interface addresses"; + } + leaf broadcast { + type boolean; + description + "Permit sending of broadcast msgs"; + } + leaf use-loopback { + type boolean; + description + "Bypass hardware when possible"; + } + leaf linger { + type boolean; + description + "Linger on close if data present"; + } + leaf out-of-band-inline { + type boolean; + description + "Leave received Out-of-band data inline"; + } + leaf reuse-port { + type boolean; + description + "Allow local address & port reuse"; + } + leaf nonblocking-io { + type boolean; + description + "Nonblocking socket I/O operation"; + } + } + + grouping TCP-TIMER-BAG { + description + "TCP Timer Info"; + leaf timer-type { + type Tcp-timer; + description + "Timer Type"; + } + leaf timer-activations { + type uint32; + description + "Count of timer activations"; + } + leaf timer-expirations { + type uint32; + description + "Count of timer expirations"; + } + leaf timer-next-activation { + type uint32; + description + "Timer next activation (msec)"; + } + } + + grouping TCP-ADDRESS-TYPE { + description + "TCP ADDRESS TYPE"; + leaf af-name { + type Tcp-address-family; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf ipv6-address { + when "../af-name != 'ipv4'" { + description + "../AFName != 'IPv4'"; + } + type Tcp-in6-addr; + description + "IPv6 Address"; + } + } + + grouping TCP-SH-TABLE-BAG { + description + "Detailed information about a TCP connection"; + container local-address { + description + "Local address"; + uses TCP-ADDRESS-TYPE; + } + container foreign-address { + description + "Foreign address"; + uses TCP-ADDRESS-TYPE; + } + container socket-option-flags { + description + "Socket option flags"; + uses TCP-SOCK-OPTIONS-BAG; + } + container socket-state-flags { + description + "Socket state flags"; + uses TCP-SOCK-STATES-BAG; + } + container feature-flags { + description + "Connection feature flags"; + uses TCP-CONN-FEATURES-BAG; + } + container state-flags { + description + "Connection state flags"; + uses TCP-CONN-STATES-BAG; + } + container request-flags { + description + "Connection request flags"; + uses TCP-CONN-FEATURES-BAG; + } + container receive-buf-state-flags { + description + "Receive buffer state flags"; + uses TCP-SOCKBUF-STATES-BAG; + } + container send-buf-state-flags { + description + "Send buffer state flags"; + uses TCP-SOCKBUF-STATES-BAG; + } + leaf address-family { + type Tcp-address-family; + description + "Address Family"; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf so { + type uint64; + description + "Socket Address"; + } + leaf tcpcb { + type uint64; + description + "TCPCB Address"; + } + leaf vrf-id { + type uint32; + description + "VRF Id"; + } + leaf connection-state { + type Tcp-conn-state; + description + "Connection state"; + } + leaf established-time { + type uint32; + description + "Time at which connection is established"; + } + leaf local-pid { + type uint32; + description + "Id of the local process"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf packet-priority { + type Pak-prio; + description + "Priority given to packets on this socket"; + } + leaf packet-tos { + type uint16; + description + "Type of Service value to be applied to + transmistted packets"; + } + leaf packet-ttl { + type uint16; + description + "TTL to be applied to transmited packets"; + } + leaf hash-index { + type uint32; + description + "Index of the Hash Bucket"; + } + leaf current-receive-queue-size { + type uint32; + units "byte"; + description + "Current receive queue size in bytes"; + } + leaf max-receive-queue-size { + type uint32; + units "byte"; + description + "Max receive queue size in bytes"; + } + leaf current-send-queue-size { + type uint32; + units "byte"; + description + "Current send queue size in bytes"; + } + leaf max-send-queue-size { + type uint32; + units "byte"; + description + "Max send queue size in bytes"; + } + leaf current-receive-queue-packet-size { + type uint32; + description + "Current receive queue size in packets"; + } + leaf max-receive-queue-packet-size { + type uint32; + description + "Max receive queue size in packets"; + } + leaf save-queue-size { + type uint32; + units "byte"; + description + "Save queue (out-of seq data) size in bytes"; + } + leaf send-initial-sequence-num { + type uint32; + description + "Initial send sequence number"; + } + leaf send-unack-sequence-num { + type uint32; + description + "Sequence number of unacked data"; + } + leaf send-next-sequence-num { + type uint32; + description + "Sequence number of next data to be sent"; + } + leaf send-max-sequence-num { + type uint32; + description + "Highest sequence number sent"; + } + leaf send-window-size { + type uint32; + units "byte"; + description + "Send window size in bytes"; + } + leaf send-congestion-window-size { + type uint32; + units "byte"; + description + "Send congestion window size in bytes"; + } + leaf receive-initial-sequence-num { + type uint32; + description + "Initial receive sequence number"; + } + leaf receive-next-sequence-num { + type uint32; + description + "Next sequence number expected"; + } + leaf receive-adv-window-size { + type uint32; + units "byte"; + description + "Receive advertised window size in bytes"; + } + leaf receive-window-size { + type uint32; + units "byte"; + description + "Receive window size in bytes"; + } + leaf mss { + type uint32; + units "byte"; + description + "Max segment size calculated in bytes"; + } + leaf peer-mss { + type uint32; + units "byte"; + description + "Max segment size offered by the peer in bytes"; + } + leaf srtt { + type uint32; + description + "Smoothed round trip time * 8 (msec)"; + } + leaf rtto { + type uint32; + description + "Round trip timeout (msec)"; + } + leaf krtt { + type uint32; + description + "Round trip time (karn algorithm) (msec)"; + } + leaf srtv { + type uint32; + description + "Smoothed round trip time variance * 4 (msec)"; + } + leaf min-rtt { + type uint32; + description + "Min RTT (msec)"; + } + leaf max-rtt { + type uint32; + description + "Max RTT (msec)"; + } + leaf retries { + type uint32; + description + "Number of retries"; + } + leaf ack-hold-time { + type uint32; + description + "ACK hold time (msec)"; + } + leaf giveup-time { + type uint32; + description + "Giveup time (msec)"; + } + leaf keep-alive-time { + type uint32; + description + "Keepalive time (msec)"; + } + leaf syn-wait-time { + type uint32; + description + "SYN wait time (msec)"; + } + leaf rxsy-naclname { + type string { + length "0..64"; + } + description + "RX Syn acl name"; + } + leaf soft-error { + type int32; + description + "Error code from ICMP Notify"; + } + leaf sock-error { + type int32; + description + "Socket error code"; + } + leaf is-retrans-forever { + type boolean; + description + "Retransimit forever?"; + } + leaf min-mss { + type uint32; + description + "Lowest MSS ever used"; + } + leaf max-mss { + type uint32; + description + "Highest MSS ever used"; + } + leaf connect-retries { + type uint16; + description + "Number of times connect will be retried?"; + } + leaf connect-retry-interval { + type uint16; + units "second"; + description + "Connect retry interval in seconds"; + } + leaf receive-window-scale { + type uint32; + description + "Window scaling for receive window"; + } + leaf send-window-scale { + type uint32; + description + "Window scaling for send window"; + } + leaf request-receive-window-scale { + type uint32; + description + "Requested receive window scale"; + } + leaf rqst-send-wnd-scale { + type uint32; + description + "Requested send window scale"; + } + leaf time-stamp-recent { + type uint32; + description + "Timestamp from remote host"; + } + leaf time-stamp-recent-age { + type uint32; + description + "Timestamp when last updated"; + } + leaf last-ack-sent { + type uint32; + description + "ACK number of a sent segment"; + } + leaf sendbuf-lowwat { + type uint32; + description + "Send buffer's low water mark"; + } + leaf recvbuf-lowwat { + type uint32; + description + "Receive buffer's low water mark"; + } + leaf sendbuf-hiwat { + type uint32; + description + "Send buffer's high water mark"; + } + leaf recvbuf-hiwat { + type uint32; + description + "Receive buffer's high water mark"; + } + leaf sendbuf-notify-thresh { + type uint32; + description + "Send buffer's notify threshold"; + } + leaf recvbuf-datasize { + type uint32; + description + "Receive buffer's data size"; + } + leaf queue-length { + type uint32; + description + "Incoming connection queue size"; + } + leaf queue-zero-length { + type uint32; + description + "Incoming half-connection queue size"; + } + leaf queue-limit { + type uint32; + description + "Incoming connection queue limit"; + } + leaf socket-error { + type uint32; + description + "Socket error status"; + } + leaf auto-rearm { + type uint32; + description + "Socket auto rearm state"; + } + leaf send-pdu-count { + type uint32; + description + "# of PDU's in Send Buffer"; + } + leaf output-ifhandle { + type uint32; + description + "Cached Outgoing interface handle"; + } + leaf fib-pd-ctx-size { + type uint32; + description + "Cached fib pd context size"; + } + leaf num-labels { + type uint32; + description + "Number of labels returned by fib lookup"; + } + leaf local-app-instance { + type uint32; + description + "Instance number of the local process"; + } + list fib-pd-ctx { + max-elements "4"; + description + "Cached fib pd context"; + leaf entry { + type uint32; + } + } + list fib-label-output { + max-elements "7"; + description + "Cached Label stack"; + leaf entry { + type uint32; + } + } + list timer { + max-elements "8"; + description + "Timers"; + uses TCP-TIMER-BAG; + } + list sack-blk { + max-elements "6"; + description + "Seq nos. of sack blocks"; + uses SACKBLK-BAG; + } + list send-sack-hole { + max-elements "6"; + description + "Sorted list of sack holes"; + uses SACKHOLE-BAG; + } + } + + grouping TCP-SH-STATS-BAG { + description + "TCP Statistics"; + leaf syn-cache-count { + type uint32; + description + "Current number of SYN cache entries"; + } + leaf num-open-sockets { + type uint32; + description + "Number of Open sockets"; + } + leaf total-pakets-sent { + type uint32; + description + "Total packets sent"; + } + leaf send-packets-dropped { + type uint32; + description + "Total transmit packets dropped due to general + failures"; + } + leaf send-auth-packets-dropped { + type uint32; + description + "Total transmit packets dropped due to + authentication failures"; + } + leaf data-pakets-sent { + type uint32; + description + "Data packets sent"; + } + leaf data-bytes-sent { + type uint32; + units "byte"; + description + "Data bytes sent"; + } + leaf packets-retransmitted { + type uint32; + description + "Data packets retransmitted"; + } + leaf bytes-retransmitted { + type uint32; + units "byte"; + description + "Data bytes retransmitted"; + } + leaf ack-only-packets-sent { + type uint32; + description + "Ack only packets sent (incl. delay)"; + } + leaf delay-ack-packets-sent { + type uint32; + description + "Delay ack packets sent"; + } + leaf urgent-only-packets-sent { + type uint32; + description + "Urgent only packets sent"; + } + leaf window-probe-packets-sent { + type uint32; + description + "Window probe packets sent"; + } + leaf window-update-packets-sent { + type uint32; + description + "Window update packets sent"; + } + leaf control-packets-sent { + type uint32; + description + "Control (SYN|FIN|RST) packets sent"; + } + leaf rst-packets-sent { + type uint32; + description + "RST packets sent"; + } + leaf total-packets-received { + type uint32; + description + "Total packets received"; + } + leaf received-packets-dropped { + type uint32; + description + "Received packets dropped due to general failures"; + } + leaf synacl-match-pkts-dropped { + type uint32; + description + "Received packets dropped due to ACL DENY on SYN + pkts"; + } + leaf received-packets-dropped-stale-c-hdr { + type uint32; + description + "Received packets dropped due to stale cached + header"; + } + leaf received-auth-packets-dropped { + type uint32; + description + "Received packets dropped due to authentication + failures"; + } + leaf ack-packets-received { + type uint32; + description + "Ack packets received"; + } + leaf ackbytes-received { + type uint32; + units "byte"; + description + "Bytes acked by ack packets"; + } + leaf duplicated-ack-packets-received { + type uint32; + description + "Duplicate ack packets"; + } + leaf ack-packets-for-unsent-received { + type uint32; + description + "Ack packets for unsent data"; + } + leaf data-packets-received-in-sequence { + type uint32; + description + "Data packets received in sequence"; + } + leaf data-bytes-received-in-sequence { + type uint32; + units "byte"; + description + "Data bytes received in sequence"; + } + leaf duplicate-packets-received { + type uint32; + description + "Duplicate packets received"; + } + leaf duplicate-bytes-received { + type uint32; + units "byte"; + description + "Duplicate bytes received"; + } + leaf partial-duplicate-ack-received { + type uint32; + description + "Packets with partial dup data"; + } + leaf partial-duplicate-bytes-received { + type uint32; + units "byte"; + description + "Bytes with partial dup data"; + } + leaf out-of-order-packets-received { + type uint32; + description + "Out-of-order packets received"; + } + leaf out-of-order-bytes-received { + type uint32; + units "byte"; + description + "Out-of-order bytes received"; + } + leaf after-window-packets-received { + type uint32; + description + "After-window packets received"; + } + leaf after-window-bytes-received { + type uint32; + units "byte"; + description + "After-window bytes received"; + } + leaf window-probe-packets-received { + type uint32; + description + "Window probe packets received"; + } + leaf window-update-packets-received { + type uint32; + description + "Window update packets received"; + } + leaf packets-received-after-close-packet { + type uint32; + description + "Packets received after close"; + } + leaf bad-checksum-packets-received { + type uint32; + description + "Packets received with bad checksum"; + } + leaf too-short-packets-received { + type uint32; + description + "Packets received with too short size"; + } + leaf malformed-packets-received { + type uint32; + description + "Packets received with malformed header"; + } + leaf no-port-packets-received { + type uint32; + description + "Packets rcceived with no wild listener"; + } + leaf connections-requested { + type uint32; + description + "Connection requests sent"; + } + leaf connections-accepted { + type uint32; + description + "Connection requests accepted"; + } + leaf connections-established { + type uint32; + description + "Connections established"; + } + leaf connections-forcibly-closed { + type uint32; + description + "Connections forcibly closed"; + } + leaf connections-closed { + type uint32; + description + "connections closed (incl. drops)"; + } + leaf connections-dropped { + type uint32; + description + "connections dropped"; + } + leaf embryonic-connection-dropped { + type uint32; + description + "Embryonic connections dropped"; + } + leaf connections-failed { + type uint32; + description + "Connections failed"; + } + leaf established-connections-reset { + type uint32; + description + "Established connections reset"; + } + leaf retransmit-timeouts { + type uint32; + description + "Retransmit timeouts (incl. data packets)"; + } + leaf retransmit-dropped { + type uint32; + description + "Connection drops during retransmit timeouts"; + } + leaf keep-alive-timeouts { + type uint32; + description + "Keepalive timeouts"; + } + leaf keep-alive-dropped { + type uint32; + description + "Connection drops due to keepalive timeouts"; + } + leaf keep-alive-probes { + type uint32; + description + "Keepalive probes sent"; + } + leaf paws-dropped { + type uint32; + description + "Segments dropped due to PAWS"; + } + leaf persist-dropped { + type uint32; + description + "Segments dropped due to window probe"; + } + leaf try-lock-dropped { + type uint32; + description + "Segments dropped due to trylock fail"; + } + leaf connection-rate-limited { + type uint32; + description + "Connections rate-limited"; + } + leaf syn-cache-added { + type uint32; + description + "SYN Cache entries added"; + } + leaf syn-cache-completed { + type uint32; + description + "SYN Cache connections completed"; + } + leaf syn-cache-timed-out { + type uint32; + description + "SYN Cache entries timed out"; + } + leaf syn-cache-overflow { + type uint32; + description + "SYN Cache entries dropped due to overflow"; + } + leaf syn-cache-reset { + type uint32; + description + "SYN Cache entries dropped due to RST"; + } + leaf syn-cache-unreach { + type uint32; + description + "SYN Cache entries dropped due to ICMP unreach"; + } + leaf syn-cache-bucket-oflow { + type uint32; + description + "SYN Cache entries dropped due to bucket overflow"; + } + leaf syn-cache-aborted { + type uint32; + description + "SYN Cache entries aborted (no mem)"; + } + leaf syn-cache-duplicate-sy-ns { + type uint32; + description + "SYN Cache duplicate SYNs received"; + } + leaf syn-cache-dropped { + type uint32; + description + "SYN Cache entries dropped (no route/mem)"; + } + leaf pulse-errors { + type uint32; + description + "Punt (down to ip) failures"; + } + leaf socket-layer-packets { + type uint32; + description + "Packets owned by the socket layer"; + } + leaf reassembly-packets { + type uint32; + description + "Packets owned by TCP reassembly"; + } + leaf recovered-packets { + type uint32; + description + "Packets freed after starvation"; + } + leaf packet-failures { + type uint32; + description + "Packet allocation errors"; + } + leaf mss-up { + type uint32; + description + "Number of times MSS was increased"; + } + leaf mss-down { + type uint32; + description + "Number of times MSS was decreased"; + } + leaf truncated-write-iov { + type uint32; + description + "Segments truncated due to insufficient Write I/O + vectors"; + } + leaf no-throttle { + type uint32; + description + "Number of times throttle mode was off"; + } + leaf low-water-mark-throttle { + type uint32; + description + "Number of times low water mark throttle was on"; + } + leaf high-water-mark-throttle { + type uint32; + description + "Number of times high water mark throttle was on"; + } + leaf stalled-timer-tickle-count { + type uint32; + description + "Number of times a stalled tcp timer was tickled"; + } + leaf stalled-timer-tickle-time { + type uint32; + description + "Last timestamp when a stalled tcp timer was + tickled"; + } + leaf iq-sock-writes { + type uint32; + description + "Number of write attempts from socket-lib into an + IQ"; + } + leaf iq-sock-retries { + type uint32; + description + "Number of retried write attempts"; + } + leaf iq-sock-aborts { + type uint32; + description + "Number of aborted socket-lib writes"; + } + leaf iq-ingress-drops { + type uint32; + description + "Number of total ingress dropped packets"; + } + leaf total-i-qs { + type uint32; + description + "Number of TCP internal queues in use"; + } + list iqs-total-ingpacket { + max-elements "20"; + description + "Total Number of Ingress packets on TCP iqs"; + leaf entry { + type uint32; + } + } + list iqs-total-egpacket { + max-elements "20"; + description + "Total Number of Egress packets on TCP iqs"; + leaf entry { + type uint32; + } + } + } + + grouping TCP-ASYNC-SESSION-STATS-BAG { + description + "TCP Async Session Statistic"; + leaf async-session { + type boolean; + description + "Flag of async session"; + } + list data-write-success-num { + max-elements "2"; + description + "Number of successful data write to XIPC"; + leaf entry { + type uint32; + } + } + list data-read-success-num { + max-elements "2"; + description + "Number of successful data read from XIPC"; + leaf entry { + type uint32; + } + } + list data-write-error-num { + max-elements "2"; + description + "Number of failed data write to XIPC"; + leaf entry { + type uint32; + } + } + list data-read-error-num { + max-elements "2"; + description + "Number of failed data read from XIPC"; + leaf entry { + type uint32; + } + } + list control-write-success-num { + max-elements "5"; + description + "Number of successful control write to XIPC"; + leaf entry { + type uint32; + } + } + list control-read-success-num { + max-elements "5"; + description + "Number of successful control read to XIPC"; + leaf entry { + type uint32; + } + } + list control-write-error-num { + max-elements "5"; + description + "Number of failed control write to XIPC"; + leaf entry { + type uint32; + } + } + list control-read-error-num { + max-elements "5"; + description + "Number of failed control read from XIPC"; + leaf entry { + type uint32; + } + } + list data-write-byte { + max-elements "2"; + description + "Number of bytes data has been written"; + leaf entry { + type uint64; + units "byte"; + } + } + list data-read-byte { + max-elements "2"; + description + "Number of bytes data has been read"; + leaf entry { + type uint64; + units "byte"; + } + } + } + + grouping TCP-IO-COUNTS-BAG { + description + "Counts of I/O events"; + leaf io-count { + type uint32; + description + "Number of I/O operations done by application"; + } + leaf arm-count { + type uint32; + description + "How many times socket was armed by application"; + } + leaf unarm-count { + type uint32; + description + "How many times socket was unarmed by application"; + } + leaf autoarm-count { + type uint32; + description + "How many times socket was auto-armed by TCP"; + } + } + + grouping TCP-SH-PCB-STATS-BAG { + description + "TCP PCB Statistics"; + container read-io-counts { + description + "Read I/O counts"; + uses TCP-IO-COUNTS-BAG; + } + container write-io-counts { + description + "Write I/O counts"; + uses TCP-IO-COUNTS-BAG; + } + container async-session-stats { + description + "Statistics of Async TCP Sessions"; + uses TCP-ASYNC-SESSION-STATS-BAG; + } + leaf pcb { + type uint64; + description + "PCB Address"; + } + leaf vrf-id { + type uint32; + description + "VRF Id"; + } + leaf packets-sent { + type uint64; + description + "Packets received from application"; + } + leaf xipc-pulse-received { + type uint64; + description + "XIPC pulses received from application"; + } + leaf segment-instruction-received { + type uint32; + description + "Segment Instruction received from partner node"; + } + leaf send-packets-queued { + type uint64; + description + "Packets queued to v4/v6 IO"; + } + leaf send-packets-queued-net-io { + type uint64; + description + "Packets queued to NetIO"; + } + leaf send-queue-failed { + type uint32; + description + "Packets failed to be queued to v4/v6 IO"; + } + leaf send-queue-net-io-failed { + type uint32; + description + "Packets failed to be queued to NetIO"; + } + leaf packets-received { + type uint64; + description + "Packets received from network"; + } + leaf receive-queue-failed { + type uint32; + description + "Received packets failed to be queued to + application"; + } + leaf received-packets-queued { + type uint64; + description + "Received packets queued to application"; + } + leaf send-window-shrink-ignored { + type uint32; + description + "No. of times send window shrinkage by peer was + ignored"; + } + leaf is-paw-socket { + type boolean; + description + "PAW or non-PAW socket?"; + } + leaf read-io-time { + type uint32; + description + "Time at which receive buffer was last read from"; + } + leaf write-io-time { + type uint32; + description + "Time at which send buffer was last written to"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub4.yang new file mode 100644 index 0000000..0064bf8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub4.yang @@ -0,0 +1,767 @@ +submodule Cisco-IOS-XR-ip-tcp-oper-sub4 { + belongs-to Cisco-IOS-XR-ip-tcp-oper { + prefix Cisco-IOS-XR-ip-tcp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-tcp-oper-sub1 { + revision-date 2018-02-14; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Message-id { + type uint32; + description + "Message id"; + } + + typedef Message-type-igmp { + type enumeration { + enum "membership-query" { + value 17; + description + "IGMP Packet type: Membership query"; + } + enum "v1-membership-report" { + value 18; + description + "IGMP Packet type: V1 membership report"; + } + enum "dvmrp" { + value 19; + description + "IGMP Packet type: DVMRP"; + } + enum "pi-mv1" { + value 20; + description + "IGMP Packet type: PIM version 1"; + } + enum "cisco-trace-messages" { + value 21; + description + "IGMP Packet type: Cisco Trace Messages"; + } + enum "v2-membership-report" { + value 22; + description + "IGMP Packet type: V2 membership report"; + } + enum "v2-leave-group" { + value 23; + description + "IGMP Packet type: V2 leave group"; + } + enum "multicast-traceroute-response" { + value 30; + description + "IGMP Packet type: Multicast traceroute response"; + } + enum "multicast-traceroute" { + value 31; + description + "IGMP Packet type: MulticastTraceroute"; + } + enum "v3-membership-report" { + value 34; + description + "IGMP Packet type: V3 membership report"; + } + enum "multicast-router-advertisement" { + value 48; + description + "IGMP Packet type: Multicast router + advertisement"; + } + enum "multicast-router-solicitation" { + value 49; + description + "IGMP Packet type: Multicast router solicitation"; + } + enum "multicast-router-termination" { + value 50; + description + "IGMP Packet type: Multicast router termination"; + } + } + description + "LPTS IGMP message types"; + } + + typedef Message-igmp { + type Message-type-igmp; + description + "Message igmp"; + } + + typedef Message-type-icmpv6 { + type enumeration { + enum "destination-unreachable" { + value 1; + description + "ICMPv6 Packet type: Destination unreachable"; + } + enum "packet-too-big" { + value 2; + description + "ICMPv6 Packet type: packet too big"; + } + enum "time-exceeded" { + value 3; + description + "ICMPv6 Packet type: Time exceeded"; + } + enum "parameter-problem" { + value 4; + description + "ICMPv6 Packet type: Parameter problem"; + } + enum "echo-request" { + value 128; + description + "ICMPv6 Packet type: Echo request"; + } + enum "echo-reply" { + value 129; + description + "ICMPv6 Packet type: Echo reply"; + } + enum "multicast-listener-query" { + value 130; + description + "ICMPv6 Packet type: Multicast listener query"; + } + enum "multicast-listener-report" { + value 131; + description + "ICMPv6 Packet type: Multicast listener report"; + } + enum "multicast-listener-done" { + value 132; + description + "ICMPv6 Packet type: Multicast listener done"; + } + enum "router-solicitation" { + value 133; + description + "ICMPv6 Packet type: Router solicitation"; + } + enum "router-advertisement" { + value 134; + description + "ICMPv6 Packet type: Router advertisement"; + } + enum "neighbor-solicitation" { + value 135; + description + "ICMPv6 Packet type: Neighbor solicitation"; + } + enum "neighbor-advertisement" { + value 136; + description + "ICMPv6 Packet type: Neighbor advertisement"; + } + enum "redirect-message" { + value 137; + description + "ICMPv6 Packet type: Redirect message"; + } + enum "router-renumbering" { + value 138; + description + "ICMPv6 Packet type: Router renumbering"; + } + enum "node-information-query" { + value 139; + description + "ICMPv6 Packet type: Node information query"; + } + enum "node-information-reply" { + value 140; + description + "ICMPv6 Packet type: Node information reply"; + } + enum "inverse-neighbor-discovery-solicitaion" { + value 141; + description + "ICMPv6 Packet type: Inverse neighbor discovery + solicitation message"; + } + enum "inverse-neighbor-discover-advertisement" { + value 142; + description + "ICMPv6 Packet type: Inverse neighbor discovery + advertisement message"; + } + enum "v2-multicast-listener-report" { + value 143; + description + "ICMPv6 Packet type: Version 2 multicast + listener report"; + } + enum "home-agent-address-discovery-request" { + value 144; + description + "ICMPv6 Packet type: Home agent address + discovery request message"; + } + enum "home-agent-address-discovery-reply" { + value 145; + description + "ICMPv6 Packet type: Home agent address + discovery reply message"; + } + enum "mobile-prefix-solicitation" { + value 146; + description + "ICMPv6 Packet type: Mobile prefix solicitation"; + } + enum "mobile-prefix-advertisement" { + value 147; + description + "ICMPv6 Packet type: Mobile prefix advertisement"; + } + enum "certification-path-solicitation-message" { + value 148; + description + "ICMPv6 Packet type: Certification path + solicitation message"; + } + enum "certification-path-advertisement-message" { + value 149; + description + "ICMPv6 Packet type: Certification path + advertisement message"; + } + enum "experimental-mobility-protocols" { + value 150; + description + "ICMPv6 Packet type: ICMP messages utilized by + experimental mobility protocols such as + seamoby"; + } + enum "multicast-router-advertisement" { + value 151; + description + "ICMPv6 Packet type: Multicast router + advertisement"; + } + enum "multicast-router-solicitation" { + value 152; + description + "ICMPv6 Packet type: Multicast router + solicitation"; + } + enum "multicast-router-termination" { + value 153; + description + "ICMPv6 Packet type: Multicast router + termination"; + } + enum "fmipv6-messages" { + value 154; + description + "ICMPv6 Packet type: FMIPv6 messages"; + } + } + description + "LPTS ICMPv6 message types"; + } + + typedef Message-icmpv6 { + type Message-type-icmpv6; + description + "Message icmpv6"; + } + + typedef Message-type-icmp { + type enumeration { + enum "echo-reply" { + value 0; + description + "ICMP Packet type: Echo reply"; + } + enum "destination-unreachable" { + value 3; + description + "ICMP Packet type: Destination unreachable"; + } + enum "source-quench" { + value 4; + description + "ICMP Packet type: Source quench"; + } + enum "redirect" { + value 5; + description + "ICMP Packet type: Redirect"; + } + enum "alternate-host-address" { + value 6; + description + "ICMP Packet type: Alternate host address"; + } + enum "echo" { + value 8; + description + "ICMP Packet type: Echo"; + } + enum "router-advertisement" { + value 9; + description + "ICMP Packet type: Router advertisement"; + } + enum "router-selection" { + value 10; + description + "ICMP Packet type: Router selection"; + } + enum "time-exceeded" { + value 11; + description + "ICMP Packet type: Time exceeded"; + } + enum "parameter-problem" { + value 12; + description + "ICMP Packet type: Parameter problem"; + } + enum "time-stamp" { + value 13; + description + "ICMP Packet type: Time stamp"; + } + enum "time-stamp-reply" { + value 14; + description + "ICMP Packet type: Time stamp reply"; + } + enum "information-request" { + value 15; + description + "ICMP Packet type: Information request"; + } + enum "information-reply" { + value 16; + description + "ICMP Packet type: Information reply"; + } + enum "address-mask-request" { + value 17; + description + "ICMP Packet type: Address mask request"; + } + enum "address-mask-reply" { + value 18; + description + "ICMP Packet type: Address mask reply"; + } + enum "trace-route" { + value 30; + description + "ICMP Packet type: Trace route"; + } + enum "datagram-conversion-error" { + value 31; + description + "ICMP Packet type: Datagram Conversion error"; + } + enum "mobile-host-redirect" { + value 32; + description + "ICMP Packet type: Mobile host redirect"; + } + enum "where-are-you" { + value 33; + description + "ICMP Packet type: IPv6 where-are-you"; + } + enum "iam-here" { + value 34; + description + "ICMP Packet type: IPv6 i-am-here"; + } + enum "mobile-registration-request" { + value 35; + description + "ICMP Packet type: Mobile registration request"; + } + enum "mobile-registration-reply" { + value 36; + description + "ICMP Packet type: Mobile registration reply"; + } + enum "domain-name-request" { + value 37; + description + "ICMP Packet type: Domain name request"; + } + } + description + "LPTS ICMP message types"; + } + + typedef Message-icmp { + type Message-type-icmp; + description + "Message icmp"; + } + + typedef Packet { + type enumeration { + enum "icmp" { + description + "ICMP packet type"; + } + enum "icm-pv6" { + description + "ICMPv6 packet type"; + } + enum "igmp" { + description + "IGMP packet type"; + } + enum "unknown" { + description + "Packet type unknown"; + } + } + description + "Packet type"; + } + + typedef Lpts-ipv6-address { + type inet:ipv6-address; + description + "Lpts ipv6 address"; + } + + grouping PKT-TYPE { + description + "PKT TYPE"; + leaf type { + type Packet; + description + "Type"; + } + leaf icmp-message-type { + when "../type = 'icmp'" { + description + "../Type = 'ICMP'"; + } + type Message-icmp; + description + "ICMP message type"; + } + leaf icm-pv6-message-type { + when "../type = 'icm-pv6'" { + description + "../Type = 'ICMPv6'"; + } + type Message-icmpv6; + description + "ICMPv6 message type"; + } + leaf igmp-message-type { + when "../type = 'igmp'" { + description + "../Type = 'IGMP'"; + } + type Message-igmp; + description + "IGMP message type"; + } + leaf message-id { + when "../type = 'unknown'" { + description + "../Type = 'Unknown'"; + } + type Message-id; + description + "Message type in number"; + } + } + + grouping LPTS-RX-FILTER { + description + "LPTS Interface Filter"; + container packet-type { + description + "Protocol-specific packet type"; + uses PKT-TYPE; + } + container remote-address { + description + "Remote address"; + uses IP-ADDR; + } + container local-address { + description + "Local address"; + uses IP-ADDR; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf remote-length { + type uint16; + description + "Remote address length"; + } + leaf local-length { + type uint16; + description + "Local address length"; + } + leaf receive-remote-port { + type uint16; + description + "Receive Remote port"; + } + leaf receive-local-port { + type uint16; + description + "Receive Local port"; + } + leaf priority { + type uint8; + description + "Priority"; + } + leaf ttl { + type uint8; + description + "Minimum TTL"; + } + leaf flow-types-info { + type uint32; + description + "flow information"; + } + } + + grouping LPTS-ACCEPT-MASK { + description + "LPTS accept mask"; + leaf is-interface { + type boolean; + description + "Set interface"; + } + leaf is-packet-type { + type boolean; + description + "Set packet type"; + } + leaf is-remote-address { + type boolean; + description + "Set Remote address"; + } + leaf is-remote-port { + type boolean; + description + "Set Remote Port"; + } + leaf is-local-address { + type boolean; + description + "Set Local Address"; + } + leaf is-local-port { + type boolean; + description + "Set Local Port"; + } + } + + grouping LPTS-FLAGS { + description + "LPTS flags"; + leaf is-pcb-bound { + type boolean; + description + "PCB bound"; + } + leaf is-local-address-ignore { + type boolean; + description + "Sent drop packets"; + } + leaf is-ignore-vrf-filter { + type boolean; + description + "Ignore VRF Filter"; + } + } + + grouping LPTS-OPTIONS { + description + "LPTS options"; + leaf is-receive-filter { + type boolean; + description + "Receive filter enabled"; + } + leaf is-ip-sla { + type boolean; + description + "IP SLA"; + } + } + + grouping LPTS-PCB { + description + "LPTS PCB information block"; + container options { + description + "Receive options"; + uses LPTS-OPTIONS; + } + container lpts-flags { + description + "LPTS flags"; + uses LPTS-FLAGS; + } + container accept-mask { + description + "AcceptMask"; + uses LPTS-ACCEPT-MASK; + } + leaf ttl { + type uint8; + description + "Minimum TTL"; + } + leaf flow-types-info { + type uint32; + description + "flow information"; + } + list filter { + description + "Interface Filters"; + uses LPTS-RX-FILTER; + } + } + + grouping COMMON-PCB-INFO { + description + "Common information for all PCB types"; + container lpts-pcb { + description + "LPTS PCB information"; + uses LPTS-PCB; + } + leaf af-name { + type Addr-family; + description + "Address Family"; + } + } + + grouping IP-ADDR { + description + "IP Address"; + leaf af-name { + type Addr-family; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'internetwork'" { + description + "../AFName = 'Internetwork'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../af-name = 'ip-version6'" { + description + "../AFName = 'IPVersion6'"; + } + type Lpts-ipv6-address; + description + "IPv6 address"; + } + } + + grouping SHOW-PCB-INFO { + description + "PCB information to display"; + container local-address { + description + "Local IP address"; + uses IP-ADDR; + } + container foreign-address { + description + "Remote IP address"; + uses IP-ADDR; + } + container common { + description + "Common PCB information"; + uses COMMON-PCB-INFO; + } + leaf l4-protocol { + type uint32; + description + "Layer 4 protocol"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Remote port"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub5.yang new file mode 100644 index 0000000..7a169d2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper-sub5.yang @@ -0,0 +1,78 @@ +submodule Cisco-IOS-XR-ip-tcp-oper-sub5 { + belongs-to Cisco-IOS-XR-ip-tcp-oper { + prefix Cisco-IOS-XR-ip-tcp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping TRANSP-CLIENT-STATS-BAG { + description + "Aggregated statistics of a transport client"; + leaf client-jid { + type int32; + description + "Job ID of the transport client"; + } + leaf client-name { + type string { + length "0..21"; + } + description + "Transport client name"; + } + leaf ipv4-received-packets { + type uint32; + description + "Total IPv4 packets received from client"; + } + leaf ipv4-sent-packets { + type uint32; + description + "Total IPv4 packets sent to client"; + } + leaf ipv6-received-packets { + type uint32; + description + "Total IPv6 packets received from app"; + } + leaf ipv6-sent-packets { + type uint32; + description + "Total IPv6 packets sent to app"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper.yang new file mode 100644 index 0000000..38dcda0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-tcp-oper.yang @@ -0,0 +1,436 @@ +module Cisco-IOS-XR-ip-tcp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-tcp-oper"; + prefix ip-tcp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-tcp-oper-sub5 { + revision-date 2018-02-14; + } + include Cisco-IOS-XR-ip-tcp-oper-sub4 { + revision-date 2018-02-14; + } + include Cisco-IOS-XR-ip-tcp-oper-sub3 { + revision-date 2018-02-14; + } + include Cisco-IOS-XR-ip-tcp-oper-sub2 { + revision-date 2018-02-14; + } + include Cisco-IOS-XR-ip-tcp-oper-sub1 { + revision-date 2018-02-14; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-tcp package operational data. + + This module contains definitions + for the following management objects: + tcp-connection: TCP connection operational data + tcp: tcp + tcp-nsr: tcp nsr + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-14 { + description + "PCB_ID argument is passed in string format."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Show { + type enumeration { + enum "all" { + value 0; + description + "To dispay all"; + } + enum "static-policy" { + value 1; + description + "To display static policy"; + } + enum "interface-filter" { + value 2; + description + "To display interface filter"; + } + enum "packet-filter" { + value 3; + description + "To display packet type filter"; + } + } + description + "Show"; + } + + container tcp-connection { + config false; + description + "TCP connection operational data"; + container nodes { + description + "Table of information about all nodes present on + the system"; + list node { + key "id"; + description + "Information about a single node"; + container statistics { + description + "Statistics of all TCP connections"; + container clients { + description + "Table listing clients"; + list client { + key "client-id"; + description + "Describing Client ID"; + leaf client-id { + type uint32 { + range "0..4294967295"; + } + description + "Displaying client's aggregated statistics"; + } + uses TRANSP-CLIENT-STATS-BAG; + } + } + container pcbs { + description + "Table listing the TCP connections for which + statistics are provided"; + list pcb { + key "id"; + description + "Protocol Control Block ID"; + leaf id { + type xr:Cisco-ios-xr-string; + description + "Displaying statistics associated with a + particular PCB"; + } + uses TCP-SH-PCB-STATS-BAG; + } + } + container summary { + description + "Summary statistics across all TCP connections"; + uses TCP-SH-STATS-BAG; + } + } + container extended-information { + description + "Extended Filter related Information"; + container display-types { + description + "Table listing display types"; + list display-type { + key "disp-type"; + description + "Describing particular display type"; + leaf disp-type { + type Show; + description + "Specifying display type"; + } + list connection-id { + key "pcb-id"; + description + "Describing connection ID"; + leaf pcb-id { + type xr:Cisco-ios-xr-string; + description + "Displaying inforamtion based on selected + display type associatedwith a particular + PCB"; + } + uses SHOW-PCB-INFO; + } + } + } + } + container detail-informations { + description + "Table listing TCP connections for which + detailed information is provided"; + list detail-information { + key "pcb-id"; + description + "Protocol Control Block ID"; + leaf pcb-id { + type xr:Cisco-ios-xr-string; + description + "Detail information about TCP connection, put + null for all"; + } + uses TCP-SH-TABLE-BAG; + } + } + container brief-informations { + description + "Table listing connections for which brief + information is provided.Note that not all + connections are listed in the brief table."; + list brief-information { + key "pcb-id"; + description + "Brief information about a TCP connection"; + leaf pcb-id { + type xr:Cisco-ios-xr-string; + description + "Protocol Control Block ID"; + } + uses TCP-SH-BRIEF-BAG; + } + } + leaf id { + type xr:Node-id; + description + "Describing a location"; + } + } + } + } + container tcp { + config false; + description + "tcp"; + container nodes { + description + "Node-specific TCP operational data"; + list node { + key "node-name"; + description + "TCP operational data for a particular node"; + container statistics { + description + "Statistical TCP operational data for a node"; + container ipv4-traffic { + description + "TCP Traffic statistics for IPv4"; + uses IP-TCP; + } + container ipv6-traffic { + description + "TCP Traffic statistics for IPv6"; + uses IP-TCP; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container tcp-nsr { + config false; + description + "tcp nsr"; + container nodes { + description + "Table of information about all nodes present on + the system"; + list node { + key "id"; + description + "Information about a single node"; + container session { + description + "Information about TCP NSR Sessions"; + container brief-sessions { + description + "Information about TCP NSR Sessions"; + list brief-session { + key "id"; + description + "Brief information about NSR Sessions"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Sesison"; + } + uses TCP-NSR-PCB-BRIEF-BAG; + } + } + container detail-sessions { + description + "Table about TCP NSR Sessions details"; + list detail-session { + key "id"; + description + "showing detailed information of NSR Sessions"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Sesison"; + } + uses TCP-NSR-PCB-DETAILED-BAG; + } + } + } + container client { + description + "Information about TCP NSR Client"; + container detail-clients { + description + "Table about TCP NSR Client details"; + list detail-client { + key "id"; + description + "showing detailed information of NSR Clients"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR client"; + } + uses TCP-NSR-CCB-DETAILED-BAG; + } + } + container brief-clients { + description + "Information about TCP NSR Client"; + list brief-client { + key "id"; + description + "Brief information about NSR Client"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR client"; + } + uses TCP-NSR-CCB-BRIEF-BAG; + } + } + } + container session-set { + description + "Information about TCP NSR Session Sets"; + container detail-sets { + description + "Table about TCP NSR Session Sets details"; + list detail-set { + key "id"; + description + "showing detailed information of NSR Session + Sets"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Sesison Set"; + } + uses TCP-NSR-SSCB-DETAILED-BAG; + } + } + container brief-sets { + description + "Information about TCP NSR Session Sets"; + list brief-set { + key "id"; + description + "Brief information about NSR Session Sets"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Session Set"; + } + uses TCP-NSR-SSCB-BRIEF-BAG; + } + } + } + container statistics { + description + "Statis Information about TCP NSR connections"; + container summary { + description + "Summary statistics across all NSR connections"; + uses TCP-NSR-SUMMARY-STATS-BAG; + } + container statistic-clients { + description + "Table listing NSR connections for which + statistic information is provided"; + list statistic-client { + key "id"; + description + "showing statistic information of NSR Clients"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Client"; + } + uses TCP-NSR-CCB-STATS-BAG; + } + } + container statistic-sets { + description + "Table listing NSR connections for which + statistic information is provided"; + list statistic-set { + key "id"; + description + "showing statistic information of NSR Session + Set"; + leaf id { + type xr:Hex-integer; + description + "ID of NSR Session Set"; + } + uses TCP-NSR-SSCB-STATS-BAG; + } + } + container statistic-sessions { + description + "Table listing NSR connections for which + statistic information is provided"; + list statistic-session { + key "id"; + description + "showing statistic information of TCP + connections"; + leaf id { + type xr:Hex-integer; + description + "ID of TCP connection"; + } + uses TCP-NSR-PCB-STATS-BAG; + } + } + } + leaf id { + type xr:Node-id; + description + "Describing a location"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-cfg.yang new file mode 100644 index 0000000..c317e91 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-cfg.yang @@ -0,0 +1,226 @@ +module Cisco-IOS-XR-ip-udp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-cfg"; + prefix ip-udp-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ip-tcp-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package configuration. + + This module contains definitions + for the following management objects: + ip-udp: Global IP UDP configuration + + This YANG module augments the + Cisco-IOS-XR-ip-tcp-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-31 { + description + "Fixed missing augmentation from multiple MDA parent."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:ip" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ip-tcp-cfg'"; + container forward-protocol { + description + "Controls forwarding of physical and directed IP + broadcasts"; + container udp { + description + "Packets to a specific UDP port"; + container ports { + description + "Port configuration"; + list port { + key "port-id"; + description + "Well-known ports are enabled by default and + non well-known ports are disabled by default. + It is not allowed to configure the default."; + leaf port-id { + type xr:Cisco-ios-xr-port-number; + description + "Port number"; + } + leaf enable { + type boolean; + mandatory true; + description + "Specify 'false' to disable well-known ports + Domain (53), TFTP (69), NameServer (42), + TACACS (49), NetBiosNameService (137), or + NetBiosDatagramService (138). Specify + 'true' to enable non well-known ports."; + } + } + } + leaf disable { + type empty; + description + "Disable IP Forward Protocol UDP"; + } + } + } + } + augment "/a1:ip/a1:cinetd/a1:services/a1:ipv4/a1:small-servers" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ip-tcp-cfg'"; + container udp-small-servers { + presence "Indicates a udp-small-servers node is configured."; + description + "UDP small servers configuration"; + leaf access-control-list-name { + type string; + description + "Specify the access list"; + } + leaf small-server { + type union { + type enumeration { + enum "no-limit" { + value 0; + description + "Unlimited Servers"; + } + } + type uint32 { + range "0..2147483647"; + } + } + mandatory true; + description + "Set number of allowable small servers, specify + 0 for no-limit"; + } + } + } + augment "/a1:ip/a1:cinetd/a1:services/a1:ipv6/a1:small-servers" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ip-tcp-cfg'"; + container udp-small-servers { + presence "Indicates a udp-small-servers node is configured."; + description + "UDP small servers configuration"; + leaf access-control-list-name { + type string; + description + "Specify the access list"; + } + leaf small-server { + type union { + type enumeration { + enum "no-limit" { + value 0; + description + "Unlimited Servers"; + } + } + type uint32 { + range "0..2147483647"; + } + } + mandatory true; + description + "Set number of allowable small servers, specify + 0 for no-limit"; + } + } + } + container ip-udp { + description + "Global IP UDP configuration"; + container num-thread { + presence "Indicates a num-thread node is configured."; + description + "UDP InQueue and OutQueue threads"; + leaf udp-in-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "InQ Threads"; + } + leaf udp-out-q-threads { + type uint32 { + range "1..16"; + } + mandatory true; + description + "OutQ Threads"; + } + } + container directory { + presence "Indicates a directory node is configured."; + description + "UDP directory details"; + leaf directoryname { + type string; + mandatory true; + description + "Directory name"; + } + leaf max-udp-debug-files { + type uint32 { + range "1..5000"; + } + default "256"; + description + "Set number of Debug files"; + } + leaf max-file-size-files { + type uint32 { + range "1024..4294967295"; + } + units "byte"; + description + "Set size of debug files in bytes"; + } + } + leaf receive-q { + type uint32 { + range "40..800"; + } + description + "UDP receive Queue Size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub1.yang new file mode 100644 index 0000000..6f2f02f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub1.yang @@ -0,0 +1,331 @@ +submodule Cisco-IOS-XR-ip-udp-oper-sub1 { + belongs-to Cisco-IOS-XR-ip-udp-oper { + prefix Cisco-IOS-XR-ip-udp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Udp-in6-addr { + type inet:ipv6-address; + description + "Udp in6 addr"; + } + + typedef Udp-address-family { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 10; + description + "IPv6"; + } + } + description + "Address Family Type"; + } + + grouping UDP-SH-BRIEF-BAG { + description + "UDP connection brief information"; + container local-address { + description + "Local address"; + uses UDP-ADDRESS-TYPE; + } + container foreign-address { + description + "Foreign address"; + uses UDP-ADDRESS-TYPE; + } + leaf af-name { + type Udp-address-family; + description + "Address family"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf receive-queue { + type uint32; + description + "Receive queue count"; + } + leaf send-queue { + type uint32; + description + "Send queue count"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + } + + grouping UDP-ADDRESS-TYPE { + description + "UDP ADDRESS TYPE"; + leaf af-name { + type Udp-address-family; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf ipv6-address { + when "../af-name != 'ipv4'" { + description + "../AFName != 'IPv4'"; + } + type Udp-in6-addr; + description + "IPv6 Address"; + } + } + + grouping UDP-SH-TABLE-BAG { + description + "UDP detail pcb information"; + container local-address { + description + "Local address"; + uses UDP-ADDRESS-TYPE; + } + container foreign-address { + description + "Foreign address"; + uses UDP-ADDRESS-TYPE; + } + leaf af-name { + type Udp-address-family; + description + "Address family"; + } + leaf local-process-id { + type uint32; + description + "ID of local process"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Foreign port"; + } + leaf receive-queue { + type uint32; + description + "Receive queue count"; + } + leaf send-queue { + type uint32; + description + "Send queue count"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + } + + grouping UDP-PCB-RECEIVE-STATS-TYPE { + description + "UDP receive statistics"; + leaf received-network-packets { + type uint64; + description + "Packets received from network"; + } + leaf failed-queued-application-packets { + type uint32; + description + "Packets failed queued to application"; + } + leaf queued-application-packets { + type uint64; + description + "Packets queued to application"; + } + leaf failed-queued-application-socket-packets { + type uint32; + description + "Packet that couldn't be queued to application.on + socket"; + } + leaf queued-application-socket-packets { + type uint64; + description + "Packets queued to application on socket"; + } + } + + grouping UDP-PCB-SEND-STATS-TYPE { + description + "UDP send statistics"; + leaf received-application-bytes { + type uint64; + units "byte"; + description + "Bytes received from application"; + } + leaf received-xipc-pulses { + type uint64; + description + "XIPC pulses received from application"; + } + leaf sent-network-packets { + type uint64; + description + "Packets sent to network (v4/v6 IO)"; + } + leaf sent-net-io-packets { + type uint64; + description + "Packets sent to network (NetIO)"; + } + leaf failed-queued-network-packets { + type uint32; + description + "Packets failed getting queued to network (v4/v6 + IO)"; + } + leaf failed-queued-net-io-packets { + type uint32; + description + "Packets failed getting queued to network (NetIO)"; + } + } + + grouping UDP-SH-PCB-STATS-BAG { + description + "UDP statistics"; + container send { + description + "UDP send statistics"; + uses UDP-PCB-SEND-STATS-TYPE; + } + container receive { + description + "UDP receive statistics"; + uses UDP-PCB-RECEIVE-STATS-TYPE; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf is-paw-socket { + type boolean; + description + "True if paw socket"; + } + } + + grouping UDP-SH-STATS-BAG { + description + "UDP statistics summary"; + leaf received-total-packets { + type uint32; + description + "Total packets received"; + } + leaf received-no-port-packets { + type uint32; + description + "Packets received when no wild listener"; + } + leaf received-bad-checksum-packets { + type uint32; + description + "Packets received has bad checksum"; + } + leaf received-too-short-packets { + type uint32; + description + "Packets received is too short"; + } + leaf received-drop-packets { + type uint32; + description + "Packets dropped for other reasons"; + } + leaf sent-total-packets { + type uint32; + description + "Total packets sent"; + } + leaf sent-error-packets { + type uint32; + description + "Total send erorr packets"; + } + leaf forward-broadcast-packets { + type uint32; + description + "Total forwarding broadcast packets"; + } + leaf cloned-packets { + type uint32; + description + "Total cloned packets"; + } + leaf failed-clone-packets { + type uint32; + description + "Total failed cloned packets"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub2.yang new file mode 100644 index 0000000..9110348 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub2.yang @@ -0,0 +1,973 @@ +submodule Cisco-IOS-XR-ip-udp-oper-sub2 { + belongs-to Cisco-IOS-XR-ip-udp-oper { + prefix Cisco-IOS-XR-ip-udp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Message-id { + type uint32; + description + "Message id"; + } + + typedef Message-type-igmp { + type enumeration { + enum "membership-query" { + value 17; + description + "IGMP Packet type: Membership query"; + } + enum "v1-membership-report" { + value 18; + description + "IGMP Packet type: V1 membership report"; + } + enum "dvmrp" { + value 19; + description + "IGMP Packet type: DVMRP"; + } + enum "pi-mv1" { + value 20; + description + "IGMP Packet type: PIM version 1"; + } + enum "cisco-trace-messages" { + value 21; + description + "IGMP Packet type: Cisco Trace Messages"; + } + enum "v2-membership-report" { + value 22; + description + "IGMP Packet type: V2 membership report"; + } + enum "v2-leave-group" { + value 23; + description + "IGMP Packet type: V2 leave group"; + } + enum "multicast-traceroute-response" { + value 30; + description + "IGMP Packet type: Multicast traceroute response"; + } + enum "multicast-traceroute" { + value 31; + description + "IGMP Packet type: MulticastTraceroute"; + } + enum "v3-membership-report" { + value 34; + description + "IGMP Packet type: V3 membership report"; + } + enum "multicast-router-advertisement" { + value 48; + description + "IGMP Packet type: Multicast router + advertisement"; + } + enum "multicast-router-solicitation" { + value 49; + description + "IGMP Packet type: Multicast router solicitation"; + } + enum "multicast-router-termination" { + value 50; + description + "IGMP Packet type: Multicast router termination"; + } + } + description + "LPTS IGMP message types"; + } + + typedef Message-igmp { + type Message-type-igmp; + description + "Message igmp"; + } + + typedef Message-type-icmpv6 { + type enumeration { + enum "destination-unreachable" { + value 1; + description + "ICMPv6 Packet type: Destination unreachable"; + } + enum "packet-too-big" { + value 2; + description + "ICMPv6 Packet type: packet too big"; + } + enum "time-exceeded" { + value 3; + description + "ICMPv6 Packet type: Time exceeded"; + } + enum "parameter-problem" { + value 4; + description + "ICMPv6 Packet type: Parameter problem"; + } + enum "echo-request" { + value 128; + description + "ICMPv6 Packet type: Echo request"; + } + enum "echo-reply" { + value 129; + description + "ICMPv6 Packet type: Echo reply"; + } + enum "multicast-listener-query" { + value 130; + description + "ICMPv6 Packet type: Multicast listener query"; + } + enum "multicast-listener-report" { + value 131; + description + "ICMPv6 Packet type: Multicast listener report"; + } + enum "multicast-listener-done" { + value 132; + description + "ICMPv6 Packet type: Multicast listener done"; + } + enum "router-solicitation" { + value 133; + description + "ICMPv6 Packet type: Router solicitation"; + } + enum "router-advertisement" { + value 134; + description + "ICMPv6 Packet type: Router advertisement"; + } + enum "neighbor-solicitation" { + value 135; + description + "ICMPv6 Packet type: Neighbor solicitation"; + } + enum "neighbor-advertisement" { + value 136; + description + "ICMPv6 Packet type: Neighbor advertisement"; + } + enum "redirect-message" { + value 137; + description + "ICMPv6 Packet type: Redirect message"; + } + enum "router-renumbering" { + value 138; + description + "ICMPv6 Packet type: Router renumbering"; + } + enum "node-information-query" { + value 139; + description + "ICMPv6 Packet type: Node information query"; + } + enum "node-information-reply" { + value 140; + description + "ICMPv6 Packet type: Node information reply"; + } + enum "inverse-neighbor-discovery-solicitaion" { + value 141; + description + "ICMPv6 Packet type: Inverse neighbor discovery + solicitation message"; + } + enum "inverse-neighbor-discover-advertisement" { + value 142; + description + "ICMPv6 Packet type: Inverse neighbor discovery + advertisement message"; + } + enum "v2-multicast-listener-report" { + value 143; + description + "ICMPv6 Packet type: Version 2 multicast + listener report"; + } + enum "home-agent-address-discovery-request" { + value 144; + description + "ICMPv6 Packet type: Home agent address + discovery request message"; + } + enum "home-agent-address-discovery-reply" { + value 145; + description + "ICMPv6 Packet type: Home agent address + discovery reply message"; + } + enum "mobile-prefix-solicitation" { + value 146; + description + "ICMPv6 Packet type: Mobile prefix solicitation"; + } + enum "mobile-prefix-advertisement" { + value 147; + description + "ICMPv6 Packet type: Mobile prefix advertisement"; + } + enum "certification-path-solicitation-message" { + value 148; + description + "ICMPv6 Packet type: Certification path + solicitation message"; + } + enum "certification-path-advertisement-message" { + value 149; + description + "ICMPv6 Packet type: Certification path + advertisement message"; + } + enum "experimental-mobility-protocols" { + value 150; + description + "ICMPv6 Packet type: ICMP messages utilized by + experimental mobility protocols such as + seamoby"; + } + enum "multicast-router-advertisement" { + value 151; + description + "ICMPv6 Packet type: Multicast router + advertisement"; + } + enum "multicast-router-solicitation" { + value 152; + description + "ICMPv6 Packet type: Multicast router + solicitation"; + } + enum "multicast-router-termination" { + value 153; + description + "ICMPv6 Packet type: Multicast router + termination"; + } + enum "fmipv6-messages" { + value 154; + description + "ICMPv6 Packet type: FMIPv6 messages"; + } + } + description + "LPTS ICMPv6 message types"; + } + + typedef Message-icmpv6 { + type Message-type-icmpv6; + description + "Message icmpv6"; + } + + typedef Message-type-icmp { + type enumeration { + enum "echo-reply" { + value 0; + description + "ICMP Packet type: Echo reply"; + } + enum "destination-unreachable" { + value 3; + description + "ICMP Packet type: Destination unreachable"; + } + enum "source-quench" { + value 4; + description + "ICMP Packet type: Source quench"; + } + enum "redirect" { + value 5; + description + "ICMP Packet type: Redirect"; + } + enum "alternate-host-address" { + value 6; + description + "ICMP Packet type: Alternate host address"; + } + enum "echo" { + value 8; + description + "ICMP Packet type: Echo"; + } + enum "router-advertisement" { + value 9; + description + "ICMP Packet type: Router advertisement"; + } + enum "router-selection" { + value 10; + description + "ICMP Packet type: Router selection"; + } + enum "time-exceeded" { + value 11; + description + "ICMP Packet type: Time exceeded"; + } + enum "parameter-problem" { + value 12; + description + "ICMP Packet type: Parameter problem"; + } + enum "time-stamp" { + value 13; + description + "ICMP Packet type: Time stamp"; + } + enum "time-stamp-reply" { + value 14; + description + "ICMP Packet type: Time stamp reply"; + } + enum "information-request" { + value 15; + description + "ICMP Packet type: Information request"; + } + enum "information-reply" { + value 16; + description + "ICMP Packet type: Information reply"; + } + enum "address-mask-request" { + value 17; + description + "ICMP Packet type: Address mask request"; + } + enum "address-mask-reply" { + value 18; + description + "ICMP Packet type: Address mask reply"; + } + enum "trace-route" { + value 30; + description + "ICMP Packet type: Trace route"; + } + enum "datagram-conversion-error" { + value 31; + description + "ICMP Packet type: Datagram Conversion error"; + } + enum "mobile-host-redirect" { + value 32; + description + "ICMP Packet type: Mobile host redirect"; + } + enum "where-are-you" { + value 33; + description + "ICMP Packet type: IPv6 where-are-you"; + } + enum "iam-here" { + value 34; + description + "ICMP Packet type: IPv6 i-am-here"; + } + enum "mobile-registration-request" { + value 35; + description + "ICMP Packet type: Mobile registration request"; + } + enum "mobile-registration-reply" { + value 36; + description + "ICMP Packet type: Mobile registration reply"; + } + enum "domain-name-request" { + value 37; + description + "ICMP Packet type: Domain name request"; + } + } + description + "LPTS ICMP message types"; + } + + typedef Message-icmp { + type Message-type-icmp; + description + "Message icmp"; + } + + typedef Packet { + type enumeration { + enum "icmp" { + description + "ICMP packet type"; + } + enum "icm-pv6" { + description + "ICMPv6 packet type"; + } + enum "igmp" { + description + "IGMP packet type"; + } + enum "unknown" { + description + "Packet type unknown"; + } + } + description + "Packet type"; + } + + typedef Lpts-ipv6-address { + type inet:ipv6-address; + description + "Lpts ipv6 address"; + } + + typedef Addr-family { + type enumeration { + enum "unspecified" { + value 0; + description + "Unspecified"; + } + enum "local" { + value 1; + description + "Local to host (pipes, portals)"; + } + enum "inet" { + value 2; + description + "Internetwork: UDP, TCP, etc."; + } + enum "implink" { + value 3; + description + "arpanet imp addresses"; + } + enum "pup" { + value 4; + description + "Pup protocols: e.g. BSP"; + } + enum "chaos" { + value 5; + description + "mit CHAOS protocols"; + } + enum "ns" { + value 6; + description + "XEROX NS protocols"; + } + enum "iso" { + value 7; + description + "ISO protocols"; + } + enum "ecma" { + value 8; + description + "European computer manufacturers"; + } + enum "data-kit" { + value 9; + description + "Datakit protocols"; + } + enum "ccitt" { + value 10; + description + "CCITT protocols, X.25 etc"; + } + enum "sna" { + value 11; + description + "IBM SNA"; + } + enum "de-cnet" { + value 12; + description + "DECnet"; + } + enum "dli" { + value 13; + description + "DEC Direct data link interface"; + } + enum "lat" { + value 14; + description + "LAT"; + } + enum "hylink" { + value 15; + description + "NSC Hyperchannel"; + } + enum "appletalk" { + value 16; + description + "Apple Talk"; + } + enum "route" { + value 17; + description + "Internal Routing Protocol"; + } + enum "link" { + value 18; + description + "Link layer interface"; + } + enum "pseudo-xtp" { + value 19; + description + "eXpress Transfer Protocol (no AF)"; + } + enum "coip" { + value 20; + description + "Connection-oriented IP, aka ST II"; + } + enum "cnt" { + value 21; + description + "Computer Network Technology"; + } + enum "pseudo-rtip" { + value 22; + description + "Help Identify RTIP packets"; + } + enum "ipx" { + value 23; + description + "Novell Internet Protocol"; + } + enum "sip" { + value 24; + description + "Simple Internet Protocol"; + } + enum "pseudo-pip" { + value 25; + description + "Help Identify PIP packets"; + } + enum "inet6" { + value 26; + description + "IP version 6"; + } + enum "snap" { + value 27; + description + "802.2 SNAP sockets"; + } + enum "clnl" { + value 28; + description + "SAP_CLNS + nlpid encaps"; + } + enum "chdlc" { + value 29; + description + "cisco HDLC on serial"; + } + enum "ppp" { + value 30; + description + "PPP sockets"; + } + enum "host-cas" { + value 31; + description + "Host-based CAS signaling"; + } + enum "dsp" { + value 32; + description + "DSP messaging"; + } + enum "sap" { + value 33; + description + "SAP Sockets"; + } + enum "atm" { + value 34; + description + "ATM Sockets"; + } + enum "fr" { + value 35; + description + "Frame Relay sockets"; + } + enum "mso" { + value 36; + description + "Voice Media Stream Sockets"; + } + enum "dchan" { + value 37; + description + "ISDN D Channel Sockets"; + } + enum "cas" { + value 38; + description + "Trunk Framer media IF Sockets"; + } + enum "nat" { + value 39; + description + "Network Address Translation Sockets"; + } + enum "ether" { + value 40; + description + "Generic Ethernet Sockets"; + } + enum "srp" { + value 41; + description + "Spatial Reuse Protocol Sockets"; + } + } + description + "Address Family Types"; + } + + grouping PKT-TYPE { + description + "PKT TYPE"; + leaf type { + type Packet; + description + "Type"; + } + leaf icmp-message-type { + when "../type = 'icmp'" { + description + "../Type = 'ICMP'"; + } + type Message-icmp; + description + "ICMP message type"; + } + leaf icm-pv6-message-type { + when "../type = 'icm-pv6'" { + description + "../Type = 'ICMPv6'"; + } + type Message-icmpv6; + description + "ICMPv6 message type"; + } + leaf igmp-message-type { + when "../type = 'igmp'" { + description + "../Type = 'IGMP'"; + } + type Message-igmp; + description + "IGMP message type"; + } + leaf message-id { + when "../type = 'unknown'" { + description + "../Type = 'Unknown'"; + } + type Message-id; + description + "Message type in number"; + } + } + + grouping LPTS-RX-FILTER { + description + "LPTS Interface Filter"; + container packet-type { + description + "Protocol-specific packet type"; + uses PKT-TYPE; + } + container remote-address { + description + "Remote address"; + uses IP-ADDR; + } + container local-address { + description + "Local address"; + uses IP-ADDR; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf remote-length { + type uint16; + description + "Remote address length"; + } + leaf local-length { + type uint16; + description + "Local address length"; + } + leaf receive-remote-port { + type uint16; + description + "Receive Remote port"; + } + leaf receive-local-port { + type uint16; + description + "Receive Local port"; + } + leaf priority { + type uint8; + description + "Priority"; + } + leaf ttl { + type uint8; + description + "Minimum TTL"; + } + leaf flow-types-info { + type uint32; + description + "flow information"; + } + } + + grouping LPTS-ACCEPT-MASK { + description + "LPTS accept mask"; + leaf is-interface { + type boolean; + description + "Set interface"; + } + leaf is-packet-type { + type boolean; + description + "Set packet type"; + } + leaf is-remote-address { + type boolean; + description + "Set Remote address"; + } + leaf is-remote-port { + type boolean; + description + "Set Remote Port"; + } + leaf is-local-address { + type boolean; + description + "Set Local Address"; + } + leaf is-local-port { + type boolean; + description + "Set Local Port"; + } + } + + grouping LPTS-FLAGS { + description + "LPTS flags"; + leaf is-pcb-bound { + type boolean; + description + "PCB bound"; + } + leaf is-local-address-ignore { + type boolean; + description + "Sent drop packets"; + } + leaf is-ignore-vrf-filter { + type boolean; + description + "Ignore VRF Filter"; + } + } + + grouping LPTS-OPTIONS { + description + "LPTS options"; + leaf is-receive-filter { + type boolean; + description + "Receive filter enabled"; + } + leaf is-ip-sla { + type boolean; + description + "IP SLA"; + } + } + + grouping LPTS-PCB { + description + "LPTS PCB information block"; + container options { + description + "Receive options"; + uses LPTS-OPTIONS; + } + container lpts-flags { + description + "LPTS flags"; + uses LPTS-FLAGS; + } + container accept-mask { + description + "AcceptMask"; + uses LPTS-ACCEPT-MASK; + } + leaf ttl { + type uint8; + description + "Minimum TTL"; + } + leaf flow-types-info { + type uint32; + description + "flow information"; + } + list filter { + description + "Interface Filters"; + uses LPTS-RX-FILTER; + } + } + + grouping COMMON-PCB-INFO { + description + "Common information for all PCB types"; + container lpts-pcb { + description + "LPTS PCB information"; + uses LPTS-PCB; + } + leaf af-name { + type Addr-family; + description + "Address Family"; + } + } + + grouping IP-ADDR { + description + "IP Address"; + leaf af-name { + type Addr-family; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'inet'" { + description + "../AFName = 'INET'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../af-name = 'inet6'" { + description + "../AFName = 'INET6'"; + } + type Lpts-ipv6-address; + description + "IPv6 address"; + } + } + + grouping SHOW-PCB-INFO { + description + "PCB information to display"; + container local-address { + description + "Local IP address"; + uses IP-ADDR; + } + container foreign-address { + description + "Remote IP address"; + uses IP-ADDR; + } + container common { + description + "Common PCB information"; + uses COMMON-PCB-INFO; + } + leaf l4-protocol { + type uint32; + description + "Layer 4 protocol"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf foreign-port { + type uint16; + description + "Remote port"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub3.yang new file mode 100644 index 0000000..f781b7a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub3.yang @@ -0,0 +1,70 @@ +submodule Cisco-IOS-XR-ip-udp-oper-sub3 { + belongs-to Cisco-IOS-XR-ip-udp-oper { + prefix Cisco-IOS-XR-ip-udp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping TRANSP-CLIENT-STATS-BAG { + description + "Aggregated statistics of a transport client"; + leaf client-jid { + type int32; + description + "Job ID of the transport client"; + } + leaf client-name { + type string { + length "0..21"; + } + description + "Transport client name"; + } + leaf ipv4-received-packets { + type uint32; + description + "Total IPv4 packets received from client"; + } + leaf ipv4-sent-packets { + type uint32; + description + "Total IPv4 packets sent to client"; + } + leaf ipv6-received-packets { + type uint32; + description + "Total IPv6 packets received from app"; + } + leaf ipv6-sent-packets { + type uint32; + description + "Total IPv6 packets sent to app"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub4.yang new file mode 100644 index 0000000..450e313 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper-sub4.yang @@ -0,0 +1,68 @@ +submodule Cisco-IOS-XR-ip-udp-oper-sub4 { + belongs-to Cisco-IOS-XR-ip-udp-oper { + prefix Cisco-IOS-XR-ip-udp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping IP-UDP { + description + "UDP Traffic Information"; + leaf udp-input-packets { + type uint32; + description + "UDP Received"; + } + leaf udp-checksum-error-packets { + type uint32; + description + "UDP Checksum Errors"; + } + leaf udp-no-port-packets { + type uint32; + description + "UDP No Port"; + } + leaf udp-bad-length-packets { + type uint32; + description + "UDP bad length"; + } + leaf udp-output-packets { + type uint32; + description + "UDP Transmitted"; + } + leaf udp-dropped-packets { + type uint32; + description + "UDP drop for other reason"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper.yang new file mode 100644 index 0000000..a2c0a26 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ip-udp-oper.yang @@ -0,0 +1,247 @@ +module Cisco-IOS-XR-ip-udp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-udp-oper"; + prefix ip-udp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ip-udp-oper-sub4 { + revision-date 2016-02-26; + } + include Cisco-IOS-XR-ip-udp-oper-sub3 { + revision-date 2016-02-26; + } + include Cisco-IOS-XR-ip-udp-oper-sub2 { + revision-date 2016-02-26; + } + include Cisco-IOS-XR-ip-udp-oper-sub1 { + revision-date 2016-02-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ip-udp package operational data. + + This module contains definitions + for the following management objects: + udp: IP UDP Operational Data + udp-connection: udp connection + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-26 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Lpts-pcb-query { + type enumeration { + enum "all" { + value 0; + description + "No filter"; + } + enum "static-policy" { + value 1; + description + "Static policy filter"; + } + enum "interface" { + value 2; + description + "Interface filter"; + } + enum "packet" { + value 3; + description + "Packet type filter"; + } + } + description + "Lpts pcb query"; + } + + container udp { + config false; + description + "IP UDP Operational Data"; + container nodes { + description + "Node-specific UDP operational data"; + list node { + key "node-name"; + description + "UDP operational data for a particular node"; + container statistics { + description + "Statistical UDP operational data for a node"; + container ipv4-traffic { + description + "UDP Traffic statistics for IPv4"; + uses IP-UDP; + } + container ipv6-traffic { + description + "UDP Traffic statistics for IPv6"; + uses IP-UDP; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container udp-connection { + config false; + description + "udp connection"; + container nodes { + description + "List of UDP connections nodes"; + list node { + key "node-name"; + description + "Information about a particular node"; + container statistics { + description + "Statistics of UDP connections"; + container clients { + description + "Table listing clients"; + list client { + key "client-id"; + description + "Describing Client ID"; + leaf client-id { + type uint32 { + range "0..4294967295"; + } + description + "Displaying client's aggregated statistics"; + } + uses TRANSP-CLIENT-STATS-BAG; + } + } + container summary { + description + "Summary statistics across all UDP connections"; + uses UDP-SH-STATS-BAG; + } + container pcb-statistics { + description + "Table listing the UDP connections for which + statistics are provided"; + list pcb-statistic { + key "pcb-address"; + description + "Satistics associated with a particular PCB"; + leaf pcb-address { + type uint32 { + range "0..4294967295"; + } + description + "Protocol Control Block address"; + } + uses UDP-SH-PCB-STATS-BAG; + } + } + } + container lpts { + description + "LPTS statistical data"; + container queries { + description + "List of query options"; + list query { + key "query-name"; + description + "Query option"; + container pcbs { + description + "List of PCBs"; + list pcb { + key "pcb-address"; + description + "A PCB information"; + leaf pcb-address { + type uint32 { + range "0..4294967295"; + } + description + "PCB address"; + } + uses SHOW-PCB-INFO; + } + } + leaf query-name { + type Lpts-pcb-query; + description + "Query option"; + } + } + } + } + container pcb-details { + description + "Detail information for list of UDP connections + ."; + list pcb-detail { + key "pcb-address"; + description + "Detail information about a UDP connection"; + leaf pcb-address { + type uint32 { + range "0..4294967295"; + } + description + "Protocol Control Block address"; + } + uses UDP-SH-TABLE-BAG; + } + } + container pcb-briefs { + description + "Brief information for list of UDP connections."; + list pcb-brief { + key "pcb-address"; + description + "Brief information about a UDP connection"; + leaf pcb-address { + type uint32 { + range "0..4294967295"; + } + description + "Protocol Control Block address"; + } + uses UDP-SH-BRIEF-BAG; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ace-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ace-cfg.yang new file mode 100644 index 0000000..52a3bc9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ace-cfg.yang @@ -0,0 +1,522 @@ +submodule Cisco-IOS-XR-ipv4-ace-cfg { + belongs-to Cisco-IOS-XR-ipv4-acl-cfg { + prefix ipv4-acl-cfg; + } + import Cisco-IOS-XR-ipv4-acl-datatypes { + prefix ipv4-acl-dt; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv4 ACL entry configuration. + + Copyright (c) 2013, 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-08 { + description + "6.3.1 fragment-type revision"; + } + revision 2017-05-11 { + description + "6.3.1 revision"; + } + revision 2016-11-07 { + description + "6.2.1 revision."; + } + revision 2015-11-09 { + description + "Initial revision."; + } + + typedef Next-hop-type { + type enumeration { + enum "none-next-hop" { + description + "None next-hop."; + } + enum "regular-next-hop" { + description + "Regular next-hop."; + } + enum "default-next-hop" { + description + "Default next-hop."; + } + } + description + "Next-hop type."; + } + + grouping IPV4-ACE { + description + "IPv4 ACL entry."; + leaf grant { + type ipv4-acl-dt:Ipv4-acl-grant-enum; + description + "Whether to forward or drop packets matching the + ACE."; + } + leaf protocol-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "Protocol operator. Leave unspecified + if no protocol comparison is to be done."; + } + leaf protocol { + type ipv4-acl-dt:Ipv4-acl-protocol-number; + description + "Protocol to match."; + } + leaf protocol2 { + type ipv4-acl-dt:Ipv4-acl-protocol-number; + description + "Protocol2 to match."; + } + container source-network { + description + "Source network settings."; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source IPv4 address to match, leave unspecified + for any."; + } + leaf source-wild-card-bits { + type inet:ipv4-address-no-zone; + description + "Wildcard bits to apply to source address + (if specified), leave unspecified for no + wildcarding."; + } + leaf source-prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix length to apply to source address + (if specified), leave unspecified for no + wildcarding."; + } + } + container destination-network { + description + "Destination network settings."; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination IPv4 address to match (if a protocol + was specified), leave unspecified for any."; + } + leaf destination-wild-card-bits { + type inet:ipv4-address-no-zone; + description + "Wildcard bits to apply to destination address + (if specified), leave unspecified for no + wildcarding."; + } + leaf destination-prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix length to apply to destination address + (if specified), leave unspecified for no + wildcarding."; + } + } + container source-port { + when "../protocol = '6' or ../protocol = 'tcp' or ../protocol = '17' or ../protocol = 'udp' or ../protocol = '132' or ../protocol = 'sctp'" { + description + "Applicable only to TCP, SCTP and UDP."; + } + description + "Source port settings."; + leaf source-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "Source comparison operator . Leave unspecified + if no source port comparison is to be done."; + } + leaf first-source-port { + type ipv4-acl-dt:Ipv4-acl-port-number; + description + "First source port for comparison, leave + unspecified if source port comparison is not to + be performed."; + } + leaf second-source-port { + type ipv4-acl-dt:Ipv4-acl-port-number; + description + "Second source port for comparion, leave + unspecified if source port comparison is not to + be performed."; + } + } + container destination-port { + when "../protocol = '6' or ../protocol = 'tcp' or ../protocol = '17' or ../protocol = 'udp' or ../protocol = '132' or ../protocol = 'sctp'" { + description + "Applicable only to TCP, SCTP and UDP."; + } + description + "Destination port settings."; + leaf destination-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "Destination comparison operator. Leave + unspecified if no destination port comparison is + to be done."; + } + leaf first-destination-port { + type ipv4-acl-dt:Ipv4-acl-port-number; + description + "First destination port for comparison, leave + unspecified if destination port comparison is + not to be performed."; + } + leaf second-destination-port { + type ipv4-acl-dt:Ipv4-acl-port-number; + description + "Second destination port for comparion, leave + unspecified if destination port comparison is + not to be performed."; + } + } + container icmp { + when "../protocol = '1' or ../protocol = 'icmp'" { + description + "Applicable only to ICMP."; + } + description + "ICMP settings."; + leaf icmp-type-code { + type ipv4-acl-dt:Ipv4-acl-icmp-type-code-enum; + description + "Well known ICMP message code types to match, + leave unspecified if ICMP message code type + comparion is not to be performed."; + } + } + container tcp { + when "../protocol = '6' or ../protocol = 'tcp'" { + description + "Applicable only to TCP."; + } + description + "TCP settings."; + leaf tcp-bits-match-operator { + type ipv4-acl-dt:Ipv4-acl-tcp-match-operator-enum; + description + "TCP Bits match operator. Leave unspecified if + flexible comparison of TCP bits is not + required."; + } + leaf tcp-bits { + type ipv4-acl-dt:Ipv4-acl-tcp-bits-number; + description + "TCP bits to match. + Leave unspecified if comparison of TCP bits is + not required."; + } + leaf tcp-bits-mask { + type ipv4-acl-dt:Ipv4-acl-tcp-bits-number; + description + "TCP bits mask to use for flexible TCP matching. + Leave unspecified if tcp-bits-match-operator is + unspecified."; + } + } + container packet-length { + description + "Packet length settings."; + leaf packet-length-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "Packet length operator applicable if Packet + length is to be compared. Leave unspecified if + no packet length comparison is to be done."; + } + leaf packet-length-min { + type ipv4-acl-dt:Ipv4-acl-plen-range; + description + "Minimum packet length for comparison, leave + unspecified if packet length comparison is not + to be performed or if only the maximum packet + length should be considered."; + } + leaf packet-length-max { + type ipv4-acl-dt:Ipv4-acl-plen-range; + description + "Maximum packet length for comparion, leave + unspecified if packet length comparison is not + to be performed or if only the minimum packet + length should be considered."; + } + } + container time-to-live { + description + "TTL settings."; + leaf time-to-live-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "TTL operator is applicable if TTL is to be + compared. Leave unspecified if TTL + classification is not required."; + } + leaf time-to-live-min { + type ipv4-acl-dt:Ipv4-acl-ttl-range; + description + "TTL value for comparison OR Minimum TTL value + for TTL range comparision, leave unspecified if + TTL classification is not required."; + } + leaf time-to-live-max { + type ipv4-acl-dt:Ipv4-acl-ttl-range; + description + "Maximum TTL for comparion, leave unspecified if + TTL comparison is not to be performed or if only + the minimum TTL should be considered."; + } + } + container fragment-offset { + description + "Fragment-offset settings."; + leaf fragment-offset-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "Fragment-offset operator is applicable if fragment-offset + is to be compared. Leave unspecified if fragment-offset + classification is not required."; + } + leaf fragment-offset-1 { + type ipv4-acl-dt:Ipv4-acl-frag-offset-range; + description + "Fragment-offset value for comparison OR first + fragment-offset value for fragment-offset range + comparision, leave unspecified if fragment-offset + classification is not required."; + } + leaf fragment-offset-2 { + type ipv4-acl-dt:Ipv4-acl-frag-offset-range; + description + "Second fragment-offset value for comparion, + leave unspecified if fragment-offset comparison is not + to be performed or if only the first fragment-offset + value should be considered."; + } + } + leaf fragment-type { + type ipv4-acl-dt:Ipv4-acl-frag-flags; + description + "Fragment flags, such as dont-fragment, is-fragment, + first-fragment, and last-fragment."; + } + container next-hop { + description + "Next-hop settings."; + leaf next-hop-type { + type Next-hop-type; + description + "The nexthop type."; + } + container next-hop-1 { + description + "The first next-hop settings."; + leaf next-hop { + type inet:ipv4-address-no-zone; + description + "The IPv4 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + container next-hop-2 { + description + "The second next-hop settings."; + leaf next-hop { + type inet:ipv4-address-no-zone; + description + "The IPv4 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + container next-hop-3 { + description + "The third next-hop settings."; + leaf next-hop { + type inet:ipv4-address-no-zone; + description + "The IPv4 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + } + leaf counter-name { + type string; + description + "Counter name."; + } + leaf igmp-message-type { + when "../protocol = '2' or ../protocol = 'igmp'" { + description + "Applicable only to IGMP."; + } + type ipv4-acl-dt:Ipv4-acl-igmp-number; + description + "IGMP message type to match. Leave unspecified if + no message type comparison is to be done."; + } + container dscp { + description + "DSCP settings."; + leaf dscp-operator { + type ipv4-acl-dt:Ipv4-acl-operator-enum; + description + "DSCP operator is applicable only when DSCP + range is configured. Leave unspecified if + DSCP range is not required."; + } + leaf dscp-min { + type ipv4-acl-dt:Ipv4-acl-dscp-number; + description + "DSCP value to match or minimum DSCP value + for DSCP range comparison, leave unspecified + if DSCP comparion is not to be performed."; + } + leaf dscp-max { + type ipv4-acl-dt:Ipv4-acl-dscp-number; + description + "Maximum DSCP value for comparion, leave + unspecified if DSCP comparison is not to + be performed or if only the minimum DSCP + should be considered."; + } + } + leaf precedence { + type ipv4-acl-dt:Ipv4-acl-precedence-number; + description + "Precedence value to match (if a protocol was + specified), leave unspecified if precedence + comparion is not to be performed."; + } + leaf log-option { + type ipv4-acl-dt:Ipv4-acl-logging-enum; + description + "Whether and how to log matches against this + entry."; + } + leaf capture { + type boolean; + description + "Enable capture."; + } + leaf icmp-off { + type empty; + description + "To turn off ICMP generation for deny ACEs."; + } + leaf qos-group { + type ipv4-acl-dt:Ipv4-acl-qos-group-number; + description + "Set qos-group number."; + } + leaf set-ttl { + type ipv4-acl-dt:Ipv4-acl-ttl-range; + description + "Set TTL Value. Ranges from 0-255"; + } + leaf fragments { + when "../protocol = '1' or ../protocol = 'icmp' or ../protocol = '2' or ../protocol = 'igmp' or ../protocol = '6' or ../protocol = 'tcp' or ../protocol = '17' or ../protocol = 'udp' or ../protocol = '132' or ../protocol = 'sctp'" { + description + "Applicable only to TCP, SCTP, UDP, IGMP and + ICMP."; + } + type empty; + description + "Check non-initial fragments. Item is mutually + exclusive with TCP, SCTP, UDP, IGMP and ICMP + comparions and with logging."; + } + leaf remark { + type string; + description + "Comments or a description for the access list."; + } + leaf source-prefix-group { + type string { + length "1..64"; + } + description + "IPv4 source network object group name."; + } + leaf destination-prefix-group { + type string { + length "1..64"; + } + description + "IPv4 destination network object group name."; + } + leaf source-port-group { + type string { + length "1..64"; + } + description + "Source port object group name."; + } + leaf destination-port-group { + type string { + length "1..64"; + } + description + "Destination port object group name."; + } + leaf sequence-str { + type string { + length "1..64"; + } + description + "Sequence String for the ace."; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-cfg.yang new file mode 100644 index 0000000..7e0322e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-cfg.yang @@ -0,0 +1,193 @@ +module Cisco-IOS-XR-ipv4-acl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-cfg"; + prefix ipv4-acl-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-ipv4-acl-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ipv4-ace-cfg { + revision-date 2017-06-08; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-acl package configuration. + + This module contains definitions + for the following management objects: + ipv4-acl-and-prefix-list: IPv4 ACL configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-08 { + description + "6.3.1 fragment-type revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv4-acl-and-prefix-list { + description + "IPv4 ACL configuration data"; + container accesses { + description + "Table of access lists. Entries in this table + and the AccessListExistenceTable table must be + kept consistent"; + list access { + key "access-list-name"; + description + "An ACL"; + container access-list-entries { + description + "ACL entry table; contains list of ACEs"; + list access-list-entry { + key "sequence-number"; + description + "An ACL entry; either a description (remark) + or an ACE to match against"; + leaf sequence-number { + type dt1:Ipv4-acl-sequence-number-range-acl; + description + "Sequence number for this entry"; + } + uses IPV4-ACE; + } + } + leaf access-list-name { + type string; + description + "Access list name - 64 characters max"; + } + } + } + container prefixes { + description + "Table of ACL prefix lists. Entries in this + table and the PrefixListExistenceTable table + must be kept consistent"; + list prefix { + key "prefix-list-name"; + description + "Name of a prefix list"; + container prefix-list-entries { + presence "Indicates a prefix-list-entries node is configured."; + description + "Sequence of entries forming a prefix list"; + list prefix-list-entry { + key "sequence-number"; + description + "A prefix list entry; either a description + (remark) or a prefix to match against"; + leaf sequence-number { + type dt1:Ipv4-acl-sequence-number-range; + description + "Sequence number of prefix list"; + } + leaf grant { + type dt1:Ipv4-acl-grant-enum; + description + "Whether to forward or drop packets matching + the prefix list"; + } + leaf prefix { + type inet:ipv4-address-no-zone; + description + "IPv4 address prefix to match"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "Mask of IPv4 address prefix"; + } + leaf match-exact-length { + type empty; + description + "Set to perform an exact prefix length match. + Item is mutually exclusive with minimum and + maximum length match items"; + } + leaf exact-prefix-length { + type dt1:Ipv4-acl-prefix-length-range; + description + "If exact prefix length matching specified, + set the length of prefix to be matched"; + } + leaf match-max-length { + type empty; + description + "Set to perform a maximum length prefix match + . Item is mutually exclusive with exact + length match item"; + } + leaf max-prefix-length { + type dt1:Ipv4-acl-prefix-length-range; + description + "If maximum length prefix matching specified, + set the maximum length of prefix to be + matched"; + } + leaf match-min-length { + type empty; + description + "Set to perform a minimum length prefix match + . Item is mutually exclusive with exact + length match item"; + } + leaf min-prefix-length { + type dt1:Ipv4-acl-prefix-length-range; + description + "If minimum length prefix matching specified, + set the minimum length of prefix to be + matched"; + } + leaf remark { + type string; + description + "Comments or a description for the prefix + list. Item is mutually exclusive with all + others in the object"; + } + } + } + leaf prefix-list-name { + type string; + description + "Prefix list name - max 32 characters"; + } + } + } + container log-update { + description + "Control access lists log updates"; + leaf threshold { + type dt1:Ipv4-acl-log-threshold-range; + description + "Log update threshold (number of hits)"; + } + leaf rate { + type dt1:Ipv4-acl-log-rate-range; + description + "Log update rate (log msgs per second)"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-datatypes.yang new file mode 100644 index 0000000..6f99c68 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-datatypes.yang @@ -0,0 +1,1155 @@ +module Cisco-IOS-XR-ipv4-acl-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes"; + prefix ipv4-acl-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv4-acl-prefix-match-range { + type uint32 { + range "0..32"; + } + description + "Ipv4 acl prefix match range"; + } + + typedef Ipv4-acl-protocol-number { + type union { + type enumeration { + enum "ip" { + value 0; + description + "Any IP protocol"; + } + enum "icmp" { + value 1; + description + "Internet Control Message Protocol"; + } + enum "igmp" { + value 2; + description + "Internet Gateway Message Protocol"; + } + enum "ip-in-ip" { + value 4; + description + "IP in IP tunneling"; + } + enum "tcp" { + value 6; + description + "Transport Control Protocol"; + } + enum "igrp" { + value 9; + description + "Cisco's IGRP Routing Protocol"; + } + enum "udp" { + value 17; + description + "User Datagram Protocol"; + } + enum "gre" { + value 47; + description + "Cisco's GRE tunneling"; + } + enum "esp" { + value 50; + description + "Encapsulation Security Protocol"; + } + enum "ahp" { + value 51; + description + "Authentication Header Protocol"; + } + enum "eigrp" { + value 88; + description + "Cisco's EIGRP Routing Protocol"; + } + enum "ospf" { + value 89; + description + "OSPF Routing Protocol"; + } + enum "nos" { + value 94; + description + "KA9Q NOS Compatible IP over IP tunneling"; + } + enum "pim" { + value 103; + description + "Protocol Independent Multicast"; + } + enum "pcp" { + value 108; + description + "Payload Compression Protocol"; + } + enum "sctp" { + value 132; + description + "Stream Control Transmission Protocol"; + } + } + type uint32 { + range "0..255"; + } + } + description + "Ipv4 acl protocol number"; + } + + typedef Ipv4-acl-frag-offset-range { + type uint32 { + range "0..8191"; + } + description + "Ipv4 acl frag offset range"; + } + + typedef Ipv4-acl-prefix-length-range { + type uint32 { + range "0..32"; + } + description + "Ipv4 acl prefix length range"; + } + + typedef Ipv4-acl-tcp-match-operator-enum { + type enumeration { + enum "match-all" { + value 1; + description + "Match only packet with all the given TCP bits"; + } + enum "match-any" { + value 3; + description + "Match only packet with any of the given TCP + bits"; + } + } + description + "Ipv4 acl tcp match operator enum"; + } + + typedef Ipv4-acl-grant-enum { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + } + description + "Ipv4 acl grant enum"; + } + + typedef Ipv4-acl-operator-enum { + type enumeration { + enum "equal" { + value 1; + description + "Match only packets on a given port number"; + } + enum "greater-than" { + value 2; + description + "Match only packet with a greater port number"; + } + enum "less-than" { + value 3; + description + "Match only packet with a lower port number"; + } + enum "not-equal" { + value 4; + description + "Match only packets not on a given port number"; + } + enum "range" { + value 5; + description + "Match only packets in the range of port numbers"; + } + } + description + "Ipv4 acl operator enum"; + } + + typedef Ipv4-acl-precedence-number { + type union { + type enumeration { + enum "critical" { + value 5; + description + "Match packets with critical precedence"; + } + enum "flash" { + value 3; + description + "Match packets with flash precedence"; + } + enum "flash-override" { + value 4; + description + "Match packets with flash override precedence"; + } + enum "immediate" { + value 2; + description + "Match packets with immediate precedence"; + } + enum "internet" { + value 6; + description + "Match packets with internetwork control + precedence"; + } + enum "network" { + value 7; + description + "Match packets with network control precedence"; + } + enum "priority" { + value 1; + description + "Match packets with priority precedence"; + } + enum "routine" { + value 0; + description + "Match packets with routine precedence"; + } + } + type uint32 { + range "0..7"; + } + } + description + "Ipv4 acl precedence number"; + } + + typedef Ipv4-acl-plen-range { + type uint32 { + range "0..65535"; + } + description + "Ipv4 acl plen range"; + } + + typedef Ipv4-acl-ttl-range { + type uint32 { + range "0..255"; + } + description + "Ipv4 acl ttl range"; + } + + typedef Ipv4-acl-port-number { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Match on the 'echo' port number"; + } + enum "discard" { + value 9; + description + "Match on the 'discard' port number"; + } + enum "daytime" { + value 13; + description + "Match on the 'daytime' port number (TCP/SCTP + only)"; + } + enum "char-gen" { + value 19; + description + "Match on the 'chargen' port number (TCP/SCTP + only)"; + } + enum "ftp-data" { + value 20; + description + "Match on the FTP data connections port number + (TCP/SCTP only)"; + } + enum "ftp" { + value 21; + description + "Match on the 'ftp' port number (TCP/SCTP only)"; + } + enum "telnet" { + value 23; + description + "Match on the 'telnet' port number (TCP/SCTP + only)"; + } + enum "smtp" { + value 25; + description + "Match on the 'smtp' port number (TCP/SCTP + only)"; + } + enum "time" { + value 37; + description + "Match on the 'time' port number"; + } + enum "name-server" { + value 42; + description + "Match on the IEN116 name service port number + (UDP only)"; + } + enum "who-is" { + value 43; + description + "Match on the 'nicname' port number (TCP/SCTP + only)"; + } + enum "tacacs" { + value 49; + description + "Match on the 'tacacs' port number"; + } + enum "dns" { + value 53; + description + "Match on the 'dns' port number"; + } + enum "boot-ps" { + value 67; + description + "Match on the Bootstrap Protocol server port + number (UDP only)"; + } + enum "boot-pc" { + value 68; + description + "Match on the Bootstrap Protocol client port + number (UDP only)"; + } + enum "tftp" { + value 69; + description + "Match on the 'tftp' port number (UDP only)"; + } + enum "gopher" { + value 70; + description + "Match on the 'gopher' port number (TCP/SCTP + only)"; + } + enum "finger" { + value 79; + description + "Match on the 'finger' port number (TCP/SCTP + only)"; + } + enum "www" { + value 80; + description + "Match on the 'http' port number (TCP/SCTP + only)"; + } + enum "host-name" { + value 101; + description + "Match on the NIC hostname server port number + (TCP/SCTP only)"; + } + enum "pop2" { + value 109; + description + "Match on the 'pop2' port number (TCP/SCTP + only)"; + } + enum "pop3" { + value 110; + description + "Match on the 'pop3' port number (TCP/SCTP + only)"; + } + enum "sun-rpc" { + value 111; + description + "Match on the Sun RPC port number"; + } + enum "ident" { + value 113; + description + "Match on the 'ident' port number (TCP/SCTP + only)"; + } + enum "nntp" { + value 119; + description + "Match on the 'nntp' port number (TCP/SCTP + only)"; + } + enum "ntp" { + value 123; + description + "Match on the 'ntp' port number (UDP only)"; + } + enum "net-bios-ns" { + value 137; + description + "Match on the NetBIOS name service port number + (UDP only)"; + } + enum "net-bios-dgs" { + value 138; + description + "Match on the NetBIOS datagram service port + number (UDP only)"; + } + enum "net-bios-ss" { + value 139; + description + "Match on the NetBIOS session service port + number (UDP only)"; + } + enum "snmp" { + value 161; + description + "Match on the 'snmp' port number (UDP only)"; + } + enum "snmp-trap" { + value 162; + description + "Match on the SNMP traps port number (UDP only)"; + } + enum "xdmcp" { + value 177; + description + "Match on the 'xdmcp' port number (UDP only)"; + } + enum "bgp" { + value 179; + description + "Match on the 'bgp' port number (TCP/SCTP only)"; + } + enum "irc" { + value 194; + description + "Match on the 'irc' port number (TCP/SCTP only)"; + } + enum "dnsix" { + value 195; + description + "Match on the DNSIX security protocol auditing + port number (UDP only)"; + } + enum "mobile-ip" { + value 434; + description + "Match on the mobile IP registration port + number (UDP only)"; + } + enum "pim-auto-rp" { + value 496; + description + "Match on the PIM Auto-RP port number"; + } + enum "isakmp" { + value 500; + description + "Match on the 'isakmp' port number (UDP only)"; + } + enum "exec-or-biff" { + value 512; + description + "Match on the port used by TCP/SCTP for 'exec' + and by UDP for 'biff'"; + } + enum "login-or-who" { + value 513; + description + "Match on the port used by TCP/SCTP for 'login' + and by UDP for 'rwho'"; + } + enum "cmd-or-syslog" { + value 514; + description + "Match on the port used by TCP/SCTP for 'rcmd' + and by UDP for 'syslog'"; + } + enum "lpd" { + value 515; + description + "Match on the 'lpd' port number (TCP/SCTP only)"; + } + enum "talk" { + value 517; + description + "Match on the 'talk' port number"; + } + enum "rip" { + value 520; + description + "Match on the 'rip' port number (UDP only)"; + } + enum "uucp" { + value 540; + description + "Match on the 'uucp' port number (TCP/SCTP + only)"; + } + enum "klogin" { + value 543; + description + "Match on the Kerberos login port number + (TCP/SCTP only)"; + } + enum "kshell" { + value 544; + description + "Match on the Kerberos shell port number + (TCP/SCTP only)"; + } + enum "ldp" { + value 646; + description + "Match on the LDP port"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Ipv4 acl port number"; + } + + typedef Ipv4-acl-log-rate-range { + type uint32 { + range "1..1000"; + } + description + "Ipv4 acl log rate range"; + } + + typedef Ipv4-acl-igmp-number { + type union { + type enumeration { + enum "host-query" { + value 17; + description + "Host query"; + } + enum "host-report" { + value 18; + description + "Host report"; + } + enum "dvmrp" { + value 19; + description + "Distance Vector Multicast Routing Protocol"; + } + enum "pim" { + value 20; + description + "Portocol Independent Multicast"; + } + enum "trace" { + value 21; + description + "Multicast Trace"; + } + enum "v2-report" { + value 22; + description + "Version 2 report"; + } + enum "v2-leave" { + value 23; + description + "Version 2 leave"; + } + enum "mtrace-response" { + value 30; + description + "MTrace response"; + } + enum "mtrace" { + value 31; + description + "MTrace"; + } + enum "v3-report" { + value 34; + description + "Version 3 report"; + } + } + type uint32 { + range "0..255"; + } + } + description + "Ipv4 acl igmp number"; + } + + typedef Ipv4-acl-dscp-number { + type union { + type enumeration { + enum "default" { + value 0; + description + "Default DSCP"; + } + enum "af11" { + value 10; + description + "Match packets with AF11 DSCP"; + } + enum "af12" { + value 12; + description + "Match packets with AF12 DSCP"; + } + enum "af13" { + value 14; + description + "Match packets with AF13 DSCP"; + } + enum "af21" { + value 18; + description + "Match packets with AF21 DSCP"; + } + enum "af22" { + value 20; + description + "Match packets with AF22 DSCP"; + } + enum "af23" { + value 22; + description + "Match packets with AF23 DSCP"; + } + enum "af31" { + value 26; + description + "Match packets with AF31 DSCP"; + } + enum "af32" { + value 28; + description + "Match packets with AF32 DSCP"; + } + enum "af33" { + value 30; + description + "Match packets with AF33 DSCP"; + } + enum "af41" { + value 34; + description + "Match packets with AF41 DSCP"; + } + enum "af42" { + value 36; + description + "Match packets with AF42 DSCP"; + } + enum "af43" { + value 38; + description + "Match packets with AF43 DSCP"; + } + enum "cs1" { + value 8; + description + "Match packets with CS1 (precedence 1) DSCP"; + } + enum "cs2" { + value 16; + description + "Match packets with CS2 (precedence 2) DSCP"; + } + enum "cs3" { + value 24; + description + "Match packets with CS3 (precedence 3) DSCP"; + } + enum "cs4" { + value 32; + description + "Match packets with CS4 (precedence 4) DSCP"; + } + enum "cs5" { + value 40; + description + "Match packets with CS5 (precedence 5) DSCP"; + } + enum "cs6" { + value 48; + description + "Match packets with CS6 (precedence 6) DSCP"; + } + enum "cs7" { + value 56; + description + "Match packets with CS7 (precedence 7) DSCP"; + } + enum "ef" { + value 46; + description + "Match packets with EF DSCP"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Ipv4 acl dscp number"; + } + + typedef Ipv4-acl-status-enum { + type enumeration { + enum "disabled" { + value 0; + description + "Disabled"; + } + enum "enabled" { + value 1; + description + "Enabled"; + } + } + description + "Ipv4 acl status enum"; + } + + typedef Ipv4-acl-icmp-code-range { + type uint32 { + range "0..255"; + } + description + "Ipv4 acl icmp code range"; + } + + typedef Ipv4-acl-qos-group-number { + type uint32 { + range "0..512"; + } + description + "Ipv4 acl qos group number"; + } + + typedef Ipv4-acl-sequence-number-range-acl { + type uint32 { + range "1..2147483643"; + } + description + "Ipv4 acl sequence number range acl"; + } + + typedef Ipv4-acl-log-threshold-range { + type uint32 { + range "1..2147483647"; + } + description + "Ipv4 acl log threshold range"; + } + + typedef Ipv4-acl-icmp-type-code-enum { + type enumeration { + enum "echo-reply" { + value 65535; + description + "Echo reply"; + } + enum "network-unreachable" { + value 196608; + description + "Network unreachable"; + } + enum "host-unreachable" { + value 196609; + description + "Host unreachable"; + } + enum "protocol-unreachable" { + value 196610; + description + "Protocol unreachable"; + } + enum "port-unreachable" { + value 196611; + description + "Port unreachable"; + } + enum "packet-too-big" { + value 196612; + description + "Fragmentation needed and DF set"; + } + enum "source-route-failed" { + value 196613; + description + "Source route failed"; + } + enum "network-unknown" { + value 196614; + description + "Network unknown"; + } + enum "host-unknown" { + value 196615; + description + "Host unknown"; + } + enum "host-isolated" { + value 196616; + description + "Host isolated"; + } + enum "dod-net-prohibited" { + value 196617; + description + "Network prohibited"; + } + enum "dod-host-prohibited" { + value 196618; + description + "Host prohibited"; + } + enum "host-tos-unreachable" { + value 196619; + description + "Host unreachable for TOS"; + } + enum "net-tos-unreachable" { + value 196620; + description + "Network unreachable for TOS"; + } + enum "administratively-prohibited" { + value 196621; + description + "Administratively prohibited"; + } + enum "host-precedence-unreachable" { + value 196622; + description + "Host unreachable for precedence"; + } + enum "precedence-unreachable" { + value 196623; + description + "Precedence cutoff"; + } + enum "unreachable" { + value 262143; + description + "All unreachables"; + } + enum "source-quench" { + value 327679; + description + "Source quenches"; + } + enum "network-redirect" { + value 327680; + description + "Network redirect"; + } + enum "host-redirect" { + value 327681; + description + "Host redirect"; + } + enum "net-tos-redirect" { + value 327682; + description + "Network redirect for TOS"; + } + enum "host-tos-redirect" { + value 327683; + description + "Host redirect for TOS"; + } + enum "redirect" { + value 393215; + description + "All redirects"; + } + enum "alternate-address" { + value 458751; + description + "Alternate address"; + } + enum "echo" { + value 589823; + description + "Echo (ping)"; + } + enum "router-advertisement" { + value 655359; + description + "Router discovery advertisements"; + } + enum "router-solicitation" { + value 720895; + description + "Router discovery solicitations"; + } + enum "ttl-exceeded" { + value 720896; + description + "TTL exceeded"; + } + enum "reassembly-timeout" { + value 720897; + description + "Reassembly timeout"; + } + enum "time-exceeded" { + value 786431; + description + "All time exceeds"; + } + enum "general-parameter-problem" { + value 786432; + description + "Parameter problem"; + } + enum "option-missing" { + value 786433; + description + "Parameter required but not present"; + } + enum "no-room-for-option" { + value 786434; + description + "Parameter required but no room"; + } + enum "parameter-problem" { + value 851967; + description + "All parameter problems"; + } + enum "timestamp-request" { + value 917503; + description + "Timestamp requests"; + } + enum "timestamp-reply" { + value 983039; + description + "Timestamp replies"; + } + enum "information-request" { + value 1048575; + description + "Information request"; + } + enum "information-reply" { + value 1114111; + description + "Information replies"; + } + enum "mask-request" { + value 1179647; + description + "Mask requests"; + } + enum "mask-reply" { + value 1245183; + description + "Mask replies"; + } + enum "traceroute" { + value 2031615; + description + "Traceroute"; + } + enum "conversion-error" { + value 2097151; + description + "Datagram conversion"; + } + enum "mobile-redirect" { + value 2162687; + description + "Mobile host redirect"; + } + } + description + "Ipv4 acl icmp type code enum"; + } + + typedef Ipv4-acl-sequence-number-range { + type uint32 { + range "1..2147483646"; + } + description + "Ipv4 acl sequence number range"; + } + + typedef Ipv4-acl-frag-flags { + type union { + type enumeration { + enum "dont-fragment" { + value 1; + description + "Match don't fragment flag"; + } + enum "is-fragment" { + value 2; + description + "Match is fragment flag"; + } + enum "first-fragment" { + value 4; + description + "Match first fragment flag"; + } + enum "last-fragment" { + value 8; + description + "Match last fragment flag"; + } + enum "dont-fragment-is-fragment" { + value 3; + description + "Match don't fragment and is fragment flag"; + } + enum "dont-fragment-first-fragment" { + value 5; + description + "Match don't fragment and first fragment flag"; + } + enum "dont-fragment-last-fragment" { + value 9; + description + "Match don't fragment and last fragment flag"; + } + } + type uint32 { + range "1..9"; + } + } + description + "Ipv4 acl frag flags"; + } + + typedef Ipv4-acl-tcp-bits-number { + type union { + type enumeration { + enum "established" { + value 20; + description + "Match established connections (0x14)"; + } + enum "ack" { + value 16; + description + "Match on the ACK bit (0x10)"; + } + enum "rst" { + value 4; + description + "Match on the RST bit (0x04)"; + } + enum "fin" { + value 1; + description + "Match on the FIN bit (0x01)"; + } + enum "psh" { + value 8; + description + "Match on the PSH bit (0x08)"; + } + enum "syn" { + value 2; + description + "Match on the SYN bit (0x02)"; + } + enum "urg" { + value 32; + description + "Match on the URG bit (0x20)"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Ipv4 acl tcp bits number"; + } + + typedef Ipv4-acl-icmp-type-range { + type uint32 { + range "0..255"; + } + description + "Ipv4 acl icmp type range"; + } + + typedef Ipv4-acl-logging-enum { + type enumeration { + enum "log" { + value 1; + description + "Log matches against this entry"; + } + enum "log-input" { + value 2; + description + "Log matches against this entry, including input + interface"; + } + } + description + "Ipv4 acl logging enum"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang new file mode 100644 index 0000000..47a3951 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper-sub1.yang @@ -0,0 +1,789 @@ +submodule Cisco-IOS-XR-ipv4-acl-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-acl-oper { + prefix Cisco-IOS-XR-ipv4-acl-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-acl package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Acl-frag-offset-operator { + type Acl-port-operator; + description + "Acl frag offset operator"; + } + + typedef Bag-acl-nh-at-status { + type enumeration { + enum "unknown" { + description + "AT State Unknown"; + } + enum "up" { + description + "AT State UP"; + } + enum "down" { + description + "AT State DOWN"; + } + enum "not-present" { + description + "AT State Not Present"; + } + enum "max" { + description + "invalid status"; + } + } + description + "Bag acl nh at status"; + } + + typedef Bag-acl-nh-status { + type enumeration { + enum "not-present" { + description + "State Not Present"; + } + enum "unknown" { + description + "State Unknown"; + } + enum "down" { + description + "State DOWN"; + } + enum "up" { + description + "State UP"; + } + enum "max" { + description + "invalid status"; + } + } + description + "Bag acl nh status"; + } + + typedef Bag-acl-nh { + type enumeration { + enum "nexthop-none" { + description + "Next Hop None"; + } + enum "nexthop-default" { + description + "Nexthop Default"; + } + enum "nexthop" { + description + "Nexthop"; + } + } + description + "Bag acl nh"; + } + + typedef Acl-ttl-operator { + type Acl-port-operator; + description + "Acl ttl operator"; + } + + typedef Acl-plen-operator { + type Acl-port-operator; + description + "Acl plen operator"; + } + + typedef Acl-tcpflags-operator { + type enumeration { + enum "match-none" { + description + "Match None"; + } + enum "match-all" { + description + "Match All"; + } + enum "match-any-old" { + description + "Match any old"; + } + enum "match-any" { + description + "Match any"; + } + } + description + "Acl tcpflags operator"; + } + + typedef Acl-log { + type enumeration { + enum "log-none" { + value 0; + description + "Log None"; + } + enum "log" { + value 1; + description + "Log Regular"; + } + enum "log-input" { + value 2; + description + "Log Input"; + } + } + description + "Acl log"; + } + + typedef Acl-port-operator { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "eq" { + value 1; + description + "Equal"; + } + enum "gt" { + value 2; + description + "Greater than"; + } + enum "lt" { + value 3; + description + "Less than"; + } + enum "neq" { + value 4; + description + "Not Equal"; + } + enum "range" { + value 5; + description + "Range"; + } + enum "onebyte" { + value 8; + description + "One Byte"; + } + enum "twobytes" { + value 9; + description + "Two Bytes"; + } + } + description + "Acl port operator"; + } + + typedef Acl-action { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + enum "encrypt" { + value 2; + description + "Encrypt"; + } + enum "bypass" { + value 3; + description + "Bypass"; + } + enum "fallthrough" { + value 4; + description + "Fallthrough"; + } + enum "invalid" { + value 5; + description + "Invalid"; + } + } + description + "Acl action"; + } + + typedef Acl-ace1 { + type enumeration { + enum "normal" { + description + "This is Normal ACE"; + } + enum "remark" { + description + "This is Remark ACE"; + } + enum "abf" { + description + "This is ABF ACE"; + } + } + description + "ACE Types"; + } + + typedef Acl-ace { + type Acl-ace1; + description + "ACE Types"; + } + + grouping IPV4-ACL-EDM-OOR-DETAIL { + description + "Oor deatil config BAG"; + leaf default-max-ac-ls { + type uint32; + description + "default max configurable acls"; + } + leaf default-max-ac-es { + type uint32; + description + "default max configurable aces"; + } + leaf current-configured-ac-ls { + type uint32; + description + "Current configured acls"; + } + leaf current-configured-ac-es { + type uint32; + description + "Current configured aces"; + } + leaf current-max-configurable-ac-ls { + type uint32; + description + "Current max configurable acls"; + } + leaf current-max-configurable-ac-es { + type uint32; + description + "Current max configurable aces"; + } + leaf max-configurable-ac-ls { + type uint32; + description + "max configurable acls"; + } + leaf max-configurable-ac-es { + type uint32; + description + "max configurable aces"; + } + } + + grouping IPV4-ACL-BAG-OBJGRP-INFO { + description + "Objgrp info structure"; + leaf obj-grp-name { + type string { + length "0..64"; + } + description + "Object-group name"; + } + leaf obj-grp-type { + type uint32; + description + "Object-group Type"; + } + } + + grouping IPV4-ACL-EDM-OBJGRP { + description + "Objgrp BAG"; + list obj-grp-info { + description + "Object-group info"; + uses IPV4-ACL-BAG-OBJGRP-INFO; + } + } + + grouping ACL-UDF-ACE { + description + "ACL UDF ACE"; + leaf udf-name { + type string { + length "0..17"; + } + description + "UDF Name"; + } + leaf udf-value { + type uint32; + description + "UDF Value"; + } + leaf udf-mask { + type uint32; + description + "UDF Mask"; + } + } + + grouping IPV4-ACL-BAG-HW-NH-INFO { + description + "HW_NH_Info structure"; + leaf next-hop { + type uint32; + description + "The Next Hop"; + } + leaf type { + type Bag-acl-nh; + description + "the next-hop type"; + } + leaf vrf-name { + type string { + length "0..32"; + } + description + "VRF name"; + } + } + + grouping IPV4-ACL-BAG-NH-INFO { + description + "NH_Info structure"; + leaf next-hop { + type inet:ipv4-address; + description + "The next hop"; + } + leaf track-name { + type string; + description + "Track name"; + } + leaf status { + type Bag-acl-nh-status; + description + "The next hop status"; + } + leaf at-status { + type Bag-acl-nh-at-status; + description + "The next hop at status"; + } + leaf is-acl-next-hop-exist { + type boolean; + description + "The nexthop exist"; + } + } + + grouping IPV4-ACL-EDM-ACE { + description + "ACLE bag"; + container hw-next-hop-info { + description + "HW Next hop info"; + uses IPV4-ACL-BAG-HW-NH-INFO; + } + leaf item-type { + type Acl-ace; + description + "ACE type (acl, remark)"; + } + leaf sequence { + type uint32; + description + "ACLE sequence number"; + } + leaf grant { + type Acl-action; + description + "Permit/deny"; + } + leaf protocol-operator { + type uint16; + description + "IPv4 protocol operator"; + } + leaf protocol { + type uint16; + description + "IPv4 protocol type"; + } + leaf protocol2 { + type uint16; + description + "IPv4 protocol 2"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source address"; + } + leaf source-address-mask { + type inet:ipv4-address; + description + "Source mask"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf destination-address-mask { + type inet:ipv4-address; + description + "Destination mask"; + } + leaf source-operator { + type Acl-port-operator; + description + "Source operator"; + } + leaf source-port1 { + type uint16; + description + "Source port 1"; + } + leaf source-port2 { + type uint16; + description + "Source port 2"; + } + leaf sorce-operator { + type Acl-port-operator; + description + "Deprecated by Source operator"; + } + leaf sorce-port1 { + type uint16; + description + "Deprecated by SourcePort1"; + } + leaf sorce-port2 { + type uint16; + description + "Deprecated by SourcePort2"; + } + leaf destination-operator { + type Acl-port-operator; + description + "Destination operator"; + } + leaf destination-port1 { + type uint16; + description + "Destination port 1"; + } + leaf destination-port2 { + type uint16; + description + "Destination port 2"; + } + leaf log-option { + type Acl-log; + description + "Log option"; + } + leaf counter-name { + type string; + description + "Counter name"; + } + leaf capture { + type boolean; + description + "Capture option, TRUE if enabled"; + } + leaf dscp-present { + type boolean; + description + "DSCP present"; + } + leaf dscp { + type uint8; + description + "DSCP or DSCP range start"; + } + leaf dscp2 { + type uint8; + description + "DSCP Range End"; + } + leaf dscp-operator { + type uint8; + description + "DSCP Operator"; + } + leaf precedence-present { + type boolean; + description + "Precedence present"; + } + leaf precedence { + type uint8; + description + "Precedence"; + } + leaf tcp-flags-operator { + type Acl-tcpflags-operator; + description + "TCP flags operator"; + } + leaf tcp-flags { + type uint8; + description + "TCP flags"; + } + leaf tcp-flags-mask { + type uint8; + description + "TCP flags mask"; + } + leaf fragments { + type uint8; + description + "Fragments"; + } + leaf packet-length-operator { + type Acl-plen-operator; + description + "Packet length operator"; + } + leaf packet-length1 { + type uint16; + description + "Packet length 1"; + } + leaf packet-length2 { + type uint16; + description + "Packet length 2"; + } + leaf ttl-operator { + type Acl-ttl-operator; + description + "TTL operator"; + } + leaf ttl1 { + type uint16; + description + "TTL 1"; + } + leaf ttl2 { + type uint16; + description + "TTL 2"; + } + leaf no-stats { + type boolean; + description + "No stats"; + } + leaf hits { + type uint64; + description + "Number of hits"; + } + leaf is-icmp-off { + type boolean; + description + "True if ICMP off"; + } + leaf qos-group { + type uint16; + description + "Qos group number"; + } + leaf next-hop-type { + type Bag-acl-nh; + description + "Next hop type"; + } + leaf remark { + type string; + description + "Remark String"; + } + leaf dynamic { + type boolean; + description + "Is dynamic ACE"; + } + leaf source-prefix-group { + type string; + description + "Source prefix object-group"; + } + leaf destination-prefix-group { + type string; + description + "Destination prefix object-group"; + } + leaf source-port-group { + type string; + description + "Source port object-group"; + } + leaf destination-port-group { + type string; + description + "Destination port object-group"; + } + leaf acl-name { + type string; + description + "ACL Name"; + } + leaf sequence-str { + type string; + description + "Sequence String"; + } + leaf fragment-offset-operator { + type Acl-frag-offset-operator; + description + "Fragment offset operator"; + } + leaf fragment-offset1 { + type uint16; + description + "Fragment offset 1"; + } + leaf fragment-offset2 { + type uint16; + description + "Fragment offset 2"; + } + leaf set-ttl { + type uint16; + description + "SET TTL"; + } + leaf fragment-flags { + type uint8; + description + "Fragment flags"; + } + list next-hop-info { + max-elements "3"; + description + "Next hop info"; + uses IPV4-ACL-BAG-NH-INFO; + } + list udf { + description + "UDF BAG"; + uses ACL-UDF-ACE; + } + } + + grouping IPV4-PFX-EDM-ACE { + description + "Prefix list entry BAG"; + leaf item-type { + type Acl-ace; + description + "ACE type (prefix, remark)"; + } + leaf sequence { + type uint32; + description + "ACLE sequence number"; + } + leaf grant { + type Acl-action; + description + "Grant value permit/deny "; + } + leaf prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf prefix-length { + type uint32; + description + "Prefix length "; + } + leaf operator { + type Acl-port-operator; + description + "Port Operator"; + } + leaf minimum-length { + type uint32; + description + "Min length"; + } + leaf maximum-length { + type uint32; + description + "Maximum length"; + } + leaf hits { + type uint32; + description + "Number of hits"; + } + leaf remark { + type string; + description + "Remark String"; + } + leaf acl-name { + type string; + description + "ACL Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper.yang new file mode 100644 index 0000000..735db21 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-acl-oper.yang @@ -0,0 +1,215 @@ +module Cisco-IOS-XR-ipv4-acl-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper"; + prefix ipv4-acl-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-common-acl-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ipv4-acl-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-acl package operational data. + + This module contains definitions + for the following management objects: + ipv4-acl-and-prefix-list: Root class of IPv4 Oper schema tree + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv4-acl-and-prefix-list { + config false; + description + "Root class of IPv4 Oper schema tree"; + container access-list-manager { + description + "Access list manager containing access lists and + prefix lists"; + container prefixes { + description + "Table of prefix lists"; + list prefix { + key "prefix-list-name"; + description + "Name of the prefix list"; + container prefix-list-sequences { + description + "Table of all the SequenceNumbers per prefix + list"; + list prefix-list-sequence { + key "sequence-number"; + description + "Sequence Number of a prefix list entry"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "Sequence Number of the prefix list entry"; + } + uses IPV4-PFX-EDM-ACE; + } + } + leaf prefix-list-name { + type string; + description + "Name of the prefix list"; + } + } + } + container accesses { + description + "Access listL class displaying Usage and Entries"; + list access { + key "access-list-name"; + description + "Name of the Access List"; + container access-list-sequences { + description + "Table of all the SequenceNumbers per access + list"; + list access-list-sequence { + key "sequence-number"; + description + "Sequence Number of an access list entry"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "ACLEntry Sequence Number"; + } + uses IPV4-ACL-EDM-ACE; + } + } + container object-group { + description + "Object Group in an Access list"; + uses IPV4-ACL-EDM-OBJGRP; + } + leaf access-list-name { + type string; + description + "Name of the Access List"; + } + } + } + container usages { + description + "Table of Usage statistics of access lists at + different nodes"; + list usage { + description + "Usage statistics of an access list at a node"; + leaf node-name { + type xr:Node-id; + description + "Node where access list is applied"; + } + leaf application-id { + type dt1:Acl-usage-app-id-enum; + description + "Application ID"; + } + leaf access-list-name { + type string; + description + "Name of the access list"; + } + leaf usage-details { + type string; + mandatory true; + description + "Usage Statistics Details"; + } + } + } + } + container oor { + description + "Out Of Resources, Limits to the resources + allocatable"; + container details { + description + "Details of the Overall Out Of Resources Limits"; + uses IPV4-ACL-EDM-OOR-DETAIL; + } + container oor-prefixes { + description + "Resource occupation details for prefix lists"; + list oor-prefix { + key "prefix-list-name"; + description + "Resource occupation details for a particular + prefix list"; + leaf prefix-list-name { + type string; + description + "Name of a prefix list"; + } + uses IPV4-ACL-EDM-OOR-DETAIL; + } + } + container oor-accesses { + description + "Resource occupation details for access lists"; + list oor-access { + key "access-list-name"; + description + "Resource occupation details for a particular + access list"; + leaf access-list-name { + type string; + description + "Name of the Access List"; + } + uses IPV4-ACL-EDM-OOR-DETAIL; + } + } + container access-list-summary { + description + "Resource limits pertaining to access lists only"; + container details { + description + "Details containing the resource limits of the + access lists"; + uses IPV4-ACL-EDM-OOR-DETAIL; + } + } + container prefix-list-summary { + description + "Summary of the prefix Lists resource + utilization"; + container details { + description + "Summary Detail of the prefix list Resource + Utilisation"; + uses IPV4-ACL-EDM-OOR-DETAIL; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-cfg.yang new file mode 100644 index 0000000..a9e327b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-cfg.yang @@ -0,0 +1,433 @@ +module Cisco-IOS-XR-ipv4-arp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg"; + prefix ipv4-arp-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-arp package configuration. + + This module contains definitions + for the following management objects: + arp: ARP configuraiton + iedge-cfg: iedge cfg + arpgmp: arpgmp + arp-redundancy: arp redundancy + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Arp-entry { + type enumeration { + enum "static" { + value 0; + description + "Static ARP entry type"; + } + enum "alias" { + value 1; + description + "Alias ARP entry type"; + } + } + description + "Arp entry"; + } + + typedef Arp-encap { + type enumeration { + enum "arpa" { + value 1; + description + "Encapsulation type ARPA"; + } + enum "srp" { + value 4; + description + "Encapsulation type SRP"; + } + enum "srpa" { + value 5; + description + "Encapsulation type SRPA"; + } + enum "srpb" { + value 6; + description + "Encapsulation type SRPB"; + } + } + description + "Arp encap"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container dagrs { + description + "Direct-Attached Gateway Redundancy configuration"; + list dagr { + key "ip-addr"; + description + "The DAGR entry being configured"; + container sub { + description + "DAGR Submode configuration"; + container metric { + description + "Set Route Metric"; + leaf metric-norm { + type uint32 { + range "0..256"; + } + default "100"; + description + "Normal Route Metric"; + } + leaf metric-prio { + type uint32 { + range "0..256"; + } + default "90"; + description + "Priority Route Metric"; + } + } + container timers { + description + "Set Query Timers"; + leaf query-time { + type uint32 { + range "1..10000"; + } + default "1"; + description + "Query Timeout"; + } + leaf sby-time { + type uint32 { + range "1..10000"; + } + default "20"; + description + "Standby Query Timeout"; + } + } + container distance { + description + "Set Route Distance"; + leaf dist-norm { + type uint32 { + range "0..256"; + } + default "150"; + description + "Normal Route Distance"; + } + leaf dist-prio { + type uint32 { + range "0..256"; + } + default "5"; + description + "Priority Route Distance"; + } + } + leaf priority-timeout { + type uint32 { + range "1..10000"; + } + default "20"; + description + "Priority Timeout value"; + } + } + leaf enter { + type empty; + description + "DAGR Group Enter item"; + } + leaf ip-addr { + type inet:ipv4-address-no-zone; + description + "DAGR Peer IPv4 address"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv4arp { + description + "Configure Address Resolution Protocol"; + leaf learning-local { + type empty; + description + "Enable the dynamic learning of ARP entries(for + local subnet) on the interface"; + } + leaf learning-solicited { + type empty; + description + "ARP learning solicited configuration"; + } + leaf gratuitous-ignore { + type empty; + description + "Ignore the receipt of Gratuitous ARP packets on + the interface"; + } + leaf proxy-arp { + type empty; + description + "Proxy ARP configuration"; + } + leaf purge-delay { + type uint32 { + range "1..65535"; + } + description + "Time to delay purging arp entries when the + interface goes down"; + } + leaf learning-disable { + type empty; + description + "Disable the dynamic learning of ARP entries on + the interface"; + } + leaf local-proxy-arp { + type empty; + description + "Local Proxy ARP configuration"; + } + leaf timeout { + type uint32 { + range "30..2144448000"; + } + units "second"; + description + "Number of seconds for ARP cache timeout"; + } + } + } + container arp { + description + "ARP configuraiton"; + leaf max-entries { + type uint32 { + range "1..256000"; + } + description + "Configure maximum number of safe ARP entries per + line card"; + } + leaf inner-cos { + type uint32 { + range "0..7"; + } + description + "Configure inner cos values for arp packets"; + } + leaf outer-cos { + type uint32 { + range "0..7"; + } + description + "Configure outer cos values for arp packets"; + } + } + container iedge-cfg { + description + "iedge cfg"; + leaf subscriber-uncond-proxy { + type empty; + description + "ARP Subscriber Enable Unconditional Proxy ARP"; + } + leaf subscriber-scale-mode { + type empty; + description + "ARP Subscriber Scale Mode Configuration"; + } + } + container arpgmp { + description + "arpgmp"; + list vrf { + key "vrf-name"; + description + "Per VRF configuration, for the default VRF use + 'default'"; + container entries { + description + "ARP static and alias entry configuration"; + list entry { + key "address"; + description + "ARP static and alias entry configuration item"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP Address"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + leaf encapsulation { + type Arp-encap; + description + "Encapsulation type"; + } + leaf entry-type { + type Arp-entry; + description + "Entry type"; + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container arp-redundancy { + description + "arp redundancy"; + container redundancy { + presence "Indicates a redundancy node is configured."; + description + "Configure parameter for ARP Geo redundancy"; + container groups { + description + "Table of Group"; + list group { + key "group-id"; + description + "None"; + container peers { + description + "Table of Peer"; + list peer { + key "prefix-string"; + description + "None"; + leaf prefix-string { + type inet:ip-address-no-zone; + description + "Neighbor IPv4 address"; + } + } + } + container interface-list { + presence "Indicates a interface-list node is configured."; + description + "List of Interfaces for this Group"; + container interfaces { + description + "Table of Interface"; + list interface { + key "interface-name"; + description + "Interface for this Group"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-id { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Interface Id for the interface"; + } + } + } + leaf enable { + type empty; + mandatory true; + description + "Enable List of Interfaces for this Group. + Deletion of this object also causes deletion + of all associated objects under + InterfaceList."; + } + } + leaf source-interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf group-id { + type uint32 { + range "1..32"; + } + description + "Group ID"; + } + } + } + leaf enable { + type empty; + mandatory true; + description + "Enable Configure parameter for ARP Geo + redundancy. Deletion of this object also causes + deletion of all associated objects under + ArpRedundancy."; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang new file mode 100644 index 0000000..5d53961 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub1.yang @@ -0,0 +1,609 @@ +submodule Cisco-IOS-XR-ipv4-arp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-arp-oper { + prefix Cisco-IOS-XR-ipv4-arp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-arp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ip-arp-bag-encap { + type enumeration { + enum "none" { + value 0; + description + "No encapsulation"; + } + enum "arpa" { + value 1; + description + "ARPA"; + } + enum "snap" { + value 2; + description + "SNAP"; + } + enum "ieee802-1q" { + value 3; + description + "802 1Q"; + } + enum "srp" { + value 4; + description + "SRP"; + } + enum "srpa" { + value 5; + description + "SRPA"; + } + enum "srpb" { + value 6; + description + "SRPB"; + } + } + description + "ARP encapsulation"; + } + + typedef Ip-arp-bag-flags { + type enumeration { + enum "flag-none" { + value 0; + description + "No Flag"; + } + enum "flag-dynamic" { + value 1; + description + "Dynamic learnt entry"; + } + enum "flag-evpn-sync" { + value 2; + description + "EVPN Synced entry"; + } + enum "flag-max" { + value 3; + description + "Maximum Flag number"; + } + } + description + "ARP flags"; + } + + typedef Ip-arp-bag-state { + type enumeration { + enum "state-none" { + value 0; + description + "No state"; + } + enum "state-interface" { + value 1; + description + "Interface"; + } + enum "state-standby" { + value 2; + description + "Standby"; + } + enum "state-static" { + value 3; + description + "Static"; + } + enum "state-alias" { + value 4; + description + "Alias"; + } + enum "state-mobile" { + value 5; + description + "Mobile"; + } + enum "state-incomplete" { + value 6; + description + "Incomplete"; + } + enum "state-deleted" { + value 7; + description + "Deleted"; + } + enum "state-dynamic" { + value 8; + description + "Dynamic"; + } + enum "state-probe" { + value 9; + description + "Probe"; + } + enum "state-purge-delayed" { + value 10; + description + "Purge delayed"; + } + enum "state-dhcp" { + value 11; + description + "DHCP installed"; + } + enum "state-vxlan" { + value 12; + description + "VXLAN installed"; + } + enum "state-evpn-sync" { + value 13; + description + "EVPN-SYNC installed"; + } + enum "state-sat" { + value 14; + description + "Satellite installed"; + } + enum "state-r-sync" { + value 15; + description + "Geo-redundancy sync'ed"; + } + enum "state-max" { + value 16; + description + "Maximum state number"; + } + } + description + "ARP state"; + } + + typedef Ip-arp-bag-media { + type enumeration { + enum "media-arpa" { + value 0; + description + "ARPA"; + } + enum "media-srp" { + value 1; + description + "SRP"; + } + enum "media-unknown" { + value 2; + description + "Unknown"; + } + } + description + "ARP media type"; + } + + typedef Arp-resolution-history-status { + type enumeration { + enum "status-none" { + value 0; + description + "No Status"; + } + enum "status-resolution-request" { + value 1; + description + "Resolution Request Received"; + } + enum "status-resolved-reply" { + value 2; + description + "Resolved with ARP reply"; + } + enum "status-resolved-grat-arp" { + value 3; + description + "Resolved with Grat ARP"; + } + enum "status-resolved-request" { + value 4; + description + "Resolved with ARP Request"; + } + enum "status-resolved-lc-sync" { + value 5; + description + "Resolved via a Linecard sync"; + } + enum "status-resolved-lc-sync-purge-delay" { + value 6; + description + "Resolved via a Linecard sync while purge + delayed"; + } + enum "status-resolved-client" { + value 7; + description + "Resolved from an ARP API client"; + } + enum "status-removed-client" { + value 8; + description + "Removed by an ARP API client"; + } + enum "status-already-resolved" { + value 9; + description + "Already Resolved"; + } + enum "status-failed" { + value 10; + description + "Resolution Failed"; + } + enum "status-dropped-interface-down" { + value 11; + description + "Dropped because the Interface was down"; + } + enum "status-dropped-broadcast-disabled" { + value 12; + description + "Dropped because the Interface was broadcast + disabled"; + } + enum "status-dropped-interface-unavailable" { + value 13; + description + "Dropped because the Interface was unavailable + to arp"; + } + enum "status-dropped-bad-subnet" { + value 14; + description + "The requested IP address didn't belong to the + subnet"; + } + enum "status-dropped-dynamic-learning-disabled" { + value 15; + description + "Dynamic learning of ARP entries is disabled on + the interface"; + } + enum "status-dropped-out-of-subnet-disabled" { + value 16; + description + "Out of Subnet address learning is disabled on + the interface"; + } + enum "status-removed-client-sweep" { + value 17; + description + "Removed by an ARP API client during a resync"; + } + enum "status-added-client" { + value 18; + description + "Added by an ARP API client"; + } + enum "status-added-v1" { + value 19; + description + "Added by replication from ARP V1 during ISSU"; + } + enum "status-removed-v1" { + value 20; + description + "Removed by replication from ARP V1 during ISSU"; + } + enum "status-resolved-peer-sync" { + value 21; + description + "Resolved via a Peer Router sync"; + } + enum "status-dropped-unsolicited-pak" { + value 22; + description + "Learning unsolicited ARP packets is disabled on + this Interface"; + } + } + description + "Arp resolution history status"; + } + + grouping IP-ARP-TABLE-ENTRY { + description + "IP ARP Table entry"; + leaf media-type { + type Ip-arp-bag-media; + description + "Media type for this entry"; + } + leaf state { + type Ip-arp-bag-state; + description + "State of this entry"; + } + leaf flag { + type Ip-arp-bag-flags; + description + "Flags of this entry"; + } + leaf age { + type uint64; + description + "Age of this entry"; + } + leaf encapsulation-type { + type Ip-arp-bag-encap; + description + "Source encapsulation type"; + } + leaf hardware-length { + type uint8; + description + "Source hardware length"; + } + leaf hardware-address { + type yang:mac-address; + description + "Hardware address"; + } + } + + grouping IP-ARP-STATISTICS { + description + "IP ARP Statistics information"; + leaf requests-received { + type uint32; + description + "Total ARP requests received"; + } + leaf replies-received { + type uint32; + description + "Total ARP replies received"; + } + leaf requests-sent { + type uint32; + description + "Total ARP requests sent"; + } + leaf replies-sent { + type uint32; + description + "Total ARP replies sent"; + } + leaf proxy-replies-sent { + type uint32; + description + "Total Proxy ARP replies sent"; + } + leaf subscr-requests-received { + type uint32; + description + "Total ARP requests received over subscriber + interface"; + } + leaf subscr-replies-sent { + type uint32; + description + "Total ARP replies sent over subscriber interface"; + } + leaf subscr-replies-gratg-sent { + type uint32; + description + "Total ARP grat replies sent over subscriber + interface"; + } + leaf local-proxy-replies-sent { + type uint32; + description + "Total Local Proxy ARP replies sent"; + } + leaf gratuitous-replies-sent { + type uint32; + description + "Total Gratuituous ARP replies sent"; + } + leaf resolution-requests-received { + type uint32; + description + "Total ARP resolution requests received"; + } + leaf resolution-replies-received { + type uint32; + description + "Total ARP resolution replies received"; + } + leaf resolution-requests-dropped { + type uint32; + description + "total ARP resolution requests dropped"; + } + leaf out-of-memory-errors { + type uint32; + description + "Total errors for out of memory"; + } + leaf no-buffer-errors { + type uint32; + description + "Total errors for no buffer"; + } + leaf total-entries { + type uint32; + description + "Total ARP entries in the cache"; + } + leaf dynamic-entries { + type uint32; + description + "Total dynamic entries in the cache"; + } + leaf static-entries { + type uint32; + description + "Total static entries in the cache"; + } + leaf alias-entries { + type uint32; + description + "Total alias entries in the cache"; + } + leaf interface-entries { + type uint32; + description + "Total interface entries in the cache"; + } + leaf standby-entries { + type uint32; + description + "Total standby entries in the cache"; + } + leaf dhcp-entries { + type uint32; + description + "Total DHCP entries in the cache"; + } + leaf vxlan-entries { + type uint32; + description + "Total VXLAN entries in the cache"; + } + leaf ip-packets-dropped-node { + type uint32; + description + "Total ip packets droped on this node"; + } + leaf arp-packet-node-out-of-subnet { + type uint32; + description + "Total ARP packets on node due to out of subnet"; + } + leaf ip-packets-dropped-interface { + type uint32; + description + "Total ip packets droped on this interface"; + } + leaf arp-packet-interface-out-of-subnet { + type uint32; + description + "Total arp packets on interface due to out of + subnet"; + } + leaf arp-packet-unsolicited-packet { + type uint32; + description + "Total unsolicited arp packets dropped"; + } + leaf idb-structures { + type uint32; + description + "Total idb structures on this node"; + } + } + + grouping ARP-RESHIST-ENTRY { + description + "ARP resolution history entry"; + leaf nsec-timestamp { + type uint64; + units "nanosecond"; + description + "Timestamp for entry in nanoseconds since Epoch, + i.e. since 00:00:00 UTC, January 1, 1970"; + } + leaf idb-interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf status { + type Arp-resolution-history-status; + description + "Resolution status"; + } + leaf client-id { + type int32; + description + "Resolving Client ID"; + } + leaf entry-state { + type int32; + description + "ARP entry state"; + } + leaf resolution-request-count { + type uint32; + description + "Resolution Request count"; + } + } + + grouping ARP-RESHIST { + description + "ARP Resolution History"; + list arp-entry { + description + "Resolution history array"; + uses ARP-RESHIST-ENTRY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang new file mode 100644 index 0000000..799ac76 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper-sub2.yang @@ -0,0 +1,212 @@ +submodule Cisco-IOS-XR-ipv4-arp-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-arp-oper { + prefix Cisco-IOS-XR-ipv4-arp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-arp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Arp-gmp-bag-entry { + type enumeration { + enum "null" { + value 0; + description + "No state"; + } + enum "static" { + value 1; + description + "Static"; + } + enum "alias" { + value 2; + description + "Alias"; + } + } + description + "ARP Entry type"; + } + + typedef Arp-gmp-bag-encap { + type enumeration { + enum "none" { + value 0; + description + "No encapsulation"; + } + enum "arpa" { + value 1; + description + "ARPA"; + } + enum "snap" { + value 2; + description + "SNAP"; + } + enum "ieee802-1q" { + value 3; + description + "802 1Q"; + } + enum "srp" { + value 4; + description + "SRP"; + } + enum "srpa" { + value 5; + description + "SRPA"; + } + enum "srpb" { + value 6; + description + "SRPB"; + } + } + description + "ARP encapsulation"; + } + + grouping ARP-GMP-INTF-ENTRY { + description + "ARP GMP entries associated with an interface"; + container associated-configuration-entry { + description + "Associated configuration entry"; + uses ARP-GMP-CONFIG-ENTRY; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface name"; + } + leaf reference-count { + type uint32; + description + "Route reference count"; + } + } + + grouping ARP-GMP-ROUTE-ENTRY { + description + "ARP GMP route entry"; + leaf ip-address { + type inet:ipv4-address; + description + "IP address"; + } + leaf prefix-length-xr { + type uint8; + description + "IP address length"; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface name (first element of InterfaceNames + array)"; + } + leaf-list interface-name { + type xr:Interface-name; + description + "Interface names"; + } + } + + grouping ARP-GMP-CONFIG-ENTRY { + description + "ARP GMP configuration entry"; + leaf ip-address { + type inet:ipv4-address; + description + "IP address"; + } + leaf hardware-address { + type yang:mac-address; + description + "Hardware address "; + } + leaf encapsulation-type { + type Arp-gmp-bag-encap; + description + "Encap type"; + } + leaf entry-type { + type Arp-gmp-bag-entry; + description + "Entry type static/alias"; + } + } + + grouping ARP-GMP-VRF-ENTRY { + description + "ARP GMP VRF entry"; + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + leaf vrf-id-number { + type uint32; + description + "VRF ID"; + } + leaf table-id { + type uint32; + description + "IPv4 unicast table ID"; + } + leaf rsi-handle { + type uint32; + description + "RSI registration handle"; + } + leaf rsi-handle-high { + type uint32; + description + "RSI registration handle (top 32-bits)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper.yang new file mode 100644 index 0000000..1c2556e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-arp-oper.yang @@ -0,0 +1,233 @@ +module Cisco-IOS-XR-ipv4-arp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-oper"; + prefix ipv4-arp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-arp-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-ipv4-arp-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-arp package operational data. + + This module contains definitions + for the following management objects: + arp-gmp: ARP-GMP global operational data + arp: arp + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container arp-gmp { + config false; + description + "ARP-GMP global operational data"; + container vrf-infos { + description + "Table of VRF related ARP-GMP operational data"; + list vrf-info { + key "vrf-name"; + description + "VRF related ARP-GMP operational data"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name for the default VRF use 'default'"; + } + uses ARP-GMP-VRF-ENTRY; + } + } + container vrfs { + description + "Table of per VRF ARP-GMP operational data"; + list vrf { + key "vrf-name"; + description + "Per VRF ARP-GMP operational data"; + container configured-ip-addresses { + description + "Table of ARP-GMP configured IP addresses + information"; + list configured-ip-address { + key "address"; + description + "ARP-GMP configured IP address information"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Configured ARP-GMP IP"; + } + uses ARP-GMP-CONFIG-ENTRY; + } + } + container routes { + description + "Table of ARP GMP route information"; + list route { + description + "ARP GMP route information"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP address"; + } + leaf prefix-length { + type uint32 { + range "0..32"; + } + description + "Prefix length"; + } + uses ARP-GMP-ROUTE-ENTRY; + } + } + container interface-configured-ips { + description + "Table of ARP GMP interface and associated + configured IP data"; + list interface-configured-ip { + description + "ARP GMP interface and associated configured + IP data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Configured ARP-GMP IP"; + } + uses ARP-GMP-INTF-ENTRY; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name for the default VRF use 'default'"; + } + } + } + } + container arp { + config false; + description + "arp"; + container nodes { + description + "Table of per-node ARP operational data"; + list node { + key "node-name"; + description + "Per-node ARP operational data"; + container resolution-history-dynamic { + description + "Per node dynamically-resolved ARP resolution + history data"; + uses ARP-RESHIST; + } + container traffic-vrfs { + description + "ARP Traffic information per VRF"; + list traffic-vrf { + key "vrf-name"; + description + "Per VRF traffic data"; + leaf vrf-name { + type string; + description + "VRF name"; + } + uses IP-ARP-STATISTICS; + } + } + container traffic-node { + description + "Per node ARP Traffic data"; + uses IP-ARP-STATISTICS; + } + container resolution-history-client { + description + "Per node client-installed ARP resolution + history data"; + uses ARP-RESHIST; + } + container entries { + description + "Table of ARP entries"; + list entry { + key "address interface-name"; + description + "ARP entry"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP Address of ARP entry"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses IP-ARP-TABLE-ENTRY; + } + } + container traffic-interfaces { + description + "ARP Traffic information per interface"; + list traffic-interface { + key "interface-name"; + description + "Per interface traffic data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses IP-ARP-STATISTICS; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-datatypes.yang new file mode 100644 index 0000000..2b03f70 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-datatypes.yang @@ -0,0 +1,45 @@ +module Cisco-IOS-XR-ipv4-autorp-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-datatypes"; + prefix ipv4-autorp-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Auto-rp-protocol-mode { + type enumeration { + enum "sparse" { + value 0; + description + "Sparse Mode"; + } + enum "bidirectional" { + value 1; + description + "Bidirectional Mode"; + } + } + description + "Auto rp protocol mode"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang new file mode 100644 index 0000000..19167d4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub1.yang @@ -0,0 +1,151 @@ +submodule Cisco-IOS-XR-ipv4-autorp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-autorp-oper { + prefix Cisco-IOS-XR-ipv4-autorp-oper; + } + + import ietf-inet-types { + prefix inet; + } + include Cisco-IOS-XR-ipv4-autorp-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-autorp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping AUTORP-MAP-SUMMARY-BAG { + description + "Auto-RP Mapping Agent summary"; + leaf is-maximum-disabled { + type boolean; + description + "Is maximum enforcement disabled ?"; + } + leaf cache-limit { + type uint32; + description + "Maximum group to RP mapping entries allowed"; + } + leaf cache-count { + type uint32; + description + "Number of group to RP mapping entries in the + cache"; + } + } + + grouping AUTORP-MAP-RANGE-BAG { + description + "MRIB multicast-routing entry-interface"; + leaf prefix { + type inet:ipv4-address; + description + "Prefix of the range"; + } + leaf prefix-length { + type uint8; + description + "Prefix length of the range"; + } + leaf protocol-mode { + type Autorp-protocol-mode; + description + "Protocol Mode"; + } + leaf is-advertised { + type boolean; + description + "Is this entry advertised ?"; + } + leaf create-type { + type uint8; + description + "Source of the entry"; + } + leaf check-point-object-id { + type uint32; + description + "Checkpoint object id"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + } + + grouping AUTORP-MAP-RP-BAG { + description + "Auto-RP Mapping Agent entry"; + leaf rp-address-xr { + type inet:ipv4-address; + description + "Candidate-RP address"; + } + leaf expiry-time { + type uint64; + units "second"; + description + "Time for expiration in seconds"; + } + leaf pim-version { + type uint8; + description + "PIM version of the CRP"; + } + list range { + description + "Array of ranges"; + uses AUTORP-MAP-RANGE-BAG; + } + } + + grouping AUTORP-MAP-TRAFFIC-BAG { + description + "Auto-RP Mapping Agent Traffic Counters"; + leaf active-sent-packets { + type uint32; + description + "Number of packets sent in active role"; + } + leaf standby-sent-packets { + type uint32; + description + "Number of packets dropped in send path in + standby role"; + } + leaf active-received-packets { + type uint32; + description + "Number of packets received in active role"; + } + leaf standby-received-packets { + type uint32; + description + "Number of packets dropped in receive path in + standby role"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang new file mode 100644 index 0000000..8ef20e1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper-sub2.yang @@ -0,0 +1,96 @@ +submodule Cisco-IOS-XR-ipv4-autorp-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-autorp-oper { + prefix Cisco-IOS-XR-ipv4-autorp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-autorp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Autorp-protocol-mode { + type enumeration { + enum "sparse" { + value 0; + description + "sparse"; + } + enum "bidirectional" { + value 1; + description + "bidirectional"; + } + } + description + "Autorp protocol mode"; + } + + grouping AUTORP-CRP-BAG { + description + "Auto-RP Candidate RP entry"; + leaf access-list-name { + type string; + description + "ACL Name"; + } + leaf candidate-rp-address { + type inet:ipv4-address; + description + "Candidate RP IP Address"; + } + leaf ttl { + type int32; + description + "TTL"; + } + leaf announce-period { + type int32; + description + "Announce Period"; + } + leaf protocol-mode-xr { + type Autorp-protocol-mode; + description + "Protocol Mode"; + } + } + + grouping AUTORP-CRP-TRAFFIC-BAG { + description + "Auto-RP Candidate Traffic Counters"; + leaf active-sent-packets { + type uint32; + description + "Number of packets sent in active role"; + } + leaf standby-sent-packets { + type uint32; + description + "Number of packets dropped in send path in + standby role"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper.yang new file mode 100644 index 0000000..81c49b8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-autorp-oper.yang @@ -0,0 +1,133 @@ +module Cisco-IOS-XR-ipv4-autorp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-autorp-oper"; + prefix ipv4-autorp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ipv4-autorp-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ipv4-autorp-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ipv4-autorp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-autorp package operational data. + + This module contains definitions + for the following management objects: + auto-rp: AutoRP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MAPPING-AGENT { + description + "Common node of active, standby"; + container mapping-agent { + description + "AutoRP Mapping Agent Table"; + container traffic { + description + "AutoRP Mapping Agent Traffic Counters"; + uses AUTORP-MAP-TRAFFIC-BAG; + } + container rp-addresses { + description + "AutoRP Mapping Agent Table Entries"; + list rp-address { + key "rp-address"; + description + "AutoRP Mapping Agent Entry"; + leaf rp-address { + type inet:ipv4-address-no-zone; + description + "RP Address"; + } + uses AUTORP-MAP-RP-BAG; + } + } + container summary { + description + "AutoRP Mapping Agent Summary Information"; + uses AUTORP-MAP-SUMMARY-BAG; + } + } + } + + grouping CANDIDATE-RP { + description + "Common node of active, standby"; + container candidate-rp { + description + "AutoRP Candidate RP"; + container traffic { + description + "AutoRP Candidate Traffic Counters"; + uses AUTORP-CRP-TRAFFIC-BAG; + } + container rps { + description + "AutoRP Candidate RP Table"; + list rp { + description + "AutoRP Candidate RP Entry"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf protocol-mode { + type dt1:Auto-rp-protocol-mode; + description + "Protocol Mode"; + } + uses AUTORP-CRP-BAG; + } + } + } + } + + container auto-rp { + config false; + description + "AutoRP operational data"; + container standby { + description + "Standby Process"; + uses CANDIDATE-RP; + uses MAPPING-AGENT; + } + container active { + description + "Active Process"; + uses CANDIDATE-RP; + uses MAPPING-AGENT; + } + } +} diff --git a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-act.yang similarity index 79% rename from yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-act.yang rename to yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-act.yang index 585ba47..dcddf6e 100644 --- a/yang/modules/cisco-ios-xr/631/Cisco-IOS-XR-ipv4-bgp-act.yang +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-act.yang @@ -1,46 +1,47 @@ module Cisco-IOS-XR-ipv4-bgp-act { - namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-act"; + prefix bgp-act; - prefix "bgp-act"; - - import Cisco-IOS-XR-types { prefix "csc"; } - import ietf-inet-types { prefix "inet"; } - - organization "Cisco Systems, Inc."; + import Cisco-IOS-XR-types { + prefix csc; + } + import ietf-inet-types { + prefix inet; + } + organization + "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service - + Postal: 170 West Tasman Drive San Jose, CA 95134 - + Tel: +1 800 553-NETS - + E-mail: cs-yang@cisco.com"; - - description + description "This module contains a collection of YANG definitions for Cisco IOS-XR action package configuration. - + Copyright (c) 2016-2017 by Cisco Systems, Inc. All rights reserved."; - revision "2016-10-12" { + revision 2016-10-12 { description "IOS XR 6.2.1 revision."; } typedef update-group-id { type string { - pattern '(([0-9]|1[0-5])\.\d+)'; + pattern "(([0-9]|1[0-5])\\.\\d+)"; } } typedef refresh-sub-group-id { type string { - pattern '(([0-9]|1[0-5])\.\d+)(:\d+)'; + pattern "(([0-9]|1[0-5])\\.\\d+)(:\\d+)"; } } @@ -63,11 +64,12 @@ module Cisco-IOS-XR-ipv4-bgp-act { } typedef as-number { - description "AS number"; type union { type two-byte-as; type four-byte-as; } + description + "AS number"; } typedef two-byte-as { @@ -85,7 +87,7 @@ module Cisco-IOS-XR-ipv4-bgp-act { typedef as-four-byte { type string { - pattern '(\d+\.\d+)'; + pattern "(\\d+\\.\\d+)"; } } @@ -96,107 +98,109 @@ module Cisco-IOS-XR-ipv4-bgp-act { } typedef rd { - description "Route distinguisher"; type union { type rd-four-byte-as; type rd-two-byte-as; type rd-plain-as; type rd-ipv4-address; } + description + "Route distinguisher"; } typedef rd-four-byte-as { type string { - pattern '(\d+\.\d+:\d+)'; + pattern "(\\d+\\.\\d+:\\d+)"; } } typedef rd-two-byte-as { type string { - pattern '(\d+:\d+)'; + pattern "(\\d+:\\d+)"; } } typedef rd-plain-as { type string { - pattern '(\d+:\d+)'; + pattern "(\\d+:\\d+)"; } } typedef rd-ipv4-address { type string { - pattern - '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}' - + '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])' - + '(:\d+)'; + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(:\\d+)"; } } typedef afi-safi-type { type enumeration { - enum all-all { - description "Both unicast and multicast address family modifiers - of ipv4 and ipv6 address family"; - } - enum all-evpn; - enum all-flowspec; - enum all-labeled-unicast; - enum all-mdt; - enum all-mspw; - enum all-multicast; - enum all-mvpn; - enum all-rt-filter; - enum all-sr-policy; - enum all-tunnel; - enum all-unicast; - enum all-vpls; - enum all-vpws; - enum ipv4-all { - description "Both unicast and multicast address family modifiers"; - } - enum ipv4-flowspec; - enum ipv4-labeled-unicast; - enum ipv4-mdt; - enum ipv4-multicast; - enum ipv4-mvpn; - enum ipv4-rt-filter; - enum ipv4-sr-policy; - enum ipv4-tunnel; - enum ipv4-unicast; - enum ipv6-all { - description "Both unicast and multicast address family modifiers"; - } - enum ipv6-flowspec; - enum ipv6-labeled-unicast; - enum ipv6-multicast; - enum ipv6-mvpn; - enum ipv6-sr-policy; - enum ipv6-unicast; - enum l2vpn-evpn; - enum l2vpn-mspw; - enum l2vpn-vpls; - enum l2vpn-vpws; - enum link-state; - enum vpnv4-flowspec; - enum vpnv4-multicast; - enum vpnv4-unicast; - enum vpnv6-flowspec; - enum vpnv6-multicast; - enum vpnv6-unicast; + enum "all-all" { + description + "Both unicast and multicast address family modifiers + of ipv4 and ipv6 address family"; + } + enum "all-evpn"; + enum "all-flowspec"; + enum "all-labeled-unicast"; + enum "all-mdt"; + enum "all-mspw"; + enum "all-multicast"; + enum "all-mvpn"; + enum "all-rt-filter"; + enum "all-sr-policy"; + enum "all-tunnel"; + enum "all-unicast"; + enum "all-vpls"; + enum "all-vpws"; + enum "ipv4-all" { + description + "Both unicast and multicast address family modifiers"; + } + enum "ipv4-flowspec"; + enum "ipv4-labeled-unicast"; + enum "ipv4-mdt"; + enum "ipv4-multicast"; + enum "ipv4-mvpn"; + enum "ipv4-rt-filter"; + enum "ipv4-sr-policy"; + enum "ipv4-tunnel"; + enum "ipv4-unicast"; + enum "ipv6-all" { + description + "Both unicast and multicast address family modifiers"; + } + enum "ipv6-flowspec"; + enum "ipv6-labeled-unicast"; + enum "ipv6-multicast"; + enum "ipv6-mvpn"; + enum "ipv6-sr-policy"; + enum "ipv6-unicast"; + enum "l2vpn-evpn"; + enum "l2vpn-mspw"; + enum "l2vpn-vpls"; + enum "l2vpn-vpws"; + enum "link-state"; + enum "vpnv4-flowspec"; + enum "vpnv4-multicast"; + enum "vpnv4-unicast"; + enum "vpnv6-flowspec"; + enum "vpnv6-multicast"; + enum "vpnv6-unicast"; } } typedef afi { type enumeration { - enum all { - description "Both ipv4 and ipv6 address families"; + enum "all" { + description + "Both ipv4 and ipv6 address families"; } - enum ipv4; - enum ipv6; - enum l2vpn; - enum link-state; - enum vpnv4; - enum vpnv6; + enum "ipv4"; + enum "ipv6"; + enum "l2vpn"; + enum "link-state"; + enum "vpnv4"; + enum "vpnv6"; } } @@ -213,70 +217,72 @@ module Cisco-IOS-XR-ipv4-bgp-act { typedef ipv4-safi { type enumeration { - enum all { - description "Both unicast and multicast address family modifiers"; + enum "all" { + description + "Both unicast and multicast address family modifiers"; } - enum flowspec; - enum labeled-unicast; - enum mdt; - enum multicast; - enum mvpn; - enum rt-filter; - enum sr-policy; - enum tunnel; - enum unicast; + enum "flowspec"; + enum "labeled-unicast"; + enum "mdt"; + enum "multicast"; + enum "mvpn"; + enum "rt-filter"; + enum "sr-policy"; + enum "tunnel"; + enum "unicast"; } } typedef ipv6-safi { type enumeration { - enum all { - description "Both unicast and multicast address family modifiers"; + enum "all" { + description + "Both unicast and multicast address family modifiers"; } - enum flowspec; - enum labeled-unicast; - enum multicast; - enum mvpn; - enum sr-policy; - enum unicast; + enum "flowspec"; + enum "labeled-unicast"; + enum "multicast"; + enum "mvpn"; + enum "sr-policy"; + enum "unicast"; } } typedef l2vpn-safi { type enumeration { - enum evpn; - enum mspw; - enum vpls; - enum vpws; + enum "evpn"; + enum "mspw"; + enum "vpls"; + enum "vpws"; } } typedef link-state-safi { type enumeration { - enum link-state; + enum "link-state"; } } typedef vpnv4-safi { type enumeration { - enum flowspec; - enum multicast; - enum unicast; + enum "flowspec"; + enum "multicast"; + enum "unicast"; } } typedef vpnv6-safi { type enumeration { - enum flowspec; - enum multicast; - enum unicast; + enum "flowspec"; + enum "multicast"; + enum "unicast"; } } typedef instance-name { type union { type enumeration { - enum all; + enum "all"; } type string; } @@ -285,79 +291,73 @@ module Cisco-IOS-XR-ipv4-bgp-act { typedef vrf-name { type union { type enumeration { - enum all; + enum "all"; } type string; } } rpc clear-bgp-all-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp * graceful"; description "Clear all peers and all routes from the BGP table. Clear with a hard reset and a graceful restart. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp * graceful"; } - rpc clear-bgp-all { + description + "Clear all peers and all routes from the BGP table.\n"; csc:xr-task "bgp"; csc:cli-command "clear bgp *"; - description - "Clear all peers and all routes from the BGP table. - "; } - rpc clear-bgp-ip-addr-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp graceful"; description "BGP neighbor address to clear. Clear with a hard reset and a graceful restart. "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp graceful"; } - rpc clear-bgp-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp long-lived-stale"; description "BGP neighbor address to clear. Clear long-lived-stale routes. "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp long-lived-stale"; } - rpc clear-bgp-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp "; description - "BGP neighbor address to clear. - "; + "BGP neighbor address to clear.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp "; } - rpc clear-bgp-afi-safi-all-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp * soft in prefix-filter"; description "Clear all peers and all routes from the BGP table. Soft reconfig. @@ -366,16 +366,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp * soft in prefix-filter"; } - rpc clear-bgp-afi-safi-all-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp * soft in"; description "Clear all peers and all routes from the BGP table. Soft reconfig. @@ -383,16 +383,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp * soft in"; } - rpc clear-bgp-afi-safi-all-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp * soft out"; description "Clear all peers and all routes from the BGP table. Soft reconfig. @@ -400,52 +400,52 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp * soft out"; } - rpc clear-bgp-afi-safi-all-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp * soft"; description "Clear all peers and all routes from the BGP table. Soft reconfig. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp * soft"; } - rpc clear-bgp-afi-safi-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp long-lived-stale"; description - "Clear long-lived-stale routes. - "; + "Clear long-lived-stale routes.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp long-lived-stale"; } - rpc clear-bgp-afi-safi-ip-addr-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp soft in prefix-filter"; description "Soft reconfig. Soft reconfig inbound update. @@ -453,83 +453,86 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp soft in prefix-filter"; } - rpc clear-bgp-afi-safi-ip-addr-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp soft in"; description "Soft reconfig. Soft reconfig inbound update. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp soft in"; } - rpc clear-bgp-afi-safi-ip-addr-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp soft out"; description "Soft reconfig. Soft reconfig outbound update. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp soft out"; } - rpc clear-bgp-afi-safi-ip-addr-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp soft"; description - "Soft reconfig. - "; + "Soft reconfig.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp soft"; } - rpc clear-bgp-afi-safi-as-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as soft in prefix-filter"; description "Clear peers in a specific AS. Soft reconfig. @@ -538,21 +541,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as soft in prefix-filter"; } - rpc clear-bgp-afi-safi-as-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as soft in"; description "Clear peers in a specific AS. Soft reconfig. @@ -560,21 +564,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as soft in"; } - rpc clear-bgp-afi-safi-as-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as soft out"; description "Clear peers in a specific AS. Soft reconfig. @@ -582,77 +587,78 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as soft out"; } - rpc clear-bgp-afi-safi-as-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as soft"; description "Clear peers in a specific AS. Soft reconfig. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as soft"; } - rpc clear-bgp-afi-safi-dampening-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp dampening "; description - "Clear route flap dampening information. - "; + "Clear route flap dampening information.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and mask or masklength to clear dampening information"; + mandatory true; + description + "Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp dampening "; } - rpc clear-bgp-afi-safi-dampening { - csc:xr-task "bgp"; - csc:cli-command "clear bgp dampening"; description - "Clear route flap dampening information. - "; + "Clear route flap dampening information.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp dampening"; } - rpc clear-bgp-afi-safi-external-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp external soft in prefix-filter"; description "Clear all external peers. Soft reconfig. @@ -661,16 +667,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp external soft in prefix-filter"; } - rpc clear-bgp-afi-safi-external-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp external soft in"; description "Clear all external peers. Soft reconfig. @@ -678,16 +684,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp external soft in"; } - rpc clear-bgp-afi-safi-external-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp external soft out"; description "Clear all external peers. Soft reconfig. @@ -695,221 +701,222 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp external soft out"; } - rpc clear-bgp-afi-safi-external-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp external soft"; description "Clear all external peers. Soft reconfig. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp external soft"; } - rpc clear-bgp-afi-safi-flap-statistics-ip-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics "; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics "; } - rpc clear-bgp-afi-safi-flap-statistics-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics "; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics "; } - rpc clear-bgp-afi-safi-flap-statistics-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics "; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics "; } - rpc clear-bgp-afi-safi-flap-statistics-regexp { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics regexp "; description "Clear flap statistics. Clear flap statistics for routes matching the regular expression. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf regexp-pattern { - mandatory true; type string; - description "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; + mandatory true; + description + "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics regexp "; } - rpc clear-bgp-afi-safi-flap-statistics-route-policy { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics route-policy "; description "Clear flap statistics. Clear flap statistics for routes matching the route policy. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf route-policy-name { - mandatory true; type string; - description "Route Policy name"; + mandatory true; + description + "Route Policy name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics route-policy "; } - rpc clear-bgp-afi-safi-flap-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics"; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics"; } - rpc clear-bgp-afi-safi-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp nexthop performance-statistics"; description "Clear nexthop. Performance statistics information related to processing. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp nexthop performance-statistics"; } - rpc clear-bgp-afi-safi-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp nexthop registration "; description "Clear nexthop. Registration with RIB and reregister. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp nexthop registration "; } - rpc clear-bgp-afi-safi-self-originated { - csc:xr-task "bgp"; - csc:cli-command "clear bgp self-originated"; description - "Clear redistributed, network and aggregate routes originated here. - "; + "Clear redistributed, network and aggregate routes originated here.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp self-originated"; } - rpc clear-bgp-afi-safi-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp shutdown"; description - "Clear all peers which were shut down due to low memory. - "; + "Clear all peers which were shut down due to low memory.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp shutdown"; } - rpc clear-bgp-afi-safi-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq address-family update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -918,16 +925,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq address-family update-parent"; } - rpc clear-bgp-afi-safi-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq address-family"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -935,16 +942,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq address-family"; } - rpc clear-bgp-afi-safi-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor refresh update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -954,21 +961,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor refresh update-parent"; } - rpc clear-bgp-afi-safi-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor refresh"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -977,21 +985,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor refresh"; } - rpc clear-bgp-afi-safi-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1000,21 +1009,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor update-parent"; } - rpc clear-bgp-afi-safi-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1022,21 +1032,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor "; } - rpc clear-bgp-afi-safi-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1046,26 +1057,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group update-parent"; } - rpc clear-bgp-afi-safi-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1074,26 +1087,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group "; } - rpc clear-bgp-afi-safi-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1103,26 +1118,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group update-parent"; } - rpc clear-bgp-afi-safi-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1131,26 +1148,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group "; } - rpc clear-bgp-afi-safi-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1159,21 +1178,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group update-parent"; } - rpc clear-bgp-afi-safi-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -1181,1213 +1201,1278 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group "; } - rpc clear-bgp-as-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as graceful"; description "Clear peers in a specific AS. Clear with a hard reset and a graceful restart. "; input { leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as graceful"; } - rpc clear-bgp-as { - csc:xr-task "bgp"; - csc:cli-command "clear bgp as "; description - "Clear peers in a specific AS. - "; + "Clear peers in a specific AS.\n"; input { leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp as "; } - rpc clear-bgp-bestpath-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-bridge-domain-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath bridge-domain "; description "re-run BGP bestpath selection. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath bridge-domain "; } - rpc clear-bgp-bestpath-afi-safi-bridge-domain-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath bridge-domain "; description "re-run BGP bestpath selection. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath bridge-domain "; } - rpc clear-bgp-bestpath-afi-safi-bridge-domain-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath bridge-domain "; description "re-run BGP bestpath selection. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath bridge-domain "; } - rpc clear-bgp-bestpath-afi-safi-rd-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-rd-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-rd-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 network and masklength"; + mandatory true; + description + "IPv4 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-rt-constraint-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rt-constraint-network { - mandatory true; type string; - description "RT-Constraint network"; + mandatory true; + description + "RT-Constraint network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv4-tunnel-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-tunnel-network { - mandatory true; type string; - description "IPv4 Tunnel network :"; + mandatory true; + description + "IPv4 Tunnel network :"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-sr-policy-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath "; description - "re-run BGP bestpath selection. - "; + "re-run BGP bestpath selection.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf sr-policy-prefix { - mandatory true; type string; - description "SR Policy prefix"; + mandatory true; + description + "SR Policy prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath "; } - rpc clear-bgp-bestpath-afi-safi-bridge-domain-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath bridge-domain "; description "re-run BGP bestpath selection. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath bridge-domain "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-mp2mp-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath mp2mp "; description "re-run BGP bestpath selection. Display routes for a specified Xconnect group:MP2MP. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf mp2mp { - mandatory true; type string; - description "Xconnect Group:mp2mp"; + mandatory true; + description + "Xconnect Group:mp2mp"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN VPWS Prefix"; + mandatory true; + description + "L2VPN VPWS Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath mp2mp "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "VPN Fspec Prefix"; + mandatory true; + description + "VPN Fspec Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-rd-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath rd "; description "re-run BGP bestpath selection. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath rd "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-afi-safi-vrf-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "Fspec IPv4 Prefix"; + mandatory true; + description + "Fspec IPv4 Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf rd "; description "re-run BGP bestpath selection. Specify a VRF. @@ -2395,31 +2480,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf rd "; } - rpc clear-bgp-bestpath-vrf-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf vrf "; description "re-run BGP bestpath selection. Specify a VRF. @@ -2427,114 +2515,124 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf rd "; description "re-run BGP bestpath selection. Specify a VRF. @@ -2542,26 +2640,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf rd "; } - rpc clear-bgp-bestpath-vrf-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf vrf "; description "re-run BGP bestpath selection. Specify a VRF. @@ -2569,64 +2669,64 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf vrf "; } - rpc clear-bgp-bestpath-vrf-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp bestpath vrf "; description "re-run BGP bestpath selection. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp bestpath vrf "; } - rpc clear-bgp-external-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp external graceful"; description "Clear all external peers. Clear with a hard reset and a graceful restart. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp external graceful"; } - rpc clear-bgp-external { + description + "Clear all external peers.\n"; csc:xr-task "bgp"; csc:cli-command "clear bgp external"; - description - "Clear all external peers. - "; } - rpc clear-bgp-instance-all-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance * graceful"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. @@ -2634,94 +2734,96 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance * graceful"; } - rpc clear-bgp-instance-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance *"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance *"; } - rpc clear-bgp-instance-ip-addr-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance graceful"; description "Choose a particular BGP instance. Clear with a hard reset and a graceful restart. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance graceful"; } - rpc clear-bgp-instance-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance long-lived-stale"; description "Choose a particular BGP instance. Clear long-lived-stale routes. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance long-lived-stale"; } - rpc clear-bgp-instance-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance "; description - "Choose a particular BGP instance. - "; + "Choose a particular BGP instance.\n"; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance "; } - rpc clear-bgp-instance-afi-safi-all-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance * soft in prefix-filter"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. @@ -2731,21 +2833,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance * soft in prefix-filter"; } - rpc clear-bgp-instance-afi-safi-all-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance * soft in"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. @@ -2754,21 +2857,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance * soft in"; } - rpc clear-bgp-instance-afi-safi-all-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance * soft out"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. @@ -2777,21 +2881,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance * soft out"; } - rpc clear-bgp-instance-afi-safi-all-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance * soft"; description "Choose a particular BGP instance. Clear all peers and all routes from the BGP table. @@ -2799,47 +2904,50 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance * soft"; } - rpc clear-bgp-instance-afi-safi-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance long-lived-stale"; description "Choose a particular BGP instance. Clear long-lived-stale routes. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance long-lived-stale"; } - rpc clear-bgp-instance-afi-safi-ip-addr-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance soft in prefix-filter"; description "Choose a particular BGP instance. Soft reconfig. @@ -2848,26 +2956,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance soft in prefix-filter"; } - rpc clear-bgp-instance-afi-safi-ip-addr-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance soft in"; description "Choose a particular BGP instance. Soft reconfig. @@ -2875,26 +2985,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance soft in"; } - rpc clear-bgp-instance-afi-safi-ip-addr-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance soft out"; description "Choose a particular BGP instance. Soft reconfig. @@ -2902,52 +3014,56 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance soft out"; } - rpc clear-bgp-instance-afi-safi-ip-addr-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance soft"; description "Choose a particular BGP instance. Soft reconfig. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance soft"; } - rpc clear-bgp-instance-afi-safi-as-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as soft in prefix-filter"; description "Choose a particular BGP instance. Clear peers in a specific AS. @@ -2957,26 +3073,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as soft in prefix-filter"; } - rpc clear-bgp-instance-afi-safi-as-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as soft in"; description "Choose a particular BGP instance. Clear peers in a specific AS. @@ -2985,26 +3103,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as soft in"; } - rpc clear-bgp-instance-afi-safi-as-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as soft out"; description "Choose a particular BGP instance. Clear peers in a specific AS. @@ -3013,26 +3133,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as soft out"; } - rpc clear-bgp-instance-afi-safi-as-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as soft"; description "Choose a particular BGP instance. Clear peers in a specific AS. @@ -3040,73 +3162,78 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as soft"; } - rpc clear-bgp-instance-afi-safi-dampening-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance dampening "; description "Choose a particular BGP instance. Clear route flap dampening information. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and mask or masklength to clear dampening information"; + mandatory true; + description + "Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance dampening "; } - rpc clear-bgp-instance-afi-safi-dampening { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance dampening"; description "Choose a particular BGP instance. Clear route flap dampening information. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance dampening"; } - rpc clear-bgp-instance-afi-safi-external-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external soft in prefix-filter"; description "Choose a particular BGP instance. Clear all external peers. @@ -3116,21 +3243,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external soft in prefix-filter"; } - rpc clear-bgp-instance-afi-safi-external-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external soft in"; description "Choose a particular BGP instance. Clear all external peers. @@ -3139,21 +3267,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external soft in"; } - rpc clear-bgp-instance-afi-safi-external-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external soft out"; description "Choose a particular BGP instance. Clear all external peers. @@ -3162,21 +3291,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external soft out"; } - rpc clear-bgp-instance-afi-safi-external-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external soft"; description "Choose a particular BGP instance. Clear all external peers. @@ -3184,104 +3314,112 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external soft"; } - rpc clear-bgp-instance-afi-safi-flap-statistics-ip-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics "; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics "; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics "; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-regexp { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics regexp "; description "Choose a particular BGP instance. Clear flap statistics. @@ -3289,26 +3427,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf regexp-pattern { - mandatory true; type string; - description "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; + mandatory true; + description + "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics regexp "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-route-policy { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics route-policy "; description "Choose a particular BGP instance. Clear flap statistics. @@ -3316,47 +3456,50 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf route-policy-name { - mandatory true; type string; - description "Route Policy name"; + mandatory true; + description + "Route Policy name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics route-policy "; } - rpc clear-bgp-instance-afi-safi-flap-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics"; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics"; } - rpc clear-bgp-instance-afi-safi-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance nexthop performance-statistics"; description "Choose a particular BGP instance. Clear nexthop. @@ -3364,21 +3507,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance nexthop performance-statistics"; } - rpc clear-bgp-instance-afi-safi-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance nexthop registration "; description "Choose a particular BGP instance. Clear nexthop. @@ -3386,68 +3530,72 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance nexthop registration "; } - rpc clear-bgp-instance-afi-safi-self-originated { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance self-originated"; description "Choose a particular BGP instance. Clear redistributed, network and aggregate routes originated here. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance self-originated"; } - rpc clear-bgp-instance-afi-safi-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance shutdown"; description "Choose a particular BGP instance. Clear all peers which were shut down due to low memory. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance shutdown"; } - rpc clear-bgp-instance-afi-safi-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq address-family update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3457,21 +3605,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq address-family update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq address-family"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3480,21 +3629,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq address-family"; } - rpc clear-bgp-instance-afi-safi-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor refresh update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3505,26 +3655,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor refresh update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor refresh"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3534,26 +3686,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor refresh"; } - rpc clear-bgp-instance-afi-safi-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3563,26 +3717,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3591,26 +3747,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor "; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3621,31 +3779,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3655,31 +3816,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group "; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3690,31 +3854,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3724,31 +3891,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group "; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3758,26 +3928,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group update-parent"; } - rpc clear-bgp-instance-afi-safi-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -3786,26 +3958,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group "; } - rpc clear-bgp-instance-as-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as graceful"; description "Choose a particular BGP instance. Clear peers in a specific AS. @@ -3813,193 +3987,206 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as graceful"; } - rpc clear-bgp-instance-as { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance as "; description "Choose a particular BGP instance. Clear peers in a specific AS. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance as "; } - rpc clear-bgp-instance-bestpath-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-bridge-domain-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath bridge-domain "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4007,36 +4194,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath bridge-domain "; } - rpc clear-bgp-instance-bestpath-afi-safi-bridge-domain-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath bridge-domain "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4044,31 +4235,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath bridge-domain "; } - rpc clear-bgp-instance-bestpath-afi-safi-bridge-domain-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath bridge-domain "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4076,31 +4270,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath bridge-domain "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4108,36 +4305,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4145,31 +4346,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4177,114 +4381,124 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 network and masklength"; + mandatory true; + description + "IPv4 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4292,31 +4506,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4324,57 +4541,62 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4382,31 +4604,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4414,166 +4639,180 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-rt-constraint-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rt-constraint-network { - mandatory true; type string; - description "RT-Constraint network"; + mandatory true; + description + "RT-Constraint network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv4-tunnel-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-tunnel-network { - mandatory true; type string; - description "IPv4 Tunnel network :"; + mandatory true; + description + "IPv4 Tunnel network :"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4581,26 +4820,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4608,73 +4849,78 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-sr-policy-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath "; description "Choose a particular BGP instance. re-run BGP bestpath selection. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf sr-policy-prefix { - mandatory true; type string; - description "SR Policy prefix"; + mandatory true; + description + "SR Policy prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath "; } - rpc clear-bgp-instance-bestpath-afi-safi-bridge-domain-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath bridge-domain "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4682,31 +4928,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath bridge-domain "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4714,31 +4963,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-mp2mp-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath mp2mp "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4746,31 +4998,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf mp2mp { - mandatory true; type string; - description "Xconnect Group:mp2mp"; + mandatory true; + description + "Xconnect Group:mp2mp"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN VPWS Prefix"; + mandatory true; + description + "L2VPN VPWS Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath mp2mp "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4778,31 +5033,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "VPN Fspec Prefix"; + mandatory true; + description + "VPN Fspec Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4810,36 +5068,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4847,36 +5109,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4884,36 +5150,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4921,31 +5191,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-rd-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4953,31 +5226,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath rd "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -4985,36 +5261,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5022,31 +5302,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-afi-safi-vrf-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5054,31 +5337,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5086,31 +5372,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5118,26 +5407,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5145,26 +5436,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5172,31 +5465,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "Fspec IPv4 Prefix"; + mandatory true; + description + "Fspec IPv4 Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5204,36 +5500,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5241,31 +5541,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5273,31 +5576,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5306,36 +5612,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf rd "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5344,36 +5654,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5381,36 +5695,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5418,31 +5736,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5450,31 +5771,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf rd "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5483,31 +5807,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf rd "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5516,31 +5843,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf vrf "; } - rpc clear-bgp-instance-bestpath-vrf-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance bestpath vrf "; description "Choose a particular BGP instance. re-run BGP bestpath selection. @@ -5548,26 +5878,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance bestpath vrf "; } - rpc clear-bgp-instance-external-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external graceful"; description "Choose a particular BGP instance. Clear all external peers. @@ -5575,136 +5907,144 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external graceful"; } - rpc clear-bgp-instance-external { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance external"; description "Choose a particular BGP instance. Clear all external peers. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance external"; } - rpc clear-bgp-instance-afi-safi-dampening-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance dampening "; description "Choose a particular BGP instance. Clear route flap dampening information. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance dampening "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics "; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics "; } - rpc clear-bgp-instance-afi-safi-dampening-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance dampening "; description "Choose a particular BGP instance. Clear route flap dampening information. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance dampening "; } - rpc clear-bgp-instance-afi-safi-flap-statistics-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance flap-statistics "; description "Choose a particular BGP instance. Clear flap statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance flap-statistics "; } - rpc clear-bgp-instance-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance nexthop performance-statistics"; description "Choose a particular BGP instance. Clear nexthop. @@ -5712,16 +6052,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance nexthop performance-statistics"; } - rpc clear-bgp-instance-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance nexthop registration "; description "Choose a particular BGP instance. Clear nexthop. @@ -5729,21 +6069,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance nexthop registration "; } - rpc clear-bgp-instance-peer-drops-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance peer-drops *"; description "Choose a particular BGP instance. Clear established/dropped counters for a peer. @@ -5751,53 +6092,54 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance peer-drops *"; } - rpc clear-bgp-instance-peer-drops-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance peer-drops "; description "Choose a particular BGP instance. Clear established/dropped counters for a peer. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor IP address"; + mandatory true; + description + "BGP neighbor IP address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance peer-drops "; } - rpc clear-bgp-instance-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance performance-statistics"; description "Choose a particular BGP instance. Clear performance statistics. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance performance-statistics"; } - rpc clear-bgp-instance-rpki-server-all-serial-query { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki server * serial-query"; description "Choose a particular BGP instance. RPKI clear command. @@ -5807,16 +6149,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki server * serial-query"; } - rpc clear-bgp-instance-rpki-server-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki server *"; description "Choose a particular BGP instance. RPKI clear command. @@ -5825,16 +6167,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki server *"; } - rpc clear-bgp-instance-rpki-server-rpki-server { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki server "; description "Choose a particular BGP instance. RPKI clear command. @@ -5842,21 +6184,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf rpki-server { - mandatory true; type string; - description "clear a specific RPKI cache-server (hostname or IP address)"; + mandatory true; + description + "clear a specific RPKI cache-server (hostname or IP address)"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki server "; } - rpc clear-bgp-instance-rpki-validation-ipv4 { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki validation ipv4"; description "Choose a particular BGP instance. RPKI clear command. @@ -5865,16 +6208,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki validation ipv4"; } - rpc clear-bgp-instance-rpki-validation-ipv6 { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki validation ipv6"; description "Choose a particular BGP instance. RPKI clear command. @@ -5883,16 +6226,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki validation ipv6"; } - rpc clear-bgp-instance-rpki-validation { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance rpki validation"; description "Choose a particular BGP instance. RPKI clear command. @@ -5900,32 +6243,32 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance rpki validation"; } - rpc clear-bgp-instance-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance shutdown"; description "Choose a particular BGP instance. Clear all peers which were shut down due to low memory. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance shutdown"; } - rpc clear-bgp-instance-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq address-family update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -5935,16 +6278,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq address-family update-parent"; } - rpc clear-bgp-instance-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq address-family"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -5953,16 +6296,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq address-family"; } - rpc clear-bgp-instance-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor refresh update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -5973,21 +6316,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor refresh update-parent"; } - rpc clear-bgp-instance-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor refresh"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -5997,21 +6341,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor refresh"; } - rpc clear-bgp-instance-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6021,21 +6366,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor update-parent"; } - rpc clear-bgp-instance-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq neighbor "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6044,21 +6390,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq neighbor "; } - rpc clear-bgp-instance-update-outq-process { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq process"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6067,16 +6414,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq process"; } - rpc clear-bgp-instance-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6087,26 +6434,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6116,26 +6465,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group "; } - rpc clear-bgp-instance-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6146,26 +6497,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group sub-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6175,26 +6528,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group sub-group "; } - rpc clear-bgp-instance-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group update-parent"; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6204,21 +6559,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group update-parent"; } - rpc clear-bgp-instance-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance update outq update-group "; description "Choose a particular BGP instance. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -6227,172 +6583,184 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance update outq update-group "; } - rpc clear-bgp-instance-version-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-bridge-domain-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version bridge-domain "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6400,36 +6768,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version bridge-domain "; } - rpc clear-bgp-instance-version-afi-safi-bridge-domain-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version bridge-domain "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6437,31 +6809,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version bridge-domain "; } - rpc clear-bgp-instance-version-afi-safi-bridge-domain-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version bridge-domain "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6469,31 +6844,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version bridge-domain "; } - rpc clear-bgp-instance-version-afi-safi-rd-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6501,36 +6879,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-rd-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6538,31 +6920,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-rd-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6570,114 +6955,124 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 network and masklength"; + mandatory true; + description + "IPv4 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6685,31 +7080,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6717,57 +7115,62 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6775,31 +7178,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6807,166 +7213,180 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-rt-constraint-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rt-constraint-network { - mandatory true; type string; - description "RT-Constraint network"; + mandatory true; + description + "RT-Constraint network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv4-tunnel-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-tunnel-network { - mandatory true; type string; - description "IPv4 Tunnel network :"; + mandatory true; + description + "IPv4 Tunnel network :"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -6974,26 +7394,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7001,73 +7423,78 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-sr-policy-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version "; description "Choose a particular BGP instance. clear BGP prefix version. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf sr-policy-prefix { - mandatory true; type string; - description "SR Policy prefix"; + mandatory true; + description + "SR Policy prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version "; } - rpc clear-bgp-instance-version-afi-safi-bridge-domain-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version bridge-domain "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7075,31 +7502,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version bridge-domain "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7107,31 +7537,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-mp2mp-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version mp2mp "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7139,31 +7572,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf mp2mp { - mandatory true; type string; - description "Xconnect Group:mp2mp"; + mandatory true; + description + "Xconnect Group:mp2mp"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN VPWS Prefix"; + mandatory true; + description + "L2VPN VPWS Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version mp2mp "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7171,31 +7607,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "VPN Fspec Prefix"; + mandatory true; + description + "VPN Fspec Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7203,36 +7642,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7240,36 +7683,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7277,36 +7724,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7314,31 +7765,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-rd-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7346,31 +7800,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version rd "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7378,36 +7835,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7415,31 +7876,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-afi-safi-vrf-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7447,31 +7911,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7479,31 +7946,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7511,26 +7981,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7538,26 +8010,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7565,31 +8039,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "Fspec IPv4 Prefix"; + mandatory true; + description + "Fspec IPv4 Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7597,36 +8074,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7634,31 +8115,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7666,31 +8150,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7699,36 +8186,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf rd "; } - rpc clear-bgp-instance-version-vrf-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7737,36 +8228,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7774,36 +8269,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7811,31 +8310,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7843,31 +8345,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf rd "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7876,31 +8381,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf rd "; } - rpc clear-bgp-instance-version-vrf-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7909,31 +8417,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf vrf "; } - rpc clear-bgp-instance-version-vrf-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance version vrf "; description "Choose a particular BGP instance. clear BGP prefix version. @@ -7941,26 +8452,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance version vrf "; } - rpc clear-bgp-instance-vrf-all-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf * graceful"; description "Choose a particular BGP instance. Specify a VRF. @@ -7969,21 +8482,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf * graceful"; } - rpc clear-bgp-instance-vrf-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf *"; description "Choose a particular BGP instance. Specify a VRF. @@ -7991,21 +8505,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf *"; } - rpc clear-bgp-instance-vrf-ip-addr-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf graceful"; description "Choose a particular BGP instance. Specify a VRF. @@ -8013,26 +8528,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf graceful"; } - rpc clear-bgp-instance-vrf-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf long-lived-stale"; description "Choose a particular BGP instance. Specify a VRF. @@ -8040,52 +8557,56 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf long-lived-stale"; } - rpc clear-bgp-instance-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf "; description "Choose a particular BGP instance. Specify a VRF. "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf "; } - rpc clear-bgp-instance-vrf-as-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as graceful"; description "Choose a particular BGP instance. Specify a VRF. @@ -8094,26 +8615,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as graceful"; } - rpc clear-bgp-instance-vrf-as { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as "; description "Choose a particular BGP instance. Specify a VRF. @@ -8121,26 +8644,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as "; } - rpc clear-bgp-instance-vrf-external-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external graceful"; description "Choose a particular BGP instance. Specify a VRF. @@ -8149,21 +8674,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external graceful"; } - rpc clear-bgp-instance-vrf-external { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external"; description "Choose a particular BGP instance. Specify a VRF. @@ -8171,21 +8697,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external"; } - rpc clear-bgp-instance-vrf-afi-safi-all-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf * soft in prefix-filter"; description "Choose a particular BGP instance. Specify a VRF. @@ -8196,26 +8723,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } - } - - rpc clear-bgp-instance-vrf-afi-safi-all-soft-in { csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf * soft in"; + csc:cli-command "clear bgp instance vrf * soft in prefix-filter"; + } + rpc clear-bgp-instance-vrf-afi-safi-all-soft-in { description "Choose a particular BGP instance. Specify a VRF. @@ -8225,26 +8754,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf * soft in"; } - rpc clear-bgp-instance-vrf-afi-safi-all-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf * soft out"; description "Choose a particular BGP instance. Specify a VRF. @@ -8254,26 +8785,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf * soft out"; } - rpc clear-bgp-instance-vrf-afi-safi-all-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf * soft"; description "Choose a particular BGP instance. Specify a VRF. @@ -8282,26 +8815,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf * soft"; } - rpc clear-bgp-instance-vrf-afi-safi-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf long-lived-stale"; description "Choose a particular BGP instance. Specify a VRF. @@ -8309,31 +8844,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf long-lived-stale"; } - rpc clear-bgp-instance-vrf-afi-safi-ip-addr-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf soft in prefix-filter"; description "Choose a particular BGP instance. Specify a VRF. @@ -8343,31 +8881,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf soft in prefix-filter"; } - rpc clear-bgp-instance-vrf-afi-safi-ip-addr-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf soft in"; description "Choose a particular BGP instance. Specify a VRF. @@ -8376,31 +8917,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf soft in"; } - rpc clear-bgp-instance-vrf-afi-safi-ip-addr-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf soft out"; description "Choose a particular BGP instance. Specify a VRF. @@ -8409,31 +8953,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf soft out"; } - rpc clear-bgp-instance-vrf-afi-safi-ip-addr-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf soft"; description "Choose a particular BGP instance. Specify a VRF. @@ -8441,31 +8988,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf soft"; } - rpc clear-bgp-instance-vrf-afi-safi-as-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as soft in prefix-filter"; description "Choose a particular BGP instance. Specify a VRF. @@ -8476,31 +9026,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as soft in prefix-filter"; } - rpc clear-bgp-instance-vrf-afi-safi-as-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as soft in"; description "Choose a particular BGP instance. Specify a VRF. @@ -8510,31 +9063,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as soft in"; } - rpc clear-bgp-instance-vrf-afi-safi-as-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as soft out"; description "Choose a particular BGP instance. Specify a VRF. @@ -8544,31 +9100,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as soft out"; } - rpc clear-bgp-instance-vrf-afi-safi-as-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf as soft"; description "Choose a particular BGP instance. Specify a VRF. @@ -8577,31 +9136,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf as soft"; } - rpc clear-bgp-instance-vrf-afi-safi-dampening-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf dampening "; description "Choose a particular BGP instance. Specify a VRF. @@ -8609,31 +9171,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf dampening "; } - rpc clear-bgp-instance-vrf-afi-safi-dampening { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf dampening"; description "Choose a particular BGP instance. Specify a VRF. @@ -8641,26 +9206,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf dampening"; } - rpc clear-bgp-instance-vrf-afi-safi-external-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external soft in prefix-filter"; description "Choose a particular BGP instance. Specify a VRF. @@ -8671,26 +9238,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external soft in prefix-filter"; } - rpc clear-bgp-instance-vrf-afi-safi-external-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external soft in"; description "Choose a particular BGP instance. Specify a VRF. @@ -8700,26 +9269,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external soft in"; } - rpc clear-bgp-instance-vrf-afi-safi-external-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external soft out"; description "Choose a particular BGP instance. Specify a VRF. @@ -8729,26 +9300,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external soft out"; } - rpc clear-bgp-instance-vrf-afi-safi-external-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf external soft"; description "Choose a particular BGP instance. Specify a VRF. @@ -8757,26 +9330,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf external soft"; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-ip-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics "; description "Choose a particular BGP instance. Specify a VRF. @@ -8784,36 +9359,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics "; description "Choose a particular BGP instance. Specify a VRF. @@ -8821,31 +9400,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics "; description "Choose a particular BGP instance. Specify a VRF. @@ -8853,31 +9435,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-regexp { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics regexp "; description "Choose a particular BGP instance. Specify a VRF. @@ -8886,31 +9471,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf regexp-pattern { - mandatory true; type string; - description "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; + mandatory true; + description + "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics regexp "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-route-policy { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics route-policy "; description "Choose a particular BGP instance. Specify a VRF. @@ -8919,31 +9507,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf route-policy-name { - mandatory true; type string; - description "Route Policy name"; + mandatory true; + description + "Route Policy name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics route-policy "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics"; description "Choose a particular BGP instance. Specify a VRF. @@ -8951,26 +9542,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics"; } - rpc clear-bgp-instance-vrf-afi-safi-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf nexthop performance-statistics"; description "Choose a particular BGP instance. Specify a VRF. @@ -8979,26 +9572,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf nexthop performance-statistics"; } - rpc clear-bgp-instance-vrf-afi-safi-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf nexthop registration "; description "Choose a particular BGP instance. Specify a VRF. @@ -9007,31 +9602,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf nexthop registration "; } - rpc clear-bgp-instance-vrf-afi-safi-self-originated { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf self-originated"; description "Choose a particular BGP instance. Specify a VRF. @@ -9039,26 +9637,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf self-originated"; } - rpc clear-bgp-instance-vrf-afi-safi-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf shutdown"; description "Choose a particular BGP instance. Specify a VRF. @@ -9066,26 +9666,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf shutdown"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq address-family update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9096,26 +9698,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq address-family update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq address-family"; description "Choose a particular BGP instance. Specify a VRF. @@ -9125,26 +9729,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq address-family"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor refresh update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9156,31 +9762,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor refresh update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor refresh"; description "Choose a particular BGP instance. Specify a VRF. @@ -9191,31 +9800,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor refresh"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9226,31 +9838,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor "; description "Choose a particular BGP instance. Specify a VRF. @@ -9260,31 +9875,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor "; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9296,36 +9914,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -9336,36 +9958,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9377,36 +10003,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -9417,36 +10047,40 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9457,31 +10091,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group update-parent"; } - rpc clear-bgp-instance-vrf-afi-safi-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -9491,31 +10128,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group "; } - rpc clear-bgp-instance-vrf-afi-safi-dampening-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf dampening "; description "Choose a particular BGP instance. Specify a VRF. @@ -9523,31 +10163,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf dampening "; } - rpc clear-bgp-instance-vrf-afi-safi-flap-statistics-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf flap-statistics "; description "Choose a particular BGP instance. Specify a VRF. @@ -9555,31 +10198,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf flap-statistics "; } - rpc clear-bgp-instance-vrf-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf nexthop performance-statistics"; description "Choose a particular BGP instance. Specify a VRF. @@ -9588,21 +10234,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf nexthop performance-statistics"; } - rpc clear-bgp-instance-vrf-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf nexthop registration "; description "Choose a particular BGP instance. Specify a VRF. @@ -9611,26 +10258,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf nexthop registration "; } - rpc clear-bgp-instance-vrf-peer-drops-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf peer-drops *"; description "Choose a particular BGP instance. Specify a VRF. @@ -9639,21 +10288,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf peer-drops *"; } - rpc clear-bgp-instance-vrf-peer-drops-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf peer-drops "; description "Choose a particular BGP instance. Specify a VRF. @@ -9661,26 +10311,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor IP address"; + mandatory true; + description + "BGP neighbor IP address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf peer-drops "; } - rpc clear-bgp-instance-vrf-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf performance-statistics"; description "Choose a particular BGP instance. Specify a VRF. @@ -9688,21 +10340,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf performance-statistics"; } - rpc clear-bgp-instance-vrf-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf shutdown"; description "Choose a particular BGP instance. Specify a VRF. @@ -9710,21 +10363,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf shutdown"; } - rpc clear-bgp-instance-vrf-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq address-family update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9735,21 +10389,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq address-family update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq address-family"; description "Choose a particular BGP instance. Specify a VRF. @@ -9759,21 +10414,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq address-family"; } - rpc clear-bgp-instance-vrf-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor refresh update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9785,26 +10441,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor refresh update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor refresh"; description "Choose a particular BGP instance. Specify a VRF. @@ -9815,26 +10473,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor refresh"; } - rpc clear-bgp-instance-vrf-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9845,26 +10505,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq neighbor "; description "Choose a particular BGP instance. Specify a VRF. @@ -9874,26 +10536,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq neighbor "; } - rpc clear-bgp-instance-vrf-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9905,31 +10569,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -9940,31 +10607,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; } - rpc clear-bgp-instance-vrf-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -9976,31 +10646,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -10011,31 +10684,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group sub-group "; } - rpc clear-bgp-instance-vrf-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group update-parent"; description "Choose a particular BGP instance. Specify a VRF. @@ -10046,26 +10722,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group update-parent"; } - rpc clear-bgp-instance-vrf-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp instance vrf update outq update-group "; description "Choose a particular BGP instance. Specify a VRF. @@ -10075,258 +10753,246 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf instance-name { - mandatory true; type instance-name; - description "instance name or all"; + mandatory true; + description + "instance name or all"; } leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp instance vrf update outq update-group "; } - rpc clear-bgp-afi-safi-dampening-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp dampening "; description - "Clear route flap dampening information. - "; + "Clear route flap dampening information.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp dampening "; } - rpc clear-bgp-afi-safi-flap-statistics-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics "; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics "; } - rpc clear-bgp-afi-safi-dampening-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp dampening "; description - "Clear route flap dampening information. - "; + "Clear route flap dampening information.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp dampening "; } - rpc clear-bgp-afi-safi-flap-statistics-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp flap-statistics "; description - "Clear flap statistics. - "; + "Clear flap statistics.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp flap-statistics "; } - rpc clear-bgp-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp nexthop performance-statistics"; description "Clear nexthop. Performance statistics information related to processing. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp nexthop performance-statistics"; } - rpc clear-bgp-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp nexthop registration "; description "Clear nexthop. Registration with RIB and reregister. "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp nexthop registration "; } - rpc clear-bgp-peer-drops-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp peer-drops *"; description "Clear established/dropped counters for a peer. All Neighbors. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp peer-drops *"; } - rpc clear-bgp-peer-drops-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp peer-drops "; description - "Clear established/dropped counters for a peer. - "; + "Clear established/dropped counters for a peer.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor IP address"; + mandatory true; + description + "BGP neighbor IP address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp peer-drops "; } - rpc clear-bgp-performance-statistics { + description + "Clear performance statistics.\n"; csc:xr-task "bgp"; csc:cli-command "clear bgp performance-statistics"; - description - "Clear performance statistics. - "; } - rpc clear-bgp-rpki-server-all-serial-query { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki server * serial-query"; description "RPKI clear command. clear RPKI cache-server. clear all RPKI cache-servers. send serial-queries to all cache-servers (with latest serial numbers). "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki server * serial-query"; } - rpc clear-bgp-rpki-server-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki server *"; description "RPKI clear command. clear RPKI cache-server. clear all RPKI cache-servers. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki server *"; } - rpc clear-bgp-rpki-server-rpki-server { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki server "; description "RPKI clear command. clear RPKI cache-server. "; input { leaf rpki-server { - mandatory true; type string; - description "clear a specific RPKI cache-server (hostname or IP address)"; + mandatory true; + description + "clear a specific RPKI cache-server (hostname or IP address)"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki server "; } - rpc clear-bgp-rpki-validation-ipv4 { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki validation ipv4"; description "RPKI clear command. clear RPKI origin-validation (trigger origin validation). trigger origin validation walk for the IPv4 table. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki validation ipv4"; } - rpc clear-bgp-rpki-validation-ipv6 { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki validation ipv6"; description "RPKI clear command. clear RPKI origin-validation (trigger origin validation). trigger origin validation walk for the IPv6 table. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki validation ipv6"; } - rpc clear-bgp-rpki-validation { - csc:xr-task "bgp"; - csc:cli-command "clear bgp rpki validation"; description "RPKI clear command. clear RPKI origin-validation (trigger origin validation). "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp rpki validation"; } - rpc clear-bgp-shutdown { + description + "Clear all peers which were shut down due to low memory.\n"; csc:xr-task "bgp"; csc:cli-command "clear bgp shutdown"; - description - "Clear all peers which were shut down due to low memory. - "; } - rpc clear-bgp-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq address-family update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). Address-family. Update parents' OutQ counters too. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq address-family update-parent"; } - rpc clear-bgp-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq address-family"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). Address-family. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq address-family"; } - rpc clear-bgp-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor refresh update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10336,16 +11002,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor refresh update-parent"; } - rpc clear-bgp-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor refresh"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10354,16 +11020,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor refresh"; } - rpc clear-bgp-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10372,16 +11038,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor update-parent"; } - rpc clear-bgp-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq neighbor "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10389,26 +11055,25 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq neighbor "; } - rpc clear-bgp-update-outq-process { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq process"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). Process. "; + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq process"; } - rpc clear-bgp-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10418,21 +11083,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group update-parent"; } - rpc clear-bgp-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10441,21 +11107,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group "; } - rpc clear-bgp-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10465,21 +11132,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group update-parent"; } - rpc clear-bgp-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group sub-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10488,21 +11156,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group sub-group "; } - rpc clear-bgp-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group update-parent"; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10511,16 +11180,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group update-parent"; } - rpc clear-bgp-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp update outq update-group "; description "Clear Update information (Do NOT execute without cisco support)(cisco-support). Clear Update generation OutQ counters (Do NOT execute without cisco support)(cisco-support). @@ -10528,1177 +11197,1242 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp update outq update-group "; } - rpc clear-bgp-version-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-bridge-domain-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version bridge-domain "; description "clear BGP prefix version. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version bridge-domain "; } - rpc clear-bgp-version-afi-safi-bridge-domain-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version bridge-domain "; description "clear BGP prefix version. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version bridge-domain "; } - rpc clear-bgp-version-afi-safi-bridge-domain-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version bridge-domain "; description "clear BGP prefix version. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version bridge-domain "; } - rpc clear-bgp-version-afi-safi-rd-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-rd-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-rd-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 network and masklength"; + mandatory true; + description + "IPv4 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-rd-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-vrf-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 MDT network"; + mandatory true; + description + "IPv4 MDT network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-rt-constraint-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rt-constraint-network { - mandatory true; type string; - description "RT-Constraint network"; + mandatory true; + description + "RT-Constraint network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv4-tunnel-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-tunnel-network { - mandatory true; type string; - description "IPv4 Tunnel network :"; + mandatory true; + description + "IPv4 Tunnel network :"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-sr-policy-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version "; description - "clear BGP prefix version. - "; + "clear BGP prefix version.\n"; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf sr-policy-prefix { - mandatory true; type string; - description "SR Policy prefix"; + mandatory true; + description + "SR Policy prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version "; } - rpc clear-bgp-version-afi-safi-bridge-domain-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version bridge-domain "; description "clear BGP prefix version. Display routes for a specified Bridge Domain. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf bridge-domain-name { - mandatory true; type string; - description "Bridge Domain"; + mandatory true; + description + "Bridge Domain"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version bridge-domain "; } - rpc clear-bgp-version-afi-safi-rd-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN EVPN Prefix"; + mandatory true; + description + "L2VPN EVPN Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-mp2mp-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version mp2mp "; description "clear BGP prefix version. Display routes for a specified Xconnect group:MP2MP. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf mp2mp { - mandatory true; type string; - description "Xconnect Group:mp2mp"; + mandatory true; + description + "Xconnect Group:mp2mp"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "L2VPN VPWS Prefix"; + mandatory true; + description + "L2VPN VPWS Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version mp2mp "; } - rpc clear-bgp-version-afi-safi-vrf-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "VPN Fspec Prefix"; + mandatory true; + description + "VPN Fspec Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-rd-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-vrf-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-rd-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-rd-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-rd-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version rd "; description "clear BGP prefix version. Display routes with a specific route distinguisher. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version rd "; } - rpc clear-bgp-version-afi-safi-vrf-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-vrf-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-afi-safi-vrf-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Display routes for a specified VRF. "; input { leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-ip-addr-ip-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } leaf ip-netmask { - mandatory true; type ip-netmask; - description "Mask"; + mandatory true; + description + "Mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Network"; + mandatory true; + description + "Network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-ip-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-prefix { - mandatory true; type inet:ip-prefix; - description "Network and masklength"; + mandatory true; + description + "Network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "Fspec IPv4 Prefix"; + mandatory true; + description + "Fspec IPv4 Prefix"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv4-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 mask"; + mandatory true; + description + "IPv4 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv4-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-addr { - mandatory true; type inet:ipv4-address; - description "IPv4 network"; + mandatory true; + description + "IPv4 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-rd-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf rd "; description "clear BGP prefix version. Specify a VRF. @@ -11706,31 +12440,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf rd "; } - rpc clear-bgp-version-vrf-afi-safi-vrf-network { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf vrf "; description "clear BGP prefix version. Specify a VRF. @@ -11738,114 +12475,124 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } leaf network { - mandatory true; type string; - description "Address family modifier specific network"; + mandatory true; + description + "Address family modifier specific network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv6-addr-ipv6-netmask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } leaf ipv6-netmask { - mandatory true; type ipv6-netmask; - description "IPv6 mask"; + mandatory true; + description + "IPv6 mask"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv6-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-addr { - mandatory true; type inet:ipv6-address; - description "IPv6 network"; + mandatory true; + description + "IPv6 network"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 network and masklength"; + mandatory true; + description + "IPv6 network and masklength"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-version-vrf-afi-safi-rd { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf rd "; description "clear BGP prefix version. Specify a VRF. @@ -11853,26 +12600,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf rd { - mandatory true; type rd; - description "Route distinguisher"; + mandatory true; + description + "Route distinguisher"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf rd "; } - rpc clear-bgp-version-vrf-afi-safi-vrf { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf vrf "; description "clear BGP prefix version. Specify a VRF. @@ -11880,47 +12629,50 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf vrf-name { - mandatory true; type string; - description "VRF name"; + mandatory true; + description + "VRF name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf vrf "; } - rpc clear-bgp-version-vrf-afi-safi { - csc:xr-task "bgp"; - csc:cli-command "clear bgp version vrf "; description "clear BGP prefix version. Specify a VRF. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp version vrf "; } - rpc clear-bgp-vrf-all-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf * graceful"; description "Specify a VRF. Clear all peers and all routes from the BGP table. @@ -11928,94 +12680,96 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf * graceful"; } - rpc clear-bgp-vrf-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf *"; description "Specify a VRF. Clear all peers and all routes from the BGP table. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf *"; } - rpc clear-bgp-vrf-ip-addr-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf graceful"; description "Specify a VRF. Clear with a hard reset and a graceful restart. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf graceful"; } - rpc clear-bgp-vrf-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf long-lived-stale"; description "Specify a VRF. Clear long-lived-stale routes. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf long-lived-stale"; } - rpc clear-bgp-vrf-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf "; description - "Specify a VRF. - "; + "Specify a VRF.\n"; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf "; } - rpc clear-bgp-vrf-as-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as graceful"; description "Specify a VRF. Clear peers in a specific AS. @@ -12023,42 +12777,44 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as graceful"; } - rpc clear-bgp-vrf-as { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as "; description "Specify a VRF. Clear peers in a specific AS. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as "; } - rpc clear-bgp-vrf-external-graceful { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external graceful"; description "Specify a VRF. Clear all external peers. @@ -12066,32 +12822,32 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external graceful"; } - rpc clear-bgp-vrf-external { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external"; description "Specify a VRF. Clear all external peers. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external"; } - rpc clear-bgp-vrf-afi-safi-all-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf * soft in prefix-filter"; description "Specify a VRF. Clear all peers and all routes from the BGP table. @@ -12101,21 +12857,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf * soft in prefix-filter"; } - rpc clear-bgp-vrf-afi-safi-all-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf * soft in"; description "Specify a VRF. Clear all peers and all routes from the BGP table. @@ -12124,21 +12881,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf * soft in"; } - rpc clear-bgp-vrf-afi-safi-all-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf * soft out"; description "Specify a VRF. Clear all peers and all routes from the BGP table. @@ -12147,21 +12905,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf * soft out"; } - rpc clear-bgp-vrf-afi-safi-all-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf * soft"; description "Specify a VRF. Clear all peers and all routes from the BGP table. @@ -12169,47 +12928,50 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf * soft"; } - rpc clear-bgp-vrf-afi-safi-ip-addr-long-lived-stale { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf long-lived-stale"; description "Specify a VRF. Clear long-lived-stale routes. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf long-lived-stale"; } - rpc clear-bgp-vrf-afi-safi-ip-addr-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf soft in prefix-filter"; description "Specify a VRF. Soft reconfig. @@ -12218,26 +12980,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf soft in prefix-filter"; } - rpc clear-bgp-vrf-afi-safi-ip-addr-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf soft in"; description "Specify a VRF. Soft reconfig. @@ -12245,26 +13009,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf soft in"; } - rpc clear-bgp-vrf-afi-safi-ip-addr-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf soft out"; description "Specify a VRF. Soft reconfig. @@ -12272,52 +13038,56 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf soft out"; } - rpc clear-bgp-vrf-afi-safi-ip-addr-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf soft"; description "Specify a VRF. Soft reconfig. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf soft"; } - rpc clear-bgp-vrf-afi-safi-as-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as soft in prefix-filter"; description "Specify a VRF. Clear peers in a specific AS. @@ -12327,26 +13097,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as soft in prefix-filter"; } - rpc clear-bgp-vrf-afi-safi-as-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as soft in"; description "Specify a VRF. Clear peers in a specific AS. @@ -12355,26 +13127,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as soft in"; } - rpc clear-bgp-vrf-afi-safi-as-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as soft out"; description "Specify a VRF. Clear peers in a specific AS. @@ -12383,26 +13157,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as soft out"; } - rpc clear-bgp-vrf-afi-safi-as-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf as soft"; description "Specify a VRF. Clear peers in a specific AS. @@ -12410,73 +13186,78 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf as-number { - mandatory true; type as-number; - description "AS number"; + mandatory true; + description + "AS number"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf as soft"; } - rpc clear-bgp-vrf-afi-safi-dampening-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf dampening "; description "Specify a VRF. Clear route flap dampening information. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf dampening "; } - rpc clear-bgp-vrf-afi-safi-dampening { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf dampening"; description "Specify a VRF. Clear route flap dampening information. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf dampening"; } - rpc clear-bgp-vrf-afi-safi-external-soft-in-prefix-filter { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external soft in prefix-filter"; description "Specify a VRF. Clear all external peers. @@ -12486,21 +13267,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external soft in prefix-filter"; } - rpc clear-bgp-vrf-afi-safi-external-soft-in { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external soft in"; description "Specify a VRF. Clear all external peers. @@ -12509,21 +13291,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external soft in"; } - rpc clear-bgp-vrf-afi-safi-external-soft-out { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external soft out"; description "Specify a VRF. Clear all external peers. @@ -12532,21 +13315,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external soft out"; } - rpc clear-bgp-vrf-afi-safi-external-soft { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf external soft"; description "Specify a VRF. Clear all external peers. @@ -12554,104 +13338,112 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf external soft"; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-ip-addr-ipv4-mask { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics "; description "Specify a VRF. Clear flap statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } leaf ipv4-mask { - mandatory true; type ipv4-netmask; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics "; description "Specify a VRF. Clear flap statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor address to clear"; + mandatory true; + description + "BGP neighbor address to clear"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-ipv4-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics "; description "Specify a VRF. Clear flap statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv4-prefix { - mandatory true; type inet:ipv4-prefix; - description "IPv4 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv4 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-regexp { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics regexp "; description "Specify a VRF. Clear flap statistics. @@ -12659,26 +13451,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf regexp-pattern { - mandatory true; type string; - description "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; + mandatory true; + description + "A regular expression to match the BGP AS paths. Use 'ctrl-v ?' to enter '?'"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics regexp "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-route-policy { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics route-policy "; description "Specify a VRF. Clear flap statistics. @@ -12686,47 +13480,50 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf route-policy-name { - mandatory true; type string; - description "Route Policy name"; + mandatory true; + description + "Route Policy name"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics route-policy "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics"; description "Specify a VRF. Clear flap statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics"; } - rpc clear-bgp-vrf-afi-safi-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf nexthop performance-statistics"; description "Specify a VRF. Clear nexthop. @@ -12734,21 +13531,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf nexthop performance-statistics"; } - rpc clear-bgp-vrf-afi-safi-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf nexthop registration "; description "Specify a VRF. Clear nexthop. @@ -12756,68 +13554,72 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf nexthop registration "; } - rpc clear-bgp-vrf-afi-safi-self-originated { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf self-originated"; description "Specify a VRF. Clear redistributed, network and aggregate routes originated here. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf self-originated"; } - rpc clear-bgp-vrf-afi-safi-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf shutdown"; description "Specify a VRF. Clear all peers which were shut down due to low memory. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf shutdown"; } - rpc clear-bgp-vrf-afi-safi-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq address-family update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12827,21 +13629,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq address-family update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq address-family"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12850,21 +13653,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq address-family"; } - rpc clear-bgp-vrf-afi-safi-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor refresh update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12875,26 +13679,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor refresh update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor refresh"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12904,26 +13710,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor refresh"; } - rpc clear-bgp-vrf-afi-safi-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12933,26 +13741,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12961,26 +13771,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor "; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -12991,31 +13803,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13025,31 +13840,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group "; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13060,31 +13878,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13094,31 +13915,34 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group "; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13128,26 +13952,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group update-parent"; } - rpc clear-bgp-vrf-afi-safi-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13156,78 +13982,84 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group "; } - rpc clear-bgp-vrf-afi-safi-dampening-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf dampening "; description "Specify a VRF. Clear route flap dampening information. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear dampening information"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear dampening information"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf dampening "; } - rpc clear-bgp-vrf-afi-safi-flap-statistics-ipv6-prefix { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf flap-statistics "; description "Specify a VRF. Clear flap statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf afi-safi-name { - mandatory true; type afi-safi-type; - description "AFI and SAFI"; + mandatory true; + description + "AFI and SAFI"; } leaf ipv6-prefix { - mandatory true; type inet:ipv6-prefix; - description "IPv6 Network and mask or masklength to clear flap statistics"; + mandatory true; + description + "IPv6 Network and mask or masklength to clear flap statistics"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf flap-statistics "; } - rpc clear-bgp-vrf-nexthop-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf nexthop performance-statistics"; description "Specify a VRF. Clear nexthop. @@ -13235,16 +14067,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf nexthop performance-statistics"; } - rpc clear-bgp-vrf-nexthop-registration-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf nexthop registration "; description "Specify a VRF. Clear nexthop. @@ -13252,21 +14084,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Nexthop address"; + mandatory true; + description + "Nexthop address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf nexthop registration "; } - rpc clear-bgp-vrf-peer-drops-all { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf peer-drops *"; description "Specify a VRF. Clear established/dropped counters for a peer. @@ -13274,69 +14107,70 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf peer-drops *"; } - rpc clear-bgp-vrf-peer-drops-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf peer-drops "; description "Specify a VRF. Clear established/dropped counters for a peer. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "BGP neighbor IP address"; + mandatory true; + description + "BGP neighbor IP address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf peer-drops "; } - rpc clear-bgp-vrf-performance-statistics { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf performance-statistics"; description "Specify a VRF. Clear performance statistics. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf performance-statistics"; } - rpc clear-bgp-vrf-shutdown { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf shutdown"; description "Specify a VRF. Clear all peers which were shut down due to low memory. "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf shutdown"; } - rpc clear-bgp-vrf-update-outq-address-family-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq address-family update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13346,16 +14180,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq address-family update-parent"; } - rpc clear-bgp-vrf-update-outq-address-family { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq address-family"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13364,16 +14198,16 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq address-family"; } - rpc clear-bgp-vrf-update-outq-neighbor-ip-addr-refresh-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor refresh update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13384,21 +14218,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor refresh update-parent"; } - rpc clear-bgp-vrf-update-outq-neighbor-ip-addr-refresh { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor refresh"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13408,21 +14243,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor refresh"; } - rpc clear-bgp-vrf-update-outq-neighbor-ip-addr-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13432,21 +14268,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor update-parent"; } - rpc clear-bgp-vrf-update-outq-neighbor-ip-addr { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq neighbor "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13455,21 +14292,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf ip-addr { - mandatory true; type inet:ip-address; - description "Neighbor address"; + mandatory true; + description + "Neighbor address"; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq neighbor "; } - rpc clear-bgp-vrf-update-outq-update-group-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13480,26 +14318,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-vrf-update-outq-update-group-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13509,26 +14349,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf sub-group { - mandatory true; type update-group-id; - description "Sub-group process ID "; + mandatory true; + description + "Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group "; } - rpc clear-bgp-vrf-update-outq-update-group-sub-group-refresh-sub-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13539,26 +14381,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group update-parent"; } - rpc clear-bgp-vrf-update-outq-update-group-sub-group-refresh-sub-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group sub-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13568,26 +14412,28 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } leaf refresh-sub-group { - mandatory true; type refresh-sub-group-id; - description "Refresh Sub-group process ID "; + mandatory true; + description + "Refresh Sub-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group sub-group "; } - rpc clear-bgp-vrf-update-outq-update-group-update-parent { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group update-parent"; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13597,21 +14443,22 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group update-parent"; } - rpc clear-bgp-vrf-update-outq-update-group { - csc:xr-task "bgp"; - csc:cli-command "clear bgp vrf update outq update-group "; description "Specify a VRF. Clear Update information (Do NOT execute without cisco support)(cisco-support). @@ -13620,16 +14467,19 @@ module Cisco-IOS-XR-ipv4-bgp-act { "; input { leaf vrf-all { - mandatory true; type vrf-name; - description "VRF name or all"; + mandatory true; + description + "VRF name or all"; } leaf update-group { - mandatory true; type update-group-id; - description "Update-group process ID "; + mandatory true; + description + "Update-group process ID "; } } + csc:xr-task "bgp"; + csc:cli-command "clear bgp vrf update outq update-group "; } - } diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-cfg.yang new file mode 100644 index 0000000..344bc64 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-cfg.yang @@ -0,0 +1,5988 @@ +module Cisco-IOS-XR-ipv4-bgp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-cfg"; + prefix ipv4-bgp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ipv4-bgp-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-infra-rsi-cfg { + prefix a1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-bgp package configuration. + + This module contains definitions + for the following management objects: + asn-format: Autonomous system number format + bgp: bgp + bmp-server-all: bmp server all + bmp-servers: bmp servers + + This YANG module augments the + Cisco-IOS-XR-infra-rsi-cfg, + Cisco-IOS-XR-snmp-agent-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-31 { + description + "Fixed missing augmentation from multiple MDA parent."; + } + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-06-01 { + description + "Revision description string."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-08-27 { + description + "IOS XR 5.3.2 revision."; + } + + typedef Bgp-mvpn-sfs-select { + type enumeration { + enum "all-paths" { + value 1; + description + "Select all paths as single forwarder PE"; + } + enum "highest-ip-address" { + value 2; + description + "Select PE with highest address as single + forwarder PE"; + } + } + description + "Bgp mvpn sfs select"; + } + + typedef Bgp-nbrgr { + type enumeration { + enum "true" { + value 0; + description + "NBR has enabled Graceful Restart capability"; + } + enum "false" { + value 1; + description + "NBR has disabled Graceful Restart capability"; + } + } + description + "Bgp nbrgr"; + } + + typedef Bmp-policy-select { + type enumeration { + enum "post-policy" { + value 2; + description + "Pickup routes after policy application"; + } + } + description + "Bmp policy select"; + } + + typedef Bgp-default-metric-range { + type uint32 { + range "0..4294967295"; + } + description + "Bgp default metric range"; + } + + typedef Bgp-ebgp-send-dmz-enable-mode { + type enumeration { + enum "disable" { + value 0; + description + "Disable Mode - Prevent inheritance"; + } + enum "default" { + value 1; + description + "Default Mode - Send dmz link bandwidth value to + ebgp neighbor"; + } + enum "cumulative" { + value 2; + description + "Strict Mode - Send cumulative dmz link + bandwidth value to ebgp neighbor"; + } + } + description + "Bgp ebgp send dmz enable mode"; + } + + typedef Bgp-signal { + type enumeration { + enum "bgp-disable" { + value 1; + description + "Signalling BGP disable"; + } + enum "ldp-disable" { + value 2; + description + "Signalling LDP disable"; + } + } + description + "Bgp signal"; + } + + typedef Bgp-vrf-route-target { + type enumeration { + enum "as" { + value 0; + description + "AS format RT"; + } + enum "ipv4-address" { + value 1; + description + "IPv4 address format RT"; + } + enum "four-byte-as" { + value 2; + description + "4-byte AS format RT"; + } + } + description + "Bgp vrf route target"; + } + + typedef Bgp-rnh-install-format { + type enumeration { + enum "ext-comm" { + value 0; + description + "Install RNH as opaque and extcomm"; + } + enum "ext-comm-only" { + value 1; + description + "Install RNH as extcomm only"; + } + } + description + "Bgp rnh install format"; + } + + typedef Bgp-bfd-enable-mode { + type enumeration { + enum "disable" { + value 0; + description + "Disable Mode - Prevent inheritance"; + } + enum "default" { + value 1; + description + "Default Mode - Default BFD behavior"; + } + enum "strict" { + value 2; + description + "Strict Mode - Hold down adj until BFD session + up"; + } + } + description + "Bgp bfd enable mode"; + } + + typedef Route-target-as-index { + type uint32 { + range "0..4294967295"; + } + description + "Route target as index"; + } + + typedef Bmp-route-direction { + type enumeration { + enum "inbound" { + value 1; + description + "Pickup routes at inbound direction from peer"; + } + } + description + "Bmp route direction"; + } + + typedef Bgp-send-mcast-attr-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable SendMcastAttr"; + } + enum "disable" { + value 2; + description + "Disable SendMcastAttr"; + } + } + description + "Bgp send mcast attr cfg"; + } + + typedef Bgp-aigp-cfg-poi { + type enumeration { + enum "pre-best-path" { + value 1; + description + "AIGP Pre-bestpath POI"; + } + enum "igp-cost" { + value 2; + description + "AIGP igp-cost POI"; + } + } + description + "Bgp aigp cfg poi"; + } + + typedef Bgp-flowspec-validation-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable Flowspec validation"; + } + enum "disable" { + value 2; + description + "Disable Flowspec validation"; + } + enum "redirect-nexhop-disable" { + value 3; + description + "Disable Flowspec redirect nexthop validation"; + } + } + description + "Bgp flowspec validation cfg"; + } + + typedef Route-target-addr-index { + type uint32 { + range "0..65535"; + } + description + "Route target addr index"; + } + + typedef Bgp-orf { + type enumeration { + enum "none" { + value 0; + description + "No capability to send or receive"; + } + enum "receive" { + value 1; + description + "Receive ORF capability"; + } + enum "send" { + value 2; + description + "Send ORF capability"; + } + enum "both" { + value 3; + description + "Send and receive ORF capability"; + } + } + description + "Bgp orf"; + } + + typedef Bgp-asn { + type enumeration { + enum "as-plain" { + value 1; + description + "AS plain format"; + } + enum "asdot" { + value 2; + description + "AS dot format"; + } + } + description + "Bgp asn"; + } + + typedef Bgp-rpki-transport { + type enumeration { + enum "tcp" { + value 0; + description + "TCP Transport"; + } + enum "ssh" { + value 1; + description + "SSH Transport"; + } + } + description + "Bgp rpki transport"; + } + + typedef Bgp-reorg-opt { + type enumeration { + enum "bgp-cfg-adv" { + value 1; + description + "Advertise translated routes"; + } + enum "bgp-cfg-adv-reorg" { + value 2; + description + "Advertise Reorig routes"; + } + enum "bgp-cfg-adv-disable" { + value 3; + description + "Disable adv of routes"; + } + enum "bgp-cfg-adv-local" { + value 4; + description + "Advertise local routes"; + } + enum "bgp-cfg-adv-def-vrf-imp-disable" { + value 5; + description + "Disable adv of Def VRF Imported routes"; + } + enum "bgp-cfg-adv-vrf-re-imp-disable" { + value 6; + description + "Disable adv of VRF ReImported routes"; + } + } + description + "Bgp reorg opt"; + } + + typedef Bgp-af-encapsulation { + type enumeration { + enum "vx-lan" { + value 1; + description + "VxLAN encapsulation type"; + } + } + description + "Bgp af encapsulation"; + } + + typedef Bgp-aigp-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable AIGP"; + } + enum "disable" { + value 2; + description + "Disable AIGP"; + } + } + description + "Bgp aigp cfg"; + } + + typedef Bgp-route-distinguisher { + type enumeration { + enum "auto" { + value 1; + description + "Automatically assigned"; + } + enum "as" { + value 2; + description + "AS format RD"; + } + enum "four-byte-as" { + value 3; + description + "4-byte AS format RD"; + } + enum "ipv4-address" { + value 4; + description + "IPv4 address format RD"; + } + } + description + "Bgp route distinguisher"; + } + + typedef Bgp-adv-rt { + type enumeration { + enum "bgp-regular-rt" { + value 0; + description + "Regular RT type"; + } + enum "bgp-stitching-rt" { + value 1; + description + "Stitching RT type"; + } + } + description + "Bgp adv rt"; + } + + typedef Bgp-tcp-mode { + type enumeration { + enum "either" { + value 0; + description + "Either active or passive mode"; + } + enum "active-only" { + value 1; + description + "Active mode only"; + } + enum "passive-only" { + value 2; + description + "Passive mode only"; + } + } + description + "Bgp tcp mode"; + } + + typedef Bgp-site-of-origin { + type enumeration { + enum "as" { + value 0; + description + "AS format SoO"; + } + enum "ipv4-address" { + value 1; + description + "IPv4 address format SoO"; + } + enum "four-byte-as" { + value 2; + description + "4-byte AS format SoO"; + } + } + description + "Bgp site of origin"; + } + + typedef Bgp-cluster-id { + type enumeration { + enum "number" { + value 1; + description + "Number"; + } + enum "ipv4-address" { + value 2; + description + "IPv4 Address"; + } + } + description + "Bgp cluster id"; + } + + grouping ADVERTISE-DISABLE { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-disable { + description + "Disable Advertise Of Routes to the peer"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping TABLE-POLICY { + description + "Common node of global-af, vrf-global-af"; + leaf table-policy { + type string; + description + "Configure policy for installation of routes to + RIB"; + } + } + + grouping MAXIMUM-PREFIXES { + description + "Common node of global-af, vrf-global-afCommon + node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container maximum-prefixes { + presence "Indicates a maximum-prefixes node is configured."; + description + "Maximum number of prefixes to accept from this + peer"; + leaf prefix-limit { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Maximum prefixes limit"; + } + leaf warning-percentage { + type uint32 { + range "1..100"; + } + default "75"; + description + "Threshold value (%) at which to generate a + warning message."; + } + leaf warning-only { + type boolean; + default "false"; + description + "TRUE to only give a warning message when limit + is exceeded. FALSE to accept max prefix limit + only."; + } + leaf restart-time { + type uint32 { + range "0..65535"; + } + default "0"; + description + "Restart interval"; + } + leaf discard-extra-paths { + type boolean; + default "false"; + description + "Discard extra paths when limit is exceeded"; + } + } + } + + grouping DISTANCE { + description + "Common node of global-af, vrf-global-af"; + container distance { + description + "Define an administrative distance"; + leaf external-routes { + type uint32 { + range "1..255"; + } + default "20"; + description + "Distance for routes external to the AS"; + } + leaf internal-routes { + type uint32 { + range "1..255"; + } + default "200"; + description + "Distance for routes internal to the AS"; + } + leaf local-routes { + type uint32 { + range "1..255"; + } + default "200"; + description + "Distance for local routes"; + } + } + } + + grouping UPDATE-SOURCE-INTERFACE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf update-source-interface { + type xr:Interface-name; + description + "Select an interface to configure"; + } + } + + grouping MULTI-PATH-AS-PATH-IGNORE-ONWARDS { + description + "Common node of global, vrf-global"; + leaf multi-path-as-path-ignore-onwards { + type empty; + description + "Change default multi-route selection criteria to + ignore everything onwards as-path check"; + } + } + + grouping PROPAGATE-DMZ-LINK-BANDWIDTH { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf propagate-dmz-link-bandwidth { + type boolean; + description + "TRUE to propagate DMZ link bandwidth. FALSE to + not propagate and to prevent inheritance from a + parent"; + } + } + + grouping DISABLE-AUTO-SOFT-RESET { + description + "Common node of global, vrf-global"; + leaf disable-auto-soft-reset { + type empty; + description + "Disable automatic soft peer reset on policy + reconfiguration"; + } + } + + grouping MSG-LOG-IN { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container msg-log-in { + description + "Message log inbound"; + leaf msg-buf-count { + type uint32 { + range "1..100"; + } + description + "Inbound message log buffer size"; + } + leaf msg-log-disable { + type boolean; + description + "Disable inbound message logging"; + } + leaf msg-log-inherit-disable { + type boolean; + description + "TRUE, to prevent this entity from having a + inbound message logging if parent has one"; + } + } + } + + grouping DISABLE-ENFORCE-FIRST-AS { + description + "Common node of global, vrf-global"; + leaf disable-enforce-first-as { + type empty; + description + "Disable enforce the first AS for EBGP routes"; + } + } + + grouping ROUTE-TARGET-TABLE { + description + "Common node of import-route-targets, + export-route-targets"; + container route-targets { + description + "Route target table"; + list route-target { + must "as-or-four-byte-as or ipv4-address" { + description + "AS-or-FourByteAS or IPV4Address must be + present."; + } + key "type"; + description + "Route target"; + leaf type { + type Bgp-vrf-route-target; + description + "Type of RT"; + } + list as-or-four-byte-as { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + key "as-xx as as-index stitching-rt"; + description + "as or four byte as"; + leaf as-xx { + type uint32; + description + "AS number"; + } + leaf as { + type uint32 { + range "1..4294967295"; + } + description + "AS number"; + } + leaf as-index { + type Route-target-as-index; + description + "AS number Index"; + } + leaf stitching-rt { + type uint32 { + range "0..1"; + } + description + "Stitching RT"; + } + } + list ipv4-address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + key "address address-index stitching-rt"; + description + "ipv4 address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP address"; + } + leaf address-index { + type Route-target-addr-index; + description + "IP address Index"; + } + leaf stitching-rt { + type uint32 { + range "0..1"; + } + description + "Stitching RT"; + } + } + } + } + } + + grouping REMOTE-AS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container remote-as { + description + "Set remote AS"; + leaf as-xx { + type dt1:Bgp-as-range; + description + "xx of AS number xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + description + "yy of AS number xx.yy"; + } + } + } + + grouping ADDITIONAL-PATHS-SEND { + description + "Common node of global-af, vrf-global-af"; + leaf additional-paths-send { + type dt1:Bgp-af-additional-paths-cfg; + description + "Advertise additional paths Send capability"; + } + } + + grouping UPDATE-IN-FILTERING { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container update-in-filtering { + description + "Inbound update filtering"; + container update-in-filtering-message-buffers { + presence "Indicates a update-in-filtering-message-buffers node is configured."; + description + "Message buffers to store filtered updates"; + leaf number-of-buffers { + type uint32 { + range "0..25"; + } + mandatory true; + description + "Number of message buffers"; + } + leaf non-circular-buffer { + type boolean; + mandatory true; + description + "TRUE to configure non-circular buffer"; + } + } + leaf enable { + type empty; + description + "Configure inbound update filtering"; + } + leaf update-in-filtering-attribute-filter-group { + type string; + description + "Attribute-filter group name for update + filtering"; + } + leaf update-in-filtering-syslog-disable { + type empty; + description + "Disable inbound update filtering syslog + messages"; + } + } + } + + grouping SHUTDOWN { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf shutdown { + type boolean; + description + "TRUE to shutdown this entity, FALSE to prevent + this entity from being shutdown even if the + parent is."; + } + } + + grouping BMP-ACTIVATE-TABLE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container bmp-activates { + description + "Enable BMP logging for this neighbor"; + list bmp-activate { + key "server-id"; + description + "Enable BMP logging for this particular server"; + leaf server-id { + type uint32 { + range "1..8"; + } + description + "BMP Server ID"; + } + } + } + } + + grouping ADVERTISE-VRF-IMP-DISABLE-V4 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-vrf-imp-disable-v4 { + description + "Disable Advertise Of VRF ReImported Routes"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf adv-option { + type Bgp-reorg-opt; + description + "Advertise option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping ADVERTISE-VRF-IMP-DISABLE-V6 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-vrf-imp-disable-v6 { + description + "Disable Advertise Of VRF ReImported Routes"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf adv-option { + type Bgp-reorg-opt; + description + "Advertise option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping SITE-OF-ORIGIN { + description + "Common node of neighbor-group-af, vrf-neighbor-af + , af-group-af"; + container site-of-origin { + description + "Site-of-Origin extended community associated + with the neighbor"; + leaf type { + type Bgp-site-of-origin; + description + "Type of Extended community"; + } + leaf as-xx { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-as-range; + description + "AS number"; + } + leaf as { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-as-range; + description + "AS number"; + } + leaf as-index { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-extcomm-asn-index; + description + "AS number Index"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IP address"; + } + leaf address-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type dt1:Bgp-extcomm-v4-addr-index; + description + "IP address Index"; + } + } + } + + grouping ROUTE-POLICY-OUT { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf route-policy-out { + type string; + description + "Route policy name to apply to outbound routes"; + } + } + + grouping ADVERTISE-V4 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-v4 { + description + "Advertise Translated Routes to the peer"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping ADVERTISE-V6 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-v6 { + description + "Advertise Translated Routes to the peer"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping DEFAULT-ORIGINATE { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container default-originate { + description + "Originate default route to this neighbor"; + leaf enable { + type boolean; + default "false"; + description + "FALSE to prevent default-originate from, being + inherited from a parent. TRUE otherwise."; + } + leaf route-policy-name { + type string; + description + "Route policy name to specify criteria to + originate default."; + } + } + } + + grouping IDLE-WATCH-TIME { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf idle-watch-time { + type uint32 { + range "30..1800"; + } + units "second"; + description + "Time to wait for deleteing IDLE state Dynamic + peer"; + } + } + + grouping TIMERS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container timers { + description + "BGP per neighbor timers."; + leaf keepalive-interval { + type uint32 { + range "0..65535"; + } + default "60"; + description + "Keepalive interval"; + } + leaf hold-time { + type uint32 { + range "0..65535"; + } + default "180"; + description + "Hold time. Specify 0 to disable + keepalives/hold time"; + } + leaf min-accept-hold-time { + type uint32 { + range "0..65535"; + } + default "3"; + description + "Minimum acceptable hold time. Specify 0 to + disable keepalives/hold time"; + } + } + } + + grouping NEXT-HOP-MPLS-FWD-IBGP { + description + "Common node of global, vrf-global"; + leaf next-hop-mpls-fwd-ibgp { + type empty; + description + "Enable mpls forwarding path for ibgp learnt + nexthops"; + } + } + + grouping DISABLE-FAST-EXTERNAL-FALLOVER { + description + "Common node of global, vrf-global"; + leaf disable-fast-external-fallover { + type empty; + description + "Disable immediate reset session if a link to a + directly connected external peer goes down"; + } + } + + grouping SEND-COMMUNITY-EBGP { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf send-community-ebgp { + type boolean; + description + "TRUE to send communities to the external + neighbor/neighbor-group/af-group. FALSE not to + send and to prevent inheritance from a parent"; + } + } + + grouping ADDITIONAL-PATHS-RECEIVE-CAPABILITY { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf additional-paths-receive-capability { + type dt1:Bgp-nbr-cap-additional-paths-cfg; + description + "Advertise additional paths Receive capability"; + } + } + + grouping SEND-EXT-COMMUNITY-EBGP { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf send-ext-community-ebgp { + type boolean; + description + "TRUE to send extended communities to the + external neighbor/neighbor-group/af-group. + FALSE not to send and to prevent inheritance + from a parent"; + } + } + + grouping AF-GROUP { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af"; + leaf af-group { + type string; + description + "Inherit configuration for this address-family + from an AF-group"; + } + } + + grouping ROUTE-POLICY-IN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf route-policy-in { + type string; + description + "Route policy name to apply to inbound routes"; + } + } + + grouping LABEL-MODE { + description + "Common node of global-af, vrf-global-af"; + container label-mode { + description + "BGP 6PE/MPLS-VPN label allocation mode"; + leaf label-allocation-mode { + type string; + description + "Label allocation mode: per-ce Set per CE label + mode, per-vrf Set per VRF label mode, + per-prefix Set per Prefix label mode (for + MPLS-VPN only)"; + } + leaf route-policy-name { + type string; + description + "Label mode route policy name"; + } + } + } + + grouping APP-ROUTE-TABLE { + description + "Common node of global-af, vrf-global-af"; + container application-routes { + description + "Redistribute information for Application routes."; + list application-route { + key "instance-name"; + description + "Redistribute application routes"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OnePK application name"; + } + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + } + + grouping DEFAULT-INFO-ORIGINATE { + description + "Common node of global, vrf-global"; + leaf default-info-originate { + type empty; + description + "Control distribution of default information"; + } + } + + grouping ENFORCE-FIRST-AS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf enforce-first-as { + type boolean; + description + "TRUE to enforce first AS; FALSE to not enforce + first AS."; + } + } + + grouping SOFT-RECONFIGURATION { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container soft-reconfiguration { + description + "Enable/disable inbound soft reconfiguration for + this neighbor/neighbor-group/af-group"; + leaf inbound-soft { + type boolean; + default "false"; + description + "FALSE to prohibit inbound soft reconfiguration. + TRUE otherwise."; + } + leaf soft-always { + type boolean; + default "false"; + description + "TRUE to always use soft reconfig, even if route + refresh is supported. FALSE otherwise."; + } + } + } + + grouping NEIGHBOR-GRACEFUL-RESTART { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf neighbor-graceful-restart { + type Bgp-nbrgr; + description + "TRUE to Enable graceful restart supportfor + neighbor. FALSE to disable graceful restart + support for neighbor."; + } + } + + grouping ADVERTISE-DEF-IMP-DISABLE-V4 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-def-imp-disable-v4 { + description + "Disable Advertise Of Default VRF Imported Routes"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf adv-option { + type Bgp-reorg-opt; + description + "Advertise option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping ADVERTISE-DEF-IMP-DISABLE-V6 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-def-imp-disable-v6 { + description + "Disable Advertise Of Default VRF Imported Routes"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf adv-option { + type Bgp-reorg-opt; + description + "Advertise option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping LOCAL-ADDRESS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container local-address { + description + "Local ip address"; + leaf local-address-disable { + type boolean; + description + "TRUE to prevent this entity from having a local + address if the parent has one.FALSE to specify + local ip address"; + } + leaf local-ip-address { + when "../local-address-disable = 'false'" { + description + "../LocalAddressDisable = 0"; + } + type inet:ip-address-no-zone; + description + "Local ip address for neighbor"; + } + } + } + + grouping AS-OVERRIDE { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf as-override { + type boolean; + default "true"; + description + "TRUE to override matching AS-number while + sending update. FALSE to prevent as-override + from being inherited from the parent"; + } + } + + grouping IGNORE-CONNECTED-CHECK-EBGP { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-afCommon node of + neighbor-group, neighbor, vrf-neighbor, + session-group"; + leaf ignore-connected-check-ebgp { + type boolean; + description + "TRUE to disable the connected nexthop check for + this peer.FALSE to enable the connected nexthop + check for this peer."; + } + } + + grouping REMOTE-AS-LIST { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf remote-as-list { + type string; + description + "Remote-as-list group name"; + } + } + + grouping SEND-MULTICAST-ATTR { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-af"; + leaf send-multicast-attr { + type Bgp-send-mcast-attr-cfg; + description + "Config send multicast attribute for this + neighbor"; + } + } + + grouping ENCAPSULATION-TYPE { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-afCommon node of neighbor-group-af, + neighbor-af, vrf-neighbor-af, af-group-af"; + leaf encapsulation-type { + type Bgp-af-encapsulation; + description + "Encapsulation type for this neighbor"; + } + } + + grouping OPTIMAL-ROUTE-REFLECTOR-GROUP-TABLE { + description + "Common node of global-af, vrf-global-af"; + container optimal-route-reflector-groups { + description + "Table of multiple ORR groups"; + list optimal-route-reflector-group { + key "group-name"; + description + "Optimal Route Reffelctor group. Each such group + is equivalent to an IGP area"; + leaf group-name { + type xr:Cisco-ios-xr-string; + description + "Name of the ORR group"; + } + leaf primary-root-address { + type inet:ip-address-no-zone; + description + "Primary Root for the ORR group"; + } + leaf secondary-root-address { + type inet:ip-address-no-zone; + description + "Secondary Root for the ORR group"; + } + leaf tertiary-root-address { + type inet:ip-address-no-zone; + description + "Tertiary Root for the ORR group"; + } + } + } + } + + grouping ADVERTISE-PERMANENT-NETWORK { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf advertise-permanent-network { + type empty; + description + "Advertise Permanent Networks to the peer"; + } + } + + grouping BEST-PATH-COST-COMMUNITY { + description + "Common node of global, vrf-global"; + leaf best-path-cost-community { + type empty; + description + "Change default route selection criteria to + ignore cost community comparison"; + } + } + + grouping RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-af"; + leaf rpki-bestpath-origin-as-allow-invalid { + type empty; + description + "RPKI bestpath origin-AS allow invalid"; + } + } + + grouping BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-afCommon node of neighbor-group, + neighbor, session-group"; + leaf rpki-bestpath-origin-as-allow-invalid { + type empty; + description + "RPKI bestpath origin-AS allow invalid"; + } + } + + grouping NEIGHBOR-GRACEFUL-RESTART-TIME { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf neighbor-graceful-restart-time { + type uint32 { + range "1..4095"; + } + units "second"; + default "120"; + description + "Restart time advertised to neighbor"; + } + } + + grouping TOS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container tos { + description + "TOS (Type Of Service)"; + leaf type { + type dt1:Bgp-tos; + description + "Set type of service"; + } + leaf value { + type dt1:Bgp-precedence-dscp; + description + "TOS value to set"; + } + } + } + + grouping NEIGHBOR-CLUSTER-ID { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container neighbor-cluster-id { + description + "Neighbor Cluster-id"; + leaf cluster-id-number { + type uint32 { + range "1..4294967295"; + } + description + "Route-Reflector Cluster ID as 32 bit quantity"; + } + leaf cluster-id-address { + type inet:ipv4-address-no-zone; + description + "Route-Reflector Cluster ID in IPV4 address + format"; + } + } + } + + grouping ACTIVATE { + description + "Common node of neighbor-af, vrf-neighbor-af, + neighbor-group-af"; + leaf activate { + type empty; + description + "Activate an address family for this neighbor. + Deletion of this object causes deletion of all + the objects under + NeighborAF/VRFNeighborAF/NeighborGroupAF + associated with this object."; + } + } + + grouping NEXT-HOP-SELF { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf next-hop-self { + type boolean; + description + "Disable the next hop calculation and insert + your own address in the nexthop field of + advertised routes you learned from the neighbor."; + } + } + + grouping ALLOW-AS-IN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf allow-as-in { + type uint32 { + range "1..10"; + } + default "3"; + description + "Allow as-path with my AS present in it"; + } + } + + grouping ADVERTISE-LOCAL-V4 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-local-v4 { + description + "Advertise Of Local Routes to the peer with + different RT"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping ADVERTISE-LOCAL-V6 { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-local-v6 { + description + "Advertise Of Local Routes to the peer with + different RT"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping BEST-EXTERNAL { + description + "Common node of global-af, vrf-global-af"; + leaf best-external { + type boolean; + description + "TRUE to enable BE FALSE to disable BE + inheritance from a parent"; + } + } + + grouping ATTRIBUTE-DOWNLOAD { + description + "Common node of global-af, vrf-global-af"; + leaf attribute-download { + type empty; + description + "Attribute download configuration"; + } + } + + grouping ADDITIONAL-PATHS-SELECTION { + description + "Common node of global-af, vrf-global-af"; + container additional-paths-selection { + description + "Configure additional paths selection"; + leaf selection { + type dt1:Bgp-af-additional-paths-cfg; + description + "Enable/disable selection "; + } + leaf route-policy-name { + type string; + description + "Route policy for selection"; + } + } + } + + grouping NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf neighbor-af-long-lived-graceful-restart-capable { + type boolean; + default "false"; + description + "TRUE to treat neighbor as Long-lived + Graceful-restart capable. FALSE to rely on + capability negotiation."; + } + } + + grouping BEST-PATH-AS-MULTIPATH-RELAX { + description + "Common node of global, vrf-global"; + leaf best-path-as-multipath-relax { + type empty; + description + "Change default multi-route selection criteria to + relax as-path checking - only require same + aspath length"; + } + } + + grouping UNSAFE-EBGP-POLICY { + description + "Common node of global, vrf-global"; + leaf unsafe-ebgp-policy { + type empty; + description + "If eBGP neighbor is configured without a + route-policy,the routes from that neighbor are + not accepted by default.This knob overrides the + default behavior. When configured,routes from + the eBGP neighbors with no policy are accepted."; + } + } + + grouping GLOBAL-TIMERS { + description + "Common node of global, vrf-global"; + container global-timers { + description + "Adjust routing timers."; + leaf keepalive { + type uint32 { + range "0..65535"; + } + units "second"; + default "60"; + description + "Keepalive interval (seconds)"; + } + leaf hold-time { + type uint32 { + range "0..65535"; + } + units "second"; + default "180"; + description + "Hold time (seconds). Specify 0 to disable + keepalives/hold time"; + } + leaf min-accept-hold-time { + type uint32 { + range "0..65535"; + } + units "second"; + default "3"; + description + "Minimum acceptable hold time (seconds). Specify + 0 to disable keepalives/hold time"; + } + } + } + + grouping NEIGHBOR-GROUP-ADD-MEMBER { + description + "Common node of neighbor, vrf-neighbor"; + leaf neighbor-group-add-member { + type string; + description + "Inherit configuration from a neighbor-group"; + } + } + + grouping MOBILE-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container mobile-routes { + presence "enable mobile-routes"; + description + "Redistribute mobile routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + + grouping LOCAL-PREFERENCE { + description + "Common node of global, vrf-global"; + leaf local-preference { + type uint32 { + range "0..4294967295"; + } + default "100"; + description + "Configure default local preference"; + } + } + + grouping CREATE { + description + "Common node of neighbor-group, session-group"; + leaf create { + type empty; + description + "Create this group. Deletion of this object + causes deletion of all the objects under + NeighborGroup/SessionGroup associated with this + object."; + } + } + + grouping EBGP-SEND-DMZ-ENABLE-MODES { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf ebgp-send-dmz-enable-modes { + type Bgp-ebgp-send-dmz-enable-mode; + description + "Default mode, Cumulative mode or Disable to + prevent inheritance from a parent"; + } + } + + grouping SEND-SOCKET-BUFFER-SIZES { + description + "Common node of global, vrf-global"; + container send-socket-buffer-sizes { + description + "set socket parameters"; + leaf socket-send-size { + type uint32 { + range "4096..131072"; + } + units "byte"; + default "24576"; + description + "Send socket buffer size in bytes"; + } + leaf bgp-send-size { + type uint32 { + range "4096..131072"; + } + units "byte"; + default "4096"; + description + "BGP Write buffer size in bytes"; + } + } + } + + grouping RECEIVE-SOCKET-BUFFER-SIZES { + description + "Common node of global, vrf-globalCommon node of + global, vrf-global"; + container receive-socket-buffer-sizes { + description + "Set socket and BGP receive buffer sizes"; + leaf socket-receive-size { + type uint32 { + range "512..131072"; + } + units "byte"; + default "32768"; + description + "Receive socket buffer size in bytes"; + } + leaf bgp-receive-size { + type uint32 { + range "512..131072"; + } + units "byte"; + default "4096"; + description + "BGP Read buffer size in bytes"; + } + } + } + + grouping BFD-ENABLE-MODES { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf bfd-enable-modes { + type Bgp-bfd-enable-mode; + description + "Strict mode, Default mode or Disable to prevent + inheritance from a parent"; + } + } + + grouping RESET-WEIGHT-ON-IMPORT { + description + "Common node of global-af, vrf-global-af"; + leaf reset-weight-on-import { + type boolean; + description + "TRUE to reset weight on import. FALSE to not + reset and to prevent inheritance from a parent"; + } + } + + grouping AGGREGATE-ADDRESS-TABLE { + description + "Common node of global-af, vrf-global-af"; + container aggregate-addresses { + description + "Configure BGP aggregate entries"; + list aggregate-address { + key "aggregate-addr aggregate-prefix"; + description + "Aggregate address configuration"; + leaf aggregate-addr { + type inet:ip-address; + description + "Aggregate in prefix/length format (address + part)"; + } + leaf aggregate-prefix { + type uint16 { + range "0..128"; + } + description + "Aggregate in prefix/length format (prefix + part)"; + } + leaf generate-set-info { + type boolean; + description + "TRUE to generate AS set path information, + FALSE otherwise"; + } + leaf generate-confederation-set-info { + type boolean; + description + "TRUE to generate AS confederation set path + information, FALSE otherwise"; + } + leaf summary-only { + type boolean; + description + "TRUE to filter more specific routes from + updates, FALSEotherwise"; + } + leaf route-policy-name { + type string; + description + "Route policy on which to condition + advertisement, suppression, and attributes"; + } + } + } + } + + grouping EBGP-MULTIHOP { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container ebgp-multihop { + description + "Allow EBGP neighbors not on directly connected + networks"; + leaf max-hop-count { + type uint32 { + range "1..255"; + } + default "255"; + description + "Maximum hop count"; + } + leaf mpls-deactivation { + type boolean; + default "false"; + description + "TRUE to not enable MPLS and NULL rewrite."; + } + } + } + + grouping NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf neighbor-graceful-restart-stalepath-time { + type uint32 { + range "1..4095"; + } + units "second"; + default "360"; + description + "Maximum time to wait for restart of GR capable + peer"; + } + } + + grouping BEST-PATH-AIGP-IGNORE { + description + "Common node of global, vrf-global"; + leaf best-path-aigp-ignore { + type empty; + description + "Change default route selection criteria to + ignore AIGP unless both paths whichare compared + have AIGP attribute"; + } + } + + grouping SESSION-GROUP-ADD-MEMBER { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor"; + leaf session-group-add-member { + type string; + description + "Inherit address-family independent config from a + session-group"; + } + } + + grouping BFD-MULTIPLIER { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf bfd-multiplier { + type uint32 { + range "2..16"; + } + description + "Detection multiplier for BFD sessions created by + BGP"; + } + } + + grouping FLOWSPEC-VALIDATION { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf flowspec-validation { + type Bgp-flowspec-validation-cfg; + description + "Config Flowspec validation for this neighbor"; + } + } + + grouping TTL-SECURITY { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf ttl-security { + type boolean; + description + "TRUE to enable BGP TTL Security. FALSE to not + enable it and to prevent inheritance from a + parent"; + } + } + + grouping BEST-PATH-MED-ALWAYS { + description + "Common node of global, vrf-global"; + leaf best-path-med-always { + type empty; + description + "Change default route selection criteria and + allow comparing of MED from different neighbors"; + } + } + + grouping MAX-PEERS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf max-peers { + type uint32 { + range "1..4096"; + } + description + "Set Maximum Peers in Dynamic Range"; + } + } + + grouping SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf send-community-ebgp-graceful-shutdown { + type boolean; + description + "TRUE to send communities to the external + neighbor/neighbor-group/af-group. FALSE not to + send and to prevent inheritance from a parent"; + } + } + + grouping DISABLE-MSG-LOG { + description + "Common node of global, vrf-global"; + leaf disable-msg-log { + type empty; + description + "Disable inbound and outbound messagelogging for + all neighbors under the vrf"; + } + } + + grouping LOCAL-AS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container local-as { + description + "Specify a local-as number"; + leaf as-xx { + type dt1:Bgp-as-range; + must "../as-yy and not(../disable)"; + description + "xx of AS number xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + must "../as-xx and not(../disable)"; + description + "yy of AS number xx.yy"; + } + leaf no-prepend { + type empty; + must "../as-xx and ../as-yy and not(../disable)"; + description + "Do not prepend Local AS to announcements from + this neighbor"; + } + leaf disable { + type empty; + must "not(../as-xx or ../as-yy or ../no-prepend or ../replace-as or ../dual-as)"; + description + "Disable Local AS and prevent it from being + inherited from a parent"; + } + leaf replace-as { + type empty; + must "../as-xx and ../as-yy and ../no-prepend and not(../disable)"; + description + "Prepend only Local AS to announcements from + this neighbor"; + } + leaf dual-as { + type empty; + must "../as-xx and ../as-yy and ../no-prepend and ../replace-as and not(../disable)"; + description + "Dual-AS mode"; + } + } + } + + grouping LISP-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container lisp-routes { + presence "enable lisp-routes"; + description + "Redistribute lisp routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + } + } + + grouping ADDITIONAL-PATHS-SEND-CAPABILITY { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf additional-paths-send-capability { + type dt1:Bgp-nbr-cap-additional-paths-cfg; + description + "Advertise additional paths Send capability"; + } + } + + grouping L2VPN-SIGNALLING { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-af"; + leaf l2vpn-signalling { + type Bgp-signal; + description + "Disable signalling type on the peer"; + } + } + + grouping DAMPENING { + description + "Common node of global-af, vrf-global-af"; + container dampening { + presence "enable dampening"; + description + "Enable route-flap dampening"; + leaf half-life { + type uint32 { + range "1..45"; + } + units "minute"; + description + "Half-life time for the penalty (minutes)."; + } + leaf reuse-threshold { + type uint32 { + range "1..20000"; + } + description + "Value to start reusing a route."; + } + leaf suppress-threshold { + type uint32 { + range "1..20000"; + } + description + "Value to start suppressing a route."; + } + leaf suppress-time { + type uint32 { + range "1..255"; + } + units "second"; + description + "Maximum duration to suppress a stable route + (seconds)."; + } + leaf route-policy-name { + type string; + description + "Route policy to specify criteria for dampening. + This cannot be specified if any other + parameters are specified."; + } + } + } + + grouping ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST { + description + "Common node of global-af, vrf-global-af"; + leaf advertise-local-labeled-route-safi-unicast { + type dt1:Bgp-advertise-local-labeled-route-cfg; + description + "Enable/disable advertisement of routes with + local-label via Unicast SAFI"; + } + } + + grouping SUBSCRIBER-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container subscriber-routes { + presence "enable subscriber-routes"; + description + "Redistribute subscriber routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + + grouping INTERNAL-VPN-CLIENT-IBGP-CE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf internal-vpn-client-ibgp-ce { + type boolean; + description + "TRUE to preserve the CE path attributes.FALSE to + override CE path attributes."; + } + } + + grouping ACCEPT-ROUTE-LEGACY-RT { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf accept-route-legacy-rt { + type boolean; + description + "TRUE to configure as a accept-route-legacy-RT. + FALSE to prevent accept-route-legacy-RT from + being inherited."; + } + } + + grouping PERMANENT-NETWORK { + description + "Common node of global-af, vrf-global-af"; + leaf permanent-network { + type string; + description + "Route policy for permanent networks"; + } + } + + grouping ENABLE { + description + "Common node of global-af, vrf-global-af"; + leaf enable { + type empty; + description + "Enable the address family. Deletion of this + object causes deletion of all the objects under + GlobalAF/VRFGlobalAF associated with this object + ."; + } + } + + grouping EBGP-RECV-DMZ { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf ebgp-recv-dmz { + type boolean; + description + "TRUE to receive DMZ link bandwidth from ebgp + peer. FALSE to not receive from ebgp peer and to + prevent inheritance from a parent"; + } + } + + grouping ADVERTISEMENT-INTERVAL { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container advertisement-interval { + presence "Indicates a advertisement-interval node is configured."; + description + "Minimum interval between sending BGP routing + updates"; + leaf minimum-interval { + type uint32 { + range "0..600"; + } + units "second"; + mandatory true; + description + "Minimum advertisement interval time, secs part"; + } + leaf minimum-interval-msecs { + type uint32 { + range "0..999"; + } + units "millisecond"; + description + "Minimum advertisement interval time, msecs part"; + } + } + } + + grouping IMPORT { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container import { + description + "Import Reorigination options for Routes from the + peer"; + leaf import-stitching { + type boolean; + description + "TRUE to Import with Stitching RTs, FALSE to + Import with normal RTs"; + } + leaf import-reoriginate { + type boolean; + description + "TRUE to Reoriginate imported routes, FALSE to + not Reoriginate imported routes - not supported"; + } + leaf import-reoriginate-stitching { + type boolean; + description + "TRUE to Reoriginate imported routes with + Stitching RTs, FALSE to Reoriginate imported + routes with normal RTs"; + } + } + } + + grouping ACCEPT-OWN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf accept-own { + type boolean; + description + "Handle self-originated routes with Accept-Own + community. Valid for following neighbor + address-families: VPNv4Unicast, VPNv6Unicast."; + } + } + + grouping ADDITIONAL-PATHS-RECEIVE { + description + "Common node of global-af, vrf-global-af"; + leaf additional-paths-receive { + type dt1:Bgp-af-additional-paths-cfg; + description + "Advertise additional paths Receive capability"; + } + } + + grouping MPLS-ACTIVATED-INTERFACE-TABLE { + description + "Common node of global, vrf-global"; + container mpls-activated-interfaces { + description + "Configure list of MPLS activated interfaces"; + list mpls-activated-interface { + key "interface-name"; + description + "Configure a MPLS activated interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + } + + grouping MULTIPATH { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf multipath { + type empty; + description + "Allow paths from this neighbor to be eligible + for selective multipath"; + } + } + + grouping EIGRP-ROUTE-TABLE { + description + "Common node of global-af, vrf-global-af"; + container eigrp-routes { + description + "Redistribute information for EIGRP routes."; + list eigrp-route { + key "instance-name"; + description + "Redistribute EIGRP routes"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "EIGRP router tag"; + } + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf redist-type { + type xr:Hex-integer; + description + "Redistribution type: 01 for internal routes, + 02 for external routes, Logical combinations + permitted."; + } + } + } + } + + grouping OPTIMAL-ROUTE-REFLECTION-GROUP { + description + "Common node of global-af, vrf-global-afCommon + node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf optimal-route-reflection-group { + type string; + description + "Name of the ORR group this neighbor is going to + be part of"; + } + } + + grouping ROUTE-REFLECTOR-CLIENT { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf route-reflector-client { + type boolean; + description + "TRUE to configure as a route-reflector-client. + FALSE to prevent route-reflector-client from + being inherited."; + } + } + + grouping ADVERTISE-LOCAL-LABELED-ROUTE { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf advertise-local-labeled-route { + type dt1:Bgp-advertise-local-labeled-route-cfg; + description + "Enable/disable advertisement of routes with + local-label"; + } + } + + grouping SESSION-OPEN-MODE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf session-open-mode { + type Bgp-tcp-mode; + default "either"; + description + "TCP mode to be used to establish BGP session"; + } + } + + grouping STATIC-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container static-routes { + presence "enable static-routes"; + description + "Redistribute static routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + + grouping PASSWORD { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container password { + description + "Set or disable a password"; + leaf password-disable { + type boolean; + description + "TRUE to prevent this entity from having a + password even if the parent has one. FALSEto + specify a password"; + } + leaf password { + when "../password-disable = 'false'" { + description + "../PasswordDisable = 0"; + } + type xr:Proprietary-password; + description + "The neighbor password. Leave unspecified when + disabling the password."; + } + } + } + + grouping NEXT-HOP-UNCHANGED-MULTIPATH { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-groupCommon node of + neighbor-group-af, neighbor-af, vrf-neighbor-af, + af-group-af"; + leaf next-hop-unchanged-multipath { + type boolean; + description + "TRUE to disable overwriting of next hop for + multipaths. FALSE to prevent next-hop-unchanged + for multipaths."; + } + } + + grouping NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM { + description + "Common node of global-af, vrf-global-af"; + leaf next-hop-resolution-prefix-length-minimum { + type uint32 { + range "0..128"; + } + default "0"; + description + "Minimum prefix-length for nexthop resolution"; + } + } + + grouping BEST-PATH-AS-PATH-LENGTH { + description + "Common node of global, vrf-global"; + leaf best-path-as-path-length { + type empty; + description + "Change default route selection criteria to + ignore AS path length"; + } + } + + grouping MSG-LOG-OUT { + description + "Common node of global, vrf-globalCommon node of + neighbor-group, neighbor, vrf-neighbor, + session-group"; + container msg-log-out { + description + "Message log outbound"; + leaf msg-buf-count { + type uint32 { + range "1..100"; + } + description + "Outbound message log buffer size"; + } + leaf msg-log-disable { + type boolean; + description + "Disable inbound message logging"; + } + leaf msg-log-inherit-disable { + type boolean; + description + "TRUE, to prevent this entity from having a + outbound message logging if parent has one"; + } + } + } + + grouping ENFORCE-MULTIPLE-LABELS { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf enforce-multiple-labels { + type boolean; + description + "TRUE to enforce multiple labels support."; + } + } + + grouping PREFIX-ORF-POLICY { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-afCommon node of + neighbor-group-af, neighbor-af, vrf-neighbor-af, + af-group-af"; + leaf prefix-orf-policy { + type string; + description + "Prefix ORF policy name for incoming updates"; + } + } + + grouping SOURCED-NETWORK-TABLE { + description + "Common node of global-af, vrf-global-af"; + container sourced-networks { + description + "Specify a network to announce via BGP"; + list sourced-network { + key "network-addr network-prefix"; + description + "Sourced network configuration"; + leaf network-addr { + type inet:ip-address; + description + "Network in prefix/length format (address part)"; + } + leaf network-prefix { + type uint16 { + range "0..128"; + } + description + "Network in prefix/length format (prefix part)"; + } + leaf backdoor { + type boolean; + description + "Specify a BGP backdoor route, default is FALSE"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + } + } + } + + grouping REMOVE-PRIVATE-AS-ENTIRE-AS-PATH { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container remove-private-as-entire-as-path { + presence "Indicates a remove-private-as-entire-as-path node is configured."; + description + "Remove private AS number from outbound updates"; + leaf enable { + type boolean; + mandatory true; + description + "TRUE to remove private AS from outbound updates + . FALSE to prevent remove-private-AS from + being inherited."; + } + leaf entire { + type boolean; + description + "TRUE to remove private AS from outbound updates + if all ASes in aspath areprivate. FALSE to + prevent remove-private-ASfrom being inherited."; + } + } + } + + grouping GRACEFUL-MAINTENANCE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container graceful-maintenance { + description + "Graceful Maintenance mode"; + container graceful-maintenance-local-preference { + description + "Set Local Preference to advertise routes with"; + leaf gshut-loc-pref-disable { + type boolean; + description + "TRUE, to prevent inheritance of Local Pref + value from its parents.FALSE, otherwise"; + } + leaf local-preference { + type uint32 { + range "0..4294967295"; + } + description + "Local Preference Value"; + } + } + container graceful-maintenance-as-prepends { + description + "Number of times to prepend local AS number to + the AS path"; + leaf gshut-prepends-disable { + type boolean; + description + "TRUE, to prevent inheritance of AS Prepends + value from its parents.FALSE, otherwise"; + } + leaf as-prepends { + type uint32 { + range "0..6"; + } + description + "number of times AS prepends"; + } + } + leaf enable { + type empty; + description + "Enter Graceful Maintenance mode to configure + parametrs"; + } + leaf graceful-maintenance-activate { + type boolean; + description + "Initiate the graceful shutdown procedure"; + } + } + } + + grouping NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container neighbor-af-long-lived-graceful-restart-stale-time { + description + "Maximum time to wait before purging long lived + routes"; + leaf stale-time-send { + type uint32 { + range "0..16777215"; + } + units "second"; + default "0"; + description + "Max time (seconds)"; + } + leaf stale-time-accept { + type uint32 { + range "0..16777215"; + } + units "second"; + default "0"; + description + "Max time (seconds)"; + } + } + } + + grouping BFD { + description + "Common node of global, vrf-global"; + container bfd { + description + "BFD configuration"; + leaf detection-multiplier { + type uint32 { + range "2..16"; + } + description + "Detection multiplier for BFD sessions created + by BGP"; + } + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by BGP"; + } + } + } + + grouping ALLOCATE-LABEL { + description + "Common node of global-af, vrf-global-af"; + container allocate-label { + description + "Label allocation policy"; + leaf all { + type boolean; + description + "Whether all nets should be labeled, default is + FALSE"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + } + } + + grouping SEND-BUFFER-SIZE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container send-buffer-size { + description + "Set socket send buffer size and BGP write buffer + size"; + leaf socket-send-size { + type uint32 { + range "4096..131072"; + } + units "byte"; + default "24576"; + description + "Send socket buffer size in bytes"; + } + leaf bgp-send-size { + type uint32 { + range "4096..131072"; + } + units "byte"; + default "4096"; + description + "BGP write buffer size in bytes"; + } + } + } + + grouping BEST-PATH-MED-MISSING { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-groupCommon node of global, + vrf-global"; + leaf best-path-med-missing { + type empty; + description + "Treat missing MED as the least preferred one"; + } + } + + grouping SUPPRESS-ALL-CAPABILITIES { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf suppress-all-capabilities { + type boolean; + description + "TRUE to suppress all capabilities. FALSE to not + suppress and to prevent inheritance from a + parent"; + } + } + + grouping DEFAULT-WEIGHT { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-groupCommon node of + neighbor-group-af, neighbor-af, vrf-neighbor-af, + af-group-af"; + leaf default-weight { + type uint32 { + range "0..65535"; + } + description + "Set default weight for routes from this + neighbor/neighbor-group/af-group"; + } + } + + grouping SUPPRESS-FOUR-BYTE-AS-CAPABILITY { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf suppress-four-byte-as-capability { + type boolean; + description + "TRUE to suppress BGP 4-byte-as capability. + FALSE to not suppress it and to prevent + inheritance from a parent"; + } + } + + grouping ADVERTISE-LOCAL-L2VPN-EVPN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-local-l2vpn-evpn { + description + "Advertise Of Local Routes to the peer with + different RT"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping EGRESS-PEER-ENGINEERING { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf egress-peer-engineering { + type boolean; + description + "TRUE to enable egress peer engineering FALSE to + disable egress peer engineering and to prevent + inheritance from a parent"; + } + } + + grouping BEST-PATH-CONFEDERATION-PATHS { + description + "Common node of global, vrf-global"; + leaf best-path-confederation-paths { + type empty; + description + "Change default route selection criteria and + allow the comparing of MED among confederation + paths"; + } + } + + grouping DYNAMIC-MED-INTERVAL { + description + "Common node of global-af, vrf-global-af"; + leaf dynamic-med-interval { + type uint32 { + range "0..10"; + } + units "minute"; + default "10"; + description + "Update generation delay (in minutes) after a MED + change"; + } + } + + grouping REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container remove-private-as-entire-as-path-inbound { + presence "Indicates a remove-private-as-entire-as-path-inbound node is configured."; + description + "Remove private AS number from inbound updates"; + leaf enable { + type boolean; + mandatory true; + description + "TRUE to remove private AS from inbound updates. + FALSE to prevent remove-private-AS from being + inherited."; + } + leaf entire { + type boolean; + description + "TRUE to remove private AS from inbound updates + if all ASes in aspath areprivate. FALSE to + prevent remove-private-ASfrom being inherited."; + } + } + } + + grouping CONNECTED-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container connected-routes { + presence "enable connected-routes"; + description + "Redistribute connected routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + + grouping IGP-REDIST-INTERNAL { + description + "Common node of global, vrf-global"; + leaf igp-redist-internal { + type empty; + description + "Allow redistribution of iBGP into IGPs + (dangerous)"; + } + } + + grouping AIGP-SEND-MED { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf aigp-send-med { + type Bgp-aigp-cfg; + description + "Enable/Disable sending AIGP in MED "; + } + } + + grouping AIGP { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf aigp { + type Bgp-aigp-cfg; + description + "Enable Accumulated IGP Metric for this neighbor."; + } + } + + grouping ADVERTISE-ORF { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf advertise-orf { + type Bgp-orf; + default "none"; + description + "Advertise ORF capability to the peer"; + } + } + + grouping BFD-MINIMUM-INTERVAL { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf bfd-minimum-interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by BGP"; + } + } + + grouping AIGP-COST-COMMUNITY { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container aigp-cost-community { + description + "Send AIGP value in Cost Community. "; + leaf enable { + type boolean; + description + "TRUE to enable sending cost community, FALSE + otherwise "; + } + leaf cost-community-id { + when "../enable = 1" { + description + "../Enable = "; + } + type uint32 { + range "0..255"; + } + description + "Cost Community ID"; + } + leaf transitive { + when "../enable = 1" { + description + "../Enable = "; + } + type boolean; + description + "True to send transitive cost community FALSE + otherwise"; + } + leaf cost-community-poi-type { + when "../enable = 1" { + description + "../Enable = "; + } + type Bgp-aigp-cfg-poi; + description + "Cost Community POI"; + } + } + } + + grouping DISABLE-AS-PATH-LOOP-CHECK { + description + "Common node of global-af, vrf-global-af"; + leaf disable-as-path-loop-check { + type empty; + description + "Disable outbound AS Path loop check"; + } + } + + grouping BEST-PATH-ROUTER-ID { + description + "Common node of global, vrf-global"; + leaf best-path-router-id { + type empty; + description + "Change default route selection criteria and + compare router-id for identical EBGP paths"; + } + } + + grouping RIP-ROUTES { + description + "Common node of global-af, vrf-global-af"; + container rip-routes { + presence "enable rip-routes"; + description + "Redistribute RIP routes"; + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf not-used { + type uint32 { + range "0..127"; + } + description + "Not used"; + } + } + } + + grouping DESCRIPTION { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + leaf description { + type string; + description + "Up to 80 characters describing this neighbor"; + } + } + + grouping ADVERTISE-L2VPN-EVPN { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + container advertise-l2vpn-evpn { + description + "Advertise Translated Routes to the peer"; + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf reorg-option { + type Bgp-reorg-opt; + description + "Reorigination option"; + } + leaf rt-type { + type Bgp-adv-rt; + description + "RT type"; + } + } + } + + grouping KEYCHAIN { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container keychain { + description + "Set or disable keychain based authentication"; + leaf keychain-disable { + type boolean; + description + "TRUE to prevent this entity from having a + keychain based authentication even if the + parent has one.FALSE to specify a keychain name"; + } + leaf keychain-name { + when "../keychain-disable = 'false'" { + description + "../KeychainDisable = 0"; + } + type string; + description + "Name of the keychain associated with neighbor"; + } + } + } + + grouping RECEIVE-BUFFER-SIZE { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container receive-buffer-size { + description + "Set socket receive buffer size and BGP read + buffer size"; + leaf socket-receive-size { + type uint32 { + range "512..131072"; + } + units "byte"; + default "32768"; + description + "Receive socket buffer size in bytes"; + } + leaf bgp-receive-size { + type uint32 { + range "512..131072"; + } + units "byte"; + default "4096"; + description + "BGP read buffer size in bytes"; + } + } + } + + grouping NEXT-HOP-UNCHANGED { + description + "Common node of neighbor-group-af, neighbor-af, + vrf-neighbor-af, af-group-af"; + leaf next-hop-unchanged { + type boolean; + description + "TRUE to disable overwriting of next hop before + advertising to eBGP peers. FALSE to prevent + next-hop-unchanged from being inherited."; + } + } + + grouping OSPF-ROUTE-TABLE { + description + "Common node of global-af, vrf-global-af"; + container ospf-routes { + description + "Redistribute information for OSPF routes."; + list ospf-route { + key "instance-name"; + description + "Redistribute OSPF routes"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF router tag"; + } + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf redist-type { + type xr:Hex-integer; + description + "Redistribution type: 01 for internal routes, + 02 for external routes of type 1, 04 for + external routes of type 2, 08 for NSSA + external routes of type 1, 10 for NSSA + external routes of type 2, 20 for external + routes, 40 for NSSA external routes. Logical + combinations permitted."; + } + } + } + } + + grouping ROUTER-ID { + description + "Common node of global, vrf-global"; + leaf router-id { + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "Configure Router-id"; + } + } + + grouping DEFAULT-METRIC { + description + "Common node of global, vrf-global"; + leaf default-metric { + type uint32 { + range "1..4294967295"; + } + description + "Default redistributed metric"; + } + } + + grouping RPKI-ORIGIN-AS-VALIDATION-DISABLE { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-af"; + leaf rpki-origin-as-validation-disable { + type empty; + description + "RPKI origin-AS validation disable"; + } + } + + grouping BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE { + description + "Common node of neighbor-group-af, neighbor-af, + af-group-afCommon node of neighbor-group, + neighbor, session-group"; + leaf rpki-origin-as-validation-disable { + type empty; + description + "RPKI origin-AS validation disable"; + } + } + + grouping DISABLE-NEIGHBOR-LOGGING { + description + "Common node of global, vrf-global"; + leaf disable-neighbor-logging { + type empty; + description + "Disable neighbor change logging"; + } + } + + grouping TCPMSS { + description + "Common node of neighbor-group, neighbor, + vrf-neighbor, session-group"; + container tcpmss { + description + "TCP Maximum segment size"; + leaf tcpmss-disable { + type boolean; + description + "TRUE, to prevent inheritance ofTCP MSS + valuefrom its parents.FALSE, otherwise"; + } + leaf mss { + type uint32 { + range "68..10000"; + } + description + "Maximum Segment Size"; + } + } + } + + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container bgp { + description + "BGP4-MIB and CISCO-BGP4-MIB notification + configuration"; + container bgp4mib { + description + "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only + notifications: bgpEstablishedNotification, + bgpBackwardTransNotification, + cbgpFsmStateChange, cbgpBackwardTransition, + cbgpPrefixThresholdExceeded, + cbgpPrefixThresholdClear."; + leaf enable { + type empty; + description + "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only + notifications"; + } + leaf up-down { + type empty; + description + "Enable BGP4-MIB and CISCO-BGP4-MIB IPv4-only + up/down notifications"; + } + } + container cisco-bgp4mib { + description + "Enable CISCO-BGP4-MIB v2 notifications: + cbgpPeer2EstablishedNotification, + cbgpPeer2BackwardTransNotification, + cbgpPeer2FsmStateChange, + cbgpPeer2BackwardTransition, + cbgpPeer2PrefixThresholdExceeded, + cbgpPeer2PrefixThresholdClear."; + leaf enable { + type empty; + description + "Enable CISCO-BGP4-MIB v2 notifications"; + } + leaf up-down { + type empty; + description + "Enable CISCO-BGP4-MIB v2 up/down notifications"; + } + } + } + } + augment "/a1:vrfs/a1:vrf/a1:afs/a1:af" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-rsi-cfg'"; + container bgp { + description + "BGP AF VRF config"; + container import-route-targets { + description + "Import Route targets"; + uses ROUTE-TARGET-TABLE; + } + container export-route-targets { + description + "Export Route targets"; + uses ROUTE-TARGET-TABLE; + } + container vrf-to-global-export-route-policy { + presence "Indicates a vrf-to-global-export-route-policy node is configured."; + description + "Route policy for vrf to global export filtering"; + leaf route-policy-name { + type string; + mandatory true; + description + "Vrf to global export route policy"; + } + leaf allow-imported-vpn { + type boolean; + description + "TRUE Enable imported VPN paths to be exported + to Default VRF.FALSE Disable imported VPN + paths to be exported to Default VRF."; + } + } + container export-vrf-options { + description + "Export VRF options"; + leaf allow-imported-vpn { + type boolean; + description + "TRUE Enable imported VPN paths to be exported + to non-default VRFFALSE Disable imported VPN + paths to be exported to non-default VRF"; + } + leaf import-stitching-rt { + type boolean; + description + "TRUE Use stitchng RTs to import extranet + pathsFALSE Use regular RTs to import extranet + paths"; + } + } + container global-to-vrf-import-route-policy { + presence "Indicates a global-to-vrf-import-route-policy node is configured."; + description + "Route policy for global to vrf import filtering"; + leaf route-policy-name { + type string; + mandatory true; + description + "Global to vrf import route policy"; + } + leaf advertise-as-vpn { + type boolean; + description + "TRUE Enable advertising imported paths to + PEsFALSE Disable advertising imported paths to + PEs"; + } + } + leaf export-route-policy { + type string; + description + "Route policy for export filtering"; + } + leaf import-route-policy { + type string; + description + "Route policy for import filtering"; + } + leaf import-vrf-options { + type boolean; + description + "TRUE Enable advertising imported paths to + PEsFALSE Disable advertising imported paths to + PEs"; + } + } + } + augment "/a1:global-af/a1:afs/a1:af" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-infra-rsi-cfg'"; + container bgp { + description + "BGP AF VRF config"; + container import-route-targets { + description + "Import Route targets"; + uses ROUTE-TARGET-TABLE; + } + container export-route-targets { + description + "Export Route targets"; + uses ROUTE-TARGET-TABLE; + } + container vrf-to-global-export-route-policy { + presence "Indicates a vrf-to-global-export-route-policy node is configured."; + description + "Route policy for vrf to global export filtering"; + leaf route-policy-name { + type string; + mandatory true; + description + "Vrf to global export route policy"; + } + leaf allow-imported-vpn { + type boolean; + description + "TRUE Enable imported VPN paths to be exported + to Default VRF.FALSE Disable imported VPN + paths to be exported to Default VRF."; + } + } + container export-vrf-options { + description + "Export VRF options"; + leaf allow-imported-vpn { + type boolean; + description + "TRUE Enable imported VPN paths to be exported + to non-default VRFFALSE Disable imported VPN + paths to be exported to non-default VRF"; + } + leaf import-stitching-rt { + type boolean; + description + "TRUE Use stitchng RTs to import extranet + pathsFALSE Use regular RTs to import extranet + paths"; + } + } + container global-to-vrf-import-route-policy { + presence "Indicates a global-to-vrf-import-route-policy node is configured."; + description + "Route policy for global to vrf import filtering"; + leaf route-policy-name { + type string; + mandatory true; + description + "Global to vrf import route policy"; + } + leaf advertise-as-vpn { + type boolean; + description + "TRUE Enable advertising imported paths to + PEsFALSE Disable advertising imported paths to + PEs"; + } + } + leaf export-route-policy { + type string; + description + "Route policy for export filtering"; + } + leaf import-route-policy { + type string; + description + "Route policy for import filtering"; + } + leaf import-vrf-options { + type boolean; + description + "TRUE Enable advertising imported paths to + PEsFALSE Disable advertising imported paths to + PEs"; + } + } + } + leaf asn-format { + type Bgp-asn; + default "as-plain"; + description + "Autonomous system number format"; + } + container bgp { + description + "bgp"; + list instance { + key "instance-name"; + description + "BGP instance configuration commands"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Instance Name. For Default instance use - + default"; + } + list instance-as { + key "as"; + description + "Autonomous system"; + leaf as { + type dt1:Bgp-as-range; + description + "Higher 16 bits of 4-byte Autonomous system + number"; + } + list four-byte-as { + key "as"; + description + "4-byte Autonomous system"; + container vrfs { + description + "VRF config"; + list vrf { + key "vrf-name"; + description + "VRF config"; + container vrf-global { + description + "VRF attribute config"; + container route-distinguisher { + description + "Route distinguisher"; + leaf type { + type Bgp-route-distinguisher; + description + "Type of RD"; + } + leaf as-xx { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-as-range; + description + "AS number"; + } + leaf as { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-as-range; + description + "AS number"; + } + leaf as-index { + when "../type = 'as' or ../type = 'four-byte-as'" { + description + "../Type = AS or ../Type = FourByteAS"; + } + type dt1:Bgp-extcomm-asn-index; + description + "ASN Index"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IP address"; + } + leaf address-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type dt1:Bgp-extcomm-v4-addr-index; + description + "IP address index"; + } + } + container vrf-global-afs { + description + "Global VRF-specific configuration"; + list vrf-global-af { + key "af-name"; + description + "Global VRF AF-specific configuration"; + container mvpn { + description + "MVPN configurations"; + leaf single-forwarder-selection { + type Bgp-mvpn-sfs-select; + description + "Select MVPN single forwarder selection"; + } + } + container ebgp { + presence "Indicates a ebgp node is configured."; + description + "Use eBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..32"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "UNUSED"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP + metric"; + } + } + container eibgp { + presence "Indicates a eibgp node is configured."; + description + "Use eiBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..32"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "UNUSED"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP + metric"; + } + } + container ibgp { + presence "Indicates a ibgp node is configured."; + description + "Use iBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..32"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "Allow multipaths to have different IGP + metrics"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP + metric"; + } + } + leaf rt-download { + type empty; + description + "Route-Target download configuration"; + } + leaf allow-vpn-default-originate { + type boolean; + description + "TRUE to send default orig route to VPN + neighborFALSE to not send default + originate route "; + } + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + uses AGGREGATE-ADDRESS-TABLE; + uses DYNAMIC-MED-INTERVAL; + uses OPTIMAL-ROUTE-REFLECTOR-GROUP-TABLE; + uses DAMPENING; + uses ENABLE; + uses RIP-ROUTES; + uses LISP-ROUTES; + uses STATIC-ROUTES; + uses DISTANCE; + uses TABLE-POLICY; + uses APP-ROUTE-TABLE; + uses ATTRIBUTE-DOWNLOAD; + uses LABEL-MODE; + uses EIGRP-ROUTE-TABLE; + uses BEST-EXTERNAL; + uses SOURCED-NETWORK-TABLE; + uses CONNECTED-ROUTES; + uses ADDITIONAL-PATHS-RECEIVE; + uses PERMANENT-NETWORK; + uses ALLOCATE-LABEL; + uses ADDITIONAL-PATHS-SELECTION; + uses NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM; + uses RESET-WEIGHT-ON-IMPORT; + uses OSPF-ROUTE-TABLE; + uses ADDITIONAL-PATHS-SEND; + uses ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST; + uses MOBILE-ROUTES; + uses DISABLE-AS-PATH-LOOP-CHECK; + uses SUBSCRIBER-ROUTES; + } + } + leaf exists { + type empty; + description + "Create this VRF. Deletion of this object + causes deletion of all the objects under + VRF associated with this object."; + } + uses ROUTER-ID; + uses DISABLE-ENFORCE-FIRST-AS; + uses BEST-PATH-COST-COMMUNITY; + uses BEST-PATH-AIGP-IGNORE; + uses BEST-PATH-AS-PATH-LENGTH; + uses IGP-REDIST-INTERNAL; + uses MULTI-PATH-AS-PATH-IGNORE-ONWARDS; + uses DISABLE-FAST-EXTERNAL-FALLOVER; + uses UNSAFE-EBGP-POLICY; + uses DEFAULT-METRIC; + uses DEFAULT-INFO-ORIGINATE; + uses BEST-PATH-CONFEDERATION-PATHS; + uses BEST-PATH-AS-MULTIPATH-RELAX; + uses MPLS-ACTIVATED-INTERFACE-TABLE; + uses DISABLE-AUTO-SOFT-RESET; + uses DISABLE-MSG-LOG; + uses GLOBAL-TIMERS; + uses NEXT-HOP-MPLS-FWD-IBGP; + uses BFD; + uses DISABLE-NEIGHBOR-LOGGING; + uses SEND-SOCKET-BUFFER-SIZES; + uses BEST-PATH-MED-ALWAYS; + uses RECEIVE-SOCKET-BUFFER-SIZES; + uses BEST-PATH-ROUTER-ID; + uses BEST-PATH-MED-MISSING; + uses LOCAL-PREFERENCE; + } + container vrf-neighbors { + description + "BGP VRF peer"; + + grouping VRF-NEIGHBOR-CONTENT { + description + "VRF NEIGHBOR CONTENT"; + container vrf-neighbor-afs { + description + "Address family type of a VRF neighbor"; + list vrf-neighbor-af { + key "af-name"; + description + "Address family type of a VRF neighbor"; + leaf af-name { + type dt1:Bgp-address-family; + description + "BGP neighbor address family"; + } + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE; + uses SEND-EXT-COMMUNITY-EBGP; + uses ACCEPT-ROUTE-LEGACY-RT; + uses AIGP-COST-COMMUNITY; + uses SEND-COMMUNITY-EBGP; + uses ADVERTISE-DEF-IMP-DISABLE-V6; + uses ADVERTISE-DISABLE; + uses MAXIMUM-PREFIXES; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; + uses NEXT-HOP-UNCHANGED; + uses ADVERTISE-LOCAL-LABELED-ROUTE; + uses ADVERTISE-DEF-IMP-DISABLE-V4; + uses FLOWSPEC-VALIDATION; + uses ADVERTISE-L2VPN-EVPN; + uses ADVERTISE-LOCAL-L2VPN-EVPN; + uses ENCAPSULATION-TYPE; + uses ENFORCE-MULTIPLE-LABELS; + uses AS-OVERRIDE; + uses MULTIPATH; + uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; + uses ACTIVATE; + uses PREFIX-ORF-POLICY; + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME; + uses SITE-OF-ORIGIN; + uses AIGP; + uses AIGP-SEND-MED; + uses ADVERTISE-V6; + uses ALLOW-AS-IN; + uses ADVERTISE-ORF; + uses ROUTE-REFLECTOR-CLIENT; + uses NEXT-HOP-SELF; + uses ADVERTISE-LOCAL-V6; + uses ROUTE-POLICY-IN; + uses IMPORT; + uses DEFAULT-ORIGINATE; + uses SOFT-RECONFIGURATION; + uses ADVERTISE-VRF-IMP-DISABLE-V6; + uses DEFAULT-WEIGHT; + uses AF-GROUP; + uses ADVERTISE-V4; + uses NEXT-HOP-UNCHANGED-MULTIPATH; + uses OPTIMAL-ROUTE-REFLECTION-GROUP; + uses ACCEPT-OWN; + uses ROUTE-POLICY-OUT; + uses ADVERTISE-LOCAL-V4; + uses ADVERTISE-PERMANENT-NETWORK; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; + uses ADVERTISE-VRF-IMP-DISABLE-V4; + } + } + uses INTERNAL-VPN-CLIENT-IBGP-CE; + uses LOCAL-ADDRESS; + uses BMP-ACTIVATE-TABLE; + uses EBGP-MULTIHOP; + uses SESSION-GROUP-ADD-MEMBER; + uses EGRESS-PEER-ENGINEERING; + uses REMOTE-AS; + uses LOCAL-AS; + uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; + uses SHUTDOWN; + uses DESCRIPTION; + uses NEIGHBOR-GROUP-ADD-MEMBER; + uses PASSWORD; + uses EBGP-RECV-DMZ; + uses ADVERTISEMENT-INTERVAL; + uses NEIGHBOR-CLUSTER-ID; + uses NEIGHBOR-GRACEFUL-RESTART; + uses ENFORCE-FIRST-AS; + uses IDLE-WATCH-TIME; + uses TCPMSS; + uses SESSION-OPEN-MODE; + uses TOS; + uses UPDATE-IN-FILTERING; + uses EBGP-SEND-DMZ-ENABLE-MODES; + uses MSG-LOG-OUT; + uses SUPPRESS-ALL-CAPABILITIES; + uses MAX-PEERS; + uses RECEIVE-BUFFER-SIZE; + uses MSG-LOG-IN; + uses ADDITIONAL-PATHS-SEND-CAPABILITY; + uses PROPAGATE-DMZ-LINK-BANDWIDTH; + uses BFD-ENABLE-MODES; + uses SEND-BUFFER-SIZE; + uses TTL-SECURITY; + uses NEIGHBOR-GRACEFUL-RESTART-TIME; + uses TIMERS; + uses BFD-MULTIPLIER; + uses BFD-MINIMUM-INTERVAL; + uses REMOTE-AS-LIST; + uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; + uses KEYCHAIN; + uses IGNORE-CONNECTED-CHECK-EBGP; + uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; + uses UPDATE-SOURCE-INTERFACE; + uses GRACEFUL-MAINTENANCE; + } + list vrf-neighbor { + key "neighbor-address"; + description + "A particular VRF peer"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses VRF-NEIGHBOR-CONTENT; + } + list vrf-neighbor-prefix-length { + key "prefix-length neighbor-address"; + description + "A particular VRF peer"; + leaf prefix-length { + type uint32 { + range "0..127"; + } + description + "Prefix length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses VRF-NEIGHBOR-CONTENT; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container default-vrf { + description + "Global default config"; + container bgp-entity { + description + "Neighbor, neighbor-group, af-group and + session-group configuration"; + container neighbors { + description + "Neighbor configuration"; + + grouping NEIGHBOR-CONTENT { + description + "NEIGHBOR CONTENT"; + container neighbor-afs { + description + "BGP neighbor AF configuration table"; + list neighbor-af { + key "af-name"; + description + "Address family type of neighbor"; + leaf af-name { + type dt1:Bgp-address-family; + description + "BGP neighbor address family"; + } + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE; + uses L2VPN-SIGNALLING; + uses SEND-EXT-COMMUNITY-EBGP; + uses ACCEPT-ROUTE-LEGACY-RT; + uses AIGP-COST-COMMUNITY; + uses SEND-COMMUNITY-EBGP; + uses ADVERTISE-DEF-IMP-DISABLE-V6; + uses ADVERTISE-DISABLE; + uses SEND-MULTICAST-ATTR; + uses MAXIMUM-PREFIXES; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; + uses NEXT-HOP-UNCHANGED; + uses ADVERTISE-LOCAL-LABELED-ROUTE; + uses ADVERTISE-DEF-IMP-DISABLE-V4; + uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses FLOWSPEC-VALIDATION; + uses ADVERTISE-L2VPN-EVPN; + uses ADVERTISE-LOCAL-L2VPN-EVPN; + uses ENCAPSULATION-TYPE; + uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses ENFORCE-MULTIPLE-LABELS; + uses AS-OVERRIDE; + uses MULTIPATH; + uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; + uses ACTIVATE; + uses PREFIX-ORF-POLICY; + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME; + uses AIGP; + uses AIGP-SEND-MED; + uses ADVERTISE-V6; + uses ALLOW-AS-IN; + uses ADVERTISE-ORF; + uses ROUTE-REFLECTOR-CLIENT; + uses NEXT-HOP-SELF; + uses ADVERTISE-LOCAL-V6; + uses ROUTE-POLICY-IN; + uses IMPORT; + uses DEFAULT-ORIGINATE; + uses SOFT-RECONFIGURATION; + uses ADVERTISE-VRF-IMP-DISABLE-V6; + uses DEFAULT-WEIGHT; + uses AF-GROUP; + uses ADVERTISE-V4; + uses NEXT-HOP-UNCHANGED-MULTIPATH; + uses OPTIMAL-ROUTE-REFLECTION-GROUP; + uses ACCEPT-OWN; + uses ROUTE-POLICY-OUT; + uses ADVERTISE-LOCAL-V4; + uses ADVERTISE-PERMANENT-NETWORK; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; + uses ADVERTISE-VRF-IMP-DISABLE-V4; + } + } + uses INTERNAL-VPN-CLIENT-IBGP-CE; + uses LOCAL-ADDRESS; + uses BMP-ACTIVATE-TABLE; + uses EBGP-MULTIHOP; + uses SESSION-GROUP-ADD-MEMBER; + uses EGRESS-PEER-ENGINEERING; + uses REMOTE-AS; + uses LOCAL-AS; + uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; + uses SHUTDOWN; + uses DESCRIPTION; + uses NEIGHBOR-GROUP-ADD-MEMBER; + uses PASSWORD; + uses EBGP-RECV-DMZ; + uses ADVERTISEMENT-INTERVAL; + uses NEIGHBOR-CLUSTER-ID; + uses NEIGHBOR-GRACEFUL-RESTART; + uses ENFORCE-FIRST-AS; + uses IDLE-WATCH-TIME; + uses TCPMSS; + uses SESSION-OPEN-MODE; + uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses TOS; + uses UPDATE-IN-FILTERING; + uses EBGP-SEND-DMZ-ENABLE-MODES; + uses MSG-LOG-OUT; + uses SUPPRESS-ALL-CAPABILITIES; + uses MAX-PEERS; + uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses RECEIVE-BUFFER-SIZE; + uses MSG-LOG-IN; + uses ADDITIONAL-PATHS-SEND-CAPABILITY; + uses PROPAGATE-DMZ-LINK-BANDWIDTH; + uses BFD-ENABLE-MODES; + uses SEND-BUFFER-SIZE; + uses TTL-SECURITY; + uses NEIGHBOR-GRACEFUL-RESTART-TIME; + uses TIMERS; + uses BFD-MULTIPLIER; + uses BFD-MINIMUM-INTERVAL; + uses REMOTE-AS-LIST; + uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; + uses KEYCHAIN; + uses IGNORE-CONNECTED-CHECK-EBGP; + uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; + uses UPDATE-SOURCE-INTERFACE; + uses GRACEFUL-MAINTENANCE; + } + list neighbor { + key "neighbor-address"; + description + "A particular BGP peer"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses NEIGHBOR-CONTENT; + } + list neighbor-prefix-length { + key "prefix-length neighbor-address"; + description + "A particular BGP peer"; + leaf prefix-length { + type uint32 { + range "0..127"; + } + description + "Prefix length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses NEIGHBOR-CONTENT; + } + } + container neighbor-groups { + description + "Neighbor-group configuration"; + list neighbor-group { + key "neighbor-group-name"; + description + "A particular BGP neighbor group"; + container neighbor-group-afs { + description + "BGP neighbor-group AF configuration table"; + list neighbor-group-af { + key "af-name"; + description + "Address family type of neighbor group"; + leaf af-name { + type dt1:Bgp-address-family; + description + "BGP neighbor group address family"; + } + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE; + uses L2VPN-SIGNALLING; + uses SEND-EXT-COMMUNITY-EBGP; + uses ACCEPT-ROUTE-LEGACY-RT; + uses AIGP-COST-COMMUNITY; + uses SEND-COMMUNITY-EBGP; + uses ADVERTISE-DEF-IMP-DISABLE-V6; + uses ADVERTISE-DISABLE; + uses SEND-MULTICAST-ATTR; + uses MAXIMUM-PREFIXES; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; + uses NEXT-HOP-UNCHANGED; + uses ADVERTISE-LOCAL-LABELED-ROUTE; + uses ADVERTISE-DEF-IMP-DISABLE-V4; + uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses FLOWSPEC-VALIDATION; + uses ADVERTISE-L2VPN-EVPN; + uses ADVERTISE-LOCAL-L2VPN-EVPN; + uses ENCAPSULATION-TYPE; + uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses ENFORCE-MULTIPLE-LABELS; + uses AS-OVERRIDE; + uses MULTIPATH; + uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; + uses ACTIVATE; + uses PREFIX-ORF-POLICY; + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME; + uses SITE-OF-ORIGIN; + uses AIGP; + uses AIGP-SEND-MED; + uses ADVERTISE-V6; + uses ALLOW-AS-IN; + uses ADVERTISE-ORF; + uses ROUTE-REFLECTOR-CLIENT; + uses NEXT-HOP-SELF; + uses ADVERTISE-LOCAL-V6; + uses ROUTE-POLICY-IN; + uses IMPORT; + uses DEFAULT-ORIGINATE; + uses SOFT-RECONFIGURATION; + uses ADVERTISE-VRF-IMP-DISABLE-V6; + uses DEFAULT-WEIGHT; + uses AF-GROUP; + uses ADVERTISE-V4; + uses NEXT-HOP-UNCHANGED-MULTIPATH; + uses OPTIMAL-ROUTE-REFLECTION-GROUP; + uses ACCEPT-OWN; + uses ROUTE-POLICY-OUT; + uses ADVERTISE-LOCAL-V4; + uses ADVERTISE-PERMANENT-NETWORK; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; + uses ADVERTISE-VRF-IMP-DISABLE-V4; + } + } + leaf neighbor-group-add-member { + type string; + description + "Inherit configuration from a + neighbor-group"; + } + leaf neighbor-group-name { + type xr:Cisco-ios-xr-string; + description + "BGP neighbor group name"; + } + uses INTERNAL-VPN-CLIENT-IBGP-CE; + uses LOCAL-ADDRESS; + uses BMP-ACTIVATE-TABLE; + uses EBGP-MULTIHOP; + uses SESSION-GROUP-ADD-MEMBER; + uses EGRESS-PEER-ENGINEERING; + uses REMOTE-AS; + uses LOCAL-AS; + uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; + uses SHUTDOWN; + uses DESCRIPTION; + uses PASSWORD; + uses EBGP-RECV-DMZ; + uses ADVERTISEMENT-INTERVAL; + uses NEIGHBOR-CLUSTER-ID; + uses NEIGHBOR-GRACEFUL-RESTART; + uses ENFORCE-FIRST-AS; + uses IDLE-WATCH-TIME; + uses TCPMSS; + uses SESSION-OPEN-MODE; + uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses TOS; + uses UPDATE-IN-FILTERING; + uses EBGP-SEND-DMZ-ENABLE-MODES; + uses MSG-LOG-OUT; + uses SUPPRESS-ALL-CAPABILITIES; + uses MAX-PEERS; + uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses RECEIVE-BUFFER-SIZE; + uses MSG-LOG-IN; + uses ADDITIONAL-PATHS-SEND-CAPABILITY; + uses PROPAGATE-DMZ-LINK-BANDWIDTH; + uses BFD-ENABLE-MODES; + uses SEND-BUFFER-SIZE; + uses TTL-SECURITY; + uses NEIGHBOR-GRACEFUL-RESTART-TIME; + uses TIMERS; + uses BFD-MULTIPLIER; + uses BFD-MINIMUM-INTERVAL; + uses REMOTE-AS-LIST; + uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; + uses KEYCHAIN; + uses IGNORE-CONNECTED-CHECK-EBGP; + uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; + uses UPDATE-SOURCE-INTERFACE; + uses CREATE; + uses GRACEFUL-MAINTENANCE; + } + } + container af-groups { + description + "AF-group configuration"; + list af-group { + key "af-group-name"; + description + "A particular BGP AF group"; + container af-group-afs { + description + "AF group configuration table"; + list af-group-af { + key "af-name"; + description + "Address family type of an AF group"; + leaf af-group { + type string; + description + "Inherit configuration for this + address-family from an AF-group"; + } + leaf create { + type empty; + description + "Create this address family group. + Deletion of this object causes deletion + of all the objects under AFGroup + associated with this object."; + } + leaf af-name { + type dt1:Bgp-address-family; + description + "BGP AF group address family"; + } + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-CAPABLE; + uses L2VPN-SIGNALLING; + uses SEND-EXT-COMMUNITY-EBGP; + uses ACCEPT-ROUTE-LEGACY-RT; + uses AIGP-COST-COMMUNITY; + uses SEND-COMMUNITY-EBGP; + uses ADVERTISE-DEF-IMP-DISABLE-V6; + uses ADVERTISE-DISABLE; + uses SEND-MULTICAST-ATTR; + uses MAXIMUM-PREFIXES; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH-INBOUND; + uses NEXT-HOP-UNCHANGED; + uses ADVERTISE-LOCAL-LABELED-ROUTE; + uses ADVERTISE-DEF-IMP-DISABLE-V4; + uses RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses FLOWSPEC-VALIDATION; + uses ADVERTISE-L2VPN-EVPN; + uses ADVERTISE-LOCAL-L2VPN-EVPN; + uses ENCAPSULATION-TYPE; + uses RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses ENFORCE-MULTIPLE-LABELS; + uses AS-OVERRIDE; + uses MULTIPATH; + uses SEND-COMMUNITY-EBGP-GRACEFUL-SHUTDOWN; + uses PREFIX-ORF-POLICY; + uses NEIGHBOR-AF-LONG-LIVED-GRACEFUL-RESTART-STALE-TIME; + uses SITE-OF-ORIGIN; + uses AIGP; + uses AIGP-SEND-MED; + uses ADVERTISE-V6; + uses ALLOW-AS-IN; + uses ADVERTISE-ORF; + uses ROUTE-REFLECTOR-CLIENT; + uses NEXT-HOP-SELF; + uses ADVERTISE-LOCAL-V6; + uses ROUTE-POLICY-IN; + uses IMPORT; + uses DEFAULT-ORIGINATE; + uses SOFT-RECONFIGURATION; + uses ADVERTISE-VRF-IMP-DISABLE-V6; + uses DEFAULT-WEIGHT; + uses ADVERTISE-V4; + uses NEXT-HOP-UNCHANGED-MULTIPATH; + uses OPTIMAL-ROUTE-REFLECTION-GROUP; + uses ACCEPT-OWN; + uses ROUTE-POLICY-OUT; + uses ADVERTISE-LOCAL-V4; + uses ADVERTISE-PERMANENT-NETWORK; + uses REMOVE-PRIVATE-AS-ENTIRE-AS-PATH; + uses ADVERTISE-VRF-IMP-DISABLE-V4; + } + } + leaf af-group-name { + type xr:Cisco-ios-xr-string; + description + "BGP AF group name"; + } + } + } + container session-groups { + description + "Session group configuration"; + list session-group { + key "session-group-name"; + description + "A particular BGP session group"; + leaf session-group-add-member { + type string; + description + "Inherit address-family independent config + from a session-group"; + } + leaf session-group-name { + type xr:Cisco-ios-xr-string; + description + "BGP session group name"; + } + uses INTERNAL-VPN-CLIENT-IBGP-CE; + uses LOCAL-ADDRESS; + uses BMP-ACTIVATE-TABLE; + uses EBGP-MULTIHOP; + uses EGRESS-PEER-ENGINEERING; + uses REMOTE-AS; + uses LOCAL-AS; + uses NEIGHBOR-GRACEFUL-RESTART-STALEPATH-TIME; + uses SHUTDOWN; + uses DESCRIPTION; + uses PASSWORD; + uses EBGP-RECV-DMZ; + uses ADVERTISEMENT-INTERVAL; + uses NEIGHBOR-CLUSTER-ID; + uses NEIGHBOR-GRACEFUL-RESTART; + uses ENFORCE-FIRST-AS; + uses IDLE-WATCH-TIME; + uses TCPMSS; + uses SESSION-OPEN-MODE; + uses BGP-CFG-RPKI-ORIGIN-AS-VALIDATION-DISABLE; + uses TOS; + uses UPDATE-IN-FILTERING; + uses EBGP-SEND-DMZ-ENABLE-MODES; + uses MSG-LOG-OUT; + uses SUPPRESS-ALL-CAPABILITIES; + uses MAX-PEERS; + uses BGP-CFG-RPKI-BESTPATH-ORIGIN-AS-ALLOW-INVALID; + uses RECEIVE-BUFFER-SIZE; + uses MSG-LOG-IN; + uses ADDITIONAL-PATHS-SEND-CAPABILITY; + uses PROPAGATE-DMZ-LINK-BANDWIDTH; + uses BFD-ENABLE-MODES; + uses SEND-BUFFER-SIZE; + uses TTL-SECURITY; + uses NEIGHBOR-GRACEFUL-RESTART-TIME; + uses TIMERS; + uses BFD-MULTIPLIER; + uses BFD-MINIMUM-INTERVAL; + uses REMOTE-AS-LIST; + uses ADDITIONAL-PATHS-RECEIVE-CAPABILITY; + uses KEYCHAIN; + uses IGNORE-CONNECTED-CHECK-EBGP; + uses SUPPRESS-FOUR-BYTE-AS-CAPABILITY; + uses UPDATE-SOURCE-INTERFACE; + uses CREATE; + uses GRACEFUL-MAINTENANCE; + } + } + } + container global { + description + "Global default config"; + container cluster-id { + description + "Configure Route-Reflector Cluster-id"; + leaf cluster-id-number { + type uint32 { + range "1..4294967295"; + } + description + "Route-Reflector Cluster ID as 32 bit + quantity"; + } + leaf cluster-id-address { + type inet:ipv4-address-no-zone; + description + "Route-Reflector Cluster ID in IPV4 address + format"; + } + } + container write-limit { + description + "Set write-queue limit for each update group"; + leaf formatted-messages { + type uint32 { + range "500..100000000"; + } + default "50000"; + description + "Number of messages to be formatted per + update group"; + } + leaf enqueued-messages { + type uint32 { + range "500..100000000"; + } + default "250000"; + description + "Number of messages that can be enqueued in + total"; + } + leaf desynchronize { + type boolean; + default "false"; + description + "TRUE to enable desynchronization, FALSE + otherwise."; + } + } + container update-delay { + description + "Set the max initial delay for sending + updates"; + leaf delay { + type uint32 { + range "0..3600"; + } + units "second"; + default "120"; + description + "Delay value (seconds)"; + } + leaf always { + type boolean; + default "false"; + description + "Set to TRUE to disable keepalive trigger + bestpath and delay is enforced."; + } + } + container as-league { + description + "AS League"; + container peers { + description + "AS League Peers"; + list peer { + key "as-xx as-yy"; + description + "AS League Peer AS"; + leaf as-xx { + type dt1:Bgp-as-range; + description + "xx of peer AS xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + description + "yy of peer AS xx.yy"; + } + } + } + leaf enable { + type empty; + description + "AS League creation"; + } + } + container rpki-servers { + description + "RPKI server configuration"; + list rpki-server { + key "server"; + description + "RPKI server configuration"; + container transport { + description + "RPKI server transport"; + leaf transport { + type Bgp-rpki-transport; + default "ssh"; + description + "RPKI server transport"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + default "22"; + description + "port"; + } + } + leaf enable { + type empty; + description + "RPKI server configuration"; + } + leaf shutdown { + type empty; + description + "RPKI server shutdown"; + } + leaf password { + type string; + description + "RPKI server password"; + } + leaf response-time { + type uint32 { + range "15..3600"; + } + units "second"; + description + "RPKI server response-time (15-3600 + seconds)"; + } + leaf username { + type string; + description + "RPKI server username"; + } + leaf refresh-time { + type uint32 { + range "15..3600"; + } + units "second"; + description + "RPKI server refresh-time (15-3600 + seconds)"; + } + leaf purge-time { + type uint32 { + range "30..360"; + } + units "second"; + description + "RPKI server purge-time (30-360 seconds)"; + } + leaf server { + type xr:Cisco-ios-xr-string; + description + "Server address (opaque string)"; + } + } + } + container as-list-groups { + description + "AS-list group lists"; + list as-list-group { + key "as-list-group-name"; + description + "AS-List group"; + container ases { + description + "AS list"; + list as { + key "as-xx as-yy"; + description + "AS-List group"; + leaf as-xx { + type dt1:Bgp-as-range; + description + "xx of AS number/confed peer xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + description + "yy of AS number/confed peer xx.yy"; + } + } + } + leaf enable { + type empty; + description + "AS-List group creation"; + } + leaf as-list-group-name { + type xr:Cisco-ios-xr-string; + description + "Group name"; + } + } + } + container limits { + description + "Maximum number that can be configured"; + leaf maximum-neighbors { + type uint32 { + range "1..15000"; + } + default "10000"; + description + "Maximum number of neighbors that can be + configured"; + } + } + container confederation-domain { + description + "Set routing domain confederation AS"; + leaf as-xx { + type dt1:Bgp-as-range; + description + "xx of AS number xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + description + "yy of AS number xx.yy"; + } + } + container confederation-peer-ases { + description + "Define peer ASes in BGP confederation"; + list confederation-peer-as { + key "as-xx as-yy"; + description + "Confederation peer AS"; + leaf as-xx { + type dt1:Bgp-as-range; + description + "xx of AS number/confed peer xx.yy"; + } + leaf as-yy { + type dt1:Bgp-as-range; + description + "yy of AS number/confed peer xx.yy"; + } + } + } + container attribute-filter-groups { + description + "Attribute-filter groups list"; + list attribute-filter-group { + key "attribute-filter-group-name"; + description + "Attribute-filter group"; + container attribute-filters { + description + "Attribute-filter group attributes list"; + list attribute-filter { + key "attribute-start attribute-end"; + description + "Attribute-filter group attribute"; + leaf attribute-start { + type dt1:Bgp-attribute-range; + description + "Start of attribute range"; + } + leaf attribute-end { + type dt1:Bgp-attribute-range; + description + "End of attribute range"; + } + leaf filter-action { + type dt1:Bgp-update-filter-action; + mandatory true; + description + "Filtering action"; + } + } + } + leaf enable { + type empty; + description + "Attribute-filter group creation"; + } + leaf attribute-filter-group-name { + type xr:Cisco-ios-xr-string; + description + "Group name"; + } + } + } + container global-graceful-maintenance-activate { + description + "Activate Graceful Maintenance Mode for all + neighbors with graceful maintenance config"; + leaf all-neighbors { + type boolean; + description + "Also for neighbors without graceful + maintenance config"; + } + leaf retain-routes { + type boolean; + description + "Keep routes in RIB once BGP stops"; + } + } + container global-afs { + description + "Global AF-specific configuration"; + list global-af { + key "af-name"; + description + "Global AF-specific configuration"; + container isis-routes { + description + "Redistribute information for IS-IS routes + ."; + list isis-route { + key "instance-name"; + description + "Redistribute IS-IS routes"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "IS-IS instance name"; + } + leaf default-metric { + type Bgp-default-metric-range; + description + "Default metric"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + leaf redist-type { + type xr:Hex-integer; + description + "Redistribution type: 01 for level 1 + routes, 02 for level 2 routes, 04 for + level 1 inter-area routes. Logical + combinations permitted."; + } + } + } + container domain-distinguisher { + presence "Indicates a domain-distinguisher node is configured."; + description + " tuple to use to identify + the link-state domain"; + leaf as { + type dt1:Bgp-as-range; + mandatory true; + description + "AS Number"; + } + leaf router-id { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Router ID"; + } + } + container vrf-all { + description + "Configurations to be inherited to all + vrfs"; + container label-mode { + description + "MPLS-VPN label allocation mode"; + leaf label-allocation-mode { + type string; + description + "Label allocation mode: per-ce Set per + CE label mode, per-vrf Set per VRF + label mode"; + } + leaf route-policy-name { + type string; + description + "Label mode route policy name"; + } + } + leaf rnh-install-format { + type Bgp-rnh-install-format; + description + "RNH install format type: extcomm - + install rnh as opaque and extcomms, + extcomm-only - install rnh as extcomms + only"; + } + leaf enable { + type empty; + description + "Enable vrf all configuration submode"; + } + leaf table-policy { + type string; + description + "Configure policy for installation of + routes to RIB"; + } + leaf source-rt-import-policy { + type empty; + description + "Enable sourcing of import route-targets + from import-policy"; + } + } + container disable-cluster-client-to-client-rrs { + description + "Disable client-to-client reflection for a + cluster"; + list disable-cluster-client-to-client-rr { + must "number or ipv4-address" { + description + "Number or IPV4Address must be present."; + } + key "cluster-type"; + description + "Cluster ID for which reflection is to be + disbled"; + leaf cluster-type { + type Bgp-cluster-id; + description + "Type of cluster-id"; + } + list number { + when "../cluster-type = 'number'" { + description + "../ClusterType = Number"; + } + key "cluster-id-number"; + description + "number"; + leaf cluster-id-number { + type uint32 { + range "0..4294967295"; + } + description + "Cluster ID: if configured as a number"; + } + } + list ipv4-address { + when "../cluster-type = 'ipv4-address'" { + description + "../ClusterType = IPV4Address"; + } + key "cluster-id-address"; + description + "ipv4 address"; + leaf cluster-id-address { + type inet:ip-address-no-zone; + description + "Cluster ID: if configured as an IP + Address"; + } + } + } + } + container label-delay { + presence "Indicates a label-delay node is configured."; + description + "Delay timer to batch label processing."; + leaf seconds { + type uint32 { + range "0..10"; + } + units "second"; + mandatory true; + description + "Delay, seconds part"; + } + leaf milliseconds { + type uint32 { + range "0..999"; + } + units "millisecond"; + mandatory true; + description + "Delay, milliseconds part"; + } + } + container ebgp { + presence "Indicates a ebgp node is configured."; + description + "Use eBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..64"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "UNUSED"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP metric"; + } + } + container eibgp { + presence "Indicates a eibgp node is configured."; + description + "Use eiBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..64"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "UNUSED"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP metric"; + } + } + container retain-rt { + description + "Accept received updates with the + specified attributes"; + leaf all { + type boolean; + description + "Whether all RTs are to be retained, + default is FALSE"; + } + leaf route-policy-name { + type string; + description + "Route policy name"; + } + } + container ibgp { + presence "Indicates a ibgp node is configured."; + description + "Use iBGP multipaths"; + leaf paths-value { + type uint32 { + range "2..64"; + } + mandatory true; + description + "Number of paths"; + } + leaf unequal-cost { + type boolean; + default "false"; + description + "Allow multipaths to have different IGP + metrics"; + } + leaf selective { + type boolean; + default "false"; + description + "Allow multipaths only from marked + neighbors"; + } + leaf order-by-igp-metric { + type boolean; + default "false"; + description + "Order candidate multipaths by IGP metric"; + } + } + container import-delay { + presence "Indicates a import-delay node is configured."; + description + "Delay timer to batch import processing."; + leaf seconds { + type uint32 { + range "0..10"; + } + units "second"; + mandatory true; + description + "Delay, seconds part"; + } + leaf milliseconds { + type uint32 { + range "0..999"; + } + units "millisecond"; + mandatory true; + description + "Delay, milliseconds part"; + } + } + leaf rnh-install-format { + type Bgp-rnh-install-format; + description + "RNH install format type: extcomm - + install rnh as opaque and extcomms, + extcomm-only - install rnh as extcomms + only"; + } + leaf inter-as-install { + type empty; + description + "Enable install remote MVPN routes to PIM + in default VRF"; + } + leaf segmented-mcast { + type empty; + description + "Enable segmented multicast"; + } + leaf implicit-import { + type empty; + description + "Implicit import configuration"; + } + leaf disable-default-martian-check { + type empty; + description + "Disable default Martian Check"; + } + leaf next-hop-critical-trigger-delay { + type uint32 { + range "0..4294967295"; + } + units "millisecond"; + default "3000"; + description + "Next hop Critical Trigger Delay"; + } + leaf next-hop-non-critical-trigger-delay { + type uint32 { + range "0..4294967295"; + } + units "millisecond"; + default "10000"; + description + "Next hop Non-critical Trigger Delay"; + } + leaf label-security-rpf { + type empty; + description + "Calculate label-security RPF lists and + install to RIB/LSD"; + } + leaf use-igpsr-label { + type empty; + description + "Use IGP SR label for resolution + configuration"; + } + leaf label-retain { + type uint32 { + range "3..60"; + } + units "minute"; + description + "Label retention time in minutes"; + } + leaf scan-time { + type uint32 { + range "5..3600"; + } + units "second"; + default "60"; + description + "Configure background scanner interval for + this address family"; + } + leaf rpki-origin-as-validation-disable { + type empty; + description + "RPKI origin-AS validation disable"; + } + leaf rpki-origin-as-validity-signal-ibgp { + type empty; + description + "RPKI origin-AS validity signal ibgp"; + } + leaf update-limit-sub-group-ebgp { + type uint32 { + range "1..512"; + } + units "megabyte"; + default "32"; + description + "Upper bound on update generation + transient memory usage for every EBGP + Sub-group"; + } + leaf update-limit-address-family { + type uint32 { + range "4..2048"; + } + units "megabyte"; + default "256"; + description + "Upper bound on update generation + transient memory usage for the + address-family"; + } + leaf rpki-bestpath-use-origin-as-validity { + type empty; + description + "RPKI bestpath use origin-AS validity"; + } + leaf update-limit-sub-group-ibgp { + type uint32 { + range "1..512"; + } + units "megabyte"; + default "32"; + description + "Upper bound on update generation + transient memory usage for every IBGP + Sub-group"; + } + leaf rpki-bestpath-origin-as-allow-invalid { + type empty; + description + "RPKI bestpath origin-AS allow invalid"; + } + leaf disable-client-to-client-rr { + type empty; + description + "Disable client-to-client reflection"; + } + leaf next-hop-route-policy { + type string; + description + "Next hop policy to filter out nexthop + notification"; + } + leaf global-table-mcast { + type empty; + description + "Enable global table multicast"; + } + leaf wait-rib-install { + type empty; + description + "Wait for route install before sending + updates to neighbors"; + } + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + uses AGGREGATE-ADDRESS-TABLE; + uses DYNAMIC-MED-INTERVAL; + uses OPTIMAL-ROUTE-REFLECTOR-GROUP-TABLE; + uses DAMPENING; + uses ENABLE; + uses RIP-ROUTES; + uses LISP-ROUTES; + uses STATIC-ROUTES; + uses DISTANCE; + uses TABLE-POLICY; + uses APP-ROUTE-TABLE; + uses ATTRIBUTE-DOWNLOAD; + uses LABEL-MODE; + uses EIGRP-ROUTE-TABLE; + uses BEST-EXTERNAL; + uses SOURCED-NETWORK-TABLE; + uses CONNECTED-ROUTES; + uses ADDITIONAL-PATHS-RECEIVE; + uses PERMANENT-NETWORK; + uses ALLOCATE-LABEL; + uses ADDITIONAL-PATHS-SELECTION; + uses NEXT-HOP-RESOLUTION-PREFIX-LENGTH-MINIMUM; + uses RESET-WEIGHT-ON-IMPORT; + uses OSPF-ROUTE-TABLE; + uses ADDITIONAL-PATHS-SEND; + uses ADVERTISE-LOCAL-LABELED-ROUTE-SAFI-UNICAST; + uses MOBILE-ROUTES; + uses DISABLE-AS-PATH-LOOP-CHECK; + uses SUBSCRIBER-ROUTES; + } + } + container rpki-static-routes { + description + "RPKI static route configuration"; + list rpki-static-route { + key "addrress minimum maximum as"; + description + "RPKI static route"; + leaf addrress { + type inet:ip-address-no-zone; + description + "Address"; + } + leaf minimum { + type int32; + description + "Minimum Prefix Length"; + } + leaf maximum { + type int32; + description + "Maximum Prefix Length"; + } + leaf as { + type uint32 { + range "1..4294967295"; + } + description + "AS Number"; + } + } + } + leaf graceful-restart { + type empty; + description + "Enable graceful restart support"; + } + leaf update-out-logging { + type empty; + description + "Enables logging of update generation events"; + } + leaf install-diversion { + type empty; + description + "Install diversion path to RIB/CEF"; + } + leaf next-hop-trigger-delay { + type uint32 { + range "0..300"; + } + units "second"; + default "5"; + description + "Set the delay for triggering nexthop + recalculations"; + } + leaf nsr { + type boolean; + description + "TRUE to Enable non-stop routing + supportFALSE to Disable non-stop routing + support"; + } + leaf neighbor-logging-detail { + type empty; + description + "Include extra detail in neighbor change + messages"; + } + leaf mvpn { + type empty; + description + "Connect to PIM/PIM6"; + } + leaf rpki-origin-as-validation-disable { + type empty; + description + "RPKI origin-AS validation disable"; + } + leaf rpki-origin-as-validity-signal-ibgp { + type empty; + description + "RPKI origin-AS validity signal ibgp"; + } + leaf global-scan-time { + type uint32 { + range "5..3600"; + } + units "second"; + default "60"; + description + "Configure background scanner interval for + generic scanner"; + } + leaf rpki-bestpath-use-origin-as-validity { + type empty; + description + "RPKI bestpath use origin-AS validity"; + } + leaf rpki-origin-as-validation-time { + type uint32 { + range "0..60"; + } + units "second"; + description + "Prefix validation time (in seconds). Range + : 5 - 60. Specify 0 to disable the timer"; + } + leaf rpki-bestpath-origin-as-allow-invalid { + type empty; + description + "RPKI bestpath origin-AS allow invalid"; + } + leaf graceful-restart-purge-time { + type uint32 { + range "1..6000"; + } + units "second"; + default "600"; + description + "Time before stale routes are purged."; + } + leaf enforce-ibgp-out-policy { + type empty; + description + "Allow all attributes to be modified by + outbound policy for iBGP peers"; + } + leaf update-limit-process { + type uint32 { + range "16..2048"; + } + units "megabyte"; + default "512"; + description + "Upper bound on update generation transient + memory usage for the process"; + } + leaf graceful-restart-time { + type uint32 { + range "1..4095"; + } + units "second"; + default "120"; + description + "Restart time advertised to neighbors"; + } + leaf update-error-handling-basic-ibgp-disable { + type empty; + description + "Inbound update basic error-handling for + IBGP neighbors"; + } + leaf read-only { + type empty; + description + "Allow duplicate table config and disable + update generation"; + } + leaf graceful-restart-stalepath-time { + type uint32 { + range "1..4095"; + } + units "second"; + default "360"; + description + "Maximum time to wait for restart of GR + capable peers"; + } + leaf update-error-handling-extended-ebgp { + type empty; + description + "Inbound update extended error-handling for + EBGP neighbors"; + } + leaf update-error-handling-basic-ebgp-disable { + type empty; + description + "Inbound update basic error-handling for + EBGP neighbors"; + } + leaf graceful-reset { + type empty; + description + "Reset gracefully if configuration change + forces a peer reset"; + } + leaf igp-loop-check { + type empty; + description + "Enable AS-path loop checking for iBGP peers"; + } + leaf update-error-handling-extended-ibgp { + type empty; + description + "Inbound update extended error-handling for + IBGP neighbors"; + } + uses ROUTER-ID; + uses DISABLE-ENFORCE-FIRST-AS; + uses BEST-PATH-COST-COMMUNITY; + uses BEST-PATH-AIGP-IGNORE; + uses BEST-PATH-AS-PATH-LENGTH; + uses IGP-REDIST-INTERNAL; + uses MULTI-PATH-AS-PATH-IGNORE-ONWARDS; + uses DISABLE-FAST-EXTERNAL-FALLOVER; + uses UNSAFE-EBGP-POLICY; + uses DEFAULT-METRIC; + uses DEFAULT-INFO-ORIGINATE; + uses BEST-PATH-CONFEDERATION-PATHS; + uses BEST-PATH-AS-MULTIPATH-RELAX; + uses MPLS-ACTIVATED-INTERFACE-TABLE; + uses DISABLE-AUTO-SOFT-RESET; + uses DISABLE-MSG-LOG; + uses GLOBAL-TIMERS; + uses NEXT-HOP-MPLS-FWD-IBGP; + uses BFD; + uses DISABLE-NEIGHBOR-LOGGING; + uses SEND-SOCKET-BUFFER-SIZES; + uses BEST-PATH-MED-ALWAYS; + uses RECEIVE-SOCKET-BUFFER-SIZES; + uses BEST-PATH-ROUTER-ID; + uses BEST-PATH-MED-MISSING; + uses LOCAL-PREFERENCE; + } + } + leaf bgp-running { + type empty; + description + "Enable BGP. Deletion of this object causes + deletion of all the objects under FourByteAS + associated with this object."; + } + leaf as { + type dt1:Bgp-as-range; + description + "2-byte or 4-byte Autonomous system number"; + } + } + } + } + } + container bmp-server-all { + description + "bmp server all"; + container route-monitoring { + description + "Enable Route Monitoring capability for the BMP + servers. + BGP update messages messages will be + regenrated with a table walk + "; + leaf policy { + type Bmp-policy-select; + description + "Specify if the routes packed in update messages + should be + before or after the application of + route-policy"; + } + leaf direction { + type Bmp-route-direction; + description + "Specify if the routes should be picked up at + inbound + or outbound direction"; + } + } + leaf maximum-buffer-size { + type uint32 { + range "1..4294967295"; + } + units "megabyte"; + description + "Range in MegaBytes for the maximum buffer size + of BMP message queue. + The maximum buf-size is + 20% and default buf-size is 15% of the + platform + virtual memory max-limit (aka rlimit). + Please run show bgp process + performance-statistics + to see the individual + values. Unit is in Megabytes"; + } + } + container bmp-servers { + description + "bmp servers"; + list bmp-server { + key "server-id"; + description + "A particular BMP server"; + container initial-refresh-delay { + description + "Initial refresh to generate BGP updates"; + leaf delay { + type uint32 { + range "1..3600"; + } + units "second"; + must "not(../skip)"; + description + "Delay in seconds before sending Refresh + request to Peers"; + } + leaf spread { + type uint32 { + range "1..3600"; + } + must "../delay and not(../skip)"; + description + "Spread over which to send initial Refresh + request to Peers"; + } + leaf skip { + type empty; + must "not(../delay or ../spread)"; + description + "Skip Route Refresh request to Peers"; + } + } + container host-port { + description + "Configure Host Name/Address and Port for BMP + Server"; + leaf host { + type string; + description + "Name of the BMP server(accepts IPv4/IPv6 + Address format too)"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "Port Number of listening BMP server"; + } + } + container tos { + description + "TOS (Type Of Service)"; + leaf type { + type dt1:Bgp-tos; + description + "Set type of service"; + } + leaf value { + type dt1:Bgp-precedence-dscp; + description + "TOS value to set"; + } + } + leaf create { + type empty; + description + "BMP Server Creation"; + } + leaf maximum-buffer-size { + type uint32 { + range "1..4294967295"; + } + units "megabyte"; + description + "Range in MegaBytes for the maximum buffer size + of BMP message queue. + The maximum buf-size is + 20% and default buf-size is 15% of the + platform + virtual memory max-limit (aka rlimit) + . Please run show bgp process + performance-statistics + to see the individual + values. Unit is in Megabytes"; + } + leaf initial-delay { + type uint32 { + range "1..3600"; + } + units "second"; + description + "Initial connect delay in seconds in sending + updates"; + } + leaf flapping-delay { + type uint32 { + range "60..3600"; + } + units "second"; + description + "Delay in connecting to BMP Server after a flap + had been detected."; + } + leaf status-report-interval { + type uint32 { + range "1..3600"; + } + units "second"; + description + "Stats reporting period for BMP server"; + } + leaf description { + type string; + description + "String to describe the BMP server"; + } + leaf bmptcp-maximum-segment-size { + type uint32 { + range "68..10000"; + } + units "byte"; + description + "configure TCP maximum segment size. + Default=16384."; + } + leaf bmptcp-keep-alive { + type uint32 { + range "0..7200"; + } + units "second"; + description + "configure TCP keep alives to be exchanged + between client and server. Default=1000"; + } + leaf vrf { + type string; + description + "VRF for BMP Server"; + } + leaf shutdown { + type empty; + description + "Shutdown connection to BMP server"; + } + leaf update-source-interface { + type xr:Interface-name; + description + "Select an interface to configure"; + } + leaf server-id { + type uint32 { + range "1..8"; + } + description + "BMP Server ID"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-datatypes.yang new file mode 100644 index 0000000..3d2e3a2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-datatypes.yang @@ -0,0 +1,567 @@ +module Cisco-IOS-XR-ipv4-bgp-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-datatypes"; + prefix ipv4-bgp-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2015-08-27 { + description + "IOS XR 5.3.2 revision."; + } + + typedef Bgp-official-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + enum "l2vpn" { + value 25; + description + "L2VPN"; + } + enum "ls" { + value 16388; + description + "LS"; + } + enum "all" { + value 65534; + description + "All"; + } + } + description + "Bgp official address family"; + } + + typedef Bgp-extcomm-v4-addr-index { + type uint32 { + range "0..65535"; + } + description + "Bgp extcomm v4 addr index"; + } + + typedef Bgp-nbr-cap-additional-paths-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable"; + } + enum "disable" { + value 2; + description + "Disable"; + } + } + description + "Bgp nbr cap additional paths cfg"; + } + + typedef Bgp-advertise-local-labeled-route-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable"; + } + enum "disable" { + value 2; + description + "Disable"; + } + } + description + "Bgp advertise local labeled route cfg"; + } + + typedef Bgp-tos { + type enumeration { + enum "precedence" { + value 0; + description + "Precedence"; + } + enum "dscp" { + value 1; + description + "DSCP"; + } + } + description + "Bgp tos"; + } + + typedef Bgp-address-family { + type enumeration { + enum "ipv4-unicast" { + value 0; + description + "IPv4 unicast"; + } + enum "ipv4-multicast" { + value 1; + description + "IPv4 multicast"; + } + enum "ipv4-labeled-unicast" { + value 2; + description + "IPv4 labeled-unicast"; + } + enum "ipv4-tunnel" { + value 3; + description + "IPv4 tunnel"; + } + enum "vpnv4-unicast" { + value 4; + description + "VPNv4 unicast"; + } + enum "ipv6-unicast" { + value 5; + description + "IPv6 unicast"; + } + enum "ipv6-multicast" { + value 6; + description + "IPv6 multicast"; + } + enum "ipv6-labeled-unicast" { + value 7; + description + "IPv6 labeled-unicast"; + } + enum "vpnv6-unicast" { + value 8; + description + "VPNv6 unicast"; + } + enum "ipv4-mdt" { + value 9; + description + "IPv4 MDT"; + } + enum "l2vpn-vpls" { + value 10; + description + "L2VPN VPLS-VPWS"; + } + enum "ipv4rt-constraint" { + value 11; + description + "IPv4 rt-filter"; + } + enum "ipv4-mvpn" { + value 12; + description + "IPv4 MVPN"; + } + enum "ipv6-mvpn" { + value 13; + description + "IPv6 MVPN"; + } + enum "l2vpn-evpn" { + value 14; + description + "L2VPN EVPN"; + } + enum "lsls" { + value 15; + description + "Link-state link-state"; + } + enum "vpnv4-multicast" { + value 16; + description + "VPNv4 Multicast"; + } + enum "vpnv6-multicast" { + value 17; + description + "VPNv6 Multicast"; + } + enum "ipv4-flowspec" { + value 18; + description + "IPv4 flowspec"; + } + enum "ipv6-flowspec" { + value 19; + description + "IPv6 flowspec"; + } + enum "vpnv4-flowspec" { + value 20; + description + "VPNv4 flowspec"; + } + enum "vpnv6-flowspec" { + value 21; + description + "VPNv6 flowspec"; + } + enum "l2vpn-mspw" { + value 22; + description + "L2VPN MSPW"; + } + enum "ipv4-sr-policy" { + value 23; + description + "IPv4 SRPolicy"; + } + enum "ipv6-sr-policy" { + value 24; + description + "IPv6 SRPolicy"; + } + enum "all-address-family" { + value 25; + description + "All Address Families"; + } + } + description + "Bgp address family"; + } + + typedef Bgp-update-filter-action { + type enumeration { + enum "treat-as-withdraw" { + value 1; + description + "Treat as withdraw"; + } + enum "discard-attibute" { + value 2; + description + "Discard attribute"; + } + } + description + "Bgp update filter action"; + } + + typedef Bgp-attribute-range { + type uint32 { + range "0..256"; + } + description + "Bgp attribute range"; + } + + typedef Bgp-precedence-dscp { + type union { + type enumeration { + enum "af11" { + value 10; + description + "AF11 dscp (001010)"; + } + enum "af12" { + value 12; + description + "AF12 dscp (001100)"; + } + enum "af13" { + value 14; + description + "AF13 dscp (001110)"; + } + enum "af21" { + value 18; + description + "AF21 dscp (010010)"; + } + enum "af22" { + value 20; + description + "AF22 dscp (010100)"; + } + enum "af23" { + value 22; + description + "AF23 dscp (010110)"; + } + enum "af31" { + value 26; + description + "AF31 dscp (011010)"; + } + enum "af32" { + value 28; + description + "AF32 dscp (011100)"; + } + enum "af33" { + value 30; + description + "AF33 dscp (011110)"; + } + enum "af41" { + value 34; + description + "AF41 dscp (100010)"; + } + enum "af42" { + value 36; + description + "AF42 dscp (100100)"; + } + enum "af43" { + value 38; + description + "AF43 dscp (100110)"; + } + enum "cs1" { + value 8; + description + "CS1 dscp (001000)"; + } + enum "cs2" { + value 16; + description + "CS2 dscp (010000)"; + } + enum "cs3" { + value 24; + description + "CS3 dscp (011000)"; + } + enum "cs4" { + value 32; + description + "CS4 dscp (100000)"; + } + enum "cs5" { + value 40; + description + "CS5 dscp (101000)"; + } + enum "cs6" { + value 48; + description + "CS6 dscp (110000)"; + } + enum "cs7" { + value 56; + description + "CS7 dscp (111000)"; + } + enum "ef" { + value 46; + description + "EF dscp (101110)"; + } + enum "critical" { + value 5; + description + "critical precedence (5)"; + } + enum "flash" { + value 3; + description + "flash precedence (3)"; + } + enum "flash-override" { + value 4; + description + "flash override precedence (4)"; + } + enum "immediate" { + value 2; + description + "immediate precedence (2)"; + } + enum "internet" { + value 6; + description + "internetwork control precedence (6)"; + } + enum "network" { + value 7; + description + "network control precedence (7)"; + } + enum "priority" { + value 1; + description + "priority precedence (1)"; + } + enum "default-or-routine" { + value 0; + description + "default dscp or routine precedence (0)"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Bgp precedence dscp"; + } + + typedef Bgp-af-additional-paths-cfg { + type enumeration { + enum "enable" { + value 1; + description + "Enable"; + } + enum "disable" { + value 2; + description + "Disable"; + } + } + description + "Bgp af additional paths cfg"; + } + + typedef Bgp-as-range { + type uint32 { + range "0..4294967295"; + } + description + "Bgp as range"; + } + + typedef Bgp-subsequent-address-family { + type enumeration { + enum "unicast" { + value 1; + description + "Unicast"; + } + enum "multicast" { + value 2; + description + "Multicast"; + } + enum "labeled-unicast" { + value 4; + description + "Labeled unicast"; + } + enum "mvpn" { + value 5; + description + "MVPN"; + } + enum "mspw" { + value 6; + description + "MSPW"; + } + enum "tunnel" { + value 64; + description + "Tunnel"; + } + enum "vpls" { + value 65; + description + "VPLS"; + } + enum "mdt" { + value 66; + description + "MDT"; + } + enum "vpws" { + value 68; + description + "VPWS"; + } + enum "evpn" { + value 70; + description + "EVPN"; + } + enum "ls" { + value 71; + description + "LS"; + } + enum "sr-policy" { + value 73; + description + "SRPolicy"; + } + enum "vpn" { + value 128; + description + "VPN"; + } + enum "vpn-mcast" { + value 129; + description + "VPN MCAST"; + } + enum "rt-filter" { + value 132; + description + "Rt filter"; + } + enum "flowspec" { + value 133; + description + "Flowspec"; + } + enum "vpn-flowspec" { + value 134; + description + "VPN Flowspec"; + } + enum "all" { + value 254; + description + "All"; + } + } + description + "Bgp subsequent address family"; + } + + typedef Bgp-extcomm-asn-index { + type uint32 { + range "0..4294967295"; + } + description + "Bgp extcomm asn index"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang new file mode 100644 index 0000000..cb84e1d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1.yang @@ -0,0 +1,360 @@ +submodule Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-bgp-oc-oper { + prefix Cisco-IOS-XR-ipv4-bgp-oc-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-bgp-oc package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bgp-oc-invalid-route-reason { + type enumeration { + enum "valid-route" { + value 1; + description + "Valid route"; + } + enum "invalid-clsuter-loop" { + value 2; + description + "ClusterLoop"; + } + enum "invalid-as-path-loop" { + value 3; + description + "AsPathLoop"; + } + enum "invalid-origin-at-or-id" { + value 4; + description + "OriginatorID"; + } + enum "invalid-as-confed-loop" { + value 5; + description + "ASConfedLoop"; + } + } + description + "Invalid route reason"; + } + + typedef Bgp-oc-origin-attr { + type enumeration { + enum "igp" { + value 0; + description + "IGP"; + } + enum "egp" { + value 1; + description + "EGP"; + } + enum "incomplete" { + value 2; + description + "Incomplete"; + } + } + description + "Origin Type"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + typedef Bgp-oc-afi { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4 unicast"; + } + enum "ipv6" { + value 5; + description + "IPv6 unicast"; + } + } + description + "BGP Address family"; + } + + grouping BGP-OC-RIB-COMMON-BAG { + description + "OpenConfig BGP_RIB common attributes"; + leaf num-routes { + type uint64; + description + "NumRoutes"; + } + } + + grouping BGP-OC-DATE-AND-TIME { + description + "BGP OC DATE AND TIME"; + leaf time-value { + type string; + description + "TimeValue"; + } + } + + grouping BGP-OC-UNKNOWN-ATTR-TYPE { + description + "BGP OC UNKNOWN ATTR TYPE"; + leaf attribute-type { + type uint16; + description + "AttributeType"; + } + leaf attribute-length { + type uint16; + description + "AttributeLength"; + } + leaf attribute-value { + type yang:hex-string; + description + "Atributevalue"; + } + } + + grouping BGP-OC-EXT-ATTR { + description + "BGP OC EXT ATTR"; + leaf originator-id { + type inet:ipv4-address; + description + "OriginatorID"; + } + leaf aigp { + type uint64; + description + "AIGP"; + } + leaf path-id { + type uint32; + description + "PathId"; + } + leaf-list cluster { + type inet:ipv4-address; + description + "ClusterList"; + } + list ext-community { + description + "ExtendedCommunityArray"; + uses BGP-OC-STRING-TYPE; + } + list unknown-attributes { + description + "UnknownAttributes"; + uses BGP-OC-UNKNOWN-ATTR-TYPE; + } + } + + grouping BGP-OC-STRING-TYPE { + description + "Names of bgp oc objects"; + leaf objects { + type string; + description + "BGP OC objects"; + } + } + + grouping BGP-OC-AGGREGATOR-TYPE { + description + "BGP OC AGGREGATOR TYPE"; + leaf as { + type uint32; + description + "AS number"; + } + leaf as4 { + type uint32; + description + "AS4 number"; + } + leaf address { + type inet:ipv4-address; + description + "IPv4 address"; + } + } + + grouping BGP-OC-ROUTE-ATTR { + description + "BGP OC ROUTE ATTR"; + container next-hop { + description + "NextHopAddress"; + uses BGP-OC-ADDRTYPE; + } + container aggregrator-attributes { + description + "AggregatorList"; + uses BGP-OC-AGGREGATOR-TYPE; + } + leaf origin-type { + type Bgp-oc-origin-attr; + description + "Origin Attribute Type"; + } + leaf as-path { + type string; + description + "AS Path"; + } + leaf as4-path { + type string; + description + "AS4 Path"; + } + leaf med { + type uint32; + description + "Med"; + } + leaf local-pref { + type uint32; + description + "LocalPref"; + } + leaf atomic-aggr { + type boolean; + description + "AtomicAggr"; + } + list community { + description + "CommunityArray"; + uses BGP-OC-STRING-TYPE; + } + } + + grouping BGP-OC-ADDRTYPE { + description + "BGP OC ADDRTYPE"; + leaf afi { + type Bgp-oc-afi; + description + "AFI"; + } + leaf ipv4-address { + when "../afi = 'ipv4'" { + description + "../AFI = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Addr"; + } + leaf ipv6-address { + when "../afi = 'ipv6'" { + description + "../AFI = 'IPv6'"; + } + type Ipv6-address; + description + "IPv6 Addr"; + } + } + + grouping BGP-OC-PREFIXTYPE { + description + "BGP OC PREFIXTYPE"; + container prefix { + description + "Prefix"; + uses BGP-OC-ADDRTYPE; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + } + + grouping BGP-OC-ROUTE-BAG { + description + "OpenConfig BGP_RIB Route"; + container prefix-name { + description + "Prefix"; + uses BGP-OC-PREFIXTYPE; + } + container route-attr-list { + description + "RouteAttributesList"; + uses BGP-OC-ROUTE-ATTR; + } + container ext-attributes-list { + description + "ExtAttributesList"; + uses BGP-OC-EXT-ATTR; + } + container last-modified-date { + description + "LastModifiedDate"; + uses BGP-OC-DATE-AND-TIME; + } + container last-update-recieved { + description + "LastUpdateRecieved"; + uses BGP-OC-DATE-AND-TIME; + } + leaf valid-route { + type boolean; + description + "ValidRoute"; + } + leaf invalid-reason { + type Bgp-oc-invalid-route-reason; + description + "IndentityRef"; + } + leaf best-path { + type boolean; + description + "BestPath"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang new file mode 100644 index 0000000..bf2dd10 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oc-oper.yang @@ -0,0 +1,170 @@ +module Cisco-IOS-XR-ipv4-bgp-oc-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper"; + prefix ipv4-bgp-oc-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-ipv4-bgp-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-bgp-oc package operational data. + + This module contains definitions + for the following management objects: + oc-bgp: OC-BGP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ROUTE-TABLE { + description + "Common node of loc-rib, adj-rib-in-pre, + adj-rib-in-post, adj-rib-out-pre, + adj-rib-out-post"; + container routes { + description + "routes table"; + list route { + description + "route entry"; + leaf route { + type inet:ip-prefix; + description + "Network in prefix/length format"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf path-id { + type int32; + description + "Path ID"; + } + uses BGP-OC-ROUTE-BAG; + } + } + } + + grouping LOC-RIB { + description + "Common node of ipv4-unicast, ipv6-unicast"; + container loc-rib { + description + "Local rib route table"; + uses ROUTE-TABLE; + uses NUM-ROUTES; + } + } + + grouping NUM-ROUTES { + description + "Common node of loc-rib, adj-rib-in-pre, + adj-rib-in-post, adj-rib-out-pre, + adj-rib-out-post"; + container num-routes { + description + "Number of routes in adjacency rib out-bound + post-policy table"; + uses BGP-OC-RIB-COMMON-BAG; + } + } + + grouping OPEN-CONFIG-NEIGHBOR-TABLE { + description + "Common node of ipv4-unicast, ipv6-unicast"; + container open-config-neighbors { + description + "Neighbor list"; + list open-config-neighbor { + key "neighbor-address"; + description + "Neighbor name"; + container adj-rib-in-post { + description + "Adjacency rib in-bound post-policy table"; + uses ROUTE-TABLE; + uses NUM-ROUTES; + } + container adj-rib-out-post { + description + "Adjacency rib out-bound post-policy table"; + uses ROUTE-TABLE; + uses NUM-ROUTES; + } + container adj-rib-out-pre { + description + "Adjacency rib out-bound pre-policy table"; + uses ROUTE-TABLE; + uses NUM-ROUTES; + } + container adj-rib-in-pre { + description + "Adjacency rib in-bound pre-policy table"; + uses ROUTE-TABLE; + uses NUM-ROUTES; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor Address"; + } + } + } + } + + container oc-bgp { + config false; + description + "OC-BGP operational data"; + container bgp-rib { + description + "BGP-RIB operational data"; + container afi-safi-table { + description + "AFI-SAFIs information"; + container ipv4-unicast { + description + "IPv4 Unicast"; + uses LOC-RIB; + uses OPEN-CONFIG-NEIGHBOR-TABLE; + } + container ipv6-unicast { + description + "IPv6 Unicast"; + uses LOC-RIB; + uses OPEN-CONFIG-NEIGHBOR-TABLE; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang new file mode 100644 index 0000000..4483829 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper-sub1.yang @@ -0,0 +1,15758 @@ +submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-bgp-oper { + prefix Cisco-IOS-XR-ipv4-bgp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-bgp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-08-27 { + description + "IOS XR 5.3.2 revision."; + } + + typedef Bgp-label-rpf-install { + type enumeration { + enum "bgp-label-rpf-install-rib" { + value 0; + description + "Install via RIB"; + } + enum "bgp-label-rpf-install-lsd" { + value 1; + description + "Install via LSD"; + } + } + description + "BGP Label RPF Install Path"; + } + + typedef Bgp-rpki-perror { + type enumeration { + enum "none" { + description + "No protocol error"; + } + enum "message-version" { + description + "Message version error"; + } + enum "message-type" { + description + "Message type error"; + } + enum "message-length" { + description + "Message length error"; + } + enum "nonce-mismatch" { + description + "Server nonce mismatch"; + } + enum "bad-prefix" { + description + "Bad ROA"; + } + enum "fsm" { + description + "FSM error"; + } + enum "no-response" { + description + "No response from server"; + } + enum "error-report" { + description + "Server sent error-report"; + } + } + description + "Bgp rpki perror"; + } + + typedef Bgp-rpki-pstate { + type enumeration { + enum "not-started" { + description + "Server protocol has not started"; + } + enum "reset" { + description + "Server protocol reset"; + } + enum "refresh" { + description + "Server protocol resumed"; + } + enum "reset-query-sent" { + description + "Reset query sent to server"; + } + enum "serial-query-sent" { + description + "Serial query sent to server"; + } + enum "data-start" { + description + "Server started sending data"; + } + enum "data-end" { + description + "Server ended sending data"; + } + } + description + "Bgp rpki pstate"; + } + + typedef Bgp-rpki-creason { + type enumeration { + enum "no-close-reason" { + value 0; + description + "No close reason"; + } + enum "read-error" { + value 1; + description + "Socket Read error"; + } + enum "write-error" { + value 2; + description + "Socket Write error"; + } + enum "proto-error" { + value 3; + description + "Protocol error"; + } + enum "config-shutdown" { + value 4; + description + "Shutdown by configuration"; + } + enum "config-removed" { + value 5; + description + "Configuration removed"; + } + enum "config-changed" { + value 6; + description + "Configuration changed"; + } + enum "nsr-disabled" { + value 7; + description + "NSR disabled"; + } + enum "user-clear" { + value 8; + description + "Explicity user clear"; + } + enum "ssh-died" { + value 9; + description + "SSH process died"; + } + enum "tcp-died" { + value 10; + description + "TCP process died"; + } + } + description + "Bgp rpki creason"; + } + + typedef Bgp-rpki-state { + type enumeration { + enum "idle" { + value 0; + description + "Server is idle"; + } + enum "attempt-connect" { + value 1; + description + "Connect attempt made to server"; + } + enum "connected" { + value 2; + description + "Server is connected"; + } + } + description + "Bgp rpki state"; + } + + typedef Bgp-ism-conn-state { + type enumeration { + enum "none" { + description + "None - ST 0"; + } + enum "connect-done" { + description + "ISSUMgr connection done - ST 1"; + } + } + description + "Bgp ism conn state"; + } + + typedef Bgp-ds-conn-state { + type enumeration { + enum "none" { + description + "DS connection not initiated - ST 0"; + } + enum "connect-init" { + description + "DS connection initiated - ST 1"; + } + enum "connect-fail" { + description + "DS connection failed - ST 2"; + } + enum "connect-estb" { + description + "DS connection established - ST 3"; + } + enum "disconnect-init" { + description + "DS disconnect initiated - ST 4"; + } + enum "disconnect-fail" { + description + "DS disconnect failed - ST 5"; + } + enum "disconnect-done" { + description + "DS disconnect done - ST 6"; + } + } + description + "Bgp ds conn state"; + } + + typedef Bgp-scoped-sync-state { + type enumeration { + enum "bgp-scope-sync-state-none" { + description + "State none"; + } + enum "bgp-scope-sync-state-not-nsr-ready" { + description + "Oper Down when NSR not ready"; + } + enum "bgp-scope-sync-state-timer-start" { + description + "Timer started for active batch"; + } + enum "bgp-scope-sync-state-add-list" { + description + "Start adding neighbors to pending batch"; + } + enum "bgp-scope-sync-state-batch-acitve" { + description + "Active batch"; + } + } + description + "Bgp scoped sync state"; + } + + typedef Bgp-bmp-upd-mode { + type enumeration { + enum "bgp-bmp-upd-n-either" { + value 0; + description + "Neither of the modes are enabled"; + } + enum "bgp-bmp-upd-route-mon" { + value 1; + description + "Route Monotoring mode enabled"; + } + enum "bgp-bmp-upd-route-mirr" { + value 2; + description + "Route Mirroring mode is enabled"; + } + } + description + "Bgp bmp upd mode"; + } + + typedef Bgp-bmp-state { + type enumeration { + enum "none" { + value 0; + description + "BMP NOT Connected"; + } + enum "connecting" { + value 1; + description + "BMP Under Connection"; + } + enum "established" { + value 2; + description + "BMP Connection Established"; + } + enum "closing" { + value 3; + description + "BMP Connection Closing"; + } + } + description + "BMP Connection State"; + } + + typedef Bgp-bag-upd-filter-action { + type enumeration { + enum "none" { + value 0; + description + "No Action"; + } + enum "withdraw" { + value 1; + description + "Withdraw NLRI"; + } + enum "attribute-discard" { + value 2; + description + "Discard Attribute"; + } + } + description + "Bgp bag upd filter action"; + } + + typedef Bgp-bag-upd-err-action { + type enumeration { + enum "bgp-bag-upd-err-action-none" { + value 0; + description + "No Action"; + } + enum "bgp-bag-upd-err-action-discard-msg" { + value 1; + description + "Discard Message"; + } + enum "bgp-bag-upd-err-action-reset" { + value 2; + description + "Session Reset"; + } + enum "bgp-bag-upd-err-action-wdr-or-reset" { + value 3; + description + "Withdraw NLRI or Reset"; + } + enum "bgp-bag-upd-err-action-wdr" { + value 4; + description + "Withdraw NLRI"; + } + enum "bgp-bag-upd-err-action-discard-attr" { + value 5; + description + "Discard Attribute"; + } + enum "bgp-bag-upd-err-action-local-repair" { + value 6; + description + "Local Repair"; + } + enum "bgp-bag-upd-err-action-max" { + value 7; + description + "Maximum number of actions"; + } + } + description + "Bgp bag upd err action"; + } + + typedef Bgp-sync-nbr-nsr-state { + type enumeration { + enum "bgp-nbr-nsr-st-none" { + description + "None - ST 0"; + } + enum "bgp-nbr-nsr-st-oper-down" { + description + "TCP OPER_DOWN notfn received - ST 1"; + } + enum "bgp-nbr-nsr-st-tcp-init-sync" { + description + "TCP initial sync in progress - ST 2"; + } + enum "bgp-nbr-nsr-st-tcp-phase-two" { + description + "TCP initial sync phase two in progress - ST 3"; + } + enum "bgp-nbr-nsr-st-bgp-init-sync" { + description + "BGP initial sync in progress - ST 4"; + } + enum "bgp-nbr-nsr-st-nsr-ready" { + description + "Neighbor NSR ready - ST 5"; + } + } + description + "Bgp sync nbr nsr state"; + } + + typedef Bgp-peer-reset-reason-index { + type enumeration { + enum "bgp-read-remote-closed" { + value 1; + description + "Remote closed the session"; + } + enum "bgp-read-failed" { + value 2; + description + "Read failed"; + } + enum "bgp-write-failed" { + value 3; + description + "Write failed"; + } + enum "bgp-sock-disconnected" { + value 4; + description + "Socket disconnected"; + } + enum "bgp-sock-select-failed" { + value 5; + description + "Socket select failed"; + } + enum "bgp-peer-reset-reason-none" { + value 6; + description + "None"; + } + } + description + "Bgp peer reset reason index"; + } + + typedef Bgp-reset-reason-index { + type enumeration { + enum "bgp-none" { + value 0; + description + "None"; + } + enum "bgp-init" { + value 1; + description + "BGP neighbor initialized"; + } + enum "bgp-no-memory" { + value 2; + description + "No memory"; + } + enum "not-received" { + value 3; + description + "BGP Notification received"; + } + enum "not-sent" { + value 4; + description + "BGP Notification sent"; + } + enum "conn-collision" { + value 5; + description + "Error during connection collision"; + } + enum "peer-closed" { + value 6; + description + "Peer closing down the session"; + } + enum "max-prefix-exceeded" { + value 7; + description + "Peer exceeding maximum prefix limit"; + } + enum "interface-flap" { + value 8; + description + "Interface flap"; + } + enum "neighbor-deleted" { + value 9; + description + "Neighbor deleted"; + } + enum "admin-shutdown" { + value 10; + description + "Admin. shutdown"; + } + enum "af-activated" { + value 11; + description + "Address family activated"; + } + enum "af-deactivated" { + value 12; + description + "Address family removed"; + } + enum "protocol-error" { + value 13; + description + "Protocol Error"; + } + enum "listen-closed" { + value 14; + description + "Listen socket was closed"; + } + enum "rib-failed" { + value 15; + description + "Routing Table process not responding"; + } + enum "user-clear" { + value 16; + description + "User clear requested"; + } + enum "user-clear-gr" { + value 17; + description + "User clear with graceful restart requested"; + } + enum "router-id-changed" { + value 18; + description + "Router ID changed"; + } + enum "remote-as-changed" { + value 19; + description + "Remote AS configuration changed"; + } + enum "orf-changed" { + value 20; + description + "Outbound route filter configuration changed"; + } + enum "rr-client-changed" { + value 21; + description + "RR client configuration changed"; + } + enum "legacy-pe-rt-changed" { + value 22; + description + "Legacy-pe-RT configuration changed"; + } + enum "softre-config-changed" { + value 23; + description + "Soft reconfiguration configuration changed"; + } + enum "local-as-changed" { + value 24; + description + "Local AS configuration changed"; + } + enum "low-memory" { + value 25; + description + "Shutdown during SEVERE low memory condition"; + } + enum "bfd-down" { + value 26; + description + "BFD (Bidirectional forwarding detection) + session down"; + } + enum "allow-as-in-changed" { + value 27; + description + "Allowas-in configuration has changed"; + } + enum "recv-dmz-cfg" { + value 28; + description + "Recv DMZ Config changed"; + } + enum "cap-4byteas-changed" { + value 29; + description + "Capablity 4-byte-as configuration has changed"; + } + enum "tcp-oper-down" { + value 30; + description + "Received tcp oper down"; + } + enum "scoped-sync-retry" { + value 31; + description + "Scoped sync is repeated due to strict + prefix check failure"; + } + enum "cluster-id-changed" { + value 32; + description + "Neighbor moved to a new cluster"; + } + enum "rr-disable-changed" { + value 33; + description + "Client-to-client reflection disabled/enabled + for cluster to which neighbor belongs"; + } + enum "aigp-changed" { + value 34; + description + "AIGP configuration has changed + for cluster to which neighbor belongs"; + } + enum "signalling-changed" { + value 35; + description + "L2VPN Signalling Changed"; + } + enum "open-check-s-failed" { + value 36; + description + "Session open checks failed"; + } + enum "ao-changed" { + value 37; + description + "Accept-own changed"; + } + enum "llgr-staletime-changed" { + value 38; + description + "Long-lived graceful-restart stale-time + configuration changed"; + } + enum "llgr-capable-changed" { + value 39; + description + "Long-lived graceful-restart capable + configuration changed"; + } + enum "nbr-local-addr-changed" { + value 40; + description + "Neighbor local address configuration changed"; + } + enum "internal-vpn-client-changed" { + value 41; + description + "Internal-vpn-client configuration changed"; + } + enum "cap-suppress-all-changed" { + value 42; + description + "All capabilities suppression changed"; + } + } + description + "Bgp reset reason index"; + } + + typedef Bgp-bfd-enable-mode { + type enumeration { + enum "bgp-bfd-enable-mode-disable" { + value 0; + description + "BFD fast detect disabled "; + } + enum "bgp-bfd-enable-mode-def" { + value 1; + description + "BFD fast detect default mode "; + } + enum "bgp-bfd-enable-mode-strict" { + value 2; + description + "BFD fast detect hold down aka strict mode"; + } + } + description + "BFD enable mode"; + } + + typedef Bgp-bfd-state { + type enumeration { + enum "bgp-bfd-state-not-configured" { + value 0; + description + "BFD not configured"; + } + enum "bgp-bfd-state-admin-down" { + value 1; + description + "BFD session disabled (neighbor shutdown)"; + } + enum "bgp-bfd-state-not-supported" { + value 2; + description + "BFD session disabled (interface type not + supported)"; + } + enum "bgp-bfd-state-not-created" { + value 3; + description + "BFD session configured, not yet created"; + } + enum "bgp-bfd-state-created" { + value 4; + description + "BFD session created, state notification not + received"; + } + enum "bgp-bfd-state-up" { + value 5; + description + "BFD session up"; + } + enum "bgp-bfd-state-down" { + value 6; + description + "BFD session down"; + } + enum "bgp-bfd-state-nbr-not-configured" { + value 7; + description + "BFD session down (peer not configured)"; + } + enum "bgp-bfd-state-none" { + value 8; + description + "BFD session (yet ro rcv Notification)"; + } + } + description + "BFD session state"; + } + + typedef Bgp-open-check-err { + type enumeration { + enum "none" { + value 0; + description + "No error"; + } + enum "neighbor-down" { + value 1; + description + "Neighbor down"; + } + enum "no-update-group-set" { + value 2; + description + "No update-group set"; + } + enum "no-af-config" { + value 3; + description + "No AF configured"; + } + enum "update-group-pending" { + value 4; + description + "Update-group pending"; + } + enum "low-memory" { + value 5; + description + "Low memory"; + } + enum "neighbor-shutdown" { + value 6; + description + "Neighbor shutdown"; + } + enum "ebgp-neighbor-remote" { + value 7; + description + "eBGP neighbor is remote"; + } + enum "update-source-interface-null" { + value 8; + description + "Update source invalid"; + } + enum "no-ipv6-address" { + value 9; + description + "No global IPv6 address found"; + } + enum "first-hop-interface-null" { + value 10; + description + "First-hop interface invalid"; + } + enum "no-ipv6ll-address" { + value 11; + description + "No LL IPv6 address found"; + } + enum "no-update-source-config" { + value 12; + description + "No update-source configured"; + } + enum "no-router-id" { + value 13; + description + "No router-identifier"; + } + enum "update-source-interface-get-failed" { + value 14; + description + "Update-source interface get failed"; + } + enum "update-source-interface-state-get-failed" { + value 15; + description + "Update-source interface state get failed"; + } + enum "update-source-interface-down" { + value 16; + description + "Update-source interface down"; + } + enum "update-source-interface-ll-get-failed" { + value 17; + description + "Update-source interface LL get failed"; + } + enum "update-source-interface-address-get-failed" { + value 18; + description + "Update-source interface address get failed"; + } + enum "source-address-af-invalid" { + value 19; + description + "Source-address AF invalid"; + } + enum "no-update-source-ll-peering" { + value 20; + description + "No update-source for LL peering"; + } + enum "local-address-get-failed" { + value 21; + description + "Local-address get failed"; + } + enum "no-best-local-address" { + value 22; + description + "No best local-address"; + } + enum "neighbor-address-equals-local-address" { + value 23; + description + "Neighbor address is local address"; + } + enum "neighbor-closing" { + value 24; + description + "Neighbor in closing state"; + } + enum "neighbor-pending-reset" { + value 25; + description + "Neighbor in pending reset state"; + } + enum "out-interface-set-failed" { + value 26; + description + "Out-interface set failed"; + } + enum "local-address-mismatch" { + value 27; + description + "Local-address mismatch"; + } + enum "neighbor-active-only" { + value 28; + description + "Neighbor in active only mode"; + } + enum "socket-init-failed" { + value 29; + description + "Socket init failed"; + } + enum "socket-operation-failed" { + value 30; + description + "Socket operation failed"; + } + enum "local-neighbor" { + value 31; + description + "Neighbor is local"; + } + enum "multi-hop-neighbor" { + value 32; + description + "No router to multi-hop neighbor"; + } + } + description + "BGP open check error types"; + } + + typedef Bgp-conn-state { + type enumeration { + enum "bgp-st-dont-care" { + value 0; + description + "DontCare"; + } + enum "bgp-st-idle" { + value 1; + description + "Idle"; + } + enum "bgp-st-connect" { + value 2; + description + "Connect"; + } + enum "bgp-st-active" { + value 3; + description + "Active"; + } + enum "bgp-st-open-sent" { + value 4; + description + "OpenSent"; + } + enum "bgp-st-open-confirm" { + value 5; + description + "OpenConfirm"; + } + enum "bgp-st-estab" { + value 6; + description + "Established"; + } + enum "bgp-st-closing" { + value 7; + description + "Closing"; + } + enum "bgp-st-closing-sync" { + value 8; + description + "ClosingSync"; + } + } + description + "Bgp conn state"; + } + + typedef Bgp-nh-validate { + type enumeration { + enum "bgp-nh-validate-sync" { + description + "bgp nh validate sync"; + } + enum "bgp-nh-validate-async" { + description + "bgp nh validate async"; + } + enum "bgp-nh-validate-none" { + description + "bgp nh validate none"; + } + } + description + "Bgp nh validate"; + } + + typedef Bgp-nh-update { + type enumeration { + enum "bgp-nh-update-none" { + value 0; + description + "No nh update yet"; + } + enum "bgp-nh-update-crit-not-f" { + value 1; + description + "Last nh update is crit notf"; + } + enum "bgp-nh-update-crit-sync" { + value 2; + description + "Last nh update is crit sync update"; + } + enum "bgp-nh-update-crit-rib-conv" { + value 3; + description + "Last nh update is crit update caused by rib + converge"; + } + enum "bgp-nh-update-crit-table-down" { + value 4; + description + "Last nh update is crit update caused by table + down"; + } + enum "bgp-nh-update-non-crit-not-f" { + value 5; + description + "Last nh update is non-crit notf"; + } + enum "bgp-nh-update-non-crit-sync" { + value 6; + description + "Last nh update is non-crit sync update"; + } + enum "bgp-nh-update-non-crit-rib-conv" { + value 7; + description + "Last nh update is non-crit update caused by rib + converge"; + } + enum "bgp-nh-update-non-crit-table-down" { + value 8; + description + "Last nh update is non-crit update caused by + table down"; + } + } + description + "Bgp nh update"; + } + + typedef Bgp-nh-event { + type enumeration { + enum "bgp-nh-event-crit-not-f" { + value 0; + description + "Last event received is a crit notf"; + } + enum "bgp-nh-event-non-crit-not-f" { + value 1; + description + "Last event received is a non-crit notf"; + } + enum "bgp-nh-event-registration" { + value 2; + description + "Last event sent is a registration"; + } + } + description + "Bgp nh event"; + } + + typedef Bgp-rtr-state { + type enumeration { + enum "bgp-router-read-only" { + value 0; + description + "Read only mode"; + } + enum "bgp-router-do-best-path" { + value 1; + description + "Bestpath calculation mode"; + } + enum "bgp-router-do-tunnel-update" { + value 2; + description + "Tunnel update mode"; + } + enum "bgp-router-do-import" { + value 3; + description + "Import mode"; + } + enum "bgp-router-do-label-alloc" { + value 4; + description + "Label Allocation mode"; + } + enum "bgp-router-do-ribupd" { + value 5; + description + "RIB update mode"; + } + enum "bgp-router-read-write" { + value 6; + description + "Normal (read/write) mode"; + } + enum "bgp-router-mode-count" { + value 7; + description + "Number of router modes"; + } + } + description + "Bgp rtr state"; + } + + typedef Mac-address { + type yang:mac-address; + description + "MAC Address type"; + } + + typedef Bgp-rnh-addr-len { + type enumeration { + enum "none" { + value 0; + description + "NO address length"; + } + enum "v4" { + value 4; + description + "IP v4 address length"; + } + enum "mac" { + value 6; + description + "MAC address length"; + } + enum "v6" { + value 16; + description + "IP v6 address length"; + } + } + description + "BGP RNH Address Length"; + } + + typedef Sr-sid { + type enumeration { + enum "label" { + value 1; + description + "MPLS Label sid"; + } + enum "ipv4" { + value 2; + description + "IPv4 address"; + } + enum "ipv6" { + value 3; + description + "IPv6 address"; + } + } + description + "Segment id type"; + } + + typedef Bgp-srpolicy-req-state { + type enumeration { + enum "request-pending" { + value 0; + description + "SR policy install in dataplane not requested + yet"; + } + enum "requested" { + value 1; + description + "Requested SR policy install dataplane"; + } + enum "notified-up" { + value 2; + description + "SR policy is UP"; + } + enum "notified-down" { + value 4; + description + "SR policy is notified down by XTC"; + } + enum "marked-stale" { + value 8; + description + "SR policy is marked stale due to XTC agent down"; + } + enum "marked-disable" { + value 16; + description + "SR policy is marked disabled from the config in + XTC"; + } + } + description + "BGP SR Policy Internal State"; + } + + typedef Bgp-binding-sid { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "label" { + value 1; + description + "Binding SID type MPLS label"; + } + enum "v6" { + value 2; + description + "Binding SID type ipv6"; + } + } + description + "BGP Binding SID type"; + } + + typedef Bgp-bp-stage { + type enumeration { + enum "bgp-bp-comp-not-compared" { + value 0; + description + "Best path comparison not performed"; + } + enum "bgp-bp-comp-imulti-path" { + value 1; + description + "Path is an iBGP multipath"; + } + enum "bgp-bp-comp-emulti-path" { + value 2; + description + "Path is an eBGP multipath"; + } + enum "bgp-bp-comp-eimulti-path" { + value 3; + description + "Path is an eiBGP multipath"; + } + enum "bgp-bp-invalid-path" { + value 4; + description + "Invalid path"; + } + enum "bgp-bp-comp-pre-cost-comm" { + value 5; + description + "TODO"; + } + enum "bgp-bp-comp-weight" { + value 6; + description + "Path has a lower weight"; + } + enum "bgp-bp-comp-locpref" { + value 7; + description + "Path has a lower local preference"; + } + enum "bgp-bp-comp-rpki" { + value 8; + description + "Path has worse origin validation state"; + } + enum "bgp-bp-comp-aigp" { + value 9; + description + "TODO"; + } + enum "bgp-bp-comp-local" { + value 10; + description + "Path is not local"; + } + enum "bgp-bp-comp-local-rib" { + value 11; + description + "TODO"; + } + enum "bgp-bp-comp-as-path-len" { + value 12; + description + "Path has a longer AS path"; + } + enum "bgp-bp-comp-origin" { + value 13; + description + "Path has a less favorable origin"; + } + enum "bgp-bp-comp-med" { + value 14; + description + "Path has a lower MED"; + } + enum "bgp-bp-comp-ebgp" { + value 15; + description + "Path lost to an eBGP path"; + } + enum "bgp-bp-comp-ao" { + value 16; + description + "Path has Accept-Own community"; + } + enum "bgp-bp-comp-igp-metric" { + value 17; + description + "Path has a higher IGP metric"; + } + enum "bgp-bp-comp-igp-cost-comm" { + value 18; + description + "TODO"; + } + enum "bgp-bp-comp-rtr-id" { + value 19; + description + "Path has a higher router ID"; + } + enum "bgp-bp-comp-clstr-len" { + value 20; + description + "Path has a longer cluster length"; + } + enum "bgp-bp-comp-nbr-addr" { + value 21; + description + "Path has a higher neighbor address"; + } + enum "bgp-bp-comp-suppressed" { + value 22; + description + "Path is newer than best path"; + } + enum "bgp-bp-comp-mismatch" { + value 23; + description + "Best path comparison failed, perhaps due to + recent configuration changes"; + } + enum "bgp-bp-comp-persistence" { + value 24; + description + "Path is persistent"; + } + } + description + "Bgp bp stage"; + } + + typedef Bgp-v4-v6-len { + type enumeration { + enum "gwnone" { + value 0; + description + "NO address length"; + } + enum "gwipv4" { + value 4; + description + "IP v4 address length"; + } + enum "gwipv6" { + value 16; + description + "IP v6 address length"; + } + } + description + "BGP GW Address Length"; + } + + typedef Bgp-tunnel { + type enumeration { + enum "tunnel-none" { + value 0; + description + "Tunnel not applicable"; + } + enum "attrset" { + value 1; + description + "Attribute set TE tunnel"; + } + enum "sr-policy" { + value 2; + description + "SR Policy"; + } + enum "odn-color" { + value 3; + description + "ODN color"; + } + } + description + "BGP tunnel type"; + } + + typedef Bgp-route1 { + type enumeration { + enum "bgp-route-type-used" { + value 0; + description + "Used path from neighbor"; + } + enum "bgp-route-type-rcvd-only" { + value 1; + description + "Received only path from neighbor"; + } + enum "bgp-route-type-safi-label-ed-ucast-used" { + value 2; + description + "Used path from neighbor received via + labeled-unicast SAFI"; + } + enum "bgp-route-type-safi-label-ed-ucast-rcvd-only" { + value 3; + description + "Received only path from neighbor received via + labeled-unicast SAFI"; + } + enum "bgp-route-type-rib" { + value 4; + description + "Redistributed from the RIB"; + } + enum "bgp-route-type-aggregate" { + value 5; + description + "Locally generated aggregate"; + } + enum "bgp-route-type-max" { + value 6; + description + "Number of route types"; + } + } + description + "Bgp route1"; + } + + typedef Bgp-rpki-af { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 26; + description + "IPv6"; + } + } + description + "Bgp rpki af"; + } + + typedef Bgp-tcp-mode { + type enumeration { + enum "bgp-tcp-mode-type-either" { + value 0; + description + "Use either active or passive mode"; + } + enum "bgp-tcp-mode-type-active-only" { + value 1; + description + "Use active mode only"; + } + enum "bgp-tcp-mode-type-passive-only" { + value 2; + description + "Use passive mode only"; + } + } + description + "Bgp tcp mode"; + } + + typedef Bgp-ebgp-send-dmz-enable-mode { + type enumeration { + enum "bgp-ebgp-send-dmz-disable" { + value 0; + description + "EBGP send extended community dmz link bandwidth + disabled "; + } + enum "bgp-ebgp-send-dmz-dflt" { + value 1; + description + "EBGP send extended community dmz link bandwidth + default mode "; + } + enum "bgp-ebgp-send-dmz-cumulative" { + value 2; + description + "EBGP send extended community dmz link bandwidth + cumulative mode"; + } + } + description + "EBGP send extended community dmz link bandwidth + enable mode"; + } + + typedef Bgp-entities { + type enumeration { + enum "af-group" { + value 0; + description + "AF groups"; + } + enum "session-group" { + value 1; + description + "Session Groups"; + } + enum "neighbor-group" { + value 2; + description + "Neighbor Groups"; + } + enum "neighbor" { + value 3; + description + "Neighbors"; + } + } + description + "Entity type"; + } + + typedef Ipv6-flowspec-address { + type xr:Bgp-ipv6-flowspec-address; + description + "IPv6 Flowspec Address type"; + } + + typedef Ipv4-flowspec-address { + type xr:Bgp-ipv4-flowspec-address; + description + "IPv4 Flowspec Address type"; + } + + typedef Ls-ls-address { + type xr:Bgp-ls-addr; + description + "LINKSTATE LINKSTATE Address type"; + } + + typedef L2vpn-evpn-address { + type xr:Bgp-l2vpn-evpn-addrs; + description + "L2VPN EVPN Address type"; + } + + typedef Ipv4mvpn-address { + type xr:Bgp-ipv4-mvpn-addr; + description + "IPV4 MVPN Address type"; + } + + typedef Ipv6mvpn-address { + type xr:Bgp-ipv6-mvpn-addr; + description + "IPV6 MVPN Address type"; + } + + typedef Rt-constraint-address { + type xr:Bgp-rt-constrt-addr; + description + "IPV4 RTConstraint Address type"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + typedef Ipv4-mdt-address { + type xr:Bgp-ipv4-mdt-addr; + description + "IPV4MDT Address type"; + } + + typedef Ipv4-tunnel-address { + type xr:Bgp-ipv4-tunnel-addr; + description + "IPV4Tunnel Address type"; + } + + typedef Bgp-afi { + type enumeration { + enum "ipv4" { + value 0; + description + "IP v4 unicast"; + } + enum "ipv4-multicast" { + value 1; + description + "IP v4 multicast"; + } + enum "ipv4-labeled" { + value 2; + description + "IP v4 label"; + } + enum "ipv4-tunnel" { + value 3; + description + "IP v4 Tunnel"; + } + enum "vpnv4" { + value 4; + description + "IP v4 virtual private network"; + } + enum "ipv6" { + value 5; + description + "IP v6 unicast"; + } + enum "ipv6-multicast" { + value 6; + description + "IP v6 multicast"; + } + enum "ipv6-labeled" { + value 7; + description + "IP v6 label"; + } + enum "vpnv6" { + value 8; + description + "IP v6 virtual private network"; + } + enum "ipv4-mdt" { + value 9; + description + "IP v4 Multicast Distribution Tree"; + } + enum "l2vpn-vpls" { + value 10; + description + "L2VPN VPLS"; + } + enum "rt-constraint" { + value 11; + description + "IP RT-Constraint"; + } + enum "ipv4-mvpn" { + value 12; + description + "IP v4 mvpn"; + } + enum "ipv6-mvpn" { + value 13; + description + "IP v6 mvpn"; + } + enum "l2vpn-evpn" { + value 14; + description + "L2VPN EVPN"; + } + enum "ls-ls" { + value 15; + description + "Link-state Link-state"; + } + enum "vpnv4-multicast" { + value 16; + description + "IP v4 virtual private network for multicast"; + } + enum "vpnv6-multicast" { + value 17; + description + "IP v6 virtual private network for multicast"; + } + enum "ipv4-flowspec" { + value 18; + description + "IP v4 flowspec"; + } + enum "ipv6-flowspec" { + value 19; + description + "IP v6 flowspec"; + } + enum "vpnv4-flowspec" { + value 20; + description + "IP v4 vpn flowspec"; + } + enum "vpnv6-flowspec" { + value 21; + description + "IP v6 vpn flowspec"; + } + enum "l2vpn-mspw" { + value 22; + description + "L2VPN Multi-segment pseudowire"; + } + enum "ipv4-sr-policy" { + value 23; + description + "IP v4 SR Policy"; + } + enum "ipv6-sr-policy" { + value 24; + description + "IP v6 SR Policy"; + } + enum "no-address-family" { + value 25; + description + "Address-family not applicable"; + } + enum "all-address-families" { + value 26; + description + "All address-families"; + } + } + description + "BGP Address family"; + } + + grouping BGP-INSTANCE-INFO { + description + "BGP instance information"; + leaf instance-identifier { + type uint16; + description + "Instance Identifier"; + } + leaf placed-group-id { + type uint16; + description + "Placed Group Identifier"; + } + leaf instance-name-str { + type string; + description + "Instance Name"; + } + leaf as-number { + type uint32; + description + "AS Number"; + } + leaf number-of-vrfs { + type uint32; + description + "Number of VRFs"; + } + leaf read-only-enabled { + type boolean; + description + "Read-only is enabled"; + } + leaf install-diversion-enabled { + type boolean; + description + "Install diversion is enabled"; + } + leaf srgb-start-configured { + type uint32; + description + "Configured start value of Segment-routing global + block"; + } + leaf srgb-end-configured { + type uint32; + description + "Configured end value of Segment-routing global + block"; + } + list af-array { + min-elements 25; + max-elements "25"; + description + "Array of Address Families"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + } + + grouping BGP-INSTANCES-INFO-BAG { + description + "BGP instances information bag"; + list instance { + description + "Array of instance information"; + uses BGP-INSTANCE-INFO; + } + } + + grouping BGP-EDM-LABEL-RPF-NBR { + description + "BGP EDM LABEL RPF NBR"; + leaf ip { + type inet:ipv4-address; + description + "ip"; + } + leaf ip6 { + type inet:ipv6-address; + description + "ip6"; + } + leaf count { + type uint32; + description + "count"; + } + leaf flags { + type uint32; + description + "flags"; + } + } + + grouping BGP-EDM-LABEL-RPF-INFO { + description + "BGP EDM LABEL RPF INFO"; + leaf label { + type uint32; + description + "label"; + } + leaf flags { + type uint32; + description + "flags"; + } + leaf install { + type Bgp-label-rpf-install; + description + "install"; + } + list rpf { + description + "rpf"; + uses BGP-EDM-LABEL-RPF-NBR; + } + } + + grouping BGP-LABEL-RPF-BAG { + description + "BGP LABEL RPF BAG"; + container rpf { + description + "rpf"; + uses BGP-EDM-LABEL-RPF-INFO; + } + } + + grouping BGP-RPKI-SUMMARY-BAG { + description + "BGP RPKI SUMMARY BAG"; + leaf servers { + type uint32; + description + "Number of RPKI Servers configured"; + } + leaf ipv4roa-nets { + type uint32; + description + "Number of IPv4 ROA Nets"; + } + leaf ipv4roa-paths { + type uint32; + description + "Number of IPv4 ROA Paths"; + } + leaf ipv6roa-nets { + type uint32; + description + "Number of IPv6 ROA Nets"; + } + leaf ipv6roa-paths { + type uint32; + description + "Number of IPv6 ROA Paths"; + } + leaf rpki-disabled { + type boolean; + description + "RPKI Knob disabled"; + } + leaf rpki-use-validity { + type boolean; + description + "Use RPKI validity for bestpath calculation"; + } + leaf rpki-allow-invalid { + type boolean; + description + "Allow invalid paths"; + } + leaf rpki-signal-ibgp { + type boolean; + description + "Signal RPKI validity to iBGP peers"; + } + } + + grouping BGP-UPDERR-PROC-BAG { + description + "BGP Update error-handling Process information"; + container last-update-malformed-timestamp { + description + "Last malformed messages received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-error-handling-basic-ebgp { + type boolean; + description + "Is basic error-handling for EBGP enabled"; + } + leaf update-error-handling-basic-ibgp { + type boolean; + description + "Is basic error-handling for IBGP enabled"; + } + leaf update-error-handling-extended-ebgp { + type boolean; + description + "Is extended error-handling for EBGP enabled"; + } + leaf update-error-handling-extended-ibgp { + type boolean; + description + "Is extended error-handling for IBGP enabled"; + } + leaf update-malformed-message-count { + type uint32; + description + "Malformed messages count"; + } + leaf update-malformed-neighbor-count { + type uint32; + description + "Count of neighbors that received malformed + messages"; + } + leaf last-update-malformed-age { + type uint32; + units "second"; + description + "Time since last malformed messages received + event (in seconds)"; + } + } + + grouping BGP-EDM-RPKI-ROUTE { + description + "BGP EDM RPKI ROUTE"; + leaf af-name { + type Bgp-rpki-af; + description + "Address Family"; + } + leaf address { + type string; + description + "Address Prefix"; + } + leaf min-prefix-len { + type uint8; + description + "Minimum Prefix Length"; + } + leaf max-prefix-len { + type uint8; + description + "Maximum Prefix Length"; + } + leaf as { + type uint32; + description + "AS number"; + } + leaf refcount { + type uint16; + description + "Refcount"; + } + leaf server { + type string; + description + "Source Server"; + } + leaf stale { + type boolean; + description + "ROA is stale"; + } + } + + grouping BGP-RPKI-ROUTES-BAG { + description + "BGP RPKI ROUTES BAG"; + list rpki-route { + description + "Array or RPKI routes"; + uses BGP-EDM-RPKI-ROUTE; + } + } + + grouping BGP-EDM-LABEL-STATS { + description + "BGP EDM LABEL STATS"; + leaf nbgp-label-alloc-type-gbl-ipv4 { + type uint32; + description + "nBGP LABEL ALLOC TYPE GBL IPv4"; + } + leaf nbgp-label-alloc-type-gbl-ipv6 { + type uint32; + description + "nBGP LABEL ALLOC TYPE GBL IPv6"; + } + leaf nbgp-label-alloc-type-vrf-ipv4 { + type uint32; + description + "nBGP LABEL ALLOC TYPE VRF IPv4"; + } + leaf nbgp-label-alloc-type-vrf-ipv6 { + type uint32; + description + "nBGP LABEL ALLOC TYPE VRF IPv6"; + } + leaf nbgp-label-alloc-type-ce-ipv4 { + type uint32; + description + "nBGP LABEL ALLOC TYPE CE IPv4"; + } + leaf nbgp-label-alloc-type-ce-ipv6 { + type uint32; + description + "nBGP LABEL ALLOC TYPE CE IPv6"; + } + leaf nbgp-label-alloc-type-tbl-ipv4 { + type uint32; + description + "nBGP LABEL ALLOC TYPE TBL IPv4"; + } + leaf nbgp-label-alloc-type-tbl-ipv6 { + type uint32; + description + "nBGP LABEL ALLOC TYPE TBL IPv6"; + } + leaf nbgp-label-alloc-type-vpn-ipv4 { + type uint32; + description + "nBGP LABEL ALLOC TYPE VPN IPv4"; + } + leaf nbgp-label-alloc-type-vpn-ipv6 { + type uint32; + description + "nBGP LABEL ALLOC TYPE VPN IPv6"; + } + leaf nbgp-label-alloc-type-asbr-nh { + type uint32; + description + "nBGP LABEL ALLOC TYPE ASBR NH"; + } + leaf nbgp-labels { + type uint32; + description + "nBGP LABELS"; + } + leaf bgp-label-rpf-lists { + type uint32; + description + "bgp label rpf lists"; + } + leaf bgp-label-rpf-nodes { + type uint32; + description + "bgp label rpf nodes"; + } + } + + grouping BGP-LABEL-SUMMARY-BAG { + description + "BGP LABEL SUMMARY BAG"; + container stats { + description + "stats"; + uses BGP-EDM-LABEL-STATS; + } + } + + grouping BGP-EDM-RPKI-CACHE { + description + "BGP EDM RPKI CACHE"; + leaf name { + type string; + description + "Server Name"; + } + leaf preference { + type uint32; + description + "Server Preference"; + } + leaf port { + type uint32; + description + "Server TCP Port number"; + } + leaf state { + type Bgp-rpki-state; + description + "Server Internal State"; + } + leaf state-time { + type uint32; + description + "Server Internal State timestamp (unix time)"; + } + leaf shutdown { + type boolean; + description + "Server Shutdown"; + } + leaf retries { + type uint32; + description + "Number of connection retries"; + } + leaf close-reason { + type Bgp-rpki-creason; + description + "Server close reason"; + } + leaf close-time { + type uint32; + description + "Server close elapsed time"; + } + leaf close-time-real { + type uint32; + description + "Server close real timestamp (unix time)"; + } + leaf read-bytes { + type uint32; + units "byte"; + description + "Number of bytes read from the server"; + } + leaf write-bytes { + type uint32; + units "byte"; + description + "Number of bytes written to the server"; + } + leaf transport { + type uint32; + description + "Server transport type"; + } + leaf username { + type string; + description + "Server SSH username"; + } + leaf password { + type string; + description + "Server SSH password"; + } + leaf sshpid { + type uint32; + description + "Server SSH process ID"; + } + leaf proto-state { + type Bgp-rpki-pstate; + description + "Server Protocol state"; + } + leaf proto-state-time { + type uint32; + description + "Server Protocol state timestamp (unix time)"; + } + leaf serial { + type uint32; + description + "Server serial number"; + } + leaf nonce { + type uint32; + description + "Server nonce"; + } + leaf refresh-time { + type int32; + units "second"; + description + "Server refresh time (seconds)"; + } + leaf response-time { + type int32; + units "second"; + description + "Server response time (seconds)"; + } + leaf purge-time { + type int32; + units "second"; + description + "Server purge time (seconds)"; + } + leaf ipv4roa { + type uint32; + description + "Total IPv4 ROAs currently recv'd from server"; + } + leaf ipv4roa-announce { + type uint32; + description + "Total IPv4 ROAs announced by the server"; + } + leaf ipv4roa-withdraw { + type uint32; + description + "Total IPv4 ROAs withdrawn by the server"; + } + leaf ipv6roa { + type uint32; + description + "Total IPv6 ROAs currently recv'd from server"; + } + leaf ipv6roa-announce { + type uint32; + description + "Total IPv6 ROAs announced by the server"; + } + leaf ipv6roa-withdraw { + type uint32; + description + "Total IPv6 ROAs withdrawn by the server"; + } + leaf proto-error { + type Bgp-rpki-perror; + description + "Protocol Error Reason"; + } + } + + grouping BGP-RPKI-CACHES-BAG { + description + "BGP RPKI CACHES BAG"; + list rpki-server { + description + "Array of RPKI servers"; + uses BGP-EDM-RPKI-CACHE; + } + } + + grouping BGP-ATTRFILTER-ENTRY-BAG { + description + "BGP attribute-filter entry information"; + leaf attribute-filter-entry-requested-action { + type Bgp-bag-upd-filter-action; + description + "Requested filtering action"; + } + leaf attribute-filter-entry-range-start { + type uint32; + description + "Start of attribute range"; + } + leaf attribute-filter-entry-range-end { + type uint32; + description + "End of attribute range"; + } + } + + grouping BGP-ATTRFILTER-GROUP-BAG { + description + "BGP attribute-filter group information"; + leaf attribute-filter-group-name { + type string; + description + "Attribute-filter group name"; + } + leaf attribute-filter-total-group-count { + type uint32; + description + "Total number of attriute-filter groups"; + } + list attribute-filter-entry { + description + "List of attriute-filter entries"; + uses BGP-ATTRFILTER-ENTRY-BAG; + } + } + + grouping BGP-EDM-LABEL-ENTRY { + description + "BGP EDM LABEL ENTRY"; + leaf label { + type uint32; + description + "label"; + } + leaf rds { + type string; + description + "rds"; + } + leaf vrf { + type string; + description + "vrf"; + } + leaf ip { + type inet:ipv4-address; + description + "ip"; + } + leaf ip6 { + type inet:ipv6-address; + description + "ip6"; + } + leaf rpc-set-id { + type uint32; + description + "rpc set id"; + } + leaf masklen { + type uint16; + description + "masklen"; + } + leaf ts-sec { + type uint32; + description + "ts sec"; + } + leaf ts-ssec { + type uint32; + description + "ts ssec"; + } + leaf info { + type uint16; + description + "info"; + } + leaf refcount { + type uint32; + description + "refcount"; + } + leaf inactive { + type boolean; + description + "inactive"; + } + } + + grouping BGP-LABEL-BAG { + description + "BGP LABEL BAG"; + container entry { + description + "entry"; + uses BGP-EDM-LABEL-ENTRY; + } + } + + grouping BGP-EDM-RT-ENTRY { + description + "BGP EDM RT ENTRY"; + leaf route-target { + type string; + description + "route target"; + } + } + + grouping BGP-VRF-RT-BAG { + description + "BGP VRF RT BAG"; + container rt { + description + "rt"; + uses BGP-EDM-RT-ENTRY; + } + leaf afs { + type string; + description + "afs"; + } + } + + grouping BGP-UPDFILTER-PROC-BAG { + description + "BGP Update filtering Process information"; + container last-update-filtered-timestamp { + description + "Last filtered messages received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-filtered-message-count { + type uint32; + description + "Filtered messages count"; + } + leaf update-filtered-neighbor-count { + type uint32; + description + "Count of neighbors that received filtered + messages"; + } + leaf last-update-filtered-age { + type uint32; + units "second"; + description + "Time since last filtered messages received event + (in seconds)"; + } + } + + grouping BGP-NBR-MSG { + description + "Neighbor In/Out Message entry"; + container message-timestamp { + description + "message received time: time elapsed since 00:00 + :00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf message-type-received { + type uint8; + description + "Type of messages Received"; + } + leaf total-logged-message-count { + type uint32; + description + "Total logged messages count"; + } + leaf message-data-length { + type uint16; + description + "Message data length"; + } + list logged-message-data { + description + "Raw Message data in binary format"; + leaf entry { + type uint8; + } + } + } + + grouping BGP-MSGLOG-NBR-BAG { + description + "BGP Message logging Neighbor information"; + list neighbor-message { + description + "Array of Neighbor Messages in one direction"; + uses BGP-NBR-MSG; + } + } + + grouping BGP-NBR-INSTANCE { + description + "Dynamic Neighbor Instance"; + container neighbor-address { + description + "Dynamic Neighbor address"; + uses BGP-ADDRTYPE; + } + container neighbor-age { + description + "Neighbor age"; + uses BGP-TIMESPEC; + } + container idle-watch-timer-remaining-value { + description + "Idle watch timer remaining time"; + uses BGP-TIMESPEC; + } + leaf is-idle-watch-timer-running { + type boolean; + description + "Is idle watch timer running"; + } + leaf connection-state { + type Bgp-conn-state; + description + "State of connection"; + } + } + + grouping BGP-NBR-RANGE-AF { + description + "BGP neighbor address family specific information"; + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf is-neighbor-route-reflector-client { + type boolean; + description + "Nbr is a route reflector client"; + } + leaf is-legacy-pe-rt { + type boolean; + description + "Nbr accepts route from legacy PE for + RT-Constraint AF "; + } + leaf is-neighbor-af-capable { + type boolean; + description + "Address family capability received from neighbor"; + } + leaf is-soft-reconfiguration-inbound-allowed { + type boolean; + description + "Inbound soft reconfiguration allowed"; + } + leaf is-use-soft-reconfiguration-always-on { + type boolean; + description + "Soft reconf overrides route refresh"; + } + leaf remove-private-as-from-updates { + type boolean; + description + "Private AS numbers removed from updates to this + nbr"; + } + leaf remove-private-as-entire-aspath-from-updates { + type boolean; + description + "Private AS numbers removed from updates to + thisnbr only if the aspath hasonly private ASes"; + } + leaf remove-private-as-from-inbound-updates { + type boolean; + description + "Private AS numbers removed from updates from + this nbr"; + } + leaf remove-private-as-entire-aspath-from-inbound-updates { + type boolean; + description + "Private AS numbers removed from updates from + this nbr only if the aspath has only private + ASes"; + } + leaf flowspec-validation-d-isable { + type boolean; + description + "Flowspec Validation Disabled"; + } + leaf flowspec-redirect-validation-d-isable { + type boolean; + description + "Flowspec Redirect Validation Disabled"; + } + leaf orr-group-name { + type string; + description + "ORR Group Name"; + } + leaf orr-group-index { + type uint32; + description + "ORR Group Index"; + } + leaf is-orr-root-address-configured { + type boolean; + description + "ORR Root address configuredfor the neighbor + connection"; + } + leaf advertise-afi { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf advertise-afi-reorg { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf advertise-afi-local { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf advertise-afi-disable { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf always-use-next-hop-local { + type boolean; + description + "Local router always used for next-hop"; + } + leaf next-hop-unchanged { + type boolean; + description + "router does not change next-hop"; + } + leaf sent-community-to-neighbor { + type boolean; + description + "Community attribute sent to neighbor"; + } + leaf sent-gshut-community-to-neighbor { + type boolean; + description + "GSHUT Community attribute sent to neighbor"; + } + leaf sent-extended-community-to-neighbor { + type boolean; + description + "Extended community attribute sent to neighbor"; + } + leaf neighbor-default-originate { + type boolean; + description + "Neighbor originates default"; + } + leaf is-orf-sent { + type boolean; + description + "Outbound route filter sent to neighbor"; + } + leaf is-update-deferred { + type boolean; + description + "Update deferred until ORF/route refresh received"; + } + leaf is-orf-send-scheduled { + type boolean; + description + "Scheduled to send prefix based ORF"; + } + leaf vpn-update-gen-enabled { + type boolean; + description + "RT Nbr enabled for updategento another"; + } + leaf vpn-update-gen-trigger-enabled { + type boolean; + description + "RT Nbr enabled for updategento another"; + } + leaf is-addpath-send-operational { + type boolean; + description + "Addpath is operational on send-side"; + } + leaf is-addpath-receive-operational { + type boolean; + description + "Addpath is operational on receive-side"; + } + leaf weight { + type uint32; + description + "Weight for this AF"; + } + leaf max-prefix-limit { + type uint32; + description + "Max limit for # of prefixes"; + } + leaf use-max-prefix-warning-only { + type boolean; + description + "Warning only when maximum prefix limit reached"; + } + leaf max-prefix-discard-extra-paths { + type boolean; + description + "Discard extra paths when prefix limit reached"; + } + leaf max-prefix-exceed-discard-paths { + type boolean; + description + "Did we discard extra paths when prefix limit + reached"; + } + leaf max-prefix-threshold-percent { + type uint8; + units "percentage"; + description + "Percentage of maximum no. of prefixes at which + to generate warning"; + } + leaf max-prefix-restart-time { + type uint16; + units "minute"; + description + "Time interval (in minutes) after which peering + session will be reestablished"; + } + leaf is-peer-orf-capable { + type boolean; + description + "Peer has outbound route filter capability"; + } + leaf is-advertised-orf-send { + type boolean; + description + "Prefix based ORF send mode capability advertised"; + } + leaf is-received-orf-send-capable { + type boolean; + description + "Prefix based ORF send mode capability received"; + } + leaf is-advertised-orf-receive { + type boolean; + description + "Prefix based ORF receive mode capability + advertised"; + } + leaf is-received-orf-receive-capable { + type boolean; + description + "Prefix based ORF receive mode capability + received"; + } + leaf is-advertised-graceful-restart { + type boolean; + description + "Graceful Restart Capability advertised"; + } + leaf is-graceful-restart-state-flag { + type boolean; + description + "Restart state flag enabled"; + } + leaf is-received-graceful-restart-capable { + type boolean; + description + "Graceful Restart Capability received"; + } + leaf is-add-path-send-capability-advertised { + type boolean; + description + "Addpath Send capability advertised"; + } + leaf is-add-path-send-capability-received { + type boolean; + description + "Addpath Send capability received"; + } + leaf is-add-path-receive-capability-advertised { + type boolean; + description + "Addpath Receive capability advertised"; + } + leaf is-add-path-receive-capability-received { + type boolean; + description + "Addpath Receive capability received"; + } + leaf restart-time { + type uint32; + units "second"; + description + "Restart time advertised (seconds)"; + } + leaf local-restart-time { + type uint32; + units "second"; + description + "Local Restart time (seconds)"; + } + leaf stale-path-timeout { + type uint32; + units "second"; + description + "Stale path timeout time (in seconds)"; + } + leaf rib-purge-timeout-value { + type uint32; + units "second"; + description + "RIB purge timeout time (in seconds)"; + } + leaf neighbor-preserved-forwarding-state { + type boolean; + description + "Neighbor preserved forwarding state"; + } + leaf long-lived-graceful-restart-stale-time-configured { + type boolean; + description + "Long-lived graceful-restart stale time is + configured"; + } + leaf long-lived-graceful-restart-stale-time-sent { + type uint32; + units "second"; + description + "Stale time sent in long-lived graceful-restart + capability (seconds)"; + } + leaf long-lived-graceful-restart-stale-time-accept { + type uint32; + units "second"; + description + "Maximum long-lived graceful-restart stale time + acceptable from the neighbor (seconds)"; + } + leaf long-lived-graceful-restart-capability-received { + type boolean; + description + "Long-lived graceful-restart capability received + from the neighbor"; + } + leaf long-lived-graceful-restart-stale-time-received { + type uint32; + units "second"; + description + "Long-lived graceful-restart stale time received + from the neighbor (seconds)"; + } + leaf neighbor-preserved-long-lived-forwarding-state { + type boolean; + description + "Neighbor preserved long-lived forwarding state"; + } + leaf neighbor-long-lived-graceful-restart-capable { + type boolean; + description + "Treat neighbor as long-lived graceful-restart + capable"; + } + leaf neighbor-long-lived-graceful-restart-time-remaining { + type uint32; + description + "Remaining long-lived graceful-restart time"; + } + leaf is-prefix-orf-present { + type boolean; + description + "Outbound route filter prefix ORF present"; + } + leaf orf-entries-received { + type uint32; + description + "Number of outbound route filter entries received"; + } + leaf route-policy-prefix-orf { + type string; + description + "Prefix based ORF for incoming updates"; + } + leaf route-policy-in { + type string; + description + "Incoming route policy name"; + } + leaf route-policy-out { + type string; + description + "Outgoing route policy name"; + } + leaf route-policy-default-originate { + type string; + description + "Default-originate route policy name"; + } + leaf is-neighbor-ebgp-without-inbound-policy { + type boolean; + description + "eBGP neighbor with no configured inbound policy"; + } + leaf is-neighbor-ebgp-without-outbound-policy { + type boolean; + description + "eBGP neighbor with no configured outbound policy"; + } + leaf is-as-override-set { + type boolean; + description + "As override set "; + } + leaf is-allow-as-in-set { + type boolean; + description + "Allowas-in set "; + } + leaf allow-as-in-count { + type uint32; + description + "Allowas-in count config"; + } + leaf address-family-long-lived-time { + type uint32; + description + "AF specific Long-lived-time config"; + } + leaf is-aigp-set { + type boolean; + description + "AIGP set "; + } + leaf is-rt-present { + type boolean; + description + "RT attribute list present"; + } + leaf is-rt-present-standby { + type boolean; + description + "RT attribute list present"; + } + leaf accept-own-enabled { + type boolean; + description + "Accept-Own enabled"; + } + leaf selective-multipath-eligible { + type boolean; + description + "Selective multipath eligible"; + } + leaf afrpki-disable { + type boolean; + description + "Prefix validation disabled"; + } + leaf afrpki-use-validity { + type boolean; + description + "Prefix v. use validity"; + } + leaf afrpki-allow-invalid { + type boolean; + description + "Prefix v. allow invalid"; + } + leaf afrpki-signal-ibgp { + type boolean; + description + "Prefix v. signal ibgp"; + } + leaf is-advertise-permanent-network { + type boolean; + description + "Advertise Permanent Network"; + } + leaf is-send-mcast-attr { + type boolean; + description + "Send Mcast Attr"; + } + leaf import-stitching { + type boolean; + description + "Import Stitching enabled"; + } + leaf import-reoriginate { + type boolean; + description + "Import Reoriginate enabled"; + } + leaf import-reoriginate-stitching { + type boolean; + description + "Import Reoriginate Stitching enabled"; + } + leaf advertise-v4-flags { + type uint32; + description + "Advertise options for VPNV4"; + } + leaf advertise-v6-flags { + type uint32; + description + "Advertise options for VPNV6"; + } + leaf enable-label-stack { + type boolean; + description + "Enable label stack"; + } + list extended-community { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + list extended-community-standby { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + } + + grouping BGP-NBR-RANGE-BAG { + description + "BGP Neighbor Range Information"; + container connection-local-address { + description + "Local address for the connection"; + uses BGP-ADDRTYPE; + } + container connection-remote-address { + description + "Remote address for the connection"; + uses BGP-ADDRTYPE; + } + container graceful-maintenance { + description + "Graceful Maintenance"; + uses BGP-NBR-GSHUT; + } + container cfg-local-address { + description + "Configured local address"; + uses BGP-ADDRTYPE; + } + leaf speaker-id { + type uint8; + description + "Speaker this neighbor is allocated to"; + } + leaf description { + type string; + description + "Description"; + } + leaf local-as { + type uint32; + description + "Local AS number"; + } + leaf remote-as { + type uint32; + description + "Remote AS number"; + } + leaf has-internal-link { + type boolean; + description + "Internal link to neighbor"; + } + leaf is-local-address-configured { + type boolean; + description + "Local address configured for the neighbor + connection"; + } + leaf neighbor-range-prefix-length { + type uint8; + description + "Neighbor Range Prefix Length"; + } + leaf is-administratively-shut-down { + type boolean; + description + "Neighbor is administratively shut down"; + } + leaf is-neighbor-max-prefix-shutdown { + type boolean; + description + "Neighbor shut down because it exceeded max prfx + count"; + } + leaf is-out-of-memory-forced-up { + type boolean; + description + "Neighbor forced up during a low memory condition"; + } + leaf ttl-security-enabled { + type boolean; + description + "TTL Security enabled"; + } + leaf suppress4-byte-as { + type boolean; + description + "Suppress 4byteas capability"; + } + leaf bfd-session-enable-mode { + type Bgp-bfd-enable-mode; + description + "BFD enable mode for this peer"; + } + leaf bfd-minintervalval { + type uint32; + description + "BFD Mininterval for this peer"; + } + leaf bfd-multiplierval { + type uint32; + description + "BFD Multiplier for this peer"; + } + leaf ebgp-time-to-live { + type uint32; + description + "Maximum number of hops for external BGP neighbor"; + } + leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { + type boolean; + description + "If true, MPLS and NULL rewrite is disabled; if + false, it is enabled"; + } + leaf tcpmss { + type uint32; + description + "Neighbor TCP Maximum Segment + size"; + } + leaf msg-log-in { + type uint32; + description + "Message in log count"; + } + leaf msg-log-out { + type uint32; + description + "Message out log count"; + } + leaf neighbor-local-as { + type uint32; + description + "Local AS configured on the neighbor"; + } + leaf local-as-no-prepend { + type boolean; + description + "Option to not prepend the Local AS to + announcements"; + } + leaf is-capability-negotiation-performed { + type boolean; + description + "Capability negotiation performed"; + } + leaf configured-hold-time { + type uint16; + units "second"; + description + "Hold time (in secs) configured for this + connection"; + } + leaf configured-keepalive { + type uint16; + units "second"; + description + "Keepalive time (in secs) configured for this + connection"; + } + leaf configured-min-acc-hold-time { + type uint16; + units "second"; + description + "Minimum acceptable hold time from neighbor (in + secs) configured for this connection"; + } + leaf min-advertise-interval { + type uint32; + units "second"; + description + "Minimum advertisement interval, secs part"; + } + leaf min-advertise-interval-msecs { + type uint32; + units "millisecond"; + description + "Minimum advertisement interval, msecs part"; + } + leaf min-origination-interval { + type uint16; + units "second"; + description + "Minimum origination interval (in secs)"; + } + leaf remote-as-number { + type uint32; + description + "Remote AS number"; + } + leaf dmz-link-bandwidth { + type uint32; + description + "Bandwidth of link to single-hop eBGP peer"; + } + leaf ebgp-recv-dmz { + type boolean; + description + "Receive Bandwidth of link to single-hop eBGP + peer"; + } + leaf ebgp-send-dmz-mode { + type Bgp-ebgp-send-dmz-enable-mode; + description + "Ebgp send dmz link bw mode"; + } + leaf tos-type { + type uint8; + description + "Precedence or DSCP type"; + } + leaf tos-value { + type uint8; + description + "Precedence or DSCP value"; + } + leaf tcp-session-open-mode { + type Bgp-tcp-mode; + description + "The TCP mode to be used to set up BGP session + with the neighbor"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf standby-rp { + type boolean; + description + "Standby RP socket inited for Active Open"; + } + leaf nsr-enabled { + type boolean; + description + "Neighbor supports NSR"; + } + leaf graceful-restart-enabled-nbr { + type boolean; + description + "Neighbor supports graceful-restart"; + } + leaf gr-restart-time { + type uint32; + units "second"; + description + "Neighbor restart time (in seconds)"; + } + leaf gr-stale-path-time { + type uint32; + units "second"; + description + "Neighbor stale-path time (in seconds)"; + } + leaf is-passive-close { + type boolean; + description + "If true, active socket canbe closed if passive + openis received for a GRcapable neighbor"; + } + leaf nbr-enforce-first-as { + type boolean; + description + "Neighbor enforce first AS"; + } + leaf active-bmp-servers { + type uint8; + description + "BMP Servers to which the neighbor sends logs"; + } + leaf nbr-cluster-id { + type uint32; + description + "Cluster id"; + } + leaf nbr-in-cluster { + type uint8; + description + "Type of cluster_id:undefined/number/Ip address"; + } + leaf ignore-connected { + type boolean; + description + "If true, the VPN client isan IBGP CE peer"; + } + leaf internal-vpn-client { + type boolean; + description + "If true, don't do NHconnected check for nbr"; + } + leaf local-as-replace-as { + type boolean; + description + "Local AS Replace-AS option"; + } + leaf local-as-dual-as { + type boolean; + description + "Local AS Dual-AS option"; + } + leaf local-as-dual-as-mode-native { + type boolean; + description + "Applies only if Local AS Dual-AS option is + enabled. Indicates if Dual-AS mode is native."; + } + leaf egress-peer-engineering-enabled { + type boolean; + description + "Indicates if Egress Peer Engineering is enabled"; + } + leaf discard-as4-path { + type uint32; + description + "Discard AS4_PATH in case there is a discrepancy + in merging AS_PATH and AS4_PATH,retain ASPATH"; + } + leaf rpki-disable { + type boolean; + description + "Prefix validation disabled"; + } + leaf rpki-use-validity { + type boolean; + description + "Prefix v. use validity"; + } + leaf rpki-allow-invalid { + type boolean; + description + "Prefix v. allow invalid"; + } + leaf rpki-signal-ibgp { + type boolean; + description + "Prefix v. signal ibgp"; + } + leaf remote-as-list-name { + type string; + description + "Remote AS List Name"; + } + leaf nbr-rcv-size { + type uint32; + description + "Nbr Receive Size"; + } + leaf nbr-send-size { + type uint32; + description + "Nbr Send Size"; + } + leaf islocal-address-cfg { + type boolean; + description + "Local address configured"; + } + leaf update-source { + type string; + description + "Update Source"; + } + leaf addpath-send-enable { + type boolean; + description + "Addpath Send enabled"; + } + leaf addpath-receive-enable { + type boolean; + description + "Addpath Receive enable"; + } + leaf addpath-send-disable { + type boolean; + description + "Addpath Send Disabled"; + } + leaf addpath-receive-disable { + type boolean; + description + "Addpath Receive Disabled"; + } + leaf upd-errh-noreset { + type boolean; + description + "Update errh noreset"; + } + leaf msg-buf-count { + type uint32; + description + "Message Buf Count"; + } + leaf msg-bug-circular { + type boolean; + description + "Message Buf Circular"; + } + leaf syslog-enable { + type boolean; + description + "syslog enable"; + } + leaf oper-attrf-enable { + type boolean; + description + "Oper attrf Enable"; + } + leaf attrf-group-name { + type string; + description + "Attrf Group Name"; + } + leaf max-peers { + type uint32; + description + "Max Dynamic nbrs in range"; + } + leaf idle-watch-time { + type uint32; + units "second"; + description + "Dynamic Neighbor idle-watch time (in seconds)"; + } + leaf current-peers { + type uint32; + description + "Current Dynamic nbrs in range"; + } + leaf range-open-match { + type uint32; + description + "Passive open matching range"; + } + leaf range-open-accepted { + type uint32; + description + "open accepted"; + } + leaf range-max-drop { + type uint32; + description + "open drop due to max peers"; + } + leaf range-inst-error { + type uint32; + description + "Error during instance creation"; + } + list af-data { + max-elements "25"; + description + "Address family specific neighbor data"; + uses BGP-NBR-RANGE-AF; + } + list instance { + description + "Dynamic Neighbor Instance List"; + uses BGP-NBR-INSTANCE; + } + } + + grouping BGP-NEXTHOP-VRF-BAG { + description + "BGP nexthop processing information for a VRF"; + leaf total-processing-time { + type uint32; + description + "Total time spent in processing"; + } + leaf max-proc-notification-time { + type uint32; + description + "How long since the maximum processing time + notifcation was received"; + } + leaf max-notification-bestpath-deletes { + type uint32; + description + "Number of bestpath deletes caused by + notification which resulted in maximum + processing"; + } + leaf max-notification-bestpath-changes { + type uint32; + description + "Number of bestpath changes caused by + notification which resulted in maximum + processing"; + } + leaf maximum-processing-time { + type uint32; + description + "Maximum time spent procesing a single batch + notification"; + } + leaf last-notificationication-time { + type uint32; + description + "Time since the last notification was received"; + } + leaf last-notification-processing-time { + type uint32; + description + "Processing time for the last notification"; + } + } + + grouping BGP-NBR-BRIEF-BAG { + description + "BGP Neighbor brief Information"; + container connection-local-address { + description + "Local address for the connection"; + uses BGP-ADDRTYPE; + } + container connection-remote-address { + description + "Remote address for the connection"; + uses BGP-ADDRTYPE; + } + leaf speaker-id { + type uint8; + description + "Speaker this neighbor is allocated to"; + } + leaf description { + type string; + description + "Description"; + } + leaf local-as { + type uint32; + description + "Local AS number"; + } + leaf remote-as { + type uint32; + description + "Remote AS number"; + } + leaf messages-queued-in { + type uint32; + description + "No. of msgs on receive queue"; + } + leaf messages-queued-out { + type uint32; + description + "No. of messages on send queue"; + } + leaf connection-state { + type Bgp-conn-state; + description + "State of connection"; + } + leaf is-local-address-configured { + type boolean; + description + "Local address configured for the neighbor + connection"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf nsr-enabled { + type boolean; + description + "Neighbor supports NSR"; + } + leaf nsr-state { + type Bgp-sync-nbr-nsr-state; + description + "NSR state"; + } + leaf postit-pending { + type boolean; + description + "Nbr has postits pending"; + } + } + + grouping BGP-PERF-PROCESS-VRF { + description + "BGP PERF PROCESS VRF"; + leaf lpts-set-up-time { + type uint32; + description + "Time spent setting up LPTS socket opt (ms)"; + } + leaf lpts-calls { + type uint32; + description + "Number of times LPTS socket opt set up"; + } + leaf read-throttles-count { + type uint32; + description + "Number of partial read throttles"; + } + leaf low-throttled-read-count { + type uint32; + description + "Number of socket reads for nbrs above low + threshold"; + } + leaf high-throttled-read-count { + type uint32; + description + "Number of socket reads for nbrs above high + threshold"; + } + leaf read-calls-count { + type uint32; + description + "No. of calls to function to read inbound data"; + } + leaf read-messages-count { + type uint32; + description + "Number of BGP messages read"; + } + leaf data-bytes-read { + type uint32; + units "byte"; + description + "No. of bytes of data read"; + } + leaf io-read-time { + type uint32; + description + "Time spent reading inbound data (ms)"; + } + leaf write-calls-count { + type uint32; + description + "No. of calls to function to write outbound data"; + } + leaf data-bytes-written { + type uint32; + units "byte"; + description + "Number of bytes of data written"; + } + leaf io-write-time { + type uint32; + description + "Time spent writing outbound data (ms)"; + } + leaf write-subgroup-calls-count { + type uint32; + description + "No. of calls to to funvction to process + sub-group message list"; + } + leaf write-subgroup-messages-count { + type uint32; + description + "Number of sub-group messages processed"; + } + leaf subgroup-list-time { + type uint32; + units "millisecond"; + description + "Time spent processing sub-group message list + (milliseconds)"; + } + leaf write-queue-calls-count { + type uint32; + description + "No. of Calls to function to process write queue"; + } + leaf write-queue-messages-count { + type uint32; + description + "Number of write queue messages processed"; + } + leaf write-queue-time { + type uint32; + description + "Time spent processing write queue (ms)"; + } + leaf inbound-update-messages { + type uint32; + description + "Number of inbound update messages processed"; + } + leaf inbound-update-messages-time { + type uint32; + units "millisecond"; + description + "Time spent processing imbound update messages + (milliseconds)"; + } + } + + grouping BGP-ISSU-MILESTONE-BAG { + description + "BGP ISSU MILESTONE BAG"; + leaf milestone-name { + type string; + description + "Milestone name"; + } + leaf milestone-start-timestamp { + type uint32; + description + "Milestone start timestamp"; + } + leaf milestone-met-timestamp { + type uint32; + description + "Milestone met timestamp"; + } + } + + grouping BGP-PERF-NPL-ENDP-INFO-BAG { + description + "BGP PERF NPL ENDP INFO BAG"; + leaf endpoint-name { + type string; + description + "Endpoint name"; + } + leaf sync-group-name { + type string; + description + "Syncgroup associated with this endpoint"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + leaf endpoint-handle { + type uint64; + description + "NCD endpoint handle"; + } + leaf endpoint-stale-flag { + type boolean; + description + "Endpoint stale flag"; + } + leaf endpoint-issu-role { + type string; + description + "Endpoint's ISSU Role. Values are 'Primary', + 'Secondary' and 'Tertiary'"; + } + leaf endpoint-active-flag { + type boolean; + description + "Endpoint active flag"; + } + leaf msg-size { + type uint32; + description + "Message size for this entity"; + } + leaf wheel-id { + type uint32; + description + "Wheel ID for this endpoint"; + } + leaf expected-sequence-num { + type uint32; + description + "Expected sequence number"; + } + list endpoint { + description + "NCD endpoint bytestream"; + leaf entry { + type uint8; + units "byte"; + } + } + } + + grouping NSR-PL-RECV-DROP-ARRAY { + description + "NSR PL RECV DROP ARRAY"; + list nsr-pl-recv-drop-array { + max-elements "16"; + description + "nsr pl recv drop array"; + leaf entry { + type uint32; + } + } + } + + grouping NSR-PL-SEND-DROP-ARRAY { + description + "NSR PL SEND DROP ARRAY"; + list nsr-pl-send-drop-array { + max-elements "7"; + description + "nsr pl send drop array"; + leaf entry { + type uint32; + } + } + } + + grouping NSR-PL-CLIENT-STATS-TYPE { + description + "NSR PL stats information"; + list num-sent { + max-elements "5"; + description + "Total sent"; + leaf entry { + type uint64; + } + } + list num-recv { + max-elements "6"; + description + "Total recvd"; + leaf entry { + type uint64; + } + } + list num-sent-drop { + max-elements "5"; + description + "Sent Error/drops"; + uses NSR-PL-SEND-DROP-ARRAY; + } + list num-recv-drop { + max-elements "6"; + description + "Recv Errors/drops"; + uses NSR-PL-RECV-DROP-ARRAY; + } + } + + grouping BGP-PERF-DS-NPL-INFO-BAG { + description + "BGP PERF DS NPL INFO BAG"; + leaf dir-service-conn-state { + type Bgp-ds-conn-state; + description + "Current Directory Service connectionstate"; + } + leaf issu-mgr-conn-state { + type Bgp-ism-conn-state; + description + "Current ISSU Mgr connection state"; + } + leaf issu-phase { + type string; + description + "Current ISSU Phase"; + } + leaf issu-type-ng { + type boolean; + description + "ISSU type is Next Gen"; + } + leaf issuha-option { + type string; + description + "Current ISSU HA option"; + } + leaf local-ds-handle { + type uint64; + description + "Local Directory Service handle"; + } + leaf service-name { + type string; + description + "Local DS service name"; + } + leaf dsissu-status-flag { + type uint32; + description + "DS ISSU status flag"; + } + list npl-priority-statistic { + max-elements "2"; + description + "NPL priority statistics"; + uses NSR-PL-CLIENT-STATS-TYPE; + } + list npl-endpoint { + description + "NPL endpoint information"; + uses BGP-PERF-NPL-ENDP-INFO-BAG; + } + } + + grouping BGP-PERF-SERVER-CONN-STAT-BAG { + description + "BGP PERF SERVER CONN STAT BAG"; + container first-connection-up-timestamp { + description + "First connection Up event timestamp"; + uses BGP-TIMESPEC; + } + container last-connection-up-timestamp { + description + "Last connection Up event timestamp"; + uses BGP-TIMESPEC; + } + container first-connection-down-timestamp { + description + "First connection Down event timestamp"; + uses BGP-TIMESPEC; + } + container last-connection-down-timestamp { + description + "Last connection Down event timestamp"; + uses BGP-TIMESPEC; + } + leaf is-connection-up { + type boolean; + description + "Is Connection Up?"; + } + leaf connection-up-count { + type uint32; + description + "Number of connection Up events"; + } + leaf last-connection-up-age { + type uint32; + units "second"; + description + "Time since last connection Up event (in seconds)"; + } + leaf connection-down-count { + type uint32; + description + "Number of connection down events"; + } + leaf last-connection-down-age { + type uint32; + units "second"; + description + "Time since last connection Down event (in + seconds)"; + } + } + + grouping BGP-PERF-RIB-GBL-INFO-BAG { + description + "BGP PERF RIB GBL INFO BAG"; + container first-rib-connection-up-timestamp { + description + "First RIB connection Up event timestamp"; + uses BGP-TIMESPEC; + } + container last-rib-connection-up-timestamp { + description + "Last RIB connection Up event timestamp"; + uses BGP-TIMESPEC; + } + container first-rib-connection-down-timestamp { + description + "First RIB connection Down event timestamp"; + uses BGP-TIMESPEC; + } + container last-rib-connection-down-timestamp { + description + "Last RIB connection Down event timestamp"; + uses BGP-TIMESPEC; + } + leaf is-rib-connection-up { + type boolean; + description + "Is RIB Connection Up?"; + } + leaf rib-connection-up-count { + type uint32; + description + "Number of RIB connection Up events"; + } + leaf last-rib-connection-up-age { + type uint32; + units "second"; + description + "Time since last RIB connection Up event (in + seconds)"; + } + leaf rib-connection-down-count { + type uint32; + description + "Number of RIB connection Down events"; + } + leaf last-rib-connection-down-age { + type uint32; + units "second"; + description + "Time since last RIB connection Down event (in + seconds)"; + } + } + + grouping BGP-POSTIT-COUNT-INFO { + description + "BGP POSTIT COUNT INFO"; + container neighbor-address { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + leaf postit-count { + type uint32; + description + "Count of the number of postits for this nbr"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + } + + grouping BGP-PERF-PROCESS-GBL { + description + "BGP PERF PROCESS GBL"; + container ipv4rib-server { + description + "IPv4 RIB server global info"; + uses BGP-PERF-RIB-GBL-INFO-BAG; + } + container ipv6rib-server { + description + "IPv6 RIB server global info"; + uses BGP-PERF-RIB-GBL-INFO-BAG; + } + container te-connection { + description + "MPLS TE server connection info"; + uses BGP-PERF-SERVER-CONN-STAT-BAG; + } + container lsd-connection { + description + "MPLS LSD server connection info"; + uses BGP-PERF-SERVER-CONN-STAT-BAG; + } + container ds-npl { + description + "NSR related DS and NPL information"; + uses BGP-PERF-DS-NPL-INFO-BAG; + } + leaf configuration-items-processed { + type uint32; + description + "Number of config items processed"; + } + leaf configuration-processing-time { + type uint32; + units "millisecond"; + description + "Time spent processing config (milliseconds)"; + } + leaf edm-requests-count { + type uint32; + description + "Number of EDM requests processed"; + } + leaf edm-processing-time { + type uint32; + description + "Time spent processing EDM requests (ms)"; + } + leaf brib-api-output-messages-sent { + type uint32; + description + "bRIB API output messages sent"; + } + leaf brib-api-output-bytes-sent { + type uint32; + units "byte"; + description + "bRIB API output bytes sent"; + } + leaf brib-api-output-bytes-generated { + type uint32; + units "byte"; + description + "bRIB API output bytes generated"; + } + leaf brib-api-output-prefixes-advertised { + type uint32; + description + "bRIB API output prefixes advertised"; + } + leaf brib-api-output-prefixes-withdrawn { + type uint32; + description + "bRIB API output prefixes withdrawn"; + } + leaf brib-api-output-sending-time { + type uint32; + description + "Time spent sending output to bRIB API (ms)"; + } + leaf brib-api-output-generation-time { + type uint32; + units "millisecond"; + description + "Time spent generating output for bRIB API + (milliseconds)"; + } + leaf brib-api-output-calls { + type uint32; + description + "bRIB API calls to generate output"; + } + leaf brib-api-input-messages { + type uint32; + description + "bRIB API input messages"; + } + leaf brib-api-input-bytes { + type uint32; + units "byte"; + description + "bRIB API input bytes"; + } + leaf brib-api-input-prefixes-received { + type uint32; + description + "bRIB API input advertised prefixes received"; + } + leaf brib-api-input-withdrawn-prefixes { + type uint32; + description + "bRIB API input withdrawn prefixes received"; + } + leaf brib-api-input-processing-time { + type uint32; + units "millisecond"; + description + "Time spent processing input from bRIB API + (milliseconds)"; + } + leaf instance-node-role { + type boolean; + description + "Node role - active/passive"; + } + leaf active-nsrtcp-phase-two-enter-time { + type uint32; + units "second"; + description + "Time that NSR TCP Init Sync Phase Two entered on + active (seconds since Jan 1 1970)"; + } + leaf sec-active-nsrtcp-phase-two-enter-time { + type uint32; + units "second"; + description + "Time that NSR TCP Init Sync Phase Two entered on + active (seconds since Jan 1 1970)"; + } + leaf proc-scoped-sync-state { + type Bgp-scoped-sync-state; + description + "BGP scoped sync state"; + } + leaf initial-sync-sessions-added { + type boolean; + description + "If true, BGP has at least one established + session when NSR initial synchronization is + started"; + } + leaf in-event-attach-calls { + type uint32; + description + "event_file_attach calls for input"; + } + leaf out-event-attach-calls { + type uint32; + description + "event_file_attach calls for output"; + } + leaf in-out-event-attach-calls { + type uint32; + description + "event_file_attach calls for input"; + } + leaf updgen-timer-id { + type uint32; + description + "Updgen master timer ID"; + } + leaf updgen-tree-timer-left { + type uint64; + description + "Time left before the QNX timer would expire"; + } + leaf updgen-tree-timer-expiry { + type uint64; + description + "Time as per tree->mtexptime"; + } + leaf current-clock-time { + type uint64; + description + "Current time"; + } + leaf updgen-handler-tm { + type uint64; + description + "Timestamp when updgen timer handler got called"; + } + leaf io-timer-id { + type uint32; + description + "IO master timer ID"; + } + leaf io-tree-timer-left { + type uint64; + description + "Time left before the QNX timer would expire"; + } + leaf io-tree-timer-expiry { + type uint64; + description + "Time as per tree->mtexptime"; + } + leaf io-handler-tm { + type uint64; + description + "Timestamp when IO timer handler got called"; + } + leaf qad-messages-sent { + type uint32; + description + "Messages sent on QAD "; + } + leaf qadack-sent { + type uint32; + description + "Acks sent on QAD "; + } + leaf qad-send-failure { + type uint32; + description + "Send failure on QAD "; + } + leaf qad-ac-ks-failure { + type uint32; + description + "Ack failure on QAD "; + } + leaf qad-suspends { + type uint32; + description + "QAD send suspend"; + } + leaf qad-resumes { + type uint32; + description + "QAD send resume "; + } + leaf qad-send-drops { + type uint32; + description + "Send packets dropped due to null peer "; + } + leaf qad-messages-received { + type uint32; + description + "Messages received on QAD "; + } + leaf qad-processed { + type uint32; + description + "Messages processed"; + } + leaf qad-ac-ks-received { + type uint32; + description + "Acks received on QAD "; + } + leaf qad-timeout-received { + type uint32; + description + "Timeouts received on QAD "; + } + leaf qad-init-drops { + type uint32; + description + "Packets dropped on standby during initialization"; + } + leaf qadoos-drops { + type uint32; + description + "Packets dropped due to out of sequence + packetreceived"; + } + leaf qad-recv-drops { + type uint32; + description + "Received packet dropped due to null peer "; + } + leaf qad-timeout-recvd { + type uint32; + description + "Number of packet send timeouts "; + } + leaf nsr-last-reset-reason { + type uint8; + description + "Reason for last nsr state machine reset"; + } + leaf redcon-nsr-ready { + type boolean; + description + "NSR state conveyed to Redcon by bgp - nsr + ready/unready"; + } + leaf redcon-state-time { + type uint32; + description + "Time when nsr state wasconveyed to Redcon last"; + } + leaf active-nsr-state { + type uint32; + description + "Current Active BGP nsrstate"; + } + leaf sec-active-nsr-state { + type uint32; + description + "Current Sec Active BGP nsrstate"; + } + leaf total-outstanding-postits { + type uint32; + description + "Total outstanding postits across all neighbors"; + } + leaf total-neighbors-with-pending-postits { + type uint32; + description + "Total nbrs with pending postits"; + } + leaf tep2p-auto-tunnel-enabled { + type boolean; + description + "TE support for P2P auto tunnel"; + } + list active-nsr-mode-enter-time { + max-elements "26"; + description + "Time that each mode was entered (seconds since + + Jan 1 1970)"; + leaf entry { + type uint32; + units "second"; + } + } + list standby-nsr-mode-enter-time { + max-elements "7"; + description + "Time that each mode was entered (seconds since + + Jan 1 1970)"; + leaf entry { + type uint32; + units "second"; + } + } + list active-nsrfo-time { + max-elements "10"; + description + "Time that each thread isdone with its + + go-activeprocessing (seconds since Jan 1 1970)"; + leaf entry { + type uint32; + units "second"; + } + } + list postit-count-info { + description + "List of neighbors and their postit counts"; + uses BGP-POSTIT-COUNT-INFO; + } + list issu-milestone { + description + "ISSU Milestones"; + uses BGP-ISSU-MILESTONE-BAG; + } + } + + grouping BGP-PERF-PROCESS { + description + "BGP PERF PROCESS"; + container global { + description + "Global information"; + uses BGP-PERF-PROCESS-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-PERF-PROCESS-VRF; + } + } + + grouping BGP-PROCESS-INFO-VRF { + description + "BGP PROCESS INFO VRF"; + leaf neighbors-count { + type uint32; + description + "Number of neighbors"; + } + leaf established-neighbors-count { + type uint32; + description + "Number of established neighbors"; + } + leaf update-messages-received { + type uint32; + description + "Number of update messages received"; + } + leaf update-messages-sent { + type uint32; + description + "No. of update messages sent"; + } + leaf notifications-received { + type uint32; + description + "No. of notifications received"; + } + leaf notifications-sent { + type uint32; + description + "No. of notifications sent"; + } + leaf network-count { + type uint32; + description + "Number of networks"; + } + leaf path-count { + type uint32; + description + "Number of paths"; + } + } + + grouping BGP-PROCESS-INFO-GBL { + description + "BGP PROCESS INFO GBL"; + leaf process-instance-node { + type string; + description + "Node the process instance is on"; + } + leaf restart-count { + type uint32; + description + "No. of times BGP has started"; + } + leaf path-attributes-entry-count { + type uint32; + description + "No. of path attribute entries"; + } + leaf path-attribute-memory { + type uint32; + units "byte"; + description + "Memory (bytes) used by path attribute entries"; + } + leaf as-path-entry-count { + type uint32; + description + "Number of AS-path entries"; + } + leaf as-path-entries-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by AS-path entries"; + } + leaf community-entry-count { + type uint32; + description + "Number of community entries"; + } + leaf community-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by community entries"; + } + leaf extended-community-entry-count { + type uint32; + description + "Number of extended community entries"; + } + leaf extended-community-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by extended community + entries"; + } + leaf pe-distinguisher-label-entry-count { + type uint32; + description + "Number of PE distinguisher label entries"; + } + leaf pe-distinguisher-label-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by PE distinguisher + labels entries"; + } + leaf pta-entry-count { + type uint32; + description + "Number of PTA entries"; + } + leaf pta-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by PTA entries"; + } + leaf tunnel-encap-entry-count { + type uint32; + description + "Number of Tunnel encap entries"; + } + leaf tunnel-encap-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by tunnel encap entries"; + } + leaf ribrnh-entry-count { + type uint32; + description + "Number of RIBRNH entries"; + } + leaf ribrnh-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by RIBRNH entries"; + } + leaf ppmp-entry-count { + type uint32; + description + "Number of PPMP entries"; + } + leaf ppmp-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by PPMP entries"; + } + leaf route-reflectors { + type uint32; + description + "Number of route reflector info entries"; + } + leaf route-reflector-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by route reflector info + entries"; + } + leaf nexthop-count { + type uint32; + description + "Number of nexthop attribute info entries"; + } + leaf nexthop-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by nexthop attribute info + entries"; + } + leaf lsattr-entry-count { + type uint32; + description + "Number of LASATTR entries"; + } + leaf lsattr-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by LSATTR entries"; + } + leaf attr-set-entry-count { + type uint32; + description + "Number of ATTRSET entries"; + } + leaf attr-set-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by ATTRSET entries"; + } + leaf lindex-entry-count { + type uint32; + description + "Number of LINDEX entries"; + } + leaf lindex-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by LINDEX entries"; + } + leaf local-as { + type uint32; + description + "Local autonomous system number"; + } + leaf total-vrf-count { + type uint32; + description + "total vrf count"; + } + leaf neighbors-count-total { + type uint32; + description + "Total number of neighbors"; + } + leaf established-neighbors-count-total { + type uint32; + description + "Total umber of established neighbors"; + } + leaf sn-num-non-dflt-vrf-nbrs { + type uint32; + description + "sn num non dflt vrf nbrs"; + } + leaf sn-num-non-dflt-vrf-nbrs-estab { + type uint32; + description + "sn num non dflt vrf nbrs estab"; + } + leaf large-community-entry-count { + type uint32; + description + "Number of large community entries"; + } + leaf large-community-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by large community + entries"; + } + list pool-size { + max-elements "15"; + description + "pool size"; + leaf entry { + type uint32; + } + } + list pool-alloc-count { + max-elements "15"; + description + "pool alloc count"; + leaf entry { + type uint32; + } + } + list pool-free-count { + max-elements "15"; + description + "pool free count"; + leaf entry { + type uint32; + } + } + list msg-log-pool-size { + max-elements "5"; + description + "msg log pool size"; + leaf entry { + type uint32; + } + } + list msg-log-pool-alloc-count { + max-elements "5"; + description + "msg log pool alloc count"; + leaf entry { + type uint32; + } + } + list msg-log-pool-free-count { + max-elements "5"; + description + "msg log pool free count"; + leaf entry { + type uint32; + } + } + list bmp-pool-size { + max-elements "20"; + description + "bmp pool size"; + leaf entry { + type uint32; + } + } + list bmp-pool-alloc-count { + max-elements "20"; + description + "bmp pool alloc count"; + leaf entry { + type uint32; + } + } + list bmp-pool-free-count { + max-elements "20"; + description + "bmp pool free count"; + leaf entry { + type uint32; + } + } + } + + grouping BGP-PROCESS-INFO-BAG { + description + "BGP Process information"; + container global { + description + "Global information"; + uses BGP-PROCESS-INFO-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-PROCESS-INFO-VRF; + } + container performance-statistics { + description + "Performance statistics"; + uses BGP-PERF-PROCESS; + } + leaf process-instance { + type uint8; + description + "ID for the BGP process instance"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf vrf-totals { + type boolean; + description + "per VRF counts aggregated across all VRFs"; + } + } + + grouping BGP-BMP-NBR-BAG { + description + "BMP per Neighbor Details"; + container bmp-neighbor-address { + description + "Address of Nbr that logs to BMP server"; + uses BGP-ADDRTYPE; + } + leaf bmp-neighbor-msg-pending { + type uint32; + description + "Number of messages pending to be sent to BMP + Server from this Neighbor"; + } + leaf bmp-neighbor-msg-dropped { + type uint32; + description + "Number of messages dropped sent from this + neighbor"; + } + leaf bmp-neighbor-peer-up-sent { + type uint32; + description + "Number of Peer UP Messages sent from this + neighbor"; + } + leaf bmp-neighbor-peer-down-sent { + type uint32; + description + "Number of Peer DOWN Messages sent from this + neighbor"; + } + leaf bmp-neighbor-route-monitor-sent { + type uint32; + description + "Number of Route Monitor Messages sent"; + } + leaf bmp-neighbor-route-monitor-eor-sent { + type uint32; + description + "Number of Route Monitor EOR Messages sent"; + } + leaf bmp-neighbor-path-update-sent { + type uint32; + description + "Number of Path UpdateMessages sent"; + } + leaf bmp-neighbor-path-withdraw-sent { + type uint32; + description + "Number of Path WithdrawMessages sent"; + } + leaf bmp-neighbor-path-update-drop { + type uint32; + description + "Number of path update drop "; + } + leaf bmp-neighbor-path-withdraw-drop { + type uint32; + description + "Number of path wdraw drop "; + } + leaf bmp-neighbor-upd-msg-sent { + type uint32; + description + "Number of update message sent"; + } + leaf bmp-neighbor-wdraw-msg-sent { + type uint32; + description + "Number of withdraw message sent"; + } + } + + grouping BGP-BMP-SRVR-AFI { + description + "BMP AFI Server Details"; + container bmp-resume-prefix { + description + "BMP Resume prefix"; + uses BGP-PREFIXTYPE; + } + container bmp-filter-neighbor-address { + description + "Filter Neighbor Address"; + uses BGP-ADDRTYPE; + } + leaf bmpaf-name { + type Bgp-afi; + description + "BMP Address family identifier"; + } + leaf bmp-resume-prefix-len { + type uint32; + description + "BMP Resume prefix Len"; + } + leaf bmp-upd-gen-resume-start-version { + type uint32; + description + "Update Gen ResumeWalk start version"; + } + leaf bmp-upd-gen-resume-end-version { + type uint32; + description + "Update Gen ResumeWalk end version"; + } + leaf bmp-upd-gen-walk-stopped { + type boolean; + description + "Update Gen WalkStopped"; + } + leaf bmp-upd-gen-resume-net-version { + type uint32; + description + "Update Gen ResumeWalk Net version"; + } + leaf bmp-upd-gen-walk-run-time-stamp { + type uint64; + description + "Last Update Gen Run time stamp"; + } + leaf bmp-upd-gen-walk-run-count { + type uint64; + description + "Number of times Update Gen ran"; + } + leaf bmp-upd-gen-walk-stop-time-stamp { + type uint64; + description + "Last Update Gen Stop time stamp"; + } + leaf bmp-upd-gen-walk-stop-count { + type uint64; + description + "Number of times Update Gen Stopped"; + } + leaf bmp-init-eor-end-version { + type uint32; + description + "Version to reach to send EOR"; + } + leaf bmp-init-eor-pending-cnt { + type uint32; + description + "Count for pending EOR"; + } + leaf bmp-filter-neighbor-address-set { + type boolean; + description + "Filter Neighbor Address Set ?"; + } + leaf bmp-filter-nbr-cnt { + type uint32; + description + "Filter nbr Count for this AFI"; + } + leaf bmp-send-version { + type uint32; + description + "Table Version that this BMP server has caught + upto"; + } + } + + grouping BGP-BMP-SRVR-BAG { + description + "BMP Server Details"; + container bmp-server-state-age { + description + "Age of current state of BMP Server"; + uses BGP-TIMESPEC; + } + container bmp-server-state-time-spec { + description + "Timespec of current state of BMP Server"; + uses BGP-TIMESPEC; + } + container bmp-server-last-discon-time { + description + "Timespec of Last Disconnect event received from + BMP server"; + uses BGP-TIMESPEC; + } + container update-source-address { + description + "Address of Interface configured as Update Source"; + uses BGP-ADDRTYPE; + } + leaf bmp-server-id { + type uint8; + description + "BMP Server ID"; + } + leaf bmp-server-host-name { + type string; + description + "BMP Server Hostname"; + } + leaf bmp-server-port { + type uint32; + description + "BMP Server Port Number"; + } + leaf bmp-server-state { + type Bgp-bmp-state; + description + "Connection state of the BMP server"; + } + leaf bmp-server-is-flapping { + type boolean; + description + "Connection to the BMP server Flapping"; + } + leaf bmp-server-nbr-count { + type uint32; + description + "Neighbor count for the BMP Server"; + } + leaf bmp-init-msg-count { + type uint32; + description + "Number of Initiation Msgs sent by this BMP + Server"; + } + leaf bmp-termination-msg-count { + type uint32; + description + "Number of Termination Messages sent by this BMP + Server"; + } + leaf bmp-status-report-count { + type uint32; + description + "Number of Status ReportMessages sent by this BMP + Server"; + } + leaf bmp-per-peer-msg-count { + type uint32; + description + "Total number of per peer messages sent"; + } + leaf bmp-peer-msg-drop-count { + type uint32; + description + "Total number of messages dropped"; + } + leaf bmp-peer-msg-pending-count { + type uint32; + description + "Total number of bmpQ msgs pending"; + } + leaf tos-type { + type uint8; + description + "Precedence (0) or DSCP (1) type"; + } + leaf tos-value { + type uint8; + description + "Precedence or DSCP value"; + } + leaf update-source-interface-name { + type string; + description + "Interface configured as Update Source"; + } + leaf update-source-vrf-id { + type uint32; + description + "VRF ID of interface configured as Update Source"; + } + leaf bmp-vrf-name { + type string; + description + "VRF Name configured"; + } + leaf bmp-vrf-id { + type uint32; + description + "VRF ID for the vrf name configured"; + } + leaf bmp-update-mode { + type Bgp-bmp-upd-mode; + description + "Update sending mode configured for this BMP + server"; + } + leaf tcp-keep-alive-interval { + type uint32; + description + "TCP Keep alive interval configured"; + } + leaf tcp-maximum-segment-size { + type uint32; + description + "TCP Maximum Segments size configured"; + } + leaf tcp-write-cb-pending { + type uint32; + description + "Are we waiting for TCP write callback ?"; + } + leaf tcp-last-write-result { + type uint32; + description + "Last TCP Socket write status"; + } + leaf tcp-last-write-cb-time { + type uint64; + description + "Last TCP Write CB time"; + } + leaf tcp-last-write-time { + type uint64; + description + "Last TCP Write time"; + } + leaf bmpq-last-write-pulse-sent-time { + type uint64; + description + "Last BMPQ write pulse Sent time"; + } + leaf bmpq-last-all-write-pulse-sent-time { + type uint64; + description + "Last BMPQ write pulse Sent for all BMP servers "; + } + leaf bmpq-last-write-pulse-cb-time { + type uint64; + description + "Last BMPQ write pulse callback time"; + } + leaf path-update-count { + type uint32; + description + "Number of path update sent "; + } + leaf path-withdraw-count { + type uint32; + description + "Number of path wdraw sent"; + } + leaf path-update-drop { + type uint32; + description + "Number of path update drop "; + } + leaf path-withdraw-drop { + type uint32; + description + "Number of path wdraw drop "; + } + leaf bmp-peer-msg-pending-count-max { + type uint32; + description + "Total bmpQ msgs pending max"; + } + leaf bmp-peer-msg-pending-count-hwts { + type uint64; + description + "Total bmpQ msgs pending max time"; + } + leaf bmp-bytes-written-tcp { + type uint64; + units "byte"; + description + "Total bytes sent to TCP"; + } + leaf tcp-write-time { + type uint32; + units "millisecond"; + description + "Time spent processing sending msg to + TCP(milliseconds)"; + } + leaf bmpr-mon-upd-messages { + type uint32; + description + "Total bmpQ update msgs "; + } + leaf bmpr-mon-wdraw-messages { + type uint32; + description + "Total bmpQ withdraw msgs "; + } + leaf bmp-messages-wdraw-discarded { + type uint32; + description + "Total bmpQ wdraw msgs discarded because of peer + down"; + } + leaf bmp-pfx-wdraw-discarded { + type uint32; + description + "Total bmpQ wdraw pfxes discarded because of peer + down"; + } + leaf bmp-per-peer-msg-route-mon-count { + type uint32; + description + "Total number of per peer route mon messages sent"; + } + leaf bmpr-mon-update-gen-time { + type uint32; + units "millisecond"; + description + "Time spent in update generation(milliseconds)"; + } + leaf bmpr-mon-eo-rmessages { + type uint32; + description + "Total bmpQ EOR update msgs "; + } + leaf bmp-rmon-cur-buffer-size { + type uint64; + description + "Current Buffer usage per BMP Route Mon"; + } + leaf bmp-maximum-buffer-size-route-mon { + type uint64; + description + "Buffer limit used for route mon"; + } + leaf bmp-server-up-count { + type uint32; + description + "Number of BMP server that are UP"; + } + leaf bmp-upd-gen-in-progress { + type boolean; + description + "Update generation in progress"; + } + leaf bmp-reset-walk-in-progress { + type boolean; + description + "Reset walk in progress"; + } + list bmpafi-info { + description + "AFI specific info for BMP server"; + uses BGP-BMP-SRVR-AFI; + } + } + + grouping BGP-UPDFILTER-ELEM-BAG { + description + "BGP Update filtering element information"; + leaf update-attribute-flags { + type uint8; + description + "Attribute Flags [RFC4271: BGP4]"; + } + leaf update-attribute-code { + type uint8; + description + "Attribute code [RFC4271: BGP4]"; + } + leaf update-filter-action { + type Bgp-bag-upd-filter-action; + description + "Filtering action"; + } + } + + grouping BGP-UPDFILTER-MSG-BAG { + description + "BGP Update filter message information"; + container update-filter-message-timestamp { + description + "Message timestamp: time elapsed since 00:00:00 + UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-filtered-attribute-count { + type uint32; + description + "Filtered attributes count"; + } + leaf update-filter-final-action { + type Bgp-bag-upd-filter-action; + description + "Filtering final action"; + } + leaf update-filter-nlri-address-family { + type Bgp-afi; + description + "NLRI address-family"; + } + leaf update-filter-nlri-string { + type string; + description + "List of NLRIs in string format"; + } + leaf update-filter-nlri-string-truncated { + type boolean; + description + "Indicates whether NLRI string was truncated due + to lack of space"; + } + list update-filter-message-data { + description + "Raw Message data in binary format"; + leaf entry { + type uint8; + } + } + list update-filter-element { + max-elements "3"; + description + "Filtering element list"; + uses BGP-UPDFILTER-ELEM-BAG; + } + } + + grouping BGP-UPDFILTER-ATTRF-ATTR-BAG { + description + "BGP Update filtering attributes information"; + container last-update-filter-match-timestamp { + description + "Last attribute filtered time: time elapsed since + 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-internal-attribute-code { + type uint32; + description + "Internal attribute code [RFC4271: BGP4]"; + } + leaf update-filter-action { + type Bgp-bag-upd-filter-action; + description + "Filtering action"; + } + leaf update-filter-match-count { + type uint32; + description + "Filter match counter"; + } + leaf establishment-update-filter-match-count { + type uint32; + description + "Filter match counter since last session + establishment"; + } + leaf last-update-filter-match-age { + type uint32; + units "second"; + description + "Time since this attribute was last filtered (in + seconds)"; + } + } + + grouping BGP-UPDFILTER-NBR-BAG { + description + "BGP Update filtering Neighbor information"; + container update-neighbor-address { + description + "Neighbor address"; + uses BGP-ADDRTYPE; + } + container first-update-filtered-timestamp { + description + "First filtered message received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container last-update-filtered-timestamp { + description + "Last filtered message received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-filter-logging-enabled { + type boolean; + description + "Logging is enabled"; + } + leaf configured-update-filter-message-buffer-count { + type uint32; + description + "Configured Filtered message buffer count"; + } + leaf operational-update-filter-message-buffer-count { + type uint32; + description + "Operational Filtered messages buffer count"; + } + leaf update-filter-message-buffer-circular { + type boolean; + description + "Indicates if the message buffers are circular"; + } + leaf update-attribute-filter-group-name { + type string; + description + "Update attribute-filter group name"; + } + leaf operational-update-attribute-filtering-enabled { + type boolean; + description + "Attribute filtering is enabled"; + } + leaf message-update-attribute-filtering-enabled { + type boolean; + description + "Attribute filtering is enabled for the current + message being parsed"; + } + leaf total-filter-update-message-count { + type uint32; + description + "Total update messages count"; + } + leaf establishment-total-filter-update-message-count { + type uint32; + description + "Total update messages count since session + establishment"; + } + leaf update-filtered-message-count { + type uint32; + description + "Filtered messages count"; + } + leaf establishment-update-filtered-message-count { + type uint32; + description + "Filtered messages count since session + establishment"; + } + leaf last-update-filtered-age { + type uint32; + units "second"; + description + "Time since last filtered message received event + (in seconds)"; + } + leaf update-filter-message-list-count { + type uint32; + description + "Filtered messages list count"; + } + list update-attribute-filter-attributes { + description + "List of attributes that can be filtered"; + uses BGP-UPDFILTER-ATTRF-ATTR-BAG; + } + list update-filter-message { + description + "List of filtered messages"; + uses BGP-UPDFILTER-MSG-BAG; + } + } + + grouping BGP-UPDERR-ELEM-BAG { + description + "BGP Update error-handling element information"; + leaf update-attribute-flags { + type uint8; + description + "Attribute Flags [RFC4271: BGP4]"; + } + leaf update-attribute-code { + type uint8; + description + "Attribute code [RFC4271: BGP4]"; + } + leaf update-attribute-length { + type uint16; + description + "Attribute Length [RFC4271: BGP4]"; + } + leaf update-error-data { + type yang:hex-string; + description + "Error data"; + } + leaf update-error-data-length { + type uint16; + description + "Error data length"; + } + leaf update-error-action { + type Bgp-bag-upd-err-action; + description + "Error action"; + } + } + + grouping BGP-UPDERR-RESET-DATA-BAG { + description + "BGP Update error-handling session reset + information"; + leaf update-error-reset-reason { + type Bgp-reset-reason-index; + description + "Reset Reason"; + } + leaf update-error-reset-notification-code { + type uint8; + description + "Notification code"; + } + leaf update-error-reset-notification-sub-code { + type uint16; + description + "Notification sub code"; + } + leaf update-error-reset-notification-data { + type yang:hex-string; + description + "Notification data"; + } + leaf update-error-reset-notification-data-length { + type uint16; + description + "Notification data length"; + } + } + + grouping BGP-UPDERR-MSG-BAG { + description + "BGP Update error message information"; + container update-message-timestamp { + description + "Message timestamp: time elapsed since 00:00:00 + UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container update-message-reset-data { + description + "Reset data"; + uses BGP-UPDERR-RESET-DATA-BAG; + } + leaf update-error-final-action { + type Bgp-bag-upd-err-action; + description + "Error final action"; + } + leaf update-attribute-discard-count { + type uint32; + description + "Discarded attribute count"; + } + leaf update-error-nlri-address-family { + type Bgp-afi; + description + "NLRI address-family"; + } + leaf update-error-nlri-string { + type string; + description + "List of NLRIs in string format"; + } + leaf update-error-nlri-string-truncated { + type boolean; + description + "Indicates whether NLRI string was truncated due + to lack of space"; + } + list update-message-data { + description + "Raw Message data in binary format"; + leaf entry { + type uint8; + } + } + list update-error-element { + max-elements "3"; + description + "Error element list"; + uses BGP-UPDERR-ELEM-BAG; + } + } + + grouping BGP-UPDERR-NBR-BAG { + description + "BGP Update error-handling Neighbor information"; + container update-neighbor-address { + description + "Neighbor address"; + uses BGP-ADDRTYPE; + } + container first-update-malformed-timestamp { + description + "First malformed message received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container last-update-malformed-timestamp { + description + "Last malformed message received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container first-update-memory-allocation-fail-timestamp { + description + "First memory allocation failure time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container last-update-memory-allocation-fail-timestamp { + description + "Last memory allocation failure time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container first-update-error-handling-reset-timestamp { + description + "First error-handling reset time: time elapsed + since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + container last-error-handling-reset-timestamp { + description + "Last error-handling reset time: time elapsed + since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-error-handling-avoid-reset { + type boolean; + description + "Configure error-handling to avoid resets"; + } + leaf total-update-message-count { + type uint32; + description + "Total update messages count"; + } + leaf update-malformed-message-count { + type uint32; + description + "Malformed messages count"; + } + leaf last-update-malformed-age { + type uint32; + units "second"; + description + "Time since last malformed message received event + (in seconds)"; + } + leaf update-memory-allocation-fail-count { + type uint32; + description + "Memory allocation failure count"; + } + leaf last-update-memory-allocation-fail-age { + type uint32; + units "second"; + description + "Time since last memory allocation failure event + (in seconds)"; + } + leaf update-error-handling-reset-count { + type uint32; + description + "Error-handling reset count"; + } + leaf last-error-handling-reset-age { + type uint32; + units "second"; + description + "Time since last error-handling reset event (in + seconds)"; + } + leaf update-error-message-list-count { + type uint32; + description + "Malformed messages list count"; + } + leaf update-attribute-discard-count { + type uint32; + description + "Discarded attribute count"; + } + leaf establishment-total-update-message-count { + type uint32; + description + "Total update messages count since session + establishment"; + } + list establishment-action-count { + max-elements "7"; + description + "Number of occurence of each action type since + + session establishment"; + leaf entry { + type uint32; + } + } + list update-error-message { + description + "List of malformed messages"; + uses BGP-UPDERR-MSG-BAG; + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-VRF { + description + "BGP GLOBAL PROCESS INFO VRF"; + leaf vrf-is-active { + type boolean; + description + "VRF state"; + } + leaf route-distinguisher { + type yang:hex-string; + description + "Route Distinguisher"; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID for the VRF"; + } + leaf configured-router-id { + type inet:ipv4-address; + description + "Configured router ID"; + } + leaf is-redistribute-ibgp-to-ig-ps-enabled { + type boolean; + description + "Redistribute iBGP into IGPs enabled"; + } + leaf is-fast-external-fallover-enabled { + type boolean; + description + "Fast external fallover enabled"; + } + leaf is-bestpath-missing-med-is-worst-enabled { + type boolean; + description + "Bestpath: Treat missing MED as worst"; + } + leaf is-bestpath-always-compare-med-enabled { + type boolean; + description + "Bestpath: Always compare MED"; + } + leaf is-bestpath-ignore-as-path-enabled { + type boolean; + description + "Bestpath: Ignore AS path"; + } + leaf is-bestpath-as-path-mpath-relax-enabled { + type boolean; + description + "Bestpath: Relax AS path for mpath"; + } + leaf is-bestpath-compare-med-from-confed-peer-enabled { + type boolean; + description + "Bestpath: Compare MED from confed peer"; + } + leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled { + type boolean; + description + "Bestpath: Compare routerID for eBGP peers"; + } + leaf is-bestpath-aigp-ignore-enabled { + type boolean; + description + "Bestpath: Ignore AIGP unless both paths have + AIGP attribute"; + } + leaf is-multipath-as-path-ignore-onwards-enabled { + type boolean; + description + "Multipath: Ignore everything AS path onwards for + mpath"; + } + leaf is-enforce-first-as-enabled { + type boolean; + description + "Enforce first AS"; + } + leaf default-local-preference { + type uint32; + description + "Default local preference"; + } + leaf keep-alive-time { + type uint16; + units "second"; + description + "Default keepalive timer (seconds)"; + } + leaf hold-time { + type uint16; + units "second"; + description + "Default hold timer (seconds)"; + } + leaf min-acceptable-hold-time { + type uint16; + units "second"; + description + "Default min acceptable hold time from + neighbor(seconds)"; + } + leaf is-neighbor-logging { + type boolean; + description + "Neighbor logging enabled"; + } + leaf is-default-metric-configured { + type boolean; + description + "Default metric configured"; + } + leaf default-metric { + type uint32; + description + "Default metric"; + } + leaf is-default-originate-configured { + type boolean; + description + "Default route originate configured"; + } + leaf is-graceful-restart { + type boolean; + description + "Graceful restart enabled"; + } + leaf is-nsr { + type boolean; + description + "Non-stop routing enabled"; + } + leaf restart-time { + type uint32; + units "second"; + description + "Restart time (in seconds)"; + } + leaf stale-path-time { + type uint32; + units "second"; + description + "Stale path timeout time (in seconds)"; + } + leaf rib-purge-timeout { + type uint32; + units "second"; + description + "RIB purge timeout time (in seconds)"; + } + } + + grouping COLOR-ID-BAG { + description + "COLOR ID BAG"; + leaf color-id-val { + type uint32; + description + "Color ID "; + } + } + + grouping CLUSTER-ID-BAG { + description + "CLUSTER ID BAG"; + leaf cluster-id-val { + type uint32; + description + "Cluster ID "; + } + leaf cluster-id-type { + type uint8; + description + "Cluster ID type: number or IPv4 address"; + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-GBL { + description + "BGP GLOBAL PROCESS INFO GBL"; + leaf in-standalone-mode { + type boolean; + description + "Standalone or Distributed mode"; + } + leaf local-as { + type uint32; + description + "Local autonomous system number"; + } + leaf instance-name { + type string; + description + "Name of BGP instance"; + } + leaf restart-count { + type uint32; + description + "No of times BGP has started"; + } + leaf update-delay { + type uint32; + units "second"; + description + "Update delay timeout time (in seconds)"; + } + leaf generic-scan-period { + type uint16; + units "second"; + description + "Period (in seconds) of generic scanner runs"; + } + leaf confederation-id { + type uint32; + description + "Confederation ID"; + } + leaf cluster-id { + type uint32; + description + "Cluster ID"; + } + leaf configured-cluster-id { + type uint32; + description + "Configured cluster ID"; + } + leaf is-cluster-id-specified-as-ip { + type boolean; + description + "Cluster ID specified as an IP address"; + } + leaf asn-format { + type uint32; + description + "BGP AS Number Format"; + } + leaf srgb-start-configured { + type uint32; + description + "Configured segment-routing Global Block start + value"; + } + leaf srgb-end-configured { + type uint32; + description + "Configured segment-routing Global Block end + value"; + } + leaf srgb-start { + type uint32; + description + "In use segment-routing Global Block start value"; + } + leaf srgb-end { + type uint32; + description + "In use Segment-routing Global Block end value"; + } + leaf graceful-maintenance { + type boolean; + description + "Graceful Maintenance"; + } + leaf graceful-maint-all-nbrs { + type boolean; + description + "Graceful Maintenance also for neighbors without + GM configuration"; + } + leaf graceful-maint-retain-routes { + type boolean; + description + "Retaining routes in RIB when BGP process stops + while in Graceful Maintenance"; + } + leaf process-rlimit { + type uint64; + description + "Platform RLIMIT max for the process"; + } + leaf bmp-maximum-buffer-size { + type uint64; + description + "Maximum limit user can configure for + max-buffer-size command under bmp-server"; + } + leaf bmp-default-buffer-size { + type uint64; + description + "Default value for BMP buffer limit when a value + is not configured"; + } + leaf bmp-current-buffer-size { + type uint64; + description + "Current value for BMP buffer "; + } + leaf bmp-cur-maximum-buffer-size { + type uint64; + description + "Maximum limit user has configure using + max-buffer-size command under bmp-server"; + } + list cluster-id-entry { + description + "All configured Cluster IDs"; + uses CLUSTER-ID-BAG; + } + list color-id { + description + "All configured Color IDs"; + uses COLOR-ID-BAG; + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-BAG { + description + "BGP process information common to all BGP + processes"; + container global { + description + "Global information"; + uses BGP-GLOBAL-PROCESS-INFO-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-GLOBAL-PROCESS-INFO-VRF; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf vrfid { + type uint32; + description + "VRF ID"; + } + } + + grouping BGP-POSTIT-INFO { + description + "BGP POSTIT INFO"; + container postit-notification { + description + "Postit notification"; + uses BGP-NOTFNTYPE; + } + leaf postit-type { + type uint32; + description + "Postit Type"; + } + leaf postit-subtype { + type uint32; + description + "Postit Subtype"; + } + leaf postit-flags { + type uint8; + description + "Postit Flags"; + } + leaf postit-af-name { + type Bgp-afi; + description + "Postit Afi"; + } + leaf postit-ts { + type uint64; + description + "Postit TS"; + } + leaf postit-direction { + type uint8; + description + "Postit Direction"; + } + leaf postit-id { + type uint32; + description + "Postit ID"; + } + leaf peer-id { + type uint32; + description + "Peer ID"; + } + leaf postit-policy { + type string; + description + "Policy"; + } + leaf postit-reset { + type Bgp-reset-reason-index; + description + "Reset"; + } + } + + grouping BGP-NEIGHBOR-NSR-BAG { + description + "BGP neighbor nsr bag"; + container neighbors-address { + description + "Neighbor Addr"; + uses BGP-ADDRTYPE; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf connect-state { + type uint32; + description + "State"; + } + leaf start-time { + type uint32; + description + "StartTime"; + } + leaf nsr-state { + type Bgp-sync-nbr-nsr-state; + description + "NSR state"; + } + list neighbor-af { + min-elements 25; + max-elements "25"; + description + "Neighbor Afi"; + leaf entry { + type boolean; + description + "Array entry."; + } + } + list postit-info { + description + "Postit Info"; + uses BGP-POSTIT-INFO; + } + } + + grouping BGP-UPDFILTER-VRF-BAG { + description + "BGP Update filtering VRF information"; + container last-update-filtered-timestamp { + description + "Last Filtered messages received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-filtered-message-count { + type uint32; + description + "Filtered messages count"; + } + leaf update-filtered-neighbor-count { + type uint32; + description + "Count of neighbors that received filtered + messages"; + } + leaf last-update-filtered-age { + type uint32; + units "second"; + description + "Time since last filtered messages received event + (in seconds)"; + } + } + + grouping BGP-VRF-INFO-BAG { + description + "BGP VRF information bag"; + leaf route-distinguisher { + type xr:Route-dist; + description + "Route Distinguisher"; + } + } + + grouping BGP-PFXLST { + description + "Prefix list entry"; + list bgp-pfxlst { + description + "bgp pfxlst"; + container bgp-prefix { + description + "BGP prefix"; + uses BGP-PREFIXTYPE; + } + leaf sequence-number { + type uint32; + description + "Sequence number"; + } + leaf is-prefix-grant { + type boolean; + description + "TRUE = permit, FALSE = deny"; + } + leaf min-prefix-length { + type uint8; + description + "Minimum prefix length"; + } + leaf max-prefix-length { + type uint8; + description + "Maximum prefix length"; + } + } + } + + grouping BGP-RCV-PFXLST-BAG { + description + "Received prefix filter"; + container neighbor-address-xr { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + container prefix-list-info { + description + "Prefix list"; + uses BGP-PFXLST; + } + leaf af-name { + type Bgp-afi; + description + "Address family identfier"; + } + } + + grouping BGP-UPDGEN-AF-BAG { + description + "BGP Update generation address-family information"; + container update-statistics { + description + "Upate statistics"; + uses BGP-UPDGEN-STATS-BAG; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf update-main-table-version { + type uint32; + description + "Main table version"; + } + leaf update-rib-version { + type uint32; + description + "RIB version"; + } + leaf update-min-neighbor-version { + type uint32; + description + "Minimum Neighbor version"; + } + leaf current-update-limit-af { + type uint32; + description + "Current AF update limit"; + } + leaf configured-update-limit-af { + type uint32; + description + "Configured AF update limit"; + } + leaf current-update-limit-subgrp-ebgp { + type uint32; + description + "Current EBGP sub-group update limit"; + } + leaf configured-update-limit-subgrp-ebgp { + type uint32; + description + "Configured EBGP sub-group update limit"; + } + leaf current-update-limit-sub-group-ibgp { + type uint32; + description + "Current IBGP sub-group update limit"; + } + leaf configured-update-limit-sub-group-ibgp { + type uint32; + description + "Configured IBGP sub-group update limit"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue messsages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue size"; + } + leaf update-throttled { + type boolean; + description + "Is Update throttled"; + } + leaf update-update-group-count { + type uint32; + description + "Update-group count"; + } + leaf update-sub-group-count { + type uint32; + description + "Sub-group count"; + } + leaf sub-group-throttled-count { + type uint32; + description + "Throttled sub-group count"; + } + leaf refresh-sub-group-count { + type uint32; + description + "Refresh sub-group count"; + } + leaf refresh-sub-group-throttled-count { + type uint32; + description + "Throttled refresh sub-group count"; + } + leaf filter-group-count { + type uint32; + description + "Filter-group count"; + } + leaf neighbor-count { + type uint32; + description + "Neighbor count"; + } + leaf update-table-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-vrfaf-name { + type uint32; + description + "Address family identifier"; + } + leaf update-vrf-rd-version { + type uint32; + description + "RD Version"; + } + leaf update-vrf-table-rib-version { + type uint32; + description + "VRF Table RIB version"; + } + leaf table-update-group-count { + type uint32; + description + "VRF Table update-group count"; + } + leaf update-table-sub-group-count { + type uint32; + description + "VRF Table sub-group count"; + } + leaf table-sub-group-throttled-count { + type uint32; + description + "VRF Table throttled sub-group count"; + } + leaf table-refresh-sub-group-count { + type uint32; + description + "VRF Table refresh sub-group count"; + } + leaf table-refresh-sub-group-throttled-count { + type uint32; + description + "VRF Table throttled refresh sub-group count"; + } + leaf update-table-filter-group-count { + type uint32; + description + "VRF Table filter-group count"; + } + leaf table-neighbor-count { + type uint32; + description + "VRF Table neighbor count"; + } + } + + grouping BGP-UPDGEN-NBR-BAG { + description + "BGP Update generation Neighbor information"; + container update-neighbor-address { + description + "Neighbor address"; + uses BGP-ADDRTYPE; + } + container last-sub-group-add-timestamp { + description + "Last added time"; + uses BGP-TIMESPEC; + } + container last-sub-group-remove-timestamp { + description + "Last removed time"; + uses BGP-TIMESPEC; + } + container last-filter-group-add-timestamp { + description + "Last added time"; + uses BGP-TIMESPEC; + } + container last-filter-group-remove-timestamp { + description + "Last removed time"; + uses BGP-TIMESPEC; + } + container first-default-originate-timestamp { + description + "First default-origination time"; + uses BGP-TIMESPEC; + } + container last-default-originate-timestamp { + description + "Last default-origination time"; + uses BGP-TIMESPEC; + } + container last-update-group-start-timestamp { + description + "Last update-group timer start"; + uses BGP-TIMESPEC; + } + container last-update-group-expiry-timestamp { + description + "Last update-group timer expiry"; + uses BGP-TIMESPEC; + } + container first-update-queued-timestamp { + description + "First update queued time"; + uses BGP-TIMESPEC; + } + container last-update-queued-timestamp { + description + "Last update queued time"; + uses BGP-TIMESPEC; + } + container last-refresh-update-queued-timestamp { + description + "Last refresh update queued time"; + uses BGP-TIMESPEC; + } + container first-update-write-timestamp { + description + "First update write time"; + uses BGP-TIMESPEC; + } + container last-update-write-timestamp { + description + "Last update write time"; + uses BGP-TIMESPEC; + } + container last-refresh-update-write-timestamp { + description + "Last refresh update write time"; + uses BGP-TIMESPEC; + } + container update-statistics { + description + "Update statistics"; + uses BGP-UPDGEN-STATS-BAG; + } + leaf process-id { + type uint32; + description + "ProcessID"; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf update-filter-group-index { + type uint32; + description + "Filter-group index"; + } + leaf refresh-filter-group-index { + type uint32; + description + "Refresh Filter-group index"; + } + leaf sub-group-index-xr { + type uint32; + description + "Sub-group index"; + } + leaf refresh-sub-group-index { + type uint32; + description + "Refresh Sub-group index"; + } + leaf refresh-sub-group-id { + type uint32; + description + "Refresh sub-group ID"; + } + leaf update-group-index-xr { + type uint32; + description + "Update-group index"; + } + leaf update-main-table-version { + type uint32; + description + "Main table version"; + } + leaf update-vrf-table-rib-version { + type uint32; + description + "VRF Table RIB version"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue messages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue size"; + } + leaf refresh-update-out-queue-messages { + type uint32; + description + "Refresh OutQueue messages"; + } + leaf refresh-update-out-queue-size { + type uint32; + description + "Refresh OutQueue size"; + } + leaf update-filter-group-messages { + type uint32; + description + "Filter-group messages"; + } + leaf version { + type uint32; + description + "Version"; + } + leaf pending-target-version { + type uint32; + description + "Pending target version"; + } + leaf next-resume-version { + type uint32; + description + "Resume version"; + } + leaf ack-version { + type uint32; + description + "Ack version"; + } + leaf synced-ack-version { + type uint32; + description + "Synced ack version"; + } + leaf outstanding-version-count { + type uint32; + description + "Outstanding version count"; + } + leaf update-refresh-version { + type uint32; + description + "Refresh version"; + } + leaf refresh-requested-target-version { + type uint32; + description + "Requested refresh target version"; + } + leaf update-refresh-target-version { + type uint32; + description + "Refresh target version"; + } + leaf refresh-pending-target-version { + type uint32; + description + "Pending refresh target version"; + } + leaf refresh-next-resume-version { + type uint32; + description + "Refresh resume version"; + } + leaf refresh-ack-version { + type uint32; + description + "Refresh Ack version"; + } + leaf last-default-originate-age { + type uint32; + units "second"; + description + "Time since last default-origination event (in + seconds)"; + } + leaf default-originate-state { + type int32; + description + "Default-origination state"; + } + leaf default-originate-internal-context { + type int32; + description + "Default-origination context"; + } + leaf is-eor-outstanding { + type boolean; + description + "Number of EORs outstanding"; + } + leaf outbound-refresh-count { + type uint32; + description + "Refresh Outbound count"; + } + leaf inbound-refresh-count { + type uint32; + description + "Refresh Inbound count"; + } + leaf is-update-group-timer-running { + type boolean; + description + "Is update-group timer running"; + } + leaf current-update-group-af-name { + type Bgp-afi; + description + "Current Update-group address-family identifier"; + } + leaf last-update-group-af-name { + type Bgp-afi; + description + "Last Update-group address-family identifier"; + } + leaf last-update-queued-age { + type uint32; + units "second"; + description + "Time since last update queued event (in seconds)"; + } + leaf last-refresh-update-queued-age { + type uint32; + units "second"; + description + "Time since last refresh update queued event (in + seconds)"; + } + leaf last-update-write-age { + type uint32; + units "second"; + description + "Time since last update write event (in seconds)"; + } + leaf last-refresh-update-write-age { + type uint32; + units "second"; + description + "Time since last refresh update write event (in + seconds)"; + } + } + + grouping BGP-NBR-GSHUT { + description + "BGP NBR GSHUT"; + leaf gshut-exists { + type boolean; + description + "Graceful Maintenance enabled"; + } + leaf gshut-local-active { + type boolean; + description + "Graceful Maintenance locally activated"; + } + leaf gshut-active { + type boolean; + description + "Graceful Maintenance activated"; + } + leaf gshut-locpref-set { + type boolean; + description + "Graceful Maintenance Local Preference set"; + } + leaf gshut-locpref { + type uint32; + description + "Graceful Maintenance Local Preference"; + } + leaf gshut-prepends { + type uint8; + description + "Graceful Maintenance number of AS prepends"; + } + } + + grouping BGP-NBR-MSG-STATS-UNIT { + description + "BGP NBR MSG STATS UNIT"; + container last-time-spec { + description + "Last timespec"; + uses BGP-TIMESPEC; + } + leaf count { + type uint32; + description + "Count"; + } + } + + grouping BGP-NBR-MSG-STATS-OP { + description + "BGP NBR MSG STATS OP"; + container tx { + description + "Transmit"; + uses BGP-NBR-MSG-STATS-UNIT; + } + container rx { + description + "Receive"; + uses BGP-NBR-MSG-STATS-UNIT; + } + } + + grouping BGP-NBR-MSG-STATS { + description + "BGP NBR MSG STATS"; + container open { + description + "Open"; + uses BGP-NBR-MSG-STATS-OP; + } + container notification { + description + "Notification"; + uses BGP-NBR-MSG-STATS-OP; + } + container update { + description + "Update"; + uses BGP-NBR-MSG-STATS-OP; + } + container keepalive { + description + "Keepalive"; + uses BGP-NBR-MSG-STATS-OP; + } + container route-refresh { + description + "Route refresh"; + uses BGP-NBR-MSG-STATS-OP; + } + container total { + description + "Total"; + uses BGP-NBR-MSG-STATS-OP; + } + } + + grouping BGP-PERF-NBR-AF { + description + "BGP PERF NBR AF"; + leaf sub-group-pending-message-count { + type uint32; + description + "No. of sub-group messages waiting to be sent out + on this neighbor -- DEPRECATED -- "; + } + leaf processed-messages { + type uint32; + description + "Number of messages processed from the neighbor's + write queue"; + } + leaf sent-messages { + type uint32; + description + "Number of messages sent from the neighbor's + write queue"; + } + leaf split-horizon-update-transmit { + type uint32; + description + "No. of update messages with split-horizon flag + that were sent out"; + } + leaf split-horizon-update-blocked { + type uint32; + description + "No. of update messages with split-horizon flag + that were blocked"; + } + leaf split-horizon-withdraw-transmit { + type uint32; + description + "No. of withdraw messages with split-horizon flag + that were sent out"; + } + leaf split-horizon-withdraw-blocked { + type uint32; + description + "No. of withdraw messages with split-horizon flag + that were blocked"; + } + } + + grouping BGP-NBR-AF { + description + "BGP neighbor address family specific information"; + container neighbor-af-performance-statistics { + description + "Neighbor AF statistics"; + uses BGP-PERF-NBR-AF; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf is-neighbor-route-reflector-client { + type boolean; + description + "Nbr is a route reflector client"; + } + leaf is-legacy-pe-rt { + type boolean; + description + "Nbr accepts route from legacy PE for + RT-Constraint AF "; + } + leaf is-neighbor-af-capable { + type boolean; + description + "Address family capability received from neighbor"; + } + leaf is-soft-reconfiguration-inbound-allowed { + type boolean; + description + "Inbound soft reconfiguration allowed"; + } + leaf is-use-soft-reconfiguration-always-on { + type boolean; + description + "Soft reconf overrides route refresh"; + } + leaf remove-private-as-from-updates { + type boolean; + description + "Private AS numbers removed from updates to this + nbr"; + } + leaf remove-private-as-entire-aspath-from-updates { + type boolean; + description + "Private AS numbers removed from updates to + thisnbr only if the aspath hasonly private ASes"; + } + leaf remove-private-as-from-inbound-updates { + type boolean; + description + "Private AS numbers removed from updates from + this nbr"; + } + leaf remove-private-as-entire-aspath-from-inbound-updates { + type boolean; + description + "Private AS numbers removed from updates from + this nbr only if the aspath has only private + ASes"; + } + leaf flowspec-validation-d-isable { + type boolean; + description + "Flowspec Validation Disabled"; + } + leaf flowspec-redirect-validation-d-isable { + type boolean; + description + "Flowspec Redirect Validation Disabled"; + } + leaf orr-group-name { + type string; + description + "ORR Group Name"; + } + leaf orr-group-index { + type uint32; + description + "ORR Group Index"; + } + leaf is-orr-root-address-configured { + type boolean; + description + "ORR Root address configuredfor the neighbor + connection"; + } + leaf advertise-afi { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf advertise-afi-reorg { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf advertise-afi-disable { + type boolean; + description + "Encode in Advertise AFI"; + } + leaf encapsulation-type { + type uint32; + description + "Encapsulation type"; + } + leaf advertise-rt-type { + type uint8; + description + "Advertise RT type"; + } + leaf advertise-afi-def-vrf-imp-disable { + type boolean; + description + "Advertise of default VRF import disable"; + } + leaf advertise-evpnv4-afi-def-vrf-imp-disable { + type boolean; + description + "Advertise of v4 default VRF import disable"; + } + leaf advertise-evpnv6-afi-def-vrf-imp-disable { + type boolean; + description + "Advertise of v6 default VRF import disable"; + } + leaf advertise-afi-vrf-re-imp-disable { + type boolean; + description + "Advertise of VRF re-import disable"; + } + leaf advertise-evpnv4-afi-vrf-re-imp-disable { + type boolean; + description + "Advertise of v4 VRF re-import disable"; + } + leaf advertise-evpnv6-afi-vrf-re-imp-disable { + type boolean; + description + "Advertise of v6 VRF re-import disable"; + } + leaf advertise-afi-eo-r-ready { + type boolean; + description + "EoR Can be sent for Advertise AFI"; + } + leaf always-use-next-hop-local { + type boolean; + description + "Local router always used for next-hop"; + } + leaf sent-community-to-neighbor { + type boolean; + description + "Community attribute sent to neighbor"; + } + leaf sent-gshut-community-to-neighbor { + type boolean; + description + "GSHUT Community attribute sent to neighbor"; + } + leaf sent-extended-community-to-neighbor { + type boolean; + description + "Extended community attribute sent to neighbor"; + } + leaf neighbor-default-originate { + type boolean; + description + "Neighbor originates default"; + } + leaf is-orf-sent { + type boolean; + description + "Outbound route filter sent to neighbor"; + } + leaf is-update-deferred { + type boolean; + description + "Update deferred until ORF/route refresh received"; + } + leaf is-orf-send-scheduled { + type boolean; + description + "Scheduled to send prefix based ORF"; + } + leaf update-group-number { + type uint32; + description + "Update group index"; + } + leaf filter-group-index { + type uint32; + description + "Filter group index"; + } + leaf is-update-throttled { + type boolean; + description + "Updates Throttled becausewrite limit is reached"; + } + leaf is-update-leaving { + type boolean; + description + "Nbr leaving update-groupto another"; + } + leaf vpn-update-gen-enabled { + type boolean; + description + "RT Nbr enabled for updategento another"; + } + leaf vpn-update-gen-trigger-enabled { + type boolean; + description + "RT Nbr enabled for updategento another"; + } + leaf is-addpath-send-operational { + type boolean; + description + "Addpath is operational on send-side"; + } + leaf is-addpath-receive-operational { + type boolean; + description + "Addpath is operational on receive-side"; + } + leaf neighbor-version { + type uint32; + description + "Neighbor version"; + } + leaf weight { + type uint32; + description + "Weight for this AF"; + } + leaf max-prefix-limit { + type uint32; + description + "Max limit for # of prefixes"; + } + leaf use-max-prefix-warning-only { + type boolean; + description + "Warning only when maximum prefix limit reached"; + } + leaf max-prefix-discard-extra-paths { + type boolean; + description + "Discard extra paths when prefix limit reached"; + } + leaf max-prefix-exceed-discard-paths { + type boolean; + description + "Did we discard extra paths when prefix limit + reached"; + } + leaf max-prefix-threshold-percent { + type uint8; + units "percentage"; + description + "Percentage of maximum no. of prefixes at which + to generate warning"; + } + leaf max-prefix-restart-time { + type uint16; + units "minute"; + description + "Time interval (in minutes) after which peering + session will be reestablished"; + } + leaf prefixes-accepted { + type uint32; + description + "No. of prefixes accepted"; + } + leaf prefixes-synced { + type uint32; + description + "Number of prefixes synced to standby"; + } + leaf prefixes-withdrawn-not-found { + type uint32; + description + "No. of prefixes withdrawn but not found"; + } + leaf prefixes-denied { + type uint32; + description + "No. of prefixes denied"; + } + leaf prefixes-denied-no-policy { + type uint32; + description + "No. of prefixes denied because there was no + inbound policy"; + } + leaf prefixes-denied-rt-permit { + type uint32; + description + "No. of prefixes denied because RT extended + community is not imported"; + } + leaf prefixes-denied-orf-policy { + type uint32; + description + "No. of prefixes denied by prefix based ORF + policy"; + } + leaf prefixes-denied-policy { + type uint32; + description + "No. of prefixes denied by inbound policy"; + } + leaf number-of-bestpaths { + type uint32; + description + "No. of bestpaths from this neighbor"; + } + leaf number-of-best-externalpaths { + type uint32; + description + "No. of best-external paths from this neighbor"; + } + leaf prefixes-advertised { + type uint32; + description + "No. of prefixes advertised"; + } + leaf prefixes-be-advertised { + type uint32; + description + "No BE prefixes advertised"; + } + leaf prefixes-suppressed { + type uint32; + description + "No. of prefixes suppressed"; + } + leaf prefixes-withdrawn { + type uint32; + description + "No. of prefixes withdrawn"; + } + leaf is-peer-orf-capable { + type boolean; + description + "Peer has outbound route filter capability"; + } + leaf is-advertised-orf-send { + type boolean; + description + "Prefix based ORF send mode capability advertised"; + } + leaf is-received-orf-send-capable { + type boolean; + description + "Prefix based ORF send mode capability received"; + } + leaf is-advertised-orf-receive { + type boolean; + description + "Prefix based ORF receive mode capability + advertised"; + } + leaf is-received-orf-receive-capable { + type boolean; + description + "Prefix based ORF receive mode capability + received"; + } + leaf is-advertised-graceful-restart { + type boolean; + description + "Graceful Restart Capability advertised"; + } + leaf is-graceful-restart-state-flag { + type boolean; + description + "Restart state flag enabled"; + } + leaf is-received-graceful-restart-capable { + type boolean; + description + "Graceful Restart Capability received"; + } + leaf is-add-path-send-capability-advertised { + type boolean; + description + "Addpath Send capability advertised"; + } + leaf is-add-path-send-capability-received { + type boolean; + description + "Addpath Send capability received"; + } + leaf is-add-path-receive-capability-advertised { + type boolean; + description + "Addpath Receive capability advertised"; + } + leaf is-add-path-receive-capability-received { + type boolean; + description + "Addpath Receive capability received"; + } + leaf is-ext-nh-encoding-capability-received { + type boolean; + description + "Extended nexthop encoding capability received"; + } + leaf is-ext-nh-encoding-capability-sent { + type boolean; + description + "Extended nexhop encoding capability Sent"; + } + leaf restart-time { + type uint32; + units "second"; + description + "Restart time advertised (seconds)"; + } + leaf local-restart-time { + type uint32; + units "second"; + description + "Local Restart time (seconds)"; + } + leaf stale-path-timeout { + type uint32; + units "second"; + description + "Stale path timeout time (in seconds)"; + } + leaf rib-purge-timeout-value { + type uint32; + units "second"; + description + "RIB purge timeout time (in seconds)"; + } + leaf neighbor-preserved-forwarding-state { + type boolean; + description + "Neighbor preserved forwarding state"; + } + leaf long-lived-graceful-restart-stale-time-configured { + type boolean; + description + "Long-lived graceful-restart stale time is + configured"; + } + leaf long-lived-graceful-restart-stale-time-sent { + type uint32; + units "second"; + description + "Stale time sent in long-lived graceful-restart + capability (seconds)"; + } + leaf long-lived-graceful-restart-stale-time-accept { + type uint32; + units "second"; + description + "Maximum long-lived graceful-restart stale time + acceptable from the neighbor (seconds)"; + } + leaf long-lived-graceful-restart-capability-received { + type boolean; + description + "Long-lived graceful-restart capability received + from the neighbor"; + } + leaf long-lived-graceful-restart-stale-time-received { + type uint32; + units "second"; + description + "Long-lived graceful-restart stale time received + from the neighbor (seconds)"; + } + leaf neighbor-preserved-long-lived-forwarding-state { + type boolean; + description + "Neighbor preserved long-lived forwarding state"; + } + leaf neighbor-long-lived-graceful-restart-capable { + type boolean; + description + "Treat neighbor as long-lived graceful-restart + capable"; + } + leaf neighbor-long-lived-graceful-restart-time-remaining { + type uint32; + description + "Remaining long-lived graceful-restart time"; + } + leaf route-refreshes-received { + type uint32; + description + "Number of route refresh requests received"; + } + leaf route-refreshes-sent { + type uint32; + description + "Number of route refresh requests sent"; + } + leaf refresh-target-version { + type uint32; + description + "Target version for refresh update generation"; + } + leaf refresh-version { + type uint32; + description + "Version till which refresh updates have been + generated"; + } + leaf refresh-acked-version { + type uint32; + description + "Version acked by the peer for refresh updates + sent"; + } + leaf is-prefix-orf-present { + type boolean; + description + "Outbound route filter prefix ORF present"; + } + leaf orf-entries-received { + type uint32; + description + "Number of outbound route filter entries received"; + } + leaf is-default-originate-sent { + type boolean; + description + "Default origination update sent"; + } + leaf route-policy-prefix-orf { + type string; + description + "Prefix based ORF for incoming updates"; + } + leaf route-policy-in { + type string; + description + "Incoming route policy name"; + } + leaf route-policy-out { + type string; + description + "Outgoing route policy name"; + } + leaf route-policy-default-originate { + type string; + description + "Default-originate route policy name"; + } + leaf is-neighbor-ebgp-without-inbound-policy { + type boolean; + description + "eBGP neighbor with no configured inbound policy"; + } + leaf is-neighbor-ebgp-without-outbound-policy { + type boolean; + description + "eBGP neighbor with no configured outbound policy"; + } + leaf is-as-override-set { + type boolean; + description + "As override set "; + } + leaf is-allow-as-in-set { + type boolean; + description + "Allowas-in set "; + } + leaf allow-as-in-count { + type uint32; + description + "Allowas-in count config"; + } + leaf address-family-long-lived-time { + type uint32; + description + "AF specific Long-lived-time config"; + } + leaf eo-r-received-in-read-only { + type boolean; + description + "An EoR was received while in read-only mode"; + } + leaf acked-version { + type uint32; + description + "Version mapped from acked seqNo"; + } + leaf synced-acked-version { + type uint32; + description + "Version mapped from acked seqNo that was synced + last"; + } + leaf outstanding-version { + type uint32; + description + "No. of all outstanding version objects waiting + for ack from the peer"; + } + leaf outstanding-refresh-version { + type uint32; + description + "No. of only refresh version objects waiting for + ack from the peer"; + } + leaf outstanding-version-max { + type uint32; + description + "Version mapped from acked seqNo that was synced + last"; + } + leaf is-aigp-set { + type boolean; + description + "AIGP set "; + } + leaf is-rt-present { + type boolean; + description + "RT attribute list present"; + } + leaf is-rt-present-standby { + type boolean; + description + "RT attribute list present"; + } + leaf accept-own-enabled { + type boolean; + description + "Accept-Own enabled"; + } + leaf selective-multipath-eligible { + type boolean; + description + "Selective multipath eligible"; + } + leaf afrpki-disable { + type boolean; + description + "Prefix validation disabled"; + } + leaf afrpki-use-validity { + type boolean; + description + "Prefix v. use validity"; + } + leaf afrpki-allow-invalid { + type boolean; + description + "Prefix v. allow invalid"; + } + leaf afrpki-signal-ibgp { + type boolean; + description + "Prefix v. signal ibgp"; + } + leaf is-advertise-permanent-network { + type boolean; + description + "Advertise Permanent Network"; + } + leaf is-send-mcast-attr { + type boolean; + description + "Send Mcast Attr"; + } + leaf import-stitching { + type boolean; + description + "Import Stitching enabled"; + } + leaf import-reoriginate { + type boolean; + description + "Import Reoriginate enabled"; + } + leaf import-reoriginate-stitching { + type boolean; + description + "Import Reoriginate Stitching enabled"; + } + leaf advertise-v4-flags { + type uint32; + description + "Advertise options for VPNV4"; + } + leaf advertise-v6-flags { + type uint32; + description + "Advertise options for VPNV6"; + } + leaf advertise-local-labeled-route-unicast { + type boolean; + description + "Advertise routes with "; + } + leaf prefixes-denied-non-cumulative { + type uint32; + description + "No. of prefixes exactly denied (non cumulative)"; + } + leaf enable-label-stack { + type boolean; + description + "Enable label stack"; + } + list extended-community { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + list extended-community-standby { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + } + + grouping BGP-PERF-NBR { + description + "BGP PERF NBR"; + leaf read-throttles { + type uint32; + description + "Number of partial read throttles"; + } + leaf low-throttled-read { + type uint32; + description + "Num socket reads after nbrs crossed low + threshold"; + } + leaf high-throttled-read { + type uint32; + description + "Num of socket reads after nbr crossed high + threshold"; + } + leaf time-since-last-throttled-read { + type uint32; + units "second"; + description + "Time (in secs) since last read after being + throttled"; + } + leaf read-calls-count { + type uint32; + description + "No. of calls to function to read inbound data"; + } + leaf read-messages-count { + type uint32; + description + "Number of BGP messages read"; + } + leaf data-bytes-read { + type uint32; + units "byte"; + description + "No. of bytes of data read"; + } + leaf io-read-time { + type uint32; + units "millisecond"; + description + "Time spent reading inbound data (milliseconds)"; + } + leaf write-calls-count { + type uint32; + description + "No. of calls to function to write outbound data"; + } + leaf data-bytes-written { + type uint32; + units "byte"; + description + "No. of data bytes written"; + } + leaf io-write-time { + type uint32; + units "millisecond"; + description + "Time spent writing outbound data (milliseconds)"; + } + leaf last-sent-seq-no { + type uint32; + description + "Seq No of the last sent byte"; + } + leaf write-subgroup-calls-count { + type uint32; + description + "No. of calls to function to process sub-group + message list"; + } + leaf write-subgroup-messages-count { + type uint32; + description + "Number of sub-group msgs processed"; + } + leaf subgroup-list-time { + type uint32; + units "millisecond"; + description + "Time spent processing sub-group message list + (milliseconds)"; + } + leaf write-queue-calls-count { + type uint32; + description + "No. of calls to function to process write queue"; + } + leaf write-queue-messages-count { + type uint32; + description + "Number of write queue messages processed"; + } + leaf write-queue-time { + type uint32; + units "millisecond"; + description + "Time spent processing write queue (milliseconds)"; + } + leaf inbound-update-messages { + type uint32; + description + "Number of inbound update messages processed"; + } + leaf inbound-update-messages-time { + type uint32; + units "millisecond"; + description + "Time spent processing inbound update messages + (milliseconds)"; + } + leaf maximum-read-size { + type uint32; + units "millisecond"; + description + "Size of largest socket (milliseconds)"; + } + leaf actives { + type uint32; + description + "Number of retried Active opens for this neighbor"; + } + leaf failed-post-actives { + type uint32; + description + "Number of Active Opens that failed in the Post + Active State for this neighbor"; + } + leaf passives { + type uint32; + description + "Number of retried Passive opens for this + neighbor"; + } + leaf rejected-passives { + type uint32; + description + "Number of rejected Passive opens for this + neighbor"; + } + leaf active-collision { + type uint32; + description + "Number of Closed Active connections for this + neighbor due to collision "; + } + leaf passive-collision { + type uint32; + description + "Number of Closed Remote opens for this + neighborneighbor due to collision "; + } + leaf control-to-read-thread-trigger { + type uint32; + description + "Number of times io-control thread trigger read + thread"; + } + leaf control-to-write-thread-trigger { + type uint32; + description + "Number of times io-control thread trigger write + thread"; + } + leaf network-status { + type uint32; + description + "Socket status, TRUE if socket closed"; + } + leaf reset-flags { + type uint32; + description + "Reset flags, per thread"; + } + leaf nbr-flags { + type uint32; + description + "Nbr flags, per thread"; + } + leaf nbr-fd { + type int32; + description + "Primary FD, per nbr"; + } + leaf reset-retries { + type uint8; + description + "Reset Retries, per nbr"; + } + leaf sync-flags { + type uint32; + description + "Sync flags, per nbr"; + } + leaf nsr-oper-down-count { + type uint32; + description + "Number of times NSR scoped sync has been done"; + } + leaf last-nsr-scoped-sync { + type uint32; + description + "Last time NSR scoped syncwas done for the + neighbor"; + } + } + + grouping BGP-NOTFNTYPE { + description + "BGP NOTFNTYPE"; + leaf time-since-last-notification { + type uint32; + units "second"; + description + "Time since the last notification was sent or + received (seconds)"; + } + leaf notification-error-code { + type uint8; + description + "Error code in last notification"; + } + leaf notification-error-subcode { + type uint8; + description + "Error subcode in last notification"; + } + list last-notification-data { + description + "Message data in last notification"; + leaf entry { + type uint8; + } + } + } + + grouping BGP-NBR-BAG { + description + "BGP Neighbor Information"; + container connection-local-address { + description + "Local address for the connection"; + uses BGP-ADDRTYPE; + } + container connection-remote-address { + description + "Remote address for the connection"; + uses BGP-ADDRTYPE; + } + container send-notification-info { + description + "Information on the last notification sent"; + uses BGP-NOTFNTYPE; + } + container received-notification-info { + description + "Information on the last notification received"; + uses BGP-NOTFNTYPE; + } + container performance-statistics { + description + "Performance statistics"; + uses BGP-PERF-NBR; + } + container message-statistics { + description + "Message statistics"; + uses BGP-NBR-MSG-STATS; + } + container tcp-init-sync-time-spec { + description + "Time When neighbor entered TCP Init Sync"; + uses BGP-TIMESPEC; + } + container tcp-init-sync-phase-two-time-spec { + description + "Time when neighbor entered TCP Init Sync Phase + Two"; + uses BGP-TIMESPEC; + } + container tcp-init-sync-done-time-spec { + description + "Time when neighbor entered TCP Init Sync Done"; + uses BGP-TIMESPEC; + } + container graceful-maintenance { + description + "Graceful Maintenance"; + uses BGP-NBR-GSHUT; + } + leaf speaker-id { + type uint8; + description + "Speaker this neighbor is allocated to"; + } + leaf description { + type string; + description + "Description"; + } + leaf local-as { + type uint32; + description + "Local AS number"; + } + leaf remote-as { + type uint32; + description + "Remote AS number"; + } + leaf has-internal-link { + type boolean; + description + "Internal link to neighbor"; + } + leaf is-external-neighbor-not-directly-connected { + type boolean; + description + "External neighbor not directly connected"; + } + leaf messages-received { + type uint32; + description + "Number of messages received"; + } + leaf messages-sent { + type uint32; + description + "Number of messages sent"; + } + leaf update-messages-in { + type uint32; + description + "No. of update msgs received"; + } + leaf update-messages-out { + type uint32; + description + "No. of update messages sent"; + } + leaf messages-queued-in { + type uint32; + description + "No. of msgs on receive queue"; + } + leaf messages-queued-out { + type uint32; + description + "No. of messages on send queue"; + } + leaf connection-established-time { + type uint32; + units "second"; + description + "Time (in secs) that the connection has been + established"; + } + leaf connection-state { + type Bgp-conn-state; + description + "State of connection"; + } + leaf previous-connection-state { + type uint32; + description + "Previous state of connection"; + } + leaf connection-admin-status { + type uint32; + description + "Administrative status of connection"; + } + leaf open-check-error-code { + type Bgp-open-check-err; + description + "Open check error code"; + } + leaf is-local-address-configured { + type boolean; + description + "Local address configured for the neighbor + connection"; + } + leaf connection-local-port { + type uint32; + description + "Local port for the connection"; + } + leaf connection-remote-port { + type uint32; + description + "Remote port for the connection"; + } + leaf neighbor-interface-handle { + type uint32; + description + "Interface Handle of Neighbor"; + } + leaf reset-notification-sent { + type boolean; + description + "Notification was sent during last reset"; + } + leaf is-administratively-shut-down { + type boolean; + description + "Neighbor is administratively shut down"; + } + leaf is-neighbor-max-prefix-shutdown { + type boolean; + description + "Neighbor shut down because it exceeded max prfx + count"; + } + leaf is-out-of-memory-shutdown { + type boolean; + description + "Neighbor shut down during a SEVERE low memory + condition"; + } + leaf is-out-of-memory-forced-up { + type boolean; + description + "Neighbor forced up during a low memory condition"; + } + leaf is-ebgp-peer-as-league { + type boolean; + description + "EBGP peer belongs to AS League"; + } + leaf is-ebgp-peer-common-admin { + type boolean; + description + "EBGP peer with common administation"; + } + leaf ttl-security-enabled { + type boolean; + description + "TTL Security enabled"; + } + leaf suppress4-byte-as { + type boolean; + description + "Suppress 4byteas capability"; + } + leaf bfd-session-state { + type Bgp-bfd-state; + description + "BFD state for this peer"; + } + leaf bfd-session-created-state { + type Bgp-bfd-state; + description + "BFD state for this peer"; + } + leaf bfd-session-enable-mode { + type Bgp-bfd-enable-mode; + description + "BFD enable mode for this peer"; + } + leaf bfd-minintervalval { + type uint32; + description + "BFD Mininterval for this peer"; + } + leaf bfd-multiplierval { + type uint32; + description + "BFD Multiplier for this peer"; + } + leaf bfd-state-ts { + type uint64; + description + "Timestamp since when nbr is in this bfd state"; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID for the neighbor"; + } + leaf negotiated-protocol-version { + type uint16; + description + "Negotiated protocol version"; + } + leaf ebgp-time-to-live { + type uint32; + description + "Maximum number of hops for external BGP neighbor"; + } + leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { + type boolean; + description + "If true, MPLS and NULL rewrite is disabled; if + false, it is enabled"; + } + leaf tcpmss { + type uint32; + description + "Neighbor TCP Maximum Segment + size"; + } + leaf msg-log-in { + type uint32; + description + "Message in log count"; + } + leaf msg-log-out { + type uint32; + description + "Message out log count"; + } + leaf neighbor-local-as { + type uint32; + description + "Local AS configured on the neighbor"; + } + leaf local-as-no-prepend { + type boolean; + description + "Option to not prepend the Local AS to + announcements"; + } + leaf is-capability-negotiation-suppressed { + type boolean; + description + "Capability negotiation suppressed"; + } + leaf is-capability-negotiation-performed { + type boolean; + description + "Capability negotiation performed"; + } + leaf is-route-refresh-capability-received { + type boolean; + description + "Route refresh capability received"; + } + leaf is-route-refresh-old-capability-received { + type boolean; + description + "Route refresh old capability received"; + } + leaf is-gr-aware { + type boolean; + description + "GR awareness received"; + } + leaf is4-byte-as-capability-received { + type boolean; + description + "4-byte AScapability received"; + } + leaf is4-byte-as-capability-sent { + type boolean; + description + "4-byte AScapability Snt"; + } + leaf multi-protocol-capability-received { + type boolean; + description + "Multi-protocol capability has been received"; + } + leaf hold-time { + type uint16; + units "second"; + description + "Hold time (in secs) negotiated for this + connection"; + } + leaf keep-alive-time { + type uint16; + units "second"; + description + "Keepalive time (in secs) negotiated for this + connection"; + } + leaf configured-hold-time { + type uint16; + units "second"; + description + "Hold time (in secs) configured for this + connection"; + } + leaf configured-keepalive { + type uint16; + units "second"; + description + "Keepalive time (in secs) configured for this + connection"; + } + leaf configured-min-acc-hold-time { + type uint16; + units "second"; + description + "Minimum acceptable hold time from neighbor (in + secs) configured for this connection"; + } + leaf min-advertise-interval { + type uint32; + units "second"; + description + "Minimum advertisement interval, secs part"; + } + leaf min-advertise-interval-msecs { + type uint32; + units "millisecond"; + description + "Minimum advertisement interval, msecs part"; + } + leaf min-origination-interval { + type uint16; + units "second"; + description + "Minimum origination interval (in secs)"; + } + leaf connect-retry-interval { + type uint16; + units "second"; + description + "Time (in secs) for connect retry timer"; + } + leaf time-since-last-update { + type uint32; + units "second"; + description + "Time (in secs) since last update message was + received"; + } + leaf time-since-last-read { + type uint32; + units "second"; + description + "Time (in secs) since last read"; + } + leaf time-since-last-read-reset { + type uint32; + units "second"; + description + "Time (in secs) since last read before last reset"; + } + leaf time-last-cb { + type uint64; + description + "CB"; + } + leaf time-last-cb-reset { + type uint32; + description + "Last CB before reset"; + } + leaf time-last-fb { + type uint64; + description + "FB"; + } + leaf count-last-write { + type uint32; + description + "Count"; + } + leaf time-since-last-write { + type uint32; + units "second"; + description + "Time (in secs) since last write"; + } + leaf attempted-last-write-bytes { + type uint32; + description + "Attempted size of last write"; + } + leaf actual-last-write-bytes { + type uint32; + description + "Actual size of last write"; + } + leaf time-since-second-last-write { + type uint32; + units "second"; + description + "Time (in secs) since second last write"; + } + leaf attempted-second-last-write-bytes { + type uint32; + description + "Attempted size of second last write"; + } + leaf actual-second-last-write-bytes { + type uint32; + description + "Actual size of second last write"; + } + leaf time-since-last-write-reset { + type uint32; + units "second"; + description + "Time (in secs) since last write before last + reset"; + } + leaf attempted-last-write-reset-bytes { + type uint32; + description + "Attempted size of last write before reset"; + } + leaf actual-last-write-reset-bytes { + type uint32; + description + "Actual size of last write before reset"; + } + leaf time-since-second-last-write-reset { + type uint32; + units "second"; + description + "Time (in secs) since last write before last + reset"; + } + leaf attempted-second-last-write-reset-bytes { + type uint32; + description + "Attempted size of second last write before reset"; + } + leaf actual-second-last-write-reset-bytes { + type uint32; + description + "Actual size of second last write before reset"; + } + leaf last-write-event { + type uint32; + units "second"; + description + "Time (in secs) since last write thread event"; + } + leaf second-last-write-event { + type uint32; + units "second"; + description + "Time (in secs) since second last write thread + event"; + } + leaf last-k-aexpiry-reset { + type uint32; + units "second"; + description + "Time (in secs) since last KA timer expiry before + reset"; + } + leaf second-last-k-aexpiry-reset { + type uint32; + units "second"; + description + "Time (in secs) since second last KA timer expiry + before reset"; + } + leaf last-k-anotsent-reset { + type uint32; + units "second"; + description + "Duration (in secs) since last time that KA was + not sent before reset"; + } + leaf last-k-aerror-reset { + type uint32; + units "second"; + description + "Duration (in secs) since last time that an error + was encountered after KA expiry"; + } + leaf last-k-astart-reset { + type uint32; + units "second"; + description + "Time (in secs) since the last KA timer start + before reset"; + } + leaf second-last-k-astart-reset { + type uint32; + units "second"; + description + "Time (in secs) since the second last KA timer + start before reset"; + } + leaf connection-up-count { + type uint32; + description + "Number of times the connection was established"; + } + leaf connection-down-count { + type uint32; + description + "Number of times connection was dropped"; + } + leaf time-since-connection-last-dropped { + type uint32; + units "second"; + description + "Time since the connection last went down + (seconds)"; + } + leaf reset-reason { + type Bgp-reset-reason-index; + description + "Reason for last connection reset"; + } + leaf peer-reset-reason { + type Bgp-peer-reset-reason-index; + description + "Reason for last peer close event"; + } + leaf peer-error-code { + type uint32; + description + "If peer closed, error received from transport"; + } + leaf last-notify-error-code { + type uint8; + description + "Code for the last error notification seen on the + connection"; + } + leaf last-notify-error-subcode { + type uint8; + description + "Error subcode of the last error notification + seen on the connection"; + } + leaf error-notifies-received { + type uint32; + description + "Number of error notifications received on the + connection"; + } + leaf error-notifies-sent { + type uint32; + description + "Number of error notifications sent on the + connection"; + } + leaf remote-as-number { + type uint32; + description + "Remote AS number"; + } + leaf dmz-link-bandwidth { + type uint32; + description + "Bandwidth of link to single-hop eBGP peer"; + } + leaf ebgp-recv-dmz { + type boolean; + description + "Receive Bandwidth of link to single-hop eBGP + peer"; + } + leaf ebgp-send-dmz-mode { + type Bgp-ebgp-send-dmz-enable-mode; + description + "Ebgp send dmz link bw mode"; + } + leaf tos-type { + type uint8; + description + "Precedence or DSCP type"; + } + leaf tos-value { + type uint8; + description + "Precedence or DSCP value"; + } + leaf tcp-session-open-mode { + type Bgp-tcp-mode; + description + "The TCP mode to be used to set up BGP session + with the neighbor"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf standby-rp { + type boolean; + description + "Standby RP socket inited for Active Open"; + } + leaf nsr-enabled { + type boolean; + description + "Neighbor supports NSR"; + } + leaf graceful-restart-enabled-nbr { + type boolean; + description + "Neighbor supports graceful-restart"; + } + leaf gr-restart-time { + type uint32; + units "second"; + description + "Neighbor restart time (in seconds)"; + } + leaf gr-stale-path-time { + type uint32; + units "second"; + description + "Neighbor stale-path time (in seconds)"; + } + leaf fssn-offset { + type uint32; + description + "First standby SeqNo offset"; + } + leaf fpbsn-offset { + type uint32; + description + "First standby PDU boundary SeqNo offset"; + } + leaf last-ackd-seq-no { + type uint32; + description + "SeqNo of the last Ackd byte"; + } + leaf bytes-written { + type uint32; + units "byte"; + description + "Total bytes written by write thread"; + } + leaf bytes-read { + type uint32; + units "byte"; + description + "Total bytes read"; + } + leaf socket-read-bytes { + type uint32; + units "byte"; + description + "Total read bytes value insocket-lib"; + } + leaf is-read-disabled { + type boolean; + description + "If true, socket read isdisabled"; + } + leaf update-bytes-read { + type uint32; + units "byte"; + description + "Total update bytes read"; + } + leaf nsr-state { + type Bgp-sync-nbr-nsr-state; + description + "NSR state"; + } + leaf is-passive-close { + type boolean; + description + "If true, active socket canbe closed if passive + openis received for a GRcapable neighbor"; + } + leaf nbr-enforce-first-as { + type boolean; + description + "Neighbor enforce first AS"; + } + leaf active-bmp-servers { + type uint8; + description + "BMP Servers to which the neighbor sends logs"; + } + leaf nbr-cluster-id { + type uint32; + description + "Cluster id"; + } + leaf nbr-in-cluster { + type uint8; + description + "Type of cluster_id:undefined/number/Ip address"; + } + leaf ignore-connected { + type boolean; + description + "If true, the VPN client isan IBGP CE peer"; + } + leaf internal-vpn-client { + type boolean; + description + "If true, don't do NHconnected check for nbr"; + } + leaf io-armed { + type boolean; + description + "If true, socket has beenauto-armed for io + control"; + } + leaf read-armed { + type boolean; + description + "If true, socket has beenauto-armed for read"; + } + leaf write-armed { + type boolean; + description + "If true, socket has beenauto-armed for write"; + } + leaf discard-data-bytes { + type uint32; + units "byte"; + description + "Remaining discard data (bytes) on Standby"; + } + leaf local-as-replace-as { + type boolean; + description + "Local AS Replace-AS option"; + } + leaf local-as-dual-as { + type boolean; + description + "Local AS Dual-AS option"; + } + leaf local-as-dual-as-mode-native { + type boolean; + description + "Applies only if Local AS Dual-AS option is + enabled. Indicates if Dual-AS mode is native."; + } + leaf egress-peer-engineering-enabled { + type boolean; + description + "Indicates if Egress Peer Engineering is enabled"; + } + leaf discard-as4-path { + type uint32; + description + "Discard AS4_PATH in case there is a discrepancy + in merging AS_PATH and AS4_PATH,retain ASPATH"; + } + leaf rpki-disable { + type boolean; + description + "Prefix validation disabled"; + } + leaf rpki-use-validity { + type boolean; + description + "Prefix v. use validity"; + } + leaf rpki-allow-invalid { + type boolean; + description + "Prefix v. allow invalid"; + } + leaf rpki-signal-ibgp { + type boolean; + description + "Prefix v. signal ibgp"; + } + leaf dynamic-neighbor { + type boolean; + description + "Dynamic neighbor"; + } + list af-data { + max-elements "25"; + description + "Address family specific neighbor data"; + uses BGP-NBR-AF; + } + } + + grouping BGP-PATH-MULTI { + description + "BGP path set"; + list paths { + description + "paths"; + uses BGP-PATH-BAG; + } + list adv-path-info { + description + "Net Advertized Paths"; + uses BGP-PATH-ADV-BAG; + } + } + + grouping BGP-NBR-ADV-CNT-BAG { + description + "BGP Neighbor adv cnt bag"; + leaf max-prefix-advertisedcount { + type uint32; + description + "Number of prefixes advertsied to neighbor"; + } + } + + grouping BGP-EPE-SET-BAG { + description + "BGP EPE SET BAG"; + container epe-local-address { + description + "Local address"; + uses BGP-ADDRTYPE; + } + container epe-next-hop { + description + "Nexthop address"; + uses BGP-ADDRTYPE; + } + leaf epe-key-length-xr { + type uint8; + description + "EPE key length in bits"; + } + leaf epe-version { + type uint32; + description + "EPE object's version"; + } + leaf epe-flags { + type uint8; + description + "EPE object's flags"; + } + leaf epe-local-asn { + type uint32; + description + "Local AS Number"; + } + leaf epe-remote-asn { + type uint32; + description + "Remote AS Number"; + } + leaf epe-remote-router-id { + type uint32; + description + "Remote router id"; + } + leaf epe-local-router-id { + type uint32; + description + "Local router id"; + } + leaf label { + type uint32; + description + "Label assigned to the RPCnext-hop set"; + } + leaf ref-count { + type uint32; + description + "Refcount"; + } + list epe-key { + description + "Key of EPE object"; + leaf entry { + type uint8; + } + } + list nexthop-id { + description + "List of nexthop ID of EPE"; + leaf entry { + type uint32; + } + } + list ifhandle { + description + "List of ifhandle of EPE"; + leaf entry { + type uint32; + } + } + list first-hop { + description + "List of firsthops of EPE"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-PATH-ELEM-BAG { + description + "BGP path element"; + container pelem-path-nexthop { + description + "Path nexthop address"; + uses BGP-ADDRTYPE; + } + container nh-tunnel { + description + "NH tunnel information"; + uses BGP-TE-TUNNEL; + } + container pelem-path-neighbor-addr { + description + "Path neighbor address"; + uses BGP-ADDRTYPE; + } + leaf pelem-path-id { + type uint32; + description + "Local Path ID"; + } + leaf pelem-version { + type uint32; + description + "Version"; + } + leaf pelem-flags { + type uint32; + description + "Flags"; + } + leaf pelem-gw-metric { + type uint32; + description + "Gateway metric"; + } + leaf pelem-path-flags { + type uint64; + description + "Path flags"; + } + leaf pelem-path-peer-path-id { + type uint32; + description + "Path peer path ID"; + } + leaf pelem-table-attr-version { + type uint32; + description + "Table Attr version"; + } + leaf pelem-path-table-attr-version { + type uint32; + description + "Path Table Attr version"; + } + leaf pelem-no-bestpath-table-attr-version { + type uint32; + description + "No-bestpath Table Attr version"; + } + leaf pelem-no-addpath-table-attr-version { + type uint32; + description + "No-addpath Table Attr version"; + } + leaf is-perm-path-pelem { + type boolean; + description + "Pelem for permanent path"; + } + } + + grouping BGP-NET-BAG { + description + "BGP network"; + container bgp-prefix { + description + "BGP prefix"; + uses BGP-PREFIXTYPE; + } + container version-timestamp { + description + "Version timestamp"; + uses BGP-TIMESPEC; + } + container version-age { + description + "Version age"; + uses BGP-TIMESPEC; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf process-instance-id { + type uint8; + description + "Process instance ID"; + } + leaf has-inconsistent-paths { + type boolean; + description + "Net has inconsistent paths"; + } + leaf is-net-aggregation-suppressed { + type boolean; + description + "Net suppressed due to aggregation"; + } + leaf is-net-ldp-signaled { + type boolean; + description + "L2VPN Net LDP signaled aggregation"; + } + leaf table-version { + type uint32; + description + "Table version # for net"; + } + leaf table-brib-version { + type uint32; + description + "Table version # for updates"; + } + leaf advertisedto-pe { + type boolean; + description + "Net could be advertised + to PE peers"; + } + leaf has-local-label { + type boolean; + description + "Net has local label"; + } + leaf net-local-label { + type uint32; + description + "Local label"; + } + leaf net-local-label-rewrite { + type boolean; + description + "Net label has rewrite"; + } + leaf net-local-label-srgb { + type boolean; + description + "Net label allocated fromSegment routing global + block"; + } + leaf has-lbl-retained { + type boolean; + description + "Net has label retained"; + } + leaf route-distinguisher { + type xr:Route-dist; + description + "Route Distinguisher"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf net-flags { + type uint32; + description + "Flags associated with + net"; + } + leaf net-extended-flags { + type uint32; + description + "Net extended flags"; + } + leaf net-multipath { + type boolean; + description + "Net has multipaths"; + } + leaf net-eibgp-multipath { + type boolean; + description + "Net has EIBGP multipaths"; + } + leaf net-backup-available { + type boolean; + description + "Net has backup path"; + } + leaf net-backup-label-rewrite-available { + type boolean; + description + "Net has label rewrite for backup path"; + } + leaf rib-failed { + type boolean; + description + "RIB install failed"; + } + leaf gateway-array { + type uint32; + description + "Gateway array ID"; + } + leaf resilient-nexthop-set { + type uint32; + description + "Resilient nexthop set ID"; + } + leaf is-permanent-network { + type boolean; + description + "Permanent Network"; + } + leaf num-of-path { + type uint32; + description + "Number of path for this net"; + } + leaf version { + type uint32; + description + "Version"; + } + leaf bit { + type uint16; + description + "Bit"; + } + leaf flags { + type uint8; + description + "Flags"; + } + list local-peers-advertised-to { + description + "Local peers that this prefix has been advertised + to"; + uses BGP-ADVINFO-TYPE; + } + list pe-peers-advertised-to { + description + "PE peers that this prefix has been advertised to"; + uses BGP-ADVINFO-TYPE; + } + list best-path-orr-bitfield { + description + "ORR Best path Bitfields"; + uses BGP-ADVINFO-TYPE; + } + list add-path-orr-bitfield { + description + "ORR Add path Bitfields"; + uses BGP-ADVINFO-TYPE; + } + list local-process-instance-path { + description + "Local (to process instance) paths for this net "; + uses BGP-PATH-BAG; + } + list active-process-instance-path { + description + "Active's paths for this net "; + uses BGP-PATH-BAG; + } + list local-path-element { + description + "Local path element list"; + uses BGP-PATH-ELEM-BAG; + } + list active-path-element { + description + "Path element list received from Active inst"; + uses BGP-PATH-ELEM-BAG; + } + } + + grouping BGP-UPDGEN-FILTERGRP-BAG { + description + "BGP Update generation Filter-group information"; + leaf process-id { + type uint32; + description + "ProcessID"; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf update-filter-group-index { + type uint32; + description + "Filter-group index"; + } + leaf parent-filter-group-index { + type uint32; + description + "Parent Filter-group index"; + } + leaf sub-group-index-xr { + type uint32; + description + "Sub-group index"; + } + leaf sub-group-id-xr { + type uint32; + description + "Sub-group identifier"; + } + leaf parent-sub-group-index { + type uint32; + description + "Parent Sub-group index"; + } + leaf parent-sub-group-id { + type uint32; + description + "Parent Sub-group identifier"; + } + leaf update-group-index-xr { + type uint32; + description + "Update-group index"; + } + leaf neighbor-count { + type uint32; + description + "Neighbor count"; + } + } + + grouping BGP-UPDGEN-UPDGRP-BAG { + description + "BGP Update generation Update-group information"; + container last-update-timer-start-timestamp { + description + "Last update timer start time"; + uses BGP-TIMESPEC; + } + container last-update-timer-stop-timestamp { + description + "Last update timer stop time"; + uses BGP-TIMESPEC; + } + container last-update-timer-expiry-timestamp { + description + "Last update timer expiry time"; + uses BGP-TIMESPEC; + } + container last-update-timer-remaining-value { + description + "Update timer remaining time"; + uses BGP-TIMESPEC; + } + container last-update-timer-delay-value { + description + "Last update timer delay value"; + uses BGP-TIMESPEC; + } + container update-statistics { + description + "Update statistics"; + uses BGP-UPDGEN-STATS-BAG; + } + leaf process-id { + type uint32; + description + "ProcessID"; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf neighbor-session-af-name { + type uint8; + description + "Neighbor session address family"; + } + leaf update-group-index-xr { + type uint32; + description + "Update-group index"; + } + leaf update-group-flags2 { + type uint32; + description + "Update-group internal flags2"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue Messages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue Size"; + } + leaf update-sub-group-count { + type uint32; + description + "Sub-group count"; + } + leaf sub-group-throttled-count { + type uint32; + description + "Throttled sub-group count"; + } + leaf refresh-sub-group-count { + type uint32; + description + "Refresh sub-group count"; + } + leaf refresh-sub-group-throttled-count { + type uint32; + description + "Throttled refresh sub-group count"; + } + leaf filter-group-count { + type uint32; + description + "Filter-group count"; + } + leaf neighbor-count { + type uint32; + description + "Neighbor count"; + } + leaf neighbor-leaving-count { + type uint32; + description + "Count of neighbors leaving the update-group"; + } + leaf update-generation-recovery-pending { + type boolean; + description + "Is update generation recovery pending"; + } + leaf last-update-timer-expiry-age { + type uint32; + description + "Time since last update timer expiry event"; + } + leaf is-update-timer-running { + type boolean; + description + "Is update timer running"; + } + leaf perm-pelem-encountered { + type uint32; + description + "Count of Perm Pelems seen by updgen"; + } + leaf perm-pelem-allowed { + type uint32; + description + "Count of Perm Pelems allowed by updgen"; + } + leaf perm-pelem-not-allowed { + type uint32; + description + "Count of Perm Pelems not allowed by updgen"; + } + leaf perm-pelem-exp-wdr { + type uint32; + description + "Count of Perm Pelems explicitly wdrn by updgen"; + } + leaf perm-pelem-spur-wdr { + type uint32; + description + "Count of Perm Pelems Spurious withdraws by + updgen"; + } + leaf is-permanent { + type boolean; + description + "Permanent UG check"; + } + } + + grouping BGP-BMP-PATH-BAG { + description + "BMP Table path details"; + container neighbor-address { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + leaf bmp-path-flags { + type uint32; + description + "Flags associated with path"; + } + leaf bmp-path-adv-bit-map { + type uint16; + description + "Path's Adv bit map"; + } + leaf bmp-path-snd-bit-map { + type uint16; + description + "Path's pending snd bit map"; + } + leaf bmp-nbr-bit-map { + type uint32; + description + "Paths Nbr bmp bit map"; + } + leaf local-path { + type boolean; + description + "Is path originated locally?"; + } + leaf bpath-pointer { + type uint64; + description + "BGP Path pointer"; + } + list received-label { + description + "Set of received label stack"; + leaf entry { + type uint32; + } + } + } + + grouping BGP-BMP-NET-BAG { + description + "BMP Table net details"; + container bgp-prefix { + description + "BGP prefix"; + uses BGP-PREFIXTYPE; + } + container version-timestamp { + description + "Net Version bump timestamp"; + uses BGP-TIMESPEC; + } + container version-age { + description + "Net Version bump age"; + uses BGP-TIMESPEC; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf bmp-net-flags { + type uint32; + description + "Flags associated with net"; + } + leaf bmp-net-version { + type uint32; + description + "Net's version"; + } + leaf num-of-path { + type uint32; + description + "Number of path for the net"; + } + leaf has-local-label { + type boolean; + description + "Net has local label"; + } + leaf net-local-label { + type uint32; + description + "Local label"; + } + list bmp-path { + description + "List of paths under the BMP net"; + uses BGP-BMP-PATH-BAG; + } + } + + grouping BGP-RTSET { + description + "BGP RT-set"; + leaf rt-set-len { + type uint8; + units "byte"; + description + "Length in bytes of set of route targets"; + } + leaf rt-set-id { + type uint32; + description + "Identifier of the rtset"; + } + leaf rt-set-net-count { + type uint32; + description + "Count of nets with paths with the rtset"; + } + list rt-set { + description + "Set of route targets"; + leaf entry { + type uint8; + } + } + } + + grouping BGP-RTSET-BAG { + description + "BGP RT-set information"; + container route-target-set { + description + "Route Target set"; + uses BGP-RTSET; + } + } + + grouping BGP-INT-NH-GW { + description + "BGP Internal Nexthop Gateway Information"; + leaf gateway-flags { + type uint32; + description + "Gateway flags"; + } + leaf registration-type { + type Bgp-nh-validate; + description + "Nexthop registration type"; + } + leaf registration-since { + type uint32; + description + "Time since registration"; + } + } + + grouping BGP-INT-NH { + description + "BGP Internal Nexthop information"; + container nexthop-address { + description + "Nexthop address"; + uses BGP-ADDRTYPE; + } + leaf nexthop-id { + type uint32; + description + "Comm librray ID"; + } + leaf nexthop-version { + type uint32; + description + "Table version"; + } + leaf nexthop-flags { + type uint32; + description + "Nexthop flags"; + } + leaf nexthop-if-handle { + type uint32; + description + "Nexthop ifhandle"; + } + leaf nexthop-af-user-bits { + type uint32; + description + "Bitmask indicating the AFs which share the + nexthop"; + } + leaf nexthop-label { + type uint32; + description + "Nexthop label"; + } + leaf gateway-flags { + type uint32; + description + "Gateway flags"; + } + list nexthop-metrice { + description + "Nexthop metrices"; + leaf entry { + type uint32; + } + } + list nexthop-refcount { + description + "Nexthop refcounts"; + leaf entry { + type uint32; + } + } + list nexthop-gateway-internal-info { + description + "Internal nexthop Gateway info"; + uses BGP-INT-NH-GW; + } + } + + grouping BGP-NEXTHOP-GW-INFO { + description + "BGP Nexthop GW info"; + container nexthop-route { + description + "Route resolving the nethop"; + uses BGP-ADDRTYPE; + } + leaf nexthop-route-prefix-length { + type uint8; + description + "Prefix length of the route resolving the nexthop"; + } + leaf nexthop-route-protocol { + type string; + description + "Protocol that resolves the route to the nexthop"; + } + leaf nexthop-route-path-count { + type uint32; + description + "Number of paths in the resolving route"; + } + leaf nexthop-af-invalid-bits { + type uint16; + description + "Bitmask indicating the AFs which have been + invalidated for the nexthop"; + } + leaf nexthop-status { + type uint8; + description + "Nexthop status"; + } + leaf nexthop-tableid { + type uint64; + description + "Nexthop Table id"; + } + leaf nexthop-metric { + type uint32; + description + "IGP metric for nexthop"; + } + leaf last-event-type { + type Bgp-nh-event; + description + "Last nexthop event type"; + } + leaf last-update-type { + type Bgp-nh-update; + description + "Last nexthop update type"; + } + leaf critical-events { + type uint32; + description + "Number of critical events received from RIB"; + } + leaf non-critical-events { + type uint32; + description + "Number of non-critical events received from RIB"; + } + leaf last-event-since { + type uint32; + description + "Time since the last event sent to or received + from RIB"; + } + leaf last-rib-update { + type uint32; + description + "Time since the last rib update happened"; + } + leaf nexthop-mpls-enabled { + type boolean; + description + "TRUE if MPLS is configured for IAS/CsC + application"; + } + leaf nexthop-mpls-interfaces { + type uint32; + description + "Number of interfaces on which MPLS is enabled"; + } + leaf nexthop-mpls-label { + type uint32; + description + "Local label allocated for IAS/CsC application"; + } + list nexthop-route-path { + description + "Nexthops of the resolving route"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-NEXTHOP-BAG { + description + "BGP Nexthop info"; + container nexthop-address { + description + "Nexthop address"; + uses BGP-ADDRTYPE; + } + container nh-tunnel { + description + "NH tunnel information"; + uses BGP-TE-TUNNEL; + } + container nexthop-internal-info { + description + "Internal nexthop info"; + uses BGP-INT-NH; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf rib-nexthop-id { + type uint32; + description + "RIB Nexthop Id"; + } + leaf nexthop-pending-registration { + type uint8; + description + "Nexthop registration is pending"; + } + leaf nexthop-reference-count { + type uint32; + description + "Number of neighbors/prefixes referencing this + nexthop"; + } + leaf nh-reference-count-total { + type uint32; + description + "Number of neighbors/prefixes referencing this + nexthop (AFs)"; + } + leaf nh-first-hop-if-handle { + type xr:Interface-name; + description + "First-hop interface handle"; + } + leaf nexthop-aigp-metric { + type uint32; + description + "AIGP metrice of nexthop"; + } + leaf nexthop-gateway-reachable { + type boolean; + description + "Is Gateway reachable ?"; + } + leaf nexthop-gateway-prefix-connected { + type boolean; + description + "Is Gateway resolved through Connected route ?"; + } + leaf nexthop-gateway-prefix-length { + type uint32; + description + "Gateway prefix length"; + } + list nexthop-gateway-info { + description + "Gateway related info, includingOptimal Route + Reflector Gateways"; + uses BGP-NEXTHOP-GW-INFO; + } + list neighbor-address { + description + "Neighbor Address List"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-NEXTHOP-PERF-VRF-AF-BAG { + description + "BGP nexthop statistics for a VRF AF"; + leaf critical-notf-count { + type uint32; + description + "Number of critical event notifications from RIB"; + } + leaf noncritical-notf-count { + type uint32; + description + "Number of non-critical event notifications from + RIB"; + } + leaf last-notf-bestpath-deletes { + type uint32; + description + "Number of bestpath deletes due to last + notification"; + } + leaf last-notf-bestpath-changes { + type uint32; + description + "Number of bestpath changes due to last + notification"; + } + leaf nh-sync-reg-calls { + type uint32; + description + "NH sync register calls"; + } + leaf nha-sync-reg-calls { + type uint32; + description + "NH async register calls"; + } + leaf nha-sync-un-reg-calls { + type uint32; + description + "NH async unregister calls"; + } + leaf nh-pending-registrations { + type uint32; + description + "NH Registration List Count"; + } + leaf nh-peak-registrations { + type uint32; + description + "NH Registration List Count Peak"; + } + leaf nh-batch-finish-calls { + type uint32; + description + "NH batch finish calls"; + } + leaf nh-flush-timer-calls { + type uint32; + description + "NH flush timer calls"; + } + leaf nh-last-sync-reg-ts { + type uint32; + description + "NH Last sync Register TS"; + } + leaf nh-last-a-sync-reg-ts { + type uint32; + description + "NH Last async Register TS"; + } + leaf nh-last-a-sync-un-reg-ts { + type uint32; + description + "NH Last async UnRegister TS"; + } + leaf nh-last-batch-finish-ts { + type uint32; + description + "NH Last batch finish TS"; + } + leaf nh-last-flush-timer-ts { + type uint32; + description + "NH Last flush timer TS"; + } + leaf nhrib-update-calls { + type uint32; + description + "No. of calls to RIB update function"; + } + leaf nhrib-update-time { + type uint32; + units "millisecond"; + description + "Time spent sending RIB updates (milliseconds)"; + } + leaf nexthops-sent-to-rib { + type uint32; + description + "No. of nexthops sent to RIB"; + } + leaf nexthops-resent-to-rib { + type uint32; + description + "No. of nexthops re-sent to RIB"; + } + leaf nexthops-removed-from-rib { + type uint32; + description + "No. of nexthops withdrawn from RIB"; + } + leaf rib-sync-registers-failed { + type uint32; + description + "No. of sync registers with RIB that failed"; + } + leaf riba-sync-registers-failed { + type uint32; + description + "No. of async registers with RIB that failed"; + } + leaf ribnh-reg-failed-for-no-tbl-id { + type uint32; + description + "No. of nh registers failed because of no tbl-id"; + } + leaf ribnh-reg-failed-for-no-rib-conn { + type uint32; + description + "No. of nh registers failed because of no rib + conn"; + } + leaf tunnel-walk-nh-not-found { + type uint32; + description + "No. of times nexthop was not found during tunnel + walk"; + } + leaf tunnel-walk-gw-not-found { + type uint32; + description + "No. of times gw was not found during tunnel walk"; + } + leaf tunnel-walk-backup-creates { + type uint32; + description + "No. of times backup tid created during tunnel + walk"; + } + } + + grouping BGP-NEXTHOP-VRF-AF-BAG { + description + "BGP nexthop processing information for a VRF AF"; + container performance-statistics { + description + "Performance statistics"; + uses BGP-NEXTHOP-PERF-VRF-AF-BAG; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf gwaf-name { + type Bgp-afi; + description + "GW Address family identifier"; + } + leaf total-nexthops { + type uint32; + description + "Total number of nexthops"; + } + leaf critical-trigger-delay { + type uint32; + description + "Trigger delay for critical event processing"; + } + leaf non-critical-trigger-delay { + type uint32; + description + "Trigger delay for non-critical event processing"; + } + leaf table-active { + type boolean; + description + "Whether the VRF is active"; + } + leaf nh-rib-up { + type boolean; + description + "Whether the VRF is active"; + } + leaf nh-rib-version { + type uint32; + description + "RIB version for gw_ctx"; + } + leaf nh-nexthop-version { + type uint32; + description + "NH version for gw_ctx"; + } + leaf nh-table-id { + type uint32; + description + "Gateway context table id"; + } + leaf epe-table-version { + type uint32; + description + "Version of the EPE table"; + } + leaf epe-label-version { + type uint32; + description + "Version of the EPE label walk"; + } + leaf epe-downloaded-version { + type uint32; + description + "Version of the EPE table downloaded"; + } + leaf epe-standby-version { + type uint32; + description + "Version of the EPE table processed by sync + thread"; + } + } + + grouping BGP-UPDGEN-SUBGRP-BAG { + description + "BGP Update generation Sub-group information"; + container creation-timestamp { + description + "Creation time"; + uses BGP-TIMESPEC; + } + container last-merge-timestamp { + description + "Last merge time"; + uses BGP-TIMESPEC; + } + container first-update-walk-start-timestamp { + description + "First update walk start time"; + uses BGP-TIMESPEC; + } + container first-update-walk-end-timestamp { + description + "First update walk end time"; + uses BGP-TIMESPEC; + } + container last-update-walk-start-timestamp { + description + "Last update walk start time"; + uses BGP-TIMESPEC; + } + container last-update-walk-end-timestamp { + description + "Last update walk end time"; + uses BGP-TIMESPEC; + } + container last-update-queued-timestamp { + description + "Last update queued time"; + uses BGP-TIMESPEC; + } + container update-statistics { + description + "Update statistics"; + uses BGP-UPDGEN-STATS-BAG; + } + leaf process-id { + type uint32; + description + "ProcessID"; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf sub-group-index-xr { + type uint32; + description + "Sub-group index"; + } + leaf sub-group-id-xr { + type uint32; + description + "Sub-group ID"; + } + leaf parent-sub-group-index { + type uint32; + description + "Parent Sub-group index"; + } + leaf parent-sub-group-id { + type uint32; + description + "Parent Sub-group identifier"; + } + leaf update-group-index-xr { + type uint32; + description + "Update-group index"; + } + leaf update-main-table-version { + type uint32; + description + "Main table version"; + } + leaf update-vrf-table-rib-version { + type uint32; + description + "VRF Table RIB version"; + } + leaf current-update-limit-sub-group { + type uint32; + description + "Current update limit"; + } + leaf configured-update-limit-sub-group { + type uint32; + description + "Configured update limit"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue messages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue size"; + } + leaf update-throttled { + type boolean; + description + "Is update throttled"; + } + leaf refresh-sub-group-count { + type uint32; + description + "Refresh sub-group count"; + } + leaf filter-group-count { + type uint32; + description + "Filter-group count"; + } + leaf neighbor-count { + type uint32; + description + "Neighbor count"; + } + leaf version { + type uint32; + description + "Version"; + } + leaf nsr-version { + type uint32; + description + "NSR version"; + } + leaf pending-target-version { + type uint32; + description + "Pending target version"; + } + leaf next-resume-version { + type uint32; + description + "Next resume version"; + } + leaf update-refresh-target-version { + type uint32; + description + "Refresh target version"; + } + leaf io-write-event-pending { + type boolean; + description + "Is IO write event pending"; + } + leaf update-default-route-sent { + type boolean; + description + "Is default route sent"; + } + leaf merge-count { + type uint32; + description + "Merge count"; + } + leaf last-merged-sub-group-index { + type uint32; + description + "Last merged sub-group index"; + } + leaf eo-r-attempted { + type boolean; + description + "Sending EoR has been attempted"; + } + leaf last-update-walk-end-age { + type uint32; + description + "Time since last update walk end event"; + } + leaf last-update-queued-age { + type uint32; + units "second"; + description + "Time since last update queued event (in seconds)"; + } + } + + grouping BGP-ATTR-BAG { + description + "BGP attribute information"; + container attribute-info { + description + "Attributes"; + uses BGP-ATTR; + } + leaf process-instance-id { + type uint8; + description + "Process instance ID"; + } + leaf attribute-instance-id { + type uint8; + description + "Attribute Instance ID"; + } + leaf attribute-structure-id { + type uint32; + description + "ID of attribute structure"; + } + leaf attribute-structure-hash-value { + type uint32; + description + "Hash value for attribute structure"; + } + leaf reference-count { + type uint32; + description + "Number of paths which use this attribute + structure"; + } + } + + grouping BGP-UPD-FILTERGRP { + description + "Update filter-group entry"; + leaf update-filter-group-number { + type uint32; + description + "Update sub-group index"; + } + leaf rts { + type uint32; + description + "RT count per filter group"; + } + leaf fgroup-flags { + type uint8; + description + "Flags per filter group"; + } + leaf fgroup-neighbors { + type uint16; + description + "Nbrs per filter group"; + } + leaf fgroup-created-message-elements { + type uint32; + description + "Number of message elems created for filtergroup"; + } + leaf fgroup-deleted-message-elements { + type uint32; + description + "Number of message elems deleted"; + } + leaf fgroup-queued-message-elements { + type uint32; + description + "Number of message elems queued"; + } + leaf fgroup-advertised-prefixes { + type uint32; + description + "Number of prefixes advertised to filtergroup in + last update walk"; + } + leaf fgroup-total-advertised-prefixes { + type uint32; + description + "Number of prefixes advertised to filtergroup in + all update walk"; + } + leaf fgroup-withdrawn-prefixes { + type uint32; + description + "Number of prefixes withdrawn f`rom filtergroupin + last update walk"; + } + leaf fgroup-total-withdrawn-prefixes { + type uint32; + description + "Number of prefixes withdrawn f`rom filtergroupin + all update walk"; + } + leaf fgroup-total-non-optimised-prefixes { + type uint32; + description + "Number of prefixes non-optm from filtergroupin + all update walk"; + } + leaf fgroup-skipped-prefixes { + type uint32; + description + "Number of prefixes skipped for filtergroup in + last update walk"; + } + leaf fgroup-suppressed-prefixes { + type uint32; + description + "Number of prefixes suppressed for filtergroup in + last update walk"; + } + leaf is-rt-present { + type boolean; + description + "RT attribute list present"; + } + list extended-community { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + list neighbor { + description + "Neighbors in this update sub-group"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-UPD-SUBGRP { + description + "Update sub-group entry"; + leaf update-sub-group-number { + type uint32; + description + "Update sub-group index"; + } + leaf filter-group { + type uint16; + description + "Update sub-group fgrp-num"; + } + leaf wait-for-eo-rs { + type boolean; + description + "Wait for RT Nbr EoRs"; + } + list update-filter-group { + description + "Update f-group list"; + uses BGP-UPD-FILTERGRP; + } + list neighbor { + description + "Neighbors in this subgrp not in any filtergrp"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-PERF-UPDGRP { + description + "BGP PERF UPDGRP"; + leaf update-generation-calls { + type uint32; + description + "No. of calls to update generation function"; + } + leaf update-generation-prefixes-count { + type uint32; + description + "No. of prefixes updates generated for"; + } + leaf update-generation-be-prefixes-count { + type uint32; + description + "No. of be prefixes updates generated for"; + } + leaf update-generation-messages-count { + type uint32; + description + "No. of update messages generated"; + } + leaf update-generation-time { + type uint32; + units "millisecond"; + description + "Time spent generating updates (milliseconds)"; + } + leaf updgen-timer-start-time { + type uint64; + description + "Timestamp when update timer started for updgrp"; + } + leaf updgen-timer-stop-time { + type uint64; + description + "Timestamp when update timer stopped for updgrp"; + } + leaf updgen-timer-process-time { + type uint64; + description + "Timestamp when update timer processed for updgrp"; + } + } + + grouping BGP-UPDGRP-BAG { + description + "BGP Update Group information"; + container performance-statistics { + description + "Performance statistics"; + uses BGP-PERF-UPDGRP; + } + leaf process-instance-id { + type uint8; + description + "Process instance ID"; + } + leaf session-af-name { + type uint8; + description + "Neighbor session Address family"; + } + leaf update-group-number { + type uint32; + description + "Update group index"; + } + leaf update-group-af-name { + type Bgp-afi; + description + "Address family for update group"; + } + leaf should-send-communities { + type boolean; + description + "Send communities"; + } + leaf should-send-ext-communities { + type boolean; + description + "Send Extended communities"; + } + leaf should-send-stitching-rt { + type boolean; + description + "Send Stitching RT"; + } + leaf has-orf-receive-capability { + type boolean; + description + "ORF receive capability"; + } + leaf is-route-reflector-client { + type boolean; + description + "Route-reflector client"; + } + leaf is-client-reflection-disabled { + type boolean; + description + "True if client-to-client reflection is disabled "; + } + leaf accepts-legacy-pe-rt-route { + type boolean; + description + "accept-legacy-pe-RT route"; + } + leaf updgrp-cluster-id { + type uint32; + description + "Cluster ID (populated ifclient-to-client + reflectionis disabled)"; + } + leaf updgrp-cluster-type { + type uint8; + description + "Cluster ID type:undefined/number/Ip address"; + } + leaf orr-group-name { + type string; + description + "ORR Group Name"; + } + leaf orr-group-index { + type uint32; + description + "ORR Group Index"; + } + leaf is-orr-root-address-configured { + type boolean; + description + "ORR Root address configuredfor the neighbor + connection"; + } + leaf should-remove-private-a-ss { + type boolean; + description + "Remove private AS numbers"; + } + leaf should-remove-private-as-ent-path { + type boolean; + description + "Remove private AS numbersif the entire path + consistsof private ASes"; + } + leaf use-next-hop-self { + type boolean; + description + "Next hop self"; + } + leaf use-next-hop-unchanged-mpath { + type boolean; + description + "Next-hop-unchanged multipath"; + } + leaf is-internal-peers { + type boolean; + description + "Internal peers"; + } + leaf is-common-admin-peers { + type boolean; + description + "Common admin peers"; + } + leaf is4-byte-as-peer { + type boolean; + description + "4-byte AS capable peers"; + } + leaf is-addpath-capable { + type boolean; + description + "Add-path capable peers"; + } + leaf is-send-mcast-attr-enabled { + type boolean; + description + "Send mcast attribute enabled"; + } + leaf is-aigp-capable { + type boolean; + description + "AIGP capable peers"; + } + leaf is-aigp-cost-community-capable { + type boolean; + description + "Send AIGP cost community to peers"; + } + leaf is-aigp-med-capable { + type boolean; + description + "Send AIGP cost in MED"; + } + leaf is-llgr-capable { + type boolean; + description + "Send Long-lived Stale paths"; + } + leaf is-adv-capable { + type boolean; + description + "Send tranlsated paths"; + } + leaf is-adv-reorg-capable { + type boolean; + description + "Send Re-orig paths"; + } + leaf disable-native-advertisement { + type boolean; + description + "Disable advertising native routes"; + } + leaf disable-def-vrf-imp-advertisement { + type boolean; + description + "Disable advertising default VRF imported routes"; + } + leaf disable-vrf-re-imp-advertisement { + type boolean; + description + "Disable advertising VRF re-imported routes"; + } + leaf encapsulation-type { + type uint32; + description + "Encapsulation type"; + } + leaf advertise-rt-type { + type uint8; + description + "Advertise RT type"; + } + leaf is-directly-connected-ebgp-v6-peers { + type boolean; + description + "Directly connected EBGP v6 peers"; + } + leaf minimum-advertisement-interval { + type uint32; + units "second"; + description + "Minimum advertisement interval, secs part"; + } + leaf minimum-advertisement-interval-msecs { + type uint32; + units "millisecond"; + description + "Minimum advertisement interval, msecs part"; + } + leaf local-as { + type uint32; + description + "Local AS number"; + } + leaf route-policy-out { + type string; + description + "Outbound route policy name"; + } + leaf desync-count { + type uint32; + description + "Number of times the update has been + desynchronized"; + } + leaf subgrp-merge-count { + type uint32; + description + "Number of times sub-groups have been merged"; + } + leaf refresh-subgrp-count { + type uint32; + description + "Current count of refresh subgroups"; + } + leaf updates-formatted { + type uint32; + description + "Number of updates formatted"; + } + leaf updates-replicated { + type uint32; + description + "No. of updates replicated"; + } + leaf local-as-replace-as { + type boolean; + description + "Local AS Replace-AS option"; + } + leaf as-override { + type boolean; + description + "AS Override option"; + } + leaf soo-value { + type string; + description + "Site-of-origin value"; + } + leaf split-horizon { + type boolean; + description + "Split horizon check"; + } + leaf is-labeled-afi-enabled { + type boolean; + description + "Update group has labeled AFI enabled"; + } + leaf is-unlabeled-afi-enabled { + type boolean; + description + "Update group has unlabeled AFI enabled"; + } + leaf ext-nh-encoding { + type boolean; + description + "Extended nexthop encoding cap received"; + } + leaf remote-as { + type uint32; + description + "Remote AS number"; + } + leaf is-adv-perm-net-capable { + type boolean; + description + "Advertise Permanent-Net capable peers"; + } + leaf should-send-gshut-community { + type boolean; + description + "Send GSHUT community"; + } + leaf gshut-active { + type boolean; + description + "GSHUT active"; + } + leaf gshut-locpref-set { + type boolean; + description + "GSHUT local preference set"; + } + leaf gshut-locpref { + type uint32; + description + "GSHUT local preference"; + } + leaf gshut-prepends { + type uint8; + description + "GSHUT AS prepends"; + } + leaf advertise-local-labeled-route-unicast { + type boolean; + description + "Advertise routes with local-label via Unicast + SAFI"; + } + leaf enable-label-stack { + type boolean; + description + "Enable label stack"; + } + list neighbor { + description + "Neighbors in this update group which are not in + any sub-group"; + uses BGP-ADDRTYPE; + } + list update-sub-group { + description + "Update sub-group list"; + uses BGP-UPD-SUBGRP; + } + } + + grouping BGP-STATIC-ROUTES-BAG { + description + "BGP static routes information"; + container sourced-prefix { + description + "Prefix length"; + uses BGP-PREFIXTYPE; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf is-backdoor { + type boolean; + description + "TRUE if net is a backdoor route"; + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-AF-VRF { + description + "BGP GLOBAL PROCESS INFO AF VRF"; + leaf table-is-active { + type boolean; + description + "Table state is active"; + } + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-version { + type uint32; + description + "Table version"; + } + leaf rd-version { + type uint32; + description + "RD version"; + } + leaf rib-version { + type uint32; + description + "Table version synced to RIB"; + } + leaf nsr-conv-version { + type uint32; + description + "NSR conv version"; + } + leaf nsr-is-conv { + type boolean; + description + "NSR is converged"; + } + leaf client-reflection-enabled { + type boolean; + description + "Client reflection enabled"; + } + leaf dampening-enabled { + type boolean; + description + "Dampening enabled"; + } + leaf ebgp-distance { + type uint16; + description + "Distance for eBGP routes (external)"; + } + leaf ibgp-distance { + type uint16; + description + "Distance for iBGP routes (internal)"; + } + leaf aggregates-distance { + type uint16; + description + "Dist for aggregate routes (local)"; + } + leaf dynamic-med-enabled { + type boolean; + description + "Update generation enabled for MED change"; + } + leaf dynamic-med-interval { + type uint16; + units "minute"; + description + "Delay in update generation after a MED change + (in minutes)"; + } + leaf dynamic-med-timer-running { + type boolean; + description + "Dynamic MED timer running"; + } + leaf dynamic-med-timer-value { + type uint16; + units "second"; + description + "Dynamic MED timer value (in seconds) left on the + timer"; + } + leaf dynamic-med-periodic-timer-running { + type boolean; + description + "Dynamic MED periodic timer running"; + } + leaf dynamic-med-periodic-timer-value { + type uint16; + units "second"; + description + "Dynamic MED periodic timer value (in seconds) + left on the timer"; + } + leaf rib-has-converged { + type boolean; + description + "Received convergence notification from RIB"; + } + leaf rib-convergence-version { + type uint32; + description + "Last convergence version received from RIB"; + } + leaf is-rib-table-full { + type boolean; + description + "Indicates if RIB table is in prefix-limit state"; + } + leaf rib-table-full-version { + type uint32; + description + "Version when RIB table became full (from + non-full)"; + } + leaf nexthop-resolution-minimum-prefix-length-configured { + type boolean; + description + "Is nexthop resoultion minimum prefix-length + configured ?"; + } + leaf nexthop-resolution-minimum-prefix-length { + type uint32; + description + "Nexthop resoultion minimum prefix-length"; + } + leaf selective-ebgp-multipath-enabled { + type boolean; + description + "Selective eBGP multipath isenabled"; + } + leaf selective-ibgp-multipath-enabled { + type boolean; + description + "Selective iBGP multipath isenabled"; + } + leaf selective-eibgp-multipath-enabled { + type boolean; + description + "Selective eiBGP multipath isenabled"; + } + leaf rib-acked-table-version { + type uint32; + description + "Table version acked by RIB"; + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-AF-GBL { + description + "BGP GLOBAL PROCESS INFO AF GBL"; + container rib-install { + description + "RIB install info"; + uses BGP-RIB-INSTALL-TIME-INFO; + } + leaf scanner-period { + type uint16; + units "second"; + description + "Period (in seconds) of address-family scanner + runs"; + } + leaf nh-tunnel-version { + type uint32; + description + "NH Tunnel Version"; + } + leaf scan-prefixes { + type uint32; + description + "Total prefixes of address-family scanned"; + } + leaf scan-segment-prefixes { + type uint32; + description + "Number of prefixes scanned in a segment of + address-family"; + } + leaf scan-segments { + type uint8; + description + "Number of segments to scan all prefixes of + address-family"; + } + leaf inter-as-install-enabled { + type boolean; + description + "Is inter-AS install to pim on ASBR enabled"; + } + leaf global-mcast-enabled { + type boolean; + description + "Is global table mcast enabled"; + } + leaf segmented-mcast-enabled { + type boolean; + description + "Is segmented mcast enabled"; + } + leaf gblafrpki-disable { + type boolean; + description + "Prefix validation disabled"; + } + leaf gblafrpki-use-validity { + type boolean; + description + "Prefix v. use validity"; + } + leaf gblafrpki-allow-invalid { + type boolean; + description + "Prefix v. allow invalid"; + } + leaf gblafrpki-signal-ibgp { + type boolean; + description + "Prefix v. signal ibgp"; + } + leaf update-wait-install-enabled { + type boolean; + description + "Update wait-install enabled"; + } + leaf rib-ack-requests { + type uint32; + description + "Counter for RIB ack requests"; + } + leaf rib-acks-received { + type uint32; + description + "Counter for RIB ack received"; + } + leaf rib-slow-acks { + type uint32; + description + "Counter for slow RIB acks"; + } + leaf is-perm-net-cfg { + type boolean; + description + "Permanent Network Enabled"; + } + leaf perm-net-del-count { + type uint16; + description + "Count of removed perm paths"; + } + leaf perm-net-stale-del-count { + type uint16; + description + "Count of stale perm paths"; + } + leaf perm-net-stale-mark-count { + type uint16; + description + "Count of stale marked perm paths"; + } + leaf perm-net-insert-count { + type uint16; + description + "Count of inserted perm paths"; + } + leaf perm-net-existing-count { + type uint16; + description + "Count of existing perm paths"; + } + leaf perm-net-rpl-query-count { + type uint16; + description + "Count of perm nets given by RPL"; + } + leaf perm-net-rpl-process-count { + type uint16; + description + "Count of perm nets processed in RPL"; + } + leaf perm-nbr-count { + type uint16; + description + "Count of neighbors configured with perm net"; + } + leaf rib-perm-pelem-not-found-count { + type uint16; + description + ""; + } + leaf rib-perm-path-not-found-count { + type uint16; + description + ""; + } + leaf rib-perm-pelem-found-count { + type uint16; + description + ""; + } + leaf rib-reg-path-found-count { + type uint16; + description + ""; + } + leaf rib-perm-path-found-count { + type uint16; + description + ""; + } + leaf perm-pelem-free-count { + type uint16; + description + "Count of freed perm pelems"; + } + leaf perm-path-refresh-count { + type uint16; + description + "Count of perm paths refreshed"; + } + leaf perm-pelem-bump-count { + type uint16; + description + "Count of bumped perm pelems"; + } + leaf perm-pelem-all-bump-count { + type uint16; + description + "Count of bumped perm pelems"; + } + list syncgrp-version { + max-elements "2"; + description + "Sync-group Version"; + leaf entry { + type uint32; + } + } + } + + grouping BGP-GLOBAL-PROCESS-INFO-AF-BAG { + description + "BGP address family specific information common to + all BGP processes"; + container global { + description + "Global information"; + uses BGP-GLOBAL-PROCESS-INFO-AF-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-GLOBAL-PROCESS-INFO-AF-VRF; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf af-name { + type Bgp-afi; + description + "Address family id"; + } + leaf is-nsr-enabled { + type boolean; + description + "Non-stop routing enabled"; + } + } + + grouping BGP-RPC-SET-BAG { + description + "BGP RPC SET BAG"; + leaf next-hop-xr { + type uint32; + description + "Number of multipath next-hops"; + } + leaf label { + type uint32; + description + "Label assigned to the RPCnext-hop set"; + } + leaf ref-count { + type uint32; + description + "Refcount"; + } + list next-hop { + description + "List of multipath next-hops"; + uses BGP-ADDRTYPE; + } + } + + grouping BGP-BMP-TBL-GBL-BAG { + description + "BMP Table global information"; + container bmp-version-wrap-time-spec { + description + "Version Wrap timestamp"; + uses BGP-TIMESPEC; + } + container bmp-version-wrap-start-time-spec { + description + "Version Wrap handle start timestamp"; + uses BGP-TIMESPEC; + } + container bmp-version-wrap-done-time-spec { + description + "Version Wrap handle Done timestamp"; + uses BGP-TIMESPEC; + } + leaf bmp-route-monitoringe-enabled { + type boolean; + description + "Is Route Monitoring mode enabled"; + } + leaf bmp-table-version { + type uint32; + description + "Table version"; + } + leaf network-count { + type uint32; + description + "Number of nets in the table"; + } + leaf path-count { + type uint32; + description + "Number of paths in the table"; + } + leaf bmp-version-wrapped { + type uint32; + description + "Number of times Table Version Wrapped"; + } + leaf bmp-version-wrapped-tid { + type uint32; + description + "Version Wrapped trigger thread id"; + } + leaf bmp-version-inprogress { + type boolean; + description + "Is Version wrap in progress"; + } + leaf bmp-version-incremented { + type boolean; + description + "Is Version being incremented"; + } + } + + grouping BGP-PATH-BAG { + description + "BGP path"; + container advertised-neighbor { + description + "Advertised Neighbor Address. Valid in the case + of Advertised table"; + uses BGP-ADDRTYPE; + } + container path-information { + description + "Path information"; + uses BGP-PATH; + } + container attributes-after-policy-in { + description + "Attributes after inbound policy applied. In the + case of path type received-only this will be + attributes before inbound policy"; + uses BGP-ATTR; + } + leaf no-path { + type boolean; + description + "No path exists. All 'sp_path' fields except + 'sp_path->bag_prefix' are invalid"; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf process-instance-id { + type uint8; + description + "Process instance ID"; + } + leaf label-oor { + type boolean; + description + "LSD label space is exhausted"; + } + leaf label-oor-version { + type uint32; + description + "Label Version when OOR happens"; + } + leaf label-fail { + type boolean; + description + "LSD label allocation failed "; + } + leaf route-distinguisher { + type xr:Route-dist; + description + "Route Distinguisher"; + } + leaf source-route-distinguisher { + type xr:Route-dist; + description + "Source Route Distinguisher"; + } + leaf original-source-route-distinguisher { + type xr:Route-dist; + description + "Original Source Route Distinguisher"; + } + leaf prefix-version { + type uint32; + description + "Version of BGP Prefix Table"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf source-vrf-name { + type string; + description + "Name of the source VRF"; + } + leaf srcaf-name { + type Bgp-afi; + description + "Address family identifier"; + } + } + + grouping BGP-PERF-PROCESS-AF-VRF { + description + "BGP PERF PROCESS AF VRF"; + container time-rib-coverged { + description + "Time last RIB ack was sent "; + uses BGP-TIMESPEC; + } + container time-rib-down { + description + "Time last RIB down wassent. This field is + deprecated"; + uses BGP-TIMESPEC; + } + container first-rib-table-full-timestamp { + description + "Timestamp when RIB table was full for the first + time"; + uses BGP-TIMESPEC; + } + container last-rib-table-full-timestamp { + description + "Timestamp when RIB table was full for the last + time"; + uses BGP-TIMESPEC; + } + container first-rib-table-has-space-timestamp { + description + "Timestamp when RIB table had space for the first + time"; + uses BGP-TIMESPEC; + } + container last-rib-table-has-space-timestamp { + description + "Timestamp when RIB table had space for the last + time"; + uses BGP-TIMESPEC; + } + container time-label-retain { + description + "Time last label retentiontriggered "; + uses BGP-TIMESPEC; + } + leaf update-generation-calls { + type uint32; + description + "No. of calls to update generation function"; + } + leaf update-generation-prefixes-count { + type uint32; + description + "No. of prefixes updates generated for"; + } + leaf update-generation-be-prefixes-count { + type uint32; + description + "No. of be prefixes updates generated for"; + } + leaf update-generation-messages-count { + type uint32; + description + "No. of update messages generated"; + } + leaf update-generation-time { + type uint32; + units "millisecond"; + description + "Time spent generating updates (milliseconds)"; + } + leaf rib-update-calls { + type uint32; + description + "No. of calls to RIB update function"; + } + leaf rib-update-time { + type uint32; + units "millisecond"; + description + "Time spent sending RIB updates (milliseconds)"; + } + leaf prefixes-sent-to-rib { + type uint32; + description + "No. of prefixes sent to RIB"; + } + leaf prefixes-resent-to-rib { + type uint32; + description + "No. of prefixes re-sent to RIB"; + } + leaf prefixes-not-sent-to-rib { + type uint32; + description + "No. of prefixes not sent to RIB due to + unsupported label stack size"; + } + leaf prefixes-removed-from-rib { + type uint32; + description + "No. of prefixes withdrawn from RIB"; + } + leaf attributes-sent-to-rib { + type uint32; + description + "No. of attributes sent to RIB"; + } + leaf attributes-removed-from-rib { + type uint32; + description + "No. of attributes withdrawn from RIB"; + } + leaf attributes-recover-from-rib { + type uint32; + description + "No. of attributes recovered from RIB"; + } + leaf scanner-runs { + type uint32; + description + "# of times scanner has run"; + } + leaf scanner-time { + type uint32; + units "millisecond"; + description + "Time spent running scanner (milliseconds)"; + } + leaf rib-tbl-del-calls { + type uint32; + description + "No. of rib update skipped on account of table + delete"; + } + leaf rib-tbl-invalid-calls { + type uint32; + description + "No. of rib update skipped due to table invalid"; + } + leaf rib-tbl-skip-calls { + type uint32; + description + "No. of rib update skipped"; + } + leaf rib-tbl-local-label { + type uint32; + description + "No. of rib update skipped. due to no local label"; + } + leaf rib-tbl-retry { + type uint32; + description + "No. of table rib retires."; + } + leaf time-last-update-sent { + type uint32; + units "second"; + description + "Time last update was sent (seconds since Jan 1 + 1970)"; + } + leaf is-rib-table-full { + type boolean; + description + "Indicates if RIB table is in prefix-limit state"; + } + leaf rib-table-full-version { + type uint32; + description + "Version when RIB table became full (from + non-full)"; + } + leaf first-rib-table-full-version { + type uint32; + description + "Version when RIB table was full for the first + time"; + } + leaf last-rib-table-full-version { + type uint32; + description + "Version when RIB table was full for the last + time"; + } + leaf last-rib-table-full-age { + type uint32; + units "second"; + description + "Time since RIB table was full for the last time + (in seconds)"; + } + leaf first-rib-table-has-space-version { + type uint32; + description + "Version when RIB table had space for the first + time"; + } + leaf last-rib-table-has-space-version { + type uint32; + description + "Version when RIB table had space for the last + time"; + } + leaf last-rib-table-has-space-age { + type uint32; + units "second"; + description + "Times since RIB table had space for the last + time (in seconds)"; + } + leaf rib-trigger { + type boolean; + description + "Rib trigger enabled"; + } + leaf vrf-flags { + type uint32; + description + "VRF flags for debug display"; + } + leaf label-calls { + type uint32; + description + "No. of calls to label allocation processing + function"; + } + leaf label-time { + type uint32; + units "millisecond"; + description + "Time spent running label processing + (milliseconds)"; + } + leaf label-rewrite-count { + type uint32; + description + "Number of label rewrites created"; + } + leaf label-release-count { + type uint32; + description + "Number of labels released"; + } + leaf label-added-count { + type uint32; + description + "Number of labels requested"; + } + leaf import-calls { + type uint32; + description + "Number of calls to import processing function"; + } + leaf import-time { + type uint32; + units "millisecond"; + description + "Time spent in import processing (milliseconds) + Note time accounted against source nets."; + } + leaf import-src-net-processed-count { + type uint32; + description + "Number of source nets processed"; + } + leaf import-dest-net-processed-count { + type uint32; + description + "Number of destination nets processed"; + } + leaf import-added-path-count { + type uint32; + description + "Number of imported paths added"; + } + leaf import-removed-path-count { + type uint32; + description + "Number of imported paths removed"; + } + leaf import-replaced-path-count { + type uint32; + description + "Number of imported paths "; + } + leaf update-group-count { + type uint32; + description + "No. of update group"; + } + leaf subgroup-count { + type uint32; + description + "No. of update subgroup"; + } + } + + grouping BGP-PERF-PROCESS-AF-GBL { + description + "BGP PERF PROCESS AF GBL"; + leaf has-converged { + type boolean; + description + "TRUE if process has converged"; + } + leaf first-nbr-up-time { + type uint32; + units "second"; + description + "Time when first peer came up (seconds since Jan + 1 1970)"; + } + leaf total-pim-install { + type uint32; + description + "Total number of install to PIM"; + } + leaf total-pim-callbacks { + type uint32; + description + "Total number of PIM callbacks"; + } + leaf total-pim-callback-batch { + type uint32; + description + "Total number of Pim callback batches"; + } + list mode-enter-time { + max-elements "7"; + description + "Time that each mode was entered (seconds since + + Jan 1 1970)"; + leaf entry { + type uint32; + units "second"; + } + } + list total-pim-install-add { + max-elements "7"; + description + "Total number of install to PIM for add"; + leaf entry { + type uint32; + } + } + list total-pim-install-del { + max-elements "7"; + description + "Total number of install to PIM for del"; + leaf entry { + type uint32; + } + } + list total-pim-callback-add { + max-elements "7"; + description + "Total number of Pim callbacks for add"; + leaf entry { + type uint32; + } + } + list total-pim-callback-del { + max-elements "7"; + description + "Total number of Pim callbacks for del"; + leaf entry { + type uint32; + } + } + list total-pim-callback-add-local { + max-elements "7"; + description + "Total number of Pim callbacks for local add"; + leaf entry { + type uint32; + } + } + list total-pim-callback-del-local { + max-elements "7"; + description + "Total number of Pim callbacks for Local del"; + leaf entry { + type uint32; + } + } + } + + grouping BGP-PERF-PROCESS-AF { + description + "BGP PERF PROCESS AF"; + container global { + description + "Global information"; + uses BGP-PERF-PROCESS-AF-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-PERF-PROCESS-AF-VRF; + } + } + + grouping BGP-PROCESS-INFO-AF-VRF { + description + "BGP PROCESS INFO AF VRF"; + leaf network-entry-count { + type uint32; + description + "Number of network entries"; + } + leaf paths-count { + type uint32; + description + "Number of paths"; + } + leaf imported-paths { + type uint32; + description + "Number of imported paths"; + } + leaf local-paths { + type uint32; + description + "Number of local paths"; + } + leaf path-elems-count { + type uint32; + description + "Number of path elems"; + } + leaf path-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by path data"; + } + leaf imported-path-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by imported paths"; + } + leaf local-path-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by local paths"; + } + leaf prefix-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by prefix data"; + } + leaf path-elem-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by pathelem data"; + } + leaf received-path-count { + type uint32; + description + "Number of (unused) received paths for inbound + soft reconfiguration"; + } + leaf history-path-count { + type uint32; + description + "Number of history paths (for dampening)"; + } + leaf damped-path-count { + type uint32; + description + "Number of dampened paths"; + } + leaf malloced-prefix-count { + type uint32; + description + "Activity: Number of prefixes malloced"; + } + leaf freed-prefix-count { + type uint32; + description + "Activity: Number of prefixes freed"; + } + leaf malloced-path-count { + type uint32; + description + "Activity: Number of paths malloced"; + } + leaf freed-path-count { + type uint32; + description + "Activity: Number of paths freed"; + } + leaf malloced-path-elem-count { + type uint32; + description + "Activity: Number of path elems malloced"; + } + leaf freed-path-elem-count { + type uint32; + description + "Activity: Number of pathelems freed"; + } + leaf any-ebgp-neighbor-missing-policy { + type boolean; + description + "Is there any neighbor which is missing either + inbound or outbound or both routing policy for + this address family?"; + } + leaf attribute-download { + type boolean; + description + "Attribute download is "; + } + leaf route-target-download { + type boolean; + description + "Route Target download is enabled"; + } + leaf add-path-install-enable { + type boolean; + description + "Additional paths installation is enabled"; + } + leaf add-path-install-disable { + type boolean; + description + "Additional paths installation is disabled"; + } + leaf best-external { + type boolean; + description + "Best External is enabled"; + } + leaf best-external-disable { + type boolean; + description + "Best External is enabled"; + } + leaf label-retain { + type boolean; + description + "Label retention is enabled"; + } + leaf label-retainvalue { + type uint32; + description + "Label retention value enabled"; + } + leaf tbl-bitf-size { + type uint16; + description + "Bitfield size on table"; + } + leaf tbl-chunk-bitf-size { + type uint16; + description + "Chunk Bitfield size on table"; + } + leaf is-route-reflector { + type boolean; + description + "Router is an RR for this AF"; + } + leaf asbr { + type boolean; + description + "Router is an ASBR for this AF"; + } + leaf retain-rt-all { + type boolean; + description + "Retain-RT-All enabled"; + } + leaf ibgp-nexthop-self-count { + type uint32; + description + "Number of iBGP sessions configured with nh-self"; + } + leaf use-igpsr-label { + type boolean; + description + "Use IGP SR label for resolution"; + } + leaf bmp-network-entry-count { + type uint32; + description + "Number of BMP net entries"; + } + leaf bmp-paths-count { + type uint32; + description + "Total Number of BMP paths"; + } + leaf bmp-prefix-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by prefix data"; + } + leaf bmp-path-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by path data"; + } + } + + grouping BGP-RIB-INSTALL-TIME-INFO { + description + "BGP RIB INSTALL TIME INFO"; + container update-time { + description + "RIB update time"; + uses BGP-TIMESPEC; + } + container install-time { + description + "RIB install time"; + uses BGP-TIMESPEC; + } + leaf installed-count { + type uint32; + description + "Installed routes"; + } + leaf modified-count { + type uint32; + description + "Modified routes"; + } + leaf skipped-count { + type uint32; + description + "Skipped routes"; + } + leaf withdrawn-count { + type uint32; + description + "Withdrawn routes"; + } + leaf start-version { + type uint32; + description + "Start version"; + } + leaf target-version { + type uint32; + description + "Target version"; + } + } + + grouping BGP-THREAD-TRIGGER-INFO-STAT { + description + "BGP THREAD TRIGGER INFO STAT"; + container trigger-time-spec { + description + "trigger time spec"; + uses BGP-TIMESPEC; + } + leaf trigger-version { + type uint32; + description + "TriggerVersion"; + } + leaf trigger-table-version { + type uint32; + description + "TriggerTableVersion"; + } + } + + grouping BGP-THREAD-TRIGGER-INFO { + description + "BGP THREAD TRIGGER INFO"; + leaf triggers { + type uint32; + description + "Triggers"; + } + list statistic { + description + "statistic"; + uses BGP-THREAD-TRIGGER-INFO-STAT; + } + } + + grouping BGP-PROCESS-INFO-AF-GBL { + description + "BGP PROCESS INFO AF GBL"; + container version-wrap-time-spec { + description + "Version Wrap timestamp"; + uses BGP-TIMESPEC; + } + container version-wrap-start-time-spec { + description + "Version Wrap handle start timestamp"; + uses BGP-TIMESPEC; + } + container version-wrap-done-time-spec { + description + "Version Wrap handle Done timestamp"; + uses BGP-TIMESPEC; + } + container trigger-rib { + description + "Trigger RIB"; + uses BGP-THREAD-TRIGGER-INFO; + } + container trigger-import { + description + "Trigger import"; + uses BGP-THREAD-TRIGGER-INFO; + } + container trigger-update { + description + "Trigger update"; + uses BGP-THREAD-TRIGGER-INFO; + } + container trigger-label { + description + "Trigger label"; + uses BGP-THREAD-TRIGGER-INFO; + } + container rib-install { + description + "RIB install info"; + uses BGP-RIB-INSTALL-TIME-INFO; + } + leaf router-state { + type Bgp-rtr-state; + description + "Router state"; + } + leaf table-version { + type uint32; + description + "BGP table version"; + } + leaf version-wrapped { + type uint32; + description + "Number of times Version Wrap happened"; + } + leaf version-wrapped-tid { + type uint32; + description + "Version Wrapped trigger tid"; + } + leaf max-active-pelem-version { + type uint32; + description + "Maximum Active Pelem Version"; + } + leaf merged-table-version { + type uint32; + description + "Merged Table Version"; + } + leaf route-download-go-active-done-pending { + type uint32; + description + "Route Download Go Active Done Pending"; + } + leaf rib-brib-received-version { + type uint32; + description + "Version received from "; + } + leaf table-brib-version { + type uint32; + description + "Version sent to RIB/bRIB"; + } + leaf label-version { + type uint32; + description + "Version updated by label thread"; + } + leaf import-version { + type uint32; + description + "Version updated by import thread"; + } + leaf standby-version { + type uint32; + description + "Version updated by sync thread"; + } + leaf send-version { + type uint32; + description + "Version for sending updates to peers"; + } + leaf num-init-sync-pfx { + type uint32; + description + "Num of prefix synced during Initsync"; + } + leaf max-label-stack-depth-v4-next-hop { + type uint32; + description + "Max supported label stack depth for IPv4 Nexthop"; + } + leaf max-label-stack-depth-v6-next-hop { + type uint32; + description + "Max supported label stack depth for IPv6 Nexthop"; + } + leaf local-networks-num { + type uint32; + description + "Total local networks"; + } + leaf local-networks-memory { + type uint32; + description + "Total local networks memory"; + } + leaf local-networks-malloced-num { + type uint32; + description + "Total local networks malloced"; + } + leaf local-networks-freed-num { + type uint32; + description + "Total local networks freed"; + } + leaf local-paths-num { + type uint32; + description + "Total local paths"; + } + leaf local-paths-memory { + type uint32; + description + "Total local paths memory"; + } + leaf local-paths-malloced-num { + type uint32; + description + "Total local paths malloced"; + } + leaf local-paths-freed-num { + type uint32; + description + "Total local paths freed"; + } + leaf imported-paths-num { + type uint32; + description + "Total impoorted paths "; + } + leaf imported-paths-memory { + type uint32; + description + "Total imported paths memory"; + } + leaf networks-num { + type uint32; + description + "Total Num of networks"; + } + leaf networks-memory { + type uint32; + description + "Total networks memory"; + } + leaf networks-malloced-num { + type uint32; + description + "Total networks malloced"; + } + leaf networks-freed-num { + type uint32; + description + "Total networks freed"; + } + leaf paths-num { + type uint32; + description + "Total Num of paths"; + } + leaf paths-memory { + type uint32; + description + "Total paths memory"; + } + leaf paths-malloced-num { + type uint32; + description + "Total paths malloced"; + } + leaf paths-freed-num { + type uint32; + description + "Total paths freed"; + } + leaf path-elems-num { + type uint32; + description + "Total Num of path-elems"; + } + leaf path-elems-memory { + type uint32; + description + "Total path-elems memory"; + } + leaf path-elems-malloced-num { + type uint32; + description + "Total path-elems malloced"; + } + leaf path-elems-freed-num { + type uint32; + description + "Total path-elems freed"; + } + leaf label-last-trigger { + type uint64; + description + "Timestamp when Label thread is last triggered"; + } + leaf last-label-version { + type uint32; + description + "Label thread version when last triggered"; + } + leaf label-bgp-version { + type uint32; + description + "BGP version when label thread is last triggered"; + } + leaf label-triggers { + type uint32; + description + "Label thread triggers"; + } + leaf rib-last-trigger { + type uint64; + description + "Timestamp when RIB thread is last triggered"; + } + leaf last-rib-version { + type uint32; + description + "RIB thread version when last triggered"; + } + leaf rib-bgp-version { + type uint32; + description + "BGP version when RIB thread is last triggered"; + } + leaf rib-triggers { + type uint32; + description + "RIB thread triggers"; + } + leaf import-last-trigger { + type uint64; + description + "Timestamp when Import thread is last triggered"; + } + leaf last-import-version { + type uint32; + description + "Import thread version when last triggered"; + } + leaf import-bgp-version { + type uint32; + description + "BGP version when Import thread is last triggered"; + } + leaf import-triggers { + type uint32; + description + "Import thread triggers"; + } + leaf update-gen-last-trigger { + type uint64; + description + "Timestamp when Update generation thread is last + triggered"; + } + leaf update-gen-bgp-version { + type uint32; + description + "BGP version when Update generation thread is + last triggered"; + } + leaf update-triggers { + type uint32; + description + "Update thread triggers"; + } + leaf total-r-ds-num { + type uint32; + description + "Total Num of RDs"; + } + leaf total-remote-r-ds-num { + type uint32; + description + "Total Num of remote RDs"; + } + leaf total-same-r-ds-num { + type uint32; + description + "Total Num of same RDs"; + } + leaf malloced-rd-count { + type uint32; + description + "Activity: Number of RDs malloced"; + } + leaf freed-rd-count { + type uint32; + description + "Activity: Number of RDs freed"; + } + leaf rd-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used by RD data"; + } + leaf multipath-network-entry-count { + type uint32; + description + "Number of multipath network entries"; + } + leaf multipath-network-entry-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used bymultipath network + entries"; + } + leaf multipath-paths-count { + type uint32; + description + "Number of multipath paths"; + } + leaf multipath-paths-memory { + type uint32; + units "byte"; + description + "Memory (in bytes) used bymultimpath paths"; + } + leaf update-wait-install-enabled { + type uint32; + description + "Update wait-install enabled"; + } + leaf rib-acked-table-version { + type uint32; + description + "Table version acked by RIB"; + } + leaf rib-ack-requests { + type uint32; + description + "Counter for RIB ack requests"; + } + leaf rib-acks-received { + type uint32; + description + "Counter for RIB ack received"; + } + leaf rib-slow-acks { + type uint32; + description + "Counter for slow RIB acks"; + } + } + + grouping BGP-PROCESS-INFO-AF-BAG { + description + "BGP address family specific process information"; + container global { + description + "Global information"; + uses BGP-PROCESS-INFO-AF-GBL; + } + container vrf { + description + "VRF information"; + uses BGP-PROCESS-INFO-AF-VRF; + } + container performance-statistics { + description + "Performance statistics"; + uses BGP-PERF-PROCESS-AF; + } + leaf af-name { + type Bgp-afi; + description + "Address family id"; + } + leaf process-instance { + type uint8; + description + "ID for the BGP process instance"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + leaf vrf-totals { + type boolean; + description + "per VRF information aggregated across all VRFs"; + } + } + + grouping BGP-CONVERGENCE-BAG { + description + "BGP Convergence"; + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf has-converged { + type boolean; + description + "Convergence has been reached"; + } + leaf are-write-queues-empty { + type boolean; + description + "All neighbor write queues are empty"; + } + } + + grouping BGP-ATTR-RNH-ADDR { + description + "BGP ATTR RNH ADDR"; + leaf len { + type Bgp-rnh-addr-len; + description + "len"; + } + leaf ipv4-address { + when "../len = 'v4'" { + description + "../len = 'v4'"; + } + type inet:ipv4-address; + description + "IPv4 Addr"; + } + leaf ipv6-address { + when "../len = 'v6'" { + description + "../len = 'v6'"; + } + type Ipv6-address; + description + "IPv6 Addr"; + } + leaf mac-address { + when "../len = 'mac'" { + description + "../len = 'Mac'"; + } + type Mac-address; + description + "MAC Addr"; + } + } + + grouping BGP-BAG-LARGECOMM { + description + "Large Community"; + leaf global-admin { + type uint32; + description + "Global Administrator"; + } + leaf local-data1 { + type uint32; + description + "Local Data 1"; + } + leaf local-data2 { + type uint32; + description + "Local Data 2"; + } + } + + grouping SR-SID { + description + "Segement id value"; + leaf type { + type Sr-sid; + description + "Type"; + } + leaf label { + when "../type = 'label'" { + description + "../Type = 'Label'"; + } + type uint32; + description + "MPLS Label value"; + } + leaf ipv4-address { + when "../type = 'ipv4'" { + description + "../Type = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Address value"; + } + leaf ipv6-address { + when "../type = 'ipv6'" { + description + "../Type = 'IPv6'"; + } + type Ipv6-address; + description + "IPv6 address value"; + } + } + + grouping SR-EXPPATH { + description + "SR Policy Explicit Path"; + leaf weight { + type uint8; + description + "Weight of segment list"; + } + list segment { + description + "Segments in segment list"; + uses SR-SID; + } + } + + grouping BGP-BINDING-SID { + description + "BGP BINDING SID"; + leaf type { + type Bgp-binding-sid; + description + "Type"; + } + leaf label { + when "../type = 'label'" { + description + "../Type = 'label'"; + } + type uint32; + description + "MPLS Label"; + } + leaf ipv6-address { + when "../type = 'v6'" { + description + "../Type = 'v6'"; + } + type Ipv6-address; + description + "IPv6 Addr"; + } + } + + grouping BGP-SRPOLICY-ENTRY { + description + "SR policy Entry"; + container binding-sid { + description + "SR Policy incoming Binding sid"; + uses BGP-BINDING-SID; + } + container allocated-binding-sid { + description + "SR Policy allocated Binding sid by the router"; + uses BGP-BINDING-SID; + } + leaf tunnel-encap-type { + type uint16; + description + "Tunnel Encapsulation Type"; + } + leaf preference { + type uint32; + description + "SR Policy Preference"; + } + leaf state { + type boolean; + description + "SR Policy active state in forwarding"; + } + leaf request-state { + type Bgp-srpolicy-req-state; + description + "SR Policy programming Status"; + } + list segment-list { + description + "SR Policy Segment Lists"; + uses SR-EXPPATH; + } + } + + grouping BGP-TUNENCAP-ENTRY { + description + "Tunnel Encap attribute entry"; + container sr-policy { + description + "Tunnel encap type SR policy"; + uses BGP-SRPOLICY-ENTRY; + } + } + + grouping BGP-PEDISTLBL-ENTRY { + description + "PE distinguisher Label entry"; + leaf pe-address { + type inet:ipv4-address; + description + " PE address"; + } + leaf label { + type uint32; + description + "Label"; + } + } + + grouping BGP-COMMON-ATTR-ENTRY { + description + "Common Set of attribute entry"; + container tunnel-encap { + description + "Tunnel Encapsulation attribute"; + uses BGP-TUNENCAP-ENTRY; + } + leaf is-metric-present { + type boolean; + description + "Metric attribute present"; + } + leaf is-local-pref-present { + type boolean; + description + "Local Preference attribute present"; + } + leaf is-atomic-aggregate-present { + type boolean; + description + "Atomic aggregate attribute present"; + } + leaf is-aggregator-present { + type boolean; + description + "Aggregator attribute present"; + } + leaf is-origin-present { + type boolean; + description + "Origin attribute present"; + } + leaf is-as-path-present { + type boolean; + description + "AS path attribute present"; + } + leaf is-community-present { + type boolean; + description + "Community attribute present"; + } + leaf is-extended-community-present { + type boolean; + description + "Extended community attribute present"; + } + leaf is-ssa-present { + type boolean; + description + "SSA attribute present"; + } + leaf is-connector-present { + type boolean; + description + "Connector present"; + } + leaf is-pmsi-present { + type boolean; + description + "PMSI Attribute present"; + } + leaf is-pppmp-present { + type boolean; + description + "PPMP Attribute present"; + } + leaf is-aigp-present { + type boolean; + description + "AIGP Present"; + } + leaf is-pe-distinguisher-label-present { + type boolean; + description + "PE distinguisher label attribute present"; + } + leaf is-ls-attribute-present { + type boolean; + description + "BGP LS attribute present"; + } + leaf is-label-index-present { + type boolean; + description + "Label Index attribute present"; + } + leaf neighbor-as { + type uint32; + description + "Neighbor AS number"; + } + leaf aggregator-as { + type uint32; + description + "AS where aggregation was last performed"; + } + leaf aggregator-address { + type inet:ipv4-address; + description + "Address where aggregation was performed"; + } + leaf metric { + type uint32; + description + "Metric"; + } + leaf local-preference { + type uint32; + description + "Local preference"; + } + leaf origin { + type uint16; + description + "Origin"; + } + leaf as-path { + type string; + description + "AS path attribute"; + } + leaf extended-community-flags { + type uint8; + description + "Extended community Flags"; + } + leaf originator { + type inet:ipv4-address; + description + "Originator attribute"; + } + leaf l2tpv3-session-id { + type uint32; + description + "L2TPv3 session id"; + } + leaf connector-type { + type uint16; + description + "Connector Type"; + } + leaf aigp-metric-value { + type uint64; + description + "AIGP metric value"; + } + leaf pmsi-type { + type uint16; + description + "PMSI Type"; + } + leaf pmsi-flags { + type uint8; + description + "PMSI Value"; + } + leaf pmsi-label { + type uint32; + description + "PMSI label"; + } + leaf ppm-pvalue { + type uint32; + description + "PPMP Value"; + } + leaf is-large-community-present { + type boolean; + description + "Large Community attribute present"; + } + list community { + description + "Community attribute"; + leaf entry { + type uint32; + } + } + list extended-community { + description + "Extended community attribute"; + leaf entry { + type uint8; + } + } + list unknown-attribute { + description + "Unknown attributes"; + leaf entry { + type uint8; + } + } + list cluster { + description + "Cluster list attribute"; + leaf entry { + type uint32; + } + } + list l2tpv3-cookie { + description + "L2TPv3 Cookie"; + leaf entry { + type uint8; + } + } + list connector-value { + description + "Connector Value"; + leaf entry { + type uint8; + } + } + list pmsi-value { + description + "PMSI Value"; + leaf entry { + type uint8; + } + } + list ls-attr { + description + "BGP LS attribute"; + leaf entry { + type uint8; + } + } + list label-index-attr { + description + "Label Index attribute"; + leaf entry { + type uint8; + } + } + list pe-distinguisher-label { + description + "PE distinguisher label attribute"; + uses BGP-PEDISTLBL-ENTRY; + } + list large-community { + description + "Large Community attribute"; + uses BGP-BAG-LARGECOMM; + } + } + + grouping BGP-ATTR { + description + "BGP Attributes"; + container common-attributes { + description + "Common attributes"; + uses BGP-COMMON-ATTR-ENTRY; + } + container attr-set { + description + "ATTR_SET attribute"; + uses BGP-COMMON-ATTR-ENTRY; + } + container rnh-addr { + description + "RNH Address"; + uses BGP-ATTR-RNH-ADDR; + } + container ribrnh-ip { + description + "RIB RNH IP Address"; + uses BGP-ADDRTYPE; + } + leaf is-as-path2-byte { + type boolean; + description + "AS path encoded as 2-byte"; + } + leaf is-application-gateway-present { + type boolean; + description + "Application gateway present"; + } + leaf is-attr-set-present { + type boolean; + description + "BGP ATTR_SET attribute present"; + } + leaf set-aigp-inbound-igp { + type boolean; + description + "AIGP set by policy inbound IGP "; + } + leaf set-aigp-inbound-metric { + type boolean; + description + "AIGP set by policy inbound metric"; + } + leaf is-rnh-present { + type boolean; + description + "RNH Attribute present"; + } + leaf is-ribrnh-present { + type boolean; + description + "RIB RNH Attribute present"; + } + leaf attribute-key-number { + type uint32; + description + "Attribute key number"; + } + leaf attribute-reuse-id-config { + type boolean; + description + "Attribute reuse ID Configured"; + } + leaf attribute-reuse-id-max-id { + type uint32; + description + "Attribute reuse ID maximum ID"; + } + leaf attribute-reuse-id-node { + type uint32; + description + "Attribute reuse ID nodes"; + } + leaf attribute-reuse-id-current { + type uint32; + description + "Attribute reuse ID current ID"; + } + leaf attribute-reuse-id-keys { + type uint32; + description + "Attribute reuse ID allocated keys"; + } + leaf attribute-reuse-id-recover-sec { + type uint32; + units "second"; + description + "Attribute reuse ID timer in seconds"; + } + leaf vpn-distinguisher { + type uint32; + description + "VPN Distinguisher"; + } + leaf rnh-type { + type uint16; + description + "RNH Type"; + } + leaf rnh-len { + type uint8; + description + "RNH Length"; + } + leaf rnh-addr-len { + type uint32; + description + "RNH Address Length"; + } + leaf ribrnh-table { + type uint32; + description + "RIB RNH Table"; + } + leaf ribrnh-mac { + type Mac-address; + description + "RIB RNH MAC Address"; + } + leaf ribrnhip-table { + type uint32; + description + "RIB RNH IP Table"; + } + leaf ribrnh-vni { + type uint32; + description + "RIB RNH Vni"; + } + leaf ribrnh-encap { + type uint8; + description + "RIB RNH Encapsulation Type"; + } + } + + grouping BGP-ADVINFO-TYPE { + description + "Peers being advertised to"; + container neighbor-address { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + leaf is-neighbor { + type boolean; + description + "Entry is a neighbor (not an update group)"; + } + leaf update-group-number { + type uint32; + description + "Update group index"; + } + } + + grouping BGP-V4-V6 { + description + "BGP V4 V6"; + leaf len { + type Bgp-v4-v6-len; + description + "len"; + } + leaf ipv4-address { + when "../len = 'gwipv4'" { + description + "../len = 'gwipv4'"; + } + type inet:ipv4-address; + description + "IPv4 Addr"; + } + leaf ipv6-address { + when "../len = 'gwipv6'" { + description + "../len = 'gwipv6'"; + } + type Ipv6-address; + description + "IPv6 Addr"; + } + } + + grouping BGP-TE-TUNNEL { + description + "BGP TE TUNNEL"; + leaf tunnel-type { + type Bgp-tunnel; + description + "Nexthop Tunnel Type"; + } + leaf tunnel-name { + type string; + description + "Tunnel name attribute"; + } + leaf is-tunnel-up { + type boolean; + description + "Tunnel Up flag"; + } + leaf is-tunnel-info-stale { + type boolean; + description + "Tunnel is stale"; + } + leaf is-tunnel-registered { + type boolean; + description + "Tunnel registered flag"; + } + leaf tunnel-v6-required { + type boolean; + description + "Tunnel need IPv6"; + } + leaf tunnel-v6-enabled { + type boolean; + description + "IPv6 enabled"; + } + leaf binding-label { + type uint32; + description + "Binding label for the tunnel"; + } + leaf tunnel-if-handle { + type uint32; + description + "Interface handle for the tunnel"; + } + leaf last-tunnel-update { + type uint32; + description + "Time since the last tunnel update happened"; + } + } + + grouping BGP-PREFIXTYPE { + description + "BGP PREFIXTYPE"; + container prefix { + description + "Prefix"; + uses BGP-ADDRTYPE; + } + leaf prefix-length { + type uint16; + description + "Prefix length"; + } + } + + grouping BGP-PATH { + description + "BGP Path"; + container bgp-prefix { + description + "BGP prefix"; + uses BGP-PREFIXTYPE; + } + container neighbor-address { + description + "Neighbor address"; + uses BGP-ADDRTYPE; + } + container next-hop { + description + "Next hop"; + uses BGP-ADDRTYPE; + } + container nh-tunnel { + description + "NH tunnel information"; + uses BGP-TE-TUNNEL; + } + container mdt-group-addr { + description + "IPv4 MDT Group Address for the path"; + uses BGP-ADDRTYPE; + } + container gw-addr { + description + "Path GW Address"; + uses BGP-V4-V6; + } + container nh-addr { + description + "Path next-hop Address"; + uses BGP-V4-V6; + } + container best-path-comp-winner { + description + "Neighbor address of the path which won best path + comparison"; + uses BGP-ADDRTYPE; + } + container mvpn-nbr-addr { + description + "Mvpn nbr Address for the path"; + uses BGP-ADDRTYPE; + } + container mvpn-nexthop-addr { + description + "Mvpn nexthop Address for the path"; + uses BGP-ADDRTYPE; + } + container vpn-nexthop-addr { + description + "Vpn nexthop Address for the path"; + uses BGP-ADDRTYPE; + } + leaf route-type { + type Bgp-route1; + description + "Route Type of path"; + } + leaf is-path-valid { + type boolean; + description + "Path attributes are usable"; + } + leaf is-path-damped { + type boolean; + description + "Path suppressed due to dampening"; + } + leaf is-path-history-held { + type boolean; + description + "Path entry held to remember history"; + } + leaf is-internal-path { + type boolean; + description + "Received over an internal link"; + } + leaf is-best-path { + type boolean; + description + "Best available path"; + } + leaf is-as-best { + type boolean; + description + "Best available path within AS"; + } + leaf is-spkr-as-best { + type boolean; + description + "Best available path within AS in speaker"; + } + leaf is-partial-best { + type boolean; + description + "Partial best path within distributed speaker"; + } + leaf is-aggregation-suppressed { + type boolean; + description + "Path suppressed due to aggregation"; + } + leaf is-import-dampened { + type boolean; + description + "net import dampened"; + } + leaf is-import-suspect { + type boolean; + description + "net import suspect"; + } + leaf is-path-not-advertised { + type boolean; + description + "Not advertised to any peer"; + } + leaf is-path-not-advertised-to-ebgp { + type boolean; + description + "Not advertised to EBGPs"; + } + leaf is-path-advertised-local-as-only { + type boolean; + description + "Not advertised outside local AS"; + } + leaf is-path-from-route-reflector { + type boolean; + description + "Path received from route reflector"; + } + leaf is-path-received-only { + type boolean; + description + "Path is received only"; + } + leaf is-received-path-not-modified { + type boolean; + description + "Received path used without modification"; + } + leaf is-path-locally-sourced { + type boolean; + description + "Path sourced locally"; + } + leaf is-path-local-aggregate { + type boolean; + description + "Path is a locally created aggregate"; + } + leaf is-path-from-network-command { + type boolean; + description + "Path sourced by network command"; + } + leaf is-path-from-redistribute-command { + type boolean; + description + "Path sourced by redistribute command"; + } + leaf is-path-imported { + type boolean; + description + "Path is imported"; + } + leaf is-path-reoriginated { + type boolean; + description + "Path is reoriginated"; + } + leaf is-path-reoriginated-stitching { + type boolean; + description + "Path is reoriginated with stitching RTs"; + } + leaf is-path-vpn-only { + type boolean; + description + "Path is not in the vrf"; + } + leaf is-path-from-confederation-peer { + type boolean; + description + "Path received from confederation peer"; + } + leaf is-path-synced-with-igp { + type boolean; + description + "Path synchronized with IGP"; + } + leaf is-path-multipath { + type boolean; + description + "Path is one of multipath best routes"; + } + leaf is-path-imp-candidate { + type boolean; + description + "Path is a candidate for multipath import"; + } + leaf is-path-stale { + type boolean; + description + "Stale routes learnt before neighbor restarts"; + } + leaf is-path-long-lived-stale { + type boolean; + description + "Long lived stale routes learnt before neighbor + restarts"; + } + leaf is-path-backup { + type boolean; + description + "Path is a backup path "; + } + leaf is-path-backup-protect-multipath { + type boolean; + description + "Path is a backup path to protect multipaths"; + } + leaf is-path-best-external { + type boolean; + description + "Path is a best external path"; + } + leaf is-path-additional-path { + type boolean; + description + "Path is an additional-path"; + } + leaf is-path-nexthop-discarded { + type boolean; + description + "Path is redirected to Null0"; + } + leaf has-local-net-label { + type boolean; + description + "Path has local label"; + } + leaf local-label { + type uint32; + description + "Path local label"; + } + leaf igp-metric { + type uint32; + description + "IGP metric to the gateway"; + } + leaf path-weight { + type uint16; + description + "Weight for the path"; + } + leaf neighbor-router-id { + type inet:ipv4-address; + description + "Router ID of the neighbor for the path"; + } + leaf has-mdt-group-addr { + type boolean; + description + "Path has MDT Group Address"; + } + leaf l2vpn-size { + type uint32; + description + "Path block size"; + } + leaf l2vpn-evpn-esi { + type string; + description + "L2VPN EVPN ESI"; + } + leaf has-gw-addr { + type boolean; + description + "Path has GW Address"; + } + leaf has-nh-addr { + type boolean; + description + "Path has next-hop Address"; + } + leaf has-second-label { + type boolean; + description + "Path has second received label"; + } + leaf second-label { + type uint32; + description + "Path second received label"; + } + leaf path-flap-count { + type uint32; + description + "Number of times this route has flapped"; + } + leaf seconds-since-first-flap { + type uint32; + units "second"; + description + "Seconds since route first flapped"; + } + leaf time-to-unsuppress { + type uint32; + units "second"; + description + "Seconds until route is unsuppressed"; + } + leaf dampen-penalty { + type uint32; + description + "Dampening penalty"; + } + leaf halflife-time { + type uint32; + description + "Half-life time for the penalty"; + } + leaf suppress-penalty { + type uint32; + description + "Value to start suppressing a route"; + } + leaf reuse-value { + type uint32; + description + "Value to start reusing a route"; + } + leaf maximum-suppress-time { + type uint32; + description + "Maximum duration to suppress a stable route"; + } + leaf best-path-comp-stage { + type Bgp-bp-stage; + description + "Stage where the path lost to the best path or + group best"; + } + leaf best-path-id-comp-winner { + type uint32; + description + "Path ID of the path which won best path + comparison"; + } + leaf path-flags { + type uint64; + description + "Flags associated with path"; + } + leaf path-import-flags { + type uint32; + description + "Path import flags"; + } + leaf best-path-id { + type uint32; + description + "Best path ID; DEPRECATED BYLocalPathId"; + } + leaf local-path-id { + type uint32; + description + "Local path ID"; + } + leaf rcvd-path-id { + type uint32; + description + "Received path ID"; + } + leaf path-table-version { + type uint32; + description + "Table version # for pelem"; + } + leaf advertisedto-pe { + type boolean; + description + "Net could be advertised + to PE peers"; + } + leaf rib-failed { + type boolean; + description + "Is net failed installed + in RIB"; + } + leaf sn-rpki-origin-as-validity { + type uint8; + description + "RPKI origin validation state"; + } + leaf show-rpki-origin-as-validity { + type boolean; + description + "Display validity state ?"; + } + leaf ibgp-signaled-validity { + type boolean; + description + "IBGP signalled validation"; + } + leaf rpki-origin-as-validation-disabled { + type boolean; + description + "RPKI originAS V. Disabled"; + } + leaf accept-own-path { + type boolean; + description + "Accept Own"; + } + leaf accept-own-self-originated-path { + type boolean; + description + "Accept-Own self-originated"; + } + leaf aigp-metric { + type uint64; + description + "Total AIGP metric"; + } + leaf mvpn-sfs-path { + type boolean; + description + "Is MVPN single forwarder PE path"; + } + leaf fspec-invalid-path { + type boolean; + description + "Is Fspec invalid path"; + } + leaf has-mvpn-nbr-addr { + type boolean; + description + "Path has Mvpn nbr Address"; + } + leaf has-mvpn-nexthop-addr { + type boolean; + description + "Path has MVPN nexthop Address"; + } + leaf has-mvpn-pmsi { + type boolean; + description + "Path has MVPN PMSI feedback"; + } + leaf mvpn-pmsi-type { + type uint16; + description + "Mvpn PMSI Type"; + } + leaf mvpn-pmsi-flags { + type uint8; + description + "Mvpn PMSI Value"; + } + leaf mvpn-pmsi-label { + type uint32; + description + "Mvpn PMSI label"; + } + leaf has-mvpn-extcomm { + type boolean; + description + "Path has MVPN EXTCOMM feedback"; + } + leaf mvpn-path-flags { + type uint16; + description + "Mvpn path flags"; + } + leaf local-nh { + type boolean; + description + "Path has local nexthop"; + } + leaf rt-set-limit-enabled { + type boolean; + description + "Path subject to RT-set net limit"; + } + leaf path-rt-set-id { + type uint32; + description + "RT-set id of the path"; + } + leaf path-rt-set-route-count { + type uint32; + description + "Count in RT-set"; + } + leaf is-path-af-install-eligible { + type boolean; + description + "Path can be installed in AF RIB"; + } + leaf is-permanent-path { + type boolean; + description + "Path is of type Permanent path"; + } + leaf graceful-shutdown { + type boolean; + description + "Marked for graceful shutdown"; + } + leaf labeled-unicast-safi-path { + type boolean; + description + "Path was learnt by labeled-unicast SAFI"; + } + leaf vpn-path-flags { + type uint8; + description + "Vpn path flags"; + } + leaf has-vpn-nexthop-addr { + type boolean; + description + "Path has VPN nexthop Address"; + } + leaf is-orig-src-rd-present { + type boolean; + description + "Original Source RD present"; + } + leaf af-name { + type Bgp-afi; + description + "Original Source Address family identifier"; + } + leaf route-distinguisher { + type xr:Route-dist; + description + "Original Source Route Distinguisher"; + } + leaf mac-ip-present { + type boolean; + description + "Mac IP Present present"; + } + leaf mac-ip { + type yang:mac-address; + description + "Mac associated with IP"; + } + list rcvd-label { + description + "Path received label stack"; + leaf entry { + type uint32; + } + } + list l2vpn-circuit-status-value { + description + "L2VPN Circuit Status Value"; + leaf entry { + type uint8; + } + } + list mvpn-pmsi-value { + description + "Mvpn PMSI Value"; + leaf entry { + type uint8; + } + } + list extended-community { + description + "Mvpn Extended community attribute"; + leaf entry { + type uint8; + } + } + list local-peers-advertised-to { + description + "Local peers that this prefix has been advertised + to"; + uses BGP-ADVINFO-TYPE; + } + list pe-peers-advertised-to { + description + "PE peers that this prefix has been advertised to"; + uses BGP-ADVINFO-TYPE; + } + list best-path-orr-bitfield { + description + "ORR Best path Bitfields"; + uses BGP-ADVINFO-TYPE; + } + list add-path-orr-bitfield { + description + "ORR Add path Bitfields"; + uses BGP-ADVINFO-TYPE; + } + } + + grouping BGP-PATH-ADV-BAG { + description + "BGP path with advertised attributes information"; + container neighbor-address-xr { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + container path-info-after-policy-in { + description + "Path information after inbound policy"; + uses BGP-PATH; + } + container path-info-after-policy-out { + description + "Path information after outbound policy"; + uses BGP-PATH; + } + container attributes-after-policy-in { + description + "Attributes after inbound policy"; + uses BGP-ATTR; + } + container attributes-after-policy-out { + description + "Attributes after outbound policy"; + uses BGP-ATTR; + } + leaf no-path { + type boolean; + description + "No path exists All 'sp_path_in' fields except + 'sp_path_in->bag_prefix' are invalid. All + 'sp_path_out' fields are invalid."; + } + leaf af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf route-distinguisher { + type xr:Route-dist; + description + "Route Distinguisher"; + } + leaf source-route-distinguisher { + type xr:Route-dist; + description + "Source Route Distinguisher"; + } + leaf vrf-name { + type string; + description + "Name of the VRF"; + } + } + + grouping BGP-UPDERR-VRF-BAG { + description + "BGP Update error-handling VRF information"; + container last-update-malformed-timestamp { + description + "Last malformed messages received time: time + elapsed since 00:00:00 UTC, January 1, 1970"; + uses BGP-TIMESPEC; + } + leaf update-vrf-name { + type string; + description + "VRF Name"; + } + leaf update-malformed-message-count { + type uint32; + description + "Malformed messages count"; + } + leaf update-malformed-neighbor-count { + type uint32; + description + "Count of neighbors that received malformed + messages"; + } + leaf last-update-malformed-age { + type uint32; + units "second"; + description + "Time since last malformed messages received + event (in seconds)"; + } + } + + grouping BGP-EDM-RPKI-REFRESH-ENTRY { + description + "BGP EDM RPKI REFRESH ENTRY"; + leaf af-name { + type Bgp-rpki-af; + description + "Address Family"; + } + leaf neighbor { + type string; + description + "BGP neighbor"; + } + leaf policy { + type string; + description + "Route Policy"; + } + leaf paths { + type uint32; + description + "Number of BGP paths modified or dropped"; + } + leaf drop { + type boolean; + description + "BGP paths were dropped"; + } + } + + grouping BGP-RPKI-REFRESH-LIST-BAG { + description + "BGP RPKI REFRESH LIST BAG"; + list refresh-entry { + description + "Array of refresh entries"; + uses BGP-EDM-RPKI-REFRESH-ENTRY; + } + } + + grouping BGP-TIMESPEC { + description + "BGP TIMESPEC"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds part of time value"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds part of time value"; + } + } + + grouping BGP-UPDGEN-STATS-BAG { + description + "BGP Update generation common statistics + information"; + container last-update-discard-timestamp { + description + "Last Discarded time"; + uses BGP-TIMESPEC; + } + container last-update-cleared-timestamp { + description + "Last Cleared time"; + uses BGP-TIMESPEC; + } + container last-update-throttle-timestamp { + description + "Last Throttled time"; + uses BGP-TIMESPEC; + } + container last-update-recovery-timestamp { + description + "Last Recovery time"; + uses BGP-TIMESPEC; + } + container last-update-memory-allocation-fail-timestamp { + description + "Memory allocation failure time"; + uses BGP-TIMESPEC; + } + leaf update-out-queue-messages-high { + type uint32; + description + "OutQueue High Messages"; + } + leaf update-out-queue-messages-cumulative { + type uint32; + description + "OutQueue Cumulative Messages"; + } + leaf update-out-queue-messages-discarded { + type uint32; + description + "OutQueue Discarded Messages"; + } + leaf update-out-queue-messages-cleared { + type uint32; + description + "OutQueue Cleared Messages"; + } + leaf update-out-queue-size-high { + type uint32; + description + "OutQueue Hi Size"; + } + leaf update-out-queue-size-cumulative { + type uint64; + description + "OutQueue Cumulative Size"; + } + leaf update-out-queue-size-discarded { + type uint64; + description + "OutQueue Discarded Size"; + } + leaf update-out-queue-size-cleared { + type uint64; + description + "OutQueue Cleared Size"; + } + leaf last-update-discard-age { + type uint32; + units "second"; + description + "Time since last Discard event (in seconds)"; + } + leaf last-update-cleard-age { + type uint32; + units "second"; + description + "Time since last Clear event (in seconds)"; + } + leaf update-throttle-count { + type uint32; + description + "Throttle Count"; + } + leaf last-update-throttle-age { + type uint32; + units "second"; + description + "Time since last Throttle event (in seconds)"; + } + leaf update-recovery-count { + type uint32; + description + "Recovery Count"; + } + leaf last-update-recovery-age { + type uint32; + units "second"; + description + "Time since last Recovery event (in seconds)"; + } + leaf update-memory-allocation-fail-count { + type uint32; + description + "Memory allocation failure count"; + } + leaf last-update-memory-allocation-fail-age { + type uint32; + units "second"; + description + "Time since last memory allocation failure event + (in seconds)"; + } + } + + grouping BGP-UPDGEN-AF-SUMMARY-BAG { + description + "BGP Update generation address-family summary + information"; + leaf update-group-af-name { + type Bgp-afi; + description + "Address family identifier"; + } + leaf current-update-limit-af { + type uint32; + description + "Current AF update limit"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue messages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue size"; + } + leaf update-throttled { + type boolean; + description + "Is update throttled"; + } + leaf update-update-group-count { + type uint32; + description + "Update-group count"; + } + leaf update-sub-group-count { + type uint32; + description + "Sub-group count"; + } + leaf sub-group-throttled-count { + type uint32; + description + "Throttled sub-group count"; + } + leaf refresh-sub-group-count { + type uint32; + description + "Refresh sub-group count"; + } + leaf refresh-sub-group-throttled-count { + type uint32; + description + "Throttled refresh sub-group count"; + } + leaf filter-group-count { + type uint32; + description + "Filter-group count"; + } + leaf neighbor-count { + type uint32; + description + "Neighbor count"; + } + } + + grouping BGP-UPDGEN-PROC-BAG { + description + "BGP Update generation Process information"; + container update-statistics { + description + "Update statistics"; + uses BGP-UPDGEN-STATS-BAG; + } + leaf update-out-logging { + type boolean; + description + "Enable syslog messages for update generation + events"; + } + leaf current-update-limit-process { + type uint32; + description + "Current Process update limit"; + } + leaf configured-update-limit-process { + type uint32; + description + "Configured Process update limit"; + } + leaf update-out-queue-messages { + type uint32; + description + "OutQueue messages"; + } + leaf update-out-queue-size { + type uint32; + description + "OutQueue size"; + } + leaf update-throttled { + type boolean; + description + "Is update throttled"; + } + list update-address-family { + description + "List of address-families"; + uses BGP-UPDGEN-AF-SUMMARY-BAG; + } + } + + grouping BGP-CONFIG-RELATIVES-BAG { + description + "BGP config ancestors/children information"; + container neighbor-address-xr { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + container af-independent-relatives { + description + "AF-independent relatives"; + uses BGP-CONFIG-ENTID; + } + leaf group-name { + type string; + description + "Entity/group name"; + } + leaf configuration-type { + type Bgp-entities; + description + "Entity type"; + } + leaf address-family-identifier { + type uint8; + description + "AF identifier"; + } + list af-dependent-relative { + max-elements "25"; + description + "AF-dependent relatives"; + uses BGP-CONFIG-ENTID; + } + } + + grouping BGP-AF-DEP { + description + "BGP AF-dependent configuration information"; + container orr-root-address { + description + "ORR Root Address"; + uses BGP-ADDRTYPE; + } + container orf-capability-info { + description + "ORF capability item info"; + uses BGP-CONFIG-INFO; + } + container default-originate-info { + description + "Default-originate item info"; + uses BGP-CONFIG-INFO; + } + container max-prefixes-info { + description + "Maximum prefixes to accept item info"; + uses BGP-CONFIG-INFO; + } + container orr-info { + description + "Orr item info"; + uses BGP-CONFIG-INFO; + } + container next-hop-self-info { + description + "Next hop self item info"; + uses BGP-CONFIG-INFO; + } + container next-hop-unchanged-info { + description + "Next hop unchanged info"; + uses BGP-CONFIG-INFO; + } + container route-policy-in-info { + description + "Inbound route policy item info"; + uses BGP-CONFIG-INFO; + } + container route-policy-out-info { + description + "Outbound route policy item info"; + uses BGP-CONFIG-INFO; + } + container prefix-filter-info { + description + "Inbound prefix based filter item info"; + uses BGP-CONFIG-INFO; + } + container remove-private-as-info { + description + "Outbound private-AS removal item info"; + uses BGP-CONFIG-INFO; + } + container remove-private-as-in-info { + description + "Inbound private-AS removal item info"; + uses BGP-CONFIG-INFO; + } + container route-reflector-info { + description + "Route-reflector client item info"; + uses BGP-CONFIG-INFO; + } + container legacy-pe-rt-info { + description + "Accept-legacy-pe-RT item info"; + uses BGP-CONFIG-INFO; + } + container af-enabled-info { + description + "Address family activate item info"; + uses BGP-CONFIG-INFO; + } + container send-community-info { + description + "Send community attribute item info"; + uses BGP-CONFIG-INFO; + } + container send-graceful-shutdown-community-info { + description + "Send Graceful shutdown related community + attribute item info"; + uses BGP-CONFIG-INFO; + } + container send-extended-community-info { + description + "Send extended community item info"; + uses BGP-CONFIG-INFO; + } + container soft-reconfig-info { + description + "Soft reconf item info"; + uses BGP-CONFIG-INFO; + } + container so-o-info { + description + "BGP Site-of-Origin info"; + uses BGP-CONFIG-INFO; + } + container weight-info { + description + "Default weight item info"; + uses BGP-CONFIG-INFO; + } + container allowas-in-info { + description + "Allowas-in item info"; + uses BGP-CONFIG-INFO; + } + container af-long-lived-graceful-start-stale-time-info { + description + "Long-lived-time item info"; + uses BGP-CONFIG-INFO; + } + container af-long-lived-graceful-start-capable-info { + description + "Long-lived-time item info"; + uses BGP-CONFIG-INFO; + } + container as-override-info { + description + "As-override info "; + uses BGP-CONFIG-INFO; + } + container aigp-info { + description + "AIGP info "; + uses BGP-CONFIG-INFO; + } + container aigp-cost-community-info { + description + "AIGP Cost Community info "; + uses BGP-CONFIG-INFO; + } + container aigp-med { + description + "AIGP MED info "; + uses BGP-CONFIG-INFO; + } + container accept-own-info { + description + "Accept-Own info"; + uses BGP-CONFIG-INFO; + } + container multipath-info { + description + "Multipath info"; + uses BGP-CONFIG-INFO; + } + container fspec-valid-info { + description + "FSPEC Valid info"; + uses BGP-CONFIG-INFO; + } + container next-hop-unchanged-mpath-info { + description + "Next hop unchanged mpath info"; + uses BGP-CONFIG-INFO; + } + container permanent-network-info { + description + "Permanent network Info "; + uses BGP-CONFIG-INFO; + } + container send-mcast-attr-info { + description + "Send mcast attr info"; + uses BGP-CONFIG-INFO; + } + container advertise-v4-afi-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-v6-afi-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-l2vpn-evpn-afi-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-dis-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-def-vrf-imp-disable-afi-v4-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-def-vrf-imp-disable-afi-v6-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-vrf-re-imp-disable-afi-v4-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-vrf-re-imp-disable-afi-v6-info { + description + "Advertise Afi Info "; + uses BGP-CONFIG-INFO; + } + container af-encapsulation-type-info { + description + "Encapsulation type Info "; + uses BGP-CONFIG-INFO; + } + container import-afi-info { + description + "Import Afi Info "; + uses BGP-CONFIG-INFO; + } + container advertise-local-labeled-route-info { + description + "Advertise routes with local-label"; + uses BGP-CONFIG-INFO; + } + container enforce-multiple-labels-info { + description + "Enforce multiple labels"; + uses BGP-CONFIG-INFO; + } + leaf has-orf-capability { + type uint32; + description + "ORF capability"; + } + leaf is-default-originate-not-disabled { + type boolean; + description + "TRUE if default-originate is not disabled"; + } + leaf default-originate-route-policy { + type string; + description + "Default-originate route policy name"; + } + leaf max-prefixes { + type uint32; + description + "Maximum prefixes to accept"; + } + leaf max-prefix-warn-threshold { + type uint32; + description + "Warning message threshhold"; + } + leaf is-max-prefix-warn-only { + type boolean; + description + "Warning messages only"; + } + leaf max-prefix-restart-time { + type uint32; + description + "Restart time Value"; + } + leaf is-max-prefix-discard-extra-paths { + type boolean; + description + "Discard extra paths"; + } + leaf is-next-hop-self-disabled { + type boolean; + description + "Disable next-hop calc"; + } + leaf is-next-hop-unchanged { + type boolean; + description + "Don't change next-hop"; + } + leaf permanent-network { + type boolean; + description + "Permanent Network"; + } + leaf route-policy-in { + type string; + description + "Inbound route policy name"; + } + leaf route-policy-out { + type string; + description + "Outbound route policy name"; + } + leaf prefix-orf-filter { + type string; + description + "Inbound prefix based filter"; + } + leaf remove-private-as-out { + type boolean; + description + "Outbound private-AS removal"; + } + leaf entire-aspath-out { + type boolean; + description + "Outbound private-AS removalif the entire AS Path + hasprivate ASes"; + } + leaf remove-private-asin { + type boolean; + description + "Inbound private-AS removal"; + } + leaf entire-aspath-in { + type boolean; + description + "Inbound private-AS removal if the entire AS Path + has private ASes"; + } + leaf client-route-reflector { + type boolean; + description + "Route-reflector client"; + } + leaf accept-route-legacy-pe-rt { + type boolean; + description + "accept-legacy-pe RT route"; + } + leaf is-af-enabled { + type boolean; + description + "Entity is activated for this address family"; + } + leaf send-community-attribute { + type boolean; + description + "Send community attribute"; + } + leaf send-graceful-shut-community-attributes { + type boolean; + description + "Send Graceful shutdown related community + attributes"; + } + leaf send-extended-community-attribute { + type boolean; + description + "Send extended community attribute"; + } + leaf soft-reconfig-not-disabled { + type boolean; + description + "TRUE if soft reconf is not disabled"; + } + leaf alway-use-soft-reconfig { + type boolean; + description + "Always use soft reconfig"; + } + leaf site-of-origin { + type string; + description + "Site of Origin"; + } + leaf default-weight { + type uint32; + description + "Default weight"; + } + leaf default-allowas { + type uint32; + description + "Default allowas_in count"; + } + leaf af-long-lived-graceful-restart-stale-time-send { + type uint32; + description + "Stale time to be sent in long-lived + graceful-restart capability"; + } + leaf af-long-lived-graceful-restart-stale-time-accept { + type uint32; + description + "Maxmimum acceptable long-lived stale time + acceptable from neighbor"; + } + leaf af-long-lived-graceful-restart-capable { + type uint32; + description + "Long-lived graceful-restart capable"; + } + leaf is-as-override-disabled { + type boolean; + description + "Disable as override"; + } + leaf is-aigp-enabled { + type boolean; + description + "AIGP enabled"; + } + leaf is-aigp-cost-community-enabled { + type boolean; + description + "AIGP cost community enabled"; + } + leaf is-aigp-cost-community-id { + type uint32; + description + "AIGP cost community ID"; + } + leaf is-aigp-cost-community-transitive { + type uint32; + description + "AIGP cost community ID is transitive"; + } + leaf aigp-cost-community-poi { + type uint32; + description + "Point of insertion for AIGP cost community"; + } + leaf is-aigp-med-enabled { + type boolean; + description + "AIGP to MED enabled"; + } + leaf accept-own { + type boolean; + description + "Accept Own"; + } + leaf multipath { + type boolean; + description + "multipath"; + } + leaf is-fspec-valid-enabled { + type boolean; + description + "FSPEC VALID enabled"; + } + leaf is-next-hop-unchanged-mpath { + type boolean; + description + "Don't change mpath next-hop"; + } + leaf is-send-mcast-attr-enabled { + type boolean; + description + "Send mcast attr enabled"; + } + leaf advertise-v4 { + type uint8; + description + "Advertise afi"; + } + leaf advertise-v6 { + type uint8; + description + "Advertise afi"; + } + leaf advertise-l2vpn-evpn { + type uint8; + description + "Advertise afi"; + } + leaf advertise-disable { + type uint8; + description + "Advertise afi"; + } + leaf advertise-def-vrf-imp-disable-v4 { + type uint8; + description + "Advertise afi"; + } + leaf advertise-def-vrf-imp-disable-v6 { + type uint8; + description + "Advertise afi"; + } + leaf advertise-vrf-re-imp-disable-v4 { + type uint8; + description + "Advertise afi"; + } + leaf advertise-vrf-re-imp-disable-v6 { + type uint8; + description + "Advertise afi"; + } + leaf encapsulation-type { + type uint32; + description + "Encapsulation type"; + } + leaf import { + type boolean; + description + "Import"; + } + leaf import-stitching { + type boolean; + description + "Import stitching RTs"; + } + leaf import-reoriginate { + type boolean; + description + "Import reoriginate"; + } + leaf import-reoriginate-stitching { + type boolean; + description + "Import reoriginate stitching RTs"; + } + leaf advertise-local-labeled-route { + type uint32; + description + "Advertise routes with local-label"; + } + leaf enforce-multiple-labels { + type uint32; + description + "Enforce multiple labels"; + } + } + + grouping BGP-CONFIG-ENTID { + description + "BGP config group entity identification"; + list bgp-config-entid { + description + "bgp config entid"; + container neighbor-address { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + leaf address-family-identifier { + type uint8; + description + "Address family identfier"; + } + leaf configuration-type { + type Bgp-entities; + description + "Entity type"; + } + leaf group-name { + type string; + description + "Group name"; + } + } + } + + grouping BGP-CONFIG-INFO { + description + "BGP item config information"; + container inheritance-chain { + description + "Pointer to the inheritance chain"; + uses BGP-CONFIG-ENTID; + } + leaf is-item-configured { + type boolean; + description + "TRUE if the item value is a configured value + different from the default"; + } + } + + grouping BGP-AF-INDEP { + description + "BGP AF-independent configuration information"; + container local-ip-address { + description + "Local ipv4 or ipv6 address for neighbor + connection"; + uses BGP-ADDRTYPE; + } + container remote-as-info { + description + "Remote AS number item info"; + uses BGP-CONFIG-INFO; + } + container speaker-id-info { + description + "Configured speaker ID item info"; + uses BGP-CONFIG-INFO; + } + container min-advertisement-info { + description + "Minimum advertisement interval item info"; + uses BGP-CONFIG-INFO; + } + container description-info { + description + "Description item info"; + uses BGP-CONFIG-INFO; + } + container ebgp-hop-count-info { + description + "EBGP neighbors hop count item info"; + uses BGP-CONFIG-INFO; + } + container tcpmss-info { + description + "TCP Maximum Segment Size item info"; + uses BGP-CONFIG-INFO; + } + container bmp-servers-info { + description + "BMP Servers Configuredinfo"; + uses BGP-CONFIG-INFO; + } + container keychain-info { + description + "Neighbor Keychain item info"; + uses BGP-CONFIG-INFO; + } + container local-as-info { + description + "Local AS number item info"; + uses BGP-CONFIG-INFO; + } + container password-info { + description + "Neighbor password item info"; + uses BGP-CONFIG-INFO; + } + container receive-buffer-info { + description + "Receive buffer sizes item info"; + uses BGP-CONFIG-INFO; + } + container send-buffer-info { + description + "Send buffer sizes item info"; + uses BGP-CONFIG-INFO; + } + container shutdown-info { + description + "Shutdown item info"; + uses BGP-CONFIG-INFO; + } + container timers-info { + description + "Timers item info"; + uses BGP-CONFIG-INFO; + } + container local-address-info { + description + "Local address item info"; + uses BGP-CONFIG-INFO; + } + container msg-log-in-info { + description + "Message Log Inbound item info"; + uses BGP-CONFIG-INFO; + } + container msg-log-out-info { + description + "Message Log Outbound item info"; + uses BGP-CONFIG-INFO; + } + container update-source-info { + description + "Update source item info"; + uses BGP-CONFIG-INFO; + } + container dmz-link-bandwidth-info { + description + "DMZ link bandwidth item "; + uses BGP-CONFIG-INFO; + } + container ebgp-recv-dmz-info { + description + "EBGP receive DMZ link bandwidth item info"; + uses BGP-CONFIG-INFO; + } + container ebgp-send-dmz-info { + description + "EBGP send DMZ link bandwidth item info"; + uses BGP-CONFIG-INFO; + } + container ttl-security-info { + description + "BGP TTL Security item info"; + uses BGP-CONFIG-INFO; + } + container suppress4-bbyte-as-info { + description + "BGP suppress 4byte-as item info"; + uses BGP-CONFIG-INFO; + } + container session-open-mode-info { + description + "TCP conn open mode info"; + uses BGP-CONFIG-INFO; + } + container bfd-info { + description + "BFD item info"; + uses BGP-CONFIG-INFO; + } + container bfd-mininterval-info { + description + "BFD Mininterval item info"; + uses BGP-CONFIG-INFO; + } + container bfd-multiplier-info { + description + "BFD Multiplier item info"; + uses BGP-CONFIG-INFO; + } + container tos-info { + description + "TOS item info"; + uses BGP-CONFIG-INFO; + } + container nsr-disabled-info { + description + "NSR item info"; + uses BGP-CONFIG-INFO; + } + container graceful-restart-disabled-info { + description + "Graceful-restart item info"; + uses BGP-CONFIG-INFO; + } + container nbr-restart-time-info { + description + "Restart time item info"; + uses BGP-CONFIG-INFO; + } + container nbr-stale-path-time-info { + description + "Stale-path time item info"; + uses BGP-CONFIG-INFO; + } + container nbr-enforce-first-as-info { + description + "Neighbor enforce first AS info"; + uses BGP-CONFIG-INFO; + } + container cluster-id-info { + description + "Cluster ID item info"; + uses BGP-CONFIG-INFO; + } + container ignore-connected-info { + description + "Ignore Connected Info"; + uses BGP-CONFIG-INFO; + } + container internal-vpn-client-info { + description + "Internal VPN Client Info"; + uses BGP-CONFIG-INFO; + } + container addpath-send-capability-info { + description + "Addpath send capability info"; + uses BGP-CONFIG-INFO; + } + container addpath-receive-capability-info { + description + "Addpath receive capability info"; + uses BGP-CONFIG-INFO; + } + container egress-peer-engineering-info { + description + "Egress Peer Engineering info"; + uses BGP-CONFIG-INFO; + } + container update-error-handling-no-reset-info { + description + "Error-handling avoid-reset config info"; + uses BGP-CONFIG-INFO; + } + container prefix-validation-disable-info { + description + "RPKI disable info"; + uses BGP-CONFIG-INFO; + } + container prefix-validation-use-validit-info { + description + "RPKI use validity"; + uses BGP-CONFIG-INFO; + } + container prefix-validation-allow-invalid-info { + description + "RPKI allow invalid info"; + uses BGP-CONFIG-INFO; + } + container prefix-validation-signal-ibgp-info { + description + "RPKI signal ibgp info"; + uses BGP-CONFIG-INFO; + } + container neighbor-update-filter-exists-info { + description + "Neighbor update filter configuration info"; + uses BGP-CONFIG-INFO; + } + container neighbor-update-filter-message-buffer-count-info { + description + "Neighbor update filter message buffer count info"; + uses BGP-CONFIG-INFO; + } + container neighbor-update-filter-syslog-disable-info { + description + "Neighbor update filter syslog disable info"; + uses BGP-CONFIG-INFO; + } + container neighbor-update-filter-attribute-info { + description + "Neighbor update filter attribute-filter group + info"; + uses BGP-CONFIG-INFO; + } + container graceful-shutdown-info { + description + "GracefulShutdown info"; + uses BGP-CONFIG-INFO; + } + container graceful-shutdown-loc-pref-info { + description + "GracefulShutdownLocPref info"; + uses BGP-CONFIG-INFO; + } + container graceful-shutdown-as-prepends-info { + description + "GracefulShutdownASPrepends info"; + uses BGP-CONFIG-INFO; + } + container graceful-shutdown-activate-info { + description + "GracefulShutdownAcivate info"; + uses BGP-CONFIG-INFO; + } + container capability-negotiation-suppressed-info { + description + "Capability negotiation suppressed info"; + uses BGP-CONFIG-INFO; + } + container neighbor-remote-as-list-info { + description + "Neighbor range remote-as-list group info"; + uses BGP-CONFIG-INFO; + } + container max-peers-info { + description + "Max dynamic nbrs in range info"; + uses BGP-CONFIG-INFO; + } + container idle-watch-time-info { + description + "Idle Watch time item info"; + uses BGP-CONFIG-INFO; + } + leaf remote-as-number-xx { + type uint32; + description + "First half of Remote ASN"; + } + leaf remote-as-number-yy { + type uint32; + description + "Second half of Remote ASN"; + } + leaf configured-speaker-id { + type uint32; + description + "Configured speaker ID"; + } + leaf tcp-mss { + type uint32; + description + "Maximum Segment Size"; + } + leaf min-advertisement-interval { + type uint32; + units "second"; + description + "Minimum advertisement interval, secs part"; + } + leaf min-advertisement-interval-msecs { + type uint32; + units "millisecond"; + description + "Minimum advertisement interval, msecs part"; + } + leaf description { + type string; + description + "Description"; + } + leaf ebgp-hop-count { + type uint32; + description + "EBGP neighbors hop count"; + } + leaf bmp-servers { + type uint32; + description + "BMP Servers activated"; + } + leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled { + type boolean; + description + "If true, MPLS and NULL rewrite is disabled; if + false, it is enabled"; + } + leaf keychain { + type string; + description + "Neighbor keychain Name"; + } + leaf local-as-number-xx { + type uint32; + description + "First half of Local ASN"; + } + leaf local-as-number-yy { + type uint32; + description + "Second half of Local ASN"; + } + leaf local-as-no-prepend { + type boolean; + description + "Local AS no-prepend option"; + } + leaf password { + type string; + description + "Neighbor password"; + } + leaf socket-buffer-receive-size { + type uint32; + description + "Socket receive buffer size"; + } + leaf bgp-buffer-receive-size { + type uint32; + description + "BGP receive buffer size"; + } + leaf socket-buffer-send-size { + type uint32; + description + "Socket send buffer size"; + } + leaf bgp-buffer-send-size { + type uint32; + description + "BGP send buffer size"; + } + leaf adminstrative-shutdown { + type boolean; + description + "Administrative shutdown"; + } + leaf keepalive-interval { + type uint32; + description + "Keepalive interval"; + } + leaf hold-time-value { + type uint32; + description + "Holdtime"; + } + leaf min-acc-hold-time-value { + type uint32; + description + "Min acceptable holdtimefrom neighbor"; + } + leaf msg-log-in-buf-count { + type uint32; + description + "Message Log Inbound buffer count"; + } + leaf msg-log-out-buf-count { + type uint32; + description + "Message Log Outbound buffer count"; + } + leaf route-updates-source { + type string; + description + "Source of routing updates"; + } + leaf dmz-link-bandwidth { + type uint32; + description + "Propagate the DMZ link bandwidth"; + } + leaf ebgp-recv-dmz { + type uint32; + description + "Receive Bandwidth of link to single-hop eBGP + peer"; + } + leaf ebgp-send-dmz-mode { + type Bgp-ebgp-send-dmz-enable-mode; + description + "Send DMZ link bandwidthto ebgp peer"; + } + leaf ttl-security { + type uint32; + description + "Enable BGP TTL Security"; + } + leaf suppress4-byte-as { + type uint32; + description + "Suppress BGP 4byteas Cap"; + } + leaf capability-negotiation-suppressed { + type uint32; + description + "Capability negotiation is suppressed"; + } + leaf session-open-mode { + type Bgp-tcp-mode; + description + "TCP open mode to be used "; + } + leaf bfd { + type uint32; + description + "Fast failure detection using BFD"; + } + leaf bfd-mininterval { + type uint32; + description + "BFD Minimum Interval"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD Multiplier"; + } + leaf tos-type-info { + type uint8; + description + "Precedence or DSCP type"; + } + leaf tos-value-info { + type uint8; + description + "Precedence or DSCP value"; + } + leaf nsr-disabled { + type uint32; + description + "Support for NSR"; + } + leaf graceful-restart-disabled { + type uint32; + description + "Support for graceful-restart"; + } + leaf nbr-restart-time { + type uint32; + units "second"; + description + "Restart time (in seconds)"; + } + leaf nbr-stale-path-time { + type uint32; + units "second"; + description + "Stale-path time(in seconds)"; + } + leaf nbr-enforce-first-as-status { + type boolean; + description + "Neighbor enforce first AS status"; + } + leaf nbr-cluster-id-type-info { + type uint8; + description + "Cluster ID Type"; + } + leaf nbr-cluster-id-info { + type uint32; + description + "Cluster ID value"; + } + leaf ignore-connected-check { + type boolean; + description + "If true, don't do NHconnected check for nbr"; + } + leaf internal-vpn-client { + type boolean; + description + "If true, the VPN client isan iBGP CE peer"; + } + leaf addpath-send-capability { + type uint32; + description + "Indicates if addpath send capability is enabled + or disabled"; + } + leaf update-error-handling-no-reset { + type uint32; + description + "Indicates if avoid-reset behavior is enabled + during update error-handling"; + } + leaf addpath-receive-capability { + type uint32; + description + "Indicates if addpath receive capability is + enabled or disabled"; + } + leaf egress-peer-engineering { + type uint32; + description + "Indicates egress peer engineering is enabled"; + } + leaf prefix-validation-disable { + type uint32; + description + "Prefix validation disable"; + } + leaf bestpath-use-origin-as-validity { + type uint32; + description + "Bestpath Use Origin-AS Va"; + } + leaf prefix-validation-allow-invalid { + type uint32; + description + "Prefix validation allow invalid"; + } + leaf prefix-validation-signal-ibgp { + type uint32; + description + "Prefix validation signal ibgp"; + } + leaf neighbor-update-filter-exists { + type boolean; + description + "Indicates if neighbor filter configuration + exists"; + } + leaf neighbor-update-filter-message-buffer-count { + type uint32; + description + "Count of neighbor filter message buffers"; + } + leaf neighbor-update-filter-message-buffer-is-non-circular { + type boolean; + description + "Indicates if neighbor update filter message + buffer is circular or not"; + } + leaf neighbor-update-filter-logging-disable { + type boolean; + description + "Indicates if neighbor filter logging is disabled"; + } + leaf neighbor-update-filter-attribute-filter-group-name { + type string; + description + "Neighbor filter attribute-filter group name"; + } + leaf graceful-shutdown-exists { + type uint32; + description + "re-advertise all routes to and from this + neighbor with the GSHUT community during + Shutdown or bring-up"; + } + leaf graceful-shutdown-loc-pref { + type uint32; + description + "Local Preference to advertise routes with during + Graceful Shutdown to IBGP. Default=No Touch"; + } + leaf graceful-shutdown-as-prepends { + type uint32; + description + "Prepend the local AS this many times to the AS + path of routes advertised during Graceful + Shutdown"; + } + leaf graceful-shutdown-activate { + type uint32; + description + "Graceful Shutdown state is activated"; + } + leaf neighbor-remote-as-list-group-name { + type string; + description + "Neighbor Range remote-as-list group name"; + } + leaf max-peers { + type uint32; + description + "Maximum dynamic nbrs in range"; + } + leaf idle-watch-time { + type uint32; + units "second"; + description + "Idle Watch time(in seconds)"; + } + leaf local-as-replace-as { + type boolean; + description + "Local AS Replace-AS option"; + } + leaf local-as-dual-as { + type boolean; + description + "Local AS Dual-AS option"; + } + } + + grouping BGP-IPV6-SRPOLICY-ADDR { + description + "BGP IPV6 SRPOLICY ADDR"; + leaf ipv6-srpolicy-address { + type yang:hex-string; + description + "ipv6 srpolicy address"; + } + } + + grouping IPV6-SR-POLICY-ADDRESS-TYPE { + description + "IPv6 SR Policy Address type"; + uses BGP-IPV6-SRPOLICY-ADDR; + } + + grouping BGP-IPV4-SRPOLICY-ADDR { + description + "BGP IPV4 SRPOLICY ADDR"; + leaf ipv4-srpolicy-address { + type yang:hex-string; + description + "ipv4 srpolicy address"; + } + } + + grouping IPV4-SR-POLICY-ADDRESS-TYPE { + description + "IPv4 SR Policy Address type"; + uses BGP-IPV4-SRPOLICY-ADDR; + } + + grouping BGP-L2VPN-MSPW-ADDR { + description + "BGP L2VPN MSPW ADDR"; + leaf l2vpn-address { + type yang:hex-string; + description + "l2vpn address"; + } + } + + grouping L2VPN-MSPW-ADDRESS-TYPE { + description + "L2VPN MSPW Address type"; + uses BGP-L2VPN-MSPW-ADDR; + } + + grouping BGP-L2VPN-ADDR { + description + "BGP L2VPN ADDR"; + leaf l2vpn-address { + type yang:hex-string; + description + "l2vpn address"; + } + } + + grouping BGP-ADDRTYPE { + description + "BGP ADDRTYPE"; + container l2vpn-vpls-address { + when "../afi = 'l2vpn-vpls'" { + description + "../AFI = 'L2VPN_VPLS'"; + } + description + "L2VPN VPLS Addr"; + uses BGP-L2VPN-ADDR; + } + container l2vpn-mspw-address { + when "../afi = 'l2vpn-mspw'" { + description + "../AFI = 'L2VPN_MSPW'"; + } + description + "L2VPN MSPW Addr"; + uses L2VPN-MSPW-ADDRESS-TYPE; + } + container ipv4-sr-policy-address { + when "../afi = 'ipv4-sr-policy'" { + description + "../AFI = 'IPv4SRPolicy'"; + } + description + "IPV4 Policy Addr"; + uses IPV4-SR-POLICY-ADDRESS-TYPE; + } + container ipv6-sr-policy-address { + when "../afi = 'ipv6-sr-policy'" { + description + "../AFI = 'IPv6SRPolicy'"; + } + description + "IPV6 Policy Addr"; + uses IPV6-SR-POLICY-ADDRESS-TYPE; + } + leaf afi { + type Bgp-afi; + description + "AFI"; + } + leaf ipv4-address { + when "../afi = 'ipv4'" { + description + "../AFI = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Addr"; + } + leaf ipv4-mcast-address { + when "../afi = 'ipv4-multicast'" { + description + "../AFI = 'IPv4Multicast'"; + } + type inet:ipv4-address; + description + "IPv4 Mcast Addr"; + } + leaf ipv4-label-address { + when "../afi = 'ipv4-labeled'" { + description + "../AFI = 'IPv4Labeled'"; + } + type inet:ipv4-address; + description + "IPv4 Label Addr"; + } + leaf ipv4-tunnel-address { + when "../afi = 'ipv4-tunnel'" { + description + "../AFI = 'IPv4Tunnel'"; + } + type Ipv4-tunnel-address; + description + "IPv4 Tunnel"; + } + leaf ipv4-mdt-address { + when "../afi = 'ipv4-mdt'" { + description + "../AFI = 'IPv4MDT'"; + } + type Ipv4-mdt-address; + description + "IPv4 MDT Addr"; + } + leaf ipv4vpn-address { + when "../afi = 'vpnv4'" { + description + "../AFI = 'VPNv4'"; + } + type inet:ipv4-address; + description + "IPv4 VPN Addr"; + } + leaf ipv4vpna-mcastddress { + when "../afi = 'vpnv4-multicast'" { + description + "../AFI = 'VPNv4Multicast'"; + } + type inet:ipv4-address; + description + "IPv4 VPN Mcast Addr"; + } + leaf ipv6-address { + when "../afi = 'ipv6'" { + description + "../AFI = 'IPv6'"; + } + type Ipv6-address; + description + "IPV6 Addr"; + } + leaf ipv6-mcast-address { + when "../afi = 'ipv6-multicast'" { + description + "../AFI = 'IPv6Multicast'"; + } + type Ipv6-address; + description + "IPV6 Mcast Addr"; + } + leaf ipv6-label-address { + when "../afi = 'ipv6-labeled'" { + description + "../AFI = 'IPv6Labeled'"; + } + type Ipv6-address; + description + "IPv6 Label Addr"; + } + leaf ipv6vpn-address { + when "../afi = 'vpnv6'" { + description + "../AFI = 'VPNv6'"; + } + type Ipv6-address; + description + "IPv6 VPN Addr"; + } + leaf ipv6vpn-mcast-address { + when "../afi = 'vpnv6-multicast'" { + description + "../AFI = 'VPNv6Multicast'"; + } + type Ipv6-address; + description + "IPv6 VPN Mcast Addr"; + } + leaf rt-constraint-address { + when "../afi = 'rt-constraint'" { + description + "../AFI = 'RTConstraint'"; + } + type Rt-constraint-address; + description + "RT Constrt Addr"; + } + leaf ipv6mvpn-address { + when "../afi = 'ipv6-mvpn'" { + description + "../AFI = 'IPv6MVPN'"; + } + type Ipv6mvpn-address; + description + "MVPN addr"; + } + leaf ipv4mvpn-address { + when "../afi = 'ipv4-mvpn'" { + description + "../AFI = 'IPv4MVPN'"; + } + type Ipv4mvpn-address; + description + "MVPN4 addr"; + } + leaf l2vpn-evpn-address { + when "../afi = 'l2vpn-evpn'" { + description + "../AFI = 'L2VPN_EVPN'"; + } + type L2vpn-evpn-address; + description + "L2VPN EVPN Addr"; + } + leaf ls-ls-address { + when "../afi = 'ls-ls'" { + description + "../AFI = 'LS_LS'"; + } + type Ls-ls-address; + description + "LINKSTATE LINKSTATE Addr"; + } + leaf ipv4-flowspec-address { + when "../afi = 'ipv4-flowspec'" { + description + "../AFI = 'IPv4Flowspec'"; + } + type Ipv4-flowspec-address; + description + "IPV4 Flowspec Addr"; + } + leaf ipv6-flowspec-address { + when "../afi = 'ipv6-flowspec'" { + description + "../AFI = 'IPv6Flowspec'"; + } + type Ipv6-flowspec-address; + description + "IPV6 Flowspec Addr"; + } + leaf ipv4vpn-flowspec-address { + when "../afi = 'vpnv4-flowspec'" { + description + "../AFI = 'VPNv4Flowspec'"; + } + type Ipv4-flowspec-address; + description + "IPV4 VPN Flowspec Addr"; + } + leaf ipv6vpn-flowspec-address { + when "../afi = 'vpnv6-flowspec'" { + description + "../AFI = 'VPNv6Flowspec'"; + } + type Ipv6-flowspec-address; + description + "IPV6 VPN Flowspec Addr"; + } + } + + grouping BGP-CONFIG-ENTITY-BAG { + description + "BGP entity config information"; + container neighbor-address-xr { + description + "Neighbor Address"; + uses BGP-ADDRTYPE; + } + container af-independent-config { + description + "AF-independent config"; + uses BGP-AF-INDEP; + } + leaf group-name { + type string; + description + "Entity/group name"; + } + leaf configuration-type { + type Bgp-entities; + description + "Entity type"; + } + leaf address-family-identifier { + type uint8; + description + "AF identifier"; + } + list af-dependent-config { + max-elements "25"; + description + "Af-dependent config"; + uses BGP-AF-DEP; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper.yang new file mode 100644 index 0000000..69a69cd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-bgp-oper.yang @@ -0,0 +1,1447 @@ +module Cisco-IOS-XR-ipv4-bgp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper"; + prefix ipv4-bgp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ipv4-bgp-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ipv4-bgp-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-bgp package operational data. + + This module contains definitions + for the following management objects: + bgp: BGP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-08-27 { + description + "IOS XR 5.3.2 revision."; + } + + typedef Bgp-rpki-edm-af { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 10; + description + "IPv6"; + } + } + description + "Bgp rpki edm af"; + } + + typedef Bgp-route { + type enumeration { + enum "used" { + value 0; + description + "Used path from neighbor"; + } + enum "received-only" { + value 1; + description + "Received only path from neighbor"; + } + enum "safi-labeled-unicast-used" { + value 2; + description + "Used path from neighbor received via + labeled-unicast SAFI"; + } + enum "safi-labeled-unicast-received-only" { + value 3; + description + "Received only path from neighbor received via + labeled-unicast SAFI"; + } + enum "rib" { + value 4; + description + "Redistributed from the RIB"; + } + enum "aggregate" { + value 5; + description + "Locally generated aggregate"; + } + } + description + "Bgp route"; + } + + typedef Bgp-entity { + type enumeration { + enum "af-group" { + value 0; + description + "Address family group"; + } + enum "session-group" { + value 1; + description + "Session group"; + } + enum "neighbor-group" { + value 2; + description + "Neighbor group"; + } + enum "neighbor" { + value 3; + description + "Neighbor"; + } + } + description + "Bgp entity"; + } + + typedef Bgp-route-distinguisher { + type string; + description + "Bgp route distinguisher"; + } + + grouping UPDATE-GENERATION-PROCESS { + description + "Common node of instance-active, instance-standby"; + container update-generation-process { + description + "Update generation for the process"; + uses BGP-UPDGEN-PROC-BAG; + } + } + + grouping PATH { + description + "Common node of path-table, path-used-table, + path-labeled-table"; + list path { + description + "A BGP path table entry"; + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for ip + prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Network prefix Length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor adddress"; + } + leaf route-type { + type Bgp-route; + description + "Route Type"; + } + leaf source-rd { + type Bgp-route-distinguisher; + description + "Source Route Distinguisher value"; + } + leaf orig-source-rd { + type Bgp-route-distinguisher; + description + "Original Source Route Distinguisher"; + } + leaf path-id { + type int32; + description + "Received Path ID"; + } + uses BGP-PATH-BAG; + } + } + + grouping BMP { + description + "Common node of default-vrf, vrf"; + container bmp { + description + "BMP related Operational Data"; + container server-summaries { + description + "Table of BMP Servers"; + list server-summary { + key "server-id"; + description + "Summary Information about BMP server"; + leaf server-id { + type uint32 { + range "1..8"; + } + description + "BMP Server ID"; + } + uses BGP-BMP-SRVR-BAG; + } + } + container server-neighbors { + description + "Table of Neighbors for a BMP Server"; + list server-neighbor { + key "server-id"; + description + "BMP Server under which neighbor info are + needed"; + container monitored-neighbors { + description + "List of Neighbors under which BMP Server is + confgiured"; + list monitored-neighbor { + key "neighbor-address"; + description + "Information about a neighbor monitored by + BMP server"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-BMP-NBR-BAG; + } + } + leaf server-id { + type uint32 { + range "1..8"; + } + description + "BMP Server ID"; + } + } + } + } + } + + grouping ATTRIBUTE-FILTER-GROUP-TABLE { + description + "Common node of instance-active, instance-standby"; + container attribute-filter-groups { + description + "All attribute-filter groups in this instance"; + list attribute-filter-group { + key "group-name"; + description + "Attribute-filter group"; + leaf group-name { + type xr:Cisco-ios-xr-string; + description + "Attribute-filter group name"; + } + uses BGP-ATTRFILTER-GROUP-BAG; + } + } + } + + grouping ATTRIBUTE-TABLE { + description + "Common node of instance-active, instance-standby, + af"; + container attributes { + description + "The BGP Attribute table"; + list attribute { + description + "A BGP Attribute table entry"; + leaf attribute-iid { + type int32; + description + "Attribute IID"; + } + leaf attribute-cache-bucket { + type int32; + description + "Attribute cache bucket"; + } + leaf attribute-cache-id { + type int32; + description + "Attribute cache ID"; + } + uses BGP-ATTR-BAG; + } + } + } + + grouping SESSION-TABLE { + description + "Common node of default-vrf, vrf"; + container sessions { + description + "The BGP session table"; + list session { + key "neighbor-address"; + description + "A BGP session table entry"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-NBR-BRIEF-BAG; + } + } + } + + grouping POSTIT-TABLE { + description + "Common node of default-vrf, vrf"; + container postits { + description + "The BGP Neighbor table"; + list postit { + key "neighbor-address"; + description + "A BGP Postit table entry"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-NEIGHBOR-NSR-BAG; + } + } + } + + grouping UPDATE-INBOUND-ERROR-PROCESS { + description + "Common node of instance-active, instance-standby"; + container update-inbound-error-process { + description + "Update inbound error information for the process"; + uses BGP-UPDERR-PROC-BAG; + } + } + + grouping NEXT-HOP-VRF { + description + "Common node of default-vrf, vrf"; + container next-hop-vrf { + description + "A BGP Next-hop VRF table entry"; + uses BGP-NEXTHOP-VRF-BAG; + } + } + + grouping RPKI-SUMMARY { + description + "Common node of instance-active, instance-standby"; + container rpki-summary { + description + "RPKI Summary Info"; + uses BGP-RPKI-SUMMARY-BAG; + } + } + + grouping VRF-TABLE { + description + "Common node of instance-active, instance-standby"; + container vrfs { + description + "VRF related operational data"; + list vrf { + key "vrf-name"; + description + "Operational data for a particular VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF"; + } + uses UPDATE-INBOUND-ERROR-VRF; + uses AF-TABLE; + uses INFORMATION; + uses UPDATE-INBOUND-FILTER-VRF; + uses POSTIT-TABLE; + uses GLOBAL-PROCESS-INFO; + uses UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE; + uses UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE; + uses BMP; + uses PROCESS-INFO; + uses SESSION-TABLE; + uses NEIGHBOR-TABLE; + uses NEXT-HOP-VRF; + uses NEIGHBOR-RANGE-TABLE; + uses MESSAGE-LOG-TABLE; + } + } + } + + grouping UPDATE-INBOUND-FILTER-VRF { + description + "Common node of default-vrf, vrf"; + container update-inbound-filter-vrf { + description + "Update inbound filtering information for the VRF"; + uses BGP-UPDFILTER-VRF-BAG; + } + } + + grouping RPKI-REFRESH-AF-TABLE { + description + "Common node of instance-active, instance-standby"; + container rpki-refresh-afs { + description + "RPKI Refresh Table (per AF)"; + list rpki-refresh-af { + key "af-name"; + description + "RPKI Refresh List"; + leaf af-name { + type Bgp-rpki-edm-af; + description + "Adress family"; + } + uses BGP-RPKI-REFRESH-LIST-BAG; + } + } + } + + grouping INFORMATION { + description + "Common node of default-vrf, vrf"; + container information { + description + "Meta data for VRF"; + uses BGP-VRF-INFO-BAG; + } + } + + grouping ENTITY-CONFIGURATION-TABLE { + description + "Common node of config-instance-default-vrf, + config-vrf"; + container entity-configurations { + description + "The BGP Entity Configuration table"; + list entity-configuration { + description + "A BGP Entity Configuration table entry"; + leaf entity-type { + type Bgp-entity; + description + "Entity type"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf entity-name { + type xr:Cisco-ios-xr-string; + description + "Entity name"; + } + uses BGP-CONFIG-ENTITY-BAG; + } + } + } + + grouping DEFAULT-VRF { + description + "Common node of instance-active, instance-standby"; + container default-vrf { + description + "Default VRF related operational data"; + uses UPDATE-INBOUND-ERROR-VRF; + uses AF-TABLE; + uses INFORMATION; + uses UPDATE-INBOUND-FILTER-VRF; + uses POSTIT-TABLE; + uses GLOBAL-PROCESS-INFO; + uses UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE; + uses UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE; + uses BMP; + uses PROCESS-INFO; + uses SESSION-TABLE; + uses NEIGHBOR-TABLE; + uses NEXT-HOP-VRF; + uses NEIGHBOR-RANGE-TABLE; + uses MESSAGE-LOG-TABLE; + } + } + + grouping UPDATE-INBOUND-ERROR-VRF { + description + "Common node of default-vrf, vrf"; + container update-inbound-error-vrf { + description + "Update inbound error information for the VRF"; + uses BGP-UPDERR-VRF-BAG; + } + } + + grouping UPDATE-INBOUND-FILTER-NEIGHBOR-TABLE { + description + "Common node of default-vrf, vrf"; + container update-inbound-filter-neighbors { + description + "Update inbound filtering information for all + neighbors"; + list update-inbound-filter-neighbor { + key "neighbor-address"; + description + "Update inbound filtering information for + neighbor"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-UPDFILTER-NBR-BAG; + } + } + } + + grouping NEIGHBOR-RANGE-TABLE { + description + "Common node of default-vrf, vrfCommon node of + default-vrf, vrf"; + container neighbor-ranges { + description + "The BGP Dynamic Neighbor Range table"; + list neighbor-range { + key "neighbor-range-address"; + description + "A BGP Neighbor Range table entry"; + leaf neighbor-range-address { + type inet:ip-prefix; + description + "Neighbor Range prefix"; + } + uses BGP-NBR-RANGE-BAG; + } + } + } + + grouping CONFIGURATION-USER-TABLE { + description + "Common node of config-instance-default-vrf, + config-vrf"; + container configuration-users { + description + "The BGP configuration users table"; + list configuration-user { + description + "A BGP configuration user table entry"; + leaf entity-type { + type Bgp-entity; + description + "Entity type"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf entity-name { + type xr:Cisco-ios-xr-string; + description + "Entity name"; + } + uses BGP-CONFIG-RELATIVES-BAG; + } + } + } + + grouping NEIGHBOR { + description + "Common node of neighbors, neighbor-af-table"; + list neighbor { + key "neighbor-address"; + description + "A BGP Neighbor table entry"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-NBR-BAG; + } + } + + grouping UPDATE-INBOUND-ERROR-NEIGHBOR-TABLE { + description + "Common node of default-vrf, vrf"; + container update-inbound-error-neighbors { + description + "Update inbound error information for all + neighbors"; + list update-inbound-error-neighbor { + key "neighbor-address"; + description + "Update inbound error information for neighbor"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-UPDERR-NBR-BAG; + } + } + } + + grouping RPKI-SERVER-LIST { + description + "Common node of instance-active, instance-standby"; + container rpki-server-list { + description + "RPKI Server Table"; + uses BGP-RPKI-CACHES-BAG; + } + } + + grouping GLOBAL-PROCESS-INFO { + description + "Common node of default-vrf, vrf"; + container global-process-info { + description + "The Global Process information table"; + uses BGP-GLOBAL-PROCESS-INFO-BAG; + } + } + + grouping RT-TABLE { + description + "Common node of instance-active, instance-standby"; + container rt-entries { + description + "BGP Route Target Sets Table"; + list rt-entry { + description + "BGP Route Target Set Entry"; + leaf route-target-lower-bytes { + type int32; + description + "Lower 4 bytes of RT"; + } + leaf route-target-upper-bytes { + type int32; + description + "Upper 4 bytes of RT"; + } + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + leaf request-id { + type int32; + description + "Random Request ID"; + } + uses BGP-VRF-RT-BAG; + } + } + } + + grouping RPKI-ROUTE-TABLE { + description + "Common node of instance-active, instance-standby"; + container rpki-routes { + description + "BGP RPKI ROA table"; + list rpki-route { + description + "RPKI Path Group"; + leaf af-name { + type Bgp-rpki-edm-af; + description + "Address family"; + } + leaf address { + type xr:Cisco-ios-xr-string; + description + "Route Address (IPv4 / IPv6)"; + } + leaf minimum { + type int32; + description + "Minimum Prefix Length"; + } + leaf maximum { + type int32; + description + "Maximum Prefix Length"; + } + uses BGP-RPKI-ROUTES-BAG; + } + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbors { + description + "The BGP Neighbor table"; + uses NEIGHBOR; + } + } + + grouping MESSAGE-LOG-TABLE { + description + "Common node of default-vrf, vrf"; + container message-logs { + description + "The BGP Neighbor Message table"; + list message-log { + description + "A BGP Message log entry"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf direction { + type int32; + description + "Direction"; + } + uses BGP-MSGLOG-NBR-BAG; + } + } + } + + grouping AF-TABLE { + description + "Common node of default-vrf, vrf"; + container afs { + description + "BGP address family table"; + list af { + key "af-name"; + description + "A particular address family"; + container policies { + description + "The BGP Policy Table"; + list policy { + description + "A BGP Policy table entry"; + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Network prefix Length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-PATH-ADV-BAG; + } + } + container convergence { + description + "A BGP Convergence table entry"; + uses BGP-CONVERGENCE-BAG; + } + container af-process-info { + description + "A BGP Process address family table entry"; + uses BGP-PROCESS-INFO-AF-BAG; + } + container path-used-table { + description + "The BGP Path Used Table"; + uses PATH; + } + container bmp-path-table-generic { + description + "Summary Info about BMP Table"; + uses BGP-BMP-TBL-GBL-BAG; + } + container rpc-sets { + description + "BGP next-hop set table"; + list rpc-set { + key "rpc-set-index"; + description + "A BGP next-hop set"; + leaf rpc-set-index { + type int32; + description + "Nexthop set index"; + } + uses BGP-RPC-SET-BAG; + } + } + container global-af-process-info { + description + "The Global Address Family Process information + table"; + uses BGP-GLOBAL-PROCESS-INFO-AF-BAG; + } + container advertised-path-xr { + description + "The BGP Advertised path table (bestpath)"; + list advertised-path { + description + "A BGP Advertised path table entry (bestpath)"; + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Network prefix Length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-PATH-BAG; + } + } + container sourced-networks { + description + "The BGP Convergence table"; + list sourced-network { + key "network"; + description + "A BGP network command table entry"; + leaf network { + type inet:ip-prefix; + description + "Network in prefix/length format"; + } + uses BGP-STATIC-ROUTES-BAG; + } + } + container update-groups { + description + "The BGP Update group table"; + list update-group { + description + "A BGP Update group table entry"; + leaf update-group-id { + type int32; + description + "Update group index"; + } + leaf filter-group-id { + type int32; + description + "Filter group index"; + } + uses BGP-UPDGRP-BAG; + } + } + container update-generation-sub-groups { + description + "Update generation for all sub-groups"; + list update-generation-sub-group { + description + "Update generation for sub-group"; + leaf update-group-index { + type int32; + description + "Update-group index"; + } + leaf sub-group-index { + type int32; + description + "Sub-group index"; + } + leaf sub-group-id { + type int32; + description + "Sub-group ID"; + } + uses BGP-UPDGEN-SUBGRP-BAG; + } + } + container next-hop-address-families { + description + "Address family of nexthop table"; + list next-hop-address-family { + key "next-hop-af-name"; + description + "Nexthop Address family"; + container next-hop-af-vrf-af { + description + "A BGP Next-hop VRF AF table entry"; + uses BGP-NEXTHOP-VRF-AF-BAG; + } + container next-hop-afs { + description + "The BGP Next-hop table"; + list next-hop-af { + description + "A BGP Next hop entry"; + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next hop address"; + } + leaf attribute-set { + type xr:Cisco-ios-xr-string; + description + "Attribute Set Name"; + } + uses BGP-NEXTHOP-BAG; + } + } + leaf next-hop-af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + } + } + container rt-set-counters { + description + "The RT-set counter table"; + list rt-set-counter { + key "rt-set-id"; + description + "One RT-set counter table entry"; + leaf rt-set-id { + type int32; + description + "RTSet ID"; + } + uses BGP-RTSET-BAG; + } + } + container bmp-paths { + description + "The paths in BMP Table"; + list bmp-path { + description + "A BMP path table entry"; + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Network prefix Length"; + } + uses BGP-BMP-NET-BAG; + } + } + container update-generation-update-groups { + description + "Update generation for all update-groups"; + list update-generation-update-group { + key "update-group-index"; + description + "Update generation for update-group"; + leaf update-group-index { + type int32; + description + "Update-group index"; + } + uses BGP-UPDGEN-UPDGRP-BAG; + } + } + container update-generation-filter-groups { + description + "Update generation for all filter-groups under + a sub-group"; + list update-generation-filter-group { + description + "Update generation for filter-group"; + leaf update-group-index { + type int32; + description + "Update-group index"; + } + leaf sub-group-index { + type int32; + description + "Sub-group index"; + } + leaf sub-group-id { + type int32; + description + "Sub-group ID"; + } + leaf filter-group-index { + type int32; + description + "Filter-group index"; + } + uses BGP-UPDGEN-FILTERGRP-BAG; + } + } + container networks { + description + "The BGP Network Table"; + list network { + description + "A BGP Network table entry"; + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Prefix Length"; + } + uses BGP-NET-BAG; + } + } + container path-table { + description + "The BGP Path Table"; + uses PATH; + } + container epes { + description + "The BGP Egress Engineering table"; + list epe { + description + "A BGP Egress Engineering table entry"; + leaf epe-key-length { + type int32; + description + "Epe Key Length"; + } + leaf epe-set-key { + type xr:Cisco-ios-xr-string; + description + "Epe Set Key"; + } + uses BGP-EPE-SET-BAG; + } + } + container advertised-path-counts { + description + "The BGP Advertised paths table (bestpath)"; + list advertised-path-count { + key "neighbor-address"; + description + "The BGP Advertised path table Count + (bestpath)"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-NBR-ADV-CNT-BAG; + } + } + container path-labeled-table { + description + "The BGP Path Labeled Table"; + uses PATH; + } + container advertised-paths { + description + "The BGP Advertised paths table (add-paths)"; + list advertised-path { + description + "A BGP Advertised paths table entry + (add-paths)"; + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf prefix-length { + type int32; + description + "Network prefix length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor "; + } + uses BGP-PATH-MULTI; + } + } + container neighbor-af-table { + description + "The BGP Neighbor AF table"; + uses NEIGHBOR; + } + container update-generation-neighbors { + description + "Update generation for all neighbors"; + list update-generation-neighbor { + description + "Update generation for neighbor"; + leaf update-group-index { + type int32; + description + "Update-group index"; + } + leaf sub-group-index { + type int32; + description + "Sub-group index"; + } + leaf sub-group-id { + type int32; + description + "Sub-group ID"; + } + leaf filter-group-index { + type int32; + description + "Filter-group index"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-UPDGEN-NBR-BAG; + } + } + container update-generation-address-family { + description + "Update generation for address-family"; + uses BGP-UPDGEN-AF-BAG; + } + container dampenings { + description + "The BGP Dampening table"; + list dampening { + description + "A BGP Dampening table entry"; + leaf reuse { + type int32; + description + "Reuse array index"; + } + leaf version { + type int32; + description + "Version number"; + } + leaf rd { + type Bgp-route-distinguisher; + description + "Route Distinguisher value"; + } + leaf network { + type xr:Cisco-ios-xr-string; + description + "Network prefix in dotted decimal format for + ip prefix, else in hex string format"; + } + leaf length { + type int32; + description + "Prefix length"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf source-rd { + type Bgp-route-distinguisher; + description + "Source Route Distinguisher value"; + } + leaf path-id { + type int32; + description + "Received Path ID"; + } + uses BGP-PATH-BAG; + } + } + container prefix-filters { + description + "The BGP Prefix Filter table"; + list prefix-filter { + key "neighbor-address"; + description + "A BGP prefix filter table entry"; + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses BGP-RCV-PFXLST-BAG; + } + } + leaf af-name { + type dt1:Bgp-address-family; + description + "Address family"; + } + uses ATTRIBUTE-TABLE; + } + } + } + + grouping PROCESS-INFO { + description + "Common node of default-vrf, vrfCommon node of + default-vrf, vrf"; + container process-info { + description + "A Process instance table entry"; + uses BGP-PROCESS-INFO-BAG; + } + } + + grouping CONFIGURATION-INHERITANCE-TABLE { + description + "Common node of config-instance-default-vrf, + config-vrf"; + container configuration-inheritances { + description + "The BGP configurataion inheritance table"; + list configuration-inheritance { + description + "A BGP configuration inheritance table entry"; + leaf entity-type { + type Bgp-entity; + description + "Entity type"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + leaf entity-name { + type xr:Cisco-ios-xr-string; + description + "Entity name"; + } + uses BGP-CONFIG-RELATIVES-BAG; + } + } + } + + grouping UPDATE-INBOUND-FILTER-PROCESS { + description + "Common node of instance-active, instance-standby"; + container update-inbound-filter-process { + description + "Update inbound filtering information for the + process"; + uses BGP-UPDFILTER-PROC-BAG; + } + } + + container bgp { + config false; + description + "BGP operational data"; + container config-instances { + description + "Instance specific BGP data"; + list config-instance { + key "instance-name"; + description + "Instance specific BGP data"; + container config-instance-default-vrf { + description + "Default VRF related configuration data"; + uses ENTITY-CONFIGURATION-TABLE; + uses CONFIGURATION-USER-TABLE; + uses CONFIGURATION-INHERITANCE-TABLE; + } + container config-vrfs { + description + "VRF related configuration data"; + list config-vrf { + key "vrf-name"; + description + "Configuration data for a particular VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF"; + } + uses ENTITY-CONFIGURATION-TABLE; + uses CONFIGURATION-USER-TABLE; + uses CONFIGURATION-INHERITANCE-TABLE; + } + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Name of the BGP instance"; + } + } + } + container instances { + description + "Instance specific BGP data"; + list instance { + key "instance-name"; + description + "Instance specific BGP data"; + container instance-active { + description + "Active BGP operational data"; + container label-entries { + description + "BGP Label Table"; + list label-entry { + key "label"; + description + "BGP Label Entry"; + leaf label { + type int32; + description + "Label index"; + } + uses BGP-LABEL-BAG; + } + } + container label-summary { + description + "BGP Label Summary"; + uses BGP-LABEL-SUMMARY-BAG; + } + container label-rpf-entries { + description + "BGP Label RPF Table"; + list label-rpf-entry { + key "label"; + description + "BGP Label RPF Entry"; + leaf label { + type int32; + description + "Label index"; + } + uses BGP-LABEL-RPF-BAG; + } + } + uses UPDATE-GENERATION-PROCESS; + uses RPKI-REFRESH-AF-TABLE; + uses VRF-TABLE; + uses DEFAULT-VRF; + uses UPDATE-INBOUND-FILTER-PROCESS; + uses ATTRIBUTE-TABLE; + uses RT-TABLE; + uses ATTRIBUTE-FILTER-GROUP-TABLE; + uses RPKI-SERVER-LIST; + uses RPKI-ROUTE-TABLE; + uses UPDATE-INBOUND-ERROR-PROCESS; + uses RPKI-SUMMARY; + } + container instance-standby { + description + "Standby BGP operational data"; + uses UPDATE-GENERATION-PROCESS; + uses RPKI-REFRESH-AF-TABLE; + uses VRF-TABLE; + uses DEFAULT-VRF; + uses UPDATE-INBOUND-FILTER-PROCESS; + uses ATTRIBUTE-TABLE; + uses RT-TABLE; + uses ATTRIBUTE-FILTER-GROUP-TABLE; + uses RPKI-SERVER-LIST; + uses RPKI-ROUTE-TABLE; + uses UPDATE-INBOUND-ERROR-PROCESS; + uses RPKI-SUMMARY; + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "Name of the BGP instance"; + } + } + } + container bpm-instances-table { + description + "BGP instances information"; + container bpm-instances { + description + "BGP instances information"; + uses BGP-INSTANCES-INFO-BAG; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-cinetd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-cinetd-cfg.yang new file mode 100644 index 0000000..b89c9be --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-cinetd-cfg.yang @@ -0,0 +1,54 @@ +module Cisco-IOS-XR-ipv4-cinetd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-cinetd-cfg"; + prefix ipv4-cinetd-cfg; + + import Cisco-IOS-XR-ip-tcp-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-cinetd package configuration. + + This YANG module augments the + Cisco-IOS-XR-ip-tcp-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-22 { + description + "IOS XR 6.4.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:ip/a1:cinetd" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ip-tcp-cfg'"; + leaf rate-limit { + type uint32 { + range "1..100"; + } + default "1"; + description + "Number of service requests accepted per second"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang new file mode 100644 index 0000000..817ed80 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-cfg.yang @@ -0,0 +1,2408 @@ +module Cisco-IOS-XR-ipv4-dhcpd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-cfg"; + prefix ipv4-dhcpd-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-dhcpd package configuration. + + This module contains definitions + for the following management objects: + ipv4-dhcpd: DHCP IPV4 configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv4dhcpd-client-id { + type uint32 { + range "1..4294967295"; + } + description + "Ipv4dhcpd client id"; + } + + typedef Dhcpv4-match-option { + type enumeration { + enum "60/60" { + value 60; + description + "Vendor class ID"; + } + enum "77/77" { + value 77; + description + "77 User class"; + } + enum "124/124" { + value 124; + description + "Vendor identifying class"; + } + enum "125/125" { + value 125; + description + "Vendor specific information"; + } + } + description + "Dhcpv4 match option"; + } + + typedef Ipv4dhcpd-layer { + type enumeration { + enum "layer2" { + value 2; + description + "Layer2"; + } + enum "layer3" { + value 3; + description + "Layer3"; + } + } + description + "Ipv4dhcpd layer"; + } + + typedef Dhcpv4-limit-lease1 { + type enumeration { + enum "interface" { + value 1; + description + "Interface"; + } + enum "circuit-id" { + value 2; + description + "Circuit ID"; + } + enum "remote-id" { + value 3; + description + "Remote ID"; + } + enum "circuit-id-remote-id" { + value 4; + description + "Circuit ID Remote ID"; + } + } + description + "Dhcpv4 limit lease1"; + } + + typedef Matchoption { + type enumeration { + enum "circuitid" { + value 1; + description + "Match circuit id of option 82 Relay-agent + specific class"; + } + enum "remoteid" { + value 2; + description + "Match remote id of option 82 Relay-agent + specific class"; + } + enum "60" { + value 60; + description + "Match option 60 vendor class id"; + } + enum "77" { + value 77; + description + "Match option 77 user class"; + } + enum "124" { + value 124; + description + "Match option 124 vendor-identifying vendor + class"; + } + enum "125" { + value 125; + description + "Match option 125 vendor-indentifying + vendor-specific info"; + } + } + description + "Matchoption"; + } + + typedef Ipv4dhcpd-giaddr-policy { + type enumeration { + enum "giaddr-policy-keep" { + value 0; + description + "Giaddr Policy Keep"; + } + } + description + "Ipv4dhcpd giaddr policy"; + } + + typedef Lease-limit-value { + type enumeration { + enum "per-interface" { + value 1; + description + "Insert the limit lease type interface"; + } + enum "per-circuit-id" { + value 2; + description + "Insert the limit lease type circuit-id"; + } + enum "per-remote-id" { + value 3; + description + "Insert the limit lease type remote-id"; + } + } + description + "Lease limit value"; + } + + typedef Dhcpv4-auth-username { + type enumeration { + enum "auth-username-mac" { + value 1; + description + "Authentication Username formating mac"; + } + enum "auth-username-giaddr" { + value 2; + description + "Authentication Username formating giaddr"; + } + } + description + "Dhcpv4 auth username"; + } + + typedef Proxy-action { + type enumeration { + enum "allow" { + value 0; + description + "Allow vendor specific DHCP Discover"; + } + enum "drop" { + value 1; + description + "Drop vendor specific DHCP Discover"; + } + enum "relay" { + value 2; + description + "Relay vendor-id specific DHCP packets unaltered"; + } + } + description + "Proxy action"; + } + + typedef Ipv4dhcpd-broadcast-flag-policy { + type enumeration { + enum "ignore" { + value 0; + description + "Ignore"; + } + enum "check" { + value 1; + description + "check"; + } + enum "unicast-always" { + value 2; + description + "Unicast always"; + } + } + description + "Ipv4dhcpd broadcast flag policy"; + } + + typedef Base-action { + type enumeration { + enum "allow" { + value 0; + description + "Allow vendor specific DHCP Discover"; + } + enum "drop" { + value 1; + description + "Drop vendor specific DHCP Discover"; + } + } + description + "Base action"; + } + + typedef Dhcpv4-limit-lease { + type uint32 { + range "1..240000"; + } + description + "Dhcpv4 limit lease"; + } + + typedef Ipv4dhcpd-mode { + type enumeration { + enum "base" { + value 0; + description + "Base"; + } + enum "relay" { + value 1; + description + "Relay"; + } + enum "snoop" { + value 2; + description + "Snoop"; + } + enum "server" { + value 3; + description + "Server"; + } + enum "proxy" { + value 4; + description + "Proxy"; + } + enum "base2" { + value 5; + description + "Base2"; + } + } + description + "Ipv4dhcpd mode"; + } + + typedef Matchaction { + type enumeration { + enum "allow" { + value 0; + description + "Allow DHCP Discover"; + } + enum "drop" { + value 1; + description + "Drop DHCP Discover"; + } + } + description + "Matchaction"; + } + + typedef Policy { + type enumeration { + enum "ignore" { + value 0; + description + "Ignore the broadcast policy"; + } + enum "check" { + value 1; + description + "Check for broadcast flag"; + } + enum "unicastalways" { + value 2; + description + "Always Unicast the reply"; + } + } + description + "Policy"; + } + + typedef Ipv4dhcpd-relay-info-optionvpn-mode { + type enumeration { + enum "rfc" { + value 0; + description + "RFC"; + } + enum "cisco" { + value 1; + description + "Cisco"; + } + } + description + "Ipv4dhcpd relay info optionvpn mode"; + } + + typedef Ipv4dhcpd-fmt { + type enumeration { + enum "no-format" { + value 0; + description + "Not a Format String"; + } + enum "format" { + value 1; + description + "Format String"; + } + } + description + "Ipv4dhcpd fmt"; + } + + typedef Ipv4dhcpd-relay-info-option-authenticate { + type enumeration { + enum "received" { + value 0; + description + "Received"; + } + enum "inserted" { + value 1; + description + "Inserted"; + } + } + description + "Ipv4dhcpd relay info option authenticate"; + } + + typedef Ipv4dhcpd-relay-info-option-policy { + type enumeration { + enum "replace" { + value 0; + description + "Replace"; + } + enum "keep" { + value 1; + description + "Keep"; + } + enum "drop" { + value 2; + description + "Drop"; + } + enum "encapsulate" { + value 3; + description + "Encapsulate"; + } + } + description + "Ipv4dhcpd relay info option policy"; + } + + typedef Ipv4dhcpd-fmt-specifier { + type enumeration { + enum "physical-chassis" { + value 1; + description + "Physical chassis"; + } + enum "physical-slot" { + value 2; + description + "Physical slot"; + } + enum "physical-sub-slot" { + value 3; + description + "Physical sub-slot"; + } + enum "physical-port" { + value 4; + description + "Physical port"; + } + enum "physical-sub-port" { + value 5; + description + "Physical sub-port"; + } + enum "inner-vlan-id" { + value 6; + description + "Inner VLAN ID"; + } + enum "outer-vlan-id" { + value 7; + description + "Outer VLAN ID"; + } + enum "l2-interface" { + value 8; + description + "L2 Interface"; + } + } + description + "Ipv4dhcpd fmt specifier"; + } + + typedef Mac-mismatch-action { + type enumeration { + enum "forward" { + value 0; + description + "Forward"; + } + enum "drop" { + value 1; + description + "Drop"; + } + } + description + "Mac mismatch action"; + } + + grouping OPTION-CODE-TABLE { + description + "Common node of server, class"; + container option-codes { + description + "Table of OptionCode"; + list option-code { + key "option-code"; + description + "DHCP option code"; + leaf option-code { + type uint32 { + range "0..255"; + } + description + "DHCP option code"; + } + leaf ascii-string { + type string; + description + "ASCII string"; + } + leaf hex-string { + type string; + description + "Hexadecimal string"; + } + leaf force-insert { + type int32; + description + "Set constant integer"; + } + leaf-list ip-address { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "Server's IP address"; + } + } + } + } + + container ipv4-dhcpd { + description + "DHCP IPV4 configuration"; + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF table"; + container profile { + presence "Indicates a profile node is configured."; + description + "Profile name and mode"; + leaf vrf-profile-name { + type string; + mandatory true; + description + "Profile name"; + } + leaf mode { + type Ipv4dhcpd-mode; + mandatory true; + description + "Dhcp mode"; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + } + } + container profiles { + description + "DHCP IPV4 Profile Table"; + list profile { + key "profile-name"; + description + "DHCP IPV4 Profile"; + container modes { + description + "DHCP IPV4 Profile modes"; + list mode { + key "mode"; + description + "DHCP IPV4 Profile mode"; + container snoop { + description + "DHCP Snoop profile"; + container relay-information-option { + description + "DHCP Snoop profile"; + container remote-id { + description + "Enter remote-id value"; + leaf format-type { + type uint32 { + range "1..2"; + } + description + "Format type, 1. Hex 2. ASCII"; + } + leaf remote-id-value { + type string; + description + "Enter remote-id value"; + } + } + leaf insert { + type empty; + description + "Insert Relay Agent Information circuit ID + and remote ID suboptions in client request"; + } + leaf allow-untrusted { + type empty; + description + "Forward untrusted packets"; + } + leaf policy { + type Ipv4dhcpd-relay-info-option-policy; + description + "Relay information option policy"; + } + } + leaf trusted { + type empty; + description + "Trusted sources"; + } + } + container base { + description + "DHCP Base Profile"; + container default-profile { + description + "Enable the default profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Profile name"; + } + leaf profile-mode { + type int32; + description + "none"; + } + } + container match { + description + "Insert match keyword"; + container option-filters { + description + "Table of Option"; + list option-filter { + key "matchoption pattern format"; + description + "Specify match option"; + leaf option-action { + type Base-action; + description + "Vendor action"; + } + leaf matchoption { + type int32; + description + "Match option 60"; + } + leaf pattern { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter hex pattern string"; + } + leaf format { + type int32; + description + "Set constant integer"; + } + } + } + container def-options { + description + "Table of Option"; + list def-option { + key "def-matchoption"; + description + "Specify match option"; + leaf def-matchoption { + type int32; + description + "Match option 60"; + } + leaf def-matchaction { + type Base-action; + mandatory true; + description + "Vendor action"; + } + } + } + } + container base-relay-opt { + description + "Insert Relay Agent Information circuit ID + and remote ID suboptions in client request"; + leaf remote-id { + type string { + length "1..256"; + } + description + "Enter remote-id value"; + } + leaf authenticate { + type int32; + description + "Specify Relay Agent Information Option + authenticate"; + } + } + container base-match { + description + "Insert match keyword"; + container options { + description + "Specify match option"; + list option { + key "opt60 opt60-hex-str format"; + description + "none"; + container option-profile { + description + "Enter a profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Profile name"; + } + leaf profile-mode { + type int32; + description + "none"; + } + } + leaf opt60 { + type int32; + description + "none"; + } + leaf opt60-hex-str { + type xr:Cisco-ios-xr-string; + description + "Enter hex pattern string"; + } + leaf format { + type int32; + description + "Set constant integer"; + } + } + } + } + leaf enable { + type empty; + description + "Enable the DHCP IPv4 Base Profile"; + } + } + container server { + description + "DHCP Server profile"; + container server-id-check { + description + "Validate server ID check"; + leaf check { + type empty; + description + "specify server-id-check disable"; + } + } + container lease-limit { + description + "Specify limit lease"; + leaf lease-limit-value { + type Lease-limit-value; + description + "Configure Lease limit value"; + } + leaf range { + type uint32 { + range "1..240000"; + } + description + "Value of limit lease count in Decimal"; + } + } + container requested-ip-address { + description + "Validate Requested IP Address"; + leaf check { + type empty; + description + "specify requested-ip-address-check disable"; + } + } + container aaa-server { + description + "Enable aaa dhcp option force-insert"; + container dhcp-option { + description + "Enable aaa dhcp option force-insert"; + leaf force-insert { + type empty; + description + "Enable aaa dhcp option force-insert"; + } + } + } + container default-routers { + description + "default routers"; + leaf-list default-router { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "Router's IP address"; + } + } + container net-bios-name-servers { + description + "NetBIOS name servers"; + leaf-list net-bios-name-server { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "NetBIOSNameServer's IP address"; + } + } + container match { + description + "Insert match keyword"; + container option-defaults { + description + "Table of OptionDefault"; + list option-default { + key "matchoption"; + description + "Specify match option"; + leaf matchoption { + type Matchoption; + description + "Match option 60"; + } + leaf matchaction { + type Matchaction; + mandatory true; + description + "Vendor action"; + } + } + } + container options { + description + "Table of Option"; + list option { + key "matchoption pattern format"; + description + "Specify match option"; + leaf matchoption { + type Matchoption; + description + "Match option 60"; + } + leaf pattern { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter hex pattern string"; + } + leaf format { + type int32; + description + "Set constant integer"; + } + leaf matchaction { + type Matchaction; + mandatory true; + description + "Vendor action"; + } + } + } + } + container broadcast-flag { + description + "None"; + leaf policy { + type Policy; + description + "Specify broadcast flag policy"; + } + } + container session { + description + "Change sessions configuration"; + container throttle-type { + description + "Throttle DHCP sessions based on MAC + address"; + container mac-throttle { + description + "Throttle DHCP sessions from any one MAC + address"; + leaf num-discover { + type uint32 { + range "1..65535"; + } + description + "Number of discovers at which to throttle"; + } + leaf num-request { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle request period (in secs)"; + } + leaf num-block { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle blocking period (in secs)"; + } + } + } + } + container classes { + description + "Table of Class"; + list class { + key "class-name"; + description + "Create or enter server profile class"; + container default-routers { + description + "default routers"; + leaf-list default-router { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "Router's IP address"; + } + } + container net-bios-name-servers { + description + "NetBIOS name servers"; + leaf-list net-bios-name-server { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "NetBIOSNameServer's IP address"; + } + } + container class-match { + description + "Insert match keyword"; + container class-options { + description + "Table of Class-Option"; + list class-option { + key "matchoption"; + description + "Specify match option"; + leaf matchoption { + type Matchoption; + description + "Match options"; + } + leaf pattern { + type string { + length "1..64"; + } + description + "Enter hex pattern string"; + } + leaf bit-mask { + type string { + length "1..64"; + } + description + "Enter bit mask pattern string"; + } + } + } + leaf l2-interface { + type xr:Interface-name; + description + "Specify match l2-interface"; + } + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Specify match VRF"; + } + } + container lease { + description + "lease"; + leaf infinite { + type string; + description + "Set string"; + } + leaf days { + type uint32 { + range "0..365"; + } + units "day"; + description + "Days"; + } + leaf hours { + type uint32 { + range "0..23"; + } + units "hour"; + description + "Hours"; + } + leaf minutes { + type uint32 { + range "1..59"; + } + units "minute"; + description + "Minutes"; + } + } + container netbios-node-type { + description + "NetBIOS node type"; + leaf broadcast-node { + type string; + description + "Set string"; + } + leaf hybrid-node { + type string; + description + "Set string"; + } + leaf mixed-node { + type string; + description + "Set string"; + } + leaf peer-to-peer-node { + type string; + description + "Set string"; + } + leaf hexadecimal { + type xr:Hex-integer; + description + "Hexadecimal number"; + } + } + container dns-servers { + description + "DNS servers"; + leaf-list dns-server { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "DNS Server's IP address"; + } + } + leaf subnet-mask { + type inet:ipv4-address-no-zone; + description + "Configure Subnet Mask"; + } + leaf pool { + type string; + description + "Specify the pool"; + } + leaf enable { + type empty; + description + "Enable Create or enter server profile + class. Deletion of this object also + causes deletion of all associated objects + under Class."; + } + leaf domain-name { + type xr:Cisco-ios-xr-string { + length "1..256"; + } + description + "Domain name"; + } + leaf boot-filename { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Boot Filename"; + } + leaf next-server { + type inet:ipv4-address-no-zone; + description + "Configure the tftp-server IP to be used + by the client"; + } + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "class name"; + } + uses OPTION-CODE-TABLE; + } + } + container relay { + description + "Specify Relay Agent Information Option + configuration"; + leaf authenticate { + type int32; + description + "Specify Relay Agent Information Option + authenticate"; + } + } + container lease { + description + "lease"; + leaf infinite { + type string; + description + "Set string"; + } + leaf days { + type uint32 { + range "0..365"; + } + units "day"; + description + "Days"; + } + leaf hours { + type uint32 { + range "0..23"; + } + units "hour"; + description + "Hours"; + } + leaf minutes { + type uint32 { + range "1..59"; + } + units "minute"; + description + "Minutes"; + } + } + container netbios-node-type { + description + "NetBIOS node type"; + leaf broadcast-node { + type string; + description + "Set string"; + } + leaf hybrid-node { + type string; + description + "Set string"; + } + leaf mixed-node { + type string; + description + "Set string"; + } + leaf peer-to-peer-node { + type string; + description + "Set string"; + } + leaf hexadecimal { + type xr:Hex-integer; + description + "Hexadecimal number"; + } + } + container dns-servers { + description + "DNS servers"; + leaf-list dns-server { + type inet:ipv4-address-no-zone; + max-elements "8"; + description + "DNS Server's IP address"; + } + } + leaf server-allow-move { + type empty; + description + "Allow dhcp subscriber move"; + } + leaf enable { + type empty; + description + "DHCP IPV4 profile mode enable"; + } + leaf subnet-mask { + type inet:ipv4-address-no-zone; + description + "Configure Subnet Mask"; + } + leaf pool { + type string { + length "1..64"; + } + description + "Specify the Pool name"; + } + leaf domain-name { + type xr:Cisco-ios-xr-string { + length "1..256"; + } + description + "Domain name"; + } + leaf secure-arp { + type empty; + description + "Enable Secure Arp"; + } + leaf boot-filename { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Boot Filename"; + } + leaf next-server { + type inet:ipv4-address-no-zone; + description + "Configure the tftp-server IP to be used by + the client"; + } + uses OPTION-CODE-TABLE; + } + container relay { + description + "DHCP Relay profile"; + container gi-addr-policy { + description + "GIADDR policy"; + leaf policy { + type Ipv4dhcpd-giaddr-policy; + description + "GIADDR policy"; + } + } + container vrfs { + description + "VRF Helper Addresses"; + list vrf { + key "vrf-name"; + description + "VRF Name"; + container helper-addresses { + description + "Helper Addresses"; + list helper-address { + key "ip-address"; + description + "Helper Address"; + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "IPV4 Address"; + } + leaf enable { + type empty; + description + "Enable helper - deprecated"; + } + leaf gateway-address { + type inet:ipv4-address-no-zone; + description + "GatewayAddress"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + } + } + container relay-information-option { + description + "Relay agent information option"; + leaf vpn-mode { + type Ipv4dhcpd-relay-info-optionvpn-mode; + description + "VPN Mode"; + } + leaf subscriber-id { + type string; + description + "Subscriber ID"; + } + leaf insert { + type empty; + description + "Insert Relay Agent Information circuit ID + and remote ID suboptions in client + requests"; + } + leaf check { + type empty; + description + "Check Relay Agent Information Option in + server reply"; + } + leaf vpn { + type empty; + description + "Insert VPN options"; + } + leaf allow-untrusted { + type empty; + description + "Forward untrusted packets"; + } + leaf policy { + type Ipv4dhcpd-relay-info-option-policy; + description + "Relay information option policy"; + } + } + container broadcast-policy { + description + "Broadcast Flag policy"; + leaf policy { + type Ipv4dhcpd-broadcast-flag-policy; + description + "Broadcast flag policy"; + } + } + leaf mac-mismatch-action { + type Mac-mismatch-action; + description + "Action to take if L2 header source Mac and + dhcp header mac address don't match"; + } + } + container proxy { + description + "DHCP proxy profile"; + container giaddr { + description + "Specify gateway address policy"; + leaf policy { + type Ipv4dhcpd-giaddr-policy; + description + "Gateway address policy"; + } + } + container classes { + description + "DHCP class table"; + list class { + key "class-name"; + description + "DHCP class"; + container match { + description + "Match option"; + container option { + description + "Match option"; + leaf option-type { + type Dhcpv4-match-option; + description + "Match option"; + } + leaf pattern { + type string; + description + "Hex pattern string"; + } + leaf bit-mask { + type string; + description + "Bit mask pattern"; + } + } + leaf vrf { + type string; + description + "Match VRF name"; + } + } + container vrfs { + description + "List of VRFs"; + list vrf { + key "vrf-name"; + description + "VRF name"; + container helper-addresses { + description + "Helper addresses"; + list helper-address { + key "server-address"; + description + "Helper address"; + leaf server-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + leaf gateway-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Gateway address"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + leaf enable { + type empty; + description + "Enable the DHCP IPV4 proxy class"; + } + leaf class-name { + type xr:Cisco-ios-xr-string; + description + "Class name"; + } + } + } + container auth-username { + presence "Indicates a auth-username node is configured."; + description + "Authentication Username formating"; + leaf arg1 { + type Dhcpv4-auth-username; + mandatory true; + description + "Username Formatting first argument "; + } + leaf arg2 { + type Dhcpv4-auth-username; + description + "Username Formatting second argument "; + } + } + container relay-information { + description + "Relay agent information option"; + leaf option { + type empty; + description + "Insert relay rgent information circuit ID + and remote ID suboptions in client + requests"; + } + leaf vpn { + type empty; + description + "Insert VPN options"; + } + leaf allow-untrusted { + type empty; + description + "Forward untrusted packets"; + } + leaf circuit-id { + type empty; + description + "Insert Circuit-id sub-option"; + } + leaf policy { + type Ipv4dhcpd-relay-info-option-policy; + description + "Relay information option policy"; + } + leaf vpn-mode { + type Ipv4dhcpd-relay-info-optionvpn-mode; + description + "VPN Mode"; + } + leaf remote-id-xr { + type empty; + description + "Insert Remote-id sub-option"; + } + leaf remote-id-suppress { + type empty; + description + "Suppress Remote ID"; + } + leaf check { + type empty; + description + "Check relay agent information option in + server reply"; + } + leaf remote-id { + type string; + description + "Remote ID"; + } + leaf authenticate { + type Ipv4dhcpd-relay-info-option-authenticate; + description + "Relay information option authenticate"; + } + } + container dhcp-to-aaa { + description + "Enable to provide the list of options need + to send to aaa"; + container option { + description + "option type"; + container list { + description + "List of options"; + leaf option-all { + type int32; + description + "option all"; + } + leaf-list option { + type uint32 { + range "1..255"; + } + max-elements "12"; + description + "List of options"; + } + } + } + } + container vrfs { + description + "List of VRFs"; + list vrf { + key "vrf-name"; + description + "VRF name"; + container helper-addresses { + description + "Helper addresses"; + list helper-address { + key "server-address"; + description + "Helper address"; + leaf server-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address"; + } + leaf gateway-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Gateway address"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container sessions { + description + "Change sessions configuration"; + container proxy-throttle-type { + description + "Throttle DHCP sessions based on MAC + address"; + container proxy-mac-throttle { + description + "Throttle DHCP sessions from any one MAC + address"; + leaf num-discover { + type uint32 { + range "1..65535"; + } + description + "Number of discovers at which to throttle"; + } + leaf num-request { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle request period (in secs)"; + } + leaf num-block { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle blocking period (in secs)"; + } + } + } + } + container limit-lease { + presence "Indicates a limit-lease node is configured."; + description + "Proxy limit lease"; + leaf limit-type { + type Dhcpv4-limit-lease1; + mandatory true; + description + "Lease limit type"; + } + leaf limit-lease-count { + type Dhcpv4-limit-lease; + mandatory true; + description + "Limit lease count"; + } + } + container lease-proxy { + description + "DHCPv4 lease proxy"; + leaf client-lease-time { + type uint32 { + range "300..4294967295"; + } + description + "Specify client lease proxy time"; + } + leaf set-server-options { + type empty; + description + "Set DHCP server sent options in lease + proxy generating ACK"; + } + } + container broadcast-flag { + description + "Specify broadcast flag"; + leaf policy { + type Ipv4dhcpd-broadcast-flag-policy; + description + "Broadcast flag policy"; + } + } + container match { + description + "Insert match keyword"; + container def-options { + description + "Table of Option"; + list def-option { + key "def-matchoption"; + description + "Specify match option"; + leaf def-matchoption { + type int32; + description + "Match option 60"; + } + leaf def-matchaction { + type Proxy-action; + mandatory true; + description + "Vendor action"; + } + } + } + container option-filters { + description + "Table of Option"; + list option-filter { + key "matchoption pattern format"; + description + "Specify match option"; + leaf matchoption { + type int32; + description + "Match option 60"; + } + leaf pattern { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter hex pattern string"; + } + leaf format { + type int32; + description + "Set constant integer"; + } + leaf matchaction { + type Proxy-action; + mandatory true; + description + "Vendor action"; + } + } + } + } + leaf proxy-allow-move { + type empty; + description + "Allow dhcp subscriber move"; + } + leaf secure-arp { + type empty; + description + "DHCP IPV4 profile proxy secure-arp enable"; + } + leaf delayed-authen-proxy { + type empty; + description + "For BNG session, delay the authentication"; + } + leaf enable { + type empty; + description + "DHCP IPV4 profile mode enable"; + } + } + leaf enable { + type empty; + description + "Enable the DHCP IPV4 Profile mode"; + } + leaf mode { + type Ipv4dhcpd-mode; + description + "DHCP IPV4 Profile mode"; + } + } + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile Name"; + } + } + } + container database { + description + "Enable DHCP binding database storage to file + system"; + leaf proxy { + type empty; + description + "Enable DHCP proxy binding database storage to + file system"; + } + leaf server { + type empty; + description + "Enable DHCP server binding database storage to + file system"; + } + leaf snoop { + type empty; + description + "Enable DHCP snoop binding database storage to + file system"; + } + leaf full-write-interval { + type uint32 { + range "1..1440"; + } + default "10"; + description + "Full file write interval (default 10 minutes)"; + } + leaf incremental-write-interval { + type uint32 { + range "1..1440"; + } + default "1"; + description + "Incremental file write interval (default 1 + minutes)"; + } + } + container interfaces { + description + "DHCP IPV4 Interface Table"; + list interface { + key "interface-name"; + description + "DHCP IPV4 Interface"; + container proxy-interface { + description + "DHCP IPv4 proxy information"; + container dhcp-circuit-id { + presence "Indicates a dhcp-circuit-id node is configured."; + description + "Circuit ID value"; + leaf circuit-id { + type string; + mandatory true; + description + "DHCP IPv4 circuit ID value"; + } + leaf format { + type Ipv4dhcpd-fmt; + mandatory true; + description + "Format String"; + } + leaf argument1 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument2 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument3 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument4 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument5 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument6 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument7 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument8 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument9 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument10 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument11 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument12 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument13 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument14 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument15 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument16 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + } + leaf profile { + type string; + description + "Interface profile name"; + } + } + container base-interface { + description + "DHCP IPv4 Base profile information"; + container base-dhcp-circuit-id { + presence "Indicates a base-dhcp-circuit-id node is configured."; + description + "Circuit ID value"; + leaf circuit-id { + type string; + mandatory true; + description + "DHCP IPv4 circuit ID value"; + } + leaf format { + type Ipv4dhcpd-fmt; + mandatory true; + description + "Format String"; + } + leaf argument1 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument2 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument3 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument4 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument5 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument6 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument7 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument8 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument9 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument10 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument11 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument12 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument13 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument14 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument15 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument16 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + } + leaf profile { + type string; + description + "Interface profile name"; + } + } + container relay-interface { + description + "DHCP IPv4 relay information"; + container relay-dhcp-circuit-id { + presence "Indicates a relay-dhcp-circuit-id node is configured."; + description + "Circuit ID value"; + leaf circuit-id { + type string; + mandatory true; + description + "DHCP IPv4 circuit ID value"; + } + leaf format { + type Ipv4dhcpd-fmt; + mandatory true; + description + "Format String"; + } + leaf argument1 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument2 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument3 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument4 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument5 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument6 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument7 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument8 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument9 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument10 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument11 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument12 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument13 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument14 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument15 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument16 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + } + } + container static-mode { + description + "Static Table Entries containing MAC address to + IP address bindings"; + container statics { + description + "Static Table Entries containing MAC address + to IP address bindings"; + list static { + key "mac-address client-id layer"; + description + "DHCP static binding of Mac address to IP + address"; + leaf mac-address { + type yang:mac-address; + description + "MACAddress"; + } + leaf client-id { + type Ipv4dhcpd-client-id; + description + "Client Id"; + } + leaf layer { + type Ipv4dhcpd-layer; + description + "DHCP IPV4 Static layer"; + } + leaf static-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP address"; + } + } + } + } + container profile { + presence "Indicates a profile node is configured."; + description + "Profile name and mode"; + leaf profile-name { + type string; + mandatory true; + description + "Profile name"; + } + leaf mode { + type Ipv4dhcpd-mode; + mandatory true; + description + "DHCP mode"; + } + } + container server-interface { + description + "DHCP IPv4 Server information"; + container server-dhcp-circuit-id { + presence "Indicates a server-dhcp-circuit-id node is configured."; + description + "Circuit ID value"; + leaf circuit-id { + type string; + mandatory true; + description + "DHCP IPv4 circuit ID value"; + } + leaf format { + type Ipv4dhcpd-fmt; + mandatory true; + description + "Format String"; + } + leaf argument1 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument2 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument3 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument4 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument5 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument6 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument7 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument8 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument9 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument10 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument11 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument12 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument13 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument14 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument15 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + leaf argument16 { + type Ipv4dhcpd-fmt-specifier; + description + "Argument"; + } + } + leaf profile { + type string; + description + "Interface profile name"; + } + } + container snoop-interface { + description + "DHCP IPv4 snoop information"; + container snoop-circuit-id { + description + "Configure circuit ID for snoop 1. Hex 2. + ASCII"; + leaf format-type { + type uint32 { + range "1..2"; + } + description + "Format type, 1. Hex 2. ASCII"; + } + leaf circuit-id-value { + type string; + description + "Enter circuit-id value"; + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container duplicate-mac-allowed { + presence "Indicates a duplicate-mac-allowed node is configured."; + description + "Allow Duplicate MAC Address"; + leaf duplicate-mac { + type empty; + mandatory true; + description + "Duplicate mac is allowed"; + } + leaf exclude-vlan { + type empty; + description + "Exclude vlan"; + } + leaf include-giaddr { + type empty; + description + "Include giaddr"; + } + } + container rate-limit { + description + "Rate limit ingress packets"; + leaf num-period { + type uint32 { + range "1..1000"; + } + default "200"; + description + "Rate limiter period in msec (default: 200 msec)"; + } + leaf num-discover { + type uint32 { + range "0..1000"; + } + default "100"; + description + "Max DISCOVER packets per rate-limiter period + (default 100)"; + } + } + leaf enable { + type empty; + description + "DHCP IPV4 configuration"; + } + leaf outer-cos { + type uint32 { + range "0..7"; + } + description + "Configure outer cos values for dhcp packets"; + } + leaf allow-client-id-change { + type empty; + description + "For BNG session, allow client id change for a + client MAC"; + } + leaf inner-cos { + type uint32 { + range "0..7"; + } + description + "Configure inner cos values for dhcp packets"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang new file mode 100644 index 0000000..b8ea584 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub1.yang @@ -0,0 +1,1644 @@ +submodule Cisco-IOS-XR-ipv4-dhcpd-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-dhcpd-oper { + prefix Cisco-IOS-XR-ipv4-dhcpd-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-dhcpd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vrf-string { + type string { + length "0..33"; + } + description + "Vrf string"; + } + + typedef Dhcp-issu-version { + type enumeration { + enum "version1" { + value 0; + description + "Version 1"; + } + enum "version2" { + value 1; + description + "Version 2"; + } + } + description + "Dhcp issu version"; + } + + typedef Dhcp-issu-phase { + type enumeration { + enum "phase-not-started" { + value 0; + description + "An ISSU event has not started"; + } + enum "phase-load" { + value 1; + description + "ISSU Load Phase"; + } + enum "phase-run" { + value 2; + description + "ISSU Run Phase"; + } + enum "phase-completed" { + value 3; + description + "An ISSU event has completed successfully"; + } + enum "phase-aborted" { + value 4; + description + "An ISSU event has aborted"; + } + } + description + "Dhcp issu phase"; + } + + typedef Dhcp-issu-role { + type enumeration { + enum "role-primary" { + value 0; + description + "Primary role"; + } + enum "role-secondary" { + value 1; + description + "Secondary role"; + } + } + description + "Dhcp issu role"; + } + + typedef Bag-dhcpd-intf-srg-role { + type enumeration { + enum "none" { + value 0; + description + "DHCPv4 Interface SRG role NONE"; + } + enum "master" { + value 1; + description + "DHCPv4 Interface SRG role Master"; + } + enum "slave" { + value 2; + description + "DHCPv4 Interface SRG role Slave"; + } + } + description + "Bag dhcpd intf srg role"; + } + + typedef Bag-dhcpd-proxy-state { + type enumeration { + enum "initializing" { + value 0; + description + "Initializing"; + } + enum "selecting" { + value 1; + description + "Selecting"; + } + enum "requesting" { + value 2; + description + "Requesting"; + } + enum "bound" { + value 3; + description + "Bound"; + } + enum "renewing" { + value 4; + description + "Renewing"; + } + enum "informing" { + value 5; + description + "Informing"; + } + enum "deleting" { + value 6; + description + "Deleting"; + } + enum "create-dpm" { + value 7; + description + "Create dpm"; + } + enum "offer-sent" { + value 8; + description + "Offer sent"; + } + enum "update-dpm" { + value 9; + description + "Update dpm"; + } + enum "route-install" { + value 10; + description + "Route install"; + } + enum "disc-dpm" { + value 11; + description + "Disc dpm"; + } + enum "renew-new-intf" { + value 12; + description + "Renew new intf"; + } + enum "other-intf-dpm" { + value 13; + description + "Other intf dpm"; + } + enum "request-dpm" { + value 14; + description + "Request dpm"; + } + enum "change-addr-dpm" { + value 15; + description + "Change addr dpm"; + } + enum "max" { + value 16; + description + "Max"; + } + } + description + "Bag dhcpd proxy state"; + } + + typedef Proxy-lease-limit { + type enumeration { + enum "none" { + description + "Proxy lease limit type none"; + } + enum "interface" { + description + "Proxy lease limit type interface"; + } + enum "circuit-id" { + description + "Proxy lease limit type circuit ID"; + } + enum "remote-id" { + description + "Proxy lease limit type remote ID"; + } + enum "remote-id-circuit-id" { + description + "Proxy lease limit type remote ID + circuit ID"; + } + } + description + "Proxy profile lease limit type"; + } + + typedef Broadcast-flag { + type enumeration { + enum "ignore" { + description + "Broadcast policy ignore"; + } + enum "check" { + description + "Broadcast policy check"; + } + enum "unicast-always" { + description + "Broadcast policy unicast always"; + } + } + description + "Proxy profile broadcast flag"; + } + + typedef Relay-info-vpn-mode { + type enumeration { + enum "rfc" { + description + "RFC Mode"; + } + enum "cisco" { + description + "Cisco Mode"; + } + } + description + "Relay Info Vpn Mode"; + } + + typedef Relay-info-authenticate { + type enumeration { + enum "received" { + description + "Relay authenticate received"; + } + enum "inserted" { + description + "Relay authenticate inserted"; + } + } + description + "Profile relay authenticate"; + } + + typedef Relay-info-policy { + type enumeration { + enum "replace" { + description + "Relay policy replace"; + } + enum "keep" { + description + "Relay policy keep"; + } + enum "drop" { + description + "Relay policy drop"; + } + enum "encapsulate" { + description + "Relay policy encapsulate"; + } + } + description + "Proxy profile relay policy"; + } + + typedef String1 { + type string { + length "0..33"; + } + description + "String1"; + } + + grouping IPV4-DHCPD-RELAY-FILTERED-STATS { + description + "DHCP IPv4 filtered statistics"; + leaf received-packets { + type uint64; + description + "Received packets"; + } + leaf transmitted-packets { + type uint64; + description + "Transmitted packets"; + } + leaf dropped-packets { + type uint64; + description + "Dropped packets"; + } + } + + grouping IPV4-DHCPD-RELAY-STATS { + description + "ipv4 dhcpd relay stats parameters"; + list ipv4-dhcpd-relay-stat { + description + "ipv4 dhcpd relay stat"; + container statistics { + description + "Public relay statistics"; + uses IPV4-DHCPD-RELAY-FILTERED-STATS; + } + leaf relay-statistics-vrf-name { + type string { + length "0..33"; + } + description + "DHCP L3 VRF Name"; + } + } + } + + grouping IPV4-DHCPD-RELAY-STATS-INFO { + description + "ipv4 dhcpd relay stats info"; + leaf relay-stats-timestamp { + type uint32; + description + "Relay Stats timestamp"; + } + } + + grouping IPV4-DHCPD-RELAY-PROFILE { + description + "ipv4 dhcpd relay profile parameters"; + leaf relay-profile-name { + type string { + length "0..65"; + } + description + "Profile Name"; + } + leaf relay-profile-uid { + type uint32; + description + "Profile UID"; + } + leaf relay-profile-helper-count { + type uint8; + description + "Helper address count"; + } + leaf relay-profile-relay-info-option { + type uint8; + description + "Relay info option"; + } + leaf relay-profile-relay-info-policy { + type uint8; + description + "Relay info policy"; + } + leaf relay-profile-relay-info-allow-untrusted { + type uint8; + description + "Relay info untrusted"; + } + leaf relay-profile-relay-info-optionvpn { + type uint8; + description + "Relay info option vpn"; + } + leaf relay-profile-relay-info-optionvpn-mode { + type Relay-info-vpn-mode; + description + "Relay info option vpn-mode"; + } + leaf relay-profile-relay-info-check { + type uint8; + description + "Relay info check"; + } + leaf relay-profile-gi-addr-policy { + type uint8; + description + "GIADDR policy"; + } + leaf relay-profile-broadcast-flag-policy { + type uint8; + description + "Broadcast policy"; + } + leaf relay-profile-mac-mismatch-action { + type uint8; + description + "Mac Mismatch Action"; + } + leaf-list relay-profile-helper-address { + type inet:ipv4-address; + max-elements "32"; + description + "Helper addresses"; + } + leaf-list relay-profile-helper-vrf { + type Vrf-string; + max-elements "32"; + description + "Helper address vrfs"; + } + leaf-list relay-profile-gi-addr { + type inet:ipv4-address; + max-elements "32"; + description + "Gateway addresses"; + } + } + + grouping IPV4-DHCPD-SERVER-PROFILE { + description + "ipv4 dhcpd server profile parameters"; + leaf server-profile-name-xr { + type string { + length "0..65"; + } + description + "Profile Name"; + } + leaf secure-arp { + type boolean; + description + "Secure ARP"; + } + leaf requested-address-check { + type boolean; + description + "Requested Address Check"; + } + leaf server-id-check { + type boolean; + description + "Server ID Check"; + } + leaf duplicate-mac-address-check { + type boolean; + description + "Duplicate MAC Address Check"; + } + leaf duplicate-ip-address-check { + type boolean; + description + "Duplicate IP Address Check"; + } + leaf is-move-allowed { + type boolean; + description + "Is true if dhcp subscriber is allowed to move"; + } + leaf bcast-policy { + type uint8; + description + "Bcast Policy"; + } + leaf giaddr-policy { + type uint8; + description + "Giaddr Policy"; + } + leaf subnet-mask { + type inet:ipv4-address; + description + "Subnet Mask"; + } + leaf server-pool-name { + type string { + length "0..65"; + } + description + "Pool Name"; + } + leaf server-profile-lease { + type uint32; + description + "Lease"; + } + leaf server-profile-netbios-node-type { + type uint8; + description + "Server netbios node type"; + } + leaf server-bootfile-name { + type string { + length "0..256"; + } + description + "Server Bootfile name"; + } + leaf server-domain-name { + type string { + length "0..256"; + } + description + "Server Domain name"; + } + leaf server-profileiedge-check { + type uint8; + description + "Server iEdge Check"; + } + leaf server-profile-server-dns-count { + type uint8; + description + "Server DNS Count"; + } + leaf server-profiledefault-router-count { + type uint8; + description + "Server default count "; + } + leaf server-profile-netbios-name-svr-count { + type uint8; + description + "Server netbios svr count "; + } + leaf server-profile-time-svr-count { + type uint8; + description + "Server time svr count "; + } + leaf lease-limit-type { + type uint8; + description + "Lease Limit Type"; + } + leaf lease-limit-count { + type uint32; + description + "Lease Limit Count"; + } + leaf-list server-profile-dns { + type inet:ipv4-address; + max-elements "9"; + description + "Server DNS addresses"; + } + leaf-list server-profile-default-router { + type inet:ipv4-address; + max-elements "9"; + description + "Server default addresses"; + } + leaf-list server-profile-netbious-name-server { + type inet:ipv4-address; + max-elements "9"; + description + "Server netbios addresses"; + } + leaf-list server-profile-time-server { + type inet:ipv4-address; + max-elements "9"; + description + "Server Time addresses"; + } + } + + grouping IPV4-DHCPD-DATABASE { + description + "IPv4 DHCP database"; + leaf configured { + type boolean; + description + "Database feature configured"; + } + leaf version { + type uint32; + description + "Current file version"; + } + leaf full-file-write-interval { + type uint32; + units "minute"; + description + "Full file write interval in minutes"; + } + leaf last-full-write-file-name { + type string { + length "0..64"; + } + description + "Last full write file name"; + } + leaf last-full-write-time { + type uint32; + description + "Last full write time since epoch"; + } + leaf full-file-write-count { + type uint32; + description + "Full file write count"; + } + leaf failed-full-file-write-count { + type uint32; + description + "Failed full file write count"; + } + leaf full-file-record-count { + type uint32; + description + "Full file record count"; + } + leaf last-full-file-write-error-timestamp { + type uint32; + description + "Last full file write error timestamp since epoch"; + } + leaf incremental-file-write-interval { + type uint32; + units "minute"; + description + "Incremental file write interval in minutes"; + } + leaf last-incremental-write-file-name { + type string { + length "0..64"; + } + description + "Last incremental write file name"; + } + leaf last-incremental-write-time { + type uint32; + description + "Last incremental write time since epoch"; + } + leaf incremental-file-write-count { + type uint32; + description + "Incremental file write count"; + } + leaf failed-incremental-file-write-count { + type uint32; + description + "Failed incremental file write count"; + } + leaf incremental-file-record-count { + type uint32; + description + "Incremental file record count"; + } + leaf last-incremental-file-write-error-timestamp { + type uint32; + description + "Last incremental file write error timestamp + since epoch"; + } + } + + grouping IPV4-DHCPD-BASE-CHILD-PROFILE-INFO { + description + "ipv4 dhcpd base child profile information"; + list ipv4-dhcpd-base-child-profile-info { + description + "ipv4 dhcpd base child profile info"; + leaf base-child-profile-name { + type string { + length "0..65"; + } + description + "Base Child Profile name"; + } + leaf mode { + type uint8; + description + "Profile mode"; + } + leaf matched-option-code { + type uint8; + description + "Matched option code"; + } + leaf matched-option-len { + type uint8; + description + "Matched option len"; + } + leaf option-data { + type yang:hex-string; + description + "Matched option data"; + } + } + } + + grouping IPV4-DHCPD-BASE-INTERFACE-REFERENCE { + description + "ipv4 dhcpd base profile reference"; + list ipv4-dhcpd-base-interface-reference { + description + "ipv4 dhcpd base interface reference"; + leaf base-reference-interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + } + } + + grouping IPV4-DHCPD-BASE-PROFILE { + description + "IPv4 dhcpd base profile parameters"; + container interface-references { + description + "Interface references"; + uses IPV4-DHCPD-BASE-INTERFACE-REFERENCE; + } + container child-profile-info { + description + "child profile info"; + uses IPV4-DHCPD-BASE-CHILD-PROFILE-INFO; + } + leaf base-default-profile-name { + type string { + length "0..65"; + } + description + "Base Default Profile name"; + } + leaf default-profile-mode { + type uint8; + description + "Default Profile mode"; + } + leaf relay-authenticate { + type Relay-info-authenticate; + description + "Relay authenticate"; + } + leaf remote-id { + type string { + length "0..768"; + } + description + "DHCP configured Remote ID"; + } + leaf child-profile-count { + type uint8; + description + "Child profile count"; + } + leaf intf-ref-count { + type uint8; + description + "Interface reference count"; + } + } + + grouping DHCPD-ISSU-STATUS-INFO { + description + "DHCP ISSU Status"; + leaf issu-sync-complete-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU sync complete in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf issu-sync-start-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU sync start in nanoseconds + since Epoch, i.e. since 00:00:00 UTC, January 1, + 1970"; + } + leaf issu-ready-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU ready declaration in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf big-bang-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the Big Bang notification time in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf primary-role-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the change to Primary role + notification time in nanoseconds since Epoch, i + .e. since 00:00:00 UTC, January 1, 1970"; + } + leaf role { + type Dhcp-issu-role; + description + "The current role of the DHCP process"; + } + leaf phase { + type Dhcp-issu-phase; + description + "The current ISSU phase of the DHCP process"; + } + leaf version { + type Dhcp-issu-version; + description + "The current version of the DHCP process in the + context of an ISSU"; + } + leaf issu-ready-issu-mgr-connection { + type boolean; + description + "Whether or not DHCP is currently connected to + ISSU Manager during the ISSU Load Phase"; + } + leaf issu-ready-entries-replicate { + type boolean; + description + "Whether or not DHCP has received all replicated + entries during the ISSU Load Phase"; + } + } + + grouping IPV4-DHCPD-PROXY-INTERFACE { + description + "ipv4 dhcpd proxy interface"; + leaf intf-ifhandle { + type uint32; + description + "Ifhandle of the interface"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + leaf intf-mode { + type uint32; + description + "Mode of interface"; + } + leaf intf-is-ambiguous { + type uint32; + description + "Is interface ambiguous"; + } + leaf intf-profile-name { + type string { + length "0..65"; + } + description + "Name of profile attached to the interface"; + } + leaf intf-lease-limit-type { + type uint32; + description + "Lease limit type on interface"; + } + leaf intf-lease-limit-count { + type uint32; + description + "Lease limit count on interface"; + } + leaf srg-role { + type Bag-dhcpd-intf-srg-role; + description + "DHCPv6 Interface SRG role"; + } + leaf mac-throttle { + type boolean; + description + "Mac Throttle Status"; + } + } + + grouping IPV4-DHCPD-PROXY-BINDINGS-SUMMARY { + description + "DHCP IPv4 proxy bindings summary"; + leaf clients { + type uint32; + description + "Total number of clients"; + } + leaf initializing-clients { + type uint32; + description + "Number of clients in init state"; + } + leaf waiting-for-dpm-init { + type uint32; + description + "Number of clients in Init DPM wait state"; + } + leaf waiting-for-dpm-request { + type uint32; + description + "Number of clients in Request DPM wait state"; + } + leaf waiting-for-daps-init { + type uint32; + description + "Number of clients in Init DAPS wait state"; + } + leaf selecting-clients { + type uint32; + description + "Number of clients in selecting state"; + } + leaf offer-sent-for-client { + type uint32; + description + "Number of clients in Offer sent state"; + } + leaf requesting-clients { + type uint32; + description + "Number of clients in requesting state"; + } + leaf request-waiting-for-dpm { + type uint32; + description + "Number of clients in Waiting for DPM with + Request"; + } + leaf ack-waiting-for-dpm { + type uint32; + description + "Number of clients in Waiting for DPM with ACK"; + } + leaf bound-clients { + type uint32; + description + "Number of clients in bound state"; + } + leaf renewing-clients { + type uint32; + description + "Number of clients in renewing state"; + } + leaf informing-clients { + type uint32; + description + "Number of clients in informing state"; + } + leaf reauthorizing-clients { + type uint32; + description + "Number of clients in reauth state"; + } + leaf waiting-for-dpm-disconnect { + type uint32; + description + "Number of clients in waiting for DPM disconnect + state"; + } + leaf waiting-for-dpm-addr-change { + type uint32; + description + "Number of clients in Waiting for DPM after addr + change"; + } + leaf deleting-clients-d { + type uint32; + description + "Number of clients in deleting state"; + } + leaf disconnected-clients { + type uint32; + description + "Number of clients in disconnected state"; + } + leaf restarting-clients { + type uint32; + description + "Number of clients in restarting state"; + } + } + + grouping IPV4-DHCPD-PROXY-BINDING { + description + "DHCP IPv4 proxy binding entry"; + leaf client-id-xr { + type string { + length "0..1275"; + } + description + "DHCP client identifier"; + } + leaf mac-address { + type string; + description + "DHCP client MAC address"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCP client/subscriber VRF name"; + } + leaf server-vrf-name { + type string { + length "0..33"; + } + description + "DHCP server VRF name"; + } + leaf ip-address { + type inet:ipv4-address; + description + "DHCP IP address"; + } + leaf client-gi-addr { + type inet:ipv4-address; + description + "DHCP client GIADDR"; + } + leaf to-server-gi-addr { + type inet:ipv4-address; + description + "DHCP to server GIADDR"; + } + leaf server-ip-address { + type inet:ipv4-address; + description + "DHCP server IP address"; + } + leaf reply-server-ip-address { + type inet:ipv4-address; + description + "DHCP reply server IP address"; + } + leaf lease-time { + type uint32; + units "second"; + description + "Lease time in seconds"; + } + leaf remaining-lease-time { + type uint32; + units "second"; + description + "Remaining lease time in seconds"; + } + leaf state { + type Bag-dhcpd-proxy-state; + description + "DHCP client state"; + } + leaf interface-name { + type xr:Interface-name; + description + "DHCP access interface to client"; + } + leaf access-vrf-name { + type string { + length "0..33"; + } + description + "DHCP access interface VRF name"; + } + leaf proxy-binding-outer-tag { + type uint32; + description + "DHCP VLAN outer VLAN"; + } + leaf proxy-binding-inner-tag { + type uint32; + description + "DHCP VLAN inner VLAN"; + } + leaf profile-name { + type string { + length "0..65"; + } + description + "DHCP profile name"; + } + leaf is-nak-next-renew { + type boolean; + description + "Is true if DHCP next renew from client will be + NAK'd"; + } + leaf subscriber-label { + type uint32; + description + "DHCP subscriber label"; + } + leaf old-subscriber-label { + type uint32; + description + "DHCP old subscriber label"; + } + leaf subscriber-interface-name { + type xr:Interface-name; + description + "DHCP subscriber interface"; + } + leaf rx-circuit-id { + type string { + length "0..768"; + } + description + "DHCP received circuit ID"; + } + leaf tx-circuit-id { + type string { + length "0..768"; + } + description + "DHCP transmitted circuit ID"; + } + leaf rx-remote-id { + type string { + length "0..768"; + } + description + "DHCP received Remote ID"; + } + leaf tx-remote-id { + type string { + length "0..768"; + } + description + "DHCP transmitted Remote ID"; + } + leaf rx-vsiso { + type string { + length "0..768"; + } + description + "DHCP received VSISO"; + } + leaf tx-vsiso { + type string { + length "0..768"; + } + description + "DHCP transmitted VSISO"; + } + leaf is-auth-received { + type boolean; + description + "Is true if authentication is on received + option82"; + } + leaf is-mbl-subscriber { + type boolean; + description + "Is true if DHCP subscriber is Mobile"; + } + leaf param-request { + type string { + length "0..513"; + } + description + "DHCP parameter request option"; + } + leaf param-response { + type string { + length "0..2051"; + } + description + "DHCP saved options"; + } + leaf session-start-time { + type uint64; + description + "session start time"; + } + leaf srg-state { + type uint32; + description + "DHCPV4 SRG state"; + } + leaf-list event-history { + type uint32; + max-elements "20"; + description + "event history"; + } + } + + grouping IPV4-DHCPD-PROXY-STATS { + description + "DHCP IPv4 proxy statistics"; + list ipv4-dhcpd-proxy-stat { + description + "ipv4 dhcpd proxy stat"; + container statistics { + description + "Proxy statistics"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCP L3 VRF name"; + } + } + } + + grouping IPV4-DHCPD-PROXY-INTERFACE-REFERENCE { + description + "ipv4 dhcpd proxy profile reference"; + list ipv4-dhcpd-proxy-interface-reference { + description + "ipv4 dhcpd proxy interface reference"; + leaf proxy-reference-interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + } + } + + grouping IPV4-DHCPD-PROXY-VRF-REFERENCE { + description + "ipv4 dhcpd proxy profile reference"; + list ipv4-dhcpd-proxy-vrf-reference { + description + "ipv4 dhcpd proxy vrf reference"; + leaf proxy-reference-vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + } + } + + grouping IPV4-DHCPD-PROXY-PROFILE { + description + "IPv4 dhcpd proxy profile parameters"; + container vrf-references { + description + "VRF references"; + uses IPV4-DHCPD-PROXY-VRF-REFERENCE; + } + container interface-references { + description + "Interface references"; + uses IPV4-DHCPD-PROXY-INTERFACE-REFERENCE; + } + leaf is-relay-option-enabled { + type boolean; + description + "Is true if relay option is enabled"; + } + leaf relay-policy { + type Relay-info-policy; + description + "Relay policy"; + } + leaf relay-authenticate { + type Relay-info-authenticate; + description + "Relay authenticate"; + } + leaf is-relay-allow-untrusted-enabled { + type boolean; + description + "Is true if relay untrusted is enabled"; + } + leaf is-relay-optionvpn-enabled { + type boolean; + description + "Is true if relay VPN enabled"; + } + leaf relay-optionvpn-enabled-mode { + type Relay-info-vpn-mode; + description + "Relay VPN RFC/Cisco mode"; + } + leaf is-relay-check { + type boolean; + description + "Is true if relay check enabled"; + } + leaf is-move-allowed { + type boolean; + description + "Is true if dhcp subscriber is allowed to move"; + } + leaf proxy-broadcast-flag-policy { + type Broadcast-flag; + description + "Broadcast policy"; + } + leaf proxy-profile-client-lease-time { + type uint32; + units "second"; + description + "Client lease time in seconds"; + } + leaf proxy-lease-limit-type { + type Proxy-lease-limit; + description + "Lease limit type"; + } + leaf proxy-lease-limit-count { + type uint32; + description + "Lease limit count"; + } + leaf-list profile-helper-address { + type inet:ipv4-address; + max-elements "8"; + description + "Helper addresses"; + } + leaf-list vrf-name { + type String1; + max-elements "8"; + description + "VRF names"; + } + leaf-list gi-addr { + type inet:ipv4-address; + max-elements "8"; + description + "Gateway addresses"; + } + } + + grouping IPV4-DHCPD-PROXY-FILTERED-STATS { + description + "DHCP IPv4 filtered statistics"; + leaf received-packets { + type uint64; + description + "Received packets"; + } + leaf transmitted-packets { + type uint64; + description + "Transmitted packets"; + } + leaf dropped-packets { + type uint64; + description + "Dropped packets"; + } + } + + grouping IPV4-DHCPD-PROXY-TYPE { + description + "Proxy packets"; + container discover { + description + "DHCP discover packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container offer { + description + "DHCP offer packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container request { + description + "DHCP request packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container decline { + description + "DHCP decline packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container ack { + description + "DHCP ack packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container nak { + description + "DHCP nak packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container release { + description + "DHCP release packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container inform { + description + "DHCP inform packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container lease-query { + description + "DHCP lease query packets"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container lease-not-assigned { + description + "DHCP lease not assigned"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container lease-unknown { + description + "DHCP lease unknown"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container lease-active { + description + "DHCP lease active"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container bootp-request { + description + "DHCP BOOTP request"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + container bootp-reply { + description + "DHCP BOOTP reply"; + uses IPV4-DHCPD-PROXY-FILTERED-STATS; + } + } + + grouping IPV4-DHCPD-PROXY-STATS-INFO { + description + "ipv4 dhcpd proxy stats info"; + leaf proxy-stats-timestamp { + type uint32; + description + "Proxy Stats timestamp"; + } + } + + grouping IPV4-DHCPD-SNOOP-STATS { + description + "ipv4 dhcpd snoop stats parameters"; + leaf snoop-statistics-bridge-name { + type string { + length "0..74"; + } + description + "DHCP L2 bridge name"; + } + leaf-list snoop-statistic { + type uint64; + max-elements "45"; + description + "Public snoop statistics"; + } + } + + grouping IPV4-DHCPD-SNOOP-PROFILE { + description + "ipv4 dhcpd snoop profile parameters"; + leaf snoop-profile-name { + type string { + length "0..65"; + } + description + "Profile Name"; + } + leaf snoop-profile-uid { + type uint32; + description + "Profile unique ID"; + } + leaf snoop-profile-relay-info-option { + type uint8; + description + "Relay info option"; + } + leaf snoop-profile-relay-info-allow-untrusted { + type uint8; + description + "Allow untrusted relay info"; + } + leaf snoop-profile-relay-info-policy { + type uint8; + description + "Relay info policy"; + } + leaf snoop-profile-trusted { + type uint8; + description + "Trust"; + } + } + + grouping IPV4-DHCPD-SNOOP-STATS-INFO { + description + "ipv4 dhcpd snoop stats info"; + leaf snoop-stats-timestamp { + type uint32; + description + "Snoop Stats timestamp"; + } + } + + grouping IPV4-DHCPD-SNOOP-BINDING-STATISTICS { + description + "ipv4 dhcpd snoop binding statistics"; + leaf snoop-binding-total { + type uint32; + description + "Total number of snoop bindings"; + } + leaf snoop-binding-timestamp { + type uint32; + description + "Snoop binding timestamp"; + } + } + + grouping IPV4-DHCPD-SNOOP-BINDING { + description + "ipv4 dhcpd snoop binding entry"; + leaf snoop-binding-ch-addr { + type yang:hex-string; + description + "DHCP client MAC address"; + } + leaf snoop-binding-ch-addr-len { + type uint8; + description + "DHCP client MAC address length"; + } + leaf snoop-binding-i-addr { + type inet:ipv4-address; + description + "DHCP iaddr"; + } + leaf snoop-binding-client-id { + type yang:hex-string; + description + "DHCP client id"; + } + leaf snoop-binding-client-id-len { + type uint8; + description + "DHCP client id len"; + } + leaf snoop-binding-state { + type uint8; + description + "DHCP sm state"; + } + leaf snoop-binding-lease { + type uint32; + description + "DHCP lease time"; + } + leaf snoop-binding-lease-start-time { + type uint32; + description + "DHCP lease start time"; + } + leaf snoop-binding-profile-name { + type string { + length "0..65"; + } + description + "DHCP profile name"; + } + leaf snoop-bindng-interface-name { + type string { + length "0..321"; + } + description + "DHCP interface to client"; + } + leaf snoop-binding-bridge-name { + type string { + length "0..74"; + } + description + "DHCP L2 bridge name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang new file mode 100644 index 0000000..d2cc170 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper-sub2.yang @@ -0,0 +1,408 @@ +submodule Cisco-IOS-XR-ipv4-dhcpd-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-dhcpd-oper { + prefix Cisco-IOS-XR-ipv4-dhcpd-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-dhcpd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dhcpc-ipv4-state { + type enumeration { + enum "init" { + value 0; + description + "Init state"; + } + enum "init-reboot" { + value 1; + description + "Init Reboot state"; + } + enum "rebooting" { + value 2; + description + "Rebooting state"; + } + enum "selecting" { + value 3; + description + "Selecting state"; + } + enum "requesting" { + value 4; + description + "Requesting state"; + } + enum "bound" { + value 5; + description + "Bound state"; + } + enum "renewing" { + value 6; + description + "Renewing state"; + } + enum "rebinding" { + value 7; + description + "Rebinding state"; + } + enum "invalid" { + value 8; + description + "Invalid state"; + } + } + description + "Dhcp Client IPv4 State"; + } + + grouping DHCPC-EDM-CLIENT-IPV4-BAG { + description + "ipv4 dhcp client"; + leaf interface-name { + type string { + length "0..65"; + } + description + "Dhcp Client interface name"; + } + leaf client-mac-address { + type string { + length "0..17"; + } + description + "Dhcp Client Interface MAC address"; + } + leaf client-id { + type string { + length "0..256"; + } + description + "Dhcp Client ID"; + } + leaf ipv4-client-state { + type Dhcpc-ipv4-state; + description + "Dhcp Client State"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "Dhcp Client IP Address"; + } + leaf ipv4-subnet-mask { + type inet:ipv4-address; + description + "Dhcp Client IP Address mask"; + } + leaf ipv4-server-address { + type inet:ipv4-address; + description + "Dhcp Client selected server IP Address"; + } + leaf next-hop-ipv4-address { + type inet:ipv4-address; + description + "Dhcp Client next hop IP Address"; + } + leaf ipv4-lease-time { + type uint32; + description + "Dhcp Client Lease time"; + } + leaf ipv4-renew-time { + type uint32; + description + "Dhcp Client Renew time"; + } + leaf ipv4-rebind-time { + type uint32; + description + "Dhcp Client Rebind time"; + } + leaf ipv4-address-configured { + type boolean; + description + "Dhcp Client IPV4 address configured in interface"; + } + } + + grouping DHCPC-EDM-CLIENT-IPV4-STATS-BAG { + description + "ipv4 dhcp client statistics"; + leaf interface-name { + type string { + length "0..65"; + } + description + "Dhcp Client interface name"; + } + leaf num-events-received { + type uint32; + description + "Number of events received"; + } + leaf num-create-event-received { + type uint32; + description + "Number of create client event received"; + } + leaf num-delete-event-received { + type uint32; + description + "Number of delete client event received"; + } + leaf num-reboot-event-received { + type uint32; + description + "Number of client rebooted event received"; + } + leaf num-reinit-event-received { + type uint32; + description + "Number of reinit client event received"; + } + leaf num-packet-event-received { + type uint32; + description + "Number of packet event received"; + } + leaf num-init-timer-eventi { + type uint32; + description + "Number of init timer event"; + } + leaf num-t1-timer-event { + type uint32; + description + "Number of T1 timer event"; + } + leaf num-t2-timer-event { + type uint32; + description + "Number of T2 timer event"; + } + leaf num-lease-timer-event { + type uint32; + description + "Number of Lease timer event"; + } + leaf num-vbind-timer-event { + type uint32; + description + "Number of vbind timer event"; + } + leaf num-discovers-sent-successfully { + type uint32; + description + "Number of discovers sent successfully"; + } + leaf num-requests-sent-successfully { + type uint32; + description + "Number of requests sent successfully"; + } + leaf num-releases-sent-successfully { + type uint32; + description + "Number of releases sent successfully"; + } + leaf num-renews-sent-successfully { + type uint32; + description + "Number of renews sent successfully"; + } + leaf num-rebinds-sent-successfully { + type uint32; + description + "Number of rebinds sent successfully"; + } + leaf num-declines-sent-successfully { + type uint32; + description + "Number of declines sent successfully"; + } + leaf num-request-after-reboot-sent { + type uint32; + description + "Number of requests sent after reboot"; + } + leaf num-valid-offers-received { + type uint32; + description + "Number of valid offers received"; + } + leaf num-valid-acks-received { + type uint32; + description + "Number of valid acks received"; + } + leaf num-valid-nacks-received { + type uint32; + description + "Number of valid nacks received"; + } + leaf num-unicast-packet-sent-successfully { + type uint32; + description + "Number of unicast packet sent successfully"; + } + leaf num-broadcast-packet-sent-success { + type uint32; + description + "Number of broadcast packet sent successfully"; + } + leaf num-init-timer-start { + type uint32; + description + "Number of init timer starts"; + } + leaf num-init-timer-stop { + type uint32; + description + "Number of init timer stops"; + } + leaf num-t1-timer-start { + type uint32; + description + "Number of T1 timer starts"; + } + leaf num-t1-timer-stop { + type uint32; + description + "Number of T1 timer stops"; + } + leaf num-t2-timer-start { + type uint32; + description + "Number of T2 timer starts"; + } + leaf num-t2-timer-stop { + type uint32; + description + "Number of T2 timer stops"; + } + leaf num-lease-timer-start { + type uint32; + description + "Number of Lease timer starts"; + } + leaf num-lease-timer-stop { + type uint32; + description + "Number of Lease timer stops"; + } + leaf num-vbind-timer-start { + type uint32; + description + "Number of vbind timer starts"; + } + leaf num-vbind-timer-stop { + type uint32; + description + "Number of vbind timer stops"; + } + leaf num-invalid-events { + type uint32; + description + "Number of invalid events received"; + } + leaf num-discovers-failed { + type uint32; + description + "Number of discover send failed"; + } + leaf num-requests-failed { + type uint32; + description + "Number of request send failed"; + } + leaf num-releases-failed { + type uint32; + description + "Number of release send failed"; + } + leaf num-renews-failed { + type uint32; + description + "Number of renew send failed"; + } + leaf num-rebinds-failed { + type uint32; + description + "Number of rebind send failed"; + } + leaf num-declines-failed { + type uint32; + description + "Number of decline send failed"; + } + leaf num-request-after-reboot-failed { + type uint32; + description + "Number of requests sent after reboot failed"; + } + leaf num-invalid-offers { + type uint32; + description + "Number of invalid offers received"; + } + leaf num-invalid-acks { + type uint32; + description + "Number of invalid acks received"; + } + leaf num-invalid-nacks { + type uint32; + description + "Number of invalid nacks received"; + } + leaf num-invalid-packets { + type uint32; + description + "Number of invalid packets dropped"; + } + leaf num-unicast-failed { + type uint32; + description + "Number of unicast packet send failed"; + } + leaf num-broadcast-failed { + type uint32; + description + "Number of broadcast packet send failed"; + } + leaf num-xid-mismatch { + type uint32; + description + "Number of XID mismatch packets received"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper.yang new file mode 100644 index 0000000..e19b0ee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-oper.yang @@ -0,0 +1,432 @@ +module Cisco-IOS-XR-ipv4-dhcpd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper"; + prefix ipv4-dhcpd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-dhcpd-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ipv4-dhcpd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-dhcpd package operational data. + + This module contains definitions + for the following management objects: + dhcp-client: DHCP client operational data + ipv4-dhcpd: ipv4 dhcpd + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container dhcp-client { + config false; + description + "DHCP client operational data"; + container nodes { + description + "DHCP client list of nodes"; + list node { + key "node-name"; + description + "DHCP client particular node name"; + container client-stats { + description + "IPv4 DHCP client statistics table"; + list client-stat { + key "client-ifhandle"; + description + "DHCP client binding statistics"; + leaf client-ifhandle { + type xr:Cisco-ios-xr-string; + description + "Client Ifhandle"; + } + uses DHCPC-EDM-CLIENT-IPV4-STATS-BAG; + } + } + container clients { + description + "IPv4 DHCP client table"; + list client { + key "client-ifhandle"; + description + "Single DHCP client binding"; + leaf client-ifhandle { + type xr:Cisco-ios-xr-string; + description + "Client Ifhandle"; + } + uses DHCPC-EDM-CLIENT-IPV4-BAG; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container ipv4-dhcpd { + config false; + description + "ipv4 dhcpd"; + container snoop { + description + "DHCP Snoop operational data"; + container bindings { + description + "DHCP Snoop Bindings"; + list binding { + key "client-uid"; + description + "DHCP Snoop binding"; + leaf client-uid { + type xr:Cisco-ios-xr-string; + description + "Client opaque handle"; + } + uses IPV4-DHCPD-SNOOP-BINDING; + } + } + container binding-statistics { + description + "DHCP snoop binding statistics"; + uses IPV4-DHCPD-SNOOP-BINDING-STATISTICS; + } + container statistics-info { + description + "DHCP snoop statistics info"; + uses IPV4-DHCPD-SNOOP-STATS-INFO; + } + container profiles { + description + "DHCP Snoop Profile"; + list profile { + key "profile-name"; + description + "DHCP Snoop profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + uses IPV4-DHCPD-SNOOP-PROFILE; + } + } + container statistics { + description + "DHCP Snoop Statistics"; + list statistic { + key "bridge-name"; + description + "DHCP Snoop bridge domain statistics"; + leaf bridge-name { + type xr:Cisco-ios-xr-string; + description + "Bridge domain name"; + } + uses IPV4-DHCPD-SNOOP-STATS; + } + } + } + container nodes { + description + "IPv4 DHCPD operational data for a particular + location"; + list node { + key "nodeid"; + description + "Location. For eg., 0/1/CPU0"; + container proxy { + description + "IPv4 DHCP proxy operational data"; + container statistics-info { + description + "DHCP proxy stats info"; + uses IPV4-DHCPD-PROXY-STATS-INFO; + } + container vrfs { + description + "DHCP proxy list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv4 DHCP proxy VRF name"; + container statistics { + description + "IPv4 DHCP proxy statistics"; + uses IPV4-DHCPD-PROXY-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container profiles { + description + "IPv4 DHCP proxy profile"; + list profile { + key "profile-name"; + description + "IPv4 DHCP proxy profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + uses IPV4-DHCPD-PROXY-PROFILE; + } + } + container statistics { + description + "DHCP proxy statistics"; + uses IPV4-DHCPD-PROXY-STATS; + } + container binding { + description + "DHCP proxy bindings"; + container clients { + description + "DHCP proxy client bindings"; + list client { + key "client-id"; + description + "Single DHCP proxy binding"; + leaf client-id { + type xr:Cisco-ios-xr-string; + description + "Client ID"; + } + uses IPV4-DHCPD-PROXY-BINDING; + } + } + container summary { + description + "DHCP proxy binding summary"; + uses IPV4-DHCPD-PROXY-BINDINGS-SUMMARY; + } + } + } + container interfaces { + description + "IPv4 DHCP proxy/server Interface"; + list interface { + key "interface-name"; + description + "IPv4 DHCP proxy/server interface info"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "Interface Name"; + } + uses IPV4-DHCPD-PROXY-INTERFACE; + } + } + container base { + description + "IPv4 DHCP base operational data"; + container statistics { + description + "DHCP base statistics"; + uses IPV4-DHCPD-PROXY-STATS; + } + container issu-status { + description + "IPv4 DHCP ISSU status"; + uses DHCPD-ISSU-STATUS-INFO; + } + container vrfs { + description + "DHCP base list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv4 DHCP base VRF name"; + container statistics { + description + "IPv4 DHCP base statistics"; + uses IPV4-DHCPD-PROXY-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container profiles { + description + "IPv4 DHCP Base profile"; + list profile { + key "profile-name"; + description + "IPv4 DHCP base profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + uses IPV4-DHCPD-BASE-PROFILE; + } + } + container database { + description + "IPv4 DHCP database"; + uses IPV4-DHCPD-DATABASE; + } + } + container server { + description + "IPv4 DHCP Server operational data"; + container profiles { + description + "IPv4 DHCP Server profile"; + list profile { + key "server-profile-name"; + description + "IPv4 DHCP server profile"; + leaf server-profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + uses IPV4-DHCPD-SERVER-PROFILE; + } + } + container statistics { + description + "DHCP Server statistics"; + uses IPV4-DHCPD-PROXY-STATS; + } + container binding { + description + "DHCP server bindings"; + container summary { + description + "DHCP server binding summary"; + uses IPV4-DHCPD-PROXY-BINDINGS-SUMMARY; + } + container clients { + description + "DHCP server client bindings"; + list client { + key "client-id"; + description + "Single DHCP Server binding"; + leaf client-id { + type xr:Cisco-ios-xr-string; + description + "Client ID"; + } + uses IPV4-DHCPD-PROXY-BINDING; + } + } + } + container statistics-info { + description + "DHCP proxy stats info"; + uses IPV4-DHCPD-PROXY-STATS-INFO; + } + container vrfs { + description + "DHCP Server list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv4 DHCP server VRF name"; + container statistics { + description + "IPv4 DHCP server statistics"; + uses IPV4-DHCPD-PROXY-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + } + container relay { + description + "IPv4 DHCPD Relay operational data"; + container profiles { + description + "DHCP Relay Profiles"; + list profile { + key "profile-name"; + description + "DHCP Relay profile"; + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + uses IPV4-DHCPD-RELAY-PROFILE; + } + } + container statistics-info { + description + "DHCP relay statistics info"; + uses IPV4-DHCPD-RELAY-STATS-INFO; + } + container statistics { + description + "DHCP Relay VRF statistics"; + uses IPV4-DHCPD-RELAY-STATS; + } + container vrfs { + description + "DHCP relay list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv4 DHCP relay VRF name"; + container vrf-statistics { + description + "IPv4 DHCP relay statistics"; + uses IPV4-DHCPD-PROXY-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + } + leaf nodeid { + type xr:Node-id; + description + "The node id to filter on. For eg., 0/1/CPU0"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang new file mode 100644 index 0000000..6f21aff --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-subscriber-cfg"; + prefix ipv4-dhcpd-subscriber-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-dhcpd-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + container dhcpd { + description + "Interface dhcpv4 configuration data"; + leaf class { + type string; + description + "The class to be used for proxy/server profile"; + } + leaf default-gateway { + type inet:ipv4-address-no-zone; + description + "The Default Gateway IP address"; + } + leaf session-limit { + type int32; + description + "The pool to be used for Prefix Delegation"; + } + leaf dhcpv4-option { + type string; + description + "Cisco VSA to configure any dhcp4 option per + subscriber"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-filesystems-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-filesystems-cfg.yang new file mode 100644 index 0000000..49a3045 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-filesystems-cfg.yang @@ -0,0 +1,205 @@ +module Cisco-IOS-XR-ipv4-filesystems-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-filesystems-cfg"; + prefix ipv4-filesystems-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-filesystems package configuration. + + This module contains definitions + for the following management objects: + rcp: RCP configuration + ftp: ftp + tftp: tftp + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-28 { + description + "IOS XR 6.4.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping USERNAME { + description + "Common node of ftp-client, rcp-client"; + leaf username { + type string; + description + "Specify username for connections"; + } + } + + grouping SOURCE-INTERFACE { + description + "Common node of ftp-client, tftp-client, + rcp-client"; + leaf source-interface { + type xr:Interface-name; + description + "Specify interface for source address in + connections"; + } + } + + container rcp { + description + "RCP configuration"; + container rcp-client { + description + "RCP client configuration"; + uses USERNAME; + uses SOURCE-INTERFACE; + } + } + container ftp { + description + "ftp"; + container ftp-client { + description + "FTP client configuration"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF specific data"; + leaf source-interface { + type xr:Interface-name; + description + "Specify interface for source address in + connections"; + } + leaf username { + type string; + description + "Specify username for connections"; + } + leaf anonymous-password { + type string; + description + "Password for anonymous user (ftp server + dependent)"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify password for ftp connnection"; + } + leaf passive { + type empty; + description + "Enable connect using passive mode"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + leaf passive { + type empty; + description + "Enable connect using passive mode"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify password for ftp connnection"; + } + leaf anonymous-password { + type string; + description + "Password for anonymous user (ftp server + dependent)"; + } + uses USERNAME; + uses SOURCE-INTERFACE; + } + } + container tftp { + description + "tftp"; + container tftp-client { + description + "TFTP client configuration"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF specific data"; + leaf source-interface { + type xr:Interface-name; + description + "Specify interface for source address in + connections"; + } + leaf retry { + type uint32 { + range "0..256"; + } + description + "Specify the number of retries when client + requests TFTP connections"; + } + leaf timeout { + type uint32 { + range "0..256"; + } + units "second"; + description + "Specify the timeout for every TFTP connection + in seconds"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of the VRF instance"; + } + } + } + leaf retry { + type uint32 { + range "0..256"; + } + description + "Specify the number of retries when client + requests TFTP connections"; + } + leaf timeout { + type uint32 { + range "0..256"; + } + units "second"; + description + "Specify the timeout for every TFTP connection + in seconds"; + } + uses SOURCE-INTERFACE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-cfg.yang new file mode 100644 index 0000000..3b7732b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-cfg.yang @@ -0,0 +1,888 @@ +module Cisco-IOS-XR-ipv4-hsrp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-cfg"; + prefix ipv4-hsrp-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-hsrp package configuration. + + This module contains definitions + for the following management objects: + hsrp: HSRP configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-04 { + description + "Marked delay leafs min-delay and reload-delay as mandatory."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Hsrp-linklocal { + type enumeration { + enum "manual" { + value 0; + description + "Manual Linklocal address configuration"; + } + enum "auto" { + value 1; + description + "Automatic Linklocal address configuration"; + } + enum "legacy" { + value 2; + description + "Automatic legacy-compatible Linklocal address + configuration"; + } + } + description + "Hsrp linklocal"; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container hsrp { + description + "CISCO-HSRP-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable CISCO-HSRP-MIB notifications"; + } + } + } + container hsrp { + description + "HSRP configuration"; + container interfaces { + description + "Interface Table for HSRP configuration"; + list interface { + key "interface-name"; + description + "Per-interface HSRP configuration"; + container ipv6 { + description + "IPv6 HSRP configuration"; + container version2 { + description + "Version 2 HSRP configuration"; + container groups { + description + "The HSRP group configuration table"; + list group { + key "group-number"; + description + "The HSRP group being configured"; + container bfd { + description + "Enable use of Bidirectional Forwarding + Detection"; + leaf address { + type inet:ipv6-address-no-zone; + description + "Enable BFD for this remote IP"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name to run BFD"; + } + } + container tracked-interfaces { + description + "The HSRP tracked interface configuration + table"; + list tracked-interface { + key "interface-name"; + description + "Interface being tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container tracked-objects { + description + "The HSRP tracked interface configuration + table"; + list tracked-object { + key "object-name"; + description + "Object being tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container timers { + description + "Hello and hold timers"; + leaf hello-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hello time configured in + milliseconds, FALSE - Hello time + configured in seconds"; + } + leaf hello-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hello time in msecs"; + } + leaf hello-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "3"; + description + "Hello time in seconds"; + } + leaf hold-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hold time configured in + milliseconds, FALSE - Hold time + configured in seconds"; + } + leaf hold-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hold time in msecs"; + } + leaf hold-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "10"; + description + "Hold time in seconds"; + } + } + container link-local-ipv6-address { + description + "The HSRP IPv6 virtual linklocal address"; + leaf address { + when "../auto-configure = 'manual'" { + description + "../AutoConfigure = Manual"; + } + type inet:ipv6-address-no-zone; + description + "HSRP IPv6 virtual linklocal address"; + } + leaf auto-configure { + type Hsrp-linklocal; + default "manual"; + description + "Linklocal Configuration Type"; + } + } + container global-ipv6-addresses { + description + "The table of HSRP virtual global IPv6 + addresses"; + list global-ipv6-address { + key "address"; + description + "A HSRP virtual global IPv6 IP address"; + leaf address { + type inet:ipv6-address-no-zone; + description + "HSRP virtual global IPv6 address"; + } + } + } + leaf priority { + type uint32 { + range "0..255"; + } + default "100"; + description + "Priority value"; + } + leaf preempt { + type int32; + default "0"; + description + "Force active if higher priority"; + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "HSRP Session name (for MGO)"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "HSRP MAC address"; + } + leaf group-number { + type uint32 { + range "0..4095"; + } + description + "HSRP group number"; + } + } + } + } + container slave-groups { + description + "The HSRP slave group configuration table"; + list slave-group { + key "slave-group-number"; + description + "The HSRP slave group being configured"; + container link-local-ipv6-address { + description + "The HSRP IPv6 virtual linklocal address"; + leaf address { + when "../auto-configure = 'manual'" { + description + "../AutoConfigure = Manual"; + } + type inet:ipv6-address-no-zone; + description + "HSRP IPv6 virtual linklocal address"; + } + leaf auto-configure { + type Hsrp-linklocal; + default "manual"; + description + "Linklocal Configuration Type"; + } + } + container global-ipv6-addresses { + description + "The table of HSRP virtual global IPv6 + addresses"; + list global-ipv6-address { + key "address"; + description + "A HSRP virtual global IPv6 IP address"; + leaf address { + type inet:ipv6-address-no-zone; + description + "HSRP virtual global IPv6 address"; + } + } + } + leaf follow { + type string; + description + "HSRP Group name for this slave to follow"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "HSRP MAC address"; + } + leaf slave-group-number { + type uint32 { + range "0..4095"; + } + description + "HSRP group number"; + } + } + } + } + container bfd { + description + "BFD configuration"; + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions created + by hsrp"; + } + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by + hsrp"; + } + } + container delay { + presence "Indicates a delay node is configured."; + description + "Minimum and Reload Delay"; + leaf minimum-delay { + type uint32 { + range "0..10000"; + } + units "second"; + mandatory true; + description + "Minimum delay in seconds"; + } + leaf reload-delay { + type uint32 { + range "0..10000"; + } + units "second"; + mandatory true; + description + "Reload delay in seconds"; + } + } + container ipv4 { + description + "IPv4 HSRP configuration"; + container slave-groups { + description + "The HSRP slave group configuration table"; + list slave-group { + key "slave-group-number"; + description + "The HSRP slave group being configured"; + container secondary-ipv4-addresses { + description + "Secondary HSRP IP address Table"; + list secondary-ipv4-address { + key "address"; + description + "Secondary HSRP IP address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "HSRP IP address"; + } + } + } + leaf follow { + type string; + description + "HSRP Group name for this slave to follow"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "HSRP MAC address"; + } + leaf primary-ipv4-address { + type inet:ipv4-address-no-zone; + description + "Primary HSRP IP address"; + } + leaf slave-group-number { + type uint32 { + range "0..4095"; + } + description + "HSRP group number"; + } + } + } + container version1 { + description + "Version 1 HSRP configuration"; + container groups { + description + "The HSRP group configuration table"; + list group { + key "group-number"; + description + "The HSRP group being configured"; + container tracked-interfaces { + description + "The HSRP tracked interface configuration + table"; + list tracked-interface { + key "interface-name"; + description + "Interface being tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container bfd { + description + "Enable use of Bidirectional Forwarding + Detection"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Enable BFD for this remote IP"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name to run BFD"; + } + } + container tracked-objects { + description + "The HSRP tracked interface configuration + table"; + list tracked-object { + key "object-name"; + description + "Object being tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container timers { + description + "Hello and hold timers"; + leaf hello-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hello time configured in + milliseconds, FALSE - Hello time + configured in seconds"; + } + leaf hello-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hello time in msecs"; + } + leaf hello-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "3"; + description + "Hello time in seconds"; + } + leaf hold-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hold time configured in + milliseconds, FALSE - Hold time + configured in seconds"; + } + leaf hold-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hold time in msecs"; + } + leaf hold-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "10"; + description + "Hold time in seconds"; + } + } + container primary-ipv4-address { + description + "Primary HSRP IP address"; + leaf virtual-ip-learn { + type boolean; + description + "TRUE if the HSRP protocol is to learn the + virtual IP address it is to use"; + } + leaf address { + when "../virtual-ip-learn = 0" { + description + "../VirtualIPLearn = "; + } + type inet:ipv4-address-no-zone; + description + "HSRP IP address."; + } + } + container secondary-ipv4-addresses { + description + "Secondary HSRP IP address Table"; + list secondary-ipv4-address { + key "address"; + description + "Secondary HSRP IP address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "HSRP IP address"; + } + } + } + leaf authentication { + type string { + length "1..8"; + } + default "cisco"; + description + "Authentication string"; + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "HSRP Session name (for MGO)"; + } + leaf priority { + type uint32 { + range "0..255"; + } + default "100"; + description + "Priority value"; + } + leaf preempt { + type int32; + default "0"; + description + "Force active if higher priority"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "HSRP MAC address"; + } + leaf group-number { + type uint32 { + range "0..255"; + } + description + "HSRP group number"; + } + } + } + } + container version2 { + description + "Version 2 HSRP configuration"; + container groups { + description + "The HSRP group configuration table"; + list group { + key "group-number"; + description + "The HSRP group being configured"; + container secondary-ipv4-addresses { + description + "Secondary HSRP IP address Table"; + list secondary-ipv4-address { + key "address"; + description + "Secondary HSRP IP address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "HSRP IP address"; + } + } + } + container bfd { + description + "Enable use of Bidirectional Forwarding + Detection"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Enable BFD for this remote IP"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name to run BFD"; + } + } + container primary-ipv4-address { + description + "Primary HSRP IP address"; + leaf virtual-ip-learn { + type boolean; + description + "TRUE if the HSRP protocol is to learn the + virtual IP address it is to use"; + } + leaf address { + when "../virtual-ip-learn = 0" { + description + "../VirtualIPLearn = "; + } + type inet:ipv4-address-no-zone; + description + "HSRP IP address."; + } + } + container tracked-objects { + description + "The HSRP tracked interface configuration + table"; + list tracked-object { + key "object-name"; + description + "Object being tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container tracked-interfaces { + description + "The HSRP tracked interface configuration + table"; + list tracked-interface { + key "interface-name"; + description + "Interface being tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Interface being tracked"; + } + leaf priority-decrement { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container timers { + description + "Hello and hold timers"; + leaf hello-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hello time configured in + milliseconds, FALSE - Hello time + configured in seconds"; + } + leaf hello-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hello time in msecs"; + } + leaf hello-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "3"; + description + "Hello time in seconds"; + } + leaf hold-msec-flag { + type boolean; + default "false"; + description + "TRUE - Hold time configured in + milliseconds, FALSE - Hold time + configured in seconds"; + } + leaf hold-msec { + type uint32 { + range "100..3000"; + } + units "millisecond"; + description + "Hold time in msecs"; + } + leaf hold-sec { + type uint32 { + range "1..255"; + } + units "second"; + default "10"; + description + "Hold time in seconds"; + } + } + leaf preempt { + type int32; + default "0"; + description + "Force active if higher priority"; + } + leaf priority { + type uint32 { + range "0..255"; + } + default "100"; + description + "Priority value"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "HSRP MAC address"; + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "HSRP Session name (for MGO)"; + } + leaf group-number { + type uint32 { + range "0..4095"; + } + description + "HSRP group number"; + } + } + } + } + } + leaf mac-refresh { + type uint32 { + range "0..10000"; + } + default "60"; + description + "HSRP MGO slave MAC refresh rate"; + } + leaf use-bia { + type empty; + description + "Use burned-in address"; + } + leaf redirects-disable { + type empty; + description + "Disable HSRP filtered ICMP redirects"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + container logging { + description + "HSRP logging options"; + leaf state-change-disable { + type empty; + description + "HSRP state change IOS messages disable"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang new file mode 100644 index 0000000..9522d6b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper-sub1.yang @@ -0,0 +1,1383 @@ +submodule Cisco-IOS-XR-ipv4-hsrp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-hsrp-oper { + prefix Cisco-IOS-XR-ipv4-hsrp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-hsrp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Hsrp-vmac-state { + type enumeration { + enum "stored" { + value 0; + description + "VMAC stored locally"; + } + enum "reserved" { + value 1; + description + "VMAC reserved in mac table"; + } + enum "active" { + value 2; + description + "VMAC active in mac table"; + } + enum "reserving" { + value 3; + description + "VMAC not yet reserved in mac table"; + } + } + description + "Hsrp vmac state"; + } + + typedef Hsrp-state-change-reason { + type enumeration { + enum "state-change-bfd-down" { + value 0; + description + "BFD session down"; + } + enum "state-change-vip-learnt" { + value 1; + description + "Virtual IP learnt"; + } + enum "state-change-interface-ip" { + value 2; + description + "Interface IP update"; + } + enum "state-change-delay-timer" { + value 3; + description + "Delay timer expired"; + } + enum "state-change-startup" { + value 4; + description + "Ready on startup"; + } + enum "state-change-shutdown" { + value 5; + description + "HSRP shut down"; + } + enum "state-change-interface-up" { + value 6; + description + "Interface Up update"; + } + enum "state-change-interface-down" { + value 7; + description + "Interface Down update"; + } + enum "state-change-active-timer" { + value 8; + description + "Active timer expired"; + } + enum "state-change-standby-timer" { + value 9; + description + "Standby timer expired"; + } + enum "state-change-resign" { + value 10; + description + "Resign received"; + } + enum "state-change-coup" { + value 11; + description + "Coup received"; + } + enum "state-change-higher-priority-speak" { + value 12; + description + "Higher priority speak received"; + } + enum "state-change-higher-priority-standby" { + value 13; + description + "Higher priority standby received"; + } + enum "state-change-lower-priority-standby" { + value 14; + description + "Lower priority standby received"; + } + enum "state-change-higher-priority-active" { + value 15; + description + "Higher priority active received"; + } + enum "state-change-lower-priority-active" { + value 16; + description + "Lower priority active received"; + } + enum "state-change-virtual-ip-configured" { + value 17; + description + "Virtual IP configured"; + } + enum "state-change-virtual-ip-lost" { + value 18; + description + "Virtual IP lost"; + } + enum "state-change-recovered-from-checkpoint" { + value 19; + description + "Recovered from checkpoint"; + } + enum "state-change-mac-update" { + value 20; + description + "MAC address update"; + } + enum "state-change-admin" { + value 21; + description + "Forwarder Admin state change"; + } + enum "state-change-parent" { + value 22; + description + "MGO parent change"; + } + enum "state-change-chkpt-update" { + value 23; + description + "Checkpoint update from Primary HSRP instance"; + } + enum "state-change-issu-resync" { + value 24; + description + "Resync following ISSU primary event"; + } + enum "state-change-reset-to-learn" { + value 25; + description + "Reset to learn parameters"; + } + enum "state-change-max" { + value 26; + description + "Maximum reason in enumeration"; + } + } + description + "Hsrp state change reason"; + } + + typedef Hsrp-bfd-session-state { + type enumeration { + enum "bfd-state-none" { + value 0; + description + "None"; + } + enum "bfd-state-inactive" { + value 1; + description + "Inactive"; + } + enum "bfd-state-up" { + value 2; + description + "Up"; + } + enum "bfd-state-down" { + value 3; + description + "Down"; + } + } + description + "Hsrp bfd session state"; + } + + typedef Standby-grp-state { + type enumeration { + enum "state-initial" { + value 1; + description + "Initial"; + } + enum "state-learn" { + value 2; + description + "Learn"; + } + enum "state-listen" { + value 3; + description + "Listen"; + } + enum "state-speak" { + value 4; + description + "Speak"; + } + enum "state-standby" { + value 5; + description + "Standby"; + } + enum "state-active" { + value 6; + description + "Active"; + } + } + description + "Standby grp state"; + } + + typedef Hsrp-version { + type uint8; + description + "Hsrp version"; + } + + typedef Hsrp-b-af { + type enumeration { + enum "ipv4" { + description + "IPv4 Address Family"; + } + enum "ipv6" { + description + "IPv6 Address Family"; + } + enum "count" { + description + "The number of supported address families"; + } + } + description + "Hsrp b af"; + } + + grouping HSRP-SUMMARY-INFO { + description + "HSRP summary statistics"; + leaf ipv4-sessions-active { + type uint32; + description + "Number of IPv4 sessions in ACTIVE state"; + } + leaf ipv4-sessions-standby { + type uint32; + description + "Number of IPv4 sessions in STANDBY state"; + } + leaf ipv4-sessions-speak { + type uint32; + description + "Number of IPv4 sessions in SPEAK state"; + } + leaf ipv4-sessions-listen { + type uint32; + description + "Number of IPv4 sessions in LISTEN state"; + } + leaf ipv4-sessions-learn { + type uint32; + description + "Number of IPv4 sessions in LEARN state"; + } + leaf ipv4-sessions-init { + type uint32; + description + "Number of IPv4 sessions in INIT state"; + } + leaf ipv4-slaves-active { + type uint32; + description + "Number of IPv4 slaves in ACTIVE state"; + } + leaf ipv4-slaves-standby { + type uint32; + description + "Number of IPv4 slaves in STANDBY state"; + } + leaf ipv4-slaves-speak { + type uint32; + description + "Number of IPv4 slaves in SPEAK state"; + } + leaf ipv4-slaves-listen { + type uint32; + description + "Number of IPv4 slaves in LISTEN state"; + } + leaf ipv4-slaves-learn { + type uint32; + description + "Number of IPv4 slaves in LEARN state"; + } + leaf ipv4-slaves-init { + type uint32; + description + "Number of IPv4 slaves in INIT state"; + } + leaf ipv4-virtual-ip-addresses-active-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in ACTIVE state"; + } + leaf ipv4-virtual-ip-addresses-active-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in ACTIVE state"; + } + leaf ipv4-virtual-ip-addresses-standby-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in STANDBY state"; + } + leaf ipv4-virtual-ip-addresses-standby-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in STANDBY state"; + } + leaf ipv4-virtual-ip-addresses-speak-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in SPEAK state"; + } + leaf ipv4-virtual-ip-addresses-speak-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in SPEAK state"; + } + leaf ipv4-virtual-ip-addresses-listen-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in LISTEN state"; + } + leaf ipv4-virtual-ip-addresses-listen-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in LISTEN state"; + } + leaf ipv4-virtual-ip-addresses-learn-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in LEARN state"; + } + leaf ipv4-virtual-ip-addresses-learn-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in LEARN state"; + } + leaf ipv4-virtual-ip-addresses-init-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on groups + in INIT state"; + } + leaf ipv4-virtual-ip-addresses-init-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + groups in INIT state"; + } + leaf ipv6-sessions-active { + type uint32; + description + "Number of IPv6 sessions in ACTIVE state"; + } + leaf ipv6-sessions-standby { + type uint32; + description + "Number of IPv6 sessions in STANDBY state"; + } + leaf ipv6-sessions-speak { + type uint32; + description + "Number of IPv6 sessions in SPEAK state"; + } + leaf ipv6-sessions-listen { + type uint32; + description + "Number of IPv6 sessions in LISTEN state"; + } + leaf ipv6-sessions-learn { + type uint32; + description + "Number of IPv6 sessions in LEARN state"; + } + leaf ipv6-sessions-init { + type uint32; + description + "Number of IPv6 sessions in INIT state"; + } + leaf ipv6-slaves-active { + type uint32; + description + "Number of IPv6 slaves in ACTIVE state"; + } + leaf ipv6-slaves-standby { + type uint32; + description + "Number of IPv6 slaves in STANDBY state"; + } + leaf ipv6-slaves-speak { + type uint32; + description + "Number of IPv6 slaves in SPEAK state"; + } + leaf ipv6-slaves-listen { + type uint32; + description + "Number of IPv6 slaves in LISTEN state"; + } + leaf ipv6-slaves-learn { + type uint32; + description + "Number of IPv6 slaves in LEARN state"; + } + leaf ipv6-slaves-init { + type uint32; + description + "Number of IPv6 slaves in INIT state"; + } + leaf ipv6-virtual-ip-addresses-active-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in ACTIVE state"; + } + leaf ipv6-virtual-ip-addresses-active-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in ACTIVE state"; + } + leaf ipv6-virtual-ip-addresses-standby-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in STANDBY state"; + } + leaf ipv6-virtual-ip-addresses-standby-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in STANDBY state"; + } + leaf ipv6-virtual-ip-addresses-speak-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in SPEAK state"; + } + leaf ipv6-virtual-ip-addresses-speak-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in SPEAK state"; + } + leaf ipv6-virtual-ip-addresses-listen-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in LISTEN state"; + } + leaf ipv6-virtual-ip-addresses-listen-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in LISTEN state"; + } + leaf ipv6-virtual-ip-addresses-learn-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in LEARN state"; + } + leaf ipv6-virtual-ip-addresses-learn-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in LEARN state"; + } + leaf ipv6-virtual-ip-addresses-init-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on groups + in INIT state"; + } + leaf ipv6-virtual-ip-addresses-init-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + groups in INIT state"; + } + leaf interfaces-ipv4-state-up { + type uint32; + description + "Number of HSRP interfaces with IPv4 caps in UP + state"; + } + leaf interfaces-ipv4-state-down { + type uint32; + description + "Number of HSRP interfaces with IPv4 caps in DOWN + state"; + } + leaf tracked-interfaces-ipv4-state-up { + type uint32; + description + "Number of tracked interfaces with IPv4 caps in + UP state"; + } + leaf tracked-interfaces-ipv4-state-down { + type uint32; + description + "Number of tracked interfaces with IPv4 caps in + DOWN state"; + } + leaf tracked-objects-up { + type uint32; + description + "Number of tracked objects in UP state"; + } + leaf tracked-objects-down { + type uint32; + description + "Number of tracked objects in DOWN state"; + } + leaf interfaces-ipv6-state-up { + type uint32; + description + "Number of HSRP interfaces with IPv6 caps in UP + state"; + } + leaf interfaces-ipv6-state-down { + type uint32; + description + "Number of HSRP interfaces with IPv6 caps in DOWN + state"; + } + leaf tracked-interfaces-ipv6-state-up { + type uint32; + description + "Number of tracked interfaces with IPv6 caps in + UP state"; + } + leaf tracked-interfaces-ipv6-state-down { + type uint32; + description + "Number of tracked interfaces with IPv6 caps in + DOWN state"; + } + leaf bfd-sessions-up { + type uint32; + description + "Number of HSRP BFD sessions in UP state"; + } + leaf bfd-sessions-down { + type uint32; + description + "Number of HSRP BFD sessions in DOWN state"; + } + leaf bfd-session-inactive { + type uint32; + description + "Number of HSRP BFD sessions in INACTIVE state"; + } + } + + grouping HSRP-BFD-GROUP-INFO { + description + "BFD Group Information"; + leaf interface-name { + type string { + length "0..64"; + } + description + "Interface Name"; + } + leaf hsrp-group-number { + type uint32; + description + "HSRP Group number"; + } + } + + grouping STANDBY-BFD-INFO { + description + "BFD session information"; + leaf bfd-interface-name { + type string { + length "0..64"; + } + description + "BFD Interface Name"; + } + leaf session-address-family { + type Hsrp-b-af; + description + "Session Address family"; + } + leaf destination-address { + type inet:ipv4-address; + description + "BFD destination address"; + } + leaf destination-ipv6-address { + type inet:ipv6-address; + description + "BFD IPv6 destination address"; + } + leaf bfd-session-state { + type Hsrp-bfd-session-state; + description + "BFD session state"; + } + leaf bfd-interval { + type uint32; + description + "BFD packet send interval"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD multiplier"; + } + list group { + description + "HSRP Groups tracking the BFD session"; + uses HSRP-BFD-GROUP-INFO; + } + } + + grouping HSRP-SLAVE-INFO-TYPE { + description + "Slave info"; + leaf slave-group-interface { + type string { + length "0..64"; + } + description + "Interface of slave group"; + } + leaf slave-group-number { + type uint32; + description + "Group number of slave group"; + } + } + + grouping HSRP-MGO-INFO { + description + "MGO group data"; + leaf primary-session-name { + type string { + length "0..16"; + } + description + "Session Name"; + } + leaf primary-session-interface { + type xr:Interface-name; + description + "Interface of primary session"; + } + leaf primary-af-name { + type Hsrp-b-af; + description + "Address family of primary session"; + } + leaf primary-session-number { + type uint32; + description + "Group number of primary session"; + } + leaf primary-session-state { + type Standby-grp-state; + description + "State of primary session"; + } + list slave { + description + "List of slaves following this primary session"; + uses HSRP-SLAVE-INFO-TYPE; + } + } + + grouping HSRP-IF-STATS-TYPE { + description + "HSRP Interface Statistics"; + leaf advert-packets-sent { + type uint32; + description + "Number of advertisement packets sent"; + } + leaf advert-packets-received { + type uint32; + description + "Number of advertisement packets received"; + } + leaf long-packets-received { + type uint32; + description + "Number of packets received that were too Long"; + } + leaf short-packets-received { + type uint32; + description + "Number of packets received that were too short"; + } + leaf invalid-version-received { + type uint32; + description + "Number of packets received with invalid version"; + } + leaf invalid-operation-code-received { + type uint32; + description + "Number of packets received with invalid + operation code"; + } + leaf unknown-group-received { + type uint32; + description + "Number of packets received for an unknown group + id"; + } + leaf inoperational-group-received { + type uint32; + description + "Number of packets received for an inoperational + group"; + } + leaf conflict-source-ip-address-received { + type uint32; + description + "Number of packets received from a conflicting + Source IP address"; + } + } + + grouping STANDBY-IF-INFO { + description + "Use burnt in mac address information"; + container statistics { + description + "HSRP Interface Statistics"; + uses HSRP-IF-STATS-TYPE; + } + leaf interface { + type xr:Interface-name; + description + "IM Interface"; + } + leaf use-bia-flag { + type boolean; + description + "Use burnt in mac address flag"; + } + } + + grouping STANDBY-TRACKEDIF-INFO { + description + "Interface tracking information"; + leaf interface { + type xr:Interface-name; + description + "IM Interface"; + } + leaf hsrp-group-number { + type uint32; + description + "HSRP Group number"; + } + leaf priority-decrement { + type uint32; + description + "Priority weighting"; + } + leaf interface-up-flag { + type boolean; + description + "Interface up flag"; + } + leaf tracked-interface-name-xr { + type string { + length "0..64"; + } + description + "Tracked Interface Name"; + } + leaf is-object { + type boolean; + description + "Tracked Object Flag"; + } + } + + grouping HSRP-GROUP-STATS-TYPE { + description + "HSRP Group Statistics"; + leaf active-transitions { + type uint32; + description + "Number of transitions to Active State"; + } + leaf standby-transitions { + type uint32; + description + "Number of transitions to Standby State"; + } + leaf speak-transitions { + type uint32; + description + "Number of transitions to Speak State"; + } + leaf listen-transitions { + type uint32; + description + "Number of transitions to Listen State"; + } + leaf learn-transitions { + type uint32; + description + "Number of transitions to Learn State"; + } + leaf init-transitions { + type uint32; + description + "Number of transitions to Init State"; + } + leaf hello-packets-sent { + type uint32; + description + "Number of Hello Packets sent (NB: Bundles only)"; + } + leaf resign-packets-sent { + type uint32; + description + "Number of Resign Packets sent"; + } + leaf coup-packets-sent { + type uint32; + description + "Number of Coup Packets sent"; + } + leaf hello-packets-received { + type uint32; + description + "Number of Hello Packets received"; + } + leaf resign-packets-received { + type uint32; + description + "Number of Resign Packets received"; + } + leaf coup-packets-received { + type uint32; + description + "Number of Coup Packets received"; + } + leaf auth-fail-received { + type uint32; + description + "Number of Packets received that failed + authentication"; + } + leaf invalid-timer-received { + type uint32; + description + "Number of packets received with invalid Hello + Time value"; + } + leaf mismatch-virtual-ip-address-received { + type uint32; + description + "Number of packets received with mismatching + virtual IP address"; + } + } + + grouping HSRP-STATE-CHANGE-INFO-TYPE { + description + "State change info"; + container time { + description + "Time of state change"; + uses HSRP-BAG-TIMESTAMP; + } + leaf old-state { + type Standby-grp-state; + description + "Old State"; + } + leaf new-state { + type Standby-grp-state; + description + "New State"; + } + leaf reason { + type Hsrp-state-change-reason; + description + "Reason for state change"; + } + } + + grouping HSRP-BAG-TIMESTAMP { + description + "Timestamp"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping IPV6-BAG-ADDR { + description + "IPV6 BAG ADDR"; + leaf ipv6-address { + type inet:ipv6-address; + description + "IPV6Address"; + } + } + + grouping STANDBY-GRP-INFO { + description + "Detailed group specfic information"; + container resign-sent-time { + description + "Time last resign was sent"; + uses HSRP-BAG-TIMESTAMP; + } + container resign-received-time { + description + "Time last resign was received"; + uses HSRP-BAG-TIMESTAMP; + } + container coup-sent-time { + description + "Time last coup was sent"; + uses HSRP-BAG-TIMESTAMP; + } + container coup-received-time { + description + "Time last coup was received"; + uses HSRP-BAG-TIMESTAMP; + } + container statistics { + description + "HSRP Group statistics"; + uses HSRP-GROUP-STATS-TYPE; + } + leaf authentication-string { + type string { + length "0..9"; + } + description + "Authentication string"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "Virtual mac address"; + } + leaf hsrp-group-number { + type uint32; + description + "HSRP Group number"; + } + leaf address-family { + type Hsrp-b-af; + description + "Address family"; + } + leaf version { + type Hsrp-version; + description + "HSRP Protocol Version"; + } + leaf session-name { + type string { + length "0..16"; + } + description + "Session Name"; + } + leaf slaves { + type uint32; + description + "Number of slaves following state"; + } + leaf is-slave { + type boolean; + description + "Group is a slave group"; + } + leaf followed-session-name { + type string { + length "0..16"; + } + description + "Followed Session Name"; + } + leaf configured-priority { + type uint8; + description + "Configured priority"; + } + leaf preempt-delay { + type uint32; + units "second"; + description + "Preempt delay time in seconds"; + } + leaf preempt-timer-secs { + type uint32; + units "second"; + description + "Preempt time remaining in seconds"; + } + leaf hello-time { + type uint32; + units "millisecond"; + description + "Hellotime in msecs"; + } + leaf hold-time { + type uint32; + units "millisecond"; + description + "Holdtime in msecs"; + } + leaf learned-hello-time { + type uint32; + units "millisecond"; + description + "Learned hellotime in msecs"; + } + leaf learned-hold-time { + type uint32; + units "millisecond"; + description + "Learned holdtime in msecs"; + } + leaf min-delay-time { + type uint32; + units "millisecond"; + description + "Minimum delay time in msecs"; + } + leaf reload-delay-time { + type uint32; + units "millisecond"; + description + "Reload delay time in msecs"; + } + leaf virtual-ip-address { + type inet:ipv4-address; + description + "Configured Virtual IPv4 address"; + } + leaf virtual-linklocal-ipv6-address { + type inet:ipv6-address; + description + "Virtual linklocal IPv6 address"; + } + leaf active-ip-address { + type inet:ipv4-address; + description + "Active router's IP address"; + } + leaf active-ipv6-address { + type inet:ipv6-address; + description + "Active router's IPv6 address"; + } + leaf active-mac-address { + type yang:mac-address; + description + "Active router's interface MAC address"; + } + leaf standby-ip-address { + type inet:ipv4-address; + description + "Standby router's IP address"; + } + leaf standby-ipv6-address { + type inet:ipv6-address; + description + "Standby router's IPv6 address"; + } + leaf standby-mac-address { + type yang:mac-address; + description + "Standby router's interface MAC address"; + } + leaf hsrp-router-state { + type Standby-grp-state; + description + "HSRP router state"; + } + leaf interface-name-xr { + type string { + length "0..64"; + } + description + "Interface Name"; + } + leaf interface { + type xr:Interface-name; + description + "IM Interface"; + } + leaf router-priority { + type uint8; + description + "Priority of the router"; + } + leaf active-priority { + type uint8; + description + "Priority of the Active router"; + } + leaf active-timer-flag { + type boolean; + description + "Active timer running flag"; + } + leaf active-timer-secs { + type uint32; + units "second"; + description + "Active timer running time secs"; + } + leaf active-timer-msecs { + type uint32; + units "millisecond"; + description + "Active timer running time msecs"; + } + leaf standby-timer-flag { + type boolean; + description + "Standby timer running flag"; + } + leaf standby-timer-secs { + type uint32; + units "second"; + description + "Standby timer running time secs"; + } + leaf standby-timer-msecs { + type uint32; + units "millisecond"; + description + "Standby timer running time msecs"; + } + leaf hello-timer-flag { + type boolean; + description + "Hello timer running flag"; + } + leaf hello-timer-secs { + type uint32; + units "second"; + description + "Hello timer running time secs"; + } + leaf hello-timer-msecs { + type uint32; + units "millisecond"; + description + "Hello timer running time msecs"; + } + leaf delay-timer-flag { + type boolean; + description + "Delay timer running flag"; + } + leaf delay-timer-secs { + type uint32; + units "second"; + description + "Delay timer running time secs"; + } + leaf delay-timer-msecs { + type uint32; + units "millisecond"; + description + "Delay timer running time msecs"; + } + leaf current-state-timer-secs { + type uint32; + units "second"; + description + "Time in current state secs"; + } + leaf state-change-count { + type uint32; + description + "Number of state changes"; + } + leaf tracked-interface-count { + type uint32; + description + "Number of tracked interfaces"; + } + leaf tracked-interface-up-count { + type uint32; + description + "Number of tracked interfaces up"; + } + leaf preempt-enabled { + type boolean; + description + "Preempt enabled"; + } + leaf use-configured-timers { + type boolean; + description + "Use configured timers"; + } + leaf use-configured-virtual-ip { + type boolean; + description + "Use configured virtual IP"; + } + leaf use-bia-configured { + type boolean; + description + "Use burnt in MAC address configured"; + } + leaf configured-timers { + type boolean; + description + "Non-default timers are configured"; + } + leaf configured-mac-address { + type boolean; + description + "MAC address configured"; + } + leaf redirects-disabled { + type boolean; + description + "HSRP redirects disabled"; + } + leaf bfd-enabled { + type boolean; + description + "HSRP BFD fast failover"; + } + leaf bfd-interface { + type xr:Interface-name; + description + "BFD Interface"; + } + leaf bfd-peer-ip-address { + type inet:ipv4-address; + description + "BFD Peer IP address"; + } + leaf bfd-peer-ipv6-address { + type inet:ipv6-address; + description + "BFD Peer IPv6 address"; + } + leaf bfd-session-state { + type Hsrp-bfd-session-state; + description + "BFD session state"; + } + leaf bfd-interval { + type uint32; + description + "BFD packet send interval"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD multiplier"; + } + leaf virtual-mac-address-state { + type Hsrp-vmac-state; + description + "Virtual mac address state"; + } + leaf-list secondary-address { + type inet:ipv4-address; + description + "Secondary virtual IP addresses"; + } + list global-address { + description + "Global virtual IPv6 addresses"; + uses IPV6-BAG-ADDR; + } + list state-change-history { + description + "State change history"; + uses HSRP-STATE-CHANGE-INFO-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper.yang new file mode 100644 index 0000000..d613bf6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-hsrp-oper.yang @@ -0,0 +1,218 @@ +module Cisco-IOS-XR-ipv4-hsrp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper"; + prefix ipv4-hsrp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-hsrp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-hsrp package operational data. + + This module contains definitions + for the following management objects: + hsrp: HSRP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hsrp { + config false; + description + "HSRP operational data"; + container ipv4 { + description + "IPv4 HSRP information"; + container groups { + description + "The HSRP standby group table"; + list group { + key "interface-name group-number"; + description + "An HSRP standby group"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf group-number { + type int32; + description + "The HSRP group number"; + } + uses STANDBY-GRP-INFO; + } + } + container tracked-interfaces { + description + "The HSRP tracked interfaces table"; + list tracked-interface { + key "interface-name group-number tracked-interface-name"; + description + "An HSRP tracked interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name of the interface"; + } + leaf group-number { + type int32; + description + "The HSRP group number"; + } + leaf tracked-interface-name { + type xr:Interface-name; + description + "The interface name of the interface being + tracked"; + } + uses STANDBY-TRACKEDIF-INFO; + } + } + container interfaces { + description + "The HSRP interface information table"; + list interface { + key "interface-name"; + description + "A HSRP interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses STANDBY-IF-INFO; + } + } + } + container mgo-sessions { + description + "HSRP MGO session table"; + list mgo-session { + key "session-name"; + description + "HSRP MGO session"; + leaf session-name { + type xr:Cisco-ios-xr-string; + description + "HSRP MGO session name"; + } + uses HSRP-MGO-INFO; + } + } + container ipv6 { + description + "IPv6 HSRP information"; + container tracked-interfaces { + description + "The HSRP tracked interfaces table"; + list tracked-interface { + key "interface-name group-number tracked-interface-name"; + description + "An HSRP tracked interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name of the interface"; + } + leaf group-number { + type int32; + description + "The HSRP group number"; + } + leaf tracked-interface-name { + type xr:Interface-name; + description + "The interface name of the interface being + tracked"; + } + uses STANDBY-TRACKEDIF-INFO; + } + } + container groups { + description + "The HSRP standby group table"; + list group { + key "interface-name group-number"; + description + "An HSRP standby group"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf group-number { + type int32; + description + "The HSRP group number"; + } + uses STANDBY-GRP-INFO; + } + } + container interfaces { + description + "The HSRP interface information table"; + list interface { + key "interface-name"; + description + "A HSRP interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses STANDBY-IF-INFO; + } + } + } + container bfd-sessions { + description + "The table of HSRP BFD Sessions"; + list bfd-session { + key "interface-name ip-address"; + description + "An HSRP BFD Session"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "Destination IP Address of BFD Session"; + } + uses STANDBY-BFD-INFO; + } + } + container summary { + description + "HSRP summary statistics"; + uses HSRP-SUMMARY-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-cfg.yang new file mode 100644 index 0000000..f4db83d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-cfg.yang @@ -0,0 +1,760 @@ +module Cisco-IOS-XR-ipv4-igmp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-cfg"; + prefix ipv4-igmp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-igmp package configuration. + + This module contains definitions + for the following management objects: + igmp: IGMPconfiguration + amt: amt + mld: mld + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-10 { + description + "Removed invalid configs from VRF container"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Igmp-filter { + type enumeration { + enum "include" { + value 0; + description + "Include"; + } + enum "exclude" { + value 1; + description + "Exclude"; + } + enum "star-g" { + value 2; + description + "StarG"; + } + } + description + "Igmp filter"; + } + + grouping MAXIMUM-GROUPS-PER-INTERFACE-OOR { + description + "Common node of inheritable-defaults, interface"; + container maximum-groups-per-interface-oor { + presence "Indicates a maximum-groups-per-interface-oor node is configured."; + description + "Configure maximum number of groups accepted per + interface by this router"; + leaf maximum-groups { + type uint32 { + range "1..40000"; + } + mandatory true; + description + "Maximum number of groups accepted per interface + by this router"; + } + leaf warning-threshold { + type uint32 { + range "1..40000"; + } + default "25000"; + description + " WarningThreshold for number of groups accepted + per interface by this router"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list to account for"; + } + } + } + + grouping VRF-TABLE { + description + "Common node of mld, igmp"; + container vrfs { + description + "VRF related configuration"; + list vrf { + key "vrf-name"; + description + "Configuration for a particular vrf"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name for this vrf"; + } + uses TRAFFIC; + uses INHERITABLE-DEFAULTS; + uses SSM-ACCESS-GROUP-TABLE; + uses MAXIMUM; + uses SSMDNS-QUERY-GROUP; + uses INTERFACE-TABLE; + uses ROBUSTNESS; + } + } + } + + grouping TRAFFIC { + description + "Common node of vrf, default-context"; + container traffic { + description + "Configure IGMP Traffic variables"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Configure the route-policy profile"; + } + } + } + + grouping INHERITABLE-DEFAULTS { + description + "Common node of vrf, default-context"; + container inheritable-defaults { + description + "Inheritable Defaults"; + uses MAXIMUM-GROUPS-PER-INTERFACE-OOR; + uses QUERY-TIMEOUT; + uses ACCESS-GROUP; + uses QUERY-MAX-RESPONSE-TIME; + uses VERSION; + uses ROUTER-ENABLE; + uses QUERY-INTERVAL; + uses EXPLICIT-TRACKING; + } + } + + grouping ROBUSTNESS { + description + "Common node of vrf, default-context"; + leaf robustness { + type uint32 { + range "2..10"; + } + default "2"; + description + "Configure IGMP Robustness variable"; + } + } + + grouping VERSION { + description + "Common node of inheritable-defaults, interface"; + leaf version { + type uint32 { + range "1..3"; + } + default "3"; + description + "Version number"; + } + } + + grouping MAXIMUM { + description + "Common node of vrf, default-context"; + container maximum { + description + "Configure IGMP State Limits"; + leaf maximum-groups { + type uint32 { + range "1..75000"; + } + default "50000"; + description + "Configure maximum number of groups accepted by + this router"; + } + } + } + + grouping INTERFACE-TABLE { + description + "Common node of vrf, default-context"; + container interfaces { + description + "Interface-level configuration"; + list interface { + key "interface-name"; + description + "The name of the interface"; + container join-groups { + presence "Indicates a join-groups node is configured."; + description + "IGMP join multicast group"; + + grouping JOIN-GROUP-CONTENT { + description + "JOIN GROUP CONTENT"; + leaf mode { + type Igmp-filter; + mandatory true; + description + "Filter mode"; + } + } + list join-group { + key "group-address"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + uses JOIN-GROUP-CONTENT; + } + list join-group-source-address { + key "group-address source-address"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "Optional IP source address"; + } + uses JOIN-GROUP-CONTENT; + } + } + container static-group-group-addresses { + description + "IGMP static multicast group"; + + grouping STATIC-GROUP-CONTENT { + description + "STATIC GROUP CONTENT"; + leaf group-count { + type uint32 { + range "1..512"; + } + default "1"; + description + "Number of groups to join (do not set without + GroupAddressMask)"; + } + leaf source-count { + type uint32 { + range "1..512"; + } + default "1"; + description + "Number of sources to join (do not set + without SourceAddressMask)"; + } + leaf suppress-report { + type boolean; + default "false"; + description + "Suppress reports"; + } + } + list static-group-group-address { + key "group-address"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + uses STATIC-GROUP-CONTENT; + } + list static-group-group-address-source-address { + key "group-address source-address"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "IP source address"; + } + uses STATIC-GROUP-CONTENT; + } + list static-group-group-address-source-address-source-address-mask { + key "group-address source-address source-address-mask"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "IP source address"; + } + leaf source-address-mask { + type inet:ip-address-no-zone; + description + "Mask for Source Address"; + } + uses STATIC-GROUP-CONTENT; + } + list static-group-group-address-group-address-mask { + key "group-address group-address-mask"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf group-address-mask { + type inet:ip-address-no-zone; + description + "Mask for Group Address"; + } + uses STATIC-GROUP-CONTENT; + } + list static-group-group-address-group-address-mask-source-address { + key "group-address group-address-mask source-address"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf group-address-mask { + type inet:ip-address-no-zone; + description + "Mask for Group Address"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "IP source address"; + } + uses STATIC-GROUP-CONTENT; + } + list static-group-group-address-group-address-mask-source-address-source-address-mask { + key "group-address group-address-mask source-address source-address-mask"; + description + "IP group address and optional source address + to include"; + leaf group-address { + type inet:ip-address-no-zone; + description + "IP group address"; + } + leaf group-address-mask { + type inet:ip-address-no-zone; + description + "Mask for Group Address"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "IP source address"; + } + leaf source-address-mask { + type inet:ip-address-no-zone; + description + "Mask for Source Address"; + } + uses STATIC-GROUP-CONTENT; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses MAXIMUM-GROUPS-PER-INTERFACE-OOR; + uses QUERY-TIMEOUT; + uses ACCESS-GROUP; + uses QUERY-MAX-RESPONSE-TIME; + uses VERSION; + uses ROUTER-ENABLE; + uses QUERY-INTERVAL; + uses EXPLICIT-TRACKING; + } + } + } + + grouping ACCESS-GROUP { + description + "Common node of inheritable-defaults, interface"; + leaf access-group { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list specifying access group range"; + } + } + + grouping SSM-ACCESS-GROUP-TABLE { + description + "Common node of vrf, default-context"; + container ssm-access-groups { + description + "IGMP Source specific mode"; + list ssm-access-group { + key "source-address"; + description + "SSM static Access Group"; + leaf source-address { + type inet:ip-address-no-zone; + description + "IP source address"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + mandatory true; + description + "Access list specifying access group"; + } + } + } + } + + grouping QUERY-MAX-RESPONSE-TIME { + description + "Common node of inheritable-defaults, interface"; + leaf query-max-response-time { + type uint32 { + range "1..12"; + } + units "second"; + default "10"; + description + "Query response value in seconds"; + } + } + + grouping DEFAULT-CONTEXT { + description + "Common node of igmp, mld"; + container default-context { + presence "Indicates a default-context node is configured."; + description + "Default Context"; + container nsf { + description + "Configure NSF specific options"; + leaf lifetime { + type uint32 { + range "10..3600"; + } + units "second"; + default "60"; + description + "Maximum time for IGMP NSF mode in seconds"; + } + } + container unicast-qos-adjust { + description + "Configure IGMP QoS shapers for subscriber + interfaces"; + leaf download-interval { + type uint32 { + range "10..500"; + } + units "millisecond"; + default "100"; + description + "Configure the QoS download interval (in + milliseconds)"; + } + leaf adjustment-delay { + type uint32 { + range "0..10"; + } + units "second"; + default "1"; + description + "Configure the QoS delay before programming (in + seconds)"; + } + leaf hold-off { + type uint32 { + range "5..1800"; + } + units "second"; + default "180"; + description + "Configure the QoS hold off time (in seconds)"; + } + } + container accounting { + description + "Configure IGMP accounting for logging + join/leave records"; + leaf max-history { + type uint32 { + range "1..365"; + } + units "day"; + default "1"; + description + "Configure IGMP accounting Maximum History + setting"; + } + } + uses TRAFFIC; + uses INHERITABLE-DEFAULTS; + uses SSM-ACCESS-GROUP-TABLE; + uses MAXIMUM; + uses SSMDNS-QUERY-GROUP; + uses INTERFACE-TABLE; + uses ROBUSTNESS; + } + } + + grouping QUERY-INTERVAL { + description + "Common node of inheritable-defaults, interface"; + leaf query-interval { + type uint32 { + range "1..3600"; + } + units "second"; + default "60"; + description + "Query interval in seconds"; + } + } + + grouping ROUTER-ENABLE { + description + "Common node of inheritable-defaults, interface"; + leaf router-enable { + type boolean; + default "true"; + description + "Enabled or disabled, when value is TRUE or FALSE + respectively"; + } + } + + grouping SSMDNS-QUERY-GROUP { + description + "Common node of vrf, default-context"; + leaf ssmdns-query-group { + type empty; + description + "Enable SSM mapping using DNS Query"; + } + } + + grouping QUERY-TIMEOUT { + description + "Common node of inheritable-defaults, interface"; + leaf query-timeout { + type uint32 { + range "60..300"; + } + units "second"; + description + "IGMP previous querier timeout"; + } + } + + grouping EXPLICIT-TRACKING { + description + "Common node of inheritable-defaults, interface"; + container explicit-tracking { + presence "Indicates a explicit-tracking node is configured."; + description + "IGMPv3 explicit host tracking"; + leaf enable { + type boolean; + mandatory true; + description + "Enabled or disabled, when value is TRUE or + FALSE respectively"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list specifying tracking group range"; + } + } + } + + container igmp { + presence "Indicates a igmp node is configured."; + description + "IGMPconfiguration"; + uses VRF-TABLE; + uses DEFAULT-CONTEXT; + } + container amt { + description + "amt"; + container relay-adv-add { + presence "Indicates a relay-adv-add node is configured."; + description + "Configure AMT Relay IPv4 Advertisement Address"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "AMT Relay IPv4 Advertisement Address"; + } + leaf interface { + type xr:Interface-name; + description + "Relay Advertisement Interface"; + } + } + container relay-anycast-prefix { + presence "Indicates a relay-anycast-prefix node is configured."; + description + "Configure AMT Relay IPv4 Anycast-Prefix"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Anycast-Prefix Address"; + } + leaf prefix-length { + type uint32 { + range "1..32"; + } + description + "Mask Length for Anycast Prefix"; + } + } + leaf maximum-v4-route-gateway { + type uint32 { + range "1..4294967295"; + } + description + "Configure Maximum number of IPv4 route-gateways + (Tunnels)"; + } + leaf gateway-filter { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list for Gateway Filter"; + } + leaf maximum-v4-routes { + type uint32 { + range "1..4294967295"; + } + description + "Configure Maximum number of IPv4 Routes"; + } + leaf amttos { + type uint32 { + range "1..255"; + } + description + "Configure AMT Relay TOS"; + } + leaf amtttl { + type uint32 { + range "1..255"; + } + description + "Configure AMT Relay TTL"; + } + leaf maximum-v6-route-gateway { + type uint32 { + range "1..4294967295"; + } + description + "Configure Maximum number of IPv6 route-gateways + (Tunnels)"; + } + leaf maximum-gateway { + type uint32 { + range "1..4294967295"; + } + description + "Configure AMT maximum number of Gateways"; + } + leaf maximum-v6-routes { + type uint32 { + range "1..4294967295"; + } + description + "Configure Maximum number of IPv6 Routes"; + } + leaf amtqqic { + type uint32 { + range "1..4294967295"; + } + description + "Configure AMT QQIC value"; + } + leaf amtmtu { + type uint32 { + range "100..65535"; + } + description + "Configure AMT Relay MTU"; + } + } + container mld { + presence "Indicates a mld node is configured."; + description + "mld"; + uses VRF-TABLE; + uses DEFAULT-CONTEXT; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang new file mode 100644 index 0000000..068de41 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg.yang @@ -0,0 +1,147 @@ +module Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-dyn-tmpl-cfg"; + prefix ipv4-igmp-dyn-tmpl-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-igmp-dyn-tmpl package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dyn-tmpl-multicast-mode { + type enumeration { + enum "qos-correlation" { + value 1; + description + "QOS Correlation"; + } + enum "passive" { + value 2; + description + "Passive"; + } + } + description + "Dyn tmpl multicast mode"; + } + + grouping IGMP { + description + "Common node of ppp, ip-subscriber"; + container igmp { + description + "IGMPconfiguration"; + container default-vrf { + description + "Default VRF"; + container explicit-tracking { + presence "Indicates a explicit-tracking node is configured."; + description + "IGMPv3 explicit host tracking"; + leaf enable { + type boolean; + mandatory true; + description + "Enable or disable, when value is TRUE or + FALSE respectively"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list specifying tracking group range"; + } + } + leaf max-groups { + type uint32 { + range "1..40000"; + } + default "25000"; + description + "IGMP Max Groups"; + } + leaf access-group { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list specifying access-list group range"; + } + leaf version { + type uint32 { + range "1..3"; + } + default "3"; + description + "IGMP Version"; + } + leaf query-interval { + type uint32 { + range "1..3600"; + } + units "second"; + default "60"; + description + "Query interval in seconds"; + } + leaf query-max-response-time { + type uint32 { + range "1..12"; + } + units "second"; + default "10"; + description + "Query response value in seconds"; + } + leaf multicast-mode { + type Dyn-tmpl-multicast-mode; + description + "Configure Multicast mode variable"; + } + } + } + } + + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IGMP; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IGMP; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang new file mode 100644 index 0000000..87afdc4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper-sub1.yang @@ -0,0 +1,1664 @@ +submodule Cisco-IOS-XR-ipv4-igmp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-igmp-oper { + prefix Cisco-IOS-XR-ipv4-igmp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-igmp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Igmp-edm-protocol { + type enumeration { + enum "no-route" { + value 0; + description + "no route"; + } + enum "sm" { + value 1; + description + "sm"; + } + enum "dm" { + value 2; + description + "dm"; + } + enum "bidir" { + value 3; + description + "bidir"; + } + enum "ssm" { + value 4; + description + "ssm"; + } + enum "any" { + value 6; + description + "any"; + } + } + description + "IGMP Protocol"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + typedef Igmp-afi { + type enumeration { + enum "ipv4-unicast" { + value 0; + description + "IP v4 unicast"; + } + enum "ipv6-unicast" { + value 1; + description + "IP v6 unicast"; + } + } + description + "Address family"; + } + + typedef Im-state { + type uint32; + description + "Im state"; + } + + grouping IGMP-EDM-NSF-BAG { + description + "IGMP NSF state"; + leaf is-multicast-nsf-active { + type boolean; + description + "Is Multicast NSF active"; + } + leaf multicast-nsf-timeout { + type uint32; + units "second"; + description + "Multicast NSF timeout in secs"; + } + leaf multicast-nsf-time-left { + type uint32; + units "second"; + description + "Multicast NSF time remaining in secs"; + } + leaf respawn-count { + type uint32; + description + "Respawn Count"; + } + leaf last-nsf-on { + type int64; + description + "Last NSF time ON"; + } + leaf last-nsf-off { + type int64; + description + "Last NSF time off"; + } + leaf last-nsf-on-min { + type int32; + units "second"; + description + "Last NSF time ON in Seconds"; + } + leaf last-nsf-off-min { + type int32; + units "second"; + description + "Last NSF time OFF in Seconds"; + } + leaf last-icd-notif-recv { + type int64; + description + "Last ICD Notif Recv"; + } + leaf last-icd-notif-recv-min { + type int32; + units "second"; + description + "Last ICD Notif Recv in Seconds"; + } + } + + grouping IGMP-EDM-BVI-STATS-BAG { + description + "IGMP EDM BVI STATS BAG"; + leaf receive-buffers { + type uint32; + description + "Number of AIPC buffers received"; + } + leaf release-buffers { + type uint32; + description + "Number of AIPC buffers released"; + } + leaf send-blocks { + type uint32; + description + "Number of AIPC buffers send blocked"; + } + leaf release-fail-buffers { + type uint32; + description + "Number of AIPC buffers release failed"; + } + leaf null-buffer-handles { + type uint32; + description + "Number of AIPC NULL buffer handles"; + } + leaf rx-ipc-open-notif { + type uint32; + description + "Number of AIPC open notifications received"; + } + leaf rx-ipc-close-notif { + type uint32; + description + "Number of AIPC close notifications received"; + } + leaf rx-ipc-error-notif { + type uint32; + description + "Number of AIPC error notifications received"; + } + leaf rx-ipc-lwm-notif { + type uint32; + description + "Number of AIPC LWM notifications received"; + } + leaf rx-ipc-input-wait-notif { + type uint32; + description + "Number of AIPC input waiting notifications + received"; + } + leaf rx-ipc-send-status-notif { + type uint32; + description + "Number of AIPC send status notifications + received"; + } + leaf rx-ipc-publish-notif { + type uint32; + description + "Number of AIPC publish notifications received"; + } + leaf rx-ipc-q-full-notif { + type uint32; + description + "Number of AIPC queue full notifications received"; + } + leaf rx-ipc-output-notif { + type uint32; + description + "Number of AIPC output notifications received"; + } + leaf rx-ipc-connect-notif { + type uint32; + description + "Number of AIPC connect notifications received"; + } + leaf rx-igmp-packet-success { + type uint32; + description + "Number of IGMP protocol messages received"; + } + leaf rx-add-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Add messages received"; + } + leaf rx-delete-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Delete messages received"; + } + leaf rx-sweep-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Sweep messages received"; + } + leaf tx-add-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Add messages transmitted"; + } + leaf tx-delete-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Delete messages + transmitted"; + } + leaf tx-sweep-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Sweep messages received"; + } + leaf rx-unknown-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Unknown messages received"; + } + leaf tx-unknown-mrouter-msg { + type uint32; + description + "Number of IGMP Mrouter Unknown messages + transmitted"; + } + leaf tx-buffer-errors { + type uint32; + description + "Number of AIPC transmission errors"; + } + leaf tx-buffers { + type uint32; + description + "Number of AIPC buffers transmited"; + } + leaf tx-protocol-buffers { + type uint32; + description + "Number of IGMP protocol buffers transmitted"; + } + leaf tx-mrouter-buffers { + type uint32; + description + "Number of IGMP Mrouter buffers transmitted"; + } + leaf tx-unknown-buffers { + type uint32; + description + "Number of IGMP Unknown buffers transmited"; + } + leaf wtx-msg-recvd { + type uint32; + description + "Number of WTX messages received"; + } + leaf wtx-msg-sent { + type uint32; + description + "Number of WTX messages sent"; + } + leaf wtx-msg-proto-sent { + type uint32; + description + "Number of WTX messages sent to Protocol"; + } + leaf wtx-msg-drop-dc { + type uint32; + description + "Number of WTX messages dropped due to disconnect"; + } + leaf wtx-msg-drop-nomem { + type uint32; + description + "Number of WTX messages dropped to memory"; + } + leaf wtx-msg-freed { + type uint32; + description + "Number of WTX messages freed"; + } + } + + grouping IGMP-EDM-I2Q-STATS-BAG { + description + "IGMP Rate Adjust Stats"; + leaf queues { + type uint16; + description + "I2Q Queue count"; + } + leaf batches { + type uint16; + description + "I2Q Rate Batch count"; + } + leaf add-to-batches { + type uint32; + description + "Add to batch count"; + } + leaf delete-to-batches { + type uint32; + description + "Delete to batch count"; + } + leaf send-success { + type uint32; + description + "Send Success count"; + } + leaf send-errors { + type uint32; + description + "Number of Send errors in batch"; + } + leaf send-comm-errors { + type uint32; + description + "Send Error due to comms count"; + } + leaf send-partial-errors { + type uint32; + description + "Send Error due to partial issue count"; + } + leaf received-resync-requests { + type uint32; + description + "Number of Resync request received"; + } + leaf sent-resync-bulks { + type uint32; + description + "Number of bulks sent for last resync received"; + } + leaf is-resync-received { + type boolean; + description + "Is Resync request received"; + } + leaf is-resync-required { + type boolean; + description + "Is Resync required"; + } + leaf is-resync-start-sent { + type boolean; + description + "Is Resync Start message sent"; + } + leaf is-qos-s-sweeped { + type boolean; + description + "Is QOS Sweeped once "; + } + leaf last-sweep-time { + type uint64; + units "second"; + description + "Time elapsed since Last mark and sweep in + seconds"; + } + leaf last-download-time { + type uint64; + units "second"; + description + "Time elapsed since Last download to QOS in + seconds"; + } + } + + grouping AMT-GW-BAG { + description + "AMT GW info"; + leaf amtgw { + type inet:ipv4-address; + description + "GW"; + } + leaf amt-port { + type uint32; + description + "Port"; + } + leaf key-len { + type uint32; + description + "Len"; + } + leaf amtnh { + type uint32; + description + "AMT NH"; + } + leaf amt-nonce { + type uint32; + description + "Nonce"; + } + leaf idb { + type uint64; + description + "IDB"; + } + leaf mem-upd-in { + type uint32; + description + "UpdIn"; + } + leaf mem-upd-out { + type uint32; + description + "UpdOut"; + } + } + + grouping IGMP-EDM-NSR-BAG { + description + "IGMP NSR state"; + leaf state { + type uint8; + description + "NSR state"; + } + leaf partner-proc-connected { + type boolean; + description + "Partner process connected"; + } + leaf collab-conv-done { + type boolean; + description + "Collaborators convergence done"; + } + leaf rmf-notification-done { + type boolean; + description + "RMF Notification done"; + } + leaf last-proc { + type uint64; + description + "Time when process came up"; + } + leaf last-proc-connection-up { + type uint64; + description + "Time when process connection went up"; + } + leaf last-proc-connection-dn { + type uint64; + description + "Time when process connection went down"; + } + leaf last-rmf-ready { + type uint64; + description + "Time when RMF Rdy notif was sent"; + } + leaf last-rmf-not-ready { + type uint64; + description + "Time when RMF Not-Rdy notif was sent"; + } + leaf count-proc-connection-up { + type uint32; + description + "No. of times process connection went up"; + } + leaf count-proc-connection-dn { + type uint32; + description + "No. of times process connection went down"; + } + leaf count-rmf-ready { + type uint32; + description + "No. of times RMF Ready notif was sent"; + } + leaf count-rmf-not-ready { + type uint32; + description + "No. of times RMF Not Ready notif was sent"; + } + } + + grouping AMT-SUMMARY-BAG { + description + "AMT summary info"; + leaf anycast-prefix { + type inet:ipv4-address; + description + "Robustness variable"; + } + leaf prefix-length { + type uint32; + description + "Advertize AMT prefix length"; + } + leaf relay-address { + type inet:ipv4-address; + description + "Advertaisment for AMT Relay address"; + } + leaf mtu { + type uint32; + description + "AMT Tunnel MTU"; + } + leaf tos { + type uint32; + description + "Type Of Service value in AMT header"; + } + leaf ttl { + type uint32; + description + "Time To Live value in AMT header"; + } + leaf query-interval { + type uint32; + description + "AMT Query interval"; + } + leaf gateway-count { + type uint32; + description + "Number of AMT Gateway"; + } + leaf max-gateway { + type uint32; + description + "Maximum Gateway allowed"; + } + leaf tunnel-count { + type uint32; + description + "AMT Tunnel Count"; + } + leaf tunnel-configured-maximum { + type uint32; + description + "AMT Tunnel configured Maximum"; + } + leaf is-acl-configured { + type boolean; + description + "ACL configured under AMT"; + } + leaf is-gateway-simulation { + type boolean; + description + "AMT Gateway Simulation"; + } + leaf is-ou-of-resource { + type boolean; + description + "AMT Out Of Resource"; + } + } + + grouping IGMP-EDM-SSM-MAP-DETAIL-BAG { + description + "IGMP SSM Map Detail List"; + container map-info { + description + "Basic Map Info"; + uses IGMP-EDM-SSM-MAP-BAG; + } + leaf expiration-time { + type uint32; + units "second"; + description + "Expiration Time in Seconds"; + } + leaf response-pending { + type boolean; + description + "Response Pending"; + } + leaf query-interval { + type uint32; + description + "Query interval"; + } + leaf elapsed-time { + type uint64; + description + "Elapsed time"; + } + list sources { + description + "List of sources"; + uses IGMP-ADDRTYPE; + } + } + + grouping IGMP-EDM-IDB-SUMM-BAG { + description + "IGMP Interface DB summary"; + leaf interface-count { + type uint32; + description + "Interface Count"; + } + leaf configuration-count { + type uint32; + description + "Configuration count"; + } + } + + grouping IGMP-EDM-GROUPS-SUMMARY-BAG { + description + "IGMP group summary entry"; + leaf groutes { + type uint32; + description + "No. of (*,G) routes"; + } + leaf sg-routes { + type uint32; + description + "No. of (S,G) routes"; + } + leaf group-count { + type uint32; + description + "Current groups accepted"; + } + leaf is-low-memory { + type boolean; + description + "Node is running low on memory"; + } + } + + grouping IGMP-EDM-TRAFFIC-BAG { + description + "IGMP Traffic Counters bag"; + leaf elapsed-time { + type uint32; + description + "Running time for counters"; + } + leaf packets-in { + type uint32; + description + "Packets in"; + } + leaf packets-out { + type uint32; + description + "Packets out"; + } + leaf format-errors { + type uint32; + description + "Malformed packets in"; + } + leaf packet-manager-input-errors { + type uint32; + description + "Incoming Packet Manager packets dropped"; + } + leaf packet-manager-output-errors { + type uint32; + description + "Outgoing Packet Manager packets dropped"; + } + leaf checksum-errors { + type uint32; + description + "Checksum errors"; + } + leaf receive-socket-errors { + type uint32; + description + "Socket errors on reception"; + } + leaf socket-errors { + type uint32; + description + "Socket errors on send"; + } + leaf bad-scope-errors { + type uint32; + description + "BadScope errors"; + } + leaf auxillary-data-length-errors { + type uint32; + description + "AuxDataLen errors"; + } + leaf invalid-source-address-errors { + type uint32; + description + "Invalid Source Address errors"; + } + leaf no-socket-connection { + type uint32; + description + "Packets dropped since no socket connection"; + } + leaf miscellaneous-errors { + type uint32; + description + "Packets dropped for other reasons"; + } + leaf input-queries { + type uint32; + description + "Query packets in"; + } + leaf input-reports { + type uint32; + description + "Reports in"; + } + leaf input-leaves { + type uint32; + description + "Leaves in"; + } + leaf input-mtrace { + type uint32; + description + "Mtrace packets in"; + } + leaf input-dvmrp { + type uint32; + description + "DVMRP packets in"; + } + leaf input-pim { + type uint32; + description + "PIM packets in"; + } + leaf output-queries { + type uint32; + description + "Query packets out"; + } + leaf output-reports { + type uint32; + description + "Reports out"; + } + leaf output-leaves { + type uint32; + description + "Leaves out"; + } + leaf output-mtrace { + type uint32; + description + "Mtrace packets out"; + } + leaf output-dvmrp { + type uint32; + description + "DVMRP packets out"; + } + leaf output-pim { + type uint32; + description + "PIM packets out"; + } + leaf get-packet-failure { + type uint32; + description + "Packet get failed"; + } + leaf output-no-parent-interface-handle { + type uint32; + description + "Failures setting 2nd ifhandle"; + } + leaf input-no-idb { + type uint32; + description + "Packets received without idb"; + } + leaf input-no-vrf-in-idb { + type uint32; + description + "Packets received on idb without VRF"; + } + leaf input-disabled-idb { + type uint32; + description + "Packet received on disabled idb"; + } + leaf input-martian-address { + type uint32; + description + "Packets received with Martian Address"; + } + leaf input-no-assigned-vrf-id { + type uint32; + description + "Packets received with no assigned vrf id"; + } + leaf input-no-vrf-mtrace { + type uint32; + description + "mtrace packets with no vrf associated"; + } + leaf input-no-platform-support-mtrace { + type uint32; + description + "mtrace packets without platform support"; + } + } + + grouping IGMP-EDM-IDB-IFRS-BAG { + description + "IGMP IFRS interface entry"; + container igmp-interface-entry { + description + "IGMP interface entry"; + uses IGMP-EDM-IDB-BAG; + } + leaf join-group-count { + type uint32; + description + "Join group count"; + } + } + + grouping IGMP-GROUP-RANGE { + description + "IGMP Group-Map Range"; + container group-address-xr { + description + "Group address"; + uses IGMP-ADDRTYPE; + } + leaf prefix-length { + type uint32; + description + "Prefix length"; + } + leaf protocol { + type Igmp-edm-protocol; + description + "Protocol"; + } + leaf is-stale { + type boolean; + description + "Is the entry stale"; + } + } + + grouping IGMP-EDM-I2Q-INTF-RATE-BAG { + description + "IGMP-QOS Interface Rate"; + container source-address { + description + "Source address"; + uses IGMP-ADDRTYPE; + } + container group-address { + description + "Group address"; + uses IGMP-ADDRTYPE; + } + leaf is-add { + type boolean; + description + "Is this a rate increment"; + } + leaf weight { + type uint32; + description + "Weight from policy"; + } + leaf received-time { + type uint64; + description + "Time this update is received"; + } + } + + grouping IGMP-EDM-I2Q-INTF-STATS-BAG { + description + "IGMP-QOS Interface Stats"; + leaf is-virtual-access { + type boolean; + description + "Is VirtualAccess Interface"; + } + leaf rate { + type uint32; + units "kbit/s"; + description + "Overall rate in Kbps"; + } + leaf rate-increments { + type uint32; + description + "Count of rate increments"; + } + leaf rate-decrements { + type uint32; + description + "Count of rate decrements"; + } + list update { + max-elements "5"; + description + "List of updates"; + uses IGMP-EDM-I2Q-INTF-RATE-BAG; + } + } + + grouping IGMP-EDM-GROUPS-HOST-BAG { + description + "IGMP Groups host entry"; + container address { + description + "Host Address"; + uses IGMP-ADDRTYPE; + } + leaf uptime { + type uint32; + units "second"; + description + "Uptime in seconds"; + } + leaf is-exclude { + type boolean; + description + "Exclude flag set"; + } + leaf expiration-time { + type uint32; + units "second"; + description + "Expiration time in seconds"; + } + leaf source-count { + type uint32; + description + "No. of sources in entry"; + } + list source-address { + max-elements "3"; + description + "First 3 source addresses"; + uses IGMP-ADDRTYPE; + } + } + + grouping IGMP-EDM-GROUPS-ET-BAG { + description + "IGMP group explicit-tracking entry"; + container group-info { + description + "Basic Group information"; + uses IGMP-EDM-GROUPS-BAG; + } + leaf include-hosts { + type uint32; + description + "No. of hosts who are included"; + } + leaf exclude-hosts { + type uint32; + description + "No. of hosts who are excluded"; + } + list host { + description + "List of hosts"; + uses IGMP-EDM-GROUPS-HOST-BAG; + } + } + + grouping IGMP-EDM-SSM-MAP-BAG { + description + "IGMP SSM Map List"; + container group-address-xr { + description + "Group Address"; + uses IGMP-ADDRTYPE; + } + leaf map-type { + type uint32; + description + "Map Type of group"; + } + leaf source-counts { + type uint32; + description + "Count of Sources"; + } + } + + grouping IGMP-EDM-NOT-ACTIVE-GROUP-BAG { + description + "IGMP Non active group"; + container group-address { + description + "Group Address"; + uses IGMP-ADDRTYPE; + } + container source-address { + description + "Source Address"; + uses IGMP-ADDRTYPE; + } + leaf interface { + type string { + length "0..65"; + } + description + "Interface Name"; + } + leaf reason-for-non-activity { + type string { + length "0..257"; + } + description + "Reason for group join not being processed"; + } + } + + grouping IGMP-EDM-NOT-ACTIVE-ALLGROUPS-BAG { + description + "IGMP Non active groups list"; + list non-active-groups { + description + "List of non-active groups"; + uses IGMP-EDM-NOT-ACTIVE-GROUP-BAG; + } + } + + grouping IGMP-EDM-GROUPS-SOURCE-BAG { + description + "IGMP Groups source entry"; + container source-address { + description + "Source Address"; + uses IGMP-ADDRTYPE; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expiration-time { + type int32; + units "second"; + description + "Expiration time in seconds"; + } + leaf is-local { + type boolean; + description + "Is this a local source"; + } + leaf is-remote { + type boolean; + description + "Is this a remote source"; + } + leaf is-forward { + type boolean; + description + "Should we forward on this entry"; + } + leaf is-we-report { + type boolean; + description + "Should we report the source"; + } + leaf flags { + type int32; + description + "Source flags"; + } + leaf is-added { + type boolean; + description + "Joined"; + } + } + + grouping IGMP-EDM-GROUPS-BAG { + description + "IGMP group entry"; + container group-address-xr { + description + "Group Address"; + uses IGMP-ADDRTYPE; + } + container last-reporter { + description + "Last reporter address"; + uses IGMP-ADDRTYPE; + } + container source-address { + description + "Source Address"; + uses IGMP-ADDRTYPE; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expiration-time { + type int32; + units "second"; + description + "Expiration time in seconds"; + } + leaf explicit-tracking-enabled { + type boolean; + description + "Is explicit tracking enabled"; + } + leaf is-self-join { + type boolean; + description + "If local system is member of this group on this + interface"; + } + leaf row-status { + type string { + length "0..16"; + } + description + "interface on or off for the group"; + } + leaf is-low-memory { + type boolean; + description + "Node is running low on memory"; + } + leaf router-filter-mode { + type uint8; + description + "Filter mode"; + } + leaf older-host-version1-timer { + type uint32; + description + "IGMP Hostversion1timer"; + } + leaf older-host-version2-timer { + type uint32; + description + "IGMP Hostversion2timer"; + } + leaf is-added { + type boolean; + description + "Joined"; + } + leaf is-suppressed { + type boolean; + description + "Suppressed"; + } + } + + grouping IGMP-EDM-GROUPS-DETAIL-BAG { + description + "IGMP group detail entry"; + container group-info { + description + "Basic Group information"; + uses IGMP-EDM-GROUPS-BAG; + } + leaf is-router-exclude-mode { + type boolean; + description + "Group router filter mode"; + } + leaf is-host-exclude-mode { + type boolean; + description + "Group host filter mode"; + } + list source { + description + "List of sources"; + uses IGMP-EDM-GROUPS-SOURCE-BAG; + } + } + + grouping IGMP-ADDRTYPE { + description + "IGMP ADDRTYPE"; + leaf af-name { + type Igmp-afi; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4-unicast'" { + description + "../AFName = 'IPv4Unicast'"; + } + type inet:ipv4-address; + description + "IPv4 Addr"; + } + leaf ipv6-address { + when "../af-name = 'ipv6-unicast'" { + description + "../AFName = 'IPv6Unicast'"; + } + type Ipv6-address; + description + "IPV6 Addr"; + } + } + + grouping IGMP-EDM-IDB-BAG { + description + "IGMP interface entry"; + container address { + description + "IP address"; + uses IGMP-ADDRTYPE; + } + container querier-address { + description + "Address of the Querier"; + uses IGMP-ADDRTYPE; + } + container subscriber-address { + description + "Address of subscriber"; + uses IGMP-ADDRTYPE; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf state { + type Im-state; + description + "Interface state"; + } + leaf prefix-length { + type uint32; + description + "Prefix length"; + } + leaf is-interface-up { + type boolean; + description + "Is interface up"; + } + leaf is-ip-enabled { + type boolean; + description + "Is IP enabled"; + } + leaf is-router-enabled { + type boolean; + description + "Is Router functionality enabled"; + } + leaf igmp-version { + type uint8; + description + "IGMP Router version"; + } + leaf host-version { + type uint8; + description + "IGMP Host version"; + } + leaf query-interval { + type uint16; + units "second"; + description + "Query Interval value in seconds"; + } + leaf query-timeout { + type uint16; + description + "Query Timeout value"; + } + leaf query-maximum-response-time { + type uint16; + description + "Max Response Timeout value"; + } + leaf last-member-query-interval { + type uint16; + description + "Last Member Query Interval"; + } + leaf group-joins { + type uint32; + description + "No. of group joins"; + } + leaf group-leaves { + type uint32; + description + "No. of group leaves"; + } + leaf is-querier { + type boolean; + description + "Are we querier"; + } + leaf total-active-groups { + type uint32; + description + "Actual number of groups on interface"; + } + leaf robustness { + type uint32; + description + "Robustness Variable value"; + } + leaf proxy-interface { + type xr:Interface-name; + description + "Proxy interface index"; + } + leaf querier-uptime { + type uint16; + description + "Time since the last querier took over"; + } + leaf las-ll-registration-count { + type uint32; + description + "LAS reg count"; + } + leaf las-get-address-count { + type uint32; + description + "LAS get addr count"; + } + leaf las-update-count { + type uint32; + description + "LAS Update count"; + } + leaf las-ll-remove-update-count { + type uint32; + description + "LAS LL remove update count"; + } + leaf las-ll-add-update-count { + type uint32; + description + "LAS LL add update count"; + } + leaf las-null-update-count { + type uint32; + description + "LAS Null update count"; + } + leaf las-unregistration-count { + type uint32; + description + "LAS unreg count"; + } + leaf is-las-request { + type boolean; + description + "LAS req"; + } + leaf is-las-registered { + type boolean; + description + "LAS registered"; + } + leaf vrf-id { + type uint32; + description + "VRF id"; + } + leaf mte-vrf-id { + type uint32; + description + "MTE VRF id"; + } + leaf location { + type uint32; + description + "Location"; + } + leaf mtu { + type uint32; + description + "MTU"; + } + leaf vrf-state { + type uint32; + description + "Vrf State"; + } + leaf is-configurationverify { + type boolean; + description + "CFG verify"; + } + leaf configurationvrf-set { + type boolean; + description + "CFG vrf set"; + } + leaf configurationvrf-error { + type boolean; + description + "CFG vrf error"; + } + leaf configuration-mcast-vrf-set { + type boolean; + description + "Is mcast set"; + } + leaf configuration-mcast-vrf-error { + type boolean; + description + "Is mcast error"; + } + leaf is-im-state-registered { + type boolean; + description + "Im state registered"; + } + leaf is-subscriber { + type boolean; + description + "Subscriber interface"; + } + leaf subscriber-mode { + type uint32; + description + "Subscriber mode"; + } + leaf is-identity-present { + type boolean; + description + "Subscriber ID or Address available from AAA"; + } + leaf subscriber-id { + type string { + length "0..257"; + } + description + "ID string of subscriber"; + } + leaf parent-ifhandle { + type xr:Interface-name; + description + "Parent If Handle"; + } + leaf time-since-last-query-in-seconds { + type uint32; + description + "Time elapsed since last query"; + } + leaf time-since-last-report-in-seconds { + type uint32; + description + "Time elapsed since last report"; + } + leaf router-uptime-in-seconds { + type uint32; + description + "Uptime since router enabled event"; + } + leaf mte-tuple-count { + type uint32; + description + "MTE Tuple count"; + } + } + + grouping IGMP-EDM-INTF-SUMMARY-BAG { + description + "IGMP interface summary info"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf group-limit { + type uint32; + description + "Maximum groups accepted per interface"; + } + leaf group-count { + type uint32; + description + "Current groups accepted per interface"; + } + leaf parent-ifhandle { + type xr:Interface-name; + description + "Parent if handle"; + } + leaf on-off { + type boolean; + description + "Enabled/Disabled"; + } + leaf time-since-last-query-in-seconds { + type uint32; + description + "Time elapsed since last query"; + } + leaf time-since-last-report-in-seconds { + type uint32; + description + "Time elapsed since last report"; + } + leaf router-uptime-in-seconds { + type uint32; + description + "Time elapsed since router enabled event"; + } + } + + grouping IGMP-EDM-SUMMARY-BAG { + description + "IGMP summary info"; + leaf robustness { + type uint32; + description + "Robustness variable"; + } + leaf group-limit { + type uint32; + description + "Maximum groups accepted"; + } + leaf group-count { + type uint32; + description + "Current groups accepted"; + } + leaf is-disabled { + type boolean; + description + "Is maximum enforcement disabled"; + } + leaf supported-interfaces { + type uint32; + description + "No. of supported interfaces"; + } + leaf unsupported-interfaces { + type uint32; + description + "No. of unsupported interfaces"; + } + leaf enabled-interface-count { + type uint32; + description + "No. of enabled interfaces"; + } + leaf disabled-interface-count { + type uint32; + description + "No. of disabled interfaces"; + } + leaf tunnel-mte-config-count { + type uint32; + description + "No. of static group commands"; + } + leaf node-low-memory { + type boolean; + description + "Is node in low memory condition"; + } + list interface { + description + "Maximum and current groups accepted for each + interface"; + uses IGMP-EDM-INTF-SUMMARY-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper.yang new file mode 100644 index 0000000..10a046e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-igmp-oper.yang @@ -0,0 +1,543 @@ +module Cisco-IOS-XR-ipv4-igmp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-igmp-oper"; + prefix ipv4-igmp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-igmp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-igmp package operational data. + + This module contains definitions + for the following management objects: + mld: MLD operational data + igmp: igmp + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Igmpssm-map { + type enumeration { + enum "static" { + value 0; + description + "Static"; + } + enum "dns" { + value 1; + description + "Dns"; + } + enum "all" { + value 2; + description + "All"; + } + } + description + "Igmpssm map"; + } + + grouping INTERFACE-STATE-OFF-TABLE { + description + "Common node of vrf, default-context"; + container interface-state-offs { + description + "IGMP Interface state off"; + list interface-state-off { + key "interface-name"; + description + "IGMP Interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IGMP-EDM-IDB-BAG; + } + } + } + + grouping RANGE-TABLE { + description + "Common node of vrf, default-context"; + container ranges { + description + "Range table"; + list range { + description + "Range information"; + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + leaf group-mask { + type int32; + description + "Group Mask"; + } + uses IGMP-GROUP-RANGE; + } + } + } + + grouping SSM-MAP-DETAIL-TABLE { + description + "Common node of vrf, default-context"; + container ssm-map-details { + description + "SSM Map Detail"; + list ssm-map-detail { + description + "SSM Map Detail Table information"; + leaf ssm-map-type { + type Igmpssm-map; + description + "SSM Map Type"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + uses IGMP-EDM-SSM-MAP-DETAIL-BAG; + } + } + } + + grouping EXPLICIT-GROUP-TABLE { + description + "Common node of vrf, default-context"; + container explicit-groups { + description + "IGMP Explicit Group Database"; + list explicit-group { + description + "IGMP Explicit Group Entry Information"; + leaf group-address { + type inet:ip-address-no-zone; + description + "Group Address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "Source/Host Address"; + } + uses IGMP-EDM-GROUPS-ET-BAG; + } + } + } + + grouping GROUP-TABLE { + description + "Common node of vrf, default-context"; + container groups { + description + "IGMP Group Database Table"; + list group { + description + "IGMP Group Entry Information"; + leaf group-address { + type inet:ip-address-no-zone; + description + "Group Address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IGMP-EDM-GROUPS-BAG; + } + } + } + + grouping GROUP-SUMMARY { + description + "Common node of vrf, default-context"; + container group-summary { + description + "IGMP Groups Summary"; + uses IGMP-EDM-GROUPS-SUMMARY-BAG; + } + } + + grouping VRF-TABLE { + description + "Common node of active, standby"; + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF table Names"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + uses SUMMARY; + uses INTERFACE-STATE-ON-TABLE; + uses DETAIL-GROUP-TABLE; + uses NON-ACTIVE-GROUPS; + uses SSM-MAP-TABLE; + uses EXPLICIT-GROUP-TABLE; + uses INTERFACE-TABLE; + uses INTERFACE-UNICAST-QOS-ADJUST-TABLE; + uses RANGE-TABLE; + uses IFRS-INTERFACE-TABLE; + uses TRAFFIC-COUNTERS; + uses GROUP-TABLE; + uses GROUP-SUMMARY; + uses IFRS-INTERFACE-SUMMARY; + uses GLOBAL-INTERFACE-TABLE; + uses SSM-MAP-DETAIL-TABLE; + uses INTERFACE-STATE-OFF-TABLE; + } + } + } + + grouping INTERFACE-STATE-ON-TABLE { + description + "Common node of vrf, default-context"; + container interface-state-ons { + description + "IGMP Interface state on"; + list interface-state-on { + key "interface-name"; + description + "IGMP Interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IGMP-EDM-IDB-BAG; + } + } + } + + grouping INTERFACE { + description + "Common node of interface-table, + global-interface-table"; + list interface { + key "interface-name"; + description + "IGMP Interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IGMP-EDM-IDB-BAG; + } + } + + grouping IFRS-INTERFACE-TABLE { + description + "Common node of vrf, default-context"; + container ifrs-interfaces { + description + "IGMP Interface specific"; + list ifrs-interface { + key "interface-name"; + description + "IGMP IFRS Interface"; + leaf interface-name { + type xr:Interface-name; + description + "IFRS Interface Name"; + } + uses IGMP-EDM-IDB-IFRS-BAG; + } + } + } + + grouping PROCESS { + description + "Common node of active, standby"; + container process { + description + "Process"; + container amt-summary { + description + "MRIB RouteDB Expiry Information"; + uses AMT-SUMMARY-BAG; + } + container nsr { + description + "NSR Information"; + uses IGMP-EDM-NSR-BAG; + } + container amt-gatewaies { + description + "Table containing AMT Gateway DataBase + information"; + list amt-gateway { + description + "AMT Gateway DataBase information"; + leaf gateway-address { + type inet:ip-address-no-zone; + description + "Gateway Address"; + } + leaf port { + type int32; + description + "Port"; + } + uses AMT-GW-BAG; + } + } + container unicast-qos-adjust-stats { + description + "IGMP Unicast-Qos-Adjust Statistics"; + uses IGMP-EDM-I2Q-STATS-BAG; + } + container bvi-statistics { + description + "IGMP BVI Stats"; + uses IGMP-EDM-BVI-STATS-BAG; + } + container nsf { + description + "NSF Information"; + uses IGMP-EDM-NSF-BAG; + } + } + } + + grouping TRAFFIC-COUNTERS { + description + "Common node of vrf, default-context"; + container traffic-counters { + description + "IGMP Message Traffic Counters"; + uses IGMP-EDM-TRAFFIC-BAG; + } + } + + grouping GLOBAL-INTERFACE-TABLE { + description + "Common node of vrf, default-context"; + container global-interface-table { + description + "IGMP Global Interface "; + uses INTERFACE; + } + } + + grouping ACTIVE { + description + "Common node of igmp, mld"; + container active { + description + "Active Process"; + uses VRF-TABLE; + uses PROCESS; + uses DEFAULT-CONTEXT; + } + } + + grouping INTERFACE-UNICAST-QOS-ADJUST-TABLE { + description + "Common node of vrf, default-context"; + container interface-unicast-qos-adjusts { + description + "IGMP Interface Unicast-Qos-Adjust"; + list interface-unicast-qos-adjust { + key "interface-name"; + description + "IGMP Interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IGMP-EDM-I2Q-INTF-STATS-BAG; + } + } + } + + grouping INTERFACE-TABLE { + description + "Common node of vrf, default-context"; + container interface-table { + description + "IGMP Interface specific Table"; + uses INTERFACE; + } + } + + grouping SUMMARY { + description + "Common node of vrf, default-context"; + container summary { + description + "IGMP Summary Information"; + uses IGMP-EDM-SUMMARY-BAG; + } + } + + grouping NON-ACTIVE-GROUPS { + description + "Common node of vrf, default-context"; + container non-active-groups { + description + "IGMP Non-Active Groups Information"; + uses IGMP-EDM-NOT-ACTIVE-ALLGROUPS-BAG; + } + } + + grouping DETAIL-GROUP-TABLE { + description + "Common node of vrf, default-context"; + container detail-groups { + description + "IGMP Detail Group Database"; + list detail-group { + description + "IGMP Detail Group Entry Information"; + leaf group-address { + type inet:ip-address-no-zone; + description + "Group Address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "Source/Host Address"; + } + uses IGMP-EDM-GROUPS-DETAIL-BAG; + } + } + } + + grouping SSM-MAP-TABLE { + description + "Common node of vrf, default-context"; + container ssm-maps { + description + "SSM Map Table"; + list ssm-map { + description + "SSM Map information"; + leaf ssm-map-type { + type Igmpssm-map; + description + "SSM Map Type"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + uses IGMP-EDM-SSM-MAP-BAG; + } + } + } + + grouping DEFAULT-CONTEXT { + description + "Common node of active, standby"; + container default-context { + description + "Default Context"; + uses SUMMARY; + uses INTERFACE-STATE-ON-TABLE; + uses DETAIL-GROUP-TABLE; + uses NON-ACTIVE-GROUPS; + uses SSM-MAP-TABLE; + uses EXPLICIT-GROUP-TABLE; + uses INTERFACE-TABLE; + uses INTERFACE-UNICAST-QOS-ADJUST-TABLE; + uses RANGE-TABLE; + uses IFRS-INTERFACE-TABLE; + uses TRAFFIC-COUNTERS; + uses GROUP-TABLE; + uses GROUP-SUMMARY; + uses IFRS-INTERFACE-SUMMARY; + uses GLOBAL-INTERFACE-TABLE; + uses SSM-MAP-DETAIL-TABLE; + uses INTERFACE-STATE-OFF-TABLE; + } + } + + grouping IFRS-INTERFACE-SUMMARY { + description + "Common node of vrf, default-context"; + container ifrs-interface-summary { + description + "IGMP IFRS Interface summary"; + uses IGMP-EDM-IDB-SUMM-BAG; + } + } + + grouping STANDBY { + description + "Common node of igmp, mld"; + container standby { + description + "Standby Process"; + uses VRF-TABLE; + uses PROCESS; + uses DEFAULT-CONTEXT; + } + } + + container mld { + config false; + description + "MLD operational data"; + uses STANDBY; + uses ACTIVE; + } + container igmp { + config false; + description + "igmp"; + uses STANDBY; + uses ACTIVE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-cfg.yang new file mode 100644 index 0000000..ef732c0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-cfg.yang @@ -0,0 +1,415 @@ +module Cisco-IOS-XR-ipv4-io-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg"; + prefix ipv4-io-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-io package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-11 { + description + "DHCP IPv4 client to support options in cli."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ipv4-reachable { + type enumeration { + enum "any" { + value 0; + description + "Source is reachable via any interface"; + } + enum "received" { + value 1; + description + "Source is reachable via interface on which + packet was received"; + } + } + description + "Ipv4 reachable"; + } + + typedef Dhcp-client-option-code { + type enumeration { + enum "60" { + value 1; + description + "Vendor id DHCP Discover"; + } + } + description + "Dhcp client option code"; + } + + typedef Ipv4-self-ping { + type enumeration { + enum "disabled" { + value 0; + description + "Doesn't allow router to ping itself"; + } + enum "enabled" { + value 1; + description + "Allow router to ping itself"; + } + } + description + "Ipv4 self ping"; + } + + typedef Ipv4-default-ping { + type enumeration { + enum "disabled" { + value 0; + description + "Default route is not allowed to match when + checking source address"; + } + enum "enabled" { + value 1; + description + "Allow default route to match when checking + source address"; + } + } + description + "Ipv4 default ping"; + } + + typedef Ipv4-interface-qppb { + type enumeration { + enum "ip-precedence" { + value 1; + description + "Enable IP precedence based QPPB"; + } + enum "qos-group" { + value 2; + description + "Enable QoS-group based QPPB"; + } + enum "both" { + value 3; + description + "Enable both IP precedence and QoS-group based + QPPB"; + } + } + description + "Ipv4 interface qppb"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv4-network { + description + "Interface IPv4 Network configuration data"; + container bgp-pa { + description + "Interface ipv4 bgp configuration"; + container input { + description + "Input"; + leaf source-accounting { + type boolean; + description + "BGP PA configuration on source"; + } + leaf destination-accounting { + type boolean; + description + "BGP PA configuration on destination"; + } + } + container output { + description + "Output"; + leaf source-accounting { + type boolean; + description + "BGP PA configuration on source"; + } + leaf destination-accounting { + type boolean; + description + "BGP PA configuration on destination"; + } + } + } + container verify { + description + "Enable Verify handling for this interface"; + leaf reachable { + type Ipv4-reachable; + description + "Source is reachable via any interface or + interface on which packet was received"; + } + leaf self-ping { + type Ipv4-self-ping; + description + "Allow router to ping itself (opens + vulnerability in verification)"; + } + leaf default-ping { + type Ipv4-default-ping; + description + "Allow default route to match when checking + source address"; + } + } + container bgp { + description + "Interface ipv4 bgp configuration"; + container qppb { + description + "Interface ipv4 bgp policy propagation + configuration"; + container input { + description + "Input"; + leaf source { + type Ipv4-interface-qppb; + description + "QPPB configuration on source"; + } + leaf destination { + type Ipv4-interface-qppb; + description + "QPPB configuration on destination"; + } + } + } + container flow-tag { + description + "Interface ipv4 bgp policy propagation flow tag + configuration"; + container flow-tag-input { + description + "Input"; + leaf source { + type boolean; + description + "FlowTag configuration on source"; + } + leaf destination { + type boolean; + description + "FlowTag configuration on destination"; + } + } + } + } + container addresses { + description + "Set the IP address of an interface"; + container secondaries { + description + "Specify a secondary address"; + list secondary { + key "address"; + description + "IP address and Mask"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Secondary IP address"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Netmask"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + } + container primary { + presence "Indicates a primary node is configured."; + description + "IP address and Mask"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP address"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Netmask"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + container dhcp { + description + "IPv4 address and Mask negotiated via DHCP"; + leaf enabled { + type empty; + description + "Enable DHCP client on an interface"; + } + leaf option-code { + type Dhcp-client-option-code; + description + "DHCP option code"; + } + leaf format { + type int32; + description + "Format type"; + } + leaf pattern { + type string; + description + "Vendor id string"; + } + } + leaf unnumbered { + type xr:Interface-name; + description + "Enable IP processing without an explicit + address"; + } + } + container helper-addresses { + description + "The set of IP destination addresses for UDP + broadcasts"; + list helper-address { + key "address vrf-name"; + description + "An IP destination addresses for UDP broadcasts"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP destination address"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + leaf forwarding-enable { + type empty; + description + "IPv4 forwarding to get enabled on an interface"; + } + leaf icmp-mask-reply { + type empty; + description + "The flag for enabling sending of ICMP mask + reply messages"; + } + leaf tcp-mss-adjust-enable { + type empty; + description + "Enable TCP MSS Adjust on an interface"; + } + leaf ttl-propagate-disable { + type empty; + description + "Disable TTL propagate on an interface"; + } + leaf point-to-point { + type empty; + description + "Enable point-to-point handling for this + interface."; + } + leaf mtu { + type uint32 { + range "68..65535"; + } + description + "The IP Maximum Transmission Unit"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv4-network-forwarding { + description + "Interface IPv4 Network configuration data also + used for forwarding"; + leaf directed-broadcast { + type empty; + description + "Enable forwarding of directed broadcast"; + } + leaf unreachables { + type empty; + description + "Disable sending ICMP unreachables"; + } + leaf redirects { + type empty; + description + "Enable sending ICMP Redirect messages"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub1.yang new file mode 100644 index 0000000..53ce074 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub1.yang @@ -0,0 +1,468 @@ +submodule Cisco-IOS-XR-ipv4-io-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-io-oper { + prefix Cisco-IOS-XR-ipv4-io-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-io package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-10-20 { + description + "this schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping IPV4-IO-ICMP-TRAFFIC { + description + "ICMP Traffic Information"; + leaf received { + type uint32; + description + "ICMP Received"; + } + leaf checksum-error { + type uint32; + description + "ICMP Checksum Errors"; + } + leaf unknown { + type uint32; + description + "ICMP Unknown"; + } + leaf output { + type uint32; + description + "ICMP Transmitted"; + } + leaf admin-unreachable-sent { + type uint32; + description + "ICMP Admin Unreachable Sent"; + } + leaf network-unreachable-sent { + type uint32; + description + "ICMP Network Unreachable Sent"; + } + leaf host-unreachable-sent { + type uint32; + description + "ICMP Host Unreachable Sent"; + } + leaf protocol-unreachable-sent { + type uint32; + description + "ICMP Protocol Unreachable Sent"; + } + leaf port-unreachable-sent { + type uint32; + description + "ICMP Port Unreachable Sent"; + } + leaf fragment-unreachable-sent { + type uint32; + description + "ICMP Fragment Unreachable Sent"; + } + leaf admin-unreachable-received { + type uint32; + description + "ICMP Admin Unreachable Received"; + } + leaf network-unreachable-received { + type uint32; + description + "ICMP Network Unreachable Received"; + } + leaf host-unreachable-received { + type uint32; + description + "ICMP Host Unreachable Received"; + } + leaf protocol-unreachable-received { + type uint32; + description + "ICMP Protocol Unreachable Received"; + } + leaf port-unreachable-received { + type uint32; + description + "ICMP Port Unreachable Received"; + } + leaf fragment-unreachable-received { + type uint32; + description + "ICMP Fragment Unreachable Received"; + } + leaf hopcount-sent { + type uint32; + description + "ICMP Hopcount Sent"; + } + leaf reassembly-sent { + type uint32; + description + "ICMP Reassembly Sent"; + } + leaf hopcount-received { + type uint32; + description + "ICMP Hopcount Received"; + } + leaf reassebly-received { + type uint32; + description + "ICMP Reassembly Received"; + } + leaf param-error-received { + type uint32; + description + "ICMP Parameter Error Received"; + } + leaf param-error-send { + type uint32; + description + "ICMP Parameter Error Sent"; + } + leaf echo-request-sent { + type uint32; + description + "ICMP Echo Request Sent"; + } + leaf echo-request-received { + type uint32; + description + "ICMP Echo Request Sent"; + } + leaf echo-reply-sent { + type uint32; + description + "ICMP Echo Reply Sent"; + } + leaf echo-reply-received { + type uint32; + description + "ICMP Echo Reply Received"; + } + leaf mask-request-sent { + type uint32; + description + "ICMP Mask Sent"; + } + leaf mask-request-received { + type uint32; + description + "ICMP Mask Received"; + } + leaf mask-reply-sent { + type uint32; + description + "ICMP Mask Sent"; + } + leaf mask-reply-received { + type uint32; + description + "ICMP Mask Received"; + } + leaf source-quench-received { + type uint32; + description + "ICMP Source Quench"; + } + leaf redirect-received { + type uint32; + description + "ICMP Redirect Received"; + } + leaf redirect-send { + type uint32; + description + "ICMP Redirect Sent"; + } + leaf timestamp-received { + type uint32; + description + "ICMP Timestamp Received"; + } + leaf timestamp-reply-received { + type uint32; + description + "ICMP Timestamp Reply Received"; + } + leaf router-advert-received { + type uint32; + description + "ICMP Router Advertisement Received"; + } + leaf router-solicit-received { + type uint32; + description + "ICMP Router Solicited Received"; + } + } + + grouping IPV4-IO-TRAFFIC { + description + "IP Traffic Information"; + leaf input-packets { + type uint32; + description + "Input Packets"; + } + leaf received-packets { + type uint32; + description + "Received Packets"; + } + leaf format-errors { + type uint32; + description + "Format Errors"; + } + leaf bad-hop-count { + type uint32; + description + "Bad Hop Count"; + } + leaf bad-source-address { + type uint32; + description + "Bad Source Address"; + } + leaf bad-header { + type uint32; + description + "Bad Header"; + } + leaf no-protocol { + type uint32; + description + "No Protocol"; + } + leaf no-gateway { + type uint32; + description + "No Gateway"; + } + leaf reassemble-input { + type uint32; + description + "RaInput"; + } + leaf reassembled { + type uint32; + description + "Reassembled"; + } + leaf reassemble-timeout { + type uint32; + description + "Reassembly Timeout"; + } + leaf reassemble-max-drop { + type uint32; + description + "Reassembly Max Drop"; + } + leaf reassemble-failed { + type uint32; + description + "Reassembly Failed"; + } + leaf options-present { + type uint32; + description + "IP Options Present"; + } + leaf bad-option { + type uint32; + description + "Bad Option"; + } + leaf unknown-option { + type uint32; + description + "Unknown Option"; + } + leaf bad-security-option { + type uint32; + description + "Bad Security Option"; + } + leaf basic-security-option { + type uint32; + description + "Basic Security Option"; + } + leaf extended-security-option { + type uint32; + description + "Extended Security Option"; + } + leaf cipso-option { + type uint32; + description + "Cipso Option"; + } + leaf strict-source-route-option { + type uint32; + description + "Strict Source Route Option"; + } + leaf loose-source-route-option { + type uint32; + description + "Loose Source Route Option"; + } + leaf record-route-option { + type uint32; + description + "Record Route Option"; + } + leaf sid-option { + type uint32; + description + "SID Option"; + } + leaf timestamp-option { + type uint32; + description + "Timestamp Option"; + } + leaf router-alert-option { + type uint32; + description + "Router Alert Option"; + } + leaf noop-option { + type uint32; + description + "Noop Option"; + } + leaf end-option { + type uint32; + description + "End Option"; + } + leaf packets-output { + type uint32; + description + "Packets Output"; + } + leaf packets-forwarded { + type uint32; + description + "Packets Forwarded"; + } + leaf packets-fragmented { + type uint32; + description + "Packets Fragmented"; + } + leaf fragment-count { + type uint32; + description + "Fragment Count"; + } + leaf encapsulation-failed { + type uint32; + description + "Encapsulation Failed"; + } + leaf no-router { + type uint32; + description + "No Router"; + } + leaf packet-too-big { + type uint32; + description + "Packet Too Big"; + } + leaf multicast-in { + type uint32; + description + "Multicast In"; + } + leaf multicast-out { + type uint32; + description + "Multicast Out"; + } + leaf broadcast-in { + type uint32; + description + "Broadcast In"; + } + leaf broadcast-out { + type uint32; + description + "Broadcast Out"; + } + leaf lisp-v4-encap { + type uint32; + description + "Lisp IPv4 encapped packets"; + } + leaf lisp-v4-decap { + type uint32; + description + "Lisp IPv4 decapped packets"; + } + leaf lisp-v6-encap { + type uint32; + description + "Lisp IPv6 encapped packets"; + } + leaf lisp-v6-decap { + type uint32; + description + "Lisp IPv6 decapped packets"; + } + leaf lisp-encap-error { + type uint32; + description + "Lisp encap errors"; + } + leaf lisp-decap-error { + type uint32; + description + "Lisp decap errors"; + } + } + + grouping IP-TRAFFIC { + description + "IP and ICMP Traffic Information"; + container ipv4-stats { + description + "IPv4 Network Stats"; + uses IPV4-IO-TRAFFIC; + } + container icmp-stats { + description + "ICMP Stats"; + uses IPV4-IO-ICMP-TRAFFIC; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub2.yang new file mode 100644 index 0000000..e8f7b98 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper-sub2.yang @@ -0,0 +1,468 @@ +submodule Cisco-IOS-XR-ipv4-io-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-io-oper { + prefix Cisco-IOS-XR-ipv4-io-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-io package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-10-20 { + description + "this schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Rpf-mode { + type enumeration { + enum "strict" { + description + "Strict RPF"; + } + enum "loose" { + description + "Loose RPF"; + } + } + description + "Interface line states"; + } + + typedef Str { + type string; + description + "Str"; + } + + typedef Ipv4-ma-oper-line-state { + type enumeration { + enum "unknown" { + description + "Interface state is unknown"; + } + enum "shutdown" { + description + "Interface has been shutdown"; + } + enum "down" { + description + "Interface state is down"; + } + enum "up" { + description + "Interface state is up"; + } + } + description + "Interface line states"; + } + + grouping IF-SUMMARY { + description + "Count of assigned/unnumbered/unassigned + interfaces"; + leaf ip-assigned { + type uint32; + description + "Number of interfaces with explicit addresses"; + } + leaf ip-unnumbered { + type uint32; + description + "Number of unnumbered interfaces with explicit + addresses"; + } + leaf ip-unassigned { + type uint32; + description + "Number of unassigned interfaces with explicit + addresses"; + } + } + + grouping IPV4-IF-SUMMARY { + description + "Summary info of IP interfaces"; + container if-up-up { + description + "Number of interfaces (up,up)"; + uses IF-SUMMARY; + } + container if-up-down { + description + "Number of interfaces (up,down)"; + uses IF-SUMMARY; + } + container if-down-down { + description + "Number of interfaces (down,down)"; + uses IF-SUMMARY; + } + container if-shutdown-down { + description + "Number of interfaces (shutdown,down)"; + uses IF-SUMMARY; + } + leaf if-up-down-basecaps-up { + type uint32; + description + "Number of interfaces (up,down) with basecaps up"; + } + } + + grouping TIMEVAL-ENTRY { + description + "Creation or Update Time"; + } + + grouping BGP-PA-DIR { + description + "BGP PA config for ingress/egress direction"; + leaf enable { + type boolean; + description + "Enable BGP PA for ingress/egress"; + } + leaf source { + type boolean; + description + "Enable source accouting"; + } + leaf destination { + type boolean; + description + "Enable destination accouting"; + } + } + + grouping BGP-PA-CONFIG { + description + "BGP PA config information"; + container input { + description + "BGP PA input config"; + uses BGP-PA-DIR; + } + container output { + description + "BGP PA output config"; + uses BGP-PA-DIR; + } + } + + grouping RPF-CONFIG { + description + "RPF config information"; + leaf enable { + type boolean; + description + "Enable RPF config"; + } + leaf allow-default-route { + type boolean; + description + "Allow Default Route"; + } + leaf allow-self-ping { + type boolean; + description + "Allow Self Ping"; + } + leaf mode { + type Rpf-mode; + description + "RPF Mode (loose/strict)"; + } + } + + grouping HADDR-ARRAY { + description + "Helper Address List "; + list address-array { + description + "Helper address"; + leaf entry { + type inet:ipv4-address; + } + } + } + + grouping MULTI-ACL-CONFIG { + description + "Multi ACL config information"; + list inbound { + max-elements "5"; + description + "Inbound ACLs"; + leaf entry { + type Str; + } + } + list outbound { + max-elements "5"; + description + "Outbound ACLs"; + leaf entry { + type Str; + } + } + list common { + max-elements "5"; + description + "Common ACLs"; + leaf entry { + type Str; + } + } + } + + grouping ACL-CONFIG { + description + "ACL config information"; + leaf inbound { + type string; + description + "ACL applied to incoming packets"; + } + leaf outbound { + type string; + description + "ACL applied to outgoing packets"; + } + leaf common-in-bound { + type string; + description + "Common ACL applied to incoming packets"; + } + leaf common-out-bound { + type string; + description + "Common ACL applied to outgoing packets"; + } + } + + grouping IP-ADDR-NODE { + description + "List of IP Addresses "; + leaf address { + type inet:ipv4-address; + description + "Address"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of address"; + } + leaf route-tag { + type uint32; + description + "Route Tag associated with this address (0 = no + tag)"; + } + } + + grouping MCAST-GROUP { + description + "MCast Group List "; + leaf group-address { + type inet:ipv4-address; + description + "Address of multicast group"; + } + } + + grouping IPV4-IF-DETAIL { + description + "Detailed Info of IP Interface"; + container acl { + description + "ACLs configured on the interface"; + uses ACL-CONFIG; + } + container multi-acl { + description + "Multi ACLs configured on the interface"; + uses MULTI-ACL-CONFIG; + } + container helper-address { + description + "Helper Addresses configured on the interface"; + uses HADDR-ARRAY; + } + container rpf { + description + "RPF config on the interface"; + uses RPF-CONFIG; + } + container bgp-pa { + description + "BGP PA config on the interface"; + uses BGP-PA-CONFIG; + } + container pub-utime { + description + "Address Publish Time"; + uses TIMEVAL-ENTRY; + } + container idb-utime { + description + "IDB Create Time"; + uses TIMEVAL-ENTRY; + } + container caps-utime { + description + "CAPS Add Time"; + uses TIMEVAL-ENTRY; + } + container fwd-en-utime { + description + "FWD ENABLE Time"; + uses TIMEVAL-ENTRY; + } + container fwd-dis-utime { + description + "FWD DISABLE Time"; + uses TIMEVAL-ENTRY; + } + leaf primary-address { + type inet:ipv4-address; + description + "Primary address"; + } + leaf vrf-id { + type uint32; + description + "VRF ID of the interface"; + } + leaf line-state { + type Ipv4-ma-oper-line-state; + description + "Line state of the interface"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of primary address"; + } + leaf route-tag { + type uint32; + description + "Route tag associated with the primary address (0 + = no tag)"; + } + leaf mtu { + type uint32; + description + "IP MTU of the interface"; + } + leaf unreachable { + type boolean; + description + "Are ICMP unreachables sent on the interface?"; + } + leaf redirect { + type boolean; + description + "Are ICMP redirects sent on the interface?"; + } + leaf direct-broadcast { + type boolean; + description + "Are direct broadcasts sent on the interface?"; + } + leaf mask-reply { + type boolean; + description + "Are mask replies sent on the interface?"; + } + leaf rg-id-exists { + type boolean; + description + "Does ICCP RG ID exist on the interface?"; + } + leaf mlacp-active { + type boolean; + description + "Is mLACP state Active (valid if RG ID exists)"; + } + leaf unnumbered-interface-name { + type string; + description + "Name of referenced interface (valid if + unnumbered)"; + } + leaf proxy-arp-disabled { + type boolean; + description + "Is Proxy ARP disabled on the interface?"; + } + leaf flow-tag-src { + type boolean; + description + "Is BGP Flow Tag Source is enable"; + } + leaf flow-tag-dst { + type boolean; + description + "Is BGP Flow Tag Destination is enable"; + } + list multicast-group { + description + "Multicast groups joined on the interface"; + uses MCAST-GROUP; + } + list secondary-address { + description + "Secondary addresses on the interface"; + uses IP-ADDR-NODE; + } + } + + grouping IPV4-IF-BRIEF { + description + "Brief Summary of IP Interface"; + leaf primary-address { + type inet:ipv4-address; + description + "Primary address"; + } + leaf vrf-id { + type uint32; + description + "VRF ID of the interface"; + } + leaf vrf-name { + type string; + description + "VRF name of the interface"; + } + leaf line-state { + type Ipv4-ma-oper-line-state; + description + "Line state of the interface"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper.yang new file mode 100644 index 0000000..4803ae0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-io-oper.yang @@ -0,0 +1,136 @@ +module Cisco-IOS-XR-ipv4-io-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-oper"; + prefix ipv4-io-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-io-oper-sub2 { + revision-date 2015-10-20; + } + include Cisco-IOS-XR-ipv4-io-oper-sub1 { + revision-date 2015-10-20; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-io package operational data. + + This module contains definitions + for the following management objects: + ipv4-network: IPv4 network operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-10-20 { + description + "this schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ipv4-network { + config false; + description + "IPv4 network operational data"; + container nodes { + description + "Node-specific IPv4 network operational data"; + list node { + key "node-name"; + description + "IPv4 network operational data for a particular + node"; + container interface-data { + description + "IPv4 network operational interface data"; + container vrfs { + description + "VRF specific IPv4 network operational + interface data"; + list vrf { + key "vrf-name"; + description + "VRF name of an interface belong to"; + container briefs { + description + "Brief interface IPv4 network operational + data for a node"; + list brief { + key "interface-name"; + description + "Brief interface IPv4 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV4-IF-BRIEF; + } + } + container details { + description + "Detail interface IPv4 network operational + data for a node"; + list detail { + key "interface-name"; + description + "Detail interface IPv4 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV4-IF-DETAIL; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "The VRF name"; + } + } + } + container summary { + description + "Summary of IPv4 network operational interface + data on a node"; + uses IPV4-IF-SUMMARY; + } + } + container statistics { + description + "Statistical IPv4 network operational data for + a node"; + container traffic { + description + "Traffic statistics for a node"; + uses IP-TRAFFIC; + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-cfg.yang new file mode 100644 index 0000000..926083c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-cfg.yang @@ -0,0 +1,140 @@ +module Cisco-IOS-XR-ipv4-ma-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-cfg"; + prefix ipv4-ma-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ma package configuration. + + This module contains definitions + for the following management objects: + ipv4-network-global: IPv4 network global configuration data + subscriber-pta: subscriber pta + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ipv4-qppb { + type enumeration { + enum "none" { + value 0; + description + "No QPPB configuration"; + } + enum "ip-prec" { + value 1; + description + "Enable ip-precedence based QPPB"; + } + enum "qos-grp" { + value 2; + description + "Enable qos-group based QPPB"; + } + enum "both" { + value 3; + description + "Enable both ip-precedence and qos-group based + QPPB"; + } + } + description + "Ipv4 qppb"; + } + + container ipv4-network-global { + description + "IPv4 network global configuration data"; + container unnumbered { + description + "Enable IPv4 processing without an explicit + address"; + container mpls { + description + "Configure MPLS routing protocol parameters"; + container te { + description + "IPv4 commands for MPLS Traffic Engineering"; + leaf interface { + type string; + description + "Enable IP processing without an explicit + address on MPLS Traffic-Eng"; + } + } + } + } + container qppb { + description + "QPPB"; + leaf source { + type Ipv4-qppb; + description + "QPPB configuration on source"; + } + leaf destination { + type Ipv4-qppb; + description + "QPPB configuration on destination"; + } + } + leaf source-route { + type boolean; + default "true"; + description + "The flag for enabling whether to process packets + with source routing header options"; + } + leaf reassemble-max-packets { + type uint32 { + range "1..50"; + } + units "percentage"; + description + "Percentage of total packets available in the + system"; + } + leaf reassemble-time-out { + type uint32 { + range "1..120"; + } + units "second"; + description + "Number of seconds a reassembly queue will hold + before timeout"; + } + } + container subscriber-pta { + description + "subscriber pta"; + leaf tcp-mss-adjust { + type uint32 { + range "1280..1536"; + } + units "byte"; + description + "TCP MSS Adjust (bytes)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang new file mode 100644 index 0000000..86b467d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper-sub1.yang @@ -0,0 +1,468 @@ +submodule Cisco-IOS-XR-ipv4-ma-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-ma-oper { + prefix Cisco-IOS-XR-ipv4-ma-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-23 { + description + "IPV4 MA schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Rpf-mode { + type enumeration { + enum "strict" { + description + "Strict RPF"; + } + enum "loose" { + description + "Loose RPF"; + } + } + description + "Interface line states"; + } + + typedef Str { + type string; + description + "Str"; + } + + typedef Ipv4-ma-oper-line-state { + type enumeration { + enum "unknown" { + description + "Interface state is unknown"; + } + enum "shutdown" { + description + "Interface has been shutdown"; + } + enum "down" { + description + "Interface state is down"; + } + enum "up" { + description + "Interface state is up"; + } + } + description + "Interface line states"; + } + + grouping IF-SUMMARY { + description + "Count of assigned/unnumbered/unassigned + interfaces"; + leaf ip-assigned { + type uint32; + description + "Number of interfaces with explicit addresses"; + } + leaf ip-unnumbered { + type uint32; + description + "Number of unnumbered interfaces with explicit + addresses"; + } + leaf ip-unassigned { + type uint32; + description + "Number of unassigned interfaces with explicit + addresses"; + } + } + + grouping IPV4-IF-SUMMARY { + description + "Summary info of IP interfaces"; + container if-up-up { + description + "Number of interfaces (up,up)"; + uses IF-SUMMARY; + } + container if-up-down { + description + "Number of interfaces (up,down)"; + uses IF-SUMMARY; + } + container if-down-down { + description + "Number of interfaces (down,down)"; + uses IF-SUMMARY; + } + container if-shutdown-down { + description + "Number of interfaces (shutdown,down)"; + uses IF-SUMMARY; + } + leaf if-up-down-basecaps-up { + type uint32; + description + "Number of interfaces (up,down) with basecaps up"; + } + } + + grouping IPV4-IF-BRIEF { + description + "Brief Summary of IP Interface"; + leaf primary-address { + type inet:ipv4-address; + description + "Primary address"; + } + leaf vrf-id { + type uint32; + description + "VRF ID of the interface"; + } + leaf vrf-name { + type string; + description + "VRF name of the interface"; + } + leaf line-state { + type Ipv4-ma-oper-line-state; + description + "Line state of the interface"; + } + } + + grouping TIMEVAL-ENTRY { + description + "Creation or Update Time"; + } + + grouping BGP-PA-DIR { + description + "BGP PA config for ingress/egress direction"; + leaf enable { + type boolean; + description + "Enable BGP PA for ingress/egress"; + } + leaf source { + type boolean; + description + "Enable source accouting"; + } + leaf destination { + type boolean; + description + "Enable destination accouting"; + } + } + + grouping BGP-PA-CONFIG { + description + "BGP PA config information"; + container input { + description + "BGP PA input config"; + uses BGP-PA-DIR; + } + container output { + description + "BGP PA output config"; + uses BGP-PA-DIR; + } + } + + grouping RPF-CONFIG { + description + "RPF config information"; + leaf enable { + type boolean; + description + "Enable RPF config"; + } + leaf allow-default-route { + type boolean; + description + "Allow Default Route"; + } + leaf allow-self-ping { + type boolean; + description + "Allow Self Ping"; + } + leaf mode { + type Rpf-mode; + description + "RPF Mode (loose/strict)"; + } + } + + grouping HADDR-ARRAY { + description + "Helper Address List "; + list address-array { + description + "Helper address"; + leaf entry { + type inet:ipv4-address; + } + } + } + + grouping MULTI-ACL-CONFIG { + description + "Multi ACL config information"; + list inbound { + max-elements "5"; + description + "Inbound ACLs"; + leaf entry { + type Str; + } + } + list outbound { + max-elements "5"; + description + "Outbound ACLs"; + leaf entry { + type Str; + } + } + list common { + max-elements "5"; + description + "Common ACLs"; + leaf entry { + type Str; + } + } + } + + grouping ACL-CONFIG { + description + "ACL config information"; + leaf inbound { + type string; + description + "ACL applied to incoming packets"; + } + leaf outbound { + type string; + description + "ACL applied to outgoing packets"; + } + leaf common-in-bound { + type string; + description + "Common ACL applied to incoming packets"; + } + leaf common-out-bound { + type string; + description + "Common ACL applied to outgoing packets"; + } + } + + grouping IP-ADDR-NODE { + description + "List of IP Addresses "; + leaf address { + type inet:ipv4-address; + description + "Address"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of address"; + } + leaf route-tag { + type uint32; + description + "Route Tag associated with this address (0 = no + tag)"; + } + } + + grouping MCAST-GROUP { + description + "MCast Group List "; + leaf group-address { + type inet:ipv4-address; + description + "Address of multicast group"; + } + } + + grouping IPV4-IF-DETAIL { + description + "Detailed Info of IP Interface"; + container acl { + description + "ACLs configured on the interface"; + uses ACL-CONFIG; + } + container multi-acl { + description + "Multi ACLs configured on the interface"; + uses MULTI-ACL-CONFIG; + } + container helper-address { + description + "Helper Addresses configured on the interface"; + uses HADDR-ARRAY; + } + container rpf { + description + "RPF config on the interface"; + uses RPF-CONFIG; + } + container bgp-pa { + description + "BGP PA config on the interface"; + uses BGP-PA-CONFIG; + } + container pub-utime { + description + "Address Publish Time"; + uses TIMEVAL-ENTRY; + } + container idb-utime { + description + "IDB Create Time"; + uses TIMEVAL-ENTRY; + } + container caps-utime { + description + "CAPS Add Time"; + uses TIMEVAL-ENTRY; + } + container fwd-en-utime { + description + "FWD ENABLE Time"; + uses TIMEVAL-ENTRY; + } + container fwd-dis-utime { + description + "FWD DISABLE Time"; + uses TIMEVAL-ENTRY; + } + leaf primary-address { + type inet:ipv4-address; + description + "Primary address"; + } + leaf vrf-id { + type uint32; + description + "VRF ID of the interface"; + } + leaf line-state { + type Ipv4-ma-oper-line-state; + description + "Line state of the interface"; + } + leaf prefix-length { + type uint32; + description + "Prefix length of primary address"; + } + leaf route-tag { + type uint32; + description + "Route tag associated with the primary address (0 + = no tag)"; + } + leaf mtu { + type uint32; + description + "IP MTU of the interface"; + } + leaf unreachable { + type boolean; + description + "Are ICMP unreachables sent on the interface?"; + } + leaf redirect { + type boolean; + description + "Are ICMP redirects sent on the interface?"; + } + leaf direct-broadcast { + type boolean; + description + "Are direct broadcasts sent on the interface?"; + } + leaf mask-reply { + type boolean; + description + "Are mask replies sent on the interface?"; + } + leaf rg-id-exists { + type boolean; + description + "Does ICCP RG ID exist on the interface?"; + } + leaf mlacp-active { + type boolean; + description + "Is mLACP state Active (valid if RG ID exists)"; + } + leaf unnumbered-interface-name { + type string; + description + "Name of referenced interface (valid if + unnumbered)"; + } + leaf proxy-arp-disabled { + type boolean; + description + "Is Proxy ARP disabled on the interface?"; + } + leaf flow-tag-src { + type boolean; + description + "Is BGP Flow Tag Source is enable"; + } + leaf flow-tag-dst { + type boolean; + description + "Is BGP Flow Tag Destination is enable"; + } + list multicast-group { + description + "Multicast groups joined on the interface"; + uses MCAST-GROUP; + } + list secondary-address { + description + "Secondary addresses on the interface"; + uses IP-ADDR-NODE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper.yang new file mode 100644 index 0000000..9182396 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-oper.yang @@ -0,0 +1,92 @@ +module Cisco-IOS-XR-ipv4-ma-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-oper"; + prefix ipv4-ma-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ipv4-io-oper { + prefix a1; + } + include Cisco-IOS-XR-ipv4-ma-oper-sub1 { + revision-date 2017-08-23; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ma package operational data. + + This YANG module augments the + Cisco-IOS-XR-ipv4-io-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-23 { + description + "IPV4 MA schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:ipv4-network" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-ipv4-io-oper'"; + container interfaces { + description + "IPv4 network operational interface data"; + list interface { + key "interface-name"; + description + "Interface names with VRF"; + container vrfs { + description + "List of VRF on the interface"; + list vrf { + key "vrf-name"; + description + "VRF information on the interface"; + container detail { + description + "Detail IPv4 network operational data for an + interface"; + uses IPV4-IF-DETAIL; + } + container brief { + description + "Brief IPv4 network operational data for an + interface"; + uses IPV4-IF-BRIEF; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "The VRF name"; + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang new file mode 100644 index 0000000..44753ee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ma-subscriber-cfg.yang @@ -0,0 +1,95 @@ +module Cisco-IOS-XR-ipv4-ma-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ma-subscriber-cfg"; + prefix ipv4-ma-subscriber-cfg; + + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ma-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping IPV4-NETWORK { + description + "Common node of ip-subscriber, ppp, + subscriber-service"; + container ipv4-network { + description + "Interface IPv4 Network configuration data"; + leaf unnumbered { + type string; + description + "Enable IP processing without an explicit + address"; + } + leaf mtu { + type uint32 { + range "68..65535"; + } + units "byte"; + description + "The IP Maximum Transmission Unit"; + } + leaf unreachables { + type boolean; + default "false"; + description + "TRUE if enabled, FALSE if disabled"; + } + leaf rpf { + type boolean; + default "true"; + description + "TRUE if enabled, FALSE if disabled"; + } + } + } + + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-NETWORK; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-NETWORK; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV4-NETWORK; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-mfwd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-mfwd-cfg.yang new file mode 100644 index 0000000..2d56b85 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-mfwd-cfg.yang @@ -0,0 +1,332 @@ +module Cisco-IOS-XR-ipv4-mfwd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-mfwd-cfg"; + prefix ipv4-mfwd-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-mfwd package configuration. + + This module contains definitions + for the following management objects: + mfwd: Multicast routing configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-01 { + description + "Initial IOS-XR MFWD native model"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Accounting-mode { + type enumeration { + enum "enable" { + value 0; + description + "Enable per (S,G) accounting"; + } + enum "forward-only-enable" { + value 1; + description + "Enable per (S,G) forward-only accounting"; + } + } + description + "Accounting mode"; + } + + grouping MOFRR-LOSS-DETECTION-TIMER-CONFIG { + description + "Common node of ipv4, ipv6"; + leaf mofrr-loss-detection-timer-config { + type uint32 { + range "1..3600"; + } + description + "Mofrr Loss Detection timer value"; + } + } + + grouping INTERFACE-INHERITANCE-DISABLE { + description + "Common node of ipv4, ipv6"; + leaf interface-inheritance-disable { + type empty; + description + "Disable interface inheritance configuration"; + } + } + + grouping STATIC-RPF-RULE-TABLE { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + container static-rpf-rules { + description + "Configure a static RPF rule for a given prefix"; + list static-rpf-rule { + key "address prefix-mask"; + description + "RPF prefix address and mask"; + leaf address { + type inet:ip-address-no-zone; + description + "IP address of the RPF prefix"; + } + leaf prefix-mask { + type uint32 { + range "0..128"; + } + description + "Prefix mask of the RPF Prefix"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + mandatory true; + description + "Neighbor address of the RPF Prefix"; + } + leaf interface-name { + type xr:Interface-name; + mandatory true; + description + "The name of the RPF interface"; + } + } + } + } + + grouping FORWARDING-LATENCY { + description + "Common node of ipv4, ipv6"; + leaf forwarding-latency { + type uint32 { + range "5..500"; + } + units "millisecond"; + description + "Knob to delay traffic being forwarded on a route"; + } + } + + grouping LOG-TRAPS { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + leaf log-traps { + type empty; + description + "Enable logging trap event"; + } + } + + grouping MULTICAST-FORWARDING { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + leaf multicast-forwarding { + type empty; + description + "Enable IP multicast routing and forwarding"; + } + } + + grouping MOFRR-LOCKOUT-TIMER-CONFIG { + description + "Common node of ipv4, ipv6"; + leaf mofrr-lockout-timer-config { + type uint32 { + range "1..3600"; + } + description + "Mofrr Lockout timer value"; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + container interfaces { + description + "Interface-level Configuration"; + list interface { + key "interface-name"; + description + "The name of the interface"; + leaf ttl-threshold { + type uint32 { + range "1..255"; + } + description + "TTL threshold for multicast packets"; + } + leaf enable-on-interface { + type boolean; + description + "Enable or disable IP multicast on the + interface"; + } + leaf boundary { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Boundary for administratively scoped multicast + addresses"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + } + + grouping ENABLE-ON-ALL-INTERFACES { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + leaf enable-on-all-interfaces { + type empty; + description + "Configure all interfaces for multicast routing + and forwarding"; + } + } + + grouping RATE-PER-ROUTE { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + leaf rate-per-route { + type empty; + description + "Enable per (S,G) rate calculation"; + } + } + + grouping ACCOUNTING { + description + "Common node of ipv4, ipv6, ipv4, ipv6"; + leaf accounting { + type Accounting-mode; + description + "Per-prefix accounting mode"; + } + } + + grouping MAXIMUM-CHECKING-DISABLE { + description + "Common node of ipv4, ipv6"; + leaf maximum-checking-disable { + type empty; + description + "Disable state limit maximum checking"; + } + } + + container mfwd { + presence "Indicates a mfwd node is configured."; + description + "Multicast routing configuration"; + container default-context { + presence "Indicates a default-context node is configured."; + description + "Default Context"; + container ipv6 { + description + "IPV6 commands in the default context"; + uses ENABLE-ON-ALL-INTERFACES; + uses MAXIMUM-CHECKING-DISABLE; + uses RATE-PER-ROUTE; + uses INTERFACE-INHERITANCE-DISABLE; + uses STATIC-RPF-RULE-TABLE; + uses MOFRR-LOCKOUT-TIMER-CONFIG; + uses FORWARDING-LATENCY; + uses MOFRR-LOSS-DETECTION-TIMER-CONFIG; + uses INTERFACE-TABLE; + uses MULTICAST-FORWARDING; + uses LOG-TRAPS; + uses ACCOUNTING; + } + container ipv4 { + description + "IPV4 commands in the default context"; + leaf out-of-memory-handling { + type empty; + description + "Enable out-of-memory handling"; + } + uses ENABLE-ON-ALL-INTERFACES; + uses MAXIMUM-CHECKING-DISABLE; + uses RATE-PER-ROUTE; + uses INTERFACE-INHERITANCE-DISABLE; + uses STATIC-RPF-RULE-TABLE; + uses MOFRR-LOCKOUT-TIMER-CONFIG; + uses FORWARDING-LATENCY; + uses MOFRR-LOSS-DETECTION-TIMER-CONFIG; + uses INTERFACE-TABLE; + uses MULTICAST-FORWARDING; + uses LOG-TRAPS; + uses ACCOUNTING; + } + } + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF table names"; + container ipv6 { + description + "VRF table for IPV6 commands"; + uses ENABLE-ON-ALL-INTERFACES; + uses RATE-PER-ROUTE; + uses STATIC-RPF-RULE-TABLE; + uses INTERFACE-TABLE; + uses MULTICAST-FORWARDING; + uses LOG-TRAPS; + uses ACCOUNTING; + } + container ipv4 { + description + "VRF table for IPV4 commands"; + uses ENABLE-ON-ALL-INTERFACES; + uses RATE-PER-ROUTE; + uses STATIC-RPF-RULE-TABLE; + uses INTERFACE-TABLE; + uses MULTICAST-FORWARDING; + uses LOG-TRAPS; + uses ACCOUNTING; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF Name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-msdp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-msdp-cfg.yang new file mode 100644 index 0000000..bfb325d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-msdp-cfg.yang @@ -0,0 +1,380 @@ +module Cisco-IOS-XR-ipv4-msdp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-msdp-cfg"; + prefix ipv4-msdp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-msdp package configuration. + + This module contains definitions + for the following management objects: + msdp: MSDP Configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Msdp-filter-type-vrf { + type enumeration { + enum "incoming" { + value 1; + description + "Incoming Mode"; + } + enum "outgoing" { + value 2; + description + "Outgoing Mode"; + } + } + description + "Msdp filter type vrf"; + } + + typedef Msdp-list-type-vrf { + type enumeration { + enum "list" { + value 3; + description + "List"; + } + enum "rp-list" { + value 4; + description + "RPList"; + } + } + description + "Msdp list type vrf"; + } + + grouping TTL-THRESHOLD { + description + "Common node of default-context, vrf, peer"; + leaf ttl-threshold { + type uint32 { + range "1..255"; + } + description + "Configure TTL Threshold for MSDP Peer"; + } + } + + grouping ORIGINATOR-ID { + description + "Common node of default-context, vrf"; + leaf originator-id { + type xr:Interface-name; + description + "Configure interface name used as originator ID"; + } + } + + grouping PEER-TABLE { + description + "Common node of default-context, vrf"; + container peers { + description + "Entering Peer Configuration"; + list peer { + key "peer-address"; + description + "Peer address"; + container remote-as { + presence "Indicates a remote-as node is configured."; + description + "Configure the remote AS of this peer"; + leaf as-xx { + type uint32 { + range "0..65535"; + } + default "0"; + description + "First half of ASN in asdot format or 0 in + asplain"; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "Second half of ASN in asdot format or + complete ASN in asplain"; + } + } + leaf shutdown { + type empty; + description + "MSDP Peer Shutdown"; + } + leaf description { + type string { + length "1..80"; + } + description + "Up to 80 characters describing this peer"; + } + leaf enable { + type empty; + description + "Enabling Peer Configuration"; + } + leaf max-sa { + type uint32 { + range "1..75000"; + } + description + "Maximum SA accepted from this peer"; + } + leaf nsr-down { + type empty; + description + "Disable NSR for the peer"; + } + leaf peer-password { + type xr:Proprietary-password; + description + "Configuration of password of peer"; + } + leaf mesh-group { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Configure an MSDP mesh-group"; + } + leaf peer-address { + type inet:ipv4-address-no-zone; + description + "Peer address"; + } + uses TTL-THRESHOLD; + uses KEEP-ALIVE; + uses CONNECT-SOURCE; + uses SA-FILTER-TABLE; + } + } + } + + grouping MAX-PEER-SA { + description + "Common node of default-context, vrf"; + leaf max-peer-sa { + type uint32 { + range "1..75000"; + } + description + "Configure inheritable MAX SA state for peers"; + } + } + + grouping KEEP-ALIVE { + description + "Common node of default-context, vrf, peer"; + container keep-alive { + presence "Indicates a keep-alive node is configured."; + description + "MSDP keep alive period"; + leaf keep-alive-period { + type uint32 { + range "1..60"; + } + units "second"; + mandatory true; + description + "Keep alive period in seconds"; + } + leaf peer-timeout-period { + type uint32 { + range "1..75"; + } + units "second"; + mandatory true; + description + "Peer timeout period in seconds"; + } + } + } + + grouping CONNECT-SOURCE { + description + "Common node of default-context, vrf, peer"; + leaf connect-source { + type xr:Interface-name; + description + "Configure interface name used for MSDP + connection"; + } + } + + grouping DEFAULT-PEER { + description + "Common node of default-context, vrf"; + leaf default-peer { + type inet:ipv4-address-no-zone; + description + "Configure default peers for the box"; + } + } + + grouping MAX-SA { + description + "Common node of default-context, vrf"; + leaf max-sa { + type uint32 { + range "1..75000"; + } + description + "Configure context's MAX SA state for the router"; + } + } + + grouping SA-FILTER-TABLE { + description + "Common node of default-context, vrf, peer"; + container sa-filters { + description + "Filter SA messages from peer"; + list sa-filter { + key "list filter-type"; + description + "SA-Filter incoming/outgoing list or RPlist"; + leaf list { + type Msdp-list-type-vrf; + description + "Src List/RP List"; + } + leaf filter-type { + type Msdp-filter-type-vrf; + description + "Incoming/Outgoing ACL"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + mandatory true; + description + "Access list name"; + } + } + } + } + + grouping CACHE-STATE { + description + "Common node of default-context, vrf"; + container cache-state { + description + "Configure this systems SA cache access-lists"; + leaf sa-holdtime { + type uint32 { + range "150..3600"; + } + units "second"; + default "150"; + description + "SA State Holdtime period"; + } + leaf list { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list name"; + } + leaf rp-list { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list for originating RP"; + } + } + } + + container msdp { + description + "MSDP Configuration"; + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF Name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + uses TTL-THRESHOLD; + uses MAX-PEER-SA; + uses DEFAULT-PEER; + uses ORIGINATOR-ID; + uses MAX-SA; + uses CACHE-STATE; + uses KEEP-ALIVE; + uses PEER-TABLE; + uses CONNECT-SOURCE; + uses SA-FILTER-TABLE; + } + } + container default-context { + presence "Indicates a default-context node is configured."; + description + "Default Context"; + uses TTL-THRESHOLD; + uses MAX-PEER-SA; + uses DEFAULT-PEER; + uses ORIGINATOR-ID; + uses MAX-SA; + uses CACHE-STATE; + uses KEEP-ALIVE; + uses PEER-TABLE; + uses CONNECT-SOURCE; + uses SA-FILTER-TABLE; + } + leaf global-max-sa { + type uint32 { + range "1..75000"; + } + description + "Configure the global MAX SA state for the router"; + } + leaf nsr-delay { + type uint32 { + range "5..90"; + } + units "second"; + description + "NSR-Ready delay period for MSDP Peer"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-act.yang new file mode 100644 index 0000000..0703380 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-act.yang @@ -0,0 +1,279 @@ +module Cisco-IOS-XR-ipv4-ospf-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-act"; + prefix ospf-act; + + import Cisco-IOS-XR-types { + prefix xr; + } + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR OSPF action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-14 { + description + "IOS XR 6.2.1 revision."; + } + + grouping OSPF-STAT-ATTRIBUTES { + leaf process { + type empty; + description + "Reset OSPF process"; + } + leaf redistribution { + type empty; + description + "Clear OSPF route redistrbution"; + } + leaf route { + type empty; + description + "Clear OSPF route table"; + } + container stats { + description + "OSPF counters and statistics"; + leaf spf { + type empty; + description + "SPF statistics"; + } + leaf message-queue { + type empty; + description + "Message-queue statistics"; + } + container interface { + description + "OSPF interface statistics"; + leaf interface-name { + type xr:Interface-name; + } + } + container neighbor { + description + "Neighbor statistics per interface or neighbor id"; + leaf neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + container interface { + leaf interface-name { + type xr:Interface-name; + description + "OSPF interface statistics"; + } + } + } + } + } + + rpc clear-ospf-routes { + description + "Clear OSPF route table"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + leaf route { + type empty; + mandatory true; + description + "Clear OSPF route table"; + } + } + } + rpc clear-ospf-redistribution { + description + "Clear OSPF route redistribution"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + leaf redistribution { + type empty; + mandatory true; + description + "Clear OSPF route redistribution"; + } + } + } + rpc clear-ospf-statistics { + description + "Clear OSPF counters and statistics"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + leaf all { + type empty; + description + "All OSPF counters and statistics"; + } + leaf message-queue { + type empty; + description + "Message-queue statistics"; + } + leaf spf { + type empty; + description + "SPF statistics"; + } + leaf neighbor { + type empty; + description + "Neighbor statistics per neighbor id"; + } + leaf interface-name { + type empty; + description + "OSPF interface statistics"; + } + } + } + rpc clear-ospf-statistics-neighbor { + description + "Clear OSPF neighbor statistics per interface or neighbor id"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + container neighbor { + leaf neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + rpc clear-ospf-statistics-interface { + description + "Clear OSPF interface statistics"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + container interface { + leaf interface-name { + type xr:Interface-name; + description + "OSPF interface statistics"; + } + } + } + } + rpc clear-ospf-process { + description + "Clear (reset) OSPF process"; + input { + container instance { + description + "Clear data from OSPF instance"; + leaf instance-identifier { + type string; + description + "OSPF process instance identifier"; + } + } + leaf process { + type empty; + mandatory true; + description + "Reset OSPF process"; + } + } + } + rpc clear-ospf-instance-vrf { + description + "Clear one or more non-default OSPF VRFs in process"; + input { + container instance { + description + "OSPF instance name"; + leaf instance-identifier { + type string; + mandatory true; + description + "OSPF process instance identifier"; + } + container vrf { + description + "Clear one or more non-default OSPF VRFs in process"; + leaf vrf-name { + type string; + description + "OSPF VRF name"; + } + uses OSPF-STAT-ATTRIBUTES; + } + container all { + description + "Clear all non-default OSPF VRFs"; + uses OSPF-STAT-ATTRIBUTES; + } + container all-inclusive { + description + "Clear all non-default and default OSPF VRFs"; + uses OSPF-STAT-ATTRIBUTES; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-cfg.yang new file mode 100644 index 0000000..c21c502 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-cfg.yang @@ -0,0 +1,3861 @@ +module Cisco-IOS-XR-ipv4-ospf-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-cfg"; + prefix ipv4-ospf-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ospf package configuration. + + This module contains definitions + for the following management objects: + ospf: OSPF configuration data + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-14 { + description + "Trace buffer size added in yang xml request repsonse."; + } + revision 2017-06-09 { + description + "Datatype modified to Range for area id, distribute tag and prefix tag."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-02 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospf-proc-frr-rlfa-tunnel { + type enumeration { + enum "none" { + value 0; + description + "Disabled"; + } + enum "mpls-ldp" { + value 1; + description + "MPLS LDP"; + } + } + description + "Ospf proc frr rlfa tunnel"; + } + + typedef Ospf-sub-address-family { + type enumeration { + enum "unicast" { + value 1; + description + "Unicast"; + } + } + description + "Ospf sub address family"; + } + + typedef Ospf-network { + type enumeration { + enum "broadcast" { + value 1; + description + "Broadcast"; + } + enum "non-broadcast" { + value 2; + description + "NonBroadcast"; + } + enum "point-to-point" { + value 3; + description + "Point to Point"; + } + enum "point-to-multipoint" { + value 4; + description + "Point to Multipoint"; + } + enum "non-broadcast-point-to-multipoint" { + value 5; + description + "NonBroadcast Point to Multipoint"; + } + } + description + "Ospf network"; + } + + typedef Ospf-fast-reroute-tiebreakers-intf { + type enumeration { + enum "downstream" { + value 0; + description + "Downstream"; + } + enum "line-card-disjoint" { + value 1; + description + "LC Disjoint"; + } + enum "lowest-metric" { + value 2; + description + "Lowest metric"; + } + enum "node-protect" { + value 3; + description + "Node protection"; + } + enum "primary-path" { + value 4; + description + "Primary path"; + } + enum "secondary-path" { + value 5; + description + "Secondar path"; + } + enum "srlg-disjoint" { + value 6; + description + "SRLG"; + } + } + description + "Ospf fast reroute tiebreakers intf"; + } + + typedef Ospf-authentication { + type enumeration { + enum "none" { + value 0; + description + "No Authentication"; + } + enum "plain" { + value 1; + description + "Plain Text Authentication"; + } + enum "md5" { + value 2; + description + "MD5 Message Digest"; + } + } + description + "Ospf authentication"; + } + + typedef Ospf-eigrp-route { + type enumeration { + enum "internal" { + value 0; + description + "EIGRP Internal Type"; + } + enum "external" { + value 1; + description + "EIGRP External Type"; + } + } + description + "Ospf eigrp route"; + } + + typedef Ospf-sid { + type enumeration { + enum "index" { + value 0; + description + "Index"; + } + enum "absolute" { + value 1; + description + "Absolute"; + } + } + description + "Ospf sid"; + } + + typedef Ospf-link-state-metric { + type enumeration { + enum "type1" { + value 1; + description + "Type 1 External"; + } + enum "type2" { + value 2; + description + "Type 2 External"; + } + } + description + "Ospf link state metric"; + } + + typedef Ospf-keychain-auth { + type enumeration { + enum "none" { + value 0; + description + "No Keychain Authentication"; + } + enum "keychain" { + value 3; + description + "Keychain Authentication"; + } + } + description + "Ospf keychain auth"; + } + + typedef Ospf-fast-reroute-tiebreakers { + type enumeration { + enum "downstream" { + value 0; + description + "Downstream"; + } + enum "line-card-disjoint" { + value 1; + description + "LC Disjoint"; + } + enum "lowest-metric" { + value 2; + description + "Lowest metric"; + } + enum "node-protect" { + value 3; + description + "Node protection"; + } + enum "primary-path" { + value 4; + description + "Primary path"; + } + enum "secondary-path" { + value 5; + description + "Secondar path"; + } + enum "srlg-disjoint" { + value 6; + description + "SRLG"; + } + } + description + "Ospf fast reroute tiebreakers"; + } + + typedef Ospf-uloop-avoidance { + type enumeration { + enum "protected" { + value 1; + description + "Protected prefixes only"; + } + enum "all" { + value 2; + description + "All prefixes"; + } + enum "segment-routing" { + value 3; + description + "Microloop avoidance using Segment Routing"; + } + } + description + "Ospf uloop avoidance"; + } + + typedef Ospf-shutdown { + type enumeration { + enum "full" { + value 1; + description + "Full graceful shutdown"; + } + enum "hostmode" { + value 2; + description + "Enter host only mode"; + } + enum "onreload" { + value 3; + description + "Full graceful shutdown post reload"; + } + } + description + "Ospf shutdown"; + } + + typedef Ospf-domain-id { + type enumeration { + enum "type0005" { + value 5; + description + "Type 0x0005"; + } + enum "type0105" { + value 261; + description + "Type 0x0105"; + } + enum "type0205" { + value 517; + description + "Type 0x0205"; + } + enum "type8005" { + value 32773; + description + "Type 0x8005"; + } + } + description + "Ospf domain id"; + } + + typedef Ospf-frr-rlfa-tunnel { + type enumeration { + enum "none" { + value 0; + description + "Disabled"; + } + enum "mpls-ldp" { + value 1; + description + "MPLS LDP"; + } + } + description + "Ospf frr rlfa tunnel"; + } + + typedef Ospf-log-adj { + type enumeration { + enum "brief" { + value 0; + description + "Limited output"; + } + enum "detail" { + value 1; + description + "Verbose output"; + } + enum "suppress" { + value 2; + description + "No output"; + } + } + description + "Ospf log adj"; + } + + typedef Ospf-fast-reroute { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "per-link" { + value 1; + description + "Per link"; + } + enum "per-prefix" { + value 2; + description + "Per prefix"; + } + } + description + "Ospf fast reroute"; + } + + typedef Ospf-cisco-nsf { + type enumeration { + enum "always" { + value 1; + description + "Do not require all neighbors to run NSF"; + } + enum "require-nsf-neighbors" { + value 2; + description + "Require all neighbors to run NSF"; + } + } + description + "Ospf cisco nsf"; + } + + typedef Ospf-proc-fast-reroute { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "per-link" { + value 1; + description + "Per link"; + } + enum "per-prefix" { + value 2; + description + "Per prefix"; + } + } + description + "Ospf proc fast reroute"; + } + + typedef Ospf-redist-lsa { + type enumeration { + enum "summary" { + value 3; + description + "Type 3 (summary) LSA"; + } + enum "external" { + value 5; + description + "Type 5 (external) LSA"; + } + } + description + "Ospf redist lsa"; + } + + typedef Ospf-dist-list-protocol { + type enumeration { + enum "all" { + value 0; + description + "Default"; + } + enum "connected" { + value 1; + description + "Connected Routes"; + } + enum "static" { + value 3; + description + "Static Routes"; + } + enum "bgp" { + value 4; + description + "BGP"; + } + enum "ospf" { + value 7; + description + "OSPF"; + } + enum "dagr" { + value 9; + description + "DAGR"; + } + } + description + "Ospf dist list protocol"; + } + + typedef Bfd-enable-mode { + type enumeration { + enum "disable" { + value 0; + description + "Disable Mode - Prevent inheritance"; + } + enum "default" { + value 1; + description + "Default Mode - Default BFD behavior"; + } + enum "strict" { + value 2; + description + "Strict Mode - Hold down adj until BFD sesion up"; + } + } + description + "Bfd enable mode"; + } + + typedef Ospf-segment-routing-forwarding { + type enumeration { + enum "disable" { + value 0; + description + "Disable"; + } + enum "mpls" { + value 1; + description + "Mpls"; + } + } + description + "Ospf segment routing forwarding"; + } + + typedef Ospf-ietf-nsf { + type enumeration { + enum "all" { + value 3; + description + "Use IETF NSF in planned and unplanned cases"; + } + } + description + "Ospf ietf nsf"; + } + + typedef Nsr { + type enumeration { + enum "true" { + value 1; + description + "Enable non-stop routing"; + } + enum "false" { + value 2; + description + "Disable non-stop routing"; + } + } + description + "Nsr"; + } + + typedef Ospf-trace-buf-size { + type enumeration { + enum "size0" { + value 0; + description + "Disable trace"; + } + enum "size256" { + value 256; + description + "Buffer size 256"; + } + enum "size512" { + value 512; + description + "Buffer size 512"; + } + enum "size1024" { + value 1024; + description + "Buffer size 1024"; + } + enum "size2048" { + value 2048; + description + "Buffer size 2048"; + } + enum "size4096" { + value 4096; + description + "Buffer size 4096"; + } + enum "size8192" { + value 8192; + description + "Buffer size 8192"; + } + enum "size16384" { + value 16384; + description + "Buffer size 16384"; + } + enum "size32768" { + value 32768; + description + "Buffer size 32768"; + } + enum "size65536" { + value 65536; + description + "Buffer size 65536"; + } + } + description + "Ospf trace buf size"; + } + + typedef Ospf-redist-protocol { + type enumeration { + enum "all" { + value 0; + description + "Default"; + } + enum "connected" { + value 1; + description + "Connected Routes"; + } + enum "static" { + value 3; + description + "Static Routes"; + } + enum "bgp" { + value 4; + description + "BGP"; + } + enum "rip" { + value 5; + description + "RIP"; + } + enum "isis" { + value 6; + description + "ISIS"; + } + enum "ospf" { + value 7; + description + "OSPF"; + } + enum "eigrp" { + value 8; + description + "EIGRP"; + } + enum "dagr" { + value 9; + description + "DAGR"; + } + enum "subscriber" { + value 10; + description + "Subscriber Routes"; + } + enum "application" { + value 11; + description + "Application Routes"; + } + enum "mobile" { + value 12; + description + "Mobile Routes"; + } + } + description + "Ospf redist protocol"; + } + + typedef Ospf-route-level { + type enumeration { + enum "type1" { + value 1; + description + "Type 1 only"; + } + enum "type2" { + value 2; + description + "Type 2 only"; + } + enum "type1-and2" { + value 3; + description + "Both Type 1 and Type 2"; + } + } + description + "Ospf route level"; + } + + typedef Ospf-ietf-nsf-support { + type enumeration { + enum "never" { + value 0; + description + "Do not perform IETF NSF helper role"; + } + } + description + "Ospf ietf nsf support"; + } + + typedef Ospf-segment-routing { + type enumeration { + enum "disable" { + value 0; + description + "Disable"; + } + enum "mpls" { + value 1; + description + "Mpls"; + } + } + description + "Ospf segment routing"; + } + + typedef Ospf-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + } + description + "Ospf address family"; + } + + typedef Ospf-fast-reroute-priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical"; + } + enum "high" { + value 2; + description + "High"; + } + enum "medium" { + value 4; + description + "Medium"; + } + enum "low" { + value 6; + description + "low"; + } + } + description + "Ospf fast reroute priority"; + } + + grouping DISTANCE { + description + "Common node of default-vrf, vrf"; + container distance { + description + "Administrative distance configuration"; + container ospf-distance { + description + "OSPF distance configuration"; + leaf intra-area { + type uint32 { + range "1..255"; + } + default "110"; + description + "Distance for intra-area routes"; + } + leaf inter-area { + type uint32 { + range "1..255"; + } + default "110"; + description + "Distance for inter-area routes"; + } + leaf external-routes { + type uint32 { + range "1..255"; + } + default "110"; + description + "Distance for external type 5 and type 7 routes"; + } + } + container ip-distances { + description + "IP specific administrative distance + configuration"; + list ip-distance { + key "address wildcard"; + description + "Administrative distance configuration for a + particular IP address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP source address"; + } + leaf wildcard { + type inet:ipv4-address-no-zone; + description + "IP wild card bits -- inverted mask"; + } + leaf distance { + type uint32 { + range "1..255"; + } + default "110"; + description + "Administrative distance"; + } + leaf access-list-name { + type string; + description + "Access Control List name"; + } + } + } + leaf admin-distance { + type uint32 { + range "1..255"; + } + default "110"; + description + "Define an administrative distance"; + } + } + } + + grouping MAX-METRIC { + description + "Common node of default-vrf, vrf"; + container max-metric { + description + "Set maximum metric configuration"; + container max-metric-on-proc-restart { + description + "Set maximum metric on-proc-restart + configuration"; + leaf wait-for-bgp { + type boolean; + default "false"; + description + "Let BGP decide when to originate router-LSA + with normal metric"; + } + leaf startup-max { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time in seconds to originate router-LSA with + max-metric"; + } + leaf include-stub { + type boolean; + description + "Set maximum metric for stub links in + router-LSAs"; + } + leaf summary-lsa { + type boolean; + description + "Override summary-lsa metric with max-metric + value"; + } + leaf summary-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in summary-LSAs (default + 16711680)"; + } + leaf external-lsa { + type boolean; + description + "Override external-lsa metric with max-metric + value"; + } + leaf external-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in external-LSAs (default + 16711680)"; + } + } + container max-metric-on-startup { + description + "Set maximum metric on-startup configuration"; + leaf wait-for-bgp { + type boolean; + default "false"; + description + "Let BGP decide when to originate router-LSA + with normal metric"; + } + leaf startup-max { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time in seconds to originate router-LSA with + max-metric"; + } + leaf include-stub { + type boolean; + description + "Set maximum metric for stub links in + router-LSAs"; + } + leaf summary-lsa { + type boolean; + description + "Override summary-lsa metric with max-metric + value"; + } + leaf summary-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in summary-LSAs (default + 16711680)"; + } + leaf external-lsa { + type boolean; + description + "Override external-lsa metric with max-metric + value"; + } + leaf external-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in external-LSAs (default + 16711680)"; + } + } + container max-metric-on-proc-migration { + description + "Set maximum metric on-proc-migration + configuration"; + leaf wait-for-bgp { + type boolean; + default "false"; + description + "Let BGP decide when to originate router-LSA + with normal metric"; + } + leaf startup-max { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time in seconds to originate router-LSA with + max-metric"; + } + leaf include-stub { + type boolean; + description + "Set maximum metric for stub links in + router-LSAs"; + } + leaf summary-lsa { + type boolean; + description + "Override summary-lsa metric with max-metric + value"; + } + leaf summary-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in summary-LSAs (default + 16711680)"; + } + leaf external-lsa { + type boolean; + description + "Override external-lsa metric with max-metric + value"; + } + leaf external-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in external-LSAs (default + 16711680)"; + } + } + container max-metric-always { + description + "Set maximum metric always configuration"; + leaf include-stub { + type boolean; + default "false"; + description + "Set maximum metric for stub links in + router-LSAs"; + } + leaf summary-lsa { + type boolean; + description + "Override summary-lsa metric with max-metric + value"; + } + leaf summary-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in summary-LSAs (default + 16711680)"; + } + leaf external-lsa { + type boolean; + description + "Override external-lsa metric with max-metric + value"; + } + leaf external-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in external-LSAs (default + 16711680)"; + } + } + container max-metric-on-switchover { + description + "Set maximum metric on-switchover configuration"; + leaf wait-for-bgp { + type boolean; + default "false"; + description + "Let BGP decide when to originate router-LSA + with normal metric"; + } + leaf startup-max { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time in seconds to originate router-LSA with + max-metric"; + } + leaf include-stub { + type boolean; + description + "Set maximum metric for stub links in + router-LSAs"; + } + leaf summary-lsa { + type boolean; + description + "Override summary-lsa metric with max-metric + value"; + } + leaf summary-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in summary-LSAs (default + 16711680)"; + } + leaf external-lsa { + type boolean; + description + "Override external-lsa metric with max-metric + value"; + } + leaf external-lsa-maximum-metric { + type uint32 { + range "1..16777215"; + } + description + "Overriding metric in external-LSAs (default + 16711680)"; + } + } + leaf max-metric-no-abr-off { + type empty; + description + "Block ABR-disable mode entry while in + max-metric mode"; + } + } + } + + grouping DEMAND-CIRCUIT { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf demand-circuit { + type boolean; + default "false"; + description + "Enable/Disable OSPF demand circuit"; + } + } + + grouping MAXIMUM-INTERFACES { + description + "Common node of default-vrf, vrf"; + leaf maximum-interfaces { + type uint32 { + range "1..4294967295"; + } + default "1024"; + description + "Max number of interfaces allowed to be + configured"; + } + } + + grouping EXCLUDE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefix, ucmp"; + container exclude-interfaces { + description + "Fast-reroute per-link/per-prefix or UCMP exclude + interface configuration"; + list exclude-interface { + key "interface-name"; + description + "Exclude an interface from becoming a backup or + UCMP"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefix, ucmpCommon + node of per-link, per-prefix"; + container exclude-interfaces { + description + "Fast-reroute per-link/per-prefix or UCMP exclude + interface configuration"; + list exclude-interface { + key "interface-name"; + description + "Exclude an interface from becoming a backup or + UCMP"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping RUNNING { + description + "Common node of process, area, name-scope, + virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + leaf running { + type empty; + description + "Enable routing on an IP network"; + } + } + + grouping TRANSMIT-DELAY { + description + "Common node of process-scope, area-scope, + name-scope, virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + default "1"; + description + "Number of seconds to delay transmission of LSAs"; + } + } + + grouping NO-OPAQUE { + description + "Common node of default-vrf, vrf"; + leaf no-opaque { + type empty; + description + "Disable opaque LSAs"; + } + } + + grouping COST-FALLBACK { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope"; + container cost-fallback { + description + "Interface fallback cost"; + leaf cost { + type uint32 { + range "1..65535"; + } + description + "Fallback cost of link"; + } + leaf threshold { + type uint32 { + range "1..4294967"; + } + description + "Bandwidth threshold"; + } + } + } + + grouping SEGMENT-ROUTING { + description + "Common node of process-scope, area"; + leaf segment-routing { + type Ospf-segment-routing; + description + "segment-routing configuration Applicable only in + Default VRF"; + } + } + + grouping SUMMARY-IN { + description + "Common node of process-scope, area"; + leaf summary-in { + type boolean; + description + "Enable/Disable an OSPF area to advertise + external prefixes into this area as summary"; + } + } + + grouping LDP-AUTO-CONFIG { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf ldp-auto-config { + type empty; + description + "Enable MPLS LDP Auto Config"; + } + } + + grouping PASSIVE { + description + "Common node of process-scope, area-scope, + name-scopeCommon node of process-scope, + area-scope, name-scope, + multi-area-interface-scope"; + leaf passive { + type boolean; + default "false"; + description + "When enabled, prevent sending HELLO packets over + link"; + } + } + + grouping AREA-TABLE { + description + "Common node of default-vrf, vrf"; + container area-addresses { + description + "Area configuration"; + + grouping AREA-CONTENT { + description + "AREA CONTENT"; + container virtual-link-scopes { + description + "Virtual Link scope configurations"; + list virtual-link-scope { + key "address"; + description + "Virtual Link configuration"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Router ID of virtual link neighbor"; + } + uses AUTHENTICATION; + uses HELLO-INTERVAL; + uses TRANSMIT-DELAY; + uses DEAD-INTERVAL-MINIMAL; + uses RETRANSMIT-INTERVAL; + uses RUNNING; + } + } + container sham-link-scopes { + description + "Sham Link scope configurations"; + list sham-link-scope { + key "source-address destination-address"; + description + "Sham Link configuration"; + leaf source { + type inet:ipv4-address-no-zone; + description + "Address of the local sham-link endpoint. + Enter an IP Address"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Address of the local sham-link endpoint"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Address of the remote sham-link endpoint"; + } + uses COST; + uses AUTHENTICATION; + uses HELLO-INTERVAL; + uses TRANSMIT-DELAY; + uses DEAD-INTERVAL-MINIMAL; + uses RETRANSMIT-INTERVAL; + uses RUNNING; + } + } + container area-scope { + description + "Area scope configuration"; + uses DISTRIBUTE-LIST; + uses COST; + uses BFD; + uses PREFIX-SUPPRESSION-PRIMARY; + uses MTU-IGNORE; + uses AUTHENTICATION; + uses LDP-SYNC-IGP-SHORTCUTS; + uses LDP-AUTO-CONFIG; + uses SECURITY; + uses NETWORK-TYPE; + uses HELLO-INTERVAL; + uses LOOPBACK-STUB-NETWORK; + uses PREFIX-SUPPRESSION-SECONDARY; + uses DEMAND-CIRCUIT; + uses PASSIVE; + uses TRANSMIT-DELAY; + uses PACKET-SIZE; + uses LDP-SYNC; + uses DATABASE-FILTER; + uses DEAD-INTERVAL-MINIMAL; + uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; + uses LINK-DOWN-FAST-DETECT; + uses SEGMENT-ROUTING-FORWARDING; + uses RETRANSMIT-INTERVAL; + uses IPV4-OSPF-CFG-PRIORITY; + uses FLOOD-REDUCTION; + uses COST-FALLBACK; + } + container name-scopes { + description + "Name scope configurations"; + list name-scope { + key "interface-name"; + description + "Name scope configuration"; + container prefix-sid { + presence "Indicates a prefix-sid node is configured."; + description + "Prefix SID"; + leaf sid-value { + type uint32 { + range "0..1048575"; + } + mandatory true; + description + "SID value"; + } + leaf explicit-null { + type boolean; + default "false"; + description + "Force Penultimate Hop To Send Explicit-Null + Label"; + } + leaf type { + type Ospf-sid; + mandatory true; + description + "OSPF SID Type"; + } + leaf n-flag-clear { + type boolean; + default "false"; + description + "Not a node SID"; + } + } + container prefix-sid-strict { + presence "Indicates a prefix-sid-strict node is configured."; + description + "Strict Prefix SID"; + leaf sid-value { + type uint32 { + range "0..1048575"; + } + mandatory true; + description + "SID value"; + } + leaf explicit-null { + type boolean; + default "false"; + description + "Force Penultimate Hop To Send Explicit-Null + Label"; + } + leaf type { + type Ospf-sid; + mandatory true; + description + "OSPF SID Type"; + } + leaf n-flag-clear { + type boolean; + default "false"; + description + "Not a node SID"; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of Interface to configure"; + } + uses DISTRIBUTE-LIST; + uses COST; + uses BFD; + uses PREFIX-SUPPRESSION-PRIMARY; + uses MTU-IGNORE; + uses AUTHENTICATION; + uses LDP-SYNC-IGP-SHORTCUTS; + uses LDP-AUTO-CONFIG; + uses SECURITY; + uses NEIGHBOR-TABLE; + uses NETWORK-TYPE; + uses HELLO-INTERVAL; + uses LOOPBACK-STUB-NETWORK; + uses PREFIX-SUPPRESSION-SECONDARY; + uses DEMAND-CIRCUIT; + uses PASSIVE; + uses TRANSMIT-DELAY; + uses PACKET-SIZE; + uses LDP-SYNC; + uses DATABASE-FILTER; + uses DEAD-INTERVAL-MINIMAL; + uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; + uses LINK-DOWN-FAST-DETECT; + uses SEGMENT-ROUTING-FORWARDING; + uses RETRANSMIT-INTERVAL; + uses IPV4-OSPF-CFG-PRIORITY; + uses FLOOD-REDUCTION; + uses COST-FALLBACK; + uses RUNNING; + } + } + container multi-area-interface-scopes { + description + "Multi Area Interface scope configurations"; + list multi-area-interface-scope { + key "interface-name"; + description + "Multi Area Interface configuration"; + leaf interface-name { + type xr:Interface-name; + description + "Name of Multi Area Interface to configure"; + } + uses DISTRIBUTE-LIST; + uses COST; + uses MTU-IGNORE; + uses AUTHENTICATION; + uses NEIGHBOR-TABLE; + uses HELLO-INTERVAL; + uses PASSIVE; + uses TRANSMIT-DELAY; + uses PACKET-SIZE; + uses DATABASE-FILTER; + uses DEAD-INTERVAL-MINIMAL; + uses IPV4-OSPF-FRR-CFG-FAST-REROUTE; + uses RETRANSMIT-INTERVAL; + uses COST-FALLBACK; + uses RUNNING; + } + } + container area-ranges { + description + "Summarize routes matching address/mask (border + routers only)"; + list area-range { + key "address netmask"; + description + "Ordering index"; + leaf not-advertise { + type boolean; + description + "Do not advertise this range"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IP address to match"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "IP netmask for address"; + } + } + } + container nssa { + description + "Specify area as a NSSA area"; + leaf no-redistribution { + type boolean; + default "false"; + description + "No redistribution into this NSSA area"; + } + leaf default-info-originate { + type boolean; + default "false"; + description + "Originate Type 7 default into NSSA area"; + } + leaf no-summary { + type boolean; + default "false"; + description + "Do not send summary LSA into NSSA"; + } + leaf nssa-def-metric { + type uint32 { + range "1..16777214"; + } + description + "OSPF default metric"; + } + leaf metric-type { + type Ospf-link-state-metric; + default "type2"; + description + "OSPF External metric type"; + } + } + leaf route-policy-in { + type string; + description + "Configure a route policy for inbound type-3 + lsa filtering"; + } + leaf default-cost { + type uint32 { + range "1..16777215"; + } + default "1"; + description + "Set the summary default-cost of a NSSA/stub + area"; + } + leaf route-policy-out { + type string; + description + "Configure a route policy for outbound type-3 + lsa filtering"; + } + leaf stub { + type boolean; + description + "Specify the area as a stub area (send summary + LSA stub area)"; + } + leaf mpls-traffic-eng { + type empty; + description + "Configure an OSPF area to run MPLS Traffic + Engineering"; + } + uses EXTERNAL-OUT; + uses SUMMARY-IN; + uses SEGMENT-ROUTING; + uses RUNNING; + } + list area-address { + key "address"; + description + "Configuration for a particular area"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Area ID if in IP address format"; + } + uses AREA-CONTENT; + } + list area-area-id { + key "area-id"; + description + "Configuration for a particular area"; + leaf area-id { + type uint32 { + range "0..4294967295"; + } + description + "Area ID if in integer format"; + } + uses AREA-CONTENT; + } + } + } + + grouping AUTO-COST { + description + "Common node of default-vrf, vrf"; + container auto-cost { + description + "Controls automatic cost based on bandwidth"; + leaf disable { + type boolean; + default "false"; + description + "Disabling auto costing"; + } + leaf bandwidth { + type uint32 { + range "1..4294967"; + } + units "Mbit/s"; + default "100"; + description + "The reference bandwidth in terms of Mbits per + second"; + } + } + } + + grouping TIMERS { + description + "Common node of default-vrf, vrf"; + container timers { + description + "Adjust routing timers"; + container spf-timer { + description + "OSPF SPF timers (in milliseconds)"; + leaf initial-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "5000"; + description + "Number of milliseconds before first SPF run"; + } + leaf backoff-increment { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "10000"; + description + "Number of milliseconds delay between + successive SPF runs"; + } + leaf max-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "10000"; + description + "Max number of milliseconds between consecutive + SPF calculations"; + } + } + container lsa-generation-timer { + description + "OSPF LSA timers (in milliseconds)"; + leaf initial-delay { + type uint32 { + range "0..600000"; + } + units "millisecond"; + default "50"; + description + "Number of milliseconds before generating first + LSA"; + } + leaf backoff-increment { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "200"; + description + "Number of milliseconds delay between + successive LSA builds"; + } + leaf max-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "200"; + description + "Max number of milliseconds between consecutive + LSA builds "; + } + } + leaf lsa-pacing-flood { + type uint32 { + range "5..100"; + } + units "second"; + description + "Seconds between group of LSAs being refreshed + or maxaged"; + } + leaf fast-reroute-timer { + type uint32 { + range "50..600000"; + } + units "millisecond"; + default "500"; + description + "Number of ms between end of SPF and start of + IPFRR computation"; + } + leaf lsa-refresh { + type uint32 { + range "1800..2700"; + } + units "second"; + default "1800"; + description + "How often self-originated LSAs should be + refreshed"; + } + leaf lsa-group-pacing { + type uint32 { + range "10..1800"; + } + units "second"; + default "240"; + description + "LSA group pacing timer (Seconds between group + of LSAs being refreshed or maxaged)"; + } + leaf lsa-min-arrival { + type uint32 { + range "0..600000"; + } + units "millisecond"; + default "100"; + description + "MinLSArrival timer (minimum interval in + milliseconds between accepting the same LSA)"; + } + } + } + + grouping NETWORK-TYPE { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf network-type { + type Ospf-network; + description + "Type of attached network"; + } + } + + grouping REDISTRIBUTION { + description + "Common node of default-vrf, vrf"; + container redistribution { + description + "Redistribute configurations"; + container redistributes { + description + "Redistribute information from another routing + protocol"; + list redistribute { + must "connected-or-static-or-dagr-or-subscriber-or-mobile-or-rip or application-or-isis-or-ospf or bgp or eigrp" { + description + "Connected-or-Static-or-DAGR-or-Subscriber-or-Mobile-or-RIP or Application-or-ISIS-or-OSPF or BGP or EIGRP must be present."; + } + key "protocol-name"; + description + "Redistribute information from another routing + protocol"; + + grouping REDISTRIBUTE-CONTENT { + description + "REDISTRIBUTE CONTENT"; + leaf classful { + type boolean; + default "false"; + description + "Disallow subnetting"; + } + leaf default-redistributed-route-metric { + type uint32 { + range "1..16777214"; + } + description + "Default metric for routes being + redistributed into OSPF"; + } + leaf tag { + type uint32 { + range "0..4294967295"; + } + description + "Set tag for routes redistributed into OSPF"; + } + leaf metric-type { + type Ospf-link-state-metric; + description + "Set OSPF External metric type"; + } + leaf eigrp-route-type { + type Ospf-eigrp-route; + description + "EIGRP route type"; + } + leaf isis-levels { + type Ospf-route-level; + description + "Levels of ISIS routes"; + } + leaf ospf-internal { + type boolean; + description + "OSPF_Internal route type"; + } + leaf ospf-external { + type Ospf-route-level; + description + "OSPF external route types"; + } + leaf ospf-nssa-level { + type Ospf-route-level; + description + "OSPF NSSA external route types"; + } + leaf route-policy-name { + type string; + description + "Routing policy name"; + } + leaf bgp-preserve-med { + type boolean; + description + "Preserve MED of BGP routes"; + } + leaf bgp-preserve-default-info { + type boolean; + description + "Preserve Metric and Metric Type of BGP + Default Route"; + } + leaf ospf-redist-lsa-type { + type Ospf-redist-lsa; + default "external"; + description + "LSA type for redistributed routes"; + } + leaf ospfnssa-only { + type boolean; + description + "Only redistribute to NSSA areas"; + } + leaf ospf-use-rib-metric { + type boolean; + description + "Use metric from RIB for redistributed routes"; + } + } + container connected-or-static-or-dagr-or-subscriber-or-mobile-or-rip { + when "../protocol-name = 'connected' or ../protocol-name = 'static' or ../protocol-name = 'dagr' or ../protocol-name = 'subscriber' or ../protocol-name = 'mobile' or ../protocol-name = 'rip'" { + description + "../ProtocolName = Connected or . + ./ProtocolName = Static or ../ProtocolName + = DAGR or ../ProtocolName = Subscriber or . + ./ProtocolName = Mobile or ../ProtocolName + = RIP"; + } + presence "Indicates that this node is configured."; + description + "connected or static or dagr or subscriber or + mobile or rip"; + uses REDISTRIBUTE-CONTENT; + } + leaf protocol-name { + type Ospf-redist-protocol; + description + "Distribute list protocol type"; + } + list application-or-isis-or-ospf { + when "../protocol-name = 'application' or ../protocol-name = 'isis' or ../protocol-name = 'ospf'" { + description + "../ProtocolName = Application or . + ./ProtocolName = ISIS or ../ProtocolName = + OSPF"; + } + key "instance-name"; + description + "application or isis or ospf"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF or ISIS process name or protocol name: + bgp, eigrp, connected"; + } + uses REDISTRIBUTE-CONTENT; + } + list bgp { + when "../protocol-name = 'bgp'" { + description + "../ProtocolName = BGP"; + } + key "instance-name as-xx as-yy"; + description + "bgp"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF or ISIS process name or protocol name: + bgp, eigrp, connected"; + } + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "First half of BGP AS number in XX.YY format. + Mandatory if Protocol is BGP and must not be + specified otherwise. Must be a non-zero + value if second half is zero."; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "Second half of BGP AS number in XX.YY format + . Mandatory if Protocol is BGP or EIGRP and + must not be specified otherwise. Must be a + non-zero value if first half is zero."; + } + uses REDISTRIBUTE-CONTENT; + } + list eigrp { + when "../protocol-name = 'eigrp'" { + description + "../ProtocolName = EIGRP"; + } + key "instance-name as-xx"; + description + "eigrp"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF or ISIS process name or protocol name: + bgp, eigrp, connected"; + } + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "First half of BGP AS number in XX.YY format. + Mandatory if Protocol is BGP and must not be + specified otherwise. Must be a non-zero + value if second half is zero."; + } + uses REDISTRIBUTE-CONTENT; + } + } + } + } + } + + grouping EXTERNAL-OUT { + description + "Common node of process-scope, area"; + leaf external-out { + type boolean; + description + "Enable/Disable an OSPF area to advertise + intra-area prefixes out of this area as external"; + } + } + + grouping AF { + description + "Common node of default-vrf, vrf"; + container af { + presence "Indicates a af node is configured."; + description + "OSPF address family"; + leaf af-name { + type Ospf-address-family; + mandatory true; + description + "Address family"; + } + leaf saf-name { + type Ospf-sub-address-family; + description + "Sub-Address family"; + } + } + } + + grouping DEFAULT-INFORMATION { + description + "Common node of default-vrf, vrf"; + container default-information { + description + "Control distribution of default information"; + leaf always-advertise { + type boolean; + default "false"; + description + "Always advertise default route"; + } + leaf metric { + type uint32 { + range "1..16777214"; + } + default "1"; + description + "OSPF metric"; + } + leaf metric-type { + type Ospf-link-state-metric; + default "type2"; + description + "OSPF External metric type"; + } + leaf route-policy-name { + type string; + description + "Routing policy name"; + } + } + } + + grouping PREFIX-SUPPRESSION-SECONDARY { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf prefix-suppression-secondary { + type boolean; + default "false"; + description + "Enable/Disable prefix suppression for secondary + addresses"; + } + } + + grouping MAXIMUM-PATHS { + description + "Common node of default-vrf, vrf"; + leaf maximum-paths { + type uint32 { + range "1..64"; + } + description + "Forward packets over multiple paths (number of + paths)"; + } + } + + grouping DATABASE-FILTER { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope"; + leaf database-filter { + type boolean; + default "false"; + description + "Filter OSPF LSA during synchronization and + flooding"; + } + } + + grouping LINK-DOWN-FAST-DETECT { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf link-down-fast-detect { + type boolean; + default "false"; + description + "Enable/Disable registration for early interface + down notifications"; + } + } + + grouping LDP-SYNC-IGP-SHORTCUTS { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf ldp-sync-igp-shortcuts { + type boolean; + description + "Enable/Disable MPLS LDP sync for igp-shortcuts"; + } + } + + grouping MICROLOOP { + description + "Common node of default-vrf, vrf"; + container microloop { + description + "Microloop configuration"; + container avoidance { + description + "Microloop avoidance configuration"; + leaf enable { + type Ospf-uloop-avoidance; + default "all"; + description + "MicroLoop avoidance feature enable + configuration"; + } + leaf rib-update-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + default "5000"; + description + "Delay to introduce between SPF and RIB update + in msecs"; + } + } + } + } + + grouping DEAD-INTERVAL-MINIMAL { + description + "Common node of process-scope, area-scope, + name-scope, virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + container dead-interval-minimal { + description + "Interval after which a neighbor is declared dead"; + leaf interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval size in seconds after which a neighbor + is declared dead"; + } + leaf multiplier { + type uint32 { + range "3..20"; + } + description + "Number of Hellos in one second"; + } + } + } + + grouping CANDIDATE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefix"; + container candidate-interfaces { + description + "Fast-reroute per-link/per-prefix candidate + interface configuration"; + list candidate-interface { + key "interface-name"; + description + "Candidate backup interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefixCommon node of + per-link, per-prefix"; + container candidate-interfaces { + description + "Fast-reroute per-link/per-prefix candidate + interface configuration"; + list candidate-interface { + key "interface-name"; + description + "Candidate backup interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping QUEUE { + description + "Common node of default-vrf, vrf"; + container queue { + description + "Adjust OSPF input queue sizes and processing + quantums"; + leaf dispatch-rate-limited-flush { + type uint32 { + range "30..3000"; + } + default "150"; + description + "Maximum number of continuous rate-limited LSAs + processed for FLUSH"; + } + leaf limit-high { + type uint32 { + range "1000..30000"; + } + default "9500"; + description + "Hello events are dropped when incoming event + queue exceeds this"; + } + leaf dispatch-spf-lsa-limit { + type uint32 { + range "30..3000"; + } + default "150"; + description + "Maximum number of continuous summary or + external LSAs processed"; + } + leaf limit-low { + type uint32 { + range "1000..30000"; + } + default "8000"; + description + "DBDs/Updates are dropped when incoming event + queue exceeds this"; + } + leaf dispatch-rate-limited { + type uint32 { + range "30..3000"; + } + default "150"; + description + "Maximum number of continuous rate-limited LSAs + processed"; + } + leaf limit-medium { + type uint32 { + range "1000..30000"; + } + default "9000"; + description + "LSA ACKs are dropped when incoming event queue + exceeds this"; + } + leaf dispatch-incoming { + type uint32 { + range "30..3000"; + } + default "300"; + description + "Maximum number of continuous incoming + packet-related events processed"; + } + } + } + + grouping AUTHENTICATION { + description + "Common node of process-scope, area-scope, + name-scope, virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + container authentication { + description + "Authentication"; + container type { + description + "Authentication type"; + leaf authen-type { + type Ospf-authentication; + description + "Authentication type code "; + } + leaf keychain-authen-type { + type Ospf-keychain-auth; + description + "Keychain authentication type"; + } + leaf keychain-name { + type string; + description + "Keychain name"; + } + } + container message-digest-keies { + description + "Message digest authentication password (key) + configurations, first 16 chars used"; + list message-digest-key { + key "key-id"; + description + "Message digest authentication password (key) + configuration"; + leaf key-id { + type uint32 { + range "1..255"; + } + description + "Key ID"; + } + leaf password { + type xr:Proprietary-password; + mandatory true; + description + "Password"; + } + } + } + leaf key { + type xr:Proprietary-password; + description + "Authentication key configuration"; + } + } + } + + grouping MAXIMUM-REDISTRIBUTE-PREFIX { + description + "Common node of default-vrf, vrf"; + container maximum-redistribute-prefix { + description + "Maximum number of prefixes redistributed into + OSPF"; + leaf number-of-prefixes { + type uint32 { + range "1..4294967295"; + } + description + "Maximum number of prefixes redistributed"; + } + leaf threshold { + type uint32 { + range "1..100"; + } + description + "Threshold value (%) at which to generate a + warning msg"; + } + leaf warning-only { + type boolean; + description + "Only give warning messsage when limit is + exceeded"; + } + } + } + + grouping SEGMENT-ROUTING-FORWARDING { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf segment-routing-forwarding { + type Ospf-segment-routing-forwarding; + description + "segment-routing forwarding configuration + Applicableonly in Default VRF"; + } + } + + grouping DISTRIBUTE-LIST { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope"; + container distribute-list { + presence "enable distribute-list"; + description + "Filter networks intalled to RIB (disable as ACL + name means filtering is disabled)"; + leaf access-list-name { + type string; + must "not(../route-policy-name)"; + description + "Access Control List name"; + } + leaf route-policy-name { + type string; + must "not(../access-list-name)"; + description + "Route Policy name"; + } + } + } + + grouping COST { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope, + sham-link-scope"; + leaf cost { + type uint32 { + range "1..65535"; + } + description + "Interface cost"; + } + } + + grouping PACKET-SIZE { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope"; + leaf packet-size { + type uint32 { + range "576..10000"; + } + description + "Customize size of OSPF packets upto MTU"; + } + } + + grouping FAST-REROUTE { + description + "Common node of default-vrf, vrf"; + container fast-reroute { + description + "Fast-reroute instance scoped parameters"; + container per-link { + description + "Fast-reroute per-link global configuration"; + uses PRIORITY; + } + container per-prefix { + description + "Fast-reroute per-prefix global configuration"; + container tiebreakers { + description + "Fast-reroute tiebreakers configurations"; + list tiebreaker { + key "tiebreaker-type"; + description + "Fast-reroute tiebreakers configuration"; + leaf tiebreaker-type { + type Ospf-fast-reroute-tiebreakers; + description + "Tiebreaker type"; + } + leaf tiebreaker-index { + type uint32 { + range "0..255"; + } + mandatory true; + description + "Index value for a tiebreaker, 0 to disable"; + } + } + } + leaf load-sharing-disable { + type empty; + description + "Disable load sharing between multiple backups"; + } + uses PRIORITY; + } + } + } + + grouping IPV4-OSPF-FRR-CFG-FAST-REROUTE { + description + "Common node of default-vrf, vrfCommon node of + area-scope, name-scope, + multi-area-interface-scope"; + container fast-reroute { + description + "Fast-reroute configuration"; + container per-link { + description + "Fast-reroute per-link configuration"; + uses FAST-REROUTE-USE-CANDIDATE-ONLY; + uses IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE; + uses IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE; + } + container per-prefix { + description + "Fast-reroute per-prefix global configuration"; + container remote-lfa { + description + "Remote LFA configuration"; + leaf tunnel { + type Ospf-frr-rlfa-tunnel; + description + "Enable/Disable remote LFA computation"; + } + leaf maximum-cost { + type uint32 { + range "1..4294967295"; + } + description + "Maximum path cost to remote LFA"; + } + } + container tiebreakers { + description + "Fast-reroute tiebreakers configurations"; + list tiebreaker { + key "tiebreaker-type"; + description + "Fast-reroute tiebreakers configuration"; + leaf tiebreaker-type { + type Ospf-fast-reroute-tiebreakers-intf; + description + "Tiebreaker type"; + } + leaf tiebreaker-index { + type uint32 { + range "0..255"; + } + mandatory true; + description + "Index value for a tiebreaker, 0 to disable"; + } + } + } + leaf topology-independent-lfa { + type boolean; + description + "Topology Independet LFA configuration"; + } + uses FAST-REROUTE-USE-CANDIDATE-ONLY; + uses IPV4-OSPF-FRR-CFG-CANDIDATE-INTERFACE-TABLE; + uses IPV4-OSPF-FRR-CFG-EXCLUDE-INTERFACE-TABLE; + } + leaf fast-reroute-enable { + type Ospf-fast-reroute; + description + "Enable/Disable Fast-reroute per-link or + per-prefix"; + } + } + } + + grouping SUMMARY-PREFIX-TABLE { + description + "Common node of default-vrf, vrf"; + container summary-prefixes { + description + "Configure IP prefix summary"; + + grouping SUMMARY-PREFIX-CONTENT { + description + "Content grouping."; + leaf not-advertise { + type boolean; + default "false"; + description + "Do not advertise when translating OSPF type-7 + LSA"; + } + leaf tag { + type uint32 { + range "0..4294967295"; + } + description + "32-bit tag value"; + } + } + container summary-prefix-data { + description + "Data container."; + uses SUMMARY-PREFIX-CONTENT; + } + list prefix-and-netmask { + key "prefix netmask"; + description + "keys: prefix, netmask"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "IP summary prefix"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "Summary netmask"; + } + uses SUMMARY-PREFIX-CONTENT; + } + list prefix { + key "prefix"; + description + "keys: prefix"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "IP summary prefix"; + } + uses SUMMARY-PREFIX-CONTENT; + } + list netmask { + key "netmask"; + description + "keys: netmask"; + leaf netmask { + type inet:ipv4-address-no-zone; + description + "Summary netmask"; + } + uses SUMMARY-PREFIX-CONTENT; + } + } + } + + grouping SECURITY { + description + "Common node of process-scope, area-scope, + name-scope"; + container security { + description + "Container class for security related + configuration parameters"; + container ttl { + description + "Enabling turns on TTL security"; + leaf enable { + type boolean; + description + "Enable TTL security"; + } + leaf hop-count { + type uint32 { + range "1..254"; + } + description + "Hop count"; + } + } + } + } + + grouping HELLO-INTERVAL { + description + "Common node of process-scope, area-scope, + name-scope, virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval between HELLO packets in seconds"; + } + } + + grouping ADJACENCY-CHANGES { + description + "Common node of default-vrf, vrf"; + leaf adjacency-changes { + type Ospf-log-adj; + description + "Log changes in adjacency state"; + } + } + + grouping PROCESS-SCOPE { + description + "Common node of default-vrf, vrf"; + container process-scope { + description + "Process scope configuration"; + container srgb { + presence "Indicates a srgb node is configured."; + description + "Segment Routing Global Block configuration"; + leaf lower-bound { + type uint32 { + range "16000..1048575"; + } + mandatory true; + description + "The lower bound of the SRGB"; + } + leaf upper-bound { + type uint32 { + range "16000..1048575"; + } + mandatory true; + description + "The upper bound of the SRGB"; + } + } + container fast-reroute { + description + "Fast-reroute configuration"; + container per-link { + description + "Fast-reroute per-link configuration"; + uses CANDIDATE-INTERFACE-TABLE; + uses IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY; + uses EXCLUDE-INTERFACE-TABLE; + } + container per-prefix { + description + "Fast-reroute per-prefix configuration"; + container remote-lfa { + description + "Remote LFA configuration"; + leaf tunnel { + type Ospf-proc-frr-rlfa-tunnel; + description + "Enable/Disable remote LFA computation"; + } + leaf maximum-cost { + type uint32 { + range "1..4294967295"; + } + description + "Maximum path cost to remote LFA"; + } + } + leaf topology-independent-lfa { + type boolean; + description + "Topology Independet LFA configuration"; + } + uses CANDIDATE-INTERFACE-TABLE; + uses IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY; + uses EXCLUDE-INTERFACE-TABLE; + } + leaf fast-reroute-enable { + type Ospf-proc-fast-reroute; + description + "Enable/Disable Fast-reroute per-link or + per-prefix"; + } + } + uses DISTRIBUTE-LIST; + uses COST; + uses BFD; + uses EXTERNAL-OUT; + uses PREFIX-SUPPRESSION-PRIMARY; + uses MTU-IGNORE; + uses AUTHENTICATION; + uses LDP-SYNC-IGP-SHORTCUTS; + uses LDP-AUTO-CONFIG; + uses SECURITY; + uses SUMMARY-IN; + uses NETWORK-TYPE; + uses HELLO-INTERVAL; + uses LOOPBACK-STUB-NETWORK; + uses PREFIX-SUPPRESSION-SECONDARY; + uses DEMAND-CIRCUIT; + uses SEGMENT-ROUTING; + uses PASSIVE; + uses TRANSMIT-DELAY; + uses PACKET-SIZE; + uses LDP-SYNC; + uses DATABASE-FILTER; + uses DEAD-INTERVAL-MINIMAL; + uses LINK-DOWN-FAST-DETECT; + uses SEGMENT-ROUTING-FORWARDING; + uses RETRANSMIT-INTERVAL; + uses IPV4-OSPF-CFG-PRIORITY; + uses FLOOD-REDUCTION; + uses COST-FALLBACK; + } + } + + grouping UCMP { + description + "Common node of default-vrf, vrf"; + container ucmp { + description + "Unequal Cost Multi-ptah configuration"; + container enable { + description + "UCMP feature enable configuration"; + leaf variance { + type uint32 { + range "101..10000"; + } + default "200"; + description + "Value of variance"; + } + leaf prefix-list-name { + type string; + description + "Name of the Prefix List"; + } + } + leaf delay-interval { + type uint32 { + range "1..5000"; + } + units "millisecond"; + default "100"; + description + "Delay in msecs between primary SPF and UCMP + computation"; + } + uses EXCLUDE-INTERFACE-TABLE; + } + } + + grouping NSF { + description + "Common node of default-vrf, vrf"; + container nsf { + description + "Non Stop Forwarding configuration"; + leaf lifetime { + type uint32 { + range "90..1800"; + } + units "second"; + default "90"; + description + "Maximum route lifetime following restart in + seconds"; + } + leaf ietf { + type Ospf-ietf-nsf; + description + "Enable IETF Non Stop Forwarding"; + } + leaf ietf-support-role { + type Ospf-ietf-nsf-support; + description + "Disable helper support role for IETF Non Stop + Forwarding"; + } + leaf cisco { + type Ospf-cisco-nsf; + description + "Enable Cisco Non Stop Forwarding"; + } + leaf interval { + type uint32 { + range "90..3600"; + } + units "second"; + default "90"; + description + "Minimum interval between Non Stop Forwarding + restarts in seconds"; + } + leaf flush-delay-time { + type uint32 { + range "1..3600"; + } + units "second"; + default "60"; + description + "Maximum time allowed for external route + learning (seconds)"; + } + leaf ietf-strict-lsa-checking { + type empty; + description + "Enable Strict LSA checking of IETF NSF"; + } + } + } + + grouping MTU-IGNORE { + description + "Common node of process-scope, area-scope, + name-scope, multi-area-interface-scope"; + leaf mtu-ignore { + type boolean; + default "false"; + description + "Enable/Disable ignoring of MTU in DBD packets"; + } + } + + grouping FAST-REROUTE-USE-CANDIDATE-ONLY { + description + "Common node of per-link, per-prefix"; + leaf fast-reroute-use-candidate-only { + type boolean; + default "false"; + description + "Use only interfaces on the candidate list as a + backup path"; + } + } + + grouping IPV4-OSPF-CFG-FAST-REROUTE-USE-CANDIDATE-ONLY { + description + "Common node of per-link, per-prefixCommon node of + per-link, per-prefix"; + leaf fast-reroute-use-candidate-only { + type boolean; + default "false"; + description + "Use only interfaces on the candidate list as a + backup path"; + } + } + + grouping BFD { + description + "Common node of process-scope, area-scope, + name-scope"; + container bfd { + description + "BFD configuration"; + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by OSPF"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions created + by OSPF"; + } + leaf fast-detect-mode { + type Bfd-enable-mode; + description + " use of Bidirectional Forwarding Detection"; + } + } + } + + grouping LOOPBACK-STUB-NETWORK { + description + "Common node of process-scope, area-scope, + name-scopeCommon node of process-scope, + area-scope, name-scope"; + leaf loopback-stub-network { + type boolean; + default "false"; + description + "Enable/Disable advertising loopback as a stub + network"; + } + } + + grouping PREFIX-SUPPRESSION-PRIMARY { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf prefix-suppression-primary { + type boolean; + default "false"; + description + "Enable/Disable prefix suppression for primary + addresses"; + } + } + + grouping FLOOD-REDUCTION { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf flood-reduction { + type boolean; + default "false"; + description + "Enable/Disable OSPF flood reduction"; + } + } + + grouping MAX-LSA { + description + "Common node of default-vrf, vrf"; + container max-lsa { + presence "Indicates a max-lsa node is configured."; + description + "Set max-lsa configuration"; + leaf max-lsa-limit { + type uint32 { + range "1..4294967294"; + } + mandatory true; + description + "Set maximum number of non self-generated LSAs"; + } + leaf max-lsa-threshold { + type uint32 { + range "1..100"; + } + description + "Set max-lsa threshold for generating a warning + message"; + } + leaf max-lsa-warning-only { + type boolean; + description + "Only give warning message when limit is + exceeded"; + } + leaf max-lsa-ignore-time { + type uint32 { + range "1..35791394"; + } + description + "Set time during which all adjacencies are + suppressed"; + } + leaf max-lsa-ignore-count { + type uint32 { + range "1..4294967294"; + } + description + "Set count on how many times adjacencies can be + suppressed"; + } + leaf max-lsa-reset-time { + type uint32 { + range "2..71582788"; + } + units "minute"; + description + "Set number of minutes after which ignore-count + is reset to zero"; + } + } + } + + grouping OUTGOING-ROUTE-UPDATE-TABLE { + description + "Common node of default-vrf, vrf"; + container outgoing-route-updates { + description + "Filter outgoing routing updates"; + list outgoing-route-update { + key "protocol-name"; + description + "Filter outgoing routing updates for a + particular protocol"; + leaf protocol-name { + type Ospf-dist-list-protocol; + description + "Distribute list protocol type"; + } + leaf access-list-name { + type string; + description + "Access Control List name"; + } + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "First half of BGP AS number in XX.YY format. + Mandatory if Protocol is BGP and must not be + specified otherwise. Must be a non-zero value + if second half is zero."; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "Second half of BGP AS number in XX.YY format. + Mandatory if Protocol is BGP and must not be + specified otherwise. Must be a non-zero value + if first half is zero."; + } + leaf ospf-process-name { + type string; + description + "OSPF process name"; + } + } + } + } + + grouping LDP-SYNC { + description + "Common node of process-scope, area-scope, + name-scope"; + leaf ldp-sync { + type boolean; + description + "Enable/Disable MPLS LDP sync"; + } + } + + grouping IGNORE-MOSPF { + description + "Common node of default-vrf, vrf"; + leaf ignore-mospf { + type empty; + description + "Ignore MOSPF (Type 6) LSAs"; + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of name-scope, + multi-area-interface-scope"; + container neighbors { + description + "Neighbor router configuration information"; + list neighbor { + key "neighbor-address"; + description + "Router configuration information for a + particular neighbor"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf priority { + type uint32 { + range "0..255"; + } + default "0"; + description + "OSPF priority of non-broadcast neighbor"; + } + leaf poll-interval { + type uint32 { + range "0..65535"; + } + units "second"; + default "40"; + description + "OSPF dead router poll-interval in seconds"; + } + leaf cost { + type uint32 { + range "1..65535"; + } + default "1"; + description + "OSPF cost for point-to-multipoint neighbor"; + } + leaf database-filter { + type boolean; + default "false"; + description + "Database filter: Filter OSPF LSA during + synchronization and flooding for + point-to-multipoint"; + } + } + } + } + + grouping TYPE7 { + description + "Common node of default-vrf, vrf"; + leaf type7 { + type empty; + description + "Prefer type7 externals over type5"; + } + } + + grouping SPF-PREFIX-PRIORITY { + description + "Common node of default-vrf, vrf"; + leaf spf-prefix-priority { + type string; + description + "Configure a route-policy for prioritizing RIB + route install."; + } + } + + grouping SNMP-CONTEXT { + description + "Common node of default-vrf, vrf"; + leaf snmp-context { + type string; + description + "OSPF SNMP context configuration"; + } + } + + grouping ROUTER-ID { + description + "Common node of default-vrf, vrf"; + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Router ID for this OSPF process. Enter an IP + Address."; + } + } + + grouping ADJACENCY-STAGGER { + description + "Common node of default-vrf, vrfCommon node of + default-vrf, vrf"; + container adjacency-stagger { + description + "Staggering OSPF adjacency bring up"; + leaf disable { + type empty; + description + "Disable OSPF adjacency stagger"; + } + leaf initial-nbr { + type uint32 { + range "1..65535"; + } + default "2"; + description + "Adjacency Stagger: Initial number of neighbors + to bring up per area"; + } + leaf max-nbr { + type uint32 { + range "1..65535"; + } + default "64"; + description + "Adjacency Stagger: Subsequent simultaneous + number of neighbors to bring up"; + } + } + } + + grouping DEFAULT-METRIC { + description + "Common node of default-vrf, vrf"; + leaf default-metric { + type uint32 { + range "1..16777214"; + } + default "1"; + description + "Set default metric of redistributed routes"; + } + } + + grouping RETRANSMIT-INTERVAL { + description + "Common node of process-scope, area-scope, + name-scope, virtual-link-scope, sham-link-scope, + multi-area-interface-scope"; + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + default "5"; + description + "Time in seconds between retransmitting lost link + state advertisements"; + } + } + + grouping PRIORITY { + description + "Common node of per-link, per-prefix"; + leaf priority { + type Ospf-fast-reroute-priority; + description + "Fast-reroute per-link/per-prefix priority-limit + command"; + } + } + + grouping IPV4-OSPF-CFG-PRIORITY { + description + "Common node of per-link, per-prefixCommon node of + process-scope, area-scope, name-scope"; + leaf priority { + type uint32 { + range "0..255"; + } + default "1"; + description + "Router priority for DR and BDR election"; + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container ospf { + description + "OSPF-MIB notification configuration"; + container lsa { + description + "SNMP notifications related to LSAs"; + leaf max-age-lsa { + type empty; + description + "Enable ospfMaxAgeLsa notification"; + } + leaf originate-lsa { + type empty; + description + "Enable ospfOriginateLsa notification"; + } + } + container state-change { + description + "SNMP notifications for OSPF state change"; + leaf interface { + type empty; + description + "Enable ospfIfStateChange notification"; + } + leaf virtual-interface { + type empty; + description + "Enable ospfVirtIfStateChange notification"; + } + leaf virtual-neighbor { + type empty; + description + "Enable ospfVirtNbrStateChange notification"; + } + leaf neighbor { + type empty; + description + "Enable ospfNbrStateChange notification"; + } + } + container retransmit { + description + "SNMP notifications for packet retransmissions"; + leaf virtual-packet { + type empty; + description + "Enable ospfVirtIfTxRetransmit notification"; + } + leaf packet { + type empty; + description + "Enable ospfTxRetransmit notification"; + } + } + container error { + description + "SNMP notifications for OSPF errors"; + leaf config-error { + type empty; + description + "Enable ospfIfConfigError notification"; + } + leaf authentication-failure { + type empty; + description + "Enable ospfIfAuthFailure notification"; + } + leaf virtual-config-error { + type empty; + description + "Enable ospfVirtIfConfigError notification"; + } + leaf virtual-authentication-failure { + type empty; + description + "Enable ospfVirtIfAuthFailure notification"; + } + leaf bad-packet { + type empty; + description + "Enable ospfIfRxBadPacket notification"; + } + leaf virtual-bad-packet { + type empty; + description + "Enable ospfVirtIfRxBadPacket notification"; + } + } + } + } + container ospf { + description + "OSPF configuration data"; + container processes { + description + "Process related configuration"; + list process { + key "process-name"; + description + "Configuration for a particular OSPF process and + associated default VRF"; + container snmp { + description + "OSPF SNMP configuration"; + container trap-rate-limit { + presence "Indicates a trap-rate-limit node is configured."; + description + "Per OSPF process SNMP trap rate-limit"; + leaf window-size { + type uint32 { + range "2..60"; + } + mandatory true; + description + "Trap rate limit sliding window size"; + } + leaf max-window-traps { + type uint32 { + range "0..300"; + } + mandatory true; + description + "Max number of traps to send in window time"; + } + } + } + container distribute { + presence "enable distribute"; + description + "Enable distribution of link-state database + services"; + leaf throttle { + type uint32 { + range "1..3600"; + } + units "second"; + description + "Seconds"; + } + leaf instance-id { + type uint32 { + range "0..4294967295"; + } + description + "Instance ID"; + } + } + container vrfs { + description + "VRF related configuration"; + list vrf { + key "vrf-name"; + description + "Configuration for a particular OSPF vrf"; + container domain-id { + description + "OSPF Domain ID"; + container primary-domain-id { + description + "OSPF Primary domain ID"; + leaf domain-id-type { + type Ospf-domain-id; + description + "Primary domain ID type"; + } + leaf domain-id-name { + type string; + description + "Primary domain ID value"; + } + } + container secondary-domain-ids { + description + "Secondary domain ID Table"; + list secondary-domain-id { + key "domain-id-type domain-id-name"; + description + "OSPF Secondary domain ID"; + leaf domain-id-type { + type Ospf-domain-id; + description + "Secondary domain ID type"; + } + leaf domain-id-name { + type xr:Cisco-ios-xr-string; + description + "Secondary domain ID value"; + } + } + } + } + leaf vrf-start { + type empty; + description + "Start OSPF VRF configuration"; + } + leaf snmp-trap-enabled { + type boolean; + default "false"; + description + "Enable/disable OSPF SNMP trap"; + } + leaf domain-tag { + type uint32 { + range "1..4294967295"; + } + description + "32 bit Domain tag value"; + } + leaf vrf-lite { + type empty; + description + "VRF lite capability"; + } + leaf disable-dn-bit-check { + type empty; + description + "Disable DN bit check"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name for this vrf"; + } + uses MICROLOOP; + uses IGNORE-MOSPF; + uses MAXIMUM-REDISTRIBUTE-PREFIX; + uses DEFAULT-INFORMATION; + uses AF; + uses QUEUE; + uses ROUTER-ID; + uses TYPE7; + uses MAX-METRIC; + uses SNMP-CONTEXT; + uses MAXIMUM-INTERFACES; + uses NO-OPAQUE; + uses NSF; + uses PROCESS-SCOPE; + uses SPF-PREFIX-PRIORITY; + uses REDISTRIBUTION; + uses ADJACENCY-STAGGER; + uses MAX-LSA; + uses AUTO-COST; + uses UCMP; + uses MAXIMUM-PATHS; + uses FAST-REROUTE; + uses SUMMARY-PREFIX-TABLE; + uses ADJACENCY-CHANGES; + uses OUTGOING-ROUTE-UPDATE-TABLE; + uses DISTANCE; + uses AREA-TABLE; + uses TIMERS; + uses DEFAULT-METRIC; + } + } + container trace-bufs { + description + "Configuration to change size of trace buffer"; + list trace-buf { + key "trace-buf-name"; + description + "Changes the size of the specified trace + buffer"; + leaf trace-buf-name { + type xr:Cisco-ios-xr-string; + description + "Name for this trace buffer"; + } + leaf bufsize { + type Ospf-trace-buf-size; + mandatory true; + description + "Buffer size"; + } + } + } + container graceful-shutdown-timers { + description + "Adjust routing timers"; + leaf graceful-shutdown-retain-routes { + type uint32 { + range "0..90"; + } + units "second"; + default "5"; + description + "Time to keep OSPF routes active after + graceful shutdown(in seconds)"; + } + leaf graceful-shutdown-initial-delay { + type uint32 { + range "0..90"; + } + units "second"; + default "5"; + description + "Number of seconds to delay before beginning + graceful shutdown"; + } + } + container default-vrf { + description + "Default VRF related configuration"; + container monitor-convergence { + description + "Enable convergence monitoring"; + leaf enable { + type empty; + description + "Enable convergence monitoring"; + } + leaf prefix-list { + type string; + description + "Enable the monitoring of individual prefixes + (prefix list name)"; + } + leaf track-ip-frr { + type empty; + description + "Enable the Tracking of IP-Frr Convergence"; + } + leaf track-external-routes { + type empty; + description + "Enable the monitoring of External routes"; + } + leaf track-summary-routes { + type empty; + description + "Enable the monitoring of Summary routes"; + } + } + container segment-routing { + description + "Segment Routing instance scoped parameters"; + container sr-prefer { + description + "Prefer segment routing labels over LDP + labels"; + leaf enable { + type boolean; + description + "Enable SR labels to be preferred over LDP + labels"; + } + leaf prefix-list-name { + type string; + description + "Name of the Prefix List"; + } + } + leaf prefix-sid-map-receive-disable { + type empty; + description + "Disable prefix-SID mapping client"; + } + leaf prefix-sid-map-advertise-local { + type empty; + description + "Enable advertisement of local SRMS entries"; + } + leaf strict-spf-disable { + type empty; + description + "Strict-SPF support and SID advertisement"; + } + } + container mpls { + description + "Configure MPLS routing protocol parameters"; + container mpls-router-id { + description + "MPLS-TE stable loopback address for this + OSPF process.Enter either as IP Address or + Interface name, but not both. Unused field + must be nil"; + leaf address { + type inet:ipv4-address-no-zone; + description + "MPLS-TE stable IP address for this OSPF + process"; + } + leaf interface-name { + type xr:Interface-name; + description + "MPLS-TE stable loopback interface for this + OSPF process"; + } + } + leaf igp-intact { + type empty; + description + "Enable igp-intact mode in OSPF"; + } + leaf ldp-sync-update { + type empty; + description + "Enable LDP sync induced metric propagation"; + } + leaf multicast-intact { + type empty; + description + "Enable multicast-intact mode in OSPF"; + } + leaf autoroute-exclude { + type string; + description + "Exclude IP destinations from using TE + tunnels"; + } + } + uses MICROLOOP; + uses IGNORE-MOSPF; + uses MAXIMUM-REDISTRIBUTE-PREFIX; + uses DEFAULT-INFORMATION; + uses AF; + uses QUEUE; + uses ROUTER-ID; + uses TYPE7; + uses MAX-METRIC; + uses SNMP-CONTEXT; + uses MAXIMUM-INTERFACES; + uses NO-OPAQUE; + uses NSF; + uses PROCESS-SCOPE; + uses SPF-PREFIX-PRIORITY; + uses REDISTRIBUTION; + uses ADJACENCY-STAGGER; + uses MAX-LSA; + uses AUTO-COST; + uses UCMP; + uses MAXIMUM-PATHS; + uses FAST-REROUTE; + uses SUMMARY-PREFIX-TABLE; + uses ADJACENCY-CHANGES; + uses OUTGOING-ROUTE-UPDATE-TABLE; + uses DISTANCE; + uses AREA-TABLE; + uses TIMERS; + uses DEFAULT-METRIC; + } + leaf start { + type empty; + description + "Start OSPF configuration"; + } + leaf nsr { + type Nsr; + default "true"; + description + "Enable non-stop routing"; + } + leaf protocol-shutdown { + type Ospf-shutdown; + description + "Type of protocol shutdown"; + } + leaf process-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name for this OSPF process"; + } + uses RUNNING; + } + } + container global { + description + "OSPF global configuration data"; + leaf dns-name-lookup { + type empty; + description + "Display OSPF router ids as DNS names"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang new file mode 100644 index 0000000..ccb14b3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub1.yang @@ -0,0 +1,197 @@ +submodule Cisco-IOS-XR-ipv4-ospf-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-ospf-oper { + prefix Cisco-IOS-XR-ipv4-ospf-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ospf package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-02 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srms-mi-flag-e-b { + type enumeration { + enum "false" { + value 0; + description + "False"; + } + enum "true" { + value 1; + description + "True"; + } + } + description + "Srms mi flag e b"; + } + + typedef In6-addr-t-b { + type inet:ipv6-address; + description + "In6 addr t b"; + } + + typedef Srms-mi-af-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Srms mi af e b"; + } + + typedef Srms-mi-src-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "local" { + value 1; + description + "Local"; + } + enum "remote" { + value 2; + description + "Remote"; + } + } + description + "Srms mi src e b"; + } + + grouping ADDR { + description + "ADDR"; + leaf af { + type Srms-mi-af-e-b; + description + "AF"; + } + leaf ipv4 { + when "../af = 'ipv4'" { + description + "../AF = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4"; + } + leaf ipv6 { + when "../af = 'ipv6'" { + description + "../AF = 'IPv6'"; + } + type In6-addr-t-b; + description + "IPv6"; + } + } + + grouping SRMS-MI-T-B { + description + "SRMS show bag"; + container addr { + description + "addr"; + uses ADDR; + } + leaf src { + type Srms-mi-src-e-b; + description + "src"; + } + leaf router { + type string { + length "0..30"; + } + description + "Router ID"; + } + leaf area { + type string { + length "0..30"; + } + description + "Area (OSPF) or Level (ISIS)"; + } + leaf prefix { + type uint8; + description + "Prefix length"; + } + leaf sid-start { + type uint32; + description + "Starting SID"; + } + leaf sid-count { + type uint32; + description + "SID range"; + } + leaf last-prefix { + type string { + length "0..50"; + } + description + "Last IP Prefix"; + } + leaf last-sid-index { + type uint32; + description + "Last SID Index"; + } + leaf flag-attached { + type Srms-mi-flag-e-b; + description + "Attached flag"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang new file mode 100644 index 0000000..3c3498a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub2.yang @@ -0,0 +1,6379 @@ +submodule Cisco-IOS-XR-ipv4-ospf-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-ospf-oper { + prefix Cisco-IOS-XR-ipv4-ospf-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ospf package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-02 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospf-sh-opq-ri-pce-addr-types { + type enumeration { + enum "mgmt-ospf-opq-pce-addr-type-invalid" { + value 0; + description + "Invalid PCE Address"; + } + enum "mgmt-ospf-opq-pce-addr-type-ipv4" { + value 1; + description + "IPv4 PCE Address"; + } + enum "mgmt-ospf-opq-pce-addr-type-ipv6" { + value 2; + description + "IPv6 PCE Address"; + } + } + description + "OSPF PCE Address Type"; + } + + typedef Ospf-sh-opq-ri-tlv-types { + type enumeration { + enum "mgmt-ospf-opq-ri-tlv-type-unknown" { + description + "Unknown"; + } + enum "mgmt-ospf-opq-ri-tlv-type-rtrcap" { + description + "Router Capabilities"; + } + enum "mgmt-ospf-opq-ri-tlv-type-pce-discovery" { + description + "PCE Discovery"; + } + enum "mgmt-ospf-opq-ri-tlv-type-sr-algo" { + description + "Segment Routing Algorithm"; + } + enum "mgmt-ospf-opq-ri-tlv-type-sr-range" { + description + "Segment Routing SID Range"; + } + enum "mgmt-ospf-opq-ri-tlv-type-node-msd" { + description + "Node MSD (Max SID Depth)"; + } + } + description + "OSPF Router Information TLV types"; + } + + typedef Ospf-lsa-opq-ri-scope { + type enumeration { + enum "mgmt-lsa-opq-ri-scope-link" { + value 9; + description + "Link-local Router Information LSA"; + } + enum "mgmt-lsa-opq-ri-scope-area" { + value 10; + description + "Area-scope Router Information LSA"; + } + enum "mgmt-lsa-opq-ri-scope-as" { + value 11; + description + "AS-scope Router Information LSA"; + } + } + description + "OSPF Router Information LSA scope types"; + } + + typedef Ospf-gr-reason { + type enumeration { + enum "mgmt-gr-reason-unknown" { + description + "Unknown"; + } + enum "mgmt-gr-reason-sw-restart" { + description + "Software restart"; + } + enum "mgmt-gr-reason-sw-upgrade" { + description + "Software reload/upgrade"; + } + enum "mgmt-gr-reason-switchover" { + description + "Switch to redundant control processor"; + } + } + description + "Ospf gr reason"; + } + + typedef Stlv { + type enumeration { + enum "mgmt-rrr-link-type" { + value 1; + description + "Link Type"; + } + enum "mgmt-rrr-link-id" { + value 2; + description + "Link ID"; + } + enum "mgmt-rrr-link-local-if-addr" { + value 3; + description + "Local interface IP address"; + } + enum "mgmt-rrr-link-remote-if-addr" { + value 4; + description + "Remote interface IP address"; + } + enum "mgmt-rrr-link-metric" { + value 5; + description + "Traffic Engineering metric"; + } + enum "mgmt-rrr-link-max-bw" { + value 6; + description + "Maximum Link Bandwidth"; + } + enum "mgmt-rrr-link-max-reservable-bw" { + value 7; + description + "Maximum Reservable bandwidth"; + } + enum "mgmt-rrr-link-unreserved-bw" { + value 8; + description + "Unreserved Bandwidth"; + } + enum "mgmt-rrr-link-re-source-class" { + value 9; + description + "Administrative group"; + } + enum "mgmt-rrr-link-in-out-if-id" { + value 11; + description + "Link Local/Remote Identifiers"; + } + enum "mgmt-rrr-link-if-switching-cap-desc" { + value 15; + description + "Interface Switching Capability Descriptor"; + } + enum "mgmt-ospf-rrr-link-srlg" { + value 16; + description + "Shared Risk Link Group"; + } + enum "mgmt-rrr-link-bw-constraints-sub" { + value 17; + description + "Bandwidth constraints"; + } + enum "mgmt-ospf-rrr-link-uni-delay" { + value 27; + description + "Unidirectional link delay"; + } + enum "mgmt-ospf-rrr-link-max-reservable-bw-sub" { + value 32768; + description + "Maximum reservable sub-pool bandwidth"; + } + enum "mgmt-ospf-rrr-link-unreserved-bw-sub" { + value 32769; + description + "Unreserved sub-pool bandwidth"; + } + enum "mgmt-rrr-link-igp-metric" { + value 32770; + description + "IGP Link Metric"; + } + enum "mgmt-ospf-rrr-link-ext-admin-sub" { + value 32771; + description + "Extended admin"; + } + } + description + "OSPF Opaque-area Type 1 sub TLV types"; + } + + typedef Ex-metric { + type enumeration { + enum "mgmt-ex-metric-type-none" { + value 0; + description + "No metric type"; + } + enum "mgmt-ex-metric-type-1" { + value 1; + description + "Type 1 External"; + } + enum "mgmt-ex-metric-type-2" { + value 2; + description + "Type 2 External"; + } + } + description + "Ex metric"; + } + + typedef Ospf-link-types { + type enumeration { + enum "mgmt-rtr-link" { + value 1; + description + "Link to a Router"; + } + enum "mgmt-trans-link" { + value 2; + description + "Link to a transit network"; + } + enum "mgmt-stub-net" { + value 3; + description + "Link to Stub network"; + } + enum "mgmt-vitural-link" { + value 4; + description + "Link to Virtual Link"; + } + } + description + "Type of router LSA links"; + } + + typedef Ospf-internal-lsa-types { + type enumeration { + enum "mgmt-rtr-type" { + value 1; + description + "Router LSA"; + } + enum "mgmt-ntwk-type" { + value 2; + description + "Network LSA"; + } + enum "mgmt-sum-type" { + value 3; + description + "Summary and ASBR summary LSA"; + } + enum "mgmt-ext-type" { + value 4; + description + "Type 5 and NSSA external LSA"; + } + enum "mgmt-opq-type" { + value 5; + description + "Generic AS/Area Opaque LSA"; + } + enum "mgmt-opq-link-type" { + value 6; + description + "Generic Link Opaque LSA"; + } + enum "mgmt-opq-rrr-type" { + value 7; + description + "Opaque Area type 1 LSA"; + } + enum "mgmt-opq-gr-type" { + value 8; + description + "Opaque link type 1 LSA"; + } + enum "mgmt-opq-ri-type" { + value 9; + description + "Opaque Router Information LSA"; + } + enum "mgmt-opq-epl-type" { + value 10; + description + "Opaque Area type 128"; + } + enum "mgmt-opq-ell-type" { + value 11; + description + "Opaque Area type 8"; + } + } + description + "OSPF LSA format types"; + } + + typedef Timer { + type enumeration { + enum "mgmt-db-stop" { + description + "Timer stopped"; + } + enum "mgmt-db-refresh" { + description + "Refresh"; + } + enum "mgmt-db-checksum" { + description + "Checksum"; + } + enum "mgmt-db-max-age" { + description + "Maxage"; + } + } + description + "The LSA timer running can be refresh, checksum or + maxage"; + } + + typedef Timer-table { + type enumeration { + enum "mgmt-db-no-table" { + description + "Not in time table"; + } + enum "mgmt-db-sec-table" { + description + "In second table"; + } + enum "mgmt-db-buffer-table" { + description + "In buffer table"; + } + enum "mgmt-db-min-table" { + description + "In minute table"; + } + } + description + "The throttled LSA can be in second, buffer or + minute timer table"; + } + + typedef Ospf-srgb-status { + type enumeration { + enum "not-allocated" { + value 0; + description + "Not allocated"; + } + enum "pending" { + value 1; + description + "Allocation pending"; + } + enum "allocated" { + value 2; + description + "Allocated"; + } + } + description + "Ospf srgb status"; + } + + typedef Uloop-avoidance { + type enumeration { + enum "none" { + value 0; + description + "No uloop avoidance"; + } + enum "protected-prefixes" { + value 1; + description + "Apply Local uloop avoidance only for protected + prefixes"; + } + enum "all-prefixes" { + value 2; + description + "Apply Local uloop avoidance for all prefixes"; + } + enum "segment-routing-uloop" { + value 3; + description + "Apply segment routing uloop avoidance"; + } + } + description + "Uloop avoidance"; + } + + typedef Gs-state { + type enumeration { + enum "mgmt-gs-init" { + description + "Process in initialization "; + } + enum "mgmt-gs-normal" { + description + "Graceful Shutdown not running"; + } + enum "mgmt-gs-delay" { + description + "Delaying before Graceful Shutdown"; + } + enum "mgmt-gs-flush" { + description + "Flushing self originated LSAs"; + } + enum "mgmt-gs-hello" { + description + "Sending empty hellos"; + } + enum "mgmt-gs-quiet" { + description + "Shutdown mode."; + } + } + description + "Gs state"; + } + + typedef Max-metric-unset-reason { + type enumeration { + enum "mgmt-max-metric-unset-none" { + description + "none"; + } + enum "mgmt-max-metric-unset-bgp" { + description + "BGP converged"; + } + enum "mgmt-max-metric-unset-timer" { + description + "timer expired"; + } + enum "mgmt-max-metric-unset-cfg" { + description + "unconfigured"; + } + enum "mgmt-max-metric-unset-process-cleared" { + description + "process cleared"; + } + enum "mgmt-max-metric-unset-over-write" { + description + "set for other reason"; + } + } + description + "Max metric unset reason"; + } + + typedef Ospf-max-metric-abr-off-reasons { + type enumeration { + enum "ospf-max-metric-abr-off-reason-none" { + value 0; + description + "No reason"; + } + enum "ospf-max-metric-abr-off-reason-no-nbr" { + value 1; + description + "No neighbors seen yet"; + } + enum "ospf-max-metric-abr-off-reason-new-nbr" { + value 2; + description + "New neighbor seen recently"; + } + enum "ospf-max-metric-abr-off-reason-nbr-full" { + value 4; + description + "Adjacency FULL seen recently"; + } + enum "ospf-max-metric-abr-off-reason-flush-p-end" { + value 8; + description + "LSA flushes pending"; + } + } + description + "Ospf max metric abr off reasons"; + } + + typedef Max-metric-set-reason { + type enumeration { + enum "mgmt-max-metric-on-proc-migration" { + description + "proc migration"; + } + enum "mgmt-max-metric-on-proc-restart" { + description + "proc restart"; + } + enum "mgmt-max-metric-on-switchover" { + description + "switch over"; + } + enum "mgmt-max-metric-on-startup" { + description + "start up"; + } + enum "mgmt-max-metric-always" { + description + "always"; + } + enum "mgmt-max-metric-reason-none" { + description + "none"; + } + } + description + "Max metric set reason"; + } + + typedef Sr-uloop-event { + type enumeration { + enum "none" { + value 0; + description + "No SR uloop event"; + } + enum "link-down" { + value 1; + description + "SR Uloop Event Link Down"; + } + enum "link-up" { + value 2; + description + "SR Uloop Event Link Up"; + } + } + description + "Sr uloop event"; + } + + typedef Ospf-br { + type enumeration { + enum "mgmt-d-type-abr-asbr" { + description + "Both Area Border Router and AS Border Router"; + } + enum "mgmt-d-type-asbr" { + description + "AS Border Router"; + } + enum "mgmt-d-type-abr" { + description + "Area Border Router"; + } + } + description + "Ospf br"; + } + + typedef Ipfrr-tbrkr { + type enumeration { + enum "downstream" { + value 0; + description + "Downsteram"; + } + enum "line-card-disjoint" { + value 1; + description + "LC Disjoint"; + } + enum "backup-metric" { + value 2; + description + "Backup metric"; + } + enum "node-protect" { + value 3; + description + "Node protection"; + } + enum "primary-path" { + value 4; + description + "Primary path"; + } + enum "secondary-path" { + value 5; + description + "Secondary path"; + } + enum "srlg-disjoint" { + value 6; + description + "SRLG disjoint"; + } + enum "tunnel" { + value 7; + description + "Tunnel"; + } + enum "post-convergence" { + value 8; + description + "Post Convergence"; + } + } + description + "FRR Tiebreakers"; + } + + typedef Ipfrr { + type enumeration { + enum "none" { + value 0; + description + "Disabled"; + } + enum "per-link" { + value 1; + description + "Per link"; + } + enum "per-prefix" { + value 2; + description + "Per prefix"; + } + } + description + "FRR Types"; + } + + typedef Interface-state { + type enumeration { + enum "mgmt-ifs-unknown" { + description + "Interface state unknown"; + } + enum "mgmt-ifs-admin-down" { + description + "Interface is administratively down"; + } + enum "mgmt-ifs-down" { + description + "Interface is down"; + } + enum "mgmt-ifs-up" { + description + "Interface is up"; + } + enum "mgmt-ifs-shutdown" { + description + "Interface is administratively down"; + } + } + description + "Interface state"; + } + + typedef Authentication { + type enumeration { + enum "mgmt-ospf-auth-none" { + value 0; + description + "No Authentication"; + } + enum "mgmt-ospf-auth-ct" { + value 1; + description + "Clear Text"; + } + enum "mgmt-ospf-auth-md" { + value 2; + description + "MD5"; + } + enum "mgmt-ospf-auth-kc" { + value 3; + description + "Keychain"; + } + } + description + "Authentication"; + } + + typedef Ospf-interface-state { + type enumeration { + enum "mgmt-ospf-ifs-down" { + value 0; + description + "Down"; + } + enum "mgmt-ospf-ifs-loop-back" { + value 1; + description + "Loopback"; + } + enum "mgmt-ospf-ifs-waiting" { + value 2; + description + "Waiting"; + } + enum "mgmt-ospf-ifs-point-to-m-point" { + value 3; + description + "Point to multipoint"; + } + enum "mgmt-ospf-ifs-point-to-point" { + value 4; + description + "Point to point"; + } + enum "mgmt-ospf-ifs-dr" { + value 5; + description + "DesignatedRouter"; + } + enum "mgmt-ospf-ifs-backup" { + value 6; + description + "Backup Designated Router"; + } + enum "mgmt-ospf-ifs-other" { + value 7; + description + "Designated Router Other"; + } + } + description + "Ospf interface state"; + } + + typedef String1 { + type string; + description + "String1"; + } + + typedef Redist-protocol { + type enumeration { + enum "mgmt-rib-protocol-all" { + description + "Unknown"; + } + enum "mgmt-rib-protocol-connected" { + description + "Connected"; + } + enum "mgmt-rib-protocol-local" { + description + "Local"; + } + enum "mgmt-rib-protocol-static" { + description + "Static"; + } + enum "mgmt-rib-protocol-bgp" { + description + "BGP"; + } + enum "mgmt-rib-protocol-rip" { + description + "RIP"; + } + enum "mgmt-rib-protocol-isis" { + description + "ISIS"; + } + enum "mgmt-rib-protocol-ospf" { + description + "OSPF"; + } + enum "mgmt-rib-protocol-eigrp" { + description + "EIGRP"; + } + enum "mgmt-rib-protocol-dagr" { + description + "DAGR"; + } + enum "mgmt-rib-protocol-subscriber" { + description + "Subscriber"; + } + enum "mgmt-rib-protocol-application" { + description + "Application"; + } + enum "mgmt-rib-protocol-mobile" { + description + "Mobile"; + } + } + description + "Redist protocol"; + } + + typedef Ospf-route { + type enumeration { + enum "mgmt-r-type-none" { + value 0; + description + "No route type"; + } + enum "mgmt-r-type-other" { + value 1; + description + "Not set"; + } + enum "mgmt-r-type-intra" { + value 2; + description + "Intra-area route"; + } + enum "mgmt-r-type-inter" { + value 4; + description + "Inter-area route"; + } + enum "mgmt-r-type-extern1" { + value 8; + description + "Type 1 External route"; + } + enum "mgmt-r-type-extern2" { + value 16; + description + "Type 2 External route"; + } + enum "mgmt-r-type-isis-sum" { + value 32; + description + "IS-IS summary route"; + } + enum "mgmt-r-type-isis-l1" { + value 64; + description + "IS-IS level 1 route"; + } + enum "mgmt-r-type-isis-l2" { + value 128; + description + "IS-IS level 2 route"; + } + enum "mgmt-r-type-isis-l1-ia" { + value 256; + description + "IS-IS level 1 inter-area route"; + } + enum "mgmt-r-type-bgp-int" { + value 512; + description + "iBGP route"; + } + enum "mgmt-r-type-bgp-ext" { + value 1024; + description + "eBGP route"; + } + enum "mgmt-r-type-bgp-loc" { + value 2048; + description + "BGP local route"; + } + enum "mgmt-r-type-nssa1" { + value 4096; + description + "Type 1 NSSA route"; + } + enum "mgmt-r-type-nssa2" { + value 8192; + description + "Type 2 NSSA route"; + } + enum "mgmt-r-type-i-grp2-int" { + value 16384; + description + "EIGRP internal route"; + } + enum "mgmt-r-type-i-grp2-ext" { + value 32768; + description + "EIGRP external route"; + } + } + description + "Ospf route"; + } + + typedef Nsf-rtr { + type enumeration { + enum "mgmt-nsf-rtr-none" { + description + "None"; + } + enum "mgmt-nsf-rtr-requester" { + description + "Requester"; + } + enum "mgmt-nsf-rtr-receiver" { + description + "Receiver"; + } + } + description + "Nsf rtr"; + } + + typedef Interface { + type enumeration { + enum "mgmt-if-broadcast" { + value 1; + description + "Broadcast"; + } + enum "mgmt-if-nonbroadcast" { + value 2; + description + "Non broadcast multi access"; + } + enum "mgmt-if-point-to-point" { + value 3; + description + "Point to Point"; + } + enum "mgmt-if-point-to-m-point" { + value 4; + description + "Point to multipoint"; + } + enum "mgmt-if-p2mp-non-bcast" { + value 5; + description + "Non broadcast point to multipoint"; + } + enum "mgmt-if-virtual-link" { + value 6; + description + "Virtual link"; + } + enum "mgmt-if-sham-link" { + value 7; + description + "Sham link"; + } + enum "mgmt-if-loop-back" { + value 8; + description + "Loopback"; + } + } + description + "Interface"; + } + + typedef Dr-bdr-state { + type enumeration { + enum "mgmt-dbdr-none" { + description + "None"; + } + enum "mgmt-dbdr-dr" { + description + "Designated Router"; + } + enum "mgmt-dbdr-bdr" { + description + "Backup Designated Router"; + } + enum "mgmt-dbdr-dr-other" { + description + "Designated Router Other"; + } + } + description + "Dr bdr state"; + } + + typedef Neighbor-state { + type enumeration { + enum "mgmt-nbr-down" { + value 0; + description + "Down"; + } + enum "mgmt-nbr-attempt" { + value 1; + description + "Attempt"; + } + enum "mgmt-nbr-init" { + value 2; + description + "Init"; + } + enum "mgmt-nbr-2way" { + value 3; + description + "2 Way"; + } + enum "mgmt-nbr-ex-start" { + value 4; + description + "Exstart"; + } + enum "mgmt-nbr-ex-change" { + value 5; + description + "Exchange"; + } + enum "mgmt-nbr-load-ing" { + value 6; + description + "Loading"; + } + enum "mgmt-nbr-full" { + value 7; + description + "Full"; + } + enum "mgmt-nbr-sc-virtual" { + value 8; + description + "SCvirtual"; + } + } + description + "Neighbor state"; + } + + typedef Mpls-te-opt-tlv { + type enumeration { + enum "mpls-te-opt-tlv-type-none" { + value 0; + description + "None"; + } + enum "mpls-te-opt-tlv-type-srlg" { + value 1; + description + "SRLGs"; + } + enum "mpls-te-opt-tlv-type-bc" { + value 2; + description + "Bandwidth Constraints"; + } + enum "mpls-te-opt-tlv-type-ixcd" { + value 3; + description + "Intarface Switching Capability Descriptor"; + } + enum "mpls-te-opt-tlv-type-uni-delay" { + value 4; + description + "Unidirectional Link Delay"; + } + } + description + "Mpls te opt tlv"; + } + + typedef Igpte-lib-bw-model { + type enumeration { + enum "rdm" { + value 0; + description + "Russian Dolls Model"; + } + enum "mam" { + value 1; + description + "Maximum Allocation Model"; + } + enum "not-set" { + value 2; + description + "No model set"; + } + } + description + "Bandwidth model"; + } + + typedef Link-subnet { + type enumeration { + enum "mgmt-igp-subnet-type-none" { + value 0; + description + "None"; + } + enum "mgmt-igp-subnet-type-p2p" { + value 1; + description + "Point to Point"; + } + enum "mgmt-igp-subnet-type-broadcast" { + value 2; + description + "Broadcast"; + } + enum "mgmt-igp-subnet-type-nbma" { + value 3; + description + "Non Broadcast Multi Access"; + } + enum "mgmt-igp-subnet-type-p2mp" { + value 4; + description + "Point to multipoint"; + } + enum "mgmt-igp-subnet-type-loop-back" { + value 5; + description + "Loopback"; + } + enum "mgmt-igp-subnet-type-max" { + value 6; + description + "Unsupported"; + } + } + description + "Link subnet"; + } + + typedef Lsa { + type enumeration { + enum "mgmt-lsa-type-rtr" { + value 1; + description + "Router LSA"; + } + enum "mgmt-lsa-type-net" { + value 2; + description + "Network LSA"; + } + enum "mgmt-lsa-type-sum-net" { + value 3; + description + "Summary LSA"; + } + enum "mgmt-lsa-type-sum-asb" { + value 4; + description + "Summary-ASBR LSA"; + } + enum "mgmt-lsa-type-ext" { + value 5; + description + "AS external LSA"; + } + enum "mgmt-lsa-type-mospf" { + value 6; + description + "MOSPF LSA"; + } + enum "mgmt-lsa-type-7-ase" { + value 7; + description + "Type-7 External LSA"; + } + enum "mgmt-lsa-type-8-ignore" { + value 8; + description + "Invalid type"; + } + enum "mgmt-lsa-type-opq-link" { + value 9; + description + "Opaque link LSA"; + } + enum "mgmt-lsa-type-opq-area" { + value 10; + description + "Opaque Area LSA"; + } + enum "mgmt-lsa-type-opq-as" { + value 11; + description + "Opaque AS LSA"; + } + } + description + "Lsa"; + } + + grouping OSPF-SH-IPFRR-TOPO-ENTRY { + description + "OSPF_IPFRR Topology Entry"; + leaf node-id { + type inet:ipv4-address; + description + "IPFRR Topology Node ID"; + } + leaf distance { + type uint32; + description + "IPFRR Topology Distance"; + } + leaf distance-reverse { + type uint32; + description + "IPFRR Topology Reverse Distance"; + } + leaf type4 { + type boolean; + description + "IPFRR Topoogy Type-4 entry"; + } + leaf revision { + type uint32; + description + "IPFRR Topology Revision"; + } + leaf neighbor-sourced { + type boolean; + description + "IPFRR Topology Neighbor Sourced"; + } + leaf dr { + type boolean; + description + "IPFRR Topology DR entry"; + } + leaf poison { + type boolean; + description + "IPFRR Topology rSPT poison"; + } + } + + grouping OSPF-SH-IPFRR-TOPO { + description + "OSPF IPFRR Topology Information"; + leaf ipfrr-topo-area-id { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted decimal + format"; + } + leaf ipfrr-router-id { + type inet:ipv4-address; + description + "OSPF Router ID"; + } + leaf ipfrr-area-revision { + type uint32; + description + "IPFRR Topology Revision"; + } + list ipfrr-topo { + description + "IPFRR Topology entries"; + uses OSPF-SH-IPFRR-TOPO-ENTRY; + } + } + + grouping OSPF-SH-STATS-AGGT { + description + "OSPF SH STATS AGGT"; + leaf sa-num-nbrs { + type uint32; + description + "sa num nbrs"; + } + leaf sa-num-nbrs-up { + type uint32; + description + "sa num nbrs up"; + } + leaf sa-num-intf { + type uint32; + description + "sa num intf"; + } + leaf sa-num-intf-up { + type uint32; + description + "sa num intf up"; + } + leaf sa-num-vintf-up { + type uint32; + description + "sa num vintf up"; + } + leaf sa-num-slintf-up { + type uint32; + description + "sa num slintf up"; + } + leaf sa-num-areas { + type uint32; + description + "sa num areas"; + } + leaf sa-lsa-cnt-type-rtr { + type uint32; + description + "sa lsa cnt type rtr"; + } + leaf sa-lsa-cnt-type-net { + type uint32; + description + "sa lsa cnt type net"; + } + leaf sa-lsa-cnt-type-sum-net { + type uint32; + description + "sa lsa cnt type sum net"; + } + leaf sa-lsa-cnt-type-sum-asb { + type uint32; + description + "sa lsa cnt type sum asb"; + } + leaf sa-lsa-cnt-type-ase { + type uint32; + description + "sa lsa cnt type ase"; + } + leaf sa-lsa-cnt-type-mospf { + type uint32; + description + "sa lsa cnt type mospf"; + } + leaf sa-lsa-cnt-type-7ase { + type uint32; + description + "sa lsa cnt type 7ase"; + } + leaf sa-lsa-cnt-type-8-ignore { + type uint32; + description + "sa lsa cnt type 8 ignore"; + } + leaf sa-lsa-cnt-type-opq-link { + type uint32; + description + "sa lsa cnt type opq link"; + } + leaf sa-lsa-cnt-type-opq-area { + type uint32; + description + "sa lsa cnt type opq area"; + } + leaf sa-lsa-cnt-type-opq-as { + type uint32; + description + "sa lsa cnt type opq as"; + } + } + + grouping OSPF-SH-SUMMARY-ADDRESS { + description + "OSPF Summary Address"; + leaf summary-prefix { + type inet:ipv4-address; + description + "Summary prefix"; + } + leaf summary-mask { + type inet:ipv4-address; + description + "Summary Netmask"; + } + leaf summary-metric { + type uint32; + description + "Cost of Summary"; + } + leaf summary-metric-type { + type Ex-metric; + description + "Type of Metric"; + } + leaf summary-tag { + type uint32; + description + "Tag associated with this summary prefix"; + } + } + + grouping OSPF-SH-DB-AS-SUM { + description + "OSPF AS Scope LSA Database Summary counters"; + list as-lsa-counter { + description + "Summary counter for AS scope LSAs"; + uses OSPF-SH-DB-SUM-CNTR; + } + } + + grouping OSPF-SH-DB-SUM-CNTR { + description + "OSPF Summary counters for a type"; + leaf lsa-type { + type Lsa; + description + "Type of LSAs"; + } + leaf lsa-count { + type int32; + description + "Number of LSAs of this type"; + } + leaf lsa-delete-count { + type int32; + description + "Number of deleted LSAs of this type"; + } + leaf lsa-maxage-count { + type int32; + description + "Number of MaxAged LSAs of this type"; + } + leaf lsa-self-count { + type int32; + description + "Number of self-generated LSAs"; + } + } + + grouping OSPF-SH-DB-AREA-SUM { + description + "OSPF Area Scope Database Summary counters"; + leaf dbase-sum-area-id-string { + type string { + length "0..16"; + } + description + "Area id"; + } + list area-lsa-counter { + description + "Summary counters for Area scope LSAs"; + uses OSPF-SH-DB-SUM-CNTR; + } + } + + grouping OSPF-SH-DATABASE { + description + "OSPF Database Information"; + container lsa-header { + description + "LSA header information"; + uses OSPF-SH-DB-HEADER; + } + leaf external-tag { + type uint32; + description + "Route Tag"; + } + leaf link-count { + type uint16; + description + "Number of links"; + } + } + + grouping OSPF-SH-LSA-OPQ-ELL { + description + "OSPF Opaque-area type 8 ExtendedLink LSA + Information"; + list tlv { + description + "List of TLVs"; + uses OSPF-SH-OPQ-TLV; + } + } + + grouping OSPF-SH-LSA-OPQ-EPL { + description + "OSPF Opaque-area type 128 ExtendedPrefix LSA + Information"; + list tlv { + description + "List of TLVs"; + uses OSPF-SH-OPQ-TLV; + } + } + + grouping OSPF-SH-OPQ-RI-MSD-SUBTYPE { + description + "OSPF MSD Subtype"; + leaf msd-sub-type { + type uint8; + description + "MSD SubType"; + } + leaf msd-value { + type uint8; + description + "MSD Value"; + } + } + + grouping OSPF-SH-OPQ-RI-NODE-MSD-TLV { + description + "OSPF Node MSD TLV"; + container node-msd-sub-types { + description + "Node MSD Subtypes"; + uses OSPF-SH-OPQ-RI-MSD-SUBTYPE; + } + leaf node-msdtlv-length { + type uint16; + description + "Length of TLV"; + } + } + + grouping OSPF-SH-SR-SID-STLV { + description + "OSPF PCE-Discovery PCE Scope SubTLV"; + leaf sr-sid-length { + type uint16; + description + "Length of sub-TLV"; + } + leaf sr-sid-value { + type uint32; + description + "SID Value"; + } + } + + grouping OSPF-SH-OPQ-RI-SR-RANGE-TLV { + description + "OSPF SR Range TLV"; + container sidtlv { + description + "SID sub-TLV"; + uses OSPF-SH-SR-SID-STLV; + } + leaf sr-range-length { + type uint16; + description + "Length of TLV"; + } + leaf sr-range-size { + type uint32; + description + "SR Range Size"; + } + } + + grouping OSPF-SH-OPQ-RI-SR-ALGO-TLV { + description + "OSPF SR Algorithm TLV"; + list sr-algo-value { + description + "SR Algorithms"; + leaf entry { + type uint8; + } + } + } + + grouping OSPF-SH-OPQ-RI-PCED-SCOPE-STLV { + description + "OSPF PCE-Discovery PCE Scope SubTLV"; + leaf lbit { + type boolean; + description + "L Bit"; + } + leaf rbit { + type boolean; + description + "R Bit"; + } + leaf rd-bit { + type boolean; + description + "Rd Bit"; + } + leaf sbit { + type boolean; + description + "S Bit"; + } + leaf sd-bit { + type boolean; + description + "Sd Bit"; + } + leaf ybit { + type boolean; + description + "Y Bit"; + } + leaf pref-l { + type uint8; + description + "Pref L"; + } + leaf pref-r { + type uint8; + description + "Pref R"; + } + leaf pref-s { + type uint8; + description + "Pref S"; + } + leaf pref-y { + type uint8; + description + "Pref Y"; + } + leaf all-scope-info-bits { + type uint32; + description + "PCE Scope Information"; + } + } + + grouping OSPF-SH-OPQ-RI-PCE-IPV6-ADDR-STLV { + description + "PCE IPv6 Address SubTLV"; + leaf pceipv6-addr { + type inet:ipv6-address; + description + "PCE IPv6 Address"; + } + } + + grouping OSPF-SH-OPQ-RI-PCE-IPV4-ADDR-STLV { + description + "PCE IPv4 Address SubTLV"; + leaf pceipv4-addr { + type inet:ipv4-address; + description + "PCE IPv4 Address"; + } + } + + grouping OSPF-SH-OPQ-RI-PCE-ADDR-STLVS-UNION { + description + "OSPF PCE Address SubTLVs"; + container pce-addr-unknown-tlv { + when "../pce-addr-type = 'mgmt-ospf-opq-pce-addr-type-invalid'" { + description + "../PCEAddrType = + 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_INVALID'"; + } + description + "Unknown PCE Addr TLV"; + uses OSPF-SH-OPQ-RI-UNKNOWN-TLV; + } + container ipv4pce-addr { + when "../pce-addr-type = 'mgmt-ospf-opq-pce-addr-type-ipv4'" { + description + "../PCEAddrType = + 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_IPV4'"; + } + description + "IPv4 PCE Address"; + uses OSPF-SH-OPQ-RI-PCE-IPV4-ADDR-STLV; + } + container ipv6pce-addr { + when "../pce-addr-type = 'mgmt-ospf-opq-pce-addr-type-ipv6'" { + description + "../PCEAddrType = + 'MGMT_OSPF_OPQ_PCE_ADDR_TYPE_IPV6'"; + } + description + "IPv6 PCE Address"; + uses OSPF-SH-OPQ-RI-PCE-IPV6-ADDR-STLV; + } + leaf pce-addr-type { + type Ospf-sh-opq-ri-pce-addr-types; + description + "PCEAddrType"; + } + } + + grouping OSPF-SH-OPQ-RI-PCED-TLV { + description + "OSPF PCE Discovery TLV"; + container pced-addr { + description + "PCE Address"; + uses OSPF-SH-OPQ-RI-PCE-ADDR-STLVS-UNION; + } + container pced-scope { + description + "PCE Scope Information"; + uses OSPF-SH-OPQ-RI-PCED-SCOPE-STLV; + } + leaf pcedtlv-length { + type uint16; + description + "Length of TLV"; + } + } + + grouping OSPF-SH-OPQ-RI-RTRCAP-TLV { + description + "OSPF Router Capabilities TLV"; + leaf rtr-cap-tlv-length { + type uint16; + description + "Length of TLV"; + } + leaf rtr-cap-graceful-restart { + type boolean; + description + "Graceful Restart Capability"; + } + leaf rtr-cap-graceful-restart-helper { + type boolean; + description + "Graceful Restart Helper Capability"; + } + leaf rtr-cap-stub-rtr { + type boolean; + description + "Stub Router capability"; + } + leaf rtr-cap-area-te { + type boolean; + description + "Traffic Engineering capability of area"; + } + leaf rtr-cap-p2plan { + type boolean; + description + "P2P LAN Capability"; + } + leaf rtr-cap-te-exp { + type boolean; + description + "TE Experimental bit"; + } + leaf rtr-cap-all-bits { + type uint32; + description + "All capability bits"; + } + leaf rtr-cap-additional-info { + type yang:hex-string; + description + "Additional Information in TLV"; + } + } + + grouping OSPF-SH-OPQ-RI-UNKNOWN-TLV { + description + "OSPF Opaque Router Information TLV"; + leaf ri-gen-tlv-type { + type uint16; + description + "Type of TLV"; + } + leaf ri-gen-tlv-length { + type uint16; + description + "Length of TLV"; + } + leaf ri-genvalue { + type yang:hex-string; + description + "Data in TLV"; + } + } + + grouping OSPF-SH-OPQ-RI-TLVS-UNION { + description + "OSPF Router Information TLVs"; + container unknown-tlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-unknown'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_UNKNOWN'"; + } + description + "Unknown Rtr Info TLV"; + uses OSPF-SH-OPQ-RI-UNKNOWN-TLV; + } + container rtr-cap-tlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-rtrcap'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_RTRCAP'"; + } + description + "Rtr Cap TLV"; + uses OSPF-SH-OPQ-RI-RTRCAP-TLV; + } + container pcedtlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-pce-discovery'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_PCEDISCOVERY'"; + } + description + "PCE Discovery TLV"; + uses OSPF-SH-OPQ-RI-PCED-TLV; + } + container sr-algo-tlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-sr-algo'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_SR_ALGO'"; + } + description + "SR Algorithm TLV"; + uses OSPF-SH-OPQ-RI-SR-ALGO-TLV; + } + container sr-range-tlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-sr-range'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_SR_RANGE'"; + } + description + "SR Range TLV"; + uses OSPF-SH-OPQ-RI-SR-RANGE-TLV; + } + container node-msdtlv { + when "../ritlv-internal-type = 'mgmt-ospf-opq-ri-tlv-type-node-msd'" { + description + "../RITLVInternalType = + 'MGMT_OSPF_OPQ_RI_TLV_TYPE_NODE_MSD'"; + } + description + "Node MSD TLV"; + uses OSPF-SH-OPQ-RI-NODE-MSD-TLV; + } + leaf ritlv-internal-type { + type Ospf-sh-opq-ri-tlv-types; + description + "RITLVInternalType"; + } + } + + grouping OSPF-SH-LSA-OPQ-RI { + description + "OSPF Router Information LSA"; + leaf opaque-rilsa-scope { + type Ospf-lsa-opq-ri-scope; + description + "Opaque LSA flooding scope, a.k.a., Opaque LSA + Type"; + } + leaf opaque-ri-interface-name { + type xr:Interface-name; + description + "Interface on which this Link-Local Opaque link + LSA is received"; + } + list opaque-ritlv { + description + "Router Information TLV"; + uses OSPF-SH-OPQ-RI-TLVS-UNION; + } + } + + grouping OSPF-SH-LSA-OPQ-GRACE { + description + "OSPF Opaque-link type 3 grace LSA Information"; + leaf grace-period { + type uint32; + description + "The amount of time the router's neighbor should + advertise it fully adjacent (s)"; + } + leaf grace-reason { + type Ospf-gr-reason; + description + "Reason for router restart"; + } + leaf ip-address { + type inet:ipv4-address; + description + "IP interface address on the subnet associated + with the grace LSA"; + } + } + + grouping OSPF-SH-OPQ-SUBTLV { + description + "OSPF Opaque LSA Sub-TLV Information"; + leaf sub-tlv-type { + type Stlv; + description + "Type of sub TLV"; + } + leaf sub-tlv-length { + type uint16; + description + "Length of sub TLV"; + } + leaf sub-tlv-value { + type yang:hex-string; + description + "Value of sub TLV"; + } + } + + grouping OSPF-SH-OPQ-TLV { + description + "OSPF Opaque LSA TLV Information"; + leaf tlv-type { + type uint16; + description + "Type of top-level TLV"; + } + leaf tlv-length { + type uint16; + description + "Length of top-level TLV"; + } + leaf mpls-router-id { + type uint32; + description + "MPLS-TE Router ID"; + } + leaf mpls-dste-link { + type boolean; + description + "MPLS DS-TE supported"; + } + leaf tlv-data { + type yang:hex-string; + description + "TLV direct data"; + } + list te-link-sub-tlv { + description + "List of Sub-TLVs"; + uses OSPF-SH-OPQ-SUBTLV; + } + } + + grouping OSPF-SH-LSA-OPQ-RRR { + description + "OSPF Opaque-area type 1 MPLS-TE LSA Information"; + list tlv { + description + "List of TLVs"; + uses OSPF-SH-OPQ-TLV; + } + } + + grouping OSPF-SH-LSA-OPQ-LINK { + description + "OSPF Opaque-link LSA Information"; + leaf opaque-interface-name { + type xr:Interface-name; + description + "Interface on which the Opaque link LSA is + received"; + } + } + + grouping OSPF-SH-LSA-EX-TOS { + description + "OSPF External Type of service specific + Information"; + leaf external-metric { + type uint32; + description + "Cost of this route"; + } + leaf external-metric-type { + type Ex-metric; + description + "External LSA metric type"; + } + leaf external-tos { + type uint32; + description + "Type of Service"; + } + leaf forwarding-address { + type inet:ipv4-address; + description + "Forwarding Address"; + } + leaf external-tag { + type uint32; + description + "Route Tag"; + } + } + + grouping OSPF-SH-LSA-EXTERNAL { + description + "OSPF External LSA"; + leaf external-prefix-length { + type uint32; + description + "Prefix length"; + } + leaf internal-external-lsa { + type boolean; + description + "If true, internal max-metric LSA"; + } + list external-tos-metric { + description + "Type of service information"; + uses OSPF-SH-LSA-EX-TOS; + } + } + + grouping OSPF-SH-LSA-SUMMARY { + description + "OSPF Summary LSA"; + leaf summary-prefix-length { + type uint32; + description + "Summary LSA prefix length"; + } + leaf internal-sum-lsa { + type boolean; + description + "If true, internal max-metric LSA"; + } + list summary-lsa-metric { + description + "Metric"; + leaf entry { + type uint32; + } + } + } + + grouping OSPF-SH-LSA-NETWORK { + description + "OSPF Network LSA"; + leaf network-prefix-length { + type uint32; + description + "Network prefix length"; + } + list neighbor-router { + description + "Neighbor router list"; + leaf entry { + type inet:ipv4-address; + } + } + } + + grouping OSPF-SH-TOS-METRIC { + description + "OSPF Router LSA TOS Metric"; + leaf router-tos { + type uint16; + description + "Type of Service"; + } + leaf tos-cost { + type uint16; + description + "Type of service specific metric"; + } + } + + grouping OSPF-SH-LINK { + description + "OSPF Router LSA Links"; + leaf link-id { + type inet:ipv4-address; + description + "Link ID"; + } + leaf link-data { + type inet:ipv4-address; + description + "Link Data"; + } + leaf link-type { + type Ospf-link-types; + description + "Type of link"; + } + leaf link-metric { + type uint16; + description + "Cost for using this link"; + } + list link-tos { + description + "List of type of service metrics"; + uses OSPF-SH-TOS-METRIC; + } + } + + grouping OSPF-SH-LSA-ROUTER { + description + "OSPF Router LSA"; + leaf router-asbr { + type boolean; + description + "If True, router is an Autonomous system Border + Router"; + } + leaf router-abr { + type boolean; + description + "If True, router is an Area Border Router"; + } + leaf internal-lsa { + type boolean; + description + "If true, internal LSA"; + } + list link { + description + "List of links in this LSA"; + uses OSPF-SH-LINK; + } + list internal-link { + description + "List of links for internal LSA"; + uses OSPF-SH-LINK; + } + } + + grouping OSPF-LSA-INTERNAL-UNION { + description + "LSA internal information for an LSA"; + container router-lsa-type { + when "../internal-lsa-type = 'mgmt-rtr-type'" { + description + "../InternalLSAType = 'MGMT_RTR_TYPE'"; + } + description + "Router LSA"; + uses OSPF-SH-LSA-ROUTER; + } + container network-lsa-type { + when "../internal-lsa-type = 'mgmt-ntwk-type'" { + description + "../InternalLSAType = 'MGMT_NTWK_TYPE'"; + } + description + "Network LSA"; + uses OSPF-SH-LSA-NETWORK; + } + container summary-lsa-type { + when "../internal-lsa-type = 'mgmt-sum-type'" { + description + "../InternalLSAType = 'MGMT_SUM_TYPE'"; + } + description + "Summary LSA"; + uses OSPF-SH-LSA-SUMMARY; + } + container external-lsa-type { + when "../internal-lsa-type = 'mgmt-ext-type'" { + description + "../InternalLSAType = 'MGMT_EXT_TYPE'"; + } + description + "External LSA"; + uses OSPF-SH-LSA-EXTERNAL; + } + container opaque-link-lsa-type { + when "../internal-lsa-type = 'mgmt-opq-link-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_LINK_TYPE'"; + } + description + "Opaque-Link LSA"; + uses OSPF-SH-LSA-OPQ-LINK; + } + container opaque-mpls-te-lsa-type { + when "../internal-lsa-type = 'mgmt-opq-rrr-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_RRR_TYPE'"; + } + description + "Opaque-Area, opaque type 1 LSA"; + uses OSPF-SH-LSA-OPQ-RRR; + } + container opaque-grace-lsa { + when "../internal-lsa-type = 'mgmt-opq-gr-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_GR_TYPE'"; + } + description + "Opaque-link, opaque type 3 Grace LSA"; + uses OSPF-SH-LSA-OPQ-GRACE; + } + container opaque-router-info-lsa-type { + when "../internal-lsa-type = 'mgmt-opq-ri-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_RI_TYPE'"; + } + description + "Opaque Router Information LSA"; + uses OSPF-SH-LSA-OPQ-RI; + } + container opaque-ep-lsa-type { + when "../internal-lsa-type = 'mgmt-opq-epl-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_EPL_TYPE'"; + } + description + "Extende Prefix LSA type"; + uses OSPF-SH-LSA-OPQ-EPL; + } + container opaque-el-lsa-type { + when "../internal-lsa-type = 'mgmt-opq-ell-type'" { + description + "../InternalLSAType = 'MGMT_OPQ_ELL_TYPE'"; + } + description + "Extended Link LSA type"; + uses OSPF-SH-LSA-OPQ-ELL; + } + leaf internal-lsa-type { + type Ospf-internal-lsa-types; + description + "InternalLSAType"; + } + } + + grouping OSPF-SH-DB-NOT-DELETE { + description + "Reason why LSA is not deleted"; + leaf free-time { + type uint32; + description + "The amount of time since the last check was made + to free this LSA (s)"; + } + leaf no-delete { + type boolean; + description + "If true, the reason not to delete this LSA is + because delete flag not set on this LSA"; + } + leaf neighbor-exchange { + type boolean; + description + "If true, the reason not to delete this LSA is + because neighbor is in exchange state"; + } + leaf routing-table { + type boolean; + description + "If true, the reason not to delete this LSA is + because it has a contributing entry in the + routing table"; + } + leaf acknowledgement { + type boolean; + description + "If true, the reason not to delete this LSA is + because it's Acknowledgement list is not empty"; + } + leaf maximum-age { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is in Maxage Queue"; + } + leaf partial-spf { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is in partial SPF queue"; + } + leaf flood-pending { + type boolean; + description + "If true, the reason not to delete this LSA is + because waiting for flooding or retransmission"; + } + leaf rate-limit { + type boolean; + description + "If true, the reason not to delete this LSA is + because waiting for next wait-interval to expire"; + } + leaf nsr-ack-pending { + type boolean; + description + "If true, the reason not to delete this LSA is + because NSR ACK from standby is pending"; + } + leaf sum-orig-pending { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is pending summary LSA originating"; + } + leaf nsr-flood-required { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is pending flooding on switchover"; + } + } + + grouping OSPF-SH-DB-THROTTLE-TIMER { + description + "OSPF LSA throttle timer table information"; + leaf timer-location { + type Timer-table; + description + "Timer table"; + } + leaf timer-type { + type Timer; + description + "Timer type"; + } + leaf second-table-index { + type uint8; + description + "Second table index"; + } + leaf minute-table-index { + type uint8; + description + "Minute table index"; + } + leaf last-inst-second-table-index { + type uint8; + description + "Last Second table index processed"; + } + leaf last-inst-minute-table-index { + type uint8; + description + "Last Minute table index processed"; + } + } + + grouping OSPF-SH-DB-DETAIL { + description + "OSPF Detailed LSA Database Information"; + container lsa-throttle-timer { + description + "LSA throttle timer table information"; + uses OSPF-SH-DB-THROTTLE-TIMER; + } + container lsa-last-updated-time { + description + "Time LSA was last updated"; + uses OSPF-SH-TIME; + } + container lsadb-base-time-stamp { + description + "Current time stamp"; + uses OSPF-SH-TIME; + } + container not-delete { + description + "Reason why LSA is not deleted"; + uses OSPF-SH-DB-NOT-DELETE; + } + leaf tos-capable { + type boolean; + description + "If true, type of service capable indicated by + LSA's option field"; + } + leaf nssa-translation { + type boolean; + description + "If true, capable of type 7 to 5 translation + indicated by LSA's option field"; + } + leaf demand-circuit { + type boolean; + description + "If true, capable of demand circuit as indicated + by LSA's option field"; + } + leaf dn-bit { + type boolean; + description + "if true, DN bit set on the summary LSA indicated + by LSA's option field"; + } + leaf lsa-rate-limit-due-time { + type uint32; + description + "Due time for rate-limit timer (ms)"; + } + leaf lsadb-base-clock { + type uint64; + description + "Clock stamp since boot"; + } + leaf routing-bit { + type boolean; + description + "If true, Routing Bit set on the LSA"; + } + leaf advertising-router-reachable { + type boolean; + description + "If true, Advertising Router is reachable"; + } + leaf length { + type uint16; + description + "Length of the LSA"; + } + leaf sum-origin { + type uint16; + description + "Summary Origin"; + } + leaf ase-origin { + type uint16; + description + "External Origin"; + } + leaf in-sync { + type uint8; + description + "Not In Sync With Active"; + } + leaf lsa-prefix-priority { + type uint8; + description + "Current LSA prefix priority"; + } + leaf new-lsa-prefix-priority { + type uint8; + description + "New LSA prefix priority"; + } + leaf lsa-flood-required-post-fail-over { + type boolean; + description + "LSA flood required after FO"; + } + } + + grouping OSPF-SH-DB-HEADER { + description + "OSPF LSA Database Header"; + leaf ls-type { + type Lsa; + description + "LSA type"; + } + leaf lsid { + type inet:ipv4-address; + description + "LS ID"; + } + leaf advertising-router { + type inet:ipv4-address; + description + "Router ID of Advertising Router"; + } + leaf lsa-area-id { + type string { + length "0..16"; + } + description + "Area ID in decimal or dotted-decimal format"; + } + leaf lsa-age { + type uint16; + description + "LSA's Age (s)"; + } + leaf dn-age-lsa { + type boolean; + description + "If true, Do Not Age this LSA"; + } + leaf nsf { + type boolean; + description + "If true, LSA received from neighbor during NSF"; + } + leaf sequence-number { + type uint32; + description + "Current Sequence number"; + } + leaf checksum { + type uint16; + description + "Checksum value"; + } + } + + grouping OSPF-SH-DATABASE-DETAIL { + description + "OSPF Database Information"; + container lsa-header { + description + "Header information"; + uses OSPF-SH-DB-HEADER; + } + container lsa-detail-data { + description + "Detailed LSA Information"; + uses OSPF-SH-DB-DETAIL; + } + container lsa-internal-data { + description + "Information pertaining to a specific LSA type"; + uses OSPF-LSA-INTERNAL-UNION; + } + } + + grouping OSPF-SH-SLINK-NEIGHBOR { + description + "Sham Link Neighbor Information"; + container sham-link-retransmissoin { + description + "Neighbor retransmission info"; + uses OSPF-SH-NEIGHBOR-RETRANS; + } + leaf sham-link-suppress-hello { + type boolean; + description + "If true Hellos suppressed"; + } + leaf sham-link-state { + type Neighbor-state; + description + "Adjacency state"; + } + } + + grouping OSPF-SH-SHAM-LINKS { + description + "OSPF Sham Link"; + container sham-link-neighbor { + description + "Neighbor information"; + uses OSPF-SH-SLINK-NEIGHBOR; + } + leaf sham-link-name-xr { + type string; + description + "Sham link name"; + } + leaf sham-link-neighbor-id { + type inet:ipv4-address; + description + "Neighbor on other end of this sham link"; + } + leaf sham-link-source-address { + type inet:ipv4-address; + description + "Sham-link source"; + } + leaf sham-link-dest-address { + type inet:ipv4-address; + description + "Sham-link dest"; + } + leaf sham-link-state { + type Ospf-interface-state; + description + "OSPF interface state for the sham link"; + } + leaf sham-link-demand-circuit { + type boolean; + description + "If true, the link runs as demand circuit"; + } + leaf sham-link-dc-bitless-lsa { + type uint32; + description + "Number of LSA's with demand circuit bit not set"; + } + leaf sham-link-ifindex { + type uint32; + description + "Sham-link ifindex"; + } + leaf sham-link-area { + type string; + description + "Area id"; + } + leaf sham-link-cost { + type uint16; + description + "Cost of the sham link"; + } + leaf sham-link-transmission-delay { + type uint16; + units "second"; + description + "Transmission delay in seconds"; + } + leaf sham-link-hello-interval { + type uint32; + description + "Hello interval (s)"; + } + leaf sham-link-hello-interval-ms { + type uint32; + description + "Hello interval (ms)"; + } + leaf sham-link-dead-interval { + type uint32; + description + "Dead interval (s)"; + } + leaf sham-link-wait-interval { + type uint32; + description + "Wait interval (s)"; + } + leaf sham-link-retransmission-interval { + type uint32; + description + "Retransmission interval (s)"; + } + leaf sham-link-next-hello { + type uint32; + description + "Time until next hello (s)"; + } + leaf sham-link-next-hello-ms { + type uint32; + description + "Time until next hello (ms)"; + } + leaf sham-link-passive { + type boolean; + description + "If true, interface is passive"; + } + leaf sham-link-authentication-type { + type Authentication; + description + "Authentication type"; + } + leaf sham-link-youngest-md-key { + type boolean; + description + "If true, MD key configured"; + } + leaf sham-link-youngest-md-key-id { + type uint16; + description + "Youngest MD key ID"; + } + leaf sham-link-old-md-key-count { + type uint32; + description + "Number of neighbors still using the old key + (rollover in progress)"; + } + leaf sham-link-keychain-id { + type uint64; + description + "Sham Link Keychain ID"; + } + leaf sham-link-nsf-enabled { + type boolean; + description + "If true, NSF enabled"; + } + leaf sham-link-nsf { + type boolean; + description + "If true, NSF restart in progress on the sham + link"; + } + leaf sham-link-last-nsf { + type uint32; + units "second"; + description + "Time in seconds since last NSF"; + } + list sham-link-md-key { + description + "List of old MD keys (if any)"; + leaf entry { + type uint16; + } + } + } + + grouping OSPF-SH-DOMAIN-ID-ENTRY { + description + "OSPF Domain ID"; + leaf domain-id-type { + type uint16; + description + "Domain ID Type"; + } + leaf domain-id-value { + type yang:hex-string; + description + "Domain ID value"; + } + } + + grouping OSPF-SH-DOMAIN-ID { + description + "OSPF Domain ID entries"; + container primary-domain-id { + description + "Primary Domain ID"; + uses OSPF-SH-DOMAIN-ID-ENTRY; + } + list secondary-domain-id { + description + "List of secondary domain IDs"; + uses OSPF-SH-DOMAIN-ID-ENTRY; + } + } + + grouping OSPF-SH-MAX-METRIC { + description + "OSPF Max-metric Information"; + container maximum-metric-time-unset { + description + "Time max-metric condition was cleared"; + uses OSPF-SH-TIME; + } + leaf max-metric-reason { + type uint8; + description + "Max-metric reason"; + } + leaf max-metric-enabled { + type boolean; + description + "Max-metric enabled"; + } + leaf unset-maximum-metric { + type boolean; + description + "If true, BGP is up, no maximum metric Router LSA"; + } + leaf saved-unset-maximum-metric { + type boolean; + description + "Saved UnsetMaximumMetric"; + } + leaf maximum-metric-start-time { + type uint32; + description + "Time remaining until we will start using normal + metrics (s)"; + } + leaf saved-startup-time { + type uint32; + description + "Hold time configured (s)"; + } + leaf maximum-metric-include-stubs { + type boolean; + description + "If true, set max-metric in stub links"; + } + leaf maximum-metric-summary-lsa { + type boolean; + description + "If true, advertise max-metric in summary-LSAs"; + } + leaf maximum-metric-summary-lsa-metric { + type uint32; + description + "Max-metric value to advertise in summary-LSAs"; + } + leaf maximum-metric-external-lsa { + type boolean; + description + "If true, advertise max-metric in external-LSAs"; + } + leaf maximum-metric-external-lsa-metric { + type uint32; + description + "Max-metric value to advertise in external-LSAs"; + } + leaf maximum-metric-originated-for { + type uint32; + description + "Time max-metric was used for"; + } + leaf maximum-metric-unset-reason { + type Max-metric-unset-reason; + description + "Max-metric unset reason"; + } + } + + grouping OSPF-SH-SUMMARY { + description + "OSPF Summary"; + container domain-id { + description + "Domain ID information"; + uses OSPF-SH-DOMAIN-ID; + } + leaf role-standby { + type boolean; + description + "If true, Role is Standby, Active otherwise"; + } + leaf role { + type uint32; + description + "Role, V1/V2 Active/Standby"; + } + leaf nsr-enabled { + type boolean; + description + "If true, NSR is enabled"; + } + leaf nsr-switchover-on-restart { + type boolean; + description + "Trigger RP Switchover on detectable process + restart"; + } + leaf igp-intact-on { + type boolean; + description + "If true, running in IGP-Intact mode"; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf tos-options { + type uint8; + description + "Type of Service supported"; + } + leaf opaque-capable { + type boolean; + description + "Opaque LSA capable"; + } + leaf area-border-router { + type boolean; + description + "If true, is an Area Border Router"; + } + leaf as-border-router { + type boolean; + description + "If true, is an AS Border Router"; + } + leaf vrf-lite-enabled { + type boolean; + description + "If true, vrf lite is enabled"; + } + leaf maximum-metric-start { + type boolean; + description + "If true, originate Router LSA with maximum + metric"; + } + leaf maximum-metric-start-timer { + type uint32; + description + "Time remaining for hold down timer (s)"; + } + leaf maximum-metric-set-reason { + type Max-metric-set-reason; + description + "Max-metric set reason"; + } + leaf maximum-metric-abr-off-mode { + type boolean; + description + "If true, ABR duties temporarily disabled"; + } + leaf maximum-metric-abr-off-reasons { + type Ospf-max-metric-abr-off-reasons; + description + "Reasons for ABR duties being temporarily + disabled"; + } + leaf maximum-metric-abr-off-buffer-time { + type uint32; + units "second"; + description + "Buffer time in seconds since last neighbor + activity, to remain in max-metric ABR off state"; + } + leaf spf-start-time { + type uint16; + description + "Scheduling delay for SPF (ms) This is valid if + configured below 64k Deprecated by + SPFStartTimeU32]"; + } + leaf spf-hold-time { + type uint16; + description + "Minimum delay time between SPF runs (ms) This is + valid if configured below 64k Deprecated by + SPFHoldTimeU32]"; + } + leaf spf-maximum-time { + type uint16; + description + "Maximum delay time between SPF runs (ms) This is + valid if configured below 64k Deprecated by + SPFMaximumTimeU32]"; + } + leaf spf-start-time-u32 { + type uint32; + description + "Scheduling delay for SPF (ms)"; + } + leaf spf-hold-time-u32 { + type uint32; + description + "Minimum delay time between SPF runs (ms)"; + } + leaf spf-maximum-time-u32 { + type uint32; + description + "Maximum delay time between SPF runs (ms)"; + } + leaf spf-prefix-priority { + type boolean; + description + "If true, prefix-priority policy is configured"; + } + leaf spf-prefix-priority-route-policy { + type string; + description + "SPF Prefix-priority route policy"; + } + leaf lsa-start-time { + type int32; + description + "Inital LSA throttle delay (ms)"; + } + leaf lsa-hold-time { + type uint32; + description + "Second delay before generating next LSA (ms)"; + } + leaf lsa-maximum-time { + type uint32; + description + "Maximum delay before generating an LSA (ms)"; + } + leaf minimum-lsa-interval { + type uint16; + description + "Minimum time between LSA regeneration (ms) Rel 4 + .0.1, deprecated by MinimumLSAIntervalU32]"; + } + leaf minimum-lsa-interval-u32 { + type uint32; + description + "Minimum time between LSA regeneration (ms)"; + } + leaf lsa-refresh-interval { + type uint32; + description + "LSA refresh interval (sec)"; + } + leaf minimum-lsa-arrival-interval { + type uint16; + description + "Minimum time between accepting LSAs (ms) Rel 4.0 + .1, deprecated by MinimumLSAArrivalIntervalU32]"; + } + leaf minimum-lsa-arrival-interval-u32 { + type uint32; + description + "Minimum time between accepting LSAs (ms)"; + } + leaf if-flood-pacing-interval { + type uint16; + description + "Flood pacing timer (ms)"; + } + leaf if-retrans-pacing-interval { + type uint16; + description + "Retransmission pacing timer (ms)"; + } + leaf adj-stag-init-num-nbr { + type uint16; + description + "Num of nbrs brought up initially per area"; + } + leaf adj-stag-max-num-nbr { + type uint16; + description + "Max num of nbrs brought up simultaneously per + OSPF instance"; + } + leaf adj-stagger-enabled { + type boolean; + description + "If true, OSPF Adjacency Staggering is configured"; + } + leaf adj-stag-num-nbr-forming { + type uint16; + description + "Num of nbrs currently forming for OSPF instance"; + } + leaf number-nbrs-full { + type uint16; + description + "Num of full nbrs"; + } + leaf as-lsa-count { + type uint32; + description + "Number of AS scope LSAs"; + } + leaf as-lsa-checksum { + type uint32; + description + "Sum of AS scope LSA checksum"; + } + leaf opaque-lsa-count { + type uint32; + description + "Number of Opaque LSAs"; + } + leaf opaque-lsa-checksum { + type uint32; + description + "Sum of opaque LSA checksum"; + } + leaf as-dc-bitless-lsa-count { + type uint32; + description + "Number of External and AS Opaque LSAs with + demand circut bit not set"; + } + leaf as-dna-lsa-count { + type uint32; + description + "Number of External and AS Opaque LSAs with + DoNotAge set "; + } + leaf area-count { + type uint16; + description + "Number of areas"; + } + leaf normal-area-count { + type uint16; + description + "Number of normal Areas"; + } + leaf stub-area-count { + type uint16; + description + "Number of Stub and Total Stub Areas"; + } + leaf nssa-area-count { + type uint16; + description + "Number of NSSA Areas"; + } + leaf maximum-interfaces { + type uint32; + description + "Maximum number of interfaces"; + } + leaf as-lsa-flood-list-length { + type uint32; + description + "Length of AS LSAs flood list"; + } + leaf nsf-enabled { + type boolean; + description + "If true, NSF enabled"; + } + leaf last-nsf-time { + type uint32; + description + " Length of time since the last NSF (s)"; + } + leaf nsf-time { + type uint32; + description + "Total time to complete NSF (s)"; + } + leaf redistribution-limit { + type uint32; + description + "The number of redistributed prefixes allowed"; + } + leaf redistribution-threshold { + type uint32; + description + "When the number of redistributed prefixes + reaches this threshold, a warning message is + issued"; + } + leaf redistribution-limit-warn { + type boolean; + description + "If true, only a syslog message is printed when + redistribution prefix limit is reached"; + } + leaf graceful-shutdown-retention-time { + type uint32; + description + "Amount of time routes are retained after + graceful shutdown (s)"; + } + leaf graceful-shutdown-state { + type Gs-state; + description + "State of graceful shutdown"; + } + leaf table-prefix-limit-reached { + type boolean; + description + "If true, prefix limit for table has been + reached"; + } + leaf non-self-lsa-count { + type uint32; + description + "Non self-generated LSA count"; + } + leaf max-lsa-enabled { + type boolean; + description + "If true, max-lsa protection enabled"; + } + leaf max-lsa-limit { + type uint32; + description + "Maximum allowed number of non self-generated + LSAs"; + } + leaf max-lsa-treshold { + type uint32; + description + "max-lsa protection warning threshold"; + } + leaf max-lsa-warning-only { + type boolean; + description + "Warning only when max-lsa reached"; + } + leaf max-lsa-ignore-time { + type uint32; + description + "Time ignoring new LSAs after max-lsa reached"; + } + leaf max-lsa-reset-time { + type uint32; + description + "Time after which LSA protection counter is reset"; + } + leaf max-lsa-ignore-limit { + type uint32; + description + "Max allowed number of entering ignore state"; + } + leaf max-lsa-ignore-count { + type uint32; + description + "How many times ignore state has been entered"; + } + leaf max-lsa-ignore-timer { + type uint32; + description + "Remaining time when ignore timer is running"; + } + leaf max-lsa-reset-timer { + type uint32; + description + "Remaining time when reset timer is running"; + } + leaf context-name { + type string { + length "0..32"; + } + description + "Context name"; + } + leaf snmp-trap-enabled { + type boolean; + description + "If true, snmp trap is enabled"; + } + leaf ucmp { + type boolean; + description + "If true, UCMP is enabled"; + } + leaf ucmp-prefix-list { + type string; + description + "UCMP Prefix-list"; + } + leaf ucmp-variance { + type int32; + description + "UCMP Variance"; + } + leaf ucmp-delay { + type uint32; + description + "Delay between end of SPF and start of UCMP + calculation (ms)"; + } + leaf microloop-avoidance-type { + type Uloop-avoidance; + description + "Microloop avoidance type configured"; + } + leaf microloop-avoidance-delay { + type uint32; + description + "Microloop delay time after which actual + post convergence paths are given to RIB (s)"; + } + leaf microloop-avoidance-active { + type boolean; + description + "If true, Uloop is active"; + } + leaf microloop-avoidance-delay-expiry { + type uint32; + description + "Remaining time for uloop delay timer + to expire (s)"; + } + leaf lsd-connected { + type boolean; + description + "True if connected to LSD"; + } + leaf lsd-registered { + type boolean; + description + "True if registered with LSD"; + } + leaf lsd-bound { + type boolean; + description + "True if bound to LSD"; + } + leaf lsd-connection-revision { + type uint32; + description + "LSD Connection Revision"; + } + leaf srgb-configured { + type boolean; + description + "True if Segment Routing Global Block configured"; + } + leaf srgb-start { + type uint32; + description + "Segment Routing Global Block start label value"; + } + leaf srgb-end { + type uint32; + description + "Segment Routing Global Block end label value"; + } + leaf srgb-status { + type Ospf-srgb-status; + description + "Segment Routing Global Block allocation status"; + } + leaf sr-strict-spf-cap { + type boolean; + description + "True if Segment Routing Strict-SPF capable"; + } + list maximum-metric { + description + "Max-metric list"; + uses OSPF-SH-MAX-METRIC; + } + list redistribution { + description + "Redistribution list"; + uses OSPF-SH-REDIST; + } + } + + grouping OSPF-SH-AREA-RANGE { + description + "OSPF Area Range Information"; + leaf range-prefix { + type inet:ipv4-address; + description + "IP prefix for summarization"; + } + leaf range-mask { + type inet:ipv4-address; + description + "Network mask"; + } + leaf cost { + type uint32; + description + "Cost"; + } + leaf advertise-flag { + type boolean; + description + "Whether to advertise Summary LSAs for this range"; + } + } + + grouping OSPF-SH-AREA { + description + "OSPF Area Summary Information"; + leaf area-id-string { + type string { + length "0..16"; + } + description + "Area ID string"; + } + leaf backbone-area-active { + type boolean; + description + "If true, Backbone area is active"; + } + leaf area-interface-count { + type uint16; + description + "Number of interfaces in the area"; + } + leaf area-stub { + type boolean; + description + "If true, stub area"; + } + leaf area-total-stub { + type boolean; + description + "If true, totally stubby area"; + } + leaf stub-default-cost { + type uint16; + description + "Default cost for Stub or NSSA area"; + } + leaf area-nssa { + type boolean; + description + "If true, area is a NSSA"; + } + leaf nssa-no-redistribution { + type boolean; + description + "If true, No redistribution into this NSSA area"; + } + leaf nssa-translate { + type boolean; + description + "If true, perform 7/5 translation"; + } + leaf nssa-default { + type boolean; + description + "If true, generate NSSA default route"; + } + leaf te-enabled { + type boolean; + description + "If true, MPLS-TE enabled"; + } + leaf te-topology-version { + type uint32; + description + "TE area topology version number"; + } + leaf external-out { + type boolean; + description + "If true, advertise intra-area prefixes as + external"; + } + leaf summary-in { + type boolean; + description + "If true, advertise redistributedprefixes as + summary"; + } + leaf segment-routing { + type uint32; + description + "If true, Segment Routing enabled"; + } + leaf sr-strict-spf-cap { + type boolean; + description + "If true, All routers in Area are SR Strict-SPF + Capable"; + } + leaf sr-strict-spfsids-available { + type boolean; + description + "If true, All routers in Area have SR Strict-SPF + SIDs"; + } + leaf sr-microloop-avoidance-active { + type boolean; + description + "If true, Segment routing Uloop avoidance + is currently active in this area"; + } + leaf sr-microloop-avoidance-event-type { + type Sr-uloop-event; + description + "Event for which SR uloop is triggered + Link Up/Link Down"; + } + leaf sr-microloop-avoidance-near-end-id { + type inet:ipv4-address; + description + "Link State ID of the near end + of the topology change"; + } + leaf sr-microloop-avoidance-far-end-id { + type inet:ipv4-address; + description + "Link State ID of the far end + of the topology change"; + } + leaf sr-microloop-avoidance-pseudonode-id { + type inet:ipv4-address; + description + "Link State ID of the pseudo node, + if the change is on a broadcast link"; + } + leaf authentication-type { + type Authentication; + description + "Authentication type"; + } + leaf spf-count { + type uint32; + description + "Number of SPF calculations run"; + } + leaf area-policy-in { + type boolean; + description + "If true, inbound policy is configured"; + } + leaf area-policy-in-name { + type string; + description + "Inbound summary lsa filtering policy"; + } + leaf area-policy-out { + type boolean; + description + "If true, outbound policy is configured"; + } + leaf area-policy-out-name { + type string; + description + "Outbound summary lsa filtering policy"; + } + leaf area-lsa-count { + type uint32; + description + "Number of LSAs in the Area"; + } + leaf area-lsa-checksum { + type uint32; + description + "Sum of all area LSAs checksum"; + } + leaf area-opaque-lsa-count { + type uint32; + description + "Number of Opaque LSAs in the Area"; + } + leaf area-opaque-lsa-checksum { + type uint32; + description + "Sum of opaque LSA checksums"; + } + leaf area-dc-bitless-lsa-count { + type uint32; + description + "Number of LSA with demand circuit bit not set"; + } + leaf indication-lsa-count { + type uint32; + description + "Number of indication LSAs"; + } + leaf dna-lsa-count { + type uint32; + description + "Number of DoNotAge LSAs"; + } + leaf flood-list-length { + type uint32; + description + "Number of LSAs which need to be flooded"; + } + leaf area-lfa-interface-count { + type uint32; + description + "Number of LFA enabled interfaces"; + } + leaf area-per-prefix-lfa-interface-count { + type uint32; + description + "Number of Per Prefix LFA enabled interfaces"; + } + leaf area-lfa-revision { + type uint32; + description + "Area LFA revision"; + } + leaf area-adj-stag-num-nbr-forming { + type uint16; + description + "Num of nbrs currently forming"; + } + leaf area-num-nbr-full { + type uint16; + description + "Num of full nbrs in area"; + } + list area-range { + description + "List of ranges to summarize"; + uses OSPF-SH-AREA-RANGE; + } + } + + grouping OSPF-SH-REDIST { + description + "OSPF Redistribution Information"; + container redistribution-protocol { + description + "Protocol Information"; + uses OSPF-SH-REDIST-PROTO; + } + leaf metric-flag { + type boolean; + description + "If true, Metric configured"; + } + leaf metric { + type uint32; + description + "Route metric"; + } + leaf classless { + type boolean; + description + "Whether to use CIDR"; + } + leaf nssa-only { + type boolean; + description + "To NSSA areas only"; + } + } + + grouping OSPF-SH-PROTOCOL { + description + "OSPF Protocol Information"; + leaf protocol-router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf protocol-distance { + type uint32; + description + "Administrative distance"; + } + leaf administrative-distance-inter-area { + type uint32; + description + "Administrative Distance for Inter Area routes"; + } + leaf administrative-distance-external { + type uint32; + description + "Administrative Distance for External routes"; + } + leaf protocol-nsf { + type boolean; + description + "True if NSF enabled"; + } + leaf dist-list-in { + type string; + description + "Distribute List In"; + } + } + + grouping OSPF-SH-PROTO-INTF { + description + "OSPF Protocol Interface Information"; + leaf protocol-interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf protocol-authentication-type { + type Authentication; + description + "Authentication type"; + } + leaf protocol-interface-dist-list-in { + type string; + description + "Distribute List In"; + } + } + + grouping OSPF-SH-PROTO-AREA { + description + "OSPF Protocol Area Information"; + leaf protcol-area { + type string { + length "0..16"; + } + description + "Area ID string in decimal and dotted-decimal + format"; + } + leaf protocol-mpls { + type boolean; + description + "MPLS-TE enabled"; + } + leaf protocol-area-dist-list-in { + type string; + description + "Distribute List In"; + } + list protocol-interface { + description + "Interface list"; + uses OSPF-SH-PROTO-INTF; + } + } + + grouping OSPF-SH-BR-PATH { + description + "OSPF Border Router Path"; + leaf border-router-route-type { + type Ospf-route; + description + "Route type"; + } + leaf border-router-route-metric { + type uint32; + description + "Metric"; + } + leaf border-router-next-hop { + type inet:ipv4-address; + description + "Next hop address"; + } + leaf border-router-next-hop-interface-name { + type xr:Interface-name; + description + "Next hop Interface"; + } + leaf border-router-type { + type Ospf-br; + description + "Border router type"; + } + leaf border-router-area-id { + type string { + length "0..16"; + } + description + "Area string in decimal or dotted-decimal format"; + } + leaf spf-version { + type uint64; + description + "SPF run instance count"; + } + } + + grouping OSPF-SH-BORDER-ROUTER { + description + "OSPF Border Router"; + leaf border-router-id-xr { + type inet:ipv4-address; + description + "Router ID of Border Router"; + } + list border-router-path { + description + "List of Border Router paths"; + uses OSPF-SH-BR-PATH; + } + } + + grouping OSPF-SH-SEC-ADDR { + description + "OSPF Secondary Address"; + leaf secondary-addr { + type inet:ipv4-address; + description + "Secondary Address Type"; + } + leaf secondary-prefix { + type uint32; + description + "Secondary Prefix Length"; + } + } + + grouping OSPF-SH-IPFRR-TB { + description + "OSPF IPFRR Tiebreakers"; + leaf tiebreaker-type { + type Ipfrr-tbrkr; + description + "Tiebreaker Type"; + } + leaf tiebreaker-index { + type uint32; + description + "Tiebreaker Index"; + } + } + + grouping OSPF-SH-INTERFACE-UP { + description + "OSPF Interface Up-only Information"; + leaf wait-time { + type uint32; + description + "Wait time for DR/BDR selection (s)"; + } + leaf interface-area-flood-index { + type uint32; + description + "Area scope LSAs flood index"; + } + leaf interface-as-flood-index { + type uint32; + description + "AS scope LSAs flood index"; + } + leaf interface-flood-length { + type uint32; + description + "Flood queue length"; + } + leaf interface-area-next-flood { + type uint32; + description + "Next LSA to flood (Area scope)"; + } + leaf interface-area-next-flood-index { + type uint32; + description + "Index of next LSA to flood (Area scope)"; + } + leaf interface-as-next-flood { + type uint32; + description + "Next LSA to flood (AS scope)"; + } + leaf interface-as-next-flood-index { + type uint32; + description + "Index of next LSA to flood (AS scope)"; + } + leaf flood-scan-length { + type uint32; + description + "Last flood scan length"; + } + leaf maximum-flood-length { + type uint32; + description + "Maximum flood length"; + } + leaf last-flood-time { + type uint32; + description + "Last flood scan time (ms)"; + } + leaf maximum-flood-time { + type uint32; + description + "Maximum flood time (ms)"; + } + leaf interface-flood-pacing-timer { + type uint32; + description + "Time until next flood pacing timer (ms)"; + } + leaf interface-neighbor-count { + type uint16; + description + "Total number of Neighbors"; + } + leaf suppress-hello-count { + type uint16; + description + "Number of neighbors for which hellos are + suppressed"; + } + leaf interface-authentication-type { + type Authentication; + description + "Authentication type"; + } + leaf youngest-md-key { + type boolean; + description + "If true, MD key is configured"; + } + leaf old-md5-key-neighbor-count { + type uint32; + description + "Number of neighbors using the old key (if + rollover in progress)"; + } + leaf youngest-md-key-id { + type uint16; + description + "Youngest MD key ID"; + } + leaf keychain-id { + type uint64; + description + "Keychain ID"; + } + list md-keys { + description + "List of old MD keys"; + leaf entry { + type uint16; + } + } + } + + grouping OSPF-SH-INTERFACE-BFD { + description + "Interface BFD information"; + leaf bfd-intf-enable-mode { + type uint32; + description + "BFD enable mode - Default/Strict"; + } + leaf interval { + type uint32; + description + "BFD interval (ms)"; + } + leaf detection-multiplier { + type uint32; + description + "BFD detection multiplier"; + } + } + + grouping OSPF-SH-INTERFACE-NBR { + description + "OSPF Interface Neighbor Information"; + leaf interface-neighbor-id { + type inet:ipv4-address; + description + "Neighbor Router ID"; + } + leaf interface-neighbor-cost { + type uint32; + description + "Cost of link to neighbor"; + } + leaf neighbor-dr { + type boolean; + description + "If true, Designated router"; + } + leaf neighbor-bdr { + type boolean; + description + "If true, Backup designated router"; + } + leaf suppress-hello { + type boolean; + description + "If true, hellos suppressed"; + } + } + + grouping OSPF-SH-INTERFACE { + description + "OSPF Interface Information"; + container interface-bfd-information { + description + "BFD information"; + uses OSPF-SH-INTERFACE-BFD; + } + container active-interface { + description + "Active interface details"; + uses OSPF-SH-INTERFACE-UP; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf interface-state { + type Interface-state; + description + "Interface state"; + } + leaf interface-line-state { + type boolean; + description + "If true, line protocol is up"; + } + leaf interface-address { + type inet:ipv4-address; + description + "Interface IP Address"; + } + leaf interface-mask { + type uint32; + description + "Interface IP Mask"; + } + leaf interface-area { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted-decimal + format"; + } + leaf interface-sid { + type uint32; + description + "Interface SID"; + } + leaf interface-sid-php-off { + type boolean; + description + "SID PHP Off"; + } + leaf interface-sid-n-flag-clear { + type boolean; + description + "SID N-Flag Clear"; + } + leaf interface-strict-spf-sid { + type uint32; + description + "Interface Strict-SPF SID"; + } + leaf interface-strict-spf-sid-php-off { + type boolean; + description + "Strict-SPF SID PHP Off"; + } + leaf interface-strict-spf-sid-n-flag-clear { + type boolean; + description + "Strict-SPF SID N-Flag Clear"; + } + leaf interface-router-id { + type inet:ipv4-address; + description + "Interface Router ID"; + } + leaf network-type { + type Interface; + description + "Network type"; + } + leaf ip-mtu { + type uint16; + description + "IP MTU"; + } + leaf maximum-packet-size { + type uint16; + description + "Maximum Packet Size"; + } + leaf interface-tunnel-flags { + type uint32; + description + "Interface tunnel flags"; + } + leaf interface-link-cost { + type uint16; + description + "Interface link cost"; + } + leaf interface-bandwidth { + type uint32; + description + "Interface bandwidth"; + } + leaf cfg-cost-fallback { + type boolean; + description + "If true, cost fallback is configured"; + } + leaf interface-cost-fallback { + type uint16; + description + "Interface fallback cost"; + } + leaf cost-fallback-active { + type boolean; + description + "If true, cost fallback is active"; + } + leaf configured-ldp-sync { + type boolean; + description + "If true, configured as LDP sync"; + } + leaf configured-ldp-sync-igp-shortcuts { + type boolean; + description + "If true, sync igp shortcuts"; + } + leaf interface-ldp-sync { + type boolean; + description + "If true, interface LDP sync is achieved"; + } + leaf configured-demand-circuit { + type boolean; + description + "If true, configured as demand circuit"; + } + leaf interface-demand-circuit { + type boolean; + description + "If true, interface running as demand circuit"; + } + leaf interface-dc-bitless-lsa-count { + type uint32; + description + "Number of LSAs with demand circuit bit not set + for the area in which the interface is running"; + } + leaf transmission-delay { + type uint16; + description + "Interface Transmission delay"; + } + leaf ospf-interface-state { + type Ospf-interface-state; + description + "Interface OSPF state"; + } + leaf interface-priority { + type uint8; + description + "Interface priority"; + } + leaf designated-router { + type boolean; + description + "If true, designated router"; + } + leaf designated-router-id { + type inet:ipv4-address; + description + "Designated router ID"; + } + leaf designated-router-address { + type inet:ipv4-address; + description + "Designated router interface address"; + } + leaf backup-designated-router { + type boolean; + description + "If true, backup designated router"; + } + leaf backup-designated-router-id { + type inet:ipv4-address; + description + "Backup designated router ID"; + } + leaf backup-designated-router-address { + type inet:ipv4-address; + description + "Backup designated router interface address"; + } + leaf network-lsa-flush-timer { + type uint32; + units "second"; + description + "The amount of time in seconds before flush timer + for old network LSA expires"; + } + leaf interface-lsa-filter { + type boolean; + description + "Filter is configured for out going LSAs"; + } + leaf hello-interval { + type uint32; + description + "Configured hello interval (s)"; + } + leaf hello-interval-ms { + type uint32; + description + "Configured hello interval (ms)"; + } + leaf dead-interval { + type uint32; + description + "Configured dead interval (s)"; + } + leaf wait-interval { + type uint32; + description + "Configured wait interval (s)"; + } + leaf interface-retransmission-interrval { + type uint32; + description + "Configured retransmit interval (s)"; + } + leaf interface-nsf-enabled { + type boolean; + description + "If true, NSF is enabled"; + } + leaf interface-nsf { + type boolean; + description + "If true, NSF restart in progress on this + interface"; + } + leaf interface-last-nsf { + type uint32; + description + "Time since last NSF restart (s)"; + } + leaf passive-interface { + type boolean; + description + "If true, passive interface"; + } + leaf next-hello-time { + type uint32; + description + "Time until next Hello (s)"; + } + leaf next-hello-time-ms { + type uint32; + description + "Time until next Hello (ms)"; + } + leaf ttl-security-enabled { + type boolean; + description + "TTL security enabled on the interface"; + } + leaf ttl-security-hop-count { + type uint32; + description + "TTL security hop counts"; + } + leaf interfaceis-madj { + type boolean; + description + "If true, interface is multi-area"; + } + leaf interface-madj-count { + type uint16; + description + "Total number of multi-area"; + } + leaf prefix-suppress-primary-addresses { + type boolean; + description + "Prefix Suppression for primary addresses"; + } + leaf prefix-suppress-secondary-addresses { + type boolean; + description + "Prefix Suppression for secondary addresses"; + } + leaf is-loopback-stub-network { + type boolean; + description + "If true, loopback interface is advertised as a + stub network"; + } + leaf interface-ack-list-count { + type uint32; + description + "Ack List Count"; + } + leaf interface-ack-list-high-watermark { + type uint32; + description + "Ack List High Watermark"; + } + leaf registered-for-link-down-fast-detection { + type boolean; + description + "Registered for Link Down Fast Detection"; + } + leaf fast-detect-hold-down-time { + type uint32; + description + "Hold-down time in ms for fast-detect event"; + } + leaf interface-fast-detect-hold-down { + type boolean; + description + "Link in hold-down state due to fast detect event"; + } + leaf fast-detect-hold-down-time-remaining { + type uint32; + description + "Remaining hold down time in ms"; + } + leaf fast-reroute-type { + type Ipfrr; + description + "IP Fast Reroute Type"; + } + leaf fast-reroute-topology-independent-lfa { + type boolean; + description + "Topology Independent LFA"; + } + leaf interface-unnum { + type xr:Interface-name; + description + "Unnumbered interface"; + } + leaf interface-forw { + type boolean; + description + "Forward reference interface"; + } + leaf interface-pri-labels { + type uint8; + description + "Max number of primary labels"; + } + leaf interface-bkp-labels { + type uint8; + description + "Max number of backup labels"; + } + leaf interface-srte-labels { + type uint8; + description + "Max number of SRTE labels"; + } + list srlg { + description + "SRLG Values"; + leaf entry { + type uint32; + } + } + list interface-neighbor { + description + "Information for neighbors on the interface"; + uses OSPF-SH-INTERFACE-NBR; + } + list interface-madj { + description + "Information for multi-area on the interface"; + uses OSPF-SH-INTERFACE-MADJ; + } + list ipfrr-tiebreakers { + description + "IPFRR-Tiebreakers list"; + uses OSPF-SH-IPFRR-TB; + } + list ip-sec-addr { + description + "Secondary IP address list"; + uses OSPF-SH-SEC-ADDR; + } + } + + grouping OSPF-SH-VLINK-NEIGHBOR { + description + "Virtual Link Neighbor Information"; + container virtual-link-retransmissoin { + description + "Neighbor retransmission info"; + uses OSPF-SH-NEIGHBOR-RETRANS; + } + leaf virtual-link-suppress-hello { + type boolean; + description + "If true Hellos suppressed"; + } + leaf virtual-link-state { + type Neighbor-state; + description + "Adjacency state"; + } + } + + grouping OSPF-SH-VIRTUAL-LINKS { + description + "OSPF Virtual Link"; + container virtual-link-neighbor { + description + "Neighbor information"; + uses OSPF-SH-VLINK-NEIGHBOR; + } + leaf virtual-link-name-xr { + type string; + description + "Virtual link name"; + } + leaf virtual-link-neighbor-id { + type inet:ipv4-address; + description + "Neighbor on other end of this virtual link"; + } + leaf virtual-link-state { + type Ospf-interface-state; + description + "OSPF interface state for the virtual link"; + } + leaf virtual-link-demand-circuit { + type boolean; + description + "If true, the link runs as demand circuit"; + } + leaf virtual-link-dc-bitless-lsa { + type uint32; + description + "Number of LSA's with demand circuit bit not set"; + } + leaf transit-area { + type string; + description + "Transit area id"; + } + leaf virtual-link-interface-name { + type xr:Interface-name; + description + "Interface on which this virtual link is formed"; + } + leaf virtual-link-cost { + type uint16; + description + "Cost of the virtual link"; + } + leaf virual-link-transmission-delay { + type uint16; + units "second"; + description + "Transmission delay in seconds"; + } + leaf virtual-link-hello-interval { + type uint32; + description + "Hello interval (s)"; + } + leaf virtual-link-hello-interval-ms { + type uint32; + description + "Hello interval (ms)"; + } + leaf virtual-link-dead-interval { + type uint32; + description + "Dead interval (s)"; + } + leaf virtual-link-wait-interval { + type uint32; + description + "Wait interval (s)"; + } + leaf virtaul-link-retransmission-interval { + type uint32; + description + "Retransmission interval (s)"; + } + leaf virtual-link-next-hello { + type uint32; + description + "Time until next hello (s)"; + } + leaf virtual-link-next-hello-ms { + type uint32; + description + "Time until next hello (ms)"; + } + leaf virtual-link-passive { + type boolean; + description + "If true, interface is passive"; + } + leaf virtual-link-authentication-type { + type Authentication; + description + "Authentication type"; + } + leaf virtual-link-youngest-md-key { + type boolean; + description + "If true, MD key configured"; + } + leaf virtual-link-youngest-md-key-id { + type uint16; + description + "Youngest MD key ID"; + } + leaf virtual-link-old-md-key-count { + type uint32; + description + "Number of neighbors still using the old key + (rollover in progress)"; + } + leaf virtual-link-keychain-id { + type uint64; + description + "Virtual Link Keychain ID"; + } + leaf virtual-link-nsf-enabled { + type boolean; + description + "If true, NSF enabled"; + } + leaf virtual-link-nsf { + type boolean; + description + "If true, NSF restart in progress on the virtual + link"; + } + leaf virtual-link-last-nsf { + type uint32; + units "second"; + description + "Time in seconds since last NSF"; + } + list virtual-link-md-key { + description + "List of old MD keys (if any)"; + leaf entry { + type uint16; + } + } + } + + grouping OSPF-SH-INTERFACE-MADJ { + description + "OSPF Interface Multi-Area Information"; + leaf interface-area { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted-decimal + format"; + } + leaf madj-area-id { + type uint32; + description + "Area ID"; + } + leaf interface-neighbor-count { + type uint16; + description + "Number of Neighbors"; + } + leaf interface-adj-neighbor-count { + type uint16; + description + "Total number of Adjacent Neighbors"; + } + leaf interface-link-cost { + type uint16; + description + "Interface link cost"; + } + leaf ospf-interface-state { + type Ospf-interface-state; + description + "Interface OSPF state"; + } + } + + grouping OSPF-SH-IF-BRIEF { + description + "OSPF Interface Brief Information"; + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-area { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted-decimal + format"; + } + leaf interface-address { + type inet:ipv4-address; + description + "Interface IP Address"; + } + leaf interface-mask { + type uint32; + description + "Interface IP Mask"; + } + leaf interface-link-cost { + type uint16; + description + "Interface link cost"; + } + leaf ospf-interface-state { + type Ospf-interface-state; + description + "Interface OSPF state"; + } + leaf interface-fast-detect-hold-down { + type boolean; + description + "Interface in fast detect hold down state"; + } + leaf interface-neighbor-count { + type uint16; + description + "Total number of Neighbors"; + } + leaf interface-adj-neighbor-count { + type uint16; + description + "Total number of Adjacent Neighbors"; + } + leaf interfaceis-madj { + type boolean; + description + "If true, interface is multi-area"; + } + leaf interface-madj-count { + type uint16; + description + "Total number of multi-area"; + } + list interface-madj { + description + "Information for multi-area on the interface"; + uses OSPF-SH-INTERFACE-MADJ; + } + } + + grouping OSPF-SH-ROUTE-EXTENDED-COMM { + description + "OSPF External Route Extended Community + Information"; + leaf extended-community-domain-id-value { + type yang:hex-string; + description + "Domain ID value"; + } + leaf extended-communityl-domain-id-type { + type uint16; + description + "Domain ID type"; + } + leaf extended-community-area-id { + type uint32; + description + "Area id"; + } + leaf extended-community-router-id { + type inet:ipv4-address; + description + "Router id"; + } + leaf extended-community-route-type { + type uint8; + description + "Route type"; + } + leaf extended-community-options { + type uint8; + description + "Route Options"; + } + } + + grouping OSPF-SH-REDIST-PROTO { + description + "Redistributed protocol instance"; + leaf protocol-type { + type Redist-protocol; + description + "ProtocolType"; + } + leaf isis-instance-id { + when "../protocol-type = 'mgmt-rib-protocol-isis'" { + description + "../ProtocolType = 'MGMT_RIB_PROTOCOL_ISIS'"; + } + type String1; + description + "ISIS instance identifier"; + } + leaf ospf-process-id { + when "../protocol-type = 'mgmt-rib-protocol-ospf'" { + description + "../ProtocolType = 'MGMT_RIB_PROTOCOL_OSPF'"; + } + type String1; + description + "OSPF process identifier"; + } + leaf bgp-as-number { + when "../protocol-type = 'mgmt-rib-protocol-bgp'" { + description + "../ProtocolType = 'MGMT_RIB_PROTOCOL_BGP'"; + } + type String1; + description + "BGP Autonomous System Number"; + } + leaf eigrp-as-number { + when "../protocol-type = 'mgmt-rib-protocol-eigrp'" { + description + "../ProtocolType = 'MGMT_RIB_PROTOCOL_EIGRP'"; + } + type String1; + description + "Autonomous System Number"; + } + leaf connected-instance { + when "../protocol-type = 'mgmt-rib-protocol-connected'" { + description + "../ProtocolType = 'MGMT_RIB_PROTOCOL_CONNECTED'"; + } + type String1; + description + "Connected instance name"; + } + } + + grouping OSPF-SH-ROUTE-EXT { + description + "OSPF External Route Information"; + container route-information { + description + "Route information"; + uses OSPF-SH-TOPOLOGY; + } + container protocol-name { + description + "Name of protocol from which the external route + was redistributed"; + uses OSPF-SH-REDIST-PROTO; + } + container route-extended-community { + description + "Extended communities in the route"; + uses OSPF-SH-ROUTE-EXTENDED-COMM; + } + } + + grouping OSPF-SH-ROUTE-SUMM-COMMON { + description + "OSPF Route Summary Common Information"; + leaf external-type1s { + type uint32; + description + "External type 1 count"; + } + leaf external-type2s { + type uint32; + description + "External type 2 count"; + } + leaf external-nssa-type1s { + type uint32; + description + "External NSSA type 1 count"; + } + leaf external-nssa-type2s { + type uint32; + description + "External NSSA type 2 count"; + } + leaf inter-areas { + type uint32; + description + "Inter-area count"; + } + leaf intra-areas { + type uint32; + description + "Intra-area count"; + } + leaf total { + type uint32; + description + "Total count"; + } + } + + grouping OSPF-SH-ROUTE-SUMMARY { + description + "OSPF Route Summary Information"; + container failure-time { + description + "Last time failed"; + uses OSPF-SH-TIME; + } + container common { + description + "OSPF route summary Information"; + uses OSPF-SH-ROUTE-SUMM-COMMON; + } + leaf failures { + type uint32; + description + "RIB failure count"; + } + leaf failure-address { + type inet:ipv4-address; + description + "Last failed address"; + } + } + + grouping OSPF-SH-TOP-PATH { + description + "OSPF Route Path Information"; + container sr-microloop-avoidance-path { + description + "SR Microloop avoidance Path Info"; + uses OSPF-SH-SR-ULOOP-PATH; + } + leaf route-interface-name { + type xr:Interface-name; + description + "Next hop Interface"; + } + leaf route-next-hop-address { + type inet:ipv4-address; + description + "Nexthop IP address"; + } + leaf route-source { + type inet:ipv4-address; + description + "IP address of source of route"; + } + leaf route-lsaid { + type inet:ipv4-address; + description + "LSA ID, see RFC2328"; + } + leaf route-path-is-mcast-intact { + type boolean; + description + "Multicast-intact path"; + } + leaf route-path-is-ucmp-path { + type boolean; + description + "UCMP path"; + } + leaf route-metric { + type uint32; + description + "Metric"; + } + leaf lsa-type { + type uint8; + description + "LSA type, see RFC2328 etc."; + } + leaf area-id { + type uint32; + description + "Area ID"; + } + leaf area-format { + type boolean; + description + "Area format IP or uint32"; + } + } + + grouping OSPF-SH-TOPOLOGY { + description + "OSPF Route Information"; + container route-info { + description + "Route information"; + uses OSPF-SH-TOP-COMMON; + } + leaf route-prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf route-prefix-length { + type uint32; + description + "Prefix length"; + } + leaf route-metric { + type uint32; + description + "Metric"; + } + leaf route-type { + type Ospf-route; + description + "Route type"; + } + leaf route-connected { + type boolean; + description + "If true, connected route"; + } + list route-path { + description + "List of paths to this route"; + uses OSPF-SH-TOP-PATH; + } + } + + grouping OSPF-SH-SR-ULOOP-PATH { + description + "OSPF Route SR Uloop Path Information"; + leaf microloop-repair-list-size { + type uint32; + description + "Microloop Repair List Size"; + } + leaf microloop-tunnel-interface-name { + type xr:Interface-name; + description + "Microloop Tunnel Interface name"; + } + leaf microloop-strict-spf { + type boolean; + description + "Strict SPF SID"; + } + list microloop-repair { + max-elements "10"; + description + "Microloop Repair List"; + uses OSPF-SH-REP-EL; + } + } + + grouping OSPF-SH-REP-EL { + description + "OSPF Repair Element"; + leaf repair-element-id { + type inet:ipv4-address; + description + "Repair Element ID"; + } + leaf repair-label { + type uint32; + description + "Repair Label"; + } + leaf repair-element-type { + type uint32; + description + "Repair Element Type"; + } + } + + grouping OSPF-SH-BACKUP-PATH { + description + "OSPF Route Backup Path Information"; + leaf backup-route-interface-name { + type xr:Interface-name; + description + "Next hop Interface"; + } + leaf backup-route-next-hop-address { + type inet:ipv4-address; + description + "Nexthop IP address"; + } + leaf backup-route-source { + type inet:ipv4-address; + description + "IP address of source of route"; + } + leaf backup-metric { + type uint32; + description + "Metric"; + } + leaf primary-path { + type boolean; + description + "Primary Path"; + } + leaf line-card-disjoint { + type boolean; + description + "Line Card Disjoint"; + } + leaf downstream { + type boolean; + description + "Downstream"; + } + leaf node-protect { + type boolean; + description + "Node Protect"; + } + leaf srlg-disjoint { + type boolean; + description + "SRLG Disjoint"; + } + leaf backup-remote-lfa { + type inet:ipv4-address; + description + "IP address of remote LFA"; + } + leaf backup-repair-list-size { + type uint32; + description + "Repair List Size"; + } + leaf backup-tunnel-interface-name { + type xr:Interface-name; + description + "Backup Tunnel Interface"; + } + list backup-repair { + max-elements "10"; + description + "Backup Repair List"; + uses OSPF-SH-REP-EL; + } + } + + grouping OSPF-SH-TOP-PATH-BACKUP { + description + "OSPF Route Path Wit Backup Path Information"; + container route-backup-path { + description + "Backup Path Info"; + uses OSPF-SH-BACKUP-PATH; + } + container sr-microloop-avoidance-path { + description + "SR Microloop avoidance Path Info"; + uses OSPF-SH-SR-ULOOP-PATH; + } + leaf route-interface-name { + type xr:Interface-name; + description + "Next hop Interface"; + } + leaf route-next-hop-address { + type inet:ipv4-address; + description + "Nexthop IP address"; + } + leaf route-source { + type inet:ipv4-address; + description + "IP address of source of route"; + } + leaf route-lsaid { + type inet:ipv4-address; + description + "LSA ID, see RFC2328"; + } + leaf route-path-is-mcast-intact { + type boolean; + description + "Multicast-intact path"; + } + leaf route-path-is-ucmp-path { + type boolean; + description + "UCMP path"; + } + leaf route-metric { + type uint32; + description + "Metric"; + } + leaf route-path-id { + type uint16; + description + "Path ID of path"; + } + leaf lsa-type { + type uint8; + description + "LSA type, see RFC2328 etc."; + } + } + + grouping OSPF-SH-TOP-COMMON { + description + "OSPF Common Route Information"; + container route-update-time { + description + "Last time updated"; + uses OSPF-SH-TIME; + } + container route-fail-time { + description + "Last time update failed"; + uses OSPF-SH-TIME; + } + leaf route-area-id { + type uint32; + description + "Area ID"; + } + leaf route-te-metric { + type uint32; + description + "TE metric"; + } + leaf route-rib-version { + type uint32; + description + "RIB version"; + } + leaf route-spf-version { + type uint64; + description + "SPF version"; + } + leaf route-forward-distance { + type uint32; + description + "Forward distance"; + } + leaf route-source { + type uint16; + description + "Protocol source"; + } + leaf route-spf-priority { + type uint8; + description + "SPF priority"; + } + leaf route-auto-excluded { + type boolean; + description + "If true, exclude from TE paths"; + } + leaf route-srte-prefix-registered { + type boolean; + description + "If true, SRTE registered prefix route"; + } + leaf route-srte-nbr-registered { + type uint16; + description + "SRTE registered neigbhor count on route"; + } + } + + grouping OSPF-SH-TOPOLOGY-BACKUP { + description + "OSPF Route Information With Backup Path"; + container route-info { + description + "Route information"; + uses OSPF-SH-TOP-COMMON; + } + leaf route-prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf route-prefix-length { + type uint32; + description + "Prefix length"; + } + leaf route-metric { + type uint32; + description + "Metric"; + } + leaf route-type { + type Ospf-route; + description + "Route type"; + } + leaf route-connected { + type boolean; + description + "If true, connected route"; + } + list route-path { + description + "List of paths to this route"; + uses OSPF-SH-TOP-PATH-BACKUP; + } + } + + grouping OSPF-SH-NEIGHBOR-RETRANS { + description + "OSPF Neighbor Retransmission Information"; + leaf dbd-retransmission-count { + type uint32; + description + "Number of DBD retransmissions during last + exchange"; + } + leaf dbd-retransmission-total-count { + type uint32; + description + "Total number of DBD retransmissions for this + neighbor"; + } + leaf area-flooding-index { + type uint32; + description + "Area scope LSA's flood index"; + } + leaf as-flood-index { + type uint32; + description + "AS scope LSA's flood index"; + } + leaf neighbor-retransmission-count { + type uint32; + description + "Retransmission queue length"; + } + leaf number-of-retransmissions { + type uint32; + description + "Number of retransmissions for this neighbor"; + } + leaf area-first-flood-information { + type uint32; + description + "First flood item for area scope LSAs"; + } + leaf area-first-flood-information-index { + type uint32; + description + "Index of the first flood item for area scope + LSAs"; + } + leaf as-first-flood-information { + type uint32; + description + "First flood item for AS scope LSAs"; + } + leaf as-first-flood-information-index { + type uint32; + description + "Index for first flood item for AS scope LSAs"; + } + leaf area-next-flood-information { + type uint32; + description + "Next flood item for area scope LSAs"; + } + leaf area-next-flood-information-index { + type uint32; + description + "Index of next flood item for Area scope LSAs"; + } + leaf as-next-flood-information { + type uint32; + description + "Next flood item for AS scope LSAs"; + } + leaf as-next-flood-information-index { + type uint32; + description + "Index of next flood item for AS scope LSAs"; + } + leaf last-retransmission-length { + type uint32; + description + "Number of LSAs sent in last retransmission"; + } + leaf maximum-retransmission-length { + type uint32; + description + "Maximum number of LSAs sent in a retransmission"; + } + leaf last-retransmission-time { + type uint32; + description + "Last retransmission scan time (ms)"; + } + leaf maximum-retransmission-time { + type uint32; + description + "Maximum retransmission scan time (ms)"; + } + leaf lsa-retransmission-timer { + type uint32; + description + "Time until next LSA retransmission (ms)"; + } + } + + grouping OSPF-SH-NEIGHBOR-DETAIL { + description + "OSPF Neighbor Detailed Information"; + container neighbor-summary { + description + "Neighbor summary information"; + uses OSPF-SH-NEIGHBOR; + } + container neighbor-bfd-information { + description + "Neighbor BFD information"; + uses OSPF-SH-NEIGHBOR-BFD; + } + container neighbor-retransmission-information { + description + "Retransmission information with this neighbor"; + uses OSPF-SH-NEIGHBOR-RETRANS; + } + leaf neighbor-area-id { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted-decimal + format"; + } + leaf state-change-count { + type uint16; + description + "Number of state changes"; + } + leaf neighbor-cost { + type uint16; + description + "Cost of path to this neighbor"; + } + leaf neighbor-filter { + type boolean; + description + "If true, filter outgoing LSAs"; + } + leaf neighbor-designated-router-address { + type inet:ipv4-address; + description + "Address of designated router"; + } + leaf neighbor-backup-designated-router-address { + type inet:ipv4-address; + description + "Address of backup designated router"; + } + leaf interface-type { + type Interface; + description + "Interface type"; + } + leaf poll-interval { + type uint32; + description + "Poll interval (s)"; + } + leaf next-poll-interval { + type uint32; + units "second"; + description + "For NBMA networks, amount of time remaining in + seconds before the next poll interval expires + and Hello is sent (s)"; + } + leaf neighbor-option { + type uint8; + description + " This is bitmaks of neighbor's option field + received"; + } + leaf pending-events { + type uint16; + description + "Number of pending events"; + } + leaf neighbor-lls-option { + type uint32; + description + "This is a bitmask of Link Local signalling + options received from the neighbor"; + } + leaf oob-resynchronization { + type boolean; + description + "Out-Of-Bound resynchronization in progress"; + } + leaf nsf-router-state { + type Nsf-rtr; + description + "For cisco NSF, the router is either Requester or + Receiver"; + } + leaf last-oob-time { + type uint32; + units "second"; + description + "The amount of time in seconds since last time + Out-Of-Band resynchronization was done with this + neighbor"; + } + leaf lfa-interface { + type xr:Interface-name; + description + "LFA Interface"; + } + leaf lfa-next-hop { + type inet:ipv4-address; + description + "LFA Next Hop"; + } + leaf lfa-neighbor-id { + type inet:ipv4-address; + description + "LFA Neighbor ID"; + } + leaf lfa-neighbor-revision { + type uint32; + description + "LFA Neighbor Revision"; + } + leaf neighbor-ack-list-count { + type uint32; + description + "Ack List Count"; + } + leaf neighbor-ack-list-high-watermark { + type uint32; + description + "Ack List High Watermark"; + } + leaf adjacency-sid-label { + type uint32; + description + "SR Adjacency SID Label"; + } + leaf adjacency-sid-protected { + type boolean; + description + "SR Adjacency SID Protected"; + } + leaf adjacency-sid-unprotected-label { + type uint32; + description + "SR Adjacency SID Unprotected Label"; + } + leaf neighbor-interface-id { + type uint16; + description + "Interface ID of neighbor recived via LLS"; + } + } + + grouping OSPF-SH-RETRANS-LIST { + description + "OSPF Retransmission List"; + leaf retransmission-neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + leaf retransmission-neighbor-ip-address { + type inet:ipv4-address; + description + "Neighbor IP Address"; + } + leaf retransmission-interface-name { + type xr:Interface-name; + description + "Retransmission list interface"; + } + leaf retransmission-timer { + type uint32; + description + "Amount of time remaining on retransmission timer + (ms)"; + } + leaf retransmission-count { + type uint32; + description + "Retransmission queue length"; + } + list retransmission-area-db { + description + "List of Area scope entries"; + uses OSPF-SH-LSA-SUM; + } + list retransmission-asdb { + description + "List of AS Scope entries"; + uses OSPF-SH-LSA-SUM; + } + } + + grouping OSPF-SH-REQUEST-LIST { + description + "OSPF Request List Information"; + leaf request-neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + leaf request-neighbor-address { + type inet:ipv4-address; + description + "Neighbor IP address"; + } + leaf request-interface-name { + type xr:Interface-name; + description + "Request list interface"; + } + list request { + description + "List of request list entries"; + uses OSPF-SH-LSA-SUM; + } + } + + grouping OSPF-SH-NEIGHBOR-BFD { + description + "OSPF Neighbor BFD information"; + leaf bfd-intf-enable-mode { + type uint32; + description + "BFD enable mode - Default/Strict"; + } + leaf bfd-status-flag { + type uint8; + description + "Status of the BFD Session"; + } + } + + grouping OSPF-SH-NEIGHBOR { + description + "OSPF Neighbor Summary Information"; + container neighbor-bfd-information { + description + "Neighbor BFD information"; + uses OSPF-SH-NEIGHBOR-BFD; + } + leaf neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + leaf neighbor-address-xr { + type inet:ipv4-address; + description + "Neighbor IP Address"; + } + leaf neighbor-interface-name { + type xr:Interface-name; + description + "Interface via which the neighbor is seen"; + } + leaf neighbor-dr-priority { + type uint8; + description + "Neighbor's DR priority"; + } + leaf neighbor-state { + type Neighbor-state; + description + "Neighbor's state"; + } + leaf dr-bdr-state { + type Dr-bdr-state; + description + "Designated Router state"; + } + leaf neighbor-dead-timer { + type uint32; + description + "Time until neighbor's dead timer expires (s)"; + } + leaf neighbor-up-time { + type uint32; + description + "Amount of time since the adjacency is up (s)"; + } + leaf neighbor-madj-interface { + type boolean; + description + "Interface is MADJ"; + } + } + + grouping OSPF-SH-TIME { + description + "OSPF SH TIME"; + leaf second { + type uint32; + description + "Second"; + } + leaf nanosecond { + type uint32; + description + "Nanosecond"; + } + } + + grouping OSPF-SH-MPLS-FRAGMENT { + description + "OSPF MPLS-TE Fragment Information"; + leaf fragment-instance { + type uint32; + description + "Fragment instance"; + } + leaf fragment-id { + type uint32; + description + "Fragment ID"; + } + leaf dste-model-id { + type uint8; + description + "DS-TE Allocation Model ID"; + } + leaf same-fragment-count { + type uint8; + description + "Number of fragment links which haven't changed + since the last update"; + } + list mpls-te-link { + description + "List of fragment links"; + uses OSPF-SH-MPLS-LINK; + } + } + + grouping OSPF-SH-MPLS-EAG { + description + "EXTENDED administrative group TLVs"; + leaf extended-admin-size { + type uint32; + description + "Size of the extended admin group"; + } + list ext-admin-data { + description + "Value of Extended Admin Group"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TEL-OPT-UNID-VAL { + description + "MPLS TE Link Optional TLV IXCD Data"; + leaf uni-dir-delay { + type uint32; + description + "Uni Dir Delay"; + } + } + + grouping BW-FLEX-SUBTLV-VALUE { + description + "Value of Flex Sub TLV"; + container flex-sub-tlv-value-common { + description + "Flex Sub TLV Value"; + uses BW-SUB-TLV-VALUE-COMMON; + } + list unres-lspbw { + max-elements "8"; + description + "Array of Unres LSP BW"; + leaf entry { + type uint64; + } + } + list max-lspbw { + max-elements "8"; + description + "Max LSP BW Array"; + leaf entry { + type uint64; + } + } + } + + grouping BW-SUB-TLV-VALUE-COMMON { + description + "Common values in both Fixed and Flex Sub TLV"; + leaf signal-type { + type uint8; + description + "Signal Type"; + } + leaf num-stages { + type uint8; + description + "Number of stages"; + } + leaf tbit { + type uint8; + description + "T Bit"; + } + leaf sbit { + type uint8; + description + "S Bit"; + } + leaf tsg { + type uint8; + description + "TSG"; + } + leaf res { + type uint8; + description + "Res"; + } + leaf priority-bit0 { + type uint8; + description + "Priority 0"; + } + leaf priority-bit1 { + type uint8; + description + "Priority 1"; + } + leaf priority-bit2 { + type uint8; + description + "Priority 2"; + } + leaf priority-bit3 { + type uint8; + description + "Priority 3"; + } + leaf priority-bit4 { + type uint8; + description + "Priority 4"; + } + leaf priority-bit5 { + type uint8; + description + "Priority 5"; + } + leaf priority-bit6 { + type uint8; + description + "Priority 6"; + } + leaf priority-bit7 { + type uint8; + description + "Priority 7"; + } + leaf stage { + type yang:hex-string; + description + "Array of Stages"; + } + } + + grouping BW-FIXED-SUBTLV-VALUE { + description + "Value of Fixed Sub TLV"; + container fixed-sub-tlv-value { + description + "Value of Fixed Sub TLV"; + uses BW-SUB-TLV-VALUE-COMMON; + } + list unres-oduj-prio { + max-elements "8"; + description + "Array of Unres Oduj Prio"; + leaf entry { + type uint32; + } + } + } + + grouping IXCD-BW-SUB-TLV-VALUE-UNION { + description + "Sub Tlv values for IXCD Bandwidth"; + container fixed-bw-sub-tlv-value { + when "../ixcdbw-sub-tlv-type = '1'" { + description + "../IXCDBWSubTLVType = '1'"; + } + description + "Value of Fixed Sub TLV"; + uses BW-FIXED-SUBTLV-VALUE; + } + container flex-bw-sub-tlv-value { + when "../ixcdbw-sub-tlv-type = '2'" { + description + "../IXCDBWSubTLVType = '2'"; + } + description + "Value of Flex Sub TLV"; + uses BW-FLEX-SUBTLV-VALUE; + } + leaf ixcdbw-sub-tlv-type { + type uint16; + description + "IXCDBWSubTLVType"; + } + } + + grouping IXCD-BW-SUB-TLV { + description + "IXCD BW sub tlv"; + container bw-sub-tlv-value { + description + "Value of BW Sub TLV"; + uses IXCD-BW-SUB-TLV-VALUE-UNION; + } + leaf bw-sub-tlv-type { + type uint16; + description + "Type of Sub TLV"; + } + leaf bw-sub-tlv-length { + type uint16; + description + "Length of BW Sub TLV"; + } + } + + grouping IXCD-BW-SUB-TLV-ARR { + description + "Array of BW Sub TLVs"; + list arr-bw-sub-tlv { + description + "Array of sub tlvs"; + uses IXCD-BW-SUB-TLV; + } + } + + grouping IXCD-LE-PSC-INFO { + description + "IXCD LE PSC information"; + leaf min-lsp-bandwidth { + type uint64; + description + "Min LSP bandwidth"; + } + leaf psc-interface-mtu { + type uint16; + description + " Interface MTU"; + } + } + + grouping IXCD-TLV-SWITCHINGCAP-VALUE-UNION { + description + "Switching Cap values"; + container ixcdpsc-info { + when "../switching-cap-type = 'rrr-proto-l-switch-cap-psc4'" { + description + "../SwitchingCapType = + 'RRR_PROTO_LSWITCH_CAP_PSC4'"; + } + description + "IXCD PSC information"; + uses IXCD-LE-PSC-INFO; + } + container ixcdbw-sub-tlv { + when "../switching-cap-type = 'rrr-proto-l-switch-cap-otn-tdm'" { + description + "../SwitchingCapType = + 'RRR_PROTO_LSWITCH_CAP_OTN_TDM'"; + } + description + "Sub TLVs"; + uses IXCD-BW-SUB-TLV-ARR; + } + leaf switching-cap-type { + type uint8; + description + "SwitchingCapType"; + } + } + + grouping MPLS-TEL-OPT-IXCD-VAL { + description + "MPLS TE Link Optional TLV IXCD Data"; + container ixcd-switching-cap-type { + description + "Switching Cap type"; + uses IXCD-TLV-SWITCHINGCAP-VALUE-UNION; + } + leaf switching-cap { + type uint8; + description + "SCap"; + } + leaf rile-len-code { + type uint8; + description + "Rile LenCode"; + } + leaf fixed-scsi-count { + type uint32; + description + "Fixed SCSI count"; + } + leaf flex-scsi-count { + type uint32; + description + "Flexible SCSI count"; + } + list max-lspbw { + max-elements "8"; + description + "Max LSP bandwidth array"; + leaf entry { + type int64; + } + } + } + + grouping MPLS-TEL-OPT-SRLG-VAL { + description + "MPLS TE Link Optional TLV SRLG Data"; + leaf srlg-len { + type uint32; + description + "Length of SRLG TLV"; + } + leaf num-srl-gs { + type uint32; + description + "Number of SRLG TLVs"; + } + list mplste-link-srlg-data { + description + "Value of SRLG TLV"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TEL-OPT-BC-VAL { + description + "MPLS TE Link Optional TLV BC Data"; + leaf model-id { + type uint8; + description + "Allocation Model ID"; + } + leaf num-b-cs { + type uint32; + description + "Number of BC TLVs"; + } + list mplste-link-bc-bandwidth { + description + "Value of BC TLV"; + leaf entry { + type uint64; + } + } + } + + grouping MPLSTEL-TLV-VALUE-UNION { + description + "Value of TLVs"; + container bctlv-value { + when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-bc'" { + description + "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_BC'"; + } + description + "Value of Bandwidth Constraints TLV"; + uses MPLS-TEL-OPT-BC-VAL; + } + container srlgtlv-value { + when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-srlg'" { + description + "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_SRLG'"; + } + description + "Value of SRLG TLV"; + uses MPLS-TEL-OPT-SRLG-VAL; + } + container ixcdtlv-value { + when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-ixcd'" { + description + "../OpaqueTLVType = 'MPLS_TE_OPT_TLV_TYPE_IXCD'"; + } + description + "Value of IXCD TLV"; + uses MPLS-TEL-OPT-IXCD-VAL; + } + container unidtlv-value { + when "../opaque-tlv-type = 'mpls-te-opt-tlv-type-uni-delay'" { + description + "../OpaqueTLVType = + 'MPLS_TE_OPT_TLV_TYPE_UNI_DELAY'"; + } + description + "Value of Uni Delay TLV"; + uses MPLS-TEL-OPT-UNID-VAL; + } + leaf opaque-tlv-type { + type Mpls-te-opt-tlv; + description + "OpaqueTLVType"; + } + } + + grouping OSPF-SH-MPLS-TEL-OPT-TLV { + description + "MPLS TE Link Optional TLVs"; + leaf mplste-link-opt-tlv-type { + type Mpls-te-opt-tlv; + description + "Type of Opt TLV"; + } + leaf mplste-link-opt-tlv-len { + type uint16; + description + "Length of Opt TLV"; + } + list mplste-link-opt-tlv-value { + description + "Value of Opt TLV"; + uses MPLSTEL-TLV-VALUE-UNION; + } + } + + grouping OSPF-SH-MPLS-IXCD-CAP { + description + "Link switching capability"; + leaf link-switching-capability { + type uint8; + description + "Link Switching Capability"; + } + leaf link-encoding { + type uint8; + description + "Link Encoding"; + } + leaf minimum-lsp-bw { + type uint64; + units "byte/s"; + description + "Minimum LSP bandwidth (bytes/s)"; + } + leaf link-mtu { + type uint16; + units "byte"; + description + "Link MTU size (bytes)"; + } + list maximum-lsp-bw-per-priority { + max-elements "8"; + description + "Maximum LSP bandwidth for each priority + + (bytes/s)"; + leaf entry { + type uint64; + units "byte/s"; + } + } + } + + grouping OSPF-SH-MPLS-LINK-PROTOPRIO { + description + "Link protocol and priority capability"; + leaf link-protocol-capability { + type uint8; + description + "Link protocol capability"; + } + leaf link-protocol-priority { + type uint8; + description + "Link protocol priority"; + } + } + + grouping OSPF-SH-MPLS-BW { + description + "Available bandwidth for each priority level"; + list bw-per-priority { + max-elements "8"; + description + "Unreserved bandwidth for each priority (bytes/s)"; + leaf entry { + type uint64; + units "byte/s"; + } + } + } + + grouping OSPF-SH-MPLS-LINK { + description + "OSPF MPLS-TE link Information"; + container global-unreserve-bw-per-priority { + description + "Global pool unreserved bandwidth for each + priority (bytes/s)"; + uses OSPF-SH-MPLS-BW; + } + container sub-pool-unreserve-bw-per-priority { + description + "Sub pool unreserved bandwidth for each priority + (bytes/s)"; + uses OSPF-SH-MPLS-BW; + } + container link-protocol-priority-capability { + description + "Link protocol and protocol priority capability"; + uses OSPF-SH-MPLS-LINK-PROTOPRIO; + } + container link-sw-capability { + description + "Link switching capability"; + uses OSPF-SH-MPLS-IXCD-CAP; + } + container extended-admin-group-list { + description + "Extended Admin Group"; + uses OSPF-SH-MPLS-EAG; + } + leaf new-link { + type boolean; + description + "If true, Link is new"; + } + leaf fragment-id { + type uint32; + description + "Fragment ID for this link"; + } + leaf mpls-link-instance { + type uint32; + description + "Link instance"; + } + leaf mpls-link-type { + type Link-subnet; + description + "Type of link"; + } + leaf neighbor-system-id { + type inet:ipv4-address; + description + "Neighbor system ID"; + } + leaf link-address { + type inet:ipv4-address; + description + "The local interface address"; + } + leaf neighbor-ip-address { + type inet:ipv4-address; + description + "Neighbor IP address."; + } + leaf igp-metric { + type uint32; + description + "Link IGP metric"; + } + leaf te-metric { + type uint32; + description + "Link TE metric"; + } + leaf maximum-link-bw { + type uint32; + units "byte/s"; + description + "Maximum link bandwidth (bytes/s)"; + } + leaf maximum-link-reservable-bw { + type uint32; + units "byte/s"; + description + "Maximum link global pool reservable bandwidth + (bytes/s)"; + } + leaf maximum-link-sub-reservable-bw { + type uint32; + units "byte/s"; + description + "Maximum link subpool reservable bandwidth + (bytes/s)"; + } + leaf priority-count { + type int32; + description + "Number of priorities."; + } + leaf affinity { + type uint32; + description + "Affinity"; + } + leaf output-interface-id { + type uint32; + description + "Output interface ID"; + } + leaf input-interface-id { + type uint32; + description + "Input interface ID"; + } + leaf dste-in-use { + type boolean; + description + "A DS-TE Allocation Model in use"; + } + leaf dste-allocation-model-id { + type Igpte-lib-bw-model; + description + "DS-TE Allocation Model ID"; + } + leaf number-of-optional-tl-vs { + type uint8; + description + "Number of Optional TLVs"; + } + list mplste-link-opt-tlv { + description + "List of Optional TLVs"; + uses OSPF-SH-MPLS-TEL-OPT-TLV; + } + } + + grouping OSPF-SH-MPLS { + description + "OSPF MPLS-TE Information"; + leaf mpls-te-router-id { + type inet:ipv4-address; + description + "OSPF MPLS-TE router ID"; + } + leaf mpls-te-enabled { + type boolean; + description + "If true, MPLS-TE enabled in area"; + } + leaf mpls-te-initialized { + type boolean; + description + "If true, MPLS-TE initialized in the area"; + } + leaf mpls-te-area-id { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted decimal + format"; + } + leaf mpls-te-area-instance { + type uint32; + description + "Area information instance"; + } + leaf mpls-te-router-address { + type inet:ipv4-address; + description + "MPLS-TE router address"; + } + leaf mpls-te-next-fragment-id { + type uint32; + description + "Next MPLS-TE fragment ID"; + } + leaf spacious-fragment { + type boolean; + description + "If true, fragment has space for next link"; + } + list mpls-te-link { + description + "MPLS-TE links in the area"; + uses OSPF-SH-MPLS-LINK; + } + list mpls-te-fragment { + description + "MPLS TE fragments in the area"; + uses OSPF-SH-MPLS-FRAGMENT; + } + } + + grouping OSPF-SH-LSA-SUM { + description + "LSA Summary Entry"; + leaf header-lsa-type { + type Lsa; + description + "LSA Type"; + } + leaf header-lsa-age { + type uint16; + description + "Age of the LSA (s)"; + } + leaf header-ls-id { + type inet:ipv4-address; + description + "LSA ID"; + } + leaf header-advertising-router { + type inet:ipv4-address; + description + "Router ID of the Advertising Router"; + } + leaf header-sequence-number { + type uint32; + description + "Current LSA sequence number"; + } + leaf header-lsa-checksum { + type uint16; + description + "Checksum of the LSA"; + } + } + + grouping OSPF-SH-FLOOD-LIST { + description + "OSPF Flood List"; + leaf flood-interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf flood-pacing-timer { + type uint32; + description + "Time until next LS update due (ms)"; + } + leaf flood-lsa-count { + type uint32; + description + "Number of LSAs currently being flooded"; + } + list area-flood { + description + "Area scope floodlist"; + uses OSPF-SH-LSA-SUM; + } + list as-flood { + description + "AS scope floodlist"; + uses OSPF-SH-LSA-SUM; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang new file mode 100644 index 0000000..15dd465 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper-sub3.yang @@ -0,0 +1,1285 @@ +submodule Cisco-IOS-XR-ipv4-ospf-oper-sub3 { + belongs-to Cisco-IOS-XR-ipv4-ospf-oper { + prefix Cisco-IOS-XR-ipv4-ospf-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-ospf-oper-sub2 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ospf package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-02 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping OSPF-SH-IF-STATS-ENTRY { + description + "OSPF interface entry for statistics"; + leaf madj-intf { + type boolean; + description + "OSPF madj interface"; + } + leaf area-id { + type uint32; + description + "OSPF area id"; + } + leaf area-id-str { + type string; + description + "OSPF aread id string"; + } + list if-stat { + description + "OSPF interface statistics"; + leaf entry { + type uint32; + } + } + } + + grouping OSPF-SH-IF-STATS { + description + "OSPF interface statistics"; + leaf handle { + type xr:Interface-name; + description + "interface handle type"; + } + leaf if-name-str { + type string; + description + "interface name"; + } + list if-entry { + description + "interface entry"; + uses OSPF-SH-IF-STATS-ENTRY; + } + } + + grouping OSPF-SH-RAW-STATS { + description + "OSPF SH RAW STATS"; + leaf out-sent { + type uint32; + description + "out sent"; + } + leaf out-bytes-sent { + type uint32; + description + "out bytes sent"; + } + leaf out-no-conn-discarded { + type uint32; + description + "out no conn discarded"; + } + leaf out-null-src-discarded { + type uint32; + description + "out null src discarded"; + } + leaf out-no-pak-discarded { + type uint32; + description + "out no pak discarded"; + } + leaf out-ipv4-hdr-err-discarded { + type uint32; + description + "out ipv4 hdr err discarded"; + } + leaf out-send-pak-err-discarded { + type uint32; + description + "out send pak err discarded"; + } + leaf in-rcv { + type uint32; + description + "in rcv"; + } + leaf in-bytes-rcv { + type uint32; + description + "in bytes rcv"; + } + leaf in-short-msg-discarded { + type uint32; + description + "in short msg discarded"; + } + leaf in-no-mem-discarded { + type uint32; + description + "in no mem discarded"; + } + leaf in-raw-event { + type uint32; + description + "in raw event"; + } + leaf disconnects { + type uint32; + description + "disconnects"; + } + leaf in-standby-discarded { + type uint32; + description + "in standby discarded"; + } + leaf nsr-not-ready-discarded { + type uint32; + description + "nsr not ready discarded"; + } + leaf raw-connected { + type boolean; + description + "raw connected"; + } + leaf sl-raw-connected { + type boolean; + description + "sl raw connected"; + } + } + + grouping OSPF-SH-PROTOPKT-STATS { + description + "OSPF SH PROTOPKT STATS"; + leaf inputs { + type uint32; + description + "inputs"; + } + leaf input-hello { + type uint32; + description + "input hello"; + } + leaf input-dbdes { + type uint32; + description + "input dbdes"; + } + leaf input-dbdes-lsa { + type uint32; + description + "input dbdes lsa"; + } + leaf input-req { + type uint32; + description + "input req"; + } + leaf input-req-lsa { + type uint32; + description + "input req lsa"; + } + leaf input-lsupd { + type uint32; + description + "input lsupd"; + } + leaf input-lsupd-lsa { + type uint32; + description + "input lsupd lsa"; + } + leaf input-ack { + type uint32; + description + "input ack"; + } + leaf input-ack-lsa { + type uint32; + description + "input ack lsa"; + } + leaf checksumerr { + type uint32; + description + "checksumerr"; + } + leaf input-autherr { + type uint32; + description + "input autherr"; + } + leaf outputs { + type uint32; + description + "outputs"; + } + leaf output-hello { + type uint32; + description + "output hello"; + } + leaf output-dbdes { + type uint32; + description + "output dbdes"; + } + leaf output-dbdes-lsa { + type uint32; + description + "output dbdes lsa"; + } + leaf output-req { + type uint32; + description + "output req"; + } + leaf output-req-lsa { + type uint32; + description + "output req lsa"; + } + leaf output-lsupd { + type uint32; + description + "output lsupd"; + } + leaf output-lsupd-lsa { + type uint32; + description + "output lsupd lsa"; + } + leaf output-ack { + type uint32; + description + "output ack"; + } + leaf output-ack-lsa { + type uint32; + description + "output ack lsa"; + } + leaf output-autherr { + type uint32; + description + "output autherr"; + } + leaf h-input-dbdes { + type uint32; + description + "h input dbdes"; + } + leaf h-input-req { + type uint32; + description + "h input req"; + } + leaf h-input-lsupd { + type uint32; + description + "h input lsupd"; + } + leaf h-input-ack { + type uint32; + description + "h input ack"; + } + } + + grouping OSPF-SH-TE-STATS { + description + "OSPF SH TE STATS"; + leaf te-connected { + type boolean; + description + "te connected"; + } + leaf control-disconnects { + type uint32; + description + "control disconnects"; + } + leaf te-disconnects { + type uint32; + description + "te disconnects"; + } + leaf adj-gets { + type uint32; + description + "adj gets"; + } + leaf link-floods { + type uint32; + description + "link floods"; + } + leaf link-fragment-floods { + type uint32; + description + "link fragment floods"; + } + leaf lsp-gets { + type uint32; + description + "lsp gets"; + } + leaf tunnel-announces { + type uint32; + description + "tunnel announces"; + } + leaf total-tunnels { + type uint32; + description + "total tunnels"; + } + leaf control-batch-reads { + type uint32; + description + "control batch reads"; + } + leaf control-batch-writes { + type uint32; + description + "control batch writes"; + } + leaf link-batch-reads { + type uint32; + description + "link batch reads"; + } + leaf link-batch-writes { + type uint32; + description + "link batch writes"; + } + leaf adj-changes { + type uint32; + description + "adj changes"; + } + leaf fragment-deletes { + type uint32; + description + "fragment deletes"; + } + leaf fragment-announces { + type uint32; + description + "fragment announces"; + } + leaf data-trans-completes { + type uint32; + description + "data trans completes"; + } + leaf pce-listen { + type uint32; + description + "pce listen"; + } + leaf pce-stoplisten { + type uint32; + description + "pce stoplisten"; + } + leaf pce-flood { + type uint32; + description + "pce flood"; + } + leaf pce-get { + type uint32; + description + "pce get"; + } + leaf pce-br-lookup { + type uint32; + description + "pce br lookup"; + } + leaf pce-br-lkup-num-dests { + type uint32; + description + "pce br lkup num dests"; + } + leaf pce-br-resp-fails { + type uint32; + description + "pce br resp fails"; + } + leaf pce-node-announce-batches { + type uint32; + description + "pce node announce batches"; + } + leaf pce-node-delete-batches { + type uint32; + description + "pce node delete batches"; + } + leaf pce-num-node-announce { + type uint32; + description + "pce num node announce"; + } + leaf pce-num-node-delete { + type uint32; + description + "pce num node delete"; + } + leaf pce-node-send-fails { + type uint32; + description + "pce node send fails"; + } + leaf te-sr-path-reg-idt-recvd { + type boolean; + description + "te sr path reg idt recvd"; + } + leaf te-sr-idt-sent { + type boolean; + description + "te sr idt sent"; + } + leaf sr-num-area-enabled { + type uint32; + description + "sr num area enabled"; + } + } + + grouping OSPF-SH-IPFRR-STATS { + description + "OSPF SH IPFRR STATS"; + leaf fs-paths { + type uint32; + description + "Number of IPFRR paths"; + } + leaf fs-paths-eligible { + type uint32; + description + "Number of paths enabled for protection"; + } + leaf fs-paths-protected { + type uint32; + description + "Number of paths protected"; + } + } + + grouping NSR-PL-RECV-DROP-ARRAY { + description + "NSR PL RECV DROP ARRAY"; + list nsr-pl-recv-drop-array { + max-elements "16"; + description + "nsr pl recv drop array"; + leaf entry { + type uint32; + } + } + } + + grouping NSR-PL-SEND-DROP-ARRAY { + description + "NSR PL SEND DROP ARRAY"; + list nsr-pl-send-drop-array { + max-elements "7"; + description + "nsr pl send drop array"; + leaf entry { + type uint32; + } + } + } + + grouping NSR-PL-CLIENT-STATS-TYPE { + description + "NSR PL stats information"; + list num-sent { + max-elements "5"; + description + "Total sent"; + leaf entry { + type uint64; + } + } + list num-recv { + max-elements "6"; + description + "Total recvd"; + leaf entry { + type uint64; + } + } + list num-sent-drop { + max-elements "5"; + description + "Sent Error/drops"; + uses NSR-PL-SEND-DROP-ARRAY; + } + list num-recv-drop { + max-elements "6"; + description + "Recv Errors/drops"; + uses NSR-PL-RECV-DROP-ARRAY; + } + } + + grouping OSPF-SH-NCD-STATS { + description + "OSPF SH NCD STATS"; + list ncd-pri { + max-elements "2"; + description + "ncd pri"; + uses NSR-PL-CLIENT-STATS-TYPE; + } + } + + grouping BAG-TIMESPEC { + description + "BAG TIMESPEC"; + leaf second { + type uint32; + description + "Second"; + } + leaf nanosecond { + type uint32; + description + "Nanosecond"; + } + } + + grouping OSPF-SH-STATS-RIB-THREAD { + description + "OSPF SH STATS RIB THREAD"; + container rib-base-time { + description + "rib base time"; + uses BAG-TIMESPEC; + } + leaf wq-thread-active { + type boolean; + description + "wq thread active"; + } + leaf wq-dqtime { + type uint64; + description + "wq dqtime"; + } + leaf wqe-qtime { + type uint64; + description + "wqe qtime"; + } + leaf wq-len-cur { + type int32; + description + "wq len cur"; + } + leaf wq-len-max { + type int32; + description + "wq len max"; + } + leaf wq-total-queued { + type uint32; + description + "wq total queued"; + } + leaf wq-total-dequeued { + type uint32; + description + "wq total dequeued"; + } + leaf rib-version { + type uint32; + description + "rib version"; + } + leaf rib-pkts-sent { + type uint32; + description + "rib pkts sent"; + } + leaf rib-signals { + type uint32; + description + "rib signals"; + } + leaf rib-send-errs { + type uint32; + description + "rib send errs"; + } + leaf rib-queue-errs { + type uint32; + description + "rib queue errs"; + } + leaf rib-pfx-limit-errs { + type uint32; + description + "rib pfx limit errs"; + } + leaf rib-dequeue-errs { + type uint32; + description + "rib dequeue errs"; + } + leaf rib-empty-batches { + type uint32; + description + "rib empty batches"; + } + leaf rib-drop-before { + type uint32; + description + "rib drop before"; + } + leaf rib-drop-after { + type uint32; + description + "rib drop after"; + } + leaf rib-drop-conn { + type uint32; + description + "rib drop conn"; + } + leaf rib-table-not-created { + type uint32; + description + "rib table not created"; + } + leaf priority-level { + type string { + length "0..40"; + } + description + "priority level"; + } + leaf rib-base-clock { + type uint64; + description + "rib base clock"; + } + } + + grouping OSPF-SH-STATS-WORK-QUEUES { + description + "OSPF SH STATS WORK QUEUES"; + container internalwq { + description + "internalwq"; + uses OSPF-SH-STATS-RIB-THREAD; + } + list ribqueue { + max-elements "8"; + description + "ribqueue"; + uses OSPF-SH-STATS-RIB-THREAD; + } + } + + grouping OSPF-SH-NSR-STATS-PRI { + description + "OSPF SH NSR STATS PRI"; + leaf nsr-sched-pri { + type uint32; + description + "nsr sched pri"; + } + leaf nsr-sched-quant { + type uint8; + description + "nsr sched quant"; + } + leaf nsr-sched-remain-quant { + type uint8; + description + "nsr sched remain quant"; + } + leaf nsr-sched-evs-in-q { + type uint16; + description + "nsr sched evs in q"; + } + leaf nsr-sched-max-evs { + type uint16; + description + "nsr sched max evs"; + } + leaf nsr-sched-peak-q-len { + type uint16; + description + "nsr sched peak q len"; + } + leaf nsr-sched-evs-qd { + type uint64; + description + "nsr sched evs qd"; + } + leaf nsr-sched-enq-fails { + type uint64; + description + "nsr sched enq fails"; + } + leaf nsr-sched-evs-deqd { + type uint64; + description + "nsr sched evs deqd"; + } + } + + grouping OSPF-SH-NSR-SCHED-STATS { + description + "OSPF SH NSR SCHED STATS"; + leaf nsr-pulse-quant { + type int32; + description + "nsr pulse quant"; + } + leaf nsr-events-in-q { + type uint32; + description + "nsr events in q"; + } + leaf nsr-events-tx { + type uint64; + description + "nsr events tx"; + } + leaf nsr-events-rx { + type uint64; + description + "nsr events rx"; + } + leaf nsr-bad-pulses-rx { + type uint64; + description + "nsr bad pulses rx"; + } + leaf nsr-good-pulses-rx { + type uint64; + description + "nsr good pulses rx"; + } + leaf nsr-pulses-tx { + type uint64; + description + "nsr pulses tx"; + } + leaf nsr-pulse-tx-fails { + type uint64; + description + "nsr pulse tx fails"; + } + list nsr-pri { + max-elements "3"; + description + "nsr pri"; + uses OSPF-SH-NSR-STATS-PRI; + } + } + + grouping OSPF-SH-NSR-STATS { + description + "OSPF SH NSR STATS"; + container nsr-thd-sched { + description + "nsr thd sched"; + uses OSPF-SH-NSR-SCHED-STATS; + } + container nsr-rtr-thd-sched { + description + "nsr rtr thd sched"; + uses OSPF-SH-NSR-SCHED-STATS; + } + leaf nsr-rev { + type int32; + description + "nsr rev"; + } + leaf nsr-fsm-state { + type int32; + description + "nsr fsm state"; + } + leaf nsr-version { + type uint32; + description + "nsr version"; + } + leaf nsr-nodeid { + type uint32; + description + "nsr nodeid"; + } + leaf nsr-peer-version { + type uint32; + description + "nsr peer version"; + } + leaf nsr-peer-nodeid { + type uint32; + description + "nsr peer nodeid"; + } + leaf nsr-mtu { + type uint32; + description + "nsr mtu"; + } + leaf nsr-nbr-qad-qid { + type uint32; + description + "nsr nbr qad qid"; + } + leaf nsr-lsa-qad-qid { + type uint32; + description + "nsr lsa qad qid"; + } + leaf nsr-nbr-qad-mdata-count { + type uint32; + description + "nsr nbr qad mdata count"; + } + leaf nsr-lsa-qad-mdata-count { + type uint32; + description + "nsr lsa qad mdata count"; + } + leaf nsr-nbr-init-sync-pend-count { + type int32; + description + "nsr nbr init sync pend count"; + } + leaf nsr-lsa-init-sync-pend-count { + type int32; + description + "nsr lsa init sync pend count"; + } + leaf nsr-nbr-seq-no { + type uint32; + description + "nsr nbr seq no"; + } + leaf nsr-intf-seq-no { + type uint32; + description + "nsr intf seq no"; + } + leaf nsr-tmr-quant { + type int32; + description + "nsr tmr quant"; + } + leaf nsr-conn-to-active-attempts { + type uint64; + description + "nsr conn to active attempts"; + } + leaf nsr-conn-to-active-fails { + type uint64; + description + "nsr conn to active fails"; + } + leaf nsr-conn-to-active-opens { + type uint64; + description + "nsr conn to active opens"; + } + leaf nsr-conn-to-active-closes { + type uint64; + description + "nsr conn to active closes"; + } + leaf nsr-conn-to-active-errors { + type uint64; + description + "nsr conn to active errors"; + } + } + + grouping OSPF-SH-RIB-BATCH { + description + "OSPF SH RIB BATCH"; + leaf batches-sent { + type uint32; + description + "batches sent"; + } + leaf routes-sent { + type uint32; + description + "routes sent"; + } + leaf routes-pending { + type uint32; + description + "routes pending"; + } + leaf max-routes { + type uint32; + description + "max routes"; + } + leaf paths-sent { + type uint32; + description + "paths sent"; + } + leaf paths-pending { + type uint32; + description + "paths pending"; + } + leaf paths-add { + type uint32; + description + "paths add"; + } + leaf paths-add-errs { + type uint32; + description + "paths add errs"; + } + leaf paths-del { + type uint32; + description + "paths del"; + } + leaf paths-del-errs { + type uint32; + description + "paths del errs"; + } + leaf lfas-pending { + type uint32; + description + "lfas pending"; + } + leaf lfas-add { + type uint32; + description + "lfas add"; + } + leaf lfas-del { + type uint32; + description + "lfas del"; + } + leaf lfas-sent { + type uint32; + description + "lfas sent"; + } + leaf priority-level { + type string { + length "0..40"; + } + description + "priority level"; + } + } + + grouping OSPF-SH-RIB-BATCH-PRIORITY-QUEUES { + description + "OSPF SH RIB BATCH PRIORITY QUEUES"; + list priority-batch { + max-elements "8"; + description + "priority batch"; + uses OSPF-SH-RIB-BATCH; + } + } + + grouping OSPF-EDM-AREA-SUMM { + description + "OSPF EDM AREA SUMM"; + leaf area-id { + type uint32; + description + "area id"; + } + leaf spf-count { + type uint32; + description + "spf count"; + } + } + + grouping OSPF-HEADER-INFO { + description + "OSPF HEADER INFO"; + leaf router-id { + type inet:ipv4-address; + description + "router id"; + } + leaf spf-count { + type uint32; + description + "spf count"; + } + list area-summ { + description + "area summ"; + uses OSPF-EDM-AREA-SUMM; + } + } + + grouping OSPF-EDM-SPF-AREA-STATS { + description + "OSPF EDM SPF AREA STATS"; + container spf-time { + description + "spf time"; + uses OSPF-SPF-TIME; + } + leaf area-id { + type uint32; + description + "area id"; + } + list lsa-type-cnt { + max-elements "7"; + description + "lsa type cnt"; + leaf entry { + type uint32; + } + } + } + + grouping OSPF-LSA-CHANGE { + description + "OSPF LSA CHANGE"; + leaf area-id { + type uint32; + description + "area id"; + } + leaf adv-rtr { + type inet:ipv4-address; + description + "adv rtr"; + } + leaf id { + type inet:ipv4-address; + description + "id"; + } + leaf type { + type uint8; + description + "type"; + } + leaf flush { + type boolean; + description + "flush"; + } + } + + grouping OSPF-SPF-TIME { + description + "OSPF SPF TIME"; + leaf spf-dijkstra { + type uint32; + description + "spf dijkstra"; + } + leaf spf-intra-prefix { + type uint32; + description + "spf intra prefix"; + } + leaf spf-intra-prefix-del { + type uint32; + description + "spf intra prefix del"; + } + leaf spf-inter-prefix { + type uint32; + description + "spf inter prefix"; + } + leaf spf-inter-prefix-del { + type uint32; + description + "spf inter prefix del"; + } + leaf spf-ext-prefix { + type uint32; + description + "spf ext prefix"; + } + leaf spf-ext-prefix-del { + type uint32; + description + "spf ext prefix del"; + } + } + + grouping OSPF-RUNTIME-STATS { + description + "OSPF RUNTIME STATS"; + container gbl-spf-time { + description + "gbl spf time"; + uses OSPF-SPF-TIME; + } + leaf spf-start-time { + type uint32; + description + "spf start time"; + } + leaf lsa-change-cnt { + type int16; + description + "lsa change cnt"; + } + list lsa-info { + max-elements "5"; + description + "lsa info"; + uses OSPF-LSA-CHANGE; + } + list area-stat { + description + "area stat"; + uses OSPF-EDM-SPF-AREA-STATS; + } + } + + grouping OSPF-SH-STAT-PARTIAL { + description + "OSPF SH STAT PARTIAL"; + container sp-start-time { + description + "sp start time"; + uses OSPF-SH-TIME; + } + container sp-duration { + description + "sp duration"; + uses OSPF-SH-TIME; + } + leaf sp-adv-rtr-id { + type uint32; + description + "sp adv rtr id"; + } + leaf sp-dest-count { + type uint32; + description + "sp dest count"; + } + leaf sp-dest-addr { + type uint32; + description + "sp dest addr"; + } + } + + grouping OSPF-SH-STAT-INTRA { + description + "OSPF SH STAT INTRA"; + container si-start-time { + description + "si start time"; + uses OSPF-SH-TIME; + } + container si-duration { + description + "si duration"; + uses OSPF-SH-TIME; + } + leaf si-area-id-str { + type string; + description + "si area id str"; + } + leaf si-change-flags { + type uint16; + description + "si change flags"; + } + } + + grouping OSPF-SH-STATS-SPF { + description + "OSPF SH STATS SPF"; + container spf-header { + description + "spf header"; + uses OSPF-HEADER-INFO; + } + list os-runtime { + description + "os runtime"; + uses OSPF-SH-STAT-INTRA; + } + list os-sum-runtime { + description + "os sum runtime"; + uses OSPF-SH-STAT-PARTIAL; + } + list os-ex-runtime { + description + "os ex runtime"; + uses OSPF-SH-STAT-PARTIAL; + } + list runtime { + description + "runtime"; + uses OSPF-RUNTIME-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper.yang new file mode 100644 index 0000000..133ac70 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ospf-oper.yang @@ -0,0 +1,1170 @@ +module Cisco-IOS-XR-ipv4-ospf-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-ospf-oper"; + prefix ipv4-ospf-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-ospf-oper-sub3 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-ipv4-ospf-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-ipv4-ospf-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-ospf package operational data. + + This module contains definitions + for the following management objects: + ospf: OSPF operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-01-02 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospf-prefix-length { + type uint32 { + range "0..32"; + } + description + "Ospf prefix length"; + } + + typedef Ospf-ls { + type enumeration { + enum "router" { + value 1; + description + "Router LSA"; + } + enum "network" { + value 2; + description + "Network LSA"; + } + enum "summary" { + value 3; + description + "Summary LSA"; + } + enum "asbr-summary" { + value 4; + description + "ASBR-Summary LSA"; + } + enum "external" { + value 5; + description + "External LSA"; + } + enum "nssa-external" { + value 7; + description + "NSSA External LSA"; + } + enum "opaque-link" { + value 9; + description + "Opaque LSALink Scope"; + } + enum "opaque-area" { + value 10; + description + "Opaque LSA Area Scope"; + } + enum "opaque-as" { + value 11; + description + "Opaque LSA AS Scope"; + } + } + description + "Ospf ls"; + } + + grouping ROUTE { + description + "Common node of route-table, + multicast-intact-route-table"; + list route { + description + "An OSPF route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + + grouping FLOOD-LIST { + description + "Common node of flood-list-table, + flood-list-area-table"; + list flood { + key "interface-name"; + description + "Flooding information for a specific interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPF-SH-FLOOD-LIST; + } + } + + grouping BORDER-ROUTER-TABLE { + description + "Common node of default-vrf, vrf"; + container border-routers { + description + "Border router table"; + list border-router { + key "border-router-id"; + description + "Information for a particular border router"; + leaf border-router-id { + type inet:ipv4-address-no-zone; + description + "Router address"; + } + uses OSPF-SH-BORDER-ROUTER; + } + } + } + + grouping AREA-TABLE { + description + "Common node of default-vrf, vrf"; + container areas { + description + "Area table"; + list area { + key "area-id"; + description + "Container for per area data"; + container flood-list-area-table { + description + "Area specific flood list table"; + uses FLOOD-LIST; + } + leaf area-id { + type int32; + description + "Area ID"; + } + uses NEIGHBOR-TABLE; + uses INTERFACE-BRIEF-TABLE; + uses REQUEST-LIST-TABLE; + uses RETRANSMISSION-LIST-TABLE; + uses AREA-STATISTICS; + uses NEIGHBOR-DETAIL-TABLE; + uses INTERFACE-TABLE; + } + } + } + + grouping INTERFACE-STATS-TABLE { + description + "Common node of statistics, area-statistics"; + container interface-stats-entries { + description + "Statistics innformation Interface table"; + list interface-stats-entry { + key "interface-name"; + description + "Statistics information for a specific interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPF-SH-IF-STATS; + } + } + } + + grouping STATISTICS { + description + "Common node of default-vrf, vrf"; + container statistics { + description + "Container for Statistics"; + container spf-stats { + description + "OSPF SPF statistics"; + uses OSPF-SH-STATS-SPF; + } + container rib-batch-stats { + description + "Stats concerning RIB route updates using the + Batching API"; + uses OSPF-SH-RIB-BATCH-PRIORITY-QUEUES; + } + container issu-stats { + description + "OSPF ISSU statistics"; + uses OSPF-SH-NSR-STATS; + } + container rib-thread-stats { + description + "OSPF RIB thread statistics"; + uses OSPF-SH-STATS-WORK-QUEUES; + } + container nsr-pl-stats { + description + "OSPF NSR packet library statistics"; + uses OSPF-SH-NCD-STATS; + } + container nsr-stats { + description + "OSPF NSR thread statistics"; + uses OSPF-SH-NSR-STATS; + } + container frr-stats { + description + "OSPF fast-reroute statistics"; + uses OSPF-SH-IPFRR-STATS; + } + container te-stats { + description + "OSPF TE IO statistics"; + uses OSPF-SH-TE-STATS; + } + container protocol-stats { + description + "OSPF Protocol statistics"; + uses OSPF-SH-PROTOPKT-STATS; + } + container raw-io-stats { + description + "OSPF RAW IO statistics"; + uses OSPF-SH-RAW-STATS; + } + uses INTERFACE-STATS-TABLE; + } + } + + grouping OSPF-SUMMARY { + description + "Common node of default-vrf, vrf"; + container ospf-summary { + description + "Fast-reroute topology information"; + uses OSPF-SH-STATS-AGGT; + } + } + + grouping PROCESS-INFORMATION { + description + "Common node of default-vrf, vrf"; + container process-information { + description + "Container for OSPF Process information"; + container protocol-areas { + description + "Protocol Area table"; + list protocol-area { + description + "Area information"; + leaf area-id { + type int32; + description + "Area ID if in integer format"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Area ID if in IP address format"; + } + uses OSPF-SH-PROTO-AREA; + } + } + container protocol-summary { + description + "Basic OSPF protocol information"; + uses OSPF-SH-PROTOCOL; + } + container redistributions { + description + "Redistribution information table"; + list redistribution { + description + "Redistribution information"; + leaf protocol-name { + type xr:Cisco-ios-xr-string; + description + "Protocol name"; + } + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "Process name"; + } + uses OSPF-SH-REDIST; + } + } + container process-areas { + description + "Process Area table"; + list process-area { + description + "Detailed information for a particular area"; + leaf area-id { + type int32; + description + "Area ID if in integer format"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Area ID if in IP address format"; + } + uses OSPF-SH-AREA; + } + } + container process-summary { + description + "Basic OSPF summary information"; + uses OSPF-SH-SUMMARY; + } + } + } + + grouping ADJACENCY-INFORMATION { + description + "Common node of default-vrf, vrf"; + container adjacency-information { + description + "Container for OSPF Interfaces"; + uses NEIGHBOR-TABLE; + uses REQUEST-LIST-TABLE; + uses RETRANSMISSION-LIST-TABLE; + uses NEIGHBOR-DETAIL-TABLE; + } + } + + grouping RETRANSMISSION-LIST-TABLE { + description + "Common node of adjacency-information, area"; + container retransmissions { + description + "Retransmission list table"; + list retransmission { + description + "Retransmission list for a particular adjacency"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPF-SH-RETRANS-LIST; + } + } + } + + grouping LSA-SUMMARY-TABLE { + description + "Common node of database, database-area"; + container lsa-summaries { + description + "Link state advertisement summary table"; + list lsa-summary { + description + "LSA summary information"; + leaf area-id { + type int32; + description + "Area ID"; + } + leaf ls-type { + type Ospf-ls; + description + "Link state type"; + } + leaf ls-id { + type inet:ipv4-address-no-zone; + description + "Link state ID"; + } + leaf advertising-router { + type inet:ipv4-address-no-zone; + description + "Advertising Router ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPF-SH-DATABASE; + } + } + } + + grouping ROUTE-INFORMATION { + description + "Common node of default-vrf, vrf"; + container route-information { + description + "Container for OSPF routing tables"; + container backup-routes { + description + "OSPF Route Table Including Backup Paths"; + list backup-route { + description + "OSPF route including backup paths"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY-BACKUP; + } + } + container multicast-intact-route-table { + description + "OSPF Route Table including multicast-intact + routes"; + uses ROUTE; + } + container multicast-intact-backup-routes { + description + "OSPF Route Table Including Multicast intact + Backup Paths"; + list multicast-intact-backup-route { + description + "OSPF route including multicast backup paths"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY-BACKUP; + } + } + container summary-information { + description + "OSPF route summary statistics"; + uses OSPF-SH-ROUTE-SUMMARY; + } + container connected-routes { + description + "OSPF Connected Route Table"; + list connected-route { + description + "Connected route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + container local-routes { + description + "OSPF Local Route Table"; + list local-route { + description + "Local route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + container route-areas { + description + "OSPF Area Route Table"; + list route-area { + key "area-id"; + description + "OSPF Area Route"; + container multicast-intact-backup-route-areas { + description + "OSPF Route Table Including Multicast Intace + Backup Paths in an area"; + list multicast-intact-backup-route-area { + description + "OSPF route including Multicast intact backup + paths"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY-BACKUP; + } + } + container connected-route-areas { + description + "OSPF Connected Route Table in an area"; + list connected-route-area { + description + "Connected route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + container backup-route-areas { + description + "OSPF Route Table Including Backup Paths in an + area"; + list backup-route-area { + description + "OSPF route including backup paths"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY-BACKUP; + } + } + container route-area-informations { + description + "OSPF Area Route Entry"; + list route-area-information { + description + "An OSPF route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + container multicast-intact-route-areas { + description + "OSPF Area multicast-intact included route + entry"; + list multicast-intact-route-area { + description + "A Muliticast OSPF route in an area"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + container summary-area-information { + description + "OSPF route summary statistics"; + uses OSPF-SH-ROUTE-SUMMARY; + } + container local-route-areas { + description + "OSPF Local Route Table"; + list local-route-area { + description + "Local route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-TOPOLOGY; + } + } + leaf area-id { + type int32; + description + "Area ID"; + } + } + } + container route-table { + description + "OSPF Route Table"; + uses ROUTE; + } + container external-routes { + description + "OSPF External Route Table"; + list external-route { + description + "OSPF external route"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type Ospf-prefix-length; + description + "Prefix Length"; + } + uses OSPF-SH-ROUTE-EXT; + } + } + } + } + + grouping FAST-REROUTE { + description + "Common node of default-vrf, vrf"; + container fast-reroute { + description + "Container for FastReroute"; + container topologies { + description + "Fast-reroute topology information table"; + list topology { + description + "Fast-reroute topology information"; + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Router ID"; + } + leaf area-id { + type int32; + description + "Area ID"; + } + uses OSPF-SH-IPFRR-TOPO; + } + } + } + } + + grouping POLICY-MI { + description + "Common node of policy-ipv4-active, + policy-ipv4-backup"; + list policy-mi { + key "mi-id"; + description + "Mapping Item"; + leaf mi-id { + type xr:Cisco-ios-xr-string; + description + "Mapping Item ID (0, 1, 2, ...)"; + } + uses SRMS-MI-T-B; + } + } + + grouping MPLS-TE { + description + "Common node of default-vrf, vrf"; + container mpls-te { + description + "Container for MPLS TE"; + container mpls-te-links { + description + "MPLS TE link information table"; + list mpls-te-link { + key "area-id"; + description + "MPLS TE link information"; + leaf area-id { + type int32; + description + "Area ID"; + } + uses OSPF-SH-MPLS; + } + } + container mpls-te-fragments { + description + "MPLS TE Fragment information table"; + list mpls-te-fragment { + key "area-id"; + description + "MPLS TE Fragment"; + leaf area-id { + type int32; + description + "Area ID"; + } + uses OSPF-SH-MPLS; + } + } + } + } + + grouping FLOOD-LIST-TABLE { + description + "Common node of default-vrf, vrf"; + container flood-list-table { + description + "Flood list table"; + uses FLOOD-LIST; + } + } + + grouping SUMMARY-PREFIX-TABLE { + description + "Common node of default-vrf, vrf"; + container summary-prefixes { + description + "Summary prefix table"; + list summary-prefix { + description + "Summary prefix information"; + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Summary Prefix"; + } + leaf netmask { + type inet:ipv4-address-no-zone; + description + "Summary Mask"; + } + uses OSPF-SH-SUMMARY-ADDRESS; + } + } + } + + grouping NEIGHBOR-DETAIL-TABLE { + description + "Common node of adjacency-information, area"; + container neighbor-details { + description + "Neighbor detail table"; + list neighbor-detail { + description + "A single neighbor's detail information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPF-SH-NEIGHBOR-DETAIL; + } + } + } + + grouping REQUEST-LIST-TABLE { + description + "Common node of adjacency-information, area"; + container requests { + description + "Request List table"; + list request { + description + "Request list for a particular adjacency"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPF-SH-REQUEST-LIST; + } + } + } + + grouping AREA-STATISTICS { + description + "Common node of default-vrf, vrf, area"; + container area-statistics { + description + "Container for Statistics"; + uses INTERFACE-STATS-TABLE; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of interface-information, area"; + container interfaces { + description + "OSPF Interface Table"; + list interface { + key "interface-name"; + description + "OSPF interface information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPF-SH-INTERFACE; + } + } + } + + grouping INTERFACE-BRIEF-TABLE { + description + "Common node of interface-information, area"; + container interface-briefs { + description + "OSPF Interface Brief Table"; + list interface-brief { + key "interface-name"; + description + "OSPF interface brief information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + uses OSPF-SH-IF-BRIEF; + } + } + } + + grouping DATABASE { + description + "Common node of default-vrf, vrf"; + container database { + description + "OSPF Link State Database"; + container database-areas { + description + "Per-Area view of Link state database"; + list database-area { + key "area-id"; + description + "Per-Area Link State Database data"; + leaf area-id { + type int32; + description + "Area ID"; + } + uses LSA-TABLE; + uses LSA-SUMMARY-TABLE; + } + } + container database-summaries { + description + "Link State database summary table"; + list database-summary { + key "area-id"; + description + "Link State Database summary for a particular + area"; + leaf area-id { + type int32; + description + "Area ID"; + } + uses OSPF-SH-DB-AREA-SUM; + } + } + container database-summary-as { + description + "Link State Database summary for the AS"; + uses OSPF-SH-DB-AS-SUM; + } + uses LSA-TABLE; + uses LSA-SUMMARY-TABLE; + } + } + + grouping INTERFACE-INFORMATION { + description + "Common node of default-vrf, vrf"; + container interface-information { + description + "Container for OSPF Interfaces/links"; + container virtual-links { + description + "Virtual Link table"; + list virtual-link { + key "virtual-link-name"; + description + "Information for one Virtual link"; + leaf virtual-link-name { + type xr:Cisco-ios-xr-string; + description + "Virtual link"; + } + uses OSPF-SH-VIRTUAL-LINKS; + } + } + uses INTERFACE-BRIEF-TABLE; + uses INTERFACE-TABLE; + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of adjacency-information, area"; + container neighbors { + description + "Neighbor table"; + list neighbor { + description + "Neighbor information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPF-SH-NEIGHBOR; + } + } + } + + grouping LSA-TABLE { + description + "Common node of database-area, database"; + container lsas { + description + "Link State Database Table"; + list lsa { + description + "Link State Advertisement information"; + leaf area-id { + type int32; + description + "Area ID"; + } + leaf ls-type { + type Ospf-ls; + description + "Link state type"; + } + leaf ls-id { + type inet:ipv4-address-no-zone; + description + "Link state ID"; + } + leaf advertising-router { + type inet:ipv4-address-no-zone; + description + "Advertising Router ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "InterfaceName"; + } + uses OSPF-SH-DATABASE-DETAIL; + } + } + } + + container ospf { + config false; + description + "OSPF operational data"; + container processes { + description + "Table for each process"; + list process { + key "process-name"; + description + "Operational data for a particular OSPF process"; + container vrfs { + description + "Table for each VRF"; + list vrf { + key "vrf-name"; + description + "Operational data for a particular VRF + (instance) in the OSPF process"; + container interface-vrf-information { + description + "Container for OSPF Interfaces/links under a + VRF"; + container sham-links { + description + "Sham Link table"; + list sham-link { + key "sham-link-name"; + description + "Information for one Sham link"; + leaf sham-link-name { + type xr:Cisco-ios-xr-string; + description + "Sham link"; + } + uses OSPF-SH-SHAM-LINKS; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses FLOOD-LIST-TABLE; + uses MPLS-TE; + uses STATISTICS; + uses ADJACENCY-INFORMATION; + uses ROUTE-INFORMATION; + uses INTERFACE-INFORMATION; + uses BORDER-ROUTER-TABLE; + uses PROCESS-INFORMATION; + uses AREA-TABLE; + uses DATABASE; + uses SUMMARY-PREFIX-TABLE; + uses AREA-STATISTICS; + uses OSPF-SUMMARY; + uses FAST-REROUTE; + } + } + container srms { + description + "Segment Routing Mapping Server operational + data"; + container policy { + description + "Policy operational data"; + container policy-ipv4 { + description + "IPv4 policy operational data"; + container policy-ipv4-backup { + description + "IPv4 backup policy operational data"; + uses POLICY-MI; + } + container policy-ipv4-active { + description + "IPv4 active policy operational data"; + uses POLICY-MI; + } + } + } + } + container default-vrf { + description + "Operational data for the default VRF + (instance) in the OSPF process"; + uses FLOOD-LIST-TABLE; + uses MPLS-TE; + uses STATISTICS; + uses ADJACENCY-INFORMATION; + uses ROUTE-INFORMATION; + uses INTERFACE-INFORMATION; + uses BORDER-ROUTER-TABLE; + uses PROCESS-INFORMATION; + uses AREA-TABLE; + uses DATABASE; + uses SUMMARY-PREFIX-TABLE; + uses AREA-STATISTICS; + uses OSPF-SUMMARY; + uses FAST-REROUTE; + } + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "OSPF process"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-cfg.yang new file mode 100644 index 0000000..deef034 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-cfg.yang @@ -0,0 +1,1744 @@ +module Cisco-IOS-XR-ipv4-pim-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-cfg"; + prefix ipv4-pim-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ipv4-autorp-datatypes { + prefix dt1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-pim package configuration. + + This module contains definitions + for the following management objects: + pim: PIM configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-22 { + description + "Updated node naming to be consistent with the CLI"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pim-bsr-priority { + type uint32 { + range "1..255"; + } + description + "Pim bsr priority"; + } + + typedef Auto-rp-announce-period { + type uint32 { + range "1..600"; + } + description + "Auto rp announce period"; + } + + typedef Pim-multipath { + type enumeration { + enum "enable" { + value 0; + description + "Enable PIM multipath"; + } + enum "interface-hash" { + value 1; + description + "Enable PIM multipath with interface based + hashing"; + } + enum "source-hash" { + value 2; + description + "Enable PIM multipath with source based hashing"; + } + enum "source-next-hop-hash" { + value 3; + description + "Enable PIM multipath with source next-hop + hashing"; + } + enum "source-group-hash" { + value 4; + description + "Enable PIM multipath with source, group based + hashing"; + } + } + description + "Pim multipath"; + } + + typedef Auto-rp-ttl { + type uint32 { + range "1..255"; + } + description + "Auto rp ttl"; + } + + typedef Pim-protocol-mode { + type enumeration { + enum "sm" { + value 0; + description + "Sparse Mode"; + } + enum "bidir" { + value 1; + description + "Bidirectional"; + } + } + description + "Pim protocol mode"; + } + + grouping SUPPRESS-DATA-REGISTERS { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf suppress-data-registers { + type empty; + description + "Suppress data registers after initial state + setup"; + } + } + + grouping ROUTE-POLICY { + description + "Common node of rpf, rpf-redirect"; + leaf route-policy { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Route policy to select RPF topology"; + } + } + + grouping INTERFACE-ENABLE { + description + "Common node of interface, interface, interface"; + leaf interface-enable { + type boolean; + description + "Enable PIM processing on the interface"; + } + } + + grouping BSR-BORDER { + description + "Common node of interface, interface, interface"; + leaf bsr-border { + type boolean; + description + "BSR Border configuration for Interface"; + } + } + + grouping JOIN-PRUNE-MTU { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf join-prune-mtu { + type uint32 { + range "576..65535"; + } + units "byte"; + description + "Join-Prune MTU in Bytes"; + } + } + + grouping NEIGHBOR-CHECK-ON-RECEIVE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf neighbor-check-on-receive { + type empty; + description + "Enable PIM neighbor checking when receiving PIM + messages"; + } + } + + grouping RPF { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container rpf { + description + "Configure RPF options"; + uses ROUTE-POLICY; + } + } + + grouping MOFRR { + description + "Common node of ipv4, ipv4"; + container mofrr { + description + "Multicast Only Fast Re-Route"; + container clone-joins { + description + "Clone multicast joins"; + list clone-join { + key "source primary backup prefix-length"; + description + "Clone S,G joins as S1,G joins and S2,G joins"; + leaf source { + type inet:ipv4-address-no-zone; + description + "Original source address (S)"; + } + leaf primary { + type inet:ipv4-address-no-zone; + description + "Primary cloned address (S1)"; + } + leaf backup { + type inet:ipv4-address-no-zone; + description + "Backup cloned address (S2)"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Mask length"; + } + } + } + container clone-sources { + description + "Clone multicast traffic"; + list clone-source { + key "source primary backup prefix-length"; + description + "Clone S,G traffic as S1,G traffic and S2,G + traffic"; + leaf source { + type inet:ipv4-address-no-zone; + description + "Original source address (S)"; + } + leaf primary { + type inet:ipv4-address-no-zone; + description + "Primary cloned address (S1)"; + } + leaf backup { + type inet:ipv4-address-no-zone; + description + "Backup cloned address (S2)"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Mask length"; + } + } + } + leaf rib { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list specifying SG that should do RIB + MOFRR"; + } + leaf non-revertive { + type empty; + description + "Non-revertive Multicast Only Fast Re-Route"; + } + leaf enable { + type empty; + description + "Enable Multicast Only FRR"; + } + leaf flow { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list specifying SG that should do FLOW + MOFRR"; + } + } + } + + grouping EMBEDDED-RP { + description + "Common node of ipv6, ipv6"; + container embedded-rp-addresses { + description + "Set Embedded RP processing support"; + list embedded-rp-address { + key "rp-address"; + description + "Set Embedded RP processing support"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address of the Rendezvous Point"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + mandatory true; + description + "Access list of groups that should map to a + given RP"; + } + } + } + } + + grouping NEIGHBOR-CHECK-ON-SEND { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf neighbor-check-on-send { + type empty; + description + "Enable PIM neighbor checking when sending + join-prunes"; + } + } + + grouping EMBEDDED-RP-DISABLE { + description + "Common node of ipv6, ipv6"; + leaf embedded-rp-disable { + type empty; + description + "Set Embedded RP processing support"; + } + } + + grouping BSR { + description + "Common node of ipv4, ipv4"; + container bsr { + description + "PIM BSR configuration"; + container candidate-bsr { + presence "Indicates a candidate-bsr node is configured."; + description + "PIM Candidate BSR configuration"; + leaf address { + type inet:ip-address-no-zone; + mandatory true; + description + "BSR Address configured"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + default "30"; + description + "Hash Mask Length for this candidate BSR"; + } + leaf priority { + type Pim-bsr-priority; + default "1"; + description + "Priority of the Candidate BSR"; + } + } + uses CANDIDATE-RP-TABLE; + } + } + + grouping IPV6-PIM-CFG-BSR { + description + "Common node of ipv4, ipv4Common node of ipv6, + ipv6"; + container bsr { + description + "PIM BSR configuration"; + container candidate-bsr { + presence "Indicates a candidate-bsr node is configured."; + description + "PIM Candidate BSR configuration"; + leaf address { + type inet:ipv6-address-no-zone; + mandatory true; + description + "BSR Address configured"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + default "126"; + description + "Hash Mask Length for this candidate BSR"; + } + leaf priority { + type Pim-bsr-priority; + default "1"; + description + "Priority of the Candidate BSR"; + } + } + uses CANDIDATE-RP-TABLE; + } + } + + grouping SPARSE-MODE-RP-ADDRESS-TABLE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container sparse-mode-rp-addresses { + description + "Configure Sparse-Mode Rendezvous Point"; + list sparse-mode-rp-address { + key "rp-address"; + description + "Address of the Rendezvous Point"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address of Rendezvous Point"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list of groups that should map to a + given RP"; + } + leaf auto-rp-override { + type boolean; + description + "TRUE Indicates if static RP config overrides + AutoRP and BSR"; + } + } + } + } + + grouping INHERITABLE-DEFAULTS { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container inheritable-defaults { + description + "Inheritable defaults"; + leaf convergence-timeout { + type uint32 { + range "1800..2400"; + } + units "second"; + description + "Convergency timeout in seconds"; + } + uses HELLO-INTERVAL; + uses PROPAGATION-DELAY; + uses DR-PRIORITY; + uses JOIN-PRUNE-MTU; + uses JP-INTERVAL; + uses OVERRIDE-INTERVAL; + } + } + + grouping AUTO-RP-DISABLE { + description + "Common node of ipv4, ipv4"; + leaf auto-rp-disable { + type empty; + description + "Disable Rendezvous Point discovery through the + AutoRP protocol"; + } + } + + grouping ROUTES { + description + "Common node of maximum, maximum"; + container routes { + presence "Indicates a routes node is configured."; + description + "Override default maximum for number of routes"; + leaf maximum-routes { + type uint32 { + range "1..200000"; + } + mandatory true; + description + "Maximum number of PIM routes"; + } + leaf warning-threshold { + type uint32 { + range "1..200000"; + } + default "100000"; + description + "Set threshold to print warning"; + } + } + } + + grouping RP-STATIC-DENY { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf rp-static-deny { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Configure static RP deny range"; + } + } + + grouping SSM { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container ssm { + description + "Configure IP Multicast SSM"; + leaf disable { + type boolean; + default "false"; + description + "TRUE if SSM is disabled on this router"; + } + leaf range { + type string { + length "1..64"; + } + description + "Access list of groups enabled with SSM"; + } + } + } + + grouping OVERRIDE-INTERVAL { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf override-interval { + type uint32 { + range "400..65535"; + } + units "millisecond"; + description + "Override interval in milliseconds"; + } + } + + grouping CONVERGENCE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container convergence { + description + "Configure convergence parameters"; + leaf rpf-conflict-join-delay { + type uint32 { + range "0..15"; + } + units "second"; + description + "Dampen first join if RPF path is through one of + the downstream neighbor"; + } + leaf link-down-prune-delay { + type uint32 { + range "0..60"; + } + units "second"; + description + "Delay prunes if route join state transitions to + not-joined on link down"; + } + } + } + + grouping REGISTER-SOURCE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf register-source { + type xr:Interface-name; + description + "Source address to use for register messages"; + } + } + + grouping CANDIDATE-RP-TABLE { + description + "Common node of bsr, bsr"; + container candidate-rps { + description + "PIM RP configuration"; + list candidate-rp { + key "address mode"; + description + "Address of PIM SM BSR Candidate-RP"; + leaf address { + type inet:ip-address-no-zone; + description + "Address of Candidate-RP"; + } + leaf mode { + type Pim-protocol-mode; + description + "SM or Bidir"; + } + leaf group-list { + type string { + length "1..64"; + } + description + "Access-list specifying the group range for the + Candidate-RP"; + } + leaf priority { + type Pim-bsr-priority; + default "192"; + description + "Priority of the CRP"; + } + leaf interval { + type uint32 { + range "30..600"; + } + default "60"; + description + "Advertisement interval"; + } + } + } + } + + grouping PROPAGATION-DELAY { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf propagation-delay { + type uint32 { + range "100..32767"; + } + units "millisecond"; + description + "Propagation delay in milli seconds"; + } + } + + grouping GROUP-MAPPINGS-AUTO-RP { + description + "Common node of maximum, maximum"; + container group-mappings-auto-rp { + presence "Indicates a group-mappings-auto-rp node is configured."; + description + "Override default maximum for number of group + mappings from autorp mapping agent"; + leaf maximum-group-ranges-auto-rp { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Maximum number of PIM group mappings from + autorp"; + } + leaf threshold-group-ranges-auto-rp { + type uint32 { + range "1..10000"; + } + default "450"; + description + "Warning threshold number of PIM group mappings + from autorp"; + } + } + } + + grouping SPT-THRESHOLD-INFINITY { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf spt-threshold-infinity { + type string; + description + "Configure threshold of infinity for switching to + SPT on last-hop"; + } + } + + grouping NEIGHBOR-FILTER { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf neighbor-filter { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list of neighbors to be filtered"; + } + } + + grouping IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER { + description + "Common node of ipv4, ipv4, ipv6, ipv6Common node + of interface, interface, interface"; + leaf neighbor-filter { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list of neighbors to be filtered"; + } + } + + grouping ROUTE-INTERFACES { + description + "Common node of maximum, maximum"; + container route-interfaces { + presence "Indicates a route-interfaces node is configured."; + description + "Override default maximum for number of + route-interfaces"; + leaf maximum-route-interfaces { + type uint32 { + range "1..1100000"; + } + mandatory true; + description + "Maximum number of PIM route-interfaces"; + } + leaf warning-threshold { + type uint32 { + range "1..1100000"; + } + default "300000"; + description + "Set threshold to print warning"; + } + } + } + + grouping SSM-ALLOW-OVERRIDE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf ssm-allow-override { + type empty; + description + "Allow SSM ranges to be overridden by more + specific ranges"; + } + } + + grouping LOG-NEIGHBOR-CHANGES { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf log-neighbor-changes { + type empty; + description + "PIM neighbor state change logging is turned on + if configured"; + } + } + + grouping MAXIMUM { + description + "Common node of ipv4, ipv6"; + container maximum { + description + "Configure PIM State Limits"; + uses GROUP-MAPPINGS-AUTO-RP; + uses BSR-GROUP-MAPPINGS; + uses REGISTER-STATES; + uses ROUTE-INTERFACES; + uses BSR-CANDIDATE-RP-CACHE; + uses ROUTES; + } + } + + grouping IPV4-PIM-COMMON-CFG-MAXIMUM { + description + "Common node of ipv4, ipv6Common node of ipv4, + ipv6"; + container maximum { + description + "Configure PIM State Limits"; + container bsr-global-group-mappings { + presence "Indicates a bsr-global-group-mappings node is configured."; + description + "Override default global maximum and threshold + for PIM group mapping ranges from BSR"; + leaf bsr-maximum-global-group-mappings { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Global Maximum number of PIM group mapping + ranges from BSR"; + } + leaf warning-threshold { + type uint32 { + range "1..10000"; + } + default "500"; + description + "Set threshold to print warning"; + } + } + container global-routes { + presence "Indicates a global-routes node is configured."; + description + "Override default maximum for number of routes"; + leaf maximum-routes { + type uint32 { + range "1..200000"; + } + mandatory true; + description + "Maximum number of PIM routes"; + } + leaf warning-threshold { + type uint32 { + range "1..200000"; + } + default "100000"; + description + "Set threshold to print warning"; + } + } + container global-group-mappings-auto-rp { + presence "Indicates a global-group-mappings-auto-rp node is configured."; + description + "Maximum for number of group mappings from + autorp mapping agent"; + leaf maximum-global-group-ranges-auto-rp { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Maximum number of PIM group mappings from + autorp"; + } + leaf threshold-global-group-ranges-auto-rp { + type uint32 { + range "1..10000"; + } + default "450"; + description + "Warning threshold number of PIM group mappings + from autorp"; + } + } + container bsr-global-candidate-rp-cache { + presence "Indicates a bsr-global-candidate-rp-cache node is configured."; + description + "Override default global maximum and threshold + for C-RP set in BSR"; + leaf bsr-maximum-global-candidate-rp-cache { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Global Maximum number of PIM C-RP Sets from + BSR"; + } + leaf warning-threshold { + type uint32 { + range "1..10000"; + } + default "100"; + description + "Set threshold to print warning"; + } + } + container global-register-states { + presence "Indicates a global-register-states node is configured."; + description + "Override default maximum for number of + sparse-mode source registers"; + leaf maximum-register-states { + type uint32 { + range "0..75000"; + } + mandatory true; + description + "Maximum number of PIM Sparse-Mode register + states"; + } + leaf warning-threshold { + type uint32 { + range "0..75000"; + } + default "20000"; + description + "Set threshold to print warning"; + } + } + container global-route-interfaces { + presence "Indicates a global-route-interfaces node is configured."; + description + "Override default maximum for number of + route-interfaces"; + leaf maximum-route-interfaces { + type uint32 { + range "1..1100000"; + } + mandatory true; + description + "Maximum number of PIM route-interfaces"; + } + leaf warning-threshold { + type uint32 { + range "1..1100000"; + } + default "300000"; + description + "Set threshold to print warning"; + } + } + leaf global-low-priority-packet-queue { + type uint32 { + range "0..2147483648"; + } + units "byte"; + description + "Maximum packet queue size in bytes"; + } + leaf global-high-priority-packet-queue { + type uint32 { + range "0..2147483648"; + } + units "byte"; + description + "Maximum packet queue size in bytes"; + } + uses GROUP-MAPPINGS-AUTO-RP; + uses BSR-GROUP-MAPPINGS; + uses REGISTER-STATES; + uses ROUTE-INTERFACES; + uses BSR-CANDIDATE-RP-CACHE; + uses ROUTES; + } + } + + grouping SG-EXPIRY-TIMER { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container sg-expiry-timer { + description + "Configure expiry timer for S,G routes"; + leaf interval { + type uint32 { + range "40..57600"; + } + units "second"; + description + "(S,G) expiry time in seconds"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list of applicable S,G routes"; + } + } + } + + grouping INTERFACE-TABLE { + description + "Common node of ipv4, ipv6"; + container interfaces { + description + "Interface-level Configuration"; + list interface { + key "interface-name"; + description + "The name of the interface"; + leaf enable { + type empty; + description + "Enter PIM Interface processing"; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of interface"; + } + uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; + uses HELLO-INTERVAL; + uses BSR-BORDER; + uses MAXIMUM-ROUTES; + uses PROPAGATION-DELAY; + uses BFD; + uses DR-PRIORITY; + uses JOIN-PRUNE-MTU; + uses INTERFACE-ENABLE; + uses JP-INTERVAL; + uses OVERRIDE-INTERVAL; + } + } + } + + grouping REGISTER-STATES { + description + "Common node of maximum, maximum"; + container register-states { + presence "Indicates a register-states node is configured."; + description + "Override default maximum for number of + sparse-mode source registers"; + leaf maximum-register-states { + type uint32 { + range "0..75000"; + } + mandatory true; + description + "Maximum number of PIM Sparse-Mode register + states"; + } + leaf warning-threshold { + type uint32 { + range "0..75000"; + } + default "20000"; + description + "Set threshold to print warning"; + } + } + } + + grouping MULTIPATH { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf multipath { + type Pim-multipath; + description + "Enable equal-cost multipath routing"; + } + } + + grouping HELLO-INTERVAL { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf hello-interval { + type uint32 { + range "1..3600"; + } + units "second"; + description + "Hello interval in seconds"; + } + } + + grouping BIDIR-RP-ADDRESS-TABLE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container bidir-rp-addresses { + description + "Configure Bidirectional PIM Rendezvous Point"; + list bidir-rp-address { + key "rp-address"; + description + "Address of the Rendezvous Point"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address of Rendezvous Point"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access list of groups that should map to a + given RP"; + } + leaf auto-rp-override { + type boolean; + description + "TRUE Indicates if static RP config overrides + AutoRP and BSR"; + } + } + } + } + + grouping BSR-CANDIDATE-RP-CACHE { + description + "Common node of maximum, maximum"; + container bsr-candidate-rp-cache { + presence "Indicates a bsr-candidate-rp-cache node is configured."; + description + "Override default maximum and threshold for BSR + C-RP cache setting"; + leaf bsr-maximum-candidate-rp-cache { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Maximum number of BSR C-RP cache setting"; + } + leaf warning-threshold { + type uint32 { + range "1..10000"; + } + default "100"; + description + "Set threshold to print warning"; + } + } + } + + grouping JP-INTERVAL { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf jp-interval { + type uint32 { + range "10..600"; + } + units "second"; + description + "Join-Prune interval in seconds"; + } + } + + grouping NSF { + description + "Common node of ipv4, ipv6"; + container nsf { + description + "Configure Non-stop forwarding (NSF) options"; + leaf lifetime { + type uint32 { + range "10..600"; + } + units "second"; + description + "Override default maximum lifetime for PIM NSF + mode"; + } + } + } + + grouping DR-PRIORITY { + description + "Common node of inheritable-defaults, interface, + interface, interface"; + leaf dr-priority { + type uint32 { + range "0..4294967295"; + } + description + "Hello DR priority, preference given to larger + value"; + } + } + + grouping BFD { + description + "Common node of interface, interface, interface"; + container bfd { + description + "BFD configuration"; + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions created + by PIM"; + } + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by PIM"; + } + leaf enable { + type boolean; + description + "TRUE to enable BFD. FALSE to disable and to + prevent inheritance from a parent"; + } + } + } + + grouping RPF-VECTOR-INJECT { + description + "Common node of ipv4, ipv4"; + container paths { + description + "Inject PIM RPF Vector Proxy's"; + list path { + key "source-address prefix-length"; + description + "Inject PIM RPF Vector Proxy's"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Masklen"; + } + leaf-list rpf-proxy-address { + type inet:ipv4-address-no-zone; + min-elements 1; + max-elements "22"; + description + "RPF Proxy Address"; + } + } + } + } + + grouping BSR-GROUP-MAPPINGS { + description + "Common node of maximum, maximum"; + container bsr-group-mappings { + presence "Indicates a bsr-group-mappings node is configured."; + description + "Override default maximum and threshold for + number of group mappings from BSR"; + leaf bsr-maximum-group-ranges { + type uint32 { + range "1..10000"; + } + mandatory true; + description + "Maximum number of PIM group mappings from BSR"; + } + leaf warning-threshold { + type uint32 { + range "1..10000"; + } + default "500"; + description + "Set threshold to print warning"; + } + } + } + + grouping ACCEPT-REGISTER { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf accept-register { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list which specifies unauthorized sources"; + } + } + + grouping OLD-REGISTER-CHECKSUM { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + leaf old-register-checksum { + type empty; + description + "Generate registers compatible with older IOS + versions"; + } + } + + grouping ALLOW-RP { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container allow-rp { + presence "enable allow-rp"; + description + "Enable allow-rp filtering for SM joins"; + leaf rp-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list specifiying applicable RPs"; + } + leaf group-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list specifiying applicable groups"; + } + } + } + + grouping MAXIMUM-ROUTES { + description + "Common node of interface, interface, interface"; + container maximum-routes { + presence "Indicates a maximum-routes node is configured."; + description + "Maximum number of allowed routes for this + interface"; + leaf maximum { + type uint32 { + range "1..1100000"; + } + mandatory true; + description + "Maximum number of routes for this interface"; + } + leaf warning-threshold { + type uint32 { + range "1..1100000"; + } + description + "Set threshold to print warning"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Access-list to account for"; + } + } + } + + grouping SUPPRESS-RPF-PRUNES { + description + "Common node of interface, interface, + interfaceCommon node of ipv4, ipv4, ipv6, ipv6"; + leaf suppress-rpf-prunes { + type empty; + description + "Suppress prunes triggered as a result of RPF + changes"; + } + } + + grouping RPF-VECTOR-ENABLE { + description + "Common node of ipv4, ipv4, ipv6, ipv6"; + container rpf-vector-enable { + presence "Indicates a rpf-vector-enable node is configured."; + description + "Enable PIM RPF Vector Proxy's"; + leaf enable { + type empty; + mandatory true; + description + "RPF Vector is turned on if configured"; + } + leaf allow-ebgp { + type empty; + description + "Allow RPF Vector origination over eBGP sessions"; + } + leaf disable-ibgp { + type empty; + description + "Disable RPF Vector origination over iBGP + sessions"; + } + } + } + + grouping EXPLICIT-RPF-VECTOR { + description + "Common node of ipv4, ipv4"; + container injects { + description + "Inject Explicit PIM RPF Vector Proxy's"; + list inject { + key "source-address prefix-length"; + description + "Inject Explicit PIM RPF Vector Proxy's"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Masklen"; + } + leaf-list rpf-proxy-address { + type inet:ipv4-address-no-zone; + min-elements 1; + max-elements "22"; + description + "RPF Proxy Address"; + } + } + } + } + + container pim { + presence "Indicates a pim node is configured."; + description + "PIM configuration"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF name"; + container ipv4 { + description + "IPV4 commands"; + uses NEIGHBOR-CHECK-ON-RECEIVE; + uses OLD-REGISTER-CHECKSUM; + uses SPARSE-MODE-RP-ADDRESS-TABLE; + uses NEIGHBOR-FILTER; + uses INHERITABLE-DEFAULTS; + uses SPT-THRESHOLD-INFINITY; + uses LOG-NEIGHBOR-CHANGES; + uses RPF; + uses REGISTER-SOURCE; + uses MAXIMUM; + uses ACCEPT-REGISTER; + uses SG-EXPIRY-TIMER; + uses RPF-VECTOR-ENABLE; + uses SUPPRESS-RPF-PRUNES; + uses SSM; + uses EXPLICIT-RPF-VECTOR; + uses BIDIR-RP-ADDRESS-TABLE; + uses SSM-ALLOW-OVERRIDE; + uses BSR; + uses MOFRR; + uses MULTIPATH; + uses RP-STATIC-DENY; + uses RPF-VECTOR-INJECT; + uses ALLOW-RP; + uses SUPPRESS-DATA-REGISTERS; + uses NEIGHBOR-CHECK-ON-SEND; + uses CONVERGENCE; + uses INTERFACE-TABLE; + uses AUTO-RP-DISABLE; + } + container ipv6 { + description + "IPV6 commands"; + uses NEIGHBOR-CHECK-ON-RECEIVE; + uses OLD-REGISTER-CHECKSUM; + uses SPARSE-MODE-RP-ADDRESS-TABLE; + uses NEIGHBOR-FILTER; + uses INHERITABLE-DEFAULTS; + uses SPT-THRESHOLD-INFINITY; + uses LOG-NEIGHBOR-CHANGES; + uses RPF; + uses REGISTER-SOURCE; + uses MAXIMUM; + uses ACCEPT-REGISTER; + uses SG-EXPIRY-TIMER; + uses RPF-VECTOR-ENABLE; + uses EMBEDDED-RP-DISABLE; + uses SUPPRESS-RPF-PRUNES; + uses SSM; + uses BIDIR-RP-ADDRESS-TABLE; + uses SSM-ALLOW-OVERRIDE; + uses MULTIPATH; + uses IPV6-PIM-CFG-BSR; + uses RP-STATIC-DENY; + uses ALLOW-RP; + uses SUPPRESS-DATA-REGISTERS; + uses NEIGHBOR-CHECK-ON-SEND; + uses EMBEDDED-RP; + uses CONVERGENCE; + uses INTERFACE-TABLE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + container default-context { + presence "Indicates a default-context node is configured."; + description + "Default Context"; + container ipv6 { + description + "IPV6 commands"; + container interfaces { + description + "Interface-level Configuration"; + list interface { + key "interface-name"; + description + "The name of the interface"; + leaf enable { + type empty; + description + "Enter PIM Interface processing"; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of interface"; + } + uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; + uses HELLO-INTERVAL; + uses BSR-BORDER; + uses MAXIMUM-ROUTES; + uses PROPAGATION-DELAY; + uses BFD; + uses DR-PRIORITY; + uses JOIN-PRUNE-MTU; + uses INTERFACE-ENABLE; + uses JP-INTERVAL; + uses OVERRIDE-INTERVAL; + } + } + uses NEIGHBOR-CHECK-ON-RECEIVE; + uses OLD-REGISTER-CHECKSUM; + uses SPARSE-MODE-RP-ADDRESS-TABLE; + uses NEIGHBOR-FILTER; + uses INHERITABLE-DEFAULTS; + uses SPT-THRESHOLD-INFINITY; + uses LOG-NEIGHBOR-CHANGES; + uses RPF; + uses REGISTER-SOURCE; + uses ACCEPT-REGISTER; + uses SG-EXPIRY-TIMER; + uses RPF-VECTOR-ENABLE; + uses NSF; + uses EMBEDDED-RP-DISABLE; + uses SUPPRESS-RPF-PRUNES; + uses IPV4-PIM-COMMON-CFG-MAXIMUM; + uses SSM; + uses BIDIR-RP-ADDRESS-TABLE; + uses SSM-ALLOW-OVERRIDE; + uses MULTIPATH; + uses IPV6-PIM-CFG-BSR; + uses RP-STATIC-DENY; + uses ALLOW-RP; + uses SUPPRESS-DATA-REGISTERS; + uses NEIGHBOR-CHECK-ON-SEND; + uses EMBEDDED-RP; + uses CONVERGENCE; + } + container ipv4 { + description + "IPV4 commands"; + container rpf-redirect { + description + "Configure RPF-redirect feature"; + uses ROUTE-POLICY; + } + container interfaces { + description + "Interface-level Configuration"; + list interface { + key "interface-name"; + description + "The name of the interface"; + container redirect-bundle { + description + "Configure RPF-redirect bundle for interface. + Applicable for IPv4 only"; + leaf bundle-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bundle name"; + } + leaf interface-bandwidth { + type uint32 { + range "0..100000000"; + } + units "kbit/s"; + must "../bundle-name and ../threshold-bandwidth"; + description + "Interface bandwidth in Kbps"; + } + leaf threshold-bandwidth { + type uint32 { + range "0..100000000"; + } + units "kbit/s"; + must "../bundle-name and ../interface-bandwidth"; + description + "Threshold bandwidth in Kbps"; + } + } + leaf enable { + type empty; + description + "Enter PIM Interface processing"; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of interface"; + } + uses IPV4-PIM-COMMON-CFG-NEIGHBOR-FILTER; + uses HELLO-INTERVAL; + uses BSR-BORDER; + uses MAXIMUM-ROUTES; + uses PROPAGATION-DELAY; + uses BFD; + uses DR-PRIORITY; + uses JOIN-PRUNE-MTU; + uses INTERFACE-ENABLE; + uses JP-INTERVAL; + uses OVERRIDE-INTERVAL; + } + } + container auto-rp-candidate-rps { + description + "Configure Candidate-RPs"; + list auto-rp-candidate-rp { + key "interface-name protocol-mode"; + description + "Specifications for a Candidate-RP"; + leaf interface-name { + type xr:Interface-name; + description + "Interface from which Candidate-RP packets + will be sourced"; + } + leaf protocol-mode { + type dt1:Auto-rp-protocol-mode; + description + "Protocol Mode"; + } + leaf ttl { + type Auto-rp-ttl; + mandatory true; + description + "TTL in Hops"; + } + leaf access-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + default "224-4"; + description + "Access-list specifying the group range for + the Candidate-RP"; + } + leaf announce-period { + type Auto-rp-announce-period; + units "second"; + default "60"; + description + "Time between announcements "; + } + } + } + container auto-rp-mapping-agent { + description + "Configure AutoRP Mapping Agent"; + container parameters { + presence "Indicates a parameters node is configured."; + description + "Specifications for Mapping Agent configured + on this box"; + leaf interface-name { + type xr:Interface-name; + mandatory true; + description + "Interface from which mapping packets will be + sourced "; + } + leaf ttl { + type Auto-rp-ttl; + mandatory true; + description + "TTL in Hops"; + } + leaf announce-period { + type Auto-rp-announce-period; + units "second"; + default "60"; + description + "Time between discovery messages "; + } + } + container cache-limit { + presence "Indicates a cache-limit node is configured."; + description + "Mapping Agent cache size limit"; + leaf maximum-cache-entry { + type uint32 { + range "1..1000"; + } + mandatory true; + description + "Maximum number of mapping cache entries"; + } + leaf threshold-cache-entry { + type uint32 { + range "1..1000"; + } + default "450"; + description + "Warning threshold number of cache entries"; + } + } + } + uses NEIGHBOR-CHECK-ON-RECEIVE; + uses OLD-REGISTER-CHECKSUM; + uses SPARSE-MODE-RP-ADDRESS-TABLE; + uses NEIGHBOR-FILTER; + uses INHERITABLE-DEFAULTS; + uses SPT-THRESHOLD-INFINITY; + uses LOG-NEIGHBOR-CHANGES; + uses RPF; + uses REGISTER-SOURCE; + uses ACCEPT-REGISTER; + uses SG-EXPIRY-TIMER; + uses RPF-VECTOR-ENABLE; + uses NSF; + uses SUPPRESS-RPF-PRUNES; + uses IPV4-PIM-COMMON-CFG-MAXIMUM; + uses SSM; + uses EXPLICIT-RPF-VECTOR; + uses BIDIR-RP-ADDRESS-TABLE; + uses SSM-ALLOW-OVERRIDE; + uses BSR; + uses MOFRR; + uses MULTIPATH; + uses RP-STATIC-DENY; + uses RPF-VECTOR-INJECT; + uses ALLOW-RP; + uses SUPPRESS-DATA-REGISTERS; + uses NEIGHBOR-CHECK-ON-SEND; + uses CONVERGENCE; + uses AUTO-RP-DISABLE; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang new file mode 100644 index 0000000..123ed51 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub1.yang @@ -0,0 +1,4169 @@ +submodule Cisco-IOS-XR-ipv4-pim-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-pim-oper { + prefix Cisco-IOS-XR-ipv4-pim-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-pim-oper-sub2 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-pim package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-27 { + description + "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pim-show-local-interest { + type enumeration { + enum "null" { + value 1; + description + "null"; + } + enum "li" { + value 2; + description + "Local Interest"; + } + enum "ld" { + value 3; + description + "Local Disinterest"; + } + } + description + "Pim show local interest"; + } + + typedef Pim-internal-interest-info { + type enumeration { + enum "null" { + value 21; + description + "null"; + } + enum "ii" { + value 22; + description + "Internal Interest"; + } + enum "id" { + value 23; + description + "Internal Disinterest"; + } + } + description + "Pim internal interest info"; + } + + typedef Pim-show-range-client { + type enumeration { + enum "no-client" { + value 0; + description + "no client"; + } + enum "embedded-config" { + value 1; + description + "embedded config"; + } + enum "embedded" { + value 2; + description + "embedded"; + } + enum "permanent" { + value 3; + description + "permanent"; + } + enum "auto-rp" { + value 4; + description + "auto rp"; + } + enum "bsr" { + value 5; + description + "bsr"; + } + enum "config" { + value 6; + description + "config"; + } + enum "static" { + value 7; + description + "static"; + } + } + description + "Pim show range client"; + } + + typedef Pim-show-protocol { + type enumeration { + enum "no-route" { + value 0; + description + "no route"; + } + enum "sm" { + value 1; + description + "sm"; + } + enum "dm" { + value 2; + description + "dm"; + } + enum "bidir" { + value 3; + description + "bidir"; + } + enum "ssm" { + value 4; + description + "ssm"; + } + enum "maximum" { + value 5; + description + "maximum"; + } + enum "any" { + value 6; + description + "any"; + } + } + description + "Pim show protocol"; + } + + grouping PIM-ISSU-BAG { + description + "ISSU information"; + leaf informationvalid { + type boolean; + description + "Is Information valid ?"; + } + leaf role-ha { + type int32; + description + "HA role"; + } + leaf role-issu { + type int32; + description + "ISSU role"; + } + leaf phase-issu { + type int32; + description + "ISSU Phase"; + } + leaf last-ha-role-notification-received { + type uint64; + description + "Time when last HA role nfn was received"; + } + leaf last-issu-role-notification-received { + type uint64; + description + "Time when last ISSU role nfn was received"; + } + leaf last-issu-phase-notification-received { + type uint64; + description + "Time when last ISSU Phase nfn was received"; + } + leaf is-eoc-received { + type boolean; + description + "Was EOC received ?"; + } + leaf eoc-received-timestamp { + type uint64; + description + "Time when EOC was received"; + } + leaf is-ihms-done-received { + type boolean; + description + "Was IHMS done received ?"; + } + leaf ihms-received-timestamp { + type uint64; + description + "Time when IHMS done was received"; + } + leaf is-rib-sync-received { + type boolean; + description + "Was RIB Sync received ?"; + } + leaf rib-sync-received-timestamp { + type uint64; + description + "Time when RIB Sync was received"; + } + leaf is-nbr-sync-received { + type boolean; + description + "Was NBR Sync achieved ?"; + } + leaf nbr-sync-received-timestamp { + type uint64; + description + "Time when NBR Sync was achieved"; + } + leaf is-checkpoint-idt-done { + type boolean; + description + "Was Checkpoint IDT done ?"; + } + leaf checkpoint-idt-timestamp { + type uint64; + description + "Time when Checkpoint IDT done"; + } + } + + grouping PIM-NSF-BAG { + description + "PIM NSF state"; + leaf configured-state { + type boolean; + description + "Is Multicast NSF Configured"; + } + leaf nsf-state { + type boolean; + description + "Are we currently in NSF"; + } + leaf nsf-timeout { + type uint32; + units "second"; + description + "Multicast NSF timeout in seconds"; + } + leaf nsf-time-left { + type uint32; + units "second"; + description + "Multicast NSF time left in seconds"; + } + leaf waiting-timer { + type boolean; + description + "Waiting for NSF timer expiry"; + } + leaf waiting-membership { + type boolean; + description + "Waiting for IGMP/MLD"; + } + leaf respawn-count { + type uint32; + description + "Respawn Count"; + } + leaf last-nsf-on { + type int64; + description + "Last NSF time ON"; + } + leaf last-nsf-off { + type int64; + description + "Last NSF time off"; + } + leaf last-nsf-on-sec { + type int32; + units "second"; + description + "Last NSF time ON in Seconds"; + } + leaf last-nsf-off-sec { + type int32; + units "second"; + description + "Last NSF time OFF in Seconds"; + } + leaf last-icd-notif-recv { + type int64; + description + "Last ICD Notif Recv"; + } + leaf last-icd-notif-recv-sec { + type int32; + units "second"; + description + "Last ICD Notif Recv in Seconds"; + } + } + + grouping PIM-NSR-BAG { + description + "NSR Related information"; + leaf state { + type uint8; + description + "NSR state"; + } + leaf partner-connected { + type boolean; + description + "Partner process connected"; + } + leaf rmf-notification-done { + type boolean; + description + "RMF Notification done"; + } + leaf rmf-timer-valid { + type boolean; + description + "Is RMF timer running ?"; + } + leaf rmf-timer-expiry { + type uint64; + description + "Time for RMF timer to expire"; + } + leaf last-connection-up { + type uint64; + description + "Time when connection went up"; + } + leaf last-connection-dn { + type uint64; + description + "Time when connection went down"; + } + leaf last-rmf-ready { + type uint64; + description + "Time when RMF Rdy notif was sent"; + } + leaf last-rmf-not-ready { + type uint64; + description + "Time when RMF Not-Rdy notif was sent"; + } + leaf count-connection-up { + type uint32; + description + "No. of times connection went up"; + } + leaf count-connection-dn { + type uint32; + description + "No. of times connection went down"; + } + leaf count-rmf-ready { + type uint32; + description + "No. of times RMF Ready notif was sent"; + } + leaf count-rmf-not-ready { + type uint32; + description + "No. of times RMF Not Ready notif was sent"; + } + } + + grouping PIM-MSTATIC-BAG { + description + "Multicast Static Routes entry"; + container prefix { + description + "Prefix"; + uses PIM-ADDRTYPE; + } + container nexthop { + description + "Next Hop"; + uses PIM-ADDRTYPE; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf distance { + type uint32; + description + "Distance"; + } + leaf prefix-length-xr { + type uint8; + description + "Prefix Length"; + } + leaf is-via-lsm { + type boolean; + description + "LSM flag"; + } + } + + grouping PIM-RPF-RDRCT-BNDL-BAG { + description + "PIM RPF Redirect bundle information"; + leaf rpf-redirect-bundle-name { + type string { + length "0..33"; + } + description + "RPF redirect bundle name"; + } + leaf rpf-redirect-interface-name { + type string { + length "0..33"; + } + description + "RPF redirect interface name"; + } + leaf available-bandwidth { + type int32; + units "kbit/s"; + description + "Bandwidth available in Kbps"; + } + leaf allocated-bandwidth { + type int32; + units "kbit/s"; + description + "Bandwidth allocated in Kbps"; + } + leaf total-bandwidth { + type int32; + units "kbit/s"; + description + "Total bandwidth used in Kbps"; + } + leaf topology-bandwidth-used { + type int32; + units "kbit/s"; + description + "Bandwidth used by topology in Kbps"; + } + leaf snooping-bandwidth-used { + type int32; + units "kbit/s"; + description + "Bandwidth used by snooped entries in Kbps"; + } + leaf allocated-threshold-bandwidth { + type int32; + units "kbit/s"; + description + "Configured threshold in Kbps"; + } + leaf available-threshold-bandwidth { + type int32; + units "kbit/s"; + description + "Available threshold in Kbps"; + } + } + + grouping PIM-RPF-RDRCT-RINTF-BAG { + description + "PIM RPF-redirct bundle non-local route OLE + information"; + container rpf-address { + description + "RPF Address"; + uses PIM-ADDRTYPE; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expiry { + type uint64; + units "second"; + description + "Expiry in seconds"; + } + leaf is-rpf-interface { + type boolean; + description + "Is RPF Interface"; + } + leaf is-outgoing-interface { + type boolean; + description + "Is outgoing Interface"; + } + leaf is-snoop-interface { + type boolean; + description + "Is snooping Interface"; + } + } + + grouping PIM-RPF-RDRCT-ROUTE-BAG { + description + "PIM RPF Redirect route information"; + container group-address-xr { + description + "Group ddress"; + uses PIM-ADDRTYPE; + } + container source-address-xr { + description + "Source address"; + uses PIM-ADDRTYPE; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth in Kbps"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + list interface { + description + "Outgoing interface list"; + uses PIM-RPF-RDRCT-RINTF-BAG; + } + } + + grouping PIM-ANYCAST-RP-ENTRY { + description + "PIM Anycast RP entry"; + container prefix { + description + "Anycast-RP Range Prefix"; + uses PIM-ADDRTYPE; + } + leaf prefix-length { + type uint8; + description + "Anycast-RP Range Prefix Length"; + } + leaf ancast-rp-marked { + type boolean; + description + "Anycast-RP Range marked"; + } + } + + grouping PIM-RT-EXTCOMM { + description + "PIM Route-target entry"; + leaf route-target { + type yang:hex-string; + description + "Route Target Extended community value"; + } + leaf configured { + type boolean; + description + "Configured Route Target"; + } + leaf anycast-rp { + type boolean; + description + "Anycast-RP Group"; + } + leaf anycast-rp-marked { + type boolean; + description + "Anycast-RP Group marked"; + } + leaf update-pending { + type boolean; + description + "Update Pending to BGP"; + } + leaf bgp-auto-discovery { + type boolean; + description + "BGP Auto Discovery"; + } + leaf segment-border { + type boolean; + description + "Segment Border"; + } + } + + grouping PIM-CONTEXT-BAG { + description + "PIM Context bag"; + container remote-default-group { + description + "Remote Default Group"; + uses PIM-ADDRTYPE; + } + container rpf-default-table { + description + "RPF Default Table"; + uses PIM-TABLE-CTX-BAG; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf murib-id { + type uint32; + description + "MURIB ID"; + } + leaf rpf-id { + type uint32; + description + "RPF ID"; + } + leaf remote-table-id { + type uint32; + description + "Remote Table ID"; + } + leaf mdt-default-group { + type inet:ipv4-address; + description + "MDT Default group"; + } + leaf mdt-source { + type inet:ipv4-address; + description + "MDT source"; + } + leaf mdt-source-interface { + type string; + description + "MDT Source Interface Name"; + } + leaf mdt-interface { + type xr:Interface-name; + description + "MDT handle"; + } + leaf mdt-gre-rpf-identifier { + type uint32; + description + "GRE-MDT RPF Identifier"; + } + leaf mdt-gre-remote-rpf-identifier { + type uint32; + description + "GRE-MDT Remote RPF Identifier"; + } + leaf is-unicast-rib-registration { + type boolean; + description + "Ucast RIB Registration"; + } + leaf is-multicast-rib-registration { + type boolean; + description + "Mcast RIB Registration"; + } + leaf is-active { + type boolean; + description + "Active"; + } + leaf is-active-ital { + type boolean; + description + "Active ITAL"; + } + leaf is-mrib-register { + type boolean; + description + "MRIB Register"; + } + leaf is-mdt-owner { + type boolean; + description + "MDT Owner"; + } + leaf is-routing-enabled { + type boolean; + description + "Routing Enabled"; + } + leaf is-socket-add-required { + type boolean; + description + "VRF required on Socket"; + } + leaf is-socket-added { + type boolean; + description + "VRF added on Socket"; + } + leaf is-lpts-socket-add-required { + type boolean; + description + "VRF LPTS filter required on Socket"; + } + leaf is-lpts-socket-added { + type boolean; + description + "VRF LPTS filter added on Socket"; + } + leaf is-udp-socket-add-required { + type boolean; + description + "VRF added on UDP Socket"; + } + leaf is-udp-socket-added { + type boolean; + description + "VRF added on UDP Socket"; + } + leaf is-udp-socket-bind-required { + type boolean; + description + "VRF bind required on UDP Socket"; + } + leaf is-udp-socket-bind { + type boolean; + description + "VRF bound on UDP Socket"; + } + leaf is-register-injection-socket-add-required { + type boolean; + description + "VRF required on Register Injection Socket"; + } + leaf is-register-injection-socket-added { + type boolean; + description + "VRF added on Register Injection Socket"; + } + leaf is-register-injection-lpts-socket-add-required { + type boolean; + description + "VRF LPTS filter required on Register Injection + Socket"; + } + leaf is-register-injection-lpts-socket-added { + type boolean; + description + "VRF LPTS filter added on Register Injection + Socket"; + } + leaf is-m-host-publish-pending { + type boolean; + description + "Publish pending for MHost Default interface"; + } + leaf mhost-interface { + type xr:Interface-name; + description + "MHost handle"; + } + leaf mhost-default-interface-config { + type string; + description + "Configured Mhost Defint"; + } + leaf mdt-mtu { + type uint32; + description + "MDT MTU"; + } + leaf maximum-mdt-aggregation { + type uint32; + description + "MDT max aggregation"; + } + leaf mdt-data-switchover-interval { + type uint32; + description + "Data MDT Switchover interval"; + } + leaf mdt-data-announce-interval { + type uint32; + description + "Data MDT Announce interval"; + } + leaf non-default-vrf-count-on-socket { + type uint32; + description + "Count of non-default vrfs on raw socket"; + } + leaf neighbor-filter-name { + type string; + description + "Neighbor Filter Name"; + } + leaf mdt-neighbor-filter-name { + type string; + description + "MDT Neighbor Filter Name"; + } + leaf allow-rp-configured { + type boolean; + description + "Allow RP Configured"; + } + leaf allow-rp-group-list { + type string { + length "0..64"; + } + description + "Allow RP Group-List ACL Name"; + } + leaf allow-rp-rp-list { + type string { + length "0..64"; + } + description + "Allow RP RP-list ACL Name"; + } + leaf sg-expiry-timer-configured { + type boolean; + description + "S,G Expiry Timer Configured"; + } + leaf sg-expiry-time { + type uint16; + units "second"; + description + "S,G Expiry Time Configured, in seconds"; + } + leaf sg-expiry-timer-sg-list { + type string { + length "0..64"; + } + description + "S,G expiry timer ACL name"; + } + leaf mldp-mdt-name { + type string; + description + "MLDP MDT Name"; + } + leaf mldp-mdt-interface { + type xr:Interface-name; + description + "MLDP MDT handle"; + } + leaf mldp-mdt-mtu { + type uint32; + description + "MLDP MDT MTU"; + } + leaf mldp-maximum-mdt-aggregation { + type uint32; + description + "MLDP MDT max aggregation"; + } + leaf mldp-mdt-data-switchover-interval { + type uint32; + description + "MLDP Data MDT Switchover interval"; + } + leaf mldp-mdt-data-announce-interval { + type uint32; + description + "MLDP Data MDT Announce interval"; + } + leaf mldp-mdt-rpf-identifier { + type uint32; + description + "MLDP RPF-ID"; + } + leaf mldp-mdt-remote-rpf-identifier { + type uint32; + description + "MLDP Remote RPF-ID"; + } + leaf is-create-mldp-mdt-interface { + type boolean; + description + "Create MLDP MDT interface"; + } + leaf is-mldp-mdt-owner { + type boolean; + description + "MLDP MDT Owner"; + } + leaf mldp-root-count { + type uint32; + description + "MLDP Root count"; + } + leaf mldp-head-lsm-identifier { + type uint32; + description + "MLDP Head LSM-ID"; + } + leaf mldp-remote-head-lsm-identifier { + type uint32; + description + "MLDP Remote Head LSM-ID"; + } + leaf organization-unique-identifier { + type uint32; + description + "OUI for VPN-ID"; + } + leaf vpn-index { + type uint32; + description + "VPN Index"; + } + leaf mldp-partitioned-mdt-configured { + type boolean; + description + "MLDP Partitioned MDT"; + } + leaf mldp-remote-partitioned-mdt-configured { + type boolean; + description + "MLDP Remote Partitioned MDT"; + } + leaf mldp-partioned-mp2m-ptree { + type boolean; + description + "MP2MP Partitioned MDT tree"; + } + leaf mldp-partitioned-head-lsm-identifier { + type uint32; + description + "Partitioned MDT Head LSM-ID"; + } + leaf mldp-head-local-label { + type uint32; + description + "Partitioned MDT Head local label"; + } + leaf mldp-partitioned-mdt-identifier { + type uint32; + description + "MLDP Partitioned MDT Identifier"; + } + leaf bgp-auto-discovery-configured { + type boolean; + description + "BGP Auto-Discovery configured"; + } + leaf suppress-pim-data-mdt-tlv { + type boolean; + description + "Suppress PIM Data-MDT TLV Announcements"; + } + leaf inter-autonomous-system-enabled { + type boolean; + description + "Inter-AS Enabled"; + } + leaf bgp-source-active-announce { + type boolean; + description + "Send BGP Source-Active Announcements"; + } + leaf bgp-i-pmsi-added { + type boolean; + description + "BGP I-PMSI Added"; + } + leaf mldp-bsr-control-tree-added { + type boolean; + description + "MLDP BSR Control tree added"; + } + leaf mldp-auto-rp-discovery-tree-added { + type boolean; + description + "MLDP Autorp Discovery Control tree added"; + } + leaf mldp-auto-rp-announce-tree-added { + type boolean; + description + "MLDP Autorp Announce Control tree added"; + } + leaf bgp-auto-discovery-type { + type uint32; + description + "BGP Auto Discovery Type"; + } + leaf mdt-partitioned-mdt-control-identifier { + type uint32; + description + "Partitioned MDT Control Identifier"; + } + leaf mdt-partitioned-ir-control-identifier { + type uint32; + description + "Partitioned IR MDT Control Identifier"; + } + leaf mldp-control-head-lsm-identifier { + type uint32; + description + "MLDP MVPN Identifier"; + } + leaf umh { + type boolean; + description + "Join UMH Core-Tree"; + } + leaf suppress-shared-tree-join { + type boolean; + description + "Suppress Shared-Tree Joins"; + } + leaf rsvp-te-mdt-name { + type string; + description + "RSVP-TE MDT Name"; + } + leaf rsvp-te-mdt-interface { + type xr:Interface-name; + description + "RSVP-TEMDT handle"; + } + leaf rsvp-te-mdt-mtu { + type uint32; + description + "RSVP-TEMDT MTU"; + } + leaf rsvp-te-maximum-mdt-aggregation { + type uint32; + description + "RSVP-TE MDT max aggregation"; + } + leaf rsvp-te-mdt-data-switchover-interval { + type uint32; + description + "RSVP-TE Data MDT Switchover interval"; + } + leaf rsvp-te-mdt-data-announce-interval { + type uint32; + description + "RSVP-TE Data MDT Announce interval"; + } + leaf rsvp-te-mdt-rpf-identifier { + type uint32; + description + "RSVP-TE RPF-ID"; + } + leaf is-create-rsvp-te-mdt-interface { + type boolean; + description + "Create RSVP-TE MDT interface"; + } + leaf is-rsvp-te-mdt-owner { + type boolean; + description + "RSVP-TE MDT Owner"; + } + leaf rsvp-te-mdt-static-p2mp-count { + type uint32; + description + "Number of Static P2MP-TE MDT"; + } + leaf p2mpte-li-drop { + type uint32; + description + "Route LI updates dropped for P2MP"; + } + leaf ir-mdt-name { + type string; + description + "IR MDT Name"; + } + leaf ir-mdt-interface { + type xr:Interface-name; + description + "IRMDT handle"; + } + leaf ir-mdt-mtu { + type uint32; + description + "IRMDT MTU"; + } + leaf ir-maximum-mdt-aggregation { + type uint32; + description + "IR MDT max aggregation"; + } + leaf ir-mdt-data-switchover-interval { + type uint32; + description + "IR Data MDT Switchover interval"; + } + leaf ir-mdt-data-announce-interval { + type uint32; + description + "IR Data MDT Announce interval"; + } + leaf ir-mdt-rpf-identifier { + type uint32; + description + "IR RPF-ID"; + } + leaf ir-mdt-tail-label { + type uint32; + description + "IR Tail Label"; + } + leaf is-create-ir-mdt-interface { + type boolean; + description + "Create IR MDT interface"; + } + leaf is-ir-mdt-owner { + type boolean; + description + "IR MDT Owner"; + } + leaf in-b-and-mdt-name { + type string; + description + "Inband MDT Name"; + } + leaf in-b-and-mdt-interface { + type xr:Interface-name; + description + "Inband MDT handle"; + } + leaf in-b-and-mdt-mtu { + type uint32; + description + "Inband MDT MTU"; + } + leaf in-band-maximum-mdt-aggregation { + type uint32; + description + "Inband MDT max aggregation"; + } + leaf in-b-and-mdt-data-switchover-interval { + type uint32; + description + "Inband Data MDT Switchover interval"; + } + leaf in-b-and-mdt-data-announce-interval { + type uint32; + description + "Inband Data MDT Announce interval"; + } + leaf in-b-and-mdt-rpf-identifier { + type uint32; + description + "Inband RPF-ID"; + } + leaf is-create-in-b-and-mdt-interface { + type boolean; + description + "Create Inband MDT interface"; + } + leaf is-in-b-and-mdt-owner { + type boolean; + description + "Inband MDT Owner"; + } + leaf in-band-signaling-local-enabled { + type boolean; + description + "Inband signaling Local enabled"; + } + leaf in-band-signaling-remote-enabled { + type boolean; + description + "Inband signaling Remote enabled"; + } + leaf valid-rd-present { + type boolean; + description + "RD is valid"; + } + leaf stale-rd-present { + type boolean; + description + "RD is stale"; + } + leaf route-distinguisher { + type yang:hex-string; + description + "RD value"; + } + leaf gin-b-and-mdt-name { + type string; + description + "Inband MDT Name"; + } + leaf gin-b-and-mdt-interface { + type xr:Interface-name; + description + "Inband MDT handle"; + } + leaf gin-b-and-mdt-mtu { + type uint32; + description + "Inband MDT MTU"; + } + leaf gin-band-maximum-mdt-aggregation { + type uint32; + description + "Inband MDT max aggregation"; + } + leaf gin-b-and-mdt-data-switchover-interval { + type uint32; + description + "Inband Data MDT Switchover interval"; + } + leaf gin-b-and-mdt-data-announce-interval { + type uint32; + description + "Inband Data MDT Announce interval"; + } + leaf gin-b-and-mdt-rpf-identifier { + type uint32; + description + "Inband RPF-ID"; + } + leaf is-create-gin-b-and-mdt-interface { + type boolean; + description + "Create Inband MDT interface"; + } + leaf is-gin-b-and-mdt-owner { + type boolean; + description + "Inband MDT Owner"; + } + leaf is-pim-nsf-rib-converged { + type boolean; + description + "PIM NSF RIB converged"; + } + leaf is-pim-nsf-rib-converge-received { + type boolean; + description + "PIM NSF RIB converge received"; + } + leaf is-rib-multipath-enabled { + type boolean; + description + "PIM RIB multiplath enabled"; + } + leaf is-rib-multipath-interface-hash { + type boolean; + description + "PIM RIB multipath interface hash"; + } + leaf is-rib-multipath-source-hash { + type boolean; + description + "PIM RIB multipath source based hash"; + } + leaf is-rib-multipath-source-next-hop-hash { + type boolean; + description + "PIM RIB multipath source-nexthop hash"; + } + leaf rump-enabled { + type boolean; + description + "PIM is using MuRIB"; + } + leaf is-create-mdt-interface { + type boolean; + description + "Create MDT interface"; + } + leaf is-auto-rp-listen-enabled { + type boolean; + description + "Auto RP Listen Enabled"; + } + leaf is-all-interface-disable-operation { + type boolean; + description + "PIM all interface disable operation"; + } + leaf is-default-granges { + type boolean; + description + "Default granges"; + } + leaf is-auto-rp-listen-sock-add { + type boolean; + description + "Auto RP listen sock add"; + } + leaf is-redistribution-reset { + type boolean; + description + "Pending redist reset"; + } + leaf redistribution-reset-count { + type uint32; + description + "Redist reset count"; + } + leaf rpf-policy-name { + type string; + description + "RPF topology selection route-policy name"; + } + leaf table-count { + type uint32; + description + "Number of configured Tables"; + } + leaf active-table-count { + type uint32; + description + "Number of active Tables"; + } + leaf anycast-rp-policy-name { + type string; + description + "Anycast-RP Policy Name"; + } + leaf anycast-rp-configured { + type boolean; + description + "Anycast-RP config"; + } + leaf bgp-remote-on { + type boolean; + description + "BGP remote interface status"; + } + leaf bgp-remote-interface-name { + type string; + description + "BGP remote interface name"; + } + leaf bgp-remote-interface { + type xr:Interface-name; + description + "BGP remote interface handle"; + } + leaf bgp-remote-address { + type inet:ipv4-address; + description + "BGP remote interface address"; + } + leaf bgp-remote-state { + type uint32; + description + "BGP remote interface state"; + } + leaf physical-interface-count { + type uint64; + description + "Enabled Physical Interface Count"; + } + leaf virtual-interface-count { + type uint64; + description + "Enabled Virtual Interface Count"; + } + leaf virtual-mlc-interface-name { + type string; + description + "Virtual master line card Interface"; + } + leaf mdt-immediate-switch { + type boolean; + description + "MDT Immediate Switch"; + } + leaf-list mldp-root-address { + type uint32; + description + "MLDP Root addresses"; + } + list export-route-target { + description + "Export Route Targets"; + uses PIM-RT-EXTCOMM; + } + list import-route-target { + description + "Import Route Targets"; + uses PIM-RT-EXTCOMM; + } + list anycast-rp-range { + description + "Anycast-RP Ranges"; + uses PIM-ANYCAST-RP-ENTRY; + } + } + + grouping PIM-NBR-SUMM-BAG { + description + "PIM neighbor summary"; + leaf number-of-neighbors { + type int32; + description + "Number of neighbors"; + } + leaf number-of-external-neighbors { + type int32; + description + "Number of external neighbors"; + } + } + + grouping PIM-TABLE-CTX-BAG { + description + "PIM Table context"; + leaf afi { + type uint32; + description + "AFI"; + } + leaf safi { + type uint32; + description + "SAFI"; + } + leaf table-name { + type string; + description + "Table name"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf is-active { + type boolean; + description + "Active status"; + } + leaf is-ital-registration-done { + type boolean; + description + "ITAL reg status"; + } + leaf is-rib-registration-done { + type boolean; + description + "RIB reg status"; + } + leaf is-rib-convergence-received { + type boolean; + description + "RIB Convergence receive status"; + } + leaf is-rib-convergence { + type boolean; + description + "RIB Convergence status"; + } + leaf rpf-registrations { + type uint32; + description + "RPF Registration count"; + } + } + + grouping PIM-BIDIR-DF-BAG { + description + "PIM Bidirectional DF entry"; + container rp-address-xr { + description + "RP Address"; + uses PIM-ADDRTYPE; + } + container df-winner { + description + "DF Winner"; + uses PIM-ADDRTYPE; + } + leaf pim-interface-name { + type string; + description + "Interface Name"; + } + leaf are-we-df { + type boolean; + description + "Are we DF"; + } + leaf rp-lan { + type boolean; + description + "Is this the RP LAN"; + } + leaf metric { + type uint32; + description + "Metric"; + } + leaf metric-preference { + type uint32; + description + "Metric Preference"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + } + + grouping PIM-GRE-PATH-BAG { + description + "PIM GRE path information"; + container gre-neighbor { + description + "GRE neighbor"; + uses PIM-ADDRTYPE; + } + container gre-next-hop { + description + "GRE nexthop"; + uses PIM-ADDRTYPE; + } + leaf gre-interface-name { + type xr:Interface-name; + description + "GRE Interface"; + } + leaf is-gre-interface-disabled { + type boolean; + description + "Is the gre interface disabled ?"; + } + leaf is-via-lsm { + type boolean; + description + "Via LSM"; + } + leaf is-connector-attribute-present { + type boolean; + description + "Connector attribute present"; + } + leaf extranet-vrf-name { + type string { + length "0..33"; + } + description + "Extranet VRF name"; + } + } + + grouping PIM-GRE-INFO-BAG { + description + "PIM GRE information"; + container registered-address { + description + "Address registered"; + uses PIM-ADDRTYPE; + } + leaf metric { + type uint32; + description + "Metric"; + } + leaf metric-preference { + type uint32; + description + "Metric preference"; + } + leaf is-connected { + type uint8; + description + "Are we connected ?"; + } + list gre-path { + description + "GRE Paths list"; + uses PIM-GRE-PATH-BAG; + } + } + + grouping PIM-GRE-HASH-BAG { + description + "PIM GRE Hash Outcome"; + leaf next-hop-interface { + type xr:Interface-name; + description + "Next hop neighbor interface"; + } + } + + grouping PIM-SUMMARY-BAG { + description + "PIM Summary Bag"; + leaf route-limit { + type uint32; + description + "Maximum routes"; + } + leaf route-count { + type uint32; + description + "Current routes"; + } + leaf route-low-water-mark { + type uint32; + description + "The number of routes below which the throttle on + route creation will be lifted"; + } + leaf is-route-limit-reached { + type boolean; + description + "Is route creation throttled"; + } + leaf topology-interface-state-limit { + type uint32; + description + "Maximum Topology Interface State count"; + } + leaf topology-interface-state-count { + type uint32; + description + "Current Topology Interface State count"; + } + leaf rxi-low-water-mark { + type uint32; + description + "The rxi below which the throttle on interface + creation will be lifted"; + } + leaf rxi-limit-reached { + type boolean; + description + "Is interface creation throttled"; + } + leaf register-limit { + type uint32; + description + "Maximum registers"; + } + leaf register-count { + type uint32; + description + "Current registers"; + } + leaf register-limit-reached { + type boolean; + description + "Is PIM SM register handling throttled"; + } + leaf ranges-limit { + type uint32; + description + "Maximum group ranges from Autorp"; + } + leaf ranges-count { + type uint32; + description + "Current group ranges from Autorp"; + } + leaf ranges-threshold { + type uint32; + description + "OOR theshold of grange ranges from AutoRP"; + } + leaf is-ranges-limit-reached { + type boolean; + description + "Is Auto-RP group-to-RP mapping range creation + throttled"; + } + leaf bsr-ranges-limit { + type uint32; + description + "Maximum group ranges from BSR"; + } + leaf bsr-ranges-count { + type uint32; + description + "Current group ranges from BSR"; + } + leaf bsr-range-threshold { + type uint32; + description + "Threshold group range from BSR"; + } + leaf is-bsr-ranges-threshold-reached { + type boolean; + description + "Is VRF-specific BSR group-to-RP mapping range + creation throttled"; + } + leaf bsr-candidate-rp-set-limit { + type uint32; + description + "Maximum crp-set from BSR"; + } + leaf bsr-candidate-rp-set-count { + type uint32; + description + "Current crp-set count from BSR"; + } + leaf bsr-candidate-rp-set-threshold { + type uint32; + description + "Threshold crp-set from BSR"; + } + leaf is-maximum-enforcement-disabled { + type boolean; + description + "Is maximum enforcement disabled"; + } + leaf is-node-low-memory { + type boolean; + description + "Is node in low memory condition"; + } + leaf route-threshold { + type uint32; + description + "Threshold routes"; + } + leaf global-auto-rp-ranges-limit { + type uint32; + description + "Global Auto-RP maximum group ranges"; + } + leaf is-global-auto-rp-ranges-limit-reached { + type boolean; + description + "Is global AutoRP group-to-RP mapping range + creation throttled"; + } + leaf global-bsr-ranges-limit { + type uint32; + description + "Global BSR maximum group ranges"; + } + leaf global-bsr-ranges-count { + type uint32; + description + "Global BSR current group ranges"; + } + leaf global-bsr-ranges-threshold { + type uint32; + description + "Global BSR Threshold group ranges"; + } + leaf is-global-bsr-ranges-limit-reached { + type boolean; + description + "Is global BSR group-to-RP mapping range creation + throttled"; + } + leaf global-bsr-candidate-rp-set-limit { + type uint32; + description + "Global BSR maximum crp-set"; + } + leaf global-bsr-candidate-rp-set-count { + type uint32; + description + "Global BSR current crp-set count"; + } + leaf global-bsr-candidate-rp-set-threshold { + type uint32; + description + "Global BSR Threshold crp-set"; + } + leaf is-global-route-limit-reached { + type boolean; + description + "Is global route creation throttled"; + } + leaf topology-interface-state-threshold { + type uint32; + description + "Topology Interface State threshold"; + } + leaf is-global-rxi-limit-reached { + type boolean; + description + "Is global interface creation throttled"; + } + leaf register-threshold { + type uint32; + description + "Threshold registers"; + } + leaf global-register-limit { + type uint32; + description + "Maximum global registers"; + } + leaf is-global-register-limit-reached { + type boolean; + description + "Is global PIM SM register handling throttled"; + } + } + + grouping PIM-GRP-MAP-INFORPF-BAG { + description + "PIM group-map information"; + container rpf-neighbor { + description + "RPF neighbor to the RP"; + uses PIM-ADDRTYPE; + } + container group-map-information { + description + "Group Mapping information"; + uses PIM-GRP-MAP-BAG; + } + leaf are-we-rp { + type boolean; + description + "Are we the RP?"; + } + leaf rpf-interface-name { + type xr:Interface-name; + description + "RPF interface to the RP"; + } + leaf rpf-vrf-name { + type string { + length "0..33"; + } + description + "RPF VRF Name"; + } + } + + grouping PIM-PKTQ-STATS { + description + "PIM packet queue statistics per priority"; + leaf enqueued-packets { + type uint32; + description + "Total number of packets enqueued to this queue"; + } + leaf dequeued-packets { + type uint32; + description + "Total number of packets dequeued from this queue"; + } + leaf high-water-mark-packets { + type uint32; + description + "Highest number of packets enqueued in this queue"; + } + leaf high-water-mark-bytes { + type uint32; + units "byte"; + description + "Highest number of bytes enqueued in this queue"; + } + leaf tail-drops { + type uint32; + description + "Number packets dropped from this queue due to + max size"; + } + } + + grouping PIM-PKTQ-STATE { + description + "PIM packet queue state per priority"; + leaf max-queue-size { + type uint32; + units "byte"; + description + "Maximum size of queue in bytes"; + } + leaf queue-size-bytes { + type uint32; + units "byte"; + description + "Size of queue in bytes"; + } + leaf queue-size-packets { + type uint32; + description + "Size of queue in number of packets"; + } + } + + grouping PIM-PKTQ { + description + "PIM packet queue state and statistics"; + container packet-queue-state { + description + "State of the queue"; + uses PIM-PKTQ-STATE; + } + container packet-queue-stats { + description + "Statistics about the queue"; + uses PIM-PKTQ-STATS; + } + leaf packet-queue-priority { + type uint32; + description + "Priority of this packet queue"; + } + } + + grouping PIM-TRAFFIC-BAG { + description + "PIM Traffic counters"; + leaf elapsed-time { + type uint32; + units "second"; + description + "Running time for counters in seconds"; + } + leaf inputs { + type uint32; + description + "Packets in"; + } + leaf outputs { + type uint32; + description + "Packets out"; + } + leaf format-error { + type uint32; + description + "Malformed packets in"; + } + leaf pakman-error { + type uint32; + description + "Pakman packets dropped"; + } + leaf standby-packets-error { + type uint32; + description + "Packets received in standby state"; + } + leaf checksum-error { + type uint32; + description + "Checksum errors"; + } + leaf socket-error { + type uint32; + description + "Socket errors"; + } + leaf send-queue-full { + type uint32; + description + "Packets dropped since send queue was full"; + } + leaf boundary-acl-rx-drop { + type uint32; + description + "Inc. JP dropped since boundary ACL confg"; + } + leaf boundary-acl-tx-drop { + type uint32; + description + "Out JP dropped since boundary ACL confg"; + } + leaf no-socket-connection { + type uint32; + description + "Packets dropped since no socket connection"; + } + leaf no-source-address { + type uint32; + description + "Packets dropped since no source address"; + } + leaf input-hello { + type uint32; + description + "Hello packets in"; + } + leaf output-hello { + type uint32; + description + "Hello packets out"; + } + leaf input-jp { + type uint32; + description + "Join Prune packets in"; + } + leaf output-jp { + type uint32; + description + "Join Prune packets out"; + } + leaf input-data-register { + type uint32; + description + "Data Register packets in"; + } + leaf input-null-register { + type uint32; + description + "Null Register packets in"; + } + leaf output-null-register { + type uint32; + description + "Null Register packets out"; + } + leaf input-register-stop { + type uint32; + description + "Register Stop packets in"; + } + leaf output-register-stop { + type uint32; + description + "Register Stop packets out"; + } + leaf input-assert { + type uint32; + description + "Assert packets in"; + } + leaf input-assert-batched { + type uint32; + description + "Batched Assert packets in"; + } + leaf output-assert { + type uint32; + description + "Assert packets out"; + } + leaf output-assert-batched { + type uint32; + description + "Batched Assert packets out"; + } + leaf input-df-election { + type uint32; + description + "DF Election packets in"; + } + leaf output-df-election { + type uint32; + description + "DF Election packets out"; + } + leaf input-bsr-message { + type uint32; + description + "Input BSR Messages"; + } + leaf output-bsr-message { + type uint32; + description + "Output BSR Messages"; + } + leaf input-candidate-rp-advertisement { + type uint32; + description + "Input Candidate-RP Advertisment"; + } + leaf output-candidate-rp-advertisement { + type uint32; + description + "Output Candidate-RP Advertisment"; + } + leaf input-ecmp-redirect { + type uint32; + description + "Input Ecmp Redirect"; + } + leaf output-ecmp-redirect { + type uint32; + description + "Output Ecmp Redirect"; + } + leaf output-loop-error { + type uint32; + description + "Output on loopback error"; + } + leaf mldp-mdt-invalid-lsm-identifier { + type uint32; + description + " Invalid LSM ID"; + } + leaf input-no-idb-error { + type uint32; + description + "No IDB for intf error"; + } + leaf input-no-vrf-error { + type uint32; + description + "No VRF for idb error"; + } + leaf input-no-pim-error { + type uint32; + description + "PIM Disabled on intf error"; + } + leaf input-pim-version-error { + type uint32; + description + "Invalid PIM version error"; + } + leaf output-join-group { + type uint32; + description + "Output Join Groups"; + } + leaf output-prune-group { + type uint32; + description + "Output Prune Groups"; + } + leaf output-join-prune-bytes { + type uint32; + units "byte"; + description + "Output JP Bytes"; + } + leaf output-hello-bytes { + type uint32; + units "byte"; + description + "Output Hello Bytes"; + } + leaf non-supported-packets { + type uint32; + description + "PIM non supported pckets"; + } + leaf invalid-registers { + type uint32; + description + "PIM invalid registers received"; + } + leaf invalid-join-prunes { + type uint32; + description + "PIM invalid Join/Prunes received"; + } + leaf packet-packman-error { + type uint32; + description + "Packets Dropped due to Pakman Error"; + } + leaf packet-read-socket-error { + type uint32; + description + "Packet Read Socket Error"; + } + leaf packet-queue-last-clear { + type uint32; + units "second"; + description + "Time in seconds since the last clear of all + packet queues stats"; + } + leaf packets-standby { + type uint32; + description + "Packets Dropped due to Standby Error"; + } + leaf no-mdt-socket-connection { + type uint32; + description + "Packets dropped since no mdt socket connection"; + } + leaf mdt-send-queue-full { + type uint32; + description + "Packets dropped since mdt send queue was full"; + } + leaf mdt-socket-error { + type uint32; + description + "MDT Socket errors"; + } + leaf mdt-join-tlv-sent { + type uint32; + description + "Data MDT Join Msgs sent"; + } + leaf mdt-join-tlv-received { + type uint32; + description + "Data MDT Join Msgs received"; + } + leaf mdt-join-bad-type { + type uint32; + description + "Data MDT TLV bad type"; + } + leaf mdt-drop-local-source-address { + type uint32; + description + "Data MDT Join msgs dropped due to local source + addr"; + } + leaf mdt-drop-null-local-address { + type uint32; + description + "Data MDT Join msgs dropped due to null local + addr"; + } + leaf mdt-drop-no-idb { + type uint32; + description + "Data MDT Join msgs dropped due to idb missing"; + } + leaf mdt-drop-no-vrf { + type uint32; + description + "Data MDT Join msgs dropped due to vrf missing"; + } + leaf invalid-destination-packets { + type uint32; + description + "Control Packets with Invalid Destination"; + } + leaf mdt-joins-drop-multiple-encapsulation { + type uint32; + description + "MDT Join msgs dropped due to multiple Encap + limitation"; + } + leaf truncated-pim-packets { + type uint32; + description + "Packets dropped due to truncated Joins or Prunes"; + } + list packet-queue { + max-elements "2"; + description + "Packet queue state and statistics"; + uses PIM-PKTQ; + } + } + + grouping PIM-GRP-MAP-BAG { + description + "PIM group-map basic information"; + container prefix { + description + "Group range prefix"; + uses PIM-ADDRTYPE; + } + container rp-address { + description + "Rendezvous Point Address"; + uses PIM-ADDRTYPE; + } + leaf prefix-length { + type int32; + description + "Group range prefix length"; + } + leaf client { + type Pim-show-range-client; + description + "Client mapping learnt from"; + } + leaf protocol { + type Pim-show-protocol; + description + "Protocol mode of the range"; + } + leaf group-count { + type uint32; + description + "No. of groups in this range"; + } + leaf is-used { + type boolean; + description + "Is this mapping being used?"; + } + leaf mrib-active { + type boolean; + description + "Is this mapping active in MRIB?"; + } + leaf is-override { + type boolean; + description + "Is this the override range?"; + } + leaf priority { + type uint32; + description + "Bootstrap priority"; + } + } + + grouping PIM-GRP-MAP-INFOSRC-BAG { + description + "PIM group-map source information"; + container source-of-information { + description + "The source of information"; + uses PIM-ADDRTYPE; + } + container group-map-information { + description + "Group Mapping information"; + uses PIM-GRP-MAP-BAG; + } + leaf holdtime { + type int32; + units "second"; + description + "Holdtime in seconds"; + } + leaf expires { + type uint64; + units "second"; + description + "Mapping expiry time in seconds"; + } + leaf uptime { + type uint64; + units "second"; + description + "Mapping uptime in seconds"; + } + } + + grouping PIM-BGP-SAFI-BAG { + description + "PIM BGP SAFI bag"; + container source { + description + "Source address"; + uses PIM-ADDRTYPE; + } + container group { + description + "Group address"; + uses PIM-ADDRTYPE; + } + container next-hop { + description + "Next hop address"; + uses PIM-ADDRTYPE; + } + leaf route-distinguisher { + type string { + length "0..256"; + } + description + "Router ID"; + } + leaf extranet-path-count { + type uint32; + description + "Count of dependent extranet paths"; + } + leaf is-bgp-added { + type boolean; + description + "SAFI learnt from BGP"; + } + } + + grouping PIM-TT-OLE-BAG { + description + "PIM topology OLE information"; + container assert-winner { + description + "Assert Winner"; + uses PIM-ADDRTYPE; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Identifier"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expiry { + type uint64; + units "second"; + description + "Expiry in seconds"; + } + leaf bgp-c-mcast-prune-delay-timer { + type uint64; + units "second"; + description + "BGP C-MCAST Prune Suppression in seconds"; + } + leaf jp-timer { + type int32; + units "second"; + description + "Join-Prune Timer (secs)"; + } + leaf jp-state { + type int32; + description + "Join-Prune State"; + } + leaf assert-timer { + type int32; + units "second"; + description + "Assert Timer in seconds"; + } + leaf local-members { + type int32; + description + "Local Information. Deprecated - use + 'local-members-information' instead"; + } + leaf internal-interest-info { + type int32; + description + "Internal Interest. Deprecated - use + 'internal-interest-information' instead"; + } + leaf forwarding-state { + type int32; + description + "Forward or Prune"; + } + leaf immediate-state { + type int32; + description + "Immediate fwding state"; + } + leaf last-hop { + type boolean; + description + "Are we last hop ?"; + } + leaf mldp-inband-mdt { + type boolean; + description + "MLDP Inband MDT interface"; + } + leaf mldp-stale { + type boolean; + description + "OLE is stale"; + } + leaf sa-prune { + type boolean; + description + "BGP SA Prune state"; + } + leaf admin-boundary { + type boolean; + description + "Is this an administrative boundary ?"; + } + leaf igmp-membership { + type boolean; + description + "IGMP membership"; + } + leaf mdt-safi-join { + type boolean; + description + "MDT Safi join"; + } + leaf mvpn-safi-join { + type boolean; + description + "MVPN Safi join"; + } + leaf local-mdt-join { + type boolean; + description + "Default MDT Join"; + } + leaf data-mdt-join { + type boolean; + description + "Data MDT join"; + } + leaf mvpnv6-safi-join { + type boolean; + description + "MVPN IPv6 Safi join"; + } + leaf bgp-c-mcast-join { + type boolean; + description + "BGP C-Mcast join"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF which physically owns"; + } + leaf extranet-interface { + type boolean; + description + "Is this an Extranet Interface ?"; + } + leaf internal-interest-information { + type Pim-internal-interest-info; + description + "Internal Interest. Replaces + internal-interest-info"; + } + leaf local-members-information { + type Pim-show-local-interest; + description + "Local Information. Replaces local-members"; + } + leaf assert-state { + type boolean; + description + "Assert State"; + } + } + + grouping PIM-TT-ROUTE-BAG { + description + "PIM topology table route"; + container group-address-xr { + description + "Group Address"; + uses PIM-ADDRTYPE; + } + container source-address-xr { + description + "Source Address"; + uses PIM-ADDRTYPE; + } + container rp-address { + description + "RP Address (If rpt)"; + uses PIM-ADDRTYPE; + } + container rpf-neighbor { + description + "RPF Neighbor"; + uses PIM-ADDRTYPE; + } + container secondary-rpf-neighbor { + description + "Secondary RPF Neighbor"; + uses PIM-ADDRTYPE; + } + container rpf-root { + description + "Root of this mcast tree"; + uses PIM-ADDRTYPE; + } + container proxy-address { + description + "RPF Proxy address."; + uses PIM-ADDRTYPE; + } + container orig-src-address { + description + "Orig Src Address."; + uses PIM-ADDRTYPE; + } + leaf limit-reached { + type boolean; + description + "Have we throttled the creation of routes or + interfaces ?"; + } + leaf low-memory { + type boolean; + description + "Node is running low on memory"; + } + leaf protocol { + type Pim-show-protocol; + description + "The PIM protocol"; + } + leaf wildcard { + type boolean; + description + "WC -Wildcard"; + } + leaf rpt-xr { + type boolean; + description + "Is this on the RPT ?"; + } + leaf spt { + type boolean; + description + "Is this on the SPT ?"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expiry { + type uint64; + description + "When this entry expires"; + } + leaf alive { + type int32; + units "second"; + description + "Alive time in seconds (-1 if never)"; + } + leaf register-received-timer { + type int32; + units "second"; + description + "Register Received Timer in seconds (-1 if never)"; + } + leaf remote-source { + type boolean; + description + "MSDP told us"; + } + leaf crossed-threshold { + type boolean; + description + "Incoming traffic crossed threshold. MT flag set"; + } + leaf data-mdt-addr-assigned { + type boolean; + description + "PIM has assigned a Data MDT Address"; + } + leaf rpf-interface-name { + type xr:Interface-name; + description + "Interface Identifier"; + } + leaf rpf-vrf-name { + type string { + length "0..33"; + } + description + "RPF VRF Name"; + } + leaf rpf-safi { + type uint8; + description + "Unicast or mcast"; + } + leaf rpf-table-name { + type string; + description + "RPF Table name"; + } + leaf rpf-drop { + type boolean; + description + "RPF route-policy drop"; + } + leaf rpf-extranet { + type boolean; + description + "Extranet RPF route-policy"; + } + leaf is-via-lsm { + type boolean; + description + "Via LSM"; + } + leaf secondary-rpf-interface-name { + type xr:Interface-name; + description + "Secondary Interface Identifier"; + } + leaf connected { + type boolean; + description + "Is Connected ?"; + } + leaf proxy { + type boolean; + description + "Is the RPF target a proxy?"; + } + leaf rpf-proxy-enabled { + type boolean; + description + "Is rpf if proxy enabled?"; + } + leaf mofrr-enabled { + type boolean; + description + "Is this SG MoFRR enabled?"; + } + leaf rib-mo-frr-enabled { + type boolean; + description + "Is this SG MoFRR enabled?"; + } + leaf jp-timer { + type int32; + description + "Join-Prune Timer"; + } + leaf jp-status { + type int32; + description + "Join-Prune Status"; + } + leaf suppress-registers { + type int32; + description + "When the Null register probe expires"; + } + leaf assume-alive { + type boolean; + description + "The Assume Alive Bit"; + } + leaf probe-alive { + type boolean; + description + "The Probe Alive Bit"; + } + leaf really-alive { + type boolean; + description + "The Really Alive Bit"; + } + leaf inherit-alive { + type boolean; + description + "The Inherit Alive Bit"; + } + leaf inherit-spt { + type boolean; + description + "The Inherit SPT Bit"; + } + leaf signal-sources { + type boolean; + description + "Signal Sources on route?"; + } + leaf dont-check-connected { + type boolean; + description + "Do we need to make the connected check on this + route ?"; + } + leaf register-received { + type boolean; + description + "Have registers been received for this source ?"; + } + leaf last-hop { + type boolean; + description + "Are we last hop ?"; + } + leaf sending-registers { + type boolean; + description + "Are we sending registers for this route ?"; + } + leaf sending-null-registers { + type boolean; + description + "Are we sending null registers for this route ?"; + } + leaf sa-sent { + type boolean; + description + "BGP SA sent"; + } + leaf sa-received { + type boolean; + description + "BGP SA received"; + } + leaf sa-joined { + type boolean; + description + "BGP SA join"; + } + leaf anycast-rp-match { + type boolean; + description + "Group matches Anycast-RP policy"; + } + leaf anycast-rp-route-target { + type inet:ipv4-address; + description + "Anycast-RP RT"; + } + leaf bgp-join { + type boolean; + description + "BGP C JOIN"; + } + leaf bgp-jp-time { + type uint64; + description + "BGP C JP Time"; + } + leaf customer-routing-type { + type int32; + description + "Type of Customer Routing in the MVPN"; + } + leaf extranet-route { + type boolean; + description + "Is a Extranet route ?"; + } + leaf mofrr-active { + type boolean; + description + "Is MoFRR Active?"; + } + leaf mofrr-primary { + type boolean; + description + "Is this Mofrr Primary?"; + } + leaf mofrr-backup { + type boolean; + description + "Is this Mofrr Backup?"; + } + leaf vxlan { + type boolean; + description + "Is this VXLAN?"; + } + leaf kat-state { + type boolean; + description + "Keep Alive Timer State"; + } + list outgoing-interface { + description + "Outgoing interface list"; + uses PIM-TT-OLE-BAG; + } + } + + grouping PIM-BIDIR-DF-STATE-BAG { + description + "PIM Bidirectional DF state"; + container rp-address-xr { + description + "RP Address"; + uses PIM-ADDRTYPE; + } + leaf pim-interface-name { + type string; + description + "Interface Name"; + } + leaf election-state { + type string; + description + "DF Election State"; + } + leaf time-seconds { + type uint64; + units "second"; + description + "Timer expires (seconds)"; + } + leaf time-nano-seconds { + type uint64; + units "nanosecond"; + description + "Timer expires (nseconds)"; + } + leaf our-metric { + type uint32; + description + "Metric"; + } + leaf our-metric-preference { + type uint32; + description + "MetricPreference"; + } + } + + grouping PIM-TUNNEL-INFO-BAG { + description + "PIM tunnel information"; + container source-address { + description + "Source addr known to PIM"; + uses PIM-ADDRTYPE; + } + container rp-address { + description + "RP addr known to PIM"; + uses PIM-ADDRTYPE; + } + container source-address-netio { + description + "Source addr from netio"; + uses PIM-ADDRTYPE; + } + container group-address-netio { + description + "Group addr from netio"; + uses PIM-ADDRTYPE; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF Name"; + } + } + + grouping PIM-RPF-SUMMARY-BAG { + description + "PIM RPF count summary"; + leaf default-safi { + type uint32; + description + "Default RPF Table SAFI"; + } + leaf default-table-name { + type string; + description + "Default RPF Table Name"; + } + leaf is-mbgp-configured { + type boolean; + description + "Is MBGP configured?"; + } + leaf is-ospf-te-configured { + type boolean; + description + "Is OSPF TE configured?"; + } + leaf is-isis-te-configured { + type boolean; + description + "Is ISIS TE configured?"; + } + leaf is-isis-mtr-configured { + type boolean; + description + "Is ISIS MTR configured?"; + } + leaf mo-frr-configured { + type boolean; + description + "Is MoFRR configured?"; + } + leaf rib-mo-frr-configured { + type boolean; + description + "Is MoFRR RIB configured?"; + } + leaf rump-enabled { + type boolean; + description + "Is RUMP MuRIB enabled?"; + } + leaf rib-convergence-timeout { + type uint32; + units "second"; + description + "RIB convergence timeout in seconds"; + } + leaf rib-convergence-time-left { + type uint32; + units "second"; + description + "RIB convergence time left in seconds"; + } + leaf is-multipath-enabled { + type boolean; + description + "Is Multipath Enabled ?"; + } + leaf is-multipath-interface-hash-enabled { + type boolean; + description + "Is Multipath Interface Hash Extension Enabled ?"; + } + leaf is-multipath-source-hash-enabled { + type boolean; + description + "Is Multipath Source based Hash Enabled ?"; + } + leaf is-multipath-source-next-hop-hash-enabled { + type boolean; + description + "Is Multipath Source-Nexthop Hash Enabled ?"; + } + leaf rpf-registrations { + type uint32; + description + "RPF Registration count"; + } + leaf is-rib-convergence { + type boolean; + description + "RIB Convergence status"; + } + } + + grouping PIM-RPF-POLICY-TEST-BAG { + description + "PIM RPF policy test statistics"; + container source-address-xr { + description + "Source address"; + uses PIM-ADDRTYPE; + } + container group-address-xr { + description + "Source address"; + uses PIM-ADDRTYPE; + } + leaf policy-name { + type string; + description + "RPF policy name"; + } + leaf extended-community-rt { + type string { + length "0..33"; + } + description + "Route Target"; + } + leaf pass { + type boolean; + description + "Pass"; + } + leaf default-table { + type boolean; + description + "Default table selected"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + leaf afi { + type uint32; + description + "AFI"; + } + leaf safi { + type uint32; + description + "SAFI"; + } + leaf table-name { + type string; + description + "Table name"; + } + leaf table-exists { + type boolean; + description + "Table exists"; + } + leaf table-active { + type boolean; + description + "Table active"; + } + } + + grouping PIM-RPF-POLICY-STATS-BAG { + description + "PIM RPF policy statistics"; + leaf policy-name { + type string; + description + "RPF policy name"; + } + leaf requests { + type uint32; + description + "Number of RPF lookup requests"; + } + leaf pass { + type uint32; + description + "Number of RPF pass"; + } + leaf drop { + type uint32; + description + "Number of RPF drops"; + } + leaf default-table { + type uint32; + description + "Number of RPF lookup in default-only Table"; + } + leaf any-table { + type uint32; + description + "Number of RPF lookup in any Table"; + } + } + + grouping PIM-BSR-ELECTION-BAG { + description + "PIM BSR Election State"; + container bsr-address { + description + "BSR address"; + uses PIM-ADDRTYPE; + } + container candidate-bsr-address { + description + "C-BSR address"; + uses PIM-ADDRTYPE; + } + leaf bsr-priority { + type uint8; + description + "BSR Priority"; + } + leaf bsr-mask-length { + type uint8; + description + "Hash Function Mask Length"; + } + leaf bsr-up-time { + type uint16; + description + "BSR Uptime"; + } + leaf bootstrap-timeout { + type uint16; + description + "Bootstrap Timeout"; + } + leaf candidate-bsr-state { + type uint32; + description + "BSR Candidate State"; + } + leaf bsr-election-state { + type uint32; + description + "BSR Election State"; + } + leaf bsr-scope { + type uint16; + description + "BSR Scope"; + } + leaf candidate-bsr-flag { + type boolean; + description + "BSR Candidate Config Flag"; + } + leaf candidate-bsr-priority { + type uint8; + description + "C-BSR Priority"; + } + leaf candidate-bsr-mask-length { + type uint8; + description + "C-BSR Hash Func. Mask Len"; + } + } + + grouping PIM-BSR-CRP-ACL-BAG { + description + "PIM BSR Candidate RP Access-list"; + leaf candidate-rp-mode { + type Pim-show-protocol; + description + "Cand-RP Mode"; + } + leaf acl-name { + type string { + length "0..33"; + } + description + "Group Access-List Name"; + } + } + + grouping PIM-BSR-CANDIDATE-RP-BAG { + description + "PIM BSR Candidate RP"; + container candidate-rp { + description + "Cand-RP Address"; + uses PIM-ADDRTYPE; + } + leaf candidate-rp-mode { + type Pim-show-protocol; + description + "Cand-RP Mode"; + } + leaf candidate-rp-scope { + type int32; + description + "Cand-RP Scope"; + } + leaf crp-priority { + type uint8; + description + "Cand-RP Priority"; + } + leaf crp-holdtime { + type uint16; + description + "Cand-RP Holdtime"; + } + leaf candidate-rp-advance-interval { + type uint16; + units "second"; + description + "Cand-RP Adv Interval in seconds"; + } + leaf candidate-rp-uptime { + type uint16; + description + "Cand-RP uptime"; + } + leaf acl-name { + type string { + length "0..33"; + } + description + "Group Access-List Name"; + } + list crp-access { + max-elements "2"; + description + "Group Ranges Using this Cand-RP"; + uses PIM-BSR-CRP-ACL-BAG; + } + } + + grouping PIM-BSR-CRP-BAG { + description + "PIM BSR C-RP"; + list pim-bsr-crp-bag { + description + "pim bsr crp bag"; + container candidate-rp-address { + description + "C-RP address"; + uses PIM-ADDRTYPE; + } + leaf candidate-rp-holdtime { + type uint16; + description + "C-RP Holdtime"; + } + leaf candidate-rp-priority { + type uint8; + description + "C-RP Priority"; + } + leaf candidate-rp-up-time { + type uint16; + description + "C-RP Uptime"; + } + leaf candidate-rp-expires { + type uint16; + description + "C-RP Expires"; + } + leaf protocol { + type Pim-show-protocol; + description + "PIM Protocol"; + } + } + } + + grouping PIM-BSR-RP-CACHE-BAG { + description + "PIM BSR RP cache"; + container group-prefix-xr { + description + "Group Prefix"; + uses PIM-ADDRTYPE; + } + container candidate-rp-list { + description + "C-RP list for this prefix"; + uses PIM-BSR-CRP-BAG; + } + leaf group-prefix-length { + type uint32; + description + "Group Prefix Length"; + } + leaf candidate-rp-group-count { + type uint32; + description + "C-RP count for this Prefix"; + } + } + + grouping PIM-RL-RP-RANGE-BAG { + description + "PIM RP range list information"; + container prefix { + description + "Group range prefix"; + uses PIM-ADDRTYPE; + } + container source-of-information { + description + "Source of information"; + uses PIM-ADDRTYPE; + } + leaf prefix-length { + type int32; + description + "Group range prefix length"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expires { + type uint64; + description + "When mapping expires"; + } + } + + grouping PIM-RL-BAG { + description + "PIM range list information"; + container rp-address-xr { + description + "Rendezvous point address"; + uses PIM-ADDRTYPE; + } + container source-of-information { + description + "Source of information"; + uses PIM-ADDRTYPE; + } + leaf protocol { + type Pim-show-protocol; + description + "PIM protocol"; + } + leaf client-xr { + type Pim-show-range-client; + description + "Client mapping learnt via"; + } + leaf expires { + type uint64; + description + "When mapping expires"; + } + list group-range { + description + "List of group ranges"; + uses PIM-RL-RP-RANGE-BAG; + } + } + + grouping PIM-IDB-SUMM-BAG { + description + "PIM IFRS interface summary"; + leaf interface-count { + type uint32; + description + "Number of interfaces"; + } + leaf configuration-count { + type uint32; + description + "Configuration counts"; + } + } + + grouping PIM-NBR-BAG { + description + "PIM neighbor information"; + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface Identifier"; + } + leaf uptime { + type uint64; + units "second"; + description + "Uptime in seconds"; + } + leaf expires { + type uint64; + units "second"; + description + "Neighbor expiry in seconds"; + } + leaf expiry-timer { + type uint64; + units "second"; + description + "Expiry timer in seconds"; + } + leaf is-this-neighbor-us { + type boolean; + description + "Is this neighbor us ?"; + } + leaf is-this-neighbor-dr { + type boolean; + description + "Is this neighbor the DR"; + } + leaf is-dr-priority-capable { + type boolean; + description + "Is this neighbor DR priority capable ?"; + } + leaf dr-priority { + type uint32; + description + "DR priority"; + } + leaf is-bidirectional-capable { + type boolean; + description + "Is this neighbor bidir capable ?"; + } + leaf is-proxy-capable { + type boolean; + description + "Is this neighbor proxy capable?"; + } + leaf is-batch-asserts-capable { + type boolean; + description + "Is this neighbor capable of batching asserts?"; + } + leaf is-ecmp-redirect-capable { + type boolean; + description + "Is this neighbor capable of Ecmp Redirect?"; + } + leaf is-bfd-state { + type boolean; + description + "Is the neighbor bfd session created"; + } + leaf propagation-delay { + type uint16; + description + "Propagation Delay"; + } + leaf override-interval { + type uint16; + description + "Override Interval"; + } + list neighbor-address-xr { + description + "List of Neighbor Addresses"; + uses PIM-ADDRTYPE; + } + } + + grouping PIM-MROUTE-BAG { + description + "Multicast Route MIB entry"; + container source-address-xr { + description + "Source Address"; + uses PIM-ADDRTYPE; + } + container group-address-xr { + description + "Group Address"; + uses PIM-ADDRTYPE; + } + container rpf-neighbor { + description + "The RPF Neighbor"; + uses PIM-ADDRTYPE; + } + container rpf-root { + description + "Root of this mcast tree"; + uses PIM-ADDRTYPE; + } + leaf upstream-assert-timer { + type int32; + description + "Upstream Assert Timer"; + } + leaf assert-metric { + type uint32; + description + "Assert Metric"; + } + leaf assert-metric-preference { + type uint32; + description + "Assert Metric Preference"; + } + leaf assert-rpt-bit { + type boolean; + description + "Assert RPT Bit"; + } + leaf spt-bit { + type boolean; + description + "Is SPT bit set ?"; + } + leaf rpf-mask { + type uint32; + description + "Mask of the multicast root"; + } + leaf rpf-safi { + type uint8; + description + "Unicast or mcast"; + } + leaf rpf-table-name { + type string; + description + "RPF Table name"; + } + leaf rpf-drop { + type boolean; + description + "RPF route-policy drop"; + } + leaf rpf-extranet { + type boolean; + description + "Extranet RPF route-policy"; + } + leaf rpf-interface-name { + type xr:Interface-name; + description + "RPF interface name "; + } + leaf rpf-vrf-name { + type string { + length "0..33"; + } + description + "RPF VRF Name"; + } + leaf bidirectional-route { + type boolean; + description + "Is this Bidir ?"; + } + leaf uptime { + type uint64; + description + "Uptime of route"; + } + leaf protocol { + type Pim-show-protocol; + description + "The PIM protocol"; + } + } + + grouping PIM-JPSTATS-BAG { + description + "PIM join-prune statistic"; + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface Identifier"; + } + leaf mtu { + type uint32; + description + "Interface MTU"; + } + leaf transmitted { + type uint32; + description + "Transmitted"; + } + leaf transmitted100 { + type uint16; + description + "Transmitted 100 average"; + } + leaf transmitted-1k { + type uint16; + description + "Transmitted 1K average"; + } + leaf transmitted-10k { + type uint16; + description + "Transmitted 10K average"; + } + leaf transmitted-50k { + type uint16; + description + "Deprecated by Transmitted100"; + } + leaf received { + type uint32; + description + "Received"; + } + leaf received100 { + type uint16; + description + "Received 100 average"; + } + leaf received-1k { + type uint16; + description + "Received 1K average"; + } + leaf received-10k { + type uint16; + description + "Received 10K average"; + } + leaf received-50k { + type uint16; + description + "Deprecated by Received100"; + } + } + + grouping PIM-TT-SUMM-BAG { + description + "PIM topology table summary"; + leaf group-ranges { + type uint32; + description + "No. of (*,G/M) routes"; + } + leaf active-group-ranges { + type uint32; + description + "No. of (*,G/M) routes active in mrib"; + } + leaf groute-count { + type uint32; + description + "No. of (*,G) routes"; + } + leaf sg-route-count { + type uint32; + description + "No. of (S,G) routes"; + } + leaf sgr-route-count { + type uint32; + description + "No. of (S,G)RPT routes"; + } + leaf is-node-low-memory { + type boolean; + description + "Is node in low memory condition"; + } + } + + grouping PIM-IFSTATS-BAG { + description + "PIM Interface Statistics"; + leaf input-hello { + type uint32; + description + "Hello packets in"; + } + leaf output-hello { + type uint32; + description + "Hello packets out"; + } + leaf input-register { + type uint32; + description + "Register packets in"; + } + leaf output-register { + type uint32; + description + "Register packets out"; + } + leaf input-register-stop { + type uint32; + description + "Register Stop packets in"; + } + leaf output-register-stop { + type uint32; + description + "Register Stop packets out"; + } + leaf input-jp { + type uint32; + description + "Join Prune packets in"; + } + leaf output-jp { + type uint32; + description + "Join Prune packets out"; + } + leaf input-bsr-message { + type uint32; + description + "Input BSR Messages"; + } + leaf output-bsr-message { + type uint32; + description + "Output BSR Messages"; + } + leaf input-assert { + type uint32; + description + "Assert packets in"; + } + leaf output-assert { + type uint32; + description + "Assert packets out"; + } + leaf input-graft-message { + type uint32; + description + "Input Graft Messages"; + } + leaf output-graft-message { + type uint32; + description + "Output Graft Messages"; + } + leaf input-graft-ack-message { + type uint32; + description + "Input Graft Ack Messages"; + } + leaf output-graft-ack-message { + type uint32; + description + "Output Graft Ack Messages"; + } + leaf input-candidate-rp-advertisement { + type uint32; + description + "Input Candidate-RP Advertisment"; + } + leaf output-candidate-rp-advertisement { + type uint32; + description + "Output Candidate-RP Advertisment"; + } + leaf input-df-election { + type uint32; + description + "DF Election packets in"; + } + leaf output-df-election { + type uint32; + description + "DF Election packets out"; + } + leaf input-miscellaneous { + type uint32; + description + "Miscellaneous packet in"; + } + } + + grouping PIM-RPF-PATH-BAG { + description + "PIM RPF path information"; + container rpf-neighbor { + description + "RPF neighbor"; + uses PIM-ADDRTYPE; + } + container rpf-nexthop { + description + "RPF nexthop"; + uses PIM-ADDRTYPE; + } + leaf rpf-interface-name { + type xr:Interface-name; + description + "RPF Interface"; + } + leaf is-rpf-interface-disabled { + type boolean; + description + "Is the rpf interface disabled ?"; + } + leaf is-via-lsm { + type boolean; + description + "Via LSM"; + } + leaf is-via-mlsm { + type boolean; + description + "Via Mstatic LSM"; + } + leaf is-connector-attribute-present { + type boolean; + description + "Connector attribute present"; + } + leaf connector { + type yang:hex-string; + description + "Connector Attribute"; + } + leaf extranet-vrf-name { + type string { + length "0..33"; + } + description + "Extranet VRF name"; + } + } + + grouping PIM-RPF-INFO-BAG { + description + "PIM RPF information"; + container registered-address-xr { + description + "Address registered"; + uses PIM-ADDRTYPE; + } + leaf metric { + type uint32; + description + "Metric"; + } + leaf metric-preference { + type uint32; + description + "Metric preference"; + } + leaf is-connected { + type uint8; + description + "Are we connected ?"; + } + leaf is-rpf-bgp-route { + type boolean; + description + "Is RPF through BGP route"; + } + list rpf-path { + description + "RPF Paths list"; + uses PIM-RPF-PATH-BAG; + } + } + + grouping PIM-RPF-HASH-BAG { + description + "PIM RPF Hash Outcome"; + container next-hop-address { + description + "Next hop neighbor address"; + uses PIM-ADDRTYPE; + } + container secondary-next-hop-address { + description + "Secondary Next hop neighbor address"; + uses PIM-ADDRTYPE; + } + leaf next-hop-multipath-enabled { + type boolean; + description + "Next hop multipath enabled?"; + } + leaf next-hop-interface { + type xr:Interface-name; + description + "Next hop neighbor interface"; + } + leaf secondary-next-hop-interface { + type xr:Interface-name; + description + "Secondary Next hop neighbor interface"; + } + } + + grouping PIM-IDB-BAG { + description + "PIM interface"; + container dr-address { + description + "PIM Designated Router"; + uses PIM-ADDRTYPE; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface Identfier"; + } + leaf interface-address-mask { + type uint8; + description + "Interface IP Address Mask"; + } + leaf is-enabled { + type boolean; + description + "Is PIM enabled on this IF ?"; + } + leaf neighbor-count { + type uint16; + description + "No. of neighbors on this IF"; + } + leaf external-neighbor-count { + type uint16; + description + "No. of external neighbors on this IF"; + } + leaf hello-interval { + type uint16; + description + "Hello Interval"; + } + leaf dr-priority { + type uint32; + description + "DR Priority"; + } + leaf hello-expiry { + type uint64; + description + "Hello Timer Expiry"; + } + leaf are-we-dr { + type boolean; + description + "Are we the DR on this IF ?"; + } + leaf bfd-enabled { + type boolean; + description + "BFD state"; + } + leaf bfd-interval { + type uint32; + description + "BFD Interval"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD Multiplier"; + } + leaf virtual-interface { + type boolean; + description + " is this a Virtual Interfaces ?"; + } + leaf passive-interface { + type boolean; + description + "Passive PIM interface"; + } + leaf neighbor-filter-name { + type string; + description + "Neighbor Filter Name"; + } + leaf join-prune-interval { + type uint16; + description + "Join-Prune Interval"; + } + leaf prune-delay-enabled { + type boolean; + description + "Prune Delay Enabled"; + } + leaf configured-propagation-delay { + type uint16; + description + "Configured Propagation Delay"; + } + leaf propagation-delay { + type uint16; + description + "Propagation Delay"; + } + leaf configured-override-interval { + type uint16; + description + "Configured Override Interval"; + } + leaf override-interval { + type uint16; + description + "Override Interval"; + } + leaf generation-id { + type uint32; + description + "Generation Identifier"; + } + leaf is-bidirectional-capable { + type boolean; + description + "Bidir Capable"; + } + leaf is-proxy-capable { + type boolean; + description + "Proxy Capable"; + } + leaf is-batch-asserts-capable { + type boolean; + description + "Batch Asserts Capable"; + } + leaf idb-oor-enabled { + type boolean; + description + "Interface oor enabled"; + } + leaf idb-acl-provided { + type boolean; + description + "ACL name provided"; + } + leaf idb-max-count { + type uint32; + description + "Interface ole max count"; + } + leaf idb-threshold-count { + type uint32; + description + "Interface ole threshold count"; + } + leaf idb-current-count { + type uint32; + description + "Interface ole current count"; + } + leaf idb-acl-name { + type string { + length "0..64"; + } + description + "Interface ole ACL Name"; + } + list interface-address { + description + "List of Interface IP Addresses"; + uses PIM-ADDRTYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang new file mode 100644 index 0000000..4b51f43 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper-sub2.yang @@ -0,0 +1,187 @@ +submodule Cisco-IOS-XR-ipv4-pim-oper-sub2 { + belongs-to Cisco-IOS-XR-ipv4-pim-oper { + prefix Cisco-IOS-XR-ipv4-pim-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-pim package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-27 { + description + "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + typedef Pim-afi { + type enumeration { + enum "ipv4-unicast" { + value 0; + description + "IP v4 unicast"; + } + enum "ipv6-unicast" { + value 1; + description + "IP v6 unicast"; + } + } + description + "Address family"; + } + + typedef Pim-interface { + type enumeration { + enum "encap-interface" { + value 0; + description + "Encap Interface"; + } + enum "decap-interface" { + value 1; + description + "Decap Interface"; + } + enum "mdt-interface" { + value 2; + description + "MDT Interface"; + } + } + description + "Interface Type"; + } + + grouping PIM-MA-SUMMARY { + description + "PIM MA Summary"; + leaf is-im-connection-open { + type boolean; + description + "IM Connection Open"; + } + leaf is-netio-connection-open { + type boolean; + description + "Netio Connection Open"; + } + leaf is-edm-connection-open { + type boolean; + description + "EDM Connection Open"; + } + leaf is-standby-edm-connection-open { + type boolean; + description + "Standby EDM Connection Open"; + } + leaf encap-interface-count { + type uint32; + description + "Encap Interface Count"; + } + leaf decap-interface-count { + type uint32; + description + "Decap Interface Count"; + } + leaf mdt-interface-count { + type uint32; + description + "MDT Interface Count"; + } + } + + grouping PIM-ADDRTYPE { + description + "PIM ADDRTYPE"; + leaf af-name { + type Pim-afi; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4-unicast'" { + description + "../AFName = 'IPv4Unicast'"; + } + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf ipv6-address { + when "../af-name = 'ipv6-unicast'" { + description + "../AFName = 'IPv6Unicast'"; + } + type Ipv6-address; + description + "IPV6 Address"; + } + } + + grouping PIM-MA-IDB { + description + "PIM MA interface"; + container rp-address { + description + "RP Address"; + uses PIM-ADDRTYPE; + } + container source-address { + description + "Source Address"; + uses PIM-ADDRTYPE; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf interface-type { + type Pim-interface; + description + "Interface Type"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper.yang new file mode 100644 index 0000000..1457fa8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-pim-oper.yang @@ -0,0 +1,1478 @@ +module Cisco-IOS-XR-ipv4-pim-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-pim-oper"; + prefix ipv4-pim-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-pim-oper-sub2 { + revision-date 2017-06-26; + } + include Cisco-IOS-XR-ipv4-pim-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-pim package operational data. + + This module contains definitions + for the following management objects: + pim-ma: PIM MA operational data + pim: pim + ipv6-pim: ipv6 pim + pim6-ma: pim6 ma + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-27 { + description + "Removed deprecated leaves under traffic-counters. Added missing leaves under context. Removed checkpoint-statistics container because the corresponding CLI command requires cisco-support permissions."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pim-topology-interface-flag { + type enumeration { + enum "lh" { + value 0; + description + "LH"; + } + enum "ld" { + value 1; + description + "LD"; + } + enum "li" { + value 2; + description + "LI"; + } + enum "ii" { + value 3; + description + "II"; + } + enum "id" { + value 4; + description + "ID"; + } + enum "as" { + value 5; + description + "AS"; + } + enum "ab" { + value 6; + description + "AB"; + } + enum "ex" { + value 7; + description + "EX"; + } + } + description + "Pim topology interface flag"; + } + + typedef Pim-safi { + type enumeration { + enum "unicast" { + value 1; + description + "SAFI unicast"; + } + enum "multicast" { + value 2; + description + "SAFI Multicast"; + } + enum "all" { + value 3; + description + "SAFI all"; + } + enum "default" { + value 4; + description + "SAFI default"; + } + } + description + "Pim safi"; + } + + typedef Pim-client { + type enumeration { + enum "none" { + value 0; + description + "No Client"; + } + enum "configured-embedded-rp" { + value 1; + description + "Embedded RP from configuration"; + } + enum "embedded" { + value 2; + description + "Embedded RP learnt from the Group addr"; + } + enum "permanent" { + value 3; + description + "Permanent"; + } + enum "auto-rp" { + value 4; + description + "AutoRP"; + } + enum "bsr" { + value 5; + description + "BSR"; + } + enum "configured" { + value 6; + description + "Configured"; + } + enum "static" { + value 7; + description + "Static"; + } + } + description + "Pim client"; + } + + typedef Pim-topology-entry-flag { + type enumeration { + enum "kat" { + value 0; + description + "KAT"; + } + enum "aa" { + value 1; + description + "AA"; + } + enum "pa" { + value 2; + description + "PA"; + } + enum "ra" { + value 3; + description + "RA"; + } + enum "ia" { + value 4; + description + "IA"; + } + enum "rr" { + value 5; + description + "RR"; + } + enum "lh" { + value 6; + description + "LH"; + } + enum "dss" { + value 7; + description + "DSS"; + } + enum "dcc" { + value 8; + description + "DCC"; + } + enum "sr" { + value 9; + description + "SR"; + } + enum "e" { + value 10; + description + "E"; + } + enum "ex" { + value 11; + description + "EX"; + } + enum "ma" { + value 12; + description + "MA"; + } + enum "mt" { + value 13; + description + "MT"; + } + enum "mfa" { + value 14; + description + "MFA"; + } + enum "mfp" { + value 15; + description + "MFP"; + } + enum "mfb" { + value 16; + description + "MFB"; + } + } + description + "Pim topology entry flag"; + } + + typedef Pim-protocol { + type enumeration { + enum "non-routable" { + value 0; + description + "Non Routable"; + } + enum "sparse-mode" { + value 1; + description + "Sparse Mode"; + } + enum "dense-mode" { + value 2; + description + "Dense Mode"; + } + enum "bidir" { + value 3; + description + "Bidirectional Mode"; + } + enum "ssm" { + value 4; + description + "Source Specific Multicast Mode"; + } + enum "maximum" { + value 5; + description + "Maximum"; + } + enum "any" { + value 6; + description + "Any"; + } + } + description + "Pim protocol"; + } + + grouping AUTO-RP { + description + "Common node of vrf, default-context"; + container auto-rp { + description + "PIM Auto-RP information"; + } + } + + grouping ROUTE-POLICY { + description + "Common node of vrf, default-context"; + container route-policy { + description + "PIM route policy"; + container route-policy-statistics { + description + "PIM route policy statistics"; + uses PIM-RPF-POLICY-STATS-BAG; + } + container route-policy-tests { + description + "PIM route policy test run table"; + list route-policy-test { + description + "PIM route policy test run"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source IP address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group IP address"; + } + leaf ext-comm { + type xr:Cisco-ios-xr-string { + length "1..8"; + } + description + "Extended Community"; + } + uses PIM-RPF-POLICY-TEST-BAG; + } + } + } + } + + grouping GROUP-MAP-SOURCE-TABLE { + description + "Common node of vrf, default-context"; + container group-map-sources { + description + "PIM group-mapping with source information"; + list group-map-source { + description + "PIM Group Mapping Entry with source information"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + leaf client { + type Pim-client; + description + "Client"; + } + leaf protocol { + type Pim-protocol; + description + "Protocol"; + } + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address"; + } + leaf priority { + type int32; + description + "RP Priority"; + } + uses PIM-GRP-MAP-INFOSRC-BAG; + } + } + } + + grouping BIDIR-DF-STATE-TABLE { + description + "Common node of vrf, default-context"; + container bidir-df-states { + description + "Bidirectional PIM DF election state table"; + list bidir-df-state { + description + "Bidirectional PIM DF Election Table Entry"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-BIDIR-DF-STATE-BAG; + } + } + } + + grouping MIB-DATABASE-TABLE { + description + "Common node of vrf, default-context"; + container mib-databases { + description + "PIM group database for mroute mibs table"; + list mib-database { + description + "PIM multicast static route information"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Multicast static route source address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Multicast satic route group address"; + } + leaf source-netmask { + type int32; + description + "Source mask"; + } + uses PIM-MROUTE-BAG; + } + } + } + + grouping BGP-AF-TABLE { + description + "Common node of vrf, default-context"; + container bgp-afs { + description + "PIM BGP SAFI table"; + list bgp-af { + description + "PIM BGP SAFI information"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source IP address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group IP address"; + } + uses PIM-BGP-SAFI-BAG; + } + } + } + + grouping TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE { + description + "Common node of vrf, default-context"; + container topology-entry-flag-route-counts { + description + "Route count for topology with entry flag set"; + list topology-entry-flag-route-count { + key "entry-flag"; + description + "Route count for topology with entry flag set"; + leaf entry-flag { + type Pim-topology-entry-flag; + description + "entry flag"; + } + uses PIM-TT-SUMM-BAG; + } + } + } + + grouping BIDIR-DF-WINNER-TABLE { + description + "Common node of vrf, default-context"; + container bidir-df-winners { + description + "Bidirectional PIM DF election winner table"; + list bidir-df-winner { + description + "Bidirectional PIM DF election table entry"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-BIDIR-DF-BAG; + } + } + } + + grouping TABLE-CONTEXT-TABLE { + description + "Common node of vrf, default-context"; + container table-contexts { + description + "PIM table context list"; + list table-context { + description + "PIM table context information"; + leaf saf-name { + type Pim-safi; + description + "SAF name"; + } + leaf topology-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Topology name"; + } + uses PIM-TABLE-CTX-BAG; + } + } + } + + grouping VRF-TABLE { + description + "Common node of active, standby"; + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name "; + } + uses IFRS-INTERFACE-TABLE; + uses SAF-TABLE; + uses INTERFACE-STATISTICS-TABLE; + uses TOPOLOGY-ROUTE-COUNT; + uses JP-STATISTICS-TABLE; + uses MIB-DATABASE-TABLE; + uses NEIGHBOR-OLD-FORMAT-TABLE; + uses IFRS-SUMMARY; + uses RANGE-LIST-TABLE; + uses INTERFACE-OLD-FORMAT-TABLE; + uses BSR; + uses ROUTE-POLICY; + uses RPF-SUMMARY; + uses IPV4-PIM-COMMON-OPER-INTERFACE-TABLE; + uses NET-IO-TUNNEL-TABLE; + uses BIDIR-DF-STATE-TABLE; + uses TOPOLOGY-TABLE; + uses BGP-AF-TABLE; + uses AUTO-RP; + uses TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE; + uses GROUP-MAP-SOURCE-TABLE; + uses TRAFFIC-COUNTERS; + uses GROUP-MAP-RPF-TABLE; + uses SUMMARY; + uses GRE; + uses BIDIR-DF-WINNER-TABLE; + uses TABLE-CONTEXT-TABLE; + uses NEIGHBOR-SUMMARY-TABLE; + uses CONTEXT; + uses TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE; + uses RPF-REDIRECT; + uses TUNNEL-TABLE; + uses MULTICAST-STATIC-ROUTE-TABLE; + uses NEIGHBOR-TABLE; + } + } + } + + grouping BSR { + description + "Common node of vrf, default-context"; + container bsr { + description + "PIM BSR information"; + container rp-caches { + description + "PIM BSR RP cache table"; + list rp-cache { + key "group-prefix"; + description + "PIM BSR RP cache"; + leaf group-prefix { + type inet:ip-address-no-zone; + description + "Group prefix"; + } + uses PIM-BSR-RP-CACHE-BAG; + } + } + container candidate-rps { + description + "PIM candidate-RP"; + list candidate-rp { + key "rp-address"; + description + "PIM BSR candidate RP information"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "Candidate-RP address"; + } + uses PIM-BSR-CANDIDATE-RP-BAG; + } + } + container bsr-elections { + description + "PIM BSR election state"; + list bsr-election { + key "pim-scope"; + description + "PIM BSR information"; + leaf pim-scope { + type int32; + description + "BSR information"; + } + uses PIM-BSR-ELECTION-BAG; + } + } + } + } + + grouping NET-IO-TUNNEL-TABLE { + description + "Common node of vrf, default-context"; + container net-io-tunnels { + description + "Tunnel information that NETIO has "; + list net-io-tunnel { + key "tunnel-name"; + description + "PIM netio tunnel information"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Tunnel name"; + } + uses PIM-TUNNEL-INFO-BAG; + } + } + } + + grouping RPF-SUMMARY { + description + "Common node of vrf, default-context"; + container rpf-summary { + description + "PIM RPF registration summary"; + uses PIM-RPF-SUMMARY-BAG; + } + } + + grouping IFRS-INTERFACE-TABLE { + description + "Common node of vrf, default-context"; + container ifrs-interfaces { + description + "PIM interfaces in forward reference store table"; + list ifrs-interface { + key "interface-name"; + description + "PIM IFRS interface information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-IDB-BAG; + } + } + } + + grouping PROCESS { + description + "Common node of active, standby"; + container process { + description + "Process"; + container nsr { + description + "NSR Information"; + uses PIM-NSR-BAG; + } + container summary { + description + "PIM Global Summary"; + uses PIM-SUMMARY-BAG; + } + container nsf { + description + "PIM NSF information"; + uses PIM-NSF-BAG; + } + container issu { + description + "ISSU Information"; + uses PIM-ISSU-BAG; + } + } + } + + grouping JP-STATISTICS-TABLE { + description + "Common node of vrf, default-context"; + container jp-statistics { + description + "PIM join prune statistics table"; + list jp-statistic { + key "interface-name"; + description + "PIM Join Prune Statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-JPSTATS-BAG; + } + } + } + + grouping TOPOLOGY-TABLE { + description + "Common node of vrf, default-context"; + container topologies { + description + "PIM topology table"; + list topology { + description + "PIM topology information"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + leaf rpt { + type int32; + description + "RPT bit"; + } + uses PIM-TT-ROUTE-BAG; + } + } + } + + grouping NEIGHBOR-SUMMARY-TABLE { + description + "Common node of vrf, default-context"; + container neighbor-summaries { + description + "PIM neighbor summary table"; + list neighbor-summary { + key "interface-name"; + description + "PIM neighbor summary information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-NBR-SUMM-BAG; + } + } + } + + grouping TRAFFIC-COUNTERS { + description + "Common node of vrf, default-context"; + container traffic-counters { + description + "PIM message traffic counters"; + uses PIM-TRAFFIC-BAG; + } + } + + grouping TOPOLOGY-ROUTE-COUNT { + description + "Common node of vrf, default-context"; + container topology-route-count { + description + "Topology route count information from PIM + topology table"; + uses PIM-TT-SUMM-BAG; + } + } + + grouping TUNNEL-TABLE { + description + "Common node of vrf, default-context"; + container tunnels { + description + "Tunnels information that PIM has"; + list tunnel { + key "tunnel-name"; + description + "PIM tunnel information"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Tunnel name"; + } + uses PIM-TUNNEL-INFO-BAG; + } + } + } + + grouping PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP { + description + "Common node of active, standby"; + container pim-ma-summary { + description + "PIM MA summary"; + uses PIM-MA-SUMMARY; + } + } + + grouping ACTIVE { + description + "Common node of pim-ma, pim6-ma"; + container active { + description + "Active Process"; + uses INTERFACE-TABLE; + uses PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP; + } + } + + grouping IPV4-PIM-ROLE-LVL-OPER-ACTIVE { + description + "Common node of pim-ma, pim6-maCommon node of pim, + ipv6-pim"; + container active { + description + "Active Process"; + uses DEFAULT-CONTEXT; + uses PROCESS; + uses VRF-TABLE; + } + } + + grouping GROUP-MAP-RPF-TABLE { + description + "Common node of vrf, default-context"; + container group-map-rpfs { + description + "PIM group mapping information"; + list group-map-rpf { + description + "PIM group mapping entry"; + leaf prefix { + type inet:ip-address-no-zone; + description + "Prefix"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + leaf client { + type Pim-client; + description + "Client"; + } + leaf protocol { + type Pim-protocol; + description + "Protocol"; + } + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address"; + } + leaf rp-priority { + type int32; + description + "RP priority"; + } + uses PIM-GRP-MAP-INFORPF-BAG; + } + } + } + + grouping INTERFACE-OLD-FORMAT-TABLE { + description + "Common node of vrf, default-context"; + container interface-old-formats { + description + "PIM interfaces in old format"; + list interface-old-format { + key "interface-name"; + description + "PIM interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-IDB-BAG; + } + } + } + + grouping RPF-REDIRECT { + description + "Common node of vrf, default-context"; + container rpf-redirect { + description + "PIM ECMP RPF-redirect bundle"; + container redirect-route-databases { + description + "PIM ECMP RPF-redirect route database"; + list redirect-route-database { + description + "PIM ECMP RPF-redirect route information"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + uses PIM-RPF-RDRCT-ROUTE-BAG; + } + } + container bundle-interfaces { + description + "PIM ECMP RPF-redirect bundle information"; + list bundle-interface { + description + "PIM ECMP RPF-redirect bundle interface + information"; + leaf bundle-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bundle name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + uses PIM-RPF-RDRCT-BNDL-BAG; + } + } + } + } + + grouping CONTEXT { + description + "Common node of vrf, default-context"; + container context { + description + "PIM context information"; + uses PIM-CONTEXT-BAG; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of active, standby"; + container interface-table { + description + "Interface Table"; + container interface-by-handles { + description + "Table of PIM MA interfaces indexed by handle"; + list interface-by-handle { + key "interface-handle"; + description + "PIM MA interface referenced by handle"; + leaf interface-handle { + type int32; + description + "Interface handle"; + } + uses PIM-MA-IDB; + } + } + container interface-by-names { + description + "Table of PIM MA interfaces indexed by name"; + list interface-by-name { + key "interface-name"; + description + "PIM MA interface referenced by name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-MA-IDB; + } + } + } + } + + grouping IPV4-PIM-COMMON-OPER-INTERFACE-TABLE { + description + "Common node of active, standbyCommon node of vrf, + default-context"; + container interfaces { + description + "PIM interfaces"; + list interface { + key "interface-name"; + description + "PIM interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-IDB-BAG; + } + } + } + + grouping SUMMARY { + description + "Common node of vrf, default-context"; + container summary { + description + "PIM summary"; + uses PIM-SUMMARY-BAG; + } + } + + grouping TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE { + description + "Common node of vrf, default-context"; + container topology-interface-flag-route-counts { + description + "Route count for topology with interface flag set"; + list topology-interface-flag-route-count { + key "interface-flag"; + description + "Route count for topology with interface flag + set"; + leaf interface-flag { + type Pim-topology-interface-flag; + description + "Interface flag"; + } + uses PIM-TT-SUMM-BAG; + } + } + } + + grouping INTERFACE-STATISTICS-TABLE { + description + "Common node of vrf, default-context"; + container interface-statistics { + description + "PIM interface statistics"; + list interface-statistic { + key "interface-name"; + description + "PIM interface statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-IFSTATS-BAG; + } + } + } + + grouping GRE { + description + "Common node of vrf, default-context"; + container gre { + description + "GRE information"; + container gre-hashes { + description + "GRE hash"; + list gre-hash { + key "source-address destination-address ifname"; + description + "PIM GRE Hashed Underlying Interface"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf destination-address { + type inet:ip-address-no-zone; + description + "Destination address"; + } + leaf ifname { + type xr:Interface-name; + description + "GRE Tunnel Interface"; + } + uses PIM-GRE-HASH-BAG; + } + } + container gre-next-hops { + description + "GRE destination neighbor table"; + list gre-next-hop { + key "destination-address"; + description + "PIM GRE address next-hop information"; + leaf destination-address { + type inet:ip-address-no-zone; + description + "GRE destination address"; + } + uses PIM-GRE-INFO-BAG; + } + } + } + } + + grouping NEIGHBOR-OLD-FORMAT-TABLE { + description + "Common node of vrf, default-context"; + container neighbor-old-formats { + description + "PIM neighbor table old format"; + list neighbor-old-format { + description + "PIM neighbor information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses PIM-NBR-BAG; + } + } + } + + grouping IFRS-SUMMARY { + description + "Common node of vrf, default-context"; + container ifrs-summary { + description + "PIM interfaces in forward reference store + summary"; + uses PIM-IDB-SUMM-BAG; + } + } + + grouping DEFAULT-CONTEXT { + description + "Common node of active, standby"; + container default-context { + description + "Default Context"; + container global-interfaces { + description + "PIM global interface table"; + list global-interface { + key "interface-name"; + description + "PIM interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PIM-IDB-BAG; + } + } + uses IFRS-INTERFACE-TABLE; + uses SAF-TABLE; + uses INTERFACE-STATISTICS-TABLE; + uses TOPOLOGY-ROUTE-COUNT; + uses JP-STATISTICS-TABLE; + uses MIB-DATABASE-TABLE; + uses NEIGHBOR-OLD-FORMAT-TABLE; + uses IFRS-SUMMARY; + uses RANGE-LIST-TABLE; + uses INTERFACE-OLD-FORMAT-TABLE; + uses BSR; + uses ROUTE-POLICY; + uses RPF-SUMMARY; + uses IPV4-PIM-COMMON-OPER-INTERFACE-TABLE; + uses NET-IO-TUNNEL-TABLE; + uses BIDIR-DF-STATE-TABLE; + uses TOPOLOGY-TABLE; + uses BGP-AF-TABLE; + uses AUTO-RP; + uses TOPOLOGY-INTERFACE-FLAG-ROUTE-COUNT-TABLE; + uses GROUP-MAP-SOURCE-TABLE; + uses TRAFFIC-COUNTERS; + uses GROUP-MAP-RPF-TABLE; + uses SUMMARY; + uses GRE; + uses BIDIR-DF-WINNER-TABLE; + uses TABLE-CONTEXT-TABLE; + uses NEIGHBOR-SUMMARY-TABLE; + uses CONTEXT; + uses TOPOLOGY-ENTRY-FLAG-ROUTE-COUNT-TABLE; + uses RPF-REDIRECT; + uses TUNNEL-TABLE; + uses MULTICAST-STATIC-ROUTE-TABLE; + uses NEIGHBOR-TABLE; + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of vrf, default-context"; + container neighbors { + description + "PIM neighbor table"; + list neighbor { + description + "PIM neighbor information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ip-address-no-zone; + description + "Neighbor address"; + } + uses PIM-NBR-BAG; + } + } + } + + grouping SAF-TABLE { + description + "Common node of vrf, default-context"; + container safs { + description + "SAFI table and type"; + list saf { + description + "SAF name "; + container rpf-hash-source-groups { + description + "PIM RPF multipath hash outcome"; + list rpf-hash-source-group { + description + "PIM RPF hash outcome for S,G"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf group-address { + type inet:ip-address-no-zone; + description + "Group address"; + } + leaf mask-length { + type int32; + description + "Hash mask length"; + } + leaf mofrr { + type int32; + description + "MOFRR"; + } + uses PIM-RPF-HASH-BAG; + } + } + container rpf-hash-sources { + description + "PIM RPF multipath hash outcome"; + list rpf-hash-source { + description + "PIM RPF hash outcome for S,G"; + leaf source-address { + type inet:ip-address-no-zone; + description + "Source address"; + } + leaf mofrr { + type int32; + description + "MOFRR"; + } + uses PIM-RPF-HASH-BAG; + } + } + container rpfs { + description + "PIM RPF information table"; + list rpf { + key "registered-address"; + description + "PIM RPF information"; + leaf registered-address { + type inet:ip-address-no-zone; + description + "Address for which RPF lookup"; + } + uses PIM-RPF-INFO-BAG; + } + } + leaf saf-name { + type Pim-safi; + description + "SAF name "; + } + leaf topology-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Topology name "; + } + } + } + } + + grouping MULTICAST-STATIC-ROUTE-TABLE { + description + "Common node of vrf, default-contextCommon node of + vrf, default-context"; + container multicast-static-routes { + description + "PIM multicast static route table"; + list multicast-static-route { + description + "PIM multicast static route information"; + leaf address { + type inet:ip-address-no-zone; + description + "Network address"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + uses PIM-MSTATIC-BAG; + } + } + } + + grouping RANGE-LIST-TABLE { + description + "Common node of vrf, default-context"; + container ranges { + description + "PIM range list information"; + list range { + description + "PIM range list information"; + leaf rp-address { + type inet:ip-address-no-zone; + description + "RP address"; + } + leaf client { + type Pim-client; + description + "Client"; + } + uses PIM-RL-BAG; + } + } + } + + grouping STANDBY { + description + "Common node of pim-ma, pim6-ma"; + container standby { + description + "Standby Process"; + uses INTERFACE-TABLE; + uses PIM-MA-COMMON-OPER-PIM-MA-SUMMARY-MP; + } + } + + grouping IPV4-PIM-ROLE-LVL-OPER-STANDBY { + description + "Common node of pim-ma, pim6-maCommon node of pim, + ipv6-pim"; + container standby { + description + "Standby Process"; + uses DEFAULT-CONTEXT; + uses PROCESS; + uses VRF-TABLE; + } + } + + container pim-ma { + config false; + description + "PIM MA operational data"; + uses ACTIVE; + uses STANDBY; + } + container pim { + config false; + description + "pim"; + uses IPV4-PIM-ROLE-LVL-OPER-STANDBY; + uses IPV4-PIM-ROLE-LVL-OPER-ACTIVE; + } + container ipv6-pim { + config false; + description + "ipv6 pim"; + uses IPV4-PIM-ROLE-LVL-OPER-STANDBY; + uses IPV4-PIM-ROLE-LVL-OPER-ACTIVE; + } + container pim6-ma { + config false; + description + "pim6 ma"; + uses ACTIVE; + uses STANDBY; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ping-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ping-act.yang new file mode 100644 index 0000000..e6ffc51 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-ping-act.yang @@ -0,0 +1,218 @@ +submodule Cisco-IOS-XR-ipv4-ping-act { + belongs-to Cisco-IOS-XR-ping-act { + prefix ping-act; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv4 ping action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-08-20 { + description + "IOS XR 6.2.1 revision."; + } + + grouping PING-COMMON-INPUT-OUTPUT-OPTIONS { + leaf destination { + type string; + mandatory true; + description + "Ping destination address or hostname"; + } + leaf repeat-count { + type uint64 { + range "1..64"; + } + default "5"; + description + "Number of ping packets to be sent out"; + } + leaf data-size { + type uint64 { + range "36..18024"; + } + default "100"; + description + "Size of ping packet"; + } + leaf timeout { + type uint64 { + range "0..36"; + } + default "2"; + description + "Timeout in seconds"; + } + leaf interval { + type uint32 { + range "0..3600"; + } + default "10"; + description + "Ping interval in milli seconds"; + } + leaf pattern { + type xr:Hex-integer; + description + "Pattern of payload data"; + } + leaf sweep { + type boolean; + description + "Sweep is enabled"; + } + } + + grouping PING-OPTIONS { + uses PING-COMMON-INPUT-OUTPUT-OPTIONS; + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf source { + type string; + description + "Source address or interface"; + } + leaf verbose { + type boolean; + description + "Validate return packet"; + } + } + + grouping IPV4-SPECIFIC-OPTIONS { + leaf type-of-service { + type uint8 { + range "0..255"; + } + description + "Type of Service"; + } + leaf do-not-frag { + type boolean; + description + "Do Not Fragment"; + } + leaf validate { + type boolean; + description + "Validate return packet"; + } + } + + grouping IPV4-PING-OPTIONS { + uses PING-OPTIONS; + uses IPV4-SPECIFIC-OPTIONS; + } + + grouping IPV4-PING-INPUT { + uses IPV4-PING-OPTIONS; + } + + grouping IPV4-PING-OUTPUT { + uses PING-COMMON-INPUT-OUTPUT-OPTIONS; + container replies { + list reply { + key "reply-index"; + leaf reply-index { + type uint64 { + range "1..2147483647"; + } + description + "Index of the reply list"; + } + leaf result { + type string; + description + "Response for each packet"; + } + container broadcast-reply-addresses { + list broadcast-reply-address { + key "reply-address"; + leaf reply-address { + type string; + description + "Broadcast reply address"; + } + leaf result { + type string; + description + "Sign for each reply packet"; + } + } + } + } + } + leaf hits { + type uint64; + description + "Number of packets reach to destination and get reply back"; + } + leaf total { + type uint64; + description + "Total number of packets sent out"; + } + leaf success-rate { + type uint64; + description + "Successful rate of ping"; + } + leaf rtt-min { + type uint64; + description + "Minimum value of Round Trip Time"; + } + leaf rtt-avg { + type uint64; + description + "Average value of Round Trip Time"; + } + leaf rtt-max { + type uint64; + description + "Maximum value of Round Trip Time"; + } + leaf sweep-min { + type uint32; + description + "Minimum value of sweep size"; + } + leaf sweep-max { + type uint64; + description + "Maximum value of sweep size"; + } + leaf rotate-pattern { + type boolean; + description + "Rotate Pattern is enabled"; + } + leaf ping-error-response { + type string; + description + "Error response for each ping, in case of bulk ping"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-smiap-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-smiap-cfg.yang new file mode 100644 index 0000000..4e78781 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-smiap-cfg.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-ipv4-smiap-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-smiap-cfg"; + prefix ipv4-smiap-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-smiap package configuration. + + This module contains definitions + for the following management objects: + ipv4-virtual: IPv4 virtual address for management interfaces + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-07-04 { + description + "this schema file has all the latest changes."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv4-virtual { + description + "IPv4 virtual address for management interfaces"; + container vrfs { + description + "VRFs for the virtual IPv4 addresses"; + list vrf { + key "vrf-name"; + description + "A VRF for a virtual IPv4 address. Specify + 'default' for VRF default"; + container address { + presence "Indicates a address node is configured."; + description + "IPv4 sddress and mask"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IPv4 address"; + } + leaf netmask { + type xr:Ipv4-prefix-length; + mandatory true; + description + "IPv4 address mask"; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of VRF"; + } + } + } + leaf use-as-source-address { + type empty; + description + "Enable use as default source address on sourced + packets"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-cfg.yang new file mode 100644 index 0000000..6790eaf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-cfg.yang @@ -0,0 +1,62 @@ +module Cisco-IOS-XR-ipv4-telnet-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-cfg"; + prefix ipv4-telnet-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-telnet package configuration. + + This module contains definitions + for the following management objects: + ipv6-telnet: IPv6 telnet configuration + ipv4-telnet: ipv4 telnet + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CLIENT { + description + "Common node of ipv4-telnet, ipv6-telnet"; + container client { + description + "Telnet client configuration"; + leaf source-interface { + type xr:Interface-name; + description + "Source interface for telnet sessions"; + } + } + } + + container ipv6-telnet { + description + "IPv6 telnet configuration"; + uses CLIENT; + } + container ipv4-telnet { + description + "ipv4 telnet"; + uses CLIENT; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang new file mode 100644 index 0000000..883e7b2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-ipv4-telnet-mgmt-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg"; + prefix ipv4-telnet-mgmt-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-telnet-mgmt package configuration. + + This module contains definitions + for the following management objects: + telnet: Global Telnet configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-10-30 { + description + "Descriptions updated."; + } + + container telnet { + description + "Global Telnet configuration commands"; + container vrfs { + description + "VRF name for telnet service"; + list vrf { + key "vrf-name"; + description + "VRF name for telnet service"; + container ipv4 { + description + "IPv4 configuration"; + leaf dscp { + type uint32 { + range "0..63"; + } + description + "Specify the DSCP value"; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-traceroute-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-traceroute-act.yang new file mode 100644 index 0000000..7ea102e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-traceroute-act.yang @@ -0,0 +1,160 @@ +submodule Cisco-IOS-XR-ipv4-traceroute-act { + belongs-to Cisco-IOS-XR-traceroute-act { + prefix traceroute-act; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv4 traceroute action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-17 { + description + "IOS XR 6.2.1 revision."; + } + + grouping TRACEROUTE-OPTIONS { + leaf destination { + type string; + mandatory true; + description + "Destination address or hostname"; + } + leaf source { + type string; + description + "Source address or interface"; + } + leaf timeout { + type uint32 { + range "0..36"; + } + default "3"; + description + "Timeout in seconds"; + } + leaf probe { + type uint16 { + range "1..64"; + } + default "3"; + description + "Probe count"; + } + leaf numeric { + type boolean; + description + "Numeric display only"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf min-ttl { + type uint16 { + range "0..255"; + } + default "1"; + description + "minimum time to live"; + } + leaf max-ttl { + type uint16 { + range "0..255"; + } + default "30"; + description + "maximum time to live"; + } + leaf port { + type uint32 { + range "0..65535"; + } + description + "Port numbe"; + } + leaf verbose { + type boolean; + description + "verbose output"; + } + } + + grouping TRACEROUTE-OUTPUT { + leaf destination { + type string; + description + "Destination address or hostname"; + } + container hops { + list hop { + key "hop-index"; + leaf hop-index { + type uint32; + description + "Index of the hop"; + } + leaf hop-address { + type string; + description + "Address of the hop"; + } + leaf hop-hostname { + type string; + description + "Hostname of the hop"; + } + container probes { + list probe { + key "probe-index"; + leaf probe-index { + type uint32; + description + "Index of the probe"; + } + leaf result { + type string; + description + "Response for each probe"; + } + leaf delta-time { + type uint32; + description + "Delta time in seconds"; + } + leaf hop-address { + type string; + description + "Address of the hop"; + } + leaf hop-hostname { + type string; + description + "Hostname of the hop"; + } + } + } + } + } + leaf verbose-output { + type string; + description + "Verbose output"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-cfg.yang new file mode 100644 index 0000000..55b88fc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-cfg.yang @@ -0,0 +1,766 @@ +module Cisco-IOS-XR-ipv4-vrrp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-cfg"; + prefix ipv4-vrrp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-vrrp package configuration. + + This module contains definitions + for the following management objects: + vrrp: VRRP configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-19 { + description + "Marked delay leafs min-delay and reload-delay as mandatory."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-16 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container vrrp { + description + "VRRP-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable VRRP-MIB notifications"; + } + } + } + container vrrp { + description + "VRRP configuration"; + container logging { + description + "VRRP logging options"; + leaf state-change-disable { + type empty; + description + "VRRP state change IOS messages disable"; + } + } + container interfaces { + description + "Interface configuration table"; + list interface { + key "interface-name"; + description + "The interface being configured"; + container ipv6 { + description + "IPv6 VRRP configuration"; + container version3 { + description + "Version 3 VRRP configuration"; + container virtual-routers { + description + "The VRRP virtual router configuration table"; + list virtual-router { + key "vr-id"; + description + "The VRRP virtual router being configured"; + container global-ipv6-addresses { + description + "The table of VRRP virtual global IPv6 + addresses"; + list global-ipv6-address { + key "ip-address"; + description + "A VRRP virtual global IPv6 IP address"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "VRRP virtual global IPv6 address"; + } + } + } + container tracks { + description + "Track an item, reducing priority if it + goes down"; + list track { + key "interface-name"; + description + "Object to be tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container timer { + description + "Set advertisement timer"; + leaf in-msec { + type boolean; + default "false"; + description + "TRUE - Advertise time configured in + milliseconds, FALSE - Advertise time + configured in seconds"; + } + leaf advertisement-time-in-msec { + type uint32 { + range "100..40950"; + } + units "millisecond"; + description + "Advertisement time in milliseconds"; + } + leaf advertisement-time-in-sec { + type uint32 { + range "1..40"; + } + units "second"; + description + "Advertisement time in seconds"; + } + leaf forced { + type boolean; + default "false"; + description + "TRUE - Force configured timer values to + be used, required when configured in + milliseconds"; + } + } + container tracked-objects { + description + "Track an object, reducing priority if it + goes down"; + list tracked-object { + key "object-name"; + description + "Object to be tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority-decrement { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container link-local-ipv6-address { + description + "The VRRP IPv6 virtual linklocal address"; + leaf ip-address { + when "../auto-configure = 0" { + description + "../AutoConfigure = "; + } + type inet:ip-address-no-zone; + description + "VRRP IPv6 virtual linklocal address"; + } + leaf auto-configure { + type boolean; + default "false"; + description + "TRUE if the virtual linklocal address is + to be autoconfigured FALSE if an IPv6 + virtual linklocal address is configured"; + } + } + leaf bfd { + type inet:ip-address-no-zone; + description + "Enable use of Bidirectional Forwarding + Detection for this IP"; + } + leaf priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Priority value"; + } + leaf accept-mode-disable { + type empty; + description + "Disable Accept Mode for this virtual + IPAddress"; + } + leaf preempt { + type uint32 { + range "0..3600"; + } + default "0"; + description + "Preempt Master router if higher priority"; + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "VRRP Session Name"; + } + leaf vr-id { + type uint32 { + range "1..255"; + } + description + "VRID Virtual Router Identifier"; + } + } + } + } + container slave-virtual-routers { + description + "The VRRP slave group configuration table"; + list slave-virtual-router { + key "slave-virtual-router-id"; + description + "The VRRP slave being configured"; + container link-local-ipv6-address { + description + "The VRRP IPv6 virtual linklocal address"; + leaf ip-address { + when "../auto-configure = 0" { + description + "../AutoConfigure = "; + } + type inet:ip-address-no-zone; + description + "VRRP IPv6 virtual linklocal address"; + } + leaf auto-configure { + type boolean; + default "false"; + description + "TRUE if the virtual linklocal address is + to be autoconfigured FALSE if an IPv6 + virtual linklocal address is configured"; + } + } + container global-ipv6-addresses { + description + "The table of VRRP virtual global IPv6 + addresses"; + list global-ipv6-address { + key "ip-address"; + description + "A VRRP virtual global IPv6 IP address"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "VRRP virtual global IPv6 address"; + } + } + } + leaf follow { + type string; + description + "VRRP Session name for this slave to follow"; + } + leaf accept-mode-disable { + type empty; + description + "Disable Accept Mode for this virtual + IPAddress"; + } + leaf slave-virtual-router-id { + type uint32 { + range "1..255"; + } + description + "Virtual Router ID"; + } + } + } + } + container delay { + presence "Indicates a delay node is configured."; + description + "Minimum and Reload Delay"; + leaf min-delay { + type uint32 { + range "0..10000"; + } + units "second"; + mandatory true; + description + "Minimum delay in seconds"; + } + leaf reload-delay { + type uint32 { + range "0..10000"; + } + units "second"; + mandatory true; + description + "Reload delay in seconds"; + } + } + container ipv4 { + description + "IPv4 VRRP configuration"; + container version3 { + description + "Version 3 VRRP configuration"; + container virtual-routers { + description + "The VRRP virtual router configuration table"; + list virtual-router { + key "vr-id"; + description + "The VRRP virtual router being configured"; + container timer { + description + "Set advertisement timer"; + leaf in-msec { + type boolean; + default "false"; + description + "TRUE - Advertise time configured in + milliseconds, FALSE - Advertise time + configured in seconds"; + } + leaf advertisement-time-in-msec { + type uint32 { + range "100..40950"; + } + units "millisecond"; + description + "Advertisement time in milliseconds"; + } + leaf advertisement-time-in-sec { + type uint32 { + range "1..40"; + } + units "second"; + description + "Advertisement time in seconds"; + } + leaf forced { + type boolean; + default "false"; + description + "TRUE - Force configured timer values to + be used, required when configured in + milliseconds"; + } + } + container secondary-ipv4-addresses { + description + "The table of VRRP secondary IPv4 addresses"; + list secondary-ipv4-address { + key "ip-address"; + description + "A VRRP secondary IPv4 address"; + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "VRRP Secondary IPv4 address"; + } + } + } + container tracked-objects { + description + "Track an object, reducing priority if it + goes down"; + list tracked-object { + key "object-name"; + description + "Object to be tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority-decrement { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container tracks { + description + "Track an item, reducing priority if it + goes down"; + list track { + key "interface-name"; + description + "Object to be tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "VRRP Session Name"; + } + leaf bfd { + type inet:ipv4-address-no-zone; + description + "Enable use of Bidirectional Forwarding + Detection for this IP"; + } + leaf primary-ipv4-address { + type inet:ipv4-address-no-zone; + description + "The Primary VRRP IPv4 address"; + } + leaf preempt { + type uint32 { + range "0..3600"; + } + default "0"; + description + "Preempt Master router if higher priority"; + } + leaf accept-mode-disable { + type empty; + description + "Disable Accept Mode for this virtual + IPAddress"; + } + leaf priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Priority value"; + } + leaf vr-id { + type uint32 { + range "1..255"; + } + description + "VRID Virtual Router Identifier"; + } + } + } + } + container slave-virtual-routers { + description + "The VRRP slave group configuration table"; + list slave-virtual-router { + key "slave-virtual-router-id"; + description + "The VRRP slave being configured"; + container secondary-ipv4-addresses { + description + "The table of VRRP secondary IPv4 addresses"; + list secondary-ipv4-address { + key "ip-address"; + description + "A VRRP secondary IPv4 address"; + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "VRRP Secondary IPv4 address"; + } + } + } + leaf follow { + type string; + description + "VRRP Session name for this slave to follow"; + } + leaf accept-mode-disable { + type empty; + description + "Disable Accept Mode for this virtual + IPAddress"; + } + leaf primary-ipv4-address { + type inet:ipv4-address-no-zone; + description + "The Primary VRRP IPv4 address"; + } + leaf slave-virtual-router-id { + type uint32 { + range "1..255"; + } + description + "Virtual Router ID"; + } + } + } + container version2 { + description + "Version 2 VRRP configuration"; + container virtual-routers { + description + "The VRRP virtual router configuration table"; + list virtual-router { + key "vr-id"; + description + "The VRRP virtual router being configured"; + container timer { + description + "Set advertisement timer"; + leaf in-msec { + type boolean; + default "false"; + description + "TRUE - Advertise time configured in + milliseconds, FALSE - Advertise time + configured in seconds"; + } + leaf advertisement-time-in-msec { + type uint32 { + range "100..40950"; + } + units "millisecond"; + description + "Advertisement time in milliseconds"; + } + leaf advertisement-time-in-sec { + type uint32 { + range "1..255"; + } + units "second"; + description + "Advertisement time in seconds"; + } + leaf forced { + type boolean; + default "false"; + description + "TRUE - Force configured timer values to + be used, required when configured in + milliseconds"; + } + } + container secondary-ipv4-addresses { + description + "The table of VRRP secondary IPv4 addresses"; + list secondary-ipv4-address { + key "ip-address"; + description + "A VRRP secondary IPv4 address"; + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "VRRP Secondary IPv4 address"; + } + } + } + container tracks { + description + "Track an item, reducing priority if it + goes down"; + list track { + key "interface-name"; + description + "Object to be tracked"; + leaf interface-name { + type xr:Interface-name; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + container tracked-objects { + description + "Track an object, reducing priority if it + goes down"; + list tracked-object { + key "object-name"; + description + "Object to be tracked"; + leaf object-name { + type xr:Cisco-ios-xr-string; + description + "Object to be tracked, interface name for + interfaces"; + } + leaf priority-decrement { + type uint32 { + range "1..254"; + } + mandatory true; + description + "Priority decrement"; + } + } + } + leaf priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Priority value"; + } + leaf primary-ipv4-address { + type inet:ipv4-address-no-zone; + description + "The Primary VRRP IPv4 address"; + } + leaf preempt { + type uint32 { + range "0..3600"; + } + default "0"; + description + "Preempt Master router if higher priority"; + } + leaf text-password { + type string; + description + "Authentication password, 8 chars max"; + } + leaf bfd { + type inet:ipv4-address-no-zone; + description + "Enable use of Bidirectional Forwarding + Detection for this IP"; + } + leaf session-name { + type xr:Cisco-ios-xr-string { + length "1..16"; + } + description + "VRRP Session Name"; + } + leaf accept-mode-disable { + type empty; + description + "Disable Accept Mode for this virtual + IPAddress"; + } + leaf vr-id { + type uint32 { + range "1..255"; + } + description + "VRID Virtual Router Identifier"; + } + } + } + } + } + container bfd { + description + "BFD configuration"; + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by + vrrp"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detection multiplier for BFD sessions created + by vrrp"; + } + } + leaf mac-refresh { + type uint32 { + range "0..10000"; + } + units "second"; + default "60"; + description + "VRRP Slave MAC-refresh rate in seconds"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name to configure"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang new file mode 100644 index 0000000..51cf4db --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper-sub1.yang @@ -0,0 +1,1086 @@ +submodule Cisco-IOS-XR-ipv4-vrrp-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv4-vrrp-oper { + prefix Cisco-IOS-XR-ipv4-vrrp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv4-vrrp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-16 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vrrp-vmac-state { + type enumeration { + enum "stored" { + value 0; + description + "VMAC stored locally"; + } + enum "reserved" { + value 1; + description + "VMAC reserved in mac table"; + } + enum "active" { + value 2; + description + "VMAC active in mac table"; + } + enum "reserving" { + value 3; + description + "VMAC not yet reserved in mac table"; + } + } + description + "Vrrp vmac state"; + } + + typedef Vrrp-state-change-reason { + type enumeration { + enum "state-change-bfd-down" { + value 0; + description + "BFD session down"; + } + enum "state-change-virtual-ip-configured" { + value 1; + description + "Virtual IP configured"; + } + enum "state-change-interface-ip" { + value 2; + description + "Interface IP update"; + } + enum "state-change-delay-timer" { + value 3; + description + "Delay timer expired"; + } + enum "state-change-startup" { + value 4; + description + "Ready on startup"; + } + enum "state-change-interface-up" { + value 5; + description + "Interface Up update"; + } + enum "state-change-interface-down" { + value 6; + description + "Interface Down update"; + } + enum "state-change-master-down-timer" { + value 7; + description + "Master down timer expired"; + } + enum "state-change-higher-priority-master" { + value 8; + description + "Higher priority advert received"; + } + enum "state-change-fhrp-admin" { + value 9; + description + "FHRP Admin state change"; + } + enum "state-change-mgo-parent" { + value 10; + description + "Change of MGO parent session"; + } + enum "state-change-chkpt-update" { + value 11; + description + "Checkpoint update from Primary VRRP instance"; + } + enum "state-change-issu-resync" { + value 12; + description + "Resync following ISSU primary event"; + } + } + description + "Vrrp state change reason"; + } + + typedef Vrrp-bfd-session-state { + type enumeration { + enum "bfd-state-none" { + value 0; + description + "None"; + } + enum "bfd-state-inactive" { + value 1; + description + "Inactive"; + } + enum "bfd-state-up" { + value 2; + description + "Up"; + } + enum "bfd-state-down" { + value 3; + description + "Down"; + } + } + description + "Vrrp bfd session state"; + } + + typedef Vrrp-prot-auth { + type enumeration { + enum "authentication-none" { + value 0; + description + "Down"; + } + enum "authentication-text" { + value 1; + description + "Simple Text"; + } + enum "authentication-ip" { + value 2; + description + "IP header"; + } + } + description + "Vrrp prot auth"; + } + + typedef Vrrp-bag-protocol-state { + type enumeration { + enum "state-initial" { + value 1; + description + "Initial"; + } + enum "state-backup" { + value 2; + description + "Backup"; + } + enum "state-master" { + value 3; + description + "Master"; + } + } + description + "VRRP protocol state"; + } + + typedef Vrrp-vip-state { + type enumeration { + enum "virtual-ip-state-down" { + value 0; + description + "Down"; + } + enum "virtual-ip-state-up" { + value 1; + description + "Up"; + } + } + description + "Vrrp vip state"; + } + + typedef Vrrp-b-af { + type enumeration { + enum "address-family-ipv4" { + description + "IPv4 Address Family"; + } + enum "address-family-ipv6" { + description + "IPv6 Address Family"; + } + enum "vrrp-baf-count" { + description + "Number of Adddress Families"; + } + } + description + "Vrrp b af"; + } + + typedef Vrrp-version { + type uint8; + description + "Vrrp version"; + } + + grouping VRRP-SLAVE-INFO-TYPE { + description + "Slave info"; + leaf slave-interface { + type string { + length "0..64"; + } + description + "Interface of slave"; + } + leaf slave-virtual-router-id { + type uint32; + description + "VRID of slave"; + } + } + + grouping VRRP-MGO-INFO { + description + "MGO group data"; + leaf primary-session-name { + type string { + length "0..16"; + } + description + "Session Name"; + } + leaf primary-session-interface { + type xr:Interface-name; + description + "Interface of primary session"; + } + leaf primary-af-name { + type Vrrp-b-af; + description + "Address family of primary session"; + } + leaf primary-session-number { + type uint32; + description + "VRID of primary session"; + } + leaf primary-session-state { + type Vrrp-bag-protocol-state; + description + "State of primary session"; + } + list slave { + description + "List of slaves following this primary session"; + uses VRRP-SLAVE-INFO-TYPE; + } + } + + grouping VRRP-INTERFACE-INFO { + description + "VRRP Interface statistics"; + leaf interface { + type xr:Interface-name; + description + "IM Interface"; + } + leaf invalid-checksum-count { + type uint32; + description + "Invalid checksum"; + } + leaf invalid-version-count { + type uint32; + description + "Unknown/unsupported version"; + } + leaf invalid-vrid-count { + type uint32; + description + "Invalid vrID"; + } + leaf invalid-packet-length-count { + type uint32; + description + "Bad packet lengths"; + } + } + + grouping VRRP-STATE-CHANGE-INFO-TYPE { + description + "State change info"; + container time { + description + "Time of state change"; + uses VRRP-BAG-TIMESTAMP; + } + leaf old-state { + type Vrrp-bag-protocol-state; + description + "Old State"; + } + leaf new-state { + type Vrrp-bag-protocol-state; + description + "New State"; + } + leaf reason { + type Vrrp-state-change-reason; + description + "Reason for state change"; + } + } + + grouping VRRP-BAG-TIMESTAMP { + description + "Timestamp"; + leaf seconds { + type uint32; + units "second"; + description + "Seconds"; + } + leaf nanoseconds { + type uint32; + units "nanosecond"; + description + "Nanoseconds"; + } + } + + grouping IPV6-BAG-ADDR { + description + "IPV6 BAG ADDR"; + leaf ipv6-address { + type inet:ipv6-address; + description + "IPV6Address"; + } + } + + grouping VRRP-VROUTER-INFO { + description + "Detailed vrID specific information"; + container resign-sent-time { + description + "Time last resign was sent"; + uses VRRP-BAG-TIMESTAMP; + } + container resign-received-time { + description + "Time last resign was received"; + uses VRRP-BAG-TIMESTAMP; + } + leaf interface-name-xr { + type string { + length "0..64"; + } + description + "IM Interface Name"; + } + leaf virtual-router-id-xr { + type uint32; + description + "Virtual Router ID"; + } + leaf version { + type Vrrp-version; + description + "VRRP Protocol Version"; + } + leaf address-family { + type Vrrp-b-af; + description + "Address family"; + } + leaf session-name { + type string { + length "0..16"; + } + description + "Session Name"; + } + leaf slaves { + type uint32; + description + "Number of slaves following state"; + } + leaf is-slave { + type boolean; + description + "Group is a slave group"; + } + leaf followed-session-name { + type string { + length "0..16"; + } + description + "Followed Session Name"; + } + leaf secondary-address-count { + type uint8; + description + "Configured VRRP secondary address count"; + } + leaf operational-address-count { + type uint8; + description + "Operational VRRP address count"; + } + leaf primary-virtual-ip { + type inet:ipv4-address; + description + "Configured IPv4 Primary address"; + } + leaf configured-down-address-count { + type uint8; + description + " Configured but Down VRRP address count"; + } + leaf virtual-linklocal-ipv6-address { + type inet:ipv6-address; + description + "Virtual linklocal IPv6 address"; + } + leaf primary-state { + type Vrrp-vip-state; + description + "State of primary IP address"; + } + leaf master-ip-address { + type inet:ipv4-address; + description + "Master router real IP address"; + } + leaf master-ipv6-address { + type inet:ipv6-address; + description + "Master router real IPv6 address"; + } + leaf master-priority { + type uint8; + description + "Master router priority"; + } + leaf vrrp-state { + type Vrrp-bag-protocol-state; + description + "VRRP state"; + } + leaf authentication-type { + type Vrrp-prot-auth; + description + "Authentication type"; + } + leaf authentication-string { + type string; + description + "Authentication data"; + } + leaf configured-advertize-time { + type uint32; + description + "Configured advertize time"; + } + leaf oper-advertize-time { + type uint32; + description + "Operational advertize time"; + } + leaf min-delay-time { + type uint32; + units "millisecond"; + description + "Minimum delay time in msecs"; + } + leaf reload-delay-time { + type uint32; + units "millisecond"; + description + "Reload delay time in msecs"; + } + leaf delay-timer-flag { + type boolean; + description + "Delay timer running flag"; + } + leaf delay-timer-secs { + type uint32; + units "second"; + description + "Delay timer running time secs"; + } + leaf delay-timer-msecs { + type uint32; + units "millisecond"; + description + "Delay timer running time msecs"; + } + leaf authentication-flag { + type boolean; + description + "Text authentication configured flag"; + } + leaf force-timer-flag { + type boolean; + description + "Configured timers forced flag"; + } + leaf preempt-flag { + type boolean; + description + "Preempt configured flag"; + } + leaf ip-address-owner-flag { + type boolean; + description + "IP address owner flag"; + } + leaf is-accept-mode { + type boolean; + description + "Is accept mode"; + } + leaf preempt-delay-time { + type uint16; + description + "Preempt delay time"; + } + leaf configured-priority { + type uint8; + description + "Configured priority"; + } + leaf operational-priority { + type uint8; + description + "Operational priority"; + } + leaf priority-decrement { + type uint32; + description + "Priority decrement"; + } + leaf tracked-interface-count { + type uint32; + description + "Number of items tracked"; + } + leaf tracked-interface-up-count { + type uint32; + description + "Number of tracked items up"; + } + leaf tracked-item-count { + type uint32; + description + "Number of tracked items"; + } + leaf tracked-item-up-count { + type uint32; + description + "Number of tracked items in UP state"; + } + leaf time-in-current-state { + type uint32; + units "second"; + description + "Time in current state secs"; + } + leaf state-change-count { + type uint32; + description + "Number of state changes"; + } + leaf time-vrouter-up { + type uint32; + units "centisecond"; + description + "Time vrouter is up in centiseconds"; + } + leaf master-count { + type uint32; + description + "No. of times become Master"; + } + leaf adverts-received-count { + type uint32; + description + "No. of advertisements received"; + } + leaf advert-interval-error-count { + type uint32; + description + "Advertise interval errors"; + } + leaf adverts-sent-count { + type uint32; + description + "No. of advertisements sent"; + } + leaf authentication-fail-count { + type uint32; + description + "Authentication failures"; + } + leaf ttl-error-count { + type uint32; + description + "TTL errors"; + } + leaf priority-zero-received-count { + type uint32; + description + "No. priority 0 received"; + } + leaf priority-zero-sent-count { + type uint32; + description + "No. priority 0 sent"; + } + leaf invalid-packet-count { + type uint32; + description + "Invalid packets received"; + } + leaf address-list-error-count { + type uint32; + description + "Address list errors"; + } + leaf invalid-auth-type-count { + type uint32; + description + "Invalid authentication type"; + } + leaf auth-type-mismatch-count { + type uint32; + description + "Authentication type mismatches"; + } + leaf pkt-length-errors-count { + type uint32; + description + "Packet length errors"; + } + leaf time-stats-discontinuity { + type uint32; + description + "Time since a statistics discontinuity in ticks + (10ns units)"; + } + leaf bfd-session-state { + type Vrrp-bfd-session-state; + description + "BFD session state"; + } + leaf bfd-interval { + type uint32; + description + "BFD packet send interval"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD multiplier"; + } + leaf bfd-cfg-remote-ip { + type inet:ipv4-address; + description + "BFD configured remote IP"; + } + leaf bfd-configured-remote-ipv6-address { + type inet:ipv6-address; + description + "BFD configured remote IPv6"; + } + leaf state-from-checkpoint { + type boolean; + description + "Whether state recovered from checkpoint"; + } + leaf interface-ipv4-address { + type inet:ipv4-address; + description + "The Interface Primary IPv4 address"; + } + leaf interface-ipv6-address { + type inet:ipv6-address; + description + "The Interface linklocal IPv6 address"; + } + leaf virtual-mac-address { + type yang:mac-address; + description + "Virtual mac address"; + } + leaf virtual-mac-address-state { + type Vrrp-vmac-state; + description + "Virtual mac address state"; + } + leaf-list operational-address { + type inet:ipv4-address; + description + "Operational IPv4 VRRP addresses"; + } + leaf-list ipv4-configured-down-address { + type inet:ipv4-address; + description + "IPv4 Configured but Down VRRP addresses"; + } + list ipv6-operational-address { + description + "IPv6 Operational VRRP addresses"; + uses IPV6-BAG-ADDR; + } + list ipv6-configured-down-address { + description + "IPv6 Configured but Down VRRP addresses"; + uses IPV6-BAG-ADDR; + } + list track-item-info { + description + "Track Item Info"; + uses VRRP-TRACKITEM-INFO; + } + list state-change-history { + description + "State change history"; + uses VRRP-STATE-CHANGE-INFO-TYPE; + } + } + + grouping VRRP-TRACKITEM-INFO { + description + "Tracked item information"; + leaf interface { + type xr:Interface-name; + description + "IM Interface"; + } + leaf virtual-router-id-xr { + type uint32; + description + "Virtual Router ID"; + } + leaf tracked-item-type { + type uint16; + description + "Type of tracked item"; + } + leaf tracked-item-index { + type string { + length "0..32"; + } + description + "Tracked item index"; + } + leaf state { + type uint8; + description + "State of the tracked item"; + } + leaf priority { + type uint8; + description + "Priority weight of item"; + } + } + + grouping VRRP-SUMMARY-INFO { + description + "VRRP summary statistics"; + leaf ipv4-sessions-master-owner { + type uint32; + description + "Number of IPv4 sessions in MASTER (owner) state"; + } + leaf ipv4-sessions-master { + type uint32; + description + "Number of IPv4 sessions in MASTER state"; + } + leaf ipv4-sessions-backup { + type uint32; + description + "Number of IPv4 sessions in BACKUP state"; + } + leaf ipv4-sessions-init { + type uint32; + description + "Number of IPv4 sessions in INIT state"; + } + leaf ipv4-slaves-master { + type uint32; + description + "Number of IPv4 slaves in MASTER state"; + } + leaf ipv4-slaves-backup { + type uint32; + description + "Number of IPv4 slaves in BACKUP state"; + } + leaf ipv4-slaves-init { + type uint32; + description + "Number of IPv4 slaves in INIT state"; + } + leaf ipv4-virtual-ip-addresses-master-owner-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on + virtual routers in MASTER (owner) state"; + } + leaf ipv4-virtual-ip-addresses-master-owner-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + virtual routers in MASTER (owner) state"; + } + leaf ipv4-virtual-ip-addresses-master-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on + virtual routers in MASTER state"; + } + leaf ipv4-virtual-ip-addresses-master-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + virtual routers in MASTER state"; + } + leaf ipv4-virtual-ip-addresses-backup-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on + virtual routers in BACKUP state"; + } + leaf ipv4-virtual-ip-addresses-backup-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + virtual routers in BACKUP state"; + } + leaf ipv4-virtual-ip-addresses-init-up { + type uint32; + description + "Number of UP IPv4 Virtual IP Addresses on + virtual routers in INIT state"; + } + leaf ipv4-virtual-ip-addresses-init-down { + type uint32; + description + "Number of DOWN IPv4 Virtual IP Addresses on + virtual routers in INIT state"; + } + leaf ipv6-sessions-master-owner { + type uint32; + description + "Number of IPv6 sessions in MASTER (owner) state"; + } + leaf ipv6-sessions-master { + type uint32; + description + "Number of IPv6 sessions in MASTER state"; + } + leaf ipv6-sessions-backup { + type uint32; + description + "Number of IPv6 sessions in BACKUP state"; + } + leaf ipv6-sessions-init { + type uint32; + description + "Number of IPv6 sessions in INIT state"; + } + leaf ipv6-slaves-master { + type uint32; + description + "Number of IPv6 slaves in MASTER state"; + } + leaf ipv6-slaves-backup { + type uint32; + description + "Number of IPv6 slaves in BACKUP state"; + } + leaf ipv6-slaves-init { + type uint32; + description + "Number of IPv6 slaves in INIT state"; + } + leaf ipv6-virtual-ip-addresses-master-owner-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on + virtual routers in MASTER (owner) state"; + } + leaf ipv6-virtual-ip-addresses-master-owner-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + virtual routers in MASTER (owner) state"; + } + leaf ipv6-virtual-ip-addresses-master-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on + virtual routers in MASTER state"; + } + leaf ipv6-virtual-ip-addresses-master-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + virtual routers in MASTER state"; + } + leaf ipv6-virtual-ip-addresses-backup-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on + virtual routers in BACKUP state"; + } + leaf ipv6-virtual-ip-addresses-backup-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + virtual routers in BACKUP state"; + } + leaf ipv6-virtual-ip-addresses-init-up { + type uint32; + description + "Number of UP IPv6 Virtual IP Addresses on + virtual routers in INIT state"; + } + leaf ipv6-virtual-ip-addresses-init-down { + type uint32; + description + "Number of DOWN IPv6 Virtual IP Addresses on + virtual routers in INIT state"; + } + leaf interfaces-ipv4-state-up { + type uint32; + description + "Number of VRRP interfaces with IPv4 caps in UP + state"; + } + leaf interfaces-ipv4-state-down { + type uint32; + description + "Number of VRRP interfaces with IPv4 caps in DOWN + state"; + } + leaf tracked-interfaces-ipv4-state-up { + type uint32; + description + "Number of tracked interfaces with IPv4 caps in + UP state"; + } + leaf tracked-interfaces-ipv4-state-down { + type uint32; + description + "Number of tracked interfaces with IPv4 caps in + DOWN state"; + } + leaf interfaces-ipv6-state-up { + type uint32; + description + "Number of VRRP interfaces with IPv6 caps in UP + state"; + } + leaf interfaces-ipv6-state-down { + type uint32; + description + "Number of VRRP interfaces with IPv6 caps in DOWN + state"; + } + leaf tracked-interfaces-ipv6-state-up { + type uint32; + description + "Number of tracked interfaces with IPv6 caps in + UP state"; + } + leaf tracked-interfaces-ipv6-state-down { + type uint32; + description + "Number of tracked interfaces with IPv6 caps in + DOWN state"; + } + leaf tracked-objects-state-up { + type uint32; + description + "Number of tracked objects in UP state"; + } + leaf tracked-objects-state-down { + type uint32; + description + "Number of tracked objects in DOWN state"; + } + leaf bfd-sessions-up { + type uint32; + description + "Number of VRRP IPv4 BFD sessions in UP state"; + } + leaf bfd-sessions-down { + type uint32; + description + "Number of VRRP IPv4 BFD sessions in DOWN state"; + } + leaf bfd-session-inactive { + type uint32; + description + "Number of VRRP IPv4 BFD sessions in INACTIVE + state"; + } + leaf ipv6bfd-sessions-up { + type uint32; + description + "Number of VRRP IPv6 BFD sessions in UP state"; + } + leaf ipv6bfd-sessions-down { + type uint32; + description + "Number of VRRP IPv6 BFD sessions in DOWN state"; + } + leaf ipv6bfd-session-inactive { + type uint32; + description + "Number of VRRP IPv6 BFD sessions in INACTIVE + state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper.yang new file mode 100644 index 0000000..8779b06 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv4-vrrp-oper.yang @@ -0,0 +1,201 @@ +module Cisco-IOS-XR-ipv4-vrrp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-vrrp-oper"; + prefix ipv4-vrrp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-vrrp-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv4-vrrp package operational data. + + This module contains definitions + for the following management objects: + vrrp: VRRP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-16 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container vrrp { + config false; + description + "VRRP operational data"; + container summary { + description + "VRRP summary statistics"; + uses VRRP-SUMMARY-INFO; + } + container ipv6 { + description + "IPv6 VRRP configuration"; + container track-items { + description + "The VRRP tracked item table"; + list track-item { + key "interface-name virtual-router-id tracked-interface-name"; + description + "A configured VRRP IP address entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name to track"; + } + leaf virtual-router-id { + type int32; + description + "The VRRP virtual router id"; + } + leaf tracked-interface-name { + type xr:Interface-name; + description + "The name of the tracked interface"; + } + uses VRRP-TRACKITEM-INFO; + } + } + container virtual-routers { + description + "The VRRP virtual router table"; + list virtual-router { + key "interface-name virtual-router-id"; + description + "A VRRP virtual router"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + leaf virtual-router-id { + type int32; + description + "The VRRP virtual router id"; + } + uses VRRP-VROUTER-INFO; + } + } + container interfaces { + description + "The VRRP interface table"; + list interface { + key "interface-name"; + description + "A VRRP interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses VRRP-INTERFACE-INFO; + } + } + } + container ipv4 { + description + "IPv4 VRRP configuration"; + container interfaces { + description + "The VRRP interface table"; + list interface { + key "interface-name"; + description + "A VRRP interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses VRRP-INTERFACE-INFO; + } + } + container track-items { + description + "The VRRP tracked item table"; + list track-item { + key "interface-name virtual-router-id tracked-interface-name"; + description + "A configured VRRP IP address entry"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name to track"; + } + leaf virtual-router-id { + type int32; + description + "The VRRP virtual router id"; + } + leaf tracked-interface-name { + type xr:Interface-name; + description + "The name of the tracked interface"; + } + uses VRRP-TRACKITEM-INFO; + } + } + container virtual-routers { + description + "The VRRP virtual router table"; + list virtual-router { + key "interface-name virtual-router-id"; + description + "A VRRP virtual router"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + leaf virtual-router-id { + type int32; + description + "The VRRP virtual router id"; + } + uses VRRP-VROUTER-INFO; + } + } + } + container mgo-sessions { + description + "VRRP MGO Session information"; + list mgo-session { + key "session-name"; + description + "A VRRP MGO Session"; + leaf session-name { + type xr:Cisco-ios-xr-string; + description + "The name of the session"; + } + uses VRRP-MGO-INFO; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ace-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ace-cfg.yang new file mode 100644 index 0000000..8728911 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ace-cfg.yang @@ -0,0 +1,485 @@ +submodule Cisco-IOS-XR-ipv6-ace-cfg { + belongs-to Cisco-IOS-XR-ipv6-acl-cfg { + prefix ipv6-acl-cfg; + } + import Cisco-IOS-XR-ipv6-acl-datatypes { + prefix ipv6-acl-dt; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv6 ACL entry configuration. + + Copyright (c) 2013, 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-12-04 { + description + "6.3.2 revision. + Updated the when statement for icmp constainer to match + icmpv6 protocol."; + } + revision 2017-05-11 { + description + "6.3.1 revision"; + } + revision 2016-11-07 { + description + "6.2.1 revision."; + } + revision 2015-11-09 { + description + "Initial revision."; + } + + typedef Next-hop-type { + type enumeration { + enum "none-next-hop" { + description + "None next-hop."; + } + enum "regular-next-hop" { + description + "Regular next-hop."; + } + enum "default-next-hop" { + description + "Default next-hop."; + } + } + description + "Next-hop type."; + } + + grouping IPV6-ACE { + description + "IPv6 ACL entry."; + leaf grant { + type ipv6-acl-dt:Ipv6-acl-grant-enum; + description + "Whether to forward or drop packets matching the + ACE."; + } + leaf protocol-operator { + type ipv6-acl-dt:Ipv6-acl-operator-enum; + description + "Protocol operator. Leave unspecified if + no protocol comparison is to be done."; + } + leaf protocol { + type ipv6-acl-dt:Ipv6-acl-protocol-number; + description + "Protocol to match."; + } + leaf protocol2 { + type ipv6-acl-dt:Ipv6-acl-protocol-number; + description + "Protocol2 to match."; + } + container source-network { + description + "Source network settings."; + leaf source-address { + type inet:ipv6-address; + description + "Source IPv6 address, leave unspecified + if inputting as IPv6 address with wildcarding."; + } + leaf source-wild-card-bits { + type xr:Ipv6-prefix-length; + description + "Wildcard bits to apply to source-address + (if specified), leave unspecified for no + wildcarding."; + } + leaf source-mask { + type inet:ipv6-address-no-zone; + description + "Source address mask. Either + source-wild-card-bits or source-mask is + supported, not both. Leave unspecified + for any."; + } + } + container destination-network { + description + "Destination network settings."; + leaf destination-address { + type inet:ipv6-address; + description + "Destination IPv6 address, leave + unspecified if inputting as IPv6 address with + wildcarding."; + } + leaf destination-wild-card-bits { + type xr:Ipv6-prefix-length; + description + "Wildcard bits to apply to destination + destination-address (if specified), + leave unspecified for no wildcarding."; + } + leaf destination-mask { + type inet:ipv6-address-no-zone; + description + "Destination address mask. Either + destination-wild-card-bits or destination-mask + is supported, not both. Leave unspecified + for any."; + } + } + container source-port { + when "../protocol = '6' or ../protocol = 'tcp' or ../protocol = '17' or ../protocol = 'udp' or ../protocol = '132' or ../protocol = 'sctp'" { + description + "Applicable only to TCP, SCTP and UDP."; + } + description + "Source port settings."; + leaf source-operator { + type ipv6-acl-dt:Ipv6-acl-operator-enum; + description + "Source comparison operator. Leave unspecified if + no source port comparison is to be done."; + } + leaf first-source-port { + type ipv6-acl-dt:Ipv6-acl-port-number; + description + "First source port for comparison, + leave unspecified if source port comparison is + not to be performed."; + } + leaf second-source-port { + type ipv6-acl-dt:Ipv6-acl-port-number; + description + "Second source port for comparion, + leave unspecified if source port comparison is + not to be performed."; + } + } + container destination-port { + when "../protocol = '6' or ../protocol = 'tcp' or ../protocol = '17' or ../protocol = 'udp' or ../protocol = '132' or ../protocol = 'sctp'" { + description + "Applicable only to TCP, SCTP and UDP."; + } + description + "Destination port settings."; + leaf destination-operator { + type ipv6-acl-dt:Ipv6-acl-operator-enum; + description + "Destination comparison operator. Leave + unspecified if no destination port comparison + is to be done."; + } + leaf first-destination-port { + type ipv6-acl-dt:Ipv6-acl-port-number; + description + "First destination port for comparison, leave + unspecified if destination port comparison is + not to be performed."; + } + leaf second-destination-port { + type ipv6-acl-dt:Ipv6-acl-port-number; + description + "Second destination port for comparion, leave + unspecified if destination port comparison is + not to be performed."; + } + } + container icmp { + when "../protocol = '58' or ../protocol = 'icmpv6'" { + description + "Applicable only to ICMPv6."; + } + description + "ICMP settings."; + leaf icmp-type-code { + type ipv6-acl-dt:Ipv6-acl-icmp-type-code-enum; + description + "Well known ICMP message code types to match, + leave unspecified if ICMP message code type + comparion is not to be performed."; + } + } + container tcp { + when "../protocol = '6' or ../protocol = 'tcp'" { + description + "Applicable only to TCP."; + } + description + "TCP settings."; + leaf tcp-bits-match-operator { + type ipv6-acl-dt:Ipv6-acl-tcp-match-operator-enum; + description + "TCP Bits match operator. Leave unspecified if + flexible comparison of TCP bits is not + required."; + } + leaf tcp-bits { + type ipv6-acl-dt:Ipv6-acl-tcp-bits-number; + description + "TCP bits to match. Leave unspecified if + comparison of TCP bits is not required."; + } + leaf tcp-bits-mask { + type ipv6-acl-dt:Ipv6-acl-tcp-bits-number; + description + "TCP bits mask to use for flexible TCP matching. + Leave unspecified if it is not required."; + } + } + container packet-length { + description + "Packet length settings."; + leaf packet-length-operator { + type ipv6-acl-dt:Ipv6-acl-operator-enum; + description + "Packet length operator applicable if packet + length is to be compared. Leave unspecified if + no Packet length comparison is to be done."; + } + leaf packet-length-min { + type ipv6-acl-dt:Ipv6-acl-plen-range; + description + "Minimum packet length for comparison, leave + unspecified if packet length comparison is not + to be performed or if only the maximum packet + length should be considered."; + } + leaf packet-length-max { + type ipv6-acl-dt:Ipv6-acl-plen-range; + description + "Maximum packet length for comparion, leave + unspecified if packet length comparison is not + to be performed or if only the minimum packet + length should be considered."; + } + } + container time-to-live { + description + "TTL settings."; + leaf time-to-live-operator { + type ipv6-acl-dt:Ipv6-acl-operator-enum; + description + "TTL operator is applicable if TTL is to be + compared. Leave unspecified if TTL + classification is not required."; + } + leaf time-to-live-min { + type ipv6-acl-dt:Ipv6-acl-ttl-range; + description + "TTL value for comparison OR Minimum TTL value + for TTL range comparision, leave unspecified if + TTL classification is not required."; + } + leaf time-to-live-max { + type ipv6-acl-dt:Ipv6-acl-ttl-range; + description + "Maximum TTL for comparion, leave unspecified if + TTL comparison is not to be performed or if only + the minimum TTL should be considered."; + } + } + leaf dscp { + type ipv6-acl-dt:Ipv6-acl-dscp-number; + description + "DSCP value to match (if a protocol was specified), + leave unspecified if DSCP comparion is not to be + performed."; + } + leaf precedence { + type ipv6-acl-dt:Ipv6-acl-precedence-number; + description + "Precedence value to match (if a protocol was + specified), leave unspecified if precedence + comparion is not to be performed."; + } + container next-hop { + description + "Next-hop settings."; + leaf next-hop-type { + type Next-hop-type; + description + "The nexthop type."; + } + container next-hop-1 { + description + "The first next-hop settings."; + leaf next-hop { + type inet:ipv6-address-no-zone; + description + "The IPv6 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + container next-hop-2 { + description + "The second next-hop settings."; + leaf next-hop { + type inet:ipv6-address-no-zone; + description + "The IPv6 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + container next-hop-3 { + description + "The third next-hop settings."; + leaf next-hop { + type inet:ipv6-address-no-zone; + description + "The IPv6 address of the next-hop."; + } + leaf vrf-name { + type string; + description + "The VRF name of the next-hop."; + } + leaf track-name { + type string; + description + "The object tracking name for the next-hop."; + } + } + } + leaf counter-name { + type string; + description + "Counter name."; + } + leaf log-option { + type ipv6-acl-dt:Ipv6-acl-logging-enum; + description + "Whether and how to log matches against this + entry."; + } + leaf capture { + type boolean; + description + "Enable capture."; + } + leaf undetermined-transport { + type boolean; + description + "Enable undetermined-transport."; + } + leaf icmp-off { + type empty; + description + "To turn off ICMP generation for deny ACEs."; + } + leaf qos-group { + type ipv6-acl-dt:Ipv6-acl-qos-group-number; + description + "Set qos-group number."; + } + leaf set-ttl { + type ipv6-acl-dt:Ipv6-acl-ttl-range; + description + "Set TTL value. Ranges from 0-255"; + } + container header-flags { + description + "Match if header-flag is present."; + leaf routing { + type empty; + description + "Match if routing header is present."; + } + leaf destopts { + type empty; + description + "Match if destops header is present."; + } + leaf hop-by-hop { + type empty; + description + "Match if hop-by-hop header is present."; + } + leaf fragments { + type empty; + description + "Match if fragments header is present."; + } + leaf authen { + type empty; + description + "Match if authen header is present."; + } + } + leaf remark { + type string; + description + "Comments or a description for the access list."; + } + leaf source-prefix-group { + type string { + length "1..64"; + } + description + "IPv6 source network object group name."; + } + leaf destination-prefix-group { + type string { + length "1..64"; + } + description + "IPv6 destination network object group name."; + } + leaf source-port-group { + type string { + length "1..64"; + } + description + "Source port object group name."; + } + leaf destination-port-group { + type string { + length "1..64"; + } + description + "Destination port object group name."; + } + leaf sequence-str { + type string { + length "1..64"; + } + description + "Sequence string for the ace."; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-cfg.yang new file mode 100644 index 0000000..318244f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-cfg.yang @@ -0,0 +1,210 @@ +module Cisco-IOS-XR-ipv6-acl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg"; + prefix ipv6-acl-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-common-acl-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ipv6-acl-datatypes { + prefix dt2; + } + include Cisco-IOS-XR-ipv6-ace-cfg { + revision-date 2017-12-04; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-acl package configuration. + + This module contains definitions + for the following management objects: + ipv6-acl-and-prefix-list: IPv6 ACL configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-12-04 { + description + "6.3.2 revision. Updated the when statement for icmp constainer to match icmpv6 protocol."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv6-acl-and-prefix-list { + description + "IPv6 ACL configuration data"; + container prefixes { + description + "Table of prefix lists"; + list prefix { + key "name"; + description + "Name of a prefix list"; + container prefix-list-entries { + presence "Indicates a prefix-list-entries node is configured."; + description + "Sequence of entries forming a prefix list"; + list prefix-list-entry { + key "sequence-number"; + description + "A prefix list entry; either a description + (remark) or a prefix to match against"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "Sequence number of prefix list"; + } + leaf grant { + type dt2:Ipv6-acl-grant-enum; + description + "Whether to forward or drop packets matching + the prefix list"; + } + leaf ipv6-address-as-string { + type string; + description + "The IPv6 address if entered with the + ZoneMutually exclusive with Prefix and + PrefixMask"; + } + leaf zone { + type string; + description + "IPv6 Zone if entered with the + IPV6AddressMutually exclusive with Prefix + and PrefixMask"; + } + leaf prefix { + type inet:ipv6-address-no-zone; + description + "IPv6 address prefix to match"; + } + leaf prefix-mask { + type xr:Ipv6-prefix-length; + description + "MaskLength of IPv6 address prefix"; + } + leaf match-exact-length { + type dt2:Ipv6-prefix-match-exact-length; + description + "Set to perform an exact prefix length match. + Item is mutually exclusive with minimum and + maximum length match items"; + } + leaf exact-prefix-length { + type xr:Ipv6-prefix-length; + description + "If exact prefix length matching specified, + set the length of prefix to be matched"; + } + leaf match-max-length { + type dt2:Ipv6-prefix-match-max-length; + description + "Set to perform a maximum length prefix match + . Item is mutually exclusive with exact + length match item"; + } + leaf max-prefix-length { + type xr:Ipv6-prefix-length; + description + "If maximum length prefix matching specified, + set the maximum length of prefix to be + matched"; + } + leaf match-min-length { + type dt2:Ipv6-prefix-match-min-length; + description + "Set to perform a minimum length prefix match + . Item is mutually exclusive with exact + length match item"; + } + leaf min-prefix-length { + type xr:Ipv6-prefix-length; + description + "If minimum length prefix matching specified, + set the minimum length of prefix to be + matched"; + } + leaf remark { + type string; + description + "Comments or a description for the prefix + list. Item is mutually exclusive with all + others in the object"; + } + } + } + leaf name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of a prefix list"; + } + } + } + container log-update { + description + "Control access lists log updates"; + leaf threshold { + type dt2:Ipv6-acl-log-threshold-range; + description + "Log update threshold (number of hits)"; + } + leaf rate { + type dt2:Ipv6-acl-log-rate-range; + description + "Log update rate (log messages per second)"; + } + } + container accesses { + description + "Table of access lists"; + list access { + key "name"; + description + "An ACL"; + container access-list-entries { + description + "ACL entry table; contains list of access list + entries"; + list access-list-entry { + key "sequence-number"; + description + "An ACL entry; either a description (remark) + or anAccess List Entry to match against"; + leaf sequence-number { + type dt2:Ipv6-acl-sequence-number-range; + description + "Sequence number of access list entry"; + } + uses IPV6-ACE; + } + } + leaf name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of the access list"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-datatypes.yang new file mode 100644 index 0000000..4dca356 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-datatypes.yang @@ -0,0 +1,1062 @@ +module Cisco-IOS-XR-ipv6-acl-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-datatypes"; + prefix ipv6-acl-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6-prefix-match-exact-length { + type enumeration { + enum "match-exact-length" { + value 1; + description + "Prefix Length Exact match"; + } + } + description + "Ipv6 prefix match exact length"; + } + + typedef Ipv6-acl-grant-enum { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + } + description + "Ipv6 acl grant enum"; + } + + typedef Ipv6-acl-logging-enum { + type enumeration { + enum "log" { + value 1; + description + "Log matches against this entry"; + } + enum "log-input" { + value 2; + description + "Log matches against this entry, including input + interface"; + } + } + description + "Ipv6 acl logging enum"; + } + + typedef Ipv6-acl-log-threshold-range { + type uint32 { + range "1..2147483647"; + } + description + "Ipv6 acl log threshold range"; + } + + typedef Ipv6-acl-protocol-number { + type union { + type enumeration { + enum "ip" { + value 0; + description + "Any IP protocol"; + } + enum "icmp" { + value 1; + description + "Internet Control Message Protocol"; + } + enum "igmp" { + value 2; + description + "Internet Gateway Message Protocol"; + } + enum "ip-in-ip" { + value 4; + description + "IP in IP tunneling"; + } + enum "tcp" { + value 6; + description + "Transport Control Protocol"; + } + enum "igrp" { + value 9; + description + "Cisco's IGRP Routing Protocol"; + } + enum "udp" { + value 17; + description + "User Datagram Protocol"; + } + enum "gre" { + value 47; + description + "Cisco's GRE tunneling"; + } + enum "esp" { + value 50; + description + "Encapsulation Security Protocol"; + } + enum "ahp" { + value 51; + description + "Authentication Header Protocol"; + } + enum "icmpv6" { + value 58; + description + "Internet Control Message Protocol"; + } + enum "eigrp" { + value 88; + description + "Cisco's EIGRP Routing Protocol"; + } + enum "ospf" { + value 89; + description + "OSPF Routing Protocol"; + } + enum "nos" { + value 94; + description + "KA9Q NOS Compatible IP over IP tunneling"; + } + enum "pim" { + value 103; + description + "Protocol Independent Multicast"; + } + enum "pcp" { + value 108; + description + "Payload Compression Protocol"; + } + enum "sctp" { + value 132; + description + "Stream Control Transmission Protocol"; + } + } + type uint32 { + range "0..255"; + } + } + description + "Ipv6 acl protocol number"; + } + + typedef Ipv6-acl-icmp-code-range { + type uint32 { + range "0..255"; + } + description + "Ipv6 acl icmp code range"; + } + + typedef Ipv6-acl-icmp-type-code-enum { + type enumeration { + enum "no-route-to-destination" { + value 65536; + description + "No route to destination"; + } + enum "administratively-prohibited" { + value 65537; + description + "Administratively prohibited"; + } + enum "beyond-scope-of-source-address" { + value 65538; + description + "Unreachable beyond scope of address"; + } + enum "host-unreachable" { + value 65539; + description + "Host unreachable"; + } + enum "port-unreachable" { + value 65540; + description + "Port unreachable"; + } + enum "unreachable" { + value 131071; + description + "All unreachables"; + } + enum "packet-too-big" { + value 131072; + description + "packet too big"; + } + enum "ttl-exceeded" { + value 196608; + description + "TTL exceeded"; + } + enum "reassembly-timeout" { + value 196609; + description + "Reassembly timeout"; + } + enum "time-exceeded" { + value 262143; + description + "All time exceeds"; + } + enum "erronenous-header-field" { + value 262144; + description + "Erroneous header field"; + } + enum "option-missing" { + value 262145; + description + "Parameter required but not present"; + } + enum "no-room-for-option" { + value 262146; + description + "Parameter required but no room"; + } + enum "parameter-problem" { + value 327679; + description + "All parameter problems"; + } + enum "echo" { + value 8388608; + description + "Echo ping"; + } + enum "echo-reply" { + value 8454144; + description + "Echo reply"; + } + enum "group-membership-query" { + value 8585215; + description + "Multicast listener query"; + } + enum "group-membership-report" { + value 8650751; + description + "Multicast listener report"; + } + enum "group-membership-reduction" { + value 8716287; + description + "Multicast listener done"; + } + enum "router-solicitation" { + value 8716288; + description + "Router discovery solicitations"; + } + enum "router-advertisement" { + value 8781824; + description + "Router discovery advertisements"; + } + enum "neighbor-solicitation" { + value 8847360; + description + "Neighbor discovery neighbor solicitations"; + } + enum "neighbor-advertisement" { + value 8912896; + description + "Neighbor discovery neighbor advertisements"; + } + enum "redirect" { + value 8978432; + description + "All redirects"; + } + enum "rr-command" { + value 9043968; + description + "Router renumbering command"; + } + enum "rr-result" { + value 9043969; + description + "Router renumbering result"; + } + enum "rr-seqnum-reset" { + value 9044223; + description + "Router renumbering seqnum"; + } + enum "router-renumbering" { + value 9109503; + description + "Router renumbering"; + } + enum "query-subject-is-ipv6-address" { + value 9109504; + description + "Query subject is ipv6 address"; + } + enum "query-subject-is-domain-name" { + value 9109505; + description + "Query subject is domain name"; + } + enum "query-subject-is-ipv4-address" { + value 9109506; + description + "Query subject is ipv4 address"; + } + enum "who-are-you-request" { + value 9175039; + description + "Who are you request"; + } + enum "node-information-successful-reply" { + value 9175040; + description + "Node information successful reply"; + } + enum "node-information-request-is-refused" { + value 9175041; + description + "Node information reply rejected"; + } + enum "unknown-query-type" { + value 9175042; + description + "Unknown query type"; + } + enum "who-are-you-reply" { + value 9240575; + description + "Who are you reply"; + } + } + description + "Ipv6 acl icmp type code enum"; + } + + typedef Ipv6-acl-sequence-number-range { + type uint32 { + range "1..2147483643"; + } + description + "Ipv6 acl sequence number range"; + } + + typedef Ipv6-acl-precedence-number { + type union { + type enumeration { + enum "critical" { + value 5; + description + "Match packets with critical precedence"; + } + enum "flash" { + value 3; + description + "Match packets with flash precedence"; + } + enum "flash-override" { + value 4; + description + "Match packets with flash override precedence"; + } + enum "immediate" { + value 2; + description + "Match packets with immediate precedence"; + } + enum "internet" { + value 6; + description + "Match packets with internetwork control + precedence"; + } + enum "network" { + value 7; + description + "Match packets with network control precedence"; + } + enum "priority" { + value 1; + description + "Match packets with priority precedence"; + } + enum "routine" { + value 0; + description + "Match packets with routine precedence"; + } + } + type uint32 { + range "0..7"; + } + } + description + "Ipv6 acl precedence number"; + } + + typedef Ipv6-acl-qos-group-number { + type uint32 { + range "0..512"; + } + description + "Ipv6 acl qos group number"; + } + + typedef Ipv6-acl-type-enum { + type enumeration { + enum "acl" { + value 1; + description + "ACL"; + } + enum "prefix-list" { + value 2; + description + "Prefix List"; + } + } + description + "Ipv6 acl type enum"; + } + + typedef Ipv6-prefix-match-min-length { + type enumeration { + enum "match-min-length" { + value 2; + description + "Enable matching of Prefix Lengths greater than + MinPrefixLength"; + } + } + description + "Ipv6 prefix match min length"; + } + + typedef Ipv6-acl-dscp-number { + type union { + type enumeration { + enum "default" { + value 0; + description + "Default DSCP"; + } + enum "af11" { + value 10; + description + "Match packets with AF11 DSCP"; + } + enum "af12" { + value 12; + description + "Match packets with AF12 DSCP"; + } + enum "af13" { + value 14; + description + "Match packets with AF13 DSCP"; + } + enum "af21" { + value 18; + description + "Match packets with AF21 DSCP"; + } + enum "af22" { + value 20; + description + "Match packets with AF22 DSCP"; + } + enum "af23" { + value 22; + description + "Match packets with AF23 DSCP"; + } + enum "af31" { + value 26; + description + "Match packets with AF31 DSCP"; + } + enum "af32" { + value 28; + description + "Match packets with AF32 DSCP"; + } + enum "af33" { + value 30; + description + "Match packets with AF33 DSCP"; + } + enum "af41" { + value 34; + description + "Match packets with AF41 DSCP"; + } + enum "af42" { + value 36; + description + "Match packets with AF42 DSCP"; + } + enum "af43" { + value 38; + description + "Match packets with AF43 DSCP"; + } + enum "cs1" { + value 8; + description + "Match packets with CS1 (precedence 1) DSCP"; + } + enum "cs2" { + value 16; + description + "Match packets with CS2 (precedence 2) DSCP"; + } + enum "cs3" { + value 24; + description + "Match packets with CS3 (precedence 3) DSCP"; + } + enum "cs4" { + value 32; + description + "Match packets with CS4 (precedence 4) DSCP"; + } + enum "cs5" { + value 40; + description + "Match packets with CS5 (precedence 5) DSCP"; + } + enum "cs6" { + value 48; + description + "Match packets with CS6 (precedence 6) DSCP"; + } + enum "cs7" { + value 56; + description + "Match packets with CS7 (precedence 7) DSCP"; + } + enum "ef" { + value 46; + description + "Match packets with EF DSCP"; + } + } + type uint32 { + range "0..64"; + } + } + description + "Ipv6 acl dscp number"; + } + + typedef Ipv6-acl-max-configurable-sequence-numbers { + type uint32 { + range "50000..350000"; + } + description + "Ipv6 acl max configurable sequence numbers"; + } + + typedef Ipv6-acl-log-rate-range { + type uint32 { + range "1..1000"; + } + description + "Ipv6 acl log rate range"; + } + + typedef Ipv6-acl-tcp-bits-number { + type union { + type enumeration { + enum "established" { + value 20; + description + "Match established connections (0x14)"; + } + enum "ack" { + value 16; + description + "Match on the ACK bit (0x10)"; + } + enum "rst" { + value 4; + description + "Match on the RST bit (0x04)"; + } + enum "fin" { + value 1; + description + "Match on the FIN bit (0x01)"; + } + enum "psh" { + value 8; + description + "Match on the PSH bit (0x08)"; + } + enum "syn" { + value 2; + description + "Match on the SYN bit (0x02)"; + } + enum "urg" { + value 32; + description + "Match on the URG bit (0x20)"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Ipv6 acl tcp bits number"; + } + + typedef Ipv6-acl-prefix-list-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Ipv6 acl prefix list name"; + } + + typedef Ipv6-acl-icmp-type-range { + type uint32 { + range "0..255"; + } + description + "Ipv6 acl icmp type range"; + } + + typedef Ipv6-prefix-match-max-length { + type enumeration { + enum "match-max-length" { + value 3; + description + "Enable matching of Prefix Lengths lesser than + MaxPrefixLength"; + } + } + description + "Ipv6 prefix match max length"; + } + + typedef Ipv6-acl-plen-range { + type uint32 { + range "0..65535"; + } + description + "Ipv6 acl plen range"; + } + + typedef Ipv6-acl-ttl-range { + type uint32 { + range "0..255"; + } + description + "Ipv6 acl ttl range"; + } + + typedef Ipv6-acl-port-number { + type union { + type enumeration { + enum "echo" { + value 7; + description + "Match on the 'echo' port number"; + } + enum "discard" { + value 9; + description + "Match on the 'discard' port number"; + } + enum "daytime" { + value 13; + description + "Match on the 'daytime' port number (TCP/SCTP + only)"; + } + enum "char-gen" { + value 19; + description + "Match on the 'chargen' port number (TCP/SCTP + only)"; + } + enum "ftp-data" { + value 20; + description + "Match on the FTP data connections port number + (TCP/SCTP only)"; + } + enum "ftp" { + value 21; + description + "Match on the 'ftp' port number (TCP/SCTP only)"; + } + enum "telnet" { + value 23; + description + "Match on the 'telnet' port number (TCP/SCTP + only)"; + } + enum "smtp" { + value 25; + description + "Match on the 'smtp' port number (TCP/SCTP + only)"; + } + enum "time" { + value 37; + description + "Match on the 'time' port number"; + } + enum "name-server" { + value 42; + description + "Match on the IEN116 name service port number + (UDP only)"; + } + enum "who-is" { + value 43; + description + "Match on the 'nicname' port number (TCP/SCTP + only)"; + } + enum "tacacs" { + value 49; + description + "Match on the 'tacacs' port number"; + } + enum "dns" { + value 53; + description + "Match on the 'dns' port number"; + } + enum "boot-ps" { + value 67; + description + "Match on the Bootstrap Protocol server port + number (UDP only)"; + } + enum "boot-pc" { + value 68; + description + "Match on the Bootstrap Protocol client port + number (UDP only)"; + } + enum "tftp" { + value 69; + description + "Match on the 'tftp' port number (UDP only)"; + } + enum "gopher" { + value 70; + description + "Match on the 'gopher' port number (TCP/SCTP + only)"; + } + enum "finger" { + value 79; + description + "Match on the 'finger' port number (TCP/SCTP + only)"; + } + enum "www" { + value 80; + description + "Match on the 'http' port number (TCP/SCTP + only)"; + } + enum "host-name" { + value 101; + description + "Match on the NIC hostname server port number + (TCP/SCTP only)"; + } + enum "pop2" { + value 109; + description + "Match on the 'pop2' port number (TCP/SCTP + only)"; + } + enum "pop3" { + value 110; + description + "Match on the 'pop3' port number (TCP/SCTP + only)"; + } + enum "sun-rpc" { + value 111; + description + "Match on the Sun RPC port number"; + } + enum "ident" { + value 113; + description + "Match on the 'ident' port number (TCP/SCTP + only)"; + } + enum "nntp" { + value 119; + description + "Match on the 'nntp' port number (TCP/SCTP + only)"; + } + enum "ntp" { + value 123; + description + "Match on the 'ntp' port number (UDP only)"; + } + enum "net-bios-ns" { + value 137; + description + "Match on the NetBIOS name service port number + (UDP only)"; + } + enum "net-bios-dgs" { + value 138; + description + "Match on the NetBIOS datagram service port + number (UDP only)"; + } + enum "net-bios-ss" { + value 139; + description + "Match on the NetBIOS session service port + number (UDP only)"; + } + enum "snmp" { + value 161; + description + "Match on the 'snmp' port number (UDP only)"; + } + enum "snmp-trap" { + value 162; + description + "Match on the SNMP traps port number (UDP only)"; + } + enum "xdmcp" { + value 177; + description + "Match on the 'xdmcp' port number (UDP only)"; + } + enum "bgp" { + value 179; + description + "Match on the 'bgp' port number (TCP/SCTP only)"; + } + enum "irc" { + value 194; + description + "Match on the 'irc' port number (TCP/SCTP only)"; + } + enum "dnsix" { + value 195; + description + "Match on the DNSIX security protocol auditing + port number (UDP only)"; + } + enum "mobile-ip" { + value 434; + description + "Match on the mobile IP registration port + number (UDP only)"; + } + enum "pim-auto-rp" { + value 496; + description + "Match on the PIM Auto-RP port number"; + } + enum "isakmp" { + value 500; + description + "Match on the 'isakmp' port number (UDP only)"; + } + enum "exec-or-biff" { + value 512; + description + "Match on the port used by TCP/SCTP for 'exec' + and by UDP for 'biff'"; + } + enum "login-or-who" { + value 513; + description + "Match on the port used by TCP/SCTP for 'login' + and by UDP for 'rwho'"; + } + enum "cmd-or-syslog" { + value 514; + description + "Match on the port used by TCP/SCTP for 'rcmd' + and by UDP for 'syslog'"; + } + enum "lpd" { + value 515; + description + "Match on the 'lpd' port number (TCP/SCTP only)"; + } + enum "talk" { + value 517; + description + "Match on the 'talk' port number"; + } + enum "rip" { + value 520; + description + "Match on the 'rip' port number (UDP only)"; + } + enum "uucp" { + value 540; + description + "Match on the 'uucp' port number (TCP/SCTP + only)"; + } + enum "klogin" { + value 543; + description + "Match on the Kerberos login port number + (TCP/SCTP only)"; + } + enum "kshell" { + value 544; + description + "Match on the Kerberos shell port number + (TCP/SCTP only)"; + } + enum "ldp" { + value 646; + description + "Match on the LDP port"; + } + } + type uint32 { + range "0..65535"; + } + } + description + "Ipv6 acl port number"; + } + + typedef Ipv6-acl-status-enum { + type enumeration { + enum "disabled" { + value 0; + description + "Disabled"; + } + enum "enabled" { + value 1; + description + "Enabled"; + } + } + description + "Ipv6 acl status enum"; + } + + typedef Ipv6-acl-max-configurable-acl { + type uint32 { + range "1000..16000"; + } + description + "Ipv6 acl max configurable acl"; + } + + typedef Ipv6-acl-operator-enum { + type enumeration { + enum "equal" { + value 1; + description + "Match only packets on a given port number"; + } + enum "greater-than" { + value 2; + description + "Match only packet with a greater port number"; + } + enum "less-than" { + value 3; + description + "Match only packet with a lower port number"; + } + enum "not-equal" { + value 4; + description + "Match only packets not on a given port number"; + } + enum "range" { + value 5; + description + "Match only packets in the range of port numbers"; + } + } + description + "Ipv6 acl operator enum"; + } + + typedef Ipv6-acl-tcp-match-operator-enum { + type enumeration { + enum "match-all" { + value 1; + description + "Match only packet with all the given TCP bits"; + } + enum "match-any" { + value 3; + description + "Match only packet with any of the given TCP + bits"; + } + } + description + "Ipv6 acl tcp match operator enum"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang new file mode 100644 index 0000000..2181d35 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper-sub1.yang @@ -0,0 +1,746 @@ +submodule Cisco-IOS-XR-ipv6-acl-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-acl-oper { + prefix Cisco-IOS-XR-ipv6-acl-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-acl package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bag-acl-nh-at-status { + type enumeration { + enum "unknown" { + description + "AT State Unknown"; + } + enum "up" { + description + "AT State UP"; + } + enum "down" { + description + "AT State DOWN"; + } + enum "not-present" { + description + "AT State Not Present"; + } + enum "max" { + description + "invalid status"; + } + } + description + "Bag acl nh at status"; + } + + typedef Bag-acl-nh-status { + type enumeration { + enum "not-present" { + description + "State Not Present"; + } + enum "unknown" { + description + "State Unknown"; + } + enum "down" { + description + "State DOWN"; + } + enum "up" { + description + "State UP"; + } + enum "max" { + description + "invalid status"; + } + } + description + "Bag acl nh status"; + } + + typedef Bag-acl-nh { + type enumeration { + enum "nexthop-none" { + description + "Next Hop None"; + } + enum "nexthop-default" { + description + "Nexthop Default"; + } + enum "nexthop" { + description + "Nexthop"; + } + } + description + "Bag acl nh"; + } + + typedef Acl-ttl-operator { + type Acl-port-operator; + description + "Acl ttl operator"; + } + + typedef Acl-plen-operator { + type Acl-port-operator; + description + "Acl plen operator"; + } + + typedef Acl-tcpflags-operator { + type enumeration { + enum "match-none" { + description + "Match None"; + } + enum "match-all" { + description + "Match All"; + } + enum "match-any-old" { + description + "Match any old"; + } + enum "match-any" { + description + "Match any"; + } + } + description + "Acl tcpflags operator"; + } + + typedef Acl-log { + type enumeration { + enum "log-none" { + value 0; + description + "Log None"; + } + enum "log" { + value 1; + description + "Log Regular"; + } + enum "log-input" { + value 2; + description + "Log Input"; + } + } + description + "Acl log"; + } + + typedef Acl-proto-operator { + type Acl-port-operator; + description + "Acl proto operator"; + } + + typedef Acl-port-operator { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "eq" { + value 1; + description + "Equal"; + } + enum "gt" { + value 2; + description + "Greater than"; + } + enum "lt" { + value 3; + description + "Less than"; + } + enum "neq" { + value 4; + description + "Not Equal"; + } + enum "range" { + value 5; + description + "Range"; + } + enum "onebyte" { + value 8; + description + "One Byte"; + } + enum "twobytes" { + value 9; + description + "Two Bytes"; + } + } + description + "Acl port operator"; + } + + typedef Acl-action { + type enumeration { + enum "deny" { + value 0; + description + "Deny"; + } + enum "permit" { + value 1; + description + "Permit"; + } + enum "encrypt" { + value 2; + description + "Encrypt"; + } + enum "bypass" { + value 3; + description + "Bypass"; + } + enum "fallthrough" { + value 4; + description + "Fallthrough"; + } + enum "invalid" { + value 5; + description + "Invalid"; + } + } + description + "Acl action"; + } + + typedef Acl-ace1 { + type enumeration { + enum "normal" { + description + "This is Normal ACE"; + } + enum "remark" { + description + "This is Remark ACE"; + } + enum "abf" { + description + "This is ABF ACE"; + } + } + description + "ACE Types"; + } + + typedef Acl-ace { + type Acl-ace1; + description + "ACE Types"; + } + + grouping IPV6-ACL-EDM-OOR-DETAIL { + description + "Oor deatil config BAG"; + leaf is-default-maximum-configurable-ac-ls { + type uint32; + description + "default max configurable acls"; + } + leaf is-default-maximum-configurable-ac-es { + type uint32; + description + "default max configurable aces"; + } + leaf is-current-configured-ac-ls { + type uint32; + description + "Current configured acls"; + } + leaf is-current-configured-aces { + type uint32; + description + "Current configured aces"; + } + leaf is-current-maximum-configurable-acls { + type uint32; + description + "Current max configurable acls"; + } + leaf is-current-maximum-configurable-aces { + type uint32; + description + "Current max configurable aces"; + } + leaf is-maximum-configurable-ac-ls { + type uint32; + description + "max configurable acls"; + } + leaf is-maximum-configurable-ac-es { + type uint32; + description + "max configurable aces"; + } + } + + grouping ACL-UDF-ACE { + description + "ACL UDF ACE"; + leaf udf-name { + type string { + length "0..17"; + } + description + "UDF Name"; + } + leaf udf-value { + type uint32; + description + "UDF Value"; + } + leaf udf-mask { + type uint32; + description + "UDF Mask"; + } + } + + grouping IPV6-ACL-BAG-HW-NH-INFO { + description + "HW_NH_Info structure"; + leaf type { + type Bag-acl-nh; + description + "The next-hop type"; + } + leaf next-hop { + type inet:ipv6-address; + description + "The Next Hop"; + } + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf vrf-name { + type string { + length "0..32"; + } + description + "Vrf Name"; + } + } + + grouping IPV6-ACL-BAG-NH-INFO { + description + "NH_Info structure"; + leaf next-hop { + type inet:ipv6-address; + description + "The next hop"; + } + leaf vrf-name { + type string { + length "0..32"; + } + description + "Vrf Name"; + } + leaf track-name { + type string { + length "0..33"; + } + description + "Track name"; + } + leaf status { + type Bag-acl-nh-status; + description + "The next hop status"; + } + leaf at-status { + type Bag-acl-nh-at-status; + description + "The next hop at status"; + } + leaf acl-nh-exist { + type int32; + description + "The nexthop exist"; + } + } + + grouping IPV6-ACL-EDM-ACE { + description + "ACLE bag"; + container hw-next-hop-info { + description + "HW Next hop info"; + uses IPV6-ACL-BAG-HW-NH-INFO; + } + leaf is-ace-type { + type Acl-ace; + description + "ACE type (acl, remark)"; + } + leaf is-ace-sequence-number { + type uint32; + description + "ACLE sequence number"; + } + leaf is-packet-allow-or-deny { + type Acl-action; + description + "Grant value permit/deny "; + } + leaf is-protocol-operator { + type Acl-proto-operator; + description + "Protocol operator"; + } + leaf is-ipv6-protocol-type { + type int32; + description + "Protocol 1"; + } + leaf is-ipv6-protocol2-type { + type int32; + description + "Protocol 2"; + } + leaf is-source-address-in-numbers { + type inet:ipv6-address; + description + "IsSourceAddressInNumbers"; + } + leaf is-source-address-prefix-length { + type uint32; + description + "IsSourceAddressPrefixLength"; + } + leaf source-mask { + type inet:ipv6-address; + description + "Source Mask"; + } + leaf is-destination-address-in-numbers { + type inet:ipv6-address; + description + "IsDestinationAddressInNumbers"; + } + leaf is-destination-address-prefix-length { + type uint32; + description + "IsDestinationAddressPrefixLength"; + } + leaf destination-mask { + type inet:ipv6-address; + description + "Destination Mask"; + } + leaf is-source-operator { + type Acl-port-operator; + description + "eq, ne, lt, etc..."; + } + leaf is-source-port1 { + type uint32; + description + "IsSourcePort1"; + } + leaf is-source-port2 { + type uint32; + description + "IsSourcePort2"; + } + leaf is-destination-operator { + type Acl-port-operator; + description + "eq, ne, lt, etc..."; + } + leaf is-destination-port1 { + type uint32; + description + "IsDestinationPort1"; + } + leaf is-destination-port2 { + type uint32; + description + "IsDestinationPort2"; + } + leaf is-log-option { + type Acl-log; + description + "IsLogOption"; + } + leaf counter-name { + type string; + description + "Counter name"; + } + leaf is-tcp-bits-operator { + type Acl-tcpflags-operator; + description + "IsTCPBitsOperator"; + } + leaf is-tcp-bits { + type uint32; + description + "IsTCPBits"; + } + leaf is-tcp-bits-mask { + type uint32; + description + "IsTCPBitsMask"; + } + leaf is-dscp-present { + type int32; + description + "IsDSCPPresent"; + } + leaf is-dscp-valu { + type uint32; + description + "IsDSCPValu"; + } + leaf is-precedence-present { + type int32; + description + "IsPrecedencePresent"; + } + leaf is-precedence-value { + type uint32; + description + "range from 0 to 7"; + } + leaf is-header-matches { + type uint32; + description + "Match if routing header is presant"; + } + leaf is-packet-length-operator { + type Acl-plen-operator; + description + "Match if routing header is presant"; + } + leaf is-packet-length-start { + type uint32; + description + "IsPacketLengthStart"; + } + leaf is-packet-length-end { + type uint32; + description + "IsPacketLengthEnd"; + } + leaf is-time-to-live-operator { + type Acl-ttl-operator; + description + "IsTimeToLiveOperator"; + } + leaf is-time-to-live-start { + type uint32; + description + "IsTimeToLiveStart"; + } + leaf is-time-to-live-end { + type uint32; + description + "IsTimeToLiveEnd"; + } + leaf no-stats { + type int32; + description + "no stats"; + } + leaf hits { + type uint64; + description + "hits"; + } + leaf capture { + type boolean; + description + "Capture option, TRUE if enabled"; + } + leaf undetermined-transport { + type boolean; + description + "Undetermined transport option, TRUE if enabled"; + } + leaf is-icmp-message-off { + type int32; + description + "Don't generate the icmp message"; + } + leaf qos-group { + type uint16; + description + "Set qos-group"; + } + leaf is-comment-for-entry { + type string; + description + "IsCommentForEntry"; + } + leaf next-hop-type { + type Bag-acl-nh; + description + "Next hop type"; + } + leaf is-flow-id { + type uint32; + description + "IsFlowId"; + } + leaf source-prefix-group { + type string; + description + "Source prefix object-group"; + } + leaf destination-prefix-group { + type string; + description + "Destination prefix object-group"; + } + leaf source-port-group { + type string; + description + "Source port object-group"; + } + leaf destination-port-group { + type string; + description + "Destination port object-group"; + } + leaf acl-name { + type string; + description + "ACL Name"; + } + leaf sequence-str { + type string; + description + "Sequence String"; + } + leaf set-ttl { + type uint16; + description + "SetTTL"; + } + list next-hop-info { + max-elements "3"; + description + "Next hop info"; + uses IPV6-ACL-BAG-NH-INFO; + } + list udf { + description + "UDF"; + uses ACL-UDF-ACE; + } + } + + grouping IPV6-PFX-EDM-ACE { + description + "Prefix list entry BAG"; + leaf is-ace-type { + type Acl-ace; + description + "ACE type (acl, remark)"; + } + leaf is-ace-sequence-number { + type uint32; + description + "ACLE sequence number"; + } + leaf is-packet-allow-or-deny { + type Acl-action; + description + "Grant value permit/deny "; + } + leaf is-address-in-numbers { + type inet:ipv6-address; + description + "IPv6 prefix"; + } + leaf is-address-mask-length { + type uint32; + description + "Prefix length "; + } + leaf is-length-operator { + type Acl-port-operator; + description + "Port Operator"; + } + leaf is-packet-minimum-length { + type uint32; + description + "Min length"; + } + leaf is-packet-maximum-length { + type uint32; + description + "Maximum length"; + } + leaf hits { + type uint32; + description + "Number of hits"; + } + leaf is-comment-for-entry { + type string; + description + "Remark String"; + } + leaf acl-name { + type string; + description + "ACL Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper.yang new file mode 100644 index 0000000..377a766 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-acl-oper.yang @@ -0,0 +1,212 @@ +module Cisco-IOS-XR-ipv6-acl-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-oper"; + prefix ipv6-acl-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-common-acl-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ipv6-acl-datatypes { + prefix dt2; + } + include Cisco-IOS-XR-ipv6-acl-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-acl package operational data. + + This module contains definitions + for the following management objects: + ipv6-acl-and-prefix-list: Root class of IPv6 Oper schema tree + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv6-acl-and-prefix-list { + config false; + description + "Root class of IPv6 Oper schema tree"; + container access-list-manager { + description + "AccessListManager containing ACLs and prefix + lists"; + container prefixes { + description + "Table of prefix lists"; + list prefix { + key "prefix-list-name"; + description + "Name of the prefix list"; + container prefix-list-sequences { + description + "Table of all the SequenceNumbers per prefix + list"; + list prefix-list-sequence { + key "sequence-number"; + description + "Sequence Number of a prefix list entry"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "Sequence Number of the prefix list entry"; + } + uses IPV6-PFX-EDM-ACE; + } + } + leaf prefix-list-name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of the prefix list"; + } + } + } + container usages { + description + "Table of Usage statistics of ACLs at different + nodes"; + list usage { + description + "Usage statistics of an ACL at a node"; + leaf node-name { + type xr:Node-id; + description + "Node where ACL is applied"; + } + leaf application-id { + type dt1:Acl-usage-app-id-enum; + description + "Application ID"; + } + leaf access-list-name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of the ACL"; + } + leaf usage-details { + type string; + mandatory true; + description + "Usage Statistics Details"; + } + } + } + container accesses { + description + "ACL class displaying Usage and Entries"; + list access { + key "access-list-name"; + description + "Name of the Access List"; + container access-list-sequences { + description + "Table of all the sequence numbers per ACL"; + list access-list-sequence { + key "sequence-number"; + description + "Sequence number of an ACL entry"; + leaf sequence-number { + type dt1:Acl-sequence-number-range; + description + "ACL entry sequence number"; + } + uses IPV6-ACL-EDM-ACE; + } + } + leaf access-list-name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of the Access List"; + } + } + } + } + container oor { + description + "Out Of Resources, Limits to the resources + allocatable"; + container details { + description + "Details of the overall out of resource limit"; + uses IPV6-ACL-EDM-OOR-DETAIL; + } + container prefix-list-summary { + description + "Summary of the prefix Lists resource + utilization"; + container details { + description + "Summary Detail of the prefix list Resource + Utilisation"; + uses IPV6-ACL-EDM-OOR-DETAIL; + } + } + container oor-accesses { + description + "Resource occupation details for ACLs"; + list oor-access { + key "access-list-name"; + description + "Resource occupation details for a particular + ACL"; + leaf access-list-name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of the Access List"; + } + uses IPV6-ACL-EDM-OOR-DETAIL; + } + } + container oor-prefixes { + description + "Resource occupation details for prefix lists"; + list oor-prefix { + key "prefix-list-name"; + description + "Resource occupation details for a particular + prefix list"; + leaf prefix-list-name { + type dt2:Ipv6-acl-prefix-list-name; + description + "Name of a prefix list"; + } + uses IPV6-ACL-EDM-OOR-DETAIL; + } + } + container access-list-summary { + description + "Resource Limits pertaining to ACLs only"; + container details { + description + "Details containing the resource limits of the + ACLs"; + uses IPV6-ACL-EDM-OOR-DETAIL; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-cfg.yang new file mode 100644 index 0000000..0d61406 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-cfg.yang @@ -0,0 +1,112 @@ +module Cisco-IOS-XR-ipv6-io-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-cfg"; + prefix ipv6-io-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-io package configuration. + + This module contains definitions + for the following management objects: + ipv6-configuration: IPv6 Configuration Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-10 { + description + "Added top container."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv6-configuration { + description + "IPv6 Configuration Data"; + container ipv6-assembler { + description + "IPv6 fragmented packet assembler"; + leaf timeout { + type uint32 { + range "1..120"; + } + units "second"; + description + "Number of seconds an assembly queue will hold + before timeout"; + } + leaf max-packets { + type uint32 { + range "1..50"; + } + units "percentage"; + description + "Maxinum packets allowed in assembly queues (in + percent)"; + } + } + container ipv6icmp { + presence "Indicates a ipv6icmp node is configured."; + description + "Configure IPv6 ICMP parameters"; + leaf error-interval { + type uint32 { + range "0..2147483647"; + } + units "millisecond"; + mandatory true; + description + "Interval between tokens in milliseconds"; + } + leaf bucket-size { + type uint32 { + range "1..200"; + } + default "10"; + description + "Bucket size"; + } + } + leaf ipv6-pmtu-time-out { + type uint32 { + range "1..15"; + } + units "minute"; + description + "Configure IPv6 Path MTU timeout value in minutes"; + } + leaf ipv6-source-route { + type boolean; + default "true"; + description + "TRUE if enabled, FALSE if disabled"; + } + leaf ipv6-pmtu-enable { + type boolean; + default "false"; + description + "TRUE if enabled, FALSE if disabled"; + } + leaf ipv6-hop-limit { + type uint32 { + range "1..255"; + } + description + "Configure IPv6 hop count limit"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper-sub1.yang new file mode 100644 index 0000000..b96db52 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper-sub1.yang @@ -0,0 +1,463 @@ +submodule Cisco-IOS-XR-ipv6-io-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-io-oper { + prefix Cisco-IOS-XR-ipv6-io-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-io package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-08-27 { + description + "IOS XR 6.0.0 revision."; + } + + grouping IPV6-ND-TRAFFIC { + description + "IPV6 ND Traffic"; + leaf sent-router-solicitation-messages { + type uint32; + description + "ICMP Router Solicitations Sent"; + } + leaf sent-router-advertisement-messages { + type uint32; + description + "ICMP Router Advertisements Sent"; + } + leaf sent-neighbor-solicitation-messages { + type uint32; + description + "ICMP Neighbor Solicitations Sent"; + } + leaf sent-neighbor-advertisement-messages { + type uint32; + description + "ICMP Neighbor Advertisements Sent"; + } + leaf sent-redirect-messages { + type uint32; + description + "ICMP Redirect Sent"; + } + leaf received-router-solicitation-messages { + type uint32; + description + "ICMP Router Solicitations Received"; + } + leaf received-router-advertisement-messages { + type uint32; + description + "ICMP Router Advertisements Received"; + } + leaf received-neighbor-solicitation-messages { + type uint32; + description + "ICMP Neighbor Solicitations Received"; + } + leaf received-neighbor-advertisement-messages { + type uint32; + description + "ICMP Neighbor Advertisements Received"; + } + leaf received-redirect-messages { + type uint32; + description + "ICMP Redirect Received"; + } + } + + grouping IPV6-IO-ICMP-TRAFFIC { + description + "ICMPv6 Traffic Information"; + leaf total-messages { + type uint32; + description + "ICMP Received"; + } + leaf too-short-error-messages { + type uint32; + description + "ICMP Too Short Errors"; + } + leaf checksum-error-messages { + type uint32; + description + "ICMP Checksum Errors"; + } + leaf unknown-error-type-messages { + type uint32; + description + "ICMP Unknown Error"; + } + leaf output-messages { + type uint32; + description + "ICMP Transmitted"; + } + leaf sent-rate-limited-packets { + type uint32; + description + "ICMP Sent Packets Ratelimited"; + } + leaf sent-unreachable-routing-messages { + type uint32; + description + "ICMP Route Unreachable Sent"; + } + leaf sent-unreachable-admin-messages { + type uint32; + description + "ICMP Admin Unreachable Sent"; + } + leaf sent-unreachable-neighbor-messages { + type uint32; + description + "ICMP Host Unreachable Sent"; + } + leaf sent-unreachable-address-messages { + type uint32; + description + "ICMP Addr Unreachable Sent"; + } + leaf sent-unreachable-port-messages { + type uint32; + description + "ICMP Port Unreachable Sent"; + } + leaf received-unreachable-routing-messages { + type uint32; + description + "ICMP Route Unreachable Received"; + } + leaf received-unreachable-admin-messages { + type uint32; + description + "ICMP Admin Unreachable Received"; + } + leaf received-unreachable-neighbor-messages { + type uint32; + description + "ICMP Host Unreachable Received"; + } + leaf received-unreachable-address-messages { + type uint32; + description + "ICMP Addr Unreachable Received"; + } + leaf received-unreachable-port-messages { + type uint32; + description + "ICMP Port Unreachable Received"; + } + leaf sent-hop-count-expired-messages { + type uint32; + description + "ICMP Hop Count Expired Sent"; + } + leaf sent-reassembly-timeouts { + type uint32; + description + "ICMP Reassembly Timeouts"; + } + leaf received-hop-count-expired-messages { + type uint32; + description + "ICMP Hop Count Expired Received"; + } + leaf received-reassembly-timeouts { + type uint32; + description + "ICMP Reassembly Timeouts"; + } + leaf sent-too-big-messages { + type uint32; + description + "ICMP Too Big Messages Sent"; + } + leaf received-too-big-messages { + type uint32; + description + "ICMP Too Big Messages Received"; + } + leaf sent-parameter-error-messages { + type uint32; + description + "ICMP Parameter Error Messages Sent"; + } + leaf sent-parameter-header-messages { + type uint32; + description + "ICMP Parameter Next Header Messages Sent"; + } + leaf sent-parameter-option-messages { + type uint32; + description + "ICMP Parameter Option Messages Sent"; + } + leaf received-parameter-error-messages { + type uint32; + description + "ICMP Parameter Error Messages Received"; + } + leaf received-parameter-header-messages { + type uint32; + description + "ICMP Parameter Next Header Messages Received"; + } + leaf received-parameter-option-messages { + type uint32; + description + "ICMP Parameter Option Problem Received"; + } + leaf sent-echo-request-messages { + type uint32; + description + "ICMP Echo Request Sent"; + } + leaf sent-echo-reply-messages { + type uint32; + description + "ICMP Echo Reply Sent"; + } + leaf received-echo-request-messages { + type uint32; + description + "ICMP Echo Request Received"; + } + leaf received-echo-reply-messages { + type uint32; + description + "ICMP Echo Reply Received"; + } + leaf sent-unknown-timeout-messages { + type uint32; + description + "ICMP Unknown Timeout Messages Sent"; + } + leaf received-unknown-timeout-messages { + type uint32; + description + "ICMP Unknown Timeout Messages Received"; + } + leaf sent-parameter-unknown-type-messages { + type uint32; + description + "ICMP Parameter Unknown Type Messages Sent"; + } + leaf received-parameter-unknown-type-messages { + type uint32; + description + "ICMP Parameter Unknown Type Messages Received"; + } + leaf sent-unreachable-unknown-type-messages { + type uint32; + description + "ICMP Unreachable Unknown Messages Sent"; + } + leaf received-unreachable-unknown-type-messages { + type uint32; + description + "ICMP Unreachable Unknown Messages Received"; + } + } + + grouping IPV6-IO-TRAFFIC { + description + "IPv6 Traffic Information"; + leaf total-packets { + type uint32; + description + "Total Packets"; + } + leaf local-destination-packets { + type uint32; + description + "Local Destination Packets"; + } + leaf format-errors { + type uint32; + description + "Format Errors"; + } + leaf truncated-packets { + type uint32; + description + "Truncated Packets"; + } + leaf hop-count-exceeded-packets { + type uint32; + description + "Hop Count Exceeded Packets"; + } + leaf bad-source-address-packets { + type uint32; + description + "Bad Source Address Packets"; + } + leaf bad-header-packets { + type uint32; + description + "Bad Header Packets"; + } + leaf unknown-option-type-packets { + type uint32; + description + "Unknown Option Type Packets"; + } + leaf unknown-protocol-packets { + type uint32; + description + "Unknown Protocol Packets"; + } + leaf fragments { + type uint32; + description + "Fragments"; + } + leaf reassembled-packets { + type uint32; + description + "Reassembled Packets"; + } + leaf reassembly-timeouts { + type uint32; + description + "Reassembly Timeouts"; + } + leaf reassembly-failures { + type uint32; + description + "Reassembly Failures"; + } + leaf reassembly-maximum-drops { + type uint32; + description + "Reassembly Reach Maximum Drop"; + } + leaf generated-packets { + type uint32; + description + "Packets Output"; + } + leaf forwarded-packets { + type uint32; + description + "Packets Forwarded"; + } + leaf source-routed-packets { + type uint32; + description + "Packets Source Routed"; + } + leaf fragmented-packets { + type uint32; + description + "Packets Fragmented"; + } + leaf fragment-count { + type uint32; + description + "Fragmented Packet Count"; + } + leaf fragment-failures { + type uint32; + description + "Fragment Failures"; + } + leaf no-route-packets { + type uint32; + description + "No Route Packets"; + } + leaf too-big-packets { + type uint32; + description + "Packet Too Big"; + } + leaf received-multicast-packets { + type uint32; + description + "Multicast In"; + } + leaf sent-multicast-packets { + type uint32; + description + "Multicast Out"; + } + leaf miscellaneous-drops { + type uint32; + description + "Misc. drops"; + } + leaf lisp-v4-encap-packets { + type uint32; + description + "Lisp IPv4 Encapped packets"; + } + leaf lisp-v4-decap-packets { + type uint32; + description + "Lisp IPv4 Decapped packets"; + } + leaf lisp-v6-encap-packets { + type uint32; + description + "Lisp IPv6 Encapped packets"; + } + leaf lisp-v6-decap-packets { + type uint32; + description + "Lisp IPv6 Decapped packets"; + } + leaf lisp-encap-errors { + type uint32; + description + "Lisp Encap errors"; + } + leaf lisp-decap-errors { + type uint32; + description + "Lisp Decap errors"; + } + } + + grouping IPV6-TRAFFIC { + description + "IPv6 and ICMPv6 Traffic Information"; + container ipv6 { + description + "IPv6 Statistics"; + uses IPV6-IO-TRAFFIC; + } + container icmp { + description + "ICMP Statistics"; + uses IPV6-IO-ICMP-TRAFFIC; + } + container ipv6-node-discovery { + description + "IPv6 Node Discovery Statistics"; + uses IPV6-ND-TRAFFIC; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper.yang new file mode 100644 index 0000000..0de703b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-io-oper.yang @@ -0,0 +1,74 @@ +module Cisco-IOS-XR-ipv6-io-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-io-oper"; + prefix ipv6-io-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv6-io-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-io package operational data. + + This module contains definitions + for the following management objects: + ipv6-io: IPv6 IO Operational Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-08-27 { + description + "IOS XR 6.0.0 revision."; + } + + container ipv6-io { + config false; + description + "IPv6 IO Operational Data"; + container nodes { + description + "Node-specific IPv6 IO operational data"; + list node { + key "node-name"; + description + "IPv6 network operational data for a particular + node"; + container statistics { + description + "Statistical IPv6 network operational data for + a node"; + container traffic { + description + "Traffic statistics for a node"; + uses IPV6-TRAFFIC; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-cfg.yang new file mode 100644 index 0000000..020e165 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-cfg.yang @@ -0,0 +1,409 @@ +module Cisco-IOS-XR-ipv6-ma-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg"; + prefix ipv6-ma-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ip-iarm-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ma package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-03 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Ipv6-self-ping { + type enumeration { + enum "disabled" { + value 0; + description + "Doesn't allow router to ping itself"; + } + enum "enabled" { + value 1; + description + "Allow router to ping itself"; + } + } + description + "Ipv6 self ping"; + } + + typedef Ipv6-reachable { + type enumeration { + enum "any" { + value 0; + description + "Source is reachable via any interface"; + } + enum "received" { + value 1; + description + "Source is reachable via interface on which + packet was received"; + } + } + description + "Ipv6 reachable"; + } + + typedef Ipv6-default-ping { + type enumeration { + enum "disabled" { + value 0; + description + "Default route is not allowed to match when + checking source address"; + } + enum "enabled" { + value 1; + description + "Allow default route to match when checking + source address"; + } + } + description + "Ipv6 default ping"; + } + + typedef Ipv6-qppb { + type enumeration { + enum "none" { + value 0; + description + "No QPPB configuration"; + } + enum "ip-precedence" { + value 1; + description + "Enable ip-precedence based QPPB"; + } + enum "qos-group" { + value 2; + description + "Enable qos-group based QPPB"; + } + enum "both" { + value 3; + description + "Enable both ip-precedence and qos-group based + QPPB"; + } + } + description + "Ipv6 qppb"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv6-network { + description + "Interface IPv6 Network configuration data"; + container bgp-qos-policy-propagation { + presence "Indicates a bgp-qos-policy-propagation node is configured."; + description + "Configure BGP QoS policy propagation"; + leaf source { + type Ipv6-qppb; + mandatory true; + description + "QPPB configuration on source"; + } + leaf destination { + type Ipv6-qppb; + mandatory true; + description + "QPPB configuration on destination"; + } + } + container bgp-policy-accountings { + description + "IPv6 BGP Policy Accounting"; + list bgp-policy-accounting { + key "direction"; + description + "Accounting input or output"; + leaf direction { + type xr:Cisco-ios-xr-string; + description + "Accouting on input or output"; + } + leaf destination-accounting { + type boolean; + mandatory true; + description + "Accounting on Destination IP Address"; + } + leaf source-accounting { + type boolean; + mandatory true; + description + "Accounting on Source IP Address"; + } + } + } + container verify { + presence "Indicates a verify node is configured."; + description + "IPv6 Verify Unicast Souce Reachable"; + leaf reachable { + type Ipv6-reachable; + mandatory true; + description + "Source Reachable Interface"; + } + leaf self-ping { + type Ipv6-self-ping; + mandatory true; + description + "Allow Self Ping"; + } + leaf default-ping { + type Ipv6-default-ping; + mandatory true; + description + "Allow Default Route"; + } + } + container addresses { + description + "Set the IPv6 address of an interface"; + container segment-routings { + description + "Segment Routing Table"; + list segment-routing { + key "address"; + description + "Segment Routing Submode "; + container ipv6-prefix-sid { + presence "Indicates a ipv6-prefix-sid node is configured."; + description + "Prefix-Sid for Segment Routing"; + leaf prefix-length { + type dt1:Ipv6arm-prefix-length; + mandatory true; + description + "Prefix Length"; + } + leaf zone { + type string; + description + "IPv6 address zone"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + leaf enable { + type empty; + description + "Segment Routing Submode"; + } + leaf address { + type inet:ip-address-no-zone; + description + "IPv6 address"; + } + } + } + container link-local-address { + presence "Indicates a link-local-address node is configured."; + description + "Link local IPv6 address"; + leaf address { + type inet:ip-address-no-zone; + mandatory true; + description + "IPv6 address"; + } + leaf zone { + type string; + default "0"; + description + "IPv6 address zone"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + container eui64-addresses { + description + "EUI-64 IPv6 address Table"; + list eui64-address { + key "address"; + description + "EUI-64 IPv6 address"; + leaf address { + type inet:ip-address-no-zone; + description + "IPv6 address"; + } + leaf prefix-length { + type dt1:Ipv6arm-prefix-length; + mandatory true; + description + "Prefix Length"; + } + leaf zone { + type string; + default "0"; + description + "IPv6 address zone"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + } + container regular-addresses { + description + "Regular IPv6 address Table"; + list regular-address { + key "address"; + description + "Regular IPv6 address"; + leaf address { + type inet:ip-address-no-zone; + description + "IPv6 address"; + } + leaf prefix-length { + type dt1:Ipv6arm-prefix-length; + mandatory true; + description + "Prefix Length"; + } + leaf zone { + type string; + default "0"; + description + "IPv6 address zone"; + } + leaf route-tag { + type uint32 { + range "1..4294967295"; + } + description + "RouteTag"; + } + } + } + container auto-configuration { + description + "Auto IPv6 Interface Configuration"; + leaf enable { + type empty; + description + "The flag to enable auto ipv6 interface + configuration"; + } + leaf auto-config-slaac { + type empty; + description + "Enable slaac on Mgmt interface"; + } + } + } + container bgp-flow-tag-policy-table { + description + "Interface ipv6 bgp policy propagation flowtag + configuration"; + container bgp-flow-tag-policy { + description + "Input"; + leaf source { + type boolean; + description + "Flow Tag configuration on source"; + } + leaf destination { + type boolean; + description + "Flow Tag configuration on destination"; + } + } + } + leaf mtu { + type uint32 { + range "1280..65535"; + } + description + "MTU Setting of Interface"; + } + leaf unnumbered { + type xr:Interface-name; + description + "Enable IPv6 processing without an explicit + address"; + } + leaf ttl-propagate-disable { + type empty; + description + "Disabled TTL propagate on an interface"; + } + leaf tcp-mss-adjust-enable { + type empty; + description + "Enable TCP MSS adjust on an interface"; + } + leaf unreachables { + type empty; + description + "Override Sending of ICMP Unreachable Messages"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang new file mode 100644 index 0000000..8d4b5b9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper-sub1.yang @@ -0,0 +1,485 @@ +submodule Cisco-IOS-XR-ipv6-ma-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-ma-oper { + prefix Cisco-IOS-XR-ipv6-ma-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-09 { + description + "IPV6 MA schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Str { + type string; + description + "Str"; + } + + typedef Ipv6-ma-oper-state { + type enumeration { + enum "oper-up" { + value 1; + description + "Interface oper state is up"; + } + enum "oper-down" { + value 2; + description + "Interface oper state is down"; + } + } + description + "Interface oper states"; + } + + typedef Ipv6-ma-if-addr-state { + type enumeration { + enum "active" { + value 1; + description + "This is an active address that can appear as + the destination or source address of a packet"; + } + enum "deprecated" { + value 2; + description + "This is a valid but deprecated address that + should no longer be used as a source address in + new communications"; + } + enum "duplicate" { + value 3; + description + "This is a duplicate (invalid) address because + of conflict"; + } + enum "inaccessible" { + value 4; + description + "This is not accessible because the interface to + which this address is assigned is not + operational"; + } + enum "tentative" { + value 5; + description + "Status can not be determined for some reason"; + } + } + description + "Interface address states"; + } + + typedef Ipv6-ma-if-line-state { + type enumeration { + enum "down" { + value 1; + description + "Interface state is down"; + } + enum "up" { + value 2; + description + "Interface state is up"; + } + enum "unknown" { + value 3; + description + "Interface state is unknown"; + } + enum "error" { + value 4; + description + "Interface state is incorrect"; + } + } + description + "Interface line states"; + } + + grouping IF-SUMMARY { + description + "Count of assigned/unnumbered interfaces"; + leaf ip-assigned { + type uint32; + description + "Number of interfaces with explicit addresses"; + } + leaf ip-unnumbered { + type uint32; + description + "Number of unnumbered interfaces with explicit + addresses"; + } + leaf ip-unassigned { + type uint32; + description + "Number of unassigned interfaces without explicit + address"; + } + } + + grouping IPV6-IF-SUMMARY { + description + "Summary info of IPv6 interfaces"; + container if-up-up { + description + "Number of interfaces (up,up)"; + uses IF-SUMMARY; + } + container if-up-down { + description + "Number of interfaces (up,down)"; + uses IF-SUMMARY; + } + container if-down-down { + description + "Number of interfaces (down,down)"; + uses IF-SUMMARY; + } + container if-shutdown-down { + description + "Number of interfaces (shutdown,down)"; + uses IF-SUMMARY; + } + leaf if-up-down-basecaps-up { + type uint32; + description + "Number of interfaces (up,down) with basecaps up"; + } + } + + grouping TIMEVAL-ENTRY { + description + "Creatation or Update Time"; + } + + grouping BGP-PA-DIR { + description + "BGP PA config for ingress/egress direction"; + leaf enable { + type uint32; + description + "Enable BGP PA for ingress/egress"; + } + leaf source { + type boolean; + description + "Enable source accouting"; + } + leaf destination { + type boolean; + description + "Enable destination accouting"; + } + } + + grouping BGP-PA-CONFIG { + description + "BGP PA config information"; + container input { + description + "BGP PA input config"; + uses BGP-PA-DIR; + } + container output { + description + "BGP PA output config"; + uses BGP-PA-DIR; + } + } + + grouping RPF-CONFIG { + description + "RPF config information"; + leaf enable { + type boolean; + description + "Enable RPF config"; + } + leaf allow-default-route { + type boolean; + description + "Allow Default Route"; + } + leaf allow-self-ping { + type boolean; + description + "Allow Self Ping"; + } + leaf mode { + type uint32; + description + "RPF Mode (loose/strict)"; + } + } + + grouping IPV6-MULTI-ACL-CONFIG { + description + "IPV6 MULTI ACL CONFIG"; + list inbound { + max-elements "5"; + description + "Inbound ACLs"; + leaf entry { + type Str; + } + } + list outbound { + max-elements "5"; + description + "Outbound ACLs"; + leaf entry { + type Str; + } + } + list common { + max-elements "5"; + description + "Common ACLs"; + leaf entry { + type Str; + } + } + } + + grouping IPV6-ACL-CONFIG { + description + "IPV6 ACL CONFIG"; + leaf in-bound { + type string; + description + "ACL applied to incoming packets"; + } + leaf out-bound { + type string; + description + "ACL applied to outgoing packets"; + } + leaf common-in-bound { + type string; + description + "Common ACL applied to incoming packets"; + } + leaf common-out-bound { + type string; + description + "Common ACL applied to outgoing packets"; + } + } + + grouping IPV6-MCAST-GROUP { + description + "MCast Group "; + leaf address { + type inet:ipv6-address; + description + "IPv6 Address of Multicast Group"; + } + } + + grouping IPV6-IF-DETAIL { + description + "Detailed Info of IPv6 Interface"; + container link-local-address { + description + "Link Local Address"; + uses IPV6-ADDR-NODE; + } + container access-control-list { + description + "IPv6 Access Control List"; + uses IPV6-ACL-CONFIG; + } + container multi-access-control-list { + description + "Multi IPv6 Access Control List"; + uses IPV6-MULTI-ACL-CONFIG; + } + container rpf { + description + "RPF config on the interface"; + uses RPF-CONFIG; + } + container bgp-pa { + description + "BGP PA config on the interface"; + uses BGP-PA-CONFIG; + } + container utime { + description + "Address Publish Time"; + uses TIMEVAL-ENTRY; + } + container idb-utime { + description + "IDB Create Time"; + uses TIMEVAL-ENTRY; + } + container caps-utime { + description + "CAPS Add Time"; + uses TIMEVAL-ENTRY; + } + container fwd-en-utime { + description + "FWD ENABLE Time"; + uses TIMEVAL-ENTRY; + } + container fwd-dis-utime { + description + "FWD DISABLE Time"; + uses TIMEVAL-ENTRY; + } + leaf line-state { + type Ipv6-ma-if-line-state; + description + "State of Interface Line"; + } + leaf mtu { + type uint32; + description + "IPv6 MTU"; + } + leaf operation-state { + type Ipv6-ma-oper-state; + description + "IPv6 Operation State"; + } + leaf vrf-name { + type string { + length "0..32"; + } + description + "VRF Name"; + } + leaf is-icmp-unreach-enabled { + type boolean; + description + "ICMP unreach Enable"; + } + leaf rg-id-exists { + type boolean; + description + "Does ICCP RG ID exist on the interface?"; + } + leaf mlacp-active { + type boolean; + description + "Is mLACP state Active (valid if RG ID exists)"; + } + leaf flow-tag-src { + type boolean; + description + "Is BGP Flow Tag Source is enable"; + } + leaf flow-tag-dst { + type boolean; + description + "Is BGP Flow Tag Destination is enable"; + } + list multicast-group { + description + "IPv6 Multicast Group"; + uses IPV6-MCAST-GROUP; + } + list address { + description + "Address List"; + uses IPV6-ADDR-NODE; + } + list client-multicast-group { + description + "IPv6 Client Multicast Group"; + uses IPV6-MCAST-GROUP; + } + } + + grouping IPV6-ADDR-NODE { + description + "List of IPv6 Addresses "; + leaf address { + type inet:ipv6-address; + description + "IPv6 Address"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf prefix-length { + type uint32; + description + "Prefix Length of IPv6 Address"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf address-state { + type Ipv6-ma-if-addr-state; + description + "State of Address"; + } + leaf is-anycast { + type boolean; + description + "Anycast address"; + } + leaf route-tag { + type uint32; + description + "Route-tag of the Address"; + } + } + + grouping IPV6-IF-BRIEF { + description + "Brief Summary of IPv6 Interface"; + container link-local-address { + description + "Link Local Address"; + uses IPV6-ADDR-NODE; + } + leaf line-state { + type Ipv6-ma-if-line-state; + description + "State of Interface Line"; + } + leaf vrf-name { + type string { + length "0..32"; + } + description + "VRF Name"; + } + list address { + description + "Address List"; + uses IPV6-ADDR-NODE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper.yang new file mode 100644 index 0000000..b1a39c8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-oper.yang @@ -0,0 +1,157 @@ +module Cisco-IOS-XR-ipv6-ma-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper"; + prefix ipv6-ma-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv6-ma-oper-sub1 { + revision-date 2017-08-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ma package operational data. + + This module contains definitions + for the following management objects: + ipv6-network: IPv6 network operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-09 { + description + "IPV6 MA schema file has all the latest changes."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container ipv6-network { + config false; + description + "IPv6 network operational data"; + container nodes { + description + "Node-specific IPv6 network operational data"; + list node { + key "node-name"; + description + "IPv6 network operational data for a particular + node"; + container interface-data { + description + "IPv6 network operational interface data"; + container vrfs { + description + "VRF specific IPv6 network operational + interface data"; + list vrf { + key "vrf-name"; + description + "VRF ID of an interface belong to"; + container briefs { + description + "Brief interface IPv6 network operational + data for a node"; + list brief { + key "interface-name"; + description + "Brief interface IPv6 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV6-IF-BRIEF; + } + } + container global-details { + description + "Detail interface IPv4 network operational + data for global data"; + list global-detail { + key "interface-name"; + description + "Detail interface IPv6 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV6-IF-DETAIL; + } + } + container global-briefs { + description + "Brief interface IPv6 network operational + data from global data"; + list global-brief { + key "interface-name"; + description + "Brief interface IPv6 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV6-IF-BRIEF; + } + } + container details { + description + "Detail interface IPv4 network operational + data for a node"; + list detail { + key "interface-name"; + description + "Detail interface IPv6 network operational + data for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IPV6-IF-DETAIL; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "The VRF name"; + } + } + } + container summary { + description + "Summary of IPv6 network operational interface + data on a node"; + uses IPV6-IF-SUMMARY; + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang new file mode 100644 index 0000000..7492092 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ma-subscriber-cfg.yang @@ -0,0 +1,101 @@ +module Cisco-IOS-XR-ipv6-ma-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-subscriber-cfg"; + prefix ipv6-ma-subscriber-cfg; + + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ma-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-11 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping IPV6-NETWORK { + description + "Common node of ip-subscriber, ppp, + subscriber-service"; + container ipv6-network { + description + "Interface IPv6 Network configuration data"; + container addresses { + description + "Set the IPv6 address of an interface"; + container auto-configuration { + description + "Auto IPv6 Interface Configuration"; + leaf enable { + type empty; + description + "The flag to enable auto ipv6 interface + configuration"; + } + } + } + leaf mtu { + type uint32 { + range "1280..65535"; + } + units "byte"; + description + "MTU Setting of Interface"; + } + leaf rpf { + type boolean; + description + "TRUE if enabled, FALSE if disabled"; + } + leaf unreachables { + type empty; + description + "Override Sending of ICMP Unreachable Messages"; + } + } + } + + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NETWORK; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NETWORK; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NETWORK; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-cfg.yang new file mode 100644 index 0000000..59a5fd9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-cfg.yang @@ -0,0 +1,537 @@ +module Cisco-IOS-XR-ipv6-nd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg"; + prefix ipv6-nd-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-nd package configuration. + + This module contains definitions + for the following management objects: + ipv6-neighbor: IPv6 neighbor or neighbor discovery + configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6srp-encapsulation { + type enumeration { + enum "srpa" { + value 5; + description + "Encapsulation type SRP, prefer side A"; + } + enum "srpb" { + value 6; + description + "Encapsulation type SRP, prefer side B"; + } + } + description + "Ipv6srp encapsulation"; + } + + typedef Ipv6nd-month { + type enumeration { + enum "january" { + value 0; + description + "January"; + } + enum "february" { + value 1; + description + "February"; + } + enum "march" { + value 2; + description + "March"; + } + enum "april" { + value 3; + description + "April"; + } + enum "may" { + value 4; + description + "May"; + } + enum "june" { + value 5; + description + "June"; + } + enum "july" { + value 6; + description + "July"; + } + enum "august" { + value 7; + description + "August"; + } + enum "september" { + value 8; + description + "September"; + } + enum "october" { + value 9; + description + "October"; + } + enum "november" { + value 10; + description + "November"; + } + enum "december" { + value 11; + description + "December"; + } + } + description + "Ipv6nd month"; + } + + typedef Ipv6-nd-router-pref { + type enumeration { + enum "high" { + value 1; + description + "High preference"; + } + enum "medium" { + value 2; + description + "Medium preference"; + } + enum "low" { + value 3; + description + "Low preference"; + } + } + description + "Ipv6 nd router pref"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ipv6-neighbor { + description + "IPv6 interface neighbor or neighbor discovery + configuration"; + container raspecific-route-s { + description + "IPv6 Router Advertisement (RA) Specific Route"; + list raspecific-route { + key "specific-route"; + description + "IPv6 Router Advertisement (RA) Specific Route"; + leaf specific-route { + type inet:ipv6-address-no-zone; + description + "IPv6 Address"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix mask length"; + } + leaf lifetime { + type uint32 { + range "0..4294967295"; + } + description + "Lifetime (seconds)"; + } + leaf preference { + type Ipv6-nd-router-pref; + description + "Preference"; + } + } + } + container radns-searches { + description + "IPv6 Router Advertisement (RA) DNS Search List"; + list radns-search { + key "dns-search-list"; + description + "IPv6 Router Advertisement (RA) DNS Search List"; + leaf dns-search-list { + type xr:Cisco-ios-xr-string; + description + "Search List"; + } + leaf lifetime { + type uint32 { + range "4..3600"; + } + mandatory true; + description + "Lifetime value in seconds"; + } + } + } + container radns-servers { + description + "IPv6 Router Advertisement (RA) DNS Servre"; + list radns-server { + key "dns-server"; + description + "IPv6 Router Advertisement (RA) DNS Servre"; + leaf dns-server { + type inet:ipv6-address-no-zone; + description + "IPv6 Address"; + } + leaf lifetime { + type uint32 { + range "4..3600"; + } + mandatory true; + description + "Lifetime value in seconds"; + } + } + } + container ra-interval { + presence "Indicates a ra-interval node is configured."; + description + "Set IPv6 Router Advertisement (RA) interval in + seconds"; + leaf maximum { + type uint32 { + range "4..1800"; + } + mandatory true; + description + "Maximum RA interval in seconds"; + } + leaf minimum { + type uint32 { + range "3..1800"; + } + description + "Minimum RA interval in seconds. Must be less + than 0.75 * maximum interval"; + } + } + container ipv6-prefixes { + description + "Prefixes "; + list ipv6-prefix { + key "prefix"; + description + "Configure prefix with paramemters"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "IPv6 prefix"; + } + leaf prefix-zone { + type string { + length "1..9"; + } + description + "Prefix zone"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + mandatory true; + description + "Prefix mask length"; + } + leaf valid-lifetime { + type uint32 { + range "0..4294967295"; + } + description + "Valid Lifetime (seconds)"; + } + leaf preferred-lifetime { + type uint32 { + range "0..4294967295"; + } + description + "Preferred Lifetime (seconds) must be <= Valid + Lifetime"; + } + leaf off-link { + type boolean; + description + "If set, prefix will not be used for onlink + determination"; + } + leaf no-auto-config { + type boolean; + description + "If set, prefix will not be used for auto + configuration"; + } + leaf no-advertize { + type boolean; + description + "If set, prefix will not be advertized"; + } + leaf expiry-month { + type Ipv6nd-month; + description + "Month to expire valid lifetime"; + } + leaf expiry-date { + type uint32 { + range "1..31"; + } + description + "Date to expire valid lifetime"; + } + leaf expiry-year { + type uint32 { + range "2003..2035"; + } + description + "Year to expire valid lifetime"; + } + leaf expiry-hour { + type uint32 { + range "0..23"; + } + description + "Hour to expire valid lifetime"; + } + leaf expiry-minute { + type uint32 { + range "0..59"; + } + description + "Minute to expire valid lifetime"; + } + leaf pref-expiry-month { + type Ipv6nd-month; + description + "Month to expire preferred lifetime"; + } + leaf pref-expiry-date { + type uint32 { + range "1..31"; + } + description + "Date to expire preferred lifetime"; + } + leaf pref-expiry-year { + type uint32 { + range "2003..2035"; + } + description + "Year to expire preferred lifetime"; + } + leaf pref-expiry-hour { + type uint32 { + range "0..23"; + } + description + "Hour to expire preferred lifetime"; + } + leaf pref-expiry-minute { + type uint32 { + range "0..59"; + } + description + "Minute to expire preferred lifetime"; + } + } + } + leaf reachable-time { + type uint32 { + range "0..3600000"; + } + units "millisecond"; + description + "Set advertised reachability time in + milliseconds"; + } + leaf ra-unspecify-hoplimit { + type empty; + description + "Unspecify IPv6 Router Advertisement (RA) + hop-limit"; + } + leaf dad-attempts { + type uint32 { + range "0..600"; + } + description + "Set IPv6 duplicate address detection transmits"; + } + leaf srp-multicast-encapsulation { + type Ipv6srp-encapsulation; + description + "Set SRP multicast prefer encapsulation"; + } + leaf ns-interval { + type uint32 { + range "1000..4294967295"; + } + units "millisecond"; + description + "Set advertised NS retransmission interval in + milliseconds"; + } + leaf cache-limit { + type uint32 { + range "0..128000"; + } + description + "Set the cache limit for neighbor entries"; + } + leaf redirect { + type empty; + description + "Enable sending of ICMP Redirect messages"; + } + leaf srp-unicast-encapsulation { + type Ipv6srp-encapsulation; + description + "Set SRP unicast prefer encapsulation"; + } + leaf ramtu-suppress { + type empty; + description + "Enable suppress MTU in IPv6 router + advertisement"; + } + leaf managed-config { + type empty; + description + "Host to use stateful protocol for address + configuration"; + } + leaf ra-unicast { + type empty; + description + "Enable unicast IPv6 router advertisement"; + } + leaf ra-lifetime { + type uint32 { + range "0..9000"; + } + units "second"; + description + "Set IPv6 Router Advertisement (RA) lifetime in + seconds"; + } + leaf other-config { + type empty; + description + "Host to use stateful protocol for non-address + configuration"; + } + leaf ra-suppress { + type empty; + description + "Enable suppress IPv6 router advertisement"; + } + leaf router-preference { + type Ipv6-nd-router-pref; + description + "RA Router Preference"; + } + } + } + container ipv6-neighbor { + description + "IPv6 neighbor or neighbor discovery configuration"; + container neighbors { + description + "IPv6 neighbors"; + list neighbor { + key "neighbor-address interface-name"; + description + "IPv6 neighbor configuration"; + leaf neighbor-address { + type inet:ipv6-address-no-zone; + description + "IPv6 address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf zone { + type string; + default "0"; + description + "IPv6 address zone"; + } + leaf mac-address { + type yang:mac-address; + mandatory true; + description + "48-bit hardware address H.H.H"; + } + leaf encapsulation { + type Ipv6srp-encapsulation; + description + "Encapsulation type only if interface type is + SRP"; + } + } + } + leaf scavenge-timeout { + type uint32 { + range "1..43200"; + } + units "second"; + description + "Set lifetime for stale neighbor"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang new file mode 100644 index 0000000..af64b09 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper-sub1.yang @@ -0,0 +1,775 @@ +submodule Cisco-IOS-XR-ipv6-nd-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-nd-oper { + prefix Cisco-IOS-XR-ipv6-nd-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-nd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6-nd-sh-vr-flags { + type enumeration { + enum "no-flags" { + description + "None"; + } + enum "final-ra" { + description + "Final RA"; + } + } + description + "IPv6 ND VR Entry Flags Type "; + } + + typedef Ipv6-nd-sh-vr-state { + type enumeration { + enum "deleted" { + description + "Delete"; + } + enum "standby" { + description + "Standby"; + } + enum "active" { + description + "Active"; + } + } + description + "IPv6 ND VR Entry State Type "; + } + + typedef Ipv6-nd-bndl-state { + type enumeration { + enum "run" { + description + "Running state"; + } + enum "error" { + description + "Error state"; + } + enum "wait" { + description + "Wait state"; + } + } + description + "IPv6 ND Bundle State"; + } + + typedef Ipv6-nd-neighbor-origin { + type enumeration { + enum "other" { + description + "Other Address"; + } + enum "static" { + description + "Static Address"; + } + enum "dynamic" { + description + "Dynamic Address"; + } + } + description + "IPv6 ND Neighbor Origin Type"; + } + + typedef Ipv6-nd-media-encap { + type enumeration { + enum "none" { + description + "No encapsulation"; + } + enum "arpa" { + description + "ARPA encapsulation"; + } + enum "snap" { + description + "SNAP encapsulation"; + } + enum "ieee802-1q" { + description + "802_1Q encapsulation"; + } + enum "srp" { + description + "SRP encapsulation"; + } + enum "srpa" { + description + "SRPA encapsulation"; + } + enum "srpb" { + description + "SRPB encapsulation"; + } + enum "ppp" { + description + "PPP encapsulation"; + } + enum "hdlc" { + description + "HDLC encapsulation"; + } + enum "chdlc" { + description + "CHDLC encapsulation"; + } + enum "dot1q" { + description + "DOT1Q encapsulation"; + } + enum "fr" { + description + "FR encapsulation"; + } + enum "gre" { + description + "GRE encapsulation"; + } + } + description + "IPv6 ND Media Encapsulation Type"; + } + + typedef Ipv6-nd-sh-state { + type enumeration { + enum "incomplete" { + description + "Incomplete"; + } + enum "reachable" { + description + "Reachable"; + } + enum "stale" { + description + "Stale"; + } + enum "glean" { + description + "Glean"; + } + enum "delay" { + description + "Delay"; + } + enum "probe" { + description + "Probe"; + } + enum "delete" { + description + "Delete"; + } + } + description + "IPv6 ND Neighbor Reachability State"; + } + + grouping IPV6-ND-PREFIX-Q { + description + "Prefix Queue"; + leaf prefix-address { + type inet:ipv6-address; + description + "Prefix address"; + } + leaf eui64 { + type inet:ipv6-address; + description + "IPv6 Auto generated address"; + } + leaf valid-life-time { + type uint32; + description + "Valid Life Time"; + } + leaf preferred-life-time { + type uint32; + description + "Preferred Life Time"; + } + leaf prefix-len { + type uint32; + description + "Prefix Length"; + } + leaf flags { + type uint32; + description + "IPv6 Address Specific Flags"; + } + leaf pfx-flags { + type uint32; + description + "Prefix Address Specific Flags"; + } + } + + grouping IPV6-ND-RA-INFO { + description + "RA Info"; + container elapsed-ra-time { + description + "elapsedRATime"; + uses BAG-TIMESPEC; + } + container reachable-time { + description + "reachabletime"; + uses BAG-TIMESPEC; + } + container retrans-time { + description + "retranstime"; + uses BAG-TIMESPEC; + } + leaf address { + type inet:ipv6-address; + description + "address"; + } + leaf hops { + type uint32; + description + "hops"; + } + leaf flags { + type uint32; + description + "flags"; + } + leaf life-time { + type uint32; + description + "lifetime"; + } + leaf mtu { + type uint32; + description + "mtu"; + } + leaf err-msg { + type boolean; + description + "errmsg"; + } + leaf vrf-id { + type uint32; + description + "vrf id"; + } + leaf u6-tbl-id { + type uint32; + description + "tbl id"; + } + leaf rib-protoid { + type uint16; + description + "proto id"; + } + leaf default-router { + type boolean; + description + "router"; + } + leaf reachability { + type uint32; + description + "reach"; + } + list prefix-q { + description + "Prefix Queue"; + uses IPV6-ND-PREFIX-Q; + } + } + + grouping IPV6-ND-SLAAC-INTFS-INFO { + description + "Slaac Intfs"; + leaf idb { + type xr:Interface-name; + description + "idb"; + } + list ra { + description + "slaac db"; + uses IPV6-ND-RA-INFO; + } + } + + grouping IPV6-ND-VR-ENTRY { + description + "Detailed Info of ND IPv6 Virtual Router entry"; + container local-address { + description + "Link local address"; + uses IPV6-ND-ADDR; + } + leaf link-layer-address { + type yang:mac-address; + description + "Link-Layer Address"; + } + leaf context { + type uint32; + description + "Virtual Router ID"; + } + leaf state { + type Ipv6-nd-sh-vr-state; + description + "VR state"; + } + leaf flags { + type Ipv6-nd-sh-vr-flags; + description + "VR Flags"; + } + leaf vr-gl-addr-ct { + type uint32; + description + "Virtual Global Address Count"; + } + list vr-global-address { + description + "List of ND global addresses"; + uses IPV6-ND-ADDR; + } + } + + grouping IPV6-ND-GSPNODE { + description + "GSP node info "; + leaf node-name { + type xr:Node-id; + description + "Node Name"; + } + leaf total-links { + type uint32; + description + "Number of links on the node"; + } + } + + grouping IPV6-ND-ADDR { + description + "List of IPv6 ND Addresses "; + leaf ipv6-address { + type inet:ipv6-address; + description + "IPv6 address"; + } + } + + grouping IPV6-ND-IF-PARAMS { + description + "Detailed Info of ND IPv6 Interface"; + leaf is-dad-enabled { + type boolean; + description + "If true, DAD (D.. A.. D..) is enabled otherwise + it is disabled"; + } + leaf dad-attempts { + type uint32; + description + "DAD attempt count"; + } + leaf is-icm-pv6-redirect { + type boolean; + description + "ICMP redirect flag"; + } + leaf is-dhcp-managed { + type boolean; + description + "Flag used for utilising DHCP"; + } + leaf is-route-address-managed { + type boolean; + description + "Flag used to manage routable address"; + } + leaf is-suppressed { + type boolean; + description + "Suppress flag"; + } + leaf send-unicast-ra { + type boolean; + description + "unicast RA send flag"; + } + leaf nd-retransmit-interval { + type uint32; + description + "ND retransmit interval in msec"; + } + leaf nd-min-transmit-interval { + type uint32; + description + "ND router advertisement minimum transmit + interval in sec"; + } + leaf nd-max-transmit-interval { + type uint32; + description + "ND router advertisement maximum transmit + interval in sec"; + } + leaf nd-advertisement-lifetime { + type uint32; + description + "ND router advertisement life time in sec"; + } + leaf nd-reachable-time { + type uint32; + description + "Time to reach ND in msec"; + } + leaf nd-cache-limit { + type uint32; + description + "Completed adjacency limit per interface"; + } + leaf complete-protocol-count { + type uint32; + description + "Completed PROTO entry Count"; + } + leaf complete-glean-count { + type uint32; + description + "Completed GLEAN entry count"; + } + leaf incomplete-protocol-count { + type uint32; + description + "Incomplete PROTO entry count"; + } + leaf incomplete-glean-count { + type uint32; + description + "Incomplete GLEAN entry count"; + } + leaf dropped-protocol-req-count { + type uint32; + description + "Dropped PROTO entry request count"; + } + leaf dropped-glean-req-count { + type uint32; + description + "Dropped GLEAN entry lequest count"; + } + } + + grouping IPV6-ND-IF-ENTRY { + description + "Detailed Info of ND IPv6 Interface entry"; + container nd-parameters { + description + "ND interface parameters"; + uses IPV6-ND-IF-PARAMS; + } + container local-address { + description + "Link local address"; + uses IPV6-ND-ADDR; + } + leaf parent-interface-name { + type xr:Interface-name; + description + "Parent interface name"; + } + leaf iftype { + type uint32; + description + "Interface type"; + } + leaf mtu { + type uint32; + description + "MTU"; + } + leaf etype { + type uint32; + description + "etype"; + } + leaf vlan-tag { + type uint16; + description + "vlan tag/id/ucv"; + } + leaf mac-addr-size { + type uint32; + description + "mac address size"; + } + leaf mac-addr { + type yang:mac-address; + description + "mac address"; + } + leaf is-interface-enabled { + type boolean; + description + "If true, interface is enabled"; + } + leaf is-ipv6-enabled { + type boolean; + description + "If true, IPv6 is enabled"; + } + leaf is-mpls-enabled { + type boolean; + description + "If true, MPLS is enabled"; + } + leaf-list member-link { + type uint32; + description + "List of member links"; + } + list global-address { + description + "List of ND global addresses"; + uses IPV6-ND-ADDR; + } + list member-node { + description + "List of member nodes"; + uses IPV6-ND-GSPNODE; + } + } + + grouping IPV6-ND-BL-NODE-ENTRY { + description + "IPv6 node discovery bundle node information"; + container age { + description + "Uptime of node (secs)"; + uses BAG-TIMESPEC; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf process-name { + type string; + description + "Process Name"; + } + leaf sent-sequence-number { + type uint32; + description + "Sent sequence num"; + } + leaf received-sequence-number { + type uint32; + description + "Received sequence num"; + } + leaf state { + type Ipv6-nd-bndl-state; + description + "State"; + } + leaf state-changes { + type uint32; + description + "State changes"; + } + leaf sent-packets { + type uint32; + description + "Total packet sends"; + } + leaf received-packets { + type uint32; + description + "Total packet receives"; + } + } + + grouping BAG-NBR-ENTRY-SUM { + description + "IPv6 ND summary information"; + leaf incomplete-entries { + type uint32; + description + "Total incomplete entries"; + } + leaf reachable-entries { + type uint32; + description + "Total reachable entries"; + } + leaf stale-entries { + type uint32; + description + "Total stale entries"; + } + leaf delayed-entries { + type uint32; + description + "Total delayed entries"; + } + leaf probe-entries { + type uint32; + description + "Total probe entries"; + } + leaf deleted-entries { + type uint32; + description + "Total deleted entries"; + } + leaf subtotal-neighbor-entries { + type uint32; + description + "Total number of entries"; + } + } + + grouping IPV6-ND-NEIGHBOR-ENTRY-SUMMARY { + description + "IPv6 ND neighbor entry summary"; + container multicast { + description + "Multicast neighbor summary"; + uses BAG-NBR-ENTRY-SUM; + } + container static { + description + "Static neighbor summary"; + uses BAG-NBR-ENTRY-SUM; + } + container dynamic { + description + "Dynamic neighbor summary"; + uses BAG-NBR-ENTRY-SUM; + } + leaf total-neighbor-entries { + type uint32; + description + "Total number of entries"; + } + } + + grouping BAG-TIMESPEC { + description + "Timespec specifying the number of seconds since + the base time of 00:00:00 GMT, 1 January 1970."; + leaf seconds { + type uint32; + units "second"; + description + "Number of seconds"; + } + } + + grouping IPV6-ND-NEIGHBOR-ENTRY { + description + "IPv6 ND neighbor entry"; + container last-reached-time { + description + "Last time of reachability"; + uses BAG-TIMESPEC; + } + leaf reachability-state { + type Ipv6-nd-sh-state; + description + "Current state"; + } + leaf link-layer-address { + type yang:mac-address; + description + "Link-Layer Address"; + } + leaf encapsulation { + type Ipv6-nd-media-encap; + description + "Preferred media encap type"; + } + leaf selected-encapsulation { + type Ipv6-nd-media-encap; + description + "Selected media encap"; + } + leaf origin-encapsulation { + type Ipv6-nd-neighbor-origin; + description + "Neighbor origin"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf location { + type xr:Node-id; + description + "Location where the neighbor entry exists"; + } + leaf is-router { + type boolean; + description + "IsRouter"; + } + leaf serg-flags { + type uint32; + description + "ND serg flags for this entry"; + } + leaf vrfid { + type uint32; + description + "VRF name for this entry"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper.yang new file mode 100644 index 0000000..0cfc813 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-oper.yang @@ -0,0 +1,189 @@ +module Cisco-IOS-XR-ipv6-nd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-oper"; + prefix ipv6-nd-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv6-nd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-nd package operational data. + + This module contains definitions + for the following management objects: + ipv6-node-discovery: IPv6 node discovery operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv6-node-discovery { + config false; + description + "IPv6 node discovery operational data"; + container nodes { + description + "IPv6 node discovery list of nodes"; + list node { + key "node-name"; + description + "IPv6 node discovery operational data for a + particular node"; + container neighbor-interfaces { + description + "IPv6 node discovery list of neighbor + interfaces"; + list neighbor-interface { + key "interface-name"; + description + "IPv6 node discovery neighbor interface"; + container host-addresses { + description + "IPv6 node discovery list of neighbor host + addresses"; + list host-address { + key "host-address"; + description + "IPv6 Neighbor detailed information"; + leaf host-address { + type inet:ipv6-address-no-zone; + description + "Host Address"; + } + uses IPV6-ND-NEIGHBOR-ENTRY; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container neighbor-summary { + description + "IPv6 Neighbor summary"; + uses IPV6-ND-NEIGHBOR-ENTRY-SUMMARY; + } + container bundle-nodes { + description + "IPv6 ND list of bundle nodes for a specific + node"; + list bundle-node { + key "node-name"; + description + "IPv6 ND operational data for a specific + bundle node"; + leaf node-name { + type xr:Node-id; + description + "The bundle node name"; + } + uses IPV6-ND-BL-NODE-ENTRY; + } + } + container bundle-interfaces { + description + "IPv6 ND list of bundle interfaces for a + specific node"; + list bundle-interface { + key "interface-name"; + description + "IPv6 ND operational data for a specific + bundler interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IPV6-ND-IF-ENTRY; + } + } + container interfaces { + description + "IPv6 node discovery list of interfaces for a + specific node"; + list interface { + key "interface-name"; + description + "IPv6 node discovery operational data for a + specific node and interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IPV6-ND-IF-PARAMS; + } + } + container nd-virtual-routers { + description + "IPv6 ND virtual router information for a + specific interface"; + list nd-virtual-router { + key "interface-name"; + description + "IPv6 ND virtual router operational data for + a specific interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IPV6-ND-VR-ENTRY; + } + } + container slaac-interfaces { + description + "IPv6 ND list of SLAAC MGMT interfaces for a + specific node"; + list slaac-interface { + key "interface-name"; + description + "IPv6 ND operational data for a specific slaac + interface"; + container router-advert-detail { + description + "IPv6 ND operational data for a specific + slaac interface"; + uses IPV6-ND-SLAAC-INTFS-INFO; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang new file mode 100644 index 0000000..475ffbc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-nd-subscriber-cfg.yang @@ -0,0 +1,255 @@ +module Cisco-IOS-XR-ipv6-nd-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-subscriber-cfg"; + prefix ipv6-nd-subscriber-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-nd-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-12-19 { + description + "IOS XR 6.2.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipv6-nd-router-pref-template { + type enumeration { + enum "high" { + value 1; + description + "High preference"; + } + enum "medium" { + value 2; + description + "Medium preference"; + } + enum "low" { + value 3; + description + "Low preference"; + } + } + description + "Ipv6 nd router pref template"; + } + + grouping IPV6-NEIGHBOR { + description + "Common node of ip-subscriber, ppp, + subscriber-service"; + container ipv6-neighbor { + description + "Interface IPv6 Network configuration data"; + container ra-interval { + presence "Indicates a ra-interval node is configured."; + description + "Set IPv6 Router Advertisement (RA) interval in + seconds"; + leaf maximum { + type uint32 { + range "4..1800"; + } + units "second"; + mandatory true; + description + "Maximum RA interval in seconds"; + } + leaf minimum { + type uint32 { + range "3..1800"; + } + units "second"; + description + "Minimum RA interval in seconds. Must be less + than 0.75 * maximum interval"; + } + } + container framed-prefix { + presence "Indicates a framed-prefix node is configured."; + description + "Set the IPv6 framed ipv6 prefix for a + subscriber interface "; + leaf prefix-length { + type xr:Ipv6-prefix-length; + mandatory true; + description + "IPv6 framed prefix length"; + } + leaf prefix { + type string; + mandatory true; + description + "IPV6 framed prefix address"; + } + } + container duplicate-address-detection { + description + "Duplicate Address Detection (DAD)"; + leaf attempts { + type uint32 { + range "0..600"; + } + description + "Set IPv6 duplicate address detection transmits"; + } + } + container ra-initial { + presence "Indicates a ra-initial node is configured."; + description + "IPv6 ND RA Initial"; + leaf count { + type uint32 { + range "0..32"; + } + mandatory true; + description + "Initial RA count"; + } + leaf interval { + type uint32 { + range "4..1800"; + } + units "second"; + mandatory true; + description + "Initial RA interval in seconds"; + } + } + leaf framed-prefix-pool { + type string; + description + "Set the IPv6 framed ipv6 prefix pool for a + subscriber interface "; + } + leaf managed-config { + type empty; + description + "Host to use stateful protocol for address + configuration"; + } + leaf other-config { + type empty; + description + "Host to use stateful protocol for non-address + configuration"; + } + leaf start-ra-on-ipv6-enable { + type empty; + description + "Start RA on ipv6-enable config"; + } + leaf nud-enable { + type empty; + description + "NUD enable"; + } + leaf ra-lifetime { + type uint32 { + range "0..9000"; + } + units "second"; + description + "Set IPv6 Router Advertisement (RA) lifetime in + seconds"; + } + leaf router-preference { + type Ipv6-nd-router-pref-template; + description + "RA Router Preference"; + } + leaf ra-suppress { + type empty; + description + "Enable suppress IPv6 router advertisement"; + } + leaf ra-unicast { + type empty; + description + "Enable RA unicast Flag"; + } + leaf ra-unspecify-hoplimit { + type empty; + description + "Unspecify IPv6 Router Advertisement (RA) + hop-limit"; + } + leaf ra-suppress-mtu { + type empty; + description + "RA suppress MTU flag"; + } + leaf suppress-cache-learning { + type empty; + description + "Suppress cache learning flag"; + } + leaf reachable-time { + type uint32 { + range "0..3600000"; + } + units "millisecond"; + description + "Set advertised reachability time in + milliseconds"; + } + leaf ns-interval { + type uint32 { + range "1000..4294967295"; + } + units "millisecond"; + description + "Set advertised NS retransmission interval in + milliseconds"; + } + } + } + + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NEIGHBOR; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NEIGHBOR; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses IPV6-NEIGHBOR; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang new file mode 100644 index 0000000..eb94d16 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang @@ -0,0 +1,766 @@ +module Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg"; + prefix ipv6-new-dhcpv6d-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-new-dhcpv6d package configuration. + + This module contains definitions + for the following management objects: + dhcpv6: None + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-10-10 { + description + "Moved augment statement to a separate file"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Insert { + type enumeration { + enum "local" { + value 0; + description + "Insert locally generated/configured Interface + ID value"; + } + enum "received" { + value 1; + description + "Insert received Interface ID value"; + } + enum "pppoe" { + value 2; + description + "Insert received Interface ID value from SADB"; + } + } + description + "Insert"; + } + + typedef Subscriber-id { + type enumeration { + enum "pppoe" { + value 3; + description + "Insert Received Subscriber-ID Value from SADB"; + } + } + description + "Subscriber id"; + } + + typedef Link-layer-addr { + type enumeration { + enum "set" { + value 4; + description + "Insert Received LinkLayerAddr Value from SADB"; + } + } + description + "Link layer addr"; + } + + grouping PROFILE { + description + "Common node of mode-class, default"; + list profile { + key "profile-name"; + description + "Enter proxy or server profile"; + leaf server-mode { + type empty; + description + "Specify mode-class based Server option"; + } + leaf proxy-mode { + type empty; + description + "Specify mode-class based Proxy Option"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Profile name"; + } + } + } + + container dhcpv6 { + presence "Indicates a dhcpv6 node is configured."; + description + "None"; + container database { + description + "Enable DHCP binding database storage to file + system"; + leaf proxy { + type empty; + description + "Enable DHCP proxy binding database storage to + file system"; + } + leaf server { + type empty; + description + "Enable DHCP server binding database storage to + file system"; + } + leaf relay { + type empty; + description + "Enable DHCP relay binding database storage to + file system"; + } + leaf full-write-interval { + type uint32 { + range "1..1440"; + } + default "10"; + description + "Full file write interval (default 10 minutes)"; + } + leaf incremental-write-interval { + type uint32 { + range "1..1440"; + } + default "1"; + description + "Incremental file write interval (default 1 + minutes)"; + } + } + container profiles { + description + "Table of Profile"; + list profile { + key "profile-name"; + description + "None"; + container relay { + presence "Indicates a relay node is configured."; + description + "None"; + container helper-addresses { + description + "Table of HelperAddress"; + list helper-address { + key "vrf-name helper-address"; + description + "Specify the server helper address"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + leaf helper-address { + type inet:ipv6-address-no-zone; + description + "Server Global unicast address"; + } + } + } + leaf enable { + type empty; + mandatory true; + description + "Enable None. Deletion of this object also + causes deletion of all associated objects + under Relay."; + } + leaf iana-route-add { + type empty; + description + "Enable route addition for IANA"; + } + } + container base { + presence "Indicates a base node is configured."; + description + "None"; + container default { + description + "Default match option"; + uses PROFILE; + } + container match { + description + "Enter match option"; + container mode-classes { + description + "Table of ModeClass"; + list mode-class { + key "class-name"; + description + "Specify PPP/IPoE class option"; + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Class name"; + } + uses PROFILE; + } + } + } + leaf enable { + type empty; + mandatory true; + description + "Enable None. Deletion of this object also + causes deletion of all associated objects + under Base."; + } + } + container proxy { + presence "Indicates a proxy node is configured."; + description + "None"; + container interfaces { + description + "Table of Interface"; + list interface { + key "interface-name"; + description + "None"; + leaf interface-id { + type string; + description + "Physical interface ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface to configure"; + } + } + } + container relay { + description + "Specify relay configuration"; + container option { + description + "Specify relay option configuration"; + container interface-id { + description + "Interface Id option"; + leaf insert { + type Insert; + description + "Configure InterfaceID insert type"; + } + } + leaf subscriber-id { + type Subscriber-id; + description + "Configure Received SubscriberID"; + } + leaf link-layer-addr { + type Link-layer-addr; + description + "Configure Received link-layer-Addr"; + } + leaf remote-i-dreceived { + type int32; + description + "Set remote-id value from SADB"; + } + leaf remote-id { + type string { + length "1..256"; + } + description + "Enter remote-id value"; + } + } + } + container vrfs { + description + "VRF related configuration"; + list vrf { + key "vrf-name"; + description + "IPv6 DHCP proxy VRF name"; + container helper-addresses { + description + "Table of HelperAddress"; + list helper-address { + key "helper-address"; + description + "DHCPv6 Helper Address"; + leaf out-interface { + type xr:Interface-name; + description + "DHCPv6 HelperAddress Specific Output + Interface"; + } + leaf any-out-interface { + type empty; + description + "DHCPv6 HelperAddress Output Interface"; + } + leaf helper-address { + type inet:ipv6-address-no-zone; + description + "DHCPv6 Helper Address"; + } + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container authentication { + description + "Authentication username format"; + leaf username { + type empty; + description + "Set username as DUID"; + } + } + container classes { + description + "Table of Class"; + list class { + key "class-name"; + description + "None"; + container helper-addresses { + description + "Table of HelperAddress"; + list helper-address { + key "vrf-name helper-address"; + description + "Specify the server helper address"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + leaf helper-address { + type inet:ipv6-address-no-zone; + description + "Server address"; + } + } + } + leaf link-address { + type inet:ip-address-no-zone; + description + "IPv6 address to be filled in link-address"; + } + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Class name"; + } + } + } + container sessions { + description + "Change sessions configuration"; + container mac { + description + "Throttle DHCP sessions based on MAC address"; + container throttle { + description + "Throttle DHCP sessions from any one MAC + address"; + leaf limit { + type uint32 { + range "1..65535"; + } + description + "Number of solicits at which to throttle"; + } + leaf request { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle request period (in secs)"; + } + leaf block { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle blocking period (in secs)"; + } + } + } + } + leaf linkaddress-from-ra-enable { + type empty; + description + "Fill linkaddress in Relay fwd msg with Prefix + from Router Advertisement for PPPoE sessions"; + } + leaf route-add-disable { + type empty; + description + "RouteDisable"; + } + leaf link-address { + type inet:ip-address-no-zone; + description + "IPv6 address to be filled in link-address"; + } + leaf src-intf-name { + type xr:Interface-name; + description + "Create or enter proxy profile Source + Interface Name"; + } + leaf enable { + type empty; + mandatory true; + description + "Enable None. Deletion of this object also + causes deletion of all associated objects + under Proxy."; + } + } + container server { + presence "Indicates a server node is configured."; + description + "None"; + container sessions { + description + "Change sessions configuration"; + container mac { + description + "Throttle DHCP sessions based on MAC address"; + container throttle { + description + "Throttle DHCP sessions from any one MAC + address"; + leaf limit { + type uint32 { + range "1..65535"; + } + description + "Number of solicits at which to throttle"; + } + leaf request { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle request period (in secs)"; + } + leaf block { + type uint32 { + range "1..100"; + } + units "second"; + description + "Throttle blocking period (in secs)"; + } + } + } + } + container dns-servers { + description + "DNS servers"; + leaf-list dns-server { + type inet:ip-address-no-zone; + max-elements "8"; + description + "Server's IPv6 address"; + } + } + container classes { + description + "Table of Class"; + list class { + key "class-name"; + description + "None"; + container dns-servers { + description + "DNS servers"; + leaf-list dns-server { + type inet:ip-address-no-zone; + max-elements "8"; + description + "Server's IPv6 address"; + } + } + leaf address-pool { + type string { + length "1..64"; + } + description + "Address pool name"; + } + leaf domain-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Domain name"; + } + leaf preference { + type uint32 { + range "1..255"; + } + description + "DHCP Server Preference"; + } + leaf prefix-pool { + type string { + length "1..64"; + } + description + "Prefix pool name"; + } + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "class name"; + } + } + } + container lease { + description + "lease"; + leaf days { + type uint32 { + range "0..365"; + } + units "day"; + description + "Days"; + } + leaf hours { + type uint32 { + range "0..23"; + } + units "hour"; + description + "Hours"; + } + leaf minutes { + type uint32 { + range "1..59"; + } + units "minute"; + description + "Minutes"; + } + leaf infinite { + type string; + description + "Set string"; + } + } + container dhcpv6-options { + description + "DHCPv6 options"; + container vendor-options { + description + "Vendor options"; + leaf type { + type string; + description + "Set string"; + } + leaf vendor-options { + type string { + length "1..512"; + } + description + "Vendor options"; + } + } + } + leaf address-pool { + type string { + length "1..64"; + } + description + "Address pool name"; + } + leaf aftr-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "AFTR name"; + } + leaf domain-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Domain name"; + } + leaf preference { + type uint32 { + range "0..255"; + } + description + "DHCP Server Preference"; + } + leaf rapid-commit { + type empty; + description + "Allow RAPID Commit"; + } + leaf enable { + type empty; + mandatory true; + description + "Enable None. Deletion of this object also + causes deletion of all associated objects + under Server."; + } + leaf prefix-pool { + type string { + length "1..64"; + } + description + "Prefix pool name"; + } + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + } + } + container interfaces { + description + "Table of Interface"; + list interface { + key "interface-name"; + description + "None"; + container pppoe { + description + "PPPoE subscriber interface"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter profile name"; + } + } + container proxy { + description + "Assign a proxy profile to interface"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter profile name"; + } + } + container base { + description + "Assign a base profile to interface"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter profile name"; + } + } + container server { + description + "Assign a server profile to interface"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter profile name"; + } + } + container relay { + description + "Assign a relay profile to interface"; + leaf profile { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Enter profile name"; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface to configure"; + } + } + } + leaf enable { + type empty; + mandatory true; + description + "Enable None. Deletion of this object also causes + deletion of all associated objects under DHCPv6."; + } + leaf allow-duid-change { + type empty; + description + "For BNG session, allow duid change for a client + MAC"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang new file mode 100644 index 0000000..35fcf31 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1.yang @@ -0,0 +1,1839 @@ +submodule Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-new-dhcpv6d-oper { + prefix Cisco-IOS-XR-ipv6-new-dhcpv6d-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-new-dhcpv6d package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Bag-dhcpv6d-fsm-state { + type enumeration { + enum "server-initializing" { + value 0; + description + "Server initializing state for client binding"; + } + enum "server-waiting-dpm" { + value 1; + description + "Server waiting on DPM to validate subscriber"; + } + enum "server-waiting-daps" { + value 2; + description + "Server waiting on DAPS to assign/free + addr/prefix"; + } + enum "server-waiting-client" { + value 3; + description + "Server waiting for a request from the client"; + } + enum "server-waiting-subscriber" { + value 4; + description + "Server waiting for iedge response for the + session"; + } + enum "server-waiting-rib" { + value 5; + description + "Server waiting for RIB response for route add"; + } + enum "server-bound-client" { + value 6; + description + "Server bound state to the client"; + } + enum "proxy-initializing" { + value 10; + description + "Proxy initializing state for client binding"; + } + enum "proxy-waiting-dpm" { + value 11; + description + "Proxy waiting on DPM to validate subscriber"; + } + enum "proxy-waiting-daps" { + value 12; + description + "Proxy waiting on DAPS to assign/free prefix(ND)"; + } + enum "proxy-waiting-client-server" { + value 13; + description + "Proxy waiting for a msg from the client/srv"; + } + enum "proxy-waiting-subscriber" { + value 14; + description + "Proxy waiting on iedge to sub session resp"; + } + enum "proxy-waiting-rib" { + value 15; + description + "Proxy waiting on RIB response"; + } + enum "proxy-bound-client" { + value 16; + description + "Proxy bound state to the client"; + } + } + description + "Bag dhcpv6d fsm state"; + } + + typedef Bag-dhcpv6d-ia-id { + type enumeration { + enum "iana" { + value 0; + description + "Non-temporary Addresses assigned "; + } + enum "iapd" { + value 1; + description + "Prefix delegeated to client "; + } + enum "iata" { + value 2; + description + "Temporary Addresses - not supported "; + } + } + description + "Bag dhcpv6d ia id"; + } + + typedef Bag-dhcpv6d-intf-serg-role { + type enumeration { + enum "none" { + value 0; + description + "DHCPv6 Interface SERG role NONE"; + } + enum "master" { + value 1; + description + "DHCPv6 Interface SERG role Master"; + } + enum "slave" { + value 2; + description + "DHCPv6 Interface SERG role Slave"; + } + } + description + "Bag dhcpv6d intf serg role"; + } + + typedef Bag-dhcpv6d-intf-srg-role { + type enumeration { + enum "none" { + value 0; + description + "DHCPv6 Interface SRG role NONE"; + } + enum "master" { + value 1; + description + "DHCPv6 Interface SRG role Master"; + } + enum "slave" { + value 2; + description + "DHCPv6 Interface SRG role Slave"; + } + } + description + "Bag dhcpv6d intf srg role"; + } + + typedef Lease-limit { + type enumeration { + enum "none" { + description + "Lease limit type none"; + } + enum "interface" { + description + "Lease limit type interface"; + } + enum "circuit-id" { + description + "Lease limit type circuit ID"; + } + enum "remote-id" { + description + "Lease limit type remote ID"; + } + } + description + "Profile lease limit type"; + } + + typedef Bag-dhcpv6d-sub-mode { + type enumeration { + enum "base" { + value 0; + description + "DHCPv6 Base mode"; + } + enum "server" { + value 1; + description + "DHCPv6 Server mode"; + } + enum "proxy" { + value 2; + description + "DHCPv6 Proxy mode"; + } + } + description + "Bag dhcpv6d sub mode"; + } + + typedef String-ifname { + type string { + length "0..65"; + } + description + "String ifname"; + } + + typedef String-vrf { + type string { + length "0..33"; + } + description + "String vrf"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "IPV6 Address type"; + } + + typedef Dhcpv6-issu-version { + type enumeration { + enum "version1" { + value 0; + description + "Version 1"; + } + enum "version2" { + value 1; + description + "Version 2"; + } + } + description + "Dhcpv6 issu version"; + } + + typedef Dhcp-issu-phase { + type enumeration { + enum "phase-not-started" { + value 0; + description + "An ISSU event has not started"; + } + enum "phase-load" { + value 1; + description + "ISSU Load Phase"; + } + enum "phase-run" { + value 2; + description + "ISSU Run Phase"; + } + enum "phase-completed" { + value 3; + description + "An ISSU event has completed successfully"; + } + enum "phase-aborted" { + value 4; + description + "An ISSU event has aborted"; + } + } + description + "Dhcp issu phase"; + } + + typedef Dhcpv6-issu-role { + type enumeration { + enum "role-primary" { + value 0; + description + "Primary role"; + } + enum "role-secondary" { + value 1; + description + "Secondary role"; + } + } + description + "Dhcpv6 issu role"; + } + + grouping IPV6-DHCPV6D-RELAY-ROUTE-BINDING { + description + "DHCPv6 relay route entry"; + leaf duid { + type string; + description + "Client DUID"; + } + leaf client-id-xr { + type uint32; + description + "Client unique identifier"; + } + leaf prefix-length { + type uint8; + description + "length of prefix"; + } + leaf prefix { + type Ipv6-address; + description + "DHCPV6 IPv6 Prefix allotted to client"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPv6 client/subscriber Vrf name"; + } + leaf lifetime { + type uint32; + description + "Client route lifetime"; + } + leaf rem-life-time { + type uint32; + description + "Client route remaining lifetime"; + } + leaf interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + leaf next-hop-addr { + type Ipv6-address; + description + "Next hop is our address"; + } + leaf ia-id { + type uint32; + description + "IA_ID of this IA"; + } + leaf relay-profile-name { + type string { + length "0..65"; + } + description + "Relay Profile name"; + } + } + + grouping IPV6-DHCPV6D-RELAY-BINDINGS-SUMMARY { + description + "DHCPv6 relay binding summary"; + leaf clients { + type uint32; + description + "Total number of clients"; + } + } + + grouping IPV6-DHCPV6D-RELAY-STATS { + description + "DHCPv6 relay statistics"; + list ipv6-dhcpv6d-relay-stat { + description + "ipv6 dhcpv6d relay stat"; + container statistics { + description + "Relay statistics"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPv6 L3 VRF name"; + } + } + } + + grouping IPV6-DHCPV6D-SERVER-BINDING-OPTIONS { + description + "DHCPv6 server binding inserted option values"; + leaf mac-address-xr { + type string; + description + "Client MAC address"; + } + leaf duid-xr { + type string; + description + "Client DUID"; + } + leaf dns-count { + type uint8; + description + "DNS address count"; + } + leaf opt17 { + type string; + description + "Client Option 17 value"; + } + leaf-list dns-address { + type Ipv6-address; + max-elements "8"; + description + "DNS addresses"; + } + } + + grouping IPV6-DHCPV6D-SERVER-STATS { + description + "DHCPv6 server statistics"; + list ipv6-dhcpv6d-server-stat { + description + "ipv6 dhcpv6d server stat"; + container statistics { + description + "Server statistics"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPv6 L3 VRF name"; + } + } + } + + grouping IPV6-DHCPV6D-SERVER-INTERFACE { + description + "DHCPv6 server interface"; + leaf server-vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + leaf server-interface-mode { + type Bag-dhcpv6d-sub-mode; + description + "Mode of interface"; + } + leaf is-server-interface-ambiguous { + type uint32; + description + "Is interface ambiguous"; + } + leaf server-interface-profile-name { + type string { + length "0..65"; + } + description + "Name of profile attached to the interface"; + } + leaf server-interface-lease-limit-type { + type Lease-limit; + description + "Lease limit type on interface"; + } + leaf server-interface-lease-limits { + type uint32; + description + "Lease limit count on interface"; + } + leaf srg-role { + type Bag-dhcpv6d-intf-srg-role; + description + "DHCPv6 Interface SRG role"; + } + leaf serg-role { + type Bag-dhcpv6d-intf-serg-role; + description + "DHCPv6 Interface SERG role"; + } + leaf mac-throttle { + type boolean; + description + "Mac Throttle Status"; + } + leaf srg-vrf-name { + type string { + length "0..33"; + } + description + "SRG VRF name"; + } + leaf srgp2p { + type boolean; + description + "SRG P2P Status"; + } + } + + grouping IPV6-DHCPV6D-SERVER-INTERFACE-REFERENCE { + description + "DHCPv6 server profile reference"; + list ipv6-dhcpv6d-server-interface-reference { + description + "ipv6 dhcpv6d server interface reference"; + leaf server-reference-interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + } + } + + grouping TIME-BAG { + description + "Time in diffrent formats"; + leaf seconds { + type uint32; + units "second"; + description + "DHCPV6 client lease in seconds"; + } + leaf time { + type string { + length "0..10"; + } + description + "Time in format HH:MM:SS"; + } + } + + grouping IPV6-DHCPV6D-SERVER-PROFILE { + description + "DHCPv6 server profile parameters"; + container lease { + description + "Server lease time"; + uses TIME-BAG; + } + container interface-references { + description + "Interface references"; + uses IPV6-DHCPV6D-SERVER-INTERFACE-REFERENCE; + } + leaf profile-name { + type string { + length "0..65"; + } + description + "Server profile name"; + } + leaf domain-name { + type string { + length "0..65"; + } + description + "Server domain name"; + } + leaf profile-dns { + type uint8; + description + "DNS address count"; + } + leaf aftr-name { + type string { + length "0..65"; + } + description + "Server aftr name"; + } + leaf framed-addr-pool-name { + type string { + length "0..65"; + } + description + "Server framed address pool name"; + } + leaf delegated-prefix-pool-name { + type string { + length "0..65"; + } + description + "Server delegated prefix pool name"; + } + leaf rapid-commit { + type boolean; + description + "Rapid Commit"; + } + leaf-list profile-dns-address { + type Ipv6-address; + max-elements "8"; + description + "DNS addresses"; + } + } + + grouping IPV6-DHCPV6D-SERVER-BINDING { + description + "DHCPv6 server binding entry"; + container ia-id-pd { + description + "List of DHCPv6 IA_ID/PDs"; + uses BAG-DHCPV6D-IA-ID-PD-INFO; + } + leaf duid { + type string; + description + "Client DUID"; + } + leaf client-id-xr { + type uint32; + description + "Client unique identifier"; + } + leaf client-flag { + type uint32; + description + "DHCPV6 client flag"; + } + leaf subscriber-label { + type uint32; + description + "DHCPV6 subscriber label"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPVV6 client/subscriber VRF name"; + } + leaf mac-address { + type string; + description + "Client MAC address"; + } + leaf ia-id-p-ds { + type uint32; + description + "Number of ia_id/pd"; + } + leaf link-local-address { + type Ipv6-address; + description + "DHCPV6 IPv6 client link local address"; + } + leaf interface-name { + type xr:Interface-name; + description + "DHCPV6 access interface to client"; + } + leaf access-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 access VRF name to client"; + } + leaf server-binding-tags { + type uint8; + description + "DHCPV6 VLAN tag count"; + } + leaf server-binding-outer-tag { + type uint32; + description + "DHCPV6 VLAN Outer VLAN"; + } + leaf server-binding-inner-tag { + type uint32; + description + "DHCPV6 VLAN Inner VLAN"; + } + leaf pool-name { + type string { + length "0..64"; + } + description + "DHCPV6 pool name"; + } + leaf profile-name { + type string { + length "0..64"; + } + description + "DHCPV6 profile name"; + } + leaf framed-ipv6-prefix { + type Ipv6-address; + description + "DHCPV6 framed ipv6 addess used by ND"; + } + leaf framed-prefix-length { + type uint8; + description + "DHCPV6 framed ipv6 prefix length used by ND"; + } + leaf class-name { + type string { + length "0..64"; + } + description + "DHCPV6 class name"; + } + leaf rx-remote-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Remote ID"; + } + leaf rx-interface-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Interface ID"; + } + leaf prefix-pool-name { + type string { + length "0..64"; + } + description + "DHCPV6 server prefix pool name"; + } + leaf address-pool-name { + type string { + length "0..64"; + } + description + "DHCPV6 server address pool name"; + } + leaf dns-server-count { + type uint32; + description + "DNS server count"; + } + leaf is-nak-next-renew { + type boolean; + description + "Is true if DHCPv6 next renew from client will be + NAK'd"; + } + leaf srg-state { + type uint32; + description + "DHCPV6 SRG state"; + } + leaf srg-intf-role { + type uint32; + description + "DHCPV6 SRG Intf Role"; + } + leaf srgp2p { + type boolean; + description + "SRG P2P Status"; + } + leaf srg-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 SRG VRF NAME"; + } + leaf sesrg-state { + type uint32; + description + "DHCPV6 SERG state"; + } + leaf serg-intf-role { + type uint32; + description + "DHCPV6 SERG Intf Role"; + } + } + + grouping BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY { + description + "DHCPv6 server bindings summary for IANA/IAPD"; + leaf initializing-clients { + type uint32; + description + "Number of clients in init state"; + } + leaf dpm-waiting-clients { + type uint32; + description + "Number of clients waiting on DPM to validate + subscriber"; + } + leaf daps-waiting-clients { + type uint32; + description + "Number of clients waiting on DAPS to assign/free + addr/prefix"; + } + leaf request-waiting-clients { + type uint32; + description + "Number of clients waiting for a request from the + client"; + } + leaf iedge-waiting-clients { + type uint32; + description + "Number of clients waiting for iedge for the + session"; + } + leaf rib-waiting-clients { + type uint32; + description + "Number of clients in waiting for RIB response"; + } + leaf bound-clients { + type uint32; + description + "Number of clients in bound state"; + } + } + + grouping IPV6-DHCPV6D-SERVER-BINDINGS-SUMMARY { + description + "DHCPv6 server bindings summary"; + container iana { + description + "IANA server binding summary"; + uses BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY; + } + container iapd { + description + "IAPD server binding summary"; + uses BAG-DHCPV6D-SERVER-BINDINGS-SUMMARY; + } + leaf clients { + type uint32; + description + "Total number of clients"; + } + } + + grouping IPV6-DHCPV6D-BASE-BINDING { + description + "DHCPV6 base binding entry"; + leaf mac-address { + type string; + description + "DHCPV6 client MAC address"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 client/subscriber VRF name"; + } + leaf server-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 server VRF name"; + } + leaf ipv6-address { + type Ipv6-address; + description + "DHCPV6 IPv6 address"; + } + leaf server-ipv6-address { + type Ipv6-address; + description + "DHCPV6 server IPv6 address"; + } + leaf reply-server-ipv6-address { + type Ipv6-address; + description + "DHCPV6 reply server IPv6 address"; + } + leaf lease-time { + type uint32; + units "second"; + description + "Lease time in seconds"; + } + leaf remaining-lease-time { + type uint32; + units "second"; + description + "Remaining lease time in seconds"; + } + leaf state { + type Bag-dhcpv6d-fsm-state; + description + "DHCPV6 client state"; + } + leaf interface-name { + type xr:Interface-name; + description + "DHCPV6 access interface to client"; + } + leaf access-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 access interface VRF name"; + } + leaf base-binding-tags { + type uint8; + description + "DHCPV6 VLAN tag count"; + } + leaf base-binding-outer-tag { + type uint32; + description + "DHCPV6 VLAN Outer VLAN"; + } + leaf base-binding-inner-tag { + type uint32; + description + "DHCPV6 VLAN Inner VLAN"; + } + leaf profile-name { + type string { + length "0..64"; + } + description + "DHCPV6 profile name"; + } + leaf is-nak-next-renew { + type boolean; + description + "Is true if DHCPV6 next renew from client will be + NAK'd"; + } + leaf subscriber-label { + type uint32; + description + "DHCPV6 subscriber label"; + } + leaf old-subscriber-label { + type uint32; + description + "DHCPV6 old subscriber label"; + } + leaf rx-client-duid { + type string { + length "0..771"; + } + description + "DHCPV6 received client DUID"; + } + leaf tx-client-uid { + type string { + length "0..771"; + } + description + "DHCPV6 transmitted client DUID"; + } + leaf rx-remote-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Remote ID"; + } + leaf tx-remote-id { + type string { + length "0..771"; + } + description + "DHCPV6 transmitted Remote ID"; + } + leaf rx-interface-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Interface ID"; + } + leaf tx-interface-id { + type string { + length "0..771"; + } + description + "DHCPV6 transmitted Interface ID"; + } + } + + grouping IPV6-DHCPD-DATABASE { + description + "IPv6 DHCP database"; + leaf configured { + type boolean; + description + "Database feature configured"; + } + leaf version { + type uint32; + description + "Current file version"; + } + leaf full-file-write-interval { + type uint32; + units "minute"; + description + "Full file write interval in minutes"; + } + leaf last-full-write-file-name { + type string { + length "0..64"; + } + description + "Last full write file name"; + } + leaf last-full-write-time { + type uint32; + description + "Last full write time since epoch"; + } + leaf full-file-write-count { + type uint32; + description + "Full file write count"; + } + leaf failed-full-file-write-count { + type uint32; + description + "Failed full file write count"; + } + leaf full-file-record-count { + type uint32; + description + "Full file record count"; + } + leaf last-full-file-write-error-timestamp { + type uint32; + description + "Last full file write error timestamp since epoch"; + } + leaf incremental-file-write-interval { + type uint32; + units "minute"; + description + "Incremental file write interval in minutes"; + } + leaf last-incremental-write-file-name { + type string { + length "0..64"; + } + description + "Last incremental write file name"; + } + leaf last-incremental-write-time { + type uint32; + description + "Last incremental write time since epoch"; + } + leaf incremental-file-write-count { + type uint32; + description + "Incremental file write count"; + } + leaf failed-incremental-file-write-count { + type uint32; + description + "Failed incremental file write count"; + } + leaf incremental-file-record-count { + type uint32; + description + "Incremental file record count"; + } + leaf last-incremental-file-write-error-timestamp { + type uint32; + description + "Last incremental file write error timestamp + since epoch"; + } + } + + grouping BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY { + description + "DHCPv6 proxy bindings summary for IANA/IAPD"; + leaf initializing-clients { + type uint32; + description + "Number of clients in init state"; + } + leaf dpm-waiting-clients { + type uint32; + description + "Number of clients waiting on DPM to validate + subscriber"; + } + leaf daps-waiting-clients { + type uint32; + description + "Number of clients waiting on DAPS to assign/free + prefix(ND)"; + } + leaf msg-waiting-clients { + type uint32; + description + "Number of clients waiting for a message from the + client/server"; + } + leaf iedge-waiting-clients { + type uint32; + description + "Number of clients waiting on iedge to subscriber + session"; + } + leaf rib-waiting-clients { + type uint32; + description + "Number of clients in waiting on RIB response"; + } + leaf bound-clients { + type uint32; + description + "Number of clients in bound state"; + } + } + + grouping IPV6-DHCPV6D-PROXY-BINDINGS-SUMMARY { + description + "DHCPv6 proxy bindings summary"; + container iana { + description + "IANA proxy binding summary"; + uses BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY; + } + container iapd { + description + "IAPD proxy binding summary"; + uses BAG-DHCPV6D-PROXY-BINDINGS-SUMMARY; + } + leaf clients { + type uint32; + description + "Total number of clients"; + } + } + + grouping BAG-DHCPV6D-ADDR-ATTRB { + description + "BAG DHCPV6D ADDR ATTRB"; + list bag-dhcpv6d-addr-attrb { + description + "bag dhcpv6d addr attrb"; + leaf prefix { + type inet:ipv6-address; + description + "IPv6 prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + leaf lease-time { + type uint32; + units "second"; + description + "Lease time in seconds"; + } + leaf remaining-lease-time { + type uint32; + units "second"; + description + "Remaining lease time in seconds"; + } + } + } + + grouping BAG-DHCPV6D-IA-ID-PD-INFO { + description + "BAG DHCPV6D IA ID PD INFO"; + list bag-dhcpv6d-ia-id-pd-info { + description + "bag dhcpv6d ia id pd info"; + container addresses { + description + "List of addresses in this IA"; + uses BAG-DHCPV6D-ADDR-ATTRB; + } + leaf ia-type { + type Bag-dhcpv6d-ia-id; + description + "IA type"; + } + leaf ia-id { + type uint32; + description + "IA_ID of this IA"; + } + leaf flags { + type uint32; + description + "FSM Flag for this IA"; + } + leaf total-address { + type uint16; + description + "Total address in this IA"; + } + leaf state { + type Bag-dhcpv6d-fsm-state; + description + "State"; + } + } + } + + grouping IPV6-DHCPV6D-PROXY-BINDING { + description + "DHCPv6 proxy binding entry"; + container ia-id-pd { + description + "List of DHCPv6 IA_ID/PDs"; + uses BAG-DHCPV6D-IA-ID-PD-INFO; + } + leaf duid { + type string; + description + "Client DUID"; + } + leaf client-flag { + type uint32; + description + "DHCPV6 client flag"; + } + leaf subscriber-label { + type uint32; + description + "DHCPV6 subscriber label"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPVV6 client/subscriber VRF name"; + } + leaf mac-address { + type string; + description + "Client MAC address"; + } + leaf ia-id-p-ds { + type uint32; + description + "Number of ia_id/pd"; + } + leaf interface-name { + type xr:Interface-name; + description + "DHCPV6 access interface to client"; + } + leaf access-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 access VRF name to client"; + } + leaf proxy-binding-tags { + type uint8; + description + "DHCPV6 VLAN tag count"; + } + leaf proxy-binding-outer-tag { + type uint32; + description + "DHCPV6 VLAN Outer VLAN"; + } + leaf proxy-binding-inner-tag { + type uint32; + description + "DHCPV6 VLAN Inner VLAN"; + } + leaf class-name { + type string { + length "0..64"; + } + description + "DHCPV6 class name"; + } + leaf pool-name { + type string { + length "0..64"; + } + description + "DHCPV6 pool name"; + } + leaf rx-remote-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Remote ID"; + } + leaf tx-remote-id { + type string { + length "0..771"; + } + description + "DHCPV6 transmitted Remote ID"; + } + leaf rx-interface-id { + type string { + length "0..771"; + } + description + "DHCPV6 received Interface ID"; + } + leaf tx-interface-id { + type string { + length "0..771"; + } + description + "DHCPV6 transmitted Interface ID"; + } + leaf server-ipv6-address { + type Ipv6-address; + description + "DHCPV6 server IPv6 address"; + } + leaf profile-name { + type string { + length "0..65"; + } + description + "DHCPV6 profile name"; + } + leaf framed-ipv6-prefix { + type Ipv6-address; + description + "DHCPV6 framed ipv6 addess used by ND"; + } + leaf framed-prefix-length { + type uint8; + description + "DHCPV6 framed ipv6 prefix length used by ND"; + } + leaf is-nak-next-renew { + type boolean; + description + "Is true if DHCP next renew from client will be + NAK'd"; + } + leaf srg-state { + type uint32; + description + "DHCPV6 SRG state"; + } + leaf srg-intf-role { + type uint32; + description + "DHCPV6 SRG Intf Role"; + } + leaf srgp2p { + type boolean; + description + "SRG P2P Status"; + } + leaf srg-vrf-name { + type string { + length "0..33"; + } + description + "DHCPV6 SRG VRF NAME"; + } + leaf serg-state { + type uint32; + description + "DHCPV6 SERG state"; + } + leaf serg-intf-role { + type uint32; + description + "DHCPV6 SERG Intf Role"; + } + } + + grouping IPV6-DHCPV6D-PROXY-STATS { + description + "DHCPv6 proxy statistics"; + list ipv6-dhcpv6d-proxy-stat { + description + "ipv6 dhcpv6d proxy stat"; + container statistics { + description + "Proxy statistics"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "DHCPv6 L3 VRF name"; + } + } + } + + grouping IPV6-DHCPV6D-PROXY-INTERFACE { + description + "DHCPv6 proxy interface"; + leaf proxy-vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + leaf proxy-interface-mode { + type Bag-dhcpv6d-sub-mode; + description + "Mode of interface"; + } + leaf is-proxy-interface-ambiguous { + type uint32; + description + "Is interface ambiguous"; + } + leaf proxy-interface-profile-name { + type string { + length "0..65"; + } + description + "Name of profile attached to the interface"; + } + leaf proxy-interface-lease-limit-type { + type Lease-limit; + description + "Lease limit type on interface"; + } + leaf proxy-interface-lease-limits { + type uint32; + description + "Lease limit count on interface"; + } + leaf srg-role { + type Bag-dhcpv6d-intf-srg-role; + description + "DHCPv6 Interface SRG role"; + } + leaf serg-role { + type Bag-dhcpv6d-intf-serg-role; + description + "DHCPv6 Interface SERG role"; + } + leaf mac-throttle { + type boolean; + description + "Mac Throttle Status"; + } + leaf srg-vrf-name { + type string { + length "0..33"; + } + description + "SRG VRF name"; + } + leaf srgp2p { + type boolean; + description + "SRG P2P Status"; + } + } + + grouping IPV6-DHCPV6D-PROXY-INTERFACE-REFERENCE { + description + "DHCPv6 proxy profile reference"; + list ipv6-dhcpv6d-proxy-interface-reference { + description + "ipv6 dhcpv6d proxy interface reference"; + leaf proxy-reference-interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + } + } + + grouping IPV6-DHCPV6D-PROXY-VRF-REFERENCE { + description + "DHCPv6 proxy profile reference"; + list ipv6-dhcpv6d-proxy-vrf-reference { + description + "ipv6 dhcpv6d proxy vrf reference"; + leaf proxy-reference-vrf-name { + type string { + length "0..33"; + } + description + "VRF name"; + } + } + } + + grouping IPV6-DHCPV6D-PROXY-IID-REFERENCE { + description + "DHCPv6 proxy profile iid reference"; + list ipv6-dhcpv6d-proxy-iid-reference { + description + "ipv6 dhcpv6d proxy iid reference"; + leaf proxy-iid-interface-name { + type string { + length "0..65"; + } + description + "Interface name for interface id"; + } + leaf proxy-interface-id { + type string { + length "0..257"; + } + description + "Interface id"; + } + } + } + + grouping IPV6-DHCPV6D-PROXY-PROFILE { + description + "DHCPv6 proxy profile parameters"; + container interface-id-references { + description + "Interface id references"; + uses IPV6-DHCPV6D-PROXY-IID-REFERENCE; + } + container vrf-references { + description + "VRF references"; + uses IPV6-DHCPV6D-PROXY-VRF-REFERENCE; + } + container interface-references { + description + "Interface references"; + uses IPV6-DHCPV6D-PROXY-INTERFACE-REFERENCE; + } + leaf profile-name { + type string { + length "0..65"; + } + description + "Proxy profile name"; + } + leaf remote-id { + type string { + length "0..257"; + } + description + "Remote id"; + } + leaf profile-link-address { + type Ipv6-address; + description + "Link address"; + } + leaf proxy-profile-linkaddress-from-ra-enable { + type boolean; + description + "LinkAddress From RA mesage"; + } + leaf-list profile-helper-address { + type Ipv6-address; + max-elements "8"; + description + "Helper addresses"; + } + leaf-list vrf-name { + type String-vrf; + max-elements "8"; + description + "VRF names"; + } + leaf-list interface-name { + type String-ifname; + max-elements "8"; + description + "Interface names"; + } + } + + grouping IPV6-DHCPV6D-MAC-THROTTLE { + description + "IPv6 DHCP Mac Throttle"; + leaf binding-chaddr { + type yang:hex-string; + description + "Client MAC address"; + } + leaf ifname { + type string { + length "0..65"; + } + description + "DHCP access interface"; + } + leaf state { + type uint32; + description + "State of entry"; + } + leaf time-left { + type uint32; + units "second"; + description + "Time Left in secs"; + } + } + + grouping IPV6-DHCPV6D-FILTERED-STATS { + description + "DHCPv6 filtered statistics"; + leaf received-packets { + type uint64; + description + "Received packets"; + } + leaf transmitted-packets { + type uint64; + description + "Transmitted packets"; + } + leaf dropped-packets { + type uint64; + description + "Dropped packets"; + } + } + + grouping IPV6-DHCPV6D-TYPE { + description + "DHCPv6 packets"; + container solicit { + description + "DHCPV6 solicit packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container advertise { + description + "DHCPV6 advertise packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container request { + description + "DHCPV6 request packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container reply { + description + "DHCPV6 reply packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container confirm { + description + "DHCPV6 confirm packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container decline { + description + "DHCPV6 decline packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container renew { + description + "DHCPV6 renew packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container rebind { + description + "DHCPV6 rebind packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container release { + description + "DHCPV6 release packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container reconfig { + description + "DHCPV6 reconfig packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container inform { + description + "DHCPV6 inform packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container relay-forward { + description + "DHCPV6 relay forward packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container relay-reply { + description + "DHCPV6 relay reply packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container lease-query { + description + "DHCPV6 lease query packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container lease-query-reply { + description + "DHCPV6 lease query reply packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container lease-query-done { + description + "DHCPV6 lease query done packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + container lease-query-data { + description + "DHCPV6 lease query data packets"; + uses IPV6-DHCPV6D-FILTERED-STATS; + } + } + + grouping IPV6-DHCPD-ISSU-STATUS { + description + "ISSU Data"; + leaf process-start-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the process start time in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf issu-sync-complete-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU sync complete in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf issu-sync-start-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU sync start in nanoseconds + since Epoch, i.e. since 00:00:00 UTC, January 1, + 1970"; + } + leaf issu-ready-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the ISSU ready declaration in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf big-bang-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the Big Bang notification time in + nanoseconds since Epoch, i.e. since 00:00:00 UTC + , January 1, 1970"; + } + leaf primary-role-time { + type uint64; + units "nanosecond"; + description + "Timestamp for the change to Primary role + notification time in nanoseconds since Epoch, i + .e. since 00:00:00 UTC, January 1, 1970"; + } + leaf issu-ready-issu-mgr-connection { + type boolean; + description + "Whether or not DHCP is currently connected to + ISSU Manager during the ISSU Load Phase"; + } + leaf role { + type Dhcpv6-issu-role; + description + "The current role of the DHCP process"; + } + leaf phase { + type Dhcp-issu-phase; + description + "The current ISSU phase of the DHCP process"; + } + leaf version { + type Dhcpv6-issu-version; + description + "The current version of the DHCP process in the + context of an ISSU"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang new file mode 100644 index 0000000..2496f7b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper.yang @@ -0,0 +1,376 @@ +module Cisco-IOS-XR-ipv6-new-dhcpv6d-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-oper"; + prefix ipv6-new-dhcpv6d-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv6-new-dhcpv6d-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-new-dhcpv6d package operational data. + + This module contains definitions + for the following management objects: + dhcpv6: IPV6 DHCPD operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container dhcpv6 { + config false; + description + "IPV6 DHCPD operational data"; + container issu-status { + description + "DHCP IssuStatus"; + uses IPV6-DHCPD-ISSU-STATUS; + } + container nodes { + description + "IPv6 DHCP list of nodes"; + list node { + key "node-name"; + description + "IPv6 DHCP particular node name"; + container proxy { + description + "IPv6 DHCP proxy operational data"; + container vrfs { + description + "DHCPV6 proxy list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv6 DHCP proxy VRF name"; + container statistics { + description + "IPv6 DHCP proxy statistics"; + uses IPV6-DHCPV6D-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container profiles { + description + "IPv6 DHCP proxy profile"; + list profile { + key "profile-name"; + description + "IPv6 DHCP proxy profile"; + container throttle-infos { + description + "DHCPV6 throttle table"; + list throttle-info { + key "mac-address"; + description + "IPv6 DHCP proxy profile Throttle Info"; + leaf mac-address { + type xr:Cisco-ios-xr-string; + description + "MAC address"; + } + uses IPV6-DHCPV6D-MAC-THROTTLE; + } + } + container info { + description + "IPv6 DHCP proxy profile Info"; + uses IPV6-DHCPV6D-PROXY-PROFILE; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + } + } + container interfaces { + description + "DHCPV6 proxy interface"; + list interface { + key "interface-name"; + description + "IPv6 DHCP proxy interface"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "Interface Name"; + } + uses IPV6-DHCPV6D-PROXY-INTERFACE; + } + } + container statistics { + description + "DHCPv6 proxy statistics"; + uses IPV6-DHCPV6D-PROXY-STATS; + } + container binding { + description + "DHCPV6 proxy bindings"; + container clients { + description + "DHCPV6 proxy client bindings"; + list client { + key "client-id"; + description + "Single DHCPV6 proxy binding"; + leaf client-id { + type xr:Cisco-ios-xr-string; + description + "Client ID"; + } + uses IPV6-DHCPV6D-PROXY-BINDING; + } + } + container summary { + description + "DHCPV6 proxy binding summary"; + uses IPV6-DHCPV6D-PROXY-BINDINGS-SUMMARY; + } + } + } + container base { + description + "IPv6 DHCP Base"; + container database { + description + "DHCP database"; + uses IPV6-DHCPD-DATABASE; + } + container addr-bindings { + description + "IPv6 DHCP Base Binding"; + list addr-binding { + key "addr-string"; + description + "DHCPv6 base stats debug"; + leaf addr-string { + type xr:Cisco-ios-xr-string; + description + "Address String"; + } + uses IPV6-DHCPV6D-BASE-BINDING; + } + } + } + container server { + description + "IPv6 DHCP server operational data"; + container binding { + description + "DHCPV6 server bindings"; + container summary { + description + "DHCPV6 server binding summary"; + uses IPV6-DHCPV6D-SERVER-BINDINGS-SUMMARY; + } + container clients { + description + "DHCPV6 server client bindings"; + list client { + key "client-id"; + description + "Single DHCPV6 server binding"; + leaf client-id { + type xr:Cisco-ios-xr-string; + description + "Client ID"; + } + uses IPV6-DHCPV6D-SERVER-BINDING; + } + } + } + container vrfs { + description + "DHCPV6 server list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv6 DHCP server VRF name"; + container statistics { + description + "IPv6 DHCP server statistics"; + uses IPV6-DHCPV6D-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + container profiles { + description + "IPv6 DHCP server profile"; + list profile { + key "profile-name"; + description + "IPv6 DHCP server profile"; + container info { + description + "IPv6 DHCP server profile Info"; + uses IPV6-DHCPV6D-SERVER-PROFILE; + } + container throttle-infos { + description + "DHCPV6 throttle table"; + list throttle-info { + key "mac-address"; + description + "IPv6 DHCP server profile Throttle Info"; + leaf mac-address { + type xr:Cisco-ios-xr-string; + description + "MAC address"; + } + uses IPV6-DHCPV6D-MAC-THROTTLE; + } + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile name"; + } + } + } + container interfaces { + description + "DHCPV6 server interface"; + list interface { + key "interface-name"; + description + "IPv6 DHCP server interface"; + leaf interface-name { + type xr:Cisco-ios-xr-string; + description + "Interface Name"; + } + uses IPV6-DHCPV6D-SERVER-INTERFACE; + } + } + container statistics { + description + "DHCPv6 server statistics"; + uses IPV6-DHCPV6D-SERVER-STATS; + } + container binding-options { + description + "DHCPv6 server binding with options"; + container mac-bind-options { + description + "DHCPv6 server binding from MAC address"; + list mac-bind-option { + key "mac-address"; + description + "DHCPv6 server binding with options"; + leaf mac-address { + type xr:Cisco-ios-xr-string; + description + "MAC address"; + } + uses IPV6-DHCPV6D-SERVER-BINDING-OPTIONS; + } + } + container duid-bind-options { + description + "DHCPv6 server binding from DUID"; + list duid-bind-option { + key "duid"; + description + "DHCPv6 server binding with options"; + leaf duid { + type xr:Cisco-ios-xr-string; + description + "DUID of Binding"; + } + uses IPV6-DHCPV6D-SERVER-BINDING-OPTIONS; + } + } + } + } + container relay { + description + "IPv6 DHCP relay operational data"; + container statistics { + description + "DHCPv6 relay statistics"; + uses IPV6-DHCPV6D-RELAY-STATS; + } + container binding { + description + "DHCPV6 relay bindings"; + container summary { + description + "DHCPV6 relay binding summary"; + uses IPV6-DHCPV6D-RELAY-BINDINGS-SUMMARY; + } + container clients { + description + "DHCPV6 relay client bindings"; + list client { + key "client-id"; + description + "Single DHCPV6 relay binding"; + leaf client-id { + type xr:Cisco-ios-xr-string; + description + "Client ID"; + } + uses IPV6-DHCPV6D-RELAY-ROUTE-BINDING; + } + } + } + container vrfs { + description + "DHCPV6 relay list of VRF names"; + list vrf { + key "vrf-name"; + description + "IPv6 DHCP relay VRF name"; + container statistics { + description + "IPv6 DHCP relay statistics"; + uses IPV6-DHCPV6D-TYPE; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang new file mode 100644 index 0000000..5c1ca6b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg.yang @@ -0,0 +1,112 @@ +module Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-subscriber-cfg"; + prefix ipv6-new-dhcpv6d-subscriber-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-new-dhcpv6d-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DHCPV6 { + description + "Common node of ip-subscriber, ppp"; + container dhcpv6 { + description + "Interface dhcpv6 configuration data"; + container delegated-prefix { + presence "Indicates a delegated-prefix node is configured."; + description + "The prefix to be used for Prefix Delegation"; + leaf prefix { + type inet:ipv6-address-no-zone; + mandatory true; + description + "IPv6 Prefix"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + mandatory true; + description + "PD Prefix Length"; + } + } + leaf dns-ipv6address { + type inet:ipv6-address-no-zone; + description + "Dns IPv6 Address"; + } + leaf mode-class { + type string; + description + "Select proxy/server profile based on mode class + name"; + } + leaf address-pool { + type string; + description + "The pool to be used for Address assignment"; + } + leaf delegated-prefix-pool { + type string; + description + "The pool to be used for Prefix Delegation"; + } + leaf class { + type string; + description + "The class to be used for proxy/server profile"; + } + leaf stateful-address { + type inet:ipv6-address-no-zone; + description + "Stateful IPv6 Address"; + } + } + } + + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses DHCPV6; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses DHCPV6; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-act.yang new file mode 100644 index 0000000..8405be1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-act.yang @@ -0,0 +1,241 @@ +module Cisco-IOS-XR-ipv6-ospfv3-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-act"; + prefix ospfv3-act; + + import Cisco-IOS-XR-types { + prefix xr; + } + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv6 OSPFv3 action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-14 { + description + "IOS XR 6.2.1 revision."; + } + + grouping OSPFv3-STAT-ATTRIBUTES { + leaf process { + type empty; + description + "Reset OSPFv3 process"; + } + leaf redistribution { + type empty; + description + "Clear OSPFv3 route redistrbution"; + } + leaf route { + type empty; + description + "Clear OSPFv3 route table"; + } + container stats { + description + "OSPFv3 counters and statistics"; + leaf spf { + type empty; + description + "SPF statistics"; + } + leaf prefix-priority { + type empty; + description + "SPF Prefix Priority statistics"; + } + container neighbor { + description + "Neighbor statistics per interface or neighbor id"; + leaf neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + container interface { + leaf interface-name { + type xr:Interface-name; + description + "OSPFv3 interface statistics"; + } + } + } + } + } + + rpc clear-ospfv3-routes { + description + "Clear OSPFv3 route table"; + input { + container instance { + description + "Clear data from OSPFv3 instance"; + leaf instance-identifier { + type string; + description + "OSPFv3 process instance identifier"; + } + } + leaf route { + type empty; + mandatory true; + description + "Clear OSPFv3 route table"; + } + } + } + rpc clear-ospfv3-redistribution { + description + "Clear OSPFv3 route redistribution"; + input { + container instance { + description + "Clear data from OSPFv3 instance"; + leaf instance-identifier { + type string; + description + "OSPFv3 process instance identifier"; + } + } + leaf redistribution { + type empty; + mandatory true; + description + "Clear OSPFv3 route redistribution"; + } + } + } + rpc clear-ospfv3-process { + description + "Clear (reset) OSPFv3 Process"; + input { + container instance { + description + "Clear data from OSPFv3 instance"; + leaf instance-identifier { + type string; + description + "OSPFv3 process instance identifier"; + } + } + leaf process { + type empty; + mandatory true; + description + "Reset OSPFv3 process"; + } + } + } + rpc clear-ospfv3-statistics-neighbor { + description + "Clear OSPFv3 neighbor statistics per interface or neighbor id"; + input { + container instance { + description + "Clear data from OSPFv3 instance"; + leaf instance-identifier { + type string; + description + "OSPFv3 process instance identifier"; + } + } + container neighbor { + leaf neighbor-id { + type inet:ipv4-address; + description + "Neighbor ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + rpc clear-ospfv3-statistics { + description + "Clear OSPFv3 counters and statistics"; + input { + container instance { + description + "Clear data from OSPFv3 instance"; + leaf instance-identifier { + type string; + description + "OSPFv3 process instance identifier"; + } + } + leaf prefix-priority { + type empty; + description + "All OSPFv3 counters and statistics"; + } + leaf spf { + type empty; + description + "SPF statistics"; + } + leaf neighbor { + type empty; + description + "Neighbor statistics per neighbor id"; + } + } + } + rpc clear-ospfv3-instance-vrf { + description + "Clear one or more non-default OSPFv3 VRFs in process"; + input { + container instance { + description + "OSPFv3 instance name"; + leaf instance-identifier { + type string; + mandatory true; + description + "OSPFv3 process instance identifier"; + } + container vrf { + description + "Clear one or more non-default OSPFv3 VRFs in process"; + leaf vrf-name { + type string; + mandatory true; + description + "OSPFv3 VRF name"; + } + uses OSPFv3-STAT-ATTRIBUTES; + } + container all { + description + "Clear all non-default OSPFv3 VRFs"; + uses OSPFv3-STAT-ATTRIBUTES; + } + container all-inclusive { + description + "Clear all non-default and default OSPFv3 VRFs"; + uses OSPFv3-STAT-ATTRIBUTES; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang new file mode 100644 index 0000000..8c0b97b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-cfg.yang @@ -0,0 +1,3171 @@ +module Cisco-IOS-XR-ipv6-ospfv3-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-cfg"; + prefix ipv6-ospfv3-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ospfv3 package configuration. + + This module contains definitions + for the following management objects: + ospfv3: OSPFv3 configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-15 { + description + "Added naming-union to create sublist for distribute-out."; + } + revision 2017-11-01 { + description + "Removed external and summary LSA from rbit and v6bit container."; + } + revision 2017-07-14 { + description + "Trace buffer size enum name modified for intelligible."; + } + revision 2017-06-09 { + description + "Datatype modified to Range for area id, route tag and redistribute tag."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospfv3-protocol { + type enumeration { + enum "all" { + value 0; + description + "All"; + } + enum "connected" { + value 1; + description + "Connected"; + } + enum "static" { + value 3; + description + "Static"; + } + enum "bgp" { + value 4; + description + "BGP"; + } + enum "isis" { + value 6; + description + "ISIS"; + } + enum "ospfv3" { + value 7; + description + "OSPFv3"; + } + enum "eigrp" { + value 8; + description + "EIGRP"; + } + } + description + "Ospfv3 protocol"; + } + + typedef Ospfv3-fast-reroute-tiebreakers { + type enumeration { + enum "downstream" { + value 0; + description + "Downstream"; + } + enum "line-card-disjoint" { + value 1; + description + "LC Disjoint"; + } + enum "lowest-metric" { + value 2; + description + "Lowest metric"; + } + enum "node-protect" { + value 3; + description + "Node protection"; + } + enum "primary-path" { + value 4; + description + "Primary path"; + } + enum "secondary-path" { + value 5; + description + "Secondar path"; + } + enum "srlg-disjoint" { + value 6; + description + "SRLG"; + } + } + description + "Ospfv3 fast reroute tiebreakers"; + } + + typedef Ospfv3isis-route { + type enumeration { + enum "level1" { + value 64; + description + "IS-IS level-1 routes"; + } + enum "level2" { + value 128; + description + "IS-IS level-2 routes"; + } + enum "level1-and2" { + value 192; + description + "IS-IS level-1 and level-2 routes"; + } + } + description + "Ospfv3isis route"; + } + + typedef Ospfv3bfd-enable-mode { + type enumeration { + enum "disable" { + value 0; + description + "Disable Mode - Prevent inheritance"; + } + enum "default" { + value 1; + description + "Default Mode - Default BFD behavior"; + } + enum "strict" { + value 2; + description + "Strict Mode - Hold down adj until BFD sesion up"; + } + } + description + "Ospfv3bfd enable mode"; + } + + typedef Ospfv3-log-adj { + type enumeration { + enum "suppress" { + value 0; + description + "No output"; + } + enum "brief" { + value 1; + description + "Limited output"; + } + enum "detail" { + value 2; + description + "Verbose output"; + } + } + description + "Ospfv3 log adj"; + } + + typedef Ospfv3-protocol-type2 { + type enumeration { + enum "connected" { + value 1; + description + "Connected"; + } + enum "static" { + value 3; + description + "Static"; + } + enum "bgp" { + value 4; + description + "BGP"; + } + enum "isis" { + value 6; + description + "ISIS"; + } + enum "ospfv3" { + value 7; + description + "OSPFv3"; + } + enum "eigrp" { + value 8; + description + "EIGRP"; + } + enum "subscriber" { + value 9; + description + "Subscriber"; + } + enum "application" { + value 10; + description + "Application"; + } + enum "mobile" { + value 11; + description + "Mobile"; + } + } + description + "Ospfv3 protocol type2"; + } + + typedef Ospfv3-metric { + type enumeration { + enum "type1" { + value 1; + description + "OSPFv3 external type 1 metrics"; + } + enum "type2" { + value 2; + description + "OSPFv3 external type 2 metrics"; + } + } + description + "Ospfv3 metric"; + } + + typedef Ospfv3-trace-buf-size { + type enumeration { + enum "size0" { + value 0; + description + "Disable trace"; + } + enum "size256" { + value 256; + description + "trace buffer size 256"; + } + enum "size512" { + value 512; + description + "trace buffer size 512"; + } + enum "size1024" { + value 1024; + description + "trace buffer size 1024"; + } + enum "size2048" { + value 2048; + description + "trace buffer size 2048"; + } + enum "size4096" { + value 4096; + description + "trace buffer size 4096"; + } + enum "size8192" { + value 8192; + description + "trace buffer size 8192"; + } + enum "size16384" { + value 16384; + description + "trace buffer size 16384"; + } + enum "size32768" { + value 32768; + description + "trace buffer size 32768"; + } + enum "size65536" { + value 65536; + description + "trace buffer size 65536"; + } + } + description + "Ospfv3 trace buf size"; + } + + typedef Ospfv3-external-route { + type enumeration { + enum "external1" { + value 8; + description + "External type 1 routes"; + } + enum "external2" { + value 16; + description + "External type 2 routes"; + } + enum "external" { + value 24; + description + "External (type 1 and 2) routes"; + } + } + description + "Ospfv3 external route"; + } + + typedef Ospfv3-subsequent-address-family { + type enumeration { + enum "unicast" { + value 1; + description + "Unicast subsequent address family"; + } + } + description + "Ospfv3 subsequent address family"; + } + + typedef Ospfv3-internal-route { + type enumeration { + enum "internal" { + value 6; + description + "OSPFv3 internal routes"; + } + } + description + "Ospfv3 internal route"; + } + + typedef Ospfv3-fast-reroute { + type enumeration { + enum "none" { + value 0; + description + "Disable"; + } + enum "per-link" { + value 1; + description + "Per link"; + } + enum "per-prefix" { + value 2; + description + "Per prefix"; + } + } + description + "Ospfv3 fast reroute"; + } + + typedef Ospfv3-domain-id { + type enumeration { + enum "type0005" { + value 5; + description + "Type 0x0005"; + } + enum "type0105" { + value 261; + description + "Type 0x0105"; + } + enum "type0205" { + value 517; + description + "Type 0x0205"; + } + enum "type8005" { + value 32773; + description + "Type 0x8005"; + } + } + description + "Ospfv3 domain id"; + } + + typedef Ospfv3-authentication-type2 { + type enumeration { + enum "null" { + value 0; + description + "NULL authentication"; + } + enum "md5" { + value 1; + description + "MD5 algorithm"; + } + enum "sha1" { + value 2; + description + "SHA1 algorithm"; + } + } + description + "Ospfv3 authentication type2"; + } + + typedef Ospfv3-address-family { + type enumeration { + enum "ipv6" { + value 1; + description + "IPv6 address family"; + } + } + description + "Ospfv3 address family"; + } + + typedef Ospfv3-authentication { + type enumeration { + enum "md5" { + value 1; + description + "MD5 algorithm"; + } + enum "sha1" { + value 2; + description + "SHA1 algorithm"; + } + } + description + "Ospfv3 authentication"; + } + + typedef Ospfv3-encryption-algorithm { + type enumeration { + enum "null" { + value 0; + description + "Use NULL encryption"; + } + enum "des" { + value 1; + description + "Use the DES algorithm"; + } + enum "3des" { + value 2; + description + "Use the triple DES algorithm"; + } + enum "aes" { + value 3; + description + "Use the AES algorithm"; + } + enum "aes192" { + value 4; + description + "Use the 192-bit AES algorithm"; + } + enum "aes256" { + value 5; + description + "Use the 256-bit AES algorithm"; + } + } + description + "Ospfv3 encryption algorithm"; + } + + typedef Ospfv3nsr { + type enumeration { + enum "true" { + value 1; + description + "Enable non-stop routing"; + } + enum "false" { + value 2; + description + "Disable non-stop routing"; + } + } + description + "Ospfv3nsr"; + } + + typedef Ospfv3nssa-external-route { + type enumeration { + enum "external1" { + value 4096; + description + "NSSA external type 1 routes"; + } + enum "external2" { + value 8192; + description + "NSSA external type 2 routes"; + } + enum "external" { + value 12288; + description + "NSSA external (type 1 and 2) routes"; + } + } + description + "Ospfv3nssa external route"; + } + + typedef Ospfv3-eigrp-route { + type enumeration { + enum "internal" { + value 16384; + description + "EIGRP internal routes"; + } + enum "external" { + value 32768; + description + "EIGRP external routes"; + } + } + description + "Ospfv3 eigrp route"; + } + + typedef Ospfv3-fast-reroute-priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical"; + } + enum "high" { + value 1; + description + "High"; + } + enum "medium" { + value 2; + description + "Medium"; + } + enum "low" { + value 3; + description + "Low"; + } + } + description + "Ospfv3 fast reroute priority"; + } + + typedef Ospfv3-network { + type enumeration { + enum "broadcast" { + value 1; + description + "Broadcast multi-access network"; + } + enum "non-broadcast" { + value 2; + description + "Non-broadcast multi-access network"; + } + enum "point-to-point" { + value 3; + description + "Point-to-point network"; + } + enum "point-to-multipoint" { + value 4; + description + "Point-to-multipoint network"; + } + enum "non-broadcast-point-to-multipoint" { + value 5; + description + "Non-broadcast point-to-multipoint network"; + } + } + description + "Ospfv3 network"; + } + + grouping REDISTRIBUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container redistributes { + description + "Redistribute information from another routing + protocol"; + list redistribute { + must "connected-or-static-or-subscriber-or-mobile or bgp or ospfv3-or-isis-or-application or eigrp" { + description + "Connected-or-Static-or-Subscriber-or-Mobile or + BGP or OSPFv3-or-ISIS-or-Application or EIGRP + must be present."; + } + key "protocol-name"; + description + "Redistribute information from another routing + protocol"; + + grouping REDISTRIBUTE-CONTENT { + description + "REDISTRIBUTE CONTENT"; + leaf internal-route-type { + type Ospfv3-internal-route; + description + "Redistribute OSPFv3 routes"; + } + leaf default-metric { + type uint32 { + range "0..16777214"; + } + description + "OSPFv3 default metric"; + } + leaf metric-type { + type Ospfv3-metric; + description + "OSPFv3 exterior metric type for redistributed + routes"; + } + leaf tag { + type uint32 { + range "0..4294967295"; + } + description + "Tag for routes redistributed into OSPFv3"; + } + leaf route-policy-name { + type string; + description + "Route policy to redistribution"; + } + leaf external-route-type { + type Ospfv3-external-route; + description + "Redistribute OSPFv3 external routes"; + } + leaf nssa-external-route-type { + type Ospfv3nssa-external-route; + description + "Redistribute OSPFv3 NSSA external routes"; + } + leaf redistribute-route { + type boolean; + description + "Redistribution of OSPFv3 routes"; + } + leaf isis-route-type { + type Ospfv3isis-route; + description + "ISIS route type"; + } + leaf eigrp-route-type { + type Ospfv3-eigrp-route; + description + "EIGRP route type"; + } + leaf preserve-med { + type empty; + description + "Preserve (Multi-Exit Discriminator) of BGP + routes"; + } + leaf preserve-med-info { + type empty; + description + "Preserve Information (Multi-Exit + Discriminator) of BGP routes"; + } + leaf use-rib-metric { + type boolean; + description + "Use metric from RIB for redistributed routes"; + } + } + container connected-or-static-or-subscriber-or-mobile { + when "../protocol-name = 'connected' or ../protocol-name = 'static' or ../protocol-name = 'subscriber' or ../protocol-name = 'mobile'" { + description + "../ProtocolName = Connected or . + ./ProtocolName = Static or ../ProtocolName = + Subscriber or ../ProtocolName = Mobile"; + } + presence "Indicates that this node is configured."; + description + "connected or static or subscriber or mobile"; + uses REDISTRIBUTE-CONTENT; + } + leaf protocol-name { + type Ospfv3-protocol-type2; + description + "Protocol"; + } + list bgp { + when "../protocol-name = 'bgp'" { + description + "../ProtocolName = BGP"; + } + key "as-xx as-yy"; + description + "bgp"; + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "4-byte AS number in asdot (X.Y) format - + first half (X)"; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "4-byte AS number in asdot (X.Y) format - + second half (Y), or 2-byte AS number, or + 4-byte AS number in asplain format"; + } + uses REDISTRIBUTE-CONTENT; + } + list ospfv3-or-isis-or-application { + when "../protocol-name = 'ospfv3' or ../protocol-name = 'isis' or ../protocol-name = 'application'" { + description + "../ProtocolName = OSPFv3 or ../ProtocolName + = ISIS or ../ProtocolName = Application"; + } + key "process-name"; + description + "ospfv3 or isis or application"; + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "ISIS process name if protocol is ISIS, or + OSPFv3 process name if protocol is OSPFv3"; + } + uses REDISTRIBUTE-CONTENT; + } + list eigrp { + when "../protocol-name = 'eigrp'" { + description + "../ProtocolName = EIGRP"; + } + key "as-xx"; + description + "eigrp"; + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "4-byte AS number in asdot (X.Y) format - + first half (X)"; + } + uses REDISTRIBUTE-CONTENT; + } + } + } + } + + grouping DISTANCE { + description + "Common node of default-vrf, vrf"; + container distance { + description + "Define an administrative distance"; + container ospfv3 { + description + "OSPFv3 administrative distance"; + leaf intra-area { + type uint32 { + range "1..255"; + } + description + "Distance for intra-area routes"; + } + leaf inter-area { + type uint32 { + range "1..255"; + } + description + "Distance for inter-area routes"; + } + leaf external { + type uint32 { + range "1..255"; + } + description + "Distance for external type 5 and type 7 routes"; + } + } + leaf administrative { + type uint32 { + range "1..255"; + } + description + "Define an administrative distance"; + } + } + } + + grouping DEMAND-CIRCUIT { + description + "Common node of default-vrf, vrf"; + leaf demand-circuit { + type boolean; + description + "Enable/disable demand circuit operation"; + } + } + + grouping ON-PROC-RESTART { + description + "Common node of rbit, v6bit, max-metric"; + leaf on-proc-restart { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time (in seconds) to stay in stub router + operational state"; + } + } + + grouping EXCLUDE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefix"; + container exclude-interfaces { + description + "Fast-reroute per-link/per-prefix exclude + interface configuration"; + list exclude-interface { + key "interface-name"; + description + "Exclude an interface from becoming a backup"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping TRANSMIT-DELAY { + description + "Common node of default-vrf, vrf"; + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit delay in seconds"; + } + } + + grouping PASSIVE { + description + "Common node of default-vrf, vrf"; + leaf passive { + type boolean; + description + "Enable/disable routing updates on an interface"; + } + } + + grouping ALWAYS { + description + "Common node of rbit, v6bit, max-metric"; + leaf always { + type empty; + description + "Unconditionally enter stub router operational + state"; + } + } + + grouping AREA-TABLE { + description + "Common node of default-vrf, vrf"; + container area-addresses { + description + "Area configuration"; + + grouping AREA-CONTENT { + description + "AREA CONTENT"; + container authentication { + description + "Authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec AH authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf algorithm { + type Ospfv3-authentication; + description + "Use the MD5 or SHA1 algorithm"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container bfd { + description + "Configure BFD parameters"; + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detect multiplier"; + } + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval in milli-seconds"; + } + leaf fast-detect-mode { + type Ospfv3bfd-enable-mode; + description + "Enable or disable BFD fast detection"; + } + } + container ranges { + description + "Range configuration"; + list range { + key "prefix prefix-length"; + description + "Summarize inter-area routes matching + prefix/length"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "IPv6 prefix format"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "IPV6 prefix length"; + } + leaf not-advertise { + type boolean; + default "false"; + description + "Do not advertise address range"; + } + leaf cost { + type uint32 { + range "1..16777214"; + } + description + "Specified metric for this range"; + } + } + } + container encryption { + description + "Encrypt and authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec ESP authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf encryption-algorithm { + type Ospfv3-encryption-algorithm; + description + "Specify the encryption algorithm"; + } + leaf encryption-password { + type xr:Proprietary-password; + description + "Encryption password"; + } + leaf authentication-algorithm { + type Ospfv3-authentication-type2; + description + "Use the NULL, MD5 or SHA1 algorithm"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container nssa { + description + "Specify area as a NSSA area. Allowed only in + non-backbone areas"; + leaf no-redistribution { + type boolean; + default "false"; + description + "No redistribution into this NSSA area"; + } + leaf default-info-originate { + type boolean; + default "false"; + description + "Originate Type 7 default into NSSA area"; + } + leaf metric { + type uint32 { + range "0..16777214"; + } + description + "Only valid with DefaultInfoOriginate"; + } + leaf metric-type { + type Ospfv3-metric; + description + "Only valid with DefaultInfoOriginate"; + } + leaf no-summary { + type empty; + description + "Do not send summary LSA into NSSA"; + } + } + container database-filter { + description + "Database filter"; + container all { + description + "All"; + leaf out { + type boolean; + description + "Enable or disable database-filter"; + } + } + } + container distribute-list { + description + "Filter prefixes to/from RIB"; + container in { + description + "Filter prefixes installed to RIB"; + leaf prefix-list { + type string; + description + "Filter prefixes based on an IPv6 prefix-list"; + } + } + } + container interfaces { + description + "OSPFv3 interfaces"; + list interface { + key "interface-name"; + description + "OSPFv3 interface"; + container authentication { + description + "Authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec AH authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf algorithm { + type Ospfv3-authentication; + description + "Use the MD5 or SHA1 algorithm"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container neighbors { + description + "Specify a neighbor router"; + list neighbor { + key "neighbor-address"; + description + "IPv6 address"; + leaf neighbor-address { + type xr:Cisco-ios-xr-string; + description + "IPV6 address"; + } + leaf priority { + type uint32 { + range "0..255"; + } + description + "OSPFv3 priority of non-broadcast neighbor"; + } + leaf poll-interval { + type uint32 { + range "0..65535"; + } + units "second"; + description + "OSPFv3 dead-router polling interval (in + seconds)"; + } + leaf cost { + type uint32 { + range "1..65535"; + } + description + "OSPFv3 cost for point-to-multipoint + neighbor"; + } + leaf database-filter { + type boolean; + description + "Filter OSPFv3 LSA during synchronization + and flooding for point-to-multipoint + neighbor"; + } + leaf zone { + type string; + description + "Zone"; + } + } + } + container encryption { + description + "Encrypt and authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec ESP authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf encryption-algorithm { + type Ospfv3-encryption-algorithm; + description + "Specify the encryption algorithm"; + } + leaf encryption-password { + type xr:Proprietary-password; + description + "Encryption password"; + } + leaf authentication-algorithm { + type Ospfv3-authentication-type2; + description + "Use the NULL, MD5 or SHA1 algorithm"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container bfd { + description + "Configure BFD parameters"; + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval in milli-seconds"; + } + leaf fast-detect-mode { + type Ospfv3bfd-enable-mode; + description + "Enable or disable BFD fast detection"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detect multiplier"; + } + } + container database-filter { + description + "Database filter"; + container all { + description + "All"; + leaf out { + type boolean; + description + "Enable or disable database-filter"; + } + } + } + container distribute-list { + description + "Filter prefixes to/from RIB"; + container in { + description + "Filter prefixes installed to RIB"; + leaf prefix-list { + type string; + description + "Filter prefixes based on an IPv6 + prefix-list"; + } + } + } + leaf enable { + type empty; + description + "Enable OSPFv3 interface"; + } + leaf dead-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval after which a neighbor is declared + dead (in seconds)"; + } + leaf flood-reduction { + type boolean; + description + "Enable/disable flood reduction"; + } + leaf cost { + type uint32 { + range "1..65535"; + } + description + "Interface cost"; + } + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit delay in seconds"; + } + leaf instance { + type uint32 { + range "0..255"; + } + description + "Instance ID"; + } + leaf ldp-sync { + type boolean; + description + "Enable/Disable MPLS LDP sync"; + } + leaf mtu-ignore { + type boolean; + description + "Enable/disable ignoring of MTU in DBD + packets"; + } + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit interval in seconds"; + } + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Time between HELLO packets"; + } + leaf passive { + type boolean; + description + "Enable/disable routing updates on an + interface"; + } + leaf packet-size { + type uint32 { + range "256..10000"; + } + description + "Limit size of OSPFv3 packets"; + } + leaf prefix-suppression { + type boolean; + description + "Enable/disable prefix suppression on an + interface"; + } + leaf priority { + type uint32 { + range "0..255"; + } + description + "Specify router priority"; + } + leaf network { + type Ospfv3-network; + description + "Specify network type"; + } + leaf demand-circuit { + type boolean; + description + "Enable/disable demand circuit operation"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface to configure"; + } + uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; + } + } + container area-scope { + description + "Area Scope Configuration"; + uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; + } + container sham-links { + description + "Sham Link sub-mode"; + list sham-link { + key "source-address destination-address"; + description + "ShamLink local and remote endpoints"; + container authentication { + description + "Authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec AH authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf algorithm { + type Ospfv3-authentication; + description + "Use the MD5 or SHA1 algorithm"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container encryption { + description + "Encrypt and authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec ESP authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf encryption-algorithm { + type Ospfv3-encryption-algorithm; + description + "Specify the encryption algorithm"; + } + leaf encryption-password { + type xr:Proprietary-password; + description + "Encryption password"; + } + leaf authentication-algorithm { + type Ospfv3-authentication-type2; + description + "Use the NULL, MD5 or SHA1 algorithm"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + leaf enable { + type empty; + description + "Enable sham link"; + } + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Time between HELLO packets"; + } + leaf dead-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval after which a neighbor is declared + dead (in seconds)"; + } + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit interval in seconds"; + } + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit delay in seconds"; + } + leaf source-address { + type inet:ipv6-address-no-zone; + description + "Local sham-link endpoint"; + } + leaf destination-address { + type inet:ipv6-address-no-zone; + description + "Remote sham-link endpoint"; + } + } + } + container virtual-links { + description + "Virtual link sub-mode"; + list virtual-link { + key "virtual-link-address"; + description + "Router ID of virtual link neighbor"; + container authentication { + description + "Authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec AH authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf algorithm { + type Ospfv3-authentication; + description + "Use the MD5 or SHA1 algorithm"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + container encryption { + description + "Encrypt and authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec ESP authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf encryption-algorithm { + type Ospfv3-encryption-algorithm; + description + "Specify the encryption algorithm"; + } + leaf encryption-password { + type xr:Proprietary-password; + description + "Encryption password"; + } + leaf authentication-algorithm { + type Ospfv3-authentication-type2; + description + "Use the NULL, MD5 or SHA1 algorithm"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + leaf enable { + type empty; + description + "Enabled virtual link"; + } + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Time between HELLO packets"; + } + leaf dead-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval after which a neighbor is declared + dead (in seconds)"; + } + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit interval in seconds"; + } + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit delay in seconds"; + } + leaf virtual-link-address { + type inet:ipv4-address-no-zone; + description + "Router ID of virtual link neighbor"; + } + } + } + leaf stub { + type boolean; + description + "Specify area as a stub area. Allowed only in + non-backbone areas"; + } + leaf packet-size { + type uint32 { + range "256..10000"; + } + description + "Limit size of OSPFv3 packets"; + } + leaf instance { + type uint32 { + range "0..255"; + } + description + "Instance ID"; + } + leaf demand-circuit { + type boolean; + description + "Enable/disable demand circuit operation"; + } + leaf priority { + type uint32 { + range "0..255"; + } + description + "Specify router priority"; + } + leaf prefix-suppression { + type boolean; + description + "Enable/disable prefix suppression on an + interface"; + } + leaf enable { + type empty; + description + "Enable OSPFv3 area"; + } + leaf mtu-ignore { + type boolean; + description + "Enable/disable ignoring of MTU in DBD packets"; + } + leaf passive { + type boolean; + description + "Enable/disable routing updates on an interface"; + } + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Time between HELLO packets"; + } + leaf dead-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval after which a neighbor is declared + dead (in seconds)"; + } + leaf default-cost { + type uint32 { + range "0..16777215"; + } + description + "Set the summary default-cost of a NSSA/stub + area"; + } + leaf flood-reduction { + type boolean; + description + "Enable/disable flood reduction"; + } + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit interval in seconds"; + } + leaf ldp-sync { + type boolean; + description + "Enable/Disable MPLS LDP sync"; + } + leaf network { + type Ospfv3-network; + description + "Specify network type"; + } + leaf transmit-delay { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit delay in seconds"; + } + leaf cost { + type uint32 { + range "1..65535"; + } + description + "Interface cost"; + } + } + list area-address { + key "address"; + description + "Configuration for a particular area"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Area ID if in IP address format"; + } + uses AREA-CONTENT; + } + list area-area-id { + key "area-id"; + description + "Configuration for a particular area"; + leaf area-id { + type uint32 { + range "0..4294967295"; + } + description + "Area ID if in integer format"; + } + uses AREA-CONTENT; + } + } + } + + grouping AUTO-COST { + description + "Common node of default-vrf, vrf"; + container auto-cost { + presence "enable auto-cost"; + description + "Calculate interface cost according to bandwidth"; + leaf disable { + type empty; + description + "Specify 'true' to assign cost based on + interface type"; + } + leaf reference-bandwidth { + type uint32 { + range "1..4294967"; + } + units "Mbit/s"; + description + "Specify reference bandwidth for cost + computations in terms of Mbits per second"; + } + } + } + + grouping TIMERS { + description + "Common node of default-vrf, vrf"; + container timers { + description + "Adjust routing timers"; + container pacing { + description + "Pacing timers"; + leaf flood { + type uint32 { + range "5..100"; + } + units "millisecond"; + description + "The minimum interval in milliseconds to pace + limit flooding on interface"; + } + leaf retransmission { + type uint32 { + range "5..100"; + } + description + "The minimum interval in msec between neighbor + retransmissions"; + } + leaf lsa-group { + type uint32 { + range "10..1800"; + } + units "second"; + description + "Interval in seconds at which LSAs are grouped + and refreshed, checksummed, or aged"; + } + } + container lsa-timers { + description + "LSA timers"; + leaf arrival { + type uint32 { + range "0..60000"; + } + units "millisecond"; + description + "The minimum interval in milliseconds between + accepting the same LSA"; + } + } + container throttle { + description + "Throttle timers"; + container lsa { + description + "LSA throttle timers for all types of OSPF LSAs"; + leaf first-delay { + type uint32 { + range "0..600000"; + } + units "millisecond"; + description + "Delay to generate first occurrence of LSA in + milliseconds"; + } + leaf minimum-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + description + "Minimum delay between originating the same + LSA in milliseconds"; + } + leaf maximum-delay { + type uint32 { + range "1..600000"; + } + units "millisecond"; + description + "Maximum delay between originating the same + LSA in milliseconds"; + } + } + container spf { + description + "SPF throttle timers"; + leaf first-delay { + type uint32 { + range "1..600000"; + } + description + "Initial delay between receiving a change and + starting SPF in ms"; + } + leaf minimum-delay { + type uint32 { + range "1..600000"; + } + description + "Minimum hold time between consecutive SPF + calculations in ms"; + } + leaf maximum-delay { + type uint32 { + range "1..600000"; + } + description + "Maximum wait time between consecutive SPF + calculations in ms"; + } + } + } + } + } + + grouping LOG-ADJACENCY-CHANGES { + description + "Common node of default-vrf, vrf"; + leaf log-adjacency-changes { + type Ospfv3-log-adj; + description + "Log changes in adjacency state"; + } + } + + grouping ON-PROC-MIGRATION { + description + "Common node of rbit, v6bit, max-metric"; + leaf on-proc-migration { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time (in seconds) to stay in stub router + operational state"; + } + } + + grouping DEFAULT-INFORMATION { + description + "Common node of default-vrf, vrf"; + container default-information { + description + "Control distribution of default information"; + container originate { + presence "Indicates a originate node is configured."; + description + "Distribute a default route"; + leaf always { + type boolean; + mandatory true; + description + "Always advertise default route"; + } + leaf metric { + type uint32 { + range "0..16777214"; + } + description + "OSPFv3 default metric"; + } + leaf metric-type { + type uint32 { + range "1..2"; + } + description + "OSPFv3 metric type for default routes"; + } + leaf tag { + type uint32 { + range "0..4294967295"; + } + description + "Tag for default route"; + } + leaf route-policy-name { + type string; + description + "Route policy to default-information + origination"; + } + } + } + } + + grouping STUB-ROUTER { + description + "Common node of default-vrf, vrf"; + container stub-router { + description + "Stub router configuration"; + container rbit { + description + "Stub router R-bit configuration"; + uses ON-SWITCHOVER; + uses ALWAYS; + uses ON-STARTUP; + uses INCLUDE-STUB; + uses ENABLE; + uses ON-PROC-MIGRATION; + uses ON-PROC-RESTART; + } + container v6bit { + description + "Stub router V6-bit configuration"; + uses ON-SWITCHOVER; + uses ALWAYS; + uses ON-STARTUP; + uses ENABLE; + uses ON-PROC-MIGRATION; + uses ON-PROC-RESTART; + } + container max-metric { + description + "Stub router max-metric configuration"; + leaf external-lsa { + type uint32 { + range "1..16777214"; + } + default "16711680"; + description + "Advertise external LSAs with modified metric + in stub router mode"; + } + leaf summary-lsa { + type uint32 { + range "1..16777214"; + } + default "16711680"; + description + "Advertise summary LSAs with modified metric in + stub router mode"; + } + uses ON-SWITCHOVER; + uses ALWAYS; + uses ON-STARTUP; + uses INCLUDE-STUB; + uses ENABLE; + uses ON-PROC-MIGRATION; + uses ON-PROC-RESTART; + } + } + } + + grouping INCLUDE-STUB { + description + "Common node of rbit, max-metric"; + leaf include-stub { + type empty; + description + "Advertise stub links with maximum metric in stub + router mode"; + } + } + + grouping IGNORE { + description + "Common node of default-vrf, vrf"; + container ignore { + description + "Do not complain about a specified event"; + container lsa { + description + "Do not complain upon receiving LSA of the + specified type"; + leaf mospf { + type empty; + description + "Enable ignore of MOSPF type 6 LSA"; + } + } + } + } + + grouping DATABASE-FILTER { + description + "Common node of default-vrf, vrf"; + container database-filter { + description + "Database filter"; + container all { + description + "All"; + leaf out { + type empty; + description + "Enable out"; + } + } + } + } + + grouping CANDIDATE-INTERFACE-TABLE { + description + "Common node of per-link, per-prefix"; + container candidate-interfaces { + description + "Fast-reroute per-link/per-prefix candidate + interface configuration"; + list candidate-interface { + key "interface-name"; + description + "Candidate backup interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + } + } + } + + grouping ENCRYPTION { + description + "Common node of default-vrf, vrf"; + container encryption { + description + "Encrypt and authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec ESP authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf encryption-algorithm { + type Ospfv3-encryption-algorithm; + description + "Specify the encryption algorithm"; + } + leaf encryption-password { + type xr:Proprietary-password; + description + "Encryption password"; + } + leaf authentication-algorithm { + type Ospfv3-authentication-type2; + description + "Use the NULL, MD5 or SHA1 algorithm"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + } + + grouping AUTHENTICATION { + description + "Common node of default-vrf, vrf"; + container authentication { + description + "Authenticate OSPFv3 packets"; + leaf enable { + type boolean; + description + "Authenticate packets"; + } + leaf spi { + type uint32 { + range "256..4294967295"; + } + description + "Use IPSec AH authentication. Specify the + Security Parameter Index (SPI) value"; + } + leaf algorithm { + type Ospfv3-authentication; + description + "Use the MD5 or SHA1 algorithm"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify MD5 or SHA1 password"; + } + } + } + + grouping DISTRIBUTE-LIST-OUT { + description + "Common node of default-vrf, vrf"; + container distribute-list-out { + description + "Filter prefixes from RIB "; + container distribute-outs { + description + "Filter generated type-5 LSAs"; + list distribute-out { + must "all-or-connected-or-static-prefix-list or bgp or ospfv3-or-isis or eigrp" { + description + "All-or-Connected-or-Static or BGP or + OSPFv3-or-ISIS or EIGRP must be present."; + } + key "protocol-name"; + description + "Filter generated type-5 LSAs"; + + grouping DISTRIBUTE-OUT-CONTENT { + description + "DISTRIBUTE OUT CONTENT"; + leaf prefix-list { + type string; + description + "Prefix-list name"; + } + } + leaf all-or-connected-or-static-prefix-list { + when "../protocol-name = 'all' or ../protocol-name = 'connected' or ../protocol-name = 'static'" { + description + "../ProtocolName = All or ../ProtocolName = + Connected or ../ProtocolName = Static"; + } + type string; + description + "Prefix-list name"; + } + leaf protocol-name { + type Ospfv3-protocol; + description + "none"; + } + list bgp { + when "../protocol-name = 'bgp'" { + description + "../ProtocolName = BGP"; + } + key "as-xx as-yy"; + description + "bgp"; + leaf as-xx { + type uint32 { + range "1..65535"; + } + description + "4-byte AS number in asdot (X.Y) format - + first half (X)"; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "4-byte AS number in asdot (X.Y) format - + second half (Y), or 2-byte AS number, or + 4-byte AS number in asplain format"; + } + uses DISTRIBUTE-OUT-CONTENT; + } + list ospfv3-or-isis { + when "../protocol-name = 'ospfv3' or ../protocol-name = 'isis'" { + description + "../ProtocolName = OSPFv3 or ../ProtocolName + = ISIS"; + } + key "process-name"; + description + "ospfv3 or isis"; + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "If ISIS or OSPFv3, specify the instance name"; + } + uses DISTRIBUTE-OUT-CONTENT; + } + list eigrp { + when "../protocol-name = 'eigrp'" { + description + "../ProtocolName = EIGRP"; + } + key "as-xx"; + description + "eigrp"; + leaf as-xx { + type uint32 { + range "1..65535"; + } + description + "4-byte AS number in asdot (X.Y) format - + first half (X)"; + } + uses DISTRIBUTE-OUT-CONTENT; + } + } + } + } + } + + grouping DISTRIBUTE-LIST { + description + "Common node of default-vrf, vrfCommon node of + default-vrf, vrf"; + container distribute-list { + description + "Filter prefixes to/from RIB"; + container in { + description + "Filter prefixes installed to RIB"; + leaf prefix-list { + type string; + description + "Filter prefixes based on an IPv6 prefix-list"; + } + } + } + } + + grouping COST { + description + "Common node of default-vrf, vrf"; + leaf cost { + type uint32 { + range "1..65535"; + } + description + "Interface cost"; + } + } + + grouping PACKET-SIZE { + description + "Common node of default-vrf, vrf"; + leaf packet-size { + type uint32 { + range "256..10000"; + } + description + "Limit size of OSPFv3 packets"; + } + } + + grouping FAST-REROUTE { + description + "Common node of default-vrf, vrf"; + container fast-reroute { + description + "Fast-reroute instance scoped parameters"; + container per-link { + description + "Fast-reroute per-link global configuration"; + uses PRIORITY; + } + container per-prefix { + description + "Fast-reroute per-prefix global configuration"; + container tiebreakers { + description + "Fast-reroute tiebreakers configurations"; + list tiebreaker { + key "tiebreaker-type"; + description + "Fast-reroute tiebreakers configuration"; + leaf tiebreaker-type { + type Ospfv3-fast-reroute-tiebreakers; + description + "Tiebreaker type"; + } + leaf tiebreaker-index { + type uint32 { + range "1..255"; + } + mandatory true; + description + "Index value for a tiebreaker"; + } + } + } + leaf load-sharing-disable { + type empty; + description + "Disable load sharing between multiple backups"; + } + uses PRIORITY; + } + } + } + + grouping IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE { + description + "Common node of default-vrf, vrfCommon node of + process-scope, area-scope, interface"; + container fast-reroute { + description + "Fast-reroute configuration"; + container per-link { + description + "Fast-reroute per-link configuration"; + uses FAST-REROUTE-USE-CANDIDATE-ONLY; + uses CANDIDATE-INTERFACE-TABLE; + uses EXCLUDE-INTERFACE-TABLE; + } + container per-prefix { + description + "Fast-reroute per-link configuration"; + uses FAST-REROUTE-USE-CANDIDATE-ONLY; + uses CANDIDATE-INTERFACE-TABLE; + uses EXCLUDE-INTERFACE-TABLE; + } + leaf fast-reroute-enable { + type Ospfv3-fast-reroute; + description + "Enable/Disable Fast-reroute per-link or + per-prefix"; + } + } + } + + grouping SUMMARY-PREFIX-TABLE { + description + "Common node of default-vrf, vrf"; + container summary-prefixes { + description + "Summarize redistributed routes matching + prefix/length"; + list summary-prefix { + key "prefix prefix-length"; + description + "IPv6 address"; + leaf prefix { + type xr:Cisco-ios-xr-string; + description + "IPv6 prefix string format"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "IPV6 prefix length"; + } + leaf not-advertise { + type boolean; + description + "Suppress routes matching prefix/length"; + } + leaf tag { + type uint32 { + range "1..4294967295"; + } + description + "Tag"; + } + } + } + } + + grouping ENABLE { + description + "Common node of rbit, v6bit, max-metric"; + leaf enable { + type empty; + description + "Enabled stub router configuration mode"; + } + } + + grouping MAXIMUM { + description + "Common node of default-vrf, vrf"; + container maximum { + description + "Set OSPFv3 limits"; + container redistributed-prefixes { + description + "Limit number of redistributed prefixes"; + leaf prefixes { + type uint32 { + range "1..4294967295"; + } + description + "Maximum number of prefixes redistributed to + protocol"; + } + leaf threshold { + type uint32 { + range "1..100"; + } + description + "Threshold value (%) at which to generate a + warning message"; + } + leaf warning-only { + type empty; + description + "Only give warning message when limit is + exceeded"; + } + } + leaf interfaces { + type uint32 { + range "1..4294967295"; + } + description + "Specify maximum number of interfaces"; + } + leaf paths { + type uint32 { + range "1..64"; + } + description + "Specify maximum number of paths per route"; + } + } + } + + grouping NETWORK { + description + "Common node of default-vrf, vrf"; + leaf network { + type Ospfv3-network; + description + "Specify network type"; + } + } + + grouping HELLO-INTERVAL { + description + "Common node of default-vrf, vrf"; + leaf hello-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Time between HELLO packets"; + } + } + + grouping PROCESS-SCOPE { + description + "Common node of default-vrf, vrf"; + container process-scope { + description + "Process scope configuration"; + uses IPV6-OSPFV3-INTFOBJ-CFG-FAST-REROUTE; + } + } + + grouping SPF-PREFIX-PRIORITY-POLICY { + description + "Common node of default-vrf, vrf"; + leaf spf-prefix-priority-policy { + type string; + description + "Route policy for SPF prefix prioritization"; + } + } + + grouping MTU-IGNORE { + description + "Common node of default-vrf, vrf"; + leaf mtu-ignore { + type boolean; + description + "Enable/disable ignoring of MTU in DBD packets"; + } + } + + grouping FAST-REROUTE-USE-CANDIDATE-ONLY { + description + "Common node of per-link, per-prefix"; + leaf fast-reroute-use-candidate-only { + type boolean; + default "false"; + description + "Use only interfaces on the candidate list as a + backup path"; + } + } + + grouping GRACEFUL-RESTART { + description + "Common node of default-vrf, vrf"; + container graceful-restart { + description + "Graceful restart configuration"; + leaf interval { + type uint32 { + range "90..3600"; + } + units "second"; + description + "Minimum interval between graceful restarts + (seconds)"; + } + leaf strict-lsa-checking { + type empty; + description + "Terminate graceful restart helper mode if LSA + changed"; + } + leaf helper { + type empty; + description + "Disable router's helper support"; + } + leaf enable { + type empty; + description + "Enable graceful restart"; + } + leaf lifetime { + type uint32 { + range "90..1800"; + } + units "second"; + description + "Maximum route lifetime following restart + (seconds)"; + } + } + } + + grouping BFD { + description + "Common node of default-vrf, vrf"; + container bfd { + description + "Configure BFD parameters"; + leaf interval { + type uint32 { + range "3..30000"; + } + units "millisecond"; + description + "Hello interval in milli-seconds"; + } + leaf detection-multiplier { + type uint32 { + range "2..50"; + } + description + "Detect multiplier"; + } + leaf fast-detect-mode { + type Ospfv3bfd-enable-mode; + description + "Enable or disable BFD fast detection"; + } + } + } + + grouping SNMP { + description + "Common node of default-vrf, vrf"; + container snmp { + description + "SNMP configuration"; + container trap-rate-limit { + description + "SNMP trap rate configuration"; + leaf window-size { + type uint32 { + range "2..60"; + } + description + "Trap rate limit sliding window size"; + } + leaf max-window-traps { + type uint32 { + range "0..300"; + } + description + "Max number of traps sent in window time"; + } + } + leaf context { + type string; + description + "SNMP context configuration"; + } + } + } + + grouping ON-STARTUP { + description + "Common node of rbit, v6bit, max-metric"; + container on-startup { + description + "Enter stub router operational state on startup"; + leaf wait-for-bgp { + type boolean; + default "false"; + description + "Wait until BGP converges (only applicable to + default VRF)"; + } + leaf wait-time { + when "../wait-for-bgp = 0" { + description + "../WaitForBGP = "; + } + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time (in seconds) to stay in stub router + operational state"; + } + } + } + + grouping FLOOD-REDUCTION { + description + "Common node of default-vrf, vrf"; + leaf flood-reduction { + type boolean; + description + "Enable/disable flood reduction"; + } + } + + grouping ON-SWITCHOVER { + description + "Common node of rbit, v6bit, max-metric"; + leaf on-switchover { + type uint32 { + range "5..86400"; + } + units "second"; + description + "Time (in seconds) to stay in stub router + operational state"; + } + } + + grouping DEAD-INTERVAL { + description + "Common node of default-vrf, vrf"; + leaf dead-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Interval after which a neighbor is declared dead + (in seconds)"; + } + } + + grouping INSTANCE { + description + "Common node of default-vrf, vrf"; + leaf instance { + type uint32 { + range "0..255"; + } + description + "Instance ID"; + } + } + + grouping ROUTER-ID { + description + "Common node of default-vrf, vrf"; + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Specify the router ID for this OSPFv3 process in + IPv4 address format"; + } + } + + grouping DEFAULT-METRIC { + description + "Common node of default-vrf, vrf"; + leaf default-metric { + type uint32 { + range "1..16777214"; + } + description + "Set metric of redistributed routes"; + } + } + + grouping RETRANSMIT-INTERVAL { + description + "Common node of default-vrf, vrf"; + leaf retransmit-interval { + type uint32 { + range "1..65535"; + } + units "second"; + description + "Specify the transmit interval in seconds"; + } + } + + grouping PRIORITY { + description + "Common node of per-link, per-prefix"; + leaf priority { + type Ospfv3-fast-reroute-priority; + description + "Fast-reroute per-link/per-prefix priority-limit + command"; + } + } + + grouping IPV6-OSPFV3-CFG-PRIORITY { + description + "Common node of per-link, per-prefixCommon node of + default-vrf, vrf"; + leaf priority { + type uint32 { + range "0..255"; + } + description + "Specify router priority"; + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container ospfv3 { + description + "OSPFv3-MIB notification configuration"; + container error { + description + "SNMP notifications for OSPF errors"; + leaf config-error { + type empty; + description + "Enable ospfv3IfConfigError notification"; + } + leaf bad-packet { + type empty; + description + "Enable ospfv3IfRxBadPacket notification"; + } + leaf virtual-bad-packet { + type empty; + description + "Enable ospfv3VirtIfRxBadPacket notification"; + } + leaf virtual-config-error { + type empty; + description + "Enable ospfv3VirtIfConfigError notification"; + } + } + container state-change { + description + "SNMP notifications for OSPF state change"; + leaf restart-virtual-helper { + type empty; + description + "Enable ospfv3VirtNbrRestartHelperStatusChange + notification"; + } + leaf nssa-translator { + type empty; + description + "Enable ospfv3NssaTranslatorStatusChange + notification"; + } + leaf interface { + type empty; + description + "Enable ospfv3IfStateChange notification"; + } + leaf restart { + type empty; + description + "Enable ospfv3RestartStatusChange notification"; + } + leaf neighbor { + type empty; + description + "Enable ospfv3NbrStateChange notification"; + } + leaf virtual-interface { + type empty; + description + "Enable ospfv3VirtIfStateChange notification"; + } + leaf restart-helper { + type empty; + description + "Enable ospfv3NbrRestartHelperStatusChange + notification"; + } + leaf virtual-neighbor { + type empty; + description + "Enable ospfv3VirtNbrStateChange notification"; + } + } + } + } + container ospfv3 { + description + "OSPFv3 configuration"; + container processes { + description + "OSPFv3 processes"; + list process { + key "process-name"; + description + "An OSPFv3 process"; + container default-vrf { + description + "Default VRF related configuration"; + leaf ldp-sync { + type boolean; + description + "Enable/Disable MPLS LDP sync"; + } + leaf prefix-suppression { + type boolean; + description + "Enable/disable prefix suppression on an + interface"; + } + leaf spf-prefix-priority-disable { + type empty; + description + "SPF prefix prioritization disabled"; + } + uses AREA-TABLE; + uses TIMERS; + uses SUMMARY-PREFIX-TABLE; + uses SNMP; + uses FAST-REROUTE; + uses RETRANSMIT-INTERVAL; + uses DISTANCE; + uses PASSIVE; + uses DEFAULT-METRIC; + uses FLOOD-REDUCTION; + uses MAXIMUM; + uses REDISTRIBUTE-TABLE; + uses IGNORE; + uses DISTRIBUTE-LIST-OUT; + uses DISTRIBUTE-LIST; + uses HELLO-INTERVAL; + uses STUB-ROUTER; + uses IPV6-OSPFV3-CFG-PRIORITY; + uses BFD; + uses COST; + uses DEAD-INTERVAL; + uses PACKET-SIZE; + uses INSTANCE; + uses SPF-PREFIX-PRIORITY-POLICY; + uses DATABASE-FILTER; + uses ROUTER-ID; + uses NETWORK; + uses MTU-IGNORE; + uses LOG-ADJACENCY-CHANGES; + uses AUTHENTICATION; + uses DEMAND-CIRCUIT; + uses GRACEFUL-RESTART; + uses DEFAULT-INFORMATION; + uses PROCESS-SCOPE; + uses ENCRYPTION; + uses AUTO-COST; + uses TRANSMIT-DELAY; + } + container vrfs { + description + "VRF related configuration"; + list vrf { + key "vrf-name"; + description + "Configuration for a particular OSPF VRF"; + container capability { + description + "OSPFv3 Capability"; + leaf vrf-lite { + type boolean; + description + "Enable VRF Lite"; + } + } + container domain-id { + description + "OSPFv3 Domain ID"; + container secondary-domain-ids { + description + "Secondary domain ID Table"; + list secondary-domain-id { + key "domain-id-type domain-id-name"; + description + "OSPF Secondary domain ID"; + leaf domain-id-type { + type Ospfv3-domain-id; + description + "Secondary domain ID type"; + } + leaf domain-id-name { + type xr:Cisco-ios-xr-string; + description + "Secondary domain ID value"; + } + } + } + container primary-domain-id { + description + "OSPF Primary domain ID"; + leaf domain-id-type { + type Ospfv3-domain-id; + description + "Primary domain ID type"; + } + leaf domain-id-name { + type string; + description + "Primary domain ID value"; + } + } + } + leaf enable { + type empty; + description + "Enable OSPFv3 VRF configuration"; + } + leaf snmpvrf-trap { + type empty; + description + "Enable SNMP trap configuration in a VRF"; + } + leaf prefix-suppression { + type boolean; + description + "Enable/disable prefix suppression on an + interface"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name for this VRF"; + } + uses AREA-TABLE; + uses TIMERS; + uses SUMMARY-PREFIX-TABLE; + uses SNMP; + uses FAST-REROUTE; + uses RETRANSMIT-INTERVAL; + uses DISTANCE; + uses PASSIVE; + uses DEFAULT-METRIC; + uses FLOOD-REDUCTION; + uses MAXIMUM; + uses REDISTRIBUTE-TABLE; + uses IGNORE; + uses DISTRIBUTE-LIST-OUT; + uses DISTRIBUTE-LIST; + uses HELLO-INTERVAL; + uses STUB-ROUTER; + uses IPV6-OSPFV3-CFG-PRIORITY; + uses BFD; + uses COST; + uses DEAD-INTERVAL; + uses PACKET-SIZE; + uses INSTANCE; + uses SPF-PREFIX-PRIORITY-POLICY; + uses DATABASE-FILTER; + uses ROUTER-ID; + uses NETWORK; + uses MTU-IGNORE; + uses LOG-ADJACENCY-CHANGES; + uses AUTHENTICATION; + uses DEMAND-CIRCUIT; + uses GRACEFUL-RESTART; + uses DEFAULT-INFORMATION; + uses PROCESS-SCOPE; + uses ENCRYPTION; + uses AUTO-COST; + uses TRANSMIT-DELAY; + } + } + container af { + presence "Indicates a af node is configured."; + description + "Address Family (AF)"; + leaf af-name { + type Ospfv3-address-family; + mandatory true; + description + "Address Family (AF) identifier"; + } + leaf saf-name { + type Ospfv3-subsequent-address-family; + description + "Subsequent Address Family (SAF) identifier"; + } + } + container trace-bufs { + description + "Configuration to change size of trace buffer"; + list trace-buf { + key "trace-buf-name"; + description + "Changes the size of the specified trace + buffer"; + leaf trace-buf-name { + type xr:Cisco-ios-xr-string; + description + "Name for this trace buffer"; + } + leaf bufsize { + type Ospfv3-trace-buf-size; + mandatory true; + description + "Buffer size"; + } + } + } + leaf nsr { + type Ospfv3nsr; + default "true"; + description + "Enable non-stop routing"; + } + leaf protocol-shutdown { + type empty; + description + "Enable protocol shutdown"; + } + leaf enable { + type empty; + description + "Enable OSPFv3"; + } + leaf process-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "OSPFv3 process name"; + } + } + } + leaf dns-name-lookup { + type empty; + description + "Enable OSPFv3 router IDs as DNS names"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang new file mode 100644 index 0000000..6a87e17 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper-sub1.yang @@ -0,0 +1,4964 @@ +submodule Cisco-IOS-XR-ipv6-ospfv3-oper-sub1 { + belongs-to Cisco-IOS-XR-ipv6-ospfv3-oper { + prefix Cisco-IOS-XR-ipv6-ospfv3-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ospfv3 package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-30 { + description + "Added link information in grace LSA."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospf-nsr-sched-pri { + type enumeration { + enum "ospf-nsr-stats-sched-pri-hi" { + value 0; + description + "ospf nsr stats sched pri hi"; + } + enum "ospf-nsr-stats-sched-pri-med" { + value 1; + description + "ospf nsr stats sched pri med"; + } + enum "ospf-nsr-stats-sched-pri-low" { + value 2; + description + "ospf nsr stats sched pri low"; + } + enum "ospf-nsr-stats-sched-pri-max" { + value 3; + description + "ospf nsr stats sched pri max"; + } + } + description + "Ospf nsr sched pri"; + } + + typedef Ospfv3-graceful-shutdown-state { + type enumeration { + enum "init" { + value 0; + description + "Init"; + } + enum "normal" { + value 1; + description + "Normal"; + } + enum "flushing" { + value 2; + description + "Flushing"; + } + enum "empty-hellos" { + value 3; + description + "Empty Hellos"; + } + enum "quiet" { + value 4; + description + "Quiet"; + } + } + description + "Graceful Shutdown state"; + } + + typedef Ipfrr-tbrkr { + type enumeration { + enum "downstream" { + value 0; + description + "Downsteram"; + } + enum "line-card-disjoint" { + value 1; + description + "LC Disjoint"; + } + enum "backup-metric" { + value 2; + description + "Backup metric"; + } + enum "node-protect" { + value 3; + description + "Node protection"; + } + enum "primary-path" { + value 4; + description + "Primary path"; + } + enum "secondary-path" { + value 5; + description + "Secondary path"; + } + enum "srlg-disjoint" { + value 6; + description + "SRLG disjoint"; + } + enum "tunnel" { + value 7; + description + "Tunnel"; + } + } + description + "FRR Tiebreakers"; + } + + typedef Stub-router-abr-off-reason { + type enumeration { + enum "init-delay" { + value 2; + description + "Initial delay when stub router mode is + activated"; + } + enum "no-neighbor" { + value 3; + description + "No neighbor present"; + } + enum "no-full-neighbor" { + value 4; + description + "No neighbor in FULL state present"; + } + enum "new-neighbor" { + value 5; + description + "A new neighbor discovered less than 60 seconds + ago"; + } + enum "full-neighbor" { + value 6; + description + "A neighbor transitioned to FULL state less than + 60 seconds ago"; + } + } + description + "Reason to exiting stub router mode"; + } + + typedef Stub-router-exit-reason { + type enumeration { + enum "none" { + value 0; + description + "No reason"; + } + enum "bgp" { + value 1; + description + "BGP has converged"; + } + enum "timer" { + value 2; + description + "Stub Router timer has expired"; + } + enum "configuration" { + value 3; + description + "Configuration has changed"; + } + enum "cleared" { + value 4; + description + "Process has been cleared"; + } + enum "override" { + value 5; + description + "Preempted by always"; + } + } + description + "Reason to exiting stub router mode"; + } + + typedef Stub-router-trigger { + type enumeration { + enum "on-proc-migration" { + value 0; + description + "Process migration"; + } + enum "on-proc-restart" { + value 1; + description + "Process restart"; + } + enum "on-switchover" { + value 2; + description + "RP switchover"; + } + enum "on-startup" { + value 3; + description + "Router startup"; + } + enum "always" { + value 4; + description + "Always on"; + } + enum "none" { + value 5; + description + "No trigger"; + } + } + description + "Trigger for entering stub router mode"; + } + + typedef Stub-router-mode { + type enumeration { + enum "rbit" { + value 0; + description + "Stub Router mode r-bit"; + } + enum "v6bit" { + value 1; + description + "Stub Router mode v6-bit"; + } + enum "max-metric" { + value 2; + description + "Stub Router mode max-metric"; + } + enum "none" { + value 3; + description + "Stub Router not configured"; + } + } + description + "Stub Router mode"; + } + + typedef Ospfv3-interface { + type enumeration { + enum "none" { + description + "None"; + } + enum "broadcast" { + description + "Broadcast"; + } + enum "non-broadcast" { + description + "Non broadcast"; + } + enum "point-to-point" { + description + "Point To Point"; + } + enum "point-to-multipoint" { + description + "Point To Multipoint"; + } + enum "point-to-multipoint-non-broadcast" { + description + "Point-To-Multipoint Non broadcast"; + } + enum "virtual-link" { + description + "Virtual link"; + } + enum "loopback-interface" { + description + "Loopback"; + } + enum "mpls-traffic-engineering" { + description + "MPLS traffic engineering"; + } + enum "sham-link" { + description + "Sham link"; + } + } + description + "OSPFv3 neighbor interface types"; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + typedef Ospfv3-graceful-restart-reason { + type enumeration { + enum "grace-reason-unknown" { + description + "Grace reason unknown"; + } + enum "grace-reason-software-restart" { + description + "Grace reason software restart"; + } + enum "grace-reason-software-upgrade" { + description + "Software reload/upgrade, RFC 3623"; + } + enum "grace-reason-switchover" { + description + "Switch to redundant control processor"; + } + } + description + "Reason for router restart"; + } + + typedef Ospfv3-lsa1 { + type enumeration { + enum "link" { + value 8; + description + "Link LSA"; + } + enum "grace" { + value 11; + description + "Grace LSA"; + } + enum "router" { + value 8193; + description + "Router LSA"; + } + enum "network" { + value 8194; + description + "Network LSA"; + } + enum "inter-area-prefix" { + value 8195; + description + "Inter area prefix LSA"; + } + enum "inter-area-router" { + value 8196; + description + "Inter area router LSA"; + } + enum "mospf" { + value 8198; + description + "MOSPF LSA"; + } + enum "type7-external" { + value 8199; + description + "Type-7 External LSA"; + } + enum "lsa-prefix" { + value 8201; + description + "Prefix LSA"; + } + enum "as-external" { + value 16389; + description + "AS external LSA"; + } + enum "unknown-link" { + value 32768; + description + "Unknown link LSA"; + } + enum "unknown-area" { + value 40960; + description + "Unknown area LSA"; + } + enum "unknown-as" { + value 49152; + description + "Unknown AS LSA"; + } + enum "unknown-type" { + value 57344; + description + "Unknown type LSA"; + } + } + description + "OSPFv3 LSA types"; + } + + typedef Prefix-priority { + type enumeration { + enum "critical" { + value 0; + description + "Critical priority"; + } + enum "high" { + value 1; + description + "High priority"; + } + enum "medium" { + value 2; + description + "Medium priority"; + } + enum "low" { + value 3; + description + "Low priority"; + } + } + description + "Prefix priority"; + } + + typedef Ospfv3-link { + type enumeration { + enum "link-router" { + value 1; + description + "Router link"; + } + enum "link-trans-net" { + value 2; + description + "Transit network link"; + } + enum "link-virtual-link" { + value 4; + description + "Virutal link"; + } + } + description + "OSPFV3 Link type"; + } + + typedef Ospf-lsa-sync-state { + type enumeration { + enum "none" { + description + "State not set"; + } + enum "out-of-sync" { + description + "LSA out of sync with active"; + } + enum "in-sync" { + description + "LSA in sync with active"; + } + enum "nsr-ack-pending" { + description + "NSR ack pending for LSA sync"; + } + } + description + "LSA synchronization states"; + } + + typedef Ospfv3-lsa-info-types { + type enumeration { + enum "mgmt-lsa-lsasum-type" { + value 0; + description + "Summary information of LSAs"; + } + enum "mgmt-lsa-link-type" { + value 8; + description + "Link LSA"; + } + enum "mgmt-lsa-gr-type" { + value 11; + description + "Grace LSA"; + } + enum "mgmt-lsa-rtr-type" { + value 8193; + description + "Router LSA"; + } + enum "mgmt-lsa-net-type" { + value 8194; + description + "Network LSA"; + } + enum "mgmt-lsa-iapfx-type" { + value 8195; + description + "Inter Area Prefix Summary LSA"; + } + enum "mgmt-lsa-iartr-type" { + value 8196; + description + "Inter Area Router Summay LSA"; + } + enum "mgmt-lsa-nssaext-type" { + value 8199; + description + "NSSA external LSA"; + } + enum "mgmt-lsa-prefix-type" { + value 8201; + description + "Intra Area Prefix LSA"; + } + enum "mgmt-lsa-ext-type" { + value 16389; + description + "Type 5 External LSA"; + } + enum "mgmt-lsa-unk-link-type" { + value 32768; + description + "Opaque Link scope LSA"; + } + enum "mgmt-lsa-unk-area-type" { + value 40960; + description + "Opaque Area scope LSA"; + } + enum "mgmt-lsa-unk-as-type" { + value 49152; + description + "Opaque AS scope LSA"; + } + enum "mgmt-lsa-unk-type" { + value 57344; + description + "Opaque Reserved scope LSA"; + } + } + description + "OSPFv3 LSA format types"; + } + + typedef Ospfv3-area-range-status { + type enumeration { + enum "advertise" { + value 1; + description + "Advertise this range"; + } + enum "do-not-advertise" { + value 2; + description + "Do not advertise this range"; + } + } + description + "Ospfv3 area range status"; + } + + typedef Ospfv3-neighbor-state { + type enumeration { + enum "neigbhor-down" { + description + "Down"; + } + enum "attempt" { + description + "Attempting"; + } + enum "init" { + description + "Initializing"; + } + enum "two-way" { + description + "2 Way"; + } + enum "exstart" { + description + "Exstart"; + } + enum "exchange" { + description + "Exchange"; + } + enum "loading" { + description + "Loading"; + } + enum "full" { + description + "Full"; + } + enum "sc-virtual" { + description + "SCVirtual"; + } + } + description + "OSPFv3 neighbor states"; + } + + typedef Ospfv3-interface-state { + type enumeration { + enum "down" { + description + "Down"; + } + enum "loopback" { + description + "Loopback"; + } + enum "waiting" { + description + "Waiting"; + } + enum "point-to-multipoint" { + description + "Point To Multipoint"; + } + enum "point-to-point" { + description + "Point To Point"; + } + enum "designated-router" { + description + "Designated router"; + } + enum "backup-designated-router" { + description + "Backup designated router"; + } + enum "other-designated-router" { + description + "Other designated router"; + } + } + description + "OSPFv3 interface states"; + } + + typedef Ospfv3-border-route { + type enumeration { + enum "abr" { + value 1; + description + "Area border router"; + } + enum "asbr" { + value 2; + description + "Area system boundary router"; + } + enum "abr-asbr" { + value 3; + description + "Area border router and area system boundary + router"; + } + } + description + "OSPFv3 border route destination types"; + } + + typedef Ospfv3-default-metric { + type enumeration { + enum "type-none" { + description + "OSPFv3 default metric type None "; + } + enum "type1" { + description + "OSPFv3 default metric type 1 "; + } + enum "type2" { + description + "OSPFv3 default metric type 2 "; + } + } + description + "OSPFv3 default metric types "; + } + + grouping NSR-PL-RECV-DROP-ARRAY { + description + "NSR PL RECV DROP ARRAY"; + leaf-list nsr-pl-recv-drop-array { + type uint32; + max-elements "16"; + description + "nsr pl recv drop array"; + } + } + + grouping NSR-PL-SEND-DROP-ARRAY { + description + "NSR PL SEND DROP ARRAY"; + leaf-list nsr-pl-send-drop-array { + type uint32; + max-elements "7"; + description + "nsr pl send drop array"; + } + } + + grouping NSR-PL-CLIENT-STATS-TYPE { + description + "NSR PL stats information"; + leaf-list num-sent { + type uint64; + max-elements "5"; + description + "Total sent"; + } + leaf-list num-recv { + type uint64; + max-elements "6"; + description + "Total recvd"; + } + list num-sent-drop { + max-elements "5"; + description + "Sent Error/drops"; + uses NSR-PL-SEND-DROP-ARRAY; + } + list num-recv-drop { + max-elements "6"; + description + "Recv Errors/drops"; + uses NSR-PL-RECV-DROP-ARRAY; + } + } + + grouping OSPF-SH-NCD-STATS { + description + "OSPF SH NCD STATS"; + list ncd-pri { + max-elements "2"; + description + "ncd pri"; + uses NSR-PL-CLIENT-STATS-TYPE; + } + } + + grouping OSPFV3-EDM-RTHREAD-QUEUE-STATS { + description + "OSPFv3 RIB thread queue statistics"; + leaf wq-eqtime { + type uint64; + description + "Head Entry Enqueue"; + } + leaf wq-dqtime { + type uint64; + description + "Last Entry Dequeue"; + } + leaf wq-first-eqtime { + type uint64; + description + "First Entry Enqueue"; + } + leaf wq-len-cur { + type int32; + description + "Current Work Queue Length"; + } + leaf wq-len-max { + type int32; + description + "Largest Work Queue Length"; + } + leaf wq-total-enqueued { + type uint32; + description + "Total Entries Enqueued"; + } + leaf wq-total-dequeued { + type uint32; + description + "Total Entries Dequeued"; + } + leaf wq-eneueue-errs { + type uint32; + description + "Enqueue Errors"; + } + leaf wq-dequeue-errs { + type uint32; + description + "Dequeue Errors"; + } + leaf wq-max-latency { + type uint64; + description + "Max Time Entry Was In Q"; + } + leaf wq-sum-latency { + type uint64; + description + "Sum Latencies To Calc Average"; + } + } + + grouping OSPFV3-EDM-RTHREAD-STATS { + description + "OSPFv3 RIB thread statistics"; + container thread-q { + description + "Inter Thread Queue"; + uses OSPFV3-EDM-RTHREAD-QUEUE-STATS; + } + container rib-base-time { + description + "rib base time"; + uses OSPFV3-EDM-TIME; + } + leaf wq-thread-active { + type boolean; + description + "RIB Thread Active Indicator"; + } + leaf wq-signals { + type uint32; + description + "Signals sent to RIB Thread"; + } + leaf rib-base-clock { + type uint64; + description + "Rib Base Clock"; + } + leaf rib-batch-sent { + type uint32; + description + "No. of Rib batches sent"; + } + leaf rib-batch-purged { + type uint32; + description + "No. of Rib batches purged"; + } + leaf rib-drop-version { + type uint32; + description + "Rib drop version"; + } + leaf rib-drop-conn { + type uint32; + description + "Rib drop connections"; + } + leaf rib-batch-ok { + type uint32; + description + "Rib Batches Ok"; + } + leaf rib-batch-backup { + type uint32; + description + "Rib Batches Back up"; + } + leaf rib-batch-limit { + type uint32; + description + "Rib Batches Limit"; + } + leaf rib-batch-no-table { + type uint32; + description + "Batches no table"; + } + leaf rib-batch-some-err { + type uint32; + description + "Batches with some error"; + } + leaf rib-batch-err { + type uint32; + description + "Batch errors"; + } + leaf rib-route-limit { + type uint32; + description + "Route table limit"; + } + leaf rib-route-some-err { + type uint32; + description + "Route some errors"; + } + leaf rib-route-err { + type uint32; + description + "Route Errors"; + } + leaf rib-path-limit { + type uint32; + description + "Route path limits"; + } + leaf rib-path-err { + type uint32; + description + "Route path errors"; + } + leaf rib-max-latency { + type uint64; + description + "Max time entry was in queue"; + } + leaf rib-sum-latency { + type uint64; + description + "Sum latencies to calc average"; + } + list holdq { + max-elements "4"; + description + "holdq"; + uses OSPFV3-EDM-RTHREAD-QUEUE-STATS; + } + } + + grouping OSPF-SH-NSR-STATS-PRI { + description + "OSPF SH NSR STATS PRI"; + leaf nsr-sched-pri { + type Ospf-nsr-sched-pri; + description + "Priority Type"; + } + leaf nsr-sched-quant { + type uint8; + description + "Priority Queue"; + } + leaf nsr-sched-remain-quant { + type uint8; + description + "Remaining quantum"; + } + leaf nsr-sched-evs-in-q { + type uint16; + description + "Events pending"; + } + leaf nsr-sched-max-evs { + type uint16; + description + "Max Queued"; + } + leaf nsr-sched-peak-q-len { + type uint16; + description + "Peak queue length"; + } + leaf nsr-sched-evs-qd { + type uint64; + description + "Events queued"; + } + leaf nsr-sched-enq-fails { + type uint64; + description + "Event enqueue fails"; + } + leaf nsr-sched-evs-deqd { + type uint64; + description + "Events dequeued"; + } + } + + grouping OSPF-SH-NSR-SCHED-STATS { + description + "OSPF SH NSR SCHED STATS"; + leaf nsr-pulse-quant { + type int32; + description + "Events processed per pulse"; + } + leaf nsr-events-in-q { + type uint32; + description + "Events pending"; + } + leaf nsr-events-tx { + type uint64; + description + "Events to Router thread"; + } + leaf nsr-events-rx { + type uint64; + description + "Events processed"; + } + leaf nsr-bad-pulses-rx { + type uint64; + description + "Bad pulses received"; + } + leaf nsr-good-pulses-rx { + type uint64; + description + "Good pulses received"; + } + leaf nsr-pulses-tx { + type uint64; + description + "Pulses to Router thread"; + } + leaf nsr-pulse-tx-fails { + type uint64; + description + "Pulse send failures"; + } + list nsr-pri { + max-elements "3"; + description + "nsr pri"; + uses OSPF-SH-NSR-STATS-PRI; + } + } + + grouping OSPFV3-EDM-NSR-STATS { + description + "OSPFV3 EDM NSR STATS"; + container nsr-thd-stats { + description + "NSR thread scheduler stats"; + uses OSPF-SH-NSR-SCHED-STATS; + } + container nsr-rtr-thd-sched { + description + "Rtr thread NSR pulse handler stats"; + uses OSPF-SH-NSR-SCHED-STATS; + } + leaf nsr-revision { + type int32; + description + "NSR revision"; + } + leaf nsr-fsm-state { + type int32; + description + "FSM state"; + } + leaf nsr-version { + type uint32; + description + "NSR version"; + } + leaf nsr-node-id { + type uint32; + description + "My nodeid"; + } + leaf nsr-peer-version { + type uint32; + description + "Partner NSR version"; + } + leaf nsr-peer-node-id { + type uint32; + description + "Partner NodeID"; + } + leaf nsr-mtu { + type uint32; + description + "Fabric MTU"; + } + leaf nsr-nbr-qad-qid { + type uint32; + description + "NBR QAD queue id"; + } + leaf nsr-lsa-qad-qid { + type uint32; + description + "LSA QAD queue id"; + } + leaf nsr-nbr-qad-mdata-count { + type uint32; + description + "NBR QAD pending msg"; + } + leaf nsr-lsa-qad-mdata-count { + type uint32; + description + "LSA QAD pending msgs"; + } + leaf nsr-nbr-init-sync-pend-count { + type int32; + description + "Pending init-sync NBR msgs"; + } + leaf nsr-lsa-init-sync-pend-count { + type int32; + description + "Pending init-sync LSA msgs"; + } + leaf nsr-nbr-seq-no { + type uint32; + description + "Neighbor TLV sequence no"; + } + leaf nsr-intf-seq-no { + type uint32; + description + "Interface TLV sequence no"; + } + leaf nsr-tmr-quant { + type int32; + description + "Timers processed per pulse"; + } + leaf nsr-conn-to-active-attempts { + type uint64; + description + "Attempts to connect to active"; + } + leaf nsr-conn-to-active-fails { + type uint64; + description + "Failures to connect to active"; + } + leaf nsr-conn-to-active-opens { + type uint64; + description + "Conn to active opens"; + } + leaf nsr-conn-to-active-closes { + type uint64; + description + "Conn to active closes"; + } + leaf nsr-conn-to-active-errors { + type uint64; + description + "Conn to active errors"; + } + } + + grouping OSPF-SH-IPFRR-TOPO-ENTRY { + description + "OSPF_IPFRR Topology Entry"; + leaf node-id { + type inet:ipv4-address; + description + "IPFRR Topology Node ID"; + } + leaf lsaid { + type uint32; + description + "IPFRR Topology LSA ID"; + } + leaf distance { + type uint32; + description + "IPFRR Topology Distance"; + } + leaf type4 { + type boolean; + description + "IPFRR Topoogy Type-4 entry"; + } + leaf revision { + type uint32; + description + "IPFRR Topology Revision"; + } + leaf neighbor-sourced { + type boolean; + description + "IPFRR Topology Neighbor Sourced"; + } + leaf dr { + type boolean; + description + "IPFRR Topology DR entry"; + } + } + + grouping OSPFV3-SH-IPFRR-TOPO { + description + "OSPF IPFRR Topology Information"; + leaf ipfrr-topo-area-id { + type string { + length "0..16"; + } + description + "Area ID string in decimal or dotted decimal + format"; + } + leaf ipfrr-router-id { + type inet:ipv4-address; + description + "OSPF Router ID"; + } + leaf ipfrr-area-revision { + type uint32; + description + "IPFRR Topology Revision"; + } + list ipfrr-topo { + description + "IPFRR Topology entries"; + uses OSPF-SH-IPFRR-TOPO-ENTRY; + } + } + + grouping OSPFV3-SH-BAD-CHECKSUM { + description + "OSPFv3 Bad Checksum"; + container timestamp { + description + "Packet Timestamp (relative to 1970/1/1 00:00)"; + uses OSPFV3-EDM-TIME; + } + leaf received-checksum { + type uint16; + description + "Received Checksum"; + } + leaf computed-checksum { + type uint16; + description + "Computed Checksum"; + } + leaf received-data { + type yang:hex-string; + description + "Received Hexadecimal Data"; + } + } + + grouping OSPF-SH-IPFRR-TB { + description + "OSPF IPFRR Tiebreakers"; + leaf tiebreaker-type { + type Ipfrr-tbrkr; + description + "Tiebreaker Type"; + } + leaf tiebreaker-index { + type uint32; + description + "Tiebreaker Index"; + } + } + + grouping OSPFV3-SH-STUB-ROUTER-TRIGGER { + description + "OSPFv3 stub router trigger information"; + container unset-time { + description + "Timestamp (relative to 1970/1/1 00:00) when stub + router condition was cleared"; + uses OSPFV3-EDM-TIME; + } + container start-time { + description + "Timestamp (relative to 1970/1/1 00:00) when stub + router mode was activated"; + uses OSPFV3-EDM-TIME; + } + leaf trigger { + type Stub-router-trigger; + description + "Stub Router Trigger type"; + } + leaf wait-for-bgp { + type boolean; + description + "If true, stub router is terminated when BGP + converges"; + } + leaf unset-reason { + type Stub-router-exit-reason; + description + "Reason for clearing stub router condition"; + } + leaf time { + type uint32; + units "second"; + description + "Time (in seconds) to stay in stub router mode"; + } + } + + grouping OSPFV3-EDM-TIME { + description + "OSPFv3 time stamp"; + leaf second { + type uint32; + units "second"; + description + "Seconds "; + } + leaf nanosecond { + type uint32; + units "nanosecond"; + description + "Nano seconds "; + } + } + + grouping OSPFV3-SH-STUB-ROUTER { + description + "OSPFv3 Stub Router Information"; + container unset-time { + description + "Timestamp (relative to 1970/1/1 00:00) when stub + router condition was cleared"; + uses OSPFV3-EDM-TIME; + } + container start-time { + description + "Timestamp (relative to 1970/1/1 00:00) when stub + router mode was activated"; + uses OSPFV3-EDM-TIME; + } + container abr-resume-time { + description + "Timestamp (relative to 1970/1/1 00:00) when ABR + duties were resumed"; + uses OSPFV3-EDM-TIME; + } + leaf mode { + type Stub-router-mode; + description + "Stub router mode"; + } + leaf active { + type boolean; + description + "If true, stub router mode is active"; + } + leaf remaining-time { + type uint32; + units "second"; + description + "Remaining time (in seconds) in stub router mode"; + } + leaf set-reason { + type Stub-router-trigger; + description + "Reason for entering stub router mode"; + } + leaf unset-reason { + type Stub-router-exit-reason; + description + "Reason for clearing stub router condition"; + } + leaf include-stub-links { + type boolean; + description + "If true, advertise maximum metric for stub links"; + } + leaf summary-lsa-metric { + type uint32; + description + "Metric for summary LSAs in max-metric mode"; + } + leaf external-lsa-metric { + type uint32; + description + "Metric for external LSAs in max-metric mode"; + } + leaf abr-off-reason { + type Stub-router-abr-off-reason; + description + "Reason for being in ABR off mode"; + } + list trigger { + description + "Triggers for entering stub router mode"; + uses OSPFV3-SH-STUB-ROUTER-TRIGGER; + } + } + + grouping OSPFV3-SH-DOMAIN-ID-ENTRY { + description + "OSPF Domain ID"; + leaf domain-id-type { + type uint16; + description + "Domain ID Type"; + } + leaf domain-id-value { + type yang:hex-string; + description + "Domain ID value"; + } + } + + grouping OSPFV3-SH-DOMAIN-ID { + description + "OSPF Domain ID entries"; + container primary-domain-id { + description + "Primary Domain ID"; + uses OSPFV3-SH-DOMAIN-ID-ENTRY; + } + list secondary-domain-id { + description + "List of secondary domain IDs"; + uses OSPFV3-SH-DOMAIN-ID-ENTRY; + } + } + + grouping OSPFV3-EDM-SUMMARY { + description + "OSPFv3 summary"; + container domain-id { + description + "Domain ID information"; + uses OSPFV3-SH-DOMAIN-ID; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf is-role-standby { + type boolean; + description + "If true, the process is running as stanby role"; + } + leaf role { + type uint32; + description + "Role, V1/V2 Active/Standby"; + } + leaf is-nsr-enabled { + type boolean; + description + "If true, NSR is enabled"; + } + leaf is-nsr-switchover-on-restart { + type boolean; + description + "Trigger RP Switchover on detectable process + restart"; + } + leaf is-router-id-stalled { + type boolean; + description + "Stalled Router ID "; + } + leaf is-opaque-capable { + type boolean; + description + "Opaque LSA capable "; + } + leaf is-area-border-router { + type boolean; + description + "If true, is an area border router"; + } + leaf is-as-border-router { + type boolean; + description + "If true, is an AS border router"; + } + leaf metric { + type uint32; + description + "Redistribution metric "; + } + leaf is-default-originated { + type boolean; + description + "If true, origin is by default "; + } + leaf is-default-always { + type boolean; + description + "If true, default always "; + } + leaf default-metric { + type uint32; + description + "Default metric "; + } + leaf default-metric-type { + type Ospfv3-default-metric; + description + "Default metric type "; + } + leaf default-tag { + type uint32; + description + "Default tag "; + } + leaf is-default-policy { + type boolean; + description + "If true, is a default policy "; + } + leaf default-policy-name { + type string; + description + "Default policy name "; + } + leaf spf-start-time { + type uint32; + description + "Scheduling delay for SPF (ms)"; + } + leaf spf-hold-time { + type uint32; + description + "Minimum delay time between SPF runs (ms)"; + } + leaf spf-maximum-time { + type uint32; + description + "Maximum delay time between SPF runs (ms)"; + } + leaf lsa-start-time { + type uint32; + description + "Initial LSA throttle delay (ms)"; + } + leaf lsa-hold-time { + type uint32; + description + "Second delay before generating next LSA (ms)"; + } + leaf lsa-maximum-time { + type uint32; + description + "Maximum delay before generating an LSA (ms)"; + } + leaf minimum-lsa-interval { + type uint32; + description + "Minimum time between LSA regeneration (ms)"; + } + leaf lsa-group-interval { + type uint32; + description + "LSA refresh interval (sec)"; + } + leaf lsa-flood-pacing-interval { + type uint32; + description + "LSA flood pacing timer (ms)"; + } + leaf lsa-retransmission-pacing-interval { + type uint32; + description + "LSA retransmission pacing timer (ms)"; + } + leaf as-ls-as { + type uint32; + description + "Number of AS scope LSAs"; + } + leaf opaque-lsas { + type uint32; + description + "Number of opaque LSAs"; + } + leaf opaque-lsa-checksum { + type uint32; + description + "Sum of opaque LSA checksum"; + } + leaf as-dc-bitless-ls-as { + type uint32; + description + "Number of external and AS opaque LSAs with + demand circut bit not set"; + } + leaf as-do-not-age-ls-as { + type uint32; + description + "Number of external and AS opaque LSAs with do + not age set "; + } + leaf areas { + type uint16; + description + "Number of areas"; + } + leaf normal-areas { + type uint16; + description + "Number of normal areas"; + } + leaf stub-areas { + type uint16; + description + "Number of stub and total stub areas"; + } + leaf nssa-areas { + type uint16; + description + "Number of NSSA areas"; + } + leaf as-lsa-flood-list-length { + type uint32; + description + "Length of AS LSAs flood list"; + } + leaf is-grace-restart-enabled { + type boolean; + description + "If true, grace restart is enabled "; + } + leaf last-nsf-time { + type uint32; + description + " Length of time since the last NSF (s)"; + } + leaf grace-resync-time { + type uint32; + description + "Grace time to resync "; + } + leaf maximum-interfaces { + type uint32; + description + "Maximum number of interfaces"; + } + leaf maximum-paths { + type uint32; + description + "Maximum number of paths"; + } + leaf redistribution-limit { + type uint32; + description + "The number of redistributed prefixes allowed"; + } + leaf redistribution-threshold { + type uint32; + description + "When the number of redistributed prefixes + reaches this threshold, a warning message is + issued "; + } + leaf is-auto-cost { + type boolean; + description + "If true, auto cost is enabled"; + } + leaf reference-bandwidth { + type uint32; + description + "Reference Bandwdith"; + } + leaf context-name { + type string { + length "0..32"; + } + description + "Context name"; + } + leaf snmp-trap-enabled { + type boolean; + description + "If true, snmp trap is enabled"; + } + leaf graceful-shutdown-state { + type Ospfv3-graceful-shutdown-state; + description + "Graceful shutdown state"; + } + list stub-router { + description + "Stub Router Information"; + uses OSPFV3-SH-STUB-ROUTER; + } + list ipfrr-tiebreakers { + description + "IPFRR-Tiebreakers list"; + uses OSPF-SH-IPFRR-TB; + } + } + + grouping OSPFV3-EDM-PROTOCOL { + description + "OSPFv3 Protocol Information"; + leaf protocol-router-id { + type inet:ipv4-address; + description + "Protocol router ID"; + } + leaf administrative-distance { + type uint32; + description + "Administrative distance"; + } + leaf administrative-distance-inter-area { + type uint32; + description + "Administrative Distance for Inter Area routes"; + } + leaf administrative-distance-external { + type uint32; + description + "Administrative Distance for External routes"; + } + leaf is-graceful-restart { + type boolean; + description + "If true, Graceful restart is enabled "; + } + leaf distribute-list-in { + type string; + description + "Distribute List In"; + } + } + + grouping OSPFV3-EDM-BATCH-STATS { + description + "OSPFv3 RIB batch statistics"; + leaf batches-sent { + type uint32; + description + "No. of RIB batches sent"; + } + leaf routes-sent { + type uint32; + description + "No. of Routes sent to RIB"; + } + leaf routes-pending { + type uint32; + description + "No of Pending Routes"; + } + leaf max-routes { + type uint32; + description + "Max No. of Routes in a batch"; + } + leaf paths-sent { + type uint32; + description + "No. of Paths sent to RIB"; + } + leaf paths-pending { + type uint32; + description + "No. of paths waiting to be sent to RIB"; + } + leaf paths-add { + type uint32; + description + "No. of paths added to RIB"; + } + leaf paths-add-errs { + type uint32; + description + "No. of paths add errors"; + } + leaf paths-del { + type uint32; + description + "No. of paths del sent to RIB"; + } + leaf paths-del-errs { + type uint32; + description + "No. of Paths del errors"; + } + } + + grouping OSPFV3-EDM-PRIO-STATS { + description + "OSPFv3 SPF prefix priority classification + statistics"; + leaf critical { + type uint32; + description + "Critical priority classifications"; + } + leaf high { + type uint32; + description + "High priority classifications"; + } + leaf medium { + type uint32; + description + "Medium priority classifications"; + } + leaf low { + type uint32; + description + "Low priority classifications"; + } + } + + grouping OSPFV3-EDM-RAW-STATS { + description + "OSPFv3 raw I/O statistics"; + leaf raw-conn-open { + type uint64; + description + "Raw Connections Open"; + } + leaf raw-conn-close { + type uint64; + description + "Raw Connections Close"; + } + leaf raw-conn-error { + type uint64; + description + "Raw Connections Error"; + } + leaf in-packets { + type uint64; + description + "Received Packets"; + } + leaf in-bytes { + type uint64; + units "byte"; + description + "Received Bytes"; + } + leaf in-long-packets { + type uint64; + description + "Received Long Packets"; + } + leaf in-malloc-drops { + type uint64; + description + "In Malloc Drops"; + } + leaf in-handle-drops { + type uint64; + description + "In Handle Drops"; + } + leaf in-short-drops { + type uint64; + description + "In Short Drops"; + } + leaf in-error-drops { + type uint64; + description + "In Error Drops"; + } + leaf in-ipsec-drops { + type uint64; + description + "In IPSEC Drops"; + } + leaf in-queue-drops { + type uint64; + description + "In Queue Drops"; + } + leaf out-packets { + type uint64; + description + "Packets Sent"; + } + leaf out-bytes { + type uint64; + units "byte"; + description + "Sent Bytes"; + } + leaf out-nofd-drops { + type uint64; + description + "No FileDescriptor Drops"; + } + leaf out-error-drops { + type uint64; + description + "Error Drops"; + } + leaf out-ipsec-drops { + type uint64; + description + "Out IPSEC Drops"; + } + leaf out-nopak-drops { + type uint64; + description + "No Packet Buffers"; + } + leaf out-pakapi-errors { + type uint64; + description + "PAK API Errors"; + } + leaf raw-conn-state { + type uint32; + description + "Raw Connection State"; + } + } + + grouping OSPFV3-EDM-SPF-AREA-STATS { + description + "OSPFv3 SPF Area Statistics Information"; + container spf-stat-time { + description + "SPF time calculations"; + uses OSPFV3-SPF-TIME; + } + leaf spf-stat-area-id { + type uint32; + description + "Area ID for area of these SPF statistics"; + } + leaf-list spf-stat-lsa-type-count { + type uint32; + max-elements "8"; + description + "Counts of LSA types triggering an SPF + calculation"; + } + } + + grouping OSPFV3-LSA-CHANGE { + description + "OSPFv3 LSA Change Information"; + leaf lsa-area-id { + type uint32; + description + "Area ID"; + } + leaf lsa-advertising-router { + type inet:ipv4-address; + description + "Advertising router ID"; + } + leaf lsa-id { + type inet:ipv4-address; + description + "LSA ID"; + } + leaf lsa-type { + type uint8; + description + "LSA type"; + } + leaf lsa-flush { + type boolean; + description + "If true, the LSA change is a flush"; + } + } + + grouping OSPFV3-SPF-TIME { + description + "OSPFv3 SPF Time Information"; + leaf dijkstra { + type uint32; + description + "Dijkstra time in msec"; + } + leaf intra-prefix { + type uint32; + description + "Intra-prefix processing time in msec"; + } + leaf intra-prefix-del { + type uint32; + description + "Intra-prefix deletion time in msec"; + } + leaf inter-prefix { + type uint32; + description + "Inter-prefix processing time in msec"; + } + leaf inter-prefix-del { + type uint32; + description + "Intra-prefix deletion time in msec"; + } + leaf external-prefix { + type uint32; + description + "External prefix processing time in msec"; + } + leaf external-prefix-del { + type uint32; + description + "External prefix deletion time in msec"; + } + leaf rib-add { + type uint32; + description + "RIB add processing time in msec"; + } + leaf rib-del { + type uint32; + description + "RIB deletion time in msec"; + } + } + + grouping OSPFV3-RUNTIME-STATS { + description + "OSPFv3 SPF Runtime Statistics Information"; + container global-time { + description + "Global SPF times"; + uses OSPFV3-SPF-TIME; + } + leaf start-time { + type uint32; + description + "SPF calculation start time"; + } + leaf rib-add-routes { + type uint32; + description + "Number of routes added to RIB"; + } + leaf rib-delete-routes { + type uint32; + description + "Number of routes deleted from RIB"; + } + leaf reason-flags { + type yang:hex-string; + description + "Reasons for triggering an SPF calculation Bit 1 + - Router LSA update Bit 2 - Network LSA update + Bit 3 - Inter-Area Prefix LSA update Bit 4 - + Inter-Area Router LSA update Bit 5 - AS External + LSA update Bit 6 - MOSPF LSA update Bit 7 - Type + 7 AS External LSA update Bit 8 - Link LSA update + Bit 9 - Prefix LSA update"; + } + leaf lsa-changes { + type int16; + description + "Number of LSA changes triggering an SPF + calculation"; + } + list lsa { + max-elements "5"; + description + "List of LSAs triggering the SPF calculation"; + uses OSPFV3-LSA-CHANGE; + } + list area-stat { + description + "List of per-area SPF statistics"; + uses OSPFV3-EDM-SPF-AREA-STATS; + } + } + + grouping OSPFV3-EDM-AREA-SUMM { + description + "OSPFv3 Area SPF Information"; + leaf area-id { + type uint32; + description + "Area ID of the area SPF statistics"; + } + leaf sp-fs { + type uint32; + description + "Number of SPF calculations"; + } + } + + grouping OSPFV3-HEADER-INFO { + description + "OSPFv3 SPF Statistics Header Information"; + leaf header-router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf header-sp-fs { + type uint32; + description + "Number of SPF calculations"; + } + list area-summary { + description + "List of Areas with SPF statistics"; + uses OSPFV3-EDM-AREA-SUMM; + } + } + + grouping OSPFV3-EDM-SPF-STATS { + description + "OSPFv3 SPF statistics"; + container spf-header { + description + "SPF statistics header"; + uses OSPFV3-HEADER-INFO; + } + list spf-runtime { + description + "List of SPF run-time statistics"; + uses OSPFV3-RUNTIME-STATS; + } + } + + grouping OSPFV3-EDM-PROTO-STATS { + description + "OSPFv3 protocol statistics"; + leaf total-in-packets { + type uint64; + description + "Total inputs packets"; + } + leaf hello-in-packets { + type uint64; + description + "Hello packets in"; + } + leaf dbdes-in-packets { + type uint64; + description + "Database Description Packets in"; + } + leaf dbdes-in-ls-as { + type uint64; + description + "Database Description LSAs in"; + } + leaf ls-req-in-packets { + type uint64; + description + "LSA Requests in"; + } + leaf ls-req-in-ls-as { + type uint64; + description + "LS Requests in"; + } + leaf ls-upd-in-packets { + type uint64; + description + "LS Updates Packets in"; + } + leaf ls-upd-in-ignored { + type uint64; + description + "LS Updates ignored"; + } + leaf ls-upd-in-ls-as { + type uint64; + description + "LS Updates LSAs in"; + } + leaf ls-ack-in-packets { + type uint64; + description + "LS Acks Packets in"; + } + leaf ls-ack-in-ls-as { + type uint64; + description + "LS Ack LSAs in"; + } + leaf total-out-packets { + type uint64; + description + "Total Out Packets"; + } + leaf hello-out-packets { + type uint64; + description + "Hello Out Packets"; + } + leaf dbdes-out-packets { + type uint64; + description + "Database Description Packets out"; + } + leaf dbdes-out-ls-as { + type uint64; + description + "Database Description LSAs out"; + } + leaf ls-req-out-packets { + type uint64; + description + "LS Request Packets out"; + } + leaf ls-req-out-ls-as { + type uint64; + description + "LS Reuqests LSAs out"; + } + leaf ls-upd-out-packets { + type uint64; + description + "LS Update Packets out"; + } + leaf ls-upd-out-ls-as { + type uint64; + description + "LS Update LSAs out"; + } + leaf ls-ack-out-packets { + type uint64; + description + "LS Ack Packets out"; + } + leaf ls-ack-out-ls-as { + type uint64; + description + "LS Ack LSAs out"; + } + leaf dropped-in-gs { + type uint64; + description + "Dropped in GS"; + } + leaf checksum-err { + type uint64; + description + "Checksum Errors"; + } + } + + grouping OSPFV3-EDM-TOPOLOGY-CONNECTED { + description + "OSPFv3 Topology Connected Information"; + container route-topology { + description + "Common Route topology information"; + uses OSPFV3-EDM-TOPOLOGY; + } + list route-path { + description + "List of paths to this route"; + uses OSPFV3-EDM-TOP-PATH; + } + } + + grouping OSPFV3-EDM-PROTO-INTF { + description + "OSPFv3 Protocol Interface Information"; + leaf interface-name { + type xr:Interface-name; + description + "Protocol interface name "; + } + leaf distribute-list-in { + type string; + description + "Distribute List In"; + } + } + + grouping OSPFV3-EDM-PROTO-AREA { + description + "OSPFv3 Protocol Area Information"; + leaf protocol-area-id { + type string { + length "0..16"; + } + description + "Area ID string in decimal and dotted-decimal + format"; + } + leaf distribute-list-in { + type string; + description + "Distribute List In"; + } + list protocol-interface { + description + "Interface list"; + uses OSPFV3-EDM-PROTO-INTF; + } + } + + grouping OSPFV3-EDM-TOP-SOURCE { + description + "OSPFv3 topology source information"; + leaf route-source-adversting-router { + type inet:ipv4-address; + description + "Route source of the advertising router "; + } + leaf route-source-id { + type inet:ipv4-address; + description + "Route source ID "; + } + leaf route-source-lsa-type { + type uint32; + description + "Type of LSA advertising the prefix, see RFC5340"; + } + } + + grouping OSPFV3-EDM-TOPOLOGY-INTERNAL { + description + "OSPFv3 Topology Internal Information"; + container route-topology { + description + "Common Route topology information"; + uses OSPFV3-EDM-TOPOLOGY; + } + leaf route-area-id { + type uint32; + description + "Route area ID "; + } + list route-source { + description + "List of topology source information"; + uses OSPFV3-EDM-TOP-SOURCE; + } + list route-path { + description + "List of paths to this route"; + uses OSPFV3-EDM-TOP-PATH; + } + } + + grouping OSPFV3-EDM-RETRANS { + description + "OSPFv3 retransmission list information"; + leaf retransmission-neighbor-address { + type inet:ipv6-address; + description + "Neighbor IP address"; + } + leaf is-retransmissionvirtual-link { + type boolean; + description + "If true, virtual link is retransmitted "; + } + leaf retransmissionvirtual-link-id { + type uint32; + description + "Retransmission virtual link ID "; + } + leaf is-retransmission-sham-link { + type boolean; + description + "If true, sham link is retransmitted "; + } + leaf retransmission-sham-link-id { + type uint32; + description + "Retransmission sham link ID "; + } + leaf retransmission-timer { + type uint32; + description + "Amount of time remaining on retransmission timer + (ms)"; + } + leaf retransmission-length { + type uint32; + description + "Retransmission queue length"; + } + list retransmissionvirtual-link-db { + description + "List of virtual link scope entries "; + uses OSPFV3-EDM-LSA-SUM; + } + list retransmission-area-db { + description + "List of area scope entries"; + uses OSPFV3-EDM-LSA-SUM; + } + list retransmission-asdb { + description + "List of AS scope entries"; + uses OSPFV3-EDM-LSA-SUM; + } + } + + grouping OSPFV3-EDM-DB-SUMMARY-COUNTERS { + description + "OSPFv3 Database Summary Counters"; + leaf-list lsa { + type uint32; + max-elements "15"; + description + "lsa"; + } + leaf-list deleted-lsa { + type uint32; + max-elements "15"; + description + "deleted lsa"; + } + leaf-list max-age-lsa { + type uint32; + max-elements "15"; + description + "max age lsa"; + } + leaf-list lsa-checksum { + type uint32; + max-elements "15"; + description + "lsa checksum"; + } + } + + grouping OSPFV3-EDM-DB-SUMMARY-AREA { + description + "OSPFv3 Area Database Summary"; + container area-database-summary { + description + "Area database summary "; + uses OSPFV3-EDM-DB-SUMMARY-COUNTERS; + } + leaf lsa-area-id { + type string { + length "0..16"; + } + description + "Area ID in decimal or dotted-decimal format"; + } + } + + grouping OSPFV3-EDM-DB-SUMMARY { + description + "OSPFv3 Database Summary"; + container database-counters { + description + "OSPFv3 database counters "; + uses OSPFV3-EDM-DB-SUMMARY-COUNTERS; + } + leaf database-router-id { + type inet:ipv4-address; + description + "Database router ID "; + } + leaf is-opaque-database-capable { + type boolean; + description + "If true, opaque database is capable "; + } + list area-database { + description + "OSPFv3 Area Database list "; + uses OSPFV3-EDM-DB-SUMMARY-AREA; + } + } + + grouping OSPFV3-EDM-INTF-BRIEF { + description + "OSPFv3 brief interface information"; + leaf interface-address { + type inet:ipv6-address; + description + "Interface IP address"; + } + leaf interface-link-cost { + type uint16; + description + "Interface link cost"; + } + leaf ospf-interface-state { + type Ospfv3-interface-state; + description + "Interface OSPF state"; + } + leaf interface-neighbors { + type uint16; + description + "Total number of neighbors "; + } + leaf interface-adjacent-neighbors { + type uint16; + description + "Total number of adjacent neighbors"; + } + leaf network-type { + type Ospfv3-interface; + description + "Network type"; + } + } + + grouping OSPFV3-EDM-NEIGHBOR-BFD { + description + "OSPFv3 Neighbor BFD information"; + leaf bfd-intf-enable-mode { + type uint32; + description + "BFD enable mode - Default/Strict"; + } + leaf bfd-status-flag { + type uint8; + description + "Status of the BFD Session"; + } + } + + grouping OSPFV3-EDM-NEIGHBOR-DETAIL { + description + "Detailed OSPFv3 neighbor information"; + container neighbor-retransmission { + description + "Retransmission information with this neighbor"; + uses OSPFV3-EDM-NEIGHBOR-RETRANS; + } + leaf state-changes { + type uint16; + description + "Number of state changes "; + } + leaf neighbor-cost { + type uint16; + description + "Cost of path to this neighbor "; + } + leaf is-neighbor-filtered { + type boolean; + description + "If true, filter outgoing LSAs "; + } + leaf neighbor-designated-router-address { + type inet:ipv4-address; + description + "Address of designated router"; + } + leaf neighbor-backup-designated-router-address { + type inet:ipv4-address; + description + "Address of backup designated router"; + } + leaf interface-type { + type Ospfv3-interface; + description + "Interface type"; + } + leaf poll-interval { + type uint32; + description + "Poll interval (s)"; + } + leaf next-poll-interval { + type uint32; + units "second"; + description + "For NBMA networks, amount of time remaining in + seconds before the next poll interval expires + and Hello is sent (s)"; + } + leaf neighbor-ignore-timer { + type uint32; + description + "Remaining time when ignore timer is running "; + } + leaf neighbor-option { + type uint32; + description + " This is bitmask of neighbor's option field + received "; + } + leaf pending-events { + type uint16; + description + "Number of pending events "; + } + } + + grouping OSPFV3-EDM-NEIGHBOR { + description + "OSPFv3 neighbor summary information"; + container neighbor-detail { + description + "Detailed OSPFv3 neighbor information "; + uses OSPFV3-EDM-NEIGHBOR-DETAIL; + } + container neighbor-bfd-info { + description + "Neighbor BFD information"; + uses OSPFV3-EDM-NEIGHBOR-BFD; + } + leaf neighbor-address-xr { + type inet:ipv6-address; + description + "Neighbor IP Address"; + } + leaf neighbor-interface-id { + type uint32; + description + "Neighbor interface ID"; + } + leaf neighbor-dr-priority { + type uint8; + description + "Neighbor's DR priority"; + } + leaf neighbor-state { + type Ospfv3-neighbor-state; + description + "Neighbor's state"; + } + leaf neighbor-designated-router { + type string { + length "0..9"; + } + description + "Designated router "; + } + leaf neighbor-dead-timer { + type uint32; + units "second"; + description + "Time until neighbor's dead timer expires + (seconds)"; + } + leaf neighbor-up-time { + type uint32; + units "second"; + description + "Amount of time since the adjacency is up + (seconds)"; + } + leaf neighbor-virtual-link-id { + type uint32; + description + "Neighbor virtual link id "; + } + leaf is-neighbor-virtual-link { + type boolean; + description + "If true, neighbor is on a virtual link "; + } + leaf neighbor-sham-link-id { + type uint32; + description + "Neighbor sham link id "; + } + leaf is-neighbor-sham-link { + type boolean; + description + "If true, neighbor is on a sham link "; + } + } + + grouping OSPFV3-EDM-ROUTE-SUM { + description + "OSPFv3 route summary information"; + leaf route-id { + type inet:ipv4-address; + description + "Route summary of a route ID "; + } + leaf intra-area-route { + type uint32; + description + "Intra route summary "; + } + leaf inter-area-route { + type uint32; + description + "Inter route summary "; + } + leaf extern-one-route { + type uint32; + description + "Extern 1 route summary "; + } + leaf extern-two-route { + type uint32; + description + "Extern 2 route summary "; + } + leaf nssa-one-route { + type uint32; + description + "NSSA 1 route summary "; + } + leaf nssa-two-route { + type uint32; + description + "NSSA 2 route summary "; + } + leaf total-sent-route { + type uint32; + description + "Total route summary "; + } + leaf route-connected { + type uint32; + description + "Route connected "; + } + leaf redistribution-route { + type uint32; + description + "Redistribution route summary "; + } + leaf total-received-route { + type uint32; + description + "Total route received summary"; + } + } + + grouping OSPFV3-EDM-FLOOD-LIST { + description + "OSPFv3 flood list information"; + leaf ls-transmission-timer { + type uint32; + description + "Time until next LS transmission (ms) "; + } + leaf queue-length { + type uint32; + description + "Number of LSAs currently being flooded "; + } + list link-flood { + description + "Link floodlist"; + uses OSPFV3-EDM-LSA-SUM; + } + list area-flood { + description + "Area scope floodlist"; + uses OSPFV3-EDM-LSA-SUM; + } + list as-flood { + description + "AS scope floodlist"; + uses OSPFV3-EDM-LSA-SUM; + } + } + + grouping OSPFV3-EDM-VLINK-NEIGHBOR { + description + "OSPFv3 virtual link neighbor information"; + container virtual-link-retransmission { + description + "Virtual link retransmission information "; + uses OSPFV3-EDM-NEIGHBOR-RETRANS; + } + leaf is-virtual-link-hello-suppressed { + type boolean; + description + "If true, hello suppressed "; + } + leaf virtual-link-state { + type Ospfv3-interface-state; + description + "OSPF interface state for the virtual link"; + } + } + + grouping OSPFV3-EDM-VIRTUAL-LINKS { + description + "OSPFv3 virtual link information"; + container virtual-link-neighbor { + description + "Neighbor information "; + uses OSPFV3-EDM-VLINK-NEIGHBOR; + } + leaf virtual-link-neighbor-id { + type inet:ipv4-address; + description + "Neighbor on other end of this virtual link"; + } + leaf virtual-link-interface-number { + type uint32; + description + "Virtual link interface number "; + } + leaf virtual-link-state { + type Ospfv3-interface-state; + description + "OSPF interface state for the virtual link"; + } + leaf is-virtual-link-ip-security-required { + type boolean; + description + "If true, virtual link IP security is required "; + } + leaf is-virtual-link-ip-security-active { + type boolean; + description + "If true, Virtual link IP security is active "; + } + leaf virtual-link-neighbor-address { + type inet:ipv6-address; + description + "Virtual link neighbor addresss "; + } + leaf is-virtual-link-demand-circuit { + type boolean; + description + "If true, the link runs as demand circuit"; + } + leaf virtual-link-dc-bitless-lsa { + type uint32; + description + "Number of LSA's with demand circuit bit not set "; + } + leaf transit-area-id { + type string; + description + "Transit area id "; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface on which this virtual link is formed"; + } + leaf virtual-link-cost { + type uint16; + description + "Cost of the virtual link"; + } + leaf virual-link-transmission-delay { + type uint16; + units "second"; + description + "Transmission delay in seconds"; + } + leaf virtual-link-hello-interval { + type uint32; + description + "Hello interval (s)"; + } + leaf virtual-link-dead-interval { + type uint32; + description + "Dead interval (s)"; + } + leaf virtual-link-wait-interval { + type uint32; + description + "Wait interval (s)"; + } + leaf virtual-link-retransmission-interval { + type uint32; + description + "Retransmission interval (s)"; + } + leaf virtual-link-next-hello { + type uint32; + description + "Time until next hello (s)"; + } + leaf is-virtual-link-passive { + type boolean; + description + "If true, interface is passive"; + } + leaf is-virtual-link-authentication-enabled { + type boolean; + description + "If true, virtual link authentication is enabled "; + } + leaf virtual-link-authentication-spi { + type uint32; + description + "Virtual link authentication spi "; + } + leaf virtual-link-authentication-transmit { + type uint32; + description + "Virtual link authentication transmit "; + } + leaf is-virtual-link-encryption-enabled { + type boolean; + description + "If true, virtual link encryption is enabled "; + } + leaf virtual-link-encryption-spi { + type uint32; + description + "Virtual link encryption spi"; + } + leaf virtual-link-encryption-transmitted { + type uint32; + description + "Virtual link encryption transmitted "; + } + leaf virtual-link-encrypted-authentication-transmitted { + type uint32; + description + "Virtual link encrypted authentication + transmitted "; + } + } + + grouping OSPFV3-EDM-LSA-SUM { + description + "LSA summary entry"; + leaf header-lsa-type { + type Ospfv3-lsa1; + description + "LSA type"; + } + leaf header-lsa-age { + type uint16; + units "second"; + description + "Age of the LSA (seconds)"; + } + leaf header-lsa-id { + type inet:ipv4-address; + description + "LSA ID"; + } + leaf header-advertising-router { + type inet:ipv4-address; + description + "Router ID of the advertising router"; + } + leaf header-sequence-number { + type int32; + description + "Current LSA sequence number"; + } + } + + grouping OSPFV3-EDM-REQUEST { + description + "OSPFv3 request list information"; + leaf request-neighbor-address { + type inet:ipv6-address; + description + "Neighbor IP address"; + } + leaf is-request-virtual-link { + type boolean; + description + "If true, virtual link is requested "; + } + leaf request-virtual-link-id { + type uint32; + description + "Request virtual link ID "; + } + leaf is-request-sham-link { + type boolean; + description + "If true, sham link is requested "; + } + leaf request-sham-link-id { + type uint32; + description + "Request sham link ID "; + } + list request { + description + "List of request list entries"; + uses OSPFV3-EDM-LSA-SUM; + } + } + + grouping OSPFV3-SH-ROUTE-EXTENDED-COMM { + description + "OSPF External Route Extended Community + Information"; + leaf extended-community-domain-id-value { + type yang:hex-string; + description + "Domain ID value"; + } + leaf extended-communityl-domain-id-type { + type uint16; + description + "Domain ID type"; + } + leaf extended-community-area-id { + type uint32; + description + "Area id"; + } + leaf extended-community-router-id { + type inet:ipv4-address; + description + "Router id"; + } + leaf extended-community-route-type { + type uint8; + description + "Route type"; + } + leaf extended-community-options { + type uint8; + description + "Route Options"; + } + } + + grouping OSPFV3-SH-BACKUP-PATH { + description + "OSPFv3 Route Backup Path Information"; + leaf backup-route-interface-name { + type xr:Interface-name; + description + "Next hop Interface"; + } + leaf backup-route-next-hop-address { + type inet:ipv6-address; + description + "Nexthop IP address"; + } + leaf backup-route-source { + type inet:ipv4-address; + description + "IP address of source of route"; + } + leaf backup-metric { + type uint32; + description + "Metric"; + } + leaf primary-path { + type boolean; + description + "Primary Path"; + } + leaf line-card-disjoint { + type boolean; + description + "Line Card Disjoint"; + } + leaf downstream { + type boolean; + description + "Downstream"; + } + leaf node-protect { + type boolean; + description + "Node Protect"; + } + leaf srlg-disjoint { + type boolean; + description + "SRLG Disjoint"; + } + } + + grouping OSPFV3-EDM-TOP-PATH { + description + "OSPFv3 topology path information"; + container route-backup-path { + description + "Backup Path Info"; + uses OSPFV3-SH-BACKUP-PATH; + } + leaf interface-name { + type xr:Interface-name; + description + "Route path interface name "; + } + leaf route-path-next-hop { + type inet:ipv6-address; + description + "Route path next hop "; + } + leaf route-path-id { + type uint16; + description + "Path ID of path"; + } + } + + grouping OSPFV3-EDM-TOPOLOGY { + description + "OSPFv3 Topology Information"; + leaf route-id { + type inet:ipv4-address; + description + "Route ID "; + } + leaf route-distance { + type uint32; + description + "Route distance "; + } + leaf route-cost { + type uint32; + description + "Route cost "; + } + leaf route-type { + type uint32; + description + "Route type"; + } + } + + grouping OSPFV3-EDM-TOPOLOGY-EXTERNAL { + description + "OSPFv3 Topology External Information"; + container route-topology { + description + "Common Route topology information"; + uses OSPFV3-EDM-TOPOLOGY; + } + container route-extended-community { + description + "Extended communities in the route"; + uses OSPFV3-SH-ROUTE-EXTENDED-COMM; + } + list route-path { + description + "List of paths to this route"; + uses OSPFV3-EDM-TOP-PATH; + } + } + + grouping OSPFV3-EDM-REDIST { + description + "OSPFv3 Redistribution Information"; + leaf protocol-name-xr { + type string { + length "0..40"; + } + description + "Protocol name "; + } + leaf process-id { + type string { + length "0..40"; + } + description + "Process ID "; + } + leaf red-metric-flag { + type boolean; + description + "red metric flag"; + } + leaf red-metric { + type uint32; + description + "red metric"; + } + leaf red-mtype-flag { + type boolean; + description + "red mtype flag"; + } + leaf red-metric-type { + type uint8; + description + "red metric type"; + } + leaf red-tag { + type uint32; + description + "red tag"; + } + leaf policy-name { + type string; + description + "Route policy name "; + } + } + + grouping OSPFV3-EDM-INTERFACE-BFD { + description + "Interface BFD information"; + leaf bfd-intf-enable-mode { + type uint32; + description + "BFD Enable Mode on the interface - + Default/Strict"; + } + leaf bfd-interval { + type uint32; + description + "BFD interval (ms) "; + } + leaf bfd-detection-multiplier { + type uint32; + description + "BFD detection multiplier "; + } + } + + grouping OSPFV3-EDM-INTERFACE-UP { + description + "OSPFv3 interface up-only information"; + leaf wait-time { + type uint32; + description + "Wait time for DR/BDR selection (s)"; + } + leaf interface-area-flood-index { + type uint32; + description + "Area scope LSAs flood index"; + } + leaf interface-as-flood-index { + type uint32; + description + "AS scope LSAs flood index "; + } + leaf interface-link-flood-index { + type uint32; + description + "Interface flood link index "; + } + leaf flood-queue-length { + type uint32; + description + "Flood queue length"; + } + leaf interface-area-next-flood { + type uint32; + description + "Next LSA to flood (Area scope)"; + } + leaf interface-area-next-flood-index { + type uint32; + description + "Index of next LSA to flood (Area scope) "; + } + leaf interface-as-next-flood { + type uint32; + description + "Next LSA to flood (AS scope)"; + } + leaf interface-as-next-flood-index { + type uint32; + description + "Index of next LSA to flood (AS scope)"; + } + leaf interface-link-next-flood { + type uint32; + description + "Interface link next flood information "; + } + leaf interface-link-next-index { + type uint32; + description + "Interface link next information index "; + } + leaf flood-scan-length { + type uint32; + description + "Last flood scan length "; + } + leaf maximum-flood-length { + type uint32; + description + "Maximum flood length "; + } + leaf last-flood-time { + type uint32; + description + "Last flood scan time (ms)"; + } + leaf maximum-flood-time { + type uint32; + description + "Maximum flood time (ms) "; + } + leaf interface-flood-pacing-timer { + type uint32; + description + "Time until next flood pacing timer (ms) "; + } + leaf interface-neighbors { + type uint16; + description + "Total number of neighbors "; + } + leaf suppressed-hellos { + type uint16; + description + "Number of neighbors for which hellos are + suppressed "; + } + } + + grouping OSPFV3-EDM-INTERFACE-NBR { + description + "OSPFv3 interface neighbor information"; + leaf interface-neighbor-id { + type inet:ipv4-address; + description + "Neighbor router ID "; + } + leaf interface-neighbor-cost { + type uint32; + description + "Cost of link to neighbor"; + } + leaf is-neighbor-dr { + type boolean; + description + "If true, designated router is found "; + } + leaf is-neighbor-bdr { + type boolean; + description + "If true, backup designated router is found "; + } + leaf is-hello-suppressed { + type boolean; + description + "If true, hello is suppressed "; + } + } + + grouping OSPFV3-EDM-INTERFACE { + description + "OSPFv3 interface information"; + container active-interface { + description + "Active interface details "; + uses OSPFV3-EDM-INTERFACE-UP; + } + container interface-bfd { + description + "BFD information "; + uses OSPFV3-EDM-INTERFACE-BFD; + } + leaf interface-state { + type Im-state-enum; + description + "Interface state"; + } + leaf is-interface-line-up { + type boolean; + description + "If true, line protocol is up "; + } + leaf is-interface-ip-security-required { + type boolean; + description + "If true, interface IP security is required "; + } + leaf is-interface-ip-security-active { + type boolean; + description + "If true, interface IP security is active "; + } + leaf interface-address { + type inet:ipv6-address; + description + "Interface IPv6 address"; + } + leaf interface-number { + type uint32; + description + "Interface number "; + } + leaf interface-router-id { + type inet:ipv4-address; + description + "Interface router ID "; + } + leaf network-type { + type Ospfv3-interface; + description + "Network type"; + } + leaf interface-link-cost { + type uint16; + description + "Interface link cost"; + } + leaf is-interface-flood-reduction { + type boolean; + description + "If true, interface flood reduction is active "; + } + leaf is-demand-circuit-configured { + type boolean; + description + "If true, configured as demand circuit "; + } + leaf is-interface-demand-circuit { + type boolean; + description + "If true, interface running as demand circuit"; + } + leaf interface-dc-bitless-ls-as { + type uint32; + description + "Number of LSAs with demand circuit bit not set + for the area in which the interface is running"; + } + leaf transmission-delay { + type uint16; + description + "Interface transmission delay (sec)"; + } + leaf ospf-interface-state { + type Ospfv3-interface-state; + description + "Interface state"; + } + leaf interface-priority { + type uint8; + description + "Interface priority"; + } + leaf is-designated-router { + type boolean; + description + "If true, designated router"; + } + leaf designated-router-id { + type inet:ipv4-address; + description + "Designated router ID"; + } + leaf designated-router-address { + type inet:ipv6-address; + description + "Designated router interface address"; + } + leaf backup-designated-router-id { + type inet:ipv4-address; + description + "Backup designated router ID"; + } + leaf backup-designated-router-address { + type inet:ipv6-address; + description + "Backup designated router interface address"; + } + leaf network-lsa-flush-timer { + type uint32; + units "second"; + description + "The amount of time in seconds before flush timer + for old network LSA expires "; + } + leaf is-interface-lsa-filtered { + type boolean; + description + "Filter is configured for out going LSAs "; + } + leaf hello-interval { + type uint32; + description + "Configured hello interval (s)"; + } + leaf dead-interval { + type uint32; + description + "Configured dead interval (s) "; + } + leaf wait-interval { + type uint32; + description + "Configured wait interval (s) "; + } + leaf interface-retransmission-interval { + type uint32; + description + "Configured retransmit interval (s) "; + } + leaf next-hello-time { + type uint32; + description + "Time until next Hello (s) "; + } + leaf interface-authentication-spi { + type uint32; + description + "Interface authentication spi "; + } + leaf interface-authentication-transmit { + type uint32; + description + "Interface authentication transmit "; + } + leaf is-interface-encryption-enabled { + type boolean; + description + "If true, interface encryption is enabled "; + } + leaf is-prefix-suppress { + type boolean; + description + "If true prefix suppression is enabled"; + } + leaf interface-encryption-spi { + type uint32; + description + "Interface encryption spi"; + } + leaf interface-encryption-transmitted { + type uint32; + description + "Interface encryption transmitted "; + } + leaf interface-encrypted-authentication-transmitted { + type uint32; + description + "Interface encrypted authentication transmitted "; + } + leaf adjacent-neighbor { + type uint32; + description + "Number of adjacent neighbors"; + } + leaf interface-references { + type uint32; + description + "Interface reference count "; + } + leaf configured-ldp-sync { + type boolean; + description + "If true, configured as LDP sync"; + } + leaf interface-ldp-sync { + type boolean; + description + "If true, interface LDP sync is achieved"; + } + list interface-neighbor { + description + "Information for neighbors on the interface"; + uses OSPFV3-EDM-INTERFACE-NBR; + } + } + + grouping OSPFV3-EDM-LSA-UNKNOWN { + description + "OSPFv3 Unknown LSA Database Information"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf interface-name { + type xr:Interface-name; + description + "LSA interface name "; + } + leaf is-virtual-link { + type boolean; + description + "If true, it is a virtual link "; + } + leaf virtual-link-id { + type uint32; + description + "Virtual link ID "; + } + leaf is-sham-link { + type boolean; + description + "If true, it is a sham link "; + } + leaf sham-link-id { + type uint32; + description + "Shamlink ID "; + } + } + + grouping OSPFV3-EDM-LSA-GRACE { + description + "OSPFv3 Grace LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf interface-name { + type xr:Interface-name; + description + "LSA interface handle"; + } + leaf is-virtual-link { + type boolean; + description + "If true, it is a virtual link"; + } + leaf virtual-link-id { + type uint32; + description + "Virtual link ID "; + } + leaf is-sham-link { + type boolean; + description + "If true, it is a sham link"; + } + leaf sham-link-id { + type uint32; + description + "Sham link ID "; + } + leaf grace-period { + type uint32; + description + "The grace periord where helper routers should + wait before advertising it fully adjacent(s) "; + } + leaf grace-reason { + type Ospfv3-graceful-restart-reason; + description + "Reason for router restart"; + } + } + + grouping OSPFV3-EDM-LSA-PREFIX { + description + "OSPFv3 Prefix LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf reference-type { + type Ospfv3-lsa1; + description + "Reference type "; + } + leaf reference-lsa-id { + type uint32; + description + "Reference LSA ID "; + } + leaf reference-advertised-router { + type inet:ipv4-address; + description + "Reference advertised router "; + } + list prefix { + description + "OSPFv3 prefix "; + uses OSPFV3-EDM-PREFIX; + } + } + + grouping OSPFV3-EDM-PREFIX { + description + "OSPFv3 Prefix Type"; + leaf prefix { + type inet:ipv6-address; + description + "OSPFv3 prefix "; + } + leaf ospfv3-prefix-length { + type uint8; + description + "OSPFv3 prefix length "; + } + leaf ospfv3-prefix-options { + type uint8; + description + "OSPFv3 prefix options "; + } + leaf ospfv3-prefix-metric { + type uint16; + description + "OSPFv3 prefix metric "; + } + leaf priority { + type Prefix-priority; + description + "Prefix priority"; + } + } + + grouping OSPFV3-EDM-LSA-LINK { + description + "OSPFv3 Link LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf interface-name { + type xr:Interface-name; + description + "LSA interface handle"; + } + leaf is-virtual-link { + type boolean; + description + "If true, it is a virtual link"; + } + leaf virtual-link-id { + type uint32; + description + "Virtual link ID "; + } + leaf is-sham-link { + type boolean; + description + "If true, it is a sham link"; + } + leaf sham-link-id { + type uint32; + description + "Sham link ID "; + } + leaf lsa-link-local { + type inet:ipv6-address; + description + "LSA link local "; + } + leaf router-priority { + type uint8; + description + "Router priority "; + } + list prefix { + description + "OSPFv3 prefix "; + uses OSPFV3-EDM-PREFIX; + } + } + + grouping OSPFV3-EDM-LSA-EXTERNAL { + description + "OSPFv3 External LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA Information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf prefix { + type inet:ipv6-address; + description + "IPV6 address prefix "; + } + leaf prefix-length { + type uint8; + description + "Prefix length "; + } + leaf metric-type { + type Ospfv3-default-metric; + description + "Metric type "; + } + leaf tos-cost { + type uint32; + description + "Type of service cost metric "; + } + leaf is-forwarding-address-set { + type boolean; + description + "If true, forwarding address is set "; + } + leaf forwarding-address { + type inet:ipv6-address; + description + "Forwarding Address"; + } + leaf external-tag { + type uint32; + description + "Route Tag"; + } + leaf priority { + type Prefix-priority; + description + "Prefix priority"; + } + } + + grouping OSPFV3-EDM-LSA-IARTR { + description + "OSPFv3 Inter-area Router LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf lsa-router-id { + type uint32; + description + "LSA router ID "; + } + } + + grouping OSPFV3-EDM-LSA-IAPFX { + description + "OSPFv3 Inter-area Prefix LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA Information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf prefix { + type inet:ipv6-address; + description + "LSA address prefix "; + } + leaf prefix-length { + type uint8; + description + "Prefix length "; + } + leaf priority { + type Prefix-priority; + description + "Prefix priority"; + } + } + + grouping OSPFV3-EDM-LSA-NETWORK { + description + "OSPFv3 Network LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf-list neighbor-router { + type inet:ipv4-address; + description + "Neighbor router list"; + } + } + + grouping OSPFV3-EDM-RPF-PATH { + description + "OSPFv3 Router LSA Reverse-Path Forwarding + Information"; + leaf rpf-multicast-next-hop { + type uint32; + description + "RPF multicast next hop "; + } + leaf interface-name { + type xr:Interface-name; + description + "RPF multicast IDB "; + } + } + + grouping OSPFV3-EDM-LINK { + description + "OSPFv3 Router LSA Links"; + leaf link-type { + type Ospfv3-link; + description + "Type of link"; + } + leaf link-metric { + type uint16; + description + "LSA link metric "; + } + leaf link-interface-id { + type uint32; + description + "LSA link interface ID "; + } + leaf link-neighbor-interface-id { + type uint32; + description + "LSA link neighbor interface ID "; + } + leaf link-neighbor-router-id { + type uint32; + description + "LSA link neigbhor router id "; + } + } + + grouping OSPFV3-EDM-LSA-ROUTER { + description + "OSPFv3 Router LSA"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + container rpf-path { + description + "Router LSA Reverse-Path Forwarding information "; + uses OSPFV3-EDM-RPF-PATH; + } + leaf router-la-bits { + type uint8; + description + "Router LA bits "; + } + list link { + description + "List of links in this LSA"; + uses OSPFV3-EDM-LINK; + } + } + + grouping OSPFV3-EDM-DB-DETAIL { + description + "OSPFv3 Detailed LSA Database Information"; + leaf second-table-index { + type uint8; + description + "Second table index"; + } + leaf minute-table-index { + type uint8; + description + "Minute table index"; + } + leaf free-time { + type uint32; + description + "The amount of time since the last check was made + to free this LSA (s)"; + } + leaf is-deleted { + type boolean; + description + "If true, flag is set to delete this LSA "; + } + leaf is-routing-bit { + type boolean; + description + "If true, Routing Bit set on the LSA"; + } + leaf is-advertising-router-reachable { + type boolean; + description + "If true, Advertising Router is reachable"; + } + leaf is-no-delete { + type boolean; + description + "If true, the reason not to delete this LSA is + because delete flag not set on this LSA"; + } + leaf is-neighbor-exchange { + type boolean; + description + "If true, the reason not to delete this LSA is + because neighbor is in exchange state"; + } + leaf is-routing-table { + type boolean; + description + "If true, the reason not to delete this LSA is + because it has a contributing entry in the + routing table "; + } + leaf is-acknowledged { + type boolean; + description + "If true, the reason not to delete this LSA is + because it's Acknowledgement list is not empty "; + } + leaf is-maximum-aged { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is in Maxage Queue"; + } + leaf is-partial-spf { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is in partial SPF queue"; + } + leaf is-flood-pending { + type boolean; + description + "If true, the reason not to delete this LSA is + because waiting for flooding or retransmission"; + } + leaf rate-limit { + type boolean; + description + "If true, the reason not to delete this LSA is + because waiting for next wait-interval to expire"; + } + leaf is-nsr-ack-pending { + type boolean; + description + "If true, the reason not to delete this LSA is + because NSR ACK from standby is pending"; + } + leaf nsr-flood-required { + type boolean; + description + "If true, the reason not to delete this LSA is + because it is pending flooding on switchover"; + } + leaf lsa-flood-required-post-fail-over { + type boolean; + description + "LSA flood required after FO"; + } + leaf lsa-length { + type uint16; + description + "Length of the LSA"; + } + leaf lsa-sync-state { + type Ospf-lsa-sync-state; + description + "State of LSA sync with active"; + } + } + + grouping OSPFV3-EDM-DB-HEADER { + description + "OSPFv3 LSA Database Header"; + leaf lsa-type { + type uint16; + description + "LSA type"; + } + leaf lsa-area-id { + type string { + length "0..16"; + } + description + "Area ID in decimal or dotted-decimal format"; + } + leaf lsa-age { + type uint16; + description + "LSA's Age (s)"; + } + leaf is-do-not-age-lsa { + type boolean; + description + "If true, Do Not Age this LSA"; + } + leaf ls-id { + type uint32; + description + "LS ID"; + } + leaf advertising-router { + type inet:ipv4-address; + description + "Router ID of Advertising Router"; + } + leaf sequence-number { + type uint32; + description + "Current Sequence number"; + } + leaf checksum { + type uint16; + description + "Checksum value"; + } + leaf is-graceful-restart-active { + type boolean; + description + "If true, if grace restart is active "; + } + } + + grouping OSPFV3-EDM-DATABASE { + description + "OSPFv3 Database Information"; + container lsa-header { + description + "Header information "; + uses OSPFV3-EDM-DB-HEADER; + } + container lsa-detail { + description + "Detailed LSA information"; + uses OSPFV3-EDM-DB-DETAIL; + } + leaf links { + type uint16; + description + "Number of links"; + } + leaf router-la-bits { + type uint8; + description + "Router LA bits "; + } + leaf reference-type { + type uint16; + description + "Reference type "; + } + leaf reference-lsa-id { + type uint32; + description + "Reference LSA ID "; + } + leaf lsa-router-id { + type uint32; + description + "LSA router ID "; + } + leaf prefix { + type inet:ipv6-address; + description + "OSPFv3 address Prefix "; + } + leaf prefix-length { + type uint8; + description + "Prefix length "; + } + leaf interface-name { + type xr:Interface-name; + description + "LSA interface name "; + } + leaf is-virtual-link { + type boolean; + description + "If true, it is a virtual link "; + } + leaf virtual-link-id { + type uint32; + description + "Virtual link ID "; + } + leaf is-sham-link { + type boolean; + description + "If true, it is a sham link "; + } + leaf sham-link-id { + type uint32; + description + "Sham link ID "; + } + } + + grouping OSPFV3-LSA-INFO-UNION { + description + "Detail LSA information for an LSA"; + container lsa-summary-info { + when "../lsa-info-type = 'mgmt-lsa-lsasum-type'" { + description + "../LSAInfoType = 'MGMT_LSA_LSASUM_TYPE'"; + } + description + "Summary information of LSAs"; + uses OSPFV3-EDM-DATABASE; + } + container router-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-rtr-type'" { + description + "../LSAInfoType = 'MGMT_LSA_RTR_TYPE'"; + } + description + "Router LSA"; + uses OSPFV3-EDM-LSA-ROUTER; + } + container network-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-net-type'" { + description + "../LSAInfoType = 'MGMT_LSA_NET_TYPE'"; + } + description + "Network LSA"; + uses OSPFV3-EDM-LSA-NETWORK; + } + container inter-area-prefix-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-iapfx-type'" { + description + "../LSAInfoType = 'MGMT_LSA_IAPFX_TYPE'"; + } + description + "Inter Area Prefix LSA"; + uses OSPFV3-EDM-LSA-IAPFX; + } + container inter-area-router-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-iartr-type'" { + description + "../LSAInfoType = 'MGMT_LSA_IARTR_TYPE'"; + } + description + "Inter Area Router LSA"; + uses OSPFV3-EDM-LSA-IARTR; + } + container external-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-ext-type'" { + description + "../LSAInfoType = 'MGMT_LSA_EXT_TYPE'"; + } + description + "External LSA"; + uses OSPFV3-EDM-LSA-EXTERNAL; + } + container nssalsa-type { + when "../lsa-info-type = 'mgmt-lsa-nssaext-type'" { + description + "../LSAInfoType = 'MGMT_LSA_NSSAEXT_TYPE'"; + } + description + "NSSA External LSA"; + uses OSPFV3-EDM-LSA-EXTERNAL; + } + container link-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-link-type'" { + description + "../LSAInfoType = 'MGMT_LSA_LINK_TYPE'"; + } + description + "Link LSA"; + uses OSPFV3-EDM-LSA-LINK; + } + container intra-area-prefix-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-prefix-type'" { + description + "../LSAInfoType = 'MGMT_LSA_PREFIX_TYPE'"; + } + description + "Intra Area Prefix LSA"; + uses OSPFV3-EDM-LSA-PREFIX; + } + container grace-lsa { + when "../lsa-info-type = 'mgmt-lsa-gr-type'" { + description + "../LSAInfoType = 'MGMT_LSA_GR_TYPE'"; + } + description + "Grace LSA"; + uses OSPFV3-EDM-LSA-GRACE; + } + container unknown-link-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-unk-link-type'" { + description + "../LSAInfoType = 'MGMT_LSA_UNK_LINK_TYPE'"; + } + description + "Unknown Link Scope LSA"; + uses OSPFV3-EDM-LSA-UNKNOWN; + } + container unknown-area-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-unk-area-type'" { + description + "../LSAInfoType = 'MGMT_LSA_UNK_AREA_TYPE'"; + } + description + "Unknown-Area scope LSA"; + uses OSPFV3-EDM-LSA-UNKNOWN; + } + container unknown-aslsa-type { + when "../lsa-info-type = 'mgmt-lsa-unk-as-type'" { + description + "../LSAInfoType = 'MGMT_LSA_UNK_AS_TYPE'"; + } + description + "Unknown-AS scope LSA"; + uses OSPFV3-EDM-LSA-UNKNOWN; + } + container unknown-lsa-type { + when "../lsa-info-type = 'mgmt-lsa-unk-type'" { + description + "../LSAInfoType = 'MGMT_LSA_UNK_TYPE'"; + } + description + "Unknown LSA"; + uses OSPFV3-EDM-LSA-UNKNOWN; + } + leaf lsa-info-type { + type Ospfv3-lsa-info-types; + description + "LSAInfoType"; + } + } + + grouping OSPFV3-EDM-DATABASE-LSAINFO { + description + "OSPFv3 LSA Information"; + container lsa-info { + description + "Summary of all LSAs or LSA specific information "; + uses OSPFV3-LSA-INFO-UNION; + } + } + + grouping OSPFV3-EDM-AREA-RANGE { + description + "OSPFv3 area range information"; + leaf range-prefix { + type inet:ipv6-address; + description + "IP prefix for summarization"; + } + leaf range-prefix-length { + type uint32; + description + "IP prefix length for summarization"; + } + leaf net-cost { + type uint32; + description + "Net cost "; + } + leaf status { + type Ospfv3-area-range-status; + description + "Area range status "; + } + leaf is-cost-configured { + type boolean; + description + "If true, cost is configured "; + } + } + + grouping OSPFV3-EDM-AREA { + description + "OSPFv3 area summary information"; + leaf is-backbone-area-active { + type boolean; + description + "If true, Backbone area is active"; + } + leaf area-interfaces { + type uint16; + description + "Number of interfaces in the area"; + } + leaf is-area-stubbed { + type boolean; + description + "If true, stub area"; + } + leaf is-area-total-stubbed { + type boolean; + description + "If true, totally stubby area"; + } + leaf stub-default-cost { + type uint16; + description + "Default cost for Stub or NSSA area"; + } + leaf is-area-nssa { + type boolean; + description + "If true, area is a NSSA"; + } + leaf nssa-no-redistribution { + type boolean; + description + "If true, No redistribution into this NSSA area"; + } + leaf is-nssa-translated { + type boolean; + description + "If true, perform 7/5 translation"; + } + leaf is-nssa-default { + type boolean; + description + "If true, generate NSSA default route"; + } + leaf is-rrr-enabled { + type boolean; + description + "If true, RRR is enabled"; + } + leaf sp-fs { + type uint32; + description + "Number of SPF calculations run"; + } + leaf area-opaque-lsas { + type uint32; + description + "Number of opaque LSAs in the area"; + } + leaf area-opaque-lsa-checksum { + type uint32; + description + "Sum of opaque LSA checksums"; + } + leaf area-dc-bitless-ls-as { + type uint32; + description + "Number of LSA with demand circuit bit not set"; + } + leaf indication-ls-as { + type uint32; + description + "Number of indication LSAs"; + } + leaf do-not-age-ls-as { + type uint32; + description + "Number of do not age LSAs"; + } + leaf flood-list-length { + type uint32; + description + "Number of LSAs which need to be flooded"; + } + leaf area-lfa-interface-count { + type uint32; + description + "Number of LFA enabled interfaces"; + } + leaf area-per-prefix-lfa-interface-count { + type uint32; + description + "Number of Per Prefix LFA enabled interfaces"; + } + leaf area-lfa-revision { + type uint32; + description + "Area LFA revision"; + } + list area-range { + description + "List of ranges to summarize"; + uses OSPFV3-EDM-AREA-RANGE; + } + } + + grouping OSPFV3-EDM-NEIGHBOR-RETRANS { + description + "OSPFv3 neighbor retransmission information"; + leaf database-descriptor-retransmissions { + type uint32; + description + "Number of database descriptor retransmissions + during last exchange"; + } + leaf area-flood-index { + type uint32; + description + "Area scope LSA's flood index"; + } + leaf as-flood-index { + type uint32; + description + "AS scope LSA's flood index"; + } + leaf link-flood-index { + type uint32; + description + "Link flood index"; + } + leaf neighbor-retransmissions { + type uint32; + description + "Number of neighbor retransmissions "; + } + leaf retransmissions { + type uint32; + description + "Number of retransmissions for this neighbor"; + } + leaf area-first-flood { + type uint32; + description + "First flood item for area scope LSAs"; + } + leaf area-first-flood-index { + type uint32; + description + "Index of the first flood item for area scope + LSAs"; + } + leaf as-first-flood { + type uint32; + description + "First flood item for AS scope LSAs"; + } + leaf as-first-flood-index { + type uint32; + description + "Index for first flood item for AS scope LSAs"; + } + leaf link-first-flood { + type uint32; + description + "Link first flood information "; + } + leaf link-first-flood-index { + type uint32; + description + "Link first flood information index"; + } + leaf area-next-flood { + type uint32; + description + "Next flood item for area scope LSAs"; + } + leaf area-next-flood-index { + type uint32; + description + "Index of next flood item for Area scope LSAs"; + } + leaf as-next-flood { + type uint32; + description + "Next flood item for AS scope LSAs"; + } + leaf as-next-flood-index { + type uint32; + description + "Index of next flood item for AS scope LSAs"; + } + leaf link-next-flood { + type uint32; + description + "Link next flood information "; + } + leaf link-next-flood-index { + type uint32; + description + "Link next flood information index "; + } + leaf last-retransmission-length { + type uint32; + description + "Number of LSAs sent in last retransmission"; + } + leaf maximum-retransmission-length { + type uint32; + description + "Maximum number of LSAs sent in a retransmission"; + } + leaf last-retransmission-time { + type uint32; + description + "Last retransmission scan time (ms)"; + } + leaf maximum-retransmission-time { + type uint32; + description + "Maximum retransmission scan time (ms)"; + } + leaf lsa-retransmission-timer { + type uint32; + description + "Time until next LSA retransmission (ms)"; + } + } + + grouping OSPFV3-SH-SLINK-NEIGHBOR { + description + "Sham Link Neighbor Information"; + container sham-link-retransmission { + description + "Neighbor retransmission info"; + uses OSPFV3-EDM-NEIGHBOR-RETRANS; + } + leaf sham-link-suppress-hello { + type boolean; + description + "If true Hellos suppressed"; + } + leaf sham-link-state { + type Ospfv3-neighbor-state; + description + "Adjacency state"; + } + } + + grouping OSPFV3-SH-SHAM-LINKS { + description + "OSPFv3 Sham Link"; + container sham-link-neighbor { + description + "Neighbor information"; + uses OSPFV3-SH-SLINK-NEIGHBOR; + } + leaf sham-link-neighbor-id { + type inet:ipv4-address; + description + "Neighbor on other end of this sham link"; + } + leaf sham-link-source-address { + type inet:ipv6-address; + description + "Sham-link source"; + } + leaf sham-link-dest-address { + type inet:ipv6-address; + description + "Sham-link dest"; + } + leaf sham-link-state { + type Ospfv3-interface-state; + description + "OSPF interface state for the sham link"; + } + leaf sham-link-demand-circuit { + type boolean; + description + "If true, the link runs as demand circuit"; + } + leaf sham-link-dc-bitless-lsa { + type uint32; + description + "Number of LSA's with demand circuit bit not set"; + } + leaf sham-link-ifindex { + type uint32; + description + "Sham-link ifindex"; + } + leaf sham-link-area { + type string; + description + "Area id"; + } + leaf sham-link-cost { + type uint16; + description + "Cost of the sham link"; + } + leaf sham-link-transmission-delay { + type uint16; + units "second"; + description + "Transmission delay in seconds"; + } + leaf sham-link-hello-interval { + type uint32; + description + "Hello interval (s)"; + } + leaf sham-link-dead-interval { + type uint32; + description + "Dead interval (s)"; + } + leaf sham-link-wait-interval { + type uint32; + description + "Wait interval (s)"; + } + leaf sham-link-retransmission-interval { + type uint32; + description + "Retransmission interval (s)"; + } + leaf sham-link-next-hello { + type uint32; + description + "Time until next hello (s)"; + } + leaf sham-link-passive { + type boolean; + description + "If true, interface is passive"; + } + leaf is-sham-link-ip-security-required { + type boolean; + description + "If true, sham link IP security is required "; + } + leaf is-sham-link-ip-security-active { + type boolean; + description + "If true, Sham link IP security is active "; + } + leaf is-sham-link-authentication-enabled { + type boolean; + description + "If true, sham link authentication is enabled "; + } + leaf virtual-link-authentication-spi { + type uint32; + description + "Sham link authentication spi "; + } + leaf sham-link-authentication-transmit { + type uint32; + description + "Sham link authentication transmit "; + } + leaf is-sham-link-encryption-enabled { + type boolean; + description + "If true, sham link encryption is enabled "; + } + leaf sham-link-encryption-spi { + type uint32; + description + "Sham link encryption spi"; + } + leaf sham-link-encryption-transmitted { + type uint32; + description + "Sham link encryption transmitted "; + } + leaf sham-link-encrypted-authentication-transmitted { + type uint32; + description + "Sham link encrypted authentication transmitted "; + } + leaf sham-link-gr-enabled { + type boolean; + description + "If true, enabled"; + } + leaf sham-link-gr { + type boolean; + description + "If true, Gracefule restart in progress"; + } + leaf sham-link-last-gr { + type uint32; + units "second"; + description + "Time in seconds since last GR"; + } + } + + grouping OSPFV3-EDM-BR-PATH { + description + "OSPFv3 border router path"; + leaf is-intra-area-router { + type boolean; + description + "If true, intra-area router else inter-area + router"; + } + leaf border-router-route-metric { + type uint32; + description + "Metric"; + } + leaf border-router-next-hop { + type inet:ipv6-address; + description + "Next hop address "; + } + leaf interface-name { + type xr:Interface-name; + description + "Next hop interface name"; + } + leaf border-router-type { + type Ospfv3-border-route; + description + "Border router type "; + } + leaf border-router-area-id { + type string { + length "0..16"; + } + description + "Area string in decimal or dotted-decimal format "; + } + leaf spf-version { + type uint32; + description + "SPF version"; + } + } + + grouping OSPFV3-EDM-BORDER-ROUTER { + description + "OSPFv3 border router information"; + list border-router-path { + description + "List of border router paths"; + uses OSPFV3-EDM-BR-PATH; + } + } + + grouping OSPFV3-EDM-SUMMARY-PREFIX { + description + "OSPFv3 summary prefix information"; + leaf prefix-metric { + type uint32; + description + "Prefix metric"; + } + leaf prefix-metric-type { + type Ospfv3-default-metric; + description + "Prefix metric type"; + } + leaf tag { + type uint32; + description + "Tag"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper.yang new file mode 100644 index 0000000..d8e672b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ospfv3-oper.yang @@ -0,0 +1,927 @@ +module Cisco-IOS-XR-ipv6-ospfv3-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ospfv3-oper"; + prefix ipv6-ospfv3-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv6-ospfv3-oper-sub1 { + revision-date 2017-10-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-ospfv3 package operational data. + + This module contains definitions + for the following management objects: + ospfv3: OSPFv3 operational information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-30 { + description + "Added link information in grace LSA."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ospfv3-lsa { + type enumeration { + enum "link-lsa" { + value 8; + description + "Link LSA"; + } + enum "grace-lsa" { + value 11; + description + "Grace LSA"; + } + enum "router" { + value 8193; + description + "Router LSA"; + } + enum "network" { + value 8194; + description + "Network LSA"; + } + enum "inter-area-prefix" { + value 8195; + description + "Inter-Area Prefix LSA"; + } + enum "inter-area-router" { + value 8196; + description + "Inter-Area Router LSA"; + } + enum "nssa-external" { + value 8199; + description + "NSSA External LSA"; + } + enum "intra-area-prefix" { + value 8201; + description + "Intra-Area Prefix LSA"; + } + enum "external" { + value 16389; + description + "External LSA"; + } + enum "opaque-link" { + value 32768; + description + "Opaque LSALink Scope"; + } + enum "opaque-area" { + value 40960; + description + "Opaque LSA Area Scope"; + } + enum "opaque-as" { + value 49152; + description + "Opaque LSA AS Scope"; + } + enum "unknown" { + value 57344; + description + "Unknown Reserved Scope LSAs"; + } + } + description + "Ospfv3 lsa"; + } + + grouping FLOOD-LIST-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container flood-list-process-table { + description + "OSPFv3 flood list information table for all + areas"; + uses FLOOD-LIST; + } + } + + grouping FLOOD-LIST { + description + "Common node of flood-list-table, + flood-list-process-table"; + list flood { + key "interface-name"; + description + "OSPFv3 flood list information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPFV3-EDM-FLOOD-LIST; + } + } + + grouping BORDER-ROUTER-TABLE { + description + "Common node of default-vrf, vrf"; + container border-routers { + description + "OSPFv3 border router information table"; + list border-router { + key "border-router-id"; + description + "OSPFv3 border router information"; + leaf border-router-id { + type inet:ipv4-address-no-zone; + description + "Router address"; + } + uses OSPFV3-EDM-BORDER-ROUTER; + } + } + } + + grouping FAST-REROUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container fast-reroutes { + description + "OSPFv3 fast reroute topology information table"; + list fast-reroute { + description + "OSPFv3 fast reroute topology information"; + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Router ID"; + } + leaf area-id { + type int32; + description + "AreaID"; + } + uses OSPFV3-SH-IPFRR-TOPO; + } + } + } + + grouping AREA-TABLE { + description + "Common node of default-vrf, vrf"; + container areas { + description + "OSPFv3 area table"; + list area { + key "area-id"; + description + "Per-area information"; + container neighbor-detail-table { + description + "OSPFv3 area neighbor information table"; + uses NEIGHBOR-DETAIL; + } + container interface-brief-table { + description + "OSPFv3 interface brief information table for + an area"; + uses INTERFACE-BRIEF; + } + container request-list-table { + description + "OSPFv3 request list information in an area"; + uses REQUEST-LIST; + } + container neighbor-table { + description + "OSPFv3 neighbor information table"; + uses NEIGHBOR; + } + container interface-table { + description + "OSPFv3 interface information table for an area"; + uses INTERFACE; + } + container flood-list-table { + description + "OSPFv3 flood list information table for an + area"; + uses FLOOD-LIST; + } + container retransmission-list-table { + description + "OSPFv3 retransmission list information table + in an area"; + uses RETRANSMISSION-LIST; + } + leaf area-id { + type int32; + description + "Area ID"; + } + uses DATABASE-TABLE; + uses DATABASE-SUMMARY-TABLE; + } + } + } + + grouping EXTERNAL-ROUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container external-routes { + description + "OSPFv3 external route information table"; + list external-route { + description + "OSPFv3 external route information"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Route prefix"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix length"; + } + uses OSPFV3-EDM-TOPOLOGY-EXTERNAL; + } + } + } + + grouping RAWIO-STATS { + description + "Common node of statistics, vrf-statistics"; + container rawio-stats { + description + "OSPF Prefix SPF Prioritization statistics"; + uses OSPFV3-EDM-RAW-STATS; + } + } + + grouping NEIGHBOR-DETAIL-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbor-detail-process-table { + description + "OSPFv3 neighbor information table for all areas"; + uses NEIGHBOR-DETAIL; + } + } + + grouping VRF-RIB-BATCH-STATS { + description + "Common node of statistics, vrf-statistics"; + container vrf-rib-batch-stats { + description + "OSPFv3 RIB batch statistics"; + uses OSPFV3-EDM-BATCH-STATS; + } + } + + grouping VRF-STATISTICS { + description + "Common node of default-vrf, vrf"; + container vrf-statistics { + description + "Container for Statistics"; + uses PROTOCOL-STATS-TABLE; + uses SPF-STATS; + uses RAWIO-STATS; + uses PREFIX-PRIORITY-STATS; + uses VRF-RIB-BATCH-STATS; + } + } + + grouping INTERFACE { + description + "Common node of interface-table, + interface-process-table"; + list interface { + key "interface-name"; + description + "OSPFv3 interface information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPFV3-EDM-INTERFACE; + } + } + + grouping INTERFACE-BRIEF { + description + "Common node of interface-brief-table, + interface-brief-process-table"; + list interface-brief { + key "interface-name"; + description + "Interface brief information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPFV3-EDM-INTF-BRIEF; + } + } + + grouping ROUTE-SUMMARY { + description + "Common node of default-vrf, vrf"; + container route-summary { + description + "Summarize OSPFv3 local RIB tables"; + uses OSPFV3-EDM-ROUTE-SUM; + } + } + + grouping PREFIX-PRIORITY-STATS { + description + "Common node of statistics, vrf-statistics"; + container prefix-priority-stats { + description + "OSPF Prefix SPF Prioritization statistics"; + uses OSPFV3-EDM-PRIO-STATS; + } + } + + grouping NEIGHBOR-DETAIL { + description + "Common node of neighbor-detail-process-table, + neighbor-detail-table"; + list neighbor-detail { + description + "OSPFv3 neighbor detail information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor ID"; + } + uses OSPFV3-EDM-NEIGHBOR; + } + } + + grouping LSA { + description + "Common node of lsa-table, lsa-internal-table"; + list lsa { + description + "Database LSA information"; + leaf area-id { + type int32; + description + "Area ID"; + } + leaf ls-type { + type Ospfv3-lsa; + description + "LSA type"; + } + leaf advertising-router { + type inet:ipv4-address-no-zone; + description + "Advertising Router ID"; + } + leaf ls-id { + type int32; + description + "Link state ID"; + } + leaf interface-name { + type xr:Interface-name; + description + "InterfaceName"; + } + uses OSPFV3-EDM-DATABASE-LSAINFO; + } + } + + grouping VIRTUAL-LINK { + description + "Common node of default-vrf, vrf"; + container virtual-link { + description + "Virtual link information"; + uses OSPFV3-EDM-VIRTUAL-LINKS; + } + } + + grouping RETRANSMISSION-LIST { + description + "Common node of retransmission-list-process-table, + retransmission-list-table"; + list retransmission { + description + "OSPFv3 retransmission list information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPFV3-EDM-RETRANS; + } + } + + grouping RETRANSMISSION-LIST-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container retransmission-list-process-table { + description + "OSPFv3 retransmission list information table for + all areas"; + uses RETRANSMISSION-LIST; + } + } + + grouping SPF-STATS { + description + "Common node of statistics, vrf-statistics"; + container spf-stats { + description + "OSPFv3 RIB batch statistics"; + uses OSPFV3-EDM-SPF-STATS; + } + } + + grouping SUMMARY-PREFIX-TABLE { + description + "Common node of default-vrf, vrf"; + container summary-prefixes { + description + "Summary prefix information table"; + list summary-prefix { + description + "Summary prefix information"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Summary prefix"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix length"; + } + uses OSPFV3-EDM-SUMMARY-PREFIX; + } + } + } + + grouping AREA-INFORMATION-TABLE { + description + "Common node of default-vrf, vrf"; + container area-informations { + description + "OSPFv3 area information table"; + list area-information { + key "area-id"; + description + "OSPFv3 area information"; + leaf area-id { + type int32; + description + "Area ID"; + } + uses OSPFV3-EDM-AREA; + } + } + } + + grouping SHAM-LINK-TABLE { + description + "Common node of default-vrf, vrf"; + container sham-link-table { + description + "Sham link information"; + uses OSPFV3-SH-SHAM-LINKS; + } + } + + grouping NEIGHBOR { + description + "Common node of neighbor-process-table, + neighbor-table"; + list neighbor { + description + "OSPFv3 neighbor detail information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor ID"; + } + uses OSPFV3-EDM-NEIGHBOR; + } + } + + grouping SUMMARY { + description + "Common node of default-vrf, vrf"; + container summary { + description + "OSPFv3 summary"; + container protocol { + description + "OSPFv3 protocol summary"; + uses OSPFV3-EDM-PROTOCOL; + } + container ospfv3 { + description + "OSPFv3 summary"; + uses OSPFV3-EDM-SUMMARY; + } + container route { + description + "OSPFv3 route summary"; + uses OSPFV3-EDM-ROUTE-SUM; + } + } + } + + grouping REQUEST-LIST-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container request-list-process-table { + description + "OSPFv3 request list information for all areas"; + uses REQUEST-LIST; + } + } + + grouping DATABASE-TABLE { + description + "Common node of area, default-vrf, vrf"; + container database-table { + description + "OSPF Link State Database"; + container lsa-table { + description + "Database LSA information"; + uses LSA; + } + container lsa-internal-table { + description + "Database LSA information"; + uses LSA; + } + } + } + + grouping CONNECTED-ROUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container connected-routes { + description + "OSPFv3 connected route information table"; + list connected-route { + description + "OSPFv3 connected route information"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Route prefix"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix length"; + } + uses OSPFV3-EDM-TOPOLOGY-CONNECTED; + } + } + } + + grouping BAD-CHECKSUM-TABLE { + description + "Common node of default-vrf, vrf"; + container bad-checksums { + description + "Bad Checksum Packets information table"; + list bad-checksum { + key "packet-number"; + description + "Bad Checksum Packet information"; + leaf packet-number { + type uint32 { + range "0..9"; + } + description + "Bad Checksum Packets number"; + } + uses OSPFV3-SH-BAD-CHECKSUM; + } + } + } + + grouping PROTOCOL-STATS-TABLE { + description + "Common node of statistics, vrf-statistics"; + container protocol-stats { + description + "Protocol table"; + list protocol-stat { + key "interface-name"; + description + "Protocol statistics for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses OSPFV3-EDM-PROTO-STATS; + } + } + } + + grouping DATABASE-SUMMARY-TABLE { + description + "Common node of default-vrf, vrf, area"; + container database-summary-table { + description + "Database summary table"; + container database-summary { + description + "Database Summary information"; + uses OSPFV3-EDM-DB-SUMMARY; + } + } + } + + grouping REQUEST-LIST { + description + "Common node of request-list-process-table, + request-list-table"; + list request { + description + "OSPFv3 request list information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor address"; + } + uses OSPFV3-EDM-REQUEST; + } + } + + grouping INTERFACE-BRIEF-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container interface-brief-process-table { + description + "OSPFv3 interface brief information table for all + areas"; + uses INTERFACE-BRIEF; + } + } + + grouping NEIGHBOR-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbor-process-table { + description + "OSPFv3 neighbor information table for all areas"; + uses NEIGHBOR; + } + } + + grouping INTERNAL-ROUTE-TABLE { + description + "Common node of default-vrf, vrf"; + container internal-routes { + description + "OSPFv3 internal route information table"; + list internal-route { + description + "OSPFv3 internal route information"; + leaf prefix { + type inet:ipv6-address-no-zone; + description + "Route prefix"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + description + "Prefix length"; + } + uses OSPFV3-EDM-TOPOLOGY-INTERNAL; + } + } + } + + grouping REDISTRIBUTION-TABLE { + description + "Common node of default-vrf, vrf"; + container redistributions { + description + "Redistribution information table"; + list redistribution { + description + "Redistribution information"; + leaf protocol-name { + type xr:Cisco-ios-xr-string; + description + "Protocol name that is redistributed"; + } + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "Process name of a protocolbeing redistributed "; + } + uses OSPFV3-EDM-REDIST; + } + } + } + + grouping INTERFACE-PROCESS-TABLE { + description + "Common node of default-vrf, vrf"; + container interface-process-table { + description + "OSPFv3 interface information table for all areas"; + uses INTERFACE; + } + } + + grouping PROTOCOL-AREA-TABLE { + description + "Common node of default-vrf, vrf"; + container protocol-areas { + description + "Protocol area table "; + list protocol-area { + key "area-id"; + description + "Area information "; + leaf area-id { + type inet:ipv4-address-no-zone; + description + "Area ID"; + } + uses OSPFV3-EDM-PROTO-AREA; + } + } + } + + container ospfv3 { + config false; + description + "OSPFv3 operational information "; + container processes { + description + "OSPFv3 Process Table"; + list process { + key "process-name"; + description + "OSPFv3 Operational data for a particular OSPFv3 + process "; + container vrfs { + description + "Table for each VRF"; + list vrf { + key "vrf-name"; + description + "Operational data for a particular VRF + (instance) in the OSPFv3 process"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses SUMMARY-PREFIX-TABLE; + uses BORDER-ROUTER-TABLE; + uses SHAM-LINK-TABLE; + uses AREA-INFORMATION-TABLE; + uses DATABASE-TABLE; + uses INTERFACE-PROCESS-TABLE; + uses REDISTRIBUTION-TABLE; + uses EXTERNAL-ROUTE-TABLE; + uses REQUEST-LIST-PROCESS-TABLE; + uses VIRTUAL-LINK; + uses FLOOD-LIST-PROCESS-TABLE; + uses ROUTE-SUMMARY; + uses AREA-TABLE; + uses INTERNAL-ROUTE-TABLE; + uses PROTOCOL-AREA-TABLE; + uses CONNECTED-ROUTE-TABLE; + uses VRF-STATISTICS; + uses SUMMARY; + uses RETRANSMISSION-LIST-PROCESS-TABLE; + uses BAD-CHECKSUM-TABLE; + uses DATABASE-SUMMARY-TABLE; + uses NEIGHBOR-PROCESS-TABLE; + uses FAST-REROUTE-TABLE; + uses INTERFACE-BRIEF-PROCESS-TABLE; + uses NEIGHBOR-DETAIL-PROCESS-TABLE; + } + } + container statistics { + description + "Container for Statistics"; + container nsr-stats { + description + "OSPF NSR statistics"; + uses OSPFV3-EDM-NSR-STATS; + } + container rib-thread-stats { + description + "OSPFv3 RIB thread statistics"; + uses OSPFV3-EDM-RTHREAD-STATS; + } + container issu-stats { + description + "OSPF ISSU statistics"; + uses OSPFV3-EDM-NSR-STATS; + } + container nsr-pl-stats { + description + "OSPF NSR packet library statistics"; + uses OSPF-SH-NCD-STATS; + } + uses PROTOCOL-STATS-TABLE; + uses SPF-STATS; + uses RAWIO-STATS; + uses PREFIX-PRIORITY-STATS; + uses VRF-RIB-BATCH-STATS; + } + container default-vrf { + description + "Operational data for the default VRF + (instance) in the OSPFv3 process"; + uses SUMMARY-PREFIX-TABLE; + uses BORDER-ROUTER-TABLE; + uses SHAM-LINK-TABLE; + uses AREA-INFORMATION-TABLE; + uses DATABASE-TABLE; + uses INTERFACE-PROCESS-TABLE; + uses REDISTRIBUTION-TABLE; + uses EXTERNAL-ROUTE-TABLE; + uses REQUEST-LIST-PROCESS-TABLE; + uses VIRTUAL-LINK; + uses FLOOD-LIST-PROCESS-TABLE; + uses ROUTE-SUMMARY; + uses AREA-TABLE; + uses INTERNAL-ROUTE-TABLE; + uses PROTOCOL-AREA-TABLE; + uses CONNECTED-ROUTE-TABLE; + uses VRF-STATISTICS; + uses SUMMARY; + uses RETRANSMISSION-LIST-PROCESS-TABLE; + uses BAD-CHECKSUM-TABLE; + uses DATABASE-SUMMARY-TABLE; + uses NEIGHBOR-PROCESS-TABLE; + uses FAST-REROUTE-TABLE; + uses INTERFACE-BRIEF-PROCESS-TABLE; + uses NEIGHBOR-DETAIL-PROCESS-TABLE; + } + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "Particular OSPFv3 process"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ping-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ping-act.yang new file mode 100644 index 0000000..15ef731 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-ping-act.yang @@ -0,0 +1,117 @@ +submodule Cisco-IOS-XR-ipv6-ping-act { + belongs-to Cisco-IOS-XR-ping-act { + prefix ping-act; + } + + include Cisco-IOS-XR-ipv4-ping-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv6 ping action package configuration. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-13 { + description + "IOS XR 6.2.1 revision."; + } + + grouping IPV6-SPECIFIC-OPTIONS { + leaf priority { + type uint8 { + range "0..15"; + } + description + "Priority of the packet"; + } + leaf outgoing-interface { + type string; + description + "Outgoing interface, needed in case of ping to link local address"; + } + } + + grouping IPV6-PING-INPUT { + uses PING-OPTIONS; + uses IPV6-SPECIFIC-OPTIONS; + } + + grouping IPV6-PING-OUTPUT { + uses PING-COMMON-INPUT-OUTPUT-OPTIONS; + leaf sweep-min { + type uint32; + description + "Minimum value of sweep size"; + } + leaf sweep-max { + type uint64; + description + "Maximum value of sweep size"; + } + leaf rotate-pattern { + type boolean; + description + "Rotate Pattern is enabled"; + } + container replies { + list reply { + key "reply-index"; + leaf reply-index { + type uint64 { + range "1..2147483647"; + } + description + "Index of the reply list"; + } + leaf result { + type string; + description + "Response for each packet"; + } + } + } + leaf hits { + type uint64; + description + "Number of packets reach to destination and get reply back"; + } + leaf total { + type uint64; + description + "Total number of packets sent out"; + } + leaf success-rate { + type uint64; + description + "Successful rate of ping"; + } + leaf rtt-min { + type uint64; + description + "Minimum value of Round Trip Time"; + } + leaf rtt-avg { + type uint64; + description + "Average value of Round Trip Time"; + } + leaf rtt-max { + type uint64; + description + "Maximum value of Round Trip Time"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-smiap-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-smiap-cfg.yang new file mode 100644 index 0000000..c2a3293 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-smiap-cfg.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-ipv6-smiap-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-smiap-cfg"; + prefix ipv6-smiap-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ipv6-smiap package configuration. + + This module contains definitions + for the following management objects: + ipv6-virtual: IPv6 virtual address for management interfaces + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-07-04 { + description + "this schema file has all the latest changes."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ipv6-virtual { + description + "IPv6 virtual address for management interfaces"; + container vrfs { + description + "VRFs for the virtual IPv6 addresses"; + list vrf { + key "vrf-name"; + description + "A VRF for a virtual IPv6 address. Specify + 'default' for VRF default"; + container address { + presence "Indicates a address node is configured."; + description + "IPv6 address and mask"; + leaf address { + type inet:ipv6-address-no-zone; + mandatory true; + description + "IPv6 address"; + } + leaf prefix-length { + type xr:Ipv6-prefix-length; + mandatory true; + description + "IPv6 address prefix length"; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "Name of VRF"; + } + } + } + leaf use-as-source-address { + type empty; + description + "Enable use as default source address on sourced + packets"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-traceroute-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-traceroute-act.yang new file mode 100644 index 0000000..c0b61ee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ipv6-traceroute-act.yang @@ -0,0 +1,51 @@ +submodule Cisco-IOS-XR-ipv6-traceroute-act { + belongs-to Cisco-IOS-XR-traceroute-act { + prefix traceroute-act; + } + + include Cisco-IOS-XR-ipv4-traceroute-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR IPv6 traceroute action package configuration. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-17 { + description + "IOS XR 6.2.1 revision."; + } + + grouping IPV6-SPECIFIC-OPTIONS { + leaf priority { + type uint16 { + range "0..15"; + } + description + "Priority of hte packet"; + } + leaf outgoing-interface { + type string; + description + "Outgoing interface, needed in case of traceroute to link local address"; + } + } + + grouping IPV6-TRACEROUTE-INPUT { + uses TRACEROUTE-OPTIONS; + uses IPV6-SPECIFIC-OPTIONS; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-isis-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-isis-act.yang new file mode 100644 index 0000000..85cbf7b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-isis-act.yang @@ -0,0 +1,198 @@ +module Cisco-IOS-XR-isis-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-isis-act"; + prefix isis-act; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ISIS action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-30 { + description + "IOS XR 6.2.1 revision."; + } + + rpc clear-isis-process { + description + "Clear all IS-IS data structures"; + input { + container instance { + description + "Clear data from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + leaf process { + type empty; + description + "Clear all IS-IS data structures"; + } + } + } + rpc clear-isis-route { + description + "Clear IS-IS routes"; + input { + container instance { + description + "Clear data from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + leaf route { + type empty; + description + "Clear IS-IS routes"; + } + } + } + rpc clear-isis-stat { + description + "Clear IS-IS protocol statistics"; + input { + container instance { + description + "Clear data from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + container statistics { + description + "Clear IS-IS protocol statistics"; + leaf interface-name { + type xr:Interface-name; + mandatory true; + description + "Interface name"; + } + } + } + } + rpc clear-isis-dist { + description + "Reset BGP-LS topology distribution"; + input { + container instance { + description + "Reset BGP-LS topology from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + leaf distribution { + type empty; + description + "Reset BGP-LS topology distribution"; + } + } + } + rpc clear-isis-local-lsp { + description + "Clean and regenerate local LSPs"; + input { + container instance { + description + "Clean and regenerate local LSPs from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + leaf local-lsp { + type empty; + description + "Clean and regenerate local LSPs"; + } + } + } + rpc clear-isis { + description + "Clear IS-IS data structures"; + input { + container instance { + description + "Clear data from single IS-IS instance"; + leaf instance-identifier { + type string; + description + "IS-IS process instance identifier"; + } + } + leaf rt-type { + type enumeration { + enum "AFI-ALL-MULTICAST" { + value 0; + } + enum "AFI-ALL-SAFI-ALL" { + value 1; + } + enum "AFI-ALL-UNICAST" { + value 2; + } + enum "IPv4-MULTICAST" { + value 3; + } + enum "IPv4-SAFI-ALL" { + value 4; + } + enum "IPv4-UNICAST" { + value 5; + } + enum "IPv6-MULTICAST" { + value 6; + } + enum "IPv6-SAFI-ALL" { + value 7; + } + enum "IPv6-UNICAST" { + value 8; + } + } + description + "Clear data for these route types"; + } + leaf route { + when "../topology = ''"; + type empty; + description + "Clear IS-IS routes"; + } + leaf topology { + when "../route = 'empty'"; + type string; + description + "Topology table information"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-kim-tpa-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-kim-tpa-cfg.yang new file mode 100644 index 0000000..aa967ee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-kim-tpa-cfg.yang @@ -0,0 +1,156 @@ +module Cisco-IOS-XR-kim-tpa-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-kim-tpa-cfg"; + prefix kim-tpa-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR kim-tpa package configuration. + + This module contains definitions + for the following management objects: + tpa: tpa configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping UPDATE-SOURCE { + description + "Common node of ipv4, ipv6"; + leaf update-source { + type xr:Interface-name; + description + "Interface name for source address"; + } + } + + grouping DEFAULT-ROUTE { + description + "Common node of ipv4, ipv6"; + leaf default-route { + type string; + description + "Default interface used for routing"; + } + } + + container tpa { + description + "tpa configuration commands"; + container vrf-names { + description + "VRF container"; + list vrf-name { + key "vrf-name"; + description + "VRF name"; + container east-west-names { + description + "EastWest container"; + list east-west-name { + key "east-west-name"; + description + "East West interface"; + leaf east-west-name { + type xr:Cisco-ios-xr-string; + description + "Interface"; + } + leaf vrf { + type string; + description + "VRF name"; + } + leaf interface { + type string; + description + "Interface"; + } + } + } + container address-family { + description + "Address family"; + container ipv6 { + description + "IPv6 configuration"; + uses DEFAULT-ROUTE; + uses UPDATE-SOURCE; + } + container ipv4 { + description + "IPv4 configuration"; + uses DEFAULT-ROUTE; + uses UPDATE-SOURCE; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + container logging { + description + "Third party app logging"; + container kim { + description + "KIM logging"; + leaf rotation-max { + type int32; + description + "How many log rotation files to keep"; + } + leaf file-size-max-kb { + type int32; + units "kilobyte"; + description + "Size in Kilobytes of the log file"; + } + } + } + container statistics { + description + "Statistics"; + leaf max-intf-events { + type int32; + description + "How many interface events to record"; + } + leaf max-lpts-events { + type int32; + description + "How many LPTS events to record"; + } + leaf statistics-update-frequency { + type int32; + units "second"; + description + "Statistics update frequency into Linux"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-cfg.yang new file mode 100644 index 0000000..2fd724e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-cfg.yang @@ -0,0 +1,782 @@ +module Cisco-IOS-XR-l2-eth-infra-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg"; + prefix l2-eth-infra-cfg; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-l2-eth-infra-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2vpn-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR l2-eth-infra package configuration. + + This module contains definitions + for the following management objects: + ethernet-features: Ethernet Features Configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2vpn-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2-protocol-name { + type enumeration { + enum "cdp" { + value 0; + description + "CDP"; + } + enum "stp" { + value 1; + description + "STP"; + } + enum "vtp" { + value 2; + description + "VTP"; + } + enum "pvst" { + value 3; + description + "PVST+"; + } + enum "cpsv" { + value 4; + description + "CDP, PVST+, STP, and VTP"; + } + } + description + "L2 protocol name"; + } + + typedef L2-protocol-mode { + type enumeration { + enum "forward" { + value 0; + description + "Forward packets transparently"; + } + enum "drop" { + value 1; + description + "Drop the protocol's packets"; + } + enum "tunnel" { + value 2; + description + "Tunnel ingress frames, untunnel egress frames"; + } + enum "reverse-tunnel" { + value 3; + description + "Tunnel egress frames, untunnel ingress frames"; + } + } + description + "L2 protocol mode"; + } + + typedef Egress-filtering { + type enumeration { + enum "egress-filtering-type-strict" { + value 1; + description + "Strict Egress Filtering"; + } + enum "egress-filtering-type-disable" { + value 2; + description + "Egress Filtering Disabled"; + } + enum "egress-filtering-type-default" { + value 3; + description + "Default Egress Filtering Behavior"; + } + } + description + "Egress filtering"; + } + + typedef Filtering { + type enumeration { + enum "filtering-type-dot1q" { + value 0; + description + "C-Vlan ingress frame filtering (Table 8-1 of + 802.1ad standard)"; + } + enum "filtering-type-dot1ad" { + value 1; + description + "S-Vlan ingress frame filtering (Table 8-2 of + 802.1ad standard)"; + } + } + description + "Filtering"; + } + + typedef L2-protocol-mpls-exp-bits-value { + type uint32 { + range "0..7"; + } + description + "L2 protocol mpls exp bits value"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container vlan-sub-configuration { + description + "IEEE 802.1Q VLAN subinterface configuration"; + container vlan-identifier { + presence "Indicates a vlan-identifier node is configured."; + description + "The VLAN tag stack associated with this + sub-interface."; + leaf vlan-type { + type dt1:Vlan; + mandatory true; + description + "Whether this sub-interface is dot1ad or dot1Q"; + } + leaf first-tag { + type dt1:Vlan-tag; + mandatory true; + description + "First (outermost) VLAN tag value"; + } + leaf second-tag { + type dt1:Vlan-tag-or-null; + description + "Second VLAN tag value. The any value may only + be used for Layer 2 subinterfaces"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ethernet-service { + description + "Ethernet service configuration"; + container local-traffic-default-encapsulation { + presence "Indicates a local-traffic-default-encapsulation node is configured."; + description + "The default encapsulation to be used for + locally-sourced packets"; + leaf outer-tag-type { + type dt1:Vlan; + mandatory true; + description + "Type of outer tag"; + } + leaf outer-vlan-id { + type dt1:Vlan-tag; + mandatory true; + description + "VLAN id for outer tag"; + } + leaf inner-vlan-id { + type dt1:Vlan-tag; + description + "Optional VLAN Id for inner Dot1Q tag"; + } + } + container encapsulation { + presence "Indicates a encapsulation node is configured."; + description + "The encapsulation of this Ethernet service"; + leaf outer-tag-type { + type dt1:Match; + mandatory true; + description + "Whether to match all unmatched packets, + untagged packets or tagged packets, and if + matching tagged packets, the outer tag type to + match"; + } + leaf outer-range1-low { + type dt1:Vlan-tag-or-any; + description + "Low value of first range for outer tag match"; + } + leaf outer-range1-high { + type dt1:Vlan-tag-or-native; + description + "High value of first range for outer tag match"; + } + leaf inner-tag-type { + type dt1:Match; + description + "Type of tag for inner match (if present)"; + } + leaf inner-range1-low { + type dt1:Vlan-tag-or-any; + description + "Low value of first range for inner tag match"; + } + leaf inner-range1-high { + type dt1:Vlan-tag; + description + "High value of first range for inner tag match"; + } + leaf additional-range1-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of first additional range for tag + match"; + } + leaf additional-range1-high { + type dt1:Vlan-tag; + description + "High value of first additional range for tag + match"; + } + leaf additional-range2-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of second additional range for tag + match"; + } + leaf additional-range2-high { + type dt1:Vlan-tag; + description + "High value of second additional range for tag + match"; + } + leaf additional-range3-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of third additional range for tag + match"; + } + leaf additional-range3-high { + type dt1:Vlan-tag; + description + "High value of third additional range for tag + match"; + } + leaf additional-range4-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of forth additional range for tag + match"; + } + leaf additional-range4-high { + type dt1:Vlan-tag; + description + "High value of forth additional range for tag + match"; + } + leaf additional-range5-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of fifth additional range for tag + match"; + } + leaf additional-range5-high { + type dt1:Vlan-tag; + description + "High value of fifth additional range for tag + match"; + } + leaf additional-range6-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of sixth additional range for tag + match"; + } + leaf additional-range6-high { + type dt1:Vlan-tag; + description + "High value of sixth additional range for tag + match"; + } + leaf additional-range7-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of seventh additional range for tag + match"; + } + leaf additional-range7-high { + type dt1:Vlan-tag; + description + "High value of seventh additional range for tag + match"; + } + leaf additional-range8-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of eighth additional range for tag + match"; + } + leaf additional-range8-high { + type dt1:Vlan-tag; + description + "High value of eighth additional range for tag + match"; + } + leaf outer-class-of-service { + type dt1:Class-of-service; + description + "Value to match against Class Of Service bits + for outer tag"; + } + leaf inner-class-of-service { + type dt1:Class-of-service; + description + "Value to match against Class Of Service bits + for inner tag"; + } + leaf payload-ethertype-match { + type dt1:Ethertype-match; + description + "Which payload ethertype values to match"; + } + leaf ingress-source-mac { + type yang:mac-address; + description + "Source MAC address to match on ingress"; + } + leaf ingress-destination-mac { + type yang:mac-address; + description + "Destination MAC address to match on egress"; + } + leaf exact { + type empty; + description + "Only match packets with no more tags than + explicitly matched"; + } + } + container rewrite { + presence "Indicates a rewrite node is configured."; + description + "The rewrite operation for the Ethernet service"; + leaf rewrite-type { + type dt1:Rewrite; + mandatory true; + description + "The type of rewrite to perform"; + } + leaf outer-tag-type { + type dt1:Match; + description + "Type of outermost tag to be pushed"; + } + leaf outer-tag-value { + type dt1:Vlan-tag; + description + "VLAN Id of outermost tag to be pushed"; + } + leaf inner-tag-type { + type dt1:Match; + description + "Type of innermost tag to be pushed"; + } + leaf inner-tag-value { + type dt1:Vlan-tag; + description + "VLAN Id of innermost tag to be pushed"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ethernet-bng { + description + "Ethernet Infra BNG specific configuration"; + container ambiguous-encapsulation { + presence "Indicates a ambiguous-encapsulation node is configured."; + description + "L3 Ambiguous encapsulation"; + leaf outer-tag-type { + type dt1:Match; + mandatory true; + description + "Whether to match all unmatched packets, + untagged packets or tagged packets, and if + matching tagged packets, the outer tag type to + match"; + } + leaf outer-range1-low { + type dt1:Vlan-tag-or-any; + description + "Low value of first range for outer tag match"; + } + leaf outer-range1-high { + type dt1:Vlan-tag-or-native; + description + "High value of first range for outer tag match"; + } + leaf inner-tag-type { + type dt1:Match; + description + "Type of tag for inner match (if present)"; + } + leaf inner-range1-low { + type dt1:Vlan-tag-or-any; + description + "Low value of first range for inner tag match"; + } + leaf inner-range1-high { + type dt1:Vlan-tag; + description + "High value of first range for inner tag match"; + } + leaf additional-range1-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of first additional range for tag + match"; + } + leaf additional-range1-high { + type dt1:Vlan-tag; + description + "High value of first additional range for tag + match"; + } + leaf additional-range2-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of second additional range for tag + match"; + } + leaf additional-range2-high { + type dt1:Vlan-tag; + description + "High value of second additional range for tag + match"; + } + leaf additional-range3-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of third additional range for tag + match"; + } + leaf additional-range3-high { + type dt1:Vlan-tag; + description + "High value of third additional range for tag + match"; + } + leaf additional-range4-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of forth additional range for tag + match"; + } + leaf additional-range4-high { + type dt1:Vlan-tag; + description + "High value of forth additional range for tag + match"; + } + leaf additional-range5-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of fifth additional range for tag + match"; + } + leaf additional-range5-high { + type dt1:Vlan-tag; + description + "High value of fifth additional range for tag + match"; + } + leaf additional-range6-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of sixth additional range for tag + match"; + } + leaf additional-range6-high { + type dt1:Vlan-tag; + description + "High value of sixth additional range for tag + match"; + } + leaf additional-range7-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of seventh additional range for tag + match"; + } + leaf additional-range7-high { + type dt1:Vlan-tag; + description + "High value of seventh additional range for tag + match"; + } + leaf additional-range8-low { + type dt1:Vlan-tag-or-cvp; + description + "Low value of eighth additional range for tag + match"; + } + leaf additional-range8-high { + type dt1:Vlan-tag; + description + "High value of eighth additional range for tag + match"; + } + leaf outer-class-of-service { + type dt1:Class-of-service; + description + "Value to match against Class Of Service bits + for outer tag"; + } + leaf inner-class-of-service { + type dt1:Class-of-service; + description + "Value to match against Class Of Service bits + for inner tag"; + } + leaf payload-ethertype-match { + type dt1:Ethertype-match; + description + "Which payload ethertype values to match"; + } + leaf ingress-source-mac { + type yang:mac-address; + description + "Source MAC address to match on ingress"; + } + leaf ingress-destination-mac { + type yang:mac-address; + description + "Destination MAC address to match on egress"; + } + leaf exact { + type empty; + description + "Only match packets with no more tags than + explicitly matched"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container mac-accounting { + description + "MAC Accounting Configuration"; + leaf ingress { + type empty; + description + "Per MAC address accounting statistics"; + } + leaf egress { + type empty; + description + "Per MAC address accounting statistics"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ethernet-features { + description + "Ethernet Features Configuration"; + leaf filtering { + type Filtering; + description + "Ingress Ethernet frame filtering"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container carrier-delay { + description + "Set the carrier transition delay on an interface + in msecs"; + leaf carrier-delay-up { + type uint32 { + range "1..65535"; + } + description + "Carrier Delay (up) in msecs"; + } + leaf carrier-delay-down { + type uint32; + description + "Carrier Delay down in msecs, must be set to 0"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container vlan-trunk-configuration { + description + "IEEE 802.1Q VLAN trunk interface configuration"; + container native-vlan-identifier { + presence "Indicates a native-vlan-identifier node is configured."; + description + "The Native VLAN identifier associated with this + trunk interface"; + leaf vlan-type { + type dt1:Vlan; + mandatory true; + description + "Whether this interface is dot1ad or dot1Q"; + } + leaf vlan-identifier { + type dt1:Vlan-tag; + mandatory true; + description + "VLAN identifier"; + } + } + leaf tunneling-ethertype { + type enumeration { + enum "0x9100" { + value 37120; + description + "0x9100"; + } + enum "0x9200" { + value 37376; + description + "0x9200"; + } + } + description + "The outer ethertype used in Q-in-Q frames. The + default value is 0x8100"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + container l2-protocols { + description + "Interface specific Layer 2 protocol handling"; + list l2-protocol { + key "l2-protocol-name"; + description + "Handling of a specific Layer 2 protocol"; + leaf l2-protocol-name { + type L2-protocol-name; + description + "Protocol name"; + } + leaf mode { + type L2-protocol-mode; + mandatory true; + description + "How to handle the protocol's packets"; + } + leaf mpls-exp-bits-value { + type L2-protocol-mpls-exp-bits-value; + description + "The value to set the MPLS Exp bits to within + the PW.This value may be specified if the mode + is forward or tunnel and must not be specified + if the mode is drop"; + } + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + leaf propagate-remote-status { + type empty; + description + "Enable propagation of the remote + attachment-circuit link state to the + localattachment-circuit link state"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + container l2-ethernet-features { + description + "L2 Ethernet Features Configuration"; + leaf egress-filtering { + type Egress-filtering; + default "egress-filtering-type-default"; + description + "Egress Ethernet filtering"; + } + leaf source-bypass-egress-filtering { + type empty; + description + "Mark all ingress packets to bypass any egress + VLAN filter"; + } + } + } + container ethernet-features { + description + "Ethernet Features Configuration"; + container egress-filtering { + description + "Egress Filtering Configuration"; + leaf egress-filtering-default-on { + type empty; + description + "Whether Egress Filtering is on by default"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-datatypes.yang new file mode 100644 index 0000000..98496c6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-datatypes.yang @@ -0,0 +1,232 @@ +module Cisco-IOS-XR-l2-eth-infra-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-datatypes"; + prefix l2-eth-infra-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vlan-tag-or-cvp { + type union { + type enumeration { + enum "native-with-cvlan-preservation" { + value 65534; + description + "This is the Native VLAN and C-VLAN + preservation is enabled"; + } + } + type uint32 { + range "1..65534"; + } + } + description + "Vlan tag or cvp"; + } + + typedef Class-of-service { + type uint32 { + range "0..7"; + } + description + "Class of service"; + } + + typedef Vlan { + type enumeration { + enum "vlan-type-dot1ad" { + value 1; + description + "An 802.1ad VLAN"; + } + enum "vlan-type-dot1q" { + value 2; + description + "An 802.1q VLAN"; + } + } + description + "Vlan"; + } + + typedef Vlan-tag-or-native { + type union { + type enumeration { + enum "native" { + value 65535; + description + "This is the Native VLAN"; + } + enum "native-with-cvlan-preservation" { + value 65534; + description + "This is the Native VLAN and C-VLAN + preservation is enabled"; + } + } + type uint32 { + range "1..65535"; + } + } + description + "Vlan tag or native"; + } + + typedef Vlan-tag-or-null { + type union { + type enumeration { + enum "any" { + value 0; + description + "Match any inner VLAN tag value"; + } + } + type uint32 { + range "0..4094"; + } + } + description + "Vlan tag or null"; + } + + typedef Rewrite { + type enumeration { + enum "pop1" { + value 1; + description + "Pop 1 tag"; + } + enum "pop2" { + value 2; + description + "Pop 2 tags"; + } + enum "push1" { + value 3; + description + "Push 1 tag"; + } + enum "push2" { + value 4; + description + "Push 2 tags"; + } + enum "translate1to1" { + value 5; + description + "Translate 1-to-1"; + } + enum "translate1to2" { + value 6; + description + "Translate 1-to-2"; + } + enum "translate2to1" { + value 7; + description + "Translate 2-to-1"; + } + enum "translate2to2" { + value 8; + description + "Translate 2-to-2"; + } + } + description + "Rewrite"; + } + + typedef Match { + type enumeration { + enum "match-default" { + value 1; + description + "All otherwise unmatched packets"; + } + enum "match-untagged" { + value 2; + description + "Untagged packets"; + } + enum "match-dot1q" { + value 3; + description + "Match Dot1Q tags"; + } + enum "match-dot1ad" { + value 4; + description + "Match Dot1ad tags"; + } + enum "match-dot1q-priority" { + value 5; + description + "Match Dot1Q priority-tagged packets"; + } + enum "match-dot1ad-priority" { + value 6; + description + "Match Dot1ad priority-tagged packets"; + } + } + description + "Match"; + } + + typedef Ethertype-match { + type enumeration { + enum "ppp-over-ethernet" { + value 34915; + description + "PPP over Ethernet"; + } + } + description + "Ethertype match"; + } + + typedef Vlan-tag { + type uint32 { + range "1..4094"; + } + description + "Vlan tag"; + } + + typedef Vlan-tag-or-any { + type union { + type enumeration { + enum "any" { + value 4096; + description + "Match any VLAN tag value"; + } + } + type uint32 { + range "1..4096"; + } + } + description + "Vlan tag or any"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang new file mode 100644 index 0000000..d758a45 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub1.yang @@ -0,0 +1,75 @@ +submodule Cisco-IOS-XR-l2-eth-infra-oper-sub1 { + belongs-to Cisco-IOS-XR-l2-eth-infra-oper { + prefix Cisco-IOS-XR-l2-eth-infra-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2-eth-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Eth-caps-ucast-mac-mode { + type enumeration { + enum "reserved" { + value 0; + description + "Reserved"; + } + enum "permit" { + value 1; + description + "Permit"; + } + } + description + "Eth caps ucast mac mode"; + } + + grouping ETH-CAPS-UCAST-MAC-ENTRY-TYPE { + description + "ETH CAPS UCAST MAC ENTRY TYPE"; + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf mode { + type Eth-caps-ucast-mac-mode; + description + "Unicast MAC mode"; + } + } + + grouping ETHER-CAPS-UCAST-FILTER { + description + "Per interface unicast MAC filter information"; + list unicast-filter { + description + "Unicast MAC filter information"; + uses ETH-CAPS-UCAST-MAC-ENTRY-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang new file mode 100644 index 0000000..7c7e1f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub2.yang @@ -0,0 +1,763 @@ +submodule Cisco-IOS-XR-l2-eth-infra-oper-sub2 { + belongs-to Cisco-IOS-XR-l2-eth-infra-oper { + prefix Cisco-IOS-XR-l2-eth-infra-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2-eth-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vlan-service { + type enumeration { + enum "vlan-service-l2" { + value 1; + description + "Layer 2 Transport Service"; + } + enum "vlan-service-l3" { + value 2; + description + "Layer 3 Terminated Service"; + } + } + description + "Layer 2 vs. Layer 3 Terminated Service"; + } + + typedef Mac-address { + type yang:mac-address; + description + "MAC address type"; + } + + typedef Efp-payload-etype { + type enumeration { + enum "payload-ethertype-any" { + value 0; + description + "Any"; + } + enum "payload-ethertype-ip" { + value 1; + description + "IP"; + } + enum "payload-ethertype-pppoe" { + value 2; + description + "PPPoE"; + } + } + description + "Payload ethertype match"; + } + + typedef Efp-tag-priority { + type enumeration { + enum "priority0" { + value 0; + description + "Priority 0"; + } + enum "priority1" { + value 1; + description + "Priority 1"; + } + enum "priority2" { + value 2; + description + "Priority 2"; + } + enum "priority3" { + value 3; + description + "Priority 3"; + } + enum "priority4" { + value 4; + description + "Priority 4"; + } + enum "priority5" { + value 5; + description + "Priority 5"; + } + enum "priority6" { + value 6; + description + "Priority 6"; + } + enum "priority7" { + value 7; + description + "Priority 7"; + } + enum "priority-any" { + value 8; + description + "Any priority"; + } + } + description + "Priority"; + } + + typedef Efp-tag-etype { + type enumeration { + enum "untagged" { + value 0; + description + "Untagged"; + } + enum "dot1q" { + value 33024; + description + "Dot1Q"; + } + enum "dot1ad" { + value 34984; + description + "Dot1ad"; + } + } + description + "Tag ethertype"; + } + + typedef Vlan-encaps { + type enumeration { + enum "no-encapsulation" { + value 0; + description + "No encapsulation"; + } + enum "dot1q" { + value 1; + description + "IEEE 802.1Q encapsulation"; + } + enum "qinq" { + value 2; + description + "Double 802.1Q encapsulation"; + } + enum "qin-any" { + value 3; + description + "Double 802.1Q wildcarded encapsulation"; + } + enum "dot1q-native" { + value 4; + description + "IEEE 802.1Q native VLAN encapsulation"; + } + enum "dot1ad" { + value 5; + description + "IEEE 802.1ad encapsulation"; + } + enum "dot1ad-native" { + value 6; + description + "IEEE 802.1ad native VLAN encapsulation"; + } + enum "service-instance" { + value 7; + description + "Ethernet Service Instance"; + } + enum "dot1ad-dot1q" { + value 8; + description + "IEEE 802.1ad 802.1Q encapsulation"; + } + enum "dot1ad-any" { + value 9; + description + "IEEE 802.1ad wildcard 802.1Q encapsulation"; + } + } + description + "VLAN encapsulation"; + } + + typedef Eth-filtering { + type enumeration { + enum "no-filtering" { + value 0; + description + "No IEEE 802.1Q/802.1ad/MAC relay multicast MAC + address filtering"; + } + enum "dot1q-filtering" { + value 1; + description + "IEEE 802.1q C-VLAN filtering"; + } + enum "dot1ad-filtering" { + value 2; + description + "IEEE 802.1ad S-VLAN filtering"; + } + enum "two-port-mac-relay-filtering" { + value 3; + description + "IEEE 802.1aj 2-Port MAC relay filtering"; + } + } + description + "Ethernet frame filtering"; + } + + typedef Vlan-qinq-outer-etype { + type enumeration { + enum "ether-type8100" { + value 33024; + description + "Dot1Q (0x8100)"; + } + enum "ether-type9100" { + value 37120; + description + "0x9100"; + } + enum "ether-type9200" { + value 37376; + description + "0x9200"; + } + } + description + "QinQ Outer Tag Ethertype"; + } + + typedef Vlan-tag-value { + type uint16; + description + "VLAN Tag Value (1 - 4094)"; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + grouping EFP-TAG-LOCAL-TRAFFIC-STACK { + description + "EFP TAG LOCAL TRAFFIC STACK"; + list local-traffic-tag { + description + "VLAN tags for locally-sourced traffic"; + uses EFP-VLAN-TAG; + } + } + + grouping EFP-VLAN-TAG { + description + "EFP VLAN TAG"; + leaf ethertype { + type Efp-tag-etype; + description + "Ethertype of tag"; + } + leaf vlan-id { + type Vlan-tag-value; + description + "VLAN Id"; + } + } + + grouping EFP-RANGE-TYPE { + description + "EFP RANGE TYPE"; + leaf vlan-id-low { + type Vlan-tag-value; + description + "VLAN ID Low"; + } + leaf vlan-id-high { + type Vlan-tag-value; + description + "VLAN ID High"; + } + } + + grouping EFP-TAG-MATCH { + description + "EFP TAG MATCH"; + leaf ethertype { + type Efp-tag-etype; + description + "Ethertype of tag to match"; + } + leaf priority { + type Efp-tag-priority; + description + "Priority to match"; + } + list vlan-range { + description + "VLAN Ids to match"; + uses EFP-RANGE-TYPE; + } + } + + grouping EFP-DESCRIPTION { + description + "EFP DESCRIPTION"; + container local-traffic-stack { + description + "VLAN tags for locally-sourced traffic"; + uses EFP-TAG-LOCAL-TRAFFIC-STACK; + } + leaf payload-ethertype { + type Efp-payload-etype; + description + "Payload Ethertype to match"; + } + leaf tags-popped { + type uint16; + description + "Number of tags popped on ingress"; + } + leaf is-exact-match { + type boolean; + description + "Whether the packet must match the encapsulation + exactly, with no further inner tags"; + } + leaf is-native-vlan { + type boolean; + description + "Whether this represents the native VLAN on the + port"; + } + leaf is-native-preserving { + type boolean; + description + "Whether the native VLAN is customer-tag + preserving"; + } + leaf source-mac-match { + type Mac-address; + description + "The source MAC address to match on ingress"; + } + leaf destination-mac-match { + type Mac-address; + description + "The destination MAC address to match on ingress"; + } + list tags-to-match { + description + "Tags to match on ingress packets"; + uses EFP-TAG-MATCH; + } + list pushe { + description + "VLAN tags pushed on egress"; + uses EFP-VLAN-TAG; + } + } + + grouping VLAN-DOUBLE-TAG-STACK { + description + "VLAN double tag stack"; + leaf outer-tag { + type Vlan-tag-value; + description + "Outer tag value"; + } + leaf second-tag { + type Vlan-tag-value; + description + "Second tag value"; + } + } + + grouping VLAN-TAG-STACK-TYPE { + description + "VLAN encapsulation and tag stack"; + container stack { + when "../vlan-encapsulation = 'qinq'" { + description + "../VLANEncapsulation = 'QinQ'"; + } + description + "Stack value"; + uses VLAN-DOUBLE-TAG-STACK; + } + container service-instance-details { + when "../vlan-encapsulation = 'service-instance'" { + description + "../VLANEncapsulation = 'ServiceInstance'"; + } + description + "Service Instance encapsulation"; + uses EFP-DESCRIPTION; + } + container dot1ad-dot1q-stack { + when "../vlan-encapsulation = 'dot1ad-dot1q'" { + description + "../VLANEncapsulation = 'Dot1adDot1Q'"; + } + description + "802.1ad 802.1Q stack value"; + uses VLAN-DOUBLE-TAG-STACK; + } + leaf vlan-encapsulation { + type Vlan-encaps; + description + "VLANEncapsulation"; + } + leaf tag { + when "../vlan-encapsulation = 'dot1q'" { + description + "../VLANEncapsulation = 'Dot1Q'"; + } + type Vlan-tag-value; + description + "Tag value"; + } + leaf outer-tag { + when "../vlan-encapsulation = 'qin-any'" { + description + "../VLANEncapsulation = 'QinAny'"; + } + type Vlan-tag-value; + description + "Outer tag value"; + } + leaf native-tag { + when "../vlan-encapsulation = 'dot1q-native'" { + description + "../VLANEncapsulation = 'Dot1QNative'"; + } + type Vlan-tag-value; + description + "Native tag value"; + } + leaf dot1ad-tag { + when "../vlan-encapsulation = 'dot1ad'" { + description + "../VLANEncapsulation = 'Dot1ad'"; + } + type Vlan-tag-value; + description + "802.1ad tag value"; + } + leaf dot1ad-native-tag { + when "../vlan-encapsulation = 'dot1ad-native'" { + description + "../VLANEncapsulation = 'Dot1adNative'"; + } + type Vlan-tag-value; + description + "802.1ad native tag value"; + } + leaf dot1ad-outer-tag { + when "../vlan-encapsulation = 'dot1ad-any'" { + description + "../VLANEncapsulation = 'Dot1adAny'"; + } + type Vlan-tag-value; + description + "802.1ad Outer tag value"; + } + } + + grouping VLAN-INTF { + description + "VLAN Interface information"; + container encapsulation-details { + description + "Encapsulation type and tag stack"; + uses VLAN-TAG-STACK-TYPE; + } + leaf interface-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf parent-interface { + type xr:Interface-name; + description + "Parent interface"; + } + leaf service { + type Vlan-service; + description + "Service type"; + } + leaf state { + type Im-state-enum; + description + "Interface state"; + } + leaf mtu { + type uint16; + description + "L2 MTU"; + } + leaf switched-mtu { + type uint16; + description + "L2 switched MTU"; + } + } + + grouping VLAN-TRUNK-L3-SUB-INTFS { + description + "Layer 3 Terminated Subinterfaces"; + container state-counters { + description + "Numbers of subinterfaces up, down or + administratively shut down"; + uses VLAN-TRUNK-SUB-INTF-STATE-COUNTERS; + } + leaf total-count { + type uint32; + description + "Total number of Layer 3 subinterfaces configured"; + } + leaf dot1q-count { + type uint32; + description + "Number of single tagged subinterfaces"; + } + leaf qin-q-count { + type uint32; + description + "Number of double tagged subinterfaces"; + } + leaf untagged-count { + type uint32; + description + "Number of subinterfaces without VLAN tag + configuration"; + } + leaf native-vlan { + type Vlan-tag-value; + description + "Native VLAN ID configured on trunk"; + } + } + + grouping VLAN-TRUNK-SUB-INTF-STATE-COUNTERS { + description + "Subinterface counters"; + leaf up { + type uint32; + description + "Number of subinterfaces which are up"; + } + leaf down { + type uint32; + description + "Number of subinterfaces which are down"; + } + leaf admin-down { + type uint32; + description + "Number of subinterfaces which are + administrativelyshutdown"; + } + } + + grouping VLAN-TRUNK-L2-SUB-INTFS { + description + "Layer 2 Transport Subinterfaces"; + container state-counters { + description + "Numbers of subinterfaces up, down or + administratively shut down"; + uses VLAN-TRUNK-SUB-INTF-STATE-COUNTERS; + } + leaf total-count { + type uint32; + description + "Total number of Layer 2 subinterfaces configured"; + } + leaf dot1q-count { + type uint32; + description + "Number of single tagged subinterfaces"; + } + leaf qin-q-count { + type uint32; + description + "Number of double tagged subinterfaces with + explicit inner tag"; + } + leaf qin-any-count { + type uint32; + description + "Number of double tagged subinterfaces with + wildcarded inner tag"; + } + leaf untagged-count { + type uint32; + description + "Number of subinterfaces without VLAN tag + configuration"; + } + } + + grouping VLAN-TRUNK { + description + "VLAN trunk interface information"; + container layer2-sub-interfaces { + description + "Layer 2 Transport Subinterfaces"; + uses VLAN-TRUNK-L2-SUB-INTFS; + } + container layer3-sub-interfaces { + description + "Layer 3 Terminated Subinterfaces"; + uses VLAN-TRUNK-L3-SUB-INTFS; + } + leaf interface-xr { + type xr:Interface-name; + description + "Interface name"; + } + leaf state { + type Im-state-enum; + description + "Interface state"; + } + leaf mtu { + type uint16; + description + "L2 MTU"; + } + leaf qinq-outer-ether-type { + type Vlan-qinq-outer-etype; + description + "QinQ Outer Tag Ether Type"; + } + leaf dot1ad-count { + type uint32; + description + "Number of subinterfaces with 802.1ad outer tag"; + } + leaf untagged-interface { + type xr:Interface-name; + description + "Interface/Sub-interface handling untagged frames"; + } + leaf mac-filtering { + type Eth-filtering; + description + "IEEE 802.1Q/802.1ad multicast MAC address + filtering"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang new file mode 100644 index 0000000..c29c7f2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper-sub3.yang @@ -0,0 +1,105 @@ +submodule Cisco-IOS-XR-l2-eth-infra-oper-sub3 { + belongs-to Cisco-IOS-XR-l2-eth-infra-oper { + prefix Cisco-IOS-XR-l2-eth-infra-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2-eth-infra package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MAC-ACC-STATS { + description + "Per MAC address stats information"; + leaf mac-address { + type yang:mac-address; + description + "48bit MAC address"; + } + leaf packets { + type uint64; + description + "Number of packets counted"; + } + leaf bytes { + type uint64; + units "byte"; + description + "Number of bytes counted"; + } + } + + grouping MAC-ACC-INTF-INFO { + description + "Per interface MAC accounting information"; + leaf is-ingress-enabled { + type boolean; + description + "MAC accounting on on ingress"; + } + leaf is-egress-enabled { + type boolean; + description + "MAC accounting on on egress"; + } + leaf number-available-ingress { + type uint32; + description + "MAC accounting entries available on ingress"; + } + leaf number-available-egress { + type uint32; + description + "MAC accounting entries available on egress"; + } + leaf number-available-on-node { + type uint32; + description + "MAC accountng entries available across the node"; + } + } + + grouping MAC-ACC-INTF { + description + "All MAC accounting information and statistics for + an interface"; + container state { + description + "MAC accounting state for the interface"; + uses MAC-ACC-INTF-INFO; + } + list ingress-statistic { + description + "Ingress MAC accounting statistics"; + uses MAC-ACC-STATS; + } + list egress-statistic { + description + "Egress MAC accounting statistics"; + uses MAC-ACC-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper.yang new file mode 100644 index 0000000..2a58ab3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2-eth-infra-oper.yang @@ -0,0 +1,188 @@ +module Cisco-IOS-XR-l2-eth-infra-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-oper"; + prefix l2-eth-infra-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-l2-eth-infra-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-l2-eth-infra-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-l2-eth-infra-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-l2-eth-infra-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR l2-eth-infra package operational data. + + This module contains definitions + for the following management objects: + mac-accounting: MAC accounting operational data + vlan: vlan + ethernet-encapsulation: ethernet encapsulation + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container mac-accounting { + config false; + description + "MAC accounting operational data"; + container interfaces { + description + "MAC accounting interface table in MIB + lexicographic order"; + list interface { + key "interface-name"; + description + "Operational data and statistics for an + interface configured with MAC accounting + enabled"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses MAC-ACC-INTF; + } + } + } + container vlan { + config false; + description + "vlan"; + container nodes { + description + "Per node VLAN operational data"; + list node { + key "node-id"; + description + "The VLAN operational data for a particular node"; + container trunks { + description + "VLAN trunk table (specific to this node)"; + list trunk { + key "interface"; + description + "Operational data for trunk interfaces + configured with VLANs"; + leaf interface { + type xr:Interface-name; + description + "The interface name"; + } + uses VLAN-TRUNK; + } + } + container interfaces { + description + "VLAN interface table (specific to this node)"; + list interface { + key "interface"; + description + "Operational data for a sub-interface + configured with VLANs"; + leaf interface { + type xr:Interface-name; + description + "The interface name"; + } + uses VLAN-INTF; + } + } + container tag-allocations { + description + "VLAN tag allocation table (specific to this + node)"; + list tag-allocation { + description + "Operational data for a sub-interface + configured with VLANs"; + leaf interface { + type xr:Interface-name; + description + "The interface name"; + } + leaf first-tag { + type dt1:Vlan-tag; + description + "The first (outermost) tag"; + } + leaf second-tag { + type dt1:Vlan-tag-or-any; + description + "The second tag"; + } + uses VLAN-INTF; + } + } + leaf node-id { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } + container ethernet-encapsulation { + config false; + description + "ethernet encapsulation"; + container nodes { + description + "Per node Ethernet encapsulation operational data"; + list node { + key "node-name"; + description + "The Ethernet encaps operational data for a + particular node"; + container unicast-mac-filters { + description + "Unicast MAC filter table (specific to this + node)"; + list unicast-mac-filter { + key "interface-name"; + description + "Operational data for interface with MAC + filters configured"; + leaf interface-name { + type xr:Interface-name; + description + "The interface name"; + } + uses ETHER-CAPS-UCAST-FILTER; + } + } + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper-sub1.yang new file mode 100644 index 0000000..9b32c2c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper-sub1.yang @@ -0,0 +1,1163 @@ +submodule Cisco-IOS-XR-l2rib-oper-sub1 { + belongs-to Cisco-IOS-XR-l2rib-oper { + prefix Cisco-IOS-XR-l2rib-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2rib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-16 { + description + "Descriptions switch int32 to uint32."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2rib-mac-route { + type enumeration { + enum "l2rib-mac-route-type-invalid" { + value 0; + description + "l2rib mac route type invalid"; + } + enum "l2rib-mac-route-type-regular" { + value 1; + description + "l2rib mac route type regular"; + } + enum "l2rib-mac-route-type-evpn-esi" { + value 2; + description + "l2rib mac route type evpn esi"; + } + enum "l2rib-mac-route-type-bmac" { + value 3; + description + "l2rib mac route type bmac"; + } + } + description + "L2rib mac route"; + } + + typedef L2rib-afi { + type enumeration { + enum "l2rib-address-family-ipv4" { + description + "l2rib address family ipv4"; + } + enum "l2rib-address-family-ipv6" { + description + "l2rib address family ipv6"; + } + enum "l2rib-address-family-invalid" { + description + "l2rib address family invalid"; + } + } + description + "L2rib afi"; + } + + typedef L2rib-mac-addr { + type yang:mac-address; + description + "L2rib mac addr"; + } + + typedef L2rib-ipv6-addr { + type inet:ipv6-address; + description + "L2rib ipv6 addr"; + } + + typedef L2rib-next-hop { + type enumeration { + enum "l2rib-next-hop-invalid" { + value 0; + description + "l2rib next hop invalid"; + } + enum "l2rib-next-hop-interface-ordinal" { + value 1; + description + "l2rib next hop interface ordinal"; + } + enum "l2rib-next-hop-interface-index" { + value 2; + description + "l2rib next hop interface index"; + } + enum "l2rib-next-hop-mac" { + value 3; + description + "l2rib next hop mac"; + } + enum "l2rib-next-hop-ipv4" { + value 4; + description + "l2rib next hop ipv4"; + } + enum "l2rib-next-hop-ipv6" { + value 5; + description + "l2rib next hop ipv6"; + } + enum "l2rib-next-hop-overlay" { + value 6; + description + "l2rib next hop overlay"; + } + enum "l2rib-next-hop-site-index" { + value 7; + description + "l2rib next hop site index"; + } + enum "l2rib-next-hop-label-ed" { + value 8; + description + "l2rib next hop label ed"; + } + enum "l2rib-next-hop-xid" { + value 9; + description + "l2rib next hop xid"; + } + } + description + "L2rib next hop"; + } + + typedef L2rib-bag-producer-state { + type enumeration { + enum "l2rib-bag-prod-state-initial" { + value 0; + description + "Initial"; + } + enum "l2rib-bag-prod-state-staled" { + value 1; + description + "Stale"; + } + enum "l2rib-bag-prod-state-re-connected" { + value 2; + description + "Reconnected"; + } + enum "l2rib-bag-prod-state-converged" { + value 3; + description + "Converged"; + } + enum "l2rib-bag-prod-state-delete-p-end" { + value 4; + description + "Delete Pending"; + } + } + description + "L2RIB Producer States"; + } + + typedef L2rib-bag-producer-id { + type enumeration { + enum "l2rib-bag-prod-none" { + value 0; + description + "None"; + } + enum "l2rib-bag-prod-best-route" { + value 1; + description + "Best Route"; + } + enum "l2rib-bag-prod-static" { + value 2; + description + "Static"; + } + enum "l2rib-bag-prod-local" { + value 3; + description + "Local"; + } + enum "l2rib-bag-prod-isis" { + value 4; + description + "IS IS"; + } + enum "l2rib-bag-prod-bgp" { + value 5; + description + "BGP"; + } + enum "l2rib-bag-prod-igmp" { + value 6; + description + "IGMP"; + } + enum "l2rib-bag-prod-prod-mld" { + value 7; + description + "MLD"; + } + enum "l2rib-bag-prod-prod-otv" { + value 8; + description + "OTV"; + } + enum "l2rib-bag-prod-prod-l2vpn" { + value 9; + description + "L2VPN"; + } + enum "l2rib-bag-prod-prod-mac-mgr" { + value 10; + description + "MAC MGR"; + } + enum "l2rib-bag-prod-prod-vxlan" { + value 11; + description + "VXLAN"; + } + enum "l2rib-bag-prod-prod-hmm" { + value 12; + description + "HMM"; + } + enum "l2rib-bag-prod-prod-arp" { + value 13; + description + "ARP"; + } + enum "l2rib-bag-prod-prod-all" { + value 255; + description + "All"; + } + } + description + "L2RIB Producer Types"; + } + + typedef L2rib-bag-obj { + type enumeration { + enum "l2rib-bag-obj-type-min" { + value 0; + description + "Invalid Object Type"; + } + enum "l2rib-bag-obj-type-all" { + value 1; + description + "All"; + } + enum "l2rib-bag-obj-type-mac" { + value 2; + description + "Mac"; + } + enum "l2rib-bag-obj-type-ipv4-mcast" { + value 3; + description + "IPv4 Multicast"; + } + enum "l2rib-bag-obj-type-ipv6-mcast" { + value 4; + description + "IPv6 Multicast"; + } + enum "l2rib-bag-obj-type-topology" { + value 5; + description + "Topology"; + } + enum "l2rib-bag-obj-type-ead" { + value 6; + description + "Ethernet AD"; + } + enum "l2rib-bag-obj-type-evpn-pl" { + value 7; + description + "EVPN Path List"; + } + enum "l2rib-bag-obj-type-topo-attribute" { + value 8; + description + "Topology Attribute"; + } + enum "l2rib-bag-obj-type-imet-route" { + value 9; + description + "IMET"; + } + enum "l2rib-bag-obj-type-mac-ip" { + value 13; + description + "Mac IP"; + } + } + description + "L2RIB Object Types"; + } + + grouping L2RIB-MAC-ROUTE-DETAIL { + description + "Detailed L2RIB MAC Route"; + container mac-route { + description + "MAC Route"; + uses L2RIB-MAC-ROUTE; + } + container rt-tlv { + description + "Mac Route Opaque Data TLV"; + uses L2RIB-TLV; + } + leaf sequence-number { + type uint32; + description + "MAC route sequence Number"; + } + leaf flags { + type uint32; + description + "MAC route flags"; + } + leaf baseflags { + type uint32; + description + "BASE flags"; + } + leaf soo { + type uint32; + description + "SOO"; + } + leaf slot-id { + type uint32; + description + "Slot ID"; + } + leaf esi { + type string; + description + "ESI"; + } + leaf last-update-timestamp { + type uint64; + description + "Last Update Timestamp"; + } + } + + grouping L2RIB-MAC-ROUTE-BMAC { + description + "L2RIB BMAC route"; + container path-list { + description + "Path list information"; + uses L2RIB-PATH-LIST; + } + leaf bmac-address { + type yang:mac-address; + description + "BMAC Address"; + } + leaf forward-state { + type boolean; + description + "Forwarding State. True means forward, False + means drop."; + } + } + + grouping L2RIB-PATH-LIST-MAC { + description + "L2RIB PATH LIST MAC"; + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + } + + grouping L2RIB-PATH-LIST-ESI { + description + "L2RIB PATH LIST ESI"; + container ethernet-segment-id { + description + "Ethernet Segment Identifier"; + uses L2RIB-ESI; + } + leaf resolved { + type boolean; + description + "Path list Resolved"; + } + list mac-update-next-hop-array { + description + "Array of Next Hops from MAC Update"; + uses L2RIB-NEXT-HOP; + } + } + + grouping L2RIB-PL { + description + "L2RIB PL"; + container path-list-esi { + when "../type = 'l2rib-mac-route-type-evpn-esi'" { + description + "../Type = 'L2RIB_MAC_ROUTE_TYPE_EVPN_ESI'"; + } + description + "ESI Path List"; + uses L2RIB-PATH-LIST-ESI; + } + container path-list-mac { + when "../type = 'l2rib-mac-route-type-bmac'" { + description + "../Type = 'L2RIB_MAC_ROUTE_TYPE_BMAC'"; + } + description + "MAC Path List"; + uses L2RIB-PATH-LIST-MAC; + } + leaf type { + type L2rib-mac-route; + description + "Type"; + } + } + + grouping L2RIB-PATH-LIST { + description + "L2RIB PATH LIST"; + container path-list-info { + description + "Type-specific Path List info"; + uses L2RIB-PL; + } + leaf producer-id { + type uint8; + description + "ID of EAD route producer"; + } + leaf mac-count { + type uint32; + description + "Number of MAC routes bound to this Path list"; + } + leaf local-label { + type uint32; + description + "Path list local Label"; + } + list next-hop-array { + description + "Array of Next Hops for MAC Path List"; + uses L2RIB-NEXT-HOP; + } + } + + grouping L2RIB-ESI { + description + "L2RIB ESI"; + leaf system-priority { + type uint16; + description + "LACP System Priority"; + } + leaf system-id { + type yang:mac-address; + description + "LACP System Id"; + } + leaf port-key { + type uint16; + description + "LACP Port Key"; + } + } + + grouping L2RIB-MAC-ROUTE-EVPN-ESI { + description + "L2RIB EVPN ESI MAC route"; + container ethernet-segment-id { + description + "Ethernet Segment Identifier"; + uses L2RIB-ESI; + } + container path-list { + description + "Path list information. Set for detailed MAC + route information"; + uses L2RIB-PATH-LIST; + } + leaf sequence-number { + type uint32; + description + "MAC route sequence number"; + } + leaf forward-state { + type boolean; + description + "Forwarding State. True means forward, False + means drop."; + } + } + + grouping L2RIB-MAC-ROUTE-REGULAR { + description + "L2RIB Regular MAC route"; + container next-hop { + description + "Next Hop"; + uses L2RIB-NEXT-HOP; + } + } + + grouping MAC-ROUTE { + description + "MAC ROUTE"; + container regular { + when "../type = 'l2rib-mac-route-type-regular'" { + description + "../Type = 'L2RIB_MAC_ROUTE_TYPE_REGULAR'"; + } + description + "Regular MAC route"; + uses L2RIB-MAC-ROUTE-REGULAR; + } + container evpn-esi { + when "../type = 'l2rib-mac-route-type-evpn-esi'" { + description + "../Type = 'L2RIB_MAC_ROUTE_TYPE_EVPN_ESI'"; + } + description + "EVPN ESI MAC route"; + uses L2RIB-MAC-ROUTE-EVPN-ESI; + } + container bmac { + when "../type = 'l2rib-mac-route-type-bmac'" { + description + "../Type = 'L2RIB_MAC_ROUTE_TYPE_BMAC'"; + } + description + "BMAC route"; + uses L2RIB-MAC-ROUTE-BMAC; + } + leaf type { + type L2rib-mac-route; + description + "Type"; + } + } + + grouping L2RIB-MAC-ROUTE { + description + "L2RIB MAC Route"; + container route { + description + "MAC route"; + uses MAC-ROUTE; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + leaf admin-distance { + type uint8; + description + "Admin Distance"; + } + leaf producer-id { + type uint8; + description + "Producer ID"; + } + leaf topology-id { + type uint32; + description + "Topology ID"; + } + } + + grouping L2RIB-TLV { + description + "L2RIB Opaque Data TLV"; + leaf tlv-type { + type uint16; + description + "TLV Type"; + } + leaf tlv-len { + type uint16; + description + "TLV Length"; + } + list tlv-val { + description + "TLV Value"; + leaf entry { + type uint8; + } + } + } + + grouping LABELED-NEXT-HOP { + description + "LABELED NEXT HOP"; + leaf address-family { + type L2rib-afi; + description + "L2RIB Address Family"; + } + leaf ip-address { + type inet:ipv6-address; + description + "IP Address (V6 Format)"; + } + leaf label { + type uint32; + description + "Label"; + } + leaf internal { + type boolean; + description + "Internal Label"; + } + } + + grouping NEXT-HOP { + description + "NEXT HOP"; + container labeled { + when "../type = 'l2rib-next-hop-label-ed'" { + description + "../Type = 'L2RIB_NEXT_HOP_LABELED'"; + } + description + "Labeled Next Hop"; + uses LABELED-NEXT-HOP; + } + leaf type { + type L2rib-next-hop; + description + "Type"; + } + leaf ipv4 { + when "../type = 'l2rib-next-hop-ipv4'" { + description + "../Type = 'L2RIB_NEXT_HOP_IPV4'"; + } + type inet:ipv4-address; + description + "IPV4 address Next Hop"; + } + leaf ipv6 { + when "../type = 'l2rib-next-hop-ipv6'" { + description + "../Type = 'L2RIB_NEXT_HOP_IPV6'"; + } + type L2rib-ipv6-addr; + description + "IPV6 address Next Hop"; + } + leaf mac { + when "../type = 'l2rib-next-hop-mac'" { + description + "../Type = 'L2RIB_NEXT_HOP_MAC'"; + } + type L2rib-mac-addr; + description + "MAC address Next Hop"; + } + leaf interface-handle { + when "../type = 'l2rib-next-hop-interface-index'" { + description + "../Type = 'L2RIB_NEXT_HOP_INTERFACE_INDEX'"; + } + type xr:Interface-name; + description + "Intefrace Handle Next Hop"; + } + leaf xid { + when "../type = 'l2rib-next-hop-xid'" { + description + "../Type = 'L2RIB_NEXT_HOP_XID'"; + } + type uint32; + description + "XID Next Hop"; + } + } + + grouping L2RIB-NEXT-HOP { + description + "L2RIB NEXT HOP"; + container next-hop { + description + "Next hop"; + uses NEXT-HOP; + } + leaf topology-id { + type uint32; + description + "Next-hop TOPOLOGY ID"; + } + leaf flags { + type uint16; + description + "Next-hop flags"; + } + } + + grouping L2RIB-MAC-IP-ROUTE { + description + "L2RIB MAC-IP Route"; + container next-hop { + description + "Next Hop"; + uses L2RIB-NEXT-HOP; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + leaf ip-address { + type string; + description + "IP Address"; + } + leaf admin-distance { + type uint8; + description + "Admin Distance"; + } + leaf producer-id { + type uint8; + description + "Producer ID"; + } + leaf topology-id { + type uint32; + description + "Topology ID"; + } + } + + grouping L2RIB-MAC-IP-ROUTE-DETAIL { + description + "Detailed L2RIB MAC-IP Route"; + container mac-ip-route { + description + "MAC-IP Route"; + uses L2RIB-MAC-IP-ROUTE; + } + container rt-tlv { + description + "Mac-IP Route Opaque Data TLV"; + uses L2RIB-TLV; + } + container nh-tlv { + description + "Mac-IP Route Opaque NH TLV"; + uses L2RIB-TLV; + } + leaf sequence-number { + type uint32; + description + "MAC-IP route sequence Number"; + } + leaf flags { + type uint32; + description + "MAC-IP route flags"; + } + leaf soo { + type uint32; + description + "SOO"; + } + leaf last-update-timestamp { + type uint64; + description + "Last Update Timestamp"; + } + } + + grouping L2RIB-PROD-INFO { + description + "L2RIB PROD INFO"; + leaf object-type { + type L2rib-bag-obj; + description + "Object Type"; + } + leaf producer-id { + type L2rib-bag-producer-id; + description + "Producer ID"; + } + leaf producer-name { + type string; + description + "Producer Name"; + } + leaf admin-distance { + type uint32; + description + "Admin Distance"; + } + leaf purge-time { + type uint32; + description + "Purge Time"; + } + } + + grouping L2RIB-CLIENT-DETAIL { + description + "L2RIB CLIENT DETAIL"; + container client { + description + "Non-detail Client bag"; + uses L2RIB-CLIENT; + } + container registration-table-statistics { + description + "Registration table statistics"; + uses L2RIB-PROD-STATS; + } + leaf producer-count { + type uint8; + description + "Number of Producers"; + } + leaf last-update-timestamp { + type uint64; + description + "Last Update Timestamp"; + } + list producer-array { + description + "List of Producers"; + uses L2RIB-PROD-INFO; + } + } + + grouping L2RIB-TOPOLOGY { + description + "L2RIB TOPOLOGY"; + leaf topology-id { + type uint32; + description + "Topology ID"; + } + leaf topology-name { + type string; + description + "Topology Name"; + } + leaf topology-type { + type uint32; + description + "Topology Type"; + } + } + + grouping L2RIB-TOPOLOGY-DETAIL { + description + "L2RIB TOPOLOGY DETAIL"; + container topology { + description + "Topology"; + uses L2RIB-TOPOLOGY; + } + leaf l2r-vni { + type uint32; + description + "l2r vni"; + } + leaf l2r-encap-type { + type uint16; + description + "l2r encap type"; + } + leaf l2r-nve-iod { + type uint32; + description + "l2r nve iod"; + } + leaf l2r-nve-ifhandle { + type uint32; + description + "l2r nve ifhandle"; + } + leaf vtep-ip { + type string; + description + "VTEP IP"; + } + leaf l2r-topo-txid { + type uint32; + description + "l2r topo txid"; + } + leaf l2r-topo-flags { + type uint32; + description + "Topology Flags"; + } + } + + grouping L2RIB-CLIENT { + description + "L2RIB CLIENT"; + leaf client-id-xr { + type uint32; + description + "Client ID"; + } + leaf process-id { + type uint32; + description + "Process ID"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + leaf proc-name { + type string; + description + "Process Name"; + } + leaf proc-suffix { + type string; + description + "Process Suffix"; + } + } + + grouping L2RIB-TBL-SUMMARY { + description + "L2RIB TBL SUMMARY"; + leaf object-type { + type L2rib-bag-obj; + description + "Object Type"; + } + leaf object-count { + type uint32; + description + "Number of Objects"; + } + leaf table-memory { + type uint32; + description + "Allocated Memory"; + } + list producer-stat { + description + "Statistics per producer"; + uses L2RIB-PROD-STATS; + } + } + + grouping L2RIB-SUMMARY { + description + "L2RIB SUMMARY"; + leaf converged-tables-count { + type uint32; + description + "Number of Converged Tables"; + } + leaf total-memory { + type uint32; + description + "Total Allocated Memory"; + } + list table-summary { + description + "Per Object Table summary"; + uses L2RIB-TBL-SUMMARY; + } + } + + grouping L2RIB-BAG-EC { + description + "L2RIB BAG EC"; + leaf counter-type { + type uint8; + description + "CounterType"; + } + leaf counter-name { + type string; + description + "CounterName"; + } + leaf l2rb-first-event-ts { + type uint64; + description + "Real-clock timestamp in msec of first event"; + } + leaf l2rb-last-event-ts { + type uint64; + description + "Real-clock timestamp in msec of last event"; + } + leaf l2rb-interval-event-count { + type uint32; + description + "number of events in interval"; + } + leaf l2rb-total-event-count { + type uint32; + description + "total number of events"; + } + } + + grouping L2RIB-PROD-UPDATE-STATS { + description + "L2RIB PROD UPDATE STATS"; + leaf memory-size { + type uint32; + description + "Memory Size"; + } + leaf object-count { + type uint32; + description + "Number of Objects"; + } + leaf endof-interval-ts { + type uint64; + description + "End of Interval Timestamp"; + } + list extended-counter { + description + "Extended Counters"; + uses L2RIB-BAG-EC; + } + } + + grouping L2RIB-PROD-STATS { + description + "L2RIB PROD STATS"; + container statistics { + description + "Statistics"; + uses L2RIB-PROD-UPDATE-STATS; + } + leaf producer-id { + type L2rib-bag-producer-id; + description + "Producer ID"; + } + leaf producer-name { + type string; + description + "Producer Name"; + } + } + + grouping L2RIB-PROD { + description + "L2RIB PROD"; + leaf client-id { + type uint32; + description + "Client ID"; + } + leaf object-type { + type L2rib-bag-obj; + description + "Object Type"; + } + leaf producer-id { + type L2rib-bag-producer-id; + description + "Producer ID"; + } + leaf producer-name { + type string; + description + "Producer Name"; + } + leaf admin-distance { + type uint32; + description + "Admin Distance"; + } + leaf purge-time { + type uint32; + description + "Purge Time"; + } + leaf state { + type L2rib-bag-producer-state; + description + "Producer State"; + } + } + + grouping L2RIB-PROD-DETAIL { + description + "L2RIB PROD DETAIL"; + container producer { + description + "Non-detail Producer Bag"; + uses L2RIB-PROD; + } + container statistics { + description + "Producer Statistics"; + uses L2RIB-PROD-STATS; + } + leaf last-update-timestamp { + type uint64; + description + "Last Update Timestamp"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper.yang new file mode 100644 index 0000000..3ea943b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2rib-oper.yang @@ -0,0 +1,311 @@ +module Cisco-IOS-XR-l2rib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2rib-oper"; + prefix l2rib-oper; + + include Cisco-IOS-XR-l2rib-oper-sub1 { + revision-date 2017-08-16; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR l2rib package operational data. + + This module contains definitions + for the following management objects: + l2rib: L2RIB operational information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-16 { + description + "Descriptions switch int32 to uint32."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container l2rib { + config false; + description + "L2RIB operational information "; + container producers-details { + description + "L2RIB detailed producer table"; + list producers-detail { + description + "L2RIB producers detail information"; + leaf object-id { + type uint32; + description + "Object ID"; + } + leaf product-id { + type uint32; + description + "Product ID"; + } + uses L2RIB-PROD-DETAIL; + } + } + container summary { + description + "L2RIB EVPN Summary"; + uses L2RIB-SUMMARY; + } + container producers { + description + "L2RIB producer table"; + list producer { + description + "L2RIB producers"; + leaf object-id { + type uint32; + description + "Object ID"; + } + leaf product-id { + type uint32; + description + "Product ID"; + } + uses L2RIB-PROD; + } + } + container clients { + description + "L2RIB client table"; + list client { + key "client-id"; + description + "L2RIB clients"; + leaf client-id { + type uint32; + description + "Client ID"; + } + uses L2RIB-CLIENT; + } + } + container evis-xr { + description + "L2RIB EVPN EVI Detail Table"; + list evi { + key "evi"; + description + "L2RIB EVPN EVI Entry"; + leaf evi { + type uint32; + description + "EVI ID"; + } + uses L2RIB-TOPOLOGY-DETAIL; + } + } + container clients-details { + description + "L2RIB detailed client table"; + list clients-detail { + key "client-id"; + description + "L2RIB clients detail information"; + leaf client-id { + type uint32; + description + "Client ID"; + } + uses L2RIB-CLIENT-DETAIL; + } + } + container evi-child-tables { + description + "Container for all EVI Child Tables"; + container macip-details { + description + "L2RIB EVPN EVI MAC IP Detail table"; + list macip-detail { + description + "L2RIB EVPN MAC IP Detail table"; + leaf evi { + type uint32; + description + "EVPN ID"; + } + leaf tag-id { + type uint32; + description + "Tag ID"; + } + leaf mac-addr { + type string { + length "1..15"; + } + description + "MAC IP Address"; + } + leaf ip-addr { + type string { + length "1..15"; + } + description + "IP Address"; + } + leaf admin-dist { + type uint32; + description + "Admin distance"; + } + leaf prod-id { + type uint32; + description + "Producer ID"; + } + uses L2RIB-MAC-IP-ROUTE-DETAIL; + } + } + container mac-ips { + description + "L2RIB EVPN EVI MAC IP table"; + list mac-ip { + description + "L2RIB EVPN MAC IP table"; + leaf evi { + type uint32; + description + "EVPN ID"; + } + leaf tag-id { + type uint32; + description + "Tag ID"; + } + leaf mac-addr { + type string { + length "1..15"; + } + description + "MAC-IP Address"; + } + leaf ip-addr { + type string { + length "1..15"; + } + description + "IP Address"; + } + leaf admin-dist { + type uint32; + description + "Admin distance"; + } + leaf prod-id { + type uint32; + description + "Producer ID"; + } + uses L2RIB-MAC-IP-ROUTE; + } + } + container macs { + description + "L2RIB EVPN EVI MAC table"; + list mac { + description + "L2RIB EVPN MAC table"; + leaf evi { + type uint32; + description + "EVPN ID"; + } + leaf tag-id { + type uint32; + description + "Tag ID"; + } + leaf mac-addr { + type string { + length "1..15"; + } + description + "MAC Address"; + } + leaf admin-dist { + type uint32; + description + "Admin distance"; + } + leaf prod-id { + type uint32; + description + "Producer ID"; + } + uses L2RIB-MAC-ROUTE; + } + } + container mac-details { + description + "L2RIB EVPN EVI MAC Detail table"; + list mac-detail { + description + "L2RIB EVPN MAC Detail table"; + leaf evi { + type uint32; + description + "EVPN ID"; + } + leaf tag-id { + type uint32; + description + "Tag ID"; + } + leaf mac-addr { + type string { + length "1..15"; + } + description + "MAC Address"; + } + leaf admin-dist { + type uint32; + description + "Admin distance"; + } + leaf prod-id { + type uint32; + description + "Producer ID"; + } + uses L2RIB-MAC-ROUTE-DETAIL; + } + } + } + container evis { + description + "L2RIB EVPN EVI Table"; + list evi { + key "evi"; + description + "L2RIB EVPN EVI Entry"; + leaf evi { + type uint32; + description + "EVI ID"; + } + uses L2RIB-TOPOLOGY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-cfg.yang new file mode 100644 index 0000000..dfcb8ff --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-cfg.yang @@ -0,0 +1,5455 @@ +module Cisco-IOS-XR-l2vpn-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-cfg"; + prefix l2vpn-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR l2vpn package configuration. + + This module contains definitions + for the following management objects: + l2vpn: L2VPN configuration + generic-interface-lists: generic interface lists + evpn: evpn + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-snmp-agent-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Evpn-encapsulation { + type enumeration { + enum "evpn-encapsulationvxlan" { + value 8; + description + "VXLAN Encapsulation"; + } + enum "evpn-encapsulation-mpls" { + value 10; + description + "MPLS Encapsulation"; + } + } + description + "Evpn encapsulation"; + } + + typedef Interworking { + type enumeration { + enum "ethernet" { + value 1; + description + "Ethernet interworking"; + } + enum "ipv4" { + value 3; + description + "IPv4 interworking"; + } + } + description + "Interworking"; + } + + typedef L2vpn-capability-mode { + type enumeration { + enum "high-mode" { + value 1; + description + "Compute global capability as the highest node + capability"; + } + enum "single-mode" { + value 2; + description + "Disable global capability re-computation"; + } + } + description + "L2vpn capability mode"; + } + + typedef Evpn-side { + type enumeration { + enum "evpn-side-stitching" { + value 2; + description + "EVPN Instance side defined as stitching"; + } + } + description + "Evpn side"; + } + + typedef Move-interval-range { + type uint32 { + range "5..3600"; + } + description + "Move interval range"; + } + + typedef Vpls-id-addr-index { + type uint32 { + range "0..32767"; + } + description + "Vpls id addr index"; + } + + typedef Tag-rewrite-range { + type uint32 { + range "1..4094"; + } + description + "Tag rewrite range"; + } + + typedef Pseudowire-evpnacid-range { + type uint32 { + range "1..16777215"; + } + description + "Pseudowire evpnacid range"; + } + + typedef Evpnvpnid-range { + type uint32 { + range "1..65534"; + } + description + "Evpnvpnid range"; + } + + typedef Pseudowire-label-range { + type uint32 { + range "16..1048575"; + } + description + "Pseudowire label range"; + } + + typedef Bridge-domain-transport-mode { + type enumeration { + enum "vlan-passthrough" { + value 3; + description + "Vlan tagged passthrough mode"; + } + } + description + "Bridge domain transport mode"; + } + + typedef Preferred-path { + type enumeration { + enum "te-tunnel" { + value 2; + description + "TE Tunnel"; + } + enum "ip-tunnel" { + value 3; + description + "IP Tunnel"; + } + enum "tp-tunnel" { + value 4; + description + "TP Tunnel"; + } + enum "sr-te-policy" { + value 5; + description + "SR TE Policy"; + } + } + description + "Preferred path"; + } + + typedef Rd-addr-index { + type uint32 { + range "0..65535"; + } + description + "Rd addr index"; + } + + typedef Vccv-verification { + type enumeration { + enum "none" { + value 0; + description + "No connectivity verification over VCCV"; + } + enum "lsp-ping" { + value 2; + description + "LSP Ping over VCCV"; + } + } + description + "Vccv verification"; + } + + typedef L2vpn-mtu-range { + type uint32 { + range "64..65535"; + } + description + "L2vpn mtu range"; + } + + typedef Mac-withdraw-behavior { + type enumeration { + enum "legacy" { + value 1; + description + "MAC Withdrawal sent on state-down (legacy)"; + } + enum "optimized" { + value 2; + description + "Optimized MAC Withdrawal"; + } + } + description + "Mac withdraw behavior"; + } + + typedef Port-down-flush { + type enumeration { + enum "port-down-flush" { + value 0; + description + "MAC Port Down Flush"; + } + enum "enable-port-down-flush" { + value 1; + description + "Enable Port Down Flush"; + } + enum "disable-port-down-flush" { + value 2; + description + "Disable Port Down Flush"; + } + } + description + "Port down flush"; + } + + typedef Storm-control-pps-range { + type uint32 { + range "1..160000"; + } + description + "Storm control pps range"; + } + + typedef Type-of-service-mode { + type enumeration { + enum "none" { + value 0; + description + "Do not reflect the type of service"; + } + enum "reflect" { + value 1; + description + "Reflect the type of service"; + } + } + description + "Type of service mode"; + } + + typedef Pseudowire-tag-range { + type uint32 { + range "1..4094"; + } + description + "Pseudowire tag range"; + } + + typedef Multicast-p2mp-signaling { + type string { + pattern "(BGP)"; + } + description + "BGP:BGP Signaling"; + } + + typedef Cedge-range { + type uint32 { + range "11..100"; + } + description + "Cedge range"; + } + + typedef Mpls-signaling-protocol { + type enumeration { + enum "none" { + value 1; + description + "No signaling"; + } + enum "ldp" { + value 4; + description + "LDP"; + } + } + description + "Mpls signaling protocol"; + } + + typedef Erpaps { + type enumeration { + enum "interface" { + value 1; + description + "ERP APS type interface"; + } + enum "bridge-domain" { + value 2; + description + "ERP APS type bridge domain"; + } + enum "xconnect" { + value 3; + description + "ERP APS type xconnect"; + } + enum "none" { + value 4; + description + "ERP APS type none"; + } + } + description + "Erpaps"; + } + + typedef Mac-secure-action { + type enumeration { + enum "restrict" { + value 1; + description + "MAC Secure Action Restrict"; + } + enum "none" { + value 2; + description + "No Action"; + } + enum "shutdown" { + value 3; + description + "MAC Secure Action Shutdown"; + } + } + description + "Mac secure action"; + } + + typedef Erp-port { + type enumeration { + enum "none" { + value 1; + description + "ERP port type none"; + } + enum "virtual" { + value 2; + description + "ERP port type virtual"; + } + enum "interface" { + value 3; + description + "ERP port type interface"; + } + } + description + "Erp port"; + } + + typedef Resync-threshold-range { + type uint32 { + range "5..65535"; + } + description + "Resync threshold range"; + } + + typedef Bgp-route-target-role { + type enumeration { + enum "both" { + value 0; + description + "Both Import and export roles"; + } + enum "import" { + value 1; + description + "Import role"; + } + enum "export" { + value 2; + description + "Export role"; + } + } + description + "Bgp route target role"; + } + + typedef Backup-disable { + type enumeration { + enum "never" { + value 0; + description + "Never"; + } + enum "delay" { + value 1; + description + "Delay seconds"; + } + } + description + "Backup disable"; + } + + typedef Time-to-live-range { + type uint32 { + range "1..255"; + } + description + "Time to live range"; + } + + typedef Multicast-p2mp-transport { + type string { + pattern "(RSVP_TE)"; + } + description + "RSVP_TE:RSVP-TE Transport"; + } + + typedef Transport-mode { + type enumeration { + enum "ethernet" { + value 1; + description + "Ethernet port mode"; + } + enum "vlan" { + value 2; + description + "Vlan tagged mode"; + } + enum "vlan-passthrough" { + value 3; + description + "Vlan tagged passthrough mode"; + } + } + description + "Transport mode"; + } + + typedef Flow-label-tlv-code { + type enumeration { + enum "17" { + value 4; + description + "Set Flow Label Legacy TLV code (DEPRECATED)"; + } + enum "disable" { + value 8; + description + "Disable Sending Flow Label Legacy TLV"; + } + } + description + "Flow label tlv code"; + } + + typedef Bgp-route-target { + type enumeration { + enum "no-stitching" { + value 0; + description + "RT is default type"; + } + enum "stitching" { + value 1; + description + "RT is for stitching (Golf-L2)"; + } + } + description + "Bgp route target"; + } + + typedef Pseudowire-acid-range { + type uint32 { + range "1..4294967295"; + } + description + "Pseudowire acid range"; + } + + typedef Pseudowire-id-range { + type uint32 { + range "1..4294967295"; + } + description + "Pseudowire id range"; + } + + typedef Interface-profile { + type enumeration { + enum "snoop" { + value 1; + description + "Set the snooping"; + } + enum "dhcp-protocol" { + value 2; + description + "disable DHCP protocol"; + } + } + description + "Interface profile"; + } + + typedef Ethernet-segment-identifier { + type enumeration { + enum "type0" { + value 0; + description + "ESI type 0"; + } + enum "legacy" { + value 128; + description + "Legacy ESI type"; + } + enum "override" { + value 129; + description + "Override ESI type"; + } + } + description + "Ethernet segment identifier"; + } + + typedef Rpl-role { + type enumeration { + enum "owner" { + value 1; + description + "ERP RPL owner"; + } + enum "neighbor" { + value 2; + description + "ERP RPL neighbor"; + } + enum "next-neighbor" { + value 3; + description + "ERP RPL next neighbor"; + } + } + description + "Rpl role"; + } + + typedef Pw-switching-point-tlv { + type enumeration { + enum "hide" { + value 2; + description + "Hide TLV"; + } + } + description + "Pw switching point tlv"; + } + + typedef Erpaps-level-range { + type uint32 { + range "0..7"; + } + description + "Erpaps level range"; + } + + typedef Evpn-esi-type-range { + type uint32; + description + "Evpn esi type range"; + } + + typedef Storm-control { + type enumeration { + enum "unicast" { + value 1; + description + "Unknown-unicast Storm Control"; + } + enum "multicast" { + value 2; + description + "Multicast Storm Control"; + } + enum "broadcast" { + value 4; + description + "Broadcast Storm Control"; + } + } + description + "Storm control"; + } + + typedef L2tp-session-id-range { + type uint32 { + range "1..65535"; + } + description + "L2tp session id range"; + } + + typedef Mac-learn { + type enumeration { + enum "default-learning" { + value 0; + description + "Mac Learning"; + } + enum "enable-learning" { + value 1; + description + "Enable Learning"; + } + enum "disable-learning" { + value 2; + description + "Disable Learning"; + } + } + description + "Mac learn"; + } + + typedef L2tpv3-sequencing { + type enumeration { + enum "off" { + value 0; + description + "Sequencing is off"; + } + enum "both" { + value 4; + description + "Sequencing on both transmit and receive side"; + } + } + description + "L2tpv3 sequencing"; + } + + typedef Veid-range { + type uint32 { + range "1..16384"; + } + description + "Veid range"; + } + + typedef Load-balance { + type enumeration { + enum "source-dest-mac" { + value 1; + description + "Source and Destination MAC hashing"; + } + enum "source-dest-ip" { + value 2; + description + "Source and Destination IP hashing"; + } + enum "pseudowire-label" { + value 4; + description + "PW Label hashing"; + } + } + description + "Load balance"; + } + + typedef L2tp-signaling-protocol { + type enumeration { + enum "none" { + value 1; + description + "No signaling"; + } + enum "l2tpv3" { + value 2; + description + "L2TPv3"; + } + } + description + "L2tp signaling protocol"; + } + + typedef Move-count-range { + type uint32 { + range "1..1000"; + } + description + "Move count range"; + } + + typedef Retry-count-range { + type uint32 { + range "0..1000"; + } + description + "Retry count range"; + } + + typedef Bdmac-learn { + type enumeration { + enum "disable-learning" { + value 2; + description + "Disable Learning"; + } + } + description + "Bdmac learn"; + } + + typedef L2vpn-verification { + type enumeration { + enum "enable" { + value 1; + description + "enable verification"; + } + enum "disable" { + value 2; + description + "disable verification"; + } + } + description + "L2vpn verification"; + } + + typedef Max-path-mtu-range { + type uint32 { + range "68..65535"; + } + description + "Max path mtu range"; + } + + typedef Interface-traffic-flood { + type enumeration { + enum "traffic-flooding" { + value 0; + description + "Traffic flooding"; + } + enum "enable-flooding" { + value 1; + description + "Enable Flooding"; + } + enum "disable-flooding" { + value 2; + description + "Disable flooding"; + } + } + description + "Interface traffic flood"; + } + + typedef Pbbvid-range { + type uint32 { + range "1..4094"; + } + description + "Pbbvid range"; + } + + typedef L2tp-cookie-value-range { + type uint32 { + range "0..4294967295"; + } + description + "L2tp cookie value range"; + } + + typedef L2-encapsulation { + type enumeration { + enum "vlan" { + value 4; + description + "Vlan tagged mode"; + } + enum "ethernet" { + value 5; + description + "Ethernet port mode"; + } + } + description + "L2 encapsulation"; + } + + typedef L2vpn-logging { + type enumeration { + enum "enable" { + value 1; + description + "enable logging"; + } + enum "disable" { + value 2; + description + "disable logging"; + } + } + description + "L2vpn logging"; + } + + typedef Mac-aging-range { + type uint32 { + range "300..30000"; + } + description + "Mac aging range"; + } + + typedef Vpls-id-as-index { + type uint32 { + range "0..4294967295"; + } + description + "Vpls id as index"; + } + + typedef Pseudowire-gbl-id-range { + type uint32 { + range "1..4294967295"; + } + description + "Pseudowire gbl id range"; + } + + typedef Rdas-index { + type uint32 { + range "0..4294967295"; + } + description + "Rdas index"; + } + + typedef Mac-flush-mode { + type enumeration { + enum "mvrp" { + value 1; + description + "MVRP MAC Flushing"; + } + } + description + "Mac flush mode"; + } + + typedef L2tp-cookie-size { + type enumeration { + enum "zero" { + value 0; + description + "Cookie size is zero bytes"; + } + enum "four" { + value 4; + description + "Cookie size is four bytes"; + } + enum "eight" { + value 8; + description + "Cookie size is eight bytes"; + } + } + description + "L2tp cookie size"; + } + + typedef Mpls-sequencing { + type enumeration { + enum "off" { + value 0; + description + "Sequencing is off"; + } + enum "transmit" { + value 1; + description + "Sequencing on transmit side"; + } + enum "receive" { + value 2; + description + "Sequencing on receive side"; + } + enum "both" { + value 4; + description + "Sequencing on both transmit and receive side"; + } + } + description + "Mpls sequencing"; + } + + typedef Erp-instance-range { + type uint32 { + range "1..2"; + } + description + "Erp instance range"; + } + + typedef Pw-redundancy-initial-delay-range { + type uint32 { + range "0..120"; + } + description + "Pw redundancy initial delay range"; + } + + typedef Vpls-id-as-range { + type uint32 { + range "1..65535"; + } + description + "Vpls id as range"; + } + + typedef Rdas-range { + type uint32 { + range "1..4294967295"; + } + description + "Rdas range"; + } + + typedef Bridge-bd-mtu-range { + type uint32 { + range "46..65535"; + } + description + "Bridge bd mtu range"; + } + + typedef Backup-disable-delay-range { + type uint32 { + range "0..180"; + } + description + "Backup disable delay range"; + } + + typedef Storm-control-kbps-range { + type uint32 { + range "64..1280000"; + } + description + "Storm control kbps range"; + } + + typedef Mac-limit-action { + type enumeration { + enum "none" { + value 0; + description + "No action"; + } + enum "flood" { + value 1; + description + "Flood Mac Limit Action"; + } + enum "no-flood" { + value 2; + description + "NoFlood Mac Limit Action"; + } + enum "shutdown" { + value 3; + description + "Shutdown Mac Limit Action"; + } + } + description + "Mac limit action"; + } + + typedef Erp-port1 { + type enumeration { + enum "port0" { + value 0; + description + "ERP main port 0"; + } + enum "port1" { + value 1; + description + "ERP main port 1"; + } + } + description + "Erp port1"; + } + + typedef Mac-notification { + type enumeration { + enum "no-notif" { + value 0; + description + "No_Notification Trap"; + } + enum "syslog" { + value 1; + description + "syslog message"; + } + enum "trap" { + value 2; + description + "Snmp Trap"; + } + enum "syslog-snmp" { + value 3; + description + "Syslog_snmp Trap"; + } + } + description + "Mac notification"; + } + + typedef Control-word { + type enumeration { + enum "enable" { + value 1; + description + "Enable control word"; + } + enum "disable" { + value 2; + description + "Disable control word"; + } + } + description + "Control word"; + } + + typedef Bgp-route-distinguisher { + type enumeration { + enum "auto" { + value 1; + description + "RD automatically assigned"; + } + enum "two-byte-as" { + value 2; + description + "RD in 2 byte AS:nn format"; + } + enum "four-byte-as" { + value 3; + description + "RD in 4 byte AS:nn format"; + } + enum "ipv4-address" { + value 4; + description + "RD in IpV4address"; + } + } + description + "Bgp route distinguisher"; + } + + typedef Bgp-route-target-format { + type enumeration { + enum "none" { + value 0; + description + "No route target"; + } + enum "two-byte-as" { + value 1; + description + "2 Byte AS:nn format"; + } + enum "four-byte-as" { + value 2; + description + "4 byte AS:nn format"; + } + enum "ipv4-address" { + value 3; + description + "IP:nn format"; + } + enum "es-import" { + value 1538; + description + "a.a.i format"; + } + } + description + "Bgp route target format"; + } + + typedef Mac-limit-threshold-range { + type uint32 { + range "1..100"; + } + description + "Mac limit threshold range"; + } + + typedef Vedge-range { + type uint32 { + range "11..100"; + } + description + "Vedge range"; + } + + typedef Vpnid-range { + type uint32 { + range "1..4294967295"; + } + description + "Vpnid range"; + } + + typedef Freeze-time-range { + type uint32 { + range "5..3600"; + } + description + "Freeze time range"; + } + + typedef Ldp-vpls-id { + type enumeration { + enum "two-byte-as" { + value 10; + description + "VPLS-ID in 2 byte AS:nn format"; + } + enum "ipv4-address" { + value 266; + description + "VPLS-ID in IPv4 IP:nn format"; + } + } + description + "Ldp vpls id"; + } + + typedef Ce-id-range { + type uint32 { + range "1..16384"; + } + description + "Ce id range"; + } + + typedef Mac-aging { + type enumeration { + enum "absolute" { + value 1; + description + "Absolute aging type"; + } + enum "inactivity" { + value 2; + description + "Inactivity aging type"; + } + } + description + "Mac aging"; + } + + typedef Mac-limit-range { + type uint32 { + range "0..4294967295"; + } + description + "Mac limit range"; + } + + typedef Pbbisid-range { + type uint32 { + range "256..16777214"; + } + description + "Pbbisid range"; + } + + typedef Type-of-service-range { + type uint32 { + range "0..255"; + } + description + "Type of service range"; + } + + typedef Flow-label-load-balance { + type enumeration { + enum "off" { + value 0; + description + "Flow Label load balance is off"; + } + enum "receive" { + value 1; + description + "Delete Flow Label on receive side"; + } + enum "transmit" { + value 2; + description + "Insert Flow Label on transmit side"; + } + enum "both" { + value 3; + description + "Insert/Delete Flow Label on transmit/receive + side"; + } + } + description + "Flow label load balance"; + } + + grouping EVI-ADVERTISE-MAC-DEPRECATED { + description + "Common node of evpnevi, evpn-instance"; + leaf evi-advertise-mac-deprecated { + type empty; + description + "DEPRECATED: Advertise local MAC-only and BVI MAC + routes"; + } + } + + grouping TABLE-POLICY { + description + "Common node of evpnev-ibgp-auto-discovery, + evpn-instance-bgp-auto-discovery"; + leaf table-policy { + type string; + description + "Table Policy for installation of forwarding data + to L2FIB"; + } + } + + grouping STORM-CONTROL-UNIT { + description + "Common node of bd-storm-control, + bdac-storm-control-type, bdpw-storm-control-type"; + container storm-control-unit { + must "kbits-per-sec or pkts-per-sec"; + description + "Specify units for Storm Control Configuration"; + leaf kbits-per-sec { + type Storm-control-kbps-range; + units "kbit/s"; + description + "Kilobits Per Second, PktsPerSec and KbitsPerSec + cannot be configured together"; + } + leaf pkts-per-sec { + type Storm-control-pps-range; + units "packet/s"; + description + "Packets Per Second, PktsPerSec and KbitsPerSec + cannot be configured together"; + } + } + } + + grouping EVI-ECMP-DISABLE { + description + "Common node of evpnevi, evpn-instance"; + leaf evi-ecmp-disable { + type empty; + description + "Disable ECMP on the EVI"; + } + } + + grouping MANUAL-SERVICE-CARVING { + description + "Common node of ethernet-segment, + evpn-virtual-ethernet-segment"; + container manual-service-carving { + description + "Enter Manual service carving configuration + submode"; + container service-list { + description + "Manual service carving primary,secondary lists"; + leaf primary { + type string { + length "1..150"; + } + description + "Primary services list"; + } + leaf secondary { + type string { + length "1..150"; + } + description + "Secondary services list"; + } + } + leaf enable { + type empty; + description + "Enable Manual service carving"; + } + } + } + + grouping EVPN-ROUTE-DISTINGUISHER { + description + "Common node of evpn-bgp-auto-discovery, + evpnev-ibgp-auto-discovery, + evpn-instance-bgp-auto-discovery, pw-routing-bgp"; + container evpn-route-distinguisher { + description + "Route Distinguisher"; + leaf type { + type Bgp-route-distinguisher; + description + "Router Distinguisher Type"; + } + leaf as { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = FourByteAS"; + } + type Rdas-range; + description + "Two byte or 4 byte AS number"; + } + leaf as-index { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = FourByteAS"; + } + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf addr-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type Rd-addr-index; + description + "Addr index"; + } + } + } + + grouping EVPN-VIRTUAL-ETHERNET-SEGMENT { + description + "Common node of evpn-virtual-access-pw, + evpn-virtual-access-vfi"; + container evpn-virtual-ethernet-segment { + description + "Enter Ethernet Segment configuration submode"; + leaf enable { + type empty; + description + "Enable Ethernet Segment"; + } + uses ES-IMPORT-ROUTE-TARGET; + uses IDENTIFIER; + uses MANUAL-SERVICE-CARVING; + } + } + + grouping ES-IMPORT-ROUTE-TARGET { + description + "Common node of ethernet-segment, + evpn-virtual-ethernet-segment"; + leaf es-import-route-target { + type yang:mac-address; + description + "ES-Import Route Target"; + } + } + + grouping IDENTIFIER { + description + "Common node of ethernet-segment, + evpn-virtual-ethernet-segment"; + container identifier { + presence "Indicates a identifier node is configured."; + description + "Ethernet segment identifier"; + leaf bytes01 { + type xr:Hex-integer; + mandatory true; + description + "Type 0's 1st Byte or Type Byte and 1st Byte"; + } + leaf bytes23 { + type xr:Hex-integer; + units "byte"; + mandatory true; + description + "2nd and 3rd Bytes"; + } + leaf bytes45 { + type xr:Hex-integer; + units "byte"; + mandatory true; + description + "4th and 5th Bytes"; + } + leaf bytes67 { + type xr:Hex-integer; + units "byte"; + mandatory true; + description + "6th and 7th Bytes"; + } + leaf bytes89 { + type xr:Hex-integer; + units "byte"; + mandatory true; + description + "8th and 9th Bytes"; + } + leaf type { + type Ethernet-segment-identifier; + mandatory true; + description + "Ethernet segment identifier type"; + } + } + } + + grouping EVPN-ROUTE-TARGET-TABLE { + description + "Common node of evpnevibgp-auto-discovery, + evpn-instance-bgp-auto-discovery"; + container evpn-route-targets { + description + "Route Target"; + list evpn-route-target-as { + must "format = 'two-byte-as' or format = 'four-byte-as'" { + description + "path for evpn-route-target when format is 2 or 4 byte AS"; + } + key "format role as as-index stitching"; + description + "Name of the Route Target"; + xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + xr:xr-xml-map "l2vpn_cfg:Format"; + } + leaf role { + type Bgp-route-target-role; + description + "Role of the router target type"; + xr:xr-xml-map "l2vpn_cfg:Role"; + } + leaf as { + type Rdas-range; + description + "Two byte or 4 byte AS number"; + xr:xr-xml-map "l2vpn_cfg:AS"; + } + leaf as-index { + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + xr:xr-xml-map "l2vpn_cfg:ASIndex"; + } + leaf stitching { + type Bgp-route-target; + description + "whether RT is Stitching RT"; + xr:xr-xml-map "l2vpn_cfg:Stitching"; + } + } + list evpn-route-target-none { + must "format = 'none'" { + description + "path for evpn-route-target when format is none"; + } + key "format role stitching"; + description + "Name of the Route Target"; + xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + xr:xr-xml-map "l2vpn_cfg:Format"; + } + leaf role { + type Bgp-route-target-role; + description + "Role of the router target type"; + xr:xr-xml-map "l2vpn_cfg:Role"; + } + leaf stitching { + type Bgp-route-target; + description + "whether RT is Stitching RT"; + xr:xr-xml-map "l2vpn_cfg:Stitching"; + } + } + list evpn-route-target-ipv4-address { + must "format = 'ipv4-address'" { + description + "path for evpn-route-target when format is an ipv4 address"; + } + key "format role address addr-index stitching"; + description + "Name of the Route Target"; + xr:xr-xml-map "l2vpn_cfg:EVPNRouteTarget"; + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + xr:xr-xml-map "l2vpn_cfg:Format"; + } + leaf role { + type Bgp-route-target-role; + description + "Role of the router target type"; + xr:xr-xml-map "l2vpn_cfg:Role"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + xr:xr-xml-map "l2vpn_cfg:Address"; + } + leaf addr-index { + type Rd-addr-index; + description + "Addr index"; + xr:xr-xml-map "l2vpn_cfg:AddrIndex"; + } + leaf stitching { + type Bgp-route-target; + description + "whether RT is Stitching RT"; + xr:xr-xml-map "l2vpn_cfg:Stitching"; + } + } + } + } + + grouping EVI-REORIG-DISABLE { + description + "Common node of evpnevi, evpn-instance"; + leaf evi-reorig-disable { + type empty; + description + "Disable route re-origination"; + } + } + + grouping EVI-STATIC-FLOW-LABEL { + description + "Common node of evi-load-balancing, + evpn-instance-load-balancing"; + leaf evi-static-flow-label { + type empty; + description + "Enable Static Flow Label based load balancing"; + } + } + + grouping EVI-ADVERTISE-MAC-BVI { + description + "Common node of evi-advertise-mac, + evpn-instance-advertise-mac"; + leaf evi-advertise-mac-bvi { + type empty; + description + "Advertise local MAC-only and BVI MAC routes"; + } + } + + grouping EVPNEVI-DESCRIPTION { + description + "Common node of evpnevi, evpn-instance"; + leaf evpnevi-description { + type string { + length "1..64"; + } + description + "EVPN Instance description"; + } + } + + grouping EVI-UNKNOWN-UNICAST-FLOODING-DISABLE { + description + "Common node of evpnevi, evpn-instance"; + leaf evi-unknown-unicast-flooding-disable { + type empty; + description + "Disable Unknown Unicast Flooding on this EVI"; + } + } + + grouping EVPN-EVI-CW-DISABLE { + description + "Common node of evpnevi, evpn-instance"; + leaf evpn-evi-cw-disable { + type empty; + description + "CW disable for EVPN EVI"; + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container pseudowire-ether { + description + "PW-Ether attributes"; + leaf generic-interface-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the interface list"; + } + leaf l2-overhead { + type uint32 { + range "1..64"; + } + description + "PW Ether L2 overhead requirement"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container pseudowire-iw { + description + "PW-IW attributes"; + leaf l2-overhead { + type uint32 { + range "1..64"; + } + units "byte"; + description + "L2 overhead size in bytes"; + } + leaf generic-interface-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the interface list"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container bvi { + description + "BVI attributes"; + leaf host-routing { + type empty; + description + "Enable host-routing on this BVI"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container l2-transport { + description + "Interface Layer 2 Transport service + configuration data"; + leaf enabled { + type empty; + description + "This object is only valid on physical + interfaces and it controls whether that + interface is a port mode Layer 2 attachment + circuit (note that for subinterfaces, the Layer + 2 property is specified when the subinterface + is created).The object must be set before any + other L2Transport configuration is supplied for + the interface, and must be the last + per-interface configuration object to be + removed."; + } + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container vpls { + description + "CISCO-IETF-VPLS-GENERIC-MIB notification + configuration"; + leaf full-clear { + type empty; + description + "Enable cvplsFwdFullAlarmCleared notification"; + } + leaf status { + type empty; + description + "Enable cvplsStatusChanged notification"; + } + leaf enable { + type empty; + description + "Enable CISCO-IETF-VPLS-GENERIC-MIB + notifications"; + } + leaf full-raise { + type empty; + description + "Enable cvplsFwdFullAlarmRaised notification"; + } + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container l2vpn { + description + "CISCO-IETF-PW-MIB notification configuration"; + leaf cisco { + type empty; + description + "Enable Cisco format including extra varbinds"; + } + leaf enable { + type empty; + description + "Enable CISCO-IETF-PW-MIB notifications"; + } + leaf vc-down { + type empty; + description + "Enable cpwVcDown notification"; + } + leaf vc-up { + type empty; + description + "Enable cpwVcUp notification"; + } + } + } + container l2vpn { + description + "L2VPN configuration"; + container pw-routing { + description + "Pseudowire-routing attributes"; + container pw-routing-bgp { + description + "Enable Autodiscovery BGP Pseudowire-routing BGP"; + leaf enable { + type empty; + description + "Enable Autodiscovery BGP"; + } + uses EVPN-ROUTE-DISTINGUISHER; + } + leaf pw-routing-global-id { + type Pseudowire-gbl-id-range; + description + "Pseudowire-routing Global ID"; + } + } + container neighbor { + description + "L2VPN neighbor submode"; + leaf ldp-flap { + type empty; + description + "Enable targetted LDP session flap action"; + } + } + container database { + description + "L2VPN databases"; + container g8032-rings { + description + "List of G8032 Ring"; + list g8032-ring { + key "g8032-ring-name"; + description + "G8032 Ring"; + container erp-port0s { + description + "Ethernet ring protection port0"; + list erp-port0 { + key "interface-name"; + description + "Configure ERP main port0"; + leaf monitor { + type xr:Interface-name; + description + "Ethernet ring protection port0 monitor"; + } + leaf interface-name { + type xr:Interface-name; + description + "Port0 interface"; + } + } + } + container erp-instances { + description + "List of ethernet ring protection instance"; + list erp-instance { + key "erp-instance-id"; + description + "Ethernet ring protection instance"; + container rpl { + description + "Ring protection link"; + leaf port { + type Erp-port1; + description + "ERP main port number"; + } + leaf role { + type Rpl-role; + description + "RPL role"; + } + } + container aps { + description + "Automatic protection switching"; + container port1 { + description + "APS channel for ERP port1"; + leaf aps-type { + type Erpaps; + description + "Port1 APS type"; + } + leaf aps-channel { + type string; + description + "Port1 APS channel in the format of + InterfaceName, BDName or XconnectName"; + } + } + leaf port0 { + type string; + description + "Port0 APS channel in the format of + InterfaceName"; + } + leaf enable { + type empty; + description + "Enable automatic protection switching"; + } + leaf level { + type Erpaps-level-range; + description + "Automatic protection switching level"; + } + } + leaf description { + type string { + length "1..32"; + } + description + "Ethernet ring protection instance + description"; + } + leaf inclusion-list { + type string; + description + "Associates a set of VLAN IDs with the G + .8032 instance"; + } + leaf profile { + type string { + length "1..32"; + } + description + "Ethernet ring protection instance profile"; + } + leaf erp-instance-id { + type Erp-instance-range; + description + "ERP instance number"; + } + } + } + container erp-port1s { + description + "Ethernet ring protection port0"; + list erp-port1 { + must "none-or-virtual or interface" { + description + "None-or-Virtual or Interface must be + present."; + } + key "erp-port-type"; + description + "Ethernet ring protection port1"; + + grouping ERP-PORT1-CONTENT { + description + "ERP PORT1 CONTENT"; + leaf monitor { + type xr:Interface-name; + description + "Ethernet ring protection port1 monitor"; + } + } + container none-or-virtual { + when "../erp-port-type = 'none' or ../erp-port-type = 'virtual'" { + description + "../ERPPortType = None or ../ERPPortType = + Virtual"; + } + presence "Indicates that this node is configured."; + description + "none or virtual"; + uses ERP-PORT1-CONTENT; + } + leaf erp-port-type { + type Erp-port; + description + "Port1 type"; + } + list interface { + when "../erp-port-type = 'interface'" { + description + "../ERPPortType = Interface"; + } + key "interface-name"; + description + "interface"; + leaf interface-name { + type xr:Interface-name; + description + "Port1 interface"; + } + uses ERP-PORT1-CONTENT; + } + } + } + leaf open-ring { + type empty; + description + "Specify the G.8032 instance as open ring"; + } + leaf exclusion-list { + type string; + description + "Vlan IDs in the format of a-b,c,d,e-f,g + ,untagged"; + } + leaf erp-provider-bridge { + type empty; + description + "Ethernet ring protection provider bridge"; + } + leaf g8032-ring-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the G8032 ring"; + } + } + } + container xconnect-groups { + description + "List of xconnect groups"; + list xconnect-group { + key "name"; + description + "Xconnect group"; + container p2p-xconnects { + description + "List of point to point xconnects"; + list p2p-xconnect { + key "name"; + description + "Point to point xconnect"; + container backup-attachment-circuits { + description + "List of backup attachment circuits"; + list backup-attachment-circuit { + key "interface-name"; + description + "Backup attachment circuit"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the attachment circuit interface"; + } + } + } + container pseudowire-evpns { + description + "List of EVPN Services"; + list pseudowire-evpn { + key "eviid remote-acid source-acid"; + description + "EVPN P2P Service Configuration"; + leaf class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the pseudowire class"; + } + leaf eviid { + type Evpnvpnid-range; + description + "Ethernet VPN ID"; + } + leaf remote-acid { + type Pseudowire-evpnacid-range; + description + "Remote AC ID"; + } + leaf source-acid { + type Pseudowire-evpnacid-range; + description + "Source AC ID"; + } + } + } + container pseudowires { + description + "List of pseudowires"; + list pseudowire { + must "pseudowire-address or neighbor" { + description + "pseudowire-address or neighbor must be + present."; + } + key "pseudowire-id"; + description + "Pseudowire configuration"; + + grouping PSEUDOWIRE-CONTENT { + description + "Content grouping."; + container mpls-static-labels { + description + "MPLS static labels"; + leaf local-static-label { + type Pseudowire-label-range; + description + "Pseudowire local static label"; + } + leaf remote-static-label { + type Pseudowire-label-range; + description + "Pseudowire remote static label"; + } + } + container backup-pseudowires { + description + "List of pseudowires"; + list backup-pseudowire { + key "neighbor pseudowire-id"; + description + "Backup pseudowire for the cross connect"; + container backup-mpls-static-labels { + description + "MPLS static labels"; + leaf local-static-label { + type Pseudowire-label-range; + description + "Pseudowire local static label"; + } + leaf remote-static-label { + type Pseudowire-label-range; + description + "Pseudowire remote static label"; + } + } + leaf backup-pw-class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "PW class template name to use for the + backup PW"; + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + } + } + container l2tp-static-attributes { + description + "L2TP Static Attributes"; + container l2tp-remote-cookie { + description + "L2TP remote cookie"; + leaf size { + type L2tp-cookie-size; + description + "Remote cookie size"; + } + leaf lower-value { + type L2tp-cookie-value-range; + description + "Lower remote cookie value"; + } + leaf higher-value { + type L2tp-cookie-value-range; + description + "Higher remote cookie value"; + } + } + container l2tp-secondary-local-cookie { + description + "L2TP secondary local cookie"; + leaf size { + type L2tp-cookie-size; + description + "Local cookie size"; + } + leaf lower-value { + type L2tp-cookie-value-range; + description + "Lower local cookie value"; + } + leaf higher-value { + type L2tp-cookie-value-range; + description + "Higher local cookie value"; + } + } + container l2tp-local-cookie { + description + "L2TP local cookie"; + leaf size { + type L2tp-cookie-size; + description + "Local cookie size"; + } + leaf lower-value { + type L2tp-cookie-value-range; + description + "Lower local cookie value"; + } + leaf higher-value { + type L2tp-cookie-value-range; + description + "Higher local cookie value"; + } + } + leaf l2tp-remote-session-id { + type L2tp-session-id-range; + description + "L2TP remote session ID"; + } + leaf l2tp-local-session-id { + type L2tp-session-id-range; + description + "L2TP local session ID"; + } + } + container l2tp-static { + description + "Pseudowire L2TPv3 static configuration"; + leaf enable { + type empty; + description + "Enable pseudowire L2TPv3 static + configuration"; + } + } + leaf tag-impose { + type Pseudowire-tag-range; + description + "Tag Impose vlan tagged mode"; + } + leaf class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the pseudowire class"; + } + leaf source-address { + type inet:ip-address-no-zone; + description + "Value of the Pseudowire source address. + Must be IPv6 only."; + } + leaf bandwidth { + type uint32 { + range "0..4294967295"; + } + description + "Pseudowire Bandwidth"; + } + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + list neighbor { + key "neighbor"; + description + "keys: neighbor"; + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Pseudowire IPv4 address"; + } + uses PSEUDOWIRE-CONTENT; + } + list pseudowire-address { + key "pseudowire-address"; + description + "keys: pseudowire-address"; + leaf pseudowire-address { + type inet:ipv6-address-no-zone; + description + "Pseudowire IPv6 address. A pseudowire + can have only one address: IPv4 or IPv6"; + } + uses PSEUDOWIRE-CONTENT; + } + } + } + container monitor-sessions { + description + "List of Monitor session segments"; + list monitor-session { + key "name"; + description + "Monitor session segment"; + leaf enable { + type empty; + description + "Enable monitor session segment "; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Name of the monitor session"; + } + } + } + container pseudowire-routeds { + description + "List of pseudowire-routed"; + list pseudowire-routed { + key "global-id prefix acid sacid"; + description + "Pseudowire configuration"; + leaf tag-impose { + type Pseudowire-tag-range; + description + "Tag Impose vlan tagged mode"; + } + leaf class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the pseudowire class"; + } + leaf global-id { + type Pseudowire-gbl-id-range; + description + "Target Global ID"; + } + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Target Prefix"; + } + leaf acid { + type Pseudowire-acid-range; + description + "Target AC ID"; + } + leaf sacid { + type Pseudowire-acid-range; + description + "Source AC ID"; + } + } + } + container attachment-circuits { + description + "List of attachment circuits"; + list attachment-circuit { + key "name"; + description + "Attachment circuit interface"; + leaf enable { + type empty; + description + "Enable attachment circuit interface"; + } + leaf name { + type xr:Interface-name; + description + "Name of the attachment circuit interface"; + } + } + } + leaf p2p-description { + type string { + length "1..64"; + } + description + "cross connect description Name"; + } + leaf interworking { + type Interworking; + description + "Interworking"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..38"; + } + description + "Name of the point to point xconnect"; + } + } + } + container mp2mp-xconnects { + description + "List of multi point to multi point xconnects"; + list mp2mp-xconnect { + key "name"; + description + "Multi point to multi point xconnect"; + container mp2mp-auto-discovery { + description + "auto-discovery in this MP2MP"; + container route-distinguisher { + description + "Route Distinguisher"; + leaf type { + type Bgp-route-distinguisher; + description + "Router distinguisher type"; + } + leaf as { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = + FourByteAS"; + } + type Rdas-range; + description + "Two byte or 4 byte AS number"; + } + leaf as-index { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = + FourByteAS"; + } + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf addr-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type Rd-addr-index; + description + "Addr index"; + } + } + container mp2mp-route-policy { + description + "Route policy"; + leaf export { + type string; + description + "Export route policy"; + } + } + container mp2mp-route-targets { + description + "Route Target"; + list mp2mp-route-target { + must "two-byte-as-or-four-byte-as or ipv4-address" { + description + "TwoByteAS-or-FourbyteAS or IPV4Address + must be present."; + } + key "role format"; + description + "Name of the Route Target"; + leaf role { + type Bgp-route-target-role; + description + "Role of the router target type"; + } + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + } + list two-byte-as-or-four-byte-as { + when "../format = 'two-byte-as' or ../format = 'four-byte-as'" { + description + "../Format = TwoByteAS or ../Format = + FourbyteAS"; + } + key "as as-index"; + description + "two byte as or four byte as"; + leaf as { + type Rdas-range; + description + "Two byte or 4 byte AS number"; + } + leaf as-index { + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + } + } + list ipv4-address { + when "../format = 'ipv4-address'" { + description + "../Format = IPV4Address"; + } + key "address addr-index"; + description + "ipv4 address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf addr-index { + type Rd-addr-index; + description + "Addr index"; + } + } + } + } + container mp2mp-signaling-protocol { + description + "signaling protocol in this MP2MP"; + container flow-label-load-balance { + description + "Enable Flow Label based load balancing"; + leaf flow-label { + type Flow-label-load-balance; + description + "Flow Label load balance type"; + } + leaf static { + type empty; + description + "Static Flow Label"; + } + } + container ceids { + description + "Local Customer Edge Identifier Table"; + list ceid { + key "ce-id"; + description + "Local Customer Edge Identifier "; + container remote-ceid-attachment-circuits { + description + "AC And Remote Customer Edge Identifier + Table"; + list remote-ceid-attachment-circuit { + key "name remote-ce-id"; + description + "AC And Remote Customer Edge Identifier"; + leaf name { + type xr:Interface-name; + description + "The name of the Attachment Circuit"; + } + leaf remote-ce-id { + type Ce-id-range; + description + "Remote Customer Edge Identifier"; + } + } + } + leaf ce-id { + type Ce-id-range; + description + "Local Customer Edge Identifier"; + } + } + } + leaf ce-range { + type Cedge-range; + description + "Local Customer Edge Identifier"; + } + leaf enable { + type empty; + description + "Enable signaling protocol"; + } + } + leaf enable { + type empty; + description + "Enable auto-discovery"; + } + } + leaf mp2mpmtu { + type L2vpn-mtu-range; + units "byte"; + description + "Maximum transmission unit for this MP2MP + VPWS instance"; + } + leaf mp2mp-control-word { + type empty; + description + "Disable control word"; + } + leaf mp2mpl2-encapsulation { + type L2-encapsulation; + description + "Configure Layer 2 Encapsulation"; + } + leaf mp2mp-interworking { + type Interworking; + description + "Interworking"; + } + leaf mp2mp-shutdown { + type empty; + description + "shutdown this MP2MP VPWS instance"; + } + leaf mp2mpvpn-id { + type Vpnid-range; + description + "VPN Identifier"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..26"; + } + description + "Name of the multi point to multi point + xconnect"; + } + } + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the xconnect group"; + } + } + } + container bridge-domain-groups { + description + "List of bridge groups"; + list bridge-domain-group { + key "name"; + description + "Bridge group"; + container bridge-domains { + description + "List of Bridge Domain"; + list bridge-domain { + key "name"; + description + "bridge domain"; + container bd-storm-controls { + description + "Storm Control"; + list bd-storm-control { + must "storm-control-unit"; + key "sctype"; + description + "Storm Control Type"; + leaf sctype { + type Storm-control; + description + "Storm Control Type"; + } + uses STORM-CONTROL-UNIT; + } + } + container member-vnis { + description + "Bridge Domain VxLAN Network Identifier + Table"; + list member-vni { + key "vni"; + description + "Bridge Domain Member VxLAN Network + Identifier "; + container member-vni-static-mac-addresses { + description + "Static Mac Address Table"; + list member-vni-static-mac-address { + key "mac-address"; + description + "Static Mac Address Configuration"; + leaf next-hop-ip { + type inet:ipv4-address-no-zone; + description + "Enable Static Mac Address Configuration"; + } + leaf mac-address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + leaf vni { + type uint32 { + range "1..16777215"; + } + description + "VxLAN Network Identifier number"; + } + } + } + container bridge-domain-mac { + description + "MAC configuration commands"; + container bd-mac-limit { + description + "MAC-Limit configuration commands"; + leaf bd-mac-limit-action { + type Mac-limit-action; + description + "MAC address limit enforcement action"; + } + leaf bd-mac-limit-notif { + type Mac-notification; + description + "Mac Address Limit Notification"; + } + leaf bd-mac-limit-max { + type Mac-limit-range; + description + "Number of MAC addresses after which MAC + limit action is taken"; + } + } + container bd-mac-filters { + description + "Filter Mac Address"; + list bd-mac-filter { + key "address"; + description + "Static MAC address"; + leaf drop { + type empty; + description + "MAC address for filtering"; + } + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + container mac-secure { + description + "MAC Secure"; + leaf logging { + type empty; + description + "MAC Secure Logging"; + } + leaf action { + type Mac-secure-action; + description + "MAC secure enforcement action"; + } + leaf enable { + type empty; + description + "Enable MAC Secure"; + } + leaf threshold { + type empty; + description + "MAC Secure Threshold"; + } + } + container bd-mac-aging { + description + "MAC-Aging configuration commands"; + leaf bd-mac-aging-type { + type Mac-aging; + description + "MAC address aging type"; + } + leaf bd-mac-aging-time { + type Mac-aging-range; + description + "Mac Aging Time"; + } + } + leaf bd-mac-withdraw-relay { + type empty; + description + "Mac withdraw sent from access PW to access + PW"; + } + leaf bd-mac-withdraw-access-pw-disable { + type empty; + description + "MAC withdraw on Access PW"; + } + leaf bd-mac-port-down-flush { + type empty; + description + "Disable MAC Flush when Port goes Down"; + } + leaf bd-mac-withdraw { + type empty; + description + "Disable Mac Withdraw"; + } + leaf bd-mac-withdraw-behavior { + type Mac-withdraw-behavior; + description + "MAC withdraw sent on bridge port down"; + } + leaf bd-mac-learn { + type Bdmac-learn; + description + "Mac Learning Type"; + } + } + container nv-satellite { + description + "nV Satellite"; + leaf offload-ipv4-multicast-enable { + type empty; + description + "Enable IPv4 Multicast Offload to Satellite + Nodes"; + } + leaf enable { + type empty; + description + "Enable nV Satellite Settings"; + } + } + container bridge-domain-pbb { + description + "Bridge Domain PBB"; + container pbb-edges { + description + "PBB Edge"; + list pbb-edge { + key "isid core-bd-name"; + description + "Configure BD as PBB Edge with ISID and + associated PBB Core BD"; + container pbb-edge-split-horizon-group { + description + "Split Horizon Group"; + leaf disable { + type empty; + description + "Disable split horizon group"; + } + } + container pbb-static-mac-mappings { + description + "PBB Static Mac Address Mapping Table"; + list pbb-static-mac-mapping { + key "address"; + description + "PBB Static Mac Address Mapping + Configuration"; + leaf pbb-static-mac-mapping-bmac { + type yang:mac-address; + description + "Static backbone MAC address to map + with"; + } + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + container pbb-edge-dhcp-profile { + description + "Attach a DHCP profile"; + leaf profile-id { + type Interface-profile; + description + "Set the snooping profile"; + } + leaf dhcp-snooping-id { + type string; + description + "Disable DHCP snooping"; + } + } + container pbb-edge-mac { + description + "MAC configuration commands"; + container pbb-edge-mac-limit { + description + "MAC-Limit configuration commands"; + leaf pbb-edge-mac-limit-action { + type Mac-limit-action; + description + "MAC address limit enforcement action"; + } + leaf pbb-edge-mac-limit-max { + type Mac-limit-range; + description + "Number of MAC addresses after which + MAC limit action is taken"; + } + leaf pbb-edge-mac-limit-notif { + type Mac-notification; + description + "MAC address limit notification action"; + } + } + container pbb-edge-mac-aging { + description + "MAC-Aging configuration commands"; + leaf pbb-edge-mac-aging-type { + type Mac-aging; + description + "MAC address aging type"; + } + leaf pbb-edge-mac-aging-time { + type Mac-aging-range; + description + "Mac Aging Time"; + } + } + container pbb-edge-mac-secure { + description + "MAC Secure"; + leaf logging { + type L2vpn-logging; + description + "MAC Secure Logging"; + } + leaf disable { + type empty; + description + "Disable Virtual instance port MAC + Secure"; + } + leaf action { + type Mac-secure-action; + description + "MAC secure enforcement action"; + } + leaf enable { + type empty; + description + "Enable MAC Secure"; + } + leaf accept-shutdown { + type empty; + description + "Accept Virtual instance port to be + shutdown on mac violation"; + } + } + leaf pbb-edge-mac-learning { + type Mac-learn; + description + "Enable Mac Learning"; + } + } + leaf pbb-edge-igmp-profile { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a IGMP Snooping profile"; + } + leaf unknown-unicast-bmac { + type yang:mac-address; + description + "Configure Unknown Unicast BMAC address + for PBB Edge Port"; + } + leaf isid { + type Pbbisid-range; + description + "ISID"; + } + leaf core-bd-name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "Core BD Name"; + } + } + } + container pbb-core { + description + "PBB Core"; + container pbb-core-mac { + description + "MAC configuration commands"; + container pbb-core-mac-aging { + description + "MAC-Aging configuration commands"; + leaf pbb-core-mac-aging-type { + type Mac-aging; + description + "MAC address aging type"; + } + leaf pbb-core-mac-aging-time { + type Mac-aging-range; + description + "Mac Aging Time"; + } + } + container pbb-core-mac-limit { + description + "MAC-Limit configuration commands"; + leaf pbb-core-mac-limit-max { + type Mac-limit-range; + description + "Number of MAC addresses after which MAC + limit action is taken"; + } + leaf pbb-core-mac-limit-notif { + type Mac-notification; + description + "MAC address limit notification action"; + } + leaf pbb-core-mac-limit-action { + type Mac-limit-action; + description + "MAC address limit enforcement action"; + } + } + leaf pbb-core-mac-learning { + type Mac-learn; + description + "Enable Mac Learning"; + } + } + container pbb-core-evis { + description + "PBB Core EVI Table"; + list pbb-core-evi { + key "eviid"; + description + "PBB Core EVI"; + leaf eviid { + type Vpnid-range; + description + "Ethernet VPN ID"; + } + } + } + container pbb-core-dhcp-profile { + description + "Attach a DHCP profile"; + leaf profile-id { + type Interface-profile; + description + "Set the snooping profile"; + } + leaf dhcp-snooping-id { + type string; + description + "Disable DHCP snooping"; + } + } + leaf pbb-core-mmrp-flood-optimization { + type empty; + description + "Enabling MMRP PBB-VPLS Flood Optimization"; + } + leaf vlan-id { + type Pbbvid-range; + description + "VLAN ID to push"; + } + leaf pbb-core-igmp-profile { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a IGMP Snooping profile"; + } + leaf enable { + type empty; + description + "Enable Bridge Domain PBB Core + Configuration"; + } + } + } + container bridge-domain-evis { + description + "Bridge Domain EVI Table"; + list bridge-domain-evi { + key "eviid"; + description + "Bridge Domain EVI"; + leaf eviid { + type Evpnvpnid-range; + description + "Ethernet VPN ID"; + } + } + } + container access-vfis { + description + "Specify the access virtual forwarding + interface name"; + list access-vfi { + key "name"; + description + "Name of the Acess Virtual Forwarding + Interface"; + container access-vfi-pseudowires { + description + "List of pseudowires"; + list access-vfi-pseudowire { + key "neighbor pseudowire-id"; + description + "Pseudowire configuration"; + container access-vfi-pseudowire-static-mac-addresses { + description + "Static Mac Address Table"; + list access-vfi-pseudowire-static-mac-address { + key "address"; + description + "Static Mac Address Configuration"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + leaf access-vfi-pw-class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Pseudowire class template name to use + for this pseudowire"; + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + } + } + leaf access-vfi-shutdown { + type empty; + description + "shutdown the AccessVfi"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the AccessVirtual Forwarding + Interface"; + } + } + } + container bd-pseudowires { + description + "List of pseudowires"; + list bd-pseudowire { + key "neighbor pseudowire-id"; + description + "Pseudowire configuration"; + container pseudowire-dai { + description + "Access Pseudowire Dynamic ARP Inspection"; + container pseudowire-dai-address-validation { + description + "Address Validation"; + leaf ipv4-verification { + type L2vpn-verification; + description + "IPv4 Verification"; + } + leaf destination-mac-verification { + type L2vpn-verification; + description + "Destination MAC Verification"; + } + leaf source-mac-verification { + type L2vpn-verification; + description + "Source MAC Verification"; + } + } + leaf logging { + type L2vpn-logging; + description + "Logging Type"; + } + leaf disable { + type empty; + description + "Disable Dynamic ARP Inspection"; + } + leaf enable { + type empty; + description + "Enable Access Pseudowire Dynamic ARP + Inspection"; + } + } + container bdpw-storm-control-types { + description + "Storm Control"; + list bdpw-storm-control-type { + must "storm-control-unit"; + key "sctype"; + description + "Storm Control Type"; + leaf sctype { + type Storm-control; + description + "Storm Control Type"; + } + uses STORM-CONTROL-UNIT; + } + } + container pseudowire-profile { + description + "Attach a DHCP profile"; + leaf profile-id { + type Interface-profile; + description + "Set the snooping profile"; + } + leaf dhcp-snooping-id { + type string; + description + "Disable DHCP snooping"; + } + } + container bd-pw-static-mac-addresses { + description + "Static Mac Address Table"; + list bd-pw-static-mac-address { + key "address"; + description + "Static Mac Address Configuration"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + container pseudowire-ip-source-guard { + description + "IP Source Guard"; + leaf logging { + type L2vpn-logging; + description + "Logging Type"; + } + leaf disable { + type empty; + description + "Disable Dynamic IP source guard"; + } + leaf enable { + type empty; + description + "Enable IP Source Guard"; + } + } + container pseudowire-mac { + description + "Bridge-domain Pseudowire MAC + configuration commands"; + container pseudowire-mac-secure { + description + "MAC Secure"; + leaf logging { + type L2vpn-logging; + description + "MAC Secure Logging"; + } + leaf disable { + type empty; + description + "Disable L2 Pseudowire MAC Secure"; + } + leaf action { + type Mac-secure-action; + description + "MAC secure enforcement action"; + } + leaf enable { + type empty; + description + "Enable MAC Secure"; + } + } + container pseudowire-mac-aging { + description + "MAC-Aging configuration commands"; + leaf pseudowire-mac-aging-type { + type Mac-aging; + description + "MAC address aging type"; + } + leaf pseudowire-mac-aging-time { + type Mac-aging-range; + description + "MAC Aging Time"; + } + } + container pseudowire-mac-limit { + description + "MAC-Limit configuration commands"; + leaf pseudowire-mac-limit-action { + type Mac-limit-action; + description + "Bridge Access Pseudowire MAC address + limit enforcement action"; + } + leaf pseudowire-mac-limit-notif { + type Mac-notification; + description + "MAC address limit notification action + in a Bridge Access Pseudowire"; + } + leaf pseudowire-mac-limit-max { + type Mac-limit-range; + description + "Number of MAC addresses on a Bridge + Access Pseudowire after which MAC limit + action is taken"; + } + } + leaf pseudowire-mac-port-down-flush { + type Port-down-flush; + description + "Enable/Disable MAC Flush When Port goes + down"; + } + leaf enable { + type empty; + description + "Bridge-domain Pseudowire MAC + configuration mode"; + } + leaf pseudowire-mac-learning { + type Mac-learn; + description + "Enable MAC Learning"; + } + } + container bd-pw-split-horizon { + description + "Split Horizon"; + container bd-pw-split-horizon-group { + description + "Split Horizon Group"; + leaf enable { + type empty; + description + "Enable split horizon group"; + } + } + } + container bd-pw-mpls-static-labels { + description + "MPLS static labels"; + leaf local-static-label { + type Pseudowire-label-range; + description + "Pseudowire local static label"; + } + leaf remote-static-label { + type Pseudowire-label-range; + description + "Pseudowire remote static label"; + } + } + container bridge-domain-backup-pseudowires { + description + "List of pseudowires"; + list bridge-domain-backup-pseudowire { + key "neighbor pseudowire-id"; + description + "Backup pseudowire configuration"; + leaf bridge-domain-backup-pw-class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "PW class template name to use for this + pseudowire"; + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + } + } + leaf pseudowire-mld-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a MLD Snooping profile"; + } + leaf pseudowire-igmp-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a IGMP Snooping profile"; + } + leaf pseudowire-flooding { + type Interface-traffic-flood; + description + "Bridge-domain Pseudowire flooding"; + } + leaf bd-pw-class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "PW class template name to use for this + pseudowire"; + } + leaf pseudowire-flooding-unknown-unicast { + type Interface-traffic-flood; + description + "Bridge-domain Pseudowire flooding Unknown + Unicast"; + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + } + } + container vfis { + description + "Specify the virtual forwarding interface + name"; + list vfi { + key "name"; + description + "Name of the Virtual Forwarding Interface"; + container multicast-p2mp { + description + "Enable Multicast P2MP in this VFI"; + container transports { + description + "Multicast P2MP Transport"; + list transport { + key "transport-name"; + description + "Multicast P2MP Transport Type"; + leaf attribute-set-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Multicast P2MP TE Attribute Set Name"; + } + leaf transport-name { + type Multicast-p2mp-transport; + description + "Transport Type"; + } + } + } + container signalings { + description + "Multicast P2MP Signaling Type"; + list signaling { + key "signaling-name"; + description + "Multicast P2MP Signaling Type"; + leaf signaling-name { + type Multicast-p2mp-signaling; + description + "Signaling Type"; + } + } + } + leaf enable { + type empty; + description + "Enable Autodiscovery P2MP"; + } + } + container vfi-pseudowires { + description + "List of pseudowires"; + list vfi-pseudowire { + key "neighbor pseudowire-id"; + description + "Pseudowire configuration"; + container vfi-pw-dhcp-snoop { + description + "Attach a DHCP Snooping profile"; + leaf profile-id { + type Interface-profile; + description + "Set the snooping profile"; + } + leaf dhcp-snooping-id { + type string; + description + "Disable DHCP snooping"; + } + } + container vfi-pw-mpls-static-labels { + description + "MPLS static labels"; + leaf local-static-label { + type Pseudowire-label-range; + description + "Pseudowire local static label"; + } + leaf remote-static-label { + type Pseudowire-label-range; + description + "Pseudowire remote static label"; + } + } + container pseudowire-static-mac-addresses { + description + "Static Mac Address Table"; + list pseudowire-static-mac-address { + key "address"; + description + "Static Mac Address Configuration"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + leaf vfi-pw-class { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "PW class template name to use for this + pseudowire"; + } + leaf vfi-pw-igmp-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a IGMP Snooping profile"; + } + leaf vfi-pw-mld-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a MLD Snooping profile"; + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + } + } + container bgp-auto-discovery { + description + "Enable Autodiscovery BGP in this VFI"; + container ldp-signaling-protocol { + description + "Signaling Protocol LDP in this VFI + configuration"; + container vpls-id { + description + "VPLS ID"; + leaf type { + type Ldp-vpls-id; + description + "VPLS-ID Type"; + } + leaf as { + when "../type = 'two-byte-as'" { + description + "../Type = TwoByteAS"; + } + type Vpls-id-as-range; + description + "Two byte AS number"; + } + leaf as-index { + when "../type = 'two-byte-as'" { + description + "../Type = TwoByteAS"; + } + type Vpls-id-as-index; + description + "AS index"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf address-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type Vpls-id-addr-index; + description + "Address index"; + } + } + container flow-label-load-balance { + description + "Enable Flow Label based load balancing"; + leaf flow-label { + type Flow-label-load-balance; + description + "Flow Label load balance type"; + } + leaf static { + type empty; + description + "Static Flow Label"; + } + } + leaf enable { + type empty; + description + "Enable LDP as Signaling Protocol + .Deletion of this object also causes + deletion of all objects under + LDPSignalingProtocol."; + } + } + container bgp-route-policy { + description + "Route policy"; + leaf export { + type string; + description + "Export route policy"; + } + } + container route-distinguisher { + description + "Route Distinguisher"; + leaf type { + type Bgp-route-distinguisher; + description + "Router Distinguisher Type"; + } + leaf as { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = + FourByteAS"; + } + type Rdas-range; + description + "Two byte or 4 byte AS number"; + } + leaf as-index { + when "../type = 'two-byte-as' or ../type = 'four-byte-as'" { + description + "../Type = TwoByteAS or ../Type = + FourByteAS"; + } + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + } + leaf address { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf addr-index { + when "../type = 'ipv4-address'" { + description + "../Type = IPV4Address"; + } + type Rd-addr-index; + description + "Addr index"; + } + } + container bgp-signaling-protocol { + description + "Enable Signaling Protocol BGP in this + VFI"; + container flow-label-load-balance { + description + "Enable Flow Label based load balancing"; + leaf flow-label { + type Flow-label-load-balance; + description + "Flow Label load balance type"; + } + leaf static { + type empty; + description + "Static Flow Label"; + } + } + leaf ve-range { + type Vedge-range; + description + "Local Virtual Edge Block Configurable + Range"; + } + leaf veid { + type Veid-range; + description + "Local Virtual Edge Identifier"; + } + leaf enable { + type empty; + description + "Enable BGP as Signaling Protocol"; + } + } + container route-targets { + description + "Route Target"; + list route-target { + must "two-byte-as-or-four-byte-as or ipv4-address" { + description + "TwoByteAS-or-FourbyteAS or IPV4Address + must be present."; + } + key "role format"; + description + "Name of the Route Target"; + leaf role { + type Bgp-route-target-role; + description + "Role of the router target type"; + } + leaf format { + type Bgp-route-target-format; + description + "Format of the route target"; + } + list two-byte-as-or-four-byte-as { + when "../format = 'two-byte-as' or ../format = 'four-byte-as'" { + description + "../Format = TwoByteAS or ../Format = + FourbyteAS"; + } + key "as as-index"; + description + "two byte as or four byte as"; + leaf as { + type Rdas-range; + description + "Two byte or 4 byte AS number"; + } + leaf as-index { + type Rdas-index; + description + "AS:nn (hex or decimal format)"; + } + } + list ipv4-address { + when "../format = 'ipv4-address'" { + description + "../Format = IPV4Address"; + } + key "address addr-index"; + description + "ipv4 address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IPV4 address"; + } + leaf addr-index { + type Rd-addr-index; + description + "Addr index"; + } + } + } + } + leaf table-policy { + type string; + description + "Table Policy for installation of + forwarding data to L2FIB"; + } + leaf ad-control-word { + type empty; + description + "Enable control-word for this VFI"; + } + leaf enable { + type empty; + description + "Enable Autodiscovery BGP"; + } + } + leaf vfi-shutdown { + type empty; + description + "Enabling Shutdown"; + } + leaf vpnid { + type Vpnid-range; + description + "VPN Identifier"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Virtual Forwarding Interface"; + } + } + } + container bd-attachment-circuits { + description + "Attachment Circuit table"; + list bd-attachment-circuit { + key "name"; + description + "Name of the Attachment Circuit"; + container interface-ip-source-guard { + description + "IP Source Guard"; + leaf logging { + type L2vpn-logging; + description + "Logging Type"; + } + leaf disable { + type empty; + description + "Disable L2 Interface Dynamic IP source + guard"; + } + leaf enable { + type empty; + description + "Enable IP Source Guard"; + } + } + container interface-dai { + description + "L2 Interface Dynamic ARP Inspection"; + container interface-dai-address-validation { + description + "Address Validation"; + leaf ipv4-verification { + type L2vpn-verification; + description + "IPv4 Verification"; + } + leaf destination-mac-verification { + type L2vpn-verification; + description + "Destination MAC Verification"; + } + leaf source-mac-verification { + type L2vpn-verification; + description + "Source MAC Verification"; + } + leaf enable { + type empty; + description + "Enable Address Validation"; + } + } + leaf logging { + type L2vpn-logging; + description + "Logging Type"; + } + leaf disable { + type empty; + description + "Disable L2 Interface Dynamic ARP + Inspection"; + } + leaf enable { + type empty; + description + "Enable L2 Interface Dynamic ARP + Inspection"; + } + } + container interface-profile { + description + "Attach a DHCP profile"; + leaf profile-id { + type Interface-profile; + description + "Set the snooping profile"; + } + leaf dhcp-snooping-id { + type string; + description + "Disable DHCP snooping"; + } + } + container bdac-storm-control-types { + description + "Storm Control"; + list bdac-storm-control-type { + must "storm-control-unit"; + key "sctype"; + description + "Storm Control Type"; + leaf sctype { + type Storm-control; + description + "Storm Control Type"; + } + uses STORM-CONTROL-UNIT; + } + } + container split-horizon { + description + "Split Horizon"; + container split-horizon-group-id { + description + "Split Horizon Group ID"; + leaf enable { + type empty; + description + "Enable split horizon group"; + } + } + } + container static-mac-addresses { + description + "Static Mac Address Table"; + list static-mac-address { + key "address"; + description + "Static Mac Address Configuration"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + } + } + container interface-mac { + description + "MAC configuration commands"; + container interface-mac-aging { + description + "MAC-Aging configuration commands"; + leaf interface-mac-aging-time { + type Mac-aging-range; + description + "Mac Aging Time"; + } + leaf interface-mac-aging-type { + type Mac-aging; + description + "MAC address aging type"; + } + } + container interface-mac-secure { + description + "MAC Secure"; + leaf logging { + type L2vpn-logging; + description + "MAC Secure Logging"; + } + leaf disable { + type empty; + description + "Disable L2 Interface MAC Secure"; + } + leaf action { + type Mac-secure-action; + description + "MAC secure enforcement action"; + } + leaf enable { + type empty; + description + "Enable MAC Secure"; + } + } + container interface-mac-limit { + description + "MAC-Limit configuration commands"; + leaf interface-mac-limit-max { + type Mac-limit-range; + description + "Number of MAC addresses on an Interface + after which MAC limit action is taken"; + } + leaf interface-mac-limit-notif { + type Mac-notification; + description + "MAC address limit notification action + in a Interface"; + } + leaf interface-mac-limit-action { + type Mac-limit-action; + description + "Interface MAC address limit enforcement + action"; + } + } + leaf interface-mac-port-down-flush { + type Port-down-flush; + description + "Enable/Disable MAC Flush When Port goes + down"; + } + leaf interface-mac-learning { + type Mac-learn; + description + "Enable Mac Learning"; + } + } + leaf interface-flooding { + type Interface-traffic-flood; + description + "Enable or Disable Flooding"; + } + leaf interface-igmp-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a IGMP Snooping profile"; + } + leaf interface-flooding-unknown-unicast { + type Interface-traffic-flood; + description + "Enable or Disable Unknown Unicast + Flooding"; + } + leaf interface-mld-snoop { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach a MLD Snooping profile"; + } + leaf name { + type xr:Interface-name; + description + "The name of the Attachment Circuit"; + } + } + } + container bd-pseudowire-evpns { + description + "List of EVPN pseudowires"; + list bd-pseudowire-evpn { + key "eviid acid"; + description + "EVPN Pseudowire configuration"; + leaf eviid { + type Evpnvpnid-range; + description + "Ethernet VPN ID"; + } + leaf acid { + type Pseudowire-acid-range; + description + "AC ID"; + } + } + } + container ip-source-guard { + description + "IP Source Guard"; + leaf logging { + type empty; + description + "Enable Logging"; + } + leaf enable { + type empty; + description + "Enable IP Source Guard"; + } + } + container dai { + description + "Dynamic ARP Inspection"; + container dai-address-validation { + description + "Address Validation"; + leaf ipv4-verification { + type empty; + description + "Enable IPv4 Verification"; + } + leaf destination-mac-verification { + type empty; + description + "Enable Destination MAC Verification"; + } + leaf source-mac-verification { + type empty; + description + "Enable Source MAC Verification"; + } + leaf enable { + type empty; + description + "Enable Address Validation"; + } + } + leaf logging { + type empty; + description + "Enable Logging"; + } + leaf enable { + type empty; + description + "Enable Dynamic ARP Inspection"; + } + } + container routed-interfaces { + description + "Bridge Domain Routed Interface Table"; + list routed-interface { + key "interface-name"; + description + "Bridge Domain Routed Interface"; + container routed-interface-split-horizon-group { + description + "Routed interface split horizon group"; + leaf routed-interface-split-horizon-group-core { + type empty; + description + "Configure BVI under SHG 1"; + } + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the Routed Interface"; + } + } + } + leaf coupled-mode { + type empty; + description + "Coupled-mode configuration"; + } + leaf shutdown { + type empty; + description + "shutdown the Bridge Domain"; + } + leaf flooding-unknown-unicast { + type empty; + description + "Disable Unknown Unicast flooding"; + } + leaf igmp-snooping-disable { + type empty; + description + "Disable IGMP Snooping"; + } + leaf transport-mode { + type Bridge-domain-transport-mode; + description + "Bridge Domain Transport mode"; + } + leaf mld-snooping { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach MLD Snooping Profile Name"; + } + leaf bridge-domain-mtu { + type Bridge-bd-mtu-range; + units "byte"; + description + "Maximum transmission unit for this Bridge + Domain"; + } + leaf dhcp { + type string { + length "1..32"; + } + description + "DHCPv4 Snooping profile name"; + } + leaf bridge-description { + type string { + length "1..64"; + } + description + "Bridge-domain description Name"; + } + leaf igmp-snooping { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Attach IGMP Snooping Profile Name"; + } + leaf flooding { + type empty; + description + "Disable flooding"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "Name of the bridge domain"; + } + } + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Bridge group"; + } + } + } + container pseudowire-classes { + description + "List of pseudowire classes"; + list pseudowire-class { + key "name"; + description + "Pseudowire class"; + container l2tpv3-encapsulation { + description + "L2TPv3 encapsulation"; + container sequencing { + description + "Sequencing"; + leaf sequencing { + type L2tpv3-sequencing; + default "off"; + description + "Sequencing"; + } + leaf resync-threshold { + type Resync-threshold-range; + default "5"; + description + "Out of sequence threshold"; + } + } + container type-of-service { + description + "Type of service"; + leaf type-of-service-value { + type Type-of-service-range; + description + "Type of service value"; + } + leaf type-of-service-mode { + type Type-of-service-mode; + description + "Type of service mode"; + } + } + container signaling-protocol { + description + "L2TPv3 signaling protocol"; + leaf protocol { + type L2tp-signaling-protocol; + default "l2tpv3"; + description + "L2TPv3 signaling protocol"; + } + leaf l2tpv3-class-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the L2TPv3 class name"; + } + } + container path-mtu { + description + "Path maximum transmission unit"; + leaf enable { + type empty; + description + "Enable path MTU"; + } + leaf max-path-mtu { + type Max-path-mtu-range; + description + "Maximum path maximum transmission unit"; + } + } + leaf df-bit-set { + type empty; + description + "Set the do not fragment bit to 1"; + } + leaf cookie-size { + type L2tp-cookie-size; + default "zero"; + description + "Cookie size"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source IP address"; + } + leaf transport-mode { + type Transport-mode; + description + "Transport mode"; + } + leaf enable { + type empty; + description + "Enable L2TPv3 encapsulation"; + } + leaf time-to-live { + type Time-to-live-range; + description + "Time to live"; + } + } + container backup-disable-delay { + description + "Back Up Pseudowire class"; + leaf type { + type Backup-disable; + description + "Delay or Never"; + } + leaf disable-backup { + when "../type = 'delay'" { + description + "../Type = Delay"; + } + type Backup-disable-delay-range; + description + "Disable backup delay"; + } + } + container mpls-encapsulation { + description + "MPLS encapsulation"; + container sequencing { + description + "Sequencing"; + leaf sequencing { + type Mpls-sequencing; + default "off"; + description + "Sequencing"; + } + leaf resync-threshold { + type Resync-threshold-range; + default "5"; + description + "Out of sequence threshold"; + } + } + container mpls-redundancy { + description + "Redundancy options for MPLS encapsulation"; + leaf redundancy-one-way { + type empty; + description + "Force one-way PW redundancy behavior in + Redundancy Group"; + } + leaf redundancy-initial-delay { + type Pw-redundancy-initial-delay-range; + units "second"; + description + "Initial delay before activating the + redundant PW, in seconds"; + } + } + container preferred-path { + description + "Preferred path"; + leaf type { + type Preferred-path; + description + "Preferred Path Type"; + } + leaf interface-tunnel-number { + when "../type = 'te-tunnel' or ../type = 'ip-tunnel' or ../type = 'tp-tunnel'" { + description + "../Type = TE-Tunnel or ../Type = + IP-Tunnel or ../Type = TP-Tunnel"; + } + type uint32 { + range "0..65535"; + } + description + "Interface Tunnel number for preferred path"; + } + leaf fallback-disable { + when "../type = 'te-tunnel' or ../type = 'ip-tunnel' or ../type = 'tp-tunnel' or ../type = 'sr-te-policy'" { + description + "../Type = TE-Tunnel or ../Type = + IP-Tunnel or ../Type = TP-Tunnel or . + ./Type = SR-TE-Policy"; + } + type empty; + description + "Fallback disable"; + } + leaf srte-policy { + when "../type = 'sr-te-policy'" { + description + "../Type = SR-TE-Policy"; + } + type string { + length "1..60"; + } + description + "Name of the SR TE Policy"; + } + } + container load-balance-group { + description + "Load Balancing"; + container flow-label-load-balance { + description + "Enable Flow Label based load balancing"; + leaf flow-label { + type Flow-label-load-balance; + description + "Flow Label load balance type"; + } + leaf static { + type empty; + description + "Static Flow Label"; + } + } + leaf flow-label-load-balance-code { + type Flow-label-tlv-code; + description + "Enable Legacy Flow Label TLV code"; + } + leaf pw-label-load-balance { + type Load-balance; + description + "Enable PW Label based Load Balancing"; + } + } + leaf pw-switching-tlv { + type Pw-switching-point-tlv; + description + "Pseudowire Switching Point Tlv"; + } + leaf static-tag-rewrite { + type Tag-rewrite-range; + description + "Static Tag rewrite"; + } + leaf signaling-protocol { + type Mpls-signaling-protocol; + default "ldp"; + description + "MPLS signaling protocol"; + } + leaf vccv-type { + type Vccv-verification; + default "lsp-ping"; + description + "VCCV verification type"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source IP address"; + } + leaf transport-mode { + type Transport-mode; + description + "Transport mode"; + } + leaf enable { + type empty; + description + "Enable MPLS encapsulation"; + } + leaf control-word { + type Control-word; + description + "Enable control word"; + } + } + leaf mac-withdraw { + type empty; + description + "Enable backup MAC withdraw"; + } + leaf enable { + type empty; + description + "Enable pseudowire class"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the pseudowire class"; + } + } + } + container flexible-xconnect-service-table { + description + "List of Flexible XConnect Services"; + container vlan-unaware-flexible-xconnect-services { + description + "List of Vlan-Unaware Flexible XConnect + Services"; + list vlan-unaware-flexible-xconnect-service { + key "name"; + description + "Flexible XConnect Service"; + container vlan-unaware-fxc-attachment-circuits { + description + "List of attachment circuits"; + list vlan-unaware-fxc-attachment-circuit { + key "name"; + description + "Attachment circuit interface"; + leaf name { + type xr:Interface-name; + description + "Name of the attachment circuit interface"; + } + } + } + container vlan-unaware-fxc-pseudowire-evpns { + description + "List of EVPN Services"; + list vlan-unaware-fxc-pseudowire-evpn { + key "eviid acid"; + description + "EVPN FXC Service Configuration"; + leaf eviid { + type Evpnvpnid-range; + description + "Ethernet VPN ID"; + } + leaf acid { + type Pseudowire-acid-range; + description + "AC ID"; + } + } + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..23"; + } + description + "Name of the Flexible XConnect Service"; + } + } + } + container vlan-aware-flexible-xconnect-services { + description + "List of Vlan-Aware Flexible XConnect Services"; + list vlan-aware-flexible-xconnect-service { + key "eviid"; + description + "Flexible XConnect Service"; + container vlan-aware-fxc-attachment-circuits { + description + "List of attachment circuits"; + list vlan-aware-fxc-attachment-circuit { + key "name"; + description + "Attachment circuit interface"; + leaf name { + type xr:Interface-name; + description + "Name of the attachment circuit interface"; + } + } + } + leaf eviid { + type Evpnvpnid-range; + description + "Ethernet VPN ID"; + } + } + } + } + container redundancy { + description + "Redundancy groups"; + container iccp-redundancy-groups { + description + "List of Inter-Chassis Communication Protocol + redundancy groups"; + list iccp-redundancy-group { + key "group-id"; + description + "ICCP Redundancy group"; + container iccp-interfaces { + description + "List of interfaces"; + list iccp-interface { + key "interface-name"; + description + "Interface name"; + leaf secondary-vlan-range { + type string; + description + "Secondary VLAN range, in the form of 1-3,5 + ,8-11"; + } + leaf recovery-delay { + type uint32 { + range "30..3600"; + } + default "180"; + description + "Failure clear recovery delay"; + } + leaf primary-vlan-range { + type string; + description + "Primary VLAN range, in the form of 1-3,5 + ,8-11"; + } + leaf mac-flush-tcn { + type empty; + description + "Enable STP-TCN MAC flushing"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + leaf multi-homing-node-id { + type uint32 { + range "0..254"; + } + description + "ICCP-based service multi-homing node ID"; + } + leaf group-id { + type uint32 { + range "1..4294967295"; + } + description + "Group ID"; + } + } + } + leaf enable { + type empty; + description + "Enable redundancy groups"; + } + } + } + container pbb { + description + "L2VPN PBB Global"; + leaf backbone-source-mac { + type yang:mac-address; + description + "Backbone Source MAC"; + } + } + container auto-discovery { + description + "Global auto-discovery attributes"; + container bgp-signaling { + description + "Global bgp signaling attributes"; + leaf mtu-mismatch-ignore { + type empty; + description + "Ignore MTU mismatch for auto-discovered + pseudowires"; + } + } + } + container utility { + description + "L2VPN utilities"; + container logging { + description + "L2VPN logging utility"; + leaf bridge-domain-state-change { + type empty; + description + "Enable Bridge Domain state change logging"; + } + leaf pseudowire-state-change { + type empty; + description + "Enable pseudowire state change logging"; + } + leaf vfi { + type empty; + description + "Enable VFI state change logging"; + } + leaf nsr-state-change { + type empty; + description + "Enable Non Stop Routing state change logging"; + } + leaf pwhe-replication-state-change { + type empty; + description + "Enable PW-HE Replication state change logging"; + } + } + } + container snmp { + description + "SNMP related configuration"; + container mib { + description + "MIB related configuration"; + container mib-interface { + description + "Interface related configuration for MIB"; + container format { + description + "MIB interface name output format"; + leaf external-interface-format { + type empty; + description + "Set MIB interface name output in slash + format (/)"; + } + } + } + container mib-pseudowire { + description + "Pseudowire related configuration for MIB"; + leaf statistics { + type empty; + description + "Enable pseudowire statistics in MIB output"; + } + } + } + } + leaf nsr { + type empty; + description + "Enable Non-Stop Routing"; + } + leaf mtu-mismatch-ignore { + type empty; + description + "Ignore MTU Mismatch for XCs"; + } + leaf tcn-propagation { + type empty; + description + "Topology change notification propagation"; + } + leaf pwoam-refresh { + type uint32 { + range "1..4095"; + } + units "second"; + description + "Configure PW OAM refresh interval"; + } + leaf load-balance { + type Load-balance; + description + "Enable flow load balancing on l2vpn bridges"; + } + leaf mspw-description { + type string { + length "1..64"; + } + description + "MS-PW global description"; + } + leaf mac-limit-threshold { + type Mac-limit-threshold-range; + units "percentage"; + description + "Configure MAC limit threshold percent"; + } + leaf pw-status-disable { + type empty; + description + "Disable PW status"; + } + leaf enable { + type empty; + description + "Enable L2VPN feature"; + } + leaf pw-grouping { + type empty; + description + "Enable PW grouping"; + } + leaf capability { + type L2vpn-capability-mode; + description + "L2VPN Capability Mode"; + } + leaf l2vpn-router-id { + type inet:ipv4-address-no-zone; + description + "Global L2VPN Router ID"; + } + } + container generic-interface-lists { + description + "generic interface lists"; + list generic-interface-list { + key "generic-interface-list-name"; + description + "Generic interface list"; + container interfaces { + description + "Interface table"; + list interface { + key "interface-name"; + description + "Interface"; + leaf enable { + type empty; + description + "Enable interface"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + } + } + leaf enable { + type empty; + description + "Enable interface list"; + } + leaf generic-interface-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the interface list"; + } + } + } + container evpn { + description + "evpn"; + container evpn-tables { + description + "EVPN submodes"; + container evpn-timers { + description + "Enter EVPN timers configuration submode"; + leaf evpn-carving { + type uint32 { + range "0..10"; + } + default "0"; + description + "Global Carving timer"; + } + leaf evpn-recovery { + type uint32 { + range "20..3600"; + } + default "30"; + description + "Global Recovery timer"; + } + leaf enable { + type empty; + description + "Enable EVPN timers"; + } + leaf evpn-peering { + type uint32 { + range "0..300"; + } + default "3"; + description + "Global Peering timer"; + } + } + container evpnmac { + description + "EVPN MAC Configuration"; + container evpnmac-secure { + description + "EVPN MAC Secure Configuration"; + leaf evpnmac-secure-freeze-time { + type Freeze-time-range; + description + "Length of time to lock the MAC after a MAC + security violation"; + } + leaf enable { + type empty; + description + "Enable EVPN MAC Secure Configuration"; + } + leaf evpnmac-secure-retry-count { + type Retry-count-range; + description + "Number of times to unfreeze a MAC before + permanently freezing it"; + } + leaf evpnmac-secure-move-count { + type Move-count-range; + description + "Number of moves to occur within the move + interval before locking the MAC"; + } + leaf evpnmac-secure-move-interval { + type Move-interval-range; + description + "Interval to watch for subsequent MAC moves + before locking the MAC"; + } + } + leaf enable { + type empty; + description + "Enable EVPN MAC Configuration"; + } + } + container evpnevis { + description + "Enter EVPN Instance configuration submode"; + list evpnevi { + key "eviid"; + description + "Enter EVPN Instance configuration submode"; + container evi-load-balancing { + description + "Enter Loadbalancing configuration submode"; + leaf enable { + type empty; + description + "Enable Loadbalancing"; + } + uses EVI-STATIC-FLOW-LABEL; + } + container evpnev-ibgp-auto-discovery { + description + "Enable Autodiscovery BGP in EVPN Instance"; + leaf enable { + type empty; + description + "Enable Autodiscovery BGP"; + } + uses TABLE-POLICY; + uses EVPN-ROUTE-DISTINGUISHER; + uses EVPN-ROUTE-TARGET-TABLE; + } + container evi-advertise-mac { + description + "Enter Advertise local MAC-only routes + configuration submode"; + leaf enable { + type empty; + description + "Enable Advertise local MAC-only routes"; + } + uses EVI-ADVERTISE-MAC-BVI; + } + leaf eviid { + type Evpnvpnid-range; + description + "EVI ID"; + } + uses EVI-REORIG-DISABLE; + uses EVI-ADVERTISE-MAC-DEPRECATED; + uses EVPNEVI-DESCRIPTION; + uses EVI-ECMP-DISABLE; + uses EVI-UNKNOWN-UNICAST-FLOODING-DISABLE; + uses EVPN-EVI-CW-DISABLE; + } + } + container evpn-virtual-access-vfis { + description + "Virtual Access VFI interfaces"; + list evpn-virtual-access-vfi { + key "name"; + description + "Virtual Access VFI"; + container evpn-virtual-access-vfi-timers { + description + "Enter Virtual Forwarding Interface timers + configuration submode"; + leaf evpn-virtual-access-vfi-recovery { + type uint32 { + range "20..3600"; + } + default "30"; + description + "Virtual Forwarding Interface-specific + Recovery timer"; + } + leaf evpn-virtual-access-vfi-peering { + type uint32 { + range "0..300"; + } + default "3"; + description + "Virtual Forwarding Interface-specific + Peering timer"; + } + leaf evpn-virtual-access-vfi-carving { + type uint32 { + range "0..10"; + } + default "0"; + description + "Virtual Forwarding Interface-specific + Carving timer"; + } + leaf enable { + type empty; + description + "Enable Virtual Forwarding Interface timers"; + } + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Virtual Access VFI"; + } + uses EVPN-VIRTUAL-ETHERNET-SEGMENT; + } + } + container evpn-load-balancing { + description + "Enter EVPN Loadbalancing configuration submode"; + leaf evpn-static-flow-label { + type empty; + description + "Enable Static Flow Label based load balancing"; + } + leaf enable { + type empty; + description + "Enable EVPN Loadbalancing"; + } + } + container evpn-bgp-auto-discovery { + description + "Enable Autodiscovery BGP in EVPN"; + leaf enable { + type empty; + description + "Enable Autodiscovery BGP"; + } + uses EVPN-ROUTE-DISTINGUISHER; + } + container evpn-instances { + description + "Enter EVPN Instance configuration submode"; + list evpn-instance { + key "eviid encapsulation side"; + description + "Enter EVPN Instance configuration submode"; + container evpn-instance-bgp-auto-discovery { + description + "Enable Autodiscovery BGP in EVPN Instance"; + leaf enable { + type empty; + description + "Enable Autodiscovery BGP"; + } + uses TABLE-POLICY; + uses EVPN-ROUTE-DISTINGUISHER; + uses EVPN-ROUTE-TARGET-TABLE; + } + container evpn-instance-advertise-mac { + description + "Enter Advertise local MAC-only routes + configuration submode"; + leaf enable { + type empty; + description + "Enable Advertise local MAC-only routes"; + } + uses EVI-ADVERTISE-MAC-BVI; + } + container evpn-instance-load-balancing { + description + "Enter Loadbalancing configuration submode"; + leaf enable { + type empty; + description + "Enable Loadbalancing"; + } + uses EVI-STATIC-FLOW-LABEL; + } + leaf eviid { + type Evpnvpnid-range; + description + "EVPN Instance ID"; + } + leaf encapsulation { + type Evpn-encapsulation; + description + "EVPN Instance Encapsulation"; + } + leaf side { + type Evpn-side; + description + "EVPN Instance Side"; + } + uses EVI-REORIG-DISABLE; + uses EVI-ADVERTISE-MAC-DEPRECATED; + uses EVPNEVI-DESCRIPTION; + uses EVI-ECMP-DISABLE; + uses EVI-UNKNOWN-UNICAST-FLOODING-DISABLE; + uses EVPN-EVI-CW-DISABLE; + } + } + container evpn-logging { + description + "Enter EVPN Logging configuration submode"; + leaf evpn-df-election { + type empty; + description + "Enable Designated Forwarder election logging"; + } + leaf enable { + type empty; + description + "Enable EVPN Logging"; + } + } + container evpn-interfaces { + description + "Attachment Circuit interfaces"; + list evpn-interface { + key "interface-name"; + description + "Attachment circuit interface"; + container evpnac-timers { + description + "Enter Interface-specific timers configuration + submode"; + leaf evpnac-peering { + type uint32 { + range "0..300"; + } + default "3"; + description + "Interface-specific Peering timer"; + } + leaf evpnac-carving { + type uint32 { + range "0..10"; + } + default "0"; + description + "Interface-specific Carving timer"; + } + leaf enable { + type empty; + description + "Enable Interface-specific timers"; + } + leaf evpnac-recovery { + type uint32 { + range "20..3600"; + } + default "30"; + description + "Interface-specific Recovery timer"; + } + } + container ethernet-segment { + description + "Enter Ethernet Segment configuration submode"; + leaf force-single-homed { + type empty; + description + "Force ethernet segment to remain + single-homed"; + } + leaf load-balancing-single-active { + type empty; + description + "Enable single-active load balancing mode"; + } + leaf enable { + type empty; + description + "Enable Ethernet Segment"; + } + leaf backbone-source-mac { + type yang:mac-address; + description + "Backbone Source MAC"; + } + uses ES-IMPORT-ROUTE-TARGET; + uses IDENTIFIER; + uses MANUAL-SERVICE-CARVING; + } + leaf mac-flush { + type Mac-flush-mode; + description + "Enable MAC Flushing"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the attachment circuit interface"; + } + } + } + container evpn-virtual-access-pws { + description + "Virtual Access Pseudowire interfaces"; + list evpn-virtual-access-pw { + key "neighbor pseudowire-id"; + description + "Virtual Access Pseudowire"; + container evpn-virtual-access-pw-timers { + description + "Enter Virtual Access Pseudowire-specific + timers configuration submode"; + leaf evpn-virtual-access-pw-recovery { + type uint32 { + range "20..3600"; + } + default "30"; + description + "Virtual Access Pseudowire-specific Recovery + timer"; + } + leaf evpn-virtual-access-pw-peering { + type uint32 { + range "0..300"; + } + default "3"; + description + "Virtual Access Pseudowire-specific Peering + timer"; + } + leaf enable { + type empty; + description + "Enable Virtual Access Pseudowire-specific + timers"; + } + leaf evpn-virtual-access-pw-carving { + type uint32 { + range "0..10"; + } + default "0"; + description + "Virtual Access Pseudowire-specific Carving + timer"; + } + } + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + leaf pseudowire-id { + type Pseudowire-id-range; + description + "Pseudowire ID"; + } + uses EVPN-VIRTUAL-ETHERNET-SEGMENT; + } + } + container evpn-ethernet-segment { + description + "EVPN Global Ethernet Segment submode"; + container evpn-esi-types { + description + "EVPN ESI type table"; + list evpn-esi-type { + key "esi-type"; + description + "ESI type"; + leaf disable-auto-generation { + type empty; + description + "Disable ESI Autogeneration"; + } + leaf esi-type { + type Evpn-esi-type-range; + description + "ESI type"; + } + } + } + leaf enable { + type empty; + description + "Enable EVPN Global Ethernet Segment submode"; + } + } + leaf evi-cost-out { + type empty; + description + "Configure node to cost-out"; + } + leaf evpn-source-interface { + type xr:Interface-name; + description + "Configure EVPN router-id implicitly through + Loopback Interface"; + } + leaf evpn-cost-in-startup { + type uint32 { + range "30..86400"; + } + units "second"; + description + "Cost-in node after given time (seconds) on + startup timer"; + } + } + leaf enable { + type empty; + description + "Enable EVPN feature"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub1.yang new file mode 100644 index 0000000..85320cd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub1.yang @@ -0,0 +1,171 @@ +submodule Cisco-IOS-XR-l2vpn-oper-sub1 { + belongs-to Cisco-IOS-XR-l2vpn-oper { + prefix Cisco-IOS-XR-l2vpn-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2vpn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Iflist-rep-status { + type enumeration { + enum "invalid" { + value 0; + description + "Invalid"; + } + enum "pending" { + value 1; + description + "Pending"; + } + enum "done" { + value 2; + description + "Done"; + } + enum "not-supported" { + value 3; + description + "Not supported"; + } + enum "failed" { + value 4; + description + "Failed"; + } + } + description + "Interface list replication status"; + } + + grouping IFLIST-IFL { + description + "Generic interface list info"; + leaf interface-list-name { + type string { + length "0..33"; + } + description + "Interface-list name"; + } + leaf interface-list-id { + type uint32; + description + "Interface internal ID"; + } + leaf items { + type uint32; + description + "Number of items on which interface list is + replicated"; + } + leaf is-provisioned { + type boolean; + description + "Is Provisioned"; + } + leaf is-fib-downloaded { + type boolean; + description + "Is Interface list downloaded to FIB"; + } + list interface { + description + "Interfaces"; + uses IFLIST-IF; + } + } + + grouping IFLIST-IF { + description + "Interface info for Generic interface list"; + leaf interface-name { + type string; + description + "Interface name"; + } + leaf pending-replications { + type uint32; + description + "Number of pending replications"; + } + leaf not-supported-replications { + type uint32; + description + "Number of replications failed because + unsupported"; + } + leaf is-fib-downloaded { + type boolean; + description + "Is interface downloaded to FIB"; + } + } + + grouping ITEM-IFLIST-IF { + description + "Interface info for Generic interface list"; + leaf interface-name { + type string; + description + "Interface name"; + } + leaf replicate-status { + type Iflist-rep-status; + description + "Replicate status"; + } + } + + grouping ITEM-IFLIST-IFL { + description + "Generic interface list info"; + leaf interface-list-name { + type string { + length "0..33"; + } + description + "Interface-list name"; + } + leaf interface-list-id { + type uint32; + description + "Interface internal ID"; + } + list interface { + max-elements "8"; + description + "Interfaces"; + uses ITEM-IFLIST-IF; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub2.yang new file mode 100644 index 0000000..b969ead --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub2.yang @@ -0,0 +1,7861 @@ +submodule Cisco-IOS-XR-l2vpn-oper-sub2 { + belongs-to Cisco-IOS-XR-l2vpn-oper { + prefix Cisco-IOS-XR-l2vpn-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-l2vpn-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2vpn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2vpn-memory-state { + type enumeration { + enum "memory-state-unknown" { + value 0; + description + "Memory state Unknown"; + } + enum "memory-state-normal" { + value 1; + description + "Memory state Normal"; + } + enum "memory-state-minor" { + value 2; + description + "Memory state Minor"; + } + enum "memory-state-severe" { + value 3; + description + "Memory state Severe"; + } + enum "memory-state-critical" { + value 4; + description + "Memory state Critical"; + } + enum "memory-state-invalid" { + value 5; + description + "Memory state Invalid"; + } + } + description + "L2vpn memory state"; + } + + typedef L2vpn-ac-encap { + type enumeration { + enum "unknown-encap" { + value 0; + description + "unknown encap"; + } + enum "vlan" { + value 1; + description + "vlan"; + } + enum "qinq" { + value 2; + description + "qinq"; + } + enum "qin-any" { + value 3; + description + "qin any"; + } + enum "ethernet" { + value 4; + description + "ethernet"; + } + enum "atm-aal0" { + value 5; + description + "atm aal0"; + } + enum "atm-aal5" { + value 6; + description + "atm aal5"; + } + enum "atm-vp" { + value 7; + description + "atm vp"; + } + enum "atm-port" { + value 8; + description + "atm port"; + } + enum "hdlc" { + value 9; + description + "hdlc"; + } + enum "fr-dlci" { + value 10; + description + "fr dlci"; + } + enum "fr-dlci-local" { + value 11; + description + "fr dlci local"; + } + enum "ppp" { + value 12; + description + "ppp"; + } + enum "tdm-sa-to-p-e1" { + value 13; + description + "tdm sa to p e1"; + } + enum "tdm-sa-to-p-t1" { + value 14; + description + "tdm sa to p t1"; + } + enum "tdm-sa-to-p-e3" { + value 15; + description + "tdm sa to p e3"; + } + enum "tdm-sa-to-p-t3" { + value 16; + description + "tdm sa to p t3"; + } + enum "tdm-ce-so-psn" { + value 17; + description + "tdm ce so psn"; + } + enum "ip" { + value 18; + description + "ip"; + } + enum "vlan-encap" { + value 19; + description + "vlan encap"; + } + enum "dot1ad" { + value 20; + description + "dot1ad"; + } + enum "efp" { + value 21; + description + "efp"; + } + enum "bvi" { + value 22; + description + "bvi"; + } + enum "monitor-session" { + value 23; + description + "monitor session"; + } + enum "pseudowire-ether" { + value 24; + description + "pseudowire ether"; + } + enum "pseudowire-iw" { + value 25; + description + "pseudowire iw"; + } + enum "multi-segment-pseudowire" { + value 26; + description + "multi segment pseudowire"; + } + enum "pseudowire-l2-subinterface" { + value 27; + description + "pseudowire l2 subinterface"; + } + enum "virtual-network-interface" { + value 28; + description + "virtual network interface"; + } + enum "encap-types-max" { + value 29; + description + "encap types max"; + } + } + description + "L2vpn ac encap"; + } + + typedef L2vpn-brief-psn { + type enumeration { + enum "ls" { + value 0; + description + "ls"; + } + enum "atom" { + value 1; + description + "atom"; + } + enum "l2tpv3" { + value 2; + description + "l2tpv3"; + } + enum "unknown-psn" { + value 3; + description + "unknown psn"; + } + } + description + "L2vpn brief psn"; + } + + typedef L2vpn-src-address-set { + type enumeration { + enum "unset" { + description + "Unset"; + } + enum "set" { + description + "Set"; + } + } + description + "L2vpn src address set"; + } + + typedef L2vpn-transport-mode { + type enumeration { + enum "l2vpn-transport-mode-not-specified" { + description + "Not specified"; + } + enum "l2vpn-transport-mode-ethernet" { + description + "Ethernet"; + } + enum "l2vpn-transport-mode-vlan" { + description + "VLAN"; + } + enum "l2vpn-transport-mode-vlan-passthrough" { + description + "VLAN Passthrough"; + } + } + description + "L2vpn transport mode"; + } + + typedef L2vpn-pw-class-control-word { + type enumeration { + enum "unset" { + value 0; + description + "Unset"; + } + enum "enable" { + value 1; + description + "Enable"; + } + enum "disable" { + value 2; + description + "Disable"; + } + } + description + "L2vpn pw class control word"; + } + + typedef L2vpn-g8032-uncfg-reason { + type enumeration { + enum "reason-none" { + description + "No reason"; + } + enum "ring-mp0-missing" { + description + "Main port0 missing"; + } + enum "ring-mp1-missing" { + description + "Main port1 missing"; + } + enum "inclusion-list-empty" { + description + "Inclusion list empty"; + } + enum "aps0-missing" { + description + "APS port0 missing"; + } + enum "aps0bp-notfound" { + description + "APS port0 not found as valid BP"; + } + enum "aps0-no-ac-ctx" { + description + "APS port0 has no valid AC context"; + } + enum "aps0-not-in-inclusion-list" { + description + "APS port0 not in inclusion list"; + } + enum "aps0-mismatched" { + description + "APS port0 mismatched with main port"; + } + enum "aps1-missing" { + description + "APS port1 missing"; + } + enum "aps1bp-notfound" { + description + "APS port1 not found as valid BP"; + } + enum "aps1-no-ac-ctx" { + description + "APS port1 has no valid AC context"; + } + enum "aps1-not-in-inclusion-list" { + description + "APS port1 not in inclusion list"; + } + enum "aps1-mismatched" { + description + "APS port1 mismatched with main port"; + } + enum "aps-unprovisioned" { + description + "APS AC unrpvosioned"; + } + } + description + "Unresolved reason for G8032 ring instance"; + } + + typedef L2vpn-g8032-rpl { + type enumeration { + enum "rpl-unknown" { + description + "No RPL info"; + } + enum "port0-owner" { + description + "Port 0 owner"; + } + enum "port0-neighbor" { + description + "Port 0 neighbor"; + } + enum "port0-next-neighbor" { + description + "Port 0 next neighbor"; + } + enum "port1-owner" { + description + "Port 1 owner"; + } + enum "port1-neighbor" { + description + "Port 1 neighbor"; + } + enum "port1-next-neighbor" { + description + "Port 1 next neighbor"; + } + } + description + "RPL types in g8032 ring"; + } + + typedef L2vpn-ipc-transport-mode { + type enumeration { + enum "unicast" { + value 0; + description + "L2VPN Unicast IPC transport mode"; + } + enum "broadcast" { + value 1; + description + "L2VPN Broadcast IPC transport mode"; + } + enum "unknown" { + value 2; + description + "L2VPN Unknown IPC transport mode"; + } + } + description + "L2vpn ipc transport mode"; + } + + typedef L2vpn-vni-mode { + type enumeration { + enum "l2vpn-vni-mode-l2-dp" { + description + "Data Plane L2 Service"; + } + enum "l2vpn-vni-mode-l3-dp" { + description + "Data Plane L3 Service"; + } + enum "l2vpn-vni-mode-l2-cp" { + description + "Control Plane L2 Service"; + } + enum "l2vpn-vni-mode-l3-cp" { + description + "Control Plane L3 Service"; + } + } + description + "L2vpn vni mode"; + } + + typedef L2vpn-vni-encaps { + type enumeration { + enum "l2vpn-vni-encap-vxlan" { + description + "VXLAN"; + } + enum "l2vpn-vni-encap-softgre" { + description + "SOFTGRE"; + } + } + description + "L2vpn vni encaps"; + } + + typedef L2vpn-mirp-lite-protocol-info { + type enumeration { + enum "vlan0" { + description + "MVRP PDU using Vlan0"; + } + enum "none" { + description + "none"; + } + } + description + "L2vpn mirp lite protocol info"; + } + + typedef L2vpn-mirp-lite-status { + type enumeration { + enum "enabled" { + description + "Supported, enabled"; + } + enum "not-supported" { + description + "Not supported"; + } + } + description + "L2vpn mirp lite status"; + } + + typedef L2vpn-virtualport-state { + type enumeration { + enum "l2vpn-vp-state-undefined" { + description + "Undefined"; + } + enum "l2vpn-vp-state-up" { + description + "Up"; + } + enum "l2vpn-vp-state-down" { + description + "Down"; + } + } + description + "L2vpn virtualport state"; + } + + typedef L2vpn-bridge { + type enumeration { + enum "l2vpn-bridge-type-default" { + value 0; + description + "Regular none PBB bridge"; + } + enum "l2vpn-bridge-type-pbb-edge" { + value 1; + description + "PBB edge bridge"; + } + enum "l2vpn-bridge-type-pbb-core" { + value 2; + description + "PBB core bridge"; + } + } + description + "L2vpn bridge"; + } + + typedef P2mp-transport-state { + type enumeration { + enum "none" { + description + "no information about the transport yet"; + } + enum "ok" { + description + "transport up"; + } + enum "error" { + description + "transport error"; + } + enum "tunnel-down" { + description + "tunnel is down"; + } + enum "max-tunnels-reached" { + description + "transport down because the maximum number of + tunnels is reached"; + } + } + description + "P2mp transport state"; + } + + typedef L2vpn-vfi-p2mp-signaling { + type enumeration { + enum "none" { + description + "undefined signaling"; + } + enum "bgp" { + description + "BGP signaling"; + } + } + description + "L2vpn vfi p2mp signaling"; + } + + typedef L2vpn-vfi-p2mp-transport { + type enumeration { + enum "none" { + description + "undefined transport"; + } + enum "rsvp-te" { + description + "RSVP-TE transport"; + } + } + description + "L2vpn vfi p2mp transport"; + } + + typedef L2vpn-vfi-state { + type enumeration { + enum "unknown" { + value 0; + description + "VFI Unknown"; + } + enum "up" { + value 1; + description + "VFI Up"; + } + enum "down" { + value 2; + description + "VFI Down"; + } + enum "admin-down" { + value 3; + description + "VFI Admin Down"; + } + } + description + "L2vpn vfi state"; + } + + typedef L2vpn-bag-mac-withdraw-option { + type enumeration { + enum "mac-withdraw-option-state-up" { + description + "Mac withdraw on state up"; + } + enum "mac-withdraw-option-state-down" { + description + "Mac withdraw on state down"; + } + enum "mac-withdraw-option-optimize" { + description + "Optimized Mac withdraw"; + } + } + description + "L2vpn bag mac withdraw option"; + } + + typedef L2vpn-bridge-coupled-state { + type enumeration { + enum "disabled" { + value 0; + description + "Coupled mode disabled"; + } + enum "down" { + value 2; + description + "Coupled state down"; + } + enum "up" { + value 3; + description + "Coupled state up"; + } + } + description + "L2vpn bridge coupled state"; + } + + typedef L2vpn-bridge-state { + type enumeration { + enum "bridge-init" { + value 0; + description + "Bridge Init State"; + } + enum "bridge-up" { + value 1; + description + "Bridge Up"; + } + enum "bridge-down" { + value 2; + description + "Bridge Down"; + } + enum "bridge-admin-down" { + value 3; + description + "Bridge Admin Down"; + } + } + description + "L2vpn bridge state"; + } + + typedef L2vpn-bag-storm-control-rate-unit { + type enumeration { + enum "pps" { + description + "Packets Per Second"; + } + enum "kb-ps" { + description + "Kilobits Per Second"; + } + } + description + "Storm Control Rate Unit Type"; + } + + typedef L2vpn-bag-mac-secure-action { + type enumeration { + enum "not-set" { + value 0; + description + "MAC Secure Action Not Set"; + } + enum "restrict" { + value 1; + description + "MAC Secure Action Restrict"; + } + enum "none" { + value 2; + description + "MAC Secure Action None"; + } + enum "shutdown" { + value 3; + description + "MAC Secure Action Shutdown"; + } + } + description + "L2vpn bag mac secure action"; + } + + typedef L2vpn-bag-mac-aging-mode { + type enumeration { + enum "aging-none" { + value 0; + description + "MAC Aging None"; + } + enum "aging-absolute" { + value 1; + description + "Mac Aging Absolute"; + } + enum "aging-inactivity" { + value 2; + description + "Mac Aging Inactivity"; + } + } + description + "L2vpn bag mac aging mode"; + } + + typedef L2vpn-bag-mac-limit-notify { + type enumeration { + enum "mac-limit-notify-none" { + value 0; + description + "MAC Limit Notify None"; + } + enum "mac-limit-notify-syslog" { + value 1; + description + "MAC Limit Notify Syslog"; + } + enum "mac-limit-notify-trap" { + value 2; + description + "MAC Limit Notify Trap"; + } + enum "mac-limit-notify-syslog-trap" { + value 3; + description + "MAC Limit Notify Syslog and Trap"; + } + enum "mac-limit-notify-no-config" { + value 4; + description + "MAC Limit Notify No Config"; + } + } + description + "L2vpn bag mac limit notify"; + } + + typedef L2vpn-bag-mac-limit-action { + type enumeration { + enum "limit-none" { + value 0; + description + "MAC Limit Action None"; + } + enum "limit-flood" { + value 1; + description + "MAC Limit Action Flood"; + } + enum "limit-no-flood" { + value 2; + description + "MAC Limit Action No Flood"; + } + enum "limit-shutdown" { + value 3; + description + "MAC Limit Action Shut"; + } + enum "limit-no-config" { + value 4; + description + "Mac Limit Action No Config"; + } + } + description + "L2vpn bag mac limit action"; + } + + typedef L2vpn-msti-state { + type enumeration { + enum "msti-bag-stp-port-state-forwarding" { + description + "msti bag stp port state forwarding"; + } + enum "msti-bag-stp-port-state-blocked" { + description + "msti bag stp port state blocked"; + } + enum "msti-bag-stp-port-state-mac-learning" { + description + "msti bag stp port state mac learning"; + } + enum "msti-bag-stp-port-state-nack" { + description + "msti bag stp port state nack"; + } + enum "msti-bag-stp-port-state-forwarding-not-useful" { + description + "msti bag stp port state forwarding not useful"; + } + enum "msti-bag-stp-port-state-blocked-not-useful" { + description + "msti bag stp port state blocked not useful"; + } + enum "msti-bag-stp-port-state-mac-learning-not-useful" { + description + "msti bag stp port state mac learning not useful"; + } + enum "msti-bag-erp-port-state-blocked-data-only" { + description + "msti bag erp port state blocked data only"; + } + enum "msti-bag-erp-port-state-evpn-mcast-pe2ce-blocked" { + description + "msti bag erp port state evpn mcast pe2ce + blocked"; + } + enum "msti-bag-erp-port-state-evpn-port-state-mcast-blocked" { + description + "msti bag erp port state evpn port state mcast + blocked"; + } + } + description + "L2VPN MSTI state"; + } + + typedef L2vpn-ad-rt { + type enumeration { + enum "l2vpn-ad-rt-none" { + value 0; + description + "Route target not set"; + } + enum "l2vpn-ad-rt-as" { + value 1; + description + "Route Target with 2 Byte AS number"; + } + enum "l2vpn-ad-rt-4byte-as" { + value 2; + description + "Route Target with 4 Byte AS number"; + } + enum "l2vpn-ad-rt-v4-addr" { + value 3; + description + "Route Target with IPv4 Address"; + } + enum "es-import" { + value 1538; + description + "Ethernet Segment Route Target from BGP"; + } + } + description + "L2vpn ad rt"; + } + + typedef L2vpn-bag-ad-encap { + type enumeration { + enum "l2vpn-bag-ad-encap-not-specified" { + description + "Not Specified"; + } + enum "l2vpn-bag-ad-encap-ether-vlan" { + description + "Ether VLAN"; + } + enum "l2vpn-bag-ad-encap-ether" { + description + "Ethernet"; + } + } + description + "L2VPN AD Encapsulation"; + } + + typedef L2vpn-xc-state { + type enumeration { + enum "l2vpn-xc-state-unresolved" { + description + "Unresolved"; + } + enum "l2vpn-xc-state-down" { + description + "Down"; + } + enum "l2vpn-xc-state-up" { + description + "Up"; + } + } + description + "L2vpn xc state"; + } + + typedef L2vpn-p2mp-pw-ptree { + type enumeration { + enum "none" { + description + "None"; + } + enum "rsvp-te" { + description + "RSVP TE"; + } + enum "mldp" { + description + "MLDP"; + } + } + description + "L2vpn p2mp pw ptree"; + } + + typedef L2vpn-pw-flow-label { + type enumeration { + enum "off" { + description + "Flow label is off"; + } + enum "receive" { + description + "Flow label is enabled on the receive side"; + } + enum "transmit" { + description + "Flow label is enabled on the transmit side"; + } + enum "both" { + description + "Flow label is enabled on both transmit and + receive sides"; + } + } + description + "Pseudowire flow label load balance types"; + } + + typedef L2vpn-load-bal { + type enumeration { + enum "not-supported" { + value 0; + description + "Load Balance Flow Not Supported"; + } + enum "source-dest-mac" { + value 1; + description + "Load Balance Flow src-dst-mac"; + } + enum "source-dest-ip" { + value 2; + description + "Load Balance Flow src-dst-ip"; + } + enum "undefined" { + value 3; + description + "Load Balance Flow Undefined"; + } + enum "pseudowire-label" { + value 4; + description + "Load Balance PW Label based"; + } + } + description + "L2vpn load bal"; + } + + typedef L2vpn-prefpath-option { + type enumeration { + enum "l2vpn-pw-mpls-pref-path-not-specified" { + description + "Not Secified"; + } + enum "l2vpn-pw-mpls-pref-path-next-hop-ip" { + description + "Next Hop IP"; + } + enum "l2vpn-pw-mpls-pref-path-te-tunnel" { + description + "TE Tunnel"; + } + enum "l2vpn-pw-mpls-pref-path-ip-tunnel" { + description + "IP Tunnel"; + } + enum "l2vpn-pw-mpls-pref-path-tp-tunnel" { + description + "TP Tunnel"; + } + enum "l2vpn-pw-mpls-pref-path-sr-te" { + description + "SR TE Policy"; + } + } + description + "Preferred Path Option"; + } + + typedef L2vpn-pw { + type enumeration { + enum "l2vpn-pw-type-unknown" { + description + "Unknown"; + } + enum "l2vpn-pw-type-frame-relay-dlci" { + description + "Frame Relay DLCI"; + } + enum "l2vpn-pw-type-atm-aal5-sdu" { + description + "ATM AAL5 SDU VCC transport"; + } + enum "l2vpn-pw-type-atm-trans-cell" { + description + "ATM transparent cell transport"; + } + enum "l2vpn-pw-type-ether-vlan" { + description + "Ethernet VLAN tagged mode "; + } + enum "l2vpn-pw-type-ether" { + description + "Ethernet"; + } + enum "l2vpn-pw-type-hdlc" { + description + "HDLC"; + } + enum "l2vpn-pw-type-ppp" { + description + "PPP"; + } + enum "l2vpn-pw-type-sonet-over-mpls" { + description + "SONET/SDH Circuit Emulation Service Over MPLS + (CEM)"; + } + enum "l2vpn-pw-type-atm-n-vcc-cell" { + description + "ATM n-to-one VCC cell transport"; + } + enum "l2vpn-pw-type-atm-n-vpc-cell" { + description + "ATM n-to-one VPC cell transport"; + } + enum "l2vpn-pw-type-ip" { + description + "IP Layer2 Transport"; + } + enum "l2vpn-pw-type-atm-vcc-cell" { + description + "ATM one-to-one VCC cell transport"; + } + enum "l2vpn-pw-type-atm-vpc-cell" { + description + "ATM one-to-one VPC cell transport"; + } + enum "l2vpn-pw-type-atm-aal5-pdu" { + description + "ATM AAL5 PDU VCC transport"; + } + enum "l2vpn-pw-type-frame-relay" { + description + "Frame Relay port mode"; + } + enum "l2vpn-pw-type-sonet" { + description + "SONET/SDH Circuit"; + } + enum "l2vpn-pw-type-vpls" { + description + "VPLS"; + } + enum "l2vpn-pw-type-tdm-sa-to-p-e1" { + description + "TDM E1"; + } + enum "l2vpn-pw-type-tdm-sa-to-p-t1" { + description + "TDM T1"; + } + enum "l2vpn-pw-type-tdm-sa-to-p-e3" { + description + "TDM E3"; + } + enum "l2vpn-pw-type-tdm-sa-to-p-t3" { + description + "TDM T3"; + } + enum "l2vpn-pw-type-tdm-ce-so-psn" { + description + "TDM CES over PSN"; + } + } + description + "L2vpn pw"; + } + + typedef L2vpn-pw-control-word { + type enumeration { + enum "l2vpn-pw-control-word-unknown" { + description + "Unknown"; + } + enum "l2vpn-pw-control-word-clear" { + description + "Clear"; + } + enum "l2vpn-pw-control-word-set" { + description + "Set"; + } + enum "l2vpn-pw-control-word-mandatory" { + description + "Mandatory"; + } + } + description + "L2vpn pw control word"; + } + + typedef L2vpn-l2tp-tunnel-state { + type enumeration { + enum "l2vpn-l2tp-idle" { + description + "Idle"; + } + enum "l2vpn-l2tp-wait-for-connecting" { + description + "Wait for connecting"; + } + enum "l2vpn-l2tp-wait-for-connected" { + description + "Wait for connected"; + } + enum "l2vpn-l2tp-in-coming-call" { + description + "Incoming call"; + } + enum "l2vpn-l2tp-connected" { + description + "Connected"; + } + enum "l2vpn-l2tp-disconnected" { + description + "Disconnected"; + } + } + description + "L2vpn l2tp tunnel state"; + } + + typedef L2vpn-tos-mode { + type enumeration { + enum "l2vpn-pw-ip-tos-none" { + description + "None"; + } + enum "l2vpn-pw-ip-tos-reflect" { + description + "Reflect the TOS"; + } + } + description + "L2vpn tos mode"; + } + + typedef L2vpn-encap-method { + type enumeration { + enum "l2vpn-pw-encaps-not-specified" { + description + "Not Specified"; + } + enum "l2vpn-pw-encaps-l2tpv3" { + description + "L2TPv3 encapsulation"; + } + enum "l2vpn-pw-encaps-l2tpv2" { + description + "L2TPv2 encapsulation"; + } + enum "l2vpn-pw-encaps-mpls" { + description + "MPLS encapsulation"; + } + enum "l2vpn-pw-encaps-unknown" { + description + "Unknown"; + } + } + description + "Encapsulation Method"; + } + + typedef L2vpn-pw-sequence { + type enumeration { + enum "l2vpn-pw-sequence-off" { + description + "Sequencing is Off"; + } + enum "l2vpn-pw-sequence-xmit" { + description + "Sequencing on the transmit side"; + } + enum "l2vpn-pw-sequence-recv" { + description + "Sequencing on the receive side"; + } + enum "l2vpn-pw-sequence-trans" { + description + "Sequencing is transparent"; + } + enum "l2vpn-pw-sequence-both" { + description + "Sequencing on both sides"; + } + } + description + "L2vpn pw sequence"; + } + + typedef L2vpn-signalling-proto { + type enumeration { + enum "l2vpn-pw-sig-not-specified" { + description + "Not specified"; + } + enum "l2vpn-pw-sig-none" { + description + "Static"; + } + enum "l2vpn-pw-sig-l2tpv3" { + description + "L2TPv3 signaling"; + } + enum "l2vpn-pw-sig-l2tpv2" { + description + "L2TPv2 signaling"; + } + enum "l2vpn-pw-sig-ldp" { + description + "LDP"; + } + enum "l2vpn-pw-sig-bgp" { + description + "BGP"; + } + } + description + "L2vpn signalling proto"; + } + + typedef L2vpn-pw-state { + type enumeration { + enum "l2vpn-pw-state-unresolved" { + description + "Unresolved"; + } + enum "l2vpn-pw-state-idle" { + description + "Idle"; + } + enum "l2vpn-pw-state-provisioned" { + description + "Provisioned"; + } + enum "l2vpn-pw-state-remote-standby" { + description + "Remote standby"; + } + enum "l2vpn-pw-state-local-ready" { + description + "Local ready"; + } + enum "l2vpn-pw-state-all-ready" { + description + "All ready"; + } + enum "l2vpn-pw-state-established" { + description + "Established"; + } + } + description + "L2vpn pw state"; + } + + typedef L2vpn-bag-in6-addr { + type inet:ipv6-address; + description + "L2vpn bag in6 addr"; + } + + typedef L2vpn-peer { + type enumeration { + enum "none" { + description + "None"; + } + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + enum "internal-label" { + description + "Internal Label"; + } + } + description + "L2vpn peer"; + } + + typedef L2vpn-protection-role { + type enumeration { + enum "l2vpn-protection-primary" { + description + "Segment configured as primary"; + } + enum "l2vpn-protection-backup" { + description + "Segment configured as backup"; + } + } + description + "L2VPN Configurable protection roles"; + } + + typedef L2vpn-protection { + type enumeration { + enum "l2vpn-protection-unknown" { + description + "Unknown type of protection"; + } + enum "l2vpn-protection-interface" { + description + "Interface protection type"; + } + enum "l2vpn-protection-pseudowire" { + description + "PW protection type"; + } + enum "l2vpn-protection-group" { + description + "Group protection type "; + } + } + description + "L2VPN Protection types"; + } + + typedef L2vpn-rg-state { + type enumeration { + enum "unknown" { + description + "Not defined"; + } + enum "active" { + description + "Active"; + } + enum "standby" { + description + "Standby"; + } + } + description + "L2vpn rg state"; + } + + typedef L2vpn-interworking { + type enumeration { + enum "l2vpn-iw-type-none" { + description + "None"; + } + enum "l2vpn-iw-type-ethernet" { + description + "Ethernet"; + } + enum "l2vpn-iw-type-ppp" { + description + "PPP"; + } + enum "l2vpn-iw-type-ipv4" { + description + "IPv4"; + } + enum "l2vpn-iw-type-voluntary" { + description + "Voluntary"; + } + enum "l2vpn-iw-type-frf8" { + description + "FRF8"; + } + } + description + "L2vpn interworking"; + } + + typedef L2vpn-segment-state { + type enumeration { + enum "l2vpn-segment-state-unresolved" { + description + "Unresolved"; + } + enum "l2vpn-segment-state-up" { + description + "Up"; + } + enum "l2vpn-segment-state-down" { + description + "Down"; + } + enum "l2vpn-segment-state-admin-down" { + description + "Admin down"; + } + enum "l2vpn-segment-state-local-up" { + description + "Local up"; + } + enum "l2vpn-segment-state-remote-up" { + description + "Remote up"; + } + enum "l2vpn-segment-state-connected" { + description + "Connected"; + } + enum "l2vpn-segment-state-standby" { + description + "Standby"; + } + enum "l2vpn-segment-state-standby-ready" { + description + "Standby Ready"; + } + } + description + "L2vpn segment state"; + } + + typedef L2vpn-fr-mode { + type enumeration { + enum "l2vpn-fr-port-mode" { + description + "Frame Relay port mode"; + } + enum "l2vpn-fr-dlci-mode" { + description + "Frame Relay DLCI mode"; + } + } + description + "L2vpn fr mode"; + } + + typedef L2vpn-atm-mode { + type enumeration { + enum "l2vpn-atm-port-mode" { + description + "ATM port mode"; + } + enum "l2vpn-atm-vp-mode" { + description + "ATM Virtual Path mode"; + } + enum "l2vpn-atm-vc-mode" { + description + "ATM Virtual Channel mode"; + } + } + description + "L2vpn atm mode"; + } + + typedef L2vpn-time-stamp-mode { + type enumeration { + enum "unknown" { + description + "Unknown time stamp mode"; + } + enum "differential" { + description + "Differential time stamp mode"; + } + enum "absolute" { + description + "Absolute Time Stamp mode"; + } + enum "none" { + description + "time stamp mode none"; + } + } + description + "L2VPN TDM Time stamp modes"; + } + + typedef L2vpn-tdm-rtp-option { + type enumeration { + enum "unknown" { + description + "Unknown RTP option"; + } + enum "present" { + description + "RTP option present"; + } + enum "absent" { + description + "RTP option absent"; + } + } + description + "L2VPN TDM RTP option"; + } + + typedef L2vpn-tdm-mode { + type enumeration { + enum "unknown" { + description + "Unknown mode"; + } + enum "ce-so-psn" { + description + "CESoPSN mode"; + } + enum "sa-to-p-e1" { + description + "SAToP E1 mode"; + } + enum "sa-to-p-t1" { + description + "SAToP T1 mode"; + } + enum "sa-to-p-e3" { + description + "SAToP E3 mode"; + } + enum "sa-to-p-t3" { + description + "SAToP T3 mode"; + } + } + description + "L2VPN TDM modes"; + } + + typedef L2vpn-interface { + type enumeration { + enum "l2vpn-intf-type-unknown" { + description + "Unknown"; + } + enum "l2vpn-intf-type-ethernet" { + description + "Ethernet"; + } + enum "l2vpn-intf-type-vlan" { + description + "Ethernet Vlan"; + } + enum "l2vpn-intf-type-atm" { + description + "ATM"; + } + enum "l2vpn-intf-type-frame-relay" { + description + "Frame Relay"; + } + enum "l2vpn-intf-type-hdlc" { + description + "HDLC"; + } + enum "l2vpn-intf-type-ppp" { + description + "PPP"; + } + enum "l2vpn-intf-type-span" { + description + "SPAN"; + } + enum "l2vpn-intf-type-bvi" { + description + "BVI"; + } + enum "l2vpn-intf-type-cem" { + description + "CEM"; + } + enum "l2vpn-intf-type-pw-ether" { + description + "PsuedowireEther"; + } + enum "l2vpn-intf-type-pw-iw" { + description + "PsuedowireIW"; + } + enum "l2vpn-intf-type-vni" { + description + "VXLAN"; + } + } + description + "L2vpn interface"; + } + + typedef L2vpn-segment { + type enumeration { + enum "l2vpn-segment-type-unresolved" { + description + "Unresolved segment"; + } + enum "l2vpn-segment-type-ac" { + description + "Attachment circuit segment"; + } + enum "l2vpn-segment-type-pw" { + description + "Pseudowire segment"; + } + enum "l2vpn-segment-type-bd-ac" { + description + "Bridge domain attachment circuit"; + } + enum "l2vpn-segment-type-vfi" { + description + "Virtual forwarding instance segment"; + } + enum "l2vpn-segment-type-bd-pw" { + description + "Bridge Pseudowire"; + } + enum "l2vpn-segment-type-bd-pbb" { + description + "Bridge domain PBB segment"; + } + enum "l2vpn-segment-type-bd-evpn" { + description + "Bridge domain EVPN segment"; + } + enum "l2vpn-segment-type-vni" { + description + "VxLAN Network Identifier (VNI) segment"; + } + } + description + "L2vpn segment"; + } + + typedef L2vpn-ad-rd { + type enumeration { + enum "l2vpn-ad-rd-none" { + value 0; + description + "Route Distinguisher not set"; + } + enum "l2vpn-ad-rd-auto" { + value 1; + description + "Route Distinguisher auto-generated"; + } + enum "l2vpn-ad-rd-as" { + value 2; + description + "Route Distinguisher with 2 Byte AS number"; + } + enum "l2vpn-ad-rd-4byte-as" { + value 3; + description + "Route Distinguisher with 4 Byte AS number"; + } + enum "l2vpn-ad-rd-v4-addr" { + value 4; + description + "Route Distinguisher with IPv4 Address"; + } + } + description + "L2vpn ad rd"; + } + + typedef L2vpn-pw-fec { + type enumeration { + enum "l2vpn-pw-fec-128" { + value 0; + description + "FEC 128 pseudowire type"; + } + enum "l2vpn-pw-fec-129" { + value 1; + description + "FEC 129 pseudowire type"; + } + enum "l2vpn-pw-fec-not-applicable" { + value 268435455; + description + "FEC Not Applicable"; + } + } + description + "L2vpn pw fec"; + } + + typedef L2vpn-pw-id { + type enumeration { + enum "l2vpn-pw-id-type-manual" { + value 1; + description + "Manual"; + } + enum "l2vpn-pw-id-type-ad-vpls" { + value 2; + description + "AD VPLS"; + } + enum "l2vpn-pw-id-type-ad-vpws" { + value 3; + description + "AD VPWS"; + } + enum "l2vpn-pw-id-type-ad-vpls-ldp" { + value 4; + description + "AD VPLS-LDP"; + } + enum "l2vpn-pw-id-type-pwr" { + value 5; + description + "PWR"; + } + enum "l2vpn-pw-id-type-evpn" { + value 6; + description + "EVPN"; + } + } + description + "L2vpn pw id"; + } + + typedef L2vpn-preferred { + type enumeration { + enum "te-tunnel" { + description + "TE Tunnel"; + } + enum "ip-tunnel" { + description + "IP Tunnel"; + } + enum "tp-tunnel" { + description + "TP Tunnel"; + } + enum "mte-tunnel" { + description + "mTE"; + } + enum "mldp-tunnel" { + description + "mLDP"; + } + enum "sr-te-policy" { + description + "SR TE Policy"; + } + } + description + "Preferred Type"; + } + + typedef L2vpn-proc-nsr-not-ready-reason { + type enumeration { + enum "collab-time-out" { + description + "Collaborator connection time out"; + } + enum "collab-conntection-idt" { + description + "Collaborator connection down or IDT not done"; + } + enum "nsr-peer-not-connected" { + description + "NSR peer not connected"; + } + enum "nsr-peer-not-in-sync" { + description + "NSR peer not in sync"; + } + } + description + "L2vpn proc nsr not ready reason"; + } + + typedef L2vpn-sync-status { + type enumeration { + enum "not-ready" { + description + "Not Ready"; + } + enum "ready" { + description + "Ready"; + } + } + description + "L2vpn sync status"; + } + + typedef L2vpn-proc-role { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "v1-active" { + description + "V1 Active"; + } + enum "v1-standby" { + description + "V1 Standby"; + } + enum "v2-active" { + description + "V2 Active"; + } + enum "v2-standby" { + description + "V2 Standby"; + } + enum "v1-active-post-big-bang" { + description + "V1 Active post big-bang"; + } + enum "v1-standby-post-big-bang" { + description + "V1 Standbyi post big-bang"; + } + enum "count" { + description + "Count"; + } + } + description + "L2VPN Process Role"; + } + + typedef L2vpn-id-mgr-app-bag { + type enumeration { + enum "l2vpn-id-mgr-app-bag-type-virtual-ac" { + description + "Virtual AC"; + } + enum "l2vpn-id-mgr-app-bag-type-ac" { + description + "AC"; + } + enum "l2vpn-id-mgr-app-bag-type-pw" { + description + "PW"; + } + enum "l2vpn-id-mgr-app-bag-type-bd" { + description + "BD"; + } + enum "l2vpn-id-mgr-app-bag-type-fxc" { + description + "FXC"; + } + enum "l2vpn-id-mgr-app-bag-type-mp2mp" { + description + "MP2MP"; + } + enum "l2vpn-id-mgr-app-bag-type-rd" { + description + "RD"; + } + enum "l2vpn-id-mgr-app-bag-type-pbb" { + description + "PBB"; + } + enum "l2vpn-id-mgr-app-bag-type-if-list" { + description + "IFLIST"; + } + enum "l2vpn-id-mgr-app-bag-type-atom" { + description + "ATOM"; + } + enum "l2vpn-id-mgr-app-bag-type-global" { + description + "GLOBAL"; + } + enum "l2vpn-id-mgr-app-bag-type-pw-group" { + description + "PWGROUP"; + } + enum "l2vpn-id-mgr-app-bag-type-evpn" { + description + "EVPN"; + } + enum "l2vpn-id-mgr-app-bag-type-evpn-lbl" { + description + "EVPN LBL"; + } + enum "l2vpn-id-mgr-app-bag-type-evpn-rd" { + description + "EVPN RD"; + } + enum "l2vpn-id-mgr-app-bag-type-ital" { + description + "ITAL"; + } + enum "l2vpn-id-mgr-app-bag-type-bp" { + description + "BP"; + } + enum "l2vpn-id-mgr-app-bag-type-count" { + description + "Count/Invalid"; + } + } + description + "L2VPN ID Manager App Type"; + } + + typedef Iccp-sm-port-state { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "unconfigured" { + description + "Unconfigured"; + } + enum "unsynchronized" { + description + "Unsynchronized"; + } + enum "operational" { + description + "Operational"; + } + enum "failed" { + description + "Failed"; + } + enum "reverting" { + description + "Reverting"; + } + } + description + "ICCP-based service multi-homing port state"; + } + + typedef Iccp-sm-state { + type enumeration { + enum "unresolved" { + description + "Unresolved"; + } + enum "provisioned" { + description + "Provisioned"; + } + enum "connecting" { + description + "Connecting"; + } + enum "connected" { + description + "Connected"; + } + enum "synchronizing" { + description + "Synchronizing"; + } + enum "synchronized" { + description + "Synchronized"; + } + } + description + "ICCP-based service multi-homing group state"; + } + + typedef L2vpn-main-if-protectected { + type enumeration { + enum "erp-protected" { + description + "ERP Protected"; + } + enum "mstp-protected" { + description + "MSTP Protected"; + } + enum "no-protected" { + description + "No protection"; + } + } + description + "L2vpn main if protectected"; + } + + typedef L2vpn-main-if-instance-state { + type enumeration { + enum "forwarding" { + description + "Forwarding state"; + } + enum "blocked" { + description + "Blocked state"; + } + enum "mac-learning" { + description + "Mac learning state"; + } + enum "nack" { + description + "Nack state"; + } + enum "forwarning-not-useful" { + description + "Forwarding not useful state"; + } + enum "blocked-not-useful" { + description + "Blocked not useful state"; + } + enum "mac-learning-not-useful" { + description + "Mac Learning not useful state"; + } + enum "blocked-data-only" { + description + "Blocked data only state"; + } + enum "mcast-pe2-ce-blocked" { + description + "Mcast PE to CE blocked state"; + } + enum "port-state-unknown" { + description + "Port state unknown"; + } + } + description + "State of a main port instance"; + } + + typedef L2vpn-ad-vpls-id { + type enumeration { + enum "l2vpn-ad-vpls-id-none" { + value 0; + description + "VPLS-ID not set"; + } + enum "l2vpn-ad-vpls-id-auto" { + value 1; + description + "Auto generated VPLS-ID"; + } + enum "l2vpn-ad-vpls-id-as" { + value 10; + description + "VPLS-ID with 2 Byte AS number"; + } + enum "l2vpn-ad-vpls-id-v4-addr" { + value 266; + description + "VPLS-ID with IPv4 Address"; + } + } + description + "L2vpn ad vpls id"; + } + + typedef L2vpn-ad-lsd-err { + type enumeration { + enum "l2vpn-ad-lsd-err-type-none" { + value 0; + description + "No Error"; + } + enum "l2vpn-ad-lsd-err-type-rw-create-abort-lbl-alloc" { + value 1; + description + "RW Creation aborted due to related Lbl Alloc + failure"; + } + enum "l2vpn-ad-lsd-err-type-lbl-alloc-abort-rw-create" { + value 2; + description + "Lbl Alloc disallowed due to related RW Creation + failure"; + } + enum "l2vpn-ad-lsd-err-type-lbl-alloc-abort-lbl-alloc" { + value 3; + description + "Lbl Alloc disallowed due to related Lbl Alloc + failure"; + } + enum "l2vpn-ad-lsd-err-type-lbl-alloc-lbl-ctx-mismatch" { + value 4; + description + "Lbl Ctx mismatch"; + } + enum "l2vpn-ad-lsd-err-type-rw-create-fpi-size-mismatch" { + value 5; + description + "FPI Size mismatch"; + } + enum "l2vpn-ad-lsd-err-type-rw-create-fpi-version-mismatch" { + value 6; + description + "FPI Version mismatch"; + } + enum "l2vpn-ad-lsd-err-type-enospc" { + value 7; + description + "Out of Label"; + } + enum "l2vpn-ad-lsd-err-type-enomem" { + value 8; + description + "No Memory"; + } + enum "l2vpn-ad-lsd-err-type-undefined" { + value 9; + description + "LABEL ERR"; + } + } + description + "L2vpn ad lsd err"; + } + + typedef L2vpn-ad-sig-method { + type enumeration { + enum "l2vpn-ad-sig-method-none" { + value 0; + description + "None"; + } + enum "l2vpn-ad-sig-method-bgp" { + value 1; + description + "BGP"; + } + enum "l2vpn-ad-sig-method-ldp" { + value 2; + description + "LDP"; + } + } + description + "L2vpn ad sig method"; + } + + grouping L2VPN-XC-BRIEF-LINE { + description + "L2VPN XC BRIEF LINE"; + leaf psn-type { + type L2vpn-brief-psn; + description + "PSN Type"; + } + leaf ac1-encapsulation { + type L2vpn-ac-encap; + description + "AC1 encapsulation"; + } + leaf ac2-encapsulation { + type L2vpn-ac-encap; + description + "AC2 encapsulation"; + } + list up-count { + max-elements "4"; + description + "Number of active cross-connections array - + + Index 0 is LikeToLike, 1 is IPInterworking, 2 is + + EthernetInterworking, 3 is Total"; + leaf entry { + type uint32; + } + } + list down-count { + max-elements "4"; + description + "Number of non-active cross-connections array - + + Index 0 is LikeToLike, 1 is IPInterworking, 2 is + + EthernetInterworking, 3 is Total"; + leaf entry { + type uint32; + } + } + list unresolved-count { + max-elements "4"; + description + "Number of unresolved cross-connections array - + + Index 0 is LikeToLike, 1 is IPInterworking, 2 is + + EthernetInterworking, 3 is Total"; + leaf entry { + type uint32; + } + } + } + + grouping L2VPN-XC-BRIEF-FIRST-LAYER { + description + "L2VPN XC BRIEF FIRST LAYER"; + list ac2 { + description + "Array of l2vpn_xc_brief_line indexed by the AC2 + encapsulation type plus one type for PW"; + uses L2VPN-XC-BRIEF-LINE; + } + } + + grouping L2VPN-XC-BRIEF-MATRIX { + description + "L2VPN XC BRIEF MATRIX"; + list ac1 { + description + "Array of l2vpn_xc_brief_first layer indexed by + the AC1 encapsulation type"; + uses L2VPN-XC-BRIEF-FIRST-LAYER; + } + } + + grouping L2VPN-XC-BRIEF { + description + "L2VPN XC BRIEF"; + leaf main-total-up { + type uint32; + description + "Total Number of active Cross-Conections with + valid encaps"; + } + leaf main-total-down { + type uint32; + description + "Total Number of non-active Cross-Conections with + valid encaps"; + } + leaf main-total-unresolved { + type uint32; + description + "Total Number of unresolved Cross-Conections with + valid encaps"; + } + leaf undefined-xc { + type uint32; + description + "Undefined xc including PW-PW"; + } + leaf memory-state { + type L2vpn-memory-state; + description + "L2VPN memory state"; + } + list encapsulation-report-matrix { + max-elements "3"; + description + "Encapsulation report counters matrix"; + uses L2VPN-XC-BRIEF-MATRIX; + } + list encapsulation-total { + max-elements "3"; + description + "Total summary"; + uses L2VPN-XC-BRIEF-LINE; + } + } + + grouping L2VPN-FXC { + description + "L2VPN FXC"; + leaf fxc-id { + type uint32; + description + "Flexible XConnect ID"; + } + leaf name { + type string; + description + "Flexible XConnect Service Name"; + } + leaf state { + type L2vpn-xc-state; + description + "State of the Flexible XConnect Service"; + } + leaf num-p-ws { + type uint8; + description + "Number of Pseudowires in Pseudowire List"; + } + list pseudowire { + max-elements "2"; + description + "Flexible XConnect Service Pseudowire List"; + uses L2VPN-PW; + } + } + + grouping L2VPN-FXC-AC { + description + "L2VPN FXC AC"; + container attachment-circuit { + description + "Flexible XConnect Service Attachment Circuit"; + uses L2VPN-AC; + } + } + + grouping L2VPN-PBB-BMAC-SA { + description + "L2VPN PBB BMAC SA"; + leaf provisioned { + type boolean; + description + "BMAC SA configured"; + } + leaf chassis-is-provisioned { + type boolean; + description + "Chassis MAC is configured"; + } + leaf bmac-sa { + type yang:mac-address; + description + "BMAC SA"; + } + leaf chassis-mac { + type yang:mac-address; + description + "Chassis MAC"; + } + } + + grouping L2VPN-MSTP-SUBINT { + description + "L2VPN MSTP Subinterfaces"; + leaf interface-name { + type string; + description + "Interface name"; + } + } + + grouping L2VPN-MSTP-VLAN { + description + "L2VPN MSTP VLAN"; + leaf vlan-id-xr { + type uint32; + description + "Vlan id"; + } + leaf msti-id { + type uint32; + description + "MSTI id"; + } + leaf port-count { + type uint32; + description + "Port Count"; + } + list sub-interface { + description + "Sub interfaces"; + uses L2VPN-MSTP-SUBINT; + } + } + + grouping L2VPN-MVRP-BP { + description + "L2VPN MVRP BP"; + leaf bridge-port-interface-name { + type string; + description + "Bridge port Interface name"; + } + leaf bridge-port-xconnect-id { + type uint32; + description + "Bridge port XConnect ID"; + } + leaf mvrp-sequence-number { + type uint16; + description + "MVRP Sequence Number"; + } + list vlan-range { + description + "VLAN IDs"; + uses L2VPN-EFP-RANGE; + } + } + + grouping L2VPN-MVRP { + description + "L2VPN MVRP"; + container default-bridge-port { + description + "Trunk or default Bridge Port"; + uses L2VPN-MVRP-BP; + } + leaf main-port-interface-name { + type string; + description + "Main Port Interface name"; + } + leaf is-trunk { + type boolean; + description + "Is main port a trunk"; + } + leaf is-default-encap { + type boolean; + description + "Is default encap set"; + } + leaf number-of-bridge-ports { + type uint32; + description + "Number of Bridge Ports"; + } + } + + grouping L2VPN-COLLAB-CNTR { + description + "L2VPN collaborator statistics"; + leaf collaborator-name { + type string; + description + "Collaborator Name"; + } + leaf up { + type uint32; + description + "Up"; + } + leaf down { + type uint32; + description + "Down"; + } + leaf is-up { + type boolean; + description + "Is up"; + } + } + + grouping L2VPN-COLLAB-STATS { + description + "L2VPN collaborator statistics"; + list count { + max-elements "1"; + description + "count"; + uses L2VPN-COLLAB-CNTR; + } + } + + grouping L2VPN-GLOBAL-INFO { + description + "L2VPN Global Information"; + container collaborator-statistics { + description + "Collaborator Statistics"; + uses L2VPN-COLLAB-STATS; + } + } + + grouping L2VPN-SOURCE-ADDRESS { + description + "L2VPN SOURCE ADDRESS"; + leaf configuration { + type L2vpn-src-address-set; + description + "Configuration"; + } + leaf address { + when "../configuration = 'set'" { + description + "../Configuration = 'Set'"; + } + type inet:ipv4-address; + description + "Local source address"; + } + } + + grouping L2VPN-L2TPV3-PW-CLASS { + description + "L2VPN L2TPV3 PW CLASS"; + leaf l2tp-class-name { + type string { + length "0..32"; + } + description + "L2TPClassName"; + } + leaf ipv4-source-address { + type inet:ipv4-address; + description + "IPv4 source address"; + } + leaf path-mtu-enabled { + type boolean; + description + "Path MTU enabled"; + } + leaf path-mtu-max-value { + type uint16; + description + "Path MTU Maximum allowable session MTU"; + } + leaf dont-fragment-bit { + type boolean; + description + "Don't Fragment Bit"; + } + leaf tos-mode { + type L2vpn-tos-mode; + description + "Type Of Service Mode"; + } + leaf tos { + type uint8; + description + "Type Of Service Value"; + } + leaf ttl { + type uint8; + description + "Time To Live value"; + } + leaf cookie-size { + type uint8; + description + "Cookie size: 0, 4, or 8 bytes"; + } + } + + grouping L2VPN-ENCAP-PW-CLASS { + description + "L2VPN ENCAP PW CLASS"; + container l2tpv3 { + when "../encapsulation = 'l2vpn-pw-encaps-l2tpv3'" { + description + "../Encapsulation = 'L2VPN_PW_ENCAPS_L2TPV3'"; + } + description + "l2tpv3"; + uses L2VPN-L2TPV3-PW-CLASS; + } + leaf encapsulation { + type L2vpn-encap-method; + description + "Encapsulation"; + } + } + + grouping L2VPN-PW-CLASS { + description + "L2VPN PW CLASS"; + container encapsulation-info { + description + "Encapsulation specific pseudowire information"; + uses L2VPN-ENCAP-PW-CLASS; + } + container preferred-path { + description + "MPLS Preferred Path"; + uses L2VPN-PW-MPLS-PREFPATH; + } + container local-source-address { + description + "Local source address"; + uses L2VPN-SOURCE-ADDRESS; + } + leaf pw-class-name { + type string { + length "0..33"; + } + description + "Pseudowire class name"; + } + leaf control-word { + type L2vpn-pw-class-control-word; + description + "Control word"; + } + leaf transport-mode { + type L2vpn-transport-mode; + description + "Transport mode"; + } + leaf sequencing-type { + type L2vpn-pw-sequence; + description + "Sequencing Type"; + } + leaf resync-enabled { + type boolean; + description + "Resync if packets out of sequence"; + } + leaf resync-threshold { + type uint32; + description + "Number of Packets Out of Seqence to trigger + resync"; + } + leaf protocol { + type L2vpn-signalling-proto; + description + "Protocol"; + } + leaf disable-never { + type boolean; + description + "TRUE if backup is not automatically disabled"; + } + leaf disable-delay { + type uint8; + description + "Disable Deley"; + } + leaf backup-mac-withdraw { + type boolean; + description + "TRUE if MAC withdraw message is sent"; + } + leaf tag-rewrite { + type uint16; + description + "Static tag rewrite"; + } + leaf preferred-path-disable-fallback { + type boolean; + description + "PreferredPathDisableFallback"; + } + leaf load-balance { + type L2vpn-load-bal; + description + "Load Balance Type"; + } + leaf pw-flow-label-type-cfg { + type L2vpn-pw-flow-label; + description + "Configured pseudowire flow label type"; + } + leaf pw-flow-label-code17-disabled { + type boolean; + description + "Disable sending Code 17 TLV"; + } + leaf is-flow-label-static { + type boolean; + description + "is flow label static"; + } + } + + grouping L2VPN-G8032-RING-INSTANCE-DETAIL-INFO { + description + "L2VPN ethernet ring instance info detail"; + leaf ring-instance { + type uint32; + description + "Ring instance number"; + } + leaf ring-description { + type string; + description + "Ring description"; + } + leaf ring-profile { + type string; + description + "Ring Profile"; + } + leaf rpl { + type L2vpn-g8032-rpl; + description + "RPL"; + } + leaf aps-port0 { + type string; + description + "Port 0 of aps-channel"; + } + leaf aps-port1 { + type string; + description + "Port 1 of aps-channel"; + } + leaf config-state { + type boolean; + description + "State of the instance"; + } + leaf unresolved-reason { + type L2vpn-g8032-uncfg-reason; + description + "Reason of unresolved state state"; + } + leaf aps-channel-level { + type uint32; + description + "APS channel level"; + } + list included-vlan-id { + description + "Inclusion list Vlan Ids"; + leaf entry { + type uint16; + } + } + } + + grouping L2VPN-G8032-RING-SUMMARY-INFO { + description + "L2VPN ethernet ring info summary"; + leaf ring-name { + type string; + description + "Name of the ring"; + } + leaf port0 { + type string; + description + "Port 0"; + } + leaf port1 { + type string; + description + "Port 1"; + } + } + + grouping L2VPN-G8032-RING-INSTANCE-SUMMARY-INFO { + description + "L2VPN ethernet ring instance info summary"; + leaf ring-instance { + type uint32; + description + "Ring instance number"; + } + leaf aps-port0 { + type string; + description + "Port 0 of aps-channel"; + } + leaf aps-port1 { + type string; + description + "Port 1 of aps-channel"; + } + leaf config-state { + type boolean; + description + "State of the instance"; + } + list included-vlan-id { + description + "Inclusion list Vlan Ids"; + leaf entry { + type uint16; + } + } + } + + grouping L2VPN-G8032-RING-DETAIL-INFO { + description + "L2VPN ethernet ring info detail"; + leaf ring-name { + type string; + description + "Name of the ring"; + } + leaf port0 { + type string; + description + "Port 0"; + } + leaf port1 { + type string; + description + "Port 1"; + } + leaf monitor0 { + type string; + description + "Monitor port 0"; + } + leaf monitor1 { + type string; + description + "Monitor port 1"; + } + leaf is-provider-bridge { + type boolean; + description + "Operating mode Customer/Provider "; + } + leaf is-open-ring { + type boolean; + description + "Flag open ring"; + } + leaf tcn-propagation { + type boolean; + description + "Global TCN propagation"; + } + list excluded-vlan-id { + description + "Exclusion Vlan ids list "; + leaf entry { + type uint16; + } + } + } + + grouping L2VPN-DISCO-SUMMARY { + description + "L2VPN DISCO SUMMARY"; + leaf number-bridge-domainvpns { + type uint32; + description + "Number of BDs registered"; + } + leaf number-mp2m-pxconnect-vpns { + type uint32; + description + "Number of XCs registered"; + } + leaf number-local-edges-bridge-domain { + type uint32; + description + "Number of local Edges"; + } + leaf number-remote-edges-bridge-domain { + type uint32; + description + "Number of Remote Edges"; + } + leaf number-nlri-bridge-domain { + type uint32; + description + "Number of NLRI"; + } + leaf number-local-edges-xconnect { + type uint32; + description + "Number of local Edges"; + } + leaf number-remote-edges-xconnect { + type uint32; + description + "Number of Remote Edges"; + } + leaf number-nlri-xconnect { + type uint32; + description + "Number of NLRI"; + } + leaf bgp-stateon-active-rp { + type boolean; + description + "BGP state on the active RP"; + } + leaf bgp-stateon-standby-rp { + type boolean; + description + "BGP state on standby RP"; + } + leaf vpls-registered { + type boolean; + description + "Is the VPLS service registered"; + } + leaf vpws-registered { + type boolean; + description + "Is the VPWS service registered"; + } + leaf bgp-ipc-transport-mode { + type L2vpn-ipc-transport-mode; + description + "IPC Transport mode with BGP"; + } + leaf bgp-current-node-id { + type xr:Node-id; + description + "BGP current node id"; + } + } + + grouping L2VPN-BRIDGE-VNI { + description + "L2VPN BRIDGE VNI"; + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + container statistics { + description + "Statistics"; + uses L2FIB-STATS-BAG-FORWARDING; + } + leaf vni { + type uint32; + description + "VNI"; + } + leaf overlay { + type string; + description + "NVE Overlay"; + } + leaf source-ip-addr { + type inet:ipv4-address; + description + "Source IP Address"; + } + leaf multicast-group-addr { + type inet:ipv4-address; + description + "Multicast Group Address"; + } + leaf anycast-vtep-ip-addr { + type inet:ipv4-address; + description + "Anycast VTEP IP Address"; + } + leaf anycast-mcast-group-addr { + type inet:ipv4-address; + description + "Anycast Multicast Group Address"; + } + leaf udp-port { + type uint32; + description + "UDP Port"; + } + leaf vni-encap-type { + type L2vpn-vni-encaps; + description + "VNI Encapsulation Type"; + } + leaf vni-port-state { + type L2vpn-segment-state; + description + "VNI Port State"; + } + leaf vni-mode { + type L2vpn-vni-mode; + description + "VNI Mode"; + } + leaf ingress-replication { + type boolean; + description + "VNI Ingress Replication is enabled"; + } + leaf xconnect-id { + type uint32; + description + "Xconnect ID"; + } + list static-mac { + description + "Static MAC addresses"; + uses L2VPN-BD-MAC; + } + } + + grouping L2VPN-BD-EVPN-PORT { + description + "L2VPN EVPN port"; + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + container statistics { + description + "Statistics"; + uses L2FIB-STATS-BAG-FORWARDING; + } + leaf xconnect-id { + type uint32; + description + "Xconnect ID"; + } + leaf evpn-port-state { + type L2vpn-virtualport-state; + description + "EVPN Port State"; + } + } + + grouping L2VPN-BRIDGE-EVPN-PARAMS { + description + "L2VPN BRIDGE EVPN PARAMS"; + container evpn-port { + description + "EVPN Port"; + uses L2VPN-BD-EVPN-PORT; + } + leaf evi { + type uint32; + description + "E-VPN id"; + } + } + + grouping L2VPN-BD-PBB-CORE-PORT { + description + "L2VPN PBB core port"; + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + leaf xconnect-id { + type uint32; + description + "Xconnect ID"; + } + leaf vlan-id { + type uint32; + description + "Vlan ID"; + } + leaf core-port-state { + type L2vpn-virtualport-state; + description + "PBB Core Port State"; + } + } + + grouping L2VPN-BRIDGE-PBB-CORE { + description + "L2VPN BRIDGE PBB CORE"; + container core-port { + description + "PBB Core Port"; + uses L2VPN-BD-PBB-CORE-PORT; + } + leaf num-ass-edge { + type uint32; + description + "Number of Associated PBB Edges"; + } + } + + grouping L2VPN-BD-PBB-EDGE-PORT { + description + "L2VPN PBB edge port"; + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + container statistics { + description + "Statistics"; + uses L2FIB-STATS-BAG-FORWARDING; + } + leaf xconnect-id { + type uint32; + description + "Xconnect ID"; + } + leaf unknown-unicast-mac-set { + type boolean; + description + "Unknown Unicast MAC Configured"; + } + leaf unknown-unicast-mac { + type yang:mac-address; + description + "Unknown Unicast MAC"; + } + leaf edge-port-state { + type L2vpn-virtualport-state; + description + "PBB Edge Port State"; + } + list bmac-mapping { + description + "CMAC to BMAC Mapping"; + uses L2VPN-BD-MAC; + } + } + + grouping L2VPN-BRIDGE-PBB-EDGE { + description + "L2VPN BRIDGE PBB EDGE"; + container edge-port { + description + "PBB Edge Port"; + uses L2VPN-BD-PBB-EDGE-PORT; + } + leaf i-sid { + type uint32; + description + "SID"; + } + leaf core-bridge-name { + type string; + description + "Core Bridge Domain Name"; + } + leaf core-bridge-state { + type L2vpn-bridge-state; + description + "Core Bridge State"; + } + leaf mirp-lite-status { + type L2vpn-mirp-lite-status; + description + "MIRP-lite Status"; + } + leaf mirp-lite-protocol { + type L2vpn-mirp-lite-protocol-info; + description + "MIRP-lite protocol info"; + } + } + + grouping L2VPN-BRIDGE-PBB-PARAMS { + description + "L2VPN BRIDGE PBB PARAMS"; + container pbb-edge { + when "../type = 'l2vpn-bridge-type-pbb-edge'" { + description + "../Type = 'L2VPN_BRIDGE_TYPE_PBB_EDGE'"; + } + description + "PBB Edge"; + uses L2VPN-BRIDGE-PBB-EDGE; + } + container pbb-core { + when "../type = 'l2vpn-bridge-type-pbb-core'" { + description + "../Type = 'L2VPN_BRIDGE_TYPE_PBB_CORE'"; + } + description + "PBB Core"; + uses L2VPN-BRIDGE-PBB-CORE; + } + leaf type { + type L2vpn-bridge; + description + "Type"; + } + } + + grouping L2VPN-VFI-P2MP { + description + "L2VPN VFI P2MP"; + leaf transport { + type L2vpn-vfi-p2mp-transport; + description + "P2MP transport"; + } + leaf signaling { + type L2vpn-vfi-p2mp-signaling; + description + "P2MP signaling"; + } + leaf ptree-id { + type uint32; + description + "PTree ID"; + } + leaf attribute-set-name { + type string; + description + "TE Attribute Set Name"; + } + leaf transport-status { + type P2mp-transport-state; + description + "Transport Status"; + } + leaf local-label { + type uint32; + description + "P2MP Tunnel Local Label"; + } + leaf tunnel-interface { + type xr:Interface-name; + description + "P2MP Tunnel Interface Name"; + } + } + + grouping L2VPN-BD-DISCO { + description + "L2VPN BD DISCO"; + container rd-value { + description + "Route Distinguisher"; + uses L2VPN-RD; + } + container vpls-id { + description + "VPLS ID"; + uses L2VPN-VPLS-ID; + } + leaf vpn-id { + type uint32; + description + "Vpn ID"; + } + leaf ad-signalling-method { + type uint32; + description + "Signaling protocol"; + } + leaf ad-method { + type uint32; + description + "Autodiscovery method"; + } + leaf ve-id { + type uint32; + description + "VPLS Edge ID"; + } + leaf provisioned-ve-id { + type uint32; + description + "Provisioned VPLS edge ID"; + } + leaf ve-range { + type uint16; + description + "VE range"; + } + leaf as-number { + type uint32; + description + "Autonomous System Number"; + } + leaf l2vpn-router-id { + type inet:ipv4-address; + description + "L2PVN Router ID"; + } + leaf vpn-added { + type boolean; + description + "Is VPN id configured"; + } + leaf service-connected { + type boolean; + description + "Is the BGP service connected?"; + } + leaf vpls-id-conflict { + type boolean; + description + "VPLS-ID Conflict"; + } + leaf export-route-policy { + type string; + description + "Export Route Policy"; + } + list import-rt { + description + "List of import route targets"; + uses L2VPN-RT; + } + list export-rt { + description + "List of export route targets"; + uses L2VPN-RT; + } + } + + grouping L2VPN-VFI { + description + "L2VPN Virtual Forwarding Instance"; + container discovery-information { + description + "Auto Discovery information"; + uses L2VPN-BD-DISCO; + } + leaf vfi-name { + type string; + description + "Virtual forwarding instance name"; + } + leaf shutdown { + type boolean; + description + "Shutdown"; + } + leaf access { + type boolean; + description + "VFI is an Access VFI"; + } + leaf vfi-state { + type L2vpn-vfi-state; + description + "VFI state"; + } + leaf number-pseudowires { + type uint32; + description + "Number of Pseudowires"; + } + list p2mp-information { + description + "Multicast P2MP information"; + uses L2VPN-VFI-P2MP; + } + } + + grouping L2VPN-BRIDGE { + description + "L2VPN BRIDGE"; + container security-parameters { + description + "Security parameters"; + uses L2VPN-BRIDGE-SEC-PARAM; + } + container pbb-parameters { + description + "PBB parameters"; + uses L2VPN-BRIDGE-PBB-PARAMS; + } + container evpn-parameters { + description + "EVPN parameters"; + uses L2VPN-BRIDGE-EVPN-PARAMS; + } + container vni-parameters { + description + "VNI parameters"; + uses L2VPN-BRIDGE-VNI; + } + container rd { + description + "Route Distinguisher"; + uses L2VPN-RD; + } + leaf group-name { + type string; + description + "Group name"; + } + leaf bridge-name { + type string; + description + "Bridge-domain name"; + } + leaf bridge-domain-id { + type uint32; + description + "Identification number"; + } + leaf bridge-description { + type string; + description + "Human-readable bridge-domain description"; + } + leaf bridge-state { + type L2vpn-bridge-state; + description + "Bridge-domain state"; + } + leaf bridge-coupled-state { + type L2vpn-bridge-coupled-state; + description + "Bridge-domain coupled state"; + } + leaf bridge-shg-id { + type uint32; + description + "Bridge-domain shgid"; + } + leaf bridge-msti { + type uint32; + description + "Bridge-domain msti"; + } + leaf acpwup { + type uint32; + description + "Number of bridge ports (AC,PW) which are up"; + } + leaf bridge-internal-msti { + type uint32; + description + "Bridge-domain internal msti"; + } + leaf configured { + type boolean; + description + "Bridge-domain is configured"; + } + leaf number-vf-is { + type uint32; + description + "Number of virtual forwarding interfaces"; + } + leaf number-access-vf-is { + type uint32; + description + "Number of Access VFIs"; + } + leaf number-a-cs { + type uint32; + description + "Number of attachment circuits"; + } + leaf number-a-cs-up { + type uint32; + description + "Number of attachment circuits up"; + } + leaf number-pseudowires { + type uint32; + description + "Number of pseudowires"; + } + leaf number-p-ws-up { + type uint32; + description + "Number of pseudowires up"; + } + leaf standby-pseudowires { + type uint32; + description + "Number of pseudowires standby"; + } + leaf number-pb-bs { + type uint8; + description + "Number of pbbs"; + } + leaf number-pb-bs-up { + type uint8; + description + "Number of pbbs up"; + } + leaf num-vn-is { + type uint32; + description + "Number of VNIs"; + } + leaf num-vn-is-up { + type uint32; + description + "Number of VNIs up"; + } + leaf partially-programmed-pseudowires { + type uint32; + description + "Number of pseudowires partially programmed"; + } + leaf partially-programmed-a-cs { + type uint32; + description + "Number of attachment circuits partially + programmed"; + } + leaf bridge-mtu { + type uint32; + description + "Maximum transmission unit"; + } + leaf shutdown { + type boolean; + description + "Administratively disabled"; + } + leaf mac-limit-down { + type boolean; + description + "Oper down because MAC limit reached"; + } + leaf flodd-group-id-down { + type boolean; + description + "Oper down because no FGID"; + } + leaf mac-withdraw { + type boolean; + description + "MAC withdraw enabled"; + } + leaf mac-withdraw-access { + type boolean; + description + "MAC Access PW withdraw enabled"; + } + leaf mac-withdraw-relay { + type boolean; + description + "MAC Access PW withdraw relaying from access to + access enabled"; + } + leaf mac-withdraw-option { + type L2vpn-bag-mac-withdraw-option; + description + "Event on which MAC withdraw is sent"; + } + leaf p2mp-enabled { + type boolean; + description + "P2MP Enabled on this Bridge Domain"; + } + leaf bridge-type { + type L2vpn-bridge; + description + "Bridge-domain type"; + } + leaf vine-fsm-state { + type string; + description + "VNI, IRB, Native-Evpn state"; + } + leaf time-created { + type string { + length "0..50"; + } + description + "Time when the bridge domain was created"; + } + leaf time-elapsed-creation { + type string { + length "0..50"; + } + description + "Time elapsed since creation"; + } + leaf last-time-status-changed { + type string { + length "0..50"; + } + description + "Last time the bridge domain status changed"; + } + leaf time-elapsed-status-changed { + type string { + length "0..50"; + } + description + "Time elapsed since status changed"; + } + leaf load-balance { + type L2vpn-load-bal; + description + "Load Balance Type"; + } + leaf is-bridge-partially-programmed { + type boolean; + description + "Bridge is partially programmed"; + } + leaf evi { + type uint32; + description + "E-VPN id"; + } + leaf is-rd-configured { + type boolean; + description + "Config or Auto"; + } + leaf imposition-pkt-count { + type uint64; + description + "EVPN Imposition Packet Count"; + } + leaf imposition-byte-count { + type uint64; + description + "EVPN Imposition Byte Count"; + } + leaf disposition-pkt-count { + type uint64; + description + "EVPN Disposition Packet Count"; + } + leaf disposition-bytecount { + type uint64; + description + "EVPN Disposition Byte Count"; + } + leaf as { + type uint32; + description + "BGP AS number"; + } + leaf nv-satellite-offload-ipv4-multicast-disabled { + type boolean; + description + "nV Satellite Offload IPv4 Multicast Disabled"; + } + list mac-filter { + description + "MAC addresses for filtering"; + uses L2VPN-BD-MAC; + } + list bridge-vfi { + description + "Virtual Forwarding Interfaces"; + uses L2VPN-VFI; + } + list bridge-access-vfi { + description + "Access Virtual Forwarding Interfaces"; + uses L2VPN-VFI; + } + } + + grouping L2VPN-BD-AC { + description + "L2VPN Bridge Attachment Circuit"; + container attachment-circuit { + description + "Attachment Circuit"; + uses L2VPN-AC; + } + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + leaf bvi-mac-index { + type uint16; + description + "MyMac Index"; + } + list static-mac { + description + "Static MAC addresses"; + uses L2VPN-BD-MAC; + } + list bvimac { + description + "BVI MAC addresses"; + uses L2VPN-BD-MAC; + } + } + + grouping L2VPN-BAG-STORM-CONTROL-TYPE { + description + "Storm Control Configuration"; + leaf bd-policer { + type boolean; + description + "Bridge Domain Policer"; + } + leaf unicast { + type boolean; + description + "Unknown-unicast Storm Control"; + } + leaf multicast { + type boolean; + description + "Multicast Storm Control"; + } + leaf broadcast { + type boolean; + description + "Broadcast Storm Control"; + } + } + + grouping L2VPN-BRIDGE-SEC-PARAM { + description + "L2VPN BRIDGE SEC PARAM"; + container storm-control { + description + "Storm Control Configuration"; + uses L2VPN-BAG-STORM-CONTROL-TYPE; + } + leaf mac-limit { + type uint32; + description + "MAC address limit"; + } + leaf mac-limit-action { + type L2vpn-bag-mac-limit-action; + description + "MAC limit action"; + } + leaf mac-limit-notification { + type L2vpn-bag-mac-limit-notify; + description + "MAC limit notification"; + } + leaf mac-aging-time { + type uint32; + units "second"; + description + "MAC aging time in seconds"; + } + leaf mac-aging-mode { + type L2vpn-bag-mac-aging-mode; + description + "MAC Aging Mode"; + } + leaf mac-flooding { + type boolean; + description + "MAC flooding enabled"; + } + leaf mac-learning { + type boolean; + description + "MAC learning enabled"; + } + leaf learn-disabled-mac-limit-action { + type boolean; + description + "Learning disabled due to MAC limit action"; + } + leaf flood-uu-disabled-mac-limit-action { + type boolean; + description + "Flooding of unknown-unicast disabled due to MAC + limit action"; + } + leaf mac-limit-reached { + type boolean; + description + "MAC limit reached"; + } + leaf mac-limit-threshold { + type uint32; + units "percentage"; + description + "MAC Limit Threshold Percentage"; + } + leaf flood-unknown-unicast-enabled { + type boolean; + description + "Flooding unknown unicast enabled"; + } + leaf mac-port-down-flush-enabled { + type boolean; + description + "MAC Flush when port goes down"; + } + leaf split-horizon-group-id { + type uint32; + description + "Split Horizon Group ID"; + } + leaf is-ip-source-guard-enabled { + type boolean; + description + "Is IP Source Guard Enabled"; + } + leaf is-ipsg-logging-enabled { + type boolean; + description + "Is IP Source Guard Logging Enabled"; + } + leaf is-dai-enabled { + type boolean; + description + "Is Dynamic ARP Inspection Enabled"; + } + leaf is-dai-logging-enabled { + type boolean; + description + "Is DAI Logging Enabled"; + } + leaf is-dai-addr-validate-source-mac-enabled { + type boolean; + description + "Is DAI Source MAC Address Validation Enabled"; + } + leaf is-dai-addr-validate-destination-mac-enabled { + type boolean; + description + "Is DAI Dstination MAC Address Validation Enabled"; + } + leaf is-dai-addr-validate-ipv4-enabled { + type boolean; + description + "Is DAI IPv4 Addr Validation Enabled"; + } + leaf is-mac-secure-enabled { + type boolean; + description + "Is MAC Secure Enabled"; + } + leaf mac-secure-action { + type L2vpn-bag-mac-secure-action; + description + "MAC Secure Action"; + } + leaf is-mac-secure-logging-enabled { + type boolean; + description + "Is MAC Secure Logging Enabled"; + } + leaf is-mac-secure-accept-shutdown-enabled { + type boolean; + description + "Is MAC Secure Accept Shutdown Enabled (BP only)"; + } + leaf is-mac-secure-threshold-enabled { + type boolean; + description + "Is MAC Secure Threshold Enabled"; + } + leaf dai-address-validation-mask { + type uint8; + description + "DAI Address Validation mask"; + } + leaf dhcpv4-snoop { + type boolean; + description + "DHCPv4 Snoop Status"; + } + leaf dhcpv4-profile-name { + type string; + description + "DHCPv4 Profile Name"; + } + leaf igm-pv4-disabled { + type boolean; + description + "IGMPv4 Disabled"; + } + leaf igm-pv4-profile-name { + type string; + description + "IGMPv4 Profile Name"; + } + leaf mld-profile-name { + type string; + description + "MLD Profile Name"; + } + leaf mmrp-flood-optimization { + type boolean; + description + "MMRP Flood Optimization Status"; + } + leaf unicast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Unicast Storm Control Rate Unit"; + } + leaf unicast-storm-control-pps { + type uint64; + description + "Unicast Storm Control PPS"; + } + leaf unicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Unicast Storm Control KbPS"; + } + leaf multicast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Multicast Storm Control Rate Unit"; + } + leaf multicast-storm-control-pps { + type uint64; + description + "Multicast Storm Control PPS"; + } + leaf multicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Multicast Storm Control KbPS"; + } + leaf broadcast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Broadcast Storm Control Rate Unit"; + } + leaf broadcast-storm-control-pps { + type uint64; + description + "Broadcast Storm Control PPS"; + } + leaf broadcast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Broadcast Storm Control KbPS"; + } + } + + grouping L2VPN-BRIDGE-PORT-SEC-PARAM { + description + "L2VPN BRIDGE PORT SEC PARAM"; + container base { + description + "Basic Security Parameters"; + uses L2VPN-BRIDGE-SEC-PARAM; + } + container storm-control { + description + "Storm Control Configuration"; + uses L2VPN-BAG-STORM-CONTROL-TYPE; + } + leaf unicast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Unicast Storm Control Rate Unit"; + } + leaf unicast-storm-control-pps { + type uint64; + description + "Unicast Storm Control PPS"; + } + leaf unicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Unicast Storm Control KbPS"; + } + leaf multicast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Multicast Storm Control Rate Unit"; + } + leaf multicast-storm-control-pps { + type uint64; + description + "Multicast Storm Control PPS"; + } + leaf multicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Multicast Storm Control KbPS"; + } + leaf broadcast-storm-control-rate-unit { + type L2vpn-bag-storm-control-rate-unit; + description + "Broadcast Storm Control Rate Unit"; + } + leaf broadcast-storm-control-pps { + type uint64; + description + "Broadcast Storm Control PPS"; + } + leaf broadcast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Broadcast Storm Control KbPS"; + } + leaf dhcpv4-trust { + type boolean; + description + "DHCPv4 Trust Status"; + } + } + + grouping L2VPN-BD-MAC { + description + "L2VPN Static MAC Address"; + leaf address { + type yang:mac-address; + description + "MAC address"; + } + leaf bmac { + type yang:mac-address; + description + "Backbone MAC address"; + } + leaf next-hop-ip { + type inet:ipv4-address; + description + "Next Hop IP"; + } + } + + grouping L2VPN-BD-PW { + description + "L2VPN Bridge Pseudowire"; + container pseudowire { + description + "Pseudowire"; + uses L2VPN-PW; + } + container security-parameters { + description + "Security Parameters"; + uses L2VPN-BRIDGE-PORT-SEC-PARAM; + } + leaf is-access { + type boolean; + description + "Is Access PW"; + } + list static-mac { + description + "Static MAC addresses"; + uses L2VPN-BD-MAC; + } + } + + grouping L2VPN-RESOURCE-STATE { + description + "L2VPN Resource State"; + leaf resource-out-of-memory-state { + type uint32; + description + "L2VPN Out of memory state"; + } + } + + grouping L2VPN-PWHE-RANGE { + description + "L2VPN PWHE RANGE"; + leaf lower { + type uint16; + description + "lower range"; + } + leaf upper { + type uint16; + description + "upper range"; + } + } + + grouping L2VPN-GENERIC-IF-LIST { + description + "L2VPN GENERIC IF LIST"; + leaf interface-list-name-xr { + type string { + length "0..33"; + } + description + "Interface-list name"; + } + leaf interface-list-id { + type uint32; + description + "Interface internal ID"; + } + leaf number-of-interfaces { + type uint32; + description + "Number of interfaces"; + } + leaf items { + type uint32; + description + "Number of items"; + } + list interface { + description + "Interfaces"; + uses IFLIST-IF; + } + } + + grouping L2VPN-GENERIC-IF-LIST-DETAIL { + description + "L2VPN GENERIC IF LIST DETAIL"; + container summary { + description + "Summary information"; + uses L2VPN-GENERIC-IF-LIST; + } + leaf items { + type uint32; + description + "Number of items"; + } + leaf is-provisioned { + type boolean; + description + "Is Provisioned"; + } + leaf psedowire-ether-items { + type uint32; + description + "Number PW Ether Items"; + } + leaf pseudowire-iw-items { + type uint32; + description + "Number PW IW Items"; + } + list interface { + max-elements "8"; + description + "Interfaces"; + uses IFLIST-IF; + } + list pseudowire-ether-range { + description + "PW-Ether ranges"; + uses L2VPN-PWHE-RANGE; + } + list pseudowire-iw-range { + description + "PW-IW ranges"; + uses L2VPN-PWHE-RANGE; + } + } + + grouping L2VPN-MSTI-BD-ENTRY { + description + "L2VPN MSTi BD Entry"; + leaf bdid { + type uint32; + description + "BD ID"; + } + leaf bdif-count { + type uint32; + description + "BD Intf Count"; + } + } + + grouping L2VPN-MSTI-ENTRY { + description + "L2VPN MSTI Entry"; + leaf cfg-ms-ti { + type uint32; + description + " Configured MSTi"; + } + leaf rcv-count { + type uint32; + description + "Receive count "; + } + leaf ack-count { + type uint32; + description + "Ack count "; + } + leaf nack-count { + type uint32; + description + "Nack count "; + } + leaf flush-count { + type uint32; + description + "Flush count "; + } + leaf interface-count { + type uint32; + description + "Interface count"; + } + leaf bd-count { + type uint32; + description + "BD count"; + } + leaf msti-flags { + type uint32; + description + "Msti Flags"; + } + leaf msti-state { + type L2vpn-msti-state; + description + "Msti State"; + } + list bd-entry { + description + "BD entries"; + uses L2VPN-MSTI-BD-ENTRY; + } + } + + grouping L2VPN-MSTP-PORT { + description + "L2VPN MSTP PORT"; + leaf mstp-interface-handle { + type xr:Interface-name; + description + "Interface handle"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf protected { + type boolean; + description + "Protected"; + } + leaf reference-count { + type uint32; + description + "Reference Count"; + } + list msti-entry { + description + "MSTI"; + uses L2VPN-MSTI-ENTRY; + } + } + + grouping L2VPN-XC-SUMMARY { + description + "L2VPN XC SUMMARY"; + leaf number-groups { + type uint32; + description + "Number of groups"; + } + leaf number-xconnects { + type uint32; + description + "Number of xconnects"; + } + leaf number-xconnects-up { + type uint32; + description + "Numxber of xconnects whose state is up"; + } + leaf number-xconnects-down { + type uint32; + description + "Number of xconnects whose state is down"; + } + leaf number-xconnects-unresolved { + type uint32; + description + "Number of xconnects whose state is unresolved"; + } + leaf number-xconnects-administratively-down { + type uint32; + description + "Number of xconnects with segments in admin down + state"; + } + leaf number-xconnects-type-attachment-circuit-to-pseudo-wire { + type uint32; + description + "Number of xconnects of type attachment circuit + to pseudowire"; + } + leaf number-xconnects-type-monitor-session-to-pseudo-wire { + type uint32; + description + "Number of xconnects of type monitor session to + pseudowire"; + } + leaf number-xconnects-locally-switched { + type uint32; + description + "Number of locally switched xconnects"; + } + leaf number-xconnects-with-backup-pw { + type uint32; + description + "Number of XCs configured with backup PW"; + } + leaf number-xconnects-currently-using-backup { + type uint32; + description + "Number of XCs currently using backup PW (UP + state)"; + } + leaf down-backup-xconnects { + type uint32; + description + "Number of XCs with backup PW in down state"; + } + leaf admin-down-backup-xconnects { + type uint32; + description + "Number of XCs with backup PW in admin down state"; + } + leaf unresolved-backup-xconnects { + type uint32; + description + "Number of XCs with backup PW in unresolved state"; + } + leaf standby-backup-xconnects { + type uint32; + description + "Number of XCs with backup PW in standby state"; + } + leaf standby-ready-backup-xconnects { + type uint32; + description + "Number of XCs with backup PW in standby ready + state"; + } + leaf out-of-memory-state { + type uint32; + description + "L2VPN Out of memory state"; + } + leaf number-xconnects-type-pseudo-wire-to-pseudo-wire { + type uint32; + description + "Number of xconnects of type PseudoWire To + PseudoWire"; + } + leaf number-mp2mp-xconnects { + type uint32; + description + "Number of mp2mp xconnects"; + } + leaf number-mp2mp-xconnects-up { + type uint32; + description + "Number of Mp2mp XCs that have been admined up"; + } + leaf number-mp2mp-xconnects-down { + type uint32; + description + "Number of Mp2mp XCs that have ben admined down"; + } + leaf number-mp2mp-xconnects-advertised { + type uint32; + description + "Number of Mp2mp XCs that have been advertized"; + } + leaf number-mp2mp-xconnectss-not-advertised { + type uint32; + description + "Number of Mp2mp XCs that have not been + advertized"; + } + leaf number-ce2-ceconnections { + type uint32; + description + "Number of Ce2Ce connections"; + } + leaf number-ce2ce-advertized { + type uint32; + description + "Number of CE2CE connections that have been + advertized"; + } + leaf number-ce2ce-not-advertized { + type uint32; + description + "Number of CE2CE connections that have not been + advertized"; + } + leaf partially-programmed-xconnects { + type uint32; + description + "Number of cross-connects partially programmed"; + } + leaf number-xconnects-with-backup-interface { + type uint32; + description + "Number of XCs configured with backup interface"; + } + leaf number-xconnects-currently-using-backup-interface { + type uint32; + description + "Number of XCs currently using backup interface + (UP state)"; + } + leaf down-backup-interface-xconnects { + type uint32; + description + "Number of XCs with backup interface in down + state"; + } + leaf admin-down-backup-interface-xconnects { + type uint32; + description + "Number of XCs with backup interface in admin + down state"; + } + leaf unresolved-backup-interface-xconnects { + type uint32; + description + "Number of XCs with backup interface in + unresolved state"; + } + leaf standby-backup-interface-xconnects { + type uint32; + description + "Number of XCs with backup interface in standby + state"; + } + } + + grouping L2VPN-INDEX-INFO { + description + "L2VPN ID Info"; + leaf pool-id-xr { + type uint32; + description + "Pool Id"; + } + leaf application-type { + type L2vpn-id-mgr-app-bag; + description + "Application Type"; + } + leaf allocated-ids { + type uint32; + description + "Number of IDs allocated"; + } + leaf zombied-ids { + type uint32; + description + "Number of IDs allocated"; + } + leaf pool-size { + type uint32; + description + "Pool size"; + } + leaf max-num-id-mgr { + type uint32; + description + "Maximum number of pool extensions"; + } + leaf num-id-mgr-in-use { + type uint32; + description + "ID mgr instances in use"; + } + } + + grouping L2VPN-RT-ES-IMPORT { + description + "L2VPN RT ES IMPORT"; + leaf high-bytes { + type uint32; + description + "Top 4 bytes of ES Import"; + } + leaf low-bytes { + type uint16; + description + "Low 2 bytes of ES Import"; + } + } + + grouping L2VPN-RT-V4ADDR { + description + "L2VPN RT V4ADDR"; + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RT-4BYTE-AS { + description + "L2VPN RT 4BYTE AS"; + leaf four-byte-as { + type uint32; + description + "4 Byte AS Number"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RT-2BYTE-AS { + description + "L2VPN RT 2BYTE AS"; + leaf two-byte-as { + type uint16; + description + "2 Byte AS Number"; + } + leaf four-byte-index { + type uint32; + description + "4 Byte Index"; + } + } + + grouping L2VPN-RT { + description + "L2VPN RT"; + container two-byte-as { + when "../rt = 'l2vpn-ad-rt-as'" { + description + "../RT = 'L2VPN_AD_RT_AS'"; + } + description + "two byte as"; + uses L2VPN-RT-2BYTE-AS; + } + container four-byte-as { + when "../rt = 'l2vpn-ad-rt-4byte-as'" { + description + "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; + } + description + "four byte as"; + uses L2VPN-RT-4BYTE-AS; + } + container v4-addr { + when "../rt = 'l2vpn-ad-rt-v4-addr'" { + description + "../RT = 'L2VPN_AD_RT_V4ADDR'"; + } + description + "v4 addr"; + uses L2VPN-RT-V4ADDR; + } + container es-import { + when "../rt = 'es-import'" { + description + "../RT = 'ES_Import'"; + } + description + "es import"; + uses L2VPN-RT-ES-IMPORT; + } + leaf rt { + type L2vpn-ad-rt; + description + "RT"; + } + } + + grouping L2VPN-XC-DISCO { + description + "L2VPN XC DISCO"; + container rd-value { + description + "Route Distinguisher"; + uses L2VPN-RD; + } + leaf ad-method { + type uint32; + description + "Autodiscovery Method"; + } + leaf vpn-added { + type boolean; + description + "VPN Added"; + } + leaf ad-service-connected { + type boolean; + description + "Service Connected"; + } + leaf ad-signalling-method { + type uint32; + description + "Signaling Protocol"; + } + leaf ce-range { + type uint16; + description + "CE Range"; + } + leaf export-route-policy { + type string; + description + "Export Route Policy"; + } + leaf number-a-cs-up { + type uint32; + description + "Number of attachment circuits up"; + } + leaf number-p-ws-up { + type uint32; + description + "Number of pseudowires up"; + } + leaf number-ce2ce-advertised { + type uint32; + description + "Number of ce2ce Advertised"; + } + leaf number-a-cs { + type uint32; + description + "Number of attachment circuits"; + } + leaf number-pseudowires { + type uint32; + description + "Number of pseudowires"; + } + leaf number-ce2c-es { + type uint32; + description + "Number of ce2ce"; + } + list import-rt { + description + "Import Route Targets"; + uses L2VPN-RT; + } + list export-rt { + description + "Export Route Targets"; + uses L2VPN-RT; + } + } + + grouping L2VPN-MP2MP-XC { + description + "L2VPN MP2MP XC"; + container discovery { + description + "l2vpn xc auto discovery info"; + uses L2VPN-XC-DISCO; + } + leaf group-name-xr { + type string; + description + "Group name"; + } + leaf mp2mp-name { + type string; + description + "MP2MP name"; + } + leaf mp2mpid { + type uint32; + description + "Identification Number"; + } + leaf vpn-id { + type uint32; + description + "Vpn ID"; + } + leaf vpn-mtu { + type uint32; + description + "VPN MTU"; + } + leaf l2-encapsulation { + type L2vpn-bag-ad-encap; + description + "L2 Encapsulation"; + } + leaf xconnect-shutdown { + type boolean; + description + "Administratively disabled"; + } + } + + grouping L2VPN-GROUP { + description + "L2VPN GROUP"; + leaf group-name-xr { + type string; + description + "Group name"; + } + leaf number-xconnects { + type uint32; + description + "Number of xconnects"; + } + } + + grouping L2VPN-P2MP-PW { + description + "L2VPN P2MP PW"; + leaf local-available { + type boolean; + description + "Local LSM info available"; + } + leaf local-label { + type uint32; + description + "Local Label"; + } + leaf local-ptree-type { + type L2vpn-p2mp-pw-ptree; + description + "Local P-Tree Type"; + } + leaf local-tunnel-id { + type uint32; + description + "Local Tunnel ID"; + } + leaf local-extended-tunnel-id { + type inet:ipv4-address; + description + "Local Extended Tunnel ID"; + } + leaf local-p2mp-id { + type uint32; + description + "Local P2MP ID"; + } + leaf local-flags { + type uint8; + description + "Local Flags (see + draft-ietf-l3vpn-2547bis-mcast-bgp-08)"; + } + leaf remote-available { + type boolean; + description + "Remote LSM info available"; + } + leaf remote-label { + type uint32; + description + "Remote Label"; + } + leaf remote-ptree-type { + type L2vpn-p2mp-pw-ptree; + description + "Remote P-Tree Type"; + } + leaf remote-tunnel-id { + type uint32; + description + "Remote Tunnel ID"; + } + leaf remote-extended-tunnel-id { + type inet:ipv4-address; + description + "Remote Extended Tunnel ID"; + } + leaf remote-p2mp-id { + type uint32; + description + "Remote P2MP ID"; + } + leaf remote-flags { + type uint8; + description + "Remote Flags (see + draft-ietf-l3vpn-2547bis-mcast-bgp-08)"; + } + } + + grouping L2VPN-MS-PW-TLV-INFO { + description + "L2VPN MS PW TLV INFO"; + leaf pw-id { + type uint32; + description + "PW ID of last PW segment traversed"; + } + leaf local-address { + type inet:ipv4-address; + description + "Local IP Address of PW Switching Point"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Remote IP Address of Last PW Switching Point + traversed"; + } + leaf description { + type string; + description + "PW Switching Point description"; + } + } + + grouping L2VPN-MS-PW { + description + "L2VPN MS PW"; + container status-tlv { + description + "PW Status Switching TLV"; + uses L2VPN-MS-PW-TLV-INFO; + } + leaf pw-status { + type uint32; + description + "PW Status"; + } + list tlv { + description + "Switching TLV info"; + uses L2VPN-MS-PW-TLV-INFO; + } + } + + grouping L2VPN-MPLS-PREFPATH { + description + "L2VPN MPLS PREFPATH"; + leaf policy-name { + type string; + description + "SR TE Policy Name"; + } + } + + grouping L2VPN-PW-MPLS-PREFPATH { + description + "L2VPN PW MPLS PREFPATH"; + container srte-policy { + when "../option = 'l2vpn-pw-mpls-pref-path-sr-te'" { + description + "../Option = 'L2VPN_PW_MPLS_PREFPATH_SR_TE'"; + } + description + "srte policy"; + uses L2VPN-MPLS-PREFPATH; + } + leaf option { + type L2vpn-prefpath-option; + description + "Option"; + } + leaf next-hop-ip { + when "../option = 'l2vpn-pw-mpls-pref-path-next-hop-ip'" { + description + "../Option = + 'L2VPN_PW_MPLS_PREFPATH_NEXT_HOP_IP'"; + } + type uint32; + description + "NextHopIP"; + } + leaf te-tunnel-interface-number { + when "../option = 'l2vpn-pw-mpls-pref-path-te-tunnel'" { + description + "../Option = 'L2VPN_PW_MPLS_PREFPATH_TE_TUNNEL'"; + } + type uint32; + description + "TETunnelInterfaceNumber"; + } + leaf ip-tunnel-interface-number { + when "../option = 'l2vpn-pw-mpls-pref-path-ip-tunnel'" { + description + "../Option = 'L2VPN_PW_MPLS_PREFPATH_IP_TUNNEL'"; + } + type uint32; + description + "IPTunnelInterfaceNumber"; + } + leaf tp-tunnel-interface-number { + when "../option = 'l2vpn-pw-mpls-pref-path-tp-tunnel'" { + description + "../Option = 'L2VPN_PW_MPLS_PREFPATH_TP_TUNNEL'"; + } + type uint32; + description + "TPTunnelInterfaceNumber"; + } + } + + grouping L2VPN-L2TPV3 { + description + "L2VPN L2TPV3"; + leaf l2tp-class-name { + type string { + length "0..32"; + } + description + "L2TPClassName"; + } + leaf ipv4-source-address { + type inet:ipv4-address; + description + "IPv4 source address"; + } + leaf ipv6-source-address { + type inet:ipv6-address; + description + "IPv6 source address"; + } + leaf path-mtu-enabled { + type boolean; + description + "Path MTU enabled"; + } + leaf path-mtu-max-value { + type uint16; + description + "Path MTU Maximum allowable session MTU"; + } + leaf dont-fragment-bit { + type boolean; + description + "Don't Fragment Bit"; + } + leaf tos-mode { + type L2vpn-tos-mode; + description + "Type Of Service Mode"; + } + leaf tos { + type uint8; + description + "Type Of Service Value"; + } + leaf ttl { + type uint8; + description + "Time To Live value"; + } + leaf local-session-id { + type uint32; + description + "Local session id"; + } + leaf remote-session-id { + type uint32; + description + "Remote session id"; + } + leaf local-cookie-size { + type uint8; + description + "Local cookie size: 0, 4, or 8 bytes"; + } + leaf remote-cookie-size { + type uint8; + description + "Remote cookie size: 0, 4, or 8 bytes"; + } + leaf local-cookie-low-value { + type uint32; + description + "Lower 4 bytes of the value of the local cookie"; + } + leaf remote-cookie-low-value { + type uint32; + description + "Lower 4 bytes of the value of the remote cookie"; + } + leaf local-cookie-high-value { + type uint32; + description + "Upper 4 bytes of the value of the local cookie"; + } + leaf remote-cookie-high-value { + type uint32; + description + "Upper 4 bytes of the value of the remote cookie"; + } + leaf remote-circuit-status-up { + type boolean; + description + "RemoteCircuitStatusUp"; + } + leaf tunnel-state { + type L2vpn-l2tp-tunnel-state; + description + "L2TP tunnel state"; + } + leaf local-secondary-cookie-size { + type uint8; + description + "Local secondary cookie size: 0, 4, or 8 bytes"; + } + leaf local-secondary-cookie-low-value { + type uint32; + description + "Lower 4 bytes of the value of the local + secondary cookie"; + } + leaf local-secondary-cookie-high-value { + type uint32; + description + "Upper 4 bytes of the value of the local + secondary cookie"; + } + } + + grouping L2FIB-STATS-BAG-MSPW { + description + "L2FIB Multisegment pseudowire statistics"; + leaf received-packets { + type uint64; + description + "Packets received"; + } + leaf received-bytes { + type uint64; + units "byte"; + description + "Bytes received"; + } + } + + grouping L2VPN-ATOM { + description + "L2VPN ATOM"; + container local-agi { + description + "Local Attachment Group Identifier"; + uses L2VPN-VPLS-ID; + } + container remote-agi { + description + "Remote Attachment Group Identifier"; + uses L2VPN-VPLS-ID; + } + container multi-segment-pseudowire-stats { + description + "Multisegment pseudowire statistics"; + uses L2FIB-STATS-BAG-MSPW; + } + leaf is-pseudowire-headend { + type boolean; + description + "Is this connected to a PW-HE AC"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + leaf remote-label { + type uint32; + description + "Remote label"; + } + leaf local-group-id { + type uint32; + description + "Local group ID"; + } + leaf remote-group-id { + type uint32; + description + "Remote group ID"; + } + leaf local-cv-type { + type uint8; + description + "Local VCCV CV type"; + } + leaf local-c-ctype { + type uint8; + description + "Local VCCV CC type"; + } + leaf remote-cv-type { + type uint8; + description + "Remote VCCV CV type"; + } + leaf remote-c-ctype { + type uint8; + description + "Remote VCCV CC type"; + } + leaf local-veid { + type uint32; + description + "Local VE ID"; + } + leaf remote-veid { + type uint32; + description + "Remote VE ID"; + } + leaf local-ceid { + type uint32; + description + "Local CE ID"; + } + leaf remote-ceid { + type uint32; + description + "Remote CE ID"; + } + leaf source-address { + type inet:ipv4-address; + description + "Local BGP source address"; + } + leaf remote-source-address { + type inet:ipv4-address; + description + "Remote BGP source address"; + } + leaf local-ldp-id { + type inet:ipv4-address; + description + "Local LDP ID"; + } + leaf remote-ldp-id { + type inet:ipv4-address; + description + "Remote LDP ID"; + } + leaf saii { + type inet:ipv4-address; + description + "Source Attachment Individual Identifer"; + } + leaf taii { + type inet:ipv4-address; + description + "Target Attachment Individual Identifer"; + } + leaf is-sai-itype2 { + type boolean; + description + "Is SAII FEC129 Type 2"; + } + leaf local-saii-gbl-id { + type uint32; + description + "Local SAII Global ID"; + } + leaf local-saiiac-id { + type uint32; + description + "Local SAII AC ID"; + } + leaf is-tai-itype2 { + type boolean; + description + "Is TAII type 2"; + } + leaf local-taii-gbl-id { + type uint32; + description + "Local TAII Global ID"; + } + leaf local-taiiac-id { + type uint32; + description + "Local TAII AC ID"; + } + leaf rem-saii-gbl-id { + type uint32; + description + "Remote SAII Global ID"; + } + leaf rem-saiiac-id { + type uint32; + description + "Remote SAII AC ID"; + } + leaf rem-taii-gbl-id { + type uint32; + description + "Remote TAII Global ID"; + } + leaf rem-taiiac-id { + type uint32; + description + "Remote TAII AC ID"; + } + leaf rem-saii { + type inet:ipv4-address; + description + "Remote Source Attachment Individual Identifer"; + } + leaf rem-taii { + type inet:ipv4-address; + description + "Remote Target Attachment Individual Identifer"; + } + leaf lsd-rewrite-failed { + type boolean; + description + "LSD rewrite failed"; + } + leaf ldp-label-advertisment-failed { + type boolean; + description + "LDP label advertisment failed"; + } + } + + grouping L2VPN-ENCAP-PW { + description + "L2VPN ENCAP PW"; + container atom { + when "../encapsulation = 'l2vpn-pw-encaps-mpls'" { + description + "../Encapsulation = 'L2VPN_PW_ENCAPS_MPLS'"; + } + description + "atom"; + uses L2VPN-ATOM; + } + container l2tpv3 { + when "../encapsulation = 'l2vpn-pw-encaps-l2tpv3'" { + description + "../Encapsulation = 'L2VPN_PW_ENCAPS_L2TPV3'"; + } + description + "l2tpv3"; + uses L2VPN-L2TPV3; + } + leaf encapsulation { + type L2vpn-encap-method; + description + "Encapsulation"; + } + } + + grouping L2VPN-PEER { + description + "L2VPN PEER"; + leaf type { + type L2vpn-peer; + description + "type"; + } + leaf ipv4-peer-id { + when "../type = 'ipv4'" { + description + "../type = 'IPV4'"; + } + type inet:ipv4-address; + description + "Peer IPv4 address"; + } + leaf ipv6-peer-id { + when "../type = 'ipv6'" { + description + "../type = 'IPV6'"; + } + type L2vpn-bag-in6-addr; + description + "Peer IPv6 address"; + } + leaf internal-label { + when "../type = 'internal-label'" { + description + "../type = 'InternalLabel'"; + } + type uint32; + description + "Internal Label"; + } + } + + grouping L2VPN-PW { + description + "L2VPN PW"; + container peer-id { + description + "Peer"; + uses L2VPN-PEER; + } + container encapsulation-info { + description + "Encapsulation specific pseudowire information"; + uses L2VPN-ENCAP-PW; + } + container local-interface { + description + "Local interface"; + uses L2VPN-INTERFACE; + } + container remote-interface { + description + "Remote interface"; + uses L2VPN-INTERFACE; + } + container preferred-path { + description + "MPLS Preferred Path"; + uses L2VPN-PW-MPLS-PREFPATH; + } + container local-signalling { + description + "Local signalling"; + uses L2VPN-MS-PW; + } + container remote-signalling { + description + "Remote signalling"; + uses L2VPN-MS-PW; + } + container statistics { + description + "Statistics"; + uses L2FIB-STATS-BAG-FORWARDING; + } + container p2mp-pw { + description + "P2MP Pseudowire Information"; + uses L2VPN-P2MP-PW; + } + leaf local-source-address { + type inet:ipv4-address; + description + "Local Source Address"; + } + leaf ipv6-local-source-address { + type inet:ipv6-address; + description + "Local IPv6 Source Address"; + } + leaf pseudo-wire-id { + type uint64; + description + "Pseudowire ID"; + } + leaf is-pwr-type { + type boolean; + description + "is Pseudowire-routed"; + } + leaf is-evpn-vpws-type { + type boolean; + description + "is EVPN VPWS"; + } + leaf xconnect-id { + type uint32; + description + "XConnect ID"; + } + leaf state { + type L2vpn-segment-state; + description + "State"; + } + leaf pseudo-wire-state { + type L2vpn-pw-state; + description + "Pseudowire state"; + } + leaf protocol { + type L2vpn-signalling-proto; + description + "Protocol"; + } + leaf pw-class-name { + type string { + length "0..33"; + } + description + "Pseudowire class name"; + } + leaf tag-rewrite { + type uint16; + description + "StaticTagRewrite"; + } + leaf interworking { + type L2vpn-interworking; + description + "Interworking type"; + } + leaf fe-ctype { + type L2vpn-pw-fec; + description + "Pseudowire FEC type"; + } + leaf evpn-src-acid { + type uint32; + description + "EVPN VPWS Source AC ID"; + } + leaf sequencing-type { + type L2vpn-pw-sequence; + description + "Sequencing Type"; + } + leaf resync-enabled { + type boolean; + description + "Resync if packets out of sequence"; + } + leaf resync-threshold { + type uint32; + description + "Number of Packets Out of Seqence to trigger + resync"; + } + leaf local-control-word { + type L2vpn-pw-control-word; + description + "Local control word"; + } + leaf remote-control-word { + type L2vpn-pw-control-word; + description + "Remote control word"; + } + leaf local-pseudo-wire-type { + type L2vpn-pw; + description + "Local pseudowire type"; + } + leaf remote-pseudo-wire-type { + type L2vpn-pw; + description + "Remote pseudowire type"; + } + leaf imposed-vlan-id { + type uint32; + description + "Imposed vlan id"; + } + leaf time-created { + type string { + length "0..50"; + } + description + "Time when the pseudowire was created"; + } + leaf time-elapsed-creation { + type string { + length "0..50"; + } + description + "Time elapsed since creation"; + } + leaf last-time-status-changed { + type string { + length "0..50"; + } + description + "Last time the pseudowire status changed"; + } + leaf time-elapsed-status-changed { + type string { + length "0..50"; + } + description + "Time elapsed since status changed"; + } + leaf last-time-status-down { + type string { + length "0..50"; + } + description + "Last time the pseudowire went down in format + %d/%m/%Y %H:%M:%S"; + } + leaf time-elapsed-status-down { + type uint32; + units "second"; + description + "Time elapsed since last status down in seconds"; + } + leaf shutdown { + type boolean; + description + "Shutdown"; + } + leaf data-path-down { + type boolean; + description + "True if LSP down"; + } + leaf use-tunnel-path { + type boolean; + description + "True if using TE tunnel"; + } + leaf odn-configured { + type boolean; + description + "True if ODN is configured"; + } + leaf pseudo-wire-type-mismatched { + type boolean; + description + "Pseudowire type mismatched"; + } + leaf payload-bytes-mismatched { + type boolean; + description + "Payload bytes mismatched"; + } + leaf bitrate-mismatched { + type boolean; + description + "Bitrate mismatched"; + } + leaf rtp-mismatched { + type boolean; + description + "RTP mismatched"; + } + leaf diff-ts-mismatched { + type boolean; + description + "Differential timestamp mismatched"; + } + leaf sig-pkts-mismatched { + type boolean; + description + "Signalling packets mismatched"; + } + leaf cas-mismatched { + type boolean; + description + "CAS mismatched"; + } + leaf payload-type-mismatched { + type boolean; + description + "Payload bytes mismatched"; + } + leaf freq-mismatched { + type boolean; + description + "Frequency mismatched"; + } + leaf ssrc-mismatched { + type boolean; + description + "SSRC mismatched"; + } + leaf mtu-mismatched { + type boolean; + description + "MTU mismatched"; + } + leaf illegal-control-word { + type boolean; + description + "Illegal control word"; + } + leaf ad-remote-down { + type boolean; + description + "Auto-Discovered PW remote state down"; + } + leaf not-supported-qinq { + type boolean; + description + "A true value indicates that QinQ is not + supported with L2TPv3; A false value indicates + that it is supported. Please note that this + object has been deprecated and will be removed + in the near future since QinQ is supported going + forward."; + } + leaf local-label-failed { + type boolean; + description + "Failed to set BGP advertised local label"; + } + leaf remote-label-failed { + type boolean; + description + "Failed to set BGP advertised remote label"; + } + leaf preferred-path-disable-fallback { + type boolean; + description + "Prefpath fallback enable/disable"; + } + leaf backup-pw { + type boolean; + description + "TRUE if PW is a backup PW"; + } + leaf primary-pw { + type boolean; + description + "TRUE if PW is a primary PW"; + } + leaf backup-active { + type boolean; + description + "TRUE if backup is active"; + } + leaf backup-force-active { + type boolean; + description + "TRUE if backup is active due to switchover"; + } + leaf disable-never { + type boolean; + description + "TRUE if backup is not automatically disabled"; + } + leaf disable-delay { + type uint8; + description + "Backup disable delay"; + } + leaf primary-peer-id { + type inet:ipv4-address; + description + "Primary Peer IP address"; + } + leaf primary-pseudo-wire-id { + type uint64; + description + "Primary Pseudowire ID"; + } + leaf number-ma-cwithdraw-message-sent { + type uint32; + description + "Num MW messages sent over PW"; + } + leaf num-ma-cwithdraw-msg-received { + type uint32; + description + "Num MW messages received over PW"; + } + leaf out-of-memory-state { + type uint32; + description + "L2VPN Out of memory state"; + } + leaf transport-lsp-down { + type boolean; + description + "Oper down due to Transport LSP down"; + } + leaf mac-limit-oper-down { + type boolean; + description + "Oper down because MAC limit reached"; + } + leaf pw-status-use { + type boolean; + description + "PW status in use"; + } + leaf auto-discovery { + type boolean; + description + "Is autodiscovery"; + } + leaf ad-method { + type uint32; + description + "Autodiscovery method"; + } + leaf pwlsd-rewrite-failed { + type boolean; + description + "LSD rewrite failed"; + } + leaf ldp-label-advertise-failed { + type boolean; + description + "LDP label advertisment failed"; + } + leaf is-vfi { + type boolean; + description + "Is VFI interface"; + } + leaf is-multi-segment-pseudowire { + type boolean; + description + "Is Multi-Segment Pseudowire"; + } + leaf pw-redundancy-one-way { + type boolean; + description + "Force one-way PW redundancy behaviour in + Redundancy Group"; + } + leaf load-balance { + type L2vpn-load-bal; + description + "Load Balance Type"; + } + leaf pw-flow-label-type { + type L2vpn-pw-flow-label; + description + "Negotiated pseudowire flow label type"; + } + leaf pw-flow-label-type-cfg { + type L2vpn-pw-flow-label; + description + "Configured pseudowire flow label Type"; + } + leaf pw-flow-label-code17-disabled { + type boolean; + description + "Disable sending Code 17 TLV"; + } + leaf is-flow-label-static { + type boolean; + description + "is flow label static"; + } + leaf is-partially-programmed { + type boolean; + description + "Is Pseudowire partially programmed"; + } + leaf pw-redundancy-initial-delay { + type uint8; + units "second"; + description + "Initial delay for redundant PW in seconds"; + } + leaf bridge-pw-type-mismatch { + type boolean; + description + "Oper down because Bridge has mismatched PW Types"; + } + leaf required-bw { + type uint32; + description + "Required Bandwidth"; + } + leaf admited-bw { + type uint32; + description + "Admited Bandwidth"; + } + leaf forward-class { + type uint8; + description + "Forward Class attribute"; + } + leaf table-policy-name { + type string; + description + "Table-policy Name"; + } + } + + grouping L2VPN-PROTECTION { + description + "L2VPN PROTECTION"; + leaf protection-type { + type L2vpn-protection; + description + "Type of the protection"; + } + leaf protection-configured { + type L2vpn-protection-role; + description + "Protection configured"; + } + leaf protection-name { + type string { + length "0..65"; + } + description + "Name of the segment acting as backup"; + } + leaf protected-name { + type string { + length "0..65"; + } + description + "Name of the protected segment"; + } + leaf active { + type boolean; + description + "Active"; + } + } + + grouping L2FIB-STATS-BAG-SEQ-NUM { + description + "L2FIB sequence numbers"; + leaf sequence-number-sent { + type uint32; + description + "sequence number sent"; + } + leaf sequence-number-expected { + type uint32; + description + "sequence number expected"; + } + leaf bypassed-inbound-sequence-packet { + type uint64; + description + "Bypassed inbound sequence packets"; + } + leaf bypassed-out-sequence-packet { + type uint64; + description + "Bypassed outbound sequence packets"; + } + } + + grouping L2FIB-STATS-BAG-DISP { + description + "L2FIB disposition statistics"; + container disposition-stat { + description + "disposition stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container disposition-mtu-drop { + description + "disposition mtu drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container disposition-tail-drop { + description + "disposition tail drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container multicast-drop { + description + "disposition storm control multicast drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container unicast-drop { + description + "disposition storm control unknown unicast drop + stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container broadcast-drop { + description + "disposition storm control broadcast drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container received-drops { + description + "tx discards"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container dai-drop { + description + "Disposition dynamic ARP inspection drop + statistics"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container ipsg-drop { + description + "disposition IP source guard drop statistics"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container disposition-oo-o-drops { + description + "Disposition Out-of-Order Drops"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container disposition-p2mp-stats { + description + "Disposition P2MP Stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container known-unicast { + description + "Known Unicast"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container mac-move { + description + "MAC Move"; + uses L2FIB-STATS-BAG-COUNTERS; + } + } + + grouping L2FIB-STATS-BAG-COUNTERS { + description + "L2FIB statistics counters"; + leaf packet-counts { + type uint64; + description + "packets counters"; + } + leaf byte-counts { + type uint64; + units "byte"; + description + "bytes counters"; + } + } + + grouping L2FIB-STATS-BAG-IMP { + description + "L2FIB imposition statistics"; + container imposition-stat { + description + "imposition stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container imposition-mtu-drop { + description + "imposition mtu drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container impostion-tail-drop { + description + "imposition tail drop stats"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container l2fsbi-drop { + description + "rx discards"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container multicast { + description + "Multicast"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container broadcast { + description + "Broadcast"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container known-unicast { + description + "Known Unicast"; + uses L2FIB-STATS-BAG-COUNTERS; + } + container unknown-unicast { + description + "Unknown Unicast"; + uses L2FIB-STATS-BAG-COUNTERS; + } + } + + grouping L2FIB-STATS-BAG-FORWARDING { + description + "L2FIB forwarding statistics"; + container impostion-stats { + description + "imposition stats"; + uses L2FIB-STATS-BAG-IMP; + } + container dispostion-stats { + description + "disposition stats"; + uses L2FIB-STATS-BAG-DISP; + } + container sequence-number { + description + "sequence numbers"; + uses L2FIB-STATS-BAG-SEQ-NUM; + } + } + + grouping L2VPN-PWHE { + description + "L2VPN PWHE"; + container interface-list { + description + "Interface list data"; + uses ITEM-IFLIST-IFL; + } + leaf is-valid { + type boolean; + description + "Is this Interface list valid"; + } + leaf internal-label { + type uint32; + description + "Internal Label"; + } + } + + grouping L2VPN-FR { + description + "L2VPN FR"; + leaf fr-mode { + type L2vpn-fr-mode; + description + "Frame Relay mode"; + } + leaf dlci { + type uint32; + description + "Data-link connection identifier"; + } + } + + grouping L2VPN-ATM { + description + "L2VPN ATM"; + leaf maximum-number-cells-packed { + type uint16; + description + "Max number of cells packed"; + } + leaf maximum-number-cells-un-packed { + type uint16; + description + "Max number of cells unpacked"; + } + leaf atm-mode { + type L2vpn-atm-mode; + description + "ATM mode"; + } + leaf vpi { + type uint16; + description + "Virtual path identifier"; + } + leaf vci { + type uint16; + description + "Virtual channel identifier"; + } + } + + grouping L2VPN-TDM-OPTION { + description + "L2VPN TDM options"; + leaf payload-bytes { + type uint16; + units "byte"; + description + "TDM payload bytes"; + } + leaf bit-rate { + type uint32; + units "kbit/s"; + description + "TDM bit rate in units of Kbps"; + } + leaf rtp { + type L2vpn-tdm-rtp-option; + description + "RTP header"; + } + leaf timestamp-mode { + type L2vpn-time-stamp-mode; + description + "TDM Timestamping mode"; + } + leaf signalling-packets { + type uint8; + description + "Signalling packets"; + } + leaf cas { + type uint8; + description + "CAS"; + } + leaf rtp-header-payload-type { + type uint8; + description + "RTP header payload type"; + } + leaf timestamp-clock-freq { + type uint16; + description + "Timestamping clock frequency in units of 8Khz"; + } + leaf ssrc { + type uint32; + description + "Synchronization Source identifier"; + } + } + + grouping L2VPN-TDM { + description + "L2VPN TDM parameters"; + container tdm-options { + description + "TDM options"; + uses L2VPN-TDM-OPTION; + } + leaf timeslot-group { + type string; + description + "Timeslots separated by , or - from 1 to 31. : + indicates individual timeslot and - represents a + range.E.g. 1-3,5 represents timeslots 1, 2, 3, + and 5."; + } + leaf timeslot-rate { + type uint8; + units "kbit/s"; + description + "Timeslot rate in units of Kbps"; + } + leaf tdm-mode { + type L2vpn-tdm-mode; + description + "TDM mode"; + } + } + + grouping L2VPN-EFP-RANGE { + description + "EFP range"; + leaf lower { + type uint16; + description + "Lower"; + } + leaf upper { + type uint16; + description + "Upper"; + } + } + + grouping L2VPN-VLAN { + description + "L2VPN VLAN"; + leaf xconnect-tags { + type uint8; + description + "XConnect tags"; + } + leaf vlan-rewrite-tag { + type uint16; + description + "VLAN rewrite tag"; + } + leaf simple-efp { + type uint8; + description + "Simple EFP"; + } + leaf encapsulation-type { + type uint8; + description + "Encapsulation Type"; + } + leaf outer-tag { + type uint16; + description + "Outer Tag"; + } + list rewrite-tag { + description + "Rewrite Tags"; + leaf entry { + type uint16; + } + } + list vlan-range { + description + "vlan range"; + uses L2VPN-EFP-RANGE; + } + } + + grouping L2VPN-ETHERNET { + description + "L2VPN ETHERNET"; + leaf xconnect-tags { + type uint8; + description + "XConnect tags"; + } + } + + grouping L2VPN-INTERFACE-PARAMS { + description + "L2VPN INTERFACE PARAMS"; + container ethernet { + when "../type = 'l2vpn-intf-type-ethernet'" { + description + "../Type = 'L2VPN_INTF_TYPE_ETHERNET'"; + } + description + "Ethernet"; + uses L2VPN-ETHERNET; + } + container vlan { + when "../type = 'l2vpn-intf-type-vlan'" { + description + "../Type = 'L2VPN_INTF_TYPE_VLAN'"; + } + description + "VLAN"; + uses L2VPN-VLAN; + } + container tdm { + when "../type = 'l2vpn-intf-type-cem'" { + description + "../Type = 'L2VPN_INTF_TYPE_CEM'"; + } + description + "TDM"; + uses L2VPN-TDM; + } + container atm { + when "../type = 'l2vpn-intf-type-atm'" { + description + "../Type = 'L2VPN_INTF_TYPE_ATM'"; + } + description + "ATM"; + uses L2VPN-ATM; + } + container fr { + when "../type = 'l2vpn-intf-type-frame-relay'" { + description + "../Type = 'L2VPN_INTF_TYPE_FRAME_RELAY'"; + } + description + "Frame Relay"; + uses L2VPN-FR; + } + container pseudowire-ether { + when "../type = 'l2vpn-intf-type-pw-ether'" { + description + "../Type = 'L2VPN_INTF_TYPE_PW_ETHER'"; + } + description + "PW Ether"; + uses L2VPN-PWHE; + } + container pseudowire-iw { + when "../type = 'l2vpn-intf-type-pw-iw'" { + description + "../Type = 'L2VPN_INTF_TYPE_PW_IW'"; + } + description + "PW IW"; + uses L2VPN-PWHE; + } + leaf type { + type L2vpn-interface; + description + "Type"; + } + } + + grouping L2VPN-INTERFACE { + description + "L2VPN INTERFACE"; + container parameters { + description + "Interface parameters"; + uses L2VPN-INTERFACE-PARAMS; + } + leaf name { + type string { + length "0..81"; + } + description + "Interface name"; + } + leaf mtu { + type uint32; + description + "Interface MTU"; + } + leaf payload-bytes { + type uint16; + units "byte"; + description + "Payload bytes"; + } + } + + grouping L2VPN-AC { + description + "L2VPN AC"; + container interface { + description + "Interface"; + uses L2VPN-INTERFACE; + } + container statistics { + description + "Statistics"; + uses L2FIB-STATS-BAG-FORWARDING; + } + container l2vpn-protection { + description + "Protection object used for this segment"; + uses L2VPN-PROTECTION; + } + leaf state { + type L2vpn-segment-state; + description + "State"; + } + leaf msti { + type string; + description + "MSTi"; + } + leaf internal-ms-ti { + type string; + description + "Internal MSTi"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handler"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + leaf xconnect-id { + type uint32; + description + "XConnect ID"; + } + leaf ms-ti-mismatch { + type boolean; + description + "MSTi mismatch"; + } + leaf mtu-mismatched { + type boolean; + description + "MTU mismatched"; + } + leaf tdm-media-mismatched { + type boolean; + description + "TDM media parms mismatched"; + } + leaf bvi-mac-conflict { + type boolean; + description + "BVI Mac Conflict"; + } + leaf bvi-no-port-up { + type boolean; + description + "BVI no BP Up"; + } + leaf control-word-mismatched { + type boolean; + description + "Control word mismatched"; + } + leaf encapsulation-mismatched { + type boolean; + description + "Encapsulation mismatched"; + } + leaf encapsulation-error { + type string; + description + "Encapsulation Error"; + } + leaf interworking { + type L2vpn-interworking; + description + "Interworking type"; + } + leaf out-of-memory-state { + type uint32; + description + "L2VPN Out of memory state"; + } + leaf msti-mismatch-down { + type boolean; + description + "Oper down due to MSTI mismatch"; + } + leaf mac-limit-oper-down { + type boolean; + description + "Oper down because MAC limit reached"; + } + leaf redundancy-group-id { + type uint32; + description + "Redundancy Group ID"; + } + leaf redundancy-group-state { + type L2vpn-rg-state; + description + "Redundancy Group State"; + } + leaf redundancy-object-id { + type uint64; + description + "Redundancy Object ID"; + } + leaf is-ac-partially-programmed { + type boolean; + description + "Is attachment-circuit partially programmed"; + } + leaf evpn-internal-label { + type uint32; + description + "EVPN Internal Label"; + } + } + + grouping L2VPN-SEGMENT { + description + "L2VPN SEGMENT"; + container attachment-circuit { + when "../segment-type = 'l2vpn-segment-type-ac'" { + description + "../SegmentType = 'L2VPN_SEGMENT_TYPE_AC'"; + } + description + "Attachment Circuit"; + uses L2VPN-AC; + } + container pseudo-wire { + when "../segment-type = 'l2vpn-segment-type-pw'" { + description + "../SegmentType = 'L2VPN_SEGMENT_TYPE_PW'"; + } + description + "Pseudowire"; + uses L2VPN-PW; + } + leaf segment-type { + type L2vpn-segment; + description + "SegmentType"; + } + } + + grouping L2VPN-XC { + description + "L2VPN XC"; + container backup { + description + "LCR backup"; + uses L2VPN-SEGMENT; + } + container segment1 { + description + "Segment 1"; + uses L2VPN-SEGMENT; + } + container segment2 { + description + "Segment 2"; + uses L2VPN-SEGMENT; + } + container ce2ce { + description + "CE2CE"; + uses L2VPN-XC-CE2CE; + } + leaf group-name-xr { + type string; + description + "Group name"; + } + leaf xconnect-name-xr { + type string; + description + "XConnect name"; + } + leaf number-of-backup-p-ws { + type uint32; + description + "Number of backups"; + } + leaf state { + type L2vpn-xc-state; + description + "State of the xconnect"; + } + leaf interworking { + type L2vpn-interworking; + description + "Interworking type"; + } + leaf diag-mask { + type uint32; + description + "Mask indicating what if anything is missing + before the XC can be provisioned"; + } + leaf description { + type string; + description + "P2P Description"; + } + leaf is-mp2mp { + type boolean; + description + "xconnect is mp2mp"; + } + list backup-segment { + max-elements "1"; + description + "Backup Segment"; + uses L2VPN-SEGMENT; + } + } + + grouping L2VPN-XC-CE2CE { + description + "L2VPN XC CE2CE"; + leaf local-customer-edge-id { + type uint16; + description + "Local CE ID"; + } + leaf remote-customer-edge-id { + type uint16; + description + "Remote CE ID"; + } + leaf ce-added { + type boolean; + description + "CE2CE Advertised"; + } + } + + grouping L2VPN-RD-V4ADDR { + description + "L2VPN RD V4ADDR"; + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RD-4BYTE-AS { + description + "L2VPN RD 4BYTE AS"; + leaf four-byte-as { + type uint32; + description + "4 Byte AS Number"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-RD-2BYTE-AS { + description + "L2VPN RD 2BYTE AS"; + leaf two-byte-as { + type uint16; + description + "2 Byte AS Number"; + } + leaf four-byte-index { + type uint32; + description + "4 Byte Index"; + } + } + + grouping L2VPN-RD-AUTO { + description + "L2VPN RD AUTO"; + leaf router-id { + type inet:ipv4-address; + description + "BGP Router ID"; + } + leaf auto-index { + type uint16; + description + "Auto-generated Index"; + } + } + + grouping L2VPN-RD { + description + "L2VPN RD"; + container auto { + when "../rd = 'l2vpn-ad-rd-auto'" { + description + "../RD = 'L2VPN_AD_RD_AUTO'"; + } + description + "auto"; + uses L2VPN-RD-AUTO; + } + container two-byte-as { + when "../rd = 'l2vpn-ad-rd-as'" { + description + "../RD = 'L2VPN_AD_RD_AS'"; + } + description + "two byte as"; + uses L2VPN-RD-2BYTE-AS; + } + container four-byte-as { + when "../rd = 'l2vpn-ad-rd-4byte-as'" { + description + "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; + } + description + "four byte as"; + uses L2VPN-RD-4BYTE-AS; + } + container v4-addr { + when "../rd = 'l2vpn-ad-rd-v4-addr'" { + description + "../RD = 'L2VPN_AD_RD_V4ADDR'"; + } + description + "v4 addr"; + uses L2VPN-RD-V4ADDR; + } + leaf rd { + type L2vpn-ad-rd; + description + "RD"; + } + } + + grouping L2VPN-ATOM-PWR-SUMMARY { + description + "L2VPN ATOM Pseudowire Routing Information Summary"; + container rd-auto { + description + "Automatic Route Distingtuisher"; + uses L2VPN-RD; + } + container rd-configured { + description + "Configured Route Distinguisher"; + uses L2VPN-RD; + } + leaf bgp-router-id { + type inet:ipv4-address; + description + "BGP Router ID"; + } + leaf cfg-router-id { + type inet:ipv4-address; + description + "Configured Router ID"; + } + leaf bgp-as { + type uint32; + description + "BGP AS number"; + } + leaf cfg-global-id { + type uint32; + description + "Configured Global ID"; + } + leaf l2vpn-has-bgp-eod { + type boolean; + description + "L2VPN got BGP EOD"; + } + } + + grouping L2VPN-GLOBALS { + description + "L2VPN GLOBALS"; + leaf pw-grouping-enabled { + type boolean; + description + "PW Grouping enabled"; + } + leaf pw-status-enabled { + type boolean; + description + "PW Status enabled"; + } + leaf logging-pw-enabled { + type boolean; + description + "Logging PW enabled"; + } + leaf logging-bd-enabled { + type boolean; + description + "Logging BD state changes enabled"; + } + leaf logging-vfi-enabled { + type boolean; + description + "Logging VFI state changes enabled"; + } + leaf logging-nsr-enabled { + type boolean; + description + "Logging NSR state changes enabled"; + } + leaf logging-df-election-enabled { + type boolean; + description + "Logging EVPN Designated Forwarder changes + enabled"; + } + leaf tcn-propagation-enabled { + type boolean; + description + "TCN propagation enabled"; + } + leaf pw-oam-refresh-transmit-time { + type uint32; + units "second"; + description + "PW OAM refresh transmit (seconds)"; + } + leaf ha-role { + type string; + description + "Node redundancy role"; + } + leaf issu-role { + type string; + description + "Node ISSU role"; + } + leaf process-fsm { + type string; + description + "Current L2VPN FSM role"; + } + leaf going-active { + type boolean; + description + "transitioning to Active functional role"; + } + } + + grouping VC-INFO { + description + "VC Info"; + leaf peer-id { + type inet:ipv4-address; + description + "PeerID"; + } + leaf source-address { + type inet:ipv4-address; + description + "SourceAddress"; + } + leaf pwid-type { + type L2vpn-pw-id; + description + "pwid type"; + } + leaf pwid { + type uint64; + description + "PWID"; + } + leaf fe-ctype { + type L2vpn-pw-fec; + description + "FECType"; + } + } + + grouping L2VPN-PREFERRED-PATH { + description + "L2VPN PREFRRED PATH"; + leaf type { + type L2vpn-preferred; + description + "Preferred type"; + } + leaf interface-name-xr { + type string { + length "0..65"; + } + description + "Interface name"; + } + leaf total-bandwidth { + type uint32; + description + "TotalBandwidth"; + } + leaf available-bandwidth { + type uint32; + description + "AvailableBandwidth"; + } + leaf reserved-bandwidth { + type uint32; + description + "ReservedBandwidth"; + } + list virtual-circuit { + description + "virtual circuit"; + uses VC-INFO; + } + } + + grouping L2VPN-MGMT-PROC-FSM-EVENT-HISTORY { + description + "L2VPN Process FSM event history"; + leaf previous-state { + type uint8; + description + "Previous state"; + } + leaf new-state { + type uint8; + description + "New state"; + } + leaf process-event { + type uint16; + description + "Process event"; + } + leaf process-collaborator { + type uint16; + description + "Process collaborator"; + } + leaf event-timestamp { + type uint32; + description + "Event timestamp"; + } + } + + grouping L2VPN-MGMT-PROC-FSM-REPORT-CARD { + description + "L2VPN Process FSM report card"; + leaf collaborator-is-connected { + type boolean; + description + "Is the collaborator connected"; + } + leaf connection-change-time { + type uint32; + description + "Time when connection state (UP/DOWN) changed"; + } + leaf collaborator-idt-done { + type boolean; + description + "Is IDT done for this collaborator"; + } + leaf idt-time { + type uint32; + description + "Time when IDT was done"; + } + leaf collaborator-skipped { + type boolean; + description + "Was this collaborator skipped for not connecting + in time"; + } + } + + grouping L2VPN-IDT-STATUS { + description + "IDT status information"; + leaf sync-status { + type L2vpn-sync-status; + description + "Sync status"; + } + leaf not-ready-reason { + type L2vpn-proc-nsr-not-ready-reason; + description + "Not ready reason"; + } + leaf idt-start-time { + type uint32; + units "second"; + description + "IDT start timestamp in seconds"; + } + leaf idt-end-time { + type uint32; + units "second"; + description + "IDT end timestamp in seconds"; + } + leaf declare-time { + type uint32; + units "second"; + description + "Declare ready timestamp in seconds"; + } + leaf withdraw-time { + type uint32; + units "second"; + description + "Withdraw ready timestamp in seconds"; + } + } + + grouping L2VPN-NSR-ISSU-STATUS-INFO { + description + "NSR/ISSU status information"; + container idt-status { + description + "IDT status"; + uses L2VPN-IDT-STATUS; + } + container previ-ous-idt-status { + description + "Previous IDT status"; + uses L2VPN-IDT-STATUS; + } + leaf role { + type L2vpn-proc-role; + description + "Process role"; + } + } + + grouping L2VPN-FAILOVER-STATUS { + description + "L2VPN failover status"; + leaf triggered-time { + type uint32; + description + "Triggered time"; + } + leaf start-time { + type uint32; + description + "Start time"; + } + leaf master-time { + type uint32; + description + "Master time"; + } + } + + grouping L2VPN-MGMT-PROC-FSM-XID-INFO { + description + "L2VPN MGMT PROC FSM XID INFO"; + leaf app-type { + type L2vpn-id-mgr-app-bag; + description + "App type"; + } + leaf sent-ids { + type uint32; + description + "Number of XIDs transferred"; + } + } + + grouping L2VPN-MGMT-PROC-FSM { + description + "L2VPN Process FSM Information"; + container failover-status { + description + "L2VPN failover status"; + uses L2VPN-FAILOVER-STATUS; + } + container nsr-status { + description + "L2VPN NSR status and timestamp"; + uses L2VPN-NSR-ISSU-STATUS-INFO; + } + container issu-status { + description + "L2VPN ISSU Status and timestamp"; + uses L2VPN-NSR-ISSU-STATUS-INFO; + } + leaf process-role { + type uint8; + description + "Current Process Role"; + } + leaf process-state { + type uint8; + description + "Current Process State"; + } + leaf sync-flags { + type uint32; + description + "Sync complete flags"; + } + leaf sw-install-in-progress { + type boolean; + description + "Is s/w install currently in progress?"; + } + list state-transition-time { + description + "Transition time for all states"; + leaf entry { + type uint32; + } + } + list xid-info { + description + "XID information"; + uses L2VPN-MGMT-PROC-FSM-XID-INFO; + } + list report-card { + description + "L2VPN Collaborator report card"; + uses L2VPN-MGMT-PROC-FSM-REPORT-CARD; + } + list event-history { + description + "L2VPN Process event history"; + uses L2VPN-MGMT-PROC-FSM-EVENT-HISTORY; + } + } + + grouping L2VPN-BRIDGE-SUMMARY { + description + "L2VPN BRIDGE SUMMARY"; + leaf number-groups { + type uint32; + description + "Number of groups"; + } + leaf number-bridge-domains { + type uint32; + description + "Number of bridge-domains"; + } + leaf number-bridge-domains-up { + type uint32; + description + "Number of bridge-domains up"; + } + leaf number-bridge-domains-shut { + type uint32; + description + "Number of bridge-domains admin disabled"; + } + leaf number-default-bridge-doamins { + type uint32; + description + "Number of default bridge-domains"; + } + leaf number-pbb-edge { + type uint32; + description + "Number of PBB Edge"; + } + leaf number-pbb-core { + type uint32; + description + "Number of PBB Core"; + } + leaf number-p2mp { + type uint32; + description + "Number of P2MPs"; + } + leaf number-p2mp-up { + type uint32; + description + "Number of P2MPs whose state is up"; + } + leaf number-p2mp-down { + type uint32; + description + "Number of P2MPs whose state is down"; + } + leaf number-a-cs { + type uint32; + description + "Number of attachment circuits"; + } + leaf number-a-cs-up { + type uint32; + description + "Number of attachment circuits whose state is up"; + } + leaf number-a-cs-down { + type uint32; + description + "Number of attachment circuits whose state is + down"; + } + leaf number-pseudowires { + type uint32; + description + "Number of pseudowires"; + } + leaf number-p-ws-up { + type uint32; + description + "Number of pseudowires whose state is up"; + } + leaf number-p-ws-down { + type uint32; + description + "Number of pseudowires whose state is down"; + } + leaf standby-pseudowires { + type uint32; + description + "Number of pseudowires whose state is standby"; + } + leaf num-vn-is { + type uint32; + description + "Number of VNIs"; + } + leaf num-vn-is-up { + type uint32; + description + "Number of VNIs up"; + } + leaf num-vn-is-down { + type uint32; + description + "Number of VNIs down"; + } + leaf num-vn-is-unresolved { + type uint32; + description + "Number of VNIs unresolved"; + } + leaf out-of-memory-state { + type uint32; + description + "L2VPN Out of memory state"; + } + leaf partially-programmed-bridges { + type uint32; + description + "Number of partially programmed bridge-domains"; + } + leaf partially-programmed-pseudowires { + type uint32; + description + "Number of partially programmed pseudowires"; + } + leaf partially-programmed-a-cs { + type uint32; + description + "Number of partially programmed attachment + circuits"; + } + } + + grouping ICCP-SM-PORT-INFO { + description + "ICCP-based service multi-homing port information"; + leaf port-state { + type Iccp-sm-port-state; + description + "Port state"; + } + leaf port-fail-code { + type uint8; + description + "Port fail code"; + } + leaf fsm-state { + type uint8; + description + "FSM state"; + } + leaf vlan-state { + type uint8; + description + "VLAN state"; + } + leaf vlan-vector { + type yang:hex-string; + description + "VLAN Vector. VLANList::= + FivePackedVLANRoleVectorByte { + ,FivePackedVLANRoleVectorByte}. + FivePackedVLANRoleVectorByte = + (((3*firstVLANRole + secondVLANRole)*3 + + thirdVLANRole)*3 + fourthVLAN Role)*3 + + fifthVLANRole. Role::= Primary | Secondary | + NotConfigured. NotConfigured::= 0. Primary::= 1. + Secondary::= 2"; + } + leaf reversion-time { + type uint32; + description + "Reversion Time"; + } + leaf reversion-time-remaining { + type uint32; + description + "Reversion Time Remaining"; + } + } + + grouping ICCP-SM-PORT { + description + "ICCP-based service multi-homing port"; + container local-port { + description + "Local port info"; + uses ICCP-SM-PORT-INFO; + } + container remote-port { + description + "Remote port info"; + uses ICCP-SM-PORT-INFO; + } + leaf interface-name { + type string { + length "0..65"; + } + description + "Interface name"; + } + leaf mac-flush-tcn { + type boolean; + description + "Is MAC flush through STP-TCN?"; + } + } + + grouping ICCP-SM-GROUP { + description + "ICCP-based service multi-homing group"; + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf local-node-id { + type uint8; + description + "Local Node ID"; + } + leaf remote-node-id { + type uint8; + description + "Remote Node ID"; + } + leaf state { + type Iccp-sm-state; + description + "State"; + } + leaf iccp-transport-up { + type boolean; + description + "ICCP Transport Up"; + } + leaf iccp-member-up { + type boolean; + description + "ICCP Member Up"; + } + list ports { + description + "List of ports in the group"; + uses ICCP-SM-PORT; + } + } + + grouping ICCP-SM-SUMMARY { + description + "ICCP-based service multi-homing group summary + information"; + leaf groups { + type uint32; + description + "Total Number of Groups"; + } + leaf unresolved-groups { + type uint32; + description + "Number of Unresolved Groups"; + } + leaf provisioned-groups { + type uint32; + description + "Number of Provisioned Groups"; + } + leaf connecting-groups { + type uint32; + description + "Number of Connecting Groups"; + } + leaf connected-groups { + type uint32; + description + "Number of Connected Groups"; + } + leaf synchronizing-groups { + type uint32; + description + "Number of Synchronizing Groups"; + } + leaf synchronized-groups { + type uint32; + description + "Number of Synchronized Groups"; + } + leaf ports { + type uint32; + description + "Total Number of Ports"; + } + leaf operational-ports { + type uint32; + description + "Number of Operational Ports"; + } + leaf failed-ports { + type uint32; + description + "Number of Failed Ports"; + } + leaf unknown-ports { + type uint32; + description + "Number of Unknown Ports"; + } + leaf unconfigured-ports { + type uint32; + description + "Number of Unconfigured Ports"; + } + leaf unsynchronized-ports { + type uint32; + description + "Number of Unsynchronized Ports"; + } + leaf reverting-ports { + type uint32; + description + "Number of Reverting Ports"; + } + } + + grouping L2VPN-MAIN-INTERFACE { + description + "L2VPN MAIN INTERFACE PORT"; + leaf main-interface-handle { + type xr:Interface-name; + description + "Main Interface"; + } + leaf protected { + type L2vpn-main-if-protectected; + description + "Protected"; + } + leaf interface-count { + type uint32; + description + "Sub Interface Count"; + } + } + + grouping L2VPN-MAIN-INTERFACE-INSTANCE-BPORT { + description + "Bridge port of an instance"; + leaf bridge-port-xr { + type xr:Interface-name; + description + "Bridge port ifhandle"; + } + leaf instance-id { + type uint32; + description + "Instance ID"; + } + } + + grouping L2VPN-MAIN-INTERFACE-INSTANCE { + description + "L2VPN MAIN INTERFACE INSTANCE Entry"; + leaf configured-instance { + type uint32; + description + "Configured Instance"; + } + leaf flush-count { + type uint32; + description + "Flush count "; + } + leaf interface-count { + type uint32; + description + "Interface count"; + } + leaf instance-flags { + type uint32; + description + "Instance Flags"; + } + leaf instance-id { + type uint32; + description + "Instance ID"; + } + leaf instance-state { + type L2vpn-main-if-instance-state; + description + "Instance State"; + } + } + + grouping L2VPN-FXC-SUMMARY { + description + "L2VPN FXC SUMMARY"; + leaf number-fxc { + type uint32; + description + "Number of flexible xconnect services"; + } + leaf number-fxc-up { + type uint32; + description + "Number of flexible xconnect services whose state + is up"; + } + leaf number-fxc-down { + type uint32; + description + "Number of flexible xconnect services whose state + is down"; + } + } + + grouping L2VPN-NLRI-LDP-SIG { + description + "L2VPN NLRI LDP SIG"; + leaf nlri-time-created { + type uint32; + description + "NLRI creation time"; + } + leaf local-address { + type inet:ipv4-address; + description + "Local BGP Address"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Remote BGP Address"; + } + leaf remote-l2-router-id { + type inet:ipv4-address; + description + "Remote L2VPN Router ID"; + } + } + + grouping L2VPN-VPLS-ID-V4ADDR { + description + "L2VPN VPLS ID V4ADDR"; + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf two-byte-index { + type uint16; + description + "2 Byte Index"; + } + } + + grouping L2VPN-VPLS-ID-2BYTE-AS { + description + "L2VPN VPLS ID 2BYTE AS"; + leaf two-byte-as { + type uint16; + description + "2 Byte AS Number"; + } + leaf four-byte-index { + type uint32; + description + "4 Byte Index"; + } + } + + grouping L2VPN-VPLS-ID-AUTO { + description + "L2VPN VPLS ID AUTO"; + leaf asn { + type uint16; + description + "2 Byte AS Number"; + } + leaf vpn-id { + type uint32; + description + "VPN ID"; + } + } + + grouping L2VPN-VPLS-ID { + description + "L2VPN VPLS ID"; + container auto { + when "../vpls-id-type = 'l2vpn-ad-vpls-id-auto'" { + description + "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_AUTO'"; + } + description + "auto"; + uses L2VPN-VPLS-ID-AUTO; + } + container two-byte-as { + when "../vpls-id-type = 'l2vpn-ad-vpls-id-as'" { + description + "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_AS'"; + } + description + "two byte as"; + uses L2VPN-VPLS-ID-2BYTE-AS; + } + container v4-addr { + when "../vpls-id-type = 'l2vpn-ad-vpls-id-v4-addr'" { + description + "../VPLS_ID_TYPE = 'L2VPN_AD_VPLS_ID_V4ADDR'"; + } + description + "v4 addr"; + uses L2VPN-VPLS-ID-V4ADDR; + } + leaf vpls-id-type { + type L2vpn-ad-vpls-id; + description + "VPLS ID TYPE"; + } + } + + grouping L2VPN-DISCO-LDP-SIG { + description + "L2VPN DISCO LDP SIG"; + container local-vpls-id { + description + "Local VPLS-ID"; + uses L2VPN-VPLS-ID; + } + leaf local-l2-router-id { + type inet:ipv4-address; + description + "Local L2VPN Router ID"; + } + leaf number-remote-edges { + type uint32; + description + "Number of remote Edges"; + } + list remote-nlri { + description + "List of NLRIs"; + uses L2VPN-NLRI-LDP-SIG; + } + } + + grouping L2VPN-LABEL-BLOCK { + description + "L2VPN LABEL BLOCK"; + leaf label-time-created { + type uint32; + description + "Creation time"; + } + leaf label-base { + type uint32; + description + "Label Base"; + } + leaf block-offset { + type uint32; + description + "Block offset"; + } + leaf block-size { + type uint32; + description + "Block size"; + } + leaf local-edge-id { + type uint32; + description + "Local edge ID"; + } + leaf next-hop { + type inet:ipv4-address; + description + " Peer id"; + } + leaf label-error { + type L2vpn-ad-lsd-err; + description + "Label Error"; + } + list status-vector { + description + "Status Vector"; + leaf entry { + type uint8; + } + } + } + + grouping L2VPN-DISCO-EDGE { + description + "L2VPN DISCO EDGE"; + leaf edge-id { + type uint32; + description + "Edge ids"; + } + leaf label-count { + type uint32; + description + "Number of label blocks"; + } + list label-block { + description + "List of label blocks"; + uses L2VPN-LABEL-BLOCK; + } + } + + grouping L2VPN-DISCO-BGP-SIG { + description + "L2VPN DISCO BGP SIG"; + leaf number-edges { + type uint32; + description + "Number of Edges"; + } + leaf number-remote-edges { + type uint32; + description + "Number of remote Edges"; + } + list edge { + description + "List of edge ids"; + uses L2VPN-DISCO-EDGE; + } + list redge { + description + "List of edge ids"; + uses L2VPN-DISCO-EDGE; + } + } + + grouping L2VPN-DISCO-SIG-INFO { + description + "L2VPN DISCO SIG INFO"; + container bgp-sig-info { + when "../ad-signalling-method = 'l2vpn-ad-sig-method-bgp'" { + description + "../ADSignallingMethod = + 'L2VPN_AD_SIG_METHOD_BGP'"; + } + description + "bgp sig info"; + uses L2VPN-DISCO-BGP-SIG; + } + container ldp-sig-info { + when "../ad-signalling-method = 'l2vpn-ad-sig-method-ldp'" { + description + "../ADSignallingMethod = + 'L2VPN_AD_SIG_METHOD_LDP'"; + } + description + "ldp sig info"; + uses L2VPN-DISCO-LDP-SIG; + } + leaf ad-signalling-method { + type L2vpn-ad-sig-method; + description + "ADSignallingMethod"; + } + } + + grouping L2VPN-DISCO { + description + "L2VPN DISCO"; + container signalling-info { + description + "Info about signalling protocol"; + uses L2VPN-DISCO-SIG-INFO; + } + leaf mtu-mismatch-ignore { + type boolean; + description + "Ignore MTU Mismatch"; + } + leaf number-vpn { + type uint32; + description + "Number of vpns"; + } + leaf vpn-id { + type uint32; + description + "VPN id"; + } + leaf service-name-xr { + type string; + description + "Service Type"; + } + leaf group-name-xr { + type string; + description + "Group name"; + } + leaf vpn-name-xr { + type string; + description + "VPN instance name"; + } + leaf is-service-connected { + type boolean; + description + "Is the service connected"; + } + } + + grouping L2VPN-EVPN-REMOTE-SHG-INFO { + description + "L2VPN EVPN remote split horizon group labels"; + leaf next-hop { + type inet:ipv6-address; + description + "Next-hop IP address (v6 format)"; + } + leaf label { + type uint32; + description + "Split horizon label associated with next-hop + address"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub3.yang new file mode 100644 index 0000000..090452b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper-sub3.yang @@ -0,0 +1,4913 @@ +submodule Cisco-IOS-XR-l2vpn-oper-sub3 { + belongs-to Cisco-IOS-XR-l2vpn-oper { + prefix Cisco-IOS-XR-l2vpn-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-l2vpn-oper-sub2 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR l2vpn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2fib-g8032-aps-port-status { + type enumeration { + enum "l2fib-aps-port-state-unknown" { + description + "APS port state unknown"; + } + enum "l2fib-aps-port-state-unbound" { + description + "APS port state unbound"; + } + enum "l2fib-aps-port-state-bound" { + description + "APS port state bound"; + } + } + description + "APS port status"; + } + + typedef L2fib-g8032-rpl { + type enumeration { + enum "rpl-unknown" { + description + "No RPL info"; + } + enum "port0-owner" { + description + "Port 0 owner"; + } + enum "port0-neighbor" { + description + "Port 0 neighbor"; + } + enum "port0-next-neighbor" { + description + "Port 0 next neighbor"; + } + enum "port1-owner" { + description + "Port 1 owner"; + } + enum "port1-neighbor" { + description + "Port 1 neighbor"; + } + enum "port1-next-neighbor" { + description + "Port 1 next neighbor"; + } + } + description + "RPL types in g8032 ring"; + } + + typedef L2fib-l2tp-session { + type enumeration { + enum "l2tpv3" { + description + "L2TPv3 session"; + } + enum "l2tpv2" { + description + "L2TPv2 session"; + } + } + description + "L2TPv2 and L2TPv3 session type"; + } + + typedef L2fib-main-if-instance-state { + type enumeration { + enum "forwarding" { + description + "Forwarding state"; + } + enum "blocked" { + description + "Blocked state"; + } + enum "mac-learning" { + description + "Mac learning state"; + } + enum "nack" { + description + "Nack state"; + } + enum "forwarning-not-useful" { + description + "Forwarding not useful state"; + } + enum "blocked-not-useful" { + description + "Blocked not useful state"; + } + enum "mac-learning-not-useful" { + description + "Mac Learning not useful state"; + } + enum "blocked-data-only" { + description + "Blocked data only state"; + } + enum "multicast-pe2ce-blocked" { + description + "Multicast PE to CE blocked state"; + } + enum "multicast-blocked" { + description + "Multicast blocked state"; + } + enum "port-state-unknown" { + description + "Port state unknown"; + } + } + description + "State of a main port instance"; + } + + typedef Mgmt-l2fib-bridge-mac-evpn-ctx { + type enumeration { + enum "mgmt-l2fib-bridge-mac-evpn-ctx-none" { + description + "mgmt l2fib bridge mac evpn ctx none"; + } + enum "mgmt-l2fib-bridge-mac-evpn-ctx-esi-id" { + description + "mgmt l2fib bridge mac evpn ctx esi id"; + } + enum "mgmt-l2fib-bridge-mac-evpn-ctx-local-label" { + description + "mgmt l2fib bridge mac evpn ctx local label"; + } + enum "mgmt-l2fib-bridge-mac-evpn-ctx-moi" { + description + "mgmt l2fib bridge mac evpn ctx moi"; + } + enum "mgmt-l2fib-bridge-mac-evpn-ctx-bp-ifh" { + description + "mgmt l2fib bridge mac evpn ctx bp ifh"; + } + } + description + "Mgmt l2fib bridge mac evpn ctx"; + } + + typedef L2fib-ip-addr { + type enumeration { + enum "ip-none" { + value 0; + description + "ip none"; + } + enum "v4" { + value 4; + description + "v4"; + } + enum "v6" { + value 6; + description + "v6"; + } + } + description + "L2fib ip addr"; + } + + typedef Mgmt-l2fib-stats-data { + type enumeration { + enum "mgmt-l2fib-stats-type-unknown" { + description + "mgmt l2fib stats type unknown"; + } + enum "mgmt-l2fib-stats-type-mcast" { + description + "mgmt l2fib stats type mcast"; + } + } + description + "Mgmt l2fib stats data"; + } + + typedef L2vpn-ptree { + type enumeration { + enum "none" { + value 0; + description + "No ptree type"; + } + enum "rsvp-te" { + value 1; + description + "RSVP_TE ptree type"; + } + enum "mldp" { + value 2; + description + "MLDP ptree type"; + } + } + description + "ptree type"; + } + + typedef L2fib-feature { + type enumeration { + enum "l2fib-feature-dhcp-snooping" { + description + "l2fib feature dhcp snooping"; + } + enum "l2fib-feature-igmp-snooping" { + description + "l2fib feature igmp snooping"; + } + enum "l2fib-feature-mld-snooping" { + description + "l2fib feature mld snooping"; + } + enum "l2fib-feature-max" { + description + "l2fib feature max"; + } + } + description + "L2fib feature"; + } + + typedef L2fib-storm-control-rate-unit { + type enumeration { + enum "pps" { + description + "Packets Per Second"; + } + enum "kb-ps" { + description + "Kilobits Per Second"; + } + } + description + "Storm Control Rate Unit Type"; + } + + typedef Mgmt-l2fib-mac-sec-action { + type enumeration { + enum "not-set" { + value 0; + description + "MAC Secure Action Not Set"; + } + enum "restrict" { + value 1; + description + "MAC Secure Action Restrict"; + } + enum "none" { + value 2; + description + "MAC Secure Action None"; + } + enum "shutdown" { + value 3; + description + "MAC Secure Action Shutdown"; + } + } + description + "Mgmt l2fib mac sec action"; + } + + typedef Mgmt-l2fib-mac-limit-notify { + type enumeration { + enum "mgmt-l2fib-mac-limit-notify-none" { + description + "mgmt l2fib mac limit notify none"; + } + enum "mgmt-l2fib-mac-limit-notify-syslog" { + description + "mgmt l2fib mac limit notify syslog"; + } + enum "mgmt-l2fib-mac-limit-notify-trap" { + description + "mgmt l2fib mac limit notify trap"; + } + enum "mgmt-l2fib-mac-limit-notify-both" { + description + "mgmt l2fib mac limit notify both"; + } + } + description + "Mgmt l2fib mac limit notify"; + } + + typedef Mgmt-l2fib-mac-limit-action { + type enumeration { + enum "mgmt-l2fib-mac-limit-action-type-none" { + description + "mgmt l2fib mac limit action type none"; + } + enum "mgmt-l2fib-mac-limit-action-type-flood" { + description + "mgmt l2fib mac limit action type flood"; + } + enum "mgmt-l2fib-mac-limit-action-type-no-flood" { + description + "mgmt l2fib mac limit action type no flood"; + } + enum "mgmt-l2fib-mac-limit-action-type-shutdown" { + description + "mgmt l2fib mac limit action type shutdown"; + } + } + description + "Mgmt l2fib mac limit action"; + } + + typedef L2fib-load-bal { + type enumeration { + enum "flow-undef" { + description + "Load Balance Flow Undefined"; + } + enum "src-dst-mac" { + description + "Load Balance Flow src-dst-mac"; + } + enum "src-dst-ip" { + description + "Load Balance Flow src-dst-ip"; + } + enum "vc" { + description + "Load Balance VC based"; + } + } + description + "L2fib load bal"; + } + + typedef L2fib-group-state { + type enumeration { + enum "up" { + description + "Group State Up"; + } + enum "down" { + description + "Group State Down"; + } + } + description + "group state"; + } + + typedef L2fib-pw-redundancy-role { + type enumeration { + enum "primary" { + description + "Primary pseudowire"; + } + enum "backup" { + description + "Backup pseudowire"; + } + } + description + "Pseudowire redundancy role"; + } + + typedef L2fib-pw-id { + type enumeration { + enum "default" { + value 0; + description + "Default value - not set"; + } + enum "manual" { + value 1; + description + "Manual pseudowire ID"; + } + enum "vpls" { + value 2; + description + "VPLS pseudowire ID"; + } + enum "vpws" { + value 3; + description + "VPWS pseudowire ID"; + } + enum "vpls-ldp" { + value 4; + description + "VPLS with LDP signaling pseudowire ID"; + } + enum "l2fib-pw-id-type-pwr" { + value 5; + description + "PW-routing ID"; + } + enum "l2fib-pw-id-type-evpn" { + value 6; + description + "EVPN pseudowire ID"; + } + } + description + "Pseudowire ID type"; + } + + typedef Mgmt-l2fib-bridge { + type enumeration { + enum "mgmt-l2fib-bridge-type-default" { + value 0; + description + "mgmt l2fib bridge type default"; + } + enum "mgmt-l2fib-bridge-type-pbb-edge" { + value 1; + description + "mgmt l2fib bridge type pbb edge"; + } + enum "mgmt-l2fib-bridge-type-pbb-core" { + value 2; + description + "mgmt l2fib bridge type pbb core"; + } + } + description + "Mgmt l2fib bridge"; + } + + typedef Mgmt-l2fib-data { + type enumeration { + enum "mgmt-l2fib-data-type-min" { + description + "mgmt l2fib data type min"; + } + enum "mgmt-l2fib-data-type-xcon" { + description + "mgmt l2fib data type xcon"; + } + enum "mgmt-l2fib-data-type-ac" { + description + "mgmt l2fib data type ac"; + } + enum "mgmt-l2fib-data-type-span" { + description + "mgmt l2fib data type span"; + } + enum "mgmt-l2fib-data-type-atom" { + description + "mgmt l2fib data type atom"; + } + enum "mgmt-l2fib-data-type-pbb" { + description + "mgmt l2fib data type pbb"; + } + enum "mgmt-l2fib-data-type-vni" { + description + "mgmt l2fib data type vni"; + } + enum "mgmt-l2fib-data-type-n-hop" { + description + "mgmt l2fib data type n hop"; + } + enum "mgmt-l2fib-data-type-l2tp" { + description + "mgmt l2fib data type l2tp"; + } + enum "mgmt-l2fib-data-type-l2tpv2" { + description + "mgmt l2fib data type l2tpv2"; + } + enum "mgmt-l2fib-data-type-bridge" { + description + "mgmt l2fib data type bridge"; + } + enum "mgmt-l2fib-data-type-bridge-shg" { + description + "mgmt l2fib data type bridge shg"; + } + enum "mgmt-l2fib-data-type-bridge-port" { + description + "mgmt l2fib data type bridge port"; + } + enum "mgmt-l2fib-data-type-bridge-mac" { + description + "mgmt l2fib data type bridge mac"; + } + enum "mgmt-l2fib-data-type-mcast-table" { + description + "mgmt l2fib data type mcast table"; + } + enum "mgmt-l2fib-data-type-mcast-leaf" { + description + "mgmt l2fib data type mcast leaf"; + } + enum "mgmt-l2fib-data-type-mcast-xid" { + description + "mgmt l2fib data type mcast xid"; + } + enum "mgmt-l2fib-data-type-dhcp" { + description + "mgmt l2fib data type dhcp"; + } + enum "mgmt-l2fib-data-type-l2tp-ipv6-ts" { + description + "mgmt l2fib data type l2tp ipv6 ts"; + } + enum "mgmt-l2fib-data-type-pwhe-mp" { + description + "mgmt l2fib data type pwhe mp"; + } + enum "mgmt-l2fib-data-type-evpn" { + description + "mgmt l2fib data type evpn"; + } + enum "mgmt-l2fib-data-type-fxs" { + description + "mgmt l2fib data type fxs"; + } + enum "mgmt-l2fib-data-type-max" { + description + "mgmt l2fib data type max"; + } + } + description + "Mgmt l2fib data"; + } + + typedef Mgmt-l2fib-switching { + type enumeration { + enum "mgmt-l2fib-switching-type-unknown" { + description + "mgmt l2fib switching type unknown"; + } + enum "mgmt-l2fib-switching-type-ac-ac" { + description + "mgmt l2fib switching type ac ac"; + } + enum "mgmt-l2fib-switching-type-ac-atom" { + description + "mgmt l2fib switching type ac atom"; + } + enum "mgmt-l2fib-switching-type-ac-vfi" { + description + "mgmt l2fib switching type ac vfi"; + } + enum "mgmt-l2fib-switching-type-ac-l2tp" { + description + "mgmt l2fib switching type ac l2tp"; + } + enum "mgmt-l2fib-switching-type-atom-atom" { + description + "mgmt l2fib switching type atom atom"; + } + enum "mgmt-l2fib-switching-type-vfi-atom" { + description + "mgmt l2fib switching type vfi atom"; + } + enum "mgmt-l2fib-switching-type-vfi-l2tp" { + description + "mgmt l2fib switching type vfi l2tp"; + } + enum "mgmt-l2fib-switching-type-l2tp-atom" { + description + "mgmt l2fib switching type l2tp atom"; + } + enum "mgmt-l2fib-switching-type-l2tp-l2tp" { + description + "mgmt l2fib switching type l2tp l2tp"; + } + enum "mgmt-l2fib-switching-type-max" { + description + "mgmt l2fib switching type max"; + } + } + description + "Mgmt l2fib switching"; + } + + grouping L2FIB-DHCP-BINDING-SUMMARY-INFO { + description + "L2FIB DHCP binding summary info"; + container port { + description + "Union of Port information"; + uses L2FIB-DHCP-BIND-UN; + } + leaf bindings { + type uint32; + description + "DHCP binding count"; + } + } + + grouping L2FIB-VTEP-INFO { + description + "L2FIB vtep info"; + leaf nve-if { + type xr:Interface-name; + description + "Parent NVE IF Handle"; + } + leaf vn-iid { + type uint32; + description + "VNI ID"; + } + leaf vte-pip { + type inet:ipv4-address; + description + "Peer VTEP IP Address"; + } + } + + grouping L2FIB-PWHE-MP-SUMMARY-INFO { + description + "L2VPN PWHE Main-port summary info"; + leaf total-count { + type uint32; + description + "Number of PWHE Main-ports"; + } + } + + grouping L2FIB-PWGROUP-SUMMARY-INFO { + description + "L2VPN PWGROUP summary info"; + leaf plat-grouping-supported { + type boolean; + description + "Platform supports Grouping"; + } + leaf total-pw-groups { + type uint32; + description + "Total number of PWGROUP objects"; + } + leaf pw-groups-down { + type uint32; + description + "Number of PWGROUP objects down"; + } + } + + grouping L2FIB-PTREE-SUMMARY-INFO { + description + "L2VPN PTree summary info"; + leaf total-ptree-count { + type uint32; + description + "Number of PTree objects"; + } + leaf mldp-enabled-ptree-count { + type uint32; + description + "Number of MLDP enabled PTree objects"; + } + leaf lmrib-mldp-ptree-count { + type uint32; + description + "Number of MLDP PTree Objects owned by LMRIB"; + } + leaf rsvp-te-enabled-ptree-count { + type uint32; + description + "Number of RSVP-TE enabled PTree objects"; + } + leaf lmrib-rsvp-te-ptree-count { + type uint32; + description + "Number of RSVP-TE PTree Objects owned by LMRIB"; + } + } + + grouping L2FIB-GLOBAL-CFG-INFO { + description + "L2VPN Global Configuration"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf load-balance-type { + type L2fib-load-bal; + description + "Type of Load-Balancing"; + } + leaf evpn-imc-label-block-base { + type uint32; + description + "Base of label range in use for EVPN IMC PD"; + } + leaf evpn-imc-label-block-size { + type uint16; + description + "Size of label range in use for EVPN IMC PD"; + } + } + + grouping L2FIB-EVPN-SUMMARY-INFO { + description + "L2VPN evpn summary info"; + leaf total-count { + type uint32; + description + "Number of EVPN Multicast Replication lists"; + } + leaf isid-count { + type uint32; + description + "Number of ISID leaves"; + } + leaf default-count { + type uint32; + description + "Number of default leaves"; + } + leaf stitching-count { + type uint32; + description + "Number of stitching leaves"; + } + } + + grouping L2FIB-OBJ-QUEUES-SUMMARY { + description + "L2FIB OBJ QUEUES SUMMARY"; + leaf inline-cnt { + type uint32; + description + "number of objects in inline queue"; + } + leaf retry-cnt { + type uint32; + description + "number of objects in retry queue"; + } + leaf update-cnt { + type uint32; + description + "number of objects in update queues"; + } + leaf del-cnt { + type uint32; + description + "number of objects in delete queues"; + } + } + + grouping L2FIB-MAC-SUMMARY-INFO { + description + "L2FIB bridge mac summary info"; + leaf mac-counts-invalid { + type boolean; + description + "Flag to show if MAC counts aren't valid"; + } + leaf local-mac-count { + type uint32; + description + "number of locally learnt macs"; + } + leaf remote-mac-count { + type uint32; + description + "number of remotely learned macs"; + } + leaf static-mac-count { + type uint32; + description + "number of static macs"; + } + leaf routed-mac-count { + type uint32; + description + "number of routed macs"; + } + leaf mac-count { + type uint32; + description + "number of all macs"; + } + leaf sbmac-count { + type uint32; + description + "number of Source BMACs"; + } + leaf bmac-count { + type uint32; + description + "number of BMACs"; + } + } + + grouping L2FIB-BD-SUMMARY-INFO { + description + "L2VPN bridge-domain summary info"; + leaf bridge-domain-count { + type uint32; + description + "Number of bridge-domains"; + } + leaf bridge-domain-drop-count { + type uint32; + description + "Number of bridge-domain updates dropped"; + } + leaf bridge-domain-with-bvi-count { + type uint32; + description + "Number of bridge-domains with BVI"; + } + leaf bridge-domain-with-p2mp-enabled { + type uint32; + description + "Number of bridge-domains with P2MP enabled"; + } + leaf bridge-domain-with-pbbevpn-enabled { + type uint32; + description + "Number of bridge-domains with PBB EVPN enabled"; + } + leaf bridge-domain-with-evpn-enabled { + type uint32; + description + "Number of bridge-domains with EVPN enabled"; + } + } + + grouping L2FIB-L2TP-DISP-SUMMARY-INFO { + description + "L2TP disposition session object summary"; + leaf l2tp-disposition-session-count { + type uint32; + description + "number of l2tp disposition session objects"; + } + leaf bound-l2tp-disposition-session-count { + type uint32; + description + "number of bound l2tp dispostion objects"; + } + leaf unbound-l2tp-disposition-session-count { + type uint32; + description + "number of unbound l2tp disposition objects"; + } + } + + grouping L2FIB-NH-SUMMARY-INFO2 { + description + "Specific nhop summary"; + leaf next-hop-count { + type uint32; + description + "total number of nhops"; + } + leaf bound-next-hop-count { + type uint32; + description + "number of bound nhops"; + } + leaf unbound-next-hop-count { + type uint32; + description + "number of unbound nhops"; + } + leaf next-hop-pending-registration-count { + type uint32; + description + "number of nhops pending registration with fib "; + } + } + + grouping L2FIB-NH-SUMMARY-INFO { + description + "nhop db summary"; + container mpls-il { + description + "MPLS Internal Label nexthop summary"; + uses L2FIB-NH-SUMMARY-INFO2; + } + container mpls { + description + "MPLS nexthop summary"; + uses L2FIB-NH-SUMMARY-INFO2; + } + container l2tp { + description + "L2TP nexthop summary"; + uses L2FIB-NH-SUMMARY-INFO2; + } + container lsm { + description + "LSM nexthop summary"; + uses L2FIB-NH-SUMMARY-INFO2; + } + container p2mp-tunnels { + description + "P2MPtun nexthop summary"; + uses L2FIB-NH-SUMMARY-INFO2; + } + } + + grouping L2FIB-XC-SUMMARY-INFO { + description + "xconnect db summary"; + leaf xconnect-count { + type uint32; + description + "total number of entries"; + } + leaf xconnect-up-count { + type uint32; + description + "number of up entries"; + } + leaf xconnect-down-count { + type uint32; + description + "number of down entries"; + } + leaf ac-to-pw-count-mpls { + type uint32; + description + "number of ac->pw-mpls entries"; + } + leaf ac-to-pw-count-l2tp { + type uint32; + description + "number of ac->pw-l2tp entries"; + } + leaf ac-to-pw-count-l2tp-ip-v6 { + type uint32; + description + "number of ac->pw-l2tp-ipv6 entries"; + } + leaf ac-to-pw-count-l2tpv2 { + type uint32; + description + "number of ac->pw-l2tpv2 entries"; + } + leaf ac-to-ac-count { + type uint32; + description + "number of ac->ac entries"; + } + leaf ac-to-unknown-count { + type uint32; + description + "number of ac->unknown type entries"; + } + leaf mon-sess-to-pw-count { + type uint32; + description + "number of monitor_session->pw entries"; + } + leaf mon-sess-to-unknown-count { + type uint32; + description + "number of monitor_session->unknown type entries"; + } + leaf ac-to-bp-count { + type uint32; + description + "number of ac->bp entries"; + } + leaf pw-to-bp-count { + type uint32; + description + "number of pw->bp entries"; + } + leaf pw-to-unknown-count { + type uint32; + description + "number of pw->unknown type entries"; + } + leaf pbb-to-bp-count { + type uint32; + description + "number of pbb->bp entries"; + } + leaf pbb-to-unknown-count { + type uint32; + description + "number of pbb->unknown type entries"; + } + leaf vni-to-bp-count { + type uint32; + description + "number of vni->bp entries"; + } + leaf vni-to-unknown-count { + type uint32; + description + "number of vni->unknown type entries"; + } + leaf evpn-to-bp-count { + type uint32; + description + "number of evpn->bp entries"; + } + leaf evpn-to-unknown-count { + type uint32; + description + "number of evpn->unknown type entries"; + } + leaf ac-down-count-aib { + type uint32; + description + "number of down acs with reason aib"; + } + leaf ac-down-count-l2vpn { + type uint32; + description + "number of down acs with reason l2vpn"; + } + leaf ac-down-count-l3fib { + type uint32; + description + "number of down acs with reason fib"; + } + leaf ac-down-count-vpdn { + type uint32; + description + "number of down acs with reason vpdn"; + } + leaf vpws-pw-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to VPWS PW + invalid xid"; + } + leaf vpls-pw-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to VPLS PW + invalid xid"; + } + leaf virtual-ac-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to Virtual AC + invalid xid"; + } + leaf pbb-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to PBB invalid + xid"; + } + leaf vni-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to VNI invalid + xid"; + } + leaf evpn-invalid-xid-drop-count { + type uint32; + description + "number of xc updates dropped due to EVPN invalid + xid"; + } + leaf vpls-pw-max-exceeded-drop-cnt { + type uint32; + description + "number of xc updates dropped due to max VPLS PWs + exceeded"; + } + leaf bundle-ac-max-exceeded-drop-cnt { + type uint32; + description + "number of xc updates dropped due to max Bundle + ACs exceeded"; + } + leaf p2p-count { + type uint32; + description + "number of p2p xconnects"; + } + leaf bp-count { + type uint32; + description + "number of bridge-port xconnects"; + } + leaf pwhe-l2-if-count { + type uint32; + description + "number of PWHE L2IF xconnects"; + } + } + + grouping L2FIB-SUMMARY-INFO { + description + "L2FIB summary info"; + container xconnect-summary { + description + "xconnect db summary info"; + uses L2FIB-XC-SUMMARY-INFO; + } + container next-hop-summary { + description + "nhop db summry info"; + uses L2FIB-NH-SUMMARY-INFO; + } + container l2tp-disposition-summary { + description + "L2TP disposition object summary"; + uses L2FIB-L2TP-DISP-SUMMARY-INFO; + } + container bridge-domain-summary { + description + "Bridge-domain summary info"; + uses L2FIB-BD-SUMMARY-INFO; + } + container mac-summary { + description + "mac summary info"; + uses L2FIB-MAC-SUMMARY-INFO; + } + container queue-summary { + description + "queue summary info"; + uses L2FIB-OBJ-QUEUES-SUMMARY; + } + container evpn-summary { + description + "evpn summary info"; + uses L2FIB-EVPN-SUMMARY-INFO; + } + container global-cfg { + description + "Global configuration"; + uses L2FIB-GLOBAL-CFG-INFO; + } + container ptree-summary { + description + "P2MP PTree summary info"; + uses L2FIB-PTREE-SUMMARY-INFO; + } + container pw-group-summary { + description + "PWGroup summary info"; + uses L2FIB-PWGROUP-SUMMARY-INFO; + } + container pwhe-mp-summary { + description + "PWHE Main-port summary info"; + uses L2FIB-PWHE-MP-SUMMARY-INFO; + } + } + + grouping L2FIB-MCAST-XID-INFO { + description + "L2fib xid info"; + container base-information { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container forward-stats { + description + "Forwarding Statistics"; + uses L2FIB-PLATFORM-STATS-BAG; + } + container source-prefix { + description + "Source Prefix"; + uses L2FIB-PREFIX-INFO; + } + container destination-prefix { + description + "Destination Prefix"; + uses L2FIB-PREFIX-INFO; + } + leaf bridge-id { + type uint32; + description + "Bridge Id"; + } + leaf ac-interface-handle { + type xr:Interface-name; + description + "AC If handle"; + } + leaf leaf-pointer { + type uint32; + description + "Leaf Ptr"; + } + leaf pw-id { + type string { + length "0..40"; + } + description + "PW ID"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "NHOP IP Address"; + } + leaf isid { + type uint32; + description + "Isid Id"; + } + leaf csfl { + type uint32; + description + "Csfl Id"; + } + leaf sat-id { + type uint16; + description + "Sat Id"; + } + leaf is-ole-offloaded { + type boolean; + description + "Ole Offloaded"; + } + leaf is-ole-master { + type boolean; + description + "Ole Master"; + } + leaf is-topo-hub-and-spoke { + type boolean; + description + "Topo HubAndSpoke"; + } + } + + grouping L2FIB-BRIDGE-SUMMARY-INFO { + description + "L2VPN bridge summary info"; + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf bridge-name { + type string; + description + "Bridge name"; + } + leaf mac-limit { + type uint32; + description + "MAC limit"; + } + leaf mac-limit-action { + type Mgmt-l2fib-mac-limit-action; + description + "MAC limit action"; + } + leaf flood-disabled { + type boolean; + description + "Is flooding disabled"; + } + leaf mac-learning-disabled { + type boolean; + description + "Is MAC learning disabled"; + } + leaf mac-port-down-flush-disabled { + type boolean; + description + "Is MAC port down flush disabled"; + } + leaf admin-disabled { + type boolean; + description + "Is administratively disabled"; + } + leaf bridge-port-count { + type uint32; + description + "Number of bridge ports"; + } + leaf number-of-shg { + type uint32; + description + "Number of split horizon groups"; + } + leaf number-of-hwmac { + type uint32; + description + "Number of HW MAC addresses"; + } + leaf number-of-swmac { + type uint32; + description + "Number of SW MAC addresses"; + } + leaf mtu { + type uint32; + description + "MTU"; + } + leaf aging-time-out { + type uint32; + description + "Aging timeout"; + } + leaf msti { + type uint32; + description + "multi-spanning tree instance"; + } + } + + grouping L2FIB-BRIDGE-PORT-SEG-UN { + description + "L2FIB BRIDGE PORT SEG UN"; + container ac { + when "../data-type = 'mgmt-l2fib-data-type-ac'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "ac"; + uses L2FIB-AC-INFO; + } + container pbb { + when "../data-type = 'mgmt-l2fib-data-type-pbb'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; + } + description + "pbb"; + uses L2FIB-PBB-INFO; + } + container vni { + when "../data-type = 'mgmt-l2fib-data-type-vni'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; + } + description + "vni"; + uses L2FIB-VNI-INFO; + } + container evpn { + when "../data-type = 'mgmt-l2fib-data-type-evpn'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; + } + description + "evpn"; + uses L2FIB-EVPN-INFO; + } + container pw { + when "../data-type != 'mgmt-l2fib-data-type-ac' and ../data-type != 'mgmt-l2fib-data-type-pbb' and ../data-type != 'mgmt-l2fib-data-type-vni' and ../data-type != 'mgmt-l2fib-data-type-evpn'" { + description + "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN'"; + } + description + "pw"; + uses L2FIB-PW-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-BRIDGE-PORT-DETAIL-INFO { + description + "L2VPN bridge port info"; + container segment { + description + "Segment"; + uses L2FIB-BRIDGE-PORT-SEG-UN; + } + container bridge-port-operational-info { + description + "Bridge port operational information"; + uses L2FIB-OPER-BRIDGE-PORT-INFO; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf shg-id { + type uint32; + description + "Split horizon group ID"; + } + leaf xc-id { + type uint32; + description + "xconnect ID"; + } + leaf number-of-hw-mac { + type uint32; + description + "Number of HW MAC addresses"; + } + leaf number-of-sw-mac { + type uint32; + description + "Number of SW MAC addresses"; + } + leaf mac-limit { + type uint32; + description + "MAC limit"; + } + leaf mac-limit-action { + type Mgmt-l2fib-mac-limit-action; + description + "MAC limit action"; + } + leaf flooding-disabled { + type boolean; + description + "Is flooding disabled"; + } + leaf mac-learning-disabled { + type boolean; + description + "Is MAC learning disabled"; + } + leaf mac-port-down-flush-disabled { + type boolean; + description + "Is MAC port down flush disabled"; + } + leaf mtu { + type uint32; + description + "MTU"; + } + leaf aging-time-out { + type uint32; + description + "Aging timeout"; + } + } + + grouping L2FIB-G8032-RING-INSTANCE-DETAIL-INFO { + description + "L2FIB ethernet ring instance info detail"; + leaf ring-instance { + type uint32; + description + "Ring instance number"; + } + leaf vlan-ids { + type string; + description + "Vlan Ids"; + } + leaf ring-profile { + type string; + description + "Ring Profile"; + } + leaf rpl { + type L2fib-g8032-rpl; + description + "RPL"; + } + leaf aps-port0 { + type string; + description + "Port 0 of aps-channel"; + } + leaf aps-port1 { + type string; + description + "Port 1 of aps-channel"; + } + leaf aps-port-status0 { + type L2fib-g8032-aps-port-status; + description + "Status of Port 0"; + } + leaf aps-port-status1 { + type L2fib-g8032-aps-port-status; + description + "Status of Port 1"; + } + leaf aps-channel-level { + type uint32; + description + "APS channel level"; + } + } + + grouping L2FIB-G8032-RING-INSTANCE-SUMMARY-INFO { + description + "L2FIB ethernet ring instance info summary"; + leaf ring-instance { + type uint32; + description + "Ring instance number"; + } + leaf aps-port0 { + type string; + description + "Port 0 of aps-channel"; + } + leaf aps-port1 { + type string; + description + "Port 1 of aps-channel"; + } + } + + grouping L2FIB-G8032-RING-SUMMARY-INFO { + description + "L2FIB ethernet ring info summary"; + leaf ring-name { + type string; + description + "Name of the ring"; + } + leaf port0 { + type string; + description + "Port 0"; + } + leaf port1 { + type string; + description + "Port 1"; + } + } + + grouping L2FIB-G8032-RING-DETAIL-INFO { + description + "L2FIB ethernet ring info detail"; + leaf ring-name { + type string; + description + "Name of the ring"; + } + leaf port0 { + type string; + description + "Port 0"; + } + leaf port1 { + type string; + description + "Port 1"; + } + leaf monitor0 { + type string; + description + "Monitor port 0"; + } + leaf monitor1 { + type string; + description + "Monitor port 1"; + } + leaf is-open-ring { + type boolean; + description + "Open Ring"; + } + } + + grouping L2FIB-L2TP-DISP-INFO { + description + "L2TP session disposition object"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + leaf session-id-xr { + type uint32; + description + "Local Session Id"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface handle of egress main interface"; + } + leaf sub-interface-name { + type xr:Interface-name; + description + "SubInterface Name"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source/Local IP address of the tunnel"; + } + leaf bound { + type boolean; + description + "Bind status"; + } + leaf tunnel-id-xr { + type uint32; + description + "Tunnel ID, l2tpv2"; + } + leaf ipv4-table-id { + type uint32; + description + "IPv4 Table ID"; + } + leaf ipv6-table-id { + type uint32; + description + "IPv6 Table ID"; + } + leaf nhop-ip-addr { + type inet:ipv4-address; + description + "NHOP IP Address of the tunnel"; + } + leaf session-type { + type L2fib-l2tp-session; + description + "L2tp or L2tpv2 session"; + } + } + + grouping L2FIB-MAIN-PORT-MSTP-DETAIL-INFO { + description + "L2FIB main port mstp detail info"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + leaf parent-interface-xr { + type xr:Interface-name; + description + "main port ID"; + } + leaf msti-xr { + type uint32; + description + "multi-spanning tree instance configured value"; + } + leaf internal-msti { + type uint32; + description + "multi-spanning tree instance internal value"; + } + leaf state { + type uint32; + description + "MSTI state"; + } + leaf learn-key { + type uint8; + description + "Learn Key"; + } + list bridge-port-array { + description + "Bridge port"; + leaf entry { + type xr:Interface-name; + } + } + } + + grouping L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-SUMMARY-INFO { + description + "L2VPN main interface instance bridge port info + summary"; + leaf bridge-port-id { + type xr:Interface-name; + description + "Bridge Port ID"; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf main-interface { + type xr:Interface-name; + description + "Main interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + leaf bp-type { + type uint8; + description + "Bridge Port Type"; + } + } + + grouping L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO { + description + "L2FIB main interface instance summary info + summary"; + leaf main-interface { + type xr:Interface-name; + description + "Main interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + leaf instance { + type uint32; + description + "Interface instance"; + } + leaf state { + type L2fib-main-if-instance-state; + description + "Instance state"; + } + leaf bridge-port-count { + type uint32; + description + "Number of bridge ports"; + } + leaf instance-provisioned { + type boolean; + description + "Instances provisioned flag"; + } + } + + grouping L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-DETAIL-INFO { + description + "L2VPN main interface instance bridge port info + detail"; + container oper { + description + "Operational information"; + uses L2FIB-OPER-BRIDGE-PORT-INFO; + } + leaf bridge-port-id { + type xr:Interface-name; + description + "Bridge Port ID"; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf state { + type L2fib-main-if-instance-state; + description + "Instance state"; + } + leaf main-interface { + type xr:Interface-name; + description + "Main interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + leaf bp-type { + type uint8; + description + "Bridge Port Type"; + } + } + + grouping L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO { + description + "L2FIB main interface instance detail info detail"; + leaf main-interface { + type xr:Interface-name; + description + "Main interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + leaf instance { + type uint32; + description + "Interface instance"; + } + leaf state { + type L2fib-main-if-instance-state; + description + "Instance state"; + } + leaf bridge-port-count { + type uint32; + description + "Number of bridge ports"; + } + leaf instance-provisioned { + type boolean; + description + "Instances provisioned flag"; + } + } + + grouping L2FIB-MAIN-INTERFACE-SUMMARY-INFO { + description + "L2FIB main interface summary info summary"; + leaf main-interface { + type xr:Interface-name; + description + "Main Interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + list instance-id { + description + "Instance IDs"; + leaf entry { + type uint32; + } + } + list instances-state { + description + "State for each instance"; + leaf entry { + type L2fib-main-if-instance-state; + } + } + list instances-provisioned { + description + "Instances provisioned flag"; + leaf entry { + type boolean; + } + } + } + + grouping L2FIB-EVPN-REMOTE-SHG-INFO { + description + "L2FIB EVPN Remote Split Horizon Group Info"; + container remote-split-horizon-group-label { + description + "Remote split horizon group label"; + uses L2VPN-EVPN-REMOTE-SHG-INFO; + } + } + + grouping L2FIB-MAIN-INTERFACE-DETAIL-INFO { + description + "L2FIB main interface detail info detail"; + leaf main-interface { + type xr:Interface-name; + description + "Main Interface ID"; + } + leaf main-if-type { + type uint8; + description + "Main Interface Type"; + } + leaf virtual-if-name { + type string; + description + "Virtual Main IfName"; + } + leaf mac { + type string; + description + "MAC Address"; + } + leaf esi-id { + type uint16; + description + "Ethernet segment ID"; + } + leaf evpn-shg-local-label { + type uint32; + description + "EVPN split horizon group local label"; + } + list instance-id { + description + "Instance IDs"; + leaf entry { + type uint32; + } + } + list instances-state { + description + "State for each instance"; + leaf entry { + type L2fib-main-if-instance-state; + } + } + list instances-provisioned { + description + "Instances provisioned flag"; + leaf entry { + type boolean; + } + } + list bridge-port-count-instance { + description + "Number of bridge ports per instance"; + leaf entry { + type uint32; + } + } + list ethernet-segment-identifier { + description + "Ethernet Segment Identifier"; + leaf entry { + type uint8; + } + } + list evpn-shg-remote-info { + description + "EVPN split horizon group remote info"; + uses L2FIB-EVPN-REMOTE-SHG-INFO; + } + } + + grouping L2FIB-DHCP-BIND-UN { + description + "L2FIB DHCP BIND UN"; + container ac { + when "../data-type = 'mgmt-l2fib-data-type-ac'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "ac"; + uses L2FIB-AC-KEY-INFO; + } + container pw { + when "../data-type != 'mgmt-l2fib-data-type-ac'" { + description + "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "pw"; + uses L2FIB-PW-KEY-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-DHCP-BINDING-DETAIL-INFO { + description + "L2FIB DHCP binding detail info"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + container port { + description + "Union of Port information"; + uses L2FIB-DHCP-BIND-UN; + } + } + + grouping L2FIB-PWGROUP-INFO { + description + "l2fib pwgroup info"; + leaf group-state { + type L2fib-group-state; + description + "Group State"; + } + leaf pw-list-count { + type uint32; + description + "Dependent PW List Count"; + } + } + + grouping L2FIB-RSRC-SHM-INFO { + description + "Shared memory availability"; + leaf oout-of-resource-mode { + type uint32; + description + "OOR mode"; + } + leaf maximum-available { + type uint64; + units "byte"; + description + "Maximum bytes available"; + } + leaf average-available { + type uint64; + units "byte"; + description + "Average number of bytes available"; + } + leaf average-utility { + type uint64; + description + "Average utilization"; + } + } + + grouping L2FIB-RSRC-INFO { + description + "L2FIB resource availability info"; + container shm-resource { + description + "Shared memory resource info"; + uses L2FIB-RSRC-SHM-INFO; + } + leaf overall-out-of-resource-mode { + type uint32; + description + "Overall OOR mode"; + } + leaf hardware-resource-mode-information { + type yang:hex-string; + description + "Opaque hardware resource info"; + } + list hardware-resource-mode { + description + "Hardware resource mode"; + leaf entry { + type uint32; + } + } + } + + grouping L2FIB-MAIN-PORT-MSTP-SUMMARY-INFO { + description + "L2FIB main port mstp summary info"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + leaf parent-interface-xr { + type xr:Interface-name; + description + "main port ID"; + } + leaf msti-xr { + type uint32; + description + "multi-spanning tree instance"; + } + leaf state { + type uint32; + description + "MSTI state"; + } + leaf bridge-port-count { + type uint32; + description + "Number of bridge ports"; + } + } + + grouping L2FIB-BRIDGE-P2MP-PW-INFO { + description + "L2FIB BRIDGE P2MP PW INFO"; + container parent-next-hop { + description + "Parent Next Hop for P2MP PW"; + uses L2FIB-NHOP-INFO; + } + leaf ptree-type { + type L2vpn-ptree; + description + "P2MP ptree type"; + } + leaf lsm-id { + type uint32; + description + "LSM id"; + } + leaf p2mp-te-interface { + type xr:Interface-name; + description + "P2MP TE ifh"; + } + leaf parent-nh-valid { + type boolean; + description + "Is Parent NH Valid"; + } + leaf parent-nh-bound { + type boolean; + description + "Is Parent NH Bound"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + } + + grouping L2FIB-BRIDGE-BVI-INFO { + description + "L2FIB BRIDGE BVI INFO"; + leaf bvi-ifh { + type xr:Interface-name; + description + "BVI interface handle"; + } + leaf bvi-xid { + type uint32; + description + "BVI xconnect id"; + } + leaf bvi-name { + type string { + length "0..65"; + } + description + "BVI name"; + } + leaf bvi-shg-id { + type uint32; + description + "BVI Split Horizon Group ID"; + } + leaf irb-plat-data-len { + type uint32; + units "byte"; + description + "Platform data bytes"; + } + leaf irb-plat-data { + type yang:hex-string; + description + "IRB platform data"; + } + } + + grouping L2FIB-BRIDGE-PBB-CORE { + description + "L2FIB BRIDGE PBB CORE"; + leaf nber-edge-bd { + type uint32; + description + "Number of associated pbb-edge Bds"; + } + } + + grouping L2FIB-BRIDGE-PBB-EDGE { + description + "L2FIB BRIDGE PBB EDGE"; + leaf i-sid { + type uint32; + description + "I SID"; + } + leaf core-bd-name { + type string; + description + "Core Bridge Domain name"; + } + leaf mirp-lite-rx { + type uint64; + description + "MIRP-lite Rx packet counter"; + } + leaf mirp-lite-tx { + type uint64; + description + "MIRP-lite Tx packet counter"; + } + } + + grouping L2FIB-BRIDGE-PBB-UN { + description + "L2FIB BRIDGE PBB UN"; + container edge { + when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-edge'" { + description + "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_EDGE'"; + } + description + "edge"; + uses L2FIB-BRIDGE-PBB-EDGE; + } + container core { + when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-core'" { + description + "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_CORE'"; + } + description + "core"; + uses L2FIB-BRIDGE-PBB-CORE; + } + leaf pbb-type { + type Mgmt-l2fib-bridge; + description + "PbbType"; + } + } + + grouping L2FIB-OPER-BRIDGE-INFO { + description + "L2VPN bridge operational information"; + container operational-information { + description + "L2 operational information"; + uses L2FIB-OPER-INFO; + } + leaf unicast-storm-control-pps { + type uint64; + description + "Unicast storm control pps"; + } + leaf unicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Unicast storm control kbps"; + } + leaf broadcast-storm-control-pps { + type uint64; + description + "Broadcast storm control pps"; + } + leaf broadcast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Broadcast storm control kbps"; + } + leaf multicast-storm-control-pps { + type uint64; + description + "Multicast storm control pps"; + } + leaf multicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Multicast storm control kbps"; + } + } + + grouping L2FIB-BRIDGE-INFO { + description + "L2VPN bridge detailed info"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + container oper { + description + "Operational information"; + uses L2FIB-OPER-BRIDGE-INFO; + } + container bd-pbb-union { + description + "Union of bridge Edge and Core info"; + uses L2FIB-BRIDGE-PBB-UN; + } + container bvi-info { + description + "BVI Information"; + uses L2FIB-BRIDGE-BVI-INFO; + } + container p2mppw-info { + description + "P2MP PW Information"; + uses L2FIB-BRIDGE-P2MP-PW-INFO; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf bridge-port-count { + type uint32; + description + "Number of bridge ports"; + } + leaf number-of-hwmac { + type uint32; + description + "Number of HW MAC addresses"; + } + leaf number-of-swmac { + type uint32; + description + "Number of SW MAC addresses"; + } + leaf bridge-name { + type string; + description + "Bridge name"; + } + leaf shg-count { + type uint32; + description + "Number of split horizon groups"; + } + leaf bridge-type { + type Mgmt-l2fib-bridge; + description + "Bridge Type"; + } + leaf learn-key { + type uint8; + description + "Learn Key"; + } + } + + grouping L2FIB-DHCP-BINDING-COUNT-INFO { + description + "L2FIB DHCP binding count info"; + leaf bindings { + type uint32; + description + "DHCP binding count"; + } + } + + grouping L2FIB-PWHE-MP-SHOW-INFO { + description + "L2FIB PWHE Main-port info"; + leaf next-hop-valid { + type boolean; + description + "IS Next Hop Valid"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next Hop Address"; + } + leaf pseudo-wire-type { + type uint32; + description + "Pseudowire type"; + } + leaf generic-interface-list-id { + type uint32; + description + "Generic Interface List ID"; + } + leaf internal-label { + type uint32; + description + "Internal label"; + } + leaf remote-label { + type uint32; + description + "Remote label"; + } + leaf control-word-enabled { + type boolean; + description + "Control Word Enabled"; + } + } + + grouping L2FIB-EVPN-IPMAC-INFO { + description + "L2FIB EVPN IP-MAC Info"; + container ip-address-xr { + description + "IP Address"; + uses L2FIB-IP-ADDR; + } + leaf bdid-xr { + type uint32; + description + "BD ID"; + } + leaf mac-address-xr { + type yang:mac-address; + description + "MAC Address"; + } + leaf arp-nd-sync-pending { + type boolean; + description + "Sync to ARP/ND Process Pending"; + } + leaf arp-nd-probe-pending { + type boolean; + description + "Probe to ARP/ND Process Pending"; + } + leaf arp-nd-delete-pending { + type boolean; + description + "Delete to ARP/ND Process Pending"; + } + leaf is-local-xr { + type boolean; + description + "IP-MAC Route is locally learned"; + } + } + + grouping L2FIB-BRIDGE-MAC-EVPN-CTX-UN { + description + "L2FIB BRIDGE MAC EVPN CTX UN"; + container mcast-ole { + when "../data-type = 'mgmt-l2fib-bridge-mac-evpn-ctx-moi'" { + description + "../DataType = + 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_MOI'"; + } + description + "mcast ole"; + uses L2VPN-EVPN-MOI-INFO; + } + leaf data-type { + type Mgmt-l2fib-bridge-mac-evpn-ctx; + description + "DataType"; + } + leaf esi-id { + when "../data-type = 'mgmt-l2fib-bridge-mac-evpn-ctx-esi-id'" { + description + "../DataType = + 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_ESI_ID'"; + } + type uint16; + description + "EsiID"; + } + leaf local-label { + when "../data-type = 'mgmt-l2fib-bridge-mac-evpn-ctx-local-label'" { + description + "../DataType = + 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_LOCAL_LABEL'"; + } + type uint32; + description + "LocalLabel"; + } + leaf bp-ifh { + when "../data-type = 'mgmt-l2fib-bridge-mac-evpn-ctx-bp-ifh'" { + description + "../DataType = + 'MGMT_L2FIB_BRIDGE_MAC_EVPN_CTX_BP_IFH'"; + } + type xr:Interface-name; + description + "BP IFH"; + } + } + + grouping L2FIB-PW-KEY-INFO { + description + "L2FIB PW KEY INFO"; + leaf pw-id { + type uint64; + description + "Pseudowire ID"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next Hop Address"; + } + leaf pseudo-wire-id-type { + type L2fib-pw-id; + description + "Pseudowire ID type"; + } + } + + grouping L2FIB-EVPN-KEY-INFO { + description + "L2FIB EVPN KEY INFO"; + leaf xcid { + type uint32; + description + "Xconnect ID"; + } + } + + grouping L2FIB-VNI-KEY-INFO { + description + "L2FIB VNI KEY INFO"; + leaf xcid { + type uint32; + description + "Xconnect ID"; + } + leaf parent-if { + type xr:Interface-name; + description + "Parent NVE Interface"; + } + } + + grouping L2FIB-PBB-KEY-INFO { + description + "L2FIB PBB KEY INFO"; + leaf xcid { + type uint32; + description + "Xconnect ID"; + } + } + + grouping L2FIB-AC-KEY-INFO { + description + "L2FIB AC KEY INFO"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + } + + grouping L2FIB-BRIDGE-PORT-SEG-KEY-UN { + description + "L2FIB BRIDGE PORT SEG KEY UN"; + container ac { + when "../data-type = 'mgmt-l2fib-data-type-ac'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "ac"; + uses L2FIB-AC-KEY-INFO; + } + container pbb { + when "../data-type = 'mgmt-l2fib-data-type-pbb'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; + } + description + "pbb"; + uses L2FIB-PBB-KEY-INFO; + } + container vni { + when "../data-type = 'mgmt-l2fib-data-type-vni'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; + } + description + "vni"; + uses L2FIB-VNI-KEY-INFO; + } + container evpn { + when "../data-type = 'mgmt-l2fib-data-type-evpn'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; + } + description + "evpn"; + uses L2FIB-EVPN-KEY-INFO; + } + container pw { + when "../data-type != 'mgmt-l2fib-data-type-ac' and ../data-type != 'mgmt-l2fib-data-type-pbb' and ../data-type != 'mgmt-l2fib-data-type-vni' and ../data-type != 'mgmt-l2fib-data-type-evpn'" { + description + "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN'"; + } + description + "pw"; + uses L2FIB-PW-KEY-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-BRIDGE-MAC-INFO { + description + "L2VPN bridge MAC address info"; + container base { + description + "Base information"; + uses L2FIB-BASE-INFO; + } + container segment { + description + "Segment"; + uses L2FIB-BRIDGE-PORT-SEG-KEY-UN; + } + container evpn-ctx { + description + "Evpn Context"; + uses L2FIB-BRIDGE-MAC-EVPN-CTX-UN; + } + container next-hop { + description + "Next Hop"; + uses L2FIB-NHOP-INFO; + } + leaf platform-is-hw-learn { + type uint8; + description + "Platform is HW Learn"; + } + leaf node-id { + type xr:Node-id; + description + "Nodeid list"; + } + leaf bridge-domain-name { + type string; + description + "Bridge name"; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf bmac-configured { + type boolean; + description + "Flag: Configured BMAC"; + } + leaf vni-l3-flag { + type boolean; + description + "Flag: L3 Vxlan"; + } + leaf pbb-bmac { + type yang:mac-address; + description + "Backbone MAC Address"; + } + leaf l3-encapsulationvlan-id { + type uint16; + description + "L3 encapsulation Vlan ID"; + } + leaf next-hop-valid { + type boolean; + description + "IS Next Hop Valid"; + } + leaf peer-vtep-ip { + type inet:ipv4-address; + description + "Peer VTEP IP for this MAC Address"; + } + leaf flag-extension { + type uint16; + description + "MAC Flag Extension"; + } + leaf vni { + type uint32; + description + "VNI Information"; + } + } + + grouping L2VPN-EVPN-MOI-INFO { + description + "L2VPN EVPN MOI INFO"; + leaf next-hop-ipv6-addr { + type inet:ipv6-address; + description + "Next Hop IPv6 address"; + } + leaf mcast-label { + type uint32; + description + "Inclusive mcast label"; + } + } + + grouping L2FIB-EVPN-MCAST-OLE-INFO { + description + "L2FIB evpn mcast ole info"; + container mcast-ole { + description + "Mcast Ole Info"; + uses L2VPN-EVPN-MOI-INFO; + } + container next-hop { + description + "Next Hop"; + uses L2FIB-NHOP-INFO; + } + leaf is-bound { + type boolean; + description + "Is bound"; + } + leaf next-hop-valid { + type boolean; + description + "IS Next Hop Valid"; + } + } + + grouping L2FIB-EVPN-MCAST-LEAF-INFO { + description + "L2FIB evpn mcast leaf info"; + leaf bridge-domain-name { + type string; + description + "Bridge-domain name"; + } + leaf bridge-domain-id { + type uint32; + description + "bdid value"; + } + leaf xcid { + type uint32; + description + "xcid value"; + } + leaf is-bound { + type boolean; + description + "Is bound"; + } + } + + grouping L2FIB-P2MP-PTREE-INFO { + description + "l2fib p2mp ptree info"; + leaf lsm-id-xr { + type uint32; + description + "MLDP Lsm Id"; + } + leaf tunnel-id-xr { + type uint32; + description + "RSVPTE Tunnel Id"; + } + leaf p2mp-id-xr { + type uint32; + description + "RSVPTE P2MP Id"; + } + leaf extended-tunnel-id-xr { + type inet:ipv4-address; + description + "RSVPTE Ext Tunnel Id"; + } + } + + grouping L2FIB-IP-ADDR { + description + "L2FIB IP ADDR"; + leaf addr-type { + type L2fib-ip-addr; + description + "addr type"; + } + leaf ip { + type inet:ipv6-address; + description + "ip"; + } + } + + grouping L2FIB-MAC-DB-INFO { + description + "L2FIB MAC DB info"; + container addr { + description + "IP Address"; + uses L2FIB-IP-ADDR; + } + container nhaddr { + description + "IP Address"; + uses L2FIB-IP-ADDR; + } + leaf element-type { + type uint8; + description + "Element Type"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + leaf topology-id { + type uint32; + description + "Topology ID"; + } + leaf mac-address-xr { + type yang:mac-address; + description + "MAC Address"; + } + leaf interface-handle-xr { + type uint32; + description + "Interface Handle"; + } + leaf xcid { + type uint32; + description + "Cross-connect Identifier"; + } + leaf generation { + type uint8; + description + "HW MAC generation"; + } + } + + grouping L2FIB-PBB-BMAC-SA-INFO { + description + "L2FIB PBB BMAC SA INFO"; + leaf configured { + type boolean; + description + "BMAC SA configured"; + } + leaf mac { + type yang:mac-address; + description + "Backbone Source Mac"; + } + leaf chassis-mac { + type yang:mac-address; + description + "Chassis Mac"; + } + } + + grouping L2FIB-MCAST-IRB-INFO { + description + "L2FIB MCAST IRB INFO"; + leaf mxid-ac-interface-handle { + type xr:Interface-name; + description + "Master XID AC If handle"; + } + leaf mxid-pw-id { + type uint32; + description + "Master XID PW ID"; + } + leaf mxid-next-hop-address { + type inet:ipv4-address; + description + "Master XID NHOP IP Address"; + } + leaf irb-plat-data-len { + type uint16; + units "byte"; + description + "Platform data bytes"; + } + list irb-plat-data { + max-elements "16"; + description + "IRB platform data"; + leaf entry { + type uint32; + } + } + } + + grouping L2FIB-MCAST-BAG-COUNTERS { + description + "L2FIB mcast statistics counters"; + leaf packets { + type uint64; + description + "Number of packets"; + } + leaf bytes { + type uint64; + units "byte"; + description + "Number of bytes"; + } + } + + grouping L2FIB-MCAST-STATS-BAG { + description + "L2FIB mcast forwarding statistics"; + container multicast-forward-stat { + description + "forwarded stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + container received-stat { + description + "received stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + container punt { + description + "punted stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + container drop { + description + "dropped stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + container multicast-core-forward-stat { + description + "core forwarded stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + container core-received-stat { + description + "core received stats"; + uses L2FIB-MCAST-BAG-COUNTERS; + } + } + + grouping L2FIB-PLATFORM-STATS-UNION-BAG { + description + "L2FIB PLATFORM STATS UNION BAG"; + container mulicast { + when "../data-type = 'mgmt-l2fib-stats-type-mcast'" { + description + "../DataType = 'MGMT_L2FIB_STATS_TYPE_MCAST'"; + } + description + "mulicast"; + uses L2FIB-MCAST-STATS-BAG; + } + leaf data-type { + type Mgmt-l2fib-stats-data; + description + "DataType"; + } + } + + grouping L2FIB-PLATFORM-STATS-BAG { + description + "L2FIB platform statistics"; + container forward-stat { + description + "fwd stats"; + uses L2FIB-PLATFORM-STATS-UNION-BAG; + } + } + + grouping L2FIB-PREFIX-INFO { + description + "L2FIB PREFIX INFO"; + leaf proto { + type uint8; + description + "The prefix protocol"; + } + leaf prefix-length { + type uint16; + description + "The prefix length"; + } + leaf prefix { + type yang:hex-string; + description + "The prefix"; + } + } + + grouping L2FIB-MCAST-LEAF-INFO { + description + "l2fib mcast leaf info"; + container multicast-base-information { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container source-prefix { + description + "Source Prefix"; + uses L2FIB-PREFIX-INFO; + } + container destination-prefix { + description + "Destination Prefix"; + uses L2FIB-PREFIX-INFO; + } + container forward-stats { + description + "Forwarding Statistics"; + uses L2FIB-PLATFORM-STATS-BAG; + } + container irb-info { + description + "IRB Information"; + uses L2FIB-MCAST-IRB-INFO; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf xid-count { + type uint16; + description + "Count of XIDs"; + } + leaf platform-data-length { + type uint8; + description + "The mcast platform data len"; + } + leaf platform-data { + type yang:hex-string; + description + "The mcast platform data"; + } + leaf hardware-information { + type yang:hex-string; + description + "Platform Hardware info"; + } + leaf bridge-domain-name { + type string { + length "0..66"; + } + description + "Bridge Name"; + } + } + + grouping L2FIB-GBL-RTD-ITEM { + description + "Round-trip delay for PD calls per action"; + leaf number-pd-update { + type uint32; + description + "The number of time PD is called"; + } + leaf number-pd-update-zero { + type uint32; + description + "The number of time PD is called in 0 time"; + } + leaf minimum-round-trip-delay { + type uint64; + description + "The minimum round trip delay"; + } + leaf maximum-round-trip-delay { + type uint64; + description + "The maximum round trip delay"; + } + leaf average-round-trip-delay { + type uint64; + description + "The average round trip delay"; + } + } + + grouping L2FIB-GBL-RTD { + description + "Round-trip delay measurement"; + container bdxc-rtd { + description + "bdxc rtd"; + uses L2FIB-GBL-RTD-ITEM; + } + container aging-rtd { + description + "aging rtd"; + uses L2FIB-GBL-RTD-ITEM; + } + container punt-rtd { + description + "punt rtd"; + uses L2FIB-GBL-RTD-ITEM; + } + container lock-rtd { + description + "lock rtd"; + uses L2FIB-GBL-RTD-ITEM; + } + container platform-init-rtd { + description + "platform init rtd"; + uses L2FIB-GBL-RTD-ITEM; + } + leaf rtd-max-obj-type { + type uint32; + description + "RTD MAX OBJTYPE"; + } + list create { + max-elements "51"; + description + "create"; + uses L2FIB-GBL-RTD-ITEM; + } + list modify { + max-elements "51"; + description + "modify"; + uses L2FIB-GBL-RTD-ITEM; + } + list delete { + max-elements "51"; + description + "delete"; + uses L2FIB-GBL-RTD-ITEM; + } + list bind { + max-elements "51"; + description + "bind"; + uses L2FIB-GBL-RTD-ITEM; + } + list unbind { + max-elements "51"; + description + "unbind"; + uses L2FIB-GBL-RTD-ITEM; + } + list mac-flush { + max-elements "51"; + description + "mac flush"; + uses L2FIB-GBL-RTD-ITEM; + } + list pirtd { + max-elements "51"; + description + "pirtd"; + uses L2FIB-GBL-RTD-ITEM; + } + } + + grouping L2FIB-EVT-ENTRY { + description + "L2FIB event item"; + leaf event-time { + type string { + length "0..32"; + } + description + "The real timestamp of the event"; + } + leaf event-type { + type uint8; + description + "Event type"; + } + leaf event-many { + type boolean; + description + "Multiple event instance flag"; + } + leaf event-sticky { + type boolean; + description + "Unwrittable flag"; + } + leaf event-flags { + type uint32; + description + "base flag object"; + } + } + + grouping L2FIB-GBL-EVT-HISTORY { + description + "L2FIB global event history"; + leaf event-neighbor-entry { + type uint16; + description + "number of item in the array"; + } + list extra-information1 { + max-elements "256"; + description + "extra information1"; + leaf entry { + type uint32; + } + } + list extra-information2 { + max-elements "256"; + description + "extra information2"; + leaf entry { + type uint32; + } + } + list event-entry { + max-elements "256"; + description + "event entry"; + uses L2FIB-EVT-ENTRY; + } + } + + grouping L2FIB-EXT-MSG-SUMMARY-INFO { + description + "L2FIB message counters summary info"; + container event-history { + description + "Event history buffer"; + uses L2FIB-GBL-EVT-HISTORY; + } + container round-trip-delay { + description + "Round-Trip delay"; + uses L2FIB-GBL-RTD; + } + list message { + max-elements "87"; + description + "message"; + uses L2FIB-GBL-MSG-INFO; + } + } + + grouping L2FIB-GBL-MSG-INFO { + description + "L2FIB message counter item info"; + leaf messgae-count { + type uint32; + description + "number of message"; + } + leaf time { + type string { + length "0..32"; + } + description + "Time string"; + } + leaf information1 { + type uint32; + description + "Extra info 1"; + } + leaf information2 { + type uint32; + description + "Extra info 2"; + } + } + + grouping L2FIB-MCAST-SUMMARY-INFO { + description + "l2fib mcast summary info"; + leaf bridge-domain-name { + type string { + length "0..66"; + } + description + "Bridge Name"; + } + leaf bridge-domain-id { + type uint32; + description + "Bridge ID"; + } + leaf multicast-update { + type uint32; + description + "Multicast Updates"; + } + leaf multicast-update-dropped { + type uint32; + description + "Multicast Updates"; + } + leaf number-of-routes { + type uint32; + description + "Number of Routes"; + } + leaf number-of-routes-with-ole-offload { + type uint32; + description + "Number of Routes with OleOffload"; + } + leaf number-of-mroute-add { + type uint32; + description + "Number of Mroutes Added"; + } + leaf number-mroute-deleted { + type uint32; + description + "Number of Mroutes Deleted"; + } + leaf number-mroutes-deleted-all { + type uint32; + description + "Number of Mroutes All Deleted"; + } + leaf number-mroute-delete-drop { + type uint32; + description + "Number of Mroutes Delete droped"; + } + leaf number-mroute-all-delete-drop { + type uint32; + description + "Number of Mroutes All Delete droped"; + } + leaf number-xid-add { + type uint32; + description + "Number of XID Added"; + } + leaf number-xid-deleted { + type uint32; + description + "Number of XID Deleted"; + } + leaf number-of-xid { + type uint32; + description + "Number of XIDs"; + } + leaf stale-deleted { + type uint32; + description + "Stale Deleted"; + } + leaf stale-xid-deleted { + type uint32; + description + "Stale XID Deleted"; + } + list message { + max-elements "15"; + description + "Global Message Information"; + uses L2FIB-GBL-MSG-INFO; + } + } + + grouping L2FIB-FXS-INFO { + description + "L2VPN FXS info"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf fxs-id { + type uint32; + description + "FXS ID"; + } + leaf segment-type { + type uint8; + description + "Segment type"; + } + } + + grouping L2FIB-BRIDGE-PORT-P2MP-INFO { + description + "L2FIB BRIDGE PORT P2MP INFO"; + leaf ptree-type { + type L2vpn-ptree; + description + "P2MP ptree type"; + } + leaf lsm-id { + type uint32; + description + "MLDP LSM id"; + } + leaf tunnel-id { + type uint16; + description + "TE Tunnel Id"; + } + leaf p2mp-id { + type uint16; + description + "TE P2MP Id"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "TE Extended Tunnel Id"; + } + leaf ptree-owner-lmrib { + type boolean; + description + "PTree Owner LMRIB"; + } + } + + grouping L2FIB-PROFILE-INFO { + description + "L2VPN feature profile information"; + leaf profile-name { + type string; + description + "Feature profile name"; + } + } + + grouping L2FIB-FEATURE-UN { + description + "L2FIB FEATURE UN"; + container dhcp { + when "../feature-type = 'l2fib-feature-dhcp-snooping'" { + description + "../feature_type = 'L2FIB_FEATURE_DHCP_SNOOPING'"; + } + description + "dhcp"; + uses L2FIB-PROFILE-INFO; + } + container igmp { + when "../feature-type = 'l2fib-feature-igmp-snooping'" { + description + "../feature_type = 'L2FIB_FEATURE_IGMP_SNOOPING'"; + } + description + "igmp"; + uses L2FIB-PROFILE-INFO; + } + container mld { + when "../feature-type = 'l2fib-feature-mld-snooping'" { + description + "../feature_type = 'L2FIB_FEATURE_MLD_SNOOPING'"; + } + description + "mld"; + uses L2FIB-PROFILE-INFO; + } + leaf feature-type { + type L2fib-feature; + description + "feature type"; + } + } + + grouping L2FIB-OPER-INFO { + description + "L2VPN common operational information"; + leaf mtu { + type uint32; + description + "MTU"; + } + leaf mac-aging-time { + type uint32; + units "minute"; + description + "MAC aging time in minutes"; + } + leaf mac-limit { + type uint32; + description + "MAC limit"; + } + leaf number-of-macs { + type uint32; + description + "numberOfMacs"; + } + leaf admin-disabled { + type boolean; + description + "Is administratively disabled"; + } + leaf flooding-disabled { + type boolean; + description + "Is flooding disabled"; + } + leaf flood-unknown-unicast-enabled { + type boolean; + description + "Is flooding unknown unicast disabled"; + } + leaf mac-limit-action { + type Mgmt-l2fib-mac-limit-action; + description + "MAC limit action"; + } + leaf mac-limit-threshold { + type uint32; + units "percentage"; + description + "MAC limit percentage recovery threshold"; + } + leaf mac-learning-disabled { + type boolean; + description + "Is MAC learning disabled"; + } + leaf mac-port-down-flush-disabled { + type boolean; + description + "Is MAC port down flush disabled"; + } + leaf mac-limit-notification-type { + type Mgmt-l2fib-mac-limit-notify; + description + "MAC limit notification"; + } + leaf is-mac-secure-enabled { + type boolean; + description + "Is MAC Secure Enabled"; + } + leaf is-mac-secure-logging-enabled { + type boolean; + description + "Is MAC Secure Logging Enabled"; + } + leaf mac-secure-action { + type Mgmt-l2fib-mac-sec-action; + description + "MAC secure action"; + } + leaf is-mac-secure-accept-shutdown { + type boolean; + description + "Is MAC secure accept shutdown (BP only)"; + } + leaf is-mac-secure-threshold-enabled { + type boolean; + description + "Is MAC Secure Threshold Enabled"; + } + leaf mac-aging-type { + type boolean; + description + "MAC aging type"; + } + leaf storm-control-unicast-enabled { + type boolean; + description + "Is unicast storm control enabled"; + } + leaf storm-control-broadcast-enabled { + type boolean; + description + "Is broadcast storm control enabled"; + } + leaf storm-control-multicast-enabled { + type boolean; + description + "Is multicast storm control enabled"; + } + leaf storm-control-unicast-rate-unit { + type L2fib-storm-control-rate-unit; + description + "Storm control unicast rate unit"; + } + leaf storm-control-broadcast-rate-unit { + type L2fib-storm-control-rate-unit; + description + "Storm control broadcast rate unit"; + } + leaf storm-control-multicast-rate-unit { + type L2fib-storm-control-rate-unit; + description + "Storm control multicast rate unit"; + } + leaf dhcp-enabled { + type boolean; + description + "Is DHCP snooping enabled"; + } + leaf dhcp-trusted { + type boolean; + description + "Is DHCP trusted"; + } + leaf is-dai-enabled { + type boolean; + description + "Is Dynamic ARP Inspection Enabled"; + } + leaf is-dai-addr-validation-ipv4-enabled { + type boolean; + description + "Is DAI IPv4 Address Validation Enabled"; + } + leaf is-dai-addr-validation-source-mac-enabled { + type boolean; + description + "Is DAI Source MAC Address Validation Enabled"; + } + leaf is-dai-addr-validation-destination-mac-enabled { + type boolean; + description + "Is DAI Destination MAC Validation enabled"; + } + leaf is-dai-logging-enabled { + type boolean; + description + "Is DAI Logging Enabled"; + } + leaf is-ipsg-enabled { + type boolean; + description + "Is IP Source Guard Enabled"; + } + leaf is-ipsg-logging-enabled { + type boolean; + description + "Is IP Source Guard Logging Enabled"; + } + leaf is-vpls-flood-optimization-enabled { + type boolean; + description + "Is MMRP Flood Optimization Enabled"; + } + leaf igmp-snoop-enabled { + type boolean; + description + "Is IGMP snooping enabled"; + } + leaf igmp-snoop-profile-enabled { + type boolean; + description + "Is IGMP snooping profile enabled"; + } + leaf igmp-flood-forward-enabled { + type boolean; + description + "Is IGMP flood forwarding enabled"; + } + leaf igmp-mroute-port-enabled { + type boolean; + description + "Is mrouter port"; + } + leaf igmp-route-guard-enabled { + type boolean; + description + "Is router gurad enabled"; + } + leaf mld-snoop-enabled { + type boolean; + description + "Is MLD snooping enabled"; + } + leaf mld-snoop-profile-enabled { + type boolean; + description + "Is MLD snooping profile enabled"; + } + leaf mld-flood-forward-enabled { + type boolean; + description + "Is MLD flood forwarding enabled"; + } + leaf mld-mroute-port-enabled { + type boolean; + description + "Is mrouter port"; + } + leaf mld-route-guard-enabled { + type boolean; + description + "Is router gurad enabled"; + } + leaf stp-participating { + type boolean; + description + "Is Spanning Tree Protocol participating"; + } + leaf bvi-configured { + type boolean; + description + "Is BVI Interface configured"; + } + leaf is-bvi-up { + type boolean; + description + "Is BVI state UP"; + } + leaf is-vni-enabled { + type boolean; + description + "Is VNI enabled"; + } + leaf is-evpn-enabled { + type boolean; + description + "Is EVPN enabled"; + } + leaf unknown-unicast-flooding-disabled { + type boolean; + description + "Unknown Unicast Flooding is disabled"; + } + leaf is-pbbevpn-enabled { + type boolean; + description + "Is PBBEVPN enabled"; + } + leaf is-swmac-learning { + type boolean; + description + "Is SW MAC learning enabled"; + } + leaf is-evpn-flow-label { + type boolean; + description + "Is EVPN Flow Label enabled"; + } + leaf is-evpn-cw-disable { + type boolean; + description + "Is EVPN CW disabled"; + } + leaf msti { + type uint32; + description + "Multi-spanning tree instance"; + } + leaf is-p2mp-pw-enabled { + type boolean; + description + "Is P2MP PW enabled"; + } + leaf is-igmp-snoop-enabled { + type boolean; + description + "Is IGMP Snooping admin enabled"; + } + leaf nv-satellite-offload-ipv4-multicast-disabled { + type boolean; + description + "nV Satellite Offload IPv4 Multicast Disabled"; + } + list feature { + description + "Feature information"; + uses L2FIB-FEATURE-UN; + } + } + + grouping L2FIB-OPER-BRIDGE-PORT-INFO { + description + "L2VPN bridge port operational information"; + container operational-information { + description + "L2 operational information"; + uses L2FIB-OPER-INFO; + } + leaf unicast-storm-control-pps { + type uint64; + description + "Unicast storm control pps"; + } + leaf unicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Unicast storm control kbps"; + } + leaf broadcast-storm-control-pps { + type uint64; + description + "Broadcast storm control pps"; + } + leaf broadcast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Broadcast storm control kbps"; + } + leaf multicast-storm-control-pps { + type uint64; + description + "Multicast storm control pps"; + } + leaf multicast-storm-control-kb-ps { + type uint64; + units "kbit/s"; + description + "Multicast storm control kbps"; + } + } + + grouping L2FIB-BRIDGE-PORT-INFO { + description + "L2VPN bridge port info"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container oper { + description + "Operational information"; + uses L2FIB-OPER-BRIDGE-PORT-INFO; + } + container p2mp { + description + "BP P2MP PW Information"; + uses L2FIB-BRIDGE-PORT-P2MP-INFO; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf shg-id { + type uint32; + description + "Split horizon group ID"; + } + leaf msti-pointer { + type uint32; + description + "MSTI Pointer"; + } + leaf segment-type { + type uint8; + description + "Segment type"; + } + leaf mvrp-sequence-number { + type uint16; + description + "MVRP Sequence Number"; + } + leaf learn-key { + type uint8; + description + "Learn Key"; + } + } + + grouping L2FIB-SEG2-UN { + description + "L2FIB SEG2 UN"; + container ac { + when "../data-type = 'mgmt-l2fib-data-type-ac'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "ac"; + uses L2FIB-AC-INFO; + } + container bp { + when "../data-type = 'mgmt-l2fib-data-type-bridge-port'" { + description + "../DataType = + 'MGMT_L2FIB_DATA_TYPE_BRIDGE_PORT'"; + } + description + "bp"; + uses L2FIB-BRIDGE-PORT-INFO; + } + container fxs { + when "../data-type = 'mgmt-l2fib-data-type-fxs'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_FXS'"; + } + description + "fxs"; + uses L2FIB-FXS-INFO; + } + container pw { + when "../data-type != 'mgmt-l2fib-data-type-ac' and ../data-type != 'mgmt-l2fib-data-type-bridge-port' and ../data-type != 'mgmt-l2fib-data-type-fxs'" { + description + "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . + ./DataType != + 'MGMT_L2FIB_DATA_TYPE_BRIDGE_PORT' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_FXS'"; + } + description + "pw"; + uses L2FIB-PW-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-BACKUP-PW-INFO { + description + "L2FIB BACKUP PW INFO"; + container atom { + description + "atom"; + uses L2FIB-PW-MPLS-INFO; + } + leaf backup-next-hop { + type inet:ipv4-address; + description + "Backup Next Hop"; + } + leaf backup-pseudo-wire-id-type { + type L2fib-pw-id; + description + "Pseudowire ID type"; + } + leaf backup-pseudo-wire-id { + type uint32; + description + "Backup Pseudowire ID"; + } + leaf redundancy-role { + type L2fib-pw-redundancy-role; + description + "Redundancy Role"; + } + leaf active { + type boolean; + description + "PW is active and forwarding"; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf pw-flow-label-tx { + type boolean; + description + "Pseudowire flow label TX enabled"; + } + leaf grouping-supported { + type boolean; + description + "Grouping supported"; + } + leaf group-id { + type uint32; + description + "PW Group Id"; + } + leaf group-state { + type L2fib-group-state; + description + "Group State"; + } + } + + grouping L2FIB-PW-L2TP-IPV6-TS-SESS-INFO { + description + "L2FIB PW L2TP IPV6 TS SESS INFO"; + leaf cookie-size { + type uint8; + description + "Cookie size"; + } + leaf cookie-low-value { + type uint32; + description + "Cookie low value"; + } + leaf cookie-high-value { + type uint32; + description + "Cookie high value"; + } + leaf secondary-cookie-size { + type uint8; + description + "Secondary Cookie size"; + } + leaf secondary-cookie-low-value { + type uint32; + description + "Secondary Cookie low value"; + } + leaf secondary-cookie-high-value { + type uint32; + description + "Secondary Cookie high value"; + } + leaf session-id { + type uint32; + description + "L2TP session ID"; + } + } + + grouping L2FIB-PW-L2TP-IPV6-TS-INFO { + description + "L2FIB PW L2TP IPV6 TS INFO"; + container local { + description + "Local session info"; + uses L2FIB-PW-L2TP-IPV6-TS-SESS-INFO; + } + container remote { + description + "Remote session info"; + uses L2FIB-PW-L2TP-SESS-INFO; + } + leaf tos-val { + type uint8; + description + "TOS val"; + } + leaf ttl { + type uint8; + description + "TTL"; + } + leaf path-mtu { + type uint16; + description + "Path MTU"; + } + leaf sequence-number-sent { + type uint32; + description + "Number of sequence sent"; + } + leaf sequence-number-expected { + type uint32; + description + "Number of sequence expected"; + } + leaf local-address { + type inet:ipv6-address; + description + "Local address"; + } + leaf remote-address { + type inet:ipv6-address; + description + "Remote address"; + } + } + + grouping L2FIB-PW-L2TPV2-SESS-INFO { + description + "L2FIB PW L2TPV2 SESS INFO"; + leaf session-id { + type uint32; + description + "L2TPv2 session ID"; + } + leaf tunnel-id { + type uint32; + description + "L2TPv2 tunnel ID"; + } + } + + grouping L2FIB-PW-L2TPV2-INFO { + description + "L2FIB PW L2TPV2 INFO"; + container local { + description + "Local session info"; + uses L2FIB-PW-L2TPV2-SESS-INFO; + } + container remote { + description + "Remote session info"; + uses L2FIB-PW-L2TPV2-SESS-INFO; + } + leaf pw-flags { + type uint8; + description + "L2TPv2 PW flags"; + } + leaf tos-val { + type uint8; + description + "TOS val"; + } + leaf ttl { + type uint8; + description + "TTL [Hops number]"; + } + leaf path-mtu { + type uint16; + units "byte"; + description + "Path MTU [Bytes]"; + } + leaf protocol { + type uint16; + description + "Protocol [UDP RFC-768]"; + } + leaf rem-udp-port { + type uint16; + description + "Remote UDP Port"; + } + leaf xconnect-id { + type uint32; + description + "Xconnect ID"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next Hop Address"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source Address"; + } + } + + grouping L2FIB-PW-L2TP-SESS-INFO { + description + "L2FIB PW L2TP SESS INFO"; + leaf session-id { + type uint32; + description + "L2TP session ID"; + } + leaf cookie-size { + type uint8; + description + "Cookie size"; + } + leaf cookie-low-value { + type uint32; + description + "Cookie low value"; + } + leaf cookie-high-value { + type uint32; + description + "Cookie high value"; + } + } + + grouping L2FIB-PW-L2TP-INFO { + description + "L2FIB PW L2TP INFO"; + container local { + description + "Local session info"; + uses L2FIB-PW-L2TP-SESS-INFO; + } + container remote { + description + "Remote session info"; + uses L2FIB-PW-L2TP-SESS-INFO; + } + leaf tos-val { + type uint8; + description + "TOS val"; + } + leaf ttl { + type uint8; + description + "TTL"; + } + leaf path-mtu { + type uint16; + description + "Path MTU"; + } + leaf sequence-number-sent { + type uint32; + description + "Number of sequence sent"; + } + leaf sequence-number-expected { + type uint32; + description + "Number of sequence expected"; + } + } + + grouping L2FIB-PW-MPLS-INFO { + description + "L2FIB PW MPLS INFO"; + leaf pw-label { + type uint32; + description + "PW Label"; + } + leaf pw-local-label { + type uint32; + description + "Local PW Label"; + } + leaf pw-tunnel-interface { + type uint32; + description + "PW tunnel interface"; + } + leaf pw-xcid { + type uint32; + description + "PW XCID"; + } + } + + grouping L2FIB-PW-UN { + description + "L2FIB PW UN"; + container mpls { + when "../data-type = 'mgmt-l2fib-data-type-atom'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_ATOM'"; + } + description + "mpls"; + uses L2FIB-PW-MPLS-INFO; + } + container l2tp { + when "../data-type = 'mgmt-l2fib-data-type-l2tp'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_L2TP'"; + } + description + "l2tp"; + uses L2FIB-PW-L2TP-INFO; + } + container l2tpv2 { + when "../data-type = 'mgmt-l2fib-data-type-l2tpv2'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_L2TPV2'"; + } + description + "l2tpv2"; + uses L2FIB-PW-L2TPV2-INFO; + } + container l2tp-ipv6-ts { + when "../data-type = 'mgmt-l2fib-data-type-l2tp-ipv6-ts'" { + description + "../DataType = + 'MGMT_L2FIB_DATA_TYPE_L2TP_IPV6_TS'"; + } + description + "l2tp ipv6 ts"; + uses L2FIB-PW-L2TP-IPV6-TS-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-PW-INFO { + description + "L2FIB PW INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container next-hop { + description + "Next Hop"; + uses L2FIB-NHOP-INFO; + } + container pseudo-wire-union { + description + "Union of MPLS or L2TP"; + uses L2FIB-PW-UN; + } + container backup-pseudo-wire { + description + "Backup Pseudowire"; + uses L2FIB-BACKUP-PW-INFO; + } + leaf pw-id { + type uint64; + description + "Pseudowire ID"; + } + leaf signal-capability-flags { + type uint32; + description + "Sig Capability flags"; + } + leaf context { + type uint16; + description + "Context"; + } + leaf sequence-resync-threshold { + type uint16; + description + "Sequence Resync Threshold"; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf next-hop-valid { + type boolean; + description + "IS Next Hop Valid"; + } + leaf backup-configured { + type boolean; + description + "Backup Pseudowire Configured"; + } + leaf redundancy-role { + type L2fib-pw-redundancy-role; + description + "Redundancy Role"; + } + leaf active { + type boolean; + description + "PW is active and forwarding"; + } + leaf pseudo-wire-id-type { + type L2fib-pw-id; + description + "Pseudowire ID type"; + } + leaf pw-load-balance-type { + type L2fib-load-bal; + description + "Type of load-balancing"; + } + leaf pw-flow-label-tx { + type boolean; + description + "Pseudowire flow label TX enabled"; + } + leaf grouping-supported { + type boolean; + description + "Grouping supported"; + } + leaf group-id { + type uint32; + description + "PW Group Id"; + } + leaf group-state { + type L2fib-group-state; + description + "Group State"; + } + leaf global-id { + type uint32; + description + "Global Id"; + } + leaf ac-id { + type uint32; + description + "Ac Id"; + } + leaf forward-class { + type uint8; + description + "Forward Class"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next Hop Address"; + } + } + + grouping L2FIB-MONITOR-SESSION-INFO { + description + "L2FIB MONITOR SESSION INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf xcid { + type uint32; + description + "Xconnect ID"; + } + leaf session-name { + type string; + description + "Monitor Session Name"; + } + leaf hardware-information { + type yang:hex-string; + description + "hardware Information of Monitor Session"; + } + leaf bound { + type boolean; + description + "Bound"; + } + } + + grouping L2FIB-EVPN-INFO { + description + "L2FIB EVPN INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf evi { + type uint32; + description + "EVPN ID"; + } + leaf forward-class { + type uint8; + description + "Forward Class"; + } + } + + grouping L2FIB-VNI-INFO { + description + "L2FIB VNI INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf srcip { + type inet:ipv4-address; + description + "VNI Src IPv4 Address"; + } + leaf mcastip { + type inet:ipv4-address; + description + "VNI Mcast IP Address"; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf parent-if { + type xr:Interface-name; + description + "Parent NVE Interface"; + } + leaf encap { + type uint32; + description + "Encap type of VNI"; + } + leaf udp-port { + type uint32; + description + "UDP Port"; + } + leaf source-vtep-if { + type xr:Interface-name; + description + "Source IF Handle"; + } + leaf any-cast-ip { + type inet:ipv4-address; + description + "Anycast VTEP IP"; + } + leaf anycast-mcast-ip { + type inet:ipv4-address; + description + "Anycast Multicast IP"; + } + leaf ingress-replication { + type boolean; + description + "Ingress Replication supported on VNI"; + } + leaf vx-lan-mode { + type uint32; + description + "Vxlan mode"; + } + } + + grouping L2FIB-PBB-CORE-INFO { + description + "L2FIB PBB CORE INFO"; + leaf vlan-id { + type uint32; + description + "vlan id"; + } + } + + grouping L2FIB-PBB-EDGE-INFO { + description + "L2FIB PBB EDGE INFO"; + leaf mac-configured { + type boolean; + description + "Configured MAC"; + } + leaf mac { + type yang:mac-address; + description + "unknown unicast bmac"; + } + } + + grouping L2FIB-PBB-UN { + description + "L2FIB PBB UN"; + container edge { + when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-edge'" { + description + "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_EDGE'"; + } + description + "edge"; + uses L2FIB-PBB-EDGE-INFO; + } + container core { + when "../pbb-type = 'mgmt-l2fib-bridge-type-pbb-core'" { + description + "../PbbType = 'MGMT_L2FIB_BRIDGE_TYPE_PBB_CORE'"; + } + description + "core"; + uses L2FIB-PBB-CORE-INFO; + } + leaf pbb-type { + type Mgmt-l2fib-bridge; + description + "PbbType"; + } + } + + grouping L2FIB-PBB-INFO { + description + "L2FIB PBB INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container pbb-union { + description + "Union of Edge and Core"; + uses L2FIB-PBB-UN; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf forward-class { + type uint8; + description + "Forward Class"; + } + leaf core-pbb-evpn-enabled { + type boolean; + description + "Core PBB-EVPN enabled"; + } + } + + grouping L2FIB-NHOP-INFO { + description + "L2FIB NHOP INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "NHOP Address"; + } + leaf next-hop-address-v6 { + type inet:ipv6-address; + description + "NHOP Address V6"; + } + leaf next-hop-internal-label { + type uint32; + description + "NHOP Internal Label"; + } + leaf ecd-plaformt-data-valid { + type boolean; + description + "Is Platform ECD Data Valid"; + } + leaf ecd-platform-data-length { + type uint32; + description + "Platform ECD Data Length"; + } + leaf children-count { + type uint32; + description + "Children Count"; + } + } + + grouping L2FIB-AC-INFO { + description + "L2FIB AC INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container fxc-next-hop { + description + "Flexible XConnect Service Next Hop"; + uses L2FIB-NHOP-INFO; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf sub-interface-handle { + type xr:Interface-name; + description + "Sub Interface Handle"; + } + leaf attachment-circuit-id { + type uint32; + description + "Attachment Circuit ID"; + } + leaf attachment-circuit-mtu { + type uint16; + description + "MTU of Attachment Circuit"; + } + leaf actype { + type uint8; + description + "Attachment Circuit Type"; + } + leaf inter-working-mode { + type uint8; + description + "Interworking Mode"; + } + leaf adjacency-valid { + type boolean; + description + "Adjacency Valid"; + } + leaf adjacency-address { + type inet:ipv4-address; + description + "Adjacency Valid"; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf ip-inter-working-mac { + type string; + description + "IP Interworking MAC"; + } + leaf redundancy-group-id { + type uint32; + description + "ICCP Redundancy Group ID"; + } + leaf redundancy-object-id { + type uint64; + description + "ICCP Redundancy Object ID"; + } + leaf evpn-internal-label { + type uint32; + description + "EVPN Internal Label"; + } + leaf fxc-next-hop-valid { + type boolean; + description + "Is Flexible XConnect Service Next Hop Valid"; + } + } + + grouping L2FIB-SEG1-UN { + description + "L2FIB SEG1 UN"; + container ac { + when "../data-type = 'mgmt-l2fib-data-type-ac'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_AC'"; + } + description + "ac"; + uses L2FIB-AC-INFO; + } + container pbb { + when "../data-type = 'mgmt-l2fib-data-type-pbb'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_PBB'"; + } + description + "pbb"; + uses L2FIB-PBB-INFO; + } + container vni { + when "../data-type = 'mgmt-l2fib-data-type-vni'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_VNI'"; + } + description + "vni"; + uses L2FIB-VNI-INFO; + } + container evpn { + when "../data-type = 'mgmt-l2fib-data-type-evpn'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_EVPN'"; + } + description + "evpn"; + uses L2FIB-EVPN-INFO; + } + container monitor-session { + when "../data-type = 'mgmt-l2fib-data-type-span'" { + description + "../DataType = 'MGMT_L2FIB_DATA_TYPE_SPAN'"; + } + description + "monitor session"; + uses L2FIB-MONITOR-SESSION-INFO; + } + container pw { + when "../data-type != 'mgmt-l2fib-data-type-ac' and ../data-type != 'mgmt-l2fib-data-type-pbb' and ../data-type != 'mgmt-l2fib-data-type-vni' and ../data-type != 'mgmt-l2fib-data-type-evpn' and ../data-type != 'mgmt-l2fib-data-type-span'" { + description + "../DataType != 'MGMT_L2FIB_DATA_TYPE_AC' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_PBB' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_VNI' and . + ./DataType != 'MGMT_L2FIB_DATA_TYPE_EVPN' and + ../DataType != 'MGMT_L2FIB_DATA_TYPE_SPAN'"; + } + description + "pw"; + uses L2FIB-PW-INFO; + } + leaf data-type { + type Mgmt-l2fib-data; + description + "DataType"; + } + } + + grouping L2FIB-BASE-INFO { + description + "L2FIB BASE INFO"; + } + + grouping L2FIB-XCON-INFO { + description + "L2FIB XCON INFO"; + container base { + description + "Base Information"; + uses L2FIB-BASE-INFO; + } + container segment1 { + description + "Segment1 Information"; + uses L2FIB-SEG1-UN; + } + container segment2 { + description + "Segment2 Information"; + uses L2FIB-SEG2-UN; + } + leaf xcon-name { + type string { + length "0..72"; + } + description + "Xconnect name"; + } + leaf bound { + type boolean; + description + "Bound"; + } + leaf switching-type { + type Mgmt-l2fib-switching; + description + "SW Type"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper.yang new file mode 100644 index 0000000..b5b0fa1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-l2vpn-oper.yang @@ -0,0 +1,2295 @@ +module Cisco-IOS-XR-l2vpn-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-l2vpn-oper"; + prefix l2vpn-oper; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-l2vpn-oper-sub3 { + revision-date 2017-06-26; + } + include Cisco-IOS-XR-l2vpn-oper-sub2 { + revision-date 2017-06-26; + } + include Cisco-IOS-XR-l2vpn-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR l2vpn package operational data. + + This module contains definitions + for the following management objects: + l2vpn-forwarding: Show L2VPN forwarding + l2vpnv2: l2vpnv2 + generic-interface-list-v2: generic interface list v2 + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2vpn-service { + type enumeration { + enum "vpws" { + value 0; + description + "VPWS service"; + } + enum "vpls" { + value 1; + description + "VPLS service"; + } + } + description + "L2vpn service"; + } + + typedef Preferred-path-option { + type enumeration { + enum "te-tunnel" { + value 2; + description + "TE Tunnel"; + } + enum "ip-tunnel" { + value 3; + description + "IP Tunnel"; + } + enum "tp-tunnel" { + value 4; + description + "TP Tunnel"; + } + enum "sr-te-policy" { + value 5; + description + "SR TE Policy"; + } + enum "mldp-tunnel" { + value 6; + description + "mLDP Tunnel"; + } + enum "mte-tunnel" { + value 7; + description + "mTE Tunnel"; + } + } + description + "Preferred path option"; + } + + typedef Evpn-main-interface { + type enumeration { + enum "evpn-main-interface-ac" { + value 1; + description + "EVPN main interface type AC"; + } + enum "evpn-main-interface-nve" { + value 2; + description + "EVPN main interface type NVE"; + } + enum "evpn-main-interface-ac-vfi" { + value 3; + description + "EVPN main interface type AC VFI"; + } + enum "evpn-main-interface-ac-pw" { + value 4; + description + "EVPN main interface type AC PW"; + } + } + description + "Evpn main interface"; + } + + typedef L2vpnp2mp-ptree { + type enumeration { + enum "rsvp-te" { + value 1; + description + "RSVPTE Type"; + } + enum "mldp" { + value 2; + description + "MLDP Type"; + } + } + description + "L2vpnp2mp ptree"; + } + + typedef L2vpnpw { + type enumeration { + enum "manual" { + value 1; + description + "Manual pseudowire"; + } + enum "vpls-autodiscovered" { + value 2; + description + "VPLS autodiscovered pseudowire"; + } + enum "vpws-autodiscovered" { + value 3; + description + "VPWS autodiscovered pseudowire"; + } + enum "vpls-autodiscovered-ldp" { + value 4; + description + "VPLS autodiscovered pseudowire with LDP + signaling"; + } + } + description + "L2vpnpw"; + } + + grouping FLEXIBLE-XCONNECT-SERVICE-TABLE { + description + "Common node of active, standby, node"; + container flexible-xconnect-services { + description + "Flexible XConnect Service Table"; + list flexible-xconnect-service { + key "name"; + description + "Flexible XConnect Service Information"; + container flexible-xconnect-service-acs { + description + "Flexible XConnect Service Attachment Circuit + Table"; + list flexible-xconnect-service-ac { + key "interface-name"; + description + "Flexible XConnect Service Attachment Circuit"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses L2VPN-FXC-AC; + } + } + container flexible-xconnect-service-info { + description + "Flexible XConnect Service Information"; + uses L2VPN-FXC; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..23"; + } + description + "Flexible XConnect Service Name"; + } + } + } + } + + grouping XCONNECT-MP2MP-TABLE { + description + "Common node of active, standby, node"; + container xconnect-mp2mps { + description + "XConnect MP2MP Table"; + list xconnect-mp2mp { + description + "XConnect MP2MP information"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "XConnect Group"; + } + leaf mp2-mp-name { + type xr:Cisco-ios-xr-string { + length "1..26"; + } + description + "Mp2Mp Name"; + } + uses L2VPN-MP2MP-XC; + } + } + } + + grouping FLEXIBLE-XCONNECT-SERVICE-SUMMARY { + description + "Common node of active, standby, node"; + container flexible-xconnect-service-summary { + description + "Flexible XConnect Service summary information"; + uses L2VPN-FXC-SUMMARY; + } + } + + grouping DISCOVERY-SUMMARY { + description + "Common node of active, standby, node"; + container discovery-summary { + description + "Discovery summary information"; + uses L2VPN-DISCO-SUMMARY; + } + } + + grouping XCONNECT-GROUP-TABLE { + description + "Common node of active, standby, node"; + container xconnect-groups { + description + "XConnect group Table"; + list xconnect-group { + key "group-name"; + description + "XConnect group information"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "XConnect Group"; + } + uses L2VPN-GROUP; + } + } + } + + grouping MSTP-PORT-TABLE { + description + "Common node of active, standby, node"; + container mstp-ports { + description + "L2VPN MSTP Port Table"; + list mstp-port { + key "interface"; + description + "MSTP Port information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses L2VPN-MSTP-PORT; + } + } + } + + grouping PWR { + description + "Common node of active, standby, node"; + container pwr { + description + "Pseudowire Routing Table"; + container summary { + description + "L2VPN Pseudowire Routing Summary"; + uses L2VPN-ATOM-PWR-SUMMARY; + } + } + } + + grouping GENERIC-INTERFACE-LIST-TABLE { + description + "Common node of active, standby, node"; + container generic-interface-lists { + description + "L2VPN generic interface list Table"; + list generic-interface-list { + key "interface-list-name"; + description + "Generic Interface List information"; + leaf interface-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Generic Interface List Name"; + } + uses L2VPN-GENERIC-IF-LIST; + } + } + } + + grouping MAIN-INTERFACE-TABLE { + description + "Common node of active, standby, node"; + container main-interfaces { + description + "Main Interface"; + list main-interface { + key "interface-name"; + description + "Main Interface Table"; + container main-interface-instances { + description + "Main Interface Instance table"; + list main-interface-instance { + key "instance"; + description + "Main Interface Instance"; + container main-interface-instance-info { + description + "Main Interface Instance info"; + uses L2VPN-MAIN-INTERFACE-INSTANCE; + } + container main-interface-instance-bridge-ports { + description + "Main Interface Instance Bridge Port table"; + list main-interface-instance-bridge-port { + key "bridge-port"; + description + "Main Interface Bridge Port info"; + leaf bridge-port { + type xr:Interface-name; + description + "Bridge Port"; + } + uses L2VPN-MAIN-INTERFACE-INSTANCE-BPORT; + } + } + leaf instance { + type int32; + description + "Instance"; + } + } + } + container main-interface-info { + description + "Main Interface info"; + uses L2VPN-MAIN-INTERFACE; + } + leaf interface-name { + type xr:Interface-name; + description + "Main interface"; + } + } + } + } + + grouping PREFERRED-PATH-TABLE { + description + "Common node of active, standby, node"; + container preferred-paths { + description + "Preferred path Table"; + list preferred-path { + description + "Preferred path information"; + leaf preferred-type { + type Preferred-path-option; + description + "Preferred type"; + } + leaf interface-name { + type xr:Interface-name; + description + "Main interface"; + } + uses L2VPN-PREFERRED-PATH; + } + } + } + + grouping DISCOVERY-TABLE { + description + "Common node of active, standby, node"; + container discoveries { + description + "Discovery Table"; + list discovery { + description + "VPLS Discovery information"; + leaf service-name { + type L2vpn-service; + description + "Service type"; + } + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Group Name"; + } + leaf vpn-name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "VPN Name"; + } + uses L2VPN-DISCO; + } + } + } + + grouping XCONNECT-BRIEF { + description + "Common node of active, standby, node"; + container xconnect-brief { + description + "XConnect brief information"; + uses L2VPN-XC-BRIEF; + } + } + + grouping L2FIB-EVPN-INCL-M-CAST-OLE-TABLE { + description + "Common node of l2fib-evpn-incl-m-cast, + l2fib-evpn-incl-m-cast-hardware-ingress, + l2fib-evpn-incl-m-cast-hardware-egress"; + container l2fib-evpn-incl-m-cast-oles { + description + "EVPN ingress mcast ole Information"; + list l2fib-evpn-incl-m-cast-ole { + key "next-hop-address"; + description + "Information on a particular output path of the + pbb-evpn/evpn ingress replication list"; + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next Hop Address"; + } + uses L2FIB-EVPN-MCAST-OLE-INFO; + } + } + } + + grouping G8032 { + description + "Common node of active, standby, node"; + container g8032 { + description + "G8032 information"; + container g8032-rings { + description + "G8032 Ring table"; + list g8032-ring { + key "ring-name"; + description + "G8032 Ring"; + container g8032-ring-detail { + description + "G8032 Ring detailed information"; + uses L2VPN-G8032-RING-DETAIL-INFO; + } + container g8032-ring-instance-summaries { + description + "G8032 Ring Instance summary table"; + list g8032-ring-instance-summary { + key "instance"; + description + "G8032 Ring Instance summary information"; + leaf instance { + type int32; + description + "Instance"; + } + uses L2VPN-G8032-RING-INSTANCE-SUMMARY-INFO; + } + } + container g8032-ring-summary { + description + "G8032 Ring summary information"; + uses L2VPN-G8032-RING-SUMMARY-INFO; + } + container g8032-ring-instance-details { + description + "G8032 Ring Instance detail table"; + list g8032-ring-instance-detail { + key "instance"; + description + "G8032 Ring Instance detailed information"; + leaf instance { + type int32; + description + "Instance"; + } + uses L2VPN-G8032-RING-INSTANCE-DETAIL-INFO; + } + } + leaf ring-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Ring Name"; + } + } + } + } + } + + grouping XCONNECT-SUMMARY { + description + "Common node of active, standby, node"; + container xconnect-summary { + description + "XConnect summary information"; + uses L2VPN-XC-SUMMARY; + } + } + + grouping L2VPN-COLLABORATORS { + description + "Common node of active, standby, node"; + container l2vpn-collaborators { + description + "L2VPN collaborator information"; + uses L2VPN-GLOBAL-INFO; + } + } + + grouping PROC-FSM { + description + "Common node of active, standby, node"; + container proc-fsm { + description + "L2VPN Process FSM information"; + uses L2VPN-MGMT-PROC-FSM; + } + } + + grouping BRIDGE-PW-TABLE { + description + "Common node of bridge-core-vfi-table, + bridge-access-vfi-table"; + container bridge-pws { + description + "Bridge Domain Access/Core Pseudowire Table"; + list bridge-pw { + description + "Bridge Domain Pseudowire"; + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IPv4 address"; + } + leaf pw-type { + type L2vpnpw; + description + "PW Type"; + } + leaf pseudowire-id { + type uint32 { + range "1..4294967295"; + } + description + "Pseudowire ID"; + } + leaf ve-id-vpls-id-0-3 { + type uint32 { + range "0..4294967295"; + } + description + "Zero or concatenation of local and remote + VE-ID or first 4 bytes of VPLS-ID"; + } + leaf vpls-id-4-7 { + type uint32 { + range "0..4294967295"; + } + description + "Zero or Last 4 bytes of VPLS-ID"; + } + uses L2VPN-BD-PW; + } + } + } + + grouping GLOBAL-SETTINGS { + description + "Common node of active, standby, node"; + container global-settings { + description + "L2VPN global settings"; + uses L2VPN-GLOBALS; + } + } + + grouping BRIDGE-SUMMARY { + description + "Common node of active, standby, node"; + container bridge-summary { + description + "Bridge Domain summary information"; + uses L2VPN-BRIDGE-SUMMARY; + } + } + + grouping XCONNECT-MP2MP-CE2CE-TABLE { + description + "Common node of active, standby, node"; + container xconnect-mp2mp-ce2ces { + description + "XConnect MP2MP CE2CE Table"; + list xconnect-mp2mp-ce2ce { + description + "XConnect MP2MP CE2CE information"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "XConnect Group"; + } + leaf mp2-mp-name { + type xr:Cisco-ios-xr-string { + length "1..26"; + } + description + "Mp2Mp Name"; + } + leaf local-ceid { + type uint32 { + range "1..4294967295"; + } + description + "Local CE ID"; + } + leaf remote-ceid { + type uint32 { + range "1..4294967295"; + } + description + "Remote CE ID"; + } + uses L2VPN-XC-CE2CE; + } + } + } + + grouping L2VPN-OPER-L2VPN-RESOURCE-STATE-MP { + description + "Common node of active, standby, node"; + container l2vpn-resource-state { + description + "L2VPN resource state information"; + uses L2VPN-RESOURCE-STATE; + } + } + + grouping MSTP-VLAN-TABLE { + description + "Common node of active, standby, node"; + container mstp-vlans { + description + "L2VPN MSTP VLAN Table"; + list mstp-vlan { + key "vlan-id"; + description + "L2VPN MSTP VLAN information"; + leaf vlan-id { + type uint32 { + range "0..4098"; + } + description + "vlan id"; + } + uses L2VPN-MSTP-VLAN; + } + } + } + + grouping GENERIC-INTERFACE-LIST-DETAIL-TABLE { + description + "Common node of active, standby, node"; + container generic-interface-list-details { + description + "L2VPN generic interface list Detail Table"; + list generic-interface-list-detail { + key "interface-list-name"; + description + "Generic Interface List detail information"; + leaf interface-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Generic Interface List Name"; + } + uses L2VPN-GENERIC-IF-LIST-DETAIL; + } + } + } + + grouping GENERIC-INTERFACE-LIST-TABLE-V2 { + description + "Common node of active, standby, node"; + container generic-interface-lists { + description + "Generic interface list table"; + list generic-interface-list { + key "generic-interface-list-name"; + description + "Generic Interface List"; + leaf generic-interface-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Generic Interface List Name"; + } + uses IFLIST-IFL; + } + } + } + + grouping XCONNECT-TABLE { + description + "Common node of active, standby, node"; + container xconnects { + description + "XConnect Table"; + list xconnect { + description + "XConnect information"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "XConnect Group"; + } + leaf xconnect-name { + type string { + length "1..38"; + } + description + "XConnect Name"; + } + uses L2VPN-XC; + } + } + } + + grouping L2VPN-PBB-BSA { + description + "Common node of active, standby, node"; + container l2vpn-pbb-bsa { + description + "L2VPN PBB Backbone Source MAC information"; + uses L2VPN-PBB-BMAC-SA; + } + } + + grouping BRIDGE-DOMAIN-TABLE { + description + "Common node of active, standby, node"; + container bridge-domains { + description + "Bridge Domain Information"; + list bridge-domain { + description + "Bridge Domain Information"; + container bridge-access-vfi-table { + description + "Bridge Domain Access VFI Table"; + uses BRIDGE-PW-TABLE; + } + container bridge-core-vfi-table { + description + "Bridge Domain Core VFI Table"; + uses BRIDGE-PW-TABLE; + } + container bridge-acs { + description + "Bridge Domain Attachment Circuit Table"; + list bridge-ac { + key "interface-name"; + description + "Bridge Domain Attachment Circuit"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses L2VPN-BD-AC; + } + } + container bridge-access-pws { + description + "Bridge Domain Access Pseudowire Table"; + list bridge-access-pw { + description + "Bridge Domain Access Pseudowire"; + leaf neighbor { + type inet:ipv4-address-no-zone; + description + "Neighbor IPv4 address"; + } + leaf pw-type { + type L2vpnpw; + description + "PW Type"; + } + leaf pseudowire-id { + type uint32 { + range "1..4294967295"; + } + description + "Pseudowire ID"; + } + leaf ve-id-vpls-id-0-3 { + type uint32 { + range "0..4294967295"; + } + description + "Zero or concatenation of local and remote + VE-ID or first 4 bytes of VPLS-ID"; + } + leaf vpls-id-4-7 { + type uint32 { + range "0..4294967295"; + } + description + "Zero or Last 4 bytes of VPLS-ID"; + } + uses L2VPN-BD-PW; + } + } + container bridge-domain-info { + description + "Bridge Domain Information"; + uses L2VPN-BRIDGE; + } + leaf bridge-domain-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Domain Group Name"; + } + leaf bridge-domain-name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "Bridge Domain Name"; + } + } + } + } + + grouping ICCP-SM { + description + "Common node of active, standby, node"; + container iccp-sm { + description + "ICCP-based Service Multi-homing operational data"; + container iccp-sm-summary { + description + "ICCP-based Service Multi-homing database + summary"; + uses ICCP-SM-SUMMARY; + } + container iccp-groups { + description + "ICCP Group Table"; + list iccp-group { + key "group-id"; + description + "ICCP Group"; + container iccp-group-info { + description + "ICCP Group Information"; + uses ICCP-SM-GROUP; + } + container iccp-ports { + description + "ICCP Port Table"; + list iccp-port { + key "interface"; + description + "ICCP Port"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses ICCP-SM-PORT; + } + } + leaf group-id { + type uint32 { + range "1..4294967295"; + } + description + "Group ID"; + } + } + } + } + } + + grouping MCAST-REPLICATION-LIST { + description + "Common node of l2fib-evpn-incl-m-cast, + l2fib-evpn-incl-m-cast-hardware-ingress, + l2fib-evpn-incl-m-cast-hardware-egress"; + container mcast-replication-list { + description + "Information of pbb-evpn/evpn ingress mcast + replication list for a particular bridge domain"; + uses L2FIB-EVPN-MCAST-LEAF-INFO; + } + } + + grouping INDEX-TABLE { + description + "Common node of active, standby, node"; + container indexes { + description + "ID Manager Index Table"; + list index { + key "pool-id"; + description + "ID Manager Index Pool"; + leaf pool-id { + type xr:Hex-integer; + description + "Pool ID"; + } + uses L2VPN-INDEX-INFO; + } + } + } + + grouping NSR { + description + "Common node of active, standby, node"; + container nsr { + description + "L2VPN NSR information"; + uses L2VPN-MGMT-PROC-FSM; + } + } + + grouping PSEUDOWIRE-CLASS-TABLE { + description + "Common node of active, standby, node"; + container pseudowire-classes { + description + "List of pseudowire classes"; + list pseudowire-class { + key "pseudowire-class-name"; + description + "Pseudowire class information"; + leaf pseudowire-class-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Pseudowire Class Name"; + } + uses L2VPN-PW-CLASS; + } + } + } + + grouping MVRP { + description + "Common node of active, standby, node"; + container mvrp { + description + "MVRP"; + container mvrp-main-ports { + description + "MVRP Main Port Table"; + list mvrp-main-port { + key "main-port-interface-name"; + description + "MVRP Main Port"; + container mvrp-main-port-info { + description + "MVRP Main Port Information"; + uses L2VPN-MVRP; + } + container mvrp-bridge-ports { + description + "MVRP Bridge Port Table"; + list mvrp-bridge-port { + key "interface-name"; + description + "MVRP Bridge Port Information"; + leaf interface-name { + type xr:Interface-name; + description + "Bridge Port Interface Name"; + } + uses L2VPN-MVRP-BP; + } + } + leaf main-port-interface-name { + type xr:Interface-name; + description + "Main Port interface"; + } + } + } + } + } + + container l2vpn-forwarding { + config false; + description + "Show L2VPN forwarding"; + container nodes { + description + "Per node L2VPN forwarding Operational data"; + list node { + key "node-id"; + description + "The L2VPN forwarding Operational data for a + particular node"; + container l2fibx-con-locals { + description + "The L2VPN forwarding Local LC XConnect Detail + Table"; + list l2fibx-con-local { + key "interface-name"; + description + "Specify Sub Ifh"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses L2FIB-XCON-INFO; + } + } + container l2fib-mroute-summaries { + description + "Mroute Summary Table"; + list l2fib-mroute-summary { + description + "Multicast Summary Information"; + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-MCAST-SUMMARY-INFO; + } + } + container l2fib-message-summary { + description + "L2FIB Message Summary information"; + uses L2FIB-EXT-MSG-SUMMARY-INFO; + } + container l2fib-mroutes { + description + "multicast information"; + list l2fib-mroute { + description + "Bridge Domain Multicast Information"; + leaf source { + type inet:ipv4-address-no-zone; + description + "Source IP Address"; + } + leaf group { + type inet:ipv4-address-no-zone; + description + "Group IP Address"; + } + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-MCAST-LEAF-INFO; + } + } + container pbb-bmac-sa { + description + "PBB Backbone Source MAC information"; + uses L2FIB-PBB-BMAC-SA-INFO; + } + container l2fib-mac-learning { + description + "The L2VPN forwarding Mac Learning Data"; + container l2fib-mac-learning-macs { + description + "The L2VPN forwarding All Mac Learning Table"; + list l2fib-mac-learning-mac { + description + "The attributes for a particular learned Mac + Route"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + leaf bdid { + type int32; + description + "BD ID"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses L2FIB-MAC-DB-INFO; + } + } + container l2fib-mac-learning-mac-ipv4s { + description + "The L2VPN forwarding Mac IPV4 Learning Table"; + list l2fib-mac-learning-mac-ipv4 { + description + "The attributes for a particular learned IPV4 + Mac Route"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + leaf bdid { + type int32; + description + "BD ID"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses L2FIB-MAC-DB-INFO; + } + } + container l2fib-mac-learning-mac-ipv6s { + description + "The L2VPN forwarding Mac IPV6 Learning Table"; + list l2fib-mac-learning-mac-ipv6 { + description + "The attributes for a particular learned IPV6 + Mac Route"; + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + leaf bdid { + type int32; + description + "BD ID"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses L2FIB-MAC-DB-INFO; + } + } + } + container l2fib-p2mp { + description + "p2mp information"; + container ptrees { + description + "ptree information"; + list ptree { + description + "P2MP PTree Information"; + leaf ptree-type { + type L2vpnp2mp-ptree; + description + "PTree Type"; + } + leaf lsm-id { + type int32; + description + "LSM Id"; + } + leaf tunnel-id { + type int32; + description + "Tunnel Id"; + } + leaf p2mp-id { + type int32; + description + "P2MP Id"; + } + leaf extended-tunnel-id { + type int32; + description + "Extended Tunnel Id"; + } + uses L2FIB-P2MP-PTREE-INFO; + } + } + } + container l2fib-evpn-incl-m-cast-hardware-egresses { + description + "L2VPN forwarding bridge-domain evpn inclusive + multicast hardware egress Table"; + list l2fib-evpn-incl-m-cast-hardware-egress { + key "bd-name"; + description + "Specify bridge domain name"; + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses MCAST-REPLICATION-LIST; + uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; + } + } + container l2fibmac-hardware-ingresses { + description + "Bridge Hardware Ingress information"; + list l2fibmac-hardware-ingress { + description + "MAC Hardware Ingress information"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-BRIDGE-MAC-INFO; + } + } + container l2fib-evpn-ip4macs { + description + "EVPN IPv4-MAC Table"; + list l2fib-evpn-ip4mac { + description + "The attributes for a particular EVPN IPv4-MAC + Entry"; + leaf bdid { + type int32; + description + "BD ID"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + leaf is-local { + type boolean; + description + "Entry is locally learned"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses L2FIB-EVPN-IPMAC-INFO; + } + } + container l2fib-pwhe-main-ports { + description + "PWHE Main-port table"; + list l2fib-pwhe-main-port { + key "interface-name"; + description + "PWHE Main-port"; + leaf interface-name { + type xr:Interface-name; + description + "PWHE Main-port"; + } + uses L2FIB-PWHE-MP-SHOW-INFO; + } + } + container l2fib-dhcp-binding-count { + description + "DHCP binding forwarding total count"; + uses L2FIB-DHCP-BINDING-COUNT-INFO; + } + container l2fib-bridge-domains { + description + "Bridge Domain forwarding detail"; + list l2fib-bridge-domain { + description + "Specify Bridge Domain Name"; + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Bridge group"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-BRIDGE-INFO; + } + } + container l2fib-mstp-summaries { + description + "MSTP Summary Table"; + list l2fib-mstp-summary { + description + "MSTP Summary information"; + leaf parent-interface { + type xr:Interface-name; + description + "Parent interface context"; + } + leaf msti { + type int32; + description + "MSTI context"; + } + uses L2FIB-MAIN-PORT-MSTP-SUMMARY-INFO; + } + } + container l2fib-resource-availability { + description + "Resource availability information"; + uses L2FIB-RSRC-INFO; + } + container l2fibmac-hardware-egresses { + description + "Bridge Hardware Egress information"; + list l2fibmac-hardware-egress { + description + "MAC Hardware Egress information"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..27"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-BRIDGE-MAC-INFO; + } + } + container l2fibx-con-l2tpv2s { + description + "The L2VPN forwarding XConnect L2TPv2 Detail + Table"; + list l2fibx-con-l2tpv2 { + key "interface-name"; + description + "Specify Sub Ifh"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses L2FIB-XCON-INFO; + } + } + container l2fib-mroute-ipv6s { + description + "multicast information"; + list l2fib-mroute-ipv6 { + description + "Bridge Domain Multicast Information"; + leaf source { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Source IPv6 Address"; + } + leaf group { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Group IPv6 Address"; + } + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-MCAST-LEAF-INFO; + } + } + container l2fib-mon-sess-x-cons { + description + "The L2VPN forwarding Monitor Session XConnect + Information"; + list l2fib-mon-sess-x-con { + key "monitor-session-name"; + description + "Specify Monitor Session Name"; + leaf monitor-session-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Monitor Session Name"; + } + uses L2FIB-XCON-INFO; + } + } + container l2fib-mmrp-summaries { + description + "Mmrp Summary Table"; + list l2fib-mmrp-summary { + description + "Mmrp Summary Information"; + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-MCAST-SUMMARY-INFO; + } + } + container l2fib-pw-groups { + description + "PW Group Table Information"; + list l2fib-pw-group { + description + "PW Group Information"; + leaf peer-address { + type inet:ipv4-address-no-zone; + description + "Peer IP Address"; + } + leaf group-id { + type int32; + description + "Group Id"; + } + leaf tunnel-if-handle { + type int32; + description + "Tunnel Interface Handle"; + } + uses L2FIB-PWGROUP-INFO; + } + } + container l2fib-evpn-incl-m-cast-hardware-ingresses { + description + "L2VPN forwarding bridge-domain evpn inclusive + multicast hardware ingress Table"; + list l2fib-evpn-incl-m-cast-hardware-ingress { + key "bd-name"; + description + "Specify bridge domain name"; + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses MCAST-REPLICATION-LIST; + uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; + } + } + container l2fib-dhcp-binding-details { + description + "DHCP binding forwarding detail"; + list l2fib-dhcp-binding-detail { + description + "Specify DHCP binding detail"; + leaf xcid { + type xr:Hex-integer; + description + "XConnect ID"; + } + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor IPv4 address"; + } + leaf address { + type yang:mac-address; + description + "MAC address"; + } + uses L2FIB-DHCP-BINDING-DETAIL-INFO; + } + } + container l2fibx-cons { + description + "The L2VPN forwarding XConnect Detail Table"; + list l2fibx-con { + key "xcid"; + description + "Specify XConnect ID"; + leaf xcid { + type xr:Hex-integer; + description + "XC ID"; + } + uses L2FIB-XCON-INFO; + } + } + container l2fib-main-interfaces { + description + "Main Interface"; + list l2fib-main-interface { + description + "Main Interface Table"; + container l2fib-main-interface-hardware-egress-detail-info { + description + "Main Interface hardware egress detail info"; + uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; + } + container l2fib-main-interface-hardware-egress-info { + description + "Main Interface hardware egress info"; + uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; + } + container l2fib-main-interface-instances { + description + "Main Interface Instance table"; + list l2fib-main-interface-instance { + key "instance"; + description + "Main Interface Instance"; + container l2fib-main-interface-instance-detail-info { + description + "Main Interface Instance detail info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; + } + container l2fib-main-interface-instance-bridge-port-details { + description + "Main Interface Instance Bridge Port detail + table"; + list l2fib-main-interface-instance-bridge-port-detail { + key "xcid"; + description + "Main Interface Bridge Port detail info"; + leaf xcid { + type xr:Hex-integer; + description + "Bridge Port"; + } + uses L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-DETAIL-INFO; + } + } + container l2fib-main-interface-instance-info { + description + "Main Interface Instance info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; + } + container l2fib-main-interface-instance-hardware-ingress-detail-info { + description + "Main Interface Instance hardware ingress + detail info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; + } + container l2fib-main-interface-instance-hardware-egress-info { + description + "Main Interface Instance hardware egress + info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; + } + container l2fib-main-interface-instance-hardware-ingress-info { + description + "Main Interface Instance hardware ingress + info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-SUMMARY-INFO; + } + container l2fib-main-interface-instance-bridge-ports { + description + "Main Interface Instance Bridge Port table"; + list l2fib-main-interface-instance-bridge-port { + key "xcid"; + description + "Main Interface Bridge Port info"; + leaf xcid { + type xr:Hex-integer; + description + "Bridge Port"; + } + uses L2FIB-MAIN-INTERFACE-INSTANCE-BPORT-SUMMARY-INFO; + } + } + container l2fib-main-interface-instance-hardware-egress-detail-info { + description + "Main Interface Instance hardware egress + detail info"; + uses L2FIB-MAIN-INTERFACE-INSTANCE-DETAIL-INFO; + } + leaf instance { + type int32; + description + "Instance"; + } + } + } + container l2fib-main-interface-info { + description + "Main Interface info"; + uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; + } + container l2fib-main-interface-detail-info { + description + "Main Interface detail info"; + uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; + } + container l2fib-main-interface-hardware-ingress-detail-info { + description + "Main Interface hardware ingress detail info"; + uses L2FIB-MAIN-INTERFACE-DETAIL-INFO; + } + container l2fib-main-interface-hardware-ingress-info { + description + "Main Interface hardware ingress info"; + uses L2FIB-MAIN-INTERFACE-SUMMARY-INFO; + } + leaf main-interface-id { + type int32; + description + "Main interface id"; + } + leaf main-interface-type { + type Evpn-main-interface; + description + "Main interface type"; + } + } + } + container l2fib-mstp-details { + description + "MSTP Detail Table"; + list l2fib-mstp-detail { + description + "MSTP Detail information"; + leaf parent-interface { + type xr:Interface-name; + description + "Parent interface context"; + } + leaf msti { + type int32; + description + "MSTI context"; + } + uses L2FIB-MAIN-PORT-MSTP-DETAIL-INFO; + } + } + container l2fib-l2tp { + description + "L2TP"; + container l2tpv3-sessions { + description + "L2TPV3 Session table"; + list l2tpv3-session { + key "session-id"; + description + "L2TPV3 Session"; + leaf session-id { + type int32; + description + "SessionID"; + } + uses L2FIB-L2TP-DISP-INFO; + } + } + container l2tpv2-sessions { + description + "L2TPV2 Session table"; + list l2tpv2-session { + description + "L2TPV2 Session"; + leaf session-id { + type int32; + description + "SessionID"; + } + leaf tunnel-id { + type int32; + description + "TunnelID"; + } + uses L2FIB-L2TP-DISP-INFO; + } + } + } + container l2fib-g8032 { + description + "G8032 information"; + container l2fib-g8032-rings { + description + "G8032 Ring table"; + list l2fib-g8032-ring { + key "ring-name"; + description + "G8032 Ring"; + container l2fib-g8032-ring-detail { + description + "G8032 Ring detailed information"; + uses L2FIB-G8032-RING-DETAIL-INFO; + } + container l2fib-g8032-ring-summary { + description + "G8032 Ring summary information"; + uses L2FIB-G8032-RING-SUMMARY-INFO; + } + container l2fib-g8032-ring-instance-summaries { + description + "G8032 Ring Instance summary table"; + list l2fib-g8032-ring-instance-summary { + key "instance"; + description + "G8032 Ring Instance summary information"; + leaf instance { + type int32; + description + "Instance"; + } + uses L2FIB-G8032-RING-INSTANCE-SUMMARY-INFO; + } + } + container l2fib-g8032-ring-instance-details { + description + "G8032 Ring Instance detail table"; + list l2fib-g8032-ring-instance-detail { + key "instance"; + description + "G8032 Ring Instance detailed information"; + leaf instance { + type int32; + description + "Instance"; + } + uses L2FIB-G8032-RING-INSTANCE-DETAIL-INFO; + } + } + leaf ring-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Ring Name"; + } + } + } + } + container l2fib-bridge-ports { + description + "Bridge Port forwarding detail"; + list l2fib-bridge-port { + description + "Specify Bridge Domain Name and XC ID"; + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + leaf xc-uint-id { + type xr:Hex-integer; + description + "XC ID"; + } + uses L2FIB-BRIDGE-PORT-DETAIL-INFO; + } + } + container l2fibmac-details { + description + "Bridge MAC detail information"; + list l2fibmac-detail { + description + "MAC Detail information"; + leaf address { + type yang:mac-address; + description + "Static MAC address"; + } + leaf group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-BRIDGE-MAC-INFO; + } + } + container l2fib-bridge-domain-names { + description + "Bridge Domain forwarding detail"; + list l2fib-bridge-domain-name { + description + "Specify Bridge Domain Name"; + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the Bridge group"; + } + leaf name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-BRIDGE-SUMMARY-INFO; + } + } + container l2fib-mroute-ports { + description + "multicast bridge port information "; + list l2fib-mroute-port { + description + "Multicast Port Information"; + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + leaf xcid { + type xr:Hex-integer; + description + "XConnect ID"; + } + leaf source { + type inet:ipv4-address-no-zone; + description + "Source IP Address"; + } + leaf group { + type inet:ipv4-address-no-zone; + description + "Group IP Address"; + } + uses L2FIB-MCAST-XID-INFO; + } + } + container l2fib-summary { + description + "L2FIB Summary information"; + uses L2FIB-SUMMARY-INFO; + } + container l2fib-nve-peers { + description + "NVE Peer Table"; + list l2fib-nve-peer { + description + "The attributes for a particular NVE Peer"; + leaf xc-uint-id { + type xr:Hex-integer; + description + "XC ID"; + } + leaf vniid { + type xr:Hex-integer; + description + "VNI ID"; + } + leaf vtep-address { + type inet:ipv4-address-no-zone; + description + "VTEP IP Address"; + } + uses L2FIB-VTEP-INFO; + } + } + container l2fib-mmrps { + description + "mmmrp information"; + list l2fib-mmrp { + description + "Bridge Domain Mmrp Information"; + leaf source { + type string { + length "1..15"; + } + description + "src Mac Address"; + } + leaf group { + type string { + length "1..15"; + } + description + "Group Mac Address"; + } + leaf bd-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Bridge Group Name"; + } + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses L2FIB-MCAST-LEAF-INFO; + } + } + container l2fib-evpn-ip6macs { + description + "EVPN IPv6-MAC Table"; + list l2fib-evpn-ip6mac { + description + "The attributes for a particular EVPN IPv6-MAC + Entry"; + leaf bdid { + type int32; + description + "BD ID"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP Address"; + } + leaf is-local { + type boolean; + description + "Entry is locally learned"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC Address"; + } + uses L2FIB-EVPN-IPMAC-INFO; + } + } + container l2fib-dhcp-binding-summaries { + description + "DHCP binding forwarding summary"; + list l2fib-dhcp-binding-summary { + key "xcid"; + description + "Specify DHCP binding summary"; + leaf xcid { + type xr:Hex-integer; + description + "XConnect ID"; + } + uses L2FIB-DHCP-BINDING-SUMMARY-INFO; + } + } + container l2fib-evpn-incl-m-casts { + description + "L2VPN forwarding bridge-domain evpn inclusive + multicast Table"; + list l2fib-evpn-incl-m-cast { + key "bd-name"; + description + "Specify bridge domain name"; + leaf bd-name { + type xr:Cisco-ios-xr-string { + length "1..65"; + } + description + "Bridge Domain Name"; + } + uses MCAST-REPLICATION-LIST; + uses L2FIB-EVPN-INCL-M-CAST-OLE-TABLE; + } + } + leaf node-id { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } + container l2vpnv2 { + config false; + description + "l2vpnv2"; + container standby { + description + "Standby L2VPN operational data"; + uses DISCOVERY-TABLE; + uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; + uses MAIN-INTERFACE-TABLE; + uses ICCP-SM; + uses BRIDGE-SUMMARY; + uses NSR; + uses PREFERRED-PATH-TABLE; + uses GLOBAL-SETTINGS; + uses PWR; + uses XCONNECT-MP2MP-CE2CE-TABLE; + uses XCONNECT-TABLE; + uses XCONNECT-GROUP-TABLE; + uses XCONNECT-MP2MP-TABLE; + uses INDEX-TABLE; + uses XCONNECT-SUMMARY; + uses PROC-FSM; + uses MSTP-PORT-TABLE; + uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; + uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; + uses BRIDGE-DOMAIN-TABLE; + uses DISCOVERY-SUMMARY; + uses G8032; + uses PSEUDOWIRE-CLASS-TABLE; + uses L2VPN-COLLABORATORS; + uses MVRP; + uses GENERIC-INTERFACE-LIST-TABLE; + uses MSTP-VLAN-TABLE; + uses L2VPN-PBB-BSA; + uses FLEXIBLE-XCONNECT-SERVICE-TABLE; + uses XCONNECT-BRIEF; + } + container active { + description + "Active L2VPN operational data"; + uses DISCOVERY-TABLE; + uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; + uses MAIN-INTERFACE-TABLE; + uses ICCP-SM; + uses BRIDGE-SUMMARY; + uses NSR; + uses PREFERRED-PATH-TABLE; + uses GLOBAL-SETTINGS; + uses PWR; + uses XCONNECT-MP2MP-CE2CE-TABLE; + uses XCONNECT-TABLE; + uses XCONNECT-GROUP-TABLE; + uses XCONNECT-MP2MP-TABLE; + uses INDEX-TABLE; + uses XCONNECT-SUMMARY; + uses PROC-FSM; + uses MSTP-PORT-TABLE; + uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; + uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; + uses BRIDGE-DOMAIN-TABLE; + uses DISCOVERY-SUMMARY; + uses G8032; + uses PSEUDOWIRE-CLASS-TABLE; + uses L2VPN-COLLABORATORS; + uses MVRP; + uses GENERIC-INTERFACE-LIST-TABLE; + uses MSTP-VLAN-TABLE; + uses L2VPN-PBB-BSA; + uses FLEXIBLE-XCONNECT-SERVICE-TABLE; + uses XCONNECT-BRIEF; + } + container nodes { + description + "Table of L2VPN operational data for a particular + node"; + list node { + key "node-id"; + description + "L2VPN operational data for a particular node"; + leaf node-id { + type xr:Node-id; + description + "Location"; + } + uses DISCOVERY-TABLE; + uses FLEXIBLE-XCONNECT-SERVICE-SUMMARY; + uses MAIN-INTERFACE-TABLE; + uses ICCP-SM; + uses BRIDGE-SUMMARY; + uses NSR; + uses PREFERRED-PATH-TABLE; + uses GLOBAL-SETTINGS; + uses PWR; + uses XCONNECT-MP2MP-CE2CE-TABLE; + uses XCONNECT-TABLE; + uses XCONNECT-GROUP-TABLE; + uses XCONNECT-MP2MP-TABLE; + uses INDEX-TABLE; + uses XCONNECT-SUMMARY; + uses PROC-FSM; + uses MSTP-PORT-TABLE; + uses GENERIC-INTERFACE-LIST-DETAIL-TABLE; + uses L2VPN-OPER-L2VPN-RESOURCE-STATE-MP; + uses BRIDGE-DOMAIN-TABLE; + uses DISCOVERY-SUMMARY; + uses G8032; + uses PSEUDOWIRE-CLASS-TABLE; + uses L2VPN-COLLABORATORS; + uses MVRP; + uses GENERIC-INTERFACE-LIST-TABLE; + uses MSTP-VLAN-TABLE; + uses L2VPN-PBB-BSA; + uses FLEXIBLE-XCONNECT-SERVICE-TABLE; + uses XCONNECT-BRIEF; + } + } + } + container generic-interface-list-v2 { + config false; + description + "generic interface list v2"; + container nodes { + description + "Table of generic interface list operational data + for a particular node"; + list node { + key "node-id"; + description + "Generic interface list operational data for a + particular node"; + leaf node-id { + type xr:Node-id; + description + "Location"; + } + uses GENERIC-INTERFACE-LIST-TABLE-V2; + } + } + container standby { + description + "Standby generic interface list operational data"; + uses GENERIC-INTERFACE-LIST-TABLE-V2; + } + container active { + description + "Active generic interface list operational data"; + uses GENERIC-INTERFACE-LIST-TABLE-V2; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-li-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-li-cfg.yang new file mode 100644 index 0000000..635d0aa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-li-cfg.yang @@ -0,0 +1,42 @@ +module Cisco-IOS-XR-li-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-li-cfg"; + prefix li-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR li package configuration. + + This module contains definitions + for the following management objects: + lawful-intercept: Lawful intercept configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lawful-intercept { + description + "Lawful intercept configuration"; + leaf disable { + type empty; + description + "Disable lawful intercept feature"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-act.yang new file mode 100644 index 0000000..db6795d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-act.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-lib-keychain-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-act"; + prefix lib-keychain-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + Copyright (c) 2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-17 { + description + "IOS XR 6.3.1 revision."; + } + + grouping MASTER-KEY { + leaf old-key { + type string; + mandatory true; + description + "key already added/key to be replaced"; + } + leaf new-key { + type string; + mandatory true; + description + "New master key to be added "; + } + } + + rpc master-key-add { + description + "To add a new master key"; + input { + leaf new-key { + type string; + description + "New master key to be added"; + } + } + } + rpc master-key-delete { + description + "Remove Master key"; + } + rpc master-key-update { + description + "To update master key"; + input { + uses MASTER-KEY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-cfg.yang new file mode 100644 index 0000000..86fae19 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-cfg.yang @@ -0,0 +1,585 @@ +module Cisco-IOS-XR-lib-keychain-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-cfg"; + prefix lib-keychain-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lib-keychain package configuration. + + This module contains definitions + for the following management objects: + keychains: Configure a Key Chain + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-19 { + description + "Fixing macsec and non macsec keychain error"; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Macsec-encryption { + type enumeration { + enum "type7" { + value 0; + description + "Type7"; + } + enum "type6" { + value 2; + description + "Type6"; + } + } + description + "Macsec encryption"; + } + + typedef Crypto-alg { + type enumeration { + enum "alg-hmac-sha1-12" { + value 2; + description + "HMAC SHA 1 12"; + } + enum "alg-md5-16" { + value 3; + description + "MD5 16"; + } + enum "alg-sha1-20" { + value 4; + description + "SHA 1 20"; + } + enum "alg-hmac-md5-16" { + value 5; + description + "HMAC MD5 16"; + } + enum "alg-hmac-sha1-20" { + value 6; + description + "HMAC SHA 1 20"; + } + } + description + "Crypto alg"; + } + + typedef Macsec-crypto-alg { + type enumeration { + enum "aes-128-cmac" { + value 7; + description + "aes 128 cmac"; + } + enum "aes-256-cmac" { + value 8; + description + "aes 256 cmac"; + } + } + description + "Macsec crypto alg"; + } + + typedef Key-chain-month { + type enumeration { + enum "jan" { + value 0; + description + "January"; + } + enum "feb" { + value 1; + description + "February"; + } + enum "mar" { + value 2; + description + "March"; + } + enum "apr" { + value 3; + description + "April"; + } + enum "may" { + value 4; + description + "May"; + } + enum "jun" { + value 5; + description + "June"; + } + enum "jul" { + value 6; + description + "July"; + } + enum "aug" { + value 7; + description + "August"; + } + enum "sep" { + value 8; + description + "September"; + } + enum "oct" { + value 9; + description + "October"; + } + enum "nov" { + value 10; + description + "November"; + } + enum "dec" { + value 11; + description + "December"; + } + } + description + "Key chain month"; + } + + container keychains { + description + "Configure a Key Chain"; + list keychain { + key "chain-name"; + description + "Name of the key chain"; + container accept-tolerance { + description + "Accept Tolerance in seconds or infinite"; + leaf value { + type uint32 { + range "1..8640000"; + } + units "second"; + must "not(../infinite)"; + description + "Value in seconds"; + } + leaf infinite { + type boolean; + must "not(../value)"; + description + "Infinite tolerance"; + } + } + container macsec-keychain { + presence "Indicates a macsec-keychain node is configured."; + description + "Name of the key chain for MACSec"; + container macsec-keies { + description + "Configure a Key"; + list macsec-key { + key "key-id"; + description + "Key Identifier"; + container macsec-lifetime { + description + "Configure a key Lifetime"; + leaf start-hour { + type uint32 { + range "0..23"; + } + description + "Start Hour"; + } + leaf start-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "Start Minutes"; + } + leaf start-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "Start Seconds"; + } + leaf start-date { + type uint32 { + range "1..31"; + } + description + "Start Date"; + } + leaf start-month { + type Key-chain-month; + description + "Start Month"; + } + leaf start-year { + type uint32 { + range "1993..2035"; + } + description + "Start Year"; + } + leaf life-time { + type uint32 { + range "1..2147483647"; + } + units "second"; + description + "Lifetime duration in seconds"; + } + leaf infinite-flag { + type boolean; + description + "Infinite Lifetime flag"; + } + leaf end-hour { + type uint32 { + range "0..23"; + } + description + "End Hour"; + } + leaf end-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "End Minutes"; + } + leaf end-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "End Seconds"; + } + leaf end-date { + type uint32 { + range "1..31"; + } + description + "End Date"; + } + leaf end-month { + type Key-chain-month; + description + "End Month"; + } + leaf end-year { + type uint32 { + range "1993..2035"; + } + description + "End Year"; + } + } + container macsec-key-string { + presence "Indicates a macsec-key-string node is configured."; + description + "Configure a clear text/encrypted Key string + along with cryptographic algorithm"; + leaf string { + type xr:Proprietary-password; + mandatory true; + description + "Key String"; + } + leaf cryptographic-algorithm { + type Macsec-crypto-alg; + mandatory true; + description + "Cryptographic Algorithm"; + } + leaf encryption-type { + type Macsec-encryption; + default "type7"; + description + "encryption type used to store key"; + } + } + leaf key-id { + type xr:Cisco-ios-xr-string; + description + "48-bit Key identifier"; + } + } + } + } + container keies { + description + "Configure a Key"; + list key { + key "key-id"; + description + "Key Identifier"; + container accept-lifetime { + description + "Configure a key Acceptance Lifetime"; + leaf start-hour { + type uint32 { + range "0..23"; + } + description + "Start Hour"; + } + leaf start-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "Start Minutes"; + } + leaf start-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "Start Seconds"; + } + leaf start-date { + type uint32 { + range "1..31"; + } + description + "Start Date"; + } + leaf start-month { + type Key-chain-month; + description + "Start Month"; + } + leaf start-year { + type uint32 { + range "1993..2035"; + } + description + "Start Year"; + } + leaf life-time { + type uint32 { + range "1..2147483647"; + } + units "second"; + description + "Lifetime duration in seconds"; + } + leaf infinite-flag { + type boolean; + description + "Infinite Lifetime flag"; + } + leaf end-hour { + type uint32 { + range "0..23"; + } + description + "End Hour"; + } + leaf end-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "End Minutes"; + } + leaf end-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "End Seconds"; + } + leaf end-date { + type uint32 { + range "1..31"; + } + description + "End Date"; + } + leaf end-month { + type Key-chain-month; + description + "End Month"; + } + leaf end-year { + type uint32 { + range "1993..2035"; + } + description + "End Year"; + } + } + container send-lifetime { + description + "Configure a Send Lifetime"; + leaf start-hour { + type uint32 { + range "0..23"; + } + description + "Start Hour"; + } + leaf start-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "Start Minutes"; + } + leaf start-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "Start Seconds"; + } + leaf start-date { + type uint32 { + range "1..31"; + } + description + "Start Date"; + } + leaf start-month { + type Key-chain-month; + description + "Start Month"; + } + leaf start-year { + type uint32 { + range "1993..2035"; + } + description + "Start Year"; + } + leaf life-time { + type uint32 { + range "1..2147483647"; + } + units "second"; + description + "Lifetime duration in seconds"; + } + leaf infinite-flag { + type boolean; + description + "Infinite Lifetime flag"; + } + leaf end-hour { + type uint32 { + range "0..23"; + } + description + "End Hour"; + } + leaf end-minutes { + type uint32 { + range "0..59"; + } + units "minute"; + description + "End Minutes"; + } + leaf end-seconds { + type uint32 { + range "0..59"; + } + units "second"; + description + "End Seconds"; + } + leaf end-date { + type uint32 { + range "1..31"; + } + description + "End Date"; + } + leaf end-month { + type Key-chain-month; + description + "End Month"; + } + leaf end-year { + type uint32 { + range "1993..2035"; + } + description + "End Year"; + } + } + leaf key-string { + type xr:Proprietary-password; + description + "Configure a clear text/encrypted Key string "; + } + leaf cryptographic-algorithm { + type Crypto-alg; + description + "Configure the cryptographic algorithm"; + } + leaf key-id { + type xr:Cisco-ios-xr-string; + description + "48-bit Key identifier"; + } + } + } + leaf chain-name { + type xr:Cisco-ios-xr-string; + description + "Name of the key chain"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang new file mode 100644 index 0000000..c9f873e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg.yang @@ -0,0 +1,47 @@ +module Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-masterkey-aes-cfg"; + prefix lib-keychain-masterkey-aes-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lib-keychain-masterkey-aes package configuration. + + This module contains definitions + for the following management objects: + password: Configure masterkey + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container password { + description + "Configure masterkey"; + container encryption { + description + "Enable password encryption"; + leaf aes { + type int32; + default "0"; + description + "encryption type used to store key"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper-sub1.yang new file mode 100644 index 0000000..5486a16 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper-sub1.yang @@ -0,0 +1,200 @@ +submodule Cisco-IOS-XR-lib-keychain-oper-sub1 { + belongs-to Cisco-IOS-XR-lib-keychain-oper { + prefix Cisco-IOS-XR-lib-keychain-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lib-keychain package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Cryto-algo { + type enumeration { + enum "not-configured" { + value 0; + description + "Not configured"; + } + enum "hmac-sha1-12" { + value 2; + description + "HMAC SHA1 12 bytes"; + } + enum "md5" { + value 3; + description + "MD5 16 bytes"; + } + enum "sha1" { + value 4; + description + "SHA1 20 bytes"; + } + enum "hmac-md5" { + value 5; + description + "HMAC MD5 16 bytes"; + } + enum "hmac-sha1-20" { + value 6; + description + "HMAC SHA1 20 bytes"; + } + enum "aes-128-cmac" { + value 7; + description + "CMAC AES 32 bytes"; + } + enum "aes-256-cmac" { + value 8; + description + "CMAC AES 64 bytes"; + } + } + description + "Cryptographic algorithm type"; + } + + typedef Enc { + type enumeration { + enum "password-type7" { + value 0; + description + "Type 7 password type"; + } + enum "password-type6" { + value 2; + description + "Type 6 Encryption"; + } + } + description + "Type of password encryption"; + } + + grouping LIFETIME { + description + "Life time values associated with a key"; + leaf start { + type string; + description + "Key life start time in format : day-of-week + month date-of-month HH:MM:SS year eg: Thu Feb 1 + 18:32:14 2011"; + } + leaf end { + type string; + description + "Key life end time in format : day-of-week month + date-of-month HH:MM:SS year eg: Thu Feb 1 18:32 + :14 2011"; + } + leaf duration { + type string; + units "second"; + description + "Duration of the key in seconds. value 0xffffffff + reflects infinite, never expires, is configured "; + } + leaf is-always-valid { + type boolean; + description + "Is TRUE if duration is 0xffffffff "; + } + leaf is-valid-now { + type boolean; + description + "Is TRUE if current time is betweenstart and end + lifetime , else FALSE"; + } + } + + grouping MACSEC { + description + "If it's a macsec key"; + leaf is-macsec-key { + type boolean; + description + "To check if it's a macsec key"; + } + } + + grouping KEY-ID { + description + "Key ID information"; + list key-id { + description + "key id"; + container macsec { + description + "To check if it's a macsec key"; + uses MACSEC; + } + container send-lifetime { + description + "Lifetime of the key"; + uses LIFETIME; + } + container accept-lifetime { + description + "Accept Lifetime of the key"; + uses LIFETIME; + } + leaf key-string { + type string; + description + "Key string"; + } + leaf type { + type Enc; + description + "Type of key encryption"; + } + leaf key-id { + type string; + description + "Key ID"; + } + leaf cryptographic-algorithm { + type Cryto-algo; + description + "Cryptographic algorithm"; + } + } + } + + grouping KEY-CHAIN { + description + "Key chain config information"; + container key { + description + "Key properties"; + uses KEY-ID; + } + leaf accept-tolerance { + type string; + description + "Accept tolerance is infinite if value is + 0xffffffff"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper.yang new file mode 100644 index 0000000..6b3dcb1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-keychain-oper.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-lib-keychain-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-keychain-oper"; + prefix lib-keychain-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-lib-keychain-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lib-keychain package operational data. + + This module contains definitions + for the following management objects: + keychain: Keychain operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container keychain { + config false; + description + "Keychain operational data"; + container keies { + description + "List of configured key names"; + list key { + key "key-name"; + description + "Configured key name"; + leaf key-name { + type xr:Cisco-ios-xr-string; + description + "Key name"; + } + uses KEY-CHAIN; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-cfg.yang new file mode 100644 index 0000000..0fabb6f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-cfg.yang @@ -0,0 +1,355 @@ +module Cisco-IOS-XR-lib-mpp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-cfg"; + prefix lib-mpp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lib-mpp package configuration. + + This module contains definitions + for the following management objects: + control-plane: Configure control Plane + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-28 { + description + "Fixing Third Party Applications schema."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping HTTP-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container http-protocol { + description + "Configure HTTP on this interface"; + uses PEER-CLASS; + } + } + + grouping SNMP-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container snmp-protocol { + description + "Configure SNMP for this interface"; + uses PEER-CLASS; + } + } + + grouping TFTP-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container tftp-protocol { + description + "Configure TFTP on this interface"; + uses PEER-CLASS; + } + } + + grouping INTERFACE-SELECTION { + description + "Common node of inband, outband"; + container interface-selection { + description + "Configure interfaces"; + container interfaces { + description + "Configure a specific interface"; + list interface { + key "interface-name"; + description + "Specific interface"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the Interface"; + } + uses HTTP-PROTOCOL; + uses TFTP-PROTOCOL; + uses NETCONF-PROTOCOL; + uses XR-XML; + uses SSH-PROTOCOL; + uses SNMP-PROTOCOL; + uses TELNET-PROTOCOL; + uses ALL-PROTOCOLS; + } + } + container all-interfaces { + description + "Configure all Inband interfaces"; + uses HTTP-PROTOCOL; + uses TFTP-PROTOCOL; + uses NETCONF-PROTOCOL; + uses XR-XML; + uses SSH-PROTOCOL; + uses SNMP-PROTOCOL; + uses TELNET-PROTOCOL; + uses ALL-PROTOCOLS; + } + } + } + + grouping NETCONF-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container netconf-protocol { + description + "Configure NETCONF protocol and peer addresses"; + uses PEER-CLASS; + } + } + + grouping PEER-PREFIX-CLASS { + description + "Common node of peer-v4, peer-v6"; + container peer-prefixes { + description + "Configure peer addresses with prefix"; + list peer-prefix { + key "address-prefix"; + description + "Peer address (with prefix)"; + leaf address-prefix { + type inet:ip-prefix; + description + "prefix/length"; + } + } + } + } + + grouping TPA-ALLOW { + description + "Common node of ipv4-table, ipv6-table"; + list tpa-allow { + key "local-port protocol"; + description + "MPP TPA control entries"; + leaf local-port { + type xr:Cisco-ios-xr-port-number; + description + "Local port value"; + } + leaf protocol { + type uint32 { + range "1..255"; + } + description + "L4 protocol value"; + } + leaf interface-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + mandatory true; + description + "Interface name for allow command, or 'any'"; + } + leaf remote-address { + type string { + length "1..32"; + } + mandatory true; + description + "IPv4/6 remote-address prefix to match, or 'any'"; + } + leaf remote-address-prefix { + type uint32 { + range "0..128"; + } + description + "IPv4/6 remote-address prefix length"; + } + leaf local-address { + type string { + length "1..32"; + } + mandatory true; + description + "IPv4/6 local-address prefix to match, or 'any'"; + } + leaf local-address-prefix { + type uint32 { + range "0..128"; + } + description + "IPv4/6 local-address prefix length"; + } + } + } + + grouping PEER-NO-PREFIX-CLASS { + description + "Common node of peer-v4, peer-v6"; + container peers { + description + "Configure peer addresses"; + list peer { + key "address"; + description + "Configure peer on the interface"; + leaf address { + type inet:ip-address-no-zone; + description + "prefix"; + } + } + } + } + + grouping XR-XML { + description + "Common node of interface, all-interfaces"; + container xr-xml { + description + "Configure XML and peer addresses"; + uses PEER-CLASS; + } + } + + grouping PEER-CLASS { + description + "Common node of snmp-protocol, http-protocol, + ssh-protocol, telnet-protocol, tftp-protocol, xml + , netconf-protocol, all-protocols"; + container peer-class { + description + "Configure peer addresses"; + container peer-v4 { + description + "Configure v4 peer addresses"; + uses PEER-NO-PREFIX-CLASS; + uses PEER-PREFIX-CLASS; + } + container peer-v6 { + description + "Configure v6 peer addresses"; + uses PEER-NO-PREFIX-CLASS; + uses PEER-PREFIX-CLASS; + } + leaf peer-all { + type empty; + description + "Only takes 'True'"; + } + } + } + + grouping TELNET-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container telnet-protocol { + description + "Configure Telnet for this interface"; + uses PEER-CLASS; + } + } + + grouping ALL-PROTOCOLS { + description + "Common node of interface, all-interfaces"; + container all-protocols { + description + "Configure all protocols on this interface"; + uses PEER-CLASS; + } + } + + grouping SSH-PROTOCOL { + description + "Common node of interface, all-interfaces"; + container ssh-protocol { + description + "Configure SSH protocol and peer addresses"; + uses PEER-CLASS; + } + } + + container control-plane { + description + "Configure control Plane"; + container management-plane-protection { + description + "Configure management plane protection"; + container outband { + description + "Outband Configuration"; + leaf outband-vrf { + type string; + description + "Configure outband VRF"; + } + uses INTERFACE-SELECTION; + } + container inband { + description + "Inband Configuration"; + uses INTERFACE-SELECTION; + } + container tpa { + description + "MPP Third Party Application Configuration + Commands"; + container vrfs { + description + "VRF configuration"; + list vrf { + key "vrf-name"; + description + "VRF configuration"; + container address-family { + description + "Address family"; + container ipv4-table { + description + "IPv4 configuration"; + uses TPA-ALLOW; + } + container ipv6-table { + description + "IPv6 configuration"; + uses TPA-ALLOW; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper-sub1.yang new file mode 100644 index 0000000..772ebe4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper-sub1.yang @@ -0,0 +1,181 @@ +submodule Cisco-IOS-XR-lib-mpp-oper-sub1 { + belongs-to Cisco-IOS-XR-lib-mpp-oper { + prefix Cisco-IOS-XR-lib-mpp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lib-mpp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + identity Mpp-af-id-base { + description + "Base identity for Mpp-af-id"; + } + + identity ipv4 { + base Mpp-af-id-base; + description + "IPv4 address family"; + } + + identity ipv6 { + base Mpp-af-id-base; + description + "IPv6 address family"; + } + + typedef Mpp-in6-addr { + type inet:ipv6-address; + description + "Mpp in6 addr"; + } + + typedef Mpp-in-addr { + type inet:ipv4-address; + description + "Mpp in addr"; + } + + typedef Mpp-af-id { + type identityref { + base Mpp-af-id-base; + } + description + "MPP address family types"; + } + + typedef Mpp-allow { + type enumeration { + enum "ssh" { + description + "SSH protocol"; + } + enum "telnet" { + description + "TELNET protocol"; + } + enum "snmp" { + description + "SNMP protocol"; + } + enum "tftp" { + description + "TFTP protocol"; + } + enum "http" { + description + "HTTP protocol"; + } + enum "xr-xml" { + description + "XML"; + } + enum "netconf" { + description + "NETCONF protocol"; + } + enum "all" { + description + "All"; + } + } + description + "MPP protocol types"; + } + + grouping IP-ADDR-T-UNION { + description + "IP ADDR T UNION"; + leaf af-name { + type Mpp-af-id; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type Mpp-in-addr; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Mpp-in6-addr; + description + "IPv6 address"; + } + } + + grouping MPP-INFO { + description + "MPP Information"; + leaf allow { + type Mpp-allow; + description + "MPP allow"; + } + leaf is-all-peers-allowed { + type boolean; + description + "If TRUE, all peers are allowed"; + } + list peer-address { + description + "List of peer addresses"; + uses IP-ADDR-T-UNION; + } + } + + grouping MPP-PROTO { + description + "MPP Interface protocols"; + list protocol { + description + "MPP Interface protocols"; + uses MPP-INFO; + } + } + + grouping VRF-INFO { + description + "Outband VRF name"; + leaf vrf-name { + type string; + description + "Outband VRF name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper.yang new file mode 100644 index 0000000..b606f30 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lib-mpp-oper.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-lib-mpp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper"; + prefix lib-mpp-oper; + + include Cisco-IOS-XR-lib-mpp-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lib-mpp package operational data. + + This module contains definitions + for the following management objects: + management-plane-protection: Management Plane Protection (MPP) + operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping INTERFACE-TABLE { + description + "Common node of inband, outband"; + container interfaces { + description + "List of inband/outband interfaces"; + list interface { + key "interface-name"; + description + "MPP interface information"; + leaf interface-name { + type string; + description + "Interface name, specify 'all' for all + interfaces"; + } + uses MPP-PROTO; + } + } + } + + container management-plane-protection { + config false; + description + "Management Plane Protection (MPP) operational + data"; + container outband { + description + "Management Plane Protection (MPP) outband + interface data"; + container vrf { + description + "Outband VRF information"; + uses VRF-INFO; + } + uses INTERFACE-TABLE; + } + container inband { + description + "Management Plane Protection (MPP) inband + interface data"; + uses INTERFACE-TABLE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang new file mode 100644 index 0000000..2ec6ea1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper-sub1.yang @@ -0,0 +1,64 @@ +submodule Cisco-IOS-XR-linux-os-reboot-history-oper-sub1 { + belongs-to Cisco-IOS-XR-linux-os-reboot-history-oper { + prefix Cisco-IOS-XR-linux-os-reboot-history-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR linux-os-reboot-history package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping HISTORY-DETAIL { + description + "Reboot history details"; + leaf no { + type uint32; + description + "Number count"; + } + leaf time { + type string; + description + "Time of reboot"; + } + leaf cause-code { + type uint32; + description + "Cause code for reboot"; + } + leaf reason { + type string; + description + "Reason for reboot"; + } + } + + grouping HISTORY { + description + "Reboot history information"; + list reboot-history { + description + "Last Reboots"; + uses HISTORY-DETAIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper.yang new file mode 100644 index 0000000..b306735 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-linux-os-reboot-history-oper.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-linux-os-reboot-history-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-linux-os-reboot-history-oper"; + prefix linux-os-reboot-history-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-linux-os-reboot-history-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR linux-os-reboot-history package operational data. + + This module contains definitions + for the following management objects: + reboot-history: Reboot History information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container reboot-history { + config false; + description + "Reboot History information"; + list node { + key "node-name"; + description + "Node ID"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses HISTORY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-cfg.yang new file mode 100644 index 0000000..e7d655f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-cfg.yang @@ -0,0 +1,287 @@ +module Cisco-IOS-XR-lmp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lmp-cfg"; + prefix lmp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lmp package configuration. + + This module contains definitions + for the following management objects: + lmp: Main common OLM/LMP configuration container + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Olm-addr { + type enumeration { + enum "ipv4" { + value 101; + description + "IPv4 address"; + } + enum "ipv6" { + value 102; + description + "IPv6 address"; + } + enum "unnumbered" { + value 103; + description + "Unnumbered address"; + } + enum "nsap" { + value 104; + description + "NSAP address"; + } + } + description + "Olm addr"; + } + + typedef Olm-switching-cap { + type enumeration { + enum "lsc" { + value 150; + description + "Lambda switch capable"; + } + enum "fsc" { + value 200; + description + "Fiber switch capable"; + } + } + description + "Olm switching cap"; + } + + container lmp { + description + "Main common OLM/LMP configuration container"; + container gmpls-uni { + description + "GMPLS UNI specific OLM/LMP configuration"; + container neighbors { + description + "Neighbor configuration"; + list neighbor { + key "neighbor-name"; + description + "Neighbor configuration"; + container ipcc { + description + "IPCC configuration"; + container routed { + description + "Routed IPCC configuration"; + leaf enable { + type empty; + description + "Routed IPCC creation"; + } + } + } + leaf enable { + type empty; + description + "Neighbor creation"; + } + leaf neighbor-router-id { + type inet:ipv4-address-no-zone; + description + "Neighbor router ID (IPv4 Address)"; + } + leaf neighbor-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Neighbor name"; + } + } + } + container router-id { + presence "enable router-id"; + description + "Local GMPLS UNI router ID"; + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Local router ID (IPv4 Address)"; + } + } + container controllers { + description + "Configure GMPLS UNI OLM/LMP controllers"; + list controller { + key "controller-name"; + description + "Configure an GMPLS UNI OLM/LMP contoller"; + container local-link-id { + description + "Local Link ID configuration"; + leaf address-type { + type Olm-addr; + description + "Local link ID address type"; + } + leaf unnumbered { + when "../address-type = 'unnumbered'" { + description + "../AddressType = Unnumbered"; + } + type int32; + description + "Local address unnumbered "; + } + leaf address { + when "../address-type = 'ipv4'" { + description + "../AddressType = IPv4"; + } + type inet:ipv4-address-no-zone; + description + "Local link ID address IPv4"; + } + } + container adjacency { + description + "Neighbor controller adjacency configuration"; + container remote-neighbor { + description + "Neighbor data"; + container interface-id { + description + "Neighbor Interface ID configuration"; + leaf address-type { + type Olm-addr; + description + "Local link ID address type"; + } + leaf unnumbered { + when "../address-type = 'unnumbered'" { + description + "../AddressType = Unnumbered"; + } + type int32; + description + "Local address unnumbered "; + } + leaf address { + when "../address-type = 'ipv4'" { + description + "../AddressType = IPv4"; + } + type inet:ipv4-address-no-zone; + description + "Local link ID address IPv4"; + } + } + container link-id { + description + "Neighbor Link ID configuration"; + leaf address-type { + type Olm-addr; + description + "Neighbor link ID address type"; + } + leaf unnumbered { + when "../address-type = 'unnumbered'" { + description + "../AddressType = Unnumbered"; + } + type int32; + description + "Neighbor address unnumbered [Not + supported]"; + } + leaf address { + when "../address-type = 'ipv4'" { + description + "../AddressType = IPv4"; + } + type inet:ipv4-address-no-zone; + description + "Neighbor ID address IPv4"; + } + } + leaf neighbor-association { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Create LMP controller to neighbor + association"; + } + leaf link-switching-capability { + type Olm-switching-cap; + default "lsc"; + description + "Neighbor link switching capability + configuration"; + } + leaf flexi-grid-capable { + type int32; + description + "Remote node flexi grid capability "; + } + } + } + leaf enable { + type empty; + description + "Enable the OLM/LMP application on this + controller"; + } + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + } + } + } + leaf enable { + type empty; + description + "Enable the OLM/LMP application"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + default "701"; + description + "LMP protocol UDP port number"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-datatypes.yang new file mode 100644 index 0000000..028cabd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-datatypes.yang @@ -0,0 +1,72 @@ +module Cisco-IOS-XR-lmp-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lmp-datatypes"; + prefix lmp-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Olm-addr { + type enumeration { + enum "ipv4" { + value 101; + description + "IPv4 address"; + } + enum "ipv6" { + value 102; + description + "IPv6 address"; + } + enum "unnumbered" { + value 103; + description + "Unnumbered address"; + } + enum "nsap" { + value 104; + description + "NSAP address"; + } + } + description + "Olm addr"; + } + + typedef Olm-switching-cap { + type enumeration { + enum "lsc" { + value 150; + description + "Lambda switch capable"; + } + enum "fsc" { + value 200; + description + "Fiber switch capable"; + } + } + description + "Olm switching cap"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper-sub1.yang new file mode 100644 index 0000000..e8224ce --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper-sub1.yang @@ -0,0 +1,841 @@ +submodule Cisco-IOS-XR-lmp-oper-sub1 { + belongs-to Cisco-IOS-XR-lmp-oper { + prefix Cisco-IOS-XR-lmp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lmp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Olmipcc-state { + type enumeration { + enum "ipcc-state-oir-removed" { + description + "OIR Removed"; + } + enum "ipcc-state-admin-down" { + description + "OOS"; + } + enum "ipcc-state-down" { + description + "Down"; + } + enum "ipcc-state-cfg-send" { + description + "ConfigSend"; + } + enum "ipcc-state-cfg-rcv" { + description + "ConfigReceive"; + } + enum "ipcc-state-active" { + description + "Active"; + } + enum "ipcc-state-up" { + description + "Up"; + } + enum "ipcc-state-going-down" { + description + "Going Down"; + } + enum "ipcc-state-unknown" { + description + "Unknown/Invalid"; + } + } + description + "The OLM IPCC state"; + } + + typedef Olm-comp-link-lmp-status { + type enumeration { + enum "comp-link-lmp-status-if-id-mismatch" { + description + "Component link IF ID mismatch"; + } + enum "comp-link-lmp-status-switch-cap-mismatch" { + description + "Component link switching capability ID mismatch"; + } + } + description + "The component link LMP status"; + } + + typedef Olm-link-encoding { + type enumeration { + enum "none" { + description + "None"; + } + enum "packet" { + description + "Packet"; + } + enum "ethernet" { + description + "Ethernet"; + } + enum "ansi-etsi-pdh" { + description + "ANSI/ETSI PDH"; + } + enum "reserved1" { + description + "Reserved"; + } + enum "sdh-sonet" { + description + "SDH ITU-T G.707 / SONET ANSI T1.105"; + } + enum "reserved2" { + description + "Reserved"; + } + enum "digital-wrapper" { + description + "Digital Wrapper"; + } + enum "lambda" { + description + "Lambda (photonic)"; + } + enum "fiber" { + description + "Fiber"; + } + enum "reserved3" { + description + "Reserved"; + } + enum "fiber-channel" { + description + "FiberChannel"; + } + enum "lencode-unknown" { + description + "Unknown"; + } + } + description + "LMP link encoding type as defined in [RFC3471]"; + } + + typedef Olmte-link-lmp-state { + type enumeration { + enum "te-link-lmp-state-down" { + description + "Down"; + } + enum "te-link-lmp-state-init" { + description + "Init"; + } + enum "te-link-lmp-state-up" { + description + "Up"; + } + enum "te-link-lmp-state-degraded" { + description + "Degraded"; + } + enum "te-link-lmp-state-unknown" { + description + "Unknown/Invalid"; + } + } + description + "The OLM TE link LMP state"; + } + + typedef Olm-comp-link-lmp-state { + type enumeration { + enum "comp-link-lmp-state-down" { + description + "Down"; + } + enum "comp-link-lmp-state-test" { + description + "Test"; + } + enum "comp-link-lmp-state-passive-test" { + description + "Pasv Test"; + } + enum "comp-link-lmp-state-up-free" { + description + "Up Free"; + } + enum "comp-link-lmp-state-up-allocated" { + description + "Up Allocated"; + } + enum "comp-link-lmp-state-unknown" { + description + "Unknown/Invalid"; + } + } + description + "The OLM Component link LMP state"; + } + + typedef Olm-comp-link-im-state { + type enumeration { + enum "comp-link-im-state-oir" { + description + "OIR removed"; + } + enum "comp-link-im-state-down" { + description + "Down"; + } + enum "comp-link-im-state-admin-down" { + description + "Admin Down"; + } + enum "comp-link-im-state-up" { + description + "Up"; + } + enum "comp-link-im-state-unknown" { + description + "Unknown"; + } + } + description + "The OLM Component link IM state"; + } + + typedef Olm-mux-cap { + type enumeration { + enum "psc1" { + description + "PSC 1"; + } + enum "psc2" { + description + "PSC 2"; + } + enum "psc3" { + description + "PSC 3"; + } + enum "psc4" { + description + "PSC 4"; + } + enum "l2sc" { + description + "L2SC"; + } + enum "tdm" { + description + "TDM"; + } + enum "lsc" { + description + "LSC"; + } + enum "fsc" { + description + "FSC"; + } + enum "unknown-mux-cap" { + description + "Unknown Mux Cap"; + } + } + description + "Multiplexing capability"; + } + + typedef Olmipcc { + type enumeration { + enum "ipcc-type-global-routed" { + description + "Global routed IPCC"; + } + enum "ipcc-type-global-if-bound" { + description + "Global I/F bound IPCC"; + } + enum "ipcc-type-ldcc-sdcc" { + description + "SDCC/LDCC in fiber in band type IPCC"; + } + enum "ipcc-type-unknown" { + description + "Unknown IPCC type"; + } + } + description + "The OLM IPCC type"; + } + + typedef Olm-object-owner { + type enumeration { + enum "unknown" { + description + "Unknown owner"; + } + enum "ouni" { + description + "OIF OUNI"; + } + enum "gmpls-nni" { + description + "GMPLS NNI"; + } + enum "gmpls-uni" { + description + "GMPLS UNI"; + } + } + description + "The OLM object owner"; + } + + typedef Olm-router-id { + type enumeration { + enum "not-configured" { + description + "No router ID configured"; + } + enum "global" { + description + "Global router ID"; + } + enum "protocol-based-address" { + description + "Protocol based CLIrouter ID configured"; + } + enum "interface" { + description + "Protocol based CLI I/Frouter ID configured"; + } + enum "network-element" { + description + "Protocol based CLI I/F routerID configured on + I/F that is not known to the system"; + } + enum "unknown-type" { + description + "Unknown"; + } + } + description + "The OLM router ID type"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "Ipv6 address"; + } + + typedef Olm-addr-type-id { + type enumeration { + enum "unknown-address" { + value 0; + description + "Unknown address type"; + } + enum "ipv4" { + value 101; + description + "IPv4 address type"; + } + enum "ipv6" { + value 102; + description + "IPv6 address type"; + } + enum "unnumbered" { + value 103; + description + "Unnumberedaddress type"; + } + } + description + "OLM Link Address Type"; + } + + grouping OLM-COMPONENT-LINK-ID-INFO { + description + "OLM component link ID information"; + leaf component-interface-id { + type uint32; + description + "LMP component link ID for an I/F"; + } + } + + grouping OLM-IPCC-INFO { + description + "OLM information for a particular IPCC"; + container remote-ipcc-address { + description + "The remote node'sIPCC address"; + uses OLM-ADDR; + } + container source-ip-cc-address { + description + "The local IPCC address"; + uses OLM-ADDR; + } + leaf ipcc-id { + type uint32; + description + "Global active IPCCfor this neighbor"; + } + leaf ipc-ctype { + type Olmipcc; + description + "OLM IPCC type"; + } + leaf interface-name { + type string; + description + "The interface name forI/F IPCCs"; + } + leaf neighbor-name { + type string; + description + "Neighbor name of theIPCCs neighbor"; + } + leaf ipcc-state { + type Olmipcc-state; + description + "OLM IPCC master state"; + } + leaf lmp-hello-interval { + type uint32; + description + "LMP hello send interval in msec [DEPRECATED]"; + } + leaf lmp-hello-interval-minimum { + type uint32; + description + "LMP minimum acceptable hello send interval + [DEPRECATED]"; + } + leaf lmp-hello-interval-maximum { + type uint32; + description + "LMP maximum acceptable hello send interval + [DEPRECATED]"; + } + leaf lmp-hello-dead-interval { + type uint32; + description + "LMP hello dead interval [DEPRECATED]"; + } + leaf lmp-hello-dead-interval-minimum { + type uint32; + description + "LMP minimum acceptable hello dead interval + [DEPRECATED]"; + } + leaf lmp-hello-dead-interval-maximum { + type uint32; + description + "LMP maximum acceptable hello dead interval + [DEPRECATED]"; + } + leaf lmp-hello-transmit-packets { + type uint32; + description + "LMP hello transmit packet count[DEPRECATED]"; + } + leaf lmp-hello-receive-packets { + type uint32; + description + "LMP hello receive packet count [DEPRECATED]"; + } + leaf lmp-hello-transmit-packet-sequence-number { + type uint32; + description + "LMP hello transmit packet sequence number + [DEPRECATED]"; + } + leaf lmp-hello-receive-packet-sequence-number { + type uint32; + description + "LMP hello receive packet sequence + number[DEPRECATED]"; + } + leaf lmp-transmit-msg-id { + type uint32; + description + "LMP transmit message ID[DEPRECATED]"; + } + leaf lmp-receive-msg-id { + type uint32; + description + "LMP receive message ID[DEPRECATED]"; + } + leaf lmp-link-sum-transmit-packets { + type uint32; + description + "LMP link summary transmit packet count + [DEPRECATED]"; + } + leaf lmp-link-sum-receive-packets { + type uint32; + description + "LMP link summary receive packet count + [DEPRECATED]"; + } + } + + grouping OLM-NEIGHBOR-INFO { + description + "OLM information for a particular neighbor"; + container neighbor-address { + description + "The remote node ID of the neighbor"; + uses OLM-ADDR; + } + leaf protocol-owner { + type Olm-object-owner; + description + "Protocol owningthis neighbor"; + } + leaf ipcc-id { + type uint32; + description + "The global active IPCCfor this neighbor"; + } + leaf is-lmp-enabled { + type boolean; + description + "Is LMP enabled on this neighbor [DEPRECATED]"; + } + leaf is-lmp-config-disabled { + type boolean; + description + "Are LMP hellos disabled through configuration + for this neighbor [DEPRECATED]"; + } + leaf lmp-transmit-msg-id { + type uint32; + description + "LMP transmit message ID [DEPRECATED]"; + } + leaf lmp-receive-msg-id { + type uint32; + description + "LMP receive message ID [DEPRECATED]"; + } + leaf lmp-link-sum-transmit-packets { + type uint32; + description + "LMP link summary transmit packet count + [DEPRECATED]"; + } + leaf lmp-link-sum-receive-packets { + type uint32; + description + "LMP link summary receive packet + count[DEPRECATED]"; + } + list te-link { + description + "A list of TE Links connected to this neighbor"; + uses OLM-TE-LINK-INFO; + } + list ipcc { + description + "A list of IPCCs connected to this neighbor"; + uses OLM-IPCC-INFO; + } + } + + grouping OLM-TE-LINK-INFO { + description + "OLM information for a particular TE Link"; + container local-link-id { + description + "The local datalink ID"; + uses OLM-ADDR; + } + container remote-link-id { + description + "The remote datalink ID"; + uses OLM-ADDR; + } + container local-te-link-id { + description + "Local TE-Link ID/ TNA address"; + uses OLM-ADDR; + } + container remote-te-link-id { + description + "Remote TE-Link ID/ TNA address"; + uses OLM-ADDR; + } + container neighbor-address { + description + "The address of the neighbor"; + uses OLM-ADDR; + } + container remote-ipcc-address { + description + "The remote node's IPCC address"; + uses OLM-ADDR; + } + leaf interface-name { + type string; + description + "Interface forOLM info"; + } + leaf protocol-owner { + type Olm-object-owner; + description + "Protocol owningthis te-link"; + } + leaf neighbor-name { + type string; + description + "The name of the neighbor"; + } + leaf ipcc-id { + type uint32; + description + "The IPCC ID"; + } + leaf ipc-ctype { + type Olmipcc; + description + "OLM IPCC type"; + } + leaf ipcc-name { + type string; + description + "The name ofthe IPCC associated with the TE Link"; + } + leaf local-mux-cap { + type Olm-mux-cap; + description + "The local mux capability"; + } + leaf remote-mux-cap { + type Olm-mux-cap; + description + "The remote mux capability"; + } + leaf im-state { + type Olm-comp-link-im-state; + description + "data link IM state"; + } + leaf lmp-state { + type Olm-comp-link-lmp-state; + description + "data link LMP state"; + } + leaf te-link-lmp-state { + type Olmte-link-lmp-state; + description + "TE LinkLMP state"; + } + leaf gmpls-te-link-local-minimum-bandwidth { + type uint64; + units "byte/s"; + description + "GMPLS localminimum B/W in bytes/sec"; + } + leaf gmpls-te-link-local-maximum-bandwidth { + type uint64; + units "byte/s"; + description + "GMPLS localmaximum B/W in bytes/sec"; + } + leaf gmpls-te-link-neighbor-minimum-bandwidth { + type uint64; + units "byte/s"; + description + "GMPLSneighbor minimum B/W in bytes/sec"; + } + leaf gmpls-te-link-neighbor-maximum-bandwidth { + type uint64; + units "byte/s"; + description + "GMPLSneighbor maximum B/W in bytes/sec"; + } + leaf gmpls-te-link-local-encoding-type { + type Olm-link-encoding; + description + "GMPLS locallink encoding type"; + } + leaf gmpls-te-link-neighbor-encoding-type { + type Olm-link-encoding; + description + "GMPLS neighborlink encoding type"; + } + leaf is-lmp-enabled { + type boolean; + description + "Is LMP enabledon this TE link"; + } + leaf lmp-transmit-msg-id { + type uint32; + description + "LMP transmitmessage ID"; + } + leaf lmp-receive-msg-id { + type uint32; + description + "LMP receivemessage ID"; + } + leaf-list lmp-comp-link-status { + type Olm-comp-link-lmp-status; + description + "Component link LMP status indicators"; + } + } + + grouping OLM-TIME { + description + "OLM Time Stamp"; + leaf time-connected { + type uint32; + description + "The time the clientconnected in sec"; + } + } + + grouping OLM-CLIENT-INFO { + description + "OLM information for a particular OLM client"; + container connected-time { + description + "The time the clientconnected in sec"; + uses OLM-TIME; + } + leaf node-name { + type string; + description + "The RP name that the clientprocess is running on"; + } + } + + grouping OLM-ADDR-U { + description + "OLM ADDR U"; + leaf address-type { + type Olm-addr-type-id; + description + "AddressType"; + } + leaf ipv4-address { + when "../address-type = 'ipv4'" { + description + "../AddressType = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../address-type = 'ipv6'" { + description + "../AddressType = 'IPv6'"; + } + type Ipv6-address; + description + "IPv6 address"; + } + leaf unnumbered-address { + when "../address-type = 'unnumbered'" { + description + "../AddressType = 'Unnumbered'"; + } + type uint32; + description + "Unnumberedaddress"; + } + } + + grouping OLM-ADDR { + description + "TE Link or component link address"; + container address { + description + "Address Union"; + uses OLM-ADDR-U; + } + } + + grouping OLM-GLOBAL-INFO { + description + "OLM general information"; + container local-ouni-lmp-node-id { + description + "Local OUNI LMP Node ID"; + uses OLM-ADDR; + } + container local-mpls-te-lmp-node-id { + description + "MPLS TE LMP Node ID"; + uses OLM-ADDR; + } + container local-gmpls-uni-lmp-node-id { + description + "GMPLS UNI LMP Node ID"; + uses OLM-ADDR; + } + leaf local-ouni-lmp-node-id-interface { + type string; + description + "Local OUNI LMP Node ID I/F"; + } + leaf local-ouni-lmp-node-id-type { + type Olm-router-id; + description + "Local OUNI LMP Node ID type"; + } + leaf is-ouni-config-exist { + type boolean; + description + "TRUE if any OLM OUNI config exists"; + } + leaf is-gmpls-nni-config-exist { + type boolean; + description + "TRUE if any OLM/LNP GMPLS NNI config exists"; + } + leaf is-gmpls-uni-config-exist { + type boolean; + description + "TRUE if any OLM/LMP GMPLS UNI config exists"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper.yang new file mode 100644 index 0000000..08c6e88 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lmp-oper.yang @@ -0,0 +1,117 @@ +module Cisco-IOS-XR-lmp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lmp-oper"; + prefix lmp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-lmp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lmp package operational data. + + This module contains definitions + for the following management objects: + lmp: Main common UCP/OLM operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lmp { + config false; + description + "Main common UCP/OLM operational data"; + container global-status { + description + "Global OLM process information"; + uses OLM-GLOBAL-INFO; + } + container clients { + description + "UCP OLM clients container class"; + list client { + key "client-name"; + description + "Information on a particular OLM API client"; + leaf client-name { + type xr:Cisco-ios-xr-string; + description + "Client name"; + } + uses OLM-CLIENT-INFO; + } + } + container gmpls-uni { + description + "GMPLS UNI specific OLM/LMP configuration"; + container te-links { + description + "UCP OLM TE Links container class"; + list te-link { + key "controller-name"; + description + "Information on a particular OLM TE Link"; + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + uses OLM-TE-LINK-INFO; + } + } + container neighbors { + description + "UCP OLM neighbors container class"; + list neighbor { + key "neighbor-name"; + description + "Information on a particular OLM neighbor"; + leaf neighbor-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Neighbor name"; + } + uses OLM-NEIGHBOR-INFO; + } + } + } + container component-link-ids { + description + "UCP OLM component link ID container class"; + list component-link-id { + key "controller-name"; + description + "Retrieve the LMP component link ID for a given + controller"; + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + uses OLM-COMPONENT-LINK-ID-INFO; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang new file mode 100644 index 0000000..5e8d8d8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper-sub1.yang @@ -0,0 +1,159 @@ +submodule Cisco-IOS-XR-lpts-ifib-oper-sub1 { + belongs-to Cisco-IOS-XR-lpts-ifib-oper { + prefix Cisco-IOS-XR-lpts-ifib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lpts-ifib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FM-IFIB-ENTRY { + description + "LPTS IFIB Slice Entry Information"; + leaf destination-type { + type string; + description + "Destination Key Type"; + } + leaf destination-value { + type string; + description + "Destination Port/ICMP Type/IGMP Type"; + } + leaf source-port { + type string; + description + "Source port"; + } + leaf destination-addr { + type string; + description + "Destination IP Address"; + } + leaf source-addr { + type string; + description + "Source IP Address"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf vid { + type uint32; + description + "VRF ID"; + } + leaf l3protocol { + type uint32; + description + "Layer 3 Protocol"; + } + leaf l4protocol { + type uint32; + description + "Layer 4 Protocol"; + } + leaf intf-name { + type string; + description + "Interface Name"; + } + leaf intf-handle { + type uint32; + description + "Interface Handle"; + } + leaf is-syn { + type uint8; + description + "Is SYN"; + } + leaf opcode { + type string; + description + "Opcode"; + } + leaf accepts { + type uint64; + description + "Packets matched to accept"; + } + leaf drops { + type uint64; + description + "Packets matched to drop"; + } + leaf flow-type { + type string; + description + "Flow type"; + } + leaf listener-tag { + type string; + description + "Listener Tag"; + } + leaf local-flag { + type uint8; + description + "Local Flag"; + } + leaf is-fgid { + type uint8; + description + "Is FGID or not"; + } + leaf deliver-list-short { + type string; + description + "Deliver List Short Format"; + } + leaf deliver-list-long { + type string; + description + "Deliver List Long Format"; + } + leaf min-ttl { + type uint8; + description + "Minimum TTL"; + } + leaf pending-ifibq-delay { + type uint32; + description + "pending ifib queue delay"; + } + leaf sl-ifibq-delay { + type uint32; + description + "sl_ifibq delay"; + } + leaf ifib-program-time { + type string; + description + "ifib program time in netio"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper.yang new file mode 100644 index 0000000..f2eb7e7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-ifib-oper.yang @@ -0,0 +1,84 @@ +module Cisco-IOS-XR-lpts-ifib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-ifib-oper"; + prefix lpts-ifib-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-lpts-ifib-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-ifib package operational data. + + This module contains definitions + for the following management objects: + lpts-ifib: lpts ifib database + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lpts-ifib { + config false; + description + "lpts ifib database"; + container nodes { + description + "Node ifib database"; + list node { + key "node-name"; + description + "Per node slice "; + container slice-ids { + description + "Slice specific"; + list slice-id { + key "slice-name"; + description + "slice types"; + leaf slice-name { + type xr:Cisco-ios-xr-string; + description + "Type value"; + } + list entry { + key "entry"; + description + "Data for single pre-ifib entry"; + leaf entry { + type int32; + description + "Single Pre-ifib entry"; + } + uses FM-IFIB-ENTRY; + } + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-lib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-lib-cfg.yang new file mode 100644 index 0000000..135fb33 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-lib-cfg.yang @@ -0,0 +1,37 @@ +module Cisco-IOS-XR-lpts-lib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-lib-cfg"; + prefix lpts-lib-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-lib package configuration. + + This module contains definitions + for the following management objects: + lpts: lpts configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lpts { + description + "lpts configuration commands"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper-sub1.yang new file mode 100644 index 0000000..a3300e4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper-sub1.yang @@ -0,0 +1,198 @@ +submodule Cisco-IOS-XR-lpts-pa-oper-sub1 { + belongs-to Cisco-IOS-XR-lpts-pa-oper { + prefix Cisco-IOS-XR-lpts-pa-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lpts-pa package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CLIENT-ENTRY { + description + "Client Structure"; + leaf flags { + type uint32; + description + "Client flags"; + } + leaf open-flags { + type uint32; + description + "Open flags"; + } + leaf location { + type uint32; + description + "Rack/slot/instance"; + } + leaf client-id { + type uint32; + description + "Client ID"; + } + leaf times { + type yang:hex-string; + description + "Transaction statisitics"; + } + } + + grouping TIMESPEC-ENTRY { + description + "Creation or Update Time"; + leaf tv-sec { + type uint32; + description + "Time Sec"; + } + leaf tv-nsec { + type uint32; + description + "Time Nanosec"; + } + } + + grouping BINDING-ENTRY { + description + "LPTS Binding Entry"; + container ctime { + description + "Creation Time"; + uses TIMESPEC-ENTRY; + } + container utime { + description + "Update Time"; + uses TIMESPEC-ENTRY; + } + leaf location { + type uint32; + description + "Rack/slot/instance"; + } + leaf client-id { + type uint32; + description + "Client ID"; + } + leaf vid { + type uint32; + description + "VR/VRF ID"; + } + leaf cookie { + type uint32; + description + "Cookie"; + } + leaf l3protocol { + type uint32; + description + "Layer 3 protocol"; + } + leaf l4protocol { + type uint32; + description + "Layer 4 protocol"; + } + leaf smask { + type uint32; + description + "Filter operation"; + } + leaf ifs { + type uint32; + description + "Ifhandle"; + } + leaf ptype { + type uint32; + description + "Packet type"; + } + leaf local-ip { + type yang:hex-string; + description + "Local address"; + } + leaf remote-ip { + type yang:hex-string; + description + "Remote address"; + } + leaf local-len { + type uint8; + description + "Local address length"; + } + leaf remote-len { + type uint8; + description + "Remote address length"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf remote-port { + type uint16; + description + "Remote port"; + } + leaf packet-misc { + type uint32; + description + "L5 info"; + } + leaf scope { + type uint32; + description + "Scope"; + } + leaf client-flags { + type uint32; + description + "Client flags"; + } + leaf min-ttl { + type uint8; + description + "Minimum TTL"; + } + leaf lazy-bindq-delay { + type uint32; + description + " lazy binding queue delay"; + } + leaf ptq-delay { + type uint32; + description + " pending transactions queue delay"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper.yang new file mode 100644 index 0000000..7c3fd16 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pa-oper.yang @@ -0,0 +1,75 @@ +module Cisco-IOS-XR-lpts-pa-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pa-oper"; + prefix lpts-pa-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-lpts-pa-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-pa package operational data. + + This module contains definitions + for the following management objects: + lpts-pa: lpts pre-ifib data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lpts-pa { + config false; + description + "lpts pre-ifib data"; + container entry-xr { + description + "lpts pa bindings"; + list entry { + key "entry"; + description + "Data for single PA Binding"; + leaf entry { + type xr:Cisco-ios-xr-string; + description + "Single Binding entry"; + } + uses BINDING-ENTRY; + } + } + container entries { + description + "lpts pa clients"; + list entry { + key "entry"; + description + "Data for single PA Client"; + leaf entry { + type xr:Cisco-ios-xr-string; + description + "Single Client entry"; + } + uses CLIENT-ENTRY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang new file mode 100644 index 0000000..b8996fd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-cfg.yang @@ -0,0 +1,837 @@ +module Cisco-IOS-XR-lpts-pre-ifib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-cfg"; + prefix lpts-pre-ifib-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + import Cisco-IOS-XR-lpts-lib-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-pre-ifib package configuration. + + This YANG module augments the + Cisco-IOS-XR-lpts-lib-cfg + Cisco-IOS-XR-config-mda-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Lpts-dynamic-flow-config { + type enumeration { + enum "flows-config" { + value 0; + description + "LPTS Flows Limit"; + } + enum "platform-config" { + value 1; + description + "Platform Limit"; + } + } + description + "Lpts dynamic flow config"; + } + + typedef Lpts-pre-i-fib-precedence-number { + type union { + type enumeration { + enum "critical" { + value 5; + description + "Match packets with critical precedence"; + } + enum "flash" { + value 3; + description + "Match packets with flash precedence"; + } + enum "flash-override" { + value 4; + description + "Match packets with flash override precedence"; + } + enum "immediate" { + value 2; + description + "Match packets with immediate precedence"; + } + enum "internet" { + value 6; + description + "Match packets with internetwork control + precedence"; + } + enum "network" { + value 7; + description + "Match packets with network control precedence"; + } + enum "priority" { + value 1; + description + "Match packets with priority precedence"; + } + enum "routine" { + value 0; + description + "Match packets with routine precedence"; + } + } + type uint32 { + range "0..7"; + } + } + description + "Lpts pre i fib precedence number"; + } + + typedef Lpts-flow { + type enumeration { + enum "config-default" { + value 0; + description + "Invalid flow type used for fallback + configuration"; + } + enum "l2tpv2-fragment" { + value 1; + description + "L2TPv2 Fragments"; + } + enum "fragment" { + value 2; + description + "Fragments"; + } + enum "ospf-multicast-known" { + value 3; + description + "OSPF multicast packets on configured interfaces"; + } + enum "ospf-multicast-default" { + value 4; + description + "OSPF multicast packets on unconfigured (or + newly-configured) interfaces"; + } + enum "ospf-unicast-known" { + value 5; + description + "OSPF unicast packets"; + } + enum "ospf-unicast-default" { + value 6; + description + "OSPF unicast packets"; + } + enum "isis-known" { + value 7; + description + "IS-IS packets on configured interfaces"; + } + enum "isis-default" { + value 8; + description + "IS-IS packets on unconfigured (or + newly-configured) interfaces"; + } + enum "bfd-known" { + value 9; + description + "BFD packets on configured interfaces"; + } + enum "bfd-default" { + value 10; + description + "BFD packets on unconfigured (or + newly-configured) interfaces"; + } + enum "bfd-multipath-known" { + value 11; + description + "BFD multipath packets on configured interfaces"; + } + enum "bfd-multipath0" { + value 12; + description + "BFD multipath packets on multiple configured + interfaces"; + } + enum "bfd-blb-known" { + value 13; + description + "BFD packets over Logical Bundle on configured + interfaces"; + } + enum "bfd-blb0" { + value 14; + description + "BFD packets over Logical Bundle 0"; + } + enum "bfd-sp0" { + value 15; + description + "BFD packets over Single Path 0"; + } + enum "bgp-known" { + value 16; + description + "Packets from established BGP peering sessions"; + } + enum "bgp-config-peer" { + value 17; + description + "Packets from a configured BGP peer (SYNs or + newly-established sessions)"; + } + enum "bgp-default" { + value 18; + description + "Packets from unconfigured, newly-configured, or + wild-card BGP peer"; + } + enum "pim-multicast-default" { + value 19; + description + "PIM multicast packets on configured interfaces"; + } + enum "pim-multicast-known" { + value 20; + description + "PIM multicast packets on unconfigured (or + newly-configured) interfaces"; + } + enum "pim-unicast" { + value 21; + description + "PIM unicast packets"; + } + enum "igmp" { + value 22; + description + "IGMP packets"; + } + enum "icmp-local" { + value 23; + description + "ICMP or ICMPv6 packets with local interest"; + } + enum "icmp-app" { + value 24; + description + "ICMP or ICMPv6 packets of interest to + applications"; + } + enum "icmp-control" { + value 25; + description + "ICMP or ICMPv6 packets that are used for + control/signalling purpose"; + } + enum "icmp-default" { + value 26; + description + "Other ICMP or ICMPv6 packets (may be of recent + interest to applications)"; + } + enum "icmp-app-default" { + value 27; + description + "ICMP or ICMPv6 echo reply packets (when + specific entry not present)"; + } + enum "ldp-tcp-known" { + value 28; + description + "Packets from an established LDP TCP peering + session"; + } + enum "ldp-tcp-config-peer" { + value 29; + description + "Packets from a configured LDP TCP peer (SYNs or + newly-established sessions)"; + } + enum "ldp-tcp-default" { + value 30; + description + "Packets from an unconfigured, newly-configured + or wild-card LDP TCP peer"; + } + enum "ldp-udp" { + value 31; + description + "Unicast LDP UDP packets"; + } + enum "all-routers" { + value 32; + description + "Packets sent to the all-routers multicast + address (includes LDP UDP multicast)"; + } + enum "lmp-tcp-known" { + value 33; + description + "Packets from an established LMP TCP peering + session"; + } + enum "lmp-tcp-config-peer" { + value 34; + description + "Packets from a configured LMP TCP peer (SYNs or + newly-established sessions)"; + } + enum "lmp-tcp-default" { + value 35; + description + "Packets from an unconfigured, newly-configured + or wild-card LMP TCP peer"; + } + enum "lmp-udp" { + value 36; + description + "Unicast LMP UDP packets"; + } + enum "rsvp-udp" { + value 37; + description + "RSVP-over-UDP packets"; + } + enum "rsvp-default" { + value 38; + description + "RSVP (IP protocol 46) packets"; + } + enum "rsvp-known" { + value 39; + description + "RSVP (IP protocol 46) packets"; + } + enum "ike" { + value 40; + description + "IKE packets"; + } + enum "ipsec-known" { + value 41; + description + "AH or ESP packets with known SPIs"; + } + enum "ipsec-default" { + value 42; + description + "AH or ESP packets with unknown or + newly-configured SPIs"; + } + enum "ipsec-fragment" { + value 43; + description + "AH or ESP fragmented packets"; + } + enum "msdp-known" { + value 44; + description + "Packets from an established MSDP session"; + } + enum "msdp-config-peer" { + value 45; + description + "Packets from a configured MSDP peer"; + } + enum "msdp-default" { + value 46; + description + "Packets from an uncofigured, newly-configured + or wild-card MSDP peer"; + } + enum "snmp" { + value 47; + description + "SNMP packets"; + } + enum "ssh-known" { + value 48; + description + "Packets from an established SSH session"; + } + enum "ssh-default" { + value 49; + description + "Packets from a new or newly-established SSH + session"; + } + enum "http-known" { + value 50; + description + "Packets from an established HTTP session"; + } + enum "http-default" { + value 51; + description + "Packets from a new or newly-established HTTP + session"; + } + enum "shttp-known" { + value 52; + description + "Packets from an established SHTTP session"; + } + enum "shttp-default" { + value 53; + description + "Packets from a new or newly-established SSHTP + session"; + } + enum "telnet-known" { + value 54; + description + "Packets from an established TELNET session"; + } + enum "telnet-default" { + value 55; + description + "Packets from a new or newly-established TELNET + session"; + } + enum "css-known" { + value 56; + description + "Packets from an established CSS session"; + } + enum "css-default" { + value 57; + description + "Packets from a new or newly-established CSS + session"; + } + enum "rsh-known" { + value 58; + description + "Packets from an established rsh session"; + } + enum "rsh-default" { + value 59; + description + "Packets from a new or newly-established rsh + session"; + } + enum "udp-known" { + value 60; + description + "Packets for established UDP sessions"; + } + enum "udp-listen" { + value 61; + description + "Packets for configured UDP services"; + } + enum "udp-config-peer" { + value 62; + description + "Packets for configured UDP-based protocol + sessions"; + } + enum "udp-default" { + value 63; + description + "Packets for unconfigured or newly-configured + UDP services"; + } + enum "tcp-known" { + value 64; + description + "Packets for established TCP sessions"; + } + enum "tcp-listen" { + value 65; + description + "Packets for configured TCP services"; + } + enum "tcp-config-peer" { + value 66; + description + "Packets for configured TCP peers"; + } + enum "tcp-default" { + value 67; + description + "Packets for unconfigured or newly-configured + TCP services"; + } + enum "multicast-known" { + value 68; + description + "Packets for configured multicast groups"; + } + enum "multicast-default" { + value 69; + description + "Packets for unconfigured or newly-configured + multicast groups"; + } + enum "raw-listen" { + value 70; + description + "Packets for configured IP protocols"; + } + enum "raw-default" { + value 71; + description + "Packets for unconfigured or newly-configured + IPv4 or IPv6 protocols"; + } + enum "ipsla" { + value 72; + description + "IP SLA packets destined to squid Q #4 for + timestamping by squid driver"; + } + enum "eigrp" { + value 73; + description + "EIGRP packets."; + } + enum "rip" { + value 74; + description + "RIP packets."; + } + enum "l2tpv3" { + value 75; + description + "L2TPv3 packets."; + } + enum "pcep-tcp-default" { + value 76; + description + "PCEP packets."; + } + enum "gre" { + value 77; + description + "GRE packets."; + } + enum "vrrp" { + value 78; + description + "VRRP Packets."; + } + enum "hsrp" { + value 79; + description + "HSRP Packets."; + } + enum "mpls-ping" { + value 80; + description + "MPLS ping packet coming or arriving from 3503 + port"; + } + enum "l2tpv2-default" { + value 81; + description + "L2TPv2 default packets."; + } + enum "l2tpv2-known" { + value 82; + description + "L2TPv2 known packets."; + } + enum "dns" { + value 83; + description + "DNS packets."; + } + enum "radius" { + value 84; + description + "RADIUS packets."; + } + enum "tacacs" { + value 85; + description + "TACACS packets."; + } + enum "ntp-default" { + value 86; + description + "NTP packets received at 123 port number any + address."; + } + enum "ntp-known" { + value 87; + description + "NTP packets received at 123 port number known + address."; + } + enum "mobile-ipv6" { + value 88; + description + "Mobile IPV6 packets."; + } + enum "amt" { + value 89; + description + "AMT packets received at UDP port number 2268."; + } + enum "sdac-tcp" { + value 90; + description + "SDAC TCP packets."; + } + enum "radius-coa" { + value 91; + description + "RADIUS Change of Authorization packets."; + } + enum "rel-udp" { + value 92; + description + "REL UDP packets."; + } + enum "dhcp4" { + value 93; + description + "DHCP IPV4 packets."; + } + enum "dhcp6" { + value 94; + description + "DHCP IPV6 packets."; + } + enum "onepk" { + value 95; + description + "ONEPK packets."; + } + enum "exr" { + value 96; + description + "EXR packets."; + } + enum "platform-limit" { + value 98; + description + "Platform Limit."; + } + } + description + "Lpts flow"; + } + + grouping NODE-CFG { + description + "active/preconfigured nodes configuration"; + container lpts-local { + description + "lpts node specific configuration commands"; + container ipolicer-local-tables { + description + "Node specific Pre IFIB (Internal Forwarding + Information Base) Configuration"; + list ipolicer-local-table { + key "id1"; + description + "Pre IFIB (Internal Forwarding Information + Base) configuration table"; + container np-flows { + description + "NP name"; + list np-flow { + key "flow-type"; + description + "Table of NP Flow names"; + leaf np-rate { + type uint32 { + range "0..4294967295"; + } + description + "Configured rate value"; + } + leaf flow-type { + type Lpts-flow; + description + "LPTS Flow Type"; + } + } + } + leaf id1 { + type xr:Cisco-ios-xr-string; + description + "none"; + } + } + } + container dynamic-flows-tables { + description + "Node specific Pre IFIB (Internal Forwarding + Information Base) Configuration"; + list dynamic-flows-table { + key "table-type"; + description + "Table for Dynamic Flows"; + leaf table-type { + type Lpts-dynamic-flow-config; + description + "LPTS Dynamic Flows Table Type"; + } + list flow-type { + key "flow-type"; + description + "Selected flow type"; + leaf max { + type int32; + description + "Configured Max TCAM value"; + } + leaf flow-type { + type Lpts-flow; + description + "LPTS Flow Type"; + } + } + } + } + container ipolicer-local { + presence "Indicates a ipolicer-local node is configured."; + description + "Node specific Pre IFIB (Internal Forwarding + Information Base) Configuration"; + uses ENABLE; + uses FLOW-TABLE; + } + } + } + + grouping ENABLE { + description + "Common node of ipolicer, ipolicer-local"; + leaf enable { + type empty; + mandatory true; + description + "Enabled"; + } + } + + grouping FLOW-TABLE { + description + "Common node of ipolicer, ipolicer-local"; + container flows { + description + "Table for Flows"; + list flow { + key "flow-type"; + description + "selected flow type"; + container precedences { + description + "TOS Precedence value(s)"; + leaf-list precedence { + type Lpts-pre-i-fib-precedence-number; + max-elements "8"; + description + "Precedence values"; + } + } + leaf rate { + type uint32 { + range "0..4294967295"; + } + description + "Configured rate value"; + } + leaf flow-type { + type Lpts-flow; + description + "LPTS Flow Type"; + } + } + } + } + + augment "/a1:lpts" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-lpts-lib-cfg'"; + container ipolicer { + presence "Indicates a ipolicer node is configured."; + description + "Pre IFiB Configuration "; + container ipv4acls { + description + "Table for ACLs"; + list ipv4acl { + key "acl-name"; + description + "ACL name"; + container ipv4vrf-names { + description + "VRF list"; + list ipv4vrf-name { + key "vrf-name"; + description + "VRF name"; + leaf acl-rate { + type uint32 { + range "0..100000"; + } + description + "pre-ifib policer rate config commands"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + } + } + leaf acl-name { + type xr:Cisco-ios-xr-string; + description + "ACL name"; + } + } + } + uses ENABLE; + uses FLOW-TABLE; + } + } + augment "/node:active-nodes/node:active-node" { + description + "This augment extends active nodes configuration"; + uses NODE-CFG; + } + augment "/node:preconfigured-nodes/node:preconfigured-node" { + description + "This augment extends preconfigured nodes + configuration"; + uses NODE-CFG; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang new file mode 100644 index 0000000..27f371f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper-sub1.yang @@ -0,0 +1,262 @@ +submodule Cisco-IOS-XR-lpts-pre-ifib-oper-sub1 { + belongs-to Cisco-IOS-XR-lpts-pre-ifib-oper { + prefix Cisco-IOS-XR-lpts-pre-ifib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR lpts-pre-ifib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-22 { + description + "Initial revision for pre-ifib oper yang."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DYNFLOWS-FLOW-ENTRY { + description + "LPTS Pre-IFIB Dynamic Flows Entry Data"; + leaf flow-name { + type string; + description + "Flow Name"; + } + leaf configurable { + type boolean; + description + "Is Configurable"; + } + leaf configured { + type boolean; + description + "Is Configured"; + } + leaf default-max { + type uint32; + description + "Default Max"; + } + leaf configured-max { + type string; + description + "Configured Max"; + } + leaf active-max { + type uint32; + description + "Active Max"; + } + leaf hardware-count { + type uint32; + description + "Hardware Count"; + } + leaf software-count { + type uint32; + description + "Software Count"; + } + leaf pending-software-entries { + type boolean; + description + "Pending Software Entries"; + } + } + + grouping PIFIB-DYNFLOWS-DATA { + description + "LPTS Pre-IFIB Dynamic Flows Data"; + leaf dynamic-flows-enabled { + type boolean; + description + "Dynamic Flows Enabled"; + } + leaf platform-supported-max { + type uint32; + description + "Platform Max"; + } + leaf platform-configured-max { + type uint32; + description + "Platform Config Limit"; + } + leaf platform-total-configured { + type uint32; + description + "Platform Total Configured"; + } + leaf total-hw-entries { + type uint32; + description + "Total HW Entries"; + } + leaf total-sw-entries { + type uint32; + description + "Total SW Entries"; + } + list flow { + description + "Flow Datalist"; + uses DYNFLOWS-FLOW-ENTRY; + } + } + + grouping PIFIB-SHOW-ENTRY { + description + "LPTS Pre-IFIB Entry Information"; + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf vid { + type uint32; + description + "VRF ID"; + } + leaf l3protocol { + type uint32; + description + "Layer 3 Protocol"; + } + leaf l4protocol { + type uint32; + description + "Layer 4 Protocol"; + } + leaf intf-name { + type string; + description + "Interface Name"; + } + leaf intf-handle { + type uint32; + description + "Interface Handle"; + } + leaf destination-addr { + type string; + description + "Destination IP Address"; + } + leaf source-addr { + type string; + description + "Source IP Address"; + } + leaf destination-type { + type string; + description + "Destination Key Type"; + } + leaf destination-value { + type string; + description + "Destination Port/ICMP Type/IGMP Type"; + } + leaf source-port { + type string; + description + "Source port"; + } + leaf is-frag { + type uint8; + description + "Is Fragment"; + } + leaf is-syn { + type uint8; + description + "Is SYN"; + } + leaf opcode { + type string; + description + "Opcode"; + } + leaf flow-type { + type string; + description + "Flow type"; + } + leaf listener-tag { + type string; + description + "Listener Tag"; + } + leaf local-flag { + type uint8; + description + "Local Flag"; + } + leaf is-fgid { + type uint8; + description + "Is FGID or not"; + } + leaf deliver-list-short { + type string; + description + "Deliver List Short Format"; + } + leaf deliver-list-long { + type string; + description + "Deliver List Long Format"; + } + leaf min-ttl { + type uint8; + description + "Minimum TTL"; + } + leaf accepts { + type uint64; + description + "Packets matched to accept"; + } + leaf drops { + type uint64; + description + "Packets matched for drop"; + } + leaf stale { + type uint8; + description + "Is Stale"; + } + leaf pifib-type { + type uint8; + description + "sub Pre-IFIB type"; + } + leaf pifib-program-time { + type string; + description + "Creation or Update Time"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper.yang new file mode 100644 index 0000000..3ceb0a5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-pre-ifib-oper.yang @@ -0,0 +1,154 @@ +module Cisco-IOS-XR-lpts-pre-ifib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper"; + prefix lpts-pre-ifib-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-lpts-pre-ifib-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-pre-ifib package operational data. + + This module contains definitions + for the following management objects: + lpts-pifib: lpts pre-ifib data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-02-22 { + description + "Initial revision for pre-ifib oper yang."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Lpts-pifib { + type enumeration { + enum "isis" { + value 0; + description + "ISIS packets"; + } + enum "ipv4-frag" { + value 1; + description + "IPv4 fragmented packets"; + } + enum "ipv4-echo" { + value 2; + description + "IPv4 ICMP Echo packets"; + } + enum "ipv4-any" { + value 3; + description + "All IPv4 packets"; + } + enum "ipv6-frag" { + value 4; + description + "IPv6 fragmented packets"; + } + enum "ipv6-echo" { + value 5; + description + "IPv6 ICMP Echo packets"; + } + enum "ipv6-nd" { + value 6; + description + "IPv6 ND packets"; + } + enum "ipv6-any" { + value 7; + description + "All IPv6 packets"; + } + enum "bfd-any" { + value 8; + description + "BFD packets"; + } + enum "all" { + value 9; + description + "All packets"; + } + } + description + "Lpts pifib"; + } + + container lpts-pifib { + config false; + description + "lpts pre-ifib data"; + container nodes { + description + "List of Pre-ifib Nodes"; + list node { + key "node-name"; + description + "Pre-ifib data for particular node"; + container type-values { + description + "Type specific"; + list type-value { + key "pifib-type"; + description + "pifib types"; + leaf pifib-type { + type Lpts-pifib; + description + "Type value"; + } + list entry { + key "entry"; + description + "Data for single pre-ifib entry"; + leaf entry { + type xr:Cisco-ios-xr-string; + description + "Single Pre-ifib entry"; + } + uses PIFIB-SHOW-ENTRY; + } + } + } + container dynamic-flows-stats { + description + "Dynamic Flows Statistics"; + uses PIFIB-DYNFLOWS-DATA; + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang new file mode 100644 index 0000000..c166bb3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-lpts-punt-flowtrap-cfg.yang @@ -0,0 +1,262 @@ +module Cisco-IOS-XR-lpts-punt-flowtrap-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-punt-flowtrap-cfg"; + prefix lpts-punt-flowtrap-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-lpts-lib-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR lpts-punt-flowtrap package configuration. + + This YANG module augments the + Cisco-IOS-XR-lpts-lib-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Lpts-punt-flowtrap-proto-id { + type enumeration { + enum "arp" { + value 1; + description + "ARP"; + } + enum "icmp" { + value 2; + description + "Internet Control Message Protocol"; + } + enum "dhcp" { + value 3; + description + "Dynamic Host Configuration Protocol"; + } + enum "pppoe" { + value 4; + description + "PPP over Ethernet"; + } + enum "ppp" { + value 5; + description + "Point to point Protocol"; + } + enum "igmp" { + value 6; + description + "Internet Gateway Message Protocol"; + } + enum "ipv4" { + value 7; + description + "IPv4"; + } + enum "l2tp" { + value 8; + description + "Layer2 Tunneling Protocol"; + } + enum "unclassified" { + value 9; + description + "Unclassified Source"; + } + enum "ospf" { + value 10; + description + "OSPF"; + } + enum "bgp" { + value 11; + description + "BGP"; + } + enum "default" { + value 12; + description + "All protocols"; + } + } + description + "Lpts punt flowtrap proto id"; + } + + augment "/a1:lpts" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-lpts-lib-cfg'"; + container punt { + description + "Configure penalty timeout value"; + container flowtrap { + description + "excessive punt flow trap configuration commands"; + container penalty-rates { + description + "Configure penalty policing rate"; + list penalty-rate { + key "protocol-name"; + description + "none"; + leaf protocol-name { + type Lpts-punt-flowtrap-proto-id; + description + "none"; + } + leaf rate { + type uint32 { + range "2..100"; + } + mandatory true; + description + "Penalty policer rate in packets-per-second"; + } + } + } + container penalty-timeouts { + description + "Configure penalty timeout value"; + list penalty-timeout { + key "protocol-name"; + description + "none"; + leaf protocol-name { + type Lpts-punt-flowtrap-proto-id; + description + "none"; + } + leaf timeout { + type uint32 { + range "1..1000"; + } + mandatory true; + description + "Timeout value in minutes"; + } + } + } + container exclude { + description + "Exclude an item from all traps"; + container interface-names { + description + "none"; + list interface-name { + key "ifname"; + description + "Name of interface to exclude from all traps"; + leaf ifname { + type xr:Interface-name; + description + "Name of interface to exclude from all traps"; + } + leaf id1 { + type boolean; + mandatory true; + description + "Enabled or disabled"; + } + } + } + } + leaf max-flow-gap { + type uint32 { + range "1..60000"; + } + description + "Maximum flow gap in milliseconds"; + } + leaf et-size { + type uint32 { + range "1..128"; + } + description + "Should be power of 2. Any one of 1,2,4,8,16,32 + ,64,128"; + } + leaf eviction-threshold { + type uint32 { + range "1..65535"; + } + description + "Eviction threshold, should be less than + report-threshold"; + } + leaf report-threshold { + type xr:Cisco-ios-xr-port-number; + description + "Threshold to cross for a flow to be considered + as bad actor flow"; + } + leaf non-subscriber-interfaces { + type int32; + description + "Enable trap based on source mac on + non-subscriber interface"; + } + leaf sample-prob { + type string { + length "1..32"; + } + description + "Probability of packets to be sampled"; + } + leaf eviction-search-limit { + type uint32 { + range "1..128"; + } + description + "Eviction search limit, should be less than + trap-size"; + } + leaf routing-protocols-enable { + type boolean; + description + "Allow routing protocols to pass through copp + sampler"; + } + leaf subscriber-interfaces { + type boolean; + description + "Enable the trap on subscriber interfaces"; + } + leaf interface-based-flow { + type boolean; + description + "Identify flow based on interface and flowtype"; + } + leaf dampening { + type uint32 { + range "5000..60000"; + } + description + "Dampening period for a bad actor flow in + milliseconds"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang new file mode 100644 index 0000000..7e8a949 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper-sub1.yang @@ -0,0 +1,163 @@ +submodule Cisco-IOS-XR-macsec-ctrlr-oper-sub1 { + belongs-to Cisco-IOS-XR-macsec-ctrlr-oper { + prefix Cisco-IOS-XR-macsec-ctrlr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR macsec-ctrlr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Macsec-ctrlr-ciphersuit { + type enumeration { + enum "gcm-aes-256" { + value 0; + description + "GCM AES 256"; + } + enum "gcm-aes-128" { + value 1; + description + "GCM AES 128"; + } + enum "gcm-aes-xpn-256" { + value 2; + description + "GCM AES XPN 256"; + } + } + description + "Macsec ctrlr ciphersuit"; + } + + typedef Macsec-ctrlr-state { + type enumeration { + enum "macsec-ctrlr-state-up" { + value 0; + description + "Up"; + } + enum "macsec-ctrlr-state-down" { + value 1; + description + "Down"; + } + enum "macsec-ctrlr-state-admin-down" { + value 2; + description + "Administratively Down"; + } + } + description + "Macsec ctrlr state"; + } + + grouping MACSEC-CTRLR-AN-STATUS { + description + "AN status"; + leaf association-number { + type uint8; + description + "Association Number"; + } + leaf short-secure-channel-id { + type uint32; + description + "Short secure channel id"; + } + } + + grouping MACSEC-CTRLR-SC-STATUS { + description + "Secure Channel status"; + leaf protection-enabled { + type boolean; + description + "Protection Enabled"; + } + leaf secure-channel-id { + type string; + description + "Secure Channel Id"; + } + leaf confidentiality-offset { + type uint32; + description + "Confidentiality offset"; + } + leaf cipher-suite { + type Macsec-ctrlr-ciphersuit; + description + "Cipher Suite"; + } + leaf max-packet-number { + type uint64; + description + "Max packet Number"; + } + leaf recent-packet-number { + type uint64; + description + "Recent Packet Number"; + } + list active-association { + description + "Active Associations"; + uses MACSEC-CTRLR-AN-STATUS; + } + } + + grouping MACSEC-CTRLR-IF-STATUS { + description + "Interface Status details"; + container encrypt-sc-status { + description + "Encrypt Secure Channel Status"; + uses MACSEC-CTRLR-SC-STATUS; + } + container decrypt-sc-status { + description + "Decrypt Secure Channel Status"; + uses MACSEC-CTRLR-SC-STATUS; + } + leaf state { + type Macsec-ctrlr-state; + description + "State"; + } + leaf replay-window-size { + type uint32; + description + "Replay Window Size"; + } + leaf must-secure { + type boolean; + description + "Must Secure"; + } + leaf secure-mode { + type uint32; + description + "Secure Mode"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper.yang new file mode 100644 index 0000000..fc5fdf1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-macsec-ctrlr-oper.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-macsec-ctrlr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-macsec-ctrlr-oper"; + prefix macsec-ctrlr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-macsec-ctrlr-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR macsec-ctrlr package operational data. + + This module contains definitions + for the following management objects: + macsec-ctrlr-oper: Macsec controller data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container macsec-ctrlr-oper { + config false; + description + "Macsec controller data"; + container macsec-ctrlr-ports { + description + "All Macsec Controller Port operational data"; + list macsec-ctrlr-port { + key "name"; + description + "Controller name"; + container macsec-ctrlr-info { + description + "Macsec Controller operational data"; + uses MACSEC-CTRLR-IF-STATUS; + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-cfg.yang new file mode 100644 index 0000000..8047ab6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-cfg.yang @@ -0,0 +1,96 @@ +module Cisco-IOS-XR-man-ems-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-cfg"; + prefix man-ems-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-ems package configuration. + + This module contains definitions + for the following management objects: + grpc: GRPC configruation + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container grpc { + description + "GRPC configruation"; + container service-layer { + description + "Service Layer"; + leaf enable { + type empty; + description + "Enable ServiceLayer"; + } + } + container tls { + description + "Transport Layer Security (TLS)"; + leaf trustpoint { + type string; + description + "Trustpoint Name"; + } + leaf enable { + type empty; + description + "Enable TLS"; + } + } + leaf port { + type uint32 { + range "10000..57999"; + } + description + "Server listening port"; + } + leaf vrf { + type string; + description + "Server vrf name"; + } + leaf enable { + type empty; + description + "Enable GRPC"; + } + leaf max-request-per-user { + type uint32 { + range "1..32"; + } + description + "Maximum concurrent requests per user"; + } + leaf address-family { + type string; + description + "Address family identifier type"; + } + leaf max-request-total { + type uint32 { + range "1..256"; + } + description + "Maximum concurrent requests in total"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper-sub1.yang new file mode 100644 index 0000000..8eada82 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper-sub1.yang @@ -0,0 +1,184 @@ +submodule Cisco-IOS-XR-man-ems-oper-sub1 { + belongs-to Cisco-IOS-XR-man-ems-oper { + prefix Cisco-IOS-XR-man-ems-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR man-ems package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping GRPC-STATUS-INFO-B { + description + "gRPC status Info bag"; + leaf transport { + type string; + description + "GRPCTransport"; + } + leaf address-family { + type string; + description + "AddressFamily"; + } + leaf tls { + type string; + description + "GRPCTLS"; + } + leaf trustpoint { + type string; + description + "GRPCTrustpoint"; + } + leaf listening-port { + type int32; + description + "ListeningPort"; + } + leaf vrf-socket-ns-path { + type string; + description + "VrfSocketNamespacePath"; + } + leaf max-req-per-user { + type uint32; + description + "MaxReqPerUser"; + } + leaf max-req-total { + type uint32; + description + "MaxReqTotal"; + } + } + + grouping GRPC-STATISTICS-INFO-B { + description + "gRPC statistics Info bag"; + leaf ct-show-cmd-txt-req-recv { + type uint64; + description + "CounterShowCmdTxtReqRecv"; + } + leaf ct-show-cmd-txt-res-sent { + type uint64; + description + "CounterShowCmdTxtResSent"; + } + leaf ct-get-config-req-recv { + type uint64; + description + "CounterGetConfigReqRecv"; + } + leaf ct-get-config-res-sent { + type uint64; + description + "CounterGetConfigResSent"; + } + leaf ct-cli-config-req-recv { + type uint64; + description + "CounterCliConfigReqRecv"; + } + leaf ct-cli-config-res-sent { + type uint64; + description + "CounterCliConfigResSent"; + } + leaf ct-merge-config-req-recv { + type uint64; + description + "CounterMergeConfigReq"; + } + leaf ct-merge-config-res-sent { + type uint64; + description + "CounterMergeConfigRes"; + } + leaf ct-commit-replace-req-recv { + type uint64; + description + "CounterCommitReplaceReq"; + } + leaf ct-commit-replace-res-sent { + type uint64; + description + "CounterCommitReplaceRes"; + } + leaf ct-delete-config-req-recv { + type uint64; + description + "CounterDeleteConfigReq"; + } + leaf ct-delete-config-res-sent { + type uint64; + description + "CounterDeleteConfigRes"; + } + leaf ct-replace-config-req-recv { + type uint64; + description + "CounterReplaceConfigReq"; + } + leaf ct-replace-config-res-sent { + type uint64; + description + "CounterReplaceConfigSent"; + } + leaf ct-get-oper-req-recv { + type uint64; + description + "CounterGetOperReqRecv"; + } + leaf ct-get-oper-res-sent { + type uint64; + description + "CounterGetOperResSent"; + } + leaf ct-get-current-session { + type uint32; + description + "CounterGetCurrentSession"; + } + leaf ct-commit-config-req-recv { + type uint64; + description + "CounterForHowManyCommitConfigRequests"; + } + leaf ct-commit-config-res-sent { + type uint64; + description + "CounterForHowManyCommitConfigResponses"; + } + leaf ct-action-json-req-recv { + type uint64; + description + "CounterForHowManyActionJsonRequests"; + } + leaf ct-action-json-res-sent { + type uint64; + description + "CounterForHowManyActionJsonResponses"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper.yang new file mode 100644 index 0000000..e328b2b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ems-oper.yang @@ -0,0 +1,52 @@ +module Cisco-IOS-XR-man-ems-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ems-oper"; + prefix man-ems-oper; + + include Cisco-IOS-XR-man-ems-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-ems package operational data. + + This module contains definitions + for the following management objects: + grpc: grpc commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container grpc { + config false; + description + "grpc commands"; + container statistics { + description + "Grpc Statistics"; + uses GRPC-STATISTICS-INFO-B; + } + container status { + description + "Grpc Status"; + uses GRPC-STATUS-INFO-B; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-cfg.yang new file mode 100644 index 0000000..51444c5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-cfg.yang @@ -0,0 +1,2380 @@ +module Cisco-IOS-XR-man-ipsla-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ipsla-cfg"; + prefix man-ipsla-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-ipsla package configuration. + + This module contains definitions + for the following management objects: + ipsla: IPSLA configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipsla-secondary-frequency { + type enumeration { + enum "connection-loss" { + value 1; + description + "Enable secondary frequency for connection loss"; + } + enum "timeout" { + value 2; + description + "Enable secondary frequency for timeout"; + } + enum "both" { + value 3; + description + "Enable secondary frequency for timeout and + connection loss"; + } + } + description + "Ipsla secondary frequency"; + } + + typedef Ipsla-month { + type enumeration { + enum "january" { + value 0; + description + "January"; + } + enum "february" { + value 1; + description + "February"; + } + enum "march" { + value 2; + description + "March"; + } + enum "april" { + value 3; + description + "April"; + } + enum "may" { + value 4; + description + "May"; + } + enum "june" { + value 5; + description + "June"; + } + enum "july" { + value 6; + description + "July"; + } + enum "august" { + value 7; + description + "August"; + } + enum "september" { + value 8; + description + "September"; + } + enum "october" { + value 9; + description + "October"; + } + enum "november" { + value 10; + description + "November"; + } + enum "december" { + value 11; + description + "December"; + } + } + description + "Ipsla month"; + } + + typedef Ipsla-lsp-ping-reply-mode { + type enumeration { + enum "ipv4-udp-router-alert" { + value 3; + description + "Send replies via IPv4 UDP packets with Router + Alert option"; + } + enum "control-channel" { + value 4; + description + "Send replies via a Control Channel option"; + } + } + description + "Ipsla lsp ping reply mode"; + } + + typedef Ipsla-lsp-trace-reply-mode { + type enumeration { + enum "ipv4-udp-router-alert" { + value 3; + description + "Send replies via IPv4 UDP packets with Router + Alert option"; + } + } + description + "Ipsla lsp trace reply mode"; + } + + typedef Ipsla-lsp-monitor-reply-mode { + type enumeration { + enum "ipv4-udp-router-alert" { + value 3; + description + "Send replies via IPv4 UDP packets with Router + Alert option"; + } + } + description + "Ipsla lsp monitor reply mode"; + } + + typedef Ipsla-sched { + type enumeration { + enum "pending" { + value 1; + description + "Schedule pending for later time"; + } + enum "now" { + value 2; + description + "Schedule operation now"; + } + enum "after" { + value 3; + description + "Schedule operation after specifed duration"; + } + enum "at" { + value 4; + description + "Schedule operation at specified time"; + } + } + description + "Ipsla sched"; + } + + typedef Ipsla-lsp-reply-dscp { + type union { + type enumeration { + enum "default" { + value 0; + description + "Match packets with default dscp (000000)"; + } + enum "af11" { + value 10; + description + "Match packets with AF11 dscp (001010)"; + } + enum "af12" { + value 12; + description + "Match packets with AF12 dscp (001100)"; + } + enum "af13" { + value 14; + description + "Match packets with AF13 dscp (001110)"; + } + enum "af21" { + value 18; + description + "Match packets with AF21 dscp (010010)"; + } + enum "af22" { + value 20; + description + "Match packets with AF22 dscp (010100)"; + } + enum "af23" { + value 22; + description + "Match packets with AF23 dscp (010110)"; + } + enum "af31" { + value 26; + description + "Match packets with AF31 dscp (011010)"; + } + enum "af32" { + value 28; + description + "Match packets with AF32 dscp (011100)"; + } + enum "af33" { + value 30; + description + "Match packets with AF33 dscp (011110)"; + } + enum "af41" { + value 34; + description + "Match packets with AF41 dscp (100010)"; + } + enum "af42" { + value 36; + description + "Match packets with AF42 dscp (100100)"; + } + enum "af43" { + value 38; + description + "Match packets with AF43 dscp (100110)"; + } + enum "cs1" { + value 8; + description + "Match packets with CS1(precedence 1) dscp + (001000)"; + } + enum "cs2" { + value 16; + description + "Match packets with CS2(precedence 2) dscp + (010000)"; + } + enum "cs3" { + value 24; + description + "Match packets with CS3(precedence 3) dscp + (011000)"; + } + enum "cs4" { + value 32; + description + "Match packets with CS4(precedence 4) dscp + (100000)"; + } + enum "cs5" { + value 40; + description + "Match packets with CS5(precedence 5) dscp + (101000)"; + } + enum "cs6" { + value 48; + description + "Match packets with CS6(precedence 6) dscp + (110000)"; + } + enum "cs7" { + value 56; + description + "Match packets with CS7(precedence 7) dscp + (111000)"; + } + enum "ef" { + value 46; + description + "Match packets with EF dscp (101110)"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Ipsla lsp reply dscp"; + } + + typedef Ipsla-life { + type union { + type enumeration { + enum "forever" { + value 0; + description + "Schedule operation to run forever"; + } + } + type uint32 { + range "0..2147483647"; + } + } + description + "Ipsla life"; + } + + typedef Ipsla-threshold-types { + type enumeration { + enum "immediate" { + value 2; + description + "Take action immediately after threshold is + violated"; + } + enum "consecutive" { + value 3; + description + "Take action after N consecutive threshold + violations"; + } + enum "xof-y" { + value 4; + description + "Take action after X violations in Y probes"; + } + enum "average" { + value 5; + description + "Take action if average of N probes violates the + threshold"; + } + } + description + "Ipsla threshold types"; + } + + typedef Ipsla-lsp-monitor-threshold-types { + type enumeration { + enum "immediate" { + value 2; + description + "Take action immediately after threshold is + violated"; + } + enum "consecutive" { + value 3; + description + "Take action after N consecutive threshold + violations"; + } + } + description + "Ipsla lsp monitor threshold types"; + } + + typedef Ipsla-history-filter { + type enumeration { + enum "failed" { + value 2; + description + "Store data for failed operations"; + } + enum "all" { + value 255; + description + "Store data for all operations"; + } + } + description + "Ipsla history filter"; + } + + grouping TAG { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf tag { + type string { + length "1..100"; + } + description + "Add a tag for this MPLSLM instance"; + } + } + + grouping IPSLA-OP-DEF-COMMON-CFG-TAG { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of icmp-echo, + icmp-path-echo, icmp-path-jitter, udp-echo, + udp-jitter, mpls-lsp-ping, mpls-lsp-trace"; + leaf tag { + type string { + length "1..100"; + } + description + "Add a tag for this operation"; + } + } + + grouping LSR-PATH { + description + "Common node of icmp-path-echo, icmp-path-jitter"; + container lsr-path { + presence "Indicates a lsr-path node is configured."; + description + "Loose source routing path (up to 8 intermediate + nodes)"; + leaf node1 { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IPv4 address of the intermediate node"; + } + leaf node2 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node3 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node4 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node5 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node6 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node7 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + leaf node8 { + type inet:ipv4-address-no-zone; + description + "IPv4 address of the intermediate node"; + } + } + } + + grouping VERIFY-DATA { + description + "Common node of udp-echo, udp-jitter"; + leaf verify-data { + type empty; + description + "Check each IPSLA response for corruption"; + } + } + + grouping SOURCE-ADDRESS { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-trace"; + leaf source-address { + type string; + description + "Enter IPv4 address of the source device"; + } + } + + grouping FREQUENCY { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-trace"; + leaf frequency { + type uint32 { + range "1..604800"; + } + units "second"; + default "60"; + description + "Probe interval in seconds"; + } + } + + grouping DEST-ADDRESS { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter"; + leaf dest-address { + type string; + description + "Enter IPv4 address of the destination device"; + } + } + + grouping SCAN { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + container scan { + description + "Scanning parameters configuration"; + leaf interval { + type uint32 { + range "1..70560"; + } + units "minute"; + default "240"; + description + "Time interval for automatic discovery"; + } + leaf delete-factor { + type uint32 { + range "0..2147483647"; + } + default "1"; + description + "Number of times for automatic deletion"; + } + } + } + + grouping DSCP-BITS { + description + "Common node of reply, reply"; + leaf dscp-bits { + type Ipsla-lsp-reply-dscp; + description + "DSCP bits in the reply IP header"; + } + } + + grouping THRESHOLD-TYPE { + description + "Common node of timeout, connection-loss"; + container threshold-type { + description + "Type of thresholding to perform on the monitored + element"; + leaf thresh-type { + type Ipsla-lsp-monitor-threshold-types; + description + "Type of thresholding to perform"; + } + leaf count1 { + when "../thresh-type != 'immediate'" { + description + "../ThreshType != Immediate"; + } + type uint32 { + range "1..16"; + } + description + "Probe count for consecutive"; + } + leaf count2 { + when "../thresh-type != 'immediate' and ../thresh-type != 'consecutive'" { + description + "../ThreshType != Immediate and ../ThreshType + != Consecutive"; + } + type uint32 { + range "1..16"; + } + description + "Y value, when threshold type is XofY"; + } + } + } + + grouping IPSLA-OP-REACT-CFG-THRESHOLD-TYPE { + description + "Common node of timeout, connection-lossCommon + node of timeout, verify-error, connection-loss, + jitter-average-sd, jitter-average-ds, + jitter-average, packet-loss-ds, packet-loss-sd, + rtt"; + container threshold-type { + description + "Type of thresholding to perform on the monitored + element"; + leaf thresh-type { + type Ipsla-threshold-types; + description + "Type of thresholding to perform"; + } + leaf count1 { + when "../thresh-type != 'immediate'" { + description + "../ThreshType != Immediate"; + } + type uint32 { + range "1..16"; + } + description + "Probe count for avarage, consecutive case or X + value for XofY case"; + } + leaf count2 { + when "../thresh-type != 'immediate' and ../thresh-type != 'consecutive' and ../thresh-type != 'average'" { + description + "../ThreshType != Immediate and ../ThreshType + != Consecutive and ../ThreshType != Average"; + } + type uint32 { + range "1..16"; + } + description + "Y value, when threshold type is XofY"; + } + } + } + + grouping STATISTICS { + description + "Common node of icmp-echo, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-trace"; + container statistics { + description + "Statistics collection aggregated over an hour"; + leaf hours { + type uint32 { + range "0..25"; + } + units "hour"; + default "2"; + description + "Number of hours for which hourly statistics are + kept"; + } + leaf dist-interval { + type uint32 { + range "1..100"; + } + units "millisecond"; + default "20"; + description + "Specify distribution interval in milliseconds"; + } + leaf dist-count { + type uint32 { + range "1..20"; + } + default "1"; + description + "Count of distribution intervals maintained"; + } + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-STATISTICS { + description + "Common node of icmp-echo, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-traceCommon node of + mpls-lsp-ping, mpls-lsp-trace"; + container statistics { + description + "Statistics collection aggregated over an hour"; + leaf hours { + type uint32 { + range "0..2"; + } + units "hour"; + default "2"; + description + "Number of hours for which hourly statistics are + kept"; + } + } + } + + grouping TIMEOUT { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf timeout { + type uint32 { + range "1..604800000"; + } + units "millisecond"; + default "5000"; + description + "Probe/Control timeout in milliseconds"; + } + } + + grouping IPSLA-OP-DEF-COMMON-CFG-TIMEOUT { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of icmp-echo, + icmp-path-echo, icmp-path-jitter, udp-echo, + udp-jitter, mpls-lsp-ping, mpls-lsp-trace"; + leaf timeout { + type uint32 { + range "1..604800000"; + } + units "millisecond"; + default "5000"; + description + "Probe/Control timeout in milliseconds"; + } + } + + grouping CONTROL-DISABLE { + description + "Common node of udp-echo, udp-jitter"; + leaf control-disable { + type empty; + description + "Disable control packets"; + } + } + + grouping FORCE-EXPLICIT-NULL { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf force-explicit-null { + type empty; + description + "Forced option for the MPLS LSP operation"; + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-FORCE-EXPLICIT-NULL { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of mpls-lsp-ping, + mpls-lsp-trace"; + leaf force-explicit-null { + type empty; + description + "Forced option for the MPLS LSP operation"; + } + } + + grouping ENHANCED-STATS-TABLE { + description + "Common node of icmp-echo, udp-echo, udp-jitter, + mpls-lsp-ping"; + container enhanced-stats { + description + "Table of statistics collection intervals"; + list enhanced-stat { + key "interval"; + description + "Statistics for a specified time interval"; + leaf buckets { + type uint32 { + range "1..100"; + } + default "15"; + description + "Buckets of enhanced statistics kept"; + } + leaf interval { + type uint32 { + range "1..3600"; + } + units "second"; + description + "Interval in seconds"; + } + } + } + } + + grouping LSP-SELECTOR { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf lsp-selector { + type inet:ipv4-address-no-zone; + default "1.0.0.127"; + description + "Attributes used for path selection during LSP + load balancing"; + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-LSP-SELECTOR { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of mpls-lsp-ping, + mpls-lsp-trace"; + leaf lsp-selector { + type inet:ipv4-address-no-zone; + default "1.0.0.127"; + description + "Attributes used for path selection during LSP + load balancing"; + } + } + + grouping ACTION-TYPE { + description + "Common node of timeout, verify-error, + connection-loss, jitter-average-sd, + jitter-average-ds, jitter-average, packet-loss-ds + , packet-loss-sd, rtt"; + container action-type { + description + "Type of action to be taken on threshold + violation(s)"; + leaf logging { + type empty; + description + "Generate a syslog alarm on threshold violation"; + } + leaf trigger { + type empty; + description + "Generate trigger to active reaction triggered + operation(s)"; + } + } + } + + grouping IPSLA-MPLSLM-REACT-CFG-ACTION-TYPE { + description + "Common node of timeout, verify-error, + connection-loss, jitter-average-sd, + jitter-average-ds, jitter-average, packet-loss-ds + , packet-loss-sd, rttCommon node of timeout, + connection-loss, lpd-tree-trace, lpd-group"; + container action-type { + description + "Type of action to be taken on threshold + violation(s)"; + leaf logging { + type empty; + description + "Generate a syslog alarm on threshold violation"; + } + } + } + + grouping REPLY { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + container reply { + description + "Echo reply options for the MPLS LSP operation"; + leaf dscp-bits { + type Ipsla-lsp-reply-dscp; + description + "DSCP bits in the reply IP header"; + } + leaf mode { + type Ipsla-lsp-monitor-reply-mode; + description + "Enables use of router alert in echo reply + packets"; + } + } + } + + grouping CREATE { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-trace"; + leaf create { + type empty; + description + "Create operation with specified type"; + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-CREATE { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-traceCommon node of + mpls-lsp-ping, mpls-lsp-trace"; + leaf create { + type empty; + description + "Create MPLSLM instance with specified type"; + } + } + + grouping IPSLA-OP-REACT-CFG-CREATE { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-traceCommon node of + mpls-lsp-ping, mpls-lsp-traceCommon node of + timeout, verify-error, connection-loss, + jitter-average, jitter-average-sd, + jitter-average-ds, packet-loss-sd, packet-loss-ds + , rtt"; + leaf create { + type empty; + description + "Create reaction condition for a particular + operation"; + } + } + + grouping IPSLA-MPLSLM-REACT-CFG-CREATE { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter, + mpls-lsp-ping, mpls-lsp-traceCommon node of + mpls-lsp-ping, mpls-lsp-traceCommon node of + timeout, verify-error, connection-loss, + jitter-average, jitter-average-sd, + jitter-average-ds, packet-loss-sd, packet-loss-ds + , rttCommon node of timeout, connection-loss, + lpd-tree-trace, lpd-group"; + leaf create { + type empty; + description + "Create reaction condition for a particular + MPLSLM"; + } + } + + grouping TOS { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter"; + leaf tos { + type uint32 { + range "0..255"; + } + default "0"; + description + "Type of service setting in probe packet"; + } + } + + grouping SOURCE-PORT { + description + "Common node of udp-echo, udp-jitter"; + leaf source-port { + type inet:port-number; + description + "Port number on source device"; + } + } + + grouping OUTPUT-NEXTHOP { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf output-nexthop { + type inet:ipv4-address-no-zone; + description + "Echo request output nexthop"; + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-OUTPUT-NEXTHOP { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of mpls-lsp-ping, + mpls-lsp-trace"; + leaf output-nexthop { + type inet:ipv4-address-no-zone; + description + "Echo request output nexthop"; + } + } + + grouping ACCESSLIST { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf accesslist { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Apply access list to filter PE addresses"; + } + } + + grouping OUTPUT-INTERFACE { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf output-interface { + type xr:Interface-name; + description + "Echo request output interface"; + } + } + + grouping IPSLA-OP-DEF-MPLS-LSP-CFG-OUTPUT-INTERFACE { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of mpls-lsp-ping, + mpls-lsp-trace"; + leaf output-interface { + type xr:Interface-name; + description + "Echo request output interface"; + } + } + + grouping EXP-BITS { + description + "Common node of mpls-lsp-ping, mpls-lsp-trace"; + leaf exp-bits { + type uint32 { + range "0..7"; + } + default "0"; + description + "EXP bits in MPLS LSP echo request header"; + } + } + + grouping IPSLA-OP-DEF-MPLS-LSP-CFG-EXP-BITS { + description + "Common node of mpls-lsp-ping, + mpls-lsp-traceCommon node of mpls-lsp-ping, + mpls-lsp-trace"; + leaf exp-bits { + type uint32 { + range "0..7"; + } + default "0"; + description + "EXP bits in MPLS LSP echo reply header"; + } + } + + grouping VRF { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitter"; + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Configure IPSLA for a VPN Routing/Forwarding + instance)"; + } + } + + grouping IPSLA-MPLSLM-DEF-CFG-VRF { + description + "Common node of icmp-echo, icmp-path-echo, + icmp-path-jitter, udp-echo, udp-jitterCommon node + of mpls-lsp-ping, mpls-lsp-trace"; + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Specify a VRF instance to be monitored"; + } + } + + grouping HISTORY { + description + "Common node of icmp-echo, udp-echo, mpls-lsp-ping + , mpls-lsp-trace"; + container history { + description + "Configure the history parameters for this + operation"; + leaf lives { + type uint32 { + range "0..2"; + } + default "0"; + description + "Specify number of lives to be kept"; + } + leaf history-filter { + type Ipsla-history-filter; + description + "Choose type of data to be stored in history + buffer"; + } + leaf buckets { + type uint32 { + range "1..60"; + } + default "15"; + description + "Specify number of history buckets"; + } + } + } + + grouping THRESHOLD-LIMITS { + description + "Common node of jitter-average-sd, + jitter-average-ds, jitter-average, packet-loss-ds + , packet-loss-sd, rtt"; + container threshold-limits { + presence "Indicates a threshold-limits node is configured."; + description + "Specify threshold limits for the monitored + element"; + leaf lower-limit { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Threshold lower limit value"; + } + leaf upper-limit { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Threshold upper limit value"; + } + } + } + + grouping DEST-PORT { + description + "Common node of udp-echo, udp-jitter"; + leaf dest-port { + type inet:port-number; + description + "Port number on target device"; + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + leaf ipsla { + type boolean; + description + "Enable SNMP RTTMON-MIB IPSLA traps"; + } + } + container ipsla { + description + "IPSLA configuration"; + container common { + description + "IPSLA application common configuration"; + container authentication { + description + "Authenticaion configuration"; + leaf key-chain { + type string { + length "1..32"; + } + description + "Use MD5 authentication for IPSLA control + message"; + } + } + leaf low-memory { + type uint32 { + range "0..4294967295"; + } + default "20480"; + description + "Configure low memory water mark (default 20M)"; + } + } + container mpls-lsp-monitor { + description + "MPLS LSP Monitor(MPLSLM) configuration"; + container reactions { + description + "MPLSLM Reaction configuration"; + list reaction { + key "monitor-id"; + description + "Reaction configuration for an MPLSLM instance"; + container condition { + description + "Reaction condition specification"; + container lpd-tree-trace { + description + "React on LPD Tree Trace violation for a + monitored MPLSLM"; + uses IPSLA-MPLSLM-REACT-CFG-ACTION-TYPE; + uses IPSLA-MPLSLM-REACT-CFG-CREATE; + } + container timeout { + description + "React on probe timeout"; + uses IPSLA-MPLSLM-REACT-CFG-ACTION-TYPE; + uses THRESHOLD-TYPE; + uses IPSLA-MPLSLM-REACT-CFG-CREATE; + } + container lpd-group { + description + "React on LPD Group violation for a monitored + MPLSLM"; + uses IPSLA-MPLSLM-REACT-CFG-ACTION-TYPE; + uses IPSLA-MPLSLM-REACT-CFG-CREATE; + } + container connection-loss { + description + "React on connection loss for a monitored + MPLSLM"; + uses IPSLA-MPLSLM-REACT-CFG-ACTION-TYPE; + uses THRESHOLD-TYPE; + uses IPSLA-MPLSLM-REACT-CFG-CREATE; + } + } + leaf monitor-id { + type uint32 { + range "1..2048"; + } + description + "Monitor identifier"; + } + } + } + container schedules { + description + "MPLSLM schedule configuration"; + list schedule { + key "monitor-id"; + description + "Schedule an MPLSLM instance"; + container start-time { + description + "Start time of MPLSLM instance"; + leaf schedule-type { + type Ipsla-sched; + description + "Type of schedule"; + } + leaf hour { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..23"; + } + description + "Hour value(hh) in hh:mm:ss specification"; + } + leaf minute { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..59"; + } + description + "Minute value(mm) in hh:mm:ss specification"; + } + leaf second { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..59"; + } + description + "Second value(ss) in hh:mm:ss specification"; + } + leaf month { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type Ipsla-month; + description + "Month of the year (optional. Default current + month)"; + } + leaf day { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type uint32 { + range "1..31"; + } + description + "Day of the month(optional. Default today)"; + } + leaf year { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type uint32 { + range "1993..2035"; + } + description + "Year (optional. Default current year)"; + } + } + leaf frequency { + type uint32 { + range "1..604800"; + } + units "second"; + description + "Group schedule frequency of the probing"; + } + leaf period { + type uint32 { + range "1..604800"; + } + units "second"; + description + "Group schedule period range"; + } + leaf monitor-id { + type uint32 { + range "1..2048"; + } + description + "Monitor indentifier"; + } + } + } + container definitions { + description + "MPLS LSP Monitor definition table"; + list definition { + key "monitor-id"; + description + "MPLS LSP Monitor definition"; + container operation-type { + description + "Operation type specification"; + container mpls-lsp-trace { + description + "Perform MPLS LSP Trace operation"; + leaf ttl { + type uint32 { + range "1..255"; + } + default "30"; + description + "Time to live value"; + } + uses EXP-BITS; + uses REPLY; + uses TAG; + uses IPSLA-MPLSLM-DEF-CFG-LSP-SELECTOR; + uses OUTPUT-INTERFACE; + uses ACCESSLIST; + uses IPSLA-MPLSLM-DEF-CFG-CREATE; + uses IPSLA-MPLSLM-DEF-CFG-OUTPUT-NEXTHOP; + uses IPSLA-MPLSLM-DEF-CFG-STATISTICS; + uses TIMEOUT; + uses IPSLA-MPLSLM-DEF-CFG-FORCE-EXPLICIT-NULL; + uses SCAN; + uses IPSLA-MPLSLM-DEF-CFG-VRF; + } + container mpls-lsp-ping { + description + "Perform MPLS LSP Ping operation"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "100..17986"; + } + units "byte"; + default "100"; + description + "Payload size in request probe packet"; + } + } + container path-discover { + description + "Path discover configuration"; + container session { + description + "Session parameters configuration"; + leaf timeout { + type uint32 { + range "1..900"; + } + units "second"; + default "120"; + description + "Timeout value for path discovery request"; + } + leaf limit { + type uint32 { + range "1..15"; + } + default "1"; + description + "Number of concurrent active path + discovery requests at one time"; + } + } + container path { + description + "Path parameters configuration"; + container secondary-frequency { + presence "Indicates a secondary-frequency node is configured."; + description + "Frequency to be used if path failure + condition is detected"; + leaf type { + type Ipsla-secondary-frequency; + mandatory true; + description + "Condition type of path failure"; + } + leaf frequency { + type uint32 { + range "1..604800"; + } + units "second"; + mandatory true; + description + "Frequency value in seconds"; + } + } + leaf retry { + type uint32 { + range "1..16"; + } + default "1"; + description + "Number of attempts before declaring the + path as down"; + } + } + container echo { + description + "Echo parameters configuration"; + container multipath { + description + "Downstream map multipath settings"; + leaf bitmap-size { + type uint32 { + range "1..256"; + } + default "32"; + description + "Multipath bit size"; + } + } + leaf interval { + type uint32 { + range "0..3600000"; + } + units "millisecond"; + default "0"; + description + "Send interval between echo requests + during path discovery"; + } + leaf timeout { + type uint32 { + range "1..3600"; + } + units "second"; + default "5"; + description + "Timeout value for echo requests during + path discovery"; + } + leaf retry { + type uint32 { + range "0..10"; + } + default "3"; + description + "Number of timeout retry attempts during + path discovery"; + } + leaf maximum-lsp-selector { + type inet:ipv4-address-no-zone; + default "127.255.255.255"; + description + "Maximum IPv4 address used as destination + in echo request"; + } + } + leaf scan-period { + type uint32 { + range "0..7200"; + } + units "minute"; + default "0"; + description + "Time period for finishing path discovery"; + } + leaf create { + type empty; + description + "Create LPD instance"; + } + } + leaf ttl { + type uint32 { + range "1..255"; + } + default "255"; + description + "Time to live value"; + } + uses EXP-BITS; + uses REPLY; + uses TAG; + uses IPSLA-MPLSLM-DEF-CFG-LSP-SELECTOR; + uses OUTPUT-INTERFACE; + uses ACCESSLIST; + uses IPSLA-MPLSLM-DEF-CFG-CREATE; + uses IPSLA-MPLSLM-DEF-CFG-OUTPUT-NEXTHOP; + uses IPSLA-MPLSLM-DEF-CFG-STATISTICS; + uses TIMEOUT; + uses IPSLA-MPLSLM-DEF-CFG-FORCE-EXPLICIT-NULL; + uses SCAN; + uses IPSLA-MPLSLM-DEF-CFG-VRF; + } + } + leaf monitor-id { + type uint32 { + range "1..2048"; + } + description + "Monitor identifier"; + } + } + } + } + container operation { + description + "IPSLA Operation configuration"; + container schedules { + description + "Schedule an operation"; + list schedule { + key "operation-id"; + description + "Operation schedule configuration"; + container start-time { + description + "Start time of the operation"; + leaf schedule-type { + type Ipsla-sched; + description + "Type of schedule"; + } + leaf hour { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..23"; + } + description + "Hour value(hh) in hh:mm:ss specification"; + } + leaf minute { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..59"; + } + description + "Minute value(mm) in hh:mm:ss specification"; + } + leaf second { + when "../schedule-type != 'now' and ../schedule-type != 'pending'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending"; + } + type uint32 { + range "0..59"; + } + description + "Second value(ss) in hh:mm:ss specification"; + } + leaf month { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type Ipsla-month; + description + "Month of the year (optional. Default current + month)"; + } + leaf day { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type uint32 { + range "1..31"; + } + description + "Day of the month(optional. Default today)"; + } + leaf year { + when "../schedule-type != 'now' and ../schedule-type != 'pending' and ../schedule-type != 'after'" { + description + "../ScheduleType != Now and ../ScheduleType + != Pending and ../ScheduleType != After"; + } + type uint32 { + range "1993..2035"; + } + description + "Year(optional. Default current year)"; + } + } + leaf life { + type Ipsla-life; + units "second"; + description + "Length of the time to execute (default 3600 + seconds)"; + } + leaf ageout { + type uint32 { + range "0..2073600"; + } + units "second"; + description + "How long to keep this entry after it becomes + inactive"; + } + leaf recurring { + type empty; + description + "probe to be scheduled automatically every day"; + } + leaf operation-id { + type uint32 { + range "1..2048"; + } + description + "Operation number"; + } + } + } + container reactions { + description + "Reaction configuration"; + list reaction { + key "operation-id"; + description + "Reaction configuration for an operation"; + container condition { + description + "Reaction condition specification"; + container jitter-average-ds { + description + "React on destination to source jitter + threshold violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container timeout { + description + "React on probe timeout"; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container jitter-average { + description + "React on average round trip jitter threshold + violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container verify-error { + description + "React on error verfication violation"; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container rtt { + description + "React on round trip time threshold violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container packet-loss-sd { + description + "React on destination to source packet loss + threshold violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container jitter-average-sd { + description + "React on average source to destination + jitter threshold violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container connection-loss { + description + "React on connection loss for a monitored + operation"; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + container packet-loss-ds { + description + "React on source to destination packet loss + threshold violation"; + uses THRESHOLD-LIMITS; + uses ACTION-TYPE; + uses IPSLA-OP-REACT-CFG-CREATE; + uses IPSLA-OP-REACT-CFG-THRESHOLD-TYPE; + } + } + leaf operation-id { + type uint32 { + range "1..2048"; + } + description + "Operation number"; + } + } + } + container reaction-triggers { + description + "Reaction trigger configuration"; + list reaction-trigger { + key "operation-id"; + description + "Reaction trigger for an operation"; + leaf triggered-op-id { + type uint32 { + range "1..2048"; + } + description + "Operation number of the operation to be + triggered"; + } + leaf operation-id { + type uint32 { + range "1..2048"; + } + description + "Operation number of the operation generating + a trigger"; + } + } + } + container definitions { + description + "Operation definition table"; + list definition { + key "operation-id"; + description + "Operation definition"; + container operation-type { + description + "Operation type specification"; + container icmp-echo { + description + "ICMPEcho Operation type"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "0..16384"; + } + units "byte"; + default "36"; + description + "Payload size in request probe packet"; + } + } + leaf source-address-v6 { + type string; + description + "Enter IPv6 address of the source device"; + } + leaf dest-address-v6 { + type string; + description + "Enter IPv6 address of the destination + device"; + } + uses SOURCE-ADDRESS; + uses TOS; + uses CREATE; + uses STATISTICS; + uses VRF; + uses HISTORY; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses FREQUENCY; + uses DEST-ADDRESS; + uses ENHANCED-STATS-TABLE; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container mpls-lsp-ping { + description + "MPLS LSP Ping Operation type"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "100..17986"; + } + default "100"; + description + "Payload size in request probe packet"; + } + } + container reply { + description + "Echo reply options for the MPLS LSP + operation"; + leaf mode { + type Ipsla-lsp-ping-reply-mode; + description + "Enables use of router alert in echo reply + packets"; + } + uses DSCP-BITS; + } + container target { + description + "Target for the MPLS LSP operation"; + container traffic-engineering { + description + "Traffic engineering target"; + leaf tunnel { + type uint32 { + range "0..65535"; + } + description + "Tunnel interface number"; + } + } + container ipv4 { + description + "Target specified as an IPv4 address"; + container fec-address { + presence "Indicates a fec-address node is configured."; + description + "Target FEC address with mask"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP address for target"; + } + leaf mask { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP netmask for target"; + } + } + } + container pseudowire { + description + "Pseudowire target"; + container target-address { + presence "Indicates a target-address node is configured."; + description + "Target address"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Target address"; + } + leaf vc-id { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Virtual circuit ID"; + } + } + } + } + leaf ttl { + type uint32 { + range "1..255"; + } + default "255"; + description + "Time to live value"; + } + uses SOURCE-ADDRESS; + uses OUTPUT-NEXTHOP; + uses CREATE; + uses LSP-SELECTOR; + uses STATISTICS; + uses IPSLA-OP-DEF-MPLS-LSP-CFG-EXP-BITS; + uses FORCE-EXPLICIT-NULL; + uses HISTORY; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses IPSLA-OP-DEF-MPLS-LSP-CFG-OUTPUT-INTERFACE; + uses FREQUENCY; + uses ENHANCED-STATS-TABLE; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container udp-echo { + description + "UDPEcho Operation type"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "16..1500"; + } + units "byte"; + default "16"; + description + "Payload size in request probe packet"; + } + } + uses SOURCE-ADDRESS; + uses TOS; + uses CONTROL-DISABLE; + uses SOURCE-PORT; + uses CREATE; + uses STATISTICS; + uses VRF; + uses HISTORY; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses FREQUENCY; + uses DEST-PORT; + uses VERIFY-DATA; + uses DEST-ADDRESS; + uses ENHANCED-STATS-TABLE; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container mpls-lsp-trace { + description + "MPLS LSP Trace Operation type"; + container target { + description + "Target for the MPLS LSP operation"; + container traffic-engineering { + description + "Traffic engineering target"; + leaf tunnel { + type uint32 { + range "0..65535"; + } + description + "Tunnel interface number"; + } + } + container ipv4 { + description + "Target specified as an IPv4 address"; + container fec-address { + presence "Indicates a fec-address node is configured."; + description + "Target FEC address with mask"; + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP address for target"; + } + leaf mask { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP netmask for target"; + } + } + } + } + container reply { + description + "Echo reply options for the MPLS LSP + operation"; + leaf mode { + type Ipsla-lsp-trace-reply-mode; + description + "Enables use of router alert in echo reply + packets"; + } + uses DSCP-BITS; + } + leaf ttl { + type uint32 { + range "1..255"; + } + default "30"; + description + "Time to live value"; + } + uses SOURCE-ADDRESS; + uses OUTPUT-NEXTHOP; + uses CREATE; + uses LSP-SELECTOR; + uses STATISTICS; + uses IPSLA-OP-DEF-MPLS-LSP-CFG-EXP-BITS; + uses FORCE-EXPLICIT-NULL; + uses HISTORY; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses IPSLA-OP-DEF-MPLS-LSP-CFG-OUTPUT-INTERFACE; + uses FREQUENCY; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container udp-jitter { + description + "UDPJitter Operation type"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "28..1500"; + } + units "byte"; + default "32"; + description + "Payload size in request probe packet"; + } + } + container packet { + description + "Probe packet stream configuration + parameters"; + leaf count { + type uint32 { + range "1..60000"; + } + default "10"; + description + "Number of packets to be transmitted during + a probe"; + } + leaf interval { + type uint32 { + range "1..60000"; + } + units "millisecond"; + default "20"; + description + "Packet interval in milliseconds"; + } + } + uses SOURCE-ADDRESS; + uses TOS; + uses CONTROL-DISABLE; + uses SOURCE-PORT; + uses CREATE; + uses STATISTICS; + uses VRF; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses FREQUENCY; + uses DEST-PORT; + uses VERIFY-DATA; + uses DEST-ADDRESS; + uses ENHANCED-STATS-TABLE; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container icmp-path-echo { + description + "ICMPPathEcho Operation type"; + container history { + description + "Configure the history parameters for this + operation"; + leaf samples { + type uint32 { + range "1..30"; + } + default "16"; + description + "Specify number of samples to keep"; + } + leaf buckets { + type uint32 { + range "1..60"; + } + default "15"; + description + "Specify number of history buckets"; + } + leaf history-filter { + type Ipsla-history-filter; + description + "Choose type of data to be stored in + history buffer"; + } + leaf lives { + type uint32 { + range "0..2"; + } + default "0"; + description + "Specify number of lives to be kept"; + } + } + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "0..16384"; + } + units "byte"; + default "36"; + description + "Payload size in request probe packet"; + } + } + container statistics { + description + "Statistics collection aggregated over an + hour"; + leaf paths { + type uint32 { + range "1..128"; + } + default "5"; + description + "Maximum number of paths for which + statistics are kept"; + } + leaf dist-interval { + type uint32 { + range "1..100"; + } + units "millisecond"; + default "20"; + description + "Specify distribution interval in + milliseconds"; + } + leaf dist-count { + type uint32 { + range "1..20"; + } + default "1"; + description + "Count of distribution intervals maintained"; + } + leaf hours { + type uint32 { + range "0..25"; + } + units "hour"; + default "2"; + description + "Number of hours for which hourly + statistics are kept"; + } + leaf hops { + type uint32 { + range "1..30"; + } + default "16"; + description + "Maximum hops per path for which statistics + are kept"; + } + } + uses SOURCE-ADDRESS; + uses TOS; + uses LSR-PATH; + uses CREATE; + uses VRF; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses FREQUENCY; + uses DEST-ADDRESS; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + container icmp-path-jitter { + description + "ICMPPathJitter Operation type"; + container data-size { + description + "Protocol data size in payload of probe + packets"; + leaf request { + type uint32 { + range "0..16384"; + } + units "byte"; + default "36"; + description + "Payload size in request probe packet"; + } + } + container packet { + description + "Probe packet stream configuration + parameters"; + leaf count { + type uint32 { + range "1..100"; + } + default "10"; + description + "Number of packets to be transmitted during + a probe"; + } + leaf interval { + type uint32 { + range "1..60000"; + } + units "millisecond"; + default "20"; + description + "Packet interval in milliseconds"; + } + } + uses SOURCE-ADDRESS; + uses TOS; + uses LSR-PATH; + uses CREATE; + uses VRF; + uses IPSLA-OP-DEF-COMMON-CFG-TIMEOUT; + uses FREQUENCY; + uses DEST-ADDRESS; + uses IPSLA-OP-DEF-COMMON-CFG-TAG; + } + } + leaf operation-id { + type uint32 { + range "1..2048"; + } + description + "Operation number"; + } + } + } + } + container responder { + description + "Responder configuration"; + container type { + description + "Configure IPSLA Responder port type"; + container udp { + description + "Configure IPSLA Responder UDP address and port"; + container addresses { + description + "Configure IP address"; + list address { + key "local-address"; + description + "Configure IP address for the permanent port"; + container ports { + description + "Configure port"; + list port { + key "port"; + description + "Configure port number for the permanent + port"; + leaf port { + type inet:port-number; + description + "Port number to be enabled"; + } + } + } + leaf local-address { + type inet:ipv4-address-no-zone; + description + "IP address of the Responder"; + } + } + } + } + } + leaf enable { + type empty; + description + "Starts the responder process"; + } + } + container mpls-discovery { + description + "Provider Edge(PE) discovery configuration"; + container vpn { + description + "Layer 3 VPN PE discovery configuration"; + leaf interval { + type uint32 { + range "30..70560"; + } + units "minute"; + default "300"; + description + "Specify a discovery refresh interval"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub1.yang new file mode 100644 index 0000000..4b06ae1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub1.yang @@ -0,0 +1,133 @@ +submodule Cisco-IOS-XR-man-ipsla-oper-sub1 { + belongs-to Cisco-IOS-XR-man-ipsla-oper { + prefix Cisco-IOS-XR-man-ipsla-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR man-ipsla package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sla-op-types { + type enumeration { + enum "oper-icmp-echo" { + value 1; + description + "ICMP Echo"; + } + enum "oper-icmp-path-jitter" { + value 2; + description + "ICMP PathJitter"; + } + enum "oper-icmp-path-echo" { + value 4; + description + "ICMP Path Echo"; + } + enum "oper-udp-jitter" { + value 8; + description + "UDP Jitter"; + } + enum "oper-udp-echo" { + value 16; + description + "UDP Echo"; + } + enum "oper-mpls-lsp-ping" { + value 32; + description + "MPLS LSP Ping"; + } + enum "oper-mpls-lsp-trace" { + value 64; + description + "MPLS LSP Trace"; + } + enum "oper-mpls-lsp-group" { + value 128; + description + "MPLS LSP Group"; + } + } + description + "IPSLA Operation Types"; + } + + grouping IPSLA-APPLICATION-BAG { + description + "IPSLA application information"; + leaf version { + type string; + description + "Version of the IPSLA in Version.Release + .Patch-level format"; + } + leaf max-entries { + type uint32; + description + "Maximum number of entries"; + } + leaf entries-configured { + type uint32; + description + "Number of entries configured"; + } + leaf active-entries { + type uint32; + description + "Number of active entries"; + } + leaf pending-entries { + type uint32; + description + "Number of pending entries"; + } + leaf inactive-entries { + type uint32; + description + "Number of inactive entries"; + } + leaf configurable-probes { + type uint32; + description + "Number of configurable probes"; + } + leaf min-memory { + type uint32; + description + "IPSLA low memory watermark in KB"; + } + leaf hw-timestamp-disabled { + type boolean; + description + "IPSLA HW timestamp Disabled flag"; + } + leaf-list operation-type { + type Sla-op-types; + max-elements "8"; + description + "Operation types available in this IPSLA version"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub2.yang new file mode 100644 index 0000000..9d94010 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub2.yang @@ -0,0 +1,1647 @@ +submodule Cisco-IOS-XR-man-ipsla-oper-sub2 { + belongs-to Cisco-IOS-XR-man-ipsla-oper { + prefix Cisco-IOS-XR-man-ipsla-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR man-ipsla package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Op-type-enum { + type enumeration { + enum "icmp-echo" { + value 1; + description + "icmp echo"; + } + enum "icmp-path-jitter" { + value 2; + description + "icmp path jitter"; + } + enum "icmp-path-echo" { + value 4; + description + "icmp path echo"; + } + enum "udp-jitter" { + value 8; + description + "udp jitter"; + } + enum "udp-echo" { + value 16; + description + "udp echo"; + } + enum "mpls-lsp-ping" { + value 32; + description + "mpls lsp ping"; + } + enum "mpls-lsp-trace" { + value 64; + description + "mpls lsp trace"; + } + enum "mpls-lsp-group" { + value 128; + description + "mpls lsp group"; + } + } + description + "IPSLA Operation Types"; + } + + typedef Ipsla-ret-code { + type enumeration { + enum "ipsla-ret-code-unknown" { + value 0; + description + "ipsla ret code unknown"; + } + enum "ipsla-ret-code-ok" { + value 1; + description + "ipsla ret code ok"; + } + enum "ipsla-ret-code-disconnect" { + value 2; + description + "ipsla ret code disconnect"; + } + enum "ipsla-ret-code-over-threshold" { + value 3; + description + "ipsla ret code over threshold"; + } + enum "ipsla-ret-code-timeout" { + value 4; + description + "ipsla ret code timeout"; + } + enum "ipsla-ret-code-busy" { + value 5; + description + "ipsla ret code busy"; + } + enum "ipsla-ret-code-no-connection" { + value 6; + description + "ipsla ret code no connection"; + } + enum "ipsla-ret-code-dropped" { + value 7; + description + "ipsla ret code dropped"; + } + enum "ipsla-ret-code-sequence-error" { + value 8; + description + "ipsla ret code sequence error"; + } + enum "ipsla-ret-code-verify-error" { + value 9; + description + "ipsla ret code verify error"; + } + enum "ipsla-ret-code-application-specific" { + value 10; + description + "ipsla ret code application specific"; + } + enum "ipsla-ret-code-dns-server-timeout" { + value 11; + description + "ipsla ret code dns server timeout"; + } + enum "ipsla-ret-code-tcp-connect-timeout" { + value 12; + description + "ipsla ret code tcp connect timeout"; + } + enum "ipsla-ret-code-http-transaction-timeout" { + value 13; + description + "ipsla ret code http transaction timeout"; + } + enum "ipsla-ret-code-dns-query-error" { + value 14; + description + "ipsla ret code dns query error"; + } + enum "ipsla-ret-code-http-error" { + value 15; + description + "ipsla ret code http error"; + } + enum "ipsla-ret-code-internal-error" { + value 16; + description + "ipsla ret code internal error"; + } + enum "ipsla-ret-code-mpls-lsp-echo-tx-error" { + value 17; + description + "ipsla ret code mpls lsp echo tx error"; + } + enum "ipsla-ret-code-mpls-lsp-unreachable" { + value 18; + description + "ipsla ret code mpls lsp unreachable"; + } + enum "ipsla-ret-code-mpls-lsp-malformed-request" { + value 19; + description + "ipsla ret code mpls lsp malformed request"; + } + enum "ipsla-ret-code-mpls-lsp-reachable-but-not-fec" { + value 20; + description + "ipsla ret code mpls lsp reachable but not fec"; + } + enum "ipsla-ret-code-mpls-lsp-ds-map-mismatch" { + value 21; + description + "ipsla ret code mpls lsp ds map mismatch"; + } + enum "ipsla-ret-code-mpls-lsp-duplicate" { + value 22; + description + "ipsla ret code mpls lsp duplicate"; + } + enum "ipsla-ret-code-failure" { + value 23; + description + "ipsla ret code failure"; + } + enum "ipsla-ret-code-malloc-failure" { + value 24; + description + "ipsla ret code malloc failure"; + } + enum "ipsla-ret-code-sock-open-error" { + value 25; + description + "ipsla ret code sock open error"; + } + enum "ipsla-ret-code-sock-bind-error" { + value 26; + description + "ipsla ret code sock bind error"; + } + enum "ipsla-ret-code-sock-send-error" { + value 27; + description + "ipsla ret code sock send error"; + } + enum "ipsla-ret-code-sock-recv-error" { + value 28; + description + "ipsla ret code sock recv error"; + } + enum "ipsla-ret-code-sock-connect-error" { + value 29; + description + "ipsla ret code sock connect error"; + } + enum "ipsla-ret-code-sock-set-option-error" { + value 30; + description + "ipsla ret code sock set option error"; + } + enum "ipsla-ret-code-sock-attach-error" { + value 31; + description + "ipsla ret code sock attach error"; + } + enum "ipsla-ret-code-ctrl-msg-error" { + value 32; + description + "ipsla ret code ctrl msg error"; + } + enum "ipsla-ret-code-no-key-chain" { + value 33; + description + "ipsla ret code no key chain"; + } + enum "ipsla-ret-code-key-chain-lib-fail" { + value 34; + description + "ipsla ret code key chain lib fail"; + } + enum "ipsla-ret-code-no-key-id" { + value 35; + description + "ipsla ret code no key id"; + } + enum "ipsla-ret-code-invalid-key-id" { + value 36; + description + "ipsla ret code invalid key id"; + } + enum "ipsla-ret-code-entry-exist" { + value 37; + description + "ipsla ret code entry exist"; + } + enum "ipsla-ret-code-entry-not-found" { + value 38; + description + "ipsla ret code entry not found"; + } + enum "ipsla-ret-code-hop-over-max" { + value 39; + description + "ipsla ret code hop over max"; + } + enum "ipsla-ret-code-hop-dup-address" { + value 40; + description + "ipsla ret code hop dup address"; + } + enum "ipsla-ret-code-vrf-name-error" { + value 41; + description + "ipsla ret code vrf name error"; + } + enum "ipsla-ret-code-resp-failure" { + value 42; + description + "ipsla ret code resp failure"; + } + enum "ipsla-ret-code-auth-failure" { + value 43; + description + "ipsla ret code auth failure"; + } + enum "ipsla-ret-code-format-failure" { + value 44; + description + "ipsla ret code format failure"; + } + enum "ipsla-ret-code-port-in-use" { + value 45; + description + "ipsla ret code port in use"; + } + enum "ipsla-ret-code-no-route" { + value 46; + description + "ipsla ret code no route"; + } + enum "ipsla-ret-code-pending" { + value 47; + description + "ipsla ret code pending"; + } + enum "ipsla-ret-code-invalid-address" { + value 48; + description + "ipsla ret code invalid address"; + } + enum "ipsla-ret-code-max" { + value 49; + description + "ipsla ret code max"; + } + } + description + "Ipsla ret code"; + } + + typedef Ipsla-mpls-lpd-discovery-mode-enum { + type enumeration { + enum "ipsla-mpls-lpd-unknown" { + description + "ipsla mpls lpd unknown"; + } + enum "ipsla-mpls-lpd-initial-running" { + description + "ipsla mpls lpd initial running"; + } + enum "ipsla-mpls-lpd-initial-complete" { + description + "ipsla mpls lpd initial complete"; + } + enum "ipsla-mpls-lpd-rediscovery-running" { + description + "ipsla mpls lpd rediscovery running"; + } + enum "ipsla-mpls-lpd-rediscovery-complete" { + description + "ipsla mpls lpd rediscovery complete"; + } + } + description + "Ipsla mpls lpd discovery mode enum"; + } + + typedef Ipsla-mpls-lpd-path-discovery-status { + type enumeration { + enum "ipsla-mpls-lpd-path-discovery-unknown" { + description + "ipsla mpls lpd path discovery unknown"; + } + enum "ipsla-mpls-lpd-path-discovery-ok" { + description + "ipsla mpls lpd path discovery ok"; + } + enum "ipsla-mpls-lpd-path-discovery-broken" { + description + "ipsla mpls lpd path discovery broken"; + } + enum "ipsla-mpls-lpd-path-discovery-unexplorable" { + description + "ipsla mpls lpd path discovery unexplorable"; + } + } + description + "Ipsla mpls lpd path discovery status"; + } + + typedef Ipsla-mpls-lpd-ret-code { + type enumeration { + enum "ipsla-mpls-lpd-ret-code-unknown" { + value 1; + description + "ipsla mpls lpd ret code unknown"; + } + enum "ipsla-mpls-lpd-ret-code-no-path" { + value 2; + description + "ipsla mpls lpd ret code no path"; + } + enum "ipsla-mpls-lpd-ret-code-all-path-broken" { + value 3; + description + "ipsla mpls lpd ret code all path broken"; + } + enum "ipsla-mpls-lpd-ret-code-all-path-unexplorable" { + value 4; + description + "ipsla mpls lpd ret code all path unexplorable"; + } + enum "ipsla-mpls-lpd-ret-code-all-path-broken-or-unexplorable" { + value 5; + description + "ipsla mpls lpd ret code all path broken or + unexplorable"; + } + enum "ipsla-mpls-lpd-ret-code-timeout" { + value 6; + description + "ipsla mpls lpd ret code timeout"; + } + enum "ipsla-mpls-lpd-ret-code-error" { + value 7; + description + "ipsla mpls lpd ret code error"; + } + enum "ipsla-mpls-lpd-ret-code-ok" { + value 8; + description + "ipsla mpls lpd ret code ok"; + } + } + description + "Ipsla mpls lpd ret code"; + } + + typedef Ipv6addr { + type inet:ipv6-address; + description + "Ipv6addr"; + } + + typedef Ipsla-target-type-enum { + type enumeration { + enum "ipv4-address-target-type" { + value 1; + description + "IPv4 address"; + } + enum "ipv4-prefix-target-type" { + value 2; + description + "IPv4 prefix"; + } + enum "tunnel-id-target-type" { + value 3; + description + "Tunnel ID"; + } + enum "ipv4-pseudowire-target-type" { + value 4; + description + "IPv4 pseudowire"; + } + enum "ipv6-address-target-type" { + value 5; + description + "IPv6 address"; + } + } + description + "IPSLA Target Types"; + } + + typedef Ipsla-oper-state-enum { + type enumeration { + enum "ipsla-oper-state-inactive" { + value 0; + description + "ipsla oper state inactive"; + } + enum "ipsla-oper-state-pending" { + value 1; + description + "ipsla oper state pending"; + } + enum "ipsla-oper-state-active" { + value 2; + description + "ipsla oper state active"; + } + } + description + "Ipsla oper state enum"; + } + + typedef Ipsla-mpls-add-delete-enum { + type enumeration { + enum "ipsla-mpls-add-delete-add-q" { + value 1; + description + "ipsla mpls add delete add q"; + } + enum "ipsla-mpls-add-delete-delete-q" { + value 2; + description + "ipsla mpls add delete delete q"; + } + } + description + "Ipsla mpls add delete enum"; + } + + typedef Ipsla-lsp-grp-path-status-enum { + type enumeration { + enum "ipsla-lsp-grp-path-status-unknown" { + value 0; + description + "ipsla lsp grp path status unknown"; + } + enum "ipsla-lsp-grp-path-status-up" { + value 1; + description + "ipsla lsp grp path status up"; + } + enum "ipsla-lsp-grp-path-status-down" { + value 2; + description + "ipsla lsp grp path status down"; + } + enum "ipsla-lsp-grp-path-status-retry" { + value 3; + description + "ipsla lsp grp path status retry"; + } + enum "ipsla-lsp-grp-path-status-pending" { + value 4; + description + "ipsla lsp grp path status pending"; + } + } + description + "Ipsla lsp grp path status enum"; + } + + typedef Ipsla-lsp-grp-status-enum { + type enumeration { + enum "ipsla-lsp-grp-status-unknown" { + value 1; + description + "ipsla lsp grp status unknown"; + } + enum "ipsla-lsp-grp-status-up" { + value 2; + description + "ipsla lsp grp status up"; + } + enum "ipsla-lsp-grp-status-partial" { + value 3; + description + "ipsla lsp grp status partial"; + } + enum "ipsla-lsp-grp-status-down" { + value 4; + description + "ipsla lsp grp status down"; + } + enum "ipsla-lsp-grp-status-pending" { + value 5; + description + "ipsla lsp grp status pending"; + } + } + description + "Ipsla lsp grp status enum"; + } + + grouping IPSLA-LPD-PATH-STATS-BAG { + description + "IPSLA LPD Path Statistics"; + container path-id { + description + "LPD path identifier"; + uses IPSLA-LPD-PATH-ID-BAG; + } + leaf return-code { + type Ipsla-ret-code; + description + "Path return code"; + } + } + + grouping IPSLA-UDP-JITTER-SPEC-STATS-BAG { + description + "UDP Jitter Specific Statistics"; + leaf jitter-in { + type uint32; + description + "Input Jitter moving average, computed as per + RFC1889"; + } + leaf jitter-out { + type uint32; + description + "Output Jitter moving average, computed as per + RFC1889"; + } + leaf packet-loss-sd { + type uint32; + description + "Packets lost in source to destination (SD) + direction"; + } + leaf packet-loss-ds { + type uint32; + description + "Packets lost in destination to source (DS) + direction"; + } + leaf packet-out-of-sequence { + type uint32; + description + "Packets out of sequence"; + } + leaf packet-mia { + type uint32; + description + "Packets missing in action (cannot determine if + theywere lost in SD or DS direction"; + } + leaf packet-skipped { + type uint32; + description + "Packets which are skipped"; + } + leaf packet-late-arrivals { + type uint32; + description + "Packets arriving late"; + } + leaf packet-invalid-tstamp { + type uint32; + description + "Packets with bad timestamps"; + } + leaf internal-errors-count { + type uint32; + description + "Number of internal errors"; + } + leaf busies-count { + type uint32; + description + "Number of busies"; + } + leaf positive-sd-sum { + type uint32; + units "millisecond"; + description + "Sum of positive jitter values (i.e., network + latency increases for two consecutive packets) + in SD direction Measured in milliseconds"; + } + leaf positive-sd-sum2 { + type uint64; + description + "Sum of squares of positive jitter values in SD + direction"; + } + leaf positive-sd-min { + type uint32; + description + "Minimum of positive jitter values in SD + direction"; + } + leaf positive-sd-max { + type uint32; + description + "Maximum of positive jitter values in SD + direction"; + } + leaf positive-sd-count { + type uint32; + description + "Number of positive jitter values in SD direction"; + } + leaf negative-sd-sum { + type uint32; + units "millisecond"; + description + "Sum of negative jitter values (i.e., network + latency decreases for two consecutive packets) + in SD direction Measured in milliseconds"; + } + leaf negative-sd-sum2 { + type uint64; + description + "Sum of squares of negative jitter values in SD + direction"; + } + leaf negative-sd-min { + type uint32; + description + "Minimum of negative jitter values in SD + direction"; + } + leaf negative-sd-max { + type uint32; + description + "Maximum of negative jitter values in SD + direction"; + } + leaf negative-sd-count { + type uint32; + description + "Number of negative jitter values in SD direction"; + } + leaf positive-ds-sum { + type uint32; + units "millisecond"; + description + "Sum of positive jitter values (i.e., network + latency increases for two consecutive packets) + in DS direction Measured in milliseconds"; + } + leaf positive-ds-sum2 { + type uint64; + description + "Sum of squares of positive jitter values in DS + direction"; + } + leaf positive-ds-min { + type uint32; + description + "Minimum of positive jitter values in DS + direction"; + } + leaf positive-ds-max { + type uint32; + description + "Maximum of positive jitter values in DS + direction"; + } + leaf positive-ds-count { + type uint32; + description + "Number of positive jitter values in DS direction"; + } + leaf negative-ds-sum { + type uint32; + units "millisecond"; + description + "Sum of negative jitter values (i.e., network + latency decreases for two consecutive packets) + in DS direction Measured in milliseconds"; + } + leaf negative-ds-sum2 { + type uint64; + description + "Sum of squares of negative jitter values in DS + direction"; + } + leaf negative-ds-min { + type uint32; + description + "Minimum of negative jitter values in DS + direction"; + } + leaf negative-ds-max { + type uint32; + description + "Maximum of negative jitter values in DS + direction"; + } + leaf negative-ds-count { + type uint32; + description + "Number of negative jitter values in DS direction"; + } + leaf one-way-count { + type uint32; + description + "Number of probe/probe-response pairs used to + compute one-way statistics"; + } + leaf one-way-sd-min { + type uint32; + description + "Minimum of one-way jitter values in SD direction + (msec)"; + } + leaf one-way-sd-max { + type uint32; + description + "Maximum of one-way jitter values in SD direction + (msec)"; + } + leaf one-way-sd-sum { + type uint32; + description + "Sum of one-way jitter values in SD direction + (msec)"; + } + leaf one-way-sd-sum2 { + type uint64; + description + "Sum of squares of one-way jitter values in SD + direction (msec)"; + } + leaf one-way-ds-min { + type uint32; + description + "Minimum of one-way jitter values in DS direction + (msec)"; + } + leaf one-way-ds-max { + type uint32; + description + "Maximum of one-way jitter values in DS direction + (msec)"; + } + leaf one-way-ds-sum { + type uint32; + description + "Sum of one-way jitter values in DS direction + (msec)"; + } + leaf one-way-ds-sum2 { + type uint64; + description + "Sum of squares of the OneWayMinDS and + OneWayMaxDS values (msec)"; + } + } + + grouping IPSLA-ICMP-PATH-JITTER-SPEC-STATS-BAG { + description + "ICMP Path Jitter Statistics for a Hop"; + leaf source-address { + type inet:ipv4-address; + description + "IP Address of the source"; + } + leaf dest-address { + type inet:ipv4-address; + description + "IP Address of the destination"; + } + leaf hop-address { + type inet:ipv4-address; + description + "IP address of the hop in the path"; + } + leaf packet-interval { + type uint32; + description + "Interval between echos in ms"; + } + leaf response-time-count { + type uint32; + description + "Number of RTT samples used for the statistics"; + } + leaf response-time { + type uint32; + description + "RTT"; + } + leaf min-response-time { + type uint32; + description + "Minimum RTT"; + } + leaf max-response-time { + type uint32; + description + "Maximum RTT"; + } + leaf sum-response-time { + type uint32; + description + "Sum of RTT"; + } + leaf sum2-response-time { + type uint64; + description + "Sum of RTT^2"; + } + leaf packet-count { + type uint32; + description + "Number of Echo replies received "; + } + leaf packet-loss-count { + type uint32; + description + "Number of packets lost"; + } + leaf out-of-sequence-count { + type uint32; + description + "Number of out of sequence packets"; + } + leaf discarded-sample-count { + type uint32; + description + "Number of discarded samples"; + } + leaf verify-errors-count { + type uint32; + description + "Number of packets with data corruption"; + } + leaf dropped-error-count { + type uint32; + description + "Number of packets dropped"; + } + leaf jitter { + type uint32; + description + "Jitter value for this node in the path"; + } + leaf pos-jitter-sum { + type uint32; + description + "Sum of positive jitter value"; + } + leaf pos-jitter-sum2 { + type uint64; + description + "Sum of squares of positive jitter values"; + } + leaf pos-jitter-min { + type uint32; + description + "Minimum positive jitter value"; + } + leaf pos-jitter-max { + type uint32; + description + "Maximum positive jitter value"; + } + leaf pos-jitter-count { + type uint32; + description + "Number of positive jitter values"; + } + leaf neg-jitter-sum { + type uint32; + description + "Sum of negative jitter values"; + } + leaf neg-jitter-min { + type uint32; + description + "Minimum negative jitter value"; + } + leaf neg-jitter-max { + type uint32; + description + "Maximum negative jitter value"; + } + leaf neg-jitter-sum2 { + type uint64; + description + "Sum of squares of negative jitter values"; + } + leaf neg-jitter-count { + type uint32; + description + "Number of negative jitter values"; + } + } + + grouping IPSLA-UNION-STATS-BAG { + description + "IPSLA UNION STATS BAG"; + container icmp-path-jitter-stats { + when "../op-type = 'icmp-path-jitter'" { + description + "../op_type = 'ICMPPathJitter'"; + } + description + "icmp path jitter stats"; + uses IPSLA-ICMP-PATH-JITTER-SPEC-STATS-BAG; + } + container udp-jitter-stats { + when "../op-type = 'udp-jitter'" { + description + "../op_type = 'UDPJitter'"; + } + description + "udp jitter stats"; + uses IPSLA-UDP-JITTER-SPEC-STATS-BAG; + } + leaf op-type { + type Op-type-enum; + description + "op type"; + } + } + + grouping IPSLA-COMMON-STATS-BAG { + description + "IPSLA Common Stats"; + leaf operation-time { + type uint64; + description + "Operation Time"; + } + leaf return-code { + type Ipsla-ret-code; + description + "Return code"; + } + leaf response-time-count { + type uint32; + description + "Number of RTT samples used for the statistics"; + } + leaf response-time { + type uint32; + description + "RTT"; + } + leaf min-response-time { + type uint32; + description + "Minimum RTT"; + } + leaf max-response-time { + type uint32; + description + "Maximum RTT"; + } + leaf sum-response-time { + type uint32; + description + "Sum of RTT"; + } + leaf sum2-response-time { + type uint64; + description + "Sum of RTT^2"; + } + leaf update-count { + type uint32; + description + "Number of updates processed"; + } + leaf ok-count { + type uint32; + description + "Number of updates with Okay return code"; + } + leaf disconnect-count { + type uint32; + description + "Number of updates with Disconnected return code"; + } + leaf timeout-count { + type uint32; + description + "Number of updates with Timeout return code"; + } + leaf busy-count { + type uint32; + description + "Number of updates with Busy return code"; + } + leaf no-connection-count { + type uint32; + description + "Number of updates with NotConnected return code"; + } + leaf dropped-count { + type uint32; + description + "Number of updates with Dropped return code"; + } + leaf internal-error-count { + type uint32; + description + "Number of updates with InternalError return code"; + } + leaf sequence-error-count { + type uint32; + description + "Number of updates with SeqError return code"; + } + leaf verify-error-count { + type uint32; + description + "Number of updates with VerifyError return code"; + } + } + + grouping IPSLA-GLOBAL-STATS-BAG { + description + "Global Statistics Bag"; + container common-stats { + description + "Common Stats"; + uses IPSLA-COMMON-STATS-BAG; + } + container specific-stats { + description + "Operation Specific Stats"; + uses IPSLA-UNION-STATS-BAG; + } + } + + grouping IPSLA-HISTORY-BAG { + description + "IP SLA history data bag"; + container target-address { + description + "Target for the operation"; + uses IPSLA-TARGET-UNION; + } + leaf start-time { + type uint64; + description + "Sample Start Time expressed in msec since00:00 + :00 UTC, January 1, 1970"; + } + leaf response-time { + type uint32; + units "millisecond"; + description + "Round Trip Time (milliseconds)"; + } + leaf return-code { + type Ipsla-ret-code; + description + "Response Return Code"; + } + } + + grouping IPSLA-LPD-STATE-BAG { + description + "IPSLA LPD State"; + container target-address { + description + "Target for LPD"; + uses IPSLA-TARGET-UNION; + } + leaf monitor-id { + type uint32; + description + "MPLSLM monitor ID"; + } + leaf discovery-mode { + type Ipsla-mpls-lpd-discovery-mode-enum; + description + "Latest LPD mode"; + } + leaf start-time { + type uint64; + description + "Latest start time"; + } + leaf return-code { + type Ipsla-mpls-lpd-ret-code; + description + "Latest return code"; + } + leaf completion-time { + type uint32; + description + "Latest completion time"; + } + leaf path-count { + type uint32; + description + "Number of discovered paths"; + } + } + + grouping IPSLA-LPD-PATH-STATE-BAG { + description + "IPSLA LPD Path State"; + container path-id { + description + "LPD path identifier"; + uses IPSLA-LPD-PATH-ID-BAG; + } + leaf path-status { + type Ipsla-mpls-lpd-path-discovery-status; + description + "Path status"; + } + } + + grouping IPSLA-IPV4-PW { + description + "IPSLA IPv4 Pseudowire Target"; + leaf address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf virtual-circuit-id { + type uint32; + description + "Virtual circuit ID"; + } + } + + grouping IPSLA-TUNNEL-ID { + description + "IPSLA Tunnel ID Target"; + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + } + + grouping IPSLA-IPV4-PREFIX { + description + "IPSLA IPv4 Prefix Target"; + leaf address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf mask-length { + type uint8; + description + "Mask length"; + } + } + + grouping IPSLA-TARGET-UNION { + description + "IPSLA TARGET UNION"; + container ipv4-prefix-target { + when "../target-type = 'ipv4-prefix-target-type'" { + description + "../TargetType = 'IPv4PrefixTargetType'"; + } + description + "IPv4 prefix target"; + uses IPSLA-IPV4-PREFIX; + } + container tunnel-id-target { + when "../target-type = 'tunnel-id-target-type'" { + description + "../TargetType = 'TunnelIDTargetType'"; + } + description + "Tunnel ID target"; + uses IPSLA-TUNNEL-ID; + } + container ipv4-pseudowire-target { + when "../target-type = 'ipv4-pseudowire-target-type'" { + description + "../TargetType = 'IPv4PseudowireTargetType'"; + } + description + "IPv4 pseudowire target"; + uses IPSLA-IPV4-PW; + } + leaf target-type { + type Ipsla-target-type-enum; + description + "TargetType"; + } + leaf ipv4-address-target { + when "../target-type = 'ipv4-address-target-type'" { + description + "../TargetType = 'IPv4AddressTargetType'"; + } + type inet:ipv4-address; + description + "IPv4 address target"; + } + leaf ipv6-address-target { + when "../target-type = 'ipv6-address-target-type'" { + description + "../TargetType = 'IPv6AddressTargetType'"; + } + type Ipv6addr; + description + "IPv6 address target"; + } + } + + grouping IPSLA-LPD-STATS-BAG { + description + "IPSLA LPD Statistics"; + container target-address { + description + "LPD target"; + uses IPSLA-TARGET-UNION; + } + leaf start-time { + type uint64; + description + "LPD start time"; + } + leaf return-code { + type Ipsla-mpls-lpd-ret-code; + description + "LPD return code"; + } + leaf completion-time-count { + type uint32; + description + "Number of CompT samples"; + } + leaf completion-time { + type uint32; + description + "LPD Completion time"; + } + leaf min-completion-time { + type uint32; + description + "Minimum CompT"; + } + leaf max-completion-time { + type uint32; + description + "Maximum CompT"; + } + leaf sum-completion-time { + type uint32; + description + "Sum of CompT"; + } + leaf path-count { + type uint32; + description + "Number of paths"; + } + leaf min-path-count { + type uint32; + description + "Minimum number of paths"; + } + leaf max-path-count { + type uint32; + description + "Maximum number of paths"; + } + leaf ok-count { + type uint32; + description + "Number of successes"; + } + leaf no-path-count { + type uint32; + description + "Number of failures due to no path"; + } + leaf all-paths-broken-count { + type uint32; + description + "Number of failures due to all paths broken"; + } + leaf all-paths-unexplorable-count { + type uint32; + description + "Number of failures due to all paths unexplorable"; + } + leaf all-paths-broken-or-unexplorable-count { + type uint32; + description + "Number of failures due to all paths broken or + unexplorable"; + } + leaf timeout-count { + type uint32; + description + "Number of failures due to timeout"; + } + leaf internal-error-count { + type uint32; + description + "Number of failures due to internal error"; + } + leaf unknown-count { + type uint32; + description + "Number of failures due to unknown cause"; + } + } + + grouping IPSLA-OPER-STATE-BAG { + description + "IPSLA Operation State"; + leaf modification-time { + type uint64; + description + "Last modification time of the operation + expressed in msec since 00:00:00 UTC, January 1, + 1970"; + } + leaf start-time { + type uint64; + description + "Last start time of the operation expressedin + msec since 00:00:00 UTC, January 1, 1970"; + } + leaf attempt-count { + type uint32; + description + "Number of data collection attempts"; + } + leaf skipped-count { + type uint32; + description + "Number of data collection cycles skipped"; + } + leaf life-remaining { + type uint32; + units "second"; + description + "Number of seconds left in current life"; + } + leaf frequency { + type uint32; + description + "Number of configured frequency Default 60 "; + } + leaf recurring { + type boolean; + description + "For recurring operation configured"; + } + leaf operational-state { + type Ipsla-oper-state-enum; + description + "Operational state"; + } + leaf flags { + type uint32; + description + "Internal flags"; + } + leaf local-port { + type uint16; + description + "Cached local port"; + } + leaf unexpected-packets { + type uint32; + description + "Unexpected probe pkts punted from LPTS"; + } + leaf unexpected-control-packets { + type uint32; + description + "Unexpected control pkts puntedfrom LPTS"; + } + leaf operation-time { + type uint64; + description + "Start time of current instance of the operation"; + } + } + + grouping IPSLA-DISCOVERY-PREFIX-BAG { + description + "IPSLA MPLS PE Discovery Prefix"; + leaf target-address { + type inet:ipv4-address; + description + "PE target address"; + } + leaf target-mask { + type uint32; + description + "PE target mask length"; + } + } + + grouping IPSLA-DISCOVERY-VRF-BAG { + description + "IPSLA MPLS PE Discovery VRF"; + leaf prefix-count { + type uint32; + description + "Number of prefixes in VRF"; + } + } + + grouping IPSLA-DISCOVERY-STATE-BAG { + description + "IPSLA MPLS PE Discovery State"; + leaf refresh-remaining { + type uint32; + units "second"; + description + "Number of seconds left before next refresh"; + } + } + + grouping IPSLA-MPLSLM-SCAN-QUEUE-BAG { + description + "IPSLA MPLSLM Scan Queue Entry"; + leaf target-address { + type inet:ipv4-address; + description + "PE target address"; + } + leaf target-mask { + type uint32; + description + "PE target mask length"; + } + leaf entry { + type Ipsla-mpls-add-delete-enum; + description + "PE addition or deletion"; + } + } + + grouping IPSLA-LPD-PATH-ID-BAG { + description + "IPSLA LPD Path Identifier"; + leaf lsp-selector { + type inet:ipv4-address; + description + "LSP selector"; + } + leaf output-interface { + type xr:Interface-name; + description + "Output interface"; + } + leaf nexthop-address { + type inet:ipv4-address; + description + "Nexthop address"; + } + leaf-list downstream-label { + type uint32; + max-elements "10"; + description + "Downstream label stacks"; + } + } + + grouping IPSLA-MPLSLM-OP-PATH-STATE-BAG { + description + "IPSLA MPLSLM Operation Path State"; + container path-id { + description + "LPD path identifier"; + uses IPSLA-LPD-PATH-ID-BAG; + } + leaf path-status { + type Ipsla-lsp-grp-path-status-enum; + description + "Latest path status"; + } + leaf operation-time { + type uint64; + description + "Latest operation time"; + } + leaf response-time { + type uint32; + description + "Latest RTT"; + } + leaf success-count { + type uint32; + description + "Number of path successes"; + } + leaf failure-count { + type uint32; + description + "Number of path failures"; + } + } + + grouping IPSLA-MPLSLM-OP-STATE-BAG { + description + "IPSLA MPLSLM Operation State"; + leaf target-address { + type inet:ipv4-address; + description + "PE target address"; + } + leaf target-mask { + type uint32; + description + "PE target mask length"; + } + leaf group-status { + type Ipsla-lsp-grp-status-enum; + description + "Latest LSP group status"; + } + leaf operation-time { + type uint64; + description + "Latest operation time"; + } + } + + grouping IPSLA-MPLSLM-STATE-BAG { + description + "IPSLA MPLSLM State"; + leaf scan-remaining { + type uint32; + units "second"; + description + "Number of seconds left before next scan for + addition (0xffffffff means the timer is not + running)"; + } + leaf delete-scan-remaining { + type uint32; + units "second"; + description + "Number of seconds left before next scan for + deletion (0xffffffff means the timer is not + running)"; + } + leaf rediscovery-remaining { + type uint32; + units "second"; + description + "Number of seconds left before next path + discovery (0xffffffff means the timer is not + running)"; + } + leaf lpd-compeletion-time { + type uint32; + units "second"; + description + "LPD completion time (seconds) for the entire set + of PEs which are discovered in this MPLSLM + instance (0xffffffff means LPD is never + completed yet)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub3.yang new file mode 100644 index 0000000..e8963d0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper-sub3.yang @@ -0,0 +1,114 @@ +submodule Cisco-IOS-XR-man-ipsla-oper-sub3 { + belongs-to Cisco-IOS-XR-man-ipsla-oper { + prefix Cisco-IOS-XR-man-ipsla-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR man-ipsla package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping IPSLA-RESP-SENDER-BAG { + description + "IPSLA sender id"; + leaf ip-address { + type uint32; + description + "IP address of Sender"; + } + leaf port { + type uint16; + description + "Port on which Sender is sending"; + } + leaf last-recv-time { + type uint64; + description + "Last received time"; + } + } + + grouping IPSLA-RESP-PORT-INFO-BAG { + description + "IPSLA Responder active ports information"; + leaf port-xr { + type uint16; + description + "Port on which Responder is listening"; + } + leaf local-address { + type inet:ipv4-address; + description + "IP address of Responder"; + } + leaf num-probes { + type uint32; + description + "Number of probes received from remote end"; + } + leaf ctrl-probes { + type uint32; + description + "Number of control probes received from remote + end"; + } + leaf permanent { + type boolean; + description + "Port type if this is permanent or dynamic port"; + } + leaf discard-on { + type boolean; + description + "Current discard socket option flag for the port"; + } + leaf pd-time-stamp-failed { + type boolean; + description + "PD Timestamp failure"; + } + leaf is-ipsla { + type boolean; + description + "IPSLA or TWAMP protocol"; + } + leaf drop-counter { + type uint32; + description + "Drop counter for the Responder port"; + } + leaf socket { + type int32; + description + "Socket"; + } + list sender { + description + "List of senders"; + uses IPSLA-RESP-SENDER-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper.yang new file mode 100644 index 0000000..92b75c0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-ipsla-oper.yang @@ -0,0 +1,677 @@ +module Cisco-IOS-XR-man-ipsla-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-ipsla-oper"; + prefix man-ipsla-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-man-ipsla-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-man-ipsla-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-man-ipsla-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-ipsla package operational data. + + This module contains definitions + for the following management objects: + ipsla: IPSLA operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipsla-hour-index { + type int32; + description + "Ipsla hour index"; + } + + typedef Ipsla-operation-id { + type int32; + description + "Ipsla operation id"; + } + + typedef Ipsla-distribution-index { + type int32; + description + "Ipsla distribution index"; + } + + typedef Ipsla-bucket-index { + type int32; + description + "Ipsla bucket index"; + } + + typedef Ipsla-lsp-monitor-id { + type int32; + description + "Ipsla lsp monitor id"; + } + + typedef Ipsla-lpd-path-index { + type int32; + description + "Ipsla lpd path index"; + } + + typedef Ipsla-hop-index { + type int32; + description + "Ipsla hop index"; + } + + typedef Ipsla-life-index { + type int32; + description + "Ipsla life index"; + } + + typedef Ipsla-path-index { + type int32; + description + "Ipsla path index"; + } + + typedef Ipsla-sample-index { + type int32; + description + "Ipsla sample index"; + } + + typedef Ipsla-enhanced-interval { + type int32; + description + "Ipsla enhanced interval"; + } + + grouping DISTRIBUTION-INTERVAL-TABLE { + description + "Common node of target, hop"; + container distribution-intervals { + description + "Table of distribution intervals for a particular + hop"; + list distribution-interval { + key "distribution-index"; + description + "1-hour aggregated statistics for a hop in a + path-enabled operation"; + leaf distribution-index { + type Ipsla-distribution-index; + description + "Distribution Interval"; + } + uses IPSLA-GLOBAL-STATS-BAG; + } + } + } + + container ipsla { + config false; + description + "IPSLA operational data"; + container mpls-data { + description + "MPLS operational data"; + container lsp-monitors { + description + "List of MPLS LSP Monitor instances"; + list lsp-monitor { + key "monitor-id"; + description + "Operational data for MPLS LSP Monitor"; + container state { + description + "Operational state of MPLS LSP Monitor"; + uses IPSLA-MPLSLM-STATE-BAG; + } + container operations { + description + "List of operations in MPLS LSP Monitor"; + list operation { + key "operation-id"; + description + "Operation created in MPLS LSP Monitor"; + container state { + description + "Operational state of the created operation"; + uses IPSLA-MPLSLM-OP-STATE-BAG; + } + container lpd-paths { + description + "List of LPD paths in MPLS LPD group + operation"; + list lpd-path { + key "path-index"; + description + "Operational state of LPD path in MPLS LSP + Group operation"; + leaf path-index { + type Ipsla-lpd-path-index; + description + "LPD path index"; + } + uses IPSLA-MPLSLM-OP-PATH-STATE-BAG; + } + } + leaf operation-id { + type Ipsla-operation-id; + description + "Operation ID"; + } + } + } + container scan-queues { + description + "List of Scan Queue entries in MPLS LSP + Monitor"; + list scan-queue { + key "address"; + description + "Provider Edge(PE) addition or deletion + requests in Scan Queue"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Nexthop Address"; + } + uses IPSLA-MPLSLM-SCAN-QUEUE-BAG; + } + } + leaf monitor-id { + type Ipsla-lsp-monitor-id; + description + "Monitor ID"; + } + } + } + container discovery { + description + "Provider Edge(PE) discovery operational data"; + container vpn { + description + "L3 VPN PE discovery operational data"; + container state { + description + "Operational state of PE discovery"; + uses IPSLA-DISCOVERY-STATE-BAG; + } + container nexthops { + description + "List of nexthop addresses for remote PE + routers"; + list nexthop { + key "address"; + description + "Nexthop address for remote PE router"; + container vrfs { + description + "List of VRFs for the nexthop address"; + list vrf { + key "vrf-name"; + description + "VRF information of the nexthop address"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF Name"; + } + uses IPSLA-DISCOVERY-VRF-BAG; + } + } + container prefix { + description + "Prefix of the nexthop address"; + uses IPSLA-DISCOVERY-PREFIX-BAG; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Nexthop Address"; + } + } + } + } + } + } + container responder { + description + "Data from responder probe handling"; + container ports { + description + "Statistics maintained by responder"; + list port { + key "port"; + description + "Port data"; + leaf port { + type inet:port-number; + description + "Port"; + } + uses IPSLA-RESP-PORT-INFO-BAG; + } + } + } + container operation-data { + description + "Operations data"; + container operations { + description + "Configured operations"; + list operation { + key "operation-id"; + description + "Operational data for an operation"; + container common { + description + "Common data for all operation types"; + container operational-state { + description + "Operational state for an operation"; + uses IPSLA-OPER-STATE-BAG; + } + } + container lpd { + description + "LPD operational data of MPLS LSP group + operation"; + container statistics { + description + "Statistics collected for LPD group"; + container latest { + description + "LPD statistics collected during the last + sampling cycle"; + container target { + description + "Latest statistics of LPD group"; + uses IPSLA-LPD-STATS-BAG; + } + } + container aggregated { + description + "Statistics aggregated for LPD group + collected over time intervals"; + container hours { + description + "Table of LPD statistics aggregated over + 1-hour intervals"; + list hour { + key "hour-index"; + description + "LPD statistics aggregated for a 1-hour + interval"; + leaf hour-index { + type Ipsla-hour-index; + description + "Hour Index"; + } + uses IPSLA-LPD-STATS-BAG; + } + } + } + } + container status { + description + "Operational status of LPD group"; + container lpd-paths { + description + "Operational path state in LPD group"; + list lpd-path { + key "path-index"; + description + "Current operational path state in LPD + group"; + leaf path-index { + type Ipsla-lpd-path-index; + description + "LPD path index"; + } + uses IPSLA-LPD-PATH-STATE-BAG; + } + } + container state { + description + "Operational status of LPD group"; + uses IPSLA-LPD-STATE-BAG; + } + } + } + container history { + description + "Historical data for an operation"; + container path { + description + "Historical data with multiple hops along the + path"; + container lifes { + description + "Tables of lives for an operation"; + list life { + key "life-index"; + description + "History data for a particular life of the + operation"; + container buckets { + description + "Table of history buckets (samples) for a + particular operation"; + list bucket { + key "bucket-index"; + description + "History bucket for an operation"; + container samples { + description + "Table of samples for a particular cycle"; + list sample { + key "sample-index"; + description + "Data sample for particular cycle"; + leaf sample-index { + type Ipsla-sample-index; + description + "Sample Index"; + } + uses IPSLA-HISTORY-BAG; + } + } + leaf bucket-index { + type Ipsla-bucket-index; + description + "Bucket Index"; + } + } + } + leaf life-index { + type Ipsla-life-index; + description + "Life Index"; + } + } + } + } + container target { + description + "Historical data for the destination node"; + container lifes { + description + "Tables of lives for an operation"; + list life { + key "life-index"; + description + "Operational data for a particular life of + the operation"; + container buckets { + description + "Table of history buckets (samples) for a + particular operation"; + list bucket { + key "bucket-index"; + description + "History bucket for an operation"; + leaf bucket-index { + type Ipsla-bucket-index; + description + "Bucket Index"; + } + uses IPSLA-HISTORY-BAG; + } + } + leaf life-index { + type Ipsla-life-index; + description + "Life Index"; + } + } + } + } + } + container statistics { + description + "Statistics collected for an operation"; + container latest { + description + "Statistics collected during the last + sampling cycle of the operation"; + container target { + description + "Latest statistics for the target node"; + uses IPSLA-GLOBAL-STATS-BAG; + } + container hops { + description + "Latest statistics for hops in a + path-enabled operation"; + list hop { + key "hop-index"; + description + "Latest stats for a hop in a path-enabled + operation"; + leaf hop-index { + type Ipsla-hop-index; + description + "Hop Index"; + } + uses IPSLA-GLOBAL-STATS-BAG; + } + } + container lpd-paths { + description + "List of latest LPD paths"; + list lpd-path { + key "path-index"; + description + "Latest path statistics of MPLS LSP group + operation"; + leaf path-index { + type Ipsla-lpd-path-index; + description + "LPD path index"; + } + uses IPSLA-LPD-PATH-STATS-BAG; + } + } + } + container aggregated { + description + "Statistics aggregated for data collected + over time intervals"; + container enhanced-intervals { + description + "Table of statistics aggregated over + enhanced intervals"; + list enhanced-interval { + key "enhanced-interval"; + description + "Statistics aggregated over an interval + specified in seconds. Specified interval + must be a multiple of the operation + frequency"; + container start-times { + description + "Table of start times for the intervals"; + list start-time { + key "interval-start-time"; + description + "Statistics aggregated over an enhanced + interval which starts at a specific time"; + leaf interval-start-time { + type xr:Cisco-ios-xr-string; + description + "Interval Start Time"; + } + uses IPSLA-GLOBAL-STATS-BAG; + } + } + leaf enhanced-interval { + type Ipsla-enhanced-interval; + units "second"; + description + "Enhanced Interval in seconds"; + } + } + } + container hours { + description + "Table of statistics aggregated over 1-hour + intervals"; + list hour { + key "hour-index"; + description + "Statistics aggregated for a 1-hour + interval"; + container distributed { + description + "Statistics aggregated on distribution + value intervals for in 1-hour intervals"; + container paths { + description + "Table of paths identified in the 1-hour + interval"; + list path { + key "path-index"; + description + "Paths identified in a 1-hour interval"; + container hops { + description + "Table of hops for a particular path"; + list hop { + key "hop-index"; + description + "1-hour aggregated statistics for a + hop in a path-enabled operation"; + leaf hop-index { + type Ipsla-hop-index; + description + "Hop Index"; + } + uses DISTRIBUTION-INTERVAL-TABLE; + } + } + leaf path-index { + type Ipsla-path-index; + description + "Path Index"; + } + } + } + container target { + description + "Distribution statistics for the target + node"; + uses DISTRIBUTION-INTERVAL-TABLE; + } + } + container non-distributed { + description + "Statistics aggregated for the total range + of values in 1-hour intervals"; + container target { + description + "Total 1-hour aggregated statistics for + the target node"; + uses IPSLA-GLOBAL-STATS-BAG; + } + container paths { + description + "Table of paths identified in the 1-hour + interval"; + list path { + key "path-index"; + description + "Paths identified in a 1-hour interval"; + container hops { + description + "Table of hops for a particular path"; + list hop { + key "hop-index"; + description + "Total 1-hour aggregated statistics + for a hop in a path-enabled operation"; + leaf hop-index { + type Ipsla-hop-index; + description + "Hop Index"; + } + uses IPSLA-GLOBAL-STATS-BAG; + } + } + leaf path-index { + type Ipsla-path-index; + description + "Path Index"; + } + } + } + container lpd-paths { + description + "List of latest LPD paths"; + list lpd-path { + key "path-index"; + description + "Latest path statistics of MPLS LSP + group operation"; + leaf path-index { + type Ipsla-lpd-path-index; + description + "LPD path index"; + } + uses IPSLA-LPD-PATH-STATS-BAG; + } + } + } + leaf hour-index { + type Ipsla-hour-index; + description + "Hour Index"; + } + } + } + } + } + leaf operation-id { + type Ipsla-operation-id; + description + "Operation ID"; + } + } + } + } + container application-info { + description + "IPSLA application information"; + uses IPSLA-APPLICATION-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-netconf-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-netconf-cfg.yang new file mode 100644 index 0000000..ce3aaaa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-netconf-cfg.yang @@ -0,0 +1,91 @@ +module Cisco-IOS-XR-man-netconf-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-cfg"; + prefix man-netconf-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-netconf package configuration. + + This module contains definitions + for the following management objects: + netconf-yang: NETCONF YANG configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-03-15 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container netconf-yang { + description + "NETCONF YANG configuration commands"; + container agent { + description + "NETCONF YANG agent configuration commands"; + container ssh { + description + "NETCONF YANG agent over SSH connection"; + leaf enable { + type empty; + description + "Enable NETCONF YANG agent over SSH connection"; + } + } + container session { + description + "Session settings"; + leaf limit { + type uint32 { + range "1..50"; + } + default "50"; + description + "Count of allowable concurrent netconf-yang + sessions"; + } + leaf absolute-timeout { + type uint32 { + range "1..1440"; + } + units "minute"; + description + "Absolute timeout in minutes"; + } + leaf idle-timeout { + type uint32 { + range "1..1440"; + } + units "minute"; + description + "Non-active session lifetime"; + } + } + leaf rate-limit { + type uint32 { + range "4096..4294967295"; + } + units "byte"; + description + "Number of bytes to process per sec"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang new file mode 100644 index 0000000..bfff4c4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-cfg.yang @@ -0,0 +1,279 @@ +module Cisco-IOS-XR-man-xml-ttyagent-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-cfg"; + prefix man-xml-ttyagent-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-xml-ttyagent package configuration. + + This module contains definitions + for the following management objects: + xr-xml: XML + netconf: netconf + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SESSION { + description + "Common node of default, ssl, tty"; + container session { + description + "Session attributes"; + leaf timeout { + type uint32 { + range "1..1440"; + } + units "minute"; + description + "Timeout in minutes"; + } + } + } + + grouping VRF-TABLE { + description + "Common node of default, ssl"; + container vrfs { + description + "List of VRFs"; + list vrf { + key "vrf-name"; + description + "A specific VRF"; + leaf ipv6-access-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "IPv6 Transport Access list for VRF"; + } + leaf ipv4-access-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "IPv4 Transport Access list for VRF"; + } + leaf access-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Access list for XML agent"; + } + leaf shutdown { + type empty; + description + "Shutdown default VRF. This is applicable only + for VRF default."; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + } + } + + grouping ITERATION-SIZE { + description + "Common node of default, ssl, tty"; + leaf iteration-size { + type uint32 { + range "0..100000"; + } + units "kilobyte"; + default "48"; + description + "Iterator size, in KBytes, of the XML response. + Specify 0 to turn off the XML response iterator."; + } + } + + grouping STREAMING-SIZE { + description + "Common node of default, ssl, tty"; + leaf streaming-size { + type uint32 { + range "1..100000"; + } + units "kilobyte"; + description + "Streaming size, in KBytes, of the XML response."; + } + } + + grouping THROTTLE { + description + "Common node of default, ssl, tty"; + container throttle { + description + "XML agent throttling"; + leaf process-rate { + type uint32 { + range "1000..30000"; + } + description + "Process rate in number of XML tags per second"; + } + leaf memory { + type uint32 { + range "100..1024"; + } + units "megabyte"; + default "300"; + description + "Size of memory usage, in MBytes, per session."; + } + } + } + + grouping ENABLE { + description + "Common node of default, ssl, tty"; + leaf enable { + type empty; + description + "Enable specified XML agent"; + } + } + + container xr-xml { + description + "XML"; + container agent { + description + "XML agent"; + container default { + description + "XML default dedicated agent"; + leaf ipv6-enable { + type boolean; + description + "IPv6 Transport State"; + } + leaf ipv4-disable { + type boolean; + description + "TRUE to disable IPV4"; + } + uses SESSION; + uses ITERATION-SIZE; + uses THROTTLE; + uses ENABLE; + uses STREAMING-SIZE; + uses VRF-TABLE; + } + container tty { + description + "XML TTY agent"; + uses SESSION; + uses ITERATION-SIZE; + uses THROTTLE; + uses ENABLE; + uses STREAMING-SIZE; + } + container ssl { + description + "XML SSL agent"; + uses SESSION; + uses ITERATION-SIZE; + uses THROTTLE; + uses ENABLE; + uses STREAMING-SIZE; + uses VRF-TABLE; + } + } + } + container netconf { + description + "netconf"; + container agent { + description + "XML agent"; + container tty { + description + "NETCONF agent over TTY"; + container throttle { + description + "NETCONF agent throttling"; + leaf memory { + type uint32 { + range "100..1024"; + } + units "megabyte"; + default "300"; + description + "Size of memory usage, in MBytes, per session."; + } + leaf offload-memory { + type uint32 { + range "0..12000"; + } + units "megabyte"; + default "0"; + description + "Size of memory usage, in MBytes, per session."; + } + leaf process-rate { + type uint32 { + range "1000..30000"; + } + description + "Process rate in number of XML tags per second"; + } + } + container session { + description + "Session attributes"; + leaf timeout { + type uint32 { + range "1..1440"; + } + units "minute"; + description + "Timeout in minutes"; + } + } + leaf enable { + type empty; + description + "Enable specified NETCONF agent"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang new file mode 100644 index 0000000..c171234 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper-sub1.yang @@ -0,0 +1,134 @@ +submodule Cisco-IOS-XR-man-xml-ttyagent-oper-sub1 { + belongs-to Cisco-IOS-XR-man-xml-ttyagent-oper { + prefix Cisco-IOS-XR-man-xml-ttyagent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR man-xml-ttyagent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Xr-xml-session-alarm-register { + type enumeration { + enum "registered" { + value 1; + description + "Registered"; + } + enum "not-registered" { + value 2; + description + "NotRegistered"; + } + } + description + "AlarmNotify"; + } + + typedef Xr-xml-session-state { + type enumeration { + enum "idle" { + value 1; + description + "Idle"; + } + enum "busy" { + value 2; + description + "Busy"; + } + } + description + "SessionState"; + } + + grouping XR-XML-SESSION-INFO { + description + "XML SESSION INFO"; + leaf username { + type string; + description + "Username"; + } + leaf state { + type Xr-xml-session-state; + description + "state of the session idle/busy"; + } + leaf client-address { + type string; + description + "ip address of the client"; + } + leaf client-port { + type uint32; + description + "client's port"; + } + leaf config-session-id { + type string; + description + "Config session ID"; + } + leaf admin-config-session-id { + type string; + description + "Admin config session ID"; + } + leaf alarm-notification { + type Xr-xml-session-alarm-register; + description + "is the session registered for alarm + notifications"; + } + leaf vrf-name { + type string; + description + "VRF name "; + } + leaf start-time { + type uint32; + units "second"; + description + "session start time in seconds since the Unix + Epoch"; + } + leaf elapsed-time { + type uint32; + units "second"; + description + " Elapsed time(seconds) since a session is + created"; + } + leaf last-state-change { + type uint32; + units "second"; + description + "Time(seconds) since last session state change + happened "; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper.yang new file mode 100644 index 0000000..b65598b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-man-xml-ttyagent-oper.yang @@ -0,0 +1,114 @@ +module Cisco-IOS-XR-man-xml-ttyagent-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-man-xml-ttyagent-oper"; + prefix man-xml-ttyagent-oper; + + include Cisco-IOS-XR-man-xml-ttyagent-oper-sub1 { + revision-date 2015-07-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR man-xml-ttyagent package operational data. + + This module contains definitions + for the following management objects: + netconf: NETCONF operational information + xr-xml: xr xml + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SESSION-TABLE { + description + "Common node of default, tty, ssl"; + container sessions { + description + "sessions information"; + list session { + key "session-id"; + description + "xml sessions information"; + leaf session-id { + type int32; + description + "Session Id"; + } + uses XR-XML-SESSION-INFO; + } + } + } + + container netconf { + config false; + description + "NETCONF operational information"; + container agent { + description + "NETCONF agent operational information"; + container tty { + description + "NETCONF agent over TTY"; + container sessions { + description + "Session information"; + list session { + key "session-id"; + description + "Session information"; + leaf session-id { + type int32; + description + "Session ID"; + } + uses XR-XML-SESSION-INFO; + } + } + } + } + } + container xr-xml { + config false; + description + "xr xml"; + container agent { + description + "XML agents"; + container tty { + description + "TTY sessions information"; + uses SESSION-TABLE; + } + container default { + description + "Default sessions information"; + uses SESSION-TABLE; + } + container ssl { + description + "SSL sessions information"; + uses SESSION-TABLE; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-cfg.yang new file mode 100644 index 0000000..5a8db72 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-cfg.yang @@ -0,0 +1,282 @@ +module Cisco-IOS-XR-manageability-object-tracking-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-cfg"; + prefix manageability-object-tracking-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-manageability-object-tracking-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR manageability-object-tracking package configuration. + + This module contains definitions + for the following management objects: + object-trackings: Object Tracking configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping OBJECT { + description + "Common node of threshold-weight-object, + threshold-percentage-object"; + list object { + key "object"; + description + "Track name object"; + leaf object-weight { + type int32; + default "1"; + description + "Weight of object"; + } + leaf object { + type dt1:Object-tracking-name-string; + description + "Object name"; + } + } + } + + grouping THRESHOLD-LIMITS { + description + "Common node of threshold-weight, + threshold-percentage"; + container threshold-limits { + description + "Threshold Limits"; + container threshold-up-values { + description + "Threshold limit at which track is set to UP + state"; + list threshold-up-value { + key "up"; + description + "Threshold limit at which track is set to UP + state"; + leaf threshold-down { + type int32; + default "0"; + description + "Threshold limit at which track is set to Down + state"; + } + leaf up { + type int32; + description + "Up value"; + } + } + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf track-name { + type dt1:Object-tracking-name-string; + description + "Track Name"; + } + } + container object-trackings { + description + "Object Tracking configuration"; + list object-tracking { + key "track-name"; + description + "Track name - maximum 32 characters"; + container type-interface { + description + "Track type line-protocol"; + leaf interface { + type xr:Interface-name; + description + "The name of the interface"; + } + } + container type-rtr { + description + "Track type RTR (Response Time Reporter - IPSLA)"; + leaf rtr { + type uint32 { + range "1..2048"; + } + description + "IPSLA Operation ID"; + } + } + container type-list { + description + "Track type boolean list"; + container threshold-weight { + description + "Track type threshold weight"; + uses THRESHOLD-LIMITS; + } + container threshold-percentage-object { + description + "Track type threshold percentage"; + uses OBJECT; + } + container threshold-percentage { + description + "Track type threshold percentage"; + uses THRESHOLD-LIMITS; + } + container threshold-weight-object { + description + "Track type threshold weight"; + uses OBJECT; + } + } + container type-route { + description + "Track type route ipv4"; + container ip-address { + presence "enable ip-address"; + description + "set track IPv4 address"; + leaf address { + type inet:ipv4-address-no-zone; + description + "IP address"; + } + leaf mask { + type inet:ipv4-address-no-zone; + description + "Mask"; + } + } + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF tag - use 'default' for the DEFAULT vrf"; + } + } + container type-boolean-list { + description + "Track type boolean list"; + container or-objects { + description + "Track type boolean or list"; + list or-object { + key "object"; + description + "Track name - maximum 32 characters"; + leaf object-sign { + type dt1:Object-tracking-boolean-sign; + description + "Tracked Object sign (with or without not)"; + } + leaf object { + type dt1:Object-tracking-name-string; + description + "Object name"; + } + } + } + container and-objects { + description + "Track type boolean and list"; + list and-object { + key "object-name"; + description + "Track name - maximum 32 characters"; + leaf object-sign { + type dt1:Object-tracking-boolean-sign; + description + "Tracked Object sign (with or without not)"; + } + leaf object-name { + type dt1:Object-tracking-name-string; + description + "Object name"; + } + } + } + } + leaf delay-up { + type dt1:Object-tracking-delay; + units "second"; + description + "Delay up in seconds"; + } + leaf enable { + type empty; + description + "Enable the Track"; + } + leaf delay-down { + type dt1:Object-tracking-delay; + units "second"; + description + "Track delay down time"; + } + leaf type-interface-enable { + type empty; + description + "Enable track type Interface"; + } + leaf type-route-enable { + type empty; + description + "Enable track type Route"; + } + leaf type-boolean-list-and-enable { + type empty; + description + "Enable track type boolean list and"; + } + leaf type-boolean-list-or-enable { + type empty; + description + "Enable track type boolean list or"; + } + leaf track-name { + type dt1:Object-tracking-name-string; + description + "Track name"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang new file mode 100644 index 0000000..c3b8f14 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-datatypes.yang @@ -0,0 +1,69 @@ +module Cisco-IOS-XR-manageability-object-tracking-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-datatypes"; + prefix manageability-object-tracking-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Object-tracking-boolean-sign { + type enumeration { + enum "without-not" { + value 0; + description + "Object without not"; + } + enum "with-not" { + value 1; + description + "Object with not"; + } + } + description + "Object tracking boolean sign"; + } + + typedef Object-tracking-name-string { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Object tracking name string"; + } + + typedef Object-tracking-delay { + type uint32 { + range "1..180"; + } + description + "Object tracking delay"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang new file mode 100644 index 0000000..e4bfec7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper-sub1.yang @@ -0,0 +1,414 @@ +submodule Cisco-IOS-XR-manageability-object-tracking-oper-sub1 { + belongs-to Cisco-IOS-XR-manageability-object-tracking-oper { + prefix Cisco-IOS-XR-manageability-object-tracking-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR manageability-object-tracking package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Track { + type enumeration { + enum "interface-type" { + value 1; + description + "Line protocol type"; + } + enum "route-type" { + value 2; + description + "Route type"; + } + enum "bool-and-type" { + value 3; + description + "Boolean and type"; + } + enum "bool-or-type" { + value 4; + description + "Boolean or type"; + } + enum "ipsla-type" { + value 5; + description + "Ipsla track type"; + } + enum "undefined-type" { + value 6; + description + "type undefined"; + } + enum "threshold-weight" { + value 7; + description + "type threshold weight"; + } + enum "threshold-percentage" { + value 8; + description + "type threshold percentage"; + } + enum "bfd-type" { + value 9; + description + "type bfd rtr"; + } + } + description + "Track"; + } + + grouping TRACK-INFO-BRIEF { + description + "TRACK INFO BRIEF"; + list track-info-brief { + description + "track info brief"; + container track-type-info { + description + "Track type information"; + uses TRACK-TYPE-INFO-UNION; + } + leaf tracke-name { + type string { + length "0..33"; + } + description + "Track Name"; + } + leaf type { + type Track; + description + "Track type"; + } + leaf track-state { + type boolean; + description + "Track state"; + } + } + } + + grouping DELAYED-STATE-STATUS { + description + "DELAYED STATE STATUS"; + leaf time-remaining { + type uint32; + units "second"; + description + "The time remaining in seconds for the counter to + trigger state change"; + } + leaf track-state { + type boolean; + description + "State the track will transition to. Track state. + True means track is up; False means track is + down."; + } + } + + grouping INTERFACE-TRACKING-INFO { + description + "INTERFACE TRACKING INFO"; + list interface-tracking-info { + description + "interface tracking info"; + leaf interface-name { + type string { + length "0..120"; + } + description + "Interface Name"; + } + } + } + + grouping THRESHOLD-TRACK-INFO { + description + "THRESHOLD TRACK INFO"; + list threshold-track-info { + description + "threshold track info"; + leaf object-name { + type string { + length "0..33"; + } + description + "Object name"; + } + leaf track-state { + type boolean; + description + "Track state. True means track is up; False + means track is down."; + } + leaf weight { + type uint32; + units "percentage"; + description + "Weight is the number assigned to a track object + . In case of a type threshold weight( i.e. + weighted sum list), weight is asigned by User + at the time of configuration. In case of a type + threshold percentage (i.e. percentage based + list), weight is internally computed by + (1/N)x100, where N is the number of objects in + the list."; + } + } + } + + grouping BOOL-TRACK-INFO { + description + "BOOL TRACK INFO"; + list bool-track-info { + description + "bool track info"; + leaf object-name { + type string { + length "0..33"; + } + description + "Object Name"; + } + leaf track-state { + type boolean; + description + "Track state"; + } + leaf with-not { + type boolean; + description + "Track object with Not"; + } + } + } + + grouping BFDRTR-TRACK-INFO { + description + "BFDRTR TRACK INFO"; + leaf interface-name { + type string { + length "0..120"; + } + description + "Interface Name"; + } + leaf destination-address { + type uint32; + description + "Destination Address"; + } + leaf rate { + type uint32; + description + "Rate"; + } + leaf debounce-count { + type uint32; + description + "Debounce Count"; + } + } + + grouping RTR-TRACK-INFO { + description + "RTR TRACK INFO"; + leaf ipsla-op-id { + type uint32; + description + "Op Id"; + } + leaf rtt { + type uint32; + description + "Latest RTT"; + } + leaf return-code { + type uint32; + description + "Latest Return Code"; + } + } + + grouping ROUTE-TRACK-INFO { + description + "ROUTE TRACK INFO"; + leaf prefix { + type uint32; + description + "Prefix"; + } + leaf prefix-length { + type uint32; + description + "Prefix Length"; + } + leaf vrf { + type string { + length "0..120"; + } + description + "VRF Name"; + } + leaf next-hop { + type string { + length "0..120"; + } + description + "Next Hop"; + } + } + + grouping INTF-TRACK-INFO { + description + "INTF TRACK INFO"; + leaf interface-name { + type string { + length "0..120"; + } + description + "Interface Name"; + } + } + + grouping TRACK-TYPE-INFO-UNION { + description + "TRACK TYPE INFO UNION"; + container interface-tracks { + when "../discriminant = 'interface-type'" { + description + "../discriminant = 'InterfaceType'"; + } + description + "track type interface info"; + uses INTF-TRACK-INFO; + } + container route-tracks { + when "../discriminant = 'route-type'" { + description + "../discriminant = 'RouteType'"; + } + description + "track type route info"; + uses ROUTE-TRACK-INFO; + } + container ipsla-tracks { + when "../discriminant = 'ipsla-type'" { + description + "../discriminant = 'IpslaType'"; + } + description + "track type rtr info"; + uses RTR-TRACK-INFO; + } + container bfd-tracks { + when "../discriminant = 'bfd-type'" { + description + "../discriminant = 'BfdType'"; + } + description + "track type bfdrtr info"; + uses BFDRTR-TRACK-INFO; + } + leaf discriminant { + type Track; + description + "discriminant"; + } + } + + grouping TRACK-INFO { + description + "TRACK INFO"; + list track-info { + description + "track info"; + container track-type-info { + description + "Track type information"; + uses TRACK-TYPE-INFO-UNION; + } + container bool-tracks { + description + "boolean objects"; + uses BOOL-TRACK-INFO; + } + container threshold-tracks { + description + "Threshold objects"; + uses THRESHOLD-TRACK-INFO; + } + container tracking-interaces { + description + "Tracking Interfaces"; + uses INTERFACE-TRACKING-INFO; + } + container delayed { + description + "Is the state change delay counter in progress"; + uses DELAYED-STATE-STATUS; + } + leaf tracke-name { + type string { + length "0..33"; + } + description + "Track Name"; + } + leaf type { + type Track; + description + "Track type"; + } + leaf track-state { + type boolean; + description + "Track state"; + } + leaf state-change-counter { + type uint32; + description + "State Change Counter"; + } + leaf seconds-last-change { + type uint64; + units "second"; + description + "Seconds Last Change"; + } + leaf threshold-up { + type uint32; + description + "User specified threshold upper limit"; + } + leaf threshold-down { + type uint32; + description + "User specified threshold lower limit"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper.yang new file mode 100644 index 0000000..8e21b03 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-object-tracking-oper.yang @@ -0,0 +1,105 @@ +module Cisco-IOS-XR-manageability-object-tracking-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper"; + prefix manageability-object-tracking-oper; + + import Cisco-IOS-XR-manageability-object-tracking-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-manageability-object-tracking-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR manageability-object-tracking package operational data. + + This module contains definitions + for the following management objects: + object-tracking: Object Tracking operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container object-tracking { + config false; + description + "Object Tracking operational data"; + container track-type-interface { + description + "Object Tracking Type interface info"; + uses TRACK-INFO; + } + container track-briefs { + description + "Object Tracking Track table brief"; + list track-brief { + key "track-name"; + description + "Track name - maximum 32 characters"; + leaf track-name { + type dt1:Object-tracking-name-string; + description + "Track name"; + } + uses TRACK-INFO-BRIEF; + } + } + container track-type-rtr-reachability { + description + "Object Tracking Type RTR Reachability info"; + uses TRACK-INFO; + } + container track-type-rtr-reachability-brief { + description + "Object Tracking Type RTR Reachability brief info"; + uses TRACK-INFO-BRIEF; + } + container tracks { + description + "Object Tracking Track table"; + list track { + key "track-name"; + description + "Track name - maximum 32 characters"; + leaf track-name { + type dt1:Object-tracking-name-string; + description + "Track name"; + } + uses TRACK-INFO; + } + } + container track-type-ipv4-route-brief { + description + "Object Tracking Type Ipv4 Route brief info"; + uses TRACK-INFO-BRIEF; + } + container track-type-ipv4-route { + description + "Object Tracking Type IPV4 route info"; + uses TRACK-INFO; + } + container track-type-interface-brief { + description + "Object Tracking Type Interface brief info"; + uses TRACK-INFO-BRIEF; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang new file mode 100644 index 0000000..2ff9586 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-cfg.yang @@ -0,0 +1,4848 @@ +module Cisco-IOS-XR-manageability-perfmgmt-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-cfg"; + prefix manageability-perfmgmt-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR manageability-perfmgmt package configuration. + + This module contains definitions + for the following management objects: + perf-mgmt: Performance Management configuration & operations + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pm-threshold-val-range { + type uint32 { + range "0..65536"; + } + description + "Pm threshold val range"; + } + + typedef Pm-threshold-val-range-counter32 { + type uint32 { + range "0..4294967295"; + } + description + "Pm threshold val range counter32"; + } + + typedef Pm-threshold-rearm { + type enumeration { + enum "always" { + value 0; + description + "Rearm Always"; + } + enum "window" { + value 1; + description + "Rearm after window of sampling periods"; + } + enum "toggle" { + value 2; + description + "Rearm after the first period when condition is + not met"; + } + } + description + "Pm threshold rearm"; + } + + typedef Pm-threshold-op { + type enumeration { + enum "eq" { + value 1; + description + "Equal to"; + } + enum "ne" { + value 2; + description + "Not equal to"; + } + enum "lt" { + value 3; + description + "Less than"; + } + enum "le" { + value 4; + description + "Less than or equal to"; + } + enum "gt" { + value 5; + description + "Greater than"; + } + enum "ge" { + value 6; + description + "Greater than or equal to"; + } + enum "rg" { + value 7; + description + "Not in Range"; + } + } + description + "Pm threshold op"; + } + + typedef Pid-range { + type uint32 { + range "0..4294967295"; + } + description + "Pid range"; + } + + typedef Pm-threshold-rearm-window { + type uint32 { + range "1..100"; + } + description + "Pm threshold rearm window"; + } + + grouping REG-EXP-GROUP { + description + "Common node of basic-counter-interface-template, + generic-counter-interface-template, + data-rate-interface-template"; + leaf reg-exp-group { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Enable instance filtering by regular expression"; + } + } + + grouping OUTPUT-LS-REQUESTS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-ls-requests { + presence "enable output-ls-requests"; + description + "Number of LS Requests sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OSPF-INSTANCE-TABLE { + description + "Common node of ospfv2-protocol, ospfv3-protocol"; + container ospf-instances { + description + "Monitor an instance"; + list ospf-instance { + key "instance-name"; + description + "Instance being monitored"; + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF Instance Name"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + } + + grouping INPUT-DB-DS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-db-ds { + presence "enable input-db-ds"; + description + "Number of DBD packets received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping NODE-ALL { + description + "Common node of cpu-node, memory-node, + process-node"; + container node-all { + description + "All the the nodes"; + uses TEMPLATE-NAME; + } + } + + grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL { + description + "Common node of cpu-node, memory-node, + process-nodeCommon node of cpu-node, memory-node, + process-node"; + container node-all { + description + "All the the nodes"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + } + + grouping INPUT-LSA-ACKS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-lsa-acks-lsa { + presence "enable input-lsa-acks-lsa"; + description + "Number of LSA received in LSA Acknowledgements"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-DB-DS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-db-ds-lsa { + presence "enable output-db-ds-lsa"; + description + "Number of LSA sent in DBD packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping TEMPLATE-NAME { + description + "Common node of ospfv2-protocol, ospfv3-protocol, + bgp, node, node-all, ldp-mpls, + data-rate-interface, generic-counter-interface, + basic-counter-interface"; + leaf template-name { + type string; + description + "Template name"; + } + } + + grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME { + description + "Common node of ospfv2-protocol, ospfv3-protocol, + bgp, node, node-all, ldp-mpls, + data-rate-interface, generic-counter-interface, + basic-counter-interfaceCommon node of + ospfv2-protocol, ospfv3-protocol, node, node-all, + ldp-mpls, data-rate-interface, + generic-counter-interface, + basic-counter-interface, bgp"; + leaf template-name { + type string; + description + "Template name"; + } + } + + grouping MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME { + description + "Common node of ospfv2-protocol, ospfv3-protocol, + bgp, node, node-all, ldp-mpls, + data-rate-interface, generic-counter-interface, + basic-counter-interfaceCommon node of + ospfv2-protocol, ospfv3-protocol, node, node-all, + ldp-mpls, data-rate-interface, + generic-counter-interface, + basic-counter-interface, bgpCommon node of + ospf-instance, session, pid, node, interface, + neighbor"; + leaf template-name { + type string; + description + "Template name"; + } + } + + grouping TEMPLATE-TABLE { + description + "Common node of ospfv2-protocol, ospfv3-protocol, + bgp, generic-counter-interface, + basic-counter-interface, data-rate-interface, + ldp-mpls, cpu-node, memory-node, process-node"; + container templates { + description + "Template name"; + list template { + key "template-name"; + description + "A template instance"; + leaf reg-exp-group { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Enable instance filtering by regular + expression"; + } + leaf history-persistent { + type empty; + description + "Enable persistent history statistics"; + } + leaf vrf-group { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF group configured in regular expression to + be applied"; + } + leaf sample-interval { + type uint32 { + range "1..60"; + } + units "minute"; + description + "Frequency of each sample in minutes"; + } + leaf sample-size { + type uint32 { + range "1..60"; + } + description + "Number of samples to be taken"; + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + } + } + } + + grouping SAMPLE-INTERVAL { + description + "Common node of data-rate-interface-template, + ldp-mpls-template, cpu-node-template, + memory-node-template, process-node-template"; + leaf sample-interval { + type uint32 { + range "1..60"; + } + units "minute"; + description + "Frequency of sampling in minutes"; + } + } + + grouping MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL { + description + "Common node of data-rate-interface-template, + ldp-mpls-template, cpu-node-template, + memory-node-template, process-node-templateCommon + node of ospfv2-protocol-template, + ospfv3-protocol-template, bgp-template, + basic-counter-interface-template, + generic-counter-interface-template"; + leaf sample-interval { + type uint32 { + range "1..60"; + } + units "minute"; + description + "Frequency of sampling in minutes"; + } + } + + grouping INPUT-PACKETS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-packets { + presence "enable input-packets"; + description + "Total number of packets received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-LSA-UPDATES-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-lsa-updates-lsa { + presence "enable input-lsa-updates-lsa"; + description + "Number of LSA received in LSA Updates"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping VRF-GROUP { + description + "Common node of basic-counter-interface-template, + generic-counter-interface-template, + data-rate-interface-template"; + leaf vrf-group { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Enable instance filtering by VRF name regular + expression "; + } + } + + grouping OUTPUT-LSA-UPDATES-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-lsa-updates-lsa { + presence "enable output-lsa-updates-lsa"; + description + "Number of LSA sent in LSA Updates"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-LSA-ACKS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-lsa-acks { + presence "enable input-lsa-acks"; + description + "Number of LSA Acknowledgements received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-LSA-UPDATES { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-lsa-updates { + presence "enable input-lsa-updates"; + description + "Number of LSA Updates received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-LSA-ACKS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-lsa-acks-lsa { + presence "enable output-lsa-acks-lsa"; + description + "Number of LSA sent in LSA Acknowledgements"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INTERFACE-TABLE { + description + "Common node of generic-counters, basic-counters, + data-rates"; + container interfaces { + description + "Monitor an Interface"; + list interface { + key "interface-name"; + description + "Interface being Monitored"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + } + + grouping OUTPUT-PACKETS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-packets { + presence "enable output-packets"; + description + "Total number of packets sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-LSA-UPDATES { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-lsa-updates { + presence "enable output-lsa-updates"; + description + "Number of LSA Updates sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-HELLO-PACKETS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-hello-packets { + presence "enable output-hello-packets"; + description + "Total number of packets sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping NODE-TABLE { + description + "Common node of memory, cpu"; + container nodes { + description + "Node specification"; + list node { + key "node-id"; + description + "Node instance"; + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + } + + grouping MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE { + description + "Common node of memory, cpuCommon node of cpu-node + , memory-node, process-node"; + container nodes { + description + "Node specification"; + list node { + key "node-id"; + description + "Node instance"; + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + } + } + + grouping MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE { + description + "Common node of memory, cpuCommon node of cpu-node + , memory-node, process-nodeCommon node of + cpu-node, memory-node, process-node"; + container nodes { + description + "Node specification"; + list node { + key "node-id"; + description + "Node instance"; + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + uses TEMPLATE-NAME; + } + } + } + + grouping OUTPUT-DB-DS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-db-ds { + presence "enable output-db-ds"; + description + "Number of DBD packets sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-LS-REQUESTS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-ls-requests-lsa { + presence "enable input-ls-requests-lsa"; + description + "Number of LSA received in LS Requests"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-LS-REQUESTS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-ls-requests-lsa { + presence "enable output-ls-requests-lsa"; + description + "Number of LSA sent in LS Requests"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping OUTPUT-LSA-ACKS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container output-lsa-acks { + presence "enable output-lsa-acks"; + description + "Number of LSA Acknowledgements sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-DB-DS-LSA { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-db-ds-lsa { + presence "enable input-db-ds-lsa"; + description + "Number of LSA received in DBD packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-LS-REQUESTS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-ls-requests { + presence "enable input-ls-requests"; + description + "Number of LS Requests received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + grouping INPUT-HELLO-PACKETS { + description + "Common node of ospfv2-protocol-template, + ospfv3-protocol-template"; + container input-hello-packets { + presence "enable input-hello-packets"; + description + "Number of Hello packets received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, set + to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values are + in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm type + Window)"; + } + } + } + + container perf-mgmt { + description + "Performance Management configuration & operations"; + container resources { + description + "Resources configuration"; + container tftp-resources { + presence "Indicates a tftp-resources node is configured."; + description + "Configure the TFTP server IP address and + directory name"; + leaf server-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "IP address of the TFTP server"; + } + leaf directory { + type string; + mandatory true; + description + "Directory name on TFTP server"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + container dump-local { + description + "Configure local dump parameters"; + leaf enable { + type empty; + description + "Enable data dump onto local filesystem"; + } + } + container memory-resources { + description + "Configure the memory usage limits of + performance management"; + leaf max-limit { + type int32; + units "kilobyte"; + description + "Maximum limit for memory usage (Kbytes) for + data buffers"; + } + leaf min-reserved { + type int32; + units "kilobyte"; + description + "Specify a minimum free memory (Kbytes) to be + ensured before allowing a collection request"; + } + } + } + container statistics { + description + "Templates for collection of statistics"; + container generic-counter-interface { + description + "Interface Generic GenericCounter collection + templates"; + uses TEMPLATE-TABLE; + } + container process-node { + description + "Node Process collection templates"; + uses TEMPLATE-TABLE; + } + container basic-counter-interface { + description + "Interface BasicCounter collection templates"; + uses TEMPLATE-TABLE; + } + container ospfv3-protocol { + description + "OSPF v3 Protocol collection templates"; + uses TEMPLATE-TABLE; + } + container cpu-node { + description + "Node CPU collection templates"; + uses TEMPLATE-TABLE; + } + container data-rate-interface { + description + "Interface DataRate collection templates"; + uses TEMPLATE-TABLE; + } + container memory-node { + description + "Node Memory collection templates"; + uses TEMPLATE-TABLE; + } + container ldp-mpls { + description + "MPLS LDP collection templates"; + uses TEMPLATE-TABLE; + } + container bgp { + description + "BGP collection templates"; + uses TEMPLATE-TABLE; + } + container ospfv2-protocol { + description + "OSPF v2 Protocol collection templates"; + uses TEMPLATE-TABLE; + } + } + container enable { + description + "Start data collection and/or threshold + monitoring"; + container threshold { + description + "Start threshold monitoring using a defined + template"; + container ospfv3-protocol { + description + "Threshold monitoring for OSPF v3 Protocol"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container bgp { + description + "Threshold monitoring for BGP"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container data-rate-interface { + description + "Threshold monitoring for Interface data-rates"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container ospfv2-protocol { + description + "Threshold monitoring for OSPF v2 Protocol"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container memory-node { + description + "Threshold monitoring for memory"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; + } + container generic-counter-interface { + description + "Threshold monitoring for Interface + generic-counters"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container cpu-node { + description + "Threshold monitoring for CPU"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; + } + container ldp-mpls { + description + "Threshold monitoring for LDP"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + container process-node { + description + "Threshold monitoring for process"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-TABLE; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-NODE-ALL; + } + container basic-counter-interface { + description + "Threshold monitoring for Interface + basic-counters"; + uses MANAGEABILITY-PERF-ENABLE-THRESH-CFG-TEMPLATE-NAME; + } + } + container statistics { + description + "Start periodic collection using a defined a + template"; + container generic-counter-interface { + description + "Statistics collection for generic-counters"; + uses TEMPLATE-NAME; + } + container bgp { + description + "Data collection for BGP"; + uses TEMPLATE-NAME; + } + container ospfv2-protocol { + description + "Data collection for OSPF v2 Protocol"; + uses TEMPLATE-NAME; + } + container ospfv3-protocol { + description + "Data collection for OSPF v3 Protocol"; + uses TEMPLATE-NAME; + } + container cpu-node { + description + "Collection for CPU"; + uses NODE-ALL; + uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; + } + container basic-counter-interface { + description + "Statistics collection for basic-counters"; + uses TEMPLATE-NAME; + } + container process-node { + description + "Collection for process"; + uses NODE-ALL; + uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; + } + container data-rate-interface { + description + "Statistics collection for generic-counters"; + uses TEMPLATE-NAME; + } + container memory-node { + description + "Collection for memory"; + uses NODE-ALL; + uses MANAGEABILITY-PERF-ENABLE-STATS-CFG-NODE-TABLE; + } + container ldp-mpls { + description + "Collection for labels distribution protocol"; + uses TEMPLATE-NAME; + } + } + container monitor-enable { + description + "Start data collection for a monitored instance"; + container ldp-mpls { + description + "Monitoring for LDP"; + container sessions { + description + "LDP session specification"; + list session { + key "session"; + description + "IP address of the LDP Session"; + leaf session { + type inet:ipv4-address-no-zone; + description + "IP address of the LDP Session"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + } + container ospfv3-protocol { + description + "Monitor OSPF v3 Protocol"; + uses OSPF-INSTANCE-TABLE; + } + container generic-counters { + description + "Monitoring for generic-counters"; + uses INTERFACE-TABLE; + } + container process { + description + "Collection for a single process"; + container process-nodes { + description + "Node specification"; + list process-node { + key "node-id"; + description + "Node instance"; + container pids { + description + "Process ID specification"; + list pid { + key "pid"; + description + "Specify an existing template for data + collection"; + leaf pid { + type Pid-range; + description + "Specify Process ID"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + container basic-counters { + description + "Monitoring for basic-counters"; + uses INTERFACE-TABLE; + } + container memory { + description + "Collection for memory"; + uses NODE-TABLE; + } + container ospfv2-protocol { + description + "Monitor OSPF v2 Protocol"; + uses OSPF-INSTANCE-TABLE; + } + container cpu { + description + "Collection for CPU"; + uses NODE-TABLE; + } + container bgp { + description + "Monitor BGP protocol"; + container neighbors { + description + "Monitor BGP protocol for a BGP peer"; + list neighbor { + key "peer-address"; + description + "Neighbor being monitored"; + leaf peer-address { + type inet:ipv4-address-no-zone; + description + "IP address of the Neighbor"; + } + uses MANAGEABILITY-PERF-ENABLE-MONITOR-CFG-TEMPLATE-NAME; + } + } + } + container data-rates { + description + "Monitoring for data-rates"; + uses INTERFACE-TABLE; + } + } + } + container reg-exp-groups { + description + "Configure regular expression group"; + list reg-exp-group { + key "reg-exp-group-name"; + description + "Specify regular expression group name"; + container reg-exps { + description + "Configure regular expression"; + list reg-exp { + key "reg-exp-index"; + description + "Specify regular expression index number"; + leaf reg-exp-index { + type uint32 { + range "1..100"; + } + description + "Regular expression index number"; + } + leaf reg-exp-string { + type string { + length "1..128"; + } + mandatory true; + description + "Regular expression string to match"; + } + } + } + leaf reg-exp-group-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Regular expression group name"; + } + } + } + container threshold { + description + "Container for threshold templates"; + container generic-counter-interface { + description + "Interface Generic Counter threshold + configuration"; + container generic-counter-interface-templates { + description + "Interface Generic Counter threshold templates"; + list generic-counter-interface-template { + key "template-name"; + description + "Interface Generic Counter threshold template + instance"; + container in-octets { + presence "enable in-octets"; + description + "Number of inbound octets/bytes"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container in-ucast-pkts { + presence "enable in-ucast-pkts"; + description + "Number of inbound unicast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-ucast-pkts { + presence "enable out-ucast-pkts"; + description + "Number of outbound unicast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-broadcast-pkts { + presence "enable out-broadcast-pkts"; + description + "Number of outbound broadcast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-multicast-pkts { + presence "enable out-multicast-pkts"; + description + "Number of outbound multicast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-overrun { + presence "enable input-overrun"; + description + "Number of inbound packets with overrun + errors"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-octets { + presence "enable out-octets"; + description + "Number of outbound octets/bytes"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-underrun { + presence "enable output-underrun"; + description + "Number of outbound packets with underrun + errors"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-total-errors { + presence "enable input-total-errors"; + description + "Number of inbound incorrect packets + discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-total-drops { + presence "enable output-total-drops"; + description + "Number of outbound correct packets discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-crc { + presence "enable input-crc"; + description + "Number of inbound packets discarded with + incorrect CRC"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container in-broadcast-pkts { + presence "enable in-broadcast-pkts"; + description + "Number of inbound broadcast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container in-multicast-pkts { + presence "enable in-multicast-pkts"; + description + "Number of inbound multicast packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-packets { + presence "enable out-packets"; + description + "Number of outbound packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-total-errors { + presence "enable output-total-errors"; + description + "Number of outbound incorrect packets + discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container in-packets { + presence "enable in-packets"; + description + "Number of inbound packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-unknown-proto { + presence "enable input-unknown-proto"; + description + "Number of inbound packets discarded with + unknown protocol"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-queue-drops { + presence "enable input-queue-drops"; + description + "Number of input queue drops"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-total-drops { + presence "enable input-total-drops"; + description + "Number of inbound correct packets discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-frame { + presence "enable input-frame"; + description + "Number of inbound packets with framing + errors"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; + uses REG-EXP-GROUP; + uses VRF-GROUP; + } + } + } + container ldp-mpls { + description + "MPLS LDP threshold configuration"; + container ldp-mpls-templates { + description + "MPLS LDP threshold templates"; + list ldp-mpls-template { + key "template-name"; + description + "MPLS LDP threshold template instance"; + container address-withdraw-msgs-rcvd { + presence "enable address-withdraw-msgs-rcvd"; + description + "Number of Address Withdraw messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-withdraw-msgs-rcvd { + presence "enable label-withdraw-msgs-rcvd"; + description + "Number of Label Withdraw messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container address-withdraw-msgs-sent { + presence "enable address-withdraw-msgs-sent"; + description + "Number of Address Withdraw messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-withdraw-msgs-sent { + presence "enable label-withdraw-msgs-sent"; + description + "Number of Label Withdraw messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container notification-msgs-rcvd { + presence "enable notification-msgs-rcvd"; + description + "Number of Notification messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container total-msgs-rcvd { + presence "enable total-msgs-rcvd"; + description + "Total number of messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container notification-msgs-sent { + presence "enable notification-msgs-sent"; + description + "Number of Notification messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container total-msgs-sent { + presence "enable total-msgs-sent"; + description + "Total number of messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-release-msgs-rcvd { + presence "enable label-release-msgs-rcvd"; + description + "Number of LAbel Release messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container init-msgs-rcvd { + presence "enable init-msgs-rcvd"; + description + "Number of Init messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-release-msgs-sent { + presence "enable label-release-msgs-sent"; + description + "Number of Label Release messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container init-msgs-sent { + presence "enable init-msgs-sent"; + description + "Number of Init messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-mapping-msgs-rcvd { + presence "enable label-mapping-msgs-rcvd"; + description + "Number of Label Mapping messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container keepalive-msgs-rcvd { + presence "enable keepalive-msgs-rcvd"; + description + "Number of Keepalive messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container label-mapping-msgs-sent { + presence "enable label-mapping-msgs-sent"; + description + "Number of Label Mapping messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container keepalive-msgs-sent { + presence "enable keepalive-msgs-sent"; + description + "Number of Keepalive messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container address-msgs-rcvd { + presence "enable address-msgs-rcvd"; + description + "Number of Address messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container address-msgs-sent { + presence "enable address-msgs-sent"; + description + "Number of Address messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses SAMPLE-INTERVAL; + } + } + } + container basic-counter-interface { + description + "Interface Basic Counter threshold configuration"; + container basic-counter-interface-templates { + description + "Interface Basic Counter threshold templates"; + list basic-counter-interface-template { + key "template-name"; + description + "Interface Basic Counter threshold template + instance"; + container in-octets { + presence "enable in-octets"; + description + "Number of inbound octets/bytes"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-octets { + presence "enable out-octets"; + description + "Number of outbound octets/bytes"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-queue-drops { + presence "enable output-queue-drops"; + description + "Number of outbound queue drops"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-total-errors { + presence "enable input-total-errors"; + description + "Number of inbound incorrect packets + discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-total-drops { + presence "enable output-total-drops"; + description + "Number of outbound correct packets discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container out-packets { + presence "enable out-packets"; + description + "Number of outbound packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-total-errors { + presence "enable output-total-errors"; + description + "Number of outbound incorrect packets + discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container in-packets { + presence "enable in-packets"; + description + "Number of inbound packets"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-queue-drops { + presence "enable input-queue-drops"; + description + "Number of input queue drops"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-total-drops { + presence "enable input-total-drops"; + description + "Number of inbound correct packets discarded"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; + uses REG-EXP-GROUP; + uses VRF-GROUP; + } + } + } + container bgp { + description + "BGP threshold configuration"; + container bgp-templates { + description + "BGP threshold templates"; + list bgp-template { + key "template-name"; + description + "BGP threshold template instance"; + container output-update-messages { + presence "enable output-update-messages"; + description + "Number of update messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container errors-received { + presence "enable errors-received"; + description + "Number of error notifications received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container conn-established { + presence "enable conn-established"; + description + "Number of times the connection was + established"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-messages { + presence "enable output-messages"; + description + "Number of messages sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container conn-dropped { + presence "enable conn-dropped"; + description + "Number of times the connection was dropped"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-update-messages { + presence "enable input-update-messages"; + description + "Number of update messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container errors-sent { + presence "enable errors-sent"; + description + "Number of error notifications sent"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-messages { + presence "enable input-messages"; + description + "Number of messages received"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; + } + } + } + container ospfv2-protocol { + description + "OSPF v2 Protocol threshold configuration"; + container ospfv2-protocol-templates { + description + "OSPF v2 Protocol threshold templates"; + list ospfv2-protocol-template { + key "template-name"; + description + "OSPF v2 Protocol threshold template instance"; + container checksum-errors { + presence "enable checksum-errors"; + description + "Number of packets received with checksum + errors"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses INPUT-LSA-ACKS-LSA; + uses OUTPUT-DB-DS-LSA; + uses INPUT-DB-DS-LSA; + uses INPUT-LSA-UPDATES; + uses OUTPUT-DB-DS; + uses OUTPUT-LSA-UPDATES-LSA; + uses INPUT-DB-DS; + uses INPUT-LSA-UPDATES-LSA; + uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; + uses OUTPUT-PACKETS; + uses INPUT-PACKETS; + uses OUTPUT-HELLO-PACKETS; + uses INPUT-HELLO-PACKETS; + uses OUTPUT-LS-REQUESTS; + uses OUTPUT-LSA-ACKS-LSA; + uses OUTPUT-LSA-ACKS; + uses INPUT-LSA-ACKS; + uses OUTPUT-LSA-UPDATES; + uses OUTPUT-LS-REQUESTS-LSA; + uses INPUT-LS-REQUESTS-LSA; + uses INPUT-LS-REQUESTS; + } + } + } + container cpu-node { + description + "Node CPU threshold configuration"; + container cpu-node-templates { + description + "Node CPU threshold configuration templates"; + list cpu-node-template { + key "template-name"; + description + "Node CPU threshold configuration template + instances"; + container average-cpu-used { + presence "enable average-cpu-used"; + description + "Average %CPU utilization"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type uint32 { + range "0..100"; + } + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type uint32 { + range "0..100"; + } + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container no-processes { + presence "enable no-processes"; + description + "Number of processes"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses SAMPLE-INTERVAL; + } + } + } + container data-rate-interface { + description + "Interface Data Rates threshold configuration"; + container data-rate-interface-templates { + description + "Interface Data Rates threshold templates"; + list data-rate-interface-template { + key "template-name"; + description + "Interface Data Rates threshold template + instance"; + container input-data-rate { + presence "enable input-data-rate"; + description + "Input data rate in kbps"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container bandwidth { + presence "enable bandwidth"; + description + "Bandwidth in kbps"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-packet-rate { + presence "enable output-packet-rate"; + description + "Number of Output packets per second"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-peak-pkts { + presence "enable input-peak-pkts"; + description + "Maximum number of input packets per second"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-peak-rate { + presence "enable output-peak-rate"; + description + "Peak output data rate in kbps"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-data-rate { + presence "enable output-data-rate"; + description + "Output data rate in kbps"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-packet-rate { + presence "enable input-packet-rate"; + description + "Number of input packets per second"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container output-peak-pkts { + presence "enable output-peak-pkts"; + description + "Maximum number of output packets per second"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container input-peak-rate { + presence "enable input-peak-rate"; + description + "Peak input data rate in kbps"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type Pm-threshold-val-range-counter32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type Pm-threshold-val-range-counter32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses SAMPLE-INTERVAL; + uses REG-EXP-GROUP; + uses VRF-GROUP; + } + } + } + container process-node { + description + "Node Process threshold configuration"; + container process-node-templates { + description + "Node Memory threshold templates"; + list process-node-template { + key "template-name"; + description + "Node Memory threshold template instance"; + container average-cpu-used { + presence "enable average-cpu-used"; + description + "Average %CPU utilization"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type uint32 { + range "0..100"; + } + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type uint32 { + range "0..100"; + } + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container peak-memory { + presence "enable peak-memory"; + description + "Max memory (KBytes) used since startup time"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container no-threads { + presence "enable no-threads"; + description + "Number of threads"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type uint32 { + range "0..32767"; + } + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type uint32 { + range "0..32767"; + } + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses SAMPLE-INTERVAL; + } + } + } + container memory-node { + description + "Node Memory threshold configuration"; + container memory-node-templates { + description + "Node Memory threshold configuration templates"; + list memory-node-template { + key "template-name"; + description + "Node Memory threshold configuration template + instance"; + container peak-memory { + presence "enable peak-memory"; + description + "Maximum memory (KBytes) used"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type uint32 { + range "0..4194304"; + } + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type uint32 { + range "0..4194304"; + } + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + container curr-memory { + presence "enable curr-memory"; + description + "Current memory (Bytes) in use"; + leaf operator { + type Pm-threshold-op; + description + "Operator"; + } + leaf value { + type int32; + description + "Threshold value (or start range value for + operator RG)"; + } + leaf end-range-value { + type int32; + description + "Threshold end range value (for operator RG, + set to 0 otherwise)"; + } + leaf percent { + type boolean; + description + "Set to TRUE if Specified threshold values + are in percent"; + } + leaf rearm-type { + type Pm-threshold-rearm; + description + "Configure the Rearm type"; + } + leaf rearm-window { + type Pm-threshold-rearm-window; + description + "Configure the rearm window size (for rearm + type Window)"; + } + } + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses SAMPLE-INTERVAL; + } + } + } + container ospfv3-protocol { + description + "OSPF v2 Protocol threshold configuration"; + container ospfv3-protocol-templates { + description + "OSPF v2 Protocol threshold templates"; + list ospfv3-protocol-template { + key "template-name"; + description + "OSPF v2 Protocol threshold template instance"; + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "Template Name"; + } + uses INPUT-LSA-ACKS-LSA; + uses OUTPUT-DB-DS-LSA; + uses INPUT-DB-DS-LSA; + uses INPUT-LSA-UPDATES; + uses OUTPUT-DB-DS; + uses OUTPUT-LSA-UPDATES-LSA; + uses INPUT-DB-DS; + uses INPUT-LSA-UPDATES-LSA; + uses MANAGEABILITY-PERF-THRESH-CFG-SAMPLE-INTERVAL; + uses OUTPUT-PACKETS; + uses INPUT-PACKETS; + uses OUTPUT-HELLO-PACKETS; + uses INPUT-HELLO-PACKETS; + uses OUTPUT-LS-REQUESTS; + uses OUTPUT-LSA-ACKS-LSA; + uses OUTPUT-LSA-ACKS; + uses INPUT-LSA-ACKS; + uses OUTPUT-LSA-UPDATES; + uses OUTPUT-LS-REQUESTS-LSA; + uses INPUT-LS-REQUESTS-LSA; + uses INPUT-LS-REQUESTS; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang new file mode 100644 index 0000000..e168306 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-datatypes.yang @@ -0,0 +1,36 @@ +module Cisco-IOS-XR-manageability-perfmgmt-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-datatypes"; + prefix manageability-perfmgmt-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pid-range { + type uint32 { + range "0..4294967295"; + } + description + "Pid range"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang new file mode 100644 index 0000000..12d919e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper-sub1.yang @@ -0,0 +1,719 @@ +submodule Cisco-IOS-XR-manageability-perfmgmt-oper-sub1 { + belongs-to Cisco-IOS-XR-manageability-perfmgmt-oper { + prefix Cisco-IOS-XR-manageability-perfmgmt-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR manageability-perfmgmt package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PM-INTERFACE-DATARATE-BAG { + description + "Datarate information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf input-data-rate { + type uint32; + units "bit/s"; + description + "Input datarate in 1000's of bps"; + } + leaf input-packet-rate { + type uint32; + units "packet/s"; + description + "Input packets per second"; + } + leaf output-data-rate { + type uint32; + units "bit/s"; + description + "Output datarate in 1000's of bps"; + } + leaf output-packet-rate { + type uint32; + units "packet/s"; + description + "Output packets per second"; + } + leaf input-peak-rate { + type uint32; + description + "Peak input datarate"; + } + leaf input-peak-pkts { + type uint32; + description + "Peak input packet rate"; + } + leaf output-peak-rate { + type uint32; + description + "Peak output datarate"; + } + leaf output-peak-pkts { + type uint32; + description + "Peak output packet rate"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth (in kbps)"; + } + } + + grouping PM-INTERFACE-BASIC-STATS { + description + "PM Interface Basic Counters"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds from UCT"; + } + leaf in-packets { + type uint64; + description + "Packets received"; + } + leaf in-octets { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf out-packets { + type uint64; + description + "Packets sent"; + } + leaf out-octets { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf input-total-drops { + type uint64; + description + "Inbound correct packets discarded"; + } + leaf input-queue-drops { + type uint64; + description + "Input queue drops"; + } + leaf input-total-errors { + type uint64; + description + "Inbound incorrect packets discarded"; + } + leaf output-total-drops { + type uint64; + description + "Outbound correct packets discarded"; + } + leaf output-queue-drops { + type uint64; + description + "Output queue drops"; + } + leaf output-total-errors { + type uint64; + description + "Outbound incorrect packets discarded"; + } + } + + grouping PM-INTERFACE-GENERIC-BAG { + description + "PM Interface Generic Counters"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf in-packets { + type uint64; + description + "Packets received"; + } + leaf in-octets { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf out-packets { + type uint64; + description + "Packets sent"; + } + leaf out-octets { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf in-ucast-pkts { + type uint64; + description + "Unicast packets received"; + } + leaf in-multicast-pkts { + type uint64; + description + "Multicast packets received"; + } + leaf in-broadcast-pkts { + type uint64; + description + "Broadcast packets received"; + } + leaf out-ucast-pkts { + type uint64; + description + "Unicast packets sent"; + } + leaf out-multicast-pkts { + type uint64; + description + "Multicast packets sent"; + } + leaf out-broadcast-pkts { + type uint64; + description + "Broadcast packets sent"; + } + leaf output-total-drops { + type uint32; + description + "Outbound correct packets discarded"; + } + leaf input-total-drops { + type uint32; + description + "Inbound correct packets discarded"; + } + leaf input-queue-drops { + type uint32; + description + "Input queue drops"; + } + leaf input-unknown-proto { + type uint32; + description + "Inbound packets discarded with unknown proto"; + } + leaf output-total-errors { + type uint32; + description + "Outbound incorrect packets discarded"; + } + leaf output-underrun { + type uint32; + description + "Output underruns"; + } + leaf input-total-errors { + type uint32; + description + "Inbound incorrect packets discarded"; + } + leaf input-crc { + type uint32; + description + "Inbound packets discarded with incorrect CRC"; + } + leaf input-overrun { + type uint32; + description + "Input overruns"; + } + leaf input-frame { + type uint32; + description + "Inbound framing errors"; + } + } + + grouping PM-BGP-NBR-BAG { + description + "PM BGP Neighbor Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf input-messages { + type uint32; + description + "Number of messages received"; + } + leaf output-messages { + type uint32; + description + "Number of messages sent"; + } + leaf input-update-messages { + type uint32; + description + "Number of update messages received"; + } + leaf output-update-messages { + type uint32; + description + "Number of update messages sent"; + } + leaf conn-established { + type uint32; + description + "Number of times the connection was established"; + } + leaf conn-dropped { + type uint32; + description + "Number of times connection was dropped"; + } + leaf errors-received { + type uint32; + description + "Number of error notifications received on the + connection"; + } + leaf errors-sent { + type uint32; + description + "Number of error notifications sent on the + connection"; + } + } + + grouping PM-NODE-MEM-BAG { + description + "PM System Resources Memory Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf curr-memory { + type uint32; + units "byte"; + description + "Current application memory (Bytes) in use"; + } + leaf peak-memory { + type uint32; + units "megabyte"; + description + "Max. system memory (MBytes) used since bootup"; + } + } + + grouping PM-NODE-PROCESS-BAG { + description + "PM Process CPU and Memory Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf peak-memory { + type uint32; + units "kilobyte"; + description + "Max. dynamic memory (KBytes) used since startup + time"; + } + leaf average-cpu-used { + type uint32; + description + "Average %CPU utilization"; + } + leaf no-threads { + type uint32; + description + "Number of threads"; + } + } + + grouping PM-NODE-CPU-BAG { + description + "PM System Resources CPU Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf no-processes { + type uint32; + description + "Number of processes in the system"; + } + leaf average-cpu-used { + type uint32; + description + "Average system %CPU utilization"; + } + } + + grouping PM-MPLS-LDP-BAG { + description + "PM MPLS LDP Neighbor bag"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf total-msgs-sent { + type uint16; + description + "Total messages sent"; + } + leaf total-msgs-rcvd { + type uint16; + description + "Total messages received"; + } + leaf init-msgs-sent { + type uint16; + description + "Init messages sent"; + } + leaf init-msgs-rcvd { + type uint16; + description + "Tnit messages received"; + } + leaf address-msgs-sent { + type uint16; + description + "Address messages sent"; + } + leaf address-msgs-rcvd { + type uint16; + description + "Address messages received"; + } + leaf address-withdraw-msgs-sent { + type uint16; + description + "Address withdraw messages sent"; + } + leaf address-withdraw-msgs-rcvd { + type uint16; + description + "Address withdraw messages received"; + } + leaf label-mapping-msgs-sent { + type uint16; + description + "Label mapping messages sent"; + } + leaf label-mapping-msgs-rcvd { + type uint16; + description + "Label mapping messages received"; + } + leaf label-withdraw-msgs-sent { + type uint16; + description + "Label withdraw messages sent"; + } + leaf label-withdraw-msgs-rcvd { + type uint16; + description + "Label withdraw messages received"; + } + leaf label-release-msgs-sent { + type uint16; + description + "Label release messages sent"; + } + leaf label-release-msgs-rcvd { + type uint16; + description + "Label release messages received"; + } + leaf notification-msgs-sent { + type uint16; + description + "Notification messages sent"; + } + leaf notification-msgs-rcvd { + type uint16; + description + "Notification messages received"; + } + leaf keepalive-msgs-sent { + type uint16; + description + "Keepalive messages sent"; + } + leaf keepalive-msgs-rcvd { + type uint16; + description + "Keepalive messages received"; + } + } + + grouping PM-OSPF-V3PROTO-BAG { + description + "PM OSPF v3 Protocol Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf input-packets { + type uint32; + description + "Total number of packets received"; + } + leaf output-packets { + type uint32; + description + "Total number of packets sent"; + } + leaf input-hello-packets { + type uint32; + description + "Number of Hello packets received"; + } + leaf output-hello-packets { + type uint32; + description + "Number of Hello packets sent"; + } + leaf input-db-ds { + type uint32; + description + "Number of DBD packets received"; + } + leaf input-db-ds-lsa { + type uint32; + description + "Number of LSA received in DBD packets"; + } + leaf output-db-ds { + type uint32; + description + "Number of DBD packets sent"; + } + leaf output-db-ds-lsa { + type uint32; + description + "Number of LSA sent in DBD packets"; + } + leaf input-ls-requests { + type uint32; + description + "Number of LS Requests received"; + } + leaf input-ls-requests-lsa { + type uint32; + description + "Number of LSA received in LS Requests"; + } + leaf output-ls-requests { + type uint32; + description + "Number of LS Requests sent"; + } + leaf output-ls-requests-lsa { + type uint32; + description + "Number of LSA sent in LS Requests"; + } + leaf input-lsa-updates { + type uint32; + description + "Number of LSA Updates received"; + } + leaf input-lsa-updates-lsa { + type uint32; + description + "Number of LSA received in LSA Updates"; + } + leaf output-lsa-updates { + type uint32; + description + "Number of LSA Updates sent"; + } + leaf output-lsa-updates-lsa { + type uint32; + description + "Number of LSA sent in LSA Updates"; + } + leaf input-lsa-acks { + type uint32; + description + "Number of LSA Acknowledgements received"; + } + leaf input-lsa-acks-lsa { + type uint32; + description + "Number of LSA received in LSA Acknowledgements"; + } + leaf output-lsa-acks { + type uint32; + description + "Number of LSA Acknowledgements sent"; + } + leaf output-lsa-acks-lsa { + type uint32; + description + "Number of LSA sent in LSA Acknowledgements"; + } + } + + grouping PM-OSPF-V2PROTO-BAG { + description + "PM OSPF v2 Protocol Information"; + leaf time-stamp { + type uint64; + units "second"; + description + "Timestamp of sample in seconds drom UCT"; + } + leaf input-packets { + type uint32; + description + "Total number of packets received"; + } + leaf output-packets { + type uint32; + description + "Total number of packets sent"; + } + leaf input-hello-packets { + type uint32; + description + "Number of Hello packets received"; + } + leaf output-hello-packets { + type uint32; + description + "Number of Hello packets sent"; + } + leaf input-db-ds { + type uint32; + description + "Number of DBD packets received"; + } + leaf input-db-ds-lsa { + type uint32; + description + "Number of LSA received in DBD packets"; + } + leaf output-db-ds { + type uint32; + description + "Number of DBD packets sent"; + } + leaf output-db-ds-lsa { + type uint32; + description + "Number of LSA sent in DBD packets"; + } + leaf input-ls-requests { + type uint32; + description + "Number of LS Requests received"; + } + leaf input-ls-requests-lsa { + type uint32; + description + "Number of LSA received in LS Requests"; + } + leaf output-ls-requests { + type uint32; + description + "Number of LS Requests sent"; + } + leaf output-ls-requests-lsa { + type uint32; + description + "Number of LSA sent in LS Requests"; + } + leaf input-lsa-updates { + type uint32; + description + "Number of LSA Updates received"; + } + leaf input-lsa-updates-lsa { + type uint32; + description + "Number of LSA received in LSA Updates"; + } + leaf output-lsa-updates { + type uint32; + description + "Number of LSA Updates sent"; + } + leaf output-lsa-updates-lsa { + type uint32; + description + "Number of LSA sent in LSA Updates"; + } + leaf input-lsa-acks { + type uint32; + description + "Number of LSA Acknowledgements received"; + } + leaf input-lsa-acks-lsa { + type uint32; + description + "Number of LSA received in LSA Acknowledgements"; + } + leaf output-lsa-acks { + type uint32; + description + "Number of LSA Acknowledgements sent"; + } + leaf output-lsa-acks-lsa { + type uint32; + description + "Number of LSA sent in LSA Acknowledgements"; + } + leaf checksum-errors { + type uint32; + description + "Number of packets received with checksum errors"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper.yang new file mode 100644 index 0000000..9c9f889 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-manageability-perfmgmt-oper.yang @@ -0,0 +1,402 @@ +module Cisco-IOS-XR-manageability-perfmgmt-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper"; + prefix manageability-perfmgmt-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-manageability-perfmgmt-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR manageability-perfmgmt package operational data. + + This module contains definitions + for the following management objects: + perf-mgmt: Performance Management agent operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pm-process-id { + type int32; + description + "Pm process id"; + } + + typedef Pm-sample-id { + type int32; + description + "Pm sample id"; + } + + grouping MPLS { + description + "Common node of periodic, monitor"; + container mpls { + description + "Collected MPLS data"; + container ldp-neighbors { + description + "LDP neighbors for which statistics are + collected"; + list ldp-neighbor { + key "nbr"; + description + "Samples for a particular LDP neighbor"; + container samples { + description + "Samples for a particular LDP neighbor"; + list sample { + key "sample-id"; + description + "LDP neighbor statistics sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-MPLS-LDP-BAG; + } + } + leaf nbr { + type inet:ipv4-address-no-zone; + description + "Neighbor Address"; + } + } + } + } + } + + grouping INTERFACE { + description + "Common node of periodic, monitor"; + container interface { + description + "Collected Interface data"; + container generic-counter-interfaces { + description + "Interfaces for which Generic Counters are + collected"; + list generic-counter-interface { + key "interface-name"; + description + "Samples for a particular interface"; + container samples { + description + "Generic Counter samples for an interface"; + list sample { + key "sample-id"; + description + "Generic Counters sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-INTERFACE-GENERIC-BAG; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container basic-counter-interfaces { + description + "Interfaces for which Basic Counters are + collected"; + list basic-counter-interface { + key "interface-name"; + description + "Samples for a particular interface"; + container samples { + description + "Basic Counter samples for an interface"; + list sample { + key "sample-id"; + description + "Basic Counters sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-INTERFACE-BASIC-STATS; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + container data-rate-interfaces { + description + "Interfaces for which Data Rates are collected"; + list data-rate-interface { + key "interface-name"; + description + "Samples for a particular interface"; + container samples { + description + "Data Rate samples for an interface"; + list sample { + key "sample-id"; + description + "Data Rates sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-INTERFACE-DATARATE-BAG; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } + } + } + + grouping NODE-TABLE { + description + "Common node of periodic, monitor"; + container nodes { + description + "Nodes for which data is collected"; + list node { + key "node-id"; + description + "Node Instance"; + container sample-xr { + description + "Node CPU data"; + list sample { + key "sample-id"; + description + "Node CPU data sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-NODE-CPU-BAG; + } + } + container processes { + description + "Processes data"; + list process { + key "process-id"; + description + "Process data"; + container samples { + description + "Process data"; + list sample { + key "sample-id"; + description + "Process data sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-NODE-PROCESS-BAG; + } + } + leaf process-id { + type Pm-process-id; + description + "Process ID"; + } + } + } + container samples { + description + "Node Memory data"; + list sample { + key "sample-id"; + description + "Node Memory data sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-NODE-MEM-BAG; + } + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + + grouping OSPF { + description + "Common node of periodic, monitor"; + container ospf { + description + "Collected OSPF data"; + container ospfv2-protocol-instances { + description + "OSPF v2 instances for which protocol statistics + are collected"; + list ospfv2-protocol-instance { + key "instance-name"; + description + "Protocol samples for a particular OSPF v2 + instance"; + container samples { + description + "Sample Table for an OSPV v2 instance"; + list sample { + key "sample-id"; + description + "Generic Counters sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-OSPF-V2PROTO-BAG; + } + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF Instance Name"; + } + } + } + container ospfv3-protocol-instances { + description + "OSPF v3 instances for which protocol statistics + are collected"; + list ospfv3-protocol-instance { + key "instance-name"; + description + "Protocol samples for a particular OSPF v3 + instance"; + container samples { + description + "Sample Table for an OSPV v3 instance"; + list sample { + key "sample-id"; + description + "Generic Counters sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-OSPF-V3PROTO-BAG; + } + } + leaf instance-name { + type xr:Cisco-ios-xr-string; + description + "OSPF Instance Name"; + } + } + } + } + } + + grouping BGP { + description + "Common node of periodic, monitor"; + container bgp { + description + "Collected BGP data"; + container bgp-neighbors { + description + "Neighbors for which statistics are collected"; + list bgp-neighbor { + key "ip-address"; + description + "Samples for particular neighbor"; + container samples { + description + "Sample Table for a BGP neighbor"; + list sample { + key "sample-id"; + description + "Neighbor statistics sample"; + leaf sample-id { + type Pm-sample-id; + description + "Sample ID"; + } + uses PM-BGP-NBR-BAG; + } + } + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "BGP Neighbor Identifier"; + } + } + } + } + } + + container perf-mgmt { + config false; + description + "Performance Management agent operational data"; + container periodic { + description + "Data from periodic requests"; + uses OSPF; + uses MPLS; + uses NODE-TABLE; + uses BGP; + uses INTERFACE; + } + container monitor { + description + "Data from monitor (one history period) requests"; + uses OSPF; + uses MPLS; + uses NODE-TABLE; + uses BGP; + uses INTERFACE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mdrv-lib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mdrv-lib-cfg.yang new file mode 100644 index 0000000..9b8a6b3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mdrv-lib-cfg.yang @@ -0,0 +1,73 @@ +module Cisco-IOS-XR-mdrv-lib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mdrv-lib-cfg"; + prefix mdrv-lib-cfg; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mdrv-lib package configuration. + + This module contains definitions + for the following management objects: + fast-shutdown: Fast Shutdown configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf fast-shutdown { + type empty; + description + "Enable Fast Shutdown for this interface"; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + leaf mac-addr { + type yang:mac-address; + description + "Set the Mac address on an interface"; + } + } + container fast-shutdown { + description + "Fast Shutdown configuration"; + leaf ethernet { + type empty; + description + "Enable Fast Shutdown for all Ethernet interfaces"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-cfg.yang new file mode 100644 index 0000000..be9718a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-cfg.yang @@ -0,0 +1,73 @@ +module Cisco-IOS-XR-mpls-io-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-cfg"; + prefix mpls-io-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-io package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-18 { + description + "IOS XR 6.2.2 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container mpls { + description + "MPLS configuration under an interface"; + container label-security { + description + "MPLS label security"; + leaf multi-label-drop { + type empty; + description + "Enable drop of multi-labelled incoming packets + on a Interface"; + } + leaf rpf { + type empty; + description + "Enable MPLS RPF for incoming packets on a + Interface"; + } + } + leaf mtu { + type uint32 { + range "68..65535"; + } + description + "Set the MPLS MTU for the interface"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper-sub1.yang new file mode 100644 index 0000000..a30cfec --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper-sub1.yang @@ -0,0 +1,58 @@ +submodule Cisco-IOS-XR-mpls-io-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-io-oper { + prefix Cisco-IOS-XR-mpls-io-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-io package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-18 { + description + "IOS XR 6.2.2 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MPLS-IO-SHOW-INTF-INFO { + description + "MPLS EA information for a particular Interface"; + leaf mtu { + type uint32; + description + "MTU for fragmentation"; + } + leaf bkp-label-stack-depth { + type uint8; + description + "Bkp Label Stack Depth"; + } + leaf srte-label-stack-depth { + type uint8; + description + "Srte Label Stack Depth"; + } + leaf pri-label-stack-depth { + type uint8; + description + "Pri Label Stack Depth"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper.yang new file mode 100644 index 0000000..c94e82a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-io-oper.yang @@ -0,0 +1,115 @@ +module Cisco-IOS-XR-mpls-io-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-io-oper"; + prefix mpls-io-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-io-oper-sub1 { + revision-date 2017-05-18; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-io package operational data. + + This module contains definitions + for the following management objects: + mpls-ea: MPLS IO EA operational data + mpls-ma: mpls ma + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-18 { + description + "IOS XR 6.2.2 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container mpls-ea { + config false; + description + "MPLS IO EA operational data"; + container nodes { + description + "NODE container class for MPLS IO EA operational + data"; + list node { + key "node-name"; + description + "Per node MPLS IO EA operational data"; + container interfaces { + description + "MPLS IO EA Interfaces information "; + list interface { + key "interface-name"; + description + "MPLS IO EA NODE Interface data "; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-IO-SHOW-INTF-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } + container mpls-ma { + config false; + description + "mpls ma"; + container nodes { + description + "NODE container class for MPLS IO MA operational + data"; + list node { + key "node-name"; + description + "Per node MPLS IO MA operational data"; + container interfaces { + description + "MPLS IO MA Interfaces information "; + list interface { + key "interface-name"; + description + "MPLS IO MA NODE Interface data "; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-IO-SHOW-INTF-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang new file mode 100644 index 0000000..4505ae7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg-datatypes.yang @@ -0,0 +1,144 @@ +module Cisco-IOS-XR-mpls-ldp-cfg-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg-datatypes"; + prefix mpls-ldp-cfg-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp-cfg-datat package configuration. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-ldp-nbr-password { + type enumeration { + enum "disable" { + value 1; + description + "Disable the global default password for this + neighbor"; + } + enum "specified" { + value 2; + description + "Specify a password for this neighbor"; + } + } + description + "Mpls ldp nbr password"; + } + + typedef Mpls-ldp-downstream-on-demand { + type enumeration { + enum "peer-acl" { + value 1; + description + "Downstream on Demand peers permitted by ACL"; + } + } + description + "Mpls ldp downstream on demand"; + } + + typedef Mpls-ldp-router-id { + type enumeration { + enum "address" { + value 1; + description + "Use given IP address as LDP Router ID"; + } + } + description + "Mpls ldp router id"; + } + + typedef Mpls-ldp-interval-time { + type uint32 { + range "1..65535"; + } + description + "Mpls ldp interval time"; + } + + typedef Mpls-ldp-hold-time { + type uint32 { + range "1..65535"; + } + description + "Mpls ldp hold time"; + } + + typedef Mpls-ldpaf-name { + type enumeration { + enum "ipv4" { + value 4; + description + "IPv4"; + } + enum "ipv6" { + value 6; + description + "IPv6"; + } + } + description + "Mpls ldpaf name"; + } + + typedef Mpls-ldp-session-protection { + type enumeration { + enum "all" { + value 1; + description + "Protect all peer sessions"; + } + enum "for" { + value 2; + description + "Protect peer session(s) permitted by peer ACL"; + } + enum "all-with-duration" { + value 3; + description + "Protect all peer sessions and holdup protection + for given duration"; + } + enum "for-with-duration" { + value 4; + description + "Protect peer session(s) permitted by peer ACL + and holdup protection for given duration"; + } + enum "all-with-forever" { + value 5; + description + "Protect all peer sessions and holdup protection + forever"; + } + enum "for-with-forever" { + value 6; + description + "Protect peer session(s) permitted by peer ACL + and holdup protection forever"; + } + } + description + "Mpls ldp session protection"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg.yang new file mode 100644 index 0000000..3778ea4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-cfg.yang @@ -0,0 +1,1831 @@ +module Cisco-IOS-XR-mpls-ldp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-cfg"; + prefix mpls-ldp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp package configuration. + + This module contains definitions + for the following management objects: + mpls-ldp: MPLS LDP configuration + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-ldp-nbr-password { + type enumeration { + enum "disable" { + value 1; + description + "Disable the global default password for this + neighbor"; + } + enum "specified" { + value 2; + description + "Specify a password for this neighbor"; + } + } + description + "Mpls ldp nbr password"; + } + + typedef Mpls-ldp-label-allocation { + type enumeration { + enum "acl" { + value 1; + description + "Allocate label for prefixes permitted by ACL"; + } + enum "host" { + value 2; + description + "Allocate label for host routes only"; + } + } + description + "Mpls ldp label allocation"; + } + + typedef Mpls-ldp-downstream-on-demand { + type enumeration { + enum "peer-acl" { + value 1; + description + "Downstream on Demand peers permitted by ACL"; + } + } + description + "Mpls ldp downstream on demand"; + } + + typedef Mldp-policy-mode { + type enumeration { + enum "inbound" { + value 1; + description + "Inbound route policy"; + } + enum "outbound" { + value 2; + description + "Outbound route policy"; + } + } + description + "Mldp policy mode"; + } + + typedef Mpls-ldp-targeted-accept { + type enumeration { + enum "all" { + value 1; + description + "Accept targeted hello from all"; + } + enum "from" { + value 2; + description + "Accept targeted hello from peer ACL"; + } + } + description + "Mpls ldp targeted accept"; + } + + typedef Mpls-ldp-interval-time { + type uint32 { + range "1..65535"; + } + description + "Mpls ldp interval time"; + } + + typedef Mpls-ldp-mesh-group-id { + type uint32 { + range "0..4294967295"; + } + description + "Mpls ldp mesh group id"; + } + + typedef Mpls-ldp-exp-null { + type enumeration { + enum "all" { + value 1; + description + "Advertise explicit-null for all connected + prefixes to all peers"; + } + enum "for" { + value 2; + description + "Advertise explicit-null for prefix(es) + permitted by prefix ACL"; + } + enum "to" { + value 3; + description + "Advertise explicit-null for all connected + prefixes to peer(s) permitted by peer ACL"; + } + enum "for-to" { + value 4; + description + "Advertise explicit-null for prefix(es) + permitted by prefix ACL to peer(s) permitted by + peer ACL"; + } + } + description + "Mpls ldp exp null"; + } + + typedef Mpls-ldp-hold-time { + type uint32 { + range "1..65535"; + } + description + "Mpls ldp hold time"; + } + + typedef Mpls-ldp-dscp { + type uint32 { + range "0..63"; + } + description + "Mpls ldp dscp"; + } + + typedef Mpls-ldpaf-name { + type enumeration { + enum "ipv4" { + value 4; + description + "IPv4"; + } + enum "ipv6" { + value 6; + description + "IPv6"; + } + } + description + "Mpls ldpaf name"; + } + + typedef Mpls-ldp-transport-address { + type enumeration { + enum "interface" { + value 1; + description + "Use interface IP address"; + } + enum "address" { + value 2; + description + "Use given IP address"; + } + } + description + "Mpls ldp transport address"; + } + + typedef Mpls-ldp-session-protection { + type enumeration { + enum "all" { + value 1; + description + "Protect all peer sessions"; + } + enum "for" { + value 2; + description + "Protect peer session(s) permitted by peer ACL"; + } + enum "all-with-duration" { + value 3; + description + "Protect all peer sessions and holdup protection + for given duration"; + } + enum "for-with-duration" { + value 4; + description + "Protect peer session(s) permitted by peer ACL + and holdup protection for given duration"; + } + enum "all-with-forever" { + value 5; + description + "Protect all peer sessions and holdup protection + forever"; + } + enum "for-with-forever" { + value 6; + description + "Protect peer session(s) permitted by peer ACL + and holdup protection forever"; + } + } + description + "Mpls ldp session protection"; + } + + typedef Mpls-ldp-label-advertise { + type enumeration { + enum "for" { + value 1; + description + "Advertise label for prefix(es) permitted by + prefix ACL"; + } + enum "for-to" { + value 2; + description + "Advertise label for prefix(es) permitted by + prefix ACL to peer(s) permitted by peer ACL"; + } + } + description + "Mpls ldp label advertise"; + } + + typedef Mpls-ldp-advertise-bgp-acl { + type enumeration { + enum "peer-acl" { + value 1; + description + "BGP prefixes advertised to peers permitted by + ACL"; + } + } + description + "Mpls ldp advertise bgp acl"; + } + + grouping ENABLE { + description + "Common node of mldp, vrf"; + leaf enable { + type empty; + description + "Enable Multicast Label Distribution Protocol + (mLDP)"; + } + } + + grouping AF-TABLE { + description + "Common node of default-vrf, vrf"; + container afs { + description + "Address Family specific operational data"; + list af { + key "af-name"; + description + "Operational data for given Address Family"; + container recursive-forwarding { + description + "Enable recursive forwarding"; + leaf enable { + type empty; + description + "Enable recursive forwarding"; + } + leaf policy { + type string { + length "1..64"; + } + description + "Recursive forwarding policy name"; + } + } + container mldp-recursive-fec { + description + "MPLS mLDP Recursive FEC"; + leaf enable { + type empty; + description + "Enable MPLS mLDP Recursive FEC"; + } + leaf policy { + type string { + length "1..64"; + } + description + "Route policy name"; + } + } + container neighbor-policies { + description + "MLDP neighbor policies"; + list neighbor-policy { + key "root-address policy-mode"; + description + "Route Policy"; + leaf root-address { + type inet:ipv4-address-no-zone; + description + "Neighbor Address"; + } + leaf policy-mode { + type Mldp-policy-mode; + description + "Inbound/Outbound Policy"; + } + leaf route-policy { + type string { + length "1..64"; + } + mandatory true; + description + "Route policy name"; + } + } + } + container mo-frr { + description + "MPLS mLDP MoFRR"; + leaf enable { + type empty; + description + "Enable MPLS mLDP MoFRR"; + } + leaf policy { + type string { + length "1..64"; + } + description + "Route policy name"; + } + } + container make-before-break { + description + "MPLS mLDP Make-Before-Break configuration"; + container signaling { + description + "Enable MPLS mLDP MBB signaling"; + leaf forward-delay { + type uint32 { + range "0..600"; + } + units "second"; + description + "Forwarding Delay in Seconds"; + } + leaf delete-delay { + type uint32 { + range "0..60"; + } + units "second"; + description + "Delete Delay in seconds"; + } + } + leaf policy { + type string { + length "1..64"; + } + description + "Route policy name"; + } + } + container csc { + description + "MPLS mLDP CSC"; + leaf enable { + type empty; + description + "Enable MPLS mLDP CSC"; + } + } + leaf enable { + type empty; + description + "Enable Multicast Label Distribution Protocol + (mLDP) under AF."; + } + leaf mldp-rib-unicast-always { + type empty; + description + "Enable MPLS MLDP RIB unicast-always + configuration"; + } + leaf af-name { + type Mpls-ldpaf-name; + description + "Address Family name"; + } + } + } + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-ldp { + description + "MPLS-LDP-STD-MIB notification configuration"; + leaf session-up { + type empty; + description + "Enable mplsLdpSessionUp notification"; + } + leaf init-session-threshold-exceeded { + type empty; + description + "Enable mplsLdpInitSessionThresholdExceeded + notification"; + } + leaf session-down { + type empty; + description + "Enable mplsLdpSessionDown notification"; + } + } + } + container mpls-ldp { + description + "MPLS LDP configuration"; + container default-vrf { + description + "Global VRF attribute configuration for MPLS LDP"; + container afs { + description + "Address Family specific configuration for MPLS + LDP"; + list af { + key "af-name"; + description + "Configure data for given Address Family"; + container label { + description + "Configure Label policies and control"; + container remote { + description + "Configure remote/peer label policies and + control"; + container accept { + description + "Configure inbound label acceptance"; + container peer-accept-policies { + description + "Configuration related to neighbors for + inbound label acceptance"; + list peer-accept-policy { + key "lsr-id label-space-id"; + description + "Control acceptance of labels from a + neighbor for prefix(es) using ACL"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + leaf prefix-acl-name { + type string; + mandatory true; + description + "Name of prefix ACL"; + } + } + } + } + } + container local { + description + "Configure local label policies and control"; + container advertise { + description + "Configure outbound label advertisement"; + container peer-advertise-policies { + description + "Configure peer centric outbound label + advertisement using ACL"; + list peer-advertise-policy { + key "lsr-id label-space-id"; + description + "Control advertisement of prefix(es) using + ACL"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + leaf prefix-acl-name { + type string; + mandatory true; + description + "Name of prefix ACL"; + } + } + } + container prefix-advertise-policies { + description + "Configure prefix centric outbound label + advertisement using ACL"; + list prefix-advertise-policy { + key "prefix-acl-name"; + description + "Control advertisement of prefix(es) using + ACL"; + leaf prefix-acl-name { + type xr:Cisco-ios-xr-string; + description + "Name of prefix ACL"; + } + leaf advertise-type { + type Mpls-ldp-label-advertise; + description + "Label advertise type"; + } + leaf peer-acl-name { + when "../advertise-type = 'for-to'" { + description + "../AdvertiseType = ForTo"; + } + type string; + description + "Name of peer ACL"; + } + } + } + container explicit-null { + description + "Configure advertisment of explicit-null + for connected prefixes."; + leaf explicit-null-type { + type Mpls-ldp-exp-null; + description + "Explicit Null command variant"; + } + leaf prefix-acl-name { + when "../explicit-null-type = 'for' or ../explicit-null-type = 'for-to'" { + description + "../ExplicitNullType = For or . + ./ExplicitNullType = ForTo"; + } + type string; + description + "Name of prefix ACL"; + } + leaf peer-acl-name { + when "../explicit-null-type = 'to' or ../explicit-null-type = 'for-to'" { + description + "../ExplicitNullType = To or . + ./ExplicitNullType = ForTo"; + } + type string; + description + "Name of peer ACL"; + } + } + container interfaces { + description + "Configure outbound label advertisement for + an interface"; + list interface { + key "interface-name"; + description + "Control advertisement of interface's host + IP address"; + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + } + } + leaf disable { + type empty; + description + "Disable label advertisement"; + } + } + container allocate { + description + "Control local label allocation for + prefix(es)"; + leaf allocation-type { + type Mpls-ldp-label-allocation; + description + "Label allocation type"; + } + leaf prefix-acl-name { + when "../allocation-type = 'acl'" { + description + "../AllocationType = ACL"; + } + type string; + description + "Name of prefix ACL"; + } + } + leaf implicit-null-override { + type string; + description + "Control use of implicit-null label for set + of prefix(es)"; + } + leaf default-route { + type empty; + description + "Enable MPLS forwarding for default route"; + } + } + } + container discovery { + description + "Configure Discovery parameters"; + container targeted-hello-accept { + description + "Configure acceptance from and responding to + targeted hellos."; + leaf accept-type { + type Mpls-ldp-targeted-accept; + description + "Type of acceptance"; + } + leaf peer-acl-name { + when "../accept-type = 'from'" { + description + "../AcceptType = From"; + } + type string; + description + "Name of peer ACL"; + } + } + leaf transport-address { + type inet:ip-address-no-zone; + description + "Global discovery transport address for + address family"; + } + } + container traffic-engineering { + description + "MPLS Traffic Engingeering parameters for LDP"; + container auto-tunnel-mesh { + description + "MPLS Traffic Engineering auto-tunnel mesh + parameters for LDP"; + container group-ids { + description + "Enable interfaces in specific MPLS TE + auto-tunnel mesh-groups"; + list group-id { + key "mesh-group-id"; + description + "Auto-mesh group identifier to enable"; + leaf mesh-group-id { + type Mpls-ldp-mesh-group-id; + description + "Mesh group ID"; + } + } + } + leaf group-all { + type empty; + description + "Enable all MPLS TE auto-tunnel mesh-group + interfaces"; + } + } + } + container neighbor { + description + "Configuration related to Neighbors"; + container addresses { + description + "Configuration related to neighbors using + neighbor address"; + list address { + key "ip-address"; + description + "IP address based configuration related to a + neighbor"; + leaf targeted { + type empty; + description + "Establish targeted session with given + address"; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "The IP address"; + } + } + } + } + container redistribution-protocol { + description + "MPLS LDP configuration for protocol + redistribution"; + container bgp { + description + "MPLS LDP configuration for protocol + redistribution"; + container as { + description + "MPLS LDP configuration for protocol + redistribution"; + leaf as-xx { + type uint32 { + range "0..65535"; + } + description + "First half of BGP AS number in XX.YY + format. Mandatory Must be a non-zero + value if second half is zero."; + } + leaf as-yy { + type uint32 { + range "0..4294967295"; + } + description + "Second half of BGP AS number in XX.YY + format. Mandatory Must be a non-zero value + if first half is zero."; + } + } + container advertise-to { + description + "ACL containing list of neighbors for BGP + route redistribution"; + leaf type { + type Mpls-ldp-advertise-bgp-acl; + description + "advertise to peer acl type"; + } + leaf peer-acl-name { + when "../type = 'peer-acl'" { + description + "../Type = PeerACL"; + } + type string; + description + "Name of peer ACL"; + } + } + } + } + leaf enable { + type empty; + description + "Enable Address Family"; + } + leaf af-name { + type Mpls-ldpaf-name; + description + "Address Family type"; + } + } + } + container global { + description + "Default VRF Global configuration for MPLS LDP"; + container session { + description + "LDP Session parameters"; + container protection { + description + "Configure Session Protection parameters"; + leaf protection-type { + type Mpls-ldp-session-protection; + description + "Session protection type"; + } + leaf peer-acl-name { + when "../protection-type = 'for' or ../protection-type = 'for-with-duration' or ../protection-type = 'for-with-forever'" { + description + "../ProtectionType = For or . + ./ProtectionType = ForWithDuration or . + ./ProtectionType = ForWithForever"; + } + type string; + description + "Name of peer ACL"; + } + leaf duration { + when "../protection-type = 'all-with-duration' or ../protection-type = 'for-with-duration'" { + description + "../ProtectionType = AllWithDuration or . + ./ProtectionType = ForWithDuration"; + } + type uint32 { + range "30..2147483"; + } + description + "Holdup duration"; + } + } + container downstream-on-demand { + description + "ACL with the list of neighbors configured for + Downstream on Demand"; + leaf type { + type Mpls-ldp-downstream-on-demand; + description + "Downstream on demand type"; + } + leaf peer-acl-name { + when "../type = 'peer-acl'" { + description + "../Type = PeerACL"; + } + type string; + description + "Name of peer ACL"; + } + } + } + container neighbor { + description + "Configuration related to Neighbors"; + container ldp-ids { + description + "Configuration related to Neighbors using LDP + Id"; + list ldp-id { + key "lsr-id label-space-id"; + description + "LDP ID based configuration related to a + neigbor"; + container password { + description + "Password for MD5 authentication for this + neighbor"; + leaf command-type { + type Mpls-ldp-nbr-password; + description + "Command type for password configuration"; + } + leaf password { + when "../command-type = 'specified'" { + description + "../CommandType = Specified"; + } + type xr:Proprietary-password; + description + "The neighbor password"; + } + } + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + } + } + container dual-stack { + description + "Configuration related to neighbor transport"; + container transport-connection { + description + "Configuration related to neighbor transport"; + container prefer { + description + "Configuration related to neighbor + dual-stack xport-connection preference"; + leaf ipv4 { + type empty; + description + "Configuration related to neighbor + dual-stack xport-connection preference + ipv4"; + } + } + leaf max-wait { + type uint32 { + range "0..60"; + } + units "second"; + description + "Configuration related to neighbor + dual-stack xport-connection max-wait"; + } + } + leaf tlv-compliance { + type empty; + description + "Configuration to enable neighbor dual-stack + tlv-compliance"; + } + } + leaf password { + type xr:Proprietary-password; + description + "Default password for all neigbors"; + } + } + container graceful-restart { + description + "Configuration for per-VRF LDP Graceful Restart + parameters"; + container helper-peer { + description + "Configure parameters related to GR peer(s) + opearating in helper mode"; + leaf maintain-on-local-reset { + type string; + description + "Maintain the state of a GR peer upon a local + reset"; + } + } + } + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Configuration for LDP Router ID (LDP ID)"; + } + } + container interfaces { + description + "MPLS LDP configuration pertaining to interfaces"; + list interface { + key "interface-name"; + description + "MPLS LDP configuration for a particular + interface"; + container afs { + description + "Address Family specific configuration for + MPLS LDP intf"; + list af { + key "af-name"; + description + "Configure data for given Address Family"; + container discovery { + description + "Configure interface discovery parameters"; + container transport-address { + description + "MPLS LDP configuration for interface + discovery transportaddress."; + leaf address-type { + type Mpls-ldp-transport-address; + description + "Transport address option"; + } + leaf address { + when "../address-type = 'address'" { + description + "../AddressType = Address"; + } + type inet:ip-address-no-zone; + description + "IP address"; + } + } + } + container igp { + description + "LDP interface IGP configuration"; + leaf disable-auto-config { + type empty; + description + "Disable IGP Auto-config on this interface"; + } + } + container mldp { + description + "Interface configuration parameters for mLDP"; + leaf disable { + type empty; + description + "Disable mLDP on LDP enabled interface"; + } + } + leaf enable { + type empty; + description + "Enable Address Family"; + } + leaf af-name { + type Mpls-ldpaf-name; + description + "Address Family name"; + } + } + } + container global { + description + "Per VRF interface Global configuration for + MPLS LDP"; + container discovery { + description + "Configure interface discovery parameters"; + container link-hello { + description + "LDP Link Hellos"; + leaf interval { + type Mpls-ldp-interval-time; + units "second"; + default "5"; + description + "Link Hello interval"; + } + leaf dual-stack { + type Mpls-ldpaf-name; + default "ipv4"; + description + "Dual Stack Address Family Preference"; + } + leaf hold-time { + type Mpls-ldp-hold-time; + units "second"; + default "15"; + description + "Time (seconds) - 65535 implies infinite"; + } + } + leaf disable-quick-start { + type empty; + description + "Disable discovery's quick start mode"; + } + } + container igp { + description + "LDP IGP configuration"; + container sync { + description + "LDP IGP synchronization"; + container delay { + description + "LDP IGP synchronization delay time"; + container on-session-up { + description + "Interface sync up delay after session up"; + leaf disable { + type empty; + description + "Disable delay after session up"; + } + leaf timeout { + type uint32 { + range "5..300"; + } + units "second"; + description + "Time (seconds)"; + } + } + } + } + } + } + leaf enable { + type empty; + description + "Enable Label Distribution Protocol (LDP) on + thisinterface"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + } + } + } + container vrfs { + description + "VRF Table attribute configuration for MPLS LDP"; + list vrf { + key "vrf-name"; + description + "VRF attribute configuration for MPLS LDP"; + container global { + description + "Per VRF Global configuration for MPLS LDP"; + container session { + description + "LDP Session parameters"; + container downstream-on-demand { + description + "ACL with the list of neighbors configured + for Downstream on Demand"; + leaf type { + type Mpls-ldp-downstream-on-demand; + description + "Downstream on demand type"; + } + leaf peer-acl-name { + when "../type = 'peer-acl'" { + description + "../Type = PeerACL"; + } + type string; + description + "Name of peer ACL"; + } + } + } + container neighbor { + description + "Configuration related to Neighbors"; + container ldp-ids { + description + "Configuration related to Neighbors using LDP + Id"; + list ldp-id { + key "lsr-id label-space-id"; + description + "LDP ID based configuration related to a + neigbor"; + container password { + description + "Password for MD5 authentication for this + neighbor"; + leaf command-type { + type Mpls-ldp-nbr-password; + description + "Command type for password configuration"; + } + leaf password { + when "../command-type = 'specified'" { + description + "../CommandType = Specified"; + } + type xr:Proprietary-password; + description + "The neighbor password"; + } + } + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + } + } + leaf password { + type xr:Proprietary-password; + description + "Default password for all neigbors"; + } + } + container graceful-restart { + description + "Configuration for per-VRF LDP Graceful + Restart parameters"; + container helper-peer { + description + "Configure parameters related to GR peer(s) + opearating in helper mode"; + leaf maintain-on-local-reset { + type string; + description + "Maintain the state of a GR peer upon a + local reset"; + } + } + } + leaf router-id { + type inet:ipv4-address-no-zone; + description + "Configuration for LDP Router ID (LDP ID)"; + } + } + container afs { + description + "Address Family specific configuration for MPLS + LDP vrf"; + list af { + key "af-name"; + description + "Configure data for given Address Family"; + container discovery { + description + "Configure Discovery parameters"; + leaf transport-address { + type inet:ip-address-no-zone; + description + "Global discovery transport address for + address family"; + } + } + container label { + description + "Configure Label policies and control"; + container remote { + description + "Configure remote/peer label policies and + control"; + container accept { + description + "Configure inbound label acceptance"; + container peer-accept-policies { + description + "Configuration related to Neighbors for + inbound label acceptance"; + list peer-accept-policy { + must "peer-accept-policy-data or lsr-id" { + description + "peer-accept-policy-data or lsr-id must + be present."; + } + key "label-space-id"; + description + "Control acceptasnce of labels from a + neighbor for prefix(es) using ACL"; + + grouping PEER-ACCEPT-POLICY-CONTENT { + description + "Content grouping."; + leaf prefix-acl-name { + type string; + mandatory true; + description + "Name of prefix ACL"; + } + } + container peer-accept-policy-data { + description + "Data container."; + uses PEER-ACCEPT-POLICY-CONTENT; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + list lsr-id { + key "lsr-id"; + description + "keys: lsr-id"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + uses PEER-ACCEPT-POLICY-CONTENT; + } + } + } + } + } + container local { + description + "Configure local label policies and control"; + container advertise { + description + "Configure outbound label advertisement"; + container peer-advertise-policies { + description + "Configure peer centric outbound label + advertisement using ACL"; + list peer-advertise-policy { + must "peer-advertise-policy-data or lsr-id" { + description + "peer-advertise-policy-data or lsr-id + must be present."; + } + key "label-space-id"; + description + "Control advertisement of prefix(es) + using ACL"; + + grouping PEER-ADVERTISE-POLICY-CONTENT { + description + "Content grouping."; + leaf prefix-acl-name { + type string; + mandatory true; + description + "Name of prefix ACL"; + } + } + container peer-advertise-policy-data { + description + "Data container."; + uses PEER-ADVERTISE-POLICY-CONTENT; + } + leaf label-space-id { + type uint32; + description + "Label space ID of neighbor"; + } + list lsr-id { + key "lsr-id"; + description + "keys: lsr-id"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + uses PEER-ADVERTISE-POLICY-CONTENT; + } + } + } + container interfaces { + description + "Configure outbound label advertisement + for an interface"; + list interface { + key "interface-name"; + description + "Control advertisement of interface's + host IP address"; + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + } + } + container explicit-null { + description + "Configure advertisment of explicit-null + for connected prefixes."; + leaf explicit-null-type { + type Mpls-ldp-exp-null; + description + "Explicit Null command variant"; + } + leaf prefix-acl-name { + when "../explicit-null-type = 'for' or ../explicit-null-type = 'for-to'" { + description + "../ExplicitNullType = For or . + ./ExplicitNullType = ForTo"; + } + type string; + description + "Name of prefix ACL"; + } + leaf peer-acl-name { + when "../explicit-null-type = 'to' or ../explicit-null-type = 'for-to'" { + description + "../ExplicitNullType = To or . + ./ExplicitNullType = ForTo"; + } + type string; + description + "Name of peer ACL"; + } + } + leaf disable { + type empty; + description + "Disable label advertisement"; + } + } + container allocate { + description + "Control local label allocation for + prefix(es)"; + leaf allocation-type { + type Mpls-ldp-label-allocation; + description + "Label allocation type"; + } + leaf prefix-acl-name { + when "../allocation-type = 'acl'" { + description + "../AllocationType = ACL"; + } + type string; + description + "Name of prefix ACL"; + } + } + leaf implicit-null-override { + type string; + description + "Control use of implicit-null label for set + of prefix(es)"; + } + leaf default-route { + type empty; + description + "Enable MPLS forwarding for default route"; + } + } + } + leaf enable { + type empty; + description + "Enable Address Family"; + } + leaf af-name { + type Mpls-ldpaf-name; + description + "Address Family name"; + } + } + } + container interfaces { + description + "MPLS LDP configuration pertaining to + interfaces"; + list interface { + key "interface-name"; + description + "MPLS LDP configuration for a particular + interface"; + container afs { + description + "Address Family specific configuration for + MPLS LDP vrf intf"; + list af { + key "af-name"; + description + "Configure data for given Address Family"; + container discovery { + description + "Configure interface discovery parameters"; + container transport-address { + description + "MPLS LDP configuration for interface + discovery transportaddress."; + leaf address-type { + type Mpls-ldp-transport-address; + description + "Transport address option"; + } + leaf address { + when "../address-type = 'address'" { + description + "../AddressType = Address"; + } + type inet:ip-address-no-zone; + description + "IP address"; + } + } + } + leaf enable { + type empty; + description + "Enable Address Family"; + } + leaf af-name { + type Mpls-ldpaf-name; + description + "Address Family name"; + } + } + } + leaf enable { + type empty; + description + "Enable Label Distribution Protocol (LDP) on + thisinterface"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of interface"; + } + } + } + leaf enable { + type empty; + description + "Enable VRF"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + } + } + container global { + description + "Global configuration for MPLS LDP"; + container entropy-label { + description + "Configure for LDP Entropy-Label"; + leaf enable { + type empty; + description + "none"; + } + } + container session { + description + "LDP Session parameters"; + container backoff-time { + description + "Configure Session Backoff parameters"; + leaf initial-backoff-time { + type uint32 { + range "5..2147483"; + } + units "second"; + default "15"; + description + "Initial session backoff time (seconds)"; + } + leaf max-backoff-time { + type uint32 { + range "5..2147483"; + } + units "second"; + default "120"; + description + "Maximum session backoff time (seconds)"; + } + } + leaf hold-time { + type uint32 { + range "15..65535"; + } + units "second"; + default "180"; + description + "LDP Session holdtime"; + } + } + container igp { + description + "LDP IGP configuration"; + container sync { + description + "LDP IGP synchronization"; + container delay { + description + "LDP IGP synchronization delay time"; + leaf on-session-up { + type uint32 { + range "5..300"; + } + units "second"; + description + "Interface sync up delay after session up"; + } + leaf on-proc-restart { + type uint32 { + range "60..600"; + } + units "second"; + description + "Global sync up delay to be used after + process restart"; + } + } + } + } + container enable-logging { + description + "Enable logging of events"; + leaf nsr { + type empty; + description + "Enable logging of NSR events"; + } + leaf neighbor-changes { + type empty; + description + "Enable logging of neighbor events"; + } + leaf adjacency { + type empty; + description + "Enable logging of adjacency events"; + } + leaf session-protection { + type empty; + description + "Enable logging of session protection events"; + } + leaf gr-session-changes { + type empty; + description + "Enable logging of Graceful Restart (GR) events"; + } + } + container signalling { + description + "Configure LDP signalling parameters"; + leaf dscp { + type Mpls-ldp-dscp; + default "48"; + description + "DSCP for control packets"; + } + } + container nsr { + description + "Configure LDP Non-Stop Routing"; + leaf enable { + type empty; + description + "none"; + } + } + container graceful-restart { + description + "Configuration for LDP Graceful Restart + parameters"; + leaf reconnect-timeout { + type uint32 { + range "60..1800"; + } + units "second"; + default "120"; + description + "Configure Graceful Restart Reconnect Timeout + value"; + } + leaf enable { + type empty; + description + "none"; + } + leaf forwarding-hold-time { + type uint32 { + range "60..1800"; + } + units "second"; + default "180"; + description + "Configure Graceful Restart Session holdtime"; + } + } + container discovery { + description + "Configure Discovery parameters"; + container link-hello { + description + "LDP Link Hellos"; + leaf interval { + type Mpls-ldp-interval-time; + units "second"; + default "5"; + description + "Link Hello interval"; + } + leaf hold-time { + type Mpls-ldp-hold-time; + units "second"; + default "15"; + description + "Time (seconds) - 65535 implies infinite"; + } + } + container targeted-hello { + description + "LDP Targeted Hellos"; + leaf interval { + type Mpls-ldp-interval-time; + units "second"; + default "10"; + description + "Targeted Hello interval"; + } + leaf hold-time { + type Mpls-ldp-hold-time; + units "second"; + default "90"; + description + "Time (seconds) - 65535 implies infinite"; + } + } + leaf disable-instance-tlv { + type empty; + description + "Disable transmit and receive processing for + private Instance TLV in LDP discovery hello + messages"; + } + leaf disable-quick-start { + type empty; + description + "Disable discovery's quick start mode"; + } + } + container mldp { + description + "MPLS mLDP configuration"; + container vrfs { + description + "VRF Table attribute configuration for MPLS LDP"; + list vrf { + key "vrf-name"; + description + "VRF attribute configuration for MPLS LDP"; + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF Name"; + } + uses ENABLE; + uses AF-TABLE; + } + } + container default-vrf { + description + "Default VRF attribute configuration for mLDP"; + uses AF-TABLE; + } + container mldp-global { + description + "Global configuration for mLDP"; + container logging { + description + "MPLS mLDP logging"; + leaf notifications { + type empty; + description + "MPLS mLDP logging notifications"; + } + } + } + uses ENABLE; + } + leaf disable-implicit-ipv4 { + type empty; + description + "Disable the implicit enabling for IPv4 address + family"; + } + leaf ltrace-buf-multiplier { + type uint32 { + range "1..5"; + } + default "1"; + description + "Configure Ltrace Buffer Multiplier"; + } + } + leaf enable { + type empty; + description + "Enable Label Distribution Protocol (LDP) + globally.Without creating this object the LDP + feature will not be enabled. Deleting this + object will stop the LDP feature."; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang new file mode 100644 index 0000000..0045f41 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-datatypes.yang @@ -0,0 +1,45 @@ +module Cisco-IOS-XR-mpls-ldp-oper-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper-datatypes"; + prefix mpls-ldp-oper-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp-oper-data package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-ldp-oper-af-name { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Mpls ldp oper af name"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang new file mode 100644 index 0000000..4c0af5b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub1.yang @@ -0,0 +1,3357 @@ +submodule Cisco-IOS-XR-mpls-ldp-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-ldp-oper { + prefix Cisco-IOS-XR-mpls-ldp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mgmt-ldp-nbr-bgp-advt-state { + type enumeration { + enum "not-applicable" { + value 0; + description + "Not applicable"; + } + enum "permit" { + value 1; + description + "Advertisement permitted"; + } + enum "deny" { + value 2; + description + "Advertisement denied"; + } + } + description + "MPLS LDP Neighbor BGP Label Advertisement State + Type"; + } + + typedef Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn { + type enumeration { + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-none" { + description + "mgmt ldp nsr peer ldp sync nack rsn none"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-tbl-id-mismatch" { + description + "mgmt ldp nsr peer ldp sync nack rsn tbl id + mismatch"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-pp-exists" { + description + "mgmt ldp nsr peer ldp sync nack rsn pp exists"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-missing-elem" { + description + "mgmt ldp nsr peer ldp sync nack rsn missing + elem"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-p-end-sock" { + description + "mgmt ldp nsr peer ldp sync nack rsn no p end + sock"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-p-end-sock-not-synced" { + description + "mgmt ldp nsr peer ldp sync nack rsn p end sock + not synced"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-add" { + description + "mgmt ldp nsr peer ldp sync nack rsn err adj add"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-dhcb-add" { + description + "mgmt ldp nsr peer ldp sync nack rsn err dhcb + add"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-enomem" { + description + "mgmt ldp nsr peer ldp sync nack rsn enomem"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tp-create" { + description + "mgmt ldp nsr peer ldp sync nack rsn err tp + create"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pp-create" { + description + "mgmt ldp nsr peer ldp sync nack rsn err pp + create"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-addr-bind" { + description + "mgmt ldp nsr peer ldp sync nack rsn err addr + bind"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-bad-pie" { + description + "mgmt ldp nsr peer ldp sync nack rsn err rx bad + pie"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-notif" { + description + "mgmt ldp nsr peer ldp sync nack rsn err rx + notif"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-rx-unexp-open" { + description + "mgmt ldp nsr peer ldp sync nack rsn err rx + unexp open"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-unexp-peer-down" { + description + "mgmt ldp nsr peer ldp sync nack rsn err unexp + peer down"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-not-found" { + description + "mgmt ldp nsr peer ldp sync nack rsn err app not + found"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-invalid" { + description + "mgmt ldp nsr peer ldp sync nack rsn err app + invalid"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adj-grp-not-found" { + description + "mgmt ldp nsr peer ldp sync nack rsn err adj grp + not found"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-invalid-elem" { + description + "mgmt ldp nsr peer ldp sync nack rsn invalid + elem"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-app-data-invalid" { + description + "mgmt ldp nsr peer ldp sync nack rsn err app + data invalid"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-invalid-per-idx" { + description + "mgmt ldp nsr peer ldp sync nack rsn err invalid + per idx"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-pfx-not-found" { + description + "mgmt ldp nsr peer ldp sync nack rsn err pfx not + found"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-bm-size-invalid" { + description + "mgmt ldp nsr peer ldp sync nack rsn err bm size + invalid"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-adv-bm-clear" { + description + "mgmt ldp nsr peer ldp sync nack rsn err adv bm + clear"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-err-tcp-struct-create" { + description + "mgmt ldp nsr peer ldp sync nack rsn err tcp + struct create"; + } + enum "mgmt-ldp-nsr-peer-ldp-sync-nack-rsn-no-ctx" { + description + "mgmt ldp nsr peer ldp sync nack rsn no ctx"; + } + } + description + "Mgmt ldp nsr peer ldp sync nack rsn"; + } + + typedef Mgmt-ldp-nsr-peer-sync-err { + type enumeration { + enum "mgmt-ldp-nsr-peer-sync-err-none" { + description + "mgmt ldp nsr peer sync err none"; + } + enum "mgmt-ldp-nsr-peer-sync-err-ldp-sync-nack" { + description + "mgmt ldp nsr peer sync err ldp sync nack"; + } + enum "mgmt-ldp-nsr-peer-sync-err-sync-prep" { + description + "mgmt ldp nsr peer sync err sync prep"; + } + enum "mgmt-ldp-nsr-peer-sync-err-tcp-peer" { + description + "mgmt ldp nsr peer sync err tcp peer"; + } + enum "mgmt-ldp-nsr-peer-sync-err-tcp-gbl" { + description + "mgmt ldp nsr peer sync err tcp gbl"; + } + enum "mgmt-ldp-nsr-peer-sync-err-ldp-peer" { + description + "mgmt ldp nsr peer sync err ldp peer"; + } + enum "mgmt-ldp-nsr-peer-sync-err-ldp-gbl" { + description + "mgmt ldp nsr peer sync err ldp gbl"; + } + enum "mgmt-ldp-nsr-peer-sync-err-app-fail" { + description + "mgmt ldp nsr peer sync err app fail"; + } + enum "mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase1" { + description + "mgmt ldp nsr peer sync err sync tcp phase1"; + } + enum "mgmt-ldp-nsr-peer-sync-err-sync-tcp-phase2" { + description + "mgmt ldp nsr peer sync err sync tcp phase2"; + } + } + description + "Mgmt ldp nsr peer sync err"; + } + + typedef Mgmt-ldp-nsr-peer-sync-state { + type enumeration { + enum "mgmt-ldp-nsr-peer-sync-st-none" { + description + "mgmt ldp nsr peer sync st none"; + } + enum "mgmt-ldp-nsr-peer-sync-st-wait" { + description + "mgmt ldp nsr peer sync st wait"; + } + enum "mgmt-ldp-nsr-peer-sync-st-ready" { + description + "mgmt ldp nsr peer sync st ready"; + } + enum "mgmt-ldp-nsr-peer-sync-st-prep" { + description + "mgmt ldp nsr peer sync st prep"; + } + enum "mgmt-ldp-nsr-peer-sync-st-app-wait" { + description + "mgmt ldp nsr peer sync st app wait"; + } + enum "mgmt-ldp-nsr-peer-sync-st-oper" { + description + "mgmt ldp nsr peer sync st oper"; + } + enum "mgmt-ldp-nsr-peer-sync-st-tcp-phase1" { + description + "mgmt ldp nsr peer sync st tcp phase1"; + } + enum "mgmt-ldp-nsr-peer-sync-st-tcp-phase2" { + description + "mgmt ldp nsr peer sync st tcp phase2"; + } + } + description + "Mgmt ldp nsr peer sync state"; + } + + typedef Ldp-adj-union-discrim { + type enumeration { + enum "link-hello" { + description + "Link hello"; + } + enum "targeted-hello" { + description + "Targeted hello"; + } + } + description + "MPLS LDP Hello Type"; + } + + typedef Show-nsr-state { + type enumeration { + enum "nsr-ready" { + description + "NSR ready"; + } + enum "nsr-not-ready" { + description + "NSR not ready"; + } + enum "nsr-na" { + description + "NSR not applicable"; + } + } + description + "NSR State Type"; + } + + typedef Ldp-route-path-lbl-owner { + type enumeration { + enum "ip-path-lbl-owner-none" { + value 0; + description + "No label and no owner"; + } + enum "ip-path-lbl-owner-ldp" { + value 1; + description + "Path outgoing label owned by LDP"; + } + enum "ip-path-lbl-owner-bgp" { + value 2; + description + "Path outgoing label owned by BGP"; + } + } + description + "Route path label owner"; + } + + typedef Label-value { + type enumeration { + enum "mpls-label" { + description + "MPLS Label"; + } + enum "un-labelled" { + description + "Unlabelled"; + } + enum "unknown" { + description + "Unknown label"; + } + } + description + "Label Value Type"; + } + + typedef Ldp-fwd-unlbl-rsn { + type enumeration { + enum "ldp-fwd-labelled" { + description + "ldp fwd labelled"; + } + enum "ldp-fwd-un-labelled-vrf-down" { + description + "ldp fwd un labelled vrf down"; + } + enum "ldp-fwd-un-labelled-no-nh" { + description + "ldp fwd un labelled no nh"; + } + enum "ldp-fwd-un-labelled-recursive-path" { + description + "ldp fwd un labelled recursive path"; + } + enum "ldp-fwd-un-labelled-intf-not-ldp" { + description + "ldp fwd un labelled intf not ldp"; + } + enum "ldp-fwd-un-labelled-no-rmt" { + description + "ldp fwd un labelled no rmt"; + } + enum "ldp-fwd-un-labelled-no-ldp-adj" { + description + "ldp fwd un labelled no ldp adj"; + } + enum "ldp-fwd-un-labelled-no-session" { + description + "ldp fwd un labelled no session"; + } + enum "ldp-fwd-un-labelled-unknown" { + description + "ldp fwd un labelled unknown"; + } + } + description + "Ldp fwd unlbl rsn"; + } + + typedef Ldp-route-path-flags { + type enumeration { + enum "ip-path-no-flag" { + value 0; + description + "A primary path with no special flag/attribute"; + } + enum "ip-path-protected" { + value 1; + description + "A primary path with LFA FRR protection"; + } + enum "ip-path-backup" { + value 2; + description + "A non-primary local LFA FRR (pure) backup path"; + } + enum "ip-path-backup-remote" { + value 3; + description + "A non-primary remote LFA FRR (pure) backup path"; + } + enum "ip-path-bgp-backup" { + value 4; + description + "A non-primary BGP backup path"; + } + } + description + "Route path flags"; + } + + typedef Dhcb-state { + type enumeration { + enum "none" { + description + "None"; + } + enum "dhcb-active" { + description + "Active"; + } + enum "dhcb-passive" { + description + "Passive"; + } + enum "dhcb-active-passive" { + description + "Active and Passive"; + } + } + description + "DHCB State Type"; + } + + typedef Ldp-igp-sync-down-reason { + type enumeration { + enum "igp-sync-down-reason-not-applicable" { + description + "Not Applicable"; + } + enum "no-hello-adjacency" { + description + "No hello adjacency"; + } + enum "no-peer-session" { + description + "No peer session"; + } + enum "initial-update-to-peer-not-done" { + description + "Initial update to peer not done yet"; + } + enum "initial-update-from-peer-not-received" { + description + "Initial update from peer not received yet"; + } + enum "internal-reason" { + description + "Internal reason"; + } + } + description + "Reason IGP Sync Not Achieved"; + } + + typedef String-td2 { + type string; + description + "String td2"; + } + + typedef Ldp-igp-sync-state { + type enumeration { + enum "isync-ready" { + description + "Acheived"; + } + enum "isync-not-ready" { + description + "Not acheived"; + } + enum "isync-deferred" { + description + "Deferred due to interface delay or global + restart delay"; + } + } + description + "IGP Sync State"; + } + + typedef Local-label-state { + type enumeration { + enum "local-label-state-none" { + value 1; + description + "None"; + } + enum "local-label-state-assigned" { + value 2; + description + "Assigned"; + } + enum "local-label-state-withdrawn" { + value 3; + description + "Withdrawn"; + } + } + description + "MPLS LDP Local Label State Type"; + } + + typedef Ldp-af { + type enumeration { + enum "ldp-show-af-none" { + value 0; + description + "No Address Family"; + } + enum "ldp-show-af-ipv4" { + value 1; + description + "IPv4 AFI"; + } + enum "ldp-show-af-ipv6" { + value 2; + description + "IPv6 AFI"; + } + enum "ldp-show-af-ipv4-ipv6" { + value 3; + description + "Both IPv4/IPv6 AFIs"; + } + } + description + "Ldp af"; + } + + typedef Ldp-in6-addr { + type inet:ipv6-address; + description + "Ldp in6 addr"; + } + + typedef Ldp-in-addr { + type inet:ipv4-address; + description + "Ldp in addr"; + } + + typedef Ldp-af-id { + type enumeration { + enum "ldp-af-id-none" { + value 0; + description + "No Address Family"; + } + enum "ldp-af-id-ipv4" { + value 2; + description + "IPv4 AFI"; + } + enum "ldp-af-id-ipv6" { + value 10; + description + "IPv6 AFI"; + } + } + description + "Ldp af id"; + } + + grouping LDP-SUMMARY { + description + "MPLS LDP Summarized Information"; + container common { + description + "Common Summary information"; + uses LDP-SUMMARY-COMMON; + } + leaf number-of-vrf { + type uint32; + description + "Number of configured VRFs (including default)"; + } + leaf number-of-vrf-oper { + type uint32; + description + "Number of configured operational VRFs (including + default)"; + } + leaf number-of-interfaces { + type uint32; + description + "Number of known interfaces"; + } + leaf number-of-fwd-ref-interfaces { + type uint32; + description + "Number of Forward Referenc interfaces"; + } + leaf number-of-autocfg-interfaces { + type uint32; + description + "Number of auto-configured interfaces"; + } + leaf is-bound-with-sysdb { + type boolean; + description + "Bound status with sysdb"; + } + leaf is-registered-with-sysdb { + type boolean; + description + "Registration status with Sysdb"; + } + leaf is-bound-with-rsi { + type boolean; + description + "Bound status with rsi"; + } + leaf is-bound-with-interface-manager { + type boolean; + description + "Bound status with Interface Manager"; + } + leaf is-registered-with-interface-manager { + type boolean; + description + "Registration status with Interface Manager"; + } + leaf is-bound-with-ip-arm { + type boolean; + description + "Bound status with IP Arm"; + } + leaf is-bound-with-lsd { + type boolean; + description + "Bound status with LSD"; + } + leaf is-registered-with-lsd { + type boolean; + description + "Registration status with LSD"; + } + leaf is-bound-with-ipv4-rib { + type boolean; + description + "Bound status with IPv4 RIB"; + } + leaf is-registered-with-ipv4-rib { + type boolean; + description + "Registration status with IPv4 RIB"; + } + leaf number-of-ipv4rib-tables { + type uint32; + description + "Total number of ipv4 RIB tables"; + } + leaf number-of-registered-ipv4rib-tables { + type uint32; + description + "Number of ipv4 RIB tables registered"; + } + leaf is-bound-with-ipv6-rib { + type boolean; + description + "Bound status with IPv6 RIB"; + } + leaf is-registered-with-ipv6-rib { + type boolean; + description + "Registration status with IPv6 RIB"; + } + leaf number-of-ipv6rib-tables { + type uint32; + description + "Total number of ipv6 RIB tables"; + } + leaf number-of-registered-ipv6rib-tables { + type uint32; + description + "Number of ipv6 RIB tables registered"; + } + leaf is-bound-with-atom { + type boolean; + description + "Bound status with L2VPN ATOM"; + } + leaf is-bound-with-nsr-mate { + type boolean; + description + "Bound status with NSR Mate"; + } + leaf is-nsr-configured { + type boolean; + description + "NSR configured"; + } + leaf is-mldp-registered { + type boolean; + description + "mLDP registration status"; + } + } + + grouping LDP-MSG-COUNTERS { + description + "MPLS LDP Session Message Counters Information"; + leaf total-count { + type uint32; + description + "Total message count"; + } + leaf init-count { + type uint32; + description + "Init message count"; + } + leaf address-count { + type uint32; + description + "Address message count"; + } + leaf address-withdraw-count { + type uint32; + description + "Address withdraw count"; + } + leaf label-map-count { + type uint32; + description + "Label map count"; + } + leaf label-withdraw-count { + type uint32; + description + "Label withdraw count"; + } + leaf label-release-count { + type uint32; + description + "Label release count"; + } + leaf label-request-count { + type uint32; + description + "Label request count"; + } + leaf label-abort-request-count { + type uint32; + description + "Label abort request count"; + } + leaf notification-count { + type uint32; + description + "Notification count"; + } + leaf keep-alive-count { + type uint32; + description + "Keepalive count"; + } + leaf iccp-rg-conn-count { + type uint32; + description + "ICCP RG Connect count"; + } + leaf iccp-rg-disconn-count { + type uint32; + description + "ICCP RG Disconnect count"; + } + leaf iccp-rg-notif-count { + type uint32; + description + "ICCP RG Notif count"; + } + leaf iccp-rg-app-data-count { + type uint32; + description + "ICCP RG App Data count"; + } + } + + grouping LDP-STATS-INFO { + description + "MPLS LDP Statistics Information"; + container message-out { + description + "Message out count"; + uses LDP-MSG-COUNTERS; + } + container message-in { + description + "Message in count"; + uses LDP-MSG-COUNTERS; + } + leaf iccp-enabled { + type boolean; + description + "Is session ICCP enabled?"; + } + } + + grouping LDP-NBR-CLIENTS-INFO { + description + "MPLS LDP Session client Information"; + leaf name { + type string; + description + "Client's name"; + } + } + + grouping LDP-NBR-DETAILED-INFO { + description + "MPLS LDP Neighbor Detailed Information"; + container capabilities { + description + "Capabilities sent to and received from neighbor"; + uses LDP-NBR-CAP-INFO; + } + leaf peer-holdtime { + type uint32; + units "second"; + description + "Session holdtime value in seconds from the peer"; + } + leaf keep-alive-interval { + type uint32; + units "second"; + description + "Session keepalive interval in seconds"; + } + leaf peer-state { + type string { + length "0..80"; + } + description + "Peer state"; + } + leaf has-ipv4-inbound { + type boolean; + description + "IPv4 Inbound label filtering present"; + } + leaf inbound-ipv4acl { + type string { + length "0..80"; + } + description + "IPv4 Inbound accept ACL"; + } + leaf has-ipv6-inbound { + type boolean; + description + "IPv6 Inbound label filtering present"; + } + leaf inbound-ipv6acl { + type string { + length "0..80"; + } + description + "IPv6 Inbound accept ACL"; + } + leaf has-ipv4-outbound { + type boolean; + description + "IPv4 Outbound label filtering present"; + } + leaf outbound-ipv4acl { + type string { + length "0..80"; + } + description + "IPv4 Outbound advertise ACL"; + } + leaf has-ipv6-outbound { + type boolean; + description + "IPv6 Outbound label filtering present"; + } + leaf outbound-ipv6acl { + type string { + length "0..80"; + } + description + "IPv6 Outbound advertise ACL"; + } + leaf has-sp { + type boolean; + description + "Session Protection enabled"; + } + leaf sp-state { + type string { + length "0..80"; + } + description + "Session Protection state"; + } + leaf sp-has-acl { + type boolean; + description + "Session protection ACL is present"; + } + leaf spacl { + type string { + length "0..80"; + } + description + "Session Protection ACL"; + } + leaf sp-has-duration { + type boolean; + description + "Session Protection has non-default duration"; + } + leaf sp-duration { + type uint32; + units "second"; + description + "Session protection holdup time duration in + seconds"; + } + leaf spht-running { + type boolean; + description + "Session Protection holdup timer is running"; + } + leaf spht-remaining { + type uint32; + units "second"; + description + "Session Protection holdup time remaining value + in seconds"; + } + leaf nsr-sync-state { + type Mgmt-ldp-nsr-peer-sync-state; + description + "NSR Sync State"; + } + leaf nsr-last-sync-error { + type Mgmt-ldp-nsr-peer-sync-err; + description + "Last NSR sync error"; + } + leaf nsr-last-sync-nack-reason { + type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; + description + "Last NSR sync NACK reaston"; + } + leaf bgp-advertisement-state { + type Mgmt-ldp-nbr-bgp-advt-state; + description + "BGP labelled prefixes advertisement state"; + } + leaf advertise-bgp-prefixes { + type boolean; + description + "Is BGP labelled prefixes advertised to the + neighbor"; + } + list client { + description + "Targeted Session clients"; + uses LDP-NBR-CLIENTS-INFO; + } + list ipv4-duplicate-address { + description + "Duplicate IPv4 address bound to this peer"; + uses LDP-NBR-ADDR-INFO; + } + list ipv6-duplicate-address { + description + "Duplicate IPv6 address bound to this peer"; + uses LDP-NBR-ADDR-INFO; + } + } + + grouping TARGETED-HELLO { + description + "MPLS LDP Targeted Hello Information"; + container local-address { + description + "Local Address"; + uses LDP-IP-ADDR-T-UNION; + } + container target-address { + description + "Target Address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf state { + type Dhcb-state; + description + "State"; + } + } + + grouping LINK-HELLO { + description + "MPLS LDP Link Hello Information"; + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + } + + grouping LDP-ADJ-UNION { + description + "LDP ADJ UNION"; + container link-hello-data { + when "../hello-type = 'link-hello'" { + description + "../HelloType = 'LinkHello'"; + } + description + "Link hello"; + uses LINK-HELLO; + } + container target-hello-data { + when "../hello-type = 'targeted-hello'" { + description + "../HelloType = 'TargetedHello'"; + } + description + "Target Hello"; + uses TARGETED-HELLO; + } + leaf hello-type { + type Ldp-adj-union-discrim; + description + "HelloType"; + } + } + + grouping LDP-NBR-ADJ-INFO { + description + "MPLS LDP Neighbor Adjacency Information"; + container adjacency-group { + description + "Adjacency group"; + uses LDP-ADJ-UNION; + } + } + + grouping LDP-NBR-ADDR-INFO { + description + "MPLS LDP Neighbor Bound Address Information"; + container address { + description + "Neighbor Address"; + uses LDP-IP-ADDR-T-UNION; + } + } + + grouping LDP-TCP-INFO { + description + "MPLS LDP Neighbor TCP Information"; + container foreign-host { + description + "Foreign host address"; + uses LDP-IP-ADDR-T-UNION; + } + container local-host { + description + "Local host address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf foreign-port { + type uint16; + description + "Foreign port number"; + } + leaf local-port { + type uint16; + description + "Local port number"; + } + leaf is-md5-on { + type boolean; + description + "Is MD5 Digest on"; + } + } + + grouping LDP-GR-ADJ-INFO { + description + "MPLS LDP Neighbor Graceful Restart Adjacency + Information"; + leaf is-graceful-restartable { + type boolean; + description + "Is graceful restartable"; + } + leaf reconnect-timeout { + type uint32; + description + "Reconnect timeout"; + } + leaf recovery-time { + type uint32; + description + "Recovery time"; + } + } + + grouping LDP-PTCL-ADJ-INFO { + description + "MPLS LDP PTCL Adjacency Information"; + container ta-graceful-restart-adjacency { + description + "Graceful restart information"; + uses LDP-GR-ADJ-INFO; + } + leaf ta-holdtime { + type uint32; + description + "Session holdtime in sec"; + } + leaf ta-state { + type string; + description + "State"; + } + leaf ta-pies-sent { + type uint32; + description + "Number of pies sent"; + } + leaf ta-pies-rcvd { + type uint32; + description + "Number of pies received"; + } + leaf ta-up-time-seconds { + type uint32; + units "second"; + description + "Up time in seconds"; + } + leaf downstream-on-demand { + type boolean; + description + "Is Label advertisment mode in Downstream On + Demand mode or Not"; + } + } + + grouping LDP-NEIGHBOR-INFO { + description + "MPLS LDP Neighbor Information"; + container protocol-information { + description + "Protocol Information"; + uses LDP-PTCL-ADJ-INFO; + } + container tcp-information { + description + "TCP Information"; + uses LDP-TCP-INFO; + } + container detailed-information { + description + "Detailed information with regards to holdtime, + KA, inbound filtering, and Session protection"; + uses LDP-NBR-DETAILED-INFO; + } + list ldp-nbr-bound-ipv4-address-info { + description + "Neighbor IPv4 Address Info"; + uses LDP-NBR-ADDR-INFO; + } + list ldp-nbr-bound-ipv6-address-info { + description + "Neighbor IPv6 Address Info"; + uses LDP-NBR-ADDR-INFO; + } + list ldp-nbr-ipv4-adj-info { + description + "Neighbor's IPv4 Adjacency Information"; + uses LDP-NBR-ADJ-INFO; + } + list ldp-nbr-ipv6-adj-info { + description + "Neighbor's IPv6 Adjacency Information"; + uses LDP-NBR-ADJ-INFO; + } + } + + grouping LDP-NBR-CAP-INFO { + description + "MPLS LDP Neighbor Capability Information"; + list sent { + description + "List of sent capabilities"; + uses LDP-CAP-DESC; + } + list received { + description + "List of received capabilities"; + uses LDP-CAP-DESC; + } + } + + grouping LDP-PARAMETERS-AF { + description + "MPLS LDP per AF Parameters Information"; + container discovery-transport-address { + description + "Discovery transport address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf address-family { + type Ldp-af; + description + "Address Family"; + } + leaf null-label { + type string; + description + "Null label"; + } + leaf label-imp-null-override-acl { + type string; + description + "ACL to override local label to use implicit-null"; + } + leaf is-accepting-targeted-hellos { + type boolean; + description + "Accepting targeted Hellos"; + } + leaf targeted-hello-acl { + type string; + description + "Targeted Hello ACL"; + } + } + + grouping LDP-GRACEFUL-RESTART-INFO { + description + "MPLS LDP Global Graceful Restart Information"; + leaf is-graceful-restart-configured { + type boolean; + description + "Is graceful restart configured"; + } + leaf graceful-restart-reconnect-timeout { + type uint32; + description + "Reconnect timeout value"; + } + leaf graceful-restart-forwarding-state-hold-time { + type uint32; + description + "Graceful restart forward state hold time"; + } + } + + grouping LDP-PARAMETERS { + description + "MPLS LDP Global Parameters"; + container graceful-restart-information { + description + "Graceful restart information"; + uses LDP-GRACEFUL-RESTART-INFO; + } + leaf role-is-active { + type boolean; + description + "Is process role active or standby"; + } + leaf global-md5-password-enabled { + type boolean; + description + "Global MD5 password enabled"; + } + leaf protocol-version { + type uint32; + description + "Protocol version"; + } + leaf router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf keepalive-interval { + type uint32; + description + "Keepalive interval"; + } + leaf hello-hold-time { + type uint32; + description + "Hello hold time"; + } + leaf hello-interval { + type uint32; + description + "Hello interval"; + } + leaf targeted-hello-hold-time { + type uint32; + description + "Targeted hello hold time"; + } + leaf targeted-hello-interval { + type uint32; + description + "Targeted hello interval"; + } + leaf session-hold-time { + type uint32; + description + "Session hold time"; + } + leaf housekeeping-timer-interval { + type uint32; + description + "Housekeeping periodic timer interval"; + } + leaf le-no-route-timeout { + type uint32; + description + "LIB entry no route timeout"; + } + leaf ldp-recovery-timeout { + type uint32; + description + "LDP recovery timeout with LSD"; + } + leaf af-binding-withdraw-delay { + type uint32; + description + "Delay (sec) in Binding Withdrawal for an Address + Family"; + } + leaf max-intf-attached { + type uint32; + description + "Maximum number of LDP enabled attached + interfaces"; + } + leaf max-intf-te { + type uint32; + description + "Maximum number of LDP enabled TE interfaces"; + } + leaf max-peer { + type uint32; + description + "Maximum number of LDP peers"; + } + leaf ldp-out-of-mem-state { + type uint32; + description + "LDP Out of memory state"; + } + leaf nsr-enabled { + type boolean; + description + "TRUE if NSR is enabled"; + } + leaf nsr-synced { + type boolean; + description + "TRUE if LDP is standby and is NSR Sync-ed with + active"; + } + leaf igp-sync-delay-time-for-interface { + type uint32; + units "second"; + description + "Interface IGP sync delay time in seconds"; + } + leaf igp-sync-delay-time-on-restart { + type uint32; + units "second"; + description + "IGP sync delay time on process restart in + seconds"; + } + leaf global-discovery-quick-start-disabled { + type boolean; + description + "Discovery quick-start globally disabled"; + } + leaf discovery-quick-start-disabled-on-interfaces { + type boolean; + description + "Discovery quick-start disabled on some + LDP-enabled interfaces"; + } + list address-family-parameter { + description + "Per AF parameters"; + uses LDP-PARAMETERS-AF; + } + } + + grouping LDP-NSR-SUM-SESS { + description + "MPLS LDP NSR session summary"; + leaf total { + type uint32; + description + "Total sessions"; + } + leaf nsr-eligible { + type uint32; + description + "NSR eligible sessions"; + } + leaf nsr-state-none { + type uint32; + description + "Number of sessions in NSR none state"; + } + leaf nsr-state-wait { + type uint32; + description + "Number of sessions in NSR wait state"; + } + leaf nsr-state-ready { + type uint32; + description + "Number of sessions in NSR ready state"; + } + leaf nsr-state-prepare { + type uint32; + description + "Number of sessions in NSR prepare state"; + } + leaf nsr-state-app-wait { + type uint32; + description + "Number of sessions in NSR app-wait state"; + } + leaf nsr-state-operational { + type uint32; + description + "Number of sessions in NSR operational state"; + } + leaf nsr-state-tcp-phase1 { + type uint32; + description + "Number of sessions in NSR TCP phase 1 state"; + } + leaf nsr-state-tcp-phase2 { + type uint32; + description + "Number of sessions in NSR TCP phase 2 state"; + } + } + + grouping LDP-NSR-SUM { + description + "MPLS LDP NSR summary"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container sessions { + description + "Session summary"; + uses LDP-NSR-SUM-SESS; + } + } + + grouping LDP-BACKOFF-ENTRY-INFO { + description + "MPLS LDP Session Backoff Entry Information"; + leaf backoff-seconds { + type uint32; + units "second"; + description + "Backoff seconds"; + } + leaf waiting-seconds { + type uint32; + units "second"; + description + "Backoff waiting seconds"; + } + } + + grouping LDP-BACKOFF-INFO { + description + "MPLS LDP Session Backoff Information"; + leaf initial-seconds { + type uint32; + units "second"; + description + "Initial backoff value in seconds"; + } + leaf maximum-seconds { + type uint32; + units "second"; + description + "Maximum backoff value in seconds"; + } + } + + grouping LDP-NEIGHBOR-BRIEF-AF-INFO { + description + "MPLS LDP Neighbor Brief AF information"; + leaf address-family { + type Ldp-af; + description + "Neighbor Brief Address Family"; + } + leaf num-of-nbr-discovery { + type uint32; + description + "Number of neighbor discovery sources"; + } + leaf num-of-nbr-addresses { + type uint32; + description + "Number of neighbor addresses"; + } + leaf num-of-nbr-lbl { + type uint32; + description + "Number of neighbor labels"; + } + } + + grouping LDP-NEIGHBOR-BRIEF-INFO { + description + "MPLS LDP Neighbor Brief Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf is-graceful-restartable { + type boolean; + description + "Is graceful restartable"; + } + leaf nsr-state { + type Show-nsr-state; + description + "NSR readiness state"; + } + leaf up-time-seconds { + type uint32; + units "second"; + description + "Up time in seconds"; + } + list nbr-br-af-info { + max-elements "2"; + description + "Neighbor Brief AF Info"; + uses LDP-NEIGHBOR-BRIEF-AF-INFO; + } + } + + grouping LDP-FWD-RW-PATH-SUMM { + description + "MPLS LDP fowarding rewrite nexthop/path summary"; + leaf total-paths { + type uint32; + description + "Total path count"; + } + leaf protected-paths { + type uint32; + description + "Count of FRR protected paths"; + } + leaf backup-paths { + type uint32; + description + "Count of non-primary backup paths"; + } + leaf remote-backup-paths { + type uint32; + description + "Count of non-primary remote backup paths"; + } + leaf labeled-paths { + type uint32; + description + "Count of all labeled paths"; + } + leaf labeled-backup-paths { + type uint32; + description + "Count of labeled backup paths"; + } + } + + grouping LDP-FWD-RW-PFX-LBL-SUMM { + description + "MPLS LDP forwarding rewrite prefix nexthops + labeled summary"; + leaf labeled-pfxs { + type uint16; + description + "Count of labeled prefixes with 1 or more paths + labeled"; + } + leaf labeled-pfxs-partial { + type uint16; + description + "Count of labeled prefixes with some (but not + ALL) paths labeled"; + } + leaf unlabeled-pfxs { + type uint16; + description + "Count of labeled prefixes with ALL paths + unlabeled"; + } + } + + grouping LDP-FWD-RW-PFX-SUMM { + description + "MPLS LDP fowarding rewrite prefix summary"; + container labeled-pfxs-aggr { + description + "Labeled prefix count for all paths"; + uses LDP-FWD-RW-PFX-LBL-SUMM; + } + container labeled-pfxs-primary { + description + "Labeled prefix count related to primary paths + only"; + uses LDP-FWD-RW-PFX-LBL-SUMM; + } + container labeled-pfxs-backup { + description + "Labeled prefix count related to backup paths + only"; + uses LDP-FWD-RW-PFX-LBL-SUMM; + } + leaf total-pfxs { + type uint16; + description + "Total Prefix count"; + } + leaf ecmp-pfxs { + type uint16; + description + "Count of prefixes with ECMP"; + } + leaf protected-pfxs { + type uint16; + description + "Count of FRR protected prefixes"; + } + } + + grouping LDP-FWD-RW-SUMM { + description + "MPLS LDP fowarding rewrite summary"; + container pfxs { + description + "Forwarding rewrites prefix summary"; + uses LDP-FWD-RW-PFX-SUMM; + } + container nhs { + description + "Forwarding rewrites nexthops (paths) summary"; + uses LDP-FWD-RW-PATH-SUMM; + } + } + + grouping LDP-FWD-SUMM-INFO { + description + "MPLS LDP fowarding summary"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container rws { + description + "Forwarding rewrites summary"; + uses LDP-FWD-RW-SUMM; + } + leaf is-lsd-bound { + type boolean; + description + "LDP is connected to LSD server"; + } + leaf fsht { + type uint16; + description + "Forwarding state hold time registered with LSD"; + } + leaf intfs { + type uint16; + description + "MPLS forwarding enabled interface count"; + } + leaf lbls { + type uint16; + description + "Local label allocated count"; + } + } + + grouping LDP-BINDING-ALLOC { + description + "MPLS LDP Binding local label allocation filter"; + leaf has-acl { + type boolean; + description + "Has ACL filter?"; + } + leaf prefix-acl { + type string { + length "0..64"; + } + description + "Prefix ACL"; + } + leaf is-host-route-only { + type boolean; + description + "Host-routes only?"; + } + } + + grouping LDP-BINDING-ADVT-ACL-PAIR { + description + "MPLS LDP Binding advertisement ACL pair"; + leaf prefix-acl { + type string { + length "0..64"; + } + description + "Prefix ACL"; + } + leaf peer-acl { + type string { + length "0..64"; + } + description + "Peer ACL"; + } + } + + grouping LDP-BINDING-ADVT-SPEC { + description + "MPLS LDP Binding advertisement specification ACLs"; + container allocation-acl { + description + "Local label Allocation filter"; + uses LDP-BINDING-ALLOC; + } + list advt-acl { + description + "Advertisement ACLs"; + uses LDP-BINDING-ADVT-ACL-PAIR; + } + } + + grouping LDP-FWD-PATH-RLFA-MOI-INFO { + description + "MPLS LDP Forwarding Path Remote LFA-FRR backup + MPLS MOI info"; + list stack { + description + "Inner label stack info"; + uses LDP-FWD-PATH-MPLS-NH-INFO; + } + } + + grouping LDP-FWD-PATH-RLFA-MPLS-INFO { + description + "MPLS LDP Forwarding Path Remote LFA-FRR backup + MPLS info"; + container mpls-outgoing-info { + description + "Remote LFA MPLS nexthop(s_ info"; + uses LDP-FWD-PATH-RLFA-MOI-INFO; + } + leaf has-remote-lfa-bkup { + type boolean; + description + "Whether path has remote LFA backup"; + } + } + + grouping LDP-FWD-PATH-MPLS-NH-INFO { + description + "Forwarding Path MPLS nexthop info"; + container nexthop-peer-ldp-ident { + description + "Nexthop LDP peer"; + uses LDP-LDPID-INFO; + } + leaf out-label { + type uint32; + description + "Outgoing label"; + } + leaf out-label-rsn { + type Ldp-fwd-unlbl-rsn; + description + "Outgoing label reason"; + } + leaf out-label-type { + type Label-value; + description + "Outgoing Label Type"; + } + leaf out-label-owner { + type Ldp-route-path-lbl-owner; + description + "Outgoing label owner"; + } + leaf is-from-graceful-restartable-neighbor { + type boolean; + description + "Is from a GR neighbor"; + } + leaf is-stale { + type boolean; + description + "Is the entry stale"; + } + } + + grouping LDP-FWD-PATH-MPLS-INFO { + description + "MPLS LDP Forwarding Path MPLS information"; + container mpls-outgoing-info { + description + "MPLS nexthop info"; + uses LDP-FWD-PATH-MPLS-NH-INFO; + } + container remote-lfa { + description + "Remote LFA-FRR backup info"; + uses LDP-FWD-PATH-RLFA-MPLS-INFO; + } + } + + grouping LDP-FWD-PATH-RLFA-ROUTING-INFO { + description + "MPLS LDP Forwarding Path Remote LFA-FRR backup + routing info"; + container remote-p-node-id { + description + "Remote/P node address"; + uses LDP-IP-ADDR-T-UNION; + } + container remote-q-node-id { + description + "Remote/Q node address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf has-remote-lfa-bkup { + type boolean; + description + "Whether path has remote LFA backup"; + } + leaf needs-tldp { + type boolean; + description + "Whether TLDP is needed with remote PQ node"; + } + leaf has-q-node { + type boolean; + description + "Whether remote LFA path has a Q node associated"; + } + } + + grouping LDP-FWD-PATH-ROUTING-INFO { + description + "MPLS LDP Forwarding Path IP Routing information"; + container next-hop { + description + "Next Hop"; + uses LDP-IP-ADDR-T-UNION; + } + container remote-lfa { + description + "Remote LFA-FRR backup info"; + uses LDP-FWD-PATH-RLFA-ROUTING-INFO; + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf nh-is-overriden { + type boolean; + description + "Nexthop is overriden by LDP"; + } + leaf nexthop-id { + type uint32; + description + "Nexthop Identifier"; + } + leaf next-hop-table-id { + type uint32; + description + "Table ID for nexthop address"; + } + leaf flags { + type uint32; + description + "Route path flags"; + } + leaf load-metric { + type uint32; + description + "Path's load metric for load balancing"; + } + leaf path-id { + type uint8; + description + "path Id"; + } + leaf bkup-path-id { + type uint8; + description + "Backup path Id"; + } + leaf path-flags { + type Ldp-route-path-flags; + description + "Routing path flags decoded"; + } + } + + grouping LDP-FWD-PATH-INFO { + description + "MPLS LDP Forwarding Path info"; + container routing { + description + "IP routing information"; + uses LDP-FWD-PATH-ROUTING-INFO; + } + container mpls { + description + "MPLS information"; + uses LDP-FWD-PATH-MPLS-INFO; + } + } + + grouping LDP-FWD-ROUTE-MPLS-INFO { + description + "MPLS LDP Forwarding Route LDP information"; + leaf local-label { + type uint32; + description + "Local label"; + } + leaf forwarding-update-count { + type uint32; + description + "Number of forwarding updates"; + } + leaf forwarding-update-timestamp { + type uint64; + description + "Last Forwarding update nanosec timestamp"; + } + leaf forwarding-update-age { + type uint64; + description + "Last Forwarding update nanosec age"; + } + } + + grouping LDP-FWD-ROUTE-ROUTING-INFO { + description + "MPLS LDP Forwarding Route IP Routing information"; + leaf version { + type uint32; + description + "Route RIB ersion"; + } + leaf priority { + type uint8; + description + "Route priority"; + } + leaf source { + type uint16; + description + "Route source protol Id"; + } + leaf type { + type uint16; + description + "Route type"; + } + leaf flags { + type uint32; + description + "Route RIB flags"; + } + leaf metric { + type uint32; + description + "Route metric"; + } + leaf is-local-vrf-leaked { + type boolean; + description + "Is route leaked across local VRFs?"; + } + leaf routing-update-count { + type uint32; + description + "Number of routing updates"; + } + leaf routing-update-timestamp { + type uint64; + description + "Last Routing update nanosec timestamp"; + } + leaf routing-update-age { + type uint64; + description + "Last Routing update nanosec age"; + } + leaf sr-local-label { + type uint32; + description + "SR Local-label"; + } + } + + grouping LDP-FWD-ROUTE-INFO { + description + "MPLS LDP Forwarding Route information"; + container routing { + description + "IP routing information"; + uses LDP-FWD-ROUTE-ROUTING-INFO; + } + container mpls { + description + "MPLS information"; + uses LDP-FWD-ROUTE-MPLS-INFO; + } + } + + grouping LDP-FWD-PFX-INFO { + description + "MPLS LDP Forwarding Prefix Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container prefix-xr { + description + "IP Prefix"; + uses LDP-IP-ADDR-T-UNION; + } + container route { + description + "Route"; + uses LDP-FWD-ROUTE-INFO; + } + leaf table-id { + type uint32; + description + "Table ID associated with IP prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + list paths { + description + "Paths"; + uses LDP-FWD-PATH-INFO; + } + } + + grouping LDP-DISCOVERY-ADJ-GRP-INFO { + description + "MPLS LDP Discovery Adjacency Group Information"; + leaf adjacency-group-up-time { + type uint32; + units "second"; + description + "Adjacency group up time in seconds"; + } + leaf tcp-open-count { + type uint32; + description + "Count of attempted TCP opens"; + } + leaf tcp-arb-chg-count { + type uint32; + description + "Count of changes in TCP arbitration"; + } + leaf tcp-role { + type uint32; + description + "TCP Role"; + } + } + + grouping LDP-TARGETED-HELLO-BRIEF-INFO { + description + "MPLS LDP Discovery Targeted Brief Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container dhcb-target-address { + description + "DHCB target address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf address-family { + type Ldp-af; + description + "Targeted Discovery Address Family"; + } + list hello-information { + description + "LDP hello info"; + uses LDP-HELLO-BRIEF-INFO; + } + } + + grouping LDP-HELLO-BRIEF-INFO { + description + "MPLS LDP Hello Brief Information"; + leaf neighbor-ldp-identifier { + type string; + description + "Neighbor LDP Identifier"; + } + leaf hold-time { + type uint32; + description + "Session hold time in sec"; + } + leaf session-up { + type boolean; + description + "Is session up for this adj"; + } + } + + grouping LDP-DISCOVERY-LINK-BRIEF-INFO { + description + "MPLS LDP Discovery Link Brief Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf address-family { + type Ldp-af; + description + "Discovery Brief Address Family"; + } + leaf address-family-set { + type Ldp-af; + description + "Discovery Brief Address Family Set"; + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-name-xr { + type string; + description + "Interface name"; + } + list hello-information { + description + "LDP hello info"; + uses LDP-HELLO-BRIEF-INFO; + } + } + + grouping LDP-TARGETED-HELLO-INFO { + description + "MPLS LDP Targeted Hello Information"; + container dhcb-local-address { + description + "DHCB local address"; + uses LDP-IP-ADDR-T-UNION; + } + container dhcb-target-address { + description + "DHCB target address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf state { + type Dhcb-state; + description + "Targeted hello state"; + } + leaf adjacency-ldp-identifier { + type string; + description + "Adjacency LDP Identifier"; + } + leaf interval { + type uint32; + description + "Hello interval in sec"; + } + leaf next-hello { + type uint32; + description + "Next hello due time in msec"; + } + leaf hold-time { + type uint32; + description + "Targeted hello hold time"; + } + leaf local-hold-time { + type uint32; + description + "Local hold time"; + } + leaf neighbor-hold-time { + type uint32; + description + "Neighbor hold time"; + } + leaf disc-expiry { + type uint32; + description + "Discovery expiry time in msec"; + } + leaf quick-start-disabled { + type boolean; + description + "Quick-start disabled"; + } + leaf established-time { + type uint64; + description + "Hello adjacency estabished time in nanosec"; + } + leaf established-age { + type uint64; + description + "Hello adjacency estabished age in nanosec"; + } + leaf session-up { + type boolean; + description + "Is session up for this adj"; + } + leaf session-bringup-failure-reason { + type string; + description + "session bringup failure reason"; + } + list last-session-down-info { + description + "Last session down information"; + uses LDP-LAST-SESS-INFO; + } + } + + grouping LDP-DISCOVERY-SUMMARY-INFO { + description + "MPLS LDP Discovery Summary Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf local-ldp-id { + type string; + description + "Local LDP identifier"; + } + leaf num-of-ldp-interfaces { + type uint32; + description + "Total Number of LDP configured interfaces"; + } + leaf num-of-active-ldp-interfaces { + type uint32; + description + "Number of active LDP enabled interfaces"; + } + leaf num-of-lnk-disc-xmit { + type uint32; + description + "Number of link hello discoveries in xmit state"; + } + leaf num-of-tgt-disc-xmit { + type uint32; + description + "Number of targeted hello discoveries in xmit + state"; + } + leaf num-of-lnk-disc-recv { + type uint32; + description + "Number of link hello discoveries in recv state"; + } + leaf num-of-tgt-disc-recv { + type uint32; + description + "Number of targeted hello discoveries in recv + state"; + } + leaf num-of-disc-with-bad-addr-recv { + type uint32; + description + "Number of hello discoveries received with bad + source address"; + } + leaf num-of-disc-with-bad-hello-pdu { + type uint32; + description + "Number of hello discoveries received with bad + hello PDU"; + } + leaf num-of-disc-with-bad-xport-addr { + type uint32; + description + "Number of hello discoveries received with bad + export address"; + } + leaf num-of-disc-with-same-router-id { + type uint32; + description + "Number of hello discoveries received with the + same router id as this router"; + } + leaf num-of-disc-with-wrong-router-id { + type uint32; + description + "Number of hello discoveries received with the + router id that is not destined for this router"; + } + } + + grouping LDP-DISCOVERY-LINK-AF-INFO { + description + "MPLS LDP Discovery Link Address Family + Information"; + container local-src-address { + description + "Local source address"; + uses LDP-IP-ADDR-T-UNION; + } + container local-transport-address { + description + "Local transport address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf interval { + type uint32; + description + "Hello interval in sec"; + } + } + + grouping LDP-LAST-SESS-INFO { + description + "LDP last down session information"; + leaf last-session-down-reason { + type string; + description + "The reason of last socket failure"; + } + leaf last-session-down-time { + type uint64; + description + "Timestamp of when the last session went down"; + } + leaf last-session-up-time { + type uint32; + description + "The time duration the last session was up"; + } + } + + grouping LDP-HELLO-INFO { + description + "MPLS LDP Hello Information"; + container neighbor-src-address { + description + "Neighbor source address"; + uses LDP-IP-ADDR-T-UNION; + } + container neighbor-transport-address { + description + "Neighbor transport address"; + uses LDP-IP-ADDR-T-UNION; + } + container target { + description + "Target address"; + uses LDP-IP-ADDR-T-UNION; + } + leaf neighbor-ldp-identifier { + type string; + description + "Neighbor LDP Identifier"; + } + leaf is-no-route { + type boolean; + description + "Is route valid"; + } + leaf hold-time { + type uint32; + units "second"; + description + "Session hold time in seconds"; + } + leaf local-hold-time { + type uint32; + units "second"; + description + "Local hold time in seconds"; + } + leaf neighbor-hold-time { + type uint32; + units "second"; + description + "Neighbor hold time in seconds"; + } + leaf disc-expiry { + type uint32; + description + "Discovery expiry time in sec"; + } + leaf is-targeted { + type boolean; + description + "Is session a targeted session"; + } + leaf session-up { + type boolean; + description + "Is session up for this adj"; + } + leaf established-time { + type uint64; + description + "Hello adjacency estabished time in nanosec"; + } + leaf established-age { + type uint64; + description + "Hello adjacency estabished age in nanosec"; + } + leaf session-bringup-failure-reason { + type string; + description + "session bringup failure reason"; + } + list last-session-down-info { + description + "Last session down information"; + uses LDP-LAST-SESS-INFO; + } + } + + grouping LDP-DISCOVERY-LINK-INFO { + description + "MPLS LDP Discovery Link Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf next-hello { + type uint32; + description + "Next hello due time in msec"; + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf quick-start-disabled { + type boolean; + description + "Quick-start disabled"; + } + list hello-information { + description + "LDP hello info"; + uses LDP-HELLO-INFO; + } + list discovery-link-af { + max-elements "2"; + description + "LDP hello AF info"; + uses LDP-DISCOVERY-LINK-AF-INFO; + } + } + + grouping LDP-INTF-AUTOCFG { + description + "MPLS LDP auto configure"; + leaf tuple { + type string; + description + "Tuple"; + } + } + + grouping LDP-INTF-TE-MESH-GRP { + description + "MPLS LDP interface tunnel mesh group"; + leaf ldp-te-mesh-group-all-cfgd { + type boolean; + description + "LDP has enabled all TE mesh-groups"; + } + leaf ldp-mesh-group-enabled { + type boolean; + description + "LDP has enabled this TE mesh-group"; + } + leaf te-mesh-group-id { + type uint32; + description + "TE tunnel Mesh Group ID"; + } + } + + grouping LDP-INTF { + description + "MPLS LDP interface information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf ldp-enabled { + type boolean; + description + "LDP enabled"; + } + leaf is-im-stale { + type boolean; + description + "Is IM information stale"; + } + leaf ldp-config-mode { + type boolean; + description + "LDP config mode"; + } + leaf ldp-autoconfig-disable { + type boolean; + description + "LDP autoconfig disable"; + } + list te-mesh-grp { + description + "TE tunnel mesh-group"; + uses LDP-INTF-TE-MESH-GRP; + } + list auto-config { + description + "Auto config"; + uses LDP-INTF-AUTOCFG; + } + } + + grouping LDP-BINDING-SUMMARY-AF { + description + "MPLS LDP Binding Summary AF Information"; + leaf address-family { + type Ldp-af; + description + "Binding Summary Address Family"; + } + leaf last-lib-update { + type uint32; + description + "Last update to LIB local binding"; + } + leaf lib-minimum-revision-sent-all { + type uint32; + description + "Last update sent to all peers"; + } + leaf binding-total { + type uint32; + description + "Total bindings"; + } + leaf binding-local { + type uint32; + description + "Number of local bindings"; + } + leaf binding-remote { + type uint32; + description + "Number of remote bindings"; + } + } + + grouping LDP-BINDING-SUMMARY { + description + "MPLS LDP Binding Summary Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf address-family { + type Ldp-af; + description + "Address Family"; + } + leaf binding-no-route { + type uint32; + description + "Bindings with no route"; + } + leaf binding-local-no-route { + type uint32; + description + "Local bindings with no route"; + } + leaf binding-local-null { + type uint32; + description + "Number of local null bindings"; + } + leaf binding-local-implicit-null { + type uint32; + description + "Number of local implicit null bindings"; + } + leaf binding-local-explicit-null { + type uint32; + description + "Number of local explicit null bindings"; + } + leaf binding-local-non-null { + type uint32; + description + "Number of local non-null bindings"; + } + leaf binding-local-oor { + type uint32; + description + "Number of local bindings needing label - + OOR"; + } + leaf lowest-allocated-label { + type uint32; + description + "Lowest allocated label"; + } + leaf highest-allocated-label { + type uint32; + description + "Highest allocated label"; + } + list bind-af { + max-elements "2"; + description + "bind af"; + uses LDP-BINDING-SUMMARY-AF; + } + } + + grouping LDP-IGP-SYNC-DELAY-RESTART-INFO { + description + "MPLS LDP IGP Sync Restart Delay Information"; + leaf configured { + type boolean; + description + "Is restart delay configured"; + } + leaf delay-secs { + type uint32; + description + "Delay time"; + } + leaf timer-running { + type boolean; + description + "Is restart delay timer running"; + } + leaf remaining-secs { + type uint32; + description + "Delay timer remaining time"; + } + } + + grouping LDP-IGP-SYNC-INTF-GR-ONLY { + description + "MPLS LDP IGP Sync Interface GR-only reachable + Peer Information"; + leaf peer-id { + type String-td2; + description + "Peer Identifier"; + } + leaf is-chkpt-created { + type boolean; + description + "Is created due to checkpointing"; + } + } + + grouping LDP-IGP-SYNC-INTF-PEER { + description + "MPLS LDP IGP Sync Interface Peer Information"; + leaf peer-id { + type String-td2; + description + "Peer Identifier"; + } + leaf is-gr-enabled { + type boolean; + description + "Is GR enabled session"; + } + } + + grouping LDP-IGP-SYNC-INFO { + description + "MPLS LDP IGP Sync Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf igp-sync-state { + type Ldp-igp-sync-state; + description + "IGP Sync state"; + } + leaf igp-sync-delay { + type uint32; + units "second"; + description + "IGP sync delay in seconds"; + } + leaf is-delay-timer-running { + type boolean; + description + "Is sync delay timer running"; + } + leaf delay-timer-remaining { + type uint32; + units "second"; + description + "Remaining timer (seconds) till expiry of sync + delay timer"; + } + leaf igp-sync-down-reason { + type Ldp-igp-sync-down-reason; + description + "Reason IGP Sync Not Achieved"; + } + list peers { + description + "Interface Peers"; + uses LDP-IGP-SYNC-INTF-PEER; + } + list gr-only-peer { + description + "Interface GR-only reachable peers"; + uses LDP-IGP-SYNC-INTF-GR-ONLY; + } + } + + grouping LDP-TIB-ENTRY-REMOTE { + description + "MPLS LDP Remote Binding Information"; + container assigning-peer-ldp-ident { + description + "Assigning peer"; + uses LDP-LDPID-INFO; + } + leaf remote-label { + type uint32; + description + "Remote Label"; + } + leaf is-stale { + type boolean; + description + "Is the entry stale"; + } + leaf is-elc { + type boolean; + description + "Is the entry entropy label capable"; + } + } + + grouping LDP-TIB-ENTRY-DETAIL { + description + "MPLS LDP Binding Detail Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container prefix-xr { + description + "IP Prefix"; + uses LDP-IP-ADDR-T-UNION; + } + leaf prefix-length { + type uint8; + description + "Prefix Length"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + leaf le-local-binding-revision { + type uint32; + description + "Local Binding revision"; + } + leaf le-local-label-state { + type Local-label-state; + description + "Local label state"; + } + leaf is-no-route { + type boolean; + description + "No route"; + } + leaf label-oor { + type boolean; + description + "Label space depletion OOR"; + } + leaf advertise-prefix-acl { + type string; + description + "Advertise Prerfix ACL"; + } + leaf advertise-tsr-acl { + type string; + description + "Advertise TSR ACL"; + } + leaf config-enforced-local-label-value { + type boolean; + description + "Config/User enforced local label value"; + } + leaf is-elc { + type boolean; + description + "Is the entry entropy label capable"; + } + list remote-binding { + description + "Remote binding"; + uses LDP-TIB-ENTRY-REMOTE; + } + list peers-advertised-to { + description + "Peers this entry is advertised to"; + uses LDP-LDPID-INFO; + } + list peers-acked { + description + "Peers that have ACKed this entry"; + uses LDP-LDPID-INFO; + } + } + + grouping LDP-INTF-SUM { + description + "MPLS LDP interface summary"; + leaf known-ip-interface-count { + type uint32; + description + "Number of known IP Interfaces"; + } + leaf known-ip-interface-ldp-enabled { + type uint32; + description + "Number of known IP Interfaces with LDP Enabled"; + } + leaf ldp-configured-attached-interface { + type uint32; + description + "Number of attached interfaces configured in LDP"; + } + leaf ldp-configured-te-interface { + type uint32; + description + "Number of TE tunnel interfaces configured in LDP"; + } + leaf forward-references { + type uint32; + description + "Number of forward referenced interfaces"; + } + leaf auto-config-disabled { + type uint32; + description + "Autoconfigure disabled"; + } + leaf auto-config { + type uint32; + description + "Auto-configured interfaces"; + } + leaf auto-config-forward-reference-interfaces { + type uint32; + description + "Auto-configured forward references"; + } + } + + grouping LDP-SUMMARY-COMMON { + description + "MPLS LDP common summary Information"; + leaf address-families { + type Ldp-af; + description + "Address Families enabled"; + } + leaf number-of-ipv4af { + type uint32; + description + "Number of IPv4 address-families enabled"; + } + leaf number-of-ipv6af { + type uint32; + description + "Number of IPv6 address-families enabled"; + } + leaf number-of-neighbors { + type uint32; + description + "Number of neighbors"; + } + leaf number-of-nsr-synced-neighbors { + type uint32; + description + "Number of NSR-synced/operational neighbors"; + } + leaf number-of-graceful-restart-neighbors { + type uint32; + description + "Number of Graceful Restart neighbors"; + } + leaf number-of-downstream-on-demand-neighbors { + type uint32; + description + "Number of Downstream-On-Demand neighbors"; + } + leaf number-of-ipv4-hello-adj { + type uint32; + description + "Number of LDP discovery IPv4 hello adjacencies"; + } + leaf number-of-ipv6-hello-adj { + type uint32; + description + "Number of LDP discovery IPv6 hello adjacencies"; + } + leaf number-of-ipv4-routes { + type uint32; + description + "Number of resolved IPv4 routes"; + } + leaf number-of-ipv6-routes { + type uint32; + description + "Number of resolved IPv6 routes"; + } + leaf number-of-ipv4-local-addresses { + type uint32; + description + "Number of IPv4 local addresses"; + } + leaf number-of-ipv6-local-addresses { + type uint32; + description + "Number of IPv6 local addresses"; + } + leaf number-of-ldp-interfaces { + type uint32; + description + "Number of LDP configured interfaces"; + } + leaf number-of-ipv4ldp-interfaces { + type uint32; + description + "Number of LDP IPv4 configured interfaces"; + } + leaf number-of-ipv6ldp-interfaces { + type uint32; + description + "Number of LDP IPv6 configured interfaces"; + } + leaf number-of-bindings-ipv4 { + type uint32; + description + "Total number of ipv4 bindings"; + } + leaf number-of-bindings-ipv6 { + type uint32; + description + "Total number of ipv6 bindings"; + } + leaf number-of-local-bindings-ipv4 { + type uint32; + description + "Total number of ipv4 local label bindings"; + } + leaf number-of-local-bindings-ipv6 { + type uint32; + description + "Total number of ipv6 local label bindings"; + } + leaf number-of-remote-bindings-ipv4 { + type uint32; + description + "Total number of ipv4 remote label bindings"; + } + leaf number-of-remote-bindings-ipv6 { + type uint32; + description + "Total number of ipv6 remote label bindings"; + } + } + + grouping LDP-SUMMARY-VRF { + description + "MPLS LDP per VRF summarized Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + container common { + description + "Common Summary information"; + uses LDP-SUMMARY-COMMON; + } + } + + grouping LDP-CAP-DESC { + description + "MPLS LDP Capability Description"; + leaf type { + type uint16; + description + "Capability type (IANA assigned)"; + } + leaf description { + type string { + length "0..80"; + } + description + "Capability description"; + } + leaf capability-data-length { + type uint16; + description + "Capability data length"; + } + leaf capability-data { + type string; + description + "Capability data"; + } + } + + grouping LDP-CAP-INFO { + description + "MPLS LDP Capability Information"; + container capability { + description + "Capability information"; + uses LDP-CAP-DESC; + } + leaf capability-owner { + type string; + description + "Capability owner"; + } + } + + grouping LDP-IP-ADDR-T-UNION { + description + "LDP IP ADDR T UNION"; + leaf afi { + type Ldp-af-id; + description + "AFI"; + } + leaf dummy { + when "../afi = 'ldp-af-id-none'" { + description + "../AFI = 'LDP_AF_ID_NONE'"; + } + type uint8; + description + "No Address"; + } + leaf ipv4 { + when "../afi = 'ldp-af-id-ipv4'" { + description + "../AFI = 'LDP_AF_ID_IPV4'"; + } + type Ldp-in-addr; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../afi = 'ldp-af-id-ipv6'" { + description + "../AFI = 'LDP_AF_ID_IPV6'"; + } + type Ldp-in6-addr; + description + "IPv6 address type"; + } + } + + grouping LDP-GR-DNBR-INTF-INFO { + description + "MPLS LDP GR DownNbr Interface Info"; + leaf address-family { + type Ldp-af-id; + description + "Interface adj Address Family"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interfaces handle"; + } + } + + grouping LDP-LDPID-INFO { + description + "MPLS LDP Identifier Information"; + leaf lsr-id { + type inet:ipv4-address; + description + "LSR identifier"; + } + leaf label-space-id { + type uint16; + description + "Label space identifier"; + } + leaf ldp-id { + type string; + description + "LDP identifier"; + } + } + + grouping LDP-GR-NBR-INFO { + description + "MPLS LDP Graceful Restart Neighbor Information"; + container gr-peer { + description + "GR peer LDP Id"; + uses LDP-LDPID-INFO; + } + leaf connect-count { + type uint32; + description + "ConnectCount"; + } + leaf is-neighbor-up { + type boolean; + description + "Is neighbor up"; + } + leaf is-liveness-timer-running { + type boolean; + description + "Is liveness timer running"; + } + leaf liveness-timer-remaining-seconds { + type uint32; + description + "Remaining time from liveness timer"; + } + leaf is-recovery-timer-running { + type boolean; + description + "Is recovery timer running"; + } + leaf recovery-timer-remaining-seconds { + type uint32; + description + "Recovery timer remining time"; + } + leaf down-nbr-flap-count { + type uint8; + description + "Count of back2back flaps"; + } + leaf down-nbr-flags { + type uint32; + description + "Flags"; + } + leaf down-nbr-down-reason { + type uint32; + description + "Session down reason code"; + } + list down-nbr-interface { + description + "Interfaces bound to GR down Nbr"; + uses LDP-GR-DNBR-INTF-INFO; + } + list down-nbr-address { + description + "Addresses bound to GR down Nbr"; + uses LDP-IP-ADDR-T-UNION; + } + } + + grouping LDP-VRF-INFO { + description + "MPLS LDP VRF information"; + leaf name { + type string; + description + "VRF Name"; + } + leaf id { + type uint32; + description + "VRF Id"; + } + } + + grouping LDP-GR-GLOBAL-INFO { + description + "MPLS LDP Graceful Restart Information"; + container vrf { + description + "VRF information"; + uses LDP-VRF-INFO; + } + leaf is-forwarding-state-hold-timer-running { + type boolean; + description + "Is graceful restart forwarding state hold timer + running"; + } + leaf forwarding-state-hold-timer-remaining-seconds { + type uint32; + units "second"; + description + "Forwarding state hold timer remaining time in + seconds"; + } + list graceful-restartable-neighbor { + description + "Vector of graceful restart neighbor information"; + uses LDP-GR-NBR-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang new file mode 100644 index 0000000..837a923 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub2.yang @@ -0,0 +1,280 @@ +submodule Cisco-IOS-XR-mpls-ldp-oper-sub2 { + belongs-to Cisco-IOS-XR-mpls-ldp-oper { + prefix Cisco-IOS-XR-mpls-ldp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2vpn-ldp-pw-aii { + type enumeration { + enum "local-id" { + description + "AII Type 1"; + } + enum "type2" { + description + "AII Type 2"; + } + } + description + "L2vpn ldp pw aii"; + } + + typedef L2vpn-ldp-pw-agi { + type enumeration { + enum "rd" { + description + "AGI type RD"; + } + } + description + "L2vpn ldp pw agi"; + } + + typedef L2vpn-ldp-pw-fec { + type enumeration { + enum "fec128" { + description + "FEC 128 pseudowire type"; + } + enum "fec129" { + description + "FEC 129 pseudowire type"; + } + enum "fec130" { + description + "FEC 130 pseudowire type"; + } + enum "invalid" { + description + "FEC not applicable"; + } + } + description + "L2vpn ldp pw fec"; + } + + grouping L2VPN-LDP-PW-FEC-130 { + description + "L2VPN LDP PW FEC 130"; + container agi { + description + "AGI"; + uses L2VPN-LDP-PW-AGI; + } + container saii { + description + "Source Attachment Individual Identifier"; + uses L2VPN-LDP-PW-AII; + } + } + + grouping L2VPN-LDP-PW-AII2 { + description + "L2VPN LDP PW AII2"; + leaf gobal-id { + type uint32; + description + "Global ID"; + } + leaf prefix { + type uint32; + description + "Prefix"; + } + leaf ac-id { + type uint32; + description + "AC ID"; + } + } + + grouping L2VPN-LDP-PW-AII1 { + description + "L2VPN LDP PW AII1"; + leaf local-id { + type inet:ipv4-address; + description + "Local Identifier"; + } + } + + grouping L2VPN-LDP-PW-AII { + description + "L2VPN LDP PW AII"; + container aii1 { + when "../aii-type = 'local-id'" { + description + "../AIIType = 'LocalID'"; + } + description + "aii1"; + uses L2VPN-LDP-PW-AII1; + } + container aii2 { + when "../aii-type = 'type2'" { + description + "../AIIType = 'Type2'"; + } + description + "aii2"; + uses L2VPN-LDP-PW-AII2; + } + leaf aii-type { + type L2vpn-ldp-pw-aii; + description + "AIIType"; + } + } + + grouping L2VPN-LDP-PW-AGI1 { + description + "L2VPN LDP PW AGI1"; + leaf rd { + type uint64; + description + "Route Distinguisher"; + } + } + + grouping L2VPN-LDP-PW-AGI { + description + "L2VPN LDP PW AGI"; + container agi1 { + when "../agi-type = 'rd'" { + description + "../AGIType = 'RD'"; + } + description + "agi1"; + uses L2VPN-LDP-PW-AGI1; + } + leaf agi-type { + type L2vpn-ldp-pw-agi; + description + "AGIType"; + } + } + + grouping L2VPN-LDP-PW-FEC-129 { + description + "L2VPN LDP PW FEC 129"; + container agi { + description + "AGI"; + uses L2VPN-LDP-PW-AGI; + } + container saii { + description + "Source Attachment Individual Identifier"; + uses L2VPN-LDP-PW-AII; + } + container taii { + description + "Target Attachment Individual Identifier"; + uses L2VPN-LDP-PW-AII; + } + } + + grouping L2VPN-LDP-PW-FEC-128 { + description + "L2VPN LDP PW FEC 128"; + leaf pseudowire-id { + type uint32; + description + "Pseudowire ID"; + } + } + + grouping L2VPN-LDP-PW-FEC-INFO { + description + "L2VPN LDP PW FEC INFO"; + container fec128 { + when "../fe-ctype = 'fec128'" { + description + "../FECType = 'FEC128'"; + } + description + "fec128"; + uses L2VPN-LDP-PW-FEC-128; + } + container fec129 { + when "../fe-ctype = 'fec129'" { + description + "../FECType = 'FEC129'"; + } + description + "fec129"; + uses L2VPN-LDP-PW-FEC-129; + } + container fec130 { + when "../fe-ctype = 'fec130'" { + description + "../FECType = 'FEC130'"; + } + description + "fec130"; + uses L2VPN-LDP-PW-FEC-130; + } + leaf fe-ctype { + type L2vpn-ldp-pw-fec; + description + "FECType"; + } + } + + grouping L2VPN-LDP-ATOM { + description + "L2VPN AToM-DB information"; + container fec-info { + description + "Pseudowire FEC information"; + uses L2VPN-LDP-PW-FEC-INFO; + } + leaf peer-id-xr { + type inet:ipv4-address; + description + "Peer ID"; + } + leaf mapping-tlv-count { + type uint32; + description + "TLV Count from Label Mapping Message"; + } + leaf notification-tlv-count { + type uint32; + description + "TLV Count from Notification Message"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang new file mode 100644 index 0000000..b39a717 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper-sub3.yang @@ -0,0 +1,284 @@ +submodule Cisco-IOS-XR-mpls-ldp-oper-sub3 { + belongs-to Cisco-IOS-XR-mpls-ldp-oper { + prefix Cisco-IOS-XR-mpls-ldp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping LDP-NSR-GBL-SYNCI-INFO { + description + "MPLS LDP NSR Global Init Sync Information"; + leaf nsr-cfged { + type boolean; + description + "TRUE if NSR configured"; + } + leaf nsr-synced { + type boolean; + description + "TRUE if NSR synced"; + } + leaf init-sync-start { + type uint32; + description + "Init Sync Start Time"; + } + leaf init-sync-end { + type uint32; + description + "Init Sync End Time"; + } + leaf num-peers { + type uint32; + description + "Number of Peers"; + } + leaf num-cap-sent { + type uint32; + description + "Number of Sent Capabilities objects"; + } + leaf num-cap-rcvd { + type uint32; + description + "Number of Rcvd Capabilities objects"; + } + leaf num-pfx { + type uint32; + description + "Number of binding prefixes"; + } + leaf num-lbl { + type uint32; + description + "Number of label bindings"; + } + leaf num-lcl-addr-wd { + type uint32; + description + "Num of lcl address withdraw"; + } + leaf num-lbl-adv { + type uint32; + description + "Num of lbl adv"; + } + leaf ipc-msg-tx-cnt { + type uint32; + description + "num IPC msgs sent"; + } + leaf ipc-msg-tx-bytes { + type uint32; + units "byte"; + description + "total IPC bytes sent"; + } + leaf ipc-msg-rx-cnt { + type uint32; + description + "num IPC msgs rxed"; + } + leaf ipc-msg-rx-bytes { + type uint32; + description + "num IPC msgs rxed"; + } + leaf ipc-max-tx-batch-bytes { + type uint32; + units "byte"; + description + "biggest IPC TX bytes"; + } + leaf ipc-max-rx-batch-bytes { + type uint32; + units "byte"; + description + "biggest IPC RX bytes"; + } + leaf ipc-tx-fail-cnt { + type uint32; + description + "number of ipc send failures"; + } + leaf total-ipc-tx-fail-cnt { + type uint32; + description + "total number of ipc send failures"; + } + leaf ipc-restart-cnt { + type uint32; + description + "number of times ipc has been restarted"; + } + leaf ipc-default-mtu { + type uint32; + units "byte"; + description + "default IPC MTU bytes"; + } + leaf ipc-exceeded-mtu-msg-cnt { + type uint32; + description + "ipc exceeded mtu msg cnt"; + } + } + + grouping LDP-NSR-GBL-STATS-INFO { + description + "MPLS LDP NSR Global Stats Information"; + container init-sync { + description + "Init Sync"; + uses LDP-NSR-GBL-SYNCI-INFO; + } + } + + grouping LDP-NSR-NBR-SYNCS-INFO { + description + "MPLS LDP NSR Nbr Steady State Sync Information"; + leaf num-cap-sent { + type uint32; + description + "Num of Sent Capabilities"; + } + leaf num-cap-rcvd { + type uint32; + description + "Num of Rcvd Capabilities"; + } + leaf rem-lbl-wd { + type uint32; + description + "Number of remote label withdraw events"; + } + leaf rem-lbl-rq { + type uint32; + description + "Number of remote label request events"; + } + leaf num-stdby-adj-join { + type uint32; + description + "Number of standby adj join"; + } + leaf num-stdby-adj-leave { + type uint32; + description + "Number of standby adj leave"; + } + } + + grouping LDP-NSR-NBR-SYNCI-INFO { + description + "MPLS LDP NSR Nbr Init Sync Information"; + leaf init-sync-start { + type uint32; + description + "Init Sync Start Time"; + } + leaf init-sync-end { + type uint32; + description + "Init Sync End Time"; + } + leaf num-addr { + type uint32; + description + "Number of peer addresses"; + } + leaf num-duplicate-addr { + type uint32; + description + "Number of duplicate peer addresses"; + } + leaf num-rx-bytes { + type uint32; + units "byte"; + description + "Number of unprocessed Rx buffer bytes"; + } + leaf num-cap-sent { + type uint32; + description + "Num of Sent Capabilities"; + } + leaf num-cap-rcvd { + type uint32; + description + "Num of Rcvd Capabilities"; + } + leaf num-lbl { + type uint32; + description + "Number of peer bindings"; + } + leaf num-app-bytes { + type uint32; + units "byte"; + description + "Number of external App data bytes"; + } + } + + grouping LDP-NSR-STATS-NBR-INFO { + description + "MPLS LDP NSR Neighbor Stats Information"; + container init-sync-info { + description + "NSR Init Sync Info"; + uses LDP-NSR-NBR-SYNCI-INFO; + } + container steady-state-sync-info { + description + "NSR Steady State Sync Info"; + uses LDP-NSR-NBR-SYNCS-INFO; + } + leaf lsr-id-xr { + type uint32; + description + "lsr id xr"; + } + leaf lbl-spc-id { + type uint16; + description + "lbl spc id"; + } + leaf nsr-sync-state { + type int32; + description + "nsr sync state"; + } + leaf num-msg { + type uint32; + description + "Number of sync messages"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper.yang new file mode 100644 index 0000000..6f12a33 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-ldp-oper.yang @@ -0,0 +1,826 @@ +module Cisco-IOS-XR-mpls-ldp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper"; + prefix mpls-ldp-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-ldp-oper-sub3 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-ldp-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-ldp-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-ldp package operational data. + + This module contains definitions + for the following management objects: + mpls-ldp: MPLS LDP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-ldp-oper-af-name { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Mpls ldp oper af name"; + } + + grouping NSR-SUMMARY-ALL { + description + "Common node of active, standby, node"; + container nsr-summary-all { + description + "Summary information regarding LDP NSR State"; + uses LDP-NSR-SUM; + } + } + + grouping LDP-ID { + description + "Common node of default-vrf, vrf"; + container ldp-id { + description + "Local LDP Id"; + uses LDP-LDPID-INFO; + } + } + + grouping CAPABILITY-TABLE { + description + "Common node of default-vrf, vrf"; + container capabilities { + description + "LDP capability database information"; + list capability { + key "capability-type"; + description + "Information on LDP capability"; + leaf capability-type { + type int32; + description + "The capability type (IANA assigned)"; + } + uses LDP-CAP-INFO; + } + } + } + + grouping NEIGHBOR-CAPABILITY-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbor-capabilities { + description + "LDP Neighbors Capabilities"; + list neighbor-capability { + description + "Information on capabilities of a particular LDP + neighbor"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-NBR-CAP-INFO; + } + } + } + + grouping VRF-TABLE { + description + "Common node of active, standby, node"; + container vrfs { + description + "VRF specific operational data"; + list vrf { + key "vrf-name"; + description + "Operational data for given VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses GRACEFUL-RESTART; + uses CAPABILITY-TABLE; + uses SUMMARY; + uses AF-TABLE; + uses NEIGHBOR-BRIEF-TABLE; + uses BACKOFF-PARAMETERS; + uses BACKOFF-TABLE; + uses NSR; + uses PARAMETERS; + uses ISSU; + uses NEIGHBOR-CAPABILITY-TABLE; + uses NEIGHBOR-TABLE; + uses LDP-ID; + uses STATISTICS-TABLE; + } + } + } + + grouping BACKOFF-PARAMETERS { + description + "Common node of default-vrf, vrf"; + container backoff-parameters { + description + "The LDP Backoff Parameters"; + uses LDP-BACKOFF-INFO; + } + } + + grouping HA-SUMMARY { + description + "Common node of nsr, issu"; + container ha-summary { + description + "LDP HA Summary"; + uses LDP-NSR-SUM; + } + } + + grouping STATISTICS-TABLE { + description + "Common node of default-vrf, vrf"; + container statistics { + description + "The LDP Statistics"; + list statistic { + description + "Statistical Information on a particular LDP + neighbor"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-STATS-INFO; + } + } + } + + grouping DISCOVERY-SUMMARY-ALL { + description + "Common node of active, standby, node"; + container discovery-summary-all { + description + "Summary information regarding LDP discovery"; + uses LDP-DISCOVERY-SUMMARY-INFO; + } + } + + grouping BINDINGS-SUMMARY-ALL { + description + "Common node of active, standby, node"; + container bindings-summary-all { + description + "Aggregate VRF counters for the LDP Label + Infomation Base (LIB)"; + uses LDP-BINDING-SUMMARY; + } + } + + grouping DEFAULT-VRF { + description + "Common node of active, standby, node"; + container default-vrf { + description + "DefaultVRF specific operational data"; + uses GRACEFUL-RESTART; + uses CAPABILITY-TABLE; + uses SUMMARY; + uses AF-TABLE; + uses NEIGHBOR-BRIEF-TABLE; + uses BACKOFF-PARAMETERS; + uses BACKOFF-TABLE; + uses NSR; + uses PARAMETERS; + uses ISSU; + uses NEIGHBOR-CAPABILITY-TABLE; + uses NEIGHBOR-TABLE; + uses LDP-ID; + uses STATISTICS-TABLE; + } + } + + grouping NEIGHBOR-BRIEF-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbor-briefs { + description + "The LDP Neighbors (brief)"; + list neighbor-brief { + description + "Brief information on a particular LDP neighbor"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-NEIGHBOR-BRIEF-INFO; + } + } + } + + grouping ATO-MDB-TABLE { + description + "Common node of active, standby, node"; + container ato-mdb-table-entries { + description + "AToM DB Table"; + list ato-mdb-table-entry { + description + "Entries in AToM DB"; + leaf peer-id { + type inet:ip-address-no-zone; + description + "Peer ID"; + } + leaf fe-ctype { + type int32; + description + "FEC Type"; + } + leaf pw-id { + type int32; + description + "PW ID"; + } + leaf agi-type { + type int32; + description + "AGI Type"; + } + leaf agi { + type int32; + description + "AGI"; + } + leaf saii-type { + type int32; + description + "SAII Type"; + } + leaf saii-local-id { + type inet:ip-address-no-zone; + description + "SAII Local ID"; + } + leaf saii-global-id { + type int32; + description + "SAII Global ID"; + } + leaf saii-prefix { + type xr:Hex-integer; + description + "SAII Prefix"; + } + leaf saii-ac-id { + type int32; + description + "SAII AC ID"; + } + leaf taii-type { + type int32; + description + "TAII Type"; + } + leaf taii-local-id { + type inet:ip-address-no-zone; + description + "TAII Local ID"; + } + leaf taii-global-id { + type int32; + description + "TAII Global ID"; + } + leaf taii-prefix { + type xr:Hex-integer; + description + "TAII Prefix"; + } + leaf taii-ac-id { + type int32; + description + "TAII AC ID"; + } + uses L2VPN-LDP-ATOM; + } + } + } + + grouping PARAMETERS { + description + "Common node of default-vrf, vrf"; + container parameters { + description + "LDP parameters"; + uses LDP-PARAMETERS; + } + } + + grouping FORWARDING-SUMMARY-ALL { + description + "Common node of active, standby, node"; + container forwarding-summary-all { + description + "Summary information regarding LDP forwarding + setup"; + uses LDP-FWD-SUMM-INFO; + } + } + + grouping SUMMARY { + description + "Common node of default-vrf, vrf"; + container summary { + description + "LDP VRF summary"; + uses LDP-SUMMARY-VRF; + } + } + + grouping MPLS-LDP-OPER-SUMMARY { + description + "Common node of default-vrf, vrfCommon node of + active, standby, node"; + container summary { + description + "LDP summary"; + uses LDP-SUMMARY; + } + } + + grouping HA-STATISTICS { + description + "Common node of nsr, issu"; + container ha-statistics { + description + "LDP NSR Statistics related information"; + container ha-global { + description + "LDP NSR Global Statistics information"; + uses LDP-NSR-GBL-STATS-INFO; + } + uses HA-NEIGHBOR-TABLE; + } + } + + grouping NSR { + description + "Common node of default-vrf, vrf"; + container nsr { + description + "LDP NSR related information"; + container nsr-pending { + description + "LDP NSR Pending related information"; + uses HA-NEIGHBOR-TABLE; + } + uses HA-SUMMARY; + uses HA-STATISTICS; + } + } + + grouping GRACEFUL-RESTART { + description + "Common node of default-vrf, vrf"; + container graceful-restart { + description + "LDP Graceful Restart info"; + uses LDP-GR-GLOBAL-INFO; + } + } + + grouping HA-NEIGHBOR-TABLE { + description + "Common node of nsr-pending, ha-statistics"; + container ha-neighbors { + description + "The LDP HA Neighbors"; + list ha-neighbor { + description + "Information on a particular LDP HA neighbor"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-NSR-STATS-NBR-INFO; + } + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of default-vrf, vrf"; + container neighbors { + description + "The LDP Neighbors"; + list neighbor { + description + "Information on a particular LDP neighbor"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-NEIGHBOR-INFO; + } + } + } + + grouping ISSU { + description + "Common node of default-vrf, vrf"; + container issu { + description + "LDP ISSU related information"; + uses HA-SUMMARY; + uses HA-STATISTICS; + } + } + + grouping BACKOFF-TABLE { + description + "Common node of default-vrf, vrf"; + container backoffs { + description + "The LDP backoff"; + list backoff { + description + "LDP Backoff Information"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-BACKOFF-ENTRY-INFO; + } + } + } + + grouping AF-TABLE { + description + "Common node of default-vrf, vrf"; + container afs { + description + "Address Family specific operational data"; + list af { + key "af-name"; + description + "Operational data for given Address Family"; + container interface-summary { + description + "IPv4 interface summary information"; + uses LDP-INTF-SUM; + } + container bindings { + description + "The LDP Bindings"; + list binding { + key "prefix"; + description + "Binding Information"; + leaf prefix { + type inet:ip-prefix; + description + "The IP Prefix"; + } + uses LDP-TIB-ENTRY-DETAIL; + } + } + container igp { + description + "LDP IGP related information"; + container syncs { + description + "LDP IGP Sync related information"; + list sync { + key "interface-name"; + description + "LDP-IGP Synchronization related information + for an interface"; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses LDP-IGP-SYNC-INFO; + } + } + container sync-delay-restart { + description + "LDP-IGP Synchronization Delay related + information"; + uses LDP-IGP-SYNC-DELAY-RESTART-INFO; + } + } + container bindings-summary { + description + "Counters for the LDP Label Infomation Base + (LIB)"; + uses LDP-BINDING-SUMMARY; + } + container interfaces { + description + "LDP Interface related information"; + list interface { + key "interface-name"; + description + "IPv4 interface information"; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses LDP-INTF; + } + } + container discovery { + description + "The LDP Discovery"; + container link-hellos { + description + "The LDP Discovery link"; + list link-hello { + key "interface-name"; + description + "Information on LDP link discovery"; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses LDP-DISCOVERY-LINK-INFO; + } + } + container summary { + description + "Summarized information on LDP discovery"; + uses LDP-DISCOVERY-SUMMARY-INFO; + } + container targeted-hellos { + description + "The LDP Discovery Targeted"; + list targeted-hello { + description + "Information on LDP targeted discovery"; + leaf local-address { + type inet:ip-address-no-zone; + description + "Local IP Address"; + } + leaf target-address { + type inet:ip-address-no-zone; + description + "The target IP Address"; + } + uses LDP-TARGETED-HELLO-INFO; + } + } + container brief { + description + "Brief information on LDP discovery"; + container link-hello-briefs { + description + "The LDP Discovery link brief information"; + list link-hello-brief { + key "interface-name"; + description + "Brief information on LDP link discovery"; + leaf interface-name { + type xr:Interface-name; + description + "The Interface Name"; + } + uses LDP-DISCOVERY-LINK-BRIEF-INFO; + } + } + container targeted-hello-briefs { + description + "The LDP Discovery Targeted brief information"; + list targeted-hello-brief { + description + "Brief information on LDP targeted discovery"; + leaf local-address { + type inet:ip-address-no-zone; + description + "Local IP Address"; + } + leaf target-address { + type inet:ip-address-no-zone; + description + "The target IP Address"; + } + uses LDP-TARGETED-HELLO-BRIEF-INFO; + } + } + } + container stats { + description + "The LDP Discovery Statistics"; + list stat { + description + "Information on LDP discovery statistics"; + leaf lsr-id { + type inet:ipv4-address-no-zone; + description + "LSR ID of neighbor"; + } + leaf label-space-id { + type uint32 { + range "0..65535"; + } + description + "Label space ID of neighbor"; + } + uses LDP-DISCOVERY-ADJ-GRP-INFO; + } + } + } + container bindings-summary-all { + description + "Aggregate VRF counters for the LDP Label + Infomation Base (LIB)"; + uses LDP-BINDING-SUMMARY; + } + container forwardings { + description + "The LDP Forwarding rewrites"; + list forwarding { + key "prefix"; + description + "Information on a particular LDP forwarding + rewrite"; + leaf prefix { + type inet:ip-prefix; + description + "The IP Prefix"; + } + uses LDP-FWD-PFX-INFO; + } + } + container bindings-advertise-spec { + description + "Advertisement Spec (ACL) for LDP Label + Infomation Base (LIB)"; + uses LDP-BINDING-ADVT-SPEC; + } + container forwarding-summary { + description + "Summary information regarding LDP forwarding + setup"; + uses LDP-FWD-SUMM-INFO; + } + leaf af-name { + type Mpls-ldp-oper-af-name; + description + "Address Family name"; + } + } + } + } + + container mpls-ldp { + config false; + description + "MPLS LDP operational data"; + container global { + description + "Global MPLS LDP operational data"; + container standby { + description + "Standby MPLS LDP operational data"; + uses DEFAULT-VRF; + uses FORWARDING-SUMMARY-ALL; + uses BINDINGS-SUMMARY-ALL; + uses ATO-MDB-TABLE; + uses NSR-SUMMARY-ALL; + uses MPLS-LDP-OPER-SUMMARY; + uses VRF-TABLE; + uses DISCOVERY-SUMMARY-ALL; + } + container active { + description + "Active MPLS LDP operational data"; + uses DEFAULT-VRF; + uses FORWARDING-SUMMARY-ALL; + uses BINDINGS-SUMMARY-ALL; + uses ATO-MDB-TABLE; + uses NSR-SUMMARY-ALL; + uses MPLS-LDP-OPER-SUMMARY; + uses VRF-TABLE; + uses DISCOVERY-SUMMARY-ALL; + } + } + container nodes { + description + "Location MPLS LDP operational data"; + list node { + key "node-name"; + description + "The MPLD LDP operational data for a particular + node"; + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + uses DEFAULT-VRF; + uses FORWARDING-SUMMARY-ALL; + uses BINDINGS-SUMMARY-ALL; + uses ATO-MDB-TABLE; + uses NSR-SUMMARY-ALL; + uses MPLS-LDP-OPER-SUMMARY; + uses VRF-TABLE; + uses DISCOVERY-SUMMARY-ALL; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-cfg.yang new file mode 100644 index 0000000..aaa3ae0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-cfg.yang @@ -0,0 +1,152 @@ +module Cisco-IOS-XR-mpls-lsd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-cfg"; + prefix mpls-lsd-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-lsd package configuration. + + This module contains definitions + for the following management objects: + mpls-lsd: MPLS LSD configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-ip-ttl-propagate-disable { + type enumeration { + enum "all" { + value 0; + description + "Disable IP TTL propagation for all MPLS packets"; + } + enum "forward" { + value 1; + description + "Disable IP TTL propagation for only forwarded + MPLS packets"; + } + enum "local" { + value 2; + description + "Disable IP TTL propagation for only locally + generated MPLS packets"; + } + } + description + "Mpls ip ttl propagate disable"; + } + + grouping TTL-EXPIRATION-POP { + description + "Common node of ipv4, ipv6"; + leaf ttl-expiration-pop { + type uint32 { + range "1..10"; + } + description + "Number of labels to pop upon MPLS IP TTL expiry"; + } + } + + container mpls-lsd { + description + "MPLS LSD configuration data"; + container ipv6 { + description + "Configure IPv6 parameters"; + uses TTL-EXPIRATION-POP; + } + container ipv4 { + description + "Configure IPv4 parameters"; + uses TTL-EXPIRATION-POP; + } + container label-databases { + description + "Table of label databases"; + list label-database { + key "label-database-id"; + description + "A label database"; + container label-range { + description + "Label range"; + leaf minvalue { + type uint32 { + range "16000..1048575"; + } + description + "Minimum label value"; + } + leaf max-value { + type uint32 { + range "16000..1048575"; + } + description + "Maximum label value"; + } + leaf min-static-value { + type uint32 { + range "0..1048575"; + } + description + "Minimum static label value"; + } + leaf max-static-value { + type uint32 { + range "0..1048575"; + } + description + "Maximum static label value"; + } + } + leaf label-database-id { + type uint32; + description + "Label database identifier"; + } + } + } + leaf ltrace-multiplier { + type uint32 { + range "2..5"; + } + description + "Multiply the MPLS LSD Ltrace buffer length"; + } + leaf app-reg-delay-disable { + type empty; + description + "Disable LSD application reg delay"; + } + leaf mpls-entropy-label { + type empty; + description + "Enable MPLS Entropy Label"; + } + leaf mpls-ip-ttl-propagate-disable { + type Mpls-ip-ttl-propagate-disable; + description + "Disable Propagation of IP TTL onto the label + stack"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang new file mode 100644 index 0000000..6257b08 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper-sub1.yang @@ -0,0 +1,3290 @@ +submodule Cisco-IOS-XR-mpls-lsd-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-lsd-oper { + prefix Cisco-IOS-XR-mpls-lsd-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-lsd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mgmt-lsd-intf-state { + type enumeration { + enum "mgmt-lsd-intf-state-unknown" { + description + "unknown"; + } + enum "mgmt-lsd-intf-state-up" { + description + "up"; + } + enum "mgmt-lsd-intf-state-down" { + description + "down"; + } + } + description + "Mgmt lsd intf state"; + } + + typedef Mgmt-lsd-app-state { + type enumeration { + enum "mgmt-lsd-app-state-active" { + description + "Active"; + } + enum "mgmt-lsd-app-state-zombie" { + description + "Zombie"; + } + enum "mgmt-lsd-app-state-recover" { + description + "Recover"; + } + } + description + "Mgmt lsd app state"; + } + + typedef Mgmt-lsd-rw-id { + type enumeration { + enum "mgmt-lsd-rw-id-type-none" { + description + "None"; + } + enum "mgmt-lsd-rw-id-type-lbl-ctx" { + description + "Label Context"; + } + enum "mgmt-lsd-rw-id-type-loc-lbl" { + description + "Local Label"; + } + } + description + "Mgmt lsd rw id"; + } + + typedef Mgmt-lsd-moi { + type enumeration { + enum "mgmt-lsd-moi-type-pop-and-lkup-ipv4" { + description + "Pop-and-lookup IPv4"; + } + enum "mgmt-lsd-moi-type-ipv4" { + description + "IPv4"; + } + enum "mgmt-lsd-moi-type-ipv6" { + description + "IPv6"; + } + enum "mgmt-lsd-moi-type-tev4" { + description + "TE IPv4"; + } + enum "mgmt-lsd-moi-type-pw" { + description + "PW"; + } + enum "mgmt-lsd-moi-type-pop-and-lkup-ipv6" { + description + "Pop-and-lookup IPv6"; + } + enum "mgmt-lsd-moi-type-ip-sub" { + description + "IP Subscriber"; + } + enum "mgmt-lsd-moi-type-pwhe" { + description + "PW HE"; + } + enum "mgmt-lsd-moi-type-pw-list" { + description + "PW List"; + } + enum "mgmt-lsd-moi-type-ipv4-stack" { + description + "IPv4 Multi-Label"; + } + enum "mgmt-lsd-moi-type-pop-and-lkup-tp" { + description + "Pop-and-lookup TP"; + } + enum "mgmt-lsd-moi-type-ipv6-stack" { + description + "IPv6 Multi-Label"; + } + enum "mgmt-lsd-moi-type-te-head" { + description + "TE Head"; + } + enum "mgmt-lsd-moi-type-dmtc-ext-intf" { + description + "Demand Matrix Traffic-Collector"; + } + } + description + "Mgmt lsd moi"; + } + + typedef Mgmt-lsd-fpi { + type enumeration { + enum "mgmt-lsd-fpi-type-label" { + description + "Label"; + } + enum "mgmt-lsd-fpi-type-te" { + description + "TE"; + } + enum "mgmt-lsd-fpi-type-ipv4" { + description + "IPv4"; + } + enum "mgmt-lsd-fpi-type-ipv6" { + description + "IPv6"; + } + enum "mgmt-lsd-fpi-type-pw-list" { + description + "PW List"; + } + enum "mgmt-lsd-fpi-type-te-v2" { + description + "TE v2"; + } + enum "mgmt-lsd-fpi-type-dmtc-ext-intf" { + description + "DMTC External Interface"; + } + } + description + "Mgmt lsd fpi"; + } + + typedef Mgmt-lsd-frr-state { + type enumeration { + enum "mgmt-lsd-frr-state-partial" { + description + "Partial"; + } + enum "mgmt-lsd-frr-state-active" { + description + "Active"; + } + enum "mgmt-lsd-frr-state-ready" { + description + "Ready"; + } + enum "mgmt-lsd-frr-state-complete" { + description + "Complete"; + } + enum "mgmt-lsd-frr-state-any" { + description + "Any"; + } + enum "mgmt-lsd-frr-state-igp" { + description + "IGP"; + } + } + description + "Mgmt lsd frr state"; + } + + typedef Mgmt-lsd-lsp-role { + type enumeration { + enum "mgmt-lsd-lsp-role-head" { + description + "Head"; + } + enum "mgmt-lsd-lsp-role-mid" { + description + "Midpoint"; + } + } + description + "Mgmt lsd lsp role"; + } + + typedef Mgmt-lsd-te-binding { + type enumeration { + enum "mgmt-lsd-ident-p2p-tun-id" { + description + "mgmt lsd ident p2p tun id"; + } + enum "mgmt-lsd-ident-p2p-grp-id" { + description + "mgmt lsd ident p2p grp id"; + } + enum "mgmt-lsd-ident-p2mp-tun-id" { + description + "mgmt lsd ident p2mp tun id"; + } + enum "mgmt-lsd-ident-p2mp-grp-id" { + description + "mgmt lsd ident p2mp grp id"; + } + } + description + "Mgmt lsd te binding"; + } + + typedef Lsd-ipv6-address { + type inet:ipv6-address; + description + "Lsd ipv6 address"; + } + + typedef Mgmt-lsd-lbl-ctx { + type enumeration { + enum "mgmt-lsd-lbl-ctx-type-none" { + description + "None"; + } + enum "mgmt-lsd-lbl-ctx-type-ipv4" { + description + "IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-ipv6" { + description + "IPv6"; + } + enum "mgmt-lsd-lbl-ctx-type-tev4" { + description + "TE IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-ipv4" { + description + "L3VPN IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-ipv6" { + description + "L3VPN IPv6"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-vrf" { + description + "L3VPN Per-VRF"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-cev4" { + description + "L3VPN IPv4 Per-CE"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-cev6" { + description + "L3VPN IPv6 Per-CE"; + } + enum "mgmt-lsd-lbl-ctx-type-pw" { + description + "PW"; + } + enum "mgmt-lsd-lbl-ctx-type-lbl-blk" { + description + "LBL BLK"; + } + enum "mgmt-lsd-lbl-ctx-type-ip-sub" { + description + "IP SUB"; + } + enum "mgmt-lsd-lbl-ctx-type-tev4-p2mp" { + description + "TE IPv4 P2MP"; + } + enum "mgmt-lsd-lbl-ctx-type-mldpv4" { + description + "MLDP IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-pwhe" { + description + "PW HE"; + } + enum "mgmt-lsd-lbl-ctx-type-tp" { + description + "MPLS TP"; + } + enum "mgmt-lsd-lbl-ctx-type-gre" { + description + "GRE"; + } + enum "mgmt-lsd-lbl-ctx-type-evpn" { + description + "EVPN"; + } + enum "mgmt-lsd-lbl-ctx-type-blb-ipv4" { + description + "BLB IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-blb-ipv6" { + description + "BLB IPv6"; + } + enum "mgmt-lsd-lbl-ctx-type-pim-i-pmsi" { + description + "PIM I-PMSI"; + } + enum "mgmt-lsd-lbl-ctx-type-pim-s-pmsi" { + description + "PIM S-PMSI"; + } + enum "mgmt-lsd-lbl-ctx-type-l3vpn-nh-set" { + description + "L3VPN NH SET"; + } + enum "mgmt-lsd-lbl-ctx-type-sr-pfx-seg" { + description + "SR Prefix Segment"; + } + enum "mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4" { + description + "SR Adj Segment IPv4"; + } + enum "mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6" { + description + "SR Adj Segment IPv6"; + } + enum "mgmt-lsd-lbl-ctx-type-lbl-blk-srgb" { + description + "LBL BLK SRGB"; + } + enum "mgmt-lsd-lbl-ctx-type-te-binding" { + description + "TE Binding"; + } + enum "mgmt-lsd-lbl-ctx-type-gre-ipv6" { + description + "GRE IPV6"; + } + enum "mgmt-lsd-lbl-ctx-type-any" { + description + "Any"; + } + enum "mgmt-lsd-lbl-ctx-type-lbl-blk-srlb" { + description + "LBL BLK SRLB"; + } + } + description + "Mgmt lsd lbl ctx"; + } + + typedef Mgmt-lsd-app-rsrc-state { + type enumeration { + enum "mgmt-lsd-app-rsrc-state-active" { + description + "Active"; + } + enum "mgmt-lsd-app-rsrc-state-pnd" { + description + "Pending"; + } + enum "mgmt-lsd-app-rsrc-state-pnd-svr" { + description + "Pending Server"; + } + } + description + "Mgmt lsd app rsrc state"; + } + + typedef Mgmt-lsd-app { + type enumeration { + enum "mgmt-lsd-app-type-none" { + description + "None"; + } + enum "mgmt-lsd-app-type-int" { + description + "LSD"; + } + enum "mgmt-lsd-app-type-test" { + description + "Test"; + } + enum "mgmt-lsd-app-type-static" { + description + "Static"; + } + enum "mgmt-lsd-app-type-ldp" { + description + "LDP"; + } + enum "mgmt-lsd-app-type-te" { + description + "TE Control"; + } + enum "mgmt-lsd-app-type-app-controller" { + description + "App Controller"; + } + enum "mgmt-lsd-app-type-bgp-ipv4" { + description + "BGP v4"; + } + enum "mgmt-lsd-app-type-bgp-vpn-ipv4" { + description + "BGP VPNv4"; + } + enum "mgmt-lsd-app-type-l2vpn" { + description + "L2VPN"; + } + enum "mgmt-lsd-app-type-bgp-spkr" { + description + "BGP Spkr"; + } + enum "mgmt-lsd-app-type-bfd" { + description + "BFD"; + } + enum "mgmt-lsd-app-type-pim" { + description + "PIM"; + } + enum "mgmt-lsd-app-type-v2-lsd" { + description + "V2 LSD"; + } + enum "mgmt-lsd-app-type-pim6" { + description + "PIM6"; + } + enum "mgmt-lsd-app-type-isis" { + description + "ISIS"; + } + enum "mgmt-lsd-app-type-ospf" { + description + "OSPF"; + } + enum "mgmt-lsd-app-type-cgn" { + description + "CGN"; + } + enum "mgmt-lsd-app-type-dmtc" { + description + "Traffic Collector"; + } + enum "mgmt-lsd-app-type-any" { + description + "Any"; + } + } + description + "Mgmt lsd app"; + } + + typedef Mgmt-lsd-client { + type enumeration { + enum "mgmt-lsd-client-type-app" { + description + "Application"; + } + enum "mgmt-lsd-client-type-ba" { + description + "BCDL Agent"; + } + } + description + "Mgmt lsd client"; + } + + grouping MPLS-LSD-INTF { + description + "LSD interface information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf interface-state { + type Mgmt-lsd-intf-state; + description + "Interface state"; + } + list application-owner { + description + "Application Owner"; + uses MPLS-LSD-APP-RSRC-STATE; + } + } + + grouping MPLS-LSD-LBL-RANGE { + description + "Label range"; + leaf min-dynamic-label-value { + type uint32; + description + "Minimum dynamic label value"; + } + leaf max-dynamic-label-value { + type uint32; + description + "Maximum dynamic label value"; + } + leaf min-static-label-value { + type uint32; + description + "Minimum static label value"; + } + leaf max-static-label-value { + type uint32; + description + "Maximum static label value"; + } + } + + grouping MPLS-LSD-APP-CONNECTED-STATS { + description + "LSD application connection statistics"; + leaf rt-set-msg-count { + type uint32; + description + "RT set count"; + } + leaf operation-msg-count { + type uint32; + description + "Operation count"; + } + leaf oor-label-count { + type uint32; + description + "Label OOR count"; + } + leaf error-msg-count { + type uint32; + description + "Error count"; + } + } + + grouping MPLS-LSD-APP-STATS { + description + "LSD application statistics"; + container connected { + description + "Connected statistics"; + uses MPLS-LSD-APP-CONNECTED-STATS; + } + leaf interface-enable { + type uint32; + description + "Number of interface enabled"; + } + leaf interface-enable-pending { + type uint32; + description + "Number of interface enable pending"; + } + leaf connect-count { + type uint32; + description + "Connect count"; + } + list label-context-count { + max-elements "30"; + description + "Label context count"; + leaf entry { + type uint32; + } + } + list label-context-pending-count { + max-elements "30"; + description + "Label context pending count"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-LSD-APP { + description + "LSD application information"; + container application-statistics { + description + "Application Statistics"; + uses MPLS-LSD-APP-STATS; + } + leaf application-name-xr { + type string; + description + "Application name"; + } + leaf application-type { + type Mgmt-lsd-app; + description + "Application type"; + } + leaf application-role-primary { + type int32; + description + "Primary/Backup role"; + } + leaf application-instance { + type string; + description + "client-app instance"; + } + leaf app-reg-time { + type uint64; + description + "App reg ts"; + } + leaf app-disconnect-time { + type uint64; + description + "App disconnect ts"; + } + leaf app-flow-controlled { + type int32; + description + "App flow control status"; + } + leaf flow-ctrl-time { + type uint64; + description + "Flow Ctrl ts"; + } + leaf flow-ctrl-clr-time { + type uint64; + description + "Flow Ctrl Clr ts"; + } + leaf go-act-ts { + type uint64; + description + "App go active timestamp"; + } + leaf application-state { + type Mgmt-lsd-app-state; + description + "Application state"; + } + leaf recovery-time-remaining-seconds { + type uint32; + units "second"; + description + "Recovery time [secs] remaining if client is + timing out"; + } + leaf recovery-time-elapsed-seconds { + type uint32; + units "second"; + description + "Recovery time [secs] elapsed if client is timing + out"; + } + leaf recovery-time-register-seconds { + type uint32; + units "second"; + description + "Recovery time [secs] specified at registration + or set explicitly"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID where application is/was running"; + } + } + + grouping MPLS-LSD-RW-IP-PATH-SUM { + description + "Rewrite's IP paths summary counts"; + leaf total-paths { + type uint32; + description + "Total number of IP paths"; + } + leaf total-backup-paths { + type uint32; + description + "Total number of non-primary backup paths"; + } + leaf total-remote-backup-paths { + type uint32; + description + "Total number of remote backup paths"; + } + leaf total-protected-paths { + type uint32; + description + "Total number of protected paths"; + } + leaf total-pop-lkup-paths { + type uint32; + description + "Total number of Pop-and-Lookup paths"; + } + } + + grouping MPLS-LSD-RW-SUM { + description + "Rewrite summary"; + container ipv4-paths { + description + "Count for IPv4 paths"; + uses MPLS-LSD-RW-IP-PATH-SUM; + } + container ipv6-paths { + description + "Count for IPv6 paths"; + uses MPLS-LSD-RW-IP-PATH-SUM; + } + leaf num-label-fpi { + type uint32; + description + "Number of label FPI"; + } + leaf num-tefpi { + type uint32; + description + "Number of TE FPI"; + } + leaf num-ipv4fpi { + type uint32; + description + "Number of IPv4 FPI"; + } + leaf num-ipv6fpi { + type uint32; + description + "Number of IPv6 FPI"; + } + leaf num-pw-list-tefpi { + type uint32; + description + "Number of PW List FPI"; + } + leaf num-dmtctefpi { + type uint32; + description + "Number of DMTC FPI"; + } + leaf num-rewrite { + type uint32; + description + "Number of rewrites"; + } + leaf total-forward-update { + type uint32; + description + "Total number of forward updates"; + } + leaf total-forwad-update-message { + type uint32; + description + "Total number of forward update messages"; + } + leaf total-paths { + type uint32; + description + "Total paths"; + } + leaf total-t-ev4-paths { + type uint32; + description + "Total number of Traffic Eng IPv4 paths"; + } + leaf total-te-head-paths { + type uint32; + description + "Total number of Traffic Eng Head paths"; + } + leaf total-pw-paths { + type uint32; + description + "Total number of Pseudo-wire paths"; + } + leaf total-ip-sub-paths { + type uint32; + description + "Total number of IP Subscriber paths"; + } + leaf total-ipv4rpf-neighbors { + type uint32; + description + "Total number of IPv4 RPF Neighbors"; + } + leaf total-ipv6rpf-neighbors { + type uint32; + description + "Total number of IPv6 RPF Neighbors"; + } + leaf num-rewrite-rpf-neighbors { + type uint32; + description + "Number of rewrites with RPF Neighbors"; + } + leaf total-dmtc-intf { + type uint32; + description + "Total number of DMTC External Interfaces"; + } + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + } + + grouping MPLS-LSD-RW-ID-LOC-LBL { + description + "Rewrite ID local label"; + list label-data { + description + "label data"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-LSD-RW-ID-GEN { + description + "MPLS LSD RW ID GEN"; + container label-context { + when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { + description + "../RewriteIDType = + 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; + } + description + "Label context"; + uses MPLS-LSD-LBL-CTX-KEY; + } + container local-label-rewrite { + when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { + description + "../RewriteIDType = + 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; + } + description + "Local label rewrite information"; + uses MPLS-LSD-RW-ID-LOC-LBL; + } + leaf rewrite-id-type { + type Mgmt-lsd-rw-id; + description + "RewriteIDType"; + } + } + + grouping MPLS-LSD-RW-ID { + description + "Rewrite ID"; + container rewrite-id { + description + "Rewrite ID"; + uses MPLS-LSD-RW-ID-GEN; + } + } + + grouping MPLS-LSD-MOI-DMTC-EXT-INTF { + description + "Demand Matrix Traffic-Collector MOI"; + leaf dmtc-ext-ifh { + type xr:Interface-name; + description + "DMTC External Interface"; + } + } + + grouping MPLS-LSD-MOI-TE-HEAD { + description + "TE Head MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf tunnel-local-label { + type uint32; + description + "Tunnel local label"; + } + leaf tunnel-local-label-str { + type string; + description + "Tunnel local label stringified"; + } + leaf tunnel-fwd-class { + type uint8; + description + "Tunnel forwarding class"; + } + leaf tunnel-load-metric { + type uint32; + description + "Tunnel Load metric"; + } + leaf flags-decode { + type string; + description + "Flags decoded string"; + } + } + + grouping MPLS-LSD-MOI-IPV6-INNER-STACK { + description + "IPv6 Inner stack for a Multi-Label MOI"; + leaf num-nexthops { + type uint8; + description + "Number of remote nexthop addresses"; + } + leaf num-lbls { + type uint8; + description + "Depth of inner label stack"; + } + list nexthop { + max-elements "2"; + description + "Remote nexthop addresses"; + leaf entry { + type Lsd-ipv6-address; + } + } + list label { + max-elements "2"; + description + "Info related to outgoing labels"; + uses MPLS-LSD-MOI-OUT-LABEL-INFO; + } + } + + grouping MPLS-LSD-MOI-IPV6-STACK { + description + "IPv6 Multi-Label MOI"; + container nexthop { + description + "Nexthop"; + uses MPLS-LSD-MOI-IPV6; + } + container inner-stack { + description + "Inner stack"; + uses MPLS-LSD-MOI-IPV6-INNER-STACK; + } + } + + grouping MPLS-LSD-MOI-OUT-LABEL-INFO { + description + "Generic info for an outgoing/remote label"; + leaf outgoing-label { + type uint32; + description + "Remote Label"; + } + leaf outgoing-label-str { + type string; + description + "Remote Label string"; + } + } + + grouping MPLS-LSD-MOI-IPV4-INNER-STACK { + description + "IPv4 Inner stack for a Multi-Label MOI"; + leaf num-nexthops { + type uint8; + description + "Number of remote nexthop addresses"; + } + leaf num-lbls { + type uint8; + description + "Depth of inner label stack"; + } + list nexthop { + max-elements "2"; + description + "Remote nexthop addresses"; + leaf entry { + type inet:ipv4-address; + } + } + list label { + max-elements "10"; + description + "Info related to outgoing labels"; + uses MPLS-LSD-MOI-OUT-LABEL-INFO; + } + } + + grouping MPLS-LSD-MOI-IPV4-STACK { + description + "IPv4 Multi-Label MOI"; + container nexthop { + description + "Nexthop"; + uses MPLS-LSD-MOI-IPV4; + } + container inner-stack { + description + "Inner stack"; + uses MPLS-LSD-MOI-IPV4-INNER-STACK; + } + leaf owner-application-type { + type Mgmt-lsd-app; + description + "Owner application type"; + } + } + + grouping MPLS-LSD-MOI-PW-LIST { + description + "Pseudo-wire Head-end List MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf l3-interface { + type xr:Interface-name; + description + "Pseudo-wire Layer 3 interface"; + } + leaf l2-interface { + type xr:Interface-name; + description + "Pseudo-wire Layer 2 interface"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + } + + grouping MPLS-LSD-MOI-PWHE { + description + "Pseudo-wire Head-end MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf out-label { + type uint32; + description + "Outgoing Label"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "IPv4 nexthop"; + } + leaf control-word { + type int32; + description + "Is control word present"; + } + leaf imposition { + type int32; + description + "Is PWHE IMposition"; + } + leaf vctype { + type uint8; + description + "Virtual Circuit Type"; + } + leaf pw-list-id { + type uint16; + description + "Pseudo-wire List Identifier"; + } + leaf pwhe-interface { + type xr:Interface-name; + description + "Pseudo-wire Head-end interface"; + } + } + + grouping MPLS-LSD-MOI-IP-SUB { + description + "IP sub MOI"; + leaf table-id { + type uint32; + description + "VRF table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + } + + grouping MPLS-LSD-MOI-PW { + description + "Pseudo-wire MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf out-label { + type uint32; + description + "Outgoing Label"; + } + leaf cross-connect-id { + type uint32; + description + "Cross-connect ID"; + } + leaf pseuodo-wire-connect-id { + type uint32; + description + "PseudoWire Cross-connect ID"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "IPv4 nexthop"; + } + leaf bridge-id { + type uint32; + description + "Bridge ID"; + } + leaf split-horizon-id { + type uint32; + description + "Split horizon group ID"; + } + } + + grouping MPLS-LSD-MOI-TEV4 { + description + "TEv4 MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf out-label { + type uint32; + description + "Outgoing label"; + } + leaf out-label-name { + type string; + description + "Outgoing label name"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "IPv4 nexthop"; + } + leaf backup-interface { + type xr:Interface-name; + description + "Backup interface"; + } + leaf backup-ipv4-next-hop { + type inet:ipv4-address; + description + "Backup IPv4 nexthop"; + } + leaf merge-point-label { + type uint32; + description + "Merge point label"; + } + leaf backup-local-label { + type uint32; + description + "Backup local label"; + } + leaf tunnel-interface { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf tunnel-weight { + type uint32; + description + "Tunnel weight"; + } + leaf data-out-parent-interface { + type xr:Interface-name; + description + "Outgoing data parent interface"; + } + leaf tunnel-class { + type uint32; + description + "Tunnel class"; + } + } + + grouping MPLS-LSD-MOI-IPV6 { + description + "IPv6 MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf out-label { + type uint32; + description + "Outgoing label"; + } + leaf out-label-name { + type string; + description + "Outgoing label name"; + } + leaf ipv6-next-hop { + type Lsd-ipv6-address; + description + "IPv6 nexthop"; + } + leaf path-id { + type uint8; + description + "Routing path id"; + } + leaf backup-path-id { + type uint8; + description + "Routing path backup id"; + } + leaf next-hop-id { + type uint32; + description + "Next hop ID"; + } + leaf out-interface-parent { + type xr:Interface-name; + description + "Outgoing Interface's parent"; + } + } + + grouping MPLS-LSD-MOI-IPV4 { + description + "IPv4 MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-interface { + type xr:Interface-name; + description + "Outgoing Interface"; + } + leaf out-interface-parent { + type xr:Interface-name; + description + "Outgoing Interface's parent"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "IPv4 nexthop"; + } + leaf path-id { + type uint8; + description + "Routing path id"; + } + leaf backup-path-id { + type uint8; + description + "Routing path backup id"; + } + leaf load-metric { + type uint32; + description + "Routing path's load metric"; + } + leaf out-label { + type uint32; + description + "Outgoing Label"; + } + leaf out-label-name { + type string; + description + "Outgoing label name"; + } + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf next-hop-id { + type uint32; + description + "Next hop ID"; + } + leaf local-label { + type uint32; + description + "TE backup path local label"; + } + } + + grouping MPLS-LSD-MOI-POP-AND-LKUP-TP { + description + "Pop and lookup MOI for TP"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + leaf out-label { + type uint32; + description + "Outgoing Label"; + } + } + + grouping MPLS-LSD-MOI-POP-AND-LKUP { + description + "Pop and lookup MOI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf table-name { + type string; + description + "VRF table name"; + } + leaf path-flags-decode { + type string; + description + "Path flag decoded string"; + } + } + + grouping MPLS-LSD-MOI-GEN { + description + "MPLS LSD MOI GEN"; + container pop-and-lookup-ipv4 { + when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { + description + "../MoiType = + 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; + } + description + "pop and lookup ipv4"; + uses MPLS-LSD-MOI-POP-AND-LKUP; + } + container pop-and-lookup-tp { + when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { + description + "../MoiType = + 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; + } + description + "pop and lookup tp"; + uses MPLS-LSD-MOI-POP-AND-LKUP-TP; + } + container pop-and-lookup-ipv6 { + when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { + description + "../MoiType = + 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; + } + description + "pop and lookup ipv6"; + uses MPLS-LSD-MOI-POP-AND-LKUP; + } + container ipv4-data { + when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; + } + description + "ipv4 data"; + uses MPLS-LSD-MOI-IPV4; + } + container ipv6-data { + when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; + } + description + "ipv6 data"; + uses MPLS-LSD-MOI-IPV6; + } + container tev4-data { + when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; + } + description + "tev4 data"; + uses MPLS-LSD-MOI-TEV4; + } + container pseudowire-data { + when "../moi-type = 'mgmt-lsd-moi-type-pw'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; + } + description + "pseudowire data"; + uses MPLS-LSD-MOI-PW; + } + container ip-sub-data { + when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; + } + description + "ip sub data"; + uses MPLS-LSD-MOI-IP-SUB; + } + container pseudowire-head-end-data { + when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; + } + description + "pseudowire head end data"; + uses MPLS-LSD-MOI-PWHE; + } + container pw-list-data { + when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; + } + description + "pw list data"; + uses MPLS-LSD-MOI-PW-LIST; + } + container stackv4-data { + when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; + } + description + "stackv4 data"; + uses MPLS-LSD-MOI-IPV4-STACK; + } + container stackv6-data { + when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; + } + description + "stackv6 data"; + uses MPLS-LSD-MOI-IPV6-STACK; + } + container te-head-data { + when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; + } + description + "te head data"; + uses MPLS-LSD-MOI-TE-HEAD; + } + container dmtc-data { + when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { + description + "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; + } + description + "dmtc data"; + uses MPLS-LSD-MOI-DMTC-EXT-INTF; + } + leaf moi-type { + type Mgmt-lsd-moi; + description + "MoiType"; + } + } + + grouping MPLS-LSD-MOI { + description + "LSD MOI"; + container moi { + description + "Moi"; + uses MPLS-LSD-MOI-GEN; + } + } + + grouping MPLS-LSD-MOI-ARR { + description + "LSD MOI array"; + container application-resource { + description + "Application state"; + uses MPLS-LSD-APP-RSRC-STATE; + } + list moi-array { + description + "moi array"; + uses MPLS-LSD-MOI; + } + } + + grouping MPLS-LSD-V6-RPF { + description + "LSD V6 RPF"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf v6-rpf-neighbor { + type Lsd-ipv6-address; + description + "V6 RPF Neighbor"; + } + } + + grouping MPLS-LSD-V4-RPF { + description + "LSD V4 RPF"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf v4-rpf-neighbor { + type inet:ipv4-address; + description + "V4 RPF Neighbor"; + } + } + + grouping MPLS-LSD-FPI-DMTC-EXT-INTF { + description + "DMTC Ext Intf FPI"; + leaf dmtc-ext-ifh { + type xr:Interface-name; + description + "DMTC External Interface"; + } + } + + grouping MPLS-LSD-FPI-PW-LIST { + description + "PW List FPI"; + leaf pwhe-list-id { + type uint16; + description + "Pseudowire List Identifier"; + } + } + + grouping MPLS-LSD-FPI-IPV6 { + description + "IPv6 FPI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf prefix { + type Lsd-ipv6-address; + description + "Prefix"; + } + leaf router-flags { + type uint32; + description + "Route flags"; + } + leaf prefix-len { + type uint8; + description + "Prefix length"; + } + leaf version { + type uint32; + description + "Version"; + } + } + + grouping MPLS-LSD-FPI-IPV4 { + description + "IPv4 FPI"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf prefix { + type inet:ipv4-address; + description + "Prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix Length"; + } + leaf version { + type uint32; + description + "Version"; + } + leaf sr-local-label { + type uint32; + description + "SR related Local label"; + } + } + + grouping MPLS-LSD-FPI-TE { + description + "TE FPI"; + leaf tunnel-interface { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf local-label { + type uint32; + description + "Local label"; + } + } + + grouping MPLS-LSD-FPI-LBL { + description + "Label FPI"; + leaf label { + type uint32; + description + "Label value"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + leaf elc { + type int32; + description + "ELC"; + } + } + + grouping MPLS-LSD-FPI-GEN { + description + "MPLS LSD FPI GEN"; + container label-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; + } + description + "label data"; + uses MPLS-LSD-FPI-LBL; + } + container te-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; + } + description + "te data"; + uses MPLS-LSD-FPI-TE; + } + container ipv4-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; + } + description + "ipv4 data"; + uses MPLS-LSD-FPI-IPV4; + } + container ipv6-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; + } + description + "ipv6 data"; + uses MPLS-LSD-FPI-IPV6; + } + container pw-list-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; + } + description + "pw list data"; + uses MPLS-LSD-FPI-PW-LIST; + } + container dmtc-ext-intf-data { + when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { + description + "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; + } + description + "dmtc ext intf data"; + uses MPLS-LSD-FPI-DMTC-EXT-INTF; + } + leaf fpi-type { + type Mgmt-lsd-fpi; + description + "FPIType"; + } + } + + grouping MPLS-LSD-FPI { + description + "LSD FPI"; + container fpi { + description + "FPI"; + uses MPLS-LSD-FPI-GEN; + } + list application-owner { + description + "Application owner instance"; + uses MPLS-LSD-APP-RSRC-STATE; + } + } + + grouping MPLS-LSD-RW { + description + "Rewrite information"; + container fpi-key { + description + "fpi key"; + uses MPLS-LSD-FPI; + } + container rewrite-id { + description + "Rewrite ID"; + uses MPLS-LSD-RW-ID; + } + leaf rewrite-version { + type uint64; + description + "Rewrite version"; + } + leaf bcdl-priority { + type uint8; + description + "BCDL Priority"; + } + leaf lsd-queue { + type uint8; + description + "LSD queue"; + } + leaf rw-install-time { + type uint64; + description + "Rewrite install timestamp"; + } + leaf rw-install-age { + type uint64; + description + "Rewrite install age"; + } + leaf rw-updated { + type int32; + description + "Is rewrite ever updated"; + } + leaf priority-updated { + type int32; + description + "Is rewrite's BCDL priority updated"; + } + list associated-fpi { + description + "Associated FPI"; + uses MPLS-LSD-FPI; + } + list v4-rpf { + description + "IPv4 RPF neighbors"; + uses MPLS-LSD-V4-RPF; + } + list v6-rpf { + description + "IPv6 RPF neighbors"; + uses MPLS-LSD-V6-RPF; + } + list mois { + description + "Mois"; + uses MPLS-LSD-MOI-ARR; + } + } + + grouping MPLS-LSD-FRR-DB-SUM { + description + "FRR summary"; + leaf active { + type uint32; + description + "Number of FRR rewrites in Active state"; + } + leaf ready { + type uint32; + description + "Number of FRR rewrites in Ready state"; + } + leaf partial { + type uint32; + description + "Number of FRR rewrites in Partial state"; + } + leaf igp { + type uint32; + description + "Number of FRR rewrites in IGP state for SR-TE"; + } + } + + grouping MPLS-LSD-FRR-OUT-PATH { + description + "FRR out path entry"; + leaf out-interface { + type xr:Interface-name; + description + "Outgoing interface"; + } + leaf out-label { + type uint32; + description + "Outgoing label"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "Next hop IPv4 address"; + } + leaf frr-interface { + type xr:Interface-name; + description + "FRR interface"; + } + leaf frr-label { + type uint32; + description + "FRR output label"; + } + } + + grouping MPLS-LSD-FRR-DB-ENTRY-MID-ID { + description + "FRR midpoint"; + leaf source-address { + type inet:ipv4-address; + description + "Source IPv4 address"; + } + leaf lspid { + type uint32; + description + "LSP ID"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + } + + grouping MPLS-LSD-FRR-DB-ENTRY-HEAD-ID { + description + "FRR head"; + leaf destination-prefix { + type inet:ipv4-address; + description + "Destination prefix"; + } + leaf destination-prefix-length { + type uint8; + description + "Destination prefix length"; + } + } + + grouping MPLS-LSD-FRR-DB-ENTRY-GEN-ID { + description + "MPLS LSD FRR DB ENTRY GEN ID"; + container head { + when "../role = 'mgmt-lsd-lsp-role-head'" { + description + "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; + } + description + "head"; + uses MPLS-LSD-FRR-DB-ENTRY-HEAD-ID; + } + container midpoint { + when "../role = 'mgmt-lsd-lsp-role-mid'" { + description + "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; + } + description + "midpoint"; + uses MPLS-LSD-FRR-DB-ENTRY-MID-ID; + } + leaf role { + type Mgmt-lsd-lsp-role; + description + "Role"; + } + } + + grouping MPLS-LSD-FRR-DB-ENTRY { + description + "FRR entry"; + container frr-entry-id { + description + "FRR entry ID"; + uses MPLS-LSD-FRR-DB-ENTRY-GEN-ID; + } + leaf tunnel-interface { + type xr:Interface-name; + description + "Tunnel interface"; + } + leaf input-label { + type uint32; + description + "Input label"; + } + leaf entry-frr-state { + type Mgmt-lsd-frr-state; + description + "MPLS FRR entry state"; + } + list out-path { + description + "Out Path List"; + uses MPLS-LSD-FRR-OUT-PATH; + } + } + + grouping MPLS-LSD-LBL-CTX-LBL-BLK-SRLB { + description + "Label block SRLB context"; + leaf start-label { + type uint32; + description + "Start Label"; + } + leaf offset { + type uint32; + description + "Offset"; + } + leaf size { + type uint32; + description + "Number of labels"; + } + } + + grouping MPLS-LSD-LBL-CTX-TE-BINDING { + description + "Traffic Engineering Binding context"; + leaf te-identifier { + type uint32; + description + "MPLS Traffic Engineering Tunnel or Group ID"; + } + leaf te-type { + type Mgmt-lsd-te-binding; + description + "Type of identifier for the binding"; + } + } + + grouping MPLS-LSD-LBL-CTX-LBL-BLK-SRGB { + description + "Label block SRGB context"; + leaf start-label { + type uint32; + description + "Start Label"; + } + leaf offset { + type uint32; + description + "Offset"; + } + leaf size { + type uint32; + description + "Number of labels"; + } + } + + grouping MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV6 { + description + "SR Adj Segment ipv6 context"; + leaf index { + type uint32; + description + "Adjacency index"; + } + leaf type { + type uint32; + description + "Adjacency type"; + } + leaf intf { + type xr:Interface-name; + description + "Adjacency interface"; + } + leaf addr { + type Lsd-ipv6-address; + description + "Adjacency nexthop IPv6 address"; + } + } + + grouping MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV4 { + description + "SR Adj Segment ipv4 context"; + leaf index { + type uint32; + description + "Adjacency index"; + } + leaf type { + type uint32; + description + "Adjacency type"; + } + leaf intf { + type xr:Interface-name; + description + "Adjacency interface"; + } + leaf addr { + type inet:ipv4-address; + description + "Adjacency nexthop IPv4 address"; + } + } + + grouping MPLS-LSD-LBL-CTX-SR-PFX-SEG { + description + "SR Prefix Segment context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf segment-id { + type uint32; + description + "Prefix Segment ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-NH-SET { + description + "L3VPN NH SET context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf next-hop-set-id { + type uint32; + description + "Next Hop Set ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-PIM-S-PMSI { + description + "PIM S-PMSI label context"; + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf source { + type inet:ipv4-address; + description + "Originating Router"; + } + leaf head { + type int32; + description + "Head"; + } + leaf v6 { + type int32; + description + "PIM6"; + } + leaf hli { + type uint32; + description + "Head LSM-ID"; + } + leaf seg { + type int32; + description + "Segmented Multicast"; + } + } + + grouping MPLS-LSD-LBL-CTX-PIM-I-PMSI { + description + "PIM I-PMSI label context"; + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf head { + type int32; + description + "Head"; + } + leaf v6 { + type int32; + description + "PIM6"; + } + } + + grouping MPLS-LSD-LBL-CTX-BLB-IPV6 { + description + "BFD BLB IPv6 content"; + leaf blb-intf { + type xr:Interface-name; + description + "BFD BLB interface"; + } + leaf prefix { + type Lsd-ipv6-address; + description + "IPv6 prefix"; + } + } + + grouping MPLS-LSD-LBL-CTX-BLB-IPV4 { + description + "BFD BLB IPv4 content"; + leaf blb-intf { + type xr:Interface-name; + description + "BFD BLB interface"; + } + leaf prefix { + type inet:ipv4-address; + description + "IPv4 prefix"; + } + } + + grouping MPLS-LSD-LBL-CTX-EVPN { + description + "EVPN context"; + leaf evpn-id { + type uint32; + description + "EVPN ID"; + } + leaf evpn-tag { + type uint32; + description + "EVPN TAG"; + } + leaf ethernet-segment { + type yang:hex-string; + description + "Ethernet Segment ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-GRE-IPV6 { + description + "Generic routing encapsulation context"; + leaf greipv6-interface { + type xr:Interface-name; + description + "Generic routing encapsulation IPv6 interface"; + } + } + + grouping MPLS-LSD-LBL-CTX-GRE { + description + "Generic routing encapsulation context"; + leaf gre-interface { + type xr:Interface-name; + description + "Generic routing encapsulation interface"; + } + } + + grouping MPLS-LSD-LBL-CTX-TP { + description + "TP context"; + leaf source-global-id { + type uint32; + description + "TP source global ID"; + } + leaf source-node-id { + type inet:ipv4-address; + description + "TP source node ID"; + } + leaf dest-global-id { + type uint32; + description + "TP destination global ID"; + } + leaf dest-node-id { + type inet:ipv4-address; + description + "TP destination node ID"; + } + leaf source-tunnel-id { + type uint16; + description + "TP source tunnel ID"; + } + leaf dest-tunnel-id { + type uint16; + description + "TP destination tunnel ID"; + } + leaf lsp-id { + type uint16; + description + "TP LSP ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-PWHE { + description + "Pseudo-wire Head-end context"; + leaf pwhe-intf { + type xr:Interface-name; + description + "Pseudo-wire Head-end interface"; + } + } + + grouping MPLS-LSD-LBL-CTX-MLDPV4 { + description + "MLDP IPv4 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf type { + type uint16; + description + "LSM ID Type"; + } + leaf lsm-id { + type uint32; + description + "LSM ID"; + } + leaf peer-lsrid { + type inet:ipv4-address; + description + "Peer LSR Id"; + } + leaf peer-label-space-id { + type uint16; + description + "Peer Label Space Id"; + } + } + + grouping MPLS-LSD-LBL-CTX-TEV4-P2MP { + description + "TEv4 p2mp context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf tunnel-source { + type inet:ipv4-address; + description + "Tunnel source"; + } + leaf p2mp-id { + type uint32; + description + "Point to multipoint ID"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + leaf tunnel-id-extension { + type uint32; + description + "Tunnel ID extension"; + } + leaf tunnel-lsp-id { + type uint32; + description + "Tunnel LSP ID"; + } + leaf previous-hop { + type inet:ipv4-address; + description + "Previous hop"; + } + } + + grouping MPLS-LSD-LBL-CTX-IP-SUB { + description + "IP subscriber context"; + leaf table-id { + type uint32; + description + "Table Id"; + } + leaf parent-interface { + type xr:Interface-name; + description + "Parent interface"; + } + } + + grouping MPLS-LSD-LBL-CTX-LBL-BLK { + description + "Label block context"; + leaf service { + type uint8; + description + "Service"; + } + leaf vpn-id { + type uint16; + description + "VPN ID"; + } + leaf edge-id { + type uint16; + description + "Edge ID"; + } + leaf offset { + type uint32; + description + "Offset"; + } + leaf size { + type uint32; + description + "Number of labels"; + } + } + + grouping MPLS-LSD-LBL-CTX-PW { + description + "Pseudo-wire context"; + leaf prefix { + type inet:ipv4-address; + description + "Address prefix"; + } + leaf pseudowire-id { + type uint64; + description + "Pseudo-wire ID"; + } + leaf remote-l2-router-id { + type uint32; + description + "Remote L2 Router ID"; + } + leaf subinterface { + type xr:Interface-name; + description + "Subinterface"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-CEV6 { + description + "L3VPN CEv6 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf ipv6-next-hop { + type Lsd-ipv6-address; + description + "IPv6 nexthop"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-CEV4 { + description + "L3VPN CEv4 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf ipv4-next-hop { + type inet:ipv4-address; + description + "IPv4 nexthop"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-VRF { + description + "L3VPN vrf context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-IPV6 { + description + "L3VPN IPv6 context"; + leaf prefix { + type Lsd-ipv6-address; + description + "IPv6 prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + leaf route-distinguisher { + type uint64; + description + "Route distinguisher"; + } + } + + grouping MPLS-LSD-LBL-CTX-L3VPN-IPV4 { + description + "L3VPN IPv4 context"; + leaf prefix { + type inet:ipv4-address; + description + "IPv4 prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + leaf route-distinguisher { + type uint64; + description + "Route distinguisher"; + } + } + + grouping MPLS-LSD-LBL-CTX-TEV4 { + description + "LSD TEv4 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf tunnel-source { + type inet:ipv4-address; + description + "Tunnel source"; + } + leaf tunnel-dest { + type inet:ipv4-address; + description + "Tunnel destination"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + leaf tunnel-id-extension { + type uint32; + description + "Extended tunnel ID"; + } + leaf tunnel-lsp-id { + type uint32; + description + "Tunnel LSP ID"; + } + leaf is-srte { + type int32; + description + "Is this an SRTE head tunnel"; + } + } + + grouping MPLS-LSD-LBL-CTX-IPV6 { + description + "LSD IPv6 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf prefix { + type inet:ipv6-address; + description + "Prefix"; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF Name"; + } + } + + grouping MPLS-LSD-LBL-CTX-IPV4 { + description + "LSD IPv4 context"; + leaf table-id { + type uint32; + description + "Table ID"; + } + leaf prefix { + type inet:ipv4-address; + description + "IPv4 prefix"; + } + leaf prefix-length { + type uint8; + description + "IPv4 prefix length"; + } + leaf security-id { + type uint32; + description + "Security ID"; + } + leaf vrf-name { + type string { + length "0..33"; + } + description + "VRF Name"; + } + } + + grouping MPLS-LSD-LBL-CTX-KEY { + description + "MPLS LSD LBL CTX KEY"; + container ipv4-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; + } + description + "IPv4 label context"; + uses MPLS-LSD-LBL-CTX-IPV4; + } + container ipv6-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; + } + description + "IPv6 label context"; + uses MPLS-LSD-LBL-CTX-IPV6; + } + container tev4-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; + } + description + "TEv4 label context"; + uses MPLS-LSD-LBL-CTX-TEV4; + } + container ipv4l3vpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; + } + description + "L3VPN IPv4 label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-IPV4; + } + container ipv6l3vpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; + } + description + "L3VPN IPv6 label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-IPV6; + } + container vrf-l3vpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; + } + description + "L3VPN VRF label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-VRF; + } + container cev4l3vpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; + } + description + "L3VPN CEv4 label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-CEV4; + } + container cev6l3vpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; + } + description + "L3VPN CEv6 label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-CEV6; + } + container pseudowire-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_PW'"; + } + description + "Pseudowire label context"; + uses MPLS-LSD-LBL-CTX-PW; + } + container label-block-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; + } + description + "Label block context"; + uses MPLS-LSD-LBL-CTX-LBL-BLK; + } + container ip-sub-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; + } + description + "IP Subscriber context"; + uses MPLS-LSD-LBL-CTX-IP-SUB; + } + container tev4p2mp-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; + } + description + "TEv4 P2MP context"; + uses MPLS-LSD-LBL-CTX-TEV4-P2MP; + } + container mld-pv4-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; + } + description + "MLDPv4 LSM-ID context"; + uses MPLS-LSD-LBL-CTX-MLDPV4; + } + container pseudowire-head-end-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; + } + description + "Pseudowire Head-end label context"; + uses MPLS-LSD-LBL-CTX-PWHE; + } + container tp-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_TP'"; + } + description + "TP context"; + uses MPLS-LSD-LBL-CTX-TP; + } + container generic-routing-encapsulation { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; + } + description + "Generic routing encapsulation context"; + uses MPLS-LSD-LBL-CTX-GRE; + } + container ipv6-generic-routing-encapsulation { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; + } + description + "Generic routing encapsulation context"; + uses MPLS-LSD-LBL-CTX-GRE-IPV6; + } + container evpn-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; + } + description + "EVPN context"; + uses MPLS-LSD-LBL-CTX-EVPN; + } + container ipv4blb-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; + } + description + "BFD BLB label context"; + uses MPLS-LSD-LBL-CTX-BLB-IPV4; + } + container ipv6blb-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; + } + description + "BFD BLB label context"; + uses MPLS-LSD-LBL-CTX-BLB-IPV6; + } + container pi-mi-pmsi-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; + } + description + "PIM I-PMSI label conext"; + uses MPLS-LSD-LBL-CTX-PIM-I-PMSI; + } + container pi-ms-pmsi-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; + } + description + "PIM S-PMSI label conext"; + uses MPLS-LSD-LBL-CTX-PIM-S-PMSI; + } + container next-hop-set-l3vpn { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; + } + description + "L3VPN NH SET label context"; + uses MPLS-LSD-LBL-CTX-L3VPN-NH-SET; + } + container sr-prefix-segment { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; + } + description + "SR Prefix Segment context"; + uses MPLS-LSD-LBL-CTX-SR-PFX-SEG; + } + container sr-adj-segment-ipv4 { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; + } + description + "SR Adj Segment ipv4 context"; + uses MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV4; + } + container sr-adj-segment-ipv6 { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; + } + description + "SR Adj Segment ipv6 context"; + uses MPLS-LSD-LBL-CTX-SR-ADJ-SEG-IPV6; + } + container label-block-srgb-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; + } + description + "Label block SRGB context"; + uses MPLS-LSD-LBL-CTX-LBL-BLK-SRGB; + } + container te-binding { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; + } + description + "MPLS TE tunnel binding context"; + uses MPLS-LSD-LBL-CTX-TE-BINDING; + } + container label-block-srlb-data { + when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { + description + "../LabelContextType = + 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; + } + description + "Label block SRLB context"; + uses MPLS-LSD-LBL-CTX-LBL-BLK-SRLB; + } + leaf label-context-type { + type Mgmt-lsd-lbl-ctx; + description + "LabelContextType"; + } + } + + grouping MPLS-LSD-LBL-CTX { + description + "Label context"; + container key { + description + "Label Key"; + uses MPLS-LSD-LBL-CTX-KEY; + } + leaf application-data { + type yang:hex-string; + description + "Application opaque data"; + } + } + + grouping MPLS-LSD-APP-RSRC-STATE { + description + "LSD application state"; + leaf application-name { + type string; + description + "Application name"; + } + leaf application-type { + type Mgmt-lsd-app; + description + "Application type"; + } + leaf application-role-primary { + type int32; + description + "Primary/Backup role"; + } + leaf application-instance { + type string; + description + "Application instance Name"; + } + leaf resource-state { + type Mgmt-lsd-app-rsrc-state; + description + "Application resource state"; + } + } + + grouping MPLS-LSD-LBL { + description + "Label information"; + container label-context { + description + "Label context"; + uses MPLS-LSD-LBL-CTX; + } + leaf label { + type uint32; + description + "Label value"; + } + leaf rewrite-is-bound { + type int32; + description + "Rewrite bound to label"; + } + leaf rewrite-owners { + type uint32; + description + "Rewrite owner"; + } + leaf rs-iconnected { + type int32; + description + "RSI connected"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + list application-owner { + description + "Application owner"; + uses MPLS-LSD-APP-RSRC-STATE; + } + } + + grouping MPLS-LSD-LBL-SUM-ELEM { + description + "Label summary"; + leaf application-type { + type Mgmt-lsd-app; + description + "Application type"; + } + leaf application-name { + type string; + description + "Application name"; + } + leaf application-role-primary { + type int32; + description + "Primary/Backup role"; + } + leaf application-instance { + type string; + description + "client-app identifier"; + } + leaf number-of-labels { + type uint32; + description + "Number of labels"; + } + } + + grouping MPLS-LSD-LBL-SUM { + description + "Label statistics"; + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + leaf total-labels { + type uint32; + description + "Total labels"; + } + leaf rsi-connected { + type int32; + description + "Rsi connected"; + } + list owner-count { + description + "Owner counts"; + uses MPLS-LSD-LBL-SUM-ELEM; + } + } + + grouping MPLS-LSD-CLIENT-BA { + description + "LSD bcdl client information"; + leaf client-conn-index { + type int32; + description + "BCDL Agent client connection index"; + } + leaf parent-client-conn-index { + type int32; + description + "BCDL Agent parent client connection index"; + } + } + + grouping MPLS-LSD-CLIENT-APP { + description + "LSD application client information"; + leaf application-name { + type string; + description + "Application name"; + } + leaf application-type { + type Mgmt-lsd-app; + description + "Application type"; + } + leaf application-instance { + type string; + description + "client-app instance"; + } + leaf application-role-primary { + type int32; + description + "Primary/Backup role"; + } + } + + grouping MGMT-MPLS-LSD-CLIENT-DATA { + description + "MGMT MPLS LSD CLIENT DATA"; + container application { + when "../lsd-client-type = 'mgmt-lsd-client-type-app'" { + description + "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_APP'"; + } + description + "Application client"; + uses MPLS-LSD-CLIENT-APP; + } + container bcdl-agent { + when "../lsd-client-type = 'mgmt-lsd-client-type-ba'" { + description + "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_BA'"; + } + description + "BCDL agent client"; + uses MPLS-LSD-CLIENT-BA; + } + leaf lsd-client-type { + type Mgmt-lsd-client; + description + "LSDClientType"; + } + } + + grouping MPLS-LSD-CLIENT { + description + "LSD client information"; + container client-union { + description + "Client union"; + uses MGMT-MPLS-LSD-CLIENT-DATA; + } + leaf client-index { + type uint32; + description + "Client Index Value"; + } + leaf node-id { + type xr:Node-id; + description + "Node ID"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper.yang new file mode 100644 index 0000000..a73c763 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-lsd-oper.yang @@ -0,0 +1,400 @@ +module Cisco-IOS-XR-mpls-lsd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper"; + prefix mpls-lsd-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-lsd-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-lsd package operational data. + + This module contains definitions + for the following management objects: + mpls-lsd-nodes: Location MPLS LSD operational data + mpls-lsd: mpls lsd + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping REWRITE-SUMMARY { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container rewrite-summary { + description + "Rewrite Summary "; + uses MPLS-LSD-RW-SUM; + } + } + + grouping LABEL-SUMMARY { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container label-summary { + description + "Dynamic label range"; + uses MPLS-LSD-LBL-SUM; + } + } + + grouping LABEL-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container labels { + description + "Table of labels"; + list label { + key "label-id"; + description + "Data for label"; + leaf label-id { + type int32; + description + "Label value"; + } + uses MPLS-LSD-LBL; + } + } + } + + grouping FRR-DATABASE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container frr-database { + description + "FRR database"; + container tunnel-midpoints { + description + "Table of FRR database entries - Tunnel + midpoints"; + list tunnel-midpoint { + key "label"; + description + "Data for FRR database entry - Tunnel midpoint"; + leaf label { + type int32; + description + "Label value"; + } + uses MPLS-LSD-FRR-DB-ENTRY; + } + } + container tunnel-heads { + description + "Table of FRR database entries - Tunnel heads"; + list tunnel-head { + key "interface-name"; + description + "Data for FRR database entry - Tunnel head"; + leaf interface-name { + type xr:Interface-name; + description + "Tunnel interface"; + } + uses MPLS-LSD-FRR-DB-ENTRY; + } + } + container tunnel-head-summary { + description + "Summary data for FRR database entry - Tunnel + head"; + uses MPLS-LSD-FRR-DB-SUM; + } + container summary-protected-interfaces { + description + "Sumary table of Protected Interfaces"; + list summary-protected-interface { + key "interface-name"; + description + "Data for MPLS interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + uses MPLS-LSD-FRR-DB-SUM; + } + } + container tunnel-summary { + description + "Summary data for FRR database entry"; + uses MPLS-LSD-FRR-DB-SUM; + } + container tunnel-midpoint-summary { + description + "Summary data for FRR database entry - Tunnel + midpoint"; + uses MPLS-LSD-FRR-DB-SUM; + } + } + } + + grouping LABEL-RANGE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container label-range { + description + "Label range"; + uses MPLS-LSD-LBL-RANGE; + } + } + + grouping CLIENT-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container clients { + description + "Table of MPLS clients using LSD"; + list client { + key "client-name"; + description + "Data for MPLS client using LSD"; + leaf client-name { + type xr:Cisco-ios-xr-string; + description + "Client Instance name in the form of + 'Application-' or + 'BCDL_Agent-'"; + } + uses MPLS-LSD-CLIENT; + } + } + } + + grouping LABEL-SUMMARY-VRF-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-nodeCommon node + of mpls-lsd, mpls-lsd-node"; + container label-summary-vrfs { + description + "Dynamic label range summary by VRF"; + list label-summary-vrf { + key "vrf-name"; + description + "Dynamic label range summary by VRF"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses MPLS-LSD-LBL-SUM; + } + } + } + + grouping APPLICATION-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container applications { + description + "Table of MPLS applications using LSD"; + list application { + key "application-name"; + description + "Data for MPLS application using LSD"; + leaf application-name { + type xr:Cisco-ios-xr-string; + description + "Application Instance name in the form of + '[:]'"; + } + uses MPLS-LSD-APP; + } + } + } + + grouping REWRITE-SUMMARY-VRF-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container rewrite-summary-vrfs { + description + "Rewrite Summary by VRF"; + list rewrite-summary-vrf { + key "vrf-name"; + description + "Rewrite summary by VRF VRF-name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses MPLS-LSD-RW-SUM; + } + } + } + + grouping INTERFACE-TABLE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container interfaces { + description + "Table of MPLS interfaces"; + list interface { + key "interface-name"; + description + "Data for MPLS interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface"; + } + uses MPLS-LSD-INTF; + } + } + } + + grouping REWRITE { + description + "Common node of mpls-lsd, mpls-lsd-node"; + container rewrite { + description + "Table of rewrites"; + container rewrite-pws { + description + "Table of Rewrites"; + list rewrite-pw { + key "pw-list-id"; + description + "FPI rewrite for PW List"; + leaf pw-list-id { + type int32; + description + "PW List ID"; + } + uses MPLS-LSD-RW; + } + } + container rewrite-ipv4s { + description + "Table of Rewrites"; + list rewrite-ipv4 { + description + "FPI rewrite for label"; + leaf rsi-table-name { + type xr:Cisco-ios-xr-string; + description + "RSI table name"; + } + leaf rsi-table-id { + type xr:Hex-integer; + description + "RSI table ID"; + } + leaf prefix { + type inet:ipv4-address-no-zone; + description + "IPv4 Prefix"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + uses MPLS-LSD-RW; + } + } + container rewrite-tes { + description + "Table of Traffic Engineering Rewrites"; + list rewrite-te { + key "interface-name"; + description + "FPI rewrite for TE"; + leaf interface-name { + type xr:Interface-name; + description + "Tunnel interface"; + } + uses MPLS-LSD-RW; + } + } + container rewrite-labels { + description + "Table of Rewrites"; + list rewrite-label { + key "label-id"; + description + "FPI rewrite for label"; + leaf label-id { + type int32; + description + "Label value"; + } + uses MPLS-LSD-RW; + } + } + } + } + + container mpls-lsd-nodes { + config false; + description + "Location MPLS LSD operational data"; + list mpls-lsd-node { + key "node-name"; + description + "The MPLS LSD operational data for a particular + node"; + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + uses CLIENT-TABLE; + uses LABEL-SUMMARY; + uses LABEL-TABLE; + uses FRR-DATABASE; + uses REWRITE; + uses REWRITE-SUMMARY; + uses APPLICATION-TABLE; + uses LABEL-SUMMARY-VRF-TABLE; + uses LABEL-RANGE; + uses REWRITE-SUMMARY-VRF-TABLE; + uses INTERFACE-TABLE; + } + } + container mpls-lsd { + config false; + description + "mpls lsd"; + uses CLIENT-TABLE; + uses LABEL-SUMMARY; + uses LABEL-TABLE; + uses FRR-DATABASE; + uses REWRITE; + uses REWRITE-SUMMARY; + uses APPLICATION-TABLE; + uses LABEL-SUMMARY-VRF-TABLE; + uses LABEL-RANGE; + uses REWRITE-SUMMARY-VRF-TABLE; + uses INTERFACE-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-cfg.yang new file mode 100644 index 0000000..c9f98f2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-cfg.yang @@ -0,0 +1,63 @@ +module Cisco-IOS-XR-mpls-oam-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-cfg"; + prefix mpls-oam-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-oam package configuration. + + This module contains definitions + for the following management objects: + mpls-oam: MPLS LSP verification configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container mpls-oam { + description + "MPLS LSP verification configuration"; + container reply-mode { + description + "Echo request reply mode attributes"; + container control-channel { + description + "Configure control channel reply mode"; + leaf allow-reverse-lsp { + type empty; + description + "Use Reverse LSP as the control channel"; + } + } + } + leaf enable-oam { + type empty; + description + "Enable/Disable MPLS OAM globally.Without + creating this object the MPLS OAM feature will + not be enabled. Deleting this object will stop + the MPLS OAM feature."; + } + leaf disable-vendor-extension { + type empty; + description + "Disable vendor extension"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper-sub1.yang new file mode 100644 index 0000000..a166d07 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper-sub1.yang @@ -0,0 +1,442 @@ +submodule Cisco-IOS-XR-mpls-oam-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-oam-oper { + prefix Cisco-IOS-XR-mpls-oam-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-oam package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Lspv-bag-interface-state { + type enumeration { + enum "not-ready" { + description + "Not ready"; + } + enum "admin-down" { + description + "Admin down"; + } + enum "down" { + description + "Down"; + } + enum "up" { + description + "UP"; + } + enum "shutdown" { + description + "Shutdown"; + } + enum "error-disable" { + description + "Error disable"; + } + enum "down-immediate" { + description + "Immediate down"; + } + enum "admin-immediate" { + description + "Immediate admin"; + } + enum "graceful-down" { + description + "Graceful down"; + } + enum "begin-shutdown" { + description + "Begin shutdown"; + } + enum "end-shutdown" { + description + "End shutdown"; + } + enum "begin-error-disable" { + description + "Begin error disable"; + } + enum "end-error-disable" { + description + "End error disable"; + } + enum "begin-graceful-down" { + description + "Begin graceful down"; + } + enum "reset" { + description + "Reset"; + } + enum "operational" { + description + "Operational"; + } + enum "not-operational" { + description + "Not operational"; + } + enum "not-known" { + description + "Unknown"; + } + } + description + "LSPV interface state"; + } + + grouping LSPV-COLLAB-COUNTER { + description + "LSPV collaborator counters"; + leaf ups { + type uint32; + description + "Collaborator up counter"; + } + leaf downs { + type uint32; + description + "Collaborator down counter"; + } + } + + grouping LSPV-COLLAB-STATISTICS { + description + "LSPV collaborator statistics"; + container collaborator-i-parm { + description + "Collaborator IPARM counts"; + uses LSPV-COLLAB-COUNTER; + } + container collaborator-im { + description + "Collaborator IM counts"; + uses LSPV-COLLAB-COUNTER; + } + container collaborator-net-io { + description + "Collaborator NetIO counts"; + uses LSPV-COLLAB-COUNTER; + } + container collaborator-rib { + description + "Collaborator RIB counts"; + uses LSPV-COLLAB-COUNTER; + } + } + + grouping LSPV-MSG-STATISTICS { + description + "LSPV verification process message statistics"; + leaf register-messages { + type uint32; + description + "Message register count"; + } + leaf unregister-messages { + type uint32; + description + "Message unregister count"; + } + leaf echo-submit-messages { + type uint32; + description + "Message echo submit count"; + } + leaf echo-cancel-messages { + type uint32; + description + "Message echo cancel count"; + } + leaf get-result-messages { + type uint32; + description + "Message get results count"; + } + leaf get-config-messages { + type uint32; + description + "Message get configiuration count"; + } + leaf get-response-messages { + type uint32; + description + "Message get response count"; + } + leaf property-response-messages { + type uint32; + description + "Message property response count"; + } + leaf property-request-messages { + type uint32; + description + "Message property request count"; + } + leaf property-block-messages { + type uint32; + description + "Message property block count"; + } + leaf thread-request-messages { + type uint32; + description + "Message thread request count"; + } + } + + grouping LSPV-GLOBAL-TYPE { + description + "LSPV global information"; + container message-statistics { + description + "Message statistics"; + uses LSPV-MSG-STATISTICS; + } + container collaborator-statistics { + description + "Collaborator statistics"; + uses LSPV-COLLAB-STATISTICS; + } + leaf total-clients { + type uint32; + description + "Number of clients"; + } + } + + grouping LSPV-BAG-STATS-TX { + description + "LSPV transmission statistics"; + container transmit-good { + description + "Transmit good packets"; + uses LSPV-PKT-COUNTER; + } + container transmit-drop { + description + "Transmit drop packets"; + uses LSPV-PKT-COUNTER; + } + container transmit-bfd-good { + description + "Transmit good BFD request packets"; + uses LSPV-PKT-COUNTER; + } + container bfd-no-reply { + description + "No Reply action for echo reqeust of BFD + bootstrap"; + uses LSPV-PKT-COUNTER; + } + } + + grouping LSPV-PKT-COUNTER { + description + "LSPV verification packet count"; + leaf packets { + type uint64; + description + "Packet counter"; + } + leaf bytes { + type uint64; + units "byte"; + description + "Byte counter"; + } + } + + grouping LSPV-BAG-STATS-RX { + description + "LSPV reception statistics"; + container received-good-request { + description + "Received good request"; + uses LSPV-PKT-COUNTER; + } + container received-good-reply { + description + "Received good reply"; + uses LSPV-PKT-COUNTER; + } + container received-unknown { + description + "Received unknown packets"; + uses LSPV-PKT-COUNTER; + } + container received-error-ip-header { + description + "IP header error"; + uses LSPV-PKT-COUNTER; + } + container received-error-udp-header { + description + "UDP header error"; + uses LSPV-PKT-COUNTER; + } + container received-error-runt { + description + "RUNT error"; + uses LSPV-PKT-COUNTER; + } + container received-error-queue-full { + description + "Dropped queue full"; + uses LSPV-PKT-COUNTER; + } + container received-error-general { + description + "General error"; + uses LSPV-PKT-COUNTER; + } + container received-error-no-interface { + description + "Error no Interfaces"; + uses LSPV-PKT-COUNTER; + } + container received-error-no-memory { + description + "Error no memory"; + uses LSPV-PKT-COUNTER; + } + container protect-protocol-received-good-request { + description + "Protect Protocol Received good request"; + uses LSPV-PKT-COUNTER; + } + container protect-protocol-received-good-reply { + description + "Protect Protocol Received good reply"; + uses LSPV-PKT-COUNTER; + } + container received-good-bfd-request { + description + "Received Reqeust with BFD TLV"; + uses LSPV-PKT-COUNTER; + } + container received-good-bfd-reply { + description + "Received Reply with BFD TLV"; + uses LSPV-PKT-COUNTER; + } + } + + grouping LSPV-PACKET-STATISTICS { + description + "Receive and transmit packet counts"; + container received { + description + "Packet reception counts"; + uses LSPV-BAG-STATS-RX; + } + container sent { + description + "Packet transmit counts"; + uses LSPV-BAG-STATS-TX; + } + container working-req-sent { + description + "Working Request Packet transmit counts"; + uses LSPV-BAG-STATS-TX; + } + container working-rep-sent { + description + "Working Reply Packet transmit counts"; + uses LSPV-BAG-STATS-TX; + } + container protect-req-sent { + description + "Protect Request Packet transmit counts"; + uses LSPV-BAG-STATS-TX; + } + container protect-rep-sent { + description + "Protect Reply Packet transmit counts"; + uses LSPV-BAG-STATS-TX; + } + } + + grouping LSPV-INTERFACE-INFO { + description + "LSPV interface information"; + container interface-brief { + description + "Interface brief"; + uses LSPV-INTERFACE-INFO-BRIEF; + } + container packet-statistics { + description + "Packet statistics"; + uses LSPV-PACKET-STATISTICS; + } + } + + grouping LSPV-INTERFACE-INFO-BRIEF { + description + "LSPV interface brief information"; + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface name"; + } + leaf state { + type Lspv-bag-interface-state; + description + "Interface state"; + } + leaf mtu { + type uint32; + description + "Interface MTU"; + } + leaf prefix-length { + type uint32; + description + "Prefix length (IPv4)"; + } + leaf prefix-length-v6 { + type uint32; + description + "Prefix length (IPv6)"; + } + leaf primary-address { + type inet:ipv4-address; + description + "Primary interface address (IPv4)"; + } + leaf primary-address-v6 { + type inet:ipv6-address; + description + "Primary interface address (IPv6)"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper.yang new file mode 100644 index 0000000..c81a1a4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-oam-oper.yang @@ -0,0 +1,89 @@ +module Cisco-IOS-XR-mpls-oam-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-oam-oper"; + prefix mpls-oam-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-oam-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-oam package operational data. + + This module contains definitions + for the following management objects: + mpls-oam: MPLS OAM operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container mpls-oam { + config false; + description + "MPLS OAM operational data"; + container interface { + description + "MPLS OAM interface operational data"; + container briefs { + description + "MPLS OAM interface detail data"; + list brief { + key "interface-name"; + description + "MPLS OAM interface operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses LSPV-INTERFACE-INFO-BRIEF; + } + } + container details { + description + "MPLS OAM interface detail data"; + list detail { + key "interface-name"; + description + "MPLS OAM interface operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses LSPV-INTERFACE-INFO; + } + } + } + container packet { + description + "LSPV packet counters operational data"; + uses LSPV-PACKET-STATISTICS; + } + container global { + description + "LSPV global counters operational data"; + uses LSPV-GLOBAL-TYPE; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-cfg.yang new file mode 100644 index 0000000..367394f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-cfg.yang @@ -0,0 +1,453 @@ +module Cisco-IOS-XR-mpls-static-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-cfg"; + prefix mpls-static-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-static package configuration. + + This module contains definitions + for the following management objects: + mpls-static: MPLS Static Configuration Data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-static-path { + type enumeration { + enum "pop-and-lookup" { + value 1; + description + "Pop and Lookup"; + } + enum "cross-connect" { + value 2; + description + "Crossconnect"; + } + } + description + "Mpls static path"; + } + + typedef Mpls-static-address-family { + type enumeration { + enum "ipv4-unicast" { + value 1; + description + "IPv4 Unicast"; + } + } + description + "Mpls static address family"; + } + + typedef Mpls-static-label-mode { + type enumeration { + enum "per-vrf" { + value 1; + description + "Per VRF"; + } + enum "per-prefix" { + value 2; + description + "Per Prefix"; + } + enum "lsp" { + value 3; + description + "Cross connect"; + } + } + description + "Mpls static label mode"; + } + + typedef Mpls-static-path-role { + type enumeration { + enum "primary" { + value 0; + description + "Path is only for primary traffic"; + } + enum "backup" { + value 1; + description + "Path is only for backup traffic"; + } + enum "primary-backup" { + value 2; + description + "Path is for primary and backup traffic"; + } + } + description + "Mpls static path role"; + } + + typedef Mpls-static-nh-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4 Next Hop"; + } + enum "ipv6" { + value 2; + description + "IPv6 Next Hop"; + } + } + description + "Mpls static nh address family"; + } + + typedef Mpls-static-nh-mode { + type enumeration { + enum "configured" { + value 0; + description + "Explicitly configured next hop path"; + } + enum "resolve" { + value 1; + description + "Resolvable next hop which will result in a path + set"; + } + } + description + "Mpls static nh mode"; + } + + typedef Mpls-static-out-label-types { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "out-label" { + value 1; + description + "OutLabel"; + } + enum "pop" { + value 2; + description + "Pop"; + } + enum "exp-null" { + value 3; + description + "IPv4 explicit-null"; + } + enum "ipv6-explicit-null" { + value 4; + description + "IPv6 explicit-null"; + } + } + description + "Mpls static out label types"; + } + + grouping PATH { + description + "Common node of paths, backup-paths"; + list path { + key "path-id"; + description + "Path Information"; + leaf path-id { + type uint32 { + range "1..16"; + } + description + "Number of paths"; + } + leaf path-type { + type Mpls-static-path; + default "cross-connect"; + description + "Type of Path (PopAndLookup, CrossConnect)"; + } + leaf label-type { + type Mpls-static-out-label-types; + default "none"; + description + "Type of label (Outlabel, ExpNull or Pop)"; + } + leaf next-hop-label { + type uint32 { + range "16..1048575"; + } + default "16"; + description + "Outgoing/NH Label"; + } + leaf next-hop-address { + type inet:ip-address-no-zone; + description + "Next Hop IP Address"; + } + leaf interface-name { + type xr:Interface-name; + description + "Next hop Interface with form R/S/I/P"; + } + leaf afi { + type Mpls-static-nh-address-family; + default "ipv4"; + description + "Next hop Address Family"; + } + leaf metric { + type uint32 { + range "0..254"; + } + default "0"; + description + "NH Path Metric"; + } + leaf nh-mode { + type Mpls-static-nh-mode; + default "configured"; + description + "Next hop mode"; + } + leaf path-role { + type Mpls-static-path-role; + default "primary"; + description + "Path Role"; + } + leaf backup-id { + type uint32 { + range "0..16"; + } + default "0"; + description + "Backup ID"; + } + } + } + + grouping LOCAL-LABEL-TABLE { + description + "Common node of af, top-label-hash"; + container local-labels { + description + "Local Label"; + list local-label { + key "local-label-id"; + description + "Specify Local Label"; + container label-type { + description + "MPLS Static Local Label Value"; + leaf label-mode { + type Mpls-static-label-mode; + description + "Label Mode (PerVRF, PerPrefix or LSP)"; + } + leaf prefix { + type inet:ip-address-no-zone; + description + "Address (IPv4/6 depending on AFI)"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + } + leaf local-label-id { + type uint32 { + range "16..1048575"; + } + description + "Local Label"; + } + uses PATH-TABLE; + } + } + } + + grouping LABEL-SWITCHED-PATH-TABLE { + description + "Common node of default-vrf, vrf"; + container label-switched-paths { + description + "Table of the Label Switched Paths"; + list label-switched-path { + key "lsp-name"; + description + "Label Switched Path"; + container backup-paths { + description + "Backup Path Parameters"; + uses PATH; + } + container in-label { + description + "MPLS Static Local Label Value"; + leaf in-label-value { + type uint32 { + range "16..1048575"; + } + description + "Local Label"; + } + leaf label-mode { + type Mpls-static-label-mode; + description + "Label Mode (PerVRF, PerPrefix or LSP)"; + } + leaf prefix { + type inet:ip-address-no-zone; + description + "Address (IPv4/6 depending on AFI)"; + } + leaf prefix-length { + type int32; + description + "Prefix length"; + } + leaf tlh-mode { + type boolean; + description + "Top Label Hashing Mode"; + } + } + leaf lsp-name { + type xr:Cisco-ios-xr-string; + description + "LSP Name"; + } + uses ENABLE; + uses PATH-TABLE; + } + } + } + + grouping PATH-TABLE { + description + "Common node of local-label, label-switched-path"; + container paths { + description + "Forward Path Parameters"; + uses PATH; + } + } + + grouping ENABLE { + description + "Common node of mpls-static, af, default-vrf, vrf, + label-switched-path"; + leaf enable { + type empty; + description + "MPLS Static Apply Enable"; + } + } + + grouping AF-TABLE { + description + "Common node of default-vrf, vrf"; + container afs { + description + "Address Family Table"; + list af { + key "afi"; + description + "Address Family"; + container top-label-hash { + description + "Top Label Hash"; + uses LOCAL-LABEL-TABLE; + } + leaf afi { + type Mpls-static-address-family; + description + "Address Family"; + } + uses LOCAL-LABEL-TABLE; + uses ENABLE; + } + } + } + + container mpls-static { + description + "MPLS Static Configuration Data"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF Name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses LABEL-SWITCHED-PATH-TABLE; + uses AF-TABLE; + uses ENABLE; + } + } + container interfaces { + description + "MPLS Static Interface Table"; + list interface { + key "interface-name"; + description + "MPLS Static Interface Enable"; + leaf interface-name { + type xr:Interface-name; + description + "Name of Interface"; + } + } + } + container default-vrf { + description + "Default VRF"; + uses LABEL-SWITCHED-PATH-TABLE; + uses AF-TABLE; + uses ENABLE; + } + uses ENABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper-sub1.yang new file mode 100644 index 0000000..6140278 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper-sub1.yang @@ -0,0 +1,511 @@ +submodule Cisco-IOS-XR-mpls-static-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-static-oper { + prefix Cisco-IOS-XR-mpls-static-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-static package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mgmt-mpls-static-path-status { + type enumeration { + enum "path-next-hop-none" { + description + "Path NextHop No Status"; + } + enum "path-next-hop-interface-down" { + description + "Path NextHop Interface Down "; + } + enum "path-next-hop-valid" { + description + "Path NextHop Valid"; + } + enum "resolve-failed" { + description + "Path NextHop Resolve Failed"; + } + enum "frr-backup" { + description + "FRR Backup"; + } + enum "backup" { + description + "Backup"; + } + } + description + "Mgmt mpls static path status"; + } + + typedef Mgmt-static-lsp-afi { + type enumeration { + enum "not-applicable" { + value 0; + description + "Not Applicable"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Mgmt static lsp afi"; + } + + typedef Mpls-static-path-role { + type enumeration { + enum "primary" { + description + "Path is only for primary traffic"; + } + enum "backup" { + description + "Path is only for backup traffic"; + } + enum "primary-and-backup" { + description + "Path is for primary and backup traffic"; + } + } + description + "Mpls static path role"; + } + + typedef Mgmt-static-path { + type enumeration { + enum "cross-connect-path" { + description + "Crossconnect Path"; + } + enum "pop-lookup-path" { + description + "Pop and Lookup Path"; + } + } + description + "Mgmt static path"; + } + + typedef Static-ipv6-address { + type inet:ipv6-address; + description + "Static ipv6 address"; + } + + typedef Mgmt-static-addr { + type enumeration { + enum "not-applicable" { + value 0; + description + "Not Applicable"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Mgmt static addr"; + } + + typedef Mgmt-mpls-static-label-status { + type enumeration { + enum "not-created" { + description + "Label Not Created"; + } + enum "vrf-down" { + description + "Label without active VRF"; + } + enum "rewrite-vrf-down" { + description + "Rewrite without active VRF"; + } + enum "lsd-disconnected" { + description + "LSD is disconnected"; + } + enum "lsd-failed" { + description + "LSD operation failed"; + } + enum "wait-for-lsd-reply" { + description + "Waiting for LSD operation"; + } + enum "label-created" { + description + "Label Created"; + } + enum "label-create-failed" { + description + "Label Creation Failed"; + } + enum "label-rewrite-failed" { + description + "Rewrite Creation Failed"; + } + enum "rewrite-next-hop-interface-down" { + description + "Rewrite NextHop Down "; + } + enum "label-discrepancy" { + description + "Label Discrepancy "; + } + enum "rewrite-discrepancy" { + description + "Rewrite Discrepancy "; + } + enum "rewrite-nexthop-unresolved" { + description + "Rewrite Nexthop Unresolved"; + } + enum "label-status-unknown" { + description + "Label Status Unknown"; + } + } + description + "Mgmt mpls static label status"; + } + + typedef Mgmt-mpls-static-label-mode { + type enumeration { + enum "none" { + description + "No Label Mode"; + } + enum "per-prefix" { + description + "Per-prefix Label"; + } + enum "per-vrf" { + description + "Per-VRF label"; + } + enum "cross-connect" { + description + "Label with crossconnect"; + } + } + description + "Mgmt mpls static label mode"; + } + + grouping MPLS-STATIC-SUMMARY { + description + "Summary Information"; + leaf lsp-count { + type uint32; + description + "Total Number of LSPs"; + } + leaf label-count { + type uint32; + description + "Total Number of Labels"; + } + leaf label-error-count { + type uint32; + description + "Total Number of Labels with Errors"; + } + leaf label-discrepancy-count { + type uint32; + description + "Total Number of Labels with Discrepancies"; + } + leaf vrf-count { + type uint32; + description + "Total Number of VRF configured"; + } + leaf active-vrf-count { + type uint32; + description + "Total Number of Active VRF Active"; + } + leaf interface-count { + type uint32; + description + "Total Number of Interface"; + } + leaf interface-foward-reference-count { + type uint32; + description + "Total Number of Active Interface"; + } + leaf mpls-enabled-interface-count { + type uint32; + description + "Total Number of MPLS enabled Interface"; + } + leaf ipv4-res-nh-count { + type uint32; + description + "Total Number of IPv4 ResolveNextHops"; + } + leaf ipv6-res-nh-count { + type uint32; + description + "Total Number of IPv6 ResoleNextHops"; + } + leaf lsd-connected { + type boolean; + description + "LSD connection is up"; + } + leaf im-connected { + type boolean; + description + "IM is connected"; + } + leaf rsi-connected { + type boolean; + description + "RSI is connected"; + } + leaf ribv4-connected { + type boolean; + description + "RIBv4 is connected"; + } + leaf ribv6-connected { + type boolean; + description + "RIBv6 is connected"; + } + } + + grouping MPLS-STATIC-LSP-PATH-NH-INFO { + description + "Path Nexthop Info"; + container address { + description + "Next-Hop IP Address"; + uses MPLS-STATIC-CTX-PREFIX-BAG; + } + leaf label { + type uint32; + description + "Next-Hop Label"; + } + leaf interface-name { + type string; + description + "Next-Hop Interface Name"; + } + leaf afi { + type Mgmt-static-lsp-afi; + description + "Next-Hop AFI"; + } + } + + grouping MPLS-STATIC-LSP-PATH-INFO { + description + "Path Info"; + container nexthop { + description + "Nexthop information"; + uses MPLS-STATIC-LSP-PATH-NH-INFO; + } + leaf path-number { + type uint32; + description + "Path Number"; + } + leaf type { + type Mgmt-static-path; + description + "Path Type"; + } + leaf path-role { + type Mpls-static-path-role; + description + "Path Role"; + } + leaf path-id { + type uint8; + description + "Path Id"; + } + leaf backup-id { + type uint8; + description + "Path Backup Id"; + } + leaf status { + type Mgmt-mpls-static-path-status; + description + "Path Status"; + } + } + + grouping MPLS-STATIC-CTX-PREFIX-BAG { + description + "MPLS STATIC CTX PREFIX BAG"; + leaf af-name { + type Mgmt-static-addr; + description + "AFName"; + } + leaf ipv4-prefix { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 context"; + } + leaf ipv6-prefix { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Static-ipv6-address; + description + "IPv6 context"; + } + } + + grouping MPLS-STATIC-LBL-PREFIX-INFO { + description + "Prefix Information"; + container prefix { + description + "Prefix"; + uses MPLS-STATIC-CTX-PREFIX-BAG; + } + leaf prefix-length { + type uint8; + description + "Prefix length"; + } + } + + grouping MPLS-STATIC-LBL-INFO { + description + "Static Label and Prefix information"; + container prefix { + description + "Prefix Information"; + uses MPLS-STATIC-LBL-PREFIX-INFO; + } + container pathset-resolve-nh { + description + "Primary pathset resolve-nexthop IP Address"; + uses MPLS-STATIC-CTX-PREFIX-BAG; + } + container backup-pathset-resolve-nh { + description + "Backup pathset resolve-nexthop IP Address"; + uses MPLS-STATIC-CTX-PREFIX-BAG; + } + leaf label { + type uint32; + description + "Label value"; + } + leaf label-mode { + type Mgmt-mpls-static-label-mode; + description + "Label Mode"; + } + leaf label-status { + type Mgmt-mpls-static-label-status; + description + "Label Status"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf pathset-via-resolve { + type boolean; + description + "Primary Pathset as a result of resolve"; + } + leaf backup-pathset-via-resolve { + type boolean; + description + "Backup Pathset as a result of resolve"; + } + leaf address-family { + type Mgmt-static-addr; + description + "Address Family"; + } + list path-info { + description + "Path Information"; + uses MPLS-STATIC-LSP-PATH-INFO; + } + list backup-path-info { + description + "Backup Path Information"; + uses MPLS-STATIC-LSP-PATH-INFO; + } + } + + grouping MPLS-STATIC-LSP-INFO { + description + "Static LSP information"; + container label { + description + "Label Information"; + uses MPLS-STATIC-LBL-INFO; + } + leaf lsp-name-xr { + type string; + description + "LSP Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper.yang new file mode 100644 index 0000000..5013cb2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-static-oper.yang @@ -0,0 +1,107 @@ +module Cisco-IOS-XR-mpls-static-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-static-oper"; + prefix mpls-static-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-static-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-static package operational data. + + This module contains definitions + for the following management objects: + mpls-static: MPLS STATIC operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping LOCAL-LABEL-TABLE { + description + "Common node of mpls-static, vrf"; + container local-labels { + description + "data for static local-label table"; + list local-label { + key "local-label-id"; + description + "Data for static label"; + leaf local-label-id { + type uint32 { + range "16..1048575"; + } + description + "Local Label"; + } + uses MPLS-STATIC-LBL-INFO; + } + } + } + + container mpls-static { + config false; + description + "MPLS STATIC operational data"; + container vrfs { + description + "VRF table"; + list vrf { + key "vrf-name"; + description + "VRF Name"; + container lsps { + description + "data for static lsp table"; + list lsp { + key "lsp-name"; + description + "Data for static lsp"; + leaf lsp-name { + type xr:Cisco-ios-xr-string; + description + "LSP Name"; + } + uses MPLS-STATIC-LSP-INFO; + } + } + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + uses LOCAL-LABEL-TABLE; + } + } + container summary { + description + "MPLS STATIC summary data"; + uses MPLS-STATIC-SUMMARY; + } + uses LOCAL-LABEL-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-cfg.yang new file mode 100644 index 0000000..e696370 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-cfg.yang @@ -0,0 +1,6668 @@ +module Cisco-IOS-XR-mpls-te-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-cfg"; + prefix mpls-te-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package configuration. + + This module contains definitions + for the following management objects: + mpls-te: The root of MPLS TE configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-snmp-agent-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-tesrlg-exclude { + type enumeration { + enum "mandatory" { + value 1; + description + "SRLG Mandatory Exclude"; + } + enum "preferred" { + value 2; + description + "SRLG Preferred Exclude"; + } + enum "weighted" { + value 3; + description + "SRLG Weighted Exclude"; + } + } + description + "Mpls tesrlg exclude"; + } + + typedef Mpls-te-affinity-value { + type enumeration { + enum "hex-value" { + value 1; + description + "Affinity value in Hex number"; + } + enum "bit-position" { + value 2; + description + "Affinity value by Bit-Position"; + } + } + description + "Mpls te affinity value"; + } + + typedef Destination-list-name-length { + type string { + length "1..32"; + } + description + "Destination list name length"; + } + + typedef Route-priority-role { + type enumeration { + enum "route-priority-role-head-back-up" { + value 0; + description + "TE Route Priority Role Head Backup"; + } + enum "route-priority-role-head-primary" { + value 1; + description + "TE Route Priority Role Head Primary"; + } + enum "route-priority-role-middle" { + value 2; + description + "TE Route Priority Role Middle"; + } + } + description + "Route priority role"; + } + + typedef Mpls-percent-range { + type uint32 { + range "0..100"; + } + description + "Mpls percent range"; + } + + typedef Otn-signaled-bandwidth-flex-framing { + type enumeration { + enum "cbr" { + value 20; + description + "CBR"; + } + enum "framed-gfp-fixed" { + value 21; + description + "GFP fixed framing type"; + } + enum "framed-gfp-resize" { + value 22; + description + "GFP resizeable framing type"; + } + } + description + "Otn signaled bandwidth flex framing"; + } + + typedef Sr-prepend { + type enumeration { + enum "none-type" { + value 0; + description + "NoneType"; + } + enum "next-label" { + value 1; + description + "Next Label"; + } + enum "bgp-n-hop" { + value 2; + description + "BGP NHOP"; + } + } + description + "Sr prepend"; + } + + typedef Mpls-te-path-selection-tiebreaker { + type enumeration { + enum "min-fill" { + value 1; + description + "Prefer the path with the least-utilized links"; + } + enum "max-fill" { + value 2; + description + "Prefer the path with the most-utilized links"; + } + enum "random" { + value 3; + description + "Prefer a path with links utilized randomly"; + } + } + description + "Mpls te path selection tiebreaker"; + } + + typedef Attribute-set-name-length { + type string { + length "1..64"; + } + description + "Attribute set name length"; + } + + typedef Mpls-te-otn-aps-protection { + type enumeration { + enum "1plus1-unidir-no-aps" { + value 4; + description + "1PLUS1 UNIDIR NO APS"; + } + enum "1plus1-unidir-aps" { + value 8; + description + "1PLUS1 UNIDIR APS"; + } + enum "1plus1-bdir-aps" { + value 16; + description + "1PLUS1 BIDIR APS"; + } + } + description + "Mpls te otn aps protection"; + } + + typedef Ospf-area-mode { + type enumeration { + enum "ospf-int" { + value 0; + description + "OSPF area in integer format"; + } + enum "ospfip-addr" { + value 1; + description + "OSPF area in IP address format"; + } + } + description + "Ospf area mode"; + } + + typedef Mpls-te-path-option-property { + type enumeration { + enum "none" { + value 0; + description + "No property"; + } + enum "lockdown" { + value 1; + description + "Path is not a canditate forreoptimization"; + } + enum "verbatim" { + value 4; + description + "Explicit path does not require topology + database"; + } + enum "pce" { + value 8; + description + "Dynamic path found by PCE server"; + } + enum "segment-routing" { + value 16; + description + "Segment Routing path"; + } + } + description + "Mpls te path option property"; + } + + typedef Mpls-te-path-computation-method { + type enumeration { + enum "not-set" { + value 0; + description + "NotSet"; + } + enum "dynamic" { + value 1; + description + "Dynamic"; + } + enum "pce" { + value 2; + description + "PCE"; + } + enum "explicit" { + value 3; + description + "Explicit"; + } + } + description + "Mpls te path computation method"; + } + + typedef Mpls-te-signaled-label { + type enumeration { + enum "not-set" { + value 0; + description + "Not Set"; + } + enum "dwdm" { + value 1; + description + "DWDM Label (RFC 6205), 50GHz channel spacing"; + } + } + description + "Mpls te signaled label"; + } + + typedef Mpls-te-path-option-xro { + type empty; + description + "Defined as attribute-set"; + } + + typedef Otn-destination { + type enumeration { + enum "number-ed" { + value 0; + description + "Destination numbered"; + } + enum "un-number-ed" { + value 1; + description + "Destination unnumbered"; + } + } + description + "Otn destination"; + } + + typedef Mpls-te-tunnel-affinity { + type enumeration { + enum "include" { + value 1; + description + "Include Affinity"; + } + enum "include-strict" { + value 2; + description + "Strictly Include Affinity"; + } + enum "exclude" { + value 3; + description + "Exclude Affinity"; + } + enum "exclude-all" { + value 4; + description + "Exclude All Affinities"; + } + enum "ignore" { + value 5; + description + "Ignore Affinity"; + } + } + description + "Mpls te tunnel affinity"; + } + + typedef Otn-static-uni { + type enumeration { + enum "unknown" { + value 0; + description + "Uni-Type None"; + } + enum "xc" { + value 1; + description + "Uni-Type XC"; + } + enum "termination" { + value 2; + description + "Uni-Type Termination"; + } + } + description + "Otn static uni"; + } + + typedef Mpls-te-switching-cap { + type enumeration { + enum "psc1" { + value 1; + description + "PSC1"; + } + enum "lsc" { + value 150; + description + "LSC"; + } + enum "fsc" { + value 200; + description + "FSC"; + } + } + description + "Mpls te switching cap"; + } + + typedef Mpls-te-otn-aps-protection-mode { + type enumeration { + enum "revertive" { + value 1; + description + "Revertive"; + } + enum "non-revertive" { + value 2; + description + "Non Revertive"; + } + } + description + "Mpls te otn aps protection mode"; + } + + typedef Mpls-te-config-tunnel { + type enumeration { + enum "p2p" { + value 0; + description + "P2P"; + } + enum "p2mp" { + value 1; + description + "P2MP"; + } + } + description + "Mpls te config tunnel"; + } + + typedef Mpls-te-bfd-session-down-action { + type enumeration { + enum "re-setup" { + value 1; + description + "Tear down and resetup"; + } + } + description + "Mpls te bfd session down action"; + } + + typedef Mpls-te-log-frr-protection { + type enumeration { + enum "frr-active-primary" { + value 1; + description + "Track only FRR active on primary LSP"; + } + enum "backup" { + value 256; + description + "backup tunnel"; + } + enum "frr-ready-primary" { + value 512; + description + "Track only FRR ready on primary LSP"; + } + enum "primary" { + value 513; + description + "primary LSP"; + } + enum "all" { + value 769; + description + "all"; + } + } + description + "Mpls te log frr protection"; + } + + typedef Link-next-hop { + type enumeration { + enum "none" { + value 1; + description + "No next hop"; + } + enum "ipv4-address" { + value 2; + description + "IPv4 next-hop address"; + } + } + description + "Link next hop"; + } + + typedef Mpls-lcac-bandwidth-hold-timer-range { + type uint32 { + range "1..300"; + } + description + "Mpls lcac bandwidth hold timer range"; + } + + typedef Mpls-te-autoroute-metric { + type enumeration { + enum "relative" { + value 1; + description + "Relative"; + } + enum "absolute" { + value 2; + description + "Absolute"; + } + enum "constant" { + value 3; + description + "Constant"; + } + } + description + "Mpls te autoroute metric"; + } + + typedef Bandwidth-constraint { + type enumeration { + enum "bandwidth-constraint-maximum-allocation-model" { + value 1; + description + "Maximum Allocation Bandwidth Constaints Model"; + } + } + description + "Bandwidth constraint"; + } + + typedef Otn-payload { + type enumeration { + enum "unknown" { + value 0; + description + "Payload unknown"; + } + enum "bmp" { + value 50; + description + "Bmp Payload"; + } + enum "gfp-f" { + value 54; + description + "Gfp_F Payload"; + } + enum "gmp" { + value 55; + description + "GMP Payload"; + } + enum "gfp-f-ext" { + value 70; + description + "Gfp_F_EXT Payload"; + } + } + description + "Otn payload"; + } + + typedef Mpls-te-otn-snc-mode { + type enumeration { + enum "snc-n" { + value 1; + description + "SNC N"; + } + enum "snc-i" { + value 2; + description + "SNC I"; + } + enum "snc-s" { + value 3; + description + "SNC S"; + } + } + description + "Mpls te otn snc mode"; + } + + typedef Bfd-reverse-path { + type enumeration { + enum "bfd-reverse-path-binding-label" { + value 1; + description + "BindingLabel"; + } + } + description + "Bfd reverse path"; + } + + typedef Mpls-te-path-selection-metric { + type enumeration { + enum "igp" { + value 1; + description + "IGP Metric"; + } + enum "te" { + value 2; + description + "TE Metric"; + } + enum "delay" { + value 4; + description + "DELAY Metric"; + } + } + description + "Mpls te path selection metric"; + } + + typedef Mpls-te-path-option { + type enumeration { + enum "not-set" { + value 0; + description + "Not Set"; + } + enum "dynamic" { + value 1; + description + "Dynamic"; + } + enum "explicit-name" { + value 3; + description + "Explicit, identified by name"; + } + enum "explicit-number" { + value 4; + description + "Explicit, identified by number"; + } + enum "no-ero" { + value 5; + description + "No ERO"; + } + enum "sr" { + value 6; + description + "Segment routing"; + } + } + description + "Mpls te path option"; + } + + typedef Mpls-lcac-flooding-igp { + type enumeration { + enum "ospf" { + value 0; + description + "OSPF"; + } + } + description + "Mpls lcac flooding igp"; + } + + typedef Otn-protection-switch-lockout { + type enumeration { + enum "none" { + value 0; + description + "No Lockout"; + } + enum "working" { + value 1; + description + "Lockout Working"; + } + } + description + "Otn protection switch lockout"; + } + + typedef Mpls-te-tunnel-id { + type enumeration { + enum "auto" { + value 0; + description + "Auto"; + } + enum "explicit" { + value 1; + description + "Explicit"; + } + } + description + "Mpls te tunnel id"; + } + + typedef Otn-signaled-bandwidth { + type enumeration { + enum "odu1" { + value 1; + description + "Signalled BW for ODU1"; + } + enum "odu2" { + value 2; + description + "Signalled BW for ODU2"; + } + enum "odu3" { + value 3; + description + "Signalled BW for ODU3"; + } + enum "odu4" { + value 4; + description + "Signalled BW for ODU4"; + } + enum "odu0" { + value 10; + description + "Signalled BW for ODU0"; + } + enum "odu2e" { + value 11; + description + "Signalled BW for ODU2e"; + } + enum "od-uflex-cbr" { + value 20; + description + "Signalled BW for ODUflex CBR"; + } + enum "od-uflex-gfp-resize" { + value 21; + description + "Signalled BW for ODUflex GFP Resizable"; + } + enum "od-uflex-gfp-not-resize" { + value 22; + description + "Signalled BW for ODUflex GFP not Resizable"; + } + enum "odu1e" { + value 23; + description + "Signalled BW for ODU1e"; + } + enum "odu1f" { + value 24; + description + "Signalled BW for ODU1f"; + } + enum "odu2f" { + value 25; + description + "Signalled BW for ODU2f"; + } + enum "odu3e1" { + value 26; + description + "Signalled BW for ODU3e1"; + } + enum "odu3e2" { + value 27; + description + "Signalled BW for ODU3e2"; + } + } + description + "Otn signaled bandwidth"; + } + + typedef Mpls-te-bandwidth-dste { + type enumeration { + enum "standard-dste" { + value 0; + description + "IETF-Standard DSTE"; + } + enum "pre-standard-dste" { + value 1; + description + "Pre-Standard DSTE"; + } + } + description + "Mpls te bandwidth dste"; + } + + typedef Mpls-te-path-selection-invalidation-timer-expire { + type enumeration { + enum "tunnel-action-tear" { + value 1; + description + "Tear down tunnel."; + } + enum "tunnel-action-drop" { + value 2; + description + "Drop tunnel traffic."; + } + } + description + "Mpls te path selection invalidation timer expire"; + } + + typedef Mpls-te-path-diversity-conformance { + type enumeration { + enum "strict" { + value 0; + description + "Strict"; + } + enum "best-effort" { + value 1; + description + "Best effort"; + } + } + description + "Mpls te path diversity conformance"; + } + + typedef Mpls-lcac-flooding-threshold-percent-range { + type uint32 { + range "0..100"; + } + description + "Mpls lcac flooding threshold percent range"; + } + + typedef Ietf-mode { + type enumeration { + enum "standard" { + value 3; + description + "IETF Standard"; + } + } + description + "Ietf mode"; + } + + typedef Mpls-te-otn-aps-restoration-style { + type enumeration { + enum "keep-failed-lsp" { + value 1; + description + "Keep Failed Lsp"; + } + enum "delete-failed-lsp" { + value 2; + description + "Delete Failed Lsp"; + } + } + description + "Mpls te otn aps restoration style"; + } + + typedef Mpls-te-path-selection-segment-routing-adjacency-protection { + type enumeration { + enum "not-set" { + value 0; + description + "Any segment can be used in a path."; + } + enum "adj-unprotected" { + value 1; + description + "Only unprotected adjacency segments can be used + in a path."; + } + enum "adj-protected" { + value 2; + description + "Only protected adjacency segments can be used + in a path."; + } + } + description + "Mpls te path selection segment routing adjacency + protection"; + } + + typedef Gmplstti-mode { + type enumeration { + enum "sm" { + value 1; + description + "Section Monitoring"; + } + enum "pm" { + value 2; + description + "Path Monitoring"; + } + enum "tcm" { + value 3; + description + "Tandem Connection"; + } + } + description + "Gmplstti mode"; + } + + typedef Mpls-te-switching-encoding { + type enumeration { + enum "packet" { + value 1; + description + "Packet"; + } + enum "ethernet" { + value 2; + description + "Ethernet"; + } + enum "sondet-sdh" { + value 5; + description + "SONET SDH"; + } + } + description + "Mpls te switching encoding"; + } + + typedef Mpls-te-sig-name-option { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "address" { + value 1; + description + "Address"; + } + enum "name" { + value 2; + description + "Name"; + } + } + description + "Mpls te sig name option"; + } + + typedef Mpls-te-policy-class-range { + type uint32 { + range "1..8"; + } + description + "Mpls te policy class range"; + } + + typedef Mesh-group-id { + type uint32 { + range "0..4294967295"; + } + description + "Mesh group id"; + } + + typedef Path-invalidation-action { + type enumeration { + enum "tear" { + value 1; + description + "Tear"; + } + enum "drop" { + value 2; + description + "Drop"; + } + } + description + "Path invalidation action"; + } + + typedef Mpls-te-switching-index { + type union { + type enumeration { + enum "link" { + value 255; + description + "Link"; + } + } + type uint32 { + range "1..255"; + } + } + description + "Mpls te switching index"; + } + + typedef Mpls-te-igp-protocol { + type enumeration { + enum "none" { + value 0; + description + "Not set"; + } + enum "isis" { + value 1; + description + "IS IS"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + } + description + "Mpls te igp protocol"; + } + + typedef Mpls-tebfd-session { + type enumeration { + enum "regular-bfd" { + value 1; + description + "Regular BFD"; + } + enum "sbfd" { + value 2; + description + "Seamless BFD"; + } + enum "redundant-sbfd" { + value 3; + description + "Redundant SBFD"; + } + } + description + "Mpls tebfd session"; + } + + typedef Binding-segment-id { + type enumeration { + enum "any-label" { + value 1; + description + "AnyLabel"; + } + enum "specified-label" { + value 2; + description + "SpecifiedLabel"; + } + } + description + "Binding segment id"; + } + + typedef Mpls-te-backup-bandwidth-pool { + type enumeration { + enum "any-pool" { + value 1; + description + "Any Pool"; + } + enum "global-pool" { + value 2; + description + "Global Pool"; + } + enum "sub-pool" { + value 4; + description + "Sub Pool"; + } + } + description + "Mpls te backup bandwidth pool"; + } + + typedef Mpls-te-switching-encode { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "packet" { + value 1; + description + "Packet"; + } + enum "ethernet" { + value 2; + description + "Ethernet"; + } + enum "sondet-sdh" { + value 5; + description + "SONET SDH"; + } + } + description + "Mpls te switching encode"; + } + + typedef Mpls-te-backup-bandwidth-class { + type enumeration { + enum "class0" { + value 0; + description + "Class 0"; + } + enum "class1" { + value 1; + description + "Class 1"; + } + enum "any-class" { + value 9; + description + "Any Class"; + } + } + description + "Mpls te backup bandwidth class"; + } + + typedef Mpls-te-path-option-protection { + type enumeration { + enum "active" { + value 0; + description + "Active path"; + } + enum "protecting" { + value 1; + description + "Protecting Path"; + } + } + description + "Mpls te path option protection"; + } + + typedef Mpls-te-bandwidth-limit { + type enumeration { + enum "unlimited" { + value 64; + description + "Unlimited"; + } + enum "limited" { + value 128; + description + "Limited"; + } + } + description + "Mpls te bandwidth limit"; + } + + grouping OOR-ACCEPT-REOPT-LSP { + description + "Common node of oor-green-state, oor-yellow-state, + oor-red-state"; + leaf oor-accept-reopt-lsp { + type empty; + description + "Allow the setup of reoptimized LSPs over the + link in this OOR State"; + } + } + + grouping PCALC-FAILURE-MESSAGE { + description + "Common node of logging, auto-mesh-logging"; + leaf pcalc-failure-message { + type empty; + description + "Enable logging for path-calculation failures"; + } + } + + grouping POLICY-CLASSES { + description + "Common node of tunnel-te-attributes, + auto-mesh-attribute, auto-backup-attribute"; + container policy-classes { + description + "Policy classes for PBTS"; + leaf-list policy-class { + type Mpls-te-policy-class-range; + max-elements "7"; + description + "Array of Policy class"; + } + } + } + + grouping UNPROTECTED-TRANSIT-LSP-THRESHOLD { + description + "Common node of lsp-oor-yellow-state, + lsp-oor-red-state"; + leaf unprotected-transit-lsp-threshold { + type int32; + description + "Threshold for unprotected transit LSPs"; + } + } + + grouping AFFINITY-MASK { + description + "Common node of tunnel-te-attributes, + auto-mesh-attribute, auto-backup-attribute, + path-option-attribute, p2mpte-attribute, + p2p-te-attribute"; + container affinity-mask { + presence "Indicates a affinity-mask node is configured."; + description + "Set the affinity flags and mask"; + leaf affinity { + type xr:Hex-integer; + mandatory true; + description + "Affinity flags"; + } + leaf mask { + type xr:Hex-integer; + mandatory true; + description + "Affinity mask"; + } + } + } + + grouping BANDWIDTH-CHANGE-MESSAGE { + description + "Common node of logging, auto-backup-logging, + auto-mesh-logging"; + leaf bandwidth-change-message { + type empty; + description + "Log tunnel messages for bandwidth change"; + } + } + + grouping REOPTIMIZE-ATTEMPTS-MESSAGE { + description + "Common node of logging, auto-backup-logging, + auto-mesh-logging"; + leaf reoptimize-attempts-message { + type empty; + description + "Log tunnel reoptimization attempts messages"; + } + } + + grouping OOR-AVAILABLE-BANDWIDTH-PERCENTAGE { + description + "Common node of oor-green-state, oor-yellow-state, + oor-red-state"; + leaf oor-available-bandwidth-percentage { + type uint32 { + range "0..100"; + } + units "percentage"; + default "100"; + description + "Flood a specific percentage of the available + bandwidth"; + } + } + + grouping TIMERS { + description + "Common node of backup, mesh"; + container timers { + description + "Configure auto-tunnel backup timers value"; + container removal { + description + "Configure auto-tunnel backup removal timers + value"; + leaf unused { + type uint32 { + range "0..10080"; + } + units "minute"; + default "3600"; + description + "Auto-tunnel backup unused timeout in minutes + (0=never timeout)"; + } + } + } + } + + grouping TUNNEL-PATH-SELECTION { + description + "Common node of tunnel-te-attributes, + tunnel-attributes"; + container tunnel-path-selection { + description + "Configure path selection properties"; + leaf tiebreaker { + type Mpls-te-path-selection-tiebreaker; + description + "CSPF tiebreaker to use in path calculation"; + } + leaf path-selection-hop-limit { + type uint32 { + range "1..255"; + } + description + "Path selection hop limit configuration for this + specific tunnel"; + } + uses INVALIDATION; + uses PATH-SELECTION-COST-LIMIT; + } + } + + grouping INVALIDATION { + description + "Common node of tunnel-te-attributes, + tunnel-attributesCommon node of + tunnel-path-selection, + att-path-option-path-selection"; + container invalidation { + presence "enable invalidation"; + description + "Path invalidation configuration for this + specific tunnel"; + leaf path-invalidation-timeout { + type uint32 { + range "0..60000"; + } + description + "Path Invalidation Timeout"; + } + leaf path-invalidation-action { + type Path-invalidation-action; + description + "Path Invalidation Action"; + } + } + } + + grouping PRECEDENCE { + description + "Common node of peer, pce-attributes"; + leaf precedence { + type uint32 { + range "0..255"; + } + description + "Precedence order"; + } + } + + grouping SOFT-PREEMPTION { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute"; + leaf soft-preemption { + type empty; + description + "Enable the soft-preemption feature on the tunnel"; + } + } + + grouping PATH-SELECTION-COST-LIMIT { + description + "Common node of tunnel-path-selection, + att-path-option-path-selection"; + leaf path-selection-cost-limit { + type uint32 { + range "1..4294967295"; + } + description + "Path selection cost limit configuration for this + specific tunnel"; + } + } + + grouping AUTO-BANDWIDTH { + description + "Common node of tunnel-attributes, + tunnel-te-attributes"; + container auto-bandwidth { + description + "Tunnel Interface Auto-bandwidth configuration + data"; + container underflow { + presence "Indicates a underflow node is configured."; + description + "Configuring the tunnel underflow detection"; + leaf underflow-threshold-percent { + type uint32 { + range "1..100"; + } + units "percentage"; + mandatory true; + description + "Bandwidth change percent to trigger an + underflow"; + } + leaf underflow-threshold-value { + type uint32 { + range "10..4294967295"; + } + units "kbit/s"; + mandatory true; + description + "Bandwidth change value to trigger an underflow + (kbps)"; + } + leaf underflow-threshold-limit { + type uint32 { + range "1..10"; + } + mandatory true; + description + "Number of consecutive collections exceeding + threshold"; + } + } + container overflow { + presence "Indicates a overflow node is configured."; + description + "Configuring the tunnel overflow detection"; + leaf overflow-threshold-percent { + type uint32 { + range "1..100"; + } + units "percentage"; + mandatory true; + description + "Bandwidth change percent to trigger an + overflow"; + } + leaf overflow-threshold-value { + type uint32 { + range "10..4294967295"; + } + units "kbit/s"; + mandatory true; + description + "Bandwidth change value to trigger an overflow + (kbps)"; + } + leaf overflow-threshold-limit { + type uint32 { + range "1..10"; + } + mandatory true; + description + "Number of consecutive collections exceeding + threshold"; + } + } + container bandwidth-limits { + presence "Indicates a bandwidth-limits node is configured."; + description + "Set min/max bandwidth auto-bw can apply on a + tunnel"; + leaf bandwidth-min-limit { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "Set minimum bandwidth auto-bw can apply on a + tunnel"; + } + leaf bandwidth-max-limit { + type uint32 { + range "0..4294967295"; + } + mandatory true; + description + "Set maximum bandwidth auto-bw can apply on a + tunnel"; + } + } + container adjustment-threshold { + presence "Indicates a adjustment-threshold node is configured."; + description + "Set the bandwidth change threshold to trigger + adjustment"; + leaf adjustment-threshold-percent { + type uint32 { + range "1..100"; + } + units "percentage"; + mandatory true; + description + "Bandwidth change percent to trigger adjustment"; + } + leaf adjustment-threshold-value { + type uint32 { + range "10..4294967295"; + } + units "kbit/s"; + mandatory true; + description + "Bandwidth change value to trigger adjustment + (kbps)"; + } + } + leaf underflow-enable { + type boolean; + description + "Enable auto bandwidth underflow detection"; + } + leaf enabled { + type boolean; + description + "This object is only valid for tunnel interfaces + and it controls whether that interface has + auto-bw enabled on it or not.The object must be + set before any other auto-bw configuration is + supplied for the interface, and must be the + last auto-bw configuration object to be removed + ."; + } + leaf application-frequency { + type uint32 { + range "5..10080"; + } + units "minute"; + description + "Set the tunnel auto-bw application frequency in + minutes"; + } + leaf overflow-enable { + type boolean; + description + "Enable auto bandwidth overflow detection"; + } + uses COLLECTION-ONLY; + } + } + + grouping RECORD-ROUTE { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute, + auto-backup-attribute, gmpls-unitunnel-head, + p2mpte-attribute, tunnel-head"; + leaf record-route { + type empty; + description + "Record the route used by the tunnel"; + } + } + + grouping OOR-ACCEPT-LSP-MIN-BANDWIDTH { + description + "Common node of oor-green-state, oor-yellow-state, + oor-red-state"; + leaf oor-accept-lsp-min-bandwidth { + type int32; + units "kbit/s"; + default "0"; + description + "Only accept LSPs with at least the specified + bandwidth (in kbps)."; + } + } + + grouping LOGGING { + description + "Common node of tunnel-te-attributes, + tunnel-attributes, p2p-te-attribute"; + container logging { + description + "Log tunnel LSP messages"; + leaf lsp-switch-over-change-message { + type empty; + description + "Log tunnel messages for bandwidth change"; + } + leaf all { + type empty; + description + "Log all events for a tunnel"; + } + leaf record-route-messsage { + type empty; + description + "Log tunnel record-route messages"; + } + leaf bfd-state-message { + type empty; + description + "Enable BFD session state change alarm"; + } + uses BANDWIDTH-CHANGE-MESSAGE; + uses REOPTIMIZE-ATTEMPTS-MESSAGE; + uses REROUTE-MESSSAGE; + uses STATE-MESSAGE; + uses INSUFFICIENT-BW-MESSAGE; + uses REOPTIMIZED-MESSAGE; + uses PCALC-FAILURE-MESSAGE; + } + } + + grouping MPLS-MTE-TUNNEL-CFG-LOGGING { + description + "Common node of tunnel-te-attributes, + tunnel-attributes, p2p-te-attributeCommon node of + mte-tunnel-attributes, p2mpte-attribute"; + container logging { + description + "Log tunnel LSP messages"; + leaf insufficient-bw-message { + type empty; + description + "Log tunnel messages for insufficient bandwidth"; + } + leaf reoptimized-message { + type empty; + description + "Log tunnel reoptimized messages"; + } + leaf bandwidth-change-message { + type empty; + description + "Log tunnel bandwidth change messages"; + } + leaf all { + type empty; + description + "Log all events for a tunnel"; + } + leaf pcalc-failure-message { + type empty; + description + "Enable logging for path-calculation failures"; + } + leaf state-message { + type empty; + description + "Log tunnel state messages"; + } + leaf reoptimize-attempts-message { + type empty; + description + "Log tunnel reoptimization attempts messages"; + } + leaf sub-lsp-state-message { + type empty; + description + "Log all tunnel sub-LSP state messages"; + } + leaf reroute-messsage { + type empty; + description + "Log tunnel rereoute messages"; + } + } + } + + grouping COLLECTION-ONLY { + description + "Common node of auto-bandwidth, + auto-mesh-attribute"; + leaf collection-only { + type empty; + description + "Enable bandwidth collection only, no auto-bw + adjustment"; + } + } + + grouping PCE { + description + "Common node of path-option-attribute, + p2p-te-attribute"; + container pce { + description + "Configure pce properties"; + container bidirectional { + presence "Indicates a bidirectional node is configured."; + description + "Bidirectional parameters"; + leaf bd-source-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Bidirectional Source IP Address"; + } + leaf bd-group-id { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Bidirectional Group ID"; + } + } + container disjoint-path { + presence "Indicates a disjoint-path node is configured."; + description + "Disjoint path parameters"; + leaf dp-source-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Disjoint Path Source IP Address"; + } + leaf dp-type { + type uint32 { + range "1..3"; + } + mandatory true; + description + "Disjoint Path Type"; + } + leaf dp-group-id { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Disjoint Path Group ID"; + } + } + leaf enable { + type empty; + description + "Always set to true"; + } + } + } + + grouping DESTINATION { + description + "Common node of tunnel-te-attributes, + tunnel-attributes"; + leaf destination { + type inet:ipv4-address-no-zone; + description + "Set the destination of the tunnel"; + } + } + + grouping STATE-MESSAGE { + description + "Common node of logging, logging, + auto-backup-logging, auto-mesh-logging"; + leaf state-message { + type empty; + description + "Log tunnel state messages"; + } + } + + grouping LOAD-SHARE { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute"; + leaf load-share { + type uint32 { + range "1..4294967295"; + } + description + "Tunnel loadsharing metric"; + } + } + + grouping PATH-SELECTION { + description + "Common node of auto-mesh-attribute, xro-attribute + , auto-backup-attribute, p2mpte-attribute, + otn-pp-attribute"; + container path-selection { + description + "Configure path selection properties"; + leaf enable { + type empty; + description + "Enable path selection"; + } + } + } + + grouping SIGNALLED-NAME { + description + "Common node of tunnel-te-attributes, + gmpls-unitunnel-head, tunnel-head"; + leaf signalled-name { + type string { + length "1..254"; + } + description + "The name of the tunnel to be included in + signalling messages"; + } + } + + grouping REOPTIMIZED-MESSAGE { + description + "Common node of logging, auto-backup-logging, + auto-mesh-logging"; + leaf reoptimized-message { + type empty; + description + "Log tunnel reoptimized messages"; + } + } + + grouping NEW-STYLE-AFFINITY-TABLE { + description + "Common node of logging, auto-backup-logging, + auto-mesh-loggingCommon node of tunnel-attributes + , tunnel-te-attributes, path-option-attribute, + auto-backup-attribute, auto-mesh-attribute, + p2mpte-attribute, p2p-te-attribute"; + container new-style-affinity-affinity-types { + description + "Tunnel new style affinity attributes table"; + list new-style-affinity-affinity-type { + key "affinity-type"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + } + list new-style-affinity-affinity-type-affinity1 { + key "affinity-type affinity1"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2 { + key "affinity-type affinity1 affinity2"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3 { + key "affinity-type affinity1 affinity2 affinity3"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4 { + key "affinity-type affinity1 affinity2 affinity3 affinity4"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5-affinity6 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5-affinity6-affinity7 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6 affinity7"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + leaf affinity7 { + type xr:Cisco-ios-xr-string; + description + "The name of the seventh affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5-affinity6-affinity7-affinity8 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6 affinity7 affinity8"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + leaf affinity7 { + type xr:Cisco-ios-xr-string; + description + "The name of the seventh affinity"; + } + leaf affinity8 { + type xr:Cisco-ios-xr-string; + description + "The name of the eighth affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5-affinity6-affinity7-affinity8-affinity9 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6 affinity7 affinity8 affinity9"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + leaf affinity7 { + type xr:Cisco-ios-xr-string; + description + "The name of the seventh affinity"; + } + leaf affinity8 { + type xr:Cisco-ios-xr-string; + description + "The name of the eighth affinity"; + } + leaf affinity9 { + type xr:Cisco-ios-xr-string; + description + "The name of the nineth affinity"; + } + } + list new-style-affinity-affinity-type-affinity1-affinity2-affinity3-affinity4-affinity5-affinity6-affinity7-affinity8-affinity9-affinity10 { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6 affinity7 affinity8 affinity9 affinity10"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + leaf affinity7 { + type xr:Cisco-ios-xr-string; + description + "The name of the seventh affinity"; + } + leaf affinity8 { + type xr:Cisco-ios-xr-string; + description + "The name of the eighth affinity"; + } + leaf affinity9 { + type xr:Cisco-ios-xr-string; + description + "The name of the nineth affinity"; + } + leaf affinity10 { + type xr:Cisco-ios-xr-string; + description + "The name of the tenth affinity"; + } + } + } + } + + grouping FAST-REROUTE { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute, + p2mpte-attribute"; + container fast-reroute { + presence "Indicates a fast-reroute node is configured."; + description + "Specify MPLS tunnel can be fast-rerouted"; + leaf bandwidth-protection { + type uint32 { + range "0..1"; + } + mandatory true; + description + "Bandwidth Protection"; + } + leaf node-protection { + type uint32 { + range "0..1"; + } + mandatory true; + description + "Node Protection"; + } + } + } + + grouping TUNNEL-RANGE { + description + "Common node of backup, mesh, p2mp-auto-tunnel, + p2p-auto-tunnel, pcc"; + container tunnel-range { + presence "Indicates a tunnel-range node is configured."; + description + "Configure tunnel ID range for auto-tunnel + features"; + leaf min-tunnel-id { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "Minimum tunnel ID for auto-tunnels"; + } + leaf max-tunnel-id { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "Maximum tunnel ID for auto-tunnels"; + } + } + } + + grouping ENABLE { + description + "Common node of path-selection, + att-path-option-path-selection"; + leaf enable { + type empty; + description + "Enter path selection configuration"; + } + } + + grouping MPLS-TE-ATTR-SET-CFG-ENABLE { + description + "Common node of path-selection, + att-path-option-path-selectionCommon node of + path-option-attribute, auto-mesh-attribute, + xro-attribute, auto-backup-attribute, + p2mpte-attribute, otn-pp-attribute, + p2p-te-attribute"; + leaf enable { + type empty; + description + "Attribute-set enable object that controls + whether this attribute-set is configured or not + .This object must be set before other + configuration supplied for this attribute-set"; + } + } + + grouping AUTOROUTE { + description + "Common node of tunnel-attributes, + tunnel-te-attributes"; + container autoroute { + description + "Parameters for IGP routing over tunnel"; + container autoroute-announce { + description + "Announce tunnel to IGP"; + container exclude-traffic { + description + "Exclude traffic on autorouted tunnel"; + leaf segment-routing { + type empty; + description + "Exclude tunnel in IGP for SR prefixes"; + } + } + container metric { + description + "Specify MPLS tunnel metric"; + leaf metric-type { + type Mpls-te-autoroute-metric; + description + "Autoroute tunnel metric type"; + } + leaf absolute-metric { + when "../metric-type = 'absolute'" { + description + "../MetricType = Absolute"; + } + type uint32 { + range "1..2147483647"; + } + description + "The absolute metric value"; + } + leaf relative-metric { + when "../metric-type = 'relative'" { + description + "../MetricType = Relative"; + } + type int32 { + range "-10..10"; + } + description + "The value of the adjustment"; + } + leaf constant-metric { + when "../metric-type = 'constant'" { + description + "../MetricType = Constant"; + } + type uint32 { + range "1..2147483647"; + } + description + "The constant metric value"; + } + } + leaf enable { + type empty; + description + "Enable autoroute announce"; + } + leaf include-ipv6 { + type empty; + description + "Specify that the tunnel should be an IPv6 + autoroute announce also"; + } + } + container destinations { + description + "Tunnel Autoroute Destination(s)"; + list destination { + key "destination-address"; + description + "Destination address to add in RIB"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "IP address of destination"; + } + } + } + } + } + + grouping OOR-NODE-PROTECTION-DISABLE { + description + "Common node of oor-green-state, oor-yellow-state, + oor-red-state"; + leaf oor-node-protection-disable { + type empty; + description + "Disable FRR node-protection when the link is in + this OOR State"; + } + } + + grouping REROUTE-MESSSAGE { + description + "Common node of logging, auto-mesh-logging"; + leaf reroute-messsage { + type empty; + description + "Log tunnel rereoute messages"; + } + } + + grouping CACHE-TIMER { + description + "Common node of mpls-te-mib, mpls-frr-mib, + mpls-p2mp-mib, mpls-te-ext-mib, + mpls-te-ext-std-mib"; + leaf cache-timer { + type uint32 { + range "0..600"; + } + units "second"; + default "60"; + description + "Configure the cache time for the mib."; + } + } + + grouping PATH-SELECTION-METRIC { + description + "Common node of tunnel-attributes, + tunnel-te-attributes"; + leaf path-selection-metric { + type Mpls-te-path-selection-metric; + description + "Path selection metric to use in path calculation"; + } + } + + grouping PASSWORD { + description + "Common node of peer, pce-attributes"; + leaf password { + type xr:Proprietary-password; + description + "MD5 password"; + } + } + + grouping BANDWIDTH { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute, + path-option-attribute, p2mpte-attribute"; + container bandwidth { + presence "Indicates a bandwidth node is configured."; + description + "Tunnel bandwidth requirement"; + leaf dste-type { + type Mpls-te-bandwidth-dste; + mandatory true; + description + "DSTE-standard flag"; + } + leaf class-or-pool-type { + type uint32 { + range "0..1"; + } + mandatory true; + description + "Class type for the bandwidth allocation"; + } + leaf bandwidth { + type uint32 { + range "0..4294967295"; + } + units "kbit/s"; + mandatory true; + description + "The value of the bandwidth reserved by this + tunnel in kbps"; + } + } + } + + grouping INTERFACE-BANDWIDTH { + description + "Common node of auto-mesh-attribute, + p2mpte-attribute"; + leaf interface-bandwidth { + type uint32 { + range "0..4294967295"; + } + units "kbit/s"; + description + "The bandwidth of the interface in kbps"; + } + } + + grouping FORWARD-CLASS { + description + "Common node of tunnel-attributes, + tunnel-te-attributes, auto-mesh-attribute"; + leaf forward-class { + type uint32 { + range "1..7"; + } + description + "Forward class value"; + } + } + + grouping INSUFFICIENT-BW-MESSAGE { + description + "Common node of logging, auto-mesh-logging"; + leaf insufficient-bw-message { + type empty; + description + "Log tunnel messages for insufficient bandwidth"; + } + } + + grouping OOR-METRIC-TE-PENALTY { + description + "Common node of oor-green-state, oor-yellow-state, + oor-red-state"; + leaf oor-metric-te-penalty { + type int32; + default "0"; + description + "Penalty applied to the TE metric of a link in + OOR state"; + } + } + + grouping KEYCHAIN { + description + "Common node of peer, pce-attributes"; + leaf keychain { + type string { + length "1..32"; + } + description + "Keychain based authentication"; + } + } + + grouping ALL-TRANSIT-LSP-THRESHOLD { + description + "Common node of lsp-oor-yellow-state, + lsp-oor-red-state"; + leaf all-transit-lsp-threshold { + type int32; + description + "Threshold for all transit LSPs"; + } + } + + grouping PRIORITY { + description + "Common node of tunnel-te-attributes, + tunnel-attributes, auto-mesh-attribute, + gmpls-unitunnel-head, auto-backup-attribute, + p2mpte-attribute"; + container priority { + presence "Indicates a priority node is configured."; + description + "Tunnel Setup and Hold Priorities"; + leaf setup-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Setup Priority"; + } + leaf hold-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Hold Priority"; + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container tunnel-te-attributes { + description + "MPLS tunnel attributes"; + container backup-bandwidth { + description + "Tunnel backup bandwidth requirement"; + leaf dste-type { + type Mpls-te-bandwidth-dste; + description + "DSTE-standard flag"; + } + leaf pool-type { + type Mpls-te-backup-bandwidth-pool; + description + "Backup bandwidth pool type, relevant only if + DSTEType is PreStandardDSTE"; + } + leaf class-type { + type Mpls-te-backup-bandwidth-class; + description + "Backup bandwidth class type, relevant only if + DSTEType is StandardDSTE"; + } + leaf limit-type { + type Mpls-te-bandwidth-limit; + description + "Backup bandwidth limit type"; + } + leaf backup-bandwidth { + type uint32 { + range "1..4294967295"; + } + description + "Backup bandwidth requested by this tunnel in + kbps. Ignored if bandwidth limit type is + unlimited."; + } + } + container bfd-over-lsp { + description + "BFD over TE LSP"; + leaf dampening-initial-wait { + type uint32 { + range "1..518400000"; + } + description + "Initial delay in milliseconds (default 16000)"; + } + leaf fast-detect { + type Mpls-tebfd-session; + description + "Enable BFD Fast Detect On the tunnel"; + } + leaf enable { + type empty; + description + "Always set to true"; + } + leaf multiplier { + type uint32 { + range "3..10"; + } + description + "Specify the multiplier for BFD failure + detection"; + } + leaf bringup-timeout { + type uint32 { + range "10..3600"; + } + description + "Wait for session to come up in seconds + (default 60)"; + } + leaf periodic-ping-disable { + type empty; + description + "Disable Periodic LSP Ping for BFD over LSP"; + } + leaf dampening-secondary-wait { + type uint32 { + range "1..518400000"; + } + description + "Secondary delay in milliseconds (default + 20000)"; + } + leaf periodic-ping-interval { + type uint32 { + range "60..3600"; + } + description + "Periodic LSP Ping Interval in seconds (default + 120)"; + } + leaf dampening-maximum-wait { + type uint32 { + range "1..518400000"; + } + description + "Maximum delay in milliseconds (default 600000)"; + } + leaf minimum-interval { + type uint32 { + range "3..30000"; + } + description + "Specify the minimum interval for BFD failure + detection"; + } + leaf encap-mode { + type uint32 { + range "0..1"; + } + description + "Specify BFD Encap Mode on the tunnel"; + } + } + container binding-segment-id-mpls { + description + "Allocate MPLS binding segment ID"; + leaf segment-id-type { + type Binding-segment-id; + description + "MPLS label value type"; + } + leaf label-value { + when "../segment-id-type = 'specified-label'" { + description + "../SegmentIDType = SpecifiedLabel"; + } + type uint32 { + range "16..4015"; + } + description + "MPLS label"; + } + } + container forwarding-adjacency { + description + "Forwarding adjacency announcement to IGP"; + leaf enable { + type empty; + description + "Enable forwarding adjacency"; + } + leaf include-ipv6 { + type empty; + description + "Specify that the tunnel should be an IPv6 + forwarding adjacency also"; + } + leaf hold-time { + type uint32 { + range "0..20000"; + } + description + "Specify the holdtime for the tunnel as + forwarding adjacency"; + } + } + container path-option-protects { + description + "Tunnel path protection state"; + list path-option-protect { + key "protection"; + description + "Tunnel path protection"; + container path-options { + description + "Tunnel path options"; + list path-option { + key "preference-level"; + description + "A tunnel path option"; + leaf preference-level { + type uint32 { + range "1..1000"; + } + description + "Preference level for this path option"; + } + leaf path-type { + type Mpls-te-path-option; + mandatory true; + description + "The type of the path option"; + } + leaf path-id { + type uint32 { + range "1..65535"; + } + default "1"; + description + "The ID of the IP explicit path associated + with this option"; + } + leaf path-name { + type string; + description + "The name of the IP explicit path associated + with this option"; + } + leaf path-property { + type int32; + default "0"; + description + "Deprecated"; + } + leaf interface { + type xr:Interface-name; + description + "Deprecated"; + } + leaf output-label { + type int32; + default "0"; + description + "Deprecated"; + } + leaf destination { + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "Deprecated"; + } + leaf lockdown { + type Mpls-te-path-option-property; + default "none"; + description + "Lockdown properties"; + } + leaf verbatim { + type Mpls-te-path-option-property; + default "none"; + description + "Verbatim properties"; + } + leaf pce { + type Mpls-te-path-option-property; + default "none"; + description + "PCE properties"; + } + leaf pce-address { + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "PCE address"; + } + leaf igp-type { + type Mpls-te-igp-protocol; + default "none"; + description + "IGP type"; + } + leaf igp-instance { + type string { + length "1..40"; + } + description + "IGP instance name"; + } + leaf igp-area { + type int32; + default "0"; + description + "IGP area ID in integer format"; + } + leaf igp-area-ip-address-id { + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "IGP area ID in IP address format"; + } + leaf path-option-attribute-set-name { + type string; + description + "Path option attribute set name"; + } + leaf protected-by-preference-level { + type uint32 { + range "1..1000"; + } + default "1"; + description + "Preference level of the protecting explicit + path. Leave unset in order to not use an + explicit protecting path"; + } + leaf segment-routing { + type Mpls-te-path-option-property; + default "none"; + description + "SegmentRouting properties"; + } + } + } + leaf protection { + type Mpls-te-path-option-protection; + description + "Protection type for this path"; + } + } + } + container bidirectional { + description + "Tunnel Interface Bidirectional configuration + data"; + container association-corouted-type { + description + "Association Corouted Type"; + container fault-oam { + description + "Tunnel Fault OAM"; + leaf enable { + type empty; + description + "This object is only valid for bidirectional + tunnel interfaces and it controls whether + that interface has fault OAM enabled on it + or not."; + } + } + leaf wrap-protection-enable { + type empty; + description + "This object is only valid for bidirectional + tunnel interfaces and it controls whether + that interface has LSP Wrap protectionenabled + on it or not."; + } + leaf enable { + type empty; + description + "Controls whether association type is + co-routed."; + } + } + container association-parameters { + presence "Indicates a association-parameters node is configured."; + description + "Association ID, Source IP Address, and Global + ID"; + leaf association-id { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "Association ID"; + } + leaf association-source-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "Association Source IP Address"; + } + leaf association-is-global-id-configured { + type boolean; + description + "Is Association Global ID Configured"; + } + leaf association-global-id { + type uint32 { + range "0..4294967295"; + } + description + "Association Global ID"; + } + } + leaf enabled { + type empty; + description + "This object is only valid for tunnel + interfaces and it controls whether that + interface has bidirectional enabled on it or + not."; + } + } + container admin-mode { + description + "Performs admin operations on the optical tunnel + interface"; + leaf deactivate-tunnel { + type empty; + description + "Performs signalling operation to deactivate + optical tunnel"; + } + } + container switching { + description + "Specify tunnel LSPs switching capability + descriptor"; + container transit { + presence "Indicates a transit node is configured."; + description + "Specify transit switching descriptor + parameters"; + leaf capability { + type Mpls-te-switching-cap; + mandatory true; + description + "Switching capability"; + } + leaf encoding { + type Mpls-te-switching-encode; + description + "LSP encoding"; + } + } + container endpoint { + presence "Indicates a endpoint node is configured."; + description + "Specify end point switching descriptor + parameters"; + leaf capability { + type Mpls-te-switching-cap; + mandatory true; + description + "Switching capability"; + } + leaf encoding { + type Mpls-te-switching-encode; + description + "LSP encoding"; + } + } + } + container pce { + description + "PCE config"; + leaf enable { + type empty; + description + "Always set to true"; + } + leaf delegation { + type empty; + description + "Enable PCE Delegation"; + } + } + leaf path-protection { + type empty; + description + "Specify MPLS tunnel to be path protected"; + } + uses FORWARD-CLASS; + uses TUNNEL-PATH-SELECTION; + uses AUTO-BANDWIDTH; + uses PRIORITY; + uses DESTINATION; + uses RECORD-ROUTE; + uses AFFINITY-MASK; + uses LOGGING; + uses BANDWIDTH; + uses AUTOROUTE; + uses POLICY-CLASSES; + uses PATH-SELECTION-METRIC; + uses NEW-STYLE-AFFINITY-TABLE; + uses SOFT-PREEMPTION; + uses FAST-REROUTE; + uses LOAD-SHARE; + uses SIGNALLED-NAME; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container transport-profile-tunnel { + description + "MPLS-TP tunnel attributes"; + container bfd { + description + "Configure BFD parameters"; + container min-interval { + description + "Hello interval, either in milli-seconds or in + micro-seconds"; + leaf interval-ms { + type uint32 { + range "3..5000"; + } + description + "Hello interval in milli-seconds"; + } + leaf interval-us { + type uint32 { + range "3000..5000000"; + } + description + "Hello interval in micro-seconds"; + } + } + container min-interval-standby { + description + "Hello interval for standby transport profile + LSP, either in milli-seconds or in + micro-seconds"; + leaf interval-standby-ms { + type uint32 { + range "3..5000"; + } + description + "Hello interval in milli-seconds"; + } + leaf interval-standby-us { + type uint32 { + range "3000..5000000"; + } + description + "Hello interval in micro-seconds"; + } + } + leaf detection-multiplier { + type uint32 { + range "2..10"; + } + description + "Detect multiplier"; + } + leaf enable { + type empty; + description + "Configure BFD parameters"; + } + leaf multiplier-standby { + type uint32 { + range "2..10"; + } + description + "Detect multiplier for standby transport + profile LSP"; + } + } + container working-lsp { + description + "Working LSP"; + container out-label { + presence "Indicates a out-label node is configured."; + description + "Outgoing MPLS label of the working LSP"; + leaf label { + type uint32 { + range "16..1048575"; + } + description + "MPLS label"; + } + leaf link { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Transport profile identifier of outgoing link"; + } + } + leaf in-label { + type uint32 { + range "16..4015"; + } + description + "Incoming MPLS label of the working LSP"; + } + leaf lockout { + type empty; + description + "Enable lockout of working LSP"; + } + leaf lsp-id { + type uint32 { + range "0..65535"; + } + default "0"; + description + "LSP Identifier of the working LSP"; + } + } + container destination { + description + "Node identifier and optional global identifier + and tunnel identifier at destination"; + leaf node-id { + type inet:ipv4-address-no-zone; + description + "Node identifier in IPv4 address format"; + } + leaf global-id { + type uint32 { + range "1..65535"; + } + description + "Numeric global identifier"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + description + "Numeric tunnel identifier"; + } + } + container fault { + description + "Fault management"; + container protection-trigger { + description + "OAM events that trigger protection switching"; + leaf ldi { + type boolean; + description + "Enable protection switching due to LDI event"; + } + leaf ais { + type boolean; + description + "Enable protection switching due to AIS event"; + } + leaf lkr { + type boolean; + description + "Enable protection switching due to LKR event"; + } + } + leaf enable { + type empty; + description + "Enter transport profile tunnel fault + configuration"; + } + } + container protect-lsp { + description + "Protect LSP"; + container out-label { + presence "Indicates a out-label node is configured."; + description + "Outgoing MPLS label of the protect LSP"; + leaf label { + type uint32 { + range "16..1048575"; + } + description + "MPLS label"; + } + leaf link { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Transport profile identifier of outgoing link"; + } + } + leaf in-label { + type uint32 { + range "16..4015"; + } + description + "Incoming MPLS label of the protect LSP"; + } + leaf lockout { + type empty; + description + "Enable lockout of protect LSP"; + } + leaf lsp-id { + type uint32 { + range "0..65535"; + } + default "1"; + description + "LSP Identifier of the protect LSP"; + } + } + leaf source { + type inet:ipv4-address-no-zone; + description + "Transport profile node identifier in IPv4 + address format"; + } + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container mte-tunnel-attributes { + description + "MPLS P2MP tunnel attributes"; + container destination-leafs { + description + "P2MP destination table"; + list destination-leaf { + key "address"; + description + "P2MP destination leaf"; + container s2l-logging { + description + "Log tunnel destination s2l messages"; + leaf s2l-reroute-messsage { + type empty; + description + "Log tunnel destination s2l rereoute messages"; + } + leaf s2l-insufficient-bw-messsage { + type empty; + description + "Log tunnel destination s2l insufficient BW + messages"; + } + leaf s2l-pcalc-failure-message { + type empty; + description + "Enable logging for destination s2l + path-calculation failures"; + } + leaf s2l-state-message { + type empty; + description + "Log tunnel destination s2l state messages"; + } + } + container path-options { + description + "P2MP destination path-options attributes + table"; + list path-option { + key "preference-level"; + description + "P2MP destination path option"; + leaf preference-level { + type uint32 { + range "1..1000"; + } + description + "Preference level for this path option"; + } + leaf path-type { + type Mpls-te-path-option; + description + "The type of the path option"; + } + leaf path-id { + type uint32 { + range "1..65535"; + } + description + "The ID of the IP explicit path associated + with this option"; + } + leaf path-name { + type string; + description + "The name of the IP explicit path associated + with this option"; + } + leaf lockdown { + type Mpls-te-path-option-property; + description + "Path option properties"; + } + leaf verbatim { + type Mpls-te-path-option-property; + description + "Path option properties"; + } + } + } + leaf destination-disable { + type empty; + description + "Disables P2MP destination"; + } + leaf destination { + type empty; + description + "Always set to true"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Address of P2MP destination"; + } + } + } + container priority { + presence "Indicates a priority node is configured."; + description + "P2MP tunnel setup and hold priorities"; + leaf setup-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Setup Priority"; + } + leaf hold-priority { + type uint32 { + range "0..7"; + } + mandatory true; + description + "Hold Priority"; + } + } + container new-style-affinities { + description + "P2MP tunnel new style affinity attributes table"; + list new-style-affinity { + key "affinity-type affinity1 affinity2 affinity3 affinity4 affinity5 affinity6 affinity7 affinity8 affinity9 affinity10"; + description + "Tunnel new style affinity attribute"; + leaf affinity-type { + type Mpls-te-tunnel-affinity; + description + "The type of the affinity entry"; + } + leaf affinity1 { + type xr:Cisco-ios-xr-string; + description + "The name of the first affinity"; + } + leaf affinity2 { + type xr:Cisco-ios-xr-string; + description + "The name of the second affinity"; + } + leaf affinity3 { + type xr:Cisco-ios-xr-string; + description + "The name of the third affinity"; + } + leaf affinity4 { + type xr:Cisco-ios-xr-string; + description + "The name of the fourth affinity"; + } + leaf affinity5 { + type xr:Cisco-ios-xr-string; + description + "The name of the fifth affinity"; + } + leaf affinity6 { + type xr:Cisco-ios-xr-string; + description + "The name of the sixth affinity"; + } + leaf affinity7 { + type xr:Cisco-ios-xr-string; + description + "The name of the seventh affinity"; + } + leaf affinity8 { + type xr:Cisco-ios-xr-string; + description + "The name of the eighth affinity"; + } + leaf affinity9 { + type xr:Cisco-ios-xr-string; + description + "The name of the nineth affinity"; + } + leaf affinity10 { + type xr:Cisco-ios-xr-string; + description + "The name of the tenth affinity"; + } + } + } + container bandwidth { + description + "P2MP tunnel bandwidth requirement"; + leaf dste-type { + type Mpls-te-bandwidth-dste; + description + "DSTE-standard flag"; + } + leaf class-or-pool-type { + type uint32 { + range "0..1"; + } + description + "Class type for the bandwidth allocation"; + } + leaf bandwidth { + type uint32 { + range "0..4294967295"; + } + description + "The value of the bandwidth reserved by this + tunnel in kbps"; + } + } + container affinity-mask { + description + "P2MP tunnel affinity and mask"; + leaf affinity { + type xr:Hex-integer; + description + "Affinity flags"; + } + leaf mask { + type xr:Hex-integer; + description + "Affinity mask"; + } + } + leaf record-route { + type empty; + description + "Record route used by individual P2MP S2L(s)"; + } + leaf signalled-name { + type string { + length "1..254"; + } + description + "The name of the P2MP tunnel to be included in + signalling messages"; + } + leaf path-selection-metric { + type Mpls-te-path-selection-metric; + description + "Path selection configuration for this specific + tunnel"; + } + leaf signalled-payload { + type xr:Hex-integer; + description + "P2MP tunnel ipv6 signalled payload"; + } + leaf fast-reroute { + type empty; + description + "Specify P2MP tunnel can be fast-rerouted"; + } + leaf impose-explicit-null { + type empty; + description + "Impose an explicit null bellow the TE label"; + } + uses MPLS-MTE-TUNNEL-CFG-LOGGING; + } + } + augment "/a2:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-te-mib { + description + "MPLS TE MIB configuration"; + leaf cache-garbage-collect-timer { + type uint32 { + range "0..3600"; + } + units "second"; + default "1800"; + description + "Configure the cache garbage collector time for + the mib."; + } + uses CACHE-TIMER; + } + } + augment "/a2:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-p2mp-mib { + description + "MPLS P2MP MIB configuration"; + uses CACHE-TIMER; + } + } + augment "/a2:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-te-ext-std-mib { + description + "MPLS TE EXT STD MIB configuration"; + uses CACHE-TIMER; + } + } + augment "/a2:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-te-ext-mib { + description + "MPLS TE EXT MIB configuration"; + uses CACHE-TIMER; + } + } + augment "/a2:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-frr-mib { + description + "FRR MIB configuration"; + uses CACHE-TIMER; + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-te-p2mp { + description + "CISCO-MPLS-TE-P2MP-STD-MIB notification + configuration"; + leaf up { + type empty; + description + "Enable cmplsTeP2mpTunnelDestUp notification"; + } + leaf down { + type empty; + description + "Enable cmplsTeP2mpTunnelDestDown notification"; + } + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-te { + description + "MPLS-TE-STD-MIB notification configuration"; + container cisco-extension { + description + "CISCO-MPLS-TE-STD-EXT-MIB notification + configuration"; + leaf preempt { + type empty; + description + "Enable cmplsTunnelPreempt notification"; + } + leaf insufficient-bandwidth { + type empty; + description + "Enable cmplsTunnelInsuffBW notification"; + } + leaf re-route-pending-clear { + type empty; + description + "Enable cmplsTunnelReRoutePendingClear + notification"; + } + leaf bringup-fail { + type empty; + description + "Enable cmplsTunnelBringupFail notification"; + } + leaf re-route-pending { + type empty; + description + "Enable cmplsTunnelReRoutePending notification"; + } + } + leaf cisco { + type empty; + description + "Enable MPLS TE tunnel Cisco format (default + IETF) notification"; + } + leaf up { + type empty; + description + "Enable mplsTunnelUp notification"; + } + leaf reoptimize { + type empty; + description + "Enable mplsTunnelReoptimized notification"; + } + leaf reroute { + type empty; + description + "Enable mplsTunnelRerouted notification"; + } + leaf down { + type empty; + description + "Enable mplsTunnelDown notification"; + } + } + } + augment "/a2:snmp/a2:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-frr { + description + "CISCO-IETF-FRR-MIB notification configuration"; + leaf unprotected { + type empty; + description + "Enable cmplsFrrUnProtected notification"; + } + leaf enable { + type empty; + description + "Enable cmplsFrrMIB notifications"; + } + leaf protected { + type empty; + description + "Enable cmplsFrrProtected notification"; + } + } + } + container mpls-te { + description + "The root of MPLS TE configuration"; + container diff-serv-traffic-engineering { + description + "Configure Diff-Serv Traffic-Engineering"; + container classes { + description + "Configure Diff-Serv Traffic-Engineering Classes"; + list class { + key "class-number"; + description + "DSTE class number"; + leaf class-number { + type uint32 { + range "0..7"; + } + description + "DS-TE class number"; + } + leaf class-type { + when "../unused = 0" { + description + "../Unused = "; + } + type uint32 { + range "0..1"; + } + default "1"; + description + "Class type number"; + } + leaf class-priority { + when "../unused = 0" { + description + "../Unused = "; + } + type uint32 { + range "0..7"; + } + default "1"; + description + "Class-type priority"; + } + leaf unused { + type boolean; + description + "TRUE to skip classtype and class priority + provisioning FALSE to provision them"; + } + } + } + leaf bandwidth-constraint-model { + type Bandwidth-constraint; + description + "Diff-Serv Traffic-Engineering Bandwidth + Constraint Model"; + } + leaf mode-ietf { + type Ietf-mode; + description + "Diff-Serv Traffic-Engineering IETF mode"; + } + } + container named-tunnels { + description + "Configure MPLS TE tunnel"; + container tunnels { + description + "Configure MPLS TE tunnel"; + list tunnel { + key "tunnel-name tunnel-type"; + description + "Configure a MPLS TE tunnel"; + container tunnel-attributes { + description + "MPLS tunnel attributes"; + container path-setups { + description + "Tunnel path setup table"; + list path-setup { + key "path-setup-name"; + description + "Tunnel path setup"; + container path-computation { + presence "Indicates a path-computation node is configured."; + description + "Path computation method"; + leaf path-computation-method { + type Mpls-te-path-computation-method; + mandatory true; + description + "Path computation method"; + } + leaf explicit-path-name { + type string; + description + "Explicit Path Name"; + } + leaf path-computation-server { + type inet:ipv4-address-no-zone; + default "0.0.0.0"; + description + "Path Computation Server Address"; + } + } + leaf preference { + type int32; + description + "Path preference level"; + } + leaf enable { + type empty; + description + "Always set to true"; + } + leaf path-setup-name { + type xr:Cisco-ios-xr-string; + description + "Path Name"; + } + } + } + leaf shutdown { + type empty; + description + "shutdown the tunnel"; + } + uses FORWARD-CLASS; + uses TUNNEL-PATH-SELECTION; + uses AUTO-BANDWIDTH; + uses PRIORITY; + uses DESTINATION; + uses RECORD-ROUTE; + uses LOGGING; + uses BANDWIDTH; + uses AUTOROUTE; + uses PATH-SELECTION-METRIC; + uses NEW-STYLE-AFFINITY-TABLE; + uses SOFT-PREEMPTION; + uses FAST-REROUTE; + uses LOAD-SHARE; + } + container tunnel-id { + presence "Indicates a tunnel-id node is configured."; + description + "Set the tunnel ID"; + leaf tunnel-id-type { + type Mpls-te-tunnel-id; + mandatory true; + description + "Tunnel ID Type"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + description + "Tunnel ID"; + } + } + leaf enable { + type empty; + description + "Always set to true"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string { + length "1..59"; + } + description + "Tunnel name"; + } + leaf tunnel-type { + type Mpls-te-config-tunnel; + description + "Tunnel Type"; + } + } + } + leaf enable { + type empty; + description + "Enable Named Tunnels"; + } + } + container gmpls-uni { + description + "GMPLS-UNI configuration"; + container timers { + description + "GMPLS-UNI timer configuration"; + container path-option-timers { + description + "GMPLS-UNI path-option timer configuration"; + container holddown { + description + "GMPLS-UNI path-option holddown timer + configuration"; + leaf minimum { + type uint32 { + range "5..3600"; + } + units "second"; + description + "Minimum holddown (seconds)"; + } + leaf maximum { + type uint32 { + range "5..3600"; + } + units "second"; + description + "Maximum holddown (seconds)"; + } + } + } + } + container controllers { + description + "GMPLS-UNI controllers"; + list controller { + key "controller-name"; + description + "Configure a GMPLS controller"; + container announce { + description + "Announce discovered tunnel properties to + system"; + leaf srl-gs { + type empty; + description + "Enable announcement of discovered SRLGs"; + } + } + container controller-logging { + description + "Controller logging"; + leaf discovered-srlg-change-logging { + type empty; + description + "Enable logging of changes to of discovered + SRLGs"; + } + } + container gmpls-unitunnel-head { + description + "GMPLS-UNI tunnel-head properties"; + container path-options { + description + "Path-option configuration"; + list path-option { + key "preference-level"; + description + "A Path-option"; + leaf preference-level { + type uint32 { + range "1..1000"; + } + description + "Preference level for this path option"; + } + leaf path-type { + type Mpls-te-path-option; + mandatory true; + description + "The type of the path option"; + } + leaf path-id { + type uint32 { + range "1..65535"; + } + default "1"; + description + "The ID of the explicit path associated + with this option"; + } + leaf path-name { + type string; + description + "The name of the explicit path associated + with this option"; + } + leaf xro-type { + type Mpls-te-path-option-xro; + mandatory true; + description + "The route-exclusion type"; + } + leaf xro-attribute-set-name { + type Attribute-set-name-length; + description + "The name of the XRO attribute set to be + used for this path-option"; + } + leaf lockdown { + type Mpls-te-path-option-property; + mandatory true; + description + "Path option properties: must be Lockdown"; + } + leaf verbatim { + type Mpls-te-path-option-property; + default "none"; + description + "Path option properties: must be verbatim + if set"; + } + leaf signaled-label { + type Mpls-te-signaled-label; + default "not-set"; + description + "Signaled label type"; + } + leaf dwdm-channel { + type uint32 { + range "1..89"; + } + default "1"; + description + "DWDM channel number"; + } + } + } + container recording { + description + "Tunnel property recording"; + leaf srlg { + type empty; + description + "Enable SRLG-recording during signaling"; + } + } + container logging { + description + "Tunnel event logging"; + uses STATE-MESSAGE; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + description + "GMPLS-UNI head tunnel-id"; + } + leaf enable { + type empty; + description + "Set link as a GMPLS tunnel head"; + } + leaf destination { + type inet:ipv4-address-no-zone; + description + "Set the destination of the tunnel"; + } + uses PRIORITY; + uses RECORD-ROUTE; + uses SIGNALLED-NAME; + } + leaf enable { + type empty; + description + "Enable GMPLS-UNI on the link"; + } + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + } + } + } + container global-attributes { + description + "Configure MPLS TE global attributes"; + container auto-tunnel { + description + "Configure auto-tunnels feature"; + container pcc { + description + "Configure auto-tunnel PCC (Path Computation + Client) feature"; + uses TUNNEL-RANGE; + } + container p2p-auto-tunnel { + description + "Configure P2P auto-tunnel feature"; + uses TUNNEL-RANGE; + } + container backup { + description + "Configure auto-tunnel backup feature"; + leaf affinity-ignore { + type empty; + description + "Ignore affinity during CSPF for auto backup + tunnels"; + } + uses TIMERS; + uses TUNNEL-RANGE; + } + container mesh { + description + "Configure auto-tunnel mesh feature"; + container mesh-groups { + description + "Configure auto-tunnel mesh group"; + list mesh-group { + key "mesh-group-id"; + description + "Auto-mesh group identifier"; + leaf destination-list { + type Destination-list-name-length; + description + "The name of prefix-list to be applied to + this destination-list"; + } + leaf disable { + type empty; + description + "Disables mesh group"; + } + leaf attribute-set { + type Attribute-set-name-length; + description + "The name of auto-mesh attribute set to be + applied to this group"; + } + leaf create { + type empty; + description + "Auto-mesh group enable object that controls + whether this group is configured or not + .This object must be set before other + configuration supplied for this group"; + } + leaf one-hop { + type empty; + description + "Automatically create tunnel to all + next-hops"; + } + leaf mesh-group-id { + type Mesh-group-id; + description + "Mesh group ID"; + } + } + } + uses TIMERS; + uses TUNNEL-RANGE; + } + container p2mp-auto-tunnel { + description + "Configure P2MP auto-tunnel feature"; + uses TUNNEL-RANGE; + } + } + container hardware-out-of-resource { + description + "Configure HW OOR processing in MPLS-TE"; + container oor-red-state { + description + "Configuration for HW OOR Red State"; + uses OOR-NODE-PROTECTION-DISABLE; + uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; + uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; + uses OOR-ACCEPT-REOPT-LSP; + uses OOR-METRIC-TE-PENALTY; + } + container oor-yellow-state { + description + "Configuration for HW OOR Yellow State"; + uses OOR-NODE-PROTECTION-DISABLE; + uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; + uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; + uses OOR-ACCEPT-REOPT-LSP; + uses OOR-METRIC-TE-PENALTY; + } + container oor-green-state { + description + "Configuration for HW OOR Green State"; + leaf oor-recovery-duration { + type uint32 { + range "0..10080"; + } + units "minute"; + default "0"; + description + "Period of time (minutes) during which the + action in Green state are applied. After this + period, the processing in TE goes back to + normal state"; + } + uses OOR-NODE-PROTECTION-DISABLE; + uses OOR-AVAILABLE-BANDWIDTH-PERCENTAGE; + uses OOR-ACCEPT-LSP-MIN-BANDWIDTH; + uses OOR-ACCEPT-REOPT-LSP; + uses OOR-METRIC-TE-PENALTY; + } + } + container secondary-router-ids { + description + "Configure MPLS TE Secondary Router ID"; + list secondary-router-id { + key "secondary-router-id-value"; + description + "Secondary Router ID"; + leaf secondary-router-id-value { + type inet:ipv4-address-no-zone; + description + "Secondary TE Router ID"; + } + } + } + container srlg { + description + "Configure SRLG values and MPLS-TE properties"; + container names { + description + "Configure SRLG identified by names"; + list name { + key "srlg-name"; + description + "SRLG name and its MPLS-TE properties"; + container static-srlg-members { + description + "Configure static SRLG members list"; + list static-srlg-member { + key "from-address"; + description + "A mapping of the local static SRLG member"; + leaf from-address { + type inet:ipv4-address-no-zone; + description + "From address"; + } + leaf to-address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "To Addres"; + } + } + } + leaf admin-weight { + type int32; + description + "Administrative weight for the SRLG value"; + } + leaf srlg-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "SRLG membership name"; + } + } + } + leaf default-admin-weight { + type int32; + default "1"; + description + "Default Admin weight any SRLG value that does + not have one"; + } + leaf enable { + type empty; + description + "Enter SRLG property configuration"; + } + } + container queues { + description + "Configure MPLS TE route priority"; + list queue { + key "role"; + description + "Configure route priority queue value"; + leaf role { + type Route-priority-role; + description + "Route Priority Tunnel Role"; + } + leaf value { + type uint32 { + range "0..12"; + } + mandatory true; + description + "Route priority queue value"; + } + } + } + container mib { + description + "MPLS-TE MIB properties"; + leaf midpoint-lsp-stats-collection-disable { + type empty; + description + "Disables mib midpoint LSP traffic stats + collection"; + } + } + container attribute-set { + description + "Attribute AttributeSets"; + container path-option-attributes { + description + "Path Option Attribute-Set Table"; + list path-option-attribute { + key "attribute-set-name"; + description + "Path Option Attribute"; + container bfd-reverse-path { + presence "Indicates a bfd-reverse-path node is configured."; + description + "Configure BFD reverse path"; + leaf bfd-reverse-path-type { + type Bfd-reverse-path; + description + "BFD reverse path type"; + } + leaf binding-label { + type uint32 { + range "0..1048575"; + } + mandatory true; + description + "BFD reverse path binding label"; + } + } + container att-path-option-path-selection { + description + "Configure path selection properties"; + leaf path-selection-exclude-list { + type string { + length "1..64"; + } + description + "Path selection exclude list name + configuration"; + } + uses ENABLE; + uses INVALIDATION; + uses PATH-SELECTION-COST-LIMIT; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses PCE; + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses AFFINITY-MASK; + uses BANDWIDTH; + uses NEW-STYLE-AFFINITY-TABLE; + } + } + container p2mpte-attributes { + description + "P2MP-TE Tunnel AttributeSets Table"; + list p2mpte-attribute { + key "attribute-set-name"; + description + "P2MP-TE Tunnel Attribute"; + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses INTERFACE-BANDWIDTH; + uses PRIORITY; + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses RECORD-ROUTE; + uses AFFINITY-MASK; + uses BANDWIDTH; + uses PATH-SELECTION; + uses NEW-STYLE-AFFINITY-TABLE; + uses FAST-REROUTE; + uses MPLS-MTE-TUNNEL-CFG-LOGGING; + } + } + container p2p-te-attributes { + description + "P2P-TE Tunnel AttributeSets Table"; + list p2p-te-attribute { + key "attribute-set-name"; + description + "P2P-TE Tunnel Attribute"; + container path-selection { + description + "Configure path selection properties"; + container segment-routing-prepend { + description + "Path selection segment routing prepend + configuration"; + container indexes { + description + "Segment routing prepend index table"; + list index { + key "index-number"; + description + "Prepend index information"; + leaf index-number { + type uint32 { + range "1..10"; + } + description + "Index number"; + } + leaf prepend-type { + type Sr-prepend; + default "none-type"; + description + "Prepend type"; + } + leaf mpls-label { + type int32; + default "1048577"; + description + "MPLS Label"; + } + } + } + leaf enable { + type empty; + description + "Enter path selection segment routing + prepend submode"; + } + } + container invalidation { + description + "Path selection invalidation configuration"; + leaf invalidation-timer { + type uint32 { + range "0..60000"; + } + units "millisecond"; + description + "Path selection invalidation timer value + (milliseconds)"; + } + leaf invalidation-timer-expire-type { + type Mpls-te-path-selection-invalidation-timer-expire; + default "tunnel-action-tear"; + description + "Path selection invalidation timer expire + type"; + } + } + leaf path-selection-metric { + type Mpls-te-path-selection-metric; + description + "Path selection metric to use in path + calculation"; + } + leaf path-selection-segment-routing-adjacency-protection { + type Mpls-te-path-selection-segment-routing-adjacency-protection; + description + "Segment routing adjacency protection type + to use in path calculation"; + } + uses ENABLE; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses PCE; + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses AFFINITY-MASK; + uses LOGGING; + uses NEW-STYLE-AFFINITY-TABLE; + } + } + container auto-backup-attributes { + description + "Auto-backup Tunnel Attribute Table"; + list auto-backup-attribute { + key "attribute-set-name"; + description + "Auto-backup Tunnel Attribute"; + container signalled-name { + description + "Signalled name"; + leaf name { + type string; + description + "Signalled name"; + } + leaf source-type { + type Mpls-te-sig-name-option; + description + "Source address or name"; + } + leaf protected-interface-type { + type Mpls-te-sig-name-option; + description + "Protected-interface address or name"; + } + leaf mp-address { + type boolean; + description + "Set if merge-point address is to be + appended"; + } + } + container auto-backup-logging { + description + "Log tunnel LSP messages"; + uses BANDWIDTH-CHANGE-MESSAGE; + uses REOPTIMIZE-ATTEMPTS-MESSAGE; + uses STATE-MESSAGE; + uses REOPTIMIZED-MESSAGE; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses PRIORITY; + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses RECORD-ROUTE; + uses AFFINITY-MASK; + uses PATH-SELECTION; + uses POLICY-CLASSES; + uses NEW-STYLE-AFFINITY-TABLE; + } + } + container otn-pp-attributes { + description + "OTN Path Protection Attributes table"; + list otn-pp-attribute { + key "attribute-set-name"; + description + "OTN Path Protection Attribute"; + container revert-schedule-names { + description + "Specify APS revert schedule"; + list revert-schedule-name { + key "schedule-name"; + description + "Name Identifier for revert schedule"; + container schedule-duration { + presence "Indicates a schedule-duration node is configured."; + description + "Set duration in format hh:mm"; + leaf hour { + type uint32 { + range "0..167"; + } + mandatory true; + description + "Hour of day"; + } + leaf minutes { + type uint32 { + range "0..59"; + } + mandatory true; + description + "Minute of the hour"; + } + } + container schedule-date { + presence "Indicates a schedule-date node is configured."; + description + "Set date in format hh:mm MMM DD YYYY"; + leaf hour { + type uint32 { + range "0..23"; + } + mandatory true; + description + "Hour of day"; + } + leaf minutes { + type uint32 { + range "0..59"; + } + mandatory true; + description + "Minute of the hour"; + } + leaf month { + type uint32 { + range "0..11"; + } + mandatory true; + description + "Month of the year"; + } + leaf day { + type uint32 { + range "1..31"; + } + mandatory true; + description + "Day of the month"; + } + leaf year { + type uint32 { + range "2015..2035"; + } + mandatory true; + description + "Year"; + } + } + leaf revert-schedule-max-tries { + type uint32 { + range "1..2016"; + } + description + "Revert Schedule Max tries"; + } + leaf sch-name-enable { + type empty; + description + "Schedule name enable object"; + } + leaf revert-schedule-frequency { + type uint32 { + range "1..3"; + } + description + "Frequency set as Once, Daily, Weekly"; + } + leaf schedule-name { + type xr:Cisco-ios-xr-string { + length "1..254"; + } + description + "Enter 64 characters for revert schedule + name"; + } + } + } + container sub-network-connection-mode { + description + "Sub-network connection mode"; + leaf connection-mode { + type Mpls-te-otn-snc-mode; + description + "The sub-network connection mode"; + } + leaf connection-monitoring-mode { + type uint32 { + range "1..6"; + } + description + "Tandem Connection Monitoring ID for the + interface"; + } + } + container timers { + description + "Timers"; + leaf aps-wait-to-restore { + type uint32 { + range "0..720"; + } + units "second"; + description + "G.709 OTN path protection wait to restore + timer in seconds"; + } + leaf aps-hold-off { + type uint32 { + range "100..10000"; + } + units "millisecond"; + description + "G.709 OTN path protection hold-off timer in + milliseconds"; + } + } + leaf aps-protection-mode { + type Mpls-te-otn-aps-protection-mode; + description + "The APS protecion mode"; + } + leaf aps-restoration-style { + type Mpls-te-otn-aps-restoration-style; + description + "The APS restoration style"; + } + leaf aps-protection-type { + type Mpls-te-otn-aps-protection; + description + "The APS protecion type"; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses PATH-SELECTION; + } + } + container auto-mesh-attributes { + description + "Auto-mesh Tunnel AttributeSets Table"; + list auto-mesh-attribute { + key "attribute-set-name"; + description + "Auto-mesh Tunnel Attribute"; + container auto-mesh-logging { + description + "Log tunnel LSP messages"; + uses BANDWIDTH-CHANGE-MESSAGE; + uses REOPTIMIZE-ATTEMPTS-MESSAGE; + uses REROUTE-MESSSAGE; + uses STATE-MESSAGE; + uses INSUFFICIENT-BW-MESSAGE; + uses REOPTIMIZED-MESSAGE; + uses PCALC-FAILURE-MESSAGE; + } + leaf autoroute-announce { + type empty; + description + "Enable autoroute announce"; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses INTERFACE-BANDWIDTH; + uses FORWARD-CLASS; + uses PRIORITY; + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses RECORD-ROUTE; + uses AFFINITY-MASK; + uses BANDWIDTH; + uses PATH-SELECTION; + uses COLLECTION-ONLY; + uses POLICY-CLASSES; + uses NEW-STYLE-AFFINITY-TABLE; + uses SOFT-PREEMPTION; + uses FAST-REROUTE; + uses LOAD-SHARE; + } + } + container xro-attributes { + description + "XRO Tunnel Attributes table"; + list xro-attribute { + key "attribute-set-name"; + description + "XRO Attribute"; + container path-diversity { + description + "Path diversity"; + container srlgs { + description + "SRLG-based path diversity"; + list srlg { + key "srlg"; + description + "SRLG-based path-diversity element"; + leaf srlg { + type uint32 { + range "0..4294967295"; + } + description + "SRLG"; + } + leaf conformance { + type Mpls-te-path-diversity-conformance; + mandatory true; + description + "The diversity conformance requirements"; + } + } + } + container lsp { + description + "LSP-based path diversity"; + container fecs { + description + "FEC LSP-based path diversity"; + list fec { + key "source destination tunnel-id extended-tunnel-id lsp-id"; + description + "LSP-based path-diversity, referenced by + FEC"; + leaf source { + type inet:ipv4-address-no-zone; + description + "Source address"; + } + leaf destination { + type inet:ipv4-address-no-zone; + description + "Destination address"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + description + "Tunnel id"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended tunnel-id"; + } + leaf lsp-id { + type uint32 { + range "0..65535"; + } + description + "LSP id"; + } + leaf conformance { + type Mpls-te-path-diversity-conformance; + mandatory true; + description + "The diversity conformance requirements"; + } + } + } + } + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses MPLS-TE-ATTR-SET-CFG-ENABLE; + uses PATH-SELECTION; + } + } + } + container bfd-over-lsp { + description + "BFD over MPLS TE Global Configurations"; + container tail { + description + "BFD over LSP Tail Global Configurations"; + leaf multiplier { + type uint32 { + range "3..10"; + } + description + "Specify BFD over LSP tail multiplier"; + } + leaf minimum-interval { + type uint32 { + range "50..30000"; + } + description + "Specify BFD over LSP tail minimum interval"; + } + } + container head { + description + "BFD over LSP Head Global Configurations"; + leaf reopt-timeout { + type uint32 { + range "120..4294967295"; + } + description + "BFD session down reopt timeout"; + } + leaf down-action { + type Mpls-te-bfd-session-down-action; + description + "Specify BFD session down action"; + } + } + } + container bandwidth-accounting { + description + "Bandwidth accounting configuration data"; + container application { + description + "Bandwidth accounting application configuration + data"; + leaf application-enforced { + type boolean; + default "false"; + description + "This object enables the application"; + } + leaf application-interval { + type uint32 { + range "90..1800"; + } + units "second"; + default "180"; + description + "This object sets the application interval in + seconds for bandwidth accounting. Default to + 180 seconds."; + } + } + container account-flooding-threshold { + description + "This object sets the flooding threshold as + percentage of total link bandwidth for + bandwidth accounting. Default to 10%, 10%"; + leaf up-threshold { + type Mpls-percent-range; + units "percentage"; + default "10"; + description + "Upward flooding Threshold in percentages of + total bandwidth"; + } + leaf down-threshold { + type Mpls-percent-range; + units "percentage"; + default "10"; + description + "Downward flooding Threshold in percentages of + total bandwidth"; + } + } + leaf sampling-interval { + type uint32 { + range "30..600"; + } + units "second"; + default "60"; + description + "This object sets the sampling interval in + seconds for bandwidth accounting. Default to + 60 seconds."; + } + leaf adjustment-factor { + type uint32 { + range "0..200"; + } + units "percentage"; + default "100"; + description + "This object sets the percentage adjustment + factor for the non RSVP-TE bandwidth + accounting. Default is 100%."; + } + leaf collection-type-rsvp-te { + type boolean; + default "false"; + description + "This object enables the bandwidth accounting + RSVP-TE sample collection."; + } + leaf enable { + type empty; + description + "This object controls whether BW accounting is + enabled. This object must be set before + setting any other objects under the + BandwidthAccounting class."; + } + } + container pce-attributes { + description + "Configuration MPLS TE PCE attributes"; + container pce-stateful { + description + "PCE Stateful"; + container stateful-timers { + description + "Configure Stateful PCE (Path Computation + Element) timers"; + leaf redelegation-timeout { + type uint32 { + range "0..3600"; + } + units "second"; + default "180"; + description + "Timer for static tunnel redelegation in + seconds, default is 180 seconds"; + } + leaf state-timeout { + type uint32 { + range "0..3600"; + } + units "second"; + default "180"; + description + "State timeout for LSPs without delegation in + seconds, zero means immediate removal, + default is 180 seconds"; + } + } + leaf fast-repair { + type empty; + description + "Enable reoptimization by PCC after path + failures"; + } + leaf instantiation { + type empty; + description + "PCE stateful instantiation capability"; + } + leaf cisco-extension { + type empty; + description + "Enable processing of PCEP Cisco extension"; + } + leaf delegation { + type empty; + description + "Delegate all statically configured tunnels"; + } + leaf report { + type empty; + description + "Report all statically configured tunnels"; + } + leaf enable { + type empty; + description + "PCE stateful capability"; + } + } + container timer { + description + "Configure PCE (Path Computation Element) + timers"; + } + container peers { + description + "Configure PCE peers"; + list peer { + key "pce-peer-address"; + description + "PCE peer"; + leaf enable { + type empty; + description + "Enabled PCE peer (default source address + uses local)"; + } + leaf pce-peer-address { + type inet:ipv4-address-no-zone; + description + "Address of PCE Peer"; + } + uses PASSWORD; + uses KEYCHAIN; + uses PRECEDENCE; + } + } + container logging { + description + "Configure PCE (Path Computation Element) + logging feature"; + container events { + description + "Configure logging events"; + leaf peer-status { + type empty; + description + "Peer status changes logging"; + } + } + } + leaf request-timeout { + type uint32 { + range "5..100"; + } + units "second"; + default "10"; + description + "Request timeout value in seconds"; + } + leaf reoptimize-period { + type uint32 { + range "60..604800"; + } + units "second"; + default "60"; + description + "PCE reoptimization period for PCE-based paths"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "Address of this PCE"; + } + leaf deadtimer { + type uint32 { + range "0..255"; + } + units "second"; + default "120"; + description + "Deadtimer interval in seconds"; + } + leaf keepalive { + type uint32 { + range "0..255"; + } + units "second"; + default "30"; + description + "Keepalive interval in seconds"; + } + leaf keepalive-tolerance { + type uint32 { + range "0..255"; + } + units "second"; + default "10"; + description + "Keepalive interval tolerance in seconds"; + } + leaf peer-source-addr { + type inet:ipv4-address-no-zone; + description + "PCE Peer Source Address"; + } + leaf speaker-entity-id { + type string { + length "1..256"; + } + description + "PCE speaker entity identifier"; + } + leaf segment-routing { + type empty; + description + "PCE segment routing capability"; + } + uses PASSWORD; + uses KEYCHAIN; + uses PRECEDENCE; + } + container lsp-out-of-resource { + description + "Configure LSP OOR attributes in MPLS-TE"; + container lsp-oor-red-state { + description + "Configuration for LSP OOR Red/Major State"; + uses ALL-TRANSIT-LSP-THRESHOLD; + uses UNPROTECTED-TRANSIT-LSP-THRESHOLD; + } + container lsp-oor-yellow-state { + description + "Configuration for LSP OOR Yellow/Minor State"; + uses ALL-TRANSIT-LSP-THRESHOLD; + uses UNPROTECTED-TRANSIT-LSP-THRESHOLD; + } + } + container soft-preemption { + description + "Soft preemption configuration data"; + leaf timeout { + type uint32 { + range "1..300"; + } + units "second"; + default "60"; + description + "This object sets the timeout in seconds before + hard preemption is triggered."; + } + leaf frr-rewrite { + type empty; + description + "This object controls whether FRR rewrite + during soft preemption is enabled."; + } + leaf enable { + type boolean; + description + "This object controls whether soft preemption + is enabled. This object must be set before + setting any other objects under the + SoftPreemption class."; + } + } + container fast-reroute { + description + "Configure fast reroute attributes"; + container timers { + description + "Configure fast reroute timers"; + leaf hold-backup { + type uint32 { + range "0..604800"; + } + units "second"; + description + "Seconds before backup declared UP (0 disables + hold-timer)"; + } + leaf promotion { + type uint32 { + range "0..604800"; + } + units "second"; + description + "The value of the promotion timer in seconds"; + } + } + } + container path-selection { + description + "Path selection configuration"; + container loose-metrics { + description + "Path selection Loose ERO Metric Class + configuration"; + list loose-metric { + key "class-type"; + description + "Path selection Loose ERO Metric configuration"; + leaf class-type { + type uint32 { + range "0..7"; + } + description + "Path Selection class Type"; + } + leaf metric-type { + type Mpls-te-path-selection-metric; + mandatory true; + description + "Metric to use for ERO Expansion"; + } + } + } + container invalidation { + description + "Path invalidation configuration for all + tunnels"; + leaf path-invalidation-timeout { + type uint32 { + range "0..60000"; + } + description + "Path Invalidation Timeout"; + } + leaf path-invalidation-action { + type Path-invalidation-action; + description + "Path Invalidation Action"; + } + } + container ignore-overload-role { + description + "Path selection to ignore overload node during + CSPF"; + leaf head { + type boolean; + description + "Set if the OL-bit is to be applied to tunnel + heads"; + } + leaf mid { + type boolean; + description + "Set if the OL-bit is to be applied to tunnel + midpoints"; + } + leaf tail { + type boolean; + description + "Set if the OL-bit is to be applied to tunnel + tails"; + } + } + container loose-affinities { + description + "Path selection Loose ERO Affinity Class + configuration"; + list loose-affinity { + key "class-type"; + description + "Path selection Loose ERO Affinity + configuration"; + leaf class-type { + type uint32 { + range "0..7"; + } + description + "Path Selection class Type"; + } + leaf affinity { + type xr:Hex-integer; + description + "Affinity flags"; + } + leaf mask { + type xr:Hex-integer; + description + "Affinity mask"; + } + } + } + leaf cost-limit { + type uint32 { + range "1..4294967295"; + } + description + "Path selection cost limit configuration for + all tunnels"; + } + leaf tiebreaker { + type Mpls-te-path-selection-tiebreaker; + description + "CSPF tiebreaker to use in path calculation"; + } + leaf metric { + type Mpls-te-path-selection-metric; + description + "Metric to use in path calculation"; + } + leaf loose-domain-match { + type boolean; + description + "Use only the IGP instance of the incoming + interface"; + } + } + container affinity-mappings { + description + "Affinity Mapping Table configuration"; + list affinity-mapping { + key "affinity-name"; + description + "Affinity Mapping configuration"; + leaf affinity-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Affinity Name"; + } + leaf value-type { + type Mpls-te-affinity-value; + description + "Affinity value type"; + } + leaf value { + type xr:Hex-integer; + description + "Affinity Value in Hex number or by Bit + position"; + } + } + } + leaf log-nsr-status { + type empty; + description + "Log NSR status messages"; + } + leaf log-issu-status { + type empty; + description + "Log ISSU status messages"; + } + leaf reoptimize-link-up { + type empty; + description + "Enable reoptimization based on link-up events"; + } + leaf reoptimize-delay-cleanup-timer { + type uint32 { + range "0..300"; + } + units "second"; + description + "Reoptimization Delay Cleanup Value (seconds)"; + } + leaf disable-reoptimize-affinity-failure { + type empty; + description + "Disable reoptimization after affinity failures"; + } + leaf maximum-tunnels { + type uint32 { + range "1..65536"; + } + default "4096"; + description + "The maximum number of tunnel heads that will be + allowed."; + } + leaf link-holddown-timer { + type uint32 { + range "0..300"; + } + units "second"; + default "10"; + description + "Holddown time for links which had Path Errors + in seconds"; + } + leaf fault-oam { + type empty; + description + "Enable Fault-OAM functionality for + bidirectional tunnels"; + } + leaf enable-unequal-load-balancing { + type empty; + description + "Enable unequal load-balancing over tunnels to + the same destination"; + } + leaf log-tail { + type empty; + description + "Log all tail tunnel events"; + } + leaf reoptimize-delay-after-frr-timer { + type uint32 { + range "0..120"; + } + units "second"; + description + "Reoptimization Delay After FRR Value (seconds)"; + } + leaf auto-bandwidth-collect-frequency { + type uint32 { + range "1..10080"; + } + units "minute"; + default "5"; + description + "Auto-bandwidth global collection frequency in + minutes"; + } + leaf reopt-delay-path-protect-switchover-timer { + type uint32 { + range "0..604800"; + } + units "second"; + default "180"; + description + "Seconds between path protect switchover and + tunnel re-optimization. Set to 0 to disable"; + } + leaf log-all { + type empty; + description + "Always set to true"; + } + leaf loose-path-retry-period { + type uint32 { + range "30..600"; + } + default "120"; + description + "Signalling retry for tunnels terminating + outside the headend area"; + } + leaf reoptimize-load-balancing { + type empty; + description + "Load balance bandwidth during reoptimization"; + } + leaf log-head { + type empty; + description + "Log all head tunnel events"; + } + leaf path-selection-ignore-overload { + type empty; + description + "Deprecated - do not use"; + } + leaf graceful-preemption-on-bandwidth-reduction { + type empty; + description + "Enable graceful preemption when there is a + bandwidth reduction"; + } + leaf advertise-explicit-nulls { + type empty; + description + "Enable explicit-null advertising to PHOP"; + } + leaf reoptimize-delay-install-timer { + type uint32 { + range "0..3600"; + } + units "second"; + description + "Reoptimization Delay Install Value (seconds)"; + } + leaf reoptimize-delay-after-affinity-failure-timer { + type uint32 { + range "1..604800"; + } + units "second"; + description + "Delay reoptimizing current LSP after affinity + failures"; + } + leaf log-frr-protection { + type Mpls-te-log-frr-protection; + description + "Log FRR Protection messages"; + } + leaf reoptimize-timer-frequency { + type uint32 { + range "0..604800"; + } + units "second"; + default "3600"; + description + "Reoptimize timers period in seconds"; + } + leaf log-mid { + type empty; + description + "Log all mid tunnel events"; + } + leaf log-preemption { + type empty; + description + "Log tunnel preemption messages"; + } + } + container transport-profile { + description + "MPLS transport profile configuration data"; + container fault { + description + "Fault management"; + container protection-trigger { + description + "OAM events that trigger protection switching"; + container ldi { + description + "Protection switching due to LDI event"; + leaf disable { + type empty; + description + "Disable protection switching due to LDI + event"; + } + } + container lkr { + description + "Protection switching due to LKR event"; + leaf disable { + type empty; + description + "Disable protection switching due to LKR + event"; + } + } + leaf ais { + type empty; + description + "Enable protection switching due to AIS event"; + } + } + leaf wait-to-restore-interval { + type uint32 { + range "0..2147483647"; + } + units "second"; + default "0"; + description + "Waiting time before restoring working LSP"; + } + leaf refresh-interval { + type uint32 { + range "1..20"; + } + units "second"; + default "20"; + description + "Periodic refresh interval for fault OAM + messages"; + } + } + container alarm { + description + "Alarm management"; + container suppress-event { + description + "Suppress all tunnel/LSP alarms"; + leaf disable { + type empty; + description + "Disable alarm suppression"; + } + } + leaf soak-time { + type uint32 { + range "0..10"; + } + units "second"; + default "3"; + description + "Duration of soaking alarms"; + } + leaf enable-alarm { + type empty; + description + "Enable Transport Profile Alarm"; + } + } + container bfd { + description + "Configure BFD parameters"; + container min-interval-standby { + description + "Hello interval for standby transport profile + LSPs, either in milli-seconds or in + micro-seconds"; + leaf interval-standby-ms { + type uint32 { + range "3..5000"; + } + units "millisecond"; + description + "Hello interval in milli-seconds"; + } + leaf interval-standby-us { + type uint32 { + range "3000..5000000"; + } + units "microsecond"; + description + "Hello interval in micro-seconds"; + } + } + container min-interval { + description + "Hello interval, either in milli-seconds or in + micro-seconds"; + leaf interval-ms { + type uint32 { + range "3..5000"; + } + units "millisecond"; + description + "Hello interval in milli-seconds"; + } + leaf interval-us { + type uint32 { + range "3000..5000000"; + } + units "microsecond"; + description + "Hello interval in micro-seconds"; + } + } + leaf detection-multiplier-standby { + type uint32 { + range "2..10"; + } + description + "Detect multiplier for standby transport + profile LSP"; + } + leaf detection-multiplier { + type uint32 { + range "2..10"; + } + description + "Detect multiplier"; + } + } + container midpoints { + description + "MPLS-TP tunnel mid-point table"; + list midpoint { + key "midpoint-name"; + description + "Transport profile mid-point identifier"; + container source { + presence "Indicates a source node is configured."; + description + "Node identifier, tunnel identifier and + optional global identifier of the source of + the LSP"; + leaf node-id { + type inet:ipv4-address-no-zone; + description + "Node identifier in IPv4 address format"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "Tunnel identifier in numeric value"; + } + leaf global-id { + type uint32 { + range "1..65535"; + } + description + "Global identifier in numeric value"; + } + } + container destination { + presence "Indicates a destination node is configured."; + description + "Node identifier, tunnel identifier and + optional global identifier of the destination + of the LSP"; + leaf node-id { + type inet:ipv4-address-no-zone; + description + "Node identifier in IPv4 address format"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "Tunnel identifier in numeric value"; + } + leaf global-id { + type uint32 { + range "1..65535"; + } + description + "Global identifier in numeric value"; + } + } + container forward-lsp { + description + "Forward transport profile LSP"; + container forward-io-map { + presence "Indicates a forward-io-map node is configured."; + description + "Label cross-connect of forward transport + profile LSP"; + leaf in-label { + type uint32 { + range "16..4015"; + } + description + "MPLS label"; + } + leaf out-label { + type uint32 { + range "16..1048575"; + } + mandatory true; + description + "Outgoing MPLS label"; + } + leaf out-link { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Transport profile identifier of outgoing + link"; + } + } + leaf forward-bandwidth { + type uint32 { + range "0..4294967295"; + } + units "kbit/s"; + description + "Bandwidth of forward transport profile LSP"; + } + } + container reverse-lsp { + description + "none"; + container reverse-io-map { + presence "Indicates a reverse-io-map node is configured."; + description + "Label cross-connect of reverse transport + profile LSP"; + leaf in-label { + type uint32 { + range "16..4015"; + } + description + "MPLS label"; + } + leaf out-label { + type uint32 { + range "16..1048575"; + } + mandatory true; + description + "Outgoing MPLS label"; + } + leaf out-link { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Transport profile identifier of outgoing + link"; + } + } + leaf reverse-bandwidth { + type uint32 { + range "0..4294967295"; + } + units "kbit/s"; + description + "Bandwidth of reverse transport profile LSP"; + } + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf lsp-protect { + type empty; + description + "Enable LSP protection"; + } + leaf lsp-id { + type uint32 { + range "0..65535"; + } + description + "Numeric identifier"; + } + leaf midpoint-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Name of mid-point"; + } + } + } + leaf global-id { + type uint32 { + range "1..65535"; + } + description + "Transport profile global identifier"; + } + leaf node-id { + type inet:ipv4-address-no-zone; + description + "Node identifier in IPv4 address format"; + } + } + container interfaces { + description + "Configure MPLS TE interfaces"; + list interface { + key "interface-name"; + description + "Configure an MPLS TE interface"; + container transport-profile-link { + description + "MPLS transport profile capable link"; + container links { + description + "Transport profile link table"; + list link { + key "link-id"; + description + "Transport profile link"; + leaf link-id { + type uint32 { + range "1..65535"; + } + description + "Numeric link identifier"; + } + leaf next-hop-type { + type Link-next-hop; + default "ipv4-address"; + description + "Next hop type"; + } + leaf next-hop-address { + when "../next-hop-type = 'ipv4-address'" { + description + "../NextHopType = IPV4Address"; + } + type inet:ipv4-address-no-zone; + description + "Next-hop address in IPv4 format"; + } + } + } + } + container lcac { + description + "LCAC specific MPLS interface configuration"; + container switchings { + description + "Set the te-link switching attributes"; + list switching { + key "switching-id"; + description + "The te-link switching attributes"; + leaf encoding { + type Mpls-te-switching-encoding; + description + "Set the local encoding type"; + } + leaf capability { + type Mpls-te-switching-cap; + description + "Set the local switching capability"; + } + leaf switching-id { + type Mpls-te-switching-index; + description + "Switching index"; + } + } + } + container flood-area { + description + "Set the IGP instance into which this + interface is to be flooded (GMPLS only)"; + leaf igp-type { + type Mpls-lcac-flooding-igp; + description + "IGP type"; + } + leaf process-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Process name"; + } + leaf area-id { + type int32; + description + "Area ID"; + } + } + container attribute-name-xr { + description + "Set the interface attribute names"; + leaf-list attribute-name { + type string; + max-elements "32"; + description + "Array of Attribute Names"; + } + } + container attribute-names { + description + "Attribute name table"; + list attribute-name { + key "affinity-index"; + description + "Set the interface attribute names"; + leaf affinity-index { + type uint32 { + range "1..9"; + } + description + "Specify the entry index"; + } + leaf-list value { + type string; + min-elements 1; + max-elements "32"; + description + "Array of Attribute Names"; + } + } + } + container srlgs { + description + "Configure SRLG membership for the interface"; + list srlg { + key "srlg-number"; + description + "SRLG membership number"; + leaf srlg-number { + type uint32 { + range "0..4294967295"; + } + description + "SRLG membership number"; + } + } + } + container up-thresholds { + description + "Set thresholds for increased resource + availability in %"; + leaf-list up-threshold { + type Mpls-lcac-flooding-threshold-percent-range; + units "percentage"; + max-elements "14"; + description + "Array of up threshold percentage"; + } + } + container down-thresholds { + description + "Set thresholds for decreased resource + availability in %"; + leaf-list down-threshold { + type Mpls-lcac-flooding-threshold-percent-range; + units "percentage"; + max-elements "14"; + description + "Array of down threshold percentage"; + } + } + leaf bfd { + type empty; + description + "Enable use of Bidirectional Forwarding + Detection"; + } + leaf fault-oam-lockout { + type empty; + description + "Lockout protection on the interface for Flex + LSP"; + } + leaf attribute-flags { + type xr:Hex-integer; + description + "Set user defined interface attribute flags"; + } + leaf enable { + type empty; + description + "Enable MPLS-TE on the link"; + } + leaf admin-weight { + type int32; + description + "Set administrative weight for the interface"; + } + } + container global-attributes { + description + "MPLS TE global interface configuration"; + container backup-tunnels { + description + "Configure MPLS TE backup tunnels for this + interface"; + list backup-tunnel { + key "tunnel-name"; + description + "Tunnel name"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string { + length "1..59"; + } + description + "Tunnel name"; + } + } + } + container auto-tunnel { + description + "Auto tunnel configuration"; + container backup { + description + "Auto tunnel backup configuration"; + container exclude { + description + "Auto-tunnel backup exclusion criteria"; + leaf srlg-mode { + type Mpls-tesrlg-exclude; + description + "Set exclude SRLG mode for auto-tunnel + backup on this TE link"; + } + } + leaf enable { + type empty; + description + "Enable auto-tunnel backup on this TE link"; + } + leaf attribute-set { + type Attribute-set-name-length; + description + "The name of attribute set to be applied to + this auto backup lsp"; + } + leaf next-hop-only { + type empty; + description + "Enable NHOP-only mode for auto-tunnel + backup on this TE link"; + } + } + } + container backup-paths { + description + "Configure MPLS TE backup tunnels for this + interface"; + list backup-path { + key "tunnel-number"; + description + "Tunnel interface number"; + leaf tunnel-number { + type uint32 { + range "0..65535"; + } + description + "Tunnel interface number"; + } + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + container gmpls-nni { + description + "GMPLS-NNI configuration"; + container topology-instances { + description + "GMPLS-NNI topology instance table"; + list topology-instance { + must "ospf-int or ospfip-addr" { + description + "OSPFInt or OSPFIPAddr must be present."; + } + key "ospf-area-type igp-instance-name igp-type"; + description + "GMPLS-NNI topology instance configuration"; + + grouping TOPOLOGY-INSTANCE-CONTENT { + description + "TOPOLOGY INSTANCE CONTENT"; + container controllers { + description + "GMPLS-NNI controllers"; + list controller { + key "controller-name"; + description + "Configure a GMPLS NNI controller"; + container tti-mode { + description + "Set tandem connection monitoring for the + interface"; + leaf tti-mode-type { + type Gmplstti-mode; + description + "Type of Trail Trace Identifier"; + } + leaf tcmid { + when "../tti-mode-type = 'tcm'" { + description + "../TTIModeType = TCM"; + } + type uint32 { + range "1..6"; + } + description + "Tandem Connection Monitoring ID for the + interface"; + } + } + leaf admin-weight { + type uint32 { + range "0..65535"; + } + description + "Set administrative weight for the + interface"; + } + leaf enable { + type empty; + description + "Enable GMPLS-NNI on the link"; + } + leaf delay { + type uint32 { + range "1..16777215"; + } + description + "Set link delay for the interface"; + } + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + } + } + } + leaf igp-type { + type Mpls-te-igp-protocol; + description + "IGP type"; + } + leaf igp-instance-name { + type xr:Cisco-ios-xr-string { + length "1..40"; + } + description + "Name of IGP instance"; + } + leaf ospf-area-type { + type Ospf-area-mode; + description + "OSPF area format"; + } + list ospf-int { + when "../ospf-area-type = 'ospf-int'" { + description + "../OSPFAreaType = OSPFInt"; + } + key "igp-area"; + description + "ospf int"; + leaf igp-area { + type int32; + description + "IGP area"; + } + uses TOPOLOGY-INSTANCE-CONTENT; + } + list ospfip-addr { + when "../ospf-area-type = 'ospfip-addr'" { + description + "../OSPFAreaType = OSPFIPAddr"; + } + key "address"; + description + "ospfip addr"; + leaf address { + type inet:ipv4-address-no-zone; + description + "Area ID if in IP address format"; + } + uses TOPOLOGY-INSTANCE-CONTENT; + } + } + } + container tunnel-heads { + description + "GMPLS-NNI tunnel-head table"; + list tunnel-head { + key "tunnel-id"; + description + "The configuration for a GMPLS NNI tunnel + head-end"; + container signalled-bandwidth { + description + "The existence of this configuration indicates + the signalled bandwidth has been set for the + tunnel"; + leaf signalled-bandwidth-type { + type Otn-signaled-bandwidth; + description + "The g.709 signal type requested"; + } + leaf bitrate { + when "../signalled-bandwidth-type = 'od-uflex-cbr' or ../signalled-bandwidth-type = 'od-uflex-gfp-resize' or ../signalled-bandwidth-type = 'od-uflex-gfp-not-resize'" { + description + "../SignalledBandwidthType = ODUflexCBR or + ../SignalledBandwidthType = + ODUflexGFPResize or . + ./SignalledBandwidthType = + ODUflexGFPNotResize"; + } + type int32; + units "kbit/s"; + description + "Bitrate value in Kbps for ODUflex framing + type"; + } + leaf od-uflex-framing-type { + when "../signalled-bandwidth-type = 'od-uflex-cbr' or ../signalled-bandwidth-type = 'od-uflex-gfp-resize' or ../signalled-bandwidth-type = 'od-uflex-gfp-not-resize'" { + description + "../SignalledBandwidthType = ODUflexCBR or + ../SignalledBandwidthType = + ODUflexGFPResize or . + ./SignalledBandwidthType = + ODUflexGFPNotResize"; + } + type Otn-signaled-bandwidth-flex-framing; + description + "Framing type in case of ODUflex signal type"; + } + } + container destination { + description + "The existence of this configuration indicates + the destination has been set for the tunnel"; + leaf destination { + type inet:ipv4-address-no-zone; + description + "IPV4 tunnel destination"; + } + leaf destination-type { + type Otn-destination; + description + "Destination type whether it is unicast or + unnumbered"; + } + leaf interface-if-index { + type int32; + description + "Interface index of port"; + } + } + container protection-switching { + description + "The configuration for a GMPLS NNI tunnel + protection switch"; + leaf lockout { + type Otn-protection-switch-lockout; + description + "The configuration is used to prevent switch + over for a particular path type in tunnel"; + } + } + container logging { + description + "Tunnel event logging"; + leaf active-lsp-message { + type empty; + description + "Log all tunnel messages for changes in + Active LSP"; + } + leaf homepath-state-message { + type empty; + description + "Log all messages for changes in state of + Homepath of Working LSP"; + } + leaf signalling-state-message { + type empty; + description + "Log all tunnel sub-LSP state messages"; + } + leaf path-change-message { + type empty; + description + "Log all tunnel messages for changes in + path-change"; + } + leaf static-cross-connect-message { + type empty; + description + "Log all tunnel messages for static + cross-connect messages"; + } + leaf tunnel-state-message { + type empty; + description + "Log all tunnel messages for changes in + tunnel-state"; + } + leaf insufficient-bw-message { + type empty; + description + "Log tunnel messages for insufficient + bandwidth"; + } + } + container path-options { + description + "GMPLS NNI path options"; + list path-option { + key "preference-level"; + description + "The existence of this configuration + indicates the path options have been set for + the tunnel"; + leaf preference-level { + type uint32 { + range "1..1000"; + } + description + "Preference level for this path option"; + } + leaf path-type { + type Mpls-te-path-option; + description + "The type of the path option"; + } + leaf path-id { + type uint32 { + range "1..65535"; + } + description + "The ID of the IP explicit path associated + with this option"; + } + leaf path-name { + type string; + description + "The name of the IP explicit path associated + with this option"; + } + leaf protected-by-preference-level { + type uint32 { + range "1..1001"; + } + description + "Preference level of the protecting explicit + path. "; + } + leaf restore-by-preference-level { + type uint32 { + range "1..1000"; + } + description + "Preference level of the restore path. "; + } + leaf xro-type { + type Mpls-te-path-option-xro; + mandatory true; + description + "The route-exclusion type"; + } + leaf xro-attribute-set-name { + type Attribute-set-name-length; + description + "The name of the XRO attribute set to be + used for this path-option"; + } + leaf lockdown { + type Mpls-te-path-option-property; + description + "Lockdown properties"; + } + } + } + container static-uni { + description + "The existence of this configuration indicates + the static UNI endpoints have been set for + the tunnel"; + leaf ingress-controller-name { + type xr:Cisco-ios-xr-string { + length "1..255"; + } + description + "Name of ingress controller"; + } + leaf egress-controller-if-index { + type int32; + description + "Interface index of Egress controller"; + } + leaf ingress-type { + type Otn-static-uni; + description + "Ingress type whether it is xconnect or + terminated"; + } + leaf egress-type { + type Otn-static-uni; + description + "Egress type whether it is xconnect or + terminated"; + } + } + leaf enable { + type empty; + description + "The existence of this configuration indicates + the a new GMPLS NNI tunnel has been enabled"; + } + leaf restore-lsp-shutdown { + type empty; + description + "The existence of this configuration indicates + the restore LSP of tunnel is shutdown"; + } + leaf current-lsp-shutdown { + type empty; + description + "The existence of this configuration indicates + the current/working LSP of tunnel is shutdown"; + } + leaf path-selection-metric { + type Mpls-te-path-selection-metric; + description + "Path selection configuration for this + specific tunnel"; + } + leaf payload { + type Otn-payload; + description + "The existence of this configuration indicates + the Payload type have been set for the tunnel"; + } + leaf standby-lsp-shutdown { + type empty; + description + "The existence of this configuration indicates + the standby/protect LSP of tunnel is shutdown"; + } + leaf shutdown { + type empty; + description + "The existence of this configuration indicates + the tunnel is shutdown"; + } + leaf path-protection-attribute-set-profile { + type string { + length "1..64"; + } + description + "The name of the path-protection profile to be + included in signalling messages"; + } + leaf tunnel-id { + type uint32 { + range "0..65535"; + } + description + "Tunnel ID"; + } + uses RECORD-ROUTE; + uses SIGNALLED-NAME; + } + } + leaf path-selection-metric { + type Mpls-te-path-selection-metric; + description + "Path selection configuration for all gmpls nni + tunnels"; + } + leaf enable-gmpls-nni { + type empty; + description + "Enable MPLS Traffic Engineering GMPLS-NNI"; + } + } + container lcac { + description + "LCAC specific MPLS global configuration"; + container bfd { + description + "BFD configuration"; + leaf interval { + type uint32 { + range "15..200"; + } + units "millisecond"; + description + "Hello interval for BFD sessions created by TE"; + } + leaf detection-multiplier { + type uint32 { + range "2..10"; + } + description + "Detection multiplier for BFD sessions created + by TE"; + } + } + container flooding-threshold { + description + "Configure flooding threshold as percentage of + total link bandwidth."; + leaf up-stream { + type Mpls-percent-range; + units "percentage"; + description + "Upward flooding Threshold in percentages of + total bandwidth"; + } + leaf down-stream { + type Mpls-percent-range; + units "percentage"; + description + "Downward flooding Threshold in percentages of + total bandwidth"; + } + } + leaf bandwidth-hold-timer { + type Mpls-lcac-bandwidth-hold-timer-range; + units "second"; + description + "Bandwidth hold timer value (seconds)"; + } + leaf delay-preempt-bundle-capacity-timer { + type uint32 { + range "0..300"; + } + units "second"; + description + "Bundle capacity preemption timer value + (seconds)"; + } + leaf periodic-flooding-timer { + type uint32 { + range "0..3600"; + } + units "second"; + description + "Periodic flooding value (seconds)"; + } + } + leaf enable-traffic-engineering { + type empty; + description + "Enable MPLS Traffic Engineering"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-datatypes.yang new file mode 100644 index 0000000..3f24c12 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-datatypes.yang @@ -0,0 +1,790 @@ +module Cisco-IOS-XR-mpls-te-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-datatypes"; + prefix mpls-te-datatypes; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-tesrlg-exclude { + type enumeration { + enum "mandatory" { + value 1; + description + "SRLG Mandatory Exclude"; + } + enum "preferred" { + value 2; + description + "SRLG Preferred Exclude"; + } + enum "weighted" { + value 3; + description + "SRLG Weighted Exclude"; + } + } + description + "Mpls tesrlg exclude"; + } + + typedef Mpls-te-affinity-value { + type enumeration { + enum "hex-value" { + value 1; + description + "Affinity value in Hex number"; + } + enum "bit-position" { + value 2; + description + "Affinity value by Bit-Position"; + } + } + description + "Mpls te affinity value"; + } + + typedef Destination-list-name-length { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Destination list name length"; + } + + typedef Mpls-percent-range { + type uint32 { + range "0..100"; + } + description + "Mpls percent range"; + } + + typedef Sr-prepend { + type enumeration { + enum "none-type" { + value 0; + description + "NoneType"; + } + enum "next-label" { + value 1; + description + "Next Label"; + } + enum "bgp-n-hop" { + value 2; + description + "BGP NHOP"; + } + } + description + "Sr prepend"; + } + + typedef Mpls-te-path-selection-tiebreaker { + type enumeration { + enum "min-fill" { + value 1; + description + "Prefer the path with the least-utilized links"; + } + enum "max-fill" { + value 2; + description + "Prefer the path with the most-utilized links"; + } + enum "random" { + value 3; + description + "Prefer a path with links utilized randomly"; + } + } + description + "Mpls te path selection tiebreaker"; + } + + typedef Attribute-set-name-length { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Attribute set name length"; + } + + typedef Mpls-te-otn-aps-protection { + type enumeration { + enum "1plus1-unidir-no-aps" { + value 4; + description + "1PLUS1 UNIDIR NO APS"; + } + enum "1plus1-unidir-aps" { + value 8; + description + "1PLUS1 UNIDIR APS"; + } + enum "1plus1-bdir-aps" { + value 16; + description + "1PLUS1 BIDIR APS"; + } + } + description + "Mpls te otn aps protection"; + } + + typedef Mpls-te-path-option-property { + type enumeration { + enum "none" { + value 0; + description + "No property"; + } + enum "lockdown" { + value 1; + description + "Path is not a canditate forreoptimization"; + } + enum "verbatim" { + value 4; + description + "Explicit path does not require topology + database"; + } + enum "pce" { + value 8; + description + "Dynamic path found by PCE server"; + } + enum "segment-routing" { + value 16; + description + "Segment Routing path"; + } + } + description + "Mpls te path option property"; + } + + typedef Mpls-te-path-option-xro { + type empty; + description + "Defined as attribute-set"; + } + + typedef Mpls-te-tunnel-affinity { + type enumeration { + enum "include" { + value 1; + description + "Include Affinity"; + } + enum "include-strict" { + value 2; + description + "Strictly Include Affinity"; + } + enum "exclude" { + value 3; + description + "Exclude Affinity"; + } + enum "exclude-all" { + value 4; + description + "Exclude All Affinities"; + } + enum "ignore" { + value 5; + description + "Ignore Affinity"; + } + } + description + "Mpls te tunnel affinity"; + } + + typedef Mpls-te-switching-cap { + type enumeration { + enum "psc1" { + value 1; + description + "PSC1"; + } + enum "lsc" { + value 150; + description + "LSC"; + } + enum "fsc" { + value 200; + description + "FSC"; + } + } + description + "Mpls te switching cap"; + } + + typedef Mpls-te-otn-aps-protection-mode { + type enumeration { + enum "revertive" { + value 1; + description + "Revertive"; + } + enum "non-revertive" { + value 2; + description + "Non Revertive"; + } + } + description + "Mpls te otn aps protection mode"; + } + + typedef Mpls-te-bfd-session-down-action { + type enumeration { + enum "re-setup" { + value 1; + description + "Tear down and resetup"; + } + } + description + "Mpls te bfd session down action"; + } + + typedef Mpls-te-log-frr-protection { + type enumeration { + enum "frr-active-primary" { + value 1; + description + "Track only FRR active on primary LSP"; + } + enum "backup" { + value 256; + description + "backup tunnel"; + } + enum "frr-ready-primary" { + value 512; + description + "Track only FRR ready on primary LSP"; + } + enum "primary" { + value 513; + description + "primary LSP"; + } + enum "all" { + value 769; + description + "all"; + } + } + description + "Mpls te log frr protection"; + } + + typedef Mpls-te-autoroute-metric { + type enumeration { + enum "relative" { + value 1; + description + "Relative"; + } + enum "absolute" { + value 2; + description + "Absolute"; + } + enum "constant" { + value 3; + description + "Constant"; + } + } + description + "Mpls te autoroute metric"; + } + + typedef Mpls-te-backup-bandwidth-pool { + type enumeration { + enum "any-pool" { + value 1; + description + "Any Pool"; + } + enum "global-pool" { + value 2; + description + "Global Pool"; + } + enum "sub-pool" { + value 4; + description + "Sub Pool"; + } + } + description + "Mpls te backup bandwidth pool"; + } + + typedef Mpls-te-otn-snc-mode { + type enumeration { + enum "snc-n" { + value 1; + description + "SNC N"; + } + enum "snc-i" { + value 2; + description + "SNC I"; + } + enum "snc-s" { + value 3; + description + "SNC S"; + } + } + description + "Mpls te otn snc mode"; + } + + typedef Bfd-reverse-path { + type enumeration { + enum "bfd-reverse-path-binding-label" { + value 1; + description + "BindingLabel"; + } + } + description + "Bfd reverse path"; + } + + typedef Mpls-te-path-selection-metric { + type enumeration { + enum "igp" { + value 1; + description + "IGP Metric"; + } + enum "te" { + value 2; + description + "TE Metric"; + } + enum "delay" { + value 4; + description + "DELAY Metric"; + } + } + description + "Mpls te path selection metric"; + } + + typedef Mpls-te-path-option { + type enumeration { + enum "not-set" { + value 0; + description + "Not Set"; + } + enum "dynamic" { + value 1; + description + "Dynamic"; + } + enum "explicit-name" { + value 3; + description + "Explicit, identified by name"; + } + enum "explicit-number" { + value 4; + description + "Explicit, identified by number"; + } + enum "no-ero" { + value 5; + description + "No ERO"; + } + enum "sr" { + value 6; + description + "Segment routing"; + } + } + description + "Mpls te path option"; + } + + typedef Mpls-te-bandwidth-pool { + type enumeration { + enum "any-pool" { + value 0; + description + "Any Pool"; + } + enum "sub-pool" { + value 1; + description + "Sub Pool"; + } + } + description + "Mpls te bandwidth pool"; + } + + typedef Mpls-te-bandwidth-dste { + type enumeration { + enum "standard-dste" { + value 0; + description + "IETF-Standard DSTE"; + } + enum "pre-standard-dste" { + value 1; + description + "Pre-Standard DSTE"; + } + } + description + "Mpls te bandwidth dste"; + } + + typedef Mpls-te-path-selection-invalidation-timer-expire { + type enumeration { + enum "tunnel-action-tear" { + value 1; + description + "Tear down tunnel."; + } + enum "tunnel-action-drop" { + value 2; + description + "Drop tunnel traffic."; + } + } + description + "Mpls te path selection invalidation timer expire"; + } + + typedef Ctype { + type enumeration { + enum "ctype-null" { + value 0; + description + "CTYPE NULL"; + } + enum "ctype-ipv4" { + value 1; + description + "CTYPE IPV4"; + } + enum "ctype-ipv4-p2p-tunnel" { + value 7; + description + "CTYPE IPV4 P2P TUNNEL"; + } + enum "ctype-ipv6-p2p-tunnel" { + value 8; + description + "CTYPE IPV6 P2P TUNNEL"; + } + enum "ctype-ipv4-uni" { + value 9; + description + "CTYPE IPV4 UNI"; + } + enum "ctype-ipv4-p2mp-tunnel" { + value 13; + description + "CTYPE IPV4 P2MP TUNNEL"; + } + enum "ctype-ipv6-p2mp-tunnel" { + value 14; + description + "CTYPE IPV6 P2MP TUNNEL"; + } + } + description + "Ctype"; + } + + typedef Mpls-te-path-diversity-conformance { + type enumeration { + enum "strict" { + value 0; + description + "Strict"; + } + enum "best-effort" { + value 1; + description + "Best effort"; + } + } + description + "Mpls te path diversity conformance"; + } + + typedef Mpls-te-backup-bandwidth-class { + type enumeration { + enum "class0" { + value 0; + description + "Class 0"; + } + enum "class1" { + value 1; + description + "Class 1"; + } + enum "any-class" { + value 9; + description + "Any Class"; + } + } + description + "Mpls te backup bandwidth class"; + } + + typedef Mpls-te-attr-set { + type enumeration { + enum "not-used" { + value 0; + description + "Not used"; + } + enum "static" { + value 1; + description + "Static"; + } + enum "lsp" { + value 2; + description + "LSP"; + } + enum "unassigned" { + value 3; + description + "Unassigned"; + } + enum "auto-backup" { + value 4; + description + "Auto backup"; + } + enum "auto-mesh" { + value 5; + description + "Auto mesh"; + } + enum "xro" { + value 6; + description + "XRO"; + } + enum "p2mp-te" { + value 7; + description + "P2MP TE"; + } + enum "otn-pp" { + value 8; + description + "OTN Path Protection"; + } + enum "p2p-te" { + value 9; + description + "P2P TE"; + } + } + description + "Mpls te attr set"; + } + + typedef Mpls-te-otn-aps-restoration-style { + type enumeration { + enum "keep-failed-lsp" { + value 1; + description + "Keep Failed Lsp"; + } + enum "delete-failed-lsp" { + value 2; + description + "Delete Failed Lsp"; + } + } + description + "Mpls te otn aps restoration style"; + } + + typedef Mpls-te-path-selection-segment-routing-adjacency-protection { + type enumeration { + enum "not-set" { + value 0; + description + "Any segment can be used in a path."; + } + enum "adj-unprotected" { + value 1; + description + "Only unprotected adjacency segments can be used + in a path."; + } + enum "adj-protected" { + value 2; + description + "Only protected adjacency segments can be used + in a path."; + } + } + description + "Mpls te path selection segment routing adjacency + protection"; + } + + typedef Mpls-te-path-option-protection { + type enumeration { + enum "active" { + value 0; + description + "Active path"; + } + enum "protecting" { + value 1; + description + "Protecting Path"; + } + } + description + "Mpls te path option protection"; + } + + typedef Mpls-te-sig-name-option { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "address" { + value 1; + description + "Address"; + } + enum "name" { + value 2; + description + "Name"; + } + } + description + "Mpls te sig name option"; + } + + typedef Mpls-te-bandwidth-limit { + type enumeration { + enum "unlimited" { + value 64; + description + "Unlimited"; + } + enum "limited" { + value 128; + description + "Limited"; + } + } + description + "Mpls te bandwidth limit"; + } + + typedef Mesh-group-id { + type uint32 { + range "0..4294967295"; + } + description + "Mesh group id"; + } + + typedef Path-invalidation-action { + type enumeration { + enum "tear" { + value 1; + description + "Tear"; + } + enum "drop" { + value 2; + description + "Drop"; + } + } + description + "Path invalidation action"; + } + + typedef Mpls-te-igp-protocol { + type enumeration { + enum "none" { + value 0; + description + "Not set"; + } + enum "isis" { + value 1; + description + "IS IS"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + } + description + "Mpls te igp protocol"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub1.yang new file mode 100644 index 0000000..39bc874 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub1.yang @@ -0,0 +1,583 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-tp-tunnel-switchover-trig { + type enumeration { + enum "none" { + description + "No Trigger"; + } + enum "bfd" { + description + "Trigger is BFD"; + } + enum "local-lockout" { + description + "Trigger is local lockout"; + } + enum "remote-lockout" { + description + "Trigger is remote lockout"; + } + enum "ais" { + description + "Trigger is AIS"; + } + enum "ldi" { + description + "Trigger is LDI"; + } + enum "lkr" { + description + "Trigger is LKR"; + } + enum "link-down" { + description + "Trigger is due to link down event"; + } + } + description + "Transport profile protection switchover triggers"; + } + + typedef Mpls-tp-tunnel-active-lsp { + type enumeration { + enum "working" { + description + "Working LSP"; + } + enum "protect" { + description + "Protect LSP"; + } + enum "none" { + description + "Neither working nor protection LSP is active"; + } + } + description + "Transport profile tunnel active LSP"; + } + + typedef Mpls-tp-lsp-bfd-state { + type enumeration { + enum "down" { + description + "BFD down"; + } + enum "up" { + description + "BFD up"; + } + } + description + "Transport profile LSP BFD states"; + } + + typedef Mpls-tp-lsp-oam-state { + type enumeration { + enum "none" { + description + "No fault"; + } + enum "ldi" { + description + "LDI"; + } + enum "lkr" { + description + "LKR"; + } + enum "ais" { + description + "AIS"; + } + } + description + "Transport profile LSP OAM states"; + } + + typedef Mpls-tp-lsp-state { + type enumeration { + enum "down" { + description + "Down"; + } + enum "up" { + description + "Up"; + } + enum "active" { + description + "Up (active)"; + } + enum "unknown" { + description + "Unknown"; + } + } + description + "Transport profile LSP states"; + } + + typedef Mpls-tp-tunnel-state { + type enumeration { + enum "admin-down" { + description + "Tunnel is administratively down"; + } + enum "admin-up" { + description + "Tunnel is administratively up"; + } + enum "oper-up" { + description + "Tunnel is operationally up"; + } + enum "oper-down" { + description + "Tunnel is operationally down"; + } + } + description + "Transport profile tunnel states"; + } + + grouping MPLS-TE-TP-GLOBAL-INFO { + description + "Transport profile global information"; + container oam-protection-triggers { + description + "OAM Protection Triggers"; + uses MPLS-TE-TP-OAM-PROT-TRIGGER; + } + leaf node-id { + type inet:ipv4-address; + description + "Node ID"; + } + leaf global-id { + type uint32; + description + "Global ID"; + } + leaf oam-refresh { + type uint32; + units "second"; + description + "OAM refresh interval in seconds"; + } + leaf bfd-interval { + type uint32; + description + "BFD interval"; + } + leaf bfd-interval-in-micro-sec { + type boolean; + description + "Is global BFD interval in micro sec"; + } + leaf bfd-interval-standby { + type uint32; + description + "BFD interval for standby LSPs"; + } + leaf bfd-interval-standby-in-micro-sec { + type boolean; + description + "Is global BFD interval for standby LSPs in micro + sec"; + } + leaf bfd-multiplier { + type uint32; + description + "BFD multiplier"; + } + leaf bfd-multiplier-standby { + type uint32; + description + "BFD multiplier for standby LSPs"; + } + leaf wait-to-restore-interval { + type uint32; + units "second"; + description + "Wait to restore interval for working LSP in + seconds"; + } + leaf alarm-suppression { + type boolean; + description + "Tunnel/LSP alarm suppression"; + } + leaf soak-time { + type uint32; + units "second"; + description + "Tunnel/LSP alarm soak time in seconds"; + } + } + + grouping MPLS-TE-TP-OAM-PROT-TRIGGER { + description + "Transport profile tunnel OAM protection triggers"; + leaf ais { + type boolean; + description + "Trigger due to AIS"; + } + leaf ldi { + type boolean; + description + "Trigger due to LDI"; + } + leaf lkr { + type boolean; + description + "Trigger due to LKR"; + } + } + + grouping MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO { + description + "Transport profile LSP end-point detail + information"; + container brief-information { + description + "Brief LSP information"; + uses MPLS-TE-TP-TUNNEL-LSP-INFO; + } + leaf oam-refresh-interval { + type uint32; + description + "OAM refresh interval"; + } + leaf tp-out-label { + type uint32; + description + "Outgoing label"; + } + leaf link-id { + type uint32; + description + "Transport Profile Link Identifier"; + } + leaf out-interface-name { + type string; + description + "Outgoing interface name"; + } + leaf out-next-hop { + type inet:ipv4-address; + description + "Outgoing next hop in IPv4 address format"; + } + leaf in-label { + type uint32; + description + "Incoming label"; + } + leaf reserved-bandwidth { + type uint32; + units "kbit/s"; + description + "Reserved Bandwidth in Kbps"; + } + } + + grouping MPLS-TE-TP-TUNNEL-LSP-INFO { + description + "Transport profile LSP end-point information"; + leaf lsp-id { + type uint32; + description + "LSP identifier"; + } + leaf state { + type Mpls-tp-lsp-state; + description + "LSP state"; + } + leaf lock-out { + type boolean; + description + "Lock out"; + } + leaf rx-oam-state { + type Mpls-tp-lsp-oam-state; + description + "Received fault OAM state"; + } + leaf tx-oam-state { + type Mpls-tp-lsp-oam-state; + description + "Transmitted fault OAM state"; + } + leaf bfd-state { + type Mpls-tp-lsp-bfd-state; + description + "BFD state"; + } + } + + grouping MPLS-TE-TP-TUNNEL-INFO { + description + "Transport profile tunnel Information"; + container working-lsp { + description + "Working LSP information"; + uses MPLS-TE-TP-TUNNEL-LSP-INFO; + } + container protect-lsp { + description + "Protect LSP information"; + uses MPLS-TE-TP-TUNNEL-LSP-INFO; + } + leaf tunnel-name { + type string; + description + "Transport profile tunnel name"; + } + leaf source-tunnel-id { + type uint32; + description + "Source tunnel identifier"; + } + leaf source-node-id { + type inet:ipv4-address; + description + "Source node ID"; + } + leaf source-global-id { + type uint32; + description + "Source global ID"; + } + leaf destination-node-id { + type inet:ipv4-address; + description + "Destination node ID"; + } + leaf destination-global-id { + type uint32; + description + "Destination global ID"; + } + leaf remote-tunnel-id { + type uint32; + description + "Remote tunnel identifier"; + } + leaf admin-status { + type Mpls-tp-tunnel-state; + description + "Tunnel admin status"; + } + leaf operation-status { + type Mpls-tp-tunnel-state; + description + "Tunnel operational status"; + } + leaf active-lsp { + type Mpls-tp-tunnel-active-lsp; + description + "Active LSP"; + } + } + + grouping MPLS-TE-TP-DETAIL-TUNNEL-INFO { + description + "Transport profile detail tunnel information"; + container tunnel { + description + "Brief tunnel information"; + uses MPLS-TE-TP-TUNNEL-INFO; + } + container working-lsp { + description + "Working LSP information"; + uses MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO; + } + container protect-lsp { + description + "Protect LSP information"; + uses MPLS-TE-TP-DETAIL-TUNNEL-LSP-INFO; + } + container oam-protection-triggers { + description + "OAM Protection Triggers"; + uses MPLS-TE-TP-OAM-PROT-TRIGGER; + } + leaf req-bandwidth { + type uint32; + units "kbit/s"; + description + "Requested tunnel bandwidth in Kbps"; + } + leaf oam-interval { + type uint32; + description + "OAM Interval"; + } + leaf bfd-interval-active { + type uint32; + description + "BFD interval for active LSP"; + } + leaf bfd-interval-active-in-micro-sec { + type boolean; + description + "Is BFD interval for active LSP in micro sec"; + } + leaf bfd-multiplier-active { + type uint32; + description + "BFD multiplier for active LSP"; + } + leaf bfd-interval-standby { + type uint32; + description + "BFD interval for standby LSP"; + } + leaf bfd-interval-standby-in-micro-sec { + type boolean; + description + "Is BFD interval for standby LSP in micro sec"; + } + leaf bfd-multiplier-standby { + type uint32; + description + "BFD multiplier for standby LSP"; + } + leaf tunnel-up-time { + type uint32; + units "second"; + description + "Time in seconds since tunnel went up"; + } + leaf switchover-trig { + type Mpls-tp-tunnel-switchover-trig; + description + "Switchover trigger"; + } + leaf switch-over-time { + type uint32; + description + "The time at which last switchover was triggered"; + } + } + + grouping MPLS-TE-TP-TUNNEL-SUMMARY { + description + "Transport profile tunnel summary"; + leaf up-working-ls-ps { + type uint32; + description + "Number of working LSPs that are in up state"; + } + leaf active-working-ls-ps { + type uint32; + description + "Number of working LSPs that are active"; + } + leaf down-working-ls-ps { + type uint32; + description + "Number of Working LSPs that are in down state"; + } + leaf locked-working-ls-ps { + type uint32; + description + "Number of working LSPs that are locked out"; + } + leaf up-protect-ls-ps { + type uint32; + description + "Number of protect LSPs that are in up state"; + } + leaf active-protect-ls-ps { + type uint32; + description + "Number of protect LSPs that are active"; + } + leaf down-protect-ls-ps { + type uint32; + description + "Number of protect LSPs that are in down state"; + } + leaf locked-protect-ls-ps { + type uint32; + description + "Number of protect LSPs that are locked out"; + } + leaf up-tunnels { + type uint32; + description + "Number of tunnels that are in up state"; + } + leaf down-tunnels { + type uint32; + description + "Number of tunnels that are in down state"; + } + leaf admin-down-tunnels { + type uint32; + description + "Number of tunnels that are administratively down"; + } + leaf complete-fec-working-ls-ps { + type uint32; + description + "Number of working LSPs with complete FEC"; + } + leaf complete-fec-protect-ls-ps { + type uint32; + description + "Number of protect LSPs with complete FEC"; + } + leaf bfd-session-working-ls-ps { + type uint32; + description + "Number of working LSPs with BFD session"; + } + leaf bfd-session-protect-ls-ps { + type uint32; + description + "Number of protect LSPs with BFD session"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub2.yang new file mode 100644 index 0000000..0b9ffaf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub2.yang @@ -0,0 +1,219 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub2 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tp-mid-lsp-status { + type enumeration { + enum "up" { + description + "TP LSP Up"; + } + enum "down" { + description + "TP LSP Down"; + } + } + description + "Transport profile mid-point LSP states"; + } + + grouping MPLS-TP-MID-SUMMARY-INFO { + description + "Transport profile mid-point LSP summary + information"; + leaf mid-points { + type uint32; + description + "Total number of mid points"; + } + leaf up-forward-ls-ps { + type uint32; + description + "Total number of forward LSPs that are Up"; + } + leaf down-forward-ls-ps { + type uint32; + description + "Total number of forward LSPs that are Down"; + } + leaf up-reverse-ls-ps { + type uint32; + description + "Total number of reverse LSPs that are Up"; + } + leaf down-reverse-ls-ps { + type uint32; + description + "Total number of reverse LSPs that are Down"; + } + } + + grouping MPLS-TP-MID-LSP-INFO { + description + "Transport profile mid-point LSP detailed + information"; + leaf out-label { + type uint32; + description + "Outgoing label"; + } + leaf out-link { + type uint32; + description + "Outgoing TP link ID"; + } + leaf oam-refresh-interval { + type uint32; + units "second"; + description + "OAM Refresh time in seconds"; + } + leaf outgoing-interface { + type string; + description + "Outgoing interface"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Outgoing next-hop in IPv4 address format"; + } + leaf in-label { + type uint32; + description + "Incoming label"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Configured bandwidth in Kbps"; + } + } + + grouping MPLS-TP-MID-INFO { + description + "Transport profile mid-point LSP information"; + leaf midpoint-name { + type string; + description + "Mid Point Name"; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf source-node-id { + type inet:ipv4-address; + description + "Source Node ID"; + } + leaf source-global-id { + type uint32; + description + "Source Global ID"; + } + leaf source-tunnel-id { + type uint32; + description + "Source Tunnel ID"; + } + leaf lsp-id { + type uint32; + description + "LSP ID"; + } + leaf destination-node-id { + type inet:ipv4-address; + description + "Destination Node ID"; + } + leaf destination-global-id { + type uint32; + description + "Destination Global ID"; + } + leaf destination-tunnel-id { + type uint32; + description + "Destination Tunnel ID"; + } + leaf forward-lsp-state { + type Tp-mid-lsp-status; + description + "Forward LSP State"; + } + leaf reverse-lsp-state { + type Tp-mid-lsp-status; + description + "Reverse LSP State"; + } + } + + grouping MPLS-TP-DETAIL-MID-INFO { + description + "Transport profile mid-point LSP detail + information"; + container brief-lsp-information { + description + "Brief LSP information"; + uses MPLS-TP-MID-INFO; + } + container forward-lsp { + description + "Forward LSP information"; + uses MPLS-TP-MID-LSP-INFO; + } + container reverse-lsp { + description + "Reverse LSP information"; + uses MPLS-TP-MID-LSP-INFO; + } + leaf forward-lsp-reserved-bandwidth { + type uint32; + units "kbit/s"; + description + "Forward LSP reserved bandwidth in Kbps"; + } + leaf reverse-lsp-reserved-bandwidth { + type uint32; + units "kbit/s"; + description + "Reverse LSP reserved bandwidth in Kbps"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub3.yang new file mode 100644 index 0000000..d678aeb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub3.yang @@ -0,0 +1,151 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub3 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tp-link-state { + type enumeration { + enum "down" { + description + "TP link state is down"; + } + enum "admin-down" { + description + "TP link state is administratively down"; + } + enum "up" { + description + "TP link state is up"; + } + enum "unknown" { + description + "TP link state is unknown"; + } + } + description + "Transport profile link state"; + } + + grouping MPLS-TE-TP-LINK-INFO { + description + "Transport profile link information"; + leaf link-id { + type uint32; + description + "Transport profile link identifier"; + } + leaf interface { + type string; + description + "Transport profile link interface name"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Transport profile next-hop in IPv4 address + format"; + } + leaf link-state { + type Tp-link-state; + description + "Link state"; + } + leaf available-bandwidth { + type uint64; + units "kbit/s"; + description + "Available bandwidth in Kbps"; + } + } + + grouping MPLS-TE-TP-LINK-SUMMARY-INFO { + description + "Transport profile link summary"; + leaf links { + type uint32; + description + "Number of transport profile links"; + } + } + + grouping MPLS-TE-TP-DETAIL-LINK-INFO { + description + "Transport profile link detail information"; + leaf link-id { + type uint32; + description + "Transport profile link identifier"; + } + leaf interface { + type string; + description + "Transport profile link interface name"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Transport profile next-hop in IPv4 address + format"; + } + leaf link-state { + type Tp-link-state; + description + "Link State"; + } + leaf ls-ps { + type uint32; + description + "Number of TP LSPs on this TP link"; + } + leaf reserved-bandwidth { + type uint64; + units "kbit/s"; + description + "Reserved bandwidth in Kbps"; + } + leaf available-bandwidth { + type uint64; + units "kbit/s"; + description + "Available bandwidth in Kbps"; + } + leaf unsupported-linecard { + type boolean; + description + "Link is hosted on a linecard that does not + support MPLS-TP"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub4.yang new file mode 100644 index 0000000..93676a7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub4.yang @@ -0,0 +1,1125 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub4 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + include Cisco-IOS-XR-mpls-te-oper-sub6 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pce-tunnel-state { + type enumeration { + enum "tunnel-state-none" { + description + "None"; + } + enum "tunnel-state-admin-down" { + description + "AdminDown"; + } + enum "tunnel-state-down" { + description + "Down"; + } + enum "tunnel-state-up" { + description + "Up"; + } + } + description + "PCE Tunnel State"; + } + + typedef Pce-tun-path-state { + type enumeration { + enum "state-none" { + description + "None"; + } + enum "state-pending" { + description + "Request Pending"; + } + enum "state-received-path" { + description + "Path Received"; + } + enum "state-no-peer" { + description + "No peer to forward"; + } + enum "state-pcep-down" { + description + "PCEP to the peer is down"; + } + enum "state-received-no-path" { + description + "Path Received No Path"; + } + } + description + "PCE Request State"; + } + + typedef Pce-state { + type enumeration { + enum "tcp-close" { + description + "TCP close"; + } + enum "tcp-listen" { + description + "TCP listen"; + } + enum "tcp-connect" { + description + "TCP connect"; + } + enum "pcep-closed" { + description + "PCEP closed"; + } + enum "pcep-opening" { + description + "PCEP opening"; + } + enum "pcep-open" { + description + "PCEP open"; + } + } + description + "PCE State"; + } + + typedef Pce-lsp-autoroute-metric { + type enumeration { + enum "none" { + description + "None"; + } + enum "relative" { + description + "Relative"; + } + enum "absolute" { + description + "Absolute"; + } + } + description + "Autoroute Metric Type"; + } + + typedef Pce-sr-sid { + type enumeration { + enum "unknown-segment-id" { + description + "Unknown type"; + } + enum "ipv4-node-segment-id" { + description + "IPv4 Node ID"; + } + enum "ipv4-adjacency-segment-id" { + description + "IPv4 Adjacency ID"; + } + } + description + "PCE SID type"; + } + + typedef Pce-lsp-oper-state { + type enumeration { + enum "down" { + description + "Down"; + } + enum "up" { + description + "Up"; + } + enum "active" { + description + "Active"; + } + enum "going-down" { + description + "Going down"; + } + enum "going-up" { + description + "Going Up"; + } + } + description + "LSP Operational state"; + } + + grouping PCE-TUNNEL-BAG { + description + "PCE Tunnel Summary Information"; + leaf source-address { + type inet:ipv4-address; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination Address"; + } + leaf is-curr-path-option-pce { + type boolean; + description + "True if current path option is PCE based"; + } + leaf curr-path-option-index { + type uint32; + description + "Path Option Index of the current path"; + } + leaf configured-pce-address { + type inet:ipv4-address; + description + "Configured PCE Address"; + } + leaf sender-pce-address { + type inet:ipv4-address; + description + "Sender PCE Address"; + } + leaf path-state { + type Pce-tun-path-state; + description + "Path Request State"; + } + leaf tunnel-state { + type Pce-tunnel-state; + description + "Tunnel State"; + } + leaf admin-weight { + type uint32; + description + "Path metric"; + } + leaf hop-count { + type uint32; + description + "Hop Count"; + } + } + + grouping PCE-NODE-BAG { + description + "PCE Node Information"; + leaf router-id { + type inet:ipv4-address; + description + "Router ID"; + } + leaf igp-area-id { + type uint32; + description + "IGP Area number"; + } + leaf igp-area-format { + type Igp-ospf-area-format; + description + "IGP Area Format"; + } + leaf pce-cost { + type uint32; + description + "PCE cost"; + } + leaf node-id { + type inet:ipv4-address; + description + "Node ID"; + } + leaf is-pce-border-node { + type boolean; + description + "PCE border node"; + } + } + + grouping PCE-TOPOLOGY-GLOBAL-INFO-BAG { + description + "PCE Topology Information"; + list nodes { + description + "Node information"; + uses PCE-NODE-BAG; + } + } + + grouping PCEERR-BAG { + description + "PCE Error information"; + leaf pce-err-type { + type uint32; + description + "PCE Error Type"; + } + leaf pce-err-value { + type uint32; + description + "PCE Error Value"; + } + leaf has-open-object { + type boolean; + description + "Has Open object"; + } + leaf openversion { + type uint32; + description + "Open Version"; + } + leaf open-keepalive { + type uint32; + units "second"; + description + "Open Keepalive (seconds)"; + } + leaf open-dead-time { + type uint32; + units "second"; + description + "Open Deadtime (seconds)"; + } + leaf has-rp-object { + type boolean; + description + "Has RP object"; + } + leaf rp-request-id { + type uint32; + description + "RP request ID"; + } + } + + grouping PCE-PEER-IGP-BAG { + description + "PCE IGP information"; + leaf igp-type { + type Igp-protocol; + description + "Type"; + } + leaf igp-instance-id { + type string; + description + "Instance ID"; + } + } + + grouping PCE-NEIGHBOR-BAG { + description + "PCE Neighbor Information"; + container last-tx-pce-err { + description + "Last sent PCEErr"; + uses PCEERR-BAG; + } + container last-rx-pce-err { + description + "Last received PCEErr"; + uses PCEERR-BAG; + } + leaf error { + type string; + description + "Error (for display only)"; + } + leaf pce-state { + type Pce-state; + description + "PCE State"; + } + leaf precedence { + type uint32; + description + "PCE Precedence"; + } + leaf stateful { + type boolean; + description + "Stateful"; + } + leaf capability-update { + type boolean; + description + "Update capability"; + } + leaf capability-instantiate { + type boolean; + description + "Instantiation capability"; + } + leaf capability-segment-routing { + type boolean; + description + "Segment Routing capability"; + } + leaf triggered-sync-capability { + type boolean; + description + "Triggered Synchronization capability"; + } + leaf capability-db-version { + type boolean; + description + "DB version capability"; + } + leaf delta-sync-capability { + type boolean; + description + "Delta Synchronization capability"; + } + leaf pcep-up-time { + type uint32; + description + "PCEP Up Time"; + } + leaf keepalives { + type uint32; + description + "Keepalive count"; + } + leaf candidate { + type boolean; + description + "Candidate"; + } + leaf statically-configured { + type boolean; + description + "Statically Configured"; + } + leaf md5-enabled { + type boolean; + description + "MD5 Authentication Enabled"; + } + leaf keychain-enabled { + type boolean; + description + "Keychain based Authentication Enabled"; + } + leaf negotiated-keepalive { + type uint32; + description + "Negotiated KA"; + } + leaf negotated-dead-time { + type uint32; + description + "Negotiated DT"; + } + leaf pce-req-rx { + type uint32; + description + "PCEReq Rx"; + } + leaf pce-req-tx { + type uint32; + description + "PCEReq Tx"; + } + leaf pce-rep-rx { + type uint32; + description + "PCERep Rx"; + } + leaf pce-rep-tx { + type uint32; + description + "PCERep Tx"; + } + leaf pce-err-rx { + type uint32; + description + "PCEErr Rx"; + } + leaf pce-err-tx { + type uint32; + description + "PCEErr Tx"; + } + leaf pce-open-tx { + type uint32; + description + "PCEOpen Tx"; + } + leaf pce-open-rx { + type uint32; + description + "PCEOpen Rx"; + } + leaf pce-rpt-rx { + type uint32; + description + "PCERpt Rx"; + } + leaf pce-rpt-tx { + type uint32; + description + "PCERpt Tx"; + } + leaf pce-upd-rx { + type uint32; + description + "PCEUpd Rx"; + } + leaf pce-upd-tx { + type uint32; + description + "PCEUpd Tx"; + } + leaf pce-init-rx { + type uint32; + description + "PCEInit Rx"; + } + leaf pce-init-tx { + type uint32; + description + "PCEInit Tx"; + } + leaf pce-keepalive-tx { + type uint64; + description + "PCE Keepalive Tx"; + } + leaf pce-keepalive-rx { + type uint64; + description + "PCE Keepalive Rx"; + } + leaf req-reply-min { + type uint64; + description + "Mininum reply time from peer in ms"; + } + leaf req-reply-max { + type uint64; + description + "Maximum reply time from peer in ms"; + } + leaf req-reply-avg { + type uint64; + description + "Average reply time from peer in ms"; + } + leaf request-timeouts { + type uint64; + description + "Request timeout count"; + } + leaf local-sid { + type uint8; + description + "Local PCEP session ID"; + } + leaf remote-sid { + type uint8; + description + "Remote PCEP session ID"; + } + leaf min-keepalive-interval { + type uint8; + description + "Minimum keepalive interval for the peer"; + } + leaf max-dead-interval { + type uint8; + description + "Maximum dead interval for the peer"; + } + list ig-ps { + description + "IGPs"; + uses PCE-PEER-IGP-BAG; + } + } + + grouping PCE-IGP-STATS-BAG { + description + "PCE IGP Stats"; + leaf abr-lookup-min { + type uint64; + description + "ABR Lookup Min"; + } + leaf abr-lookup-max { + type uint64; + description + "ABR Lookup Max"; + } + leaf abr-lookup-avg { + type uint64; + description + "ABR Lookup Avg"; + } + leaf abr-lookup-timeout { + type uint64; + description + "ABR Lookup Timeout"; + } + leaf abr-lookup-complete { + type uint64; + description + "ABR Lookup Complete"; + } + } + + grouping PCE-STATS-BAG { + description + "PCE Stats Information"; + container igp-statistics { + description + "IGP Statistics"; + uses PCE-IGP-STATS-BAG; + } + leaf neighbors { + type uint32; + description + "Neighbor Count"; + } + leaf tunnels { + type uint32; + description + "Tunnel Count"; + } + leaf pce-req-total { + type uint32; + description + "Total number of PCEReq"; + } + leaf pce-req-pending { + type uint32; + description + "Number of pending req"; + } + leaf pce-req-timed-out { + type uint32; + description + "Number of timedout req"; + } + leaf max-file-descriptors { + type uint32; + description + "Maximum number of TCP file descriptors used"; + } + leaf current-file-descriptors { + type uint32; + description + "Number of TCP file descriptors currently in use"; + } + leaf current-pceq-length { + type uint32; + description + "Current PCE queue length"; + } + leaf current-teq-length { + type uint32; + description + "Current TE queue length"; + } + leaf max-pceq-length { + type uint32; + description + "Max PCE queue length"; + } + leaf max-teq-length { + type uint32; + description + "Max TE queue length"; + } + leaf-list maximum-in-queue-depth { + type uint32; + max-elements "3"; + description + "Max Input Queue Depth"; + } + leaf-list average-in-queue-depth { + type uint32; + max-elements "3"; + description + "Average Input Queue Depth"; + } + } + + grouping PCE-LSP-AUTOROUTE-BAG { + description + "LSP Autoroute Information"; + leaf is-used { + type boolean; + description + "Autoroute used flag"; + } + leaf announced { + type boolean; + description + "Autoroute announced"; + } + leaf metric-type { + type Pce-lsp-autoroute-metric; + description + "Metric Type"; + } + leaf metric { + type uint32; + description + "Metric Value"; + } + leaf-list destination { + type inet:ipv4-address; + description + "Destinations"; + } + } + + grouping PCE-LSP-METRIC-BAG { + description + "PCE LSP Metric Object"; + leaf type { + type uint8; + description + "Type"; + } + leaf cost { + type uint32; + description + "Cost"; + } + } + + grouping PCE-LSP-LSPA-BAG { + description + "PCE LSP Attributes Object"; + leaf is-used { + type boolean; + description + "LSPA used flag"; + } + leaf exlude-any { + type uint32; + description + "Exclude Any"; + } + leaf include-any { + type uint32; + description + "Include Any"; + } + leaf include-all { + type uint32; + description + "Include All"; + } + leaf setup { + type uint8; + description + "Setup"; + } + leaf hold { + type uint8; + description + "Hold"; + } + leaf lbit { + type boolean; + description + "L flag"; + } + } + + grouping PCE-LSP-ROUTE-HOP-BAG { + description + "PCE LSP Route Subobject"; + leaf subobj-type { + type uint8; + description + "Route Subobject Type"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv4-prefix-len { + type uint32; + description + "IPv4 Address Prefix Length"; + } + leaf strict { + type boolean; + description + "Strict"; + } + leaf global { + type boolean; + description + "Global"; + } + leaf mpls-label { + type uint32; + description + "MPLS Label in case Segment ID type is MPLS"; + } + leaf segment-id-type { + type Pce-sr-sid; + description + "Segment ID Type"; + } + leaf only-valid-mpls-label { + type boolean; + description + "If this flag is true, SID has only MPLS label + value. TC, S, and TTL fields are considered + invalid"; + } + leaf complete-mpls-label-entry { + type boolean; + description + "If this flag is true, all fields of MPLS labe + entry are valid"; + } + leaf missing-segment-id { + type boolean; + description + "If this flag is true, ERO subobject does not + have SegmentID"; + } + leaf missing-node-adjcency-id { + type boolean; + description + "If this flag is true, ERO subobject does not + have NodeAdjacencyID"; + } + leaf segment-id-exists { + type boolean; + description + "If this field is true, the bag contains + SegmentID value"; + } + leaf segment-id-value { + type uint32; + description + "Contains a SegmentID value in case SegmentID is + valid"; + } + leaf node-adjacency-id-exists { + type boolean; + description + "If this flag is true, the bag contains + NodeAdjacencyID information"; + } + leaf node-id { + type inet:ipv4-address; + description + "Address of the node corresponding the node + SegmentID"; + } + leaf local-address { + type inet:ipv4-address; + description + "Address of the local address corresponding the + adjacency SegmentID"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Address of the remote address corresponding the + adjacency SegmentID"; + } + } + + grouping PCE-LSP-ROUTE-BAG { + description + "PCE LSP Route Object)"; + leaf is-used { + type boolean; + description + "Route Object used flag"; + } + leaf cost { + type uint32; + description + "Cost"; + } + leaf-list address { + type inet:ipv4-address; + description + "List of Addresses"; + } + list subobject { + description + "List of Route Subobjects"; + uses PCE-LSP-ROUTE-HOP-BAG; + } + } + + grouping PCE-LSP-PATH-BAG { + description + "PCE LSP Path"; + container ero { + description + "Explicit Router Object"; + uses PCE-LSP-ROUTE-BAG; + } + container lspa { + description + "LSP Attributes Object"; + uses PCE-LSP-LSPA-BAG; + } + container rro { + description + "Reported Route Object"; + uses PCE-LSP-ROUTE-BAG; + } + leaf bw { + type uint32; + description + "Bandwidth"; + } + leaf is-bw-used { + type boolean; + description + "Bandwidth used flag"; + } + leaf reopt-bw { + type uint32; + description + "Reoptimize bandwidth"; + } + leaf is-reopt-bw-used { + type boolean; + description + "Reoptimize bandwidth used flag"; + } + leaf applied-bw { + type uint32; + description + "Applied bandwidth"; + } + leaf is-applied-bw-used { + type boolean; + description + "Applied bandwidth used flag"; + } + list metric { + description + "List of Metrics"; + uses PCE-LSP-METRIC-BAG; + } + } + + grouping PCE-LSP-IDENTIFIERS-BAG { + description + "PCE LSP Identifiers TLV Information"; + leaf is-used { + type boolean; + description + "LSP Identifier used flag"; + } + leaf sender { + type inet:ipv4-address; + description + "Sender Address"; + } + leaf te-lsp-id { + type uint16; + description + "TE LSP ID"; + } + leaf tunnel-id { + type uint16; + description + "LSPO Tunnel ID"; + } + leaf ext-tunnel-id { + type uint32; + description + "External Tunnel ID"; + } + } + + grouping PCE-LSP-PEER-BAG { + description + "PCE LSP Peer"; + leaf node-identifier { + type string; + description + "Peer Node Identifier"; + } + leaf address { + type inet:ipv4-address; + description + "Peer Ip Address"; + } + } + + grouping PCE-LSP-BAG { + description + "PCE LSP from LSP Database"; + container creator { + description + "Creator Peer of the LSP"; + uses PCE-LSP-PEER-BAG; + } + container delegated { + description + "Owner Peer of the LSP"; + uses PCE-LSP-PEER-BAG; + } + container identifiers { + description + "LSP Identifiers"; + uses PCE-LSP-IDENTIFIERS-BAG; + } + container autoroute { + description + "Auto Route"; + uses PCE-LSP-AUTOROUTE-BAG; + } + leaf source-address { + type inet:ipv4-address; + description + "Source IP Address"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination IP Address"; + } + leaf symbolic-name-xr { + type string; + description + "Symbolic Name"; + } + leaf session-internal-lsp-id { + type uint32; + description + "Session internal ID"; + } + leaf stateful-request-parameter-id { + type uint32; + description + "SRP ID"; + } + leaf request-queue-size { + type uint8; + description + "Request queue size"; + } + leaf delegatable { + type boolean; + description + "LSP delegatable"; + } + leaf operational { + type Pce-lsp-oper-state; + description + "LSP operational status"; + } + leaf administrative { + type boolean; + description + "LSP administrative status"; + } + leaf cleanup-timer-exp { + type int32; + description + "Deprecated"; + } + leaf delegation-timer-exp { + type int32; + description + "LSP delegation timer expiration in sec"; + } + leaf create { + type boolean; + description + "LSPO create flag"; + } + leaf state-timer-exp { + type int32; + description + "LSP state-timeout time expiration"; + } + leaf lspo-is-used { + type boolean; + description + "LSP Object used flag"; + } + leaf forward-class-id { + type uint32; + description + "Forward Class ID"; + } + leaf load-share { + type uint32; + description + "Load share factor"; + } + leaf path-setup-type { + type uint8; + description + "Path setup type"; + } + leaf binding-sid { + type uint32; + description + "Binding SID"; + } + leaf-list backup-path { + type inet:ipv4-address; + description + "Backup Path"; + } + list paths { + description + "Array of paths"; + uses PCE-LSP-PATH-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub5.yang new file mode 100644 index 0000000..e68eb12 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub5.yang @@ -0,0 +1,15502 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub5 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-te-oper-sub6 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tunnel-state-enum { + type enumeration { + enum "tunnel-state-unknown" { + description + "No known state"; + } + enum "new" { + description + "Tunnel is new"; + } + enum "preempting" { + description + "Tunnel is being preempted"; + } + enum "admitting" { + description + "Path being admitted"; + } + enum "half-admitted" { + description + "Path was admitted partially and was then + rejected"; + } + enum "admitted" { + description + "Path is already admitted successfully"; + } + enum "reservation-admitting" { + description + "Reservation being admitted"; + } + enum "reservation-half-admitted" { + description + "Reservation was admitted partially and was then + rejected"; + } + enum "reservation-admitted" { + description + "Reservation is already admitted successfully"; + } + } + description + "Types of tunnel admission states"; + } + + typedef Bandwidth-state-enum { + type enumeration { + enum "bandwidth-held" { + description + "Bandwidth is held, is not guaranteed when it is + time to reserve"; + } + enum "bandwidth-reserved" { + description + "Bandwidth is reserved and can be used for + forwarding"; + } + enum "bandwidth-unknown" { + description + "Bandwidth is unknown"; + } + } + description + "Types of bandwidth states"; + } + + typedef Bandwidth-accounting-collection { + type enumeration { + enum "rsvp-te" { + description + "RSVP TE"; + } + enum "segment-routing" { + description + "Segment Routing"; + } + } + description + "Types of bandwidth accounting collection"; + } + + typedef Bandwidth-type-enum { + type enumeration { + enum "pool0" { + description + "Bandwidth from the pool0"; + } + enum "pool1" { + description + "Pool1 bandwidth"; + } + enum "unknown" { + description + "Unknown Bandwidth"; + } + } + description + "Types of bandwidth pools"; + } + + typedef Admission-policy { + type enumeration { + enum "reject-all" { + description + "Deprecated"; + } + enum "allow-all" { + description + "Deprecated"; + } + enum "reject-huge" { + description + "Deprecated"; + } + enum "allow-if-room" { + description + "Deprecated"; + } + } + description + "Deprecated"; + } + + typedef Signaling-agent-enum { + type enumeration { + enum "no-signaling" { + description + "Deprecated - No signaling protocol configured"; + } + enum "rsvp-signaling" { + description + "Deprecated - RSVP is the signaling protocol"; + } + } + description + "Deprecated - Signaling Agent"; + } + + typedef Resource-provider { + type enumeration { + enum "resource-provider-none" { + description + "Unknown"; + } + enum "packet-switch-capable" { + description + "Packet Switch Capable"; + } + enum "time-division-multiplex" { + description + "TDM - SONET/SDH"; + } + enum "lambda-switch-capable" { + description + "Lambda Switch Capable"; + } + enum "fiber-switch-capable" { + description + "Fiber Switch Capable"; + } + enum "g709odu-capable" { + description + "Resource provider of type G709-ODU"; + } + } + description + "The resource provider type"; + } + + typedef Link-direction-enum { + type enumeration { + enum "link-direction-up-stream" { + description + "Upstream direction, Tail to Head"; + } + enum "link-direction-down-stream" { + description + "Upstream direction, Head to Tail"; + } + enum "link-direction-unknown" { + description + "Unknown direction"; + } + } + description + "Link direction types"; + } + + typedef Bandwidth-unit-enum { + type enumeration { + enum "kilo-bits-per-second" { + description + "kilobits per second"; + } + enum "kilo-bytes-per-second" { + description + "kilobytes per second"; + } + } + description + "Types of bandwidth units"; + } + + typedef Flooding-trigger { + type enumeration { + enum "flooding-reason-unknown" { + description + "Not known what caused flooding"; + } + enum "link-up" { + description + "TE link came Up"; + } + enum "link-down" { + description + "TE link went Down"; + } + enum "threshold-up" { + description + "Up threshold crossed in pool0"; + } + enum "threshold-down" { + description + "Down threshold crossed in pool0"; + } + enum "threshold-up-pool1" { + description + "Up threshold crossed in pool1"; + } + enum "threshold-down-pool1" { + description + "Down threshold crossed in pool1"; + } + enum "timer-expired" { + description + "Periodic timer expired"; + } + enum "bandwidth-change" { + description + "Link BW changed"; + } + enum "user" { + description + "User triggered flooding"; + } + enum "rsvp-timeout" { + description + "RSVP timed out"; + } + enum "rsvp-reconnect" { + description + "RSVP reconnected"; + } + enum "te-exited" { + description + "TE-control process exited"; + } + enum "srlg-change" { + description + "Link SRLG changed"; + } + enum "hw-oor-green" { + description + "HW resources are green"; + } + enum "hw-oor-yellow" { + description + "HW resources are yellow"; + } + enum "hw-oor-red" { + description + "HW resources are red"; + } + enum "hw-oor-recovery-duration-expired" { + description + "HW Resources are back to normal and the + transition period is over"; + } + enum "lsp-oor-green" { + description + "LSP resources are green"; + } + enum "lsp-oor-yellow" { + description + "LSP resources are yellow"; + } + enum "lsp-oor-red" { + description + "LSP resources are red"; + } + enum "lsp-oor-recovery-duration-expired" { + description + "LSP resources are back to normal and the + transition period is over"; + } + enum "max-res-bandwidth-threshold-up" { + description + "Max reservable bandwidth up threshold crossed"; + } + enum "max-res-bandwidth-threshold-down" { + description + "Max reservable bandwidth down threshold crossed"; + } + } + description + "Types of flooding triggers"; + } + + typedef Te-auto-tun-exp-path-hop { + type enumeration { + enum "ipv4-address-type" { + description + "IPv4 Address Type"; + } + enum "mpls-label-type" { + description + "MPLS Label Type"; + } + enum "ipv4-and-label-type" { + description + "IPv4 Address and MPLS Label Type"; + } + } + description + "Auto tunnel hop type"; + } + + typedef In-addr-ipv6 { + type inet:ipv6-address; + description + "In addr ipv6"; + } + + typedef Lsp-oor-state { + type enumeration { + enum "lsp-oor-green" { + description + "LSP numbers are in normal state"; + } + enum "lsp-oor-yellow" { + description + "LSP numbers exceed the minor threshold"; + } + enum "lsp-oor-red" { + description + "LSP numbers exceed the major threshold"; + } + } + description + "LSP OOR states"; + } + + typedef Te-s2l-output-rw-explicit-null { + type enumeration { + enum "tes2l-output-rw-exp-null" { + value 0; + description + "No explicit null imposed"; + } + enum "tes2l-output-rw-exp-null-v4" { + value 1; + description + "IPv4 explicit null imposed"; + } + enum "tes2l-output-rw-exp-null-v6" { + value 2; + description + "IPv6 explicit null imposed"; + } + } + description + "Explicit-null type"; + } + + typedef Mpls-te-tunnels-process-status { + type enumeration { + enum "not-running" { + description + "MPLS TE process is not running"; + } + enum "running" { + description + "MPLS TE process is running"; + } + enum "not-registered-with-rsvp" { + description + "MPLS TE process has not registered with RSVP"; + } + } + description + "Mpls te tunnels process status"; + } + + typedef Mpls-te-frr-sharing { + type enumeration { + enum "sharing-none" { + description + "No Fate Sharing"; + } + enum "sharing-pri-oi-backup-oi-parent" { + description + "Primary Sharing outgoing interface with the + Parent of the backup outgoing interface"; + } + enum "sharing-pri-oi-parent-backup-oi" { + description + "Primary Sharing Parent of the outgoing + interface with the backup outgoing interface"; + } + enum "sharing-pri-oi-parent-backup-oi-parent" { + description + "Primary Sharing Parent of the outgoing + interface with the Parent of the backup + outgoing interface"; + } + } + description + "FRR sharing type"; + } + + typedef Mpls-te-bw-limit { + type enumeration { + enum "bandwidth-limited" { + description + "Bandwidth is limited"; + } + enum "bandwidth-unlimited" { + description + "Bandwidth is unlimited"; + } + enum "bandwidth-none" { + description + "Bandwidth is None"; + } + } + description + "Bandwidth limit type"; + } + + typedef Mpls-te-backup-usage { + type enumeration { + enum "backup-not-protecting" { + description + "Backup is not protecting any LSP"; + } + enum "backup-protecting" { + description + "Backup is protecting at least one LSP"; + } + } + description + "FRR backup tunnel usage status"; + } + + typedef Mpls-te-backup { + type enumeration { + enum "backup-static" { + description + "Backup type is static"; + } + enum "backup-auto" { + description + "Backup type is auto-tunnel"; + } + } + description + "FRR backup tunnel type"; + } + + typedef Mpls-te-backup-status { + type enumeration { + enum "backup-none" { + description + "Backup not found"; + } + enum "backup-unused" { + description + "Backup status undefined"; + } + enum "backup-next-next-hop" { + description + "Backup is next next hop safe (node protection)"; + } + enum "backup-next-hop" { + description + "Backup is next hop safe (link protection)"; + } + enum "backup-next-next-hop-srlg" { + description + "Backup is next next hop and SRLG safe (node + protection)"; + } + enum "backup-next-hop-srlg" { + description + "Backup is next hop and SRLG safe (link + protection)"; + } + } + description + "FRR backup status"; + } + + typedef Te-sync-pending-reason { + type enumeration { + enum "current-lspoos" { + description + "Current LSP OOS"; + } + enum "reopt-lspoos" { + description + "Reopt LSP OOS"; + } + enum "standby-lspoos" { + description + "Standby LSP OOS"; + } + enum "standby-reopt-lspoos" { + description + "Standby Reopt LSP OOS"; + } + enum "restore-lspoos" { + description + "Restore LSP OOS"; + } + enum "invalid-sync-id" { + description + "Invalid internal ID"; + } + enum "null-pointer" { + description + "Null pointer"; + } + enum "pending-flag" { + description + "Pending flag set"; + } + enum "del-from-act-flag" { + description + "Deleted by Active set"; + } + enum "oos-from-act-flag" { + description + "OOS with Active set"; + } + enum "unknown" { + description + "Unknown"; + } + } + description + "Te sync pending reason"; + } + + typedef Te-sync-not-ready-reason { + type enumeration { + enum "idt-in-progress" { + description + "IDT in progress"; + } + enum "standby-not-connected" { + description + "Standby not connected"; + } + enum "collaborator-disconnected" { + description + "Collaborator disconnected"; + } + enum "collaborator-timeout" { + description + "Collaborator timeout"; + } + enum "unknown" { + description + "Unknown"; + } + } + description + "Te sync not ready reason"; + } + + typedef Te-sync-status-show { + type enumeration { + enum "master-sync-status-show" { + description + "Master sync status information"; + } + enum "slave-sync-status-show" { + description + "Slave sync status information"; + } + } + description + "Te sync status show"; + } + + typedef Mpls-te-dste-class-status { + type enumeration { + enum "configured" { + description + "The TE class is explicitely configured"; + } + enum "default" { + description + "The TE class is a default"; + } + enum "unused" { + description + "The TE class is unused due to a configuration + conflict"; + } + } + description + "DSTE class status"; + } + + typedef Te-proc-role { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "v1-active" { + description + "V1 Active"; + } + enum "v2-active" { + description + "V2 Active"; + } + enum "v1-standby" { + description + "V1 Standby"; + } + enum "v2-standby" { + description + "V2 Standby"; + } + enum "v1-active-post-big-bang" { + description + "V1 Active post big bang"; + } + enum "v1-standby-post-big-bang" { + description + "V1 Standby post big bang"; + } + enum "number-of-role" { + description + "Number of role"; + } + } + description + "TE Process Role"; + } + + typedef Te-acl { + type enumeration { + enum "acl-type-unknown" { + value 0; + description + "Unknown type of ACL"; + } + enum "acl-type-access-list" { + value 1; + description + "Access-list type of ACL"; + } + enum "acl-type-prefix-list" { + value 2; + description + "Prefix-list type of ACL"; + } + enum "acl-type-unregistered" { + value 3; + description + "ACL failed to register to ACL infra"; + } + } + description + "Te acl"; + } + + typedef Mpls-te-p2mp-timer { + type enumeration { + enum "lmrib-restart" { + value 0; + description + "P2MP Local Multicast RIB restart"; + } + enum "lmrib-recovery" { + value 1; + description + "P2MP LMRIB recovery"; + } + enum "rsvp-restart" { + value 2; + description + "P2MP RSVP restart"; + } + enum "lsd-restart" { + value 3; + description + "LSD restart"; + } + enum "lsd-recovery" { + value 4; + description + "LSD recovery"; + } + enum "clear-in-progress-bandwidth" { + value 5; + description + "Timer to clear the inprogress bandwidth for all + the nodes in the topology"; + } + enum "rsi-restart" { + value 6; + description + "RSI restart"; + } + enum "rsi-recovery" { + value 7; + description + "RSI recovery"; + } + enum "ipv4-caps-replay" { + value 8; + description + "Timer to timeout the replay of IPv4 Caps after + a TE or IM restart"; + } + enum "retry-acl-registration-timer" { + value 9; + description + "Timer to retry ACL registration"; + } + enum "mpls-te-exit" { + value 10; + description + "MPLS TE Exit"; + } + enum "mpls-te-nsr-peer-restart" { + value 11; + description + "MPLS TE NSR Peer Restart"; + } + enum "mpls-te-issu-peer-restart" { + value 12; + description + "MPLS TE ISSU Peer Restart"; + } + enum "bfd-restart" { + value 13; + description + "BFD restart"; + } + enum "bfd-recovery" { + value 14; + description + "BFD recovery"; + } + enum "im-oc-restart" { + value 15; + description + "IM Optical Connection restart"; + } + enum "im-oc-recovery" { + value 16; + description + "IM Optical Connection recovery"; + } + enum "rib-restart" { + value 17; + description + "RIB restart"; + } + enum "rib-recovery" { + value 18; + description + "RIB recovery"; + } + enum "rib-next-hop-route-cleanup" { + value 19; + description + "RIB next-hop route cleanup"; + } + enum "rsi-srlg-producer-retry" { + value 20; + description + "RSI SRLG-producer connection retry"; + } + enum "eoc-reg-retry" { + value 21; + description + "End-of-Config registration retry"; + } + enum "fib-restart" { + value 22; + description + "FIB restart"; + } + enum "fib-recovery" { + value 23; + description + "FIB recovery"; + } + enum "fib-next-hop-route-cleanup" { + value 24; + description + "FIB next-hop route cleanup"; + } + enum "fib-next-hop-register-retry" { + value 25; + description + "FIB next-hop register retry"; + } + enum "tun-backend-scan-retry" { + value 26; + description + "Tunnel Backend Scan Retry"; + } + enum "tunnel-checkpoint-list-service" { + value 27; + description + "Tunnel Checkpoint list service"; + } + enum "tunnel-service-binding-sid-allocation-retry" { + value 28; + description + "Tunnel Service Binding SID Allocation Retry"; + } + enum "timer-not-used" { + value 29; + description + "Do not use"; + } + } + description + "P2MP timer types"; + } + + typedef Mpls-te-afi { + type enumeration { + enum "ipv4-unicast" { + description + "MPLS TE IPv4 unicast"; + } + enum "ipv4-multicast" { + description + "MPLS TE IPv4 multicast"; + } + enum "ipv6-unicast" { + description + "MPLS TE IPv6 unicast"; + } + enum "ipv6-multicast" { + description + "MPLS TE IPv6 multicast"; + } + } + description + "Mpls te afi"; + } + + typedef Mpls-te-tunnel-announce { + type enumeration { + enum "announce-type-not-set" { + description + "Tunnel announcement type not set"; + } + enum "autoroute" { + description + "Autoroute-announced tunnel"; + } + enum "forward-adjacency" { + description + "Forwarding-adjacency tunnel"; + } + } + description + "Type of TE tunnel announcement to IGP"; + } + + typedef Te-target-addr { + type enumeration { + enum "invalid-te-target-type" { + description + "Invalid TE Target Type"; + } + enum "te-target-type-ipv4" { + description + "TE Target IPv4 Type"; + } + enum "te-target-type-label" { + description + "TE Target Label Type"; + } + } + description + "TE Target Address Type"; + } + + typedef Flex-lsp-lockout-origination { + type enumeration { + enum "lockout-origination-none" { + description + "Flex LSP Lockout Origination None"; + } + enum "lockout-origination-local" { + description + "Flex LSP Lockout Originated From Local"; + } + enum "lockout-origination-remote" { + description + "Flex LSP Lockout Originated From Remote"; + } + } + description + "TE Flex LSP Lockout Origination"; + } + + typedef Te-rev-ero-reject-reasons { + type enumeration { + enum "none" { + description + "None"; + } + enum "bad-reverse-ero" { + description + "Bad Reverse ERO"; + } + enum "tie-rejected" { + description + "Tie Rejected"; + } + enum "standby-not-required" { + description + "Standby Not Required"; + } + enum "admin-state" { + description + "Admin State"; + } + enum "priority" { + description + "Priority"; + } + enum "class-type" { + description + "Class Type"; + } + enum "bad-association" { + description + "Bad Associated Tunnel"; + } + } + description + "TE Reverse ERO Reject Reasons"; + } + + typedef Mte-path-option { + type enumeration { + enum "none" { + description + "No Path Option type"; + } + enum "dynamic" { + description + "Dynamic Path Option type"; + } + enum "explicit" { + description + "Explicit Path Option type"; + } + enum "no-ero" { + description + "No ERO Path Option type"; + } + enum "segment-routing" { + description + "One SID SegmentRouting Path Option type"; + } + enum "po-count" { + description + "Number of Path option types"; + } + } + description + "Path Option Type"; + } + + typedef Mpls-te-mgmt-gmpls-label-origin { + type enumeration { + enum "not-set" { + description + "Not set"; + } + enum "uni-c" { + description + "UNI C"; + } + enum "uni-n" { + description + "UNI N"; + } + } + description + "GMPLS label source"; + } + + typedef Mpls-te-tunnel-state { + type enumeration { + enum "state-down" { + description + "Tunnel state is down"; + } + enum "state-up" { + description + "Tunnel state is up"; + } + enum "state-down-policy" { + description + "Tunnel state is down as it has been deactivated + administratively"; + } + enum "state-lockout" { + description + "Tunnel state is lockout"; + } + } + description + "Tunnel state"; + } + + typedef Mpls-te-soft-preemption-resolution { + type enumeration { + enum "soft-preemption-resolution-none" { + value 0; + description + "No Soft Preemption Resolution"; + } + enum "soft-preemption-resolution-pending" { + value 1; + description + "Soft Preemption has no resolution since it is + still pending"; + } + enum "soft-preemption-resolution-reopt-completed" { + value 2; + description + "The soft preempted LSP has been reoptimized"; + } + enum "soft-preemption-resolution-teardown" { + value 3; + description + "The soft preempted LSP has been torn"; + } + enum "soft-preemption-resolution-frr-triggered" { + value 4; + description + "The soft preempted LSP has been fast rerouted"; + } + enum "soft-preemption-resolution-path-protetion-switchover" { + value 5; + description + "The soft preempted LSP was switched with the + protection LSP"; + } + } + description + "The possible ways for soft preemption to end"; + } + + typedef Mpls-te-iep-hop { + type enumeration { + enum "iep-hop-type-unknown" { + description + "Unknown IEP hop type"; + } + enum "iep-hop-type-strict-next" { + description + "Strict next IEP hop type"; + } + enum "iep-hop-type-exclude" { + description + "Exclude IEP hop type"; + } + enum "iep-hop-type-exclude-node" { + description + "Exclude Node IEP hop type"; + } + enum "iep-hop-type-exclude-srlg" { + description + "Exclude SRLG IEP hop type"; + } + enum "iep-hop-type-loose-next" { + description + "Loose next IEP hop type"; + } + enum "iep-hop-type-next" { + description + "Next IEP hop type"; + } + enum "iep-hop-type-share-srlg" { + description + "Weighted SRLG IEP hop type"; + } + } + description + "Explicit path hop type"; + } + + typedef Mpls-te-pce-fail-reasons { + type enumeration { + enum "te-pce-fail-no-reason" { + description + "No reason"; + } + enum "te-pce-fail-no-pce" { + description + "No PCE to send request"; + } + enum "te-pce-fail-sub-pool" { + description + "Sub pool bandwidth tunnel"; + } + enum "te-pce-fail-intra-area" { + description + "Intra Area Tunnel"; + } + enum "te-pce-fail-gmpls" { + description + "GMPLS Tunnel"; + } + enum "te-pce-fail-pending" { + description + "Pending request"; + } + enum "te-pce-fail-oor" { + description + "OOR condition"; + } + enum "te-pce-fail-bidirectional" { + description + "Bi directional"; + } + enum "te-pce-fail-no-path" { + description + "No Path received from PCE"; + } + enum "te-pce-fail-request-timeout" { + description + "Request Timeout"; + } + } + description + "PCE failure reasons"; + } + + typedef Te-autobw-app-rej { + type enumeration { + enum "application-allowed" { + description + "Application allowed"; + } + enum "auto-bw-disabled" { + description + "Auto-bw disabled"; + } + enum "tunnel-is-down" { + description + "TunnelIsDown"; + } + enum "tunnel-is-frr" { + description + "TunnelIsFRRActive"; + } + enum "tunnel-is-backup" { + description + "TunnelIsBackup"; + } + enum "tunnel-is-lock-down" { + description + "TunnelIsLockdown"; + } + } + description + "Reason for auto-bandwidth application rejection"; + } + + typedef Te-autobw-app-trigger { + type enumeration { + enum "application-none" { + description + "No BW Application"; + } + enum "application-periodic" { + description + "BW Application Periodic"; + } + enum "application-manual" { + description + "BW Application Manual"; + } + enum "application-overflow" { + description + "BW Application Overflow"; + } + enum "application-underflow" { + description + "BW Application Underflow"; + } + } + description + "Auto-bandwidth application trigger"; + } + + typedef Te-hop-limit-ignore { + type enumeration { + enum "ignore-unknown" { + description + "Ignore for an unknown reason"; + } + enum "ignore-explicit" { + description + "Ignore due to explicit path option"; + } + enum "ignore-pce" { + description + "Ignore due to PCE path option"; + } + } + description + "Te hop limit ignore"; + } + + typedef Mpls-te-metric-qualifier { + type enumeration { + enum "metric-default" { + description + "Default metric"; + } + enum "metric-global" { + description + "This metric was specified globally"; + } + enum "metric-interface" { + description + "This metric was specified on this particular + tunnel"; + } + } + description + "Metric qualifier"; + } + + typedef Te-path-selection-tiebreaker { + type enumeration { + enum "min-fill" { + value 1; + description + "Min Fill"; + } + enum "max-fill" { + value 2; + description + "Max Fill"; + } + enum "random" { + value 3; + description + "Random"; + } + } + description + "Path selection tiebreaker type"; + } + + typedef Mpls-te-loadshare { + type enumeration { + enum "loadshare-equal" { + description + "Equal load-sharing on this tunnel"; + } + enum "loadshare-bandwidth-based" { + description + "Loadshare inferred from bandwidth configuration"; + } + enum "loadshare-configured" { + description + "Loadshare determined from explicit + configuration"; + } + } + description + "load-share type"; + } + + typedef Te-destination-state { + type enumeration { + enum "destination-disabled" { + description + "The destination is disabled in configuration"; + } + enum "destination-down" { + description + "The destination is down"; + } + enum "destination-up" { + description + "The destination is up"; + } + } + description + "P2MP destination state"; + } + + typedef Mpls-mte-tunnel-fail-reason { + type enumeration { + enum "mtunnel-fail-reason-unapplicable" { + description + "None of the reasons below is valid"; + } + enum "mtunnel-fail-reason-shutdown" { + description + "Tunnel interface is shutdown"; + } + enum "mtunnel-fail-reason-no-destination" { + description + "No destination is configured"; + } + enum "mtunnel-fail-reason-no-path-option" { + description + "No path option is configured"; + } + enum "mtunnel-fail-reason-no-source" { + description + "No ip source address is configured"; + } + enum "mtunnel-fail-reason-collaborator-disc" { + description + "Collaborator not connected"; + } + enum "mtunnel-fail-reason-unmatched-class-type-priority" { + description + "The class type and priority do not match any of + the TE-classes"; + } + enum "mtunnel-fail-reason-invalid-bidir-cfg" { + description + "Configured bidirectional, incomplete switching + capability config"; + } + enum "mtunnel-fail-reason-po-switchover" { + description + "Manual path-option switchover failed due to + destination(s) down"; + } + enum "mtunnel-fail-reason-no-tunnel-id" { + description + "No tunnel-id is configured"; + } + enum "mtunnel-fail-reason-no-link" { + description + "Tunnel's egress link doesn't exist"; + } + enum "mtunnel-fail-reason-link-shutdown" { + description + "Tunnel's egress link is shut down"; + } + enum "mtunnel-fail-reason-link-lmp-down" { + description + "LMP is down on the tunnel's egress link"; + } + enum "mtunnel-fail-reason-source-destination-same" { + description + "Tunnel source and destination addresses are the + same"; + } + enum "mtunnel-fail-reason-otn-no-odu-level" { + description + "OTN tunnel does not have odu-level set"; + } + enum "mtunnel-fail-reason-bidir-assoc-id-missing" { + description + "Bidirectional is configured without Association + ID"; + } + enum "mtunnel-fail-reason-bfdgal-on-unidirectional" { + description + "BFD GAL mode is supported on bidirectional + tunnels only"; + } + enum "mtunnel-fail-reason-destination-invalid" { + description + "Termination is supported with unnumbered + destination only"; + } + enum "mtunnel-fail-reason-termination-bandwidth-mismatch" { + description + "Termination bandwidth should match signalled + bandwidth"; + } + enum "mtunnel-fail-reason-termination-has-protection" { + description + "Termination supports only working path-option"; + } + enum "mtunnel-fail-reason-termination-has-invalid-src-dest-ifindex" { + description + "Termination case must have source and + destination valid ifindex"; + } + } + description + "Reason for tunnel being down"; + } + + typedef Mte-tunnel-oper-state { + type enumeration { + enum "tunnel-state-oper-unknown" { + description + "Tunnel is in unknown state"; + } + enum "operational-down" { + description + "Tunnel is in operational down state"; + } + enum "operational-up" { + description + "Tunnel is in operational up state"; + } + } + description + "Tunnel operational state"; + } + + typedef Mte-tunnel-admin-state { + type enumeration { + enum "tunnel-state-admin-unknown" { + description + "Tunnel is in unknown state"; + } + enum "admin-shutdown" { + description + "Tunnel is in admin shutdown state"; + } + enum "admin-up" { + description + "Tunnel is in admin up state"; + } + } + description + "Tunnel admin state"; + } + + typedef Te-vif-bfd-encap-mode { + type enumeration { + enum "ip" { + description + "BFD Encap Mode IP"; + } + enum "gal" { + description + "BFD Encap Mode GAL"; + } + } + description + "BFD Encap Mode"; + } + + typedef Mpls-te-bfd-session-down-action1 { + type enumeration { + enum "reopt" { + value 0; + description + "BFD session down action reoptimization"; + } + enum "re-setup" { + value 1; + description + "BFD session down action tear down and resetup"; + } + } + description + "BFD session down action"; + } + + typedef Mte-reopt-trigger { + type enumeration { + enum "no-trigger" { + description + "No trigger"; + } + enum "timer-trigger" { + description + "Timer Trigger"; + } + enum "bandwidth-change-trigger" { + description + "Bandwidth Change Trigger"; + } + enum "auto-bandwidth-overflow-trigger" { + description + "Auto Bandwidth Overflow Trigger"; + } + enum "auto-bandwidth-underflow-trigger" { + description + "Auto Bandwidth Underflow Trigger"; + } + enum "auto-bandwidth-adjustment-trigger" { + description + "Auto Bandwidth Adjustment Trigger"; + } + enum "metric-type-change-trigger" { + description + "Metric Type Change Trigger"; + } + enum "user-trigger" { + description + "User Trigger"; + } + enum "frr-trigger" { + description + "FRR Trigger"; + } + enum "remerge-error-trigger" { + description + "Remerge Error Trigger"; + } + enum "preferred-path-trigger" { + description + "Reception of the preferred path exists path + error"; + } + enum "preferred-tree-trigger" { + description + "Reception of the preferred tree exists path + error"; + } + enum "due-to-maximum-metric" { + description + "Reoptimization triggered due to receiving an + LSA with MAX metric"; + } + enum "path-option-switchover-trigger" { + description + "Path option switchover"; + } + enum "path-protection-switchover-trigger" { + description + "Path Protection Switchover Trigger"; + } + enum "iep-enable-reoptimization-trigger" { + description + "IEP Enable Reoptimization Trigger"; + } + enum "affinity-path-verification-fail-trigger" { + description + "Affinity path verification failure trigger"; + } + enum "cost-limit-path-verification-fail-trigger" { + description + "Cost limit path verification failure trigger"; + } + enum "soft-preemption-trigger" { + description + "Soft preemption trigger"; + } + enum "iep-changed" { + description + "Explicit path has changed"; + } + enum "po-changed" { + description + "Path-option has changed"; + } + enum "dest-changed" { + description + "Destination has changed"; + } + enum "reopt-try-to-force-it" { + description + "Reoptimization with try-to-force-it option"; + } + enum "topology-change-trigger" { + description + "Topology change trigger"; + } + enum "reopt-link-up-event" { + description + "Topology link-up event trigger"; + } + enum "bfd-session-down-trigger" { + description + "FRR enabled and BFD session down trigger"; + } + enum "reverse-assoc-s2l-received-trigger" { + description + "Reverse associated S2L received trigger"; + } + enum "gmpls-uni-multilayer-trigger" { + description + "Multilayer recovery for GMPLS-UNI"; + } + enum "gmpls-uni-user-trigger" { + description + "User-triggered GMPLS-UNI reopt request"; + } + enum "path-selection-tiebreaker-change-trigger" { + description + "Path Selection Tiebreaker Change Trigger"; + } + enum "sr-egress-path-change-trigger" { + description + "Segment-Routing Egress Path Change Trigger"; + } + enum "overload-bit-trigger" { + description + "Overload-bit set on current path"; + } + enum "pce-trigger" { + description + "PCE Trigger"; + } + enum "lockout-metric-trigger" { + description + "Reoptimization triggered due to receiving an + LSA with Lockout metric"; + } + enum "bfd-session-config-change-trigger" { + description + "BFD session configuration change"; + } + enum "higher-priority-po-change-trigger" { + description + "Higher priority path option changed"; + } + enum "sr-area-spf-support-change-trigger" { + description + "Segment-Routing IGP Area SPF Support Change + Trigger"; + } + enum "trigger-not-used" { + description + "Not used"; + } + } + description + "Reoptimization trigger"; + } + + typedef Mpls-te-reopt-decision-reason { + type enumeration { + enum "decision-reason-none" { + value 0; + description + "No reason"; + } + enum "not-superset" { + value 1; + description + "Reopt LSP not signalled because it is not a + superset of the current LSP"; + } + enum "superset" { + value 2; + description + "Reopt LSP is signalled because it is a superset + of the current LSP"; + } + enum "lsp-frr-active" { + value 3; + description + "Reopt LSP is signalled because the current LSP + is in FRR"; + } + enum "bandwidth-change" { + value 4; + description + "Reopt LSP is signalled because there is a + bandwidth change"; + } + enum "metric-type-change" { + value 5; + description + "Reopt LSP is signalled because there is a + metric type change"; + } + enum "better-path-option-indexes" { + value 6; + description + "Reopt LSP is signalled because it has better + path option indexes than the current LSP"; + } + enum "inter-area-preferred-path-exists" { + value 7; + description + "Reopt LSP is signalled because an inter-area + preferred path exists"; + } + enum "inter-area-preferred-tree-exists" { + value 8; + description + "Reopt LSP is signalled because an inter-area + preferred tree exists"; + } + enum "worse-path-option-indexes" { + value 9; + description + "Reopt LSP is not signalled because it has worse + path option indexes than the current LSP"; + } + enum "better-cumulative-metric" { + value 10; + description + "Reopt LSP is signalled because it has better + path option indexes than the current LSP"; + } + enum "worse-cumulative-metric" { + value 11; + description + "Reopt LSP is not signalled because it has worse + cumulative metric than the current LSP"; + } + enum "identical" { + value 12; + description + "Reopt LSP is not signalled because it is + identical to the current LSP"; + } + enum "no-s2-ls" { + value 13; + description + "Reopt LSP is not signalled because it has no + S2Ls"; + } + enum "no-current-lsp" { + value 14; + description + "Reopt LSP not signalled, no current LSP"; + } + enum "user-path-option-switchover" { + value 15; + description + "Reopt LSP signalled due to user requested + path-option switchover"; + } + enum "better-hops" { + value 16; + description + "Reopt LSP is signalled because it has more S2Ls + with less hops than the current LSP"; + } + enum "worse-hops" { + value 17; + description + "Reopt LSP is not signalled because it has less + S2Ls with less hops than the current LSP"; + } + enum "pce-force" { + value 18; + description + "PCE based reoptimization triggered by CLI with + force option than the current LSP"; + } + enum "affinity-changed" { + value 19; + description + "Reopt LSP is signalled because there is an + affinity change"; + } + enum "cost-limit" { + value 20; + description + "Reopt LSP is signalled because the path cost + limit is crossed"; + } + enum "sig-timeout" { + value 21; + description + "Re-opt LSP could not be signalled within + signalling timeout"; + } + enum "not-superset-inst-timer-expired" { + value 22; + description + "Re-opt LSP is not a superset when the install + timer expired"; + } + enum "path-verifiction-failed" { + value 23; + description + "Re-opt LSP path verification failed"; + } + enum "soft-preemption-recovery" { + value 24; + description + "Re-opt LSP is signalled because of soft + preemption recovery"; + } + enum "iep-changed" { + value 25; + description + "Re-opt LSP is signalled because the inuse + explicit-path has changed"; + } + enum "po-changed" { + value 26; + description + "Re-opt LSP is signalled because the inuse + path-option has changed"; + } + enum "dest-changed" { + value 27; + description + "Re-opt LSP is signalled because the destination + has changed"; + } + enum "better-igp-area" { + value 28; + description + "Reopt LSP is signalled because its path was + calculated in a preferred IGP-area to the + current LSP"; + } + enum "worse-igp-area" { + value 29; + description + "Reopt LSP is not signalled because its path was + calculated in a worse IGP-area than the current + LSP"; + } + enum "better-bandwidth-load-balancing" { + value 30; + description + "Reopt LSP is signalled because it gives better + bandwidth load balancing than the current LSP"; + } + enum "worse-bandwidth-load-balancing" { + value 31; + description + "Reopt LSP is not signalled because it gives + worse bandwidth load balancing than the current + LSP"; + } + enum "bfd-session-down" { + value 32; + description + "Reopt LSP is signaled because BFD sesssion went + down"; + } + enum "auto-pcc-reopt" { + value 33; + description + "Re-opt LSP is signalled because it was + triggered by a PCE"; + } + enum "sr-egress-path-changed" { + value 34; + description + "Reopt LSP is signaled because the egress + path(s) changed"; + } + enum "overload-bit-set" { + value 35; + description + "Reopt LSP is signalled because the current LSP + uses an OL node"; + } + enum "better-diversity" { + value 36; + description + "Reopt LSP is signalled because it has better + diversity than the current LSP"; + } + enum "worse-diversity" { + value 37; + description + "Reopt LSP is not signalled because it has worse + diversity than the current lsp"; + } + enum "bfd-session-type-changed" { + value 38; + description + "Reopt LSP is signalled because BFD sesssion + tyep is changed"; + } + enum "lsp-drop-mode" { + value 39; + description + "Reopt LSP is signalled because current LSP is + in drop mode"; + } + enum "strict-spf" { + value 40; + description + "Reopt LSP is signalled because it uses strict + SPF while current doesn't"; + } + enum "intra-area" { + value 41; + description + "Reopt LSP is signalled because it has better + intra-areaness"; + } + enum "not-used" { + value 42; + description + "Not used, must be last entry"; + } + } + description + "Reoptimization decision"; + } + + typedef Mpls-te-lsp-wrap-state { + type enumeration { + enum "lsp-wrap-not-ready" { + description + "LSP Wrap state is not ready"; + } + enum "lsp-wrap-active" { + description + "LSP Wrap state is active"; + } + enum "lsp-wrap-ready" { + description + "LSP Wrap state is ready"; + } + } + description + "LSP Wrap state"; + } + + typedef Te-sr-sid { + type enumeration { + enum "srsid-not-set" { + description + "Type not set"; + } + enum "srsid-node" { + description + "Segment-Routing Node"; + } + enum "srsid-adj" { + description + "Segment-Routing Link"; + } + enum "srsid-unknown" { + description + "Segment-Routing Unknown"; + } + } + description + "Segment-Routing SID types"; + } + + typedef Te-association-tie-role { + type enumeration { + enum "none" { + description + "Association Role None"; + } + enum "master" { + description + "Association Role Master"; + } + enum "slave" { + description + "Association Role Slave"; + } + } + description + "TE Association Tie Breaker Role"; + } + + typedef Te-vif-bfd { + type enumeration { + enum "bfd-disabled" { + value 0; + description + "BFD Fast Detect Not Enabled"; + } + enum "bfd-enabled" { + value 1; + description + "Regular BFD Enabled"; + } + enum "sbfd-enabled" { + value 2; + description + "SBFD Enabled"; + } + } + description + "BFD Type"; + } + + typedef Te-bfd-lsp-session-state { + type enumeration { + enum "bfd-over-lsp-session-state-none" { + value 0; + description + "BFDOverLSP session state none"; + } + enum "bfd-over-lsp-session-state-created" { + value 1; + description + "BFDOverLSP session state created"; + } + enum "bfd-over-lsp-session-state-up" { + value 2; + description + "BFDOverLSP session state up"; + } + enum "bfd-over-lsp-session-state-down" { + value 3; + description + "BFDOverLSP session state down"; + } + enum "bfd-over-lsp-session-state-admin-down" { + value 4; + description + "BFDOverLSP session state admin down"; + } + enum "bfd-over-lsp-session-state-deleted" { + value 5; + description + "BFDOverLSP sesssion state deleted"; + } + enum "bfd-over-lsp-session-state-create-failed" { + value 6; + description + "BFDOverLSP session state create failed"; + } + } + description + "TE BFDOverLSP Session State"; + } + + typedef Gmpls-uni-mgmt-dwdm-cs { + type enumeration { + enum "not-set" { + description + "Not Set"; + } + enum "dwdm100g-hz" { + description + "100GHz"; + } + enum "dwdm50g-hz" { + description + "50GHz"; + } + enum "dwdm25g-hz" { + description + "25GHz"; + } + enum "dwdm12g-hz" { + description + "12.5GHz"; + } + enum "dwdm6g-hz" { + description + "6.25GHz"; + } + } + description + "GMPLS-UNI DWDM channel spacings"; + } + + typedef Gmpls-uni-mgmt-wdm-grid { + type enumeration { + enum "not-set" { + description + "Not Set"; + } + enum "dwdm" { + description + "DWDM"; + } + enum "cwdm" { + description + "CWDM"; + } + } + description + "GMPLS-UNI WDM grid"; + } + + typedef Mpls-te-mgmt-gmpls-label { + type enumeration { + enum "not-set" { + description + "Not Set"; + } + enum "fixed-wdm" { + description + "Fixed-grid WDM"; + } + enum "fixed-g709otn" { + description + "Fixed-size G709 OTN"; + } + } + description + "GMPLS label type"; + } + + typedef Mpls-te-soft-preemption-state { + type enumeration { + enum "soft-preemption-not-pending" { + description + "Soft Preemption has not been triggered and is + not pending"; + } + enum "soft-preemption-pending" { + description + "Soft Preemption has been triggered and is + pending"; + } + } + description + "The possible states for soft preemption"; + } + + typedef Mpls-te-tunnels-signaling-status { + type enumeration { + enum "down" { + description + "The tunnel is down"; + } + enum "recovering" { + description + "The tunnel is recovering"; + } + enum "recovered" { + description + "The tunnel is recovered"; + } + enum "connected" { + description + "The tunnel is connected"; + } + enum "disabled" { + description + "The tunnel signalling is disabled"; + } + enum "proceeding" { + description + "The tunnel signalling is proceeding"; + } + enum "wait-bfd-session-up" { + description + "The tunnel is waiting for BFD session up"; + } + enum "wait-sr-segment-path-up" { + description + "The tunnel is waiting for SR segment path"; + } + enum "wait-local-label" { + description + "The tunnel is waiting for a local label"; + } + enum "wait-local-label-rewrite" { + description + "The tunnel is waiting for a local label rewrite"; + } + } + description + "Tunnel signalling status"; + } + + typedef Mpls-te-frr-state { + type enumeration { + enum "frr-inactive" { + description + "FRR state is inactive"; + } + enum "frr-active" { + description + "FRR state is active"; + } + enum "frr-ready" { + description + "FRR state is ready"; + } + } + description + "FRR state"; + } + + typedef Te-controller-state { + type enumeration { + enum "notready" { + description + "Controller not ready"; + } + enum "admin-down" { + description + "Controller is admin down"; + } + enum "down" { + description + "Controller is operationally down"; + } + enum "shutdown" { + description + "Controller is shutdown"; + } + enum "error-disabled" { + description + "Controller is disabled due to error"; + } + enum "up" { + description + "Controller is operationally up"; + } + enum "unknown" { + description + "Controller state unknown"; + } + } + description + "Controller States"; + } + + typedef Te-mgmt-generic-fspec { + type enumeration { + enum "te-generic-fspec-type-g709otn" { + description + "TE G709 OTN FSpec type"; + } + } + description + "TE generic FSpec types"; + } + + typedef Te-mgmt-generic-tspec { + type enumeration { + enum "te-generic-tspec-type-g709otn" { + description + "TE G709 OTN TSpec type"; + } + } + description + "TE generic TSpec types"; + } + + typedef Rsvp-mgmt-rro-subobj { + type enumeration { + enum "ipv4rro-type" { + value 1; + description + "IPv4 RRO Type"; + } + enum "label-rro-type" { + value 3; + description + "Label RRO Type"; + } + enum "unnumbered-rro-type" { + value 4; + description + "Unnumbered RRO Type"; + } + enum "srlg-rro-type" { + value 34; + description + "SRLG RRO Type"; + } + } + description + "RSVP RRO Types"; + } + + typedef Rsvp-mgmt-ero-subobj-status { + type enumeration { + enum "rsvp-mgmt-ero-status-not-available" { + value 0; + description + "ERO is not available in topology"; + } + enum "rsvp-mgmt-ero-status-available" { + value 1; + description + "ERO is available in topology"; + } + enum "rsvp-mgmt-ero-status-bw-not-available" { + value 2; + description + "ERO doesn't have bw available in topology"; + } + } + description + "RSVP ERO Status"; + } + + typedef Rsvp-mgmt-ero-subobj { + type enumeration { + enum "rsvp-mgmt-ero-type-ipv4" { + value 1; + description + "IPv4 ERO Type"; + } + enum "rsvp-mgmt-ero-type-un-num" { + value 4; + description + "Unnumbered ERO Type"; + } + } + description + "RSVP ERO Types"; + } + + typedef Mpls-te-metric { + type enumeration { + enum "metric-not-set" { + description + "Metric type not set"; + } + enum "metric-igp" { + description + "Metric for IGP routes"; + } + enum "metric-te" { + description + "Metric for MPLS traffic engineering tunnels"; + } + enum "metric-delay" { + description + "Delay Metric"; + } + } + description + "Metric type"; + } + + typedef Te-path-inval-action { + type enumeration { + enum "none" { + value 0; + description + "TE path selection invalidation action none"; + } + enum "tear" { + value 1; + description + "TE path selection invalidation action tear"; + } + enum "drop" { + value 2; + description + "TE path selection invalidation action drop"; + } + } + description + "Path selection invalidation action type"; + } + + typedef Te-s2l-sr-path-selection { + type enumeration { + enum "te-s2l-sr-path-selection-any" { + value 0; + description + "TE S2L Segment-Routing Path Selection type Any"; + } + enum "te-s2l-sr-path-selection-adj-unprotected" { + value 1; + description + "TE S2L Segment-Routing Path Selection type + Adjacency Unprotected"; + } + enum "te-s2l-sr-path-selection-adj-protected" { + value 2; + description + "TE S2L Segment-Routing Path Selection type + Adjacency Protected"; + } + } + description + "Segment-routing path selection type"; + } + + typedef Te-bfd-reverse-path { + type enumeration { + enum "bfd-reverse-path-none" { + value 0; + description + "BFD reverse path not enabled"; + } + enum "bfd-reverse-path-binding-label" { + value 1; + description + "BFD reverse path binding label"; + } + } + description + "BFD Reverse Path Type"; + } + + typedef Te-pce-disjoint { + type enumeration { + enum "none" { + value 0; + description + "PCE Disjoint Type none"; + } + enum "link" { + value 1; + description + "PCE Disjoint Type link"; + } + enum "node" { + value 2; + description + "PCE Disjoint Type node"; + } + enum "srlg" { + value 3; + description + "PCE Disjoint Type srlg"; + } + } + description + "PCE Disjoint Path type"; + } + + typedef Tunnel-attribute-set { + type enumeration { + enum "tunnel-attribute-set-none" { + value 0; + description + "No Tunnel AttributeSet configured"; + } + enum "tunnel-attribute-set-static" { + value 1; + description + "Tunnel AttributeSet Type is Static"; + } + enum "tunnel-attribute-set-path-option" { + value 2; + description + "Tunnel AttributeSet Type is Path Option"; + } + enum "tunnel-attribute-set-not-used" { + value 3; + description + "None"; + } + enum "tunnel-attribute-set-auto-backup" { + value 4; + description + "Tunnel AttributeSet Type is AutoBackup"; + } + enum "tunnel-attribute-set-auto-mesh" { + value 5; + description + "Tunnel AttributeSet Type is AutoMesh"; + } + enum "tunnel-attribute-set-xro" { + value 6; + description + "Tunnel AttributeSet Type is XRO"; + } + enum "tunnel-attribute-set-p2mpte" { + value 7; + description + "Tunnel AttributeSet Type is P2MP TE"; + } + enum "tunnel-attribute-aps-pp" { + value 8; + description + "Tunnel AttributeSet Type is APS Path Protection"; + } + enum "tunnel-attribute-set-p2p-te" { + value 9; + description + "Tunnel AttributeSet Type is P2P TE"; + } + } + description + "Tunnel attribute set"; + } + + typedef Mpls-te-pathoption { + type enumeration { + enum "path-option-unknown" { + description + "Unknown Path Option"; + } + enum "path-option-dynamic" { + description + "Dynamic Path Option"; + } + enum "path-option-explicit-name" { + description + "Explicit name Path Option"; + } + enum "path-option-explicit-id" { + description + "Explicit Identifier Path Option"; + } + enum "path-option-pce" { + description + "PCE Path Option"; + } + enum "path-option-no-ero" { + description + "No-ERO Path Option"; + } + enum "path-option-segment-routing" { + description + "Segment-Routing Path Option"; + } + } + description + "Path-option type"; + } + + typedef Mpls-te-bw-pool { + type enumeration { + enum "te-bandwidth-pool0" { + description + "Bandwidth pool type is pool0"; + } + enum "te-bandwidth-pool1" { + description + "Bandwidth pool type is pool1"; + } + enum "te-bandwidth-any-pool" { + description + "Bandwidth pool type is any pool"; + } + } + description + "Bandwidth pool type"; + } + + typedef Hw-oor-state { + type enumeration { + enum "oor-green" { + description + "NPU resources are in normal state"; + } + enum "oor-yellow" { + description + "NPU resources are in minor state"; + } + enum "oor-red" { + description + "NPU resources are in Major state"; + } + } + description + "NPU resources states"; + } + + grouping MPLS-LM-SOFT-PREEMPTION-LINK-INFO { + description + "Soft Preemption Info per Link"; + leaf link-address { + type inet:ipv4-address; + description + "The link's IPv4 address"; + } + leaf total-soft-preempted-bandwidth-bc0 { + type uint64; + description + "The total BC0 BW that is softly preempted: this + is the sum of bandwidth for all the LSPs that + were soft preempted"; + } + leaf total-soft-preempted-bandwidth-bc1 { + type uint64; + description + "The total BC1 BW that is softly preempted: this + is the sum of bandwidth for all the LSPs that + were soft preempted"; + } + leaf current-soft-preempted-bandwidth-bc0 { + type uint64; + description + "The current BC0 BW that is softly preempted: + this is the sum of bandwidth for the LSPs that + are soft preempted and have not been torn down + yet"; + } + leaf current-soft-preempted-bandwidth-bc1 { + type uint64; + description + "The current BC1 BW that is softly preempted: + this is the sum of bandwidth for the LSPs that + are soft preempted and have not been torn down + yet"; + } + leaf release-soft-preempted-bandwidth-bc0 { + type uint64; + description + "The total released BC0 BW that is softly + preempted: this is the sum of bandwidth for the + LSPs that are soft preempted and are torn down"; + } + leaf release-soft-preempted-bandwidth-bc1 { + type uint64; + description + "The total released BC1 BW that is softly + preempted: this is the sum of bandwidth for the + LSPs that are soft preempted and are torn down"; + } + leaf current-over-subscribed-bandwidth-bc0 { + type uint64; + description + "The BC0 bandwidth that is over subscribed on + this link: this is the difference between the + maximum available BC0 BW on the link and the sum + of the currently reserved BC0 bandwidth and the + currently soft preempted BC0 BW"; + } + leaf current-over-subscribed-bandwidth-bc1 { + type uint64; + description + "The BC1 bandwidth that is over subscribed on + this link: this is the difference between the + maximum available BC1 BW on the link and the sum + of the currently reserved BC1 bandwidth and the + currently soft preempted BC1 BW"; + } + list current-soft-preemption-lsp { + description + "List of the soft preempted LSPs that are not yet + cleaned up"; + uses MPLS-LM-PREEMPTED-LSP; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-GLOBAL-INFO { + description + "Global Soft Preemption Info"; + leaf is-configured { + type boolean; + description + "Is global soft-preemption configured"; + } + leaf is-timeout-interval-configured { + type boolean; + description + "Is global soft-preemption timeout interval + configured"; + } + leaf timeout-interval { + type uint32; + description + "Global soft-preemption timeout interval"; + } + } + + grouping MPLS-LM-ADMISSION-CONTROL-TUNNEL-INFO { + description + "Information about a given admitted tunnel"; + leaf tunnel-name { + type string; + description + "The admitted tunnel's name"; + } + leaf bandwidth-state { + type Bandwidth-state-enum; + description + "The bandwidth state"; + } + leaf bandwidth-pool { + type Bandwidth-type-enum; + description + "The bandwidth pool"; + } + leaf setup-priority { + type uint8; + description + "The tunnel's setup priority"; + } + leaf hold-priority { + type uint8; + description + "The tunnel's hold priority"; + } + leaf up-link-name { + type string; + description + "The uplink's name for this tunnel"; + } + leaf down-link-name { + type string; + description + "The downlink's name for this tunnel"; + } + leaf tunnel-state { + type Tunnel-state-enum; + description + "The tunnel's state"; + } + leaf bandwidth { + type uint64; + description + "The bandwidth used by this tunnel"; + } + leaf local-label { + type uint32; + description + "The local label"; + } + leaf outgoing-label { + type uint32; + description + "The outgoing label"; + } + leaf backup-interface { + type string; + description + "The backup Interface"; + } + leaf is-rerouted { + type boolean; + description + "TRUE if the tunnel is currently rerouted"; + } + } + + grouping MPLS-LM-ADMISSION-CONTROL-COMMON-INFO { + description + "Global information about admitted tunnels"; + leaf is-role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + leaf total-tunnels { + type uint32; + description + "Total p2p tunnels admitted"; + } + leaf total-p2mp-tunnels { + type uint32; + description + "Total p2mp tunnels admitted"; + } + leaf selected-tunnels { + type uint32; + description + "Number of tunnels selected"; + } + leaf bandwidth-units { + type Bandwidth-unit-enum; + description + "Bandwidth units"; + } + } + + grouping MPLS-LM-INTERFACE-HW-OOR-INFO { + description + "Information about NPU Resources state for the + link"; + leaf hw-oor-state { + type Hw-oor-state; + description + "The NPU (Network Processor Unit) HW resource + state"; + } + leaf hw-oor-timestamp { + type uint32; + description + "Timestamp when the OOR state last changed"; + } + leaf hw-o-or-green-recovery-time { + type uint32; + units "second"; + description + "Time Remaining in Green Recovery State (seconds)"; + } + list hw-o-or-link-statistic { + max-elements "3"; + description + "HW OOR statistics for the link"; + uses TE-HW-OOR-STATS; + } + } + + grouping MPLS-LM-INTERFACE-LOCKOUT-INFO { + description + "Information about flex LSP lockout info for the + link"; + leaf is-lockout { + type boolean; + description + "True if link is locked out"; + } + leaf lockout-on-timestamp { + type uint32; + description + "Timestamp when the lockout is set"; + } + leaf lockout-off-timestamp { + type uint32; + description + "Timestamp when the lockout is cleared"; + } + } + + grouping MPLS-LM-INTERFACE-LINK-AREA-INFO { + description + "Information about an area to which the link + belongs"; + leaf area-id { + type string; + description + "Area id"; + } + leaf neighbor-id { + type string; + description + "The interface neighbor id"; + } + leaf neighbor-address { + type inet:ipv4-address; + description + "The interface's neighbor's ip address"; + } + leaf is-neighbor-up { + type boolean; + description + "TRUE if the neighbor is up"; + } + leaf igp-metric { + type uint32; + description + "The link's IGP metric"; + } + } + + grouping MPLS-TE-DARKBW-SAMPLE-SR { + description + "Information about a single Segment Routing + bandwidth accounting sample"; + leaf timestamp { + type uint32; + units "second"; + description + "Timestamp in seconds of this sample"; + } + leaf sr-rate { + type uint64; + units "kbit/s"; + description + "Segment Routing traffic rate measured in + Kilobits per second in this sample"; + } + } + + grouping MPLS-TE-DARKBW-HISTORY-SR { + description + "Segment Routing Bandwidth accounting history"; + list sr-active-interval-sample { + description + "Segment Routing samples in the current + application interval"; + uses MPLS-TE-DARKBW-SAMPLE-SR; + } + list sr-previous-interval-sample { + description + "Segment Routing samples in the previous + application interval"; + uses MPLS-TE-DARKBW-SAMPLE-SR; + } + } + + grouping MPLS-TE-DARKBW-SAMPLE-RSVP { + description + "Information about a single RSVP-TE bandwidth + accounting sample"; + leaf timestamp { + type uint32; + units "second"; + description + "Timestamp in seconds of this sample"; + } + leaf total-rate { + type uint64; + units "kbit/s"; + description + "Total traffic rate measured in Kilobits per + second in this sample"; + } + leaf rsvp-te-rate { + type uint64; + units "kbit/s"; + description + "RSVP-TE traffic rate measured in Kilobits per + second in this sample"; + } + leaf non-rsvp-te-rate { + type uint64; + units "kbit/s"; + description + "Non-RSVP-TE traffic rate measured in Kilobits + per second in this sample"; + } + } + + grouping MPLS-TE-DARKBW-HISTORY-RSVP { + description + "RSVP-TE Bandwidth accounting history"; + list rsvp-te-active-interval-sample { + description + "RSVP-TE samples in the current application + interval"; + uses MPLS-TE-DARKBW-SAMPLE-RSVP; + } + list rsvp-te-previous-interval-sample { + description + "RSVP-TE samples in the previous application + interval"; + uses MPLS-TE-DARKBW-SAMPLE-RSVP; + } + } + + grouping MPLS-TE-DARKBW-BW-UTIL-SR { + description + "Information about Segment Routing bandwidth + utilization in bandwidth accounting"; + leaf sr-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Segment Routing bandwidth utilization measured + in kilobits per second"; + } + leaf sr-adjusted-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Adjusted Segment Routing bandwidth utilization + measured in kilobits per second"; + } + leaf sr-enforced-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Enforced Segment Routing bandwidth utilization + measured in kilobits per second"; + } + } + + grouping MPLS-TE-DARKBW-BW-UTIL-RSVP { + description + "Information about RSVP-TE bandwidth utilization + in bandwidth accounting"; + leaf total-link-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Total bandwidth utilization measured in kilobits + per second"; + } + leaf rsvp-te-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "RSVP-TE bandwidth utilization measured in + kilobits per second"; + } + leaf non-rsvp-te-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Non-RSVP-TE bandwidth utilization measured in + kilobits per second"; + } + leaf rsvp-te-adjusted-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Adjusted RSVP-TE bandwidth utilization measured + in kilobits per second"; + } + leaf rsvp-te-enforced-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Enforced RSVP-TE bandwidth utilization measured + in kilobits per second"; + } + } + + grouping MPLS-LM-DARKBW-LINK-COMMON-INFO { + description + "Information for bandwidth accounting per link"; + container rsvp-te-bandwidth-utilization { + description + "RSVP-TE Bandwidth utilization information"; + uses MPLS-TE-DARKBW-BW-UTIL-RSVP; + } + container sr-bandwidth-utilization { + description + "Segment Routing Bandwidth utilization + information"; + uses MPLS-TE-DARKBW-BW-UTIL-SR; + } + leaf is-bandwidth-account-enabled { + type boolean; + description + "TRUE if bandwidth accounting is enabled"; + } + leaf application-enforced { + type boolean; + description + "TRUE if bandwidth accounting application is + enforced"; + } + leaf collection-type { + type Bandwidth-accounting-collection; + description + "The type of traffic collected for bandwidth + accounting"; + } + leaf sample-interval { + type uint32; + units "second"; + description + "Sampling interval in seconds for bandwidth + accounting stats"; + } + leaf sample-time-remaining { + type uint32; + units "second"; + description + "This value indicates the number of seconds until + the next sampling"; + } + leaf last-sample-collection-timestamp { + type uint32; + description + "Timestamp for the last sample collection"; + } + leaf next-sample-collection { + type uint32; + description + "Timestamp for the next sample collection"; + } + leaf application-interval { + type uint32; + units "second"; + description + "Application interval in seconds for bandwidth + accounting stats"; + } + leaf application-time-remaining { + type uint32; + units "second"; + description + "This value indicates the number of seconds until + the next application"; + } + leaf last-application-timestamp { + type uint32; + description + "Timestamp for the last application"; + } + leaf next-application { + type uint32; + description + "Timestamp for the next application"; + } + leaf adjustment-factor { + type uint32; + description + "This value indicates the adjustment factor + applied to measured non RSVP-TE bandwidth"; + } + leaf max-reservable-bandwidth-threshold-are-default { + type boolean; + description + "TRUE if the maximum reservable bandwidth + flooding thresholds are default"; + } + leaf up-threshold-max-reservable-bandwidth { + type uint8; + description + "The up threshold for flooding the maximum + reservable bandwidth"; + } + leaf down-threshold-max-reservable-bandwidth { + type uint8; + description + "The down threshold for flooding the maximum + reservable bandwidth"; + } + } + + grouping MPLS-LM-DARKBW-LINK-INFO { + description + "Detail information for bandwidth accounting per + link"; + container bandwidth-account-common-info { + description + "Common info for bandwidth accounting"; + uses MPLS-LM-DARKBW-LINK-COMMON-INFO; + } + container rsvp-te-bandwidth-sample-history { + description + "RSVP-TE Bandwidth samples history"; + uses MPLS-TE-DARKBW-HISTORY-RSVP; + } + container sr-bandwidth-sample-history { + description + "Segment Routing Bandwidth samples history"; + uses MPLS-TE-DARKBW-HISTORY-SR; + } + } + + grouping MPLS-LM-INTERFACE-LINK-INFO { + description + "IGP and area information of a link"; + container link-common { + description + "The link's common info"; + uses MPLS-LM-COMMON-LINK-INFO; + } + container bandwidth-account { + description + "Bandwidth Account info"; + uses MPLS-LM-DARKBW-LINK-INFO; + } + container hw-oor { + description + "The link's NPU OOR info. This field is NULL for + platforms that do not support HW-OOR + notifications"; + uses MPLS-LM-INTERFACE-HW-OOR-INFO; + } + leaf reason-not-flooded { + type string; + description + "Reason why link is not flooded + (area-independent)"; + } + leaf maximum-reservation-bandwidth-rdm { + type uint64; + description + "The link's maximum reservable BW in RDM"; + } + leaf reservable-pool0-bandwidth-rdm { + type uint64; + description + "The link's reservable pool0 BW in RDM"; + } + leaf reservable-pool1-bandwidth-rdm { + type uint64; + description + "The link's reservable pool1 BW in RDM"; + } + leaf maximum-reservation-bandwidth-mam { + type uint64; + description + "The link's maximum reservable BW in MAM"; + } + leaf reservable-pool0-bandwidth-mam { + type uint64; + description + "The link's reservable pool0 BW in MAM"; + } + leaf reservable-pool1-bandwidth-mam { + type uint64; + description + "The link's reservable pool1 BW in MAM"; + } + leaf link-attributes { + type uint32; + description + "Deprecated"; + } + leaf is-attribute-incomplete { + type boolean; + description + "TRUE if one or more affinity definition(s) + is/are unknown"; + } + leaf is-name-based-attribute { + type boolean; + description + "TRUE, if name based attribute style is in effect"; + } + leaf te-metric { + type uint32; + description + "The link's TE metric"; + } + leaf is-te-metric-valid { + type boolean; + description + "Flag to indicate whether the link's TE metric is + a valid value"; + } + list link-extended-attribute { + description + "The link's extended attribute bit map"; + leaf entry { + type uint32; + } + } + list link-forwad-ref-value { + description + "Reference bits for undefined affinity names"; + leaf entry { + type uint32; + } + } + list affinity-map { + description + "Affinity map array"; + uses MPLS-TE-AFFINITY-MAP-INFO; + } + list areas { + description + "Per-area data"; + uses MPLS-LM-INTERFACE-LINK-AREA-INFO; + } + list lockout { + description + "Flex LSP Lockout info"; + uses MPLS-LM-INTERFACE-LOCKOUT-INFO; + } + } + + grouping MPLS-LM-INTERFACE-COMMON-INFO { + description + "Global info about links"; + leaf is-role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + leaf links { + type uint16; + description + "The number of links"; + } + leaf maximum-links { + type uint16; + description + "Maximum number of links supported"; + } + } + + grouping MPLS-LM-SUMMARY-DARKBW { + description + "Summary information for bandwidth accounting"; + leaf is-bandwidth-account-enabled { + type boolean; + description + "TRUE if bandwidth accounting is enabled"; + } + leaf sample-interval { + type uint32; + description + "Sample interval for bandwidth accounting stats"; + } + leaf sample-time-remaining { + type uint32; + units "second"; + description + "This value indicates the number of seconds until + the next sample collection"; + } + leaf application-interval { + type uint32; + description + "Application interval for bandwidth accounting + stats"; + } + leaf application-time-remaining { + type uint32; + units "second"; + description + "This value indicates the number of seconds until + the next application"; + } + } + + grouping MPLS-LM-SUMMARY-AREA-INFO { + description + "Summary information of an area"; + leaf area-id { + type string; + description + "Area id"; + } + leaf protocol { + type Igp-protocol; + description + "Protocol running over the area"; + } + leaf is-flooded { + type boolean; + description + "TRUE if flooding occurred in this area"; + } + leaf is-periodic-flooding-on { + type boolean; + description + "TRUE if periodic flooding is on"; + } + leaf periodic-flooding-interval { + type uint16; + units "second"; + description + "Flooding period in seconds"; + } + leaf links-flooded { + type uint16; + description + "Number of flooded links"; + } + leaf system-id { + type string; + description + "IGP id of local node"; + } + leaf local-node-router-id { + type inet:ipv4-address; + description + "Local router id"; + } + leaf igp-neighbors { + type uint16; + description + "Number of IGP neighbors"; + } + } + + grouping MPLS-LM-SUMMARY-COMMON-INFO { + description + "Summary information for all the areas"; + container bandwidth-account-summary { + description + "Bandwidth account summary"; + uses MPLS-LM-SUMMARY-DARKBW; + } + leaf is-role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + leaf links { + type uint16; + description + "Total number of links"; + } + leaf maximum-links { + type uint16; + description + "Maximum number of links supported"; + } + leaf is-flooding-enabled { + type boolean; + description + "TRUE if flooding is enabled"; + } + list areas-summary { + description + "Summary info for the areas"; + uses MPLS-LM-SUMMARY-AREA-INFO; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR { + description + "Information about a single Segment Routing + bandwidth accounting sample"; + leaf timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp in nano-seconds of this sample"; + } + leaf sr-rate { + type uint64; + units "kbit/s"; + description + "Segment Routing traffic rate measured in + Kilobits per second in this sample"; + } + leaf sr-packet-rate { + type uint64; + units "packet/s"; + description + "Segment Routing traffic rate measured in packets + per second in this sample"; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-SR { + description + "Segment Routing bandwidth account history"; + list sr-active-interval-sample { + description + "Segment Routing samples in the current + application interval"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR; + } + list sr-previous-interval-sample { + description + "Segment Routing samples in the previous + application interval"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-SR; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP { + description + "Information about a single RSVP-TE bandwidth + accounting sample"; + leaf timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp in nano-seconds of this sample"; + } + leaf total-rate { + type uint64; + units "kbit/s"; + description + "Total traffic rate measured in Kilobits per + second in this sample"; + } + leaf total-packet-rate { + type uint64; + units "packet/s"; + description + "Total traffic rate measured in packets per + second in this sample"; + } + leaf rsvp-te-rate { + type uint64; + units "kbit/s"; + description + "RSVP-TE traffic rate measured in Kilobits per + second in this sample"; + } + leaf rsvp-te-packet-rate { + type uint64; + units "packet/s"; + description + "RSVP-TE traffic rate measured in packets per + second in this sample"; + } + leaf non-rsvp-te-rate { + type uint64; + units "kbit/s"; + description + "Non-RSVP-TE traffic rate measured in Kilobits + per second in this sample"; + } + leaf non-rsvp-te-packet-rate { + type uint64; + units "packet/s"; + description + "Non-RSVP-TE traffic rate measured in packets per + second in this sample"; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-RSVP { + description + "RSVP-TE bandwidth account history"; + list rsvp-te-active-interval-sample { + description + "RSVP-TE samples in the current application + interval"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP; + } + list rsvp-te-previous-interval-sample { + description + "RSVP-TE samples in the previous application + interval"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-SAMPLE-RSVP; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-SR { + description + "Information about Segment Routing bandwidth + utilization in bandwidth accounting"; + leaf sr-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Segment Routing bandwidth utilization measured + in kilobits per second"; + } + leaf sr-adjusted-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Adjusted Segment Routing bandwidth utilization + measured in kilobits per second"; + } + leaf sr-enforced-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Enforced Segment Routing bandwidth utilization + measured in kilobits per second"; + } + } + + grouping MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-RSVP { + description + "Information about RSVP-TE bandwidth utilization + in bandwidth accounting"; + leaf total-link-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Total bandwidth utilization measured in kilobits + per second"; + } + leaf rsvp-te-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "RSVP-TE bandwidth utilization measured in + kilobits per second"; + } + leaf non-rsvp-te-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Non-RSVP-TE bandwidth utilization measured in + kilobits per second"; + } + leaf rsvp-te-adjusted-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Adjusted RSVP-TE bandwidth utilization measured + in kilobits per second"; + } + leaf rsvp-te-enforced-bandwidth-utilization { + type uint64; + units "kbit/s"; + description + "Enforced RSVP-TE bandwidth utilization measured + in kilobits per second"; + } + } + + grouping MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TELEMETRY-INFO { + description + "Telemetry information for bandwidth accounting + per link"; + container rsvp-te-bandwidth-utilization { + description + "RSVP-TE bandwidth utilization information"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-RSVP; + } + container sr-bandwidth-utilization { + description + "Segment Routing bandwidth utilization + information"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-BW-UTIL-SR; + } + leaf is-bandwidth-account-enabled { + type boolean; + description + "TRUE if bandwidth accounting is enabled"; + } + leaf application-enforced { + type boolean; + description + "TRUE if application is enforced"; + } + leaf collection-type { + type Bandwidth-accounting-collection; + description + "The type of traffic collected for bandwidth + accounting"; + } + leaf sample-time-remaining-timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "This value indicates the number of nano-seconds + until the next sampling"; + } + leaf last-sample-collection-timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp for the last sample collection in + nano-seconds"; + } + leaf next-sample-collection-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp for the next sample collection in + nano-seconds"; + } + leaf application-time-remaining-nanosec { + type uint64; + units "nanosecond"; + description + "This value indicates the number of nano-seconds + until the next application"; + } + leaf last-application-timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp for the last application in + nano-seconds"; + } + leaf next-application-timestamp-nanosec { + type uint64; + units "nanosecond"; + description + "Timestamp for the next application in + nano-seconds"; + } + leaf effective-maximum-reservable-bandwidth { + type uint64; + description + "Maximum reservable bandwidth effective"; + } + } + + grouping MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TEL-DET-INFO { + description + "Detail telemetry bandwidth accounting information + per link"; + container common-info { + description + "Information for bandwidth accounting telemetry"; + uses MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TELEMETRY-INFO; + } + container rsvp-te-sample-history { + description + "History of bandwidth accounting RSVP-TE samples"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-RSVP; + } + container sr-sample-history { + description + "History of bandwidth accounting Segment Routing + samples"; + uses MPLS-TE-BANDWIDTH-ACCOUNT-HISTORY-SR; + } + leaf link-id { + type string; + description + "The link's ID"; + } + } + + grouping MPLS-LM-BW-LINK-BW-POOL-INFO { + description + "Information about the bandwidth of a given pool + and priority"; + leaf hold-priority { + type uint8; + description + "The BW priority"; + } + leaf held-amount { + type uint32; + description + "The held bandwidth"; + } + leaf total-held-amount { + type uint32; + description + "The total held bandwidth"; + } + leaf locked-amount { + type uint32; + description + "The locked bandwidth"; + } + leaf total-locked-amount { + type uint32; + description + "The total locked bandwidth"; + } + } + + grouping MPLS-LM-BW-LINK-DIR-BW-INFO { + description + "Information about the bandwidth of a given link."; + leaf bandwidth-direction { + type Link-direction-enum; + description + "BW Direction"; + } + leaf is-admission-method-allocated-bandwidth { + type boolean; + description + "True if the link's admit method is based on + Allocated BW"; + } + leaf bandwidth-units { + type Bandwidth-unit-enum; + description + "Bandwidth units"; + } + list bandwidth-pool0 { + max-elements "8"; + description + "Pool0 BW info for the different priority levels"; + uses MPLS-LM-BW-LINK-BW-POOL-INFO; + } + list bandwidth-pool1 { + max-elements "8"; + description + "Pool1 BW info for the different priority levels"; + uses MPLS-LM-BW-LINK-BW-POOL-INFO; + } + } + + grouping MPLS-LM-FLOODED-AREA { + description + "Information for the flooded area"; + leaf flooded-area { + type string; + description + "The flooded area information"; + } + } + + grouping MPLS-LM-LINK-FLAGS { + description + "Link properties"; + leaf is-mpls-te-on { + type boolean; + description + "Deprecated - TRUE if the link is a TE-Link"; + } + leaf signaling-agent { + type Signaling-agent-enum; + description + "Deprecated - Signaling agent"; + } + leaf is-admin-up { + type boolean; + description + "TRUE if the link is admin up"; + } + } + + grouping MPLS-LM-INTF-SWITCHING-CAP-INFO { + description + "Information about the Interface Switching + Capability Descriptor (IXCD)"; + leaf key { + type uint8; + description + "The switching capability descriptor key"; + } + leaf switching-capability { + type uint8; + description + "The switching capability"; + } + leaf encoding { + type uint8; + description + "The link encoding type"; + } + } + + grouping MPLS-LM-COMMON-LINK-INFO { + description + "Link information"; + container link-flags { + description + "The link's flags"; + uses MPLS-LM-LINK-FLAGS; + } + leaf link-id { + type string; + description + "The link's id"; + } + leaf link-address { + type inet:ipv4-address; + description + "The link's ip address"; + } + leaf is-unnumbered { + type boolean; + description + "TRUE if the link is unnumbered"; + } + leaf has-protection { + type boolean; + description + "TRUE if the link is protected"; + } + leaf capability { + type uint32; + description + "The link's protection capability"; + } + leaf working-priority { + type uint32; + description + "The link's working priority"; + } + leaf resource-provider { + type Resource-provider; + description + "The link's resource provider"; + } + leaf is-resource-provider-installed { + type boolean; + description + "TRUE if the resource provider is installed"; + } + leaf bandwidth-units { + type Bandwidth-unit-enum; + description + "The bandwidth units"; + } + leaf physical-bandwidth { + type uint64; + description + "The link's physical bandwidth"; + } + leaf bcm-id { + type uint16; + description + "Bandwidth Constraints Model ID"; + } + leaf maximum-reservable-bandwidth { + type uint64; + description + "The link's maximum reservable BW"; + } + leaf last-flooded-effective-maximum-reservable-bandwidth { + type uint64; + description + "Last flooded max reservable bandwidth effective"; + } + leaf incoming-reservable-bandwidth-percentage { + type uint8; + description + "Incoming reserved BW in %"; + } + leaf outgoing-reservable-bandwidth-percentage { + type uint8; + description + "Outgoing reserved BW in %"; + } + leaf maximum-reservable-pool0-bandwidth { + type uint64; + description + "The link's maximum reservable pool0 BW"; + } + leaf incoming-reservable-pool0-bandwidth-percentage { + type uint8; + description + "Incoming reserved pool0 BW in %"; + } + leaf outgoing-reservable-pool0-bandwidth-percentage { + type uint8; + description + "Outgoing reserved pool0 BW in %"; + } + leaf maximum-reservable-pool1-bandwidth { + type uint64; + description + "The link's maximum reservable pool1 BW"; + } + leaf incoming-reservable-pool1-bandwidth-percentage { + type uint8; + description + "Incoming reserved pool1 BW in %"; + } + leaf outgoing-reservable-pool1-bandwidth-percentage { + type uint8; + description + "Outgoing reserved pool1 BW in %"; + } + leaf inbound-admission-method { + type Admission-policy; + description + "Deprecated"; + } + leaf outbound-admission-method { + type Admission-policy; + description + "Deprecated"; + } + leaf igp-neighbors { + type uint16; + description + "The link's neighbor count"; + } + list shared-risk-link-group { + description + "The link's shared risk link groups"; + uses MPLS-SRLG-INFO; + } + list interface-switching-capability-descriptor { + description + "The link's switching capability descriptor"; + uses MPLS-LM-INTF-SWITCHING-CAP-INFO; + } + list flooded-areas { + description + "List of areas into which the link is flooded"; + uses MPLS-LM-FLOODED-AREA; + } + } + + grouping MPLS-LM-BW-ALLOC-LINK-INFO { + description + "Bandwidth allocation information for a given link"; + container link-common { + description + "The link's common info"; + uses MPLS-LM-COMMON-LINK-INFO; + } + container upstream-bandwidth { + description + "BW info in the upstream direction"; + uses MPLS-LM-BW-LINK-DIR-BW-INFO; + } + container downstream-bandwidth { + description + "BW info in the dnstream direction"; + uses MPLS-LM-BW-LINK-DIR-BW-INFO; + } + leaf total-bandwidth-descriptors { + type uint16; + description + "Number of total BW descriptors"; + } + leaf bandwidth-descriptors { + type uint16; + description + "Number of BW descriptor for the given pool"; + } + leaf bandwidth-pool { + type Bandwidth-type-enum; + description + "type of the BW pool"; + } + leaf flooding-up-thresholds-are-default { + type boolean; + description + "TRUE if the up-threshold are default"; + } + leaf flooding-down-thresholds-are-default { + type boolean; + description + "TRUE if the down-threshold are default"; + } + leaf flooding-up-thresholds-are-global { + type boolean; + description + "TRUE if the up-threshold are global"; + } + leaf flooding-down-thresholds-are-global { + type boolean; + description + "TRUE if the down-threshold are global"; + } + list flooding-up-threshold { + description + "Flooding up-thresholds"; + leaf entry { + type uint8; + } + } + list flooding-down-threshold { + description + "Flooding down-thresholds"; + leaf entry { + type uint8; + } + } + } + + grouping MPLS-LM-BW-ALLOC-COMMON-INFO { + description + "Common information about bandwidth allocation"; + leaf is-role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + leaf links { + type uint16; + description + "Number of links"; + } + leaf bandwidth-hold-time { + type uint16; + units "second"; + description + "How long to hold the bandwidth (seconds)"; + } + } + + grouping MPLS-LM-STATS-LINK-INFO { + description + "Statistics for a link"; + container incoming-path-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container incoming-reservation-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container outgoing-path-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container outgoing-reservation-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container incoming-path-statistics32-bit { + description + "Incoming PATH counters"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + container incoming-reservation-statistics32-bit { + description + "Incoming RESV counters"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + container outgoing-path-statistics32-bit { + description + "Outgoing PATH counters"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + container outgoing-reservation-statistics32-bit { + description + "Outgoing RESV counters"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + leaf interface-name-xr { + type string; + description + "Link name"; + } + leaf link-address { + type inet:ipv4-address; + description + "Link's ip address"; + } + } + + grouping MPLS-LM-STATS-COUNTERS-32-BIT { + description + "Statistics for Setup and Tear processing (32 bit)"; + leaf setup-requests { + type uint32; + description + "Setup requests"; + } + leaf setup-errors { + type uint32; + description + "Setup errors"; + } + leaf setup-admits { + type uint32; + description + "Setup admits"; + } + leaf setup-rejects { + type uint32; + description + "Setup rejects"; + } + leaf tear-requests { + type uint32; + description + "Tear requests"; + } + leaf tear-errors { + type uint32; + description + "Tear errors"; + } + leaf tear-preempts { + type uint32; + description + "Tear preempts"; + } + } + + grouping MPLS-LM-STATS-COUNTERS { + description + "DEPRECATED, use of mpls_lm_stats_counters_32_bit + recommended"; + leaf setup-requests { + type uint16; + description + "Deprecated"; + } + leaf setup-errors { + type uint16; + description + "Deprecated"; + } + leaf setup-admits { + type uint16; + description + "Deprecated"; + } + leaf setup-rejects { + type uint16; + description + "Deprecated"; + } + leaf tear-requests { + type uint16; + description + "Deprecated"; + } + leaf tear-errors { + type uint16; + description + "Deprecated"; + } + leaf tear-preempts { + type uint16; + description + "Deprecated"; + } + } + + grouping MPLS-LM-STATS-SUMMARY-INFO { + description + "Statistics for Path and Reservation processing"; + container path-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container reservation-statistics { + description + "Deprecated"; + uses MPLS-LM-STATS-COUNTERS; + } + container path-statistics32-bit { + description + "Path counters (32-bit)"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + container reservation-statistics32-bit { + description + "Reservation counters (32-bit)"; + uses MPLS-LM-STATS-COUNTERS-32-BIT; + } + leaf is-role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + } + + grouping MPLS-LM-ADV-LINK-RESV-BW { + description + "Information about a link bandwidth"; + leaf priority { + type uint8; + description + "The priority level of this bandwidth"; + } + leaf pool0-bandwidth { + type uint32; + description + "The reservable pool0 BW at this priority"; + } + leaf pool1-bandwidth { + type uint32; + description + "The reservable pool1 BW at this priority"; + } + } + + grouping MPLS-LM-ADV-FLOODED-LINK { + description + "Information about a flooded link"; + container odu-link-capabilities { + description + "ODU Link Capabilities"; + uses ODU-LINK-CAPABILITIES; + } + leaf link-id { + type uint16; + description + "The link's id"; + } + leaf interface-name { + type string; + description + "The link's interface name"; + } + leaf link-address { + type inet:ipv4-address; + description + "The link's IPv4 address"; + } + leaf subnet-type { + type Igp-subnet; + description + "The link's subnet type"; + } + leaf outgoing-interface-id { + type uint32; + description + "The link's outgoing interface's id"; + } + leaf is-designated-router { + type boolean; + description + "TRUE if the link belongs to a desig. router"; + } + leaf designated-router-igp-id { + type string; + description + "IGP id of the designated router"; + } + leaf neighbor-igp-id { + type string; + description + "The neighbor's IGP id"; + } + leaf igp-neighbor-address { + type inet:ipv4-address; + description + "The neighbor's ip address"; + } + leaf incoming-interface-id { + type uint32; + description + "The link's incoming interface's id"; + } + leaf te-metric { + type uint32; + description + "The link's TE metric"; + } + leaf igp-metric { + type uint32; + description + "The link's IGP metric"; + } + leaf uni-link-delay { + type uint32; + description + "Unidirectional Link Delay in micro-sec"; + } + leaf bandwidth-units { + type Bandwidth-unit-enum; + description + "The link's bandwidth units"; + } + leaf physical-bandwidth { + type uint32; + description + "The link's physical BW"; + } + leaf bcm-id { + type uint16; + description + "Bandwidth Constraints Model ID"; + } + leaf link-maximum-reservable-bandwidth { + type uint32; + description + "The link's maximum reservable BW"; + } + leaf reservable-pool0-bandwidth { + type uint32; + description + "The link's reservable pool0 BW"; + } + leaf reservable-pool1-bandwidth { + type uint32; + description + "The link's reservable pool1 BW"; + } + leaf is-receiving-reservable-bandwidth-enabled { + type boolean; + description + "TRUE if receiving reservable BW is enabled"; + } + leaf receiving-direction { + type Link-direction-enum; + description + "Upstream or Downstream"; + } + leaf is-transmitting-reservable-bandwidth-enabled { + type boolean; + description + "TRUE if transmitting reservable BW is enabled"; + } + leaf transmitting-direction { + type Link-direction-enum; + description + "Upstream or Downstream"; + } + leaf affinity-attribute-flags { + type uint32; + description + "Deprecated"; + } + list extended-affinity-attribute-flag { + description + "The link's extended affinity bits"; + leaf entry { + type uint32; + } + } + list shared-risk-link-group { + description + "The link's shared risk link groups"; + uses MPLS-SRLG-INFO; + } + list receiving-reservable-bandwidth { + max-elements "8"; + description + "Receiving reservable BW at each priority + level(priority 0 to priority 7)"; + uses MPLS-LM-ADV-LINK-RESV-BW; + } + list transmitting-reservable-bandwidth { + max-elements "8"; + description + "Transmitting reservable BW at each priority + level (priority 0 to priority 7)"; + uses MPLS-LM-ADV-LINK-RESV-BW; + } + } + + grouping MPLS-LM-ADV-CONFIGURED-AREA { + description + "The information about an advertized area"; + leaf igp-area-id { + type string; + description + "The area id"; + } + leaf protocol { + type Igp-protocol; + description + "The IGP protocol running over this area"; + } + leaf system-id { + type string; + description + "The node's system id"; + } + leaf router-id { + type inet:ipv4-address; + description + "The node's router ID"; + } + list flooded-link { + description + "The array of flooded links in this area"; + uses MPLS-LM-ADV-FLOODED-LINK; + } + } + + grouping MPLS-LM-ADVERTISEMENT-INFO { + description + "Information about all the advertized areas"; + leaf flooding-status-message { + type string; + description + "Flooding status: ready or reason"; + } + leaf last-flooding-time { + type uint32; + units "second"; + description + "Time elapsed since last flooding in seconds"; + } + leaf last-flooding-trigger { + type Flooding-trigger; + description + "Trigger for last flooding"; + } + leaf next-flooding-time { + type uint32; + units "second"; + description + "Time remained for next flooding in seconds"; + } + leaf ds-te-mode { + type Rrr-dste-migration-mode; + description + "DS-TE Mode"; + } + list advertized-areas { + description + "Advertising info for all the IGP areas"; + uses MPLS-LM-ADV-CONFIGURED-AREA; + } + } + + grouping MPLS-LM-PREEMPTED-LSP { + description + "Preempted LSP info"; + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf lsp-id { + type uint16; + description + "LSP ID"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf requested-bandwidth { + type uint64; + description + "The path's requested bandwidth"; + } + leaf setup-priority { + type uint8; + description + "The path's setup priority"; + } + leaf hold-priority { + type uint8; + description + "The path's hold priority"; + } + leaf bandwidth-type { + type uint8; + description + "The path's bandwidth type; 0:BC0, 1:BC1, so on"; + } + leaf soft-preempted { + type boolean; + description + "TRUE is the preemption is a soft preemption"; + } + leaf soft-preemption-timeout { + type uint16; + units "second"; + description + "If the soft preemption is underway, this value + indicates the number of seconds before hard + preemption is triggered"; + } + leaf bandwidth-preempted { + type boolean; + description + "LSPs bandwidth is already preempted"; + } + leaf soft-preempted-fr-rrewrite { + type boolean; + description + "FRR-rewrite is done during soft preemption"; + } + } + + grouping MPLS-LM-PREEMPTION-EVENT { + description + "Preemption event info"; + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf lsp-id { + type uint16; + description + "LSP ID"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf requested-bandwidth { + type uint64; + description + "The path's requested bandwidth"; + } + leaf setup-priority { + type uint8; + description + "The path's setup priority"; + } + leaf hold-priority { + type uint8; + description + "The path's hold priority"; + } + leaf bandwidth-type { + type uint8; + description + "The path's bandwidth type; 0:CT0, 1:CT1, so on"; + } + leaf old-bandwidth-bc0 { + type uint64; + description + "Old BW for BC0"; + } + leaf old-bandwidth-bc1 { + type uint64; + description + "Old BW for BC1"; + } + leaf new-bandwidth-bc0 { + type uint64; + description + "New BW for BC0"; + } + leaf new-bandwidth-bc1 { + type uint64; + description + "New BW for BC1"; + } + leaf bandwidth-overshoot0 { + type uint64; + description + "BW Overshoot for BC0"; + } + leaf bandwidth-overshoot1 { + type uint64; + description + "BW Overshoot for BC1"; + } + leaf interface-name { + type string; + description + "Interface name"; + } + leaf event-time { + type uint32; + units "second"; + description + "Event time; seconds elapsed since January 1, + 1970"; + } + leaf ls-ps { + type uint16; + description + "Number of LSPs (not all may be present in the + list)"; + } + leaf soft-preempted-ls-ps { + type uint16; + description + "Number of LSPs softly preempted"; + } + leaf soft-preempted-ls-ps-fr-rrewrite { + type uint16; + description + "Number of LSPs softly preempted with traffic + switched to backup"; + } + leaf hard-preempted-ls-ps { + type uint16; + description + "Number of LSPs hardly preempted"; + } + leaf total-preempted-bandwidth-bc0 { + type uint64; + description + "Total amount of preempted class 0 bandwidth"; + } + leaf total-preempted-bandwidth-bc1 { + type uint64; + description + "Total amount of preempted class 1 bandwidth"; + } + leaf softly-preempted-bandwidth-bc0 { + type uint64; + description + "Amount of softly preempted class 0 bandwidth"; + } + leaf softly-preempted-bandwidth-bc1 { + type uint64; + description + "Amount of softly preempted class 1 bandwidth"; + } + leaf soft-preempted-fr-rrewrite-bandwidth-bc0 { + type uint64; + description + "Amount of softly preempted FRR RW class 0 + bandwidth"; + } + leaf soft-preempted-fr-rrewrite-bandwidth-bc1 { + type uint64; + description + "Amount of softly preempted FRR RW class 1 + bandwidth"; + } + leaf hard-preempted-bandwidth-bc0 { + type uint64; + description + "Amount of hard preempted class 0 bandwidth"; + } + leaf hard-preempted-bandwidth-bc1 { + type uint64; + description + "Amount of hard preempted class 1 bandwidth"; + } + leaf tunnels { + type uint16; + description + "Number of Tunnels"; + } + leaf soft-preempted-tunnels { + type uint16; + description + "Number of Tunnels softly preempted"; + } + leaf soft-preempted-tunnels-fr-rrewrite { + type uint16; + description + "Number of Tunnels softly preempted with traffic + switched to backup"; + } + leaf hard-preempted-tunnels { + type uint16; + description + "Number of Tunnels hardly preempted"; + } + list lsp { + description + "List of preempted LSPs"; + uses MPLS-LM-PREEMPTED-LSP; + } + } + + grouping MPLS-LM-IGP-NBR-INFO { + description + "Neighbor information"; + leaf interface-name { + type string; + description + "The interface on which this neighbor is + discovered"; + } + leaf neighbor-id { + type string; + description + "The neighbor's id"; + } + leaf area-id { + type string; + description + "The area id"; + } + leaf neighbor-address { + type inet:ipv4-address; + description + "The neighbor's IP address"; + } + } + + grouping MPLS-LM-IGP-NBRS-LINK-INFO { + description + "Neighbor information based on the link"; + list neighbor { + description + "Neighbors of the specified link id"; + uses MPLS-LM-IGP-NBR-INFO; + } + } + + grouping MPLS-TE-AFFINITY-MAP-BAG { + description + "A set of affinity maps"; + list affinity-map-array { + description + "Affinity map array"; + uses MPLS-TE-AFFINITY-MAP-INFO; + } + } + + grouping TE-AUTO-TUN-EXP-PATH-HOP { + description + "Auto Tunnel Explicit Path Hop"; + leaf hop-type { + type Te-auto-tun-exp-path-hop; + description + "Hop Type"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf mpls-label { + type uint32; + description + "MPLS Label"; + } + } + + grouping TE-AUTO-TUN-REQ-EXP-PATH-TUN-INFO { + description + "Auto tunnel request explicit path tunnel info"; + leaf tunnel-id { + type uint32; + description + "Tunnel ID"; + } + leaf tunnel-up { + type boolean; + description + "Tunnel Up"; + } + leaf ipv6-caps { + type boolean; + description + "IPv6 Capsulation"; + } + } + + grouping TE-AUTO-TUN-REQ-EXP-PATH { + description + "Auto Tunnel Explicit Path"; + container tunnel-info { + description + "Auto tunnel info"; + uses TE-AUTO-TUN-REQ-EXP-PATH-TUN-INFO; + } + leaf context-id { + type uint32; + description + "Explicit Path Context ID"; + } + leaf path-weight { + type uint32; + description + "Path Weight"; + } + leaf is-stale { + type boolean; + description + "Is Stale"; + } + leaf is-synced { + type boolean; + description + "Is Synced"; + } + leaf programmed-in-fib { + type boolean; + description + "Programmed in FIB"; + } + list hops { + description + "Path Hops"; + uses TE-AUTO-TUN-EXP-PATH-HOP; + } + } + + grouping TE-END-POINT { + description + "TE End Point"; + leaf address-family-type { + type Mpls-te-afi; + description + "AddressFamilyType"; + } + leaf ipv4-address { + when "../address-family-type = 'ipv4-unicast'" { + description + "../AddressFamilyType = 'IPv4Unicast'"; + } + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf ipv6-address { + when "../address-family-type = 'ipv6-unicast'" { + description + "../AddressFamilyType = 'IPv6Unicast'"; + } + type In-addr-ipv6; + description + "IPv6 Address"; + } + } + + grouping TE-SERVICE-SR-POLICY { + description + "Auto Tunnel Request Context"; + container end-point-xr { + description + "End Point"; + uses TE-END-POINT; + } + leaf sr-policy-id { + type uint32; + description + "SR Policy ID"; + } + leaf policy-active { + type boolean; + description + "Policy Active"; + } + leaf client-id-xr { + type uint32; + description + "Client ID"; + } + leaf client-name { + type string; + description + "Client Name"; + } + leaf color-xr { + type uint32; + description + "Color"; + } + leaf distinguisher-xr { + type uint32; + description + "SR Policy Distinguisher value"; + } + leaf ipv6-caps { + type boolean; + description + "IPv6 Capsulation"; + } + leaf binding-sid-context-id { + type uint32; + description + "Binding SID Context ID"; + } + leaf requested-binding-sid { + type uint32; + description + "Requested Binding SID"; + } + leaf binding-sid-request-pending { + type boolean; + description + "Binding SID Request Pending"; + } + leaf allocated-binding-sid { + type uint32; + description + "Allocated Binding SID"; + } + leaf rewrite-request-pending { + type boolean; + description + "Rewrite Requeste Pending"; + } + leaf rewrite-done { + type boolean; + description + "Rewrite Done"; + } + leaf is-stale { + type boolean; + description + "Is Stale"; + } + leaf is-synced { + type boolean; + description + "Is Synced"; + } + leaf notify-time { + type uint32; + description + "Notify Time"; + } + leaf notify-state-is-active { + type boolean; + description + "Notify State Is Active"; + } + leaf creation-time { + type uint64; + units "nanosecond"; + description + "SR policy structure creation timestamp + (clocktime in nsecs)"; + } + list explicit-path { + description + "Explicit Paths"; + uses TE-AUTO-TUN-REQ-EXP-PATH; + } + } + + grouping MPLS-TE-BFD-SUMMARY { + description + "TE BFD Summary Info"; + leaf tunnel-count-total { + type uint16; + description + "Total number of tunnel interface"; + } + leaf tunnel-count-bfd-enabled { + type uint16; + description + "Number of tunnel interface with BFD enabled"; + } + leaf tunnel-count-session-up { + type uint16; + description + "Number of tunnel with BFD session in up state"; + } + leaf tunnel-count-sbfd-enabled { + type uint16; + description + "Number of tunnel interface with SBFD enabled"; + } + leaf tunnel-count-sbfd-session-up { + type uint16; + description + "Number of tunnel with SBFD session in up state"; + } + leaf head-lsp-count-session-created { + type uint16; + description + "Number of head end LSP with BFD session created"; + } + leaf head-lsp-count-up { + type uint16; + description + "Number of head end LSP with BFD session in up + state"; + } + leaf tail-lsp-count-session-created { + type uint16; + description + "Number of tail end LSP with BFD session created"; + } + leaf tail-lsp-count-session-up { + type uint16; + description + "Number of tail end LSP with BFD session in up + state"; + } + leaf head-lsp-count-sbfd-session-created { + type uint16; + description + "Number of head end LSP with SBFD session created"; + } + leaf head-lsp-count-sbfd-up { + type uint16; + description + "Number of head end LSP with SBFD session in up + state"; + } + leaf link-count-bfd-enabled { + type uint16; + description + "Number of link with BFD enabled"; + } + leaf link-count-session-created { + type uint16; + description + "Number of link with BFD session created"; + } + leaf link-count-session-up { + type uint16; + description + "Number of link with BFD session in state Up"; + } + } + + grouping MPLS-TE-TAIL-BFD-LSP-INFO { + description + "TE Tail End BFDOverLSP Info"; + container lsp-fec { + description + "FEC for the LSP"; + uses TE-LSP-FEC; + } + leaf signaled-name { + type string; + description + "Signaled Name"; + } + leaf bfd-session-state { + type Te-bfd-lsp-session-state; + description + "BFD Session State"; + } + } + + grouping MPLS-TE-HEAD-BFD-LSP-INFO { + description + "TE Head End BFDOverLSP Info"; + leaf lsp-id { + type uint16; + description + "LSP ID"; + } + leaf bfd-session-state { + type Te-bfd-lsp-session-state; + description + "BFD Session State"; + } + } + + grouping MPLS-TE-HEAD-BFD-VIF-INFO { + description + "TE Head End Tunnel BFD Info"; + container current-lspbfd-info { + description + "Current LSP BFD Info"; + uses MPLS-TE-HEAD-BFD-LSP-INFO; + } + container standby-lspbfd-info { + description + "Standby LSP BFD Info"; + uses MPLS-TE-HEAD-BFD-LSP-INFO; + } + container reoptimized-lspbfd-info { + description + "Reoptimized LSP BFD Info"; + uses MPLS-TE-HEAD-BFD-LSP-INFO; + } + leaf tunnel-name-xr { + type string; + description + "Tunnel name"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination Address"; + } + leaf lspbfd-type { + type Te-vif-bfd; + description + "LSP BFD type"; + } + } + + grouping TE-LSP-OOR-STATS { + description + "LSP OOR statistics"; + leaf transitions { + type uint32; + description + "Number of transitions to this state"; + } + leaf rejected-ls-ps-number { + type uint32; + description + "Number of LSPs that were rejected in this state"; + } + leaf accepted-ls-ps-number { + type uint32; + description + "Number of LSPs that were accepted in this state"; + } + leaf accepted-reopt-ls-ps-number { + type uint32; + description + "Number of Reoptimize LSPs that were accepted in + this state"; + } + leaf rejected-reopt-ls-ps-number { + type uint32; + description + "Number of Reoptimize LSPs that were rejected in + this state"; + } + } + + grouping TE-LSP-OOR-STATE-INFO { + description + "LSP OOR State Information"; + container statistics { + description + "LSP OOR Statistics"; + uses TE-LSP-OOR-STATS; + } + leaf lsp-oor-state { + type Lsp-oor-state; + description + "The LSP-OOR state that this information belongs + to"; + } + leaf threshold-transit-all { + type uint32; + description + "The number of transit LSPs that triggers OOR + state transition"; + } + leaf threshold-transit-unprotected { + type uint32; + description + "The number of unprotected transit LSPs that + triggers OOR state transition"; + } + leaf te-metric-penalty { + type uint32; + description + "The TE metric penalty when the link is in this + LSP OOR state"; + } + leaf available-bw-percentage { + type uint32; + units "percentage"; + description + "The flooded percentage of available bandwidth + advertized when the link is in this LSP OOR + state"; + } + leaf transition-duration { + type uint32; + units "minute"; + description + "Recovery in minutes after the green LSP OOR + state is entered."; + } + leaf minimum-lsp-bandwidth { + type uint32; + description + "Minimum LSP bandwidth so the LSP is admitted + when the link is in this LSP OOR state"; + } + leaf accept-reopt { + type boolean; + description + "Make-before-break is allowed for LSPs + reoptimizing over the same link in the LSP OOR + state"; + } + } + + grouping TE-LSP-OOR-INFO { + description + "LSP OOR parameters for MPLS-TE"; + leaf transit-lsp-total-count { + type uint32; + description + "Number of all transit LSPs on the router"; + } + leaf transit-lsp-unprotected-count { + type uint32; + description + "Number of unprotected transit LSPs on the router"; + } + leaf lsp-oor-state { + type Lsp-oor-state; + description + "The current LSP OOR state"; + } + leaf lsp-oor-timestamp { + type uint32; + description + "Timestamp when the OOR state last changed"; + } + leaf lsp-oor-green-recovery-time { + type uint32; + units "second"; + description + "Time Remaining in Green Recovery State (seconds)"; + } + list lsp-oor-state-xr { + max-elements "3"; + description + "Array of LSP OOR info per state"; + uses TE-LSP-OOR-STATE-INFO; + } + } + + grouping MPLS-TE-SR-S2L-PATH-BAG { + description + "Segment-Routing S2L path"; + leaf is-primary { + type boolean; + description + "True if path is primary"; + } + leaf is-backup { + type boolean; + description + "True if path is backup"; + } + leaf outgoing-interface { + type string; + description + "Outgoing Interface Name"; + } + leaf path-id { + type uint32; + description + "Path Identifier"; + } + leaf backup-path-id { + type uint32; + description + "Backup Path Identifier"; + } + leaf next-hop { + type inet:ipv4-address; + description + "Next hop"; + } + list outgoing-labels-stack { + description + "Outgoing Labels Stack"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-S2L-FORWARDING-S2L-ID-BAG { + description + "S2L Forwarding identifiers"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf sub-group-id { + type uint16; + description + "S2L Sub-Group ID"; + } + leaf sub-group-original-id { + type inet:ipv4-address; + description + "S2L Sub-Group Originator ID"; + } + } + + grouping TE-S2L-OUTPUT-RW-FIELDS-BAG { + description + "An entry of output label rewrite data"; + container primary-s2l { + description + "Properties of the S2L rewrite"; + uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; + } + container backup-tunnel-rewrite { + description + "Properties of the S2L's backup tunnel rewrite"; + uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; + } + leaf timestamp { + type uint32; + units "second"; + description + "Time stamp of the entry (secs since 1/1/70)"; + } + leaf out-rewrite-role { + type Mpls-te-tunnel-role; + description + "Role of the associated S2L"; + } + leaf label { + type uint32; + description + "Local label of the rewrite"; + } + leaf backup-active { + type boolean; + description + "Backup is active"; + } + leaf s2l-source { + type inet:ipv4-address; + description + "Source of the S2L"; + } + leaf explicit-null { + type Te-s2l-output-rw-explicit-null; + description + "Imposition of explicit NULL"; + } + leaf protocol-transported { + type uint16; + description + "Protocol transported in the S2L"; + } + } + + grouping TE-S2L-OUTPUT-RW-FEC-SUBFAMILY-BAG { + description + "LMRIB S2L Output label rewrite FEC subfamily"; + container lsp-fec { + description + "LSP FEC"; + uses TE-LSP-FEC; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next hop address"; + } + leaf previous-hop-address { + type inet:ipv4-address; + description + "Previous hop address"; + } + } + + grouping MPLS-TE-S2L-OUTPUT-RW-BAG { + description + "S2L output rewrite"; + container subfamily { + description + "Subfamily identifiers"; + uses TE-S2L-OUTPUT-RW-FEC-SUBFAMILY-BAG; + } + container successful-rewrite { + description + "Successful rewrite details"; + uses TE-S2L-OUTPUT-RW-FIELDS-BAG; + } + container failed-rewrite { + description + "Failed rewrite details"; + uses TE-S2L-OUTPUT-RW-FIELDS-BAG; + } + container pending-rewrite { + description + "Pending rewrite details"; + uses TE-S2L-OUTPUT-RW-FIELDS-BAG; + } + } + + grouping MPLS-TE-S2L-FORWARDING-BAG { + description + "Output label forwarding details for S2Ls"; + container s2l-output-rewrite { + description + "Output rewrite shared between S2Ls"; + uses MPLS-TE-S2L-OUTPUT-RW-BAG; + } + leaf original-input-interface { + type string; + description + "Input interface of the S2Ls"; + } + leaf output-interface-name { + type string; + description + "The output interface of the S2Ls"; + } + leaf backup-tunnel-name { + type string; + description + "Backup tunnel name"; + } + leaf is-segment-routing { + type boolean; + description + "TRUE if the s2l path is Segment-Routing"; + } + list s2l { + description + "Unique identifiers for the S2L sharing the + rewrite"; + uses MPLS-TE-S2L-FORWARDING-S2L-ID-BAG; + } + list s2lsr-path { + description + "Segment-Routing Paths"; + uses MPLS-TE-SR-S2L-PATH-BAG; + } + } + + grouping TE-S2L-TUN-RW-FIELDS-P2MP-BAG { + description + "LMRIB Tunnel rewrite fields"; + leaf local-label { + type uint32; + description + "Local Label"; + } + } + + grouping TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG { + description + "Output rewrite tunnel information"; + leaf physica-interface-name { + type xr:Interface-name; + description + "Physical interface associated with the entry"; + } + leaf tunnel-interface-name { + type xr:Interface-name; + description + "Interface handle of the associated tunnel"; + } + leaf parent-interface-name { + type xr:Interface-name; + description + "Interface name of the parent intf"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next hop address associated with the entry"; + } + leaf out-label { + type uint32; + description + "Output label associated with the entry"; + } + list sr-label-stack { + description + "Segment-Routing labels stack"; + leaf entry { + type uint32; + } + } + } + + grouping TE-S2L-TUN-RW-FIELDS-P2P-BAG { + description + "LSD Tunnel rewrite fields"; + container primary-s2l { + description + "Properties of the primary S2L of tunnel rewrite"; + uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; + } + container backup-tunnel-rewrite { + description + "Properties of the S2L's backup for tunnel + rewrite"; + uses TE-S2L-OUTPUT-RW-OUTPUT-INFO-BAG; + } + leaf local-label { + type uint32; + description + "Local label of the tunnel rewrite"; + } + leaf tunnel-id { + type uint16; + description + "Tunnel ID for this rewrite data"; + } + leaf source-pe { + type inet:ipv4-address; + description + "source address of the tunnel"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "Extended Tunnel ID"; + } + leaf backup-active { + type boolean; + description + "FRR is active on the backup tunnel"; + } + leaf original-input-interface { + type string; + description + "Input interface of the S2Ls"; + } + leaf previous-hop-address { + type inet:ipv4-address; + description + "Previous hop"; + } + leaf output-interface-name { + type string; + description + "The output interface of the S2Ls"; + } + leaf backup-tunnel-name { + type string; + description + "Backup tunnel name"; + } + } + + grouping TE-S2L-TUN-RW-FIELD-CTYPE-BAG { + description + "C-type-specific LSP FEC data"; + container p2p-tunnel-rewrite { + when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2p-tunnel'" { + description + "../FEC_CType = 'MPLS_LIB_CTYPE_IPV4_P2P_TUNNEL'"; + } + description + "Tunnel rewrite data specific to P2P"; + uses TE-S2L-TUN-RW-FIELDS-P2P-BAG; + } + container p2mp-tunnel-rewrite { + when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2mp-tunnel'" { + description + "../FEC_CType = + 'MPLS_LIB_CTYPE_IPV4_P2MP_TUNNEL'"; + } + description + "Tunnel rewrite data specific to P2MP"; + uses TE-S2L-TUN-RW-FIELDS-P2MP-BAG; + } + leaf fec-ctype { + type Mpls-lib-c; + description + "FEC CType"; + } + } + + grouping TE-S2L-TUN-RW-FIELDS-BAG { + description + "LMRIB S2L Tunnel rewrite fields"; + container tunnel-rewrite { + description + "Union of p2p and p2mp tun rewrite data"; + uses TE-S2L-TUN-RW-FIELD-CTYPE-BAG; + } + leaf timestamp { + type uint32; + description + "Time stamp of the entry"; + } + } + + grouping MPLS-TE-S2L-TUN-RW-BAG { + description + "LMRIB S2L Tunnel rewrite"; + container successful-rewrite { + description + "Successful rewrite details"; + uses TE-S2L-TUN-RW-FIELDS-BAG; + } + container failed-rewrite { + description + "Failed rewrite details"; + uses TE-S2L-TUN-RW-FIELDS-BAG; + } + container pending-rewrite { + description + "Pending rewrite details"; + uses TE-S2L-TUN-RW-FIELDS-BAG; + } + leaf tunnel-interface { + type string; + description + "Tunnel interface name"; + } + leaf tunnel-signal-name { + type string; + description + "Tunnel signaled-name"; + } + leaf is-segment-routing { + type boolean; + description + "TRUE if the s2l path is Segment-Routing"; + } + } + + grouping TE-PP-SW-LOG-BAG { + description + "The full log of the path protection switchover + events"; + leaf path-protection-switchovers { + type uint32; + description + "Total number of path protection switchover + events. This could be more than the entries in + the array"; + } + leaf maximum-switchover-millisec { + type uint32; + units "millisecond"; + description + "The maximum delay for a switchover in + milliseconds"; + } + leaf average-switchover-millisec { + type uint32; + units "millisecond"; + description + "The average delay for a switchover in + milliseconds"; + } + list path-protection-switchover-entry { + description + "The array of path protection switchover entries"; + uses TE-PP-SW-LOG-ENTRY-BAG; + } + } + + grouping TUNNEL-MAX-INFO { + description + "Tunnel maximum information bag"; + leaf current-maximum-tunnels { + type uint32; + description + "Current Maximum Tunnels"; + } + leaf current-maximum-destinations { + type uint32; + description + "Current Maximum Destinations"; + } + leaf current-maximum-p2mp-tunnels { + type uint32; + description + "Current Maximum P2MP Tunnel Count"; + } + leaf current-maximum-p2mp-destnation-per-tunnel { + type uint32; + description + "Current Maximum P2MP Destinations Per Tunnel + Count"; + } + leaf absolute-maximum { + type uint32; + description + "Absolute Maximum"; + } + leaf current-maximum-autobackups { + type uint32; + description + "Current Maximum Autotunnel Backups Allowed"; + } + leaf current-maximum-auto-mesh { + type uint32; + description + "Current Maximum Autotunnel Mesh Allowed"; + } + leaf current-tunnel-count { + type uint32; + description + "Current tunnel count"; + } + leaf current-destination-count { + type uint32; + description + "Current Destination Count"; + } + leaf current-p2mp-tunnel-count { + type uint32; + description + "Current P2MP tunnel count"; + } + leaf current-p2mp-destnation-per-tunnel-count { + type uint32; + description + "Current P2MP Destination per tunnel count"; + } + leaf is-autobackup-range-configured { + type boolean; + description + "TRUE if the autobackup range is configured"; + } + leaf current-autobackups { + type uint32; + description + "Current Autotunnel Backup count"; + } + leaf is-auto-mesh-range-configured { + type boolean; + description + "TRUE if the automesh range is configured"; + } + leaf current-auto-mesh { + type uint32; + description + "Current Autotunnel Mesh count"; + } + leaf current-maximum-gmpls-unitunnels { + type uint32; + description + "Current Maximum GMPLS-UNI Tunnel Count"; + } + leaf current-gmpls-uni { + type uint32; + description + "Current GMPLS-UNI tunnel count"; + } + } + + grouping MPLS-TE-S2L-SR-OUTGOING-FWD-INFO { + description + "Segment-routing outgoing fowarding info"; + leaf lsp-output-interface { + type string; + description + "Output interface of LSP"; + } + leaf lsp-output-label { + type uint32; + description + "Output label of the LSP"; + } + } + + grouping MPLS-TE-PATH-PROTECTION-LSP { + description + "MPLS TE Path Protected LSP Information"; + leaf lsp-uptime { + type uint32; + description + "LSP Uptime"; + } + leaf path-protection-lsp-id { + type uint32; + description + "LSP ID "; + } + leaf lsp-local-label { + type uint32; + description + "Local label "; + } + leaf lsp-output-interface { + type string; + description + "Output interface of LSP"; + } + leaf lsp-output-label { + type uint32; + description + "Output label of the LSP"; + } + leaf lsp-state { + type Mpls-te-tunnel-state; + description + "LSP State"; + } + list srlsp-outgoing-info { + description + "Segment-routing iutgoing info of LSP"; + uses MPLS-TE-S2L-SR-OUTGOING-FWD-INFO; + } + list lsp-hop { + description + "Path used by LSP"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + } + + grouping MPLS-TE-PATH-PROTECTION { + description + "MPLS TE Path Protected Information"; + container path-protection { + description + "Path Protect Info"; + uses MPLS-TE-PP-INFO; + } + container current-lsp { + description + " Current LSP info"; + uses MPLS-TE-PATH-PROTECTION-LSP; + } + container standby-lsp { + description + " Standby LSP info"; + uses MPLS-TE-PATH-PROTECTION-LSP; + } + leaf is-tunnel-up { + type boolean; + description + "Tunnel UP"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "Extended Tunnel ID"; + } + } + + grouping MPLS-TE-AUTOTUN-P2P-INFO { + description + "P2P auto-tunnel summary per client information"; + leaf auto-p2p-tunnel { + type uint32; + description + "Total number of client P2P auto-tunnels"; + } + leaf up-auto-p2p-tunnels { + type uint32; + description + "Total number of client P2P auto-tunnels that are + up"; + } + leaf down-auto-p2p-tunnels { + type uint32; + description + "Total number of client P2P auto-tunnels that are + down"; + } + } + + grouping MPLS-TE-AUTOTUN-P2MP-INFO { + description + "P2MP auto-tunnel summary per client information"; + leaf auto-p2mp-tunnel { + type uint32; + description + "Total number of client P2MP auto-tunnels"; + } + leaf auto-p2mp-destinations { + type uint32; + description + "Total number of client P2MP auto-tunnel + destinations"; + } + leaf up-auto-p2mp-destinations { + type uint32; + description + "Total number of client P2MP auto-tunnel + destinations that are up"; + } + leaf down-auto-p2mp-destinations { + type uint32; + description + "Total number of client P2MP auto-tunnel + destinations that are down"; + } + leaf up-auto-p2mp-tunnels { + type uint32; + description + "Total number of client P2MP auto-tunnels that + are up"; + } + leaf down-auto-p2mp-tunnels { + type uint32; + description + "Total number of client P2MP auto-tunnels that + are down"; + } + leaf frr-auto-p2mp-tunnels { + type uint32; + description + "Total number of client P2MP auto-tunnels that + are FRR enabled"; + } + } + + grouping MPLS-TE-AUTOTUN-SVR-INFO { + description + "Auto-tunnel server client summary"; + container p2mp-info { + description + "P2MP info for a client"; + uses MPLS-TE-AUTOTUN-P2MP-INFO; + } + container p2p-info { + description + "P2P info for a client"; + uses MPLS-TE-AUTOTUN-P2P-INFO; + } + leaf protocol-type { + type Te-serv-tun-client; + description + "Client's protocol type"; + } + leaf client-instance-name { + type string; + description + "Client Instance name"; + } + leaf client-id { + type uint32; + description + "Client ID"; + } + } + + grouping MPLS-TE-AUTOTUN-SVR-SUMMARY-INFO { + description + "Auto-tunnel server summary information"; + container total-auto-p2mp-tunnels { + description + "Total number of P2MP auto-tunnels"; + uses MPLS-TE-AUTOTUN-P2MP-INFO; + } + container total-auto-p2p-tunnels { + description + "Total number of P2P auto-tunnels"; + uses MPLS-TE-AUTOTUN-P2P-INFO; + } + list clients-summary { + description + "List of auto-tunnel server clients"; + uses MPLS-TE-AUTOTUN-SVR-INFO; + } + } + + grouping TE-TABLE-DATAPOINT-INFO { + description + "Convergence table bag entry"; + } + + grouping TE-CONV-TBL-SUMMARY-BAG { + description + "TE tunnels convergence summary information bag"; + container table-path-out { + description + "Table path-out entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + container table-resv-in { + description + "Table resv-in entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + container table-label-rewrite { + description + "Table label rewrite entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + container table-pcalc { + description + "Table PCALC entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + container table-tunnel-rewrite { + description + "Table Tunnel rewrite entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + container table-frr-trigger { + description + "Table FRR trigger entry"; + uses TE-TABLE-DATAPOINT-INFO; + } + leaf tunnel-frr-active-count { + type uint32; + description + "FRR active Tunnel count"; + } + leaf tunnel-frr-total-count { + type uint32; + description + "FRR triggered Tunnel count"; + } + leaf tunnel-converged-count { + type uint32; + description + "Tunnel converged count"; + } + leaf tunnel-total-convergence-complete-time { + type uint64; + units "nanosecond"; + description + "Tunnel convergence complete timestamp (clocktime + in nsecs)"; + } + } + + grouping MPLS-TE-GMPLS-NNI-SUMMARY-INFO { + description + "GMPLS-NNI summary information"; + leaf heads-up { + type uint32; + description + "Tunnel heads in up state"; + } + leaf heads-down { + type uint32; + description + "Tunnel heads in down state"; + } + leaf mids-up { + type uint32; + description + "Tunnel mids in up state"; + } + leaf mids-down { + type uint32; + description + "Tunnel mids in down state"; + } + leaf tails-up { + type uint32; + description + "Tunnel tails in up state"; + } + leaf tails-down { + type uint32; + description + "Tunnel tails in down state"; + } + } + + grouping MPLS-TE-GMPLS-UNI-SUMMARY-INFO { + description + "GMPLS-UNI summary information"; + leaf heads-up { + type uint32; + description + "Tunnel heads in up state"; + } + leaf heads-down { + type uint32; + description + "Tunnel heads in down state"; + } + leaf tails-up { + type uint32; + description + "Tunnel tails in up state"; + } + leaf tails-down { + type uint32; + description + "Tunnel tails in down state"; + } + } + + grouping MPLS-TE-TUNNELS-SUMMARY-INFO-BAG { + description + "MPLS TE Tunnel Summary Information"; + container autobackup-summary { + description + "Autobackup summary"; + uses MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO; + } + container auto-mesh-summary { + description + "Automesh summary"; + uses MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO; + } + container auto-mesh-one-hop-summary { + description + "Automesh Onehop summary"; + uses MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO; + } + container gmpls-uni-summary { + description + "GMPLS-UNI summary"; + uses MPLS-TE-GMPLS-UNI-SUMMARY-INFO; + } + container gmpls-nni-summary { + description + "GMPLS-NNI summary"; + uses MPLS-TE-GMPLS-NNI-SUMMARY-INFO; + } + container current-tunnel-convergence-summary { + description + "Current Tunnel convergemce summary information"; + uses TE-CONV-TBL-SUMMARY-BAG; + } + container last-tunnel-convergence-summary { + description + "Last Tunnel convergemce summary information"; + uses TE-CONV-TBL-SUMMARY-BAG; + } + container auto-tun-server-summary { + description + "Auto-tunnel server tunnel summary"; + uses MPLS-TE-AUTOTUN-SVR-SUMMARY-INFO; + } + leaf pcalc-tie-breaker-type { + type Te-path-selection-tiebreaker; + description + "PCALC tiebreaker type"; + } + leaf pcalc-tiebreaker { + type uint32; + description + "Deprecated - replaced by PCALCTiebreakerType"; + } + leaf tiebreaker-qualifier { + type Mpls-te-metric-qualifier; + description + "Describes how the path selection tiebreaker was + specified:default, or globally set"; + } + leaf te-process-status { + type Mpls-te-tunnels-process-status; + description + "Status of te_control"; + } + leaf is-rsvp-process-enabled { + type boolean; + description + "Status of rsvp"; + } + leaf is-forwarding-enabled { + type boolean; + description + "TRUE if forwarding is enabled"; + } + leaf activated-heads { + type uint32; + description + "Total tunnel heads activated"; + } + leaf deactivated-heads { + type uint32; + description + "Total tunnel heads deactivated"; + } + leaf recovered-heads { + type uint32; + description + "Number of heads recovered"; + } + leaf is-periodic-reoptimization-on { + type boolean; + description + "TRUE if periodic reoptimization is on"; + } + leaf reoptimization-period { + type uint32; + units "second"; + description + "Reoptimization period in seconds"; + } + leaf next-reoptimization-timer { + type uint32; + units "second"; + description + "Time left till next reoptimization (seconds)"; + } + leaf auto-bandwidth-tunnels { + type uint32; + description + "Counter with number of auto-bw enabled tunnels"; + } + leaf auto-bandwidth-collection-period { + type uint32; + units "minute"; + description + "Collection period in minutes"; + } + leaf is-promotion-on { + type boolean; + description + "TRUE if periodic frr promotion is on"; + } + leaf promotion-period { + type uint32; + units "second"; + description + "FRR promotion period in seconds"; + } + leaf next-promotion-timer { + type uint32; + units "second"; + description + "Time left till next FRR promotion (seconds)"; + } + leaf tunnel-check-period { + type uint32; + units "second"; + description + "Tunnel head check period (seconds)"; + } + leaf next-check-time { + type uint32; + units "second"; + description + "Time left till next FRR promotion (seconds)"; + } + leaf tunnel-verify-period { + type uint32; + units "second"; + description + "Tunnel head verify period (seconds)"; + } + leaf next-verify-timer { + type uint32; + units "second"; + description + "Time left till next FRR promotion (seconds)"; + } + leaf frr-head-tunnels { + type uint32; + description + "FRR tunnels in Up state at head end"; + } + leaf protected-head-tunnels { + type uint32; + description + "FRR protected tunnels in Up state at head end"; + } + leaf rerouted-head-tunnels { + type uint32; + description + "FRR rerouted tunnels in Up state at head end"; + } + leaf frr-mid-point-tunnels { + type uint32; + description + "FRR tunnels at mid point"; + } + leaf protected-mid-point-tunnels { + type uint32; + description + "FRR protected tunnels at mid point"; + } + leaf rerouted-mid-point-tunnels { + type uint32; + description + "FRR rerouted tunnels at mid point"; + } + leaf link-protected-tunnels { + type uint32; + description + "FRR link protected tunnels"; + } + leaf node-protected-tunnels { + type uint32; + description + "FRR node protected tunnels"; + } + leaf bw-protected-tunnels { + type uint32; + description + "FRR BW protected tunnels"; + } + leaf frr-p2p-head-tunnels { + type uint32; + description + "P2P FRR tunnels in Up state at head end"; + } + leaf protected-p2p-head-tunnels { + type uint32; + description + "P2P FRR protected tunnels in Up state at head + end"; + } + leaf rerouted-p2p-head-tunnels { + type uint32; + description + "P2P FRR rerouted tunnels in Up state at head end"; + } + leaf frr-p2p-mid-point-tunnels { + type uint32; + description + "P2P FRR tunnels at mid point"; + } + leaf protected-p2p-mid-point-tunnels { + type uint32; + description + "P2P FRR protected tunnels at mid point"; + } + leaf rerouted-p2p-mid-point-tunnels { + type uint32; + description + "P2P FRR rerouted tunnels at mid point"; + } + leaf link-protected-p2p-tunnels { + type uint32; + description + "P2P FRR link protected tunnels"; + } + leaf node-protected-p2p-tunnels { + type uint32; + description + "P2P FRR node protected tunnels"; + } + leaf bw-protected-p2p-tunnels { + type uint32; + description + "P2P FRR BW protected tunnels"; + } + leaf backup-tunnels { + type uint32; + description + "FRR backup tunnels in Up state"; + } + leaf backups-assigned { + type uint32; + description + "FRR backup tunnels assigned"; + } + leaf frr-protected-interfaces { + type uint32; + description + "FRR Protected Interfaces"; + } + leaf rerouted-interfaces { + type uint32; + description + "FRR Rerouted Interfaces"; + } + leaf p2p-head-tunnels { + type uint32; + description + "p2p Tunnel interfaces"; + } + leaf up-p2p-head-tunnels { + type uint32; + description + "p2p Tunnel interfaces in Up state"; + } + leaf dynamic-up-p2p-head-tunnels { + type uint32; + description + "p2p Tunnel up via a dynamic path"; + } + leaf frr-config-p2p-head-tunnels { + type uint32; + description + "p2p Tunnel interfaces with FRR configuration"; + } + leaf p2p-head-destinations { + type uint32; + description + "p2p Destinations at Head"; + } + leaf p2p-head-destinations-up { + type uint32; + description + "p2p Destinations in Up state at Head"; + } + leaf bw-protected-p2p-s2-ls { + type uint32; + description + "p2p S2Ls BW Protected"; + } + leaf link-protected-p2p-s2-ls { + type uint32; + description + "p2p S2Ls Link Protected"; + } + leaf up-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls in Up state at Head"; + } + leaf proceeding-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls in signalling-proceeding state at Head"; + } + leaf recovering-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls recovering at Head"; + } + leaf frr-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls with FRR requested at Head"; + } + leaf protected-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls FRR Protected at Head"; + } + leaf rerouted-p2p-head-s2-ls { + type uint32; + description + "p2p S2Ls FRR Rerouted at Head"; + } + leaf p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls at Mid"; + } + leaf up-p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls in Up state at Mid"; + } + leaf proceeding-p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls in signalling=proceeding state at Mid"; + } + leaf frr-p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls with FRR requested at Mid"; + } + leaf protected-p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls FRR Protected at Mid"; + } + leaf rerouted-p2p-mid-point-s2-ls { + type uint32; + description + "p2p S2Ls FRR Rerouted at Mid"; + } + leaf p2p-tail-s2-ls { + type uint32; + description + "p2p S2Ls at Tail"; + } + leaf up-p2p-tail-s2-ls { + type uint32; + description + "p2p S2Ls in Up state at Tail"; + } + leaf p2p-tail-tunnels { + type uint32; + description + "p2p Tunnel tail interfaces"; + } + leaf path-protect-configured-tunnels { + type uint16; + description + "Tunnels configured with Path Protect"; + } + leaf path-protect-configured-tunnels-up { + type uint16; + description + "Path Protect configured tunnels connected/up"; + } + leaf path-protect-configured-tunnels-standby-up { + type uint16; + description + "Tunnels with standby LSP up"; + } + leaf link-diverse-paths { + type uint16; + description + "Link diverse paths"; + } + leaf node-diverse-paths { + type uint16; + description + "Node diverse paths"; + } + leaf link-and-node-diverse-paths { + type uint16; + description + "Link and Node diverse paths"; + } + leaf user-defined-paths { + type uint16; + description + "User defined paths"; + } + leaf p2mp-head-tunnels { + type uint32; + description + "P2MP Tunnel interfaces"; + } + leaf up-p2mp-head-tunnels { + type uint32; + description + "P2MP Tunnel interfaces in Up state"; + } + leaf frr-config-p2mp-head-tunnels { + type uint32; + description + "P2MP Tunnel interfaces with FRR configuration"; + } + leaf p2mp-head-destinations { + type uint32; + description + "P2MP Destinations at Head"; + } + leaf up-p2mp-head-destinations { + type uint32; + description + "P2MP Destinations in Up state at Head"; + } + leaf bw-protected-p2mp-s2-ls { + type uint32; + description + "P2MP S2Ls BW Protected"; + } + leaf link-protected-p2mp-s2-ls { + type uint32; + description + "P2MP S2Ls Link Protected"; + } + leaf up-p2mp-head-s2-ls { + type uint32; + description + "P2MP S2Ls in Up state at Head"; + } + leaf proceeding-p2mp-head-s2-ls { + type uint32; + description + "P2MP S2Ls in signalling-proceeding state at Head"; + } + leaf frr-p2mp-head-s2-ls { + type uint32; + description + "P2MP S2Ls with FRR requested at Head"; + } + leaf protected-p2mp-head-s2-ls { + type uint32; + description + "P2MP S2Ls FRR Protected at Head"; + } + leaf rerouted-p2mp-head-s2-ls { + type uint32; + description + "P2MP S2Ls FRR Rerouted at Head"; + } + leaf p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls at Mid"; + } + leaf up-p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls in Up state at Mid"; + } + leaf proceeding-p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls in signalling=proceeding state at Mid"; + } + leaf frr-p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls with FRR requested at Mid"; + } + leaf protected-p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls FRR Protected at Mid"; + } + leaf rerouted-p2mp-mid-point-s2-ls { + type uint32; + description + "P2MP S2Ls FRR Rerouted at Mid"; + } + leaf p2mp-tail-s2-ls { + type uint32; + description + "P2MP S2Ls at Tail"; + } + leaf up-p2mp-tail-s2-ls { + type uint32; + description + "P2MP S2Ls in Up state at Tail"; + } + leaf bidir-head-tunnels { + type uint32; + description + "Bidirectional Head Tunnel interfaces"; + } + leaf bidir-head-tunnels-up { + type uint32; + description + "Connected Bidirectional Head Tunnel interfaces"; + } + leaf bidir-head-tunnels-associated { + type uint32; + description + "Associated Bidirectional Head Tunnels"; + } + leaf bidir-head-tunnels-corouted { + type uint32; + description + "Corouted Bidirectional Head Tunnels"; + } + leaf bidir-head-ls-ps-up { + type uint32; + description + "Connected Bidirectional Head Tunnel interfaces"; + } + leaf bidir-head-ls-ps-proceeding { + type uint32; + description + "Proceeding Bidirectional Head LSPs"; + } + leaf bidir-head-ls-ps-associated { + type uint32; + description + "Associated Bidirectional Head LSPs"; + } + leaf bidir-head-ls-ps-standby { + type uint32; + description + "Standby Bidirectional Head LSPs"; + } + leaf bidir-mid-tunnels { + type uint32; + description + "Bidirectional Mid Tunnel interfaces"; + } + leaf bidir-mid-tunnels-up { + type uint32; + description + "Connected Bidirectional Mid Tunnel interfaces"; + } + leaf bidir-mid-ls-ps-proceeding { + type uint32; + description + "Proceeding Bidirectional Mid LSPs"; + } + leaf bidir-mid-ls-ps-associated { + type uint32; + description + "Associated Bidirectional Mid LSPs"; + } + leaf bidir-mid-ls-ps-standby { + type uint32; + description + "Standby Bidirectional Mid LSPs"; + } + leaf bidir-tail-ls-ps { + type uint32; + description + "Bidirectional Tail LSPs"; + } + leaf bidir-tail-ls-ps-up { + type uint32; + description + "Connected Bidirectional Tail LSPs"; + } + leaf bidir-tail-ls-ps-proceeding { + type uint32; + description + "Proceeding Bidirectional Tail LSPs"; + } + leaf bidir-tail-ls-ps-associated { + type uint32; + description + "Associated Bidirectional Tail LSPs"; + } + leaf bidir-tail-ls-ps-standby { + type uint32; + description + "Standby Bidirectional Tail LSPs"; + } + leaf bidir-tail-ls-ps-corouted { + type uint32; + description + "Corouted Bidirectional Tail LSPs"; + } + } + + grouping MPLS-TE-TUNNELS-AUTOBW-BRIEF { + description + "MPLS TE Tunnel AutoBandwidth Brief Information"; + container auto-bandwidth-status { + description + "Tunnels's AutoBandwidth Status information"; + uses MPLS-TE-TUNNELS-AUTOBW-STATUS; + } + leaf tunnel-name-xr { + type string; + description + "Tunnel name"; + } + leaf signaled-name { + type string; + description + "Tunnel signaled name"; + } + leaf tunnel-lsp-id { + type uint32; + description + "Tunnel Lsp Id"; + } + leaf bandwidth-applications { + type uint32; + description + "Total number of bandwidth applications requested + by auto-bw"; + } + leaf last-bandwidth-applied { + type uint32; + description + "Last bandwidth requested by auto-bw for the + tunnel"; + } + leaf tunnel-requested-bandwidth { + type uint32; + description + "Requested Bandwidth for the tunnel"; + } + leaf signalled-bandwidth { + type uint32; + description + "Signalled bandwidth for the tunnel"; + } + leaf highest-bandwidth { + type uint32; + description + "Highest bandwidth registered within current + application period"; + } + leaf last-sample-bandwidth { + type uint32; + description + "Last sample bandwidth collected"; + } + leaf samples-collected { + type uint32; + description + "Number of samples collected within current + application period"; + } + leaf time-left-application { + type uint32; + description + "Time left until next auto-bw application + algorithm is performed"; + } + } + + grouping MPLS-TE-FLEX-LSP-REV-LSP { + description + "MPLS TE Flex LSP Reverse LSP information"; + container reverse-lsp-fec { + description + "Reverse Associated Bidir LSP FEC"; + uses TE-LSP-FEC; + } + container association { + description + "Association Object"; + uses MPLS-TE-S2L-ASSOCIATION-OBJECT; + } + container protection { + description + "Protection Object"; + uses MPLS-TE-S2L-PROTECTION-OBJECT; + } + leaf reverse-lsp-present { + type boolean; + description + "Reverse Associated Bidir LSP Present"; + } + leaf reverse-lsp-connected { + type boolean; + description + "Reverse Associated Bidir LSP Connected"; + } + } + + grouping MPLS-TE-FLEX-LSP-LSP { + description + "MPLS TE FLEX LSP Information"; + container flex-info { + description + "Flex Info"; + uses MPLS-TE-S2L-FLEX-INFO; + } + container association { + description + "Association Object"; + uses MPLS-TE-S2L-ASSOCIATION-OBJECT; + } + container protection { + description + "Protection Object"; + uses MPLS-TE-S2L-PROTECTION-OBJECT; + } + container reverse-lsp { + description + "Reverse LSP information"; + uses MPLS-TE-FLEX-LSP-REV-LSP; + } + leaf is-operational { + type boolean; + description + "Operational"; + } + leaf lsp-uptime { + type uint32; + description + "LSP Uptime"; + } + leaf path-protection-lsp-id { + type uint32; + description + "LSP ID "; + } + leaf lsp-mode { + type Mpls-te-lsp-mode; + description + "LSP mode"; + } + leaf lsp-local-label { + type uint32; + description + "Local label "; + } + leaf lsp-output-interface { + type string; + description + "Output interface of LSP"; + } + leaf lsp-output-label { + type uint32; + description + "Output label of the LSP"; + } + leaf lsp-state { + type Mpls-te-tunnel-state; + description + "LSP State"; + } + list lsp-hop { + description + "Path used by LSP"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + } + + grouping MPLS-TE-FLEX-LSP { + description + "MPLS TE Flex LSP Information"; + container working-lsp { + description + " Working LSP info"; + uses MPLS-TE-FLEX-LSP-LSP; + } + container protect-lsp { + description + " Protect LSP info"; + uses MPLS-TE-FLEX-LSP-LSP; + } + leaf is-tunnel-up { + type boolean; + description + "Tunnel UP"; + } + leaf tun-id { + type uint16; + description + "Tunnel ID"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "Extended Tunnel ID"; + } + } + + grouping MPLS-TE-FASTREROUTE-PROMOTION-BAG { + description + "MPLS TE Fast Reroute Promotion Information"; + leaf promotion-period { + type uint32; + units "second"; + description + "Promotion period in seconds"; + } + leaf remaining-time { + type uint32; + units "second"; + description + "Remaining time for next promotion in seconds"; + } + leaf is-configured { + type boolean; + description + "Indicate if periodic promotion is configured "; + } + } + + grouping MPLS-TE-FASTREROUTE-PROTECTION-BAG { + description + "MPLS TE Fast Reroute Protected LSP Information"; + leaf source-address-xr { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination"; + } + leaf tunnel-id-xr { + type uint32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id-xr { + type inet:ipv4-address; + description + "Extended Tunnel ID"; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf tunnel-instance { + type uint32; + description + "Tunnel instance"; + } + leaf role { + type Mpls-te-tunnel-role; + description + "Role of LSP"; + } + leaf admin-status { + type Mpls-te-tunnel-state; + description + "Tunnel Admin status"; + } + leaf operation-status { + type Mpls-te-tunnel-state; + description + "Tunnel operational status"; + } + leaf is-signalled { + type boolean; + description + "Indicates whether signalled"; + } + leaf is-frr-requested { + type boolean; + description + "TRUE if frr protection is on"; + } + leaf outbound-frr-state { + type Mpls-te-frr-state; + description + "Indicates outbound FRR state"; + } + leaf inbound-frr-state { + type Mpls-te-frr-state; + description + "Indicates inbound FRR state"; + } + leaf output-interface-lsp { + type string; + description + "Output intface of the LSP"; + } + leaf output-label { + type uint32; + description + "Output label"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next hop"; + } + leaf frr-output-tunnel-interface { + type string; + description + "FRR output tunnel intface"; + } + leaf frr-output-label { + type uint32; + description + "FRR output label"; + } + leaf backup-status { + type Mpls-te-backup-status; + description + "Backup status"; + } + leaf bandwidth-pool-type { + type Mpls-te-bw-pool; + description + "Bandwidth pool type"; + } + leaf bandwidth-limit-type { + type Mpls-te-bw-limit; + description + "Bandwidth limit type"; + } + leaf original-input-interface { + type string; + description + "Input intface of the LSP"; + } + leaf input-label { + type uint32; + description + "Input label"; + } + leaf previous-hop-address { + type inet:ipv4-address; + description + "Previous hop"; + } + leaf backup-bandwidth { + type uint32; + description + "Backup bandwidth"; + } + leaf frr-output-interface { + type string; + description + "Output interface of bkup tunnel"; + } + leaf backup-next-hop-address { + type inet:ipv4-address; + description + "S2L Nexthop of the backup tunnel"; + } + leaf lsp-bandwidth-type { + type Mpls-te-bw-pool; + description + "LSP bandwidth type"; + } + leaf sharing-type { + type Mpls-te-frr-sharing; + description + "Outgoing i/f Sharing type"; + } + leaf is-p2mp-tunnel { + type boolean; + description + "Is P2P or P2MP Tunnel"; + } + leaf sub-group-original-id { + type inet:ipv4-address; + description + "S2L Sub-Group Originator ID"; + } + leaf sub-group-id-xr { + type uint16; + description + "S2L Sub-Group ID"; + } + leaf p2mp-id-xr { + type uint32; + description + "S2L P2MP ID"; + } + } + + grouping MPLS-TE-FASTREROUTE-BAG { + description + "MPLS TE Fast Reroute Information"; + leaf backup-tunnel-id { + type uint32; + description + "Backup tunnel ID"; + } + leaf backup-tunnel-name-xr { + type string; + description + "Backup tunnel name"; + } + leaf backup-status { + type Mpls-te-backup-status; + description + "Backup state"; + } + leaf backup-type { + type Mpls-te-backup; + description + "Backup type"; + } + leaf backup-usage { + type Mpls-te-backup-usage; + description + "Backup usage"; + } + leaf prot-interface-autobackup-config { + type Auto-backup-protection; + description + "Protected interface Autobackup config"; + } + leaf prot-interface-srlg-config { + type Auto-backup-srlg-mode; + description + "Protected interface SRLG config"; + } + leaf tunnel-attribute-set-name { + type string; + description + "Attribute Set Name"; + } + leaf has-attribute-set { + type boolean; + description + "TRUE if the auto-backup has an attribute set + defined"; + } + leaf is-attribute-set-in-db { + type boolean; + description + "Flag to indicate the existence of attribute set + found in database"; + } + leaf recreate-timer-is-running { + type boolean; + description + "Indicates if the recreate timer is running"; + } + leaf recreate-remaining-time { + type uint32; + units "second"; + description + "Time Remaining in Recreate Timer (seconds)"; + } + leaf source-address { + type inet:ipv4-address; + description + "Backup's source"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Backup's destination"; + } + leaf general-status { + type Mpls-te-tunnel-state; + description + "Backup's general status"; + } + leaf connection-status { + type Mpls-te-tunnel-state; + description + "Backup's connection's status"; + } + leaf output-interface-name { + type string; + description + "The output intf of the tunnel"; + } + leaf bandwidth-pool-type { + type Mpls-te-bw-pool; + description + "Bandwidth pool type"; + } + leaf bandwidth-limit-type { + type Mpls-te-bw-limit; + description + "Bandwidth limit type"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth (kbps)"; + } + leaf tunnel-instance { + type uint32; + description + "Tunnel instance"; + } + leaf in-use-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth currently in use (kbps)"; + } + leaf soft-preempted-in-use-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth soft preempted and rerouted over the + backup(kbps)"; + } + leaf ls-ps { + type uint32; + description + "Number of LSPs"; + } + leaf s2l-families { + type uint32; + description + "Number of S2L Families"; + } + leaf s2-ls { + type uint32; + description + "Number of P2MP S2Ls"; + } + leaf frr-active-ls-ps { + type uint32; + description + "Number of LSPs in FRR active state"; + } + leaf frr-active-soft-preempted-ls-ps { + type uint32; + description + "Number of soft preempted LSPs routed over backup"; + } + } + + grouping TE-TUNNEL-AUTOROUTE-DEST { + description + "TE TUNNEL AUTOROUTE DEST"; + leaf prefix-address { + type inet:ipv4-address; + description + "PrefixAddress"; + } + leaf prefix-length { + type uint32; + description + "PrefixLength"; + } + leaf metric { + type uint32; + description + "Metric"; + } + leaf install-time { + type uint32; + description + "InstallTime"; + } + leaf interface-handle { + type xr:Interface-name; + description + "InterfaceHandle"; + } + } + + grouping TE-TUNNEL-AUTOROUTE-DESTINATIONS { + description + "TE TUNNEL AUTOROUTE DESTINATIONS"; + leaf tunnel-id-xr { + type uint16; + description + "tunnel id xr"; + } + list tunnel-autoroute-dest { + description + "tunnel autoroute dest"; + uses TE-TUNNEL-AUTOROUTE-DEST; + } + } + + grouping TE-SYNC-STATUS-MASTER-INFO { + description + "Master Sync status information"; + container idt { + description + "Sync status IDT information"; + uses TE-SYNC-IDT-INFO; + } + } + + grouping TE-S2L-PENDING-INFO { + description + "Sync pending S2L information"; + leaf pending-reason { + type Te-sync-pending-reason; + description + "Pending reason"; + } + leaf signaled-name { + type string; + description + "Signaled name"; + } + leaf s2l-role { + type Mpls-te-tunnel-role; + description + "S2L role"; + } + } + + grouping TE-VIF-PENDING-INFO { + description + "Sync pending VIF information"; + leaf pending-reason { + type Te-sync-pending-reason; + description + "Pending reason"; + } + leaf tunnel-name { + type string; + description + "Tunnel name"; + } + } + + grouping TE-IDT-STATUS { + description + "IDT status information"; + leaf is-ready-status { + type boolean; + description + "Ready status"; + } + leaf reason { + type Te-sync-not-ready-reason; + description + "Not ready reason"; + } + leaf idt-start-time { + type uint32; + units "second"; + description + "IDT start timestampe in seconds"; + } + leaf idt-end-time { + type uint32; + units "second"; + description + "IDT end timestampe in seconds"; + } + leaf declare-time { + type uint32; + units "second"; + description + "Declare ready timestampe in seconds"; + } + leaf withdraw-time { + type uint32; + units "second"; + description + "Withdraw ready timestampe in seconds"; + } + } + + grouping TE-SYNC-IDT-INFO { + description + "Sync Status information"; + container current-idt-info { + description + "Current IDT information"; + uses TE-IDT-STATUS; + } + container previous-idt-status { + description + "Previous IDT information"; + uses TE-IDT-STATUS; + } + } + + grouping TE-SYNC-STATUS-SLAVE-INFO { + description + "Sync status slave Information"; + container idt { + description + "Sync status IDT information"; + uses TE-SYNC-IDT-INFO; + } + leaf insync-tunnels { + type uint32; + description + "Tunnels in sync"; + } + leaf insync-sub-ls-ps { + type uint32; + description + "Sub-LSPs in sync"; + } + leaf pending-tunnels { + type uint32; + description + "Tunnels in sync pending"; + } + leaf pending-sub-ls-ps { + type uint32; + description + "Sub-LSPs in sync pending"; + } + list vif-pending { + description + "Pending tunnels details"; + uses TE-VIF-PENDING-INFO; + } + list s2l-pending { + description + "Pending sub-LSPs details"; + uses TE-S2L-PENDING-INFO; + } + } + + grouping TE-SYNC-STATUS-INFO { + description + "Sync information for the NSR and ISSU based on + master or slave role"; + container slave-sync-information { + when "../sync-show-type = 'slave-sync-status-show'" { + description + "../SyncShowType = 'SlaveSyncStatusShow'"; + } + description + "Slave sync information"; + uses TE-SYNC-STATUS-SLAVE-INFO; + } + container master-sync-information { + when "../sync-show-type = 'master-sync-status-show'" { + description + "../SyncShowType = 'MasterSyncStatusShow'"; + } + description + "Master sync information"; + uses TE-SYNC-STATUS-MASTER-INFO; + } + leaf sync-show-type { + type Te-sync-status-show; + description + "SyncShowType"; + } + } + + grouping TE-NSR-ISSU-STATUS-INFO { + description + "NSR/ISSU sync status information"; + container sync-status-information { + description + "Sync information for the NSR and ISSU"; + uses TE-SYNC-STATUS-INFO; + } + leaf role { + type Te-proc-role; + description + "Process role"; + } + } + + grouping MPLS-TE-DSTE-CLASS { + description + "A DSTE class"; + leaf class-number { + type uint8; + description + "The DS-TE class number from 0 to 7"; + } + leaf class-type { + type uint8; + description + "The class type of the TE class"; + } + leaf priority { + type uint8; + description + "The priority of the TE class"; + } + leaf class-status { + type Mpls-te-dste-class-status; + description + "The status of the TE class"; + } + } + + grouping MPLS-TE-DSTE-CLASSES { + description + " A set of DSTE classes"; + list te-class { + max-elements "8"; + description + "te class"; + uses MPLS-TE-DSTE-CLASS; + } + } + + grouping MPLS-TE-TOPO-SRLG-LINK { + description + "SRLG link address data"; + container link-address-generic { + description + "Link address"; + uses TE-ADDR; + } + leaf link-address { + type inet:ipv4-address; + description + "Link address"; + } + leaf te-router-id { + type inet:ipv4-address; + description + "Link TE router-id"; + } + } + + grouping MPLS-TE-TOPO-SRLG-AREA { + description + "A MPLS TE topology link in a SRLG"; + leaf igp-type { + type Igp-protocol; + description + "IGP type"; + } + leaf igp-instance { + type string; + description + "IGP Instance name"; + } + leaf igp-area { + type uint32; + description + "IGP Area ID"; + } + leaf igp-area-format { + type Igp-ospf-area-format; + description + "IGP-area format"; + } + list srlg-link { + description + "Links in this SRLG/area"; + uses MPLS-TE-TOPO-SRLG-LINK; + } + } + + grouping MPLS-TE-TOPO-SRLG { + description + "A SRLG entry in the MPLS TE topology"; + leaf srlg-name { + type string; + description + "SRLG name"; + } + leaf admin-weight { + type uint32; + description + "The admin weight that is added to the link if + the SRLG is shared with the protected link"; + } + list srlg-areas { + description + "Topology areas in this SRLG"; + uses MPLS-TE-TOPO-SRLG-AREA; + } + } + + grouping MPLS-TE-TOPO-CFG-SRLG-LINK { + description + "A link associated with configured SRLG"; + leaf local-address { + type inet:ipv4-address; + description + "Local address"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Remote address"; + } + } + + grouping MPLS-TE-TOPO-CFG-SRLG { + description + "A configured SRLG entry"; + leaf srlg-number-xr { + type uint32; + description + "SRLG number"; + } + leaf srlg-name { + type string; + description + "SRLG name"; + } + leaf admin-weight { + type uint32; + description + "The admin weight that is added to the link if + the SRLG is shared with the protected link"; + } + leaf is-admin-weight-configured { + type boolean; + description + "Set to TRUE if the admin weight is explicitely + configured"; + } + list srlg-link { + description + "Link associated with the SRLG"; + uses MPLS-TE-TOPO-CFG-SRLG-LINK; + } + } + + grouping MPLS-TE-TOPOLOGY-PATH-BAG { + description + "MPLS TE Topology Path Information"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + leaf tunnel-id-xr { + type uint32; + description + "The tunnel ID to which this path belong"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "The path's destination"; + } + leaf is-partial-path { + type boolean; + description + "TRUE if path is partial"; + } + leaf is-full-path { + type boolean; + description + "TRUE if path is full"; + } + leaf is-topology-checked { + type boolean; + description + "TRUE if checking the topology is enabled"; + } + leaf is-segment-routing-db-checked { + type boolean; + description + "TRUE if checking the Segment-Routing DB is + enabled"; + } + leaf requested-bandwidth { + type uint64; + description + "The path's requested bandwidth"; + } + leaf bandwidth-type { + type uint64; + description + "The path's bandwidth type"; + } + leaf mininum-bandwidth { + type uint64; + description + "The path's minimum bandwidth"; + } + leaf accumulated-admin-weight { + type uint64; + description + "The path's accumulated admin weight"; + } + leaf setup-priority-xr { + type uint32; + description + "The path's setup priority"; + } + leaf hold-priority-xr { + type uint32; + description + "The path's hold priority"; + } + leaf node-hop-count { + type uint8; + description + "Path hop count"; + } + leaf exclude-srlg-address { + type inet:ipv4-address; + description + "The Exclude SRLG IP Addr"; + } + list hop { + description + "The path's array of hops"; + leaf entry { + type inet:ipv4-address; + } + } + list shared-risk-link-group { + description + "The path's excluded srlg groups"; + uses MPLS-SRLG-INFO; + } + list sr-segment { + description + "The path's array of Segment-Routing segments"; + uses TE-S2L-SR-PATH-HOP; + } + } + + grouping MPLS-TE-AREA-INFO { + description + "Global information for an MPLS-TE area"; + container local-sid-and-srbg { + description + "Local SID and SRBG"; + uses TE-SR-NODE-INFO; + } + leaf protocol { + type Igp-protocol; + description + "Protocol used"; + } + leaf node-id { + type string; + description + "The node's IGP id"; + } + leaf area-id { + type string; + description + "The area's id"; + } + } + + grouping MPLS-TE-TOPOLOGY-GLOBAL-INFO-BAG { + description + "MPLS TE Topology Global Information"; + leaf hold-down-interval { + type uint32; + units "second"; + description + "Interval in seconds to hold down a neighbor + after a signalling error"; + } + leaf link-add-remove-count { + type uint32; + description + "Link add/remove counter"; + } + leaf local-model-id { + type uint32; + description + "Local BC Model ID"; + } + list areas { + description + "Information for areas"; + uses MPLS-TE-AREA-INFO; + } + } + + grouping MPLS-TE-LSP-WRAP-PROTECTION-BAG { + description + "MPLS TE LSP Wrap Protected LSP Information"; + leaf source-address-xr { + type inet:ipv4-address; + description + "Source"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "Destination"; + } + leaf tunnel-id-xr { + type uint16; + description + "Tunnel ID"; + } + leaf extended-tunnel-id-xr { + type inet:ipv4-address; + description + "Extended Tunnel ID"; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf tunnel-instance { + type uint32; + description + "Tunnel instance"; + } + leaf lsp-wrap-protection-enable { + type boolean; + description + "LSP Wrap protection enabled"; + } + leaf lsp-wrap-protection-label { + type uint32; + description + "LSP Wrap Merge Point Label"; + } + leaf reverse-egress-interface { + type string; + description + "Reverse Egress Interface"; + } + leaf reverse-lsp-label { + type uint32; + description + "Reverse LSP label"; + } + leaf lsp-wrap-protection-state { + type Mpls-te-lsp-wrap-state; + description + "LSP wrap protection state"; + } + leaf sub-group-original-id { + type inet:ipv4-address; + description + "S2L Sub-Group Originator ID"; + } + leaf sub-group-id-xr { + type uint16; + description + "S2L Sub-Group ID"; + } + leaf p2mp-id-xr { + type uint32; + description + "S2L P2MP ID"; + } + } + + grouping TE-NEXTHOP-PATH { + description + "TE NEXTHOP PATH"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf address { + type inet:ipv4-address; + description + "Address"; + } + leaf abr-address { + type inet:ipv4-address; + description + "ABRAddress"; + } + } + + grouping TE-RIB-ROUTE-BAG { + description + "TE RIB ROUTE BAG"; + leaf route-protocol-name { + type string; + description + "RouteProtocolName"; + } + leaf route-distance { + type uint32; + description + "RouteDistance"; + } + leaf route-metric { + type uint32; + description + "RouteMetric"; + } + leaf last-update-time { + type uint32; + description + "LastUpdateTime"; + } + leaf is-registered { + type boolean; + description + "IsRegistered"; + } + leaf is-stale { + type boolean; + description + "IsStale"; + } + leaf is-default { + type boolean; + description + "IsDefault"; + } + leaf is-connected { + type boolean; + description + "IsConnected"; + } + leaf is-populated { + type boolean; + description + "IsPopulated"; + } + leaf route-type { + type uint16; + description + "RouteType"; + } + list next-hop-path { + description + "next hop path"; + uses TE-NEXTHOP-PATH; + } + } + + grouping TE-TUNNEL-PATH { + description + "TE TUNNEL PATH"; + leaf tunnel-id { + type uint16; + description + "TunnelID"; + } + leaf interface-handle { + type xr:Interface-name; + description + "InterfaceHandle"; + } + leaf install-time { + type uint32; + description + "InstallTime"; + } + leaf installed-metric { + type uint32; + description + "InstalledMetric"; + } + } + + grouping TE-NEXTHOP-ROUTE { + description + "TE NEXTHOP ROUTE"; + container active-route { + description + "active route"; + uses TE-RIB-ROUTE-BAG; + } + container backup-route { + description + "backup route"; + uses TE-RIB-ROUTE-BAG; + } + leaf prefix-address-xr { + type inet:ipv4-address; + description + "prefix address xr"; + } + leaf prefix-length-xr { + type uint32; + description + "prefix length xr"; + } + leaf exact-match { + type boolean; + description + "ExactMatch"; + } + leaf create-time { + type uint32; + description + "CreateTime"; + } + leaf last-used-time { + type uint32; + description + "LastUsedTime"; + } + leaf expire-time { + type uint32; + description + "ExpireTime"; + } + leaf installed-tunnel-path-num { + type uint32; + description + "InstalledTunnelPathNum"; + } + list tunnel-path { + description + "tunnel path"; + uses TE-TUNNEL-PATH; + } + } + + grouping TE-SH-IGP-AREA-STATS { + description + "Statistics for an IGP-area"; + leaf area-adjacency-request-messages { + type uint32; + description + "Number of adjacency request messages sent"; + } + leaf area-adjacency-announce-messages { + type uint32; + description + "Number of adjacency announcement messages + received"; + } + leaf area-flood-messages { + type uint32; + description + "Number of local LSA floods sent"; + } + leaf area-lsa-announce-messages { + type uint32; + description + "Number of LSA announcement messages received"; + } + leaf area-lsa-fragment-announce-messages { + type uint32; + description + "Number of LSA fragment announcement messages + received"; + } + leaf area-lsa-delete-messages { + type uint32; + description + "Number of LSA delete messages received"; + } + leaf area-lsa-fragment-delete-messages { + type uint32; + description + "Number of LSA fragment delete messages received"; + } + leaf area-tunnel-announce-messages { + type uint32; + description + "Number of tunnel announcement messages sent"; + } + } + + grouping TE-SH-IGP-AREA-ACTIVE { + description + "Data relating to an active IGP area"; + container area-statistics { + description + "Area communication statistics"; + uses TE-SH-IGP-AREA-STATS; + } + leaf interfaces-count { + type uint32; + description + "Number of interfaces running over this area"; + } + leaf link-idt-received { + type boolean; + description + "Flag to indicate IDT for link adjacencies was + received"; + } + leaf topology-idt-received { + type boolean; + description + "Flag to indicate IDT topology was received"; + } + leaf sr-strict { + type boolean; + description + "Flag to indicate if the area is SR strict"; + } + leaf p2p-heads-count { + type uint32; + description + "Number of p2p tunnel heads whose path was + calculated over this area"; + } + leaf p2p-autoroute-announced-count { + type uint32; + description + "Number of p2p tunnel heads which have been + autoroute-announced into this area"; + } + leaf p2p-forwarding-adjacency-count { + type uint32; + description + "Number of p2p tunnel heads which have been + announced as forwarding adjacencies in this area"; + } + leaf p2mp-destination-count { + type uint32; + description + "Number of P2MP destinations whose path was + calculated over this area"; + } + leaf tunnel-loose-hops { + type uint32; + description + "Number of tunnels with a loose hop ERO expanded + in this area"; + } + } + + grouping TE-SH-IGP-AREA { + description + "An IGP area"; + container active-data { + description + "Data which applies only to an active area"; + uses TE-SH-IGP-AREA-ACTIVE; + } + leaf area-index { + type uint32; + description + "Internal area index"; + } + leaf area-number { + type uint32; + description + "Area number"; + } + leaf area-format { + type Igp-ospf-area-format; + description + "IGP Area Format"; + } + leaf is-config-ready { + type boolean; + description + "Indicates whether or not the area is correctly + configured under the IGP submode to run TE"; + } + } + + grouping TE-SH-IGP { + description + "An IGP instance"; + leaf igp-type { + type Igp-protocol; + description + "IGP type"; + } + leaf instance-name { + type string; + description + " The IGP instance name"; + } + leaf igp-system-id { + type string; + description + " The IGP instance's system/router-id; interpret + appropriately depending on IGP type"; + } + leaf configured-te-router-id { + type inet:ipv4-address; + description + "Configured TE router-id"; + } + leaf global-router-id { + type inet:ipv4-address; + description + "Global router-id"; + } + leaf globall-router-id-optical { + type inet:ipv4-address; + description + "Global router-id for GMPLS (optical TE)"; + } + leaf in-use-te-router-id { + type inet:ipv4-address; + description + "TE router-id in use"; + } + leaf is-connection-up { + type boolean; + description + "Flag to indicate whether the IGP connection is + open or not"; + } + leaf connection-up-count { + type uint32; + description + "Number of times IGP connection has gone up"; + } + leaf connection-down-count { + type uint32; + description + "Number of times IGP connection has gone down"; + } + list secondary-router-id { + description + "Secondary router-ids"; + leaf entry { + type inet:ipv4-address; + } + } + list area { + description + "IGP area information"; + uses TE-SH-IGP-AREA; + } + } + + grouping MPLS-TE-FWD-ADJ-INFO { + description + "A forwarding-adjacency"; + leaf tunnel-name { + type string; + description + "The tunnel name"; + } + leaf traffic-share { + type uint32; + description + "Traffic Share"; + } + leaf hold-time { + type uint32; + units "second"; + description + "Hold time in seconds"; + } + leaf is-adjacency-up { + type boolean; + description + "True if adj is up"; + } + list ig-ps { + description + "List of IGPs to which it is announced"; + uses MPLS-TE-AREA-AFI-INFO; + } + } + + grouping MPLS-TE-FWD-ADJ-BAG { + description + " A list of forwarding-adjacencies"; + leaf adjacencies { + type uint32; + description + "Number of Forwarding Adjacencies"; + } + leaf ipv6-adjacencies { + type uint32; + description + "Number of IPv6 Forwarding Adjacencies"; + } + leaf destination-address-xr { + type inet:ipv4-address; + description + "The tunnel destination"; + } + list forward-adjacency { + description + "Forwarding-adjacency list"; + uses MPLS-TE-FWD-ADJ-INFO; + } + } + + grouping MPLS-TE-AUTOTUN-BACKUP-CONFIG-INFO { + description + "Auto-tunnel backup feature configuration + information"; + leaf is-configured { + type boolean; + description + "Indicate if auto-tunnel bacukp feature is + configured "; + } + leaf interface-count { + type uint32; + description + "Number of TE link interfaces with auto-tunnel + backup configured"; + } + leaf unused-removal-timeout-configured { + type uint32; + units "second"; + description + "Configured value of unused removal timer in + seconds"; + } + leaf min-tunnel-id { + type uint16; + description + "Lower bound of configured tunnel ID range"; + } + leaf max-tunnel-id { + type uint16; + description + "Upper bound of configured tunnel ID range"; + } + } + + grouping MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO { + description + "Autotunnel backup summary information"; + leaf autobackups { + type uint32; + description + "Total number of autobackup tunnels"; + } + leaf up-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are up"; + } + leaf down-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are down"; + } + leaf unused-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are + unused"; + } + leaf next-hop-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are NHOP"; + } + leaf next-next-hop-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are + NNHOP"; + } + leaf srlg-strict-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are + using SRLG strict"; + } + leaf srlg-preferred-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are + using SRLG preferred"; + } + leaf srlg-weighted-autobackups { + type uint32; + description + "Total number of autobackup tunnels that are + using weighted SRLG"; + } + leaf next-hop-autobackup-protected-ls-ps { + type uint32; + description + "Total number of autobackup protected LSPs with + NHOP and no SRLG"; + } + leaf next-next-hop-autobackup-protected-ls-ps { + type uint32; + description + "Total number of autobackup protected LSPs with + NNHOP and no SRLG"; + } + leaf next-hop-srlg-autobackup-protected-ls-ps { + type uint32; + description + "Total number of autobackup protected LSPs with + NHOP and SRLG"; + } + leaf next-next-hop-srlg-autobackup-protected-ls-ps { + type uint32; + description + "Total number of autobackup protected LSPs with + NNHOP and SRLG"; + } + leaf next-hop-autobackup-protected-s2l-families { + type uint32; + description + "Total number of autobackup protected S2L + Families with NHOP and no SRLG"; + } + leaf next-next-hop-autobackup-protected-s2l-families { + type uint32; + description + "Total number of autobackup protected S2L + Families with NNHOP and no SRLG"; + } + leaf next-hop-srlg-autobackup-protected-s2l-families { + type uint32; + description + "Total number of autobackup protected S2L + Families with NHOP and SRLG"; + } + leaf next-next-hop-srlg-autobackup-protected-s2l-families { + type uint32; + description + "Total number of autobackup protected S2L + Families with NNHOP and SRLG"; + } + leaf next-hop-autobackup-protected-s2-ls { + type uint32; + description + "Total number of autobackup protected S2Ls with + NHOP and no SRLG"; + } + leaf next-next-hop-autobackup-protected-s2-ls { + type uint32; + description + "Total number of autobackup protected S2Ls with + NNHOP and no SRLG"; + } + leaf next-hop-srlg-autobackup-protected-s2-ls { + type uint32; + description + "Total number of autobackup protected S2Ls with + NHOP and SRLG"; + } + leaf next-next-hop-srlg-autobackup-protected-s2-ls { + type uint32; + description + "Total number of autobackup protected S2Ls with + NNHOP and SRLG"; + } + } + + grouping MPLS-TE-AUTOTUN-BACKUP-TUNNEL-INFO { + description + "Auto-tunnel backup brief tunnel information"; + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf operational-status { + type Mpls-te-tunnel-state; + description + "Tunnel operational status"; + } + leaf srlg-mode { + type Auto-backup-srlg-mode; + description + "SRLG exclude mode for this auto-tunnel backup"; + } + leaf atb-protection-type { + type Auto-backup-protection; + description + "Type of protection offered by this auto-tunnel + backup"; + } + leaf protected-flows { + type uint32; + description + "Number of protected flows"; + } + leaf protected-interface-name { + type string; + description + "Interface protected by this auto-tunnel backup"; + } + leaf protected-router-id { + type inet:ipv4-address; + description + "Router ID of node protected by this auto-tunnel + backup"; + } + } + + grouping MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO { + description + "Autotunnel mesh onehop summary information"; + leaf auto-mesh-one-hop-tunnels { + type uint32; + description + "Total number of automesh onehop tunnels"; + } + leaf up-auto-mesh-one-hop-tunnels { + type uint32; + description + "Total number of automesh onehop tunnels that are + up"; + } + leaf down-auto-mesh-one-hop-tunnels { + type uint32; + description + "Total number of automesh onehop tunnels that are + down"; + } + leaf frr-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh onehop tunnels that are + FRR enabled"; + } + leaf auto-mesh-one-hop-groups { + type uint32; + description + "Total number of automesh onehop mesh-groups"; + } + leaf auto-mesh-one-hop-destinations { + type uint32; + description + "Total number of automesh onehop destinations"; + } + } + + grouping MPLS-TE-AUTOMESH-ONEHOP-TUNNEL { + description + "TE Automesh Onehop Tunnel"; + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination Address"; + } + leaf tunnel-lspid { + type uint16; + description + "LSP ID"; + } + leaf mesh-group-id { + type uint32; + description + "Meshgroup ID"; + } + leaf tunnel-state { + type Mpls-te-tunnel-state; + description + "Tunnel state"; + } + } + + grouping MPLS-TE-AUTOMESH-ONEHOP-INTERFACE { + description + "TE Automesh Onehop Interface"; + leaf interface-name-xr { + type string; + description + "Interface name"; + } + list tunnel { + description + "Onehop tunnels created for this interface"; + uses MPLS-TE-AUTOMESH-ONEHOP-TUNNEL; + } + } + + grouping MPLS-TE-AUTOTUN-MESH-CONFIG-INFO { + description + "Auto-tunnel mesh feature configuration + information"; + leaf is-configured { + type boolean; + description + "Indicate if auto-tunnel mesh feature is + configured "; + } + leaf unused-removal-timeout-configured { + type uint32; + units "second"; + description + "Configured value of unused removal timer in + seconds"; + } + leaf min-tunnel-id { + type uint16; + description + "Lower bound of configured tunnel ID range"; + } + leaf max-tunnel-id { + type uint16; + description + "Upper bound of configured tunnel ID range"; + } + } + + grouping MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO { + description + "Autotunnel mesh summary information"; + leaf auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels"; + } + leaf up-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are up"; + } + leaf down-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are down"; + } + leaf frr-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are FRR + enabled"; + } + leaf auto-mesh-groups { + type uint32; + description + "Total number of automesh mesh-groups"; + } + leaf auto-mesh-destinations { + type uint32; + description + "Total number of automesh destinations"; + } + } + + grouping MPLS-TE-MESHGROUP-DEST { + description + "TE Meshgroup destination info"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf operational-status { + type Mpls-te-tunnel-state; + description + "Tunnel operational status"; + } + leaf remaining-time { + type uint32; + units "second"; + description + "Remaining time for unused timer in seconds"; + } + } + + grouping MPLS-TE-MESHGROUP { + description + "TE Meshgroup info"; + leaf mesh-group-id-xr { + type uint32; + description + "Meshgroup ID"; + } + leaf is-meshgroup-disabled { + type boolean; + description + "Is the meshgroup disabled"; + } + leaf attribute-set-name { + type string; + description + "Attribute set name"; + } + leaf is-attribute-set-configured { + type boolean; + description + "Is any attribute-set associated to this + meshgroup"; + } + leaf is-attribute-set-in-db { + type boolean; + description + "Flag to indicate the existence of attribute set + found in database"; + } + leaf destination-list-name { + type string; + description + "Destination List name"; + } + leaf is-destination-list-configured { + type boolean; + description + "Is any destiantion-list associated to this + meshgroup"; + } + leaf destination-list-type { + type Te-acl; + description + "Type of the destlist"; + } + leaf remaining-time { + type uint32; + units "second"; + description + "Remaining time for recreate timer in seconds"; + } + leaf auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels"; + } + leaf auto-mesh-total-destinations { + type uint32; + description + "Total number of destinations"; + } + leaf up-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are up"; + } + leaf down-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are down"; + } + leaf frr-auto-mesh-tunnels { + type uint32; + description + "Total number of automesh tunnels that are FRR + enabled"; + } + leaf auto-mesh-group-type { + type Te-meshgroup; + description + "Meshgroup Type"; + } + list destination { + description + "List of destinations for this meshgroup"; + uses MPLS-TE-MESHGROUP-DEST; + } + } + + grouping MPLS-TE-AUTOTUN-PCC-SUMMARY-INFO { + description + "Stateful PCE client auto-tunnel summary + information"; + leaf pcc-auto-tunnel { + type uint32; + description + "Total number of stateful PCE client auto-tunnels"; + } + leaf up-pcc-auto-tunnels { + type uint32; + description + "Total number of stateful PCE client auto-tunnels + that are up"; + } + leaf down-pcc-auto-tunnels { + type uint32; + description + "Total number of stateful PCE client auto-tunnels + that are down"; + } + } + + grouping MPLS-TE-P2MP-TIMER-B { + description + "Description of a P2MP timer"; + leaf timer-type { + type Mpls-te-p2mp-timer; + description + "Timer Type"; + } + leaf timer-name { + type string; + description + "Timer Name"; + } + leaf start-time { + type uint32; + units "second"; + description + "Date when timer was last started in seconds"; + } + leaf expiry-time { + type uint32; + units "second"; + description + "Date when the timer last expired in seconds"; + } + leaf stop-time { + type uint32; + units "second"; + description + "Date when the timer was last stopped in seconds"; + } + leaf duration { + type uint32; + units "second"; + description + "The expiry delay in seconds"; + } + leaf is-running { + type boolean; + description + "True if the timer is running"; + } + } + + grouping MPLS-TE-P2MP-TIMERS-B { + description + "Description of P2MP timers"; + list p2mp-timer { + max-elements "29"; + description + "Description of all P2MP timers"; + uses MPLS-TE-P2MP-TIMER-B; + } + } + + grouping MPLS-TE-AREA-AFI-INFO { + description + "IGP area information including AFI"; + leaf igp-area-id { + type string; + description + "The IGP Instance and Area ID"; + } + leaf afi { + type Mpls-te-afi; + description + "AFI"; + } + } + + grouping MPLS-TE-AUTOROUTE-BAG { + description + "MPLS TE Autoroute Information"; + leaf tunnel-name { + type string; + description + "The tunnel name"; + } + leaf tunnel-sig-name { + type string; + description + "The tunnel signaled-name"; + } + leaf tunnel-loadshare { + type uint32; + description + "Tunnel loadshare"; + } + leaf announce-type { + type Mpls-te-tunnel-announce; + description + "Announcement type"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "The tunnel destination"; + } + leaf mode { + type Igpte-aa-metric-mode; + description + "Autoroute mode"; + } + leaf igp-metric { + type int32; + description + "IGP metric"; + } + leaf hold-time { + type uint32; + units "second"; + description + "Hold time in seconds"; + } + leaf area-format { + type Igp-ospf-area-format; + description + "IGP Area Format"; + } + leaf is-auto-mesh-aa { + type boolean; + description + "True if this is auto-tunnel mesh AA"; + } + leaf is-sr { + type boolean; + description + "True if this is a segment routing tunnel"; + } + leaf is-sr-strict { + type boolean; + description + "True if this is a strict SID SR tunnel"; + } + leaf mesh-group-idaa { + type uint32; + description + "MeshGroup ID for AA"; + } + leaf is-exclude-segment-routing { + type boolean; + description + "True if autoroute-announce has exclude + segment-routing option"; + } + list ig-ps { + description + "List of IGPs to which it is announced"; + uses MPLS-TE-AREA-AFI-INFO; + } + } + + grouping MPLS-TE-ANNOUNCEMENT-DEST-BAG { + description + "The summary info of announcements for a + destination and an IGP area"; + leaf igp-type { + type Igp-protocol; + description + "IGP type"; + } + leaf igp-instance { + type string; + description + "IGP Instance name"; + } + leaf igp-area { + type uint32; + description + "IGP Area ID"; + } + leaf destination { + type inet:ipv4-address; + description + "Destination"; + } + leaf announced-tunnels-count { + type uint16; + description + "The number of announced tunnels"; + } + leaf autorouted-tunnels-count { + type uint16; + description + "The number of tunnels that are announced as + shortcuts"; + } + leaf forwarding-adjacency-tunnels-count { + type uint16; + description + "The number of tunnels that are announced as + forwarding adjacencies"; + } + leaf area-format { + type Igp-ospf-area-format; + description + "The format for the area: IPv4 address or a + positive integer"; + } + list total-tunnel { + description + "Announced tunnels for this destination"; + uses MPLS-TE-AUTOROUTE-BAG; + } + } + + grouping MPLS-TE-TOPOLOGY-LINK-BW-STD-DETAIL { + description + "Detailed DSTE bandwidth information for a link"; + list topo-link-std-bw-allocated { + max-elements "8"; + description + "Link's allocated bandwidth per class"; + leaf entry { + type uint32; + } + } + list topo-link-std-bw-available { + max-elements "8"; + description + "Link's available bandwidth per class"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-TOPOLOGY-LINK-BW-STD { + description + "IETF_standard bandwidth information for a link + belonging to a node in the MPLS TE topology"; + container topo-link-std-bw-detail { + description + "Detailed bandwidth information for this link"; + uses MPLS-TE-TOPOLOGY-LINK-BW-STD-DETAIL; + } + leaf topo-link-std-bw-physical { + type uint32; + description + "The link's physical bandwidth"; + } + leaf topo-link-std-bw-res-max { + type uint32; + description + "The link's maximum reservable bandwidth"; + } + leaf topo-link-std-bw-res-pool0 { + type uint32; + description + "The link's reservable BC0 bandwidth"; + } + leaf topo-link-std-bw-res-pool1 { + type uint32; + description + "The link's reservable BC1 bandwidth"; + } + } + + grouping MPLS-TE-TOPOLOGY-LINK-BW-PRESTD-DETAIL { + description + "Detailed pre-standard bandwidth information for a + link"; + list topology-link-prestandard-bandwidth-allocated { + max-elements "8"; + description + "Link's allocated bandwidth at priority levels + + (priority 0 to priority 7)"; + leaf entry { + type uint32; + } + } + list topology-link-prestandard-bandwidth-available-global { + max-elements "8"; + description + "Link's available global-pool bandwidth at + + priority levels (priority 0 to priority 7)"; + leaf entry { + type uint32; + } + } + list topology-link-prestandard-bandwidth-available-subpool { + max-elements "8"; + description + "Link's available sub-pool bandwidth at priority + + levels (priority 0 to priority 7)"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-TOPOLOGY-LINK-BW-PRESTD { + description + "Pre-standard bandwidth information for a link + belonging to a node in the MPLS TE topology"; + container topology-link-prestandard-bandwidth-detail { + description + "Detailed bandwidth information for this link"; + uses MPLS-TE-TOPOLOGY-LINK-BW-PRESTD-DETAIL; + } + leaf topology-link-prestandard-bandwidth-physical { + type uint32; + description + "The link's physical bandwidth"; + } + leaf topology-link-prestandard-bandwidth-reservation-global { + type uint32; + description + "The link's reservable global bandwidth"; + } + leaf topology-link-prestandard-bandwidth-reservation-subpool { + type uint32; + description + "The link's reservable subpool bandwidth"; + } + } + + grouping MPLS-TE-TOPOLOGY-LINK-BW { + description + "Bandwidth information for a link"; + container topology-link-bandwidth-prestandard { + when "../bandwidth-migration-mode = 'rrr-dste-mode-prestandard'" { + description + "../BandwidthMigrationMode = + 'RRR_DSTEModePrestandard'"; + } + description + "Pre-standard bandwidth information for this link"; + uses MPLS-TE-TOPOLOGY-LINK-BW-PRESTD; + } + container topology-link-bandwidth-standard { + when "../bandwidth-migration-mode = 'rrr-dste-mode-standard'" { + description + "../BandwidthMigrationMode = + 'RRR_DSTEModeStandard'"; + } + description + "IETF-standard bandwidth information for this + link"; + uses MPLS-TE-TOPOLOGY-LINK-BW-STD; + } + leaf bandwidth-migration-mode { + type Rrr-dste-migration-mode; + description + "BandwidthMigrationMode"; + } + } + + grouping MPLS-TE-TOPOLOGY-LINK { + description + "A link belonging to a node in the MPLS TE + topology"; + container topology-link-bandwidth { + description + "Bandwidth information for this link"; + uses MPLS-TE-TOPOLOGY-LINK-BW; + } + container odu-link-capabilities { + description + "ODU Link Capabilities"; + uses ODU-LINK-CAPABILITIES; + } + leaf topology-link-type { + type Igp-subnet; + description + "Link type"; + } + leaf topology-link-interface-address { + type inet:ipv4-address; + description + "Link's local interface address"; + } + leaf topology-link-interface-id { + type uint32; + description + "Link's local interface ID"; + } + leaf topology-link-neighbor-address { + type inet:ipv4-address; + description + "Link's neighbor interface address"; + } + leaf topology-link-neighbor-id { + type uint32; + description + "Link's neighbor interface ID"; + } + leaf topology-link-neighbor-system-id { + type string; + description + "System id of neighbor"; + } + leaf topology-link-neighbor-node-id { + type uint32; + description + "Node id of neighbor"; + } + leaf topology-link-neighbor-generation { + type uint32; + description + "Neighbor's link version counter"; + } + leaf topology-link-fragment-id { + type uint32; + description + "Neighbor's link version counter"; + } + leaf topology-link-te-metric { + type uint32; + description + "The link's TE metric"; + } + leaf topology-link-igp-metric { + type uint32; + description + "The link's IGP metric"; + } + leaf topology-link-uni-delay { + type uint32; + description + "Unidirectional Link Delay in micro-sec"; + } + leaf topology-link-affinity-bits { + type uint32; + description + "Deprecated"; + } + leaf topology-link-switching-capability { + type uint8; + description + "The link's switching capability"; + } + leaf topology-link-encoding { + type uint8; + description + "The link's encoding"; + } + leaf topology-link-bandwidth-model { + type Igpte-lib-bw-model; + description + "The link's topology bandwidth model"; + } + list topology-link-extended-affinity-bit { + description + "The link's affinity bits (colors)"; + leaf entry { + type uint32; + } + } + list shared-risk-link-group { + description + "The link's shared risk link groups"; + uses MPLS-SRLG-INFO; + } + list adjacency-sid { + description + "Adjacency SIDs assigned for adjacency nodes"; + uses TE-SR-ADJ-SID; + } + } + + grouping MPLS-TE-TOPOLOGY-NODE { + description + "A node in the MPLS TE topology"; + container topology-node-sid-and-srbg { + description + "This node's SID and SRBG information"; + uses TE-SR-NODE-INFO; + } + leaf topology-node-te-router-id { + type inet:ipv4-address; + description + "The node's TE router-id. Not set for network + nodes"; + } + leaf topology-node-overloaded { + type boolean; + description + "Flag to indicate whether this node is overloaded"; + } + list topology-node-link { + description + "This node's link information"; + uses MPLS-TE-TOPOLOGY-LINK; + } + } + + grouping TE-FIB-NH-PATH-BAG { + description + "TE FIB NH PATH BAG"; + leaf interface { + type xr:Interface-name; + description + "Outgoing Interface"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next Hop Address"; + } + leaf path-id { + type uint32; + description + "Path ID"; + } + leaf backup-path-id { + type uint32; + description + "Backup Path Identifier"; + } + leaf pure-backup { + type boolean; + description + "Pure Backup"; + } + list label-stack { + description + "Outgoing Label Stack"; + leaf entry { + type uint32; + } + } + } + + grouping TE-TARGET-ADDR { + description + "TE Target Address Union"; + leaf type { + type Te-target-addr; + description + "type"; + } + leaf ip-address { + when "../type = 'te-target-type-ipv4'" { + description + "../type = 'TETargetTypeIPv4'"; + } + type inet:ipv4-address; + description + "IPv4 Address"; + } + leaf label { + when "../type = 'te-target-type-label'" { + description + "../type = 'TETargetTypeLabel'"; + } + type uint32; + description + "MPLS Label"; + } + } + + grouping TE-FIB-NH-ROUTE-BAG { + description + "TE FIB NH ROUTE BAG"; + container target-address { + description + "Next Hop Target Address"; + uses TE-TARGET-ADDR; + } + leaf prefix-addr { + type inet:ipv4-address; + description + "Deprecated - replaced by TargetAddress"; + } + leaf create-time { + type uint32; + description + "Create Time"; + } + leaf last-used-time { + type uint32; + description + "Last Used Time"; + } + leaf last-update-time { + type uint32; + description + "Last Update Time"; + } + leaf expire-time { + type uint32; + description + "Expire Time"; + } + leaf is-registered { + type boolean; + description + "Is Registered"; + } + leaf is-notified { + type boolean; + description + "Is Notified"; + } + leaf is-stale { + type boolean; + description + "Is Stale"; + } + leaf route-version { + type uint64; + description + "Route version"; + } + list next-hop-path { + description + "Next Hop Paths"; + uses TE-FIB-NH-PATH-BAG; + } + } + + grouping NODE-ID { + description + "NODE ID"; + leaf node-id { + type string; + description + "Node Identifier"; + } + } + + grouping TE-SR-BACKUP-PATH { + description + "Segment-Routing backup path"; + leaf outgoing-interface { + type string; + description + "Outgoing Interface Name"; + } + leaf next-hop { + type inet:ipv4-address; + description + "Next hop"; + } + list outgoing-labels-stack { + description + "Outgoing Labels Stack"; + leaf entry { + type uint32; + } + } + list outgoing-strict-labels-stack { + description + "Outgoing Labels Stack for Strict SPF"; + leaf entry { + type uint32; + } + } + } + + grouping TE-SR-PRIMARY-PATH { + description + "Segment-Routing primary path"; + leaf outgoing-interface { + type string; + description + "Outgoing Interface Name"; + } + leaf outgoing-label { + type uint32; + description + "Outgoing Label"; + } + leaf outgoing-strict-label { + type uint32; + description + "Outgoing Label for Strict SPF"; + } + leaf next-hop { + type inet:ipv4-address; + description + "Next hop"; + } + leaf path-id { + type uint32; + description + "Path Identifier"; + } + leaf backup-path-id { + type uint32; + description + "Backup Path Identifier"; + } + } + + grouping TE-SR-PATH { + description + "Segment-Routing path"; + container primary-path { + description + "Primary Segment-Routing Path"; + uses TE-SR-PRIMARY-PATH; + } + container backup-path { + description + "Backup Segment-Routing Path"; + uses TE-SR-BACKUP-PATH; + } + leaf has-backup-path { + type boolean; + description + "Backup Path is available"; + } + } + + grouping TE-SR-PREFIX { + description + "MPLS TE Segment-Routing Prefix information"; + container igp-area { + description + "An IGP area where the prefix belongs to"; + uses TE-SR-IGP-AREA; + } + leaf prefix-xr { + type inet:ipv4-address; + description + "Prefix"; + } + leaf prefix-length-xr { + type uint8; + description + "Length of the prefix"; + } + leaf prefix-sid { + type uint32; + description + "Segment-Routing prefix SID"; + } + leaf prefix-strict-sid { + type uint32; + description + "Segment-Routing prefix Strict SID"; + } + leaf flag-r { + type boolean; + description + "Prefix-SID subTLV R-flag"; + } + leaf flag-n { + type boolean; + description + "Prefix-SID subTLV N-flag"; + } + leaf flag-p { + type boolean; + description + "Prefix-SID subTLV P-flag"; + } + leaf flag-e { + type boolean; + description + "Prefix-SID subTLV E-flag"; + } + leaf flag-v { + type boolean; + description + "Prefix-SID subTLV V-flag"; + } + leaf flag-l { + type boolean; + description + "Prefix-SID subTLV L-flag"; + } + leaf strict-flag-p { + type boolean; + description + "Prefix-SID subTLV P-flag for strict SID"; + } + leaf strict-flag-e { + type boolean; + description + "Prefix-SID subTLV E-flag for strict SID"; + } + leaf strict-flag-v { + type boolean; + description + "Prefix-SID subTLV V-flag for strict SID"; + } + leaf strict-flag-l { + type boolean; + description + "Prefix-SID subTLV L-flag for strict SID"; + } + list sr-path { + description + "Segment-Routing paths to prefix"; + uses TE-SR-PATH; + } + list advertizing-node { + description + "Advertizing nodes"; + uses NODE-ID; + } + list strict-advertizing-node { + description + "Advertizing nodes for Strict SPF"; + uses NODE-ID; + } + } + + grouping TE-SR-ADJ-SID { + description + "A link's Segment-Routing Adjacency information"; + leaf adjacency-sid { + type uint32; + description + "The adjacency SID assigned for the topology node"; + } + leaf link-type { + type Igp-subnet; + description + "Link Type"; + } + leaf local-addr { + type inet:ipv4-address; + description + "Local Address"; + } + leaf remote-addr { + type inet:ipv4-address; + description + "Remote Address"; + } + leaf nbr-node-igpid { + type string; + description + "The neighbor node's IGP ID"; + } + leaf nbr-node-te-router-id { + type inet:ipv4-address; + description + "The neigbor node's TE router-id"; + } + leaf flag-f { + type boolean; + description + "IGP Flag F"; + } + leaf flag-b { + type boolean; + description + "IGP Flag B"; + } + leaf flag-v { + type boolean; + description + "IGP Flag V"; + } + leaf flag-l { + type boolean; + description + "IGP Flag L"; + } + leaf flag-s { + type boolean; + description + "IGP Flag S"; + } + } + + grouping TE-SR-LINK-INFO { + description + "A link belonging to a node"; + leaf topology-link-type { + type Igp-subnet; + description + "Link type"; + } + leaf topology-link-interface-address { + type inet:ipv4-address; + description + "Link's local interface address"; + } + leaf topology-link-interface-id { + type uint32; + description + "Link's local interface ID"; + } + leaf topology-link-neighbor-address { + type inet:ipv4-address; + description + "Link's neighbor interface address"; + } + leaf topology-link-neighbor-id { + type uint32; + description + "Link's neighbor interface ID"; + } + leaf topology-link-neighbor-system-id { + type string; + description + "System id of neighbor"; + } + leaf topology-link-neighbor-node-id { + type uint32; + description + "Node id of neighbor"; + } + leaf topology-link-neighbor-generation { + type uint32; + description + "Neighbor's link version counter"; + } + leaf topology-link-fragment-id { + type uint32; + description + "Neighbor's link version counter"; + } + leaf topology-link-te-metric { + type uint32; + description + "The link's TE metric"; + } + leaf topology-link-igp-metric { + type uint32; + description + "The link's IGP metric"; + } + list topology-link-extended-affinity-bit { + description + "The link's affinity bits (colors)"; + leaf entry { + type uint32; + } + } + list shared-risk-link-group { + description + "The link's shared risk link groups"; + uses MPLS-SRLG-INFO; + } + list adjacency-sids { + description + "Adjacency SIDs assigned for adjacency nodes"; + uses TE-SR-ADJ-SID; + } + } + + grouping TE-SR-NODE-INFO { + description + "MPLS TE Node's Segment-Routing Information"; + leaf segment-id { + type uint32; + description + "Segment-Routing Node-SID"; + } + leaf segment-id-local-absolute-value { + type uint32; + description + "Node-SID local absolute value"; + } + leaf srgb-start { + type uint32; + description + "Segment-Routring global block start value"; + } + leaf srgb-size { + type uint32; + description + "Segment-Routing global block size"; + } + } + + grouping TE-SR-NODE { + description + "MPLS TE Segment-Routing Node topology information"; + container igp-area { + description + "IGP area which this node belongs to"; + uses TE-SR-IGP-AREA; + } + container sr-node-info { + description + "Segment-Routing Node information"; + uses TE-SR-NODE-INFO; + } + leaf local-node-igp-id { + type string; + description + "The local node's IGP id formatted as string"; + } + leaf topology-node-is-router { + type boolean; + description + "TRUE if this is a router node; FALSE if it's a + network node"; + } + leaf local-node-te-router-id { + type inet:ipv4-address; + description + "The local node's TE router-id"; + } + leaf topology-node-overloaded { + type boolean; + description + "Flag to indicate whether this node is overloaded"; + } + list node-link { + description + "This node's link information"; + uses TE-SR-LINK-INFO; + } + } + + grouping TE-SR-IGP-AREA { + description + "A IGP area information for Segment-Routing"; + leaf segment-routing-enabled { + type boolean; + description + "True if the Segment-Routing is enabled in this + area"; + } + leaf strict-spf-enabled { + type boolean; + description + "True if the strict SPF is enabled in this area"; + } + leaf igp-type { + type Igp-protocol; + description + "IGP type"; + } + leaf igp-instance-xr { + type string; + description + "IGP Instance name"; + } + leaf igp-area { + type uint32; + description + "IGP Area ID"; + } + leaf igp-area-format { + type Igp-ospf-area-format; + description + "IGP-area format"; + } + } + + grouping MPLS-TE-TUNNEL-FLEX-INFO { + description + "TE Tunnel FlexLSP Information"; + leaf fault-ldi-lockout { + type boolean; + description + "Fault LDI Lockout"; + } + leaf fault-ldi { + type boolean; + description + "Fault LDI"; + } + leaf fault-lkr { + type boolean; + description + "Fault LKR"; + } + leaf fault-ais { + type boolean; + description + "Fault AIS"; + } + leaf fault-time { + type uint32; + description + "Fault Time"; + } + leaf fault-in-label { + type uint32; + description + "Fault In Label"; + } + leaf is-lockout { + type boolean; + description + "Lockout Status"; + } + leaf lockout-timestamp { + type uint32; + description + "The timestamp when the lockout is set"; + } + leaf lockout-lsp-id { + type uint16; + description + "The LSP ID of the locked out LSP"; + } + leaf origination { + type Flex-lsp-lockout-origination; + description + "Flex LSP Lockout Origination Source"; + } + } + + grouping TE-VIF-CONVERGENCE-INFO { + description + "TE tunnel convergence related information"; + container convergence-lsp { + description + "TE LSP convergence related information"; + uses TE-LSP-CONVERGENCE-INFO; + } + leaf is-convergence-in-progress { + type boolean; + description + "TE convergence in progress"; + } + leaf frr-trigger-time { + type uint64; + description + "FRR trigger time"; + } + leaf pcalc-complete-time { + type uint64; + units "nanosecond"; + description + "Path computation completion timestamp (clocktime + in nsecs)"; + } + leaf convergence-complete-time { + type uint64; + description + "TE convergence completion time"; + } + leaf binding-label-rewrite-time { + type uint64; + units "nanosecond"; + description + "Binding label timestamp (clocktime in nsecs)"; + } + leaf vif-creation-time { + type uint64; + units "nanosecond"; + description + "Vif creation timestamp (clocktime in nsecs)"; + } + } + + grouping MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG { + description + "MPLS TE Tunnel Reverse ERO Error Information"; + leaf reverse-lsp-id { + type uint16; + description + "Reverse LSP ID"; + } + leaf path-reject-reason-bw { + type boolean; + description + "Path Reject due to bw"; + } + leaf path-reject-reason-affinity { + type boolean; + description + "Path Reject due to affinity"; + } + leaf path-reject-reason-ip-addr { + type boolean; + description + "Path Reject due to IP address"; + } + leaf path-reject-reason-reverse-link { + type boolean; + description + "Path Reject due to reverse link"; + } + leaf path-reject-reason-ixcd { + type boolean; + description + "Path Reject due to IXCD"; + } + leaf path-reject-reason-holddown { + type boolean; + description + "Path Reject due to holddown"; + } + leaf path-reject-reason-exclude-node { + type boolean; + description + "Path Reject due to exclude node"; + } + leaf path-reject-reason-exclude-link { + type boolean; + description + "Path Reject due to exclude link"; + } + leaf path-reject-reason-exclude-srlg { + type boolean; + description + "Path Reject due to exclude SRLG"; + } + leaf path-reject-reason-hop-limit { + type boolean; + description + "Path Reject due to hop limit"; + } + leaf path-reject-reason-node-ol-unknown { + type boolean; + description + "Path Reject due to unknown node overload"; + } + leaf path-reject-reason-node-ol-head { + type boolean; + description + "Path Reject due to head node overload"; + } + leaf path-reject-reason-node-ol-mid { + type boolean; + description + "Path Reject due to mid node overload"; + } + leaf path-reject-reason-node-ol-tail { + type boolean; + description + "Path Reject due to head node overload"; + } + leaf path-reject-reason-reverse-bw { + type boolean; + description + "Path Reject due to reverse bw"; + } + leaf path-reject-reason-node-unreachable { + type boolean; + description + "Path Reject due to unreachable node"; + } + leaf path-option-index { + type uint16; + description + "Path Option Index"; + } + leaf path-option-type { + type Mte-path-option; + description + "Path Option Type"; + } + leaf ero-reject-reason { + type Te-rev-ero-reject-reasons; + description + "Reverse ERO Reject Reason"; + } + list path-calculation-error { + description + "Path Computation Information"; + uses MPLS-TE-P2MP-PCALC-ERROR; + } + } + + grouping MPLS-TE-TUNNEL-BIDIR-INFO { + description + "MPLS TE Tunnel Bidir Information"; + container reverse-ero-error-current { + description + "Reverse ERO Error Current LSP"; + uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; + } + container reverse-ero-error-reopt { + description + "Reverse ERO Error Reopt LSP"; + uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; + } + container reverse-ero-error-standby { + description + "Reverse ERO Error Standby LSP"; + uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; + } + container reverse-ero-error-standby-reopt { + description + "Reverse ERO Error Standby Reopt LSP"; + uses MPLS-TE-TUNNELS-REVERSE-ERO-ERROR-BAG; + } + leaf reverse-bandwidth { + type uint32; + units "kbit/s"; + description + "Reverse Bandwidth value in kbps"; + } + leaf reverse-bandwidth-standby { + type uint32; + units "kbit/s"; + description + "Reverse Bandwidth value for standby in kbps"; + } + } + + grouping MPLS-TE-TUNNEL-RESTORATION-INFO { + description + "Restoration info of tunnel"; + leaf revert-option { + type Te-pnr-revert-options; + description + "Revertive or non-revertive"; + } + leaf diverse-lsp { + type Mpls-te-lsp-mode; + description + "LSP from which restoration LSP is DIVERSED"; + } + leaf diversity-type { + type Te-pp-diversity; + description + "Restoration path diversity type"; + } + } + + grouping MPLS-TE-TUNNEL-APS-INFO { + description + "APS Protection Info of tunnel"; + container protection-profile { + description + "Protection Profile Information of tunnel"; + uses MPLS-TE-ATTRIBUTE-SET-APS-PP; + } + leaf active-lsp { + type Mpls-te-lsp-mode; + description + "Active LSP for Incoming Data"; + } + leaf diversity-type { + type Te-pp-diversity; + description + "Standby path diversity type"; + } + } + + grouping MPLS-TE-TUNNEL-OTN-BIDIR-INFO { + description + "Bidirectional Tunnel Information"; + container aps { + description + "APS Protection Info"; + uses MPLS-TE-TUNNEL-APS-INFO; + } + container restoration { + description + "Restoration Info"; + uses MPLS-TE-TUNNEL-RESTORATION-INFO; + } + } + + grouping MPLS-TE-PATH-OPTION-DAMPENING-INFO { + description + "MPLS TE Path Option Dampening Information"; + leaf option-index { + type uint32; + description + "Path option index"; + } + leaf hold-down-time { + type uint32; + description + "Hold down time in second"; + } + leaf remained-time { + type uint32; + description + "Remained time to resignal in second"; + } + leaf backoff-count { + type uint32; + description + "Backoff count"; + } + } + + grouping MPLS-TE-TUNNEL-BFD-INFO { + description + "MPLS TE Tunnel BFD Session Information"; + container event-counters { + description + "Per tunnel BFD session event counters"; + uses MPLS-TE-BFD-LSP-COUNTERS; + } + leaf bfd-session-up { + type boolean; + description + "Tunnel BFD session state up or down"; + } + leaf session-up-time { + type uint32; + units "second"; + description + "Time in seconds since the last session state up"; + } + leaf failure-diagnostic-code { + type uint32; + description + "BFD session failure diagnostic code"; + } + leaf failure-reason { + type string; + description + "BFD session failure reason"; + } + leaf minimum-session-up-interval { + type uint32; + description + "Minimum time in mini second for session to come + up"; + } + leaf maximum-session-up-interval { + type uint32; + description + "Maximum time in mini second for session to come + up"; + } + list dampening-info { + description + "Path option dampening info"; + uses MPLS-TE-PATH-OPTION-DAMPENING-INFO; + } + } + + grouping MPLS-TE-TUNNEL-VIF-DIVERSITY-INFO { + description + "Circuit diversity information"; + leaf tunnel-id { + type uint16; + description + "Dependent Tunnel ID"; + } + } + + grouping MPLS-TE-TUNNEL-STATIC-UNI-INFO { + description + "static UNI info for both head and tail"; + leaf client-port { + type string; + description + "Ingress Client Port"; + } + leaf client-if-handle { + type xr:Interface-name; + description + "Ingress Client Port Ifhandle"; + } + leaf client-odu-name { + type string; + description + "Client Odu Name"; + } + leaf client-odu-if-handle { + type xr:Interface-name; + description + "Client Odu Interface"; + } + leaf cross-connect-id { + type uint32; + description + "Cross connect id"; + } + leaf is-connected { + type boolean; + description + "True if client port is connected"; + } + leaf uptime { + type uint32; + description + "Client Port Uptime"; + } + leaf local-termination { + type Mpls-te-termination; + description + "Local Termination Type"; + } + leaf static-uni-type { + type Mpls-te-uni; + description + "Static uni type"; + } + leaf term-client-port { + type string; + description + "Termination Ingress Client Port"; + } + leaf term-client-if-handle { + type xr:Interface-name; + description + "Termination Ingress Client Port Ifhandle"; + } + } + + grouping MPLS-TE-TUNNEL-OTN-INFO { + description + "OTN tunnel's OTN technology information"; + container bandwidth-cfg { + description + "Configured OTN Bandwidth for tunnel"; + uses TE-ODU-V3-BW; + } + leaf config-bit-rate { + type uint32; + units "kbit/s"; + description + "Configured OTN Bandwidth in kbps"; + } + } + + grouping MPLS-TE-TRANSPORT-TUNNEL-INFO { + description + "Transport Tunnel information"; + container otn { + description + "Info Related to OTN technology in S2L"; + uses MPLS-TE-TUNNEL-OTN-INFO; + } + container static-uni { + description + "Tunnel Static UNI Info"; + uses MPLS-TE-TUNNEL-STATIC-UNI-INFO; + } + container egress-static-uni { + description + "Tunnel EgressStatic UNI Info"; + uses MPLS-TE-TUNNEL-EGRESS-STATIC-UNI-INFO; + } + leaf status-homepath-working { + type boolean; + description + "Status of working homepath"; + } + list homepath-ero { + description + "Homepath ero for working lsp"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list diversity-info { + description + "Diversity Info"; + uses MPLS-TE-TUNNEL-VIF-DIVERSITY-INFO; + } + } + + grouping MPLS-TE-MGMT-WDM-UNI-TUNNEL-INFO { + description + "GMPLS WDM-UNI tunnel information"; + leaf tunnel-state { + type Mpls-te-tunnel-state; + description + "Tunnel state"; + } + leaf tunnel-role { + type Mpls-te-tunnel-role; + description + "Tunnel Role"; + } + leaf tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf lsp-id { + type uint16; + description + "LSP ID"; + } + leaf local-optical-router-id { + type inet:ipv4-address; + description + "Local optical router id"; + } + leaf remote-optical-router-id { + type inet:ipv4-address; + description + "Remote optical router id"; + } + leaf controlled-interface { + type string; + description + "Interface being controlled"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source address"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf extended-tunnel-id { + type inet:ipv4-address; + description + "Extended tunnel-id"; + } + leaf label-origin { + type Mpls-te-mgmt-gmpls-label-origin; + description + "Label origin"; + } + leaf srlg-discovery { + type boolean; + description + "SRLG-discovery enabled"; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-HEAD-COUNTERS { + description + "Headend Soft Preemption Counters"; + leaf soft-preemption-events { + type uint32; + description + "The number of soft preemption events"; + } + leaf reopt-completed-ls-ps { + type uint32; + description + "The number of soft preempted LSPs that were torn + down by the ingress router after the reopt LSP + was successfully setup."; + } + leaf torn-down-ls-ps { + type uint32; + description + "The number of soft preempted LSPs that were torn + down by the headend or any remote + node before the reoptimization is done."; + } + leaf path-protection-switchover-ls-ps { + type uint32; + description + "The number of soft preempted LSPs that were + switched over to a standby LSP."; + } + leaf frr-triggered-ls-ps { + type uint32; + description + "The number of soft preempted LSPs that were fast + rerouted at the headend or any + remote node before the reoptimization is done."; + } + leaf time-in-preemption-pending-min { + type uint16; + units "second"; + description + "The minimum time in seconds that an LSP was in + preemption pending state"; + } + leaf time-in-preemption-pending-max { + type uint16; + units "second"; + description + "The maximum time in seconds that an LSP was in + preemption pending state"; + } + leaf time-in-preemption-pending-avg { + type uint16; + units "second"; + description + "The average time in seconds that an LSP was in + preemption pending state"; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-PATH-ERROR { + description + "Information for a soft preemption path error"; + leaf timestamp { + type uint32; + description + "The POSIX timestamp when the soft preemption + error is received"; + } + leaf preempting-link-address { + type inet:ipv4-address; + description + "The address of the link where the preemption + happened"; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-TUNNEL-INFO { + description + "Headend Soft Preemption Tunnel Info"; + container soft-preemption-counters { + description + "The soft preemption counters for this tunnel + head"; + uses MPLS-TE-SOFT-PREEMPTION-HEAD-COUNTERS; + } + leaf status { + type Mpls-te-soft-preemption-state; + description + "The preemption state"; + } + leaf time-in-preemption-pending { + type uint16; + units "second"; + description + "The number of seconds that were spent in the + preemption-pending state"; + } + leaf preemption-pending-resolution { + type Mpls-te-soft-preemption-resolution; + description + "Indicates how the soft preemption operation + ended"; + } + list soft-preemption-path-error { + description + "The array of soft preemption path errors info + received for the LSP that is being soft + preempted"; + uses MPLS-TE-SOFT-PREEMPTION-PATH-ERROR; + } + } + + grouping MPLS-TE-PCE-DELEGATION-INFO { + description + "MPLS TE PCE Delegation Information"; + leaf plsp-id { + type uint32; + description + "PLSP ID"; + } + leaf symbolic-name { + type string; + description + "Symbolic name"; + } + leaf owner-address { + type inet:ipv4-address; + description + "Address of owner node"; + } + leaf operationally-up { + type boolean; + description + "Operationally up"; + } + } + + grouping MPLS-TE-AUTOPCC-INFO { + description + "MPLS TE Auto-PCC Information"; + leaf owner-address { + type inet:ipv4-address; + description + "Address of owner node"; + } + leaf creator-address { + type inet:ipv4-address; + description + "Address of creating node"; + } + leaf has-creator-id { + type boolean; + description + "Indicates if the ID of the creating node is set"; + } + leaf creator-id { + type string; + description + "ID of creating node"; + } + leaf plspid { + type uint32; + description + "PLSP ID"; + } + leaf symbolic-name { + type string; + description + "Symbolic name"; + } + leaf operationally-up { + type boolean; + description + "Operationally up"; + } + } + + grouping MPLS-TE-AUTOMESH-INFO { + description + "MPLS TE Automesh Information"; + leaf mesh-group-id { + type uint32; + description + "Auto-mesh tunnel Mesh Group ID"; + } + leaf tunnel-destination-list-name { + type string; + description + "Destination List name"; + } + leaf is-tunnel-unused-timer-running { + type boolean; + description + "Flag to indicate whether unused timer running"; + } + leaf remaining-unused-time { + type uint32; + units "second"; + description + "Remaining time for unused timer in seconds"; + } + leaf mesh-group-type { + type Te-meshgroup; + description + "Auto-tunnel mesh group type"; + } + } + + grouping MPLS-TE-IEP-HOP-BAG { + description + "MPLS IEP Hop information"; + leaf hop-index { + type uint32; + description + "Hop Index"; + } + leaf iep-hop-type { + type Mpls-te-iep-hop; + description + "IEP type"; + } + leaf iep-hop-address { + type inet:ipv4-address; + description + "IEP Hop Address"; + } + } + + grouping MPLS-TE-IEP-BAG { + description + "MPLS TE IEP"; + leaf path-option-id { + type uint32; + description + "Path option ID this IEP is associated with"; + } + list iep-hop { + description + "IEP Hop List"; + uses MPLS-TE-IEP-HOP-BAG; + } + } + + grouping MPLS-TE-WSRLG-HOP-BAG { + description + "Weighted SRLG info for a hop of the autobackup + tunnel"; + leaf from-address { + type inet:ipv4-address; + description + "Local IP address"; + } + leaf to-address { + type inet:ipv4-address; + description + "Remote IP address"; + } + leaf aggregate-admin-weight { + type uint64; + description + "Sum of the admin weights for all the common SRLG + values"; + } + list common-srlg { + description + "Common SRLG between this hop and the protected + + interface"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-WSRLG-VALUE-BAG { + description + "MPLS TE weighted SRLGs"; + leaf srlg { + type uint32; + description + "SRLG number"; + } + leaf srlg-name { + type string; + description + "SRLG name"; + } + leaf admin-weight { + type uint32; + description + "Admin weight"; + } + } + + grouping MPLS-TE-WSRLG-INFO-BAG { + description + "MPLS TE weighted SRLG information for the + autobackup tunnels"; + list protected-interface-srlg { + description + "SRLG values and admin weight penalties of the + protected interface"; + uses MPLS-TE-WSRLG-VALUE-BAG; + } + list weighted-srlg-hop { + description + "Autobackup hops and the common SRLG with the + protected interface"; + uses MPLS-TE-WSRLG-HOP-BAG; + } + } + + grouping MPLS-TE-AUTOBACKUP-INFO { + description + "MPLS TE Autobackup Information"; + container weighted-srlg-info { + description + "Weighted SRLG info for the autobackup tunnel"; + uses MPLS-TE-WSRLG-INFO-BAG; + } + leaf protected-ls-ps { + type uint32; + description + "Number Of Protected LSPs"; + } + leaf protected-s2-ls { + type uint32; + description + "Number of Protected S2Ls"; + } + leaf sharing-families { + type uint32; + description + "Number of S2L Sharing Families"; + } + leaf ab-protection-type { + type Auto-backup-protection; + description + "Protection type"; + } + leaf is-using-srlg { + type boolean; + description + "Indicates whether SRLG Path Option is in use"; + } + leaf srlg-prot-type { + type Auto-backup-srlg-mode; + description + "SRLG Protection Type"; + } + leaf ab-protected-interface { + type string; + description + "Protected Interface"; + } + leaf protected-address { + type inet:ipv4-address; + description + "Protected Address"; + } + leaf tunnel-attribute-set-name { + type string; + description + "AttributeSet name"; + } + leaf is-unused-removal-timer-running { + type boolean; + description + "Indicates if the unused removal timer is running"; + } + leaf unused-removal-remaining-time { + type uint32; + units "second"; + description + "Time Remaining in Unused Removal Time in seconds"; + } + list iep { + description + "List of IEPs for the path options on this tunnel"; + uses MPLS-TE-IEP-BAG; + } + } + + grouping TE-PP-SW-LOG-ENTRY-BAG { + description + "Path protection log entry"; + leaf path-protection-switchover-event-index { + type uint32; + description + "The index number of the path protection switch + over event"; + } + leaf path-protection-tunnel-id { + type uint16; + description + "The ID of the tunnel that experienced switchover"; + } + leaf from-lsp-id { + type uint16; + description + "The LSP ID from which the traffic was switched + over"; + } + leaf to-lsp-id { + type uint16; + description + "The LSP ID to which the traffic was switched + over"; + } + leaf date-of-error-detection { + type uint32; + units "second"; + description + "The date when the error that caused the + switchover was detected. This date is the number + of seconds since Jan 1st 1970"; + } + leaf date-of-error-detection-millisec { + type uint32; + units "millisecond"; + description + "The milliseconds offset of the date when the + error that caused the switchover was detected."; + } + leaf switchover-duration-millisec { + type uint32; + units "millisecond"; + description + "The time in milliseconds between the detection + of the error and switching the traffic"; + } + leaf path-protection-switchover-reason { + type Te-p2mp-s2l-deletion-subcause; + description + "The reason that caused the path protection + switchover"; + } + } + + grouping MPLS-TE-PP-INFO { + description + "MPLS TE Path Protected Switchover Information"; + container switchover { + description + "Path Protected Switchover Information"; + uses TE-PP-SW-LOG-ENTRY-BAG; + } + leaf time-of-switchover-sec { + type uint32; + units "second"; + description + "The date when the switchover was completed. This + date is the number of seconds since Jan 1st 1970"; + } + leaf switchover-total { + type uint16; + description + "Number of times switchover occurred"; + } + leaf switchover-ready { + type uint16; + description + "Total times, Standby LSP ready for use"; + } + leaf standby-reoptimized-number { + type uint16; + description + "Number of times the standby LSP was reoptimized"; + } + leaf switchover-reason { + type uint16; + description + "Reason for last switchover"; + } + leaf diversity-type { + type Te-pp-diversity; + description + "Standby path diversity type"; + } + leaf is-path-protect-configured { + type boolean; + description + "Is Path Protection Configured"; + } + leaf path-protection-protected-by-id { + type uint32; + description + "The path option ID (level/index) of the + configured explicit protecting path"; + } + leaf valid-path-protection-path-option-exists { + type boolean; + description + "Flag to indicate whether tunnel has a + path-option which is valid for path-protection"; + } + leaf is-path-protect-switch-over-underway { + type boolean; + description + "Is Switchover Underway"; + } + leaf reoptimization-time-remaining { + type uint32; + units "second"; + description + "Remaining time until path protection + reoptimization (seconds)"; + } + } + + grouping MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO { + description + "Last re-opt failure reason/information if + applicable"; + leaf re-opt-last-fail-reason { + type Mpls-te-reopt-decision-reason; + description + "Reason (if any) for the last re-opt attempt + failure"; + } + leaf re-opt-failed-destination { + type inet:ipv4-address; + description + "First tunnel destination (if any) in re-opt LSP + that failed to come up"; + } + leaf re-opt-failed-timestamp { + type uint32; + units "second"; + description + "Time stamp of the last re-opt failure. (seconds + since Jan. 1, 1970)"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-STANDBY-SETUP { + description + "History information for standby setup"; + leaf standby-lsp-uptime { + type uint32; + units "second"; + description + "Time in seconds since the standby LSP was up"; + } + leaf standby-setup-timer { + type uint32; + units "second"; + description + "Time in seconds until the next attempt to + connect this setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP { + description + "History information for additional GMPLS setup"; + leaf path-option-index { + type uint32; + description + "Path option index for the additional setup"; + } + leaf other-setup-error { + type string; + description + "The last error for the additional setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-PREVIOUS-PROTECT { + description + "History information for previous protecting GMPLS + current setup"; + leaf previous-protect-path-option { + type string; + description + "The previous protect setup path option"; + } + leaf previous-protect-tunnel-instance { + type uint32; + description + "The previous protect setup's instance"; + } + leaf previous-protect-fail-reason { + type string; + description + "Reason for the previous protect setup's failure"; + } + leaf previous-protect-setup-last-error { + type string; + description + "The last error for the previous setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-PREVIOUS { + description + "History information for previous current setup"; + leaf previous-path-option { + type string; + description + "The previous setup path option"; + } + leaf previous-tunnel-instance { + type uint32; + description + "The previous setup's instance"; + } + leaf previous-fail-reason { + type string; + description + "Reason for the previous setup's failure"; + } + leaf previous-setup-last-error { + type string; + description + "The last error for the previous setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-PATH-PROTECT { + description + "History information for protecting setup"; + leaf protecting-setup-uptime { + type uint32; + units "second"; + description + "Time in seconds since the protecting setup came + up"; + } + leaf protecting-setup-timer { + type uint32; + units "second"; + description + "Time in seconds until the next attempt to + connect the protecting setup"; + } + leaf protecting-setup-last-error { + type string; + description + "The last error for the protecting setup (for + display purposes only)"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-REOPT { + description + "History information for reoptimized setup"; + leaf reoptimized-setup-uptime { + type uint32; + units "second"; + description + "Time in seconds since the reopt setup came up"; + } + leaf reoptimized-setup-timer { + type uint32; + units "second"; + description + "Time in seconds until the next attempt to + connect the reopt setup"; + } + leaf reoptimized-setup-last-error { + type string; + description + "The last error for the reopt setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-CURRENT-CONNECTED { + description + "History information for currently connected setup"; + leaf current-lsp-uptime { + type uint32; + units "second"; + description + "Time in seconds since the current LSP was up"; + } + leaf current-uptime { + type uint32; + units "second"; + description + "Time in seconds since the tunnel was up"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-CURRENT { + description + "History information for current setup"; + container connected-uptimes { + description + "Uptimes for connected setup"; + uses MPLS-TE-TUNNELS-HISTORY-CURRENT-CONNECTED; + } + leaf current-setup-timer { + type uint32; + units "second"; + description + "Time in seconds until the next attempt to + connect this setup"; + } + leaf selection-reason { + type string; + description + "The reason why this setup is selected. For + display purposes only."; + } + leaf current-setup-last-error { + type string; + description + "The last error for the current setup"; + } + } + + grouping MPLS-TE-TUNNELS-HISTORY-BAG { + description + "MPLS TE Tunnel History Information"; + container current-setup { + description + "Current setup data"; + uses MPLS-TE-TUNNELS-HISTORY-CURRENT; + } + container reopt-setup { + description + "Reoptimized setup data"; + uses MPLS-TE-TUNNELS-HISTORY-REOPT; + } + container gmpls-path-protect-setup { + description + "GMPLS protecting setup data"; + uses MPLS-TE-TUNNELS-HISTORY-PATH-PROTECT; + } + container previous-setup { + description + "Previous setup data"; + uses MPLS-TE-TUNNELS-HISTORY-PREVIOUS; + } + container previous-gmpls-path-protect-setup { + description + "Previous GMPLS protecting setup data"; + uses MPLS-TE-TUNNELS-HISTORY-PREVIOUS-PROTECT; + } + container gmpls-other-setup { + description + "GMPLS additional setup data"; + uses MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP; + } + container gmpls-other-protect-setup { + description + "GMPLS additional protecting setup data"; + uses MPLS-TE-TUNNELS-HISTORY-OTHER-SETUP; + } + container standby-setup { + description + "Standby setup data"; + uses MPLS-TE-TUNNELS-HISTORY-STANDBY-SETUP; + } + container standby-reopt-setup { + description + "Standby Reopt setup data"; + uses MPLS-TE-TUNNELS-HISTORY-REOPT; + } + container last-re-opt-fail { + description + "Last re-opt attempt failure information"; + uses MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO; + } + container last-stdby-re-opt-fail { + description + "Last standby re-opt attempt failure information"; + uses MPLS-TE-TUNNELS-TUNNEL-LAST-REOPT-FAIL-INFO; + } + } + + grouping MPLS-TE-TUNNELS-AUTOBW-OPER { + description + "MPLS TE Tunnel AutoBandwidth Operational + Information"; + leaf last-bandwidth-applied { + type uint32; + description + "Last bandwidth requested by auto-bw for the + tunnel"; + } + leaf bandwidth-pool-type { + type Mpls-te-bw-pool; + description + "Bandwidth pool type"; + } + leaf bandwidth-applications { + type uint32; + description + "Total number of bandwidth applications requested + by auto-bw"; + } + leaf last-application-trigger { + type Te-autobw-app-trigger; + description + "The reason causing the last BW application"; + } + leaf application-jitter { + type uint32; + description + "Amount of time introduced to delay first + application so that not all tunnels may signal + BW at the same time"; + } + leaf time-left-application { + type uint32; + description + "Time left until next auto-bw application + algorithm is performed"; + } + leaf samples-collected { + type uint32; + description + "Number of samples collected within current + application period"; + } + leaf time-left-collection { + type uint32; + description + "Time left until next auto-bw data collection is + performed"; + } + leaf highest-bandwidth { + type uint32; + description + "Highest bandwidth registered within current + application period"; + } + leaf underflow-highest-bandwidth { + type uint32; + description + "Highest sample collected during an underflow + sequence"; + } + leaf threshold-overflows { + type uint32; + description + "counter for current consecutive collections + exceeding threshold"; + } + leaf overflow-early-bw-applications { + type uint32; + description + "tunnel counter for number of bandwidth + applications due to overflow"; + } + leaf threshold-underflows { + type uint32; + description + "counter for current consecutive collections + exceeding threshold"; + } + leaf underflow-early-bw-applications { + type uint32; + description + "tunnel counter for number of bandwidth + applications due to underflow"; + } + leaf collect-only-requested-bandwidth { + type uint32; + description + "Collect-only Requested Bandwidth for the tunnel"; + } + leaf application-reject-reason { + type Te-autobw-app-rej; + description + "Current application reject reason"; + } + } + + grouping MPLS-TE-TUNNELS-AUTOBW-CONFIG { + description + "MPLS TE Tunnel AutoBandwidth Configuration + Information"; + leaf is-auto-bandwidth-collect-only { + type boolean; + description + "TRUE if auto-bw collection-only is enabled"; + } + leaf minimum-bandwidth { + type uint32; + description + "Minimum bandwidth auto-bw can apply"; + } + leaf maximum-bandwidth { + type uint32; + description + "Maximum bandwidth auto-bw can apply"; + } + leaf application-frequency { + type uint32; + units "minute"; + description + "Auto-bw application frequency for the tunnel + (mins)"; + } + leaf collection-frequency { + type uint32; + description + "Global auto-bw collection frequency"; + } + leaf adjustment-threshold-percent { + type uint32; + description + "Bandwidth change threshold needed to trigger + bandwidth adjustment"; + } + leaf adjustment-threshold-value { + type uint32; + units "kbit/s"; + description + "Bandwidth change value (kbps) needed to trigger + bandwidth adjustment"; + } + leaf overflow-threshold-percent { + type uint32; + description + "Bandwidth change threshold needed to count a + collection towards overflow limit allowed"; + } + leaf overflow-threshold-value { + type uint32; + description + "Bandwidth change value needed to count a + collection towards overflow limit allowed"; + } + leaf overflow-threshold-limit { + type uint32; + description + "Limit of consecutive collections exceeding + threshold to trigger an immediate overflow + bandwidth adjustment"; + } + leaf underflow-threshold-percent { + type uint32; + description + "Bandwidth change threshold needed to count a + collection towards underflow limit allowed"; + } + leaf underflow-threshold-value { + type uint32; + description + "Bandwidth change value needed to count a + collection towards underflow limit allowed"; + } + leaf underflow-threshold-limit { + type uint32; + description + "Limit of consecutive collections exceeding + threshold to trigger an immediate underflow + bandwidth adjustment"; + } + } + + grouping MPLS-TE-TUNNELS-AUTOBW-STATUS { + description + "MPLS TE Tunnel AutoBandwidth Status Information"; + leaf is-auto-bandwidth-enabled { + type boolean; + description + "TRUE if auto-bw is enabled for the tunnel"; + } + leaf reactivation-time { + type uint32; + description + "Time until auto-bw gets activated if activation + has been delayed due to failover"; + } + } + + grouping MPLS-TE-P2P-INFO-BAG { + description + "P2P tunnel data"; + container auto-bandwidth-status { + description + "Tunnels's AutoBandwidth Status information"; + uses MPLS-TE-TUNNELS-AUTOBW-STATUS; + } + container auto-bandwidth-config { + description + "Tunnels's AutoBandwidth Configuration + information"; + uses MPLS-TE-TUNNELS-AUTOBW-CONFIG; + } + container auto-bandwidth-oper { + description + "Tunnels's AutoBandwidth Operational information"; + uses MPLS-TE-TUNNELS-AUTOBW-OPER; + } + leaf is-bidirectional { + type boolean; + description + "TRUE if the tunnel is bidirectional"; + } + } + + grouping MPLS-TE-INTERAREA-REOPT-INFO { + description + "Counter and time information for reoptimization + of interarea tunnels"; + leaf sent-path-queries { + type uint16; + description + "Number of better path queries sent"; + } + leaf time-since-last-query-sent { + type uint32; + units "second"; + description + "Time since the last better path query was sent + (seconds)"; + } + leaf received-preferred-path-errors { + type uint16; + description + "Number of received Preferred Path Exists Error"; + } + leaf time-since-last-preferred-path-error { + type uint32; + units "second"; + description + "Time since last Preferred Path Exists error + received (seconds)"; + } + leaf received-preferred-tree-errors { + type uint16; + description + "Number of received Preferred Tree Exists Error"; + } + leaf time-since-last-preferred-tree-error { + type uint32; + units "second"; + description + "Time since last Preferred Tree Exists error + received (seconds)"; + } + leaf preferred-path-error-node { + type inet:ipv4-address; + description + "Address of the preferred path error generating + node"; + } + leaf preferred-tree-error-node { + type inet:ipv4-address; + description + "Address of the preferred tree error generating + node"; + } + } + + grouping MPLS-TE-P2MP-DEST { + description + "A P2MP destination"; + container inter-area-reoptimization { + description + "The timing and count information of interarea + reoptimization."; + uses MPLS-TE-INTERAREA-REOPT-INFO; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf destination-state { + type Te-destination-state; + description + "The state of the destination"; + } + leaf active-path-option-index { + type uint32; + description + "Index of active path option"; + } + leaf path-option-exhausted { + type boolean; + description + "Path options are exhausted"; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the destination was up"; + } + leaf path-change-time { + type uint32; + description + "Last path change time"; + } + leaf total-uptime { + type uint32; + description + "Unused"; + } + leaf s2l-exist { + type boolean; + description + "Dest state may not be up but S2L may exist"; + } + leaf destination-deletion-cause { + type Te-p2mp-s2l-deletion-cause; + description + "Destination deletion cause"; + } + leaf destination-deletion-sub-cause { + type Te-p2mp-s2l-deletion-subcause; + description + "Destination deletion subcause"; + } + leaf destination-deletion-timestamp { + type uint32; + units "second"; + description + "Destination deletion timestamp in seconds"; + } + leaf is-inter-area { + type boolean; + description + "Indicates whether this destination is in + different area"; + } + list path-option-entry { + description + "Deprecated; replaced by PathOption"; + uses MPLS-TE-P2MP-PATH-OPTION; + } + list path-option { + description + "Destination's list of path options"; + uses MPLS-TE-P2MP-PATH-OPTION; + } + } + + grouping MPLS-TE-AUTOROUTE-DESTINATION-BAG { + description + "An Autoroute destination"; + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf prefix-length { + type uint16; + description + "Prefix length"; + } + } + + grouping MPLS-TE-TUNNEL-BFD-CONFIG-INFO { + description + "BFD configuration info for a tunnel"; + leaf bfd-fast-detecting-enabled { + type boolean; + description + "Deprecated"; + } + leaf bfd-type { + type Te-vif-bfd; + description + "BFD Type"; + } + leaf min-interval { + type uint32; + units "millisecond"; + description + "Hello interval in milliseconds"; + } + leaf min-interval-default { + type boolean; + description + "Is default hello interval"; + } + leaf multiplier { + type uint8; + description + "Multiplier"; + } + leaf multiplier-default { + type boolean; + description + "Is default multiplier"; + } + leaf bring-up-timeout { + type uint16; + description + "Bring Up Timeout in second"; + } + leaf bring-up-timeout-default { + type boolean; + description + "Is default bring up timeout"; + } + leaf dampening-initial-wait { + type uint32; + units "millisecond"; + description + "Dampening initial wait time in milliseconds"; + } + leaf dampening-initial-wait-default { + type boolean; + description + "Is default dampening inital wait time"; + } + leaf dampening-max-wait { + type uint32; + units "millisecond"; + description + "Dampening max wait time in milliseconds"; + } + leaf dampening-max-wait-default { + type boolean; + description + "Is default dampening max wait time"; + } + leaf dampening-secondary-wait { + type uint32; + units "millisecond"; + description + "Dampening secondary wait time in milliseconds"; + } + leaf dampening-secondary-wait-default { + type boolean; + description + "Is default dampening secondary wait time"; + } + leaf periodic-lsp-ping-disabled { + type boolean; + description + "Periodic LSP Ping disabled"; + } + leaf periodic-lsp-ping-interval { + type uint32; + units "second"; + description + "Periodic LSP Ping interval in seconds"; + } + leaf periodic-lsp-ping-interval-default { + type boolean; + description + "Is default LSP Ping interval"; + } + leaf bfd-session-down-action { + type Mpls-te-bfd-session-down-action1; + description + "BFD Session Down Action"; + } + leaf bfd-session-down-reopt-timeout { + type uint32; + description + "BFD Session Down Reopt Timeout"; + } + leaf bfd-encap-mode { + type Te-vif-bfd-encap-mode; + description + "BFD Encap Mode"; + } + leaf sbfd-target-id { + type inet:ipv4-address; + description + "SBFD Target ID"; + } + } + + grouping MPLS-TE-TUNNEL-BIDIR-CONFIG-INFO { + description + "Bidirectional configuration info for a tunnel"; + leaf association-type { + type uint16; + description + "Association Type + (draft-ietf-ccamp-mpls-tp-rsvpte-ext-associated-lsp)"; + } + leaf association-id { + type uint16; + description + "The association ID"; + } + leaf association-source { + type inet:ipv4-address; + description + "The association source"; + } + leaf association-global-id { + type uint32; + description + "The association global ID"; + } + leaf association-corouted { + type boolean; + description + "Is the association co-routed"; + } + } + + grouping MPLS-TE-P2MP-TUN-CFG-BAG { + description + "Configured P2MP tunnel data"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + container bidirectional-config { + description + "Bidirectional Configuration Information"; + uses MPLS-TE-TUNNEL-BIDIR-CONFIG-INFO; + } + container bfd-config { + description + "BFD Configuration Information"; + uses MPLS-TE-TUNNEL-BFD-CONFIG-INFO; + } + leaf tunnel-name { + type string; + description + "Tunnel name"; + } + leaf tunnel-id { + type uint32; + description + "Tunnel id"; + } + leaf is-p2mp { + type boolean; + description + "True if tunnel is a P2MP tunnel"; + } + leaf signaled-name { + type string; + description + "Signaled name"; + } + leaf configured-bandwidth { + type uint32; + description + "Configured Bandwidth"; + } + leaf interface-configured-bandwidth { + type uint32; + description + "Configured Interface Bandwidth"; + } + leaf bandwidth-type { + type Mpls-te-bw-pool; + description + "The bandwidth type"; + } + leaf setup-priority { + type uint8; + description + "Setup priority"; + } + leaf hold-priority { + type uint8; + description + "Hold priority"; + } + leaf policy-class { + type uint8; + description + "deprecated"; + } + leaf forward-class { + type uint32; + description + "Forward class"; + } + leaf backup-bandwidth { + type uint32; + description + "Backup bandwidth"; + } + leaf backup-bandwidth-flags { + type uint8; + description + "Backup bandwidth flags"; + } + leaf config-load-share { + type uint32; + description + "Config loadshare"; + } + leaf payload-type { + type uint16; + description + "Payload type"; + } + leaf is-in-config { + type boolean; + description + "Is in config"; + } + leaf explicit-null-imposition { + type boolean; + description + "Imposition of Explicit NULL"; + } + leaf fast-reroute { + type boolean; + description + "Fast reroute enabled"; + } + leaf is-backup-tunnel { + type boolean; + description + "TRUE if this is a backup tunnel"; + } + leaf record-route { + type boolean; + description + "Record route"; + } + leaf srlg-discovery { + type boolean; + description + "SRLG-discovery enabled"; + } + leaf path-protection-enabled { + type boolean; + description + "Path Protection enabled"; + } + leaf hop-limit { + type uint8; + description + "Hop Limit"; + } + leaf cost-limit { + type uint32; + description + "Cost limit on the tunnel path"; + } + leaf cost-limit-global { + type uint32; + description + "Global Cost Limit"; + } + leaf path-invalidation-timeout-source { + type uint32; + description + "Path invalidation timeout configuration source"; + } + leaf path-invalidation-timeout { + type uint32; + description + "Path invalidation timeout interval on the tunnel + path"; + } + leaf path-invalidation-action-source { + type uint32; + description + "Path invalidation action configuration source"; + } + leaf path-invalidation-action { + type uint32; + description + "Path invalidation action on the tunnel path"; + } + leaf soft-preempt { + type boolean; + description + "Soft preemption enabled"; + } + leaf disable-affinity-failure-reopt { + type boolean; + description + "DisableAffinityFailureReopt"; + } + leaf affinity-failure-reopt-timer { + type uint32; + description + "AffinityFailureReoptTimer"; + } + leaf segment-routing-path-selection { + type Te-s2l-sr-path-selection; + description + "Segment-Routing path selection type"; + } + list policy-class-entry { + description + "PBTS policy classes"; + leaf entry { + type uint8; + } + } + list autoroute-destination { + description + "Autoroute Destinations list"; + uses MPLS-TE-AUTOROUTE-DESTINATION-BAG; + } + } + + grouping MPLS-TE-P2MP-TUNNEL-BAG { + description + "P2MP tunnel data"; + container config { + description + "Configuration data"; + uses MPLS-TE-P2MP-TUN-CFG-BAG; + } + container tunnel-current-lsp { + description + "Current LSP"; + uses MPLS-TE-P2MP-LSP; + } + container reoptimized-p2mp-lsp { + description + "Reopt LSP"; + uses MPLS-TE-P2MP-LSP; + } + container tunnel-standby-lsp { + description + "Standby LSP"; + uses MPLS-TE-P2MP-LSP; + } + container reoptimized-standby-p2mp-lsp { + description + "Standby Reopt LSP"; + uses MPLS-TE-P2MP-LSP; + } + container tunnel-restoration-lsp { + description + "Restoration LSP"; + uses MPLS-TE-P2MP-LSP; + } + container delay-clean-pp-lsp { + description + "Delay Clean PP LSP"; + uses MPLS-TE-P2MP-LSP; + } + container cleaned-lsp { + description + "Cleaned LSP"; + uses MPLS-TE-P2MP-LSP; + } + container p2p-info { + description + "P2P specific info"; + uses MPLS-TE-P2P-INFO-BAG; + } + container history { + description + "Tunnel history"; + uses MPLS-TE-TUNNELS-HISTORY-BAG; + } + container path-protection { + description + "Path Protect Info"; + uses MPLS-TE-PP-INFO; + } + container auto-backup { + description + "Autobackup Information"; + uses MPLS-TE-AUTOBACKUP-INFO; + } + container auto-mesh { + description + "Automesh Information"; + uses MPLS-TE-AUTOMESH-INFO; + } + container auto-pcc { + description + "Auto-PCC Information"; + uses MPLS-TE-AUTOPCC-INFO; + } + container pce-delegation { + description + "PCE Delegation information"; + uses MPLS-TE-PCE-DELEGATION-INFO; + } + container soft-preemption { + description + "Tunnel head soft preemption info. This is NULL + if soft preemption is not configured"; + uses MPLS-TE-SOFT-PREEMPTION-TUNNEL-INFO; + } + container wdm-unitunnel { + description + "WDM-UNI tunnel data. Only exists for WDM-UNI + tunnels"; + uses MPLS-TE-MGMT-WDM-UNI-TUNNEL-INFO; + } + container transport-tunnel-info { + description + "Transport tunnel data. Only exists for Transport + tunnels"; + uses MPLS-TE-TRANSPORT-TUNNEL-INFO; + } + container bfd-info { + description + "BFD session info. This is NULL if BFD is not + configured"; + uses MPLS-TE-TUNNEL-BFD-INFO; + } + container otn-bidir { + description + "OTN bidir info"; + uses MPLS-TE-TUNNEL-OTN-BIDIR-INFO; + } + container bidir { + description + "Bidir info"; + uses MPLS-TE-TUNNEL-BIDIR-INFO; + } + container xro-attribute-set { + description + "XRO attribute-set"; + uses MPLS-TE-ATTRIBUTE-SET; + } + container te-tunnel-convergence { + description + "TE tunnel convergence related information"; + uses TE-VIF-CONVERGENCE-INFO; + } + container flex-info { + description + "Flex Info"; + uses MPLS-TE-TUNNEL-FLEX-INFO; + } + leaf role-standby { + type boolean; + description + "TRUE if Role is Standby, Active otherwise"; + } + leaf tunnel-interface-name { + type xr:Interface-name; + description + "Interface handle of the associated tunnel"; + } + leaf admin-state { + type Mte-tunnel-admin-state; + description + "Administrative State"; + } + leaf operational-state { + type Mte-tunnel-oper-state; + description + "Operational State"; + } + leaf operational-state-changes { + type uint32; + description + "Counters for operational state changes"; + } + leaf signaled-name { + type string; + description + "Signaled Name"; + } + leaf fail-reason { + type Mpls-mte-tunnel-fail-reason; + description + "The reason why failure occurred"; + } + leaf destination-up-count { + type uint32; + description + "Count of up destinations"; + } + leaf destination-disabled-count { + type uint32; + description + "Count of disabled destinations"; + } + leaf destination-down-count { + type uint32; + description + "Count of down destinations"; + } + leaf re-opt-hold-down-timer-remaining { + type uint32; + units "second"; + description + "Backup hold-down timer remaining time in seconds"; + } + leaf bandwidth-requested { + type uint32; + description + "Bandwidth Requested"; + } + leaf bandwidth-type { + type Mpls-te-bw-pool; + description + "The requested bandwidth type"; + } + leaf is-node-protected { + type boolean; + description + "Node Protection Enabled or Disabled"; + } + leaf is-bandwidth-protect { + type boolean; + description + "BW Protection Enabled or Disabled"; + } + leaf tunnel-recovering { + type boolean; + description + "Tunnel recovering"; + } + leaf reroute-pending { + type boolean; + description + "ReroutePending"; + } + leaf explicit-path-change { + type boolean; + description + "Explicit-path inuse by the current LSP has been + modified"; + } + leaf path-option-change { + type boolean; + description + "Path-Option inuse by the current LSP has been + modified"; + } + leaf affinity-failure-reopt-disabled { + type boolean; + description + "AffinityFailureReoptDisabled"; + } + leaf affinity-failure-reopt-time-remained { + type uint32; + description + "AffinityFailureReoptTimeRemained"; + } + leaf affinity-failure-delayed-tear-time-remained { + type uint32; + description + "Affinity Failure LSP tear down time remaining"; + } + leaf invalidation-time-remained { + type uint32; + description + "Path invalidation time remaining"; + } + leaf drop-mode { + type boolean; + description + "True if tunnel is in drop mode"; + } + leaf auto-route { + type boolean; + description + "IGP Auto route announce enabled"; + } + leaf forwarding-adjacency { + type boolean; + description + "IGP forwarding adjacency enabled"; + } + leaf load-share-factor { + type uint32; + description + "The specified loadsharing for the tunnel"; + } + leaf load-share-type { + type Mpls-te-loadshare; + description + "Loadsharing type"; + } + leaf create-time { + type uint32; + description + "Time at which the tunnel was created"; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the tunnel was up"; + } + leaf metric-type { + type Mpls-te-metric; + description + "The path selection metric"; + } + leaf tie-breaker { + type Te-path-selection-tiebreaker; + description + "The path selection tiebreaker"; + } + leaf tiebreaker-type { + type uint32; + description + "Deprecated - replaced by Tiebreaker"; + } + leaf tiebreaker-qualifier { + type Mpls-te-metric-qualifier; + description + "Describes how the path selection tiebreaker was + specified: default, globally set, or per + interface"; + } + leaf metric-qualifier { + type Mpls-te-metric-qualifier; + description + "Describe how the metric was specified: default, + globally set, or per interface"; + } + leaf is-hop-limit-ignore { + type boolean; + description + "Is Hop-limit ignored"; + } + leaf hop-limit-ignored-reason { + type Te-hop-limit-ignore; + description + "Hop-limit ignored reason"; + } + leaf outbound-frr-state { + type Mpls-te-frr-state; + description + "Indicates outbound FRR state"; + } + leaf area-id { + type string; + description + "Indicates the protocol and area used to find + Outgoing ERO"; + } + leaf pce-fail-reason { + type Mpls-te-pce-fail-reasons; + description + "Failure reason for PCE-based tunnels"; + } + leaf snmp-index { + type uint32; + description + "SNMP index for interface"; + } + leaf is-inter-area-tunnel { + type boolean; + description + "Indicates whether this tunnel spans multiple + areas."; + } + leaf is-auto-backup { + type boolean; + description + "Indicates whether this is an automatically + generated backup tunnel"; + } + leaf is-auto-pcc { + type boolean; + description + "Indicates whether this is an automatic PCC + tunnel"; + } + leaf is-pce-delegated { + type boolean; + description + "Indicates whether this tunnel is delegated to a + PCE server or not"; + } + leaf tunnel-attribute-set-name { + type string; + description + "AttributeSet name"; + } + leaf tunnel-attribute-set-type { + type Tunnel-attribute-set; + description + "AttributeSet type"; + } + leaf xro-attribute-set-name { + type string; + description + "Configured XRO attribute-set name"; + } + leaf is-passive { + type boolean; + description + "True for passive tunnel"; + } + leaf passive-tunnel-name { + type string; + description + "Passive tunnel name"; + } + leaf binding-label-exists { + type boolean; + description + "True, if binding label exists"; + } + leaf binding-label { + type uint32; + description + "Binding Label"; + } + leaf last-hop-ifindex { + type uint32; + description + "Termination destination ifindex"; + } + leaf is-named { + type boolean; + description + "Indicates whether this tunnel is named"; + } + leaf lsp-wrap-protection-enabled { + type boolean; + description + "Lsp-wrap Protection enabled"; + } + leaf lsp-wrap-label { + type uint32; + description + "Lsp-wrap label value"; + } + leaf is-interface { + type boolean; + description + "True for tunnel head"; + } + leaf last-path-change { + type uint32; + units "second"; + description + "Time in seconds since the last path change"; + } + leaf persistent-bytes { + type uint64; + units "byte"; + description + "Persistent forwarding statistics for number of + bytes. Clear counters will not reset the counter"; + } + leaf persistent-packets { + type uint64; + description + "Persistent forwarding statistics for Number of + packets. Clear counters will not reset the + counter"; + } + leaf autoroute-announce-exclude-segment-routing { + type boolean; + description + "Indicates whether this tunnel is autoroute + announced with exclude segment-routing option"; + } + list destination { + description + "Destinations array"; + uses MPLS-TE-P2MP-DEST; + } + } + + grouping MPLS-TE-S2L-DIVERSITY-INFO { + description + "S2l Diversity info"; + leaf diversity-type { + type Te-pp-diversity; + description + "S2L path diversity type"; + } + } + + grouping TUNNEL-MIDPOINT-LSP-WRAP-INFO-BAG { + description + "Midpoint LSP Wrap Protection LSP Info"; + leaf lsp-wrap-protection-enable { + type boolean; + description + "LSP Wrap protection enabled"; + } + leaf lsp-wrap-protection-label { + type uint32; + description + "LSP Wrap Merge Point Label"; + } + leaf reverse-egress-interface { + type string; + description + "Reverse Egress Interface"; + } + leaf reverse-lsp-label { + type uint32; + description + "Reverse LSP label"; + } + leaf lsp-wrap-protection-state { + type Mpls-te-lsp-wrap-state; + description + "LSP wrap protection state"; + } + } + + grouping TE-S2L-SR-PATH-HOP { + description + "TE Segment-Routing S2L path hop"; + leaf sid-type { + type Te-sr-sid; + description + "Type of the SID"; + } + leaf has-ip-addresses { + type boolean; + description + "Node has IP addresses specified"; + } + leaf local-addr { + type inet:ipv4-address; + description + "Local IP address of adjacency or Node ID"; + } + leaf remote-addr { + type inet:ipv4-address; + description + "Remote IP address of adjacency"; + } + leaf has-mpls-label { + type boolean; + description + "Hop has MPLS label specified"; + } + leaf mpls-label-value { + type uint32; + description + "The MPLS label value"; + } + leaf has-entropy-label { + type boolean; + description + "Hop has EL specified"; + } + } + + grouping MPLS-TE-S2L-FLEX-INFO { + description + "TE Per-S2L FlexLSP Information"; + container flex-fec { + description + "FEC for the FlexLSP Entry"; + uses TE-S2L-FEC; + } + leaf entry-exists { + type boolean; + description + "FlexLSP Entry Exists"; + } + leaf in-label { + type uint32; + description + "In Label"; + } + leaf bfd-created { + type boolean; + description + "GAL BFD Session Created"; + } + leaf bfd-up { + type boolean; + description + "GAL BFD Session Up"; + } + leaf oam-created { + type boolean; + description + "OAM Entry Created"; + } + leaf bfd-next-hop { + type inet:ipv4-address; + description + "BFD Next Hop"; + } + leaf bfd-tun-ifh { + type xr:Interface-name; + description + "BFD Tunnel Interface Handle"; + } + leaf bfd-out-ifh { + type xr:Interface-name; + description + "BFD Out Interface Handle"; + } + leaf bfd-int-label { + type uint32; + description + "BFD Internal Label"; + } + leaf bfd-egress-label { + type uint32; + description + "BFD Egress Label"; + } + leaf fault-ldi-lockout { + type boolean; + description + "Fault LDI Lockout"; + } + leaf fault-ldi { + type boolean; + description + "Fault LDI"; + } + leaf fault-lkr { + type boolean; + description + "Fault LKR"; + } + leaf fault-ais { + type boolean; + description + "Fault AIS"; + } + leaf fault-time { + type uint32; + description + "Fault Time"; + } + } + + grouping MPLS-TE-S2L-PROTECTION-OBJECT { + description + "TE Protection Object"; + leaf s2l-secondary { + type boolean; + description + " S2L Protection Secondary Bit"; + } + leaf s2l-protecting { + type boolean; + description + " S2L Protection Protecting Bit"; + } + leaf s2l-notification { + type boolean; + description + " S2L Protection Notification Bit"; + } + leaf s2l-operational { + type boolean; + description + " S2L Protection Operational Bit"; + } + leaf enhanced { + type boolean; + description + "Indicates Enhanced Protection Scheme"; + } + leaf ded1-plus1 { + type boolean; + description + "Dedicated 1+1 Protection"; + } + leaf ded1-to1 { + type boolean; + description + "Dedicated 1:1 Protection"; + } + leaf shared { + type boolean; + description + "Shared Link Layer Protection"; + } + leaf link-unprotected { + type boolean; + description + "LSP should not use any Link Layer Protection"; + } + leaf extra-traffic { + type boolean; + description + "LSP should use Links that are protecting other + (primary) traffic"; + } + leaf any { + type boolean; + description + "Any"; + } + leaf rerouting { + type boolean; + description + "Full Rerouting"; + } + leaf rerouting-no-et { + type boolean; + description + "Rerouting Without Extra-Traffic"; + } + leaf one-to-n-protection-et { + type boolean; + description + "1:N Protection with Extra-Traffic"; + } + leaf one-plus-one-uni { + type boolean; + description + "1+1 Unidirectional Protection"; + } + leaf one-plus-one-bi { + type boolean; + description + "1+1 Bidirectional Protection"; + } + leaf lsp-unprotected { + type boolean; + description + "LSP Flags Unprotected"; + } + } + + grouping MPLS-TE-S2L-ASSOCIATION-OBJECT { + description + "TE Association Object"; + leaf s2l-association-type { + type uint16; + description + "S2L Association Type + (draft-ietf-ccamp-mpls-tp-rsvpte-ext-associated-lsp)"; + } + leaf s2l-association-tie-role { + type Te-association-tie-role; + description + "S2L Association Tie Role"; + } + leaf s2l-association-id { + type uint16; + description + "S2L Association ID"; + } + leaf s2l-association-source { + type inet:ipv4-address; + description + "S2L Association Source"; + } + leaf s2l-global-source { + type uint32; + description + "S2L Global Source"; + } + list s2l-extended-id { + description + "S2L Extended ID Array"; + leaf entry { + type uint32; + } + } + } + + grouping TE-S2L-SRLG-COLLECT-INFO { + description + "SRLG-collection information"; + leaf srlg-collect-type { + type Te-srlg-collect-request; + description + "SRLG-collection mechanism"; + } + list discovered-srlg { + description + "Discovered SRLGs"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-TAIL-BFD-INFO { + description + "TE Tail-end BFD information"; + container session-info { + description + "BFD Session Info"; + uses MPLS-TE-BFD-SESSION-INFO; + } + leaf failure-diagnostic-code { + type uint32; + description + "BFD session failure diagnostic code"; + } + leaf failure-reason { + type string; + description + "BFD session failure reason"; + } + leaf local-discriminator { + type uint32; + description + "BFD Local Discriminator"; + } + leaf remote-discriminator { + type uint32; + description + "BFD Remote Discrminator"; + } + leaf min-interval { + type uint32; + description + "Hello interval in mini second"; + } + leaf min-interval-default { + type boolean; + description + "Is default hello interval"; + } + leaf multiplier { + type uint8; + description + "Multiplier"; + } + leaf multiplier-default { + type boolean; + description + "Is default multiplier"; + } + } + + grouping MPLS-TE-BFD-DELETION-HISTORY { + description + "TE Tunnel BFD Session Deletion History"; + leaf lsp-id { + type uint16; + description + "LSP ID of the BFD session get deleted"; + } + leaf deletion-time { + type uint32; + description + "Time stamp of the BFD session get deleted"; + } + leaf deletion-reason { + type string; + description + "Reason for the BFD session get deleted"; + } + leaf deletion-diagnostic-code { + type uint32; + description + "Diagnostic Code for the BFD session get deleted"; + } + } + + grouping MPLS-TE-BFD-SESSION-INFO { + description + "TE BFD Session Info"; + leaf state { + type Te-bfd-lsp-session-state; + description + "BFD session state"; + } + leaf state-change-time { + type uint32; + units "second"; + description + "Time in seconds since the last session state + change"; + } + } + + grouping MPLS-TE-HEAD-BFD-INFO { + description + "TE Head-end BFD information"; + container session-info { + description + "BFD Session Info"; + uses MPLS-TE-BFD-SESSION-INFO; + } + container deletion-history { + description + "BFD Session Deletion History"; + uses MPLS-TE-BFD-DELETION-HISTORY; + } + leaf creation-time { + type uint32; + units "second"; + description + "Time in seconds since the BFD session created"; + } + leaf lspbfd-type { + type Te-vif-bfd; + description + "LSP BFD type"; + } + leaf is-redundant { + type boolean; + description + "sBFD session is redundant"; + } + leaf bfd-reverse-path-stale { + type boolean; + description + "The BFD reverse path is stale compared to + configuration"; + } + list bfd-reverse-path-label { + description + "BFD reverse path labels"; + leaf entry { + type uint32; + } + } + } + + grouping TE-PVT-PROT-OBJ { + description + "Private Protection information signaled"; + leaf sbit { + type boolean; + description + "Secondary bit"; + } + leaf pbit { + type boolean; + description + "Protecting bit"; + } + leaf nbit { + type boolean; + description + "Notification bit "; + } + leaf obit { + type boolean; + description + "Operational bit"; + } + leaf protect-type { + type Te-protect; + description + "LSP Protect Type"; + } + leaf is-wtr-present { + type boolean; + description + "Is Wait-to-Restore timeout present"; + } + leaf wtr-timeout { + type uint32; + description + "Wait-to-Restore timeout"; + } + leaf is-hopresent { + type boolean; + description + "Is Hold-Off timeout present"; + } + leaf ho-timeout { + type uint32; + description + "Hold-Off timeout"; + } + leaf is-snc-mode-present { + type boolean; + description + "Is SNC mode present"; + } + leaf snc-mode { + type Te-aps-snc-mode; + description + "SNC mode"; + } + leaf tcm-id { + type uint32; + description + "TCM ID"; + } + leaf path-prot-profile-type { + type Te-path-prot-profile; + description + "Path protection profile type"; + } + } + + grouping MPLS-TE-S2L-APS-INFO { + description + "APS Protection Info of S2L"; + container protection-info { + description + "Protection Info"; + uses TE-PVT-PROT-OBJ; + } + } + + grouping TE-ODU-FLEX-GFP-F-NON-RES-INFO { + description + "ODU flex info for non-resizable GFP-F framing + type"; + leaf bit-rate { + type uint32; + description + "Bit rate in kbit/s"; + } + } + + grouping TE-ODU-FLEX-GFP-F-RES-INFO { + description + "ODU flex info for resizable GFP-F framing type"; + leaf bit-rate { + type uint32; + description + "Bit rate in kbit/s"; + } + } + + grouping TE-ODU-FLEX-CBR-INFO { + description + "ODU flex info for CBR framing type"; + leaf bit-rate { + type uint32; + description + "Bit rate in kbit/s"; + } + leaf tolerance { + type uint16; + description + "Tolerance"; + } + } + + grouping TE-ODU-V3-BW { + description + "ODU bandwidth union"; + container odu-flex-cbr { + when "../odu-level = 'te-odu-level-flex-cbr'" { + description + "../ODULevel = 'TE_ODULevelFlexCBR'"; + } + description + "Odu flex CBR info"; + uses TE-ODU-FLEX-CBR-INFO; + } + container odu-flex-gfp-f-res { + when "../odu-level = 'te-odu-level-flex-gfpf-resizeable'" { + description + "../ODULevel = 'TE_ODULevelFlexGFPFResizeable'"; + } + description + "Odu flex GFP-F resizable info"; + uses TE-ODU-FLEX-GFP-F-RES-INFO; + } + container odu-flex-gfp-f-non-res { + when "../odu-level = 'te-odu-level-flex-gfpf-non-resizable'" { + description + "../ODULevel = 'TE_ODULevelFlexGFPFNonResizable'"; + } + description + "Odu flex GFP-F non-resizable info"; + uses TE-ODU-FLEX-GFP-F-NON-RES-INFO; + } + leaf odu-level { + type Te-odu-level; + description + "ODULevel"; + } + } + + grouping MPLS-TE-S2L-OTN-INFO { + description + "OTN S2L's Controllers' information"; + container bandwidth { + description + "OTN Bandwidth for s2l"; + uses TE-ODU-V3-BW; + } + container labels { + description + "Labels"; + uses MPLS-TE-MGMT-GMPLS-LABELS; + } + leaf incoming-controller { + type string; + description + "Incoming Controller"; + } + leaf incoming-controller-state { + type Te-controller-state; + description + "State of Incoming Controller"; + } + leaf incoming-sub-controller { + type string; + description + "Incoming Sub Controller"; + } + leaf incoming-sub-controller-state { + type Te-controller-state; + description + "State of Incoming Sub Controller"; + } + leaf outgoing-controller { + type string; + description + "Outgoing Controller"; + } + leaf outgoing-controller-state { + type Te-controller-state; + description + "State of Outgoing Controller"; + } + leaf outgoing-sub-controller { + type string; + description + "Outgoing Sub Controller"; + } + leaf outgoing-sub-controller-state { + type Te-controller-state; + description + "State of Outgoing Sub Controller"; + } + leaf cross-connect-id { + type uint32; + description + "Cross connect id"; + } + leaf is-connected { + type boolean; + description + "True if subcontrollers are connected"; + } + leaf uptime { + type uint32; + description + "XC Uptime"; + } + leaf outgoing-controller-ifhandle { + type xr:Interface-name; + description + "Outgoing Controller Ifhandle"; + } + leaf outgoing-sub-controller-ifhandle { + type xr:Interface-name; + description + "Outgoing Sub Controller Ifhandle"; + } + leaf incoming-controller-ifhandle { + type xr:Interface-name; + description + "Incoming Controller Ifhandle"; + } + leaf incoming-sub-controller-ifhandle { + type xr:Interface-name; + description + "Incoming Sub Controller Ifhandle"; + } + leaf gpid { + type uint16; + description + "Gpid Payload"; + } + } + + grouping MPLS-TE-OTN-S2L-INFO { + description + "OTN S2l information"; + container otn { + description + "Info Related to OTN technology in S2L"; + uses MPLS-TE-S2L-OTN-INFO; + } + container aps { + description + "APS Info for OTN S2L"; + uses MPLS-TE-S2L-APS-INFO; + } + } + + grouping MPLS-TE-MGMT-G709-OTN-FIXED-SIZE-LABEL { + description + "GMPLS G709 OTN fixed-size Label"; + leaf tpn { + type uint16; + description + "Tributary time slot"; + } + leaf bit-map-length { + type uint16; + description + "Bit map length"; + } + list bit-map { + description + "Bit Map"; + leaf entry { + type uint8; + } + } + } + + grouping MPLS-TE-MGMT-WDM-FIXED-GRID-LABEL { + description + "GMPLS WDM fixed-grid Label"; + leaf label-set { + type boolean; + description + "Flag to indicate whether label is set"; + } + leaf grid { + type Gmpls-uni-mgmt-wdm-grid; + description + "Grid"; + } + leaf channel-spacing { + type Gmpls-uni-mgmt-dwdm-cs; + description + "Channel spacing"; + } + leaf identifier { + type uint16; + description + "Identifier"; + } + leaf channel { + type int16; + description + "Channel Number"; + } + } + + grouping MPLS-TE-MGMT-GMPLS-LABEL { + description + "A GMPLS label"; + container wdm { + when "../label-type = 'fixed-wdm'" { + description + "../LabelType = 'FixedWDM'"; + } + description + "Fixed-grid WDM label"; + uses MPLS-TE-MGMT-WDM-FIXED-GRID-LABEL; + } + container otn { + when "../label-type = 'fixed-g709otn'" { + description + "../LabelType = 'FixedG709OTN'"; + } + description + "Fixed-size G09 OTN label"; + uses MPLS-TE-MGMT-G709-OTN-FIXED-SIZE-LABEL; + } + leaf label-type { + type Mpls-te-mgmt-gmpls-label; + description + "LabelType"; + } + } + + grouping MPLS-TE-MGMT-GMPLS-LABELS { + description + "GMPLS Labels"; + container path-ingress-label { + description + "Path message (upstream) ingress label"; + uses MPLS-TE-MGMT-GMPLS-LABEL; + } + container path-egress-label { + description + "Path message (upstream) egress label"; + uses MPLS-TE-MGMT-GMPLS-LABEL; + } + container resv-ingress-label { + description + "Resv message (downstream) ingress label"; + uses MPLS-TE-MGMT-GMPLS-LABEL; + } + container resv-egress-label { + description + "Resv message (downstream) egress label"; + uses MPLS-TE-MGMT-GMPLS-LABEL; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-LSP-INFO { + description + "Midpoint Soft Preemption LSP Info"; + leaf status { + type Mpls-te-soft-preemption-state; + description + "The current state of the soft preemption + operation"; + } + leaf soft-preemption-timestamp { + type uint32; + description + "The POSIX timestamp when the soft preemption + occurred"; + } + leaf soft-preemption-link { + type string; + description + "Name of the link where the soft preemption + occurred"; + } + leaf preempting-link-address { + type inet:ipv4-address; + description + "The address of the link where the preemption + happened"; + } + leaf time-to-hard-preemption { + type uint16; + units "second"; + description + "The number of seconds until hard preemption is + triggered"; + } + leaf fr-rrewrite { + type boolean; + description + "FRR-rewrite during soft preemption"; + } + leaf fr-rrewrite-tunnel-name { + type string; + description + "The tunnel name of the backup"; + } + } + + grouping TE-LSP-CONVERGENCE-INFO { + description + "TE LSP convergence related information"; + leaf path-in { + type uint64; + units "nanosecond"; + description + "LSP RSVP Path-in timestamp (clocktime in nsecs)"; + } + leaf path-out { + type uint64; + units "nanosecond"; + description + "LSP RSVP Path-in timestamp (clocktime in nsecs)"; + } + leaf resv-in { + type uint64; + units "nanosecond"; + description + "LSP RSVP Resv-in timestamp (clocktime in nsecs)"; + } + leaf resv-out { + type uint64; + units "nanosecond"; + description + "LSP RSVP Resv-out timestamp (clocktime in nsecs)"; + } + leaf label-rewrite { + type uint64; + units "nanosecond"; + description + "LSP Label rewrite timestamp (clocktime in nsecs)"; + } + leaf tunnel-rewrite { + type uint64; + units "nanosecond"; + description + "Tunnel rewrite timestamp (clocktime in nsecs)"; + } + leaf creation-time { + type uint64; + units "nanosecond"; + description + "Tunnel creation timestamp (clocktime in nsecs)"; + } + } + + grouping TE-MGMT-G709-OTN-FSPEC { + description + "TE G709 OTN FSpec"; + leaf signal-type { + type uint8; + description + "Signal Type"; + } + leaf nmc-or-tolerance { + type uint16; + description + "NMC or Tolerance"; + } + leaf nvc { + type uint16; + description + "Number of Virtual Components"; + } + leaf multiplier { + type uint16; + description + "Multiplier"; + } + leaf bit-rate { + type uint32; + units "kbit/s"; + description + "Bit Rate in kbps"; + } + } + + grouping TE-MGMT-GENERIC-FSPEC { + description + "Union of different TE generic FSpec types"; + container otnfspec { + when "../fspec-type = 'te-generic-fspec-type-g709otn'" { + description + "../FSpecType = 'TEGenericFSpecTypeG709OTN'"; + } + description + "TE FSpec for G709 OTN"; + uses TE-MGMT-G709-OTN-FSPEC; + } + leaf fspec-type { + type Te-mgmt-generic-fspec; + description + "FSpecType"; + } + } + + grouping TE-MGMT-G709-OTN-TSPEC { + description + "TE G709 OTN TSpec"; + leaf signal-type { + type uint8; + description + "Signal Type"; + } + leaf nmc-or-tolerance { + type uint16; + description + "NMC or Tolerance"; + } + leaf nvc { + type uint16; + description + "Number of Virtual Components"; + } + leaf multiplier { + type uint16; + description + "Multiplier"; + } + leaf bit-rate { + type uint32; + units "kbit/s"; + description + "Bit Rate in kbps"; + } + } + + grouping TE-MGMT-GENERIC-TSPEC { + description + "Union of different TE generic TSpec types"; + container otntspec { + when "../tspec-type = 'te-generic-tspec-type-g709otn'" { + description + "../TSpecType = 'TEGenericTSpecTypeG709OTN'"; + } + description + "TE TSpec for G709 OTN"; + uses TE-MGMT-G709-OTN-TSPEC; + } + leaf tspec-type { + type Te-mgmt-generic-tspec; + description + "TSpecType"; + } + } + + grouping BANDWIDTH-SPEC-BAG { + description + "Bandwidth information of a flow"; + leaf average-rate { + type uint64; + units "kbit/s"; + description + "Average bandwidth in kbps"; + } + leaf maximum-burst { + type uint64; + units "byte"; + description + "Maximum burst of data in bytes"; + } + leaf peak-rate { + type uint64; + units "kbit/s"; + description + "Peak rate in kbps"; + } + } + + grouping TUNNEL-HOP-INFO { + description + "Hop information"; + leaf hop-address { + type inet:ipv4-address; + description + "Hop address"; + } + leaf hop-affinity { + type uint32; + description + "Deprecated"; + } + list hop-extended-affinity { + description + "Hop affinity"; + leaf entry { + type uint32; + } + } + } + + grouping RSVP-MGMT-RRO-SRLG-SUBOBJ { + description + "RSVP RRO SRLG subobject"; + list srl-gs { + description + "The RRO Subobject SRLGs"; + leaf entry { + type uint32; + } + } + } + + grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS { + description + "RSVP RRO UNNUMBERED Subobject Flags"; + leaf is-protection-available { + type boolean; + description + "Local Protection Available"; + } + leaf is-protection-in-use { + type boolean; + description + "Local Protection In Use"; + } + leaf is-bandwidth-protected { + type boolean; + description + "Bandwidth Protection Available"; + } + leaf is-node-protection-available { + type boolean; + description + "Node Protection Available"; + } + leaf is-node-id { + type boolean; + description + "Node ID In Use"; + } + } + + grouping RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ { + description + "RSVP RRO Unnumbered subobject"; + container flags { + description + "The RRO Subobject Unnumbered Flags"; + uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ-FLAGS; + } + leaf interface-address { + type inet:ipv4-address; + description + "The RRO Interface Address"; + } + leaf interface-id { + type uint32; + description + "The RRO Interface ID"; + } + } + + grouping RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS { + description + "RSVP RRO Label Subobject Flags"; + leaf is-global-label { + type boolean; + description + "Label is Global across all interfaces"; + } + } + + grouping RSVP-MGMT-RRO-LABEL-SUBOBJ { + description + "RSVP RRO Label subobject"; + container flags { + description + "The RRO Subobject Label Flags"; + uses RSVP-MGMT-RRO-LABEL-SUBOBJ-FLAGS; + } + leaf label { + type uint32; + description + "The RRO Subobject Label Value"; + } + leaf is-label-variable-length { + type boolean; + description + "Is the RRO Subobject Label Variable Length"; + } + list variable-length-label { + description + "The RRO Subobject Variable Length Label"; + leaf entry { + type uint32; + } + } + } + + grouping RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS { + description + "RSVP RRO IPV4 Subobject Flags"; + leaf is-protection-available { + type boolean; + description + "Local Protection Available"; + } + leaf is-protection-in-use { + type boolean; + description + "Local Protection In Use"; + } + leaf is-bandwidth-protected { + type boolean; + description + "Bandwidth Protection Available"; + } + leaf is-node-protection-available { + type boolean; + description + "Node Protection Available"; + } + leaf is-node-id { + type boolean; + description + "Node ID In Use"; + } + } + + grouping RSVP-MGMT-RRO-IPV4-SUBOBJ { + description + "RSVP RRO IPV4 subobject"; + container flags { + description + "The RRO IPV4 Subobject Flags"; + uses RSVP-MGMT-RRO-IPV4-SUBOBJ-FLAGS; + } + leaf rro-address { + type inet:ipv4-address; + description + "The RRO IPV4 Address"; + } + } + + grouping RSVP-MGMT-RRO-SUBOBJ { + description + "Union of the different RSVP RRO types"; + container ipv4rro-sub-object { + when "../rro-type = 'ipv4rro-type'" { + description + "../RROType = 'IPv4RROType'"; + } + description + "IPV4 RRO Sub Object"; + uses RSVP-MGMT-RRO-IPV4-SUBOBJ; + } + container label-rro-sub-object { + when "../rro-type = 'label-rro-type'" { + description + "../RROType = 'LabelRROType'"; + } + description + "Label RRO Sub Object"; + uses RSVP-MGMT-RRO-LABEL-SUBOBJ; + } + container unnumbered-rro-sub-object { + when "../rro-type = 'unnumbered-rro-type'" { + description + "../RROType = 'UnnumberedRROType'"; + } + description + "Unnumbered RRO Sub Object"; + uses RSVP-MGMT-RRO-UNNUMBERED-SUBOBJ; + } + container srlg-rro-sub-object { + when "../rro-type = 'srlg-rro-type'" { + description + "../RROType = 'SRLG_RROType'"; + } + description + "SRLG RRO Sub Object"; + uses RSVP-MGMT-RRO-SRLG-SUBOBJ; + } + leaf rro-type { + type Rsvp-mgmt-rro-subobj; + description + "RROType"; + } + } + + grouping RSVP-MGMT-ERO-UNNUM-SUBOBJ { + description + "RSVP ERO UNNUM subobject"; + leaf is-strict-route { + type boolean; + description + "ERO Entry Is Strict"; + } + leaf ero-interface-id { + type uint32; + description + "The Interface ID in ERO"; + } + leaf ero-router-id { + type inet:ipv4-address; + description + "The Router ID in ERO"; + } + leaf status { + type Rsvp-mgmt-ero-subobj-status; + description + "Status of ERO"; + } + } + + grouping RSVP-MGMT-ERO-IPV4-SUBOBJ { + description + "RSVP ERO IPV4 subobject"; + leaf is-strict-route { + type boolean; + description + "ERO Entry Is Strict"; + } + leaf ero-address { + type inet:ipv4-address; + description + "The ERO IPV4 Address"; + } + leaf prefix-length { + type uint8; + description + "ERO Prefix Length"; + } + } + + grouping RSVP-MGMT-ERO-SUBOBJ { + description + "Union of the different RSVP ERO types"; + container ipv4ero-sub-object { + when "../ero-type = 'rsvp-mgmt-ero-type-ipv4'" { + description + "../EROType = 'RSVP_MGMT_ERO_TYPE_IPv4'"; + } + description + "IPV4 ERO Sub Object"; + uses RSVP-MGMT-ERO-IPV4-SUBOBJ; + } + container unnumbered-ero-sub-object { + when "../ero-type = 'rsvp-mgmt-ero-type-un-num'" { + description + "../EROType = 'RSVP_MGMT_ERO_TYPE_UNNUM'"; + } + description + "Unnumbered ERO Sub Object"; + uses RSVP-MGMT-ERO-UNNUM-SUBOBJ; + } + leaf ero-type { + type Rsvp-mgmt-ero-subobj; + description + "EROType"; + } + } + + grouping MPLS-TE-P2MP-SIG-ERROR { + description + "P2MP signalling error"; + leaf error-node { + type uint32; + description + "Source address of the error generating node"; + } + leaf error { + type uint8; + description + "Path Error code"; + } + leaf sub-code { + type uint16; + description + "Path Error subcode"; + } + leaf lsp-mode { + type Mpls-te-lsp-mode; + description + "LSPMode"; + } + leaf log-time { + type uint32; + units "second"; + description + "Time in seconds when the error message is logged"; + } + leaf signalling-lsp-id { + type uint16; + description + "LSP-id for which the error was received"; + } + leaf error-message { + type string; + description + "Error message (for display purposes only)"; + } + leaf reverse-lsp { + type boolean; + description + "Indicates if error is on the reverse LSP"; + } + } + + grouping MPLS-TE-P2MP-PCALC-ERROR { + description + "Path computation error information"; + leaf error-message { + type string; + description + "Error message (for display purposes only)"; + } + leaf lsp-mode { + type Mpls-te-lsp-mode; + description + "LSP Mode"; + } + leaf log-time { + type uint32; + units "second"; + description + "Time in seconds seconds (since Jan. 1, 1970) + when the error message is logged"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-ENTRY { + description + "TE segment routing prepend entry"; + leaf type { + type Te-attribute-set-sr-prepend; + description + "Prepend Type"; + } + leaf index { + type uint32; + description + "Prepend index"; + } + leaf next-label { + type uint32; + description + "Prepend next label"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-LIST { + description + "TE segment routing prepend list"; + list prepend-entry { + description + "List of prepend entries"; + uses MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-ENTRY; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-P2P-TE { + description + "TE P2P-TE Attribute Set"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + container logging { + description + "Logging attributes"; + uses MPLS-TE-LOGGING-ATTRIBUTES; + } + container prepend-list { + description + "SR prepend list"; + uses MPLS-TE-ATTRIBUTE-SET-SR-PREPEND-LIST; + } + leaf is-affinity-configured { + type boolean; + description + "Is affinity configured"; + } + leaf path-selection-segment-routing-adjacency-protection { + type Te-s2l-sr-path-selection; + description + "Path selection segment-routing type"; + } + leaf is-path-selection-segment-routing-adjacency-protection-configured { + type boolean; + description + "Is path selection segment routing configured"; + } + leaf path-invalidation-timeout { + type uint32; + description + "Path invalidation timeout on the tunnel path"; + } + leaf path-selection-invalidation-action { + type Te-path-inval-action; + description + "Path invalidation action"; + } + leaf is-path-invalidation-timeout-configured { + type boolean; + description + "Is Path Invalidation timeout configured"; + } + leaf is-path-invalidation-action-configured { + type boolean; + description + "Is Path Invalidation action configured"; + } + leaf path-selection-metric { + type Mpls-te-metric; + description + "Path selection metric type"; + } + leaf is-path-selection-metric-configured { + type boolean; + description + "Is path selection metric configured"; + } + leaf path-selection-segment-routing-margin { + type uint32; + description + "Path selection margin"; + } + leaf is-path-selection-segment-routing-margin-relative { + type boolean; + description + "Path selection margin is_relative"; + } + leaf is-path-selection-segment-routing-margin-configured { + type boolean; + description + "Is path selection margin configured"; + } + leaf path-selection-segment-routing-segment-limit { + type uint32; + description + "Is path selection segment limit configured"; + } + leaf is-path-selection-segment-routing-segment-limit-configured { + type boolean; + description + "Is path selection segment limit configured"; + } + leaf is-path-select-configured { + type boolean; + description + "Is any of the path selection parameters + configured"; + } + leaf is-prepend-list-configured { + type boolean; + description + "Is SR prepend list configured"; + } + leaf is-pce-configured { + type boolean; + description + "Is PCE Configured"; + } + leaf is-pce-disj-source-configured { + type boolean; + description + "Is PCE Disjoint Path Source Configured"; + } + leaf is-pce-disj-type-configured { + type boolean; + description + "Is PCE Disjoint Path Type Configured"; + } + leaf is-pce-disj-group-id-configured { + type boolean; + description + "Is PCE Disjoint Path Group ID Configured"; + } + leaf pcedp-source-address { + type uint32; + description + "PCE Disjoint Path Source Address"; + } + leaf pcedp-type { + type Te-pce-disjoint; + description + "PCE Disjoint Path Type"; + } + leaf pcedp-group-id { + type uint32; + description + "PCE Disjoint Path Group ID"; + } + leaf is-pceb-dj-source-configured { + type boolean; + description + "Is PCE Bidirectional Source Configured"; + } + leaf is-pcebd-group-id-configured { + type boolean; + description + "Is PCE Bidirectional Group ID Configured"; + } + leaf pcebd-source-address { + type uint32; + description + "PCE Bidirectional Source Address"; + } + leaf pcebd-group-id { + type uint32; + description + "PCE Bidirectional Group ID"; + } + list tunnel-id { + description + "Tunnel ID"; + leaf entry { + type uint16; + } + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-APS-PP { + description + "TE OTN path protection attribute set"; + container revert-schedule { + description + "Revert Schedule"; + uses TE-REVERT-SCH; + } + leaf snc-mode { + type Te-aps-snc-mode; + description + "Sub-network Connection Mode"; + } + leaf tcm-id { + type uint32; + description + "Sub-network Connection Monitoring Mode"; + } + leaf protection-type { + type Te-protect; + description + "Protection Type"; + } + leaf protection-mode { + type Te-pnr-revert-options; + description + "Protection Restoration Mode"; + } + leaf wait-to-restore-time { + type uint32; + description + "Wait to restore time"; + } + leaf hold-off-time { + type uint32; + description + "Hold-off time"; + } + leaf path-prot-profile-type { + type Te-path-prot-profile; + description + "Path Protection Profile Type"; + } + leaf restoration-style { + type Te-restoration-style; + description + "Restoration Style"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-P2MP-TE { + description + "TE P2MP-TE Attribute Set"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + leaf fast-reroute { + type boolean; + description + "Fast reroute"; + } + leaf frr-bandwidth-protection { + type boolean; + description + "FRR bandwidth protection"; + } + leaf setup-priority { + type uint8; + description + "Setup priority"; + } + leaf hold-priority { + type uint8; + description + "Hold priority"; + } + leaf is-priority-configured { + type boolean; + description + "Is priority configured"; + } + leaf configured-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth value in kbps"; + } + leaf dste-class-type { + type uint8; + description + "DSTE Class"; + } + leaf is-bandwidth-configured { + type boolean; + description + "Is bandwidth configured"; + } + leaf is-affinity-configured { + type boolean; + description + "Is affinity configured"; + } + list tunnel-id { + description + "Tunnel ID"; + leaf entry { + type uint16; + } + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-XRO { + description + "TE XRO attribute set"; + container xro { + description + "The XRO specified by this attribute-set"; + uses TE-XRO; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-AUTO-MESH { + description + "TE Auto-mesh Attribute Set"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + container logging { + description + "Logging attributes"; + uses MPLS-TE-LOGGING-ATTRIBUTES; + } + leaf configured-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth value in kbps"; + } + leaf dste-class-type { + type uint8; + description + "DSTE Class"; + } + leaf is-bandwidth-configured { + type boolean; + description + "Is bandwidth configured"; + } + leaf setup-priority { + type uint8; + description + "Setup priority"; + } + leaf hold-priority { + type uint8; + description + "Hold priority"; + } + leaf is-priority-configured { + type boolean; + description + "Is priority configured"; + } + leaf policy-class { + type uint8; + description + "deprecated"; + } + leaf is-policyclass-configured { + type boolean; + description + "Is policy class configured"; + } + leaf forward-class { + type uint32; + description + "Forward class"; + } + leaf is-affinity-configured { + type boolean; + description + "Is affinity configured"; + } + leaf fast-reroute { + type boolean; + description + "Fast reroute"; + } + leaf frr-node-protection { + type boolean; + description + "FRR Node protection"; + } + leaf frr-bandwidth-protection { + type boolean; + description + "FRR bandwidth protection"; + } + leaf record-route { + type boolean; + description + "Record route"; + } + leaf auto-bandwidth-collect { + type boolean; + description + "Auto bandwidth collect only"; + } + leaf auto-route-announce { + type boolean; + description + "Announce auto route to IGP"; + } + leaf soft-preemption-configured { + type boolean; + description + "Soft preemption is configured"; + } + leaf bandwidth { + type uint32; + description + "IM bandwidth"; + } + leaf load-share { + type uint32; + description + "Load Share"; + } + leaf is-interface-bw-configured { + type boolean; + description + "Is Interface BW configured"; + } + list policy-class-entry { + description + "PBTS policy classes"; + leaf entry { + type uint8; + } + } + list mesh-group-id { + description + "Meshgroup ID"; + leaf entry { + type uint32; + } + } + list tunnel-id { + description + "Tunnel ID"; + leaf entry { + type uint16; + } + } + } + + grouping MPLS-TE-PROTECTED-IF-NAME-STR { + description + "TE Protected Interface Name String"; + leaf protected-interface { + type string; + description + "Protected Interface Name"; + } + } + + grouping MPLS-TE-LOGGING-ATTRIBUTES { + description + "TE Logging Attributes"; + leaf lsp-state { + type boolean; + description + "LSP State logging: TRUE - enabled, FALSE - + disabled"; + } + leaf s2l-state { + type boolean; + description + "S2L State logging: TRUE - enabled, FALSE - + disabled"; + } + leaf lsp-re-route { + type boolean; + description + "LSP re-route logging: TRUE - enabled, FALSE - + disabled"; + } + leaf lsp-re-opt { + type boolean; + description + "LSP re-optimization logging: TRUE - enabled, + FALSE - disabled"; + } + leaf lsp-insufficient-bw { + type boolean; + description + "LSP insufficient bandwidth logging: TRUE - + enabled, FALSE - disabled"; + } + leaf lsp-bandwidth-change { + type boolean; + description + "LSP bandwidth change logging: TRUE - enabled, + FALSE - disabled"; + } + leaf lsp-pcalc-failure-logging-enabled { + type boolean; + description + "LSP pcalc failure logging: TRUE - enabled, FALSE + - disabled"; + } + leaf all-logging-enabled { + type boolean; + description + "All logging option: TRUE - enabled, FALSE - + disabled"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-SIG-NAME { + description + "Attribute set signalled name"; + leaf name { + type string; + description + "Signalled name"; + } + leaf source-type { + type Te-sig-name-append; + description + "Source address or name"; + } + leaf protected-interface-type { + type Te-sig-name-append; + description + "Protected interface address or name"; + } + leaf is-mp-addresses { + type boolean; + description + "MP address appended"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-AUTO-BACKUP { + description + "TE Auto-backup Attribute Set"; + container signalled-name { + description + "Signalled name"; + uses MPLS-TE-ATTRIBUTE-SET-SIG-NAME; + } + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + container logging { + description + "Logging attributes"; + uses MPLS-TE-LOGGING-ATTRIBUTES; + } + leaf is-signalled-name-configured { + type boolean; + description + "Is signalled name configured"; + } + leaf setup-priority { + type uint8; + description + "Setup priority"; + } + leaf hold-priority { + type uint8; + description + "Hold priority"; + } + leaf is-priority-configured { + type boolean; + description + "Is priority configured"; + } + leaf policy-class { + type uint8; + description + "deprecated"; + } + leaf is-policyclass-configured { + type boolean; + description + "Is policy class configured"; + } + leaf is-affinity-configured { + type boolean; + description + "Is affinity configured"; + } + leaf record-route { + type boolean; + description + "Record route"; + } + list policy-class-entry { + description + "PBTS policy classes"; + leaf entry { + type uint8; + } + } + list tunnel-id { + description + "Tunnel ID"; + leaf entry { + type uint16; + } + } + list protected-interface { + description + "Array of Protected Interface Names"; + uses MPLS-TE-PROTECTED-IF-NAME-STR; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-BFD-REV-PATH { + description + "TE segment routing path list"; + leaf path-type { + type Te-bfd-reverse-path; + description + "BFD reverse path type"; + } + leaf binding-label { + type uint32; + description + "BFD reverse path binding label"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-VERSION { + description + "TE attribute set versioning info"; + leaf attribute-type { + type string; + description + "Attribute Type"; + } + leaf generation { + type uint32; + description + "Generation"; + } + leaf is-default { + type boolean; + description + "Is default"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-PATH-OPTION { + description + "TE Path Option Attribute Set"; + container affinity { + description + "Affinity"; + uses MPLS-TE-TUNNELS-AFFINITY-INFO; + } + container bfd-reverse-path { + description + "BFD reverse path"; + uses MPLS-TE-ATTRIBUTE-SET-BFD-REV-PATH; + } + leaf configured-bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth value in kbps"; + } + leaf cost-limit { + type uint32; + description + "Cost limit on the tunnel path"; + } + leaf dste-class-type { + type uint8; + description + "DSTE Class"; + } + leaf bandwidth-type { + type Mpls-te-bw-pool; + description + "The bandwidth type"; + } + leaf is-bandwidth-configured { + type boolean; + description + "Is bandwidth configured"; + } + leaf is-cost-limit-configured { + type boolean; + description + "Is Cost Limit configured"; + } + leaf is-affinity-configured { + type boolean; + description + "Is affinity configured"; + } + leaf generation { + type uint32; + description + "Generation"; + } + leaf path-invalidation-timeout { + type uint32; + description + "Path invalidation interval on the tunnel path"; + } + leaf path-invalidation-action { + type uint32; + description + "Path invalidation action"; + } + leaf is-path-invalidation-timeout-configured { + type boolean; + description + "Is path invalidation timeout configured"; + } + leaf is-path-invalidation-action-configured { + type boolean; + description + "Is path invalidation action configured"; + } + leaf exclude-list-name { + type string; + description + "Exclude list name"; + } + leaf is-exclude-list-name-configured { + type boolean; + description + "Is exclude list name configured"; + } + leaf is-pce-configured { + type boolean; + description + "Is PCE Configured"; + } + leaf is-pce-disj-source-configured { + type boolean; + description + "Is PCE Disjoint Path Source Configured"; + } + leaf is-pce-disj-type-configured { + type boolean; + description + "Is PCE Disjoint Path Type Configured"; + } + leaf is-pce-disj-group-id-configured { + type boolean; + description + "Is PCE Disjoint Path Group ID Configured"; + } + leaf pcedp-source-address { + type uint32; + description + "PCE Disjoint Path Source Address"; + } + leaf pcedp-type { + type Te-pce-disjoint; + description + "PCE Disjoint Path Type"; + } + leaf pcedp-group-id { + type uint32; + description + "PCE Disjoint Path Group ID"; + } + leaf is-pceb-dj-source-configured { + type boolean; + description + "Is PCE Bidirectional Source Configured"; + } + leaf is-pcebd-group-id-configured { + type boolean; + description + "Is PCE Bidirectional Group ID Configured"; + } + leaf pcebd-source-address { + type uint32; + description + "PCE Bidirectional Source Address"; + } + leaf pcebd-group-id { + type uint32; + description + "PCE Bidirectional Group ID"; + } + leaf is-bfd-reverse-pat-configured { + type boolean; + description + "Is BFD reverse path configured"; + } + list tunnel-id { + description + "Tunnel ID"; + leaf entry { + type uint16; + } + } + list version-info { + description + "Version Info"; + uses MPLS-TE-ATTRIBUTE-SET-VERSION; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET-UNION { + description + "TE Attribute Set Union"; + container attribute-set-path-option { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-path-option'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetPathOption'"; + } + description + "MPLS TE Path Option Attribute Set"; + uses MPLS-TE-ATTRIBUTE-SET-PATH-OPTION; + } + container attribute-set-autobackup { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-auto-backup'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetAutoBackup'"; + } + description + "MPLS TE Auto-backup Attribute Set"; + uses MPLS-TE-ATTRIBUTE-SET-AUTO-BACKUP; + } + container attribute-set-automesh { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-auto-mesh'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetAutoMesh'"; + } + description + "MPLS TE Auto-mesh Attribute Set"; + uses MPLS-TE-ATTRIBUTE-SET-AUTO-MESH; + } + container attribute-set-xro { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-xro'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetXRO'"; + } + description + "Attribute Set XRO"; + uses MPLS-TE-ATTRIBUTE-SET-XRO; + } + container attribute-set-p2mpte { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-p2mpte'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetP2MPTE'"; + } + description + "MPLS TE P2MP-TE Attribute Set"; + uses MPLS-TE-ATTRIBUTE-SET-P2MP-TE; + } + container attribute-set-aps-pp { + when "../tunnel-attribute-set-type = 'tunnel-attribute-aps-pp'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeAPS_PP'"; + } + description + "Attribute Set OTN APS Path Protection"; + uses MPLS-TE-ATTRIBUTE-SET-APS-PP; + } + container attribute-set-p2p-te { + when "../tunnel-attribute-set-type = 'tunnel-attribute-set-p2p-te'" { + description + "../TunnelAttributeSetType = + 'TunnelAttributeSetP2P_TE'"; + } + description + "MPLS TE P2P-TE Attribute Set"; + uses MPLS-TE-ATTRIBUTE-SET-P2P-TE; + } + leaf tunnel-attribute-set-type { + type Tunnel-attribute-set; + description + "TunnelAttributeSetType"; + } + } + + grouping MPLS-TE-ATTRIBUTE-SET { + description + "TE Attribute Set"; + container attribute-set-union { + description + "Union of Attribute Sets"; + uses MPLS-TE-ATTRIBUTE-SET-UNION; + } + leaf tunnel-attribute-set-name { + type string; + description + "Attribute Set Name"; + } + leaf tunnel-attribute-set-name-crc32 { + type uint32; + description + "Attribute Set name CRC32 value"; + } + } + + grouping MPLS-TE-P2MP-PATH-OPTION { + description + "P2MP path-option"; + container attribute-set { + description + "The path option attribute set used by this path"; + uses MPLS-TE-ATTRIBUTE-SET; + } + container xro-attribute-set { + description + "The XRO attribute set used by this path-option"; + uses MPLS-TE-ATTRIBUTE-SET; + } + leaf option-index-is-valid { + type boolean; + description + "The path option index is valid"; + } + leaf option-index { + type uint32; + description + "Path option index"; + } + leaf path-option-name { + type string; + description + "Path option name"; + } + leaf path-option-type { + type Mpls-te-pathoption; + description + "Path option type"; + } + leaf explicit-path-name { + type string; + description + "Explicit Path Name, this is the key to table + ExplicitPaths.NameTable"; + } + leaf explicit-path-id { + type uint16; + description + "Explicit Path ID, this is the key to table + ExplicitPaths.IdentifierTable"; + } + leaf holddown-duration { + type uint16; + units "second"; + description + "Holddown Duration (seconds)"; + } + leaf pce-address { + type inet:ipv4-address; + description + "PCE server address"; + } + leaf path-option-area-id { + type string; + description + "The path-option area constraint"; + } + leaf is-strict-explicit-path { + type boolean; + description + "TRUE if explicit path is strict"; + } + leaf is-helddown { + type boolean; + description + "TRUE if path is helddown"; + } + leaf is-lockdown { + type boolean; + description + "TRUE if the path is locked down"; + } + leaf is-verbatim { + type boolean; + description + "TRUE if the path is verbatim"; + } + leaf is-disabled { + type boolean; + description + "TRUE if the path option is disabled"; + } + leaf has-attribute-set { + type boolean; + description + "TRUE if the path has an attribute set defined"; + } + leaf attribute-set-found { + type boolean; + description + "TRUE if the path has found the defined attribute + set"; + } + leaf has-xro-attribute-set { + type boolean; + description + "TRUE if the path has an XRO attribute set + configured"; + } + leaf xro-attribute-set-found { + type boolean; + description + "TRUE if the path's XRO attribute set is known"; + } + leaf is-segment-routing { + type boolean; + description + "TRUE if the path is Segment-Routing"; + } + leaf protected-by-path-option-index { + type uint32; + description + "Path option index for Protect path options"; + } + leaf restored-from-path-option-index { + type uint32; + description + "Path option index for Restore path options"; + } + list path-calculation-error { + description + "Path computation information"; + uses MPLS-TE-P2MP-PCALC-ERROR; + } + list remerge-error { + description + "Path computation remerge resolve info"; + uses MPLS-TE-P2MP-PCALC-ERROR; + } + list signalling-error { + description + "Signalling information"; + uses MPLS-TE-P2MP-SIG-ERROR; + } + } + + grouping MPLS-TE-P2MP-S2L { + description + "A P2MP S2L"; + container s2l-fec { + description + "FEC for the S2L"; + uses TE-S2L-FEC; + } + container active-path-option { + description + "The path option used to find the path for this + S2L"; + uses MPLS-TE-P2MP-PATH-OPTION; + } + container out-xro { + description + "Outgoing XRO for this S2L"; + uses TE-XRO; + } + container in-xro { + description + "Incoming XRO for this S2L"; + uses TE-XRO; + } + container tspec { + description + "The T spec info"; + uses BANDWIDTH-SPEC-BAG; + } + container generic-tspec { + description + "Generic TSpec"; + uses TE-MGMT-GENERIC-TSPEC; + } + container fspec { + description + "The F spec info"; + uses BANDWIDTH-SPEC-BAG; + } + container generic-fspec { + description + "Generic FSpec"; + uses TE-MGMT-GENERIC-FSPEC; + } + container next-hop-address-generic { + description + "Next hop address"; + uses TE-ADDR; + } + container previous-hop-address-generic { + description + "Previous hop address"; + uses TE-ADDR; + } + container incoming-address-generic { + description + "Incoming interface address"; + uses TE-ADDR; + } + container s2l-convergence { + description + "TE LSP convergence related information"; + uses TE-LSP-CONVERGENCE-INFO; + } + container soft-preemption { + description + "The soft preemption info for this LSP."; + uses MPLS-TE-SOFT-PREEMPTION-LSP-INFO; + } + container gmpls-labels { + description + "GMPLS labels"; + uses MPLS-TE-MGMT-GMPLS-LABELS; + } + container otn-s2l { + description + "Otn S2L Information"; + uses MPLS-TE-OTN-S2L-INFO; + } + container head-end-bfd-info { + description + "The Head-end BFD info"; + uses MPLS-TE-HEAD-BFD-INFO; + } + container tail-end-bfd-info { + description + "The Tail-end BFD info"; + uses MPLS-TE-TAIL-BFD-INFO; + } + container srlg-collection { + description + "SRLG-collection data"; + uses TE-S2L-SRLG-COLLECT-INFO; + } + container association { + description + "Association Object"; + uses MPLS-TE-S2L-ASSOCIATION-OBJECT; + } + container protection { + description + "Protection Object"; + uses MPLS-TE-S2L-PROTECTION-OBJECT; + } + container reverse-lsp-fec { + description + "Reverse Associated Bidir LSP FEC"; + uses TE-LSP-FEC; + } + container reverse-tspec { + description + "The Reverse T spec info"; + uses BANDWIDTH-SPEC-BAG; + } + container flex-info { + description + "FlexLSP S2L Information"; + uses MPLS-TE-S2L-FLEX-INFO; + } + container lsp-wrap-info { + description + "Lsp Wrap Related information"; + uses TUNNEL-MIDPOINT-LSP-WRAP-INFO-BAG; + } + container diversity-info { + description + "S2L Diversity Information"; + uses MPLS-TE-S2L-DIVERSITY-INFO; + } + leaf pcalc-area { + type string; + description + "IGP-area in which the S2L path was calculated"; + } + leaf is-expanded-ero { + type boolean; + description + "TRUE if this LSR expanded a loose path"; + } + leaf path-reeval-query-mid { + type uint32; + description + "Loose path reevaluation query received at + mid-point"; + } + leaf time-since-last-query-received-mid { + type uint32; + description + "Time since last reevaluation query received at + mid-point"; + } + leaf time-since-last-preferred-path-exists-send-mid { + type uint32; + description + "Time since last preferred path exists msg send + from mid-point"; + } + leaf time-since-last-preferred-tree-exists-send-mid { + type uint32; + description + "Time since last preferred tree exists msg send + from mid-point"; + } + leaf expanded-ero-area-id { + type string; + description + "Indicates the protocol and area used to find + Outgoing ERO"; + } + leaf expanded-ero-affinity-bits { + type uint32; + description + "The Outgoing ERO's affinity bits (colors)"; + } + leaf expanded-ero-affinity-mask { + type uint32; + description + "The Outgoing ERO's affinity mask (colors)"; + } + leaf expanded-ero-metric-type { + type Mpls-te-metric; + description + "The Outgoing ERO's selection metric"; + } + leaf expanded-ero-metric { + type uint32; + description + "The metric value of the expanded path"; + } + leaf abr-auto-discovered { + type inet:ipv4-address; + description + "Next ABR auto discovered"; + } + leaf is-frr-enabled { + type boolean; + description + "FRR Enabled or Disabled"; + } + leaf is-node-protected { + type boolean; + description + "Node Protection Enabled or Disabled"; + } + leaf is-bandwidth-protect { + type boolean; + description + "BW Protection Enabled or Disabled"; + } + leaf path-rro-enabled { + type boolean; + description + "Path RRO Enabled or Disabled"; + } + leaf weight { + type uint64; + description + "The path's weight"; + } + leaf reverse-weight { + type uint64; + description + "The reverse path weight"; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the tunnel was up"; + } + leaf egress-interface { + type string; + description + "Egress Interface"; + } + leaf egress-interface-state { + type Te-controller-state; + description + "State of Outgoing Interface"; + } + leaf egress-interface-brief { + type string; + description + "Egress Interface in brief format"; + } + leaf ingress-interface { + type string; + description + "Ingress Interface"; + } + leaf ingress-interface-state { + type Te-controller-state; + description + "State of Incoming Interface"; + } + leaf ingress-interface-brief { + type string; + description + "Ingress Interface in brief format"; + } + leaf s2l-local-label { + type uint32; + description + "Local label"; + } + leaf s2l-out-label { + type uint32; + description + "Outgoing label"; + } + leaf outbound-frr-state { + type Mpls-te-frr-state; + description + "Indicates outbound FRR state"; + } + leaf frr-out-tunnel-interface { + type string; + description + "FRR out tunnel intface"; + } + leaf role { + type Mpls-te-tunnel-role; + description + "Role of S2L"; + } + leaf signalling-status { + type Mpls-te-tunnels-signaling-status; + description + "Signaling status"; + } + leaf local-router-id { + type inet:ipv4-address; + description + "Local router id"; + } + leaf upstream-router-id { + type inet:ipv4-address; + description + "Upstream router id"; + } + leaf downstream-router-id { + type inet:ipv4-address; + description + "Downstream router id"; + } + leaf next-hop-address { + type inet:ipv4-address; + description + "Next hop address"; + } + leaf previous-hop-address { + type inet:ipv4-address; + description + "Previous hop address"; + } + leaf incoming-address { + type inet:ipv4-address; + description + "Incoming interface address"; + } + leaf backup-tunnel-interface { + type xr:Interface-name; + description + "Interface handle of the backup tunnel"; + } + leaf node-hop-count { + type uint8; + description + "Hop count"; + } + leaf is-optical { + type boolean; + description + "Is Optical"; + } + leaf s2l-reverse-ero-obj-present { + type boolean; + description + " S2l Reverse ERO Object Present"; + } + leaf reverse-lsp-present { + type boolean; + description + "Reverse Associated Bidir LSP Present"; + } + leaf reverse-lsp-connected { + type boolean; + description + "Reverse Associated Bidir LSP Connected"; + } + leaf reverse-lsp-name { + type string; + description + "Reverse Associated Bidir LSP Name"; + } + leaf s2l-reverse-tspec-obj-present { + type boolean; + description + " S2L Reverse TSpec Object Present"; + } + leaf path-using-strict-spf { + type boolean; + description + "Path is using Strict SPF"; + } + list s2l-reverse-lsp-sub-obj { + description + "Reverse LSP Sub Objects"; + leaf entry { + type uint8; + } + } + list shared-risk-link-group { + description + "The S2L's excluded srlg groups"; + uses MPLS-SRLG-INFO; + } + list out-ero { + description + "Outgoing ERO for this S2L"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list in-ero { + description + "Incoming ERO for this S2L"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list path-rro { + description + "Path RRO for this S2L"; + uses RSVP-MGMT-RRO-SUBOBJ; + } + list resv-rro { + description + "Resv RRO for this S2L"; + uses RSVP-MGMT-RRO-SUBOBJ; + } + list path-affinity-array { + description + "Tunnel's Path hops with affinity"; + uses TUNNEL-HOP-INFO; + } + list reverse-ero-in { + description + " Reverse Incoming ERO for this S2L"; + uses RSVP-MGMT-ERO-SUBOBJ; + } + list s2l-segment-routing-path { + description + "Segment-Routing S2L path info"; + uses TE-S2L-SR-PATH-HOP; + } + } + + grouping MPLS-TE-P2MP-LSP { + description + "A P2MP LSP"; + container lsp-fec { + description + "FEC for the LSP"; + uses TE-LSP-FEC; + } + leaf signaled-name { + type string; + description + "Signaled Name"; + } + leaf is-frr-failed { + type boolean; + description + "P2MP LSP has FRR Failed"; + } + leaf frr-active-reason { + type uint32; + description + "P2MP LSP FRR active reason"; + } + leaf lsp-bandwidth { + type uint32; + description + "P2MP LSP Bandwidth"; + } + leaf lsp-setup-priority { + type uint8; + description + "LSP setup priority"; + } + leaf lsp-hold-priority { + type uint8; + description + "LSP hold priority"; + } + leaf lsp-bandwidth-type { + type Mpls-te-bw-pool; + description + "The LSP bandwidth type"; + } + leaf dste-class-match { + type boolean; + description + "Do the class type and priority match a DSTE + class"; + } + leaf dste-class-index { + type uint8; + description + "Matching DSTE class index"; + } + leaf type { + type Mpls-te-lsp; + description + "The type of this LSP"; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the tunnel was up"; + } + leaf s2-ls-up { + type uint32; + description + "Number of connected S2Ls"; + } + leaf s2-ls-proceeding { + type uint32; + description + "Number of proceeding S2Ls"; + } + leaf s2-ls-down { + type uint32; + description + "Number of down S2Ls"; + } + leaf reoptimize-reason { + type Mpls-te-reopt-decision-reason; + description + "Reason for re-optimization"; + } + leaf reoptimize-trigger { + type Mte-reopt-trigger; + description + "Re-optimize trigger"; + } + leaf timer-left { + type uint32; + units "second"; + description + "Time in seconds left to take next action if any"; + } + leaf is-passive { + type boolean; + description + "True for passive tunnel"; + } + leaf is-interface { + type boolean; + description + "True for tunnel head"; + } + leaf last-path-change { + type uint32; + units "second"; + description + "Time in seconds since the last path change"; + } + leaf persistent-bytes { + type uint64; + units "byte"; + description + "Persistent forwarding statistics for number of + bytes. Clear counters will not reset the counter"; + } + leaf persistent-packets { + type uint64; + description + "Persistent forwarding statistics for Number of + packets. Clear counters will not reset the + counter"; + } + list s2l { + description + "array of S2L structures"; + uses MPLS-TE-P2MP-S2L; + } + } + + grouping MPLS-TE-P2MP-S2L-BRIEF { + description + "A P2MP S2L"; + container s2l-fec { + description + "FEC for the S2L"; + uses TE-S2L-FEC; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the S2L was up"; + } + leaf egress-interface { + type string; + description + "Egress Interface"; + } + leaf ingress-interface { + type string; + description + "Ingress Interface"; + } + leaf role { + type Mpls-te-tunnel-role; + description + "Role of S2L"; + } + leaf oper-state { + type boolean; + description + "Oper state of S2L"; + } + } + + grouping MPLS-TE-P2MP-LSP-BRIEF { + description + "A P2MP LSP"; + container lsp-fec { + description + "FEC for the LSP"; + uses TE-LSP-FEC; + } + leaf signaled-name { + type string; + description + "Signaled Name"; + } + leaf uptime { + type uint32; + units "second"; + description + "Time in seconds since the LSP was up"; + } + list s2l { + description + "array of S2L structures"; + uses MPLS-TE-P2MP-S2L-BRIEF; + } + } + + grouping TE-HW-OOR-STATS { + description + "HW OOR statistics"; + leaf hw-oor-state { + type Hw-oor-state; + description + "The HW-OOR state that these statistics belong to"; + } + leaf transitions { + type uint32; + description + "Number of transitions to this state"; + } + leaf node-protection-disable-number { + type uint32; + description + "Number of times this OOR state disabled node + protection assignment"; + } + leaf rejected-ls-ps-number { + type uint32; + description + "Number of LSPs that were rejected in this state"; + } + leaf accepted-ls-ps-number { + type uint32; + description + "Number of LSPs that were accepted in this state"; + } + leaf accepted-reopt-ls-ps-number { + type uint32; + description + "Number of Reoptimize LSPs that were accepted in + this state"; + } + leaf rejected-reopt-ls-ps-number { + type uint32; + description + "Number of Reoptimize LSPs that were rejected in + this state"; + } + } + + grouping TE-HW-OOR-STATE-INFO { + description + "HW OOR State Information"; + container statistics { + description + "NPU HW OOR Statistics per state"; + uses TE-HW-OOR-STATS; + } + leaf hw-oor-state { + type Hw-oor-state; + description + "The HW-OOR state that this information belong to"; + } + leaf te-metric-penalty { + type uint32; + description + "The TE metric penalty when the link is in this + NPU HW OOR state"; + } + leaf available-bw-percentage { + type uint32; + units "percentage"; + description + "The flooded percentage of available bandwidth + advertized when the link is in this NPU HW OOR + state"; + } + leaf node-protection-disable { + type boolean; + description + "Disable FRR node protection when the link is in + this NPU HW OOR state"; + } + leaf transition-duration { + type uint32; + units "minute"; + description + "Recovery in minutes after the green OOR state is + entered."; + } + leaf minimum-lsp-bandwidth { + type uint32; + description + "Minimum LSP bandwidth so the LSP is admitted + when the link is in this NPU HW OOR state"; + } + leaf accept-reopt { + type boolean; + description + "Make-before-break is allowed for LSPs + reoptimizing over the same link in the NPU HW + OOR state"; + } + } + + grouping TE-HW-OOR-INFO { + description + "NPU HW OOR parameters for MPLS-TE"; + list hardware-out-of-resources-state { + max-elements "3"; + description + "Array of NPU HW OOR info per state"; + uses TE-HW-OOR-STATE-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub6.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub6.yang new file mode 100644 index 0000000..69588ad --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub6.yang @@ -0,0 +1,3013 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub6 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Te-affinity-table { + type enumeration { + enum "affinity-table-mapping" { + value 0; + description + "Mapping affinity table"; + } + enum "affinity-table-forward-reference" { + value 1; + description + "Forward reference affinity table"; + } + enum "affinity-table-count" { + value 2; + description + "Number of affinity tables"; + } + } + description + "Affinity Table IDs"; + } + + typedef Te-serv-tun-client { + type enumeration { + enum "te-serv-auto-tun-client-invalid" { + description + "te serv auto tun client invalid"; + } + enum "te-serv-p2mp-tun-client-mvpn" { + description + "te serv p2mp tun client mvpn"; + } + enum "te-serv-p2mp-tun-client-vpls" { + description + "te serv p2mp tun client vpls"; + } + enum "te-serv-p2mp-tun-client-mvpn6" { + description + "te serv p2mp tun client mvpn6"; + } + enum "te-serv-p2p-tun-client-bgp" { + description + "te serv p2p tun client bgp"; + } + enum "te-serv-p2p-tun-client-staticv4" { + description + "te serv p2p tun client staticv4"; + } + enum "te-serv-p2p-tun-client-staticv6" { + description + "te serv p2p tun client staticv6"; + } + enum "te-serv-p2p-tun-client-isis" { + description + "te serv p2p tun client isis"; + } + enum "te-serv-p2p-tun-client-ospf" { + description + "te serv p2p tun client ospf"; + } + enum "te-serv-auto-tun-client-count" { + description + "te serv auto tun client count"; + } + } + description + "Te serv tun client"; + } + + typedef Igpte-aa-metric-mode { + type enumeration { + enum "metric-mode-none" { + description + "No metric type specified"; + } + enum "relative" { + description + "Relative metric"; + } + enum "absolute" { + description + "Absolute metric"; + } + enum "constant" { + description + "Constant metric"; + } + } + description + "Autoroute-announce metric type"; + } + + typedef Te-odu-capability { + type enumeration { + enum "not-set" { + description + "Odu capability Type Not Set"; + } + enum "fixed" { + description + "Fixed ODUs"; + } + enum "flex" { + description + "Flex ODUs"; + } + } + description + "Te ODU Capability Types"; + } + + typedef Rrr-dste-migration-mode { + type enumeration { + enum "rrr-dste-mode-none" { + value 0; + description + "No DSTE mode set"; + } + enum "rrr-dste-mode-prestandard" { + value 1; + description + "Pre-standard DSTE"; + } + enum "rrr-dste-mode-standard" { + value 3; + description + "IETF-standard DSTE"; + } + } + description + "DS-TE migration mode"; + } + + typedef Igpte-lib-bw-model { + type enumeration { + enum "rdm" { + value 0; + description + "Russian Dolls Model"; + } + enum "mam" { + value 1; + description + "Maximum Allocation Model"; + } + enum "not-set" { + value 2; + description + "No model set"; + } + } + description + "Bandwidth model"; + } + + typedef Igp-subnet { + type enumeration { + enum "igp-subnet-type-none" { + description + "No subnet type specified"; + } + enum "p2p" { + description + "Point-to-point subnet"; + } + enum "broadcast" { + description + "Broadcast subnet"; + } + enum "non-broadcast-multiaccess" { + description + "Non-broadcast multi-access subnet"; + } + enum "p2mp" { + description + "Point-to-multipoint subnet"; + } + enum "loopback" { + description + "Loopback subnet"; + } + } + description + "Subnet type"; + } + + typedef Igp-ospf-area-format { + type enumeration { + enum "igp-area-format-number" { + description + "Numbered area format"; + } + enum "igp-area-format-ip-addr" { + description + "IP address area format"; + } + } + description + "OSPF area format"; + } + + typedef Igp-protocol { + type enumeration { + enum "none" { + description + "No IGP protocol specified"; + } + enum "isis" { + description + "IS IS"; + } + enum "ospf" { + description + "OSPF"; + } + } + description + "IGP type"; + } + + typedef Mpls-te-uni { + type enumeration { + enum "none" { + description + "Uni-Type none"; + } + enum "xc" { + description + "Uni-Type type XC"; + } + enum "term" { + description + "Uni-Type Termination"; + } + } + description + "Uni-Type type"; + } + + typedef Mpls-te-termination { + type enumeration { + enum "none" { + description + "Local termination none"; + } + enum "ether" { + description + "Local termination type Ether"; + } + } + description + "Termination type"; + } + + typedef Te-meshgroup { + type enumeration { + enum "meshgroup-type-automesh" { + value 0; + description + "automesh type of Meshgroup"; + } + enum "meshgroup-type-onehop" { + value 1; + description + "onehop type of Meshgroup"; + } + } + description + "Te meshgroup"; + } + + typedef Auto-backup-srlg-mode { + type enumeration { + enum "srlg-not-set" { + description + "Autobackup SRLG type not set"; + } + enum "srlg-strict" { + description + "Autobackup SRLG Strict"; + } + enum "srlg-preferred" { + description + "Autobackup SRLG Preferred"; + } + enum "srlg-weighted" { + description + "Autobackup Weighted SRLG"; + } + } + description + "Auto backup srlg mode"; + } + + typedef Auto-backup-protection { + type enumeration { + enum "protection-none" { + description + "No Autobackup Protection"; + } + enum "protection-next-hop" { + description + "NHOP Autobackup Protection"; + } + enum "protection-next-next-hop" { + description + "NNHOP Autobackup Protection"; + } + } + description + "Auto backup protection"; + } + + typedef Te-p2mp-s2l-deletion-subcause { + type enumeration { + enum "no-subcause" { + description + "No subcause recorded"; + } + enum "cleanup-req" { + description + "Normal cleanup requested"; + } + enum "invalid-data" { + description + "Invalid Data passed"; + } + enum "fsm-inv-ctxt" { + description + "Invalid FSM context passed in"; + } + enum "fsm-inv-ctxt-data" { + description + "Invalid data passed in FSM context"; + } + enum "fsm-inv-role" { + description + "Failed due to Invalid Role"; + } + enum "ll-failure" { + description + "Local Label get failed"; + } + enum "ll-rel-fail" { + description + "Local Label release failed"; + } + enum "ll-mismatch" { + description + "Local label mismatch detected"; + } + enum "ll-invalid" { + description + "Local label invalid"; + } + enum "ll-set-failure" { + description + "Local Label set failed"; + } + enum "bad-out-label" { + description + "Bad label received from neighbor"; + } + enum "sl-err" { + description + "Failed to process suggested label received from + neighbor"; + } + enum "rl-mismatch" { + description + "Incorrect recovery label received from neighbor"; + } + enum "sl-alloc-err" { + description + "Failed to allocate suggested/ acceptable label"; + } + enum "upstream-downstream-label-mismatch" { + description + "Upstream label does not match downstream label"; + } + enum "upstream-label-failure" { + description + "Upstream Label get failed"; + } + enum "upstream-label-rel-fail" { + description + "Upstream Label release failed"; + } + enum "upstream-label-mismatch" { + description + "Upstream label mismatch detected"; + } + enum "upstream-label-invalid" { + description + "Upstream label invalid"; + } + enum "bad-upstream-label" { + description + "Bad Upstream label"; + } + enum "ul-set-failure" { + description + "Upstream Label set failed"; + } + enum "gmpls-label-alloc-err" { + description + "Failed to allocate GMPLS Label"; + } + enum "gmpls-label-clone-err" { + description + "Failed to clone GMPLS Label"; + } + enum "rw-err" { + description + "Unable to perform RW operation"; + } + enum "up-rw-err" { + description + "Unable to perform upstream RW operation"; + } + enum "path-admit" { + description + "Path admission failure"; + } + enum "bw" { + description + "BW allocation failure"; + } + enum "admit-resv" { + description + "Reservation admission failure"; + } + enum "rrrm-err" { + description + "Resource Reservation removal error"; + } + enum "hardware-out-of-resources" { + description + "NPU HW-OOR"; + } + enum "comp-rid" { + description + "Failure to compute RID"; + } + enum "comp-lcl-rid" { + description + "Failure to compute local RID"; + } + enum "comp-up-rid" { + description + "Failure to compute upstream RID"; + } + enum "comp-down-rid" { + description + "Failure to compute downstream RID"; + } + enum "rest-if-hop" { + description + "Failure to reset IF or HOP"; + } + enum "inv-in-if" { + description + "Invalid Ingress IF"; + } + enum "nh-err" { + description + "Outgoing IF or Next Hop failure"; + } + enum "inv-in-ero" { + description + "Invalid incoming ERO"; + } + enum "out-ero-fail" { + description + "Outcoming ERO failure"; + } + enum "frr-bk-asssign" { + description + "Frr backup assignment failure"; + } + enum "frr-bk-rm" { + description + "Frr backup removal failure"; + } + enum "frr-bk-send" { + description + "Frr backup send to RSVP failed"; + } + enum "frr-needs-del" { + description + "FRR deletion required"; + } + enum "frr-reopt-lsp" { + description + "FRR not allowed on reopt LSP"; + } + enum "rsvp-api-h" { + description + "RSVP API Handler Failure"; + } + enum "insane-path" { + description + "Invalid Path message"; + } + enum "remerge-chk-fail" { + description + "Failed in finding remerge"; + } + enum "remerge-detected" { + description + "Remerge detected"; + } + enum "xro" { + description + "XRO processing failed"; + } + enum "resv-bw-set" { + description + "Failed to set Resv Bandwidth"; + } + enum "resv-prep-fail" { + description + "Failed to prepare out Resv"; + } + enum "path-ch-proc" { + description + "Failure in path change Processing"; + } + enum "path-ch-frr" { + description + "Failure in path change for FRR"; + } + enum "path-ch-sess-attri-fl" { + description + "Failure in path change for session attribute + flags"; + } + enum "path-ch-bw-ch" { + description + "Failure in path change: Bandwidth change not + allowed"; + } + enum "path-err-proc" { + description + "Failure in path Error Processing"; + } + enum "path-err" { + description + "Path Error Rcvd"; + } + enum "path-err-wpsr" { + description + "Path Error with PSR flag Rcvd"; + } + enum "path-del" { + description + "Path Delete request"; + } + enum "resv-ch-proc" { + description + "Failure in Resv change processing"; + } + enum "resv-ch-rro" { + description + "Failure in Resv change RRO"; + } + enum "resv-del" { + description + "Resv Delete processing"; + } + enum "resv-err" { + description + "Resv Error processing"; + } + enum "perr-send-fail" { + description + "Failed to send Path Error"; + } + enum "perr-proc-fail" { + description + "Failed to process Path Error"; + } + enum "perr-rcv" { + description + "Received Path Error"; + } + enum "resv-err-rcv" { + description + "Received Resv Error"; + } + enum "flowspec" { + description + "Flowspec failure"; + } + enum "setup-conn-api-fail" { + description + "S2L State set API failed"; + } + enum "path-not-replayed" { + description + "RSVP did not replay the path"; + } + enum "resv-not-replayed" { + description + "RSVP did not replay the resv"; + } + enum "rewrite-not-replayed" { + description + "LMRIB did not replay rewrite"; + } + enum "label-not-replayed" { + description + "RW mgr did not replay rewrite"; + } + enum "connection-not-ready" { + description + "TE connection is not ready with LSD/LMRIB/RSVP"; + } + enum "master-did-not-replay" { + description + "The master TE did not replay this S2L"; + } + enum "head-s2l-has-no-vif" { + description + "S2L head has no associated tunnel VIF"; + } + enum "frr-assigned-s2l-has-no-backup" { + description + "FRR-assigned S2L has no backup"; + } + enum "frr-assigned-s2l-has-down-backup" { + description + "FRR-assigned S2L has down backup"; + } + enum "out-link-down-and-no-frr" { + description + "Outgoing link is down and there is no FRR"; + } + enum "collaborator-timeout-rsvp" { + description + "RSVP connection timed out"; + } + enum "collaborator-timeout-lsd" { + description + "LSD connection timed out"; + } + enum "collaborator-timeout-lmrib" { + description + "LMRIB connection time dout"; + } + enum "collaborator-timeout-im" { + description + "IM connection timed out"; + } + enum "collaborator-timeout-error" { + description + "Error in processing connection timeout"; + } + enum "topo-flush" { + description + "Topology Failure"; + } + enum "area-shut" { + description + "IGP Area Shutdown"; + } + enum "active-po-del" { + description + "active pathoption deleted"; + } + enum "path-verify-failed" { + description + "Path verification failed"; + } + enum "srlg-path-verify-failed" { + description + "Srlg Path verification failed"; + } + enum "affinity-path-verify-failed" { + description + "Affinity Path verification failed"; + } + enum "aff-fail-delayed-tear-timeout-failed" { + description + "Affinity Failure Delayed Tear timeout failed"; + } + enum "cost-limit-verify-failed" { + description + "Cost Limit verification failed"; + } + enum "path-setup-timeout" { + description + "Path Setup Timed out"; + } + enum "vif-destroyed" { + description + "tunnel IF destroyed"; + } + enum "vif-shut" { + description + "tunnel IF shutdown"; + } + enum "lsp-shut" { + description + "LSP shutdown"; + } + enum "gmpls-uni-head" { + description + "link configured to run as GMPLS-UNI head"; + } + enum "head-resetup" { + description + "tunnel is to be resetup"; + } + enum "none-head-resetup" { + description + "mid or tail tunnel is to be resetup"; + } + enum "dest-disabled" { + description + "Destination disabled"; + } + enum "iep-ch-act-po" { + description + "Explicit Path changed for inuse path-option"; + } + enum "iep-ch-reopt" { + description + "Reopt LSP affected by Explicit Path change"; + } + enum "iep-ch-standby" { + description + "Standby LSP affected by Explicit Path change"; + } + enum "dste-mode-ch" { + description + "DSTE mode change"; + } + enum "reopt-del-frr-act" { + description + "Deleting reopt LSP on FRR active"; + } + enum "new-reopt-tear-old" { + description + "New Reopt is in progress, tearing old reopt LSP"; + } + enum "reopt-failed-verify" { + description + "Reopt LSP failed verification"; + } + enum "reopt-failed-install" { + description + "Reopt LSP failed at install time"; + } + enum "reopt-failed-rw" { + description + "Rewrite failed for Reopt LSP"; + } + enum "reopt-failed-not-superset" { + description + "Reopt LSP has less number of destinations Up + than the current LSP."; + } + enum "dclean-at-install-time" { + description + "Tear delayed clean LSP at install time"; + } + enum "dclean-at-clean-timer" { + description + "Tear delayed clean LSP at cleanup timer expiry"; + } + enum "dclean-at-reopt-active" { + description + "Tear delayed clean LSP at Reopt Activation"; + } + enum "lcl-notif-head" { + description + "Local Link Failure"; + } + enum "in-if-fail" { + description + "Failure of ingress IF"; + } + enum "out-if-fail" { + description + "Failure of egress IF"; + } + enum "if-fail-lc-oir" { + description + "Failure of IF on LC OIR"; + } + enum "te-rid-rm" { + description + "TE RID removed"; + } + enum "te-rsvp-oos-bkup" { + description + "TE and RSVP are OOS for backup assignment"; + } + enum "in-if-fail-exp-null-cfg-ch" { + description + "Explicit null config changed"; + } + enum "new-curr-lsp-sig" { + description + "Signaling new current LSP, cleanup old LSP"; + } + enum "new-reopt-lsp-sig" { + description + "Signaling new reopt LSP, cleanup old LSP"; + } + enum "new-stdby-lsp-sig" { + description + "Signaling new standby LSP, cleanup old LSP"; + } + enum "new-restore-lsp-sig" { + description + "Signaling new restore LSP, cleanup old LSP"; + } + enum "new-cl-pp-lsp-sig" { + description + "Signaling new clean path-protect LSP, cleanup + old LSP"; + } + enum "chkpt-recovery-failed" { + description + "Failed to recover LSP from check-point"; + } + enum "stdby-cr-failed" { + description + "Failed to create standby LSP"; + } + enum "reopt-lsp-rej" { + description + "Reopt LSP is rejected"; + } + enum "reopt-po-sw-failed" { + description + "Reopt Path-option switchover failed"; + } + enum "failed-to-find-path" { + description + "Failed to find a Path"; + } + enum "sig-rcv-fail-path-cr-ch" { + description + "Signaling API failed to proc Path change or + create"; + } + enum "lsp-db-shut" { + description + "LSP database shutdown"; + } + enum "reopt-hold-start" { + description + "Starting holddown for Reopt LSP"; + } + enum "vif-lspid-mismatch" { + description + "VIF has no LSP with this ID"; + } + enum "s2l-has-no-vif" { + description + "Headend S2L with no associated VIF"; + } + enum "overload-reopt-timeout" { + description + "Reoptimization timeout with OL-bit set at + midpoint"; + } + enum "hop-limit-exceeded" { + description + "Hop Limit Exceeded"; + } + enum "lingering-current-lsp" { + description + "Cleanup lingering current LSP"; + } + enum "lingering-standby-lsp" { + description + "Cleanup lingering standby LSP"; + } + enum "lingering-restore-lsp" { + description + "Cleanup lingering restore LSP"; + } + enum "double-lockout" { + description + "Double lock out on the tunnel"; + } + enum "lockout-no-protection" { + description + "Lock out on the tunnel with no protection + available"; + } + enum "lockout-cleanup" { + description + "Lock out on reopt or delayed clean lsp"; + } + enum "te-ppsw-lsp-mismatch" { + description + "LSP id of the current mismatched with the PP + LSP id in standby"; + } + enum "te-stdbyup-no-curr-lsp" { + description + "Standby LSP up but current LSP not found"; + } + enum "stdby-failed-rw" { + description + "Rewrite failed for Standby LSP"; + } + enum "reopt-lsp-tear-ppsw" { + description + "Reopt LSP teardown because of path protection + switchover"; + } + enum "delay-pp-lsp-tear-ppsw" { + description + "Delay PP LSP teardown on rew results of path + protection switchover"; + } + enum "stdby-failed-verify" { + description + "Stdby LSP failed verification"; + } + enum "stdby-not-needed-due-to-restore" { + description + "Stdby is not needed since the restore LSP is + installed"; + } + enum "restore-failed-verify" { + description + "Restore LSP failed verification"; + } + enum "restore-failed-install" { + description + "Restore LSP failed at install time"; + } + enum "restore-failed-rewrite" { + description + "Restore LSP failed at rewrite"; + } + enum "te-ppsw-cfg-rmvd" { + description + "Path protection configuration remove under the + tunnel I/F"; + } + enum "te-ppsw-manual-ppsw" { + description + "Manual Path protection switchover"; + } + enum "te-ppsw-bidir-p-chg-ppsw" { + description + "Bidirectional Path Change protection switchover"; + } + enum "te-ppsw-bidir-lockout-ppsw" { + description + "Flex LSP lockout metric protection switchover"; + } + enum "dclean-at-pp-clean-timer" { + description + "Tear delayed pp clean LSP at pp cleanup timer + expiry"; + } + enum "reopt-standby-failed" { + description + "Creating the reopt standby failed"; + } + enum "standby-reoptimized" { + description + "Tear down old standby LSP because standby + reoptimized"; + } + enum "standby-reoptimize-aborted" { + description + "Tear down new standby LSP because switchover is + underway"; + } + enum "te-reoptup-no-curr-lsp" { + description + "Reopt LSP up but current LSP not found"; + } + enum "te-reopt-curr-lsp-down" { + description + "destroying reopt as current LSP torn"; + } + enum "te-cleanedt-curr-lsp-down" { + description + "Destroying cleaned as current LSP torn"; + } + enum "te-delay-lsp-up" { + description + "Delay clean or pp clean LSP came up"; + } + enum "no-route-due-to-affinity" { + description + "No route, no RIB due to affinity"; + } + enum "no-rib-lkup-bad-ero-gmpls" { + description + "Skipping RIB Lookup, Bad GMPLS ERO"; + } + enum "cleanup-lingering" { + description + "Cleanup in lingering state"; + } + enum "te-s2l-del-sc-soft-preemption-timeout" { + description + "Soft preemption timed out"; + } + enum "te-s2l-del-sc-soft-preempted-non-current" { + description + "The head S2L was soft preempted while it is not + current"; + } + enum "te-s2l-del-sc-vif-sync-lsp-del" { + description + "The head S2L was deleted due to LSP deleted in + VIF Sync"; + } + enum "rsvp-api-cleanup-req" { + description + "RSVP API cleanup requested"; + } + enum "te-s2l-del-sc-frr-wrong-backup" { + description + "TE and RSVP FRR active on different backups"; + } + enum "te-s2l-del-sc-bfd-session-create-failed" { + description + "The BFD session create failed"; + } + enum "te-s2l-del-sc-bfd-session-bringup-timeout" { + description + "The BFD session failed to up before bringup + timer timeout"; + } + enum "te-s2l-del-sc-bfd-session-down" { + description + "The BFD session went down"; + } + enum "te-s2l-del-sc-bfd-session-not-replayed" { + description + "BFD did not replay the session"; + } + enum "te-s2l-del-sc-reopt-p2mp-egress-info-fail" { + description + "P2MP egress information programming failed for + reoptimized LSP"; + } + enum "non-curr-frr-lcl-notif-event" { + description + "FRR local notification event on non-current LSP"; + } + enum "unsupported-encoding" { + description + "The encoding type is not supported"; + } + enum "unsupported-gpid" { + description + "The GPID is not supported"; + } + enum "unsupported-switching-type" { + description + "The switching type is not supported"; + } + enum "upstream-label-change-not-permitted" { + description + "Upstream label change is not allowed"; + } + enum "encoding-type-change-not-permitted" { + description + "Encoding Type change is not allowed"; + } + enum "aps-protect-info-change-failed" { + description + "Failed to process APS Protect info change"; + } + enum "incorrect-lsp-type" { + description + "Incorrect or unsupported connection type"; + } + enum "local-hop-error" { + description + "Failed to compute local hop"; + } + enum "unsupported-gmpls-attributes" { + description + "Incorrect or unsupported GMPLS attributes"; + } + enum "gmpls-uni-reopt-triggered" { + description + "GMPLS-UNI reoptimization triggered from network"; + } + enum "maximum-acceptable-label-retries" { + description + "Maxed out acceptable upstream label retries"; + } + enum "invalid-direction" { + description + "Invalid direction for GMPLS LSP"; + } + enum "invalid-rewrite-context" { + description + "Invalid RW context in callback"; + } + enum "invalid-label-context" { + description + "Invalid Label context in callback"; + } + enum "dwdm-capability-changed" { + description + "DWDM Capability for TE link changed"; + } + enum "dwdm-capability-removed" { + description + "DWDM Capability for TE link removed"; + } + enum "dwdm-wavelength-removed" { + description + "DWDM wavelength channel attribute for TE link + removed"; + } + enum "gmpls-uni-multilayer-restoration" { + description + "GMPLS-UNI multilayer restoration"; + } + enum "gmpls-uni-user-triggered-reoptimization" { + description + "User-triggered GMPLS-UNI reoptimization"; + } + enum "gmpls-uni-active-path-change-triggered-reopt" { + description + "GMPLS-UNI reoptimization triggered by Active + Path change"; + } + enum "passive-match-err" { + description + "Failed in finding a matching passive vif"; + } + enum "egress-control-err" { + description + "Failed in egress control"; + } + enum "egress-control-map-err" { + description + "Could not resolve egress control"; + } + enum "restore-not-needed-for-current" { + description + "Restore not needed now for current LSP"; + } + enum "restore-not-needed-for-standby" { + description + "Restore not needed now for standby LSP"; + } + enum "restore-dp-down" { + description + "Restore down in data plane"; + } + enum "current-not-needed-dp-down" { + description + "Current not needed now as down in data plane"; + } + enum "bad-protct-obj" { + description + "Bad protection object"; + } + enum "head-flexi-cap-change" { + description + "Flexi-capability changed at Head node"; + } + enum "tail-flexi-cap-change" { + description + "Flexi-capability changed at Tail node"; + } + enum "optical-link-down" { + description + "TE optical link down"; + } + enum "optical-link-lsp-out-of-sync" { + description + "TE optical link and LSP out of sync"; + } + enum "optical-link-owner-out-of-sync" { + description + "TE optical link owner type out of sync"; + } + enum "optical-link-interface-handle-out-of-sync" { + description + "TE optical link interface handle out of sync"; + } + enum "optical-link-hop-out-of-sync" { + description + "TE optical link next/prev hop out of sync"; + } + enum "optical-link-role-out-of-sync" { + description + "TE optical link role out of sync"; + } + enum "optical-link-downstream-router-id-out-of-sync" { + description + "TE optical link downstream router-ID out of + sync"; + } + enum "optical-link-upstream-router-id-out-of-sync" { + description + "TE optical link upstream router-ID out of sync"; + } + enum "optical-link-encoding-type-out-of-sync" { + description + "TE optical link encoding type out of sync"; + } + enum "optical-link-switching-type-out-of-sync" { + description + "TE optical link switching type out of sync"; + } + enum "optical-link-gpid-out-of-sync" { + description + "TE optical link GPID out of sync"; + } + enum "egress-optical-link-not-found" { + description + "Egress optical TE link (head) not found"; + } + enum "ingress-optical-link-not-found" { + description + "Ingress optical TE link (tail) not found"; + } + enum "sync-dest-state" { + description + "Syncing of the destination state change"; + } + enum "prot-object-err" { + description + "Protection Object Error"; + } + enum "reverse-s2l-deleted" { + description + "Reverse Associated S2L Deleted"; + } + enum "cancel-inprogress-by-slave" { + description + "In-progress S2L cancelled by slave"; + } + enum "invalid-reverse-ero" { + description + "Bad Reverse ERO"; + } + enum "reverse-lsp-not-found" { + description + "Switchover Reverse LSP Not Found"; + } + enum "reverse-lsp-not-present" { + description + "Switchover Reverse LSP Not Present"; + } + enum "associated-vif-down" { + description + "Associated VIF moved to Down"; + } + enum "vif-sync-processing" { + description + "Tunnel interface sync processing caused + deletion"; + } + enum "incoming-interface-lockout" { + description + "Incoming interface locked out"; + } + enum "sr-egress-path-changed" { + description + "SR egress path changed on non-current S2L"; + } + enum "in-if-fail-imp-null-cfg-ch" { + description + "Implicit null config changed"; + } + enum "reverse-lsp-failure" { + description + "Reverse LSP Failure"; + } + enum "lsp-wrap-label-error" { + description + "LSP Wrap Label Error"; + } + enum "lsp-wrap-rewrite-error" { + description + "LSP Wrap Rewrite Error"; + } + enum "transit-lsp-out-of-resources" { + description + "LSP OOR"; + } + enum "fsm-sc-must-be-last" { + description + "Not used, must be last entry"; + } + } + description + "S2L deletion subcause"; + } + + typedef Te-p2mp-s2l-deletion-cause { + type enumeration { + enum "no-cause" { + description + "No cause recorded"; + } + enum "hpath-cr-err" { + description + "Head Path creation"; + } + enum "hpath-chg-setup" { + description + "Head Path change setup"; + } + enum "hpath-chg-up-err" { + description + "Head Path change while up"; + } + enum "hresv-cr-err" { + description + "Head RESV creation"; + } + enum "hresv-chg-err" { + description + "Head RESV change"; + } + enum "hresv-chg-err-up" { + description + "Head RESV change while up"; + } + enum "hlbl-avail-err" { + description + "Head Label available"; + } + enum "hup-lbl-avail-err" { + description + "Head upstream Label available"; + } + enum "hfrr-act-err" { + description + "Head FRR active"; + } + enum "hbkup-ch-err" { + description + "Head Backup change"; + } + enum "hpath-ch-frr-err" { + description + "Head Path change FRR"; + } + enum "hcleanup" { + description + "Head Cleanup handling"; + } + enum "hlingering-cleanup" { + description + "Head lingering cleanup"; + } + enum "hpat-err" { + description + "Head Path error"; + } + enum "hresv-err" { + description + "Head Resv error"; + } + enum "hresv-del" { + description + "Head Resv delete"; + } + enum "hrw-fail" { + description + "Head rewrite failure"; + } + enum "hup-rw-fail" { + description + "Head upstream rewrite failure"; + } + enum "ha-failure" { + description + "HA failure"; + } + enum "rw-del" { + description + "Rewrite Delete"; + } + enum "up-rw-del" { + description + "Upstream Rewrite Delete"; + } + enum "mpath-cr" { + description + "Mid path creation"; + } + enum "mpath-chg-setup-err" { + description + "Mid Path change setup"; + } + enum "mpath-chg-up-err" { + description + "Mid Path change while up"; + } + enum "mresv-cr-err" { + description + "Mid Resv creation"; + } + enum "mresv-chg-err" { + description + "Mid Resv change"; + } + enum "mresv-chg-err-up" { + description + "Mid Resv change while up"; + } + enum "mlbl-avail-err" { + description + "Mid: cannot get local label"; + } + enum "mlbl-rel-err" { + description + "Mid: cannot release local label"; + } + enum "mup-lbl-avail-err" { + description + "Mid: cannot get upstream label"; + } + enum "mup-lbl-rel-err" { + description + "Mid: cannot release upstream label"; + } + enum "mfrr-act-err" { + description + "Mid FRR active"; + } + enum "mbkup-ch-err" { + description + "Mid Backup change"; + } + enum "mpath-ch-frr-err" { + description + "Mid Path change FRR"; + } + enum "mresv-del" { + description + "Mid Resv Delete handling"; + } + enum "mresv-err" { + description + "Mid Resv Error handling"; + } + enum "mpreempt" { + description + "Mid Premption"; + } + enum "mcleanup" { + description + "Mid Cleanup handling"; + } + enum "mlingering-cleanup" { + description + "Mid lingering cleanup"; + } + enum "mrw-fail" { + description + "mid rewrite failure"; + } + enum "mup-rw-fail" { + description + "mid upstream rewrite failure"; + } + enum "tpath-cr-err" { + description + "Tail Path creation"; + } + enum "tpath-chg-err" { + description + "Tail Path change"; + } + enum "tresv-cr-err" { + description + "Tail RESV creation"; + } + enum "tlbl-avail-err" { + description + "Tail: cannot release local label"; + } + enum "tcleanup" { + description + "Tail Cleanup"; + } + enum "tlingering-cleanup" { + description + "Tail lingering cleanup"; + } + enum "lbl-err" { + description + "Local label related error"; + } + enum "qfailure" { + description + "FSM Queueing failure"; + } + enum "rsvp-recovery" { + description + "RSVP Recovery"; + } + enum "lsd-recovery" { + description + "LSD Recovery"; + } + enum "lmrib-recovery" { + description + "LMRIB Recovery"; + } + enum "te-restart" { + description + "TE Restart"; + } + enum "switchover" { + description + "Switchover"; + } + enum "master-te-recovery" { + description + "Master TE recovery"; + } + enum "optical-r-mgr-recovery" { + description + "Optical Resource Manager Recovery"; + } + enum "te-exit" { + description + "TE Exited"; + } + enum "bkup-assign-fail" { + description + "RSVP Backup Assign Failed"; + } + enum "bfd-fail" { + description + "BFD Session Failure"; + } + enum "bfd-recovery" { + description + "BFD Recovery"; + } + enum "lsp-wrap-act-err" { + description + "Mid LSP Wrap active"; + } + enum "lsp-wrap-rw-err" { + description + "Mid LSP Wrap Rewrite"; + } + enum "fsm-cause-must-be-last" { + description + "Not used, must be last entry"; + } + } + description + "S2L Deletion location"; + } + + typedef Te-pp-diversity { + type enumeration { + enum "diversity-none" { + description + "Standby LSP not diverse"; + } + enum "link" { + description + "Standby LSP link diverse"; + } + enum "node" { + description + "Standby LSP node diverse"; + } + enum "node-link" { + description + "Standby LSP node and link diverse"; + } + enum "srlg" { + description + "Standby SRLG diverse"; + } + enum "diversity-user" { + description + "Standby LSP using user defined explicit path"; + } + enum "diversity-reverse-ero" { + description + "Standby LSP using Reverse ERO"; + } + } + description + "Diversity of Protection or Restoration Path from + Protected Path"; + } + + typedef Te-srlg-collect-request { + type enumeration { + enum "none" { + description + "No SRLG-collection request"; + } + enum "mandatory" { + description + "Mandatory SRLG-collection request"; + } + enum "optional" { + description + "Optional SRLG-collection request"; + } + } + description + "SRLG-collection request machansim"; + } + + typedef Te-odu-level { + type enumeration { + enum "te-odu-level-not-set" { + value 0; + description + "Not set"; + } + enum "te-odu-level-one" { + value 1; + description + "ODU 1"; + } + enum "te-odu-level-two" { + value 2; + description + "ODU 2"; + } + enum "te-odu-level-three" { + value 3; + description + "ODU 3"; + } + enum "te-odu-level-four" { + value 4; + description + "ODU 4"; + } + enum "te-odu-zero" { + value 10; + description + "ODU 0"; + } + enum "te-odu-level-two-e" { + value 11; + description + "ODU 2E"; + } + enum "te-odu-level-flex-cbr" { + value 20; + description + "ODU Flex CBR"; + } + enum "te-odu-level-flex-gfpf-resizeable" { + value 21; + description + "ODU Flex GFP-F resizable"; + } + enum "te-odu-level-flex-gfpf-non-resizable" { + value 22; + description + "ODU Flex GFP-F non resizable"; + } + enum "te-odu-level-one-e" { + value 23; + description + "ODU 1E"; + } + enum "te-odu-level-one-f" { + value 24; + description + "ODU 1F"; + } + enum "te-odu-level-two-f" { + value 25; + description + "ODU 2F"; + } + enum "te-odu-level-three-e-one" { + value 26; + description + "ODU 3E1"; + } + enum "te-odu-level-three-e-two" { + value 27; + description + "ODU 3E2"; + } + enum "te-odu-level-c-two" { + value 38; + description + "ODU C2"; + } + enum "te-odu-level-c-three" { + value 39; + description + "ODU C3"; + } + enum "te-odu-level-c-four" { + value 40; + description + "ODU C4"; + } + } + description + "G.709 OTN ODU levels"; + } + + typedef Te-addr { + type enumeration { + enum "not-set" { + description + "Address not set"; + } + enum "ipv4" { + description + "IPv4"; + } + enum "ipv4-unnumbered" { + description + "IPv4 Unnumbered"; + } + } + description + "TE Address Types"; + } + + typedef Mpls-te-lsp-mode { + type enumeration { + enum "mpls-te-lsp-mode-not-set" { + description + "LSP mode not set"; + } + enum "mpls-te-lsp-mode-current" { + description + "Current LSP"; + } + enum "mpls-te-lsp-mode-reopt" { + description + "Reoptimized LSP"; + } + enum "mpls-te-lsp-mode-clean" { + description + "Cleaned LSP"; + } + enum "mpls-te-lsp-mode-standby" { + description + "Standby LSP"; + } + enum "mpls-te-lsp-mode-pp-clean" { + description + "Delay PP Clean LSP"; + } + enum "mpls-te-lsp-mode-restore" { + description + "Restore LSP"; + } + enum "mpls-te-lsp-mode-reopt-standby" { + description + "Reopt Standby LSP"; + } + } + description + "Mpls te lsp mode"; + } + + typedef Te-attribute-set-sr-prepend { + type enumeration { + enum "te-attribute-set-sr-prepend-not-set" { + value 0; + description + "Not set"; + } + enum "te-attribute-set-sr-prepend-next-label" { + value 1; + description + "Next label"; + } + enum "te-attribute-set-sr-prepend-bgp-nhop" { + value 2; + description + "BGP NHOP"; + } + } + description + "Attribute Set SR prepend type"; + } + + typedef Te-restoration-style { + type enumeration { + enum "restoration-style-not-set" { + value 0; + description + "TE Restoration Style Not Set"; + } + enum "restoration-style-keep-failed-lsp" { + value 1; + description + "TE Restoration Style is to Keep Failed Lsp"; + } + enum "restoration-style-delete-failed-lsp" { + value 2; + description + "TE Restoration Style is to Delete Failed Lsp"; + } + } + description + "PNR Options"; + } + + typedef Te-path-prot-profile { + type enumeration { + enum "path-prot-profile-type1-plus0" { + value 0; + description + "TE Path Option 1PLUS0"; + } + enum "path-prot-profile-type1-plus-r" { + value 1; + description + "TE Path Option 1PLUSR"; + } + enum "path-prot-profile-type1-plus1" { + value 16; + description + "TE Path Option 1PLUS1"; + } + enum "path-prot-profile-type1-plus1-plus-r" { + value 32; + description + "TE Path Option 1PLUS1PLUSR"; + } + enum "path-prot-profile-type-invalid" { + value 255; + description + "TE Path Option Invalid"; + } + } + description + "Path Protection Profile Type"; + } + + typedef Te-sch-freq { + type enumeration { + enum "sch-freq-not-set" { + value 0; + description + "Schedule reversion frequency not set"; + } + enum "sch-freq-set-once" { + value 1; + description + "Schedule reversion frequency set only once"; + } + enum "sch-freq-set-daily" { + value 2; + description + "Schedule reversion frequency set daily"; + } + enum "sch-freq-set-weekly" { + value 3; + description + "Schedule reversion frequency set weekly"; + } + } + description + "Te sch freq"; + } + + typedef Te-pnr-revert-options { + type enumeration { + enum "pnr-optionnot-set" { + value 0; + description + "TE Protection Restore Option Not Set"; + } + enum "pnr-option-revertive" { + value 1; + description + "TE Protection Restore Option Revertive"; + } + enum "pnr-option-non-revertive" { + value 2; + description + "TE Protection Restore Option Non-revertive"; + } + } + description + "PNR Options"; + } + + typedef Te-protect { + type enumeration { + enum "protect-type1-plus1-unidir-no-aps" { + value 4; + description + "Protection Type Uni-directional No APS"; + } + enum "protect-type1-plus1-unidir-aps" { + value 8; + description + "Protection Type Uni-directional APS"; + } + enum "protect-type1-plus1-bidir-aps" { + value 16; + description + "Protection Type Bi-directional APS"; + } + enum "protect-type-not-set" { + value 255; + description + "Protection Type Not Set"; + } + } + description + "Protection Types"; + } + + typedef Te-aps-snc-mode { + type enumeration { + enum "snc-mode-not-set" { + value 0; + description + "TE OTN Subnetwork Connection Mode Not Set"; + } + enum "snc-mode-n" { + value 1; + description + "TE OTN Subnetwork Connection Mode N"; + } + enum "snc-mode-i" { + value 2; + description + "TE OTN Subnetwork Connection Mode I"; + } + enum "snc-mode-s" { + value 3; + description + "TE OTN Subnetwork Connection Mode S"; + } + } + description + "APS ANC Modes"; + } + + typedef Te-xro-exclusion { + type enumeration { + enum "mandatory" { + value 0; + description + "Mandatory exclusion"; + } + enum "best-effort" { + value 1; + description + "Best-effort exclusion"; + } + } + description + "XRO exclusion type"; + } + + typedef Te-xro-attribute { + type enumeration { + enum "interface" { + value 0; + description + "Exclude the interface specified"; + } + enum "node" { + value 1; + description + "Exclude the node specified"; + } + enum "srl-gs" { + value 2; + description + "Exclude all SRLGs related to the data specified"; + } + } + description + "XRO exclusion type"; + } + + typedef Te-xro-subobj { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4 prefix"; + } + enum "ipv6" { + value 2; + description + "IPv6 prefix"; + } + enum "unnumbered" { + value 6; + description + "Unnumbered"; + } + enum "as" { + value 32; + description + "Autonomous System"; + } + enum "srlg" { + value 34; + description + "SRLG"; + } + enum "p2p-lsp" { + value 36; + description + "P2P LSP"; + } + } + description + "XRO sub-object type"; + } + + typedef Te-sig-name-append { + type enumeration { + enum "none" { + value 0; + description + "Option is Not Set for appending to + signalled-name"; + } + enum "address" { + value 1; + description + "Option is to append Address to signalled-name"; + } + enum "name" { + value 2; + description + "Option is to append Name to signalled-name"; + } + } + description + "Te sig name append"; + } + + typedef Mpls-te-lsp { + type enumeration { + enum "mpls-te-lsp-type-not-set" { + value 0; + description + "Tunnel type not set"; + } + enum "mpls-te-lsp-type-p2p" { + value 1; + description + "Point-to-point packet TE tunnel"; + } + enum "mpls-te-lsp-type-p2mp" { + value 2; + description + "Point-to-multipoint tunnel"; + } + enum "mpls-te-lsp-type-gmpls-ouni" { + value 3; + description + "Bidirectional GMPLS UNI tunnel"; + } + enum "mpls-te-lsp-type-gmpls-nni" { + value 4; + description + "Bidirectional GMPLS NNI tunnel"; + } + enum "mpls-te-lsp-type-p2p-bidir" { + value 5; + description + "Bidirectional packet point-to-point tunnel"; + } + enum "mpls-te-lsp-type-gmpls-tp" { + value 6; + description + "Bidirectional GMPLS TP tunnel"; + } + enum "mpls-te-lsp-type-gmpls-nni-otn" { + value 7; + description + "Bidirectional GMPLS OTN NNI tunnel"; + } + enum "mpls-te-lsp-type-segment-routing-p2p" { + value 8; + description + "Point-to-point segment-routing packet TE tunnel"; + } + } + description + "LSP Types"; + } + + typedef Mpls-te-tunnel-role { + type enumeration { + enum "tunnel-unknown" { + value 0; + description + "Undefined tunnel role"; + } + enum "tunnel-head" { + value 1; + description + "Tunnel role is head"; + } + enum "tunnel-mid" { + value 2; + description + "Tunnel role is midpoint"; + } + enum "tunnel-tail" { + value 3; + description + "Tunnel role is tail"; + } + } + description + "Mpls te tunnel role"; + } + + typedef Mpls-lib-c { + type enumeration { + enum "mpls-lib-c-type-null" { + value 0; + description + "NULL Ctype"; + } + enum "mpls-lib-c-type-ipv4" { + value 1; + description + "IPv4 UDP"; + } + enum "mpls-lib-c-type-ipv4-p2p-tunnel" { + value 7; + description + "IPv4 point-to-point TE tunnel"; + } + enum "mpls-lib-c-type-ipv6-p2p-tunnel" { + value 8; + description + "IPv6 point-to-point TE tunnel"; + } + enum "mpls-lib-c-type-ipv4-uni" { + value 9; + description + "IPv4 unicast"; + } + enum "mpls-lib-c-type-ipv4-p2mp-tunnel" { + value 13; + description + "IPv4 point-to-point TE tunnel"; + } + enum "mpls-lib-c-type-ipv6-p2mp-tunnel" { + value 14; + description + "IPv6 point-to-point TE tunnel"; + } + enum "mpls-lib-c-type-ipv4-tp-tunnel" { + value 15; + description + "IPv4 transport protocol tunnel"; + } + enum "mpls-lib-c-type-ipv6-tp-tunnel" { + value 16; + description + "IPv6 transport protocol tunnel"; + } + enum "mpls-lib-c-type-p2p-binding-label" { + value 17; + description + "P2P transport tunnel binding label"; + } + } + description + "Mpls lib c"; + } + + grouping MPLS-TE-AFFINITY-MAP-INFO { + description + "Affinity Map"; + leaf affinity-name { + type string; + description + "Affinity name"; + } + leaf affinity-value { + type uint32; + description + "Affinity value"; + } + leaf affinity-bit-position { + type uint8; + description + "Affinity bit position"; + } + leaf affinity-table-id { + type Te-affinity-table; + description + "Affinity table id"; + } + list affinity-extended-value { + description + "EAG value"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-LM-BFD-NBR-INFO { + description + "BFD Neighbor information"; + leaf neighbor-address { + type inet:ipv4-address; + description + "The neighbor's IP address"; + } + leaf is-bfd-up { + type boolean; + description + "TRUE if the BFD session is Up on this link"; + } + } + + grouping MPLS-LM-BFD-NBRS-LINK-INFO { + description + "BFD Neighbor information based on the link"; + list neighbor { + description + "Neighbors of the specified link id"; + uses MPLS-LM-BFD-NBR-INFO; + } + } + + grouping ODU-CAPABILITY-FLEX { + description + "odu capability for flex ODUs"; + leaf max-bandwidth { + type uint32; + units "kbit/s"; + description + "Max kbps Bandwidth of this level possible on + this link"; + } + leaf unreserved-bandwidth { + type uint32; + units "kbit/s"; + description + "Unreserved kbps Bandwidth of this level possible + on this link"; + } + leaf max-lsp-bandwidth { + type uint32; + units "kbit/s"; + description + "Per LSP Max kbps Bandwidth of this level + possible on this link"; + } + } + + grouping ODU-CAPABILITY-FIXED { + description + "odu capability for fixed ODUs "; + leaf maximum-od-us { + type uint8; + description + "Maximum Number of ODUs of this level possible on + this link"; + } + leaf unreserved-od-us { + type uint8; + description + "Maximum Number of ODUs of this level possible on + this link"; + } + } + + grouping ODU-CAP-BW { + description + "ODU capability Union for bandwidth"; + container fixed { + when "../type = 'fixed'" { + description + "../type = 'Fixed'"; + } + description + "ODU capability for Fixed ODUs"; + uses ODU-CAPABILITY-FIXED; + } + container flex { + when "../type = 'flex'" { + description + "../type = 'Flex'"; + } + description + "ODU capability for Flex ODUs"; + uses ODU-CAPABILITY-FLEX; + } + leaf type { + type Te-odu-capability; + description + "type"; + } + } + + grouping ODU-CAPABILITY { + description + "Odu capability at a level of multiplex tree for + an ODU type"; + container bandwidth-info { + description + "Bandwidth related info for this ODU level"; + uses ODU-CAP-BW; + } + leaf signal-type { + type Te-odu-level; + description + "Signal Type"; + } + leaf stage1 { + type Te-odu-level; + description + "ODU Type at stage 1, Not Set for HO ODU"; + } + leaf stage2 { + type Te-odu-level; + description + "ODU Type at stage 2, Not Set for single stage + mulitplexing"; + } + leaf stage3 { + type Te-odu-level; + description + "ODU Type at stage 3, Not set up to two levels of + multiplexing"; + } + leaf stage4 { + type Te-odu-level; + description + "ODU Type at stage 4, Not set up to three levels + of multiplexing"; + } + leaf terminable { + type boolean; + description + "True if link is terminable for this ODU level"; + } + leaf switchable { + type boolean; + description + "True if link is switchable for this ODU level"; + } + leaf tsg1p25 { + type boolean; + description + "True if link supports 1.25G TSG for this ODU + level"; + } + leaf tsg2p5 { + type boolean; + description + "True if link supports 2.5G TSG for this ODU + level"; + } + leaf vcat-capable { + type boolean; + description + "True if link VCAT capable for this ODU level"; + } + leaf lcas-capable { + type boolean; + description + "True if link LCAS capable for this ODU level"; + } + } + + grouping ODU-LINK-CAPABILITIES { + description + "Link ODU Capabilities"; + list max-lsp-bandwidth { + description + "Max LSP Bandwidth per priority in kbit/s"; + leaf entry { + type uint32; + } + } + list odu-capability { + description + "ODU Capabilities of Link"; + uses ODU-CAPABILITY; + } + } + + grouping MPLS-TE-BFD-LSP-COUNTERS { + description + "TE BFDOverLSP Counters"; + leaf session-create-events { + type uint32; + description + "The number of BFDOverLSP session create events"; + } + leaf session-up-events { + type uint32; + description + "The number of BFDOverLSP session up events"; + } + leaf session-creation-failed-events { + type uint32; + description + "The number of BFDOverLSP session creation failed + events"; + } + leaf session-down-events { + type uint32; + description + "The number of BFDOverLSP session down events"; + } + leaf session-admin-down-events { + type uint32; + description + "The number of BFDOverLSP session admin down + events"; + } + leaf session-gracefully-delete-events { + type uint32; + description + "The number of BFDOverLSP session gracefully + delete events"; + } + leaf session-non-gracefully-delete-events { + type uint32; + description + "The number of BFDOverLSP session non gracefully + delete events"; + } + leaf session-create-timeout-events { + type uint32; + description + "The number of BFDOverLSP session create timeout + events"; + } + leaf session-replay-events { + type uint32; + description + "The number of BFDOverLSP session replay events"; + } + } + + grouping MPLS-TE-TUNNEL-EGRESS-STATIC-UNI-INFO { + description + "Egress Static UNI Info"; + container egress-port { + description + "Egress Client Port of Tunnel"; + uses TE-ADDR; + } + container term-egress-port { + description + "Termination Egress Client Port of Tunnel"; + uses TE-ADDR; + } + leaf local-termination { + type Mpls-te-termination; + description + "Local Termination Type"; + } + leaf remote-uni-type { + type Mpls-te-uni; + description + "Remote uni type"; + } + } + + grouping TE-ADDR-TYPE-IPV4-UNNUM { + description + "TE IPv4 unnumbered address type"; + leaf router-id { + type inet:ipv4-address; + description + "IPv4 router ID"; + } + leaf interface-index { + type uint32; + description + "Interface index"; + } + } + + grouping ADDR { + description + "ADDR"; + container ipv4-unnumbered-address { + when "../type = 'ipv4-unnumbered'" { + description + "../Type = 'IPv4Unnumbered'"; + } + description + "IPv4 unnumbered address"; + uses TE-ADDR-TYPE-IPV4-UNNUM; + } + leaf type { + type Te-addr; + description + "Type"; + } + leaf ipv4-address { + when "../type = 'ipv4'" { + description + "../Type = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + } + + grouping TE-ADDR { + description + "TE address"; + container te-addr { + description + "TE Address"; + uses ADDR; + } + } + + grouping MPLS-SRLG-INFO { + description + "Information about the Shared Risk Link Group"; + leaf shared-risk-group { + type uint32; + description + "SRLG number"; + } + leaf srlg-name { + type string; + description + "SRLG name"; + } + } + + grouping TE-REVERT-SCH { + description + "Revert Schedule protection attribute set"; + leaf schedulename { + type string { + length "0..255"; + } + description + "Schedule name identifier"; + } + leaf schedule-date { + type uint32; + description + "Schedule time for reversion"; + } + leaf schedule-frequency { + type Te-sch-freq; + description + "Schedule frequency for reversion"; + } + leaf duration { + type uint32; + description + "Duration for scheduled reversion"; + } + leaf max-tries { + type uint32; + description + "Max tries for scheduled reversion"; + } + } + + grouping TE-XRO-SUBOBJ-P2P-LSP { + description + "XRO point-to-point LSP sub-object"; + container fec { + description + "LSP FEC"; + uses TE-LSP-FEC; + } + leaf ignore-lsp-id { + type boolean; + description + "Flag to indicate whether or not the lsp-id in + the FEC is to be ignored"; + } + leaf processing-node-exception { + type boolean; + description + "Processing-node exception flag"; + } + leaf penultimate-node-exception { + type boolean; + description + "Penultimate-node exception flag"; + } + leaf destination-node-exception { + type boolean; + description + "Destination-node exception flag"; + } + leaf exclusion-type { + type Te-xro-exclusion; + description + "Exclusion Type"; + } + } + + grouping TE-XRO-SUBOBJ-SRLG { + description + "XRO SRLG sub-object"; + leaf srlg-id { + type uint32; + description + "SRLG ID"; + } + leaf exclusion-type { + type Te-xro-exclusion; + description + "Exclusion Type"; + } + } + + grouping TE-XRO-SUBOBJ-AS { + description + "XRO AS sub-object"; + leaf as-number { + type uint16; + description + "Autonomous System number"; + } + } + + grouping TE-XRO-SUBOBJ-UNNUM { + description + "XRO unnumbered sub-object"; + leaf te-router-id { + type inet:ipv4-address; + description + "TE router-id"; + } + leaf interface-id { + type uint32; + description + "Interface ID"; + } + leaf attribute { + type Te-xro-attribute; + description + "Attribute"; + } + leaf exclusion-type { + type Te-xro-exclusion; + description + "Exclusion Type"; + } + } + + grouping TE-XRO-SUBOBJ-IPV6 { + description + "XRO IPv6 sub-object"; + leaf address { + type inet:ipv6-address; + description + "IPv6 address"; + } + leaf prefix-len { + type uint8; + description + "Prefix length"; + } + leaf attribute { + type Te-xro-attribute; + description + "Attribute"; + } + leaf exclusion-type { + type Te-xro-exclusion; + description + "Exclusion Type"; + } + } + + grouping TE-XRO-SUBOBJ-IPV4 { + description + "XRO IPv4 sub-object"; + leaf address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf prefix-len { + type uint8; + description + "Prefix length"; + } + leaf attribute { + type Te-xro-attribute; + description + "Attribute"; + } + leaf exclusion-type { + type Te-xro-exclusion; + description + "Exclusion Type"; + } + } + + grouping TE-XRO-SUBOBJ { + description + "XRO sub-object union"; + container ipv4-subobject { + when "../type = 'ipv4'" { + description + "../Type = 'IPv4'"; + } + description + "IPv4 sub-object"; + uses TE-XRO-SUBOBJ-IPV4; + } + container ipv6-subobject { + when "../type = 'ipv6'" { + description + "../Type = 'IPv6'"; + } + description + "IPv6 sub-object"; + uses TE-XRO-SUBOBJ-IPV6; + } + container unnumbered-subobject { + when "../type = 'unnumbered'" { + description + "../Type = 'Unnumbered'"; + } + description + "Unnumbered sub-object"; + uses TE-XRO-SUBOBJ-UNNUM; + } + container as-subobject { + when "../type = 'as'" { + description + "../Type = 'AS'"; + } + description + "AS sub-object"; + uses TE-XRO-SUBOBJ-AS; + } + container srlg-subobject { + when "../type = 'srlg'" { + description + "../Type = 'SRLG'"; + } + description + "SRLG sub-object"; + uses TE-XRO-SUBOBJ-SRLG; + } + container lsp-subobject { + when "../type = 'p2p-lsp'" { + description + "../Type = 'P2P_LSP'"; + } + description + "P2P LSP sub-object"; + uses TE-XRO-SUBOBJ-P2P-LSP; + } + leaf type { + type Te-xro-subobj; + description + "Type"; + } + } + + grouping TE-XRO { + description + "XRO object"; + leaf mutual-diversity-flag { + type boolean; + description + "Mutual Diversity Flag"; + } + list xro-subobject { + description + "List of XRO sub-objects"; + uses TE-XRO-SUBOBJ; + } + } + + grouping AFFINITY-NAME-BAG { + description + "Affinity name constraints"; + leaf constraint-type { + type uint8; + description + "Constraint type"; + } + leaf constraint-value { + type uint32; + description + "Deprecated"; + } + leaf forward-ref-value { + type uint32; + description + "Deprecated"; + } + list constraint-extended-value { + description + "Constraint value"; + leaf entry { + type uint32; + } + } + list extended-forward-ref-value { + description + "Reference bits for undefined affinity names"; + leaf entry { + type uint32; + } + } + } + + grouping MPLS-TE-TUNNELS-AFFINITY-INFO { + description + "MPLS TE tunnel Affinity information"; + leaf affinity-bits { + type uint32; + description + "The affinity bits (colors)"; + } + leaf affinity-mask { + type uint32; + description + "The affinity mask (colors)"; + } + list named-affinity { + description + "Array of name based constratints currently + applied to the tunnel"; + uses AFFINITY-NAME-BAG; + } + } + + grouping TE-S2L-FEC { + description + "A sub-LSP FEC"; + leaf s2l-fec-subgroup-id { + type uint16; + description + "sub-LSP subgroup ID"; + } + leaf s2l-fec-lsp-id { + type uint16; + description + "LSP ID"; + } + leaf s2l-fec-tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf s2l-fec-extended-tunnel-id { + type inet:ipv4-address; + description + "Extended tunnel ID"; + } + leaf s2l-fec-source { + type inet:ipv4-address; + description + "LSP source address"; + } + leaf s2l-fec-dest { + type inet:ipv4-address; + description + "sub-LSP destination address"; + } + leaf s2l-fec-p2mp-id { + type uint32; + description + "P2MP ID"; + } + leaf s2l-fec-subgroup-originator { + type inet:ipv4-address; + description + "Subgroup Originator"; + } + leaf s2l-fec-ctype { + type Mpls-lib-c; + description + "Session identifier (ctype)"; + } + leaf s2l-fec-vrf { + type string; + description + "VRF; currently only for GMPLS tunnels"; + } + } + + grouping TE-LSP-FEC-CTYPE-DATA { + description + "C-type-specific LSP FEC data"; + leaf fec-ctype { + type Mpls-lib-c; + description + "FEC CType"; + } + leaf p2p-lsp-destination { + when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2p-tunnel'" { + description + "../FEC_CType = 'MPLS_LIB_CTYPE_IPV4_P2P_TUNNEL'"; + } + type inet:ipv4-address; + description + "P2P LSP destination"; + } + leaf fec-destination-p2mp-id { + when "../fec-ctype = 'mpls-lib-c-type-ipv4-p2mp-tunnel'" { + description + "../FEC_CType = + 'MPLS_LIB_CTYPE_IPV4_P2MP_TUNNEL'"; + } + type uint32; + description + "P2MP ID"; + } + } + + grouping TE-LSP-FEC { + description + "A LSP FEC"; + container fec-destination-info { + description + "Destination or P2MP ID"; + uses TE-LSP-FEC-CTYPE-DATA; + } + leaf fec-lsp-id { + type uint16; + description + "LSP ID"; + } + leaf fec-tunnel-id { + type uint16; + description + "Tunnel ID"; + } + leaf fec-extended-tunnel-id { + type inet:ipv4-address; + description + "Extended tunnel ID"; + } + leaf fec-source { + type inet:ipv4-address; + description + "Tunnel source address"; + } + leaf fec-vrf { + type string; + description + "VRF; currently only for GMPLS tunnels"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub7.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub7.yang new file mode 100644 index 0000000..b0cca14 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub7.yang @@ -0,0 +1,631 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub7 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + include Cisco-IOS-XR-mpls-te-oper-sub5 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub6 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Te-stats-sig-filter { + type enumeration { + enum "te-stat-sig-filter-vif" { + description + "te stat sig filter vif"; + } + enum "te-stat-sig-filter-lsp" { + description + "te stat sig filter lsp"; + } + } + description + "TE Signaling Filter types"; + } + + grouping MPLS-TE-BFD-SESSION-COUNTERS { + description + "TE BFDoLM counters"; + leaf session-create-events { + type uint32; + description + "The number of BFDOverLM session create events"; + } + leaf session-up-events { + type uint32; + description + "The number of BFDOverLM session up events"; + } + leaf session-creation-failed-events { + type uint32; + description + "The number of BFDOverLM session creation failed + events"; + } + leaf session-down-events { + type uint32; + description + "The number of BFDOverLM session down events"; + } + leaf session-admin-down-events { + type uint32; + description + "The number of BFDOverLM session admin down + events"; + } + leaf session-gracefully-delete-events { + type uint32; + description + "The number of BFDOverLM session gracefully + delete events"; + } + leaf session-non-gracefully-delete-events { + type uint32; + description + "The number of BFDOverLM session non gracefully + delete events"; + } + leaf session-replay-events { + type uint32; + description + "The number of BFDOverLSP session replay events"; + } + } + + grouping MPLS-TE-BFD-COUNTERS { + description + "TE BFD Counters"; + container bfd-over-lsp-head-counters { + description + "BFD over Head-end LSPs Cumulative Counters"; + uses MPLS-TE-BFD-LSP-COUNTERS; + } + container sbfd-over-lsp-head-counters { + description + "SBFD over Head-end LSPs Cumulative Counters"; + uses MPLS-TE-BFD-LSP-COUNTERS; + } + container bfd-over-lsp-tail-counters { + description + "BFD over Tail-end LSPs Cumulative Counters"; + uses MPLS-TE-BFD-SESSION-COUNTERS; + } + container bf-do-lm-counters { + description + "BFD over Links Cumulative Counters"; + uses MPLS-TE-BFD-SESSION-COUNTERS; + } + leaf last-cleared-timestamp { + type uint32; + description + "The timestamp when these stats are cleared + relative to Jan 1, 1970"; + } + } + + grouping TE-STATS-SIG-FILTER-DATA-U { + description + "Union of TE Signalling Filter data"; + container te-signalling-filter-vif { + when "../statistics-filter = 'te-stat-sig-filter-vif'" { + description + "../StatisticsFilter = 'TE_STAT_SIG_FILTER_VIF'"; + } + description + "VIF data"; + uses TE-STATS-BAG-VIF; + } + container te-signalling-filter-lsp { + when "../statistics-filter = 'te-stat-sig-filter-lsp'" { + description + "../StatisticsFilter = 'TE_STAT_SIG_FILTER_LSP'"; + } + description + "LSP data"; + uses TE-STATS-BAG-LSP; + } + leaf statistics-filter { + type Te-stats-sig-filter; + description + "StatisticsFilter"; + } + } + + grouping TE-STATS-SIG-FILTER { + description + "TE Signaling Filter Data"; + container te-signalling-filter-data { + description + "TE Signaling Filter data"; + uses TE-STATS-SIG-FILTER-DATA-U; + } + } + + grouping TE-STATS-BAG-LSP { + description + "MPLS TE LSP Statistics"; + container statistics { + description + "LSP statistics"; + uses TE-STATS-SIG; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + list s2l-statistic { + description + "List of S2L Statistics"; + uses TE-STATS-BAG-S2L; + } + } + + grouping TE-STATS-BAG-S2L { + description + "MPLS TE S2L Statistics"; + container statistics { + description + "S2L stats"; + uses TE-STATS-SIG; + } + leaf sub-group-originator { + type inet:ipv4-address; + description + "Subgroup Originator"; + } + leaf sub-group-id { + type uint16; + description + "subgroup ID"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + } + + grouping TE-STATS-BAG-DEST { + description + "MPLS TE Destination Statistics"; + container statistics { + description + "Destination stats"; + uses TE-STATS-SIG; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + list s2l-statistic { + description + "List of S2L Stats"; + uses TE-STATS-BAG-S2L; + } + } + + grouping TE-STATS-SIG { + description + "Send-Recv count for TE Signaling"; + leaf tx-event-unknown { + type uint32; + description + "Unknown TX events"; + } + leaf tx-path-create-event { + type uint32; + description + "TX Path Create event"; + } + leaf tx-path-change-event { + type uint32; + description + "TX Path Change event"; + } + leaf tx-path-delete-event { + type uint32; + description + "TX Path Delete event"; + } + leaf tx-path-error-event { + type uint32; + description + "TX Path Error event"; + } + leaf tx-resv-create-event { + type uint32; + description + "TX Resv Create event"; + } + leaf tx-resv-change-event { + type uint32; + description + "TX Resv Change event"; + } + leaf tx-resv-delete-event { + type uint32; + description + "TX Resv Delete event"; + } + leaf tx-resv-error-event { + type uint32; + description + "TX Resv Error event"; + } + leaf tx-path-reeval-query-event { + type uint32; + description + "TX Path Reeval Query event"; + } + leaf rx-event-unknown { + type uint32; + description + "RX Unknown events"; + } + leaf rx-path-create-event { + type uint32; + description + "RX Path Create event"; + } + leaf rx-path-change-event { + type uint32; + description + "RX Path Change event"; + } + leaf rx-path-delete-event { + type uint32; + description + "RX Path Delete event"; + } + leaf rx-path-error-event { + type uint32; + description + "RX Path Error event"; + } + leaf rx-resv-create-event { + type uint32; + description + "RX Resv Create event"; + } + leaf rx-resv-change-event { + type uint32; + description + "RX Resv Change event"; + } + leaf rx-resv-delete-event { + type uint32; + description + "RX Resv Delete event"; + } + leaf rx-resv-error-event { + type uint32; + description + "RX Resv Error event"; + } + leaf rx-path-reeval-query-event { + type uint32; + description + "RX Path Reeval Query event"; + } + leaf tx-backup-assign-event { + type uint32; + description + "Backup Assign event"; + } + leaf rx-backup-assign-err-event { + type uint32; + description + "Error on Backup Assign event"; + } + leaf events-total-count { + type uint32; + description + "Total TE Signalling event count"; + } + leaf events-count { + type uint32; + description + "TE Signaling event count"; + } + } + + grouping TE-STATS-BAG-VIF { + description + "MPLS TE VIF Statistics"; + container statistics { + description + "VIF stats"; + uses TE-STATS-SIG; + } + leaf tunnel-name { + type string; + description + "Tunnel Name"; + } + leaf tunnel-sig-name { + type string; + description + "Tunnel Signalled-Name"; + } + leaf lsp-id { + type uint16; + description + "LSP ID"; + } + list destination-statistic { + description + "List of Destination Stats"; + uses TE-STATS-BAG-DEST; + } + } + + grouping MPLS-TE-SYNC-COUNT-INFO { + description + "MPLS TE NSR and ISSU counters"; + leaf last-cleared-timestamp { + type uint32; + units "second"; + description + "The timestamp, in seconds, when these statistics + are cleared since 00:00:00 UTC, + January 1, 1970"; + } + leaf role { + type Te-proc-role; + description + "Process role"; + } + leaf last-idt-states { + type uint32; + description + "Last IDT States"; + } + leaf total-states { + type uint32; + description + "Total states"; + } + leaf total-deletions { + type uint32; + description + "Total deletions"; + } + leaf total-nac-ks { + type uint64; + description + "Total NACKs"; + } + leaf total-id-ts { + type uint32; + description + "Total IDTs"; + } + } + + grouping MPLS-TE-SOFT-PREEMPTION-STATS { + description + "Soft preemption stats "; + leaf last-cleared-timestamp { + type uint32; + description + "The timestamp when these stats are cleared + relative to Jan 1, 1970"; + } + leaf soft-preemption-events { + type uint32; + description + "The number of soft preemption events triggered"; + } + leaf soft-preempted-ls-ps { + type uint32; + description + "The number of LSPs that have been soft preempted + at this node"; + } + leaf timed-out-soft-preempted-lsp-ss { + type uint32; + description + "The number of LSPs that have been soft preempted + and timed out at this node"; + } + leaf torn-down-soft-preempted-ls-ps { + type uint32; + description + "The number of LSPs that have been soft preempted + at this node and torn down before timing out"; + } + leaf frr-triggered-soft-preempted-lsp-ss { + type uint32; + description + "The number of LSPs that have been soft preempted + and then fast rerouted at this node"; + } + leaf minimum-time-in-soft-preempted-state { + type uint16; + units "second"; + description + "The minimum number of seconds an LSP remained in + the soft preempted state"; + } + leaf time-in-soft-preempted-state-max { + type uint16; + units "second"; + description + "The maximum number of seconds an LSP remained in + the soft preempted state without being hard + preempted"; + } + leaf time-in-soft-preempted-state-avg { + type uint16; + units "second"; + description + "The average number of seconds an LSP remained in + the soft preempted state. This excludes the + timed out LSPs"; + } + leaf soft-preempted-head-ls-ps { + type uint32; + description + "Number of soft preempted LSPs at the headend. + This is relevant to the headend"; + } + leaf reoptimized-soft-preempted-ls-ps { + type uint32; + description + "Number of soft preemption LSPs that are + reoptimized. This is relevant to the headend"; + } + leaf torndown-soft-preempted-ls-ps { + type uint32; + description + "Number of soft preemption LSPs that are torn + down instead of being reoptimized. This is + relevant to the headend."; + } + leaf path-protected-switchover-soft-preempted-ls-ps { + type uint32; + description + "Number of soft preemption LSPs that are replaced + with the path protection LSP. This is relevant + to the headend"; + } + } + + grouping TE-STATS-AUTOBACKUP-COUNTERS { + description + "TE Auto Backup Counter Types"; + leaf total-tunnels { + type uint32; + description + "Total auto backup tunnels"; + } + leaf next-hop-tunnels { + type uint32; + description + "Next hop auto backup tunnels only"; + } + leaf next-next-hop-tunnels { + type uint32; + description + "Next next hop auto backup tunnels only"; + } + } + + grouping TE-STATS-AUTOBACKUP { + description + "Counters for TE Autobackup"; + container created { + description + "Number of connected auto backup tunnels"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + container connected { + description + "Number of connected auto backup tunnels"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + container removed-down { + description + "Number of NNHOP auto backup tunnels removed + while down"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + container removed-unused { + description + "Number of auto backup tunnels removed while + unused"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + container removed-in-use { + description + "Number of auto backup tunnels removed while up + and in use"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + container removed-range-exceeded { + description + "Number of auto backup tunnel attempts rejected + because the total number exceeds the range"; + uses TE-STATS-AUTOBACKUP-COUNTERS; + } + leaf last-cleared-time { + type uint32; + description + "Timestamp when the stat has been cleared"; + } + } + + grouping TE-STATS-AUTOMESH { + description + "Counters for TE Automesh"; + leaf created { + type uint32; + description + "Number of connected automesh tunnels"; + } + leaf connected { + type uint32; + description + "Number of connected automesh tunnels"; + } + leaf removed-unused { + type uint32; + description + "Number of automesh tunnels removed while unused"; + } + leaf removed-in-use { + type uint32; + description + "Number of automesh tunnels removed while up and + in use"; + } + leaf removed-range-exceeded { + type uint32; + description + "Number of automesh tunnel attempts rejected + because the total number exceeds the range"; + } + leaf last-cleared-time { + type uint32; + units "second"; + description + "Time at which these were last cleared in seconds + since (in seconds since 1st Jan 1970 00:00:00)'"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub8.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub8.yang new file mode 100644 index 0000000..1d57741 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub8.yang @@ -0,0 +1,289 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub8 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-te-lsp-role { + type enumeration { + enum "mpls-te-lsp-role-unknown" { + description + "MPLS TE lsp role unknown"; + } + enum "mpls-te-lsp-role-head" { + description + "MPLS TE lsp role head"; + } + enum "mpls-te-lsp-role-transit" { + description + "MPLS TE lsp role transit"; + } + enum "mpls-te-lsp-role-tail" { + description + "MPLS TE lsp role tail"; + } + } + description + "MPLS TE LSP Role"; + } + + typedef Mpls-protection { + type enumeration { + enum "mpls-protection-type-unprotected" { + description + "MPLS no protection is desired"; + } + enum "mpls-protection-type-link" { + description + "MPLS link protection is desired"; + } + enum "mpls-protection-type-link-node" { + description + "MPLS node and link protection are both desired"; + } + } + description + "MPLS Protection Type"; + } + + typedef Oc-mpls-te-metric { + type enumeration { + enum "oc-mpls-te-metric-type-igp" { + description + "MPLS TE metric type IGP"; + } + enum "oc-mpls-te-metric-type-te" { + description + "MPLS TE metric type TE"; + } + } + description + "OC MPLS TE Metric Type"; + } + + typedef Lsp-oper-status { + type enumeration { + enum "mpls-te-lsp-oper-up" { + description + "MPLS TE lsp operational up"; + } + enum "mpls-te-lsp-oper-down" { + description + "MPLS TE lsp operational down"; + } + } + description + "LSP Admin Status"; + } + + typedef Lsp-admin-status { + type enumeration { + enum "mpls-te-lsp-admin-up" { + description + "MPLS TE lsp admin up"; + } + enum "mpls-te-lsp-admin-shutdown" { + description + "MPLS TE lsp admin shutdown"; + } + } + description + "LSP Admin Status"; + } + + typedef Mpls-te-protocol { + type enumeration { + enum "mpls-te-signaling-type-unknown" { + description + "MPLS TE signaling type unknown"; + } + enum "mpls-te-signaling-type-rsvp" { + description + "MPLS TE signaling type RSVP"; + } + } + description + "MPLS TE Protocol Type"; + } + + typedef Oc-mpls-te-lsp { + type enumeration { + enum "oc-mpls-te-lsp-type-not-set" { + description + "MPLS TE lsp type not set"; + } + enum "oc-mpls-te-lsp-type-p2p" { + description + "MPLS TE lsp type point to point"; + } + enum "oc-mpls-te-lsp-type-p2mp" { + description + "MPLS TE lsp type point to multi-point"; + } + } + description + "OC MPLS TE LSP Type"; + } + + grouping OC-MPLS-TE-LSP-COUNTERS { + description + "OC MPLS TE LSP counters"; + leaf name { + type string; + description + "LSP Name"; + } + leaf type { + type Oc-mpls-te-lsp; + description + "LSP Type"; + } + leaf bytes { + type uint64; + units "byte"; + description + "Number of bytes forwarded over the lsp"; + } + leaf packets { + type uint64; + description + "Number of packets forwarded over the lsp"; + } + leaf path-changes { + type uint64; + description + "Number of path changes for the lsp"; + } + leaf state-changes { + type uint64; + description + "Number of state changes for the lsp"; + } + leaf online-time { + type string; + description + "Timestamp of LSP oper state up"; + } + leaf current-path-time { + type string; + description + "Timestamp of LSP switched onto current path"; + } + leaf next-reoptimization-time { + type string; + description + "Timestamp of next scheduled reoptmiziation"; + } + } + + grouping OC-MPLS-TE-LSP-STATE { + description + "OC MPLS TE LSP State"; + leaf name { + type string; + description + "LSP Name"; + } + leaf type { + type Oc-mpls-te-lsp; + description + "LSP Type"; + } + leaf signaling-protocol { + type Mpls-te-protocol; + description + "Signaling Protocol"; + } + leaf local-id { + type uint32; + description + "Local ID - TBD"; + } + leaf source { + type inet:ipv4-address; + description + "Source Address"; + } + leaf description { + type string; + description + "Description"; + } + leaf admin-status { + type Lsp-admin-status; + description + "Admin Status"; + } + leaf oper-status { + type Lsp-oper-status; + description + "Operational Status"; + } + leaf metric { + type Oc-mpls-te-metric; + description + "Metric type"; + } + leaf protection-style-requested { + type Mpls-protection; + description + "Protection Style Requested"; + } + leaf reoptimize-timer { + type uint16; + description + "frequency of reoptimization"; + } + leaf role { + type Mpls-te-lsp-role; + description + "Role"; + } + leaf setup-priority { + type uint8; + description + "Setup priority"; + } + leaf hold-priority { + type uint8; + description + "Hold priority"; + } + leaf soft-preemption { + type boolean; + description + "Soft Preemption"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub9.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub9.yang new file mode 100644 index 0000000..1d1231d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper-sub9.yang @@ -0,0 +1,63 @@ +submodule Cisco-IOS-XR-mpls-te-oper-sub9 { + belongs-to Cisco-IOS-XR-mpls-te-oper { + prefix Cisco-IOS-XR-mpls-te-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MPLS-TE-MIB-SCALAR-INFO { + description + "MPLS TE MIB Scalar Information"; + leaf mpls-tunnel-configured { + type uint32; + description + "mpls tunnel configured"; + } + leaf mpls-tunnel-active { + type uint32; + description + "mpls tunnel active"; + } + leaf mpls-tunnel-te-dist-proto { + type uint8; + description + "mpls tunnel te dist proto"; + } + leaf mpls-tunnel-max-hops { + type uint32; + description + "mpls tunnel max hops"; + } + leaf mpls-tunnel-notification-max-rate { + type uint32; + description + "mpls tunnel notification max rate"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper.yang new file mode 100644 index 0000000..7cd93ff --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-te-oper.yang @@ -0,0 +1,2655 @@ +module Cisco-IOS-XR-mpls-te-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-te-oper"; + prefix mpls-te-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-mpls-te-oper-sub9 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub8 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub7 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub6 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub5 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub4 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub3 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-mpls-te-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-te package operational data. + + This module contains definitions + for the following management objects: + mpls-te: MPLS Traffic Engineering operational data + mpls-lcac-standby: mpls lcac standby + mpls-lcac: mpls lcac + mpls-pce: mpls pce + mpls-pce-stdby: mpls pce stdby + mpls-tp: mpls tp + mpls-te-standby: mpls te standby + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Attribute-set-name-length { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Attribute set name length"; + } + + typedef Mpls-te-path { + type enumeration { + enum "not-set" { + value 0; + description + "Not set"; + } + enum "dynamic" { + value 1; + description + "Dynamic"; + } + enum "explicit-name" { + value 3; + description + "Explicit name"; + } + enum "explicit-id" { + value 4; + description + "Explicit ID"; + } + enum "no-ero" { + value 5; + description + "No ERO"; + } + enum "segment-routing" { + value 6; + description + "Segment Routing"; + } + } + description + "Mpls te path"; + } + + typedef Oc-mpls-te-tunnel { + type enumeration { + enum "unknown" { + value 0; + description + "UNKNOWN"; + } + enum "p2p" { + value 1; + description + "P2P"; + } + enum "p2mp" { + value 2; + description + "P2MP"; + } + } + description + "Oc mpls te tunnel"; + } + + typedef Mpls-te-node { + type enumeration { + enum "router" { + value 1; + description + "Router"; + } + enum "network" { + value 2; + description + "Network"; + } + } + description + "Mpls te node"; + } + + typedef Preemption-event-index-range { + type uint32 { + range "0..1999"; + } + description + "Preemption event index range"; + } + + typedef Mpls-pce-symbolic-name { + type xr:Cisco-ios-xr-string { + length "1..256"; + } + description + "Mpls pce symbolic name"; + } + + typedef Ctype { + type enumeration { + enum "ctype-null" { + value 0; + description + "CTYPE NULL"; + } + enum "ctype-ipv4" { + value 1; + description + "CTYPE IPV4"; + } + enum "ctype-ipv4-p2p-tunnel" { + value 7; + description + "CTYPE IPV4 P2P TUNNEL"; + } + enum "ctype-ipv6-p2p-tunnel" { + value 8; + description + "CTYPE IPV6 P2P TUNNEL"; + } + enum "ctype-ipv4-uni" { + value 9; + description + "CTYPE IPV4 UNI"; + } + enum "ctype-ipv4-p2mp-tunnel" { + value 13; + description + "CTYPE IPV4 P2MP TUNNEL"; + } + enum "ctype-ipv6-p2mp-tunnel" { + value 14; + description + "CTYPE IPV6 P2MP TUNNEL"; + } + } + description + "Ctype"; + } + + typedef Mpls-te-next-hop { + type enumeration { + enum "egress-resolve" { + value 0; + description + "Egress Resolve"; + } + enum "autoroute-dest" { + value 1; + description + "Autoroute Dest"; + } + } + description + "Mpls te next hop"; + } + + typedef Mpls-te-attr-set { + type enumeration { + enum "not-used" { + value 0; + description + "Not used"; + } + enum "static" { + value 1; + description + "Static"; + } + enum "lsp" { + value 2; + description + "LSP"; + } + enum "unassigned" { + value 3; + description + "Unassigned"; + } + enum "auto-backup" { + value 4; + description + "Auto backup"; + } + enum "auto-mesh" { + value 5; + description + "Auto mesh"; + } + enum "xro" { + value 6; + description + "XRO"; + } + enum "p2mp-te" { + value 7; + description + "P2MP TE"; + } + enum "otn-pp" { + value 8; + description + "OTN Path Protection"; + } + enum "p2p-te" { + value 9; + description + "P2P TE"; + } + } + description + "Mpls te attr set"; + } + + typedef Mesh-group-id { + type uint32 { + range "0..4294967295"; + } + description + "Mesh group id"; + } + + typedef Mpls-te-igp-protocol { + type enumeration { + enum "none" { + value 0; + description + "Not set"; + } + enum "isis" { + value 1; + description + "IS IS"; + } + enum "ospf" { + value 2; + description + "OSPF"; + } + } + description + "Mpls te igp protocol"; + } + + grouping ADVERTISEMENTS { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container advertisements { + description + "The advertisement information in MPLS-LCAC"; + uses MPLS-LM-ADVERTISEMENT-INFO; + } + } + + grouping MAXIMUM-TUNNELS { + description + "Common node of mpls-te, mpls-te-standby"; + container maximum-tunnels { + description + "MPLS Traffic Engineering Tunnels"; + uses TUNNEL-MAX-INFO; + } + } + + grouping ADMISSION-CONTROL { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container admission-control { + description + "The admission control information in MPLS-LCAC"; + container global { + description + "The global admission control information"; + uses MPLS-LM-ADMISSION-CONTROL-COMMON-INFO; + } + container admitted-tunnels { + description + "The table of admitted tunnels information in + MPLS-LCAC"; + list admitted-tunnel { + key "source-address destination-port source-port destination-address extended-tunnel-id next-hop-address ctype p2mp-id"; + description + "The information for a specific admitted tunnel"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "The source IP address of the tunnel"; + } + leaf destination-port { + type int32; + description + "The tunnel number at the head"; + } + leaf source-port { + type int32; + description + "The signaling instance number of the tunnel"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "The destination IP address of the tunnel"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended tunnel id"; + } + leaf next-hop-address { + type inet:ipv4-address-no-zone; + description + "The Next hop IP"; + } + leaf ctype { + type Ctype; + description + "C type"; + } + leaf p2mp-id { + type int32; + description + "P2MP id"; + } + uses MPLS-LM-ADMISSION-CONTROL-TUNNEL-INFO; + } + } + container link-interfaces { + description + "The global admission control information on + Interfaces"; + list link-interface { + key "interface-name"; + description + "The global admission control information on an + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-ADMISSION-CONTROL-COMMON-INFO; + } + } + } + } + + grouping WRAP-PROTECTION { + description + "Common node of mpls-te, mpls-te-standby"; + container wrap-protection { + description + "Represent all the LSP Wrap Protection info in + MPLS-TE"; + container protected-lsps { + description + "The set of wrap protected LSPs available in + MPLS-TE"; + list protected-lsp { + key "source-address destination-address tunnel-id extended-tunnel-id lsp-id sub-group-id sub-group-originator p2mp-id session-type"; + description + "Wrap protection info for a given protected LSP"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf sub-group-originator { + type inet:ipv4-address-no-zone; + description + "Subgroup Orig ID"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf session-type { + type Ctype; + description + "Session Type"; + } + uses MPLS-TE-LSP-WRAP-PROTECTION-BAG; + } + } + } + } + + grouping DIFF-SERV-TE-CLASSES { + description + "Common node of mpls-te, mpls-te-standby"; + container diff-serv-te-classes { + description + "The configured Diff Serv TE classes"; + uses MPLS-TE-DSTE-CLASSES; + } + } + + grouping PEER-TABLE { + description + "Common node of mpls-pce, mpls-pce-stdby"; + container peers { + description + "The set of PCE peers"; + list peer { + key "peer-address"; + description + "A PCE peer"; + leaf peer-address { + type inet:ipv4-address-no-zone; + description + "The peer address"; + } + uses PCE-NEIGHBOR-BAG; + } + } + } + + grouping LINK-INFORMATION { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container link-information { + description + "The interface information in MPLS-LCAC"; + container global { + description + "The global information for all the interfaces"; + uses MPLS-LM-INTERFACE-COMMON-INFO; + } + container links { + description + "The table of interfaces in MPLS-LCAC"; + list link { + key "interface-name"; + description + "An interface in MPLS-LCAC"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-INTERFACE-LINK-INFO; + } + } + } + } + + grouping LSP-TABLE { + description + "Common node of mpls-pce, mpls-pce-stdby"; + container lsps { + description + "Table of LSPs"; + list lsp { + key "symbolic-name"; + description + "Information of a LSP from LSPDB"; + leaf symbolic-name { + type Mpls-pce-symbolic-name; + description + "Symbolic name"; + } + uses PCE-LSP-BAG; + } + uses PCE-LSP-BAG; + } + } + + grouping PREEMPTION-EVENT-TABLE { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container preemption-events { + description + "Preemption event log in MPLS-LCAC"; + list preemption-event { + key "event-index"; + description + "Preemption event"; + leaf event-index { + type Preemption-event-index-range; + description + "Event index"; + } + uses MPLS-LM-PREEMPTION-EVENT; + } + } + } + + grouping SIGNALLING-COUNTERS { + description + "Common node of mpls-te, mpls-te-standby"; + container signalling-counters { + description + "TE counters"; + container issu { + description + "MPLS TE ISSU counters"; + uses MPLS-TE-SYNC-COUNT-INFO; + } + container head-signalling-counters { + description + "Sig Head Table TE counters"; + list head-signalling-counter { + key "ctype tunnel-id"; + description + "TE stats"; + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + uses TE-STATS-BAG-VIF; + } + } + container remote-signalling-counters { + description + "Sig mid tail Table TE counters"; + list remote-signalling-counter { + key "ctype tunnel-id extended-tunnel-id p2mp-id lsp-id source-address destination-address sub-group-originator sub-group-id"; + description + "TE stats"; + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf sub-group-originator { + type inet:ipv4-address-no-zone; + description + "Subgroup originator"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + uses TE-STATS-BAG-LSP; + } + } + container signallings { + description + "TE counters"; + list signalling { + key "ctype tunnel-id extended-tunnel-id p2mp-id lsp-id source-address destination-address sub-group-originator sub-group-id"; + description + "TE Sig"; + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf sub-group-originator { + type inet:ipv4-address-no-zone; + description + "Subgroup originator"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + uses TE-STATS-SIG-FILTER; + } + } + container signalling-summary { + description + "Send-Recv count summary for TE Signaling"; + uses TE-STATS-SIG; + } + } + } + + grouping OPEN-CONFIG { + description + "Common node of mpls-te, mpls-te-standby"; + container open-config { + description + "OpenConfig MPLS TE operational data"; + container lsp-states { + description + "Table of LSP State Info"; + list lsp-state { + key "tunnel-name tunnel-type"; + description + "MPLS TE LSP State Info"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + leaf tunnel-type { + type Oc-mpls-te-tunnel; + description + "Tunnel Type"; + } + uses OC-MPLS-TE-LSP-STATE; + } + } + container lsp-counters { + description + "Table of LSP Counters"; + list lsp-counter { + key "tunnel-name tunnel-type"; + description + "MPLS TE LSP Counters"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + leaf tunnel-type { + type Oc-mpls-te-tunnel; + description + "Tunnel Type"; + } + uses OC-MPLS-TE-LSP-COUNTERS; + } + } + } + } + + grouping STATISTICS { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container statistics { + description + "The interface statistics information in + MPLS-LCAC"; + container summary { + description + "The statistics summary for all interfaces"; + uses MPLS-LM-STATS-SUMMARY-INFO; + } + container statstics-links { + description + "The table of statistics interfaces in MPLS-LCAC"; + list statstics-link { + key "interface-name"; + description + "An interface in MPLS-LCAC"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-STATS-LINK-INFO; + } + } + } + } + + grouping TE-PCE-OPER-STATISTICS { + description + "Common node of mpls-lcac, mpls-lcac-standbyCommon + node of mpls-pce, mpls-pce-stdby"; + container statistics { + description + "PCE stats info"; + uses PCE-STATS-BAG; + } + } + + grouping PATH-PROTECTION { + description + "Common node of mpls-lcac, mpls-lcac-standbyCommon + node of mpls-pce, mpls-pce-stdbyCommon node of + mpls-te, mpls-te-standby"; + container path-protection { + description + "MPLS TE path protection info"; + container switchover-log { + description + "MPLS TE path protection info"; + uses TE-PP-SW-LOG-BAG; + } + } + } + + grouping FIB-NEXT-HOP-LABEL-ROUTE-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container fib-next-hop-label-routes { + description + "MPLS TE FIB nexthop label route database"; + list fib-next-hop-label-route { + key "label"; + description + "MPLS TE FIB nexthop label route"; + leaf label { + type uint32 { + range "0..1048575"; + } + description + "MPLS Label"; + } + uses TE-FIB-NH-ROUTE-BAG; + } + } + } + + grouping ANNOUNCE-TUNNELS-INFO { + description + "Common node of mpls-te, mpls-te-standby"; + container announce-tunnels-info { + description + "Announced tunnels (forwarding adjacency and + autoroute annonce)"; + container autoroute-announce-table { + description + "Autoroute announce and forwarding adjacency + table"; + uses ANNOUNCE-DEST; + } + container all-autoroute-table { + description + "Autoroute announce and forwarding adjacency + table"; + uses ANNOUNCE-DEST; + } + } + } + + grouping ATTRIBUTE-SET-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container attribute-sets { + description + "AttributeSet information."; + list attribute-set { + key "attribute-set-type attribute-set-name"; + description + "MPLS TE attribute-set information"; + leaf attribute-set-type { + type Mpls-te-attr-set; + description + "Attribute Set Type"; + } + leaf attribute-set-name { + type Attribute-set-name-length; + description + "Attribute Set Name"; + } + uses MPLS-TE-ATTRIBUTE-SET; + } + } + } + + grouping BANDWIDTH-ACCOUNT { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container bandwidth-account { + description + "The bandwidth accounting information in + MPLS-LCAC"; + container bandwidth-account-links { + description + "The interface bandwidth accounting information + table"; + list bandwidth-account-link { + key "interface-name"; + description + "An interface in bandwidth accounting table"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-BANDWIDTH-ACCOUNT-LINK-TEL-DET-INFO; + } + } + } + } + + grouping ANNOUNCE-DEST { + description + "Common node of autoroute-announce-table, + all-autoroute-table"; + list announce-dest { + key "destination-address protocol area igp-id"; + description + "Autoroute tunnels per destination information"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf protocol { + type Mpls-te-igp-protocol; + description + "The IGP protocol used by the tunnel"; + } + leaf area { + type int32; + description + "Area"; + } + leaf igp-id { + type xr:Cisco-ios-xr-string; + description + "IGP Instance ID"; + } + uses MPLS-TE-ANNOUNCEMENT-DEST-BAG; + } + } + + grouping TOPOLOGY-BRIEF-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container topology-briefs { + description + "MPLS-TE topology brief table"; + list topology-brief { + key "protocol igp-id area topology-node-type igp-node-id"; + description + "A node in MPLS-TE topoogy brief table"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "IGP protocol type"; + } + leaf igp-id { + type xr:Cisco-ios-xr-string; + description + "IGP instance"; + } + leaf area { + type int32; + description + "IGP area"; + } + leaf topology-node-type { + type Mpls-te-node; + description + "Node type"; + } + leaf igp-node-id { + type string; + description + "IGP Node ID"; + } + uses MPLS-TE-TOPOLOGY-NODE; + } + } + } + + grouping AUTO-TUNNEL { + description + "Common node of mpls-te, mpls-te-standby"; + container auto-tunnel { + description + "Auto tunnel information."; + container pcc { + description + "Auto tunnel PCC (Path Computation Client) + information."; + container summary { + description + "MPLS TE auto-tunnel pcc summary information"; + uses MPLS-TE-AUTOTUN-PCC-SUMMARY-INFO; + } + } + container mesh { + description + "Auto tunnel mesh information."; + container mesh-groups { + description + "Display auto-tunnel mesh group"; + list mesh-group { + key "mesh-group-id"; + description + "Display auto-tunnel mesh group information"; + leaf mesh-group-id { + type Mesh-group-id; + description + "Mesh group ID"; + } + uses MPLS-TE-MESHGROUP; + } + } + container statistics { + description + "MPLS TE auto-tunnel mesh counters (stats) + information"; + uses TE-STATS-AUTOMESH; + } + container summary { + description + "MPLS TE auto-tunnel mesh summary information"; + uses MPLS-TE-AUTOTUN-MESH-SUMMARY-INFO; + } + container config { + description + "MPLS TE auto-tunnel mesh configuration + information"; + uses MPLS-TE-AUTOTUN-MESH-CONFIG-INFO; + } + container one-hop { + description + "MPLS TE auto-tunnel mesh onehop information"; + container interfaces { + description + "Display auto-tunnel onehop interfaces"; + list interface { + key "interface-name"; + description + "Display auto-tunnel mesh onehop interface + information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses MPLS-TE-AUTOMESH-ONEHOP-INTERFACE; + } + } + container statistics { + description + "MPLS TE auto-tunnel mesh onehop counters + (stats) information"; + uses TE-STATS-AUTOMESH; + } + container summary { + description + "MPLS TE auto-tunnel mesh onehop summary + information"; + uses MPLS-TE-AUTOTUN-MESH-ONEHOP-SUMMARY-INFO; + } + } + } + container backup { + description + "Auto tunnel backup information."; + container tunnels { + description + "auto-tunnel backup information"; + list tunnel { + key "backup-tunnel-name"; + description + "Display auto tunnel backup tunnel information"; + leaf backup-tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Backup tunnel name"; + } + uses MPLS-TE-AUTOTUN-BACKUP-TUNNEL-INFO; + } + } + container statistics { + description + "MPLS TE auto-tunnel backup counters (stats) + information"; + uses TE-STATS-AUTOBACKUP; + } + container summary { + description + "MPLS TE auto-tunnel backup summary information"; + uses MPLS-TE-AUTOTUN-BACKUP-SUMMARY-INFO; + } + container config { + description + "MPLS TE auto-tunnel backup configuration + information"; + uses MPLS-TE-AUTOTUN-BACKUP-CONFIG-INFO; + } + } + } + } + + grouping COLLABORATOR-TIMERS { + description + "Common node of mpls-te, mpls-te-standby"; + container collaborator-timers { + description + "TE Collaborator timer status"; + uses MPLS-TE-P2MP-TIMERS-B; + } + } + + grouping SOFT-PREEMPTION { + description + "Common node of mpls-te, mpls-te-standbyCommon + node of mpls-te, mpls-te-standby"; + container soft-preemption { + description + "Soft Preemption information."; + container statistics { + description + "MPLS TE soft preemption stats information"; + uses MPLS-TE-SOFT-PREEMPTION-STATS; + } + } + } + + grouping HARDWARE-OUT-OF-RESOURCES { + description + "Common node of mpls-te, mpls-te-standby"; + container hardware-out-of-resources { + description + "NPU Hardware OOR Information"; + container summary { + description + "HW OOR Summary information"; + uses TE-HW-OOR-INFO; + } + } + } + + grouping P2P-P2MP-TUNNEL { + description + "Common node of mpls-te, mpls-te-standby"; + container p2p-p2mp-tunnel { + description + "P2P or P2MP tunnels"; + container tunnel-remote-briefs { + description + "Restrict display to P2P or P2MP mid or tail + tunnels"; + list tunnel-remote-brief { + key "lsp-id tunnel-id extended-tunnel-id source-address ctype destination-address p2mp-id"; + description + "P2P or P2MP tunnel that is a mid or tail"; + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + uses MPLS-TE-P2MP-LSP-BRIEF; + } + } + container tunnel-remotes { + description + "Restrict display to P2P or P2MP mid or tail + tunnels"; + list tunnel-remote { + key "lsp-id tunnel-id extended-tunnel-id source-address ctype destination-address p2mp-id"; + description + "P2P or P2MP tunnel that is a mid or tail"; + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + uses MPLS-TE-P2MP-LSP; + } + } + container nni-tunnels { + description + "GMPLS NNI tunnels"; + list nni-tunnel { + key "tunnel-id source-address destination-address"; + description + "GMPLS-NNI tail tunnel"; + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + uses MPLS-TE-P2MP-TUNNEL-BAG; + } + } + container tunnel-heads { + description + "Restrict display to P2P or P2MP head tunnels"; + list tunnel-head { + key "tunnel-name"; + description + "mpls te p2p or p2mp tunnels"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses MPLS-TE-P2MP-TUNNEL-BAG; + } + } + } + } + + grouping BFD-NEIGHBOR-TABLE { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container bfd-neighbors { + description + "BFD Neighbors"; + list bfd-neighbor { + key "interface-name"; + description + "A BFD Neighbor"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-BFD-NBRS-LINK-INFO; + } + } + } + + grouping SOFT-PREEMPTION-TABLE { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container soft-preemptions { + description + "The soft preemption information for the TE-links"; + list soft-preemption { + key "interface-name"; + description + "The soft preemption info for a TE-link"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-SOFT-PREEMPTION-LINK-INFO; + } + } + } + + grouping TUNNEL-TABLE { + description + "Common node of mpls-pce, mpls-pce-stdby"; + container tunnels { + description + "Table of PCE tunnels"; + list tunnel { + key "tunnel-name"; + description + "Information of a PCE tunnel"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses PCE-TUNNEL-BAG; + } + uses PCE-TUNNEL-BAG; + } + } + + grouping FAST-REROUTE { + description + "Common node of mpls-te, mpls-te-standby"; + container fast-reroute { + description + "Represent all the fastreroute info in MPLS-TE"; + container backup-tunnels { + description + "The set of fastreroute backup tunnels available + in MPLS-TE"; + list backup-tunnel { + key "tunnel-name interface-name"; + description + "Fastreroute info for a given backup tunnel"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Backup tunnel name"; + } + leaf interface-name { + type xr:Interface-name; + description + "Protected interface name"; + } + uses MPLS-TE-FASTREROUTE-BAG; + } + } + container protected-interfaces { + description + "The set of fastreroute protected interfaces + available in MPLS-TE"; + list protected-interface { + key "interface-name backup-tunnel-name"; + description + "Fastreroute info for a given protected + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Protected interface name"; + } + leaf backup-tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Backup tunnel name"; + } + uses MPLS-TE-FASTREROUTE-BAG; + } + } + container protections { + description + "The set of fastreroute protected interfaces + available in MPLS-TE"; + list protection { + key "source-address destination-address tunnel-id extended-tunnel-id lsp-id sub-group-id sub-group-originator p2mp-id session-type"; + description + "Fastreroute info for a given protection + interface"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf sub-group-id { + type int32; + description + "Subgroup ID"; + } + leaf sub-group-originator { + type inet:ipv4-address-no-zone; + description + "Subgroup Orig ID"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf session-type { + type int32; + description + "Session Type"; + } + uses MPLS-TE-FASTREROUTE-PROTECTION-BAG; + } + } + container promotion { + description + "The info about the promotion timer of backup + tunnels"; + uses MPLS-TE-FASTREROUTE-PROMOTION-BAG; + } + } + } + + grouping TOPOLOGY { + description + "Common node of mpls-te, mpls-te-standby"; + container topology { + description + "The topology information in MPLS-TE"; + container global { + description + "Global information about the overall MPLS-TE + topology"; + uses MPLS-TE-TOPOLOGY-GLOBAL-INFO-BAG; + } + container destination-paths { + description + "This table models the path calculation + capabilities in MPLS-TE.A GET operation for the + complete table will return no entries.See the + class DestinationPath for more details."; + list destination-path { + description + "A GET operation on this class returns the best + available path in the TE topology to reach the + specified destination while satisfying the + specified constraints."; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf affinity-bits { + type int32; + description + "Affinity Bits"; + } + leaf affinity-mask { + type int32; + description + "Affinity Mask"; + } + leaf setup-priority { + type int32; + description + "Setup Priority"; + } + leaf hold-priority { + type int32; + description + "Hold Priority"; + } + leaf bandwidth { + type int32; + units "kbit/s"; + description + "Bandwidth in kbps"; + } + leaf igp-type { + type Mpls-te-igp-protocol; + description + "IGP Type"; + } + leaf igp-instance { + type xr:Cisco-ios-xr-string; + description + "IGP Instance"; + } + leaf igp-area { + type int32; + description + "IGP Area"; + } + leaf hop-limit { + type int32; + description + "Hop Limit"; + } + leaf exclude-srlg-ip-address { + type inet:ipv4-address-no-zone; + description + "Exclude SRLG IP Address"; + } + leaf path-type { + type Mpls-te-path; + description + "Path Type"; + } + leaf path-id { + type int32; + description + "This is the ID of the explicit path to be + used for this path calculation query"; + } + leaf path-name { + type xr:Cisco-ios-xr-string; + description + "This is the name of the explicit path to be + used for this path calculation query"; + } + leaf cost-limit { + type int32; + description + "Cost Limit"; + } + uses MPLS-TE-TOPOLOGY-PATH-BAG; + } + } + container configured-srlgs { + description + "Set of configured SRLG"; + list configured-srlg { + key "srlg-number"; + description + "Configured SRLG value and the addresses using + it"; + leaf srlg-number { + type int32; + description + "SRLG Number"; + } + uses MPLS-TE-TOPO-CFG-SRLG; + } + } + container srlgs { + description + "Set of SRLG operational value for the overall + MPLS-TE topology"; + list srlg { + key "srlg-number"; + description + "SRLG operational value for the overall MPLS-TE + topology"; + leaf srlg-number { + type int32; + description + "SRLG Number"; + } + uses MPLS-TE-TOPO-SRLG; + } + } + container path-tunnels { + description + "MPLS-Te topology path info"; + list path-tunnel { + description + "MPLS-TE topology path taken by the specified + tunnel"; + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel name"; + } + uses MPLS-TE-TOPOLOGY-PATH-BAG; + } + } + } + } + + grouping TE-PCE-OPER-TOPOLOGY { + description + "Common node of mpls-te, mpls-te-standbyCommon + node of mpls-pce, mpls-pce-stdby"; + container topology { + description + "The topology information in PCE"; + container global { + description + "The global information of the overall topology"; + uses PCE-TOPOLOGY-GLOBAL-INFO-BAG; + } + } + } + + grouping FORWARDING-ADJACENCY-DESTINATION-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container forwarding-adjacency-destinations { + description + "Announced Destination tunnel"; + list forwarding-adjacency-destination { + key "destination-address"; + description + "Forwarding Adjacencies for a destination"; + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination address"; + } + uses MPLS-TE-FWD-ADJ-BAG; + } + } + } + + grouping LINK-SUMMARY { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container link-summary { + description + "The global summary for all the interfaces"; + uses MPLS-LM-SUMMARY-COMMON-INFO; + } + } + + grouping BANDWIDTH-ALLOCATION { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container bandwidth-allocation { + description + "The bandwidth allocation information in + MPLS-LCAC"; + container global { + description + "Global bandwidth allocation information for all + interfaces"; + uses MPLS-LM-BW-ALLOC-COMMON-INFO; + } + container bandwidth-allocation-links { + description + "Per-link bandwidth allocation information in + MPLS-LCAC"; + list bandwidth-allocation-link { + key "interface-name"; + description + "The bandwidth allocation for a given interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-BW-ALLOC-LINK-INFO; + } + } + } + } + + grouping AUTO-TUNNEL-SERVICES { + description + "Common node of mpls-te, mpls-te-standby"; + container auto-tunnel-services { + description + "MPLS TE Auto Tunnel Services"; + container sr-policy-entries { + description + "MPLS TE SR Policy Context table "; + list sr-policy-entry { + key "client-id color end-point distinguisher"; + description + "MPLS TE SR Policy information"; + leaf client-id { + type int32; + description + "Client ID"; + } + leaf color { + type int32; + description + "Color"; + } + leaf end-point { + type inet:ip-address-no-zone; + description + "End Point"; + } + leaf distinguisher { + type int32; + description + "SR Policy Distinguisher Value"; + } + uses TE-SERVICE-SR-POLICY; + } + } + } + } + + grouping AUTOROUTE-DESTINATION-TUNNEL-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container auto-route-destination-entries { + description + "MPLS TE autoroute destination table indexed by + tunnel"; + list auto-route-destination-entry { + key "tunnel-id"; + description + "MPLS TE autoroute destination info for one + tunnel"; + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + uses TE-TUNNEL-AUTOROUTE-DESTINATIONS; + } + } + } + + grouping TUNNELS { + description + "Common node of mpls-te, mpls-te-standby"; + container tunnels { + description + "Failure protection provided for tunnels"; + container tunnel-flex-lsps { + description + "Flex LSP"; + list tunnel-flex-lsp { + description + "Flex LSP"; + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses MPLS-TE-FLEX-LSP; + } + } + container tunnel-auto-bandwidths { + description + "Auto Bandwidth Brief Table"; + list tunnel-auto-bandwidth { + key "tunnel-name"; + description + "Auto Bandwidth info bag"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses MPLS-TE-TUNNELS-AUTOBW-BRIEF; + } + } + container summary { + description + "Summary of tunnel info"; + uses MPLS-TE-TUNNELS-SUMMARY-INFO-BAG; + } + container tunnel-path-protections { + description + "Path protection"; + list tunnel-path-protection { + description + "Path Protection"; + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses MPLS-TE-PATH-PROTECTION; + } + } + } + } + + grouping IGP-AREA-BRIEF-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container igp-area-briefs { + description + "The set of IGP-areas known to MPLS-TE"; + list igp-area-brief { + key "protocol process-tag"; + description + "An IGP instance Brief info"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "The IGP protocol"; + } + leaf process-tag { + type xr:Cisco-ios-xr-string; + description + "IGP Process Tag"; + } + uses TE-SH-IGP; + } + } + } + + grouping IGP-AREA-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container igp-areas { + description + "The set of IGP-areas known to MPLS-TE"; + list igp-area { + key "protocol process-tag"; + description + "An IGP instance"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "The IGP protocol"; + } + leaf process-tag { + type xr:Cisco-ios-xr-string; + description + "IGP Process Tag"; + } + uses TE-SH-IGP; + } + } + } + + grouping P2MP { + description + "Common node of mpls-te, mpls-te-standby"; + container p2mp { + description + "P2MP Information"; + container tunnel-rewrites { + description + "forwarding-adjacency P2MP Tunnel RW"; + list tunnel-rewrite { + key "tunnel-id lsp-id ctype"; + description + "Display only P2MP Information"; + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf ctype { + type Ctype; + description + "Ctype"; + } + uses MPLS-TE-S2L-TUN-RW-BAG; + } + } + container collaborator-timers { + description + "TE Collaborator timer status"; + uses MPLS-TE-P2MP-TIMERS-B; + } + container forwarding-output-label-rewrites { + description + "forwarding-adjacency P2MP Information"; + list forwarding-output-label-rewrite { + key "tunnel-id lsp-id extended-tunnel-id source-address p2mp-id destination-address next-hop-address previous-hop-address ctype"; + description + "Display only P2MP Information"; + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "extended tunnel ID"; + } + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf next-hop-address { + type inet:ipv4-address-no-zone; + description + "Next Hop"; + } + leaf previous-hop-address { + type inet:ipv4-address-no-zone; + description + "Prev Hop"; + } + leaf ctype { + type Ctype; + description + "Ctype"; + } + uses MPLS-TE-S2L-FORWARDING-BAG; + } + } + } + } + + grouping LSP-OUT-OF-RESOURCES { + description + "Common node of mpls-te, mpls-te-standby"; + container lsp-out-of-resources { + description + "LSP OOR information"; + container summary { + description + "LSP OOR Summary information"; + uses TE-LSP-OOR-INFO; + } + } + } + + grouping NSR { + description + "Common node of mpls-te, mpls-te-standby"; + container nsr { + description + "MPLS TE NSR information"; + container status { + description + "MPLS TE NSR Status information"; + uses TE-NSR-ISSU-STATUS-INFO; + } + container detail { + description + "MPLS TE NSR Status information"; + uses TE-NSR-ISSU-STATUS-INFO; + } + } + } + + grouping AFFINITY-MAP { + description + "Common node of mpls-te, mpls-te-standbyCommon + node of mpls-te, mpls-te-standby"; + container affinity-map { + description + "Affinity name to value mapping"; + uses MPLS-TE-AFFINITY-MAP-BAG; + } + } + + grouping BFD { + description + "Common node of mpls-te, mpls-te-standby"; + container bfd { + description + "MPLS TE BFD Oper Info"; + container head-infos { + description + "MPLS TE Head BFD Over LSP Table"; + list head-info { + key "tunnel-name"; + description + "MPLS TE Head End BFD Over LSP Info"; + leaf tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel Name"; + } + uses MPLS-TE-HEAD-BFD-VIF-INFO; + } + } + container links { + description + "MPLS TE BFD Info"; + list link { + key "interface-name"; + description + "MPLS TE BFD Info"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-BFD-NBRS-LINK-INFO; + } + } + container tail-infos { + description + "MPLS TE Tail BFD Over LSP Table"; + list tail-info { + description + "MPLS TE Tail End BFD Over LSP Info"; + leaf source-address { + type inet:ipv4-address-no-zone; + description + "Source Address"; + } + leaf tunnel-id { + type int32; + description + "Tunnel ID"; + } + leaf lsp-id { + type int32; + description + "LSP ID"; + } + leaf destination-address { + type inet:ipv4-address-no-zone; + description + "Destination Address"; + } + leaf extended-tunnel-id { + type inet:ipv4-address-no-zone; + description + "Extended Tunnel ID"; + } + leaf ctype { + type Ctype; + description + "Ctype"; + } + leaf p2mp-id { + type int32; + description + "P2MP ID"; + } + uses MPLS-TE-TAIL-BFD-LSP-INFO; + } + } + container summary { + description + "MPLS TE BFD Summary"; + uses MPLS-TE-BFD-SUMMARY; + } + container counters { + description + "MPLS TE BFD Counters"; + uses MPLS-TE-BFD-COUNTERS; + } + } + } + + grouping TOPOLOGY-NODE-TABLE { + description + "Common node of mpls-te, mpls-te-standby"; + container topology-nodes { + description + "A node in the MPLS-TE topology"; + list topology-node { + key "protocol igp-id area topology-node-type igp-node-id"; + description + "A node in the MPLS-TE topology"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "IGP protocol type"; + } + leaf igp-id { + type xr:Cisco-ios-xr-string; + description + "IGP instance"; + } + leaf area { + type int32; + description + "IGP area"; + } + leaf topology-node-type { + type Mpls-te-node; + description + "Node type"; + } + leaf igp-node-id { + type string; + description + "IGP Node ID"; + } + uses MPLS-TE-TOPOLOGY-NODE; + } + } + } + + grouping NEIGHBOR-TABLE { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container neighbors { + description + "The neighbor information for the local router"; + list neighbor { + key "interface-name"; + description + "The neighbors connected to a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses MPLS-LM-IGP-NBRS-LINK-INFO; + } + } + } + + grouping GMPLS { + description + "Common node of mpls-lcac, mpls-lcac-standbyCommon + node of mpls-lcac, mpls-lcac-standby"; + container gmpls { + description + "GMPLS data"; + container nni { + description + "GMPLS NNI data"; + } + container uni { + description + "GMPLS UNI data"; + } + } + } + + grouping ISSU { + description + "Common node of mpls-te, mpls-te-standby"; + container issu { + description + "MPLS TE ISSU information"; + container status { + description + "MPLS TE ISSU Status information"; + uses TE-NSR-ISSU-STATUS-INFO; + } + container detail { + description + "MPLS TE ISSU Status information"; + uses TE-NSR-ISSU-STATUS-INFO; + } + } + } + + grouping SOFT-PREEMPTION-GLOBAL-INFO { + description + "Common node of mpls-lcac, mpls-lcac-standby"; + container soft-preemption-global-info { + description + "The global soft-preemption information"; + uses MPLS-TE-SOFT-PREEMPTION-GLOBAL-INFO; + } + } + + container mpls-te { + config false; + description + "MPLS Traffic Engineering operational data"; + container segment-routing { + description + "The Segment Routing database in MPLS-TE"; + container srigp-area-infos { + description + "Segment-Routing information about IGP areas"; + list srigp-area-info { + key "protocol igp-instance area"; + description + "A Segment-Routing IGP area information"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "IGP protocol type"; + } + leaf igp-instance { + type xr:Cisco-ios-xr-string; + description + "IGP instance"; + } + leaf area { + type int32; + description + "IGP area"; + } + uses TE-SR-IGP-AREA; + } + } + container sr-node-infos { + description + "Segment-Routing nodes database in MPLS-TE"; + list sr-node-info { + key "protocol igp-instance area igp-node-id"; + description + "A Segment-Routing node information"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "IGP protocol type"; + } + leaf igp-instance { + type xr:Cisco-ios-xr-string; + description + "IGP instance"; + } + leaf area { + type int32; + description + "IGP area"; + } + leaf igp-node-id { + type string; + description + "Node's IGP ID"; + } + uses TE-SR-NODE; + } + } + container sr-prefix-infos { + description + "Segment-Routing prefixes database in MPLS-TE"; + list sr-prefix-info { + key "protocol igp-instance area prefix prefix-length"; + description + "A Segment-Routing prefix information"; + leaf protocol { + type Mpls-te-igp-protocol; + description + "IGP protocol type"; + } + leaf igp-instance { + type xr:Cisco-ios-xr-string; + description + "IGP instance"; + } + leaf area { + type int32; + description + "IGP area"; + } + leaf prefix { + type inet:ipv4-address-no-zone; + description + "Segment-Routing prefix"; + } + leaf prefix-length { + type int32; + description + "Prefix' length"; + } + uses TE-SR-PREFIX; + } + } + } + container fib-next-hop-routes { + description + "MPLS TE FIB nexthop route database"; + list fib-next-hop-route { + key "prefix-address"; + description + "MPLS TE FIB nexthop route"; + leaf prefix-address { + type inet:ipv4-address-no-zone; + description + "Prefix Address"; + } + uses TE-FIB-NH-ROUTE-BAG; + } + } + container next-hop-routes { + description + "MPLS TE nexthop route database"; + list next-hop-route { + description + "MPLS TE nexthop route"; + leaf prefix-address { + type inet:ipv4-address-no-zone; + description + "Prefix Address"; + } + leaf prefix-length { + type xr:Ipv4-prefix-length; + description + "Prefix Length"; + } + leaf next-hop-type { + type Mpls-te-next-hop; + description + "Next-hop Route Type"; + } + uses TE-NEXTHOP-ROUTE; + } + } + container te-mib { + description + "TE MIB information"; + container scalars { + description + "MIB Scalar information"; + uses MPLS-TE-MIB-SCALAR-INFO; + } + } + uses HARDWARE-OUT-OF-RESOURCES; + uses P2P-P2MP-TUNNEL; + uses TOPOLOGY-NODE-TABLE; + uses ANNOUNCE-TUNNELS-INFO; + uses COLLABORATOR-TIMERS; + uses AUTO-TUNNEL; + uses SOFT-PREEMPTION; + uses FORWARDING-ADJACENCY-DESTINATION-TABLE; + uses IGP-AREA-TABLE; + uses WRAP-PROTECTION; + uses TOPOLOGY; + uses SIGNALLING-COUNTERS; + uses DIFF-SERV-TE-CLASSES; + uses ISSU; + uses AUTOROUTE-DESTINATION-TUNNEL-TABLE; + uses FAST-REROUTE; + uses ATTRIBUTE-SET-TABLE; + uses IGP-AREA-BRIEF-TABLE; + uses TUNNELS; + uses MAXIMUM-TUNNELS; + uses PATH-PROTECTION; + uses FIB-NEXT-HOP-LABEL-ROUTE-TABLE; + uses P2MP; + uses OPEN-CONFIG; + uses LSP-OUT-OF-RESOURCES; + uses BFD; + uses NSR; + uses AUTO-TUNNEL-SERVICES; + uses AFFINITY-MAP; + uses TOPOLOGY-BRIEF-TABLE; + } + container mpls-lcac-standby { + config false; + description + "mpls lcac standby"; + uses NEIGHBOR-TABLE; + uses PREEMPTION-EVENT-TABLE; + uses ADVERTISEMENTS; + uses STATISTICS; + uses BANDWIDTH-ALLOCATION; + uses GMPLS; + uses BFD-NEIGHBOR-TABLE; + uses BANDWIDTH-ACCOUNT; + uses LINK-SUMMARY; + uses LINK-INFORMATION; + uses ADMISSION-CONTROL; + uses SOFT-PREEMPTION-GLOBAL-INFO; + uses SOFT-PREEMPTION-TABLE; + } + container mpls-lcac { + config false; + description + "mpls lcac"; + uses NEIGHBOR-TABLE; + uses PREEMPTION-EVENT-TABLE; + uses ADVERTISEMENTS; + uses STATISTICS; + uses BANDWIDTH-ALLOCATION; + uses GMPLS; + uses BFD-NEIGHBOR-TABLE; + uses BANDWIDTH-ACCOUNT; + uses LINK-SUMMARY; + uses LINK-INFORMATION; + uses ADMISSION-CONTROL; + uses SOFT-PREEMPTION-GLOBAL-INFO; + uses SOFT-PREEMPTION-TABLE; + } + container mpls-pce { + config false; + description + "mpls pce"; + uses LSP-TABLE; + uses TE-PCE-OPER-STATISTICS; + uses PEER-TABLE; + uses TE-PCE-OPER-TOPOLOGY; + uses TUNNEL-TABLE; + } + container mpls-pce-stdby { + config false; + description + "mpls pce stdby"; + uses LSP-TABLE; + uses TE-PCE-OPER-STATISTICS; + uses PEER-TABLE; + uses TE-PCE-OPER-TOPOLOGY; + uses TUNNEL-TABLE; + } + container mpls-tp { + config false; + description + "mpls tp"; + container tp-links { + description + "Transport profile links"; + container tp-detail-links { + description + "Detailed table of transport profile links"; + list tp-detail-link { + key "tp-link-id"; + description + "Detailed information of transport profile link"; + leaf tp-link-id { + type int32; + description + "Numeric transport profile link identifier"; + } + uses MPLS-TE-TP-DETAIL-LINK-INFO; + } + } + container tp-link-summary { + description + "Summary of transport profile links"; + uses MPLS-TE-TP-LINK-SUMMARY-INFO; + } + container tp-links { + description + "Table of transport profile links"; + list tp-link { + key "tp-link-id"; + description + "Brief information of transport profile link"; + leaf tp-link-id { + type int32; + description + "Numeric transport profile link identifier"; + } + uses MPLS-TE-TP-LINK-INFO; + } + } + } + container tp-tunnels { + description + "Transport profile tunnels"; + container tp-tunnel-summary { + description + "Summary of transport profile tunnels"; + uses MPLS-TE-TP-TUNNEL-SUMMARY; + } + container tp-detail-tunnels { + description + "Detailed table of transport profile tunnels"; + list tp-detail-tunnel { + key "tp-tunnel-name"; + description + "Detailed information of transport profile + tunnel"; + leaf tp-tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel name"; + } + uses MPLS-TE-TP-DETAIL-TUNNEL-INFO; + } + } + container tp-tunnels { + description + "Table of transport profile tunnels"; + list tp-tunnel { + key "tp-tunnel-name"; + description + "Brief information of transport profile tunnel"; + leaf tp-tunnel-name { + type xr:Cisco-ios-xr-string; + description + "Tunnel name"; + } + uses MPLS-TE-TP-TUNNEL-INFO; + } + } + } + container tp-midpoints { + description + "Transport profile mid-point"; + container tp-detail-midpoints { + description + "Detailed table of transport profile mid-points"; + list tp-detail-midpoint { + key "tp-midpoint-name"; + description + "Detailed information of transport profile + mid-point"; + leaf tp-midpoint-name { + type xr:Cisco-ios-xr-string; + description + "Mid-point name"; + } + uses MPLS-TP-DETAIL-MID-INFO; + } + } + container tp-midpoint-summary { + description + "Summary of transport profile mid-points"; + uses MPLS-TP-MID-SUMMARY-INFO; + } + container tp-midpoints { + description + "Table of transport profile mid-points"; + list tp-midpoint { + key "tp-midpoint-name"; + description + "Brief information of transport profile + mid-point"; + leaf tp-midpoint-name { + type xr:Cisco-ios-xr-string; + description + "Mid-point name"; + } + uses MPLS-TP-MID-INFO; + } + } + } + container tp-global-parameters { + description + "Transport profile global parameters"; + uses MPLS-TE-TP-GLOBAL-INFO; + } + } + container mpls-te-standby { + config false; + description + "mpls te standby"; + uses HARDWARE-OUT-OF-RESOURCES; + uses P2P-P2MP-TUNNEL; + uses TOPOLOGY-NODE-TABLE; + uses ANNOUNCE-TUNNELS-INFO; + uses COLLABORATOR-TIMERS; + uses AUTO-TUNNEL; + uses SOFT-PREEMPTION; + uses FORWARDING-ADJACENCY-DESTINATION-TABLE; + uses IGP-AREA-TABLE; + uses WRAP-PROTECTION; + uses TOPOLOGY; + uses SIGNALLING-COUNTERS; + uses DIFF-SERV-TE-CLASSES; + uses ISSU; + uses AUTOROUTE-DESTINATION-TUNNEL-TABLE; + uses FAST-REROUTE; + uses ATTRIBUTE-SET-TABLE; + uses IGP-AREA-BRIEF-TABLE; + uses TUNNELS; + uses MAXIMUM-TUNNELS; + uses PATH-PROTECTION; + uses FIB-NEXT-HOP-LABEL-ROUTE-TABLE; + uses P2MP; + uses OPEN-CONFIG; + uses LSP-OUT-OF-RESOURCES; + uses BFD; + uses NSR; + uses AUTO-TUNNEL-SERVICES; + uses AFFINITY-MAP; + uses TOPOLOGY-BRIEF-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-cfg.yang new file mode 100644 index 0000000..c67c6e2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-cfg.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-mpls-vpn-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-cfg"; + prefix mpls-vpn-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-vpn package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container mpls-l3vpn { + description + "MPLS-L3VPN-STD-MIB notification configuration"; + leaf max-threshold-reissue-notification-time { + type int32; + units "second"; + description + "Time interval (secs) for re-issuing + max-threshold notification"; + } + leaf max-threshold-exceeded { + type empty; + description + "Enable mplsL3VpnVrfNumVrfRouteMaxThreshExceeded + notification"; + } + leaf max-threshold-cleared { + type empty; + description + "Enable mplsL3VpnNumVrfRouteMaxThreshCleared + notification"; + } + leaf mid-threshold-exceeded { + type empty; + description + "Enable mplsL3VpnVrfRouteMidThreshExceeded + notification"; + } + leaf enable { + type empty; + description + "Enable mplsL3VpnMIB notifications"; + } + leaf vrf-down { + type empty; + description + "Enable mplsL3VpnVrfDown notification"; + } + leaf vrf-up { + type empty; + description + "Enable mplsL3VpnVrfUp notification"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang new file mode 100644 index 0000000..6496996 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper-sub1.yang @@ -0,0 +1,190 @@ +submodule Cisco-IOS-XR-mpls-vpn-oper-sub1 { + belongs-to Cisco-IOS-XR-mpls-vpn-oper { + prefix Cisco-IOS-XR-mpls-vpn-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR mpls-vpn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mpls-vpn-rt { + type enumeration { + enum "import" { + value 1; + description + "VRF Route Target Type Import"; + } + enum "export" { + value 2; + description + "VRF Route Target Type Export"; + } + enum "both" { + value 3; + description + "VRF Route Target Type Import and Export"; + } + } + description + "Layer 3 VPN Route Target Type"; + } + + typedef Mpls-vpn-safi { + type enumeration { + enum "unicast" { + value 1; + description + "VRF Unicast sub-address family"; + } + enum "multicast" { + value 2; + description + "VRF Multicast sub-address family"; + } + enum "flowspec" { + value 133; + description + "VRF Flowspec sub-address family"; + } + } + description + "Layer 3 VPN Sub-Address Family Type"; + } + + typedef Mpls-vpn-afi { + type enumeration { + enum "ipv4" { + value 1; + description + "VRF IPv4 address family"; + } + enum "ipv6" { + value 2; + description + "VRF IPv6 address family"; + } + } + description + "Layer 3 VPN Address Family Type"; + } + + grouping MPLS-VPN-RT { + description + "Layer 3 VPN Route Target"; + leaf route-target-type { + type Mpls-vpn-rt; + description + "Route Target Type"; + } + leaf route-target-value { + type string; + description + "Route Target Value"; + } + leaf af-name { + type Mpls-vpn-afi; + description + "AF name"; + } + leaf saf-name { + type Mpls-vpn-safi; + description + "SAF name"; + } + } + + grouping MPLS-VPN-AFI-SAFI { + description + "Layer 3 VPN AFI/SAFI Info"; + leaf af-name { + type Mpls-vpn-afi; + description + "AF name"; + } + leaf saf-name { + type Mpls-vpn-safi; + description + "SAF name"; + } + leaf import-route-policy { + type string; + description + "Import Route Policy"; + } + leaf export-route-policy { + type string; + description + "Export Route Policy"; + } + list route-target { + description + "Route Targets"; + uses MPLS-VPN-RT; + } + } + + grouping MPLS-VPN-INTERFACES { + description + "Layer 3 VPN Interface Names"; + leaf interface-name { + type string; + description + "Interface Name"; + } + } + + grouping MPLS-VPN-VRF { + description + "Layer 3 VPN VRF"; + leaf vrf-name-xr { + type string; + description + "VRF Name"; + } + leaf vrf-description { + type string; + description + "VRF Description"; + } + leaf route-distinguisher { + type string; + description + "Route Distinguisher"; + } + leaf is-big-vrf { + type boolean; + description + "VRF mode information"; + } + list interface { + description + "Interfaces in VRF"; + uses MPLS-VPN-INTERFACES; + } + list af { + description + "AF/SAF information"; + uses MPLS-VPN-AFI-SAFI; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper.yang new file mode 100644 index 0000000..06aeadb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-mpls-vpn-oper.yang @@ -0,0 +1,73 @@ +module Cisco-IOS-XR-mpls-vpn-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-vpn-oper"; + prefix mpls-vpn-oper; + + include Cisco-IOS-XR-mpls-vpn-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR mpls-vpn package operational data. + + This module contains definitions + for the following management objects: + l3vpn: L3VPN operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container l3vpn { + config false; + description + "L3VPN operational data"; + container invalid-vrfs { + description + "Invalid VRF Table (VRFs that are forward + referenced)"; + list invalid-vrf { + key "vrf-name"; + description + "Invalid VRF (VRF that is forward referenced)"; + leaf vrf-name { + type string; + description + "The Name for an invalid VRF"; + } + uses MPLS-VPN-VRF; + } + } + container vrfs { + description + "VRF Table"; + list vrf { + key "vrf-name"; + description + "VRF"; + leaf vrf-name { + type string; + description + "The Name for a VRF"; + } + uses MPLS-VPN-VRF; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-act.yang new file mode 100644 index 0000000..e4ba7c4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-act.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-ncs1001-ots-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1001-ots-act"; + prefix ncs1001-ots-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1001-ots-act package configuration. + + This module contains definitions + for the following management objects: + hardware-module-action: NCS1k1 HW module config + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-08-04 { + description + "IOS XR 6.3.1 revision."; + } + + typedef Ots-psm-manual-switch { + type enumeration { + enum "working" { + value 1; + description + "Working port"; + } + enum "protected" { + value 2; + description + "Protected port"; + } + } + description + "Ots psm manual switch"; + } + + rpc psm-manual-switch-to { + description + "Psm manual switch to port"; + input { + leaf slot-id { + type uint32 { + range "1..3"; + } + mandatory true; + description + "Set Slot"; + } + leaf manual-switch-to { + type Ots-psm-manual-switch; + mandatory true; + description + "Switch active path to selected port"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-cfg.yang new file mode 100644 index 0000000..80b99eb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-cfg.yang @@ -0,0 +1,180 @@ +module Cisco-IOS-XR-ncs1001-ots-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1001-ots-cfg"; + prefix ncs1001-ots-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1001-ots package configuration. + + This module contains definitions + for the following management objects: + hardware-module: NCS1k HW module config + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-20 { + description + "moved manual-switch-to to Cisco-IOS-XR-ncs1001-ots-act"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ots-amplifier-node { + type enumeration { + enum "term" { + value 0; + description + "Nodetype TERM"; + } + enum "ila" { + value 1; + description + "Nodetype InLine Amplifier"; + } + enum "roadm" { + value 2; + description + "Nodetype ROADM"; + } + } + description + "Ots amplifier node"; + } + + typedef Ots-amplifier-grid-mode { + type enumeration { + enum "100g-hz" { + value 0; + description + "100GHz mode"; + } + enum "50g-hz" { + value 1; + description + "50GHz mode"; + } + enum "gr-idle-ss" { + value 2; + description + "Gridless mode"; + } + } + description + "Ots amplifier grid mode"; + } + + typedef Ots-psm-lockout-from { + type enumeration { + enum "working" { + value 1; + description + "Working port"; + } + enum "protected" { + value 2; + description + "Protected port"; + } + } + description + "Ots psm lockout from"; + } + + container hardware-module { + description + "NCS1k HW module config"; + list node { + key "location"; + description + "Node"; + leaf location { + type xr:Cisco-ios-xr-string; + description + "Fully qualified line card specification"; + } + list slot { + key "slot-id"; + description + "Slot Id"; + container amplifier { + description + "Amplifier Configs"; + leaf node-type { + type Ots-amplifier-node; + description + "Define the type of node in which the + amplifier is set to work"; + } + leaf grid-mode { + type Ots-amplifier-grid-mode; + description + "Define the working mode for the optical + module"; + } + leaf udc-vlan { + type uint32 { + range "2..4080"; + } + description + "Define the VLAN ID in range <2-4080>"; + } + } + container psm { + description + "PSM Configs"; + leaf mono-dir { + type boolean; + description + "Psm Uni directional configuration"; + } + leaf auto-threshold { + type boolean; + description + "Psm Automatic Threshold Setting"; + } + leaf path-protection { + type boolean; + description + "Psm path protection configuration"; + } + leaf section-protection { + type boolean; + description + "Psm section protection configuration"; + } + leaf lockout-from { + type Ots-psm-lockout-from; + description + "Exclude selected port from protection"; + } + } + leaf slot-id { + type uint32 { + range "1..3"; + } + description + "Set Slot"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper-sub1.yang new file mode 100644 index 0000000..5049dab --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper-sub1.yang @@ -0,0 +1,342 @@ +submodule Cisco-IOS-XR-ncs1001-ots-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs1001-ots-oper { + prefix Cisco-IOS-XR-ncs1001-ots-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs1001-ots package operational data. + + Copyright (c) 2013-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-23 { + description + "first release."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Chfilter { + type enumeration { + enum "ch-filter-active" { + value 0; + description + "Active"; + } + enum "ch-filter-all" { + value 1; + description + "All"; + } + } + description + "Chfilter"; + } + + typedef Trailview { + type enumeration { + enum "trail-view-all" { + value 0; + description + "All"; + } + enum "trail-view-bst" { + value 1; + description + "Booster"; + } + enum "trail-view-pre" { + value 2; + description + "Pre"; + } + } + description + "Trailview"; + } + + grouping HWMOD-CHANNEL-TRAIL-INFO-B { + description + "HWMOD CHANNEL TRAIL INFO B"; + leaf eqpt-fail { + type uint8; + description + "Eqpt fail"; + } + leaf filter { + type Chfilter; + description + "Filter"; + } + leaf och-name { + type string { + length "0..64"; + } + description + "OchName"; + } + leaf wavelength { + type uint32; + description + "Wavelength"; + } + leaf frequency { + type uint32; + description + "Frequency"; + } + leaf com-port-number { + type uint8; + description + "ComPortNumber"; + } + leaf com-port-name { + type string { + length "0..32"; + } + description + "ComPortName"; + } + leaf com-rx-power-th-low { + type int16; + description + "ComRxPowerThLow"; + } + leaf line-port-number { + type uint8; + description + "LinePortNumber"; + } + leaf line-port-name { + type string { + length "0..32"; + } + description + "LinePortName"; + } + leaf line-rx-power-th-low { + type int16; + description + "LineRxPowerThLow"; + } + leaf bst-in-rx-power { + type int16; + description + "BstInRxPower"; + } + leaf bst-out-tx-power { + type int16; + description + "BstOutTxPower"; + } + leaf pre-in-rx-power { + type int16; + description + "PreInRxPower"; + } + leaf pre-out-tx-power { + type int16; + description + "PreOutTxPower"; + } + } + + grouping HWMOD-AMPLI-TRAIL-INFO-B { + description + "HWMOD AMPLI TRAIL INFO B"; + leaf eqpt-fail { + type uint8; + description + "Eqpt fail"; + } + leaf view { + type Trailview; + description + "View"; + } + leaf com-port-number { + type uint8; + description + "ComPortNumber"; + } + leaf com-port-name { + type string { + length "0..32"; + } + description + "ComPortName"; + } + leaf line-port-number { + type uint8; + description + "LinePortNumber"; + } + leaf line-port-name { + type string { + length "0..32"; + } + description + "LinePortName"; + } + leaf bst-in-rx-power { + type int16; + description + "BstInRxPower"; + } + leaf bst-in-rx-total-power { + type int16; + description + "BstInRxTotalPower"; + } + leaf bst-in-rx-power-th-low { + type int16; + description + "BstInRxPowerThLow"; + } + leaf bst-out-tx-power { + type int16; + description + "BstOutTxPower"; + } + leaf bst-out-tx-total-power { + type int16; + description + "BstOutTxTotalPower"; + } + leaf bst-out-tx-power-th-low { + type int16; + description + "BstOutTxPowerThLow"; + } + leaf bst-working-mode { + type uint16; + description + "BstWorkingMode"; + } + leaf bst-safety-mode { + type uint16; + description + "BstSafetyMode"; + } + leaf bst-gain-range { + type uint16; + description + "BstGainRange"; + } + leaf bst-osri { + type uint16; + description + "BstOsri"; + } + leaf bst-channel-power { + type int16; + description + "BstChannelPower"; + } + leaf bst-gain { + type int16; + description + "BstGain"; + } + leaf bst-tilt { + type int16; + description + "BstTilt"; + } + leaf pre-in-rx-power { + type int16; + description + "PreInRxPower"; + } + leaf pre-in-rx-total-power { + type int16; + description + "PreInRxTotalPower"; + } + leaf pre-in-rx-power-th-low { + type int16; + description + "PreInRxPowerThLow"; + } + leaf pre-out-tx-power { + type int16; + description + "PreOutTxPower"; + } + leaf pre-out-tx-total-power { + type int16; + description + "PreOutTxTotalPower"; + } + leaf pre-out-tx-power-th-low { + type int16; + description + "PreOutTxPowerThLow"; + } + leaf pre-working-mode { + type uint16; + description + "PreWorkingMode"; + } + leaf pre-safety-mode { + type uint16; + description + "PreSafetyMode"; + } + leaf pre-gain-range { + type uint16; + description + "PreGainRange"; + } + leaf pre-osri { + type uint16; + description + "PreOsri"; + } + leaf pre-channel-power { + type int16; + description + "PreChannelPower"; + } + leaf pre-gain { + type int16; + description + "PreGain"; + } + leaf pre-tilt { + type int16; + description + "PreTilt"; + } + } + + grouping OTS-HWMOD-OP { + description + "hwmodule trail info"; + list ampli-trail-info { + description + "ampli trail info"; + uses HWMOD-AMPLI-TRAIL-INFO-B; + } + list channel-trail-info { + description + "channel trail info"; + uses HWMOD-CHANNEL-TRAIL-INFO-B; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper.yang new file mode 100644 index 0000000..eda3e12 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1001-ots-oper.yang @@ -0,0 +1,139 @@ +module Cisco-IOS-XR-ncs1001-ots-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1001-ots-oper"; + prefix ncs1001-ots-oper; + + include Cisco-IOS-XR-ncs1001-ots-oper-sub1 { + revision-date 2018-01-23; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1001-ots package operational data. + + This module contains definitions + for the following management objects: + hw-module: ncs1001 hw-module command chain + + Copyright (c) 2013-2018 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-23 { + description + "first release."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ots-ampli-trail-data { + type enumeration { + enum "all" { + value 1; + description + "Displays Booster and Pre trail data"; + } + enum "bst" { + value 2; + description + "Displays Booster trail data"; + } + enum "pre" { + value 3; + description + "Displays Pre trail data"; + } + } + description + "Ots ampli trail data"; + } + + typedef Ots-channels-trail-data { + type enumeration { + enum "all" { + value 1; + description + "Displays all channels trail data"; + } + enum "active" { + value 2; + description + "Displays active channels trail data"; + } + } + description + "Ots channels trail data"; + } + + container hw-module { + config false; + description + "ncs1001 hw-module command chain"; + container slot-tables { + description + "Amplifier trail data information"; + list slot-table { + key "slot-id"; + description + "Slot Id"; + leaf slot-id { + type int32; + description + "Details associated with a particular slot + number"; + } + list amplifier-trail-data { + key "amplifier-trail-data-type"; + description + "Trail data information"; + leaf amplifier-trail-data-type { + type Ots-ampli-trail-data; + description + "Select trail data"; + } + uses OTS-HWMOD-OP; + } + } + } + container channels-slots { + description + "Channels trail data information"; + list channels-slot { + key "slot-id"; + description + "Slot Id"; + leaf slot-id { + type uint32 { + range "1..3"; + } + description + "Details associated with a particular slot + number"; + } + list channels-trail-data { + key "channels-trail-data-type"; + description + "Trail data information"; + leaf channels-trail-data-type { + type Ots-channels-trail-data; + description + "Select trail data"; + } + uses OTS-HWMOD-OP; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang new file mode 100644 index 0000000..dae643a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1.yang @@ -0,0 +1,172 @@ +submodule Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs1k-macsec-ea-oper { + prefix Cisco-IOS-XR-ncs1k-macsec-ea-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-macsec-ea package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ncs1k-cipher-suit { + type enumeration { + enum "gcm-aes-256" { + value 0; + description + "GCM AES 256"; + } + enum "gcm-aes-128" { + value 1; + description + "GCM AES 128"; + } + enum "gcm-aes-xpn-256" { + value 2; + description + "GCM AES XPN 256"; + } + } + description + "Ncs1k cipher suit"; + } + + grouping NCS1K-AN-STATUS { + description + "Association Number status"; + leaf association-number { + type uint8; + description + "Assocition Number"; + } + leaf device-association-number { + type uint8; + description + "Devive Association Number"; + } + leaf short-secure-channel-id { + type uint32; + description + "Short Secure Channel Id"; + } + leaf programmed-time { + type string { + length "0..30"; + } + description + "Key Programmed Time"; + } + leaf key-crc { + type xr:Hex-integer; + description + "32bit CRC of Programmed Key"; + } + leaf-list xpn-salt { + type xr:Hex-integer; + description + "XPN Salt"; + } + } + + grouping NCS1K-SC-STATUS { + description + "Secure Channel status"; + leaf protection-enabled { + type boolean; + description + "Protection Enabled"; + } + leaf secure-channel-id { + type uint64; + description + "Secure Channel Id"; + } + leaf confidentiality-offset { + type uint32; + description + "Confidentiality offset"; + } + leaf cipher-suite { + type Ncs1k-cipher-suit; + description + "Cipher Suite"; + } + leaf initial-packet-number { + type uint64; + description + "Initial Packet Number"; + } + leaf secure-tag-length { + type uint32; + description + "Secure Tag Length"; + } + leaf max-packet-number { + type uint64; + description + "Maximum Packet Number"; + } + leaf recent-packet-number { + type uint64; + description + "Recent Packet Number"; + } + list active-association { + description + "Active Associations"; + uses NCS1K-AN-STATUS; + } + } + + grouping NCS1K-MACSEC-IF-STATUS { + description + "Interface Status details"; + container encrypt-sc-status { + description + "Encrypt Secure Channel Status"; + uses NCS1K-SC-STATUS; + } + container decrypt-sc-status { + description + "Decrypt Secure Channel Status"; + uses NCS1K-SC-STATUS; + } + leaf replay-window-size { + type uint32; + description + "Replay Window Size"; + } + leaf must-secure { + type boolean; + description + "Must Secure"; + } + leaf secure-mode { + type uint32; + description + "Secure Mode"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang new file mode 100644 index 0000000..2c8561d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-macsec-ea-oper.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-ncs1k-macsec-ea-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-macsec-ea-oper"; + prefix ncs1k-macsec-ea-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs1k-macsec-ea-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-macsec-ea package operational data. + + This module contains definitions + for the following management objects: + ncs1k-macsec-oper: Macsec data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ncs1k-macsec-oper { + config false; + description + "Macsec data"; + container ncs1k-macsec-ctrlr-names { + description + "All Macsec operational data"; + list ncs1k-macsec-ctrlr-name { + key "name"; + description + "Interface name"; + container ncs1k-status-info { + description + "controller data"; + uses NCS1K-MACSEC-IF-STATUS; + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-cfg.yang new file mode 100644 index 0000000..4847414 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-cfg.yang @@ -0,0 +1,157 @@ +module Cisco-IOS-XR-ncs1k-mxp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-cfg"; + prefix ncs1k-mxp-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp package configuration. + + This module contains definitions + for the following management objects: + hardware-module: NCS1k HW module config + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Trunk-data-rate { + type enumeration { + enum "hundred-gig" { + value 2; + description + "HundredGig"; + } + enum "two-hundred-gig" { + value 3; + description + "TwoHundredGig"; + } + enum "two-hundred-fifty-gig" { + value 4; + description + "TwoHundredFiftyGig"; + } + } + description + "Trunk data rate"; + } + + typedef Client-data-rate { + type enumeration { + enum "ten-gig" { + value 1; + description + "TenGig"; + } + enum "forty-gig" { + value 2; + description + "FortyGig"; + } + enum "hundred-gig" { + value 3; + description + "HundredGig"; + } + enum "ten-and-hundred-gig" { + value 4; + description + "TenAndHundredGig"; + } + } + description + "Client data rate"; + } + + typedef Fec { + type enumeration { + enum "sd7" { + value 1; + description + "SoftDecision7"; + } + enum "sd20" { + value 2; + description + "SoftDecision20"; + } + } + description + "Fec"; + } + + container hardware-module { + description + "NCS1k HW module config"; + list node { + key "location"; + description + "Node"; + leaf location { + type xr:Cisco-ios-xr-string; + description + "Fully qualified line card specification"; + } + list slice { + key "slice-id"; + description + "Slice to be Provisioned"; + container values { + description + "Data rates & FEC"; + leaf client-rate { + type Client-data-rate; + description + "Client Rate"; + } + leaf trunk-rate { + type Trunk-data-rate; + description + "TrunkRate"; + } + leaf fec { + type Fec; + description + "FEC"; + } + leaf encrypted { + type boolean; + default "false"; + description + "Encrypted"; + } + } + leaf lldp { + type boolean; + description + "Drop LLDP Packets"; + } + leaf slice-id { + type xr:Cisco-ios-xr-string; + description + "Set Slice"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang new file mode 100644 index 0000000..abb9b09 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1.yang @@ -0,0 +1,328 @@ +submodule Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs1k-mxp-headless-oper { + prefix Cisco-IOS-XR-ncs1k-mxp-headless-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp-headless package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-30 { + description + "PRBS stats added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mxp-otn-prbs-status { + type enumeration { + enum "locked" { + value 0; + description + "Locked"; + } + enum "not-locked" { + value 1; + description + "Not Locked"; + } + enum "not-applicable" { + value 2; + description + "Not Applicable"; + } + enum "locked-with-errors" { + value 3; + description + "Locked With Errors"; + } + } + description + "Mxp otn prbs status"; + } + + grouping MXP-ETHER-PRIM-INFO { + description + "Ether statistics"; + leaf rx-pkts-over-sized { + type uint64; + description + "RxPktsOverSized"; + } + leaf rx-pkts-bad-fcs { + type uint64; + description + "RxPktsBadFcs"; + } + leaf rx-error-jabbers { + type uint64; + description + "RxErrorJabbers"; + } + leaf rx-pkts-multicast { + type uint64; + description + "RxPktsMulticast"; + } + leaf rx-pkts-broadcast { + type uint64; + description + "RxPktsBroadcast"; + } + leaf rx-pkts-under-sized { + type uint64; + description + "RxPktsUnderSized"; + } + leaf rx-packets { + type uint64; + description + "RxPackets"; + } + leaf rx-total-bytes { + type uint64; + description + "RxTotalBytes"; + } + leaf rx-bytes-good { + type uint64; + description + "RxBytesGood"; + } + leaf rx-pkts-good { + type uint64; + description + "RxPktsGood"; + } + leaf tx-bytes-good { + type uint64; + description + "TxBytesGood"; + } + leaf tx-pkts-good { + type uint64; + description + "TxPktsGood"; + } + leaf rx-recv-fragments { + type uint64; + description + "RxRecvFragments"; + } + leaf rx-pkts64-bytes { + type uint64; + description + "RxPkts64Bytes"; + } + leaf rx-pkts65-to127-bytes { + type uint64; + description + "RxPkts65To127Bytes"; + } + leaf rx-pkts128to255-bytes { + type uint64; + description + "RxPkts128to255Bytes"; + } + leaf rx-pkts256-to511-bytes { + type uint64; + description + "RxPkts256To511Bytes"; + } + leaf rx-pkts512-to1023-bytes { + type uint64; + description + "RxPkts512To1023Bytes"; + } + leaf rx-pkts1024-to1518-bytes { + type uint64; + description + "RxPkts1024To1518Bytes"; + } + leaf rx-pkts-unicast { + type uint64; + description + "RxPktsUnicast"; + } + leaf tx-packets { + type uint64; + description + "TxPackets"; + } + leaf tx-total-bytes { + type uint64; + description + "TxTotalBytes"; + } + leaf tx-pkts-under-sized { + type uint64; + description + "TxPktsUnderSized"; + } + leaf tx-pkts-over-sized { + type uint64; + description + "TxPktsOverSized"; + } + leaf tx-fragments { + type uint64; + description + "TxFragments"; + } + leaf tx-jabber { + type uint64; + description + "TxJabber"; + } + leaf tx-bad-fcs { + type uint64; + description + "TxBadFCS"; + } + leaf rx-pkt-drop { + type uint64; + description + "RxPktDrop"; + } + leaf rx-pause { + type uint64; + description + "RxPause"; + } + leaf tx-pause { + type uint64; + description + "TxPause"; + } + leaf rx-lldp-pkt { + type uint64; + description + "RxLldpPkt"; + } + leaf rx8021q-pkt { + type uint64; + description + "Rx8021QPkt"; + } + } + + grouping MXP-HEADLESS-ETHER-PRIM-INFO { + description + "Ether Headless Statistics"; + container ether-statistics { + description + "Ether Statistics"; + uses MXP-ETHER-PRIM-INFO; + } + leaf started-stateful { + type boolean; + description + "Started Stateful"; + } + leaf headless-start-time { + type string { + length "0..64"; + } + description + "Headless Start Time"; + } + leaf headless-end-time { + type string { + length "0..64"; + } + description + "Headless End Time"; + } + } + + grouping MXP-OTN-PRBS-INFO { + description + "PRBS Statistics"; + leaf ebc { + type uint64; + description + "EBC"; + } + leaf sync-status { + type Mxp-otn-prbs-status; + description + "SyncStatus"; + } + } + + grouping MXP-OTN-CNT-INFO { + description + "OTN statistics"; + leaf sm-bip { + type uint64; + description + "SmBip"; + } + leaf sm-bei { + type uint64; + description + "SmBei"; + } + leaf fec-ec { + type uint64; + description + "FecEc"; + } + leaf fec-uc { + type uint64; + description + "FecUc"; + } + } + + grouping MXP-HEADLESS-OTN-CNT-INFO { + description + "OTN Headless Statistics"; + container otn-statistics { + description + "OTN statistics"; + uses MXP-OTN-CNT-INFO; + } + container prbs-statistics { + description + "PRBS Statistics"; + uses MXP-OTN-PRBS-INFO; + } + leaf started-stateful { + type boolean; + description + "Started Stateful"; + } + leaf headless-start-time { + type string { + length "0..64"; + } + description + "Headless Start Time"; + } + leaf headless-end-time { + type string { + length "0..64"; + } + description + "Headless End Time"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang new file mode 100644 index 0000000..89a3c97 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-headless-oper.yang @@ -0,0 +1,82 @@ +module Cisco-IOS-XR-ncs1k-mxp-headless-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-headless-oper"; + prefix ncs1k-mxp-headless-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs1k-mxp-headless-oper-sub1 { + revision-date 2017-03-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp-headless package operational data. + + This module contains definitions + for the following management objects: + headless-func-data: Information related to headless + functionality + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-30 { + description + "PRBS stats added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container headless-func-data { + config false; + description + "Information related to headless functionality"; + container otn-port-names { + description + "OTN Statistics collected during last headless + operation"; + list otn-port-name { + key "name"; + description + "port Name"; + leaf name { + type xr:Interface-name; + description + "Port name"; + } + uses MXP-HEADLESS-OTN-CNT-INFO; + } + } + container ethernet-port-names { + description + "Ethernet Statistics collected during last + headless operation"; + list ethernet-port-name { + key "name"; + description + "Port Name"; + leaf name { + type xr:Interface-name; + description + "Port name"; + } + uses MXP-HEADLESS-ETHER-PRIM-INFO; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang new file mode 100644 index 0000000..1ade47f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1.yang @@ -0,0 +1,182 @@ +submodule Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs1k-mxp-lldp-oper { + prefix Cisco-IOS-XR-ncs1k-mxp-lldp-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp-lldp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-13 { + description + "Added Additional bag for show lldp neighbor command."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef In6-addr { + type inet:ipv6-address; + description + "In6 addr"; + } + + typedef Lldp-l3-addr-protocol { + type enumeration { + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + } + description + "Lldp l3 addr protocol"; + } + + grouping LLDP-L3-ADDR { + description + "LLDP L3 ADDR"; + leaf address-type { + type Lldp-l3-addr-protocol; + description + "AddressType"; + } + leaf ipv4-address { + when "../address-type = 'ipv4'" { + description + "../AddressType = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../address-type = 'ipv6'" { + description + "../AddressType = 'IPv6'"; + } + type In6-addr; + description + "IPv6 address"; + } + } + + grouping LLDP-ADDRESS-ENTRY { + description + "LLDP Address entry"; + list lldp-addr-entry { + description + "lldp addr entry"; + container address { + description + "Network layer address"; + uses LLDP-L3-ADDR; + } + leaf ma-subtype { + type uint8; + description + "MA sub type"; + } + leaf if-num { + type uint32; + description + "Interface num"; + } + } + } + + grouping MXP-LLDP-NEIGHBOR { + description + "LLDP neighbor info"; + container network-addresses { + description + "Management Addresses"; + uses LLDP-ADDRESS-ENTRY; + } + leaf source-mac { + type string; + description + "Mac address of the neighbor"; + } + leaf chassis-id { + type string; + description + "Chassis id"; + } + leaf port-id-detail { + type string; + description + "Outgoing port identifier"; + } + leaf hold-time { + type uint16; + description + "Remaining hold time"; + } + leaf port-description { + type string; + description + "Port Description"; + } + leaf system-name { + type string; + description + "System Name"; + } + leaf system-description { + type string; + description + "System Description"; + } + leaf system-capabilities { + type string; + description + "System Capabilities"; + } + leaf enabled-capabilities { + type string; + description + "Enabled Capabilities"; + } + leaf lldp-neighbor { + type string { + length "0..40"; + } + description + "LldpNeighbor"; + } + leaf drop-enabled { + type boolean; + description + "LLDP Packet Drop Enabled"; + } + leaf rx-lldp-pkts { + type uint64; + description + "Received LLDP Packets count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang new file mode 100644 index 0000000..740aab6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-lldp-oper.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-ncs1k-mxp-lldp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-lldp-oper"; + prefix ncs1k-mxp-lldp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs1k-mxp-lldp-oper-sub1 { + revision-date 2016-10-13; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp-lldp package operational data. + + This module contains definitions + for the following management objects: + lldp-snoop-data: Information related to LLDP Snoop + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-13 { + description + "Added Additional bag for show lldp neighbor command."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container lldp-snoop-data { + config false; + description + "Information related to LLDP Snoop"; + container ethernet-controller-names { + description + "Ethernet controller snoop data"; + list ethernet-controller-name { + key "name"; + description + "port Name"; + leaf name { + type xr:Interface-name; + description + "Port name"; + } + uses MXP-LLDP-NEIGHBOR; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang new file mode 100644 index 0000000..c33f378 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper-sub1.yang @@ -0,0 +1,235 @@ +submodule Cisco-IOS-XR-ncs1k-mxp-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs1k-mxp-oper { + prefix Cisco-IOS-XR-ncs1k-mxp-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Hw-module-slice-status { + type enumeration { + enum "not-provisioned" { + value 0; + description + "Not Provisioned"; + } + enum "provisioning-in-progress" { + value 1; + description + "Provisioning In-Progress"; + } + enum "provisioned" { + value 2; + description + "Provisioned"; + } + enum "provisioning-failed" { + value 3; + description + "Provisioning Failed"; + } + enum "provisioning-scheduled" { + value 4; + description + "Provisioning Scheduled"; + } + enum "reprovisioning-aborted" { + value 5; + description + "Reprovisioning Aborted"; + } + } + description + "Hw module slice status"; + } + + typedef Trunk-data-rate { + type enumeration { + enum "fifty-gig" { + value 1; + description + "FiftyGig"; + } + enum "hundred-gig" { + value 2; + description + "HundredGig"; + } + enum "two-hundred-gig" { + value 3; + description + "TwoHundredGig"; + } + enum "two-hundred-fifty-gig" { + value 4; + description + "TwoHundredFiftyGig"; + } + } + description + "Trunk data rate"; + } + + typedef Client-data-rate { + type enumeration { + enum "ten-gig" { + value 1; + description + "Ten Gig"; + } + enum "forty-gig" { + value 2; + description + "Forty Gig"; + } + enum "hundred-gig" { + value 3; + description + "Hundread Gig"; + } + enum "ten-and-hundred-gig" { + value 4; + description + "Ten and Hundread Gig"; + } + } + description + "Client data rate"; + } + + grouping MXP-HWMOD-OP { + description + "ipsec cli o/p entry"; + list slice-info { + description + "slice info"; + uses HW-MODULE-SLICE-INFO-B; + } + } + + grouping HW-MODULE-SLICE-CLIENT-TRAFFIC-SPLIT-INFO-B { + description + "HW MODULE SLICE CLIENT TRAFFIC SPLIT INFO B"; + leaf trunk-name { + type string { + length "0..64"; + } + description + "TrunkName"; + } + leaf if-index { + type uint32; + description + "IfIndex"; + } + leaf percentage { + type string { + length "0..8"; + } + description + "Percentage"; + } + } + + grouping HW-MODULE-SLICE-CLIENT-PORT-INFO-B { + description + "HW MODULE SLICE CLIENT PORT INFO B"; + leaf client-name { + type string { + length "0..64"; + } + description + "ClientName"; + } + leaf if-index { + type uint32; + description + "IfIndex"; + } + list trunk-port { + description + "trunk port"; + uses HW-MODULE-SLICE-CLIENT-TRAFFIC-SPLIT-INFO-B; + } + } + + grouping HW-MODULE-SLICE-INFO-B { + description + "HW MODULE SLICE INFO B"; + leaf slice-id { + type uint32; + description + "SliceId"; + } + leaf client-rate { + type Client-data-rate; + description + "ClientRate"; + } + leaf trunk-rate { + type Trunk-data-rate; + description + "TrunkRate"; + } + leaf hardware-status { + type Hw-module-slice-status; + description + "HardwareStatus"; + } + leaf dp-fpga-fw-type { + type string { + length "0..10"; + } + description + "DpFpgaFwType"; + } + leaf dp-fpga-fw-ver { + type string { + length "0..10"; + } + description + "DpFpgaFwVer"; + } + leaf need-upg { + type uint32; + description + "NeedUpg"; + } + leaf encryption-supported { + type boolean; + description + "EncryptionSupported"; + } + leaf lldp-drop-status { + type boolean; + description + "LldpDropStatus"; + } + list client-port { + description + "client port"; + uses HW-MODULE-SLICE-CLIENT-PORT-INFO-B; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper.yang new file mode 100644 index 0000000..32e5d6e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs1k-mxp-oper.yang @@ -0,0 +1,63 @@ +module Cisco-IOS-XR-ncs1k-mxp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs1k-mxp-oper"; + prefix ncs1k-mxp-oper; + + include Cisco-IOS-XR-ncs1k-mxp-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs1k-mxp package operational data. + + This module contains definitions + for the following management objects: + hw-module: mxp hw-module command chain + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hw-module { + config false; + description + "mxp hw-module command chain"; + container slice-ids { + description + "Slice information"; + list slice-id { + key "slice-num"; + description + "Per slice num data"; + leaf slice-num { + type int32; + description + "Details associated with a particular slice + number"; + } + uses HW-MODULE-SLICE-INFO-B; + } + } + container slice-all { + description + "Information for all slices"; + uses MXP-HWMOD-OP; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang new file mode 100644 index 0000000..9e8bcad --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1.yang @@ -0,0 +1,862 @@ +submodule Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs5500-coherent-node-oper { + prefix Cisco-IOS-XR-ncs5500-coherent-node-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-coherent-node package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PORTMODE-INFO { + description + "portmode entry of optics controller"; + leaf intf-name { + type string { + length "0..128"; + } + description + "intf name"; + } + leaf speed { + type string { + length "0..128"; + } + description + "speed"; + } + leaf fec { + type string { + length "0..128"; + } + description + "fec"; + } + leaf diff { + type string { + length "0..128"; + } + description + "diff"; + } + leaf modulation { + type string { + length "0..128"; + } + description + "modulation"; + } + } + + grouping COH-PORTMODE-ALL-DETAILS { + description + "Optics controllers port Information"; + leaf idx { + type uint32; + description + "dev map idx"; + } + list portmode-entry { + description + "portmode entry"; + uses PORTMODE-INFO; + } + } + + grouping COH-ETH-INTERFACE-DATA { + description + "Hundredgig interface data"; + leaf ifname { + type string { + length "0..64"; + } + description + "ifname"; + } + leaf intf-handle { + type string { + length "0..128"; + } + description + "intf handle"; + } + leaf admin-state { + type string { + length "0..128"; + } + description + "admin state"; + } + leaf admin-up { + type boolean; + description + "admin up"; + } + leaf is-created { + type boolean; + description + "is created"; + } + } + + grouping COH-ETH-INTERFACE-INFO { + description + "Hundredgig interface info"; + list eth-data { + description + "eth data"; + uses COH-ETH-INTERFACE-DATA; + } + } + + grouping COH-PLUGGABLE-INFO { + description + "Coherent pluggable information"; + leaf deviation { + type string { + length "0..16"; + } + description + "deviation"; + } + leaf part-number { + type string { + length "0..16"; + } + description + "part number"; + } + leaf serial-number { + type string { + length "0..16"; + } + description + "serial number"; + } + leaf date-code-number { + type string { + length "0..10"; + } + description + "date code number"; + } + leaf clei-code-number { + type string { + length "0..10"; + } + description + "CLEI code number"; + } + leaf vendorname { + type string { + length "0..16"; + } + description + "vendorname"; + } + leaf description { + type string { + length "0..64"; + } + description + "description"; + } + leaf pid { + type string { + length "0..16"; + } + description + "pid"; + } + leaf vid { + type string { + length "0..16"; + } + description + "vid"; + } + leaf module-hardware-version-number { + type uint16; + description + "module hardware version number"; + } + leaf module-firmware-running-version-number { + type uint16; + description + "module firmware running version number"; + } + leaf module-firmware-committed-version-number { + type uint16; + description + "module firmware committed version number"; + } + leaf ctp-type { + type uint32; + description + "ctp type"; + } + } + + grouping COH-PORT-DATA { + description + "Coherent front panel port data"; + container ctp-info { + description + "ctp info"; + uses COH-PLUGGABLE-INFO; + } + container interface-info { + description + "interface info"; + uses COH-ETH-INTERFACE-INFO; + } + leaf optics-ctrl-created { + type boolean; + description + "optics ctrl created"; + } + leaf dsp-ctrl-created { + type boolean; + description + "dsp ctrl created"; + } + leaf has-pluggable { + type boolean; + description + "has pluggable"; + } + leaf optics-admin-up { + type boolean; + description + "optics admin up"; + } + leaf dsp-admin-up { + type boolean; + description + "dsp admin up"; + } + leaf laser-state { + type boolean; + description + "laser state"; + } + leaf laser-on-pending { + type boolean; + description + "laser on pending"; + } + leaf provisioning-needed { + type boolean; + description + "provisioning needed"; + } + leaf force-reprovision { + type boolean; + description + "force reprovision"; + } + leaf fp-port-idx { + type uint32; + description + "fp port idx"; + } + leaf configured-frequency { + type uint32; + description + "configured frequency"; + } + leaf provisioned-frequency { + type uint32; + description + "provisioned frequency"; + } + leaf configured-tx-power { + type string { + length "0..128"; + } + description + "configured tx power"; + } + leaf provisioned-tx-power { + type string { + length "0..128"; + } + description + "provisioned tx power"; + } + leaf configured-cd-min { + type string { + length "0..128"; + } + description + "configured cd min"; + } + leaf provisioned-cd-min { + type string { + length "0..128"; + } + description + "provisioned cd min"; + } + leaf configured-cd-max { + type string { + length "0..128"; + } + description + "configured cd max"; + } + leaf provisioned-cd-max { + type string { + length "0..128"; + } + description + "provisioned cd max"; + } + leaf configured-traffic-type { + type string { + length "0..128"; + } + description + "configured traffic type"; + } + leaf provisioned-traffic-type { + type string { + length "0..128"; + } + description + "provisioned traffic type"; + } + leaf configured-loopback-mode { + type string { + length "0..128"; + } + description + "configured loopback mode"; + } + leaf provisioned-loopback-mode { + type string { + length "0..128"; + } + description + "provisioned loopback mode"; + } + leaf expected-ctp2-led-state { + type string { + length "0..128"; + } + description + "expected ctp2 led state"; + } + leaf provisioned-ctp2-led-state { + type string { + length "0..128"; + } + description + "provisioned ctp2 led state"; + } + leaf led-op-rc { + type int32; + description + "led op rc"; + } + leaf laser-op-rc { + type int32; + description + "laser op rc"; + } + leaf wlen-op-rc { + type int32; + description + "wlen op rc"; + } + leaf traffic-op-rc { + type int32; + description + "traffic op rc"; + } + leaf loopback-op-rc { + type int32; + description + "loopback op rc"; + } + leaf tx-power-op-rc { + type int32; + description + "tx power op rc"; + } + leaf cd-min-op-rc { + type int32; + description + "cd min op rc"; + } + leaf cd-max-op-rc { + type int32; + description + "cd max op rc"; + } + leaf provisioning-failed { + type boolean; + description + "provisioning failed"; + } + leaf ctp2-hw-alarms { + type string { + length "0..128"; + } + description + "ctp2 hw alarms"; + } + leaf denali-hw-alarms { + type string { + length "0..256"; + } + description + "denali hw alarms"; + } + leaf is-pm-port-created-opt { + type boolean; + description + "is pm port created opt"; + } + leaf rc-pm-port-opt { + type int32; + description + "rc pm port opt"; + } + leaf pm-port-state-opt { + type int32; + description + "pm port state opt"; + } + leaf rc-pm-provision-opt { + type int32; + description + "rc pm provision opt"; + } + leaf is-alarm-port-created-opt { + type boolean; + description + "is alarm port created opt"; + } + leaf rc-alarm-port-opt { + type int32; + description + "rc alarm port opt"; + } + leaf is-pm-port-created-dsp { + type boolean; + description + "is pm port created dsp"; + } + leaf rc-pm-port-dsp { + type int32; + description + "rc pm port dsp"; + } + leaf pm-port-state-dsp { + type int32; + description + "pm port state dsp"; + } + leaf rc-pm-provision-dsp { + type int32; + description + "rc pm provision dsp"; + } + leaf is-alarm-port-created-dsp { + type boolean; + description + "is alarm port created dsp"; + } + leaf rc-alarm-port-dsp { + type int32; + description + "rc alarm port dsp"; + } + } + + grouping COH-HEALTH-DATA { + description + "Coherent health Data"; + leaf im-state { + type boolean; + description + "im state"; + } + leaf aipc-srvr-state { + type boolean; + description + "aipc srvr state"; + } + leaf sysdb-state { + type boolean; + description + "sysdb state"; + } + leaf pm-state { + type boolean; + description + "pm state"; + } + leaf optics-ea-conn { + type boolean; + description + "optics ea conn"; + } + leaf dsp-ea-conn { + type boolean; + description + "dsp ea conn"; + } + leaf vether-state { + type boolean; + description + "vether state"; + } + leaf morgoth-alive { + type boolean; + description + "morgoth alive"; + } + leaf prov-infra-state { + type boolean; + description + "prov infra state"; + } + leaf sdk-fpga-compatible { + type boolean; + description + "sdk fpga compatible"; + } + leaf pending-provision { + type boolean; + description + "pending provision"; + } + leaf pulse-sent { + type boolean; + description + "pulse sent"; + } + leaf inside-prov-loop { + type boolean; + description + "inside prov loop"; + } + leaf fpd-in-progress { + type boolean; + description + "fpd in progress"; + } + leaf prov-run-count { + type uint32; + description + "prov run count"; + } + leaf sdk-version { + type string { + length "0..255"; + } + description + "sdk version"; + } + leaf morgoth-running-version { + type string { + length "0..255"; + } + description + "morgoth running version"; + } + leaf morgoth-downloaded-version { + type string { + length "0..255"; + } + description + "morgoth downloaded version"; + } + leaf morgoth-golden-version { + type string { + length "0..255"; + } + description + "morgoth golden version"; + } + leaf denali0-version { + type string { + length "0..255"; + } + description + "denali0 version"; + } + leaf denali1-version { + type string { + length "0..255"; + } + description + "denali1 version"; + } + leaf denali2-version { + type string { + length "0..255"; + } + description + "denali2 version"; + } + leaf board-type { + type string { + length "0..255"; + } + description + "board type"; + } + leaf jlink-op { + type string { + length "0..6144"; + } + description + "jlink op"; + } + list port-data { + description + "port data"; + uses COH-PORT-DATA; + } + } + + grouping COH-DEV-MAP-ENTRY { + description + "coherent device mapping entry"; + leaf device-address { + type string { + length "0..128"; + } + description + "device address"; + } + leaf ifhandle { + type string { + length "0..128"; + } + description + "ifhandle"; + } + leaf intf-name { + type string { + length "0..64"; + } + description + "intf name"; + } + } + + grouping COH-DEV-MAP-DATA { + description + "Coherent device mapping Information"; + leaf idx { + type uint32; + description + "idx"; + } + list dev-map { + description + "dev map"; + uses COH-DEV-MAP-ENTRY; + } + } + + grouping COH-PORT-OP-STATS { + description + "Port specific op stats"; + container laser-on-stats { + description + "laser on stats"; + uses COH-OP-TIME-STATS; + } + container laser-off-stats { + description + "laser off stats"; + uses COH-OP-TIME-STATS; + } + container wl-op-stats { + description + "wl op stats"; + uses COH-OP-TIME-STATS; + } + container txpwr-op-stats { + description + "txpwr op stats"; + uses COH-OP-TIME-STATS; + } + container cdmin-op-stats { + description + "cdmin op stats"; + uses COH-OP-TIME-STATS; + } + container cdmax-op-stats { + description + "cdmax op stats"; + uses COH-OP-TIME-STATS; + } + container traffictype-op-stats { + description + "traffictype op stats"; + uses COH-OP-TIME-STATS; + } + leaf laser-state { + type boolean; + description + "laser state"; + } + leaf provisioned-frequency { + type uint32; + description + "provisioned frequency"; + } + leaf tx-power { + type uint32; + description + "tx power"; + } + leaf cd-min { + type uint32; + description + "cd min"; + } + leaf cd-max { + type uint32; + description + "cd max"; + } + leaf traffic-type { + type string { + length "0..128"; + } + description + "traffic type"; + } + } + + grouping COH-OP-TIME-STATS { + description + "Coherent operation stats"; + leaf start { + type string { + length "0..255"; + } + description + "start"; + } + leaf end { + type string { + length "0..255"; + } + description + "end"; + } + leaf time-taken { + type string { + length "0..255"; + } + description + "time taken"; + } + leaf worst-time { + type string { + length "0..255"; + } + description + "worst time"; + } + } + + grouping COH-TIME-STATS { + description + "Coherent driver time stats"; + container opts-ea-bulk-create { + description + "opts ea bulk create"; + uses COH-OP-TIME-STATS; + } + container opts-ea-bulk-update { + description + "opts ea bulk update"; + uses COH-OP-TIME-STATS; + } + container dsp-ea-bulk-create { + description + "dsp ea bulk create"; + uses COH-OP-TIME-STATS; + } + container dsp-ea-bulk-update { + description + "dsp ea bulk update"; + uses COH-OP-TIME-STATS; + } + leaf driver-init { + type string { + length "0..255"; + } + description + "driver init"; + } + leaf driver-operational { + type string { + length "0..255"; + } + description + "driver operational"; + } + leaf device-created { + type string { + length "0..255"; + } + description + "device created"; + } + leaf optics-controllers-created { + type string { + length "0..255"; + } + description + "optics controllers created"; + } + leaf dsp-controllers-created { + type string { + length "0..255"; + } + description + "dsp controllers created"; + } + leaf eth-intf-created { + type string { + length "0..255"; + } + description + "eth intf created"; + } + list port-stat { + description + "port stat"; + uses COH-PORT-OP-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang new file mode 100644 index 0000000..eecfe36 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-node-oper.yang @@ -0,0 +1,80 @@ +module Cisco-IOS-XR-ncs5500-coherent-node-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-node-oper"; + prefix ncs5500-coherent-node-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs5500-coherent-node-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-coherent-node package operational data. + + This module contains definitions + for the following management objects: + coherent: Coherent node operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container coherent { + config false; + description + "Coherent node operational data"; + container nodes { + description + "Coherent list of nodes"; + list node { + key "node-name"; + description + "Coherent discovery operational data for a + particular node"; + container coherent-time-stats { + description + "Coherent driver performace information"; + uses COH-TIME-STATS; + } + container devicemapping { + description + "Coherent node data for device _mapping"; + uses COH-DEV-MAP-DATA; + } + container coherenthealth { + description + "Coherent node data for driver health"; + uses COH-HEALTH-DATA; + } + container port-mode-all-info { + description + "PortMode all operational data"; + uses COH-PORTMODE-ALL-DETAILS; + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang new file mode 100644 index 0000000..ba2962e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg.yang @@ -0,0 +1,117 @@ +module Cisco-IOS-XR-ncs5500-coherent-portmode-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg"; + prefix ncs5500-coherent-portmode-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-coherent-portmode package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Diff-sel { + type enumeration { + enum "disable" { + value 0; + description + "disable differential"; + } + enum "enable" { + value 1; + description + "enable differential"; + } + } + description + "Diff sel"; + } + + typedef Fec-sel { + type enumeration { + enum "15percent" { + value 0; + description + "FEC 15"; + } + enum "25percent" { + value 1; + description + "FEC 25"; + } + } + description + "Fec sel"; + } + + typedef Speed-sel { + type enumeration { + enum "100g" { + value 100000000; + description + "Speed 100"; + } + enum "150g" { + value 150000000; + description + "Speed 150"; + } + enum "200g" { + value 200000000; + description + "Speed 200"; + } + } + description + "Speed sel"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container portmode { + description + "Configure through port-mode"; + leaf speed-sel { + type Speed-sel; + description + "Select speed"; + } + leaf fec-sel { + type Fec-sel; + description + "Select Fec"; + } + leaf diff-sel { + type Diff-sel; + description + "Select Diff"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang new file mode 100644 index 0000000..29bcb83 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1.yang @@ -0,0 +1,69 @@ +submodule Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs5500-coherent-portmode-oper { + prefix Cisco-IOS-XR-ncs5500-coherent-portmode-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-coherent-portmode package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PORTMODE-INFO { + description + "portmode entry of optics controller"; + leaf intf-name { + type string { + length "0..128"; + } + description + "intf name"; + } + leaf speed { + type string { + length "0..128"; + } + description + "speed"; + } + leaf fec { + type string { + length "0..128"; + } + description + "fec"; + } + leaf diff { + type string { + length "0..128"; + } + description + "diff"; + } + leaf modulation { + type string { + length "0..128"; + } + description + "modulation"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang new file mode 100644 index 0000000..ab6d665 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-coherent-portmode-oper.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-ncs5500-coherent-portmode-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-portmode-oper"; + prefix ncs5500-coherent-portmode-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs5500-coherent-portmode-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-coherent-portmode package operational data. + + This module contains definitions + for the following management objects: + controller-port-mode: Coherent PortMode operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container controller-port-mode { + config false; + description + "Coherent PortMode operational data"; + list optics-name { + key "interface-name"; + description + "Name of optics controller"; + container port-mode-info { + description + "PortMode operational data"; + uses PORTMODE-INFO; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang new file mode 100644 index 0000000..a41b4d2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub1.yang @@ -0,0 +1,132 @@ +submodule Cisco-IOS-XR-ncs5500-qos-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs5500-qos-oper { + prefix Cisco-IOS-XR-ncs5500-qos-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-qos package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping WRED-PROFILE { + description + "WRED PROFILE"; + leaf min-threshold { + type uint32; + description + "Minimum Threshold"; + } + leaf max-threshold { + type uint32; + description + "Maximum Threshold"; + } + leaf drop-probability { + type uint32; + description + "Drop Probability"; + } + } + + grouping REMOTE-CLASS { + description + "REMOTE CLASS"; + leaf class-name { + type string { + length "0..64"; + } + description + "Class Name"; + } + leaf class-id { + type uint32; + description + "Class ID"; + } + leaf cos-q { + type uint32; + description + "Class of Service Queue"; + } + leaf queue-limit { + type uint32; + units "byte"; + description + "Default/Configured queue limit in bytes"; + } + leaf hardware-queue-limit { + type uint32; + units "byte"; + description + "Hardware queue limit in bytes"; + } + list wred { + max-elements "4"; + description + "Default/Configured WRED profiles"; + uses WRED-PROFILE; + } + list hw-wred { + max-elements "4"; + description + "Hardware WRED profiles"; + uses WRED-PROFILE; + } + } + + grouping DNX-QOSEA-SHOW-REMOTE-IF-INFO-ST { + description + "Remote Interface Info"; + leaf policy-name { + type string { + length "0..64"; + } + description + "Policy Name"; + } + leaf virtual-output-queue-statistics-handle { + type uint64; + description + "Virtual output queue statistics handle"; + } + leaf interface-handle { + type uint32; + description + "Interface Handle"; + } + leaf number-of-virtual-output-queues { + type uint32; + description + "Number of Virtual Output Queues"; + } + leaf number-of-classes { + type uint32; + description + "Number of Classes"; + } + list remote-class { + description + "Remote Class array"; + uses REMOTE-CLASS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang new file mode 100644 index 0000000..95b75d8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper-sub2.yang @@ -0,0 +1,756 @@ +submodule Cisco-IOS-XR-ncs5500-qos-oper-sub2 { + belongs-to Cisco-IOS-XR-ncs5500-qos-oper { + prefix Cisco-IOS-XR-ncs5500-qos-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-qos package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Dnx-qosea-show-wred { + type enumeration { + enum "wred-cos" { + description + "WRED based on COS"; + } + enum "wred-dscp" { + description + "WRED based on DSCP"; + } + enum "wred-precedence" { + description + "WRED based on Precedence"; + } + enum "wred-discard-class" { + description + "WRED based on discard class"; + } + enum "wred-mpls-exp" { + description + "WRED based on MPLS EXP"; + } + enum "red-with-user-min-max" { + description + "RED with user defined min and max"; + } + enum "red-with-default-min-max" { + description + "RED with default min and max"; + } + enum "wred-invalid" { + description + "Invalid"; + } + } + description + "WRED type"; + } + + typedef Dnx-qosea-show-action { + type enumeration { + enum "action-none" { + description + "None"; + } + enum "action-transmit" { + description + "Transmit"; + } + enum "action-drop" { + description + "Drop"; + } + enum "action-mark" { + description + "Mark"; + } + } + description + "Policer action type"; + } + + typedef Policy-param-unit { + type enumeration { + enum "policy-param-unit-invalid" { + description + "policy param unit invalid"; + } + enum "policy-param-unit-bytes" { + description + "policy param unit bytes"; + } + enum "policy-param-unit-kbytes" { + description + "policy param unit kbytes"; + } + enum "policy-param-unit-mbytes" { + description + "policy param unit mbytes"; + } + enum "policy-param-unit-gbytes" { + description + "policy param unit gbytes"; + } + enum "policy-param-unit-bitsps" { + description + "policy param unit bitsps"; + } + enum "policy-param-unit-kbitsps" { + description + "policy param unit kbitsps"; + } + enum "policy-param-unit-mbitsps" { + description + "policy param unit mbitsps"; + } + enum "policy-param-unit-gbitsps" { + description + "policy param unit gbitsps"; + } + enum "policy-param-unit-cells-ps" { + description + "policy param unit cells ps"; + } + enum "policy-param-unit-packets-ps" { + description + "policy param unit packets ps"; + } + enum "policy-param-unit-us" { + description + "policy param unit us"; + } + enum "policy-param-unit-ms" { + description + "policy param unit ms"; + } + enum "policy-param-unit-seconds" { + description + "policy param unit seconds"; + } + enum "policy-param-unit-packets" { + description + "policy param unit packets"; + } + enum "policy-param-unit-cells" { + description + "policy param unit cells"; + } + enum "policy-param-unit-percent" { + description + "policy param unit percent"; + } + enum "policy-param-unit-per-thousand" { + description + "policy param unit per thousand"; + } + enum "policy-param-unit-per-million" { + description + "policy param unit per million"; + } + enum "policy-param-unit-hz" { + description + "policy param unit hz"; + } + enum "policy-param-unit-khz" { + description + "policy param unit khz"; + } + enum "policy-param-unit-mhz" { + description + "policy param unit mhz"; + } + enum "policy-param-unit-ratio" { + description + "policy param unit ratio"; + } + enum "policy-param-unit-max" { + description + "policy param unit max"; + } + } + description + "Policy param unit"; + } + + typedef Dnx-qosea-show-hp-level { + type enumeration { + enum "high-priority-level1" { + description + "High priority queue level 1"; + } + enum "high-priority-level2" { + description + "High priority queue level 2"; + } + enum "high-priority-level3" { + description + "High priority queue level 3"; + } + enum "high-priority-level4" { + description + "High priority queue level 4"; + } + enum "high-priority-level5" { + description + "High priority queue level 5"; + } + enum "high-priority-level6" { + description + "High priority queue level 6"; + } + enum "high-priority-level7" { + description + "High priority queue level 7"; + } + enum "unknown" { + description + "Unknown"; + } + } + description + "Priority level"; + } + + typedef Dnx-qosea-show-queue { + type enumeration { + enum "low-priority-default-queue" { + description + "Low priority default queue"; + } + enum "low-priority-queue" { + description + "Low priority queue"; + } + enum "high-priority-queue" { + description + "High priority queue"; + } + enum "unknown-queue-type" { + description + "Queue priority unknown"; + } + } + description + "Priority Queue Type"; + } + + typedef Dnx-qosea-show-mark { + type enumeration { + enum "mark-none" { + description + "None"; + } + enum "dscp" { + description + "DSCP"; + } + enum "precedence" { + description + "Precedence"; + } + enum "mpls-topmost" { + description + "MPLS topmost"; + } + enum "mpls-imposition" { + description + "MPLS imposition"; + } + enum "qos-group" { + description + "Qos group"; + } + enum "discard-class" { + description + "Discard class"; + } + enum "cos" { + description + "COS"; + } + enum "inner-cos" { + description + "Inner COS"; + } + enum "un-supported9" { + description + "Unsupported type 9"; + } + enum "un-supported10" { + description + "Unsupported type 10"; + } + enum "dscp-tunnel" { + description + "DSCP tunnel"; + } + enum "precedence-tunnel" { + description + "Precedence tunnel"; + } + enum "dei" { + description + "DEI"; + } + enum "dei-imposition" { + description + "DEI Imposition"; + } + } + description + "Mark type"; + } + + typedef Dnx-qosea-show-level { + type enumeration { + enum "level1" { + value 0; + description + "QoS level1 class"; + } + enum "level2" { + value 1; + description + "QoS level2 class"; + } + enum "level3" { + value 2; + description + "QoS level3 class"; + } + enum "level4" { + value 3; + description + "QoS level4 class"; + } + enum "level5" { + value 4; + description + "QoS level5 class"; + } + } + description + "Level type"; + } + + typedef Dnx-qosea-show-intf-status { + type enumeration { + enum "state-unknown" { + description + "State is unknown"; + } + enum "state-down" { + description + "State is Down"; + } + } + description + "Intf Status"; + } + + typedef Dnx-qosea-show-policy-status { + type enumeration { + enum "no-error" { + description + "No errors"; + } + enum "policy-in-reset" { + description + "QoS policy is reset"; + } + } + description + "Status"; + } + + typedef Qos-policy-account-enum { + type enumeration { + enum "qos-serv-policy-no-ac-count-pref" { + description + "qos serv policy no ac count pref"; + } + enum "qos-serv-policy-ac-count-l2" { + description + "qos serv policy ac count l2"; + } + enum "qos-serv-policy-no-ac-count-l2" { + description + "qos serv policy no ac count l2"; + } + enum "qos-serv-policy-ac-count-user-def" { + description + "qos serv policy ac count user def"; + } + enum "qos-serv-policy-ac-count-l1" { + description + "qos serv policy ac count l1"; + } + } + description + "Qos policy account enum"; + } + + grouping QOS-RANGE { + description + "QOS RANGE"; + leaf range-start { + type uint8; + description + "Start value of a range"; + } + leaf range-end { + type uint8; + description + "End value of a range"; + } + } + + grouping DNX-QOSEA-SHOW-RED-MATCH-VALUES { + description + "DNX QOSEA SHOW RED MATCH VALUES"; + list dnx-qosea-show-red-match-value { + description + "dnx qosea show red match value"; + uses QOS-RANGE; + } + } + + grouping PARAMETERS { + description + "WRED parameters"; + container wred-match-value { + description + "WRED match values"; + uses DNX-QOSEA-SHOW-RED-MATCH-VALUES; + } + container config-min-threshold { + description + "Configured minimum threshold"; + uses POLICY-PARAMETER; + } + container config-max-threshold { + description + "Configured maximum threshold"; + uses POLICY-PARAMETER; + } + leaf wred-match-type { + type Dnx-qosea-show-wred; + description + "WREDMatchType"; + } + leaf hardware-min-threshold-bytes { + type uint32; + description + "Hardware minimum threshold"; + } + leaf hardware-max-threshold-bytes { + type uint32; + description + "Hardware maximum threshold"; + } + leaf first-segment { + type uint16; + description + "First segment"; + } + leaf segment-size { + type uint32; + description + "Segment size"; + } + } + + grouping POLICER-ACTION { + description + "POLICER ACTION"; + leaf action-type { + type Dnx-qosea-show-action; + description + "Policer action type"; + } + list mark { + description + "Action mark"; + uses QOS-MARK; + } + } + + grouping POLICY-PARAMETER { + description + "Policy parameter"; + leaf policy-value { + type uint32; + description + "Policy value"; + } + leaf policy-unit { + type Policy-param-unit; + description + "Policy unit"; + } + } + + grouping QOS-MARK { + description + "QoS mark"; + leaf mark-type { + type Dnx-qosea-show-mark; + description + "Mark type"; + } + leaf mark-value { + type uint16; + description + "Mark value"; + } + } + + grouping DNX-QOSEA-SHOW-CLASS-ST { + description + "QoS policy"; + container config-max-rate { + description + "Configured maximum rate"; + uses POLICY-PARAMETER; + } + container config-min-rate { + description + "Configured minimum rate"; + uses POLICY-PARAMETER; + } + container config-queue-limit { + description + "Configured queue limit"; + uses POLICY-PARAMETER; + } + container config-policer-average-rate { + description + "Configured policer average rate"; + uses POLICY-PARAMETER; + } + container config-policer-peak-rate { + description + "Config policer peak rate"; + uses POLICY-PARAMETER; + } + container config-policer-conform-burst { + description + "Configured policer conform burst"; + uses POLICY-PARAMETER; + } + container config-policer-excess-burst { + description + "Configured policer excess burst"; + uses POLICY-PARAMETER; + } + container conform-action { + description + "Conform action"; + uses POLICER-ACTION; + } + container exceed-action { + description + "Exceed action"; + uses POLICER-ACTION; + } + container violate-action { + description + "Violate action"; + uses POLICER-ACTION; + } + leaf class-level { + type Dnx-qosea-show-level; + description + "Class level"; + } + leaf egress-queue-id { + type int32; + description + "Egress Queue ID"; + } + leaf queue-type { + type Dnx-qosea-show-queue; + description + "Queue type"; + } + leaf priority-level { + type Dnx-qosea-show-hp-level; + description + "Priority level"; + } + leaf hardware-max-rate-kbps { + type uint32; + units "kbit/s"; + description + "Hardware maximum rate in kbps"; + } + leaf hardware-min-rate-kbps { + type uint32; + units "kbit/s"; + description + "Hardware minimum rate in kbps"; + } + leaf config-excess-bandwidth-percent { + type uint32; + units "percentage"; + description + "Configured excess bandwidth percentage"; + } + leaf config-excess-bandwidth-unit { + type uint32; + description + "Configured excess bandwidth unit"; + } + leaf hardware-excess-bandwidth-weight { + type uint32; + description + "Hardware excess bandwidth weight"; + } + leaf network-min-bandwidth-kbps { + type uint32; + description + "Network minimum Bandwith"; + } + leaf hardware-queue-limit-bytes { + type uint64; + units "byte"; + description + "Hardware queue limit in bytes"; + } + leaf hardware-queue-limit-microseconds { + type uint64; + units "microsecond"; + description + "Hardware queue limit in microseconds"; + } + leaf policer-bucket-id { + type uint32; + description + "PolicerBucketID"; + } + leaf policer-stats-handle { + type uint64; + description + "PolicerStatsHandle"; + } + leaf hardware-policer-average-rate-kbps { + type uint32; + units "kbit/s"; + description + "Hardware policer average in kbps"; + } + leaf hardware-policer-peak-rate-kbps { + type uint32; + description + "Hardware policer peak rate"; + } + leaf hardware-policer-conform-burst-bytes { + type uint32; + description + "Hardware policer conform burst"; + } + leaf hardware-policer-excess-burst-bytes { + type uint32; + description + "Hardware policer excess burst"; + } + list ip-mark { + description + "IP mark"; + uses QOS-MARK; + } + list common-mark { + description + "Common mark"; + uses QOS-MARK; + } + list mpls-mark { + description + "MPLS mark"; + uses QOS-MARK; + } + list wred { + description + "WRED parameters"; + uses PARAMETERS; + } + } + + grouping DNX-QOSEA-SHOW-IF-QOS-INFO-ST { + description + "Policy Details"; + leaf npu-id { + type uint32; + description + "NPU ID"; + } + leaf interface-handle { + type uint32; + description + "InterfaceHandle"; + } + leaf interface-bandwidth-kbps { + type uint32; + units "kbit/s"; + description + "Interface Bandwidth (in kbps)"; + } + leaf policy-name { + type string { + length "0..64"; + } + description + "Policy name"; + } + leaf total-number-of-classes { + type uint16; + description + "Number of Classes"; + } + leaf voq-base-address { + type uint32; + description + "VOQ base address"; + } + leaf voq-stats-handle { + type uint64; + description + "VOQ stats handle"; + } + leaf stats-accounting-type { + type Qos-policy-account-enum; + description + "QoS Statistics Accounting Type"; + } + leaf policy-status { + type Dnx-qosea-show-policy-status; + description + "Policy Status"; + } + leaf interface-status { + type Dnx-qosea-show-intf-status; + description + "Interface Status"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper.yang new file mode 100644 index 0000000..80bb379 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5500-qos-oper.yang @@ -0,0 +1,203 @@ +module Cisco-IOS-XR-ncs5500-qos-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-qos-oper"; + prefix ncs5500-qos-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs5500-qos-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ncs5500-qos-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs5500-qos package operational data. + + This module contains definitions + for the following management objects: + platform-qos: DNX QoS EA operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping POLICY-DETAILS { + description + "Common node of interface, bundle-interface-single + , bundle-interface, member-interface"; + container policy-details { + description + "Policy Details"; + uses DNX-QOSEA-SHOW-IF-QOS-INFO-ST; + } + } + + grouping MEMBER-INTERFACE-TABLE { + description + "Common node of bundle-interface-single, + bundle-interface"; + container member-interfaces { + description + "QoS list of member interfaces"; + list member-interface { + key "interface-name"; + description + "QoS interface names"; + leaf interface-name { + type xr:Interface-name; + description + "Member interface"; + } + uses POLICY-DETAILS; + uses CLASS-TABLE; + } + } + } + + grouping CLASS-TABLE { + description + "Common node of interface, bundle-interface-single + , bundle-interface, member-interface"; + container classes { + description + "QoS list of class names"; + list class { + key "level-one-class-name"; + description + "QoS policy class"; + leaf level-one-class-name { + type string; + description + "QoS policy class name at level 1"; + } + leaf level-two-class-name { + type string; + description + "QoS policy child class name at level 2"; + } + uses DNX-QOSEA-SHOW-CLASS-ST; + } + } + } + + container platform-qos { + config false; + description + "DNX QoS EA operational data"; + container nodes { + description + "List of nodes with platform specific QoS + configuration"; + list node { + key "node-name"; + description + "Node with platform specific QoS configuration"; + container bundle-interfaces { + description + "QoS list of bundle interfaces"; + list bundle-interface { + description + "QoS interface names"; + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + leaf npu-id { + type int32; + description + "NPU ID"; + } + leaf qos-direction { + type string; + description + "The interface direction on which QoS is + applied to."; + } + uses POLICY-DETAILS; + uses MEMBER-INTERFACE-TABLE; + uses CLASS-TABLE; + } + } + container interfaces { + description + "QoS list of interfaces"; + list interface { + key "interface-name"; + description + "QoS interface names"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + leaf qos-direction { + type string; + description + "The interface direction on which QoS is + applied to."; + } + uses POLICY-DETAILS; + uses CLASS-TABLE; + } + } + container bundle-interface-singles { + description + "QoS list of bundle interfaces"; + list bundle-interface-single { + key "interface-name"; + description + "QoS interface names"; + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + uses POLICY-DETAILS; + uses MEMBER-INTERFACE-TABLE; + uses CLASS-TABLE; + } + } + container remote-interfaces { + description + "QoS list of remote interfaces"; + list remote-interface { + key "interface-name"; + description + "QoS remote interface names"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the remote interface"; + } + uses DNX-QOSEA-SHOW-REMOTE-IF-INFO-ST; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang new file mode 100644 index 0000000..2dba448 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg.yang @@ -0,0 +1,67 @@ +module Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5k-fea-pfilter-nonatomic-cfg"; + prefix ncs5k-fea-pfilter-nonatomic-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs5k-fea-pfilter-nonatomic package configuration. + + This module contains definitions + for the following management objects: + hardware: Hardware + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-01 { + description + "Implementing Conf Yang Model for Non-Atomic ACL"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Atomic-disable-dflt-actn { + type enumeration { + enum "default-action-deny" { + value 1; + description + "Drops traffic during modification"; + } + enum "default-action-permit" { + value 2; + description + "Forward traffic during modification"; + } + } + description + "Atomic disable dflt actn"; + } + + container hardware { + description + "Hardware"; + container access-list { + description + "Access-list option"; + leaf atomic-disable { + type Atomic-disable-dflt-actn; + description + "Specify Option for Atomic disable"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang new file mode 100644 index 0000000..051cc9c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper-sub1.yang @@ -0,0 +1,525 @@ +submodule Cisco-IOS-XR-ncs6k-acl-oper-sub1 { + belongs-to Cisco-IOS-XR-ncs6k-acl-oper { + prefix Cisco-IOS-XR-ncs6k-acl-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ncs6k-acl package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "adding PD yang."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sse-ipv6-address { + type inet:ipv6-address; + description + "Sse ipv6 address"; + } + + typedef Sse-ipv4-address { + type inet:ipv4-address; + description + "Sse ipv4 address"; + } + + typedef Sse-pfilter-addr { + type enumeration { + enum "ipv4" { + description + "IPv4"; + } + enum "ipv6" { + description + "IPv6"; + } + } + description + "Address types"; + } + + typedef Sse-grant { + type enumeration { + enum "permit" { + value 1; + description + "Grant permit"; + } + enum "deny" { + value 2; + description + "Grant deny"; + } + } + description + "ACL grant"; + } + + grouping SSE-PFILTER-EA-ACE-BRIEF { + description + "Pfilter ACE Brief information across Slices"; + list common-acl { + description + "Common ACL information across Slices"; + uses SSE-PFILTER-EA-ACE-DATA-BRIEF; + } + list interface-acl { + description + "Interface ACL information across Slices"; + uses SSE-PFILTER-EA-ACE-DATA-BRIEF; + } + } + + grouping SSE-PFILTER-EA-ACE-DETAIL { + description + "Pfilter ACE detail information across Slices"; + list common-acl-detail { + description + "Common ACL detail information across Slices"; + uses SSE-PFILTER-EA-ACE-DATA-DETAIL; + } + list interface-acl-detail { + description + "Interface ACL detail information across Slices"; + uses SSE-PFILTER-EA-ACE-DATA-DETAIL; + } + } + + grouping SSE-PFILTER-IPV6-TCAM { + description + "Pfilter ipv6 TCAM entry"; + container tcp-flags { + description + "TCP flags"; + uses SSE-PFILTER-TCP-FLAGS; + } + leaf acl-id { + type uint16; + description + "ACL ID"; + } + leaf protocol { + type uint8; + description + "protocol flags"; + } + leaf layer4-source-port { + type uint32; + description + "Layer 4 source port"; + } + leaf layer4-destination-port { + type uint16; + description + "Layer 4 destination port"; + } + leaf source-range-id { + type uint32; + description + "Source range"; + } + leaf destination-range-id { + type uint32; + description + "Destination range ID"; + } + leaf destination-header { + type uint8; + description + "Destination header"; + } + leaf receive-transition-gap-header { + type uint8; + description + "Receive/transmit transition gap header"; + } + leaf authentication-header { + type uint8; + description + "Authentication header"; + } + leaf fragment { + type uint8; + description + "Fragment"; + } + leaf tos { + type uint8; + description + "TOS"; + } + leaf packet-length-range { + type uint32; + description + "Packet length range ID"; + } + } + + grouping SSE-PFILTER-TCAM-ENTRY-IPV6 { + description + "Pfilter TCAM entry for Pita"; + container value { + description + "IPv6 TCAM value"; + uses SSE-PFILTER-IPV6-TCAM; + } + container mask { + description + "IPv6 TCAM mask"; + uses SSE-PFILTER-IPV6-TCAM; + } + container result { + description + "IPv6 TCAM result"; + uses SSE-PFILTER-IPV6-TCAM; + } + leaf source-address { + type inet:ipv6-address; + description + "Source address"; + } + leaf source-address-mask { + type inet:ipv6-address; + description + "Source address mask"; + } + leaf destination-address { + type inet:ipv6-address; + description + "Destination address"; + } + leaf destination-address-mask { + type inet:ipv6-address; + description + "Destination address mask"; + } + } + + grouping SSE-IPV6-PFILTER-TCAM { + description + "IPv6 pfilter TCAM"; + container tcam-entry { + description + "TCAM entries"; + uses SSE-PFILTER-TCAM-ENTRY-IPV6; + } + } + + grouping SSE-PFILTER-TCP-FLAGS { + description + "TCP flags"; + leaf urgent { + type uint8; + description + "TCP urgent flag"; + } + leaf acknowledge { + type uint8; + description + "TCP acknowledge flag"; + } + leaf push { + type uint8; + description + "TCP push flag"; + } + leaf reset { + type uint8; + description + "TCP reset flag"; + } + leaf synchronization { + type uint8; + description + "TCP synchronization flag"; + } + leaf finish { + type uint8; + description + "TCP finish flag"; + } + } + + grouping SSE-PFILTER-IPV4-TCAM { + description + "Pfilter IPv4 TCAM entry"; + container tcp-flags { + description + "TCP flag value"; + uses SSE-PFILTER-TCP-FLAGS; + } + leaf acl-id { + type uint16; + description + "ACL ID"; + } + leaf source-range-id { + type uint16; + description + "Source range ID"; + } + leaf destination-range-id { + type uint16; + description + "Destination range ID"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source address"; + } + leaf protocol { + type uint8; + description + "protocol flags"; + } + leaf fragment { + type uint16; + description + "Fragment"; + } + leaf dscp { + type uint8; + description + "DSCP"; + } + leaf ttl { + type uint32; + description + "TTL"; + } + leaf layer4-source-port { + type uint16; + description + "Layer 4 source port"; + } + leaf destination-address { + type inet:ipv4-address; + description + "Destination address"; + } + leaf layer4-destination-port { + type uint16; + description + "Layer 4 destination port"; + } + leaf packet-length-range { + type uint8; + description + "Packet length range ID"; + } + } + + grouping SSE-PFILTER-TCAM-ENTRY-IPV4 { + description + "Pfilter TCAM entry for Pita"; + container value { + description + "Pfilter IPv4 TCAM value"; + uses SSE-PFILTER-IPV4-TCAM; + } + container mask { + description + "Pfilter IPv4 TCAM mask"; + uses SSE-PFILTER-IPV4-TCAM; + } + container result { + description + "Pfilter IPv4 TCAM result"; + uses SSE-PFILTER-IPV4-TCAM; + } + } + + grouping SSE-IPV4-PFILTER-TCAM { + description + "IPv4 pfilter TCAM"; + container tcam-entry { + description + "TCAM entries"; + uses SSE-PFILTER-TCAM-ENTRY-IPV4; + } + } + + grouping SSE-PFILTER-EA-ACE { + description + "Pfilter ACL hardware detail"; + container ipv4tcam { + description + "IPv4 TCAM entries"; + uses SSE-IPV4-PFILTER-TCAM; + } + container ipv6tcam { + description + "IPv6 TCAM entries"; + uses SSE-IPV6-PFILTER-TCAM; + } + leaf entry-id { + type int32; + description + "Entry ID"; + } + } + + grouping SSE-PFILTER-NEXT-HOP-ADDR-TYPE { + description + "SSE PFILTER NEXT HOP ADDR TYPE"; + leaf address-type { + type Sse-pfilter-addr; + description + "AddressType"; + } + leaf ipv4-address { + when "../address-type = 'ipv4'" { + description + "../AddressType = 'IPv4'"; + } + type Sse-ipv4-address; + description + "IPv4 address type"; + } + leaf ipv6-address { + when "../address-type = 'ipv6'" { + description + "../AddressType = 'IPv6'"; + } + type Sse-ipv6-address; + description + "IPv6 address type"; + } + } + + grouping SSE-PFILTER-EA-ACE-DATA-BRIEF { + description + "Pfilter ACL hardware brief"; + container next-hop-address { + description + "Next hop address"; + uses SSE-PFILTER-NEXT-HOP-ADDR-TYPE; + } + leaf grant { + type Sse-grant; + description + "Either permit or deny"; + } + leaf logging-enabled { + type boolean; + description + "Logging enabled/disabled"; + } + leaf per-ace-icmp-enabled { + type boolean; + description + "Per ACE ICMP enabled/disabled"; + } + leaf next-hop-enabled { + type boolean; + description + "Next hop enabled/disabled"; + } + leaf default-next-hop-enabled { + type boolean; + description + "Default next hop enabled/disabled"; + } + leaf total-tcam-entries { + type uint32; + description + "Number of TCAM entries"; + } + leaf hits { + type uint64; + description + "Number of TCAM hits"; + } + leaf npu-id { + type uint8; + description + "NPU Id"; + } + } + + grouping SSE-PFILTER-EA-ACE-DATA-DETAIL { + description + "Pfilter ACL ACE details"; + container ace-brief { + description + "ACE brief information"; + uses SSE-PFILTER-EA-ACE-DATA-BRIEF; + } + list ace-detail { + description + "ACE detail information"; + uses SSE-PFILTER-EA-ACE; + } + } + + grouping SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL { + description + "Pfilter ACL implicit info"; + container implicit-ndna-permit { + description + "Implicit NDNA permit"; + uses SSE-PFILTER-EA-ACE-DATA-DETAIL; + } + container implicit-ndns-permit { + description + "Implicit NDNS permit"; + uses SSE-PFILTER-EA-ACE-DATA-DETAIL; + } + container implicit-deny { + description + "Implicit deny"; + uses SSE-PFILTER-EA-ACE-DATA-DETAIL; + } + } + + grouping SSE-PFILTER-EA-ACE-IMPLICIT-DETAIL { + description + "Pfilter ACL implicit details for Common/Interface + ACL"; + container common-acl-implicit { + description + "Common ACL Implicit Entries"; + uses SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL; + } + container interface-acl-implicit { + description + "Interface ACL Implicit Entries"; + uses SSE-PFILTER-EA-ACE-IMPLICIT-INTERNAL; + } + } + + grouping SSE-PFILTER-EA-ACE-IMPLICIT { + description + "Pfilter ACL implicit details across Slices"; + list implicit-acl { + description + "Implicit ACL Entries across Slices"; + uses SSE-PFILTER-EA-ACE-IMPLICIT-DETAIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper.yang new file mode 100644 index 0000000..c2dc403 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ncs6k-acl-oper.yang @@ -0,0 +1,151 @@ +module Cisco-IOS-XR-ncs6k-acl-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs6k-acl-oper"; + prefix ncs6k-acl-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ncs6k-acl-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ncs6k-acl package operational data. + + This module contains definitions + for the following management objects: + access-list-hardware: Root class of accesslist hardware + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "adding PD yang."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ACCESS-LIST-TABLE { + description + "Common node of ipv4, ipv6"; + container accesses { + description + "Table for access lists"; + list access { + key "access-list-name"; + description + "List of ACLs"; + container implicit { + description + "Implicit ACL information"; + uses SSE-PFILTER-EA-ACE-IMPLICIT; + } + container sequence-details { + description + "Table of all sequence numbers per ACL"; + list sequence-detail { + key "sequence-number"; + description + "Detail ACL information"; + leaf sequence-number { + type int32; + description + "Detail ACL information for a particular + sequence"; + } + uses SSE-PFILTER-EA-ACE-DETAIL; + } + } + container sequence-briefs { + description + "Table of all sequence numbers per ACL"; + list sequence-brief { + key "sequence-number"; + description + "Detail ACL information"; + leaf sequence-number { + type int32; + description + "Brief ACL information for a particular + sequence"; + } + uses SSE-PFILTER-EA-ACE-BRIEF; + } + } + leaf access-list-name { + type string; + description + "Name of the access list"; + } + } + } + } + + grouping IPV4 { + description + "Common node of egress, ingress"; + container ipv4 { + description + "Accesslist version IPv4"; + uses ACCESS-LIST-TABLE; + } + } + + grouping IPV6 { + description + "Common node of egress, ingress"; + container ipv6 { + description + "Accesslist version IPv6"; + uses ACCESS-LIST-TABLE; + } + } + + container access-list-hardware { + config false; + description + "Root class of accesslist hardware"; + container nodes { + description + "Accesslist nodes"; + list node { + key "node-name"; + description + "Accesslist node"; + container egress { + description + "Accesslist direction egress"; + uses IPV4; + uses IPV6; + } + container ingress { + description + "Accesslist direction ingress"; + uses IPV4; + uses IPV6; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper-sub1.yang new file mode 100644 index 0000000..16df3b2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper-sub1.yang @@ -0,0 +1,215 @@ +submodule Cisco-IOS-XR-nto-misc-oper-sub1 { + belongs-to Cisco-IOS-XR-nto-misc-oper { + prefix Cisco-IOS-XR-nto-misc-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR nto-misc package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SHARED-WINDOW { + description + "Shared window information"; + leaf shared-window { + type string; + description + "Name of shared window"; + } + leaf window-size { + type uint64; + description + "Size of shared window"; + } + } + + grouping NODE-MEM-INFO-DETAIL { + description + "Detail Node memory information"; + leaf page-size { + type uint32; + units "byte"; + description + "Page size in bytes"; + } + leaf ram-memory { + type uint64; + units "byte"; + description + "Physical memory size in bytes"; + } + leaf free-physical-memory { + type uint64; + units "byte"; + description + "Physical memory available in bytes"; + } + leaf private-physical-memory { + type uint64; + units "byte"; + description + "Private Physical memory in bytes"; + } + leaf system-ram-memory { + type uint64; + units "byte"; + description + "Application memory size in bytes"; + } + leaf free-application-memory { + type uint64; + units "byte"; + description + "Application memory available in bytes"; + } + leaf image-memory { + type uint64; + units "byte"; + description + "Image memory size in bytes"; + } + leaf boot-ram-size { + type uint64; + units "byte"; + description + "Boot RAM size in bytes"; + } + leaf reserved-memory { + type uint64; + units "byte"; + description + "Reserved memory size in bytes"; + } + leaf io-memory { + type uint64; + units "byte"; + description + "IO memory size in bytes"; + } + leaf flash-system { + type uint64; + units "byte"; + description + "Flash System size in bytes"; + } + leaf total-shared-window { + type uint64; + description + "Total Shared window"; + } + leaf allocated-memory { + type uint64; + description + "Allocated Memory Size"; + } + leaf program-text { + type uint64; + description + "Program Text Size"; + } + leaf program-data { + type uint64; + description + "Program Data Size"; + } + leaf program-stack { + type uint64; + description + "Program Stack Size"; + } + leaf total-used { + type uint64; + description + "Total Used"; + } + list shared-window { + description + "Available Shared windows"; + uses SHARED-WINDOW; + } + } + + grouping NODE-MEM-INFO { + description + "Node memory information"; + leaf page-size { + type uint32; + units "byte"; + description + "Page size in bytes"; + } + leaf ram-memory { + type uint64; + units "byte"; + description + "Physical memory size in bytes"; + } + leaf free-physical-memory { + type uint64; + units "byte"; + description + "Physical memory available in bytes"; + } + leaf system-ram-memory { + type uint64; + units "byte"; + description + "Application memory size in bytes"; + } + leaf free-application-memory { + type uint64; + units "byte"; + description + "Application memory available in bytes"; + } + leaf image-memory { + type uint64; + units "byte"; + description + "Image memory size in bytes"; + } + leaf boot-ram-size { + type uint64; + units "byte"; + description + "Boot RAM size in bytes"; + } + leaf reserved-memory { + type uint64; + units "byte"; + description + "Reserved memory size in bytes"; + } + leaf io-memory { + type uint64; + units "byte"; + description + "IO memory size in bytes"; + } + leaf flash-system { + type uint64; + units "byte"; + description + "Flash System size in bytes"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper.yang new file mode 100644 index 0000000..37ff4b4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-oper.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-nto-misc-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-oper"; + prefix nto-misc-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-nto-misc-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR nto-misc package operational data. + + This module contains definitions + for the following management objects: + memory-summary: Memory summary information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container memory-summary { + config false; + description + "Memory summary information"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Name of nodes"; + container summary { + description + "Memory summary information for a specific node"; + uses NODE-MEM-INFO; + } + container detail { + description + "Detail Memory summary information for a + specific node"; + uses NODE-MEM-INFO-DETAIL; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang new file mode 100644 index 0000000..7c09c07 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper-sub1.yang @@ -0,0 +1,215 @@ +submodule Cisco-IOS-XR-nto-misc-shmem-oper-sub1 { + belongs-to Cisco-IOS-XR-nto-misc-shmem-oper { + prefix Cisco-IOS-XR-nto-misc-shmem-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR nto-misc-shmem package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SHARED-WINDOW { + description + "Shared window information"; + leaf shared-window { + type string; + description + "Name of shared window"; + } + leaf window-size { + type uint64; + description + "Size of shared window"; + } + } + + grouping NODE-MEM-INFO-DETAIL { + description + "Detail Node memory information"; + leaf page-size { + type uint32; + units "byte"; + description + "Page size in bytes"; + } + leaf ram-memory { + type uint64; + units "byte"; + description + "Physical memory size in bytes"; + } + leaf free-physical-memory { + type uint64; + units "byte"; + description + "Physical memory available in bytes"; + } + leaf private-physical-memory { + type uint64; + units "byte"; + description + "Private Physical memory in bytes"; + } + leaf system-ram-memory { + type uint64; + units "byte"; + description + "Application memory size in bytes"; + } + leaf free-application-memory { + type uint64; + units "byte"; + description + "Application memory available in bytes"; + } + leaf image-memory { + type uint64; + units "byte"; + description + "Image memory size in bytes"; + } + leaf boot-ram-size { + type uint64; + units "byte"; + description + "Boot RAM size in bytes"; + } + leaf reserved-memory { + type uint64; + units "byte"; + description + "Reserved memory size in bytes"; + } + leaf io-memory { + type uint64; + units "byte"; + description + "IO memory size in bytes"; + } + leaf flash-system { + type uint64; + units "byte"; + description + "Flash System size in bytes"; + } + leaf total-shared-window { + type uint64; + description + "Total Shared window"; + } + leaf allocated-memory { + type uint64; + description + "Allocated Memory Size"; + } + leaf program-text { + type uint64; + description + "Program Text Size"; + } + leaf program-data { + type uint64; + description + "Program Data Size"; + } + leaf program-stack { + type uint64; + description + "Program Stack Size"; + } + leaf total-used { + type uint64; + description + "Total Used"; + } + list shared-window { + description + "Available Shared windows"; + uses SHARED-WINDOW; + } + } + + grouping NODE-MEM-INFO { + description + "Node memory information"; + leaf page-size { + type uint32; + units "byte"; + description + "Page size in bytes"; + } + leaf ram-memory { + type uint64; + units "byte"; + description + "Physical memory size in bytes"; + } + leaf free-physical-memory { + type uint64; + units "byte"; + description + "Physical memory available in bytes"; + } + leaf system-ram-memory { + type uint64; + units "byte"; + description + "Application memory size in bytes"; + } + leaf free-application-memory { + type uint64; + units "byte"; + description + "Application memory available in bytes"; + } + leaf image-memory { + type uint64; + units "byte"; + description + "Image memory size in bytes"; + } + leaf boot-ram-size { + type uint64; + units "byte"; + description + "Boot RAM size in bytes"; + } + leaf reserved-memory { + type uint64; + units "byte"; + description + "Reserved memory size in bytes"; + } + leaf io-memory { + type uint64; + units "byte"; + description + "IO memory size in bytes"; + } + leaf flash-system { + type uint64; + units "byte"; + description + "Flash System size in bytes"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper.yang new file mode 100644 index 0000000..e2acbfa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shmem-oper.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-nto-misc-shmem-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shmem-oper"; + prefix nto-misc-shmem-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-nto-misc-shmem-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR nto-misc-shmem package operational data. + + This module contains definitions + for the following management objects: + memory-summary: Memory summary information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container memory-summary { + config false; + description + "Memory summary information"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Name of nodes"; + container summary { + description + "Memory summary information for a specific node"; + uses NODE-MEM-INFO; + } + container detail { + description + "Detail Memory summary information for a + specific node"; + uses NODE-MEM-INFO-DETAIL; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang new file mode 100644 index 0000000..f1f6b07 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1.yang @@ -0,0 +1,64 @@ +submodule Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1 { + belongs-to Cisco-IOS-XR-nto-misc-shprocmem-oper { + prefix Cisco-IOS-XR-nto-misc-shprocmem-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR nto-misc-shprocmem package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PROCESSESMEMORY-ENTRY { + description + " Per Process Information"; + leaf name { + type string; + description + "Process name"; + } + leaf jid { + type uint32; + description + "Job ID"; + } + leaf text-seg-size { + type uint32; + description + "Text Segment Size"; + } + leaf data-seg-size { + type uint32; + description + "Data Segment Size"; + } + leaf stack-seg-size { + type uint32; + description + "Stack Segment Size"; + } + leaf malloc-size { + type uint32; + description + "Malloced Memory Size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang new file mode 100644 index 0000000..32c64b7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-nto-misc-shprocmem-oper.yang @@ -0,0 +1,74 @@ +module Cisco-IOS-XR-nto-misc-shprocmem-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-nto-misc-shprocmem-oper"; + prefix nto-misc-shprocmem-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-nto-misc-shprocmem-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR nto-misc-shprocmem package operational data. + + This module contains definitions + for the following management objects: + processes-memory: Process statistics + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container processes-memory { + config false; + description + "Process statistics"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Node ID"; + container job-ids { + description + "List of jobs"; + list job-id { + key "job-id"; + description + "Job Id"; + leaf job-id { + type int32; + description + "Job Id"; + } + uses PROCESSESMEMORY-ENTRY; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalmib-cfg.yang new file mode 100644 index 0000000..286808c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalmib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-opticalmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-opticalmib-cfg"; + prefix opticalmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR opticalmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container optical { + description + "CISCO-OPTICAL-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable Opticalmib notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalotsmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalotsmib-cfg.yang new file mode 100644 index 0000000..4ea2437 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-opticalotsmib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-opticalotsmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-opticalotsmib-cfg"; + prefix opticalotsmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR opticalotsmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container optical-ots { + description + "CISCO-OPTICAL-OTS-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable OpticalOtsmib notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-optics-driver-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-optics-driver-cfg.yang new file mode 100644 index 0000000..dddddf2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-optics-driver-cfg.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-optics-driver-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-optics-driver-cfg"; + prefix optics-driver-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-controller-optics-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR optics-driver package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-controller-optics-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-03-21 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Breakout-type-list { + type string { + pattern "(4x10)|(4x25)"; + } + description + "4x10:4x10 optics breakout config, 4x25:4x25 + optics breakout config"; + } + + augment "/a1:interface-configurations/a1:interface-configuration/a2:optics" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-controller-optics-cfg'"; + leaf breakout { + type Breakout-type-list; + description + "breakout mode configuration"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-otnifmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-otnifmib-cfg.yang new file mode 100644 index 0000000..ead3c3b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-otnifmib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-otnifmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-otnifmib-cfg"; + prefix otnifmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR otnifmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container otn { + description + "CISCO-OTN-IF-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable ciscoOtnIfMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-parser-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-parser-cfg.yang new file mode 100644 index 0000000..587b8cc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-parser-cfg.yang @@ -0,0 +1,190 @@ +module Cisco-IOS-XR-parser-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-parser-cfg"; + prefix parser-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR parser package configuration. + + This module contains definitions + for the following management objects: + parser: Parser configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-09 { + description + "IOS XR 6.3.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container parser { + description + "Parser configuration"; + container indentation { + description + "indentation tracking"; + leaf indentation-disable { + type boolean; + description + "disable the indentation"; + } + } + container alias { + description + "Alias for command mapping"; + container execs { + description + "Exec command alias"; + list exec { + key "identifier"; + description + "Exec alias name"; + leaf identifier { + type string { + length "1..30"; + } + description + "Exec Alias name"; + } + leaf identifier-xr { + type string; + mandatory true; + description + "Aliased exec command"; + } + } + } + container configurations { + description + "Configuration command alias"; + list configuration { + key "identifier"; + description + "Configuration Alias name"; + leaf identifier { + type string { + length "1..30"; + } + description + "Configuration alias name"; + } + leaf identifier-xr { + type string; + mandatory true; + description + "Aliased config command"; + } + } + } + container alls { + description + "Table of all aliases configured"; + list all { + key "identifier"; + description + "Alias name to command mapping"; + leaf identifier { + type string { + length "1..30"; + } + description + "Alias name"; + } + leaf identifier-xr { + type string; + mandatory true; + description + "The actual command"; + } + } + } + } + container history { + description + "cli commands history"; + leaf size { + type uint32 { + range "1000..5000"; + } + description + "maximum number of commands in history"; + } + } + container interactive { + description + "interactive mode"; + leaf interactive-disable { + type boolean; + description + "disable interactive mode"; + } + } + container sysadmin-login-banner { + description + "Configuration to disable sysadmin login banner"; + leaf sysadmin-login-banner-disable { + type boolean; + description + "Disable sysadmin login banner"; + } + } + container interface-display { + description + "Configure the Interface display order"; + leaf slot-order { + type boolean; + description + "Configure Interface display order as slot order"; + } + } + container netmask-format { + description + "Ipv4 netmask-format to be configured"; + leaf bit-count { + type boolean; + description + "Enable ipv4 netmask-format as bit-count"; + } + } + container configuration { + description + "cli configuration services"; + container disable { + description + "disable for read-only access users"; + leaf usergroup { + type string; + description + "Disable config mode for usergroup"; + } + } + } + container submode-exit { + description + "Exit submode when only '!' seen in interactive + mode"; + leaf enable { + type boolean; + description + "Enable the feature"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-patch-panel-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-patch-panel-cfg.yang new file mode 100644 index 0000000..b60d887 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-patch-panel-cfg.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-patch-panel-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-patch-panel-cfg"; + prefix patch-panel-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR patch-panel package configuration. + + This module contains definitions + for the following management objects: + patch-panel: patch-panel service submode + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container patch-panel { + presence "Indicates a patch-panel node is configured."; + description + "patch-panel service submode"; + leaf enable { + type empty; + mandatory true; + description + "Enable patch-panel service"; + } + leaf user-name { + type string; + description + "User name to be used for Authentication with + Patch-Panel"; + } + leaf password { + type xr:Proprietary-password; + description + "Password name to be used for Authentication with + Patch-Panel"; + } + leaf ipv4 { + type inet:ipv4-address-no-zone; + description + "IP address for patch-panel"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-cfg.yang new file mode 100644 index 0000000..4cc153f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-cfg.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-pbr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-cfg"; + prefix pbr-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-03-08 { + description + "Moved augment statement to a separate file"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container pbr { + description + "Interface PBR configuration"; + container service-policy { + description + "PBR service policy configuration"; + leaf input { + type string; + description + "Ingress service policy"; + } + } + leaf service-policy-in { + type string; + description + "Class for subscriber ingress policy"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-datatypes.yang new file mode 100644 index 0000000..760d959 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-datatypes.yang @@ -0,0 +1,44 @@ +module Cisco-IOS-XR-pbr-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-datatypes"; + prefix pbr-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vservice-nsh-path-id-range { + type uint32 { + range "1..16777215"; + } + description + "Vservice nsh path id range"; + } + + typedef Vservice-nsh-service-index-range { + type uint32 { + range "1..255"; + } + description + "Vservice nsh service index range"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper-sub1.yang new file mode 100644 index 0000000..896c6ab --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper-sub1.yang @@ -0,0 +1,227 @@ +submodule Cisco-IOS-XR-pbr-oper-sub1 { + belongs-to Cisco-IOS-XR-pbr-oper { + prefix Cisco-IOS-XR-pbr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pbr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Policy-state { + type enumeration { + enum "active" { + value 0; + description + "active"; + } + enum "suspended" { + value 1; + description + "suspended"; + } + } + description + "Different Interface states"; + } + + grouping HTTPR-STATS-ST { + description + "HTTPR Stats"; + leaf rqst-rcvd-packets { + type uint64; + description + "TotalNum of pkts HTTP request received"; + } + leaf rqst-rcvd-bytes { + type uint64; + units "byte"; + description + "TotalNum of Bytes HTTP request received"; + } + leaf drop-packets { + type uint64; + description + "Dropped packets"; + } + leaf drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes"; + } + leaf resp-sent-packets { + type uint64; + description + "TotalNum of pkts HTTPR response sent"; + } + leaf resp-sent-bytes { + type uint64; + units "byte"; + description + "TotalNum of Bytes HTTPR response sent"; + } + } + + grouping GEN-STATS-ST { + description + "Counters common to all features"; + leaf transmit-packets { + type uint64; + units "byte"; + description + "Transmitted packets (packets/bytes)"; + } + leaf transmit-bytes { + type uint64; + units "byte"; + description + "Transmitted bytes (packets/bytes)"; + } + leaf total-drop-packets { + type uint64; + units "byte"; + description + "Dropped packets (packets/bytes)"; + } + leaf total-drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes (packets/bytes)"; + } + leaf total-drop-rate { + type uint32; + units "byte"; + description + "Total drop rate (packets/bytes)"; + } + leaf match-data-rate { + type uint32; + units "kbit/s"; + description + "Incoming matched data rate in kbps"; + } + leaf total-transmit-rate { + type uint32; + units "kbit/s"; + description + "Total transmit rate in kbps"; + } + leaf pre-policy-matched-packets { + type uint64; + description + "Matched pkts before applying policy"; + } + leaf pre-policy-matched-bytes { + type uint64; + units "byte"; + description + "Matched bytes before applying policy"; + } + } + + grouping CLASS-STATS { + description + "CLASS STATS"; + container general-stats { + description + "general stats"; + uses GEN-STATS-ST; + } + container httpr-stats { + description + "HTTPR stats"; + uses HTTPR-STATS-ST; + } + leaf counter-validity-bitmask { + type uint64; + units "byte"; + description + " Bitmask to indicate which counter or counters + are undetermined. Counters will be marked + undetermined when one or more classes share + queues with class-default because in such cases + the value of counters for each class is invalid. + Based on the flag(s) set, the following counters + will be marked undetermined. For example, if + value of this object returned is 0x00000101, + counters + TransmitPackets/TransmitBytes/TotalTransmitRate + and DropPackets/DropBytes are undetermined + .0x00000001 - Transmit + (TransmitPackets/TransmitBytes/TotalTransmitRate + ), 0x00000002 - Drop + (TotalDropPackets/TotalDropBytes/TotalDropRate), + 0x00000004 - Httpr + (HttprTransmitPackets/HttprTransmitBytes), "; + } + leaf class-name { + type string { + length "0..65"; + } + description + "ClassName"; + } + leaf class-id { + type uint32; + description + "ClassId"; + } + } + + grouping PBR-STATS { + description + "policy map statistics"; + leaf node-name { + type string { + length "0..42"; + } + description + "NodeName"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "PolicyName"; + } + leaf state { + type Policy-state; + description + "State"; + } + leaf state-description { + type string { + length "0..128"; + } + description + "StateDescription"; + } + list class-stat { + description + "Array of classes contained in policy"; + uses CLASS-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper.yang new file mode 100644 index 0000000..33b611a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-oper.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-pbr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-oper"; + prefix pbr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pbr-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr package operational data. + + This module contains definitions + for the following management objects: + pbr: PBR operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pbr { + config false; + description + "PBR operational data"; + container nodes { + description + "Node-specific PBR operational data"; + list node { + key "node-name"; + description + "PBR operational data for a particular node"; + container policy-map { + description + "Operational data for policymaps"; + container interfaces { + description + "Operational data for all interfaces"; + list interface { + key "interface-name"; + description + "PBR action data for a particular interface"; + container direction { + description + "PBR direction"; + container input { + description + "PBR policy statistics"; + uses PBR-STATS; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "The node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-subscriber-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-subscriber-cfg.yang new file mode 100644 index 0000000..1e69e44 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-subscriber-cfg.yang @@ -0,0 +1,79 @@ +module Cisco-IOS-XR-pbr-subscriber-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-subscriber-cfg"; + prefix pbr-subscriber-cfg; + + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr-subscriber package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PBR { + description + "Common node of ip-subscriber, subscriber-service, + ppp"; + container pbr { + description + "Dynamic Template PBR configuration"; + container service-policy { + description + "PBR service policy configuration"; + leaf input { + type string; + description + "Ingress service policy"; + } + } + leaf service-policy-in { + type string; + description + "Class for subscriber ingress policy"; + } + } + } + + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses PBR; + } + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses PBR; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses PBR; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang new file mode 100644 index 0000000..9abc9c5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vrf-policy-cfg.yang @@ -0,0 +1,75 @@ +module Cisco-IOS-XR-pbr-vrf-policy-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vrf-policy-cfg"; + prefix pbr-vrf-policy-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr-vrf-policy package configuration. + + This module contains definitions + for the following management objects: + vrf-policy: VRF Policy PBR configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pbr-afi { + type string { + pattern "(ipv4)|(ipv6)"; + } + description + "ipv4: Comment: v4 string for , ipv6: + Comment: v6 string for "; + } + + container vrf-policy { + description + "VRF Policy PBR configuration"; + list vrf { + key "vrf-name"; + description + "VRF Name"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + list afi { + key "afi-type"; + description + "address family"; + leaf service-policy-in { + type string; + description + "Policy map name"; + } + leaf afi-type { + type Pbr-afi; + description + "AFI name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang new file mode 100644 index 0000000..efdcc1a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper-sub1.yang @@ -0,0 +1,284 @@ +submodule Cisco-IOS-XR-pbr-vservice-ea-oper-sub1 { + belongs-to Cisco-IOS-XR-pbr-vservice-ea-oper { + prefix Cisco-IOS-XR-pbr-vservice-ea-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pbr-vservice-ea package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vs-nsh-stats { + type enumeration { + enum "vs-nsh-stats-spi-si" { + description + "vs nsh stats spi si"; + } + enum "vs-nsh-stats-ter-min-ate" { + description + "vs nsh stats ter min ate"; + } + enum "vs-nsh-stats-sf" { + description + "vs nsh stats sf"; + } + enum "vs-nsh-stats-sff" { + description + "vs nsh stats sff"; + } + enum "vs-nsh-stats-sff-local" { + description + "vs nsh stats sff local"; + } + enum "vs-nsh-stats-sfp" { + description + "vs nsh stats sfp"; + } + enum "vs-nsh-stats-sfp-detail" { + description + "vs nsh stats sfp detail"; + } + enum "vs-nsh-stats-max" { + description + "vs nsh stats max"; + } + } + description + "Vs nsh stats"; + } + + grouping VS-NSH-SI-DATA { + description + "Service index stats counters"; + container spi-si { + when "../type = 'vs-nsh-stats-spi-si'" { + description + "../type = 'VS_NSH_STATS_SPI_SI'"; + } + description + "SF/SFF stats"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + when "../type = 'vs-nsh-stats-ter-min-ate'" { + description + "../type = 'VS_NSH_STATS_TERMINATE'"; + } + description + "Terminate stats"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + leaf type { + type Vs-nsh-stats; + description + "type"; + } + } + + grouping VSERVICE-NSH-SI { + description + "si supported counters"; + container data { + description + "Stats counter for this index"; + uses VS-NSH-SI-DATA; + } + leaf si { + type uint8; + description + "Service index"; + } + } + + grouping VSERVICE-NSH-SFF-LOCAL { + description + "Local service-function-forwarder counters"; + leaf malformed-err-pkts { + type uint64; + description + "Number of packets with invalid NSH header"; + } + leaf lookup-err-pkts { + type uint64; + description + "Number of packets with unknown spi-si"; + } + leaf malformed-err-bytes { + type uint64; + units "byte"; + description + "Total bytes with invalid NSH header"; + } + leaf lookup-err-bytes { + type uint64; + units "byte"; + description + "Total bytes with unknown spi-si"; + } + } + + grouping VSERVICE-NSH-SF { + description + "Service function/forwarder counters"; + leaf processed-pkts { + type uint64; + description + "Number of packets processed"; + } + leaf processed-bytes { + type uint64; + units "byte"; + description + "Total bytes processed"; + } + } + + grouping VSERVICE-NSH-SPI-SI-TERMINATE { + description + "spi-si supported counters"; + leaf terminated-pkts { + type uint64; + description + "Number of terminated packets"; + } + leaf terminated-bytes { + type uint64; + units "byte"; + description + "Total bytes terminated"; + } + } + + grouping VSERVICE-NSH-SPI-SI { + description + "spi-si supported counters"; + leaf processed-pkts { + type uint64; + description + "Number of packets processed"; + } + leaf processed-bytes { + type uint64; + units "byte"; + description + "Total bytes processed"; + } + } + + grouping VSERVICE-NSH-SFP { + description + "spf supported counters"; + container spi-si { + description + "Service index counters"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + description + "Terminate counters"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + } + + grouping VS-NSH-STATS-DATA { + description + "Union for stats counter"; + container sfp { + when "../type = 'vs-nsh-stats-sfp'" { + description + "../type = 'VS_NSH_STATS_SFP'"; + } + description + "SFP stats"; + uses VSERVICE-NSH-SFP; + } + container spi-si { + when "../type = 'vs-nsh-stats-spi-si'" { + description + "../type = 'VS_NSH_STATS_SPI_SI'"; + } + description + "SPI SI stats"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + when "../type = 'vs-nsh-stats-ter-min-ate'" { + description + "../type = 'VS_NSH_STATS_TERMINATE'"; + } + description + "Terminate stats"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + container sf { + when "../type = 'vs-nsh-stats-sf'" { + description + "../type = 'VS_NSH_STATS_SF'"; + } + description + "Service function stats"; + uses VSERVICE-NSH-SF; + } + container sff { + when "../type = 'vs-nsh-stats-sff'" { + description + "../type = 'VS_NSH_STATS_SFF'"; + } + description + "Service function forwarder stats"; + uses VSERVICE-NSH-SF; + } + container sff-local { + when "../type = 'vs-nsh-stats-sff-local'" { + description + "../type = 'VS_NSH_STATS_SFF_LOCAL'"; + } + description + "Local service function forwarder stats"; + uses VSERVICE-NSH-SFF-LOCAL; + } + leaf type { + type Vs-nsh-stats; + description + "type"; + } + } + + grouping VSERVICE-EDM-NSH-STATS-INFO { + description + "NSH stats bag"; + container data { + description + "Statistics data"; + uses VS-NSH-STATS-DATA; + } + list si-arr { + description + "SI array in case of detail stats"; + uses VSERVICE-NSH-SI; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper.yang new file mode 100644 index 0000000..71ad088 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-ea-oper.yang @@ -0,0 +1,174 @@ +module Cisco-IOS-XR-pbr-vservice-ea-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-ea-oper"; + prefix pbr-vservice-ea-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-pbr-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-pbr-vservice-ea-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr-vservice-ea package operational data. + + This module contains definitions + for the following management objects: + service-function-chaining: NSH Service Function Chaining + operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container service-function-chaining { + config false; + description + "NSH Service Function Chaining operational data"; + container nodes { + description + "Node-specific NSH Service Function Chaining + operational data"; + list node { + key "node-name"; + description + "NSH operational data for a particular node"; + container process { + description + "Client Process"; + container service-function-path { + description + "Service Function Path operational data"; + container path-ids { + description + "Service Function Path Id "; + list path-id { + key "id"; + description + "Specific Service-Function-Path identifier "; + container service-indexes { + description + "Service Index Belonging to Path"; + list service-index { + key "index"; + description + "Service index operational data belonging + to this path"; + leaf index { + type dt1:Vservice-nsh-service-index-range; + description + "Service Index"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + container stats { + description + "SFP Statistics"; + container detail { + description + "Detail statistics per service index "; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + container summarized { + description + "Combined statistics of all service index + in service functionpath"; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + leaf id { + type dt1:Vservice-nsh-path-id-range; + description + "Specific Service-Function-Path identifier"; + } + } + } + } + container service-function { + description + "Service Function operational data"; + container sf-names { + description + "List of Service Function Names"; + list sf-name { + key "name"; + description + "Name of Service Function"; + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + } + container service-function-forwarder { + description + "Service Function Forwarder operational data"; + container local { + description + "Local Service Function Forwarder operational + data"; + container error { + description + "Error Statistics for local service function + forwarder"; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + container sff-names { + description + "List of Service Function Forwarder Names"; + list sff-name { + key "name"; + description + "Name of Service Function Forwarder"; + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node to collect statistics from"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang new file mode 100644 index 0000000..d9d2ceb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1.yang @@ -0,0 +1,284 @@ +submodule Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1 { + belongs-to Cisco-IOS-XR-pbr-vservice-mgr-oper { + prefix Cisco-IOS-XR-pbr-vservice-mgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pbr-vservice-mgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vs-nsh-stats { + type enumeration { + enum "vs-nsh-stats-spi-si" { + description + "vs nsh stats spi si"; + } + enum "vs-nsh-stats-ter-min-ate" { + description + "vs nsh stats ter min ate"; + } + enum "vs-nsh-stats-sf" { + description + "vs nsh stats sf"; + } + enum "vs-nsh-stats-sff" { + description + "vs nsh stats sff"; + } + enum "vs-nsh-stats-sff-local" { + description + "vs nsh stats sff local"; + } + enum "vs-nsh-stats-sfp" { + description + "vs nsh stats sfp"; + } + enum "vs-nsh-stats-sfp-detail" { + description + "vs nsh stats sfp detail"; + } + enum "vs-nsh-stats-max" { + description + "vs nsh stats max"; + } + } + description + "Vs nsh stats"; + } + + grouping VS-NSH-SI-DATA { + description + "Service index stats counters"; + container spi-si { + when "../type = 'vs-nsh-stats-spi-si'" { + description + "../type = 'VS_NSH_STATS_SPI_SI'"; + } + description + "SF/SFF stats"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + when "../type = 'vs-nsh-stats-ter-min-ate'" { + description + "../type = 'VS_NSH_STATS_TERMINATE'"; + } + description + "Terminate stats"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + leaf type { + type Vs-nsh-stats; + description + "type"; + } + } + + grouping VSERVICE-NSH-SI { + description + "si supported counters"; + container data { + description + "Stats counter for this index"; + uses VS-NSH-SI-DATA; + } + leaf si { + type uint8; + description + "Service index"; + } + } + + grouping VSERVICE-NSH-SFF-LOCAL { + description + "Local service-function-forwarder counters"; + leaf malformed-err-pkts { + type uint64; + description + "Number of packets with invalid NSH header"; + } + leaf lookup-err-pkts { + type uint64; + description + "Number of packets with unknown spi-si"; + } + leaf malformed-err-bytes { + type uint64; + units "byte"; + description + "Total bytes with invalid NSH header"; + } + leaf lookup-err-bytes { + type uint64; + units "byte"; + description + "Total bytes with unknown spi-si"; + } + } + + grouping VSERVICE-NSH-SF { + description + "Service function/forwarder counters"; + leaf processed-pkts { + type uint64; + description + "Number of packets processed"; + } + leaf processed-bytes { + type uint64; + units "byte"; + description + "Total bytes processed"; + } + } + + grouping VSERVICE-NSH-SPI-SI-TERMINATE { + description + "spi-si supported counters"; + leaf terminated-pkts { + type uint64; + description + "Number of terminated packets"; + } + leaf terminated-bytes { + type uint64; + units "byte"; + description + "Total bytes terminated"; + } + } + + grouping VSERVICE-NSH-SPI-SI { + description + "spi-si supported counters"; + leaf processed-pkts { + type uint64; + description + "Number of packets processed"; + } + leaf processed-bytes { + type uint64; + units "byte"; + description + "Total bytes processed"; + } + } + + grouping VSERVICE-NSH-SFP { + description + "spf supported counters"; + container spi-si { + description + "Service index counters"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + description + "Terminate counters"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + } + + grouping VS-NSH-STATS-DATA { + description + "Union for stats counter"; + container sfp { + when "../type = 'vs-nsh-stats-sfp'" { + description + "../type = 'VS_NSH_STATS_SFP'"; + } + description + "SFP stats"; + uses VSERVICE-NSH-SFP; + } + container spi-si { + when "../type = 'vs-nsh-stats-spi-si'" { + description + "../type = 'VS_NSH_STATS_SPI_SI'"; + } + description + "SPI SI stats"; + uses VSERVICE-NSH-SPI-SI; + } + container term { + when "../type = 'vs-nsh-stats-ter-min-ate'" { + description + "../type = 'VS_NSH_STATS_TERMINATE'"; + } + description + "Terminate stats"; + uses VSERVICE-NSH-SPI-SI-TERMINATE; + } + container sf { + when "../type = 'vs-nsh-stats-sf'" { + description + "../type = 'VS_NSH_STATS_SF'"; + } + description + "Service function stats"; + uses VSERVICE-NSH-SF; + } + container sff { + when "../type = 'vs-nsh-stats-sff'" { + description + "../type = 'VS_NSH_STATS_SFF'"; + } + description + "Service function forwarder stats"; + uses VSERVICE-NSH-SF; + } + container sff-local { + when "../type = 'vs-nsh-stats-sff-local'" { + description + "../type = 'VS_NSH_STATS_SFF_LOCAL'"; + } + description + "Local service function forwarder stats"; + uses VSERVICE-NSH-SFF-LOCAL; + } + leaf type { + type Vs-nsh-stats; + description + "type"; + } + } + + grouping VSERVICE-EDM-NSH-STATS-INFO { + description + "NSH stats bag"; + container data { + description + "Statistics data"; + uses VS-NSH-STATS-DATA; + } + list si-arr { + description + "SI array in case of detail stats"; + uses VSERVICE-NSH-SI; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang new file mode 100644 index 0000000..1274be4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pbr-vservice-mgr-oper.yang @@ -0,0 +1,156 @@ +module Cisco-IOS-XR-pbr-vservice-mgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-mgr-oper"; + prefix pbr-vservice-mgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-pbr-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-pbr-vservice-mgr-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pbr-vservice-mgr package operational data. + + This module contains definitions + for the following management objects: + global-service-function-chaining: NSH Service Function + Chaining global operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container global-service-function-chaining { + config false; + description + "NSH Service Function Chaining global operational + data"; + container service-function-path { + description + "Service Function Path operational data"; + container path-ids { + description + "Service Function Path Id "; + list path-id { + key "id"; + description + "Specific Service-Function-Path identifier "; + container stats { + description + "SFP Statistics"; + container detail { + description + "Detail statistics per service index "; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + container summarized { + description + "Combined statistics of all service index in + service functionpath"; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + container service-indexes { + description + "Service Index Belonging to Path"; + list service-index { + key "index"; + description + "Service index operational data belonging to + this path"; + leaf index { + type dt1:Vservice-nsh-service-index-range; + description + "Service Index"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + leaf id { + type dt1:Vservice-nsh-path-id-range; + description + "Specific Service-Function-Path identifier"; + } + } + } + } + container service-function { + description + "Service Function operational data"; + container sf-names { + description + "List of Service Function Names"; + list sf-name { + key "name"; + description + "Name of Service Function"; + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + } + container service-function-forwarder { + description + "Service Function Forwarder operational data"; + container sff-names { + description + "List of Service Function Forwarder Names"; + list sff-name { + key "name"; + description + "Name of Service Function Forwarder"; + leaf name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name"; + } + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + container local { + description + "Local Service Function Forwarder operational + data"; + container error { + description + "Error Statistics for local service function + forwarder"; + uses VSERVICE-EDM-NSH-STATS-INFO; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang new file mode 100644 index 0000000..7171912 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1.yang @@ -0,0 +1,137 @@ +submodule Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1 { + belongs-to Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper { + prefix Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pfi-im-cmd-ctrlr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + grouping IM-CTRLR-DESC-INFO { + description + "Controller description information"; + leaf controller { + type xr:Interface-name; + description + "Controller"; + } + leaf state { + type Im-state-enum; + description + "Operational state with no translation of error + disable or shutdown"; + } + leaf description { + type string; + description + "Controller description string"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang new file mode 100644 index 0000000..2058926 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper"; + prefix pfi-im-cmd-ctrlr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pfi-im-cmd-ctrlr-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pfi-im-cmd-ctrlr package operational data. + + This module contains definitions + for the following management objects: + controllers: Controller operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container controllers { + config false; + description + "Controller operational data"; + container controllers { + description + "Descriptions for controllers"; + list controller { + key "interafce-name"; + description + "Description for a particular controller"; + leaf interafce-name { + type xr:Interface-name; + description + "The name of the controller"; + } + uses IM-CTRLR-DESC-INFO; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang new file mode 100644 index 0000000..0d5bc5b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub1.yang @@ -0,0 +1,6156 @@ +submodule Cisco-IOS-XR-pfi-im-cmd-oper-sub1 { + belongs-to Cisco-IOS-XR-pfi-im-cmd-oper { + prefix Cisco-IOS-XR-pfi-im-cmd-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pfi-im-cmd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-18 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Stats-counter { + type enumeration { + enum "stats-counter-rate" { + value 0; + description + "stats counter rate"; + } + enum "stats-counter-uint32" { + value 1; + description + "stats counter uint32"; + } + enum "stats-counter-uint64" { + value 2; + description + "stats counter uint64"; + } + enum "stats-counter-generic" { + value 3; + description + "stats counter generic"; + } + enum "stats-counter-proto" { + value 4; + description + "stats counter proto"; + } + enum "stats-counter-srp" { + value 5; + description + "stats counter srp"; + } + enum "stats-counter-ipv4-prec" { + value 6; + description + "stats counter ipv4 prec"; + } + enum "stats-counter-ipv4-dscp" { + value 7; + description + "stats counter ipv4 dscp"; + } + enum "stats-counter-mpls-exp" { + value 8; + description + "stats counter mpls exp"; + } + enum "stats-counter-ipv4-bgp-pa" { + value 9; + description + "stats counter ipv4 bgp pa"; + } + enum "stats-counter-src-bgp-pa" { + value 10; + description + "stats counter src bgp pa"; + } + enum "stats-counter-basic" { + value 11; + description + "stats counter basic"; + } + enum "stats-counter-comp-generic" { + value 12; + description + "stats counter comp generic"; + } + enum "stats-counter-comp-proto" { + value 13; + description + "stats counter comp proto"; + } + enum "stats-counter-comp-basic" { + value 14; + description + "stats counter comp basic"; + } + enum "stats-counter-accounting" { + value 15; + description + "stats counter accounting"; + } + enum "stats-counter-comp-accounting" { + value 16; + description + "stats counter comp accounting"; + } + enum "stats-counter-flow" { + value 17; + description + "stats counter flow"; + } + enum "stats-counter-comp-flow" { + value 18; + description + "stats counter comp flow"; + } + } + description + "Stats counter"; + } + + typedef Stats-type-contents { + type enumeration { + enum "stats-type-single" { + value 100; + description + "stats type single"; + } + enum "stats-type-variable" { + value 101; + description + "stats type variable"; + } + } + description + "Stats type contents"; + } + + typedef Stats-id { + type enumeration { + enum "stats-id-type-unknown" { + value 0; + description + "stats id type unknown"; + } + enum "stats-id-type-min" { + value 1; + description + "stats id type min"; + } + enum "stats-id-type-spare" { + value 2; + description + "stats id type spare"; + } + enum "stats-id-type-node" { + value 3; + description + "stats id type node"; + } + enum "stats-id-type-other" { + value 4; + description + "stats id type other"; + } + enum "stats-id-type-feature" { + value 5; + description + "stats id type feature"; + } + enum "stats-id-type-max" { + value 6; + description + "stats id type max"; + } + } + description + "Stats id"; + } + + typedef Stats-type-val { + type uint32; + description + "Stats type val"; + } + + typedef Im-cmd-stats-enum { + type enumeration { + enum "full" { + value 1; + description + "full"; + } + enum "basic" { + value 2; + description + "basic"; + } + } + description + "List of different interface stats structures"; + } + + typedef Gcc-sec-state { + type enumeration { + enum "normal" { + value 0; + description + "Normal"; + } + enum "maintainance" { + value 1; + description + "Maintainance"; + } + enum "ais" { + value 2; + description + "Automatic In Service"; + } + } + description + "Gcc sec state"; + } + + typedef Gcc-der-state { + type enumeration { + enum "in-service" { + value 0; + description + "In Service"; + } + enum "out-of-service" { + value 1; + description + "Out Of Service"; + } + enum "maintainance" { + value 2; + description + "Maintainance"; + } + enum "ais" { + value 3; + description + "Automatic In Service"; + } + } + description + "Gcc der state"; + } + + typedef Tunnel-key-state { + type enumeration { + enum "absent" { + value 0; + description + "Tunnel GRE Key is not present"; + } + enum "present" { + value 1; + description + "Tunnel GRE Key is present"; + } + } + description + "Tunnel key state"; + } + + typedef Tunnel-ka-df-state { + type enumeration { + enum "disable" { + value 0; + description + "Tunnel GRE KA State is Disabled"; + } + enum "enable" { + value 1; + description + "Tunnel GRE KA State is Enabled"; + } + } + description + "Tunnel ka df state"; + } + + typedef Tunl-ip-mode-dir { + type enumeration { + enum "tunl-ip-mode-dir-none" { + description + "tunl ip mode dir none"; + } + enum "tunl-ip-mode-dir-decap" { + description + "tunl ip mode dir decap"; + } + enum "tunl-ip-mode-dir-encap" { + description + "tunl ip mode dir encap"; + } + enum "tunl-ip-mode-dir-max" { + description + "tunl ip mode dir max"; + } + } + description + "Tunl ip mode dir"; + } + + typedef Tunnel-gre-mode { + type enumeration { + enum "unknown" { + value 0; + description + "Tunnel GRE mode is Unknown"; + } + enum "gr-eo-ipv4" { + value 1; + description + "Tunnel GRE Mode is IPv4"; + } + enum "gr-eo-ipv6" { + value 2; + description + "Tunnel GRE Mode is IPv6"; + } + enum "mgr-eo-ipv4" { + value 3; + description + "Tunnel MGRE Mode is IPv4"; + } + enum "mgr-eo-ipv6" { + value 4; + description + "Tunnel MGRE Mode is IPv6"; + } + enum "ipv4" { + value 5; + description + "Tunnel Mode is IPv4"; + } + enum "ipv6" { + value 6; + description + "Tunnel Mode is IPv6"; + } + } + description + "Tunnel gre mode"; + } + + typedef Tunl-pfi-in6-addr { + type inet:ipv6-address; + description + "Tunl pfi in6 addr"; + } + + typedef Tunl-pfi-in-addr { + type inet:ipv4-address; + description + "Tunl pfi in addr"; + } + + typedef Tunl-pfi-af-id { + type enumeration { + enum "tunl-pfi-af-id-none" { + value 0; + description + "Unspecified AFI"; + } + enum "tunl-pfi-af-id-ipv4" { + value 2; + description + "IPv4 AFI"; + } + enum "tunl-pfi-af-id-ipv6" { + value 10; + description + "IPv6 AFI"; + } + } + description + "Tunl pfi af id"; + } + + typedef Sonet-aps-et { + type enumeration { + enum "not-configured" { + value 0; + description + "APS not configured on port"; + } + enum "working-active" { + value 1; + description + "Working port is up "; + } + enum "protect-active" { + value 2; + description + "Protect port is up "; + } + enum "working-inactive" { + value 3; + description + "Working port is down "; + } + enum "protect-inactive" { + value 4; + description + "Protect port is down "; + } + } + description + "APS states"; + } + + typedef Bmd-member-type-enum { + type enumeration { + enum "bmd-mbr-local" { + value 0; + description + "Member has been configured on the local device"; + } + enum "bmd-mbr-foreign" { + value 1; + description + "Member has been configured on an mLACP peer + device"; + } + enum "bmd-mbr-unknown" { + value 2; + description + "Member's type is unknown"; + } + } + description + "Bmd member type enum"; + } + + typedef Bm-muxreason { + type enumeration { + enum "bm-mux-reason-no-reason" { + value 0; + description + "Selection logic has not yet been run for the + bundle this link is a member of"; + } + enum "bm-mux-reason-link-down" { + value 1; + description + "Link is down"; + } + enum "bm-mux-reason-link-deleted" { + value 2; + description + "Link is being removed from the bundle"; + } + enum "bm-mux-reason-duplex" { + value 3; + description + "Link has wrong duplexity"; + } + enum "bm-mux-reason-bandwidth" { + value 4; + description + "Link has wrong bandwidth"; + } + enum "bm-mux-reason-loop-back" { + value 5; + description + "Link is a loopback interface"; + } + enum "bm-mux-reason-activity-type" { + value 6; + description + "Link has wrong activity type"; + } + enum "bm-mux-reason-link-limit" { + value 7; + description + "Link's bundle already has maximum number of + members allowed"; + } + enum "bm-mux-reason-shared" { + value 8; + description + "Link is attached to a shared medium"; + } + enum "bm-mux-reason-lagid" { + value 9; + description + "Link has wrong LAG ID"; + } + enum "bm-mux-reason-no-bundle" { + value 10; + description + "Link's bundle does not exist"; + } + enum "bm-mux-reason-no-primary" { + value 11; + description + "Link's bundle has no primary link"; + } + enum "bm-mux-reason-bundle-down" { + value 12; + description + "Link's bundle is shut down"; + } + enum "bm-mux-reason-individual" { + value 13; + description + "Link is marked individual by partner"; + } + enum "bm-mux-reason-defaulted" { + value 14; + description + "Link is Defaulted, suggesting it is not + receiving LACPDUs from the peer"; + } + enum "bm-mux-reason-in-sync" { + value 15; + description + "Link is in InSync state"; + } + enum "bm-mux-reason-collecting" { + value 16; + description + "Link is in Collecting state"; + } + enum "bm-mux-reason-active-link-limit" { + value 17; + description + "Link exceeds maximum active limit"; + } + enum "bm-mux-reason-distributing" { + value 18; + description + "Link is in Distributing state"; + } + enum "bm-mux-reason-count" { + value 19; + description + "Enumeration maximum value"; + } + } + description + "Bm muxreason"; + } + + typedef Bmd-member-state { + type enumeration { + enum "bmd-mbr-state-configured" { + value 1; + description + "Member is configured"; + } + enum "bmd-mbr-state-standby" { + value 2; + description + "Member is standby"; + } + enum "bmd-mbr-state-hot-standby" { + value 3; + description + "Member is hot standby"; + } + enum "bmd-mbr-state-negotiating" { + value 4; + description + "Member is negotiating"; + } + enum "bmd-mbr-state-bfd-running" { + value 5; + description + "Member has a BFD session running"; + } + enum "bmd-mbr-state-active" { + value 6; + description + "Member is active"; + } + } + description + "Bmd member state"; + } + + typedef Bm-severity { + type enumeration { + enum "ok" { + value 0; + description + "OK"; + } + enum "information" { + value 1; + description + "Information"; + } + enum "misconfiguration" { + value 2; + description + "Misconfiguration"; + } + enum "warning" { + value 3; + description + "Warning"; + } + enum "error" { + value 5; + description + "Error"; + } + } + description + "Severity of the member state reason"; + } + + typedef Bm-state-reason-target { + type enumeration { + enum "member-reason" { + description + "Member applicable reason"; + } + enum "bundle-reason" { + description + "Bundle applicable reason"; + } + } + description + "Scope of the state reason"; + } + + typedef Bm-mbr-state-reason { + type enumeration { + enum "bm-mbr-state-reason-unknown" { + value 0; + description + "Reason unavailable (diagnostics error)"; + } + enum "bm-mbr-state-reason-unselectable-unknown" { + value 1; + description + "Link cannot be used (unknown reason)"; + } + enum "bm-mbr-state-reason-link-down" { + value 2; + description + "Link is down"; + } + enum "bm-mbr-state-reason-link-deleting" { + value 3; + description + "Link is being removed from the bundle"; + } + enum "bm-mbr-state-reason-creating" { + value 4; + description + "Link is in the process of being created"; + } + enum "bm-mbr-state-reason-bundle-creating" { + value 5; + description + "Bundle is in the process of being created"; + } + enum "bm-mbr-state-reason-bundle-deleting" { + value 6; + description + "Bundle is in the process of being deleted"; + } + enum "bm-mbr-state-reason-bundle-admin-down" { + value 7; + description + "Bundle has been shut down"; + } + enum "bm-mbr-state-reason-replicating" { + value 8; + description + "Bundle is in the process of being replicated to + this location"; + } + enum "bm-mbr-state-reason-bandwidth" { + value 9; + description + "Incompatible with other links in the bundle + (bandwidth out of range)"; + } + enum "bm-mbr-state-reason-loop-back" { + value 10; + description + "Loopback: Actor and Partner have the same + System ID and Key"; + } + enum "bm-mbr-state-reason-activity-type" { + value 11; + description + "Incompatible with other links in the bundle + (LACP vs non-LACP)"; + } + enum "bm-mbr-state-reason-bundle-shutdown" { + value 12; + description + "Bundle shutdown is configured for the bundle"; + } + enum "bm-mbr-state-reason-min-selected" { + value 13; + description + "Not enough links available to meet + minimum-active threshold"; + } + enum "bm-mbr-state-reason-max-selected" { + value 14; + description + "Link is Standby due to maximum-active links + configuration"; + } + enum "bm-mbr-state-reason-link-limit" { + value 15; + description + "Bundle has too many member links configured"; + } + enum "bm-mbr-state-reason-active-limit" { + value 16; + description + "Bundle has reached maximum supported number of + active links"; + } + enum "bm-mbr-state-reason-standby-unknown" { + value 17; + description + "Link is Standby (unknown reason)"; + } + enum "bm-mbr-state-reason-expired" { + value 18; + description + "Link is Expired; LACPDUs are not being received + from the partner"; + } + enum "bm-mbr-state-reason-defaulted" { + value 19; + description + "Link is Defaulted; LACPDUs are not being + received from the partner"; + } + enum "bm-mbr-state-reason-act-or-not-agg" { + value 20; + description + "Link is Not Aggregatable (unknown reason)"; + } + enum "bm-mbr-state-reason-partner-not-agg" { + value 21; + description + "Partner has marked the link as Not Aggregatable"; + } + enum "bm-mbr-state-reason-lagid" { + value 22; + description + "Partner System ID/Key do not match that of the + Selected links"; + } + enum "bm-mbr-state-reason-bundle-not-cfgd" { + value 23; + description + "Bundle interface is not present in + configuration"; + } + enum "bm-mbr-state-reason-bundle-not-ready" { + value 24; + description + "Wait-while timer is running"; + } + enum "bm-mbr-state-reason-partner-ood" { + value 25; + description + "Partner has not echoed the correct parameters + for this link"; + } + enum "bm-mbr-state-reason-partner-not-in-sync" { + value 26; + description + "Partner is not Synchronized (Waiting, Standby, + or LAG ID mismatch)"; + } + enum "bm-mbr-state-reason-foreign-partner-oos" { + value 27; + description + "Partner is not Synchronized (Waiting, not + Selected, or out-of-date)"; + } + enum "bm-mbr-state-reason-attach-unknown" { + value 28; + description + "Link is Attached and has not gone Collecting + (unknown reason)"; + } + enum "bm-mbr-state-reason-partner-not-collecting" { + value 29; + description + "Partner has not advertized that it is + Collecting"; + } + enum "bm-mbr-state-reason-collect-unknown" { + value 30; + description + "Link is Collecting and has not gone + Distributing (unknown reason)"; + } + enum "bm-mbr-state-reason-standby-foreign" { + value 31; + description + "Link is marked as Standby by mLACP peer"; + } + enum "bm-mbr-state-reason-bfd-starting" { + value 32; + description + "Link is waiting for BFD session to start"; + } + enum "bm-mbr-state-reason-bfd-down" { + value 33; + description + "BFD state of this link is Down"; + } + enum "bm-mbr-state-reason-bfd-nbr-unconfig" { + value 34; + description + "BFD session is unconfigured on the remote end"; + } + enum "bm-mbr-state-reason-mlacp" { + value 35; + description + "Link is not operational as a result of mLACP + negotiations"; + } + enum "bm-mbr-state-reason-pe-isolated" { + value 36; + description + "ICCP group is isolated from the core network"; + } + enum "bm-mbr-state-reason-forced-switchover" { + value 37; + description + "Forced switchover to the mLACP peer"; + } + enum "bm-mbr-state-reason-errdis-unknown" { + value 38; + description + "Link is error disabled (unknown reason)"; + } + enum "bm-mbr-state-reason-mlacp-no-mbr-state-info" { + value 39; + description + "Waiting for member state information from mLACP + peer"; + } + enum "bm-mbr-state-reason-active" { + value 40; + description + "Link is Active"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-state-info" { + value 41; + description + "Waiting for bundle state information from mLACP + peer"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-config-info" { + value 42; + description + "Waiting for bundle configuration information + from mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-no-bdl-sync" { + value 43; + description + "Waiting for bundle to complete initial + synchronization with mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-bdl-has-no-peer" { + value 44; + description + "mLACP bundle does not have a peer device"; + } + enum "bm-mbr-state-reason-mlacp-nak" { + value 45; + description + "Link is being ignored due to an inconsistency + with mLACP peer"; + } + enum "bm-mbr-state-reason-mlacp-transport-unavailable" { + value 46; + description + "ICCP transport is unavailable"; + } + enum "bm-mbr-state-reason-mlacp-not-configured" { + value 47; + description + "ICCP Group is not fully configured"; + } + enum "bm-mbr-state-reason-recovery-timer" { + value 48; + description + "mLACP recovery delay timer is running"; + } + enum "bm-mbr-state-reason-mlacp-standby" { + value 49; + description + "mLACP peer is active"; + } + enum "bm-mbr-state-reason-maximized-out" { + value 50; + description + "mLACP peer has more links/bandwidth available"; + } + enum "bm-mbr-state-reason-mlacp-peer-selected" { + value 51; + description + "mLACP peer has one or more links Selected"; + } + enum "bm-mbr-state-reason-mlacp-connect-timer-running" { + value 52; + description + "mLACP bundle does not have a peer device + (connect timer running)"; + } + enum "bm-mbr-state-reason-bundle-not-mlacp" { + value 53; + description + "Bundle is not configured to run mLACP"; + } + enum "bm-mbr-state-reason-no-lon" { + value 54; + description + "Bundle has too many working links configured + (more than the maximum-active limit)"; + } + enum "bm-mbr-state-reason-cumul-rel-bw-limit" { + value 55; + description + "Additional bandwidth from link would exceed + load balancing capabilities"; + } + enum "bm-mbr-state-reason-no-mac" { + value 56; + description + "No MAC address available for the bundle"; + } + enum "bm-mbr-state-reason-no-system-id" { + value 57; + description + "No system ID available for use by this bundle"; + } + enum "bm-mbr-state-reason-link-shutdown" { + value 58; + description + "Link is shutdown"; + } + enum "bm-mbr-state-reason-activity-mlacp" { + value 59; + description + "Non-LACP link in mLACP bundle"; + } + enum "bm-mbr-state-reason-activity-iccp" { + value 60; + description + "LACP link in inter-chassis bundle"; + } + enum "bm-mbr-state-reason-bundle-icpe-mlacp" { + value 61; + description + "Parent bundle is both inter-chassis and + configured for mLACP"; + } + enum "bm-mbr-state-reason-no-link-num" { + value 62; + description + "Too many bundle members in system; no link + number available"; + } + enum "bm-mbr-state-reason-standby-peer-higher-prio" { + value 63; + description + "mLACP peer has a higher priority link"; + } + enum "bm-mbr-state-reason-red-state-standby" { + value 64; + description + "Link is in standby redundancy state"; + } + enum "bm-mbr-state-reason-other-red-state-standby" { + value 65; + description + "One or more links in the bundle are in standby + redundancy state"; + } + enum "bm-mbr-state-reason-hold-ing" { + value 66; + description + "Holding down temporary to avoid churn after + restart"; + } + enum "bm-mbr-state-reason-bundle-error-disabled" { + value 67; + description + "Bundle has been error-disabled"; + } + enum "bm-mbr-state-reason-bundle-efd-disabled" { + value 68; + description + "Bundle has been disabled by EFD"; + } + enum "bm-mbr-state-reason-singleton-pe-isolated" { + value 69; + description + "Singleton ICCP group is isolated from the core + network"; + } + enum "bm-mbr-state-reason-bfd-ipv6-starting" { + value 70; + description + "Link is waiting for BFDv6 session to start"; + } + enum "bm-mbr-state-reason-bfd-ipv6-down" { + value 71; + description + "BFDv6 state of this link is Down"; + } + enum "bm-mbr-state-reason-bfd-ipv6-nbr-unconfig" { + value 72; + description + "BFDv6 session is unconfigured on the remote end"; + } + enum "bm-mbr-state-reason-timer-running" { + value 73; + description + "LACP delay timer is running"; + } + enum "bm-mbr-state-reason-client-bundle-ctrl" { + value 74; + description + "Client has configured the bundle state Down"; + } + enum "bm-mbr-state-reason-count" { + value 75; + description + "Enumeration maximum value"; + } + } + description + "Bm mbr state reason"; + } + + typedef Bm-muxstate { + type enumeration { + enum "detached" { + value 1; + description + "Port is not attached to a bundle"; + } + enum "waiting" { + value 2; + description + "Port has chosen bundle and is waiting to join"; + } + enum "attached" { + value 3; + description + "Port is attached to the bundle but not active"; + } + enum "collecting" { + value 4; + description + "Port is ready to receive data"; + } + enum "distributing" { + value 5; + description + "Port is distributing data"; + } + enum "collecting-distributing" { + value 6; + description + "Port is active and can send and receive data"; + } + } + description + "Bm muxstate"; + } + + typedef Srp-mgmt-srr-failure { + type enumeration { + enum "idle-srr-failure" { + description + "Idle"; + } + enum "wait-to-restore-srr-failure" { + description + "Wait To Restore"; + } + enum "signal-fail-srr-failure" { + description + "Signal Fail"; + } + enum "forced-switch-srr-failure" { + description + "Forced Switch"; + } + enum "unknown-srr-failure" { + description + "UNKNOWN"; + } + } + description + "SRP SRR failure type"; + } + + typedef Srp-mgmt-srr-node-state { + type enumeration { + enum "idle-srr-state" { + description + "Idle"; + } + enum "discovery-srr-state" { + description + "Discovery"; + } + enum "unknown-srr-state" { + description + "UNKNOWN"; + } + } + description + "SRP SRR node state"; + } + + typedef Srp-mgmt-ips-path-ind { + type enumeration { + enum "short-path" { + description + "SHORT"; + } + enum "long-path" { + description + "LONG"; + } + enum "unknown-path" { + description + "UNKNOWN"; + } + } + description + "SRP IPS path indication"; + } + + typedef Srp-mgmt-failure-state-et { + type enumeration { + enum "idle-failure-state" { + description + "Idle"; + } + enum "wait-to-restore-failure-state" { + description + "Wait To Restore"; + } + enum "manual-switch-failure-state" { + description + "Manual Switch"; + } + enum "signal-degrade-failure-state" { + description + "Signal Degrade"; + } + enum "signal-fail-failure-state" { + description + "Signal Fail"; + } + enum "forced-switch-failure-state" { + description + "Forced Switch"; + } + enum "shutdown-failure-state" { + description + "Shutdown"; + } + enum "invalid-failure-state" { + description + "Invalid"; + } + enum "unknown-failure-state" { + description + "Unknown"; + } + } + description + "SRP failure state type"; + } + + typedef Srp-mgmt-failure-et { + type enumeration { + enum "hardware-missing-failure" { + description + "Hardware missing"; + } + enum "layer1-admin-state-failure" { + description + "L1 admin state"; + } + enum "layer1-error-failure" { + description + "Layer 1 error"; + } + enum "keepalive-missed-failure" { + description + "Keepalive missed"; + } + enum "link-quality-degraded-failure" { + description + "Link quality degraded"; + } + enum "mate-problem-failure" { + description + "Mate problem"; + } + enum "side-mismatch-failure" { + description + "Side mismatch"; + } + enum "unknown-failure" { + description + "Unknown"; + } + } + description + "SRP failure type"; + } + + typedef Srp-mgmt-ips-req { + type enumeration { + enum "idle-ips-request" { + description + "Idle"; + } + enum "wait-to-restore-ips-request" { + description + "Wait To Restore"; + } + enum "manual-switch-ips-request" { + description + "Manual Switch"; + } + enum "signal-degrade-ips-request" { + description + "Signal Degrade"; + } + enum "signal-fail-ips-request" { + description + "Signal Fail"; + } + enum "forced-switch-ips-request" { + description + "Forced Switch"; + } + enum "unknown-ips-request" { + description + "UNKNOWN"; + } + } + description + "SRP IPS request type"; + } + + typedef Srp-mgmt-ips-wrap-state { + type enumeration { + enum "idle-wrap-state" { + description + "Idle"; + } + enum "wrapped-state" { + description + "Wrapped"; + } + enum "locked-out-wrap-state" { + description + "Locked out"; + } + enum "unknown-wrap-state" { + description + "UNKNOWN"; + } + } + description + "SRP IPS side wrap state"; + } + + typedef Im-cmd-intf-type-enum { + type enumeration { + enum "srp" { + description + "srp"; + } + enum "tunnel" { + description + "tunnel"; + } + enum "bundle" { + description + "bundle"; + } + enum "serial" { + description + "serial"; + } + enum "sonet-pos" { + description + "sonet pos"; + } + enum "tunnel-gre" { + description + "tunnel gre"; + } + enum "pseudowire-head-end" { + description + "pseudowire head end"; + } + enum "cem" { + description + "cem"; + } + enum "gcc" { + description + "gcc"; + } + } + description + "Im cmd intf type enum"; + } + + typedef Ncp-ident { + type enumeration { + enum "cdpcp" { + value 1; + description + "CDP control protocol"; + } + enum "ipcp" { + value 2; + description + "IPv4 control protocol"; + } + enum "ipcpiw" { + value 3; + description + "IPv4 Interworking control protocol"; + } + enum "ipv6cp" { + value 4; + description + "IPv6 control protocol"; + } + enum "mplscp" { + value 5; + description + "MPLS control protocol"; + } + enum "osicp" { + value 6; + description + "OSI (CLNS) control protocol"; + } + } + description + "Ncp ident"; + } + + typedef Ppp-fsm-state { + type enumeration { + enum "ppp-fsm-state-initial-0" { + value 0; + description + "Connection Idle"; + } + enum "ppp-fsm-state-starting-1" { + value 1; + description + "This layer required, but lower layer down"; + } + enum "ppp-fsm-state-closed-2" { + value 2; + description + "Lower layer up, but this layer not required"; + } + enum "ppp-fsm-state-stopped-3" { + value 3; + description + "Listening for a Config Request"; + } + enum "ppp-fsm-state-closing-4" { + value 4; + description + "Shutting down due to local change"; + } + enum "ppp-fsm-state-stopping-5" { + value 5; + description + "Shutting down due to peer's actions"; + } + enum "ppp-fsm-state-req-sent-6" { + value 6; + description + "Config Request Sent"; + } + enum "ppp-fsm-state-ack-rcvd-7" { + value 7; + description + "Config Ack Received"; + } + enum "ppp-fsm-state-ack-sent-8" { + value 8; + description + "Config Ack Sent"; + } + enum "ppp-fsm-state-opened-9" { + value 9; + description + "Connection Open"; + } + } + description + "Ppp fsm state"; + } + + typedef Mac-address { + type yang:mac-address; + description + "MAC address type"; + } + + typedef Efp-payload-etype { + type enumeration { + enum "payload-ethertype-any" { + value 0; + description + "Any"; + } + enum "payload-ethertype-ip" { + value 1; + description + "IP"; + } + enum "payload-ethertype-pppoe" { + value 2; + description + "PPPoE"; + } + } + description + "Payload ethertype match"; + } + + typedef Efp-tag-priority { + type enumeration { + enum "priority0" { + value 0; + description + "Priority 0"; + } + enum "priority1" { + value 1; + description + "Priority 1"; + } + enum "priority2" { + value 2; + description + "Priority 2"; + } + enum "priority3" { + value 3; + description + "Priority 3"; + } + enum "priority4" { + value 4; + description + "Priority 4"; + } + enum "priority5" { + value 5; + description + "Priority 5"; + } + enum "priority6" { + value 6; + description + "Priority 6"; + } + enum "priority7" { + value 7; + description + "Priority 7"; + } + enum "priority-any" { + value 8; + description + "Any priority"; + } + } + description + "Priority"; + } + + typedef Efp-tag-etype { + type enumeration { + enum "untagged" { + value 0; + description + "Untagged"; + } + enum "dot1q" { + value 33024; + description + "Dot1Q"; + } + enum "dot1ad" { + value 34984; + description + "Dot1ad"; + } + } + description + "Tag ethertype"; + } + + typedef Vlan-tag-value { + type uint16; + description + "VLAN Tag Value (1 - 4094)"; + } + + typedef Vlan-encaps { + type enumeration { + enum "no-encapsulation" { + value 0; + description + "No encapsulation"; + } + enum "dot1q" { + value 1; + description + "IEEE 802.1Q encapsulation"; + } + enum "qinq" { + value 2; + description + "Double 802.1Q encapsulation"; + } + enum "qin-any" { + value 3; + description + "Double 802.1Q wildcarded encapsulation"; + } + enum "dot1q-native" { + value 4; + description + "IEEE 802.1Q native VLAN encapsulation"; + } + enum "dot1ad" { + value 5; + description + "IEEE 802.1ad encapsulation"; + } + enum "dot1ad-native" { + value 6; + description + "IEEE 802.1ad native VLAN encapsulation"; + } + enum "service-instance" { + value 7; + description + "Ethernet Service Instance"; + } + enum "dot1ad-dot1q" { + value 8; + description + "IEEE 802.1ad 802.1Q encapsulation"; + } + enum "dot1ad-any" { + value 9; + description + "IEEE 802.1ad wildcard 802.1Q encapsulation"; + } + } + description + "VLAN encapsulation"; + } + + typedef Im-cmd-lmi-type-enum { + type enumeration { + enum "lmi-type-auto" { + description + "lmi type auto"; + } + enum "lmi-type-ansi" { + description + "lmi type ansi"; + } + enum "lmi-type-ccitt" { + description + "lmi type ccitt"; + } + enum "lmi-type-cisco" { + description + "lmi type cisco"; + } + } + description + "Im cmd lmi type enum"; + } + + typedef Im-cmd-fr-type-enum { + type enumeration { + enum "frame-relay-cisco" { + description + "frame relay cisco"; + } + enum "frame-relay-ietf" { + description + "frame relay ietf"; + } + } + description + "Im cmd fr type enum"; + } + + typedef Im-cmd-encaps-enum { + type enumeration { + enum "frame-relay" { + description + "frame relay"; + } + enum "vlan" { + description + "vlan"; + } + enum "ppp" { + description + "ppp"; + } + } + description + "Im cmd encaps enum"; + } + + typedef Im-attr-transport-mode { + type enumeration { + enum "im-attr-transport-mode-unknown" { + value 0; + description + "im attr transport mode unknown"; + } + enum "im-attr-transport-mode-lan" { + value 1; + description + "im attr transport mode lan"; + } + enum "im-attr-transport-mode-wan" { + value 2; + description + "im attr transport mode wan"; + } + enum "im-attr-transport-mode-otn-bt-opu1e" { + value 3; + description + "im attr transport mode otn bt opu1e"; + } + enum "im-attr-transport-mode-otn-bt-opu2e" { + value 4; + description + "im attr transport mode otn bt opu2e"; + } + enum "im-attr-transport-mode-otn-opu3" { + value 5; + description + "im attr transport mode otn opu3"; + } + enum "im-attr-transport-mode-otn-opu4" { + value 6; + description + "im attr transport mode otn opu4"; + } + } + description + "Im attr transport mode"; + } + + typedef Im-cmd-loopback-enum { + type enumeration { + enum "no-loopback" { + description + "no loopback"; + } + enum "internal-loopback" { + description + "internal loopback"; + } + enum "external-loopback" { + description + "external loopback"; + } + enum "line-loopback" { + description + "line loopback"; + } + } + description + "Im cmd loopback enum"; + } + + typedef Im-attr-flow-control { + type enumeration { + enum "im-attr-flow-control-off" { + value 0; + description + "im attr flow control off"; + } + enum "im-attr-flow-control-on" { + value 1; + description + "im attr flow control on"; + } + enum "im-attr-flow-control-not-sup" { + value 2; + description + "im attr flow control not sup"; + } + enum "im-attr-flow-control-priority" { + value 3; + description + "im attr flow control priority"; + } + } + description + "Im attr flow control"; + } + + typedef Im-attr-link { + type enumeration { + enum "im-attr-link-type-auto" { + value 0; + description + "im attr link type auto"; + } + enum "im-attr-link-type-force" { + value 1; + description + "im attr link type force"; + } + } + description + "Im attr link"; + } + + typedef Im-attr-media { + type enumeration { + enum "im-attr-media-other" { + value 0; + description + "im attr media other"; + } + enum "im-attr-media-unknown" { + value 1; + description + "im attr media unknown"; + } + enum "im-attr-media-aui" { + value 2; + description + "im attr media aui"; + } + enum "im-attr-media-10base5" { + value 3; + description + "im attr media 10base5"; + } + enum "im-attr-media-foirl" { + value 4; + description + "im attr media foirl"; + } + enum "im-attr-media-10base2" { + value 5; + description + "im attr media 10base2"; + } + enum "im-attr-media-10broad36" { + value 6; + description + "im attr media 10broad36"; + } + enum "im-attr-media-10base" { + value 7; + description + "im attr media 10base"; + } + enum "im-attr-media-10base-thd" { + value 8; + description + "im attr media 10base thd"; + } + enum "im-attr-media-10base-tfd" { + value 9; + description + "im attr media 10base tfd"; + } + enum "im-attr-media-10base-fp" { + value 10; + description + "im attr media 10base fp"; + } + enum "im-attr-media-10base-fb" { + value 11; + description + "im attr media 10base fb"; + } + enum "im-attr-media-10base-fl" { + value 12; + description + "im attr media 10base fl"; + } + enum "im-attr-media-10base-flhd" { + value 13; + description + "im attr media 10base flhd"; + } + enum "im-attr-media-10base-flfd" { + value 14; + description + "im attr media 10base flfd"; + } + enum "im-attr-media-100base-t4" { + value 15; + description + "im attr media 100base t4"; + } + enum "im-attr-media-100base-tx" { + value 16; + description + "im attr media 100base tx"; + } + enum "im-attr-media-100base-txhd" { + value 17; + description + "im attr media 100base txhd"; + } + enum "im-attr-media-100base-txfd" { + value 18; + description + "im attr media 100base txfd"; + } + enum "im-attr-media-100base-fx" { + value 19; + description + "im attr media 100base fx"; + } + enum "im-attr-media-100base-fxhd" { + value 20; + description + "im attr media 100base fxhd"; + } + enum "im-attr-media-100base-fxfd" { + value 21; + description + "im attr media 100base fxfd"; + } + enum "im-attr-media-100base-ex" { + value 22; + description + "im attr media 100base ex"; + } + enum "im-attr-media-100base-exhd" { + value 23; + description + "im attr media 100base exhd"; + } + enum "im-attr-media-100base-exfd" { + value 24; + description + "im attr media 100base exfd"; + } + enum "im-attr-media-100base-t2" { + value 25; + description + "im attr media 100base t2"; + } + enum "im-attr-media-100base-t2hd" { + value 26; + description + "im attr media 100base t2hd"; + } + enum "im-attr-media-100base-t2fd" { + value 27; + description + "im attr media 100base t2fd"; + } + enum "im-attr-media-1000base-x" { + value 28; + description + "im attr media 1000base x"; + } + enum "im-attr-media-1000base-xhdx" { + value 29; + description + "im attr media 1000base xhdx"; + } + enum "im-attr-media-1000base-xfd" { + value 30; + description + "im attr media 1000base xfd"; + } + enum "im-attr-media-1000base-lx" { + value 31; + description + "im attr media 1000base lx"; + } + enum "im-attr-media-1000base-lxhd" { + value 32; + description + "im attr media 1000base lxhd"; + } + enum "im-attr-media-1000base-lxfdx" { + value 33; + description + "im attr media 1000base lxfdx"; + } + enum "im-attr-media-1000base-sx" { + value 34; + description + "im attr media 1000base sx"; + } + enum "im-attr-media-1000base-sxhd" { + value 35; + description + "im attr media 1000base sxhd"; + } + enum "im-attr-media-1000base-sxfd" { + value 36; + description + "im attr media 1000base sxfd"; + } + enum "im-attr-media-1000base-cx" { + value 37; + description + "im attr media 1000base cx"; + } + enum "im-attr-media-1000base-cxhdx" { + value 38; + description + "im attr media 1000base cxhdx"; + } + enum "im-attr-media-1000base-cxfd" { + value 39; + description + "im attr media 1000base cxfd"; + } + enum "im-attr-media-1000base" { + value 40; + description + "im attr media 1000base"; + } + enum "im-attr-media-1000base-thd" { + value 41; + description + "im attr media 1000base thd"; + } + enum "im-attr-media-1000base-tfd" { + value 42; + description + "im attr media 1000base tfd"; + } + enum "im-attr-media-10gbase-x" { + value 43; + description + "im attr media 10gbase x"; + } + enum "im-attr-media-10gbase-lx4" { + value 44; + description + "im attr media 10gbase lx4"; + } + enum "im-attr-media-10gbase-r" { + value 45; + description + "im attr media 10gbase r"; + } + enum "im-attr-media-10gbase-er" { + value 46; + description + "im attr media 10gbase er"; + } + enum "im-attr-media-10gbase-lr" { + value 47; + description + "im attr media 10gbase lr"; + } + enum "im-attr-media-10gbase-sr" { + value 48; + description + "im attr media 10gbase sr"; + } + enum "im-attr-media-10gbase-w" { + value 49; + description + "im attr media 10gbase w"; + } + enum "im-attr-media-10gbase-ew" { + value 50; + description + "im attr media 10gbase ew"; + } + enum "im-attr-media-10gbase-lw" { + value 51; + description + "im attr media 10gbase lw"; + } + enum "im-attr-media-10gbase-sw" { + value 52; + description + "im attr media 10gbase sw"; + } + enum "im-attr-media-10gbase-zr" { + value 53; + description + "im attr media 10gbase zr"; + } + enum "im-attr-media-802-9a" { + value 54; + description + "im attr media 802 9a"; + } + enum "im-attr-media-rj45" { + value 55; + description + "im attr media rj45"; + } + enum "im-attr-media-1000base-zx" { + value 56; + description + "im attr media 1000base zx"; + } + enum "im-attr-media-1000base-cwdm" { + value 57; + description + "im attr media 1000base cwdm"; + } + enum "im-attr-media-1000base-cwdm-1470" { + value 58; + description + "im attr media 1000base cwdm 1470"; + } + enum "im-attr-media-1000base-cwdm-1490" { + value 59; + description + "im attr media 1000base cwdm 1490"; + } + enum "im-attr-media-1000base-cwdm-1510" { + value 60; + description + "im attr media 1000base cwdm 1510"; + } + enum "im-attr-media-1000base-cwdm-1530" { + value 61; + description + "im attr media 1000base cwdm 1530"; + } + enum "im-attr-media-1000base-cwdm-1550" { + value 62; + description + "im attr media 1000base cwdm 1550"; + } + enum "im-attr-media-1000base-cwdm-1570" { + value 63; + description + "im attr media 1000base cwdm 1570"; + } + enum "im-attr-media-1000base-cwdm-1590" { + value 64; + description + "im attr media 1000base cwdm 1590"; + } + enum "im-attr-media-1000base-cwdm-1610" { + value 65; + description + "im attr media 1000base cwdm 1610"; + } + enum "im-attr-media-10gbase-dwdm" { + value 66; + description + "im attr media 10gbase dwdm"; + } + enum "im-attr-media-100gbase-lr4" { + value 67; + description + "im attr media 100gbase lr4"; + } + enum "im-attr-media-1000base-dwdm" { + value 68; + description + "im attr media 1000base dwdm"; + } + enum "im-attr-media-1000base-dwdm-1533" { + value 69; + description + "im attr media 1000base dwdm 1533"; + } + enum "im-attr-media-1000base-dwdm-1537" { + value 70; + description + "im attr media 1000base dwdm 1537"; + } + enum "im-attr-media-1000base-dwdm-1541" { + value 71; + description + "im attr media 1000base dwdm 1541"; + } + enum "im-attr-media-1000base-dwdm-1545" { + value 72; + description + "im attr media 1000base dwdm 1545"; + } + enum "im-attr-media-1000base-dwdm-1549" { + value 73; + description + "im attr media 1000base dwdm 1549"; + } + enum "im-attr-media-1000base-dwdm-1553" { + value 74; + description + "im attr media 1000base dwdm 1553"; + } + enum "im-attr-media-1000base-dwdm-1557" { + value 75; + description + "im attr media 1000base dwdm 1557"; + } + enum "im-attr-media-1000base-dwdm-1561" { + value 76; + description + "im attr media 1000base dwdm 1561"; + } + enum "im-attr-media-40gbase-lr4" { + value 77; + description + "im attr media 40gbase lr4"; + } + enum "im-attr-media-40gbase-er4" { + value 78; + description + "im attr media 40gbase er4"; + } + enum "im-attr-media-100gbase-er4" { + value 79; + description + "im attr media 100gbase er4"; + } + enum "im-attr-media-1000base-ex" { + value 80; + description + "im attr media 1000base ex"; + } + enum "im-attr-media-1000base-bx10-d" { + value 81; + description + "im attr media 1000base bx10 d"; + } + enum "im-attr-media-1000base-bx10-u" { + value 82; + description + "im attr media 1000base bx10 u"; + } + enum "im-attr-media-1000base-dwdm-1561-42" { + value 83; + description + "im attr media 1000base dwdm 1561 42"; + } + enum "im-attr-media-1000base-dwdm-1560-61" { + value 84; + description + "im attr media 1000base dwdm 1560 61"; + } + enum "im-attr-media-1000base-dwdm-1559-79" { + value 85; + description + "im attr media 1000base dwdm 1559 79"; + } + enum "im-attr-media-1000base-dwdm-1558-98" { + value 86; + description + "im attr media 1000base dwdm 1558 98"; + } + enum "im-attr-media-1000base-dwdm-1558-17" { + value 87; + description + "im attr media 1000base dwdm 1558 17"; + } + enum "im-attr-media-1000base-dwdm-1557-36" { + value 88; + description + "im attr media 1000base dwdm 1557 36"; + } + enum "im-attr-media-1000base-dwdm-1556-55" { + value 89; + description + "im attr media 1000base dwdm 1556 55"; + } + enum "im-attr-media-1000base-dwdm-1555-75" { + value 90; + description + "im attr media 1000base dwdm 1555 75"; + } + enum "im-attr-media-1000base-dwdm-1554-94" { + value 91; + description + "im attr media 1000base dwdm 1554 94"; + } + enum "im-attr-media-1000base-dwdm-1554-13" { + value 92; + description + "im attr media 1000base dwdm 1554 13"; + } + enum "im-attr-media-1000base-dwdm-1553-33" { + value 93; + description + "im attr media 1000base dwdm 1553 33"; + } + enum "im-attr-media-1000base-dwdm-1552-52" { + value 94; + description + "im attr media 1000base dwdm 1552 52"; + } + enum "im-attr-media-1000base-dwdm-1551-72" { + value 95; + description + "im attr media 1000base dwdm 1551 72"; + } + enum "im-attr-media-1000base-dwdm-1550-92" { + value 96; + description + "im attr media 1000base dwdm 1550 92"; + } + enum "im-attr-media-1000base-dwdm-1550-12" { + value 97; + description + "im attr media 1000base dwdm 1550 12"; + } + enum "im-attr-media-1000base-dwdm-1549-32" { + value 98; + description + "im attr media 1000base dwdm 1549 32"; + } + enum "im-attr-media-1000base-dwdm-1548-51" { + value 99; + description + "im attr media 1000base dwdm 1548 51"; + } + enum "im-attr-media-1000base-dwdm-1547-72" { + value 100; + description + "im attr media 1000base dwdm 1547 72"; + } + enum "im-attr-media-1000base-dwdm-1546-92" { + value 101; + description + "im attr media 1000base dwdm 1546 92"; + } + enum "im-attr-media-1000base-dwdm-1546-12" { + value 102; + description + "im attr media 1000base dwdm 1546 12"; + } + enum "im-attr-media-1000base-dwdm-1545-32" { + value 103; + description + "im attr media 1000base dwdm 1545 32"; + } + enum "im-attr-media-1000base-dwdm-1544-53" { + value 104; + description + "im attr media 1000base dwdm 1544 53"; + } + enum "im-attr-media-1000base-dwdm-1543-73" { + value 105; + description + "im attr media 1000base dwdm 1543 73"; + } + enum "im-attr-media-1000base-dwdm-1542-94" { + value 106; + description + "im attr media 1000base dwdm 1542 94"; + } + enum "im-attr-media-1000base-dwdm-1542-14" { + value 107; + description + "im attr media 1000base dwdm 1542 14"; + } + enum "im-attr-media-1000base-dwdm-1541-35" { + value 108; + description + "im attr media 1000base dwdm 1541 35"; + } + enum "im-attr-media-1000base-dwdm-1540-56" { + value 109; + description + "im attr media 1000base dwdm 1540 56"; + } + enum "im-attr-media-1000base-dwdm-1539-77" { + value 110; + description + "im attr media 1000base dwdm 1539 77"; + } + enum "im-attr-media-1000base-dwdm-1538-98" { + value 111; + description + "im attr media 1000base dwdm 1538 98"; + } + enum "im-attr-media-1000base-dwdm-1538-19" { + value 112; + description + "im attr media 1000base dwdm 1538 19"; + } + enum "im-attr-media-1000base-dwdm-1537-40" { + value 113; + description + "im attr media 1000base dwdm 1537 40"; + } + enum "im-attr-media-1000base-dwdm-1536-61" { + value 114; + description + "im attr media 1000base dwdm 1536 61"; + } + enum "im-attr-media-1000base-dwdm-1535-82" { + value 115; + description + "im attr media 1000base dwdm 1535 82"; + } + enum "im-attr-media-1000base-dwdm-1535-04" { + value 116; + description + "im attr media 1000base dwdm 1535 04"; + } + enum "im-attr-media-1000base-dwdm-1534-25" { + value 117; + description + "im attr media 1000base dwdm 1534 25"; + } + enum "im-attr-media-1000base-dwdm-1533-47" { + value 118; + description + "im attr media 1000base dwdm 1533 47"; + } + enum "im-attr-media-1000base-dwdm-1532-68" { + value 119; + description + "im attr media 1000base dwdm 1532 68"; + } + enum "im-attr-media-1000base-dwdm-1531-90" { + value 120; + description + "im attr media 1000base dwdm 1531 90"; + } + enum "im-attr-media-1000base-dwdm-1531-12" { + value 121; + description + "im attr media 1000base dwdm 1531 12"; + } + enum "im-attr-media-1000base-dwdm-1530-33" { + value 122; + description + "im attr media 1000base dwdm 1530 33"; + } + enum "im-attr-media-1000base-dwdm-tunable" { + value 123; + description + "im attr media 1000base dwdm tunable"; + } + enum "im-attr-media-10gbase-dwdm-1561-42" { + value 124; + description + "im attr media 10gbase dwdm 1561 42"; + } + enum "im-attr-media-10gbase-dwdm-1560-61" { + value 125; + description + "im attr media 10gbase dwdm 1560 61"; + } + enum "im-attr-media-10gbase-dwdm-1559-79" { + value 126; + description + "im attr media 10gbase dwdm 1559 79"; + } + enum "im-attr-media-10gbase-dwdm-1558-98" { + value 127; + description + "im attr media 10gbase dwdm 1558 98"; + } + enum "im-attr-media-10gbase-dwdm-1558-17" { + value 128; + description + "im attr media 10gbase dwdm 1558 17"; + } + enum "im-attr-media-10gbase-dwdm-1557-36" { + value 129; + description + "im attr media 10gbase dwdm 1557 36"; + } + enum "im-attr-media-10gbase-dwdm-1556-55" { + value 130; + description + "im attr media 10gbase dwdm 1556 55"; + } + enum "im-attr-media-10gbase-dwdm-1555-75" { + value 131; + description + "im attr media 10gbase dwdm 1555 75"; + } + enum "im-attr-media-10gbase-dwdm-1554-94" { + value 132; + description + "im attr media 10gbase dwdm 1554 94"; + } + enum "im-attr-media-10gbase-dwdm-1554-13" { + value 133; + description + "im attr media 10gbase dwdm 1554 13"; + } + enum "im-attr-media-10gbase-dwdm-1553-33" { + value 134; + description + "im attr media 10gbase dwdm 1553 33"; + } + enum "im-attr-media-10gbase-dwdm-1552-52" { + value 135; + description + "im attr media 10gbase dwdm 1552 52"; + } + enum "im-attr-media-10gbase-dwdm-1551-72" { + value 136; + description + "im attr media 10gbase dwdm 1551 72"; + } + enum "im-attr-media-10gbase-dwdm-1550-92" { + value 137; + description + "im attr media 10gbase dwdm 1550 92"; + } + enum "im-attr-media-10gbase-dwdm-1550-12" { + value 138; + description + "im attr media 10gbase dwdm 1550 12"; + } + enum "im-attr-media-10gbase-dwdm-1549-32" { + value 139; + description + "im attr media 10gbase dwdm 1549 32"; + } + enum "im-attr-media-10gbase-dwdm-1548-51" { + value 140; + description + "im attr media 10gbase dwdm 1548 51"; + } + enum "im-attr-media-10gbase-dwdm-1547-72" { + value 141; + description + "im attr media 10gbase dwdm 1547 72"; + } + enum "im-attr-media-10gbase-dwdm-1546-92" { + value 142; + description + "im attr media 10gbase dwdm 1546 92"; + } + enum "im-attr-media-10gbase-dwdm-1546-12" { + value 143; + description + "im attr media 10gbase dwdm 1546 12"; + } + enum "im-attr-media-10gbase-dwdm-1545-32" { + value 144; + description + "im attr media 10gbase dwdm 1545 32"; + } + enum "im-attr-media-10gbase-dwdm-1544-53" { + value 145; + description + "im attr media 10gbase dwdm 1544 53"; + } + enum "im-attr-media-10gbase-dwdm-1543-73" { + value 146; + description + "im attr media 10gbase dwdm 1543 73"; + } + enum "im-attr-media-10gbase-dwdm-1542-94" { + value 147; + description + "im attr media 10gbase dwdm 1542 94"; + } + enum "im-attr-media-10gbase-dwdm-1542-14" { + value 148; + description + "im attr media 10gbase dwdm 1542 14"; + } + enum "im-attr-media-10gbase-dwdm-1541-35" { + value 149; + description + "im attr media 10gbase dwdm 1541 35"; + } + enum "im-attr-media-10gbase-dwdm-1540-56" { + value 150; + description + "im attr media 10gbase dwdm 1540 56"; + } + enum "im-attr-media-10gbase-dwdm-1539-77" { + value 151; + description + "im attr media 10gbase dwdm 1539 77"; + } + enum "im-attr-media-10gbase-dwdm-1538-98" { + value 152; + description + "im attr media 10gbase dwdm 1538 98"; + } + enum "im-attr-media-10gbase-dwdm-1538-19" { + value 153; + description + "im attr media 10gbase dwdm 1538 19"; + } + enum "im-attr-media-10gbase-dwdm-1537-40" { + value 154; + description + "im attr media 10gbase dwdm 1537 40"; + } + enum "im-attr-media-10gbase-dwdm-1536-61" { + value 155; + description + "im attr media 10gbase dwdm 1536 61"; + } + enum "im-attr-media-10gbase-dwdm-1535-82" { + value 156; + description + "im attr media 10gbase dwdm 1535 82"; + } + enum "im-attr-media-10gbase-dwdm-1535-04" { + value 157; + description + "im attr media 10gbase dwdm 1535 04"; + } + enum "im-attr-media-10gbase-dwdm-1534-25" { + value 158; + description + "im attr media 10gbase dwdm 1534 25"; + } + enum "im-attr-media-10gbase-dwdm-1533-47" { + value 159; + description + "im attr media 10gbase dwdm 1533 47"; + } + enum "im-attr-media-10gbase-dwdm-1532-68" { + value 160; + description + "im attr media 10gbase dwdm 1532 68"; + } + enum "im-attr-media-10gbase-dwdm-1531-90" { + value 161; + description + "im attr media 10gbase dwdm 1531 90"; + } + enum "im-attr-media-10gbase-dwdm-1531-12" { + value 162; + description + "im attr media 10gbase dwdm 1531 12"; + } + enum "im-attr-media-10gbase-dwdm-1530-33" { + value 163; + description + "im attr media 10gbase dwdm 1530 33"; + } + enum "im-attr-media-10gbase-dwdm-tunable" { + value 164; + description + "im attr media 10gbase dwdm tunable"; + } + enum "im-attr-media-40gbase-dwdm-1561-42" { + value 165; + description + "im attr media 40gbase dwdm 1561 42"; + } + enum "im-attr-media-40gbase-dwdm-1560-61" { + value 166; + description + "im attr media 40gbase dwdm 1560 61"; + } + enum "im-attr-media-40gbase-dwdm-1559-79" { + value 167; + description + "im attr media 40gbase dwdm 1559 79"; + } + enum "im-attr-media-40gbase-dwdm-1558-98" { + value 168; + description + "im attr media 40gbase dwdm 1558 98"; + } + enum "im-attr-media-40gbase-dwdm-1558-17" { + value 169; + description + "im attr media 40gbase dwdm 1558 17"; + } + enum "im-attr-media-40gbase-dwdm-1557-36" { + value 170; + description + "im attr media 40gbase dwdm 1557 36"; + } + enum "im-attr-media-40gbase-dwdm-1556-55" { + value 171; + description + "im attr media 40gbase dwdm 1556 55"; + } + enum "im-attr-media-40gbase-dwdm-1555-75" { + value 172; + description + "im attr media 40gbase dwdm 1555 75"; + } + enum "im-attr-media-40gbase-dwdm-1554-94" { + value 173; + description + "im attr media 40gbase dwdm 1554 94"; + } + enum "im-attr-media-40gbase-dwdm-1554-13" { + value 174; + description + "im attr media 40gbase dwdm 1554 13"; + } + enum "im-attr-media-40gbase-dwdm-1553-33" { + value 175; + description + "im attr media 40gbase dwdm 1553 33"; + } + enum "im-attr-media-40gbase-dwdm-1552-52" { + value 176; + description + "im attr media 40gbase dwdm 1552 52"; + } + enum "im-attr-media-40gbase-dwdm-1551-72" { + value 177; + description + "im attr media 40gbase dwdm 1551 72"; + } + enum "im-attr-media-40gbase-dwdm-1550-92" { + value 178; + description + "im attr media 40gbase dwdm 1550 92"; + } + enum "im-attr-media-40gbase-dwdm-1550-12" { + value 179; + description + "im attr media 40gbase dwdm 1550 12"; + } + enum "im-attr-media-40gbase-dwdm-1549-32" { + value 180; + description + "im attr media 40gbase dwdm 1549 32"; + } + enum "im-attr-media-40gbase-dwdm-1548-51" { + value 181; + description + "im attr media 40gbase dwdm 1548 51"; + } + enum "im-attr-media-40gbase-dwdm-1547-72" { + value 182; + description + "im attr media 40gbase dwdm 1547 72"; + } + enum "im-attr-media-40gbase-dwdm-1546-92" { + value 183; + description + "im attr media 40gbase dwdm 1546 92"; + } + enum "im-attr-media-40gbase-dwdm-1546-12" { + value 184; + description + "im attr media 40gbase dwdm 1546 12"; + } + enum "im-attr-media-40gbase-dwdm-1545-32" { + value 185; + description + "im attr media 40gbase dwdm 1545 32"; + } + enum "im-attr-media-40gbase-dwdm-1544-53" { + value 186; + description + "im attr media 40gbase dwdm 1544 53"; + } + enum "im-attr-media-40gbase-dwdm-1543-73" { + value 187; + description + "im attr media 40gbase dwdm 1543 73"; + } + enum "im-attr-media-40gbase-dwdm-1542-94" { + value 188; + description + "im attr media 40gbase dwdm 1542 94"; + } + enum "im-attr-media-40gbase-dwdm-1542-14" { + value 189; + description + "im attr media 40gbase dwdm 1542 14"; + } + enum "im-attr-media-40gbase-dwdm-1541-35" { + value 190; + description + "im attr media 40gbase dwdm 1541 35"; + } + enum "im-attr-media-40gbase-dwdm-1540-56" { + value 191; + description + "im attr media 40gbase dwdm 1540 56"; + } + enum "im-attr-media-40gbase-dwdm-1539-77" { + value 192; + description + "im attr media 40gbase dwdm 1539 77"; + } + enum "im-attr-media-40gbase-dwdm-1538-98" { + value 193; + description + "im attr media 40gbase dwdm 1538 98"; + } + enum "im-attr-media-40gbase-dwdm-1538-19" { + value 194; + description + "im attr media 40gbase dwdm 1538 19"; + } + enum "im-attr-media-40gbase-dwdm-1537-40" { + value 195; + description + "im attr media 40gbase dwdm 1537 40"; + } + enum "im-attr-media-40gbase-dwdm-1536-61" { + value 196; + description + "im attr media 40gbase dwdm 1536 61"; + } + enum "im-attr-media-40gbase-dwdm-1535-82" { + value 197; + description + "im attr media 40gbase dwdm 1535 82"; + } + enum "im-attr-media-40gbase-dwdm-1535-04" { + value 198; + description + "im attr media 40gbase dwdm 1535 04"; + } + enum "im-attr-media-40gbase-dwdm-1534-25" { + value 199; + description + "im attr media 40gbase dwdm 1534 25"; + } + enum "im-attr-media-40gbase-dwdm-1533-47" { + value 200; + description + "im attr media 40gbase dwdm 1533 47"; + } + enum "im-attr-media-40gbase-dwdm-1532-68" { + value 201; + description + "im attr media 40gbase dwdm 1532 68"; + } + enum "im-attr-media-40gbase-dwdm-1531-90" { + value 202; + description + "im attr media 40gbase dwdm 1531 90"; + } + enum "im-attr-media-40gbase-dwdm-1531-12" { + value 203; + description + "im attr media 40gbase dwdm 1531 12"; + } + enum "im-attr-media-40gbase-dwdm-1530-33" { + value 204; + description + "im attr media 40gbase dwdm 1530 33"; + } + enum "im-attr-media-40gbase-dwdm-tunable" { + value 205; + description + "im attr media 40gbase dwdm tunable"; + } + enum "im-attr-media-100gbase-dwdm-1561-42" { + value 206; + description + "im attr media 100gbase dwdm 1561 42"; + } + enum "im-attr-media-100gbase-dwdm-1560-61" { + value 207; + description + "im attr media 100gbase dwdm 1560 61"; + } + enum "im-attr-media-100gbase-dwdm-1559-79" { + value 208; + description + "im attr media 100gbase dwdm 1559 79"; + } + enum "im-attr-media-100gbase-dwdm-1558-98" { + value 209; + description + "im attr media 100gbase dwdm 1558 98"; + } + enum "im-attr-media-100gbase-dwdm-1558-17" { + value 210; + description + "im attr media 100gbase dwdm 1558 17"; + } + enum "im-attr-media-100gbase-dwdm-1557-36" { + value 211; + description + "im attr media 100gbase dwdm 1557 36"; + } + enum "im-attr-media-100gbase-dwdm-1556-55" { + value 212; + description + "im attr media 100gbase dwdm 1556 55"; + } + enum "im-attr-media-100gbase-dwdm-1555-75" { + value 213; + description + "im attr media 100gbase dwdm 1555 75"; + } + enum "im-attr-media-100gbase-dwdm-1554-94" { + value 214; + description + "im attr media 100gbase dwdm 1554 94"; + } + enum "im-attr-media-100gbase-dwdm-1554-13" { + value 215; + description + "im attr media 100gbase dwdm 1554 13"; + } + enum "im-attr-media-100gbase-dwdm-1553-33" { + value 216; + description + "im attr media 100gbase dwdm 1553 33"; + } + enum "im-attr-media-100gbase-dwdm-1552-52" { + value 217; + description + "im attr media 100gbase dwdm 1552 52"; + } + enum "im-attr-media-100gbase-dwdm-1551-72" { + value 218; + description + "im attr media 100gbase dwdm 1551 72"; + } + enum "im-attr-media-100gbase-dwdm-1550-92" { + value 219; + description + "im attr media 100gbase dwdm 1550 92"; + } + enum "im-attr-media-100gbase-dwdm-1550-12" { + value 220; + description + "im attr media 100gbase dwdm 1550 12"; + } + enum "im-attr-media-100gbase-dwdm-1549-32" { + value 221; + description + "im attr media 100gbase dwdm 1549 32"; + } + enum "im-attr-media-100gbase-dwdm-1548-51" { + value 222; + description + "im attr media 100gbase dwdm 1548 51"; + } + enum "im-attr-media-100gbase-dwdm-1547-72" { + value 223; + description + "im attr media 100gbase dwdm 1547 72"; + } + enum "im-attr-media-100gbase-dwdm-1546-92" { + value 224; + description + "im attr media 100gbase dwdm 1546 92"; + } + enum "im-attr-media-100gbase-dwdm-1546-12" { + value 225; + description + "im attr media 100gbase dwdm 1546 12"; + } + enum "im-attr-media-100gbase-dwdm-1545-32" { + value 226; + description + "im attr media 100gbase dwdm 1545 32"; + } + enum "im-attr-media-100gbase-dwdm-1544-53" { + value 227; + description + "im attr media 100gbase dwdm 1544 53"; + } + enum "im-attr-media-100gbase-dwdm-1543-73" { + value 228; + description + "im attr media 100gbase dwdm 1543 73"; + } + enum "im-attr-media-100gbase-dwdm-1542-94" { + value 229; + description + "im attr media 100gbase dwdm 1542 94"; + } + enum "im-attr-media-100gbase-dwdm-1542-14" { + value 230; + description + "im attr media 100gbase dwdm 1542 14"; + } + enum "im-attr-media-100gbase-dwdm-1541-35" { + value 231; + description + "im attr media 100gbase dwdm 1541 35"; + } + enum "im-attr-media-100gbase-dwdm-1540-56" { + value 232; + description + "im attr media 100gbase dwdm 1540 56"; + } + enum "im-attr-media-100gbase-dwdm-1539-77" { + value 233; + description + "im attr media 100gbase dwdm 1539 77"; + } + enum "im-attr-media-100gbase-dwdm-1538-98" { + value 234; + description + "im attr media 100gbase dwdm 1538 98"; + } + enum "im-attr-media-100gbase-dwdm-1538-19" { + value 235; + description + "im attr media 100gbase dwdm 1538 19"; + } + enum "im-attr-media-100gbase-dwdm-1537-40" { + value 236; + description + "im attr media 100gbase dwdm 1537 40"; + } + enum "im-attr-media-100gbase-dwdm-1536-61" { + value 237; + description + "im attr media 100gbase dwdm 1536 61"; + } + enum "im-attr-media-100gbase-dwdm-1535-82" { + value 238; + description + "im attr media 100gbase dwdm 1535 82"; + } + enum "im-attr-media-100gbase-dwdm-1535-04" { + value 239; + description + "im attr media 100gbase dwdm 1535 04"; + } + enum "im-attr-media-100gbase-dwdm-1534-25" { + value 240; + description + "im attr media 100gbase dwdm 1534 25"; + } + enum "im-attr-media-100gbase-dwdm-1533-47" { + value 241; + description + "im attr media 100gbase dwdm 1533 47"; + } + enum "im-attr-media-100gbase-dwdm-1532-68" { + value 242; + description + "im attr media 100gbase dwdm 1532 68"; + } + enum "im-attr-media-100gbase-dwdm-1531-90" { + value 243; + description + "im attr media 100gbase dwdm 1531 90"; + } + enum "im-attr-media-100gbase-dwdm-1531-12" { + value 244; + description + "im attr media 100gbase dwdm 1531 12"; + } + enum "im-attr-media-100gbase-dwdm-1530-33" { + value 245; + description + "im attr media 100gbase dwdm 1530 33"; + } + enum "im-attr-media-100gbase-dwdm-tunable" { + value 246; + description + "im attr media 100gbase dwdm tunable"; + } + enum "im-attr-media-40gbase-kr4" { + value 247; + description + "im attr media 40gbase kr4"; + } + enum "im-attr-media-40gbase-cr4" { + value 248; + description + "im attr media 40gbase cr4"; + } + enum "im-attr-media-40gbase-sr4" { + value 249; + description + "im attr media 40gbase sr4"; + } + enum "im-attr-media-40gbase-fr" { + value 250; + description + "im attr media 40gbase fr"; + } + enum "im-attr-media-100gbase-cr10" { + value 251; + description + "im attr media 100gbase cr10"; + } + enum "im-attr-media-100gbase-sr10" { + value 252; + description + "im attr media 100gbase sr10"; + } + enum "im-attr-media-40gbase-csr4" { + value 253; + description + "im attr media 40gbase csr4"; + } + enum "im-attr-media-10gbase-cwdm" { + value 254; + description + "im attr media 10gbase cwdm"; + } + enum "im-attr-media-10gbase-cwdm-tunable" { + value 255; + description + "im attr media 10gbase cwdm tunable"; + } + enum "im-attr-media-10gbase-cwdm-1470" { + value 256; + description + "im attr media 10gbase cwdm 1470"; + } + enum "im-attr-media-10gbase-cwdm-1490" { + value 257; + description + "im attr media 10gbase cwdm 1490"; + } + enum "im-attr-media-10gbase-cwdm-1510" { + value 258; + description + "im attr media 10gbase cwdm 1510"; + } + enum "im-attr-media-10gbase-cwdm-1530" { + value 259; + description + "im attr media 10gbase cwdm 1530"; + } + enum "im-attr-media-10gbase-cwdm-1550" { + value 260; + description + "im attr media 10gbase cwdm 1550"; + } + enum "im-attr-media-10gbase-cwdm-1570" { + value 261; + description + "im attr media 10gbase cwdm 1570"; + } + enum "im-attr-media-10gbase-cwdm-1590" { + value 262; + description + "im attr media 10gbase cwdm 1590"; + } + enum "im-attr-media-10gbase-cwdm-1610" { + value 263; + description + "im attr media 10gbase cwdm 1610"; + } + enum "im-attr-media-40gbase-cwdm" { + value 264; + description + "im attr media 40gbase cwdm"; + } + enum "im-attr-media-40gbase-cwdm-tunable" { + value 265; + description + "im attr media 40gbase cwdm tunable"; + } + enum "im-attr-media-40gbase-cwdm-1470" { + value 266; + description + "im attr media 40gbase cwdm 1470"; + } + enum "im-attr-media-40gbase-cwdm-1490" { + value 267; + description + "im attr media 40gbase cwdm 1490"; + } + enum "im-attr-media-40gbase-cwdm-1510" { + value 268; + description + "im attr media 40gbase cwdm 1510"; + } + enum "im-attr-media-40gbase-cwdm-1530" { + value 269; + description + "im attr media 40gbase cwdm 1530"; + } + enum "im-attr-media-40gbase-cwdm-1550" { + value 270; + description + "im attr media 40gbase cwdm 1550"; + } + enum "im-attr-media-40gbase-cwdm-1570" { + value 271; + description + "im attr media 40gbase cwdm 1570"; + } + enum "im-attr-media-40gbase-cwdm-1590" { + value 272; + description + "im attr media 40gbase cwdm 1590"; + } + enum "im-attr-media-40gbase-cwdm-1610" { + value 273; + description + "im attr media 40gbase cwdm 1610"; + } + enum "im-attr-media-100gbase-cwdm" { + value 274; + description + "im attr media 100gbase cwdm"; + } + enum "im-attr-media-100gbase-cwdm-tunable" { + value 275; + description + "im attr media 100gbase cwdm tunable"; + } + enum "im-attr-media-100gbase-cwdm-1470" { + value 276; + description + "im attr media 100gbase cwdm 1470"; + } + enum "im-attr-media-100gbase-cwdm-1490" { + value 277; + description + "im attr media 100gbase cwdm 1490"; + } + enum "im-attr-media-100gbase-cwdm-1510" { + value 278; + description + "im attr media 100gbase cwdm 1510"; + } + enum "im-attr-media-100gbase-cwdm-1530" { + value 279; + description + "im attr media 100gbase cwdm 1530"; + } + enum "im-attr-media-100gbase-cwdm-1550" { + value 280; + description + "im attr media 100gbase cwdm 1550"; + } + enum "im-attr-media-100gbase-cwdm-1570" { + value 281; + description + "im attr media 100gbase cwdm 1570"; + } + enum "im-attr-media-100gbase-cwdm-1590" { + value 282; + description + "im attr media 100gbase cwdm 1590"; + } + enum "im-attr-media-100gbase-cwdm-1610" { + value 283; + description + "im attr media 100gbase cwdm 1610"; + } + enum "im-attr-media-40gbase-elpb" { + value 284; + description + "im attr media 40gbase elpb"; + } + enum "im-attr-media-100gbase-elpb" { + value 285; + description + "im attr media 100gbase elpb"; + } + enum "im-attr-media-100gbase-lr10" { + value 286; + description + "im attr media 100gbase lr10"; + } + enum "im-attr-media-40gbase" { + value 287; + description + "im attr media 40gbase"; + } + enum "im-attr-media-100gbase-kp4" { + value 288; + description + "im attr media 100gbase kp4"; + } + enum "im-attr-media-100gbase-kr4" { + value 289; + description + "im attr media 100gbase kr4"; + } + enum "im-attr-media-10gbase-lrm" { + value 290; + description + "im attr media 10gbase lrm"; + } + enum "im-attr-media-10gbase-cx4" { + value 291; + description + "im attr media 10gbase cx4"; + } + enum "im-attr-media-10gbase" { + value 292; + description + "im attr media 10gbase"; + } + enum "im-attr-media-10gbase-kx4" { + value 293; + description + "im attr media 10gbase kx4"; + } + enum "im-attr-media-10gbase-kr" { + value 294; + description + "im attr media 10gbase kr"; + } + enum "im-attr-media-10gbase-pr" { + value 295; + description + "im attr media 10gbase pr"; + } + enum "im-attr-media-100base-lx" { + value 296; + description + "im attr media 100base lx"; + } + enum "im-attr-media-100base-zx" { + value 297; + description + "im attr media 100base zx"; + } + enum "im-attr-media-1000base-bx-d" { + value 298; + description + "im attr media 1000base bx d"; + } + enum "im-attr-media-1000base-bx-u" { + value 299; + description + "im attr media 1000base bx u"; + } + enum "im-attr-media-1000base-bx20-d" { + value 300; + description + "im attr media 1000base bx20 d"; + } + enum "im-attr-media-1000base-bx20-u" { + value 301; + description + "im attr media 1000base bx20 u"; + } + enum "im-attr-media-1000base-bx40-d" { + value 302; + description + "im attr media 1000base bx40 d"; + } + enum "im-attr-media-1000base-bx40-da" { + value 303; + description + "im attr media 1000base bx40 da"; + } + enum "im-attr-media-1000base-bx40-u" { + value 304; + description + "im attr media 1000base bx40 u"; + } + enum "im-attr-media-1000base-bx80-d" { + value 305; + description + "im attr media 1000base bx80 d"; + } + enum "im-attr-media-1000base-bx80-u" { + value 306; + description + "im attr media 1000base bx80 u"; + } + enum "im-attr-media-1000base-bx120-d" { + value 307; + description + "im attr media 1000base bx120 d"; + } + enum "im-attr-media-1000base-bx120-u" { + value 308; + description + "im attr media 1000base bx120 u"; + } + enum "im-attr-media-10gbase-bx-d" { + value 309; + description + "im attr media 10gbase bx d"; + } + enum "im-attr-media-10gbase-bx-u" { + value 310; + description + "im attr media 10gbase bx u"; + } + enum "im-attr-media-10gbase-bx10-d" { + value 311; + description + "im attr media 10gbase bx10 d"; + } + enum "im-attr-media-10gbase-bx10-u" { + value 312; + description + "im attr media 10gbase bx10 u"; + } + enum "im-attr-media-10gbase-bx20-d" { + value 313; + description + "im attr media 10gbase bx20 d"; + } + enum "im-attr-media-10gbase-bx20-u" { + value 314; + description + "im attr media 10gbase bx20 u"; + } + enum "im-attr-media-10gbase-bx40-d" { + value 315; + description + "im attr media 10gbase bx40 d"; + } + enum "im-attr-media-10gbase-bx40-u" { + value 316; + description + "im attr media 10gbase bx40 u"; + } + enum "im-attr-media-10gbase-bx80-d" { + value 317; + description + "im attr media 10gbase bx80 d"; + } + enum "im-attr-media-10gbase-bx80-u" { + value 318; + description + "im attr media 10gbase bx80 u"; + } + enum "im-attr-media-10gbase-bx120-d" { + value 319; + description + "im attr media 10gbase bx120 d"; + } + enum "im-attr-media-10gbase-bx120-u" { + value 320; + description + "im attr media 10gbase bx120 u"; + } + enum "im-attr-media-1000base-dr-lx" { + value 321; + description + "im attr media 1000base dr lx"; + } + enum "im-attr-media-100gbase-er4l" { + value 322; + description + "im attr media 100gbase er4l"; + } + enum "im-attr-media-100gbase-sr4" { + value 323; + description + "im attr media 100gbase sr4"; + } + enum "im-attr-media-40gbase-sr-bd" { + value 324; + description + "im attr media 40gbase sr bd"; + } + enum "im-attr-media-25gbase-cr" { + value 325; + description + "im attr media 25gbase cr"; + } + enum "im-attr-media-25gbase-cr-s" { + value 326; + description + "im attr media 25gbase cr s"; + } + enum "im-attr-media-25gbase-kr" { + value 327; + description + "im attr media 25gbase kr"; + } + enum "im-attr-media-25gbase-kr-s" { + value 328; + description + "im attr media 25gbase kr s"; + } + enum "im-attr-media-25gbase-r" { + value 329; + description + "im attr media 25gbase r"; + } + enum "im-attr-media-25gbase-sr" { + value 330; + description + "im attr media 25gbase sr"; + } + enum "im-attr-media-25gbase-dwdm" { + value 331; + description + "im attr media 25gbase dwdm"; + } + enum "im-attr-media-25gbase-dwdm-tunable" { + value 332; + description + "im attr media 25gbase dwdm tunable"; + } + enum "im-attr-media-25gbase-cwdm" { + value 333; + description + "im attr media 25gbase cwdm"; + } + enum "im-attr-media-25gbase-cwdm-tunable" { + value 334; + description + "im attr media 25gbase cwdm tunable"; + } + enum "im-attr-media-100gbase-psm4" { + value 335; + description + "im attr media 100gbase psm4"; + } + enum "im-attr-media-100gbase-er10" { + value 336; + description + "im attr media 100gbase er10"; + } + enum "im-attr-media-100gbase-er10l" { + value 337; + description + "im attr media 100gbase er10l"; + } + enum "im-attr-media-100gbase-acc" { + value 338; + description + "im attr media 100gbase acc"; + } + enum "im-attr-media-100gbase-aoc" { + value 339; + description + "im attr media 100gbase aoc"; + } + enum "im-attr-media-100gbase-cwdm4" { + value 340; + description + "im attr media 100gbase cwdm4"; + } + enum "im-attr-media-40gbase-psm4" { + value 341; + description + "im attr media 40gbase psm4"; + } + enum "im-attr-media-100gbase-cr4" { + value 342; + description + "im attr media 100gbase cr4"; + } + enum "im-attr-media-100gbase-act-loop" { + value 343; + description + "im attr media 100gbase act loop"; + } + enum "im-attr-media-100gbase-pas-loop" { + value 344; + description + "im attr media 100gbase pas loop"; + } + enum "im-attr-media-50gbase-cr2" { + value 345; + description + "im attr media 50gbase cr2"; + } + enum "im-attr-media-50gbase-sr2" { + value 346; + description + "im attr media 50gbase sr2"; + } + enum "im-attr-media-50gbase-psm2" { + value 347; + description + "im attr media 50gbase psm2"; + } + enum "im-attr-media-200gbase-cr4" { + value 348; + description + "im attr media 200gbase cr4"; + } + enum "im-attr-media-400gbase-fr4" { + value 349; + description + "im attr media 400gbase fr4"; + } + enum "im-attr-media-400gbase-dr4" { + value 350; + description + "im attr media 400gbase dr4"; + } + enum "im-attr-media-400gbase-cr4" { + value 351; + description + "im attr media 400gbase cr4"; + } + enum "im-attr-media-10gbase-cr" { + value 352; + description + "im attr media 10gbase cr"; + } + enum "im-attr-media-10gbase-aoc" { + value 353; + description + "im attr media 10gbase aoc"; + } + enum "im-attr-media-40gbase-aoc" { + value 354; + description + "im attr media 40gbase aoc"; + } + enum "im-attr-media-40gbase-acu" { + value 355; + description + "im attr media 40gbase acu"; + } + enum "im-attr-media-100gbase-acu" { + value 356; + description + "im attr media 100gbase acu"; + } + enum "im-attr-media-10gbase-cu1m" { + value 357; + description + "im attr media 10gbase cu1m"; + } + enum "im-attr-media-10gbase-cu3m" { + value 358; + description + "im attr media 10gbase cu3m"; + } + enum "im-attr-media-10gbase-cu5m" { + value 359; + description + "im attr media 10gbase cu5m"; + } + enum "im-attr-media-10gbase-acu7m" { + value 360; + description + "im attr media 10gbase acu7m"; + } + enum "im-attr-media-10gbase-acu10m" { + value 361; + description + "im attr media 10gbase acu10m"; + } + enum "im-attr-media-4x10g-base-lr" { + value 362; + description + "im attr media 4x10g base lr"; + } + } + description + "Im attr media"; + } + + typedef Im-attr-duplex { + type enumeration { + enum "im-attr-duplex-unknown" { + value 0; + description + "im attr duplex unknown"; + } + enum "im-attr-duplex-half" { + value 1; + description + "im attr duplex half"; + } + enum "im-attr-duplex-full" { + value 2; + description + "im attr duplex full"; + } + } + description + "Im attr duplex"; + } + + grouping IM-DESC-INFO { + description + "Interface description information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf state { + type Im-state-enum; + description + "Operational state with no translation of error + disable or shutdown"; + } + leaf line-state { + type Im-state-enum; + description + "Line protocol state with no translation of error + disable or shutdown"; + } + leaf description { + type string; + description + "Interface description string"; + } + } + + grouping NV-OPTICAL-INTERFACE-INFO { + description + "nV Optical Controller information"; + leaf controller { + type string; + description + "Controller that nV controller maps to"; + } + } + + grouping STATS-BAG-ELEMENT { + description + "STATS BAG ELEMENT"; + leaf key { + type yang:hex-string; + description + "key"; + } + list block-array { + description + "block array"; + uses STATS-BAG-BLOCK; + } + } + + grouping STATS-BAG-BLOCK { + description + "STATS BAG BLOCK"; + leaf type { + type Stats-counter; + description + "type"; + } + leaf count { + type uint32; + description + "count"; + } + leaf data { + type yang:hex-string; + description + "data"; + } + } + + grouping STATS-BAG-ID { + description + "STATS BAG ID"; + leaf id-type { + type Stats-id; + description + "id type"; + } + leaf unused { + when "../id-type = 'stats-id-type-unknown'" { + description + "../id_type = 'STATS_ID_TYPE_UNKNOWN'"; + } + type uint32; + description + "Unused"; + } + leaf interface-handle { + when "../id-type = 'stats-id-type-min'" { + description + "../id_type = 'STATS_ID_TYPE_MIN'"; + } + type xr:Interface-name; + description + "Interface Handle"; + } + leaf node-id { + when "../id-type = 'stats-id-type-node'" { + description + "../id_type = 'STATS_ID_TYPE_NODE'"; + } + type xr:Node-id; + description + "Node ID"; + } + leaf feature-id { + when "../id-type = 'stats-id-type-feature'" { + description + "../id_type = 'STATS_ID_TYPE_FEATURE'"; + } + type uint32; + description + "Feature ID"; + } + leaf id { + when "../id-type = 'stats-id-type-other'" { + description + "../id_type = 'STATS_ID_TYPE_OTHER'"; + } + type uint32; + description + "ID"; + } + } + + grouping STATS-DATA { + description + "Stats Data"; + container stats-id { + description + "Identifier"; + uses STATS-BAG-ID; + } + leaf stats-type { + type Stats-type-val; + description + "Stats type value"; + } + leaf contents { + type Stats-type-contents; + description + "Bag contents"; + } + list block-array { + description + "Block Array"; + uses STATS-BAG-BLOCK; + } + list element-array { + description + "Element Array"; + uses STATS-BAG-ELEMENT; + } + } + + grouping IFSTATSBAG-BASIC { + description + "Basic set of interface counters"; + leaf packets-received { + type uint64; + description + "Packets received"; + } + leaf bytes-received { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf input-drops { + type uint32; + description + "Total input drops"; + } + leaf input-queue-drops { + type uint32; + description + "Input queue drops"; + } + leaf input-errors { + type uint32; + description + "Total input errors"; + } + leaf unknown-protocol-packets-received { + type uint32; + description + "Unknown protocol packets received"; + } + leaf output-drops { + type uint32; + description + "Total output drops"; + } + leaf output-queue-drops { + type uint32; + description + "Output queue drops"; + } + leaf output-errors { + type uint32; + description + "Total output errors"; + } + leaf last-data-time { + type uint32; + units "second"; + description + "Time when counters were last written (in + seconds)"; + } + leaf seconds-since-last-clear-counters { + type uint32; + units "second"; + description + "Number of seconds since last clear counters"; + } + leaf last-discontinuity-time { + type uint32; + units "second"; + description + "SysUpTime when counters were last reset (in + seconds)"; + } + leaf seconds-since-packet-received { + type uint32; + units "second"; + description + "Seconds since packet received"; + } + leaf seconds-since-packet-sent { + type uint32; + units "second"; + description + "Seconds since packet sent"; + } + } + + grouping IFSTATSBAG-GENERIC { + description + "Generic set of interface counters"; + leaf packets-received { + type uint64; + description + "Packets received"; + } + leaf bytes-received { + type uint64; + units "byte"; + description + "Bytes received"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf multicast-packets-received { + type uint64; + description + "Multicast packets received"; + } + leaf broadcast-packets-received { + type uint64; + description + "Broadcast packets received"; + } + leaf multicast-packets-sent { + type uint64; + description + "Multicast packets sent"; + } + leaf broadcast-packets-sent { + type uint64; + description + "Broadcast packets sent"; + } + leaf output-drops { + type uint32; + description + "Total output drops"; + } + leaf output-queue-drops { + type uint32; + description + "Output queue drops"; + } + leaf input-drops { + type uint32; + description + "Total input drops"; + } + leaf input-queue-drops { + type uint32; + description + "Input queue drops"; + } + leaf runt-packets-received { + type uint32; + description + "Received runt packets"; + } + leaf giant-packets-received { + type uint32; + description + "Received giant packets"; + } + leaf throttled-packets-received { + type uint32; + description + "Received throttled packets"; + } + leaf parity-packets-received { + type uint32; + description + "Received parity packets"; + } + leaf unknown-protocol-packets-received { + type uint32; + description + "Unknown protocol packets received"; + } + leaf input-errors { + type uint32; + description + "Total input errors"; + } + leaf crc-errors { + type uint32; + description + "Input CRC errors"; + } + leaf input-overruns { + type uint32; + description + "Input overruns"; + } + leaf framing-errors-received { + type uint32; + description + "Framing-errors received"; + } + leaf input-ignored-packets { + type uint32; + description + "Input ignored packets"; + } + leaf input-aborts { + type uint32; + description + "Input aborts"; + } + leaf output-errors { + type uint32; + description + "Total output errors"; + } + leaf output-underruns { + type uint32; + description + "Output underruns"; + } + leaf output-buffer-failures { + type uint32; + description + "Output buffer failures"; + } + leaf output-buffers-swapped-out { + type uint32; + description + "Output buffers swapped out"; + } + leaf applique { + type uint32; + description + "Applique"; + } + leaf resets { + type uint32; + description + "Number of board resets"; + } + leaf carrier-transitions { + type uint32; + description + "Carrier transitions"; + } + leaf availability-flag { + type uint32; + description + "Availability bit mask"; + } + leaf last-data-time { + type uint32; + units "second"; + description + "Time when counters were last written (in + seconds)"; + } + leaf seconds-since-last-clear-counters { + type uint32; + units "second"; + description + "Number of seconds since last clear counters"; + } + leaf last-discontinuity-time { + type uint32; + units "second"; + description + "SysUpTime when counters were last reset (in + seconds)"; + } + leaf seconds-since-packet-received { + type uint32; + units "second"; + description + "Seconds since packet received"; + } + leaf seconds-since-packet-sent { + type uint32; + units "second"; + description + "Seconds since packet sent"; + } + } + + grouping IM-CMD-IF-STATS { + description + "IM CMD IF STATS"; + container full-interface-stats { + when "../stats-type = 'full'" { + description + "../StatsType = 'Full'"; + } + description + "Packet, byte and all error counters"; + uses IFSTATSBAG-GENERIC; + } + container basic-interface-stats { + when "../stats-type = 'basic'" { + description + "../StatsType = 'Basic'"; + } + description + "Packet, byte and selected error counters"; + uses IFSTATSBAG-BASIC; + } + leaf stats-type { + type Im-cmd-stats-enum; + description + "StatsType"; + } + } + + grouping STATSDBAG-DATARATE { + description + "Datarate information"; + leaf input-data-rate { + type uint64; + units "bit/s"; + description + "Input data rate in 1000's of bps"; + } + leaf input-packet-rate { + type uint64; + units "packet/s"; + description + "Input packets per second"; + } + leaf output-data-rate { + type uint64; + units "bit/s"; + description + "Output data rate in 1000's of bps"; + } + leaf output-packet-rate { + type uint64; + units "packet/s"; + description + "Output packets per second"; + } + leaf peak-input-data-rate { + type uint64; + description + "Peak input data rate"; + } + leaf peak-input-packet-rate { + type uint64; + description + "Peak input packet rate"; + } + leaf peak-output-data-rate { + type uint64; + description + "Peak output data rate"; + } + leaf peak-output-packet-rate { + type uint64; + description + "Peak output packet rate"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth (in kbps)"; + } + leaf load-interval { + type uint32; + description + "Number of 30-sec intervals less one"; + } + leaf output-load { + type uint8; + description + "Output load as fraction of 255"; + } + leaf input-load { + type uint8; + description + "Input load as fraction of 255"; + } + leaf reliability { + type uint8; + description + "Reliability coefficient"; + } + } + + grouping IM-CMD-GCC-PER-PORT-INFO { + description + "GCC"; + leaf derived-mode { + type Gcc-der-state; + description + "Derived State"; + } + leaf sec-state { + type Gcc-sec-state; + description + "Sec State "; + } + } + + grouping CEM-INTERFACE { + description + "CEM interface information"; + leaf timeslots { + type string; + description + "Timeslots separated by : or - from 1 to 32. : + indicates individual timeslot and - represents a + range. E.g. 1-3:5 represents timeslots 1, 2, 3, + and 5."; + } + leaf payload { + type uint16; + units "byte"; + description + "Payload size in bytes configured on CEM + interface"; + } + leaf dejitter-buffer { + type uint16; + units "millisecond"; + description + "Dejitter buffer length configuredin milliseconds"; + } + leaf framing { + type int32; + description + " If framing is TRUE then the CEM interface is + structure aware ; otherwise it is structure + agnostic"; + } + } + + grouping PWHE-ETHER-INTERFACE-INFO { + description + "PWHE ETHER INTERFACE INFO"; + leaf interface-list-name { + type string; + description + "Interface list Name"; + } + leaf l2-overhead { + type uint32; + description + "L2 Overhead"; + } + leaf internal-label { + type uint32; + description + "Internal Label"; + } + } + + grouping PFI-IP-ADDR-UNION { + description + "PFI IP ADDR UNION"; + leaf afi { + type Tunl-pfi-af-id; + description + "AFI"; + } + leaf ipv4 { + when "../afi = 'tunl-pfi-af-id-ipv4'" { + description + "../AFI = 'TUNL_PFI_AF_ID_IPV4'"; + } + type Tunl-pfi-in-addr; + description + "IPv4 address type"; + } + leaf ipv6 { + when "../afi = 'tunl-pfi-af-id-ipv6'" { + description + "../AFI = 'TUNL_PFI_AF_ID_IPV6'"; + } + type Tunl-pfi-in6-addr; + description + "IPv6 address type"; + } + } + + grouping IM-CMD-TUNL-GRE-INFO { + description + "Tunnel info "; + container source-ip-address { + description + "Tunnel source IP address"; + uses PFI-IP-ADDR-UNION; + } + container destination-ip-address { + description + "Tunnel destination IP address"; + uses PFI-IP-ADDR-UNION; + } + leaf source-name { + type string; + description + "Tunnel source name"; + } + leaf destination-ip-address-length { + type uint8; + description + "Tunnel destination IP address length"; + } + leaf tunnel-tos { + type uint32; + description + "GRE tunnel TOS"; + } + leaf tunnel-ttl { + type uint32; + description + "GRE tunnel TTL"; + } + leaf key { + type uint32; + description + "Key value for GRE Packet"; + } + leaf keepalive-period { + type uint16; + units "second"; + description + "Keepalive period in seconds"; + } + leaf keepalive-maximum-retry { + type uint8; + description + "Keepalive retry"; + } + leaf tunnel-mode { + type Tunnel-gre-mode; + description + "Tunnel GRE Mode"; + } + leaf tunnel-mode-direction { + type Tunl-ip-mode-dir; + description + "Tunnel Mode Direction"; + } + leaf keepalive-state { + type Tunnel-ka-df-state; + description + "Keepalive State"; + } + leaf df-bit-state { + type Tunnel-ka-df-state; + description + "DF Bit State"; + } + leaf key-bit-state { + type Tunnel-key-state; + description + "Key Config State"; + } + } + + grouping IM-SONET-POS-INFO-INTERFACE { + description + "SONET POS interface information"; + leaf aps-state { + type Sonet-aps-et; + description + "APS state"; + } + } + + grouping SERIAL-INTERFACE { + description + "Serial interface information"; + leaf timeslots { + type string; + description + "Timeslots separated by : or - from 1 to 31. : + indicates individual timeslot and - represents a + range. E.g. 1-3:5 represents timeslots 1, 2, 3, + and 5."; + } + } + + grouping BM-MAC-ADDR-ST { + description + "BM MAC ADDR ST"; + leaf address { + type yang:mac-address; + description + "MAC address"; + } + } + + grouping BM-MBR-STATE-REASON-DATA-TYPE { + description + "Additional member state reason data"; + leaf reason-type { + type Bm-state-reason-target; + description + "The item the reason applies to"; + } + leaf severity { + type Bm-severity; + description + "The severity of the reason"; + } + } + + grouping BM-MUX-DATA { + description + "BM MUX DATA"; + container member-mux-state-reason-data { + description + "Data regarding the reason for last Mux state + change"; + uses BM-MBR-STATE-REASON-DATA-TYPE; + } + leaf mux-state { + type Bm-muxstate; + description + "Current state of this bundle member"; + } + leaf error { + type uint32; + description + "Internal value indicating if an error occurred + trying to put a link into the desired state"; + } + leaf member-mux-state-reason { + type Bm-mbr-state-reason; + description + "Reason for last Mux state change"; + } + leaf member-state { + type Bmd-member-state; + description + "Current internal state of this bundle member"; + } + leaf mux-state-reason { + type Bm-muxreason; + description + "Reason for last Mux state change (Deprecated)"; + } + } + + grouping BM-LACP-LINK-DATA { + description + "Link properties for a port using LACP "; + leaf interface-handle { + type xr:Interface-name; + description + "Member's interface handle"; + } + leaf actor-system-priority { + type uint16; + description + "System priority of actor system"; + } + leaf actor-system-mac-address { + type yang:mac-address; + description + "MAC Address of the actor system"; + } + leaf actor-operational-key { + type uint16; + description + "Operational key for this port"; + } + leaf partner-system-priority { + type uint16; + description + "System priority of partner system"; + } + leaf partner-system-mac-address { + type yang:mac-address; + description + "MAC Address used to identify the partner system"; + } + leaf partner-operational-key { + type uint16; + description + "Operational key for partner port"; + } + leaf selected-aggregator-id { + type uint32; + description + "MIB ifindex of selected bundle"; + } + leaf attached-aggregator-id { + type uint32; + description + "MIB ifindex of attached bundle"; + } + leaf actor-port-id { + type uint16; + description + "Port number of this port"; + } + leaf actor-port-priority { + type uint16; + description + "Priority of this port"; + } + leaf partner-port-id { + type uint16; + description + "Port number of the partner's port"; + } + leaf partner-port-priority { + type uint16; + description + "Priority of the partner's port"; + } + leaf actor-port-state { + type uint8; + description + "LACP state of this port"; + } + leaf partner-port-state { + type uint8; + description + "LACP state of the partner's port"; + } + } + + grouping BM-LACP-COUNTERS { + description + "Statistics for a port using using LACP"; + leaf lacpd-us-received { + type uint32; + description + "LACPDUs received"; + } + leaf lacpd-us-transmitted { + type uint32; + description + "LACPDUs transmitted"; + } + leaf marker-packets-received { + type uint32; + description + "Marker packets received"; + } + leaf marker-responses-transmitted { + type uint32; + description + "Marker response packets transmitted"; + } + leaf illegal-packets-received { + type uint32; + description + "Illegal and unknown packets received"; + } + leaf excess-lacpd-us-received { + type uint32; + description + "LACPDUs received that exceed the rate limit"; + } + leaf excess-marker-packets-received { + type uint32; + description + "Marker packets received that exceed the rate + limit"; + } + leaf defaulted { + type uint32; + description + "State flag set to Defaulted"; + } + leaf expired { + type uint32; + description + "State flag set to Expired"; + } + leaf last-cleared-sec { + type uint32; + description + "Last time counters cleared (s) (deprecated)"; + } + leaf last-cleared-nsec { + type uint32; + description + "Last time counters cleared (nsec) (deprecated)"; + } + } + + grouping BM-MEMBER-DATA { + description + "Bundle member data for any member"; + container counters { + description + "Counters data about member link"; + uses BM-LACP-COUNTERS; + } + container link-data { + description + "Lacp data about member link"; + uses BM-LACP-LINK-DATA; + } + container member-mux-data { + description + "Mux state machine data"; + uses BM-MUX-DATA; + } + container mac-address { + description + "MAC address of this member (deprecated)"; + uses BM-MAC-ADDR-ST; + } + leaf interface-name { + type xr:Interface-name; + description + "Member's interface name"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf port-priority { + type uint16; + description + "The priority of this member"; + } + leaf port-number { + type uint16; + description + "Member's link number"; + } + leaf underlying-link-id { + type uint16; + description + "Member's underlying link ID"; + } + leaf link-order-number { + type uint16; + description + "Member's link order number"; + } + leaf iccp-node { + type uint32; + description + "Location of member"; + } + leaf bandwidth { + type uint32; + units "kbit/s"; + description + "Bandwidth of this member (kbps)"; + } + leaf lacp-enabled { + type string; + description + "Boolean indicating LACP enabled or not"; + } + leaf member-type { + type Bmd-member-type-enum; + description + "Member's type (local/foreign)"; + } + leaf member-name { + type string; + description + "Member's (short form) name"; + } + } + + grouping IM-CMD-BUNDLE-INFO { + description + "IM CMD BUNDLE INFO"; + list member { + description + "List of bundle members and their properties"; + uses BM-MEMBER-DATA; + } + } + + grouping IM-CMD-TUNNEL-INFO { + description + "IM CMD TUNNEL INFO"; + leaf source-name { + type string; + description + "Tunnel source name"; + } + leaf source-ipv4-address { + type inet:ipv4-address; + description + "Tunnel source IP address"; + } + leaf destination-ipv4-address { + type inet:ipv4-address; + description + "Tunnel destination IP address"; + } + leaf tunnel-type { + type string; + description + "Tunnel protocol/transport"; + } + leaf key { + type uint32; + description + "GRE tunnel key"; + } + leaf ttl { + type uint32; + description + "GRE tunnel TTL"; + } + } + + grouping IFSTATS-SRP-PER-SIDE-ERRORS { + description + "IFSTATS SRP PER SIDE ERRORS"; + leaf error-packets-received { + type uint32; + description + "Error packets received"; + } + leaf crc-errors { + type uint32; + description + "Input CRC errors"; + } + leaf input-insufficient-resource-events { + type uint32; + description + "Input insufficient resources events"; + } + leaf mac-aborts-received { + type uint32; + description + "Aborts received at MAC/RAC"; + } + leaf mac-runt-packets-received { + type uint32; + description + "Too small packets received at MAC/RAC"; + } + leaf mac-giant-packets-received { + type uint32; + description + "Too large packets received at MAC/RAC"; + } + leaf framer-runt-packets-received { + type uint32; + description + "Too small packets received at framer"; + } + leaf framer-giant-packets-received { + type uint32; + description + "Too large packets received at framer"; + } + leaf framer-aborts-received { + type uint32; + description + "Aborts received at framer"; + } + } + + grouping IFSTATS-SRP-PER-SIDE-DATA-RATE { + description + "IFSTATS SRP PER SIDE DATA RATE"; + leaf bit-rate-sent { + type uint32; + description + "Sent bit rate"; + } + leaf packet-rate-sent { + type uint32; + description + "Sent packet rate"; + } + leaf bit-rate-received { + type uint32; + description + "Received bit rate"; + } + leaf packet-rate-received { + type uint32; + description + "Received packet rate"; + } + } + + grouping IFSTATSBAG-SRP { + description + "SRP interface statistics"; + container side-a-data-rate { + description + "Data rates for side A interface"; + uses IFSTATS-SRP-PER-SIDE-DATA-RATE; + } + container side-b-data-rate { + description + "Data rates for side B interface"; + uses IFSTATS-SRP-PER-SIDE-DATA-RATE; + } + container side-a-errors { + description + "Errors for side A interface"; + uses IFSTATS-SRP-PER-SIDE-ERRORS; + } + container side-b-errors { + description + "Errors for side B interface"; + uses IFSTATS-SRP-PER-SIDE-ERRORS; + } + leaf data-rate-interval { + type uint32; + units "second"; + description + "Data rate interval (5 mins or 30 seconds)"; + } + } + + grouping SRP-RATE-LIMIT-DETAIL { + description + "Detailed SRP rate limit information"; + leaf min-priority-value { + type uint16; + description + "Minimum SRP priority for high-priority transmit + queue"; + } + } + + grouping SRP-RATE-LIMIT-INFO { + description + "SRP rate limit information"; + leaf is-admin-down { + type int32; + description + "Is the interfaceadministratively down"; + } + list rate-limit-detailed-info { + description + "SRP rate limit information"; + uses SRP-RATE-LIMIT-DETAIL; + } + } + + grouping SRR-NODE-DATA { + description + "SRR NODE DATA"; + leaf node-name { + type string; + description + "Node name"; + } + leaf srr-entry-exits { + type int32; + description + "Does the SRR information exist for this node"; + } + leaf mac-address { + type string; + description + "node mac address"; + } + leaf outer-failure { + type Srp-mgmt-srr-failure; + description + "Outer failure"; + } + leaf inner-failure { + type Srp-mgmt-srr-failure; + description + "Inner failure"; + } + leaf is-last-announce-received { + type int32; + description + "Announce last received ?"; + } + leaf last-announce-received-time { + type uint32; + description + "Announce last received"; + } + } + + grouping SRP-SRR-DETAIL { + description + "SRP SRR DETAIL"; + leaf version-number { + type uint32; + description + "Version number"; + } + leaf is-wrong-version-received { + type int32; + description + "Wrong version recieved"; + } + leaf last-wrong-version-receive-time { + type uint32; + description + "Time that last wrong version message recieved"; + } + leaf mac-address { + type string; + description + "SRR node mac address"; + } + leaf node-state { + type Srp-mgmt-srr-node-state; + description + "SRR node state"; + } + leaf is-outer-ring-in-use { + type int32; + description + "Is the outer ring in use"; + } + leaf is-inner-ring-in-use { + type int32; + description + " Is the inner ring in use"; + } + leaf is-announce { + type int32; + description + "Is announcing enabled"; + } + leaf outer-fail-type { + type Srp-mgmt-srr-failure; + description + "Outer fail type"; + } + leaf inner-fail-type { + type Srp-mgmt-srr-failure; + description + "Inner fail type"; + } + leaf packet-send-timer { + type uint32; + units "second"; + description + "SRR packet send timer interval in seconds"; + } + leaf next-srr-packet-send-time { + type uint32; + units "second"; + description + "Time remaining in seconds to next SRR packet + send"; + } + leaf single-ring-bw { + type uint32; + units "Mbit/s"; + description + "Single ring bandwidth Mbps"; + } + leaf wtr-time { + type uint32; + units "second"; + description + "SRR Wait To Restore interval delay in seconds"; + } + leaf wtr-timer-remaining-outer-ring { + type uint32; + units "second"; + description + "Time remaining in seconds until next outer ring + wrap removal"; + } + leaf wtr-timer-remaining-inner-ring { + type uint32; + units "second"; + description + "Time remaining in seconds until next inner ring + wrap removal"; + } + list nodes-on-ring { + description + "List of nodes on the ring info"; + uses SRR-NODE-DATA; + } + list nodes-not-on-ring { + description + "nodes not in topology map"; + uses SRR-NODE-DATA; + } + } + + grouping SRP-SRR-INFO { + description + "SRP SRR INFO"; + leaf is-admin-down { + type int32; + description + "Is the interfaceadministratively down"; + } + leaf is-srr-enabled { + type int32; + description + "SRR enabled"; + } + list srr-detailed-info { + description + "SRP information"; + uses SRP-SRR-DETAIL; + } + } + + grouping SRP-TOPOLOGY-NODE-DATA { + description + "SRP TOPOLOGY NODE DATA"; + leaf hop-count { + type uint16; + description + "Outer-ring hops to reach this node"; + } + leaf mac-address { + type string; + description + "MAC address"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf is-wrapped { + type int32; + description + "Wrap state"; + } + leaf is-srr-supported { + type int32; + description + "SRR protocol supported"; + } + leaf node-name { + type string; + description + "Node name"; + } + } + + grouping SRP-TOPOLOGY-MAP { + description + "SRP TOPOLOGY MAP"; + leaf topology-timer { + type uint32; + description + "How often a topology pkt is sent"; + } + leaf next-topology-packet-delay { + type uint32; + description + "Time remaining until next topo pkt sent"; + } + leaf time-since-last-topology-packet-received { + type uint32; + description + "Time since last topo pkt was received"; + } + leaf time-since-last-topology-change { + type uint32; + description + "Time since last topology change"; + } + leaf number-of-nodes-on-ring { + type uint16; + description + "Number of nodes on ring"; + } + list ring-node { + description + "List of nodes on the ring info"; + uses SRP-TOPOLOGY-NODE-DATA; + } + } + + grouping SRP-TOPOLOGY-INFO { + description + "SRP TOPOLOGY INFO"; + leaf is-admin-down { + type int32; + description + "Is the interfaceadministratively down"; + } + list local-information { + description + "Detailed SRP topology information"; + uses SRP-TOPOLOGY-MAP; + } + } + + grouping SRP-FAILURE-INFO { + description + "SRP failure info"; + leaf type { + type Srp-mgmt-failure-et; + description + "Failure type"; + } + leaf reported-state { + type Srp-mgmt-failure-state-et; + description + "Reported state"; + } + leaf debounced-state { + type Srp-mgmt-failure-state-et; + description + "Debounced state"; + } + leaf current-state { + type Srp-mgmt-failure-state-et; + description + "Current state"; + } + leaf stable-time { + type uint64; + description + "Stable time"; + } + leaf debounced-delay { + type uint32; + description + "Debounce delay"; + } + } + + grouping SRP-IPS-SIDE-DETAIL { + description + "SRP IPS SIDE DETAIL"; + leaf mac-address { + type string; + description + "MAC address"; + } + leaf wrap-state { + type Srp-mgmt-ips-wrap-state; + description + "Wrap state"; + } + leaf packet-sent-timer { + type uint32; + units "second"; + description + "SRP IPS packet send interval in seconds"; + } + leaf send-timer-time-remaining { + type uint32; + units "second"; + description + "Time in seconds remaining until next send of an + IPS request"; + } + leaf wtr-timer-remaining { + type uint32; + units "second"; + description + "Time in seconds until wrap removal"; + } + leaf self-detected-request { + type Srp-mgmt-ips-req; + description + "Self Detected Requests"; + } + leaf remote-request { + type Srp-mgmt-ips-req; + description + "Remote Requests"; + } + leaf rx-neighbor-mac-address { + type string; + description + "Neighbour mac address for received message"; + } + leaf rx-message-type { + type Srp-mgmt-ips-req; + description + "Type of message received"; + } + leaf rx-path-type { + type Srp-mgmt-ips-path-ind; + description + "Short/long path for received message"; + } + leaf rx-ttl { + type uint32; + description + "Time to live for received message"; + } + leaf rx-packet-test { + type int32; + description + "Test for existence of an RX packet"; + } + leaf tx-neighbor-mac-address { + type string; + description + "Mac address of node receiving TXed messages"; + } + leaf tx-message-type { + type Srp-mgmt-ips-req; + description + "Type of message transmitted"; + } + leaf tx-path-type { + type Srp-mgmt-ips-path-ind; + description + "Short/long path of transmitted message"; + } + leaf tx-ttl { + type uint32; + description + "Time to live for transmitted message"; + } + leaf tx-packet-test { + type int32; + description + "Test for existence of a TX packet"; + } + leaf delay-keep-alive-trigger { + type uint32; + units "millisecond"; + description + "Number of milliseconds to wait after an L1 + failure is detected before triggering an L2 wrap"; + } + list asserted-failure { + description + "Failures presently asserted"; + uses SRP-FAILURE-INFO; + } + } + + grouping SRP-IPS-DETAIL { + description + "SRP IPS DETAIL"; + container side-a { + description + "Side A IPS details"; + uses SRP-IPS-SIDE-DETAIL; + } + container side-b { + description + "Side B IPS details"; + uses SRP-IPS-SIDE-DETAIL; + } + leaf mac-address { + type string; + description + "MAC address for node"; + } + leaf is-inter-card-bus-enabled { + type int32; + description + "Inter card bus enabled"; + } + leaf wtr-timer-period { + type uint32; + units "second"; + description + "IPS Wait To Restore period in seconds"; + } + } + + grouping SRP-IPS-INFO { + description + "SRP IPS INFO"; + leaf is-admin-down { + type int32; + description + "Is the interfaceadministratively down"; + } + list local-information { + description + "IPS information"; + uses SRP-IPS-DETAIL; + } + } + + grouping SRP-ALL-INFO { + description + "Complete SRP information"; + container ips-info { + description + "SRP IPS information"; + uses SRP-IPS-INFO; + } + container topology-info { + description + "SRP topology information"; + uses SRP-TOPOLOGY-INFO; + } + container srr-info { + description + "SRP SRR information"; + uses SRP-SRR-INFO; + } + container rate-limit-info { + description + "SRP rate limit information"; + uses SRP-RATE-LIMIT-INFO; + } + } + + grouping IM-CMD-SRP-INFO { + description + "IM CMD SRP INFO"; + container srp-information { + description + "SRP-specific data"; + uses SRP-ALL-INFO; + } + container srp-statistics { + description + "SRP-specific packet and byte counters"; + uses IFSTATSBAG-SRP; + } + } + + grouping IM-CMD-INTF-TYPE-INFO { + description + "Interface-specific information"; + container srp-information { + when "../interface-type-info = 'srp'" { + description + "../InterfaceTypeInfo = 'SRP'"; + } + description + "SRP interface information"; + uses IM-CMD-SRP-INFO; + } + container tunnel-information { + when "../interface-type-info = 'tunnel'" { + description + "../InterfaceTypeInfo = 'Tunnel'"; + } + description + "Tunnel interface information"; + uses IM-CMD-TUNNEL-INFO; + } + container bundle-information { + when "../interface-type-info = 'bundle'" { + description + "../InterfaceTypeInfo = 'Bundle'"; + } + description + "Bundle interface information"; + uses IM-CMD-BUNDLE-INFO; + } + container serial-information { + when "../interface-type-info = 'serial'" { + description + "../InterfaceTypeInfo = 'Serial'"; + } + description + "Serial interface information"; + uses SERIAL-INTERFACE; + } + container sonet-pos-information { + when "../interface-type-info = 'sonet-pos'" { + description + "../InterfaceTypeInfo = 'SonetPOS'"; + } + description + "SONET POS interface information"; + uses IM-SONET-POS-INFO-INTERFACE; + } + container tunnel-gre-information { + when "../interface-type-info = 'tunnel-gre'" { + description + "../InterfaceTypeInfo = 'TunnelGRE'"; + } + description + "Tunnel GRE interface information"; + uses IM-CMD-TUNL-GRE-INFO; + } + container pseudowire-head-end-information { + when "../interface-type-info = 'pseudowire-head-end'" { + description + "../InterfaceTypeInfo = 'PseudowireHeadEnd'"; + } + description + "PseudowireHeadEnd interface information"; + uses PWHE-ETHER-INTERFACE-INFO; + } + container cem-information { + when "../interface-type-info = 'cem'" { + description + "../InterfaceTypeInfo = 'CEM'"; + } + description + "Cem interface information"; + uses CEM-INTERFACE; + } + container gcc-information { + when "../interface-type-info = 'gcc'" { + description + "../InterfaceTypeInfo = 'GCC'"; + } + description + "GCC interface information"; + uses IM-CMD-GCC-PER-PORT-INFO; + } + leaf interface-type-info { + type Im-cmd-intf-type-enum; + description + "InterfaceTypeInfo"; + } + } + + grouping PPP-SHOW-INT-NCP-INFO { + description + "NCP state information"; + leaf ncp-state { + type Ppp-fsm-state; + description + "NCP state value"; + } + leaf ncp-identifier { + type Ncp-ident; + description + "NCP state identifier"; + } + } + + grouping PPP-SHOW-INT-INFO { + description + "PPP state information"; + leaf lcp-state { + type Ppp-fsm-state; + description + "LCP State"; + } + leaf is-loopback-detected { + type int32; + description + "Loopback detected"; + } + leaf keepalive-period { + type uint32; + description + "Keepalive value"; + } + leaf is-mp-bundle-member { + type int32; + description + "MP Bundle Member"; + } + leaf is-multilink-open { + type int32; + description + "Is Multilink Open"; + } + list ncp-info-array { + description + "Array of per-NCP data"; + uses PPP-SHOW-INT-NCP-INFO; + } + } + + grouping EFP-TAG-LOCAL-TRAFFIC-STACK { + description + "EFP TAG LOCAL TRAFFIC STACK"; + list local-traffic-tag { + description + "VLAN tags for locally-sourced traffic"; + uses EFP-VLAN-TAG; + } + } + + grouping EFP-VLAN-TAG { + description + "EFP VLAN TAG"; + leaf ethertype { + type Efp-tag-etype; + description + "Ethertype of tag"; + } + leaf vlan-id { + type Vlan-tag-value; + description + "VLAN Id"; + } + } + + grouping EFP-RANGE-TYPE { + description + "EFP RANGE TYPE"; + leaf vlan-id-low { + type Vlan-tag-value; + description + "VLAN ID Low"; + } + leaf vlan-id-high { + type Vlan-tag-value; + description + "VLAN ID High"; + } + } + + grouping EFP-TAG-MATCH { + description + "EFP TAG MATCH"; + leaf ethertype { + type Efp-tag-etype; + description + "Ethertype of tag to match"; + } + leaf priority { + type Efp-tag-priority; + description + "Priority to match"; + } + list vlan-range { + description + "VLAN Ids to match"; + uses EFP-RANGE-TYPE; + } + } + + grouping EFP-DESCRIPTION { + description + "EFP DESCRIPTION"; + container local-traffic-stack { + description + "VLAN tags for locally-sourced traffic"; + uses EFP-TAG-LOCAL-TRAFFIC-STACK; + } + leaf payload-ethertype { + type Efp-payload-etype; + description + "Payload Ethertype to match"; + } + leaf tags-popped { + type uint16; + description + "Number of tags popped on ingress"; + } + leaf is-exact-match { + type int32; + description + "Whether the packet must match the encapsulation + exactly, with no further inner tags"; + } + leaf is-native-vlan { + type int32; + description + "Whether this represents the native VLAN on the + port"; + } + leaf is-native-preserving { + type int32; + description + "Whether the native VLAN is customer-tag + preserving"; + } + leaf source-mac-match { + type Mac-address; + description + "The source MAC address to match on ingress"; + } + leaf destination-mac-match { + type Mac-address; + description + "The destination MAC address to match on ingress"; + } + list tags-to-match { + description + "Tags to match on ingress packets"; + uses EFP-TAG-MATCH; + } + list pushe { + description + "VLAN tags pushed on egress"; + uses EFP-VLAN-TAG; + } + } + + grouping VLAN-DOUBLE-TAG-STACK { + description + "VLAN double tag stack"; + leaf outer-tag { + type Vlan-tag-value; + description + "Outer tag value"; + } + leaf second-tag { + type Vlan-tag-value; + description + "Second tag value"; + } + } + + grouping VLAN-TAG-STACK-TYPE { + description + "VLAN encapsulation and tag stack"; + container stack { + when "../vlan-encapsulation = 'qinq'" { + description + "../VLANEncapsulation = 'QinQ'"; + } + description + "Stack value"; + uses VLAN-DOUBLE-TAG-STACK; + } + container service-instance-details { + when "../vlan-encapsulation = 'service-instance'" { + description + "../VLANEncapsulation = 'ServiceInstance'"; + } + description + "Service Instance encapsulation"; + uses EFP-DESCRIPTION; + } + container dot1ad-dot1q-stack { + when "../vlan-encapsulation = 'dot1ad-dot1q'" { + description + "../VLANEncapsulation = 'Dot1adDot1Q'"; + } + description + "802.1ad 802.1Q stack value"; + uses VLAN-DOUBLE-TAG-STACK; + } + leaf vlan-encapsulation { + type Vlan-encaps; + description + "VLANEncapsulation"; + } + leaf tag { + when "../vlan-encapsulation = 'dot1q'" { + description + "../VLANEncapsulation = 'Dot1Q'"; + } + type Vlan-tag-value; + description + "Tag value"; + } + leaf outer-tag { + when "../vlan-encapsulation = 'qin-any'" { + description + "../VLANEncapsulation = 'QinAny'"; + } + type Vlan-tag-value; + description + "Outer tag value"; + } + leaf native-tag { + when "../vlan-encapsulation = 'dot1q-native'" { + description + "../VLANEncapsulation = 'Dot1QNative'"; + } + type Vlan-tag-value; + description + "Native tag value"; + } + leaf dot1ad-tag { + when "../vlan-encapsulation = 'dot1ad'" { + description + "../VLANEncapsulation = 'Dot1ad'"; + } + type Vlan-tag-value; + description + "802.1ad tag value"; + } + leaf dot1ad-native-tag { + when "../vlan-encapsulation = 'dot1ad-native'" { + description + "../VLANEncapsulation = 'Dot1adNative'"; + } + type Vlan-tag-value; + description + "802.1ad native tag value"; + } + leaf dot1ad-outer-tag { + when "../vlan-encapsulation = 'dot1ad-any'" { + description + "../VLANEncapsulation = 'Dot1adAny'"; + } + type Vlan-tag-value; + description + "802.1ad Outer tag value"; + } + } + + grouping VLAN-INTF-GENERIC { + description + "VLAN INTF GENERIC"; + container encapsulation-details { + description + "Encapsulation type and tag stack"; + uses VLAN-TAG-STACK-TYPE; + } + } + + grouping IM-CMD-FR-INFO { + description + "IM CMD FR INFO"; + leaf fr-encapsulation-type { + type Im-cmd-fr-type-enum; + description + "Frame Relay encapsulation type"; + } + leaf lmi-type { + type Im-cmd-lmi-type-enum; + description + "The LMI type: Autosense, ANSI, CCITT or CISCO"; + } + leaf lmidlci { + type uint32; + description + "LMI DLCI"; + } + leaf is-nni { + type boolean; + description + "The NNI LMI interface type"; + } + leaf is-dte { + type boolean; + description + "The DTE/DCE LMI interface type"; + } + leaf is-lmi-up { + type boolean; + description + "Flag indicating whether the LMI DTE/DCE/NNI-DTE + state is UP"; + } + leaf is-lmi-nni-dce-up { + type boolean; + description + "Flag indicating whether the LMI NNI-DCE state + is UP"; + } + leaf is-lmi-enabled { + type boolean; + description + "The status of FR LMI for an interface"; + } + leaf enquiries-received { + type uint32; + description + "Number of enquiry messages received"; + } + leaf enquiries-sent { + type uint32; + description + "Number of enquiry messages sent"; + } + leaf status-received { + type uint32; + description + "Number of status messages received"; + } + leaf status-sent { + type uint32; + description + "Number of status messages sent"; + } + leaf update-status-received { + type uint32; + description + "Number of update status messages received"; + } + leaf update-status-sent { + type uint32; + description + "Number of update status messages sent"; + } + } + + grouping IM-CMD-ENCAPS-INFO { + description + "Encapsulation-specific information"; + container frame-relay-information { + when "../encapsulation-type = 'frame-relay'" { + description + "../EncapsulationType = 'FrameRelay'"; + } + description + "Frame Relay information"; + uses IM-CMD-FR-INFO; + } + container dot1q-information { + when "../encapsulation-type = 'vlan'" { + description + "../EncapsulationType = 'VLAN'"; + } + description + "VLAN 802.1q information"; + uses VLAN-INTF-GENERIC; + } + container ppp-information { + when "../encapsulation-type = 'ppp'" { + description + "../EncapsulationType = 'PPP'"; + } + description + "PPP information"; + uses PPP-SHOW-INT-INFO; + } + leaf encapsulation-type { + type Im-cmd-encaps-enum; + description + "EncapsulationType"; + } + } + + grouping IM-CMD-IP-INFO-ST { + description + "IM CMD IP INFO ST"; + leaf ip-address { + type inet:ipv4-address; + description + "Interface IPv4 address"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf subnet-mask-length { + type uint32; + description + "Interface subnet mask length"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping IM-CMD-ARP-INFO-ST { + description + "IM CMD ARP INFO ST"; + leaf arp-timeout { + type uint32; + units "second"; + description + "ARP timeout in seconds. Only valid if + 'ARPIsLearningDisabled' is 'false'"; + } + leaf arp-type-name { + type string; + description + "ARP type name"; + } + leaf arp-is-learning-disabled { + type boolean; + description + "Whether the interface has dynamic learning + disabled"; + } + } + + grouping IM-CMD-CARRIER-DELAY-ST { + description + "IM CMD CARRIER DELAY ST"; + leaf carrier-delay-up { + type uint32; + description + "Carrier delay on state up (ms)"; + } + leaf carrier-delay-down { + type uint32; + description + "Carrier delay on state down (ms)"; + } + } + + grouping IM-CMD-MAC-ADDR-ST { + description + "IM CMD MAC ADDR ST"; + leaf address { + type yang:mac-address; + description + "MAC Address"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping IM-CMD-DAMP-ST { + description + "IM CMD DAMP ST"; + leaf penalty { + type uint32; + description + "Dampening penalty of the interface"; + } + leaf is-suppressed-enabled { + type boolean; + description + "Flag showing if state is suppressed"; + } + leaf seconds-remaining { + type uint32; + units "second"; + description + "Remaining period of suppression in secs"; + } + leaf half-life { + type uint32; + units "minute"; + description + "Configured decay half life in mins"; + } + leaf reuse-threshold { + type uint32; + description + "Configured reuse threshold"; + } + leaf suppress-threshold { + type uint32; + description + "Value of suppress threshold"; + } + leaf maximum-suppress-time { + type uint32; + units "minute"; + description + "Maximum suppress time in mins"; + } + leaf restart-penalty { + type uint32; + description + "Configured restart penalty"; + } + } + + grouping IM-CMD-INFO { + description + "Full interface information"; + container dampening-information { + description + "State dampening information"; + uses IM-CMD-DAMP-ST; + } + container mac-address { + description + "Interface MAC address"; + uses IM-CMD-MAC-ADDR-ST; + } + container burned-in-address { + description + "Interface burned in address"; + uses IM-CMD-MAC-ADDR-ST; + } + container carrier-delay { + description + "Carrier Delay"; + uses IM-CMD-CARRIER-DELAY-ST; + } + container arp-information { + description + "Interface ARP type and timeout"; + uses IM-CMD-ARP-INFO-ST; + } + container ip-information { + description + "Interface IP address info"; + uses IM-CMD-IP-INFO-ST; + } + container encapsulation-information { + description + "Information specific to the encapsulation"; + uses IM-CMD-ENCAPS-INFO; + } + container interface-type-information { + description + "Information specific to the interface type"; + uses IM-CMD-INTF-TYPE-INFO; + } + container data-rates { + description + "Packet and byte rates"; + uses STATSDBAG-DATARATE; + } + container interface-statistics { + description + "Packet, byte and error counters"; + uses IM-CMD-IF-STATS; + } + container l2-interface-statistics { + description + "L2 Protocol Statistics"; + uses STATS-DATA; + } + container nv-optical { + description + "nV Optical Controller Information"; + uses NV-OPTICAL-INTERFACE-INFO; + } + leaf interface-handle { + type string; + description + "Interface name"; + } + leaf interface-type { + type string; + description + "Interface type"; + } + leaf hardware-type-string { + type string { + length "0..64"; + } + description + "Hardware type description string"; + } + leaf state { + type Im-state-enum; + description + "Interface state"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf line-state { + type Im-state-enum; + description + "Line protocol state"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf encapsulation { + type string; + description + "Interface encapsulation"; + } + leaf encapsulation-type-string { + type string { + length "0..32"; + } + description + "Interface encapsulation description string"; + } + leaf mtu { + type uint32; + units "byte"; + description + "MTU in bytes"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf is-l2-transport-enabled { + type boolean; + description + "L2 transport flag"; + } + leaf state-transition-count { + type uint32; + description + "The number of times the state has changed"; + } + leaf last-state-transition-time { + type uint32; + description + "The time elasped after the last state transition"; + } + leaf is-dampening-enabled { + type boolean; + description + "Dampening enabled flag"; + } + leaf speed { + type uint32; + description + "Interface speed (Kb/s)"; + } + leaf crc-length { + type uint32; + description + "Cyclic Redundancy Check length"; + } + leaf is-scramble-enabled { + type boolean; + description + "Interface scramble config"; + } + leaf duplexity { + type Im-attr-duplex; + description + "Interface duplexity"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf media-type { + type Im-attr-media; + description + "Interface media type"; + } + leaf link-type { + type Im-attr-link; + description + "Interface link type"; + } + leaf in-flow-control { + type Im-attr-flow-control; + description + "Input flow control configuration"; + } + leaf out-flow-control { + type Im-attr-flow-control; + description + "Output flow control configuration"; + } + leaf bandwidth { + type uint32; + description + "Interface bandwidth (Kb/s)"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf max-bandwidth { + type uint32; + description + "Maximum Interface bandwidth (Kb/s)"; + } + leaf keepalive { + type uint32; + description + "Interface keepalive time (s)"; + } + leaf is-l2-looped { + type boolean; + description + "Loopback detected by layer 2"; + } + leaf parent-interface-name { + type xr:Interface-name; + description + "Parent interface"; + } + leaf loopback-configuration { + type Im-cmd-loopback-enum; + description + "Interface loopback configuration"; + } + leaf description { + type string; + description + "Interface description string"; + } + leaf is-maintenance-enabled { + type boolean; + description + "Maintenance embargo flag"; + } + leaf is-data-inverted { + type boolean; + description + "Data invert flag"; + } + leaf transport-mode { + type Im-attr-transport-mode; + description + "Interface transport mode"; + } + leaf fast-shutdown { + type boolean; + description + "Fast Shutdown flag"; + } + leaf if-index { + type uint32; + description + "This is not supposed to be used. It is a dummy + attribute to support ifindex for OC model"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang new file mode 100644 index 0000000..1ec173b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper-sub2.yang @@ -0,0 +1,263 @@ +submodule Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { + belongs-to Cisco-IOS-XR-pfi-im-cmd-oper { + prefix Cisco-IOS-XR-pfi-im-cmd-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pfi-im-cmd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-18 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Im-state-enum { + type enumeration { + enum "im-state-not-ready" { + description + "im state not ready"; + } + enum "im-state-admin-down" { + description + "im state admin down"; + } + enum "im-state-down" { + description + "im state down"; + } + enum "im-state-up" { + description + "im state up"; + } + enum "im-state-shutdown" { + description + "im state shutdown"; + } + enum "im-state-err-disable" { + description + "im state err disable"; + } + enum "im-state-down-immediate" { + description + "im state down immediate"; + } + enum "im-state-down-immediate-admin" { + description + "im state down immediate admin"; + } + enum "im-state-down-graceful" { + description + "im state down graceful"; + } + enum "im-state-begin-shutdown" { + description + "im state begin shutdown"; + } + enum "im-state-end-shutdown" { + description + "im state end shutdown"; + } + enum "im-state-begin-error-disable" { + description + "im state begin error disable"; + } + enum "im-state-end-error-disable" { + description + "im state end error disable"; + } + enum "im-state-begin-down-graceful" { + description + "im state begin down graceful"; + } + enum "im-state-reset" { + description + "im state reset"; + } + enum "im-state-operational" { + description + "im state operational"; + } + enum "im-state-not-operational" { + description + "im state not operational"; + } + enum "im-state-unknown" { + description + "im state unknown"; + } + enum "im-state-last" { + description + "im state last"; + } + } + description + "Im state enum"; + } + + grouping IMDS-IFATTR-BASE-INFO { + description + "Basic interface information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf parent-interface { + type xr:Interface-name; + description + "Parent Interface"; + } + leaf type { + type string; + description + "Interface type"; + } + leaf state { + type Im-state-enum; + description + "Operational state"; + } + leaf actual-state { + type Im-state-enum; + description + "Operational state with no translation of error + disable or shutdown"; + } + leaf line-state { + type Im-state-enum; + description + "Line protocol state"; + } + leaf actual-line-state { + type Im-state-enum; + description + "Line protocol state with no translation of error + disable or shutdown"; + } + leaf encapsulation { + type string; + description + "Interface encapsulation"; + } + leaf encapsulation-type-string { + type string { + length "0..32"; + } + description + "Interface encapsulation description string"; + } + leaf mtu { + type uint32; + units "byte"; + description + "MTU in bytes"; + } + leaf sub-interface-mtu-overhead { + type uint32; + description + "Subif MTU overhead"; + } + leaf l2-transport { + type boolean; + description + "L2 transport"; + } + leaf bandwidth { + type uint32; + description + "Interface bandwidth (Kb/s)"; + } + } + + grouping IM-IF-GROUP-COUNTS { + description + "Interface counts"; + leaf interface-count { + type uint32; + description + "Number of interfaces"; + } + leaf up-interface-count { + type uint32; + description + "Number of interfaces in UP state"; + } + leaf down-interface-count { + type uint32; + description + "Number of interfaces in DOWN state"; + } + leaf admin-down-interface-count { + type uint32; + description + "Number of interfaces in an ADMINDOWN state"; + } + } + + grouping IM-IF-TYPE-SUMMARY { + description + "Interface type summary information"; + container interface-counts { + description + "Counts for interfaces of this type"; + uses IM-IF-GROUP-COUNTS; + } + leaf interface-type-name { + type string; + description + "Name of the interface type"; + } + leaf interface-type-description { + type string; + description + "Description of the interface type"; + } + } + + grouping IM-IF-SUMMARY-INFO { + description + "Interface summary bag"; + container interface-counts { + description + "Counts for all interfaces"; + uses IM-IF-GROUP-COUNTS; + } + list interface-type { + description + "List of per interface type summary information"; + uses IM-IF-TYPE-SUMMARY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper.yang new file mode 100644 index 0000000..6a86c5e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfi-im-cmd-oper.yang @@ -0,0 +1,157 @@ +module Cisco-IOS-XR-pfi-im-cmd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pfi-im-cmd-oper"; + prefix pfi-im-cmd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pfi-im-cmd-oper-sub2 { + revision-date 2017-06-26; + } + include Cisco-IOS-XR-pfi-im-cmd-oper-sub1 { + revision-date 2017-06-26; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pfi-im-cmd package operational data. + + This module contains definitions + for the following management objects: + interfaces: Interface operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-26 { + description + "Change identifiers to be more readable."; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-18 { + description + "Description updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Interface-type-set { + type enumeration { + enum "hardware-interfaces" { + value 0; + description + "Restrict the output to hardware interfaces only"; + } + } + description + "Interface type set"; + } + + grouping INTERFACE-SUMMARY { + description + "Common node of node-type-set, interfaces"; + container interface-summary { + description + "Interface summary information"; + uses IM-IF-SUMMARY-INFO; + } + } + + container interfaces { + config false; + description + "Interface operational data"; + container interface-xr { + description + "Detailed operational data for interfaces and + configured features"; + list interface { + key "interface-name"; + description + "Detailed operational data for a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IM-CMD-INFO; + } + } + container node-type-sets { + description + "Node and/or interface type specific view of + interface summary data"; + list node-type-set { + description + "Summary data for all interfaces on a particular + node"; + leaf node-name { + type xr:Node-id; + description + "The location to filter on"; + } + leaf type-set-name { + type Interface-type-set; + description + "The interface type to filter on"; + } + uses INTERFACE-SUMMARY; + } + } + container interface-briefs { + description + "Brief operational data for interfaces"; + list interface-brief { + key "interface-name"; + description + "Brief operational attributes for a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IMDS-IFATTR-BASE-INFO; + } + } + container inventory-summary { + description + "Inventory summary information"; + uses IM-IF-SUMMARY-INFO; + } + container interfaces { + description + "Descriptions for interfaces"; + list interface { + key "interface-name"; + description + "Description for a particular interface"; + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + uses IM-DESC-INFO; + } + } + uses INTERFACE-SUMMARY; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfm-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfm-oper.yang new file mode 100644 index 0000000..64eb430 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pfm-oper.yang @@ -0,0 +1,218 @@ +module Cisco-IOS-XR-pfm-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pfm-oper"; + prefix pfm-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pfm package operational data. + + This module contains definitions + for the following management objects: + platform-fault-manager: PFM data space + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-28 { + description + "IOS-XR 6.3.1 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping RACK-TABLE { + description + "Common node of platform-fault-manager, + fault-type1, fault-type2, fault-type3"; + container racks { + description + "Table of racks"; + list rack { + key "rack"; + description + "Number"; + container slots { + description + "Table of slots"; + list slot { + key "slot"; + description + "Name"; + container fault-summary { + description + "Table of Hardware Summary"; + leaf severity-critical-count { + type int32; + description + "Fault Severity Critical count"; + } + leaf severity-emergency-or-alert-count { + type int32; + description + "Fault Severity Emergency count"; + } + leaf total { + type int32; + description + "Faulty Hardware total count"; + } + leaf severity-error-count { + type int32; + description + "Fault Severity Error count"; + } + } + container hardware-fault-devices { + description + "Table of Hardware Failure"; + list hardware-fault-device { + key "hw-fault-device"; + description + "Table of Hardware Failure Device"; + leaf hw-fault-device { + type xr:Cisco-ios-xr-string; + description + "hw fault device list"; + } + list hardware-fault-type { + key "hw-fault-type"; + description + "Table of Hardware Failure Type"; + leaf condition-description { + type string; + description + "Faulty Hardware Condition Description"; + } + leaf condition-name { + type string; + description + "Faulty Hardware Condition Name"; + } + leaf device-key { + type string; + description + "Faulty Hardware Device Key"; + } + leaf device-version { + type int32; + description + "Faulty Hardware Device Version"; + } + leaf condition-raised-timestamp { + type string; + description + "Fault Raised Timestamp"; + } + leaf process-id { + type int32; + description + "Faulty Hardware Process ID"; + } + leaf device-description { + type string; + description + "Faulty Hardware Device Description"; + } + leaf condition-severity { + type string; + description + "Faulty Hardware Condition Severity"; + } + leaf hw-fault-type { + type xr:Cisco-ios-xr-string; + description + "hw fault type list"; + } + } + } + } + leaf slot { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + leaf rack { + type int32; + description + "Rack number"; + } + } + } + } + + container platform-fault-manager { + config false; + description + "PFM data space"; + container exclude { + description + "Exclude specic hw fault "; + container fault-type1s { + description + "Table of Hardware Failure Device"; + list fault-type1 { + key "hw-fault-type1"; + description + "Table of Hardware Failure Device"; + container fault-type2s { + description + "Table of Hardware Failure Device"; + list fault-type2 { + key "hw-fault-type2"; + description + "Table of Hardware Failure Device"; + container fault-type3s { + description + "Table of Hardware Failure Device"; + list fault-type3 { + key "hw-fault-type3"; + description + "Table of Hardware Failure Device"; + leaf hw-fault-type3 { + type xr:Cisco-ios-xr-string; + description + "hw fault 3"; + } + uses RACK-TABLE; + } + } + leaf hw-fault-type2 { + type xr:Cisco-ios-xr-string; + description + "hw fault 2"; + } + uses RACK-TABLE; + } + } + leaf hw-fault-type1 { + type xr:Cisco-ios-xr-string; + description + "hw fault 1"; + } + uses RACK-TABLE; + } + } + } + uses RACK-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ping-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ping-act.yang new file mode 100644 index 0000000..dec809d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ping-act.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-ping-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act"; + prefix ping-act; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ipv4-ping-act; + include Cisco-IOS-XR-ipv6-ping-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ping action package configuration. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-28 { + description + "IOS XR 6.2.1 revision."; + } + + rpc ping { + description + "Send echo messages"; + input { + container destination { + uses PING-OPTIONS; + uses IPV4-SPECIFIC-OPTIONS; + uses IPV6-SPECIFIC-OPTIONS; + } + list ipv4 { + key "destination"; + uses IPV4-PING-INPUT; + } + container ipv6 { + uses IPV6-PING-INPUT; + } + } + output { + container ping-response { + list ipv4 { + key "destination"; + uses IPV4-PING-OUTPUT; + } + container ipv6 { + uses IPV6-PING-OUTPUT; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang new file mode 100644 index 0000000..1d01276 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub1.yang @@ -0,0 +1,686 @@ +submodule Cisco-IOS-XR-plat-chas-invmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-plat-chas-invmgr-oper { + prefix Cisco-IOS-XR-plat-chas-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR plat-chas-invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-22 { + description + "Fixing incorrect spelling for node-description in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Inv-reset-reason { + type enumeration { + enum "module-reset-reason-unknown" { + value 0; + description + "module reset reason unknown"; + } + enum "module-reset-reason-powerup" { + value 1; + description + "module reset reason powerup"; + } + enum "module-reset-reason-user-shutdown" { + value 2; + description + "module reset reason user shutdown"; + } + enum "module-reset-reason-user-reload" { + value 3; + description + "module reset reason user reload"; + } + enum "module-reset-reason-auto-reload" { + value 4; + description + "module reset reason auto reload"; + } + enum "module-reset-reason-environment" { + value 5; + description + "module reset reason environment"; + } + enum "module-reset-reason-user-unpower" { + value 6; + description + "module reset reason user unpower"; + } + } + description + "Inv reset reason"; + } + + typedef Inv-monitor-state { + type enumeration { + enum "unmonitored" { + value 0; + description + "unmonitored"; + } + enum "monitored" { + value 1; + description + "monitored"; + } + } + description + "Inv monitor state"; + } + + typedef Inv-card-state { + type enumeration { + enum "inv-card-not-present" { + value 0; + description + "inv card not present"; + } + enum "inv-card-present" { + value 1; + description + "inv card present"; + } + enum "inv-card-reset" { + value 2; + description + "inv card reset"; + } + enum "inv-card-booting" { + value 3; + description + "inv card booting"; + } + enum "inv-card-mbi-booting" { + value 4; + description + "inv card mbi booting"; + } + enum "inv-card-running-mbi" { + value 5; + description + "inv card running mbi"; + } + enum "inv-card-running-ena" { + value 6; + description + "inv card running ena"; + } + enum "inv-card-bring-down" { + value 7; + description + "inv card bring down"; + } + enum "inv-card-ena-failure" { + value 8; + description + "inv card ena failure"; + } + enum "inv-card-f-diag-run" { + value 9; + description + "inv card f diag run"; + } + enum "inv-card-f-diag-failure" { + value 10; + description + "inv card f diag failure"; + } + enum "inv-card-powered" { + value 11; + description + "inv card powered"; + } + enum "inv-card-unpowered" { + value 12; + description + "inv card unpowered"; + } + enum "inv-card-mdr" { + value 13; + description + "inv card mdr"; + } + enum "inv-card-mdr-running-mbi" { + value 14; + description + "inv card mdr running mbi"; + } + enum "inv-card-main-t-mode" { + value 15; + description + "inv card main t mode"; + } + enum "inv-card-admin-down" { + value 16; + description + "inv card admin down"; + } + enum "inv-card-no-mon" { + value 17; + description + "inv card no mon"; + } + enum "inv-card-unknown" { + value 18; + description + "inv card unknown"; + } + enum "inv-card-failed" { + value 19; + description + "inv card failed"; + } + enum "inv-card-ok" { + value 20; + description + "inv card ok"; + } + enum "inv-card-missing" { + value 21; + description + "inv card missing"; + } + enum "inv-card-field-diag-downloading" { + value 22; + description + "inv card field diag downloading"; + } + enum "inv-card-field-diag-unmonitor" { + value 23; + description + "inv card field diag unmonitor"; + } + enum "inv-card-fabric-field-diag-unmonitor" { + value 24; + description + "inv card fabric field diag unmonitor"; + } + enum "inv-card-field-diag-rp-launching" { + value 25; + description + "inv card field diag rp launching"; + } + enum "inv-card-field-diag-running" { + value 26; + description + "inv card field diag running"; + } + enum "inv-card-field-diag-pass" { + value 27; + description + "inv card field diag pass"; + } + enum "inv-card-field-diag-fail" { + value 28; + description + "inv card field diag fail"; + } + enum "inv-card-field-diag-timeout" { + value 29; + description + "inv card field diag timeout"; + } + enum "inv-card-disabled" { + value 30; + description + "inv card disabled"; + } + enum "inv-card-spa-booting" { + value 31; + description + "inv card spa booting"; + } + enum "inv-card-not-allowed-online" { + value 32; + description + "inv card not allowed online"; + } + enum "inv-card-stopped" { + value 33; + description + "inv card stopped"; + } + enum "inv-card-incompatible-fw-ver" { + value 34; + description + "inv card incompatible fw ver"; + } + enum "inv-card-fpd-hold" { + value 35; + description + "inv card fpd hold"; + } + enum "inv-card-node-prep" { + value 36; + description + "inv card node prep"; + } + enum "inv-card-updating-fpd" { + value 37; + description + "inv card updating fpd"; + } + enum "inv-card-num-states" { + value 38; + description + "inv card num states"; + } + } + description + "Inv card state"; + } + + typedef Inv-power-admin-state { + type enumeration { + enum "admin-power-invalid" { + value 0; + description + "admin power invalid"; + } + enum "admin-on" { + value 2; + description + "admin on"; + } + enum "admin-off" { + value 3; + description + "admin off"; + } + } + description + "Inv power admin state"; + } + + typedef Inv-admin-state { + type enumeration { + enum "admin-state-invalid" { + value 0; + description + "admin state invalid"; + } + enum "admin-up" { + value 1; + description + "admin up"; + } + enum "admin-down" { + value 2; + description + "admin down"; + } + } + description + "Inv admin state"; + } + + grouping INV-XML-DISK-ATTRIBUTE { + description + "Disk attribute"; + leaf disk-name { + type string { + length "0..255"; + } + description + "Disk name"; + } + leaf disk-size { + type uint32; + units "megabyte"; + description + "Disk size in mega-bytes"; + } + leaf sector-size { + type uint32; + units "byte"; + description + "Disk sector size in bytes"; + } + } + + grouping INV-XML-DISK-INFO { + description + "Disk information"; + leaf disk-name { + type string { + length "0..255"; + } + description + "(Deprecated) Disk name"; + } + leaf disk-size { + type uint32; + units "megabyte"; + description + "(Deprecated) Disk size in mega-bytes"; + } + leaf sector-size { + type uint32; + units "byte"; + description + "(Deprecated) Disk sector size in bytes"; + } + list disks { + description + "Disk attributes"; + uses INV-XML-DISK-ATTRIBUTE; + } + } + + grouping INV-BOOTFLASH { + description + "Bootflash information"; + leaf image-name { + type string { + length "0..255"; + } + description + "Image name"; + } + leaf platform-type { + type string { + length "0..255"; + } + description + "Platform Type"; + } + leaf major-version { + type uint32; + description + "Major version"; + } + leaf minor-version { + type uint32; + description + "Minor version"; + } + leaf micro-image-version { + type string { + length "0..255"; + } + description + "Micro image version"; + } + leaf platform-specific { + type string { + length "0..255"; + } + description + "Platform specific text"; + } + leaf release-type { + type string { + length "0..255"; + } + description + "Release type"; + } + leaf bootflash-type { + type string { + length "0..255"; + } + description + "Bootflash type e.g. SIMM"; + } + leaf bootflash-size { + type uint32; + units "kilobyte"; + description + "Bootflash size in kilo-bytes"; + } + leaf sector-size { + type uint32; + units "byte"; + description + "Sector size in bytes"; + } + } + + grouping INV-IMAGE { + description + "Image information"; + leaf image-name { + type string { + length "0..255"; + } + description + "Image name"; + } + leaf major-version { + type uint32; + description + "Major version"; + } + leaf minor-version { + type uint32; + description + "Minor version"; + } + leaf micro-image-version { + type string { + length "0..255"; + } + description + "Micro image version"; + } + leaf platform-specific { + type string { + length "0..255"; + } + description + "Platform specific text"; + } + leaf release-type { + type string { + length "0..255"; + } + description + "Release type"; + } + } + + grouping INV-XML-MOTHERBOARD-INFO { + description + "Motherboard information"; + container rom { + description + "ROM information"; + uses INV-IMAGE; + } + container bootflash { + description + "Bootflash information"; + uses INV-BOOTFLASH; + } + container processor { + description + "Processor information"; + uses INV-PROCESSOR; + } + leaf main-memory-size { + type uint64; + units "byte"; + description + "Memory size in bytes"; + } + leaf nvram-size { + type uint64; + units "byte"; + description + "NVRAM size in bytes"; + } + } + + grouping INV-PROCESSOR { + description + "Processor information"; + leaf processor-type { + type string { + length "0..255"; + } + description + "Type e.g. 7457"; + } + leaf speed { + type string { + length "0..255"; + } + description + "Speed e.g. 1197Mhz"; + } + leaf revision { + type string { + length "0..255"; + } + description + "Revision. e.g 1.1"; + } + } + + grouping INV-TIMESPEC { + description + "Inventory FRU Info Time Spec"; + leaf time-in-seconds { + type int32; + units "second"; + description + "Time Value in Seconds"; + } + leaf time-in-nano-seconds { + type int32; + units "nanosecond"; + description + "Time Value in Nano-seconds"; + } + } + + grouping INV-XML-FRU-INFO { + description + "FRU Information"; + container last-operational-state-change { + description + "Time operational state is last changed"; + uses INV-TIMESPEC; + } + container module-up-time { + description + "Module up time"; + uses INV-TIMESPEC; + } + leaf module-administrative-state { + type Inv-admin-state; + description + "Administrative state"; + } + leaf module-power-administrative-state { + type Inv-power-admin-state; + description + "Power administrative state"; + } + leaf module-operational-state { + type Inv-card-state; + description + "Operation state"; + } + leaf module-monitor-state { + type Inv-monitor-state; + description + "Monitor state"; + } + leaf module-reset-reason { + type Inv-reset-reason; + description + "Reset reason"; + } + } + + grouping INV-XML-ENTITY-BASIC-INFO { + description + "Bag contains all the basic inventory information + for each entity"; + leaf name { + type string { + length "0..255"; + } + description + "name string for the entity"; + } + leaf description { + type string { + length "0..255"; + } + description + "describes in user-readable terms + what the entity in question does"; + } + leaf model-name { + type string { + length "0..255"; + } + description + "model name"; + } + leaf hardware-revision { + type string { + length "0..255"; + } + description + "hw revision string"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "serial number"; + } + leaf firmware-revision { + type string { + length "0..255"; + } + description + "firmware revision string"; + } + leaf software-revision { + type string { + length "0..255"; + } + description + "software revision string"; + } + leaf vendor-type { + type string { + length "0..255"; + } + description + "maps to the vendor OID string"; + } + leaf is-field-replaceable-unit { + type boolean; + description + "1 if Field Replaceable Unit 0, if not"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang new file mode 100644 index 0000000..0adc86e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper-sub2.yang @@ -0,0 +1,387 @@ +submodule Cisco-IOS-XR-plat-chas-invmgr-oper-sub2 { + belongs-to Cisco-IOS-XR-plat-chas-invmgr-oper { + prefix Cisco-IOS-XR-plat-chas-invmgr-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR plat-chas-invmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-22 { + description + "Fixing incorrect spelling for node-description in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Node-state { + type enumeration { + enum "not-present" { + value 0; + description + "Not present"; + } + enum "present" { + value 1; + description + "Present"; + } + enum "reset" { + value 2; + description + "Reset"; + } + enum "rommon" { + value 3; + description + "Card booting or rommon"; + } + enum "mbi-boot" { + value 4; + description + "MBI booting"; + } + enum "mbi-run" { + value 5; + description + "Running MBI"; + } + enum "xr-run" { + value 6; + description + "Running ENA"; + } + enum "bring-down" { + value 7; + description + "Bringdown"; + } + enum "xr-fail" { + value 8; + description + "ENA failure"; + } + enum "fdiag-run" { + value 9; + description + "Running FDIAG"; + } + enum "fdiag-fail" { + value 10; + description + "FDIAG failure"; + } + enum "power" { + value 11; + description + "Powered"; + } + enum "unpower" { + value 12; + description + "Unpowered"; + } + enum "mdr-warm-reload" { + value 13; + description + "MDR warm reload"; + } + enum "mdr-mbi-run" { + value 14; + description + "MDR running MBI"; + } + enum "maintenance-mode" { + value 15; + description + "Maintenance mode"; + } + enum "admin-down" { + value 16; + description + "Admin down"; + } + enum "not-monitor" { + value 17; + description + "No MON"; + } + enum "unknown-card" { + value 18; + description + "Unknown"; + } + enum "failed" { + value 19; + description + "Failed"; + } + enum "ok" { + value 20; + description + "OK"; + } + enum "missing" { + value 21; + description + "Missing"; + } + enum "diag-download" { + value 22; + description + "Field diag downloading"; + } + enum "diag-not-monitor" { + value 23; + description + "Field diag unmonitor"; + } + enum "fabric-diag-not-monitor" { + value 24; + description + "Fabric field diag unmonitor"; + } + enum "diag-rp-launch" { + value 25; + description + "Field diag RP launching"; + } + enum "diag-run" { + value 26; + description + "Field diag running"; + } + enum "diag-pass" { + value 27; + description + "Field diag pass"; + } + enum "diag-fail" { + value 28; + description + "Field diag fail"; + } + enum "diag-timeout" { + value 29; + description + "Field diag timeout"; + } + enum "disable" { + value 30; + description + "Disable"; + } + enum "spa-boot" { + value 31; + description + "SPA booting"; + } + enum "not-allowed-online" { + value 32; + description + "Not allowed online"; + } + enum "stop" { + value 33; + description + "Stopped"; + } + enum "incomp-version" { + value 34; + description + "Incompatible FW version"; + } + enum "fpd-hold" { + value 35; + description + "FPD hold"; + } + enum "xr-preparation" { + value 36; + description + "XR preparation"; + } + enum "sync-ready" { + value 37; + description + "Sync ready state"; + } + enum "xr-isolate" { + value 38; + description + "Node isolate state"; + } + enum "ready" { + value 39; + description + "Ready"; + } + enum "invalid" { + value 40; + description + "Invalid"; + } + enum "operational" { + value 41; + description + "Operational"; + } + enum "operational-lock" { + value 42; + description + "Operational lock"; + } + enum "going-down" { + value 43; + description + "Going down"; + } + enum "going-offline" { + value 44; + description + "Going offline"; + } + enum "going-online" { + value 45; + description + "Going online"; + } + enum "offline" { + value 46; + description + "Offline"; + } + enum "up" { + value 47; + description + "Up"; + } + enum "down" { + value 48; + description + "Down"; + } + enum "max" { + value 49; + description + "Max"; + } + enum "unknown" { + value 50; + description + "Unknown"; + } + } + description + "Node state detail"; + } + + typedef Card-redundancy-state { + type enumeration { + enum "active" { + value 1; + description + "Active"; + } + enum "standby" { + value 2; + description + "Standby"; + } + } + description + "Redundancy state detail"; + } + + grouping VM-INFO { + description + "VM Info"; + leaf node-description { + type string; + description + "Node Type"; + } + leaf red-role { + type string; + description + "Node Redundency Role"; + } + leaf partner-name { + type string; + description + "Partner Name"; + } + leaf software-status { + type string; + description + "SW status"; + } + leaf node-ip { + type string; + description + "Node IP Address"; + } + } + + grouping PLATFORM-INFO { + description + "Platform information"; + leaf card-type { + type string; + description + "Card type"; + } + leaf card-redundancy-state { + type Card-redundancy-state; + description + "Redundancy state"; + } + leaf plim { + type string; + description + "PLIM"; + } + leaf state { + type Node-state; + description + "State"; + } + leaf is-monitored { + type boolean; + description + "True if power state is active"; + } + leaf is-powered { + type boolean; + description + "True if monitor state is active"; + } + leaf is-shutdown { + type boolean; + description + "True if shutdown state is active"; + } + leaf admin-state { + type string; + description + "Admin state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper.yang new file mode 100644 index 0000000..9116061 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-plat-chas-invmgr-oper.yang @@ -0,0 +1,324 @@ +module Cisco-IOS-XR-plat-chas-invmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-oper"; + prefix plat-chas-invmgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-plat-chas-invmgr-oper-sub2 { + revision-date 2018-01-22; + } + include Cisco-IOS-XR-plat-chas-invmgr-oper-sub1 { + revision-date 2018-01-22; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR plat-chas-invmgr package operational data. + + This module contains definitions + for the following management objects: + platform: Platform information + platform-inventory: platform inventory + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-01-22 { + description + "Fixing incorrect spelling for node-description in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping STATE { + description + "Common node of instance, slot"; + container state { + description + "State information"; + uses PLATFORM-INFO; + } + } + + grouping PORT-SLOT-TABLE { + description + "Common node of card, module"; + container port-slots { + description + "Table of port slots"; + list port-slot { + key "name"; + description + "Port slot number"; + container portses { + description + "Table of spirit port slots"; + list ports { + key "name"; + description + "Port number"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Port name"; + } + uses HW-COMPONENT-TABLE; + uses SENSOR-TABLE; + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Port slot name"; + } + uses SENSOR-TABLE; + uses ATTRIBUTES; + } + } + } + + grouping SLOT-TABLE { + description + "Common node of rack, rack"; + container slots { + description + "Table of slots"; + list slot { + key "name"; + description + "Slot name"; + container cards { + description + "Table of cards"; + list card { + key "name"; + description + "Card number"; + container hardware-information { + description + "HardwareInformationDir"; + container processor-information { + description + "ProcesorInformation"; + uses INV-PROCESSOR; + } + container motherboard-information { + description + "MotherboardInformation"; + uses INV-XML-MOTHERBOARD-INFO; + } + container bootflash-information { + description + "BootflashInformation"; + uses INV-BOOTFLASH; + } + container disk-information { + description + "DiskInformation"; + uses INV-XML-DISK-INFO; + } + } + container sub-slots { + description + "Table of subslots"; + list sub-slot { + key "name"; + description + "Subslot number"; + container module { + description + "Module of a subslot"; + uses PORT-SLOT-TABLE; + uses SENSOR-TABLE; + uses ATTRIBUTES; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Subslot name"; + } + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Card name"; + } + uses PORT-SLOT-TABLE; + uses HW-COMPONENT-TABLE; + uses SENSOR-TABLE; + uses ATTRIBUTES; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + uses ATTRIBUTES; + } + } + } + + grouping PLATFORM-COMMON-SLOT-TABLE { + description + "Common node of rack, rackCommon node of rack, + rack"; + container slots { + description + "Table of slots"; + list slot { + key "slot-name"; + description + "Slot name"; + container instances { + description + "Table of Instances"; + list instance { + key "instance-name"; + description + "Instance name"; + leaf instance-name { + type string; + description + "Instance name"; + } + uses STATE; + } + } + container vm { + description + "VM information"; + uses VM-INFO; + } + leaf slot-name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + uses STATE; + } + } + } + + grouping SENSOR-TABLE { + description + "Common node of card, module, hw-component, + port-slot, ports"; + container sensors { + description + "Table of sensors"; + list sensor { + key "name"; + description + "Sensor number"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Sensor name"; + } + uses ATTRIBUTES; + } + } + } + + grouping HW-COMPONENT-TABLE { + description + "Common node of card, ports"; + container hw-components { + description + "Table of HW components "; + list hw-component { + key "name"; + description + "HW component number"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "HW component name"; + } + uses SENSOR-TABLE; + uses ATTRIBUTES; + } + } + } + + grouping ATTRIBUTES { + description + "Common node of rack, rack, slot, card, sub-slot, + module, port-slot, hw-component, sensor, ports"; + container attributes { + description + "Attributes"; + container basic-info { + description + "Entity attributes"; + uses INV-XML-ENTITY-BASIC-INFO; + } + container fru-info { + description + "Field Replaceable Unit (FRU) attributes"; + uses INV-XML-FRU-INFO; + } + } + } + + container platform { + config false; + description + "Platform information"; + container racks { + description + "Table of racks"; + list rack { + key "rack-name"; + description + "Rack name"; + leaf rack-name { + type xr:Cisco-ios-xr-string; + description + "Rack name"; + } + uses PLATFORM-COMMON-SLOT-TABLE; + } + } + } + container platform-inventory { + config false; + description + "platform inventory"; + container racks { + description + "Table of racks"; + list rack { + key "name"; + description + "Rack name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Rack name"; + } + uses SLOT-TABLE; + uses ATTRIBUTES; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper-sub1.yang new file mode 100644 index 0000000..57e9821 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper-sub1.yang @@ -0,0 +1,544 @@ +submodule Cisco-IOS-XR-platform-pifib-oper-sub1 { + belongs-to Cisco-IOS-XR-platform-pifib-oper { + prefix Cisco-IOS-XR-platform-pifib-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR platform-pifib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-22 { + description + "Initial revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PL-PIFIB-HARDWARE-INFO { + description + "PL PIFIB HARDWARE INFO"; + leaf policer { + type uint32; + description + "Policer Pointer"; + } + leaf stats-ptr { + type uint32; + description + "Stats Pointer"; + } + leaf accepted { + type uint64; + description + "Accepted Packets Counter"; + } + leaf dropped { + type uint64; + description + "Dropped Packets Counter"; + } + leaf sort-start-offset { + type int32; + description + "Relative position in sorting order"; + } + leaf tm-start-offset { + type int32; + description + "Relative position in TCAM"; + } + } + + grouping PL-PIFIB-SHOW-ENTRY { + description + "LPTS TCAM Pre-IFIB Entry Information"; + leaf l3protocol { + type uint32; + description + "Layer 3 Protocol"; + } + leaf l4protocol { + type uint32; + description + "Layer 4 Protocol"; + } + leaf intf-handle { + type uint32; + description + "Interface Handle"; + } + leaf intf-name { + type string; + description + "Interface Name"; + } + leaf uidb-index { + type uint32; + description + "Interface uidb index"; + } + leaf local-addr { + type string; + description + "Local IP Address"; + } + leaf local-prefix-len { + type uint32; + description + "Local Prefix Length"; + } + leaf remote-addr { + type string; + description + "Remote IP Address"; + } + leaf remote-prefix-len { + type uint32; + description + "Remote Prefix Length"; + } + leaf vrf-id { + type uint32; + description + "VRF ID"; + } + leaf u-value { + type uint32; + description + "Remote Port/ICMP Type/IGMP Type"; + } + leaf u-len { + type uint32; + description + "Union Key Length"; + } + leaf local-port { + type uint32; + description + "Local port"; + } + leaf is-frag { + type uint8; + description + "Is Fragment"; + } + leaf is-syn { + type uint8; + description + "Is SYN"; + } + leaf action { + type uint8; + description + "Action"; + } + leaf action-string { + type string; + description + "Action String"; + } + leaf listener-tag { + type uint8; + description + "Listener Tag"; + } + leaf is-fgid { + type uint8; + description + "Is FGID or not"; + } + leaf is-vrf { + type uint8; + description + "Is VRF or not"; + } + leaf is-optimized { + type uint8; + description + "Is optimized or not"; + } + leaf is-uidb-opt-bit { + type uint8; + description + "Is uidb set for optimized entry or not"; + } + leaf fgid-or-sfp { + type uint32; + description + "fabric group id or swith fabric port"; + } + leaf remote-rack { + type uint8; + description + "Is entry remote or not"; + } + leaf rack-id { + type uint32; + description + "Remote racknum if remote"; + } + leaf rslot { + type uint32; + description + "Remote slotnum if remote"; + } + leaf cir { + type uint64; + description + "Committed Information Rate"; + } + leaf flow-type { + type uint32; + description + "Flow type"; + } + leaf priority { + type uint32; + description + "Flow priority or COS"; + } + leaf sid { + type uint32; + description + "Stream ID"; + } + leaf policer-avgrate { + type uint32; + description + "Policer avg. rate limit"; + } + leaf policer-burst { + type uint32; + description + "Policer burst"; + } + leaf lookup-priority { + type int32; + description + "Lookup priority"; + } + leaf storage-priority { + type int32; + description + "Storage priority"; + } + leaf num-tm-entries { + type int32; + description + "Number of TCAM entries used"; + } + leaf entry-ptr { + type uint32; + description + "ptr to ifib_entry_st"; + } + leaf entry-shadow-ptr { + type uint32; + description + "ptr to ifib_entry_shadow_st"; + } + leaf list-node-ptr { + type uint32; + description + "ptr to dlqueue list node"; + } + leaf state { + type uint8; + description + "state of pifib entry"; + } + leaf retry-fail-cause { + type uint8; + description + "failure cause"; + } + leaf num-retries { + type uint8; + description + "retries count"; + } + leaf min-ttl { + type uint8; + description + "Minimum TTL"; + } + leaf u-type { + type uint8; + description + "Union Key Type"; + } + leaf remote-fgid { + type uint32; + description + "Remote FGID"; + } + leaf acl-str { + type yang:hex-string; + description + "Acl name"; + } + leaf no-stats { + type uint8; + description + "Stats not available"; + } + list hw-info { + description + "Per pipe type hardware info"; + uses PL-PIFIB-HARDWARE-INFO; + } + } + + grouping PL-PIFIB-SHOW-STATS { + description + "Pre-IFIB global statistics"; + leaf accepted { + type uint64; + description + "Deleted-entry accepted packets counter"; + } + leaf dropped { + type uint64; + description + "Deleted-entry dropped packets counter"; + } + leaf clear-ts { + type uint64; + description + "Statistics clear timestamp"; + } + leaf no-stats-mem-err { + type uint64; + description + "No statistics memory error"; + } + } + + grouping PL-PIFIB-SHOW-BFD-DISC-ENTRY-INFO { + description + "PL PIFIB SHOW BFD DISC ENTRY INFO"; + leaf index { + type uint8; + description + "index"; + } + leaf is-mcast { + type uint8; + description + "is mcast"; + } + leaf fgid-or-vqi { + type uint32; + description + "fgid or vqi"; + } + leaf is-valid { + type uint8; + description + "is valid"; + } + leaf policer-id { + type uint32; + description + "policer id"; + } + } + + grouping PL-PIFIB-SHOW-BFD-DISC-ENTRY { + description + "Pre-IFIB platform specific bfd discriminator + table entry data structure"; + list bfd-entry-info { + description + "Per bfd disc entry info"; + uses PL-PIFIB-SHOW-BFD-DISC-ENTRY-INFO; + } + } + + grouping PL-PIFIB-SHOW-STATIC-POLICE-INFO { + description + "PL PIFIB SHOW STATIC POLICE INFO"; + leaf punt-reason { + type uint32; + description + "punt reason"; + } + leaf sid { + type uint32; + description + "sid"; + } + leaf flow-rate { + type uint32; + description + "flow rate"; + } + leaf burst-rate { + type uint32; + description + "burst rate"; + } + leaf accepted { + type uint64; + description + "accepted"; + } + leaf dropped { + type uint64; + description + "dropped"; + } + leaf punt-reason-string { + type yang:hex-string; + description + "punt reason string"; + } + leaf change-type { + type uint8; + description + "change type"; + } + } + + grouping PL-PIFIB-SHOW-STATIC-POLICE { + description + "Pre-IFIB platform specific punt reason data + structure"; + list static-info { + description + "Per punt reason info"; + uses PL-PIFIB-SHOW-STATIC-POLICE-INFO; + } + } + + grouping PL-PIFIB-POLICE-INFO { + description + "PL PIFIB POLICE INFO"; + leaf avgrate { + type uint32; + description + "avgrate"; + } + leaf burst { + type uint32; + description + "burst"; + } + leaf static-avgrate { + type uint32; + description + "static avgrate"; + } + leaf avgrate-type { + type uint32; + description + "avgrate type"; + } + leaf accepted-stats { + type uint64; + description + "accepted stats"; + } + leaf dropped-stats { + type uint64; + description + "dropped stats"; + } + leaf policer { + type uint32; + description + "policer"; + } + leaf iptos-value { + type uint8; + description + "iptos value"; + } + leaf change-type { + type uint8; + description + "change type"; + } + leaf acl-config { + type uint8; + description + "acl config"; + } + leaf acl-str { + type yang:hex-string; + description + "acl str"; + } + } + + grouping PL-PIFIB-SHOW-POLICE { + description + "Pre-IFIB platform specific police data structure"; + list police-info { + description + "Per flow type police info"; + uses PL-PIFIB-POLICE-INFO; + } + } + + grouping PL-PIFIB-USAGE-INFO { + description + "PL PIFIB USAGE INFO"; + leaf pipe-id { + type uint8; + description + "Pipe ID"; + } + leaf region { + type uint8; + description + "Region Type"; + } + leaf region-id { + type uint8; + description + "Region ID"; + } + leaf size { + type uint32; + description + "Maximum Number of Entries in the Region"; + } + leaf used { + type uint32; + description + "Used Number of Entries in the Region"; + } + } + + grouping PL-PIFIB-SHOW-USAGE { + description + "Pre-IFIB platform specific usage data structure"; + list usage-info { + description + "Per TCAM type usage info"; + uses PL-PIFIB-USAGE-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper.yang new file mode 100644 index 0000000..76dcebe --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-platform-pifib-oper.yang @@ -0,0 +1,120 @@ +module Cisco-IOS-XR-platform-pifib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-platform-pifib-oper"; + prefix platform-pifib-oper; + + import Cisco-IOS-XR-lpts-pre-ifib-oper { + prefix a1; + } + include Cisco-IOS-XR-platform-pifib-oper-sub1 { + revision-date 2016-02-22; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR platform-pifib package operational data. + + This YANG module augments the + Cisco-IOS-XR-lpts-pre-ifib-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-22 { + description + "Initial revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Usage-address-family { + type enumeration { + enum "ipv4" { + value 0; + description + "Ipv4 af"; + } + enum "ipv6" { + value 1; + description + "Ipv6 af"; + } + } + description + "Usage address family"; + } + + augment "/a1:lpts-pifib/a1:nodes/a1:node" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-lpts-pre-ifib-oper'"; + container hardware { + description + "Hardware specific"; + container usage-entries { + description + "Usage Table options"; + list usage-entry { + key "region-id"; + description + "Usage details"; + leaf region-id { + type Usage-address-family; + description + "Region ID"; + } + uses PL-PIFIB-SHOW-USAGE; + } + } + container police { + description + "Police details"; + uses PL-PIFIB-SHOW-POLICE; + } + container static-police { + description + "Static Police details"; + uses PL-PIFIB-SHOW-STATIC-POLICE; + } + container bfd { + description + "Bfd details"; + uses PL-PIFIB-SHOW-BFD-DISC-ENTRY; + } + container statistics { + description + "Hardware Entry type"; + uses PL-PIFIB-SHOW-STATS; + } + container index-entries { + description + "Hardware Entry options"; + list index-entry { + key "index"; + description + "Entry options"; + leaf index { + type int32; + description + "Index"; + } + uses PL-PIFIB-SHOW-ENTRY; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-cfg.yang new file mode 100644 index 0000000..1617233 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-cfg.yang @@ -0,0 +1,4537 @@ +module Cisco-IOS-XR-pmengine-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-cfg"; + prefix pmengine-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pmengine package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Secyif-report { + type enumeration { + enum "report-if-inpkts-untagged" { + value 134217728; + description + "PM SECYIF if InPktsUntagged report"; + } + enum "report-if-inpkts-not-ag" { + value 134217729; + description + "PM SECYIF if InPktsNoTag report"; + } + enum "report-if-inpktsbadtag" { + value 134217730; + description + "PM SECYIF if InPktsBadTag report"; + } + enum "report-if-inpkts-unknown-sci" { + value 134217731; + description + "PM SECYIF if InPktsUnknownSCI report"; + } + enum "report-if-inpktsnosci" { + value 134217732; + description + "PM SECYIF if InPktsNoSCI report"; + } + enum "report-if-inpkts-overrun" { + value 134217733; + description + "PM SECYIF if InPktsOverrun report"; + } + enum "report-if-inoctets-validate-d" { + value 134217734; + description + "PM SECYIF if InOctetsValidated report"; + } + enum "report-if-inoctetsdecrypted" { + value 134217735; + description + "PM SECYIF if InOctetsDecrypted report"; + } + enum "report-if-outpkts-untagged" { + value 134217736; + description + "PM SECYIF if OutPktsUntagged report"; + } + enum "report-if-outpkts-too-long" { + value 134217737; + description + "PM SECYIF if OutPktsTooLong report"; + } + enum "report-if-outoctetsprotected" { + value 134217738; + description + "PM SECYIF if OutOctetsProtected report"; + } + enum "report-if-outoctetsencrypted" { + value 134217739; + description + "PM SECYIF if OutOctetsEncrypted report"; + } + } + description + "Secyif report"; + } + + typedef Gfp-report { + type enumeration { + enum "report-rx-bit-err" { + value 6291456; + description + "PM GFP rx bit err report"; + } + enum "report-rx-inv-typ" { + value 6291457; + description + "PM GFP rx inv type report"; + } + enum "report-rx-crc" { + value 6291458; + description + "PM GFP rx crc report"; + } + enum "report-rx-lfd" { + value 6291459; + description + "PM GFP rx lfd report"; + } + enum "report-rx-csf" { + value 6291460; + description + "PM GFP rx csf report"; + } + } + description + "Gfp report"; + } + + typedef Ho-vc-threshold { + type enumeration { + enum "thresh-eb" { + value 33554432; + description + "PM EB threshold"; + } + enum "thresh-es" { + value 33554433; + description + "PM ES threshold"; + } + enum "thresh-esr" { + value 33554434; + description + "PM ESR threshold"; + } + enum "thresh-ses" { + value 33554435; + description + "PM SES threshold"; + } + enum "thresh-sesr" { + value 33554436; + description + "PM SESR threshold"; + } + enum "thresh-bbe" { + value 33554437; + description + "PM BBE threshold"; + } + enum "thresh-bber" { + value 33554438; + description + "PM BBER threshold"; + } + enum "thresh-uass" { + value 33554439; + description + "PM UASS threshold"; + } + } + description + "Ho vc threshold"; + } + + typedef Ether-threshold { + type enumeration { + enum "thresh-rx-pkt" { + value 8388608; + description + "PM Ether rx pkt threshold"; + } + enum "thresh-rx-util" { + value 8388609; + description + "PM Ether rx util threshold"; + } + enum "thresh-tx-util" { + value 8388610; + description + "PM Ether tx util threshold"; + } + enum "thresh-stat-pkt" { + value 8388611; + description + "PM ether stat pkt threshold"; + } + enum "thresh-octet-stat" { + value 8388612; + description + "PM Ether octet stat threshold"; + } + enum "thresh-over-size-pkt" { + value 8388613; + description + "PM Ether oversize pkt threshold"; + } + enum "thresh-fcs-err" { + value 8388614; + description + "PMEther fcs error threshold"; + } + enum "thresh-long-frame-s" { + value 8388615; + description + "PM Ether long frames threshold"; + } + enum "thresh-jabber-stats" { + value 8388616; + description + "PM Ether jabber stats threshold"; + } + enum "thresh-64-octet" { + value 8388617; + description + "PM Ether 64 octet threshold"; + } + enum "thresh-65-127-octet" { + value 8388618; + description + "PM Ether 65 to 127 octet threshold"; + } + enum "thresh-128-255-octet" { + value 8388619; + description + "PM Ether 128 to 255 octet threshold"; + } + enum "thresh-256-511-octet" { + value 8388620; + description + "PM Ether 256 to 511 octet threshold"; + } + enum "thresh-512-1023-octet" { + value 8388621; + description + "PM Ether 512 to 1023 octet threshold"; + } + enum "thresh-1024-1518-octet" { + value 8388622; + description + "PM Ether 1024 to 1518 threshold"; + } + enum "thresh-in-ucast" { + value 8388623; + description + "PM Ether rx ucast threshold"; + } + enum "thresh-in-mcast" { + value 8388624; + description + "PM Ether rx mcast threshold"; + } + enum "thresh-in-bcast" { + value 8388625; + description + "PM Ether rx bcast threshold"; + } + enum "thresh-out-ucast" { + value 8388626; + description + "PM Ether tx ucast threshold"; + } + enum "thresh-out-mcast" { + value 8388627; + description + "PM Ether tx mcast threshold"; + } + enum "thresh-out-bcast" { + value 8388628; + description + "PM Ether tx bcast threshold"; + } + enum "thresh-tx-pkt" { + value 8388629; + description + "PM Ether tx pkt threshold"; + } + enum "thresh-ifin-error-s" { + value 8388630; + description + "PM ether ifIn errors threshold"; + } + enum "thresh-ifin-octets" { + value 8388631; + description + "PM ether ifInOctets threshold"; + } + enum "thresh-ether-stat-multicast-pkt" { + value 8388632; + description + "PM ether stat multicast pkt threshold"; + } + enum "thresh-ether-stat-broadcast-pkt" { + value 8388633; + description + "PM ether stat broadcast pkt threshold"; + } + enum "thresh-ether-stat-under-size-d-pkt" { + value 8388634; + description + "PM ether stat undersized pkt threshold"; + } + enum "thresh-out-octet" { + value 8388635; + description + "PM ether out octets threshold"; + } + enum "thresh-in-pause-frame" { + value 8388636; + description + "PM in pause frame threshold"; + } + enum "thresh-in-go-od-bytes" { + value 8388637; + description + "PM in good bytes threshold"; + } + enum "thresh-in-802-1q-frame-s" { + value 8388638; + description + "PM in 802_1 Q threshold"; + } + enum "thresh-in-pkts-1519-max-octets" { + value 8388639; + description + "PM in pkts 1519 max octets threshold"; + } + enum "thresh-in-go-od-pkts" { + value 8388640; + description + "PM in good pkts threshold"; + } + enum "thresh-in-drop-overrun" { + value 8388641; + description + "PM in drop overrun threshold"; + } + enum "thresh-in-drop-abort" { + value 8388642; + description + "PM in drop abort threshold"; + } + enum "thresh-in-drop-invalid-vlan" { + value 8388643; + description + "PM in drop invalid vlan threshold"; + } + enum "thresh-in-drop-invalid-dmac" { + value 8388644; + description + "PM in drop invalid DMAC threshold"; + } + enum "thresh-in-drop-invalid-encap" { + value 8388645; + description + "PM in drop invalid encap threshold"; + } + enum "thresh-in-drop-other" { + value 8388646; + description + "PM in drop other threshold"; + } + enum "thresh-in-mib-giant" { + value 8388647; + description + "PM in MIB giant threshold"; + } + enum "thresh-in-mib-jabber" { + value 8388648; + description + "PM in MIB jabber threshold"; + } + enum "thresh-in-mib-crc" { + value 8388649; + description + "PM in MIB CRC threshold"; + } + enum "thresh-in-error-collision-s" { + value 8388650; + description + "PM in error collisions threshold"; + } + enum "thresh-in-error-symbol" { + value 8388651; + description + "PM in error symbol threshold"; + } + enum "thresh-out-go-od-bytes" { + value 8388652; + description + "PM out good bytes threshold"; + } + enum "thresh-out-802-1q-frame-s" { + value 8388653; + description + "PM out 802_1 Q threshold"; + } + enum "thresh-out-pause-frame-s" { + value 8388654; + description + "PM out pause frame threshold"; + } + enum "thresh-out-pkts-1519-max-octets" { + value 8388655; + description + "PM out pkts 1519 max octets threshold"; + } + enum "thresh-out-go-od-pkts" { + value 8388656; + description + "PM out good pkts threshold"; + } + enum "thresh-out-drop-under-run" { + value 8388657; + description + "PM out drop underrun threshold"; + } + enum "thresh-out-drop-abort" { + value 8388658; + description + "PM out drop abort threshold"; + } + enum "thresh-out-drop-other" { + value 8388659; + description + "PM out drop other threshold"; + } + enum "thresh-out-error-other" { + value 8388660; + description + "PM out error other threshold"; + } + enum "thresh-in-error-giant" { + value 8388661; + description + "PM in error giant threshold"; + } + enum "thresh-in-error-runt" { + value 8388662; + description + "PM in error runt threshold"; + } + enum "thresh-in-error-jabbers" { + value 8388663; + description + "PM in error jabber threshold"; + } + enum "thresh-in-error-fragments" { + value 8388664; + description + "PM in error fragments threshold"; + } + enum "thresh-in-error-other" { + value 8388665; + description + "PM in error other threshold"; + } + enum "thresh-in-pkt-64-octet" { + value 8388666; + description + "PM in pkt 64 octet threshold"; + } + enum "thresh-in-pkts-65-127octets" { + value 8388667; + description + "PM in pkts 65_127 octets threshold"; + } + enum "thresh-in-pkts-128-255-octets" { + value 8388668; + description + "PM in pkts 128_255 octets threshold"; + } + enum "thresh-in-pkts-256-511-octets" { + value 8388669; + description + "PM in pkts 256_511 octets threshold"; + } + enum "thresh-in-pkts-512-1023-octets" { + value 8388670; + description + "PM in pkts 512_1023 octets threshold"; + } + enum "thresh-in-pkts-1024-1518-octets" { + value 8388671; + description + "PM in pkts 1024_1058 octets threshold"; + } + enum "thresh-out-pkt-64-octet" { + value 8388672; + description + "PM out pkt 64 octet threshold"; + } + enum "thresh-out-pkts-65-127octets" { + value 8388673; + description + "PM out pkts 65_127 octets threshold"; + } + enum "thresh-out-pkts-128-255-octets" { + value 8388674; + description + "PM out pkts 128_255 octets threshold"; + } + enum "thresh-out-pkts-256-511-octets" { + value 8388675; + description + "PM out pkts 256_511 octets threshold"; + } + enum "thresh-out-pkts-512-1023-octets" { + value 8388676; + description + "PM out pkts 512_1023 octets threshold"; + } + enum "thresh-out-pkts-1024-1518-octets" { + value 8388677; + description + "PM out pkts 1024_1058 octets threshold"; + } + enum "thresh-tx-under-size-d-pkt" { + value 8388678; + description + "PM tx undersized pkt threshold"; + } + enum "thresh-tx-over-size-d-pkt" { + value 8388679; + description + "PM tx oversized pkt threshold"; + } + enum "thresh-tx-fragments" { + value 8388680; + description + "PM tx fragments threshold"; + } + enum "thresh-tx-jabber" { + value 8388681; + description + "PM tx jabber threshold"; + } + enum "thresh-tx-bad-fcs" { + value 8388682; + description + "PM tx bad fcs threshold"; + } + } + description + "Ether threshold"; + } + + typedef Path-threshold { + type enumeration { + enum "thresh-cv" { + value 5242880; + description + "PM CV threshold"; + } + enum "thresh-es" { + value 5242881; + description + "PM ES threshold"; + } + enum "thresh-ses" { + value 5242882; + description + "PM SES threshold"; + } + enum "thresh-uas" { + value 5242883; + description + "PM UAS threshold"; + } + } + description + "Path threshold"; + } + + typedef Sts-threshold { + type enumeration { + enum "thresh-cv" { + value 4194304; + description + "PM CV threshold"; + } + enum "thresh-es" { + value 4194305; + description + "PM ES threshold"; + } + enum "thresh-ses" { + value 4194306; + description + "PM SES threshold"; + } + enum "thresh-uas" { + value 4194307; + description + "PM UAS threshold"; + } + } + description + "Sts threshold"; + } + + typedef Secytx-report { + type enumeration { + enum "report-tx-outpktsprotected" { + value 150994944; + description + "PM SECYTX tx OutPktsProtected report"; + } + enum "report-tx-outpktsencrypted" { + value 150994945; + description + "PM SECYTX tx OutPktsEncrypted report"; + } + enum "report-tx-outoctetsprotected" { + value 150994946; + description + "PM SECYTX tx OutOctetsProtected report"; + } + enum "report-tx-outoctetsencrypted" { + value 150994947; + description + "PM SECYTX tx OutOctetsEncrypted report"; + } + enum "report-tx-outpkts-too-long" { + value 150994948; + description + "PM SECYTX tx OutPktsTooLong report"; + } + } + description + "Secytx report"; + } + + typedef Ocn-report { + type enumeration { + enum "report-sefss" { + value 3145728; + description + "PM SEFSS threshold"; + } + enum "report-cvs" { + value 3145729; + description + "PM CVS threshold"; + } + enum "report-ess" { + value 3145730; + description + "PM ESS threshold"; + } + enum "report-sess" { + value 3145731; + description + "PM SESS threshold"; + } + enum "report-cvl-ne" { + value 3145734; + description + "PM CVL-NE threshold"; + } + enum "report-esl-ne" { + value 3145735; + description + "PM ESL-NE threshold"; + } + enum "report-sesl-ne" { + value 3145736; + description + "PM SESL-NE threshold"; + } + enum "report-uasl-ne" { + value 3145738; + description + "PM UASL-NE threshold"; + } + enum "report-fcl-ne" { + value 3145739; + description + "PM FCL-NE threshold"; + } + enum "report-fcl-fe" { + value 3145751; + description + "PM FCL_FE threshold"; + } + enum "report-cvl-fe" { + value 3145752; + description + "PM CVL-FE threshold"; + } + enum "report-esl-fe" { + value 3145753; + description + "PM ESL_FE threshold"; + } + enum "report-sesl-fe" { + value 3145754; + description + "PM SESL_FE threshold"; + } + enum "report-uasl-fe" { + value 3145756; + description + "PM UASL_FEthreshold"; + } + } + description + "Ocn report"; + } + + typedef Ho-vc-report { + type enumeration { + enum "report-eb" { + value 33554432; + description + "PM EB report"; + } + enum "report-es" { + value 33554433; + description + "PM ES report"; + } + enum "report-esr" { + value 33554434; + description + "PM ESR report"; + } + enum "report-ses" { + value 33554435; + description + "PM SES report"; + } + enum "report-sesr" { + value 33554436; + description + "PM SESR report"; + } + enum "report-bbe" { + value 33554437; + description + "PM BBE report"; + } + enum "report-bber" { + value 33554438; + description + "PM BBER report"; + } + enum "report-uass" { + value 33554439; + description + "PM UASS report"; + } + } + description + "Ho vc report"; + } + + typedef Otn-threshold { + type enumeration { + enum "thresh-es-sm-ne" { + value 262144; + description + "PM Otn es sm ne threshold"; + } + enum "thresh-ses-sm-ne" { + value 262145; + description + "PM Otn ses sm ne threshold"; + } + enum "thresh-uas-sm-ne" { + value 262146; + description + "PM Otn uas sm ne threshold"; + } + enum "thresh-bbe-sm-ne" { + value 262147; + description + "PM Otn bbe sm ne threshold"; + } + enum "thresh-fc-sm-ne" { + value 262148; + description + "PM Otn fc sm ne threshold"; + } + enum "thresh-esr-sm-ne" { + value 262149; + description + "PM Otn esr sm ne threshold"; + } + enum "thresh-sesr-sm-ne" { + value 262150; + description + "PM Otn sesr sm ne threshold"; + } + enum "thresh-bber-sm-ne" { + value 262151; + description + "PM Otn bber sm ne threshold"; + } + enum "thresh-es-pm-ne" { + value 524288; + description + "PM Otn es pm ne threshold"; + } + enum "thresh-ses-pm-ne" { + value 524289; + description + "PM Otn ses pm ne threshold"; + } + enum "thresh-uas-pm-ne" { + value 524290; + description + "PM Otn uas pm ne threshold"; + } + enum "thresh-bbe-pm-ne" { + value 524291; + description + "PM Otn bbe pm ne threshold"; + } + enum "thresh-fc-pm-ne" { + value 524292; + description + "PM Otn fc pm ne threshold"; + } + enum "thresh-esr-pm-ne" { + value 524293; + description + "PM Otn esr pm ne threshold"; + } + enum "thresh-sesr-pm-ne" { + value 524294; + description + "PM Otn sesr pm ne threshold"; + } + enum "thresh-bber-pm-ne" { + value 524295; + description + "PM Otn bber pm ne threshold"; + } + enum "thresh-es-sm-fe" { + value 1048584; + description + "PM Otn es sm fe threshold"; + } + enum "thresh-ses-sm-fe" { + value 1048585; + description + "PM Otn ses sm fe threshold"; + } + enum "thresh-uas-sm-fe" { + value 1048586; + description + "PM Otn uas sm fe threshold"; + } + enum "thresh-bbe-sm-fe" { + value 1048587; + description + "PM Otn bbe sm fe threshold"; + } + enum "thresh-fc-sm-fe" { + value 1048588; + description + "PM Otn fc sm fe threshold"; + } + enum "thresh-esr-sm-fe" { + value 1048589; + description + "PM Otn esr sm fe threshold"; + } + enum "thresh-sesr-sm-fe" { + value 1048590; + description + "PM Otn sesr sm fe threshold"; + } + enum "thresh-bber-sm-fe" { + value 1048591; + description + "PM Otn bber sm fe threshold"; + } + enum "thresh-es-pm-fe" { + value 2097160; + description + "PM Otn es pm fe threshold"; + } + enum "thresh-ses-pm-fe" { + value 2097161; + description + "PM Otn ses pm fe threshold"; + } + enum "thresh-uas-pm-fe" { + value 2097162; + description + "PM Otn uas pm fe threshold"; + } + enum "thresh-bbe-pm-fe" { + value 2097163; + description + "PM Otn bbe pm fe threshold"; + } + enum "thresh-fc-pm-fe" { + value 2097164; + description + "PM Otn fc pm fe threshold"; + } + enum "thresh-esr-pm-fe" { + value 2097165; + description + "PM Otn esr pm fe threshold"; + } + enum "thresh-sesr-pm-fe" { + value 2097166; + description + "PM Otn sesr pm fe threshold"; + } + enum "thresh-bber-pm-fe" { + value 2097167; + description + "PM Otn bber pm fe threshold"; + } + } + description + "Otn threshold"; + } + + typedef Optics-threshold { + type enumeration { + enum "thresh-opt-min" { + value 65554; + description + "PM Optics opt min threshold in dbm or uW"; + } + enum "thresh-opr-min" { + value 65555; + description + "PM Optics opr min threshold in dbm or uW"; + } + enum "thresh-lbc-min" { + value 65556; + description + "PM Optics lbc min threshold"; + } + enum "thresh-lbc-pc-min" { + value 65557; + description + "PM Optics lbcpc min threshold"; + } + enum "thresh-cd-min" { + value 65561; + description + "PM Optics cd min threshold"; + } + enum "thresh-dgd-min" { + value 65562; + description + "PM Optics dgd min threshold"; + } + enum "thresh-pmd-min" { + value 65563; + description + "PM Optics sopmd min threshold"; + } + enum "thresh-osnr-min" { + value 65564; + description + "PM Optics osnr min threshold"; + } + enum "thresh-pdl-min" { + value 65565; + description + "PM Optics pdl min threshold"; + } + enum "thresh-pcr-min" { + value 65566; + description + "PM Optics pcr min threshold"; + } + enum "thresh-pn-min" { + value 65567; + description + "PM Optics pn min threshold"; + } + enum "thresh-rx-sig-pow-min" { + value 65568; + description + "PM Optics rx sig pow min threshold"; + } + enum "thresh-low-sig-freq-off-min" { + value 65569; + description + "PM Optics low sig freq off min threshold"; + } + enum "thresh-ampli-gain-min" { + value 65570; + description + "PM Optics ampli gain min threshold"; + } + enum "thresh-ampli-gain-tilt-min" { + value 65571; + description + "PM Optics ampli gain tilt min threshold"; + } + enum "thresh-opt-max" { + value 65572; + description + "PM Optics opt max threshold in dbm or uW"; + } + enum "thresh-opr-max" { + value 65573; + description + "PM Optics opr max threshold in dbm or uW"; + } + enum "thresh-lbc-max" { + value 65574; + description + "PM Optics lbc max threshold"; + } + enum "thresh-lbc-pc-max" { + value 65575; + description + "PM Optics lbcpc max threshold"; + } + enum "thresh-cd-max" { + value 65579; + description + "PM Optics cd max threshold"; + } + enum "thresh-dgd-max" { + value 65580; + description + "PM Optics dgd max threshold"; + } + enum "thresh-pmd-max" { + value 65581; + description + "PM Optics sopmd max threshold"; + } + enum "thresh-osnr-max" { + value 65582; + description + "PM Optics osnr max threshold"; + } + enum "thresh-pdl-max" { + value 65583; + description + "PM Optics pdl max threshold"; + } + enum "thresh-pcr-max" { + value 65584; + description + "PM Optics pcr max threshold"; + } + enum "thresh-pn-max" { + value 65585; + description + "PM Optics pn max threshold"; + } + enum "thresh-rx-sig-pow-max" { + value 65586; + description + "PM Optics rx sig pow max threshold"; + } + enum "thresh-low-sig-freq-off-max" { + value 65587; + description + "PM Optics low sig freq off max threshold"; + } + enum "thresh-ampli-gain-max" { + value 65588; + description + "PM Optics ampli gain max threshold"; + } + enum "thresh-ampli-gain-tilt-max" { + value 65589; + description + "PM Optics ampli gain tilt max threshold"; + } + } + description + "Optics threshold"; + } + + typedef Ocn-threshold { + type enumeration { + enum "thresh-sefss" { + value 3145728; + description + "PM SEFSS threshold"; + } + enum "thresh-cvs" { + value 3145729; + description + "PM CVS threshold"; + } + enum "thresh-ess" { + value 3145730; + description + "PM ESS threshold"; + } + enum "thresh-sess" { + value 3145731; + description + "PM SESS threshold"; + } + enum "thresh-cvl-ne" { + value 3145734; + description + "PM CVL-NE threshold"; + } + enum "thresh-esl-ne" { + value 3145735; + description + "PM ESL-NE threshold"; + } + enum "thresh-sesl-ne" { + value 3145736; + description + "PM SESL-NE threshold"; + } + enum "thresh-uasl-ne" { + value 3145738; + description + "PM UASL-NE threshold"; + } + enum "thresh-fcl-ne" { + value 3145739; + description + "PM FCL-NE threshold"; + } + enum "thresh-fcl-fe" { + value 3145751; + description + "PM FCL_FE threshold"; + } + enum "thresh-cvl-fe" { + value 3145752; + description + "PM CVL-FE threshold"; + } + enum "thresh-esl-fe" { + value 3145753; + description + "PM ESL_FE threshold"; + } + enum "thresh-sesl-fe" { + value 3145754; + description + "PM SESL_FE threshold"; + } + enum "thresh-uasl-fe" { + value 3145756; + description + "PM UASL_FEthreshold"; + } + } + description + "Ocn threshold"; + } + + typedef Optics-report { + type enumeration { + enum "report-opt-min" { + value 65554; + description + "PM Optics opt min report"; + } + enum "report-opr-min" { + value 65555; + description + "PM Optics opr min report"; + } + enum "report-lbc-min" { + value 65556; + description + "PM Optics lbc min report"; + } + enum "report-lbc-pc-min" { + value 65557; + description + "PM Optics lbcpc min report"; + } + enum "report-cd-min" { + value 65561; + description + "PM Optics cd min report"; + } + enum "report-dgd-min" { + value 65562; + description + "PM Optics dgd min report"; + } + enum "report-pmd-min" { + value 65563; + description + "PM Optics sopmd min report"; + } + enum "report-osnr-min" { + value 65564; + description + "PM Optics osnr min report"; + } + enum "report-pdl-min" { + value 65565; + description + "PM Optics pdl min report"; + } + enum "report-pcr-min" { + value 65566; + description + "PM Optics pcr min report"; + } + enum "report-pn-min" { + value 65567; + description + "PM Optics pn min report"; + } + enum "report-rx-sig-pow-min" { + value 65568; + description + "PM Optics rx sig pow min report"; + } + enum "report-low-sig-freq-off-min" { + value 65569; + description + "PM Optics low sig freq off min report"; + } + enum "report-ampli-gain-min" { + value 65570; + description + "PM Optics ampli gain min report"; + } + enum "report-ampli-gain-tilt-min" { + value 65571; + description + "PM Optics ampli gain tilt min report"; + } + enum "report-opt-max" { + value 65572; + description + "PM Optics opt max report"; + } + enum "report-opr-max" { + value 65573; + description + "PM Optics opr max report"; + } + enum "report-lbc-max" { + value 65574; + description + "PM Optics lbc max report"; + } + enum "report-lbc-pc-max" { + value 65575; + description + "PM Optics lbcpc max report"; + } + enum "report-cd-max" { + value 65579; + description + "PM Optics cd max report"; + } + enum "report-dgd-max" { + value 65580; + description + "PM Optics dgd max report"; + } + enum "report-pmd-max" { + value 65581; + description + "PM Optics sopmd max report"; + } + enum "report-osnr-max" { + value 65582; + description + "PM Optics osnr max report"; + } + enum "report-pdl-max" { + value 65583; + description + "PM Optics pdl max report"; + } + enum "report-pcr-max" { + value 65584; + description + "PM Optics pcr max report"; + } + enum "report-pn-max" { + value 65585; + description + "PM Optics pn max report"; + } + enum "report-rx-sig-pow-max" { + value 65586; + description + "PM Optics rx sig pow max report"; + } + enum "report-low-sig-freq-off-max" { + value 65587; + description + "PM Optics low sig freq off max report"; + } + enum "report-ampli-gain-max" { + value 65588; + description + "PM Optics ampli gain max report"; + } + enum "report-ampli-gain-tilt-max" { + value 65589; + description + "PM Optics ampli gain tilt max report"; + } + } + description + "Optics report"; + } + + typedef Ether-report { + type enumeration { + enum "report-rx-pkt" { + value 524288; + description + "PM Ether rx pkt report"; + } + enum "report-rx-util" { + value 524289; + description + "PM Ether rx util report"; + } + enum "report-tx-util" { + value 524290; + description + "PM Ether tx util report"; + } + enum "report-stat-pkt" { + value 524291; + description + "PM ether stat pkt threshold"; + } + enum "report-octet-stat" { + value 524292; + description + "PM Ether octet stat report"; + } + enum "report-over-size-pkt" { + value 524293; + description + "PM Ether oversize pkt report"; + } + enum "report-fcs-err" { + value 524294; + description + "PM Ether fcs error report"; + } + enum "report-long-frame-s" { + value 524295; + description + "PM Ether long frames report"; + } + enum "report-jabber-stats" { + value 524296; + description + "PM Ether jabber stats report"; + } + enum "report-64-octet" { + value 524297; + description + "PM Ether 64 octet report"; + } + enum "report-65-127-octet" { + value 524298; + description + "PM Ether 65 to 127 octet report"; + } + enum "report-128-255-octet" { + value 524299; + description + "PM Ether 128 to 255 octet report"; + } + enum "report-256-511-octet" { + value 524300; + description + "PM Ether 256 to 511 octet report"; + } + enum "report-512-1023-octet" { + value 524301; + description + "PM Ether 512 to 1023 octet report"; + } + enum "report-1024-1518-octet" { + value 524302; + description + "PM Ether 1024 to 1518 report"; + } + enum "report-in-ucast" { + value 524303; + description + "PM Ether rx ucast report"; + } + enum "report-in-mcast" { + value 524304; + description + "PM Ether rx mcast report"; + } + enum "report-in-bcast" { + value 524305; + description + "PM Ether rx bcast report"; + } + enum "report-out-ucast" { + value 524306; + description + "PM Ether tx ucast report"; + } + enum "report-out-mcast" { + value 524307; + description + "PM Ether tx mcast report"; + } + enum "report-out-bcast" { + value 524308; + description + "PM Ether tx bcast report"; + } + enum "report-tx-pkt" { + value 524309; + description + "PM Ether tx pkt threshold"; + } + enum "report-ifin-error-s" { + value 524310; + description + "PM ether ifIn errors threshold"; + } + enum "report-ifin-octets" { + value 524311; + description + "PM ether ifInOctets threshold"; + } + enum "report-ether-stat-multicast-pkt" { + value 524312; + description + "PM ether stat multicast pkt threshold"; + } + enum "report-ether-stat-broadcast-pkt" { + value 524313; + description + "PM ether stat broadcast pkt threshold"; + } + enum "report-ether-stat-under-size-d-pkt" { + value 524314; + description + "PM ether stat undersized pkt threshold"; + } + enum "report-out-octet" { + value 524315; + description + "PM ether out octets threshold"; + } + enum "report-in-pause-frame" { + value 524316; + description + "PM ether in pause frame report"; + } + enum "report-in-go-od-bytes" { + value 524317; + description + "PM in good bytes report"; + } + enum "report-in-802-1q-frame-s" { + value 524318; + description + "PM in 802_1 Q report"; + } + enum "report-in-pkts-1519-max-octets" { + value 524319; + description + "PM in pkts 1519 max octets report"; + } + enum "report-in-go-od-pkts" { + value 524320; + description + "PM in good pkts report"; + } + enum "report-in-drop-overrun" { + value 524321; + description + "PM in drop overrun report"; + } + enum "report-in-drop-abort" { + value 524322; + description + "PM in drop abort report"; + } + enum "report-in-drop-invalid-vlan" { + value 524323; + description + "PM in drop invalid vlan report"; + } + enum "report-in-drop-invalid-dmac" { + value 524324; + description + "PM in drop invalid DMAC report"; + } + enum "report-in-drop-invalid-encap" { + value 524325; + description + "PM in drop invalid encap report"; + } + enum "report-in-drop-other" { + value 524326; + description + "PM in drop other report"; + } + enum "report-in-mib-giant" { + value 524327; + description + "PM in MIB giant report"; + } + enum "report-in-mib-jabber" { + value 524328; + description + "PM in MIB jabber report"; + } + enum "report-in-mib-crc" { + value 524329; + description + "PM in MIB CRC report"; + } + enum "report-in-error-collision-s" { + value 524330; + description + "PM in error collisions report"; + } + enum "report-in-error-symbol" { + value 524331; + description + "PM in error symbol report"; + } + enum "report-out-go-od-bytes" { + value 524332; + description + "PM out good bytes report"; + } + enum "report-out-802-1q-frame-s" { + value 524333; + description + "PM out 802_1 Q report"; + } + enum "report-out-pause-frame-s" { + value 524334; + description + "PM out pause frame report"; + } + enum "report-out-pkts-1519-max-octets" { + value 524335; + description + "PM out pkts 1519 max octets report"; + } + enum "report-out-go-od-pkts" { + value 524336; + description + "PM out good pkts report"; + } + enum "report-out-drop-under-run" { + value 524337; + description + "PM out drop underrun report"; + } + enum "report-out-drop-abort" { + value 524338; + description + "PM out drop abort report"; + } + enum "report-out-drop-other" { + value 524339; + description + "PM out drop other report"; + } + enum "report-out-error-other" { + value 524340; + description + "PM out error other report"; + } + enum "report-in-error-giant" { + value 524341; + description + "PM in error giant report"; + } + enum "report-in-error-runt" { + value 524342; + description + "PM in error runt report"; + } + enum "report-in-error-jabbers" { + value 524343; + description + "PM in error jabber report"; + } + enum "report-in-error-fragments" { + value 524344; + description + "PM in error fragments report"; + } + enum "report-in-error-other" { + value 524345; + description + "PM in error other report"; + } + enum "report-in-pkt-64-octet" { + value 524346; + description + "PM in pkt 64 octet report"; + } + enum "report-in-pkts-65-127octets" { + value 524347; + description + "PM in pkts 65_127 octets report"; + } + enum "report-in-pkts-128-255-octets" { + value 524348; + description + "PM in pkts 128_255 octets report"; + } + enum "report-in-pkts-256-511-octets" { + value 524349; + description + "PM in pkts 256_511 octets report"; + } + enum "report-in-pkts-512-1023-octets" { + value 524350; + description + "PM in pkts 512_1023 octets report"; + } + enum "report-in-pkts-1024-1518-octets" { + value 524351; + description + "PM in pkts 1024_1058 octets report"; + } + enum "report-out-pkt-64-octet" { + value 524352; + description + "PM out pkt 64 octet report"; + } + enum "report-out-pkts-65-127octets" { + value 524353; + description + "PM out pkts 65_127 octets report"; + } + enum "report-out-pkts-128-255-octets" { + value 524354; + description + "PM out pkts 128_255 octets report"; + } + enum "report-out-pkts-256-511-octets" { + value 524355; + description + "PM out pkts 256_511 octets report"; + } + enum "report-out-pkts-512-1023-octets" { + value 524356; + description + "PM out pkts 512_1023 octets report"; + } + enum "report-out-pkts-1024-1518-octets" { + value 524357; + description + "PM out pkts 1024_1058 octets report"; + } + enum "report-tx-under-size-d-pkt" { + value 524358; + description + "PM tx undersized pkt report"; + } + enum "report-tx-over-size-d-pkt" { + value 524359; + description + "PM tx oversized pkt report"; + } + enum "report-tx-fragments" { + value 524360; + description + "PM tx fragments report"; + } + enum "report-tx-jabber" { + value 524361; + description + "PM tx jabber report"; + } + enum "report-tx-bad-fcs" { + value 524362; + description + "PM tx bad fcs report"; + } + } + description + "Ether report"; + } + + typedef Otn-tcm-report { + type enumeration { + enum "report-es-tcm-fe" { + value 16777224; + description + "PM Otn es TCM fe report"; + } + enum "report-ses-tcm-fe" { + value 16777225; + description + "PM Otn ses TCM fe report"; + } + enum "report-uas-tcm-fe" { + value 16777226; + description + "PM Otn uas TCM fe report"; + } + enum "report-bbe-tcm-fe" { + value 16777227; + description + "PM Otn bbe TCM fe report"; + } + enum "report-fc-tcm-fe" { + value 16777228; + description + "PM Otn fc TCM fe report"; + } + enum "report-esr-tcm-fe" { + value 16777229; + description + "PM Otn esr TCM fe report"; + } + enum "report-sesr-tcm-fe" { + value 16777230; + description + "PM Otn sesr TCM fe report"; + } + enum "report-bber-tcm-fe" { + value 16777231; + description + "PM Otn bber TCM fe report"; + } + enum "report-es-tcm-ne" { + value 33554432; + description + "PM Otn es TCM ne report"; + } + enum "report-ses-tcm-ne" { + value 33554433; + description + "PM Otn ses TCM ne report"; + } + enum "report-uas-tcm-ne" { + value 33554434; + description + "PM Otn uas TCM ne report"; + } + enum "report-bbe-tcm-ne" { + value 33554435; + description + "PM Otn bbe TCM ne report"; + } + enum "report-fc-tcm-ne" { + value 33554436; + description + "PM Otn fc TCM ne report"; + } + enum "report-esr-tcm-ne" { + value 33554437; + description + "PM Otn esr TCM ne report"; + } + enum "report-sesr-tcm-ne" { + value 33554438; + description + "PM Otn sesr TCM ne report"; + } + enum "report-bber-tcm-ne" { + value 33554439; + description + "PM Otn bber TCM ne report"; + } + } + description + "Otn tcm report"; + } + + typedef Fec-threshold { + type enumeration { + enum "thresh-ec-bits" { + value 131072; + description + "PM Fec ec bits threshold"; + } + enum "thresh-uc-words" { + value 131076; + description + "PM Fec uc words threshold"; + } + enum "thresh-pre-fec-ber-max" { + value 131081; + description + "PM Fec pre-fe-ber max threshold"; + } + enum "thresh-post-fec-ber-max" { + value 131082; + description + "PM Fec post-fec-ber max threshold"; + } + enum "thresh-q-max" { + value 131083; + description + "PM Fec Q max threshold"; + } + enum "thresh-q-margin-max" { + value 131084; + description + "PM Fec uc words max threshold"; + } + enum "thresh-pre-fec-ber-min" { + value 131085; + description + "PM Fec pre-fe-ber min threshold"; + } + enum "thresh-post-fec-ber-min" { + value 131086; + description + "PM Fec post-fec-ber min threshold"; + } + enum "thresh-q-min" { + value 131087; + description + "PM Fec Q min threshold"; + } + enum "thresh-q-margin-min" { + value 131088; + description + "PM Fec uc words min threshold"; + } + } + description + "Fec threshold"; + } + + typedef Secyif-threshold { + type enumeration { + enum "thresh-if-inpkts-untagged" { + value 150994944; + description + "PM SECYIF if InPktsUntagged thresh"; + } + enum "thresh-if-inpkts-not-ag" { + value 150994945; + description + "PM SECYIF if InPktsNoTag thresh"; + } + enum "thresh-if-inpktsbadtag" { + value 150994946; + description + "PM SECYIF if InPktsBadTag thresh"; + } + enum "thresh-if-inpktsunkownsci" { + value 150994947; + description + "PM SECYIF if InPktsUnknownSCI thresh"; + } + enum "thresh-if-inpktsnosci" { + value 150994948; + description + "PM SECYIF if InPktsNoSCI thresh"; + } + enum "thresh-if-inpkts-overrun" { + value 150994949; + description + "PM SECYIF if InPktsOverrun thresh"; + } + enum "thresh-if-inoctets-validate-d" { + value 150994950; + description + "PM SECYIF if InOctetsValidated thresh"; + } + enum "thresh-if-inoctetsdecrypted" { + value 150994951; + description + "PM SECYIF if InOctetsDecrypted thresh"; + } + enum "thresh-if-outpkts-untagged" { + value 150994952; + description + "PM SECYIF if OutPktsUntagged thresh"; + } + enum "thresh-if-thresh-outpkts-too-long" { + value 150994953; + description + "PM SECYIF if OutPktsTooLong thresh"; + } + enum "thresh-if-outoctetsprotected" { + value 150994954; + description + "PM SECYIF if OutOctetsProtected thresh"; + } + enum "thresh-if-outoctetsencrypted" { + value 150994955; + description + "PM SECYIF if OutOctetsEncrypted thresh"; + } + } + description + "Secyif threshold"; + } + + typedef Sts-report { + type enumeration { + enum "report-cv" { + value 4194304; + description + "PM CV threshold"; + } + enum "report-es" { + value 4194305; + description + "PM ES threshold"; + } + enum "report-ses" { + value 4194306; + description + "PM SES threshold"; + } + enum "report-uas" { + value 4194307; + description + "PM UAS threshold"; + } + } + description + "Sts report"; + } + + typedef Stm-threshold { + type enumeration { + enum "thresh-ebs" { + value 16777217; + description + "PM EBS threshold"; + } + enum "thresh-ess" { + value 16777218; + description + "PM ESS threshold"; + } + enum "thresh-esrs" { + value 16777219; + description + "PM ESRS threshold"; + } + enum "thresh-sess" { + value 16777220; + description + "PM SES threshold"; + } + enum "thresh-sesrs" { + value 16777221; + description + "PM SESR threshold"; + } + enum "thresh-bbes" { + value 16777222; + description + "PM BBES threshold"; + } + enum "thresh-bbesr" { + value 16777223; + description + "PM BBESR threshold"; + } + enum "thresh-uass" { + value 16777224; + description + "PM UASS threshold"; + } + enum "thresh-ebl-ne" { + value 16777225; + description + "PM EBLNE threshold"; + } + enum "thresh-esl-ne" { + value 16777226; + description + "PM ESLNE threshold"; + } + enum "thresh-eslr-ne" { + value 16777227; + description + "PM ESLRNE threshold"; + } + enum "thresh-sesl-ne" { + value 16777228; + description + "PM SESL threshold"; + } + enum "thresh-sesrl-ne" { + value 16777229; + description + "PM SESRL threshold"; + } + enum "thresh-bbel-ne" { + value 16777230; + description + "PM BBERLNE threshold"; + } + enum "thresh-bberl-ne" { + value 16777231; + description + "PM BBERLNE threshold"; + } + enum "thresh-uasl-ne" { + value 16777232; + description + "PM UASNE threshold"; + } + enum "thresh-ebl-fe" { + value 16777245; + description + "PM EBFE threshold"; + } + enum "thresh-esl-fe" { + value 16777246; + description + "PM ESFE threshold"; + } + enum "thresh-esrl-fe" { + value 16777247; + description + "PM EBFE threshold"; + } + enum "thresh-sesl-fe" { + value 16777248; + description + "PM SESFE threshold"; + } + enum "thresh-sesrl-fe" { + value 16777249; + description + "PM SESRLFE threshold"; + } + enum "thresh-bbel-fe" { + value 16777250; + description + "PM BBEL threshold"; + } + enum "thresh-bberl-fe" { + value 16777251; + description + "PM BBELFE threshold"; + } + enum "thresh-uasl-fe" { + value 16777252; + description + "PM UASLFE threshold"; + } + } + description + "Stm threshold"; + } + + typedef Otn-tcm-threshold { + type enumeration { + enum "thresh-es-tcm-fe" { + value 16777224; + description + "PM Otn es TCM fe threshold"; + } + enum "thresh-ses-tcm-fe" { + value 16777225; + description + "PM Otn ses TCM fe threshold"; + } + enum "thresh-uas-tcm-fe" { + value 16777226; + description + "PM Otn uas TCM fe threshold"; + } + enum "thresh-bbe-tcm-fe" { + value 16777227; + description + "PM Otn bbe TCM fe threshold"; + } + enum "thresh-fc-tcm-fe" { + value 16777228; + description + "PM Otn fc TCM fe threshold"; + } + enum "thresh-esr-tcm-fe" { + value 16777229; + description + "PM Otn esr TCM fe threshold"; + } + enum "thresh-sesr-tcm-fe" { + value 16777230; + description + "PM Otn sesr TCM fe threshold"; + } + enum "thresh-bber-tcm-fe" { + value 16777231; + description + "PM Otn bber TCM fe threshold"; + } + enum "thresh-es-tcm-ne" { + value 33554432; + description + "PM Otn es TCM ne threshold"; + } + enum "thresh-ses-tcm-ne" { + value 33554433; + description + "PM Otn ses TCM ne threshold"; + } + enum "thresh-uas-tcm-ne" { + value 33554434; + description + "PM Otn uas TCM ne threshold"; + } + enum "thresh-bbe-tcm-ne" { + value 33554435; + description + "PM Otn bbe TCM ne threshold"; + } + enum "thresh-fc-tcm-ne" { + value 33554436; + description + "PM Otn fc TCM ne threshold"; + } + enum "thresh-esr-tcm-ne" { + value 33554437; + description + "PM Otn esr TCM ne threshold"; + } + enum "thresh-sesr-tcm-ne" { + value 33554438; + description + "PM Otn sesr TCM ne threshold"; + } + enum "thresh-bber-tcm-ne" { + value 33554439; + description + "PM Otn bber TCM ne threshold"; + } + } + description + "Otn tcm threshold"; + } + + typedef Report { + type enumeration { + enum "false" { + value 0; + description + "Performance Monitoring Disabled"; + } + enum "true" { + value 1; + description + "Performance Monitoring Enabled"; + } + } + description + "Report"; + } + + typedef Otn-report { + type enumeration { + enum "report-es-sm-ne" { + value 262144; + description + "PM Otn es sm ne report"; + } + enum "report-ses-sm-ne" { + value 262145; + description + "PM Otn ses sm ne report"; + } + enum "report-uas-sm-ne" { + value 262146; + description + "PM Otn uas sm ne report"; + } + enum "report-bbe-sm-ne" { + value 262147; + description + "PM Otn bbe sm ne report"; + } + enum "report-fc-sm-ne" { + value 262148; + description + "PM Otn fc sm ne report"; + } + enum "report-esr-sm-ne" { + value 262149; + description + "PM Otn esr sm ne report"; + } + enum "report-sesr-sm-ne" { + value 262150; + description + "PM Otn sesr sm ne report"; + } + enum "report-bber-sm-ne" { + value 262151; + description + "PM Otn bber sm ne report"; + } + enum "report-es-pm-ne" { + value 524288; + description + "PM Otn es pm ne report"; + } + enum "report-ses-pm-ne" { + value 524289; + description + "PM Otn ses pm ne report"; + } + enum "report-uas-pm-ne" { + value 524290; + description + "PM Otn uas pm ne report"; + } + enum "report-bbe-pm-ne" { + value 524291; + description + "PM Otn bbe pm ne report"; + } + enum "report-fc-pm-ne" { + value 524292; + description + "PM Otn fc pm ne report"; + } + enum "report-esr-pm-ne" { + value 524293; + description + "PM Otn esr pm ne report"; + } + enum "report-sesr-pm-ne" { + value 524294; + description + "PM Otn sesr pm ne report"; + } + enum "report-bber-pm-ne" { + value 524295; + description + "PM Otn bber pm ne report"; + } + enum "report-es-sm-fe" { + value 1048584; + description + "PM Otn es sm fe report"; + } + enum "report-ses-sm-fe" { + value 1048585; + description + "PM Otn ses sm fe report"; + } + enum "report-uas-sm-fe" { + value 1048586; + description + "PM Otn uas sm fe report"; + } + enum "report-bbe-sm-fe" { + value 1048587; + description + "PM Otn bbe sm fe report"; + } + enum "report-fc-sm-fe" { + value 1048588; + description + "PM Otn fc sm fe report"; + } + enum "report-esr-sm-fe" { + value 1048589; + description + "PM Otn esr sm fe report"; + } + enum "report-sesr-sm-fe" { + value 1048590; + description + "PM Otn sesr sm fe report"; + } + enum "report-bber-sm-fe" { + value 1048591; + description + "PM Otn bber sm fe report"; + } + enum "report-es-pm-fe" { + value 2097160; + description + "PM Otn es pm fe report"; + } + enum "report-ses-pm-fe" { + value 2097161; + description + "PM Otn ses pm fe report"; + } + enum "report-uas-pm-fe" { + value 2097162; + description + "PM Otn uas pm fe report"; + } + enum "report-bbe-pm-fe" { + value 2097163; + description + "PM Otn bbe pm fe report"; + } + enum "report-fc-pm-fe" { + value 2097164; + description + "PM Otn fc pm fe report"; + } + enum "report-esr-pm-fe" { + value 2097165; + description + "PM Otn esr pm fe report"; + } + enum "report-sesr-pm-fe" { + value 2097166; + description + "PM Otn sesr pm fe report"; + } + enum "report-bber-pm-fe" { + value 2097167; + description + "PM Otn bber pm fe report"; + } + } + description + "Otn report"; + } + + typedef Secytx-threshold { + type enumeration { + enum "thresh-tx-outpktsprotected" { + value 134217728; + description + "PM SECYTX tx OutPktsProtected thresh"; + } + enum "thresh-tx-outpktsencrypted" { + value 134217729; + description + "PM SECYTX tx OutPktsEncrypted thresh"; + } + enum "thresh-tx-outoctetsprotected" { + value 134217730; + description + "PM SECYTX tx OutOctetsProtected thresh"; + } + enum "thresh-tx-outoctetsencrypted" { + value 134217731; + description + "PM SECYTX tx OutOctetsEncrypted thresh"; + } + enum "thresh-tx-outpkts-too-long" { + value 134217732; + description + "PM SECYTX tx OutPktsTooLong thresh"; + } + } + description + "Secytx threshold"; + } + + typedef Fec-report { + type enumeration { + enum "report-ec-bits" { + value 131072; + description + "PM Fec ec bits report"; + } + enum "report-uc-words" { + value 131076; + description + "PM Fec uc words report"; + } + enum "report-pre-fec-ber-max" { + value 131081; + description + "PM Fec pre fec ber max report"; + } + enum "report-post-fec-ber-max" { + value 131082; + description + "PM Fec post fec ber max report"; + } + enum "report-q-max" { + value 131083; + description + "PM Fec Q max report"; + } + enum "report-q-margin-max" { + value 131084; + description + "PM Fec Q_margin max report"; + } + enum "report-pre-fec-ber-min" { + value 131085; + description + "PM Fec pre fec ber min report"; + } + enum "report-post-fec-ber-min" { + value 131086; + description + "PM Fec post fec ber min report"; + } + enum "report-q-min" { + value 131087; + description + "PM Fec Q min report"; + } + enum "report-q-margin-min" { + value 131088; + description + "PM Fec Q_margin min report"; + } + } + description + "Fec report"; + } + + typedef Path-report { + type enumeration { + enum "report-cv" { + value 5242880; + description + "PM CV threshold"; + } + enum "report-es" { + value 5242881; + description + "PM ES threshold"; + } + enum "report-ses" { + value 5242882; + description + "PM SES threshold"; + } + enum "report-uas" { + value 5242883; + description + "PM UAS threshold"; + } + } + description + "Path report"; + } + + typedef Secyrx-report { + type enumeration { + enum "report-rx-inpktsun-check-ed" { + value 117440512; + description + "PM SECYRX rx InPktsUnchecked report"; + } + enum "report-rx-inpkts-delayed" { + value 117440513; + description + "PM SECYRX rx InPktsDelayed report"; + } + enum "report-rx-inpktslate" { + value 117440514; + description + "PM SECYRX rx InPktsLate report"; + } + enum "report-rx-inpktsok" { + value 117440515; + description + "PM SECYRX rx InPktsOK report"; + } + enum "report-rx-inpkts-invalid" { + value 117440516; + description + "PM SECYRX rx InPktsInvalid report"; + } + enum "report-rx-inpkts-not-valid" { + value 117440517; + description + "PM SECYRX rx InPktsNotValid report"; + } + enum "report-rx-inpkts-not-usingsa" { + value 117440518; + description + "PM SECYRX rx InPktsNotUsingSA sa report"; + } + enum "report-rx-inpktsunusedsa" { + value 117440519; + description + "PM SECYRX rx InPktsUnusedSA report"; + } + enum "report-rx-inpkts-untagged-hit" { + value 117440520; + description + "PM SECYRX rx InPktsUntaggedHit report"; + } + enum "report-rx-inoctets-validate-d" { + value 117440521; + description + "PM SECYRX rx InOctetsValidated report"; + } + enum "report-rx-inoctetsdecrypted" { + value 117440522; + description + "PM SECYRX rx InOctetsDecrypted report"; + } + } + description + "Secyrx report"; + } + + typedef Secyrx-threshold { + type enumeration { + enum "thresh-rx-inpktsun-check-ed" { + value 117440512; + description + "PM SECYRX rx InPktsUnchecked thresh"; + } + enum "thresh-rx-inpkts-delayed" { + value 117440513; + description + "PM SECYRX rx InPktsDelayed thresh"; + } + enum "thresh-rx-inpktslate" { + value 117440514; + description + "PM SECYRX rx InPktsLate thresh"; + } + enum "thresh-rx-inpktsok" { + value 117440515; + description + "PM SECYRX rx InPktsOK thresh"; + } + enum "thresh-rx-inpkts-invalid" { + value 117440516; + description + "PM SECYRX rx InPktsInvalid thresh"; + } + enum "thresh-rx-inpkts-not-valid" { + value 117440517; + description + "PM SECYRX rx InPktsNotValid thresh"; + } + enum "thresh-rx-inpkts-not-usingsa" { + value 117440518; + description + "PM SECYRX rx InPktsNotUsingSA thresh"; + } + enum "thresh-rx-inpktsunusedsa" { + value 117440519; + description + "PM SECYRX rx InPktsUnusedSA thresh"; + } + enum "thresh-rx-inpkts-untagged-hit" { + value 117440520; + description + "PM SECYRX rx InPktsUntaggedHit thresh"; + } + enum "thresh-rx-inoctets-validate-d" { + value 117440521; + description + "PM SECYRX rx InOctetsValidated thresh"; + } + enum "thresh-rx-inoctetsdecrypted" { + value 117440522; + description + "PM SECYRX rx InOctetsDecrypted thresh"; + } + } + description + "Secyrx threshold"; + } + + typedef Gfp-threshold { + type enumeration { + enum "thresh-rx-bit-err" { + value 67108864; + description + "PM GFP rx bit err threshold"; + } + enum "thresh-rx-inv-typ" { + value 67108865; + description + "PM GFP rx inv type threshold"; + } + enum "thresh-rx-crc" { + value 67108866; + description + "PM GFP rx crc threshold"; + } + enum "thresh-rx-lfd" { + value 67108867; + description + "PM GFP rx lfd threshold"; + } + enum "thresh-rx-csf" { + value 67108868; + description + "PM GFP rx csf threshold"; + } + } + description + "Gfp threshold"; + } + + typedef Stm-report { + type enumeration { + enum "report-ebs" { + value 16777217; + description + "PM EBS REPORT"; + } + enum "report-ess" { + value 16777218; + description + "PM ESS REPORT"; + } + enum "report-esrs" { + value 16777219; + description + "PM ESRS REPORT"; + } + enum "report-sess" { + value 16777220; + description + "PM SES REPORT"; + } + enum "report-sesrs" { + value 16777221; + description + "PM SESR REPORT"; + } + enum "report-bbes" { + value 16777222; + description + "PM BBES REPORT"; + } + enum "report-bbesr" { + value 16777223; + description + "PM BBESR REPORT"; + } + enum "report-uass" { + value 16777224; + description + "PM UASS REPORT"; + } + enum "report-ebl-ne" { + value 16777225; + description + "PM EBLNE REPORT"; + } + enum "report-esl-ne" { + value 16777226; + description + "PM ESLNE REPORT"; + } + enum "report-eslr-ne" { + value 16777227; + description + "PM ESLRNE REPORT"; + } + enum "report-sesl-ne" { + value 16777228; + description + "PM SESL REPORT"; + } + enum "report-sesrl-ne" { + value 16777229; + description + "PM SESRL REPORT"; + } + enum "report-bbel-ne" { + value 16777230; + description + "PM BBELNE REPORT"; + } + enum "report-bberl-ne" { + value 16777231; + description + "PM BBERLNE REPORT"; + } + enum "report-uasl-ne" { + value 16777232; + description + "PM UASNE REPORT"; + } + enum "report-ebl-fe" { + value 16777245; + description + "PM EBFE REPORT"; + } + enum "report-esl-fe" { + value 16777246; + description + "PM ESFE REPORT"; + } + enum "report-esrl-fe" { + value 16777247; + description + "PM EBFE REPORT"; + } + enum "report-sesl-fe" { + value 16777248; + description + "PM SESFE REPORT"; + } + enum "report-sesrl-fe" { + value 16777249; + description + "PM SESRLFE REPORT"; + } + enum "report-bbel-fe" { + value 16777250; + description + "PM BBELFE REPORT"; + } + enum "report-bberl-fe" { + value 16777251; + description + "PM ESFE REPORT"; + } + enum "report-uasl-fe" { + value 16777252; + description + "PM UASLFE REPORT"; + } + } + description + "Stm report"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container performance-management { + description + "Configure pm parameters"; + container stm-hour24 { + description + "set STM threshold"; + container stm-hour24-stm { + description + "Configure stm performance monitoring"; + container stm-hour24-stm-reports { + description + "set stm TCA reporting status"; + list stm-hour24-stm-report { + key "stm-report"; + description + "none"; + leaf stm-report { + type Stm-report; + description + "Stm Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Stm Report"; + } + } + } + container stm-hour24-stm-thresholds { + description + "Configure threshold on stm parameters"; + list stm-hour24-stm-threshold { + key "stm-threshold"; + description + "none"; + leaf stm-threshold { + type Stm-threshold; + description + "Stm Threshold Type"; + } + leaf stm-threshold-value { + type int32; + mandatory true; + description + "Stm Thresh Value"; + } + } + } + } + } + container minute15-gfp { + description + "set opr min threshold"; + container minute15-gfp { + description + "Configure gfp performance monitoring"; + container minute15-gfp-reports { + description + "set gfp TCA reporting status"; + list minute15-gfp-report { + key "gfp-report"; + description + "none"; + leaf gfp-report { + type Gfp-report; + description + "Gfp Report Type"; + } + } + } + container minute15-gfp-thresholds { + description + "Configure threshold on gfp parameters"; + list minute15-gfp-threshold { + key "gfp-threshold"; + description + "none"; + leaf gfp-threshold { + type Gfp-threshold; + description + "Gfp Threshold Type"; + } + leaf gfp-threshold-value { + type int32; + mandatory true; + description + "Gfp Threshold Value"; + } + } + } + } + } + container sonet-minute15 { + description + "set Sonet threshold"; + container sonet-minute15-path { + description + "Configure Path performance monitoring"; + container sonet-minute15-path-reports { + description + "set Path TCA reporting status"; + list sonet-minute15-path-report { + key "path-report"; + description + "none"; + leaf path-report { + type Path-report; + description + "Path Report Type"; + } + } + } + container sonet-minute15-path-thresholds { + description + "Configure threshold on Path parameters"; + list sonet-minute15-path-threshold { + key "path-threshold"; + description + "none"; + leaf path-threshold { + type Path-threshold; + description + "Path Threshold Type"; + } + leaf path-threshold-value { + type int32; + mandatory true; + description + "Path Threshold Value"; + } + } + } + } + container sonet-minute15-ocn { + description + "Configure ocn performance monitoring"; + container sonet-minute15-ocn-reports { + description + "set ocn TCA reporting status"; + list sonet-minute15-ocn-report { + key "ocn-report"; + description + "none"; + leaf ocn-report { + type Ocn-report; + description + "Ocn Report Type"; + } + } + } + container sonet-minute15-ocn-thresholds { + description + "Configure threshold on ocn parameters"; + list sonet-minute15-ocn-threshold { + key "ocn-threshold"; + description + "none"; + leaf ocn-threshold { + type Ocn-threshold; + description + "Ocn Threshold Type"; + } + leaf ocn-threshold-value { + type int32; + mandatory true; + description + "Ocn Threshold Value"; + } + } + } + } + } + container hour24-gfp { + description + "Configure pm parameters of gfp 24 hour interval"; + container hour24-gfp { + description + "Configure gfp performance monitoring"; + container hour24-gfp-reports { + description + "set gfp TCA reporting status"; + list hour24-gfp-report { + key "gfp-report"; + description + "none"; + leaf gfp-report { + type Gfp-report; + description + "Gfp Report Type"; + } + } + } + container hour24-gfp-thresholds { + description + "Configure threshold on gfp parameters"; + list hour24-gfp-threshold { + key "gfp-threshold"; + description + "none"; + leaf gfp-threshold { + type Gfp-threshold; + description + "Gfp Threshold Type"; + } + leaf gfp-threshold-value { + type int32; + mandatory true; + description + "Gfp Thresh Value"; + } + } + } + } + } + container ethernet-hour24 { + description + "Configure pm parameters of 24 hour interval"; + container hour24-ether { + description + "Configure ether performance monitoring"; + container hour24-ether-thresholds { + description + "Configure threshold on ether parameters"; + list hour24-ether-threshold { + key "ether-threshold"; + description + "none"; + leaf ether-threshold { + type Ether-threshold; + description + "Ether Threshold Type"; + } + leaf ether-threshold-value { + type int32; + mandatory true; + description + "Ether Thresh Value"; + } + } + } + container hour24-ether-reports { + description + "set ether TCA reporting status"; + list hour24-ether-report { + key "ether-report"; + description + "none"; + leaf ether-report { + type Ether-report; + description + "Ether Report Type"; + } + } + } + } + } + container minute15otn-tcms { + description + "set opr min threshold"; + list minute15otn-tcm { + key "tcm-number"; + description + "configure otn g709 tcm's performance + monitoring"; + container min15-otn-tcm-threshes { + description + "Configure threshold on otn parameters"; + list min15-otn-tcm-thresh { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-tcm-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + container minute15otn-tcm-reports { + description + "set otn TCA reporting status"; + list minute15otn-tcm-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-tcm-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + leaf tcm-number { + type int32; + description + "TCM number"; + } + } + } + container oc-hour24 { + description + "set Oc threshold"; + container oc-hour24-ocn { + description + "Configure ocn performance monitoring"; + container oc-hour24-ocn-reports { + description + "set ocn TCA reporting status"; + list oc-hour24-ocn-report { + key "ocn-report"; + description + "none"; + leaf ocn-report { + type Ocn-report; + description + "Ocn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Ocn Report"; + } + } + } + container oc-hour24-ocn-thresholds { + description + "Configure threshold on ocn parameters"; + list oc-hour24-ocn-threshold { + key "ocn-threshold"; + description + "none"; + leaf ocn-threshold { + type Ocn-threshold; + description + "Ocn Threshold Type"; + } + leaf ocn-threshold-value { + type int32; + mandatory true; + description + "Ocn Thresh Value"; + } + } + } + } + } + container ethernet-minute15 { + description + "set opr min threshold"; + container minute15-ether { + description + "Configure ether performance monitoring"; + container minute15-ether-thresholds { + description + "Configure threshold on ether parameters"; + list minute15-ether-threshold { + key "ether-threshold"; + description + "none"; + leaf ether-threshold { + type Ether-threshold; + description + "Ether Threshold Type"; + } + leaf ether-threshold-value { + type int32; + mandatory true; + description + "Ether Threshold Value"; + } + } + } + container minute15-ether-reports { + description + "set ether TCA reporting status"; + list minute15-ether-report { + key "ether-report"; + description + "none"; + leaf ether-report { + type Ether-report; + description + "Ether Report Type"; + } + } + } + } + } + container ho-vc-hour24 { + description + "set HO_VC threshold"; + container ho-vc-hour24ho-vc { + description + "Configure ho_vc performance monitoring"; + container ho-vc-hour24ho-vc-reports { + description + "set ho_vc TCA reporting status"; + list ho-vc-hour24ho-vc-report { + key "ho-vc-report"; + description + "none"; + leaf ho-vc-report { + type Ho-vc-report; + description + "ho_vc Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "ho_vc Report"; + } + } + } + container ho-vc-hour24ho-vc-thresholds { + description + "Configure threshold on ho_vc parameters"; + list ho-vc-hour24ho-vc-threshold { + key "ho-vc-threshold"; + description + "none"; + leaf ho-vc-threshold { + type Ho-vc-threshold; + description + "ho_vc Threshold Type"; + } + leaf ho-vc-threshold-value { + type int32; + mandatory true; + description + "ho_vc Thresh Value"; + } + } + } + } + } + container second30 { + description + "Configure optics performance monitoring for 30 + sec"; + container second30fec { + description + "Configure fec g709 performance monitoring"; + container second30fec-thresholds { + description + "Configure fec threshold"; + list second30fec-threshold { + key "fec-threshold"; + description + "none"; + leaf fec-threshold { + type Fec-threshold; + description + "Fec Threshold Type"; + } + leaf fec-threshold-value { + type string { + length "1..20"; + } + mandatory true; + description + "Fec Threshold Value"; + } + } + } + container second30fec-reports { + description + "set fec TCA reporting status"; + list second30fec-report { + key "fec-report"; + description + "none"; + leaf fec-report { + type Fec-report; + description + "Fec Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Fec Report"; + } + } + } + } + container second30-optics { + description + "Configure optics performance monitoring"; + container second30-optics-reports { + description + "set optics TCA reporting status"; + list second30-optics-report { + key "optics-report"; + description + "none"; + leaf optics-report { + type Optics-report; + description + "Optics Report Type"; + } + } + } + container second30-optics-thresholds { + description + "Configure threshold on optics parameters"; + list second30-optics-threshold { + key "optics-threshold"; + description + "none"; + leaf optics-threshold { + type Optics-threshold; + description + "Optics Threshold Type"; + } + leaf optics-threshold-value { + type int32; + description + "Optics Thresh Value"; + } + leaf dbm { + type int32; + default "0"; + description + "Used only for Opt and Opr,To Enter + Threshold in dbm use 1"; + } + } + } + } + container second30secyif { + description + "Configure secy-if performance monitoring"; + container second30secyif-thresholds { + description + "Configure threshold on secyif parameters"; + list second30secyif-threshold { + key "secyif-threshold"; + description + "none"; + leaf secyif-threshold { + type Secyif-threshold; + description + "Secyif Threshold Type"; + } + leaf secyif-threshold-value { + type int32; + mandatory true; + description + "Secyif Threshold Value"; + } + } + } + container second30secyif-reports { + description + "set secyif TCA reporting status"; + list second30secyif-report { + key "secyif-report"; + description + "none"; + leaf secyif-report { + type Secyif-report; + description + "Secyif Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secyif Report"; + } + } + } + } + container second30secyrx { + description + "Configure secy-rx performance monitoring"; + container second30secyrx-thresholds { + description + "Configure threshold on secyrx parameters"; + list second30secyrx-threshold { + key "secyrx-threshold"; + description + "none"; + leaf secyrx-threshold { + type Secyrx-threshold; + description + "Secyrx Threshold Type"; + } + leaf secyrx-threshold-value { + type int32; + mandatory true; + description + "Secyrx Threshold Value"; + } + } + } + container second30secyrx-reports { + description + "set secyrx TCA reporting status"; + list second30secyrx-report { + key "secyrx-report"; + description + "none"; + leaf secyrx-report { + type Secyrx-report; + description + "Secyrx Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secyrx Report"; + } + } + } + } + container second30otn { + description + "configure otn g709 performance monitoring"; + container second30-otn-threshes { + description + "Configure threshold on otn parameters"; + list second30-otn-thresh { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + container second30otn-reports { + description + "set otn TCA reporting status"; + list second30otn-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + } + container second30secytx { + description + "Configure secy-tx performance monitoring"; + container second30secytx-thresholds { + description + "Configure threshold on secytx parameters"; + list second30secytx-threshold { + key "secytx-threshold"; + description + "none"; + leaf secytx-threshold { + type Secytx-threshold; + description + "Secytx Threshold Type"; + } + leaf secytx-threshold-value { + type int32; + mandatory true; + description + "Secytx Threshold Value"; + } + } + } + container second30secytx-reports { + description + "set secytx TCA reporting status"; + list second30secytx-report { + key "secytx-report"; + description + "none"; + leaf secytx-report { + type Secytx-report; + description + "Secytx Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secytx Report"; + } + } + } + } + } + container hour24otn-tcms { + description + "Configure pm parameters of tcm's 24 hour + interval"; + list hour24otn-tcm { + key "tcm-number"; + description + "configure otn g709 tcm's performance + monitoring"; + container hour24otn-tcm-thresholds { + description + "Configure threshold on otn parameters"; + list hour24otn-tcm-threshold { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-tcm-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + container hour24otn-tcm-reports { + description + "set otn TCA reporting status"; + list hour24otn-tcm-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-tcm-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + leaf tcm-number { + type int32; + description + "TCM number"; + } + } + } + container sts-minute15 { + description + "set STS threshold"; + container sts-minute15-path { + description + "Configure Path performance monitoring"; + container sts-minute15-path-reports { + description + "set Path TCA reporting status"; + list sts-minute15-path-report { + key "path-report"; + description + "none"; + leaf path-report { + type Sts-report; + description + "Path Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Path Report"; + } + } + } + container sts-minute15-path-thresholds { + description + "Configure threshold on Path parameters"; + list sts-minute15-path-threshold { + key "path-threshold"; + description + "none"; + leaf path-threshold { + type Sts-threshold; + description + "Path Threshold Type"; + } + leaf path-threshold-value { + type int32; + mandatory true; + description + "Path Threshold Value"; + } + } + } + } + } + container hour24 { + description + "Configure pm parameters of 24 hour interval"; + container hour24otn { + description + "configure otn g709 performance monitoring"; + container hour24otn-thresholds { + description + "Configure threshold on otn parameters"; + list hour24otn-threshold { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + container hour24otn-reports { + description + "set otn TCA reporting status"; + list hour24otn-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + } + container hour24-optics { + description + "Configure optics performance monitoring"; + container hour24-optics-thresholds { + description + "Configure threshold on optics parameters"; + list hour24-optics-threshold { + key "optics-threshold"; + description + "none"; + leaf optics-threshold { + type Optics-threshold; + description + "Optics Threshold Type"; + } + leaf optics-threshold-value { + type int32; + description + "Optics Thresh Value"; + } + leaf dbm { + type int32; + default "0"; + description + "Used only for Opt and Opr,To Enter + Threshold in dbm use 1"; + } + } + } + container hour24-optics-reports { + description + "set optics TCA reporting status"; + list hour24-optics-report { + key "optics-report"; + description + "none"; + leaf optics-report { + type Optics-report; + description + "Optics Report Type"; + } + } + } + } + container hour24fec { + description + "Configure fec g709 performance monitoring"; + container hour24fec-thresholds { + description + "Configure fec threshold"; + list hour24fec-threshold { + key "fec-threshold"; + description + "none"; + leaf fec-threshold { + type Fec-threshold; + description + "Fec Threshold Type"; + } + leaf fec-threshold-value { + type string { + length "1..20"; + } + mandatory true; + description + "Fec threshold value"; + } + } + } + container hour24fec-reports { + description + "set fec TCA reporting status"; + list hour24fec-report { + key "fec-report"; + description + "none"; + leaf fec-report { + type Fec-report; + description + "Fec Report type"; + } + leaf enable { + type Report; + mandatory true; + description + "Fec Report"; + } + } + } + } + container hour24secyif { + description + "Configure secy-if performance monitoring"; + container hour24secyif-reports { + description + "set secyif TCA reporting status"; + list hour24secyif-report { + key "secyif-report"; + description + "none"; + leaf secyif-report { + type Secyif-report; + description + "Secyif Report type"; + } + leaf enable { + type Report; + mandatory true; + description + "Secyif Report"; + } + } + } + container hour24secyif-thresholds { + description + "Configure secyif threshold"; + list hour24secyif-threshold { + key "secyif-threshold"; + description + "none"; + leaf secyif-threshold { + type Secyif-threshold; + description + "Secyif Threshold Type"; + } + leaf secyif-threshold-value { + type int32; + mandatory true; + description + "Secyif threshold value"; + } + } + } + } + container hour24secyrx { + description + "Configure secy-rx performance monitoring"; + container hour24secyrx-reports { + description + "set secyrx TCA reporting status"; + list hour24secyrx-report { + key "secyrx-report"; + description + "none"; + leaf secyrx-report { + type Secyrx-report; + description + "Secyrx Report type"; + } + leaf enable { + type Report; + mandatory true; + description + "Secyrx Report"; + } + } + } + container hour24secyrx-thresholds { + description + "Configure secyrx threshold"; + list hour24secyrx-threshold { + key "secyrx-threshold"; + description + "none"; + leaf secyrx-threshold { + type Secyrx-threshold; + description + "Secyrx Threshold Type"; + } + leaf secyrx-threshold-value { + type int32; + mandatory true; + description + "Secyrx threshold value"; + } + } + } + } + container hour24secytx { + description + "Configure secy-tx performance monitoring"; + container hour24secytx-thresholds { + description + "Configure secytx threshold"; + list hour24secytx-threshold { + key "secytx-threshold"; + description + "none"; + leaf secytx-threshold { + type Secytx-threshold; + description + "Secytx Threshold Type"; + } + leaf secytx-threshold-value { + type int32; + mandatory true; + description + "Secytx threshold value"; + } + } + } + container hour24secytx-reports { + description + "set secytx TCA reporting status"; + list hour24secytx-report { + key "secytx-report"; + description + "none"; + leaf secytx-report { + type Secytx-report; + description + "Secytx Report type"; + } + leaf enable { + type Report; + mandatory true; + description + "Secytx Report"; + } + } + } + } + } + container ho-vc-minute15 { + description + "set HO_VC threshold"; + container ho-vc-minute15ho-vc { + description + "Configure ho_vc performance monitoring"; + container ho-vc-minute15ho-vc-reports { + description + "set ho_vc TCA reporting status"; + list ho-vc-minute15ho-vc-report { + key "ho-vc-report"; + description + "none"; + leaf ho-vc-report { + type Ho-vc-report; + description + "ho_vc Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "ho_vc Report"; + } + } + } + container ho-vc-minute15ho-vc-thresholds { + description + "Configure threshold on ho_vc parameters"; + list ho-vc-minute15ho-vc-threshold { + key "ho-vc-threshold"; + description + "none"; + leaf ho-vc-threshold { + type Ho-vc-threshold; + description + "ho_vc Threshold Type"; + } + leaf ho-vc-threshold-value { + type int32; + mandatory true; + description + "ho_vc Threshold Value"; + } + } + } + } + } + container sts-hour24 { + description + "set STS threshold"; + container sts-hour24-path { + description + "Configure Path performance monitoring"; + container sts-hour24-path-thresholds { + description + "Configure threshold on Path parameters"; + list sts-hour24-path-threshold { + key "path-threshold"; + description + "none"; + leaf path-threshold { + type Sts-threshold; + description + "Path Threshold Type"; + } + leaf path-threshold-value { + type int32; + mandatory true; + description + "Path Thresh Value"; + } + } + } + container sts-hour24-path-reports { + description + "set Path TCA reporting status"; + list sts-hour24-path-report { + key "path-report"; + description + "none"; + leaf path-report { + type Sts-report; + description + "Path Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Path Report"; + } + } + } + } + } + container stm-minute15 { + description + "set STM threshold"; + container stm-minute15-stm { + description + "Configure stm performance monitoring"; + container stm-minute15-stm-reports { + description + "set stm TCA reporting status"; + list stm-minute15-stm-report { + key "stm-report"; + description + "none"; + leaf stm-report { + type Stm-report; + description + "Stm Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Stm Report"; + } + } + } + container stm-minute15-stm-thresholds { + description + "Configure threshold on stm parameters"; + list stm-minute15-stm-threshold { + key "stm-threshold"; + description + "none"; + leaf stm-threshold { + type Stm-threshold; + description + "Stm Threshold Type"; + } + leaf stm-threshold-value { + type int32; + mandatory true; + description + "Stm Threshold Value"; + } + } + } + } + } + container sonet-hour24 { + description + "set Sonet threshold"; + container sonet-hour24-path { + description + "Configure Path performance monitoring"; + container sonet-hour24-path-thresholds { + description + "Configure threshold on Path parameters"; + list sonet-hour24-path-threshold { + key "path-threshold"; + description + "none"; + leaf path-threshold { + type Path-threshold; + description + "Path Threshold Type"; + } + leaf path-threshold-value { + type int32; + mandatory true; + description + "Path Thresh Value"; + } + } + } + container sonet-hour24-path-reports { + description + "set Path TCA reporting status"; + list sonet-hour24-path-report { + key "path-report"; + description + "none"; + leaf path-report { + type Path-report; + description + "Path Report Type"; + } + } + } + } + container sonet-hour24-ocn { + description + "Configure ocn performance monitoring"; + container sonet-hour24-ocn-thresholds { + description + "Configure threshold on ocn parameters"; + list sonet-hour24-ocn-threshold { + key "ocn-threshold"; + description + "none"; + leaf ocn-threshold { + type Ocn-threshold; + description + "Ocn Threshold Type"; + } + leaf ocn-threshold-value { + type int32; + mandatory true; + description + "Ocn Thresh Value"; + } + } + } + container sonet-hour24-ocn-reports { + description + "set ocn TCA reporting status"; + list sonet-hour24-ocn-report { + key "ocn-report"; + description + "none"; + leaf ocn-report { + type Ocn-report; + description + "Ocn Report Type"; + } + } + } + } + } + container minute15-path { + description + "set opr min threshold"; + container minute15otn-path { + description + "configure otn g709 performance monitoring"; + container minute15otn-path-reports { + description + "set otn TCA reporting status"; + list minute15otn-path-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + container min15-otn-path-threshes { + description + "Configure threshold on otn parameters"; + list min15-otn-path-thresh { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + } + } + container oc-minute15 { + description + "set OC threshold"; + container oc-minute15-ocn { + description + "Configure ocn performance monitoring"; + container oc-minute15-ocn-reports { + description + "set ocn TCA reporting status"; + list oc-minute15-ocn-report { + key "ocn-report"; + description + "none"; + leaf ocn-report { + type Ocn-report; + description + "Ocn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Ocn Report"; + } + } + } + container oc-minute15-ocn-thresholds { + description + "Configure threshold on ocn parameters"; + list oc-minute15-ocn-threshold { + key "ocn-threshold"; + description + "none"; + leaf ocn-threshold { + type Ocn-threshold; + description + "Ocn Threshold Type"; + } + leaf ocn-threshold-value { + type int32; + mandatory true; + description + "Ocn Threshold Value"; + } + } + } + } + } + container ethernet-second30 { + description + "Configure ethernet performance monitoring for + 30 sec"; + container second30-ether { + description + "Configure ether performance monitoring"; + container second30-ether-thresholds { + description + "Configure threshold on ether parameters"; + list second30-ether-threshold { + key "ether-threshold"; + description + "none"; + leaf ether-threshold { + type Ether-threshold; + description + "Ether Threshold Type"; + } + leaf ether-threshold-value { + type int32; + mandatory true; + description + "Ether Threshold Value"; + } + } + } + container second30-ether-reports { + description + "set ether TCA reporting status"; + list second30-ether-report { + key "ether-report"; + description + "none"; + leaf ether-report { + type Ether-report; + description + "Ether Report Type"; + } + } + } + } + } + container hour24-path { + description + "Configure pm parameters of pathmonitor 24 hour + interval"; + container hour24otn-path { + description + "configure otn g709 performance monitoring"; + container hour24otn-path-reports { + description + "set otn TCA reporting status"; + list hour24otn-path-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + container hour24otn-path-thresholds { + description + "Configure threshold on otn parameters"; + list hour24otn-path-threshold { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + } + } + container minute15 { + description + "set opr min threshold"; + container minute15-optics { + description + "Configure optics performance monitoring"; + container minute15-optics-thresholds { + description + "Configure threshold on optics parameters"; + list minute15-optics-threshold { + key "optics-threshold"; + description + "none"; + leaf optics-threshold { + type Optics-threshold; + description + "Optics Threshold Type"; + } + leaf optics-threshold-value { + type int32; + description + "Optics Threshold Value"; + } + leaf dbm { + type int32; + default "0"; + description + "Used only for Opt and Opr,To Enter + Threshold in dbm use 1"; + } + } + } + container minute15-optics-reports { + description + "set optics TCA reporting status"; + list minute15-optics-report { + key "optics-report"; + description + "none"; + leaf optics-report { + type Optics-report; + description + "Optics Report Type"; + } + } + } + } + container minute15secyif { + description + "Configure secy-if performance monitoring"; + container minute15secyif-reports { + description + "set secyif TCA reporting status"; + list minute15secyif-report { + key "secyif-report"; + description + "none"; + leaf secyif-report { + type Secyif-report; + description + "Secyif Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secyif Report"; + } + } + } + container minute15secyif-thresholds { + description + "Configure threshold on secyif parameters"; + list minute15secyif-threshold { + key "secyif-threshold"; + description + "none"; + leaf secyif-threshold { + type Secyif-threshold; + description + "Secyif Threshold Type"; + } + leaf secyif-threshold-value { + type int32; + mandatory true; + description + "Secyif Threshold Value"; + } + } + } + } + container minute15secyrx { + description + "Configure secy-rx performance monitoring"; + container minute15secyrx-reports { + description + "set secyrx TCA reporting status"; + list minute15secyrx-report { + key "secyrx-report"; + description + "none"; + leaf secyrx-report { + type Secyrx-report; + description + "Secyrx Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secyrx Report"; + } + } + } + container minute15secyrx-thresholds { + description + "Configure threshold on secyrx parameters"; + list minute15secyrx-threshold { + key "secyrx-threshold"; + description + "none"; + leaf secyrx-threshold { + type Secyrx-threshold; + description + "Secyrx Threshold Type"; + } + leaf secyrx-threshold-value { + type int32; + mandatory true; + description + "Secyrx Threshold Value"; + } + } + } + } + container minute15fec { + description + "Configure fec g709 performance monitoring"; + container minute15fec-thresholds { + description + "Configure fec threshold"; + list minute15fec-threshold { + key "fec-threshold"; + description + "none"; + leaf fec-threshold { + type Fec-threshold; + description + "Fec Threshold Type"; + } + leaf fec-threshold-value { + type string { + length "1..20"; + } + mandatory true; + description + "Fec Threshold Value"; + } + } + } + container minute15fec-reports { + description + "set fec TCA reporting status"; + list minute15fec-report { + key "fec-report"; + description + "none"; + leaf fec-report { + type Fec-report; + description + "Fec Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Fec Report"; + } + } + } + } + container minute15secytx { + description + "Configure secy-tx performance monitoring"; + container minute15secytx-reports { + description + "set secytx TCA reporting status"; + list minute15secytx-report { + key "secytx-report"; + description + "none"; + leaf secytx-report { + type Secytx-report; + description + "Secytx Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Enabled Secytx Report"; + } + } + } + container minute15secytx-thresholds { + description + "Configure threshold on secytx parameters"; + list minute15secytx-threshold { + key "secytx-threshold"; + description + "none"; + leaf secytx-threshold { + type Secytx-threshold; + description + "Secytx Threshold Type"; + } + leaf secytx-threshold-value { + type int32; + mandatory true; + description + "Secytx Threshold Value"; + } + } + } + } + container minute15otn { + description + "configure otn g709 performance monitoring"; + container min15-otn-threshes { + description + "Configure threshold on otn parameters"; + list min15-otn-thresh { + key "otn-threshold"; + description + "none"; + leaf otn-threshold { + type Otn-threshold; + description + "Otn Threshold Type"; + } + leaf otn-threshold-value { + type int32; + mandatory true; + description + "Otn Threshold Value"; + } + } + } + container minute15otn-reports { + description + "set otn TCA reporting status"; + list minute15otn-report { + key "otn-report"; + description + "none"; + leaf otn-report { + type Otn-report; + description + "Otn Report Type"; + } + leaf enable { + type Report; + mandatory true; + description + "Otn Report"; + } + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper-sub1.yang new file mode 100644 index 0000000..6adf8e3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper-sub1.yang @@ -0,0 +1,2547 @@ +submodule Cisco-IOS-XR-pmengine-oper-sub1 { + belongs-to Cisco-IOS-XR-pmengine-oper { + prefix Cisco-IOS-XR-pmengine-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pmengine package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-30 { + description + "OTU PRBS Stats Added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pm-sonet-path-width-enum { + type enumeration { + enum "none" { + value 0; + description + "Sonet Path Width NONE "; + } + enum "sts1" { + value 1; + description + "Sonet Path Width STS1 "; + } + enum "sts3c-stm1" { + value 2; + description + "Sonet Path Width sts3cSTM1 "; + } + enum "sts12c-stm4" { + value 3; + description + "Sonet Path Width sts12cSTM4 "; + } + enum "sts24c" { + value 4; + description + "Sonet Path Width sts24 "; + } + enum "sts48c-stm16" { + value 5; + description + "Sonet Path Width sts48cSTM16 "; + } + enum "sts192c-stm64" { + value 6; + description + "Sonet Path Width sts192cSTM64 "; + } + enum "sts768c-stm256" { + value 7; + description + "Sonet Path Width sts768cSTM256 "; + } + } + description + "Sonet Path Width Enum"; + } + + typedef Pm-prbs-status-et { + type enumeration { + enum "not-applicable" { + value 0; + description + "not applicable"; + } + enum "locked" { + value 1; + description + "locked"; + } + enum "un-locked" { + value 2; + description + "unlocked"; + } + } + description + "PM PRBS Status Mode Enum"; + } + + typedef Pm-prbs-pattern-et { + type enumeration { + enum "prbs-none" { + value 0; + description + "pn none"; + } + enum "pn31" { + value 1; + description + "pn31"; + } + enum "pn23" { + value 2; + description + "pn23"; + } + enum "pn11" { + value 4; + description + "pn11"; + } + enum "inv-pn31" { + value 8; + description + "inv pn31"; + } + enum "inv-pn11" { + value 16; + description + "inv pn11"; + } + enum "pn15" { + value 32; + description + "pn15"; + } + } + description + "PM PRBS Pattern Mode Enum"; + } + + grouping PM-OPTICS-PARAMETER-STRING { + description + "one parameter in optics"; + leaf valid { + type boolean; + description + "valid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum { + type string; + description + "minimum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf average { + type string; + description + "average"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum { + type string; + description + "maximum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-threshold { + type string; + description + "minimun threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf configured-min-thresh { + type string; + description + "minimunthreshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-tca-report { + type boolean; + description + "enable/disable to report TCA on min"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-threshold { + type string; + description + "maximum threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf configured-max-thresh { + type string; + description + "maximumthreshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-tca-report { + type boolean; + description + "enable/disable to report TCA on max"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping PM-OPTICS-PARAMETER { + description + "one parameter in optics"; + leaf valid { + type boolean; + description + "valid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum { + type int32; + description + "minimum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf average { + type int32; + description + "average"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum { + type int32; + description + "maximum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-threshold { + type int32; + description + "minimun threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf configured-min-thresh { + type string; + description + "minimunthreshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-tca-report { + type boolean; + description + "enable/disable to report TCA on min"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-threshold { + type int32; + description + "maximum threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf configured-max-thresh { + type string; + description + "maximumthreshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-tca-report { + type boolean; + description + "enable/disable to report TCA on max"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping PM-OPTICS-PARAS { + description + "all paras in optics"; + container lbc { + description + "LBC"; + uses PM-OPTICS-PARAMETER; + } + container lbc-pc { + description + "LBC in percentage"; + uses PM-OPTICS-PARAMETER-STRING; + } + container opt { + description + "OPT"; + uses PM-OPTICS-PARAMETER-STRING; + } + container opr { + description + "OPR"; + uses PM-OPTICS-PARAMETER-STRING; + } + container cd { + description + "Chromatic Dispersion"; + uses PM-OPTICS-PARAMETER; + } + container dgd { + description + "Differential group Delay"; + uses PM-OPTICS-PARAMETER-STRING; + } + container pmd { + description + "Polarization Mode Dispersion"; + uses PM-OPTICS-PARAMETER-STRING; + } + container osnr { + description + "Optical Signal to Noise Ratio"; + uses PM-OPTICS-PARAMETER-STRING; + } + container center-wavelength { + description + "Center Wavelength/Frequency"; + uses PM-OPTICS-PARAMETER-STRING; + } + container pdl { + description + "Polarization Dependent Loss"; + uses PM-OPTICS-PARAMETER-STRING; + } + container pcr { + description + "Polarization Change Rate"; + uses PM-OPTICS-PARAMETER-STRING; + } + container pn { + description + "Phase Noise"; + uses PM-OPTICS-PARAMETER-STRING; + } + container rx-sig-pow { + description + "Rx signal power"; + uses PM-OPTICS-PARAMETER-STRING; + } + container low-sig-freq-off { + description + "low freq sig off"; + uses PM-OPTICS-PARAMETER; + } + container ampli-gain { + description + "Ampli Gain"; + uses PM-OPTICS-PARAMETER-STRING; + } + container ampli-gain-tilt { + description + "Ampli Gain Tilt"; + uses PM-OPTICS-PARAMETER-STRING; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string; + description + "timestamp"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf last-clear-time { + type string; + description + "last clear time"; + } + leaf last-clear15-min-time { + type string; + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string; + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string; + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + } + + grouping SONET-FAR-END-LINE-ENTRY { + description + "SONET FAR END LINE ENTRY"; + container far-end-line-e-ss { + description + "The number of Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container far-end-line-se-ss { + description + "The number of Severely Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container far-end-line-c-vs { + description + "The number of Coding Violations"; + uses PM-SONET-PARAMETER; + } + container far-end-line-ua-ss { + description + "The number of Unavailable Seconds"; + uses PM-SONET-PARAMETER; + } + container far-end-line-fc-ls { + description + "The number of Failure counts Seconds"; + uses PM-SONET-PARAMETER; + } + } + + grouping SONET-LINE-ENTRY { + description + "SONET LINE ENTRY"; + container line-e-ss { + description + "The number of Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container line-se-ss { + description + "The number of Severely Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container line-c-vs { + description + "The number of Coding Violations"; + uses PM-SONET-PARAMETER; + } + container line-ua-ss { + description + "The number of Unavailable Seconds"; + uses PM-SONET-PARAMETER; + } + container line-fc-ls { + description + "The number of Failure counts Seconds"; + uses PM-SONET-PARAMETER; + } + leaf line-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-SONET-PARAMETER { + description + "pm one parameter"; + leaf data { + type uint32; + description + "the number in the interval"; + } + leaf threshold { + type uint32; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping SONET-SECTION-ENTRY { + description + "SONET SECTION ENTRY"; + container section-e-ss { + description + "The number of Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container section-se-ss { + description + "The number of Severely Errored Seconds"; + uses PM-SONET-PARAMETER; + } + container section-sef-ss { + description + "The number of Severely Errored Framing Seconds"; + uses PM-SONET-PARAMETER; + } + container section-c-vs { + description + "The number of Coding Violations"; + uses PM-SONET-PARAMETER; + } + leaf section-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-SONET-PARAS { + description + "all paras in ocn"; + container section { + description + "SECTION"; + uses SONET-SECTION-ENTRY; + } + container line { + description + "LINE"; + uses SONET-LINE-ENTRY; + } + container fe-line { + description + "FarEnd LINE"; + uses SONET-FAR-END-LINE-ENTRY; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + } + + grouping SONET-FAR-END-PATH-ENTRY { + description + "SONET FAR END PATH ENTRY"; + leaf far-end-path-e-ss { + type uint32; + units "second"; + description + "The number of Errored Seconds"; + } + leaf far-end-path-se-ss { + type uint32; + units "second"; + description + "The number of Severely Errored Seconds"; + } + leaf far-end-path-c-vs { + type uint32; + description + "The number of Coding Violations"; + } + leaf far-end-path-ua-ss { + type uint32; + units "second"; + description + "The number of Unavailable Seconds"; + } + } + + grouping PM-SONET-PATH-PARAMETER { + description + "pm one parameter"; + leaf data { + type uint32; + description + "the number in the interval"; + } + leaf threshold { + type uint32; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping SONET-PATH-ENTRY { + description + "SONET PATH ENTRY"; + container path-e-ss { + description + "The number of Errored Seconds"; + uses PM-SONET-PATH-PARAMETER; + } + container path-se-ss { + description + "The number of Severely Errored Seconds"; + uses PM-SONET-PATH-PARAMETER; + } + container path-c-vs { + description + "The number of Coding Violations"; + uses PM-SONET-PATH-PARAMETER; + } + container path-ua-ss { + description + "The number of Unavailable Seconds"; + uses PM-SONET-PATH-PARAMETER; + } + leaf path-width { + type Pm-sonet-path-width-enum; + description + "Indicates the type of the SONET/SDH Path"; + } + leaf path-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-SONET-PATH-PARAS { + description + "all paras in sts"; + container path { + description + "PATH"; + uses SONET-PATH-ENTRY; + } + container fe-path { + description + "Far End PATH"; + uses SONET-FAR-END-PATH-ENTRY; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + } + + grouping STM-FAR-END-LINE-ENTRY { + description + "STM FAR END LINE ENTRY"; + container far-end-line-e-ss { + description + "The number of Errored Seconds"; + uses PM-STM-PARAMETER; + } + container far-end-line-es-rs { + description + "The number of Errored Seconds Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container far-end-line-ebb-es { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER; + } + container far-end-line-bbe-rs { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER-RATIO; + } + container far-end-line-se-ss { + description + "The number of Severely Errored Second"; + uses PM-STM-PARAMETER; + } + container far-end-line-ses-rs { + description + "The number of Severely Errored Second Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container far-end-line-ua-ss { + description + "The number of Unavailable Second"; + uses PM-STM-PARAMETER; + } + container far-end-line-e-bs { + description + "The number of Errored Block Second"; + uses PM-STM-PARAMETER; + } + } + + grouping STM-LINE-ENTRY { + description + "STM LINE ENTRY"; + container line-e-ss { + description + "The number of Errored Seconds"; + uses PM-STM-PARAMETER; + } + container line-es-rs { + description + "The number of Errored Seconds Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container line-bb-es { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER; + } + container line-bbe-rs { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER-RATIO; + } + container line-se-ss { + description + "The number of Severely Errored Second"; + uses PM-STM-PARAMETER; + } + container line-ses-rs { + description + "The number of Severely Errored Second Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container line-ua-ss { + description + "The number of Unavailable Second"; + uses PM-STM-PARAMETER; + } + container line-e-bs { + description + "The number of Errored Block Second"; + uses PM-STM-PARAMETER; + } + leaf line-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-STM-PARAMETER-RATIO { + description + "pm one parameter"; + leaf data { + type string { + length "0..8"; + } + description + "the number in the interval"; + } + leaf threshold { + type string { + length "0..8"; + } + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping PM-STM-PARAMETER { + description + "pm one parameter"; + leaf data { + type uint32; + description + "the number in the interval"; + } + leaf threshold { + type uint32; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping STM-SECTION-ENTRY { + description + "STM SECTION ENTRY"; + container section-e-ss { + description + "The number of Errored Seconds"; + uses PM-STM-PARAMETER; + } + container section-es-rs { + description + "The number of Errored Seconds Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container section-bb-es { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER; + } + container section-bbe-rs { + description + "The number of Background Block Errors"; + uses PM-STM-PARAMETER-RATIO; + } + container section-se-ss { + description + "The number of Severely Errored Second"; + uses PM-STM-PARAMETER; + } + container section-ses-rs { + description + "The number of Severely Errored Second Ratio"; + uses PM-STM-PARAMETER-RATIO; + } + container section-ua-ss { + description + "The number of Unavailable Second"; + uses PM-STM-PARAMETER; + } + container section-e-bs { + description + "The number of Errored Block Second"; + uses PM-STM-PARAMETER; + } + leaf section-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-STM-PARAS { + description + "all paras in stm"; + container section { + description + "SECTION"; + uses STM-SECTION-ENTRY; + } + container line { + description + "LINE"; + uses STM-LINE-ENTRY; + } + container fe-line { + description + "FarEnd LINE"; + uses STM-FAR-END-LINE-ENTRY; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + } + + grouping PM-FEC-PARAM-STRING { + description + "pm avg fec parameter"; + leaf minimum { + type string; + description + "minimum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf average { + type string; + description + "average"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum { + type string; + description + "maximum"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-threshold { + type string; + description + "minimun threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf minimum-tca-report { + type boolean; + description + "enable/disable to report TCA on min"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-threshold { + type string; + description + "maximum threshold"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf maximum-tca-report { + type boolean; + description + "enable/disable to report TCA"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf valid { + type boolean; + description + "valid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping PM-FEC-PARAM { + description + "pm avg fec param"; + leaf data { + type uint64; + description + "the number in the interval"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf valid { + type boolean; + description + "valid"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + } + + grouping PM-FEC-PARAS { + description + "all paras in fec"; + container ec-bits { + description + "EC BITS"; + uses PM-FEC-PARAM; + } + container uc-words { + description + "UC WORDS"; + uses PM-FEC-PARAM; + } + container pre-fec-ber { + description + "Pre FEC BER"; + uses PM-FEC-PARAM-STRING; + } + container post-fec-ber { + description + "Post FEC BER"; + uses PM-FEC-PARAM-STRING; + } + container q { + description + "Q"; + uses PM-FEC-PARAM-STRING; + } + container qmargin { + description + "Q Margin"; + uses PM-FEC-PARAM-STRING; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string; + description + "timestamp"; + xr:event-telemetry "Subscribe Telemetry Event"; + } + leaf last-clear-time { + type string; + description + "last clear time"; + } + leaf last-clear15-min-time { + type string; + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string; + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string; + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + } + + grouping PM-OTN-PARAMETER-RATIO { + description + "pm one parameter"; + leaf data { + type string; + description + "the number in the interval"; + } + leaf threshold { + type string; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping PM-OTN-PARAMETER { + description + "pm one parameter"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping PM-OTN-PARAS { + description + "all paras in otn"; + container lbc { + description + "LBC"; + uses PM-OTN-PARAMETER; + } + container es-ne { + description + "ES SM NE"; + uses PM-OTN-PARAMETER; + } + container esr-ne { + description + "ESR PM NE"; + uses PM-OTN-PARAMETER-RATIO; + } + container ses-ne { + description + "SES SM NE"; + uses PM-OTN-PARAMETER; + } + container sesr-ne { + description + "SESR SM NE"; + uses PM-OTN-PARAMETER-RATIO; + } + container uas-ne { + description + "UAS SM NE"; + uses PM-OTN-PARAMETER; + } + container bbe-ne { + description + "BBE SM NE"; + uses PM-OTN-PARAMETER; + } + container bber-ne { + description + "BBER SM NE"; + uses PM-OTN-PARAMETER-RATIO; + } + container fc-ne { + description + "FC SM NE"; + uses PM-OTN-PARAMETER; + } + container es-fe { + description + "ES SM FE"; + uses PM-OTN-PARAMETER; + } + container esr-fe { + description + "ESR PM FE"; + uses PM-OTN-PARAMETER-RATIO; + } + container ses-fe { + description + "SES SM FE"; + uses PM-OTN-PARAMETER; + } + container sesr-fe { + description + "SESR SM FE"; + uses PM-OTN-PARAMETER-RATIO; + } + container uas-fe { + description + "UAS SM FE"; + uses PM-OTN-PARAMETER; + } + container bbe-fe { + description + "BBE SM FE"; + uses PM-OTN-PARAMETER; + } + container bber-fe { + description + "BBER SM FE"; + uses PM-OTN-PARAMETER-RATIO; + } + container fc-fe { + description + "FC SM FE"; + uses PM-OTN-PARAMETER; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string; + description + "timestamp"; + } + leaf last-clear-time { + type string; + description + "last clear time"; + } + leaf last-clear15-min-time { + type string; + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string; + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string; + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + } + + grouping PM-PRBS-STATUS-PARAMETER { + description + "one parameter in optics"; + leaf valid { + type boolean; + description + "valid"; + } + leaf prbs-status { + type Pm-prbs-status-et; + description + "Prbs Status"; + } + } + + grouping PM-PRBS-PARAMETER { + description + "one parameter in optics"; + leaf valid { + type boolean; + description + "valid"; + } + leaf rcv-patt { + type Pm-prbs-pattern-et; + description + "RCVD PTRN"; + } + } + + grouping PM-PRBS-PARAS { + description + "all paras in prbs"; + container rcv-patt { + description + "RCVD PTRN"; + uses PM-PRBS-PARAMETER; + } + container prbs-status { + description + "PRBS STATUS"; + uses PM-PRBS-STATUS-PARAMETER; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf ebc { + type uint64; + description + "EBC"; + } + leaf found-count { + type uint32; + description + "FOUND COUNT"; + } + leaf lost-count { + type uint32; + description + "LOST COUNT"; + } + leaf found-at-time { + type uint64; + description + "FOUND AT TS"; + } + leaf lost-at-time { + type uint64; + description + "LOST AT TS"; + } + leaf conf-patt { + type Pm-prbs-pattern-et; + description + "CONFIG PTRN"; + } + } + + grouping PM-GFP-PARAM { + description + "PM GFP PARAM"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping PM-GFP-PARAS { + description + "PM GFP PARAS"; + container rx-bit-err { + description + "RX BIT ERR"; + uses PM-GFP-PARAM; + } + container rx-inv-typ { + description + "RX INV TYP"; + uses PM-GFP-PARAM; + } + container rx-crc { + description + "RX CRC"; + uses PM-GFP-PARAM; + } + container rx-lfd { + description + "RX LFD"; + uses PM-GFP-PARAM; + } + container rx-csf { + description + "RX CSF"; + uses PM-GFP-PARAM; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + } + + grouping HO-VC-FAR-END-PATH-ENTRY { + description + "HO VC FAR END PATH ENTRY"; + leaf far-end-path-e-ss { + type uint32; + units "second"; + description + "The number of Errored Seconds"; + } + leaf far-end-path-se-ss { + type uint32; + units "second"; + description + "The number of Severely Errored Seconds"; + } + leaf far-end-path-c-vs { + type uint32; + description + "The number of Coding Violations"; + } + leaf far-end-path-ua-ss { + type uint32; + units "second"; + description + "The number of Unavailable Seconds"; + } + } + + grouping PM-HO-VC-PARAMETER-RATIO { + description + "pm one parameter"; + leaf data { + type string { + length "0..8"; + } + description + "the number in the interval"; + } + leaf threshold { + type string { + length "0..8"; + } + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping PM-HO-VC-PARAMETER { + description + "pm one parameter"; + leaf data { + type uint32; + description + "the number in the interval"; + } + leaf threshold { + type uint32; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + } + + grouping HO-VC-ENTRY { + description + "HO VC ENTRY"; + container path-e-ss { + description + "The number of Errored Seconds"; + uses PM-HO-VC-PARAMETER; + } + container path-es-rs { + description + "The number of Errored Seconds"; + uses PM-HO-VC-PARAMETER-RATIO; + } + container path-se-ss { + description + "The number of Severely Errored Seconds"; + uses PM-HO-VC-PARAMETER; + } + container path-ses-rs { + description + "The number of Severely Errored Seconds"; + uses PM-HO-VC-PARAMETER-RATIO; + } + container path-e-bs { + description + "The number of Errored blocks"; + uses PM-HO-VC-PARAMETER; + } + container path-ua-ss { + description + "The number of Unavailable Seconds"; + uses PM-HO-VC-PARAMETER; + } + container path-bb-es { + description + "The number of background block errors"; + uses PM-HO-VC-PARAMETER; + } + container path-bbe-rs { + description + "The number of background block errors"; + uses PM-HO-VC-PARAMETER-RATIO; + } + leaf path-status { + type int32; + description + " status of the interface"; + } + } + + grouping PM-HO-VC-PARAS { + description + "all paras in ho_vc"; + container path { + description + "PATH"; + uses HO-VC-ENTRY; + } + container fe-path { + description + "Far End PATH"; + uses HO-VC-FAR-END-PATH-ENTRY; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + } + + grouping PM-ETHER-PARAM-STRING { + description + "PM ETHER PARAM STRING"; + leaf data { + type string; + description + "the number in the interval"; + } + leaf threshold { + type string; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + leaf valid { + type boolean; + description + "valid"; + } + } + + grouping PM-ETHER-PARAM { + description + "PM ETHER PARAM"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + leaf valid { + type boolean; + description + "valid"; + } + } + + grouping PM-ETHERNET-PARAS { + description + "all paras in ether"; + container rx-pkt { + description + "RX PKT"; + uses PM-ETHER-PARAM; + } + container stat-pkt { + description + "STAT PKT"; + uses PM-ETHER-PARAM; + } + container octet-stat { + description + "OCTET STAT"; + uses PM-ETHER-PARAM; + } + container oversize-pkt-stat { + description + "OVERSIZE PKT"; + uses PM-ETHER-PARAM; + } + container fcs-errors-stat { + description + "FCS ERR"; + uses PM-ETHER-PARAM; + } + container long-frames-stat { + description + "LONG FRAMES"; + uses PM-ETHER-PARAM; + } + container jabber-stat { + description + "JABBER STATS"; + uses PM-ETHER-PARAM; + } + container ether64-octets { + description + "SIXTY FOUR OCTET"; + uses PM-ETHER-PARAM; + } + container ether65127-octet { + description + "OCTET"; + uses PM-ETHER-PARAM; + } + container ether128255-octet { + description + "TFF OCTET"; + uses PM-ETHER-PARAM; + } + container ether256511-octet { + description + "FOO OCTET"; + uses PM-ETHER-PARAM; + } + container ether5121023-octet { + description + "OZTT OCTET"; + uses PM-ETHER-PARAM; + } + container ether10241518-octet { + description + "OFO OCTET"; + uses PM-ETHER-PARAM; + } + container in-ucast-pkt { + description + "IN UCAST"; + uses PM-ETHER-PARAM; + } + container in-mcast-pkt { + description + "IN MCAST"; + uses PM-ETHER-PARAM; + } + container in-bcast-pkt { + description + "IN BCAST"; + uses PM-ETHER-PARAM; + } + container out-ucast-pkt { + description + "OUT UCAST"; + uses PM-ETHER-PARAM; + } + container out-bcast-pkt { + description + "OUT BCAST"; + uses PM-ETHER-PARAM; + } + container out-mcast-pkt { + description + "OUT MCAST"; + uses PM-ETHER-PARAM; + } + container tx-pkt { + description + "TX PKT"; + uses PM-ETHER-PARAM; + } + container if-in-errors { + description + "IFIN ERRORS"; + uses PM-ETHER-PARAM; + } + container if-in-octets { + description + "IFIN OCTETS"; + uses PM-ETHER-PARAM; + } + container ether-stat-multicast-pkt { + description + "ETHER STAT MULTICAST PKT"; + uses PM-ETHER-PARAM; + } + container ether-stat-broadcast-pkt { + description + "ETHER STAT BROADCAST PKT"; + uses PM-ETHER-PARAM; + } + container ether-stat-undersized-pkt { + description + "ETHER STAT UNDERSIZED PKT"; + uses PM-ETHER-PARAM; + } + container out-octets { + description + "OUT OCTET"; + uses PM-ETHER-PARAM; + } + container in-pause-frame { + description + "INPUT PAUSE FRAME"; + uses PM-ETHER-PARAM; + } + container in-good-bytes { + description + "INPUT GOOD BYTES"; + uses PM-ETHER-PARAM; + } + container in8021q-frames { + description + "INPUT 802 1Q FRAMES"; + uses PM-ETHER-PARAM; + } + container in-pkts1519-max-octets { + description + "INPUT PKTS 1519MAX OCTETS"; + uses PM-ETHER-PARAM; + } + container in-good-pkts { + description + "INPUT GOOD PKTS"; + uses PM-ETHER-PARAM; + } + container in-drop-overrun { + description + "INPUT DROP OVERRUN"; + uses PM-ETHER-PARAM; + } + container in-drop-abort { + description + "INPUT DROP ABORT"; + uses PM-ETHER-PARAM; + } + container in-drop-invalid-vlan { + description + "INPUT DROP INVALID VLAN"; + uses PM-ETHER-PARAM; + } + container in-drop-invalid-dmac { + description + "INPUT DROP INVALID DMAC"; + uses PM-ETHER-PARAM; + } + container in-drop-invalid-encap { + description + "INPUT DROP INVALID ENCAP"; + uses PM-ETHER-PARAM; + } + container in-drop-other { + description + "INPUT DROP OTHER"; + uses PM-ETHER-PARAM; + } + container in-mib-giant { + description + "INPUT MIB GIANT"; + uses PM-ETHER-PARAM; + } + container in-mib-jabber { + description + "INPUT MIB JABBER"; + uses PM-ETHER-PARAM; + } + container in-mibcrc { + description + "IN MIB CRC"; + uses PM-ETHER-PARAM; + } + container in-error-collisions { + description + "IN ERROR COLLISIONS"; + uses PM-ETHER-PARAM; + } + container in-error-symbol { + description + "IN ERROR SYMBOL"; + uses PM-ETHER-PARAM; + } + container out-good-bytes { + description + "OUT GOOD BYTES"; + uses PM-ETHER-PARAM; + } + container out8021q-frames { + description + "OUT 802 1Q FRAMES"; + uses PM-ETHER-PARAM; + } + container out-pause-frames { + description + "OUT PAUSE FRAMES"; + uses PM-ETHER-PARAM; + } + container out-pkts1519-max-octets { + description + "OUT PKTS 1519 MAX OCTETS"; + uses PM-ETHER-PARAM; + } + container out-good-pkts { + description + "OUT GOOD PKTS"; + uses PM-ETHER-PARAM; + } + container out-drop-underrun { + description + "OUT DROP UNDERRUN"; + uses PM-ETHER-PARAM; + } + container out-drop-abort { + description + "OUT DROP ABORT"; + uses PM-ETHER-PARAM; + } + container out-drop-other { + description + "OUT DROP OTHER"; + uses PM-ETHER-PARAM; + } + container out-error-other { + description + "OUT ERROR OTHER"; + uses PM-ETHER-PARAM; + } + container in-error-giant { + description + "IN ERROR GIANT"; + uses PM-ETHER-PARAM; + } + container in-error-runt { + description + "IN ERROR RUNT"; + uses PM-ETHER-PARAM; + } + container in-error-jabbers { + description + "IN ERROR JABBERS"; + uses PM-ETHER-PARAM; + } + container in-error-fragments { + description + "IN ERROR FRAGMENTS"; + uses PM-ETHER-PARAM; + } + container in-error-other { + description + "IN ERROR OTHER"; + uses PM-ETHER-PARAM; + } + container in-pkt64-octet { + description + "IN PKT 64 OCTET"; + uses PM-ETHER-PARAM; + } + container in-pkts65-to127-octets { + description + "IN PKTS 65 127OCTETS"; + uses PM-ETHER-PARAM; + } + container in-pkts128-to255-octets { + description + "IN PKTS 128 255 OCTETS"; + uses PM-ETHER-PARAM; + } + container in-pkts256-to511-octets { + description + "IN PKTS 256 511 OCTETS"; + uses PM-ETHER-PARAM; + } + container in-pkts512-to1023-octets { + description + "IN PKTS 512 1023 OCTETS"; + uses PM-ETHER-PARAM; + } + container in-pkts1024-to1518-octets { + description + "IN PKTS 1024 1518 OCTETS"; + uses PM-ETHER-PARAM; + } + container outpkt64octet { + description + "OUT PKT 64 OCTET"; + uses PM-ETHER-PARAM; + } + container out-pkts65127-octets { + description + "OUT PKTS 65 127OCTETS"; + uses PM-ETHER-PARAM; + } + container out-pkts128255-octets { + description + "OUT PKTS 128 255 OCTETS"; + uses PM-ETHER-PARAM; + } + container out-pkts256511-octets { + description + "OUT PKTS 256 511 OCTETS"; + uses PM-ETHER-PARAM; + } + container out-pkts5121023-octets { + description + "OUT PKTS 512 1023 OCTETS"; + uses PM-ETHER-PARAM; + } + container out-pkts10241518-octets { + description + "OUT PKTS 1024 1518 OCTETS"; + uses PM-ETHER-PARAM; + } + container rx-util { + description + "Rx Utilization in Percent"; + uses PM-ETHER-PARAM-STRING; + } + container tx-util { + description + "Tx Utilization in Percent"; + uses PM-ETHER-PARAM-STRING; + } + container tx-undersized-pkt { + description + "TX Undersized Pkt"; + uses PM-ETHER-PARAM; + } + container tx-oversized-pkt { + description + "TX Oversized Pkt"; + uses PM-ETHER-PARAM; + } + container tx-fragments { + description + "TX Fragments"; + uses PM-ETHER-PARAM; + } + container tx-jabber { + description + "TX Jabber"; + uses PM-ETHER-PARAM; + } + container tx-bad-fcs { + description + "TX Bad Fcs"; + uses PM-ETHER-PARAM; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string; + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string; + description + "last clear time"; + } + leaf last-clear15-min-time { + type string; + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string; + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + } + + grouping PM-SECY-TX-PARAM { + description + "PM SECY TX PARAM"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + leaf valid { + type boolean; + description + "valid"; + } + } + + grouping PM-SECY-TX-PARAS { + description + "PM SECY TX PARAS"; + container out-pkts-protected { + description + "Out Packets Protected"; + uses PM-SECY-TX-PARAM; + } + container out-pkts-encrypted { + description + "Out Packets Encrypted"; + uses PM-SECY-TX-PARAM; + } + container out-octets-protected { + description + "Out Octets Protected "; + uses PM-SECY-TX-PARAM; + } + container out-octets-encrypted { + description + "Out Octets Encrypted"; + uses PM-SECY-TX-PARAM; + } + container out-pkts-too-long { + description + "Out Packets Too Long"; + uses PM-SECY-TX-PARAM; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + leaf sample-count { + type uint64; + description + "Running Sample Count"; + } + } + + grouping PM-SECY-RX-PARAM { + description + "PM SECY RX PARAM"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + leaf valid { + type boolean; + description + "valid"; + } + } + + grouping PM-SECY-RX-PARAS { + description + "PM SECY RX PARAS"; + container in-pkts-unchecked { + description + "In Packet Unchecked"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-delayed { + description + "In Packet Delay"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-late { + description + "In Packet Late"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-ok { + description + "In Packet Ok"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-invalid { + description + "In Packet Invalid"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-not-valid { + description + "In Packet Not Valid"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-not-using-sa { + description + "In Packet Not Using SA"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-unused-sa { + description + "In Packet Unused SA"; + uses PM-SECY-RX-PARAM; + } + container in-pkts-untagged-hit { + description + "In Packet Untagged Hit"; + uses PM-SECY-RX-PARAM; + } + container in-octets-validated { + description + "In Octet Validated"; + uses PM-SECY-RX-PARAM; + } + container in-octets-decrypted { + description + "In Octet Decrypted"; + uses PM-SECY-RX-PARAM; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + leaf sample-count { + type uint64; + description + "Running Sample Count"; + } + } + + grouping PM-SECY-IF-PARAM { + description + "PM SECY IF PARAM"; + leaf data { + type uint64; + description + "the number in the interval"; + } + leaf threshold { + type uint64; + description + "the threshold users set"; + } + leaf tca-report { + type boolean; + description + "enable/disable to report TCA"; + } + leaf valid { + type boolean; + description + "valid"; + } + } + + grouping PM-SECY-IF-PARAS { + description + "PM SECY IF PARAS"; + container in-pkts-untagged { + description + "In Packet Untagged"; + uses PM-SECY-IF-PARAM; + } + container in-pkts-no-tag { + description + "In Packet No tag"; + uses PM-SECY-IF-PARAM; + } + container in-pkts-bad-tag { + description + "In Packet Bad tag"; + uses PM-SECY-IF-PARAM; + } + container in-pkts-unknown-sci { + description + "In Packet Unknown sci"; + uses PM-SECY-IF-PARAM; + } + container in-pkts-no-sci { + description + "In Packet No sci"; + uses PM-SECY-IF-PARAM; + } + container in-pkts-overrun { + description + "In Packet Overrun"; + uses PM-SECY-IF-PARAM; + } + container in-octets-validated { + description + "In Octet Validated"; + uses PM-SECY-IF-PARAM; + } + container in-octets-decrypted { + description + "In Octet Decrypted"; + uses PM-SECY-IF-PARAM; + } + container out-pkts-untagged { + description + "Out Packet Untagged"; + uses PM-SECY-IF-PARAM; + } + container out-pkts-too-long { + description + "Out Packet Too Long"; + uses PM-SECY-IF-PARAM; + } + container out-octets-protected { + description + "Out Octet Protected"; + uses PM-SECY-IF-PARAM; + } + container out-octets-encrypted { + description + "Out Octet encrypted"; + uses PM-SECY-IF-PARAM; + } + leaf index { + type uint32; + description + "index"; + } + leaf valid { + type boolean; + description + "valid"; + } + leaf timestamp { + type string { + length "0..64"; + } + description + "timestamp"; + } + leaf last-clear-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear15-min-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear30-sec-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf last-clear24-hr-time { + type string { + length "0..64"; + } + description + "last clear time"; + } + leaf sec30-support { + type boolean; + description + "30 sec support"; + } + leaf sample-count { + type uint64; + description + "Running Sample Count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper.yang new file mode 100644 index 0000000..2b35167 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pmengine-oper.yang @@ -0,0 +1,3057 @@ +module Cisco-IOS-XR-pmengine-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pmengine-oper"; + prefix pmengine-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pmengine-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pmengine package operational data. + + This module contains definitions + for the following management objects: + performance-management: performace data + performance-management-history: performance management history + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-03-30 { + description + "OTU PRBS Stats Added"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container performance-management { + config false; + description + "performace data"; + container macsec { + description + "MACSEC controller performance data"; + container macsec-ports { + description + "Port performance data"; + list macsec-port { + key "name"; + description + "Port performance data"; + container macsec-current { + description + "port current performance data"; + container macsec-minute15 { + description + "port current performance data"; + container macsec-minute15secyifs { + description + "port current performance data"; + list macsec-minute15secyif { + key "number"; + description + "port 15-minute secy-if performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-IF-PARAS; + } + } + container macsec-minute15secyrxes { + description + "port current performance data"; + list macsec-minute15secyrx { + key "number"; + description + "port 15-minute secy-rx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-RX-PARAS; + } + } + container macsec-minute15secytxes { + description + "port current performance data"; + list macsec-minute15secytx { + key "number"; + description + "port 15-minute secy-tx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-TX-PARAS; + } + } + container macsec-minute15-ether-s { + description + "port current performance data"; + list macsec-minute15-ether { + key "number"; + description + "port 15-minute ether performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-ETHERNET-PARAS; + } + } + } + container macsec-second30 { + description + "port current performance data"; + container macsec-second30secyifs { + description + "port current performance data"; + list macsec-second30secyif { + key "number"; + description + "port 30-sec secy-if performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-IF-PARAS; + } + } + container macsec-second30secyrxes { + description + "port current performance data"; + list macsec-second30secyrx { + key "number"; + description + "port 30-sec secy-rx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-RX-PARAS; + } + } + container macsec-second30-ether-s { + description + "port current performance data"; + list macsec-second30-ether { + key "number"; + description + "port 30-sec ether performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-ETHERNET-PARAS; + } + } + container macsec-second30secytxes { + description + "port current performance data"; + list macsec-second30secytx { + key "number"; + description + "port 30-sec secy-tx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-TX-PARAS; + } + } + } + container macsec-hour24 { + description + "port current performance data"; + container macsec-hour24-ether-s { + description + "port current performance data"; + list macsec-hour24-ether { + key "number"; + description + "port 24 hour ether performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-ETHERNET-PARAS; + } + } + container macsec-hour24secyifs { + description + "port current performance data"; + list macsec-hour24secyif { + key "number"; + description + "port 24 hour secy-if performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-IF-PARAS; + } + } + container macsec-hour24secyrxes { + description + "port current performance data"; + list macsec-hour24secyrx { + key "number"; + description + "port 24 hour secy-rx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-RX-PARAS; + } + } + container macsec-hour24secytxes { + description + "port current performance data"; + list macsec-hour24secytx { + key "number"; + description + "port 24 hour secy-tx performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SECY-TX-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container ho-vc { + description + "HO_VC controller performance data"; + container ho-vc-ports { + description + "Port performance data"; + list ho-vc-port { + key "name"; + description + "Port performance data"; + container ho-vc-current { + description + "port current performance data"; + container ho-vc-hour24 { + description + "port current performance data"; + container ho-vc-hour24-paths { + description + "port current performance data"; + list ho-vc-hour24-path { + key "number"; + description + "port 24 hour Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-HO-VC-PARAS; + } + } + } + container ho-vc-minute15 { + description + "port current performance data"; + container ho-vc-minute15-paths { + description + "port current performance data"; + list ho-vc-minute15-path { + key "number"; + description + "port 15-minute Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-HO-VC-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container odu { + description + "ODU controller performance data"; + container odu-ports { + description + "Port performance data"; + list odu-port { + key "name"; + description + "Port performance data"; + container odu-current { + description + "port current performance data"; + container odu-minute15 { + description + "port current performance data"; + container odu-minute15gfps { + description + "port current performance data"; + list odu-minute15gfp { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-GFP-PARAS; + } + } + container odu-minute15prbses { + description + "port current performance data"; + list odu-minute15prbs { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-PRBS-PARAS; + } + } + container odu-minute15otns { + description + "port current performance data"; + list odu-minute15otn { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + container odu-hour24 { + description + "port current performance data"; + container odu-hour24prbses { + description + "port 24 hour performance data"; + list odu-hour24prbs { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-PRBS-PARAS; + } + } + container odu-hour24gfps { + description + "port 24 hour performance data"; + list odu-hour24gfp { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-GFP-PARAS; + } + } + container odu-hour24otns { + description + "port 24 hour performance data"; + list odu-hour24otn { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container otu { + description + "OTU controller performance data"; + container otu-ports { + description + "Port performance data"; + list otu-port { + key "name"; + description + "Port performance data"; + container otu-current { + description + "port current performance data"; + container otu-minute15 { + description + "port current performance data"; + container otu-minute15fecs { + description + "port current performance data"; + list otu-minute15fec { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container otu-minute15otns { + description + "port current performance data"; + list otu-minute15otn { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + container otu-minute15prbses { + description + "port current performance data"; + list otu-minute15prbs { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-PRBS-PARAS; + } + } + } + container otu-second30 { + description + "port current performance data"; + container otu-second30fecs { + description + "port current performance data"; + list otu-second30fec { + key "number"; + description + "port 30-sec fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container otu-second30otns { + description + "port current performance data"; + list otu-second30otn { + key "number"; + description + "port 30-sec otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + container otu-hour24 { + description + "port current performance data"; + container otu-hour24fecs { + description + "port current performance data"; + list otu-hour24fec { + key "number"; + description + "port 24 hour fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container otu-hour24prbses { + description + "port 24 hour performance data"; + list otu-hour24prbs { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-PRBS-PARAS; + } + } + container otu-hour24otns { + description + "port 24 hour performance data"; + list otu-hour24otn { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container stm { + description + "STM controller performance data"; + container stm-ports { + description + "Port performance data"; + list stm-port { + key "name"; + description + "Port performance data"; + container stm-current { + description + "port current performance data"; + container stm-hour24 { + description + "port current performance data"; + container stm-hour24stms { + description + "port current performance data"; + list stm-hour24stm { + key "number"; + description + "port 24 hour stm performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-STM-PARAS; + } + } + } + container stm-minute15 { + description + "port current performance data"; + container stm-minute15stms { + description + "port current performance data"; + list stm-minute15stm { + key "number"; + description + "port 15-minute stm performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-STM-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container sonet { + description + "SONET controller performance data"; + container sonet-ports { + description + "Port performance data"; + list sonet-port { + key "name"; + description + "Port performance data"; + container sonet-current { + description + "port current performance data"; + container sonet-minute15 { + description + "port current performance data"; + container sonet-minute15-paths { + description + "port current performance data"; + list sonet-minute15-path { + key "number"; + description + "port 15-minute Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PATH-PARAS; + } + } + container sonet-minute15ocns { + description + "port current performance data"; + list sonet-minute15ocn { + key "number"; + description + "port 15-minute ocn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PARAS; + } + } + } + container sonet-hour24 { + description + "port current performance data"; + container sonet-hour24ocns { + description + "port current performance data"; + list sonet-hour24ocn { + key "number"; + description + "port 24 hour ocn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PARAS; + } + } + container sonet-hour24-paths { + description + "port current performance data"; + list sonet-hour24-path { + key "number"; + description + "port 24 hour Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PATH-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container optics { + description + "OPTICS controller performance data"; + container optics-ports { + description + "Port performance data"; + list optics-port { + key "name"; + description + "Port performance data"; + container optics-current { + description + "port current performance data"; + container optics-hour24 { + description + "port current performance data"; + container optics-hour24-optics { + description + "port 24 hour performance data"; + list optics-hour24-optic { + key "number"; + description + "port 24 hour optics performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OPTICS-PARAS; + } + } + container optics-hour24fecs { + description + "port current performance data"; + list optics-hour24fec { + key "number"; + description + "port 24 hour fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + } + container optics-minute15 { + description + "port current performance data"; + container optics-minute15-optics { + description + "port current performance data"; + list optics-minute15-optic { + key "number"; + description + "port 15-minute optics performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OPTICS-PARAS; + } + } + container optics-minute15fecs { + description + "port current performance data"; + list optics-minute15fec { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + } + container optics-second30 { + description + "port current performance data"; + container optics-second30fecs { + description + "port current performance data"; + list optics-second30fec { + key "number"; + description + "port 30-second fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container optics-second30-optics { + description + "port current performance data"; + list optics-second30-optic { + key "number"; + description + "port 30-second optics performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OPTICS-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container sts { + description + "STS controller performance data"; + container sts-ports { + description + "Port performance data"; + list sts-port { + key "name"; + description + "Port performance data"; + container sts-current { + description + "port current performance data"; + container sts-minute15 { + description + "port current performance data"; + container sts-minute15-paths { + description + "port current performance data"; + list sts-minute15-path { + key "number"; + description + "port 15-minute Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PATH-PARAS; + } + } + } + container sts-hour24 { + description + "port current performance data"; + container sts-hour24-paths { + description + "port current performance data"; + list sts-hour24-path { + key "number"; + description + "port 24 hour Path performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PATH-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container dwdm { + description + "DWDM controller performance data"; + container dwdm-ports { + description + "Port performance data"; + list dwdm-port { + key "name"; + description + "Port performance data"; + container dwdm-current { + description + "port current performance data"; + container dwdm-minute15 { + description + "port current performance data"; + container dwdm-minute15fecs { + description + "port current performance data"; + list dwdm-minute15fec { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container dwdm-minute15-optics { + description + "port current performance data"; + list dwdm-minute15-optic { + key "number"; + description + "port 15-minute optics performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OPTICS-PARAS; + } + } + container dwdm-minute15otns { + description + "port current performance data"; + list dwdm-minute15otn { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + container dwdm-hour24 { + description + "port current performance data"; + container dwdm-hour24-optics { + description + "port 24 hour performance data"; + list dwdm-hour24-optic { + key "number"; + description + "port 24 hour optics performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OPTICS-PARAS; + } + } + container dwdm-hour24fecs { + description + "port current performance data"; + list dwdm-hour24fec { + key "number"; + description + "port 24 hour fec performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-FEC-PARAS; + } + } + container dwdm-hour24otns { + description + "port 24 hour performance data"; + list dwdm-hour24otn { + key "number"; + description + "port 24 hour otn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-OTN-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container oc { + description + "OC controller performance data"; + container oc-ports { + description + "Port performance data"; + list oc-port { + key "name"; + description + "Port performance data"; + container oc-current { + description + "port current performance data"; + container oc-hour24 { + description + "port current performance data"; + container oc-hour24ocns { + description + "port current performance data"; + list oc-hour24ocn { + key "number"; + description + "port 24 hour ocn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PARAS; + } + } + } + container oc-minute15 { + description + "port current performance data"; + container oc-minute15ocns { + description + "port current performance data"; + list oc-minute15ocn { + key "number"; + description + "port 15-minute ocn performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-SONET-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container ethernet { + description + "EHERNET controller performance data"; + container ethernet-ports { + description + "Port performance data"; + list ethernet-port { + key "name"; + description + "Port performance data"; + container ethernet-current { + description + "port current performance data"; + container ethernet-second30 { + description + "port current performance data"; + container second30-ethers { + description + "ETHERNET port interval performance data"; + list second30-ether { + key "slot-number"; + description + "ETHERNET port 30 second ether performance + data"; + leaf slot-number { + type int32; + description + "interval slot number"; + } + uses PM-ETHERNET-PARAS; + } + } + } + container ethernet-hour24 { + description + "port current performance data"; + container ethernet-hour24-ether-s { + description + "port current performance data"; + list ethernet-hour24-ether { + key "number"; + description + "port 24 hour ethernet performance data"; + leaf number { + type int32; + description + "channel number"; + } + uses PM-ETHERNET-PARAS; + } + } + } + container minute15 { + description + "port current performance data"; + container minute15-ethers { + description + "ETHERNET port interval performance data"; + list minute15-ether { + key "slot-number"; + description + "ETHERNET port 15-minute ether performance + data"; + leaf slot-number { + type int32; + description + "interval slot number"; + } + uses PM-ETHERNET-PARAS; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + } + container performance-management-history { + config false; + description + "performance management history"; + container global { + description + "global History performace data"; + container periodic { + description + "History performace data"; + container sonet-history { + description + "SONET controller History performance data"; + container sonet-port-histories { + description + "Port performance data"; + list sonet-port-history { + key "name"; + description + "Port performance data"; + container sonet-minute15-history { + description + "port current performance data"; + container sonet-minute15ocn-histories { + description + "port current performance data"; + list sonet-minute15ocn-history { + key "number"; + description + "port 15-minute ocn performance data"; + container sonet-minute15ocn-time-line-instances { + description + "port current performance data"; + list sonet-minute15ocn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container sonet-minute15-path-histories { + description + "port current performance data"; + list sonet-minute15-path-history { + key "number"; + description + "port 15-minute Path performance data"; + container sonet-minute15-path-time-line-instances { + description + "port current performance data"; + list sonet-minute15-path-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PATH-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container sonet-hour24-history { + description + "port current performance data"; + container sonet-hour24-path-histories { + description + "port current performance data"; + list sonet-hour24-path-history { + key "number"; + description + "port 24 hour Path performance data"; + container sonet-hour24-path-time-line-instances { + description + "port current performance data"; + list sonet-hour24-path-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PATH-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container sonet-hour24ocn-histories { + description + "port current performance data"; + list sonet-hour24ocn-history { + key "number"; + description + "port 24 hour ocn performance data"; + container sonet-hour24ocn-time-line-instances { + description + "port current performance data"; + list sonet-hour24ocn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container sts-history { + description + "STS controller History performance data"; + container sts-port-histories { + description + "Port performance data"; + list sts-port-history { + key "name"; + description + "Port performance data"; + container sts-minute15-history { + description + "port current performance data"; + container sts-minute15-path-histories { + description + "port current performance data"; + list sts-minute15-path-history { + key "number"; + description + "port 15-minute Path performance data"; + container sts-minute15-path-time-line-instances { + description + "port current performance data"; + list sts-minute15-path-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PATH-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container sts-hour24-history { + description + "port current performance data"; + container sts-hour24-path-histories { + description + "port current performance data"; + list sts-hour24-path-history { + key "number"; + description + "port 24 hour Path performance data"; + container sts-hour24-path-time-line-instances { + description + "port current performance data"; + list sts-hour24-path-time-line-instance { + key "number"; + description + "port 15-minute sts performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PATH-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container ethernet-history { + description + "EHERNET controller History performance data"; + container ethernet-port-histories { + description + "Port performance data"; + list ethernet-port-history { + key "name"; + description + "Port performance data"; + container ethernet-second30-history { + description + "port current performance data"; + container second30-ether-histories { + description + "ETHERNET port interval performance data"; + list second30-ether-history { + key "slot-number"; + description + "ETHERNET port 30 sec ether performance + data"; + container second30-ether-time-line-instances { + description + "port current performance data"; + list second30-ether-time-line-instance { + key "number"; + description + "port 30 sec otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf slot-number { + type int32; + description + "interval slot number"; + } + } + } + } + container ethernet-hour24-history { + description + "port current performance data"; + container ethernet-hour24-ether-histories { + description + "port current performance data"; + list ethernet-hour24-ether-history { + key "number"; + description + "port 24 hour ethernet performance data"; + container ethernet-hour24-ether-time-line-instances { + description + "port current performance data"; + list ethernet-hour24-ether-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container ethernet-minute15-history { + description + "port current performance data"; + container minute15-ether-histories { + description + "ETHERNET port interval performance data"; + list minute15-ether-history { + key "slot-number"; + description + "ETHERNET port 15-minute ether performance + data"; + container minute15-ether-time-line-instances { + description + "port current performance data"; + list minute15-ether-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf slot-number { + type int32; + description + "interval slot number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container dwdm-history { + description + "DWDM controller History performance data"; + container dwdm-port-histories { + description + "Port performance data"; + list dwdm-port-history { + key "name"; + description + "Port performance data"; + container dwdm-minute15-history { + description + "port current performance data"; + container dwdm-minute15otn-histories { + description + "port current performance data"; + list dwdm-minute15otn-history { + key "number"; + description + "port 15-minute otn performance data"; + container dwdm-minute15otn-time-line-instances { + description + "port current performance data"; + list dwdm-minute15otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container dwdm-minute15fec-histories { + description + "port current performance data"; + list dwdm-minute15fec-history { + key "number"; + description + "port 15-minute fec performance data"; + container dwdm-minute15fec-time-line-instances { + description + "port current performance data"; + list dwdm-minute15fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data by + index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container dwdm-minute15-optics-histories { + description + "port current performance data"; + list dwdm-minute15-optics-history { + key "number"; + description + "port 15-minute optics performance data"; + container dwdm-minute15-optics-time-line-instances { + description + "port current performance data"; + list dwdm-minute15-optics-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OPTICS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container dwdm-hour24-history { + description + "port current performance data"; + container dwdm-hour24otn-histories { + description + "port 24 hour performance data"; + list dwdm-hour24otn-history { + key "number"; + description + "port 24 hour otn performance data"; + container dwdm-hour24otn-time-line-instances { + description + "port current performance data"; + list dwdm-hour24otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container dwdm-hour24fec-histories { + description + "port current performance data"; + list dwdm-hour24fec-history { + key "number"; + description + "port 24 hour fec performance data"; + container dwdm-hour24fec-time-line-instances { + description + "port current performance data"; + list dwdm-hour24fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data by + index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container dwdm-hour24-optics-histories { + description + "port 24 hour performance data"; + list dwdm-hour24-optics-history { + key "number"; + description + "port 24 hour optics performance data"; + container dwdm-hour24-optics-time-line-instances { + description + "port current performance data"; + list dwdm-hour24-optics-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OPTICS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container stm-history { + description + "STM controller History performance data"; + container stm-port-histories { + description + "Port performance data"; + list stm-port-history { + key "name"; + description + "Port performance data"; + container stm-hour24-history { + description + "port current performance data"; + container stm-hour24stm-histories { + description + "port current performance data"; + list stm-hour24stm-history { + key "number"; + description + "port 24 hour stm performance data"; + container stm-hour24stm-time-line-instances { + description + "port current performance data"; + list stm-hour24stm-time-line-instance { + key "number"; + description + "port 15-minute stm performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-STM-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container stm-minute15-history { + description + "port current performance data"; + container stm-minute15stm-histories { + description + "port current performance data"; + list stm-minute15stm-history { + key "number"; + description + "port 15-minute stm performance data"; + container stm-minute15stm-time-line-instances { + description + "port current performance data"; + list stm-minute15stm-time-line-instance { + key "number"; + description + "port 15-minute stm performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-STM-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container macsec-history { + description + "MACSEC controller History performance data"; + container macsec-port-histories { + description + "Port performance data"; + list macsec-port-history { + key "name"; + description + "Port performance data"; + container macsec-minute15-history { + description + "port current performance data"; + container macsec-minute15secyrx-histories { + description + "port current performance data"; + list macsec-minute15secyrx-history { + key "number"; + description + "port 15-minute secy_rx performance data"; + container macsec-minute15secyrx-time-line-instances { + description + "port current performance data"; + list macsec-minute15secyrx-time-line-instance { + key "number"; + description + "port 15-minute secy_rx performance data + by index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-RX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-minute15-ether-histories { + description + "port current performance data"; + list macsec-minute15-ether-history { + key "number"; + description + "port 15-minute ether performance data"; + container macsec-minute15-ether-time-line-instances { + description + "port current performance data"; + list macsec-minute15-ether-time-line-instance { + key "number"; + description + "port 15-minute ether performance data + by index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-minute15secytx-histories { + description + "port current performance data"; + list macsec-minute15secytx-history { + key "number"; + description + "port 15-minute secy_tx performance data"; + container macsec-minute15secytx-time-line-instances { + description + "port current performance data"; + list macsec-minute15secytx-time-line-instance { + key "number"; + description + "port 15-minute secy_tx performance data + by index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-TX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-minute15secyif-histories { + description + "port current performance data"; + list macsec-minute15secyif-history { + key "number"; + description + "port 15-minute secy_if performance data"; + container macsec-minute15secyif-time-line-instances { + description + "port current performance data"; + list macsec-minute15secyif-time-line-instance { + key "number"; + description + "port 15-minute secy_if performance data + by index"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-IF-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container macsec-hour24-history { + description + "port current performance data"; + container macsec-hour24-ether-histories { + description + "port current performance data"; + list macsec-hour24-ether-history { + key "number"; + description + "port 24 hour ether performance data"; + container macsec-hour24-ether-time-line-instances { + description + "port current performance data"; + list macsec-hour24-ether-time-line-instance { + key "number"; + description + "port 24 hour ether performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-hour24secytx-histories { + description + "port current performance data"; + list macsec-hour24secytx-history { + key "number"; + description + "port 24 hour secy_tx performance data"; + container macsec-hour24secytx-time-line-instances { + description + "port current performance data"; + list macsec-hour24secytx-time-line-instance { + key "number"; + description + "port 24 hour secy_tx performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-TX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-hour24secyif-histories { + description + "port current performance data"; + list macsec-hour24secyif-history { + key "number"; + description + "port 24 hour secy_if performance data"; + container macsec-hour24secyif-time-line-instances { + description + "port current performance data"; + list macsec-hour24secyif-time-line-instance { + key "number"; + description + "port 24 hour secy_if performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-IF-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-hour24secyrx-histories { + description + "port current performance data"; + list macsec-hour24secyrx-history { + key "number"; + description + "port 24 hour secy_rx performance data"; + container macsec-hour24secyrx-time-line-instances { + description + "port current performance data"; + list macsec-hour24secyrx-time-line-instance { + key "number"; + description + "port 24 hour secy_rx performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-RX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container macsec-second30-history { + description + "port current performance data"; + container macsec-second30secyrx-histories { + description + "port current performance data"; + list macsec-second30secyrx-history { + key "number"; + description + "port 30-second secy_rx performance data"; + container macsec-second30secyrx-time-line-instances { + description + "port current performance data"; + list macsec-second30secyrx-time-line-instance { + key "number"; + description + "port 30-second secy_rx performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-RX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-second30-ether-histories { + description + "port current performance data"; + list macsec-second30-ether-history { + key "number"; + description + "port 30-second ether performance data"; + container macsec-second30-ether-time-line-instances { + description + "port current performance data"; + list macsec-second30-ether-time-line-instance { + key "number"; + description + "port 30-second ether performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-ETHERNET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-second30secytx-histories { + description + "port current performance data"; + list macsec-second30secytx-history { + key "number"; + description + "port 30-second secy_tx performance data"; + container macsec-second30secytx-time-line-instances { + description + "port current performance data"; + list macsec-second30secytx-time-line-instance { + key "number"; + description + "port 30-second secy_tx performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-TX-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container macsec-second30secyif-histories { + description + "port current performance data"; + list macsec-second30secyif-history { + key "number"; + description + "port 30-second secy_if performance data"; + container macsec-second30secyif-time-line-instances { + description + "port current performance data"; + list macsec-second30secyif-time-line-instance { + key "number"; + description + "port 30-second secy_if performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SECY-IF-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container odu-history { + description + "ODU controller History performance data"; + container odu-port-histories { + description + "Port performance data"; + list odu-port-history { + key "name"; + description + "Port performance data"; + container odu-hour24-history { + description + "port current performance data"; + container odu-hour24gfp-histories { + description + "port 24 hour performance data"; + list odu-hour24gfp-history { + key "number"; + description + "port 24 hour otn performance data"; + container odu-hour24gfp-time-line-instances { + description + "port current performance data"; + list odu-hour24gfp-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-GFP-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container odu-hour24prbs-histories { + description + "port 24 hour performance data"; + list odu-hour24prbs-history { + key "number"; + description + "port 24 hour prbs performance data"; + container odu-hour24prbs-time-line-instances { + description + "port current performance data"; + list odu-hour24prbs-time-line-instance { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-PRBS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container odu-hour24otn-histories { + description + "port 24 hour performance data"; + list odu-hour24otn-history { + key "number"; + description + "port 24 hour otn performance data"; + container odu-hour24otn-time-line-instances { + description + "port current performance data"; + list odu-hour24otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container odu-minute15-history { + description + "port current performance data"; + container odu-minute15prbs-histories { + description + "port current performance data"; + list odu-minute15prbs-history { + key "number"; + description + "port 15-minute prbs performance data"; + container odu-minute15prbs-time-line-instances { + description + "port current performance data"; + list odu-minute15prbs-time-line-instance { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-PRBS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container odu-minute15gfp-histories { + description + "port current performance data"; + list odu-minute15gfp-history { + key "number"; + description + "port 15-minute otn performance data"; + container odu-minute15gfp-time-line-instances { + description + "port current performance data"; + list odu-minute15gfp-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-GFP-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container odu-minute15otn-histories { + description + "port current performance data"; + list odu-minute15otn-history { + key "number"; + description + "port 15-minute otn performance data"; + container odu-minute15otn-time-line-instances { + description + "port current performance data"; + list odu-minute15otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container otu-history { + description + "OTU controller History performance data"; + container otu-port-histories { + description + "Port performance data"; + list otu-port-history { + key "name"; + description + "Port performance data"; + container otu-second30-history { + description + "port current performance data"; + container otu-second30fec-histories { + description + "port current performance data"; + list otu-second30fec-history { + key "number"; + description + "port 30-second fec performance data"; + container otu-second30fec-time-line-instances { + description + "port current performance data"; + list otu-second30fec-time-line-instance { + key "number"; + description + "port 30-second fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container otu-second30otn-histories { + description + "port current performance data"; + list otu-second30otn-history { + key "number"; + description + "port 30-second otn performance data"; + container otu-second30otn-time-line-instances { + description + "port current performance data"; + list otu-second30otn-time-line-instance { + key "number"; + description + "port 30-second otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container otu-minute15-history { + description + "port current performance data"; + container otu-minute15fec-histories { + description + "port current performance data"; + list otu-minute15fec-history { + key "number"; + description + "port 15-minute fec performance data"; + container otu-minute15fec-time-line-instances { + description + "port current performance data"; + list otu-minute15fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container otu-minute15prbs-histories { + description + "port current performance data"; + list otu-minute15prbs-history { + key "number"; + description + "port 15-minute prbs performance data"; + container otu-minute15prbs-time-line-instances { + description + "port current performance data"; + list otu-minute15prbs-time-line-instance { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-PRBS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container otu-minute15otn-histories { + description + "port current performance data"; + list otu-minute15otn-history { + key "number"; + description + "port 15-minute otn performance data"; + container otu-minute15otn-time-line-instances { + description + "port current performance data"; + list otu-minute15otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container otu-hour24-history { + description + "port current performance data"; + container otu-hour24prbs-histories { + description + "port 24 hour performance data"; + list otu-hour24prbs-history { + key "number"; + description + "port 24 hour prbs performance data"; + container otu-hour24prbs-time-line-instances { + description + "port current performance data"; + list otu-hour24prbs-time-line-instance { + key "number"; + description + "port 15-minute prbs performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-PRBS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container otu-hour24otn-histories { + description + "port 24 hour performance data"; + list otu-hour24otn-history { + key "number"; + description + "port 24 hour otn performance data"; + container otu-hour24otn-time-line-instances { + description + "port current performance data"; + list otu-hour24otn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OTN-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container otu-hour24fec-histories { + description + "port current performance data"; + list otu-hour24fec-history { + key "number"; + description + "port 24 hour fec performance data"; + container otu-hour24fec-time-line-instances { + description + "port current performance data"; + list otu-hour24fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container ho-vc-history { + description + "HO_VC controller History performance data"; + container ho-vc-port-histories { + description + "Port performance data"; + list ho-vc-port-history { + key "name"; + description + "Port performance data"; + container ho-vc-minute15-history { + description + "port current performance data"; + container ho-vc-minute15-path-histories { + description + "port current performance data"; + list ho-vc-minute15-path-history { + key "number"; + description + "port 15-minute Path performance data"; + container ho-vc-minute15-path-time-line-instances { + description + "port current performance data"; + list ho-vc-minute15-path-time-line-instance { + key "number"; + description + "port 15-minute ho_vc performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-HO-VC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container ho-vc-hour24-history { + description + "port current performance data"; + container ho-vc-hour24-path-histories { + description + "port current performance data"; + list ho-vc-hour24-path-history { + key "number"; + description + "port 24 hour Path performance data"; + container ho-vc-hour24-path-time-line-instances { + description + "port current performance data"; + list ho-vc-hour24-path-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-HO-VC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container optics-history { + description + "OPTICS controller History performance data"; + container optics-port-histories { + description + "Port performance data"; + list optics-port-history { + key "name"; + description + "Port performance data"; + container optics-hour24-history { + description + "port current performance data"; + container optics-hour24-optics-histories { + description + "port 24 hour performance data"; + list optics-hour24-optics-history { + key "number"; + description + "port 24 hour optics performance data"; + container optics-hour24-optics-time-line-instances { + description + "port current performance data"; + list optics-hour24-optics-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OPTICS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container optics-hour24fec-histories { + description + "port current performance data"; + list optics-hour24fec-history { + key "number"; + description + "port 24 hour fec performance data"; + container optics-hour24fec-time-line-instances { + description + "port current performance data"; + list optics-hour24fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container optics-second30-history { + description + "port current performance data"; + container optics-second30-optics-histories { + description + "port current performance data"; + list optics-second30-optics-history { + key "number"; + description + "port 30-second optics performance data"; + container optics-second30-optics-time-line-instances { + description + "port current performance data"; + list optics-second30-optics-time-line-instance { + key "number"; + description + "port 30 second otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OPTICS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container optics-second30fec-histories { + description + "port current performance data"; + list optics-second30fec-history { + key "number"; + description + "port 30-second fec performance data"; + container optics-second30fec-time-line-instances { + description + "port current performance data"; + list optics-second30fec-time-line-instance { + key "number"; + description + "port sec-30 fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container optics-minute15-history { + description + "port current performance data"; + container optics-minute15-optics-histories { + description + "port current performance data"; + list optics-minute15-optics-history { + key "number"; + description + "port 15-minute optics performance data"; + container optics-minute15-optics-time-line-instances { + description + "port current performance data"; + list optics-minute15-optics-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-OPTICS-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + container optics-minute15fec-histories { + description + "port current performance data"; + list optics-minute15fec-history { + key "number"; + description + "port 15-minute fec performance data"; + container optics-minute15fec-time-line-instances { + description + "port current performance data"; + list optics-minute15fec-time-line-instance { + key "number"; + description + "port 15-minute fec performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-FEC-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + container oc-history { + description + "OC controller History performance data"; + container oc-port-histories { + description + "Port performance data"; + list oc-port-history { + key "name"; + description + "Port performance data"; + container oc-hour24-history { + description + "port current performance data"; + container oc-hour24ocn-histories { + description + "port current performance data"; + list oc-hour24ocn-history { + key "number"; + description + "port 24 hour ocn performance data"; + container oc-hour24ocn-time-line-instances { + description + "port current performance data"; + list oc-hour24ocn-time-line-instance { + key "number"; + description + "port 15-minute otn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + container oc-minute15-history { + description + "port current performance data"; + container oc-minute15ocn-histories { + description + "port current performance data"; + list oc-minute15ocn-history { + key "number"; + description + "port 15-minute ocn performance data"; + container oc-minute15ocn-time-line-instances { + description + "port current performance data"; + list oc-minute15ocn-time-line-instance { + key "number"; + description + "port 15-minute ocn performance data"; + leaf number { + type int32; + description + "History Index number"; + } + uses PM-SONET-PARAS; + } + } + leaf number { + type int32; + description + "channel number"; + } + } + } + } + leaf name { + type xr:Interface-name; + description + "Port name"; + } + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-cfg.yang new file mode 100644 index 0000000..66a8ac1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-cfg.yang @@ -0,0 +1,441 @@ +module Cisco-IOS-XR-policy-repository-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-cfg"; + prefix policy-repository-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR policy-repository package configuration. + + This module contains definitions + for the following management objects: + routing-policy: Routing policy configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-08-27 { + description + "IOS XR 5.3.2 revision."; + } + + container routing-policy { + description + "Routing policy configuration"; + container route-policies { + description + "All configured policies"; + list route-policy { + key "route-policy-name"; + description + "Information about an individual policy"; + leaf route-policy-name { + type xr:Cisco-ios-xr-string; + description + "Route policy name"; + } + leaf rpl-route-policy { + type xr:Rpl-policy; + mandatory true; + description + "policy statements"; + } + } + } + container sets { + description + "All configured sets"; + container prefix-sets { + description + "Information about Prefix sets"; + list prefix-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-prefix-set { + type xr:Rpl-set; + mandatory true; + description + "prefix statements"; + } + } + } + container large-community-sets { + description + "Information about Large Community sets"; + list large-community-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf large-community-set-as-text { + type xr:Rpl-set; + mandatory true; + description + "Large Community Set"; + } + } + } + container mac-sets { + description + "Information about Mac sets"; + list mac-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf mac-set-as-text { + type xr:Rpl-set; + mandatory true; + description + "Mac Set"; + } + } + } + container extended-community-opaque-sets { + description + "Information about Opaque sets"; + list extended-community-opaque-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-opaque-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community Opaque Set"; + } + } + } + container ospf-area-sets { + description + "Information about OSPF Area sets"; + list ospf-area-set { + key "set-name"; + description + "Information about an individual OSPF area set. + Usage: OSPF area set allows to define named + set of area numbers which can be + referenced in the route-policy. Area sets + may be used during redistribution of the ospf + protocol. Example: ospf-area-set EXAMPLE + 1, + 192.168.1.255 + end-set + Syntax: OSPF area number can be entered as 32 + bit number or in the ip address + format. See example. + Semantic: Area numbers listed in the set will + be searched for a match. In the + example these are areas 1 and + 192.168.1.255. "; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rplospf-area-set { + type xr:Rpl-set; + mandatory true; + description + "OSPF Area Set"; + } + } + } + container extended-community-cost-sets { + description + "Information about Cost sets"; + list extended-community-cost-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-cost-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community Cost Set"; + } + } + } + container extended-community-soo-sets { + description + "Information about SOO sets"; + list extended-community-soo-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-soo-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community SOO Set"; + } + } + } + container esi-sets { + description + "Information about Esi sets"; + list esi-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf esi-set-as-text { + type xr:Rpl-set; + mandatory true; + description + "Esi Set"; + } + } + } + container extended-community-seg-nh-sets { + description + "Information about SegNH sets"; + list extended-community-seg-nh-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-seg-nh-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community SegNH Set"; + } + } + } + container rd-sets { + description + "Information about RD sets"; + list rd-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rplrd-set { + type xr:Rpl-set; + mandatory true; + description + "RD Set"; + } + } + } + container policy-global-set-table { + description + "Information about PolicyGlobal sets"; + leaf policy-global-set { + type xr:Rpl-set; + description + "Information about an individual set"; + } + } + container extended-community-bandwidth-sets { + description + "Information about Bandwidth sets"; + list extended-community-bandwidth-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-bandwidth-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community Bandwidth Set"; + } + } + } + container community-sets { + description + "Information about Community sets"; + list community-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-community-set { + type xr:Rpl-set; + mandatory true; + description + "Community Set"; + } + } + } + container as-path-sets { + description + "Information about AS Path sets"; + list as-path-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rplas-path-set { + type xr:Rpl-set; + mandatory true; + description + "ASPath Set"; + } + } + } + container tag-sets { + description + "Information about Tag sets"; + list tag-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-tag-set { + type xr:Rpl-set; + mandatory true; + description + "Tag Set"; + } + } + } + container etag-sets { + description + "Information about Etag sets"; + list etag-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf etag-set-as-text { + type xr:Rpl-set; + mandatory true; + description + "Etag Set"; + } + } + } + container extended-community-rt-sets { + description + "Information about RT sets"; + list extended-community-rt-set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + leaf rpl-extended-community-rt-set { + type xr:Rpl-set; + mandatory true; + description + "Extended Community RT Set"; + } + } + } + } + container limits { + description + "Limits for Routing Policy"; + leaf maximum-lines-of-policy { + type int32; + default "131072"; + description + "Maximum number of lines of policy configuration + that may be configured in total"; + } + leaf maximum-number-of-policies { + type int32; + default "5000"; + description + "Maximum number of policies that may be + configured"; + } + } + leaf set-exit-as-abort { + type empty; + description + "Set exit under RPL config to abort"; + } + leaf editor { + type string; + description + "'emacs' or 'vim' or 'nano'"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper-sub1.yang new file mode 100644 index 0000000..46b5a4b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper-sub1.yang @@ -0,0 +1,461 @@ +submodule Cisco-IOS-XR-policy-repository-oper-sub1 { + belongs-to Cisco-IOS-XR-policy-repository-oper { + prefix Cisco-IOS-XR-policy-repository-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR policy-repository package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Group { + type enumeration { + enum "address-family-group" { + value 0; + description + "Address Family Group"; + } + enum "session-group" { + value 1; + description + "Session Group"; + } + enum "neighbor-group" { + value 2; + description + "Neighbor Group"; + } + enum "neighbor" { + value 3; + description + "Neighbor"; + } + enum "error-group" { + value 4; + description + "Error Group"; + } + } + description + "BGP Neighbor Group Type"; + } + + typedef Attach-point-direction { + type enumeration { + enum "in" { + value 0; + description + "Attach Point Direction IN"; + } + enum "out" { + value 1; + description + "Attach Point Direction OUT"; + } + } + description + "Attach Point Direction"; + } + + typedef Sub-address-family { + type enumeration { + enum "unicast" { + value 0; + description + "Unicast"; + } + enum "multicast" { + value 1; + description + "Multicast"; + } + enum "label" { + value 2; + description + "Label"; + } + enum "tunnel" { + value 3; + description + "Tunnel"; + } + enum "vpn" { + value 4; + description + "VPN"; + } + enum "mdt" { + value 5; + description + "MDT"; + } + enum "vpls" { + value 6; + description + "VPLS"; + } + enum "rt-constraint" { + value 7; + description + "RTConstraint"; + } + enum "mvpn" { + value 8; + description + "MVPN"; + } + enum "flow" { + value 9; + description + "FLOW"; + } + enum "vpn-mcast" { + value 10; + description + "VPN Multicast"; + } + enum "evpn" { + value 11; + description + "EVPN"; + } + enum "saf-none" { + value 12; + description + "No SAFI"; + } + enum "saf-unknown" { + value 13; + description + "Unknown"; + } + } + description + "Sub Address Family"; + } + + typedef Address-family { + type enumeration { + enum "ipv4" { + value 0; + description + "IPv4 Address Family"; + } + enum "ipv6" { + value 1; + description + "IPv6 Address Family"; + } + enum "l2vpn" { + value 2; + description + "L2VPN Address Family"; + } + enum "ls" { + value 3; + description + "LINKSTATE Address Family"; + } + enum "af-none" { + value 4; + description + "No Address Family"; + } + enum "af-unknown" { + value 5; + description + "Unknown Address Family"; + } + } + description + "Address Family"; + } + + typedef Object-status { + type enumeration { + enum "active" { + value 0; + description + "The object is in use"; + } + enum "inactive" { + value 1; + description + "The object is referenced by another object, but + not used"; + } + enum "unused" { + value 2; + description + "The object is not used or referenced"; + } + } + description + "Whether an RPL object is used/referenced"; + } + + typedef String { + type string; + description + "String"; + } + + grouping SET-INFO { + description + "List of sets"; + leaf set-domain { + type string; + description + "Domain of sets"; + } + leaf-list set-name { + type String; + description + "Names of sets in this domain"; + } + } + + grouping SET-LIST { + description + "List of sets in one domain"; + uses SET-INFO; + } + + grouping RPL-SETS-INFO { + description + "Names of set objects"; + list sets { + description + "List of sets in several domains"; + uses SET-LIST; + } + } + + grouping CLIENT-INFO { + description + "Policy attachment information"; + leaf protocol { + type string; + description + "Protocol to which policy attached"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf proto-instance { + type string; + description + "Protocol instance"; + } + leaf af-name { + type Address-family; + description + "Address Family Identifier"; + } + leaf saf-name { + type Sub-address-family; + description + "Subsequent Address Family Identifier"; + } + leaf neighbor-address { + type string; + description + "Neighbor IP Address"; + } + leaf neighbor-af-name { + type Address-family; + description + "Neighbor IP Address Family"; + } + leaf group-name { + type string; + description + "Neighbor Group Name"; + } + leaf direction { + type Attach-point-direction; + description + "Direction In or Out"; + } + leaf group { + type Group; + description + "Neighbor Group "; + } + leaf source-protocol { + type string; + description + "Source Protocol to redistribute, Source Protocol + can be one of the following values{all, + connected, local, static, bgp, rip, isis, ospf + ,ospfv3, eigrp, unknown }"; + } + leaf aggregate-network-address { + type string; + description + "Aggregate IP address or Network IP Address in + IPv4 or IPv6 Format"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf instance { + type string; + description + "Instance"; + } + leaf area-id { + type string; + description + "OSPF Area ID in Decimal Integer Format"; + } + leaf propogate-from { + type int32; + description + "ISIS Propogate From Level"; + } + leaf propogate-to { + type int32; + description + "ISIS Propogate To Level"; + } + leaf route-policy-name { + type string; + description + "Policy that uses object in question"; + } + leaf attached-policy { + type string; + description + "The attached policy that (maybe indirectly) uses + the object in question"; + } + leaf attach-point { + type string; + description + "Name of attach point where policy is attached"; + } + } + + grouping RPL-ATTACHMENT-INFO { + description + "Places where a policy is attached"; + list binding { + description + "bindings list"; + uses CLIENT-INFO; + } + } + + grouping REF-INFO { + description + "Set reference information"; + leaf route-policy-name { + type string; + description + "Name of policy"; + } + leaf used-directly { + type boolean; + description + "Whether the policy uses this object directly or + indirectly"; + } + leaf status { + type Object-status; + description + "Active, Inactive, or Unused"; + } + } + + grouping RPL-REFERENCES-INFO { + description + "Set references list"; + list reference { + description + "Information about policies referring to this + object"; + uses REF-INFO; + } + } + + grouping RPL-OBJECTS-INFO { + description + "Names of policy objects"; + leaf-list object { + type String; + description + "Policy objects"; + } + } + + grouping RPL-MAX-LIMITS-INFO { + description + "Policy maximum limits info"; + leaf maximum-lines-of-policy { + type uint32; + description + "Maximum lines of configuration allowable for all + policies and sets"; + } + leaf current-lines-of-policy-limit { + type uint32; + description + "Number of lines of configuration for + policies/sets currently allowed"; + } + leaf current-lines-of-policy-used { + type uint32; + description + "Current number of lines configured for all + policies and sets"; + } + leaf maximum-number-of-policies { + type uint32; + description + "Maximum number of policies allowable"; + } + leaf current-number-of-policies-limit { + type uint32; + description + "Number of policies currently allowed"; + } + leaf current-number-of-policies-used { + type uint32; + description + "Current number of policies configured"; + } + leaf compiled-policies-length { + type uint32; + description + "The total compiled length of all policies"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper.yang new file mode 100644 index 0000000..970ff9b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-policy-repository-oper.yang @@ -0,0 +1,337 @@ +module Cisco-IOS-XR-policy-repository-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-policy-repository-oper"; + prefix policy-repository-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-policy-repository-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR policy-repository package operational data. + + This module contains definitions + for the following management objects: + routing-policy: Routing policy operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping UNUSED { + description + "Common node of policies, as-path, community, + large-community, extended-community-cost, rd, + extended-community-rt, extended-community-soo, + extended-community-opaque, + extended-community-seg-nh, + extended-community-bandwidth, prefix, esi, etag, + mac, tag, ospf-area"; + container unused { + description + "All objects of a given type that are not + referenced at all"; + uses RPL-OBJECTS-INFO; + } + } + + grouping SET-TABLE { + description + "Common node of as-path, community, + large-community, extended-community-cost, rd, + extended-community-rt, extended-community-soo, + extended-community-opaque, + extended-community-seg-nh, + extended-community-bandwidth, prefix, esi, etag, + mac, tag, ospf-area"; + container sets { + description + "Information about individual sets"; + list set { + key "set-name"; + description + "Information about an individual set"; + leaf set-name { + type xr:Cisco-ios-xr-string; + description + "Set name"; + } + uses USED-BY; + uses ATTACHED; + } + } + } + + grouping INACTIVE { + description + "Common node of policies, as-path, community, + large-community, extended-community-cost, rd, + extended-community-rt, extended-community-soo, + extended-community-opaque, + extended-community-seg-nh, + extended-community-bandwidth, prefix, esi, etag, + mac, tag, ospf-area"; + container inactive { + description + "All objects of a given type that are not + attached to a protocol"; + uses RPL-OBJECTS-INFO; + } + } + + grouping USED-BY { + description + "Common node of route-policy, set"; + container used-by { + description + "Policies that use this object, directly or + indirectly"; + uses RPL-REFERENCES-INFO; + } + } + + grouping ACTIVE { + description + "Common node of policies, as-path, community, + large-community, extended-community-cost, rd, + extended-community-rt, extended-community-soo, + extended-community-opaque, + extended-community-seg-nh, prefix, esi, etag, mac + , tag, ospf-area"; + container active { + description + "All objects of a given type that are attached to + a protocol"; + uses RPL-OBJECTS-INFO; + } + } + + grouping ATTACHED { + description + "Common node of route-policy, set"; + container attached { + description + "Information about where this policy or set is + attached"; + uses RPL-ATTACHMENT-INFO; + } + } + + container routing-policy { + config false; + description + "Routing policy operational data"; + container limits { + description + "Information about configured limits and the + current values"; + uses RPL-MAX-LIMITS-INFO; + } + container policies { + description + "Information about configured route policies"; + container route-policies { + description + "Information about individual policies"; + list route-policy { + key "route-policy-name"; + description + "Information about an individual policy"; + container policy-uses { + description + "Information about which policies and sets + this policy uses"; + container directly-used-policies { + description + "Policies that this policy uses directly"; + uses RPL-OBJECTS-INFO; + } + container all-used-sets { + description + "Sets used by this policy, or by policies + that it uses"; + uses RPL-SETS-INFO; + } + container directly-used-sets { + description + "Sets that this policy uses directly"; + uses RPL-SETS-INFO; + } + container all-used-policies { + description + "Policies used by this policy, or by policies + that it uses"; + uses RPL-OBJECTS-INFO; + } + } + leaf route-policy-name { + type xr:Cisco-ios-xr-string; + description + "Route policy name"; + } + uses USED-BY; + uses ATTACHED; + } + } + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container sets { + description + "Information about configured sets"; + container etag { + description + "Information about Etag sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container ospf-area { + description + "Information about OSPF Area sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container extended-community-opaque { + description + "Information about Extended Community Opaque + sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container extended-community-seg-nh { + description + "Information about Extended Community SegNH sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container extended-community-soo { + description + "Information about Extended Community SOO sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container tag { + description + "Information about Tag sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container prefix { + description + "Information about AS Path sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container community { + description + "Information about Community sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container as-path { + description + "Information about AS Path sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container large-community { + description + "Information about Large Community sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container esi { + description + "Information about Esi sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container extended-community-bandwidth { + description + "Information about Extended Community Bandwidth + sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + } + container extended-community-rt { + description + "Information about Extended Community RT sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container rd { + description + "Information about RD sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container mac { + description + "Information about Mac sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + container extended-community-cost { + description + "Information about Extended Community Cost sets"; + uses SET-TABLE; + uses UNUSED; + uses INACTIVE; + uses ACTIVE; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper-sub1.yang new file mode 100644 index 0000000..ea72e26 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper-sub1.yang @@ -0,0 +1,225 @@ +submodule Cisco-IOS-XR-ppp-ea-oper-sub1 { + belongs-to Cisco-IOS-XR-ppp-ea-oper { + prefix Cisco-IOS-XR-ppp-ea-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ppp-ea package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ppp-ea-adj-state { + type enumeration { + enum "ppp-ea-adj-state-not-installed" { + value 0; + description + "Ajacency not installed in AIB"; + } + enum "ppp-ea-adj-state-installed" { + value 1; + description + "Adjacency installed in AIB"; + } + } + description + "Ppp ea adj state"; + } + + grouping PPP-EA-INTERFACE-INFO { + description + "PPP EA interface information"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf is-lcp-running { + type boolean; + description + "TRUE if LCP is running in the dataplane for the + interface"; + } + leaf is-ipcp-running { + type boolean; + description + "TRUE if IPCP is running in the dataplane for the + interface"; + } + leaf is-ipv6cp-running { + type boolean; + description + "TRUE if IPV6CP is running in the dataplane for + the interface"; + } + leaf is-mplscp-running { + type boolean; + description + "TRUE if MPLSCP is running in the dataplane for + the interface"; + } + leaf local-mtu { + type uint16; + description + "Local interface MTU"; + } + leaf local-mrru { + type uint16; + description + "Local MRRU"; + } + leaf peer-mrru { + type uint16; + description + "Peer MRRU"; + } + leaf local-magic { + type uint32; + description + "Local magic number"; + } + leaf peer-magic { + type uint32; + description + "Peer magic number"; + } + leaf local-mcmp-classes { + type uint8; + description + "Local number of MCMP Suspension classes"; + } + leaf peer-mcmp-classes { + type uint8; + description + "Peer number of MCMP Suspension classes"; + } + leaf echo-request-interval { + type uint32; + description + "Echo-Request interval"; + } + leaf echo-request-retry-count { + type uint32; + description + "Echo-Request retry count"; + } + leaf is-multilink-bundle { + type boolean; + description + "TRUE if this is a Multilink bundle interface"; + } + leaf synchronized { + type boolean; + description + "MA synchronization"; + } + leaf forwarding-enabled { + type boolean; + description + "Forwarding State"; + } + leaf multilink-interface { + type xr:Interface-name; + description + "Multilink interface that this interface is a + member of, if any"; + } + leaf l2-tunnel-enabled { + type boolean; + description + "L2 Tunnel State"; + } + leaf l2-provisioned { + type boolean; + description + "L2 Provisioned State"; + } + leaf l2ip-interworking-enabled { + type boolean; + description + "L2 IP Interworking State"; + } + leaf is-vpdn-tunneled { + type boolean; + description + "Is VPDN tunneled"; + } + leaf xconnect-id { + type uint32; + description + "XConnect ID"; + } + leaf parent-interface-handle { + type xr:Interface-name; + description + "Parent Interface Handle"; + } + leaf vrf-table-id { + type uint32; + description + "IPCP VRF Table ID"; + } + leaf ipv6vrf-table-id { + type uint32; + description + "IPv6CP VRF Table ID"; + } + leaf l2-adjacency-state { + type Ppp-ea-adj-state; + description + "L2 adjacency state"; + } + leaf l2ip-interworking-adjacency-state { + type Ppp-ea-adj-state; + description + "L2 IP Interworking adjacency state"; + } + leaf lac-adjacency-state { + type Ppp-ea-adj-state; + description + "LAC adjacency state"; + } + leaf interface-adjacency-state { + type Ppp-ea-adj-state; + description + "Interface adjacency state"; + } + leaf ipv4-adjacency-state { + type Ppp-ea-adj-state; + description + "Ipv4 adjacency state"; + } + leaf ipv6-adjacency-state { + type Ppp-ea-adj-state; + description + "IPv6 adjacency state"; + } + leaf mpls-adjacency-state { + type Ppp-ea-adj-state; + description + "MPLS adjacency state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper.yang new file mode 100644 index 0000000..cbe52b3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ea-oper.yang @@ -0,0 +1,76 @@ +module Cisco-IOS-XR-ppp-ea-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ea-oper"; + prefix ppp-ea-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ppp-ea-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ea package operational data. + + This module contains definitions + for the following management objects: + pppea: PPPEA operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pppea { + config false; + description + "PPPEA operational data"; + container nodes { + description + "Per node PPPEA operational data"; + list node { + key "node-name"; + description + "The PPPEA operational data for a particular + node"; + container ea-interface-names { + description + "Show interface related information from the + PPP EA"; + list ea-interface-name { + key "interface-name"; + description + "Interface name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface running PPPEA"; + } + uses PPP-EA-INTERFACE-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-cfg.yang new file mode 100644 index 0000000..5698c49 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-cfg.yang @@ -0,0 +1,46 @@ +module Cisco-IOS-XR-ppp-ma-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-cfg"; + prefix ppp-ma-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ppp { + description + "Interface PPP configuration data"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang new file mode 100644 index 0000000..f92464e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-fsm-cfg.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-ppp-ma-fsm-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-fsm-cfg"; + prefix ppp-ma-fsm-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-fsm package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ppp { + description + "Interface PPP configuration data"; + container fsm { + description + "PPP FSM configuration data"; + leaf retry-timeout { + type uint32 { + range "1..10"; + } + default "3"; + description + "This specifies the maximum time to wait for a + response during PPP negotiation"; + } + leaf max-unacknowledged-term-requests { + type uint32 { + range "2..10"; + } + default "2"; + description + "This specifies the maximum number of + Term-Requests"; + } + leaf max-consecutive-conf-naks { + type uint32 { + range "2..10"; + } + default "5"; + description + "This specifies the maximum number of + consecutive Conf-Naks"; + } + leaf max-unacknowledged-conf-requests { + type uint32 { + range "4..20"; + } + default "10"; + description + "This specifies the maximum number of + unacknowledged Conf-Requests"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang new file mode 100644 index 0000000..bceec24 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-gbl-cfg.yang @@ -0,0 +1,366 @@ +module Cisco-IOS-XR-ppp-ma-gbl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-gbl-cfg"; + prefix ppp-ma-gbl-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-gbl package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ppp-authentication-method-gbl { + type enumeration { + enum "pap" { + value 1; + description + "PAP"; + } + enum "chap" { + value 2; + description + "CHAP"; + } + enum "ms-chap" { + value 3; + description + "MS CHAP"; + } + } + description + "Ppp authentication method gbl"; + } + + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + container ppp-template { + description + "PPP template configuration data"; + container fsm { + description + "PPP FSM global template configuration data"; + leaf max-consecutive-conf-naks { + type uint32 { + range "2..10"; + } + default "5"; + description + "This specifies the maximum number of + consecutive Conf-Naks"; + } + leaf max-unacknowledged-conf-requests { + type uint32 { + range "4..20"; + } + default "10"; + description + "This specifies the maximum number of + unacknowledged Conf-Requests"; + } + leaf retry-timeout { + type uint32 { + range "1..10"; + } + default "3"; + description + "This specifies the maximum time to wait for a + response during PPP negotiation"; + } + leaf protocol-reject-timeout { + type uint32 { + range "1..60"; + } + default "60"; + description + "This specifies the maximum time to wait before + sending Protocol Reject"; + } + } + container lcp { + description + "PPP LCP global template configuration data"; + container absolute-timeout { + description + "This specifies the session absolute timeout + value"; + leaf minutes { + type uint32 { + range "0..35000000"; + } + description + "Minutes"; + } + leaf seconds { + type uint32 { + range "0..59"; + } + description + "Seconds"; + } + } + container delay { + description + "This specifies the time to delay before + starting active LCPnegotiations"; + leaf seconds { + type uint32 { + range "0..255"; + } + description + "Seconds"; + } + leaf milliseconds { + type uint32 { + range "0..999"; + } + description + "Milliseconds"; + } + } + container authentication { + description + "PPP authentication parameters"; + container methods { + description + "This specifies the PPP link authentication + method"; + leaf-list method { + type Ppp-authentication-method-gbl; + max-elements "3"; + description + "Select between one and three authentication + methods in order of preference"; + } + } + leaf chap-host-name { + type string; + description + "This specifies the CHAP hostname"; + } + leaf pap { + type int32; + description + "<1> for accepting null-passwordduring + authentication"; + } + leaf mschap-host-name { + type string; + description + "This specifies the MS-CHAP hostname"; + } + leaf max-authentication-failures { + type uint32 { + range "0..10"; + } + description + "This specifies whether to allow multiple + authentication failures and, if so, how many"; + } + leaf timeout { + type uint32 { + range "3..30"; + } + default "10"; + description + "Maximum time to wait for an authentication + response"; + } + } + container keepalive { + description + "This specifies the rate at which EchoReq + packets are sent"; + leaf keepalive-disable { + type boolean; + description + "TRUE to disable keepalives, FALSE to specify + a new keepalive interval"; + } + leaf interval { + when "../keepalive-disable = 0" { + description + "../KeepaliveDisable = "; + } + type uint32 { + range "10..180"; + } + description + "The keepalive interval. Leave unspecified + when disabling keepalives"; + } + leaf retry-count { + when "../keepalive-disable = 0" { + description + "../KeepaliveDisable = "; + } + type uint32 { + range "1..255"; + } + description + "The keepalive retry count. Leave unspecified + when disabling keepalives"; + } + } + leaf renegotiation { + type empty; + description + "Specify whether to ignore attempts to + renegotiate LCP"; + } + leaf service-type { + type uint32 { + range "0..15"; + } + default "0"; + description + "This is the Service-Type"; + } + leaf send-term-request-on-shut-down { + type empty; + description + "Enable Sending LCP Terminate request on + shutdown"; + } + leaf mru-ignore { + type empty; + description + "Ignore MRU negotiated with peer while setting + interface BW"; + } + } + container ipv6cp { + description + "PPP IPv6CP global template configuration data"; + leaf passive { + type empty; + description + "Specify whether to run IPv6CP in Passive mode"; + } + leaf renegotiation { + type empty; + description + "Specify whether to ignore attempts to + renegotiate IPv6CP"; + } + leaf peer-interface-id { + type string; + description + "Specify the Interface-Id to impose on the peer"; + } + leaf protocol-reject { + type empty; + description + "Specify whether to protocol reject IPv6CP"; + } + } + container ipcp { + description + "PPP IPCP global template configuration data"; + container wins { + description + "IPCP WINS parameters"; + container wins-addresses { + description + "Specify WINS address(es) to provide"; + leaf primary { + type inet:ipv4-address-no-zone; + description + "Primary WINS IP address"; + } + leaf secondary { + type inet:ipv4-address-no-zone; + description + "Secondary WINS IP address"; + } + } + } + container dns { + description + "IPCP DNS parameters"; + container dns-addresses { + description + "Specify DNS address(es) to provide"; + leaf primary { + type inet:ipv4-address-no-zone; + description + "Primary DNS IP address"; + } + leaf secondary { + type inet:ipv4-address-no-zone; + description + "Secondary DNS IP address"; + } + } + } + container peer-address { + description + "IPCP address parameters"; + leaf default { + type inet:ipv4-address-no-zone; + description + "Specify an IP address to assign to peers + through IPCP"; + } + leaf pool { + type string; + description + "Accepts an IP address from the peer if in the + pool, else allocates one from the pool"; + } + } + leaf renegotiation { + type empty; + description + "Specify whether to ignore attempts to + renegotiate IPCP"; + } + leaf passive { + type empty; + description + "Specify whether to run IPCP in Passive mode"; + } + leaf protocol-reject { + type empty; + description + "Specify whether to protocol reject IPCP"; + } + leaf peer-netmask { + type inet:ipv4-address-no-zone; + description + "Specify the IPv4 netmask to negotiate for the + peer"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang new file mode 100644 index 0000000..7b38386 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcp-cfg.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-ppp-ma-ipcp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcp-cfg"; + prefix ppp-ma-ipcp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-ipcp package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ppp { + description + "Interface PPP configuration data"; + container ipcp { + description + "PPP IPCP configuration data"; + container peer-address { + description + "IPCP address parameters"; + leaf default { + type inet:ipv4-address-no-zone; + description + "Specify an IP address to assign to peers + through IPCP"; + } + } + container dns { + description + "IPCP DNS parameters"; + container dns-addresses { + description + "Specify DNS address(es) to provide"; + leaf primary { + type inet:ipv4-address-no-zone; + description + "Primary DNS IP address"; + } + leaf secondary { + type inet:ipv4-address-no-zone; + description + "Secondary DNS IP address"; + } + } + } + leaf neighbor-route-disable { + type empty; + description + "Disable Neighbor Route installation"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang new file mode 100644 index 0000000..62138b0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg.yang @@ -0,0 +1,59 @@ +module Cisco-IOS-XR-ppp-ma-ipcpiw-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ipcpiw-cfg"; + prefix ppp-ma-ipcpiw-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-ipcpiw package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ppp { + description + "Interface PPP configuration data"; + container ipcpiw { + description + "PPP IPCPIW configuration data"; + leaf proxy-address { + type inet:ipv4-address-no-zone; + description + "Specify an IP address to publish to peers + through IPCPIW"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang new file mode 100644 index 0000000..daac9a1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-lcp-cfg.yang @@ -0,0 +1,253 @@ +module Cisco-IOS-XR-ppp-ma-lcp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-lcp-cfg"; + prefix ppp-ma-lcp-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-lcp package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ppp-authentication-method { + type enumeration { + enum "pap" { + value 1; + description + "PAP"; + } + enum "chap" { + value 2; + description + "CHAP"; + } + enum "ms-chap" { + value 3; + description + "MS CHAP"; + } + } + description + "Ppp authentication method"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ppp { + description + "Interface PPP configuration data"; + container mcmp { + description + "PPP Multiclass Multilink parameters"; + container local { + description + "This specifies the MCMP options for the local + host"; + leaf initial { + type uint32 { + range "1..16"; + } + default "2"; + description + "Local Initial #classes"; + } + leaf maximum { + type uint32 { + range "1..16"; + } + default "4"; + description + "Local Maximum #classes"; + } + } + leaf enable { + type empty; + description + "This specifies that MCMP is enabled on this + interface"; + } + leaf remote { + type uint32 { + range "1..16"; + } + default "2"; + description + "This specifies the MCMP options for the peer"; + } + } + container lcp { + description + "PPP LCP configuration data"; + container multilink { + description + "Multilink configuration"; + container minimum-active { + description + "Minimum criteria for the linestate of a + Multilink PPPinterface to be brought up"; + leaf links { + type uint32 { + range "1..65535"; + } + default "1"; + description + "Number of active links needed to bring up an + MP interface"; + } + } + } + container pap { + description + "Password Authentication Protocol (PAP) + configuration data"; + container send-user-info { + description + "This specifies the outbound PAP username and + password"; + leaf username { + type string; + description + "Outbound PAP username"; + } + leaf password { + type xr:Proprietary-password; + description + "Outbound PAP password"; + } + } + leaf refuse { + type empty; + description + "This specifies whether to refuse to + authenticate using PAP"; + } + } + container loop-back { + description + "Loopback configuration"; + leaf ignore { + type empty; + description + "Allow magic numbers to be equal"; + } + } + container ms-chap { + description + "Microsoft Challenge Handshake Authentication + Protocol (MS-CHAP) configuration data"; + leaf password { + type xr:Proprietary-password; + description + "This specifies the default MS-CHAP password"; + } + leaf host-name { + type string; + description + "This specifies the MS-CHAP hostname"; + } + leaf refuse { + type empty; + description + "This specifies whether to refuse to + authenticate using MS-CHAP"; + } + } + container authentication { + description + "PPP authentication parameters"; + container method { + description + "This specifies the PPP link authentication + method"; + leaf name { + type string; + description + "Use an authentication list with this name"; + } + leaf-list method { + type Ppp-authentication-method; + max-elements "3"; + description + "Select between one and three authentication + methods in order of preference"; + } + } + leaf max-authentication-failures { + type uint32 { + range "0..10"; + } + description + "This specifies whether to allow multiple + authentication failures and, if so, how many"; + } + leaf timeout { + type uint32 { + range "3..30"; + } + default "10"; + description + "Maximum time to wait for an authentication + response"; + } + } + container chap { + description + "Challenge Handshake Authentication Protocol + (CHAP) configuration data"; + leaf password { + type xr:Proprietary-password; + description + "This specifies the default CHAP password"; + } + leaf host-name { + type string; + description + "This specifies the CHAP hostname"; + } + leaf refuse { + type empty; + description + "This specifies whether to refuse to + authenticate using CHAP"; + } + } + leaf service-type { + type int32; + description + "This specifies whether to allow multiple + authentication failures and, if so, how many"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub1.yang new file mode 100644 index 0000000..dbd2c69 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub1.yang @@ -0,0 +1,181 @@ +submodule Cisco-IOS-XR-ppp-ma-oper-sub1 { + belongs-to Cisco-IOS-XR-ppp-ma-oper { + prefix Cisco-IOS-XR-ppp-ma-oper; + } + + include Cisco-IOS-XR-ppp-ma-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PPP-OPER-SUMMARY-LCP-AUTH-PHASES { + description + "Summary of sessions in each LCP/Auth Phase"; + leaf lcp-not-negotiated { + type uint32; + description + "Number of sessions with LCP not negotiated"; + } + leaf authenticating { + type uint32; + description + "Number of sessions authenticating"; + } + leaf line-held-down { + type uint32; + description + "Number of sessions negotiated but with the line + held down"; + } + leaf up-local-term { + type uint32; + description + "Number of locally terminated sessions brought up"; + } + leaf up-l2-fwded { + type uint32; + description + "Number of L2 forwarded sessions brought up"; + } + leaf up-tunneled { + type uint32; + description + "Number of VPDN tunneled sessions brought up"; + } + } + + grouping PPP-OPER-SUMMARY-FSM-STATES-NCP { + description + "Summary of FSM States for a given NCP"; + leaf ncp-identifier { + type Ncp-ident; + description + "NCP Identifier"; + } + leaf total { + type uint32; + description + "Total number of FSMs running for this NCP"; + } + leaf-list count { + type uint32; + max-elements "10"; + description + "Number of FSMs in each State"; + } + } + + grouping PPP-OPER-SUMMARY-FSM-STATES-LCP { + description + "Summary of FSM States for LCP"; + leaf total { + type uint32; + description + "Total number of LCP FSMs running"; + } + leaf-list count { + type uint32; + max-elements "10"; + description + "Number of FSMs in each State"; + } + } + + grouping PPP-OPER-SUMMARY-FSM-STATES { + description + "Summary of sessions in each FSM State"; + container lcpfsm-states { + description + "Array of per-LCP FSM States"; + uses PPP-OPER-SUMMARY-FSM-STATES-LCP; + } + list ncpfsm-states-array { + description + "Array of per-NCP FSM States"; + uses PPP-OPER-SUMMARY-FSM-STATES-NCP; + } + } + + grouping PPP-OPER-SUMMARY-INTFS { + description + "Interfaces running PPP"; + leaf pos-count { + type uint32; + description + "POS Count"; + } + leaf serial-count { + type uint32; + description + "Serial Count"; + } + leaf pppoe-count { + type uint32; + description + "PPPoE Count"; + } + leaf multilink-bundle-count { + type uint32; + description + "Multilink Bundle Count"; + } + leaf gcc0-count { + type uint32; + description + "GCC0 Count"; + } + leaf gcc1-count { + type uint32; + description + "GCC1 Count"; + } + leaf total { + type uint32; + description + "Total Count"; + } + } + + grouping PPP-OPER-SUMMARY { + description + "PPP Summary"; + container intfs { + description + "Interfaces running PPP"; + uses PPP-OPER-SUMMARY-INTFS; + } + container fsm-states { + description + "FSM States"; + uses PPP-OPER-SUMMARY-FSM-STATES; + } + container lcp-auth-phases { + description + "LCP/Auth Phases"; + uses PPP-OPER-SUMMARY-LCP-AUTH-PHASES; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub2.yang new file mode 100644 index 0000000..e78796b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub2.yang @@ -0,0 +1,379 @@ +submodule Cisco-IOS-XR-ppp-ma-oper-sub2 { + belongs-to Cisco-IOS-XR-ppp-ma-oper { + prefix Cisco-IOS-XR-ppp-ma-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ppp-lcp-mp-mbr-state { + type enumeration { + enum "ppp-lcp-mp-mbr-state-detached" { + description + "Detached member"; + } + enum "ppp-lcp-mp-mbr-state-lcp-not-negotiated" { + description + "LCP has not been negotiated"; + } + enum "ppp-lcp-mp-mbr-state-link-noise" { + description + "Link Noise detected"; + } + enum "ppp-lcp-mp-mbr-state-bundle-shutdown" { + description + "Multilink Bundle is shutdown"; + } + enum "ppp-lcp-mp-mbr-state-mrru-rejected" { + description + "MRRU has been rejected"; + } + enum "ppp-lcp-mp-mbr-state-mrru-mismatch" { + description + "MRRU mismatch"; + } + enum "ppp-lcp-mp-mbr-state-ed-mismatch" { + description + "ED mismatch"; + } + enum "ppp-lcp-mp-mbr-state-auth-name-mismatch" { + description + "Authenticated name mismatch"; + } + enum "ppp-lcp-mp-mbr-state-mcmp-rejected" { + description + "MCMP option rejected by peer"; + } + enum "ppp-lcp-mp-mbr-state-mcmp-not-negotiated" { + description + "MCMP option not negotiated"; + } + enum "ppp-lcp-mp-mbr-state-mcmp-local-mismatch" { + description + "Local MCMP class mismatch"; + } + enum "ppp-lcp-mp-mbr-state-mcmp-peer-mismatch" { + description + "Peer MCMP class mismatch"; + } + enum "ppp-lcp-mp-mbr-state-standby-up" { + description + "SSO Standby up"; + } + enum "ppp-lcp-mp-mbr-state-active" { + description + "Active member"; + } + } + description + "MP member states"; + } + + typedef Ppp-sso-fsm-state { + type enumeration { + enum "ppp-sso-state-not-ready-0" { + value 0; + description + "Not ready"; + } + enum "ppp-sso-state-standby-unnegd-1" { + value 1; + description + "S UnNegd"; + } + enum "ppp-sso-state-active-down-2" { + value 2; + description + "A Down"; + } + enum "ppp-sso-state-deactivating-3" { + value 3; + description + "Deactivating"; + } + enum "ppp-sso-state-active-unnegd-4" { + value 4; + description + "A UnNegd"; + } + enum "ppp-sso-state-standby-negd-5" { + value 5; + description + "S Negd"; + } + enum "ppp-sso-state-activating-6" { + value 6; + description + "Activating"; + } + enum "ppp-sso-state-active-negd-7" { + value 7; + description + "A Negd"; + } + } + description + "Ppp sso fsm state"; + } + + typedef Ppp-fsm-state { + type enumeration { + enum "ppp-fsm-state-initial-0" { + value 0; + description + "Connection Idle"; + } + enum "ppp-fsm-state-starting-1" { + value 1; + description + "This layer required, but lower layer down"; + } + enum "ppp-fsm-state-closed-2" { + value 2; + description + "Lower layer up, but this layer not required"; + } + enum "ppp-fsm-state-stopped-3" { + value 3; + description + "Listening for a Config Request"; + } + enum "ppp-fsm-state-closing-4" { + value 4; + description + "Shutting down due to local change"; + } + enum "ppp-fsm-state-stopping-5" { + value 5; + description + "Shutting down due to peer's actions"; + } + enum "ppp-fsm-state-req-sent-6" { + value 6; + description + "Config Request Sent"; + } + enum "ppp-fsm-state-ack-rcvd-7" { + value 7; + description + "Config Ack Received"; + } + enum "ppp-fsm-state-ack-sent-8" { + value 8; + description + "Config Ack Sent"; + } + enum "ppp-fsm-state-opened-9" { + value 9; + description + "Connection Open"; + } + } + description + "Ppp fsm state"; + } + + typedef Im-state { + type uint32; + description + "Im state"; + } + + typedef Ncp-ident { + type enumeration { + enum "cdpcp" { + value 1; + description + "CDP control protocol"; + } + enum "ipcp" { + value 2; + description + "IPv4 control protocol"; + } + enum "ipcpiw" { + value 3; + description + "IPv4 Interworking control protocol"; + } + enum "ipv6cp" { + value 4; + description + "IPv6 control protocol"; + } + enum "mplscp" { + value 5; + description + "MPLS control protocol"; + } + enum "osicp" { + value 6; + description + "OSI (CLNS) control protocol"; + } + } + description + "Ncp ident"; + } + + grouping PPP-OPER-SSO-FSM-STATE { + description + "PPP SSO FSM State"; + leaf is-running { + type boolean; + description + "Is SSO FSM Running"; + } + leaf state { + type Ppp-sso-fsm-state; + description + "SSO FSM State"; + } + } + + grouping PPP-OPER-SSO-STATE { + description + "PPP SSO State"; + container lcp-state { + description + "LCP SSO State"; + uses PPP-OPER-SSO-FSM-STATE; + } + container of-us-auth-state { + description + "Of-us Authentication SSO State"; + uses PPP-OPER-SSO-FSM-STATE; + } + container of-peer-auth-state { + description + "Of-peer Authentication SSO State"; + uses PPP-OPER-SSO-FSM-STATE; + } + container ipcp-state { + description + "IPCP SSO State"; + uses PPP-OPER-SSO-FSM-STATE; + } + leaf session-id-xr { + type uint32; + description + "SSRP Session ID"; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + } + + grouping PPP-OPER-SSO-SUMMARY-STATES { + description + "Summary of SSO FSM States"; + leaf total { + type uint16; + description + "Total number of SSO FSMs running"; + } + leaf-list count { + type uint16; + max-elements "8"; + description + "Number of SSO FSMs in each State"; + } + } + + grouping PPP-OPER-SSO-SUMMARY { + description + "PPP SSO Summary information"; + container lcp-states { + description + "LCP SSO FSM States"; + uses PPP-OPER-SSO-SUMMARY-STATES; + } + container of-us-auth-states { + description + "Of-us Authentication SSO FSM States"; + uses PPP-OPER-SSO-SUMMARY-STATES; + } + container of-peer-auth-states { + description + "Of-peer Authentication SSO FSM States"; + uses PPP-OPER-SSO-SUMMARY-STATES; + } + container ipcp-states { + description + "IPCP SSO FSM States"; + uses PPP-OPER-SSO-SUMMARY-STATES; + } + } + + grouping PPP-OPER-SSO-ERROR { + description + "PPP SSO Error"; + leaf is-error { + type boolean; + description + "Is SSO Error"; + } + leaf error { + type uint32; + description + "SSO Error"; + } + leaf context { + type uint32; + description + "Context"; + } + } + + grouping PPP-OPER-SSO-ALERTS { + description + "PPP SSO Alerts information"; + container lcp-error { + description + "LCP SSO Error"; + uses PPP-OPER-SSO-ERROR; + } + container of-us-auth-error { + description + "Of-us Authentication SSO Error"; + uses PPP-OPER-SSO-ERROR; + } + container of-peer-auth-error { + description + "Of-peer Authentication SSO Error"; + uses PPP-OPER-SSO-ERROR; + } + container ipcp-error { + description + "IPCP SSO Error"; + uses PPP-OPER-SSO-ERROR; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub3.yang new file mode 100644 index 0000000..ad06903 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub3.yang @@ -0,0 +1,573 @@ +submodule Cisco-IOS-XR-ppp-ma-oper-sub3 { + belongs-to Cisco-IOS-XR-ppp-ma-oper { + prefix Cisco-IOS-XR-ppp-ma-oper; + } + + include Cisco-IOS-XR-ppp-ma-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PPP-OPER-NCP-STATS-INTERFACE { + description + "PPP per-interface NCP statistics"; + leaf ncp-identifier { + type Ncp-ident; + description + "NCP identifier"; + } + leaf conf-req-sent { + type uint16; + description + "Conf Req Packets Sent"; + } + leaf conf-req-rcvd { + type uint16; + description + "Conf Req Packets Received"; + } + leaf conf-ack-sent { + type uint16; + description + "Conf Ack Packets Sent"; + } + leaf conf-ack-rcvd { + type uint16; + description + "Conf Ack Packets Received"; + } + leaf conf-nak-sent { + type uint16; + description + "Conf Nak Packets Sent"; + } + leaf conf-nak-rcvd { + type uint16; + description + "Conf Nak Packets Received"; + } + leaf conf-rej-sent { + type uint16; + description + "Conf Rej Packets Sent"; + } + leaf conf-rej-rcvd { + type uint16; + description + "Conf Rej Packets Received"; + } + } + + grouping PPP-OPER-AUTH-STATS-INTERFACE { + description + "PPP Authentication statistics"; + leaf pap-req-sent { + type uint16; + description + "PAP Request packets sent"; + } + leaf pap-req-rcvd { + type uint16; + description + "PAP Request packets received"; + } + leaf pap-ack-sent { + type uint16; + description + "PAP Ack packets sent"; + } + leaf pap-ack-rcvd { + type uint16; + description + "PAP Ack packets received"; + } + leaf pap-nak-sent { + type uint16; + description + "PAP Nak packets sent"; + } + leaf pap-nak-rcvd { + type uint16; + description + "PAP Nak packets received"; + } + leaf chap-chall-sent { + type uint16; + description + "CHAP challenge packets sent"; + } + leaf chap-chall-rcvd { + type uint16; + description + "CHAP challenge packets received"; + } + leaf chap-resp-sent { + type uint16; + description + "CHAP response packets sent"; + } + leaf chap-resp-rcvd { + type uint16; + description + "CHAP response packets received"; + } + leaf chap-rep-succ-sent { + type uint16; + description + "CHAP reply success packets sent"; + } + leaf chap-rep-succ-rcvd { + type uint16; + description + "CHAP reply success packets received"; + } + leaf chap-rep-fail-sent { + type uint16; + description + "CHAP reply failure packets sent"; + } + leaf chap-rep-fail-rcvd { + type uint16; + description + "CHAP reply failure packets received"; + } + leaf auth-timeout-count { + type uint16; + description + "Authentication timeout count"; + } + } + + grouping PPP-OPER-LCP-STATS-INTERFACE { + description + "PPP per-interface LCP statistics"; + leaf conf-req-sent { + type uint16; + description + "Conf Req Packets Sent"; + } + leaf conf-req-rcvd { + type uint16; + description + "Conf Req Packets Received"; + } + leaf conf-ack-sent { + type uint16; + description + "Conf Ack Packets Sent"; + } + leaf conf-ack-rcvd { + type uint16; + description + "Conf Ack Packets Received"; + } + leaf conf-nak-sent { + type uint16; + description + "Conf Nak Packets Sent"; + } + leaf conf-nak-rcvd { + type uint16; + description + "Conf Nak Packets Received"; + } + leaf conf-rej-sent { + type uint16; + description + "Conf Rej Packets Sent"; + } + leaf conf-rej-rcvd { + type uint16; + description + "Conf Rej Packets Received"; + } + leaf echo-req-sent { + type uint16; + description + "Echo Req Packets Sent"; + } + leaf echo-req-rcvd { + type uint16; + description + "Echo Req Packets Received"; + } + leaf echo-rep-sent { + type uint16; + description + "Echo Rep Packets Sent"; + } + leaf echo-rep-rcvd { + type uint16; + description + "Echo Rep Packets Received"; + } + leaf disc-req-sent { + type uint16; + description + "Disc Req Packets Sent"; + } + leaf disc-req-rcvd { + type uint16; + description + "Disc Req Packets Received"; + } + leaf link-up { + type uint16; + description + "Line Protocol Up count"; + } + leaf link-error { + type uint16; + description + "Keepalive link failure count"; + } + } + + grouping PPP-OPER-STATS-INTERFACE { + description + "PPP interface statistics information"; + container lcp-statistics { + description + "PPP LCP Statistics"; + uses PPP-OPER-LCP-STATS-INTERFACE; + } + container authentication-statistics { + description + "PPP Authentication statistics"; + uses PPP-OPER-AUTH-STATS-INTERFACE; + } + list ncp-statistics-array { + description + "Array of PPP NCP Statistics"; + uses PPP-OPER-NCP-STATS-INTERFACE; + } + } + + grouping PPP-OPER-NCP-STATS-GLOBAL { + description + "PPP Global NCP Statistics"; + leaf ncp-identifier { + type Ncp-ident; + description + "NCP identifier"; + } + leaf conf-req-sent { + type uint64; + description + "Conf Req Packets Sent"; + } + leaf conf-req-rcvd { + type uint64; + description + "Conf Req Packets Received"; + } + leaf conf-ack-sent { + type uint64; + description + "Conf Ack Packets Sent"; + } + leaf conf-ack-rcvd { + type uint64; + description + "Conf Ack Packets Received"; + } + leaf conf-nak-sent { + type uint64; + description + "Conf Nak Packets Sent"; + } + leaf conf-nak-rcvd { + type uint64; + description + "Conf Nak Packets Received"; + } + leaf conf-rej-sent { + type uint64; + description + "Conf Rej Packets Sent"; + } + leaf conf-rej-rcvd { + type uint64; + description + "Conf Rej Packets Received"; + } + leaf term-req-sent { + type uint64; + description + "Term Req Packets Sent"; + } + leaf term-req-rcvd { + type uint64; + description + "Term Req Packets Received"; + } + leaf term-ack-sent { + type uint64; + description + "Term Ack Packets Sent"; + } + leaf term-ack-rcvd { + type uint64; + description + "Term Ack Packets Received"; + } + leaf proto-rej-sent { + type uint64; + description + "Proto Rej Packets Sent"; + } + leaf proto-rej-rcvd { + type uint64; + description + "Proto Rej Packets Received"; + } + } + + grouping PPP-OPER-AUTH-STATS-GLOBAL { + description + "PPP Authentication statistics"; + leaf pap-req-sent { + type uint64; + description + "PAP Request packets sent"; + } + leaf pap-req-rcvd { + type uint64; + description + "PAP Request packets received"; + } + leaf pap-ack-sent { + type uint64; + description + "PAP Ack packets sent"; + } + leaf pap-ack-rcvd { + type uint64; + description + "PAP Ack packets received"; + } + leaf pap-nak-sent { + type uint64; + description + "PAP Nak packets sent"; + } + leaf pap-nak-rcvd { + type uint64; + description + "PAP Nak packets received"; + } + leaf chap-chall-sent { + type uint64; + description + "CHAP challenge packets sent"; + } + leaf chap-chall-rcvd { + type uint64; + description + "CHAP challenge packets received"; + } + leaf chap-resp-sent { + type uint64; + description + "CHAP response packets sent"; + } + leaf chap-resp-rcvd { + type uint64; + description + "CHAP response packets received"; + } + leaf chap-rep-succ-sent { + type uint64; + description + "CHAP reply success packets sent"; + } + leaf chap-rep-succ-rcvd { + type uint64; + description + "CHAP reply success packets received"; + } + leaf chap-rep-fail-sent { + type uint64; + description + "CHAP reply failure packets sent"; + } + leaf chap-rep-fail-rcvd { + type uint64; + description + "CHAP reply failure packets received"; + } + leaf auth-timeout-count { + type uint64; + description + "Authentication timeout count"; + } + } + + grouping PPP-OPER-LCP-STATS-GLOBAL { + description + "PPP Global LCP Statistics"; + leaf conf-req-sent { + type uint64; + description + "Conf Req Packets Sent"; + } + leaf conf-req-rcvd { + type uint64; + description + "Conf Req Packets Received"; + } + leaf conf-ack-sent { + type uint64; + description + "Conf Ack Packets Sent"; + } + leaf conf-ack-rcvd { + type uint64; + description + "Conf Ack Packets Received"; + } + leaf conf-nak-sent { + type uint64; + description + "Conf Nak Packets Sent"; + } + leaf conf-nak-rcvd { + type uint64; + description + "Conf Nak Packets Received"; + } + leaf conf-rej-sent { + type uint64; + description + "Conf Rej Packets Sent"; + } + leaf conf-rej-rcvd { + type uint64; + description + "Conf Rej Packets Received"; + } + leaf term-req-sent { + type uint64; + description + "Term Req Packets Sent"; + } + leaf term-req-rcvd { + type uint64; + description + "Term Req Packets Received"; + } + leaf term-ack-sent { + type uint64; + description + "Term Ack Packets Sent"; + } + leaf term-ack-rcvd { + type uint64; + description + "Term Ack Packets Received"; + } + leaf code-rej-sent { + type uint64; + description + "Code Rej Packets Sent"; + } + leaf code-rej-rcvd { + type uint64; + description + "Code Rej Packets Received"; + } + leaf proto-rej-sent { + type uint64; + description + "Proto Rej Packets Sent"; + } + leaf proto-rej-rcvd { + type uint64; + description + "Proto Rej Packets Received"; + } + leaf echo-req-sent { + type uint64; + description + "Echo Req Packets Sent"; + } + leaf echo-req-rcvd { + type uint64; + description + "Echo Req Packets Received"; + } + leaf echo-rep-sent { + type uint64; + description + "Echo Rep Packets Sent"; + } + leaf echo-rep-rcvd { + type uint64; + description + "Echo Rep Packets Received"; + } + leaf disc-req-sent { + type uint64; + description + "Disc Req Packets Sent"; + } + leaf disc-req-rcvd { + type uint64; + description + "Disc Req Packets Received"; + } + leaf link-up { + type uint64; + description + "Line Protocol Up count"; + } + leaf link-error { + type uint64; + description + "Keepalive link failure count"; + } + } + + grouping PPP-OPER-STATS-GLOBAL { + description + "PPP summary statistics information"; + container lcp-statistics { + description + "PPP LCP Statistics"; + uses PPP-OPER-LCP-STATS-GLOBAL; + } + container authentication-statistics { + description + "PPP Authentication statistics"; + uses PPP-OPER-AUTH-STATS-GLOBAL; + } + list ncp-statistics-array { + description + "Array of PPP NCP Statistics"; + uses PPP-OPER-NCP-STATS-GLOBAL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub4.yang new file mode 100644 index 0000000..556d339 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper-sub4.yang @@ -0,0 +1,562 @@ +submodule Cisco-IOS-XR-ppp-ma-oper-sub4 { + belongs-to Cisco-IOS-XR-ppp-ma-oper { + prefix Cisco-IOS-XR-ppp-ma-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ppp-ma-oper-sub2 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ppp-iphc-compression { + type enumeration { + enum "ppp-iphc-compression-fmt-none" { + value 0; + description + "None"; + } + enum "ppp-iphc-compression-fmt-vj" { + value 1; + description + "VJ"; + } + enum "ppp-iphc-compression-fmt-ietf" { + value 2; + description + "IETF"; + } + enum "ppp-iphc-compression-fmt-iphc" { + value 3; + description + "IPHC"; + } + enum "ppp-iphc-compression-fmt-cisco" { + value 4; + description + "CISCO"; + } + } + description + "IPHC compression type"; + } + + grouping PPP-IPV6CP-INFO { + description + "IPv6CP State information"; + leaf local-address { + type inet:ipv6-address; + description + "Local IPv6 address"; + } + leaf peer-address { + type inet:ipv6-address; + description + "Peer IPv6 address"; + } + } + + grouping PPP-IPCPIW-INFO { + description + "IPCPIW State information"; + leaf local-address { + type inet:ipv4-address; + description + "Local IPv4 address"; + } + leaf peer-address { + type inet:ipv4-address; + description + "Peer IPv4 address"; + } + } + + grouping PPP-IPCP-IPHC-INFO { + description + "IPCP IPHC State information"; + leaf compression-type { + type Ppp-iphc-compression; + description + "Compression type"; + } + leaf tcp-space { + type uint16; + description + "TCP space"; + } + leaf non-tcp-space { + type uint16; + description + "Non-TCP space"; + } + leaf max-period { + type uint16; + description + "Max period"; + } + leaf max-time { + type uint16; + description + "Max time"; + } + leaf max-header { + type uint16; + description + "Max header"; + } + leaf rtp-compression { + type boolean; + description + "RTP compression"; + } + leaf ec-rtp-compression { + type boolean; + description + "EcRTP compression"; + } + } + + grouping PPP-IPCP-INFO { + description + "IPCP State information"; + container local-iphc-options { + description + "Local IPHC options"; + uses PPP-IPCP-IPHC-INFO; + } + container peer-iphc-options { + description + "Peer IPHC options"; + uses PPP-IPCP-IPHC-INFO; + } + leaf local-address { + type inet:ipv4-address; + description + "Local IPv4 address"; + } + leaf peer-address { + type inet:ipv4-address; + description + "Peer IPv4 address"; + } + leaf peer-netmask { + type inet:ipv4-address; + description + "Peer IPv4 netmask"; + } + leaf dns-primary { + type inet:ipv4-address; + description + "Peer DNS Primary"; + } + leaf dns-secondary { + type inet:ipv4-address; + description + "Peer DNS Secondary"; + } + leaf wins-primary { + type inet:ipv4-address; + description + "Peer WINS Primary"; + } + leaf wins-secondary { + type inet:ipv4-address; + description + "Peer WINS Secondary"; + } + leaf is-iphc-configured { + type boolean; + description + "Is IPHC Configured"; + } + } + + grouping PPP-NCP { + description + "PPP NCP"; + container ipcp-info { + when "../type = 'ipcp'" { + description + "../Type = 'IPCP'"; + } + description + "Info for IPCP"; + uses PPP-IPCP-INFO; + } + container ipcpiw-info { + when "../type = 'ipcpiw'" { + description + "../Type = 'IPCPIW'"; + } + description + "Info for IPCPIW"; + uses PPP-IPCPIW-INFO; + } + container ipv6cp-info { + when "../type = 'ipv6cp'" { + description + "../Type = 'IPV6CP'"; + } + description + "Info for IPv6CP"; + uses PPP-IPV6CP-INFO; + } + leaf type { + type Ncp-ident; + description + "Type"; + } + } + + grouping PPP-NCP-INFO { + description + "NCP state information"; + container ncp-info { + description + "Specific NCP info"; + uses PPP-NCP; + } + leaf ncp-state { + type Ppp-fsm-state; + description + "NCP state value"; + } + leaf ncpsso-state { + type Ppp-sso-fsm-state; + description + "NCP SSO State"; + } + leaf is-passive { + type boolean; + description + "Is Passive"; + } + leaf ncp-identifier { + type Ncp-ident; + description + "NCP state identifier"; + } + } + + grouping PPP-AUTH-INFO { + description + "Authentication information"; + leaf is-authenticated { + type boolean; + description + "Is authenticated"; + } + leaf is-sso-authenticated { + type boolean; + description + "Is SSO authenticated"; + } + leaf of-us-auth { + type uint8; + description + "Of Us authentication type"; + } + leaf of-peer-auth { + type uint8; + description + "Of Peer authentication type"; + } + leaf of-us-name { + type string; + description + "Local authenticated name"; + } + leaf of-peer-name { + type string; + description + "Peer's authenticated name"; + } + leaf of-us-sso-state { + type Ppp-sso-fsm-state; + description + "Of Us auth SSO FSM State"; + } + leaf of-peer-sso-state { + type Ppp-sso-fsm-state; + description + "Of Peer auth SSO FSM State"; + } + } + + grouping PPP-TIMEOUT-INFO { + description + "Timeout information"; + leaf minutes { + type uint32; + units "minute"; + description + "Minutes"; + } + leaf seconds { + type uint8; + units "second"; + description + "Seconds"; + } + } + + grouping PPP-MP-MBR-INFO { + description + "MP member information"; + leaf interface { + type xr:Interface-name; + description + "Member Interface"; + } + leaf state { + type Ppp-lcp-mp-mbr-state; + description + "Member State"; + } + } + + grouping PPP-MP-INFO { + description + "MP information"; + leaf is-mp-bundle { + type boolean; + description + "Is an MP bundle"; + } + leaf mp-bundle-interface { + type xr:Interface-name; + description + "MP Bundle Interface"; + } + leaf is-mp-bundle-member { + type boolean; + description + "MP Bundle Member"; + } + leaf mp-group { + type uint32; + description + "MP Group"; + } + leaf active-links { + type uint16; + description + "Number of active links"; + } + leaf inactive-links { + type uint16; + description + "Number of inactive links"; + } + leaf minimum-active-links { + type uint16; + description + "Minimum active links required for the MPbundle + to come up"; + } + leaf mp-state { + type Ppp-lcp-mp-mbr-state; + description + "Member State"; + } + list mp-member-info-array { + description + "Array of MP members"; + uses PPP-MP-MBR-INFO; + } + } + + grouping PPP-PROTOCOL-INFO { + description + "PPP state information"; + container mp-info { + description + "MP information"; + uses PPP-MP-INFO; + } + container configured-timeout { + description + "Configured timeout"; + uses PPP-TIMEOUT-INFO; + } + container auth-info { + description + "Authentication information"; + uses PPP-AUTH-INFO; + } + leaf parent-state { + type Im-state; + description + "Parent state"; + } + leaf line-state { + type Im-state; + description + "Line state"; + } + leaf is-loopback-detected { + type boolean; + description + "Loopback detected"; + } + leaf caps-idb-srg-role { + type uint32; + description + "Caps IDB SRG role"; + } + leaf session-srg-role { + type uint32; + description + "Session SRG role"; + } + leaf keepalive-period { + type uint32; + description + "Keepalive value"; + } + leaf keepalive-retry-count { + type uint32; + description + "Keepalive retry count"; + } + leaf is-ssrp-configured { + type boolean; + description + "Is SSRP configured"; + } + leaf is-l2ac { + type boolean; + description + "Is L2 AC"; + } + leaf provisioned { + type boolean; + description + "Provisioned"; + } + leaf ip-interworking-enabled { + type boolean; + description + "IP Interworking Enabled"; + } + leaf xconnect-id { + type uint32; + description + "XConnect ID"; + } + leaf is-tunneled-session { + type boolean; + description + "Is tunneled session"; + } + leaf ssrp-peer-id { + type string; + description + "SSRP Peer ID"; + } + leaf lcp-state { + type Ppp-fsm-state; + description + "PPP/LCP state value"; + } + leaf lcpsso-state { + type Ppp-sso-fsm-state; + description + "LCP SSO state"; + } + leaf is-lcp-delayed { + type boolean; + description + "Is LCP Delayed"; + } + leaf local-mru { + type uint16; + description + "Local MRU"; + } + leaf peer-mru { + type uint16; + description + "Peer MRU"; + } + leaf local-mrru { + type uint16; + description + "Local MRRU"; + } + leaf peer-mrru { + type uint16; + description + "Peer MRRU"; + } + leaf local-ed { + type string { + length "0..41"; + } + description + "Local Endpt Discriminator"; + } + leaf peer-ed { + type string { + length "0..41"; + } + description + "Peer Endpt Discriminator"; + } + leaf is-mcmp-enabled { + type boolean; + description + "Is MCMP enabled"; + } + leaf local-mcmp-classes { + type uint8; + description + "Local MCMP classes"; + } + leaf peer-mcmp-classes { + type uint8; + description + "Peer MCMP classes"; + } + leaf session-expires { + type uint32; + units "second"; + description + "Session expiry time in seconds since 00:00:00 on + January 1, 1970, UTC."; + } + list ncp-info-array { + description + "Array of per-NCP data"; + uses PPP-NCP-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper.yang new file mode 100644 index 0000000..d246129 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-oper.yang @@ -0,0 +1,165 @@ +module Cisco-IOS-XR-ppp-ma-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-oper"; + prefix ppp-ma-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-ppp-ma-oper-sub4 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ppp-ma-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ppp-ma-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-ppp-ma-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma package operational data. + + This module contains definitions + for the following management objects: + ppp: PPP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ppp { + config false; + description + "PPP operational data"; + container nodes { + description + "Per node PPP operational data"; + list node { + key "node-name"; + description + "The PPP operational data for a particular node"; + container statistics { + description + "PPP statistics data for a particular node"; + uses PPP-OPER-STATS-GLOBAL; + } + container node-interfaces { + description + "Per interface PPP operational data"; + list node-interface { + key "interface"; + description + "LCP and summarized NCP data for an interface + running PPP"; + leaf interface { + type xr:Interface-name; + description + "Interface running PPP"; + } + uses PPP-PROTOCOL-INFO; + } + } + container sso-alerts { + description + "PPP SSO Alert data for a particular node"; + list sso-alert { + key "interface"; + description + "PPP SSO Alert data for a particular interface"; + leaf interface { + type xr:Interface-name; + description + "Interface with SSO Alert"; + } + uses PPP-OPER-SSO-ALERTS; + } + } + container node-interface-statistics { + description + "Per interface PPP operational statistics"; + list node-interface-statistic { + key "interface-name"; + description + "LCP and NCP statistics for an interface + running PPP"; + leaf interface-name { + type xr:Interface-name; + description + "Interface running PPP"; + } + uses PPP-OPER-STATS-INTERFACE; + } + } + container sso-summary { + description + "Summarized PPP SSO data for a particular node"; + uses PPP-OPER-SSO-SUMMARY; + } + container sso-groups { + description + "PPP SSO Group data for a particular node"; + list sso-group { + key "group-id"; + description + "PPP SSO state data for a particular group"; + container sso-states { + description + "PPP SSO State data for a particular group"; + list sso-state { + key "session-id"; + description + "PPP SSO State data for a particular + interface"; + leaf session-id { + type uint32 { + range "1..4294967295"; + } + description + "Session ID for the interface with SSO + State"; + } + uses PPP-OPER-SSO-STATE; + } + } + leaf group-id { + type uint32 { + range "1..65535"; + } + description + "The identifier for the group"; + } + } + } + container summary { + description + "Summarized PPP data for a particular node"; + uses PPP-OPER-SUMMARY; + } + leaf node-name { + type xr:Node-id; + description + "The identifier for the node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang new file mode 100644 index 0000000..a89e99f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-ssrp-cfg.yang @@ -0,0 +1,141 @@ +module Cisco-IOS-XR-ppp-ma-ssrp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-ssrp-cfg"; + prefix ppp-ma-ssrp-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-config-mda-cfg { + prefix a1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-ssrp package configuration. + + This module contains definitions + for the following management objects: + ssrp: Shared plane SSRP configuration data + + This YANG module augments the + Cisco-IOS-XR-config-mda-cfg, + Cisco-IOS-XR-ifmgr-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a2:interface-configurations/a2:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ssrp-session { + description + "SSRP Config"; + container group-id { + description + "This specifies the SSRP group and session-id"; + leaf group { + type uint32 { + range "1..65535"; + } + description + "SSRP Group-ID"; + } + leaf id { + type uint32 { + range "1..4294967295"; + } + description + "SSRP Session-ID"; + } + } + } + } + augment "/a1:active-nodes/a1:active-node" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-config-mda-cfg'"; + container ssrp-group { + description + "Per-node SSRP configuration data"; + container groups { + description + "Table of SSRP Group configuration"; + list group { + key "group-id"; + description + "SSRP Group configuration"; + leaf profile { + type string; + description + "This specifies the SSRP profile to use for + this group"; + } + leaf group-id { + type uint32 { + range "1..65535"; + } + description + "The identifier for this group"; + } + } + } + } + } + container ssrp { + description + "Shared plane SSRP configuration data"; + container profiles { + description + "Table of SSRP Profiles"; + list profile { + key "name"; + description + "SSRP Profile configuration"; + leaf max-hops { + type uint32 { + range "1..255"; + } + description + "This specifies the maximum number of hops for + packets on the SSO channel"; + } + leaf peer-ipv4-address { + type inet:ipv4-address-no-zone; + description + "This specifies the remote end's IPv4-address + for the SSO channel"; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "The name of the profile"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang new file mode 100644 index 0000000..a06c42b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ppp-ma-syslog-cfg.yang @@ -0,0 +1,46 @@ +module Cisco-IOS-XR-ppp-ma-syslog-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ppp-ma-syslog-cfg"; + prefix ppp-ma-syslog-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ppp-ma-syslog package configuration. + + This module contains definitions + for the following management objects: + ppp: PPP configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ppp { + description + "PPP configuration"; + container syslog { + description + "syslog option for session status"; + leaf enable-session-status { + type empty; + description + "Enable syslog for ppp session status"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang new file mode 100644 index 0000000..32bbb77 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper-sub1.yang @@ -0,0 +1,127 @@ +submodule Cisco-IOS-XR-pppoe-ea-oper-sub1 { + belongs-to Cisco-IOS-XR-pppoe-ea-oper { + prefix Cisco-IOS-XR-pppoe-ea-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR pppoe-ea package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PPPOE-EA-INTERFACE-INFO { + description + "PPPoE EA interface information"; + container peer-mac { + description + "Peer Mac-address"; + uses ETHER-MACADDR-TYPE; + } + container local-mac { + description + "Local Mac-address"; + uses ETHER-MACADDR-TYPE; + } + container srgv-mac { + description + "SRG VMac-address"; + uses ETHER-MACADDR-TYPE; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf session-id { + type uint16; + description + "Session ID"; + } + leaf parent-interface { + type xr:Interface-name; + description + "Parent Interface"; + } + leaf is-priority-set { + type boolean; + description + "Is Priority Set"; + } + leaf priority { + type uint8; + description + "Priority"; + } + leaf is-in-sync { + type boolean; + description + "Is in sync"; + } + leaf is-platform-created { + type boolean; + description + "Is Platform created"; + } + leaf-list vlanid { + type uint16; + max-elements "2"; + description + "VLAN Ids"; + } + } + + grouping ETHER-MACADDR-TYPE { + description + "ETHER MACADDR TYPE"; + leaf macaddr { + type yang:hex-string; + description + "macaddr"; + } + } + + grouping PPPOE-EA-PARENT-INTERFACE-INFO { + description + "PPPoE EA parent interface information"; + container srgv-mac { + description + "SRG VMac-address"; + uses ETHER-MACADDR-TYPE; + } + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + leaf is-in-sync { + type boolean; + description + "Is in sync"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper.yang new file mode 100644 index 0000000..89553c2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-pppoe-ea-oper.yang @@ -0,0 +1,89 @@ +module Cisco-IOS-XR-pppoe-ea-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pppoe-ea-oper"; + prefix pppoe-ea-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-pppoe-ea-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR pppoe-ea package operational data. + + This module contains definitions + for the following management objects: + pppoe-ea: PPPoE Ea data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pppoe-ea { + config false; + description + "PPPoE Ea data"; + container nodes { + description + "PPPOE_EA list of nodes"; + list node { + key "node-name"; + description + "PPPOE-EA operational data for a particular node"; + container parent-interface-ids { + description + "PPPoE parent interface info"; + list parent-interface-id { + key "parent-interface-name"; + description + "PPPoE parent interface info"; + leaf parent-interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses PPPOE-EA-PARENT-INTERFACE-INFO; + } + } + container interface-ids { + description + "PPPoE interface info"; + list interface-id { + key "interface-name"; + description + "PPPoE interface info"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses PPPOE-EA-INTERFACE-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang new file mode 100644 index 0000000..2e77449 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-prm-hwmod-loadbalance-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-hwmod-loadbalance-cfg"; + prefix prm-hwmod-loadbalance-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR prm-hwmod-loadbalance package configuration. + + This module contains definitions + for the following management objects: + hardware-module: HardwareModule + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Implementing Conf Yang Model for BGP LU HW ECMP"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hardware-module { + description + "HardwareModule"; + container loadbalancing { + description + "Loadbalance option"; + container bgp3107 { + description + "BGP LU"; + container ecmp { + description + "ECMP "; + leaf enable { + type empty; + description + "Enable Option"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang new file mode 100644 index 0000000..e9a1e34 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-hwmod-sr-cfg.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-prm-hwmod-sr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-hwmod-sr-cfg"; + prefix prm-hwmod-sr-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR prm-hwmod-sr package configuration. + + This module contains definitions + for the following management objects: + hardware-module: HardwareModule + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Implementing Conf Yang Model for Service label reservation for SR label stack limit"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hardware-module { + description + "HardwareModule"; + container segment-routing { + description + "Segment Routing"; + container reserve { + description + "Reserve"; + container service-label { + description + "Service Label"; + leaf enable { + type empty; + description + "Enable"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper-sub1.yang new file mode 100644 index 0000000..b36eb36 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper-sub1.yang @@ -0,0 +1,215 @@ +submodule Cisco-IOS-XR-prm-server-oper-sub1 { + belongs-to Cisco-IOS-XR-prm-server-oper { + prefix Cisco-IOS-XR-prm-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR prm-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-22 { + description + "Initial revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping RESOURCE-EDM-DATA { + description + "Resource Summary Data"; + leaf resource-name { + type string { + length "0..1024"; + } + description + "Resource Name"; + } + leaf resource-type { + type uint32; + description + "Resource Type"; + } + leaf total-num { + type uint32; + description + "Total Resource Count"; + } + leaf free-num { + type uint32; + description + "Free Resource Count"; + } + leaf first-available-index { + type uint32; + description + "Next Free Index"; + } + leaf start-index { + type uint32; + description + "Start Index"; + } + leaf availability-status { + type boolean; + description + "Availability Status"; + } + leaf flags { + type uint8; + description + "Resource Flags"; + } + leaf inconsistent { + type boolean; + description + "Inconsistice Flags"; + } + } + + grouping PLAT-DROP-STATS-INFO { + description + "Plat drop stats data"; + leaf drop-reason { + type string { + length "0..1024"; + } + description + "Drop Reason"; + } + leaf counters { + type uint32; + description + "Counter"; + } + } + + grouping PLAT-DROP-CAPTURED-PAK { + description + "Plat drop captured packets"; + leaf total-captured { + type uint32; + description + "Total packets Captured"; + } + leaf captured-pak { + type string { + length "0..1024"; + } + description + "Captured Packet"; + } + leaf pkt-index { + type uint8; + description + "Packet Index"; + } + leaf ifhandle { + type uint32; + description + "If Handle"; + } + leaf buffer-len { + type uint32; + description + "Buffer Length"; + } + leaf reason-hi { + type uint32; + description + "Reason Hi"; + } + leaf reason { + type uint32; + description + "Reason"; + } + leaf years { + type uint64; + description + "Year"; + } + leaf hours { + type uint64; + units "hour"; + description + "Hours"; + } + leaf days { + type uint64; + units "day"; + description + "Days"; + } + leaf mins { + type uint64; + units "minute"; + description + "Minutes"; + } + leaf secs { + type uint64; + units "second"; + description + "Seconds"; + } + } + + grouping BCM-EDM-COSQ-INFO { + description + "BCM CosQ EDM data"; + leaf cos-q-name { + type string { + length "0..1024"; + } + description + "CosQ Name"; + } + leaf cos-q { + type uint8; + description + "CosQ No"; + } + leaf rx-channel { + type uint32; + description + "Rx DMA Channel"; + } + leaf flow-rate { + type uint32; + description + "Flow Rate"; + } + leaf burst { + type uint32; + description + "Burst"; + } + leaf accepted { + type uint64; + description + "Accepted"; + } + leaf dropped { + type uint64; + description + "Dropped"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper.yang new file mode 100644 index 0000000..959a5dd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-prm-server-oper.yang @@ -0,0 +1,163 @@ +module Cisco-IOS-XR-prm-server-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-prm-server-oper"; + prefix prm-server-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-prm-server-oper-sub1 { + revision-date 2016-02-22; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR prm-server package operational data. + + This module contains definitions + for the following management objects: + hardware-module: PRM data + prm: prm + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-22 { + description + "Initial revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container hardware-module { + config false; + description + "PRM data"; + container nodes { + description + "List of PRM Nodes"; + list node { + key "node-name"; + description + "Node Information"; + container np { + description + "Server specific"; + container cpu { + description + "Resource specific"; + container indexes { + description + "Data for software resource"; + list index { + key "index"; + description + "Queue Stats"; + leaf index { + type int32; + description + "Index value"; + } + uses BCM-EDM-COSQ-INFO; + } + } + } + container platform-drop { + description + "Platform drops"; + container indxes { + description + "Captured Packets"; + list indx { + key "index"; + description + "Captured packets"; + leaf index { + type int32; + description + "Index value"; + } + uses PLAT-DROP-CAPTURED-PAK; + } + } + container idxes { + description + "Stats for Drop packets"; + list idx { + key "index"; + description + "Drop Stats"; + leaf index { + type int32; + description + "Index value"; + } + uses PLAT-DROP-STATS-INFO; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } + container prm { + config false; + description + "prm"; + container nodes { + description + "List of PRM Nodes"; + list node { + key "node-name"; + description + "Node Information"; + container server { + description + "Server specific"; + container resource { + description + "Resource specific"; + container indexes { + description + "Data for software resource"; + list index { + key "index"; + description + "Data for software resource"; + leaf index { + type int32; + description + "Index value"; + } + uses RESOURCE-EDM-DATA; + } + } + } + } + leaf node-name { + type xr:Node-id; + description + "The node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper-sub1.yang new file mode 100644 index 0000000..12ded3d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper-sub1.yang @@ -0,0 +1,92 @@ +submodule Cisco-IOS-XR-procmem-oper-sub1 { + belongs-to Cisco-IOS-XR-procmem-oper { + prefix Cisco-IOS-XR-procmem-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR procmem package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-07-30 { + description + "IOS XR 6.0.0 revision."; + } + + grouping PROCESSESMEMORY-ENTRY { + description + " Per Process Information"; + leaf name { + type string; + description + "Process name"; + } + leaf jid { + type uint32; + description + "Job ID"; + } + leaf pid { + type uint32; + description + "Process ID"; + } + leaf text-seg-size { + type uint32; + description + "Text Segment Size"; + } + leaf data-seg-size { + type uint32; + description + "Data Segment Size"; + } + leaf stack-seg-size { + type uint32; + description + "Stack Segment Size"; + } + leaf malloc-size { + type uint32; + description + "Malloced Memory Size"; + } + leaf dyn-limit { + type uint32; + description + "Dynamic memory limit"; + } + leaf shared-mem { + type uint32; + description + "Shared memory size"; + } + leaf physical-mem { + type uint32; + description + "Physical memory size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper.yang new file mode 100644 index 0000000..3ccf722 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-procmem-oper.yang @@ -0,0 +1,82 @@ +module Cisco-IOS-XR-procmem-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-procmem-oper"; + prefix procmem-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-procmem-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR procmem package operational data. + + This module contains definitions + for the following management objects: + processes-memory: Process statistics + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-07-30 { + description + "IOS XR 6.0.0 revision."; + } + + container processes-memory { + config false; + description + "Process statistics"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Node ID"; + container process-ids { + description + "List of jobs"; + list process-id { + key "process-id"; + description + "Process Id"; + leaf process-id { + type int32; + description + "Process Id"; + } + uses PROCESSESMEMORY-ENTRY; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-cfg.yang new file mode 100644 index 0000000..66f6382 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-cfg.yang @@ -0,0 +1,1101 @@ +module Cisco-IOS-XR-ptp-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-cfg"; + prefix ptp-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ptp-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ptp package configuration. + + This module contains definitions + for the following management objects: + ptp: PTP global configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-02 { + description + "Initial version."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container ptp { + description + "Precision Time Protocol interface configuration"; + container source-ipv6-address { + description + "Source IPv6 Address"; + leaf enable { + type boolean; + description + "Enable source IPv6 address"; + } + leaf source-ipv6 { + type inet:ipv6-address-no-zone; + description + "Source IPv6 address to use"; + } + } + container announce-interval { + description + "Announce interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "2"; + description + "Time Period"; + } + } + container source-ipv4-address { + description + "Source IPv4 Address"; + leaf enable { + type boolean; + description + "Enable source IP address"; + } + leaf source-ip { + type inet:ipv4-address-no-zone; + description + "Source IP address to use"; + } + } + container slaves { + description + "Table for slave configuration"; + list slave { + must "ethernet or ipv4-or-ipv6" { + description + "Ethernet or IPv4-or-IPv6 must be present."; + } + key "transport"; + description + "Slave configuration"; + + grouping SLAVE-CONTENT { + description + "SLAVE CONTENT"; + leaf non-negotiated { + type boolean; + description + "Enable non-negotiated unicast on this + interface"; + } + } + leaf transport { + type dt1:Ptp-encap; + description + "Slave Transport Type"; + } + list ethernet { + when "../transport = 'ethernet'" { + description + "../Transport = Ethernet"; + } + key "slave-mac-address"; + description + "ethernet"; + leaf slave-mac-address { + type yang:mac-address; + description + "Slave MAC Address"; + } + uses SLAVE-CONTENT; + } + list ipv4-or-ipv6 { + when "../transport = 'ipv4' or ../transport = 'ipv6'" { + description + "../Transport = IPv4 or ../Transport = IPv6"; + } + key "slave-ip-address"; + description + "ipv4 or ipv6"; + leaf slave-ip-address { + type inet:ip-address-no-zone; + description + "Slave IP Address"; + } + uses SLAVE-CONTENT; + } + } + } + container sync-interval { + description + "Sync interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "1"; + description + "Time Period"; + } + } + container masters { + description + "Table for master configuration"; + list master { + must "ethernet or ipv4-or-ipv6" { + description + "Ethernet or IPv4-or-IPv6 must be present."; + } + key "transport"; + description + "Master configuration"; + + grouping MASTER-CONTENT { + description + "MASTER CONTENT"; + container delay-asymmetry { + presence "Indicates a delay-asymmetry node is configured."; + description + "The delay asymmetry for this master"; + leaf magnitude { + type int32 { + range "-500000000..500000000"; + } + mandatory true; + description + "How much longer the master to slave path + takes than the reverse"; + } + leaf units { + type dt1:Ptp-delay-asymmetry-units; + mandatory true; + description + "The units to use for the delay asymmetry"; + } + } + leaf master-clock-class { + type uint32 { + range "0..255"; + } + description + "Master clock class"; + } + leaf non-negotiated { + type boolean; + description + "Enable non-negotiated unicast on this + interface"; + } + leaf priority { + type uint32 { + range "0..255"; + } + description + "Master priority"; + } + leaf communication { + type dt1:Ptp-transport; + default "unicast"; + description + "Communication Model"; + } + } + leaf transport { + type dt1:Ptp-encap; + description + "Master Transport Type"; + } + list ethernet { + when "../transport = 'ethernet'" { + description + "../Transport = Ethernet"; + } + key "master-mac-address"; + description + "ethernet"; + leaf master-mac-address { + type yang:mac-address; + description + "Master MAC Address - only used if Transport + is Ethernet"; + } + uses MASTER-CONTENT; + } + list ipv4-or-ipv6 { + when "../transport = 'ipv4' or ../transport = 'ipv6'" { + description + "../Transport = IPv4 or ../Transport = IPv6"; + } + key "master-ip-address"; + description + "ipv4 or ipv6"; + leaf master-ip-address { + type inet:ip-address-no-zone; + description + "Master IP Address - used if Transport is not + Ethernet"; + } + uses MASTER-CONTENT; + } + } + } + container communication { + description + "Communication model"; + leaf model { + type dt1:Ptp-transport; + default "unicast"; + description + "Communication Model"; + } + leaf target-address-set { + type boolean; + default "false"; + description + "Target address set"; + } + leaf target-address { + type string; + description + "Target address"; + } + } + container delay-request-minimum-interval { + description + "Minimum delay request interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "1"; + description + "Time Period"; + } + } + leaf sync-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Sync unicast grant duration, in seconds"; + } + leaf general-cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "General COS"; + } + leaf enable { + type empty; + description + "Enable the precision time protocol"; + } + leaf sync-timeout { + type uint32 { + range "100..100000"; + } + units "millisecond"; + default "5000"; + description + "Sync timeout, in milliseconds"; + } + leaf transport { + type dt1:Ptp-encap; + default "ipv4"; + description + "Transport"; + } + leaf profile { + type string; + description + "Precision Time Protocol configuration profile"; + } + leaf announce-timeout { + type uint32 { + range "2..10"; + } + default "3"; + description + "Announce Timeout"; + } + leaf cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "COS"; + } + leaf port-state { + type dt1:Ptp-port-state; + default "any"; + description + "Port state restriction"; + } + leaf delay-response-timeout { + type uint32 { + range "100..100000"; + } + units "millisecond"; + default "5000"; + description + "Delay-Response timeout, in milliseconds"; + } + leaf local-priority { + type uint32 { + range "1..255"; + } + default "128"; + description + "Local priority"; + } + leaf delay-response-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Delay-Response unicast grant duration, in + seconds"; + } + leaf event-cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "Event COS"; + } + leaf dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "DSCP"; + } + leaf general-dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "General DSCP"; + } + leaf clock-operation { + type dt1:Ptp-clock-operation; + default "two-step"; + description + "Clock Operation"; + } + leaf announce-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Announce unicast grant duration, in seconds"; + } + leaf unicast-grant-invalid-request { + type dt1:Ptp-invalid-unicast-grant-request-response; + default "reduce"; + description + "Invalid unicast grant request response"; + } + leaf event-dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "Event DSCP"; + } + } + } + container ptp { + description + "PTP global configuration"; + container clock { + description + "PTP local clock configuration"; + container profile { + description + "Local clock PTP profile"; + leaf clock-profile { + type dt1:Ptp-clock-profile; + default "default"; + description + "Clock profile"; + } + leaf telecom-clock-type { + when "../clock-profile = 'g82651' or ../clock-profile = 'g82751' or ../clock-profile = 'g82752'" { + description + "../ClockProfile = 1 or ../ClockProfile = 2 + or ../ClockProfile = 3"; + } + type dt1:Ptp-telecom-clock; + description + "Telecom clock type"; + } + } + container identity { + description + "Local clock identity"; + leaf clock-id-type { + type dt1:Ptp-clock-id; + default "router-mac"; + description + "Clock identity type"; + } + leaf mac-address { + when "../clock-id-type = 'user-mac'" { + description + "../ClockIDType = 1"; + } + type yang:mac-address; + description + "MAC Address"; + } + leaf eui { + when "../clock-id-type = 'eui'" { + description + "../ClockIDType = 2"; + } + type string; + description + "EUI-64 number"; + } + } + leaf timescale { + type dt1:Ptp-timescale; + description + "Local clock timescale"; + } + leaf domain { + type uint32 { + range "0..255"; + } + default "0"; + description + "Local clock domain"; + } + leaf priority2 { + type uint32 { + range "0..255"; + } + default "128"; + description + "Local clock priority2"; + } + leaf time-source { + type dt1:Ptp-time-source; + description + "Local clock time source"; + } + leaf priority1 { + type uint32 { + range "0..255"; + } + default "128"; + description + "Local clock priority1"; + } + leaf clock-class { + type uint32 { + range "0..255"; + } + default "0"; + description + "Local clock class"; + } + } + container profiles { + description + "Table for profile configuration"; + list profile { + key "profile-name"; + description + "Profile configuration"; + container announce-interval { + description + "Announce interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "2"; + description + "Time Period"; + } + } + container source-ipv4-address { + description + "Source IPv4 Address"; + leaf enable { + type boolean; + description + "Enable source IP address"; + } + leaf source-ip { + type inet:ipv4-address-no-zone; + description + "Source IP address to use"; + } + } + container slaves { + description + "Table for slave configuration"; + list slave { + must "ethernet or ipv4-or-ipv6" { + description + "Ethernet or IPv4-or-IPv6 must be present."; + } + key "transport"; + description + "Slave configuration"; + + grouping SLAVE-CONTENT { + description + "SLAVE CONTENT"; + leaf non-negotiated { + type boolean; + description + "Enable non-negotiated unicast on this + interface"; + } + } + leaf transport { + type dt1:Ptp-encap; + description + "Slave Transport Type"; + } + list ethernet { + when "../transport = 'ethernet'" { + description + "../Transport = Ethernet"; + } + key "slave-mac-address"; + description + "ethernet"; + leaf slave-mac-address { + type yang:mac-address; + description + "Slave MAC Address"; + } + uses SLAVE-CONTENT; + } + list ipv4-or-ipv6 { + when "../transport = 'ipv4' or ../transport = 'ipv6'" { + description + "../Transport = IPv4 or ../Transport = IPv6"; + } + key "slave-ip-address"; + description + "ipv4 or ipv6"; + leaf slave-ip-address { + type inet:ip-address-no-zone; + description + "Slave IP Address"; + } + uses SLAVE-CONTENT; + } + } + } + container sync-interval { + description + "Sync interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "1"; + description + "Time Period"; + } + } + container masters { + description + "Table for master configuration"; + list master { + must "ethernet or ipv4-or-ipv6" { + description + "Ethernet or IPv4-or-IPv6 must be present."; + } + key "transport"; + description + "Master configuration"; + + grouping MASTER-CONTENT { + description + "MASTER CONTENT"; + container delay-asymmetry { + presence "Indicates a delay-asymmetry node is configured."; + description + "The delay asymmetry for this master"; + leaf magnitude { + type int32 { + range "-500000000..500000000"; + } + mandatory true; + description + "How much longer the master to slave path + takes than the reverse"; + } + leaf units { + type dt1:Ptp-delay-asymmetry-units; + mandatory true; + description + "The units to use for the delay asymmetry"; + } + } + leaf master-clock-class { + type uint32 { + range "0..255"; + } + description + "Master clock class"; + } + leaf non-negotiated { + type boolean; + description + "Enable non-negotiated unicast on this + interface"; + } + leaf priority { + type uint32 { + range "0..255"; + } + description + "Master priority"; + } + leaf communication { + type dt1:Ptp-transport; + default "unicast"; + description + "Communication Model"; + } + } + leaf transport { + type dt1:Ptp-encap; + description + "Master Transport Type"; + } + list ethernet { + when "../transport = 'ethernet'" { + description + "../Transport = Ethernet"; + } + key "master-mac-address"; + description + "ethernet"; + leaf master-mac-address { + type yang:mac-address; + description + "Master MAC Address - only used if Transport + is Ethernet"; + } + uses MASTER-CONTENT; + } + list ipv4-or-ipv6 { + when "../transport = 'ipv4' or ../transport = 'ipv6'" { + description + "../Transport = IPv4 or ../Transport = IPv6"; + } + key "master-ip-address"; + description + "ipv4 or ipv6"; + leaf master-ip-address { + type inet:ip-address-no-zone; + description + "Master IP Address - used if Transport is + not Ethernet"; + } + uses MASTER-CONTENT; + } + } + } + container communication { + description + "Communication model"; + leaf model { + type dt1:Ptp-transport; + default "unicast"; + description + "Communication Model"; + } + leaf target-address-set { + type boolean; + default "false"; + description + "Target address set"; + } + leaf target-address { + type string; + description + "Target address"; + } + } + container delay-request-minimum-interval { + description + "Minimum delay request interval"; + leaf time-type { + type dt1:Ptp-time; + default "interval"; + description + "Interval or Frequency"; + } + leaf time-period { + type dt1:Ptp-time-period; + default "1"; + description + "Time Period"; + } + } + container source-ipv6-address { + description + "Source IPv6 Address"; + leaf enable { + type boolean; + description + "Enable source IPv6 address"; + } + leaf source-ipv6 { + type inet:ipv6-address-no-zone; + description + "Source IPv6 address to use"; + } + } + leaf sync-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Sync unicast grant duration, in seconds"; + } + leaf general-cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "General COS"; + } + leaf sync-timeout { + type uint32 { + range "100..100000"; + } + units "millisecond"; + default "5000"; + description + "Sync timeout, in milliseconds"; + } + leaf transport { + type dt1:Ptp-encap; + default "ipv4"; + description + "Transport"; + } + leaf announce-timeout { + type uint32 { + range "2..10"; + } + default "3"; + description + "Announce Timeout"; + } + leaf cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "COS"; + } + leaf port-state { + type dt1:Ptp-port-state; + default "any"; + description + "Port state restriction"; + } + leaf delay-response-timeout { + type uint32 { + range "100..100000"; + } + units "millisecond"; + default "5000"; + description + "Delay-Response timeout, in milliseconds"; + } + leaf delay-response-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Delay-Response unicast grant duration, in + seconds"; + } + leaf event-cos { + type uint32 { + range "0..7"; + } + default "6"; + description + "Event COS"; + } + leaf dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "DSCP"; + } + leaf general-dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "General DSCP"; + } + leaf clock-operation { + type dt1:Ptp-clock-operation; + default "two-step"; + description + "Clock Operation"; + } + leaf announce-grant-duration { + type uint32 { + range "60..1000"; + } + units "second"; + default "300"; + description + "Announce unicast grant duration, in seconds"; + } + leaf unicast-grant-invalid-request { + type dt1:Ptp-invalid-unicast-grant-request-response; + default "reduce"; + description + "Invalid unicast grant request response"; + } + leaf event-dscp { + type uint32 { + range "0..63"; + } + default "46"; + description + "Event DSCP"; + } + leaf profile-name { + type xr:Cisco-ios-xr-string; + description + "Profile"; + } + } + } + container utc-offset { + description + "UTC offset configuration"; + container leap-second-file { + presence "Indicates a leap-second-file node is configured."; + description + "Source file containing leap second information"; + leaf source-url { + type string; + mandatory true; + description + "URL of source file"; + } + leaf polling-frequency { + type uint32 { + range "1..365"; + } + units "day"; + description + "Polling frequency, in days"; + } + } + container scheduled-offsets { + description + "Table for scheduled UTC offset configuration"; + list scheduled-offset { + key "date"; + description + "Scheduled UTC offset configuration"; + leaf date { + type xr:Cisco-ios-xr-string; + description + "Offset application date, in ISO-8601 format + (YYYY-MM-DD)"; + } + leaf offset { + type uint32 { + range "0..32767"; + } + units "second"; + mandatory true; + description + "UTC offset, in seconds"; + } + } + } + leaf base-offset { + type uint32 { + range "0..32767"; + } + units "second"; + description + "Base UTC offset configuration"; + } + } + container logging { + description + "PTP logging configuration"; + container best-master-clock { + description + "PTP best master clock logging configuration"; + leaf changes { + type empty; + description + "Enable best master clock changes logging"; + } + } + } + container transparent-clock { + description + "Transparent clock configuration"; + container domains { + description + "Table of domains containing transparent clock + configuration"; + list domain { + key "domain"; + description + "Transparent clock domain configuration"; + leaf domain { + type dt1:Transparent-clock-domain; + description + "Domain"; + } + } + } + } + leaf time-of-day-priority { + type uint32 { + range "1..254"; + } + default "100"; + description + "Time-of-day priority"; + } + leaf frequency-priority { + type uint32 { + range "1..254"; + } + default "254"; + description + "Frequency priority"; + } + leaf startup-clock-class { + type uint32 { + range "0..255"; + } + description + "Startup clock class value"; + } + leaf enable { + type empty; + description + "Enable the precision time protocol"; + } + leaf min-clock-class { + type uint32 { + range "0..255"; + } + description + "Clocks with a clock-class higher than the + minimum clock class will not be considered for + selection as a parent clock."; + } + leaf uncalibrated-clock-class { + type uint32 { + range "0..255"; + } + description + "Clock class to be used while acquiring + phase-lock to a parent clock."; + } + leaf freerun-clock-class { + type uint32 { + range "0..255"; + } + description + "Freerun clock class value"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-datatypes.yang new file mode 100644 index 0000000..a185817 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-datatypes.yang @@ -0,0 +1,396 @@ +module Cisco-IOS-XR-ptp-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-datatypes"; + prefix ptp-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ptp-time { + type enumeration { + enum "interval" { + value 0; + description + "Time interval in seconds"; + } + enum "frequency" { + value 1; + description + "Frequency per second"; + } + } + description + "Ptp time"; + } + + typedef Ptp-clock-advertisement-mode { + type enumeration { + enum "1588v2" { + value 0; + description + "Use 1588v2 clock selection"; + } + enum "telecom-profile" { + value 1; + description + "Use Telecom Profile clock selection"; + } + } + description + "Ptp clock advertisement mode"; + } + + typedef Ptp-encap { + type enumeration { + enum "ethernet" { + value 1; + description + "Ethernet Encapsulation"; + } + enum "ipv4" { + value 2; + description + "IPv4 Encapsulation"; + } + enum "ipv6" { + value 3; + description + "IPv6 Encapsulation"; + } + } + description + "Ptp encap"; + } + + typedef Ptp-time-period { + type enumeration { + enum "1" { + value 0; + description + "One"; + } + enum "2" { + value 1; + description + "Two"; + } + enum "4" { + value 2; + description + "Four"; + } + enum "8" { + value 3; + description + "Eight"; + } + enum "16" { + value 4; + description + "Sixteen"; + } + enum "32" { + value 5; + description + "Thirty Two"; + } + enum "64" { + value 6; + description + "Sixty Four"; + } + enum "128" { + value 7; + description + "One Hundred and Twenty-Eight"; + } + } + description + "Ptp time period"; + } + + typedef Ptp-clock-operation { + type enumeration { + enum "two-step" { + value 0; + description + "Two-step clock operation"; + } + enum "one-step" { + value 1; + description + "One-step clock operation"; + } + } + description + "Ptp clock operation"; + } + + typedef Ptp-clock-selection-mode { + type enumeration { + enum "1588v2" { + value 0; + description + "Use 1588v2 clock selection"; + } + enum "telecom-profile" { + value 1; + description + "Use Telecom Profile clock selection"; + } + } + description + "Ptp clock selection mode"; + } + + typedef Ptp-timescale { + type enumeration { + enum "ptp" { + value 0; + description + "PTP timescale"; + } + enum "arb" { + value 1; + description + "ARB timescale"; + } + } + description + "Ptp timescale"; + } + + typedef Transparent-clock-domain { + type string { + pattern "(all)"; + } + description + "all: Set for all domains"; + } + + typedef Ptp-delay-asymmetry-units { + type enumeration { + enum "nanoseconds" { + value 0; + description + "Nanoseconds"; + } + enum "microseconds" { + value 1; + description + "Microseconds"; + } + enum "milliseconds" { + value 2; + description + "Milliseconds"; + } + } + description + "Ptp delay asymmetry units"; + } + + typedef Ptp-time-source { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown"; + } + enum "atomic-clock" { + value 16; + description + "Atomic Clock"; + } + enum "gps" { + value 32; + description + "GPS"; + } + enum "terrestrial-radio" { + value 48; + description + "Terrestrial Radio"; + } + enum "ptp" { + value 64; + description + "PTP"; + } + enum "ntp" { + value 80; + description + "NTP"; + } + enum "hand-set" { + value 96; + description + "Hand set"; + } + enum "other" { + value 144; + description + "Other"; + } + enum "internal-oscillator" { + value 160; + description + "Internal Oscillator"; + } + } + description + "Ptp time source"; + } + + typedef Ptp-port-state { + type enumeration { + enum "any" { + value 0; + description + "Any port state allowed"; + } + enum "slave-only" { + value 1; + description + "Restrict to slave"; + } + enum "master-only" { + value 2; + description + "Restrict to master"; + } + } + description + "Ptp port state"; + } + + typedef Ptp-clock-profile { + type enumeration { + enum "default" { + value 0; + description + "Default clock profile"; + } + enum "g82651" { + value 1; + description + "G.8265.1 profile"; + } + enum "g82751" { + value 2; + description + "G.8275.1 profile"; + } + enum "g82752" { + value 3; + description + "G.8275.2 profile"; + } + } + description + "Ptp clock profile"; + } + + typedef Ptp-transport { + type enumeration { + enum "unicast" { + value 0; + description + "Unicast communication"; + } + enum "mixed-mode" { + value 1; + description + "Mixed-mode communication"; + } + enum "multicast" { + value 2; + description + "Multicast communication"; + } + } + description + "Ptp transport"; + } + + typedef Ptp-clock-id { + type enumeration { + enum "router-mac" { + value 0; + description + "Use the router's MAC"; + } + enum "user-mac" { + value 1; + description + "Use a user-specified MAC"; + } + enum "eui" { + value 2; + description + "Use a user-specified EUI-64 number"; + } + } + description + "Ptp clock id"; + } + + typedef Ptp-invalid-unicast-grant-request-response { + type enumeration { + enum "reduce" { + value 0; + description + "Reduce grant parameters"; + } + enum "deny" { + value 1; + description + "Deny grant"; + } + } + description + "Ptp invalid unicast grant request response"; + } + + typedef Ptp-telecom-clock { + type enumeration { + enum "telecom-grandmaster" { + value 0; + description + "Telecom grandmaster clock"; + } + enum "telecom-boundary" { + value 1; + description + "Telecom boundary clock"; + } + enum "telecom-slave" { + value 2; + description + "Telecom slave clock"; + } + } + description + "Ptp telecom clock"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper-sub1.yang new file mode 100644 index 0000000..7c646e1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper-sub1.yang @@ -0,0 +1,2119 @@ +submodule Cisco-IOS-XR-ptp-oper-sub1 { + belongs-to Cisco-IOS-XR-ptp-oper { + prefix Cisco-IOS-XR-ptp-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ptp package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-02 { + description + "Initial version."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ptp-leap-seconds-source { + type uint8; + description + "Ptp leap seconds source"; + } + + typedef Ptp-clock-leap-seconds { + type uint8; + description + "Ptp clock leap seconds"; + } + + typedef Ptp-msg-version { + type uint8; + description + "Ptp msg version"; + } + + typedef Ptp-bag-delay-mechanism { + type enumeration { + enum "e2e" { + value 0; + description + "End to end delay mechanism"; + } + enum "p2p" { + value 1; + description + "Peer to peer delay mechanism"; + } + } + description + "Delay Mechanism"; + } + + typedef Ptp-bag-telecom-clock { + type enumeration { + enum "grandmaster" { + value 0; + description + "Grandmaster"; + } + enum "boundary" { + value 1; + description + "Boundary"; + } + enum "slave" { + value 2; + description + "Slave"; + } + } + description + "Telecom Clock"; + } + + typedef Ptp-bag-profile { + type enumeration { + enum "default" { + value 0; + description + "1588v2 profile (default)"; + } + enum "g82651" { + value 1; + description + "G.8265.1 profile"; + } + enum "g82751" { + value 2; + description + "G.8275.1 profile"; + } + enum "g82752" { + value 3; + description + "G.8275.2 profile"; + } + } + description + "Profile"; + } + + typedef Ptp-bag-optional-string { + type string; + description + "Ptp bag optional string"; + } + + typedef Ptp-bag-restrict-port-state { + type enumeration { + enum "any" { + value 0; + description + "Any"; + } + enum "slave-only" { + value 1; + description + "Slave only"; + } + enum "master-only" { + value 2; + description + "Master only"; + } + } + description + "Restrict Port State"; + } + + typedef Im-state { + type uint32; + description + "Im state"; + } + + typedef Ptp-bag-port-state { + type enumeration { + enum "initializing" { + value 0; + description + "Initializing state"; + } + enum "listen" { + value 1; + description + "Listen state"; + } + enum "passive" { + value 2; + description + "Passive state"; + } + enum "pre-master" { + value 3; + description + "Pre-Master state"; + } + enum "master" { + value 4; + description + "Master state"; + } + enum "uncalibrated" { + value 5; + description + "Uncalibrated state"; + } + enum "slave" { + value 6; + description + "Slave state"; + } + enum "faulty" { + value 7; + description + "Faulty state"; + } + } + description + "Port State"; + } + + typedef Ptp-delay-asymmetry { + type int32; + description + "Ptp delay asymmetry"; + } + + typedef Bag-in6-addr { + type inet:ipv6-address; + description + "Bag in6 addr"; + } + + typedef Ptp-bag-encap { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown encapsulation"; + } + enum "ethernet" { + value 1; + description + "Ethernet encapsulation"; + } + enum "ipv4" { + value 2; + description + "IPv4 encapsulation"; + } + enum "ipv6" { + value 3; + description + "IPv6 encapsulation"; + } + } + description + "Encapsulation"; + } + + typedef Ptp-domain-num { + type uint8; + description + "Ptp domain num"; + } + + typedef Ptp-bag-communication-model { + type enumeration { + enum "unicast" { + value 0; + description + "Unication communication"; + } + enum "mixed-mode" { + value 1; + description + "Mixed-mode communication"; + } + enum "multicast" { + value 2; + description + "Multicast communication"; + } + } + description + "Communication Model"; + } + + typedef Ptp-bag-clock-leap-seconds { + type enumeration { + enum "none" { + value 0; + description + "No leap second"; + } + enum "leap59" { + value 1; + description + "The last minute of the day has 59 seconds"; + } + enum "leap61" { + value 2; + description + "The last minute of the day has 61 seconds"; + } + } + units "second"; + description + "Leap Seconds"; + } + + typedef Ptp-bag-clock-timescale { + type enumeration { + enum "ptp" { + value 0; + description + "PTP timescale"; + } + enum "arb" { + value 1; + description + "ARB timescale"; + } + } + description + "Timescale"; + } + + typedef Ptp-bag-clock-time-source { + type enumeration { + enum "unknown" { + value 0; + description + "Unknown"; + } + enum "atomic" { + value 16; + description + "Atomic clock"; + } + enum "gps" { + value 32; + description + "GPS clock"; + } + enum "terrestrial-radio" { + value 48; + description + "Terrestrial Radio"; + } + enum "ptp" { + value 64; + description + "Precision Time Protocol"; + } + enum "ntp" { + value 80; + description + "Network Time Protocol"; + } + enum "hand-set" { + value 96; + description + "Hand set"; + } + enum "other" { + value 144; + description + "Other Time Source"; + } + enum "internal-oscillator" { + value 160; + description + "Internal Oscillator"; + } + } + description + "Time source"; + } + + typedef Ptp-clock-oslv { + type uint16; + description + "Ptp clock oslv"; + } + + typedef Ptp-clock-accuracy { + type uint8; + description + "Ptp clock accuracy"; + } + + typedef Ptp-clock-class { + type uint8; + description + "Ptp clock class"; + } + + typedef Ptp-clock-priority { + type uint8; + description + "Ptp clock priority"; + } + + typedef Ptp-clock-id1 { + type uint64; + description + "Ptp clock id1"; + } + + typedef Ptp-port-num { + type uint16; + description + "Ptp port num"; + } + + grouping PTP-BAG-LEAP-SECONDS-ENTRY { + description + "Upcoming PTP leap-second entry"; + leaf offset { + type int16; + units "second"; + description + "The UTC offset (TAI - UTC), in seconds"; + } + leaf offset-start-date { + type uint64; + description + "The UNIX timestamp at which the offset becomes + valid"; + } + leaf offset-change { + type int16; + description + "The change in UTC offset on applying this offset"; + } + leaf offset-applied { + type boolean; + description + "Indicates whether the offset has been applied"; + } + } + + grouping PTP-BAG-UTC-OFFSET-INFO { + description + "UTC offset information"; + leaf offset { + type int16; + units "second"; + description + "The UTC offset (TAI - UTC), in seconds"; + } + leaf valid { + type boolean; + description + "Is the UTC offset valid?"; + } + leaf flag { + type Ptp-clock-leap-seconds; + description + "Indicates the duration of the final minute of + the current day"; + } + } + + grouping PTP-LEAP-SECONDS-INFO { + description + "PTP UTC offset information"; + container current-offset-info { + description + "The current UTC offset information"; + uses PTP-BAG-UTC-OFFSET-INFO; + } + container current-gm-offset-info { + description + "The UTC offset information recovered from the + current grandmaster"; + uses PTP-BAG-UTC-OFFSET-INFO; + } + container configured-offset-info { + description + "The currently configured UTC offset information"; + uses PTP-BAG-UTC-OFFSET-INFO; + } + container previous-gm-offset-info { + description + "The UTC offset information recovered from the + prevous grandmaster"; + uses PTP-BAG-UTC-OFFSET-INFO; + } + container hardware-offset-info { + description + "The UTC offset information taken from the + hardware"; + uses PTP-BAG-UTC-OFFSET-INFO; + } + container gm-leap-second { + description + "The upcoming leap second advertised by the + grandmaster (if there is one)"; + uses PTP-BAG-LEAP-SECONDS-ENTRY; + } + leaf source-type { + type Ptp-leap-seconds-source; + description + "The current source of the UTC offset information"; + } + leaf source-file { + type Ptp-bag-optional-string; + description + "The URL of the file containing leap second + information"; + } + leaf source-expiry-date { + type uint32; + units "second"; + description + "Source file expiry timestamp, in seconds since + UNIX epoch"; + } + leaf polling-frequency { + type uint32; + units "day"; + description + "Source file polling frequency, in days"; + } + list configured-leap-second { + description + "The list of upcoming configured leap second + updates"; + uses PTP-BAG-LEAP-SECONDS-ENTRY; + } + } + + grouping PTP-GRANDMASTER-INFO { + description + "Grandmaster clock information"; + container clock-properties { + description + "Grandmaster clock"; + uses PTP-BAG-CLOCK; + } + container address { + description + "The grandmaster's address information"; + uses PTP-BAG-ADDRESS; + } + leaf used-for-time { + type boolean; + description + "Whether the grandmaster is setting time-of-day + on the system"; + } + leaf used-for-frequency { + type boolean; + description + "Whether the grandmaster is setting frequency on + the system"; + } + leaf known-for-time { + type uint32; + units "second"; + description + "How long the clock has been grandmaster for, in + seconds"; + } + leaf domain { + type Ptp-domain-num; + description + "The PTP domain that the grandmaster is in"; + } + } + + grouping PTP-BAG-GL-CONFIG-ERRORS { + description + "Global Configuration Errors"; + leaf domain { + type boolean; + description + "Domain not compatible with configured profile"; + } + leaf profile-priority1-config { + type boolean; + description + "Priority1 configuration is not compatible with + configured profile"; + } + leaf profile-priority2-value { + type boolean; + description + "Priority2 value is not compatible with + configured profile"; + } + leaf utc-offset-change { + type boolean; + description + "Leap seconds configuration contains an invalid + UTC offset change"; + } + } + + grouping PTP-GL-CONFIG-ERRORS-INFO { + description + "Global configuration errors information"; + container configuration-errors { + description + "Configuration Errors"; + uses PTP-BAG-GL-CONFIG-ERRORS; + } + leaf clock-profile { + type Ptp-bag-profile; + description + "The clock profile"; + } + leaf clock-profile-set { + type boolean; + description + "Is the clock profile set"; + } + leaf telecom-clock-type { + type Ptp-bag-telecom-clock; + description + "Configured telecom clock type"; + } + leaf domain-number { + type Ptp-domain-num; + description + "The PTP domain"; + } + leaf priority2 { + type Ptp-clock-priority; + description + "The configured priority2 value"; + } + } + + grouping PTP-TIME-PROPERTIES-DS-INFO { + description + "timeProprtiesDS information"; + leaf current-utc-offset { + type int16; + description + "The current UTC offset"; + } + leaf current-utc-offset-valid { + type boolean; + description + "Whether the current UTC offset is valid"; + } + leaf leap59 { + type boolean; + description + "Whether the last minute of the day has 59 + seconds"; + } + leaf leap61 { + type boolean; + description + "Whether the last minute of the day has 61 + seconds"; + } + leaf time-traceable { + type boolean; + description + "Whether the time-of-day source is traceable"; + } + leaf frequency-traceable { + type boolean; + description + "Whther the frequency source is traceable"; + } + leaf ptp-timescale { + type boolean; + description + "Whether the timescale being used is the PTP + timescale"; + } + leaf time-source { + type Ptp-bag-clock-time-source; + description + "The physical time-source of the GM clock"; + } + } + + grouping PTP-PORT-DS-INFO { + description + "portDS information"; + leaf clock-id { + type Ptp-clock-id1; + description + "The ID of the local-clock"; + } + leaf port-number { + type Ptp-port-num; + description + "The port number"; + } + leaf port-state { + type Ptp-bag-port-state; + description + "The port state"; + } + leaf log-min-delay-req-interval { + type int16; + description + "The log (base 2) of the minimum delay-request + interval"; + } + leaf peer-mean-path-delay { + type int64; + description + "The mean path delay between peers"; + } + leaf log-announce-interval { + type int16; + description + "The log (base 2) of the announce interval"; + } + leaf annoucne-receipt-timeout { + type uint32; + description + "The announce timeout"; + } + leaf log-sync-interval { + type int16; + description + "The log (base 2) of the sync interval"; + } + leaf delay-mechanism { + type Ptp-bag-delay-mechanism; + description + "The delay mechanism being used on this port"; + } + leaf log-min-p-delay-req-interval { + type int16; + description + "The log (base 2) of the minimum + peer-delay-request interval"; + } + leaf version-number { + type Ptp-msg-version; + description + "The version of IEEE 1588 being run"; + } + leaf local-priority { + type uint32; + description + "Local priority of the local clock"; + } + leaf master-only { + type boolean; + description + "Is the port master-only?"; + } + leaf signal-fail { + type boolean; + description + "Signal fail status of the port"; + } + } + + grouping PTP-PARENT-DS-INFO { + description + "parentDS information"; + leaf parent-clock-id { + type Ptp-clock-id1; + description + "The Clock ID of the parent clock"; + } + leaf parent-port-number { + type Ptp-port-num; + description + "The port number on which the parent clock is + received"; + } + leaf parent-stats { + type boolean; + description + "Whether the parentStats is valid"; + } + leaf observed-parent-oslv { + type Ptp-clock-oslv; + description + "The observed parent offset scaled log variance"; + } + leaf observed-parent-clock-phase-change-rate { + type uint32; + description + "The observed rate of change of phase of the + parent clock"; + } + leaf gm-clock-id { + type Ptp-clock-id1; + description + "The Clock ID of the GM"; + } + leaf gm-clock-class { + type Ptp-clock-class; + description + "The clock class of the GM"; + } + leaf gm-clock-accuracy { + type Ptp-clock-accuracy; + description + "The clock accuracy of the GM"; + } + leaf gmoslv { + type Ptp-clock-oslv; + description + "The offset scaled log variance of the GM"; + } + leaf gm-priority1 { + type Ptp-clock-priority; + description + "The priority1 of the GM"; + } + leaf gm-priority2 { + type Ptp-clock-priority; + description + "The priority2 of the GM"; + } + } + + grouping PTP-CURRENT-DS-INFO { + description + "currentDS information"; + leaf steps-removed { + type uint16; + description + "How many steps removed this clock is from the GM"; + } + leaf offset-from-master { + type int64; + description + "The UTC offset of the local-clock from the GM"; + } + leaf mean-path-delay { + type int64; + description + "The mean path delay bewteen the foreign-master + and the local-clock"; + } + } + + grouping PTP-DEFAULT-DS-INFO { + description + "defaultDS information"; + leaf two-step-flag { + type boolean; + description + "Is the twoStepFlag set for this clock"; + } + leaf clock-id { + type Ptp-clock-id1; + description + "The local-clock ID"; + } + leaf number-ports { + type uint32; + description + "The number of active PTP ports on this clock"; + } + leaf clock-class { + type Ptp-clock-class; + description + "The clock class of the local-clock"; + } + leaf clock-accuracy { + type Ptp-clock-accuracy; + description + "The accuracy of the local-clock"; + } + leaf oslv { + type Ptp-clock-oslv; + description + "The offset scaled log variance of the + local-clock"; + } + leaf priority1 { + type Ptp-clock-priority; + description + "The priority1 of the local-clock"; + } + leaf priority2 { + type Ptp-clock-priority; + description + "The priority2 of the local-clock"; + } + leaf domain-number { + type Ptp-domain-num; + description + "The domain of the local-clock"; + } + leaf slave-only { + type boolean; + description + "Whether the local-clock is globally configured + as slave-only"; + } + leaf local-priority { + type uint32; + description + "Local priority of the local clock"; + } + leaf signal-fail { + type boolean; + description + "Signal fail status of the local clock"; + } + } + + grouping PTP-ADVERTISED-CLOCK-INFO { + description + "Advertised clock information"; + container clock-properties { + description + "Advertised Clock"; + uses PTP-BAG-CLOCK; + } + leaf domain { + type Ptp-domain-num; + description + "The PTP domain of that the advertised clock is + in"; + } + leaf time-source-configured { + type boolean; + description + "Whether the advertised time source is configured"; + } + leaf received-time-source { + type Ptp-bag-clock-time-source; + description + "The time source received from the parent clock"; + } + leaf timescale-configured { + type boolean; + description + "Whether the advertised timescale is configured"; + } + leaf received-timescale { + type Ptp-bag-clock-timescale; + description + "The timescale received from the parent clock"; + } + } + + grouping PTP-BAG-PEER-PACKET-COUNTERS { + description + "PTP peer packet counters"; + container address { + description + "Peer address"; + uses PTP-BAG-ADDRESS; + } + container counters { + description + "Packet counters"; + uses PTP-BAG-PACKET-COUNTERS; + } + } + + grouping PTP-IF-PACKET-COUNTER-INFO { + description + "PTP interface packet counters"; + container counters { + description + "Packet counters"; + uses PTP-BAG-PACKET-COUNTERS; + } + list peer-counter { + description + "Packet counters for each peer on this interface"; + uses PTP-BAG-PEER-PACKET-COUNTERS; + } + } + + grouping PTP-LOCAL-CLOCK-INFO { + description + "Local clock information"; + container clock-properties { + description + "Local clock"; + uses PTP-BAG-CLOCK; + } + leaf domain { + type Ptp-domain-num; + description + "The PTP domain of the local clock"; + } + } + + grouping PTP-BAG-CONFIG-ERRORS { + description + "Configuration Errors"; + leaf global-ptp { + type boolean; + description + "PTP enabled on interface but not globally"; + } + leaf ethernet-transport { + type boolean; + description + "Ethernet transport configured but not supported"; + } + leaf one-step { + type boolean; + description + "One step clock operation configured but not + supported"; + } + leaf slave { + type boolean; + description + "Slave-operation configured but not supported"; + } + leaf ipv6 { + type boolean; + description + "IPv6 transport configured but not supported"; + } + leaf multicast { + type boolean; + description + "Multicast configured but not supported"; + } + leaf profile-not-global { + type boolean; + description + "Profile is referenced but not globally + configured"; + } + leaf local-priority { + type boolean; + description + "Local priority configuration is not compatible + with profile"; + } + leaf profile-ethernet { + type boolean; + description + "Ethernet transport is not compatible with + profile"; + } + leaf profile-ipv4 { + type boolean; + description + "IPv6 transport is not compatible with profile"; + } + leaf profile-ipv6 { + type boolean; + description + "IPv6 transport is not compatible with profile"; + } + leaf profile-unicast { + type boolean; + description + "Unicast is not compatible with profile"; + } + leaf profile-multicast { + type boolean; + description + "Multicast is not compatible with profile"; + } + leaf profile-mixed { + type boolean; + description + "Mixed-mode multicast is not compatible with + profile"; + } + leaf profile-master-unicast { + type boolean; + description + "Unicast master is not compatible with profile"; + } + leaf profile-master-multicast { + type boolean; + description + "Multicast master is not compatible with profile"; + } + leaf profile-master-mixed { + type boolean; + description + "Mixed-mode multicast master is not compatible + with profile"; + } + leaf target-address-ipv4 { + type boolean; + description + "Ethernet multicast target-address is configured, + but transport is IPv4"; + } + leaf target-address-ipv6 { + type boolean; + description + "Ethernet multicast target-address is configured, + but transport is IPv6"; + } + leaf profile-port-state { + type boolean; + description + "Port state restriction is not compatible with + telecom clock type"; + } + leaf profile-announce-interval { + type boolean; + description + "Announce interval is not compatible with profile"; + } + leaf profile-sync-interval { + type boolean; + description + "Sync interval is not compatible with profile"; + } + leaf profile-delay-req-interval { + type boolean; + description + "Delay request interval is not compatible with + profile"; + } + leaf profile-sync-timeout { + type boolean; + description + "Sync timeout configuration is not compatible + with profile"; + } + leaf profile-delay-resp-timeout { + type boolean; + description + "Delay response timeout configuration is not + compatible with profile"; + } + leaf invalid-grant-reduction { + type boolean; + description + "Reducing invalid unicast grants is not + compatible with configured profile"; + } + } + + grouping PTP-IF-CONFIG-ERRORS-ENTRY { + description + "Configuration Errors Entry"; + container configuration-errors { + description + "Configuration Errors"; + uses PTP-BAG-CONFIG-ERRORS; + } + leaf configuration-profile-name { + type Ptp-bag-optional-string; + description + "Configuration profile name, if a profile is + selected"; + } + leaf clock-profile { + type Ptp-bag-profile; + description + "The clock profile"; + } + leaf telecom-clock-type { + type Ptp-bag-telecom-clock; + description + "The telecom clock type"; + } + leaf restrict-port-state { + type Ptp-bag-restrict-port-state; + description + "Restriction on the port state"; + } + } + + grouping PTP-BAG-DROP-REASONS { + description + "Drop Reasons"; + leaf not-ready { + type uint32; + description + "Not ready for packets"; + } + leaf wrong-domain { + type uint32; + description + "Wrong domain number"; + } + leaf too-short { + type uint32; + description + "Packet too short"; + } + leaf looped-same-port { + type uint32; + description + "Local packet received, same port number"; + } + leaf looped-higher-port { + type uint32; + description + "Local packet received, higher port number"; + } + leaf looped-lower-port { + type uint32; + description + "Local packet received, lower port number"; + } + leaf no-timestamp { + type uint32; + description + "No timestamp received with packet"; + } + leaf zero-timestamp { + type uint32; + description + "Zero timestamp received with packet"; + } + leaf invalid-tl-vs { + type uint32; + description + "Invalid TLVs received in packet"; + } + leaf not-for-us { + type uint32; + description + "Packet not for us"; + } + leaf not-listening { + type uint32; + description + "Not listening for packets on this interface"; + } + leaf wrong-master { + type uint32; + description + "Packet from incorrect master"; + } + leaf unknown-master { + type uint32; + description + "Packet from unknown master"; + } + leaf not-master { + type uint32; + description + "Packet only handled in Master state"; + } + leaf not-slave { + type uint32; + description + "Packet only handled in Slave state"; + } + leaf not-granted { + type uint32; + description + "Packet from peer not granted unicast"; + } + leaf too-slow { + type uint32; + description + "Packet received too late"; + } + leaf invalid-packet { + type uint32; + description + "Invalid packet or packet metadata"; + } + leaf wrong-sequence-id { + type uint32; + description + "Unexpected sequence ID"; + } + leaf no-offload-session { + type uint32; + description + "No offload session"; + } + leaf not-supported { + type uint32; + description + "PTP packet type not supported"; + } + leaf min-clock-class { + type uint32; + description + "Clock class below minimum"; + } + leaf g8275-1-incompatible { + type uint32; + description + "Packet not compatible with G.8275.1 profile"; + } + leaf g8275-2-incompatible { + type uint32; + description + "Packet not compatible with G.8275.2 profile"; + } + } + + grouping PTP-BAG-PACKET-COUNTERS { + description + "PTP packet counters"; + leaf announce-sent { + type uint32; + description + "Number of announce packets sent"; + } + leaf announce-received { + type uint32; + description + "Number of announce packets received"; + } + leaf announce-dropped { + type uint32; + description + "Number of announce packets dropped"; + } + leaf sync-sent { + type uint32; + description + "Number of sync packets sent"; + } + leaf sync-received { + type uint32; + description + "Number of sync packets received"; + } + leaf sync-dropped { + type uint32; + description + "Number of sync packetsdropped"; + } + leaf follow-up-sent { + type uint32; + description + "Number of follow-up packets sent"; + } + leaf follow-up-received { + type uint32; + description + "Number of follow-up packets received"; + } + leaf follow-up-dropped { + type uint32; + description + "Number of follow-up packets dropped"; + } + leaf delay-request-sent { + type uint32; + description + "Number of delay-request packets sent"; + } + leaf delay-request-received { + type uint32; + description + "Number of delay-request packets received"; + } + leaf delay-request-dropped { + type uint32; + description + "Number of delay-request packets dropped"; + } + leaf delay-response-sent { + type uint32; + description + "Number of delay-response packets sent"; + } + leaf delay-response-received { + type uint32; + description + "Number of delay-response packets received"; + } + leaf delay-response-dropped { + type uint32; + description + "Number of delay-response packets dropped"; + } + leaf peer-delay-request-sent { + type uint32; + description + "Number of peer-delay-request packets sent"; + } + leaf peer-delay-request-received { + type uint32; + description + "Number of peer-delay-request packets received"; + } + leaf peer-delay-request-dropped { + type uint32; + description + "Number of peer-delay-request packets dropped"; + } + leaf peer-delay-response-sent { + type uint32; + description + "Number of peer-delay-response packets sent"; + } + leaf peer-delay-response-received { + type uint32; + description + "Number of peer-delay-response packets received"; + } + leaf peer-delay-response-dropped { + type uint32; + description + "Number of peer-delay-response packets dropped"; + } + leaf peer-delay-response-follow-up-sent { + type uint32; + description + "Number of peer-delay-response follow-up packets + sent"; + } + leaf peer-delay-response-follow-up-received { + type uint32; + description + "Number of peer-delay-response follow-up packets + received"; + } + leaf peer-delay-response-follow-up-dropped { + type uint32; + description + "Number of peer-delay-response follow-up packets + dropped"; + } + leaf signaling-sent { + type uint32; + description + "Number of signaling packets sent"; + } + leaf signaling-received { + type uint32; + description + "Number of signaling packets received"; + } + leaf signaling-dropped { + type uint32; + description + "Number of signaling packets dropped"; + } + leaf management-sent { + type uint32; + description + "Number of management messages sent"; + } + leaf management-received { + type uint32; + description + "Number of management messages received"; + } + leaf management-dropped { + type uint32; + description + "Number of management messages dropped"; + } + leaf other-packets-sent { + type uint32; + description + "Number of other packets sent"; + } + leaf other-packets-received { + type uint32; + description + "Number of other packets received"; + } + leaf other-packets-dropped { + type uint32; + description + "Number of other packets dropped"; + } + leaf total-packets-sent { + type uint32; + description + "Total number of packets sent"; + } + leaf total-packets-received { + type uint32; + description + "Total number of packets received"; + } + leaf total-packets-dropped { + type uint32; + description + "Total number of packets dropped"; + } + } + + grouping PTP-NODE-PACKET-COUNTER-INFO { + description + "PTP node packet counters"; + container counters { + description + "Packet counters"; + uses PTP-BAG-PACKET-COUNTERS; + } + container drop-reasons { + description + "Drop reasons"; + uses PTP-BAG-DROP-REASONS; + } + } + + grouping PTP-BAG-UNICAST-PEER { + description + "PTP Unicast Peer"; + container address { + description + "The address of the unicast peer"; + uses PTP-BAG-ADDRESS; + } + container announce-grant { + description + "Unicast grant information for announce messages"; + uses PTP-BAG-UNICAST-GRANT; + } + container sync-grant { + description + "Unicast grant information for sync messages"; + uses PTP-BAG-UNICAST-GRANT; + } + container delay-response-grant { + description + "Unicast grant information for delay-response + messages"; + uses PTP-BAG-UNICAST-GRANT; + } + } + + grouping PTP-IF-UNICAST-PEER-INFO { + description + "PTP interface unicast peers"; + leaf name { + type string; + description + "Interface name"; + } + leaf port-number { + type Ptp-port-num; + description + "Port number"; + } + list peers { + description + "Unicast Peers"; + uses PTP-BAG-UNICAST-PEER; + } + } + + grouping PTP-BAG-MASTER-TABLE-ENTRY { + description + "PTP Master Table Entry"; + container address { + description + "The address of the master clock"; + uses PTP-BAG-ADDRESS; + } + leaf communication-model { + type Ptp-bag-communication-model; + description + "The configured communication model of the master + clock"; + } + leaf priority { + type uint8; + description + "The priority of the master clock, if it is set"; + } + leaf known { + type boolean; + description + "Whether the interface is receiving messages from + this master"; + } + leaf qualified { + type boolean; + description + "The master is qualified for best master clock + selection"; + } + leaf is-grandmaster { + type boolean; + description + "Whether this is the grandmaster"; + } + leaf ptsf-loss-announce { + type uint8; + description + "Announced messages are not being received from + the master"; + } + leaf ptsf-loss-sync { + type uint8; + description + "Sync messages are not being received from the + master"; + } + leaf is-nonnegotiated { + type boolean; + description + "Whether this master uses non-negotiated unicast"; + } + } + + grouping PTP-IF-INFO { + description + "PTP interface information"; + container mac-address { + description + "MAC address, if Ethernet encapsulation is being + used"; + uses PTP-BAG-MAC-ADDR-TYPE; + } + leaf port-state { + type Ptp-bag-port-state; + description + "Port state"; + } + leaf port-number { + type Ptp-port-num; + description + "Port number"; + } + leaf line-state { + type Im-state; + description + "Line state"; + } + leaf encapsulation { + type Ptp-bag-encap; + description + "Encapsulation"; + } + leaf ipv6-address { + type Bag-in6-addr; + description + "Ipv6 address, if IPv6 encapsulation is being + used"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPv4 address, if IPv4 encapsulation is being + used"; + } + leaf two-step { + type boolean; + description + "Two step delay-request mechanism is being used"; + } + leaf communication-model { + type Ptp-bag-communication-model; + description + "Communication model configured on the interface"; + } + leaf log-sync-interval { + type int32; + description + "Log of the interface's sync interval"; + } + leaf log-announce-interval { + type int32; + description + "Log of the interface's announce interval"; + } + leaf announce-timeout { + type uint32; + description + "Announce timeout"; + } + leaf log-min-delay-request-interval { + type int32; + description + "Log of the interface's Minimum delay-request + interval"; + } + leaf configured-port-state { + type Ptp-bag-restrict-port-state; + description + "The configured port state"; + } + leaf supports-one-step { + type boolean; + description + "The interface supports one-step operation"; + } + leaf supports-two-step { + type boolean; + description + "The interface supports two-step operation"; + } + leaf supports-ethernet { + type boolean; + description + "The interface supports ethernet transport"; + } + leaf supports-multicast { + type boolean; + description + "The interface supports multicast"; + } + leaf supports-ipv6 { + type boolean; + description + "The interface supports IPv6 transport"; + } + leaf supports-slave { + type boolean; + description + "The interface supports operation in slave mode"; + } + leaf supports-source-ip { + type boolean; + description + "The interface supports source ip configuration"; + } + leaf max-sync-rate { + type uint8; + description + "The maximum rate of sync packets on the + interface"; + } + leaf event-cos { + type uint32; + description + "The class of service used on the interface for + event messages"; + } + leaf general-cos { + type uint32; + description + "The class of service used on the interface for + general messages"; + } + leaf event-dscp { + type uint32; + description + "The DSCP class used on the interface for event + messages"; + } + leaf general-dscp { + type uint32; + description + "The DSCP class used on the interface for general + messages"; + } + leaf unicast-peers { + type uint32; + description + "The number of unicast peers known by the + interface"; + } + leaf local-priority { + type uint8; + description + "Local priority, for the G.8275.1 PTP profile"; + } + leaf signal-fail { + type boolean; + description + "Signal fail status of the interface"; + } + list master-table { + description + "The interface's master table"; + uses PTP-BAG-MASTER-TABLE-ENTRY; + } + } + + grouping PTP-SUMMARY-INFO { + description + "PTP summary information"; + leaf port-state-init-count { + type uint32; + description + "Number of interfaces in 'Init' port state"; + } + leaf port-state-listening-count { + type uint32; + description + "Number of interfaces in 'Listening' port state"; + } + leaf port-state-passive-count { + type uint32; + description + "Number of interfaces in 'Passive' port state"; + } + leaf port-state-pre-master-count { + type uint32; + description + "Number of interfaces in 'Pre-Master' port state"; + } + leaf port-state-master-count { + type uint32; + description + "Number of interfaces in 'Master' port state"; + } + leaf port-state-slave-count { + type uint32; + description + "Number of interfaces in 'Slave' port state"; + } + leaf port-state-uncalibrated-count { + type uint32; + description + "Number of interfaces in 'Uncalibrated port state"; + } + leaf port-state-faulty-count { + type uint32; + description + "Number of interfaces in 'Faulty' port state"; + } + leaf total-interfaces { + type uint32; + description + "Total number of interfaces"; + } + leaf total-interfaces-valid-port-num { + type uint32; + description + "Total number of interfaces with a valid port + number"; + } + } + + grouping PTP-BAG-UNICAST-GRANT { + description + "PTP Unicast Grant"; + leaf log-grant-interval { + type int8; + description + "Log of the interval which has been granted"; + } + leaf grant-duration { + type uint32; + description + "Duraction of the grant"; + } + } + + grouping PTP-BAG-IPV6-ADDR-TYPE { + description + "PTP BAG IPV6 ADDR TYPE"; + leaf ipv6-address { + type Bag-in6-addr; + description + "IPv6 Address"; + } + } + + grouping PTP-BAG-MAC-ADDR-TYPE { + description + "Mac Address"; + leaf macaddr { + type yang:mac-address; + description + "macaddr"; + } + } + + grouping PTP-BAG-ADDRESS { + description + "Address"; + container mac-address { + when "../encapsulation = 'ethernet'" { + description + "../Encapsulation = 'Ethernet'"; + } + description + "Ethernet MAC address"; + uses PTP-BAG-MAC-ADDR-TYPE; + } + container ipv6-address { + when "../encapsulation = 'ipv6'" { + description + "../Encapsulation = 'IPv6'"; + } + description + "IPv6 address"; + uses PTP-BAG-IPV6-ADDR-TYPE; + } + leaf encapsulation { + type Ptp-bag-encap; + description + "Encapsulation"; + } + leaf address-unknown { + when "../encapsulation = 'unknown'" { + description + "../Encapsulation = 'Unknown'"; + } + type boolean; + description + "Unknown address type"; + } + leaf ipv4-address { + when "../encapsulation = 'ipv4'" { + description + "../Encapsulation = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + } + + grouping PTP-BAG-PORT-ID { + description + "Port ID"; + leaf clock-id { + type Ptp-clock-id1; + description + "Clock ID"; + } + leaf port-number { + type Ptp-port-num; + description + "Port number"; + } + } + + grouping PTP-BAG-CLOCK-UTC-OFFSET { + description + "PTP Clock UTC offset"; + leaf current-offset { + type int16; + description + "Current offset"; + } + leaf offset-valid { + type boolean; + description + "The current offset is valid"; + } + } + + grouping PTP-BAG-CLOCK { + description + "PTP Clock"; + container utc-offset { + description + "UTC offset"; + uses PTP-BAG-CLOCK-UTC-OFFSET; + } + container receiver { + description + "Receiver"; + uses PTP-BAG-PORT-ID; + } + container sender { + description + "Sender"; + uses PTP-BAG-PORT-ID; + } + leaf clock-id { + type Ptp-clock-id1; + description + "Clock ID"; + } + leaf priority1 { + type Ptp-clock-priority; + description + "Priority 1"; + } + leaf priority2 { + type Ptp-clock-priority; + description + "Priority 2"; + } + leaf class { + type Ptp-clock-class; + description + "Class"; + } + leaf accuracy { + type Ptp-clock-accuracy; + description + "Accuracy"; + } + leaf offset-log-variance { + type Ptp-clock-oslv; + description + "Offset log variance"; + } + leaf steps-removed { + type uint16; + description + "Steps removed"; + } + leaf time-source { + type Ptp-bag-clock-time-source; + description + "Time source"; + } + leaf frequency-traceable { + type boolean; + description + "The clock is frequency traceable"; + } + leaf time-traceable { + type boolean; + description + "The clock is time traceable"; + } + leaf timescale { + type Ptp-bag-clock-timescale; + description + "Timescale"; + } + leaf leap-seconds { + type Ptp-bag-clock-leap-seconds; + units "second"; + description + "Leap Seconds"; + } + leaf local { + type boolean; + description + "The clock is the local clock"; + } + leaf configured-clock-class { + type Ptp-clock-class; + description + "The configured clock class"; + } + leaf configured-priority { + type Ptp-clock-priority; + description + "The configured priority"; + } + } + + grouping PTP-BAG-FOREIGN-CLOCK { + description + "PTP Foreign Clock"; + container foreign-clock { + description + "Foreign clock information"; + uses PTP-BAG-CLOCK; + } + container address { + description + "The address of the clock"; + uses PTP-BAG-ADDRESS; + } + container announce-grant { + description + "Unicast grant information for announce messages"; + uses PTP-BAG-UNICAST-GRANT; + } + container sync-grant { + description + "Unicast grant information for sync messages"; + uses PTP-BAG-UNICAST-GRANT; + } + container delay-response-grant { + description + "Unicast grant information for delay-response + messages"; + uses PTP-BAG-UNICAST-GRANT; + } + leaf is-qualified { + type boolean; + description + "The clock is qualified for best master clock + selection"; + } + leaf is-grandmaster { + type boolean; + description + "This clock is the currently selected grand + master clock"; + } + leaf communication-model { + type Ptp-bag-communication-model; + description + "The communication model configured on this clock"; + } + leaf is-known { + type boolean; + description + "This clock is known by this router"; + } + leaf time-known-for { + type uint32; + units "second"; + description + "How long the clock has been known by this router + for, in seconds"; + } + leaf foreign-domain { + type Ptp-domain-num; + description + "The PTP domain that the foreign clock is in"; + } + leaf configured-priority { + type Ptp-clock-priority; + description + "Priority configured for the clock, if any"; + } + leaf configured-clock-class { + type Ptp-clock-class; + description + "Clock class configured for the clock, if any"; + } + leaf delay-asymmetry { + type Ptp-delay-asymmetry; + description + "Delay asymmetry configured for the clock, if any"; + } + leaf ptsf-loss-announce { + type boolean; + description + "Announced messages are not being received from + the master"; + } + leaf ptsf-loss-sync { + type boolean; + description + "Sync messages are not being received from the + master"; + } + } + + grouping PTP-IF-CLOCK-INFO { + description + "PTP foreign clock information"; + leaf port-number { + type Ptp-port-num; + description + "Port number"; + } + list foreign-clock { + description + "Foreign clocks received on this interface"; + uses PTP-BAG-FOREIGN-CLOCK; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper.yang new file mode 100644 index 0000000..73ca90e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-oper.yang @@ -0,0 +1,270 @@ +module Cisco-IOS-XR-ptp-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper"; + prefix ptp-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ptp-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-ptp-oper-sub1 { + revision-date 2017-02-02; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ptp package operational data. + + This module contains definitions + for the following management objects: + ptp: PTP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-02 { + description + "Initial version."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ptp { + config false; + description + "PTP operational data"; + container nodes { + description + "Table for node-specific operational data"; + list node { + key "node-name"; + description + "Node-specific operational data for a given node"; + container node-interface-foreign-masters { + description + "Table for node foreign master clock + operational data"; + list node-interface-foreign-master { + key "interface-name"; + description + "Node interface foreign master clock + operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-CLOCK-INFO; + } + } + container summary { + description + "Node summary operational data"; + uses PTP-SUMMARY-INFO; + } + container node-interfaces { + description + "Table for node interface operational data"; + list node-interface { + key "interface-name"; + description + "Node interface operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-INFO; + } + } + container node-interface-unicast-peers { + description + "Table for node unicast peers operational data"; + list node-interface-unicast-peer { + key "interface-name"; + description + "Node interface unicast peers operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-UNICAST-PEER-INFO; + } + } + container packet-counters { + description + "Node packet counter operational data"; + uses PTP-NODE-PACKET-COUNTER-INFO; + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + container interface-configuration-errors { + description + "Table for interface configuration error + operational data"; + list interface-configuration-error { + key "interface-name"; + description + "Interface configuration error operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-CONFIG-ERRORS-ENTRY; + } + } + container interface-foreign-masters { + description + "Table for interface foreign master clock + operational data"; + list interface-foreign-master { + key "interface-name"; + description + "Interface foreign master clock operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-CLOCK-INFO; + } + } + container local-clock { + description + "Local clock operational data"; + uses PTP-LOCAL-CLOCK-INFO; + } + container interface-packet-counters { + description + "Table for interface packet counter operational + data"; + list interface-packet-counter { + key "interface-name"; + description + "Interface packet counter operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-PACKET-COUNTER-INFO; + } + } + container advertised-clock { + description + "Advertised clock operational data"; + uses PTP-ADVERTISED-CLOCK-INFO; + } + container interfaces { + description + "Table for interface operational data"; + list interface { + key "interface-name"; + description + "Interface operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-INFO; + } + } + container dataset { + description + "Global PTP datasets"; + container default-ds { + description + "defaultDS information as described in IEEE + 1588-2008"; + uses PTP-DEFAULT-DS-INFO; + } + container current-ds { + description + "currentDS information as described in IEEE + 1588-2008"; + uses PTP-CURRENT-DS-INFO; + } + container parent-ds { + description + "parentDS information as described in IEEE + 1588-2008"; + uses PTP-PARENT-DS-INFO; + } + container port-dses { + description + "Table for portDS information"; + list port-ds { + key "interface-name"; + description + "PortDS information"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-PORT-DS-INFO; + } + } + container time-properties-ds { + description + "timePropertiesDS information as described in + IEEE 1588-2008"; + uses PTP-TIME-PROPERTIES-DS-INFO; + } + } + container global-configuration-error { + description + "Global configuration error operational data"; + uses PTP-GL-CONFIG-ERRORS-INFO; + } + container grandmaster { + description + "Grandmaster clock operational data"; + uses PTP-GRANDMASTER-INFO; + } + container interface-unicast-peers { + description + "Table for interface unicast peers operational + data"; + list interface-unicast-peer { + key "interface-name"; + description + "Interface unicast peers operational data"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses PTP-IF-UNICAST-PEER-INFO; + } + } + container utc-offset-info { + description + "UTC offset information"; + uses PTP-LEAP-SECONDS-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper-sub1.yang new file mode 100644 index 0000000..2334084 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper-sub1.yang @@ -0,0 +1,190 @@ +submodule Cisco-IOS-XR-ptp-pd-oper-sub1 { + belongs-to Cisco-IOS-XR-ptp-pd-oper { + prefix Cisco-IOS-XR-ptp-pd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR ptp-pd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-08 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PTP-PD-BAG-TIMESTAMP { + description + "PTP PD timestamp"; + leaf second { + type uint32; + description + "value of second"; + } + leaf nano-second { + type uint32; + description + "value of nano second"; + } + } + + grouping PTP-PD-SERVO-INFO { + description + "PTP PD servo status"; + container last-set-time { + description + "last input of setTime"; + uses PTP-PD-BAG-TIMESTAMP; + } + container last-received-t1 { + description + "last T1 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container last-received-t2 { + description + "last T2 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container last-received-t3 { + description + "last T3 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container last-received-t4 { + description + "last T4 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container pre-received-t1 { + description + "pre T1 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container pre-received-t2 { + description + "pre T2 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container pre-received-t3 { + description + "pre T3 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + container pre-received-t4 { + description + "pre T4 timestamp received"; + uses PTP-PD-BAG-TIMESTAMP; + } + leaf lock-status { + type uint16; + description + "lock status of device"; + } + leaf running { + type boolean; + description + "running status of apr"; + } + leaf device-status { + type string { + length "0..50"; + } + description + "status of device"; + } + leaf log-level { + type uint16; + description + "log level of apr"; + } + leaf phase-accuracy-last { + type int64; + description + " last phase alignment accuracy"; + } + leaf num-sync-timestamp { + type uint32; + description + "number of sync timestamp received"; + } + leaf num-delay-timestamp { + type uint32; + description + "number of delay timestamp received"; + } + leaf num-set-time { + type uint32; + description + "number of setTime() been called"; + } + leaf num-step-time { + type uint32; + description + "number of stepTime() been called"; + } + leaf num-adjust-freq { + type uint32; + description + "number of adjustFreq() been called"; + } + leaf num-adjust-freq-time { + type uint32; + description + "number of adjustFreqTime() been called"; + } + leaf last-adjust-freq { + type int32; + description + "last input of adjustFreq"; + } + leaf last-step-time { + type int32; + description + "last input of stepTime"; + } + leaf num-discard-sync-timestamp { + type uint32; + description + "number of sync timestamp discarded"; + } + leaf num-discard-delay-timestamp { + type uint32; + description + "number of delay timestamp discarded"; + } + leaf flagof-last-set-time { + type boolean; + description + "last input flag of setTime"; + } + leaf offset-from-master { + type int64; + description + "Time Offset From Master"; + } + leaf mean-path-delay { + type int64; + description + "Mean Path Delay"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper.yang new file mode 100644 index 0000000..c1a9cfb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-ptp-pd-oper.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-ptp-pd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-pd-oper"; + prefix ptp-pd-oper; + + import Cisco-IOS-XR-ptp-oper { + prefix a1; + } + include Cisco-IOS-XR-ptp-pd-oper-sub1 { + revision-date 2016-06-08; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ptp-pd package operational data. + + This YANG module augments the + Cisco-IOS-XR-ptp-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-08 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:ptp" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-ptp-oper'"; + container platform { + description + "PTP platform specific data"; + container servo { + description + "PTP servo related parameters"; + uses PTP-PD-SERVO-INFO; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-bng-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-bng-cfg.yang new file mode 100644 index 0000000..d307c79 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-bng-cfg.yang @@ -0,0 +1,254 @@ +module Cisco-IOS-XR-qos-ma-bng-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-bng-cfg"; + prefix qos-ma-bng-cfg; + + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR qos-ma-bng package configuration. + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-01 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Qosl2-data-link { + type enumeration { + enum "aal5" { + value 0; + description + "ATM adaption layer AAL5"; + } + } + description + "Qosl2 data link"; + } + + typedef Qosl2-encap { + type enumeration { + enum "snap-pppoa" { + value 1; + description + "snap-pppoa encap used between the DSLAM and CPE"; + } + enum "mux-pppoa" { + value 2; + description + "mux-pppoa encap used between the DSLAM and CPE"; + } + enum "snap1483-routed" { + value 3; + description + "snap-1483routed encap used between the DSLAM + and CPE"; + } + enum "mux1483-routed" { + value 4; + description + "mux-1483routed encap used between the DSLAM and + CPE"; + } + enum "snap-rbe" { + value 5; + description + "snap-rbe encap used between the DSLAM and CPE"; + } + enum "snap-dot1qrbe" { + value 6; + description + "snap-dot1q-rbe encap used between the DSLAM and + CPE"; + } + enum "mux-rbe" { + value 7; + description + "mux-rbe encap used between the DSLAM and CPE"; + } + enum "mux-dot1qrbe" { + value 8; + description + "mux-dot1q-rbe encap used between the DSLAM and + CPE"; + } + } + description + "Qosl2 encap"; + } + + grouping QOS { + description + "Common node of ppp, ip-subscriber, + subscriber-service"; + container qos { + description + "QoS dynamically applied configuration template"; + container service-policy { + description + "Service policy to be applied in ingress/egress + direction"; + container input { + presence "Indicates a input node is configured."; + description + "Subscriber ingress policy"; + leaf policy-name { + type string; + mandatory true; + description + "Name of policy-map"; + } + leaf spi-name { + type string; + description + "Name of the SPI"; + } + leaf merge { + type boolean; + description + "TRUE for merge enabled for service-policy + applied on dynamic template."; + } + leaf merge-id { + type uint32 { + range "0..255"; + } + description + "Merge ID value"; + } + leaf account-stats { + type boolean; + description + "TRUE for account stats enabled for + service-policy applied on dynamic template. + Note: account stats not supported for + subscriber type 'ppp' and 'ipsubscriber'."; + } + } + container output { + presence "Indicates a output node is configured."; + description + "Subscriber egress policy"; + leaf policy-name { + type string; + mandatory true; + description + "Name of policy-map"; + } + leaf spi-name { + type string; + description + "Name of the SPI"; + } + leaf merge { + type boolean; + description + "TRUE for merge enabled for service-policy + applied on dynamic template."; + } + leaf merge-id { + type uint32 { + range "0..255"; + } + description + "Merge ID value"; + } + leaf account-stats { + type boolean; + description + "TRUE for account stats enabled for + service-policy applied on dynamic template. + Note: account stats not supported for + subscriber type 'ppp' and 'ipsubscriber'."; + } + } + } + container account { + description + "QoS L2 overhead accounting"; + leaf aal { + type Qosl2-data-link; + must "../encapsulation and not(../user-defined or ../atm-cell-tax)"; + description + "ATM adaptation layer AAL"; + } + leaf encapsulation { + type Qosl2-encap; + must "../aal and not(../user-defined or ../atm-cell-tax)"; + description + "Specify encapsulation type"; + } + leaf atm-cell-tax { + type empty; + must "../user-defined and not(../aal or ../encapsulation)"; + description + "ATM cell tax to L2 overhead"; + } + leaf user-defined { + type int32 { + range "-63..63"; + } + must "not(../aal or ../encapsulation)"; + description + "Numeric L2 overhead offset"; + } + } + container output { + description + "QoS to be applied in egress direction"; + leaf minimum-bandwidth { + type uint32 { + range "1..4294967295"; + } + units "kbit/s"; + description + "Minimum bandwidth value for the subscriber (in + kbps)"; + } + } + } + } + + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses QOS; + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses QOS; + } + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses QOS; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-cfg.yang new file mode 100644 index 0000000..660757a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-cfg.yang @@ -0,0 +1,324 @@ +module Cisco-IOS-XR-qos-ma-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-cfg"; + prefix qos-ma-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-l2vpn-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR qos package configuration. + + This module contains definitions + for the following management objects: + qos: Global QOS configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-l2vpn-cfg, + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-12-23 { + description + "IOS XR 6.2.1 revision."; + } + revision 2016-12-15 { + description + "IOS XR 6.2.1 revision."; + } + revision 2016-11-11 { + description + "IOS XR 6.2.1 revision."; + } + revision 2016-03-03 { + description + "IOS XR 6.1.1 revision."; + } + + typedef Qos-field-not-supported { + type enumeration { + enum "not-supported" { + value 0; + description + "Dummy data type leave unspecified"; + } + } + description + "Qos field not supported"; + } + + typedef Qos-policy-account { + type enumeration { + enum "layer1" { + value 8; + description + "Turn on Layer 1 accounting"; + } + enum "layer2" { + value 1; + description + "Turn on Layer 2 accounting"; + } + enum "nolayer2" { + value 2; + description + "Turn on Layer 2 accounting"; + } + enum "user-defined" { + value 4; + description + "User defined accounting"; + } + } + description + "Qos policy account"; + } + + grouping QOS { + description + "Common node of interface-configuration, cac, pvp, + pac, pvc, pvc-mode, nv-satellite-access, + nv-satellite-fabric-link, satellites"; + container qos { + description + "Interface QOS configuration"; + container output { + description + "Egress service policy"; + uses SERVICE-POLICY; + } + container input { + description + "Ingress service policy"; + uses SERVICE-POLICY; + } + } + } + + grouping SERVICE-POLICY { + description + "Common node of input, output"; + list service-policy { + key "service-policy-name"; + description + "Service policy details"; + leaf service-policy-name { + type string { + length "0..64"; + } + description + "Name of policy-map"; + } + leaf account-type { + type Qos-policy-account; + description + "Turn off L2 or L3 accounting."; + } + leaf l1-user-defined { + type int32 { + range "-63..63"; + } + description + "User specified value"; + } + leaf spi-name { + type string; + description + "Name of the SPI"; + } + leaf subscriber-parent-policy { + type boolean; + description + "TRUE if service-policy applied on svlan."; + } + leaf resource-id { + type uint32 { + range "0..3"; + } + description + "Resource ID value"; + } + leaf service-fragment-parent-policy { + type boolean; + description + "service-fragment-parent-policy"; + } + } + list service-policy-qos { + key "service-policy-name"; + description + "Service policy details"; + container subscriber-group-names { + description + "Subscriber Group Name Details"; + list subscriber-group-name { + key "subscriber-group-string"; + description + "Subscriber Group details"; + leaf subscriber-group-string { + type string { + length "0..64"; + } + description + "Name of policy-map"; + } + leaf account-type { + type Qos-policy-account; + description + "Turn off L2 or L3 accounting."; + } + leaf l1-user-defined { + type int32 { + range "-63..63"; + } + description + "User specified value"; + } + leaf spi-name { + type string; + description + "Name of the SPI"; + } + leaf policy-merge { + type Qos-field-not-supported; + description + "Not supported (Leave unspecified)."; + } + leaf subscriber-parent-policy { + type boolean; + description + "TRUE if service-policy applied on svlan."; + } + leaf resource-id { + type uint32 { + range "0..3"; + } + description + "Resource ID value"; + } + leaf service-fragment-parent-policy { + type boolean; + description + "TRUE if service-policy applied is a + service-fragment policy)."; + } + } + } + container subscriber-parent { + description + "Subscriber Parent Details"; + leaf account-type { + type Qos-policy-account; + description + "Turn off L2 or L3 accounting."; + } + leaf l1-user-defined { + type int32 { + range "-63..63"; + } + description + "User specified value"; + } + leaf spi-name { + type string; + description + "Name of the SPI"; + } + leaf policy-merge { + type Qos-field-not-supported; + description + "Not supported (Leave unspecified)."; + } + leaf subscriber-parent-policy { + type boolean; + description + "TRUE if service-policy applied on svlan."; + } + leaf resource-id { + type uint32 { + range "0..3"; + } + description + "Resource ID value"; + } + leaf service-fragment-parent-policy { + type boolean; + description + "TRUE if service-policy applied is a + service-fragment policy)."; + } + } + leaf service-policy-name { + type string { + length "0..64"; + } + description + "Name of policy-map"; + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + container pac { + description + "Port Attachment Circuit configuration."; + uses QOS; + } + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:l2-transport" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-l2vpn-cfg'"; + container cac { + description + "Connection Attachment Circuit configuration."; + uses QOS; + } + } + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + uses QOS; + } + container qos { + description + "Global QOS configuration."; + leaf fabric-service-policy { + type xr:Cisco-ios-xr-string { + length "0..63"; + } + description + "Name of the fabric service policy"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-oper.yang new file mode 100644 index 0000000..0a68a38 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-oper.yang @@ -0,0 +1,1628 @@ +module Cisco-IOS-XR-qos-ma-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-oper"; + prefix qos-ma-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR qos-ma-oper package operational data. + + This module contains definitions + for the following management objects: + qos: QoS operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-13 { + description + "IOS XR 6.4.1 revision."; + } + revision 2017-04-10 { + description + "IOS XR 6.3.1 revision."; + } + revision 2016-11-11 { + description + "IOS XR 6.2.1 revision."; + } + revision 2016-03-03 { + description + "IOS XR 6.1.1 revision."; + } + + typedef Wred { + type enumeration { + enum "wred-cos-cmd" { + description + "wred cos cmd"; + } + enum "wred-dscp-cmd" { + description + "wred dscp cmd"; + } + enum "wred-precedence-cmd" { + description + "wred precedence cmd"; + } + enum "wred-discard-class-cmd" { + description + "wred discard class cmd"; + } + enum "wred-mpls-exp-cmd" { + description + "wred mpls exp cmd"; + } + enum "red-with-user-min-max" { + description + "red with user min max"; + } + enum "red-with-default-min-max" { + description + "red with default min max"; + } + enum "wred-dei-cmd" { + description + "wred dei cmd"; + } + enum "wred-ecn-cmd" { + description + "wred ecn cmd"; + } + enum "wred-invalid-cmd" { + description + "wred invalid cmd"; + } + } + description + "Wred"; + } + + typedef Policy-param-unit { + type enumeration { + enum "policy-param-unit-invalid" { + description + "policy param unit invalid"; + } + enum "policy-param-unit-bytes" { + description + "policy param unit bytes"; + } + enum "policy-param-unit-kbytes" { + description + "policy param unit kbytes"; + } + enum "policy-param-unit-mbytes" { + description + "policy param unit mbytes"; + } + enum "policy-param-unit-gbytes" { + description + "policy param unit gbytes"; + } + enum "policy-param-unit-bitsps" { + description + "policy param unit bitsps"; + } + enum "policy-param-unit-kbitsps" { + description + "policy param unit kbitsps"; + } + enum "policy-param-unit-mbitsps" { + description + "policy param unit mbitsps"; + } + enum "policy-param-unit-gbitsps" { + description + "policy param unit gbitsps"; + } + enum "policy-param-unit-cells-ps" { + description + "policy param unit cells ps"; + } + enum "policy-param-unit-packets-ps" { + description + "policy param unit packets ps"; + } + enum "policy-param-unit-us" { + description + "policy param unit us"; + } + enum "policy-param-unit-ms" { + description + "policy param unit ms"; + } + enum "policy-param-unit-seconds" { + description + "policy param unit seconds"; + } + enum "policy-param-unit-packets" { + description + "policy param unit packets"; + } + enum "policy-param-unit-cells" { + description + "policy param unit cells"; + } + enum "policy-param-unit-percent" { + description + "policy param unit percent"; + } + enum "policy-param-unit-per-thousand" { + description + "policy param unit per thousand"; + } + enum "policy-param-unit-per-million" { + description + "policy param unit per million"; + } + enum "policy-param-unit-hz" { + description + "policy param unit hz"; + } + enum "policy-param-unit-khz" { + description + "policy param unit khz"; + } + enum "policy-param-unit-mhz" { + description + "policy param unit mhz"; + } + enum "policy-param-unit-ratio" { + description + "policy param unit ratio"; + } + enum "policy-param-unit-max" { + description + "policy param unit max"; + } + } + description + "Policy param unit"; + } + + typedef Cac-state { + type enumeration { + enum "unknown" { + value 0; + description + "unknown"; + } + enum "admit" { + value 1; + description + "admit"; + } + enum "redirect" { + value 2; + description + "redirect"; + } + enum "ubrl" { + value 3; + description + "ubrl"; + } + } + description + "CAC/UBRL class states"; + } + + typedef Policy-state { + type enumeration { + enum "active" { + value 0; + description + "active"; + } + enum "suspended" { + value 1; + description + "suspended"; + } + } + description + "Different Interface states"; + } + + typedef Qos-caps-operation-enum { + type enumeration { + enum "add" { + value 0; + description + "Add"; + } + enum "remove" { + value 1; + description + "Remove"; + } + enum "replace" { + value 2; + description + "Replace"; + } + enum "modify" { + value 3; + description + "Modify"; + } + enum "unknown" { + value 4; + description + "Unknown"; + } + } + description + "Satellite QOS offload operation"; + } + + typedef Qos-ma-sat-caps-type-enum { + type enumeration { + enum "input" { + value 0; + description + "Input"; + } + enum "output" { + value 1; + description + "Output"; + } + enum "unknown" { + value 2; + description + "Unknown"; + } + } + description + "Satellite capsulation information"; + } + + typedef String-arr { + type string; + description + "String arr"; + } + + grouping CAC-STATS-ST { + description + "CAC statistics"; + leaf drop-packets { + type uint64; + description + "CAC dropped packets"; + } + leaf drop-bytes { + type uint64; + units "byte"; + description + "CAC dropped bytes"; + } + leaf drop-rates { + type uint32; + description + "CAC dropped rate"; + } + leaf admitpackets { + type uint64; + units "byte"; + description + "Admitted packets (pkts/bytes)"; + } + leaf admit-bytes { + type uint64; + units "byte"; + description + "Admitted bytes (pkts/bytes)"; + } + leaf admit-rates { + type uint32; + description + "CAC admit rate"; + } + } + + grouping IPHC-STATS-ST { + description + "IPHC Stats"; + leaf non-tcp-total-out-packets { + type uint64; + description + "TotalNum of Non tcp pkts sent"; + } + leaf non-tcp-total-out-bytes { + type uint64; + units "byte"; + description + "TotalNum of Non Tcp Bytes sent"; + } + leaf non-tcp-bytes-saved { + type uint64; + units "byte"; + description + "Non Tcp Bytes saved due to compression"; + } + leaf non-tcp-compressed-packets-out { + type uint64; + description + "Num of non tcp compressed pkts sent"; + } + leaf non-tcp-bytes-sent-rate { + type uint32; + units "byte"; + description + "Compressed Non Tcp Bytes sent rate"; + } + leaf non-tcp-full-header-packets-out { + type uint64; + description + "Num of non tcp fullheader pkts sent"; + } + leaf tcp-total-out-packets { + type uint64; + description + "Total Num of tcp pkts sent"; + } + leaf tcp-total-out-bytes { + type uint64; + units "byte"; + description + "TotalNum of Tcp Bytes sent"; + } + leaf tcp-bytes-saved { + type uint64; + units "byte"; + description + "Tcp Bytes saved due to compression"; + } + leaf tcp-compressed-packets-out { + type uint64; + description + "Num of tcp compressed pkts sent"; + } + leaf tcp-bytes-sent-rate { + type uint32; + units "byte"; + description + "Compressed Tcp Bytes sent rate"; + } + leaf tcp-full-header-packets-out { + type uint64; + description + "Num of tcp fullheader pkts sent"; + } + } + + grouping WRED-TYPE-VALUE { + description + "WRED Type Value pairs"; + leaf wred-type { + type Wred; + description + "WRED type DSCP, EXP, PREC etc."; + } + leaf value { + type uint8; + description + "WRED value for this type."; + } + } + + grouping RED-PROFILE-STATS { + description + "Per RED profile stats"; + leaf profile-title { + type string { + length "0..300"; + } + description + "ProfileTitle"; + } + leaf red-transmit-packets { + type uint64; + description + "Transmitted packets"; + } + leaf red-transmit-bytes { + type uint64; + units "byte"; + description + "Transmitted bytes"; + } + leaf random-drop-packets { + type uint64; + description + "Probabilistically dropped packets"; + } + leaf random-drop-bytes { + type uint64; + units "byte"; + description + "Probabilisticallydropped bytes"; + } + leaf max-threshold-packets { + type uint64; + description + "Dropped packets with the average queue size at + the max-threshold"; + } + leaf max-threshold-bytes { + type uint64; + units "byte"; + description + "Dropped bytes with the average queue size at + the max-threshold"; + } + leaf red-ecn-marked-packets { + type uint64; + description + "ECN marked packets "; + } + leaf red-ecn-marked-bytes { + type uint64; + units "byte"; + description + "ECN marked bytes"; + } + list red-label { + description + "Array of WRED Typevalues as in PRP stats is + available per threshold "; + uses WRED-TYPE-VALUE; + } + } + + grouping PLC-COLOR-CLASS-STATS-ST { + description + "Color Aware Policer statistics"; + leaf conform-class-conform-packets { + type uint64; + description + "Packets with classification result conform and + policer result conform"; + } + leaf conform-class-conform-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result conform"; + } + leaf conform-class-conform-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Conform rate in kbps"; + } + leaf conform-class-exceed-packets { + type uint64; + description + "Packets with classification result conform and + policer result exceed"; + } + leaf conform-class-exceed-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result exceed"; + } + leaf conform-class-exceed-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Exceed rate in kbps"; + } + leaf conform-class-violate-packets { + type uint64; + description + "Packets with classification result conform and + policer result violate"; + } + leaf conform-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result violate"; + } + leaf conform-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Violate rate in kbps"; + } + leaf exceed-class-exceed-packets { + type uint64; + description + "Packets with classification result exceed and + policer result exceed"; + } + leaf exceed-class-exceed-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result exceed and + policer result exceed"; + } + leaf exceed-class-exceed-rate { + type uint32; + units "kbit/s"; + description + "Exceed Class Exceed rate in kbps"; + } + leaf exceed-class-violate-packets { + type uint64; + description + "Packets with classification result exceed and + policer result violate"; + } + leaf exceed-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result exceed and + policer result violate"; + } + leaf exceed-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Exceed Class Violate rate in kbps"; + } + leaf violate-class-violate-packets { + type uint64; + description + "Packets with classification result violate and + policer result violate"; + } + leaf violate-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result violate and + policer result violate"; + } + leaf violate-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Violate Class Violate rate in kbps"; + } + } + + grouping PLC-STATS-ST { + description + "Policer statistics"; + container color-class-stats { + description + "color class stats"; + uses PLC-COLOR-CLASS-STATS-ST; + } + leaf drop-packets { + type uint64; + description + "Police dropped packets"; + } + leaf drop-bytes { + type uint64; + units "byte"; + description + "Police dropped bytes"; + } + leaf conform-packets { + type uint64; + description + "Packets that conform to the policed rate"; + } + leaf conform-bytes { + type uint64; + units "byte"; + description + "Bytes that conform to the policed rate"; + } + leaf exceed-packets { + type uint64; + description + "Packets that exceed the policed rate"; + } + leaf exceed-bytes { + type uint64; + units "byte"; + description + "Bytes that exceed the policed rate"; + } + leaf violate-packets { + type uint64; + description + "Packets violating the policed rate"; + } + leaf violate-bytes { + type uint64; + units "byte"; + description + "Bytes that violate the policed rate"; + } + leaf parent-drop-packets { + type uint64; + description + "Dropped pkts by the parent policer"; + } + leaf parent-drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes by the parent policer"; + } + leaf conform-rate { + type uint32; + units "kbit/s"; + description + "Conform rate in kbps"; + } + leaf exceed-rate { + type uint32; + units "kbit/s"; + description + "Exceed rate in kbps"; + } + leaf violate-rate { + type uint32; + units "kbit/s"; + description + "Violate rate in kbps"; + } + } + + grouping POLICY-PARAM-UINT32-ST { + description + "POLICY PARAM UINT32 ST"; + leaf value { + type uint32; + description + "value"; + } + leaf unit { + type Policy-param-unit; + description + "unit"; + } + } + + grouping Q-STATS-ST { + description + "Queue limit statistics"; + leaf queue-id { + type uint32; + description + "Queue Id used for Fabric Stats"; + } + leaf tail-drop-packets { + type uint64; + description + "Packets tail dropped"; + } + leaf tail-drop-bytes { + type uint64; + units "byte"; + description + "Bytes tail dropped"; + } + leaf atm-clp0-drop-packets { + type uint64; + description + "ATP CLP 0 matched packets dropped"; + } + leaf atm-clp0-drop-bytes { + type uint64; + units "byte"; + description + "ATP CLP 0 matched bytes dropped"; + } + leaf atm-clp1-drop-packets { + type uint64; + description + "ATP CLP 0 matched packets dropped"; + } + leaf atm-clp1-drop-bytes { + type uint64; + units "byte"; + description + "ATP CLP 0 matched bytes dropped"; + } + leaf queue-drop-threshold { + type uint32; + units "byte"; + description + "tail drop threshold of the queue in bytes"; + } + leaf forced-wred-stats-display { + type boolean; + description + "flag to forcedisplay of WRED even when per + WredWRED profile stats is not available"; + } + leaf random-drop-packets { + type uint64; + description + "Packets probabilistically dropped"; + } + leaf random-drop-bytes { + type uint64; + units "byte"; + description + "Bytes probabilistically dropped"; + } + leaf max-threshold-packets { + type uint64; + description + "Dropped packets with the average queue size at + the max-threshold"; + } + leaf max-threshold-bytes { + type uint64; + units "byte"; + description + "Dropped bytes with the average queue size at the + max-threshold"; + } + leaf conform-packets { + type uint64; + description + "Packets that conform to the queue rate"; + } + leaf conform-bytes { + type uint64; + units "byte"; + description + "Bytes that conform to the queue rate"; + } + leaf exceed-packets { + type uint64; + description + "Packets that exceed the queue rate"; + } + leaf exceed-bytes { + type uint64; + units "byte"; + description + "Bytes that exceed the queue rate"; + } + leaf conform-rate { + type uint32; + description + "Conform rate"; + } + leaf exceed-rate { + type uint32; + description + "Exceed rate"; + } + list queue-instance-length { + description + "Queue instance length"; + uses POLICY-PARAM-UINT32-ST; + } + list queue-average-length { + description + "Queue average length"; + uses POLICY-PARAM-UINT32-ST; + } + list queue-max-length { + description + "Queue maximum length"; + uses POLICY-PARAM-UINT32-ST; + } + } + + grouping GEN-STATS-ST { + description + "Counters common to all features"; + leaf transmit-packets { + type uint64; + units "byte"; + description + "Transmitted packets (packets/bytes)"; + } + leaf transmit-bytes { + type uint64; + units "byte"; + description + "Transmitted bytes (packets/bytes)"; + } + leaf total-drop-packets { + type uint64; + units "byte"; + description + "Dropped packets (packets/bytes)"; + } + leaf total-drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes (packets/bytes)"; + } + leaf total-drop-rate { + type uint32; + units "byte"; + description + "Total drop rate (packets/bytes)"; + } + leaf match-data-rate { + type uint32; + units "kbit/s"; + description + "Incoming matched data rate in kbps"; + } + leaf total-transmit-rate { + type uint32; + units "kbit/s"; + description + "Total transmit rate in kbps"; + } + leaf pre-policy-matched-packets { + type uint64; + description + "Matched pkts before applying policy"; + } + leaf pre-policy-matched-bytes { + type uint64; + units "byte"; + description + "Matched bytes before applying policy"; + } + } + + grouping CHILD-POLICY-CLASS-STATS { + description + "CHILD POLICY CLASS STATS"; + container general-stats { + description + "general stats"; + uses GEN-STATS-ST; + } + container iphc-stats { + description + "IPHC stats"; + uses IPHC-STATS-ST; + } + container cac-stats { + description + "bag for cac stats"; + uses CAC-STATS-ST; + } + leaf counter-validity-bitmask { + type uint64; + units "megabyte"; + description + " Bitmask to indicate which counter or counters + are undetermined. Counters will be marked + undetermined when one or more classes share + queues with class-default because in such cases + the value of counters for each class is invalid. + Based on the flag(s) set, the following counters + will be marked undetermined. For example, if + value of this object returned is 0x00000101, + counters + TransmitPackets/TransmitBytes/TotalTransmitRate + and DropPackets/DropBytes are undetermined + .0x00000001 - Transmit + (TransmitPackets/TransmitBytes/TotalTransmitRate + ), 0x00000002 - Total drop + (TotalDropPackets/TotalDropBytes/TotalDropRate), + 0x00000004 - Match + (MatchDataRate/PrepolicyMatchedPackets + /PrepolicyMatchedBytes), 0x00000100 - Police + drop (DropPackets/DropBytes), 0x00000200 - + Police conform + (ConformPackets/ConformBytes/ConformRate), + 0x00000400 - Police exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00000800 - Police violate + (ViolatePackets/ViolateBytes/ViolateRate), + 0x00001000 - Parent policer drop + (ParentDropPackets/ParentDropBytes), 0x00010000 + - Queueing drop (TailDropPackets/TailDropBytes), + 0x00020000 - Red queue drop + (RandomDropPackets/RandomDropBytes), 0x00040000 + - Queue maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes), + 0x00080000 - Queue conform + (ConformPackets/ConformBytes/ConformRate), + 0x00100000 - Queue exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00200000 - CLP limit drop + (ATM_CLP0DropPackets/ATM_CLP0DropBytes + /ATM_CLP1DropPackets/ATM_CLP1DropBytes), + 0x01000000 - RED transmit + (RedTransmitPackets/RedTransmitBytes), + 0x02000000 - RED drop + (RandomDropPackets/RandomDropBytes), 0x04000000 + - RED maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes)"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "ClassName"; + } + leaf shared-queue-id { + type uint32; + description + "q-id of the shared queue for this class"; + } + leaf queue-descr { + type string { + length "0..256"; + } + description + "Description of queue for the class"; + } + leaf cac-state { + type Cac-state; + description + "CACState"; + } + list queue-stats-array { + description + "array of queue stats"; + uses Q-STATS-ST; + } + list police-stats-array { + description + "array of police stats"; + uses PLC-STATS-ST; + } + list wred-stats-array { + description + "array of red stats"; + uses RED-PROFILE-STATS; + } + } + + grouping CHILD-POLICY-QOS-STATS { + description + "policy map statistics"; + leaf policy-name { + type string { + length "0..65"; + } + description + "PolicyName"; + } + leaf state { + type Policy-state; + description + "State"; + } + leaf state-description { + type string { + length "0..128"; + } + description + "StateDescription"; + } + leaf satid { + type uint32; + description + "to maintain satellite id"; + } + list class-stats { + description + "array of classes contained in policy"; + uses CHILD-POLICY-CLASS-STATS; + } + } + + grouping CLASS-STATS { + description + "CLASS STATS"; + container general-stats { + description + "general stats"; + uses GEN-STATS-ST; + } + container iphc-stats { + description + "IPHC stats"; + uses IPHC-STATS-ST; + } + container child-policy { + description + "child policy"; + uses CHILD-POLICY-QOS-STATS; + } + container cac-stats { + description + "bag for cac stats"; + uses CAC-STATS-ST; + } + leaf counter-validity-bitmask { + type uint64; + units "megabyte"; + description + " Bitmask to indicate which counter or counters + are undetermined. Counters will be marked + undetermined when one or more classes share + queues with class-default because in such cases + the value of counters for each class is invalid. + Based on the flag(s) set, the following counters + will be marked undetermined. For example, if + value of this object returned is 0x00000101, + counters + TransmitPackets/TransmitBytes/TotalTransmitRate + and DropPackets/DropBytes are undetermined + .0x00000001 - Transmit + (TransmitPackets/TransmitBytes/TotalTransmitRate + ), 0x00000002 - Total drop + (TotalDropPackets/TotalDropBytes/TotalDropRate), + 0x00000004 - Match + (MatchDataRate/PrepolicyMatchedPackets + /PrepolicyMatchedBytes), 0x00000100 - Police + drop (DropPackets/DropBytes), 0x00000200 - + Police conform + (ConformPackets/ConformBytes/ConformRate), + 0x00000400 - Police exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00000800 - Police violate + (ViolatePackets/ViolateBytes/ViolateRate), + 0x00001000 - Parent policer drop + (ParentDropPackets/ParentDropBytes), 0x00010000 + - Queueing drop (TailDropPackets/TailDropBytes), + 0x00020000 - Red queue drop + (RandomDropPackets/RandomDropBytes), 0x00040000 + - Queue maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes), + 0x00080000 - Queue conform + (ConformPackets/ConformBytes/ConformRate), + 0x00100000 - Queue exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00200000 - CLP limit drop + (ATM_CLP0DropPackets/ATM_CLP0DropBytes + /ATM_CLP1DropPackets/ATM_CLP1DropBytes), + 0x01000000 - RED transmit + (RedTransmitPackets/RedTransmitBytes), + 0x02000000 - RED drop + (RandomDropPackets/RandomDropBytes), 0x04000000 + - RED maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes)"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "ClassName"; + } + leaf shared-queue-id { + type uint32; + description + "q-id of the shared queue for this class"; + } + leaf queue-descr { + type string { + length "0..256"; + } + description + "Description of queue for the class"; + } + leaf cac-state { + type Cac-state; + description + "CACState"; + } + list queue-stats-array { + description + "array of queue stats"; + uses Q-STATS-ST; + } + list police-stats-array { + description + "array of police stats"; + uses PLC-STATS-ST; + } + list wred-stats-array { + description + "array of red stats"; + uses RED-PROFILE-STATS; + } + } + + grouping QOS-STATS { + description + "policy map statistics"; + leaf policy-name { + type string { + length "0..65"; + } + description + "PolicyName"; + } + leaf state { + type Policy-state; + description + "State"; + } + leaf state-description { + type string { + length "0..128"; + } + description + "StateDescription"; + } + leaf satid { + type uint32; + description + "to maintain satellite id"; + } + list class-stats { + description + "array of classes contained in policy"; + uses CLASS-STATS; + } + } + + grouping QOS-MA-SAT-IF-EDM-INFO-XML { + description + "QoS offload information on Satellite interface"; + leaf policy-name { + type String-arr; + description + "Service policy name"; + } + leaf direction { + type Qos-ma-sat-caps-type-enum; + description + "Satellite caps type"; + } + leaf last-operation { + type Qos-caps-operation-enum; + description + "Previous caps operation"; + } + leaf status { + type String-arr; + description + "Status of offload"; + } + leaf error-message { + type String-arr; + description + "Error message"; + } + } + + grouping STATISTICS { + description + "Common node of input, output"; + container statistics { + description + "Policy-map statistics operational data for an + interface"; + uses QOS-STATS; + } + } + + grouping INTERFACE { + description + "Common node of interface-table, + nv-interface-table"; + list interface { + key "interface-name"; + description + "QoS policy-map operational data for a particular + interface"; + container nodes { + description + "QoS policy-map node table"; + list node { + key "node-name"; + description + "QoS operational data for a particular node"; + leaf node-name { + type xr:Node-id; + description + "The node"; + } + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses MEMBER-INTERFACE-TABLE; + uses SATELLITE-ID-TABLE; + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + + grouping INPUT { + description + "Common node of member-interface, + nv-satellite-interface"; + container input { + description + "A piece of QoS policy-map operational data for + an interface"; + uses STATUS; + } + } + + grouping QOS-PI-OPER-INPUT { + description + "Common node of shared-policy-instance, + member-interface, interface, + nv-satellite-interface, satellite-id"; + container input { + description + "A piece of QoS policy-map operational data for + an interface"; + container service-policy-names { + description + "Operational data for all Policy instance"; + list service-policy-instance { + key "service-policy-name"; + description + "QoS policy-map operational data for a + particular Policy "; + leaf service-policy-name { + type xr:Cisco-ios-xr-string; + description + "Name of the policy instance"; + } + uses STATISTICS; + } + } + } + } + + grouping VO-Q-STATS { + description + "Common node of locationvo-q, output-vo-q, + vo-qoutput"; + container vo-q-stats { + description + "VoQ statistics operational data for an interface"; + uses QOS-STATS; + } + } + + grouping MEMBER-INTERFACE-TABLE { + description + "Common node of interface, nv-satellite-interface, + shared-policy-instance"; + container member-interfaces { + description + "QoS policy-map member interface table"; + list member-interface { + key "interface-name"; + description + "QoS policy-map member interface statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Name of member interface"; + } + uses SATELLITE-ID-TABLE; + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + } + + grouping STATUS { + description + "Common node of input, output, + nv-satellite-interface"; + container status { + description + "Policy-map status operational data for an + interface"; + uses QOS-MA-SAT-IF-EDM-INFO-XML; + } + } + + grouping INTERFACE-TABLE { + description + "Common node of qos, policy-map"; + container interface-table { + description + "Operational data for all interfaces"; + uses INTERFACE; + } + } + + grouping OUTPUT { + description + "Common node of member-interface, + nv-satellite-interface"; + container output { + description + "A piece of QoS policy-map operational data for + an interface"; + uses STATUS; + } + } + + grouping QOS-PI-OPER-OUTPUT { + description + "Common node of shared-policy-instance, + member-interface, interface, + nv-satellite-interface, satellite-id"; + container output { + description + "A piece of QoS policy-map operational data for + an interface"; + container service-policy-names { + description + "Operational data for all Policy instance"; + list service-policy-instance { + key "service-policy-name"; + description + "QoS policy-map operational data for a + particular Policy "; + leaf service-policy-name { + type xr:Cisco-ios-xr-string; + description + "Name of the policy instance"; + } + uses STATISTICS; + } + } + } + } + + grouping SATELLITE-ID-TABLE { + description + "Common node of interface, member-interface"; + container satellite-ids { + description + "Satellite ID information"; + list satellite-id { + key "nv-satellite-id"; + description + "Satellite ID information"; + leaf nv-satellite-id { + type int32; + description + "Satellite ID"; + } + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + } + + container qos { + config false; + description + "QoS operational data"; + container nv-interface-table { + description + "Operational data for satellite interfaces"; + uses INTERFACE; + } + container nv-satellite { + description + "Satellite table"; + container nv-satellite-statistics { + description + "Satellite statistics based on Satellite ID"; + container nv-satellite-ids { + description + "Satellite ID table"; + list nv-satellite-id { + key "satellite-id"; + description + "Satellite ID information"; + container nv-satellite-interfaces { + description + "Operational data of satellite interface of a + particular satellite"; + list nv-satellite-interface { + key "interface-name"; + description + "Operational data for a particular satellite + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses MEMBER-INTERFACE-TABLE; + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + leaf satellite-id { + type int32; + description + "Satellite ID"; + } + } + } + } + container nv-satellite-status { + description + "Satellite QOS offload status based on Satellite + ID"; + container nv-satellite-ids { + description + "Satellite ID table"; + list nv-satellite-id { + key "satellite-id"; + description + "Satellite ID information"; + container nv-satellite-interfaces { + description + "QOS offload status of satellite interface of + a particular satellite"; + list nv-satellite-interface { + key "interface-name"; + description + "QOS offload status for a particular + satellite interface"; + container member-interfaces { + description + "Satellite member interface table"; + list member-interface { + key "interface-name"; + description + "Satellite member interface statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Name of member interface"; + } + uses INPUT; + uses OUTPUT; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses INPUT; + uses STATUS; + uses OUTPUT; + } + } + leaf satellite-id { + type int32; + description + "Satellite ID"; + } + } + } + } + } + container nodes { + description + "Node-specific QoS operational data"; + list node { + key "node-name"; + description + "QoS operational data for a particular node"; + container policy-map { + description + "Operational data for policymaps"; + container shared-policy-instances { + description + "Operational data for all SPI"; + list shared-policy-instance { + key "spi-name"; + description + "QoS policy-map operational data for a + particular SPI "; + leaf spi-name { + type xr:Cisco-ios-xr-string; + description + "Name of the shared policy instance"; + } + uses MEMBER-INTERFACE-TABLE; + uses QOS-PI-OPER-INPUT; + uses QOS-PI-OPER-OUTPUT; + } + } + uses INTERFACE-TABLE; + } + leaf node-name { + type xr:Node-id; + description + "The node"; + } + } + } + container qos-global { + description + "For global registrations"; + container vo-q { + description + "For VoQ operational data"; + container vo-q-statistics { + description + "For VoQ statistics"; + container vo-qinterfaces { + description + "VoQ interface"; + list vo-qinterface { + key "interface-name"; + description + "QoS policy-map operational data for a + particular interface"; + container output-vo-q { + description + "output VoQ interface"; + container locationvo-qs { + description + "QoS policy-map location table"; + list locationvo-q { + key "node-name"; + description + "QoS operational data for a particular + location"; + leaf node-name { + type xr:Node-id; + description + "The node"; + } + uses VO-Q-STATS; + } + } + uses VO-Q-STATS; + } + container vo-q-member-interfaces { + description + "VoQ QoS policy-map member interface table"; + list vo-q-member-interface { + key "interface-name"; + description + "QoS policy-map member interface statistics"; + container vo-qoutput { + description + "output VoQ interface"; + uses VO-Q-STATS; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of member interface"; + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + } + } + } + } + } + uses INTERFACE-TABLE; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-sat-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-sat-cfg.yang new file mode 100644 index 0000000..c44c4b7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-ma-sat-cfg.yang @@ -0,0 +1,108 @@ +module Cisco-IOS-XR-qos-ma-sat-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-ma-sat-cfg"; + prefix qos-ma-sat-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + import Cisco-IOS-XR-icpe-infra-cfg { + prefix a2; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR qos satellite package configuration. + + This module contains definitions + for the following management objects: + qos satellite: QOS Satellite configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg, + Cisco-IOS-XR-icpe-infra-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-03 { + description + "IOS XR 6.3.1 revision."; + } + revision 2016-12-15 { + description + "IOS XR 6.2.1 revision."; + } + + grouping QOS { + description + "Common node of interface-configuration, + nv-satellite-access, nv-satellite-fabric-link, + satellites"; + container qos { + description + "Interface QOS configuration"; + container output { + description + "Egress service policy"; + uses SERVICE-POLICY; + } + container input { + description + "Ingress service policy"; + uses SERVICE-POLICY; + } + } + } + + grouping SERVICE-POLICY { + description + "Common node of input, output"; + list service-policy { + key "service-policy-name"; + description + "Service policy details"; + leaf service-policy-name { + type string { + length "0..64"; + } + description + "Name of policy-map"; + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration/a2:nv-satellite-access" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-icpe-infra-cfg'"; + uses QOS; + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:nv-satellite-fabric-link" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-icpe-infra-cfg'"; + uses QOS; + } + augment "/a1:interface-configurations/a1:interface-configuration/a2:nv-satellite-fabric-network/a2:satellites" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-icpe-infra-cfg'"; + uses QOS; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-mibs-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-mibs-cfg.yang new file mode 100644 index 0000000..de0e17c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-qos-mibs-cfg.yang @@ -0,0 +1,87 @@ +module Cisco-IOS-XR-qos-mibs-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-qos-mibs-cfg"; + prefix qos-mibs-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR qos-mibs package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container cb-qosmib { + description + "CBQoSMIB configuration"; + container cache { + description + "CBQoSMIB statistics data caching"; + leaf enable { + type empty; + description + "Enable CBQoSMIB statistics data caching"; + } + leaf refresh-time { + type uint32 { + range "5..60"; + } + units "second"; + description + "Cache refresh time in seconds"; + } + leaf service-policy-count { + type uint32 { + range "1..5000"; + } + description + "Maximum number of service policies to cache + the statistics for"; + } + } + leaf member-interface-stats { + type empty; + description + "Enable bundle member interface statistics + retrieval."; + } + leaf persist { + type empty; + description + "Persist CBQoSMIB config, service-policy and + object indices"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper-sub1.yang new file mode 100644 index 0000000..80bf102 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper-sub1.yang @@ -0,0 +1,68 @@ +submodule Cisco-IOS-XR-reboot-history-oper-sub1 { + belongs-to Cisco-IOS-XR-reboot-history-oper { + prefix Cisco-IOS-XR-reboot-history-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR reboot-history package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-04 { + description + "Added new schema file."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping HISTORY-DETAIL { + description + "Reboot history details"; + leaf no { + type uint32; + description + "Number count"; + } + leaf time { + type string; + description + "Time of reboot"; + } + leaf cause-code { + type uint32; + description + "Cause code for reboot"; + } + leaf reason { + type string; + description + "Reason for reboot"; + } + } + + grouping HISTORY { + description + "Reboot history information"; + list reboot-history { + description + "Last Reboots"; + uses HISTORY-DETAIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper.yang new file mode 100644 index 0000000..c62aee1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-reboot-history-oper.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-reboot-history-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-reboot-history-oper"; + prefix reboot-history-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-reboot-history-oper-sub1 { + revision-date 2016-10-04; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR reboot-history package operational data. + + This module contains definitions + for the following management objects: + reboot-history: Reboot History information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-04 { + description + "Added new schema file."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container reboot-history { + config false; + description + "Reboot History information"; + list node { + key "node-name"; + description + "Node ID"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses HISTORY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-cfg.yang new file mode 100644 index 0000000..73eda15 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-cfg.yang @@ -0,0 +1,189 @@ +module Cisco-IOS-XR-rgmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-cfg"; + prefix rgmgr-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR rgmgr package configuration. + + This module contains definitions + for the following management objects: + redundancy-group-manager: Redundancy Group Manager + Configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Iccp-mode { + type enumeration { + enum "singleton" { + value 1; + description + "Run the ICCP group in Singleton mode"; + } + } + description + "Iccp mode"; + } + + container redundancy-group-manager { + description + "Redundancy Group Manager Configuration"; + container aps { + description + "MR-APS groups"; + container default-redundancy-group { + description + "Default SONET controller backup configuration"; + leaf next-hop-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address of remote peer"; + } + leaf backup-interface-name { + type xr:Interface-name; + description + "Backup interface name"; + } + } + container groups { + description + "Redundancy Group Table"; + list group { + key "group-id"; + description + "Redundancy Group Configuration"; + container controllers { + description + "Controller configuration"; + list controller { + key "controller-name"; + description + "none"; + leaf controller-name { + type xr:Interface-name; + description + "Controller Name"; + } + leaf next-hop-address { + type inet:ipv4-address-no-zone; + description + "IPv4 address of remote peer"; + } + leaf backup-interface-name { + type xr:Interface-name; + description + "Backup interface name"; + } + } + } + leaf group-id { + type uint32 { + range "1..32"; + } + description + "The redundancy group ID"; + } + } + } + } + container iccp { + description + "ICCP configuration"; + container iccp-groups { + description + "Redundancy Group Table Configuration"; + list iccp-group { + key "group-number"; + description + "Redundancy Group Configuration"; + container backbones { + description + "ICCP backbone configuration"; + list backbone { + key "backbone-name"; + description + "ICCP backbone interface configuration"; + leaf backbone-name { + type xr:Interface-name; + description + "none"; + } + } + } + container members { + description + "ICCP member configuration"; + list member { + key "neighbor-address"; + description + "ICCP member configuration"; + leaf neighbor-address { + type inet:ipv4-address-no-zone; + description + "Neighbor IP address"; + } + } + } + leaf isolation-recovery-delay { + type uint32 { + range "30..600"; + } + units "second"; + description + "ICCP isolation recovery delay"; + } + leaf mode { + type Iccp-mode; + description + "ICCP mode"; + } + leaf group-number { + type uint32 { + range "1..4294967295"; + } + description + "The redundancy icc group number"; + } + } + } + } + leaf enable { + type empty; + description + "Enable redundancy group manager"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper-sub1.yang new file mode 100644 index 0000000..a042351 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper-sub1.yang @@ -0,0 +1,84 @@ +submodule Cisco-IOS-XR-rgmgr-oper-sub1 { + belongs-to Cisco-IOS-XR-rgmgr-oper { + prefix Cisco-IOS-XR-rgmgr-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR rgmgr package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping RGMGR-RED-GRP { + description + "RGMGR RED GRP"; + leaf multi-router-aps-group-number { + type string { + length "0..64"; + } + description + "Configured interchassis redundancy group number"; + } + leaf controller-name-xr { + type string { + length "0..64"; + } + description + "Name of controller being backed up"; + } + leaf controller-handle { + type xr:Interface-name; + description + "Handle of controller being backed up"; + } + leaf backup-interface-name { + type string { + length "0..64"; + } + description + "Backup interface name"; + } + leaf backup-interface-handle { + type xr:Interface-name; + description + "Backup interface handle"; + } + leaf backup-interface-next-hop-ip-address { + type inet:ipv4-address; + description + "Backup interface next hop IP address"; + } + leaf inter-chassis-group-state { + type string { + length "0..64"; + } + description + "Configured interchassis redundancy group state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper.yang new file mode 100644 index 0000000..e55db41 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rgmgr-oper.yang @@ -0,0 +1,61 @@ +module Cisco-IOS-XR-rgmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rgmgr-oper"; + prefix rgmgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-rgmgr-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR rgmgr package operational data. + + This module contains definitions + for the following management objects: + redundancy-group-manager: Redundancy group manager operational + data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container redundancy-group-manager { + config false; + description + "Redundancy group manager operational data"; + container controllers { + description + "Redundancy group manager data"; + list controller { + key "controller-name"; + description + "Display redundancy group by controller name"; + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + uses RGMGR-RED-GRP; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper-sub1.yang new file mode 100644 index 0000000..d54e726 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper-sub1.yang @@ -0,0 +1,390 @@ +submodule Cisco-IOS-XR-rptiming-dti-oper-sub1 { + belongs-to Cisco-IOS-XR-rptiming-dti-oper { + prefix Cisco-IOS-XR-rptiming-dti-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR rptiming-dti package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DTI-TOD-INFO { + description + "DTI tod status"; + leaf port1-tod-message-mode { + type string { + length "0..50"; + } + description + "port1 tod message mode"; + } + leaf port1-tod-state { + type string { + length "0..50"; + } + description + "port1 tod state"; + } + leaf port1-tod-time-setting-mode { + type string { + length "0..50"; + } + description + "port1 tod time setting mode"; + } + leaf port1-gps-seconds { + type uint32; + units "second"; + description + "port1 gps seconds"; + } + leaf port1-leap-seconds { + type uint8; + units "second"; + description + "port1 leap seconds"; + } + leaf port1-calendar-time-valid { + type string { + length "0..50"; + } + description + "port1 calendar time valid"; + } + leaf port1-modified-julian-date { + type string { + length "0..50"; + } + description + "port1 modified julian date"; + } + leaf port1-date { + type string { + length "0..50"; + } + description + "port1 date"; + } + leaf port1-time { + type string { + length "0..50"; + } + description + "port1 time"; + } + leaf port1-time-zone-offset { + type string { + length "0..50"; + } + description + "port1 time zone offset"; + } + leaf port1-leap-second-indicator { + type uint8; + description + "port1 leap second indicator"; + } + leaf port2-tod-message-mode { + type string { + length "0..50"; + } + description + "port2 tod message mode"; + } + leaf port2-tod-state { + type string { + length "0..50"; + } + description + "port2 tod state"; + } + leaf port2-tod-time-setting-mode { + type string { + length "0..50"; + } + description + "port2 tod time setting mode"; + } + leaf port2-gps-seconds { + type uint32; + units "second"; + description + "port2 gps seconds"; + } + leaf port2-leap-seconds { + type uint8; + units "second"; + description + "port2 leap seconds"; + } + leaf port2-calendar-time-valid { + type string { + length "0..50"; + } + description + "port2 calendar time valid"; + } + leaf port2-modified-julian-date { + type string { + length "0..50"; + } + description + "port2 modified julian date"; + } + leaf port2-date { + type string { + length "0..50"; + } + description + "port2 date"; + } + leaf port2-time { + type string { + length "0..50"; + } + description + "port2 time"; + } + leaf port2-time-zone-offset { + type string { + length "0..50"; + } + description + "port2 time zone offset"; + } + leaf port2-leap-second-indicator { + type uint8; + description + "port2 leap second indicator"; + } + } + + grouping DTI-PORT-INFO { + description + "DTI port status"; + leaf port1-fr-err-rate-greater5-per { + type string { + length "0..50"; + } + units "percentage"; + description + "port1 frame error rate greater than 5 percent"; + } + leaf port1-fr-err-rate-greater2-per { + type string { + length "0..50"; + } + units "percentage"; + description + "port1 frame error rate greater than 2 percent"; + } + leaf port1-dti-signal-detected { + type string { + length "0..50"; + } + description + "port1 DTI signal detected"; + } + leaf port1-server-timing-source { + type string { + length "0..50"; + } + description + "port1 server timing source"; + } + leaf port1-server-type { + type string { + length "0..50"; + } + description + "port1 server type"; + } + leaf port1-server-clock-type { + type string { + length "0..50"; + } + description + "port1 server clock type"; + } + leaf port1-server-state { + type string { + length "0..50"; + } + description + "port1 server state"; + } + leaf port1-client-perf-stable { + type string { + length "0..50"; + } + description + "port1 client performance stable"; + } + leaf port1-cable-advance-valid { + type string { + length "0..50"; + } + description + "port1 cable advance valid"; + } + leaf port2-fr-err-rate-greater5-per { + type string { + length "0..50"; + } + units "percentage"; + description + "port2 frame error rate greater than 5 percent"; + } + leaf port2-fr-err-rate-greater2-per { + type string { + length "0..50"; + } + units "percentage"; + description + "port2 frame error rate greater than 2 percent"; + } + leaf port2-dti-signal-detected { + type string { + length "0..50"; + } + description + "port2 DTI signal detected"; + } + leaf port2-server-timing-source { + type string { + length "0..50"; + } + description + "port2 server timing source"; + } + leaf port2-server-type { + type string { + length "0..50"; + } + description + "port2 server type"; + } + leaf port2-server-clock-type { + type string { + length "0..50"; + } + description + "port2 server clock type"; + } + leaf port2-server-state { + type string { + length "0..50"; + } + description + "port2 server state"; + } + leaf port2-client-perf-stable { + type string { + length "0..50"; + } + description + "port2 client performance stable"; + } + leaf port2-cable-advance-valid { + type string { + length "0..50"; + } + description + "port2 cable advance valid"; + } + } + + grouping DTI-CLIENT-INFO { + description + "DTI client status"; + leaf timestamp-comparator-enable { + type string { + length "0..50"; + } + description + "timestamp comparator enable"; + } + leaf register-write-enable { + type string { + length "0..50"; + } + description + "register write enable"; + } + leaf revertive-mode-enable { + type string { + length "0..50"; + } + description + "revertive mode enable"; + } + leaf port-mode-select { + type string { + length "0..50"; + } + description + "port mode select"; + } + leaf force-freerun { + type string { + length "0..50"; + } + description + "force freerun"; + } + leaf reference-select-port { + type string { + length "0..50"; + } + description + "reference select port"; + } + leaf timestamp-sync-detected { + type string { + length "0..50"; + } + description + "timestamp sync detected"; + } + leaf reference10mhz-detected { + type string { + length "0..50"; + } + description + "10Mhz reference detected"; + } + leaf active-input-port { + type string { + length "0..50"; + } + description + "active input port"; + } + leaf client-state { + type string { + length "0..50"; + } + description + "client state"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper.yang new file mode 100644 index 0000000..d3e75df --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-dti-oper.yang @@ -0,0 +1,75 @@ +module Cisco-IOS-XR-rptiming-dti-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rptiming-dti-oper"; + prefix rptiming-dti-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-rptiming-dti-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR rptiming-dti package operational data. + + This module contains definitions + for the following management objects: + dti-controller: DTI interface controller status and + configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container dti-controller { + config false; + description + "DTI interface controller status and configuration"; + container nodes { + description + "List of nodes applicable to DTI controller"; + list node { + key "node-name"; + description + "DTI operational data for a single node"; + container client { + description + "Display DTI client status"; + uses DTI-CLIENT-INFO; + } + container port { + description + "Display DTI input port status"; + uses DTI-PORT-INFO; + } + container time-of-day { + description + "Display DTI time-of-day status"; + uses DTI-TOD-INFO; + } + leaf node-name { + type xr:Node-id; + description + "Node Name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper-sub1.yang new file mode 100644 index 0000000..dd7cc9a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper-sub1.yang @@ -0,0 +1,1204 @@ +submodule Cisco-IOS-XR-rptiming-tmg-oper-sub1 { + belongs-to Cisco-IOS-XR-rptiming-tmg-oper { + prefix Cisco-IOS-XR-rptiming-tmg-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR rptiming-tmg package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping TMG-PLL-INFO { + description + "Timing PLL status"; + leaf t0-pll-state { + type string { + length "0..50"; + } + description + "T0 PLL state"; + } + leaf t4-pll-state { + type string { + length "0..50"; + } + description + "T4 PLL state"; + } + leaf ptp-pll-state { + type string { + length "0..50"; + } + description + "1588 PLL state"; + } + leaf t0-pll-selected { + type string { + length "0..50"; + } + description + "T0 PLL selected"; + } + leaf t4-pll-selected { + type string { + length "0..50"; + } + description + "T4 PLL selected"; + } + leaf ptp-pll-selected { + type string { + length "0..50"; + } + description + "1588 PLL selected"; + } + leaf t0-pll-mode { + type string { + length "0..50"; + } + description + "T0 PLL mode"; + } + leaf t4-pll-mode { + type string { + length "0..50"; + } + description + "T4 PLL mode"; + } + leaf ptp-pll-mode { + type string { + length "0..50"; + } + description + "1588 PLL mode"; + } + leaf t0-pll-ic1-prio { + type uint8; + description + "T0 PLL IC1 Priority"; + } + leaf t0-pll-ic2-prio { + type uint8; + description + "T0 PLL IC2 Priority"; + } + leaf t0-pll-ic3-prio { + type uint8; + description + "T0 PLL IC3 Priority"; + } + leaf t0-pll-ic4-prio { + type uint8; + description + "T0 PLL IC4 Priority"; + } + leaf t0-pll-ic5-prio { + type uint8; + description + "T0 PLL IC5 Priority"; + } + leaf t0-pll-ic6-prio { + type uint8; + description + "T0 PLL IC6 Priority"; + } + leaf t0-pll-ic7-prio { + type uint8; + description + "T0 PLL IC7 Priority"; + } + leaf t0-pll-ic8-prio { + type uint8; + description + "T0 PLL IC8 Priority"; + } + leaf t0-pll-ic9-prio { + type uint8; + description + "T0 PLL IC9 Priority"; + } + leaf t0-pll-ic10-prio { + type uint8; + description + "T0 PLL IC10 Priority"; + } + leaf t0-pll-ic11-prio { + type uint8; + description + "T0 PLL IC11 Priority"; + } + leaf t4-pll-ic1-prio { + type uint8; + description + "T4 PLL IC1 Priority"; + } + leaf t4-pll-ic2-prio { + type uint8; + description + "T4 PLL IC2 Priority"; + } + leaf t4-pll-ic3-prio { + type uint8; + description + "T4 PLL IC3 Priority"; + } + leaf t4-pll-ic4-prio { + type uint8; + description + "T4 PLL IC4 Priority"; + } + leaf t4-pll-ic5-prio { + type uint8; + description + "T4 PLL IC5 Priority"; + } + leaf t4-pll-ic6-prio { + type uint8; + description + "T4 PLL IC6 Priority"; + } + leaf t4-pll-ic7-prio { + type uint8; + description + "T4 PLL IC7 Priority"; + } + leaf t4-pll-ic8-prio { + type uint8; + description + "T4 PLL IC8 Priority"; + } + leaf t4-pll-ic9-prio { + type uint8; + description + "T4 PLL IC9 Priority"; + } + leaf t4-pll-ic10-prio { + type uint8; + description + "T4 PLL IC10 Priority"; + } + leaf t4-pll-ic11-prio { + type uint8; + description + "T4 PLL IC11 Priority"; + } + leaf ptp-pll-ic1-prio { + type uint8; + description + "PTP PLL IC1 Priority"; + } + leaf ptp-pll-ic2-prio { + type uint8; + description + "PTP PLL IC2 Priority"; + } + leaf ptp-pll-ic3-prio { + type uint8; + description + "PTP PLL IC3 Priority"; + } + leaf ptp-pll-ic4-prio { + type uint8; + description + "PTP PLL IC4 Priority"; + } + leaf ptp-pll-ic5-prio { + type uint8; + description + "PTP PLL IC5 Priority"; + } + leaf ptp-pll-ic6-prio { + type uint8; + description + "PTP PLL IC6 Priority"; + } + leaf ptp-pll-ic7-prio { + type uint8; + description + "PTP PLL IC7 Priority"; + } + leaf ptp-pll-ic8-prio { + type uint8; + description + "PTP PLL IC8 Priority"; + } + leaf ptp-pll-ic9-prio { + type uint8; + description + "PTP PLL IC9 Priority"; + } + leaf ptp-pll-ic10-prio { + type uint8; + description + "PTP PLL IC10 Priority"; + } + leaf ptp-pll-ic11-prio { + type uint8; + description + "PTP PLL IC11 Priority"; + } + leaf ic1-valid { + type boolean; + description + "IC Valid 1"; + } + leaf ic2-valid { + type boolean; + description + "IC Valid 2"; + } + leaf ic3-valid { + type boolean; + description + "IC Valid 3"; + } + leaf ic4-valid { + type boolean; + description + "IC Valid 4"; + } + leaf ic5-valid { + type boolean; + description + "IC Valid 5"; + } + leaf ic6-valid { + type boolean; + description + "IC Valid 6"; + } + leaf ic7-valid { + type boolean; + description + "IC Valid 7"; + } + leaf ic8-valid { + type boolean; + description + "IC Valid 8"; + } + leaf ic9-valid { + type boolean; + description + "IC Valid 9"; + } + leaf ic10-valid { + type boolean; + description + "IC Valid 10"; + } + leaf ic11-valid { + type boolean; + description + "IC Valid 11"; + } + leaf t0-pll-freq-offset { + type int32; + description + "T0 PLL Frequency Offset"; + } + leaf t4-pll-freq-offset { + type int32; + description + "T4 PLL Frequency Offset"; + } + leaf ptp-pll-freq-offset { + type int32; + description + "PTP PLL Frequency Offset"; + } + leaf t0-pll-bandwidth { + type string { + length "0..50"; + } + description + "T0 PLL Bandwidth"; + } + leaf t4-pll-bandwidth { + type string { + length "0..50"; + } + description + "T4 PLL Bandwidth"; + } + leaf ptp-pll-bandwidth { + type string { + length "0..50"; + } + description + "PTP PLL Bandwidth"; + } + leaf t0-pll-psl { + type string { + length "0..50"; + } + description + "T0 PLL PSL"; + } + leaf t4-pll-psl { + type string { + length "0..50"; + } + description + "T4 PLL PSL"; + } + leaf ptp-pll-psl { + type string { + length "0..50"; + } + description + "PTP PLL PSL"; + } + leaf ic1-qual-min { + type string { + length "0..50"; + } + description + "IC1 Pull-in/Hold-in Min"; + } + leaf ic1-qual-max { + type string { + length "0..50"; + } + description + "IC1 Pull-in/Hold-in Min"; + } + leaf ic2-qual-min { + type string { + length "0..50"; + } + description + "IC2 Pull-in/Hold-in Min"; + } + leaf ic2-qual-max { + type string { + length "0..50"; + } + description + "IC2 Pull-in/Hold-in Min"; + } + leaf ic3-qual-min { + type string { + length "0..50"; + } + description + "IC3 Pull-in/Hold-in Min"; + } + leaf ic3-qual-max { + type string { + length "0..50"; + } + description + "IC3 Pull-in/Hold-in Min"; + } + leaf ic4-qual-min { + type string { + length "0..50"; + } + description + "IC4 Pull-in/Hold-in Min"; + } + leaf ic4-qual-max { + type string { + length "0..50"; + } + description + "IC4 Pull-in/Hold-in Min"; + } + leaf ic5-qual-min { + type string { + length "0..50"; + } + description + "IC5 Pull-in/Hold-in Min"; + } + leaf ic5-qual-max { + type string { + length "0..50"; + } + description + "IC5 Pull-in/Hold-in Min"; + } + leaf ic6-qual-min { + type string { + length "0..50"; + } + description + "IC6 Pull-in/Hold-in Min"; + } + leaf ic6-qual-max { + type string { + length "0..50"; + } + description + "IC6 Pull-in/Hold-in Min"; + } + leaf ic7-qual-min { + type string { + length "0..50"; + } + description + "IC7 Pull-in/Hold-in Min"; + } + leaf ic7-qual-max { + type string { + length "0..50"; + } + description + "IC7 Pull-in/Hold-in Min"; + } + leaf ic8-qual-min { + type string { + length "0..50"; + } + description + "IC8 Pull-in/Hold-in Min"; + } + leaf ic8-qual-max { + type string { + length "0..50"; + } + description + "IC8 Pull-in/Hold-in Min"; + } + leaf ic9-qual-min { + type string { + length "0..50"; + } + description + "IC9 Pull-in/Hold-in Min"; + } + leaf ic9-qual-max { + type string { + length "0..50"; + } + description + "IC9 Pull-in/Hold-in Min"; + } + leaf ic10-qual-min { + type string { + length "0..50"; + } + description + "IC10 Pull-in/Hold-in Min"; + } + leaf ic10-qual-max { + type string { + length "0..50"; + } + description + "IC10 Pull-in/Hold-in Min"; + } + leaf ic11-qual-min { + type string { + length "0..50"; + } + description + "IC11 Pull-in/Hold-in Min"; + } + leaf ic11-qual-max { + type string { + length "0..50"; + } + description + "IC11 Pull-in/Hold-in Min"; + } + } + + grouping TMG-CLKIN-INFO { + description + "Timing input clock status"; + leaf ic1-valid { + type boolean; + description + "IC Valid 1"; + } + leaf ic2-valid { + type boolean; + description + "IC Valid 2"; + } + leaf ic3-valid { + type boolean; + description + "IC Valid 3"; + } + leaf ic4-valid { + type boolean; + description + "IC Valid 4"; + } + leaf ic5-valid { + type boolean; + description + "IC Valid 5"; + } + leaf ic6-valid { + type boolean; + description + "IC Valid 6"; + } + leaf ic7-valid { + type boolean; + description + "IC Valid 7"; + } + leaf ic8-valid { + type boolean; + description + "IC Valid 8"; + } + leaf ic9-valid { + type boolean; + description + "IC Valid 9"; + } + leaf ic10-valid { + type boolean; + description + "IC Valid 10"; + } + leaf ic11-valid { + type boolean; + description + "IC Valid 11"; + } + leaf ic1-slot { + type string { + length "0..50"; + } + description + "IC Slot 1"; + } + leaf ic2-slot { + type string { + length "0..50"; + } + description + "IC Slot 2"; + } + leaf ic3-slot { + type string { + length "0..50"; + } + description + "IC Slot 3"; + } + leaf ic4-slot { + type string { + length "0..50"; + } + description + "IC Slot 4"; + } + leaf ic5-slot { + type string { + length "0..50"; + } + description + "IC Slot 5"; + } + leaf ic6-slot { + type string { + length "0..50"; + } + description + "IC Slot 6"; + } + leaf ic7-slot { + type string { + length "0..50"; + } + description + "IC Slot 7"; + } + leaf ic8-slot { + type string { + length "0..50"; + } + description + "IC Slot 8"; + } + leaf ic9-slot { + type string { + length "0..50"; + } + description + "IC Slot 9"; + } + leaf ic10-slot { + type string { + length "0..50"; + } + description + "IC Slot 10"; + } + leaf ic11-slot { + type string { + length "0..50"; + } + description + "IC Slot 11"; + } + leaf ic1-split-xom { + type string { + length "0..50"; + } + description + "IC1 Split XO Mode Status"; + } + leaf ic2-split-xom { + type string { + length "0..50"; + } + description + "IC2 Split XO Mode Status"; + } + leaf ic3-split-xom { + type string { + length "0..50"; + } + description + "IC3 Split XO Mode Status"; + } + leaf ic4-split-xom { + type string { + length "0..50"; + } + description + "IC4 Split XO Mode Status"; + } + leaf ic5-split-xom { + type string { + length "0..50"; + } + description + "IC5 Split XO Mode Status"; + } + leaf ic6-split-xom { + type string { + length "0..50"; + } + description + "IC6 Split XO Mode Status"; + } + leaf ic7-split-xom { + type string { + length "0..50"; + } + description + "IC7 Split XO Mode Status"; + } + leaf ic8-split-xom { + type string { + length "0..50"; + } + description + "IC8 Split XO Mode Status"; + } + leaf ic9-split-xom { + type string { + length "0..50"; + } + description + "IC9 Split XO Mode Status"; + } + leaf ic10-split-xom { + type string { + length "0..50"; + } + description + "IC10 Split XO Mode Status"; + } + leaf ic11-split-xom { + type string { + length "0..50"; + } + description + "IC11 Split XO Mode Status"; + } + leaf ic1-eppsm { + type string { + length "0..50"; + } + description + "IC1 ePPSM Status"; + } + leaf ic2-eppsm { + type string { + length "0..50"; + } + description + "IC2 ePPSM Status"; + } + leaf ic3-eppsm { + type string { + length "0..50"; + } + description + "IC3 ePPSM Status"; + } + leaf ic4-eppsm { + type string { + length "0..50"; + } + description + "IC4 ePPSM Status"; + } + leaf ic5-eppsm { + type string { + length "0..50"; + } + description + "IC5 ePPSM Status"; + } + leaf ic6-eppsm { + type string { + length "0..50"; + } + description + "IC6 ePPSM Status"; + } + leaf ic7-eppsm { + type string { + length "0..50"; + } + description + "IC7 ePPSM Status"; + } + leaf ic8-eppsm { + type string { + length "0..50"; + } + description + "IC8 ePPSM Status"; + } + leaf ic9-eppsm { + type string { + length "0..50"; + } + description + "IC9 ePPSM Status"; + } + leaf ic10-eppsm { + type string { + length "0..50"; + } + description + "IC10 ePPSM Status"; + } + leaf ic11-eppsm { + type string { + length "0..50"; + } + description + "IC11 ePPSM Status"; + } + leaf ic1-pfm { + type string { + length "0..50"; + } + description + "IC1 PFM Status"; + } + leaf ic2-pfm { + type string { + length "0..50"; + } + description + "IC2 PFM Status"; + } + leaf ic3-pfm { + type string { + length "0..50"; + } + description + "IC3 PFM Status"; + } + leaf ic4-pfm { + type string { + length "0..50"; + } + description + "IC4 PFM Status"; + } + leaf ic5-pfm { + type string { + length "0..50"; + } + description + "IC5 PFM Status"; + } + leaf ic6-pfm { + type string { + length "0..50"; + } + description + "IC6 PFM Status"; + } + leaf ic7-pfm { + type string { + length "0..50"; + } + description + "IC7 PFM Status"; + } + leaf ic8-pfm { + type string { + length "0..50"; + } + description + "IC8 PFM Status"; + } + leaf ic9-pfm { + type string { + length "0..50"; + } + description + "IC9 PFM Status"; + } + leaf ic10-pfm { + type string { + length "0..50"; + } + description + "IC10 PFM Status"; + } + leaf ic11-pfm { + type string { + length "0..50"; + } + description + "IC11 PFM Status"; + } + leaf ic1-gst { + type string { + length "0..50"; + } + description + "IC1 GST Status"; + } + leaf ic2-gst { + type string { + length "0..50"; + } + description + "IC2 GST Status"; + } + leaf ic3-gst { + type string { + length "0..50"; + } + description + "IC3 GST Status"; + } + leaf ic4-gst { + type string { + length "0..50"; + } + description + "IC4 GST Status"; + } + leaf ic5-gst { + type string { + length "0..50"; + } + description + "IC5 GST Status"; + } + leaf ic6-gst { + type string { + length "0..50"; + } + description + "IC6 GST Status"; + } + leaf ic7-gst { + type string { + length "0..50"; + } + description + "IC7 GST Status"; + } + leaf ic8-gst { + type string { + length "0..50"; + } + description + "IC8 GST Status"; + } + leaf ic9-gst { + type string { + length "0..50"; + } + description + "IC9 GST Status"; + } + leaf ic10-gst { + type string { + length "0..50"; + } + description + "IC10 GST Status"; + } + leaf ic11-gst { + type string { + length "0..50"; + } + description + "IC11 GST Status"; + } + leaf ic1-cfm { + type string { + length "0..50"; + } + description + "IC1 CFM Status"; + } + leaf ic2-cfm { + type string { + length "0..50"; + } + description + "IC2 CFM Status"; + } + leaf ic3-cfm { + type string { + length "0..50"; + } + description + "IC3 CFM Status"; + } + leaf ic4-cfm { + type string { + length "0..50"; + } + description + "IC4 CFM Status"; + } + leaf ic5-cfm { + type string { + length "0..50"; + } + description + "IC5 CFM Status"; + } + leaf ic6-cfm { + type string { + length "0..50"; + } + description + "IC6 CFM Status"; + } + leaf ic7-cfm { + type string { + length "0..50"; + } + description + "IC7 CFM Status"; + } + leaf ic8-cfm { + type string { + length "0..50"; + } + description + "IC8 CFM Status"; + } + leaf ic9-cfm { + type string { + length "0..50"; + } + description + "IC9 CFM Status"; + } + leaf ic10-cfm { + type string { + length "0..50"; + } + description + "IC10 CFM Status"; + } + leaf ic11-cfm { + type string { + length "0..50"; + } + description + "IC11 CFM Status"; + } + leaf ic1-scm { + type string { + length "0..50"; + } + description + "IC1 SCM Status"; + } + leaf ic2-scm { + type string { + length "0..50"; + } + description + "IC2 SCM Status"; + } + leaf ic3-scm { + type string { + length "0..50"; + } + description + "IC3 SCM Status"; + } + leaf ic4-scm { + type string { + length "0..50"; + } + description + "IC4 SCM Status"; + } + leaf ic5-scm { + type string { + length "0..50"; + } + description + "IC5 SCM Status"; + } + leaf ic6-scm { + type string { + length "0..50"; + } + description + "IC6 SCM Status"; + } + leaf ic7-scm { + type string { + length "0..50"; + } + description + "IC7 SCM Status"; + } + leaf ic8-scm { + type string { + length "0..50"; + } + description + "IC8 SCM Status"; + } + leaf ic9-scm { + type string { + length "0..50"; + } + description + "IC9 SCM Status"; + } + leaf ic10-scm { + type string { + length "0..50"; + } + description + "IC10 SCM Status"; + } + leaf ic11-scm { + type string { + length "0..50"; + } + description + "IC11 SCM Status"; + } + leaf ic1-los { + type string { + length "0..50"; + } + description + "IC1 LOS Status"; + } + leaf ic2-los { + type string { + length "0..50"; + } + description + "IC2 LOS Status"; + } + leaf ic3-los { + type string { + length "0..50"; + } + description + "IC3 LOS Status"; + } + leaf ic4-los { + type string { + length "0..50"; + } + description + "IC4 LOS Status"; + } + leaf ic5-los { + type string { + length "0..50"; + } + description + "IC5 LOS Status"; + } + leaf ic6-los { + type string { + length "0..50"; + } + description + "IC6 LOS Status"; + } + leaf ic7-los { + type string { + length "0..50"; + } + description + "IC7 LOS Status"; + } + leaf ic8-los { + type string { + length "0..50"; + } + description + "IC8 LOS Status"; + } + leaf ic9-los { + type string { + length "0..50"; + } + description + "IC9 LOS Status"; + } + leaf ic10-los { + type string { + length "0..50"; + } + description + "IC10 LOS Status"; + } + leaf ic11-los { + type string { + length "0..50"; + } + description + "IC11 LOS Status"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper.yang new file mode 100644 index 0000000..eb729df --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-rptiming-tmg-oper.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-rptiming-tmg-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-rptiming-tmg-oper"; + prefix rptiming-tmg-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-rptiming-tmg-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR rptiming-tmg package operational data. + + This module contains definitions + for the following management objects: + timing-card: Timing PLL status and configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container timing-card { + config false; + description + "Timing PLL status and configuration"; + container nodes { + description + "List of nodes applicable to timing"; + list node { + key "node-name"; + description + "Timing operational data for a single node"; + container input-clock { + description + "Display the timing card input clock status + information"; + uses TMG-CLKIN-INFO; + } + container pll { + description + "Display the timing card PLL status information"; + uses TMG-PLL-INFO; + } + leaf node-name { + type xr:Node-id; + description + "Node Name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang new file mode 100644 index 0000000..4895c6b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1.yang @@ -0,0 +1,474 @@ +submodule Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1 { + belongs-to Cisco-IOS-XR-sdr-invmgr-diag-oper { + prefix Cisco-IOS-XR-sdr-invmgr-diag-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR sdr-invmgr-diag package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping DIAG-CARD { + description + "Card Instance"; + container card-instance { + description + "Card instance"; + uses DIAG-EEPROM; + } + leaf node-operational-state { + type string { + length "0..255"; + } + description + "Node operational state "; + } + } + + grouping RMA-DETAIL { + description + "EEPROM RMA data content"; + leaf test-history { + type string { + length "0..255"; + } + description + "Test history"; + } + leaf rma-number { + type string { + length "0..255"; + } + description + "RMA tracking number format is N-N-N"; + } + leaf rma-history { + type string { + length "0..255"; + } + description + "RMA history"; + } + } + + grouping DIAG-EEPROM { + description + "Diag EEPROM data content"; + container rma { + description + "RMA Data"; + uses RMA-DETAIL; + } + leaf description { + type string { + length "0..255"; + } + description + "A textual description of physical entity"; + } + leaf idprom-format-rev { + type string { + length "0..255"; + } + description + "IDPROM Format Revision"; + } + leaf controller-family { + type string { + length "0..255"; + } + description + "Controller family"; + } + leaf controller-type { + type string { + length "0..255"; + } + description + "Controller type"; + } + leaf vid { + type string { + length "0..255"; + } + description + "Version ID"; + } + leaf hwid { + type string { + length "0..255"; + } + description + "Hardware Revision"; + } + leaf pid { + type string { + length "0..255"; + } + description + "Product ID"; + } + leaf udi-description { + type string { + length "0..255"; + } + description + "UDI description"; + } + leaf udi-name { + type string { + length "0..255"; + } + description + "UDI name"; + } + leaf clei { + type string { + length "0..255"; + } + description + "Common Language Equipment Identifier (CLEI) code"; + } + leaf eci { + type string { + length "0..255"; + } + description + "Equipment Catalog Item (ECI) number"; + } + leaf top-assem-part-num { + type string { + length "0..255"; + } + description + "Top assembly part number"; + } + leaf top-assem-vid { + type string { + length "0..255"; + } + description + "Top assembly revision number"; + } + leaf pca-num { + type string { + length "0..255"; + } + description + "PCA number"; + } + leaf pcavid { + type string { + length "0..255"; + } + description + "PCA revision ID"; + } + leaf chassis-sid { + type string { + length "0..255"; + } + description + "Chassis serial number"; + } + leaf dev-num1 { + type string { + length "0..255"; + } + description + "Deviation Number # 1"; + } + leaf dev-num2 { + type string { + length "0..255"; + } + description + "Deviation Number # 2"; + } + leaf dev-num3 { + type string { + length "0..255"; + } + description + "Deviation Number # 3"; + } + leaf dev-num4 { + type string { + length "0..255"; + } + description + "Deviation Number # 4"; + } + leaf dev-num5 { + type string { + length "0..255"; + } + description + "Deviation Number # 5"; + } + leaf dev-num6 { + type string { + length "0..255"; + } + description + "Deviation Number # 6"; + } + leaf dev-num7 { + type string { + length "0..255"; + } + description + "Deviation Number # 7"; + } + leaf manu-test-data { + type string { + length "0..255"; + } + description + "Manufacturing Test Data"; + } + leaf asset-id { + type string { + length "0..255"; + } + description + "Asset ID"; + } + leaf asset-alias { + type string { + length "0..255"; + } + description + "Asset Alias"; + } + leaf base-mac-address1 { + type string { + length "0..255"; + } + description + "Base Mac Address #1"; + } + leaf mac-add-blk-size1 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #1"; + } + leaf base-mac-address2 { + type string { + length "0..255"; + } + description + "Base Mac Address #2"; + } + leaf mac-add-blk-size2 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #2"; + } + leaf base-mac-address3 { + type string { + length "0..255"; + } + description + "Base Mac Address #3"; + } + leaf mac-add-blk-size3 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #3"; + } + leaf base-mac-address4 { + type string { + length "0..255"; + } + description + "Base Mac Address #4"; + } + leaf mac-add-blk-size4 { + type string { + length "0..255"; + } + description + "Mac Address Block Size #4"; + } + leaf pcb-serial-num { + type string { + length "0..255"; + } + description + "PCB Serial Number"; + } + leaf power-supply-type { + type string { + length "0..255"; + } + description + "Power Supply Type"; + } + leaf power-consumption { + type string { + length "0..255"; + } + description + "Power Consumption"; + } + leaf block-signature { + type string { + length "0..255"; + } + description + "Block Signature"; + } + leaf block-version { + type string { + length "0..255"; + } + description + "Block Version"; + } + leaf block-length { + type string { + length "0..255"; + } + description + "Block Length"; + } + leaf block-checksum { + type string { + length "0..255"; + } + description + "Block Checksum"; + } + leaf eeprom-size { + type string { + length "0..255"; + } + description + "EEPROM Size"; + } + leaf block-count { + type string { + length "0..255"; + } + description + "Block Count"; + } + leaf fru-major-type { + type string { + length "0..255"; + } + description + "FRU Major Type"; + } + leaf fru-minor-type { + type string { + length "0..255"; + } + description + "FRU Minor Type"; + } + leaf oem-string { + type string { + length "0..255"; + } + description + "OEM String"; + } + leaf product-id { + type string { + length "0..255"; + } + description + "Product ID"; + } + leaf serial-number { + type string { + length "0..255"; + } + description + "Serial Number"; + } + leaf part-number { + type string { + length "0..255"; + } + description + "Part Number"; + } + leaf part-revision { + type string { + length "0..255"; + } + description + "Part Revision"; + } + leaf mfg-deviation { + type string { + length "0..255"; + } + description + "MFG Deviation"; + } + leaf hw-version { + type string { + length "0..255"; + } + description + "Hardware Version"; + } + leaf mfg-bits { + type string { + length "0..255"; + } + description + "MFG Bits"; + } + leaf engineer-use { + type string { + length "0..255"; + } + description + "Engineer Use"; + } + leaf snmpoid { + type string { + length "0..255"; + } + description + "SNMP OID"; + } + leaf rma-code { + type string { + length "0..255"; + } + description + "RMA Code"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang new file mode 100644 index 0000000..a78950c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-diag-oper.yang @@ -0,0 +1,165 @@ +module Cisco-IOS-XR-sdr-invmgr-diag-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-diag-oper"; + prefix sdr-invmgr-diag-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-sdr-invmgr-diag-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR sdr-invmgr-diag package operational data. + + This module contains definitions + for the following management objects: + diag: Diag information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping INFORMATION { + description + "Common node of power-supply, fans"; + container information { + description + "Basic information"; + uses DIAG-EEPROM; + } + } + + container diag { + config false; + description + "Diag information"; + container racks { + description + "Table of racks"; + list rack { + key "rack-name"; + description + "Rack name"; + container power-shelfs { + description + "Table for rack power shelf "; + list power-shelf { + key "power-shelf-name"; + description + "Power shelf name"; + container power-supplies { + description + "Table for rack power supply "; + list power-supply { + key "power-supply-name"; + description + "Power Supply name"; + leaf power-supply-name { + type xr:Cisco-ios-xr-string; + description + "Power Supply name"; + } + uses INFORMATION; + } + } + leaf power-shelf-name { + type xr:Cisco-ios-xr-string; + description + "Power Shelf name"; + } + } + } + container fan-traies { + description + "Table for rack fan trays"; + list fan-tray { + key "fan-tray-name"; + description + "Fan tray name"; + container fanses { + description + "Table for rack fans "; + list fans { + key "fans-name"; + description + "Fan name"; + leaf fans-name { + type xr:Cisco-ios-xr-string; + description + "Fans name"; + } + uses INFORMATION; + } + } + leaf fan-tray-name { + type xr:Cisco-ios-xr-string; + description + "Fan tray name"; + } + } + } + container slots { + description + "Table of slots"; + list slot { + key "slot-name"; + description + "Slot name"; + container instances { + description + "Table of instances"; + list instance { + key "name"; + description + "instance number"; + container detail { + description + "Detail information"; + uses DIAG-CARD; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Instance name"; + } + } + } + leaf slot-name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + } + } + container chassis { + description + "Chassis information"; + uses DIAG-EEPROM; + } + leaf rack-name { + type xr:Cisco-ios-xr-string; + description + "Rack name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-oper.yang new file mode 100644 index 0000000..211439c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sdr-invmgr-oper.yang @@ -0,0 +1,180 @@ +module Cisco-IOS-XR-sdr-invmgr-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sdr-invmgr-oper"; + prefix sdr-invmgr-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR sdr-invmgr package operational data. + + This module contains definitions + for the following management objects: + sdr-inventory: SDR information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container sdr-inventory { + config false; + description + "SDR information"; + container racks { + description + "RackTable"; + list rack { + key "name"; + description + "Rack name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Rack name"; + } + list slot { + key "name"; + description + "Slot name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Slot name"; + } + list card { + key "name"; + description + "Card"; + container attributes { + description + "Attributes"; + leaf config-state-string { + type string; + description + "Config State String"; + } + leaf power { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "Power"; + } + leaf config-state { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "ConfigState"; + } + leaf card-state { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "CardState"; + } + leaf vm-state { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "VM State information"; + } + leaf card-admin-state { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "Card Admin State"; + } + leaf card-type { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "CardType"; + } + leaf card-type-string { + type string; + description + "Card Type String"; + } + leaf node-name-string { + type string; + description + "Node Name String"; + } + leaf pi-slot-number { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "Pi Slot Number"; + } + leaf shutdown { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "Shutdown"; + } + leaf ctype { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "CType"; + } + leaf card-state-string { + type string; + description + "Card State String"; + } + leaf monitor { + type uint32 { + range "0..4294967295"; + } + default "0"; + description + "Monitor"; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Card"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-cfg.yang new file mode 100644 index 0000000..5706b31 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-cfg.yang @@ -0,0 +1,287 @@ +module Cisco-IOS-XR-segment-routing-ms-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-cfg"; + prefix segment-routing-ms-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR segment-routing-ms package configuration. + + This module contains definitions + for the following management objects: + sr: Segment Routing + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srms-mi-flag { + type enumeration { + enum "disable" { + value 0; + description + "Disable flag"; + } + enum "enable" { + value 1; + description + "Enable flag"; + } + } + description + "Srms mi flag"; + } + + typedef Srms-address-family { + type enumeration { + enum "ipv4" { + value 1; + description + "IP version 4"; + } + enum "ipv6" { + value 2; + description + "IP version 6"; + } + } + description + "Srms address family"; + } + + typedef Srlb-string { + type string { + pattern "(srlb_default)"; + } + description + "srlb_default:Default SRLB block"; + } + + typedef Sid-type-list { + type enumeration { + enum "absolute" { + value 1; + description + "Absolute SID"; + } + enum "index" { + value 2; + description + "Index SID"; + } + } + description + "Sid type list"; + } + + container sr { + description + "Segment Routing"; + container local-block { + presence "Indicates a local-block node is configured."; + description + "Segment Routing Local Block of Labels"; + leaf lower-bound { + type uint32 { + range "15000..1048574"; + } + mandatory true; + description + "SRLB Lower Bound"; + } + leaf upper-bound { + type uint32 { + range "15001..1048575"; + } + mandatory true; + description + "SRLB Upper Bound"; + } + } + container mappings { + description + "Mapping Server"; + list mapping { + key "af ip mask"; + description + "IP prefix to SID mapping"; + leaf af { + type xr:Cisco-ios-xr-string; + description + "Address Family"; + } + leaf ip { + type xr:Cisco-ios-xr-string; + description + "IP prefix"; + } + leaf mask { + type int32; + description + "Mask"; + } + leaf sid-start { + type uint32 { + range "0..1048575"; + } + description + "Start of SID index range"; + } + leaf sid-range { + type int32; + description + "Range (number of SIDs)"; + } + leaf flag-attached { + type Srms-mi-flag; + description + "Enable/Disable Attached flag"; + } + } + } + container adjacency-sid { + description + "Segment Routing Adjacency SID"; + container interfaces { + description + "Segment Routing Adjacency SID Interface Table"; + list interface { + key "interface"; + description + "Segment Routing Adjacency SID Interface"; + container address-families { + description + "Segment Routing Adjacency SID Interface + Address Family Table"; + list address-family { + key "address-family"; + description + "Segment Routing Adjacency SID Interface + Address Family"; + container next-hops { + description + "Segment Routing Adjacency SID Interface + Address Family NextHop Table"; + list next-hop { + must "(count(../next-hop)=1) or ((count(../next-hop[ip-addr='0.0.0.0'])=0) and (count(../next-hop[ip-addr='::0'])=0))"; + key "ip-addr"; + unique "l2-adjacency-sid/sid-type l2-adjacency-sid/index-sid l2-adjacency-sid/absolute-sid l2-adjacency-sid/srlb"; + description + "Segment Routing Adjacency SID Interface + Address Family NextHop, use a single + ANYADDR (0.0.0.0 or ::) NextHop for point + to point links"; + container l2-adjacency-sid { + description + "L2 Adjacency SID type and value"; + leaf sid-type { + type Sid-type-list; + description + "SID type"; + } + leaf absolute-sid { + when "../sid-type = 'absolute'" { + description + "../SIDType = absolute"; + } + type uint32 { + range "15000..1048575"; + } + description + "SID value"; + } + leaf index-sid { + when "../sid-type = 'index'" { + description + "../SIDType = index"; + } + type uint32 { + range "0..1048575"; + } + description + "SID value"; + } + leaf srlb { + when "../sid-type = 'absolute' or ../sid-type = 'index'" { + description + "../SIDType = absolute or ../SIDType = + index"; + } + type Srlb-string; + mandatory true; + description + "SRLB block name"; + } + } + leaf ip-addr { + type inet:ip-address-no-zone; + description + "NextHop IP address"; + } + } + } + leaf address-family { + type Srms-address-family; + description + "Address Family"; + } + } + } + leaf interface { + type xr:Interface-name; + description + "Interface name"; + } + } + } + } + container global-block { + presence "Indicates a global-block node is configured."; + description + "Global Block Segment Routing"; + leaf lower-bound { + type uint32 { + range "16000..1048574"; + } + mandatory true; + description + "SRGB Lower Bound"; + } + leaf upper-bound { + type uint32 { + range "16001..1048575"; + } + mandatory true; + description + "SRGB Upper Bound"; + } + } + leaf enable { + type empty; + description + "enable SR"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang new file mode 100644 index 0000000..153161f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub1.yang @@ -0,0 +1,44 @@ +submodule Cisco-IOS-XR-segment-routing-ms-oper-sub1 { + belongs-to Cisco-IOS-XR-segment-routing-ms-oper { + prefix Cisco-IOS-XR-segment-routing-ms-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR segment-routing-ms package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping MPLS-LSD-SRLB-INCONSISTENCY { + description + "SRLB Inconsistency"; + leaf start-srlb-range { + type uint32; + description + "Start label of Segment Routing Local Block range"; + } + leaf end-srlb-range { + type uint32; + description + "End label of Segment Routing Local Block range"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub2.yang new file mode 100644 index 0000000..fc55caf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub2.yang @@ -0,0 +1,133 @@ +submodule Cisco-IOS-XR-segment-routing-ms-oper-sub2 { + belongs-to Cisco-IOS-XR-segment-routing-ms-oper { + prefix Cisco-IOS-XR-segment-routing-ms-oper; + } + + import ietf-inet-types { + prefix inet; + } + include Cisco-IOS-XR-segment-routing-ms-oper-sub3 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR segment-routing-ms package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srms-af { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Srms af"; + } + + grouping ADDR1 { + description + "ADDR1"; + leaf af { + type Srms-af; + description + "AF"; + } + leaf ipv4 { + when "../af = 'ipv4'" { + description + "../AF = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4"; + } + leaf ipv6 { + when "../af = 'ipv6'" { + description + "../AF = 'IPv6'"; + } + type In6-addr-t-b; + description + "IPv6"; + } + } + + grouping SRMS-L2-ADJ-T-B { + description + "SRMA show bag"; + container nexthop-address { + description + "Nexthop address"; + uses ADDR1; + } + leaf interface-name { + type string { + length "0..64"; + } + description + "Interface name"; + } + leaf sid-value-xr { + type uint32; + description + "SID Value"; + } + leaf sid-type-xr { + type uint32; + description + "SID type"; + } + leaf address-family { + type uint32; + description + "Interface address family"; + } + leaf has-nexthop { + type boolean; + description + "Has nexthop"; + } + leaf interface-count { + type int32; + description + "Interface count"; + } + leaf interface-delete-count { + type int32; + description + "Interface delete count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub3.yang new file mode 100644 index 0000000..4dcb6ea --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper-sub3.yang @@ -0,0 +1,189 @@ +submodule Cisco-IOS-XR-segment-routing-ms-oper-sub3 { + belongs-to Cisco-IOS-XR-segment-routing-ms-oper { + prefix Cisco-IOS-XR-segment-routing-ms-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR segment-routing-ms package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srms-mi-flag-e-b { + type enumeration { + enum "false" { + value 0; + description + "False"; + } + enum "true" { + value 1; + description + "True"; + } + } + description + "Srms mi flag e b"; + } + + typedef In6-addr-t-b { + type inet:ipv6-address; + description + "In6 addr t b"; + } + + typedef Srms-mi-af-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "Srms mi af e b"; + } + + typedef Srms-mi-src-e-b { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "local" { + value 1; + description + "Local"; + } + enum "remote" { + value 2; + description + "Remote"; + } + } + description + "Srms mi src e b"; + } + + grouping ADDR { + description + "ADDR"; + leaf af { + type Srms-mi-af-e-b; + description + "AF"; + } + leaf ipv4 { + when "../af = 'ipv4'" { + description + "../AF = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4"; + } + leaf ipv6 { + when "../af = 'ipv6'" { + description + "../AF = 'IPv6'"; + } + type In6-addr-t-b; + description + "IPv6"; + } + } + + grouping SRMS-MI-T-B { + description + "SRMS show bag"; + container addr { + description + "addr"; + uses ADDR; + } + leaf src { + type Srms-mi-src-e-b; + description + "src"; + } + leaf router { + type string { + length "0..30"; + } + description + "Router ID"; + } + leaf area { + type string { + length "0..30"; + } + description + "Area (OSPF) or Level (ISIS)"; + } + leaf prefix-xr { + type uint8; + description + "Prefix length"; + } + leaf sid-start { + type uint32; + description + "Starting SID"; + } + leaf sid-count { + type uint32; + description + "SID range"; + } + leaf last-prefix { + type string { + length "0..50"; + } + description + "Last IP Prefix"; + } + leaf last-sid-index { + type uint32; + description + "Last SID Index"; + } + leaf flag-attached { + type Srms-mi-flag-e-b; + description + "Attached flag"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper.yang new file mode 100644 index 0000000..889bac4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-segment-routing-ms-oper.yang @@ -0,0 +1,223 @@ +module Cisco-IOS-XR-segment-routing-ms-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper"; + prefix segment-routing-ms-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-segment-routing-ms-oper-sub3 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-segment-routing-ms-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-segment-routing-ms-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR segment-routing-ms package operational data. + + This module contains definitions + for the following management objects: + srms: Segment Routing Mapping Server operational data + srlb: srlb + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sid-type-enum { + type enumeration { + enum "absolute" { + value 1; + description + "Absolute SID"; + } + enum "index" { + value 2; + description + "Index SID"; + } + } + description + "Sid type enum"; + } + + grouping MAPPING-MI { + description + "Common node of mapping-ipv4, mapping-ipv6"; + list mapping-mi { + description + "IP prefix to SID mapping item. It's not possible + to list all of the IP prefix to SID mappings, as + the set of valid prefixes could be very large. + Instead, SID map information must be retrieved + individually for each prefix of interest."; + leaf ip { + type xr:Cisco-ios-xr-string; + description + "IP"; + } + leaf prefix { + type int32; + description + "Prefix"; + } + uses SRMS-MI-T-B; + } + } + + grouping POLICY-MI { + description + "Common node of policy-ipv4-active, + policy-ipv4-backup, policy-ipv6-active, + policy-ipv6-backup"; + list policy-mi { + key "mi-id"; + description + "Mapping Item"; + leaf mi-id { + type xr:Cisco-ios-xr-string; + description + "Mapping Item ID (0, 1, 2, ...)"; + } + uses SRMS-MI-T-B; + } + } + + grouping SID-RECORD { + description + "Common node of ipv4, ipv6"; + list sid-record { + description + "SID record"; + leaf sid-type { + type Sid-type-enum; + description + "SID type"; + } + leaf sid-value { + type int32; + description + "SID value"; + } + uses SRMS-L2-ADJ-T-B; + } + } + + container srms { + config false; + description + "Segment Routing Mapping Server operational data"; + container mapping { + description + "IP prefix to SID mappings"; + container mapping-ipv4 { + description + "IPv4 prefix to SID mappings"; + uses MAPPING-MI; + } + container mapping-ipv6 { + description + "IPv6 prefix to SID mappings"; + uses MAPPING-MI; + } + } + container adjacency-sid { + description + "Adjacency SID"; + container l2-adjacency { + description + "L2 Adjacency Option"; + container interfaces { + description + "Interface directory"; + list interface { + key "interface-name"; + description + "Segment Routing Adjacency SID Interface"; + container address-family { + description + "address family container"; + container ipv4 { + description + "IP version 4"; + uses SID-RECORD; + } + container ipv6 { + description + "IP version 6"; + uses SID-RECORD; + } + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + } + } + container policy { + description + "Policy operational data"; + container policy-ipv4 { + description + "IPv4 policy operational data"; + container policy-ipv4-backup { + description + "IPv4 backup policy operational data"; + uses POLICY-MI; + } + container policy-ipv4-active { + description + "IPv4 active policy operational data"; + uses POLICY-MI; + } + } + container policy-ipv6 { + description + "IPv6 policy operational data"; + container policy-ipv6-backup { + description + "IPv6 backup policy operational data"; + uses POLICY-MI; + } + container policy-ipv6-active { + description + "IPv6 active policy operational data"; + uses POLICY-MI; + } + } + } + } + container srlb { + config false; + description + "srlb"; + container srlb-inconsistency { + description + "SRLB Inconsistencies"; + uses MPLS-LSD-SRLB-INCONSISTENCY; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-cfg.yang new file mode 100644 index 0000000..48c6d47 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-cfg.yang @@ -0,0 +1,46 @@ +module Cisco-IOS-XR-shellutil-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg"; + prefix shellutil-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR shellutil package configuration. + + This module contains definitions + for the following management objects: + host-names: Container Schema for hostname configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-10-12 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container host-names { + description + "Container Schema for hostname configuration"; + leaf host-name { + type string; + description + "Configure system's hostname"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang new file mode 100644 index 0000000..35ba3a3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper-sub1.yang @@ -0,0 +1,71 @@ +submodule Cisco-IOS-XR-shellutil-filesystem-oper-sub1 { + belongs-to Cisco-IOS-XR-shellutil-filesystem-oper { + prefix Cisco-IOS-XR-shellutil-filesystem-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR shellutil-filesystem package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FILESYSTEM-UTIL { + description + "File System Description"; + leaf size { + type string; + units "byte"; + description + "Size of the file system in bytes"; + } + leaf free { + type string; + units "byte"; + description + "Free space in the file system in bytes"; + } + leaf type { + type string; + description + "Type of file system"; + } + leaf flags { + type string; + description + "Flags of file system"; + } + leaf prefixes { + type string; + description + "Prefixes of file system"; + } + } + + grouping FILESYSTEM { + description + "File Systems"; + list file-system { + description + "Available file systems"; + uses FILESYSTEM-UTIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper.yang new file mode 100644 index 0000000..efa2622 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-filesystem-oper.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-shellutil-filesystem-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-filesystem-oper"; + prefix shellutil-filesystem-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-shellutil-filesystem-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR shellutil-filesystem package operational data. + + This module contains definitions + for the following management objects: + file-system: List of filesystems + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container file-system { + config false; + description + "List of filesystems"; + list node { + key "node-name"; + description + "Node ID"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses FILESYSTEM; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper-sub1.yang new file mode 100644 index 0000000..860dea8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper-sub1.yang @@ -0,0 +1,133 @@ +submodule Cisco-IOS-XR-shellutil-oper-sub1 { + belongs-to Cisco-IOS-XR-shellutil-oper { + prefix Cisco-IOS-XR-shellutil-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR shellutil package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Time-source { + type enumeration { + enum "error" { + value 0; + description + "Error"; + } + enum "none" { + value 1; + description + "Unsynchronized time"; + } + enum "ntp" { + value 2; + description + "Network time protocol"; + } + enum "manual" { + value 3; + description + "User configured"; + } + enum "calendar" { + value 4; + description + "Hardware calendar"; + } + } + description + "Time source"; + } + + grouping SYSTEM-UPTIME { + description + "System uptime"; + leaf host-name { + type string; + description + "Host name"; + } + leaf uptime { + type uint32; + units "second"; + description + "Amount of time in seconds since this system + was last initialized"; + } + } + + grouping TIME-DATE { + description + "Date and time"; + leaf year { + type uint16; + description + "Year [0..65535]"; + } + leaf month { + type uint8; + description + "Month [1..12]"; + } + leaf day { + type uint8; + description + "Day [1..31]"; + } + leaf hour { + type uint8; + description + "Hour [0..23]"; + } + leaf minute { + type uint8; + description + "Minute [0..59]"; + } + leaf second { + type uint8; + description + "Second [0..60], use 60 for leap-second"; + } + leaf millisecond { + type uint16; + description + "Millisecond [0..999]"; + } + leaf wday { + type uint16; + description + "Week Day [0..6]"; + } + leaf time-zone { + type string; + description + "Time zone"; + } + leaf time-source { + type Time-source; + description + "Time source"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper.yang new file mode 100644 index 0000000..67ace87 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-shellutil-oper.yang @@ -0,0 +1,52 @@ +module Cisco-IOS-XR-shellutil-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper"; + prefix shellutil-oper; + + include Cisco-IOS-XR-shellutil-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR shellutil package operational data. + + This module contains definitions + for the following management objects: + system-time: System time information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container system-time { + config false; + description + "System time information"; + container clock { + description + "System clock information"; + uses TIME-DATE; + } + container uptime { + description + "System uptime information"; + uses SYSTEM-UPTIME; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang new file mode 100644 index 0000000..3ece98d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1.yang @@ -0,0 +1,178 @@ +submodule Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1 { + belongs-to Cisco-IOS-XR-show-fpd-loc-ng-oper { + prefix Cisco-IOS-XR-show-fpd-loc-ng-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR show-fpd-loc-ng package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping FPD-LOCATION-NAME { + description + "card location name string"; + leaf location-name { + type string; + description + "card location"; + } + } + + grouping FPD-SHOW-LOCATION-NAME-LIST { + description + "card location name string list"; + list location-name { + description + "card location list"; + uses FPD-LOCATION-NAME; + } + } + + grouping FPD-PKG-INFO { + description + "fpd pkg info"; + leaf card-type { + type string; + description + "card type"; + } + leaf fpd-desc { + type string; + description + "fpd desc"; + } + leaf upgrade-method { + type string; + description + "reload or not"; + } + leaf fpd-ver { + type string; + description + "fpd version"; + } + leaf min-sw-ver { + type string; + description + "minimum sw version"; + } + leaf min-hw-ver { + type string; + description + "minimum hw version"; + } + } + + grouping FPD-PKG-INFO-LIST { + description + "fpd pkg info list "; + list fpd-pkg-data { + description + " fpd pkg list "; + uses FPD-PKG-INFO; + } + } + + grouping FPD-LOC-INFO { + description + "fpd loc info"; + leaf location { + type string; + description + "fpd location"; + } + leaf fpd-name { + type string; + description + "fpd name"; + } + } + + grouping FPD-LOC-INFO-LIST { + description + "card location name string list"; + list fpd-name { + description + "Fpd name list"; + uses FPD-LOC-INFO; + } + } + + grouping FPD-INFO { + description + "fpd info"; + leaf location { + type string; + description + "fpd location"; + } + leaf card-name { + type string; + description + "Name of card on which fpd is located"; + } + leaf fpd-name { + type string; + description + "fpd name"; + } + leaf hw-version { + type string; + description + "hadware version"; + } + leaf secure-boot-attr { + type string; + description + "secure boot attribur"; + } + leaf status { + type string; + description + "status of the fpd"; + } + leaf running-version { + type string; + description + "image running version "; + } + leaf programd-version { + type string; + description + "image programd version"; + } + } + + grouping FPD-INFO-LIST { + description + "fpd info list"; + list fpd-info-detaile { + description + " fpd list with all detailes"; + uses FPD-INFO; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang new file mode 100644 index 0000000..4008a53 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-show-fpd-loc-ng-oper.yang @@ -0,0 +1,120 @@ +module Cisco-IOS-XR-show-fpd-loc-ng-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-show-fpd-loc-ng-oper"; + prefix show-fpd-loc-ng-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-show-fpd-loc-ng-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR show-fpd-loc-ng package operational data. + + This module contains definitions + for the following management objects: + show-fpd: Show hw-module fpd + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container show-fpd { + config false; + description + "Show hw-module fpd"; + container locations { + description + "location table"; + list location { + key "location-name"; + description + "location"; + leaf location-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Fpd location"; + } + list fpd { + key "fpd-name"; + description + "Display fpds on given locations"; + leaf fpd-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Fpd Name"; + } + uses FPD-INFO-LIST; + } + } + } + container hw-module-fpd { + description + "Display fpds on all locations -show hw-module + fpd"; + uses FPD-INFO-LIST; + } + container help-locations { + description + "help location table"; + list help-location { + key "location-name"; + description + "location"; + container help-fpd { + description + "Display fpds on given locations"; + uses FPD-LOC-INFO-LIST; + } + leaf location-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Fpd location"; + } + } + } + container hw-module-fpd-help-fpd { + description + "Display help-fpd -show hw-module fpd help-fpd"; + uses FPD-LOC-INFO-LIST; + } + container package { + description + "gets fpd package info"; + uses FPD-PKG-INFO-LIST; + } + container location-help { + description + "fpd upgradable locations"; + uses FPD-SHOW-LOCATION-NAME-LIST; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub1.yang new file mode 100644 index 0000000..8c1cca6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub1.yang @@ -0,0 +1,875 @@ +submodule Cisco-IOS-XR-skp-qos-oper-sub1 { + belongs-to Cisco-IOS-XR-skp-qos-oper { + prefix Cisco-IOS-XR-skp-qos-oper; + } + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR skp-qos package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-18 { + description + "Implementing Oper Yang Model"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Action { + type enumeration { + enum "police-transmit" { + description + "Police action transmit"; + } + enum "police-set-transmit" { + description + "Police action set transmit"; + } + enum "police-drop" { + description + "Police action drop"; + } + enum "police-unknown" { + description + "Police action unknown"; + } + } + description + "Action type"; + } + + typedef Action-opcode { + type enumeration { + enum "precedence" { + value 0; + description + "Precedence"; + } + enum "dscp" { + value 1; + description + "DSCP"; + } + enum "discard-class" { + value 2; + description + "Discard class"; + } + enum "qos-group" { + value 3; + description + "QoS group"; + } + enum "cos-inner" { + value 4; + description + "COS inner"; + } + enum "cos" { + value 5; + description + "COS"; + } + enum "exp-top" { + value 6; + description + "EXP top"; + } + enum "exp-imp" { + value 7; + description + "EXP IMP"; + } + enum "tunnel-precedence" { + value 8; + description + "Tunnel precedence"; + } + enum "tunnel-dscp" { + value 9; + description + "Tunnel DSCP"; + } + enum "itag-dei" { + value 10; + description + "ITAG DEI"; + } + enum "itag-cos" { + value 11; + description + "ITAG COS"; + } + enum "cos-imposition" { + value 12; + description + "COS imposition"; + } + enum "dei-imposition" { + value 13; + description + "DEI imposition"; + } + enum "dei" { + value 14; + description + "DEI"; + } + enum "no-marking" { + value 15; + description + "No marking"; + } + } + description + "Action opcode"; + } + + typedef Tb-algorithm { + type enumeration { + enum "inactive" { + value 0; + description + "Inactive, configured but disabled"; + } + enum "single" { + value 1; + description + "Single token bucket"; + } + enum "single-rate-tcm" { + value 2; + description + "Single rate three color marker"; + } + enum "two-rate-tcm" { + value 3; + description + "Two rate three color marker"; + } + enum "mef-tcm" { + value 4; + description + "Allows coupling between CIR and PIR tb's"; + } + enum "dummy" { + value 5; + description + "Internal dummy token bucket for coupled-policer + child"; + } + } + description + "Tokenbucket type"; + } + + typedef Qos-unit { + type enumeration { + enum "invalid" { + value 0; + description + "Invalid type"; + } + enum "bytes" { + value 1; + description + "Bytes"; + } + enum "kilobytes" { + value 2; + description + "Kilobytes"; + } + enum "megabytes" { + value 3; + description + "Megabytes"; + } + enum "gigabytes" { + value 4; + description + "Gigabytes"; + } + enum "bps" { + value 5; + description + "Bits per second"; + } + enum "kbps" { + value 6; + description + "Kilo bits per second"; + } + enum "mbps" { + value 7; + description + "Mega bits per second"; + } + enum "gbps" { + value 8; + description + "Giga bits per second"; + } + enum "cells-per-second" { + value 9; + description + "Cells per second"; + } + enum "packets-per-second" { + value 10; + description + "Packets per second"; + } + enum "microsecond" { + value 11; + description + "Microsecond"; + } + enum "millisecond" { + value 12; + description + "Millisecond"; + } + enum "packets" { + value 13; + description + "Number of packets"; + } + enum "cells" { + value 14; + description + "Number of cells"; + } + enum "percentage" { + value 15; + description + "Percentage"; + } + enum "ratio" { + value 16; + description + "Ratio"; + } + } + description + "QoS parameter unit"; + } + + grouping QOS-SHOW-EA-POLICE-RESULT-ST { + description + "QoS EA Policer Result"; + leaf token-bucket-id { + type uint32; + description + "Token Bucket ID"; + } + leaf conform { + type uint32; + description + "Conform Rate"; + } + leaf exceed { + type uint32; + description + "Exceed Rate"; + } + leaf violate { + type uint32; + description + "Violate Rate"; + } + } + + grouping QOS-SHOW-EA-QUEUE-RESULT-ST { + description + "QoS EA Queue Result"; + leaf queue-id { + type uint32; + description + "Queue ID"; + } + leaf commit-tx { + type uint32; + description + "Commit Tx"; + } + leaf excess-tx { + type uint32; + description + "Excess Tx"; + } + leaf drop { + type uint32; + description + "Drop"; + } + } + + grouping QOS-SHOW-EA-RESULT-ST { + description + "QoS EA Class Result"; + container queue { + description + "QoS EA Queue Result"; + uses QOS-SHOW-EA-QUEUE-RESULT-ST; + } + container police { + description + "QoS EA Policer Result"; + uses QOS-SHOW-EA-POLICE-RESULT-ST; + } + leaf stats-id { + type uint32; + description + "Stats ID"; + } + } + + grouping QOS-SHOW-EA-POLICE-PARAMS-ST { + description + "QoS EA Policer parameters"; + container cir { + description + "CIR"; + uses QOS-PARAM; + } + container cbs { + description + "CBS"; + uses QOS-PARAM; + } + leaf color-aware { + type boolean; + description + "Color Aware"; + } + leaf policer-type { + type Tb-algorithm; + description + "Policer type"; + } + } + + grouping QOS-SHOW-EA-CONFIG-ST { + description + "QoS EA Class Configuration"; + container police { + description + "QoS EA Policer parameters"; + uses QOS-SHOW-EA-POLICE-PARAMS-ST; + } + container shape { + description + "QoS EA Shaper parameters"; + uses QOS-SHOW-EA-SHAPER-PARAMS-ST; + } + container wfq { + description + "QoS EA WFQ parameters"; + uses QOS-SHOW-EA-WFQ-PARAMS-ST; + } + leaf node-config { + type string { + length "0..101"; + } + description + "Node Config"; + } + } + + grouping QOS-SHOW-EA-PCLASS-ST { + description + "Skywarp QoS EA policy class details"; + list qos-show-ea-pclass-st { + description + "qos show ea pclass st"; + container config { + description + "QoS EA Class Configuration"; + uses QOS-SHOW-EA-CONFIG-ST; + } + container result { + description + "QoS EA Class Result"; + uses QOS-SHOW-EA-RESULT-ST; + } + leaf index { + type uint16; + description + "Class Index"; + } + leaf class-level { + type uint8; + description + "Class level"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "Class name"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + leaf node-flags { + type string { + length "0..101"; + } + description + "Node Flags"; + } + leaf stats-flags { + type string { + length "0..101"; + } + description + "Statistical Flags"; + } + } + } + + grouping QOS-SHOW-EA-IF-QOS-PARAM-ST { + description + "QoS EA Interface Parameters"; + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + leaf hierarchical-depth { + type uint8; + description + "Max Hierarchial Depth"; + } + leaf interface-type { + type string { + length "0..101"; + } + description + "Interface Type"; + } + leaf interface-rate { + type uint32; + description + "Interface Programmed Rate"; + } + leaf port-shaper-rate { + type uint32; + description + "Port Shaper Rate"; + } + leaf interface-handle { + type xr:Interface-name; + description + "Interface Handle"; + } + leaf under-line-interface-handle { + type xr:Interface-name; + description + "UnderLineInterface Handle"; + } + leaf bundle-id { + type uint16; + description + "Bundle Interface ID"; + } + leaf uidb-index { + type uint16; + description + "UIDB Index"; + } + leaf qos-interface-handle { + type uint64; + description + "QoS Interface handle"; + } + leaf port { + type uint32; + description + "Local Port"; + } + leaf policy-map-id { + type uint16; + description + "Policy Map ID"; + } + } + + grouping QOS-SHOW-EA-POLICY-ST { + description + "QoS EA policy"; + container header { + description + "QoS EA policy header"; + uses QOS-SHOW-EA-HEADER-ST; + } + container interface-parameters { + description + "QoS EA Interface Parameters"; + uses QOS-SHOW-EA-IF-QOS-PARAM-ST; + } + container skywarp-qos-policy-class { + description + "Skywarp QoS EA policy class details"; + uses QOS-SHOW-EA-PCLASS-ST; + } + } + + grouping QOS-EA-CAPABILITY { + description + "QoS capability"; + leaf max-policy-maps { + type uint32; + description + "Maximum policy maps per system"; + } + leaf max-policy-hierarchy { + type uint32; + description + "Maximum policy hierarchy"; + } + leaf max-policy-name-length { + type uint32; + description + "Maximum policy name length"; + } + leaf max-classes-per-policy { + type uint32; + description + "Maximum classes per policy"; + } + leaf max-police-actions-per-class { + type uint32; + description + "Maximum police actions per class"; + } + leaf max-marking-actions-per-class { + type uint32; + description + "Maximum marking action per class"; + } + leaf max-matches-per-class { + type uint32; + description + "Maximum matches per class"; + } + leaf max-classmap-name-length { + type uint32; + description + "Maximum classmap name length"; + } + leaf max-bundle-members { + type uint32; + description + "Maximum bundle members"; + } + } + + grouping MARK-ACTION { + description + "Marking parameters"; + leaf mark-value { + type uint8; + description + "Mark value"; + } + leaf action-opcode { + type Action-opcode; + description + "Action opcode"; + } + } + + grouping MARK-ACTION-PER-CATEGORY { + description + "Marking action"; + leaf action-type { + type Action; + description + "Action type"; + } + list mark-detail { + max-elements "2"; + description + "Mark value"; + uses MARK-ACTION; + } + } + + grouping QOS-CLASS-MARK-ACTIONS { + description + "QoS Mark parameters"; + container mark-only { + description + "Mark Only"; + uses MARK-ACTION-PER-CATEGORY; + } + container police-conform { + description + "Police conform mark"; + uses MARK-ACTION-PER-CATEGORY; + } + container police-exceed { + description + "Police exceed mark"; + uses MARK-ACTION-PER-CATEGORY; + } + } + + grouping QOS-SHOW-POLICE-PARAMS-ST { + description + "QoS Policer parameters"; + container cir { + description + "CIR"; + uses QOS-PARAM; + } + container cbs { + description + "CBS"; + uses QOS-PARAM; + } + leaf policer-id { + type uint32; + description + "policer ID"; + } + leaf policer-type { + type Tb-algorithm; + description + "Policer type"; + } + } + + grouping QOS-SHOW-EA-WFQ-PARAMS-ST { + description + "QoS EA WFQ parameters"; + container bandwidth { + description + "Bandwidth"; + uses QOS-PARAM; + } + container sum-of-bandwidth { + description + "Sum of Bandwidth"; + uses QOS-PARAM; + } + leaf excess-ratio { + type uint16; + description + "Excess Ratio"; + } + } + + grouping QOS-SHOW-WFQ-PARAMS-ST { + description + "QoS WFQ parameters"; + container committed-weight { + description + "Committed Weight"; + uses QOS-PARAM; + } + container programmed-wfq { + description + "QoS Programmed WFQ parameters"; + uses QOS-SHOW-EA-WFQ-PARAMS-ST; + } + leaf excess-weight { + type uint16; + description + "Excess Weight"; + } + } + + grouping QOS-SHOW-EA-SHAPER-PARAMS-ST { + description + "QoS EA Shaper parameters"; + container pir { + description + "PIR in kbps"; + uses QOS-PARAM; + } + container pbs { + description + "PBS in bytes"; + uses QOS-PARAM; + } + } + + grouping QOS-SHOW-QUEUE-PARAMS-ST { + description + "QoS Queue parameters"; + leaf queue-id { + type uint32; + description + "Queue ID"; + } + leaf queue-type { + type string { + length "0..101"; + } + description + "Queue Type"; + } + } + + grouping QOS-SHOW-PCLASS-ST { + description + "Skywarp QoS policy class details"; + list qos-show-pclass-st { + description + "qos show pclass st"; + container queue { + description + "QoS Queue parameters"; + uses QOS-SHOW-QUEUE-PARAMS-ST; + } + container shape { + description + "QoS EA Shaper parameters"; + uses QOS-SHOW-EA-SHAPER-PARAMS-ST; + } + container wfq { + description + "QoS WFQ parameters"; + uses QOS-SHOW-WFQ-PARAMS-ST; + } + container police { + description + "QoS Policer parameters"; + uses QOS-SHOW-POLICE-PARAMS-ST; + } + container marking { + description + "QoS Mark parameters"; + uses QOS-CLASS-MARK-ACTIONS; + } + leaf class-level { + type uint8; + description + "Class level"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "Class name"; + } + } + } + + grouping QOS-PARAM { + description + "Config details"; + leaf value { + type uint32; + description + "Config value"; + } + leaf unit { + type Qos-unit; + description + "Config unit"; + } + } + + grouping QOS-SHOW-IF-QOS-PARAM-ST { + description + "QoS Interface Parameters"; + container interface-config-rate { + description + "Interface Configured Rate"; + uses QOS-PARAM; + } + container interface-program-rate { + description + "Interface Programmed Rate"; + uses QOS-PARAM; + } + container port-shaper-rate { + description + "Port Shaper Rate"; + uses QOS-PARAM; + } + } + + grouping QOS-SHOW-EA-HEADER-ST { + description + "QoS EA policy header"; + leaf interface-name { + type string { + length "0..101"; + } + description + "Interface Name"; + } + leaf policy-name { + type string { + length "0..65"; + } + description + "Policy name"; + } + leaf direction { + type string { + length "0..11"; + } + description + "Direction"; + } + leaf classes { + type uint16; + description + "Number of classes"; + } + } + + grouping QOS-SHOW-POLICY-ST { + description + "QoS policy"; + container header { + description + "QoS EA policy header"; + uses QOS-SHOW-EA-HEADER-ST; + } + container interface-parameters { + description + "QoS Interface Parameters"; + uses QOS-SHOW-IF-QOS-PARAM-ST; + } + container skywarp-qos-policy-class { + description + "Skywarp QoS policy class details"; + uses QOS-SHOW-PCLASS-ST; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub2.yang new file mode 100644 index 0000000..f58f805 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper-sub2.yang @@ -0,0 +1,970 @@ +submodule Cisco-IOS-XR-skp-qos-oper-sub2 { + belongs-to Cisco-IOS-XR-skp-qos-oper { + prefix Cisco-IOS-XR-skp-qos-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR skp-qos package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-18 { + description + "Implementing Oper Yang Model"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Wred { + type enumeration { + enum "wred-cos-cmd" { + description + "wred cos cmd"; + } + enum "wred-dscp-cmd" { + description + "wred dscp cmd"; + } + enum "wred-precedence-cmd" { + description + "wred precedence cmd"; + } + enum "wred-discard-class-cmd" { + description + "wred discard class cmd"; + } + enum "wred-mpls-exp-cmd" { + description + "wred mpls exp cmd"; + } + enum "red-with-user-min-max" { + description + "red with user min max"; + } + enum "red-with-default-min-max" { + description + "red with default min max"; + } + enum "wred-dei-cmd" { + description + "wred dei cmd"; + } + enum "wred-ecn-cmd" { + description + "wred ecn cmd"; + } + enum "wred-invalid-cmd" { + description + "wred invalid cmd"; + } + } + description + "Wred"; + } + + typedef Policy-param-unit { + type enumeration { + enum "policy-param-unit-invalid" { + description + "policy param unit invalid"; + } + enum "policy-param-unit-bytes" { + description + "policy param unit bytes"; + } + enum "policy-param-unit-kbytes" { + description + "policy param unit kbytes"; + } + enum "policy-param-unit-mbytes" { + description + "policy param unit mbytes"; + } + enum "policy-param-unit-gbytes" { + description + "policy param unit gbytes"; + } + enum "policy-param-unit-bitsps" { + description + "policy param unit bitsps"; + } + enum "policy-param-unit-kbitsps" { + description + "policy param unit kbitsps"; + } + enum "policy-param-unit-mbitsps" { + description + "policy param unit mbitsps"; + } + enum "policy-param-unit-gbitsps" { + description + "policy param unit gbitsps"; + } + enum "policy-param-unit-cells-ps" { + description + "policy param unit cells ps"; + } + enum "policy-param-unit-packets-ps" { + description + "policy param unit packets ps"; + } + enum "policy-param-unit-us" { + description + "policy param unit us"; + } + enum "policy-param-unit-ms" { + description + "policy param unit ms"; + } + enum "policy-param-unit-seconds" { + description + "policy param unit seconds"; + } + enum "policy-param-unit-packets" { + description + "policy param unit packets"; + } + enum "policy-param-unit-cells" { + description + "policy param unit cells"; + } + enum "policy-param-unit-percent" { + description + "policy param unit percent"; + } + enum "policy-param-unit-per-thousand" { + description + "policy param unit per thousand"; + } + enum "policy-param-unit-per-million" { + description + "policy param unit per million"; + } + enum "policy-param-unit-hz" { + description + "policy param unit hz"; + } + enum "policy-param-unit-khz" { + description + "policy param unit khz"; + } + enum "policy-param-unit-mhz" { + description + "policy param unit mhz"; + } + enum "policy-param-unit-ratio" { + description + "policy param unit ratio"; + } + enum "policy-param-unit-max" { + description + "policy param unit max"; + } + } + description + "Policy param unit"; + } + + typedef Cac-state { + type enumeration { + enum "unknown" { + value 0; + description + "unknown"; + } + enum "admit" { + value 1; + description + "admit"; + } + enum "redirect" { + value 2; + description + "redirect"; + } + enum "ubrl" { + value 3; + description + "ubrl"; + } + } + description + "CAC/UBRL class states"; + } + + typedef Policy-state { + type enumeration { + enum "active" { + value 0; + description + "active"; + } + enum "suspended" { + value 1; + description + "suspended"; + } + } + description + "Different Interface states"; + } + + grouping CAC-STATS-ST { + description + "CAC statistics"; + leaf drop-packets { + type uint64; + description + "CAC dropped packets"; + } + leaf drop-bytes { + type uint64; + units "byte"; + description + "CAC dropped bytes"; + } + leaf drop-rates { + type uint32; + description + "CAC dropped rate"; + } + leaf admitpackets { + type uint64; + units "byte"; + description + "Admitted packets (pkts/bytes)"; + } + leaf admit-bytes { + type uint64; + units "byte"; + description + "Admitted bytes (pkts/bytes)"; + } + leaf admit-rates { + type uint32; + description + "CAC admit rate"; + } + } + + grouping IPHC-STATS-ST { + description + "IPHC Stats"; + leaf non-tcp-total-out-packets { + type uint64; + description + "TotalNum of Non tcp pkts sent"; + } + leaf non-tcp-total-out-bytes { + type uint64; + units "byte"; + description + "TotalNum of Non Tcp Bytes sent"; + } + leaf non-tcp-bytes-saved { + type uint64; + units "byte"; + description + "Non Tcp Bytes saved due to compression"; + } + leaf non-tcp-compressed-packets-out { + type uint64; + description + "Num of non tcp compressed pkts sent"; + } + leaf non-tcp-bytes-sent-rate { + type uint32; + units "byte"; + description + "Compressed Non Tcp Bytes sent rate"; + } + leaf non-tcp-full-header-packets-out { + type uint64; + description + "Num of non tcp fullheader pkts sent"; + } + leaf tcp-total-out-packets { + type uint64; + description + "Total Num of tcp pkts sent"; + } + leaf tcp-total-out-bytes { + type uint64; + units "byte"; + description + "TotalNum of Tcp Bytes sent"; + } + leaf tcp-bytes-saved { + type uint64; + units "byte"; + description + "Tcp Bytes saved due to compression"; + } + leaf tcp-compressed-packets-out { + type uint64; + description + "Num of tcp compressed pkts sent"; + } + leaf tcp-bytes-sent-rate { + type uint32; + units "byte"; + description + "Compressed Tcp Bytes sent rate"; + } + leaf tcp-full-header-packets-out { + type uint64; + description + "Num of tcp fullheader pkts sent"; + } + } + + grouping WRED-TYPE-VALUE { + description + "WRED Type Value pairs"; + leaf wred-type { + type Wred; + description + "WRED type DSCP, EXP, PREC etc."; + } + leaf value { + type uint8; + description + "WRED value for this type."; + } + } + + grouping RED-PROFILE-STATS { + description + "Per RED profile stats"; + leaf profile-title { + type string { + length "0..300"; + } + description + "ProfileTitle"; + } + leaf red-transmit-packets { + type uint64; + description + "Transmitted packets"; + } + leaf red-transmit-bytes { + type uint64; + units "byte"; + description + "Transmitted bytes"; + } + leaf random-drop-packets { + type uint64; + description + "Probabilistically dropped packets"; + } + leaf random-drop-bytes { + type uint64; + units "byte"; + description + "Probabilisticallydropped bytes"; + } + leaf max-threshold-packets { + type uint64; + description + "Dropped packets with the average queue size at + the max-threshold"; + } + leaf max-threshold-bytes { + type uint64; + units "byte"; + description + "Dropped bytes with the average queue size at + the max-threshold"; + } + leaf red-ecn-marked-packets { + type uint64; + description + "ECN marked packets "; + } + leaf red-ecn-marked-bytes { + type uint64; + units "byte"; + description + "ECN marked bytes"; + } + list red-label { + description + "Array of WRED Typevalues as in PRP stats is + available per threshold "; + uses WRED-TYPE-VALUE; + } + } + + grouping PLC-COLOR-CLASS-STATS-ST { + description + "Color Aware Policer statistics"; + leaf conform-class-conform-packets { + type uint64; + description + "Packets with classification result conform and + policer result conform"; + } + leaf conform-class-conform-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result conform"; + } + leaf conform-class-conform-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Conform rate in kbps"; + } + leaf conform-class-exceed-packets { + type uint64; + description + "Packets with classification result conform and + policer result exceed"; + } + leaf conform-class-exceed-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result exceed"; + } + leaf conform-class-exceed-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Exceed rate in kbps"; + } + leaf conform-class-violate-packets { + type uint64; + description + "Packets with classification result conform and + policer result violate"; + } + leaf conform-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result conform and + policer result violate"; + } + leaf conform-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Conform Class Violate rate in kbps"; + } + leaf exceed-class-exceed-packets { + type uint64; + description + "Packets with classification result exceed and + policer result exceed"; + } + leaf exceed-class-exceed-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result exceed and + policer result exceed"; + } + leaf exceed-class-exceed-rate { + type uint32; + units "kbit/s"; + description + "Exceed Class Exceed rate in kbps"; + } + leaf exceed-class-violate-packets { + type uint64; + description + "Packets with classification result exceed and + policer result violate"; + } + leaf exceed-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result exceed and + policer result violate"; + } + leaf exceed-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Exceed Class Violate rate in kbps"; + } + leaf violate-class-violate-packets { + type uint64; + description + "Packets with classification result violate and + policer result violate"; + } + leaf violate-class-violate-bytes { + type uint64; + units "byte"; + description + "Bytes with classification result violate and + policer result violate"; + } + leaf violate-class-violate-rate { + type uint32; + units "kbit/s"; + description + "Violate Class Violate rate in kbps"; + } + } + + grouping PLC-STATS-ST { + description + "Policer statistics"; + container color-class-stats { + description + "color class stats"; + uses PLC-COLOR-CLASS-STATS-ST; + } + leaf drop-packets { + type uint64; + description + "Police dropped packets"; + } + leaf drop-bytes { + type uint64; + units "byte"; + description + "Police dropped bytes"; + } + leaf conform-packets { + type uint64; + description + "Packets that conform to the policed rate"; + } + leaf conform-bytes { + type uint64; + units "byte"; + description + "Bytes that conform to the policed rate"; + } + leaf exceed-packets { + type uint64; + description + "Packets that exceed the policed rate"; + } + leaf exceed-bytes { + type uint64; + units "byte"; + description + "Bytes that exceed the policed rate"; + } + leaf violate-packets { + type uint64; + description + "Packets violating the policed rate"; + } + leaf violate-bytes { + type uint64; + units "byte"; + description + "Bytes that violate the policed rate"; + } + leaf parent-drop-packets { + type uint64; + description + "Dropped pkts by the parent policer"; + } + leaf parent-drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes by the parent policer"; + } + leaf conform-rate { + type uint32; + units "kbit/s"; + description + "Conform rate in kbps"; + } + leaf exceed-rate { + type uint32; + units "kbit/s"; + description + "Exceed rate in kbps"; + } + leaf violate-rate { + type uint32; + units "kbit/s"; + description + "Violate rate in kbps"; + } + } + + grouping POLICY-PARAM-UINT32-ST { + description + "POLICY PARAM UINT32 ST"; + leaf value { + type uint32; + description + "value"; + } + leaf unit { + type Policy-param-unit; + description + "unit"; + } + } + + grouping Q-STATS-ST { + description + "Queue limit statistics"; + leaf queue-id { + type uint32; + description + "Queue Id used for Fabric Stats"; + } + leaf tail-drop-packets { + type uint64; + description + "Packets tail dropped"; + } + leaf tail-drop-bytes { + type uint64; + units "byte"; + description + "Bytes tail dropped"; + } + leaf atm-clp0-drop-packets { + type uint64; + description + "ATP CLP 0 matched packets dropped"; + } + leaf atm-clp0-drop-bytes { + type uint64; + units "byte"; + description + "ATP CLP 0 matched bytes dropped"; + } + leaf atm-clp1-drop-packets { + type uint64; + description + "ATP CLP 0 matched packets dropped"; + } + leaf atm-clp1-drop-bytes { + type uint64; + units "byte"; + description + "ATP CLP 0 matched bytes dropped"; + } + leaf queue-drop-threshold { + type uint32; + units "byte"; + description + "tail drop threshold of the queue in bytes"; + } + leaf forced-wred-stats-display { + type boolean; + description + "flag to forcedisplay of WRED even when per + WredWRED profile stats is not available"; + } + leaf random-drop-packets { + type uint64; + description + "Packets probabilistically dropped"; + } + leaf random-drop-bytes { + type uint64; + units "byte"; + description + "Bytes probabilistically dropped"; + } + leaf max-threshold-packets { + type uint64; + description + "Dropped packets with the average queue size at + the max-threshold"; + } + leaf max-threshold-bytes { + type uint64; + units "byte"; + description + "Dropped bytes with the average queue size at the + max-threshold"; + } + leaf conform-packets { + type uint64; + description + "Packets that conform to the queue rate"; + } + leaf conform-bytes { + type uint64; + units "byte"; + description + "Bytes that conform to the queue rate"; + } + leaf exceed-packets { + type uint64; + description + "Packets that exceed the queue rate"; + } + leaf exceed-bytes { + type uint64; + units "byte"; + description + "Bytes that exceed the queue rate"; + } + leaf conform-rate { + type uint32; + description + "Conform rate"; + } + leaf exceed-rate { + type uint32; + description + "Exceed rate"; + } + list queue-instance-length { + description + "Queue instance length"; + uses POLICY-PARAM-UINT32-ST; + } + list queue-average-length { + description + "Queue average length"; + uses POLICY-PARAM-UINT32-ST; + } + list queue-max-length { + description + "Queue maximum length"; + uses POLICY-PARAM-UINT32-ST; + } + } + + grouping GEN-STATS-ST { + description + "Counters common to all features"; + leaf transmit-packets { + type uint64; + units "byte"; + description + "Transmitted packets (packets/bytes)"; + } + leaf transmit-bytes { + type uint64; + units "byte"; + description + "Transmitted bytes (packets/bytes)"; + } + leaf total-drop-packets { + type uint64; + units "byte"; + description + "Dropped packets (packets/bytes)"; + } + leaf total-drop-bytes { + type uint64; + units "byte"; + description + "Dropped bytes (packets/bytes)"; + } + leaf total-drop-rate { + type uint32; + units "byte"; + description + "Total drop rate (packets/bytes)"; + } + leaf match-data-rate { + type uint32; + units "kbit/s"; + description + "Incoming matched data rate in kbps"; + } + leaf total-transmit-rate { + type uint32; + units "kbit/s"; + description + "Total transmit rate in kbps"; + } + leaf pre-policy-matched-packets { + type uint64; + description + "Matched pkts before applying policy"; + } + leaf pre-policy-matched-bytes { + type uint64; + units "byte"; + description + "Matched bytes before applying policy"; + } + } + + grouping CLASS-STATS { + description + "CLASS STATS"; + container general-stats { + description + "general stats"; + uses GEN-STATS-ST; + } + container iphc-stats { + description + "IPHC stats"; + uses IPHC-STATS-ST; + } + container child-policy { + description + "child policy"; + } + container cac-stats { + description + "bag for cac stats"; + uses CAC-STATS-ST; + } + leaf counter-validity-bitmask { + type uint64; + units "megabyte"; + description + " Bitmask to indicate which counter or counters + are undetermined. Counters will be marked + undetermined when one or more classes share + queues with class-default because in such cases + the value of counters for each class is invalid. + Based on the flag(s) set, the following counters + will be marked undetermined. For example, if + value of this object returned is 0x00000101, + counters + TransmitPackets/TransmitBytes/TotalTransmitRate + and DropPackets/DropBytes are undetermined + .0x00000001 - Transmit + (TransmitPackets/TransmitBytes/TotalTransmitRate + ), 0x00000002 - Total drop + (TotalDropPackets/TotalDropBytes/TotalDropRate), + 0x00000004 - Match + (MatchDataRate/PrepolicyMatchedPackets + /PrepolicyMatchedBytes), 0x00000100 - Police + drop (DropPackets/DropBytes), 0x00000200 - + Police conform + (ConformPackets/ConformBytes/ConformRate), + 0x00000400 - Police exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00000800 - Police violate + (ViolatePackets/ViolateBytes/ViolateRate), + 0x00001000 - Parent policer drop + (ParentDropPackets/ParentDropBytes), 0x00010000 + - Queueing drop (TailDropPackets/TailDropBytes), + 0x00020000 - Red queue drop + (RandomDropPackets/RandomDropBytes), 0x00040000 + - Queue maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes), + 0x00080000 - Queue conform + (ConformPackets/ConformBytes/ConformRate), + 0x00100000 - Queue exceed + (ExceedPackets/ExceedBytes/ExceedRate), + 0x00200000 - CLP limit drop + (ATM_CLP0DropPackets/ATM_CLP0DropBytes + /ATM_CLP1DropPackets/ATM_CLP1DropBytes), + 0x01000000 - RED transmit + (RedTransmitPackets/RedTransmitBytes), + 0x02000000 - RED drop + (RandomDropPackets/RandomDropBytes), 0x04000000 + - RED maximum threshold drop + (MaxThresholdPackets/MaxThresholdBytes)"; + } + leaf class-name { + type string { + length "0..65"; + } + description + "ClassName"; + } + leaf shared-queue-id { + type uint32; + description + "q-id of the shared queue for this class"; + } + leaf queue-descr { + type string { + length "0..256"; + } + description + "Description of queue for the class"; + } + leaf cac-state { + type Cac-state; + description + "CACState"; + } + list queue-stats-array { + description + "array of queue stats"; + uses Q-STATS-ST; + } + list police-stats-array { + description + "array of police stats"; + uses PLC-STATS-ST; + } + list wred-stats-array { + description + "array of red stats"; + uses RED-PROFILE-STATS; + } + } + + grouping QOS-STATS { + description + "policy map statistics"; + leaf policy-name { + type string { + length "0..65"; + } + description + "PolicyName"; + } + leaf subscriber-group { + type string { + length "0..34"; + } + description + "SubscriberGroup"; + } + leaf state { + type Policy-state; + description + "State"; + } + leaf state-description { + type string { + length "0..128"; + } + description + "StateDescription"; + } + leaf satid { + type uint32; + description + "to maintain satellite id"; + } + list class-stat { + description + "array of classes contained in policy"; + uses CLASS-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper.yang new file mode 100644 index 0000000..a56430c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skp-qos-oper.yang @@ -0,0 +1,391 @@ +module Cisco-IOS-XR-skp-qos-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-skp-qos-oper"; + prefix skp-qos-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-skp-qos-oper-sub2 { + revision-date 2016-02-18; + } + include Cisco-IOS-XR-skp-qos-oper-sub1 { + revision-date 2016-02-18; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR skp-qos package operational data. + + This module contains definitions + for the following management objects: + platform-qos: QoS Skywarp platform operational data + platform-qos-ea: platform qos ea + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-18 { + description + "Implementing Oper Yang Model"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NV-SATELLITE-INPUT { + description + "Common node of nv-satellite-interface, + satellite-id, member-interface"; + container nv-satellite-input { + description + "A piece of Satellite QoS policy-map operational + data for input"; + uses NV-SAT-STATISTICS; + } + } + + grouping DETAILS { + description + "Common node of output, input, bundle-input, + bundle-output"; + container details { + description + "QoS-EA policy details"; + uses QOS-SHOW-EA-POLICY-ST; + } + } + + grouping STATISTICS { + description + "Common node of input, output, policy-name"; + container statistics { + description + "Policy-map statistics operational data for an + interface"; + uses QOS-STATS; + } + } + + grouping INTERFACE { + description + "Common node of interface-table, + nv-interface-table"; + list interface { + key "interface-name"; + description + "QoS policy-map operational data for a particular + interface"; + leaf interface-name { + type xr:Interface-name; + description + "Name of the interface"; + } + uses OUTPUT; + uses INPUT; + uses MEMBER-INTERFACE-TABLE; + uses SATELLITE-ID-TABLE; + } + } + + grouping INPUT { + description + "Common node of shared-policy-instance, + member-interface, interface"; + container input { + description + "A piece of QoS policy-map operational data for + an interface"; + uses POLICY-NAME-TABLE; + uses STATISTICS; + } + } + + grouping MEMBER-INTERFACE-TABLE { + description + "Common node of interface, nv-satellite-interface, + shared-policy-instance"; + container member-interfaces { + description + "QoS policy-map member interface table"; + list member-interface { + key "interface-name"; + description + "QoS policy-map member interface statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Name of member interface"; + } + uses OUTPUT; + uses NV-SATELLITE-OUTPUT; + uses INPUT; + uses NV-SATELLITE-INPUT; + uses SATELLITE-ID-TABLE; + } + } + } + + grouping POLICY-NAME-TABLE { + description + "Common node of input, output"; + container policy-names { + description + "Policy-map statistics operational data for an + interface"; + list policy-name { + key "service-policy-name"; + description + "Policy-map statistics operational data for an + interface"; + leaf service-policy-name { + type xr:Cisco-ios-xr-string; + description + "Name of the policy"; + } + uses STATISTICS; + } + } + } + + grouping NV-SATELLITE-OUTPUT { + description + "Common node of nv-satellite-interface, + satellite-id, member-interface"; + container nv-satellite-output { + description + "A piece of Satellite QoS policy-map operational + data for an interface"; + uses NV-SAT-STATISTICS; + } + } + + grouping OUTPUT { + description + "Common node of shared-policy-instance, + member-interface, interface"; + container output { + description + "A piece of QoS policy-map operational data for + an interface"; + uses POLICY-NAME-TABLE; + uses STATISTICS; + } + } + + grouping NV-SAT-STATISTICS { + description + "Common node of nv-satellite-input, + nv-satellite-output"; + container nv-sat-statistics { + description + "Policy-map statistics operational data for + satellite interface"; + uses QOS-STATS; + } + } + + grouping SATELLITE-ID-TABLE { + description + "Common node of interface, member-interface"; + container satellite-ids { + description + "Satellite ID information"; + list satellite-id { + key "nv-satellite-id"; + description + "Satellite ID information"; + leaf nv-satellite-id { + type int32; + description + "Satellite ID"; + } + uses NV-SATELLITE-OUTPUT; + uses NV-SATELLITE-INPUT; + } + } + } + + container platform-qos { + config false; + description + "QoS Skywarp platform operational data "; + container nodes { + description + "List of nodes with platform specific QoS + configuration"; + list node { + key "node-name"; + description + "Node with platform specific QoS configuration"; + container bundle-interfaces { + description + "QoS list of bundle interfaces"; + list bundle-interface { + key "interface-name"; + description + "QoS interface name"; + container member-interfaces { + description + "QoS list of member interfaces"; + list member-interface { + key "interface-name"; + description + "QoS interface name"; + container bundle-input { + description + "QoS policy direction input"; + uses QOS-SHOW-POLICY-ST; + } + container bundle-output { + description + "QoS policy direction output"; + uses QOS-SHOW-POLICY-ST; + } + leaf interface-name { + type xr:Interface-name; + description + "Memeber interface"; + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + } + } + container capability { + description + "QoS system capability"; + uses QOS-EA-CAPABILITY; + } + container interfaces { + description + "QoS list of interfaces"; + list interface { + key "interface-name"; + description + "QoS interface name"; + container output { + description + "QoS policy direction egress"; + uses QOS-SHOW-POLICY-ST; + } + container input { + description + "QoS policy direction ingress"; + uses QOS-SHOW-POLICY-ST; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } + container platform-qos-ea { + config false; + description + "platform qos ea"; + container nodes { + description + "List of nodes with platform specific QoS-EA + configuration"; + list node { + key "node-name"; + description + "Node with platform specific QoS-EA + configuration"; + container bundle-interfaces { + description + "QoS-EA list of bundle interfaces"; + list bundle-interface { + key "interface-name"; + description + "QoS-EA interface name"; + container member-interfaces { + description + "QoS-EA list of member interfaces"; + list member-interface { + key "interface-name"; + description + "QoS-EA interface name"; + container bundle-output { + description + "QoS-EA policy direction output"; + uses DETAILS; + } + container bundle-input { + description + "QoS-EA policy direction input"; + uses DETAILS; + } + leaf interface-name { + type xr:Interface-name; + description + "Memeber interface"; + } + } + } + leaf interface-name { + type xr:Interface-name; + description + "Bundle interface name"; + } + } + } + container interfaces { + description + "QoS-EA list of interfaces"; + list interface { + key "interface-name"; + description + "QoS-EA interface name"; + container output { + description + "QoS-EA policy direction egress"; + uses DETAILS; + } + container input { + description + "QoS-EA policy direction ingress"; + uses DETAILS; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang new file mode 100644 index 0000000..c805f35 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub1.yang @@ -0,0 +1,268 @@ +submodule Cisco-IOS-XR-skywarp-netflow-oper-sub1 { + belongs-to Cisco-IOS-XR-skywarp-netflow-oper { + prefix Cisco-IOS-XR-skywarp-netflow-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR skywarp-netflow package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Flow-monitor-name { + type string; + description + "Flow monitor name"; + } + + grouping NFSVR-COLLECTOR-INFO { + description + "Per collector information"; + leaf exporter-state { + type string; + description + "Exporter state"; + } + leaf destination-address { + type string; + description + "Destination IPv4 address in AAA.BBB.CCC.DDD + format"; + } + leaf source-address { + type string; + description + "Source IPv4 address in AAA.BBB.CCC.DDD format"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf destination-port { + type uint16; + description + "Destination port number"; + } + leaf souce-port { + type uint16; + description + "Source port number"; + } + leaf transport-protocol { + type string; + description + "Transport protocol"; + } + leaf packets-sent { + type uint64; + description + "Packets sent"; + } + leaf flows-sent { + type uint64; + description + "Flows sent"; + } + leaf templates-sent { + type uint64; + description + "Templates sent"; + } + leaf option-templates-sent { + type uint64; + description + "Option templates sent"; + } + leaf option-data-sent { + type uint64; + description + "Option data sent"; + } + leaf bytes-sent { + type uint64; + units "byte"; + description + "Bytes sent"; + } + leaf flow-bytes-sent { + type uint64; + units "byte"; + description + "Flow bytes sent"; + } + leaf template-bytes-sent { + type uint64; + units "byte"; + description + "Template bytes sent"; + } + leaf option-template-bytes-sent { + type uint64; + units "byte"; + description + "Option template bytes sent"; + } + leaf option-data-bytes-sent { + type uint64; + units "byte"; + description + "Option data bytes sent"; + } + leaf packets-dropped { + type uint64; + description + "Packets dropped"; + } + leaf flows-dropped { + type uint64; + description + "Flows dropped"; + } + leaf templates-dropped { + type uint64; + description + "Templates dropped"; + } + leaf option-templates-dropped { + type uint64; + description + "Option templates dropped"; + } + leaf option-data-dropped { + type uint64; + description + "Option data dropped"; + } + leaf bytes-dropped { + type uint64; + units "byte"; + description + "Bytes dropped"; + } + leaf flow-bytes-dropped { + type uint64; + units "byte"; + description + "Flow bytes dropped"; + } + leaf template-bytes-dropped { + type uint64; + units "byte"; + description + "Template bytes dropped"; + } + leaf option-template-bytes-dropped { + type uint64; + units "byte"; + description + "Option template bytes dropped"; + } + leaf option-data-bytes-dropped { + type uint64; + description + "Option data dropped"; + } + leaf last-hour-packest-sent { + type uint64; + description + "Total packets exported over the last one hour"; + } + leaf last-hour-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one hour"; + } + leaf last-hour-flows-sent { + type uint64; + description + "Total flows exported over the of last one hour"; + } + leaf last-minute-packets { + type uint64; + description + "Total packets exported over the last one minute"; + } + leaf last-minute-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one minute"; + } + leaf last-minute-flows-sent { + type uint64; + description + "Total flows exported over the last one minute"; + } + leaf last-second-packets-sent { + type uint64; + description + "Total packets exported over the last one second"; + } + leaf last-second-bytes-sent { + type uint64; + units "byte"; + description + "Total bytes exported over the last one second"; + } + leaf last-second-flows-sent { + type uint64; + description + "Total flows exported over the last one second"; + } + } + + grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS { + description + "Flow exporter information"; + leaf name { + type string; + description + "Exporter name"; + } + leaf memory-usage { + type uint32; + description + "Memory usage"; + } + leaf-list used-by-flow-monitor { + type Flow-monitor-name; + description + "List of flow monitors that use the exporter"; + } + list collector { + description + "Statistics of all collectors"; + uses NFSVR-COLLECTOR-INFO; + } + } + + grouping NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY { + description + "Flow exporter information"; + list statistic { + description + "Array of flow exporters"; + uses NFSVR-SHOW-FLOW-EXPORTER-RESP-STATS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang new file mode 100644 index 0000000..b7a3788 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper-sub2.yang @@ -0,0 +1,75 @@ +submodule Cisco-IOS-XR-skywarp-netflow-oper-sub2 { + belongs-to Cisco-IOS-XR-skywarp-netflow-oper { + prefix Cisco-IOS-XR-skywarp-netflow-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR skywarp-netflow package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NF-PRODUCER-STATS { + description + "Netflow Platform Producer Process statistics"; + leaf ethernet-pkts { + type uint64; + description + "Ethernet Packets"; + } + leaf drops-no-space { + type uint64; + description + "Drops (no space)"; + } + leaf drops-others { + type uint64; + description + "Drops (others)"; + } + leaf unknown-ingress-flows { + type uint64; + description + "Unknown ingress flows"; + } + leaf waiting-servers { + type uint64; + description + "Number of waiting servers"; + } + leaf spp-rx-counts { + type uint64; + description + "Number of Rxed SPP Packets"; + } + leaf flow-packet-counts { + type uint64; + description + "Number of Rxed Flow Packets"; + } + leaf last-cleared { + type string; + description + "Last time Statistics cleared in 'Mon Jan 1 12:00 + :00 2xxx' format"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper.yang new file mode 100644 index 0000000..695e5cb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-skywarp-netflow-oper.yang @@ -0,0 +1,95 @@ +module Cisco-IOS-XR-skywarp-netflow-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-skywarp-netflow-oper"; + prefix skywarp-netflow-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-skywarp-netflow-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-skywarp-netflow-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR skywarp-netflow package operational data. + + This module contains definitions + for the following management objects: + net-flow: NetFlow operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container net-flow { + config false; + description + "NetFlow operational data"; + container statistics { + description + "Node-specific NetFlow statistics information"; + list statistic { + key "node"; + description + "NetFlow statistics information for a particular + node"; + container producer { + description + "NetFlow producer statistics"; + container statistics { + description + "Statistics information"; + uses NF-PRODUCER-STATS; + } + } + container server { + description + "NetFlow server statistics"; + container flow-exporters { + description + "Flow exporter information"; + list flow-exporter { + key "exporter-name"; + description + "Exporter information"; + container exporter { + description + "Statistics information for the exporter"; + uses NFSVR-SHOW-FLOW-EXPORTER-RESP-ARRAY; + } + leaf exporter-name { + type xr:Cisco-ios-xr-string; + description + "Exporter name"; + } + } + } + } + leaf node { + type xr:Node-id; + description + "Node location"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang new file mode 100644 index 0000000..23c0288 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-slice-mgr-proxy-cfg.yang @@ -0,0 +1,84 @@ +module Cisco-IOS-XR-slice-mgr-proxy-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-slice-mgr-proxy-cfg"; + prefix slice-mgr-proxy-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR slice-mgr-proxy package configuration. + + This module contains definitions + for the following management objects: + node-path: Node act path + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container node-path { + description + "Node act path"; + list node { + key "node-name"; + description + "Node (Physical location of the node in R_S_I + format)"; + container slice-ids { + description + "Slice"; + list slice-id { + key "slice-id"; + description + "Slice Id on which configuration will be + applied"; + leaf state { + type int32; + description + "set val 0 to shutdown"; + } + leaf breakout { + type int32; + description + "10G Breakout Config"; + } + leaf mode { + type int32; + description + "set val 4 for OTU4 "; + } + leaf slice-id { + type uint32 { + range "0..4"; + } + description + "The identifier for this slice"; + } + } + } + leaf node-name { + type xr:Physical-allowed-node-id-string; + description + "Location in R_S_I format"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-cfg.yang new file mode 100644 index 0000000..a5e1f9f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-cfg.yang @@ -0,0 +1,2033 @@ +module Cisco-IOS-XR-snmp-agent-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-cfg"; + prefix snmp-agent-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package configuration. + + This module contains definitions + for the following management objects: + snmp: The heirarchy point for all the SNMP configurations + mib: mib + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-12-20 { + description + "Removed nonstateful class from correlator config"; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-10-27 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Snmp-tos { + type enumeration { + enum "precedence" { + value 0; + description + "SNMP TOS type Precedence"; + } + enum "dscp" { + value 1; + description + "SNMP TOS type DSCP"; + } + } + description + "Snmp tos"; + } + + typedef Snmp-hash-algorithm { + type enumeration { + enum "none" { + value 0; + description + "No authentication required"; + } + enum "md5" { + value 1; + description + "Standard Message Digest algorithm"; + } + enum "sha" { + value 2; + description + "SHA algorithm"; + } + } + description + "Snmp hash algorithm"; + } + + typedef Snmp-priv-algorithm { + type enumeration { + enum "none" { + value 0; + description + "No Privacy"; + } + enum "des" { + value 1; + description + "Des algorithm"; + } + enum "3des" { + value 2; + description + "3des algorithm"; + } + enum "aes128" { + value 3; + description + "aes128 algorithm"; + } + enum "aes192" { + value 4; + description + "aes192 algorithm"; + } + enum "aes256" { + value 5; + description + "aes256 algorithm"; + } + } + description + "Snmp priv algorithm"; + } + + typedef Snmp-owner-access { + type enumeration { + enum "sdr-owner" { + value 0; + description + "Secure Domain Router Owner permissions"; + } + enum "system-owner" { + value 1; + description + "System owner permissions"; + } + } + description + "Snmp owner access"; + } + + typedef Snmp-bulkstat-schema { + type enumeration { + enum "exact-interface" { + value 1; + description + "Exact Interface"; + } + enum "exact-oid" { + value 2; + description + "Exact OID"; + } + enum "wild-interface" { + value 3; + description + "Wild Interface"; + } + enum "wild-oid" { + value 4; + description + "Wild OID"; + } + enum "range-oid" { + value 5; + description + "Range of OID"; + } + enum "repeat-oid" { + value 6; + description + "Repeated the instance"; + } + } + description + "Snmp bulkstat schema"; + } + + typedef Snmpacl { + type enumeration { + enum "ipv4" { + value 1; + description + "Ipv4 Access-list"; + } + enum "ipv6" { + value 2; + description + "Ipv6 Access-list"; + } + } + description + "Snmpacl"; + } + + typedef Snmp-dscp-value { + type union { + type enumeration { + enum "default" { + value 0; + description + "Applicable to DSCP: bits 000000"; + } + enum "af11" { + value 10; + description + "Applicable to DSCP: bits 001010"; + } + enum "af12" { + value 12; + description + "Applicable to DSCP: bits 001100"; + } + enum "af13" { + value 14; + description + "Applicable to DSCP: bits 001110"; + } + enum "af21" { + value 18; + description + "Applicable to DSCP: bits 010010"; + } + enum "af22" { + value 20; + description + "Applicable to DSCP: bits 010100"; + } + enum "af23" { + value 22; + description + "Applicable to DSCP: bits 010110"; + } + enum "af31" { + value 26; + description + "Applicable to DSCP: bits 011010"; + } + enum "af32" { + value 28; + description + "Applicable to DSCP: bits 011100"; + } + enum "af33" { + value 30; + description + "Applicable to DSCP: bits 011110"; + } + enum "af41" { + value 34; + description + "Applicable to DSCP: bits 100010"; + } + enum "af42" { + value 36; + description + "Applicable to DSCP: bits 100100"; + } + enum "af43" { + value 38; + description + "Applicable to DSCP: bits 100110"; + } + enum "ef" { + value 46; + description + "Applicable to DSCP: bits 101110"; + } + enum "cs1" { + value 8; + description + "Applicable to DSCP: bits 001000"; + } + enum "cs2" { + value 16; + description + "Applicable to DSCP: bits 010000"; + } + enum "cs3" { + value 24; + description + "Applicable to DSCP: bits 011000"; + } + enum "cs4" { + value 32; + description + "Applicable to DSCP: bits 100000"; + } + enum "cs5" { + value 40; + description + "Applicable to DSCP: bits 101000"; + } + enum "cs6" { + value 48; + description + "Applicable to DSCP: bits 110000"; + } + enum "cs7" { + value 56; + description + "Applicable to DSCP: bits 111000"; + } + } + type uint32 { + range "0..63"; + } + } + description + "Snmp dscp value"; + } + + typedef Snmp-precedence-value1 { + type union { + type enumeration { + enum "routine" { + value 0; + description + "Applicable to Precedence: value 0"; + } + enum "priority" { + value 1; + description + "Applicable to Precedence: value 1"; + } + enum "immediate" { + value 2; + description + "Applicable to Precedence: value 2"; + } + enum "flash" { + value 3; + description + "Applicable to Precedence: value 3"; + } + enum "flash-override" { + value 4; + description + "Applicable to Precedence: value 4"; + } + enum "critical" { + value 5; + description + "Applicable to Precedence: value 5"; + } + enum "internet" { + value 6; + description + "Applicable to Precedence: value 6"; + } + enum "network" { + value 7; + description + "Applicable to Precedence: value 7"; + } + } + type uint32 { + range "0..7"; + } + } + description + "Snmp precedence value1"; + } + + typedef Snmp-security-model { + type enumeration { + enum "no-authentication" { + value 0; + description + "No Authentication required"; + } + enum "authentication" { + value 1; + description + "Authentication password alone required for + access"; + } + enum "privacy" { + value 2; + description + "Authentication and privacy password required + for access"; + } + } + description + "Snmp security model"; + } + + typedef Snmp-mib-view-inclusion { + type enumeration { + enum "included" { + value 1; + description + "MIB View to be included"; + } + enum "excluded" { + value 2; + description + "MIB View to be excluded"; + } + } + description + "Snmp mib view inclusion"; + } + + typedef Snmp-bulkstat-file-format { + type enumeration { + enum "schema-ascii" { + value 1; + description + "Tranfer file in schema Ascii format"; + } + enum "bulk-ascii" { + value 2; + description + "Tranfer file in Bulk Ascii format"; + } + enum "bulk-binary" { + value 3; + description + "Tranfer file in Bulk binary format"; + } + } + description + "Snmp bulkstat file format"; + } + + typedef Snmp-access-level { + type enumeration { + enum "read-only" { + value 0; + description + "Read Only Access for a community string"; + } + enum "read-write" { + value 1; + description + "Read Write Access for a community string"; + } + } + description + "Snmp access level"; + } + + typedef Snmp-context { + type enumeration { + enum "vrf" { + value 1; + description + "VRF feature"; + } + enum "bridge" { + value 4; + description + "BRIDGE feature"; + } + enum "ospf" { + value 5; + description + "OSPF feature"; + } + enum "ospfv3" { + value 6; + description + "OSPFv3 feature"; + } + } + description + "Snmp context"; + } + + typedef Group-snmp-version { + type enumeration { + enum "v1" { + value 0; + description + "SNMP version 1"; + } + enum "v2c" { + value 1; + description + "SNMP version 2"; + } + enum "v3" { + value 2; + description + "SNMP version 3"; + } + } + description + "Group snmp version"; + } + + typedef User-snmp-version { + type enumeration { + enum "v1" { + value 1; + description + "SNMP version 1"; + } + enum "v2c" { + value 2; + description + "SNMP version 2"; + } + enum "v3" { + value 3; + description + "SNMP version 3"; + } + } + description + "User snmp version"; + } + + grouping APPLIED-TO { + description + "Common node of rule, rule-set"; + container applied-to { + description + "Applied to the Rule or Ruleset"; + container hosts { + description + "Table of configured hosts to apply rules to"; + list host { + key "ip-address port"; + description + "A destination host"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP address"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "Port (specify 162 for default)"; + } + } + } + leaf all { + type empty; + description + "Apply to all of the device"; + } + } + } + + grouping CONTEXT-TABLE { + description + "Common node of snmp, vrf"; + container contexts { + description + "List of Context Names"; + list context { + key "context-name"; + description + "Context Name"; + leaf context-name { + type xr:Cisco-ios-xr-string; + description + "Context Name"; + } + } + } + } + + grouping VAR-BIND-TABLE { + description + "Common node of root-cause, non-root-cause"; + container var-binds { + description + "Varbinds to match"; + list var-bind { + key "oid"; + description + "Varbind match conditions"; + container match { + description + "VarBind match conditions"; + leaf value { + type string; + description + "Regular Expression to match value"; + } + leaf index { + type string; + description + "Regular Expression to match index"; + } + } + leaf oid { + type string; + description + "OID of varbind (dotted decimal)"; + } + } + } + } + + grouping TRAP-HOST-TABLE { + description + "Common node of snmp, vrf"; + container trap-hosts { + description + "Specify hosts to receive SNMP notifications"; + list trap-host { + key "ip-address"; + description + "Specify hosts to receive SNMP notifications"; + container encrypted-user-communities { + description + "Container class for defining Clear/encrypt + communities for a trap host"; + list encrypted-user-community { + key "community-name"; + description + "Clear/Encrypt Community name associated with + a trap host"; + leaf community-name { + type xr:Cisco-ios-xr-string; + description + "SNMPv1/v2c community string or SNMPv3 user"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + leaf version { + type string; + mandatory true; + description + "SNMP Version to be used v1/v2c/v3"; + } + leaf security-level { + type Snmp-security-model; + description + "Security level to be used noauth/auth/priv"; + } + leaf basic-trap-types { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setBasicTrapTypes is used for + all traps except copy-completeSet this value + to an integer corresponding to the trapBGP + 8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP + 1COPY_COMPLETE_TRAP 64To provide a + combination of trap Add the respective + numbersValue must be set to 0 for all traps"; + } + leaf advanced-trap-types1 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setUse this for providing + copy-complete trapValue must be set to 0 if + not used"; + } + leaf advanced-trap-types2 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setvalue should always to set as + 0"; + } + } + } + container inform-host { + description + "Container class for defining notification type + for a Inform host"; + container inform-user-communities { + description + "Container class for defining communities for + a inform host"; + list inform-user-community { + key "community-name"; + description + "Unencrpted Community name associated with a + inform host"; + leaf community-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "SNMPv2c community string or SNMPv3 user"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + leaf version { + type string; + mandatory true; + description + "SNMP Version to be used v2c/v3"; + } + leaf security-level { + type Snmp-security-model; + description + "Security level to be used noauth/auth/priv"; + } + leaf basic-trap-types { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setBasicTrapTypes is used for + all traps except copy-completeSet this + value to an integer corresponding to the + trapBGP 8192, CONFIG 4096,SYSLOG 131072 + ,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide + a combination of trap Add the respective + numbersValue must be set to 0 for all traps"; + } + leaf advanced-trap-types1 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setUse this for providing + copy-complete trapValue must be set to 0 if + not used"; + } + leaf advanced-trap-types2 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setvalue should always to set + as 0"; + } + } + } + container inform-encrypted-user-communities { + description + "Container class for defining Clear/encrypt + communities for a inform host"; + list inform-encrypted-user-community { + key "community-name"; + description + "Clear/Encrypt Community name associated with + a inform host"; + leaf community-name { + type xr:Cisco-ios-xr-string; + description + "SNMPv2c community string or SNMPv3 user"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + leaf version { + type string; + mandatory true; + description + "SNMP Version to be used v2c/v3"; + } + leaf security-level { + type Snmp-security-model; + description + "Security level to be used noauth/auth/priv"; + } + leaf basic-trap-types { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setBasicTrapTypes is used for + all traps except copy-completeSet this + value to an integer corresponding to the + trapBGP 8192, CONFIG 4096,SYSLOG 131072 + ,SNMP_TRAP 1COPY_COMPLETE_TRAP 64To provide + a combination of trap Add the respective + numbersValue must be set to 0 for all traps"; + } + leaf advanced-trap-types1 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setUse this for providing + copy-complete trapValue must be set to 0 if + not used"; + } + leaf advanced-trap-types2 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setvalue should always to set + as 0"; + } + } + } + } + container default-user-communities { + description + "Container class for defining communities for a + trap host"; + list default-user-community { + key "community-name"; + description + "Unencrpted Community name associated with a + trap host"; + leaf community-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "SNMPv1/v2c community string or SNMPv3 user"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + leaf version { + type string; + mandatory true; + description + "SNMP Version to be used v1/v2c/v3"; + } + leaf security-level { + type Snmp-security-model; + description + "Security level to be used noauth/auth/priv"; + } + leaf basic-trap-types { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setBasicTrapTypes is used for + all traps except copy-completeSet this value + to an integer corresponding to the trapBGP + 8192, CONFIG 4096,SYSLOG 131072,SNMP_TRAP + 1COPY_COMPLETE_TRAP 64To provide a + combination of trap Add the respective + numbersValue must be set to 0 for all traps"; + } + leaf advanced-trap-types1 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setUse this for providing + copy-complete trapValue must be set to 0 if + not used"; + } + leaf advanced-trap-types2 { + type int32; + mandatory true; + description + "Number to signify the feature traps that + needs to be setvalue should always to set as + 0"; + } + } + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "IP address of SNMP notification host"; + } + } + } + } + + grouping CONTEXT-MAPPING-TABLE { + description + "Common node of snmp, vrf"; + container context-mappings { + description + "List of context names"; + list context-mapping { + key "context-mapping-name"; + description + "Context mapping name"; + leaf context-mapping-name { + type xr:Cisco-ios-xr-string; + description + "Context mapping name"; + } + leaf context { + type Snmp-context; + description + "SNMP context feature type"; + } + leaf instance-name { + type string; + description + "OSPF protocol instance"; + } + leaf vrf-name { + type string; + description + "VRF name associated with the context"; + } + leaf topology-name { + type string; + description + "Topology name associated with the context"; + } + } + } + } + + container snmp { + description + "The heirarchy point for all the SNMP + configurations"; + container encrypted-community-maps { + description + "Container class to hold clear/encrypted + communitie maps"; + list encrypted-community-map { + key "community-name"; + description + "Clear/encrypted SNMP community map"; + leaf community-name { + type xr:Cisco-ios-xr-string; + description + "SNMP community map"; + } + leaf context { + type string; + description + "SNMP Context Name "; + } + leaf security { + type string; + description + "SNMP Security Name "; + } + leaf target-list { + type string; + description + "target list name "; + } + } + } + container views { + description + "Class to configure a SNMPv2 MIB view"; + list view { + key "view-name family"; + description + "Name of the view"; + leaf view-name { + type xr:Cisco-ios-xr-string; + description + "Name of the view"; + } + leaf family { + type string; + description + "MIB view family name"; + } + leaf view-inclusion { + type Snmp-mib-view-inclusion; + mandatory true; + description + "MIB view to be included or excluded"; + } + } + } + container logging { + description + "SNMP logging"; + container threshold { + description + "SNMP logging threshold"; + leaf oid-processing { + type uint32 { + range "0..20000"; + } + default "500"; + description + "SNMP logging threshold for OID processing"; + } + leaf pdu-processing { + type uint32 { + range "0..20000"; + } + default "20000"; + description + "SNMP logging threshold for PDU processing"; + } + } + } + container administration { + description + "Container class for SNMP administration"; + container default-communities { + description + "Container class to hold unencrpted communities"; + list default-community { + key "community-name"; + description + "Unencrpted SNMP community string and access + priviledges"; + leaf community-name { + type string { + length "1..128"; + } + description + "SNMP community string"; + } + leaf priviledge { + type Snmp-access-level; + description + "Read/Write Access"; + } + leaf view-name { + type string; + description + "MIB view to which the community has access"; + } + leaf v4acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v4-access-list { + type string; + description + "Ipv4 Access-list name"; + } + leaf v6acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v6-access-list { + type string; + description + "Ipv6 Access-list name"; + } + leaf owner { + type Snmp-owner-access; + description + "Logical Router or System owner access"; + } + } + } + container encrypted-communities { + description + "Container class to hold clear/encrypted + communities"; + list encrypted-community { + key "community-name"; + description + "Clear/encrypted SNMP community string and + access priviledges"; + leaf community-name { + type xr:Cisco-ios-xr-string; + description + "SNMP community string"; + } + leaf priviledge { + type Snmp-access-level; + description + "Read/Write Access"; + } + leaf view-name { + type string; + description + "MIB view to which the community has access"; + } + leaf v4acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v4-access-list { + type string; + description + "Ipv4 Access-list name"; + } + leaf v6acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v6-access-list { + type string; + description + "Ipv6 Access-list name"; + } + leaf owner { + type Snmp-owner-access; + description + "Logical Router or System owner access"; + } + } + } + } + container agent { + description + "The heirarchy point for SNMP Agent + configurations"; + container engine-id { + description + "SNMPv3 engineID"; + container remotes { + description + "SNMPv3 remote SNMP Entity"; + list remote { + key "remote-address"; + description + "engineID of the remote agent"; + leaf remote-address { + type inet:ip-address-no-zone; + description + "IP address of remote SNMP entity"; + } + leaf remote-engine-id { + type string; + description + "engine ID octet string"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + } + } + leaf local { + type string; + description + "engineID of the local agent"; + } + } + } + container trap { + description + "Class to hold trap configurations"; + leaf timeout { + type uint32 { + range "1..1000"; + } + description + "Timeout for TRAP message retransmissions"; + } + leaf throttle-time { + type uint32 { + range "10..500"; + } + units "millisecond"; + description + "Set throttle time for handling traps"; + } + leaf queue-length { + type uint32 { + range "1..5000"; + } + description + "Message queue length for each TRAP host"; + } + } + container drop-packet { + description + "SNMP packet drop config"; + leaf unknown-user { + type empty; + description + "Enable drop unknown user name"; + } + } + container ipv6 { + description + "SNMP TOS bit for outgoing packets"; + container tos { + description + "Type of TOS"; + leaf type { + type Snmp-tos; + description + "SNMP TOS type DSCP or Precedence"; + } + leaf precedence { + when "../type = 'precedence'" { + description + "../Type = Precedence"; + } + type Snmp-precedence-value1; + description + "SNMP Precedence value"; + } + leaf dscp { + when "../type = 'dscp'" { + description + "../Type = DSCP"; + } + type Snmp-dscp-value; + description + "SNMP DSCP value"; + } + } + } + container ipv4 { + description + "SNMP TOS bit for outgoing packets"; + container tos { + description + "Type of TOS"; + leaf type { + type Snmp-tos; + description + "SNMP TOS type DSCP or Precedence"; + } + leaf precedence { + when "../type = 'precedence'" { + description + "../Type = Precedence"; + } + type Snmp-precedence-value1; + description + "SNMP Precedence value"; + } + leaf dscp { + when "../type = 'dscp'" { + description + "../Type = DSCP"; + } + type Snmp-dscp-value; + description + "SNMP DSCP value"; + } + } + } + container system { + description + "container to hold system information"; + leaf chassis-id { + type string { + length "1..255"; + } + description + "String to uniquely identify this chassis"; + } + leaf location { + type string { + length "1..255"; + } + description + "The physical location of this node"; + } + leaf contact { + type string { + length "1..255"; + } + description + "identification of the contact person for this + managed node"; + } + } + container target { + description + "SNMP target configurations"; + container targets { + description + "List of targets"; + list target { + key "target-list-name"; + description + "Name of the target list"; + container vrf-names { + description + "List of VRF Name for a target list"; + list vrf-name { + key "name"; + description + "VRF name of the target"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "VRF Name"; + } + } + } + container target-addresses { + description + "SNMP Target address configurations"; + list target-address { + key "ip-address"; + description + "IP Address to be configured for the Target"; + leaf ip-address { + type inet:ip-address-no-zone; + description + "IPv4/Ipv6 address"; + } + } + } + leaf target-list-name { + type xr:Cisco-ios-xr-string; + description + "Name of the target list"; + } + } + } + } + container notification { + description + "Enable SNMP notifications"; + container snmp { + description + "SNMP notification configuration"; + leaf authentication { + type empty; + description + "Enable authentication notification"; + } + leaf cold-start { + type empty; + description + "Enable cold start notification"; + } + leaf warm-start { + type empty; + description + "Enable warm start notification"; + } + leaf enable { + type empty; + description + "Enable SNMP notifications"; + } + } + } + container correlator { + description + "Configure properties of the trap correlator"; + container rules { + description + "Table of configured rules"; + list rule { + key "name"; + description + "Rule name"; + container root-causes { + description + "Table of configured rootcause (only one entry + allowed)"; + list root-cause { + key "oid"; + description + "The rootcause - maximum of one can be + configured per rule"; + leaf created { + type empty; + description + "Create rootcause"; + } + leaf oid { + type string; + description + "OID of rootcause trap (dotted decimal)"; + } + uses VAR-BIND-TABLE; + } + } + container non-root-causes { + description + "Table of configured non-rootcause"; + list non-root-cause { + key "oid"; + description + "A non-rootcause"; + leaf created { + type empty; + description + "Create nonrootcause"; + } + leaf oid { + type string; + description + "OID of nonrootcause trap (dotted decimal)"; + } + uses VAR-BIND-TABLE; + } + } + leaf timeout { + type uint32 { + range "1..600000"; + } + units "millisecond"; + description + "Timeout (time to wait for active correlation) + in milliseconds"; + } + leaf name { + type string { + length "1..32"; + } + description + "Rule name"; + } + uses APPLIED-TO; + } + } + container rule-sets { + description + "Table of configured rulesets"; + list rule-set { + key "name"; + description + "Ruleset name"; + container rulenames { + description + "Table of configured rulenames"; + list rulename { + key "rulename"; + description + "A rulename"; + leaf rulename { + type string { + length "1..32"; + } + description + "Rule name"; + } + } + } + leaf name { + type string { + length "1..32"; + } + description + "Ruleset name"; + } + uses APPLIED-TO; + } + } + leaf buffer-size { + type uint32 { + range "1024..52428800"; + } + description + "Configure size of the correlator buffer"; + } + } + container bulk-stats { + description + "SNMP bulk stats configuration commands"; + container schemas { + description + "Configure schema definition"; + list schema { + key "schema-name"; + description + "The name of the Schema"; + container instance { + presence "Indicates a instance node is configured."; + description + "Object instance information"; + leaf type { + type Snmp-bulkstat-schema; + mandatory true; + description + "Type of the instance"; + } + leaf instance { + type xr:Interface-name; + description + "Instance of the schema"; + } + leaf start { + type string; + mandatory true; + description + "Start Instance OID for repetition"; + } + leaf end { + type string; + mandatory true; + description + "End Instance OID for repetition"; + } + leaf max { + type int32; + mandatory true; + description + "Max value of Instance repetition"; + } + leaf sub-interface { + type boolean; + mandatory true; + description + "Include all the subinterface"; + } + } + leaf type { + type empty; + description + "Configure schema name"; + } + leaf schema-object-list { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of an object List"; + } + leaf poll-interval { + type uint32 { + range "1..20000"; + } + units "minute"; + description + "Periodicity for polling of objects in this + schema in minutes"; + } + leaf schema-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "The name of the schema"; + } + } + } + container objects { + description + "Configure an Object List "; + list object { + key "object-list-name"; + description + "Name of the object List"; + container objects { + description + "Configure an object List"; + list object { + key "oid"; + description + "Object name or OID"; + leaf oid { + type string; + description + "Object name or OID "; + } + } + } + leaf type { + type empty; + description + "Configure object list name"; + } + leaf object-list-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of the object List"; + } + } + } + container transfers { + description + "Periodicity for the transfer of bulk data in + minutes"; + list transfer { + key "transfer-name"; + description + "Name of bulk transfer"; + container transfer-schemas { + description + "Schema that contains objects to be collected"; + list transfer-schema { + key "schema-name"; + description + "Schema that contains objects to be collected"; + leaf schema-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Schema that contains objects to be + collected"; + } + } + } + leaf secondary { + type string; + description + "FTP or rcp or TFTP can be used for file + transfer"; + } + leaf type { + type empty; + description + "Configure transfer list name"; + } + leaf buffer-size { + type uint32 { + range "1024..2147483647"; + } + units "byte"; + description + "Bulkstat data file maximum size in bytes"; + } + leaf retain { + type uint32 { + range "0..20000"; + } + units "minute"; + description + "Retention period in minutes"; + } + leaf format { + type Snmp-bulkstat-file-format; + description + "Format of the bulk data file"; + } + leaf retry { + type uint32 { + range "0..100"; + } + description + "Number of transmission retries"; + } + leaf enable { + type empty; + description + "Start Data Collection for this Configuration"; + } + leaf primary { + type string; + description + "FTP or rcp or TFTP can be used for file + transfer"; + } + leaf interval { + type int32; + units "minute"; + description + "Periodicity for the transfer of bulk data in + minutes"; + } + leaf transfer-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Name of bulk transfer"; + } + } + } + leaf memory { + type uint32 { + range "100..200000"; + } + units "kilobyte"; + description + "per process memory limit in kilo bytes"; + } + } + container default-community-maps { + description + "Container class to hold unencrpted community map"; + list default-community-map { + key "community-name"; + description + "Unencrpted SNMP community map name "; + leaf community-name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "SNMP community map"; + } + leaf context { + type string; + description + "SNMP Context Name "; + } + leaf security { + type string; + description + "SNMP Security Name "; + } + leaf target-list { + type string; + description + "target list name "; + } + } + } + container overload-control { + presence "Indicates a overload-control node is configured."; + description + "Set overload control params for handling + incoming messages"; + leaf drop-time { + type uint32 { + range "0..300"; + } + units "second"; + mandatory true; + description + "Drop time in seconds for incoming queue + (default 1 sec)"; + } + leaf throttle-rate { + type uint32 { + range "0..1000"; + } + units "millisecond"; + mandatory true; + description + "Throttle time in milliseconds for incoming + queue (default 500 msec)"; + } + } + container timeouts { + description + "SNMP timeouts"; + leaf duplicates { + type uint32 { + range "0..20"; + } + units "second"; + default "1"; + description + "Duplicate request feature timeout"; + } + leaf in-qdrop { + type uint32 { + range "0..20"; + } + units "second"; + default "10"; + description + "incoming queue drop feature timeout"; + } + leaf subagent { + type uint32 { + range "1..20"; + } + units "second"; + default "10"; + description + "Sub-Agent Request timeout"; + } + leaf pdu-stats { + type uint32 { + range "1..10"; + } + units "second"; + default "2"; + description + "SNMP pdu statistics timeout"; + } + } + container users { + description + "Define a user who can access the SNMP engine"; + list user { + key "user-name"; + description + "Name of the user"; + leaf user-name { + type string; + description + "Name of the user"; + } + leaf group-name { + type string; + mandatory true; + description + "Group to which the user belongs"; + } + leaf version { + type User-snmp-version; + mandatory true; + description + "SNMP version to be used. v1,v2c or v3"; + } + leaf authentication-password-configured { + type empty; + description + "Flag to indicate that authentication password + is configred for version 3"; + } + leaf algorithm { + type Snmp-hash-algorithm; + description + "The algorithm used md5 or sha"; + } + leaf authentication-password { + type xr:Proprietary-password; + description + "The authentication password"; + } + leaf privacy-password-configured { + type empty; + description + "Flag to indicate that the privacy password is + configured for version 3"; + } + leaf priv-algorithm { + type Snmp-priv-algorithm; + description + "The algorithm used des56 or aes128 or aes192or + aes256 or 3des"; + } + leaf privacy-password { + type xr:Proprietary-password; + description + "The privacy password"; + } + leaf v4acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v4-access-list { + type string; + description + "Ipv4 Access-list name"; + } + leaf v6acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v6-access-list { + type string; + description + "Ipv6 Access-list name"; + } + leaf owner { + type Snmp-owner-access; + description + "The system access either SDROwner or + SystemOwner"; + } + leaf remote-address { + type inet:ip-address-no-zone; + description + "IP address of remote SNMP entity"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "UDP port number"; + } + } + } + container vrfs { + description + "SNMP VRF configuration commands"; + list vrf { + key "name"; + description + "VRF name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses TRAP-HOST-TABLE; + uses CONTEXT-TABLE; + uses CONTEXT-MAPPING-TABLE; + } + } + container groups { + description + "Define a User Security Model group"; + list group { + key "name"; + description + "Name of the group"; + leaf name { + type xr:Cisco-ios-xr-string { + length "1..128"; + } + description + "Name of the group"; + } + leaf snmp-version { + type Group-snmp-version; + mandatory true; + description + "snmp version"; + } + leaf security-model { + type Snmp-security-model; + description + "security model like auth/noAuth/Priv + applicable for v3"; + } + leaf notify-view { + type string; + description + "notify view name"; + } + leaf read-view { + type string; + description + "read view name"; + } + leaf write-view { + type string; + description + "write view name"; + } + leaf v4acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v4-access-list { + type string; + description + "Ipv4 Access-list name"; + } + leaf v6acl-type { + type Snmpacl; + description + "Access-list type"; + } + leaf v6-access-list { + type string; + description + "Ipv6 Access-list name"; + } + leaf context-name { + type string; + description + "Context name"; + } + } + } + leaf inform-retries { + type uint32 { + range "0..100"; + } + description + "Number of times to retry an Inform request + (default 3)"; + } + leaf trap-port { + type uint32 { + range "1024..65535"; + } + description + "Change the source port of all traps"; + } + leaf oid-poll-stats { + type empty; + description + "Enable Poll OID statistics"; + } + leaf trap-source { + type xr:Interface-name; + description + "Assign an interface for the source address of + all traps"; + } + leaf vrf-authentication-trap-disable { + type empty; + description + "Disable authentication traps for packets on a + vrf"; + } + leaf inform-timeout { + type uint32 { + range "1..42949671"; + } + units "second"; + description + "Timeout value in seconds for Inform request + (default 15 sec)"; + } + leaf trap-source-ipv6 { + type xr:Interface-name; + description + "Assign an interface for the source IPV6 address + of all traps"; + } + leaf packet-size { + type uint32 { + range "484..65500"; + } + description + "Largest SNMP packet size"; + } + leaf throttle-time { + type uint32 { + range "50..1000"; + } + description + "Throttle time for incoming queue (default 0 + msec)"; + } + leaf trap-source-ipv4 { + type xr:Interface-name; + description + "Assign an interface for the source address of + all traps"; + } + leaf inform-pending { + type uint32 { + range "0..4294967295"; + } + description + "Max nmber of informs to hold in queue, (default + 25)"; + } + uses TRAP-HOST-TABLE; + uses CONTEXT-TABLE; + uses CONTEXT-MAPPING-TABLE; + } + container mib { + description + "mib"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub1.yang new file mode 100644 index 0000000..092c2a9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub1.yang @@ -0,0 +1,47 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub1 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SNMP-IFINDEX-IFNAME { + description + "SNMP IFINDEX IFNAME"; + leaf interface-name { + type string; + description + "Interface Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub2.yang new file mode 100644 index 0000000..751d909 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub2.yang @@ -0,0 +1,280 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub2 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Snmp-corr-vbind-match { + type enumeration { + enum "index" { + value 0; + description + "Match regexp to varbind index"; + } + enum "value" { + value 1; + description + "Match regexp to varbind value"; + } + } + description + "Snmp corr vbind match"; + } + + typedef Snmp-corr-rule-state { + type enumeration { + enum "rule-unapplied" { + value 0; + description + "Rule is in Unapplied state"; + } + enum "rule-applied" { + value 1; + description + "Rule is Applied to specified hosts"; + } + enum "rule-applied-all" { + value 2; + description + "Rule is Applied to all of router"; + } + } + description + "Snmp corr rule state"; + } + + grouping SNMP-CORR-VBIND { + description + "Varbind"; + leaf oid { + type string; + description + "OID of the varbind"; + } + leaf value { + type string; + description + "Value of the varbind"; + } + } + + grouping SNMP-CORR-TRAP-BAG { + description + "Trap Information"; + leaf oid { + type string; + description + "Object ID"; + } + leaf relative-timestamp { + type uint32; + units "second"; + description + "Number of hsecs elapsed since snmpd was started"; + } + leaf timestamp { + type uint64; + units "millisecond"; + description + "Time when the trap was generated. It is + expressed in number of milliseconds since 00:00 + :00 UTC, January 1, 1970"; + } + list var-bind { + description + "VarBinds on the trap"; + uses SNMP-CORR-VBIND; + } + } + + grouping SNMP-CORR-TRAP-BUFFER-BAG { + description + "Trap Buffer Record"; + container trap-info { + description + "Correlated trap information"; + uses SNMP-CORR-TRAP-BAG; + } + leaf correlation-id { + type uint32; + description + "Correlation ID"; + } + leaf is-root-cause { + type boolean; + description + "True if this is the rootcause"; + } + leaf rule-name { + type string; + description + "Correlation rule name"; + } + } + + grouping SNMP-CORR-RULESET-DETAIL-BAG { + description + "Correlation Ruleset detail information"; + leaf rule-set-name-xr { + type string; + description + "Ruleset Name"; + } + list rules { + description + "Rules contained in a ruleset"; + uses SNMP-CORR-RULE-SUMMARY-BAG; + } + } + + grouping SNMP-CORR-BUFFER-INFO-BAG { + description + "Correlator buffer usage information"; + leaf current-size { + type uint32; + description + "Current buffer usage"; + } + leaf configured-size { + type uint32; + description + "Configured buffer size"; + } + } + + grouping SNMP-CORR-HOST { + description + "Host Definition"; + leaf ip-address { + type string; + description + "IP address of the host"; + } + leaf port { + type uint16; + description + "Port of the host"; + } + } + + grouping SNMP-CORR-VBIND-MATCH { + description + "Varbind Match Parameters"; + leaf oid { + type string; + description + "OID of the varbind"; + } + leaf match-type { + type Snmp-corr-vbind-match; + description + "Varbind match type"; + } + leaf reg-exp { + type string; + description + "Regular expression to match"; + } + } + + grouping SNMP-CORR-TRAP-MATCH { + description + "Trap Match Definition"; + leaf oid { + type string; + description + "OID of the trap"; + } + list var-bind { + description + "VarBinds of the trap"; + uses SNMP-CORR-VBIND-MATCH; + } + } + + grouping SNMP-CORR-RULE-SUMMARY-BAG { + description + "Correlation Rule summary information"; + leaf rule-name { + type string; + description + "Correlation Rule Name"; + } + leaf rule-state { + type Snmp-corr-rule-state; + description + "Applied state of the rule It could be not + applied, applied or applied to all"; + } + leaf buffered-traps-count { + type uint32; + description + "Number of buffered traps correlated to this rule"; + } + } + + grouping SNMP-CORR-RULE-DETAIL-BAG { + description + "Correlation Rule detail information"; + container rule-summary { + description + "Rule summary, name, etc"; + uses SNMP-CORR-RULE-SUMMARY-BAG; + } + container root-cause { + description + "OID/VarBinds defining the rootcause match + conditions."; + uses SNMP-CORR-TRAP-MATCH; + } + leaf timeout { + type uint32; + description + "Time window (in ms) for which root/all messages + are kept in correlater before sending them to + hosts"; + } + list non-rootcaus { + description + "OIDs/VarBinds defining the nonrootcause match + conditions."; + uses SNMP-CORR-TRAP-MATCH; + } + list apply-host { + description + "Hosts (IP/port) to which the rule is applied"; + uses SNMP-CORR-HOST; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub3.yang new file mode 100644 index 0000000..4ce4ce7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub3.yang @@ -0,0 +1,853 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub3 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Dup-req-drop-status { + type enumeration { + enum "disabled" { + description + "Disabled"; + } + enum "enabled" { + description + "Enabled"; + } + } + description + "Dup req drop status"; + } + + grouping SNMP-TRAPQUE { + description + "SNMP Trap queue statistics"; + leaf trap-min { + type uint32; + description + "trap min"; + } + leaf trap-avg { + type uint32; + description + "trap avg"; + } + leaf trap-max { + type uint32; + description + "trap max"; + } + list trap-q { + max-elements "300"; + description + "trap q"; + uses SNMP-QUEUE; + } + } + + grouping SNMP-SYSOBJID { + description + "SNMP sysObjID"; + leaf sys-obj-id { + type string; + description + "sysObjID 1.3.6.1.2.1.1.2"; + } + } + + grouping SNMP-SYSDESCR { + description + "SNMP sysDescr"; + leaf sys-descr { + type string; + description + "sysDescr 1.3.6.1.2.1.1.1"; + } + } + + grouping SNMP-PDU-DROP-STATS { + description + "SNMP Agent Req PDU Drop Stats"; + leaf nms-address { + type string; + description + "NMS address of server"; + } + leaf incoming-q-count { + type uint32; + description + "Drop Count at Incoming Q"; + } + leaf threshold-incoming-q-count { + type uint32; + description + "Drop Count at Incoming Q after threshold limit"; + } + leaf encode-count { + type uint32; + description + "Drop Count with Encode errors"; + } + leaf duplicate-count { + type uint32; + description + "Duplicate request drop count"; + } + leaf stack-count { + type uint32; + description + "Drop Count at snmp Stack"; + } + leaf aipc-count { + type uint32; + description + "drop count with AIPC Buffer Full"; + } + leaf overload-count { + type uint32; + description + "Drop Count with overload notification"; + } + leaf timeout-count { + type uint32; + description + "Drop count with timeout"; + } + leaf internal-count { + type uint32; + description + " drop with Internal Errors"; + } + } + + grouping SNMP-PDU-STATS { + description + "SNMP PDU STATS"; + leaf nms { + type string; + description + " NMS address Rx PDU"; + } + leaf request-id { + type uint32; + description + " SNMP request id per PDU"; + } + leaf port-xr { + type uint16; + description + "NMS port number"; + } + leaf pdu-type { + type uint16; + description + " PDU type"; + } + leaf error-status { + type uint16; + description + "Is reques dropped due to error"; + } + leaf serial-num { + type uint32; + description + "Serial number per PDU processing"; + } + leaf input-q { + type string; + description + "Request inserted into input queue"; + } + leaf output-q { + type uint32; + description + "De-queue the request from the input queue"; + } + leaf pending-q { + type uint32; + description + "Enqueue the request into pending queue"; + } + leaf response-out { + type uint32; + description + "Response sent"; + } + } + + grouping SNMP-MIB-INFO { + description + "SNMP MIB Information"; + leaf mib-name { + type string; + description + "Name of the MIB module"; + } + leaf dll-name { + type string; + description + "MIB DLL filename, non-DLL MIBs will have no + value"; + } + leaf mib-config-filename { + type string; + description + "MIB config filename, non-DLL MIBs will have no + value"; + } + leaf is-mib-loaded { + type boolean; + description + "TRUE if MIB DLL is currently loaded, will always + be TRUE for non-DLL MIBs"; + } + leaf dll-capabilities { + type uint32; + description + "DLL capabilities"; + } + leaf trap-strings { + type string; + description + "List of trapstring configured"; + } + leaf timeout { + type boolean; + description + "TRUE is mib is in phase 1 timeout"; + } + leaf load-time { + type uint32; + description + "Load time"; + } + } + + grouping SNMP-TRAPS-COUNT { + description + "SNMP TRAPS COUNT"; + leaf trap-oid-count { + type uint32; + description + "Total number of OID's sent"; + } + leaf trap-oid-xr { + type string; + description + "TRAP OID"; + } + } + + grouping SNMP-CTX-MAPPING-ENTRY-XML { + description + "SNMP context mapping entry xml"; + leaf context { + type string; + description + "Context name"; + } + leaf feature-name { + type string; + description + "Feature name"; + } + leaf instance { + type string; + description + "Instance name"; + } + leaf topology { + type string; + description + "Topology name"; + } + leaf feature { + type string; + description + "Feature"; + } + } + + grouping SNMP-CTX-MAPPING-XML { + description + "SNMP context mapping"; + list contex-mapping { + description + "Context Mapping"; + uses SNMP-CTX-MAPPING-ENTRY-XML; + } + } + + grouping SNMP-INQ-DETAIL { + description + "SNMP Address Information"; + leaf address-of-queue { + type string; + description + "Address of NMS Q"; + } + leaf request-count { + type uint32; + description + "Request Count of Each Queue."; + } + leaf processed-request-count { + type uint32; + description + "Processed request Count."; + } + leaf last-access-time { + type string; + description + "Last Access time of Each Queue."; + } + leaf priority { + type uint8; + description + "Priority of Each Queue."; + } + } + + grouping SNMP-INCOMING-Q-STATS-ENTRY { + description + "SNMP IncomingQ Stats Entry"; + leaf queue-count { + type uint32; + description + "Number of NMS Queues Exist."; + } + list inq-entry { + max-elements "16"; + description + "Each Entry Details."; + uses SNMP-INQ-DETAIL; + } + } + + grouping SNMP-STATS { + description + "SNMP statistics"; + leaf packets-received { + type uint32; + description + "snmpInPkts"; + } + leaf bad-versions-received { + type uint32; + description + "snmpInBadVersions"; + } + leaf bad-community-names-received { + type uint32; + description + "snmpInBadCommunityNames"; + } + leaf bad-community-uses-received { + type uint32; + description + "snmpInBadCommunityUses"; + } + leaf asn-parse-errors-received { + type uint32; + description + "snmpInASNParseErrs"; + } + leaf silent-drop-count { + type uint32; + description + "snmpSilentDrops"; + } + leaf proxy-drop-count { + type uint32; + description + "snmpProxyDrops"; + } + leaf too-big-packet-received { + type uint32; + description + "snmpInTooBigs"; + } + leaf max-packet-size { + type uint32; + description + "snmp maximum packet size"; + } + leaf no-such-names-received { + type uint32; + description + "snmpInNoSuchNames"; + } + leaf bad-values-received { + type uint32; + description + "snmpInBadValues"; + } + leaf read-only-received { + type uint32; + description + "snmpInReadOnlys"; + } + leaf total-general-errors { + type uint32; + description + "snmpInGenErrs"; + } + leaf total-requested-variables { + type uint32; + description + "snmpInTotalReqVars"; + } + leaf total-set-variables-received { + type uint32; + description + "snmpInTotalSetVars"; + } + leaf get-requests-received { + type uint32; + description + "snmpInGetRequests"; + } + leaf get-next-requests-received { + type uint32; + description + "snmpInGetNexts"; + } + leaf set-requests-received { + type uint32; + description + "snmpInSetRequests"; + } + leaf get-responses-received { + type uint32; + description + "snmpInGetResponses"; + } + leaf traps-received { + type uint32; + description + "snmpInTraps"; + } + leaf total-packets-sent { + type uint32; + description + "snmpOutPkts"; + } + leaf too-big-packets-sent { + type uint32; + description + "snmpOutTooBigs"; + } + leaf no-such-names-sent { + type uint32; + description + "snmpOutNoSuchNames"; + } + leaf bad-values-sent { + type uint32; + description + "snmpOutBadValues"; + } + leaf general-errors-sent { + type uint32; + description + "snmpOutGenErrs"; + } + leaf get-requests-sent { + type uint32; + description + "snmpOutGetRequests"; + } + leaf get-next-request-sent { + type uint32; + description + "snmpOutGetNexts"; + } + leaf set-requests-sent { + type uint32; + description + "snmpOutSetRequests"; + } + leaf get-responses-sent { + type uint32; + description + "snmpOutGetResponses"; + } + leaf traps-sent { + type uint32; + description + "snmpOutTraps"; + } + } + + grouping SNMP-TRAP-OID-INFO { + description + "SNMP TRAP OID INFO"; + leaf trap-oid { + type string; + description + "TRAP OID"; + } + leaf count { + type uint32; + description + "Number of traps sent"; + } + leaf drop-count { + type uint32; + description + "Number of Traps Dropped"; + } + leaf retry-count { + type uint32; + description + "Num of times retry"; + } + leaf lastsent-time { + type string; + description + "Timestamp of latest successfully sent"; + } + leaf lasrdrop-time { + type string; + description + "Timestamp of latest droped"; + } + } + + grouping SNMP-TRAPS-INFO { + description + "SNMP TRAPS INFO"; + leaf host { + type string; + description + "NMS/Host address"; + } + leaf port-xr { + type uint16; + description + "udp port number"; + } + leaf trap-oid-count { + type uint32; + description + "Total number of OID's sent"; + } + list trap-oi-dinfo { + description + "Per trap OID statistics"; + uses SNMP-TRAP-OID-INFO; + } + } + + grouping SNMP-BULKSTATS-B { + description + "SNMP Bulkstats transfer Information"; + leaf transfer-name-xr { + type string; + description + "Name of the bulkstats transfer session"; + } + leaf url-primary { + type string; + description + "Bulkstats transfer primary URL"; + } + leaf url-secondary { + type string; + description + "Bulkstats transfer secondary URL"; + } + leaf retained-file { + type string; + description + "Bulkstats transfer retained file name"; + } + leaf time-left { + type uint32; + units "second"; + description + "Bulkstats transfer retry time left in seconds"; + } + leaf retry-left { + type uint32; + description + "Bulkstats transfer retry attempt left"; + } + } + + grouping SNMP-STATISTICS { + description + "SNMP Statistics extension"; + leaf duplicate-request-status { + type Dup-req-drop-status; + description + "Duplicate requests drop feature status."; + } + leaf last-status-change-time { + type string; + description + "Duplicate request drop feature last enable + disable time (Day Mon Date HH:MM:SS)"; + } + leaf duplicate-drop-configured-timeout { + type uint32; + description + "Configured Duplicate Drop feature Timeout."; + } + leaf duplicate-dropped-requests { + type uint32; + description + "Number of duplicate SNMP requests are dropped."; + } + leaf retry-processed-requests { + type uint32; + description + "Number of Retry SNMP requests are Processed."; + } + leaf first-enable-time { + type string; + description + "Duplicate request drop feature first enable + time (Day Mon Date HH:MM:SS)"; + } + leaf latest-duplicate-dropped-requests { + type uint32; + description + "Number of duplicate SNMP requests dropped, from + the last enable time."; + } + leaf latest-retry-processed-requests { + type uint32; + description + "Number of retry SNMP requests processed, from + the last enable time."; + } + leaf duplicate-request-latest-enable-time { + type string; + description + "Duplicate request drop feature last enable + time(Day Mon Date HH:MM:SS)"; + } + leaf duplicate-drop-enable-count { + type uint32; + description + " Number of times duplicate request drop feature + is enabled."; + } + leaf duplicate-drop-disable-count { + type uint32; + description + " Number of times duplicate request drop feature + is disabled."; + } + } + + grouping SNMP-Q-STATS-B { + description + "SNMP incomming/processing queue statistics"; + leaf total-count { + type uint32; + description + "Total request count for each managment station + or client"; + } + leaf agent-request-count { + type uint32; + description + "Processing agent request count for each client + for particluar managment station"; + } + leaf interface-request-count { + type uint32; + description + "Processing interfce request count for each + client for particluar managment station"; + } + leaf entity-request-count { + type uint32; + description + "Processing entity request count for each client + for particluar managment station"; + } + leaf route-request-count { + type uint32; + description + "Processing route request count for each client + for particluar Managment station"; + } + leaf infra-request-count { + type uint32; + description + "Processing infra request count for each client + for particluar Managment station"; + } + } + + grouping SNMP-SYSNAME { + description + "SNMP sysName"; + leaf system-name { + type string; + description + "sysName 1.3.6.1.2.1.1.5"; + } + } + + grouping SNMP-QUEUE { + description + "SNMP QUEUE"; + leaf min { + type uint32; + description + "min"; + } + leaf avg { + type uint32; + description + "avg"; + } + leaf max { + type uint32; + description + "max"; + } + } + + grouping SNMP-RXQUE { + description + "SNMP Incoming queue statistics"; + leaf qlen { + type uint32; + description + "qlen"; + } + leaf in-min { + type uint32; + description + "in min"; + } + leaf in-avg { + type uint32; + description + "in avg"; + } + leaf in-max { + type uint32; + description + "in max"; + } + leaf pend-min { + type uint32; + description + "pend min"; + } + leaf pend-avg { + type uint32; + description + "pend avg"; + } + leaf pend-max { + type uint32; + description + "pend max"; + } + list incoming-q { + max-elements "300"; + description + "incoming q"; + uses SNMP-QUEUE; + } + list pending-q { + max-elements "300"; + description + "pending q"; + uses SNMP-QUEUE; + } + } + + grouping SNMP-ENGINEID { + description + "SNMPv3 engineID Information"; + leaf engine-id { + type string; + description + "SNMPv3 engineID"; + } + } + + grouping SNMP-REQ-NMS-SUM { + description + "SNMP Agent Req NMS Summary "; + leaf nms-address { + type string; + description + "NMS address of server"; + } + leaf get-request-count { + type uint32; + description + "Get Request Count"; + } + leaf getnext-request-count { + type uint32; + description + "Getnext Request Count"; + } + leaf getbulk-request-count { + type uint32; + description + "Getbulk Request Count"; + } + leaf set-request-count { + type uint32; + description + "Set Request Count"; + } + leaf test-request-count { + type uint32; + description + "Test Request Count"; + } + } + + grouping SNMP-SYSUPTIME-EDM { + description + "SNMP sysUpTime in days time format for edm"; + leaf system-up-time-edm { + type string; + description + "sysUpTime 1.3.6.1.2.1.1.3"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub4.yang new file mode 100644 index 0000000..d6bb445 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub4.yang @@ -0,0 +1,132 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub4 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SNMP-USM-USER-ENTRY { + description + "SNMP usmUserTable Information"; + leaf usm-user-storage-type { + type uint32; + description + "Storage type"; + } + leaf usm-user-status { + type uint32; + description + "Status of this user"; + } + } + + grouping SNMP-VACM-ACCESS-ENTRY { + description + "SNMP vacmAccessTable Information"; + leaf vacm-access-read-view-name { + type string; + description + "Read view name"; + } + leaf vacm-access-write-view-name { + type string; + description + "Write view name"; + } + leaf vacm-access-notify-view-name { + type string; + description + "Notify view name"; + } + leaf vacm-access-status { + type uint32; + description + "Status of this view configuration"; + } + } + + grouping SNMP-SNMP-VIEW-XML-ENTRY { + description + "SNMP SNMPViewXmlTable Information"; + leaf snmp-view-family-type { + type string; + description + "Include or exclude"; + } + leaf snmp-view-family-storage-type { + type string; + description + "Storage type"; + } + leaf snmp-view-family-status { + type string; + description + "Status of this entry"; + } + } + + grouping SNMP-SNMP-HOST-XML { + description + "SNMP host xml information"; + leaf snmp-target-address-t-host { + type string; + description + "Transport type of address"; + } + leaf snmp-target-address-port { + type string; + description + "Target UDP port"; + } + leaf snmp-target-addresstype { + type string; + description + "Target host type (Inform or Trap)"; + } + leaf snmp-target-params-security-model { + type string; + description + "Security model"; + } + leaf snmp-target-params-security-name { + type string; + description + "Security name"; + } + leaf snmp-target-params-security-level { + type string; + description + "Security level"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub5.yang new file mode 100644 index 0000000..df29749 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub5.yang @@ -0,0 +1,63 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub5 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SNMP-OVERLOAD-STATS { + description + "SNMP Overload statastics"; + leaf number-of-nmsq-pkts-dropped { + type uint32; + description + "Number of packets which are currently enqueued + within the NMS queues"; + } + leaf number-of-pkts-dropped { + type uint32; + description + "Number of packets dropped"; + } + leaf overload-start-time { + type string; + description + "Time of overload contol begin"; + } + leaf overload-end-time { + type string; + description + "Time of overload contol End"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub6.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub6.yang new file mode 100644 index 0000000..cd4e343 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub6.yang @@ -0,0 +1,65 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub6 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Nms-ip { + type string; + description + "Nms ip"; + } + + grouping SNMP-OID-STATS-B { + description + "SNMP incomming/processing queue statistics"; + leaf nms-count { + type uint32; + description + " Managment station count"; + } + leaf-list nms { + type Nms-ip; + max-elements "15"; + description + "Network Managment station ipadress"; + } + leaf-list request-count { + type uint32; + max-elements "15"; + description + "OID request count for each Managment station "; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub7.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub7.yang new file mode 100644 index 0000000..fa11a5b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper-sub7.yang @@ -0,0 +1,62 @@ +submodule Cisco-IOS-XR-snmp-agent-oper-sub7 { + belongs-to Cisco-IOS-XR-snmp-agent-oper { + prefix Cisco-IOS-XR-snmp-agent-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping SNMP-TRAP-STATS { + description + "SNMP Trap statistics"; + leaf number-of-pkts-in-trap-q { + type uint32; + description + "No. of trap packets in trapQ"; + } + leaf max-q-length-of-trap-q { + type uint32; + description + "Maximum Queue length of trapQ"; + } + leaf number-of-pkts-sent { + type uint32; + description + "No. of trap packets sent"; + } + leaf number-of-pkts-dropped { + type uint32; + description + "No. of trap packets dropped"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper.yang new file mode 100644 index 0000000..1985e5f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-agent-oper.yang @@ -0,0 +1,594 @@ +module Cisco-IOS-XR-snmp-agent-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper"; + prefix snmp-agent-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-snmp-agent-oper-sub7 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub6 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub5 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub4 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub3 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub2 { + revision-date 2017-05-01; + } + include Cisco-IOS-XR-snmp-agent-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-agent package operational data. + + This module contains definitions + for the following management objects: + snmp: SNMP operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-06-01 { + description + "IOS XR 6.0.1 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container snmp { + config false; + description + "SNMP operational data"; + container trap-servers { + description + "List of trap hosts"; + list trap-server { + description + "Trap server and port to which the trap is to be + sent and statistics"; + leaf trap-host { + type string; + description + "Trap Host"; + } + leaf port { + type inet:port-number; + description + "Trap port"; + } + uses SNMP-TRAP-STATS; + } + } + container information { + description + "SNMP operational information"; + container hosts { + description + "SNMP host information"; + list host { + key "name"; + description + "SNMP target host name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Group name"; + } + list host-information { + key "user"; + description + "Host name ,udp-port , user, security model + and level"; + leaf user { + type xr:Cisco-ios-xr-string; + description + "SNMP host user"; + } + uses SNMP-SNMP-HOST-XML; + } + } + } + container system-up-time { + description + "System up time"; + uses SNMP-SYSUPTIME-EDM; + } + container nms-addresses { + description + "SNMP request type summary "; + list nms-address { + key "nms-addr"; + description + "NMS address"; + leaf nms-addr { + type xr:Cisco-ios-xr-string; + description + "NMS address"; + } + uses SNMP-REQ-NMS-SUM; + } + } + container engine-id { + description + "SNMP engine ID"; + uses SNMP-ENGINEID; + } + container rx-queue { + description + "SNMP rx queue statistics"; + uses SNMP-RXQUE; + } + container system-name { + description + "System name"; + uses SNMP-SYSNAME; + } + container request-type-detail { + description + "SNMP request type details "; + container nms-addresses { + description + "snmp request type details "; + list nms-address { + key "nms-addr"; + description + "NMS address"; + leaf nms-addr { + type xr:Cisco-ios-xr-string; + description + "NMS address"; + } + uses SNMP-Q-STATS-B; + } + } + } + container duplicate-drop { + description + "Duplicate request status, count, time "; + uses SNMP-STATISTICS; + } + container bulk-stats-transfers { + description + "List of bulkstats transfer on the system"; + list bulk-stats-transfer { + key "transfer-name"; + description + "SNMP bulkstats transfer name"; + leaf transfer-name { + type xr:Cisco-ios-xr-string; + description + "Transfer name"; + } + uses SNMP-BULKSTATS-B; + } + } + container trap-infos { + description + "SNMP trap OID"; + list trap-info { + description + "SNMP Trap infomation like server , port and + trapOID"; + leaf trap-host { + type string; + description + "Trap Host"; + } + leaf port { + type inet:port-number; + description + "Trap port"; + } + uses SNMP-TRAPS-INFO; + } + } + container poll-oids { + description + "OID list for poll PDU"; + list poll-oid { + key "object-id"; + description + "PDU drop info for OID"; + leaf object-id { + type xr:Cisco-ios-xr-string; + description + "Object ID"; + } + uses SNMP-OID-STATS-B; + } + } + container infom-details { + description + "SNMP trap OID"; + list infom-detail { + description + "SNMP Trap infomation like server , port and + trapOID"; + leaf trap-host { + type string; + description + "Trap Host"; + } + leaf port { + type inet:port-number; + description + "Trap port"; + } + uses SNMP-TRAPS-INFO; + } + } + container statistics { + description + "SNMP statistics"; + uses SNMP-STATS; + } + container incoming-queue { + description + "Incoming queue details "; + uses SNMP-INCOMING-Q-STATS-ENTRY; + } + container context-mapping { + description + "Context name, features name, topology name, + instance"; + uses SNMP-CTX-MAPPING-XML; + } + container trap-oids { + description + "SNMP trap OID"; + list trap-oid { + key "trap-oid"; + description + "SNMP trap "; + leaf trap-oid { + type xr:Cisco-ios-xr-string; + description + "Trap object ID"; + } + uses SNMP-TRAPS-COUNT; + } + } + container nm-spackets { + description + "SNMP overload statistics "; + list nm-spacket { + key "packetcount"; + description + "NMS packet drop count"; + leaf packetcount { + type xr:Cisco-ios-xr-string; + description + "NMS packet drop count"; + } + uses SNMP-OVERLOAD-STATS; + } + } + container mibs { + description + "List of MIBS supported on the system"; + list mib { + key "name"; + description + "SNMP MIB Name"; + container oids { + description + "List of OIDs per MIB"; + list oid { + key "oid"; + description + "Object identifiers of a mib"; + leaf oid { + type string; + description + "Object Identifier"; + } + leaf oid-name { + type string; + mandatory true; + description + "MIB OID Name"; + } + } + } + container mib-information { + description + "MIB state and information"; + uses SNMP-MIB-INFO; + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "MIB Name"; + } + } + } + container serial-numbers { + description + "SNMP statistics pdu "; + list serial-number { + description + "Serial number"; + leaf number { + type xr:Cisco-ios-xr-string; + description + "Serial number"; + } + leaf req-id { + type int32; + description + "Request ID"; + } + leaf port { + type inet:port-number; + description + "Port"; + } + uses SNMP-PDU-STATS; + } + } + container drop-nms-addresses { + description + "NMS list for drop PDU"; + list drop-nms-address { + key "nms-addr"; + description + "PDU drop info for NMS"; + leaf nms-addr { + type xr:Cisco-ios-xr-string; + description + "NMS address"; + } + uses SNMP-PDU-DROP-STATS; + } + } + container views { + description + "SNMP view information"; + list view { + key "name"; + description + "SNMP target view name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "View name"; + } + list view-information { + key "object-id"; + description + "View name ,familytype, storagetype and status"; + leaf object-id { + type xr:Cisco-ios-xr-string; + description + "SNMP view OID"; + } + uses SNMP-SNMP-VIEW-XML-ENTRY; + } + } + } + container system-descr { + description + "System description"; + uses SNMP-SYSDESCR; + } + container tables { + description + "List of table"; + container groups { + description + "List of vacmAccessTable"; + list group { + key "name"; + description + "SNMP group name"; + container group-informations { + description + "Group Model"; + list group-information { + description + "Group name ,status and information"; + leaf modelnumber { + type xr:Cisco-ios-xr-string; + description + "Model number"; + } + leaf level { + type xr:Cisco-ios-xr-string; + description + "Level"; + } + uses SNMP-VACM-ACCESS-ENTRY; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Group Name"; + } + } + } + container user-engine-ids { + description + "List of User"; + list user-engine-id { + key "engine-id"; + description + "SNMP engineId"; + leaf engine-id { + type xr:Cisco-ios-xr-string; + description + "SNMP Engine ID"; + } + list user-name { + key "user-name"; + description + "User name ,storage type ,status "; + leaf user-name { + type xr:Cisco-ios-xr-string; + description + "User name"; + } + uses SNMP-USM-USER-ENTRY; + } + } + } + } + container system-oid { + description + "System object ID"; + uses SNMP-SYSOBJID; + } + container trap-queue { + description + "SNMP trap queue statistics"; + uses SNMP-TRAPQUE; + } + } + container interfaces { + description + "List of interfaces"; + list interface { + key "name"; + description + "Interface Name"; + leaf name { + type xr:Interface-name; + description + "Interface Name"; + } + leaf interface-index { + type int32; + mandatory true; + description + "Interface Index as used by MIB tables"; + } + } + } + container correlator { + description + "Trap Correlator operational data"; + container rule-details { + description + "Table that contains the database of correlation + rule details"; + list rule-detail { + key "rule-name"; + description + "Details of one of the correlation rules"; + leaf rule-name { + type string { + length "1..32"; + } + description + "Correlation Rule Name"; + } + uses SNMP-CORR-RULE-DETAIL-BAG; + } + } + container buffer-status { + description + "Describes buffer utilization and parameters + configured"; + uses SNMP-CORR-BUFFER-INFO-BAG; + } + container rule-set-details { + description + "Table that contains the ruleset detail info"; + list rule-set-detail { + key "rule-set-name"; + description + "Detail of one of the correlation rulesets"; + leaf rule-set-name { + type string { + length "1..32"; + } + description + "Ruleset Name"; + } + uses SNMP-CORR-RULESET-DETAIL-BAG; + } + } + container traps { + description + "Correlated traps Table"; + list trap { + key "entry-id"; + description + "One of the correlated traps"; + leaf entry-id { + type int32; + description + "Entry ID"; + } + uses SNMP-CORR-TRAP-BUFFER-BAG; + } + } + } + container interface-indexes { + description + "List of index"; + list interface-index { + key "interface-index"; + description + "Interface Index"; + leaf interface-index { + type int32; + description + "Interface Index as used by MIB tables"; + } + leaf interface-name { + type string; + mandatory true; + description + "Interface Name"; + } + } + } + container if-indexes { + description + "List of ifnames"; + list if-index { + key "interface-index"; + description + "Interface Index"; + leaf interface-index { + type int32; + description + "Interface Index as used by MIB tables"; + } + uses SNMP-IFINDEX-IFNAME; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-bridgemib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-bridgemib-cfg.yang new file mode 100644 index 0000000..b32b2c0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-bridgemib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-snmp-bridgemib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-bridgemib-cfg"; + prefix snmp-bridgemib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-bridgemib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container bridge { + description + "BRIDGE-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable dot1dBridge notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang new file mode 100644 index 0000000..c8eb257 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ciscosensormib-cfg.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-snmp-ciscosensormib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ciscosensormib-cfg"; + prefix snmp-ciscosensormib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-ciscosensormib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + leaf sensor-mib-cache { + type empty; + description + "Get cached Sesnsor MIB statistics"; + } + } + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container sensor { + description + "CISCO-ENTITY-SENSOR-MIB notification + configuration"; + leaf enable { + type empty; + description + "Enable entitySensorMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entityextmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entityextmib-cfg.yang new file mode 100644 index 0000000..e658d0c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entityextmib-cfg.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-snmp-entityextmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entityextmib-cfg"; + prefix snmp-entityextmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-entityextmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container cisco-entity-ext { + description + "Enable CISCO-ENTITY-EXT-MIB notifications"; + leaf enable { + type empty; + description + "Enable CISCO-ENTITY-EXT-MIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-cfg.yang new file mode 100644 index 0000000..91dd5c8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-cfg.yang @@ -0,0 +1,69 @@ +module Cisco-IOS-XR-snmp-entitymib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-cfg"; + prefix snmp-entitymib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-entitymib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container entity-mib { + description + "Entity MIB"; + leaf entity-index-persistence { + type empty; + description + "Enable entPhysicalIndex persistence"; + } + } + } + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container entity { + description + "Enable ENTITY-MIB notifications"; + leaf enable { + type empty; + description + "Enable entityMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang new file mode 100644 index 0000000..9f4e7ee --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper-sub1.yang @@ -0,0 +1,84 @@ +submodule Cisco-IOS-XR-snmp-entitymib-oper-sub1 { + belongs-to Cisco-IOS-XR-snmp-entitymib-oper { + prefix Cisco-IOS-XR-snmp-entitymib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-entitymib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ENTMIB-NODE2PATH-INFO { + description + "ENTITY-MIB Node To Path Map Record"; + leaf physical-index { + type uint32; + description + "entPhysicalIndex"; + } + leaf ent-physical-name { + type string; + description + "entPhysicalName"; + } + leaf location { + type string; + description + "invmgr EDM path"; + } + leaf ent-physical-descr { + type string; + description + "EntPhysicalDescription"; + } + leaf ent-physical-firmware-rev { + type string; + description + "entphysicalFirmwareRev"; + } + leaf ent-physical-hardware-rev { + type string; + description + "entphysicalHardwareRev"; + } + leaf ent-physical-modelname { + type string; + description + "entphysicalModelName"; + } + leaf ent-physical-serial-num { + type string; + description + "entphysicalSerialNum"; + } + leaf ent-physical-software-rev { + type string; + description + "entphysicalSoftwareRev"; + } + leaf ent-physical-mfg-name { + type string; + description + "entphysicalMfgName"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper.yang new file mode 100644 index 0000000..14e97e1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entitymib-oper.yang @@ -0,0 +1,67 @@ +module Cisco-IOS-XR-snmp-entitymib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entitymib-oper"; + prefix snmp-entitymib-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-oper { + prefix a1; + } + include Cisco-IOS-XR-snmp-entitymib-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-entitymib package operational data. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-snmp-agent-oper'"; + container entity-mib { + description + "SNMP entity mib"; + container entity-physical-indexes { + description + "SNMP entity mib"; + list entity-physical-index { + key "entity-phynum"; + description + "SNMP entPhysical index number"; + leaf entity-phynum { + type xr:Cisco-ios-xr-string; + description + "Entity physical index"; + } + uses ENTMIB-NODE2PATH-INFO; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entstatemib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entstatemib-cfg.yang new file mode 100644 index 0000000..ce25a05 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-entstatemib-cfg.yang @@ -0,0 +1,61 @@ +module Cisco-IOS-XR-snmp-entstatemib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-entstatemib-cfg"; + prefix snmp-entstatemib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-entstatemib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-27 { + description + "IOS XR 6.0.0 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container entity-state { + description + "ENTITY-STATE-MIB notification configuration"; + leaf switchover { + type empty; + description + "Enable ceStateExtStandbySwitchover notification"; + } + leaf oper-status { + type empty; + description + "Enable entStateOperEnable and + entStateOperDisable notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang new file mode 100644 index 0000000..2249284 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-frucontrolmib-cfg.yang @@ -0,0 +1,52 @@ +module Cisco-IOS-XR-snmp-frucontrolmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-frucontrolmib-cfg"; + prefix snmp-frucontrolmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-frucontrolmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container fru-control { + description + "CISCO-ENTITY-FRU-CONTROL-MIB notification + configuration"; + leaf enable { + type empty; + description + "Enable ciscoEntityFRUControlMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-cfg.yang new file mode 100644 index 0000000..c000b35 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-cfg.yang @@ -0,0 +1,171 @@ +module Cisco-IOS-XR-snmp-ifmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg"; + prefix snmp-ifmib-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-ifmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg, + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-05-14 { + description + "IOS XR 5.3.2 revision."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container interface-mib { + description + "Interface MIB configuration"; + container interfaces { + description + "Enter the SNMP interface configuration commands"; + list interface { + key "interface-name"; + description + "Interface to configure"; + leaf link-up-down { + type boolean; + description + "Enable or disable LinkUpDown notification"; + } + leaf index-persistence { + type boolean; + description + "Enable or disable index persistence"; + } + leaf interface-name { + type xr:Interface-name; + description + "The name of the interface"; + } + } + } + container notification { + description + "MIB notification configuration"; + leaf link-ietf { + type empty; + description + "Set the varbind of linkupdown trap to the RFC + specified varbinds (default cisco)"; + } + } + container subsets { + description + "Add configuration for an interface subset"; + list subset { + key "subset-id"; + description + "Subset priorityID to group ifNames based on + Regular Expression"; + container link-up-down { + description + "SNMP linkUp and linkDown notifications"; + leaf enable { + type boolean; + description + "Enable or disable linkupdown notification"; + } + leaf regular-expression { + type string; + description + "Regular expression to match ifName"; + } + } + leaf subset-id { + type uint32 { + range "1..255"; + } + description + "The interface subset PriorityID"; + } + } + } + leaf internal-cache { + type uint32 { + range "0..60"; + } + default "15"; + description + "Get cached interface statistics"; + } + leaf interface-alias-long { + type empty; + description + "Enable support for ifAlias values longer than + 64 characters"; + } + leaf ip-subscriber { + type empty; + description + "Enable IP subscriber interfaces in IFMIB"; + } + leaf interface-index-persistence { + type empty; + description + "Enable ifindex persistence"; + } + leaf statistics-cache { + type empty; + description + "Enable cached interface statistics"; + } + } + } + augment "/a1:snmp/a1:notification/a1:snmp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + leaf link-down { + type empty; + description + "Enable link down notification"; + } + } + augment "/a1:snmp/a1:notification/a1:snmp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + leaf link-up { + type empty; + description + "Enable link up notification"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang new file mode 100644 index 0000000..1afde8c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper-sub1.yang @@ -0,0 +1,106 @@ +submodule Cisco-IOS-XR-snmp-ifmib-oper-sub1 { + belongs-to Cisco-IOS-XR-snmp-ifmib-oper { + prefix Cisco-IOS-XR-snmp-ifmib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-ifmib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Link-up-down-status { + type enumeration { + enum "enabled" { + value 1; + description + "LinkUpDown notification is enabled"; + } + enum "disabled" { + value 2; + description + "LinkUpDown notification is disabled"; + } + } + description + "Link up down status"; + } + + grouping IFMIB-IFSTACKSTATUS-ENTRY { + description + "IF-MIB ifStackStatus entry"; + leaf if-stack-higher-layer { + type string; + description + "Higher Layer Index"; + } + leaf if-stack-lower-layer { + type string; + description + "Lowyer Layer Index"; + } + leaf if-stack-status { + type string; + description + "Interface ifStackStaus info"; + } + } + + grouping IFMIB-NOTIF-STATUS-ENTRY { + description + "IF-MIB ifname ifindex entry"; + leaf link-up-down-notif-status { + type Link-up-down-status; + description + "LinkUpDown notification status"; + } + } + + grouping IFMIB-IFALIAS-ENTRY { + description + "IF-MIB ifalias entry"; + leaf if-alias { + type string; + description + "Interface ifAlias"; + } + } + + grouping IFMIB-IFCONNECTORPRESENT-ENTRY { + description + "IF-MIB ifConnectorPresent entry"; + leaf if-connector-present { + type string; + description + "Interface ifConnector"; + } + } + + grouping IFMIB-IFNAME-IFINDEX-ENTRY { + description + "IF-MIB ifname ifindex entry"; + leaf if-index { + type uint32; + description + "Interface Index"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper.yang new file mode 100644 index 0000000..f3e48b2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-ifmib-oper.yang @@ -0,0 +1,128 @@ +module Cisco-IOS-XR-snmp-ifmib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-oper"; + prefix snmp-ifmib-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-oper { + prefix a1; + } + include Cisco-IOS-XR-snmp-ifmib-oper-sub1 { + revision-date 2015-01-07; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-ifmib package operational data. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:snmp" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-snmp-agent-oper'"; + container interface-mib { + description + "SNMP IF-MIB information"; + container interfaces { + description + "Interfaces ifIndex information"; + list interface { + key "interface-name"; + description + "ifIndex for a specific Interface Name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IFMIB-IFNAME-IFINDEX-ENTRY; + } + } + container interface-connectors { + description + "Interfaces ifConnectorPresent information"; + list interface-connector { + key "interface-name"; + description + "ifConnectorPresent for a specific Interface + Name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IFMIB-IFCONNECTORPRESENT-ENTRY; + } + } + container interface-aliases { + description + "Interfaces ifAlias information"; + list interface-alias { + key "interface-name"; + description + "ifAlias for a specific Interface Name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IFMIB-IFALIAS-ENTRY; + } + } + container notification-interfaces { + description + "Interfaces Notification information"; + list notification-interface { + key "interface-name"; + description + "Notification for specific Interface Name"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses IFMIB-NOTIF-STATUS-ENTRY; + } + } + container interface-stack-statuses { + description + "Interfaces ifstackstatus information"; + list interface-stack-status { + key "interface-stack-status"; + description + "ifstatus for a pair of Interface"; + leaf interface-stack-status { + type xr:Cisco-ios-xr-string; + description + "StackHigherLayer.StackLowerLayer"; + } + uses IFMIB-IFSTACKSTATUS-ENTRY; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang new file mode 100644 index 0000000..7fd1c18 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-mib-rfmib-cfg.yang @@ -0,0 +1,55 @@ +module Cisco-IOS-XR-snmp-mib-rfmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-mib-rfmib-cfg"; + prefix snmp-mib-rfmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-mib-rfmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-13 { + description + "Descriptions updated."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container rf { + description + "CISCO-RF-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable ciscoRFMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang new file mode 100644 index 0000000..3af9099 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub1.yang @@ -0,0 +1,106 @@ +submodule Cisco-IOS-XR-snmp-sensormib-oper-sub1 { + belongs-to Cisco-IOS-XR-snmp-sensormib-oper { + prefix Cisco-IOS-XR-snmp-sensormib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-sensormib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SNMP-SENSOR-INFO-XML { + description + "SNMP sensor Info"; + leaf field-validity-bitmap { + type uint32; + description + "Sensor valid bitmap"; + } + leaf device-description { + type string { + length "0..64"; + } + description + "Device Name"; + } + leaf units { + type string { + length "0..64"; + } + description + "Units of variable being read"; + } + leaf device-id { + type uint32; + description + "Identifier for this device"; + } + leaf value { + type uint32; + description + "Current reading of sensor"; + } + leaf alarm-type { + type uint32; + description + "Indicates threshold violation"; + } + leaf data-type { + type uint32; + description + "Sensor data type enums"; + } + leaf scale { + type uint32; + description + "Sensor scale enums"; + } + leaf precision { + type uint32; + description + "Sensor precision range"; + } + leaf status { + type uint32; + description + "Sensor operation state enums"; + } + leaf age-time-stamp { + type uint32; + description + "Age of the sensor value; set to the current time + if directly access the value from sensor"; + } + leaf update-rate { + type uint32; + description + "Sensor value update rate;set to 0 if sensor + value is updated and evaluated immediately"; + } + leaf measured-entity { + type uint32; + description + "physical entity for which the sensor is taking + measurements"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang new file mode 100644 index 0000000..c6d9bab --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper-sub2.yang @@ -0,0 +1,62 @@ +submodule Cisco-IOS-XR-snmp-sensormib-oper-sub2 { + belongs-to Cisco-IOS-XR-snmp-sensormib-oper { + prefix Cisco-IOS-XR-snmp-sensormib-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR snmp-sensormib package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ENVMON-THRESHOLD-INFO { + description + "ENVMON threshold Info"; + leaf threshold-severity { + type uint32; + description + "Indicates minor, major, critical severities"; + } + leaf threshold-relation { + type uint32; + description + "Indicates relation between sensor value and + threshold"; + } + leaf threshold-value { + type uint32; + description + "Value of the configured threshold"; + } + leaf threshold-evaluation { + type boolean; + description + "Indicates the result of the most recent + evaluation of the thresholD"; + } + leaf threshold-notification-enabled { + type boolean; + description + "Indicates whether or not a notification should + result, in case of threshold violation"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper.yang new file mode 100644 index 0000000..c22ead1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-sensormib-oper.yang @@ -0,0 +1,104 @@ +module Cisco-IOS-XR-snmp-sensormib-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-sensormib-oper"; + prefix snmp-sensormib-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-oper { + prefix a1; + } + include Cisco-IOS-XR-snmp-sensormib-oper-sub2 { + revision-date 2015-11-09; + } + include Cisco-IOS-XR-snmp-sensormib-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-sensormib package operational data. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-snmp-agent-oper'"; + container sensor-mib { + description + "SNMP sensor MIB information"; + container physical-indexes { + description + "List of physical index table for threshold + value"; + list physical-index { + key "index"; + description + "Threshold value for physical index"; + container threshold-indexes { + description + "List of threshold index"; + list threshold-index { + description + "Threshold value for threshold index"; + leaf phy-index { + type xr:Cisco-ios-xr-string; + description + "Physical Index"; + } + leaf thre-index { + type xr:Cisco-ios-xr-string; + description + "Threshold index"; + } + uses ENVMON-THRESHOLD-INFO; + } + } + leaf index { + type xr:Cisco-ios-xr-string; + description + "Physical index"; + } + } + } + container ent-phy-indexes { + description + "List of physical index "; + list ent-phy-index { + key "index"; + description + "Sensor value for physical index"; + leaf index { + type xr:Cisco-ios-xr-string; + description + "Physical index"; + } + uses SNMP-SENSOR-INFO-XML; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-syslogmib-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-syslogmib-cfg.yang new file mode 100644 index 0000000..58a764c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-syslogmib-cfg.yang @@ -0,0 +1,55 @@ +module Cisco-IOS-XR-snmp-syslogmib-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-syslogmib-cfg"; + prefix snmp-syslogmib-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR snmp-syslogmib package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-12-01 { + description + "IOS XR 6.0 revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container syslog { + description + "CISCO-SYSLOG-MIB notification configuration"; + leaf enable { + type empty; + description + "Enable ciscoSyslogMIB notifications"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-test-trap-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-test-trap-act.yang new file mode 100644 index 0000000..d70292c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-snmp-test-trap-act.yang @@ -0,0 +1,474 @@ +module Cisco-IOS-XR-snmp-test-trap-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act"; + prefix snmp-test-trap-act; + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + Copyright (c) 2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-10-25 { + description + "IOS XR 6.2.1 revision."; + } + + rpc snmp-cold-start { + description + "Generate SNMPv2-MIB::coldStart"; + } + rpc snmp-warm-start { + description + "Generate SNMPv2-MIB::warmStart"; + } + rpc interface-link-up { + description + "Generate IF-MIB::linkUp"; + input { + leaf ifindex { + type uint32 { + range "1..2147483647"; + } + description + "interface index for which to generate LinkUp trap"; + } + } + } + rpc interface-link-down { + description + "Generate IF-MIB::linkDown"; + input { + leaf ifindex { + type uint32 { + range "1..2147483647"; + } + description + "interface index for which to generate LinkDown trap"; + } + } + } + rpc sonet-section-status { + description + "Generate CISCO-SONET-MIB::ciscoSonetSectionStatusChange"; + input { + leaf ifindex { + type uint32 { + range "1..2147483647"; + } + description + "interface index for which to generate ciscoSonetSectionStatusChange trap"; + } + } + } + rpc sonet-line-status { + description + "Generate CISCO-SONET-MIB::ciscoSonetLineStatusChange"; + input { + leaf ifindex { + type uint32 { + range "1..2147483647"; + } + description + "interface index for which to generate ciscoSonetLineStatusChange trap"; + } + } + } + rpc sonet-path-status { + description + "Generate CISCO-SONET-MIB::ciscoSonetPathStatusChange"; + input { + leaf ifindex { + type uint32 { + range "1..2147483647"; + } + description + "interface index for which to generate ciscoSonetPathStatusChange trap"; + } + } + } + rpc infra-syslog-message-generated { + description + "Generate CISCO-SYSLOG-MIB::clogMessageGenerated"; + } + rpc infra-flash-device-inserted { + description + "Generate CISCO-FLASH-MIB::ciscoFlashDeviceInsertedNotif"; + } + rpc infra-flash-device-removed { + description + "Generate CISCO-FLASH-MIB::ciscoFlashDeviceRemovedNotif"; + } + rpc infra-redundancy-progression { + description + "Generate CISCO-RF-MIB::ciscoRFProgressionNotif"; + } + rpc infra-redundancy-switch { + description + "Generate CISCO-RF-MIB::ciscoRFSwactNotif"; + } + rpc infra-bridge-new-root { + description + "Generate BRIDGE-MIB::newRoot"; + } + rpc infra-bridge-topology-change { + description + "Generate BRIDGE-MIB::topologyChange"; + } + rpc infra-config-event { + description + "Generate CISCO-CONFIG-MAN-MIB::ciscoConfigManEvent"; + } + rpc entity-sensor-threshold-notification { + description + "Generate CISCO-ENTITY-SENSOR-MIB::entSensorThresholdNotification"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-power-status-change-failed { + description + "oper status changed to failed"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-module-status-change-up { + description + "fu trap module status changed as ok"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-module-status-change-down { + description + "fu trap module status changed as failed"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-fan-tray-oper-status-up { + description + "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayStatusChange"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-fan-tray-inserted { + description + "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUInserted"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc entity-fru-fan-tray-removed { + description + "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRURemoved"; + input { + leaf entindex { + type uint32 { + range "1..2147483647"; + } + description + "entity Physical Index for which to generate trap"; + } + } + } + rpc platform-hfr-bundle-downed-link { + description + "Generate CISCO-FABRIC-HFR-MIB::cfhBundleDownedLinkNotification"; + input { + leaf bundle-name { + type string; + description + "bundle name for which to generate the trap"; + } + } + } + rpc platform-hfr-bundle-state { + description + "Generate CISCO-FABRIC-HFR-MIB::cfhBundleStateNotification"; + input { + leaf bundle-name { + type string; + description + "bundle name for which to generate the trap"; + } + } + } + rpc platform-hfr-plane-state { + description + "Generate CISCO-FABRIC-HFR-MIB::cfhPlaneStateNotification"; + input { + leaf plane-id { + type uint32; + description + "plane identifier for which to generate the trap"; + } + } + } + rpc routing-bgp-established { + description + "Generate BGP4-MIB::bglEstablishedNotification"; + } + rpc routing-bgp-established-remote-peer { + description + "Generate BGP4-MIB::bglEstablishedNotification remote peer"; + input { + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "BGP remote peer IP address for which to generate the trap"; + } + } + } + rpc routing-bgp-state-change { + description + "Generate CISCO-BGP-MIB::cbgpBackwardTransition"; + } + rpc routing-bgp-state-change-remote-peer { + description + "Generate CISCO-BGP-MIB::cbgpBackwardTransition remote peer"; + input { + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "BGP remote peer IP address for which to generate the trap"; + } + } + } + rpc routing-ospf-neighbor-state-change { + description + "Generate OSPF-TRAP-MIB::ospfNbrStateChange"; + } + rpc routing-ospf-neighbor-state-change-address { + description + "Generate OSPF-TRAP-MIB::ospfNbrStateChange address"; + input { + leaf address { + type inet:ipv4-address-no-zone; + mandatory true; + description + "neighbor's IP source address for which to generate the trap"; + } + leaf ifindex { + type uint32 { + range "0..2147483647"; + } + mandatory true; + description + "0 for interfaces having IP addresses or IF-MIB ifindex of addressless interface"; + } + } + } + rpc routing-mpls-ldp-session-down { + description + "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown"; + } + rpc routing-mpls-ldp-session-down-entity-id { + description + "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown entity-id"; + input { + leaf entity-id { + type string { + length "23"; + } + mandatory true; + description + "entity ldp-id in x.x.x.x.y.y format where x.x.x.x is the entity IP address and y.y is the label space"; + } + leaf entity-index { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "entity index for which to generate the trap"; + } + leaf peer-id { + type string { + length "23"; + } + mandatory true; + description + "peer ldp-id in x.x.x.x.y.y format where x.x.x.x is the entity IP address and y.y is the label space"; + } + } + } + rpc routing-mpls-tunnel-re-routed { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted"; + } + rpc routing-mpls-tunnel-re-routed-index { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted index"; + input { + leaf index { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel index for which to generate the trap"; + } + leaf instance { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel instance for which to generate the trap"; + } + leaf source { + type inet:ipv4-address-no-zone; + mandatory true; + description + "source address for which to generate the trap"; + } + leaf destination { + type inet:ipv4-address-no-zone; + mandatory true; + description + "destination address for which to generate the trap"; + } + } + } + rpc routing-mpls-tunnel-re-optimized { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized"; + } + rpc routing-mpls-tunnel-re-optimized-index { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized index"; + input { + leaf index { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel index for which to generate the trap"; + } + leaf instance { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel instance for which to generate the trap"; + } + leaf source { + type inet:ipv4-address-no-zone; + mandatory true; + description + "source address for which to generate the trap"; + } + leaf destination { + type inet:ipv4-address-no-zone; + mandatory true; + description + "destination address for which to generate the trap"; + } + } + } + rpc routing-mpls-tunnel-down { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelDown"; + } + rpc routing-mpls-tunnel-down-index { + description + "Generate MPLS-TE-STD-MIB::mplsTunnelDown index"; + input { + leaf index { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel index for which to generate the trap"; + } + leaf instance { + type uint32 { + range "0..65535"; + } + mandatory true; + description + "tunnel instance for which to generate the trap"; + } + leaf source { + type inet:ipv4-address-no-zone; + mandatory true; + description + "src address"; + } + leaf destination { + type inet:ipv4-address-no-zone; + mandatory true; + description + "destination address for which to generate the trap"; + } + } + } + rpc all { + description + "generate all the supported traps"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-corehelper-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-corehelper-cfg.yang new file mode 100644 index 0000000..19d96ba --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-corehelper-cfg.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-spirit-corehelper-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-corehelper-cfg"; + prefix spirit-corehelper-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR spirit-corehelper package configuration. + + This module contains definitions + for the following management objects: + exception: Core dump configuration commands + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container exception { + description + "Core dump configuration commands"; + container file { + description + "Container for the order of preference"; + leaf choice2 { + type string; + description + "Preference of the dump location"; + } + leaf choice1 { + type string; + description + "Preference of the dump location"; + } + leaf choice3 { + type string; + description + "Preference of the dump location"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-fpd-infra-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-fpd-infra-cfg.yang new file mode 100644 index 0000000..696c934 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-spirit-fpd-infra-cfg.yang @@ -0,0 +1,59 @@ +module Cisco-IOS-XR-spirit-fpd-infra-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-fpd-infra-cfg"; + prefix spirit-fpd-infra-cfg; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR spirit-fpd-infra package configuration. + + This module contains definitions + for the following management objects: + fpd: Configuration for fpd auto-upgrade enable/disable + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Auto-upgrade { + type enumeration { + enum "disable" { + value 0; + description + "fpd auto-upgrade disable"; + } + enum "enable" { + value 1; + description + "fpd auto-upgrade enable"; + } + } + description + "Auto upgrade"; + } + + container fpd { + description + "Configuration for fpd auto-upgrade enable/disable"; + leaf auto-upgrade { + type Auto-upgrade; + description + "Variable for fpd auto-upgrade enable/disable"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper-sub1.yang new file mode 100644 index 0000000..3d55381 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper-sub1.yang @@ -0,0 +1,273 @@ +submodule Cisco-IOS-XR-sse-span-oper-sub1 { + belongs-to Cisco-IOS-XR-sse-span-oper { + prefix Cisco-IOS-XR-sse-span-oper; + } + + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR sse-span package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SSE-SPAN-EA-SDT-BAG { + description + "SPAN Session Information"; + leaf valid { + type uint8; + description + "marks validity of entry"; + } + leaf id { + type uint32; + description + "Numerical ID assigned to session"; + } + leaf state { + type uint32; + description + "session state"; + } + leaf class { + type uint32; + description + "session Class gre,ipv4,ipv6"; + } + leaf ifhandle { + type uint32; + description + "ifhandle of interface"; + } + leaf mode { + type uint32; + description + "Tunnel mode"; + } + leaf ip-type { + type uint32; + description + "IP type v4 or v6 "; + } + leaf vrf-id { + type uint32; + description + "Vrf Id"; + } + leaf tos-bit { + type uint32; + description + "type of service"; + } + leaf tos-bit-copied { + type uint32; + description + "type of service copied"; + } + leaf ttl { + type uint32; + description + "TTL"; + } + leaf dfbit { + type uint32; + description + "DF bit"; + } + leaf-list src-ip { + type uint32; + max-elements "4"; + description + "src ip v4 or v6"; + } + leaf-list dst-ip { + type uint32; + max-elements "4"; + description + "dst ip v4 or v6"; + } + leaf-list sdt-hw-data { + type uint32; + max-elements "20"; + description + "16x5npu=80 bytes of hw sdt entry"; + } + } + + grouping SSE-SPAN-EA-UDF-BAG { + description + "UDF Information"; + leaf-list udf-hdr { + type uint32; + max-elements "8"; + description + "udf header"; + } + leaf-list udf-type { + type uint32; + max-elements "8"; + description + "udf type"; + } + leaf-list udf-len { + type uint32; + max-elements "8"; + description + "udf len"; + } + leaf-list udf-value { + type uint32; + max-elements "8"; + description + "udf value"; + } + leaf-list udf-hw-data { + type uint32; + max-elements "20"; + description + "16x5npu=80 bytes of hw udf entry"; + } + } + + grouping SSE-SPAN-EA-SFT-BAG { + description + "SPAN Session SFT Information"; + leaf src-ifh { + type uint32; + description + "source IFH"; + } + leaf intf-name-xr { + type yang:hex-string; + description + "interface name"; + } + leaf v4-acl-flag { + type uint32; + description + "ipv4 acl flag"; + } + leaf v6-acl-flag { + type uint32; + description + "ipv6 acl flag"; + } + leaf gre-acl-flag { + type uint32; + description + "gre acl flag"; + } + leaf v4state { + type uint32; + description + "ipv4 state"; + } + leaf v6state { + type uint32; + description + "ipv6 state"; + } + leaf gre-state { + type uint32; + description + "gre state"; + } + leaf v4sessid { + type uint32; + description + "ipv4 session Id"; + } + leaf v6sessid { + type uint32; + description + "ipv6 session Id"; + } + leaf gre-sessid { + type uint32; + description + "gre session Id"; + } + leaf v4dst-type { + type uint32; + description + "ipv4 dst type"; + } + leaf v6dst-type { + type uint32; + description + "ipv6 dst type"; + } + leaf gredst-type { + type uint32; + description + "gre dst type"; + } + leaf v4statsptr { + type uint32; + description + "v4 stats ptr"; + } + leaf v6statsptr { + type uint32; + description + "v6 stats ptr"; + } + leaf grev4statsptr { + type uint32; + description + "mpls ipv4 stats ptr"; + } + leaf grev6statsptr { + type uint32; + description + "mpls ipv6 stats ptr"; + } + leaf mplsv4stats { + type uint32; + description + "mpls ipv4 pkts"; + } + leaf mplsv6pkts { + type uint32; + description + "mpls ipv6 pkts"; + } + leaf np-umask { + type uint32; + description + "npu mask"; + } + leaf-list uidb { + type uint32; + max-elements "5"; + description + "uidb array "; + } + leaf-list sft-hw-data { + type uint32; + max-elements "20"; + description + "16x5npu=80 bytes of hw sft entry"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper.yang new file mode 100644 index 0000000..e0254b1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sse-span-oper.yang @@ -0,0 +1,99 @@ +module Cisco-IOS-XR-sse-span-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sse-span-oper"; + prefix sse-span-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-sse-span-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR sse-span package operational data. + + This module contains definitions + for the following management objects: + ssespan: SSE SPAN operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ssespan { + config false; + description + "SSE SPAN operational data"; + container nodes { + description + "Node table for node-specific operational data"; + list node { + key "node"; + description + "Node-specific data for a particular node"; + container span-mirr-infos { + description + "SPAN SFT entry"; + list span-mirr-info { + key "intf-name"; + description + "Mirror info "; + leaf intf-name { + type xr:Interface-name; + description + "interface name"; + } + uses SSE-SPAN-EA-SFT-BAG; + } + } + container spanudf { + description + "udf info"; + uses SSE-SPAN-EA-UDF-BAG; + } + container span-sess-infos { + description + "SPAN SDT entry"; + list span-sess-info { + key "session-id session-class"; + description + "Session info "; + leaf session-id { + type int32; + description + "Session Id"; + } + leaf session-class { + type int32; + description + "Session class"; + } + uses SSE-SPAN-EA-SDT-BAG; + } + } + leaf node { + type xr:Node-id; + description + "Node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-cfg.yang new file mode 100644 index 0000000..f99a468 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-cfg.yang @@ -0,0 +1,282 @@ +module Cisco-IOS-XR-subscriber-accounting-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-cfg"; + prefix subscriber-accounting-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-accounting package configuration. + + This module contains definitions + for the following management objects: + subscriber-accounting: Subscriber Configuration + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ACCOUNTING { + description + "Common node of subscriber-service, ip-subscriber"; + container accounting { + description + "Subscriber accounting dynamic-template commands"; + container service-accounting { + description + "Subscriber accounting service accounting"; + leaf method-list-name { + type string; + description + "Service accounting method list name"; + } + leaf accounting-interim-interval { + type int32; + units "minute"; + description + "Accounting interim interval in minutes"; + } + } + container session { + description + "Subscriber accounting session accounting"; + leaf method-list-name { + type string; + description + "Session accounting method list name"; + } + leaf periodic-interval { + type int32; + units "minute"; + description + "Interim accounting interval in minutes"; + } + leaf dual-stack-delay { + type int32; + units "second"; + description + "Dual stack wait delay in seconds"; + } + leaf hold-acct-start { + type int32; + description + "Hold Accounting start based on IA_PD"; + } + } + container idle-timeout { + description + "Subscriber accounting idle timeout"; + leaf timeout-value { + type uint32 { + range "60..4320000"; + } + units "second"; + description + "Idle timeout value in seconds"; + } + leaf threshold { + type uint32 { + range "1..10000"; + } + description + "Threshold in minute(s) per packet"; + } + leaf direction { + type string; + description + "Idle timeout traffic direction"; + } + } + leaf prepaid-feature { + type string; + description + "Subscriber accounting prepaid feature"; + } + } + } + + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + container accounting { + description + "Subscriber accounting dynamic-template commands"; + container idle-timeout { + description + "Subscriber accounting idle timeout"; + leaf timeout-value { + type uint32 { + range "60..4320000"; + } + description + "Idle timeout value in seconds"; + } + leaf threshold { + type uint32 { + range "1..10000"; + } + description + "Threshold in minute(s) per packet"; + } + leaf direction { + type string; + description + "Idle timeout traffic direction"; + } + } + container session { + description + "Subscriber accounting session accounting"; + leaf method-list-name { + type string; + description + "Session accounting method list name"; + } + leaf periodic-interval { + type int32; + description + "Interim accounting interval in minutes"; + } + leaf dual-stack-delay { + type int32; + description + "Dual stack wait delay in seconds"; + } + leaf hold-acct-start { + type int32; + description + "Hold Accounting start based on IA_PD"; + } + } + container service-accounting { + description + "Subscriber accounting service accounting"; + leaf method-list-name { + type string; + description + "Service accounting method list name"; + } + leaf accounting-interim-interval { + type int32; + description + "Accounting interim interval in minutes"; + } + } + leaf prepaid-feature { + type string; + description + "Subscriber accounting prepaid feature"; + } + } + } + augment "/a1:dynamic-template/a1:ip-subscribers/a1:ip-subscriber" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses ACCOUNTING; + } + augment "/a1:dynamic-template/a1:subscriber-services/a1:subscriber-service" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + uses ACCOUNTING; + } + container subscriber-accounting { + description + "Subscriber Configuration"; + container prepaid-configurations { + description + "Subscriber Prepaid Feature Configuration"; + list prepaid-configuration { + key "prepaid-config-name"; + description + "Prepaid configuration name or default"; + leaf password { + type string { + length "1..64"; + } + description + "Password to be used when placing prepaid + (re)authorization requests"; + } + leaf volume-threshold { + type int32; + description + "Threshold at which to send prepaid volume + quota request"; + } + leaf accounting-method-list { + type string { + length "1..64"; + } + description + "Method list to be used when placing prepaid + accounting requests"; + } + leaf time-hold { + type int32; + description + "Idle Threshold for which prepaid quota is + valid"; + } + leaf author-method-list { + type string { + length "1..64"; + } + description + "Method list to be used when placing prepaid + (re)authorization requests"; + } + leaf traffic-direction { + type string; + description + "Prepaid quota traffic direction"; + } + leaf time-threshold { + type int32; + description + "Threshold at which to send prepaid time quota + request"; + } + leaf time-valid { + type int32; + description + "Threshold for which prepaid quota is valid"; + } + leaf prepaid-config-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Prepaid configuration name or default"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang new file mode 100644 index 0000000..6230a0b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper-sub1.yang @@ -0,0 +1,824 @@ +submodule Cisco-IOS-XR-subscriber-accounting-oper-sub1 { + belongs-to Cisco-IOS-XR-subscriber-accounting-oper { + prefix Cisco-IOS-XR-subscriber-accounting-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR subscriber-accounting package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping ACCT-MA-FLOW-FEAT-BAG-DATA { + description + "ACCT MA FLOW FEAT BAG DATA"; + leaf flow-accounting-enabled-flag { + type boolean; + description + "True if flow accounting is enabled"; + } + leaf flow-idle-timeout-enabled-flag { + type boolean; + description + "True if flow idle timeout is enabled"; + } + leaf prepaid-enabled-flag { + type boolean; + description + "True if prepaid is enabled"; + } + leaf prepaid-reauth-timer-enabled { + type boolean; + description + "Flag to specify if absolute timeout for ervice + is enabled."; + } + leaf prepaid-idle-timeout-enabled { + type boolean; + description + "Flag to specify if idle timeout for service is + enabled"; + } + leaf prepaid-final-unit { + type boolean; + description + "Prepaid final unit indication flag"; + } + leaf unique-class-label { + type uint32; + description + "Unique class label used to identify the flow"; + } + leaf flow-direction { + type uint32; + description + "Direction of the flow. 0 = Ingress, 1 = Egress"; + } + leaf flow-accounting-periodic-interval { + type uint32; + description + "Flow accounting periodic interval"; + } + leaf flow-idle-timeout-value { + type uint32; + units "second"; + description + "Flow idle timeout value in seconds"; + } + leaf prepaid-time-quota { + type uint32; + units "second"; + description + "Current prepaid time quota in seconds"; + } + leaf prepaid-time-threshold { + type uint32; + units "second"; + description + "Current prepaid time threshold in seconds"; + } + leaf prepaid-total-time-quota { + type uint32; + description + "Total accumulated prepaid time quota"; + } + leaf prepaid-volume-threshold { + type uint32; + units "byte"; + description + "Current prepaid volume threshold in bytes"; + } + leaf prepaid-remaining-qt { + type uint32; + description + "The time remaing for QT timer to fire."; + } + leaf prepaid-remaining-qat { + type uint32; + description + "The time remaing for quota absolute timer to + fire."; + } + leaf prepaid-remaining-qit { + type uint32; + description + "The time remaing for quota holding timer to fire + ."; + } + leaf prepaid-remaining-qtt { + type uint32; + description + "The time remaining for tariff timer to fire."; + } + leaf prepaid-remaining-wheel { + type uint32; + description + "The time remaining for idle timer wheel to fire."; + } + leaf prepaid-tariff-time { + type uint32; + description + "The absolute time at which the traffic switch + will occur expressed in UNIX time"; + } + leaf prepaid-idle-timeout-value { + type uint32; + units "second"; + description + "Prepaid idle timeout value in seconds"; + } + leaf prepaid-reauth-timeout-value { + type uint32; + description + "The time at which the re-authorization will + occur"; + } + leaf prepaid-ccfh { + type uint32; + description + "Prepaid CCFH flag"; + } + leaf prepaid-result-code { + type uint32; + description + "Prepaid authorization operation result code"; + } + leaf prepaid-volumei-quota { + type uint64; + units "byte"; + description + "Current prepaid input volume quota in bytes"; + } + leaf prepaid-volumeo-quota { + type uint64; + units "byte"; + description + "Current prepaid output volume quota in bytes"; + } + leaf prepaid-volumeb-quota { + type uint64; + units "byte"; + description + "Current prepaid total volume quota in bytes"; + } + leaf prepaid-total-volumei-quota { + type uint64; + units "byte"; + description + "Total accumulated input volume quota in bytes"; + } + leaf prepaid-total-volumeo-quota { + type uint64; + units "byte"; + description + "Total accumulated output volume quota in bytes"; + } + leaf prepaid-total-volumeb-quota { + type uint64; + units "byte"; + description + "Total accumulated total volume quota in bytes"; + } + leaf prepaid-volume-usedi-quota { + type uint64; + units "byte"; + description + "Accumulated input volume used quota in bytes"; + } + leaf prepaid-volume-usedo-quota { + type uint64; + units "byte"; + description + "Accumulated output volume used quota in bytes"; + } + leaf prepaid-volume-refi-quota { + type uint64; + units "byte"; + description + "Accumulated input volume reference quota in + bytes"; + } + leaf prepaid-volume-refo-quota { + type uint64; + units "byte"; + description + "Accumulated output volume reference quota in + bytes"; + } + leaf prepaid-volume-refb-quota { + type uint64; + units "byte"; + description + "Accumulated bi-directional volume reference + quota in bytes"; + } + leaf prepaid-volume-newi-quota { + type uint64; + units "byte"; + description + "Newly arrvied input volume quota in bytes"; + } + leaf prepaid-volume-newo-quota { + type uint64; + units "byte"; + description + "Newly arrvied output volume quota in bytes"; + } + leaf prepaid-volume-newb-quota { + type uint64; + units "byte"; + description + "Newly arrvied bi-directional volume quota in + bytes"; + } + leaf prepaid-tariff-volumei-quota { + type uint64; + units "byte"; + description + "Total accumulated prepaid pre-tarrif input + volume quota in bytes"; + } + leaf prepaid-tariff-volumeo-quota { + type uint64; + units "byte"; + description + "Total accumulated prepaid pre-tarrif output + volume quota in bytes"; + } + leaf prepaid-tariff-volumeb-quota { + type uint64; + units "byte"; + description + "Total accumulated prepaid pre-tarrif total + volume quota in bytes"; + } + leaf flow-accounting-method-list-name { + type string { + length "0..256"; + } + description + "Flow accounting method list name"; + } + leaf prepaid-cfg { + type string { + length "0..256"; + } + description + "Prepaid Config"; + } + leaf prepaid-time-state { + type string { + length "0..256"; + } + description + "Prepaid time state machine state"; + } + leaf prepaid-volume-state { + type string { + length "0..256"; + } + description + "Prepaid volume state machine state"; + } + leaf prepaid-charging-rule { + type string { + length "0..256"; + } + description + "Prepaid charging rule name string"; + } + } + + grouping ACCT-MA-FLOW-FEATURES { + description + "ACCT MA FLOW FEATURES"; + container flow-feature-data { + description + "Accouting flow feature display data"; + uses ACCT-MA-FLOW-FEAT-BAG-DATA; + } + } + + grouping ACCT-MA-CTX-BAG-SUM-COUNTS { + description + "ACCT MA CTX BAG SUM COUNTS"; + leaf active-sessions { + type uint32; + description + "Number of Active Sessions"; + } + leaf disconnected-sessions { + type uint32; + description + "Number of Disconnected Sessions"; + } + leaf active-session-accounting-sessions { + type uint32; + description + "Number of Active Sessions with Accounting"; + } + leaf active-flows { + type uint32; + description + "Number of Active Flows"; + } + leaf quota-received { + type uint32; + description + "Number of flows for which Quota is received"; + } + } + + grouping ACCT-MA-SESS-TO-BAG-SUM-COUNTS { + description + "ACCT MA SESS TO BAG SUM COUNTS"; + leaf active-session-timers { + type uint32; + description + "Number of Active Session Timers"; + } + leaf expired-session-timers { + type uint32; + description + "Number of Expired Session Timers"; + } + } + + grouping ACCT-MA-IDLE-TO-BAG-SUM-COUNTS { + description + "ACCT MA IDLE TO BAG SUM COUNTS"; + leaf active-session-idle-timers { + type uint32; + description + "Number of Sessions with Idle Timeout Feature"; + } + leaf idle-sessions { + type uint32; + description + "Number of Idle Sessions"; + } + leaf transitions-to-idle { + type uint32; + description + "Number of Sessions Transitions to Idle State"; + } + leaf transitions-to-awake { + type uint32; + description + "Number of Sessions Transitions to Awake State"; + } + leaf active-flow-idle-timers { + type uint32; + description + "Number of Active Flow Idle Timers"; + } + leaf expired-flow-idle-timers { + type uint32; + description + "Number of Flow Expired Idle Timers"; + } + leaf active-prepaid-idle-timers { + type uint32; + description + "Number of Active Prepaid Idle Timers"; + } + leaf expired-prepaid-idle-timers { + type uint32; + description + "Number of Expired Prepaid Idle Timers"; + } + } + + grouping ACCT-MA-AAA-BAG-SUM-COUNTS { + description + "ACCT MA AAA BAG SUM COUNTS"; + leaf flow-start { + type uint32; + description + "Number of Flow Start Requests Sent"; + } + leaf flow-disconnect { + type uint32; + description + "Number of Flow Disconnect Requests Sent"; + } + leaf session-accounting-start { + type uint32; + description + "Number of Session Accounting Start Requests Sent"; + } + leaf session-accounting-stop { + type uint32; + description + "Number of Session Accounting Stop Requests Sent"; + } + leaf session-accounting-update { + type uint32; + description + "Number of Session Accounting Update Requests + Sent"; + } + leaf service-accounting-start { + type uint32; + description + "Number of Service Accounting Start Requests Sent"; + } + leaf service-accounting-stop { + type uint32; + description + "Number of Service Accounting Stop Requests Sent"; + } + leaf service-accounting-update { + type uint32; + description + "Number of Service Accounting Update Requests + Sent"; + } + leaf flow-accounting-start { + type uint32; + description + "Number of Flow Accounting Start Requests Sent"; + } + leaf flow-accounting-stop { + type uint32; + description + "Number of Flow Accounting Stop Requests Sent"; + } + leaf flow-accounting-update { + type uint32; + description + "Number of Flow Accounting Update Requests Sent"; + } + leaf accounting-callback { + type uint32; + description + "Number of Accounting Callbacks Received"; + } + leaf session-acct-trans-pending { + type uint32; + description + "Number of Session Accounting transactions + pending"; + } + leaf session-acct-reqs-failed { + type uint32; + description + "Number of Session Accounting requests that + failed"; + } + leaf session-acct-out-of-sync { + type uint32; + description + "Number of Session Accounting sessions out of + sync"; + } + leaf session-idle-to-trans-pending { + type uint32; + description + "Number of Session Idle Timeout transactions + pending"; + } + leaf session-idle-to-reqs-failed { + type uint32; + description + "Number of Session Idle Timeout requests that + failed"; + } + leaf session-idle-to-out-of-sync { + type uint32; + description + "Number of Session Idle Timeout sessions out of + sync"; + } + leaf service-acct-trans-pending { + type uint32; + description + "Number of Service Accounting transactions + pending"; + } + leaf service-acct-reqs-failed { + type uint32; + description + "Number of Service Accounting requests that + failed"; + } + leaf service-acct-out-of-sync { + type uint32; + description + "Number of Service Accounting services out of + sync"; + } + leaf service-idle-to-trans-pending { + type uint32; + description + "Number of Service Idle Timeout transactions + pending"; + } + leaf service-idle-to-reqs-failed { + type uint32; + description + "Number of Service Idle Timeout requests that + failed"; + } + leaf service-idle-to-out-of-sync { + type uint32; + description + "Number of Service Idle Timeout services out of + sync"; + } + leaf prepaid-start { + type uint32; + description + "Number of Prepaid Start Requests Sent"; + } + leaf prepaid-stop { + type uint32; + description + "Number of Prepaid Stop Requests Sent"; + } + leaf prepaid-accounting-start { + type uint32; + description + "Number of Prepaid Accounting Start Requests Sent"; + } + leaf prepaid-accounting-stop { + type uint32; + description + "Number of Prepaid Accounting Stop Requests Sent"; + } + leaf prepaid-volume-threshold-reached { + type uint32; + description + "Number of Prepaid Volume Threshold Reached + Requests Sent"; + } + leaf prepaid-time-threshold-reached { + type uint32; + description + "Number of Prepaid Time Threshold Reached + Requests Sent"; + } + leaf prepaid-quota-depleted { + type uint32; + description + "Number of Prepaid Quota Depleted Requests Sent"; + } + leaf prepaid-reauthorization { + type uint32; + description + "Number of Prepaid Authorization Requests Sent"; + } + leaf idle-timeout { + type uint32; + description + "Number of Idle Timeout Events Sent"; + } + leaf idle-timeout-response-callback { + type uint32; + description + "Number of Idle Timeout Callbacks Received"; + } + leaf owned-resource-start { + type uint32; + description + "Number of Owned Resource Starts"; + } + } + + grouping ACCT-MA-FEATURE-SUMMARY { + description + "ACCT MA FEATURE SUMMARY"; + container aaa-counters { + description + "Accounting feature AAA summary counters"; + uses ACCT-MA-AAA-BAG-SUM-COUNTS; + } + container idle-timeout-counters { + description + "Accounting feature idle timeout summary counters"; + uses ACCT-MA-IDLE-TO-BAG-SUM-COUNTS; + } + container session-timeout-counters { + description + "Accounting feature session timeout summary + counters"; + uses ACCT-MA-SESS-TO-BAG-SUM-COUNTS; + } + container session-flow-counters { + description + "Accounting feature session context summary + counters"; + uses ACCT-MA-CTX-BAG-SUM-COUNTS; + } + } + + grouping ACCT-MA-SERV-FEAT-BAG-DATA { + description + "ACCT MA SERV FEAT BAG DATA"; + leaf service-accounting-enabled-flag { + type boolean; + description + "True if service accounting is enabled"; + } + leaf service-accounting-service-id { + type uint32; + description + "Service accounting service ID"; + } + leaf service-accounting-method-list { + type string { + length "0..256"; + } + description + "Service accounting method list name"; + } + leaf service-accounting-periodic-interval { + type uint32; + description + "Service accounting periodic interval"; + } + leaf session-accounting-aaa-trans-pending { + type uint32; + description + "Number of Service Accounting AAA transactions + pending for the service"; + } + leaf session-accounting-aaa-request-failed { + type uint32; + description + "Number of Service Accounting AAA request + failures for the service"; + } + leaf session-accounting-started { + type boolean; + description + "True if Service accounting started for the + service"; + } + } + + grouping ACCT-MA-SESS-FEAT-BAG-DATA { + description + "ACCT MA SESS FEAT BAG DATA"; + leaf unique-subscriber-label { + type uint32; + description + "Unique subscriber label used to identify the + session"; + } + leaf interface-handle { + type uint32; + description + "Handle of interface associated with the session"; + } + leaf session-disconnected { + type boolean; + description + "True if session is disconnected"; + } + leaf session-accounting-enabled-flag { + type boolean; + description + "True if session accounting is enabled"; + } + leaf session-accounting-method-list { + type string { + length "0..256"; + } + description + "Session accounting method list name"; + } + leaf session-accounting-periodic-interval { + type uint32; + description + "Session accounting periodic interval"; + } + leaf session-accounting-aaa-trans-pending { + type uint32; + description + "Number of Session Accounting AAA transactions + pending"; + } + leaf session-accounting-aaa-request-failed { + type uint32; + description + "Number of Session Accounting AAA request + failures"; + } + leaf session-accounting-started { + type boolean; + description + "True if session accounting started"; + } + leaf session-idle-timeout-enabled-flag { + type boolean; + description + "True if session idle timeout is enabled"; + } + leaf idle-timeout-value { + type uint32; + units "second"; + description + "Idle timeout value in seconds"; + } + leaf idle-timeout-threshold { + type uint32; + units "minute"; + description + "Idle timeout threshold in minutes per packets"; + } + leaf idle-timeout-direction { + type string { + length "0..256"; + } + description + "Idle timeout direction"; + } + leaf session-is-idle { + type boolean; + description + "True if session is idle"; + } + leaf session-stats-changed-time { + type uint32; + description + "Last time session data was received"; + } + leaf session-total-idle-time { + type uint32; + description + "Total time session has been idle"; + } + leaf session-to-idle-count { + type uint32; + description + "Number of Session Idle AAA events"; + } + leaf session-to-awake-count { + type uint32; + description + "Number of Session Awake AAA events"; + } + leaf session-idle-to-aaa-trans-pending { + type uint32; + description + "Number of Session Idle AAA transactions pending"; + } + leaf session-idle-to-aaa-request-failed { + type uint32; + description + "Number of Session Idle AAA request failures"; + } + leaf session-timeout-enabled-flag { + type boolean; + description + "True if session timeout is enabled"; + } + leaf session-timeout-value { + type uint32; + units "second"; + description + "Session timeout value in seconds"; + } + leaf session-timeout-time-remaining { + type uint32; + units "second"; + description + "Number seconds remaining before session times + out"; + } + list service-accounting-feature { + description + "List of service accounting features"; + uses ACCT-MA-SERV-FEAT-BAG-DATA; + } + } + + grouping ACCT-MA-SESSION-FEATURES { + description + "ACCT MA SESSION FEATURES"; + container session-feature-data { + description + "Accounting session feature display data"; + uses ACCT-MA-SESS-FEAT-BAG-DATA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper.yang new file mode 100644 index 0000000..d066ec6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-accounting-oper.yang @@ -0,0 +1,98 @@ +module Cisco-IOS-XR-subscriber-accounting-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-accounting-oper"; + prefix subscriber-accounting-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-subscriber-accounting-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-accounting package operational data. + + This module contains definitions + for the following management objects: + subscriber-accounting: Subscriber accounting operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container subscriber-accounting { + config false; + description + "Subscriber accounting operational data"; + container nodes { + description + "Subscriber accounting operational data for a + particular location"; + list node { + key "node-id"; + description + "Location. For example, 0/1/CPU0"; + container subscriber-accounting-session-features { + description + "Subscriber accounting session feature data"; + list subscriber-accounting-session-feature { + key "sub-label"; + description + "Display accounting session features by unique + subscriber label"; + leaf sub-label { + type int32; + description + "Unique subscriber label"; + } + uses ACCT-MA-SESSION-FEATURES; + } + } + container subscriber-accounting-summary { + description + "Display subscriber accounting summary data"; + uses ACCT-MA-FEATURE-SUMMARY; + } + container subscriber-accounting-flow-features { + description + "Subscriber accounting flow feature data"; + list subscriber-accounting-flow-feature { + key "class-label"; + description + "Display accounting flow features by unique + subscriber label"; + leaf class-label { + type int32; + description + "Unique subscriber class label"; + } + uses ACCT-MA-FLOW-FEATURES; + } + } + leaf node-id { + type xr:Node-id; + description + "The node id to filter on. For example, + 0/1/CPU0"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang new file mode 100644 index 0000000..d13dc9e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg.yang @@ -0,0 +1,83 @@ +module Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg"; + prefix subscriber-infra-tmplmgr-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-infra-tmplmgr package configuration. + + This module contains definitions + for the following management objects: + dynamic-template: All dynamic template configurations + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container dynamic-template { + description + "All dynamic template configurations"; + container ppps { + description + "Templates of the PPP Type"; + list ppp { + key "template-name"; + description + "A Template of the PPP Type"; + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "The name of the template"; + } + } + } + container ip-subscribers { + description + "The IP Subscriber Template Table"; + list ip-subscriber { + key "template-name"; + description + "A IP Subscriber Type Template "; + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "The name of the template"; + } + } + } + container subscriber-services { + description + "The Service Type Template Table"; + list subscriber-service { + key "template-name"; + description + "A Service Type Template "; + leaf template-name { + type xr:Cisco-ios-xr-string; + description + "The name of the template"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-cfg.yang new file mode 100644 index 0000000..ade19f7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-cfg.yang @@ -0,0 +1,221 @@ +module Cisco-IOS-XR-subscriber-ipsub-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-cfg"; + prefix subscriber-ipsub-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-ipsub package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container subscriber { + description + "Subscribers on interface"; + container ip-subscriber { + description + "IP subscribers on interface"; + container ipv4 { + description + "IPv4 subscriber"; + container l2-connected { + description + "L2 connected IPv4 subscriber"; + container initiator { + description + "Configure IP subscriber initiator"; + container unclassified-source-fsol { + presence "Indicates a unclassified-source-fsol node is configured."; + description + "Configure IP subscriber unclassified source + initiator"; + leaf enable { + type empty; + mandatory true; + description + "Enable unclassified source"; + } + leaf address-unique { + type boolean; + default "false"; + description + "Check for subscriber IP uniqueness during + first sign of life"; + } + } + leaf dhcp { + type empty; + description + "Configure IP subscriber DHCP initiator"; + } + } + } + container routed { + description + "Routed IPv4 subscriber"; + container initiator { + description + "Configure IP subscriber initiator"; + leaf unclassified-ip { + type empty; + description + "Configure IPv4 subscriber unclassified + source initiator"; + } + leaf dhcp { + type empty; + description + "Configure IPv4 subscriber DHCP initiator"; + } + leaf dhcp-snoop { + type empty; + description + "Configure IPv4 subscriber DHCP Snoop + initiator"; + } + } + } + } + container session-limit { + description + "IP subscriber session limit"; + container total { + description + "Session limit for all sources"; + leaf per-vlan { + type int32; + default "0"; + description + "Configure per-vlan session limit for all + sources"; + } + } + container unclassified-source { + description + "Session limit for unclassified sources"; + leaf per-vlan { + type int32; + default "0"; + description + "Configure per-vlan session limit for + unclassified sources"; + } + } + } + container ipv6 { + description + "IPv6 subscriber"; + container l2-connected { + description + "L2 connected IPv6 subscriber"; + container initiator { + description + "Configure IPv6 subscriber initiator"; + container unclassified-source-fsol { + presence "Indicates a unclassified-source-fsol node is configured."; + description + "Configure IP subscriber unclassified source + initiator"; + leaf enable { + type empty; + mandatory true; + description + "Enable unclassified source"; + } + leaf address-unique { + type boolean; + default "false"; + description + "Check for subscriber IP uniqueness during + first sign of life"; + } + } + leaf dhcp { + type empty; + description + "Configure IPv6 subscriber DHCP initiator"; + } + } + } + container routed { + description + "Routed IPv6 subscriber"; + container initiator { + description + "Configure IP subscriber initiator"; + leaf unclassified-ip { + type uint32 { + range "1..128"; + } + default "128"; + description + "Configure unclassified packets as + first-sign-of-life for IPv6 subscriber"; + } + leaf dhcp { + type uint32 { + range "1..128"; + } + default "128"; + description + "Configure IPv6 subscriber DHCP initiator"; + } + leaf dhcp-snoop { + type uint32 { + range "1..128"; + } + default "128"; + description + "Configure IPv6 subscriber DHCP Snoop + initiator"; + } + } + } + } + leaf subscriber-templates { + type uint32 { + range "1..10"; + } + default "10"; + description + "Enable subscriber templates on this access + interface"; + } + leaf interface { + type empty; + description + "Enable IP Static subscriber"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang new file mode 100644 index 0000000..a12e36c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper-sub1.yang @@ -0,0 +1,708 @@ +submodule Cisco-IOS-XR-subscriber-ipsub-oper-sub1 { + belongs-to Cisco-IOS-XR-subscriber-ipsub-oper { + prefix Cisco-IOS-XR-subscriber-ipsub-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR subscriber-ipsub package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Ipsub-ma-parent-intf-vlan { + type enumeration { + enum "plain" { + description + "Plain"; + } + enum "ambiguous" { + description + "Ambiguous"; + } + } + description + "Access interface VLAN type"; + } + + typedef Ipsub-ma-parent-intf-state-data { + type enumeration { + enum "deleted" { + description + "Interface being deleted"; + } + enum "down" { + description + "Interface operationally down"; + } + enum "up" { + description + "Interface up"; + } + } + description + "Parent interface state"; + } + + typedef Ipsub-ma-intf-state-data { + type enumeration { + enum "invalid" { + value 0; + description + "Invalid state"; + } + enum "initialized" { + value 1; + description + "Initial state"; + } + enum "session-creation-started" { + value 2; + description + "Interface creation started"; + } + enum "control-policy-executing" { + value 3; + description + "Interface created in IM, AAA session start + called"; + } + enum "control-policy-executed" { + value 4; + description + "AAA session created"; + } + enum "session-features-applied" { + value 5; + description + "Interface config activated"; + } + enum "vrf-configured" { + value 6; + description + "Interface address and VRF information received + from IPv4"; + } + enum "adding-adjacency" { + value 7; + description + "VRF configuration received and interface config + activated"; + } + enum "adjacency-added" { + value 8; + description + "Subscriber AIB adjacency added"; + } + enum "up" { + value 9; + description + "Session up"; + } + enum "down" { + value 10; + description + "Session down"; + } + enum "address-family-down" { + value 11; + description + "Session down in progress"; + } + enum "address-family-down-complete" { + value 12; + description + "Session down complete"; + } + enum "disconnecting" { + value 13; + description + "Session teardown in progress"; + } + enum "disconnected" { + value 14; + description + "Session disconnected"; + } + enum "error" { + value 15; + description + "Session in error state"; + } + } + description + "Interface states"; + } + + typedef Ipsub-ma-intf-initiator-data { + type enumeration { + enum "dhcp" { + value 0; + description + "Session creation via DHCP discover packet"; + } + enum "packet-trigger" { + value 1; + description + "Session creation via unclassified IPv4 packet"; + } + enum "invalid-trigger" { + value 2; + description + "Invalid Trigger"; + } + } + description + "Ipsub ma intf initiator data"; + } + + grouping TOTAL-SOURCE { + description + "Session limits for all categories of all packet + sources"; + leaf per-vlan { + type uint32; + description + "Per-VLAN limit category"; + } + } + + grouping UNCLASSIFIED-SOURCE { + description + "Session limits for all categories for + unclassified-source packets"; + leaf per-vlan { + type uint32; + description + "Per-VLAN limit category"; + } + } + + grouping IPSUB-MA-PARENT-INTF-SESSION-LIMIT-DATA { + description + "Session limits for various categories by packet + source"; + container unclassified-source { + description + "Unclassified source session limits"; + uses UNCLASSIFIED-SOURCE; + } + container total { + description + "All sources session limits"; + uses TOTAL-SOURCE; + } + } + + grouping IPSUB-MA-PARENT-INTF-INITIATOR-DATA { + description + "IPSUB MA PARENT INTF INITIATOR DATA"; + leaf is-configured { + type boolean; + description + "Ture if the initiator is configred"; + } + leaf unique-ip-check { + type boolean; + description + "True if check for subscriber address + uniquenessduring first sign of life is enabled"; + } + leaf sessions { + type uint32; + description + "Number of sessions currently up for each + initiator"; + } + leaf fsol-packets { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol on this interface"; + } + leaf fsol-bytes { + type uint32; + units "byte"; + description + "Number of first sign of life bytes received for + initiating protocol on this interface"; + } + leaf fsol-dropped-packets { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol on this interface that + were dropped"; + } + leaf fsol-dropped-bytes { + type uint32; + units "byte"; + description + "Number of first sign of life bytes received for + initiating protocol on this interface that were + dropped"; + } + leaf fsol-dropped-packets-flow { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol on this interface that + were dropped due to exceeding creation rate"; + } + leaf fsol-dropped-packets-session-limit { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol on this interface that + were dropped due to exceeding one or more of the + configured session limits"; + } + leaf fsol-dropped-packets-dup-addr { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol on this interface that + were dropped due to duplicate source address"; + } + } + + grouping IPSUB-MA-PARENT-INTF-INITIATORS { + description + "Initiator protocol details"; + container dhcp { + description + "DHCP information"; + uses IPSUB-MA-PARENT-INTF-INITIATOR-DATA; + } + container packet-trigger { + description + "packet trigger information"; + uses IPSUB-MA-PARENT-INTF-INITIATOR-DATA; + } + } + + grouping IPSUB-MA-PARENT-INTF-DATA { + description + "Parent interface data"; + container initiators { + description + "Configurational state-statistics for each + initiating protocol enabled on this parent + interface"; + uses IPSUB-MA-PARENT-INTF-INITIATORS; + } + container ipv6-initiators { + description + "Configurational state-statistics for each + initiating protocol enabled on this parent + interface for IPv6 session"; + uses IPSUB-MA-PARENT-INTF-INITIATORS; + } + container session-limit { + description + "Configuration session limits for each session + limit source and type"; + uses IPSUB-MA-PARENT-INTF-SESSION-LIMIT-DATA; + } + leaf interface-creation-time { + type string; + description + "Interface creation time in Month Date HH:MM:SS + format"; + } + leaf age { + type string; + description + "Age in HH:MM:SS format"; + } + leaf interface-type { + type string; + description + "Interface Type"; + } + leaf state { + type Ipsub-ma-parent-intf-state-data; + description + "Operational state of this interface"; + } + leaf ipv6-state { + type Ipsub-ma-parent-intf-state-data; + description + "Operational ipv6 state of this interface"; + } + leaf vlan-type { + type Ipsub-ma-parent-intf-vlan; + description + "The VLAN type on the access interface"; + } + } + + grouping VRF-DATA { + description + "VRF details"; + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf table-name { + type string; + description + "Table"; + } + } + + grouping IPSUB-MA-INTF-DATA { + description + "Interface details"; + container vrf { + description + "IPv4 VRF details"; + uses VRF-DATA; + } + container ipv6vrf { + description + "IPv6 VRF details"; + uses VRF-DATA; + } + leaf access-interface { + type xr:Interface-name; + description + "Access interface through which this subscriber + is accessible"; + } + leaf subscriber-ipv4-address { + type inet:ipv4-address; + description + "IPv4 Address of the subscriber"; + } + leaf subscriber-ipv6-address { + type string; + description + "IPv6 Address of the subscriber"; + } + leaf subscriber-mac-addres { + type yang:mac-address; + description + "MAC address of the subscriber"; + } + leaf subscriber-label { + type uint32; + description + "Subscriber label for this subscriber interface"; + } + leaf interface-creation-time { + type string; + description + "Interface creation time in month day hh:mm:ss + format"; + } + leaf age { + type string; + description + "Age in hh:mm:ss format"; + } + leaf initiator { + type Ipsub-ma-intf-initiator-data; + description + "Protocol trigger for creation of this subscriber + session"; + } + leaf state { + type Ipsub-ma-intf-state-data; + description + "State of the subscriber session"; + } + leaf old-state { + type Ipsub-ma-intf-state-data; + description + "Previous state of the subscriber session"; + } + leaf last-state-change-time { + type string; + description + "Interface's last state change time in month day + hh:mm:ss format"; + } + leaf current-change-age { + type string; + description + "Current change age in hh:mm:ss format"; + } + leaf ipv6-initiator { + type Ipsub-ma-intf-initiator-data; + description + "Protocol trigger for creation of this + subscriber's IPv6 session"; + } + leaf ipv6-state { + type Ipsub-ma-intf-state-data; + description + "State of the subscriber's IPv6 session"; + } + leaf ipv6-old-state { + type Ipsub-ma-intf-state-data; + description + "Previous state of the subscriber's IPv6 session"; + } + leaf ipv6-last-state-change-time { + type string; + description + "Interface's IPV6 last state change time in month + day hh:mm:ss format"; + } + leaf ipv6-current-change-age { + type string; + description + "IPV6 Current change age in hh:mm:ss format"; + } + leaf is-l2-connected { + type boolean; + description + "True if L2 connected"; + } + leaf session-type { + type string; + description + "Session Type"; + } + } + + grouping IPSUB-MA-INTF-VRF-SUMMARY-DATA { + description + "IPSUB MA INTF VRF SUMMARY DATA"; + leaf vrf-name { + type string; + description + "IPv4 VRF"; + } + leaf ipv6vrf-name { + type string; + description + "IPv6 VRF"; + } + leaf interfaces { + type uint64; + description + "Number of IP subscriber interfaces in the VRF + table"; + } + leaf ipv6-interfaces { + type uint64; + description + "Number of IPv6 subscriber interfaces in the VRF + table"; + } + } + + grouping INTERFACE-COUNTS { + description + "Interface state values"; + leaf invalid { + type uint32; + description + "Invalid"; + } + leaf initialized { + type uint32; + description + "Initialized"; + } + leaf session-creation-started { + type uint32; + description + "Session creation started"; + } + leaf control-policy-executing { + type uint32; + description + "Control policy executing"; + } + leaf control-policy-executed { + type uint32; + description + "Control policy executed"; + } + leaf session-features-applied { + type uint32; + description + "Session features applied"; + } + leaf vrf-configured { + type uint32; + description + "VRF configured"; + } + leaf adding-adjacency { + type uint32; + description + "Adding adjacency"; + } + leaf adjacency-added { + type uint32; + description + "Adjacency added"; + } + leaf up { + type uint32; + description + "Up"; + } + leaf down { + type uint32; + description + "Down"; + } + leaf disconnecting { + type uint32; + description + "Disconnecting"; + } + leaf disconnected { + type uint32; + description + "Disconnected"; + } + leaf error { + type uint32; + description + "Error"; + } + leaf total-interfaces { + type uint32; + description + "Total number of interfaces in all states"; + } + } + + grouping INTF-INITIATOR-STATS { + description + "Initiator statistics"; + container dhcp { + description + "DHCP"; + uses INTERFACE-COUNTS; + } + container packet-trigger { + description + "Packet trigger"; + uses INTERFACE-COUNTS; + } + } + + grouping INTF-INTITIATORS { + description + "Initiators"; + container initiators { + description + "Initiators"; + uses INTF-INITIATOR-STATS; + } + container ipv6-initiators { + description + "IPv6 Initiators"; + uses INTF-INITIATOR-STATS; + } + } + + grouping IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA { + description + "IPSUB MA PARENT INTF SUMMARY INITIATOR DATA"; + leaf fsol-packets { + type uint32; + description + "Number of first sign of life packets received + for initiating protocol"; + } + leaf fsol-bytes { + type uint32; + units "byte"; + description + "Number of first sign of life bytes received for + initiating protocol"; + } + } + + grouping IPSUB-MA-INITITATORS { + description + "Initiators"; + container dhcp { + description + "DHCP summary statistics"; + uses IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA; + } + container packet-trigger { + description + "Packet trigger summary statistics"; + uses IPSUB-MA-PARENT-INTF-SUMMARY-INITIATOR-DATA; + } + } + + grouping IPSUB-MA-PARENT-INTF-SUMMARY { + description + "Access interface summary statistics"; + container initiators { + description + "Summary counts per initiator"; + uses IPSUB-MA-INITITATORS; + } + container ipv6-initiators { + description + "Summary counts per initiator for ipv6 session"; + uses IPSUB-MA-INITITATORS; + } + leaf interfaces { + type uint32; + description + "Number of interfaces with subscriber + configuration"; + } + } + + grouping IPSUB-MA-INTF-SUMMARY-DATA { + description + "Interface summary statistics"; + container access-interface-summary { + description + "Access interface summary statistics"; + uses IPSUB-MA-PARENT-INTF-SUMMARY; + } + container interface-counts { + description + "Initiator interface counts"; + uses INTF-INTITIATORS; + } + list vrf { + description + "Array of VRFs with IPSUB interfaces"; + uses IPSUB-MA-INTF-VRF-SUMMARY-DATA; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper.yang new file mode 100644 index 0000000..e4824eb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-ipsub-oper.yang @@ -0,0 +1,95 @@ +module Cisco-IOS-XR-subscriber-ipsub-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-oper"; + prefix subscriber-ipsub-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-subscriber-ipsub-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-ipsub package operational data. + + This module contains definitions + for the following management objects: + ip-subscriber: IP subscriber operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container ip-subscriber { + config false; + description + "IP subscriber operational data"; + container nodes { + description + "IP subscriber operational data for a particular + location"; + list node { + key "node-name"; + description + "Location. For eg., 0/1/CPU0"; + container summary { + description + "IP subscriber interface summary"; + uses IPSUB-MA-INTF-SUMMARY-DATA; + } + container interfaces { + description + "IP subscriber interface table"; + list interface { + key "interface-name"; + description + "IP subscriber interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses IPSUB-MA-INTF-DATA; + } + } + container access-interfaces { + description + "IP subscriber access interface table"; + list access-interface { + key "interface-name"; + description + "IP subscriber access interface entry"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + uses IPSUB-MA-PARENT-INTF-DATA; + } + } + leaf node-name { + type xr:Node-id; + description + "The node ID to filter on. For eg., 0/1/CPU0"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang new file mode 100644 index 0000000..8f2405f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg.yang @@ -0,0 +1,63 @@ +module Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-cmd-cfg"; + prefix subscriber-pppoe-ma-cmd-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-pppoe-ma-cmd package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container pppoe { + description + "Interface PPPoE configuration data"; + container enable-bba-group { + presence "Indicates a enable-bba-group node is configured."; + description + "Use this BBA-Group to enable PPPoE on this + interface"; + leaf enable { + type boolean; + mandatory true; + description + "Enable PPPoE on this interface"; + } + leaf bba-group-name { + type string; + description + "Name of the BBA-Group"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang new file mode 100644 index 0000000..b4f9898 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg.yang @@ -0,0 +1,914 @@ +module Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-gbl-cfg"; + prefix subscriber-pppoe-ma-gbl-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-pppoe-ma-gbl package configuration. + + This module contains definitions + for the following management objects: + pppoe-cfg: PPPOE configuration data + + This YANG module augments the + Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pppoe-invalid-session-id-behavior { + type enumeration { + enum "drop" { + value 0; + description + "Drop packets with an invalid session ID"; + } + enum "log" { + value 1; + description + "Log packets with an invalid session ID"; + } + } + description + "Pppoe invalid session id behavior"; + } + + augment "/a1:dynamic-template/a1:ppps/a1:ppp" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-subscriber-infra-tmplmgr-cfg'"; + container pppoe-template { + description + "PPPoE template configuration data"; + leaf port-limit { + type xr:Cisco-ios-xr-port-number; + description + "Specify the Port limit (attr 62) to apply to + the subscriber"; + } + } + } + container pppoe-cfg { + description + "PPPOE configuration data"; + container pppoe-bba-groups { + description + "PPPoE BBA-Group configuration data"; + list pppoe-bba-group { + key "bba-group"; + description + "PPPoE BBA-Group configuration data"; + container tag { + description + "PPPoE tag configuration data"; + container padr { + description + "PADR packets"; + leaf session-unique-relay-session-id { + type empty; + description + "Allow sessions to come up with unique + relay-session-id in padr"; + } + leaf invalid-payload-allow { + type empty; + description + "Allow sessions to come up with + invalid-payload"; + } + } + container service-name-configureds { + description + "Service name"; + list service-name-configured { + key "name"; + description + "Service name supported on this group"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Service name"; + } + } + } + container ppp-max-payload { + presence "Indicates a ppp-max-payload node is configured."; + description + "Minimum and maximum payloads"; + leaf min { + type uint32 { + range "500..2000"; + } + mandatory true; + description + "Minimum payload"; + } + leaf max { + type uint32 { + range "500..2000"; + } + mandatory true; + description + "Maximum payload"; + } + } + leaf ppp-max-payload-deny { + type empty; + description + "Ignore the ppp-max-payload tag"; + } + leaf service-selection-disable { + type empty; + description + "Disable advertising of unrequested service + names"; + } + leaf ac-name { + type string; + description + "The name to include in the AC tag"; + } + } + container sessions { + description + "PPPoE session configuration data"; + container vlan-throttle { + presence "Indicates a vlan-throttle node is configured."; + description + "Set VLAN (inner + outer tags) session + throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container inner-vlan-throttle { + presence "Indicates a inner-vlan-throttle node is configured."; + description + "Set Inner VLAN session throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container remote-id-limit { + presence "Indicates a remote-id-limit node is configured."; + description + "Set Remote ID session limit and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-Remote ID limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-Remote ID threshold"; + } + } + container mac-iwf-access-interface-throttle { + presence "Indicates a mac-iwf-access-interface-throttle node is configured."; + description + "Set per-MAC/Access interface throttle for IWF + sessions"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container access-interface-limit { + presence "Indicates a access-interface-limit node is configured."; + description + "Set per-access interface limit"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-access interface session limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-access interface session threshold"; + } + } + container mac-access-interface-throttle { + presence "Indicates a mac-access-interface-throttle node is configured."; + description + "Set per-MAC/Access Interface throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container outer-vlan-limit { + presence "Indicates a outer-vlan-limit node is configured."; + description + "Set Outer VLAN session limit and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-Outer VLAN limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-Outer VLAN threshold"; + } + } + container circuit-id-throttle { + presence "Indicates a circuit-id-throttle node is configured."; + description + "Set Circuit ID session throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container mac-limit { + presence "Indicates a mac-limit node is configured."; + description + "Set per-MAC address session limit and + threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-MAC session limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-MAC session threshold"; + } + } + container circuit-id-limit { + presence "Indicates a circuit-id-limit node is configured."; + description + "Set Circuit ID session limit and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-Circuit ID limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-Circuit ID threshold"; + } + } + container mac-iwf-limit { + presence "Indicates a mac-iwf-limit node is configured."; + description + "Set per-MAC session limit and threshold for + IWF sessions"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-MAC session limit for IWF sessions"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-MAC session threshold for IWF sessions"; + } + } + container mac-iwf-access-interface-limit { + presence "Indicates a mac-iwf-access-interface-limit node is configured."; + description + "Set per-MAC access interface session limit + and threshold for IWF sessions"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-MAC access interface session limit for + IWF sessions"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-MAC access interface session threshold + for IWF sessions"; + } + } + container inner-vlan-limit { + presence "Indicates a inner-vlan-limit node is configured."; + description + "Set Inner VLAN session limit and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-Inner VLAN limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-Inner VLAN threshold"; + } + } + container outer-vlan-throttle { + presence "Indicates a outer-vlan-throttle node is configured."; + description + "Set Outer VLAN session throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container mac-throttle { + presence "Indicates a mac-throttle node is configured."; + description + "Set per-MAC throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container circuit-id-and-remote-id-limit { + presence "Indicates a circuit-id-and-remote-id-limit node is configured."; + description + "Set Circuit ID and Remote ID session + limit/threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-Circuit ID limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-Circuit ID threshold"; + } + } + container vlan-limit { + presence "Indicates a vlan-limit node is configured."; + description + "Set VLAN (inner + outer tags) session limit + and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-VLAN (inner + outer tags) limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-VLAN (inner + outer tags) threshold"; + } + } + container mac-access-interface-limit { + presence "Indicates a mac-access-interface-limit node is configured."; + description + "Set per-MAC access interface session limit + and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-MAC access interface session limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-MAC access interface session threshold"; + } + } + container remote-id-throttle { + presence "Indicates a remote-id-throttle node is configured."; + description + "Set Remote ID session throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + container max-limit { + presence "Indicates a max-limit node is configured."; + description + "Set per-card session limit and threshold"; + leaf limit { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Per-card session limit"; + } + leaf threshold { + type uint32 { + range "1..65535"; + } + description + "Per-card session threshold"; + } + } + container circuit-id-and-remote-id-throttle { + presence "Indicates a circuit-id-and-remote-id-throttle node is configured."; + description + "Set Circuit ID and Remote ID session throttle"; + leaf throttle { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Number of requests at which to throttle"; + } + leaf request-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle request period"; + } + leaf blocking-period { + type uint32 { + range "1..100"; + } + mandatory true; + description + "Throttle blocking period"; + } + } + } + container control-packets { + description + "PPPoE control-packet configuration data"; + leaf priority { + type uint32 { + range "0..7"; + } + description + "Set the Priority to use for PPP and PPPoE + control packets"; + } + } + container pa-do-delay { + description + "PPPoE PADO delay configuration data"; + container remote-id-substrings { + description + "Delay the PADO response when the received + Remote ID contains the given string"; + list remote-id-substring { + key "name"; + description + "Delay the PADO response when the received + Remote ID contains the given string"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to be contained within the + received Remote ID"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + container remote-id-strings { + description + "Delay the PADO response when there is an + exact match on the received Remote ID"; + list remote-id-string { + key "name"; + description + "Delay the PADO response when there is an + exact match on the received Remote ID"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to exactly match the received + Remote ID"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + container service-name-strings { + description + "Delay the PADO response when there is an + exact match on the received Service Name"; + list service-name-string { + key "name"; + description + "Delay the PADO response when there is an + exact match on the received Service Name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to exactly match the received + Service Name"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + container circuit-id-substrings { + description + "Delay the PADO response when the received + Circuit ID contains the given string"; + list circuit-id-substring { + key "name"; + description + "Delay the PADO response when the received + Circuit ID contains the given string"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to be contained within the + received Circuit ID"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + container service-name-substrings { + description + "Delay the PADO response when the received + Service Name contains the given string"; + list service-name-substring { + key "name"; + description + "Delay the PADO response when the received + Service Name contains the given string"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to be contained within the + received Service Name"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + container circuit-id-strings { + description + "Delay the PADO response when there is an + exact match on the received Circuit ID"; + list circuit-id-string { + key "name"; + description + "Delay the PADO response when there is an + exact match on the received Circuit ID"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "The string to exactly match the received + Circuit ID"; + } + leaf delay { + type uint32 { + range "0..10000"; + } + units "millisecond"; + mandatory true; + description + "PADO delay (in milliseconds)"; + } + } + } + leaf default { + type uint32 { + range "0..10000"; + } + units "millisecond"; + description + "PADO delay (in milliseconds)"; + } + leaf circuit-id { + type uint32 { + range "0..10000"; + } + units "millisecond"; + description + "Configure PADO delay dependent on the + received Circuit ID"; + } + leaf remote-id { + type uint32 { + range "0..10000"; + } + units "millisecond"; + description + "Configure PADO delay dependent on the + received Remote ID"; + } + } + leaf completion-timeout { + type uint32 { + range "30..600"; + } + description + "PPPoE session completion timeout"; + } + leaf invalid-session-id { + type Pppoe-invalid-session-id-behavior; + description + "Invalid session-ID behavior"; + } + leaf enable-padt-after-shut-down { + type empty; + description + "Enable padt after shutdown"; + } + leaf mtu { + type uint32 { + range "500..2000"; + } + description + "PPPoE default MTU"; + } + leaf bba-group { + type xr:Cisco-ios-xr-string; + description + "BBA-Group name"; + } + } + } + leaf session-id-space-flat { + type empty; + description + "Disable per-parent session ID spaces"; + } + leaf in-flight-window { + type uint32 { + range "1..20000"; + } + description + "Set the PPPoE in-flight window size"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang new file mode 100644 index 0000000..a6c612f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1.yang @@ -0,0 +1,973 @@ +submodule Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1 { + belongs-to Cisco-IOS-XR-subscriber-pppoe-ma-oper { + prefix Cisco-IOS-XR-subscriber-pppoe-ma-oper; + } + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR subscriber-pppoe-ma package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Pppoe-ma-throttle-state { + type enumeration { + enum "idle" { + value 0; + description + "Idle State"; + } + enum "monitor" { + value 1; + description + "Monitor State"; + } + enum "block" { + value 2; + description + "Block State"; + } + } + description + "Pppoe ma throttle state"; + } + + typedef Pppoe-ma-limit-state { + type enumeration { + enum "ok" { + value 0; + description + "OK State"; + } + enum "warning" { + value 1; + description + "Warn State"; + } + enum "block" { + value 2; + description + "Block State"; + } + } + description + "Pppoe ma limit state"; + } + + typedef Pppoe-ma-session-idb-srg-state { + type enumeration { + enum "none" { + value 0; + description + "SRG-None state"; + } + enum "active" { + value 1; + description + "SRG-Active state"; + } + enum "standby" { + value 2; + description + "SRG-Standby state"; + } + } + description + "Pppoe ma session idb srg state"; + } + + typedef Pppoe-ma-bag-optional-string { + type string; + description + "String which may be optionally present."; + } + + typedef Im-state { + type uint32; + description + "Im state"; + } + + grouping PPPOE-MA-SUMMARY-TOTAL-INFO { + description + "PPPoE MA Summary Total information"; + leaf ready-access-interfaces { + type uint32; + description + "Ready Access Interface Count"; + } + leaf not-ready-access-interfaces { + type uint32; + description + "Not Ready Access Interface Count"; + } + leaf complete-sessions { + type uint32; + description + "Complete Session Count"; + } + leaf incomplete-sessions { + type uint32; + description + "Incomplete Session Count"; + } + leaf flow-control-limit { + type uint32; + description + "Flow Control credit limit"; + } + leaf flow-control-in-flight-sessions { + type uint32; + description + "Flow Control In-Flight Count"; + } + leaf flow-control-dropped-sessions { + type uint64; + description + "Flow Control Drop Count"; + } + leaf flow-control-disconnected-sessions { + type uint64; + description + "Flow Control Disconnected Count"; + } + leaf flow-control-successful-sessions { + type uint64; + description + "Flow Control Success Count, sessions completing + call flow"; + } + leaf pppoema-subscriber-infra-flow-control { + type uint32; + description + "PPPoEMASubscriberInfraFlowControl"; + } + } + + grouping PPPOE-MA-THROTTLE-CONFIG-SINGLE { + description + "PPPoE MA Single Throttle Config Information"; + leaf limit { + type uint32; + description + "Limit"; + } + leaf request-period { + type uint32; + description + "Request Period"; + } + leaf blocking-period { + type uint32; + description + "Blocking Period"; + } + } + + grouping PPPOE-MA-THROTTLE-CONFIG-INFO { + description + "PPPoE MA Throttle Config Information"; + container mac { + description + "MAC"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container mac-access-interface { + description + "MAC Access Interface"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container mac-iwf-access-interface { + description + "MAC IWF Access Interface"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container circuit-id { + description + "Circuit ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container remote-id { + description + "Remote ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container circuit-id-and-remote-id { + description + "Circuit ID and Remote ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container outer-vlan-id { + description + "Outer VLAN ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container inner-vlan-id { + description + "Inner VLAN ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + container vlan-id { + description + "VLAN ID"; + uses PPPOE-MA-THROTTLE-CONFIG-SINGLE; + } + } + + grouping PPPOE-MA-THROTTLE-INFO { + description + "PPPoE MA Throttle information"; + leaf state { + type Pppoe-ma-throttle-state; + description + "State"; + } + leaf time-left { + type uint32; + units "second"; + description + "Time left in seconds"; + } + leaf since-reset { + type uint32; + units "second"; + description + "Number of seconds since counters reset"; + } + leaf padi-count { + type uint32; + description + "PADI Count"; + } + leaf padr-count { + type uint32; + description + "PADR Count"; + } + } + + grouping PPPOE-MA-LIMIT-INFO { + description + "PPPoE MA Limit information"; + leaf state { + type Pppoe-ma-limit-state; + description + "State"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf radius-override-set { + type int32; + description + "Overridden limit has been set"; + } + leaf override-limit { + type uint32; + description + "Overridden limit if set"; + } + } + + grouping PPPOE-MA-LIMIT-CONFIG-SINGLE { + description + "PPPoE MA Single Limit Config information"; + leaf max-limit { + type uint32; + description + "Max Limit"; + } + leaf threshold { + type uint32; + description + "Threshold"; + } + leaf radius-override-enabled { + type int32; + description + "Radius override is enabled"; + } + } + + grouping PPPOE-MA-LIMIT-CONFIG-INFO { + description + "PPPoE MA Limit Configuration Information"; + container card { + description + "Card"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container access-intf { + description + "Access Interface"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container mac { + description + "MAC"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container mac-iwf { + description + "MAC IWF"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container mac-access-interface { + description + "MAC Access Interface"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container mac-iwf-access-interface { + description + "MAC IWF Access Interface"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container circuit-id { + description + "Circuit ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container remote-id { + description + "Remote ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container circuit-id-and-remote-id { + description + "Circuit ID and Remote ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container outer-vlan-id { + description + "Outer VLAN ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container inner-vlan-id { + description + "Inner VLAN ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + container vlan-id { + description + "VLAN ID"; + uses PPPOE-MA-LIMIT-CONFIG-SINGLE; + } + } + + grouping PPPOE-MA-TAGS-ALE-INFO { + description + "Access-Loop-Encapsulation tag. See RFC-4679 for + more detail"; + leaf data-link { + type uint8; + description + "Data Link"; + } + leaf encaps1 { + type uint8; + description + "Encaps 1"; + } + leaf encaps2 { + type uint8; + description + "Encaps 2"; + } + } + + grouping PPPOE-MA-TAGS-INFO { + description + "Tags information"; + container access-loop-encapsulation { + description + "Access Loop Encapsulation"; + uses PPPOE-MA-TAGS-ALE-INFO; + } + leaf service-name { + type Pppoe-ma-bag-optional-string; + description + "Service Name"; + } + leaf max-payload { + type uint16; + description + "Max Payload"; + } + leaf host-uniq { + type yang:hex-string; + description + "Host Uniq"; + } + leaf relay-session-id { + type yang:hex-string; + description + "Relay Session ID"; + } + leaf remote-id { + type Pppoe-ma-bag-optional-string; + description + "Remote ID"; + } + leaf circuit-id { + type Pppoe-ma-bag-optional-string; + description + "Circuit ID"; + } + leaf is-iwf { + type int32; + description + "Is IWF"; + } + leaf dsl-actual-up { + type uint32; + description + "DSL Actual Up"; + } + leaf dsl-actual-down { + type uint32; + description + "DSL Actual Down"; + } + leaf dsl-min-up { + type uint32; + description + "DSL Min Up"; + } + leaf dsl-min-down { + type uint32; + description + "DSL Min Down"; + } + leaf dsl-attain-up { + type uint32; + description + "DSL Attain Up"; + } + leaf dsl-attain-down { + type uint32; + description + "DSL Attain Down"; + } + leaf dsl-max-up { + type uint32; + description + "DSL Max Up"; + } + leaf dsl-max-down { + type uint32; + description + "DSL Max Down"; + } + leaf dsl-min-up-low { + type uint32; + description + "DSL Min Up Low"; + } + leaf dsl-min-down-low { + type uint32; + description + "DSL Min Down Low"; + } + leaf dsl-max-delay-up { + type uint32; + description + "DSL Max Delay Up"; + } + leaf dsl-actual-delay-up { + type uint32; + description + "DSL Actual Delay Up"; + } + leaf dsl-max-delay-down { + type uint32; + description + "DSL Max Delay Down"; + } + leaf dsl-actual-delay-down { + type uint32; + description + "DSL Actual Delay Down"; + } + } + + grouping PPPOE-MA-INTERFACE-INFO { + description + "PPPoE MA interface information"; + container tags { + description + "Tags"; + uses PPPOE-MA-TAGS-INFO; + } + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf access-interface-name { + type xr:Interface-name; + description + "Access Interface"; + } + leaf bba-group-name { + type string; + description + "BBA Group"; + } + leaf session-id { + type uint16; + description + "Session ID"; + } + leaf local-mac-address { + type yang:mac-address; + description + "Local Mac-Address"; + } + leaf peer-mac-address { + type yang:mac-address; + description + "Peer Mac-Address"; + } + leaf is-complete { + type int32; + description + "Is Complete"; + } + leaf vlan-outer-id { + type uint16; + description + "VLAN Outer ID"; + } + leaf vlan-inner-id { + type uint16; + description + "VLAN Inner ID"; + } + leaf srg-state { + type Pppoe-ma-session-idb-srg-state; + description + "SRG state"; + } + } + + grouping PPPOE-MA-ACCESS-INTERFACE-INFO { + description + "PPPoE MA Access interface information"; + leaf interface-name-xr { + type xr:Interface-name; + description + "Interface"; + } + leaf interface-state { + type Im-state; + description + "Interface State"; + } + leaf mac-address { + type yang:mac-address; + description + "Mac Address"; + } + leaf bba-group-name { + type string; + description + "BBA Group"; + } + leaf is-ready { + type int32; + description + "Is Ready"; + } + leaf sessions { + type uint32; + description + "Session Count"; + } + leaf incomplete-sessions { + type uint32; + description + "Incomplete Session Count"; + } + } + + grouping PPPOE-MA-PACKET-ERROR-COUNTS { + description + "PPPoE MA Packet Error Counts"; + leaf no-interface-handle { + type uint32; + description + "No interface handle"; + } + leaf no-packet-payload { + type uint32; + description + "No packet payload"; + } + leaf no-packet-mac-address { + type uint32; + description + "No packet mac-address"; + } + leaf invalid-version-type-value { + type uint32; + description + "Invalid version-type value"; + } + leaf bad-packet-length { + type uint32; + description + "Bad packet length"; + } + leaf unknown-interface { + type uint32; + description + "Unknown interface"; + } + leaf pado-received { + type uint32; + description + "PADO received"; + } + leaf pads-received { + type uint32; + description + "PADS received"; + } + leaf unknown-packet-type-received { + type uint32; + description + "Unknown packet type received"; + } + leaf unexpected-session-id-in-packet { + type uint32; + description + "Unexpected Session-ID in packet"; + } + leaf no-service-name-tag { + type uint32; + description + "No Service-Name Tag"; + } + leaf padt-for-unknown-session { + type uint32; + description + "PADT for unknown session"; + } + leaf padt-with-wrong-peer-mac { + type uint32; + description + "PADT with wrong peer-mac"; + } + leaf padt-with-wrong-vlan-tags { + type uint32; + description + "PADT with wrong VLAN tags"; + } + leaf zero-length-host-uniq { + type uint32; + description + "Zero-length Host-Uniq tag"; + } + leaf padt-before-pads-sent { + type uint32; + description + "PADT before PADS sent"; + } + leaf session-stage-packet-for-unknown-session { + type uint32; + description + "Session-stage packet for unknown session"; + } + leaf session-stage-packet-with-wrong-mac { + type uint32; + description + "Session-stage packet with wrong mac"; + } + leaf session-stage-packet-with-wrong-vlan-tags { + type uint32; + description + "Session-stage packet with wrong VLAN tags"; + } + leaf session-stage-packet-with-no-error { + type uint32; + description + "Session-stage packet with no error"; + } + leaf tag-too-short { + type uint32; + description + "Tag too short"; + } + leaf bad-tag-length-field { + type uint32; + description + "Bad tag-length field"; + } + leaf multiple-service-name-tags { + type uint32; + description + "Multiple Service-Name tags"; + } + leaf multiple-max-payload-tags { + type uint32; + description + "Multiple Max-Payload tags"; + } + leaf invalid-max-payload-tag { + type uint32; + description + "Invalid Max-Payload tag"; + } + leaf multiple-vendor-specific-tags { + type uint32; + description + "Multiple Vendor-specific tags"; + } + leaf unexpected-ac-name-tag { + type uint32; + description + "Unexpected AC-Name tag"; + } + leaf unexpected-error-tags { + type uint32; + description + "Unexpected error tags"; + } + leaf unknown-tag-received { + type uint32; + description + "Unknown tag received"; + } + leaf no-iana-code-invendor-tag { + type uint32; + description + "No IANA code in vendor tag"; + } + leaf invalid-iana-code-invendor-tag { + type uint32; + description + "Invalid IANA code in vendor tag"; + } + leaf vendor-tag-too-short { + type uint32; + description + "Vendor tag too short"; + } + leaf bad-vendor-tag-length-field { + type uint32; + description + "Bad vendor tag length field"; + } + leaf multiple-host-uniq-tags { + type uint32; + description + "Multiple Host-Uniq tags"; + } + leaf multiple-relay-session-id-tags { + type uint32; + description + "Multiple relay-session-id tags"; + } + leaf multiple-circuit-id-tags { + type uint32; + description + "Multiple Circuit-ID tags"; + } + leaf multiple-remote-id-tags { + type uint32; + description + "Multiple Remote-ID tags"; + } + leaf invalid-dsl-tag { + type uint32; + description + "Invalid DSL tag"; + } + leaf multiple-of-the-same-dsl-tag { + type uint32; + description + "Multiple of the same DSL tag"; + } + leaf invalid-iwf-tag { + type uint32; + description + "Invalid IWF tag"; + } + leaf multiple-iwf-tags { + type uint32; + description + "Multiple IWF tags"; + } + leaf unknownvendor-tag { + type uint32; + description + "Unknown vendor-tag"; + } + leaf no-space-left-in-packet { + type uint32; + description + "No space left in packet"; + } + leaf duplicate-host-uniq-tag-received { + type uint32; + description + "Duplicate Host-Uniq tag received"; + } + leaf duplicate-relay-session-id-tag-received { + type uint32; + description + "Duplicate Relay Session ID tag received"; + } + leaf packet-too-long { + type uint32; + description + "Packet too long"; + } + leaf invalid-ale-tag { + type uint32; + description + "Invalid ALE tag"; + } + leaf multiple-ale-tags { + type uint32; + description + "Multiple ALE tags"; + } + leaf invalid-service-name { + type uint32; + description + "Invalid Service Name"; + } + leaf invalid-peer-mac { + type uint32; + description + "Invalid Peer MAC"; + } + leaf invalid-vlan-tags { + type uint32; + description + "Invalid VLAN Tags"; + } + leaf packet-on-srg-slave { + type uint32; + description + "Packet Received on SRG Slave"; + } + } + + grouping PPPOE-MA-TOTAL-STATS-INFO { + description + "PPPoE MA Total Statistics Information"; + container packet-counts { + description + "Packet Counts"; + uses PPPOE-MA-PACKET-COUNTS; + } + container packet-error-counts { + description + "Packet Error Counts"; + uses PPPOE-MA-PACKET-ERROR-COUNTS; + } + } + + grouping PPPOE-MA-PACKET-TYPE-COUNTS { + description + "PPPoE MA Packet type counts"; + leaf sent { + type uint32; + description + "Sent"; + } + leaf received { + type uint32; + description + "Received"; + } + leaf dropped { + type uint32; + description + "Dropped"; + } + } + + grouping PPPOE-MA-PACKET-COUNTS { + description + "PPPoE MA Packet Counts"; + container padi { + description + "PADI counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container pado { + description + "PADO counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container padr { + description + "PADR counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container pads-success { + description + "PADS Success counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container pads-error { + description + "PADS Error counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container padt { + description + "PADT counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container session-state { + description + "Session Stage counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + container other { + description + "Other counts"; + uses PPPOE-MA-PACKET-TYPE-COUNTS; + } + } + + grouping PPPOE-MA-ACCESS-INTERFACE-STATS-INFO { + description + "PPPoE MA Access Interface Statistics Information"; + container packet-counts { + description + "Packet Counts"; + uses PPPOE-MA-PACKET-COUNTS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang new file mode 100644 index 0000000..d125019 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-pppoe-ma-oper.yang @@ -0,0 +1,243 @@ +module Cisco-IOS-XR-subscriber-pppoe-ma-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-pppoe-ma-oper"; + prefix subscriber-pppoe-ma-oper; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-subscriber-pppoe-ma-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-pppoe-ma package operational data. + + This module contains definitions + for the following management objects: + pppoe: PPPoE operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container pppoe { + config false; + description + "PPPoE operational data"; + container access-interface-statistics { + description + "PPPoE access interface statistics information"; + list access-interface-statistic { + key "interface-name"; + description + "Statistics information for a PPPoE-enabled + access interface"; + leaf interface-name { + type xr:Interface-name; + description + "PPPoE Access Interface"; + } + uses PPPOE-MA-ACCESS-INTERFACE-STATS-INFO; + } + } + container nodes { + description + "Per-node PPPoE operational data"; + list node { + key "node-name"; + description + "PPPoE operational data for a particular node"; + container statistics { + description + "PPPoE statistics for a given node"; + uses PPPOE-MA-TOTAL-STATS-INFO; + } + container access-interface { + description + "PPPoE access interface information"; + container summaries { + description + "PPPoE access interface summary information"; + list summary { + key "interface-name"; + description + "Summary information for a PPPoE-enabled + access interface"; + leaf interface-name { + type xr:Interface-name; + description + "PPPoE Access Interface"; + } + uses PPPOE-MA-ACCESS-INTERFACE-INFO; + } + } + } + container interfaces { + description + "Per interface PPPoE operational data"; + list interface { + key "interface-name"; + description + "Data for a PPPoE interface"; + leaf interface-name { + type xr:Interface-name; + description + "PPPoE Interface"; + } + uses PPPOE-MA-INTERFACE-INFO; + } + } + container bba-groups { + description + "PPPoE BBA-Group information"; + list bba-group { + key "bba-group-name"; + description + "PPPoE BBA-Group information"; + container limit-config { + description + "BBA-Group limit configuration information"; + uses PPPOE-MA-LIMIT-CONFIG-INFO; + } + container limits { + description + "PPPoE session limit information"; + list limit { + description + "PPPoE session limit state"; + leaf interface-name { + type xr:Interface-name; + description + "Access Interface"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf iwf { + type boolean; + description + "IWF flag"; + } + leaf circuit-id { + type xr:Cisco-ios-xr-string; + description + "Circuit ID"; + } + leaf remote-id { + type xr:Cisco-ios-xr-string; + description + "Remote ID"; + } + leaf outer-vlan-id { + type uint32 { + range "0..4095"; + } + description + "Outer VLAN ID"; + } + leaf inner-vlan-id { + type uint32 { + range "0..4095"; + } + description + "Inner VLAN ID"; + } + uses PPPOE-MA-LIMIT-INFO; + } + } + container throttles { + description + "PPPoE throttle information"; + list throttle { + description + "PPPoE session throttle state"; + leaf interface-name { + type xr:Interface-name; + description + "Access Interface"; + } + leaf mac-address { + type yang:mac-address; + description + "MAC address"; + } + leaf iwf { + type boolean; + description + "IWF flag"; + } + leaf circuit-id { + type xr:Cisco-ios-xr-string; + description + "Circuit ID"; + } + leaf remote-id { + type xr:Cisco-ios-xr-string; + description + "Remote ID"; + } + leaf outer-vlan-id { + type uint32 { + range "0..4095"; + } + description + "Outer VLAN ID"; + } + leaf inner-vlan-id { + type uint32 { + range "0..4095"; + } + description + "Inner VLAN ID"; + } + uses PPPOE-MA-THROTTLE-INFO; + } + } + container throttle-config { + description + "BBA-Group throttle configuration information"; + uses PPPOE-MA-THROTTLE-CONFIG-INFO; + } + leaf bba-group-name { + type xr:Cisco-ios-xr-string; + description + "BBA Group"; + } + } + } + container summary-total { + description + "PPPoE statistics for a given node"; + uses PPPOE-MA-SUMMARY-TOTAL-INFO; + } + leaf node-name { + type xr:Node-id; + description + "Node"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang new file mode 100644 index 0000000..059e062 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg.yang @@ -0,0 +1,211 @@ +module Cisco-IOS-XR-subscriber-session-mon-mibs-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-mibs-cfg"; + prefix subscriber-session-mon-mibs-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-session-mon-mibs package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NODE-TABLE { + description + "Common node of rising, falling, percent, + evaluation"; + container nodes { + description + "Table of Node"; + list node { + key "node-name"; + description + "Rising node level"; + leaf session-count { + type uint32 { + range "1..4294967294"; + } + description + "Session count"; + } + leaf interval { + type uint32 { + range "30..3600"; + } + description + "interval value in multiples of 10"; + } + leaf node-name { + type xr:Node-id; + description + "location"; + } + } + } + } + + grouping ACCESS-INTERFACE-TABLE { + description + "Common node of rising, falling, percent, + evaluation"; + container access-interfaces { + description + "Table of AccessInterface"; + list access-interface { + key "interface-name"; + description + "Access interface"; + leaf session-count { + type uint32 { + range "1..4294967294"; + } + description + "Session count"; + } + leaf interval { + type uint32 { + range "30..3600"; + } + description + "Interval value in multiples of 10"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + } + } + + augment "/a1:mib" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container subscriber { + description + "Subscriber threshold commands"; + container threshold { + description + "Subscriber threshold commands"; + container delta { + description + "Delta loss keyword"; + container evaluation { + description + "Evaluation keyword"; + uses ACCESS-INTERFACE-TABLE; + uses NODE-TABLE; + } + container percent { + description + "Delta loss percent"; + uses ACCESS-INTERFACE-TABLE; + uses NODE-TABLE; + } + } + container access-interface-sub { + description + "Access interface for regular expression"; + container subsets { + description + "Table of Subset"; + list subset { + key "subset-id"; + description + "Subset command"; + container regular-expression { + description + "Regular expression"; + container notification { + description + "Notification keyword"; + container rising-falling { + description + "Rising-falling threshold"; + leaf disable { + type string; + description + "Disable the notifications on access + interfaces"; + } + } + } + } + leaf subset-id { + type uint32 { + range "1..255"; + } + description + "Subset number"; + } + } + } + } + container falling { + description + "Falling threshold"; + uses ACCESS-INTERFACE-TABLE; + uses NODE-TABLE; + } + container rising { + description + "Rising threshold"; + uses ACCESS-INTERFACE-TABLE; + uses NODE-TABLE; + } + } + } + } + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container subscriber-mib { + description + "Subscriber notification commands"; + container session-aggregate { + description + "Session aggregation"; + leaf node { + type empty; + description + "Subscriber notification at node level"; + } + leaf access-interface { + type empty; + description + "Subscriber notification at access interface + level"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang new file mode 100644 index 0000000..7ac8343 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper-sub1.yang @@ -0,0 +1,99 @@ +submodule Cisco-IOS-XR-subscriber-session-mon-oper-sub1 { + belongs-to Cisco-IOS-XR-subscriber-session-mon-oper { + prefix Cisco-IOS-XR-subscriber-session-mon-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR subscriber-session-mon package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SHOW-SESSIONMON-STAT { + description + "show session_mon statistics"; + leaf total { + type uint32; + description + "total"; + } + leaf pppoe { + type uint32; + description + "pppoe"; + } + leaf pppoe-ds { + type uint32; + description + "pppoe ds"; + } + leaf dhcpv4 { + type uint32; + description + "dhcpv4"; + } + leaf dhcpv6 { + type uint32; + description + "dhcpv6"; + } + leaf dhcp-ds { + type uint32; + description + "dhcp ds"; + } + leaf ippkt { + type uint32; + description + "ippkt"; + } + leaf active-sessions { + type uint32; + description + "active sessions"; + } + leaf standby-sessions { + type uint32; + description + "standby sessions"; + } + leaf peak-active-sessions { + type uint32; + description + "peak active sessions"; + } + leaf peak-standby-sessions { + type uint32; + description + "peak standby sessions"; + } + leaf peak-start-time { + type uint32; + description + "peak start time"; + } + leaf timeout-value { + type uint32; + description + "timeout value"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper.yang new file mode 100644 index 0000000..d91e813 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-session-mon-oper.yang @@ -0,0 +1,85 @@ +module Cisco-IOS-XR-subscriber-session-mon-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-session-mon-oper"; + prefix subscriber-session-mon-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-subscriber-session-mon-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-session-mon package operational data. + + This module contains definitions + for the following management objects: + session-mon: Sessionmon + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container session-mon { + config false; + description + "Sessionmon"; + container nodes { + description + "Subscriber Sessionmon list of nodes"; + list node { + key "node-id"; + description + "Subscriber sessionmon operational data for a + particular node"; + container session-mon-statistics { + description + "Session Mon Statistics"; + uses SHOW-SESSIONMON-STAT; + } + container interface-all-statistics { + description + "Statistics Table"; + list interface-all-statistic { + key "interface-name"; + description + "Statistics"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses SHOW-SESSIONMON-STAT; + } + } + container license-statistics { + description + "Smart license"; + uses SHOW-SESSIONMON-STAT; + } + leaf node-id { + type xr:Node-id; + description + "Nodeid location "; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-cfg.yang new file mode 100644 index 0000000..bbe99ef --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-cfg.yang @@ -0,0 +1,491 @@ +module Cisco-IOS-XR-subscriber-srg-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-cfg"; + prefix subscriber-srg-cfg; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-srg package configuration. + + This module contains definitions + for the following management objects: + subscriber-redundancy: Subscriber Redundancy configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Subscriber-redundancy-group-slave-mode { + type enumeration { + enum "warm" { + value 1; + description + "Warm Mode"; + } + enum "hot" { + value 2; + description + "Hot Mode"; + } + } + description + "Subscriber redundancy group slave mode"; + } + + typedef Subscriber-redundancy-group-role { + type enumeration { + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "Subscriber redundancy group role"; + } + + typedef Srg-addr-family { + type enumeration { + enum "ipv4" { + value 2; + description + "IPv4"; + } + enum "ipv6" { + value 10; + description + "IPv6"; + } + } + description + "Srg addr family"; + } + + container subscriber-redundancy { + description + "Subscriber Redundancy configuration"; + container groups { + description + "Table of Group"; + list group { + key "group-id"; + description + "Redundancy Group configuration"; + container interface-list { + description + "List of Interfaces for this Group"; + container interfaces { + description + "Table of Interface"; + list interface { + key "interface-name"; + description + "Interface for this Group"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf interface-id { + type uint32 { + range "1..65535"; + } + mandatory true; + description + "Interface Id for the interface"; + } + } + } + container interface-ranges { + description + "Table of InterfaceRange"; + list interface-range { + key "interface-name sub-interface-range-start sub-interface-range-end"; + description + "Interface for this Group"; + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + leaf sub-interface-range-start { + type uint32 { + range "0..2147483647"; + } + description + "Sub Interface Start Range"; + } + leaf sub-interface-range-end { + type uint32 { + range "0..2147483647"; + } + description + "Sub Interface End Range"; + } + leaf interface-id-range-start { + type uint32 { + range "1..65535"; + } + description + "Interface ID Start Range"; + } + leaf interface-id-range-end { + type uint32 { + range "1..65535"; + } + description + "Interface ID End Range"; + } + } + } + leaf enable { + type empty; + description + "Enable List of Interfaces for this Group. + Deletion of this object also causes deletion + of all associated objects under InterfaceList + ."; + } + } + container peer { + description + "None"; + container ipaddress { + description + "IPv4 or IPv6 Address of SRG Peer"; + leaf address-family { + type Srg-addr-family; + description + "Type of IPv4/IPv6 address"; + } + leaf prefix-string { + type inet:ip-address-no-zone; + description + "IPv4/IPv6 address"; + } + } + leaf route-add-disable { + type empty; + description + "Set Route add disable"; + } + } + container revertive-timer { + description + "None"; + leaf max-value { + type uint32 { + range "1..65535"; + } + description + "Value of MAX Revertive Timer"; + } + leaf value { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Value of revertive time in minutes"; + } + } + container virtual-mac { + description + "Virtual MAC Address for this Group"; + leaf address { + type yang:mac-address; + description + "Virtual MAC Address for this Group"; + } + leaf disable { + type empty; + description + "Disable Virtual MAC Address for this Group"; + } + } + container state-control-route { + description + "None"; + container ipv4-routes { + description + "Table of IPv4Route"; + list ipv4-route { + must "ipv4-route-data or vrfname" { + description + "ipv4-route-data or vrfname must be present."; + } + key "prefix-string prefix-length"; + description + "None"; + + grouping IPV4-ROUTE-CONTENT { + description + "Content grouping."; + leaf tagvalue { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Tag value"; + } + } + container ipv4-route-data { + description + "Data container."; + uses IPV4-ROUTE-CONTENT; + } + leaf prefix-length { + type int32; + description + "Prefix of the IP Address"; + } + leaf prefix-string { + type inet:ip-address-no-zone; + description + "IPv4 address with prefix-length"; + } + list vrfname { + key "vrfname"; + description + "keys: vrfname"; + leaf vrfname { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + uses IPV4-ROUTE-CONTENT; + } + } + } + container ipv6-route { + description + "None"; + container ipv6na-routes { + description + "Table of IPv6NARoute"; + list ipv6na-route { + key "vrfname prefix-length prefix-string"; + description + "None"; + leaf vrfname { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf prefix-length { + type int32; + description + "Prefix of the IP Address"; + } + leaf prefix-string { + type inet:ip-address-no-zone; + description + "IPv6 address with prefix-length"; + } + leaf tagvalue { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Tag value"; + } + } + } + container ipv6pd-routes { + description + "Table of IPv6PDRoute"; + list ipv6pd-route { + key "vrfname prefix-length prefix-string"; + description + "None"; + leaf vrfname { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf prefix-length { + type int32; + description + "Prefix of the IP Address"; + } + leaf prefix-string { + type inet:ip-address-no-zone; + description + "IPv6 address with prefix-length"; + } + leaf tagvalue { + type uint32 { + range "1..4294967295"; + } + mandatory true; + description + "Tag value"; + } + } + } + } + } + leaf disable-tracking-object { + type empty; + description + "Disable Tracking Object for this Group"; + } + leaf core-tracking-object { + type string; + description + "Core Tracking Object for this Group"; + } + leaf enable { + type empty; + description + "Enable Redundancy Group configuration. + Deletion of this object also causes deletion + of all associated objects under Group."; + } + leaf preferred-role { + type Subscriber-redundancy-group-role; + description + "Set preferred role"; + } + leaf description { + type string; + description + "Description for this Group"; + } + leaf l2tp-source-ip-address { + type inet:ipv4-address-no-zone; + description + "Enter an IP address"; + } + leaf slave-mode { + type Subscriber-redundancy-group-slave-mode; + description + "Set Slave Mode"; + } + leaf hold-timer { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Set hold time (in Minutes)"; + } + leaf access-tracking-object { + type string; + description + "Access Tracking Object for this Group"; + } + leaf enable-fast-switchover { + type empty; + description + "Enable fast switchover for this Group"; + } + leaf redundancy-disable { + type empty; + description + "Disable"; + } + leaf group-id { + type uint32 { + range "1..4000"; + } + description + "Group ID"; + } + } + } + container revertive-timer { + description + "None"; + leaf max-value { + type uint32 { + range "1..65535"; + } + description + "Value of MAX Revertive Timer"; + } + leaf value { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Value of revertive time in minutes"; + } + } + leaf enable { + type empty; + description + "Enable Subscriber Redundancy configuration. + Deletion of this object also causes deletion of + all associated objects under + SubscriberRedundancy."; + } + leaf virtual-mac-prefix { + type yang:mac-address; + description + "Virtual MAC Prefix for Subscriber Redundancy"; + } + leaf preferred-role { + type Subscriber-redundancy-group-role; + description + "Set preferred role"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source Interface for Redundancy Peer + Communication"; + } + leaf slave-mode { + type Subscriber-redundancy-group-slave-mode; + description + "Set slave"; + } + leaf hold-timer { + type uint32 { + range "1..65535"; + } + units "minute"; + description + "Set hold time (in Minutes)"; + } + leaf redundancy-disable { + type empty; + description + "Disable"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang new file mode 100644 index 0000000..9de9639 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper-sub1.yang @@ -0,0 +1,1052 @@ +submodule Cisco-IOS-XR-subscriber-srg-oper-sub1 { + belongs-to Cisco-IOS-XR-subscriber-srg-oper { + prefix Cisco-IOS-XR-subscriber-srg-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR subscriber-srg package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Srg-show-so-reason { + type enumeration { + enum "internal" { + value 0; + description + "SwitchOver for Internal Reason"; + } + enum "admin" { + value 1; + description + "SwitchOver for Admin"; + } + enum "peer-up" { + value 2; + description + "SwitchOver for Peer UP"; + } + enum "peer-down" { + value 3; + description + "SwitchOver for Peer Down"; + } + enum "object-tracking-status-change" { + value 4; + description + "SwitchOver for Object Tracking status change"; + } + enum "srg-show-so-reason-max" { + value 5; + description + "Unknown Switchover Reason"; + } + } + description + "Subscriber Redundancy Switchover Reason"; + } + + typedef Srg-peer-status { + type enumeration { + enum "not-configured" { + value 0; + description + "Peer not configured"; + } + enum "initialize" { + value 1; + description + "Peer initialization"; + } + enum "retry" { + value 2; + description + "Peer retry pending"; + } + enum "connect" { + value 3; + description + "Connection in Progress"; + } + enum "listen" { + value 4; + description + "Listening in Progress"; + } + enum "registration" { + value 5; + description + "Awaiting Registration from Peer"; + } + enum "cleanup" { + value 6; + description + "Peer cleanup in progress"; + } + enum "connected" { + value 7; + description + "Peer Connected"; + } + enum "established" { + value 8; + description + "Peer Established"; + } + } + description + "SRG Peer Status"; + } + + typedef Srg-show-session-error { + type enumeration { + enum "none" { + value 0; + description + "Invalid Error"; + } + enum "hard" { + value 1; + description + "Hard Error"; + } + enum "soft" { + value 2; + description + "Soft Error"; + } + } + description + "SRG Session Error Operation"; + } + + typedef Srg-show-session-operation { + type enumeration { + enum "none" { + value 0; + description + "No Operation"; + } + enum "update" { + value 1; + description + "SRG Session Update Operation"; + } + enum "delete" { + value 2; + description + "SRG Session Delete Operation"; + } + enum "in-sync" { + value 3; + description + "SRG Session In Sync"; + } + } + description + "SRG Session Operation"; + } + + typedef Srg-show-comp { + type enumeration { + enum "srga" { + value 0; + description + "SRG Agent"; + } + enum "dhcpv4" { + value 1; + description + "DHCPv4"; + } + enum "dhcpv6" { + value 2; + description + "DHCPv6"; + } + enum "pppoe" { + value 3; + description + "PPPoE"; + } + enum "ppp" { + value 4; + description + "PPP"; + } + enum "l2tp" { + value 5; + description + "L2TP"; + } + enum "iedge" { + value 6; + description + "iEdge"; + } + } + description + "SRG Components"; + } + + typedef Srg-show-slave-mode { + type enumeration { + enum "none" { + value 0; + description + "Not Configured"; + } + enum "warm" { + value 1; + description + "Warm Modem"; + } + enum "hot" { + value 2; + description + "Hot Mode"; + } + } + description + "SRG Slave Mode"; + } + + typedef Srg-show-role { + type enumeration { + enum "none" { + value 0; + description + "Not Configured"; + } + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "SRG Role"; + } + + typedef Srg-show-im-role { + type enumeration { + enum "none" { + value 0; + description + "Not Determined"; + } + enum "master" { + value 1; + description + "Master Role"; + } + enum "slave" { + value 2; + description + "Slave Role"; + } + } + description + "SRG Interface Management Role"; + } + + grouping SRG-SHOW-GROUP-INTF-INFO { + description + "Subscriber Redundancy Group Interface-List + Information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-synchronization-id { + type uint32; + description + "Interface Synchronization ID"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + } + + grouping SRG-SHOW-GROUP-ENTRY { + description + "Subscriber Redundancy Group Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf description { + type string; + description + "Group Description"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf init-role { + type Srg-show-role; + description + "Preferred Init Role"; + } + leaf negotiating-role { + type Srg-show-role; + description + "Negotiating Role"; + } + leaf current-role { + type Srg-show-role; + description + "Current Role"; + } + leaf slave-mode { + type Srg-show-slave-mode; + description + "Slave Mode"; + } + leaf hold-timer { + type uint32; + description + "Switch Over Hold Time"; + } + leaf virtual-mac-address { + type string; + description + "Virtual MAC Address"; + } + leaf virtual-mac-address-disable { + type boolean; + description + "Virtual MAC Address Disable"; + } + leaf l2tp-source-ip { + type inet:ipv4-address; + description + "L2TP Souce IP Address"; + } + leaf core-tracking-object-name { + type string; + description + "Core Object Tracking Name"; + } + leaf core-tracking-object-status { + type boolean; + description + "Core Object Tracking Status"; + } + leaf access-tracking-object-name { + type string; + description + "Access Object Tracking Name"; + } + leaf access-tracking-object-status { + type boolean; + description + "Access Object Tracking Status"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf peer-status { + type Srg-peer-status; + description + "Peer Status"; + } + leaf peer-last-negotiation-time { + type string; + description + "Last Negotiation time of Peer"; + } + leaf peer-last-up-time { + type string; + description + "Last UP time of Peer"; + } + leaf peer-last-down-time { + type string; + description + "Last Down time of Peer"; + } + leaf peer-init-role { + type Srg-show-role; + description + "Peer Preferred Init Role"; + } + leaf peer-negotiating-role { + type Srg-show-role; + description + "Peer Negotiating Role"; + } + leaf peer-current-role { + type Srg-show-role; + description + "Peer Current Role"; + } + leaf peer-object-tracking-status { + type boolean; + description + "Peer Object Tracking Status"; + } + leaf last-switchover-time { + type string; + description + "Last Switchover time"; + } + leaf switchover-count { + type uint32; + description + "Switchover Count"; + } + leaf last-switchover-reason { + type Srg-show-so-reason; + description + "Last Switchover Reason"; + } + leaf switchover-hold-time { + type uint32; + units "second"; + description + "Switchover Hold Time in seconds"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf slave-update-failure-count { + type uint32; + description + "Slave Session update fail count"; + } + leaf tunnel-count { + type uint32; + description + "Tunnel Count"; + } + leaf pending-session-update-count { + type uint32; + description + "Pending Session Update Count"; + } + leaf pending-session-delete-count { + type uint32; + description + "Pending Session Delete Count"; + } + leaf interface-count { + type uint32; + description + "No. of Configured Interfaces"; + } + leaf revertive-timer { + type uint32; + description + "Revertive timer for SWO back"; + } + leaf switchover-revert-time { + type uint32; + units "second"; + description + "Switchover Revert Time in seconds"; + } + list interface { + description + "Interface List"; + uses SRG-SHOW-GROUP-INTF-INFO; + } + } + + grouping SRG-AGT-SHOW-GROUP-LIST-ENTRY { + description + "Subscriber Redundancy Agent Group Summary + Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf role { + type Srg-show-im-role; + description + "SRG Role"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf peer-status { + type Srg-peer-status; + description + "Peer Status"; + } + leaf preferred-role { + type Srg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Srg-show-slave-mode; + description + "Slave Mode"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf interface-count { + type uint32; + description + "Interface Count"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf pending-add-session-count { + type uint32; + description + "Pending Session Count for Synchornization"; + } + } + + grouping SRG-SHOW-AGT-INTF-CLIENT-STATUS { + description + "srg show agt intf client status"; + leaf component { + type Srg-show-comp; + description + "Component"; + } + leaf srg-show-idb-client-eoms-pending { + type boolean; + description + "SRG SHOW IDB CLIENT EOMS PENDING"; + } + leaf srg-show-idb-client-sync-eod-pending { + type boolean; + description + "SRG SHOW IDB CLIENT SYNC EOD PENDING"; + } + leaf session-count { + type uint32; + description + "session count"; + } + } + + grouping SRG-SHOW-INTF-STATUS { + description + "Subscriber Redundancy Interface Status"; + leaf idb-state-fwd-ref { + type boolean; + description + "Interface Forward Referenced"; + } + leaf idb-state-stale { + type boolean; + description + "Interface State Stale"; + } + leaf idb-state-registered { + type boolean; + description + "Interface State Registered"; + } + leaf idb-state-caps-added { + type boolean; + description + "Interface State Caps Added"; + } + leaf idb-state-owned-re-source { + type boolean; + description + "Interface State Owned Resource"; + } + leaf idb-client-eoms-pending { + type boolean; + description + "Interface Client EOMS Pending"; + } + leaf idb-state-p-end-caps-rem { + type boolean; + description + "Interface Caps Remove Pending"; + } + leaf idb-state-p-end-reg-disable { + type boolean; + description + "Interface Registration Disable Pending"; + } + } + + grouping SRG-SHOW-INTF-OPER { + description + "Subscriber Redundancy Interface Operational + Status"; + leaf idb-oper-reg-enable { + type boolean; + description + "Operational Registration Enabled"; + } + leaf idb-oper-reg-disable { + type boolean; + description + "Operational Registration Disabled"; + } + leaf idb-oper-caps-add { + type boolean; + description + "Operational Caps Add"; + } + leaf idb-oper-caps-remove { + type boolean; + description + "Operational Caps Remove"; + } + leaf idb-oper-attr-update { + type boolean; + description + "Operational Attribute Update"; + } + } + + grouping SRG-SHOW-AGT-INTF-ENTRY { + description + "Subscriber Redundancy Agent Interface Information"; + container interface-oper { + description + "Interface Batch Operation"; + uses SRG-SHOW-INTF-OPER; + } + container interface-status { + description + "Interface Status"; + uses SRG-SHOW-INTF-STATUS; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-synchronization-id { + type uint32; + description + "Interface Sync ID"; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf role { + type Srg-show-im-role; + description + "SRG Role"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf session-count { + type uint32; + description + "Session Count"; + } + leaf interface-enable-error-count { + type uint32; + description + "Interface Enable Error Count"; + } + leaf interface-disable-error-count { + type uint32; + description + "Interface Disable Error Count"; + } + leaf interface-caps-add-error-count { + type uint32; + description + "Interface Caps Add Error Count"; + } + leaf interface-caps-remove-error-count { + type uint32; + description + "Interface Caps Remove Error Count"; + } + leaf interface-attribute-update-error-count { + type uint32; + description + "Interface Attribute Update Error Count"; + } + list client-status { + description + "Interface status for each client"; + uses SRG-SHOW-AGT-INTF-CLIENT-STATUS; + } + } + + grouping SRG-SHOW-SESSION-ERROR-INFO { + description + "Subscriber Redundancy Session Verbose Client + Error Information"; + leaf sync-error-count { + type uint16; + description + "No. of Errors occured during Synchronization"; + } + leaf last-error-code { + type uint32; + description + "Last Error Code"; + } + leaf last-error-type { + type Srg-show-session-error; + description + "Last Error Type"; + } + } + + grouping SRG-SHOW-SESSION-CLIENT { + description + "Subscriber Redundancy Session Verbose Client + Information"; + leaf component { + type Srg-show-comp; + description + "Component"; + } + leaf operation { + type Srg-show-session-operation; + description + "Operation Code"; + } + leaf tx-list-queue-fail { + type boolean; + description + "Tx List Queue Failed"; + } + leaf marked-for-sweeping { + type boolean; + description + "Marked For Sweeping"; + } + leaf marked-for-cleanup { + type boolean; + description + "Marked For Cleanup"; + } + } + + grouping SRG-SHOW-SESSION-ENTRY { + description + "Subscriber Redundancy Session Information"; + leaf group-id-xr { + type uint32; + description + "Group ID"; + } + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf outer-vlan { + type uint32; + description + "Outer VLAN Information"; + } + leaf inner-vlan { + type uint32; + description + "Inner VLAN Information"; + } + leaf session-mac-address { + type string; + description + "Session MAC Address"; + } + leaf pppoe-session-id { + type uint16; + description + "PPPoE Session ID"; + } + leaf l2tp-tunnel-id { + type uint32; + description + "L2TP Tunnel local ID"; + } + leaf role-master { + type boolean; + description + "Master Role is Set"; + } + leaf valid-mac-address { + type boolean; + description + "Holds a Valid MAC Address"; + } + leaf negative-acknowledgement-update-all { + type boolean; + description + "Negative Acknowledgement Update Flag is Set"; + } + list session-detailed-information { + description + "More Session Information"; + uses SRG-SHOW-SESSION-CLIENT; + } + list session-sync-error-information { + description + "Session Synchroniation Error Information"; + uses SRG-SHOW-SESSION-ERROR-INFO; + } + } + + grouping SRG-SHOW-MGR-INTF-ENTRY { + description + "Subscriber Redundancy Manager Interface + Information"; + leaf interface-name { + type string; + description + "Interface Name"; + } + leaf interface-mapping-id { + type uint32; + description + "Interface Mapping ID"; + } + leaf forward-referenced { + type boolean; + description + "Forward Referenced"; + } + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf role { + type Srg-show-im-role; + description + "SRG Role"; + } + } + + grouping SRG-SHOW-MGR-SUMMARY { + description + "Subscriber Redundancy Manager Summary Information"; + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf active-state { + type boolean; + description + "Process Active State"; + } + leaf preferred-role { + type Srg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Srg-show-slave-mode; + description + "Slave Mode"; + } + leaf hold-timer { + type uint32; + description + "Switch Over Hold Time"; + } + leaf source-interface-name { + type string; + description + "Source Interface Name"; + } + leaf vrf-name { + type string; + description + "VRF Name"; + } + leaf source-interface-ipv4-address { + type inet:ipv4-address; + description + "Source Interface IPv4 Address"; + } + leaf source-interface-ipv6-address { + type inet:ipv6-address; + description + "Source Interface IPv6 Address"; + } + leaf group-count { + type uint32; + description + "No. of Configured Groups"; + } + leaf disabled-group-count { + type uint32; + description + "No. of Disabled Groups by Config"; + } + leaf master-group-count { + type uint32; + description + "No. of Master/Active Groups"; + } + leaf slave-group-count { + type uint32; + description + "No. of Slave Groups"; + } + leaf interface-count { + type uint32; + description + "No. of Configured Interfaces"; + } + leaf master-interface-count { + type uint32; + description + "No. of Master/Active Interfaces"; + } + leaf slave-interface-count { + type uint32; + description + "No. of Slave Interfaces"; + } + } + + grouping SRG-SHOW-MGR-GROUP-ENTRY { + description + "Subscriber Redundancy Manager Group Information"; + leaf group-id { + type uint32; + description + "Group ID"; + } + leaf description { + type string; + description + "Group Description"; + } + leaf disabled { + type boolean; + description + "Disabled by Config"; + } + leaf role { + type Srg-show-im-role; + description + "SRG Role"; + } + leaf peer-ipv4-address { + type inet:ipv4-address; + description + "Peer IPv4 Address"; + } + leaf peer-ipv6-address { + type inet:ipv6-address; + description + "Peer IPv6 Address"; + } + leaf interface-count { + type uint32; + description + "Interface Count"; + } + leaf preferred-role { + type Srg-show-role; + description + "Preferred Role"; + } + leaf slave-mode { + type Srg-show-slave-mode; + description + "Slave Mode"; + } + leaf object-tracking-status { + type boolean; + description + "Object Tracking Status (Enabled/Disabled)"; + } + leaf virtual-mac-address { + type string; + description + "Virtual MAC Address"; + } + leaf virtual-mac-address-disable { + type boolean; + description + "Virtual MAC Address Disable"; + } + leaf node-name { + type string; + description + "Node Information"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper.yang new file mode 100644 index 0000000..67fa29e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-subscriber-srg-oper.yang @@ -0,0 +1,162 @@ +module Cisco-IOS-XR-subscriber-srg-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-srg-oper"; + prefix subscriber-srg-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-subscriber-srg-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR subscriber-srg package operational data. + + This module contains definitions + for the following management objects: + subscriber-redundancy-manager: Subscriber Redundancy Manager + information + subscriber-redundancy-agent: subscriber redundancy agent + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container subscriber-redundancy-manager { + config false; + description + "Subscriber Redundancy Manager information"; + container groups { + description + "Subscriber Redundancy Manager group table"; + list group { + key "group"; + description + "Subscriber redundancy manager group"; + leaf group { + type xr:Cisco-ios-xr-string; + description + "Group"; + } + uses SRG-SHOW-MGR-GROUP-ENTRY; + } + } + container summary { + description + "Subscriber redundancy manager summary"; + uses SRG-SHOW-MGR-SUMMARY; + } + container interfaces { + description + "Subscriber Redundancy Manager interface table"; + list interface { + key "interface"; + description + "Subscriber redundancy manager interface"; + leaf interface { + type xr:Cisco-ios-xr-string; + description + "Interface"; + } + uses SRG-SHOW-MGR-INTF-ENTRY; + } + } + } + container subscriber-redundancy-agent { + config false; + description + "subscriber redundancy agent"; + container nodes { + description + "List of nodes for which subscriber data is + collected"; + list node { + key "node-name"; + description + "Subscriber data for a particular node"; + container group-id-xr { + description + "Data for particular subscriber group session"; + list group-id { + key "group-id"; + description + "Group id for subscriber group session"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "GroupId"; + } + uses SRG-SHOW-SESSION-ENTRY; + } + } + container interfaces { + description + "List of interfaces"; + list interface { + key "interface"; + description + "Specify interface name"; + leaf interface { + type xr:Interface-name; + description + "Interface"; + } + uses SRG-SHOW-AGT-INTF-ENTRY; + } + } + container group-summaries { + description + "Subscriber data for a particular node"; + list group-summary { + key "group-id"; + description + "Subscriber redundancy agent group summary"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "GroupId"; + } + uses SRG-AGT-SHOW-GROUP-LIST-ENTRY; + } + } + container group-ids { + description + "Data for particular subscriber group "; + list group-id { + key "group-id"; + description + "Group id for subscriber group"; + leaf group-id { + type xr:Cisco-ios-xr-string; + description + "Group Id"; + } + uses SRG-SHOW-GROUP-ENTRY; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-controller-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-controller-cfg.yang new file mode 100644 index 0000000..c5d9ee6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-controller-cfg.yang @@ -0,0 +1,308 @@ +module Cisco-IOS-XR-syncc-controller-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-syncc-controller-cfg"; + prefix syncc-controller-cfg; + + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + import Cisco-IOS-XR-freqsync-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR syncc-controller package configuration. + + This YANG module augments the + Cisco-IOS-XR-freqsync-cfg + Cisco-IOS-XR-config-mda-cfg + modules with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-22 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SYNC-CONTROLLER { + container sync-controller { + description + "sync-controller value"; + container transport-mode { + description + "Transport mode"; + container frequency-mode { + description + "Frequency Mode"; + container port-mode { + presence "Indicates a port-mode node is configured."; + description + "clock-interface sync location + port-parameters bits-input 2m -> Option1=0, + Option2=2, Option3=0, Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-input 2m -> Option1=0, + Option2=2, Option3=0, Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-input 64k-input-only -> + Option1=0, Option2=3, Option3=0, Option4=0, + Option5=0 clock-interface sync + location port-parameters bits-input + e1 crc-4 sa4 ami -> Option1=0, Option2=1, + Option3=1, Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-input e1 crc-4 sa4 hdb3 + -> Option1=0, Option2=1, Option3=1, Option4=0 + , Option5=1 clock-interface sync + location port-parameters bits-input + e1 crc-4 sa5 ami -> Option1=0, Option2=1, + Option3=1, Option4=0, Option5=1 + clock-interface sync location + port-parameters bits-input e1 crc-4 sa5 hdb3 + -> Option1=0, Option2=1, Option3=1, Option4=1 + , Option5=1 clock-interface sync + location port-parameters bits-input + e1 crc-4 sa6 ami -> Option1=0, Option2=1, + Option3=1, Option4=0, Option5=2 + clock-interface sync location + port-parameters bits-input e1 crc-4 sa6 hdb3 + -> Option1=0, Option2=1, Option3=1, Option4=1 + , Option5=2 clock-interface sync + location port-parameters bits-input + e1 crc-4 sa7 ami -> Option1=0, Option2=1, + Option3=1, Option4=0, Option5=3 + clock-interface sync location + port-parameters bits-input e1 crc-4 sa7 hdb3 + -> Option1=0, Option2=1, Option3=1, Option4=1 + , Option5=3 clock-interface sync + location port-parameters bits-input + e1 crc-4 sa8 ami -> Option1=0, Option2=1, + Option3=1, Option4=0, Option5=4 + clock-interface sync location + port-parameters bits-input e1 crc-4 sa8 hdb3 + -> Option1=0, Option2=1, Option3=1, Option4=1 + , Option5=4 clock-interface sync + location port-parameters bits-input + e1 non-crc-4 ami -> Option1=0, Option2=1, + Option3=0, Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-input e1 non-crc-4 hdb3 + -> Option1=0, Option2=1, Option3=0, Option4=1 + , Option5=0 clock-interface sync + location port-parameters bits-input + t1 d4 ami -> Option1=0, Option2=0, Option3=1, + Option4=0, Option5=0 clock-interface sync + location port-parameters + bits-input t1 d4 b8zs -> Option1=0, Option2=0 + , Option3=1, Option4=1, Option5=0 + clock-interface sync location + port-parameters bits-input t1 esf ami -> + Option1=0, Option2=0, Option3=0, Option4=0, + Option5=0 clock-interface sync + location port-parameters bits-input + t1 esf b8zs -> Option1=0, Option2=0, + Option3=0, Option4=1, Option5=0 + clock-interface sync location + port-parameters bits-output 2m -> Option1=1 , + Option2=2, Option3=0, Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-output 6m-output-only -> + Option1=1 , Option2=4, Option3=0 , Option4=0, + Option5=0 clock-interface sync + location port-parameters bits-output + e1 crc-4 sa4 ami -> Option1=1 , Option2=1, + Option3=1 , Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-output e1 crc-4 sa4 hdb3 + -> Option1=1 , Option2=1, Option3=1 , + Option4=1, Option5=0 clock-interface sync + location port-parameters + bits-output e1 crc-4 sa5 ami -> Option1=1 , + Option2=1, Option3=1 , Option4=0, Option5=1 + clock-interface sync location + port-parameters bits-output e1 crc-4 sa5 hdb3 + -> Option1=1 , Option2=1, Option3=1 , + Option4=1, Option5=1 clock-interface sync + location port-parameters + bits-output e1 crc-4 sa6 ami -> Option1=1 , + Option2=1, Option3=1 , Option4=0, Option5=2 + clock-interface sync location + port-parameters bits-output e1 crc-4 sa6 hdb3 + -> Option1=1 , Option2=1, Option3=1 , + Option4=1, Option5=2 clock-interface sync + location port-parameters + bits-output e1 crc-4 sa7 ami -> Option1=1 , + Option2=1, Option3=1 , Option4=0, Option5=3 + clock-interface sync location + port-parameters bits-output e1 crc-4 sa7 hdb3 + -> Option1=1 , Option2=1, Option3=1 , + Option4=1, Option5=3 clock-interface sync + location port-parameters + bits-output e1 crc-4 sa8 ami -> Option1=1 , + Option2=1, Option3=1 , Option4=0, Option5=4 + clock-interface sync location + port-parameters bits-output e1 crc-4 sa8 hdb3 + -> Option1=1 , Option2=1, Option3=1 , + Option4=1, Option5=4 clock-interface sync + location port-parameters + bits-output e1 non-crc-4 ami -> Option1=1 , + Option2=1, Option3=0 , Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-output e1 non-crc-4 hdb3 + -> Option1=1 , Option2=1, Option3=0 , + Option4=1, Option5=0clock-interface sync + location port-parameters + bits-output t1 d4 ami 0 -> Option1=1 , + Option2=0, Option3=1 , Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-output t1 d4 ami 1 -> + Option1=1 , Option2=0, Option3=1 , Option4=0, + Option5=1 clock-interface sync + location port-parameters bits-output + t1 d4 ami 2 -> Option1=1 , Option2=0, + Option3=1 , Option4=0, Option5=2 + clock-interface sync location + port-parameters bits-output t1 d4 ami 3 -> + Option1=1 , Option2=0, Option3=1 , Option4=0, + Option5=3 clock-interface sync + location port-parameters bits-output + t1 d4 ami 4 -> Option1=1 , Option2=0, + Option3=1 , Option4=0, Option5=4 + clock-interface sync location + port-parameters bits-output t1 d4 b8zs 0 -> + Option1=1 , Option2=0, Option3=1 , Option4=1, + Option5=0 clock-interface sync + location port-parameters bits-output + t1 d4 b8zs 1 -> Option1=1 , Option2=0, + Option3=1 , Option4=1, Option5=1 + clock-interface sync location + port-parameters bits-output t1 d4 b8zs 2 -> + Option1=1 , Option2=0, Option3=1 , Option4=1, + Option5=2 clock-interface sync + location port-parameters bits-output + t1 d4 b8zs 3 -> Option1=1 , Option2=0, + Option3=1 , Option4=1, Option5=3 + clock-interface sync location + port-parameters bits-output t1 d4 b8zs 4 -> + Option1=1 , Option2=0, Option3=1 , Option4=1, + Option5=4 clock-interface sync + location port-parameters bits-output + t1 esf ami 0 -> Option1=1 , Option2=0, + Option3=0 , Option4=0, Option5=0 + clock-interface sync location + port-parameters bits-output t1 esf ami 1 -> + Option1=1 , Option2=0, Option3=0 , Option4=0, + Option5=1 clock-interface sync + location port-parameters bits-output + t1 esf ami 2 -> Option1=1 , Option2=0, + Option3=0 , Option4=0, Option5=2 + clock-interface sync location + port-parameters bits-output t1 esf ami 3 -> + Option1=1 , Option2=0, Option3=0 , Option4=0, + Option5=3 clock-interface sync + location port-parameters bits-output + t1 esf ami 4 -> Option1=1 , Option2=0, + Option3=0 , Option4=0, Option5=4 + clock-interface sync location + port-parameters bits-output t1 esf b8zs 0 -> + Option1=1 , Option2=0, Option3=0 , Option4=1, + Option5=0 clock-interface sync + location port-parameters bits-output + t1 esf b8zs 1 -> Option1=1 , Option2=0, + Option3=0 , Option4=1, Option5=1 + clock-interface sync location + port-parameters bits-output t1 esf b8zs 2 -> + Option1=1 , Option2=0, Option3=0 , Option4=1, + Option5=2 clock-interface sync + location port-parameters bits-output + t1 esf b8zs 3 -> Option1=1 , Option2=0, + Option3=0 , Option4=1, Option5=3 + clock-interface sync location + port-parameters bits-output t1 esf b8zs 4 -> + Option1=1 , Option2=0, Option3=0 , Option4=1, + Option5=4 clock-interface sync + location port-parameters + port-parameters uti -> Option1=2 , Option2=0, + Option3=0 , Option4=0, Option5=0 "; + leaf option1 { + type uint32 { + range "0..2"; + } + mandatory true; + description + "Option value #1"; + } + leaf option2 { + type uint32 { + range "0..4"; + } + mandatory true; + description + "Option value #2"; + } + leaf option3 { + type uint32 { + range "0..1"; + } + mandatory true; + description + "Option value #3"; + } + leaf option4 { + type uint32 { + range "0..1"; + } + mandatory true; + description + "Option value #4"; + } + leaf option5 { + type uint32 { + range "0..4"; + } + mandatory true; + description + "Option value #5"; + } + } + leaf shutdown { + type empty; + description + "Disable the SyncE Port"; + } + } + } + } + } + + augment "/node:active-nodes/node:active-node/a1:clock-interface/a1:clocks/a1:clock" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-freqsync-cfg'"; + uses SYNC-CONTROLLER; + } + augment "/node:preconfigured-nodes/node:preconfigured-node/a1:clock-interface/a1:clocks/a1:clock" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-freqsync-cfg'"; + uses SYNC-CONTROLLER; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper-sub1.yang new file mode 100644 index 0000000..f9a2e6a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper-sub1.yang @@ -0,0 +1,731 @@ +submodule Cisco-IOS-XR-syncc-oper-sub1 { + belongs-to Cisco-IOS-XR-syncc-oper { + prefix Cisco-IOS-XR-syncc-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR syncc package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-08 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Source-state-name { + type enumeration { + enum "not-valid" { + description + "Invalid"; + } + enum "unqualified" { + description + "Unqualified state"; + } + enum "available" { + description + "Available state"; + } + enum "failed" { + description + "Failed state"; + } + enum "unmonitored" { + description + "Unmonitored state"; + } + enum "error" { + description + "Error state"; + } + } + description + "Syncc source state name"; + } + + typedef Source { + type enumeration { + enum "invalid" { + description + "Invalid state"; + } + enum "ethernet-line-interface" { + description + "Ethernet interface "; + } + enum "sonet-line-interface" { + description + "SONET interface "; + } + enum "clock-interface" { + description + "Clock interface state"; + } + enum "internal" { + description + "Internal state"; + } + } + description + "Syncc source type"; + } + + typedef Interface-state { + type enumeration { + enum "up" { + description + "Up state"; + } + enum "down" { + description + "Down state"; + } + enum "admin-down" { + description + "Admin down state"; + } + } + description + "Interface state"; + } + + typedef Ql-option-1 { + type enumeration { + enum "quality-level-none" { + description + "No value"; + } + enum "o1" { + description + "Option 1"; + } + enum "o2-g1" { + description + "Option 2 Gen 1"; + } + enum "o2-g2" { + description + "Option 2 Gen 2"; + } + } + description + "Quality level options"; + } + + typedef Direct { + type enumeration { + enum "receive-transmit" { + description + "Receive or transmit"; + } + enum "transmit" { + description + "Transmit"; + } + enum "receive" { + description + "Receive"; + } + } + description + "Direction status"; + } + + typedef Smode2 { + type enumeration { + enum "ami-mode" { + description + "AMI"; + } + enum "b8zs" { + description + "B8ZS submode"; + } + enum "hdb3" { + description + "HDB3 submode"; + } + enum "submode2-none" { + description + "No mode is selected"; + } + } + description + "Second mode type"; + } + + typedef Smode1 { + type enumeration { + enum "extended-super-frame" { + description + "Extended Superframe(ESF)"; + } + enum "d4" { + description + "D4 channel unit"; + } + enum "non-crc4" { + description + "Non CRC 4 mode"; + } + enum "crc4" { + description + "CRC 4"; + } + enum "submode1-none" { + description + "No mode is selected"; + } + } + description + "First mode type"; + } + + typedef Clock-modes { + type enumeration { + enum "t1" { + description + "T1 mode"; + } + enum "e1" { + description + "E1 mode"; + } + enum "two-m" { + description + "2048M mode"; + } + enum "input64k" { + description + "64kCC input"; + } + enum "output6m" { + description + "6312M output"; + } + enum "uti" { + description + "Universal transport interface(UTI)"; + } + enum "none" { + description + "No mode is selected"; + } + } + description + "Different clock modes"; + } + + typedef Node-state { + type enumeration { + enum "active" { + value 1; + description + "Node in active mode"; + } + enum "standby" { + value 2; + description + "Node in standby mode"; + } + } + description + "Different modes of a node"; + } + + typedef Syncc-states { + type enumeration { + enum "initializing" { + description + "Initial state"; + } + enum "running" { + description + "Running state"; + } + enum "normal" { + description + "Normal state"; + } + enum "shutdown" { + description + "Shutdown state"; + } + } + description + "Different syncc states"; + } + + grouping SYNCC-TIMING-SOURCE { + description + "Controllers timing source status"; + leaf input { + type uint8; + description + "Input number"; + } + leaf slot { + type uint8; + description + "Slot number"; + } + leaf port { + type uint8; + description + "Port number"; + } + leaf clock-source { + type Source; + description + "Status of syncc source type"; + } + leaf rank { + type uint8; + description + "Rank of sync timing source table"; + } + leaf quality-level-option { + type uint8; + description + "Quality level option"; + } + leaf quality-level-value { + type uint8; + description + "Quality level value"; + } + leaf user-priority { + type uint8; + description + "User priority of sync timing source table"; + } + leaf clock-state { + type Source-state-name; + description + "Status of clock state"; + } + leaf is-select { + type boolean; + description + "True if selected"; + } + } + + grouping SYNCC-TIMING-SRC-TBL1 { + description + "Structure containing timing source table"; + list timing-status-t0 { + max-elements "11"; + description + "Scheduling PLL T0 "; + uses SYNCC-TIMING-SOURCE; + } + list timing-status-t4 { + max-elements "11"; + description + "Scheduling PLL T4 "; + uses SYNCC-TIMING-SOURCE; + } + list timing-status1588 { + max-elements "11"; + description + "Scheduling PLL 1588 "; + uses SYNCC-TIMING-SOURCE; + } + } + + grouping SYNCC-TIMING-SRC-TBL { + description + "Syncc timing source table information"; + list syncc-instance { + description + "List of syncc timing table information"; + uses SYNCC-TIMING-SRC-TBL1; + } + } + + grouping SYNCC-CLOCK-SETTING { + description + "SYNCC clock information"; + leaf is-configured-port0 { + type boolean; + description + "True if clock is configured for port 0"; + } + leaf is-configured-port1 { + type boolean; + description + "True if clock is configured for port 1"; + } + leaf is-configured-port2 { + type boolean; + description + "True if clock is configured for port 2"; + } + leaf is-configured-port3 { + type boolean; + description + "True if clock is configured for port 3"; + } + leaf mode-port0 { + type Clock-modes; + description + "Clock setting mode for port 0"; + } + leaf mode-port1 { + type Clock-modes; + description + "Clock setting mode for port 1"; + } + leaf mode-port2 { + type Clock-modes; + description + "Clock setting mode for port 2"; + } + leaf mode-port3 { + type Clock-modes; + description + "Clock setting mode for port 3"; + } + leaf submode1-port0 { + type Smode1; + description + "First submode for port 0"; + } + leaf submode1-port1 { + type Smode1; + description + "First submode for port 1"; + } + leaf submode1-port2 { + type Smode1; + description + "First submode for port 2"; + } + leaf submode1-port3 { + type Smode1; + description + "First submode for port 3"; + } + leaf submode2-port0 { + type Smode2; + description + "Second submode for port 0"; + } + leaf submode2-port1 { + type Smode2; + description + "Second submode for port 1"; + } + leaf submode2-port2 { + type Smode2; + description + "Second submode for port 2"; + } + leaf submode2-port3 { + type Smode2; + description + "Second submode for port 3"; + } + leaf submode3-port0 { + type uint32; + description + "Third submode for port 0"; + } + leaf submode3-port1 { + type uint32; + description + "Third submode for port 1"; + } + leaf submode3-port2 { + type uint32; + description + "Third submode for port 2"; + } + leaf submode3-port3 { + type uint32; + description + "Third submode for port 3"; + } + leaf shutdown-port0 { + type uint32; + description + "Configure disable value for port 0"; + } + leaf shutdown-port1 { + type uint32; + description + "Configure disable value for port 1"; + } + leaf shutdown-port2 { + type uint32; + description + "Configure disable value for port 2"; + } + leaf shutdown-port3 { + type uint32; + description + "Configure disable value for port 3"; + } + leaf direction-port0 { + type Direct; + description + "Direction of interface for port 0"; + } + leaf direction-port1 { + type Direct; + description + "Direction of interface for port 1"; + } + leaf direction-port2 { + type Direct; + description + "Direction of interface for port 2"; + } + leaf direction-port3 { + type Direct; + description + "Direction of interface for port 3"; + } + leaf baudrate-port0 { + type uint32; + description + "Baudrate for port 0"; + } + leaf baudrate-port1 { + type uint32; + description + "Baudrate for port 1"; + } + leaf baudrate-port2 { + type uint32; + description + "Baudrate for port 2"; + } + leaf baudrate-port3 { + type uint32; + description + "Baudrate for port 3"; + } + leaf quality-option-port0 { + type Ql-option-1; + description + "Quality Level option of port 0"; + } + leaf quality-option-port1 { + type Ql-option-1; + description + "Quality Level option of the port 1"; + } + leaf quality-option-port2 { + type Ql-option-1; + description + "Quality Level option of the port 2"; + } + leaf quality-option-port3 { + type Ql-option-1; + description + "Quality Level option of the port 3"; + } + leaf transmit-ssm-port0 { + type uint32; + description + "Transmit SSM for port 0"; + } + leaf transmit-ssm-port1 { + type uint32; + description + "Transmit SSM for port 1"; + } + leaf transmit-ssm-port2 { + type uint32; + description + "Transmit SSM for port 2"; + } + leaf transmit-ssm-port3 { + type uint32; + description + "Transmit SSM for port 3"; + } + leaf recieve-ssm-port0 { + type uint32; + description + "Receive SSM for port 0"; + } + leaf recieve-ssm-port1 { + type uint32; + description + "Receive SSM for port 1"; + } + leaf recieve-ssm-port2 { + type uint32; + description + "Receive SSM for port 2"; + } + leaf recieve-ssm-port3 { + type uint32; + description + "Receive SSM for port 3"; + } + leaf interface-state-port0 { + type Interface-state; + description + "Interface state for port 0"; + } + leaf interface-state-port1 { + type Interface-state; + description + "Interface state for port 1"; + } + leaf interface-state-port2 { + type Interface-state; + description + "Interface state for port 2"; + } + leaf interface-state-port3 { + type Interface-state; + description + "Interface state for port 3"; + } + } + + grouping SYNCC-CLOCK-SETTING-TBLN { + description + "Clock table information"; + list clock { + max-elements "1"; + description + "Clock table for an RP"; + uses SYNCC-CLOCK-SETTING; + } + } + + grouping SYNCC-CLOCK-SETTING-NEWTBL { + description + "SYNCC interface information"; + list syncc-instance { + description + "List of syncc clock information "; + uses SYNCC-CLOCK-SETTING-TBLN; + } + } + + grouping SYNCC-INTERNAL-STATE1 { + description + "Structure containing SYNCC internal state"; + leaf controller-state { + type Syncc-states; + description + "Syncc controller state"; + } + leaf syncc-node-state { + type Node-state; + description + "Status of syncc node mode"; + } + leaf verbose-level { + type uint32; + description + "Verbose level number"; + } + leaf initial-count { + type uint32; + description + "Initial count number"; + } + leaf shutdown-count { + type uint32; + description + "Shutdown count number"; + } + leaf set-input-count { + type uint32; + description + "Set the value of input count"; + } + leaf set-capability-count { + type uint32; + description + "Set the value of display count"; + } + leaf get-clock-count { + type uint32; + description + "Clock count number"; + } + leaf set-clock-out-count { + type uint32; + description + "Set clock count"; + } + leaf sync-enable-count { + type uint32; + description + "Sync enable count number"; + } + leaf sync-disable-count { + type uint32; + description + "Sync disable count number"; + } + leaf capability-count { + type uint32; + description + "Interface capability count"; + } + leaf set-quality-level-count { + type uint32; + description + "Value of quality level count"; + } + leaf input-notification { + type uint32; + description + "Selects proper input result notification"; + } + leaf capability-notification { + type uint32; + description + "Value of interface capability notification"; + } + leaf status-notification { + type uint32; + description + "Notification of source status"; + } + leaf resync-notification { + type uint32; + description + "Value of resync notification"; + } + } + + grouping SYNCC-INTERNAL-STATE { + description + "Syncc internal state information"; + list syncc-instance { + description + "List of syncc states"; + uses SYNCC-INTERNAL-STATE1; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper.yang new file mode 100644 index 0000000..f4ed521 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syncc-oper.yang @@ -0,0 +1,78 @@ +module Cisco-IOS-XR-syncc-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-syncc-oper"; + prefix syncc-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-syncc-oper-sub1 { + revision-date 2016-06-08; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR syncc package operational data. + + This module contains definitions + for the following management objects: + timing-controller: Timing controller operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-06-08 { + description + "Schema added."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container timing-controller { + config false; + description + "Timing controller operational data"; + container nodes { + description + "List of nodes applicable to timing controller"; + list node { + key "node-name"; + description + "Syncc operational data for a single node"; + container state { + description + "Syncc state for a node"; + uses SYNCC-INTERNAL-STATE; + } + container clock { + description + "Syncc clock information for a node"; + uses SYNCC-CLOCK-SETTING-NEWTBL; + } + container timing-source { + description + "Syncc timing information for a node"; + uses SYNCC-TIMING-SRC-TBL; + } + leaf node-name { + type xr:Node-id; + description + "Node Name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-aaa-show.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-aaa-show.yang new file mode 100644 index 0000000..9d52efa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-aaa-show.yang @@ -0,0 +1,125 @@ +module Cisco-IOS-XR-sysadmin-aaa-aaa-show { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-aaa-show"; + prefix aaa_show; + + import tailf-common { + prefix tailf; + } + import tailf-aaa { + prefix aaa; + } + + organization + "Cisco Systems Inc."; + contact + "clos-mgbl@cisco.com"; + description + "This module defines yang model + for logging user/date who accessed + shell last time"; + + revision 2017-05-10 { + description + "Namespace changed from aaa_show to Cisco-IOS-XR-sysadmin-aaa-aaa-show"; + } + revision 2011-06-20 { + description + "Initial revision"; + } + + augment "/aaa:aaa" { + container privileged-access { + config false; + tailf:cli-incomplete-command; + tailf:callpoint "show_aaa"; + tailf:info + " + Privileged-user, shell access and disaster-recovery user information"; + tailf:cli-show-template + " + Privileged-user, shell access and disaster-recovery user information + Last access to shell via disaster-recovery account : $(shell-access) + Privileged-user : $(first-user) + Privileged-user attributes changed via admin CLI : $(first-user-change) + Current disaster-recovery user : $(current-disaster-recovery-user) + + "; + leaf shell-access { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + User and Time who accessed the shell last time"; + } + leaf first-user { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + first user configured name"; + } + leaf first-user-change { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + Indicate whether first user is changed from admin CLI or not"; + } + leaf current-disaster-recovery-user { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + Current disaster-recovery user name"; + } + } + container accounting { + config false; + tailf:cli-incomplete-command; + tailf:callpoint "show_audit"; + tailf:info + " + Detail audit log information"; + tailf:cli-show-template + " + Detail audit log information + Time Username Session-ID Node-Information Command + --------------------------------------------------------------------------------------------------- + $(log-data) + "; + leaf log-data { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + logging details"; + } + } + container user-group { + config false; + tailf:cli-incomplete-command; + tailf:callpoint "show_group"; + tailf:info + " + Detail Current user grp information"; + tailf:cli-show-template + " + User group : $(grp-data) + "; + leaf grp-data { + type string; + mandatory false; + tailf:cli-suppress-show-path; + tailf:info + " + group details"; + } + } + } + tailf:id "http://www.cisco.com/calvados/aaa_show"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery.yang new file mode 100644 index 0000000..1bbde95 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-sysadmin-aaa-disaster-recovery { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-aaa-disaster-recovery"; + prefix disaster-recovery; + + import tailf-common { + prefix tailf; + } + import tailf-aaa { + prefix aaa; + } + + organization + "Cisco Systems Inc."; + contact + "clos-mgbl@cisco.com"; + description + "This module defines the system users authentication + credentials and virtual IP that can be modified in + runtime."; + + revision 2017-05-10 { + description + "Namespace changed from disaster-recovery to Cisco-IOS-XR-sysadmin-aaa-disaster-recovery"; + } + revision 2011-06-20 { + description + "Initial revision"; + } + + augment "/aaa:aaa" { + container disaster-recovery { + tailf:info "Disaster Recovery user information"; + tailf:cli-sequence-commands; + tailf:cli-compact-syntax; + tailf:cli-full-no; + leaf username { + type leafref { + path "/aaa:aaa/aaa:authentication/aaa:users/aaa:user/aaa:name"; + } + tailf:cli-incomplete-command; + tailf:info + " + The username with which you can login to system + in case of normal authentication failure case. + "; + } + leaf password { + type tailf:md5-digest-string; + tailf:info + " + The password with which you can login to system + in case of normal authentication failure case. + "; + } + } + } + tailf:id "http://www.cisco.com/ns/calvados/confd_helper/disaster-recovery"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-alarm-mgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-alarm-mgr.yang new file mode 100644 index 0000000..f1b4107 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-alarm-mgr.yang @@ -0,0 +1,603 @@ +module Cisco-IOS-XR-sysadmin-alarm-mgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-alarm-mgr"; + prefix alarms; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Alarm management YANG model + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + + typedef severity_td { + type enumeration { + enum "unknown" { + value 0; + } + enum "not_reported" { + value 1; + } + enum "not_alarmed" { + value 2; + } + enum "minor" { + value 3; + } + enum "major" { + value 4; + } + enum "critical" { + value 5; + } + } + description + "The severity enumeration type of an alarm "; + } + + typedef status_td { + type enumeration { + enum "unknown" { + value 0; + } + enum "set" { + value 1; + } + enum "clear" { + value 2; + } + enum "suppress" { + value 3; + } + } + description + "The status enumeration type of an alarm "; + } + + typedef group_td { + type enumeration { + enum "unknown" { + value 0; + } + enum "environ" { + value 1; + } + enum "ethernet" { + value 2; + } + enum "fabric" { + value 3; + } + enum "power" { + value 4; + } + enum "software" { + value 5; + } + enum "slice" { + value 7; + } + enum "cpu" { + value 8; + } + enum "controller" { + value 9; + } + enum "sonet" { + value 10; + } + enum "otn" { + value 11; + } + enum "sdh_controller" { + value 12; + } + enum "asic" { + value 13; + } + enum "fpd_infra" { + value 14; + } + enum "shelf" { + value 15; + } + enum "mpa" { + value 16; + } + enum "ots" { + value 17; + } + enum "timing" { + value 18; + } + enum "last" { + value 19; + } + } + description + "The group enumeration type of an alarm "; + } + + typedef agent_state_td { + type enumeration { + enum "start" { + value 0; + } + enum "init" { + value 1; + } + enum "connecting" { + value 2; + } + enum "connected" { + value 3; + } + enum "registered" { + value 4; + } + enum "disconnected" { + value 5; + } + } + } + + typedef agent_type_td { + type enumeration { + enum "unknown" { + value 0; + } + enum "producer" { + value 1; + } + enum "consumer" { + value 2; + } + enum "subscriber" { + value 3; + } + } + } + + typedef timestamp_td { + type yang:date-and-time; + description + "The Alarm timestamp type for all times in alarm"; + } + + grouping alarmBasicFilters { + leaf aid { + type string; + description + "The AID for the current alarm"; + } + leaf tag { + type string; + description + "The Fault Tag for the current alarm"; + } + leaf module { + type string; + description + "The Module for the current alarm"; + } + leaf gen_location { + type string; + description + "The location for the current alarm"; + } + leaf eid { + type string; + description + "The Object Id for the current alarm"; + } + leaf severity { + type severity_td; + description + "The alarm severity."; + } + leaf group { + type group_td; + description + "The alarm grouping "; + } + leaf description { + type string; + description + "Alarm description"; + } + leaf set_time { + type string; + description + "Alarm set time stamp"; + } + } + + grouping alarmBasicHistoryFilters { + leaf clear_time { + type string; + description + "Alarm clear time stamp"; + } + } + + grouping alarmBasicSuppressedFilters { + leaf suppressed_time { + type string; + description + "Alarm suppressed time stamp"; + } + } + + grouping alarmExtFilters { + leaf state { + type status_td; + description + "The current state of the bi-state alarm"; + } + leaf reporting_agent_id { + type uint32; + description + "The reporting agent id."; + } + leaf resynced { + type uint32; + description + "The condition bit-flags of the alarm"; + } + leaf detail_desc { + type string; + description + "Alarm detailed description"; + } + } + + grouping alarmFilters { + description + "Alarm attributes that can be used to filter."; + uses alarmBasicFilters; + uses alarmExtFilters; + uses alarmBasicHistoryFilters; + } + + grouping alarmDetailSuppressedFilters { + description + "Suppressed alarm detail attributes that can be used to filter."; + uses alarmBasicFilters; + uses alarmExtFilters; + uses alarmBasicSuppressedFilters; + } + + grouping alarmBriefFilters { + description + "Alarm brief attributes that can be used to filter."; + uses alarmBasicFilters; + uses alarmBasicHistoryFilters; + } + + grouping alarmBriefActiveFilters { + description + "Alarm brief attributes that can be used to filter."; + uses alarmBasicFilters; + } + + grouping alarmBriefSuppressedFilters { + description + "Suppressed alarm brief attributes that can be used to filter."; + uses alarmBasicFilters; + uses alarmBasicSuppressedFilters; + } + + grouping alarmStats { + description + "Alarm Statistics."; + leaf attime { + type string; + description + "Alarms statistics at specified time"; + } + leaf reported { + type uint64; + description + "Total alarms reported into this service."; + } + leaf dropped { + type uint64; + description + "Alarms dropped due to some error or other."; + } + leaf bi_set { + type uint64; + description + "Total active alarms current in this service."; + } + leaf bi_clear { + type uint64; + description + "Alarms that are currently in the cleared state."; + } + leaf suppressed { + type uint64; + description + "Alarms that are currently in the suppressed state."; + } + leaf drop_inv_aid { + type uint64; + description + "Alarms dropped due to invalid aid in the alarm report."; + } + leaf drop_no_mem { + type uint64; + description + "Alarms dropped due to low memory condition."; + } + leaf drop_db_error { + type uint64; + description + "Alarms dropped due to database internal error."; + } + leaf drop_clear_no_set { + type uint64; + description + "Alarms dropped due to clear without a set."; + } + leaf drop_dup { + type uint64; + description + "Alarms dropped due to duplicate alarm report."; + } + leaf cache_hit { + type uint64; + description + "Alarms present in the cached for show"; + } + leaf cache_miss { + type uint64; + description + "Alarms not present in the cached for show"; + } + } + + grouping alarmClients { + description + "Alarm clients."; + leaf agent_name { + type string; + description + "Alarms client"; + } + leaf agent_id { + type uint32; + description + "Alarms agent id of the client"; + } + leaf agent_location { + type calvados:location-id; + description + "The location of this client"; + } + leaf agent_handle { + type string; + description + "The client handle through which interface"; + } + leaf agent_state { + type agent_state_td; + description + "The current state of the client"; + } + leaf agent_type { + type agent_type_td; + description + "The type of the client"; + } + leaf agent_filter_disp { + type boolean; + description + "The current subscription status of the client"; + } + leaf agent_subs_id { + type uint32; + description + "The subscriber id of the client"; + } + leaf agent_filter_state { + type status_td; + description + "The filter used for alarm bi-state state"; + } + leaf agent_filter_severity { + type severity_td; + description + "The filter used for alarm severity"; + } + leaf agent_filter_group { + type group_td; + description + "The filter used for alarm group"; + } + leaf agent_sdr_id { + type uint32; + description + "agent alarm_sm register with sdr_id in SOMT mode"; + } + leaf agent_connect_count { + type uint64; + description + "Number of times the agent connected to the alarm mgr"; + } + leaf agent_connect_time { + type string; + description + "Agent connect timestamp"; + } + leaf agent_get_count { + type uint64; + description + "Number of times the agent queried for alarms"; + } + leaf agent_subscribe_count { + type uint64; + description + "Number of times the agent subscribed for alarms"; + } + leaf agent_report_count { + type uint64; + description + "Number of times the agent reported alarms"; + } + } + + grouping scope_brief_shows { + list active { + key "aid eid"; + max-elements "1024"; + uses alarmBriefActiveFilters; + } + list history { + key "aid eid"; + max-elements "1024"; + uses alarmBriefFilters; + } + list suppressed { + key "aid eid"; + max-elements "1024"; + uses alarmBriefSuppressedFilters; + } + } + + grouping scope_detail_shows { + list active { + key "aid eid"; + max-elements "1024"; + uses alarmFilters; + } + list history { + key "aid eid"; + max-elements "1024"; + uses alarmFilters; + } + list stats { + key "attime"; + max-elements "1024"; + uses alarmStats; + } + list clients { + key "agent_handle"; + max-elements "1024"; + uses alarmClients; + } + list suppressed { + key "aid eid"; + max-elements "1024"; + uses alarmDetailSuppressedFilters; + } + } + + container alarm_mgr { + config false; + description + "Calvados alarms operational data model"; + uses show_trace:traceable; + container brief { + description + "A set of brief alarm commands"; + container card { + description + "Alarms reported at the local card as + specified by the location parameter"; + list location { + key "locations"; + leaf locations { + type calvados:location-id; + } + uses scope_brief_shows; + } + } + container rack { + description + "Alarms reported at the rack scope + specified by the rack-id"; + list rack_locations { + key "rackid"; + leaf rackid { + type uint32; + } + uses scope_brief_shows; + } + } + container system { + description + "Alarms reported at the system scope"; + uses scope_brief_shows; + } + } + container detail { + description + "A set of detail alarm commands"; + container card { + description + "Alarms reported at the local card as + specified by the location parameter"; + list location { + key "locations"; + leaf locations { + type calvados:location-id; + } + uses scope_detail_shows; + } + } + container rack { + description + "Alarms reported at the rack as + specified by the location parameter"; + list rack_locations { + key "rackid"; + leaf rackid { + type uint32; + } + uses scope_detail_shows; + } + } + container system { + description + "Alarms reported at the system as + specified by the location parameter"; + uses scope_detail_shows; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-asic-errors-ael.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-asic-errors-ael.yang new file mode 100644 index 0000000..59c72ad --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-asic-errors-ael.yang @@ -0,0 +1,450 @@ +module Cisco-IOS-XR-sysadmin-asic-errors-ael { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-asic-errors-ael"; + prefix ael; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + + revision 2017-07-05 { + description + "Namespace change to fix comply with Cisco guidelines on namespace"; + } + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping clear-asic-errors { + tailf:action "counter" { + tailf:actionpoint "ael-clear-stats"; + } + } + + grouping ael-history-ap-grp { + container history { + tailf:info "show history before last node reload/shutdown"; + tailf:cli-incomplete-show-path; + list location { + key "location-name"; + tailf:info "Location to display"; + tailf:callpoint "ael_location"; + leaf location-name { + type calvados:location-id; + } + uses clear-asic-errors; + } + } + } + + grouping ael-history-grp { + container history { + tailf:info "show history before last node reload/shutdown"; + tailf:cli-incomplete-show-path; + list location { + key "location-name"; + tailf:info "Location to display"; + tailf:callpoint "ael_location"; + leaf location-name { + type calvados:location-id; + } + list log-lst { + tailf:cli-drop-node-name; + tailf:cli-suppress-mode; + tailf:cli-suppress-table; + tailf:callpoint "ael_get_errors"; + tailf:cli-suppress-show-path; + tailf:cli-table-legend ""; + tailf:cli-show-template "$(log-line)\n"; + leaf log-line { + type string; + } + } + } + } + } + + grouping ael-non-history-grp { + list location { + key "location-name"; + tailf:info "Location to display"; + tailf:callpoint "ael_location"; + leaf location-name { + type calvados:location-id; + } + list log-lst { + tailf:cli-drop-node-name; + tailf:cli-suppress-mode; + tailf:cli-suppress-table; + tailf:callpoint "ael_get_errors"; + tailf:cli-suppress-show-path; + tailf:cli-table-legend ""; + tailf:cli-show-template "$(log-line)\n"; + leaf log-line { + type string; + } + } + } + } + + grouping ael-non-history-ap-grp { + list location { + key "location-name"; + tailf:info "Location to display"; + tailf:callpoint "ael_location"; + leaf location-name { + type calvados:location-id; + } + uses clear-asic-errors; + } + } + + grouping ael-all-error-types-grp { + container sbe { + tailf:info "Single bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container mbe { + tailf:info "Multi bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container parity { + tailf:info "Parity error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container generic { + tailf:info "Generic error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container crc { + tailf:info "CRC error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container reset { + tailf:info "ASIC reset information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container barrier { + tailf:info "barrier errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container unexpected { + tailf:info "unexpected errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container link { + tailf:info "physical link level errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container oor-thresh { + tailf:info "oor threshold"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container bp { + tailf:info "error related for Fabric Backpressure"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container io { + tailf:info "IO operation error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container ucode { + tailf:info "ucode errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container config { + tailf:info "config error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container indirect { + tailf:info "indirect error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container nonerr { + tailf:info "non-error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container summary { + tailf:info "Errors summary information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container all { + tailf:info "All error information"; + tailf:cli-incomplete-show-path; + uses ael-history-grp; + uses ael-non-history-grp; + } + } + + grouping ael-all-error-types-wo-history-grp { + container sbe { + tailf:info "Single bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container mbe { + tailf:info "Multi bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container parity { + tailf:info "Parity error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container generic { + tailf:info "Generic error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container crc { + tailf:info "CRC error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container reset { + tailf:info "ASIC reset information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container barrier { + tailf:info "barrier errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container unexpected { + tailf:info "unexpected errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container link { + tailf:info "physical link level errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container oor-thresh { + tailf:info "oor threshold"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container bp { + tailf:info "error related for Fabric Backpressure"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container io { + tailf:info "IO operation error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container ucode { + tailf:info "ucode errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container config { + tailf:info "config error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container indirect { + tailf:info "indirect error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container nonerr { + tailf:info "non-error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container summary { + tailf:info "Errors summary information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + container all { + tailf:info "All error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-grp; + } + } + + grouping ael-all-error-types-ap-grp { + container sbe { + tailf:info "Single bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container mbe { + tailf:info "Multi bit error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container parity { + tailf:info "Parity error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container generic { + tailf:info "Generic error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container crc { + tailf:info "CRC error information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container reset { + tailf:info "ASIC reset information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container barrier { + tailf:info "barrier errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container unexpected { + tailf:info "unexpected errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container link { + tailf:info "physical link level errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container oor-thresh { + tailf:info "oor threshold"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container bp { + tailf:info "error related for Fabric Backpressure"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container io { + tailf:info "IO operation error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container ucode { + tailf:info "ucode errors"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container config { + tailf:info "config error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container indirect { + tailf:info "indirect error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container nonerr { + tailf:info "non-error"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container summary { + tailf:info "Errors summary information"; + tailf:cli-incomplete-show-path; + uses ael-non-history-ap-grp; + } + container all { + tailf:info "All error information"; + tailf:cli-incomplete-show-path; + uses ael-history-ap-grp; + uses ael-non-history-ap-grp; + } + } + + grouping ael-show-asic-errors-grp { + list asic-errors { + key "device-name"; + config false; + tailf:info "Display ASIC related device errors"; + tailf:cli-incomplete-show-path; + tailf:callpoint "ael_devices"; + leaf device-name { + type string; + } + list instance { + key "instance-num"; + tailf:info "ASIC instance number"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:callpoint "ael_instances"; + leaf instance-num { + type uint32; + } + uses ael-all-error-types-grp; + } + container show-all-instances { + tailf:alt-name "all"; + tailf:cli-incomplete-show-path; + uses ael-all-error-types-wo-history-grp; + } + } + } + + grouping ael-clear-asic-errors-grp { + container clear-asic-errors-grp { + tailf:alt-name "asic-errors"; + tailf:info "Clear ASIC related device errors"; + tailf:cli-incomplete-show-path; + list clear-device { + key "device-name"; + config false; + tailf:cli-drop-node-name; + tailf:cli-incomplete-show-path; + tailf:callpoint "ael_devices"; + leaf device-name { + type string; + } + list instance { + key "instance-num"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:callpoint "ael_instances"; + leaf instance-num { + type uint32; + } + uses ael-all-error-types-ap-grp; + } + container all-instances { + tailf:alt-name "all"; + tailf:cli-incomplete-show-path; + uses ael-all-error-types-ap-grp; + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/asic-errors"; + + uses ael-show-asic-errors-grp; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-card-mgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-card-mgr.yang new file mode 100644 index 0000000..c97bec8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-card-mgr.yang @@ -0,0 +1,736 @@ +module Cisco-IOS-XR-sysadmin-card-mgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-card-mgr"; + prefix card_mgr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + + description + "The 'card_mgr' module provides support for access to detail card HW information like power status, card state, inventory info, etc."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2015-03-29 { + description + "Initial revision."; + } + + typedef startHexOffset { + type string; + tailf:info "Start address in Hex between 0x0 and 0x400"; + } + + typedef endHexOffset { + type string; + tailf:info "End address in Hex between 0x0 and 0x400"; + } + + typedef HexOffset { + type string; + tailf:info "Address in Hex between 0x0 and 0x400"; + } + + grouping card_mgr-group { + container card_mgr { + tailf:info "Card Manager module information"; + tailf:alt-name "card-mgr"; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + uses inventory-group; + uses event-hist-group; + uses notif-hist-group; + uses oir-hist-group; + uses iofpga-group; + uses bootldr-group; + } + } + + grouping inventory-group { + container inventory { + config false; + tailf:alt-name "inventory"; + tailf:info "Card inventory information"; + uses inventory-summary-group; + uses inventory-detail-group; + } + } + + grouping inventory-summary-group { + container summary { + config false; + tailf:cli-full-command; + tailf:info "Card inventory summary"; + tailf:callpoint "card_mgr_inv_summary"; + list card_mgr_inv_summary { + key "location"; + tailf:info "Card location"; + tailf:alt-name "location"; + tailf:cli-table-legend "Card Manager Inventory Summary :"; + tailf:cli-enforce-table; + leaf location { + type string; + mandatory true; + tailf:info "Card location"; + tailf:display-column-name "Location"; + tailf:cli-column-width "7"; + } + leaf card_mgr_inv_PID_string { + type string; + tailf:display-column-name "Card Type"; + tailf:cli-column-width "20"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_mgr_inv_slot_number { + type uint32; + tailf:display-column-name "BP ID"; + tailf:cli-column-width "2"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_mgr_inv_serial_number { + type string; + tailf:display-column-name "Serial Number"; + tailf:cli-column-width "13"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_mgr_inv_hw_version { + type string; + tailf:display-column-name "HW Ver"; + tailf:cli-column-width "5"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_mgr_inv_card_state { + type string; + tailf:display-column-name "Card State"; + tailf:cli-column-width "19"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + } + } + + grouping inventory-detail-group { + container detail { + config false; + tailf:info "Card Manager inventory detail information"; + tailf:cli-full-command; + tailf:callpoint "card_mgr_inventory_detail"; + list card_mgr_inv_detail { + key "location"; + tailf:alt-name "location"; + tailf:cli-suppress-table; + tailf:info "Card location"; + tailf:cli-show-template-enter + " + Card Manager Inventory detail information for $(location): + "; + tailf:cli-show-template "$(card_mgr_inv_detail_list|show)\n"; + leaf location { + type string; + tailf:info "Card location"; + } + container card_mgr_inv_detail_list { + tailf:cli-drop-node-name; + leaf-list card_mgr_inv_detail_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping event-hist-group { + container event-history { + config false; + tailf:info "Card Event History"; + tailf:cli-incomplete-show-path; + container brief { + config false; + tailf:info "Show all events in brief format"; + tailf:cli-incomplete-show-path; + tailf:callpoint "card_mgr_event_history_brief"; + uses event-hist-group-brief; + } + container detail { + config false; + tailf:info "Show all events with additional detail information"; + tailf:cli-incomplete-show-path; + tailf:callpoint "card_mgr_event_history_detail"; + uses event-hist-group-detail; + } + } + } + + grouping event-hist-group-brief { + list location { + key "location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Card Event History for: $(location) + "; + tailf:cli-show-template "$(card_event_hist_brief|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container card_event_hist_brief { + tailf:cli-drop-node-name; + leaf-list card_event_hist_brief_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + + grouping event-hist-group-detail { + list location { + key "location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Card Event History for: $(location) + "; + tailf:cli-show-template "$(card_event_hist_detail|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container card_event_hist_detail { + tailf:cli-drop-node-name; + leaf-list card_event_hist_detail_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + + grouping notif-hist-group { + container notif-history { + config false; + tailf:info "Card State Notification History"; + tailf:cli-incomplete-show-path; + container brief { + config false; + tailf:info "Show all state notifications in brief format"; + tailf:cli-incomplete-show-path; + tailf:callpoint "card_mgr_notif_history_brief"; + uses notif-hist-group-brief; + } + container detail { + config false; + tailf:info "Show all state notifications with additional detail information"; + tailf:cli-incomplete-show-path; + tailf:callpoint "card_mgr_notif_history_detail"; + uses notif-hist-group-detail; + } + } + } + + grouping notif-hist-group-brief { + list location { + key "location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Card State Notification History for: $(location) + "; + tailf:cli-show-template "$(card_notif_hist_brief|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container card_notif_hist_brief { + tailf:cli-drop-node-name; + leaf-list card_notif_hist_brief_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + + grouping notif-hist-group-detail { + list location { + key "location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Card State Notification History for: $(location) + "; + tailf:cli-show-template "$(card_notif_hist_detail|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container card_notif_hist_detail { + tailf:cli-drop-node-name; + leaf-list card_notif_hist_detail_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + + grouping oir-hist-group { + container oir-history { + config false; + tailf:info "Cards OIR History"; + tailf:cli-full-command; + tailf:callpoint "card_mgr_oir_history"; + list rack { + key "rack"; + tailf:info "Select Rack"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Cards OIR History of rack: $(rack) + "; + tailf:cli-show-template "$(card_oir_hist|show)\n"; + leaf rack { + type string; + tailf:display-column-name "Rack"; + } + container card_oir_hist { + tailf:cli-drop-node-name; + leaf-list card_oir_events { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping iofpga-group { + container iofpga { + config false; + tailf:info "IOFPGA information"; + tailf:cli-incomplete-show-path; + uses iofpga-register-group; + uses iofpga-flash-group; + } + } + + grouping iofpga-register-group { + container register { + config false; + tailf:cli-incomplete-show-path; + tailf:info "IOFPGA Register information"; + uses cpu-register-group; + uses mb-register-group; + uses dc-register-group; + } + } + + grouping cpu-register-group { + container cpu { + config false; + tailf:cli-incomplete-show-path; + tailf:info "CPU-IOFPGA Register information"; + tailf:callpoint "card_mgr_mgbl_register_cpu"; + list register_location { + key "register_location"; + config false; + tailf:info "Card location"; + tailf:alt-name "location"; + leaf register_location { + type string; + tailf:display-column-name "Location"; + } + uses iofpga-block-number-group; + uses iofpga-offset-group; + uses iofpga-address-group; + } + } + } + + grouping mb-register-group { + container mb { + config false; + tailf:cli-incomplete-show-path; + tailf:info "Mother Board(MB)-IOFPGA Register information"; + tailf:callpoint "card_mgr_mgbl_register_mb"; + list register_location { + key "register_location"; + config false; + tailf:info "Card location"; + tailf:alt-name "location"; + leaf register_location { + type string; + tailf:display-column-name "Location"; + } + uses iofpga-block-number-group; + uses iofpga-offset-group; + uses iofpga-address-group; + } + } + } + + grouping dc-register-group { + container dc { + config false; + tailf:cli-incomplete-show-path; + tailf:info "Daughter Card(DC)-IOFPGA Register information"; + tailf:callpoint "card_mgr_mgbl_register_dc"; + list register_location { + key "register_location"; + config false; + tailf:info "Card location"; + tailf:alt-name "location"; + leaf register_location { + type string; + tailf:display-column-name "Location"; + } + uses iofpga-block-number-group; + uses iofpga-offset-group; + uses iofpga-address-group; + } + } + } + + grouping iofpga-block-number-group { + list iofpga_block_number { + key "iofpga_block_num"; + config false; + tailf:info "Register Group ID"; + tailf:alt-name "group"; + tailf:cli-no-match-completion; + tailf:cli-table-legend + " + IOFPGA Register Group Information:"; + tailf:cli-enforce-table; + tailf:cli-instance-info-leafs "iofpga_block_nm"; + leaf iofpga_block_num { + type uint32; + tailf:display-column-name "GP"; + tailf:cli-column-width "1"; + tailf:cli-suppress-show-path; + } + leaf block_location { + type string; + tailf:display-column-name "Loc"; + tailf:cli-column-width "5"; + tailf:cli-suppress-show-path; + } + leaf iofpga_block_nm { + type string; + tailf:hidden "full"; + tailf:cli-suppress-show-path; + } + list iofpga_register_number { + key "index"; + tailf:info "Register Number"; + tailf:alt-name "index"; + tailf:cli-instance-info-leafs "card_mgr_register_name"; + tailf:cli-no-match-completion; + leaf index { + type uint32; + tailf:hidden "full"; + tailf:display-column-name "IDX"; + tailf:cli-suppress-show-path; + } + leaf iofpga_register_name { + type string; + tailf:hidden "full"; + tailf:cli-suppress-show-path; + } + list iofpga_data { + tailf:cli-suppress-show-path; + leaf name { + type string; + tailf:display-column-name "REGISTER NAME"; + tailf:cli-column-width "40"; + tailf:cli-suppress-show-path; + } + leaf offset { + type uint32; + tailf:cli-suppress-show-path; + tailf:cli-value-display-template "0x$(.|hex)"; + } + leaf value { + type uint32; + tailf:cli-suppress-show-path; + tailf:cli-value-display-template "0x$(.|hex)"; + } + } + } + } + } + + grouping iofpga-offset-group { + list iofpga_offset { + key "hex_offset"; + config false; + tailf:cli-no-key-completion; + tailf:alt-name "offset"; + tailf:info "Register Offset Address"; + tailf:cli-suppress-table; + tailf:cli-no-match-completion; + tailf:cli-incomplete-show-path { + tailf:cli-min-keys "1"; + } + leaf hex_offset { + type HexOffset; + tailf:hidden "full"; + } + list iofpga_reg_offset_data { + tailf:cli-suppress-show-path; + leaf iofpga_reg_off_addr { + type uint32; + tailf:cli-value-display-template "0x$(.|hex)"; + tailf:display-column-name "Reg Addr"; + tailf:cli-column-width "5"; + } + leaf reg_off_value { + type string; + tailf:display-column-name "Reg Val"; + tailf:cli-column-width "10"; + } + } + } + } + + grouping iofpga-address-group { + list iofpga_address { + key "start_hex_addr end_hex_addr"; + config false; + tailf:alt-name "range"; + tailf:info "Register Range to fetch data"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-incomplete-show-path { + tailf:cli-min-keys "2"; + } + leaf start_hex_addr { + type startHexOffset; + tailf:hidden "full"; + } + leaf end_hex_addr { + type endHexOffset; + tailf:hidden "full"; + } + list iofpga_reg_range_addr_list { + key "iofpga_reg_range_addr"; + tailf:cli-suppress-show-path; + leaf iofpga_reg_range_addr { + type uint32; + tailf:cli-value-display-template "0x$(.|hex)"; + tailf:display-column-name "Register Offset"; + tailf:cli-column-width "10"; + } + list iofpga_reg_data { + tailf:cli-suppress-show-path; + leaf iofpga_reg_addr { + type uint32; + tailf:hidden "full"; + } + leaf reg_value { + type string; + tailf:display-column-name "Register Value"; + tailf:cli-column-width "8"; + } + } + } + } + } + + grouping iofpga-flash-group { + container flash { + config false; + tailf:alt-name "flash"; + tailf:info "IOFPGA SPI flash information"; + tailf:cli-incomplete-show-path; + uses iofpga-flash-info-group; + uses iofpga-flash-status-group; + } + } + + grouping iofpga-flash-info-group { + container info { + config false; + tailf:cli-incomplete-show-path; + tailf:info "IOFPGA SPI flash content"; + tailf:callpoint "cmgr_mgbl_iofpga_spiflash_info"; + list flash_location { + key "flash_location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:alt-name "location"; + tailf:cli-show-template-enter + " + I/O FPGA SPI flash information for: $(flash_location) + "; + tailf:cli-show-template "$(iofpga_flash_info|show)\n"; + leaf flash_location { + type calvados:location-id; + } + container iofpga_flash_info { + tailf:cli-drop-node-name; + leaf-list iofpga_flash_info_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping iofpga-flash-status-group { + container status { + config false; + tailf:cli-incomplete-show-path; + tailf:info "IOFPGA SPI flash status"; + tailf:callpoint "cmgr_mgbl_iofpga_spiflash_status"; + list flash_location { + key "flash_location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:alt-name "location"; + tailf:cli-show-template-enter + " + I/O FPGA SPI flash status for: $(flash_location) + "; + tailf:cli-show-template "$(iofpga_flash_status|show)\n"; + leaf flash_location { + type calvados:location-id; + } + container iofpga_flash_status { + tailf:cli-drop-node-name; + leaf-list iofpga_flash_status_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping bootldr-group { + container bootloader { + config false; + tailf:info "Bootloader information"; + tailf:cli-incomplete-show-path; + uses bootldr-flash-group; + } + } + + grouping bootldr-flash-group { + container flash { + config false; + tailf:alt-name "flash"; + tailf:info "Bootloader SPI flash information"; + tailf:cli-incomplete-show-path; + uses bootldr-flash-info-group; + uses bootldr-flash-status-group; + } + } + + grouping bootldr-flash-info-group { + container info { + config false; + tailf:cli-incomplete-show-path; + tailf:info "Bootloader SPI flash content"; + tailf:callpoint "cmgr_mgbl_bootldr_spiflash_info"; + list flash_location { + key "flash_location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:alt-name "location"; + tailf:cli-show-template-enter + " + Bootloader SPI flash information for: $(flash_location) + "; + tailf:cli-show-template "$(bootldr_flash_info|show)\n"; + leaf flash_location { + type calvados:location-id; + } + container bootldr_flash_info { + tailf:cli-drop-node-name; + leaf-list bootldr_flash_info_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping bootldr-flash-status-group { + container status { + config false; + tailf:cli-incomplete-show-path; + tailf:info "Bootloader SPI flash status"; + tailf:callpoint "cmgr_mgbl_bootldr_spiflash_status"; + list flash_location { + key "flash_location"; + tailf:info "Select Location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:alt-name "location"; + tailf:cli-show-template-enter "\\Bootloader SPI flash status for: $(flash_location)\n"; + tailf:cli-show-template "$(bootldr_flash_status|show)\n"; + leaf flash_location { + type calvados:location-id; + } + container bootldr_flash_status { + tailf:cli-drop-node-name; + leaf-list bootldr_flash_status_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + tailf:id "http://cisco.com/calvados/card_mgr"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-asr9k.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-asr9k.yang new file mode 100644 index 0000000..8b83de4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-asr9k.yang @@ -0,0 +1,63 @@ +module Cisco-IOS-XR-sysadmin-clear-asr9k { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear-ASR9K"; + prefix calvados_clear; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k { + prefix esdma; + } + import canb_cli_clear { + prefix canb_clear; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + \t + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'clear' commands for Sysadmin. + + Copyright(c) 2012-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-10 { + description + "Changed the namespace for ASR9K platform"; + } + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-10-15 { + description + "Created initial 'clear' implementation"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_clear"; + + container clear { + tailf:info "Commands to clear"; + tailf:cli-suppress-show-path; + container controller { + tailf:info "Commands to clear controller statistics"; + container switch { + tailf:info "Clear control plane Ethernet switch statistics"; + uses esdma:switch_clear; + } + } + uses canb_clear:canb-clear-grp; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5500.yang new file mode 100644 index 0000000..299a313 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5500.yang @@ -0,0 +1,69 @@ +module Cisco-IOS-XR-sysadmin-clear-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear"; + prefix calvados_clear; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { + prefix esdma; + } + import Cisco-IOS-XR-sysadmin-asic-errors-ael { + prefix aelclear; + } + import Cisco-IOS-XR-sysadmin-fabric-ncs5500 { + prefix fabric; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'clear' commands for Sysadmin. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-03-20 { + description + "Created initial 'clear' implementation for Fretta"; + } + + grouping asic_clear { + tailf:action "statistics" { + tailf:actionpoint "switch-clear-stats"; + } + } + tailf:id "http://cisco.com/panini/calvados/calvados_clear"; + + container clear { + tailf:info "Commands to clear"; + tailf:cli-suppress-show-path; + container controller { + tailf:info "Commands to clear controller statistics"; + container switch { + tailf:info "Clear control plane Ethernet switch statistics"; + uses esdma:switch_clear; + } + uses fabric:fabric_clear; + } + uses aelclear:ael-clear-asic-errors-grp; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5502.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5502.yang new file mode 100644 index 0000000..36e5b7e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs5502.yang @@ -0,0 +1,69 @@ +module Cisco-IOS-XR-sysadmin-clear-ncs5502 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear"; + prefix calvados_clear; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { + prefix esdma; + } + import Cisco-IOS-XR-sysadmin-asic-errors-ael { + prefix aelclear; + } + import Cisco-IOS-XR-sysadmin-fabric-ncs5502 { + prefix fabric; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'clear' commands for Sysadmin. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-03-20 { + description + "Created initial 'clear' implementation for Fretta"; + } + + grouping asic_clear { + tailf:action "statistics" { + tailf:actionpoint "switch-clear-stats"; + } + } + tailf:id "http://cisco.com/panini/calvados/calvados_clear"; + + container clear { + tailf:info "Commands to clear"; + tailf:cli-suppress-show-path; + container controller { + tailf:info "Commands to clear controller statistics"; + container switch { + tailf:info "Clear control plane Ethernet switch statistics"; + uses esdma:switch_clear; + } + uses fabric:fabric_clear; + } + uses aelclear:ael-clear-asic-errors-grp; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs55A1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs55A1.yang new file mode 100644 index 0000000..d30291c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear-ncs55A1.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-sysadmin-clear-ncs55A1 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear"; + prefix calvados_clear; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-asic-errors-ael { + prefix aelclear; + } + import Cisco-IOS-XR-sysadmin-fabric-ncs5502 { + prefix fabric; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'clear' commands for Sysadmin. + + Copyright(c) 2015-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-03-20 { + description + "Created initial 'clear' implementation for Fretta"; + } + + grouping asic_clear { + tailf:action "statistics" { + tailf:actionpoint "switch-clear-stats"; + } + } + tailf:id "http://cisco.com/panini/calvados/calvados_clear"; + + container clear { + tailf:info "Commands to clear"; + tailf:cli-suppress-show-path; + container controller { + tailf:info "Commands to clear controller statistics"; + uses fabric:fabric_clear; + } + uses aelclear:ael-clear-asic-errors-grp; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear.yang new file mode 100644 index 0000000..8869832 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-clear.yang @@ -0,0 +1,77 @@ +module Cisco-IOS-XR-sysadmin-clear { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear"; + prefix calvados_clear; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli { + prefix esdma; + } + import Cisco-IOS-XR-sysadmin-asic-errors-ael { + prefix aelclear; + } + import Cisco-IOS-XR-sysadmin-obfl-clear { + prefix obflclear; + } + import Cisco-IOS-XR-sysadmin-system { + prefix calvados_system; + } + import Cisco-IOS-XR-sysadmin-fabric { + prefix fabric; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'clear' commands for Sysadmin. + + Copyright(c) 2012-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2012-06-06 { + description + "Created initial 'clear' implementation"; + } + + grouping asic_clear { + tailf:action "statistics" { + tailf:actionpoint "switch-clear-stats"; + } + } + tailf:id "http://cisco.com/panini/calvados/calvados_clear"; + + container clear { + tailf:info "Commands to clear"; + tailf:cli-suppress-show-path; + container controller { + tailf:info "Commands to clear controller statistics"; + container switch { + tailf:info "Clear control plane Ethernet switch statistics"; + uses esdma:switch_clear; + } + uses fabric:fabric_clear; + } + uses aelclear:ael-clear-asic-errors-grp; + uses obflclear:obflclear-grp; + uses calvados_system:config_sync_clear_inconsistency; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-cm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-cm.yang new file mode 100644 index 0000000..56c24e5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-cm.yang @@ -0,0 +1,766 @@ +module Cisco-IOS-XR-sysadmin-cm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm"; + prefix cmh; + + import tailf-common { + prefix tailf; + } + import tailf-xsd-types { + prefix xs; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + import ietf-yang-types { + prefix yang; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-show-trace-cm { + prefix cm; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The System Admin Manager (CM) + + Copyright(c) 2010-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-11 { + description + "Initial version"; + } + + typedef area_type { + type enumeration { + enum "SYSTEM"; + enum "RACK"; + enum "UNKNOWN"; + } + } + + typedef hex8ValueType { + type xs:hexBinary { + tailf:value-length "8"; + } + } + + grouping nodeInfoGroup { + container summary { + config false; + description + "System Admin Manager Node Inventory. All accesses are + read-only. CLI show command looks like show node-inventory + location "; + tailf:info "Show System Admin Manager node inventory"; + tailf:callpoint "nodei"; + list node_locations { + key "node_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf node_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + tailf:cli-allow-range; + } + list nodei { + key "ip_address"; + tailf:cli-drop-node-name; + tailf:cli-no-key-completion; + uses nodeInfoSummary; + } + } + } + container detail { + config false; + description + "System Admin Manager Node Inventory. All accesses are + read-only. CLI show command looks like show node-inventory + location "; + tailf:info "Show System Admin Manager node inventory"; + tailf:callpoint "noded"; + list node_locations { + key "node_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf node_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list nodei { + key "ip_address"; + tailf:cli-drop-node-name; + tailf:cli-no-key-completion; + uses nodeInfoSummary; + uses nodeInfoDetail; + } + } + } + } + + grouping nodeInfoSummary { + description + "All the parameters needed to describe a node as + represented in CM."; + leaf type { + type string; + description + "Node Type"; + tailf:display-column-name "Type"; + tailf:cli-column-width "8"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf ip_address { + type inet:ip-address; + description + "IP address of the node"; + tailf:display-column-name "IP Address"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf mac_address { + type yang:mac-address; + description + "Node MAC"; + tailf:display-column-name "MAC Address"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_serial { + type string; + description + "Card serial# the node belongs to"; + tailf:display-column-name "Card Serial"; + tailf:cli-column-width "11"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf nti { + type uint32; + description + "Node NTI"; + tailf:display-column-name "NTI"; + tailf:cli-column-width "4"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping nodeInfoDetail { + description + "All the parameters needed to describe a node as + represented in CM."; + leaf restart { + type boolean; + description + "Node in Restart"; + tailf:display-column-name "Restart"; + tailf:cli-column-width "7"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf data { + type hex8ValueType; + description + "Node Data"; + tailf:display-column-name "Node Data"; + tailf:cli-column-width "16"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sdr { + type string; + description + "SDR Name the node belongs to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping cardInfo { + description + "All the parameters needed to describe a card as + represented in CM."; + leaf node_id { + type string; + description + "Node name"; + tailf:display-column-name "Node Id"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_type { + type string; + description + "Card Type"; + tailf:display-column-name "Type"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hw_state { + type string; + description + "Card State"; + tailf:display-column-name "HW state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sw_state { + type string; + description + "Card Software State"; + tailf:display-column-name "SW state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf slot { + type uint32; + description + "Card Slot Number"; + tailf:display-column-name "Slot"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf card_serial { + type string; + description + "Serial Number of the Card"; + tailf:display-column-name "Card Serial"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf cti { + type uint32; + description + "Card CTI"; + tailf:display-column-name "CTI"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping rackInfo { + description + "All the parameters needed to describe a rack as + represented in CM."; + leaf rack_number { + type int32; + description + "Rack Number"; + tailf:display-column-name "Rack Number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf rack_serial { + type string; + description + "Serial Number of the Rack"; + tailf:display-column-name "Rack Serial"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf rack_state { + type int32; + description + "Rack State"; + tailf:display-column-name "State"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping serviceInfo { + description + "All the parameters needed to describe a service as + represented in CM."; + leaf svc_name { + type string; + description + "Service Name"; + tailf:display-column-name "Service Name"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf placement_first { + type string; + description + "Serial Number of the first card selected"; + tailf:display-column-name "Card Serial"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf nodeid_first { + type string; + description + "Node id of the first card selected"; + tailf:display-column-name "Node Id"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf placement_second { + type string; + description + "Serial Number of the second card selected"; + tailf:display-column-name "Card Serial"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf nodeid_second { + type string; + description + "Node id of the second card selected"; + tailf:display-column-name "Node Id"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf svc_load { + type uint8; + description + "Service Load"; + tailf:display-column-name "Load"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping sdrInfo { + description + "All the parameters needed to describe a SDR as + represented in CM."; + leaf sdr_id { + type uint32; + description + "SDR ID"; + tailf:display-column-name "Id"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sdr_name { + type string; + description + "SDR NAME"; + tailf:display-column-name "Name"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sdr_vlan_baseid { + type uint8; + description + "SDR VLAN ID"; + tailf:display-column-name "VLAN Id"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sdr_version { + type uint64; + description + "SDR Image Version"; + tailf:display-column-name "Version"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping ldrInfo { + description + "All the parameters needed to describe leader statistics."; + leaf syslead { + type string; + description + "Primary System Leader"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf bkup_syslead { + type string; + description + "Backup System Leader"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf racklead { + type string; + description + "Primary Rack Leader"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf bkup_racklead { + type string; + description + "Backup Rack Leader"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf l1_dis { + type string; + description + "L1 DIS"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf l2_dis { + type string; + description + "L2 DIS"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping nbrInfo { + description + "All the parameters needed to describe a topology neighbor"; + leaf nbr_system_id { + type string; + description + "Neighbor System ID"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "System ID"; + } + leaf nbr_area_type { + type string; + description + "Neighbor Area Type"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Level"; + } + leaf nbr_interface { + type string; + description + "Adjacency Interface"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Interface"; + } + leaf nbr_state { + type string; + description + "Neighbor State"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "State"; + } + leaf nbr_holdtime { + type uint64; + description + "Neighbor Hold Time"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Holdtime"; + } + leaf nbr_uptime { + type xs:duration; + description + "Neighbor Up Time"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Uptime"; + } + } + + grouping lspdbInfo { + description + "All the parameters needed to describe a lsps from lspdb"; + leaf lsp_id { + type string; + description + "LSP System ID"; + tailf:cli-drop-node-name; + } + leaf lsp_area_type { + type area_type; + description + "LSP Area Type"; + tailf:cli-drop-node-name; + } + leaf lsp_sequence { + type uint32; + description + "LSP sequence number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf lsp_core { + type string; + description + "LSP core data bits"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf-list lsp_tlvs { + type string; + description + "LSP TLV data"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "TLV Data"; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + tailf:cli-flat-list-syntax; + } + } + + augment "/cm:cm" { + container lsp { + config false; + description + "System Admin Manager lspdb of a location"; + tailf:info "Show cm lsp database"; + tailf:callpoint "lspdbi"; + list lspdb_locations { + key "lspdb_location"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + LSP Update database for : $(lspdb_location) + "; + leaf lspdb_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:cli-expose-key-name; + } + list lspdbi { + key "lsp_id lsp_area_type"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-no-key-completion; + tailf:cli-show-template + "---------------------------------------------------------------------- + LSP Id\\\\: $(lsp_id) Scope \\\\: $(lsp_area_type) + Sequence Num\\\\: $(lsp_sequence) $(lsp_core) + TLV code length Data + $(lsp_tlvs|show:noalign) + "; + uses lspdbInfo; + } + } + } + } + tailf:id "http://cisco.com/calvados/cm"; + + container node-inventory { + config false; + description + "System Admin Manager Node Inventory. All accesses are + read-only. CLI show command looks like show node-inventory + location "; + tailf:info "Show System Admin Manager node inventory"; + uses nodeInfoGroup; + } + container card-inventory { + config false; + description + "System Admin Manager Card Inventory. All accesses are + read-only. CLI show command looks like show card-inventory + location "; + tailf:info "Show System Admin Manager card inventory"; + tailf:callpoint "cardi"; + list card_locations { + key "card_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf card_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:cli-expose-key-name; + tailf:display-column-name "Location"; + tailf:cli-allow-range; + } + list cardi { + key "card_serial"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + uses cardInfo; + } + } + } + container rack-inventory { + config false; + description + "System Admin Manager Rack Inventory"; + tailf:info "Show System Admin Manager rack inventory"; + tailf:callpoint "racki"; + list rack_locations { + key "rack_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf rack_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list racki { + key "rack_serial"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + uses rackInfo; + } + } + } + container system-service-inventory { + config false; + description + "System Admin Manager System Services Inventory"; + tailf:info "Show System Admin Manager system-services inventory"; + tailf:callpoint "ssvci"; + list ssvc_locations { + key "ssvc_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf ssvc_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list ssvci { + key "svc_name"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + uses serviceInfo; + } + } + } + container rack-service-inventory { + config false; + description + "System Admin Manager Rack Services Inventory"; + tailf:info "Show System Admin Manager rack-services inventory"; + tailf:callpoint "rsvci"; + list rsvc_locations { + key "rsvc_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf rsvc_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list rsvci { + key "svc_name"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + uses serviceInfo; + } + } + } + container sdr-inventory { + config false; + description + "System Admin Manager SDR Inventory"; + tailf:info "Show System Admin Manager SDR inventory"; + tailf:callpoint "sdri"; + list sdr_locations { + key "sdr_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf sdr_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list sdri { + key "sdr_name"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + uses sdrInfo; + } + } + } + container leader-statistics { + config false; + description + "System Admin Manager Leader Statistics"; + tailf:info "Show System Admin Manager Leader Election Information"; + tailf:callpoint "ldri"; + list ldr_locations { + key "ldr_location"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template + " Service Name Mac IP Address Node + ------------------------------------------------------- + System Lead $(syslead) + Backup Sys Lead $(bkup_syslead) + Rack Lead $(racklead) + Backup Rack Lead $(bkup_racklead) + L1 DIS $(l1_dis) + L2 DIS $(l2_dis) + "; + leaf ldr_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:cli-expose-key-name; + } + uses ldrInfo; + } + } + container topology-neighbors { + config false; + description + "System Admin Manager Neighbors of a location"; + tailf:info "Show topology neighbors"; + tailf:callpoint "nbri"; + list nbr_locations { + key "nbr_location"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf nbr_location { + type calvados:location-id; + tailf:alt-name "location"; + tailf:display-column-name "Location"; + tailf:cli-expose-key-name; + } + list nbri { + key "nbr_system_id nbr_area_type"; + tailf:cli-no-key-completion; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + uses nbrInfo; + } + } + } + container placement { + tailf:action "reoptimize" { + tailf:actionpoint "reoptimize-point"; + description + "Reoptimize Placement for System Scope Services"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-console.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-console.yang new file mode 100644 index 0000000..ef48ae3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-console.yang @@ -0,0 +1,52 @@ +module Cisco-IOS-XR-sysadmin-console { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-console"; + prefix calvados_console; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-sdr-console { + prefix sdr_mgr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'console' commands for Sysadmin. + + Copyright(c) 2015-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-04-01 { + description + "Created initial 'console' refactorization"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_console"; + + container console { + tailf:cli-incomplete-show-path; + container config { + config true; + tailf:cli-drop-node-name; + uses sdr_mgr:console-attach-config-group; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-asr9k.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-asr9k.yang new file mode 100644 index 0000000..9392d7c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-asr9k.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-sysadmin-controllers-asr9k { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers-ASR9K"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k { + prefix esdma; + } + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-10 { + description + "Changed the namespace for ASR9K platform"; + } + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-02-23 { + description + "Initial Revision"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + container switch { + tailf:info "Control plane Ethernet switch data"; + uses esdma:switch; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5500.yang new file mode 100644 index 0000000..b9c8c0b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5500.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-sysadmin-controllers-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-fabric-ncs5500 { + prefix fabric; + } + import tailf-common { + prefix tailf; + } + import fit { + prefix fit; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { + prefix esdma; + } + import Cisco-IOS-XR-sysadmin-card-mgr { + prefix card_mgr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-03-20 { + description + "Created initial 'controller' implementation for Fretta"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container set { + tailf:cli-suppress-show-path; + container controller { + uses fit:fit-grp; + } + } + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + uses fabric:fabric; + container switch { + tailf:info "Control plane Ethernet switch data"; + uses esdma:switch; + } + uses fabric:fabric_action_cmds; + uses card_mgr:card_mgr-group; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5501.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5501.yang new file mode 100644 index 0000000..4de6093 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5501.yang @@ -0,0 +1,53 @@ +module Cisco-IOS-XR-sysadmin-controllers-ncs5501 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-fabric-ncs5501 { + prefix fabric; + } + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-card-mgr { + prefix card_mgr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2015-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2016-01-12 { + description + "Created initial 'controller' implementation for Turin"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + uses fabric:fabric; + uses card_mgr:card_mgr-group; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5502.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5502.yang new file mode 100644 index 0000000..38cd0a8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs5502.yang @@ -0,0 +1,70 @@ +module Cisco-IOS-XR-sysadmin-controllers-ncs5502 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-fabric-ncs5502 { + prefix fabric; + } + import tailf-common { + prefix tailf; + } + import fit { + prefix fit; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { + prefix esdma; + } + import Cisco-IOS-XR-sysadmin-card-mgr { + prefix card_mgr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2015-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2015-03-20 { + description + "Created initial 'controller' implementation for Fretta"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container set { + tailf:cli-suppress-show-path; + container controller { + uses fit:fit-grp; + } + } + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + uses fabric:fabric; + container switch { + tailf:info "Control plane Ethernet switch data"; + uses esdma:switch; + } + uses fabric:fabric_action_cmds; + uses card_mgr:card_mgr-group; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs55A1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs55A1.yang new file mode 100644 index 0000000..a3f86f0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers-ncs55A1.yang @@ -0,0 +1,59 @@ +module Cisco-IOS-XR-sysadmin-controllers-ncs55A1 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-fabric-ncs5502 { + prefix fabric; + } + import tailf-common { + prefix tailf; + } + import fit { + prefix fit; + } + import Cisco-IOS-XR-sysadmin-card-mgr { + prefix card_mgr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2015-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-03-20 { + description + "Created initial 'controller' implementation for Fretta"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container set { + tailf:cli-suppress-show-path; + container controller { + uses fit:fit-grp; + } + } + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + uses fabric:fabric; + uses fabric:fabric_action_cmds; + uses card_mgr:card_mgr-group; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers.yang new file mode 100644 index 0000000..19af62e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-controllers.yang @@ -0,0 +1,97 @@ +module Cisco-IOS-XR-sysadmin-controllers { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers"; + prefix calvados_controllers; + + import Cisco-IOS-XR-sysadmin-fabric { + prefix fabric; + } + import tailf-common { + prefix tailf; + } + import gaspp { + prefix gaspp; + } + import fit { + prefix fit; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli { + prefix esdma; + } + import ccc { + prefix ccc; + } + import slice_control { + prefix slice_control; + } + import zen { + prefix zen; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all hardware devices managed in Sysadmin. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2012-06-06 { + description + "Switched esdma_cli from being included as a yang file, + to being imported. This allows esdma_cli to also be used + by other top level modules for clear commands."; + } + revision 2012-01-20 { + description + "Added gaspp commands"; + } + revision 2011-07-29 { + description + "Initial revision"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_controllers"; + + container gaspp { + tailf:info "Generic ASIC Pick & Poke Utility"; + tailf:cli-suppress-show-path; + uses gaspp:gaspp; + } + container set { + tailf:cli-suppress-show-path; + container controller { + uses fit:fit-grp; + } + } + container controller { + tailf:info "Access to hardware controller data"; + tailf:cli-incomplete-show-path; + uses fabric:fabric; + uses gaspp:gaspp; + uses slice_control:slice_control; + uses zen:zen-grp; + uses ccc:ccc-grp; + container switch { + tailf:info "Control plane Ethernet switch data"; + uses esdma:switch; + } + uses fabric:fabric_action_cmds; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-debug-trace.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-debug-trace.yang new file mode 100644 index 0000000..6970fc2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-debug-trace.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-sysadmin-debug-trace { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-debug-trace"; + prefix debug_trace; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + This module contains definitions + for the following management objects: + debug_trace: Calvados debug trace. + + Copyright (c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2015-12-03 { + description + "Initial version."; + } + + grouping config-debug-trace-group { + container config { + config true; + tailf:cli-drop-node-name; + container debug { + list trace { + key "connection_type"; + max-elements "16"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-mode; + leaf connection_type { + type string; + } + choice trace-output { + leaf enable { + type empty; + } + leaf disable { + type empty; + } + } + } + } + } + } + tailf:id "http://cisco.com/calvados/debug_trace"; + + uses config-debug-trace-group; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ds.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ds.yang new file mode 100644 index 0000000..c5e8921 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ds.yang @@ -0,0 +1,251 @@ +module Cisco-IOS-XR-sysadmin-ds { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ds"; + prefix ds; + + import tailf-common { + prefix tailf; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The Directory Services (DS). + + Copyright(c) 2010-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + revision 2016-05-11 { + description + "Initial version."; + } + + typedef service-scope { + type enumeration { + enum "None" { + tailf:code-name "ds-service-scope-None"; + } + enum "Rack" { + tailf:code-name "ds-service-scope-Rack"; + } + enum "System" { + tailf:code-name "ds-service-scope-System"; + } + enum "Node" { + tailf:code-name "ds-service-scope-Node"; + } + } + } + + typedef process-role { + type enumeration { + enum "NoRole" { + tailf:code-name "ds-process-role-NoRole"; + } + enum "Active" { + tailf:code-name "ds-process-role-Active"; + } + enum "Standby" { + tailf:code-name "ds-process-role-Standby"; + } + enum "None" { + tailf:code-name "ds-process-role-None"; + } + enum "Unknown" { + value 254; + } + } + } + + typedef process-issu-role { + type enumeration { + enum "Primary" { + value 1; + } + enum "Secondary" { + value 2; + } + enum "Tertiary" { + value 3; + } + enum "Unknown" { + value 254; + } + } + } + + grouping servicesGroup { + list services { + key "name"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + leaf name { + type string; + description + "Name of the service"; + } + list endpoint { + description + "endpoint info for a service in DS"; + leaf scope { + type service-scope; + } + leaf ip { + type inet:ipv4-address; + } + leaf port { + type inet:port-number; + } + leaf role { + type process-role; + } + leaf issu_role { + type process-issu-role; + } + leaf node { + type string; + description + "Ethernet address of the node hosting the endpoint"; + } + } + list registrations { + description + "clients registered for a service in DS"; + leaf client { + type string; + } + leaf pid { + type uint32; + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/ds"; + + container services { + config false; + description + "Directory Services Entries"; + tailf:callpoint "ds_show_services"; + tailf:hidden "advanced-grp"; + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter "Services found at location $(location)\n"; + leaf location { + type string; + description + "Node Location"; + tailf:cli-expose-key-name; + } + uses servicesGroup; + } + } + container services-stats { + config false; + description + "Directory Services Stats"; + tailf:alt-name "ds"; + tailf:cdb-oper; + tailf:cli-incomplete-show-path; + container ds { + config false; + tailf:cdb-oper; + tailf:cli-drop-node-name; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter "DS server stats at location $(location)\n"; + tailf:callpoint "ds_show_stats"; + leaf location { + type string; + tailf:cli-expose-key-name; + } + list stats { + key "name"; + leaf name { + type string; + description + "Name of the service"; + } + leaf published { + type uint32; + description + "number of endpoints published for this service"; + tailf:alt-name "Pub"; + } + leaf deleted { + type uint32; + description + "number of endpoints deleted for this service"; + tailf:alt-name "Del"; + } + leaf modified { + type uint32; + description + "number of endpoints modified for this service"; + tailf:alt-name "Mod"; + } + leaf registered { + type uint32; + description + "number of clients registered for this service"; + tailf:alt-name "Reg"; + } + leaf unregistered { + type uint32; + description + "number of clients un-registered for this service"; + tailf:alt-name "Unreg"; + } + leaf notifications { + type uint32; + description + "number of clients notified for this service"; + tailf:alt-name "Notif"; + } + leaf remote_sent { + type uint32; + description + "number of remote service updates sent to remote nodes"; + tailf:alt-name "Rem-Sent"; + } + leaf remote_recv { + type uint32; + description + "number of remote service received from remote nodes"; + tailf:alt-name "Rem-Rcv"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-dumper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-dumper.yang new file mode 100644 index 0000000..294bb7d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-dumper.yang @@ -0,0 +1,65 @@ +module Cisco-IOS-XR-sysadmin-dumper { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-dumper"; + prefix dumper; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin dumper to + configure file path options to copy the core files to. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-09 { + description + "Modified module name, namespace and filename + to adhere to standard notation"; + } + revision 2016-05-12 { + description + "Initial Version"; + } + tailf:id "http://www.cisco.com/calvados/dumper"; + + container exception { + tailf:info "Set exception choice"; + tailf:cli-incomplete-no; + list choice { + key "order"; + tailf:info "Order of Preference"; + tailf:cli-sequence-commands; + tailf:cli-compact-syntax; + tailf:cli-suppress-mode; + tailf:cli-incomplete-command; + leaf order { + type int32 { + range "1 .. 3"; + } + tailf:cli-full-no; + tailf:cli-incomplete-command; + tailf:cli-suppress-range; + } + leaf filepath { + type string; + mandatory true; + tailf:info "File path to copy the core"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-mib.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-mib.yang new file mode 100644 index 0000000..f68b2b0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-mib.yang @@ -0,0 +1,350 @@ +module Cisco-IOS-XR-sysadmin-entity-mib { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-mib"; + prefix ENTITY_MIB; + + import ietf-yang-types { + prefix yang; + } + import tailf-common { + prefix tailf; + } + import SNMPv2-TC { + prefix SNMPv2-TC; + } + import SNMP-FRAMEWORK-MIB { + prefix SNMP-FRAMEWORK-MIB; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 1999-12-07 { + description + ""; + } + + typedef PhysicalIndex { + type int32 { + range "1 .. 2147483647"; + } + } + + typedef PhysicalClass { + type enumeration { + enum "other" { + value 1; + } + enum "unknown" { + value 2; + } + enum "chassis" { + value 3; + } + enum "backplane" { + value 4; + } + enum "container" { + value 5; + } + enum "powerSupply" { + value 6; + } + enum "fan" { + value 7; + } + enum "sensor" { + value 8; + } + enum "module" { + value 9; + } + enum "port" { + value 10; + } + enum "stack" { + value 11; + } + } + } + + typedef SnmpEngineIdOrNone { + type tailf:hex-list { + tailf:value-length "min .. 32"; + } + } + + typedef entPhysicalContainedInType { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef entPhysicalParentRelPosType { + type int32 { + range "-1 .. 2147483647"; + } + } + + typedef entPhysicalSerialNumType { + type string { + length "min .. 32"; + } + } + + typedef entPhysicalAliasType { + type string { + length "min .. 32"; + } + } + + typedef entPhysicalAssetIDType { + type string { + length "min .. 32"; + } + } + + typedef entLogicalIndexType { + type int32 { + range "1 .. 2147483647"; + } + } + + typedef entLogicalCommunityType { + type tailf:hex-list { + tailf:value-length "min .. 255"; + } + } + + typedef entAliasLogicalIndexOrZeroType { + type int32 { + range "0 .. 2147483647"; + } + } + tailf:id "http://tail-f.com/ns/mibs/ENTITY-MIB/199912070000Z"; + tailf:snmp-mib-module-name "ENTITY-MIB"; + + container ENTITY-MIB { + container entityGeneral { + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.4"; + leaf entLastChangeTime { + type yang:timestamp; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.4.1"; + } + } + container entPhysicalTable { + config false; + tailf:callpoint "cp_snmp_entPhysicalTable"; + list entPhysicalEntry { + key "entPhysicalIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1"; + leaf entPhysicalIndex { + type PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entPhysicalDescr { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.2"; + } + leaf entPhysicalVendorType { + type SNMPv2-TC:AutonomousType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.3"; + } + leaf entPhysicalContainedIn { + type entPhysicalContainedInType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.4"; + } + leaf entPhysicalClass { + type PhysicalClass; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.5"; + } + leaf entPhysicalParentRelPos { + type entPhysicalParentRelPosType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.6"; + } + leaf entPhysicalName { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.7"; + } + leaf entPhysicalHardwareRev { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.8"; + } + leaf entPhysicalFirmwareRev { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.9"; + } + leaf entPhysicalSoftwareRev { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.10"; + } + leaf entPhysicalSerialNum { + type entPhysicalSerialNumType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.11"; + } + leaf entPhysicalMfgName { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.12"; + } + leaf entPhysicalModelName { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.13"; + } + leaf entPhysicalAlias { + type entPhysicalAliasType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.14"; + } + leaf entPhysicalAssetID { + type entPhysicalAssetIDType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.15"; + } + leaf entPhysicalIsFRU { + type SNMPv2-TC:TruthValue; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.16"; + } + } + } + container entLogicalTable { + config false; + list entLogicalEntry { + key "entLogicalIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1"; + leaf entLogicalIndex { + type entLogicalIndexType; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.1"; + } + leaf entLogicalDescr { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.2"; + } + leaf entLogicalType { + type SNMPv2-TC:AutonomousType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.3"; + } + leaf entLogicalCommunity { + type entLogicalCommunityType; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.4"; + } + leaf entLogicalTAddress { + type SNMPv2-TC:TAddress; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.5"; + } + leaf entLogicalTDomain { + type SNMPv2-TC:TDomain; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.6"; + } + leaf entLogicalContextEngineID { + type SnmpEngineIdOrNone; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.7"; + } + leaf entLogicalContextName { + type SNMP-FRAMEWORK-MIB:SnmpAdminString; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.8"; + } + } + } + container entLPMappingTable { + config false; + list entLPMappingEntry { + key "entLogicalIndex entLPPhysicalIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.1"; + leaf entLogicalIndex { + type entLogicalIndexType; + tailf:snmp-oid "1.3.6.1.2.1.47.1.2.1.1.1"; + } + leaf entLPPhysicalIndex { + type PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.1.1.1"; + } + } + } + container entAliasMappingTable { + config false; + list entAliasMappingEntry { + key "entPhysicalIndex entAliasLogicalIndexOrZero"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.2"; + leaf entPhysicalIndex { + type PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entAliasLogicalIndexOrZero { + type entAliasLogicalIndexOrZeroType; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.2.1.1"; + } + leaf entAliasMappingIdentifier { + type SNMPv2-TC:RowPointer; + config false; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.2.1.2"; + } + } + } + container entPhysicalContainsTable { + config false; + list entPhysicalContainsEntry { + key "entPhysicalIndex entPhysicalChildIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.3"; + leaf entPhysicalIndex { + type PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entPhysicalChildIndex { + type PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.3.3.1.1"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-sensor-mib.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-sensor-mib.yang new file mode 100644 index 0000000..3fc91d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-sensor-mib.yang @@ -0,0 +1,325 @@ +module Cisco-IOS-XR-sysadmin-entity-sensor-mib { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-sensor-mib"; + prefix CISCO_ENTITY_SENSOR_MIB; + + import ietf-yang-types { + prefix yang; + } + import tailf-common { + prefix tailf; + } + import SNMPv2-TC { + prefix SNMPv2-TC; + } + import Cisco-IOS-XR-sysadmin-entity-mib { + prefix ENTITY-MIB; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2002-10-16 { + description + ""; + } + + typedef SensorDataType { + type enumeration { + enum "other" { + value 1; + } + enum "unknown" { + value 2; + } + enum "voltsAC" { + value 3; + } + enum "voltsDC" { + value 4; + } + enum "amperes" { + value 5; + } + enum "watts" { + value 6; + } + enum "hertz" { + value 7; + } + enum "celsius" { + value 8; + } + enum "percentRH" { + value 9; + } + enum "rpm" { + value 10; + } + enum "cmm" { + value 11; + } + enum "truthvalue" { + value 12; + } + enum "specialEnum" { + value 13; + } + } + } + + typedef SensorDataScale { + type enumeration { + enum "yocto" { + value 1; + } + enum "zepto" { + value 2; + } + enum "atto" { + value 3; + } + enum "femto" { + value 4; + } + enum "pico" { + value 5; + } + enum "nano" { + value 6; + } + enum "micro" { + value 7; + } + enum "milli" { + value 8; + } + enum "units" { + value 9; + } + enum "kilo" { + value 10; + } + enum "mega" { + value 11; + } + enum "giga" { + value 12; + } + enum "tera" { + value 13; + } + enum "exa" { + value 14; + } + enum "peta" { + value 15; + } + enum "zetta" { + value 16; + } + enum "yotta" { + value 17; + } + } + } + + typedef SensorPrecision { + type int32 { + range "-8 .. 9"; + } + } + + typedef SensorValue { + type int32 { + range "-1000000000 .. 1000000000"; + } + } + + typedef SensorStatus { + type enumeration { + enum "ok" { + value 1; + } + enum "unavailable" { + value 2; + } + enum "nonoperational" { + value 3; + } + } + } + + typedef SensorValueUpdateRate { + type int32 { + range "0 .. 999999999"; + } + } + + typedef SensorThresholdSeverity { + type enumeration { + enum "other" { + value 1; + } + enum "minor" { + value 10; + } + enum "major" { + value 20; + } + enum "critical" { + value 30; + } + } + } + + typedef SensorThresholdRelation { + type enumeration { + enum "lessThan" { + value 1; + } + enum "lessOrEqual" { + value 2; + } + enum "greaterThan" { + value 3; + } + enum "greaterOrEqual" { + value 4; + } + enum "equalTo" { + value 5; + } + enum "notEqualTo" { + value 6; + } + } + } + + typedef entSensorMeasuredEntityType { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef entSensorThresholdIndexType { + type int32 { + range "1 .. 99999999"; + } + } + tailf:id "http://tail-f.com/ns/mibs/CISCO-ENTITY-SENSOR-MIB/200210160000Z"; + tailf:snmp-mib-module-name "CISCO-ENTITY-SENSOR-MIB"; + + container CISCO-ENTITY-SENSOR-MIB { + container entSensorValueTable { + config false; + tailf:callpoint "cp_snmp_entSensorValueTable"; + list entSensorValueEntry { + key "entPhysicalIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1"; + leaf entPhysicalIndex { + type ENTITY-MIB:PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entSensorType { + type SensorDataType; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.1"; + } + leaf entSensorScale { + type SensorDataScale; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.2"; + } + leaf entSensorPrecision { + type SensorPrecision; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.3"; + } + leaf entSensorValue { + type SensorValue; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.4"; + } + leaf entSensorStatus { + type SensorStatus; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.5"; + } + leaf entSensorValueTimeStamp { + type yang:timestamp; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.6"; + } + leaf entSensorValueUpdateRate { + type SensorValueUpdateRate; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.7"; + } + leaf entSensorMeasuredEntity { + type entSensorMeasuredEntityType; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.1.1.1.8"; + } + } + } + container entSensorThresholdTable { + config false; + list entSensorThresholdEntry { + key "entPhysicalIndex entSensorThresholdIndex"; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1"; + leaf entPhysicalIndex { + type ENTITY-MIB:PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entSensorThresholdIndex { + type entSensorThresholdIndexType; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.1"; + } + leaf entSensorThresholdSeverity { + type SensorThresholdSeverity; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.2"; + } + leaf entSensorThresholdRelation { + type SensorThresholdRelation; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.3"; + } + leaf entSensorThresholdValue { + type SensorValue; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.4"; + } + leaf entSensorThresholdEvaluation { + type SNMPv2-TC:TruthValue; + config false; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.5"; + } + leaf entSensorThresholdNotificationEnable { + type SNMPv2-TC:TruthValue; + tailf:snmp-oid "1.3.6.1.4.1.9.9.91.1.2.1.1.6"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-mib.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-mib.yang new file mode 100644 index 0000000..25cece8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-mib.yang @@ -0,0 +1,94 @@ +module Cisco-IOS-XR-sysadmin-entity-state-mib { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-mib"; + prefix ENTITY_STATE_MIB; + + import ietf-yang-types { + prefix yang; + } + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-entity-state-tc-mib { + prefix ENTITY-STATE-TC-MIB; + } + import Cisco-IOS-XR-sysadmin-entity-mib { + prefix ENTITY-MIB; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2005-11-22 { + description + ""; + } + tailf:id "http://tail-f.com/ns/mibs/ENTITY-STATE-MIB/200511220000Z"; + tailf:snmp-mib-module-name "ENTITY-STATE-MIB"; + + container ENTITY-STATE-MIB { + container entStateTable { + config false; + tailf:callpoint "cp_snmp_entStateTable"; + list entStateEntry { + key "entPhysicalIndex"; + config false; + tailf:sort-order "snmp"; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1"; + leaf entPhysicalIndex { + type ENTITY-MIB:PhysicalIndex; + tailf:snmp-oid "1.3.6.1.2.1.47.1.1.1.1.1"; + } + leaf entStateLastChanged { + type yang:date-and-time; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.1"; + } + leaf entStateAdmin { + type ENTITY-STATE-TC-MIB:EntityAdminState; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.2"; + } + leaf entStateOper { + type ENTITY-STATE-TC-MIB:EntityOperState; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.3"; + } + leaf entStateUsage { + type ENTITY-STATE-TC-MIB:EntityUsageState; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.4"; + } + leaf entStateAlarm { + type ENTITY-STATE-TC-MIB:EntityAlarmStatus; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.5"; + } + leaf entStateStandby { + type ENTITY-STATE-TC-MIB:EntityStandbyStatus; + config false; + tailf:snmp-oid "1.3.6.1.2.1.131.1.1.1.6"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-tc-mib.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-tc-mib.yang new file mode 100644 index 0000000..79e1ad2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-entity-state-tc-mib.yang @@ -0,0 +1,132 @@ +module Cisco-IOS-XR-sysadmin-entity-state-tc-mib { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-entity-state-tc-mib"; + prefix ENTITY_STATE_TC_MIB; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2005-11-22 { + description + ""; + } + + typedef EntityAdminState { + type enumeration { + enum "unknown" { + value 1; + } + enum "locked" { + value 2; + } + enum "shuttingDown" { + value 3; + } + enum "unlocked" { + value 4; + } + } + } + + typedef EntityOperState { + type enumeration { + enum "unknown" { + value 1; + } + enum "disabled" { + value 2; + } + enum "enabled" { + value 3; + } + enum "testing" { + value 4; + } + } + } + + typedef EntityUsageState { + type enumeration { + enum "unknown" { + value 1; + } + enum "idle" { + value 2; + } + enum "active" { + value 3; + } + enum "busy" { + value 4; + } + } + } + + typedef EntityAlarmStatus { + type bits { + bit unknown { + position 0; + } + bit underRepair { + position 1; + } + bit critical { + position 2; + } + bit major { + position 3; + } + bit minor { + position 4; + } + bit warning { + position 5; + } + bit indeterminate { + position 6; + } + } + } + + typedef EntityStandbyStatus { + type enumeration { + enum "unknown" { + value 1; + } + enum "hotStandby" { + value 2; + } + enum "coldStandby" { + value 3; + } + enum "providingService" { + value 4; + } + } + } + tailf:id "http://tail-f.com/ns/mibs/ENTITY-STATE-TC-MIB/200511220000Z"; + tailf:snmp-mib-module-name "ENTITY-STATE-TC-MIB"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-types.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-types.yang new file mode 100644 index 0000000..6b21490 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-types.yang @@ -0,0 +1,54 @@ +module Cisco-IOS-XR-sysadmin-envmon-types { + namespace "http://www.cisco.com/ns/Cisco-IOS-XR-sysadmin-envmon-types"; + prefix envmon-types; + + import tailf-common { + prefix tailf; + } + + revision 2017-11-27 { + description + "Add graceful shutdown disable CLI."; + } + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + typedef num_pm { + type uint32 { + range "0..12"; + } + } + + grouping fan-speed-group { + leaf raise-fan-speed { + type uint32 { + range "0..100"; + } + config false; + tailf:cli-drop-node-name; + } + } + + grouping fan-ctrl-optics-group { + leaf fan-ctrl-optics { + type uint32 { + range "0..1"; + } + config false; + tailf:cli-drop-node-name; + } + } + + grouping vin-uv-shut-group { + leaf graceful-shutdown { + type uint32 { + range "0..1"; + } + config false; + tailf:cli-drop-node-name; + } + } + tailf:id "http://www.cisco.com/panini/calvados/envmon/types"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-ui.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-ui.yang new file mode 100644 index 0000000..0ffb0f7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-envmon-ui.yang @@ -0,0 +1,676 @@ +module Cisco-IOS-XR-sysadmin-envmon-ui { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-envmon-ui"; + prefix envmon; + + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + import tailf-xsd-types { + prefix xs; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + import Cisco-IOS-XR-sysadmin-envmon-types { + prefix envmon-types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module holds chassis, cards Enviroment data. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-11-27 { + description + "Add graceful shutdown disable CLI."; + } + + grouping temp-data { + container temperatures { + config false; + list location { + key "location"; + leaf location { + type string; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf alarm { + type string; + } + leaf temperature_value { + type string; + } + leaf value { + type int32; + } + leaf critical_lo { + type int32; + } + leaf major_lo { + type int32; + } + leaf minor_lo { + type int32; + } + leaf minor_hi { + type int32; + } + leaf major_hi { + type int32; + } + leaf critical_hi { + type int32; + } + } + } + } + } + + grouping all-temp-data { + list temperatures { + key "loc_iden"; + config false; + leaf loc_iden { + type string; + } + leaf print_header { + type boolean; + default "false"; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf alarm { + type string; + } + leaf temperature_value { + type string; + } + leaf value { + type int32; + } + leaf critical_lo { + type int32; + } + leaf major_lo { + type int32; + } + leaf minor_lo { + type int32; + } + leaf minor_hi { + type int32; + } + leaf major_hi { + type int32; + } + leaf critical_hi { + type int32; + } + } + } + } + + grouping volt-data { + container voltages { + config false; + list location { + key "location"; + leaf location { + type string; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf alarm { + type string; + } + leaf value { + type string; + } + leaf temperature_value { + type int32; + } + leaf critical_lo { + type int32; + } + leaf major_lo { + type int32; + } + leaf minor_lo { + type int32; + } + leaf minor_hi { + type int32; + } + leaf major_hi { + type int32; + } + leaf critical_hi { + type int32; + } + } + } + } + } + + grouping all-volt-data { + list voltages { + key "loc_iden"; + config false; + leaf loc_iden { + type string; + } + leaf print_header { + type boolean; + default "false"; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf alarm { + type string; + } + leaf value { + type string; + } + leaf temperature_value { + type int32; + } + leaf critical_lo { + type int32; + } + leaf major_lo { + type int32; + } + leaf minor_lo { + type int32; + } + leaf minor_hi { + type int32; + } + leaf major_hi { + type int32; + } + leaf critical_hi { + type int32; + } + } + } + } + + grouping current-data { + container current { + config false; + list location { + key "location"; + leaf location { + type string; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf alarm { + type string; + } + leaf value { + type string; + } + leaf temperature_value { + type int32; + } + } + } + } + } + + grouping all-current-data { + list current { + key "loc_iden"; + config false; + leaf loc_iden { + type string; + } + leaf print_header { + type boolean; + default "false"; + } + list sensor_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf sensor_id { + type string; + } + leaf value { + type string; + } + } + } + } + + grouping fan-data { + container fan { + config false; + list location { + key "location"; + leaf location { + type string; + } + list fan_attributes { + key "logical_slot"; + leaf print_fan_header { + type string; + } + leaf location { + type string; + } + leaf logical_slot { + type string; + } + leaf fru_PID { + type string; + } + leaf fans_speed { + type string; + } + leaf fan_header { + type uint32; + } + leaf speed_space { + type uint32; + } + } + } + } + } + + grouping all-fan-data { + list fan { + key "loc_iden"; + config false; + leaf loc_iden { + type string; + } + list fan_attributes { + key "logical_slot"; + leaf print_fan_header { + type string; + } + leaf location { + type string; + } + leaf logical_slot { + type string; + } + leaf fru_PID { + type string; + } + leaf fans_speed { + type string; + } + leaf fan_header { + type uint32; + } + leaf speed_space { + type uint32; + } + } + } + } + + grouping power-data { + container power { + config false; + list location { + key "location"; + leaf location { + type string; + } + list pem_attributes { + key "pem"; + leaf pem { + type string; + } + leaf pem_id { + type string; + } + leaf card_type { + type string; + } + leaf ps_type { + type string; + } + leaf shelf_num { + type uint16; + } + leaf supply_type { + type string; + } + leaf input_voltage { + type string; + } + leaf input_current { + type string; + } + leaf output_voltage { + type xs:double; + } + leaf output_current { + type xs:double; + } + leaf status { + type string; + } + leaf input_power_to_ps { + type uint32; + } + leaf input_current_to_ps { + type string; + } + leaf output_power_from_ps { + type uint32; + } + leaf output_current_from_ps { + type xs:double; + } + leaf power_allocated { + type uint32; + } + leaf power_consumed { + type string; + } + leaf power_status { + type string; + } + leaf confgd_power_redundancy_mode { + type string; + } + leaf usable_power_capacity { + type uint32; + } + leaf protection_power_capacity { + type uint32; + } + leaf power_resrv_and_alloc { + type uint32; + } + leaf system_power_used { + type uint32; + } + leaf system_power_input { + type uint32; + } + leaf power_level { + type uint16; + } + leaf output_header { + type uint16; + } + leaf output_footer { + type uint16; + } + leaf ps_sum_footer { + type uint16; + } + } + } + } + } + + grouping altitude-data { + container altitude { + config false; + list location { + key "location"; + leaf location { + type string; + } + list alt_attributes { + key "sensor"; + leaf sensor { + type string; + } + leaf rack { + type uint32; + } + leaf sensor_value { + type string; + } + leaf source { + type string; + } + } + } + } + } + + grouping rack-location { + leaf all { + type empty; + } + list location { + key "rackId"; + leaf rackId { + type calvados:rack-id; + } + } + } + + grouping router-group { + container router { + container altitude { + container all { + leaf num_meters { + type uint32 { + range "1..4000"; + } + } + } + container rack_loc { + list location { + key "rackId"; + leaf rackId { + type calvados:rack-id; + } + leaf num_meters { + type uint32 { + range "1..4000"; + } + } + } + } + } + } + } + + grouping air-filter-group { + container air-filter { + container replaced { + container all { + leaf date { + type xs:date; + } + } + container rack_loc { + list location { + key "rackId"; + leaf rackId { + type calvados:rack-id; + } + leaf date { + type xs:date; + } + } + } + } + } + } + + grouping fan-ctrl-group { + container fan-ctrl { + container disable { + container rack_loc { + uses rack-location; + } + } + } + } + + grouping temp-monitor-group { + container temperature { + container disable { + container rack_loc { + uses rack-location; + } + } + } + } + + grouping env-monitor-group { + container monitoring { + container disable { + container rack_loc { + uses rack-location; + } + } + } + } + + grouping power-mgmt-group { + container action { + container disable { + container rack_loc { + uses rack-location; + } + } + } + container single-feed-mode { + container enable { + container rack_loc { + uses rack-location; + } + } + } + container extended-temp { + container enable { + container rack_loc { + uses rack-location; + } + } + } + container redundancy-num-pms { + container all { + leaf num_pm { + type envmon-types:num_pm; + } + } + container rack_loc { + list location { + key "rackId"; + leaf rackId { + type calvados:rack-id; + } + leaf num_pm { + type envmon-types:num_pm; + } + } + } + } + } + + grouping cmd_types { + container oper { + config false; + description + "environment operational (show) data"; + uses temp-data; + uses volt-data; + uses current-data; + uses fan-data; + uses power-data; + uses altitude-data; + } + container all { + config false; + list location { + key "location"; + leaf location { + type string; + } + uses all-temp-data; + uses all-volt-data; + uses all-current-data; + uses all-fan-data; + } + } + container config { + description + "environment configurational data"; + uses router-group; + uses air-filter-group; + uses fan-ctrl-group; + uses temp-monitor-group; + uses env-monitor-group; + uses envmon-types:fan-speed-group; + uses envmon-types:fan-ctrl-optics-group; + uses envmon-types:vin-uv-shut-group; + } + } + + container environment { + uses cmd_types; + uses show_trace:traceable; + } + container power-mgmt { + container config { + description + "Power Trays and PEMs configurational data"; + uses power-mgmt-group; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec.yang new file mode 100644 index 0000000..39934a4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec.yang @@ -0,0 +1,68 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec"; + prefix esdma_admin_exec; + + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'controller switch port-state' command. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping switch-exec-admin { + container port-state { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge.yang new file mode 100644 index 0000000..2411db2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge.yang @@ -0,0 +1,158 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge"; + prefix esdma_bridge; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch bridge' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-bridge-group { + container bridge { + tailf:info "Display switch bridge information"; + container statistics { + tailf:info "Display switch bridge statistics"; + tailf:callpoint "esdma_switch_bridge_statistics"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch bridge statistics"; + tailf:cli-full-command; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(ingress-set-id|show) + $(egress-set-id|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list ingress-set-id { + key "ingress-set"; + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-enforce-table; + tailf:cli-table-legend + "Bridge Forwarding Counters For Switch $(../rack)/$(../card)/$(../switch-id) + + "; + leaf ingress-set { + type uint32; + tailf:display-column-name " "; + tailf:cli-column-width "2"; + } + leaf ingress-set-name { + type string; + tailf:display-column-name + "Ingress Data Sets + Port VLAN"; + tailf:cli-column-width "20"; + } + leaf ingress-frames { + type uint64; + tailf:display-column-name "Frames"; + } + leaf ingress-vlan-discards { + type uint64; + tailf:display-column-name "VLAN Discards"; + } + leaf ingress-security-discards { + type uint64; + tailf:display-column-name "Security Discards"; + } + leaf ingress-other-discards { + type uint64; + tailf:display-column-name "Other Discards"; + } + } + list egress-set-id { + key "egress-set"; + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-enforce-table; + leaf egress-set { + type uint32; + tailf:display-column-name " "; + tailf:cli-column-width "2"; + } + leaf egress-set-name { + type string; + tailf:display-column-name + "Egress Data Sets + Port VLAN TC DP"; + tailf:cli-column-width "20"; + } + leaf egress-ucast-frames { + type uint64; + tailf:display-column-name "Unicast Frames"; + } + leaf egress-mcast-frames { + type uint64; + tailf:display-column-name "Multicast Frames"; + } + leaf egress-bcast-frames { + type uint64; + tailf:display-column-name "Broadcast Frames"; + } + leaf egress-discarded-frames { + type uint64; + tailf:display-column-name "Discarded Frames"; + } + leaf egress-txq-congestion { + type uint64; + tailf:display-column-name "Transmit Q Congestion"; + } + leaf egress-ctrl-packets { + type uint64; + tailf:display-column-name "Control Packets"; + } + leaf egress-other-drops { + type uint64; + tailf:display-column-name "Other Drops"; + } + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_bridge"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear.yang new file mode 100644 index 0000000..fedd264 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear.yang @@ -0,0 +1,111 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-clear { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-clear"; + prefix esdma_clear; + + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'clear controller switch' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping switch-clear-statistics { + container statistics { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + } + } + } + + grouping switch-clear-mlap { + container mlap { + container statistics { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + } + } + } + } + + grouping switch-clear-sdr { + container sdr { + container statistics { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + } + } + } + } + + grouping switch-clear-fdb { + container fdb { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k.yang new file mode 100644 index 0000000..8f3f3d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k.yang @@ -0,0 +1,126 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-asr9k"; + prefix esdma; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec { + prefix esdma_admin_exec; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge { + prefix esdma_bridge; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-clear { + prefix esdma_clear; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb { + prefix esdma_fdb; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mac { + prefix esdma_mac; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent { + prefix esdma_mgmt_agent; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable { + prefix esdma_reachable; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics { + prefix esdma_statistics; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-summary { + prefix esdma_summary; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trace { + prefix esdma_trace; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk { + prefix esdma_trunk; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan { + prefix esdma_vlan; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-debug { + prefix esdma_debug; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr { + prefix esdma_sdr; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The 'switch' module provides support for configuring and + monitoring the control Ethernet switches and ports. + Support includes basic switch and port statistics. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-09-20 { + description + "Created separate asr9k yang file."; + } + revision 2016-07-06 { + description + "Moved command implementations to separate yang module files."; + } + revision 2013-02-04 { + description + "Initial revision."; + } + + grouping switch_clear { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_clear:switch-clear-fdb; + uses esdma_clear:switch-clear-statistics; + } + } + + grouping switch { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_reachable:switch-reachable-data; + uses esdma_summary:switch-summary-group; + uses esdma_statistics:switch-statistics-group; + uses esdma_mac:switch-mac-group; + uses esdma_bridge:switch-bridge-group; + uses esdma_fdb:switch-fdb-group; + uses esdma_vlan:switch-vlan-group; + uses esdma_trace:esd-ctrace; + uses esdma_mgmt_agent:esdma-mgmt-group; + uses esdma_sdr:switch-sdr-group; + uses esdma_admin_exec:switch-exec-admin; + uses esdma_trunk:switch-trunk-group; + uses esdma_debug:switch-debug-group; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma_asr9k"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500.yang new file mode 100644 index 0000000..a2abe2d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500.yang @@ -0,0 +1,115 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500"; + prefix esdma; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec { + prefix esdma_admin_exec; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge { + prefix esdma_bridge; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-clear { + prefix esdma_clear; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb { + prefix esdma_fdb; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mac { + prefix esdma_mac; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent { + prefix esdma_mgmt_agent; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable { + prefix esdma_reachable; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics { + prefix esdma_statistics; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-summary { + prefix esdma_summary; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trace { + prefix esdma_trace; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk { + prefix esdma_trunk; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan { + prefix esdma_vlan; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The 'switch' module provides support for configuring and + monitoring the control Ethernet switches, ports, + and port PHYs. Support includes basic switch and port + statistics. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Moved command implementations to separate yang module files."; + } + revision 2013-02-04 { + description + "Initial revision."; + } + + grouping switch_clear { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_clear:switch-clear-fdb; + uses esdma_clear:switch-clear-statistics; + } + } + + grouping switch { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_reachable:switch-reachable-data; + uses esdma_summary:switch-summary-group; + uses esdma_statistics:switch-statistics-group; + uses esdma_mac:switch-mac-group; + uses esdma_bridge:switch-bridge-group; + uses esdma_fdb:switch-fdb-group; + uses esdma_vlan:switch-vlan-group-ncs5500; + uses esdma_trace:esd-ctrace-ncs5500; + uses esdma_mgmt_agent:esdma-mgmt-group; + uses esdma_admin_exec:switch-exec-admin; + uses esdma_trunk:switch-trunk-group; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma_ncs5500"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli.yang new file mode 100644 index 0000000..02605fe --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli.yang @@ -0,0 +1,139 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-cli { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-cli"; + prefix esdma; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-admin-exec { + prefix esdma_admin_exec; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-bridge { + prefix esdma_bridge; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-clear { + prefix esdma_clear; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-debug { + prefix esdma_debug; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb { + prefix esdma_fdb; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mac { + prefix esdma_mac; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent { + prefix esdma_mgmt_agent; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap { + prefix esdma_mlap; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable { + prefix esdma_reachable; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr { + prefix esdma_sdr; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes { + prefix esdma_serdes; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp { + prefix esdma_sfp; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics { + prefix esdma_statistics; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-summary { + prefix esdma_summary; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trace { + prefix esdma_trace; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk { + prefix esdma_trunk; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan { + prefix esdma_vlan; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The 'switch' module provides support for configuring and + monitoring the control Ethernet switches, ports, + and port PHYs. Support includes basic switch and port + statistics as well as detailed connectivity information + between connected nodes from Cisco's MLAP control + protocol. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Moved command implementations to separate yang module files."; + } + revision 2013-02-04 { + description + "Initial revision."; + } + + grouping switch_clear { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_clear:switch-clear-fdb; + uses esdma_clear:switch-clear-mlap; + uses esdma_clear:switch-clear-sdr; + uses esdma_clear:switch-clear-statistics; + } + } + + grouping switch { + container oper { + config false; + description + "Control Ethernet switch operational data."; + tailf:cli-drop-node-name; + tailf:callpoint "esdma_oper_catchall"; + uses esdma_reachable:switch-reachable-data; + uses esdma_summary:switch-summary-group; + uses esdma_statistics:switch-statistics-group; + uses esdma_serdes:switch-serdes-group; + uses esdma_mac:switch-mac-group; + uses esdma_bridge:switch-bridge-group; + uses esdma_fdb:switch-fdb-group; + uses esdma_vlan:switch-vlan-group; + uses esdma_sdr:switch-sdr-group; + uses esdma_sfp:switch-sfp-group; + uses esdma_mlap:mlap-oper-group; + uses esdma_debug:switch-debug-group; + uses esdma_trace:esd-ctrace; + uses esdma_mgmt_agent:esdma-mgmt-group; + uses esdma_admin_exec:switch-exec-admin; + uses esdma_trunk:switch-trunk-group; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug.yang new file mode 100644 index 0000000..6964b47 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug.yang @@ -0,0 +1,212 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-debug { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-debug"; + prefix esdma_debug; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the hidden Cisco IOS-XR SysAdmin + 'show controller switch debug counters' command. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-debug-data { + container debug { + tailf:info "Switch internal debug information"; + tailf:hidden "advanced-grp"; + container counters { + tailf:info "Switch internal debug counters"; + tailf:callpoint "switch_debug_counters"; + list location { + key "rack card switch-id"; + tailf:info "Location information for debug counters"; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-full-command; + tailf:cli-show-template "$(counters|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + tailf:display-column-name "Rack"; + } + leaf card { + type esdma_types:esdma-cpu; + tailf:display-column-name "Card"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + tailf:display-column-name "Switch"; + } + container counters { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + leaf phy-polling-enabled { + type boolean; + tailf:alt-name "PHY polling enabled"; + } + leaf tx-thread-wdog-cnt { + type uint64; + tailf:alt-name "Tx thread watchdog count"; + } + leaf rx-thread-wdog-cnt { + type uint64; + tailf:alt-name "Rx thread watchdog count"; + } + leaf task-lock-longest-wait-time { + type uint64; + tailf:alt-name "Task lock longest wait time (ms)"; + } + leaf task-lock-longest-wait-event { + type uint32; + tailf:alt-name "Task lock longest wait event ID"; + } + leaf task-lock-longest-held-time { + type uint64; + tailf:alt-name "Task lock longest held time (ms)"; + } + leaf task-lock-longest-held-event { + type uint32; + tailf:alt-name "Task lock longest held event ID"; + } + leaf task-unlock-longest-wait-time { + type uint64; + tailf:alt-name "Task unlock longest wait time (ms)"; + } + leaf task-unlock-longest-wait-event { + type uint32; + tailf:alt-name "Task unlock longest wait event ID"; + } + leaf dma-max-rx-dequeued-per-int { + type uint64; + tailf:alt-name "DMA Rx Max packets dequeued per interrupt"; + } + leaf dma-rx-packets-dequeued { + type uint64; + tailf:alt-name "DMA Rx packets dequeued"; + } + leaf dma-rx-packet-dequeue-errors { + type uint64; + tailf:alt-name "DMA Rx packet dequeue errors"; + } + leaf dma-tx-packets-queued { + type uint64; + tailf:alt-name "DMA Tx packets queued"; + } + leaf dma-tx-packets-completed { + type uint64; + tailf:alt-name "DMA Tx packets completed"; + } + leaf dma-tx-packet-no-msg-errors { + type uint64; + tailf:alt-name "DMA Tx packet no message errors"; + } + leaf dma-tx-packet-msg-too-big-errors { + type uint64; + tailf:alt-name "DMA Tx packet message too big errors"; + } + leaf dma-tx-packet-no-buffer-errors { + type uint64; + tailf:alt-name "DMA Tx packet no buffer errors"; + } + leaf dma-tx-packet-queue-errors { + type uint64; + tailf:alt-name "DMA Tx packet queue errors"; + } + leaf dma-tx-packet-completion-errors { + type uint64; + tailf:alt-name "DMA Tx packet completion errors"; + } + leaf dma-max-tx-freed-per-int { + type uint64; + tailf:alt-name "DMA Tx Max packets freed per interrupt"; + } + leaf dma-tx-buf-alloc-count { + type uint64; + tailf:alt-name "DMA Tx buffer allocation count"; + } + leaf dma-tx-buf-free-count { + type uint64; + tailf:alt-name "DMA Tx buffer free count"; + } + list switch-core { + key "core"; + tailf:cli-drop-node-name; + leaf core { + type uint8; + tailf:display-column-name "Switch Core"; + } + leaf msi-count { + type uint64; + tailf:display-column-name "MSI Count"; + } + leaf aer-count { + type uint64; + tailf:display-column-name "AER Count"; + } + leaf hp-count { + type uint64; + tailf:display-column-name "HP Count"; + } + leaf wdog-count { + type uint64; + tailf:display-column-name "Watchdog Count"; + } + leaf core-task-lock-longest-wait-time { + type uint64; + tailf:display-column-name "Longest Lock Wait(ms)"; + } + leaf core-task-lock-longest-held-time { + type uint64; + tailf:display-column-name "Longest Lock Held(ms)"; + } + leaf core-task-unlock-longest-wait-time { + type uint64; + tailf:display-column-name "Longest Unlock Wait(ms)"; + } + } + } + } + } + } + } + + grouping switch-debug-group { + container switch-debug-cont { + tailf:cli-drop-node-name; + uses switch-debug-data; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_debug"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb.yang new file mode 100644 index 0000000..7cd5615 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb.yang @@ -0,0 +1,238 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-fdb"; + prefix esdma_fdb; + + import ietf-yang-types { + prefix ietf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch fdb' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping switch-fdb-location { + container switch-fdb-common { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card to list the switch FDB information for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf num-entries { + type uint32; + description + "Number of FDB entries in the table."; + } + leaf has-trunk-entry { + type uint8; + description + "FDB entries contain an entry from the trunk"; + } + leaf trunk-entry-message { + type string; + description + "Message displayed when an FDB entry contains an entry for a trunk member port"; + } + container fdb-block { + list fdb-entry { + key "fdb-index"; + leaf fdb-index { + type uint32; + } + leaf fdb-mac-addr { + type ietf:mac-address; + } + leaf fdb-vlan { + type esdma_types:vlan-id-type; + } + leaf fdb-vlan-hex { + type leafref { + path "../fdb-vlan"; + } + } + leaf fdb-port { + type esdma_types:esdma-switch-port-type; + description + "Switch port MAC address learned on."; + } + leaf fdb-trap-entry { + type esdma_types:esdma-switch-yes-no-enum; + } + leaf fdb-static-entry { + type esdma_types:esdma-switch-yes-no-enum; + } + leaf-list fdb-synced-cores { + type uint8; + } + } + } + } + } + } + + grouping switch-fdb-group { + container fdb { + container vlan { + list vlan-iter { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + } + uses switch-fdb-location; + } + } + container mac { + list mac-iter { + key "mac"; + leaf mac { + type ietf:mac-address; + } + uses switch-fdb-location; + } + } + container port { + list port-iter { + key "port"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port used for filtering"; + } + uses switch-fdb-location; + } + } + container statistics { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + container counter-info { + leaf fdb-shadow-entries { + type uint32; + } + leaf fdb-max-shadow-entries { + type uint32; + } + leaf fdb-max-hash-chain { + type uint32; + } + leaf fdb-entries-added { + type uint32; + } + leaf fdb-entries-deleted { + type uint32; + } + leaf fdb-entries-updated { + type uint32; + } + leaf fdb-flushes { + type uint32; + } + leaf fdb-address-updates { + type uint32; + } + leaf fdb-new-addresses { + type uint32; + } + leaf fdb-aged-updates { + type uint32; + } + leaf fdb-transplant-updates { + type uint32; + } + leaf fdb-forwarding-updates { + type uint32; + } + leaf fdb-address-insert-errors { + type uint32; + } + leaf fdb-address-update-errors { + type uint32; + } + leaf fdb-memory-errors { + type uint32; + } + leaf fdb-allocation-errors { + type uint32; + } + leaf fdb-address-updates-queued { + type uint32; + } + leaf fdb-address-queue-full { + type esdma_types:esdma-switch-yes-no-enum; + } + leaf fdb-forwarding-updates-queued { + type uint32; + } + leaf fdb-forwarding-queue-full { + type esdma_types:esdma-switch-yes-no-enum; + } + } + list core-id { + key "core"; + leaf core { + type int32; + } + leaf core-entries { + type uint32; + } + leaf core-static-entries { + type uint32; + } + } + } + } + uses switch-fdb-location; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac.yang new file mode 100644 index 0000000..69131aa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac.yang @@ -0,0 +1,117 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-mac { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mac"; + prefix esdma_mac; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch mac' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-mac-group { + container mac { + tailf:info "Display mac information"; + container mac-statistics { + tailf:cli-drop-node-name; + tailf:callpoint "esdma_switch_mac_data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch MAC information"; + tailf:cli-suppress-table; + tailf:cli-full-command; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card to list the switch MAC information for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch + ------------------ + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + } + list mac-entry { + key "id"; + tailf:cli-drop-node-name; + leaf id { + type uint32; + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "ID"; + } + leaf base-reg { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Base Reg"; + } + leaf desc { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Description"; + } + leaf value { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Value"; + } + } + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_mac"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent.yang new file mode 100644 index 0000000..2b383d6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent.yang @@ -0,0 +1,163 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mgmt-agent"; + prefix esdma_mgmt_agent; + + import tailf-common { + prefix tailf; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-trace { + prefix esdma_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch mgmt-agent' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping esdma-debug { + container connections { + tailf:hidden "advanced-grp"; + tailf:info "Display ESD Management Agent connectivity"; + tailf:cli-full-show-path; + tailf:cli-full-command; + tailf:callpoint "esdma_connections"; + tailf:cli-show-template + "$(esdma-info|show) + $(sdr-nm-client-id|show)$(esd-client-id|show)$(mlap-client-id|show)"; + container esdma-info { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-show-template + "Active ESD Management Agent IP Address: $(active-esdma-address) + + "; + leaf active-esdma-address { + type inet:ip-address; + } + } + list sdr-nm-client-id { + tailf:cli-table-legend "ESDMA-SDR Clients:"; + tailf:cli-table-footer + " + Total table entries: $(../sdr-nm-num-clients)"; + leaf sdr-nm-ip-address { + type inet:ip-address; + tailf:display-column-name "IP Address"; + tailf:cli-column-width "15"; + } + leaf sdr-nm-port-num { + type inet:port-number; + tailf:display-column-name "Port Number"; + tailf:cli-column-width "11"; + } + } + leaf sdr-nm-num-clients { + type uint32; + tailf:cli-suppress-show-path; + } + list esd-client-id { + tailf:cli-table-legend "ETHSW-MGMT Clients:"; + tailf:cli-table-footer + " + Total table entries: $(../esd-client-num-clients)"; + leaf esd-client-ip-address { + type inet:ip-address; + tailf:display-column-name "IP Address"; + tailf:cli-column-width "15"; + } + leaf esd-client-port-num { + type inet:port-number; + tailf:display-column-name "Port Number"; + tailf:cli-column-width "11"; + } + leaf esd-client-location { + type string; + tailf:display-column-name "Location"; + } + leaf esd-client-switch-info-cached { + type esdma_types:esdma-switch-yes-no-enum; + tailf:display-column-name "Switch Info"; + } + leaf esd-client-sdr-info-cached { + type esdma_types:esdma-switch-yes-no-enum; + tailf:display-column-name "SDR Info"; + } + } + leaf esd-client-num-clients { + type uint32; + tailf:cli-suppress-show-path; + } + list mlap-client-id { + tailf:cli-table-legend "MLAP-MGMT Clients:"; + tailf:cli-table-footer + " + Total table entries: $(../mlap-client-num-clients)"; + leaf mlap-client-ip-address { + type inet:ip-address; + tailf:display-column-name "IP Address"; + tailf:cli-column-width "15"; + } + leaf mlap-client-port-num { + type inet:port-number; + tailf:display-column-name "Port Number"; + tailf:cli-column-width "11"; + } + leaf mlap-client-location { + type string; + tailf:display-column-name "Location"; + } + leaf mlap-client-switch-info-cached { + type esdma_types:esdma-switch-yes-no-enum; + tailf:display-column-name "Switch Info"; + } + } + leaf mlap-client-num-clients { + type uint32; + tailf:cli-suppress-show-path; + } + } + } + + grouping esdma-mgmt-group { + container mgmt-agent { + tailf:info "Switch and MLAP management agent"; + uses esdma_trace:esdma-ctrace; + uses esdma-debug; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_mgmt_agent"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap.yang new file mode 100644 index 0000000..fd18bf1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap.yang @@ -0,0 +1,783 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-mlap"; + prefix esdma_mlap; + + import tailf-common { + prefix tailf; + } + import ietf-yang-types { + prefix ietf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch mlap' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping mlap-endpoint-state-info { + leaf valid { + type boolean; + description + "Indicates whether this endpoint information contains valid data."; + tailf:alt-name "Endpoint information valid:"; + } + leaf chassis-type { + when "../valid = 'true'"; + type esdma_types:esdma-rack-type-enum; + description + "The chassis type of this endpoint is in"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Chassis type:"; + } + leaf endpoint-type { + when "../valid = 'true'"; + type esdma_types:esdma-switch-type-enum; + description + "The type of endpoint this endpoint switch is on"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Endpoint type:"; + } + leaf endpoint-slot-number { + when "../valid = 'true'"; + type uint32; + description + "Slot number of this endpoint"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Endpoint slot number:"; + } + leaf endpoint-switch-number { + when "../valid = 'true'"; + type uint32; + description + "Switch number for the endpoint"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Endpoint switch number:"; + } + leaf endpoint-switch-port-number { + when "../valid = 'true'"; + type uint32; + description + "Port number on the switch for the endpoint"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Endpoint switch port:"; + } + leaf endpoint-chassis-serial-number { + when "../valid = 'true'"; + type string; + description + "Serial number for the endpoint"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Endpoint chassis serial number:"; + } + leaf mlap-state { + when "../valid = 'true'"; + type esdma_types:mlap-state-enum; + description + "Protocol invoked port state"; + tailf:display-when "../valid = 'true'"; + tailf:cli-preformatted; + tailf:alt-name "Protocol state:"; + } + leaf inter-fcc_sw-port { + when "../valid = 'true'"; + type boolean; + description + "Indicates whether this port is used for an inter-F-SW connection"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "Inter F-SW port:"; + } + leaf fcc_sw-indirectly-reachable { + when "../valid = 'true'"; + type boolean; + description + "Indicates whether this port can indirectly reach an F-SW"; + tailf:display-when "../valid = 'true'"; + tailf:alt-name "F-SW indirectly reachable:"; + } + } + + grouping mlap-internal-details { + container mlap-internal-details { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "MLAP Detailed Information For Internal Endpoint + $(info|show:indent=4)"; + container info { + tailf:cli-drop-node-name; + leaf port-owner { + type esdma_types:esdma-cpu; + description + "Indicates which switch data path the port belongs to"; + tailf:alt-name "Port MLAP owner:"; + } + leaf current-active-owner { + type esdma_types:esdma-cpu; + description + "Indicates which switch is currently mastering chassis data"; + tailf:alt-name "Card controlling packet path:"; + } + leaf mlap-peer-flags { + type bits { + bit Valid { + position 0; + } + bit FCC-Active { + position 1; + } + bit Force-Active { + position 2; + } + bit Ignore-Data { + position 31; + } + } + description + "Peer's port MLAP protocol flags"; + tailf:alt-name "Peer MLAP protocol flags:"; + tailf:cli-preformatted; + } + leaf mlap-peer-idle-count { + type uint32; + description + "Time intervals peer has not updated information"; + tailf:alt-name "Peer idle count to endpoint:"; + } + leaf my-connection-active-mask { + type uint64; + description + "My port active mask view"; + tailf:alt-name "This active connection mask:"; + tailf:cli-value-display-template "0x$(.|hex:16)"; + } + leaf peer-connection-active-mask { + type uint64; + description + "Peer's port active mask view"; + tailf:alt-name "Peer active connection mask:"; + tailf:cli-value-display-template "0x$(.|hex:16)"; + } + leaf endpoint-card-type { + type esdma_types:mlap-ep-type; + description + "Indicates the high-level card type this switch port is peering with"; + tailf:alt-name "Connected endpoint card type:"; + } + leaf endpoint-mac-address { + type ietf:mac-address; + description + "MAC addess of device of the protocol peer for this switch port"; + tailf:alt-name "MAC address of protocol endpoint:"; + } + } + } + } + + grouping mlap-external-details { + container mlap-external-details { + tailf:cli-drop-node-name; + tailf:cli-column-stats; + tailf:cli-full-show-path; + tailf:cli-show-template + "MLAP Detailed Information For External Endpoint + Local State Information:$(local-state-information|show:indent=7) Peer State Information:$(peer-state-information|show:indent=7) Peer's Other Peer State Information:$(peer-other-link-state-information|show:indent=7)"; + container local-state-information { + description + "MLAP state information from this port's perspective"; + tailf:cli-drop-node-name; + tailf:cli-column-stats; + uses mlap-endpoint-state-info; + } + container peer-state-information { + description + "MLAP state information from peer port's perspective"; + tailf:cli-drop-node-name; + tailf:cli-column-stats; + uses mlap-endpoint-state-info; + } + container peer-other-link-state-information { + description + "MLAP state information for peer's other uplink perspective (RP/SC only)"; + tailf:cli-drop-node-name; + tailf:cli-column-stats; + uses mlap-endpoint-state-info; + } + } + } + + grouping mlap-detail-data { + container detail { + tailf:info "Detailed MLAP information for a single switch port"; + tailf:callpoint "esdma_mlap_detail_data"; + tailf:cli-incomplete-show-path; + list location { + key "rack card switch-id"; + tailf:info "Location information for detailed MLAP switch port"; + tailf:cli-incomplete-command; + tailf:cli-incomplete-show-path; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:info "Switch port"; + tailf:cli-show-template-enter "MLAP Summary Information For $(gen-data/mlap-protocol) Switch Port $(port) ($(../../rack)/$(../../card)/$(../../switch-id))\n"; + tailf:cli-show-template "$(gen-data|show:indent=4)$($(gen-data/mlap-protocol)==Internal?$(mlap-internal-details|show):$(mlap-external-details|show))"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + } + container gen-data { + tailf:cli-drop-node-name; + leaf serial-num { + type string; + description + "Rack serial number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rack serial number:"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:alt-name "Connects to:"; + } + leaf phys-state { + type esdma_types:esdma-switch-port-state; + description + "Physical port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Physical port state:"; + } + leaf admin-state { + type esdma_types:esdma-switch-port-state; + description + "Administrative port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Administrative port state:"; + } + leaf protocol-state { + type esdma_types:mlap-state-enum; + description + "Protocol invoked port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:alt-name "Port protocol state:"; + } + leaf forwarding { + type esdma_types:switch-forwarding-state; + description + "Indicates whether this port is allowed to forward traffic"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Forwarding state:"; + } + leaf mlap-protocol { + type esdma_types:mlap-protocol-enum; + description + "Indicates whether the internal or external MLAP protocol is active on this port"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Protocol type:"; + } + leaf protocol-pkt-sent { + type uint64; + description + "Number of protocol packets sent"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Good protocol packets sent:"; + } + leaf protocol-pkt-recv { + type uint64; + description + "Number of protocol packets received"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Good protocol packets received:"; + } + leaf protocol-set-color-pkts-sent { + type uint64; + description + "Number of set-active-VLAN requests"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Set VLAN Requests"; + tailf:alt-name "Set VLAN requests:"; + } + leaf protocol-set-color-pkts-recv { + type uint64; + description + "Number of set-active-VLAN responses"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Set VLAN Responses"; + tailf:alt-name "Set VLAN responses:"; + } + leaf protocol-send-error { + type uint64; + description + "Number of protocol packet send errors"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Protocol packet send errors:"; + } + leaf protocol-recv-error { + type uint64; + description + "Number of protocol packet receive errors"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Protocol packet receive errors:"; + } + leaf protocol-state-changes { + type uint32; + description + "Number of state changes"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Protocol state changes:"; + } + } + choice detail-type { + case internal-detail { + uses mlap-internal-details; + } + case external-detail { + uses mlap-external-details; + } + } + } + } + } + } + + grouping mlap-summary-data { + container summary-data { + tailf:cli-drop-node-name; + tailf:callpoint "esdma_mlap_summary_data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for MLAP switch summary data"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + tailf:cli-no-match-completion; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf serial-num { + type string; + description + "Rack serial number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch Rack Serial Number + -------------------------------------- + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) $(../serial-num|ljust:18) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Port"; + } + leaf phys-state { + type esdma_types:esdma-switch-port-state; + description + "Physical port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Phys State"; + tailf:alt-name "Physical port state:"; + } + leaf admin-state { + type esdma_types:esdma-switch-port-state; + description + "Administrative port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Admin State"; + tailf:alt-name "Administrative port state:"; + } + leaf protocol-state { + type esdma_types:mlap-state-enum; + description + "Protocol invoked port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Protocol State"; + tailf:alt-name "Port protocol state:"; + } + leaf forwarding { + type esdma_types:switch-forwarding-state; + description + "Indicates whether this port is allowed to forward traffic"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Forward State"; + tailf:alt-name "Forwarding state:"; + } + leaf mlap-protocol { + type esdma_types:mlap-protocol-enum; + description + "Indicates whether the internal or external MLAP protocol is active on this port"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Protocol Type"; + tailf:alt-name "Protocol type:"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Connects To"; + tailf:alt-name "Connects to:"; + } + } + } + } + } + + grouping mlap-statistics-data { + container statistics { + tailf:callpoint "esdma_mlap_statistics_data"; + tailf:info "MLAP switch statistics data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for MLAP statistics data"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + tailf:cli-no-match-completion; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf serial-num { + type string; + description + "Rack serial number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch Rack Serial Number + -------------------------------------- + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) $(../serial-num|ljust:18) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Port"; + } + leaf protocol-state { + type esdma_types:mlap-state-enum; + description + "Protocol invoked port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Protocol State"; + tailf:alt-name "Port protocol state:"; + } + leaf protocol-state-changes { + type uint32; + description + "Number of state changes"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "State Changes"; + tailf:alt-name "Protocol state changes:"; + } + leaf protocol-pkt-sent { + type uint64; + description + "Number of protocol packets sent"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Pkts Sent"; + tailf:alt-name "Good protocol packets sent:"; + } + leaf protocol-pkt-recv { + type uint64; + description + "Number of protocol packets received"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Pkts Recv"; + tailf:alt-name "Good protocol packets received:"; + } + leaf protocol-set-color-pkts-sent { + type uint64; + description + "Number of set-active-VLAN requests"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Set VLAN Requests"; + tailf:alt-name "Set VLAN requests:"; + } + leaf protocol-set-color-pkts-recv { + type uint64; + description + "Number of set-active-VLAN responses"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Set VLAN Responses"; + tailf:alt-name "Set VLAN responses:"; + } + leaf protocol-send-error { + type uint64; + description + "Number of protocol packet send errors"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Send Errors"; + tailf:alt-name "Protocol packet send errors:"; + } + leaf protocol-recv-error { + type uint64; + description + "Number of protocol packet receive errors"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Recv Errors"; + tailf:alt-name "Protocol packet receive errors:"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Connects To"; + tailf:alt-name "Connects to:"; + } + } + } + } + } + + grouping mlap-reachable-data { + container reachable { + tailf:callpoint "esdma_mlap_reachable"; + tailf:info "Lists all control plane Ethernet switches serviced by MLAP"; + list location { + key "rack card switch-id"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + tailf:cli-enforce-table; + tailf:cli-no-match-completion; + tailf:cli-no-key-completion; + tailf:cli-full-show-path; + leaf rack { + type esdma_types:esdma-rack-num-enum; + tailf:display-column-name "Rack"; + } + leaf card { + type esdma_types:esdma-cpu; + tailf:display-column-name "Card"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + tailf:display-column-name "Switch"; + } + } + } + } + + grouping mlap-debug-counters { + container debug { + tailf:info "MLAP debug information"; + tailf:hidden "advanced-grp"; + container counters { + tailf:info "MLAP internal debug counters"; + tailf:callpoint "mlap_debug_counters"; + list location { + key "rack card switch-id"; + tailf:info "Location information for debug counters"; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-full-command; + tailf:cli-show-template "$(counters|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + tailf:display-column-name "Rack"; + } + leaf card { + type esdma_types:esdma-cpu; + tailf:display-column-name "Card"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + tailf:display-column-name "Switch"; + } + container counters { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + leaf eval-all-links-called { + type uint64; + tailf:alt-name "Eval all links called"; + } + leaf timer-event-queued { + type uint64; + tailf:alt-name "Timer events queued"; + } + leaf rx-packet-event-queued { + type uint64; + tailf:alt-name "Rx packet events queued"; + } + leaf eval-all-links-queued { + type uint64; + tailf:alt-name "Eval all links events queued"; + } + leaf link-status-queued { + type uint64; + tailf:alt-name "Link status' queued"; + } + leaf admin-status-queued { + type uint64; + tailf:alt-name "Admin status' queued"; + } + leaf fwd-status-queued { + type uint64; + tailf:alt-name "Forwarding state status' queued"; + } + leaf current-fifo-depth { + type uint64; + tailf:alt-name "Current event FIFO depth"; + } + leaf max-fifo-depth { + type uint64; + tailf:alt-name "Maximum event FIFO depth"; + } + leaf vlan-color-changes { + type uint32; + tailf:alt-name "Vlan color changes"; + } + leaf current-mlap-timeout-ms-interval { + type uint32; + tailf:alt-name "Current MLAP timeout (ms)"; + } + leaf aging-debug-enabled { + type boolean; + tailf:alt-name "Debug aging disabled"; + } + leaf trace-verbosity { + type esdma_types:mlap-trace-verbosity; + tailf:alt-name "MLAP debug verbosity level"; + } + } + } + } + } + } + + grouping mlap-oper-group { + container mlap { + description + "MLAP switch data"; + tailf:info "Control plane Ethernet switch loop avoidance protocol commands"; + uses mlap-reachable-data; + uses mlap-detail-data; + uses mlap-statistics-data; + uses mlap-summary-data; + uses mlap-debug-counters; + uses show_trace:traceable; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_mlap"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable.yang new file mode 100644 index 0000000..df5c42c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable.yang @@ -0,0 +1,56 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-reachable"; + prefix esdma_reachable; + + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch reachable' command. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping switch-reachable-data { + container reachable { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr.yang new file mode 100644 index 0000000..e35e6d0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr.yang @@ -0,0 +1,462 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sdr"; + prefix esdma_sdr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch sdr' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping sdr-detail-group { + container sdr-detail { + tailf:cli-drop-node-name; + tailf:cli-incomplete-show-path; + tailf:callpoint "esdma_switch_sdr_detail_statistics"; + list sdr-id { + key "sdr"; + tailf:cli-drop-node-name; + tailf:cli-incomplete-show-path; + tailf:info "SDR identifier to retrieve detail for"; + leaf sdr { + type esdma_types:esdma-sdr-id; + tailf:cli-drop-node-name; + } + container port-statistics { + tailf:cli-incomplete-show-path; + tailf:info "Display SDR statistics for specific SDR"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch SDR statistics"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + } + list traffic-type-id { + key "traffic-type"; + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + leaf traffic-type { + type esdma_types:esdma-sdr-traffic-type; + tailf:display-column-name "Traffic Type"; + } + list direction-id { + key "direction"; + tailf:cli-drop-node-name; + leaf direction { + type esdma_types:switch-data-direction-enum; + description + "Packet direction this rule applies to"; + tailf:display-column-name "Packet Direction"; + } + list traffic-class-id { + key "tc"; + tailf:cli-drop-node-name; + leaf tc { + type esdma_types:switch-traffic-class-enum; + description + "Traffic class (0->7) for these statistics."; + tailf:display-column-name "Traffic Class"; + tailf:cli-value-display-template "$(.!=-1?$(.):-)"; + } + leaf green-packets { + type uint64; + description + "Counts packets within the committed information rate for a traffic class on this VLAN."; + tailf:display-column-name "Conforming"; + } + leaf yellow-packets { + type uint64; + description + "Counts packets above the committed information rate, but within the excess information rate for a traffic class on this VLAN."; + tailf:display-column-name "Exceeding"; + } + leaf red-packets { + type uint64; + description + "Counts packets above the excess information rate for a traffic class on this VLAN. Generally, these packets are dropped."; + tailf:display-column-name "Dropped"; + } + } + } + } + } + } + } + } + } + } + + grouping sdr-summary-port-stats { + container port-statistics { + tailf:cli-incomplete-show-path; + tailf:callpoint "esdma_switch_sdr_summary_statistics_data"; + tailf:info "Display SDR port statistics summary"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch SDR statistics"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest to display the SDR configuration for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + } + list sdr-id { + key "sdr"; + tailf:cli-drop-node-name; + tailf:info "SDR identifier to retrieve statistics for"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + leaf sdr { + type esdma_types:esdma-sdr-id; + tailf:display-column-name "SDR ID"; + } + leaf esd-sdr-name { + type string; + tailf:display-column-name "SDR Name"; + } + list traffic-type-id { + key "traffic-type"; + tailf:cli-drop-node-name; + leaf traffic-type { + type esdma_types:esdma-sdr-traffic-type; + tailf:display-column-name "Traffic Type"; + } + list direction-id { + key "direction"; + tailf:cli-drop-node-name; + leaf direction { + type esdma_types:switch-data-direction-enum; + description + "Packet direction this rule applies to"; + tailf:display-column-name "Packet Direction"; + } + leaf green-packets { + type uint64; + description + "Counts packets within the committed information rate for all traffic classes on this SDR."; + tailf:display-column-name "Conforming"; + } + leaf yellow-packets { + type uint64; + description + "Counts packets above the committed information rate, but within the excess information rate for all traffic classes on this SDR."; + tailf:display-column-name "Exceeding"; + } + leaf red-packets { + type uint64; + description + "Counts packets above the excess information rate for all traffic classes on this SDR. Generally, these packets are dropped."; + tailf:display-column-name "Dropped"; + } + } + } + } + } + } + } + } + + grouping sdr-summary-global-stats { + container global-statistics { + tailf:cli-incomplete-show-path; + tailf:callpoint "esdma_switch_sdr_global_statistics_data"; + tailf:info "Display SDR global statistics summary"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch SDR statistics"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest to display the SDR configuration for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list sdr-id { + key "sdr"; + tailf:cli-drop-node-name; + tailf:cli-enforce-table; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:info "SDR identifier to retrieve statistics for"; + leaf sdr { + type esdma_types:esdma-sdr-id; + tailf:display-column-name "SDR ID"; + tailf:cli-column-width "6"; + } + leaf esd-sdr-name { + type string; + tailf:display-column-name "SDR Name"; + } + list traffic-type-id { + key "traffic-type"; + tailf:cli-drop-node-name; + leaf traffic-type { + type esdma_types:esdma-sdr-traffic-type; + tailf:display-column-name "Traffic Type"; + } + list traffic-class-id { + key "tc"; + tailf:cli-drop-node-name; + leaf tc { + type esdma_types:switch-traffic-class-enum; + description + "Traffic class (0->7) for these statistics."; + tailf:display-column-name "Traffic Class"; + } + leaf green-packets { + type uint64; + description + "Counts packets within the committed information rate for a traffic class on this VLAN."; + tailf:display-column-name "Conforming"; + } + leaf yellow-packets { + type uint64; + description + "Counts packets above the committed information rate, but within the excess information rate for a traffic class on this VLAN."; + tailf:display-column-name "Exceeding"; + } + leaf red-packets { + type uint64; + description + "Counts packets above the excess information rate for a traffic class on this VLAN. Generally, these packets are dropped."; + tailf:display-column-name "Dropped"; + } + } + } + } + } + } + } + + grouping sdr-summary-policers { + container policers { + tailf:cli-incomplete-show-path; + tailf:callpoint "esdma_switch_sdr_summary_policer_data"; + tailf:info "Display SDR policer summary"; + list location { + key "rack card switch-id"; + tailf:info "Location information for SDR policer data"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + container esd-policer-status { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-show-template + "Summary Policer Information for Switch $(../rack)/$(../card)/$(../switch-id) + $(indent-group|show:indent=4)"; + container indent-group { + tailf:cli-drop-node-name; + leaf esd-port-policing-enabled { + type esdma_types:esdma-switch-yes-no-enum; + tailf:alt-name "Port Policing Enabled: "; + } + leaf esd-port-committed-burst-size { + type uint32; + tailf:alt-name "Port Committed Burst Size (bytes): "; + } + leaf esd-port-peak-burst-size { + type uint32; + tailf:alt-name "Port Peak Burst Size (bytes): "; + } + leaf esd-port-policer-mru { + type uint32; + tailf:alt-name "Port Policer MRU (bytes): "; + } + leaf esd-global-policing-enabled { + type esdma_types:esdma-switch-yes-no-enum; + tailf:alt-name "Global Policing Enabled: "; + } + leaf esd-global-committed-burst-size { + type uint32; + tailf:alt-name "Global Committed Burst Size (bytes): "; + } + leaf esd-global-peak-burst-size { + type uint32; + tailf:alt-name "Global Peak Burst Size (bytes): "; + } + leaf esd-global-policer-mru { + type uint32; + tailf:alt-name "Global Policer MRU (bytes): "; + } + } + } + list sdr-id { + key "sdr"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-enforce-table; + tailf:info "SDR identifier to retrieve policer data for"; + tailf:cli-table-legend " "; + leaf sdr { + type esdma_types:esdma-sdr-id; + tailf:display-column-name "SDR ID"; + tailf:cli-column-width "6"; + } + leaf esd-sdr-name { + type string; + tailf:display-column-name "SDR Name"; + } + leaf esd-sdr-cir { + type esdma_types:esd-percentage; + tailf:display-column-name "SDR CIR(%)"; + } + leaf esd-sdr-pir { + type esdma_types:esd-percentage; + tailf:display-column-name "SDR PIR(%)"; + } + list esd-sdr-cos-type-iter { + key "esd-sdr-cos-type"; + leaf esd-sdr-cos-type { + type esdma_types:esd-cir-eir-type; + tailf:display-column-name "CoS B/W"; + } + leaf esd-sdr-cos-0 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 0(%)"; + } + leaf esd-sdr-cos-1 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 1(%)"; + } + leaf esd-sdr-cos-2 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 2(%)"; + } + leaf esd-sdr-cos-3 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 3(%)"; + } + leaf esd-sdr-cos-4 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 4(%)"; + } + leaf esd-sdr-cos-5 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 5(%)"; + } + leaf esd-sdr-cos-6 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 6(%)"; + } + leaf esd-sdr-cos-7 { + type esdma_types:esd-percentage; + tailf:display-column-name "CoS 7(%)"; + } + } + } + } + } + } + + grouping sdr-summary-group { + uses sdr-summary-port-stats; + uses sdr-summary-global-stats; + uses sdr-summary-policers; + } + + grouping switch-sdr-group { + container sdr { + tailf:info "Control Plane Ethernet SDR Information"; + tailf:cli-incomplete-show-path; + uses sdr-summary-group; + uses sdr-detail-group; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_sdr"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes.yang new file mode 100644 index 0000000..051a812 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes.yang @@ -0,0 +1,135 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-serdes"; + prefix esdma_serdes; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch serdes' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-serdes-group { + container serdes { + tailf:info "Display serdes information"; + container serdes-statistics { + tailf:cli-drop-node-name; + tailf:callpoint "esdma_switch_serdes_data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch Serdes information"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card to list the switch Serdes information for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch + ------------------ + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + } + list serdes-entry { + key "id"; + tailf:cli-drop-node-name; + leaf id { + type uint32; + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Serdes ID"; + } + leaf base-reg { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Base Reg"; + } + leaf desc { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Description"; + } + leaf lane-0 { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Lane 0"; + } + leaf lane-1 { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Lane 1"; + } + leaf lane-2 { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Lane 2"; + } + leaf lane-3 { + type string; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Lane 3"; + } + } + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_serdes"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp.yang new file mode 100644 index 0000000..489a810 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp.yang @@ -0,0 +1,1354 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-sfp"; + prefix esdma_sfp; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch sfp' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-sfp-summary-group { + container summary { + tailf:callpoint "esdma_switch_sfp_summary_data"; + tailf:info "Display SFP summary information"; + list location { + key "rack card switch-id"; + tailf:info "Location information for SFP information"; + tailf:cli-full-command; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-suppress-table; + tailf:cli-show-template "$(sfp-port-iter|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list sfp-port-iter { + key "sfp-port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch + ------------------ + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) + "; + tailf:cli-enforce-table; + leaf sfp-port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + } + leaf sfp-inserted { + type esdma_types:esdma-switch-sfp-inserted-enum; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "SFP Inserted"; + } + leaf sfp-controller { + type esdma_types:esdma-switch-sfp-controller-enum; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "SFP Controller"; + } + leaf sfp-type { + type esdma_types:esdma-switch-sfp-type-enum; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "SFP Type"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Connects To"; + } + } + } + } + } + + grouping switch-sfp-detail-group { + container detail { + tailf:cli-incomplete-show-path; + tailf:callpoint "esdma_switch_sfp_detail_data"; + tailf:info "Display SFP detail"; + list location { + key "rack card switch-id"; + tailf:info "Location information for SFP information"; + tailf:cli-incomplete-show-path; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + } + list sfp-port-iter { + key "sfp-port"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "SFP/QSFP EEPROM Data for Switch Port $(sfp-port)\n"; + tailf:cli-show-template + "$($(sfp-inserted)==Yes?$($(sfp-type)==SFP-10G-SR?$(sfp-details|show))$($(sfp-type)==SFP-10G-LR?$(sfp-details|show))$($(sfp-type)==SFP-10G-LRM?$(sfp-details|show))$($(sfp-type)==SFP-1G-SX?$(sfp-details|show))$($(sfp-type)==SFP-1G-LX?$(sfp-details|show))$($(sfp-type)==SFP-1000Base-T?$(sfp-details|show))$($(sfp-type)==SFP-40G-SR4?$(qsfp-details|show))$($(sfp-type)==SFP-40G-LR4?$(qsfp-details|show))$($(sfp-type)==None? Unknown SFP + )$($(sfp-type)==Unspecified? Unknown SFP + ))$($(sfp-inserted)!=Yes? No SFP inserted + )"; + leaf sfp-port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Switch Port"; + tailf:alt-name "SFP EEPROM port: "; + } + leaf sfp-inserted { + type esdma_types:esdma-switch-sfp-inserted-enum; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf sfp-type { + type esdma_types:esdma-switch-sfp-type-enum; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "SFP Type"; + } + container sfp-details { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$(sfp-port-detail|show:indent=4) + SFP MSA Data + $(sfp-msa-data|show:indent=3) + $(sfp-diag-analog-info|show:indent=4)$(sfp-diag-data1|show:indent=3)$(sfp-diag-user-info|show)$(sfp-diag-data2|show:indent=3) + "; + container sfp-port-detail { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + leaf sfp-tranceiver-type { + type esdma_types:esdma-switch-sfp-tranceiver-type-enum; + tailf:alt-name "Transceiver Type: "; + } + leaf sfp-tranceiver-code { + type esdma_types:esdma-switch-sfp-type-enum; + tailf:alt-name "Transceiver Code: "; + } + leaf sfp-encoding { + type esdma_types:esdma-sfp-encoding-enum; + tailf:alt-name "Encoding: "; + } + leaf sfp-bit-rate { + type uint32; + tailf:alt-name "Bit Rate (Mbps): "; + } + leaf sfp-link-reach-9u-fiber_KM { + when "../sfp-link-reach-9u-fiber_KM != '0'"; + type uint32; + tailf:display-when "../sfp-link-reach-9u-fiber_KM != '0'"; + tailf:alt-name "Link Reach for 9u Fiber (kilometers): "; + } + leaf sfp-link-reach-9u-fiber_M { + when "../sfp-link-reach-9u-fiber_M != '0'"; + type uint32; + tailf:display-when "../sfp-link-reach-9u-fiber_M != '0'"; + tailf:alt-name "Link Reach for 9u Fiber (meters): "; + } + leaf sfp-link-reach-50u-fiber_M { + when "../sfp-link-reach-50u-fiber_M != '0'"; + type uint32; + tailf:display-when "../sfp-link-reach-50u-fiber_M != '0'"; + tailf:alt-name "Link Reach for 50u (OM2) Fiber (meters): "; + } + leaf sfp-link-reach-62_5u-fiber_M { + when "../sfp-link-reach-62_5u-fiber_M != '0'"; + type uint32; + tailf:display-when "../sfp-link-reach-62_5u-fiber_M != '0'"; + tailf:alt-name "Link Reach for 62.5u (OM1) Fiber (meters): "; + } + leaf sfp-link-reach-copper_M { + when "../sfp-link-reach-copper_M != '0'"; + type uint32; + tailf:display-when "../sfp-link-reach-copper_M != '0'"; + tailf:alt-name "Link Reach for Copper (meters): "; + } + leaf sfp-vendor-name { + type string; + tailf:alt-name "Vendor Name: "; + tailf:cli-preformatted; + } + leaf sfp-vendor-oui { + type string; + tailf:alt-name "Vendor OUI: "; + tailf:cli-preformatted; + } + leaf sfp-vendor-part-num { + type string; + tailf:alt-name "Vendor Part #: "; + tailf:cli-preformatted; + } + leaf sfp-laser-wavelength { + when "../sfp-laser-wavelength != '0'"; + type uint32; + tailf:display-when "../sfp-laser-wavelength != '0'"; + tailf:alt-name "Laser Wavelength (nano-meters): "; + } + leaf sfp-options { + type bits { + bit LRO { + position 0; + } + bit PowerLvl2 { + position 1; + } + bit CooledXcvr { + position 2; + } + bit LOS { + position 9; + } + bit SignalDet { + position 10; + } + bit TxFault { + position 11; + } + bit TxDisable { + position 12; + } + bit RateSel { + position 13; + } + } + tailf:alt-name "Implemented Options: "; + tailf:cli-preformatted; + } + leaf sfp-vendor-serial-num { + type string; + tailf:alt-name "Vendor Serial #: "; + tailf:cli-preformatted; + } + leaf sfp-data-code { + type string; + tailf:alt-name "Date Code (yy/mm/dd): "; + tailf:cli-preformatted; + } + leaf sfp-diag-monitoring { + type bits { + bit AvePwrMon { + position 3; + } + bit External { + position 4; + } + bit Internal { + position 5; + } + bit DigDiagMon { + position 6; + } + } + tailf:alt-name "Diagnostic Monitoring: "; + tailf:cli-preformatted; + } + leaf sfp-enhanced-options { + type bits { + bit RateSelCtrl { + position 1; + } + bit ApplSelect { + position 2; + } + bit RateSelCtrlMon { + position 3; + } + bit RxLosMon { + position 4; + } + bit TxFaultMon { + position 5; + } + bit TxDisableCtrlMon { + position 6; + } + bit AlarmWarningFlags { + position 7; + } + } + tailf:cli-column-width "30"; + tailf:alt-name "Enhanced Options: "; + tailf:cli-preformatted; + } + } + container sfp-msa-data { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + leaf sfp-msa-0x00 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-msa-0x10 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-msa-0x20 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-msa-0x30 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-msa-0x40 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-msa-0x50 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + } + container sfp-diag-analog-info { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$($(../sfp-port-detail/sfp-tranceiver-code)!=SFP-1000Base-T?$(Thresholds|show) + $(Real-Time-Data|show) + )"; + container Thresholds { + tailf:cli-drop-node-name; + tailf:cli-show-template + "Threshold Data + Temperature + $(Temperature|show:indent=8) Voltage + $(Voltage|show:indent=8) Bias + $(Bias|show:indent=8) Tx Power + $(Tx-Power|show:indent=8) Rx Power + $(Rx-Power|show:indent=8)"; + container Temperature { + tailf:cli-drop-node-name; + leaf temp-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf temp-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf temp-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf temp-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container Voltage { + tailf:cli-drop-node-name; + leaf volt-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf volt-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf volt-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf volt-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container Bias { + tailf:cli-drop-node-name; + leaf bias-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf bias-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf bias-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf bias-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container Tx-Power { + tailf:cli-drop-node-name; + leaf tx-power-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf tx-power-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf tx-power-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf tx-power-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container Rx-Power { + tailf:cli-drop-node-name; + leaf rx-power-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf rx-power-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf rx-power-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf rx-power-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + } + container Real-Time-Data { + tailf:cli-drop-node-name; + tailf:cli-show-template + "Real Time Data + $(Current|show:indent=4)"; + container Current { + tailf:cli-drop-node-name; + leaf cur-temperature { + type string; + tailf:alt-name "Temperature: "; + tailf:cli-preformatted; + } + leaf cur-voltage { + type string; + tailf:alt-name "Voltage: "; + tailf:cli-preformatted; + } + leaf cur-bias { + type string; + tailf:alt-name "Bias: "; + tailf:cli-preformatted; + } + leaf cur-tx-power { + type string; + tailf:alt-name "Tx Power: "; + tailf:cli-preformatted; + } + leaf cur-rx-power { + type string; + tailf:alt-name "Rx Power: "; + tailf:cli-preformatted; + } + leaf optional-status-control { + type bits { + bit DataReadyBar { + position 0; + } + bit RxLOS { + position 1; + } + bit TxFault { + position 2; + } + bit SoftRateSel0Eq1 { + position 3; + } + bit RateSel0Eq1 { + position 4; + } + bit RateSel1Eq1 { + position 5; + } + bit SoftTxDisable { + position 6; + } + bit TxDisable { + position 7; + } + } + tailf:cli-column-width "30"; + tailf:alt-name "Current Status/Control: "; + tailf:cli-preformatted; + } + } + } + } + container sfp-diag-data1 { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$($(../sfp-port-detail/sfp-tranceiver-code)!=SFP-1000Base-T?SFP A2 Data [Lower] + $(optical-sfp-diag|show) + )"; + container optical-sfp-diag { + tailf:cli-drop-node-name; + leaf sfp-diag-0x00 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x10 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x20 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x30 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x40 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x50 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x60 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x70 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + } + } + container sfp-diag-user-info { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$($(../sfp-port-detail/sfp-tranceiver-code)!=SFP-1000Base-T?Cisco SFP Information + $(cisco-data|show:indent=4) + )"; + container cisco-data { + tailf:cli-drop-node-name; + leaf cisco-clei-code { + type string; + tailf:alt-name "CLEI Code: "; + tailf:cli-preformatted; + } + leaf cisco-part-number { + type string; + tailf:alt-name "Part Number: "; + tailf:cli-preformatted; + } + leaf cisco-min-temperature { + type int8; + tailf:alt-name "Minimum Temperature (C): "; + } + leaf cisco-max-temperature { + type int8; + tailf:alt-name "Maximum Temperature (C): "; + } + leaf cisco-product-id { + type string; + tailf:alt-name "Product Id: "; + tailf:cli-preformatted; + } + } + } + container sfp-diag-data2 { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$($(../sfp-port-detail/sfp-tranceiver-code)!=SFP-1000Base-T?SFP A2 Data [Upper] + $(optical-sfp-diag|show) + )"; + container optical-sfp-diag { + tailf:cli-drop-node-name; + leaf sfp-diag-0x80 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0x90 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xA0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xB0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xC0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xD0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xE0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + leaf sfp-diag-0xF0 { + type string; + tailf:cli-drop-node-name; + tailf:cli-preformatted; + } + } + } + } + container qsfp-details { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "$(qsfp_page_A0_0_data|show:indent=4) + $(qsfp_page_A0_3_data|show:indent=4) + $(qsfp_page_A0_data|show:indent=4)"; + container qsfp_page_A0_data { + tailf:cli-drop-node-name; + tailf:cli-show-template + "Real Time Data + $(qsfp-real-time-data|show:indent=4) + $(qsfp-real-time-status-flags|show:indent=4)"; + container qsfp-real-time-data { + tailf:cli-drop-node-name; + tailf:cli-show-template + "$(qsfp-temp-volt|show:indent=4) Tx Bias + $(qsfp-tx-channel-bias|show:indent=8) Tx Output Power + $(qsfp-tx-output-power|show:indent=8) Rx Input Power + $(qsfp-rx-input-power|show:indent=8)"; + container qsfp-temp-volt { + tailf:cli-drop-node-name; + leaf module-monitor-temperature { + type string; + tailf:alt-name "Temperature: "; + tailf:cli-preformatted; + } + leaf module-monitor-voltage { + type string; + tailf:alt-name "Voltage: "; + tailf:cli-preformatted; + } + } + container qsfp-tx-channel-bias { + tailf:cli-drop-node-name; + leaf channel-monitor-Tx1-Bias { + type string; + tailf:alt-name "Channel 1: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx2-Bias { + type string; + tailf:alt-name "Channel 2: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx3-Bias { + type string; + tailf:alt-name "Channel 3: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx4-Bias { + type string; + tailf:alt-name "Channel 4: "; + tailf:cli-preformatted; + } + } + container qsfp-tx-output-power { + tailf:cli-drop-node-name; + leaf channel-monitor-Tx1-Power { + type string; + tailf:alt-name "Channel 1: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx2-Power { + type string; + tailf:alt-name "Channel 2: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx3-Power { + type string; + tailf:alt-name "Channel 3: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Tx4-Power { + type string; + tailf:alt-name "Channel 4: "; + tailf:cli-preformatted; + } + } + container qsfp-rx-input-power { + tailf:cli-drop-node-name; + leaf channel-monitor-Rx1-Power { + type string; + tailf:alt-name "Channel 1: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Rx2-Power { + type string; + tailf:alt-name "Channel 2: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Rx3-Power { + type string; + tailf:alt-name "Channel 3: "; + tailf:cli-preformatted; + } + leaf channel-monitor-Rx4-Power { + type string; + tailf:alt-name "Channel 4: "; + tailf:cli-preformatted; + } + } + } + container qsfp-real-time-status-flags { + tailf:cli-drop-node-name; + tailf:cli-show-template + " Real Time Status + $(qsfp-real-time-status|show:indent=8) Real Time Interrupt Flags + (Empty value displayed when no flag is set) + $(qsfp-real-time-interrupt-flags|show:indent=8)"; + container qsfp-real-time-status { + tailf:cli-drop-node-name; + leaf qsfp-page-select { + type string; + tailf:alt-name "Page Select: "; + tailf:cli-preformatted; + } + leaf qsfp-status { + type bits { + bit DataNotReady { + position 8; + } + bit INTL { + position 9; + } + bit FlatMemory { + position 10; + } + } + description + "Status Indicator"; + tailf:alt-name "Status Indicator (value may be empty):"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + } + container qsfp-real-time-interrupt-flags { + tailf:cli-drop-node-name; + leaf qsfp-int-flags-LOS-Indicator { + type bits { + bit L-Rx1-LOS { + position 0; + } + bit L-Rx2-LOS { + position 1; + } + bit L-Rx3-LOS { + position 2; + } + bit L-Rx4-LOS { + position 3; + } + bit L-Tx1-LOS { + position 4; + } + bit L-Tx2-LOS { + position 5; + } + bit L-Tx3-LOS { + position 6; + } + bit L-Tx4-LOS { + position 7; + } + } + description + "Interrupt Flag for TX/RX LOS Indicator"; + tailf:alt-name "TX/RX LOS Indicator:"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-int-flags-Fault-Indicator { + type bits { + bit L-Tx1-Fault { + position 0; + } + bit L-Tx2-Fault { + position 1; + } + bit L-Tx3-Fault { + position 2; + } + bit L-Tx4-Fault { + position 3; + } + } + description + "Interrupt Flag for TX Fault Indicator"; + tailf:alt-name "TX Fault Indicator:"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-int-flags-Temperature-Indicator { + type bits { + bit Initialization-Complete-Flag { + position 0; + } + bit L-Temp-Low-Warning { + position 4; + } + bit L-Temp-High-Warning { + position 5; + } + bit L-Temp-Low-Alarm { + position 6; + } + bit L-Temp-High-Alarm { + position 7; + } + } + description + "Interrupt Flag for high/low alarm/warning temperature Indicator"; + tailf:alt-name "Temperature Alarm/Warning Indicator:"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-int-flags-Supply-Voltage-Indicator { + type bits { + bit L-Vcc-Low-Warning { + position 4; + } + bit L-Vcc-High-Warning { + position 5; + } + bit L-Vcc-Low-Alarm { + position 6; + } + bit L-Vcc-High-Alarm { + position 7; + } + } + description + "Interrupt Flag for high/low alarm/warning Voltage Indicator"; + tailf:alt-name "Voltage Alarm/Warning Indicator:"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-int-flags-Rx-Power-Indicator { + type bits { + bit L-Rx2-Power-Low-Warning { + position 0; + } + bit L-Rx2-Power-High-Warning { + position 1; + } + bit L-Rx2-Power-Low-Alarm { + position 2; + } + bit L-Rx2-Power-High-Alarm { + position 3; + } + bit L-Rx1-Power-Low-Warning { + position 4; + } + bit L-Rx1-Power-High-Warning { + position 5; + } + bit L-Rx1-Power-Low-Alarm { + position 6; + } + bit L-Rx1-Power-High-Alarm { + position 7; + } + bit L-Rx4-Power-Low-Warning { + position 8; + } + bit L-Rx4-Power-High-Warning { + position 9; + } + bit L-Rx4-Power-Low-Alarm { + position 10; + } + bit L-Rx4-Power-High-Alarm { + position 11; + } + bit L-Rx3-Power-Low-Warning { + position 12; + } + bit L-Rx3-Power-High-Warning { + position 13; + } + bit L-Rx3-Power-Low-Alarm { + position 14; + } + bit L-Rx3-Power-High-Alarm { + position 15; + } + } + description + "Interrupt Flag for high/low alarm/warning Rx Power in Channel 1/2/3/4 Indicator"; + tailf:alt-name "Rx Power Alarm/Warning Indicator (Channel 1/2/3/4):"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-int-flags-Tx-Bias-Indicator { + type bits { + bit L-Tx2-Bias-Low-Warning { + position 0; + } + bit L-Tx2-Bias-High-Warning { + position 1; + } + bit L-Tx2-Bias-Low-Alarm { + position 2; + } + bit L-Tx2-Bias-High-Alarm { + position 3; + } + bit L-Tx1-Bias-Low-Warning { + position 4; + } + bit L-Tx1-Bias-High-Warning { + position 5; + } + bit L-Tx1-Bias-Low-Alarm { + position 6; + } + bit L-Tx1-Bias-High-Alarm { + position 7; + } + bit L-Tx4-Bias-Low-Warning { + position 8; + } + bit L-Tx4-Bias-High-Warning { + position 9; + } + bit L-Tx4-Bias-Low-Alarm { + position 10; + } + bit L-Tx4-Bias-High-Alarm { + position 11; + } + bit L-Tx3-Bias-Low-Warning { + position 12; + } + bit L-Tx3-Bias-High-Warning { + position 13; + } + bit L-Tx3-Bias-Low-Alarm { + position 14; + } + bit L-Tx3-Bias-High-Alarm { + position 15; + } + } + description + "Interrupt Flag for high/low alarm/warning Tx Bias in Channel 1/2/3/4 Indicator"; + tailf:alt-name "Tx Bias Alarm/Warning Indicator (Channel 1/2/3/4):"; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + } + } + } + container qsfp_page_A0_0_data { + tailf:cli-drop-node-name; + leaf qsfp-identifier { + type esdma_types:esdma-switch-sfp-tranceiver-type-enum; + tailf:alt-name "Transceiver Type: "; + } + leaf qsfp-transceiver { + type esdma_types:esdma-qsfp-transceiver-enum; + tailf:alt-name "Transceiver Code: "; + } + leaf qsfp-extended-transceiver { + type string; + tailf:alt-name "Extended Transceiver Type: "; + tailf:cli-preformatted; + } + leaf qsfp-encoding { + type esdma_types:esdma-sfp-encoding-enum; + tailf:alt-name "Encoding: "; + } + leaf qsfp-bit-rate { + type uint32; + tailf:alt-name "Bit rate (Mbps): "; + } + leaf qsfp-link-length-standard-SM-fiber_KM { + when "../qsfp-link-length-standard-SM-fiber_KM != '0'"; + type uint32; + tailf:display-when "../qsfp-link-length-standard-SM-fiber_KM != '0'"; + tailf:alt-name "Link Length for standard SM Fiber (kilometers): "; + } + leaf qsfp-link-length-OM3-50u-fiber_M { + when "../qsfp-link-length-OM3-50u-fiber_M != '0'"; + type uint32; + tailf:display-when "../qsfp-link-length-OM3-50u-fiber_M != '0'"; + tailf:alt-name "Link Length for 50u (OM3) fiber (meters): "; + } + leaf qsfp-link-length-OM2-50u-fiber_M { + when "../qsfp-link-length-OM2-50u-fiber_M != '0'"; + type uint32; + tailf:display-when "../qsfp-link-length-OM2-50u-fiber_M != '0'"; + tailf:alt-name "Link Length for 50u (OM2) fiber (meters): "; + } + leaf qsfp-link-length-OM1-62_5u-fiber_M { + when "../qsfp-link-length-OM1-62_5u-fiber_M != '0'"; + type uint32; + tailf:display-when "../qsfp-link-length-OM1-62_5u-fiber_M != '0'"; + tailf:alt-name "Link Length for 62.5u (OM1) fiber (meters): "; + } + leaf qsfp-link-length-Copper-Cable-Assembly-fiber_M { + when "../qsfp-link-length-Copper-Cable-Assembly-fiber_M != '0'"; + type uint32; + tailf:display-when "../qsfp-link-length-Copper-Cable-Assembly-fiber_M != '0'"; + tailf:alt-name "Link Length for Copper Cable Assembly fiber (meters): "; + } + leaf qsfp-device-tech { + type string; + tailf:alt-name "Device and Transmitter Technology: "; + tailf:cli-preformatted; + } + leaf qsfp-vendor-name { + type string; + tailf:alt-name "Vendor Name: "; + tailf:cli-preformatted; + } + leaf qsfp-vendor-oui { + type string; + tailf:alt-name "Vendor OUI: "; + tailf:cli-preformatted; + } + leaf qsfp-vendor-part-num { + type string; + tailf:alt-name "Vendor Part #: "; + tailf:cli-preformatted; + } + leaf qsfp-laser-wavelength { + when "../qsfp-laser-wavelength != '0'"; + type uint32; + tailf:display-when "../qsfp-laser-wavelength != '0'"; + tailf:alt-name "Laser Wavelength (nano-meters): "; + } + leaf qsfp-wavelength_tolerance { + type uint32; + tailf:alt-name "Wavelength Tolerance (nano-meters): "; + } + leaf qsfp-max-case-temperature { + type string; + tailf:alt-name "Max Case Temperature (C): "; + tailf:cli-preformatted; + } + leaf qsfp-option-value-Rx-amplitude { + type bits { + bit RX-Output-Amplitude-Programming-Implemented { + position 0; + } + } + description + "Option value for Rx amplitude "; + tailf:alt-name "Option value for Rx amplitude: "; + tailf:cli-column-width "30"; + tailf:cli-preformatted; + } + leaf qsfp-option-values-Indicator { + type bits { + bit TxSqlch { + position 0; + } + bit TxSqlchDisable { + position 1; + } + bit RxOutputDisable { + position 2; + } + bit RxSqlchDisable { + position 3; + } + bit TxLOS { + position 9; + } + bit TxSqlchReducePave { + position 10; + } + bit TxFaultSignal { + position 11; + } + bit TxDisable { + position 12; + } + bit RateSelect { + position 13; + } + bit MemPg01 { + position 14; + } + bit MemPg02 { + position 15; + } + } + description + "Options Implemented in the QSFP Module"; + tailf:alt-name "Implemented Options: "; + tailf:cli-column-width "20"; + } + leaf qsfp-vendor-serial-num { + type string; + tailf:alt-name "Vendor Serial #: "; + tailf:cli-preformatted; + } + leaf qsfp-date-code { + type string; + tailf:alt-name "Date Code (yy/mm/dd): "; + tailf:cli-preformatted; + } + leaf qsfp-diag-monitoring-type { + type bits { + bit AvgPwrMon { + position 3; + } + } + tailf:alt-name "Diagnostic Monitoring Type: "; + tailf:cli-preformatted; + } + } + container qsfp_page_A0_3_data { + tailf:cli-drop-node-name; + tailf:cli-full-show-path; + tailf:cli-show-template + "Threshold Data + Temperature + $(qsfp-temperature|show:indent=8) Voltage + $(qsfp-voltage|show:indent=8) Tx Bias + $(qsfp-tx-bias|show:indent=8) Tx Power + $(qsfp-tx-power|show:indent=8) Rx Power + $(qsfp-rx-power|show:indent=8)"; + container qsfp-temperature { + tailf:cli-drop-node-name; + leaf qsfp-temp-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf qsfp-temp-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf qsfp-temp-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf qsfp-temp-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container qsfp-voltage { + tailf:cli-drop-node-name; + leaf qsfp-volt-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf qsfp-volt-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf qsfp-volt-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf qsfp-volt-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container qsfp-tx-bias { + tailf:cli-drop-node-name; + leaf qsfp-tx-bias-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-bias-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-bias-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-bias-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container qsfp-tx-power { + tailf:cli-drop-node-name; + leaf qsfp-tx-power-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-power-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-power-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf qsfp-tx-power-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + container qsfp-rx-power { + tailf:cli-drop-node-name; + leaf qsfp-rx-power-alarm-high { + type string; + tailf:alt-name "Alarm High: "; + tailf:cli-preformatted; + } + leaf qsfp-rx-power-warning-high { + type string; + tailf:alt-name "Warning High: "; + tailf:cli-preformatted; + } + leaf qsfp-rx-power-warning-low { + type string; + tailf:alt-name "Warning Low: "; + tailf:cli-preformatted; + } + leaf qsfp-rx-power-alarm-low { + type string; + tailf:alt-name "Alarm Low: "; + tailf:cli-preformatted; + } + } + } + } + } + } + } + } + + grouping switch-sfp-group { + container sfp { + tailf:cli-incomplete-show-path; + tailf:info "Display SFP information"; + uses switch-sfp-summary-group; + uses switch-sfp-detail-group; + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_sfp"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics.yang new file mode 100644 index 0000000..99ed196 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics.yang @@ -0,0 +1,425 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-statistics"; + prefix esdma_statistics; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch statistics' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2018-02-23 { + description + "Added a missing : for uniform output format"; + } + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-statistics-group { + container statistics { + tailf:info "Show switch statistics"; + tailf:cli-incomplete-show-path; + container summary-statistics { + tailf:cli-drop-node-name; + tailf:callpoint "esdma_switch_statistics_summary_data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch statistics"; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf serial-num { + type string; + description + "Rack serial number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch Rack Serial Number + -------------------------------------- + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) $(../serial-num|ljust:18) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Port"; + } + leaf phys-state { + type esdma_types:esdma-switch-port-state; + description + "Physical port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Phys State"; + tailf:alt-name "Physical port state:"; + } + leaf state-changes { + type uint32; + description + "Physical port state changes"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "State Changes"; + } + leaf sw-sum-tx-packets { + type uint64; + description + "Packets transmitted on this switch port"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Tx Packets"; + } + leaf sw-sum-rx-packets { + type uint64; + description + "Indicates the port speed in bits per second"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Rx Packets"; + } + leaf sw-sum-tx-drops-errors { + type uint64; + description + "Indicates the number of transmitted packets that had an error or were dropped by the policer"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Tx Drops/ Errors"; + } + leaf sw-sum-rx-drops-errors { + type uint64; + description + "Indicates the number of received packets that had an error or were dropped by the policer"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Rx Drops/ Errors"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Connects To"; + } + } + } + } + container detail { + tailf:info "Detailed switch port statistics"; + tailf:callpoint "esdma_switch_statistics_detail_data"; + list location { + key "rack card switch-id"; + tailf:info "Location for detailed switch port statistics"; + tailf:cli-incomplete-command; + tailf:cli-incomplete-show-path; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-full-command; + tailf:cli-suppress-table; + tailf:info "Switch port"; + tailf:cli-show-template + " Phys Port + Rack Card Switch Port State Speed Connects To + ----------------------------------------------------- + $(../../rack|ljust:4) $(../../card|ljust:4) $(../../switch-id|ljust:6) $(port|ljust:4) $(phys-state|ljust:5) $(port-speed|ljust:7) $(connects-to|ljust:20) + + $(counters|show)"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + } + leaf phys-state { + type esdma_types:esdma-switch-port-state; + description + "Physical port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf port-speed { + type string; + description + "Indicates the port speed in bits per second"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + } + container counters { + tailf:cli-drop-node-name; + leaf sw-det-rx-ucast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Unicast Packets:"; + } + leaf sw-det-rx-mcast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Multicast Packets:"; + } + leaf sw-det-rx-bcast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Broadcast Packets:"; + } + leaf sw-det-rx-flow-control { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Flow Control:"; + } + leaf sw-det-rx-good-octets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Good Octets:"; + } + leaf sw-det-rx-bad-octets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Bad Octets:"; + } + leaf sw-det-rx-fifo-overrun { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx FIFO Overrun:"; + } + leaf sw-det-rx-undersize { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Undersize:"; + } + leaf sw-det-rx-fragments { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Fragments:"; + } + leaf sw-det-rx-oversize { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Oversize:"; + } + leaf sw-det-rx-jabber { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Jabber:"; + } + leaf sw-det-rx-errors { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Errors:"; + } + leaf sw-det-rx-bad-crc { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Bad CRC:"; + } + leaf sw-det-rx-collisions { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Collisions:"; + } + leaf sw-det-rx-policing-drops { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Rx Policing Drops:"; + } + leaf sw-det-tx-ucast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Unicast Packets:"; + } + leaf sw-det-tx-mcast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Multicast Packets:"; + } + leaf sw-det-tx-bcast-packets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Broadcast Packets:"; + } + leaf sw-det-tx-flow-control { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Flow Control:"; + } + leaf sw-det-tx-good-octets { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Good Octets:"; + } + leaf sw-det-tx-deferred { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Deferred Packets:"; + } + leaf sw-det-tx-fifo-unrun { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx FIFO Underrun/CRC:"; + } + leaf sw-det-tx-mult-collision { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Multiple Collisions:"; + } + leaf sw-det-tx-excess-collision { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Excess Collisions:"; + } + leaf sw-det-tx-late-collisions { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Late Collisions:"; + } + leaf sw-det-tx-policing-drops { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Policing Drops:"; + } + leaf sw-det-txq-drops { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "Tx Queueing Drops:"; + } + leaf sw-det-rxtx-packets-64 { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 64:"; + } + leaf sw-det-rxtx-packets-65-127 { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 65-127:"; + } + leaf sw-det-rxtx-packets-128-255 { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 128-255:"; + } + leaf sw-det-rxtx-packets-256-511 { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 256-511:"; + } + leaf sw-det-rxtx-packets-512-1023 { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 512-1023:"; + } + leaf sw-det-rxtx-packets-1024-max { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:alt-name "RxTx Packets 1024-Max:"; + } + } + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_statistics"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary.yang new file mode 100644 index 0000000..df7683f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary.yang @@ -0,0 +1,148 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-summary { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-summary"; + prefix esdma_summary; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch summary' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-summary-group { + container summary { + tailf:info "Show summary switch status"; + tailf:callpoint "esdma_switch_summary_data"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch summary status"; + tailf:cli-suppress-table; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-show-template "$(port-iter|show)"; + tailf:cli-full-command; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf serial-num { + type string; + description + "Rack serial number"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + list port-iter { + key "port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "Rack Card Switch Rack Serial Number + -------------------------------------- + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) $(../serial-num|ljust:18) + "; + tailf:cli-enforce-table; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + tailf:display-column-name "Port"; + } + leaf phys-state { + type esdma_types:esdma-switch-port-state; + description + "Physical port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Phys State"; + tailf:alt-name "Physical port state:"; + } + leaf admin-state { + type esdma_types:esdma-switch-port-state; + description + "Administrative port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Admin State"; + tailf:alt-name "Administrative port state:"; + } + leaf port-speed { + type string; + description + "Indicates the port speed in bits per second"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Port Speed"; + tailf:alt-name "Port speed:"; + } + leaf protocol-state { + type esdma_types:mlap-state-enum; + description + "Protocol invoked port state"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Protocol State"; + tailf:alt-name "Port protocol state:"; + } + leaf forwarding { + type esdma_types:switch-forwarding-state; + description + "Indicates whether this port is allowed to forward traffic"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Forward State"; + tailf:alt-name "Forwarding state:"; + } + leaf connects-to { + type string; + description + "Indicates what this port connects to"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-preformatted; + tailf:display-column-name "Connects To"; + tailf:alt-name "Connects to:"; + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_summary"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace.yang new file mode 100644 index 0000000..ceb6fe7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace.yang @@ -0,0 +1,71 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-trace { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trace"; + prefix esdma_trace; + + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch trace' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping esd-ctrace { + container esd { + uses show_trace:traceable_process; + } + } + + grouping esd-ctrace-ncs5500 { + container trace { + list location { + key "location_str"; + leaf location_str { + type string; + } + container esd { + uses show_trace:traceable_with_keypath_location; + } + container esd-EPC-SW { + uses show_trace:traceable_with_keypath_location; + } + container esd-EOBC-SW { + uses show_trace:traceable_with_keypath_location; + } + } + } + } + + grouping esdma-ctrace { + container esdma { + uses show_trace:traceable; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk.yang new file mode 100644 index 0000000..5872b6e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk.yang @@ -0,0 +1,117 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-trunk"; + prefix esdma_trunk; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch trunk' command. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + grouping switch-trunk-group { + container trunk { + tailf:callpoint "esdma_switch_trunk_summary"; + tailf:info "Display the switch trunk group information"; + list location { + key "rack card switch-id"; + tailf:info "Location information for switch trunk group information"; + tailf:cli-full-command; + tailf:cli-key-format "$(1)/$(2)/$(3)"; + tailf:cli-suppress-table; + tailf:cli-show-template "$(trunk-member-port-iter|show)"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + description + "Rack to display the switch trunk group information for"; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card to display the switch trunk group information for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type to display the switch trunk group information for"; + } + leaf trunk-member-count { + type uint32; + description + "Number of member ports in the trunk group"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf trunk-name { + type string; + description + "Name of the trunk group"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + list trunk-member-port-iter { + key "trunk-member-port"; + tailf:cli-drop-node-name; + tailf:cli-table-legend + "$(../trunk-name) Port Membership Information + + Rack Card Switch + ------------------ + $(../rack|ljust:4) $(../card|ljust:4) $(../switch-id|ljust:6) + "; + tailf:cli-enforce-table; + tailf:cli-table-footer + " + Total number of trunk group member ports: $(../trunk-member-count)"; + leaf trunk-member-port { + type uint32; + description + "Trunk Member Port"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Member Port"; + tailf:cli-value-display-template "$(.==255?-:$(.))"; + } + leaf trunk-member-status { + type esdma_types:esdma-trunk-member-status; + description + "Trunk Member Status"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Status"; + } + } + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_trunk"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-types.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-types.yang new file mode 100644 index 0000000..850d30f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-types.yang @@ -0,0 +1,698 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-types"; + prefix esdma_types; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the YANG enumerated type + definitions used by the Cisco IOS-XR SysAdmin + Control Ethernet commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-07-06 { + description + "Initial revision with content extracted from esdma_cli.yang."; + } + + typedef esdma-rack-type-enum { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-rack-type-unknown"; + } + enum "FCC" { + tailf:code-name "esdma-rack-type-fcc"; + } + enum "LCC" { + tailf:code-name "esdma-rack-type-lcc"; + } + enum "BSC" { + tailf:code-name "esdma-rack-type-bsc"; + } + } + description + "The valid chassis types supported supported in Sysadmin."; + } + + typedef esdma-rack-num-enum { + type enumeration { + enum "0" { + tailf:code-name "esdma-rack-num-L0"; + } + enum "1" { + tailf:code-name "esdma-rack-num-L1"; + } + enum "2" { + tailf:code-name "esdma-rack-num-L2"; + } + enum "3" { + tailf:code-name "esdma-rack-num-L3"; + } + enum "4" { + tailf:code-name "esdma-rack-num-L4"; + } + enum "5" { + tailf:code-name "esdma-rack-num-L5"; + } + enum "6" { + tailf:code-name "esdma-rack-num-L6"; + } + enum "7" { + tailf:code-name "esdma-rack-num-L7"; + } + enum "8" { + tailf:code-name "esdma-rack-num-L8"; + } + enum "9" { + tailf:code-name "esdma-rack-num-L9"; + } + enum "10" { + tailf:code-name "esdma-rack-num-L10"; + } + enum "11" { + tailf:code-name "esdma-rack-num-L11"; + } + enum "12" { + tailf:code-name "esdma-rack-num-L12"; + } + enum "13" { + tailf:code-name "esdma-rack-num-L13"; + } + enum "14" { + tailf:code-name "esdma-rack-num-L14"; + } + enum "15" { + tailf:code-name "esdma-rack-num-L15"; + } + enum "F0" { + tailf:code-name "esdma-rack-num-F0"; + } + enum "F1" { + tailf:code-name "esdma-rack-num-F1"; + } + enum "F2" { + tailf:code-name "esdma-rack-num-F2"; + } + enum "F3" { + tailf:code-name "esdma-rack-num-F3"; + } + } + description + "The valid rack numbers supported in Sysadmin."; + } + + typedef esdma-cpu { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-cpu-unknown"; + } + enum "RP0" { + tailf:code-name "esdma-cpu-rp0"; + } + enum "RP1" { + tailf:code-name "esdma-cpu-rp1"; + } + enum "SC0" { + tailf:code-name "esdma-cpu-sc0"; + } + enum "SC1" { + tailf:code-name "esdma-cpu-sc1"; + } + enum "LC0" { + tailf:code-name "esdma-cpu-lc0"; + } + enum "LC1" { + tailf:code-name "esdma-cpu-lc1"; + } + enum "LC2" { + tailf:code-name "esdma-cpu-lc2"; + } + enum "LC3" { + tailf:code-name "esdma-cpu-lc3"; + } + enum "LC4" { + tailf:code-name "esdma-cpu-lc4"; + } + enum "LC5" { + tailf:code-name "esdma-cpu-lc5"; + } + enum "LC6" { + tailf:code-name "esdma-cpu-lc6"; + } + enum "LC7" { + tailf:code-name "esdma-cpu-lc7"; + } + enum "LC8" { + tailf:code-name "esdma-cpu-lc8"; + } + enum "LC9" { + tailf:code-name "esdma-cpu-lc9"; + } + enum "LC10" { + tailf:code-name "esdma-cpu-lc10"; + } + enum "LC11" { + tailf:code-name "esdma-cpu-lc11"; + } + enum "LC12" { + tailf:code-name "esdma-cpu-lc12"; + } + enum "LC13" { + tailf:code-name "esdma-cpu-lc13"; + } + enum "LC14" { + tailf:code-name "esdma-cpu-lc14"; + } + enum "LC15" { + tailf:code-name "esdma-cpu-lc15"; + } + enum "LC16" { + tailf:code-name "esdma-cpu-lc16"; + } + enum "LC17" { + tailf:code-name "esdma-cpu-lc17"; + } + enum "LC18" { + tailf:code-name "esdma-cpu-lc18"; + } + enum "LC19" { + tailf:code-name "esdma-cpu-lc19"; + } + enum "FC0" { + tailf:code-name "esdma-cpu-fc0"; + } + enum "FC1" { + tailf:code-name "esdma-cpu-fc1"; + } + enum "FC2" { + tailf:code-name "esdma-cpu-fc2"; + } + enum "FC3" { + tailf:code-name "esdma-cpu-fc3"; + } + enum "FC4" { + tailf:code-name "esdma-cpu-fc4"; + } + enum "FC5" { + tailf:code-name "esdma-cpu-fc5"; + } + } + description + "The set of CPU enumerations that have control plane Ethernet switches or run the MLAP protocol."; + } + + typedef esdma-switch-type-enum { + type enumeration { + enum "RP-SW" { + tailf:code-name "esdma-switch_type-rp-sw"; + } + enum "SC-SW" { + tailf:code-name "esdma-switch_type-sc-sw"; + } + enum "LC-SW" { + tailf:code-name "esdma-switch_type-lc-sw"; + } + enum "F-SW0" { + tailf:code-name "esdma-switch_type-f-sw0"; + } + enum "F-SW1" { + tailf:code-name "esdma-switch_type-f-sw1"; + } + enum "FC-SW" { + tailf:code-name "esdma-switch_type-fc-sw"; + } + enum "EOBC-SW" { + tailf:code-name "esdma-switch_type-eobc-sw"; + } + enum "EPC-SW" { + tailf:code-name "esdma-switch_type-epc-sw"; + } + enum "Unknown" { + tailf:code-name "esdma-switch_type-unknown"; + } + } + description + "The list of Ethernet switch types"; + } + + typedef esdma-switch-yes-no-enum { + type enumeration { + enum "Yes" { + tailf:code-name "esdma-switch-yes"; + } + enum "No" { + tailf:code-name "esdma-switch-no"; + } + } + } + + typedef esdma-switch-sfp-inserted-enum { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-switch-sfp-inserted-unknown"; + } + enum "Yes" { + tailf:code-name "esdma-switch-sfp-inserted-yes"; + } + enum "No" { + tailf:code-name "esdma-switch-sfp-inserted-no"; + } + enum "Failed" { + tailf:code-name "esdma-switch-sfp-inserted-failed"; + } + } + } + + typedef esdma-switch-sfp-controller-enum { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-sfp-ctrlr-unknown"; + } + enum "Switch" { + tailf:code-name "esdma-sfp-ctrlr-switch"; + } + enum "PHY" { + tailf:code-name "esdma-sfp-ctrlr-phy"; + } + } + } + + typedef esdma-switch-sfp-tranceiver-type-enum { + type enumeration { + enum "Unspecified" { + tailf:code-name "esdma-sfp-xceiver-type-unspecified"; + } + enum "SFP" { + tailf:code-name "esdma-sfp-xceiver-type-sfp"; + } + enum "QSFP" { + tailf:code-name "esdma-sfp-xceiver-type-qsfp"; + } + enum "Unknown" { + tailf:code-name "esdma-sfp-xceiver-type-unknown"; + } + } + } + + typedef esdma-sfp-encoding-enum { + type enumeration { + enum "Unspecified" { + tailf:code-name "esdma-sfp-encoding-unspecified"; + } + enum "8B/10B" { + tailf:code-name "esdma-sfp-encoding-8b10b"; + } + enum "4B/5B" { + tailf:code-name "esdma-sfp-encoding-4b5b"; + } + enum "NRZ" { + tailf:code-name "esdma-sfp-encoding-nrz"; + } + enum "Manchester" { + tailf:code-name "esdma-sfp-encoding-manchester"; + } + enum "SONET Scrambled" { + tailf:code-name "esdma-sfp-encoding-sonet-scram"; + } + enum "64B/66B" { + tailf:code-name "esdma-sfp-encoding-64b66b"; + } + enum "Unknown" { + tailf:code-name "esdma-sfp-encoding-unknown"; + } + } + } + + typedef esdma-qsfp-transceiver-enum { + type enumeration { + enum "QSFP-40G-LR4" { + tailf:code-name "esdma-qsfp-transceiver-40g-lr4"; + } + enum "QSFP-40G-SR4" { + tailf:code-name "esdma-qsfp-transceiver-40g-sr4"; + } + enum "QSFP-40G-CR4-Active" { + tailf:code-name "esdma-qsfp-transceiver-40g-cr4-active"; + } + enum "QSFP-40G-CR4-Passive" { + tailf:code-name "esdma-qsfp-transceiver-40g-cr4-passive"; + } + enum "Unknown" { + tailf:code-name "esdma-qsfp-transceiver-unknown"; + } + } + } + + typedef esdma-switch-sfp-type-enum { + type enumeration { + enum "None" { + tailf:code-name "esdma-sfp-type-none"; + } + enum "SFP-10G-SR" { + tailf:code-name "esdma-sfp-type-10g-sr"; + } + enum "SFP-10G-LR" { + tailf:code-name "esdma-sfp-type-10g-lr"; + } + enum "SFP-10G-LRM" { + tailf:code-name "esdma-sfp-type-10g-lrm"; + } + enum "SFP-1G-SX" { + tailf:code-name "esdma-sfp-type-1g-sx"; + } + enum "SFP-1G-LX" { + tailf:code-name "esdma-sfp-type-1g-lx"; + } + enum "SFP-1000Base-T" { + tailf:code-name "esdma-sfp-type-1000b-t"; + } + enum "SFP-40G-SR4" { + tailf:code-name "esdma-sfp-type-40g-sr4"; + } + enum "SFP-40G-LR4" { + tailf:code-name "esdma-sfp-type-40g-lr4"; + } + enum "Unsupported" { + tailf:code-name "esdma-sfp-type-unsupported"; + } + } + } + + typedef esdma-switch-port-type { + type int32 { + range "0..127"; + } + description + "A type defining the allowable switch port numbers"; + } + + typedef esdma-switch-port-state { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-switch-port-state-unknown"; + } + enum "Test" { + tailf:code-name "esdma-switch-port-state-test"; + } + enum "Down" { + tailf:code-name "esdma-switch-port-state-down"; + } + enum "Up" { + tailf:code-name "esdma-switch-port-state-up"; + } + } + description + "The switch port up and down states"; + } + + typedef switch-forwarding-state { + type enumeration { + enum "Unknown" { + tailf:code-name "switch-forwarding-state-unknown"; + } + enum "-" { + tailf:code-name "switch-forwarding-state-not-applic"; + } + enum "Disabled" { + tailf:code-name "switch-forwarding-state-disabled"; + } + enum "Blocking" { + tailf:code-name "switch-forwarding-state-listen-block"; + } + enum "Learning" { + tailf:code-name "switch-forwarding-state-learning"; + } + enum "Forwarding" { + tailf:code-name "switch-forwarding-state-forwarding"; + } + } + description + "The set of switch port forwarding states"; + } + + typedef switch-traffic-class-enum { + type int8 { + range "-1..7"; + } + } + + typedef esdma-sdr-id { + type uint8; + } + + typedef esd-cir-eir-type { + type enumeration { + enum "CIR" { + tailf:code-name "switch-cir"; + } + enum "PIR" { + tailf:code-name "switch-pir"; + } + } + } + + typedef esd-percentage { + type uint8 { + range "0..100"; + } + } + + typedef mlap-ep-type { + type enumeration { + enum "Unknown" { + tailf:code-name "mlap-ep-type-unknown"; + } + enum "RP" { + tailf:code-name "mlap-ep-type-rp"; + } + enum "SC" { + tailf:code-name "mlap-ep-type-sc"; + } + enum "FC" { + tailf:code-name "mlap-ep-type-fc"; + } + enum "LC" { + tailf:code-name "mlap-ep-type-lc"; + } + enum "F-SW" { + tailf:code-name "mlap-ep-type-f-sw"; + } + } + } + + typedef mlap-state-enum { + type enumeration { + enum "-" { + tailf:code-name "mlap-state-enum-not-applic"; + } + enum "Down" { + tailf:code-name "mlap-state-enum-down"; + } + enum "Up" { + tailf:code-name "mlap-state-enum-up"; + } + enum "Admin Down" { + tailf:code-name "mlap-state-enum-admin-down"; + } + enum "Do Not Use" { + tailf:code-name "mlap-state-enum-do-not-use"; + } + enum "Invalid" { + tailf:code-name "mlap-state-enum-invalid"; + } + enum "Active" { + tailf:code-name "mlap-state-enum-active"; + } + enum "Standby" { + tailf:code-name "mlap-state-enum-standby"; + } + enum "Rem Managed" { + tailf:code-name "mlap-state-enum-rem-manage"; + } + } + description + "The set of enumerated values that MLAP uses to manage a port's protocol state"; + } + + typedef mlap-protocol-enum { + type enumeration { + enum "Internal" { + tailf:code-name "mlap-protocol-enum-internal"; + } + enum "External" { + tailf:code-name "mlap-protocol-enum-external"; + } + } + description + "The types of MLAP protocol"; + } + + typedef mlap-trace-verbosity { + type enumeration { + enum "Off" { + tailf:code-name "mlap-trace-verbosity-off"; + } + enum "Low" { + tailf:code-name "mlap-trace-verbosity-low"; + } + enum "Medium" { + tailf:code-name "mlap-trace-verbosity-medium"; + } + enum "High" { + tailf:code-name "mlap-trace-verbosity-high"; + } + } + } + + typedef vlan-id-type { + type uint16 { + range "0..4095"; + } + } + + typedef switch-data-direction-enum { + type enumeration { + enum "-" { + tailf:code-name "switch-data-direction-none"; + } + enum "Both" { + tailf:code-name "switch-data-direction-both"; + } + enum "Rx" { + tailf:code-name "switch-data-direction-rx"; + } + enum "Tx" { + tailf:code-name "switch-data-direction-tx"; + } + enum "Unknown" { + tailf:code-name "switch-data-direction-unknown"; + } + enum "Invalid" { + tailf:code-name "switch-data-direction-max"; + } + } + description + "Switch data direction"; + } + + typedef switch-table-type-enum { + type enumeration { + enum "-" { + tailf:code-name "switch-table-type-none"; + } + enum "Port" { + tailf:code-name "switch-table-type-port"; + } + enum "VLAN" { + tailf:code-name "switch-table-type-vlan"; + } + enum "TCAM" { + tailf:code-name "switch-table-type-tcam"; + } + enum "Unknown" { + tailf:code-name "switch-table-type-unknown"; + } + } + } + + typedef switch-match-type-enum { + type enumeration { + enum "-" { + tailf:code-name "switch-match-type-none"; + } + enum "Any" { + tailf:code-name "switch-match-type-any"; + } + enum "Tagged" { + tailf:code-name "switch-match-type-tagged"; + } + enum "Untagged" { + tailf:code-name "switch-match-type-untagged"; + } + enum "Unknown" { + tailf:code-name "switch-match-type-unknown"; + } + } + } + + typedef switch-action-type-enum { + type enumeration { + enum "-" { + tailf:code-name "switch-action-type-none"; + } + enum "Translate" { + tailf:code-name "switch-action-type-translate"; + } + enum "Remove Outer" { + tailf:code-name "switch-action-type-remove-outer"; + } + enum "Add Outer" { + tailf:code-name "switch-action-type-add-outer"; + } + enum "Drop" { + tailf:code-name "switch-action-type-drop"; + } + enum "Forward" { + tailf:code-name "switch-action-type-forward"; + } + enum "Unknown" { + tailf:code-name "switch-action-type-unknown"; + } + } + } + + typedef esdma-sdr-traffic-type { + type enumeration { + enum "Unknown" { + tailf:code-name "esdma-traffic-type-unknown"; + } + enum "IPC" { + tailf:code-name "esdma-traffic-type-ipc"; + } + enum "MgmtEth" { + tailf:code-name "esdma-traffic-type-mgmt"; + } + enum "All" { + tailf:code-name "esdma-traffic-type-all"; + } + enum "Invalid" { + tailf:code-name "esdma-traffic-type-max"; + } + } + } + + typedef esdma-trunk-member-status { + type enumeration { + enum "Disabled" { + tailf:code-name "esdma-trunk-member-status-disabled"; + } + enum "Enabled" { + tailf:code-name "esdma-trunk-member-status-enabled"; + } + enum "-" { + tailf:code-name "esdma-trunk-member-status-not-present"; + } + } + } + tailf:id "http://cisco.com/panini/calvados/esdma/esdma_types"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan.yang new file mode 100644 index 0000000..3c11a3f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan.yang @@ -0,0 +1,273 @@ +module Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-vlan"; + prefix esdma_vlan; + + import Cisco-IOS-XR-sysadmin-ethsw-esdma-types { + prefix esdma_types; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains the YANG definitions + for the Cisco IOS-XR SysAdmin + 'show controller switch vlan' commands. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping sdr-list-summary { + list sdr-id { + key "sdr"; + leaf sdr { + type esdma_types:esdma-sdr-id; + } + leaf esd-sdr-name { + type string; + } + list vlan-id { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + } + leaf vlan-hex { + type leafref { + path "../vlan"; + } + } + leaf vlan-use { + type string; + } + } + } + } + + grouping sdr-list { + list sdr-id { + key "sdr"; + leaf sdr { + type esdma_types:esdma-sdr-id; + } + leaf esd-sdr-name { + type string; + } + list vlan-id { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + } + leaf vlan-hex { + type leafref { + path "../vlan"; + } + } + leaf vlan-use { + type string; + } + } + } + } + + grouping vlan-information-group { + container information { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card to list the switch VLAN information for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + leaf serial-num { + type string; + description + "Rack serial number"; + } + uses sdr-list; + } + container summary { + uses sdr-list-summary; + } + } + } + + grouping vlan-rule-info { + list rule-id { + leaf direction { + type esdma_types:switch-data-direction-enum; + description + "Packet direction this rule applies to"; + } + leaf match-table { + type esdma_types:switch-table-type-enum; + } + leaf match-type { + type esdma_types:switch-match-type-enum; + } + leaf match-vlan-id { + type esdma_types:vlan-id-type; + } + leaf action { + type esdma_types:switch-action-type-enum; + } + leaf action-vlan-id { + type esdma_types:vlan-id-type; + } + } + } + + grouping vlan-detail-group { + container vlan-detail { + list vlan-id { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + } + container rules { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + } + uses vlan-rule-info; + } + } + } + } + } + } + + grouping vlan-summary-group { + container rules { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest to display the VLAN configuration for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list port-iter { + key "port"; + leaf port { + type esdma_types:esdma-switch-port-type; + description + "Switch port"; + } + list vlan-id { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + description + "This VLAN represents a VLAN membership for this switch port. Multiple rules may exist to support this VLAN."; + } + uses vlan-rule-info; + } + } + } + } + } + + grouping vlan-membership-group { + container membership { + list location { + key "rack card switch-id"; + leaf rack { + type esdma_types:esdma-rack-num-enum; + } + leaf card { + type esdma_types:esdma-cpu; + description + "Card that owns a switch of interest to display the VLAN configuration for"; + } + leaf switch-id { + type esdma_types:esdma-switch-type-enum; + description + "Switch type"; + } + list vlan-id { + key "vlan"; + leaf vlan { + type esdma_types:vlan-id-type; + } + leaf vlan-hex { + type leafref { + path "../vlan"; + } + } + leaf-list port { + type uint8; + } + } + } + } + } + + grouping switch-vlan-group { + container vlan { + uses vlan-summary-group; + uses vlan-information-group; + uses vlan-detail-group; + uses vlan-membership-group; + } + } + + grouping switch-vlan-group-ncs5500 { + container vlan { + uses vlan-information-group; + uses vlan-membership-group; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-external-usb.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-external-usb.yang new file mode 100644 index 0000000..9173d4c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-external-usb.yang @@ -0,0 +1,48 @@ +module Cisco-IOS-XR-sysadmin-external-usb { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-external-usb"; + prefix extusbconf; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'external-usb' commands for Sysadmin. + + Copyright(c) 2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-10 { + description + "Initial revision. Added config to disable"; + } + + container external-usb { + tailf:info "Config External USB"; + tailf:cli-incomplete-show-path; + container config { + config true; + tailf:cli-drop-node-name; + leaf disable { + type empty; + tailf:info "Disable external USB"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k.yang new file mode 100644 index 0000000..a0b2bd2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k.yang @@ -0,0 +1,952 @@ +module Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k"; + prefix fabric_cxp; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import tailf-xsd-types { + prefix xs; + } + + revision 2017-08-01 { + description + "Updated to display cxp2 firmware and eeprom version"; + } + revision 2017-06-19 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping dom_output { + list port { + key "cxp_port"; + tailf:info "CXP port number"; + tailf:cli-show-template-enter ""; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.legend_shown != true ?================================================================================ + \t\tCXP Digital Optical Monitor Information + ================================================================================ + )"; + tailf:cli-show-template + "$(show_port == true ?$(.legend_shown != true ?================================================================================ + \t\tCXP Digital Optical Monitor Information + ================================================================================ + )Location\\\\: $(cur_loc_str),\t CXP port number\\\\: $(cxp_port) + -------------------------------------------------------------------------------- + Connector description \t \\\\: $(dev_description) + Vendor Name \t\t \\\\: $(vendorname) + Cisco Part Number \t \\\\: $(partnumber) + Cisco Serial Number \t \\\\: $(serialnumber) + Cisco VID \t\t \\\\: $(vid) + Cisco PID \t\t \\\\: $(pid) + Cisco CLEI Code \t \\\\: $(clei_code_num) + Vendor Part Number \t \\\\: $(vendor_pn) + Vendor Serial Number \t \\\\: $(vendor_sn) + Vendor Date Code \t \\\\: $(ven_date_code) + Vendor Lot Code \t \\\\: $(ven_lot_code) + Vendor OUI IEEE COMPANY ID \\\\: 0x$(vendor_oui_ieee_company_id |hex) + $(cxp2_display == true ?Eeprom Revision \t \\\\: 0x$(eeprom_rev_num |hex) + Firmware Revision \t \\\\: 0x$(firmware_rev_num |hex) + )Vendor Revision Number \t \\\\: $(vendor_rev_num) + -------------------------------------------------------------------------------- + Tx Temperature Reading \t\\\\:$(TX_temp_rd |floatformat:2) Celsius \tTx Temperature Alarm \\\\:$(TX_temp_sts) Set + Tx Voltage Reading \t\\\\:$(TX_volt_rd|floatformat:2)mV\tTx Voltage Alarm \\\\:$(TX_volt_sts) Set + +-----------------------------------------------------------------------------+ + | Channel | Channel | FAULT | Signal | Optical Power | + | Number. | Status | Status | Strength | Alarm | + +-----------------------------------------------------------------------------+ + | Tx Ch 0\\\\: | $(tx_chn_sts0|ljust:10) | $(tx_fault0|ljust:11)| $(tx_los0|ljust:18)| $(tx_opt_pw_alm0|ljust:17)| + | Tx Ch 1\\\\: | $(tx_chn_sts1|ljust:10) | $(tx_fault1|ljust:11)| $(tx_los1|ljust:18)| $(tx_opt_pw_alm1|ljust:17)| + | Tx Ch 2\\\\: | $(tx_chn_sts2|ljust:10) | $(tx_fault2|ljust:11)| $(tx_los2|ljust:18)| $(tx_opt_pw_alm2|ljust:17)| + | Tx Ch 3\\\\: | $(tx_chn_sts3|ljust:10) | $(tx_fault3|ljust:11)| $(tx_los3|ljust:18)| $(tx_opt_pw_alm3|ljust:17)| + | Tx Ch 4\\\\: | $(tx_chn_sts4|ljust:10) | $(tx_fault4|ljust:11)| $(tx_los4|ljust:18)| $(tx_opt_pw_alm4|ljust:17)| + | Tx Ch 5\\\\: | $(tx_chn_sts5|ljust:10) | $(tx_fault5|ljust:11)| $(tx_los5|ljust:18)| $(tx_opt_pw_alm5|ljust:17)| + | Tx Ch 6\\\\: | $(tx_chn_sts6|ljust:10) | $(tx_fault6|ljust:11)| $(tx_los6|ljust:18)| $(tx_opt_pw_alm6|ljust:17)| + | Tx Ch 7\\\\: | $(tx_chn_sts7|ljust:10) | $(tx_fault7|ljust:11)| $(tx_los7|ljust:18)| $(tx_opt_pw_alm7|ljust:17)| + | Tx Ch 8\\\\: | $(tx_chn_sts8|ljust:10) | $(tx_fault8|ljust:11)| $(tx_los8|ljust:18)| $(tx_opt_pw_alm8|ljust:17)| + | Tx Ch 9\\\\: | $(tx_chn_sts9|ljust:10) | $(tx_fault9|ljust:11)| $(tx_los9|ljust:18)| $(tx_opt_pw_alm9|ljust:17)| + | Tx Ch 10\\\\:| $(tx_chn_sts10|ljust:10) | $(tx_fault10|ljust:11)| $(tx_los10|ljust:18)| $(tx_opt_pw_alm10|ljust:17)| + | Tx Ch 11\\\\:| $(tx_chn_sts11|ljust:10) | $(tx_fault11|ljust:11)| $(tx_los11|ljust:18)| $(tx_opt_pw_alm11|ljust:17)| + +-----------------------------------------------------------------------------+ + + +--------------------------------------------------------------------------+ + | Channel | Optical Light | Bias . | Optical Bias | + | Number. | Output | Current | Alarm | + +--------------------------------------------------------------------------+ + | Tx Ch 0\\\\: | $(tx_light_op_dBm0|ljust:25)| $(tx_bias_cur0|floatformat:3) mA | $(tx_opt_bs_alm0|ljust:15) | + | Tx Ch 1\\\\: | $(tx_light_op_dBm1|ljust:25)| $(tx_bias_cur1|floatformat:3) mA | $(tx_opt_bs_alm1|ljust:15) | + | Tx Ch 2\\\\: | $(tx_light_op_dBm2|ljust:25)| $(tx_bias_cur2|floatformat:3) mA | $(tx_opt_bs_alm2|ljust:15) | + | Tx Ch 3\\\\: | $(tx_light_op_dBm3|ljust:25)| $(tx_bias_cur3|floatformat:3) mA | $(tx_opt_bs_alm3|ljust:15) | + | Tx Ch 4\\\\: | $(tx_light_op_dBm4|ljust:25)| $(tx_bias_cur4|floatformat:3) mA | $(tx_opt_bs_alm4|ljust:15) | + | Tx Ch 5\\\\: | $(tx_light_op_dBm5|ljust:25)| $(tx_bias_cur5|floatformat:3) mA | $(tx_opt_bs_alm5|ljust:15) | + | Tx Ch 6\\\\: | $(tx_light_op_dBm6|ljust:25)| $(tx_bias_cur6|floatformat:3) mA | $(tx_opt_bs_alm6|ljust:15) | + | Tx Ch 7\\\\: | $(tx_light_op_dBm7|ljust:25)| $(tx_bias_cur7|floatformat:3) mA | $(tx_opt_bs_alm7|ljust:15) | + | Tx Ch 8\\\\: | $(tx_light_op_dBm8|ljust:25)| $(tx_bias_cur8|floatformat:3) mA | $(tx_opt_bs_alm8|ljust:15) | + | Tx Ch 9\\\\: | $(tx_light_op_dBm9|ljust:25)| $(tx_bias_cur9|floatformat:3) mA | $(tx_opt_bs_alm9|ljust:15) | + | Tx Ch 10\\\\:| $(tx_light_op_dBm10|ljust:25)| $(tx_bias_cur10|floatformat:3) mA | $(tx_opt_bs_alm10|ljust:15) | + | Tx Ch 11\\\\:| $(tx_light_op_dBm11|ljust:25)| $(tx_bias_cur11|floatformat:3) mA | $(tx_opt_bs_alm11|ljust:15) | + +--------------------------------------------------------------------------+ + Rx Temperature Reading \t\\\\:$(RX_temp_rd|floatformat:2) Celsius\tRx Temperature Alarm \\\\:$(RX_temp_sts) Set + Rx Voltage Reading \t\\\\:$(RX_volt_rd|floatformat:2) mV \tRx Voltage Alarm \\\\:$(RX_volt_sts) Set + +------------------------------------------------------------------------------+ + | Channel | Channel | Signal . |Optical Power| Optical Light | + | Number. | Status | Strength | Alarm | Input | + +------------------------------------------------------------------------------+ + | Rx Ch 0\\\\: | $(rx_chn_sts0|ljust:11)| $(rx_los0|ljust:17)| $(rx_opt_pw_alm0|ljust:10)| $(rx_light_in_dBm0|ljust:19) | + | Rx Ch 1\\\\: | $(rx_chn_sts1|ljust:11)| $(rx_los1|ljust:17)| $(rx_opt_pw_alm1|ljust:10)| $(rx_light_in_dBm1|ljust:19) | + | Rx Ch 2\\\\: | $(rx_chn_sts2|ljust:11)| $(rx_los2|ljust:17)| $(rx_opt_pw_alm2|ljust:10)| $(rx_light_in_dBm2|ljust:19) | + | Rx Ch 3\\\\: | $(rx_chn_sts3|ljust:11)| $(rx_los3|ljust:17)| $(rx_opt_pw_alm3|ljust:10)| $(rx_light_in_dBm3|ljust:19) | + | Rx Ch 4\\\\: | $(rx_chn_sts4|ljust:11)| $(rx_los4|ljust:17)| $(rx_opt_pw_alm4|ljust:10)| $(rx_light_in_dBm4|ljust:19) | + | Rx Ch 5\\\\: | $(rx_chn_sts5|ljust:11)| $(rx_los5|ljust:17)| $(rx_opt_pw_alm5|ljust:10)| $(rx_light_in_dBm5|ljust:19) | + | Rx Ch 6\\\\: | $(rx_chn_sts6|ljust:11)| $(rx_los6|ljust:17)| $(rx_opt_pw_alm6|ljust:10)| $(rx_light_in_dBm6|ljust:19) | + | Rx Ch 7\\\\: | $(rx_chn_sts7|ljust:11)| $(rx_los7|ljust:17)| $(rx_opt_pw_alm7|ljust:10)| $(rx_light_in_dBm7|ljust:19) | + | Rx Ch 8\\\\: | $(rx_chn_sts8|ljust:11)| $(rx_los8|ljust:17)| $(rx_opt_pw_alm8|ljust:10)| $(rx_light_in_dBm8|ljust:19) | + | Rx Ch 9\\\\: | $(rx_chn_sts9|ljust:11)| $(rx_los9|ljust:17)| $(rx_opt_pw_alm9|ljust:10)| $(rx_light_in_dBm9|ljust:19) | + | Rx Ch 10\\\\:| $(rx_chn_sts10|ljust:11)| $(rx_los10|ljust:17)| $(rx_opt_pw_alm10|ljust:10)| $(rx_light_in_dBm10|ljust:19) | + | Rx Ch 11\\\\:| $(rx_chn_sts11|ljust:11)| $(rx_los11|ljust:17)| $(rx_opt_pw_alm11|ljust:10)| $(rx_light_in_dBm11|ljust:19) | + +------------------------------------------------------------------------------+ + + :CXP not present. + )"; + leaf show_port { + type boolean; + tailf:hidden "internal"; + } + leaf cxp2_display { + type boolean; + tailf:hidden "internal"; + } + leaf rack_num { + type uint32; + tailf:hidden "internal"; + } + leaf slot_num { + type uint32; + tailf:hidden "internal"; + } + leaf cxp_port { + type fabric-types:cxp_port_type; + } + leaf cur_loc_str { + type string; + tailf:hidden "internal"; + } + leaf vendorname { + type string; + tailf:hidden "internal"; + } + leaf partnumber { + type string; + tailf:hidden "internal"; + } + leaf serialnumber { + type string; + tailf:hidden "internal"; + } + leaf vid { + type string; + tailf:hidden "internal"; + } + leaf pid { + type string; + tailf:hidden "internal"; + } + leaf vendor_rev_num { + type uint32; + tailf:hidden "internal"; + } + leaf vendor_pn { + type string; + tailf:hidden "internal"; + } + leaf vendor_sn { + type string; + tailf:hidden "internal"; + } + leaf dev_description { + type string; + tailf:hidden "internal"; + } + leaf clei_code_num { + type string; + tailf:hidden "internal"; + } + leaf ven_date_code { + type string; + tailf:hidden "internal"; + } + leaf ven_lot_code { + type string; + tailf:hidden "internal"; + } + leaf vendor_oui_ieee_company_id { + type uint32; + tailf:hidden "internal"; + } + leaf eeprom_rev_num { + type uint32; + tailf:hidden "internal"; + } + leaf firmware_rev_num { + type uint32; + tailf:hidden "internal"; + } + leaf TX_temp_rd { + type xs:float; + tailf:hidden "internal"; + } + leaf TX_temp_sts { + type string; + tailf:hidden "internal"; + } + leaf TX_volt_sts { + type string; + tailf:hidden "internal"; + } + leaf TX_volt_rd { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_chn_sts0 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts1 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts2 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts3 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts4 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts5 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts6 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts7 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts8 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts9 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts10 { + type string; + tailf:hidden "internal"; + } + leaf tx_chn_sts11 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault0 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault1 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault2 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault3 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault4 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault5 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault6 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault7 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault8 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault9 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault10 { + type string; + tailf:hidden "internal"; + } + leaf tx_fault11 { + type string; + tailf:hidden "internal"; + } + leaf tx_bias_cur0 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur1 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur2 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur3 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur4 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur5 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur6 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur7 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur8 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur9 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur10 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_bias_cur11 { + type xs:float; + tailf:hidden "internal"; + } + leaf tx_los0 { + type string; + tailf:hidden "internal"; + } + leaf tx_los1 { + type string; + tailf:hidden "internal"; + } + leaf tx_los2 { + type string; + tailf:hidden "internal"; + } + leaf tx_los3 { + type string; + tailf:hidden "internal"; + } + leaf tx_los4 { + type string; + tailf:hidden "internal"; + } + leaf tx_los5 { + type string; + tailf:hidden "internal"; + } + leaf tx_los6 { + type string; + tailf:hidden "internal"; + } + leaf tx_los7 { + type string; + tailf:hidden "internal"; + } + leaf tx_los8 { + type string; + tailf:hidden "internal"; + } + leaf tx_los9 { + type string; + tailf:hidden "internal"; + } + leaf tx_los10 { + type string; + tailf:hidden "internal"; + } + leaf tx_los11 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm0 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm1 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm2 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm3 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm4 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm5 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm6 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm7 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm8 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm9 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm10 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_pw_alm11 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm0 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm1 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm2 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm3 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm4 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm5 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm6 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm7 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm8 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm9 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm10 { + type string; + tailf:hidden "internal"; + } + leaf tx_opt_bs_alm11 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm0 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm1 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm2 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm3 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm4 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm5 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm6 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm7 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm8 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm9 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm10 { + type string; + tailf:hidden "internal"; + } + leaf tx_light_op_dBm11 { + type string; + tailf:hidden "internal"; + } + leaf RX_temp_rd { + type xs:float; + tailf:hidden "internal"; + } + leaf RX_temp_sts { + type string; + tailf:hidden "internal"; + } + leaf RX_volt_sts { + type string; + tailf:hidden "internal"; + } + leaf RX_volt_rd { + type xs:float; + tailf:hidden "internal"; + } + leaf rx_chn_sts0 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts1 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts2 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts3 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts4 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts5 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts6 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts7 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts8 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts9 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts10 { + type string; + tailf:hidden "internal"; + } + leaf rx_chn_sts11 { + type string; + tailf:hidden "internal"; + } + leaf rx_los0 { + type string; + tailf:hidden "internal"; + } + leaf rx_los1 { + type string; + tailf:hidden "internal"; + } + leaf rx_los2 { + type string; + tailf:hidden "internal"; + } + leaf rx_los3 { + type string; + tailf:hidden "internal"; + } + leaf rx_los4 { + type string; + tailf:hidden "internal"; + } + leaf rx_los5 { + type string; + tailf:hidden "internal"; + } + leaf rx_los6 { + type string; + tailf:hidden "internal"; + } + leaf rx_los7 { + type string; + tailf:hidden "internal"; + } + leaf rx_los8 { + type string; + tailf:hidden "internal"; + } + leaf rx_los9 { + type string; + tailf:hidden "internal"; + } + leaf rx_los10 { + type string; + tailf:hidden "internal"; + } + leaf rx_los11 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm0 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm1 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm2 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm3 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm4 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm5 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm6 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm7 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm8 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm9 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm10 { + type string; + tailf:hidden "internal"; + } + leaf rx_opt_pw_alm11 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm0 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm1 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm2 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm3 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm4 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm5 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm6 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm7 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm8 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm9 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm10 { + type string; + tailf:hidden "internal"; + } + leaf rx_light_in_dBm11 { + type string; + tailf:hidden "internal"; + } + } + } + + grouping fc_cxp_port_rack_summary { + list split_tbl_flag { + key "tbl_splt"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "$(.legend_shown != true ?========================================================================== + \t Fabric side CXP Port Initialization Status Summary + ========================================================================== + )"; + leaf tbl_splt { + type uint32; + } + list smry_per_slot { + key "slot_no"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(row_cxp_1 == true ?Active functional role of the Rack [R/S] \\\\: $(func_rack_name) + \t. - CXP is not present + \tp - CXP is not powered + \tI - CXP is not Initialized + \tU - CXP is not Supported + \tT - One or more Tx channel is disabled on the CXP + \tR - One or more Rx channel is disabled on the CXP + \tG - CXP is Initialized properly + + \t Maximum CXP port number [0-$(max_cxp)] per slot + +--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + | Slot | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |10 |11 |12 |13 |14 |15 | + +--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + )$(tbl_splt_flag == false ?| $(fc_loc_str|ljust:7)|$(cxp_sts_0|ljust:3)|$(cxp_sts_1|ljust:3)|$(cxp_sts_2|ljust:3)|$(cxp_sts_3|ljust:3)|$(cxp_sts_4|ljust:3)|$(cxp_sts_5|ljust:3)|$(cxp_sts_6|ljust:3)|$(cxp_sts_7|ljust:3)|$(cxp_sts_8|ljust:3)|$(cxp_sts_9|ljust:3)|$(cxp_sts_10|ljust:3)|$(cxp_sts_11|ljust:3)|$(cxp_sts_12|ljust:3)|$(cxp_sts_13|ljust:3)|$(cxp_sts_14|ljust:3)|$(cxp_sts_15|ljust:3)| + +--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + :$(row_cxp_2 == true ?+--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + | Slot |16 |17 |18 |19 |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |30 |31 | + +--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + )| $(fc_loc_str|ljust:7)|$(cxp_sts_0|ljust:3)|$(cxp_sts_1|ljust:3)|$(cxp_sts_2|ljust:3)|$(cxp_sts_3|ljust:3)|$(cxp_sts_4|ljust:3)|$(cxp_sts_5|ljust:3)|$(cxp_sts_6|ljust:3)|$(cxp_sts_7|ljust:3)|$(cxp_sts_8|ljust:3)|$(cxp_sts_9|ljust:3)|$(cxp_sts_10|ljust:3)|$(cxp_sts_11|ljust:3)|$(cxp_sts_12|ljust:3)|$(cxp_sts_13|ljust:3)|$(cxp_sts_14|ljust:3)|$(cxp_sts_15|ljust:3)| + +--------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ + )"; + leaf func_rack_name { + type string; + tailf:hidden "internal"; + } + leaf max_cxp { + type uint32; + tailf:hidden "internal"; + } + leaf row_cxp_1 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf row_cxp_2 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf slot_row { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf tbl_splt_flag { + type boolean; + tailf:hidden "internal"; + } + leaf slot_no { + type uint32; + } + leaf cxp_port_no { + type uint32; + tailf:hidden "internal"; + } + leaf fc_loc_str { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_0 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_1 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_2 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_3 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_4 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_5 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_6 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_7 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_8 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_9 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_10 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_11 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_12 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_13 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_14 { + type string; + tailf:hidden "internal"; + } + leaf cxp_sts_15 { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fc_cxp_dom { + container cxp { + tailf:info "Fabric card CXP optics information"; + tailf:cli-incomplete-show-path; + container dom { + tailf:callpoint "fc_cxp_optics_dom_cp"; + tailf:info "CXP optic DOM data"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:cli-incomplete-show-path; + tailf:cli-suppress-table; + leaf loc_str { + type string; + } + leaf description { + type string; + default "location (R/S)"; + } + uses dom_output; + } + } + container summary { + tailf:callpoint "fc_cxp_port_summary_cp"; + tailf:cli-incomplete-show-path; + tailf:hidden "internal-command"; + tailf:info "CXP Port Status Summary"; + list rack { + key "rack_str"; + tailf:cli-suppress-table; + leaf rack_str { + type string; + } + leaf description { + type string; + default "Rack No."; + } + uses fc_cxp_port_rack_summary; + } + } + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/cxp"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-driver-sfe.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-driver-sfe.yang new file mode 100644 index 0000000..a4aa29e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-driver-sfe.yang @@ -0,0 +1,3430 @@ +module Cisco-IOS-XR-sysadmin-fabric-driver-sfe { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-driver-sfe"; + prefix fabric_sfe; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping sfe_drvr_info { + list drvr_info { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "$(.legend_shown != true ? + ========================================================================= + SFE Driver information + ========================================================================= + )"; + tailf:cli-show-template + " + Driver Version: $(drv_version) ($(coeff_major_rev).$(coeff_minor_rev)) + + Functional role: $(func_role), ISSU role: $(issu_role) + Rack\\\\: $(rack_name), Type\\\\: $(rack_type), Number\\\\: $(rack_num), IP Address: $(ip_address) + Startup time : $(startup_time) + Availability Masks : + Card\\\\: 0x$(card_avail_mask|hex) Asic\\\\: 0x$(asic_avail_mask|hex) Exp Asic\\\\: 0x$(exp_asic_avail_mask|hex) + Unicast/Multicast (ratio) \\\\: $(ucmc_ratio) + +----------------------------------------------------------------+ + |Process | Connection | Registration| Connection | DLL | + |/Lib | status | status | requests | registration | + +----------------------------------------------------------------+ + | PM | $($(pm_conn_active == true ? Active : Inactive)|ljust:11)| $( n/a|ljust:12)| $(num_pm_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | PL-LOCAL| $($(platform_local_conn_active == true ? Active : Inactive)|ljust:11)| $($(platform_local_reg_active == true ? Active : Inactive)|ljust:12)| $(num_platform_local_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | FSDB | $($(fsdb_conn_active == true ? Active : Inactive)|ljust:11)| $($(fsdb_reg_active == true ? Active : Inactive)|ljust:12)| $(num_fsdb_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | FGID | $($(fgid_conn_active == true ? Active : Inactive)|ljust:11)| $($(fgid_reg_active == true ? Active : Inactive)|ljust:12)| $(num_fgid_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | CM | $($(cm_conn_active == true ? Active : Inactive)|ljust:11)| $($(cm_reg_active == true ? Active : Inactive)|ljust:12)| $(num_cm_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | CCC | $($(ccc_conn_active == true ? Active : Inactive)|ljust:11)| $( n/a|ljust:12)| $(num_ccc_conn_reqs|rjust:11)| $( n/a|ljust:13)| + | GASPP | $( n/a|ljust:11)| $( n/a|ljust:12)| $( n/a|rjust:11)| $($(is_gaspp_registered == true ? Yes : No)|ljust:13)| + | CIH | $( n/a|ljust:11)| $( n/a|ljust:12)| $( n/a|rjust:11)| $($(is_cih_registered == true ? Yes : No)|ljust:13)| + +----------------------------------------------------------------+ + + Asics \\\\: + HP - HotPlug event, PON - Power ON reset, WB - Warm Boot, A - All + HR - Hard Reset, DC - Disconnect signal, DL - DownLoad + +---------------------------------------------------------------------------+ + | Asic inst.|card|HP|Asic| Admin|plane| Fgid| Asic State |DC| Last |PON|HR | + | (R/S/A\\\\) |pwrd| |type| /Oper|/grp | DL | | | init |(#\\\\)|(#\\\\)| + +---------------------------------------------------------------------------+ + $(asic_list|show)+---------------------------------------------------------------------------+ + "; + leaf idx { + type int32; + } + leaf drv_version { + type uint32; + tailf:hidden "internal"; + } + leaf coeff_major_rev { + type uint32; + tailf:hidden "internal"; + } + leaf coeff_minor_rev { + type uint32; + tailf:hidden "internal"; + } + leaf func_role { + type string; + tailf:hidden "internal"; + } + leaf issu_role { + type string; + tailf:hidden "internal"; + } + leaf rack_name { + type string; + tailf:hidden "internal"; + } + leaf rack_type { + type string; + tailf:hidden "internal"; + } + leaf rack_num { + type string; + tailf:hidden "internal"; + } + leaf ip_address { + type string; + tailf:hidden "internal"; + } + leaf card_avail_mask { + type uint32; + tailf:hidden "internal"; + } + leaf asic_avail_mask { + type uint64; + tailf:hidden "internal"; + } + leaf exp_asic_avail_mask { + type uint64; + tailf:hidden "internal"; + } + leaf ucmc_ratio { + type uint32; + tailf:hidden "internal"; + } + leaf pm_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf platform_local_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf fsdb_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf fgid_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf cm_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf ccc_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf issu_mgr_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf peer_sfe_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf cxp_conn_active { + type boolean; + tailf:hidden "internal"; + } + leaf pm_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf platform_local_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf fsdb_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf fgid_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf cm_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf issu_mgr_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf peer_sfe_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf cxp_reg_active { + type boolean; + tailf:hidden "internal"; + } + leaf num_pm_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_platform_local_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_fsdb_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_fgid_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_fstats_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_cm_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_ccc_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_issu_mgr_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_peer_sfe_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf num_cxp_conn_reqs { + type uint8; + tailf:hidden "internal"; + } + leaf is_gaspp_registered { + type boolean; + tailf:hidden "internal"; + } + leaf is_cih_registered { + type boolean; + tailf:hidden "internal"; + } + leaf startup_time { + type string; + tailf:hidden "internal"; + } + list asic_list { + key "asic_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "| $(asic_instance|ljust:10)| $(card_powered|ljust:3)| $(hotplug_event|ljust:1)|$(asic_type|rjust:4)| $(admin-state|ljust:2)/$(oper_state|ljust:2)|$(fab_plane|rjust:2)/$(fab_group|ljust:2)|$(fgid_download|rjust:5)| $(asic_state|ljust:11)|$(asic_disconnect_signal|rjust:2)| $(last_init_cause|ljust:6)|$(num_pon_resets|rjust:3)|$(num_hard_resets|rjust:3)|\n"; + leaf asic_idx { + type uint32; + } + leaf asic_instance { + type string; + tailf:hidden "internal"; + } + leaf card_present { + type string; + tailf:hidden "internal"; + } + leaf card_powered { + type string; + tailf:hidden "internal"; + } + leaf hotplug_event { + type uint32; + tailf:hidden "internal"; + } + leaf asic_type { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf fab_plane { + type string; + tailf:hidden "internal"; + } + leaf fab_group { + type string; + tailf:hidden "internal"; + } + leaf fgid_download { + type string; + tailf:hidden "internal"; + } + leaf asic_state { + type string; + tailf:hidden "internal"; + } + leaf asic_disconnect_signal { + type string; + tailf:hidden "internal"; + } + leaf last_init_cause { + type string; + tailf:hidden "internal"; + } + leaf num_pon_resets { + type uint32; + tailf:hidden "internal"; + } + leaf num_hard_resets { + type uint32; + tailf:hidden "internal"; + } + } + } + } + + grouping sfe_link_info_asic_instance { + list instance { + key "instance-id"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(is_show == true ?$(.path ~= rx ? $(.path ~= topo ? + -------------------------------------------------------------------------------- + Node ID\\\\: $(nodeid_str|ljust:12) Instance\\\\: $(instance-id) + + Flags\\\\: + A - Admin Down B - Bad link conn C - CRC error D - Power Down + E - Link not stEady F - Far end down G - Code Gro err I - Asic Down + L - No Sig Lock M - Misalign N - No FSDB info P - Plane Down + R - No Reach Cells S - Size error T - Invalid Topo U - Perm Shut + V - RcVr end rst W - FGID prog X - No CXP Z - No signal + -------------------------------------------------------------------------------- + Link ID Link Asic Plane EN/ Flags Far-End Far-End + Spd Stg. /Group Oper Link (FSDB\\\\) Link (HW\\\\) + (Gbps\\\\) Status + --------------------------------------------------------------------------------:$(.path ~= flap ? + -------------------------------------------------------------------------------- + Node ID\\\\: $(nodeid_str|ljust:12) Instance\\\\: $(instance-id) + $(.path ~= detail ? + Flags\\\\: + A - Admin Down B - Bad link conn C - CRC error D - Power Down + E - Link not stEady F - Far end down G - Code Gro err I - Asic Down + L - No Sig Lock M - Misalign N - No FSDB info P - Plane Down + R - No Reach Cells S - Size error T - Invalid Topo U - Perm Shut + V - RcVr end rst W - FGID prog X - No CXP Z - No signal + )-------------------------------------------------------------------------------- + Link ID Oper Link Admin + Status Errors Shuts + --------------------------------------------------------------------------------:$(.path ~= stats ? + -------------------------------------------------------------------------------- + Node ID\\\\: $(nodeid_str|ljust:12) Instance\\\\: $(instance-id) + -------------------------------------------------------------------------------- + $(.path ~= all ?Link ID Ctrl Data Data Re-Xmit Async + cells cells bytes FIFO Rate + :$(.path ~= ctrl ?Link ID Ctrl Dropped + cells rexmit ctrl + :Link ID Data Data CRC CE UCE + cells bytes errors + ))--------------------------------------------------------------------------------))):$(.path ~= stats ? + -------------------------------------------------------------------------------- + Node ID\\\\: $(nodeid_str|ljust:12) Instance\\\\: $(instance-id) + -------------------------------------------------------------------------------- + $(.path ~= all ?Link ID Ctrl Data Data Re-Xmit Async + cells cells bytes FIFO Rate + :$(.path ~= ctrl ?Link ID Ctrl + cells + :Link ID Data Data + cells bytes + ))--------------------------------------------------------------------------------: + -------------------------------------------------------------------------------- + Node ID\\\\: $(nodeid_str|ljust:12) Instance\\\\: $(instance-id) + $(.path ~= detail ? + Flags\\\\: + A - Admin Down B - Bad link conn C - CRC error D - Power Down + E - Link not stEady F - Far end down G - Code Gro err I - Asic Down + L - No Sig Lock M - Misalign N - No FSDB info P - Plane Down + R - No Reach Cells S - Size error T - Invalid Topo U - Perm Shut + V - RcVr end rst W - FGID prog X - No CXP Z - No signal + )-------------------------------------------------------------------------------- + Link ID Oper Enable + Status Status + --------------------------------------------------------------------------------)) + $(link_idx_list|show))"; + leaf instance-id { + type fabric-types:sfe_instance_type; + } + leaf nodeid_str { + type string; + tailf:hidden "internal"; + } + leaf is_show { + type boolean; + tailf:hidden "internal"; + } + list link_idx_list { + key "link_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(.path ~= rx ?$(.path ~= topo ?$(link_id_str|ljust:12) $(speed|rjust:5) $(stage|ljust:4) $(fab_plane|rjust:2)/$(fab_group|ljust:3) $(admin-state|rjust:2)/$(oper_state|ljust:3) $(flags|ljust:12) $(far_end_link_fsdb|ljust:13) $(far_end_link_hw|ljust:13)$(.path ~= detail ?$(history|show)):$(.path ~= flap ?$(link_id_str|ljust:14) $(oper_state|ljust:8) $(flap_cnt|rjust:6) $(num_admin_shuts|rjust:6) $(fsm_state|rjust:40)$(.path ~= detail ?$(history|show)):$(.path ~= stats ?$(.path ~= all ?$(link_id_str|ljust:12) $(RX_Control_cells_counter|rjust:13) $(RX_Data_cell_counter|rjust:13) $(RX_Data_byte_counter|rjust:13) $(RX_BEC_retransmit|rjust:12) $(RX_Asyn_fifo_rate|rjust:10):$(.path ~= ctrl ?$(link_id_str|ljust:12) $(RX_Control_cells_counter|rjust:15)$(RX_dropped_retransmitted_control|rjust:15) :$(link_id_str|ljust:12) $(RX_Data_cell_counter|rjust:13) $(RX_Data_byte_counter|rjust:13) $(RX_CRC_errors_counter|rjust:12) $(RX_LFEC_FEC_correctable_error|rjust:12) $(RX_LFEC_FEC_uncorrectable_errors|rjust:12)))))):$(.path ~= stats ?$(.path ~= all ?$(link_id_str|ljust:12) $(TX_Control_cells_counter|rjust:13) $(TX_Data_cell_counter|rjust:13) $(TX_Data_byte_counter|rjust:13) $(TX_BEC_retransmit|rjust:12) $(TX_Asyn_fifo_rate|rjust:10):$(.path ~= ctrl ?$(link_id_str|ljust:12) $(TX_Control_cells_counter|rjust:15):$(link_id_str|ljust:12) $(TX_Data_cell_counter|rjust:15) $(TX_Data_byte_counter|rjust:15))):$(link_id_str|ljust:12) $(oper_state|rjust:4) $(admin-state|rjust:4) $(fsm_state|rjust:40)$(.path ~= detail ?$(history|show))))\n"; + leaf link_idx { + type int64; + } + leaf link_id_str { + type string; + tailf:hidden "internal"; + } + leaf speed { + type string; + tailf:hidden "internal"; + } + leaf stage { + type string; + tailf:hidden "internal"; + } + leaf fab_plane { + type uint32; + tailf:hidden "internal"; + } + leaf fab_group { + type uint32; + tailf:hidden "internal"; + } + leaf flap_cnt { + type uint32; + tailf:hidden "internal"; + } + leaf num_admin_shuts { + type uint32; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf flags { + type string; + tailf:hidden "internal"; + } + leaf far_end_link_fsdb { + type string; + tailf:hidden "internal"; + } + leaf far_end_link_hw { + type string; + tailf:hidden "internal"; + } + leaf coeff1 { + type uint32; + tailf:hidden "internal"; + } + leaf coeff2 { + type uint32; + tailf:hidden "internal"; + } + leaf TX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_BEC_retransmit { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_BEC_retransmit { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_CRC_errors_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_correctable_error { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_uncorrectable_errors { + type uint64; + tailf:hidden "internal"; + } + leaf RX_dropped_retransmitted_control { + type uint64; + tailf:hidden "internal"; + } + leaf fsm_state { + type string; + tailf:hidden "internal"; + } + list history { + key "history_idx"; + tailf:cli-show-template-legend + " + +-----------------------------------------------------------------------------+ + | Timestamp Event(s) Down Reasons | + +-----------------------------------------------------------------------------+ + "; + tailf:cli-show-template "$(time_stamp|ljust:27) $(admin-state|ljust:10)$(oper_state|ljust:10)$(error_state|ljust:10) $(down_reasons|ljust:12)\n"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf error_state { + type string; + tailf:hidden "internal"; + } + leaf down_reasons { + type string; + tailf:hidden "internal"; + } + } + } + } + } + + grouping sfe_link_info_stats_asic_instance { + container stats { + container data { + uses sfe_link_info_asic_instance; + } + container ctrl { + uses sfe_link_info_asic_instance; + } + container all { + uses sfe_link_info_asic_instance; + } + } + } + + grouping sfe_statistics_asic_instance { + list instance { + key "instance-id"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.legend_shown != true ?Device statistics\\\\: + )"; + tailf:cli-show-template-enter + "$(is_show == true ?$(.legend_shown != true ?Device statistics\\\\: + )============================================================ + Node\\\\: $(rack_num)/$(slot_num), Instance\\\\: $(asic_instance) + ============================================================ + $(show_CCS == true ?CCS statistics\\\\: + --------------------------------- + CCS statistics\\\\: + --------------------------------- + CCS0 UnreachableDestinationCellsCnt\\\\: $(CCS0_UnreachableDestinationCellsCnt)$(CCS0_UnreachableDestinationCellsCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 UnreachableDestinationCellsCnt\\\\: $(CCS1_UnreachableDestinationCellsCnt)$(CCS1_UnreachableDestinationCellsCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 CaptureFifoDiscardCnt\\\\: $(CCS0_CaptureFifoDiscardCnt)$(CCS0_CaptureFifoDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 CaptureFifoDiscardCnt\\\\: $(CCS1_CaptureFifoDiscardCnt)$(CCS1_CaptureFifoDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 CdmaLpCellsDiscardCnt\\\\: $(CCS0_CdmaLpCellsDiscardCnt)$(CCS0_CdmaLpCellsDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 CdmaLpCellsDiscardCnt\\\\: $(CCS1_CdmaLpCellsDiscardCnt)$(CCS1_CdmaLpCellsDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 CdmbLpCellsDiscardCnt\\\\: $(CCS0_CdmbLpCellsDiscardCnt)$(CCS0_CdmbLpCellsDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 CdmbLpCellsDiscardCnt\\\\: $(CCS1_CdmbLpCellsDiscardCnt)$(CCS1_CdmbLpCellsDiscardCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 CrpParityErrCnt\\\\: $(CCS0_CrpParityErrCnt)$(CCS0_CrpParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 CrpParityErrCnt\\\\: $(CCS1_CrpParityErrCnt)$(CCS1_CrpParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 Ecc1bErrCnt\\\\: $(CCS0_Ecc_1bErrCnt)$(CCS0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 Ecc1bErrCnt\\\\: $(CCS1_Ecc_1bErrCnt)$(CCS1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + CCS0 Ecc2bErrCnt\\\\: $(CCS0_Ecc_2bErrCnt)$(CCS0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + CCS1 Ecc2bErrCnt\\\\: $(CCS1_Ecc_2bErrCnt)$(CCS1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_DCH == true ? + DCH statistics\\\\: + --------------------------------- + DCH0 FifoDiscardCounterP\\\\: $(DCH0_FifoDiscardCounterP)$(DCH0_FifoDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH1 FifoDiscardCounterP\\\\: $(DCH1_FifoDiscardCounterP)$(DCH1_FifoDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH2 FifoDiscardCounterP\\\\: $(DCH2_FifoDiscardCounterP)$(DCH2_FifoDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH3 FifoDiscardCounterP\\\\: $(DCH3_FifoDiscardCounterP)$(DCH3_FifoDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH0 DCHReordDiscardCounterP\\\\: $(DCH0_DCHReordDiscardCounterP)$(DCH0_DCHReordDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH1 DCHReordDiscardCounterP\\\\: $(DCH1_DCHReordDiscardCounterP)$(DCH1_DCHReordDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH2 DCHReordDiscardCounterP\\\\: $(DCH2_DCHReordDiscardCounterP)$(DCH2_DCHReordDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH3 DCHReordDiscardCounterP\\\\: $(DCH3_DCHReordDiscardCounterP)$(DCH3_DCHReordDiscardCounterP_ovf == true ? \\\\(ovf\\\\)) + DCH0 FifoDiscardCounterS\\\\: $(DCH0_FifoDiscardCounterS)$(DCH0_FifoDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH1 FifoDiscardCounterS\\\\: $(DCH1_FifoDiscardCounterS)$(DCH1_FifoDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH2 FifoDiscardCounterS\\\\: $(DCH2_FifoDiscardCounterS)$(DCH2_FifoDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH3 FifoDiscardCounterS\\\\: $(DCH3_FifoDiscardCounterS)$(DCH3_FifoDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH0 DCHReordDiscardCounterS\\\\: $(DCH0_DCHReordDiscardCounterS)$(DCH0_DCHReordDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH1 DCHReordDiscardCounterS\\\\: $(DCH1_DCHReordDiscardCounterS)$(DCH1_DCHReordDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH2 DCHReordDiscardCounterS\\\\: $(DCH2_DCHReordDiscardCounterS)$(DCH2_DCHReordDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH3 DCHReordDiscardCounterS\\\\: $(DCH3_DCHReordDiscardCounterS)$(DCH3_DCHReordDiscardCounterS_ovf == true ? \\\\(ovf\\\\)) + DCH0 UnreachDestCntP\\\\: $(DCH0_UnreachDestCntP)$(DCH0_UnreachDestCntP_ovf == true ? \\\\(ovf\\\\)) + DCH1 UnreachDestCntP\\\\: $(DCH1_UnreachDestCntP)$(DCH1_UnreachDestCntP_ovf == true ? \\\\(ovf\\\\)) + DCH2 UnreachDestCntP\\\\: $(DCH2_UnreachDestCntP)$(DCH2_UnreachDestCntP_ovf == true ? \\\\(ovf\\\\)) + DCH3 UnreachDestCntP\\\\: $(DCH3_UnreachDestCntP)$(DCH3_UnreachDestCntP_ovf == true ? \\\\(ovf\\\\)) + DCH0 UnreachDestCntS\\\\: $(DCH0_UnreachDestCntS)$(DCH0_UnreachDestCntS_ovf == true ? \\\\(ovf\\\\)) + DCH1 UnreachDestCntS\\\\: $(DCH1_UnreachDestCntS)$(DCH1_UnreachDestCntS_ovf == true ? \\\\(ovf\\\\)) + DCH2 UnreachDestCntS\\\\: $(DCH2_UnreachDestCntS)$(DCH2_UnreachDestCntS_ovf == true ? \\\\(ovf\\\\)) + DCH3 UnreachDestCntS\\\\: $(DCH3_UnreachDestCntS)$(DCH3_UnreachDestCntS_ovf == true ? \\\\(ovf\\\\)) + DCH0 DchDroppedLowMulCntP\\\\: $(DCH0_DchDroppedLowMulCntP)$(DCH0_DchDroppedLowMulCntP_ovf == true ? \\\\(ovf\\\\)) + DCH1 DchDroppedLowMulCntP\\\\: $(DCH1_DchDroppedLowMulCntP)$(DCH1_DchDroppedLowMulCntP_ovf == true ? \\\\(ovf\\\\)) + DCH2 DchDroppedLowMulCntP\\\\: $(DCH2_DchDroppedLowMulCntP)$(DCH2_DchDroppedLowMulCntP_ovf == true ? \\\\(ovf\\\\)) + DCH3 DchDroppedLowMulCntP\\\\: $(DCH3_DchDroppedLowMulCntP)$(DCH3_DchDroppedLowMulCntP_ovf == true ? \\\\(ovf\\\\)) + DCH0 DchDroppedLowMulCntS\\\\: $(DCH0_DchDroppedLowMulCntS)$(DCH0_DchDroppedLowMulCntS_ovf == true ? \\\\(ovf\\\\)) + DCH1 DchDroppedLowMulCntS\\\\: $(DCH1_DchDroppedLowMulCntS)$(DCH1_DchDroppedLowMulCntS_ovf == true ? \\\\(ovf\\\\)) + DCH2 DchDroppedLowMulCntS\\\\: $(DCH2_DchDroppedLowMulCntS)$(DCH2_DchDroppedLowMulCntS_ovf == true ? \\\\(ovf\\\\)) + DCH3 DchDroppedLowMulCntS\\\\: $(DCH3_DchDroppedLowMulCntS)$(DCH3_DchDroppedLowMulCntS_ovf == true ? \\\\(ovf\\\\)) + DCH0 ErrorFilterCntAP\\\\: $(DCH0_ErrorFilterCntAP)$(DCH0_ErrorFilterCntAP_ovf == true ? \\\\(ovf\\\\)) + DCH1 ErrorFilterCntAP\\\\: $(DCH1_ErrorFilterCntAP)$(DCH1_ErrorFilterCntAP_ovf == true ? \\\\(ovf\\\\)) + DCH2 ErrorFilterCntAP\\\\: $(DCH2_ErrorFilterCntAP)$(DCH2_ErrorFilterCntAP_ovf == true ? \\\\(ovf\\\\)) + DCH3 ErrorFilterCntAP\\\\: $(DCH3_ErrorFilterCntAP)$(DCH3_ErrorFilterCntAP_ovf == true ? \\\\(ovf\\\\)) + DCH0 ErrorFilterCntBP\\\\: $(DCH0_ErrorFilterCntBP)$(DCH0_ErrorFilterCntBP_ovf == true ? \\\\(ovf\\\\)) + DCH1 ErrorFilterCntBP\\\\: $(DCH1_ErrorFilterCntBP)$(DCH1_ErrorFilterCntBP_ovf == true ? \\\\(ovf\\\\)) + DCH2 ErrorFilterCntBP\\\\: $(DCH2_ErrorFilterCntBP)$(DCH2_ErrorFilterCntBP_ovf == true ? \\\\(ovf\\\\)) + DCH3 ErrorFilterCntBP\\\\: $(DCH3_ErrorFilterCntBP)$(DCH3_ErrorFilterCntBP_ovf == true ? \\\\(ovf\\\\)) + DCH0 ErrorFilterCntAS\\\\: $(DCH0_ErrorFilterCntAS)$(DCH0_ErrorFilterCntAS_ovf == true ? \\\\(ovf\\\\)) + DCH1 ErrorFilterCntAS\\\\: $(DCH1_ErrorFilterCntAS)$(DCH1_ErrorFilterCntAS_ovf == true ? \\\\(ovf\\\\)) + DCH2 ErrorFilterCntAS\\\\: $(DCH2_ErrorFilterCntAS)$(DCH2_ErrorFilterCntAS_ovf == true ? \\\\(ovf\\\\)) + DCH3 ErrorFilterCntAS\\\\: $(DCH3_ErrorFilterCntAS)$(DCH3_ErrorFilterCntAS_ovf == true ? \\\\(ovf\\\\)) + DCH0 ErrorFilterCntBS\\\\: $(DCH0_ErrorFilterCntBS)$(DCH0_ErrorFilterCntBS_ovf == true ? \\\\(ovf\\\\)) + DCH1 ErrorFilterCntBS\\\\: $(DCH1_ErrorFilterCntBS)$(DCH1_ErrorFilterCntBS_ovf == true ? \\\\(ovf\\\\)) + DCH2 ErrorFilterCntBS\\\\: $(DCH2_ErrorFilterCntBS)$(DCH2_ErrorFilterCntBS_ovf == true ? \\\\(ovf\\\\)) + DCH3 ErrorFilterCntBS\\\\: $(DCH3_ErrorFilterCntBS)$(DCH3_ErrorFilterCntBS_ovf == true ? \\\\(ovf\\\\)) + DCH0 DropLowPriCntP\\\\: $(DCH0_DropLowPriCntP)$(DCH0_DropLowPriCntP_ovf == true ? \\\\(ovf\\\\)) + DCH1 DropLowPriCntP\\\\: $(DCH1_DropLowPriCntP)$(DCH1_DropLowPriCntP_ovf == true ? \\\\(ovf\\\\)) + DCH2 DropLowPriCntP\\\\: $(DCH2_DropLowPriCntP)$(DCH2_DropLowPriCntP_ovf == true ? \\\\(ovf\\\\)) + DCH3 DropLowPriCntP\\\\: $(DCH3_DropLowPriCntP)$(DCH3_DropLowPriCntP_ovf == true ? \\\\(ovf\\\\)) + DCH0 DropLowPriCntS\\\\: $(DCH0_DropLowPriCntS)$(DCH0_DropLowPriCntS_ovf == true ? \\\\(ovf\\\\)) + DCH1 DropLowPriCntS\\\\: $(DCH1_DropLowPriCntS)$(DCH1_DropLowPriCntS_ovf == true ? \\\\(ovf\\\\)) + DCH2 DropLowPriCntS\\\\: $(DCH2_DropLowPriCntS)$(DCH2_DropLowPriCntS_ovf == true ? \\\\(ovf\\\\)) + DCH3 DropLowPriCntS\\\\: $(DCH3_DropLowPriCntS)$(DCH3_DropLowPriCntS_ovf == true ? \\\\(ovf\\\\)) + DCH0 Ecc1bErrCnt\\\\: $(DCH0_Ecc_1bErrCnt)$(DCH0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH1 Ecc1bErrCnt\\\\: $(DCH1_Ecc_1bErrCnt)$(DCH1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH2 Ecc1bErrCnt\\\\: $(DCH2_Ecc_1bErrCnt)$(DCH2_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH3 Ecc1bErrCnt\\\\: $(DCH3_Ecc_1bErrCnt)$(DCH3_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH0 Ecc2bErrCnt\\\\: $(DCH0_Ecc_2bErrCnt)$(DCH0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH1 Ecc2bErrCnt\\\\: $(DCH1_Ecc_2bErrCnt)$(DCH1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH2 Ecc2bErrCnt\\\\: $(DCH2_Ecc_2bErrCnt)$(DCH2_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH3 Ecc2bErrCnt\\\\: $(DCH3_Ecc_2bErrCnt)$(DCH3_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH0 ParityErrCnt\\\\: $(DCH0_ParityErrCnt)$(DCH0_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH1 ParityErrCnt\\\\: $(DCH1_ParityErrCnt)$(DCH1_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH2 ParityErrCnt\\\\: $(DCH2_ParityErrCnt)$(DCH2_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCH3 ParityErrCnt\\\\: $(DCH3_ParityErrCnt)$(DCH3_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_DCl == true ? + DCl statistics\\\\: + --------------------------------- + DCL0 DclDroppedP0CntP\\\\: $(DCL0_DclDroppedP0CntP)$(DCL0_DclDroppedP0CntP_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP0CntP\\\\: $(DCL1_DclDroppedP0CntP)$(DCL1_DclDroppedP0CntP_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP0CntP\\\\: $(DCL2_DclDroppedP0CntP)$(DCL2_DclDroppedP0CntP_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP0CntP\\\\: $(DCL3_DclDroppedP0CntP)$(DCL3_DclDroppedP0CntP_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP1CntP\\\\: $(DCL0_DclDroppedP1CntP)$(DCL0_DclDroppedP1CntP_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP1CntP\\\\: $(DCL1_DclDroppedP1CntP)$(DCL1_DclDroppedP1CntP_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP1CntP\\\\: $(DCL2_DclDroppedP1CntP)$(DCL2_DclDroppedP1CntP_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP1CntP\\\\: $(DCL3_DclDroppedP1CntP)$(DCL3_DclDroppedP1CntP_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP2CntP\\\\: $(DCL0_DclDroppedP2CntP)$(DCL0_DclDroppedP2CntP_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP2CntP\\\\: $(DCL1_DclDroppedP2CntP)$(DCL1_DclDroppedP2CntP_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP2CntP\\\\: $(DCL2_DclDroppedP2CntP)$(DCL2_DclDroppedP2CntP_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP2CntP\\\\: $(DCL3_DclDroppedP2CntP)$(DCL3_DclDroppedP2CntP_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP3CntP\\\\: $(DCL0_DclDroppedP3CntP)$(DCL0_DclDroppedP3CntP_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP3CntP\\\\: $(DCL1_DclDroppedP3CntP)$(DCL1_DclDroppedP3CntP_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP3CntP\\\\: $(DCL2_DclDroppedP3CntP)$(DCL2_DclDroppedP3CntP_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP3CntP\\\\: $(DCL3_DclDroppedP3CntP)$(DCL3_DclDroppedP3CntP_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP0CntS\\\\: $(DCL0_DclDroppedP0CntS)$(DCL0_DclDroppedP0CntS_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP0CntS\\\\: $(DCL1_DclDroppedP0CntS)$(DCL1_DclDroppedP0CntS_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP0CntS\\\\: $(DCL2_DclDroppedP0CntS)$(DCL2_DclDroppedP0CntS_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP0CntS\\\\: $(DCL3_DclDroppedP0CntS)$(DCL3_DclDroppedP0CntS_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP1CntS\\\\: $(DCL0_DclDroppedP1CntS)$(DCL0_DclDroppedP1CntS_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP1CntS\\\\: $(DCL1_DclDroppedP1CntS)$(DCL1_DclDroppedP1CntS_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP1CntS\\\\: $(DCL2_DclDroppedP1CntS)$(DCL2_DclDroppedP1CntS_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP1CntS\\\\: $(DCL3_DclDroppedP1CntS)$(DCL3_DclDroppedP1CntS_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP2CntS\\\\: $(DCL0_DclDroppedP2CntS)$(DCL0_DclDroppedP2CntS_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP2CntS\\\\: $(DCL1_DclDroppedP2CntS)$(DCL1_DclDroppedP2CntS_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP2CntS\\\\: $(DCL2_DclDroppedP2CntS)$(DCL2_DclDroppedP2CntS_ovf == true ? \\\\(ovf\\\\)) + DCL3 DclDroppedP2CntS\\\\: $(DCL3_DclDroppedP2CntS)$(DCL3_DclDroppedP2CntS_ovf == true ? \\\\(ovf\\\\)) + DCL0 DclDroppedP3CntS\\\\: $(DCL0_DclDroppedP3CntS)$(DCL0_DclDroppedP3CntS_ovf == true ? \\\\(ovf\\\\)) + DCL1 DclDroppedP3CntS\\\\: $(DCL1_DclDroppedP3CntS)$(DCL1_DclDroppedP3CntS_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP3CntS\\\\: $(DCL2_DclDroppedP3CntS)$(DCL2_DclDroppedP3CntS_ovf == true ? \\\\(ovf\\\\)) + DCL2 DclDroppedP3CntS\\\\: $(DCL3_DclDroppedP3CntS)$(DCL3_DclDroppedP3CntS_ovf == true ? \\\\(ovf\\\\)) + DCL0 CCP0CIfDscrdCnt\\\\: $(DCL0_CCP0CIfDscrdCnt)$(DCL0_CCP0CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 CCP0CIfDscrdCnt\\\\: $(DCL1_CCP0CIfDscrdCnt)$(DCL1_CCP0CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 CCP0CIfDscrdCnt\\\\: $(DCL2_CCP0CIfDscrdCnt)$(DCL2_CCP0CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 CCP0CIfDscrdCnt\\\\: $(DCL3_CCP0CIfDscrdCnt)$(DCL3_CCP0CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 CCP1CIfDscrdCnt\\\\: $(DCL0_CCP1CIfDscrdCnt)$(DCL0_CCP1CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 CCP1CIfDscrdCnt\\\\: $(DCL1_CCP1CIfDscrdCnt)$(DCL1_CCP1CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 CCP1CIfDscrdCnt\\\\: $(DCL2_CCP1CIfDscrdCnt)$(DCL2_CCP1CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 CCP1CIfDscrdCnt\\\\: $(DCL3_CCP1CIfDscrdCnt)$(DCL3_CCP1CIfDscrdCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 Ecc1bErrCnt\\\\: $(DCL0_Ecc_1bErrCnt)$(DCL0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 Ecc1bErrCnt\\\\: $(DCL1_Ecc_1bErrCnt)$(DCL1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 Ecc1bErrCnt\\\\: $(DCL2_Ecc_1bErrCnt)$(DCL2_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 Ecc1bErrCnt\\\\: $(DCL3_Ecc_1bErrCnt)$(DCL3_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 Ecc2bErrCnt\\\\: $(DCL0_Ecc_2bErrCnt)$(DCL0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 Ecc2bErrCnt\\\\: $(DCL1_Ecc_2bErrCnt)$(DCL1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 Ecc2bErrCnt\\\\: $(DCL2_Ecc_2bErrCnt)$(DCL2_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 Ecc2bErrCnt\\\\: $(DCL3_Ecc_2bErrCnt)$(DCL3_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 ParityErrCnt\\\\: $(DCL0_ParityErrCnt)$(DCL0_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 ParityErrCnt\\\\: $(DCL1_ParityErrCnt)$(DCL1_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 ParityErrCnt\\\\: $(DCL2_ParityErrCnt)$(DCL2_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 ParityErrCnt\\\\: $(DCL3_ParityErrCnt)$(DCL3_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 TagParErrCnt\\\\: $(DCL0_TagParErrCnt)$(DCL0_TagParErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 TagParErrCnt\\\\: $(DCL1_TagParErrCnt)$(DCL1_TagParErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 TagParErrCnt\\\\: $(DCL2_TagParErrCnt)$(DCL2_TagParErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 TagParErrCnt\\\\: $(DCL3_TagParErrCnt)$(DCL3_TagParErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL0 DataCrcErrCnt\\\\: $(DCL0_DataCrcErrCnt)$(DCL0_DataCrcErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL1 DataCrcErrCnt\\\\: $(DCL1_DataCrcErrCnt)$(DCL1_DataCrcErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL2 DataCrcErrCnt\\\\: $(DCL2_DataCrcErrCnt)$(DCL2_DataCrcErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCL3 DataCrcErrCnt\\\\: $(DCL3_DataCrcErrCnt)$(DCL3_DataCrcErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_DCMA == true ? + DCMA statistics\\\\: + --------------------------------- + DCMA0 DcmmDroppedIp0\\\\: $(DCMA0_DcmmDroppedIp0)$(DCMA0_DcmmDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmmDroppedIp0\\\\: $(DCMA1_DcmmDroppedIp0)$(DCMA1_DcmmDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmmDroppedIp1\\\\: $(DCMA0_DcmmDroppedIp1)$(DCMA0_DcmmDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmmDroppedIp1\\\\: $(DCMA1_DcmmDroppedIp1)$(DCMA1_DcmmDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmmDroppedIp2\\\\: $(DCMA0_DcmmDroppedIp2)$(DCMA0_DcmmDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmmDroppedIp2\\\\: $(DCMA1_DcmmDroppedIp2)$(DCMA1_DcmmDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmmDroppedIp3\\\\: $(DCMA0_DcmmDroppedIp3)$(DCMA0_DcmmDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmmDroppedIp3\\\\: $(DCMA1_DcmmDroppedIp3)$(DCMA1_DcmmDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmmDroppedTotalCnt\\\\: $(DCMA0_DcmmDroppedTotalCnt)$(DCMA0_DcmmDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmmDroppedTotalCnt\\\\: $(DCMA1_DcmmDroppedTotalCnt)$(DCMA1_DcmmDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmuDroppedIp0\\\\: $(DCMA0_DcmuDroppedIp0)$(DCMA0_DcmuDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmuDroppedIp0\\\\: $(DCMA1_DcmuDroppedIp0)$(DCMA1_DcmuDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmuDroppedIp1\\\\: $(DCMA0_DcmuDroppedIp1)$(DCMA0_DcmuDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmuDroppedIp1\\\\: $(DCMA1_DcmuDroppedIp1)$(DCMA1_DcmuDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmmDroppedIp2\\\\: $(DCMA0_DcmuDroppedIp2)$(DCMA0_DcmuDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmuDroppedIp2\\\\: $(DCMA1_DcmuDroppedIp2)$(DCMA1_DcmuDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmuDroppedIp3\\\\: $(DCMA0_DcmuDroppedIp3)$(DCMA0_DcmuDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmuDroppedIp3\\\\: $(DCMA1_DcmuDroppedIp3)$(DCMA1_DcmuDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMA0 DcmuDroppedTotalCnt\\\\: $(DCMA0_DcmuDroppedTotalCnt)$(DCMA0_DcmuDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA1 DcmuDroppedTotalCnt\\\\: $(DCMA1_DcmuDroppedTotalCnt)$(DCMA1_DcmuDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA0 Ecc1bErrCnt\\\\: $(DCMA0_Ecc_1bErrCnt)$(DCMA0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA1 Ecc1bErrCnt\\\\: $(DCMA1_Ecc_1bErrCnt)$(DCMA1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA0 Ecc2bErrCnt\\\\: $(DCMA0_Ecc_2bErrCnt)$(DCMA0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA1 Ecc2bErrCnt\\\\: $(DCMA1_Ecc_2bErrCnt)$(DCMA1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA0 ParityErrCnt\\\\: $(DCMA0_ParityErrCnt)$(DCMA0_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMA1 ParityErrCnt\\\\: $(DCMA1_ParityErrCnt)$(DCMA1_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_DCMB == true ? + DCMB statistics\\\\: + --------------------------------- + DCMB0 DcmmDroppedIp0\\\\: $(DCMB0_DcmmDroppedIp0)$(DCMB0_DcmmDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmmDroppedIp0\\\\: $(DCMB1_DcmmDroppedIp0)$(DCMB1_DcmmDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmmDroppedIp1\\\\: $(DCMB0_DcmmDroppedIp1)$(DCMB0_DcmmDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmmDroppedIp1\\\\: $(DCMB1_DcmmDroppedIp1)$(DCMB1_DcmmDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmmDroppedIp2\\\\: $(DCMB0_DcmmDroppedIp2)$(DCMB0_DcmmDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmmDroppedIp2\\\\: $(DCMB1_DcmmDroppedIp2)$(DCMB1_DcmmDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmmDroppedIp3\\\\: $(DCMB0_DcmmDroppedIp3)$(DCMB0_DcmmDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmmDroppedIp3\\\\: $(DCMB1_DcmmDroppedIp3)$(DCMB1_DcmmDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmmDroppedTotalCnt\\\\: $(DCMB0_DcmmDroppedTotalCnt)$(DCMB0_DcmmDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmmDroppedTotalCnt\\\\: $(DCMB1_DcmmDroppedTotalCnt)$(DCMB1_DcmmDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmuDroppedIp0\\\\: $(DCMB0_DcmuDroppedIp0)$(DCMB0_DcmuDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmuDroppedIp0\\\\: $(DCMB1_DcmuDroppedIp0)$(DCMB1_DcmuDroppedIp0_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmuDroppedIp1\\\\: $(DCMB0_DcmuDroppedIp1)$(DCMB0_DcmuDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmuDroppedIp1\\\\: $(DCMB1_DcmuDroppedIp1)$(DCMB1_DcmuDroppedIp1_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmmDroppedIp2\\\\: $(DCMB0_DcmuDroppedIp2)$(DCMB0_DcmuDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmuDroppedIp2\\\\: $(DCMB1_DcmuDroppedIp2)$(DCMB1_DcmuDroppedIp2_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmuDroppedIp3\\\\: $(DCMB0_DcmuDroppedIp3)$(DCMB0_DcmuDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmuDroppedIp3\\\\: $(DCMB1_DcmuDroppedIp3)$(DCMB1_DcmuDroppedIp3_ovf == true ? \\\\(ovf\\\\)) + DCMB0 DcmuDroppedTotalCnt\\\\: $(DCMB0_DcmuDroppedTotalCnt)$(DCMB0_DcmuDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB1 DcmuDroppedTotalCnt\\\\: $(DCMB1_DcmuDroppedTotalCnt)$(DCMB1_DcmuDroppedTotalCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB0 Ecc1bErrCnt\\\\: $(DCMB0_Ecc_1bErrCnt)$(DCMB0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB1 Ecc1bErrCnt\\\\: $(DCMB1_Ecc_1bErrCnt)$(DCMB1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB0 Ecc2bErrCnt\\\\: $(DCMB0_Ecc_2bErrCnt)$(DCMB0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB1 Ecc2bErrCnt\\\\: $(DCMB1_Ecc_2bErrCnt)$(DCMB1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB0 ParityErrCnt\\\\: $(DCMB0_ParityErrCnt)$(DCMB0_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + DCMB1 ParityErrCnt\\\\: $(DCMB1_ParityErrCnt)$(DCMB1_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_ECI == true ? + ECI statistics\\\\: + --------------------------------- + ECI ParityErrCnt\\\\: $(ECI_ParityErrCnt)$(ECI_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_RTP == true ? + RTP statistics\\\\: + --------------------------------- + RTP Ecc1bErrCnt\\\\: $(RTP_Ecc_1bErrCnt)$(RTP_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + RTP Ecc2bErrCnt\\\\: $(RTP_Ecc_2bErrCnt)$(RTP_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + RTP ParityErrCnt\\\\: $(RTP_ParityErrCnt)$(RTP_ParityErrCnt_ovf == true ? \\\\(ovf\\\\)) + )$(show_FMAC == true ? + FMAC statistics\\\\: + --------------------------------- + FMAC0 Ecc1bErrCnt\\\\: $(FMAC0_Ecc_1bErrCnt)$(FMAC0_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC1 Ecc1bErrCnt\\\\: $(FMAC1_Ecc_1bErrCnt)$(FMAC1_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC2 Ecc1bErrCnt\\\\: $(FMAC2_Ecc_1bErrCnt)$(FMAC2_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC3 Ecc1bErrCnt\\\\: $(FMAC3_Ecc_1bErrCnt)$(FMAC3_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC4 Ecc1bErrCnt\\\\: $(FMAC4_Ecc_1bErrCnt)$(FMAC4_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC5 Ecc1bErrCnt\\\\: $(FMAC5_Ecc_1bErrCnt)$(FMAC5_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC6 Ecc1bErrCnt\\\\: $(FMAC6_Ecc_1bErrCnt)$(FMAC6_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC7 Ecc1bErrCnt\\\\: $(FMAC7_Ecc_1bErrCnt)$(FMAC7_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC8 Ecc1bErrCnt\\\\: $(FMAC8_Ecc_1bErrCnt)$(FMAC8_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC9 Ecc1bErrCnt\\\\: $(FMAC9_Ecc_1bErrCnt)$(FMAC9_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC10 Ecc1bErrCnt\\\\: $(FMAC10_Ecc_1bErrCnt)$(FMAC10_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC11 Ecc1bErrCnt\\\\: $(FMAC11_Ecc_1bErrCnt)$(FMAC11_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC12 Ecc1bErrCnt\\\\: $(FMAC12_Ecc_1bErrCnt)$(FMAC12_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC13 Ecc1bErrCnt\\\\: $(FMAC13_Ecc_1bErrCnt)$(FMAC13_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC14 Ecc1bErrCnt\\\\: $(FMAC14_Ecc_1bErrCnt)$(FMAC14_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC15 Ecc1bErrCnt\\\\: $(FMAC15_Ecc_1bErrCnt)$(FMAC15_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC16 Ecc1bErrCnt\\\\: $(FMAC16_Ecc_1bErrCnt)$(FMAC16_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC17 Ecc1bErrCnt\\\\: $(FMAC17_Ecc_1bErrCnt)$(FMAC17_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC18 Ecc1bErrCnt\\\\: $(FMAC18_Ecc_1bErrCnt)$(FMAC18_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC19 Ecc1bErrCnt\\\\: $(FMAC19_Ecc_1bErrCnt)$(FMAC19_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC20 Ecc1bErrCnt\\\\: $(FMAC20_Ecc_1bErrCnt)$(FMAC20_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC21 Ecc1bErrCnt\\\\: $(FMAC21_Ecc_1bErrCnt)$(FMAC21_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC22 Ecc1bErrCnt\\\\: $(FMAC22_Ecc_1bErrCnt)$(FMAC22_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC23 Ecc1bErrCnt\\\\: $(FMAC23_Ecc_1bErrCnt)$(FMAC23_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC24 Ecc1bErrCnt\\\\: $(FMAC24_Ecc_1bErrCnt)$(FMAC24_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC25 Ecc1bErrCnt\\\\: $(FMAC25_Ecc_1bErrCnt)$(FMAC25_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC26 Ecc1bErrCnt\\\\: $(FMAC26_Ecc_1bErrCnt)$(FMAC26_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC27 Ecc1bErrCnt\\\\: $(FMAC27_Ecc_1bErrCnt)$(FMAC27_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC28 Ecc1bErrCnt\\\\: $(FMAC28_Ecc_1bErrCnt)$(FMAC28_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC29 Ecc1bErrCnt\\\\: $(FMAC29_Ecc_1bErrCnt)$(FMAC29_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC30 Ecc1bErrCnt\\\\: $(FMAC30_Ecc_1bErrCnt)$(FMAC30_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC31 Ecc1bErrCnt\\\\: $(FMAC31_Ecc_1bErrCnt)$(FMAC31_Ecc_1bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC0 Ecc2bErrCnt\\\\: $(FMAC0_Ecc_2bErrCnt)$(FMAC0_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC1 Ecc2bErrCnt\\\\: $(FMAC1_Ecc_2bErrCnt)$(FMAC1_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC2 Ecc2bErrCnt\\\\: $(FMAC2_Ecc_2bErrCnt)$(FMAC2_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC3 Ecc2bErrCnt\\\\: $(FMAC3_Ecc_2bErrCnt)$(FMAC3_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC4 Ecc2bErrCnt\\\\: $(FMAC4_Ecc_2bErrCnt)$(FMAC4_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC5 Ecc2bErrCnt\\\\: $(FMAC5_Ecc_2bErrCnt)$(FMAC5_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC6 Ecc2bErrCnt\\\\: $(FMAC6_Ecc_2bErrCnt)$(FMAC6_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC7 Ecc2bErrCnt\\\\: $(FMAC7_Ecc_2bErrCnt)$(FMAC7_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC8 Ecc2bErrCnt\\\\: $(FMAC8_Ecc_2bErrCnt)$(FMAC8_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC9 Ecc2bErrCnt\\\\: $(FMAC9_Ecc_2bErrCnt)$(FMAC9_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC10 Ecc2bErrCnt\\\\: $(FMAC10_Ecc_2bErrCnt)$(FMAC10_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC11 Ecc2bErrCnt\\\\: $(FMAC11_Ecc_2bErrCnt)$(FMAC11_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC12 Ecc2bErrCnt\\\\: $(FMAC12_Ecc_2bErrCnt)$(FMAC12_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC13 Ecc2bErrCnt\\\\: $(FMAC13_Ecc_2bErrCnt)$(FMAC13_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC14 Ecc2bErrCnt\\\\: $(FMAC14_Ecc_2bErrCnt)$(FMAC14_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC15 Ecc2bErrCnt\\\\: $(FMAC15_Ecc_2bErrCnt)$(FMAC15_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC16 Ecc2bErrCnt\\\\: $(FMAC16_Ecc_2bErrCnt)$(FMAC16_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC17 Ecc2bErrCnt\\\\: $(FMAC17_Ecc_2bErrCnt)$(FMAC17_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC18 Ecc2bErrCnt\\\\: $(FMAC18_Ecc_2bErrCnt)$(FMAC18_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC19 Ecc2bErrCnt\\\\: $(FMAC19_Ecc_2bErrCnt)$(FMAC19_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC20 Ecc2bErrCnt\\\\: $(FMAC20_Ecc_2bErrCnt)$(FMAC20_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC21 Ecc2bErrCnt\\\\: $(FMAC21_Ecc_2bErrCnt)$(FMAC21_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC22 Ecc2bErrCnt\\\\: $(FMAC22_Ecc_2bErrCnt)$(FMAC22_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC23 Ecc2bErrCnt\\\\: $(FMAC23_Ecc_2bErrCnt)$(FMAC23_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC24 Ecc2bErrCnt\\\\: $(FMAC24_Ecc_2bErrCnt)$(FMAC24_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC25 Ecc2bErrCnt\\\\: $(FMAC25_Ecc_2bErrCnt)$(FMAC25_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC26 Ecc2bErrCnt\\\\: $(FMAC26_Ecc_2bErrCnt)$(FMAC26_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC27 Ecc2bErrCnt\\\\: $(FMAC27_Ecc_2bErrCnt)$(FMAC27_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC28 Ecc2bErrCnt\\\\: $(FMAC28_Ecc_2bErrCnt)$(FMAC28_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC29 Ecc2bErrCnt\\\\: $(FMAC29_Ecc_2bErrCnt)$(FMAC29_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC30 Ecc2bErrCnt\\\\: $(FMAC30_Ecc_2bErrCnt)$(FMAC30_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + FMAC31 Ecc2bErrCnt\\\\: $(FMAC31_Ecc_2bErrCnt)$(FMAC31_Ecc_2bErrCnt_ovf == true ? \\\\(ovf\\\\)) + ) + )"; + leaf instance-id { + type fabric-types:sfe_instance_type; + } + leaf rack_num { + type uint32; + tailf:hidden "internal"; + } + leaf slot_num { + type uint32; + tailf:hidden "internal"; + } + leaf asic_instance { + type uint32; + tailf:hidden "internal"; + } + leaf CCS0_UnreachableDestinationCellsCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_UnreachableDestinationCellsCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_CaptureFifoDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_CaptureFifoDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_CdmaLpCellsDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_CdmaLpCellsDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_CdmbLpCellsDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_CdmbLpCellsDiscardCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_CrpParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_CrpParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_FifoDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_FifoDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_FifoDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_FifoDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DCHReordDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DCHReordDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DCHReordDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DCHReordDiscardCounterP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_FifoDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_FifoDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_FifoDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_FifoDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DCHReordDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DCHReordDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DCHReordDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DCHReordDiscardCounterS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_UnreachDestCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_UnreachDestCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_UnreachDestCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_UnreachDestCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_UnreachDestCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_UnreachDestCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_UnreachDestCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_UnreachDestCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DchDroppedLowMulCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DchDroppedLowMulCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DchDroppedLowMulCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DchDroppedLowMulCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DchDroppedLowMulCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DchDroppedLowMulCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DchDroppedLowMulCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DchDroppedLowMulCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntAP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntAP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntAP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntAP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntBP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntBP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntBP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntBP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntAS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntAS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntAS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntAS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntBS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntBS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntBS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntBS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DropLowPriCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DropLowPriCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DropLowPriCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DropLowPriCntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_DropLowPriCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_DropLowPriCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_DropLowPriCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_DropLowPriCntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH0_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH1_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH2_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCH3_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP0CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP0CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP0CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP0CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP1CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP1CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP1CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP1CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP2CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP2CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP2CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP2CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP3CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP3CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP3CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP3CntP_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP0CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP0CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP0CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP0CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP1CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP1CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP1CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP1CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP2CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP2CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP2CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP2CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP3CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP3CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP3CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP3CntS_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_CCP0CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_CCP0CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_CCP0CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_CCP0CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_CCP1CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_CCP1CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_CCP1CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_CCP1CIfDscrdCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_TagParErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_TagParErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_TagParErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_TagParErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL0_DataCrcErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL1_DataCrcErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL2_DataCrcErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCL3_DataCrcErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA0_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMA1_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp0_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp1_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp2_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp3_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedTotalCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB0_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf DCMB1_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf ECI_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf RTP_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf RTP_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf RTP_ParityErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC0_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC1_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC2_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC3_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC4_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC5_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC6_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC7_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC8_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC9_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC10_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC11_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC12_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC13_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC14_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC15_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC16_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC17_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC18_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC19_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC20_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC21_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC22_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC23_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC24_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC25_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC26_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC27_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC28_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC29_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC30_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC31_Ecc_1bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC0_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC1_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC2_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC3_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC4_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC5_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC6_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC7_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC8_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC9_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC10_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC11_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC12_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC13_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC14_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC15_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC16_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC17_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC18_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC19_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC20_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC21_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC22_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC23_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC24_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC25_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC26_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC27_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC28_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC29_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC30_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf FMAC31_Ecc_2bErrCnt_ovf { + type boolean; + tailf:hidden "internal"; + } + leaf CCS0_UnreachableDestinationCellsCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_UnreachableDestinationCellsCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_CaptureFifoDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_CaptureFifoDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_CdmaLpCellsDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_CdmaLpCellsDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_CdmbLpCellsDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_CdmbLpCellsDiscardCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_CrpParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_CrpParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf CCS1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_FifoDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_FifoDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_FifoDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_FifoDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DCHReordDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DCHReordDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DCHReordDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DCHReordDiscardCounterP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_FifoDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_FifoDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_FifoDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_FifoDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DCHReordDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DCHReordDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DCHReordDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DCHReordDiscardCounterS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_UnreachDestCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_UnreachDestCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_UnreachDestCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_UnreachDestCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_UnreachDestCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_UnreachDestCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_UnreachDestCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_UnreachDestCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DchDroppedLowMulCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DchDroppedLowMulCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DchDroppedLowMulCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DchDroppedLowMulCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DchDroppedLowMulCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DchDroppedLowMulCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DchDroppedLowMulCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DchDroppedLowMulCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntAP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntAP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntAP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntAP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntBP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntBP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntBP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntBP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntAS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntAS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntAS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntAS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_ErrorFilterCntBS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_ErrorFilterCntBS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_ErrorFilterCntBS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_ErrorFilterCntBS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DropLowPriCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DropLowPriCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DropLowPriCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DropLowPriCntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_DropLowPriCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_DropLowPriCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_DropLowPriCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_DropLowPriCntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH0_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH1_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH2_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCH3_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP0CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP0CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP0CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP0CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP1CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP1CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP1CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP1CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP2CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP2CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP2CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP2CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP3CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP3CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP3CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP3CntP { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP0CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP0CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP0CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP0CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP1CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP1CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP1CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP1CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP2CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP2CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP2CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP2CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DclDroppedP3CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DclDroppedP3CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DclDroppedP3CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DclDroppedP3CntS { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_CCP0CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_CCP0CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_CCP0CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_CCP0CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_CCP1CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_CCP1CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_CCP1CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_CCP1CIfDscrdCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_TagParErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_TagParErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_TagParErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_TagParErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL0_DataCrcErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL1_DataCrcErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL2_DataCrcErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCL3_DataCrcErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmmDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmmDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_DcmuDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_DcmuDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA0_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMA1_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmmDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmmDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp0 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp1 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp2 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedIp3 { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_DcmuDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_DcmuDroppedTotalCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB0_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf DCMB1_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf ECI_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf RTP_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf RTP_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf RTP_ParityErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC0_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC1_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC2_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC3_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC4_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC5_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC6_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC7_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC8_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC9_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC10_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC11_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC12_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC13_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC14_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC15_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC16_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC17_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC18_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC19_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC20_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC21_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC22_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC23_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC24_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC25_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC26_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC27_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC28_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC29_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC30_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC31_Ecc_1bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC0_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC1_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC2_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC3_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC4_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC5_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC6_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC7_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC8_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC9_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC10_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC11_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC12_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC13_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC14_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC15_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC16_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC17_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC18_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC19_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC20_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC21_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC22_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC23_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC24_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC25_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC26_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC27_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC28_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC29_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC30_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf FMAC31_Ecc_2bErrCnt { + type uint64; + tailf:hidden "internal"; + } + leaf is_show { + type boolean; + tailf:hidden "internal"; + } + leaf show_CCS { + type boolean; + tailf:hidden "internal"; + } + leaf show_DCH { + type boolean; + tailf:hidden "internal"; + } + leaf show_DCl { + type boolean; + tailf:hidden "internal"; + } + leaf show_DCMA { + type boolean; + tailf:hidden "internal"; + } + leaf show_DCMB { + type boolean; + tailf:hidden "internal"; + } + leaf show_ECI { + type boolean; + tailf:hidden "internal"; + } + leaf show_FMAC { + type boolean; + tailf:hidden "internal"; + } + leaf show_RTP { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping sfe_trace { + container sfe_driver { + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + + grouping sfe_parse_link_instance { + list instance { + key "instance-id"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(is_show == true ? + ---------------------------------------------------------------------------------------------------- + Rack Slot Asic Link Logical Physical FAP Unit SFI IP Address Driver + Instance Number slot slot /FE number for driver runs on + ------------------------------------------------------------------------------------------------------- + $(link_idx_list|show))"; + leaf instance-id { + type fabric-types:sfe_instance_type; + } + leaf is_show { + type boolean; + tailf:hidden "internal"; + } + list link_idx_list { + key "link_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(rack_id_str|ljust:7) $(slot_id_str|ljust:10) $(asic_inst_id|ljust:8) $(link_num_id|ljust:8) $(log_slot|ljust:9) $(phy_slot|ljust:8) $(fap_id|ljust:8) $(unit|ljust:7) $(sfi_id|ljust:6) $(ip_addr|ljust:15) $(driver_run|ljust:6)\n"; + leaf link_idx { + type int64; + } + leaf rack_id_str { + type string; + tailf:hidden "internal"; + } + leaf slot_id_str { + type string; + tailf:hidden "internal"; + } + leaf asic_inst_id { + type uint32; + tailf:hidden "internal"; + } + leaf link_num_id { + type uint32; + tailf:hidden "internal"; + } + leaf log_slot { + type uint32; + tailf:hidden "internal"; + } + leaf phy_slot { + type uint32; + tailf:hidden "internal"; + } + leaf fap_id { + type uint32; + tailf:hidden "internal"; + } + leaf unit { + type uint32; + tailf:hidden "internal"; + } + leaf sfi_id { + type uint32; + tailf:hidden "internal"; + } + leaf ip_addr { + type string; + tailf:hidden "internal"; + } + leaf driver_run { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping sfe { + container sfe { + description + "Fabric SFE driver commands"; + tailf:hidden "internal-command"; + tailf:info "Fabric SFE driver commands"; + tailf:cli-incomplete-show-path; + container driver { + tailf:callpoint "sfe_drvr_cp"; + tailf:hidden "internal-command"; + tailf:info "SFE driver information"; + tailf:cli-incomplete-show-path; + list rack { + key "rack_num"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_num { + type fabric-types:fabric_rack_num_type; + } + leaf description { + type string; + default "rack no."; + } + uses sfe_drvr_info; + } + } + container statistics { + tailf:callpoint "sfe_statistics_cp"; + tailf:hidden "internal-command"; + list location { + key "loc_str"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)."; + } + container asic { + container CCS { + uses sfe_statistics_asic_instance; + } + container DCH { + uses sfe_statistics_asic_instance; + } + container DCl { + uses sfe_statistics_asic_instance; + } + container DCMA { + uses sfe_statistics_asic_instance; + } + container DCMB { + uses sfe_statistics_asic_instance; + } + container ECI { + uses sfe_statistics_asic_instance; + } + container FMAC { + uses sfe_statistics_asic_instance; + } + container GCK { + uses sfe_statistics_asic_instance; + } + container RTP { + uses sfe_statistics_asic_instance; + } + container all { + uses sfe_statistics_asic_instance; + } + } + } + } + container link-info { + tailf:callpoint "sfe_link_info_cp"; + tailf:info "Link Information"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:hidden "internal-command"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)"; + } + list rx { + key "start end"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf start { + type fabric-types:sfe_link_type; + } + leaf end { + type fabric-types:sfe_link_type; + } + container detail { + container topo { + uses sfe_link_info_asic_instance; + } + container flap { + uses sfe_link_info_asic_instance; + } + } + container topo { + uses sfe_link_info_asic_instance; + } + container flap { + uses sfe_link_info_asic_instance; + } + uses sfe_link_info_stats_asic_instance; + } + list tx { + key "start end"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf start { + type fabric-types:sfe_link_type; + } + leaf end { + type fabric-types:sfe_link_type; + } + container detail { + uses sfe_link_info_asic_instance; + } + uses sfe_link_info_asic_instance; + uses sfe_link_info_stats_asic_instance; + } + } + } + container diagshell { + tailf:hidden "internal-command"; + tailf:callpoint "sfe_diagshell_cmd"; + tailf:info "Diag shell cmd"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)"; + tailf:hidden "internal"; + } + list instance { + key "instance_num"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf instance_num { + type fabric-types:fabric_diag_shell_instance_num_type; + } + list diag_cmd { + key "cmd_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(bytes|show)"; + tailf:info "File name - double quote enclosed"; + leaf cmd_str { + type fabric-types:fabric_diag_shell_cmd_type; + } + list bytes { + key "byte_idx"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(data)"; + leaf byte_idx { + type int64; + } + leaf data { + type string; + tailf:hidden "internal"; + } + } + } + } + } + } + container register { + tailf:hidden "internal-command"; + tailf:callpoint "sfe_registers_cp"; + tailf:info "Dump the registers"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)"; + tailf:hidden "internal"; + } + list instance { + key "instance_num"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf instance_num { + type fabric-types:fabric_diag_shell_instance_num_type; + } + list bytes { + key "byte_idx"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(data)"; + leaf byte_idx { + type int64; + } + leaf data { + type string; + tailf:hidden "internal"; + } + } + } + } + } + container dump-file { + tailf:hidden "internal-command"; + tailf:callpoint "sfe_dump_file"; + tailf:info "Dump file"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)"; + tailf:hidden "internal"; + } + list file { + key "file_name"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(bytes|show)"; + tailf:info "File name - double quote enclosed"; + leaf file_name { + type string; + } + list bytes { + key "byte_idx"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(data)"; + leaf byte_idx { + type int64; + } + leaf data { + type string; + tailf:hidden "internal"; + } + } + } + } + } + container parse { + tailf:callpoint "sfe_parse_link_cp"; + tailf:info "Parse Link Information"; + tailf:cli-incomplete-show-path; + list location { + key "loc_str"; + tailf:hidden "internal-command"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:sfe_location_type; + } + leaf description { + type string; + default "location (R/S)"; + } + list link { + key "start end"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf start { + type fabric-types:sfe_link_type; + } + leaf end { + type fabric-types:sfe_link_type; + } + uses sfe_parse_link_instance; + } + } + } + } + container sfe_trace { + tailf:hidden "internal-command"; + uses sfe_trace; + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/sfe"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-groups.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-groups.yang new file mode 100644 index 0000000..0c3d238 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-groups.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-sysadmin-fabric-groups { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-groups"; + prefix fabric-groups; + + import tailf-common { + prefix tailf; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping location { + list location { + key "loc_str"; + leaf loc_str { + type string; + } + } + } + + grouping asic_instance { + list instance { + key "instance-id"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf instance-id { + type string { + pattern "[0-2]|all"; + } + tailf:info "<0-2>|all"; + } + } + } + + grouping link_stats_instance { + container stats { + container data { + uses asic_instance; + } + container ctrl { + uses asic_instance; + } + container all { + uses asic_instance; + } + } + } + + grouping fabric_instance_location { + list instance { + key "instance-id"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf instance-id { + type string { + pattern "[0-2]|all"; + } + tailf:info "<0-2>|all"; + } + uses location; + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/groups"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid.yang new file mode 100644 index 0000000..080e6aa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid.yang @@ -0,0 +1,924 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fgid { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fgid"; + prefix fabric_fgid; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping fgid_conf_resource { + container fgid { + tailf:hidden "internal"; + container resource { + container sdr { + container allocation { + leaf percent { + type int32 { + range "20..50"; + } + } + } + } + } + } + } + + grouping fgid_information_show { + list id { + key "fgid_id"; + tailf:display-groups "fabric-brief fabric-detail fabric-diagnostics none"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + "$(.legend_shown != true ? + Displaying FGID\\\\: $(fgid_id) + FGID Information\\\\: + + ) + FGID number\\\\: $(fgid_id|rjust:10) + $(.display_groups ~= fabric-detail ? + FGID Hex bitmap\\\\: + $(hex_bitmaps|show) + FGID Binary bitmap\\\\: + $(binary_bitmaps|show) + )$(.display_groups ~= fabric-diagnostics ? + FGID Hex bitmap\\\\: + $(hex_bitmaps|show) + FGID Binary bitmap\\\\: + $(binary_bitmaps|show) + ) + FGID associated fabricq Ids\\\\: + [$(total_asso_fabricq_ids)] \\\\:= + $(total_asso_fabricq_ids == 0? No fgid associated fabricq Ids are found + :$(asso_fabricq_ids|show) + ) + FGID associated client application\\\\: + $(asso_client_info) + $(drivers|show)"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + " + Starting FGID\\\\: 0 + The requested number of FGIDs to display\\\\: ALL + + FGID Information\\\\: + "; + leaf fgid_id { + type fabric-types:fabric_fgid_id_type; + tailf:display-groups "fabric-brief fabric-detail fabric-diagnostics none"; + } + list hex_bitmaps { + key "rack_number"; + tailf:display-groups "fabric-detail fabric-diagnostics"; + tailf:cli-show-template-enter " $(bitmap)\n"; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + tailf:display-groups "fabric-detail fabric-diagnostics"; + } + leaf bitmap { + type string; + tailf:hidden "internal"; + } + } + list binary_bitmaps { + key "rack_number"; + tailf:display-groups "fabric-detail fabric-diagnostics"; + tailf:cli-show-template-enter " $(bitmap)\n"; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + tailf:display-groups "fabric-detail fabric-diagnostics"; + } + leaf bitmap { + type string; + tailf:hidden "internal"; + } + } + leaf total_asso_fabricq_ids { + type int32; + tailf:hidden "internal"; + } + list asso_fabricq_ids { + key "fabricq_id"; + tailf:display-groups "fabric-brief fabric-detail fabric-diagnostics none"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template " $(fabricq_id)"; + tailf:cli-suppress-table; + leaf fabricq_id { + type string; + tailf:display-groups "fabric-brief fabric-detail fabric-diagnostics none"; + } + } + leaf asso_client_info { + type string; + tailf:hidden "internal"; + } + list drivers { + key "rack_number"; + tailf:callpoint "fabric_fgid_drvr_info"; + tailf:display-groups "fabric-diagnostics"; + leaf rack_number { + type int32; + tailf:display-groups "fabric-diagnostics"; + } + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(clients|show)"; + list clients { + key "client_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(show_asic_0 == true ? + FGID bitmap at location $(asic_0_bitmap) + )$(show_asic_1 == true ? + FGID bitmap at location $(asic_1_bitmap) + )$(show_asic_2 == true ? + FGID bitmap at location $(asic_2_bitmap) + )$(show_asic_3 == true ? + FGID bitmap at location $(asic_3_bitmap) + )$(show_asic_4 == true ? + FGID bitmap at location $(asic_4_bitmap) + )$(show_asic_5 == true ? + FGID bitmap at location $(asic_5_bitmap) + )$(show_asic_6 == true ? + FGID bitmap at location $(asic_6_bitmap) + )$(show_asic_7 == true ? + FGID bitmap at location $(asic_7_bitmap) + )$(show_asic_8 == true ? + FGID bitmap at location $(asic_8_bitmap) + )$(show_asic_9 == true ? + FGID bitmap at location $(asic_9_bitmap) + )$(show_asic_10 == true ? + FGID bitmap at location $(asic_10_bitmap) + )$(show_asic_11 == true ? + FGID bitmap at location $(asic_11_bitmap) + )$(show_asic_12 == true ? + FGID bitmap at location $(asic_12_bitmap) + )$(show_asic_13 == true ? + FGID bitmap at location $(asic_13_bitmap) + )$(show_asic_14 == true ? + FGID bitmap at location $(asic_14_bitmap) + )$(show_asic_15 == true ? + FGID bitmap at location $(asic_15_bitmap) + )$(show_asic_16 == true ? + FGID bitmap at location $(asic_16_bitmap) + )$(show_asic_17 == true ? + FGID bitmap at location $(asic_17_bitmap) + )$(show_asic_18 == true ? + FGID bitmap at location $(asic_18_bitmap) + )$(show_asic_19 == true ? + FGID bitmap at location $(asic_19_bitmap) + )$(show_asic_20 == true ? + FGID bitmap at location $(asic_20_bitmap) + )$(show_asic_21 == true ? + FGID bitmap at location $(asic_21_bitmap) + )$(show_asic_22 == true ? + FGID bitmap at location $(asic_22_bitmap) + )$(show_asic_23 == true ? + FGID bitmap at location $(asic_23_bitmap) + )$(show_asic_24 == true ? + FGID bitmap at location $(asic_24_bitmap) + )$(show_asic_25 == true ? + FGID bitmap at location $(asic_25_bitmap) + )$(show_asic_26 == true ? + FGID bitmap at location $(asic_26_bitmap) + )$(show_asic_27 == true ? + FGID bitmap at location $(asic_27_bitmap) + )$(show_asic_28 == true ? + FGID bitmap at location $(asic_28_bitmap) + )$(show_asic_29 == true ? + FGID bitmap at location $(asic_29_bitmap) + )$(show_asic_30 == true ? + FGID bitmap at location $(asic_30_bitmap) + )$(show_asic_31 == true ? + FGID bitmap at location $(asic_31_bitmap) + )$(show_asic_32 == true ? + FGID bitmap at location $(asic_32_bitmap) + )$(show_asic_33 == true ? + FGID bitmap at location $(asic_33_bitmap) + )$(show_asic_34 == true ? + FGID bitmap at location $(asic_34_bitmap) + )$(show_asic_35 == true ? + FGID bitmap at location $(asic_35_bitmap) + ) + "; + leaf client_idx { + type int32; + tailf:display-groups "fabric-diagnostics"; + } + leaf show_asic_0 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_0_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_1 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_1_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_2 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_2_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_3 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_3_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_4 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_4_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_5 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_5_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_6 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_6_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_7 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_7_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_8 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_8_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_9 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_9_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_10 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_10_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_11 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_11_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_12 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_12_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_13 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_13_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_14 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_14_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_15 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_15_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_16 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_16_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_17 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_17_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_18 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_18_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_19 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_19_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_20 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_20_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_21 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_21_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_22 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_22_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_23 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_23_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_24 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_24_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_25 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_25_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_26 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_26_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_27 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_27_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_28 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_28_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_29 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_29_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_30 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_30_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_31 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_31_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_32 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_32_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_33 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_33_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_34 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_34_bitmap { + type string; + tailf:hidden "internal"; + } + leaf show_asic_35 { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf asic_35_bitmap { + type string; + tailf:hidden "internal"; + } + } + } + } + } + + grouping fgid_resource_show { + list sdr { + key "sdr_name"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf sdr_name { + type string; + } + leaf description { + type string; + default "Secure Domain Router name."; + tailf:hidden "internal"; + } + list application { + key "app_name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf app_name { + type string; + } + leaf description { + type string; + default "application."; + tailf:hidden "internal"; + } + list ids_range { + key "id elements"; + tailf:cli-drop-node-name; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf id { + type fabric-types:fabric_fgid_id_type; + tailf:cli-expose-key-name; + } + leaf elements { + type fabric-types:fabric_fgid_elements_type; + tailf:cli-expose-key-name; + } + list fgid_ids { + key "fgid_id line_idx"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + "$(line_idx == 0? + ==================================================== + Displaying FGID Info for\\\\: + SDR\\\\: $(sdr_name_h) APPLICATION \\\\: $(app_name_h) + )$(fgid_id)"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-footer "\n"; + tailf:cli-suppress-table; + leaf fgid_id { + type string; + } + leaf line_idx { + type int32; + } + leaf sdr_name_h { + type string; + tailf:hidden "internal"; + } + leaf app_name_h { + type string; + tailf:hidden "internal"; + } + } + } + } + } + } + + grouping fgid_trace { + container fgid_mgr { + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + + grouping fgid_statistics_app_show { + list application { + key "app_name"; + tailf:display-groups "fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Per client basis FGID resource utilization\\\\: + + $(Appl|rjust:15) $(Appl|rjust:4) $(Pool|rjust:4) $(Current |rjust:12) $(HighWater Mark|rjust:15) + $(Name|rjust:15) $(ID|rjust:4) $(ID|rjust:4) $(InUse FGIDs|rjust:12) $(InUse FGIDs|rjust:15) + ---------------------------------------------------------------------------- + "; + tailf:cli-show-template "$(app_name|rjust:15) $(app_id|rjust:4) $(pool_id|rjust:4) $(inuse_fgids|rjust:12)$(hwm_fgids|rjust:15)\n"; + leaf app_name { + type string; + tailf:display-groups "fabric-detail"; + } + leaf description { + type string; + default "application."; + tailf:hidden "internal"; + } + leaf app_id { + type uint32; + tailf:hidden "internal"; + } + leaf pool_id { + type uint32; + tailf:hidden "internal"; + } + leaf inuse_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf hwm_fgids { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping fgid_statistics_pool_show { + list pool_list { + key "pool_id"; + tailf:display-groups "fabric-brief fabric-detail none"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.path ~= pool ? + Fabric FGID Resource Statistics Information\\\\: + + )Per pool basis Fabric multicast resource statistics\\\\: + + $(.display_groups ~= fabric-brief ?$(Pool|ljust:10) $(Pool|rjust:15) $(Pool|rjust:15) $(Total|rjust:8) $(Current|rjust:8) $(High Water Mark|rjust:15) + $(ID|ljust:10) $(Name|rjust:15) $(Type|rjust:15) $(FGIDs|rjust:8) $(FGIDs |rjust:8) $(InUse FGIDs |rjust:15) + -------------------------------------------------------------------------------- + )"; + tailf:cli-show-template + "$(.display_groups ~= fabric-brief ?$(pool_id|ljust:10) $(pool_name|rjust:15) $(pool_type|rjust:15) $(total_fgids|rjust:8) $(current_fgids|rjust:8) $(hwm_fgids|rjust:15):\tPool Identifier is $(pool_id) + \tPool Name is $(pool_name) + \tPool type is $(pool_type) + \tThe starting FGID of this pool is $(start_fgid) + \tTotal FGIDS of this pool is $(total_fgids) + \tInUse FGIDs of this pool is $(current_fgids) + \tHigh Water Mark InUse FGIDs of this pool is $(hwm_fgids) + ) + "; + leaf pool_id { + type uint32; + tailf:display-groups "fabric-brief fabric-detail none"; + } + leaf pool_name { + type string; + tailf:hidden "internal"; + } + leaf pool_type { + type string; + tailf:hidden "internal"; + } + leaf start_fgid { + type string; + tailf:hidden "internal"; + } + leaf total_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf current_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf hwm_fgids { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping fgid_statistics_sdr_show { + list sdr_list { + key "sdr_name"; + tailf:display-groups "fabric-brief fabric-detail none"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.path ~= sdr ? + Fabric FGID Resource Statistics Information\\\\: + + )Per SDR basis Fabric multicast resource statistics\\\\: + + $(.display_groups ~= fabric-brief ?$(SDR|rjust:32) $(Current|rjust:20) $(HighWater Mark|rjust:20) + $(Name|rjust:32) $(FGIDs|rjust:20) $(InUse FGIDs|rjust:20) + -------------------------------------------------------------------------------- + )"; + tailf:cli-show-template + "$(.display_groups ~= fabric-brief ?$(sdr_name|rjust:32) $(sdr_inuse_fgids|rjust:20) $(sdr_hwm_fgids|rjust:20):\tSecure Domain Router Name is $(sdr_name) + \tTotal Fgids is $(sdr_total_fgids) + \tInUse FGIDs is $(sdr_inuse_fgids) + \tHigh Water Mark InUse FGIDs is $(sdr_hwm_fgids) + $(application|show)) + "; + leaf sdr_name { + type string; + tailf:display-groups "fabric-brief fabric-detail none"; + } + leaf description { + type string; + default "Secure Domain Router name."; + tailf:hidden "internal"; + } + leaf sdr_total_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf sdr_inuse_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf sdr_hwm_fgids { + type uint32; + tailf:hidden "internal"; + } + uses fgid_statistics_app_show; + } + } + + grouping fgid_statistics_system_show { + list stats_list { + key "system_stats"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + " + Fabric FGID Resource Statistics Information\\\\: + + "; + tailf:cli-show-template + "System wide Fabric multicast resource statistics\\\\: + + \tTotal number of FGIDS in the system is $(system_total_fgids) + \tCurrent number of InUse FGIDS in the system is $(system_inuse_fgids) + \tHigh Water Mark of InUse FGIDS in the system is $(system_hwm_fgids) + + "; + leaf system_stats { + type int32; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf system_total_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf system_inuse_fgids { + type uint32; + tailf:hidden "internal"; + } + leaf system_hwm_fgids { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping fgid_statistics_show { + uses fgid_statistics_system_show; + uses fgid_statistics_sdr_show; + uses fgid_statistics_pool_show; + } + + grouping fgid_program_error_show { + list program_error { + key "start end"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:hidden "internal-command"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf start { + type fabric-types:fabric_fgid_start_id_type; + } + leaf end { + type fabric-types:fabric_fgid_end_id_type; + } + list rack { + key "rack_id"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "Rack $(rack_id_str)\\\\: $(incorrect_fgids_range == true ?Incorrect range.:$(cmd_not_supported == true ?Not supported platform or No FC driver Clients.: + Fgids\\\\:$(found_fgids_in_error == true ?$(fgids_in_error) + Total\\\\: $(total_error_fgids):Ok))) + + "; + leaf rack_id { + type int32; + } + leaf rack_id_str { + type string; + tailf:hidden "internal"; + } + leaf fgids_in_error { + type string; + tailf:hidden "internal"; + } + leaf found_fgids_in_error { + type boolean; + tailf:hidden "internal"; + } + leaf total_error_fgids { + type int32; + tailf:hidden "internal"; + } + leaf incorrect_fgids_range { + type boolean; + tailf:hidden "internal"; + } + leaf cmd_not_supported { + type boolean; + tailf:hidden "internal"; + } + } + } + } + + grouping fgid { + container fgid { + description + "FGID management information"; + tailf:hidden "internal-command"; + tailf:cli-incomplete-show-path; + tailf:callpoint "fabric_fgid_cp"; + tailf:info "FGID management information"; + container information { + tailf:hidden "internal-command"; + uses fgid_information_show; + } + container resource { + tailf:hidden "internal-command"; + uses fgid_resource_show; + } + container statistics { + tailf:callpoint "fabric_fgid_statistics"; + tailf:hidden "internal-command"; + tailf:info "FGID resource statistics"; + container all { + uses fgid_statistics_show; + tailf:info "All FGID resource statistics option."; + } + container sdr { + uses fgid_statistics_sdr_show; + tailf:info "FGID resource secure domain router basis statistics option."; + } + container pool { + uses fgid_statistics_pool_show; + tailf:info "FGID resource pool basis statistics option."; + } + container system { + uses fgid_statistics_system_show; + tailf:info "FGID resource system basis statistics option."; + } + } + uses fgid_trace; + uses fgid_program_error_show; + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fgid"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500.yang new file mode 100644 index 0000000..7f0a8de --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500.yang @@ -0,0 +1,1108 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator"; + prefix fabric_fsdb_aggr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + + grouping plane_show { + list plane { + key "planeid"; + max-elements "1024"; + tailf:hidden "internal-command"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-show-template + "$(.legend_shown != true ?$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-brief ? + Plane Admin Plane up->dn up->mcast + Id State State counter counter + -------------------------------------- + : + Plane Admin Plane up->dn up->mcast Total Down PPU + Id State State counter counter Bundles Bundles State + --------------------------------------------------------------- + )))$(.path ~= statistics ?$(.display_groups ~= fabric-brief ?$(planeid|rjust:2) $(rx_data_cells|rjust:20) $(tx_data_cells|rjust:20) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)) + : + The fabric plane number is $(planeid) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Total unicast lost cells\\\\: $(ucast_lost_cells) + Total multicast lost cells\\\\: $(mcast_lost_cells) + Asic internal drops\\\\: $(asic_internal_drops) + Asic internal error\\\\: $(is_asic_internal_error == false ? None: + +----------------------------------------------------------------------------+ + |Asic |CRC |Size|Mis |Code|No |No |Tokn|Err | | + |(R/S/A\\\\) |Err |Err |Alig|Grp |Sig |Sign|Err |Tokn| Last Error Found | + | | | |Err |Err |Lock|Acpt| |Cnt | | + +----------+----+----+----+----+----+----+----+----+-------------------------+ + $(asic_internal_error|show) +----------------------------------------------------------------------------+) + Last clearing of statistics\\\\: $(last_clear_ts) + Last clearing reason of statistics\\\\: $(last_clear_reason) + Last clearing request of statistics\\\\: $(last_clear_req_ts) + Last clearing request status of statistics\\\\: $(last_clear_status) + ):$(.display_groups ~= fabric-brief ?$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) + :$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) $(.path ~= fsdbagg_active ?$(total_bundles|rjust:6) $(down_bundles|rjust:6) :$(NA|rjust:6) $(NA|rjust:6) )$(ppu_state|ljust:10) + ))"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-detail ? + Plane Admin Plane up->dn up->mcast Total Down PPU + Id State State counter counter Bundles Bundles State + ------------------------------------------------------------ + : + Plane Admin Plane up->dn up->mcast + Id State State counter counter + -------------------------------------- + ))"; + leaf planeid { + type fabric-types:plane_type; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf ucast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf mcast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf ucast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf total_bundles { + type int32; + tailf:hidden "internal"; + } + leaf down_bundles { + type int32; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf ucast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf mcast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_reason { + type string; + tailf:hidden "internal"; + } + leaf last_clear_req_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_status { + type string; + tailf:hidden "internal"; + } + leaf is_asic_internal_error { + type boolean; + tailf:hidden "internal"; + } + leaf asic_internal_drops { + type uint64; + tailf:hidden "internal"; + } + leaf asic_location_drops { + type string; + tailf:hidden "internal"; + } + leaf ppu_state { + type string; + tailf:hidden "internal"; + } + list asic_internal_error { + key "asic_number"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template " |$(asic_location|ljust:10)| $($(link_crc_error == true ? Y : N)|ljust:3)| $($(link_size_error == true ? Y : N)|ljust:3)| $($(link_mis_align_error == true ? Y : N)|ljust:3)| $($(link_code_group_error == true ? Y : N)|ljust:3)| $($(link_no_sig_lock_error == true ? Y : N)|ljust:3)| $($(link_no_sign_accept_error == true ? Y : N)|ljust:3)| $($(link_token_error == true ? Y : N)|ljust:3)| $($(error_token_count == true ? Y : N)|ljust:3)| $(last_asic_internal_error_ts|ljust:24)|\n"; + leaf asic_number { + type int64; + tailf:display-groups "fabric-detail"; + } + leaf asic_location { + type string; + tailf:hidden "internal"; + } + leaf link_crc_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_size_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_mis_align_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_code_group_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sig_lock_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sign_accept_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_token_error { + type boolean; + tailf:hidden "internal"; + } + leaf error_token_count { + type boolean; + tailf:hidden "internal"; + } + leaf last_asic_internal_error_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fsdb_agg_conf_plane { + list plane { + key "plane_id"; + description + "Set state of fabric plane"; + tailf:info "Set state of fabric plane"; + leaf plane_id { + type fabric-types:conf_plane_type; + } + leaf shutdown { + type empty; + description + "Shut down state."; + tailf:info "Shut down state."; + } + } + } + + grouping fabric_sys_plane_health { + list sys_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Admin|ljust:5) $(Plane|ljust:8) $(Racks|ljust:8) $(Data|ljust:10) + $(id|ljust:5) $(state|ljust:5) $(state|ljust:8) $(in issue|ljust:8) $(drop/error|ljust:10) + ----------------------------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(admin-state|ljust:5) $(plane_state|ljust:8) $(racks_w_plane_fault|ljust:8) $($(is_data_drop == true ?Yes:No)|ljust:10)\n"; + tailf:cli-show-template-footer "\\r -----------------------------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf racks_w_plane_fault { + type int32; + tailf:hidden "internal"; + } + leaf is_data_drop { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping fsdb_process_status { + list fsdb_status { + key "rack_id"; + tailf:callpoint "fsdb_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok:N)|rjust:2)|"; + leaf rack_id { + type int32; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping sfe_process_status { + list sfe_status { + key "loc_str"; + tailf:callpoint "sfe_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok : N )|rjust:5)|"; + leaf loc_str { + type string; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + list sfe_drvr_loc { + key "loc_str"; + tailf:callpoint "sfe_health_drvr_loc"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(loc_str)|rjust:5)|"; + leaf loc_str { + type string; + } + } + list sfe_fm_sep { + key "loc_str"; + tailf:callpoint "sfe_health_fm_sep"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "-----+"; + leaf loc_str { + type string; + } + } + } + + grouping rack_plane_num_amba_reachable { + list reachable_amba { + key "idx"; + tailf:callpoint "fabric_health_fsdb"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(num_reachable|ljust:6)"; + leaf idx { + type int32; + } + leaf num_reachable { + type int32; + tailf:hidden "internal"; + } + } + } + + grouping fabric_rack_plane_health { + list rack_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Plane|ljust:8) $(SFE Asics|ljust:12) $(Fab ids|ljust:9) + $(id|ljust:5) $(state|ljust:8) $(T/U/D|ljust:12) $(Reachable|ljust:9) + -------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(plane_state|ljust:8) $($(asics_total)/$(asics_up)/$(asics_dn)|ljust:12) $(reachable_amba|show)\n"; + tailf:cli-show-template-footer "\\r --------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf asics_total { + type int32; + tailf:hidden "internal"; + } + leaf asics_up { + type int32; + tailf:hidden "internal"; + } + leaf asics_dn { + type int32; + tailf:hidden "internal"; + } + uses rack_plane_num_amba_reachable; + } + } + + grouping fabric_rack_health { + list rack_info_list { + key "rack_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "Rack Health\\\\: + ------------- + "; + tailf:cli-show-template + " Rack\\\\: $(rack_name), Type\\\\: $(rack_type) + + $(rack_type ~= LCC ? $(SFE Asics|ljust:10) $(FIA Asics|ljust:11) $(Planes|ljust:6) $(Valid|ljust:7) + $(T/U/D|ljust:10) $(T/U/D|ljust:11) $(U/M/D|ljust:6) $(fab ids|ljust:7) + ------------------------------------------------ + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)|ljust:11) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)|ljust:6) $(amba_valid|rjust:5) + + $(show_rack_plane_detail == true ?$(rack_plane_info_list|show) + ): $(SFE Asics|ljust:10) + $(T/U/D|ljust:10) + ----------------- + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) + ) + "; + leaf rack_id { + type int32; + } + leaf rack_name { + type string; + tailf:hidden "internal"; + } + leaf rack_type { + type string; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_rack_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf amba_valid { + type int32; + tailf:hidden "internal"; + } + uses fabric_rack_plane_health; + } + } + + grouping fabric_health { + container fab_health { + tailf:callpoint "fabric_health"; + tailf:cli-full-show-path; + tailf:hidden "internal-command"; + list sys_info_list { + key "index_key"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Fabric System Health + --------------------- + $(Flags:|ljust:6) $(T - Total,|ljust:15) $(U - Up,|ljust:15) $(A - Admin Down|ljust:15) + $( |ljust:6) $(L - LCC,|ljust:15) $(M - Mcast Down,|ljust:15) $(Y - Yes|ljust:15) + $( |ljust:6) $(F - FCC,|ljust:15) $(D - Down,|ljust:15) $(N - No or Not Ok|ljust:15) + $( |ljust:6) $(V - Valid,|ljust:15) + + "; + tailf:cli-show-template + "Collaborator Process State\\\\: + ------------------------------ + FSDB Aggregator\\\\:$(aggr_status == true ? OK: Not OK) + +-----------+$(rack_id_separator) + |Rack id |$(available_rack_ids) + +-----------+$(rack_id_separator) + |FSDB status|$(fsdb_status|show) + +-----------+$(rack_id_separator) + + +------------+$(sfe_fm_sep|show) + |FC Location |$(sfe_drvr_loc|show) + +------------+$(sfe_fm_sep|show) + |SFE status |$(sfe_status|show) + +------------+$(sfe_fm_sep|show) + + Router Health\\\\: + ----------------- + + $(Rack|ljust:7) $(Planes|ljust:7) $(SFE Asics|ljust:14) $(Fia Asics|ljust:14) + $(T/L/F|ljust:7) $(U/M/D/A|ljust:7) $(T/U/D|ljust:14) $(T/U/D|ljust:14) + ------------------------------------------------------ + $($(rack_total)/$(rack_lcc)/$(rack_fcc)|ljust:7) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)/$(plane_admin_dn)|ljust:7) $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:14) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)|ljust:14) + + $(show_sys_plane_detail == true ?$(sys_plane_info_list|show) + )$(rack_info_list|show) + "; + leaf index_key { + type int32; + } + leaf aggr_status { + type boolean; + tailf:hidden "internal"; + } + leaf available_rack_ids { + type string; + tailf:hidden "internal"; + } + leaf rack_id_separator { + type string; + tailf:hidden "internal"; + } + leaf available_fm_loc { + type string; + tailf:hidden "internal"; + } + leaf fm_loc_separator { + type string; + tailf:hidden "internal"; + } + leaf rack_total { + type uint32; + tailf:hidden "internal"; + } + leaf rack_lcc { + type uint32; + tailf:hidden "internal"; + } + leaf rack_fcc { + type uint32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_sys_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type uint32; + tailf:hidden "internal"; + } + uses fabric_sys_plane_health; + uses fabric_rack_health; + uses fsdb_process_status; + uses sfe_process_status; + } + } + } + + grouping fsdb_agg_plane_clear { + list plane { + key "planeid"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf planeid { + type fabric-types:plane_type; + } + tailf:action "clear_counter" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + tailf:action "clear_stats" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + } + } + + grouping fsdb_aggr_trace { + container fsdb-aggregator { + description + "FSDB Aggregator information"; + tailf:hidden "internal-command"; + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:info "FSDB Aggregator informaiton"; + container fsdbagg { + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + } + + grouping fsdb_aggr_ppu { + container ppu { + description + "Plane by plane upgrade."; + tailf:info "Plane by plane upgrade."; + tailf:action "start" { + tailf:info "Start PPU."; + description + "Start PPU."; + tailf:confirm-text "Start Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + tailf:action "force" { + tailf:info "Force PPU."; + description + "Force PPU."; + tailf:confirm-text "Force Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + } + } + + grouping bundle_summary_show { + list bundle_summary_list { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "Total Down Bundle not Total Down Bport not + Bundles Bundles connected Bports Bports connected + ------------------------------------------------------- + "; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(total_bundles|ljust:8) $(down_bundles|ljust:8) $(bundles_not_connected|ljust:11) $(total_bports|ljust:7) $(down_bports|ljust:7) $(bports_not_connected|ljust:10)\n"; + leaf idx { + type int32; + } + leaf total_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf down_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf bundles_not_connected { + type uint32; + tailf:hidden "internal"; + } + leaf total_bports { + type uint32; + tailf:hidden "internal"; + } + leaf down_bports { + type uint32; + tailf:hidden "internal"; + } + leaf bports_not_connected { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping bundle_all_show { + list bundle_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Oper + R/S/P State + ------------------ + :Bundle Oper Plane Total Down Bundle Bundle + R/S/P State Id Links Links Port1 Port2 + -------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(.display_groups ~= fabric-brief ?$(bundle_id|ljust:12) $(oper_state|ljust:5):$(bundle_id|ljust:12) $(oper_state|ljust:5) $(plane_id|ljust:5) $(total_links|rjust:5) $(down_links|ljust:5) $(bport1|ljust:12) $(bport2|ljust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bundle_id { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_id { + type uint32; + tailf:hidden "internal"; + } + leaf total_links { + type uint32; + tailf:hidden "internal"; + } + leaf down_links { + type uint32; + tailf:hidden "internal"; + } + leaf bport1 { + type string; + tailf:hidden "internal"; + } + leaf bport2 { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_show { + list bport_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Port Admin Oper + R/S/P State State + -------------------------- + :Bundle Port Admin Oper Down + R/S/P State State Flags + --------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(bport_id|ljust:12) $(admin-state|ljust:6) $(oper_state|ljust:6)$(.display_groups ~= fabric-detail ? $(down_flags|rjust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf down_flags { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_stats_show { + list bport_stats_all_racks { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Total racks\\\\: $(total_racks) + + $(bport_stats_rack|show)"; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf total_racks { + type uint32; + tailf:hidden "internal"; + } + list bport_stats_rack { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Rack $(rack_num_str)\\\\: + + $(bport_stats|show) + "; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf rack_num_str { + type string; + tailf:hidden "internal"; + } + list bport_stats { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + Bundle Port In Out CE UCE PE + R/S/P Cells Cells Cells Cells Cells + ----------------------------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(.display_groups ~= fabric-brief ?$(bport_id|ljust:12) $(rx_data_cells|rjust:15) $(tx_data_cells|rjust:15) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)): + The fabric bundle port is $(bport_id) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Last clearing of statistics\\\\: $(last_clear_ts)) + "; + leaf idx { + type int64; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + } + + grouping fsdb_aggr_bundle { + container bundle { + tailf:callpoint "fabric_fsdb_aggr_bundle_cp"; + tailf:hidden "internal-command"; + container summary { + tailf:info "Show summary of bundle data."; + uses bundle_summary_show; + } + container all { + tailf:info "Show all fabric bundles."; + uses bundle_all_show; + } + container port { + tailf:info "Fabric bundle port option."; + container all { + tailf:info "Show all fabric bundle ports."; + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + list location { + key "loc_str"; + tailf:info "Bundle port location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + } + list location { + key "loc_str"; + tailf:info "Bundle location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bundle_all_show; + } + } + } + + grouping fsdb_aggr_clear { + container counter { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + container clear_statistics { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + } + + grouping fsdb_aggr { + container fsdbagg_active { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane"; + uses plane_show; + uses fsdb_aggr_bundle; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + container fsdbagg_link { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list port { + key "portname"; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + } + } + container fsdbagg_sfe_asic_type { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list asic_types { + key "asicname"; + leaf asicname { + type string; + } + leaf description { + type string; + default "asic."; + } + list block { + key "blockname"; + leaf blockname { + type string; + } + leaf description { + type string; + default "asic block."; + } + } + } + } + container fsdbagg_standby { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane_standby"; + uses plane_show; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + uses fabric_health; + uses fsdb_aggr_trace; + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fsdb_aggr"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502.yang new file mode 100644 index 0000000..52ca63e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502.yang @@ -0,0 +1,1088 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator"; + prefix fabric_fsdb_aggr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + + grouping plane_show { + list plane { + key "planeid"; + max-elements "1024"; + tailf:hidden "internal-command"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-show-template + "$(.legend_shown != true ?$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-brief ? + Plane Admin Plane up->dn up->mcast + Id State State counter counter + -------------------------------------- + : + Plane Admin Plane up->dn up->mcast Total Down PPU + Id State State counter counter Bundles Bundles State + --------------------------------------------------------------- + )))$(.path ~= statistics ?$(.display_groups ~= fabric-brief ?$(planeid|rjust:2) $(rx_data_cells|rjust:20) $(tx_data_cells|rjust:20) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)) + : + The fabric plane number is $(planeid) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Total unicast lost cells\\\\: $(ucast_lost_cells) + Total multicast lost cells\\\\: $(mcast_lost_cells) + Asic internal drops\\\\: $(asic_internal_drops) + Asic internal error\\\\: $(is_asic_internal_error == false ? None: + +----------------------------------------------------------------------------+ + |Asic |CRC |Size|Mis |Code|No |No |Tokn|Err | | + |(R/S/A\\\\) |Err |Err |Alig|Grp |Sig |Sign|Err |Tokn| Last Error Found | + | | | |Err |Err |Lock|Acpt| |Cnt | | + +----------+----+----+----+----+----+----+----+----+-------------------------+ + $(asic_internal_error|show) +----------------------------------------------------------------------------+) + Last clearing of statistics\\\\: $(last_clear_ts) + Last clearing reason of statistics\\\\: $(last_clear_reason) + Last clearing request of statistics\\\\: $(last_clear_req_ts) + Last clearing request status of statistics\\\\: $(last_clear_status) + ):$(.display_groups ~= fabric-brief ?$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) + :$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) $(.path ~= fsdbagg_active ?$(total_bundles|rjust:6) $(down_bundles|rjust:6) :$(NA|rjust:6) $(NA|rjust:6) )$(ppu_state|ljust:10) + ))"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-detail ? + Plane Admin Plane up->dn up->mcast Total Down PPU + Id State State counter counter Bundles Bundles State + ------------------------------------------------------------ + : + Plane Admin Plane up->dn up->mcast + Id State State counter counter + -------------------------------------- + ))"; + leaf planeid { + type fabric-types:plane_zermatt_type; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf ucast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf mcast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf ucast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf total_bundles { + type int32; + tailf:hidden "internal"; + } + leaf down_bundles { + type int32; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf ucast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf mcast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_reason { + type string; + tailf:hidden "internal"; + } + leaf last_clear_req_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_status { + type string; + tailf:hidden "internal"; + } + leaf is_asic_internal_error { + type boolean; + tailf:hidden "internal"; + } + leaf asic_internal_drops { + type uint64; + tailf:hidden "internal"; + } + leaf asic_location_drops { + type string; + tailf:hidden "internal"; + } + leaf ppu_state { + type string; + tailf:hidden "internal"; + } + list asic_internal_error { + key "asic_number"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template " |$(asic_location|ljust:10)| $($(link_crc_error == true ? Y : N)|ljust:3)| $($(link_size_error == true ? Y : N)|ljust:3)| $($(link_mis_align_error == true ? Y : N)|ljust:3)| $($(link_code_group_error == true ? Y : N)|ljust:3)| $($(link_no_sig_lock_error == true ? Y : N)|ljust:3)| $($(link_no_sign_accept_error == true ? Y : N)|ljust:3)| $($(link_token_error == true ? Y : N)|ljust:3)| $($(error_token_count == true ? Y : N)|ljust:3)| $(last_asic_internal_error_ts|ljust:24)|\n"; + leaf asic_number { + type int64; + tailf:display-groups "fabric-detail"; + } + leaf asic_location { + type string; + tailf:hidden "internal"; + } + leaf link_crc_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_size_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_mis_align_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_code_group_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sig_lock_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sign_accept_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_token_error { + type boolean; + tailf:hidden "internal"; + } + leaf error_token_count { + type boolean; + tailf:hidden "internal"; + } + leaf last_asic_internal_error_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fsdb_agg_conf_plane { + list plane { + key "plane_id"; + description + "Set state of fabric plane"; + tailf:info "Set state of fabric plane"; + leaf plane_id { + type fabric-types:conf_plane_zermatt_type; + } + leaf shutdown { + type empty; + description + "Shut down state."; + tailf:info "Shut down state."; + } + } + } + + grouping fabric_sys_plane_health { + list sys_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Admin|ljust:5) $(Plane|ljust:8) $(Racks|ljust:8) $(Data|ljust:10) + $(id|ljust:5) $(state|ljust:5) $(state|ljust:8) $(in issue|ljust:8) $(drop/error|ljust:10) + ----------------------------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(admin-state|ljust:5) $(plane_state|ljust:8) $(racks_w_plane_fault|ljust:8) $($(is_data_drop == true ?Yes:No)|ljust:10)\n"; + tailf:cli-show-template-footer "\\r -----------------------------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf racks_w_plane_fault { + type int32; + tailf:hidden "internal"; + } + leaf is_data_drop { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping fsdb_process_status { + list fsdb_status { + key "rack_id"; + tailf:callpoint "fsdb_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok:N)|rjust:2)|"; + leaf rack_id { + type int32; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping sfe_process_status { + list sfe_status { + key "loc_str"; + tailf:callpoint "sfe_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok : N )|rjust:5)|"; + leaf loc_str { + type string; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping rack_plane_num_amba_reachable { + list reachable_amba { + key "idx"; + tailf:callpoint "fabric_health_fsdb"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(num_reachable|ljust:6)"; + leaf idx { + type int32; + } + leaf num_reachable { + type int32; + tailf:hidden "internal"; + } + } + } + + grouping fabric_rack_plane_health { + list rack_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Plane|ljust:8) $(SFE Asics|ljust:12) $(Fab ids|ljust:9) + $(id|ljust:5) $(state|ljust:8) $(T/U/D|ljust:12) $(Reachable|ljust:9) + -------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(plane_state|ljust:8) $($(asics_total)/$(asics_up)/$(asics_dn)|ljust:12) $(reachable_amba|show)\n"; + tailf:cli-show-template-footer "\\r --------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf asics_total { + type int32; + tailf:hidden "internal"; + } + leaf asics_up { + type int32; + tailf:hidden "internal"; + } + leaf asics_dn { + type int32; + tailf:hidden "internal"; + } + uses rack_plane_num_amba_reachable; + } + } + + grouping fabric_rack_health { + list rack_info_list { + key "rack_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "Rack Health\\\\: + ------------- + "; + tailf:cli-show-template + " Rack\\\\: $(rack_name), Type\\\\: $(rack_type) + + $(rack_type ~= LCC ? $(SFE Asics|ljust:10) $(FIA Asics|ljust:11) $(Planes|ljust:6) $(Valid|ljust:7) + $(T/U/D|ljust:10) $(T/U/D|ljust:11) $(U/M/D|ljust:6) $(fab ids|ljust:7) + ------------------------------------------------ + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)|ljust:11) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)|ljust:6) $(amba_valid|rjust:5) + + $(show_rack_plane_detail == true ?$(rack_plane_info_list|show) + ): $(SFE Asics|ljust:10) + $(T/U/D|ljust:10) + ----------------- + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) + ) + "; + leaf rack_id { + type int32; + } + leaf rack_name { + type string; + tailf:hidden "internal"; + } + leaf rack_type { + type string; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_rack_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf amba_valid { + type int32; + tailf:hidden "internal"; + } + uses fabric_rack_plane_health; + } + } + + grouping fabric_health { + container fab_health { + tailf:callpoint "fabric_health"; + tailf:cli-full-show-path; + tailf:hidden "internal-command"; + list sys_info_list { + key "index_key"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Fabric System Health + --------------------- + $(Flags:|ljust:6) $(T - Total,|ljust:15) $(U - Up,|ljust:15) $(A - Admin Down|ljust:15) + $( |ljust:6) $(L - LCC,|ljust:15) $(M - Mcast Down,|ljust:15) $(Y - Yes|ljust:15) + $( |ljust:6) $(F - FCC,|ljust:15) $(D - Down,|ljust:15) $(N - No or Not Ok|ljust:15) + $( |ljust:6) $(V - Valid,|ljust:15) + + "; + tailf:cli-show-template + "Collaborator Process State\\\\: + ------------------------------ + FSDB Aggregator\\\\:$(aggr_status == true ? OK: Not OK) + +-----------+$(rack_id_separator) + |Rack id |$(available_rack_ids) + +-----------+$(rack_id_separator) + |FSDB status|$(fsdb_status|show) + +-----------+$(rack_id_separator) + + +------------+$(fm_loc_separator) + |FE Location |$(available_fm_loc) + +------------+$(fm_loc_separator) + |SFE status |$(sfe_status|show) + +------------+$(fm_loc_separator) + + Router Health\\\\: + ----------------- + + $(Rack|ljust:7) $(Planes|ljust:7) $(SFE Asics|ljust:14) $(Fia Asics|ljust:14) + $(T/L/F|ljust:7) $(U/M/D/A|ljust:7) $(T/U/D|ljust:14) $(T/U/D|ljust:14) + ------------------------------------------------------ + $($(rack_total)/$(rack_lcc)/$(rack_fcc)|ljust:7) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)/$(plane_admin_dn)|ljust:7) $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:14) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)|ljust:14) + + $(show_sys_plane_detail == true ?$(sys_plane_info_list|show) + )$(rack_info_list|show) + "; + leaf index_key { + type int32; + } + leaf aggr_status { + type boolean; + tailf:hidden "internal"; + } + leaf available_rack_ids { + type string; + tailf:hidden "internal"; + } + leaf rack_id_separator { + type string; + tailf:hidden "internal"; + } + leaf available_fm_loc { + type string; + tailf:hidden "internal"; + } + leaf fm_loc_separator { + type string; + tailf:hidden "internal"; + } + leaf rack_total { + type uint32; + tailf:hidden "internal"; + } + leaf rack_lcc { + type uint32; + tailf:hidden "internal"; + } + leaf rack_fcc { + type uint32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_sys_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type uint32; + tailf:hidden "internal"; + } + uses fabric_sys_plane_health; + uses fabric_rack_health; + uses fsdb_process_status; + uses sfe_process_status; + } + } + } + + grouping fsdb_agg_plane_clear { + list plane { + key "planeid"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf planeid { + type fabric-types:plane_zermatt_type; + } + tailf:action "clear_counter" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + tailf:action "clear_stats" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + } + } + + grouping fsdb_aggr_trace { + container fsdb-aggregator { + description + "FSDB Aggregator information"; + tailf:hidden "internal-command"; + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:info "FSDB Aggregator informaiton"; + container fsdbagg { + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + } + + grouping fsdb_aggr_ppu { + container ppu { + description + "Plane by plane upgrade."; + tailf:info "Plane by plane upgrade."; + tailf:action "start" { + tailf:info "Start PPU."; + description + "Start PPU."; + tailf:confirm-text "Start Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + tailf:action "force" { + tailf:info "Force PPU."; + description + "Force PPU."; + tailf:confirm-text "Force Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + } + } + + grouping bundle_summary_show { + list bundle_summary_list { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "Total Down Bundle not Total Down Bport not + Bundles Bundles connected Bports Bports connected + ------------------------------------------------------- + "; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(total_bundles|ljust:8) $(down_bundles|ljust:8) $(bundles_not_connected|ljust:11) $(total_bports|ljust:7) $(down_bports|ljust:7) $(bports_not_connected|ljust:10)\n"; + leaf idx { + type int32; + } + leaf total_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf down_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf bundles_not_connected { + type uint32; + tailf:hidden "internal"; + } + leaf total_bports { + type uint32; + tailf:hidden "internal"; + } + leaf down_bports { + type uint32; + tailf:hidden "internal"; + } + leaf bports_not_connected { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping bundle_all_show { + list bundle_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Oper + R/S/P State + ------------------ + :Bundle Oper Plane Total Down Bundle Bundle + R/S/P State Id Links Links Port1 Port2 + -------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(.display_groups ~= fabric-brief ?$(bundle_id|ljust:12) $(oper_state|ljust:5):$(bundle_id|ljust:12) $(oper_state|ljust:5) $(plane_id|ljust:5) $(total_links|rjust:5) $(down_links|ljust:5) $(bport1|ljust:12) $(bport2|ljust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bundle_id { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_id { + type uint32; + tailf:hidden "internal"; + } + leaf total_links { + type uint32; + tailf:hidden "internal"; + } + leaf down_links { + type uint32; + tailf:hidden "internal"; + } + leaf bport1 { + type string; + tailf:hidden "internal"; + } + leaf bport2 { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_show { + list bport_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Port Admin Oper + R/S/P State State + -------------------------- + :Bundle Port Admin Oper Down + R/S/P State State Flags + --------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(bport_id|ljust:12) $(admin-state|ljust:6) $(oper_state|ljust:6)$(.display_groups ~= fabric-detail ? $(down_flags|rjust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf down_flags { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_stats_show { + list bport_stats_all_racks { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Total racks\\\\: $(total_racks) + + $(bport_stats_rack|show)"; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf total_racks { + type uint32; + tailf:hidden "internal"; + } + list bport_stats_rack { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Rack $(rack_num_str)\\\\: + + $(bport_stats|show) + "; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf rack_num_str { + type string; + tailf:hidden "internal"; + } + list bport_stats { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + Bundle Port In Out CE UCE PE + R/S/P Cells Cells Cells Cells Cells + ----------------------------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(.display_groups ~= fabric-brief ?$(bport_id|ljust:12) $(rx_data_cells|rjust:15) $(tx_data_cells|rjust:15) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)): + The fabric bundle port is $(bport_id) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Last clearing of statistics\\\\: $(last_clear_ts)) + "; + leaf idx { + type int64; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + } + + grouping fsdb_aggr_bundle { + container bundle { + tailf:callpoint "fabric_fsdb_aggr_bundle_cp"; + tailf:hidden "internal-command"; + container summary { + tailf:info "Show summary of bundle data."; + uses bundle_summary_show; + } + container all { + tailf:info "Show all fabric bundles."; + uses bundle_all_show; + } + container port { + tailf:info "Fabric bundle port option."; + container all { + tailf:info "Show all fabric bundle ports."; + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + list location { + key "loc_str"; + tailf:info "Bundle port location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + } + list location { + key "loc_str"; + tailf:info "Bundle location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bundle_all_show; + } + } + } + + grouping fsdb_aggr_clear { + container counter { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + container clear_statistics { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + } + + grouping fsdb_aggr { + container fsdbagg_active { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane"; + uses plane_show; + uses fsdb_aggr_bundle; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + container fsdbagg_link { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list port { + key "portname"; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + } + } + container fsdbagg_sfe_asic_type { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list asic_types { + key "asicname"; + leaf asicname { + type string; + } + leaf description { + type string; + default "asic."; + } + list block { + key "blockname"; + leaf blockname { + type string; + } + leaf description { + type string; + default "asic block."; + } + } + } + } + container fsdbagg_standby { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane_standby"; + uses plane_show; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + uses fabric_health; + uses fsdb_aggr_trace; + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fsdb_aggr"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator.yang new file mode 100644 index 0000000..f4e1857 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator.yang @@ -0,0 +1,1192 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator"; + prefix fabric_fsdb_aggr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-06-07 { + description + "Updated the relative path for instance_folded config"; + } + revision 2017-05-22 { + description + "Support added to place fabric link ports in maintenance."; + } + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + + grouping plane_show { + list plane { + key "planeid"; + max-elements "1024"; + tailf:hidden "internal-command"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-show-template + "$(.legend_shown != true ?$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-brief ? + Plane Admin Plane Plane up->dn up->mcast + Id State State Mode counter counter + -------------------------------------- + : + Plane Admin Plane Plane up->dn up->mcast Total Down PPU + Id State State Mode counter counter Bundles Bundles State + --------------------------------------------------------------- + )))$(.path ~= statistics ?$(.display_groups ~= fabric-brief ?$(planeid|rjust:2) $(rx_data_cells|rjust:20) $(tx_data_cells|rjust:20) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)) + : + The fabric plane number is $(planeid) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Total unicast lost cells\\\\: $(ucast_lost_cells) + Total multicast lost cells\\\\: $(mcast_lost_cells) + Asic internal drops\\\\: $(asic_internal_drops) + Asic internal error\\\\: $(is_asic_internal_error == false ? None: + +----------------------------------------------------------------------------+ + |Asic |CRC |Size|Mis |Code|No |No |Tokn|Err | | + |(R/S/A\\\\) |Err |Err |Alig|Grp |Sig |Sign|Err |Tokn| Last Error Found | + | | | |Err |Err |Lock|Acpt| |Cnt | | + +----------+----+----+----+----+----+----+----+----+-------------------------+ + $(asic_internal_error|show) +----------------------------------------------------------------------------+) + Last clearing of statistics\\\\: $(last_clear_ts) + Last clearing reason of statistics\\\\: $(last_clear_reason) + Last clearing request of statistics\\\\: $(last_clear_req_ts) + Last clearing request status of statistics\\\\: $(last_clear_status) + ):$(.display_groups ~= fabric-brief ?$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(plane_mode|ljust:5) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) + :$(planeid|ljust:5) $(admin-state|ljust:5) $(ucast_oper_state|ljust:8) $(plane_mode|rjust:5) $(ucast_cnt_dn|rjust:7) $(ucast_cnt_some_up|rjust:9) $(.path ~= fsdbagg_active ?$(total_bundles|rjust:6) $(down_bundles|rjust:6) :$(NA|rjust:6) $(NA|rjust:6) )$(ppu_state|ljust:10) + ))"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.path ~= statistics ?$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + In Out CE UCE PE + Plane Cells Cells Cells Cells Cells + -------------------------------------------------------------------------------- + : + * If uncorrectable errored cells have a very high value check link flap history + ):$(.display_groups ~= fabric-detail ? + Plane Admin Plane Plane up->dn up->mcast Total Down PPU + Id State State Mode counter counter Bundles Bundles State + ------------------------------------------------------------ + : + Plane Admin Plane Plane up->dn up->mcast + Id State State Mode counter counter + -------------------------------------- + ))"; + leaf planeid { + type fabric-types:plane_type; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf ucast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf mcast_oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf ucast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf ucast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_some_up { + type int32; + tailf:hidden "internal"; + } + leaf mcast_cnt_dn { + type int32; + tailf:hidden "internal"; + } + leaf total_bundles { + type int32; + tailf:hidden "internal"; + } + leaf down_bundles { + type int32; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf ucast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf mcast_lost_cells { + type uint32; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_reason { + type string; + tailf:hidden "internal"; + } + leaf last_clear_req_ts { + type string; + tailf:hidden "internal"; + } + leaf last_clear_status { + type string; + tailf:hidden "internal"; + } + leaf is_asic_internal_error { + type boolean; + tailf:hidden "internal"; + } + leaf asic_internal_drops { + type uint64; + tailf:hidden "internal"; + } + leaf asic_location_drops { + type string; + tailf:hidden "internal"; + } + leaf ppu_state { + type string; + tailf:hidden "internal"; + } + list asic_internal_error { + key "asic_number"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template " |$(asic_location|ljust:10)| $($(link_crc_error == true ? Y : N)|ljust:3)| $($(link_size_error == true ? Y : N)|ljust:3)| $($(link_mis_align_error == true ? Y : N)|ljust:3)| $($(link_code_group_error == true ? Y : N)|ljust:3)| $($(link_no_sig_lock_error == true ? Y : N)|ljust:3)| $($(link_no_sign_accept_error == true ? Y : N)|ljust:3)| $($(link_token_error == true ? Y : N)|ljust:3)| $($(error_token_count == true ? Y : N)|ljust:3)| $(last_asic_internal_error_ts|ljust:24)|\n"; + leaf asic_number { + type int64; + tailf:display-groups "fabric-detail"; + } + leaf asic_location { + type string; + tailf:hidden "internal"; + } + leaf link_crc_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_size_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_mis_align_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_code_group_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sig_lock_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_no_sign_accept_error { + type boolean; + tailf:hidden "internal"; + } + leaf link_token_error { + type boolean; + tailf:hidden "internal"; + } + leaf error_token_count { + type boolean; + tailf:hidden "internal"; + } + leaf last_asic_internal_error_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fsdb_agg_conf_plane { + list plane { + key "plane_id"; + description + "Set state of fabric plane"; + tailf:info "Set state of fabric plane"; + leaf plane_id { + type fabric-types:conf_plane_type; + } + leaf shutdown { + type empty; + description + "Shut down state."; + tailf:cli-full-command; + tailf:info "Shut down state."; + } + leaf b2b { + type empty; + must "not((/controller/fabric/fabric/fsdbagg/plane/instance) or (/controller/fabric/fabric/fsdbagg/plane/instance_folded))" { + error-message "instance S2 card already configured"; + tailf:dependency "."; + } + description + "Back to Back plane mode."; + tailf:cli-full-command; + tailf:info "Back to Back plane mode."; + } + list instance { + must "count(/controller/fabric/fabric/fsdbagg/plane/instance[location=current()/location])=1" { + error-message "instance S2 card already configured"; + tailf:dependency "."; + } + key "instance-id"; + description + "Multi-Chassis S2 configuration"; + leaf instance-id { + type fabric-types:conf_instance_type; + tailf:validate "fsdbagg_plane_instance_vp" { + tailf:dependency "../location"; + } + } + leaf location { + type fabric-types:conf_location_type; + tailf:cli-expose-key-name; + } + } + list instance_folded { + must "not((/controller/fabric/fabric/fsdbagg/plane/plane_id = 1) or (/controller/fabric/fabric/fsdbagg/plane/plane_id = 3) or (/controller/fabric/fabric/fsdbagg/plane/plane_id = 5))" { + error-message "Invalid folded plane id. Valid plane ids 0, 2 and 4"; + tailf:dependency "."; + } + must "count(/controller/fabric/fabric/fsdbagg/plane/instance_folded[location=current()/location])=1" { + error-message "instance S2 card already configured"; + tailf:dependency "."; + } + key "instance-id"; + description + "Multi-Chassis S2 Folded chassis configuration"; + tailf:hidden "advanced-grp"; + leaf instance-id { + type fabric-types:conf_folded_instance_type; + } + leaf location { + type fabric-types:conf_location_type; + tailf:cli-expose-key-name; + } + } + } + container link { + description + "Link configuration commands"; + tailf:info "Link configuration commands"; + container port { + description + "Set admin state of a fabric link port"; + tailf:info "Set admin state of a fabric link port"; + list location { + key "loc_str"; + tailf:cli-drop-node-name; + tailf:cli-no-key-completion; + leaf loc_str { + type fabric-types:link_port_location_type; + } + leaf shutdown { + type empty; + description + "Shut down state."; + tailf:info "Shut down state."; + tailf:cli-delete-container-on-delete; + } + leaf maintenance { + type empty; + description + "maintenance state."; + tailf:info "maintenance state."; + tailf:cli-delete-container-on-delete; + } + } + } + } + } + + grouping fabric_sys_plane_health { + list sys_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Admin|ljust:5) $(Plane|ljust:8) $(Racks|ljust:8) $(Data|ljust:10) + $(id|ljust:5) $(state|ljust:5) $(state|ljust:8) $(in issue|ljust:8) $(drop/error|ljust:10) + ----------------------------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(admin-state|ljust:5) $(plane_state|ljust:8) $(plane_mode|ljust:5) $(racks_w_plane_fault|ljust:8) $($(is_data_drop == true ?Yes:No)|ljust:10)\n"; + tailf:cli-show-template-footer "\\r -----------------------------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf racks_w_plane_fault { + type int32; + tailf:hidden "internal"; + } + leaf is_data_drop { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping fsdb_process_status { + list fsdb_status { + key "rack_id"; + tailf:callpoint "fsdb_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok:N)|rjust:2)|"; + leaf rack_id { + type int32; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + } + + grouping sfe_process_status { + list sfe_status { + key "rack_id"; + tailf:callpoint "sfe_health"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(status == true ?Ok:N)|rjust:2)|"; + leaf rack_id { + type int32; + } + leaf status { + type boolean; + tailf:hidden "internal"; + } + } + list sfe_drvr_loc { + key "loc_str"; + tailf:callpoint "sfe_health_drvr_loc"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$($(loc_str)|rjust:5)|"; + leaf loc_str { + type string; + } + } + list sfe_fm_sep { + key "loc_str"; + tailf:callpoint "sfe_health_fm_sep"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "-----+"; + leaf loc_str { + type string; + } + } + } + + grouping rack_plane_num_amba_reachable { + list reachable_amba { + key "idx"; + tailf:callpoint "fabric_health_fsdb"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(num_reachable|ljust:6)"; + leaf idx { + type int32; + } + leaf num_reachable { + type int32; + tailf:hidden "internal"; + } + } + } + + grouping fabric_rack_plane_health { + list rack_plane_info_list { + key "plane_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " $(Plane|ljust:5) $(Plane|ljust:8) $(SFE Asics|ljust:12) $(Fab ids|ljust:9) + $(id|ljust:5) $(state|ljust:8) $(T/U/D|ljust:12) $(Reachable|ljust:9) + -------------------------------------- + "; + tailf:cli-show-template " $(plane_id|ljust:5) $(plane_state|ljust:8) $(plane_mode|ljust:5) $($(asics_total)/$(asics_up)/$(asics_dn)|ljust:12) $(reachable_amba|show)\n"; + tailf:cli-show-template-footer "\\r --------------------------------------\n"; + leaf plane_id { + type int32; + } + leaf plane_state { + type string; + tailf:hidden "internal"; + } + leaf plane_mode { + type string; + tailf:hidden "internal"; + } + leaf asics_total { + type int32; + tailf:hidden "internal"; + } + leaf asics_up { + type int32; + tailf:hidden "internal"; + } + leaf asics_dn { + type int32; + tailf:hidden "internal"; + } + uses rack_plane_num_amba_reachable; + } + } + + grouping fabric_rack_health { + list rack_info_list { + key "rack_id"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "Rack Health\\\\: + ------------- + "; + tailf:cli-show-template + " Rack\\\\: $(rack_name), Type\\\\: $(rack_type) + + $(rack_type ~= LCC ? $(SFE Asics|ljust:10) $(FIA Asics|ljust:15) $(Planes|ljust:6) + $(T/U/D|ljust:10) $(T/U/D/V|ljust:15) $(U/M/D|ljust:6) + ------------------------------------------ + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)/$(amba_valid)|ljust:15) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)|ljust:6) + + $(show_rack_plane_detail == true ?$(rack_plane_info_list|show) + ): $(SFE Asics|ljust:10) + $(T/U/D|ljust:10) + ----------------- + $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:10) + ) + "; + leaf rack_id { + type int32; + } + leaf rack_name { + type string; + tailf:hidden "internal"; + } + leaf rack_type { + type string; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type int32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type int32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_rack_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf amba_valid { + type int32; + tailf:hidden "internal"; + } + uses fabric_rack_plane_health; + } + } + + grouping fabric_health { + container fab_health { + tailf:callpoint "fabric_health"; + tailf:cli-full-show-path; + tailf:hidden "internal-command"; + list sys_info_list { + key "index_key"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Fabric System Health + --------------------- + $(Flags:|ljust:6) $(T - Total,|ljust:15) $(U - Up,|ljust:15) $(A - Admin Down|ljust:15) + $( |ljust:6) $(L - LCC,|ljust:15) $(M - Mcast Down,|ljust:15) $(Y - Yes|ljust:15) + $( |ljust:6) $(F - FCC,|ljust:15) $(D - Down,|ljust:15) $(N - No or Not Ok|ljust:15) + $( |ljust:6) $(V - Valid,|ljust:15) + + "; + tailf:cli-show-template + "Collaborator Process State\\\\: + ------------------------------ + FSDB Aggregator\\\\:$(aggr_status == true ? OK: Not OK) + +-----------+$(rack_id_separator) + |Rack id |$(available_rack_ids) + +-----------+$(rack_id_separator) + |FSDB status|$(fsdb_status|show) + +-----------+$(rack_id_separator) + |SFE status |$(sfe_status|show) + +-----------+$(rack_id_separator) + + Router Health\\\\: + ----------------- + + $(Rack|ljust:7) $(Planes|ljust:7) $(SFE Asics|ljust:14) $(Fia Asics|ljust:14) + $(T/L/F|ljust:7) $(U/M/D/A|ljust:7) $(T/U/D|ljust:14) $(T/U/D|ljust:14) + ------------------------------------------------------ + $($(rack_total)/$(rack_lcc)/$(rack_fcc)|ljust:7) $($(plane_up)/$(plane_mcast_dn)/$(plane_dn)/$(plane_admin_dn)|ljust:7) $($(sfe_asics_total)/$(sfe_asics_up)/$(sfe_asics_dn)|ljust:14) $($(fia_asics_total)/$(fia_asics_up)/$(fia_asics_dn)|ljust:14) + + $(show_sys_plane_detail == true ?$(sys_plane_info_list|show) + )$(rack_info_list|show) + "; + leaf index_key { + type int32; + } + leaf aggr_status { + type boolean; + tailf:hidden "internal"; + } + leaf available_rack_ids { + type string; + tailf:hidden "internal"; + } + leaf rack_id_separator { + type string; + tailf:hidden "internal"; + } + leaf available_fm_loc { + type string; + tailf:hidden "internal"; + } + leaf fm_loc_separator { + type string; + tailf:hidden "internal"; + } + leaf rack_total { + type uint32; + tailf:hidden "internal"; + } + leaf rack_lcc { + type uint32; + tailf:hidden "internal"; + } + leaf rack_fcc { + type uint32; + tailf:hidden "internal"; + } + leaf plane_up { + type uint32; + tailf:hidden "internal"; + } + leaf plane_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_mcast_dn { + type uint32; + tailf:hidden "internal"; + } + leaf plane_admin_dn { + type uint32; + tailf:hidden "internal"; + } + leaf show_sys_plane_detail { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf sfe_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf sfe_asics_dn { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_total { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_up { + type uint32; + tailf:hidden "internal"; + } + leaf fia_asics_dn { + type uint32; + tailf:hidden "internal"; + } + uses fabric_sys_plane_health; + uses fabric_rack_health; + uses fsdb_process_status; + uses sfe_process_status; + } + } + } + + grouping fsdb_agg_plane_clear { + list plane { + key "planeid"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf planeid { + type fabric-types:plane_type; + } + tailf:action "clear_counter" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + tailf:action "clear_stats" { + tailf:actionpoint "fabric_fsdb_aggr_clear"; + input; + output; + } + } + } + + grouping fsdb_aggr_trace { + container fsdb-aggregator { + description + "FSDB Aggregator information"; + tailf:hidden "internal-command"; + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:info "FSDB Aggregator informaiton"; + container fsdbagg { + tailf:cli-incomplete-show-path; + tailf:cli-incomplete-command; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + } + + grouping fsdb_aggr_ppu { + container ppu { + description + "Plane by plane upgrade."; + tailf:info "Plane by plane upgrade."; + tailf:action "start" { + tailf:info "Start PPU."; + description + "Start PPU."; + tailf:confirm-text "Start Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + tailf:action "force" { + tailf:info "Force PPU."; + description + "Force PPU."; + tailf:confirm-text "Force Plane by Plane Upgrade ?" { + tailf:confirm-default "false"; + } + tailf:actionpoint "fabric_ap"; + input; + output { + leaf PPU { + type string; + } + } + } + } + } + + grouping bundle_summary_show { + list bundle_summary_list { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "Total Down Bundle not Total Down Bport not + Bundles Bundles connected Bports Bports connected + ------------------------------------------------------- + "; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(total_bundles|ljust:8) $(down_bundles|ljust:8) $(bundles_not_connected|ljust:11) $(total_bports|ljust:7) $(down_bports|ljust:7) $(bports_not_connected|ljust:10)\n"; + leaf idx { + type int32; + } + leaf total_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf down_bundles { + type uint32; + tailf:hidden "internal"; + } + leaf bundles_not_connected { + type uint32; + tailf:hidden "internal"; + } + leaf total_bports { + type uint32; + tailf:hidden "internal"; + } + leaf down_bports { + type uint32; + tailf:hidden "internal"; + } + leaf bports_not_connected { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping bundle_all_show { + list bundle_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Oper + R/S/P State + ------------------ + :Bundle Oper Plane Total Down Bundle Bundle + R/S/P State Id Links Links Port1 Port2 + -------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(.display_groups ~= fabric-brief ?$(bundle_id|ljust:12) $(oper_state|ljust:5):$(bundle_id|ljust:12) $(oper_state|ljust:5) $(plane_id|ljust:5) $(total_links|rjust:5) $(down_links|ljust:5) $(bport1|ljust:12) $(bport2|ljust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bundle_id { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf plane_id { + type uint32; + tailf:hidden "internal"; + } + leaf total_links { + type uint32; + tailf:hidden "internal"; + } + leaf down_links { + type uint32; + tailf:hidden "internal"; + } + leaf bport1 { + type string; + tailf:hidden "internal"; + } + leaf bport2 { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_show { + list bport_all_list { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ?Bundle Port Admin Oper + R/S/P State State + -------------------------- + :Bundle Port Admin Oper Down + R/S/P State State Flags + --------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(bport_id|ljust:12) $(admin-state|ljust:6) $(oper_state|ljust:6)$(.display_groups ~= fabric-detail ? $(down_flags|rjust:12))\n"; + leaf idx { + type int64; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf down_flags { + type string; + tailf:hidden "internal"; + } + } + } + + grouping bport_all_stats_show { + list bport_stats_all_racks { + key "idx"; + tailf:display-groups "fabric-brief fabric-detail"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Total racks\\\\: $(total_racks) + + $(bport_stats_rack|show)"; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:cli-disallow-value "(fabric-brief)|(fabric-detail)"; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf total_racks { + type uint32; + tailf:hidden "internal"; + } + list bport_stats_rack { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template + "Rack $(rack_num_str)\\\\: + + $(bport_stats|show) + "; + tailf:cli-show-template-enter ""; + leaf idx { + type int32; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf rack_num_str { + type string; + tailf:hidden "internal"; + } + list bport_stats { + key "idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "$(.display_groups ~= fabric-brief ? + $( |rjust:4)Flags\\\\: E-D - Exceeded display width. + $( |rjust:18)Check detail option. + + Bundle Port In Out CE UCE PE + R/S/P Cells Cells Cells Cells Cells + ----------------------------------------------------------------------------- + )"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(.display_groups ~= fabric-brief ?$(bport_id|ljust:12) $(rx_data_cells|rjust:15) $(tx_data_cells|rjust:15) $(rx_ce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_ce_cells|rjust:10)) $(rx_uce_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_uce_cells|rjust:10)) $(rx_pe_cells_is_overflow == true ?$(E-D|rjust:10):$(rx_pe_cells|rjust:10)): + The fabric bundle port is $(bport_id) + Total received data cells\\\\: $(rx_data_cells) + Total transmitted data cells\\\\: $(tx_data_cells) + Total received correctable errored cells\\\\: $(rx_ce_cells) + Total received uncorrectable errored cells\\\\: $(rx_uce_cells) + Total received parity error cells\\\\: $(rx_pe_cells) + Last clearing of statistics\\\\: $(last_clear_ts)) + "; + leaf idx { + type int64; + tailf:display-groups "fabric-brief fabric-detail"; + } + leaf bport_id { + type string; + tailf:hidden "internal"; + } + leaf rx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf tx_data_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_ce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_ce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_uce_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_uce_cells { + type uint64; + tailf:hidden "internal"; + } + leaf rx_pe_cells_is_overflow { + type boolean; + tailf:hidden "internal"; + } + leaf rx_pe_cells { + type uint64; + tailf:hidden "internal"; + } + leaf last_clear_ts { + type string; + tailf:hidden "internal"; + } + } + } + } + } + + grouping fsdb_aggr_bundle { + container bundle { + tailf:callpoint "fabric_fsdb_aggr_bundle_cp"; + tailf:hidden "internal-command"; + container summary { + tailf:info "Show summary of bundle data."; + uses bundle_summary_show; + } + container all { + tailf:info "Show all fabric bundles."; + uses bundle_all_show; + } + container port { + tailf:info "Fabric bundle port option."; + container all { + tailf:info "Show all fabric bundle ports."; + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + list location { + key "loc_str"; + tailf:info "Bundle port location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bport_all_show; + container statistics { + tailf:info "Statistics option."; + uses bport_all_stats_show; + } + } + } + list location { + key "loc_str"; + tailf:info "Bundle location R/S/P."; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf loc_str { + type fabric-types:bundle_location_type; + } + uses bundle_all_show; + } + } + } + + grouping fsdb_aggr_clear { + container counter { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + container clear_statistics { + config false; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_clear"; + uses fsdb_agg_plane_clear; + } + } + + grouping fsdb_aggr { + container fsdbagg_active { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane"; + uses plane_show; + uses fsdb_aggr_bundle; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + container fsdbagg_link { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list port { + key "portname"; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + } + } + container fsdbagg_sfe_asic_type { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_system_info"; + list asic_types { + key "asicname"; + leaf asicname { + type string; + } + leaf description { + type string; + default "asic."; + } + list block { + key "blockname"; + leaf blockname { + type string; + } + } + } + } + container fsdbagg_standby { + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_aggr_plane_standby"; + uses plane_show; + container statistics { + tailf:hidden "internal-command"; + uses plane_show; + } + } + uses fabric_health; + uses fsdb_aggr_trace; + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fsdb_aggr"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500.yang new file mode 100644 index 0000000..37adbe3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500.yang @@ -0,0 +1,819 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server"; + prefix fabric_fsdb; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping link_port_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + tailf:cli-show-template + "$(.legend_shown != true ? + Description\\\\: + Ch - Channel, Sx - Slice/bus #, Px - Port # within slice/bus + DN - Down, LI - Lane into CDR, LO - Lane out of CDR + + $(.path ~= fia ?Fia Port Admin Near-end Other End + R/S/A/P /Oper CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI : state LI-Sx-Px-LO ) + ------------------------------------------------------:SFE port Admin Near-end Near Far Far-end Other End + R/S/A/P /Oper CDR -end -end CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI PHY/Ln PHY/Ln LO-Sx-Px-LI : state LI-Sx-Px-LO PHY/Ln PHY/Ln LI-Sx-Px-LO ) + ------------------------------------------------------------------------------) + )$(sfe_port|ljust:14) $(admin-state|rjust:2)/$(oper_state|ljust:2) $(near_end_cdr_ln|ljust:11) $(.path ~= fia ?:$(near_end_cxp_ch|ljust:6) $(far_end_cxp_ch|ljust:6) $(far_end_cdr_ln|ljust:11) )$(neighbor_link|ljust:14)$(.path ~= detail ? + +-----------------------------------------------------------------------+ + | Timestamp Event\\\\(s\\\\) | + +-----------------------------------------------------------------------+$(history|show) + ) + "; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + " + Description\\\\: + Ch - Channel, Sx - Slice/bus #, Px - Port # within slice/bus + DN - Down, LI - Lane into CDR, LO - Lane out of CDR + + $(.path ~= fia ?Fia Port Admin Near-end Other End + R/S/A/P /Oper CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI : state LI-Sx-Px-LO ) + ------------------------------------------------------:SFE port Admin Near-end Near Far Far-end Other End + R/S/A/P /Oper CDR -end -end CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI PHY/Ln PHY/Ln LO-Sx-Px-LI : state LI-Sx-Px-LO PHY/Ln PHY/Ln LI-Sx-Px-LO ) + ------------------------------------------------------------------------------) + "; + leaf port_data_idx { + type int64; + } + leaf sfe_port { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf near_end_cdr_ln { + type string; + tailf:hidden "internal"; + } + leaf near_end_cxp_ch { + type string; + tailf:hidden "internal"; + } + leaf far_end_cxp_ch { + type string; + tailf:hidden "internal"; + } + leaf far_end_cdr_ln { + type string; + tailf:hidden "internal"; + } + leaf neighbor_link { + type string; + tailf:hidden "internal"; + } + list history { + key "history_idx"; + tailf:cli-show-template + " + $(time_stamp|ljust:30) $(admin-state|ljust:10) $(oper_state|ljust:10) $(error_state)"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf error_state { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping link_port_stats_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "$(.path ~= brief ? + SFE Port In Data Out Data CE UCE CRC + R/S/A/P Cells Cells Cells Cells Errors + ------------------------------------------------------------------------ + )"; + tailf:cli-show-template + "$(.legend_shown != true ?$(.path ~= brief ? + SFE Port In Data Out Data CE UCE CRC + R/S/A/P Cells Cells Cells Cells Errors + ------------------------------------------------------------------------ + ))$(.path ~= brief ?$(sfe_port|ljust:14) $(RX_Data_cell_counter|rjust:13) $(TX_Data_cell_counter|rjust:13) $(RX_LFEC_FEC_correctable_error|rjust:9) $(RX_LFEC_FEC_uncorrectable_errors|rjust:9) $(RX_CRC_errors_counter|rjust:9):The fabric link port\\\\: $(sfe_port) + Total TX control cells \\\\: $(TX_Control_cells_counter) + Total TX data cells \\\\: $(TX_Data_cell_counter) + Total TX data bytes \\\\: $(TX_Data_byte_counter) + Total RX CRC errors \\\\: $(RX_CRC_errors_counter) + Total RX correctable errror \\\\: $(RX_LFEC_FEC_correctable_error) + Total RX 8b_10b disparity errror \\\\: $(RX_8b_10b_disparity_errors) + Total RX control cells \\\\: $(RX_Control_cells_counter) + Total RX data cells \\\\: $(RX_Data_cell_counter) + Total RX data bytes \\\\: $(RX_Data_byte_counter) + Total RX dropped re-xmit control \\\\: $(RX_dropped_retransmitted_control) + Total TX Asyn fifo rate \\\\: $(TX_Asyn_fifo_rate) + Total RX Asyn fifo rate \\\\: $(RX_Asyn_fifo_rate) + Total RX uncorrectable errror \\\\: $(RX_LFEC_FEC_uncorrectable_errors) + Total RX 8b_10b code error \\\\: $(RX_8b_10b_code_errors) + $(is_link_error != false ? + + Link $(sfe_port) has errors\\\\: + CRC Error \\\\: $(link_crc_error) + Size Error \\\\: $(link_size_error) + Miss_align Error \\\\: $(link_mis_align_error) + Code_group Error \\\\: $(link_code_group_error) + No_sig_lock Error \\\\: $(link_no_sig_lock_error) + No_sig_accept Error \\\\: $(link_no_sig_accept_error) + Tokens Error \\\\: $(link_tokens_error) + Error token count \\\\: $(error_token_count) + )) + "; + leaf port_data_idx { + type int64; + } + leaf rack_num { + type string; + tailf:hidden "internal"; + } + leaf sfe_port { + type string; + tailf:hidden "internal"; + } + leaf TX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_CRC_errors_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_correctable_error { + type uint64; + tailf:hidden "internal"; + } + leaf RX_8b_10b_disparity_errors { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_dropped_retransmitted_control { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_uncorrectable_errors { + type uint64; + tailf:hidden "internal"; + } + leaf RX_8b_10b_code_errors { + type uint64; + tailf:hidden "internal"; + } + leaf is_link_error { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf link_crc_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_size_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_mis_align_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_code_group_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_no_sig_lock_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_no_sig_accept_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_tokens_error { + type uint32; + tailf:hidden "internal"; + } + leaf error_token_count { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping fabric_link_port_show_with_option { + uses link_port_show; + container brief { + tailf:info "brief information"; + uses link_port_show; + } + container detail { + tailf:info "detail information"; + uses link_port_show; + } + } + + grouping fabric_link_port_states { + container state { + tailf:info "State of the link"; + tailf:cli-incomplete-show-path; + container up { + tailf:info "link oper state up"; + uses fabric_link_port_show_with_option; + } + container down { + tailf:info "link oper state down"; + uses fabric_link_port_show_with_option; + } + container mismatch { + tailf:info "link oper/admin state mismatch"; + uses fabric_link_port_show_with_option; + } + } + } + + grouping asic_status_show { + list asic_list { + key "asic_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Sfe Admin Oper + R/S/A State State + ----------------------------- + "; + tailf:cli-show-template + "$(asic_loc_str|ljust:14) $(admin-state|ljust:8) $(oper_state|ljust:7)$(.path ~= detail ? + +-----------------------------------------------------------------------+ + | Timestamp Event\\\\(s\\\\) | + +-----------------------------------------------------------------------+$(history|show) + ) + "; + leaf asic_idx { + type int64; + } + leaf asic_loc_str { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf down_flags { + type string; + tailf:hidden "internal"; + } + leaf fab_group { + type string; + tailf:hidden "internal"; + } + list history { + key "history_idx"; + tailf:cli-show-template + " + $(time_stamp|ljust:30) $(admin-state|ljust:10) $(oper_state|ljust:10) $(error_state)"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf error_state { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fsdb_svr_trace { + container fsdb_srvr { + description + "FSDB Server information"; + tailf:hidden "internal-command"; + tailf:info "FSDB Server information"; + tailf:cli-incomplete-show-path; + container fsdb_server { + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + } + + grouping fsdb_pla_reachability_show { + list planes { + key "plane_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(show_fabid == true ?Fab id\\\\: $(fabid_name) + ======================== + )plane id\\\\:$(plane_num), Stage\\\\: $(asic_stage) + --------------------------------------------------------------------------- + Asic mask type mask Links + --------------------------------------------------------------------------- + $(cards|show) + "; + leaf plane_idx { + type int32; + } + leaf plane_num { + type int32; + tailf:hidden "internal"; + } + leaf fabid_name { + type string; + tailf:hidden "internal"; + } + leaf show_fabid { + type boolean; + tailf:hidden "internal"; + } + leaf asic_stage { + type string; + tailf:hidden "internal"; + } + list cards { + key "card_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(asics|show)"; + leaf card_idx { + type int32; + } + list asics { + key "asic_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(asic_idx|ljust:8) Reachability \\\\: 0x$(reachability_mask|ljust:40) $(total_links|rjust:6)\n"; + leaf asic_idx { + type int32; + } + leaf asic_RSA { + type string; + tailf:hidden "internal"; + } + leaf reachability_mask { + type string; + tailf:hidden "internal"; + } + leaf linkup_mask { + type string; + tailf:hidden "internal"; + } + leaf all_reach_mask { + type string; + tailf:hidden "internal"; + } + leaf total_links { + type int32; + tailf:hidden "internal"; + } + leaf total_up_links { + type int32; + tailf:hidden "internal"; + } + leaf total_all_reach_links { + type int32; + tailf:hidden "internal"; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + } + } + } + } + } + + grouping fabric_link_state_and_statistics_show_w_loc { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + tailf:display-when "../../../portname != 'fia'"; + tailf:info "link statistics"; + uses link_port_stats_show; + container brief { + tailf:info "brief statistics"; + uses link_port_stats_show; + } + container detail { + tailf:info "detail statistics"; + uses link_port_stats_show; + } + } + } + + grouping fabric_link_state_and_statistics_show { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + tailf:display-when "../../portname != 'fia'"; + tailf:info "link statistics"; + uses link_port_stats_show; + container brief { + tailf:info "brief statistics"; + uses link_port_stats_show; + } + container detail { + tailf:info "detail statistics"; + uses link_port_stats_show; + } + } + } + + grouping fabric_link_port_state_and_stats { + list port { + key "portname"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:info "Fabric Link port"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + list location { + key "loc_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:info "Link port location"; + leaf loc_str { + type fabric-types:link_port_location_type; + } + container rx { + description + "Rx link option"; + tailf:info "Rx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + container tx { + description + "Tx link option"; + tailf:info "Tx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + } + container rx { + description + "Rx link option"; + tailf:info "Rx link option"; + uses fabric_link_state_and_statistics_show; + } + container tx { + description + "Tx link option"; + tailf:info "Tx link option"; + uses fabric_link_state_and_statistics_show; + } + } + } + + grouping fsdb_svr { + container link { + description + "Fabric link option"; + tailf:hidden "internal-command"; + tailf:cli-incomplete-show-path; + tailf:info "Fabric link option"; + list rack { + key "rack_number"; + tailf:callpoint "fabric_fsdb_link"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + uses fabric_link_port_state_and_stats; + } + list node_location { + key "node_str"; + tailf:callpoint "fabric_sfe_link_port_stats_cp"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf node_str { + type string; + } + uses fabric_link_port_state_and_stats; + } + } + container sfe { + description + "Switch Fabric Element option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_sfe"; + tailf:cli-incomplete-show-path; + tailf:info "Switch Fabric Element option"; + list rack { + key "rack_number"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_name"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf asic_stage_name { + type fabric-types:asic_stage_type; + } + list location { + key "loc_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-incomplete-show-path; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:asic_location_type; + } + uses asic_status_show; + container brief { + tailf:info "Brief information"; + uses asic_status_show; + } + container detail { + tailf:info "Detail information"; + uses asic_status_show; + } + } + uses asic_status_show; + container brief { + tailf:info "Brief information"; + uses asic_status_show; + } + container detail { + tailf:info "Detail information"; + uses asic_status_show; + } + } + } + } + container fsdb_pla { + description + "plane availability status option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_pla"; + tailf:cli-incomplete-show-path; + tailf:info "plane availability status option"; + list rack { + key "rack_number"; + description + "Rack"; + tailf:info "Rack"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_idx"; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "Description: + planes \\\\: p0-p(3|5) + plane mask : Asic # 0-5 + Asic value 1: destination reachable via asic + .: destination unreachable via asic + "; + tailf:cli-show-template + "$(.legend_shown != true ?Description\\\\: + $(plane_number == 4 ? planes \\\\: p0-p3 + )$(plane_number == 6 ? planes \\\\: p0-p5 + ) plane mask \\\\: Asic # 0-5 + Asic value 1\\\\: destination reachable via asic + .\\\\: destination unreachable via asic + )Rack\\\\: $(rack_number), Stage\\\\: $(asic_stage_name) + ============================= + $(plane_number == 6 ?Destination p0 p1 p2 p3 p4 p5 Reach-mask Oper Up + Address mask mask mask mask mask mask links/asic links/asic + Fabid(R/S/A\\\\) 012345 012345 012345 012345 012345 012345 Mn/x Total Mn/x Total + -------------------------------------------------------------------------------- + $(fabids|show)$(down_fabids|show) + )$(plane_number == 4 ?Destination p0 p1 p2 p3 Reach-mask Oper Up + Address mask mask mask mask links/asic links/asic + Fabid(R/S/A\\\\) 012345 012345 012345 012345 Mn/Mx Total Mn/Mx Total + ------------------------------------------------------------------- + $(fabids|show)$(down_fabids|show) + )"; + leaf asic_stage_idx { + type fabric-types:sfe_stage_type; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + tailf:hidden "internal"; + } + leaf rack_number { + type string; + tailf:hidden "internal"; + } + leaf plane_number { + type int32; + tailf:hidden "internal"; + } + list fabids { + key "idx"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(fabid_address|ljust:16)$(plane_num == 4 ?$(plane_0_mask|ljust:6) $(plane_1_mask|ljust:6) $(plane_2_mask|ljust:6) $(plane_3_mask|ljust:6) )$(plane_num == 6 ?$(plane_0_mask|ljust:6) $(plane_1_mask|ljust:6) $(plane_2_mask|ljust:6) $(plane_3_mask|ljust:6) $(plane_4_mask|ljust:6) $(plane_5_mask|ljust:6) )$(min_links_per_asic|rjust:2)/$(max_links_per_asic|ljust:2) $(total_links|rjust:3) $(min_up_links_per_asic|rjust:3)/$(max_up_links_per_asic|ljust:3) $(total_up_links|rjust:4) \n"; + leaf idx { + type int32; + tailf:cli-drop-node-name; + } + leaf fabid_address { + type string; + tailf:hidden "internal"; + } + leaf plane_num { + type int32; + tailf:hidden "internal"; + } + leaf plane_0_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_1_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_2_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_3_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_4_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_5_mask { + type string; + tailf:hidden "internal"; + } + leaf min_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf max_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf total_links { + type int32; + tailf:hidden "internal"; + } + leaf min_up_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf max_up_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf total_up_links { + type int32; + tailf:hidden "internal"; + } + } + list down_fabids { + key "idx"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(fabid_address|ljust:16)$(fabid_status|ljust)\n"; + leaf idx { + type int32; + tailf:cli-drop-node-name; + } + leaf fabid_address { + type string; + tailf:hidden "internal"; + } + leaf fabid_status { + type string; + tailf:hidden "internal"; + } + } + list destination { + key "amba_id"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf amba_id { + type fabric-types:fabric_fabid_type; + } + uses fsdb_pla_reachability_show; + } + } + } + } + uses fsdb_svr_trace; + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fsdb"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502.yang new file mode 100644 index 0000000..ed25ff5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502.yang @@ -0,0 +1,525 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server"; + prefix fabric_fsdb; + + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping link_port_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + leaf port_data_idx { + type int64; + } + leaf sfe_port { + type string; + } + leaf admin-state { + type string; + } + leaf oper_state { + type string; + } + leaf near_end_cdr_ln { + type string; + } + leaf near_end_cxp_ch { + type string; + } + leaf far_end_cxp_ch { + type string; + } + leaf far_end_cdr_ln { + type string; + } + leaf neighbor_link { + type string; + } + list history { + key "history_idx"; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + } + leaf admin-state { + type string; + } + leaf oper_state { + type string; + } + leaf error_state { + type string; + } + } + } + } + + grouping link_port_stats_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + leaf port_data_idx { + type int64; + } + leaf rack_num { + type string; + } + leaf sfe_port { + type string; + } + leaf TX_Control_cells_counter { + type uint64; + } + leaf TX_Data_cell_counter { + type uint64; + } + leaf TX_Data_byte_counter { + type uint64; + } + leaf RX_CRC_errors_counter { + type uint64; + } + leaf RX_LFEC_FEC_correctable_error { + type uint64; + } + leaf RX_8b_10b_disparity_errors { + type uint64; + } + leaf RX_Control_cells_counter { + type uint64; + } + leaf RX_Data_cell_counter { + type uint64; + } + leaf RX_Data_byte_counter { + type uint64; + } + leaf RX_dropped_retransmitted_control { + type uint64; + } + leaf TX_Asyn_fifo_rate { + type uint64; + } + leaf RX_Asyn_fifo_rate { + type uint64; + } + leaf RX_LFEC_FEC_uncorrectable_errors { + type uint64; + } + leaf RX_8b_10b_code_errors { + type uint64; + } + leaf is_link_error { + type boolean; + default "false"; + } + leaf link_crc_error { + type uint32; + } + leaf link_size_error { + type uint32; + } + leaf link_mis_align_error { + type uint32; + } + leaf link_code_group_error { + type uint32; + } + leaf link_no_sig_lock_error { + type uint32; + } + leaf link_no_sig_accept_error { + type uint32; + } + leaf link_tokens_error { + type uint32; + } + leaf error_token_count { + type uint32; + } + } + } + + grouping fabric_link_port_show_with_option { + uses link_port_show; + container brief { + uses link_port_show; + } + container detail { + uses link_port_show; + } + } + + grouping fabric_link_port_states { + container state { + container up { + uses fabric_link_port_show_with_option; + } + container down { + uses fabric_link_port_show_with_option; + } + container mismatch { + uses fabric_link_port_show_with_option; + } + } + } + + grouping asic_status_show { + list asic_list { + key "asic_idx"; + leaf asic_idx { + type int64; + } + leaf asic_loc_str { + type string; + } + leaf admin-state { + type string; + } + leaf oper_state { + type string; + } + leaf down_flags { + type string; + } + leaf fab_group { + type string; + } + list history { + key "history_idx"; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + } + leaf admin-state { + type string; + } + leaf oper_state { + type string; + } + leaf error_state { + type string; + } + } + } + } + + grouping fsdb_svr_trace { + container fsdb_srvr { + description + "FSDB Server information"; + container fsdb_server { + uses show-trace:traceable; + } + } + } + + grouping fsdb_pla_reachability_show { + list planes { + key "plane_idx"; + leaf plane_idx { + type int32; + } + leaf plane_num { + type int32; + } + leaf fabid_name { + type string; + } + leaf show_fabid { + type boolean; + } + leaf asic_stage { + type string; + } + list cards { + key "card_idx"; + leaf card_idx { + type int32; + } + list asics { + key "asic_idx"; + leaf asic_idx { + type int32; + } + leaf asic_RSA { + type string; + } + leaf reachability_mask { + type string; + } + leaf linkup_mask { + type string; + } + leaf all_reach_mask { + type string; + } + leaf total_links { + type int32; + } + leaf total_up_links { + type int32; + } + leaf total_all_reach_links { + type int32; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + } + } + } + } + } + + grouping fabric_link_state_and_statistics_show_w_loc { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + uses link_port_stats_show; + container brief { + uses link_port_stats_show; + } + container detail { + uses link_port_stats_show; + } + } + } + + grouping fabric_link_state_and_statistics_show { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + uses link_port_stats_show; + container brief { + uses link_port_stats_show; + } + container detail { + uses link_port_stats_show; + } + } + } + + grouping fabric_link_port_state_and_stats { + list port { + key "portname"; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + list location { + key "loc_str"; + leaf loc_str { + type fabric-types:link_port_location_zermatt_type_for_yang; + } + container rx { + description + "Rx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + container tx { + description + "Tx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + } + container rx { + description + "Rx link option"; + uses fabric_link_state_and_statistics_show; + } + container tx { + description + "Tx link option"; + uses fabric_link_state_and_statistics_show; + } + } + } + + grouping fsdb_svr { + container link { + description + "Fabric link option"; + list rack { + key "rack_number"; + leaf rack_number { + type int32; + } + uses fabric_link_port_state_and_stats; + } + list node_location { + key "node_str"; + leaf node_str { + type string; + } + uses fabric_link_port_state_and_stats; + } + } + container sfe { + description + "Switch Fabric Element option"; + list rack { + key "rack_number"; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_name"; + leaf asic_stage_name { + type fabric-types:asic_stage_type; + } + list location { + key "loc_str"; + leaf loc_str { + type fabric-types:asic_location_zermatt_type; + } + uses asic_status_show; + container brief { + uses asic_status_show; + } + container detail { + uses asic_status_show; + } + } + uses asic_status_show; + container brief { + uses asic_status_show; + } + container detail { + uses asic_status_show; + } + } + } + } + container fsdb_pla { + description + "plane availability status option"; + list rack { + key "rack_number"; + description + "Rack"; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_idx"; + leaf asic_stage_idx { + type fabric-types:sfe_stage_type; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + } + leaf rack_number { + type string; + } + leaf plane_number { + type int32; + } + list fabids { + key "idx"; + leaf idx { + type int32; + } + leaf fabid_address { + type string; + } + leaf plane_num { + type int32; + } + leaf plane_0_mask { + type string; + } + leaf plane_1_mask { + type string; + } + leaf plane_2_mask { + type string; + } + leaf plane_3_mask { + type string; + } + leaf plane_4_mask { + type string; + } + leaf plane_5_mask { + type string; + } + leaf min_links_per_asic { + type int32; + } + leaf max_links_per_asic { + type int32; + } + leaf total_links { + type int32; + } + leaf min_up_links_per_asic { + type int32; + } + leaf max_up_links_per_asic { + type int32; + } + leaf total_up_links { + type int32; + } + } + list down_fabids { + key "idx"; + leaf idx { + type int32; + } + leaf fabid_address { + type string; + } + leaf fabid_status { + type string; + } + } + list destination { + key "amba_id"; + leaf amba_id { + type fabric-types:fabric_fabid_type; + } + uses fsdb_pla_reachability_show; + } + } + } + } + uses fsdb_svr_trace; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server.yang new file mode 100644 index 0000000..1266d0f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server.yang @@ -0,0 +1,896 @@ +module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server"; + prefix fabric_fsdb; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-types { + prefix fabric-types; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show-trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping link_port_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + tailf:cli-show-template + "$(.legend_shown != true ? + Description\\\\: + Ch - Channel, Sx - Slice/bus #, Px - Port # within slice/bus + DN - Down, LI - Lane into CDR, LO - Lane out of CDR + + $(.path ~= fia ?Fia Port Admin Near-end Other End + R/S/A/P /Oper CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI : state LI-Sx-Px-LO ) + ------------------------------------------------------:SFE port Admin Near-end Near Far Far-end Other End + R/S/A/P /Oper CDR -end -end CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI CXP/Ch CXP/Ch LO-Sx-Px-LI : state LI-Sx-Px-LO CXP/Ch CXP/Ch LI-Sx-Px-LO ) + ------------------------------------------------------------------------------) + )$(sfe_port|ljust:14) $(admin-state|rjust:2)/$(oper_state|ljust:2) $(near_end_cdr_ln|ljust:12) $(.path ~= fia ?:$(near_end_cxp_ch|ljust:6) $(far_end_cxp_ch|ljust:6) $(far_end_cdr_ln|ljust:12) )$(neighbor_link|ljust:14)$(.path ~= detail ? + +-----------------------------------------------------------------------+ + | Timestamp Event\\\\(s\\\\) | + +-----------------------------------------------------------------------+$(history|show) + ) + "; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + " + Description\\\\: + Ch - Channel, Sx - Slice/bus #, Px - Port # within slice/bus + DN - Down, LI - Lane into CDR, LO - Lane out of CDR + + $(.path ~= fia ?Fia Port Admin Near-end Other End + R/S/A/P /Oper CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI : state LI-Sx-Px-LO ) + ------------------------------------------------------:SFE port Admin Near-end Near Far Far-end Other End + R/S/A/P /Oper CDR -end -end CDR R/S/A/P + $(.path ~= rx ? state LO-Sx-Px-LI CXP/Ch CXP/Ch LO-Sx-Px-LI : state LI-Sx-Px-LO CXP/Ch CXP/Ch LI-Sx-Px-LO ) + ------------------------------------------------------------------------------) + "; + leaf port_data_idx { + type int64; + } + leaf sfe_port { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf near_end_cdr_ln { + type string; + tailf:hidden "internal"; + } + leaf near_end_cxp_ch { + type string; + tailf:hidden "internal"; + } + leaf far_end_cxp_ch { + type string; + tailf:hidden "internal"; + } + leaf far_end_cdr_ln { + type string; + tailf:hidden "internal"; + } + leaf neighbor_link { + type string; + tailf:hidden "internal"; + } + list history { + key "history_idx"; + tailf:cli-show-template + " + $(time_stamp|ljust:30) $(admin-state|ljust:10) $(oper_state|ljust:10) $(error_state)"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf error_state { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping link_port_stats_show { + list data_idx { + key "port_data_idx"; + max-elements "1024"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "$(.path ~= brief ? + SFE Port In Data Out Data CE UCE CRC + R/S/A/P Cells Cells Cells Cells Errors + ------------------------------------------------------------------------ + )"; + tailf:cli-show-template + "$(.legend_shown != true ?$(.path ~= brief ? + SFE Port In Data Out Data CE UCE CRC + R/S/A/P Cells Cells Cells Cells Errors + ------------------------------------------------------------------------ + ))$(.path ~= brief ?$(sfe_port|ljust:14) $(RX_Data_cell_counter|rjust:13) $(TX_Data_cell_counter|rjust:13) $(RX_LFEC_FEC_correctable_error|rjust:9) $(RX_LFEC_FEC_uncorrectable_errors|rjust:9) $(RX_CRC_errors_counter|rjust:9):The fabric link port\\\\: $(sfe_port) + Total TX control cells \\\\: $(TX_Control_cells_counter) + Total TX data cells \\\\: $(TX_Data_cell_counter) + Total TX data bytes \\\\: $(TX_Data_byte_counter) + Total RX CRC errors \\\\: $(RX_CRC_errors_counter) + Total RX correctable errror \\\\: $(RX_LFEC_FEC_correctable_error) + Total RX 8b_10b disparity errror \\\\: $(RX_8b_10b_disparity_errors) + Total RX control cells \\\\: $(RX_Control_cells_counter) + Total RX data cells \\\\: $(RX_Data_cell_counter) + Total RX data bytes \\\\: $(RX_Data_byte_counter) + Total RX dropped re-xmit control \\\\: $(RX_dropped_retransmitted_control) + Total TX Asyn fifo rate \\\\: $(TX_Asyn_fifo_rate) + Total RX Asyn fifo rate \\\\: $(RX_Asyn_fifo_rate) + Total RX uncorrectable errror \\\\: $(RX_LFEC_FEC_uncorrectable_errors) + Total RX 8b_10b code error \\\\: $(RX_8b_10b_code_errors) + $(is_link_error != false ? + + Link $(sfe_port) has errors\\\\: + CRC Error \\\\: $(link_crc_error) + Size Error \\\\: $(link_size_error) + Miss_align Error \\\\: $(link_mis_align_error) + Code_group Error \\\\: $(link_code_group_error) + No_sig_lock Error \\\\: $(link_no_sig_lock_error) + No_sig_accept Error \\\\: $(link_no_sig_accept_error) + Tokens Error \\\\: $(link_tokens_error) + Error token count \\\\: $(error_token_count) + )) + "; + leaf port_data_idx { + type int64; + } + leaf rack_num { + type string; + tailf:hidden "internal"; + } + leaf sfe_port { + type string; + tailf:hidden "internal"; + } + leaf TX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_CRC_errors_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_correctable_error { + type uint64; + tailf:hidden "internal"; + } + leaf RX_8b_10b_disparity_errors { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Control_cells_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_cell_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Data_byte_counter { + type uint64; + tailf:hidden "internal"; + } + leaf RX_dropped_retransmitted_control { + type uint64; + tailf:hidden "internal"; + } + leaf TX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_Asyn_fifo_rate { + type uint64; + tailf:hidden "internal"; + } + leaf RX_LFEC_FEC_uncorrectable_errors { + type uint64; + tailf:hidden "internal"; + } + leaf RX_8b_10b_code_errors { + type uint64; + tailf:hidden "internal"; + } + leaf is_link_error { + type boolean; + default "false"; + tailf:hidden "internal"; + } + leaf link_crc_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_size_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_mis_align_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_code_group_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_no_sig_lock_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_no_sig_accept_error { + type uint32; + tailf:hidden "internal"; + } + leaf link_tokens_error { + type uint32; + tailf:hidden "internal"; + } + leaf error_token_count { + type uint32; + tailf:hidden "internal"; + } + } + } + + grouping fabric_link_port_show_with_option { + uses link_port_show; + container brief { + tailf:info "brief information"; + uses link_port_show; + } + container detail { + tailf:info "detail information"; + uses link_port_show; + } + } + + grouping fabric_link_port_states { + container state { + tailf:info "State of the link"; + tailf:cli-incomplete-show-path; + container up { + tailf:info "link oper state up"; + uses fabric_link_port_show_with_option; + } + container down { + tailf:info "link oper state down"; + uses fabric_link_port_show_with_option; + } + container er { + tailf:info "link oper state error-recovery"; + uses fabric_link_port_show_with_option; + } + container mismatch { + tailf:info "link oper/admin state mismatch"; + uses fabric_link_port_show_with_option; + } + } + } + + grouping clear_link_port_statistics { + tailf:action "clear_stats" { + tailf:actionpoint "fabric_sfe_link_port_clear"; + input; + output; + } + } + + grouping asic_status_show { + list asic_list { + key "asic_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " + Sfe Admin Oper + R/S/A State State + ----------------------------- + "; + tailf:cli-show-template + "$(asic_loc_str|ljust:14) $(admin-state|ljust:8) $(oper_state|ljust:7)$(.path ~= detail ? + +-----------------------------------------------------------------------+ + | Timestamp Event\\\\(s\\\\) | + +-----------------------------------------------------------------------+$(history|show) + ) + "; + leaf asic_idx { + type int64; + } + leaf asic_loc_str { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf down_flags { + type string; + tailf:hidden "internal"; + } + leaf fab_group { + type string; + tailf:hidden "internal"; + } + list history { + key "history_idx"; + tailf:cli-show-template + " + $(time_stamp|ljust:30) $(admin-state|ljust:10) $(oper_state|ljust:10) $(error_state)"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + leaf history_idx { + type int32; + } + leaf time_stamp { + type string; + tailf:hidden "internal"; + } + leaf admin-state { + type string; + tailf:hidden "internal"; + } + leaf oper_state { + type string; + tailf:hidden "internal"; + } + leaf error_state { + type string; + tailf:hidden "internal"; + } + } + } + } + + grouping fsdb_svr_trace { + container fsdb_srvr { + description + "FSDB Server information"; + tailf:hidden "internal-command"; + tailf:info "FSDB Server information"; + tailf:cli-incomplete-show-path; + container fsdb_server { + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses show-trace:traceable; + } + } + } + + grouping fsdb_pla_reachability_show { + list planes { + key "plane_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(show_fabid == true ?Fab id\\\\: $(fabid_name) + ======================== + )plane id\\\\:$(plane_num), Stage\\\\: $(asic_stage) + ----------------------------------------------------------------------- + Asic mask type mask Links + ----------------------------------------------------------------------- + $(cards|show) + "; + leaf plane_idx { + type int32; + } + leaf plane_num { + type int32; + tailf:hidden "internal"; + } + leaf fabid_name { + type string; + tailf:hidden "internal"; + } + leaf show_fabid { + type boolean; + tailf:hidden "internal"; + } + leaf asic_stage { + type string; + tailf:hidden "internal"; + } + list cards { + key "card_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template "$(asics|show)"; + leaf card_idx { + type int32; + } + list asics { + key "asic_idx"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template + "$(asic_RSA|ljust:8) Reachability \\\\: 0x$(reachability_mask|ljust:37) $(total_links|rjust:6) + $(asic_RSA|ljust:8) Linkup \\\\: 0x$(linkup_mask|ljust:37) $(total_up_links|rjust:6) + $(asic_stage_name == s1 ?$(asic_RSA|ljust:8) All Reach \\\\: 0x$(all_reach_mask|ljust:37) $(total_all_reach_links|rjust:6) + )$(asic_stage_name == s123 ?$(asic_RSA|ljust:8) All Reach \\\\: 0x$(all_reach_mask|ljust:37) $(total_all_reach_links|rjust:6) + )"; + leaf asic_idx { + type int32; + } + leaf asic_RSA { + type string; + tailf:hidden "internal"; + } + leaf reachability_mask { + type string; + tailf:hidden "internal"; + } + leaf linkup_mask { + type string; + tailf:hidden "internal"; + } + leaf all_reach_mask { + type string; + tailf:hidden "internal"; + } + leaf total_links { + type int32; + tailf:hidden "internal"; + } + leaf total_up_links { + type int32; + tailf:hidden "internal"; + } + leaf total_all_reach_links { + type int32; + tailf:hidden "internal"; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + } + } + } + } + } + + grouping fsdb_svr_clear { + container link { + description + "Fabric link option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_link"; + tailf:cli-incomplete-show-path; + tailf:info "Fabric link option"; + list rack { + key "rack_number"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list port { + key "portname"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:info "Fabric Link port"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + list location { + key "loc_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:info "Link port location"; + leaf loc_str { + type fabric-types:link_port_location_type; + } + container statistics { + tailf:display-when "../../portname != 'fia'"; + tailf:info "link statistics"; + tailf:callpoint "fabric_sfe_link_port_stats_cp"; + uses clear_link_port_statistics; + } + } + container statistics { + tailf:display-when "../portname != 'fia'"; + tailf:info "link statistics"; + tailf:callpoint "fabric_sfe_link_port_stats_cp"; + uses clear_link_port_statistics; + } + } + } + } + } + + grouping fabric_link_state_and_statistics_show_w_loc { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + tailf:display-when "../../../portname != 'fia'"; + tailf:info "link statistics"; + tailf:callpoint "fabric_sfe_link_port_stats_cp"; + uses link_port_stats_show; + container brief { + tailf:info "brief statistics"; + uses link_port_stats_show; + } + container detail { + tailf:info "detail statistics"; + uses link_port_stats_show; + } + } + } + + grouping fabric_link_state_and_statistics_show { + uses fabric_link_port_show_with_option; + uses fabric_link_port_states; + container statistics { + tailf:display-when "../../portname != 'fia'"; + tailf:info "link statistics"; + tailf:callpoint "fabric_sfe_link_port_stats_cp"; + uses link_port_stats_show; + container brief { + tailf:info "brief statistics"; + uses link_port_stats_show; + } + container detail { + tailf:info "detail statistics"; + uses link_port_stats_show; + } + } + } + + grouping fsdb_svr { + container link { + description + "Fabric link option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_link"; + tailf:cli-incomplete-show-path; + tailf:info "Fabric link option"; + list rack { + key "rack_number"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list port { + key "portname"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:info "Fabric Link port"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf portname { + type fabric-types:link_port_type; + } + leaf description { + type string; + default "port."; + } + list location { + key "loc_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:info "Link port location"; + leaf loc_str { + type fabric-types:link_port_location_type; + } + container rx { + description + "Rx link option"; + tailf:info "Rx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + container tx { + description + "Tx link option"; + tailf:info "Tx link option"; + uses fabric_link_state_and_statistics_show_w_loc; + } + } + container rx { + description + "Rx link option"; + tailf:info "Rx link option"; + uses fabric_link_state_and_statistics_show; + } + container tx { + description + "Tx link option"; + tailf:info "Tx link option"; + uses fabric_link_state_and_statistics_show; + } + } + } + list node_location { + key "node_str"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf node_str { + type string; + } + } + } + container sfe { + description + "Switch Fabric Element option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_sfe"; + tailf:cli-incomplete-show-path; + tailf:info "Switch Fabric Element option"; + list rack { + key "rack_number"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_name"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf asic_stage_name { + type fabric-types:asic_stage_type; + } + list location { + key "loc_str"; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-incomplete-show-path; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf loc_str { + type fabric-types:asic_location_type; + } + uses asic_status_show; + container brief { + tailf:info "Brief information"; + uses asic_status_show; + } + container detail { + tailf:info "Detail information"; + uses asic_status_show; + } + } + uses asic_status_show; + container brief { + tailf:info "Brief information"; + uses asic_status_show; + } + container detail { + tailf:info "Detail information"; + uses asic_status_show; + } + } + } + } + container fsdb_pla { + description + "plane availability status option"; + tailf:hidden "internal-command"; + tailf:callpoint "fabric_fsdb_pla"; + tailf:cli-incomplete-show-path; + tailf:info "plane availability status option"; + list rack { + key "rack_number"; + description + "Rack"; + tailf:info "Rack"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + leaf rack_number { + type int32; + } + list asic_stages { + key "asic_stage_idx"; + tailf:cli-drop-node-name; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-show-template-legend + "Description: + planes \\\\: p0-p(3|5) + plane mask : Asic # 0-5 + Asic value 1: destination reachable via asic + .: destination unreachable via asic + x: asic not connected to LC (for S3\\\\) + -: plane not configured (for S2\\\\) or asic missing + "; + tailf:cli-show-template + "$(.legend_shown != true ?Description\\\\: + $(plane_number == 4 ? planes \\\\: p0-p3 + )$(plane_number == 6 ? planes \\\\: p0-p5 + ) plane mask \\\\: Asic # 0-5 + Asic value 1\\\\: destination reachable via asic + .\\\\: destination unreachable via asic + x\\\\: asic not connected to LC (for S3\\\\) + -\\\\: plane not configured (for S2\\\\) or asic missing + ) Note \\\\: In the pairs of Fabids printed in the first column + the second Fabid may not actually exist in case of + single core devices. + Rack\\\\: $(rack_number), Stage\\\\: $(asic_stage_name) + ============================= + $(plane_number == 6 ?Destination p0 p1 p2 p3 p4 p5 Reach-mask Oper Up + Address mask mask mask mask mask mask links/asic links/asic + Fabid(R/S/A\\\\) 012345 012345 012345 012345 012345 012345 Mn/Mx Total Mn/Mx Total + -------------------------------------------------------------------------------- + $(fabids|show)$(down_fabids|show) + )$(plane_number == 4 ?Destination p0 p1 p2 p3 Reach-mask Oper Up + Address mask mask mask mask links/asic links/asic + Fabid(R/S/A\\\\) 012345 012345 012345 012345 Mn/Mx Total Mn/Mx Total + ------------------------------------------------------------------- + $(fabids|show)$(down_fabids|show) + )"; + leaf asic_stage_idx { + type fabric-types:sfe_stage_type; + } + leaf asic_stage_name { + type fabric-types:sfe_stage_type; + tailf:hidden "internal"; + } + leaf rack_number { + type string; + tailf:hidden "internal"; + } + leaf plane_number { + type int32; + tailf:hidden "internal"; + } + list fabids { + key "idx"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(fabid_address|ljust:14)$(plane_num == 4 ?$(plane_0_mask|ljust:6) $(plane_1_mask|ljust:6) $(plane_2_mask|ljust:6) $(plane_3_mask|ljust:6) )$(plane_num == 6 ?$(plane_0_mask|ljust:6) $(plane_1_mask|ljust:6) $(plane_2_mask|ljust:6) $(plane_3_mask|ljust:6) $(plane_4_mask|ljust:6) $(plane_5_mask|ljust:6) )$(min_links_per_asic|rjust:2)/$(max_links_per_asic|ljust:2) $(total_links|rjust:4) $(min_up_links_per_asic|rjust:3)/$(max_up_links_per_asic|ljust:3) $(total_up_links|rjust:5) \n"; + leaf idx { + type int32; + tailf:cli-drop-node-name; + } + leaf fabid_address { + type string; + tailf:hidden "internal"; + } + leaf plane_num { + type int32; + tailf:hidden "internal"; + } + leaf plane_0_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_1_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_2_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_3_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_4_mask { + type string; + tailf:hidden "internal"; + } + leaf plane_5_mask { + type string; + tailf:hidden "internal"; + } + leaf min_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf max_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf total_links { + type int32; + tailf:hidden "internal"; + } + leaf min_up_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf max_up_links_per_asic { + type int32; + tailf:hidden "internal"; + } + leaf total_up_links { + type int32; + tailf:hidden "internal"; + } + } + list down_fabids { + key "idx"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template "$(fabid_address|ljust:14)$(fabid_status|ljust)\n"; + leaf idx { + type int32; + tailf:cli-drop-node-name; + } + leaf fabid_address { + type string; + tailf:hidden "internal"; + } + leaf fabid_status { + type string; + tailf:hidden "internal"; + } + } + list destination { + key "amba_id"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf amba_id { + type fabric-types:fabric_fabid_type; + } + uses fsdb_pla_reachability_show; + } + } + } + } + uses fsdb_svr_trace; + } + tailf:id "http://www.cisco.com/panini/calvados/fabric/fsdb"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5500.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5500.yang new file mode 100644 index 0000000..6475003 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5500.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-sysadmin-fabric-ncs5500 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric"; + prefix fabric; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fgid { + prefix fabric-fgid; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500 { + prefix fabric-fsdb; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500 { + prefix fabric-fsdb-aggr; + } + import Cisco-IOS-XR-sysadmin-fabric-driver-sfe { + prefix fabric-sfe; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping fabric_action_cmds { + container fabric_action { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-suppress-show-path; + uses fabric-fsdb-aggr:fsdb_aggr_ppu; + } + } + } + + grouping fabric_clear { + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-incomplete-show-path; + uses fabric-fsdb-aggr:fsdb_aggr_clear; + } + } + + grouping fabric { + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-drop-node-name; + container fabric { + description + "Fabric configuration"; + tailf:info "Fabric configuration"; + container fsdbagg { + tailf:cli-drop-node-name; + uses fabric-fsdb-aggr:fsdb_agg_conf_plane; + } + uses fabric-fgid:fgid_conf_resource; + } + container oper { + config false; + tailf:callpoint "fabric_oper"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:hidden "internal-command"; + uses fabric-fgid:fgid; + uses fabric-fsdb-aggr:fsdb_aggr; + uses fabric-fsdb:fsdb_svr; + } + } + container sfe_oper { + config false; + tailf:callpoint "fabric_oper"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses fabric-sfe:sfe; + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5501.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5501.yang new file mode 100644 index 0000000..5ea531e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5501.yang @@ -0,0 +1,34 @@ +module Cisco-IOS-XR-sysadmin-fabric-ncs5501 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric"; + prefix fabric; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fgid { + prefix fabric-fgid; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping fabric { + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-drop-node-name; + container oper { + config false; + tailf:callpoint "fabric_oper"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:hidden "internal-command"; + uses fabric-fgid:fgid; + } + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5502.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5502.yang new file mode 100644 index 0000000..cdaf83b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-ncs5502.yang @@ -0,0 +1,84 @@ +module Cisco-IOS-XR-sysadmin-fabric-ncs5502 { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric"; + prefix fabric; + + import Cisco-IOS-XR-sysadmin-fabric-mgr-fgid { + prefix fabric-fgid; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502 { + prefix fabric-fsdb; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502 { + prefix fabric-fsdb-aggr; + } + import Cisco-IOS-XR-sysadmin-fabric-driver-sfe { + prefix fabric-sfe; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping fabric_action_cmds { + container fabric_action { + container fabric { + description + "Fabric resource commands"; + uses fabric-fsdb-aggr:fsdb_aggr_ppu; + } + } + } + + grouping fabric_clear { + container fabric { + description + "Fabric resource commands"; + uses fabric-fsdb-aggr:fsdb_aggr_clear; + } + } + + grouping fabric { + container fabric { + description + "Fabric resource commands"; + container fabric { + description + "Fabric configuration"; + container fsdbagg { + uses fabric-fsdb-aggr:fsdb_agg_conf_plane; + } + uses fabric-fgid:fgid_conf_resource; + } + container oper { + config false; + uses fabric-fgid:fgid; + uses fabric-fsdb-aggr:fsdb_aggr; + uses fabric-fsdb:fsdb_svr; + } + } + container sfe_oper { + config false; + uses fabric-sfe:sfe; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-types.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-types.yang new file mode 100644 index 0000000..7cc56d8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric-types.yang @@ -0,0 +1,251 @@ +module Cisco-IOS-XR-sysadmin-fabric-types { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-types"; + prefix fabric-types; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + typedef instance_type { + type string { + pattern "[0-2]|all"; + } + } + + typedef sfe_instance_type { + type string { + pattern "[0-5]|all"; + } + } + + typedef sfe_link_type { + type int32 { + range "0 .. 143"; + } + } + + typedef sfe_start_link_type { + type int32 { + range "0 .. 143"; + } + } + + typedef sfe_end_link_type { + type int32 { + range "0 .. 143"; + } + } + + typedef plane_type { + type string { + pattern "all|[0-5]"; + } + } + + typedef plane_zermatt_type { + type string { + pattern "all|0"; + } + } + + typedef conf_plane_type { + type string { + pattern "[0-5]"; + } + } + + typedef conf_plane_zermatt_type { + type string { + pattern "0"; + } + } + + typedef conf_instance_type { + type int32 { + range "0..7"; + } + } + + typedef conf_folded_instance_type { + type int32; + default "0"; + } + + typedef conf_location_type { + type string { + pattern "(0?[F|f][0-3])/[F|f][C|c](0?[0-9]|1[0-1])"; + } + } + + typedef link_port_type { + type string { + pattern "fia|s1|s2|s3"; + } + } + + typedef asic_stage_type { + type string { + pattern "fia|s123|s13|s2|b2b"; + } + } + + typedef sfe_stage_type { + type string { + pattern "s1|s2|s3|s123"; + } + } + + typedef asic_location_type { + type string { + pattern "((0?[0-9]|1[0-5])/([F|f][C|c](0?[0-5]))/(0?[0-5]))|((0?[0-9]|1[0-5])/(0?[0-9]|1[0-5])/(0?[0-5]))|(([F|f][0-3])/([F|f][C|c](0?[0-9]|1[0-1]))/(0?[0-2]))"; + } + } + + typedef asic_location_zermatt_type { + type string { + pattern "((0)/([R|r][P|p](0))/(0?[0-1]))|((0)/(0)/(0?[0-7]))"; + } + } + + typedef asic_location_oldcastle_type { + type string { + pattern "((0)/([R|r][P|p](0))/(0))|((0)/(0)/(0?[0-3]))"; + } + } + + typedef link_port_location_type { + type string { + pattern "((0)/([F|f][C|c](0?[0-5]))/(0?[0-5])/(0?[0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-3]))|((0?[0-9]|1[0-5])/(0?[0-9]|1[0-5])/(0?[0-5])/(0?[0-9]|[1-3][0-9]|4[0-7]))"; + } + } + + typedef link_port_location_zermatt_type_for_yang { + type string { + pattern "((0)/([R|r][P|p](0))/(0?[0-1])/(0?[0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-3]))|((0)/(0)/(0?[0-7])/(0?[0-9]|[1-3][0-9]|4[0-7]))"; + } + } + + typedef link_port_location_zermatt_type { + type string { + pattern "((0)/([R|r][P|p](0))/(0?[0-1])/(0?[0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-3]))|((0)/(0)/(0?[0-7])/(0?[0-9]|[1-2][0-9]|3[0-5]))"; + } + } + + typedef link_port_location_oldcastle_type { + type string { + pattern "((0)/([R|r][P|p](0))/(0)/(0?[0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-3]))|((0)/(0)/(0?[0-3])/(0?[0-9]|[1-3][0-9]|4[0-7]))"; + } + } + + typedef bundle_location_type { + type string { + pattern "((0?[0-9]|1[0-5])/([F|f][C|c](0?[0-5]))/((0?[0-9])|(1[0-5])))|(([F|f][0-3])/([F|f][C|c](0?[0-9]|1[0-1]))/((0?[0-9])|([1-2][0-9])|(3[0-1])))"; + } + } + + typedef fabric_fgid_id_type { + type int32 { + range "0..131071"; + } + } + + typedef fabric_fgid_elements_type { + type int32 { + range "0..131072"; + } + } + + typedef fabric_fgid_start_id_type { + type int32 { + range "0..131071"; + } + } + + typedef fabric_fgid_end_id_type { + type int32 { + range "0..131071"; + } + } + + typedef fabric_nc55_fixed_fgid_id_type { + type int32 { + range "0..65535"; + } + } + + typedef fabric_nc55_fixed_fgid_elements_type { + type int32 { + range "0..65536"; + } + } + + typedef fabric_nc55_fixed_fgid_start_id_type { + type int32 { + range "0..65535"; + } + } + + typedef fabric_nc55_fixed_fgid_end_id_type { + type int32 { + range "0..65535"; + } + } + + typedef fabric_dump_file_name_type { + type string; + } + + typedef fabric_diag_shell_cmd_type { + type string; + } + + typedef fabric_diag_shell_instance_num_type { + type int32 { + range "0..5"; + } + } + + typedef fabric_rack_num_type { + type string { + pattern "(0?[0-9])|(1[0-5])|([F|f][0-3])"; + } + } + + typedef fabric_fabid_type { + type string { + pattern "(0?[0-9]|1[0-5])/(0?[0-7])/(0?[0-5])|([0-9]|[1-9][0-9]|[1-9][0-9][0-9]|10[0-1][0-9]|102[0-3])"; + } + } + + typedef sfe_location_type { + type string { + pattern "((0?[0-9]|1[0-5])/([F|f][C|c](0?[0-5])))|(0/([R|r][P|p]0))"; + } + } + + typedef cxp_port_type { + type uint32 { + range "0..31"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric.yang new file mode 100644 index 0000000..ee83167 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fabric.yang @@ -0,0 +1,117 @@ +module Cisco-IOS-XR-sysadmin-fabric { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric"; + prefix fabric; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fgid { + prefix fabric-fgid; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server { + prefix fabric-fsdb; + } + import Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator { + prefix fabric-fsdb-aggr; + } + import Cisco-IOS-XR-sysadmin-fabric-driver-sfe { + prefix fabric-sfe; + } + import Cisco-IOS-XR-sysadmin-fabric-cxp-ncs6k { + prefix fabric-cxp; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines CLI support of fabric components + for ncs6k. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-15 { + description + "Split the file based on the platform"; + } + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping fabric_action_cmds { + container fabric_action { + tailf:cli-drop-node-name; + tailf:cli-suppress-show-path; + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-suppress-show-path; + uses fabric-fsdb-aggr:fsdb_aggr_ppu; + } + } + } + + grouping fabric_clear { + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-incomplete-show-path; + uses fabric-fsdb-aggr:fsdb_aggr_clear; + uses fabric-fsdb:fsdb_svr_clear; + } + } + + grouping fabric { + container fabric { + description + "Fabric resource commands"; + tailf:info "Fabric resource commands"; + tailf:cli-drop-node-name; + container fabric { + description + "Fabric configuration"; + tailf:info "Fabric configuration"; + container fsdbagg { + tailf:cli-drop-node-name; + uses fabric-fsdb-aggr:fsdb_agg_conf_plane; + } + uses fabric-fgid:fgid_conf_resource; + } + container oper { + config false; + tailf:callpoint "fabric_oper"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + tailf:hidden "internal-command"; + uses fabric-cxp:fc_cxp_dom; + uses fabric-fgid:fgid; + uses fabric-fsdb-aggr:fsdb_aggr; + uses fabric-fsdb:fsdb_svr; + } + } + container sfe_oper { + config false; + tailf:callpoint "fabric_oper"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + uses fabric-sfe:sfe; + } + } + tailf:id "http://www.cisco.com/panini/calvados/fabric"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fm.yang new file mode 100644 index 0000000..72e1d05 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fm.yang @@ -0,0 +1,681 @@ +module Cisco-IOS-XR-sysadmin-fm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fm"; + prefix fm; + + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Fault management YANG model. + + Copyright(c) 2014-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-12 { + description + "Changed the namespace and module name"; + } + + typedef fm_fault_state_t { + type enumeration { + enum "SET"; + enum "CLEAR"; + enum "INFO"; + enum "INVALID"; + enum "PARTIALLY_QUALIFIED"; + enum "SOAKING_BEFORE_SET"; + enum "SOAKING_BEFORE_CLEAR"; + enum "SUPPRESSED"; + enum "UPDATE"; + } + description + "The status value for a given fault condition."; + } + + typedef fm_fault_severity_t { + type enumeration { + enum "CRITICAL"; + enum "MAJOR"; + enum "MINOR"; + enum "NR"; + } + } + + typedef fm_action_t { + type enumeration { + enum "ISOLATION"; + enum "MITIGATION"; + enum "RECOVERY"; + enum "CORRELATION"; + enum "ALARM"; + enum "REPORT"; + } + description + "The List of supported Action Types"; + } + + typedef fm_action_result_t { + type enumeration { + enum "SUCCESS"; + enum "FAILURE"; + enum "NO-OP"; + } + description + "The result of a certain fm action"; + } + + typedef fm_rule_eval_result_t { + type enumeration { + enum "SUCCESS"; + enum "FAILURE"; + } + description + "The result status of the evaluation of a FM rule."; + } + + typedef fm_ha_role_t { + type calvados:generic-ha-role; + description + "The HA role for the FM entity"; + } + + typedef fm_location_t { + type string; + description + "The location if the fm entity"; + } + + typedef fm_object_id_t { + type string; + description + "The object id of the fm entity"; + } + + typedef fm_agent_id_t { + type string; + description + "A type for identifying a fault agent."; + } + + typedef fm_correlation_obj_qualifier_t { + type enumeration { + enum "QUALIFIER_IGNORED"; + enum "QUALIFIER_RACK"; + enum "QUALIFIER_SLOT"; + enum "QUALIFIER_OBJECT"; + } + } + + typedef fm_history_state_t { + type enumeration { + enum "FM_HISTORY_STATE_ACTIVE"; + enum "FM_HISTORY_STATE_CLEARED"; + enum "FM_HISTORY_STATE_INVALID"; + } + description + "The fm history entry state."; + } + + typedef fm_timestamp_t { + type yang:date-and-time; + description + "The fm timestamp type for all times in fm"; + } + + typedef fm_service_scope_t { + type enumeration { + enum "FM_SERVICE_NODE_SCOPE"; + enum "FM_SERVICE_RACK_SCOPE"; + enum "FM_SERVICE_SYSTEM_SCOPE"; + } + description + "The fm service scope definting type."; + } + + grouping fm_fault_id_t { + description + "A grouping that uniquely indentifies a fault"; + leaf fm_subsystem_id { + type string; + description + "Fault sub-system identifier"; + } + leaf fm_fault_type { + type string; + description + "Fault type identifier"; + } + leaf fm_fault_tag { + type string; + description + "Fault tag identifier"; + } + } + + grouping fm_fault_pending_info_t { + description + "Models data that could eventually cause a new fault"; + uses fm_fault_id_t; + leaf object_id { + type fm_object_id_t; + description + "The object Id of the entity that generated the fault."; + } + leaf fault_timestamp { + type fm_timestamp_t; + description + "The timestamp at which the fault occurred."; + } + leaf fault_state { + type fm_fault_state_t; + description + "The state pf tje causal fault."; + } + leaf fault_count { + type uint64; + description + "Count of occurrence of the fault event."; + } + leaf fault_flag { + type uint64; + description + "FM correlation engine flag, internal."; + } + } + + grouping fm_fault_action_t { + description + "Type to model the fm fault actions."; + leaf common_action { + type uint16; + description + "Common action data"; + } + leaf opaque_action { + type uint16; + description + "opaque action data"; + } + } + + grouping fm_opaque_data_t { + description + "A model for a array of data bytes, opaque to FM"; + leaf opaque_data_len { + type uint16; + description + "The length of opaque data bytes."; + } + } + + grouping fm_fault_data_t { + description + "A type that collects all the fault related data."; + leaf fault_object_id { + type fm_object_id_t; + description + "The object Id of the entity that generated the fault."; + } + leaf fault_state { + type fm_fault_state_t; + description + "The state of the fault."; + } + leaf fault_severity { + type fm_fault_severity_t; + description + "The severity of the fault reported out"; + } + leaf fault_opaque_action { + type uint16; + description + "Opaque action performed on the fault"; + } + uses fm_opaque_data_t; + leaf fault_action_result { + type fm_action_result_t; + description + "Action result"; + } + } + + grouping fm_init_info_t { + description + "A FM instance initialization info."; + leaf levm { + type uint64; + description + "The levm pointer supplied to fm infra."; + } + leaf comp_id { + type uint32; + description + "The owner component Id"; + } + leaf process { + type string; + description + "The name of the process in which this fm instance is active."; + } + leaf default_rule_cb { + type uint64; + description + "Default rule callback pointer."; + } + leaf default_action_cb { + type uint64; + description + "Default action callback pointer."; + } + leaf default_notif_cb { + type uint64; + description + "Default notification callback pointer."; + } + leaf default_error_cb { + type uint64; + description + "Default error callback pointer."; + } + leaf replica_cb { + type uint64; + description + "Data Replica callback pointer."; + } + } + + grouping fm_traversal_t { + description + "A type that captures a fault traversal info"; + uses fm_fault_id_t; + leaf remote_agent_id { + type fm_agent_id_t; + description + "The remote agent id assocaited with this fault."; + } + } + + grouping fm_fault_rule_t { + description + "A type associated with a fault rule"; + leaf fault_location { + type fm_location_t; + description + "The location associated with the fault"; + } + leaf rule_cb { + type uint64; + description + "The callback function that declares the fault"; + } + } + + grouping fm_fault_entry_history_record_basic_t { + description + "A type that captures the basic data of a fault"; + leaf fault_timestamp { + type fm_timestamp_t; + description + "The fault occurence timestamp"; + } + leaf object_id { + type string; + description + "The fault object ID"; + } + } + + grouping fm_fault_entry_history_record_detail_t { + description + "A type that captures the details of a reported fault"; + uses fm_fault_id_t; + leaf object_id { + type string; + description + "The fault object ID"; + } + leaf fault_severity { + type uint16; + description + "The severity of the fault reported out"; + } + leaf fault_state { + type fm_fault_state_t; + description + "The state of the fault."; + } + leaf fault_agent_id { + type fm_agent_id_t; + description + "The agent id associated with the fault"; + } + leaf fault_timestamp { + type fm_timestamp_t; + description + "The fault occurence timestamp"; + } + leaf fault_timer_state { + type boolean; + description + "The state of the timer associated with this fault"; + } + leaf fault_processed { + type boolean; + description + "The fault is acted on"; + } + leaf mitigation_result { + type fm_action_result_t; + description + "The result of the mitigation action on the fault."; + } + leaf recovery_result { + type fm_action_result_t; + description + "The result of the recovery action on the fault."; + } + leaf correlation_result { + type fm_action_result_t; + description + "The result of the correlation action on the fault."; + } + leaf alarm_result { + type fm_action_result_t; + description + "The result of the alarm action on the fault."; + } + leaf default_result { + type fm_action_result_t; + description + "The result of the default action on the fault."; + } + uses fm_opaque_data_t; + leaf occurrence_count { + type uint64; + description + "The occurrence count of the fault"; + } + leaf history_state { + type fm_history_state_t; + description + "The history state of the fault."; + } + } + + grouping fm_fault_table_basic_entry_t { + uses fm_fault_id_t; + leaf name { + type string; + description + "A descriptive name for the fault"; + } + } + + grouping fm_fault_table_detail_entry_t { + uses fm_fault_id_t; + leaf name { + type string; + description + "A descriptive name for the fault"; + } + leaf description { + type string; + description + "Description of the fault"; + } + leaf detection_logic { + type string; + description + "Fault detection logic"; + } + leaf corr_obj_qualifier { + type fm_correlation_obj_qualifier_t; + description + "The qualifier for the object used for correlation."; + } + } + + grouping fm_fault_table_internal_entry_t { + description + "Grouping of internal fields of a fault table entry."; + uses fm_fault_id_t; + list rules { + description + "list of fault rule declaring callbacks"; + uses fm_fault_rule_t; + } + uses fm_fault_action_t; + leaf mitigation_cb { + type uint64; + description + "Pointer to the mitigation callback function."; + } + leaf recovery_cb { + type uint64; + description + "Pointer to the recovery callback function."; + } + leaf alarm_severity_dirty { + type boolean; + description + "Flag indicates if alarm severity is dirty"; + } + leaf disable_action { + type boolean; + description + "Flag indicates all actions are disabled."; + } + leaf repeat_action { + type boolean; + description + "Flag indicates all actions are repeated."; + } + leaf has_causal_list { + type boolean; + description + "Flag indicates if causal list is present."; + } + leaf parser_tag { + type uint64; + description + "The parser tag of the XML parser."; + } + leaf parser_tag_string { + type string; + description + "The parser tag string."; + } + } + + grouping fm_fault_table_alarm_entry_t { + description + "Alarm attributes associated with a fault table entry"; + uses fm_fault_id_t; + leaf alarm_group { + type uint16; + description + "The alarm grouping for this fault."; + } + leaf alarm_severity { + type uint16; + description + "The alarm severity for this fault."; + } + } + + grouping fm_fault_table_stats_entry_t { + uses fm_fault_id_t; + leaf threshold_count { + type uint32; + description + "Threshold count for the fault"; + } + leaf all_object_occur_count { + type uint32; + description + "Object occurrence count."; + } + leaf declared_count { + type uint32; + description + "Number of times the fault is declared."; + } + leaf cleared_count { + type uint32; + description + "Number of times the fault is cleared."; + } + leaf info_count { + type uint32; + description + "Number of times the fault is info."; + } + leaf hold_time { + type uint32; + description + "The hold time in ms for soaking the fault."; + } + } + + container fm { + config false; + description + "Sysadmin fault management operational data model"; + list agents { + key "location process subsystem agent"; + leaf location { + type string; + } + leaf process { + type string; + } + leaf subsystem { + type string; + } + leaf agent { + type string; + } + container fm_initials { + uses fm_init_info_t; + } + container fm_table { + list brief { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_table_basic_entry_t; + } + list entry { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_id_t; + container detail { + uses fm_fault_table_detail_entry_t; + } + list causal_list { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + description + "Causal list of fault ids for the specified fault."; + uses fm_fault_id_t; + } + list dependency_list { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + description + "Dependency list of fault ids."; + uses fm_fault_id_t; + } + list propagation_list { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + description + "Propagation list of fault agents."; + uses fm_traversal_t; + } + list notification_list { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + description + "Notification list of fault agents."; + uses fm_traversal_t; + } + list escalation_list { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + description + "escalation list of fault agents."; + uses fm_traversal_t; + } + container faults { + container active { + list brief { + key "object_id"; + uses fm_fault_entry_history_record_basic_t; + } + list detail { + key "object_id"; + uses fm_fault_entry_history_record_detail_t; + } + } + container history { + list brief { + key "object_id"; + uses fm_fault_entry_history_record_basic_t; + } + list detail { + key "object_id"; + uses fm_fault_entry_history_record_detail_t; + } + } + } + container waiting_list { + list brief { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_pending_info_t; + } + list entry { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_pending_info_t; + } + } + } + } + container fm_internals { + list detail { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_table_internal_entry_t; + } + } + container fm_alarm_mapping { + list detail { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_table_alarm_entry_t; + } + } + container fm_statistics { + list detail { + key "fm_subsystem_id fm_fault_type fm_fault_tag"; + uses fm_fault_table_stats_entry_t; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service.yang new file mode 100644 index 0000000..cd13582 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service.yang @@ -0,0 +1,32 @@ +module Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd-service"; + prefix upgrade; + + import tailf-common { + prefix tailf; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + tailf:id "http://cisco.com/calvados/hwfpd"; + + list location { + key "loc"; + config false; + tailf:cli-suppress-show-path; + tailf:callpoint "fpd_cp1"; + leaf loc { + type string; + } + list fpd2 { + key "name"; + config false; + tailf:callpoint "fpd_cp2"; + leaf name { + type string; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd.yang new file mode 100644 index 0000000..ff40105 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd.yang @@ -0,0 +1,47 @@ +module Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpd"; + prefix fpd; + + import tailf-common { + prefix tailf; + } + + description + "FPD CLI support for both oper and config"; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2011-12-03 { + description + "Initial revision."; + } + + grouping fpd { + container config { + description + "fpd config mode"; + tailf:cli-drop-node-name; + uses global-fpd-config-group; + } + } + + grouping global-fpd-config-group { + leaf auto-upgrade { + type enumeration { + enum "enable"; + enum "disable"; + } + default "disable"; + config true; + tailf:info "enable/disable auto fpd upgrade"; + } + } + tailf:id "http://cisco.com/calvados/fpd"; + + container fpd { + tailf:info "FPD upgrade commands"; + uses fpd; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace.yang new file mode 100644 index 0000000..69dbfa9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace.yang @@ -0,0 +1,24 @@ +module Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-fpdserv-ctrace"; + prefix fpdserv; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + tailf:id "http://cisco.com/calvados/fpdserv"; + + container fpdserv { + config false; + tailf:info "fpdserv process"; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd.yang new file mode 100644 index 0000000..67dc404 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd.yang @@ -0,0 +1,119 @@ +module Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd"; + prefix shhwfpd; + + import tailf-common { + prefix tailf; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + + grouping hw-module-oper-group { + container shhwfpd { + config false; + tailf:hidden "location"; + tailf:callpoint "show_hw_fpd"; + tailf:cli-incomplete-show-path; + tailf:cli-drop-node-name; + list alocation { + key "locs"; + tailf:cli-incomplete-show-path { + tailf:cli-min-keys "1"; + } + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + " FPD Versions + =============== + Location Card type HWver FPD device ATR Status Run Programd + ------------------------------------------------------------------------------- + "; + leaf locs { + type string; + tailf:display-column-name "Location"; + } + list fpd { + key "fpdname"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "$(.legend_shown!=true? FPD Versions + =============== + Location Card type HWver FPD device ATR Status Run Programd + ------------------------------------------------------------------------------- + )"; + tailf:cli-show-template + "$(.legend_shown!=true? FPD Versions + ============== + Location Card type HWver FPD device ATR Status Run Programd + ------------------------------------------------------------------------------- + )$(../../locs|ljust:10)$(cardname|ljust:18)$(hwver|ljust:6)$(fpdname|ljust:17)$(attr|ljust:4)$(state|ljust:9)$(fpdver|ljust:8)$(fpddnld|ljust:8) + "; + leaf fpdname { + type string; + tailf:display-column-name "FPD device"; + } + leaf state { + type string; + description + "Status"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Status"; + } + leaf hwver { + type string; + description + "HWver"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "HWver"; + } + leaf fpdver { + type string; + description + "FPD ver"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Running FPD version"; + } + leaf cardname { + type string; + description + "Card type"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Card type"; + } + leaf attr { + type string; + description + "Attribute"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Attribute"; + } + leaf fpddnld { + type string; + description + "FPD Programed"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:display-column-name "Dlnd FPD version"; + } + } + } + list fpd { + key "fpdname"; + leaf fpdname { + type string; + tailf:display-column-name "FPD device"; + } + } + } + } + tailf:id "http://tail-f.com/test/shhwfpd"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-hw-module.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-hw-module.yang new file mode 100644 index 0000000..4ab9cfa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-hw-module.yang @@ -0,0 +1,86 @@ +module Cisco-IOS-XR-sysadmin-hw-module { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module"; + prefix calvados_hw_module; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-sm-hw-mod { + prefix shelf_mgr; + } + import Cisco-IOS-XR-sysadmin-led-mgr-ui { + prefix led_mgr; + } + import Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd { + prefix shhwfpd; + } + import Cisco-IOS-XR-sysadmin-obfl-conf { + prefix obflconf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the top level container for + all 'hw-module' commands for Sysadmin. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + revision 2012-07-03 { + description + "Created initial 'hw-module' refactorization"; + } + tailf:id "http://cisco.com/panini/calvados/calvados_hw_module"; + + container hw-module { + tailf:info "Hardware Module commands"; + tailf:cli-incomplete-show-path; + container config { + config true; + tailf:cli-drop-node-name; + uses shelf_mgr:hw-module-config-group; + uses led_mgr:hw-module-config-group; + uses obflconf:hw-module-config-group; + } + container oper { + config false; + tailf:cli-drop-node-name; + tailf:callpoint "hw_module"; + list location { + key "location"; + tailf:info "Location of hardware module"; + tailf:cli-incomplete-show-path; + leaf location { + type string; + tailf:info "Hardware module location"; + } + container actions { + tailf:cli-drop-node-name; + uses shelf_mgr:hw-module-action-group; + } + container show { + tailf:cli-drop-node-name; + } + } + } + uses shhwfpd:hw-module-oper-group; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-issu.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-issu.yang new file mode 100644 index 0000000..52ef3f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-issu.yang @@ -0,0 +1,1193 @@ +module Cisco-IOS-XR-sysadmin-issu { + namespace "http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-issu"; + prefix issu; + + import tailf-common { + prefix tailf; + } + import ietf-yang-types { + prefix ietf-types; + } + + description + "Execution and monitoring of sysadmin ISSU operations "; + + typedef op-start-result { + type enumeration { + enum "start-success" { + description + "Operation was started successfully"; + } + enum "error-operation-in-progress" { + description + "Another ISSU operation is already in progress"; + } + enum "activate-error-no-prepare" { + description + "A request to activate the prepared software was made, but there is no successfully prepared software"; + } + enum "prepare-error-previous-prepare" { + description + "A request to prepare software was made, but previously prepared software exists"; + } + enum "recover-error-unrecoverable" { + description + "The system is in a state that makes in-service recovery impossible"; + } + enum "start-error-internal" { + description + "An internal error occured while attempting to start the operation"; + } + } + description + "Enumeration of errors that can be encountered while attempting to begin an ISSU operation"; + } + + typedef op-result { + type enumeration { + enum "success" { + description + "Operation succeeded"; + } + enum "error-input" { + description + "Part or all of the input was invalid"; + } + enum "error-orchestration" { + description + "An internal error occurred during ISSU orchestration"; + } + enum "error-install" { + description + "An error occured in the install infrastructure"; + } + enum "error-node-redundancy" { + description + "Not all nodes in the system have the required redundancy to allow an ISSU to proceed"; + } + } + description + "Enumeration of errors that can be encountered during an ISSU operation"; + } + + typedef issu-notif { + type enumeration { + enum "notif-sysadmin-op-start" { + description + "A sysadmin ISSU operation is beginning"; + } + enum "notif-sysadmin-phase-start" { + description + "A sysadmin ISSU phase is beginning"; + } + enum "notif-sysadmin-op-end" { + description + "A sysadmin ISSU operation is ending"; + } + } + description + "Enumeration of notifications that features can be registered for"; + } + + typedef op-stage { + type enumeration { + enum "prepare-preamble" { + description + "Prechecks and preprocessing"; + } + enum "prepare-host" { + description + "Host package preparation"; + } + enum "prepare-sysadmin" { + description + "Sysadmin package preparation"; + } + enum "prepare-aborting" { + description + "Aborting after encountering an error"; + } + enum "prepare-postamble" { + description + "Operation post-processing"; + } + enum "prepare-complete" { + description + "All preparation complete"; + } + enum "activate-preamble" { + description + "Pre-checks and pre-processing"; + } + enum "activate-sysadmin-phase-one" { + description + "Sysadmin activation on first subset of nodes"; + } + enum "activate-sysadmin-phase-two" { + description + "Sysadmin activation on second subset of nodes"; + } + enum "activate-host" { + description + "Host activation"; + } + enum "activate-aborting" { + description + "Aborting after encountering an error, from which it is not possible to recover"; + } + enum "activate-paused" { + description + "Paused after encountering an error from which it is possible to recover"; + } + enum "activate-postamble" { + description + "Post-checks and post-processing"; + } + enum "activate-complete" { + description + "All activation complete"; + } + } + description + "Enumeration of stages that the ISSU operation can be in"; + } + + grouping op-start-output { + leaf result { + type op-start-result; + description + "An indication of whether the operation was started successfully and which error was encountered, if any"; + } + leaf id { + type uint32; + description + "On success, the ID of the started operation"; + } + } + + container issu { + config false; + description + "ISSU actions and operational state"; + tailf:cli-incomplete-show-path; + tailf:action "prepare" { + tailf:actionpoint "prepare"; + tailf:hidden "internal-command"; + description + "Prepare software for ISSU activation, without changing the running software"; + input { + leaf-list packages { + type string; + description + "Names of packages added to the repository that are to be prepared"; + } + leaf-list ids { + type uint32; + description + "IDs of previous install operations: packages added by these operations are to be prepared"; + } + leaf activate { + type boolean; + default "false"; + description + "If true, automatically activate the software using ISSU once it has been prepared"; + } + } + output { + uses op-start-output; + } + } + tailf:action "activate" { + tailf:actionpoint "activate"; + tailf:hidden "internal-command"; + description + "Activate prepared software using ISSU"; + input; + output { + uses op-start-output; + } + } + tailf:action "deactivate" { + tailf:actionpoint "deactivate"; + tailf:hidden "internal-command"; + description + "Deactivate software using ISSU"; + input { + leaf-list packages { + type string; + description + "Names of packages that are currently active and are to be deactivated"; + } + leaf-list ids { + type uint32; + description + "IDs of previous install operations: packages added by these operations are to be prepared"; + } + } + output { + uses op-start-output; + } + } + tailf:action "recover" { + tailf:actionpoint "recover"; + tailf:hidden "internal-command"; + description + "Perform an in-service recovery to bring the system back to its original state after a failed ISSU activate or deactivate operation. This is a continuation of the original activate or deactivate operation (so in particular it has the same operation ID)"; + input; + output { + uses op-start-output; + } + } + container status { + config false; + description + "Status of the in-progress or last completed ISSU operation"; + tailf:callpoint "status"; + tailf:cli-full-show-path; + tailf:cli-show-template + "$(complete != false?No :)ISSU operation in progress + $(operation-type != no-operation?------- + Operation type$(:) $(operation-type) + Operation status$(:) $(complete == true?complete:$(complete == false?in-progress)) + $(complete != false?Overall:Current) result$(:) $(result) + Install ID$(:) $(id) + Sysadmin packages$(:) $(sysadmin-packages) + Host packages$(:) $(host-packages) + $(recover-result?Recovery result$(:) $(recover-result) + )$(prepare/stage? + Prepare + ------- + Install ID$(:) $(prepare-id) + Stage$(:) $(prepare/stage)$(prepare/start-time?, $(prepare/start-time)) + $(prepare/stage != prepare-complete?Activity$(:) $(prepare/activity)$(prepare/activity-start-time?, $(prepare/activity-start-time)) + ))$(activate/stage? + Activate + ------- + Install ID$(:) $(activate-id) + Stage$(:) $(activate/stage)$(activate/start-time?, $(activate/start-time)) + $(activate/stage != activate-complete?Activity$(:) $(activate/activity) $(activate/activity-start-time?, $(activate/activity-start-time)) + $(activate/activity-nodes?On nodes$(:) $(activate/activity-nodes) + )$(activate/activity-waiting-for?Waiting for$(:) $(activate/activity-waiting-for) + )))$(error/result != success? + Error + ------- + Result$(:) $(error/result) + Stage$(:) $(error/stage) + Error message$(:) $(error/error-message) + $(error/details/nodes?Nodes$(:) $(error/details/nodes) + )$(error/details/clients?Clients$(:) $(error/details/clients) + )$(error/details/packages?Packages$(:) $(error/details/packages) + )$(error/details/operation-ids?Operation IDs$(:) $(error/details/operation-ids) + ))) + "; + leaf operation-type { + type enumeration { + enum "no-operation" { + description + "No ISSU operations have been attempted."; + } + enum "activate-operation" { + description + "Overall operation will add or upgrade packages in the running software"; + } + enum "deactivate-operation" { + description + "Overall operation will remove packages from the running software"; + } + } + description + "Whether the operation is an activate or deactivate. Both types of operation go through 'prepare' and 'activate' phases.The difference is the end result: whether the target packages are made to run, or removed from the running software."; + } + leaf id { + type uint32; + description + "ID for the current/latest phase of the operation"; + } + leaf prepare-id { + type uint32; + description + "ID for the prepare phase of the operation"; + } + leaf activate-id { + type uint32; + description + "ID for the activate or deactivate phase of the operation"; + } + leaf-list sysadmin-packages { + type string; + description + "Sysadmin packages that are part of the operation"; + } + leaf-list host-packages { + type string; + description + "Host OS packages that are part of the operation"; + } + leaf complete { + type boolean; + description + "Whether or not the operation has completed."; + } + leaf result { + type op-result; + description + "Whether the operation succeeded or failed, and the error if any. If in progress, this reflects the current state."; + } + leaf recover-result { + type op-result; + description + "If a recovery attempt has been completed, an indication of whether the recovery succeeded or failed, and the error if any"; + } + container prepare { + description + "State specific to the prepare phase"; + leaf stage { + type op-stage; + description + "Progress of the prepare phase"; + } + leaf start-time { + type ietf-types:date-and-time; + description + "When this ehase was started"; + } + leaf activity { + type string; + description + "A description of the current orchestration activity being executed"; + } + leaf activity-start-time { + type ietf-types:date-and-time; + description + "When the current activity was started"; + } + } + container activate { + description + "State specific to the activate phase"; + leaf stage { + type op-stage; + description + "Progress of the activate phase"; + } + leaf start-time { + type ietf-types:date-and-time; + description + "When this phase was started"; + } + leaf activity { + type string; + description + "A description of the current orchestration activity being executed"; + } + leaf-list activity-nodes { + type string; + description + "Nodes on which the current orchestration activity is being executed"; + } + leaf activity-waiting-for { + type string; + description + "A description of what needs to happen before the next orchestration activity can be started"; + } + leaf activity-start-time { + type ietf-types:date-and-time; + description + "When the current activity was started"; + } + } + container error { + description + "Details of the first error that was encountered, if there were any."; + leaf result { + type op-result; + description + "If the operation has completed, an indication of whether the operation succeeded or failed, and the error if any"; + } + leaf stage { + type op-stage; + description + "The stage during which the error was encountered"; + } + leaf error-message { + type string; + description + "Message describing the error."; + } + container details { + description + "Details specific to the error. Contents are only filled in if it is relevant to the error that occured."; + leaf-list nodes { + type string; + description + "A list of the nodes affected by or causing the error."; + } + leaf-list clients { + type string; + description + "A list of the registered features affected by or causing the error."; + } + leaf-list packages { + type string; + description + "A list of the packages affected by or causing the error."; + } + leaf-list operation-ids { + type uint32; + description + "A list of the operation IDs affected by or causing the error."; + } + } + } + } + container clients { + description + "Features registered for notifications of ISSU phases"; + tailf:callpoint "clients"; + tailf:cli-show-template + "Clients + ------- + Announcement: $(announcement) + Announcement Status: $(announcement-status) + Clients: + $(client|show) + "; + leaf announcement { + type issu-notif; + description + "Type of most recent notification sent to clients"; + } + leaf announcement-status { + type enumeration { + enum "announce-no-notif" { + description + "No announcement has yet been sent"; + } + enum "announce-in-progress" { + description + "Announcement is in progress, waiting for responses"; + } + enum "announce-success" { + description + "The announcement has been acknowledged by all clients, ISSU may continue"; + } + enum "announce-veto" { + description + "One or more features vetoed the ISSU operation"; + } + enum "announce-disconnect" { + description + "One or more features disconnected during the announcement"; + } + enum "announce-timeout" { + description + "One or more features timed out during the announcement"; + } + enum "announce-send-error" { + description + "There was an error ending the announcement to one or more features"; + } + enum "announce-client-error" { + description + "One or more features has returned an error during the ISSU operation"; + } + } + description + "Status of most recent notification sent to clients"; + } + list client { + key "name location"; + tailf:cli-show-template + " Name: $(name) + Location: $(location) + Registered for: $(registered-for) + Last notification: $(notif) + Response: $(response) + Aborted: $(aborted) + Abort reason: $(abort-reason) + ---- + "; + leaf name { + type string; + description + "Name of the registered feature"; + } + leaf location { + type string; + description + "Node on which the feature process is running"; + } + leaf-list registered-for { + type issu-notif; + description + "Which notifications the feature is registered to receive"; + } + leaf notif { + type issu-notif; + description + "Type of most recent notification"; + } + leaf response { + type enumeration { + enum "notif-resp-no-notif" { + description + "No notification has yet been sent"; + } + enum "notif-resp-pending" { + description + "No response has yet been sent"; + } + enum "notif-resp-ack" { + description + "The notification has been acknowledged, ISSU may continue"; + } + enum "notif-resp-veto" { + description + "The feature has vetoed the ISSU operation"; + } + enum "notif-resp-disconnect" { + description + "The feature has disconnected during the notification"; + } + enum "notif-resp-timeout" { + description + "The feature has timed out during the ISSU operation"; + } + enum "notif-resp-send-error" { + description + "There was an error ending the announcement to the feature"; + } + enum "notif-resp-client-error" { + description + "The feature has returned an error during the ISSU operation"; + } + enum "notif-resp-client-abort" { + description + "The feature has aborted during the ISSU operation"; + } + } + description + "Response from this client to most recent notification sent to the client"; + } + leaf aborted { + type boolean; + description + "Whether the feature has requested that the current operation be aborted"; + } + leaf abort-reason { + type string; + description + "Description of the reason for requesting an abort, if applicable"; + } + } + } + container internals { + description + "Internal infrastructure state"; + tailf:hidden "debug"; + tailf:callpoint "internals"; + container orchestrator { + description + "Orchestrator module internal state"; + + typedef op-request-type { + type enumeration { + enum "operation-request-prepare" { + description + "Request to execute the prepare phase of an operation"; + } + enum "operation-request-activate" { + description + "Request to activate prepared packages"; + } + enum "operation-request-deactivate" { + description + "Request to execute both prepare and deactivate phases of an operation"; + } + enum "operation-request-recover" { + description + "Recover the system from a failed activate or deactivate operation"; + } + } + description + "Enumeration of requests that initiate (part of) an ISSU operation"; + } + + typedef stage-type { + type enumeration { + enum "start" { + description + "Start of operation"; + } + enum "end" { + description + "End of operation"; + } + enum "prepare-inventory-precheck" { + description + "Inventory precheck"; + } + enum "prepare-expand-operation-ids" { + description + "Expand add operation IDs to packages"; + } + enum "prepare-get-metadata" { + description + "Retrieve package metadata"; + } + enum "prepare-extract-composite" { + description + "Extract constituent packages"; + } + enum "prepare-verify-packages" { + description + "Verify package contents"; + } + enum "prepare-host" { + description + "The host preparation"; + tailf:code-name "prepare-host-full-list"; + } + enum "prepare-calvados" { + description + "The Calvados preparation"; + } + enum "prepare-deactivate-verify-packages" { + description + "Verify package contents for deactivation"; + } + enum "prepare-deactivate-calvados" { + description + "The Calvados preparation for deactivation"; + } + enum "prepare-abort" { + description + "Abort the prepare operation"; + } + enum "prepare-clean" { + description + "Clean-up of prepare operation"; + } + enum "activate-preamble" { + description + "Activation preamble"; + tailf:code-name "activate-preamble-full-list"; + } + enum "deactivate-preamble" { + description + "Deactivation preamble"; + tailf:code-name "deactivate-preamble-full-list"; + } + enum "activate-calvados-preamble" { + description + "Calvados-specific activation preamble"; + } + enum "activate-calvados-phase" { + description + "Activate the Calvados software"; + } + enum "activate-calvados-phase-reload" { + description + "Reload Calvados VMs"; + } + enum "activate-calvados-phase-postamble" { + description + "Post VM restart checks for Calvados"; + } + enum "activate-calvados-postamble" { + description + "Post Calvados activation handling"; + } + enum "activate-host" { + description + "Execute host ISSU"; + tailf:code-name "activate-host-full-list"; + } + enum "activate-postamble" { + description + "Post-processing for the activate operation"; + tailf:code-name "activate-postamble-full-list"; + } + enum "deactivate-calvados" { + description + "Deactivate the Calvados software"; + } + enum "activate-abort-no-recovery" { + description + "Abort the activate operation, no recovery is necessary"; + } + enum "activate-abort-unrecoverable" { + description + "Abort the activate operation, no recovery is possible"; + } + enum "activate-error-pause" { + description + "Pause following an error"; + } + enum "activate-calvados-recovery" { + description + "Rollback to committed Calvados"; + } + enum "activate-recovery-postamble" { + description + "Post rollback to committed Calvados"; + } + } + description + "Enumeration of possible internal stages in an operation"; + } + + typedef phase-type { + type enumeration { + enum "calvados-activate-phase-one" { + description + "Phase one of the Calvados activate operation"; + } + enum "calvados-activate-phase-two" { + description + "Phase two of the Calvados activate operation"; + } + } + description + "Calvados activate phase"; + } + + grouping stage-history-type { + list historical-stage { + key "stage-index"; + leaf stage-index { + type uint32; + description + "Integer stage index"; + } + leaf external-stage { + type op-stage; + description + "External stage of operation"; + } + leaf internal-stage-details { + type string; + description + "Details of the internal stage"; + } + leaf status { + type string; + description + "Status of the stage"; + } + leaf error-details { + type string; + description + "Further error details"; + } + leaf start-time { + type ietf-types:date-and-time; + description + "Start time of stage"; + } + leaf end-time { + type ietf-types:date-and-time; + description + "End time of stage"; + } + leaf complete { + type boolean; + description + "Is the stage complete?"; + } + } + } + tailf:callpoint "orchestrator"; + leaf command { + type op-request-type; + description + "Command issued"; + } + leaf operation-type { + type op-request-type; + description + "Type of operation: activate or deactivate"; + } + leaf current-operation { + type op-request-type; + description + "Operation being performed"; + } + leaf issu-completed { + type boolean; + description + "True if the overall ISSU operation has been completed, false otherwise"; + } + leaf operation-id { + type uint32; + description + "The ID for the operation"; + } + leaf in-progress { + type boolean; + description + "True if an operation is in progress"; + } + container operation-start-details { + leaf-list input-package { + type string; + description + "Packages used to initiate the operation"; + } + leaf-list input-operation-id { + type uint32; + description + "Operation IDs used to initiate operation"; + } + } + container internal-prepare { + leaf operation-id { + type uint32; + description + "ID of prepare operation"; + } + leaf complete { + type boolean; + description + "True if prepare phase complete"; + } + leaf current-stage { + type stage-type; + description + "Current stage of prepare operation, if a stage is in progress"; + } + leaf-list host-package { + type string; + description + "Host packages to be used in the ISSU"; + } + leaf-list calvados-package { + type string; + description + "Calvados packages to be used in the ISSU"; + } + container prepare-stage-history { + uses stage-history-type; + } + } + container internal-activate { + leaf operation-id { + type uint32; + description + "ID of prepare operation"; + } + leaf complete { + type boolean; + description + "True if activate phase complete"; + } + leaf current-stage { + type stage-type; + description + "Current stage of activate operation, if a stage is in progress"; + } + leaf current-phase { + type phase-type; + description + "Current phase of activate operation, if phase is relevant"; + } + leaf host-prepared { + type boolean; + description + "Indicates whether any host packages have been prepared"; + } + leaf calvados-prepared { + type boolean; + description + "Indicates whether any Calvados packages have been prepared"; + } + leaf-list host-node { + type string; + description + "Nodes participating in host ISSU"; + } + leaf-list calvados-phase-one-node { + type string; + description + "Nodes participating in phase one of Calvados ISSU"; + } + leaf-list calvados-phase-two-node { + type string; + description + "Nodes participating in phase two of Calvados ISSU"; + } + container activate-stage-history { + uses stage-history-type; + } + } + container error { + leaf operation-status { + type string; + description + "Overall status of the operation"; + } + leaf failure-operation { + type op-request-type; + description + "Operation in progress when first error was encountered"; + } + leaf failure-external-stage { + type stage-type; + description + "Stage being undertaken when first failure was encountered"; + } + leaf failure-internal-stage-details { + type string; + description + "Description of the internal state when first error encountered"; + } + leaf error-details { + type string; + description + "String describing error encountered"; + } + leaf-list failed-node { + type string; + description + "Nodes on which a failure occurred"; + } + leaf-list failed-package { + type string; + description + "Packages which caused a failure"; + } + leaf-list failed-operation-id { + type uint32; + description + "Operation IDs which caused a failure"; + } + leaf-list failed-client { + type string; + description + "Registered features which caused a failure"; + } + leaf recovery-attempted { + type boolean; + description + "True if a recovery has been attempted or is currently in progress"; + } + leaf recovery-status { + type string; + description + "Status of the recovery operation"; + } + } + } + container agents { + description + "Agent module internal state"; + container requests { + description + "Data on requests being processed by Agent module"; + tailf:callpoint "requests"; + list request { + key "request-index"; + leaf request-index { + type uint32; + description + "Integer request index"; + } + leaf request-type { + type enumeration { + enum "requests-node-ready" { + description + "Node ready request"; + } + enum "requests-checkpoint" { + description + "Checkpoint request"; + } + enum "requests-post-upgrade-cleanup" { + description + "Post-upgrade cleanup request"; + } + } + description + "Type of request"; + } + choice contents { + case node-ready; + case checkpoint { + container checkpoint { + leaf message-type { + type enumeration { + enum "requests-checkpoint-start" { + description + "Start request"; + } + enum "requests-checkpoint-end" { + description + "End request"; + } + enum "requests-checkpoint-update" { + description + "Update request"; + } + } + description + "Checkpoint request type"; + } + leaf data-length { + type uint32; + description + "Length of checkpoint data. 0 for start/end requests"; + } + leaf filename { + type string; + description + "Filename of associated checkpoint file"; + } + } + } + case post-upgrade-cleanup; + } + leaf requests-sent { + type uint32; + description + "Number of requests sent. Equal to number of expected responses"; + } + leaf responses-received { + type uint32; + description + "Number of responses received from agents"; + } + container agents { + list agent { + key "agent-index"; + leaf agent-index { + type uint32; + description + "Integer agent index"; + } + leaf node { + type string; + description + "Node ID"; + } + leaf waiting-for-response { + type boolean; + description + "Indicates whether this agent has responded"; + } + container response-contents { + leaf agent-status { + type enumeration { + enum "agent-response-ok" { + description + "Node is ready/operation successful"; + } + enum "agent-response-error" { + description + "Otherwise undefined error"; + } + enum "agent-response-timeout" { + description + "Timeout during request"; + } + enum "agent-response-send-failure" { + description + "Failed to send request"; + } + } + description + "Enum indicating node status"; + } + leaf error-details { + type string; + description + "Further details of error occuring"; + } + } + } + } + } + } + container inventory { + description + "Inventory of agents held by Agent module"; + tailf:callpoint "agent-inventory"; + list agent { + key "agent-index"; + leaf agent-index { + type uint32; + description + "Integer agent index"; + } + leaf agent-node { + type string; + description + "Agent node ID"; + } + leaf reloaded { + type boolean; + description + "True if node has been reloaded. False otherwise"; + } + } + } + container reload-tracking { + description + "Reload tracking performed by Agent module"; + tailf:callpoint "reload-tracking"; + leaf in-progress { + type boolean; + description + "True if reload tracking in progress"; + } + leaf remaining-nodes-count { + type uint32; + description + "Number of nodes which have not yet reloaded"; + } + list node { + key "node-index"; + leaf node-index { + type uint32; + description + "Integer node index"; + } + leaf id { + type string; + description + "Node ID"; + } + leaf reloaded { + type boolean; + description + "True if node has been reloaded. False otherwise"; + } + } + } + } + container inventory-monitor { + description + "Inventory monitor module internal state"; + container inventory { + description + "Inventory of nodes in the system held by ISSU Director"; + tailf:callpoint "invmon-inventory"; + list node { + key "node"; + description + "The tree of nodes within the Inventory monitor module, keyed by node ID"; + leaf node { + type string; + description + "Node ID"; + } + leaf ip { + type string; + description + "Node IP address"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-led-mgr-ui.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-led-mgr-ui.yang new file mode 100644 index 0000000..3009ced --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-led-mgr-ui.yang @@ -0,0 +1,110 @@ +module Cisco-IOS-XR-sysadmin-led-mgr-ui { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-led-mgr-ui"; + prefix led_mgr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + description + "This module provides CLI for Status, ATTN, ALARM LED's."; + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + revision 2012-03-25 { + description + "changed leds to location, and added all"; + } + revision 2012-03-15 { + description + "Initial revision of led commands, march 25 changed leds to + location"; + } + + grouping hw-module-config-group { + uses hw-module-attention-led-config-group; + } + + grouping hw-module-attention-led-config-group { + container attention-led { + tailf:info "Enable attention LED (Blue) ON"; + list location { + key "location"; + tailf:info "R/S;; Attention LED location for applicable card"; + tailf:validate "attn_led_loc_validate" { + tailf:dependency "."; + } + leaf location { + type string { + pattern "([0-255])|((0?[0-9]|1[0-5])/(FC(0?[0-5])))|((0?[0-9]|1[0-5])/(RP(0?[0-1])))|((0?[0-9]|1[0-5])/(0?[0-9]|1[0-5]))|((F[0-3])/(FC(0?[0-9]|1[0-1])))|((F[0-3])/(SC(0?[0-1])))|(0?[0-9]/(SC(0?[0-1])))|(0?[0-9]/(FT(0?[0-2])))|(0?[0-9]/(PM(0?[0-9])))"; + } + mandatory true; + tailf:info + "R/S;; Location to (keep) attention-led on + rack(0-15 or F0-F3) + slot(RP0-RP1 or SC0-SC1 + or 0-7 or FC0-FC11)"; + } + } + } + } + tailf:id "http://www.cisco.com/panini/calvados/led_mgr"; + + container led { + config false; + description + "Calvados Led Manager Status, Attn, Alarm inventory"; + tailf:info "Show status, alarm and attention LED information"; + tailf:callpoint "show_led_location_cp"; + tailf:cli-show-template "$(location|show)"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template-legend + "============================================================= + Location LED Name Mode Color + ============================================================= + "; + tailf:cli-show-template + "$(.legend_shown!=true?============================================================= + Location LED Name Mode Color + ============================================================= + )$(location) + $(led_attributes|show)"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + list led_attributes { + key "led_name"; + tailf:cli-no-match-completion; + tailf:cli-drop-node-name; + tailf:callpoint "show_led_sensor_cp"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template " $(led_name|ljust:28) $(led_mode|ljust:10) $(led_color|ljust:8) \n"; + leaf led_name { + type string; + } + leaf led_mode { + type string; + } + leaf led_color { + type string; + } + } + } + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname.yang new file mode 100644 index 0000000..8d95420 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname.yang @@ -0,0 +1,51 @@ +module Cisco-IOS-XR-sysadmin-nto-misc-set-hostname { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-nto-misc-set-hostname"; + prefix hostname; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR syadmin hostname configuration and cli. + + This module contains definitions + for the following management objects: + hostname cli and configuration data + + Copyright (c) 2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Initial version."; + } + tailf:id "http://cisco.com/calvados/set_hostname"; + + container hostname { + description + "Set system`s network name"; + tailf:info "Set system`s network name"; + leaf name { + type string { + length "1..255"; + pattern "[a-zA-Z0-9_.{}+-]+"; + tailf:info "This system`s network name"; + } + tailf:cli-drop-node-name; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-clear.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-clear.yang new file mode 100644 index 0000000..68a8af7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-clear.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-sysadmin-obfl-clear { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-clear"; + prefix obflclear; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + description + "This module is for clearing OBFL data."; + + revision 2017-07-31 { + description + "Changed namespace to follow Cisco guidelines on naming conventions"; + } + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + revision 2011-12-03 { + description + "Initial revision."; + } + + grouping obflclear-grp { + container logging { + config false; + tailf:info "OBFL Clear onboard logging"; + tailf:hidden "advanced-grp"; + container onboard { + config false; + tailf:info "OBFL Clear onboard logging"; + tailf:callpoint "obfl_clear_cp"; + list location { + key "location"; + config false; + tailf:info "Select node location"; + tailf:cli-no-match-completion; + leaf location { + type string; + } + tailf:action "clear" { + tailf:actionpoint "action_obflclear"; + input { + leaf all { + type empty; + mandatory true; + } + } + } + } + } + } + } + tailf:id "http://cisco.com/calvados/obflclear"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-conf.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-conf.yang new file mode 100644 index 0000000..2997320 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl-conf.yang @@ -0,0 +1,53 @@ +module Cisco-IOS-XR-sysadmin-obfl-conf { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl-conf"; + prefix obflconf; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + description + "This module is for setting certain OBFL params."; + + revision 2017-07-31 { + description + "Changed namespace to Cisco guidelines on naming convention"; + } + revision 2011-12-03 { + description + "Initial revision."; + } + + grouping hw-module-config-group { + uses hw-module-obfl-config-group; + } + + grouping hw-module-obfl-config-group { + list location { + key "location"; + tailf:cli-incomplete-command; + tailf:info "Select location"; + leaf location { + type string; + tailf:info "Select target location"; + } + container logging { + tailf:info "OBFL logging"; + container onboard { + tailf:info "OBFL onboard logging"; + choice onboard_target { + case target_disable { + leaf disable { + type empty; + tailf:info "OBFL disable logging"; + } + } + } + } + } + } + } + tailf:id "http://www.cisco.com/calvados/obflconf"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl.yang new file mode 100644 index 0000000..c5c4cc1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-obfl.yang @@ -0,0 +1,46 @@ +module Cisco-IOS-XR-sysadmin-obfl { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-obfl"; + prefix obfl; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + description + "This module holds OBFL data."; + + revision 2017-07-31 { + description + "Changed namespace to follow Cisco guidelines on naming convention"; + } + revision 2012-10-10 { + description + "Initial revision of show obfl related commands"; + } + + grouping obfl_trace { + container obfl_mgr { + tailf:info "OBFL Manager Process data"; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } + container obfl_show { + tailf:info "OBFL Show Process data"; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } + } + tailf:id "http://www.cisco.com/panini/calvados/obfl"; + + container obfl { + config false; + tailf:info "OBFL Show Process data"; + tailf:cli-incomplete-show-path; + uses obfl_trace; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-pm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-pm.yang new file mode 100644 index 0000000..479d0c5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-pm.yang @@ -0,0 +1,543 @@ +module Cisco-IOS-XR-sysadmin-pm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-pm"; + prefix pmh; + + import tailf-common { + prefix tailf; + } + import tailf-xsd-types { + prefix xs; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + The Process Manager (PM). + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-11 { + description + "Initial version."; + } + + typedef startupMode { + type enumeration { + enum "ON-BOOTUP"; + enum "ON-SELECTION"; + enum "ON-DEMAND"; + } + } + + typedef processState { + type enumeration { + enum "IDLE"; + enum "RUNNING"; + enum "STOPPING"; + enum "STOPPED"; + enum "DESELECTING"; + enum "DESELECTED"; + } + } + + typedef serviceScope { + type enumeration { + enum "SYSTEM"; + enum "RACK"; + } + } + + typedef serviceState { + type enumeration { + enum "SS_IDLE"; + enum "SS_RUNNING"; + enum "SS_ACK_PENDING"; + } + } + + typedef serviceRole { + type enumeration { + enum "NONE"; + enum "ACTIVE"; + enum "STANDBY"; + } + } + + typedef proc-name-type { + type string; + tailf:info "WORD;;Name of the executable"; + } + + typedef user-name-type { + type string; + tailf:info "WORD;;Name of the user"; + } + + typedef task-name-type { + type string; + tailf:info "String[In quotes];;Task"; + } + + typedef folder-name-type { + type string; + tailf:info "WORD;;Name of the folder"; + } + + typedef source-name-type { + type string; + tailf:info "WORD;;Copy From Source"; + } + + typedef dest-name-type { + type string; + tailf:info "WORD;;Copy To Destination"; + } + + typedef file-name-type { + type string; + tailf:info "WORD;;Name of the file"; + } + + typedef folder-file-name-type { + type string; + tailf:info "WORD;;Name of the folder or file"; + } + + typedef instance-id-type { + type uint32; + tailf:info "IID;;Process Instance ID"; + } + + typedef service-name-type { + type string; + tailf:info "WORD;;Name of the service"; + } + + typedef proc-id-type { + type uint32; + tailf:info "PID;;Process ID"; + } + + typedef node-name-type { + type string; + tailf:info "WORD;;all/node ID in #/RP# format"; + } + tailf:id "http://cisco.com/calvados/pm"; + + container processes { + config false; + description + "Process Info"; + tailf:callpoint "pm_show_location"; + tailf:hidden "internal-command"; + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:display-groups "proc-brief proc-detail proc-summary proc-abort-info svc-summary svc-brief svc-detail none"; + tailf:cli-show-template-enter + "---------------------------------------------------------------------- + node\\\\: $(location) + "; + tailf:cli-show-template "$(name|show)"; + leaf location { + type string; + tailf:cli-expose-key-name; + tailf:cli-disallow-value "(proc-brief)|(proc-details)|(proc-summary)|(proc-abort-info)|(svc-summary)|(svc-brief)|(svc-detail)|(name)"; + tailf:display-groups "proc-summary proc-abort-info none"; + tailf:cli-allow-range; + } + leaf ip-addr { + type inet:ip-address; + description + "IP address of the location"; + } + leaf pcbs { + type uint32; + description + "Total number of process control blocks"; + } + list name { + key "proc-name instance-id"; + tailf:display-groups "proc-brief proc-summary proc-detail proc-abort-info svc-summary svc-summary-legend svc-brief svc-detail none"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(.display_groups~=proc-summary?$(start-time|ljust:23) $($(proc-state|dict:IDLE=Idle:RUNNING=Run:STOPPED=Stop)|ljust:5) $(respawns|ljust:5) $($(mandatory|dict:true=M:false= )|ljust:6) $($(maint-mode|dict:true=Y:false= )|ljust:6) $(proc-name)\\\\($(instance-id)\\\\) $(args) + )$(.display_groups~=proc-abort-info?$(exit-status?$(last-exit-time) $(proc-name)\\\\($(instance-id)\\\\) $(exit-status), current state\\\\: $(proc-state|dict:IDLE=Idle:RUNNING=Run:STOPPED=Stop) + ))$(.display_groups~=proc-brief?---------------------------------------------------------------------- + PID\\\\: $(pid) + Executable path\\\\: $(path) + Instance #\\\\: $(instance-id) + $(args? Args\\\\: $(args) + ) Respawn\\\\: ON + Respawn count\\\\: $(respawns) + Max. spawns per $(respawn-reset-timer) mins\\\\: $(max-restarts) + Last started\\\\: $(start-time) + Process state\\\\: $(proc-state|dict:IDLE=Idle:RUNNING=Run:STOPPED=Stop) $(exit-status?\\\\($(exit-status)\\\\)) + startup_path\\\\: $(startup-file) + Ready\\\\: $(ready-time?$(ready-time|floatformat:-3)s:Not ready) + )$(.display_groups~=proc-detail? Startup Mode\\\\: $(startup-mode) + Heartbeat Timeout\\\\: $(heart-beat-timeout?$(heart-beat-timeout)s:Disabled) + Last Heartbeat\\\\: $(last-heart-beat-time?$(last-heart-beat-time|floatformat:-3)s ago:Not detected) + Mandatory\\\\: $(mandatory|dict:true=Y:false=N) + Run during Maint. mode\\\\: $(maint-mode|dict:true=Y:false=N) + $(last-exit-time? Last Exit Time\\\\: $(last-exit-time) + ))$(.display_groups~=svc-summary?$(.display_groups~=svc-summary-legend?$(services|show):$(services?Table of services hosted on this process\\\\: + ---------------------------------------------------------------------- + LAST STARTED SCOPE SELE- ROLE STATE HA- SERVICE NAME + CTED RDY + ---------------------------------------------------------------------- + $(services|show) + ---------------------------------------------------------------------- + + )))$(.display_groups~=svc-brief?$(services|show))"; + tailf:cli-show-template-legend + "$(.display_groups~=proc-summary?---------------------------------------------------------------------- + LAST STARTED STATE RE- MANDA- MAINT- NAME\\\\(IID\\\\) ARGS + START TORY MODE + ---------------------------------------------------------------------- + )$(.display_groups~=svc-summary-legend?---------------------------------------------------------------------- + LAST STARTED SCOPE SELE- ROLE STATE HA- SERVICE NAME + CTED RDY + ---------------------------------------------------------------------- + )"; + tailf:cli-show-template-footer + "$(.display_groups~=svc-summary-legend?---------------------------------------------------------------------- + + )$(.display_groups~=proc-summary?---------------------------------------------------------------------- + Total pcbs\\\\: $(../pcbs) + ---------------------------------------------------------------------- + + )"; + leaf proc-name { + type proc-name-type; + description + "Name of the process"; + tailf:display-groups "proc-brief proc-detail proc-summary proc-abort-info svc-summary svc-summary-legend svc-brief svc-detail none"; + tailf:cli-disallow-value "(proc-brief)|(proc-details)|(proc-summary)|(proc-abort-info)|(svc-summary)|(svc-brief)|(svc-detail)"; + } + leaf instance-id { + type instance-id-type; + description + "Instance identifier"; + tailf:cli-allow-range; + } + leaf path { + type string; + description + "Process path"; + } + leaf startup-file { + type string; + description + "Process startup file"; + } + leaf startup-mode { + type startupMode; + description + "When is a process started"; + } + leaf heart-beat-timeout { + type uint32; + description + "Heart beat timeout in sec"; + } + leaf last-heart-beat-time { + type xs:double; + description + "How long ago last heart beat was detected"; + } + leaf max-restarts { + type uint32; + description + "Maximum num of restarts"; + } + leaf respawn-reset-timer { + type uint32; + description + "Respawn reset timer in min"; + } + leaf mandatory { + type boolean; + description + "Mandatory process"; + } + leaf maint-mode { + type boolean; + description + "Should run during maintenance mode"; + } + leaf args { + type string; + description + "Process arguments"; + } + leaf proc-state { + type processState; + description + "State of the process"; + } + leaf pid { + type int32; + description + "Process ID"; + } + leaf proc-aborted { + type boolean; + description + "Whether the processes ever aborted"; + } + leaf exit-status { + type string; + description + "Last exit status/info of the process"; + } + leaf respawns { + type int32; + description + "Total number of respawns of the process"; + } + leaf start-time { + type string; + description + "Last start date and time"; + } + leaf ready-time { + type xs:double; + description + "Time for ready from start-time"; + } + leaf last-exit-time { + type string; + description + "Last exit date and time"; + } + list services { + key "service-name"; + tailf:cli-suppress-table; + tailf:display-groups "proc-brief svc-summary svc-brief svc-detail none"; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(.display_groups~=svc-summary?$(svc-start-time|ljust:23) $($(scope|dict:SYSTEM=SYS)|ljust:6) $($(selected|dict:true=Y:false=N)|ljust:3) $(selected==true? $($(ha-role|dict:NONE=NONE:STANDBY=STBY:ACTIVE=ACT)|ljust:4) $($(service-state|dict:SS_IDLE=Idle:SS_RUNNING=Run:SS_ACK_PENDING=APend)|ljust:5) $(ha-role==STANDBY?$($(ha-ready|dict:true=Y:false=N)|ljust:3) : ): )$(service-name) + )$(.display_groups~=svc-brief?---------------------------------------------------------------------- + Service\\\\: $(service-name) + Host Process\\\\(IID\\\\) ARGS\\\\: $(../../proc-name)\\\\($(../../instance-id)\\\\) $(../../args) + Scope\\\\: $(scope) + Redundancy\\\\: $(redundancy|dict:true=Y:false=N) + Selected\\\\: $(selected|dict:true=Y:false=N) + Last started\\\\: $(svc-start-time) + $(selected==true? HA-Role\\\\: $(ha-role) + $(new-ha-role? New HA-Role\\\\: $(new-ha-role) + ) State\\\\: $(service-state|dict:SS_IDLE=Idle:SS_RUNNING=Run:SS_ACK_PENDING=Ack Pending) + Last Ready Time\\\\: $(svc-ready-time?$(svc-ready-time|floatformat:-3)s:Not ready) + $(ha-role==STANDBY? HA-Ready\\\\: $(ha-ready|dict:true=Y:false=N) + Last HA Ready Time\\\\: $(svc-haready-time?$(svc-haready-time|floatformat:-3):Not ready) + )))$(.display_groups~=svc-detail? Selection Result\\\\: $(ip1?$(ip1)$(ip2?, $(ip2)):None) + )"; + leaf service-name { + type string; + description + "Name of the service"; + tailf:display-groups "proc-brief svc-summary svc-brief svc-detail none"; + tailf:cli-disallow-value "(svc-summary)|(svc-brief)|(svc-detail)"; + } + leaf scope { + type serviceScope; + description + "Scope of the service"; + } + leaf redundancy { + type boolean; + description + "Service redundancy support"; + } + leaf ha-ready { + type boolean; + description + "Standby ready for HA"; + } + leaf service-state { + type serviceState; + description + "State of the service"; + } + leaf ha-role { + type serviceRole; + description + "Service role"; + } + leaf new-ha-role { + type serviceRole; + description + "New service role, different if PM in process of assigning"; + } + leaf selected { + type boolean; + description + "Service seleted to run on the node"; + } + leaf ip1 { + type inet:ip-address; + description + "First IP address in the selection"; + } + leaf ip2 { + type inet:ip-address; + description + "Second IP address in the selection"; + } + leaf svc-start-time { + type string; + description + "Last start date and time"; + } + leaf svc-ready-time { + type xs:double; + description + "Time it took to get ready since start time"; + } + leaf svc-haready-time { + type xs:double; + description + "Time it took to get HA-ready since start time"; + } + } + tailf:action "proc-action" { + tailf:actionpoint "proc-action"; + input { + leaf do-what { + type enumeration { + enum "crash"; + enum "restart"; + enum "disable-heartbeat"; + enum "enable-heartbeat"; + enum "start"; + enum "shutdown"; + enum "mandatory-toggle"; + } + mandatory true; + } + leaf user-name { + type string; + mandatory true; + description + "Name of the logged in user"; + } + leaf user-ip { + type string; + mandatory true; + description + "IP address of the user"; + } + } + output { + leaf proc-action-status { + type string; + mandatory true; + } + } + } + } + } + } + container process-manager { + config false; + description + "Process Manager Info"; + tailf:callpoint "pm_info_show_location"; + tailf:hidden "internal-command"; + list all-locations-info { + key "location-info"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "---------------------------------------------------------------------- + node\\\\: $(location-info) + ---------------------------------------------------------------------- + Node IP address\\\\: $(ip-addr-info) + PM Start Time Stamp\\\\: $(pm-start-time) + Mandatory process down state\\\\: $(mand-proc-down|dict:true=Y:false=N) + vm-manager connection up\\\\: $(vmm-capi-up|dict:true=Y:false=N) + wdmon connection up\\\\: $(wdmon-capi-up|dict:true=Y:false=N) + Last wdmon connect timestamp\\\\: $(wdmon-capi-timestamp) + Num wdmon connects\\\\: $(wdmon-num-capi-connects) + ---------------------------------------------------------------------- + "; + leaf location-info { + type string; + tailf:cli-allow-range; + tailf:cli-expose-key-name; + } + leaf ip-addr-info { + type inet:ip-address; + description + "IP address of the location"; + } + leaf pm-start-time { + type string; + description + "Last start date and time for PM"; + } + leaf mand-proc-down { + type boolean; + description + "PM in mandatory process down state"; + } + leaf vmm-capi-up { + type boolean; + description + "Status of CAPI with vm-manager"; + } + leaf wdmon-capi-up { + type boolean; + description + "Status of CAPI with wdmon"; + } + leaf wdmon-capi-timestamp { + type string; + description + "Date and time of last wdmon CAPI connection establish"; + } + leaf wdmon-num-capi-connects { + type uint32; + description + "Number of times wdmon CAPI connection extablished"; + } + } + } + container pm { + config false; + tailf:cli-incomplete-show-path; + tailf:info "Show Process Manager information"; + container pm { + tailf:cli-drop-node-name; + uses show_trace:traceable; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-rvm-mgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-rvm-mgr.yang new file mode 100644 index 0000000..8c7eace --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-rvm-mgr.yang @@ -0,0 +1,219 @@ +module Cisco-IOS-XR-sysadmin-rvm-mgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr"; + prefix rvmmh; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-12 { + description + "Initial Version"; + } + + typedef nodetype_td { + type enumeration { + enum "sysadmin" { + value 1; + } + enum "service" { + value 2; + } + } + } + + typedef flagtype_td { + type enumeration { + enum "clear" { + value 0; + } + enum "set" { + value 1; + } + } + } + tailf:id "http://cisco.com/calvados/rvmm"; + + container RVM { + config false; + description + "RVM Manager Info"; + tailf:callpoint "rvmm_show_location"; + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "------ RVMs Info for location $(location) ------\n"; + leaf location { + type string; + tailf:cli-expose-key-name; + } + container objects { + config false; + description + "RVM Manager Info"; + tailf:callpoint "rvmm_show_location"; + list all-objs { + key "index"; + tailf:cli-show-template-enter + " + ---- Object DB Info ----- + "; + tailf:cli-suppress-table; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-show-template + " ------------------ + Index : $(index) + Allocated : $(num_allocated) + Freed : $(num_freed) + Objects : $(num_objects) + ------------------ + "; + leaf index { + type uint32; + description + "Index into obj_db array"; + } + leaf num_allocated { + type uint32; + description + "Number of allocated nodes"; + } + leaf num_freed { + type uint32; + description + "Number of freed nodes"; + } + leaf num_objects { + type uint32; + description + "Number of current object nodes"; + } + } + } + container node { + config false; + description + "RVM Manager Node Info"; + tailf:callpoint "rvmm_show_location"; + list all-nodes { + key "ipv4_addr"; + tailf:cli-show-template-enter + " + ---- Node Info ----- + "; + tailf:cli-suppress-table; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-show-template + " ------------------ + IP Address: $(ipv4_addr_str) + Info : $(node_info) + Heartbeat : $(node_hb_info) + Card Info : $(node_card_info) + ------------------ + "; + leaf ipv4_addr { + type uint32; + description + "IP address of the node"; + } + leaf ipv4_addr_str { + type string; + description + "IP address of the node in string format"; + } + leaf node_info { + type string; + description + "Node type state and flag"; + } + leaf node_hb_info { + type string; + description + "Node heartbeat related info"; + } + leaf node_card_info { + type string; + description + "Card info the node belongs to"; + } + } + } + container card { + config false; + description + "RVM Manager Card Info"; + tailf:callpoint "rvmm_show_location"; + list all-cards { + key "serial_num"; + tailf:cli-show-template-enter + " + ---- Card Info ----- + "; + tailf:cli-suppress-table; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-show-template + " ------------------ + Serial Num : $(serial_num) + Flags : $(card_flag) + Card Info : $(card_info) + Sysadmin Nodes : $(sysadmin_nodes) + XR Nodes : $(xr_nodes) + ------------------ + "; + leaf serial_num { + type string; + description + "Serial number of the card"; + } + leaf card_flag { + type string; + description + "Card flags"; + } + leaf card_info { + type string; + description + "Card rack and slot num"; + } + leaf sysadmin_nodes { + type string; + description + "Sysadmin nodes on this card"; + } + leaf xr_nodes { + type string; + description + "XR nodes on this card"; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdm-diag.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdm-diag.yang new file mode 100644 index 0000000..c0408a6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdm-diag.yang @@ -0,0 +1,608 @@ +module Cisco-IOS-XR-sysadmin-sdm-diag { + namespace "http://cisco.com/calvados/diagnostics"; + prefix diagnostics_actions; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + + revision 2017-03-21 { + description + "Added completion point to location and testid + Suppressed the range using cli-suppress-range"; + } + revision 2012-08-03 { + description + "output string formatting using cli"; + } + + typedef Location { + type string; + tailf:info "WORD ;; Fully qualified location specification"; + } + + typedef Test { + type string; + description + "Enter the test Name"; + tailf:info + "Test Name or ALL ;; Enter Name of the test + / Select all tests"; + } + + typedef Individual_test { + type string; + description + "Enter the test Name"; + tailf:info "Test Name ;; Enter Name of the test"; + } + + typedef Type_int32 { + type int32; + description + "Enter the value "; + tailf:info "Enter The value "; + } + + typedef Hour_Minute { + type string { + pattern "([01]?[0-9]|2[0-3]):[0-5][0-9]"; + tailf:info + "00:00 to 23:59 ;; Enter the hour and minute in + hh:mm format"; + } + } + + container diagnostic { + tailf:info "Online diagnostic commands"; + container monitor { + tailf:info "Configure diagnostic monitoring tests"; + container rejected { + tailf:validate "diag_validate" { + tailf:dependency "."; + } + tailf:cli-drop-node-name; + list location { + key "loc"; + tailf:info "Select location"; + tailf:cli-no-key-completion; + leaf loc { + type Location; + tailf:cli-completion-actionpoint "location-complete"; + tailf:cli-suppress-range; + } + list test { + key "test_id run"; + tailf:info "Select a test name"; + tailf:cli-no-key-completion; + leaf test_id { + type Individual_test; + tailf:cli-completion-actionpoint "test_name-complete"; + tailf:cli-suppress-range; + } + leaf run { + type enumeration { + enum "disable" { + value 1; + } + } + tailf:info "Set Disable of the test"; + tailf:cli-drop-node-name; + tailf:cli-suppress-range; + } + } + } + } + container interval { + tailf:validate "diag_validate" { + tailf:dependency "."; + } + tailf:info "Configure diagnostic monitoring tests interval"; + list location { + key "loc"; + tailf:info "Select location"; + tailf:cli-no-key-completion; + leaf loc { + type Location; + tailf:cli-suppress-range; + tailf:cli-completion-actionpoint "location-complete"; + } + list test { + key "test_id"; + tailf:info "Select a test name"; + tailf:cli-no-key-completion; + tailf:cli-full-no; + leaf test_id { + type Individual_test; + tailf:cli-suppress-range; + tailf:cli-completion-actionpoint "test_name-complete"; + } + leaf days { + type int32 { + range "0..20"; + tailf:info "0 to 20 ;; Number of days"; + } + mandatory true; + tailf:info "Enter number of days 0 to 20"; + tailf:validate "validate_interval" { + tailf:dependency "."; + } + } + leaf time { + type string { + pattern "([01]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]"; + tailf:info + "00:00:00 to 23:59:59 ;; Time + information in hh:mm:ss format. Ex. For + 5 second, [00:00:05]"; + } + mandatory true; + tailf:validate "validate_interval" { + tailf:dependency "."; + } + tailf:info + "Time information in hh:mm:ss format. + Ex. For 5 seconds, [00:00:05]"; + } + } + } + } + container threshold { + tailf:validate "diag_validate" { + tailf:dependency "."; + } + tailf:info "Configure diagnostic monitoring failure threshold"; + list location { + key "loc"; + tailf:info "Select location"; + tailf:cli-no-key-completion; + leaf loc { + type Location; + tailf:cli-completion-actionpoint "location-complete"; + tailf:cli-suppress-range; + } + list test { + key "test_id"; + tailf:info "Select a test name"; + tailf:cli-no-key-completion; + leaf test_id { + type Individual_test; + tailf:cli-suppress-range; + tailf:cli-completion-actionpoint "test_name-complete"; + } + leaf failure-count { + type int32 { + range "1..99"; + tailf:info "1 to 99 ;; Enter the Threshold "; + } + mandatory true; + tailf:info "Setting failure threshold count"; + } + } + } + } + } + container schedule { + tailf:info "Configure diagnostic schedule for a card"; + container start { + tailf:validate "diag_validate" { + tailf:dependency "."; + } + list location { + key "loc"; + tailf:info "Select location"; + tailf:cli-no-key-completion; + leaf loc { + type Location; + tailf:cli-completion-actionpoint "location-complete"; + tailf:cli-suppress-range; + } + list test { + key "test_id"; + tailf:info "Select a test name"; + tailf:cli-no-key-completion; + leaf test_id { + type Individual_test; + tailf:cli-suppress-range; + tailf:cli-completion-actionpoint "test_name-complete"; + } + list daily { + key "hour_min"; + tailf:info "Daily schedule"; + tailf:cli-no-key-completion; + leaf hour_min { + type Hour_Minute; + tailf:cli-suppress-range; + } + } + list on { + key "month day_of_month year hour_min"; + tailf:info "Absolute schedule"; + tailf:cli-no-key-completion; + tailf:cli-suppress-key-sort; + tailf:validate "validate_date" { + tailf:dependency "."; + } + leaf month { + type enumeration { + enum "JAN"; + enum "FEB"; + enum "MAR"; + enum "APR"; + enum "MAY"; + enum "JUN"; + enum "JUL"; + enum "AUG"; + enum "SEP"; + enum "OCT"; + enum "NOV"; + enum "DEC"; + } + tailf:cli-suppress-range; + tailf:info "Enter the month to start the test"; + } + leaf day_of_month { + type int32 { + range "1..31"; + tailf:info + "1 - 31 ;; Enter date in the + month to start the test "; + } + tailf:cli-suppress-range; + } + leaf year { + type int32 { + range "2013..2099"; + tailf:info "2013 - 2099 ;; Enter year"; + } + tailf:cli-suppress-range; + } + leaf hour_min { + type Hour_Minute; + tailf:cli-suppress-range; + } + } + list weekly { + key "daysofweek hour_min"; + tailf:info "Weekly schedule"; + tailf:cli-suppress-key-sort; + tailf:cli-no-key-completion; + leaf daysofweek { + type enumeration { + enum "SUN"; + enum "MON"; + enum "TUE"; + enum "WED"; + enum "THR"; + enum "FRI"; + enum "SAT"; + } + tailf:cli-suppress-range; + tailf:info "Enter the day in the week"; + } + leaf hour_min { + type Hour_Minute; + tailf:cli-suppress-range; + } + } + } + } + } + } + container status { + config false; + tailf:callpoint "diag_status"; + tailf:info "show diagnostic status"; + list location_index { + key "data_idx"; + tailf:info "to populate the location index"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + " + $(description|ljust:11) $(curr_running_tst_runby) + --------------------------------------------------------------------------- + "; + tailf:cli-show-template-legend + " + - Bootup Diagnostics, - Health Monitoring Diagnostics, + - OnDemand Diagnostics, - Scheduled Diagnostics + =========================================================================== + Location Current Running Test Status Run by + ---------------------------------------------------------------------------"; + leaf data_idx { + type int32; + } + leaf description { + type string; + tailf:hidden "internal"; + } + leaf curr_running_tst_runby { + type string; + tailf:hidden "internal"; + } + } + } + container diag_start { + config false; + tailf:cli-drop-node-name; + tailf:hidden "internal-command"; + tailf:callpoint "diag_ondemand_cli_cp"; + tailf:info "Show diagnostic start"; + list location { + key "loc"; + leaf loc { + type Location; + } + leaf description { + type string; + default "port."; + } + list test { + key "test_type"; + leaf test_type { + type Test; + } + leaf description { + type string; + default "Test."; + } + tailf:action "start" { + tailf:actionpoint "diagnostic_start"; + tailf:info "Diagnostic Start command"; + input; + output { + leaf response_str { + type string; + tailf:cli-drop-node-name; + } + } + } + } + } + } + container diag_stop { + config false; + tailf:cli-drop-node-name; + tailf:hidden "internal-command"; + tailf:callpoint "diag_ondemand_cli_cp"; + tailf:info "Show diagnostic stop"; + list location { + key "loc"; + leaf loc { + type Location; + } + leaf description { + type string; + default "port."; + } + list test { + key "test_type"; + leaf test_type { + type Test; + } + leaf description { + type string; + default "Test."; + } + tailf:action "stop" { + tailf:actionpoint "diagnostic_stop"; + tailf:info "Diagnostic Stop command"; + input; + } + } + } + } + container content { + config false; + tailf:callpoint "show_diag_content"; + tailf:info "show diagnostic content"; + tailf:hidden "internal-command"; + list location { + key "loc"; + leaf loc { + type Location; + } + leaf description { + type string; + default "port."; + } + list data_list { + key "data_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + " + $(id|ljust:4) $(test_name|ljust:34) $(attribute|ljust:12) $(timeinfo|ljust:17) $(threshold|ljust) + "; + tailf:cli-show-template-legend + " + Diagnostics test suite attributes: + M/C/* - Minimal bootup level test / Complete bootup level test / NA + B/* - Basic ondemand test / NA + P/V/* - Per port test / Per device test / NA + D/N/* - Disruptive test / Non-disruptive test / NA + S/* - Only applicable to standby unit / NA + X/* - Not a health monitoring test / NA + F/* - Fixed monitoring interval test / NA + E/* - Always enabled monitoring test / NA + A/I - Monitoring is active / Monitoring is inactive + + Test Interval thre- + ID Test Name Attributes (day hh:mm:ss) shold + ==== ================================== ============ ================= ===== + "; + leaf data_idx { + type int32; + } + leaf id { + type int32; + description + "To display the test information"; + tailf:hidden "internal"; + } + leaf test_name { + type string; + tailf:hidden "internal"; + } + leaf attribute { + type string; + tailf:hidden "internal"; + } + leaf timeinfo { + type string; + tailf:hidden "internal"; + } + leaf threshold { + type int32; + tailf:hidden "internal"; + } + } + } + } + container result { + config false; + tailf:callpoint "show_diag_result"; + tailf:info "show diagnostic result"; + tailf:hidden "internal-command"; + list location { + key "loc"; + tailf:cli-show-template-enter + " + Diag Information For : "; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + leaf loc { + type Location; + } + leaf description { + type string; + default "port."; + } + list test { + key "test_type"; + leaf test_type { + type Test; + description + "test name|all"; + } + leaf description { + type string; + default "port."; + } + list detail { + key "det"; + tailf:cli-drop-node-name; + leaf det { + type string; + } + list data_list { + key "data_idx"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter ""; + tailf:cli-show-template + "$(sl_no)) $(test_name) -------> $(test_result)$(detail_flag==1? + Error code ------------------> $(err_code) $(err_description) + Test type -------------------> $(test_type) + HM test count ---------------> $(hm_test_count) + ONDEMAND test count ---------> $(od_test_count) + SCHED test count ------------> $(sched_test_count) + Total run count -------------> $(run_cnt) + Last test execution time ----> $(lt_exe_time)First test failure time -----> $(ft_fail_time)Last test failure time ------> $(lt_fail_time)Last test pass time ---------> $(lt_pass_time)Total failure count ---------> $(total_fail_cnt) + Consecutive failure count ---> $(cons_fail_cnt) + Additional information ------> $(more_info) + ___________________________________________________________________________) + + "; + tailf:cli-show-template-legend + " + + Test results: (P = Pass, F = Fail, U = Untested, T = Timedout, A = Aborted, S = Stopped) + ___________________________________________________________________________ + + "; + leaf data_idx { + type int32; + } + leaf detail_flag { + type int32; + tailf:hidden "internal"; + } + leaf sl_no { + type int32; + tailf:hidden "internal"; + } + leaf test_name { + type string; + tailf:hidden "internal"; + } + leaf test_result { + type string; + tailf:hidden "internal"; + } + leaf err_code { + type int32; + tailf:hidden "internal"; + } + leaf err_description { + type string; + tailf:hidden "internal"; + } + leaf test_type { + type string; + tailf:hidden "internal"; + } + leaf hm_test_count { + type int32; + tailf:hidden "internal"; + } + leaf od_test_count { + type int32; + tailf:hidden "internal"; + } + leaf sched_test_count { + type int32; + tailf:hidden "internal"; + } + leaf run_cnt { + type int32; + tailf:hidden "internal"; + } + leaf lt_exe_time { + type string; + tailf:hidden "internal"; + } + leaf ft_fail_time { + type string; + tailf:hidden "internal"; + } + leaf lt_fail_time { + type string; + tailf:hidden "internal"; + } + leaf lt_pass_time { + type string; + tailf:hidden "internal"; + } + leaf total_fail_cnt { + type int32; + tailf:hidden "internal"; + } + leaf cons_fail_cnt { + type int32; + tailf:hidden "internal"; + } + leaf more_info { + type string; + tailf:hidden "internal"; + } + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-console.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-console.yang new file mode 100644 index 0000000..3a5efa0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-console.yang @@ -0,0 +1,105 @@ +module Cisco-IOS-XR-sysadmin-sdr-console { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-console"; + prefix sdr_console; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2015-05-11 { + description + "Initial version."; + } + + grouping console-attach-config-group { + container attach-sdr { + container runtime { + tailf:validate "sdr_runtime_console_validate" { + tailf:dependency "."; + } + tailf:info "Configure attach-sdr"; + tailf:cli-drop-node-name; + list location { + key "location-rp"; + tailf:info "Location of console attach to apply"; + leaf location-rp { + type string { + pattern "((0?[0-9]|1[1-5])/([rR][pP]\\d{1,2}))(/[cC][pP][uU]0)?"; + tailf:info "Location string"; + } + tailf:info "Enter location to apply the console attach config"; + } + list tty-name { + key "ttyname"; + tailf:info "TTY name"; + leaf ttyname { + type string { + length "1..30"; + pattern "console1|console2"; + tailf:info "TTY name string [console1 | console2]"; + } + tailf:info "Enter TTY name"; + } + leaf sdr-name { + type string { + length "1..30"; + pattern "[a-zA-Z0-9_.{}+-]+"; + tailf:info "SDR name string"; + } + tailf:info "Enter SDR name"; + } + } + } + } + container boot { + tailf:validate "sdr_boot_console_validate" { + tailf:dependency "."; + } + tailf:info "Configure attach-sdr at boot"; + list location { + key "location-rp"; + tailf:info "Location of Console attach to apply"; + leaf location-rp { + type string { + pattern "((0?[0-9]|1[1-5])/([rR][pP]\\d{1,2}))(/[cC][pP][uU]0)?"; + tailf:info "Location string"; + } + tailf:info "Location to apply the console attach config"; + } + leaf sdr-name { + type string { + length "1..30"; + pattern "[a-zA-Z0-9_.{}+-]+"; + tailf:info "SDR name string"; + } + tailf:info "Enter SDR name"; + } + } + } + } + } + tailf:id "http://www.cisco.com/panini/calvados/sdr_mgr/sdr_console"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-mgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-mgr.yang new file mode 100644 index 0000000..dc063a3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sdr-mgr.yang @@ -0,0 +1,558 @@ +module Cisco-IOS-XR-sysadmin-sdr-mgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sdr-mgr"; + prefix calvados_sdr; + + import tailf-common { + prefix tailf; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the SDR-SM support config for SDR + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-06-20 { + description + "Changed the type of rp leaves in container pairing2 to string"; + } + + typedef Location { + type string { + pattern "((0?[0-9]|1[1-5])/(([rR][pP]|[lL][cC])?\\d{1,2}))(/[cC][pP][uU]0)?|all"; + } + description + "A system location in Rack/Slot/Instance"; + } + + typedef RPLocation { + type string { + pattern "((0?[0-9]|1[1-5])/([rR][pP]\\d{1,2}))(/[cC][pP][uU]0)?"; + } + description + "A system location in Rack/Slot/Instance"; + } + + typedef VMLocation { + type string { + pattern "((0?[0-9]|1[1-5])/(([rR]([sS]){0,1}[pP])?\\d{1,2})/[V][M](0?[0-9]|1[1-5]))?"; + } + description + "A system location in Rack/Slot/Instance"; + } + + typedef VMLocationall { + type string { + pattern "((0?[0-9]|1[1-5])/(([rR]([sS]){0,1}[pP])?\\d{1,2})/[V][M](0?[0-9]|1[1-5]))?|all"; + } + description + "A system location in Rack/Slot/Instance"; + } + + typedef CardType { + type enumeration { + enum "RP"; + enum "LC"; + } + description + "The List of supported Card Types"; + } + + typedef vm_reload_reason { + type enumeration { + enum "CARD_OFFLINE"; + enum "CARD_SHUTDOWN"; + enum "ALL_VM_RELOAD"; + enum "VM_REQUESTED_GRACEFUL_RELOAD"; + enum "VM_REQUESTED_UNGRACEFUL_RELOAD"; + enum "SDR_CLI_REQUESTED"; + enum "SDR_VCPU_VMEM_CHANGED"; + enum "SDR_HEARTBEAT_FAILURE"; + enum "FIRST_BOOT"; + enum "SMU"; + enum "REASON_UNKNOWN"; + } + description + "The List of vm reload reasons"; + } + + container sdr-config { + list sdr { + key "name"; + description + "Add/Edit a Secure Domain Router by name"; + leaf name { + type string { + pattern "[a-zA-Z0-9_-]{1,30}"; + } + description + "Name of the Secure Domain Router , 30 max characters"; + } + leaf initial-image { + type string; + description + "List of the initial image and packages for the Secure Domain Router."; + } + leaf lead_down_delta { + type uint32; + description + "Amount of time between lead down to declare SDR down"; + } + leaf pairing-mode { + type enumeration { + enum "intra-rack"; + enum "inter-rack"; + } + description + "Setting for pairing mode"; + } + leaf issu { + type enumeration { + enum "disable"; + } + description + "ISSU flag. Once disabled, ISSU won't be performed for this SDR."; + } + container resources { + description + "Edit resources for a Secure Domain Router"; + leaf fgid { + type uint32 { + range "25000..524288"; + } + description + "Fgids for a Secure Domain Router"; + } + leaf mgmt_ext_vlan { + type uint32 { + range "2..4094"; + } + description + "Management External VLAN for Secure Domain Router"; + } + list card-type { + key "type"; + leaf type { + type CardType; + description + "Card Type"; + } + leaf vm-memory { + type uint32 { + range "1..128"; + } + description + "VM Memory Size in units of [GB]"; + } + leaf vm-cpu { + type uint32 { + range "1..128"; + } + description + "VM Number of CPUs"; + } + } + leaf disk-space-size { + type uint32; + description + "Edit disk space size for a Secure Domain Router, unit in [MB]"; + } + } + list location { + key "node-location"; + min-elements 1; + max-elements "64"; + description + "Enter list of nodes' location to add to this LR"; + leaf node-location { + type Location; + description + "Enter location or all"; + } + } + container Action { + config false; + tailf:action "re_pair" { + tailf:actionpoint "re_pair_sdr"; + input { + choice what_act { + mandatory true; + } + } + output { + leaf result { + type string; + mandatory true; + } + } + } + list location { + key "node-location"; + min-elements 1; + max-elements "64"; + leaf node-location { + type VMLocationall; + description + "Enter location or all"; + } + tailf:action "reload" { + tailf:actionpoint "reload-sdr"; + input { + choice what_act { + mandatory true; + case act_force { + leaf force { + type empty; + mandatory false; + } + } + case act_coredump { + leaf coredump { + type empty; + mandatory false; + } + } + } + } + output { + leaf result { + type string; + mandatory true; + } + } + } + tailf:action "shut" { + tailf:actionpoint "reload-sdr"; + input; + output { + leaf result { + type string; + mandatory true; + } + } + } + tailf:action "start" { + tailf:actionpoint "reload-sdr"; + input; + output { + leaf result { + type string; + mandatory true; + } + } + } + } + } + container detail { + config false; + list location { + key "node-location"; + min-elements 1; + max-elements "64"; + leaf node-location { + type VMLocation; + } + leaf sdr-id { + type uint32; + } + leaf ip-addr { + type inet:ip-address; + description + "IP address of VM"; + } + leaf mac-address { + type string; + description + "MAC address of VM"; + } + leaf boot_part { + type string; + } + leaf data_part { + type string; + } + leaf big_disk { + type string; + } + leaf vm_id { + type uint32; + } + leaf vmcpu { + type uint32; + } + leaf vmmemory { + type uint32; + } + leaf card-type { + type string; + } + leaf card_serial { + type string; + } + leaf rack-type { + type string; + } + leaf chassis_serial { + type string; + } + leaf hw_version { + type string; + } + leaf mgmt_ext_vlan { + type string; + } + leaf state { + type string; + description + "State of VM"; + } + leaf start-time { + type string; + } + leaf reboot_count { + type uint32; + description + "Number of times rebooted since first boot"; + } + leaf rh_count { + type uint32; + description + "Number of times rebooted since lasr card reload"; + } + list reboot_hist1 { + key "count"; + leaf count { + type uint32; + } + leaf Time { + type string; + } + leaf Reason { + type string; + description + "Reason for reload"; + } + } + } + } + container reboot-history { + config false; + + grouping rebhist { + list location { + key "node-location"; + min-elements 1; + max-elements "64"; + leaf node-location { + type VMLocation; + } + leaf reboot_count { + type uint32; + description + "Number of times rebooted since first boot"; + } + leaf rh_count { + type uint32; + description + "Number of times rebooted since last card reload"; + } + list reboot_hist2 { + key "count"; + leaf count { + type uint32; + } + leaf Time { + type string; + } + leaf Reason { + type string; + description + "Reason for reload"; + } + } + } + } + container reverse { + uses rebhist; + } + container default-disp { + uses rebhist; + } + } + container nodes { + config false; + list location { + key "node-location"; + min-elements 1; + max-elements "64"; + leaf node-location { + type VMLocation; + } + leaf sdr-id { + type uint32; + } + leaf ip-addr { + type inet:ip-address; + description + "IP address of VM"; + } + leaf mac-address { + type string; + description + "MAC address of VM"; + } + leaf state { + type string; + description + "State of VM"; + } + leaf start-time { + type string; + } + leaf reload_reason { + type string; + description + "Reason for last reload"; + } + leaf reboot_count { + type uint32; + description + "Number of times rebooted since first boot"; + } + leaf rh_count { + type uint32; + description + "Number of times rebooted since first boot"; + } + } + } + container pairing2 { + config false; + leaf pairing-mode { + type string; + description + "Mode of Pairing"; + } + container sdrlead { + leaf rp1 { + type string; + } + leaf rp2 { + type string; + } + } + list pairing { + key "name"; + min-elements 1; + max-elements "64"; + leaf name { + type string; + } + leaf rp1 { + type string; + } + leaf rp2 { + type string; + } + } + } + list pairing { + key "name"; + description + "Add/Edit a RP Pairing by name"; + leaf name { + type string { + pattern "[a-zA-Z0-9_-]{1,64}"; + } + } + leaf rp1 { + type RPLocation; + mandatory true; + description + "Enter RP Node location"; + } + leaf rp2 { + type RPLocation; + mandatory true; + description + "Enter RP Node location"; + } + } + } + } + container sdr-manager { + config false; + container sdr_mgr { + uses show_trace:traceable; + } + } + container private-sdr { + list sdr-name { + key "name"; + min-elements 0; + max-elements "64"; + leaf name { + type string; + } + leaf id { + type uint32; + } + leaf lead_rack0 { + type uint32; + } + leaf lead_rack1 { + type uint32; + } + list pairing { + key "num"; + min-elements 0; + max-elements "64"; + leaf num { + type uint32; + } + leaf second_exist { + type boolean; + } + leaf rp1_rack { + type uint32; + } + leaf rp1_slot { + type uint32; + } + leaf rp2_rack { + type uint32; + } + leaf rp2_slot { + type uint32; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-services.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-services.yang new file mode 100644 index 0000000..49693fc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-services.yang @@ -0,0 +1,50 @@ +module Cisco-IOS-XR-sysadmin-services { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-services"; + prefix calvados_services; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the services offered in the + sysadmin plane. + + Copyright(c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-11-10 { + description + "Initial revision"; + } + + container service { + config true; + tailf:info "Modify use of network based services"; + container cli { + tailf:info "CLI configuration services"; + container interactive { + tailf:info "Change interactive behavior of commands"; + leaf enabled { + type boolean; + default "true"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ship.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ship.yang new file mode 100644 index 0000000..ba178aa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-ship.yang @@ -0,0 +1,278 @@ +module Cisco-IOS-XR-sysadmin-ship { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ship"; + prefix ship; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin operational. + + This module defines operational data for + sysadmin ship process. + + Copyright(c) 2010-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-09 { + description + "Namespace change to comply with Cisco guidelines"; + } + revision 2016-05-30 { + description + "Initial version."; + } + tailf:id "http://cisco.com/calvados/ship"; + + container stat { + config false; + description + "SHIP Info"; + tailf:alt-name "System-statistics"; + tailf:callpoint "ship_show_comp"; + list ship_comp { + key "comp-name"; + description + "Select ship client component"; + tailf:alt-name "Component-name"; + tailf:info "Select ship component name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "Component name: $(comp-name)"; + leaf comp-name { + type string; + description + "Name of component"; + tailf:info "Name of component"; + } + list process { + key "process-name"; + tailf:callpoint "ship_show_comp_proc"; + tailf:info "Select ship process name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "Process name: $(process-name)"; + leaf process-name { + type string; + tailf:info "Name of process"; + } + list client { + key "client-name"; + tailf:callpoint "ship_show_comp_cl"; + tailf:info "Select ship client name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "Client name: $(client-name)"; + leaf client-name { + type string; + tailf:info "Name of client"; + } + list cat { + key "cat-name"; + tailf:callpoint "ship_show_comp_cat"; + tailf:info "Select ship cat name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "Category name: $(cat-name)"; + leaf cat-name { + type enumeration { + enum "SHIP_TRANSPORT_COUNTERS" { + value 0; + } + enum "SHIP_SERVER_COUNTERS" { + value 1; + } + enum "SHIP_CLIENT_LIB_COUNTERS" { + value 2; + } + enum "SHIP_REPLICATION_COUNTERS" { + value 3; + } + enum "SHIP_READER_REPLICA_COUNTERS" { + value 4; + } + enum "SHIP_WRITER_REPLICA_COUNTERS" { + value 5; + } + enum "SHIP_TRANSPORT_COUNTERS_FAILOVER" { + value 6; + } + enum "SHIP_SERVER_COUNTERS_FAILOVER" { + value 7; + } + enum "SHIP_CLIENT_LIB_COUNTERS_FAILOVER" { + value 8; + } + enum "SHIP_REPLICATION_COUNTERS_FAILOVER" { + value 9; + } + enum "SHIP_TRANSPORT_ERRORS" { + value 10; + } + enum "SHIP_SERVER_ERRORS" { + value 11; + } + enum "SHIP_CLIENT_LIB_ERRORS" { + value 12; + } + enum "SHIP_REPLICATION_ERRORS" { + value 13; + } + enum "SHIP_READER_REPLICA_ERRORS" { + value 14; + } + enum "SHIP_WRITER_REPLICA_ERRORS" { + value 15; + } + enum "SHIP_TRANSPORT_ERRORS_FAILOVER" { + value 16; + } + enum "SHIP_SERVER_ERRORS_FAILOVER" { + value 17; + } + enum "SHIP_CLIENT_LIB_ERRORS_FAILOVER" { + value 18; + } + enum "SHIP_REPLICATION_ERRORS_FAILOVER" { + value 19; + } + enum "FEATURE_MA_COUNTERS" { + value 20; + } + enum "FEATURE_MA_COUNTERS_ERRORS" { + value 21; + } + enum "FEATURE_MA_COUNTERS_FAILOVER" { + value 22; + } + enum "VIRTUAL_INTERFACE_MA_COUNTERS" { + value 23; + } + enum "VIRTUAL_INTERFACE_MA_COUNTERS_ERRORS" { + value 24; + } + enum "VIRTUAL_INTERFACE_MA_COUNTERS_FAILOVER" { + value 25; + } + enum "FEATURE_EA_COUNTERS" { + value 26; + } + enum "FEATURE_EA_COUNTERS_ERRORS" { + value 27; + } + enum "VIRTUAL_INTERFACE_EA_COUNTERS" { + value 28; + } + enum "VIRTUAL_INTERFACE_EA_COUNTERS_ERRORS" { + value 29; + } + enum "VIRTUAL_INTERFACE_EA_COUNTERS_FAILOVER" { + value 30; + } + enum "SHIP_HISTOGRAM_COUNTERS" { + value 31; + } + enum "SHIP_WATERMARK_COUNTERS" { + value 32; + } + enum "SHIP_NODE_COUNTERS" { + value 33; + } + } + tailf:info "Name of cat"; + } + list counter-32b { + key "counter-name"; + tailf:alt-name "Counter-List"; + tailf:callpoint "ship_show_comp_counter"; + tailf:info "Select ship counter name"; + tailf:cli-suppress-table; + tailf:cli-show-template-enter "Counter name: $(counter-name)\t"; + leaf counter-name { + type string; + tailf:alt-name "\t Counter-API Name"; + tailf:info "Counter name or API name"; + } + leaf counter-value { + type uint32; + tailf:alt-name " Counter Value :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf watermark { + type uint32; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf time-stamp { + type uint64; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info1 { + type uint32; + tailf:alt-name + " + \t 10us :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info2 { + type uint32; + tailf:alt-name "\t 100us :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info3 { + type uint32; + tailf:alt-name "\t 1ms :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info4 { + type uint32; + tailf:alt-name "\t 10ms :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info5 { + type uint32; + tailf:alt-name "\t 100ms :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info6 { + type uint32; + tailf:alt-name "\t 1s :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info7 { + type uint32; + tailf:alt-name "\t 10s :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf hist-info8 { + type uint32; + tailf:alt-name "\t 100s :"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-diag.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-diag.yang new file mode 100644 index 0000000..d1bf6a1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-diag.yang @@ -0,0 +1,172 @@ +module Cisco-IOS-XR-sysadmin-show-diag { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-diag"; + prefix show_diag; + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module holds diag data for chassis, card, fan, power. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + + grouping diag-default-data { + + grouping chassis_eeprom_grp { + container chassis_eeprom_cnt { + list chassis_eeprom_list { + key "location"; + leaf location { + type string; + } + container eeprom-data { + leaf-list raw_list { + type string; + } + } + } + } + } + + grouping chassis_grp { + container chassis_cnt { + list chassis_list { + key "location"; + leaf location { + type string; + } + container default-data { + leaf-list default_out_list { + type string; + } + } + } + } + } + container default { + list default_list { + key "location"; + leaf location { + type string; + } + container default-data { + leaf-list default_out_list { + type string; + } + } + } + } + container fans { + list fans_list { + key "location"; + leaf location { + type string; + } + container default-data { + leaf-list default_out_list { + type string; + } + } + } + } + container power-supply { + list pwr_list { + key "location"; + leaf location { + type string; + } + container default-data { + leaf-list default_out_list { + type string; + } + } + } + } + container chassis { + uses chassis_grp; + uses chassis_eeprom_grp; + } + } + + grouping diag-summary-data { + container summary { + list summary_list { + key "location"; + leaf location { + type string; + } + container summary-data { + leaf-list summary_out_list { + type string; + } + } + } + } + } + + grouping diag-detail-data { + container detail { + list detail_list { + key "location"; + leaf location { + type string; + } + container detail-data { + leaf-list detail_out_list { + type string; + } + } + } + } + } + + grouping diag-eeprom-location-data { + container eeprom { + list eeprom_list { + key "location"; + leaf location { + type string; + } + container eeprom-data { + leaf-list raw_list { + type string; + } + } + } + } + } + + container diag { + config false; + description + "diag data"; + uses diag-default-data; + uses diag-summary-data; + uses diag-eeprom-location-data; + uses diag-detail-data; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-inv.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-inv.yang new file mode 100644 index 0000000..0b766e4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-inv.yang @@ -0,0 +1,231 @@ +module Cisco-IOS-XR-sysadmin-show-inv { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-inv"; + prefix inv; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Calvados Inventory Service maintain entity database + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2013-07-20 { + description + "MC revision of show inventory commands"; + } + + grouping target_str { + leaf name { + type string; + description + "Name of the entity"; + tailf:display-column-name "Name"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf Description { + type string; + description + "Description of the entity"; + tailf:display-column-name "Description"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf PID { + type string; + description + "Product ID of the entity"; + tailf:display-column-name "PID"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf VID { + type string; + description + "Version ID of the entity"; + tailf:display-column-name "VID"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf SN { + type string; + description + "Serial Numbe of the entity"; + tailf:display-column-name "SN"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + leaf loc { + type string; + description + "Node id of the entity"; + tailf:display-column-name "Location"; + } + leaf index { + type uint32; + description + "Index for the entity"; + tailf:info ""; + tailf:display-column-name "INDEX"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + + grouping inv-loc { + list location { + key "loc"; + tailf:callpoint "location_cp"; + tailf:info "Select node location"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + + grouping inv-all { + list all { + key "index"; + tailf:callpoint "all_cp"; + tailf:info "Get all FRU info"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + + grouping inv-chassis { + list chassis { + key "index"; + tailf:callpoint "chassis_cp"; + tailf:info "Get chassis info"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + + grouping inv-power { + list power { + key "index"; + tailf:callpoint "power_cp"; + tailf:info "Get Power info"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + + grouping inv-fan { + list fan { + key "index"; + tailf:callpoint "fan_cp"; + tailf:info "Get Fan info"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + + grouping inv-raw { + list raw { + key "index"; + tailf:callpoint "raw_cp"; + tailf:info "Get all entity info"; + tailf:cli-suppress-table; + tailf:cli-show-template-legend " "; + tailf:cli-show-template-enter " "; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-show-template + " + Name: $(name|ljust:20) Descr: $(Description|ljust:60) + PID: $(PID|ljust:22) VID: $(VID|ljust:20) SN: $(SN|ljust:12) + "; + uses target_str; + } + } + tailf:id "http://cisco.com/calvados/inv"; + + container inventory { + config false; + description + "show inventory"; + uses inv-loc; + uses inv-all; + uses inv-chassis; + uses inv-power; + uses inv-fan; + uses inv-raw; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-obfl.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-obfl.yang new file mode 100644 index 0000000..b80ef1d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-obfl.yang @@ -0,0 +1,353 @@ +module Cisco-IOS-XR-sysadmin-show-obfl { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-obfl"; + prefix shobfl; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + description + "This module holds OBFL data."; + + revision 2017-07-31 { + description + "Changed namespace to follow Cisco guidelines on naming convention"; + } + revision 2011-11-24 { + description + "Initial revision of show obfl related commands"; + } + + grouping obfl_data { + container uptime { + config false; + tailf:info "OBFL Uptime Data information"; + tailf:callpoint "obfl_uptime_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Uptime Information For : $(location) + "; + tailf:cli-show-template "$(uptime|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container uptime { + tailf:cli-drop-node-name; + leaf-list uptime_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container nvram { + config false; + tailf:info "Dump nvram contents"; + tailf:callpoint "obfl_nvram_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + NVRAM Information for: $(location) + "; + tailf:cli-show-template "$(nvram|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container nvram { + tailf:cli-drop-node-name; + leaf-list nvram_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container inventory { + config false; + tailf:info "OBFL Inventory Data information"; + tailf:callpoint "obfl_inventory_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Inventory Information For : $(location) + "; + tailf:cli-show-template "$(inventory|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container inventory { + tailf:cli-drop-node-name; + leaf-list inventory_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container temperature { + config false; + tailf:info "OBFL Temperature Data information"; + tailf:callpoint "obfl_temp_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Temperature Information For : $(location) + "; + tailf:cli-show-template "$(temperature|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container temperature { + tailf:cli-drop-node-name; + leaf-list temp_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container voltage { + config false; + tailf:info "OBFL Voltage Data information"; + tailf:callpoint "obfl_volt_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Voltage Information For : $(location) + "; + tailf:cli-show-template "$(voltage|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container voltage { + tailf:cli-drop-node-name; + leaf-list volt_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container fpd { + config false; + tailf:info "OBFL FPD Data information"; + tailf:callpoint "obfl_fpd_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL FPD Information For : $(location) + "; + tailf:cli-show-template "$(fpd|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container fpd { + tailf:cli-drop-node-name; + leaf-list fpd_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container diag_result { + config false; + tailf:info "OBFL Diag Test Results information"; + tailf:callpoint "obfl_diag_result_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Diag Test Result Information For : $(location) + "; + tailf:cli-show-template "$(diag_result|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container diag_result { + tailf:cli-drop-node-name; + leaf-list diag_result_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container diag_log { + config false; + tailf:info "OBFL Diag Logs Data information"; + tailf:callpoint "obfl_diag_log_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL Diag Logs Data Information For : $(location) + "; + tailf:cli-show-template "$(diag_log|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container diag_log { + tailf:cli-drop-node-name; + leaf-list diag_log_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container fmea { + config false; + tailf:info "OBFL FMEA Data information"; + tailf:callpoint "obfl_fmea_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL FMEA Information For : $(location) + "; + tailf:cli-show-template "$(fmea|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container fmea { + tailf:cli-drop-node-name; + leaf-list fmea_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container fabric { + config false; + tailf:info "OBFL FABRIC Data information"; + tailf:callpoint "obfl_fabric_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL FABRIC Information For : $(location) + "; + tailf:cli-show-template "$(fabric|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container fabric { + tailf:cli-drop-node-name; + leaf-list fabric_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + container prm { + config false; + tailf:info "OBFL PRM Data information"; + tailf:callpoint "obfl_prm_cp"; + list location { + key "location"; + tailf:info "Select node location"; + tailf:cli-full-command; + tailf:cli-no-match-completion; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + OBFL PRM Information For : $(location) + "; + tailf:cli-show-template "$(prm|show)\n"; + leaf location { + type string; + tailf:display-column-name "Location"; + } + container prm { + tailf:cli-drop-node-name; + leaf-list prm_values { + type string; + tailf:cli-drop-node-name; + tailf:cli-list-syntax; + } + } + } + } + } + + grouping obfl-show-grp { + container onboard { + tailf:info "OBFL logging data"; + tailf:cli-incomplete-show-path; + uses obfl_data; + } + } + tailf:id "http://www.cisco.com/panini/calvados/shobfl"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-cm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-cm.yang new file mode 100644 index 0000000..82d61b8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-cm.yang @@ -0,0 +1,43 @@ +module Cisco-IOS-XR-sysadmin-show-trace-cm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-cm"; + prefix cm; + + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2013-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + + container cm { + config false; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-debug-agent.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-debug-agent.yang new file mode 100644 index 0000000..bcfa911 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-debug-agent.yang @@ -0,0 +1,47 @@ +module Cisco-IOS-XR-sysadmin-show-trace-debug-agent { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-debug-agent"; + prefix debug_agent; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-11 { + description + "Initial version."; + } + tailf:id "http://cisco.com/calvados/debug_agent"; + + container debug_agent { + config false; + tailf:cdb-oper; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instagt.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instagt.yang new file mode 100644 index 0000000..dd7ffef --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instagt.yang @@ -0,0 +1,43 @@ +module Cisco-IOS-XR-sysadmin-show-trace-instagt { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instagt"; + prefix instagt; + + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2013-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + + container instagt { + config false; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instmgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instmgr.yang new file mode 100644 index 0000000..612f59c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-instmgr.yang @@ -0,0 +1,47 @@ +module Cisco-IOS-XR-sysadmin-show-trace-instmgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-instmgr"; + prefix instmgr; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2016-05-11 { + description + "Initial version."; + } + tailf:id "http://cisco.com/calvados/instmgr_show_trace"; + + container instmgr { + config false; + tailf:cdb-oper; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-slice-manager.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-slice-manager.yang new file mode 100644 index 0000000..8c99d1b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-slice-manager.yang @@ -0,0 +1,43 @@ +module Cisco-IOS-XR-sysadmin-show-trace-slice-manager { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-slice-manager"; + prefix slice_managerh; + + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + + container slice_manager { + config false; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-vmm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-vmm.yang new file mode 100644 index 0000000..253ab10 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace-vmm.yang @@ -0,0 +1,52 @@ +module Cisco-IOS-XR-sysadmin-show-trace-vmm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace-vmm"; + prefix vm_managerh; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-12 { + description + "Initial Version"; + } + tailf:id "http://cisco.com/calvados/vm_manager"; + + container vmm { + config false; + tailf:cdb-oper; + tailf:cli-incomplete-show-path; + tailf:info "Show VM Manager information"; + container vm_manager { + tailf:cli-show-template ""; + tailf:cli-drop-node-name; + uses show_trace:traceable; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace.yang new file mode 100644 index 0000000..d434fbd --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-show-trace.yang @@ -0,0 +1,126 @@ +module Cisco-IOS-XR-sysadmin-show-trace { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-show-trace"; + prefix show_trace; + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + + grouping traceable { + list trace { + key "buffer"; + config false; + description + "show traceable processes"; + leaf buffer { + type string; + } + list location { + key "location_name"; + leaf location_name { + type string; + } + list all-options { + key "option"; + leaf option { + type string; + } + list trace-blocks { + leaf data { + type string; + description + "Trace output block"; + } + } + } + } + } + } + + grouping traceable_process { + list instance { + key "process_name"; + config false; + description + "show traceable process instance names"; + leaf process_name { + type string; + } + list trace { + key "buffer"; + config false; + description + "show traceable processes"; + leaf buffer { + type string; + } + list location { + key "location_name"; + leaf location_name { + type string; + } + list all-options { + key "option"; + leaf option { + type string; + } + list trace-blocks { + leaf data { + type string; + description + "Trace output block"; + } + } + } + } + } + } + } + + grouping traceable_with_keypath_location { + list trace { + key "buffer"; + config false; + leaf buffer { + type string; + } + list all-options { + key "option"; + leaf option { + type string; + } + list trace-blocks { + leaf data { + type string; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm-hw-mod.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm-hw-mod.yang new file mode 100644 index 0000000..3793ab6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm-hw-mod.yang @@ -0,0 +1,226 @@ +module Cisco-IOS-XR-sysadmin-sm-hw-mod { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm-hw-mod"; + prefix shelf_sm_hw_mod; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module holds Shelf Management HW module data. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + revision 2012-10-24 { + description + "Initial revision of the partition from sm.yang"; + } + + grouping hw-module-config-group { + uses hw-module-shutdown-config-group; + uses hw-module-reset-auto-disable-config-group; + uses hw-module-offline-config-group; + } + + grouping hw-module-shutdown-config-group { + container shutdown { + tailf:info "Shut down a hardware module"; + tailf:validate "shut_loc_validate" { + tailf:dependency "."; + } + list location { + key "location"; + tailf:info "Location of hardware module"; + leaf location { + type calvados:location-id; + mandatory true; + tailf:info "location to (keep) shut down"; + } + } + } + } + + grouping hw-module-reset-auto-disable-config-group { + container reset { + tailf:info "Do not auto-reset a hardware module on fault"; + tailf:validate "rad_loc_validate" { + tailf:dependency "."; + } + container auto { + tailf:info "Do not auto-reset a hardware module on fault"; + container disable { + tailf:info "Do not auto-reset a hardware module on fault"; + list location { + key "location"; + tailf:info "Location of hardware module"; + leaf location { + type calvados:location-id; + mandatory true; + tailf:info "Location to disable auto reset recovery"; + } + } + } + } + } + } + + grouping hw-module-offline-config-group { + container offline { + tailf:hidden "full"; + tailf:info "Keep a hardware module off line for diagnostics"; + list location { + key "location"; + tailf:info "Location of hardware module"; + leaf location { + type calvados:location-id; + mandatory true; + tailf:info "Location to (keep) off line"; + } + } + } + } + + grouping hw-module-action-group { + uses hw-module-reload-action-group; + uses hw-module-bootmedia-action-group; + uses hw-module-shutdown-action-group; + uses hw-module-offline-action-group; + uses hw-module-online-action-group; + } + + grouping hw-module-bootmedia-action-group { + container cbootmedia { + config false; + tailf:display-when "contains(../../location,'RP') or contains(../../location,'RSP') or contains(../../location,'SC') or contains(../../location, 'all') or re-match(../../location, '[0-9].*/[0-9].*')"; + tailf:callpoint "hwmodule_bootmedia"; + tailf:cli-drop-node-name; + list bootmedia { + key "bootmedium"; + config false; + tailf:info "Select boot media to load image from"; + leaf bootmedium { + type string; + } + tailf:action "reload" { + tailf:display-when "contains(../../bootmedia,'usb') or contains(../../bootmedia,'network') or contains(../../bootmedia,'recovery-partition')"; + tailf:info "Reload a hardware module"; + tailf:actionpoint "hwmodule_reload_1"; + output { + leaf result { + type string; + mandatory true; + } + } + } + } + } + } + + grouping hw-module-reload-action-group { + tailf:action "reload" { + tailf:info "Reload a hardware module"; + tailf:actionpoint "hwmodule_reload"; + input { + leaf force { + type empty; + mandatory false; + tailf:info "Do not wait for an orderly shutdown"; + } + leaf noprompt { + type empty; + mandatory false; + tailf:info "Do not prompt user for confirmation"; + } + } + output { + leaf result { + type string; + mandatory true; + } + } + } + } + + grouping hw-module-shutdown-action-group { + tailf:action "shutdown" { + tailf:info "Shut down a hardware module"; + tailf:actionpoint "hwmodule_shutdown"; + input { + choice shutdown_polarity { + mandatory false; + case shutdown { + leaf force { + type empty; + mandatory false; + tailf:info "Do not wait for an orderly shutdown"; + } + } + case powerup { + leaf disable { + type empty; + mandatory false; + tailf:hidden "full"; + tailf:info "Bring the module back up"; + } + } + } + } + output { + leaf result { + type string; + mandatory true; + } + } + } + } + + grouping hw-module-offline-action-group { + tailf:action "offline" { + tailf:info "Take a hardware module offline for diagnostics"; + tailf:actionpoint "hwmodule_offline"; + output { + leaf result { + type string; + mandatory true; + } + } + } + } + + grouping hw-module-online-action-group { + tailf:action "online" { + tailf:info "Take a hardware module online for normal operation"; + tailf:actionpoint "hwmodule_online"; + output { + leaf result { + type string; + mandatory true; + } + } + } + } + tailf:id "http://www.cisco.com/panini/calvados/shelf_sm_hw_mod"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm.yang new file mode 100644 index 0000000..378506c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-sm.yang @@ -0,0 +1,587 @@ +module Cisco-IOS-XR-sysadmin-sm { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-sm"; + prefix shelf_sm; + + import tailf-common { + prefix tailf; + } + import ietf-yang-types { + prefix ietf; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module holds Shelf Management configuration data. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed namespace and module name"; + } + + grouping sm-oper-group { + container oper { + config false; + uses ctrace-oper-group; + uses platform-oper-group; + uses chassis-oper-group; + uses reload-rack-oper-group; + uses reboot-history-oper-group; + uses mgmt-interfaces-oper-group; + uses reload-vm-oper-group; + uses mac-pool-oper-group; + } + } + + grouping ctrace-oper-group { + container shelf_mgr { + uses show_trace:traceable; + } + } + + grouping platform-oper-group { + container platform { + config false; + uses platform-summary-oper-group; + uses platform-detail-oper-group; + uses platform-slices-oper-group; + } + } + + grouping chassis-oper-group { + container chassis { + config false; + uses chassis-brief-oper-group; + } + } + + grouping reload-rack-oper-group { + container reload { + config false; + container rack { + list racks { + key "rack"; + leaf rack { + type string; + } + } + } + } + } + + grouping reload-vm-oper-group { + container reload_vm { + config false; + list location { + key "location"; + leaf location { + type string; + } + } + } + } + + grouping reboot-history-events-oper-group { + list events { + key "event_idx"; + leaf event_idx { + type uint32; + } + container event { + leaf timestamp { + type string; + } + leaf reason_code { + type uint32; + } + leaf reason { + type string; + } + leaf src_loc { + type string; + } + leaf src_name { + type string; + } + } + } + } + + grouping reboot-history-card-oper-group { + container card { + list location { + key "location"; + leaf location { + type calvados:location-id; + } + uses reboot-history-events-oper-group; + } + } + } + + grouping reboot-history-admin-vm-oper-group { + container admin-vm { + list location { + key "location"; + leaf location { + type calvados:location-id; + } + uses reboot-history-events-oper-group; + } + } + } + + grouping reboot-history-reverse-oper-group { + container reverse { + uses reboot-history-card-oper-group; + uses reboot-history-admin-vm-oper-group; + } + } + + grouping reboot-history-oper-group { + container reboot-history { + config false; + uses reboot-history-card-oper-group; + uses reboot-history-admin-vm-oper-group; + uses reboot-history-reverse-oper-group; + } + } + + grouping mgmt-interfaces-oper-group { + list interface { + key "ifname"; + leaf ifname { + type string; + } + container interface-data { + leaf mac { + type ietf:mac-address; + } + leaf ipv4 { + type inet:ipv4-address; + } + leaf flagstr { + type string; + } + leaf port_status { + type string; + } + leaf mtu { + type uint32; + } + leaf metric { + type uint32; + } + leaf rx_pak { + type uint32; + } + leaf rx_errors { + type uint32; + } + leaf rx_dropped { + type uint32; + } + leaf rx_overruns { + type uint32; + } + leaf rx_frame { + type uint32; + } + leaf tx_pak { + type uint32; + } + leaf tx_errors { + type uint32; + } + leaf tx_dropped { + type uint32; + } + leaf tx_overruns { + type uint32; + } + leaf tx_carrier { + type uint32; + } + leaf collisions { + type uint32; + } + leaf tx_queuelen { + type uint32; + } + leaf rx_bytes { + type uint64; + } + leaf tx_bytes { + type uint64; + } + leaf intf_num { + type uint32; + } + } + } + } + + grouping mac-pool-oper-group { + container macpool { + config false; + uses mac-pool-brief-oper-group; + } + } + + grouping platform-summary-oper-group { + container summary { + list location { + key "location"; + leaf location { + type calvados:location-id; + } + container summary-data { + leaf card_type { + type string; + } + leaf hw_state { + type string; + } + leaf sw_state { + type string; + } + leaf config_state { + type string; + } + } + } + } + } + + grouping platform-detail-oper-group { + container detail { + list location { + key "location"; + leaf location { + type calvados:location-id; + } + container detail-data { + leaf pid { + type string; + } + leaf description { + type string; + } + leaf vid_sn { + type string; + } + leaf hw_state { + type string; + } + leaf sw_state { + type string; + } + leaf config_wordy { + type string; + } + leaf hw_ver { + type string; + } + leaf last_event { + type string; + } + leaf last_ev_reason_str { + type string; + } + } + } + } + } + + grouping platform-slices-oper-group { + container slices { + list location { + key "location"; + leaf location { + type calvados:location-id; + } + list slice_values { + key "slice_idx"; + leaf slice_idx { + type uint32; + } + container slice { + leaf slice_num { + type uint32; + } + leaf admin_state { + type string; + } + leaf oper_state { + type string; + } + } + } + } + } + } + + grouping chassis-brief-oper-group { + container brief { + list chassis_serial { + key "serial_number"; + leaf serial_number { + type string; + } + container brief-data { + leaf racknum { + type string; + } + leaf rack_type { + type string; + } + leaf rack_state { + type string; + } + leaf data_plane { + type string; + } + leaf ctrl_plane { + type string; + } + } + } + } + } + + grouping mac-pool-brief-oper-group { + container brief { + list rack { + key "serial_number"; + leaf serial_number { + type string; + } + container brief-data { + leaf racknum { + type string; + } + leaf mac_base { + type ietf:mac-address; + } + leaf mac_count { + type uint32; + } + leaf is_selected { + type boolean; + } + leaf allocated_count { + type uint32; + } + } + } + } + } + + grouping sm-config-group { + container config { + config true; + uses chassis-config-group; + uses mgmt-interfaces-config-group; + uses virtual-macaddr-config-group; + } + } + + grouping chassis-config-group { + container chassis { + list serial { + key "serial"; + unique "rack"; + leaf serial { + type string; + mandatory true; + } + leaf rack { + type string { + pattern "[fF][0-7]|[0-9]|[1][0-5]|[2][4][0-7]"; + } + mandatory true; + } + } + } + } + + grouping mgmt-interfaces-config-group { + container interface { + container MgmtEth { + list locport { + key "rack slot intf port"; + leaf rack { + type string { + pattern "[fF][0-7]|[0-9]|[1][0-5]"; + } + } + leaf slot { + type string { + pattern "[Rr][Pp][0-1]|[Rr][Ss][Pp][0-1]|[Ss][Cc][0-1]"; + } + } + leaf intf { + type uint32 { + range "0"; + } + } + leaf port { + type uint32 { + range "0"; + } + } + container ipv4 { + leaf address { + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(( (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))|(/([0-9]+)))"; + } + } + } + leaf shutdown { + type empty; + } + leaf mtu { + type uint32 { + range "48..9000"; + } + } + leaf default-gw { + type inet:ipv4-address; + } + container arp { + list ip { + key "ip"; + leaf ip { + type inet:ipv4-address; + mandatory true; + } + leaf mac { + type ietf:mac-address; + mandatory true; + } + } + } + } + } + } + container domain { + list name { + key "name"; + leaf name { + type string; + } + } + list name-server { + key "name-server"; + leaf name-server { + type inet:ipv4-address; + } + } + } + } + + grouping virtual-macaddr-config-group { + container virtual-macaddr-range { + leaf base { + type ietf:mac-address; + } + leaf count { + type uint32 { + range "1..65535"; + } + } + } + } + + grouping sm-action-group { + container actions { + config false; + uses reload-action-group; + } + } + + grouping reload-action-group { + tailf:action "reload" { + tailf:actionpoint "reload"; + input { + choice reload_input { + mandatory true; + case target_rack { + leaf rack { + type leafref { + path "/oper/reload/rack/racks/rack"; + } + mandatory false; + } + } + case target_vm { + container location_list { + leaf location { + type leafref { + path "/oper/reload_vm/location/location"; + } + mandatory false; + } + choice reload_target { + mandatory false; + case target_admin { + leaf admin { + type empty; + mandatory false; + } + } + case target_all { + leaf all { + type empty; + mandatory false; + } + } + } + } + } + } + } + output { + leaf result { + type string; + mandatory true; + } + } + } + } + + uses sm-oper-group; + uses sm-config-group; + uses sm-action-group; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-syslog.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-syslog.yang new file mode 100644 index 0000000..7b8fa37 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-syslog.yang @@ -0,0 +1,115 @@ +module Cisco-IOS-XR-sysadmin-syslog { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-syslog"; + prefix syslog; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines configuration for + sysadmin syslog infrastructure. + + Copyright(c) 2010-2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-09 { + description + "Namespace change to comply with Cisco guidelines"; + } + revision 2016-09-16 { + description + "Added new type for show logging host"; + } + + typedef num-lines-type { + type uint32; + tailf:info "nlines;;Number of last lines to Display"; + } + + typedef dir-or-file-path-type { + type string; + tailf:info "path;;Host directory or file path"; + } + + grouping syslog-grp { + container console { + description + "Syslog Infrastructure"; + tailf:info "Modify message logging facilities"; + choice disable_or_severity { + mandatory false; + case choice_emergency { + leaf emergency { + type empty; + tailf:info "System is unusable (severity=0)"; + } + } + case choice_alert { + leaf alert { + type empty; + tailf:info "Immediate action needed (severity=1)"; + } + } + case choice_critical { + leaf critical { + type empty; + tailf:info "Critical conditions (severity=2)"; + } + } + case choice_error { + leaf error { + type empty; + tailf:info "Error conditions (severity=3)"; + } + } + case choice_warning { + leaf warning { + type empty; + tailf:info "Warning conditions (severity=4) [default]"; + } + } + case choice_notice { + leaf notice { + type empty; + tailf:info "Normal but significant conditions (severity=5)"; + } + } + case choice_informational { + leaf informational { + type empty; + tailf:info "Informational messages (severity=6)"; + } + } + case choice_debug { + leaf debug { + type empty; + tailf:info "Debugging messages (severity=7)"; + } + } + case choice_disable { + leaf disable { + type empty; + tailf:info "Disable logging"; + } + } + } + } + } + tailf:id "http://cisco.com/calvados/syslog"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-system.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-system.yang new file mode 100644 index 0000000..79603be --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-system.yang @@ -0,0 +1,132 @@ +module Cisco-IOS-XR-sysadmin-system { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-system"; + prefix calvados_system; + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module defines the system users authentication + credentials and virtual IP that can be modified in + runtime. + + Copyright(c) 2011-2017 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + + typedef file-name-type { + type string; + } + + typedef screen-length { + type uint64 { + range "0 .. 32000"; + } + } + + typedef screen-width { + type uint64 { + range "0 .. 512"; + } + } + + typedef ipv4-subnet-mask-ip { + type inet:ip-address; + } + + typedef ipv6-prefix { + type uint8 { + range "0..128"; + } + } + + typedef calvados-ipv4-with-optional-subnet-bits { + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(/(([0-9])|([1-2][0-9])|(3[0-2])))?"; + } + description + "The ipv4-prefix type represents an IPv4 address prefix. + The prefix length is given by the number following the + slash character and must be less than or equal to 32."; + } + + typedef calvados-ipv6-with-optional-prefix { + type string { + pattern "((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))?"; + pattern "(([^:]+:){6}(([^:]+:[^:]+)|(.*\\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(/.+)?"; + } + description + "The ipv6-prefix type represents an IPv6 address prefix. + The prefix length is given by the number following the + slash character and must be less than or equal 128."; + } + + grouping config_sync_clear_inconsistency { + container configuration; + } + + container mgmt { + container ipv4 { + leaf address { + type calvados-ipv4-with-optional-subnet-bits; + must "true() = contains(../subnet-mask-ip, '.') or true() = contains(../address, '/')" { + error-message + "you must provide subnet, it must be of the form + A.B.C.D/subnet-bits or A.B.C.D subnet-ip"; + } + } + leaf subnet-mask-ip { + type ipv4-subnet-mask-ip; + must "false() = contains(../address, '/')" { + error-message + "you already provided subnet earlier it must be of the form + A.B.C.D/subnet-bits or A.B.C.D subnet-ip"; + } + } + } + container ipv6 { + leaf address { + type calvados-ipv6-with-optional-prefix; + must "true() = (../prefix) or true() = contains(../address, '/')" { + error-message + "you must provide prefix.It must be of the form + X:X::X/prefix or X:X::X prefix"; + } + } + leaf prefix { + type ipv6-prefix; + must "false() = contains(../address, '/')" { + error-message + "you already provided prefix earlier it must be of + form X:X::X/prefix or X:X::X prefix"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs.yang new file mode 100644 index 0000000..b669cb0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs.yang @@ -0,0 +1,109 @@ +module Cisco-IOS-XR-sysadmin-tacacs-show-tacacs { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-show-tacacs"; + prefix show_tacacs; + + import tailf-common { + prefix tailf; + } + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-sysadmin-tacacs-tacacs-server { + prefix tacacs-server; + } + + organization + "Cisco Systems Inc."; + contact + "aaa-ng-tacacs-dev@cisco.com"; + description + "This module defines yang model + for displaying tacacs+ server host info"; + + revision 2017-05-10 { + description + "Namespace changed from show_tacacs to Cisco-IOS-XR-sysadmin-tacacs-show-tacacs"; + } + revision 2015-07-07 { + description + "Initial revision"; + } + + typedef passwdStr { + type tailf:md5-digest-string; + tailf:info "MD5 Digest or plain text"; + } + + augment "/tacacs-server:tacacs-server" { + container requests { + config false; + tailf:callpoint "show_tacacs"; + tailf:info "Tacacs-server statistics"; + list ipv4 { + key "addr port"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-table; + tailf:cli-full-command; + tailf:cli-full-show-path; + tailf:cli-no-key-completion; + tailf:cli-no-match-completion; + tailf:cli-suppress-key-sort; + tailf:cli-show-template-legend "\n"; + tailf:cli-show-template + "Server: $(addr)/$(port) opens=$(opens) closes=$(closes) aborts=$(aborts) errors=$(errors) + packets in=$(packets_in) packets out=$(packets_out) family=IPv4 + + "; + leaf addr { + type inet:ip-address; + description + "Server IPv4 address"; + tailf:cli-suppress-show-path; + } + leaf port { + type inet:port-number; + description + "Server Port"; + tailf:cli-suppress-show-path; + } + leaf opens { + type uint32; + description + "Socket open count"; + tailf:cli-suppress-show-path; + } + leaf closes { + type uint32; + description + "Socket close count"; + tailf:cli-suppress-show-path; + } + leaf aborts { + type uint32; + description + "Socket abort count"; + tailf:cli-suppress-show-path; + } + leaf errors { + type uint32; + description + "Socket error count"; + tailf:cli-suppress-show-path; + } + leaf packets_in { + type uint32; + description + "Packets received count"; + tailf:cli-suppress-show-path; + } + leaf packets_out { + type uint32; + description + "Packets transmitted count"; + tailf:cli-suppress-show-path; + } + } + } + } + tailf:id "http://www.cisco.com/calvados/show_tacacs"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server.yang new file mode 100644 index 0000000..444667b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server.yang @@ -0,0 +1,79 @@ +module Cisco-IOS-XR-sysadmin-tacacs-tacacs-server { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-tacacs-server"; + prefix tacacs-server; + + import tailf-common { + prefix tailf; + } + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems"; + contact + "aaa-ng-tacacs-dev@cisco.com"; + description + "This module defines the TACACS+ data model."; + + revision 2017-05-10 { + description + "Namespace changed from tacacs to Cisco-IOS-XR-sysadmin-tacacs-tacacs-server"; + } + revision 2015-06-06 { + description + "Initial creation"; + } + + typedef passwdStr { + type tailf:aes-cfb-128-encrypted-string; + tailf:info "TACACS+ server secret"; + } + tailf:id "http://cisco.com/calvados/tacacs"; + + container tacacs-server { + tailf:info "TACACS+ Server"; + list host { + key "ip port"; + max-elements "10"; + ordered-by user; + tailf:info "Host information"; + tailf:callpoint "data_tacacs_server" { + tailf:transaction-hook "object"; + } + tailf:validate "val_tacacs_server" { + tailf:dependency "."; + } + leaf ip { + type inet:ip-address; + tailf:info "Server IPv4 address"; + } + leaf port { + type inet:port-number { + range "1 .. 65535"; + } + tailf:info "Server Port"; + } + leaf timeout { + type uint32 { + range "1 .. 1000"; + } + tailf:info "Server Timeout"; + } + leaf key { + type passwdStr; + tailf:info "Server Key"; + } + } + leaf timeout { + type uint32 { + range "1 .. 1000"; + } + tailf:info "Server Timeout"; + } + leaf key { + type passwdStr; + tailf:info "Server Key"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs.yang new file mode 100644 index 0000000..224f1c1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs.yang @@ -0,0 +1,59 @@ +module Cisco-IOS-XR-sysadmin-tacacs-test-tacacs { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-tacacs-test-tacacs"; + prefix test_tacacs; + + import Cisco-IOS-XR-sysadmin-tacacs-tacacs-server { + prefix tacacs-server; + } + + organization + "Cisco Systems Inc."; + contact + "aaa-ng-tacacs-dev@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This clie part is for test commands for tacacs + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-10 { + description + "Namespace changed from test_tacacs to Cisco-IOS-XR-sysadmin-tacacs-test-tacacs"; + } + + augment "/tacacs-server:tacacs-server" { + container test-authentication { + presence ""; + config false; + leaf authentication { + type string; + mandatory false; + description + "Authentication"; + } + } + container test-authorization { + presence ""; + config false; + leaf authorization { + type string; + mandatory false; + description + "Authorization"; + } + } + container test-accounting { + presence ""; + config false; + leaf accounting { + type string; + mandatory false; + description + "Accounting"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-time-of-day-timezone.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-time-of-day-timezone.yang new file mode 100644 index 0000000..3fa6dd8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-time-of-day-timezone.yang @@ -0,0 +1,83 @@ +module Cisco-IOS-XR-sysadmin-time-of-day-timezone { + namespace "http://cisco.com/calvados/Cisco-IOS-XR-sysadmin-time-of-day-timezone"; + prefix timezone; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR syadmin TOD configuration and cli. + + This module contains definitions + for the following management objects: + Time of the Day(TOD) Cli and configuration data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-07-04 { + description + "Remove refine stmt"; + } + revision 2016-05-12 { + description + "Initial version"; + } + tailf:id "http://cisco.com/calvados/timezone"; + + container clock { + tailf:info "Configure time-of-day clock"; + container timezone { + tailf:info "Configure time zone"; + tailf:validate "val_tz" { + tailf:dependency "."; + } + tailf:cli-compact-syntax; + tailf:cli-sequence-commands; + leaf tzname { + type string; + tailf:cli-completion-actionpoint "tzname-complete"; + tailf:cli-drop-node-name; + tailf:cli-incomplete-command; + } + leaf area { + type string; + tailf:cli-completion-actionpoint "area-complete"; + tailf:cli-drop-node-name; + } + } + } + container trace { + config false; + tailf:cdb-oper; + tailf:cli-incomplete-show-path; + tailf:info "Display Timezone Traces"; + container timezone_config { + tailf:cli-incomplete-show-path; + tailf:info "Timezone Config Traces"; + uses show_trace:traceable; + } + container timezone_notify { + tailf:cli-incomplete-show-path; + tailf:info "Timezone Notify Traces"; + uses show_trace:traceable; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-types.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-types.yang new file mode 100644 index 0000000..b18acf2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-types.yang @@ -0,0 +1,141 @@ +module Cisco-IOS-XR-sysadmin-types { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types"; + prefix calvados_types; + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + This module contains a collection of derived + YANG data types specific to Sysadmin. + + Copyright(c) 2011-2016 by Cisco Systems, Inc. + All rights reserved. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-01-31 { + description + "Changed the namespace and module name"; + } + + typedef rack-id { + type enumeration { + enum "L0"; + enum "L1"; + enum "L2"; + enum "L3"; + enum "L4"; + enum "L5"; + enum "L6"; + enum "L7"; + enum "L8"; + enum "L9"; + enum "L10"; + enum "L11"; + enum "L12"; + enum "L13"; + enum "L14"; + enum "L15"; + enum "F0"; + enum "F1"; + enum "F2"; + enum "F3"; + } + description + "Identifies the rack number of FCC/LCC. + LCC racks are identified by numbers rack0..7 + FCC racks are identified by numbers F0..F3"; + } + + typedef slot-id { + type int32 { + range "0..15"; + } + description + "Identifies a slot number within a rack"; + } + + typedef ce-portid { + type string { + pattern "(0?[0-9]|1[1-5]|F[0-3])/(0?[0-9]|1[1-5])/(0?[0-9]|[1-5][0-9])"; + } + } + + typedef plane-id { + type uint32 { + range "0..7"; + } + description + "fabric plane identifier"; + } + + typedef sfe-id { + type int32 { + range "1..16"; + } + description + "falafel device identifier"; + } + + typedef adminstate { + type enumeration { + enum "disable"; + } + } + + typedef generic-oper-status { + type enumeration { + enum "up"; + enum "down"; + } + } + + typedef sfe-oper-state { + type generic-oper-status; + } + + typedef ce-oper-state { + type generic-oper-status; + } + + typedef generic-ha-role { + type enumeration { + enum "no-ha-role"; + enum "Active"; + enum "Standby"; + } + } + + typedef fabric-link-types { + type enumeration { + enum "S1"; + enum "S2"; + enum "S3"; + } + } + + typedef location-id { + type string { + pattern "((([fF][0-3])/(([a-zA-Z]){2}\\d{1,2}))|((0?[0-9]|1[1-5])/((([a-zA-Z]){2,3})?\\d{1,2})))(/[cC][pP][uU]0)?"; + } + description + "location identifier"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-vm-mgr.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-vm-mgr.yang new file mode 100644 index 0000000..24e1681 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-vm-mgr.yang @@ -0,0 +1,115 @@ +module Cisco-IOS-XR-sysadmin-vm-mgr { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-vm-mgr"; + prefix vmmh; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR SysAdmin configuration. + + Copyright(c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-12 { + description + "Changed the namespace and module name"; + } + revision 2016-05-12 { + description + "Initial Version"; + } + tailf:id "http://cisco.com/calvados/vmm"; + + container VM { + config false; + description + "VM Info"; + tailf:info "Show VM Manager information"; + tailf:callpoint "vmm_show_location"; + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-suppress-table; + tailf:cli-show-template-enter + " + Location: $(location) + Id Status IP Address HB Sent/Recv + ------------------------------------------------------------- + "; + leaf location { + type string; + tailf:cli-expose-key-name; + } + list all-uiids { + key "uiid"; + tailf:cli-show-template-enter ""; + tailf:cli-suppress-table; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + tailf:cli-show-template "$(id|ljust:16) $(status|ljust:12) $(ipaddr|ljust:15) $(last_hb_sent|ljust)/$(last_hb_rec|ljust)\n"; + leaf uiid { + type string; + description + "Unique Immutable ID"; + } + leaf id { + type string; + description + "ID of the VM"; + } + leaf status { + type string; + description + "Status of the VM"; + } + leaf ipaddr { + type string; + description + "CE IP address"; + } + leaf hb_interval_s { + type string; + description + "Heartbeat interval sec"; + } + leaf hb_interval_ns { + type string; + description + "Heartbeat interval nsec"; + } + leaf last_hb_sent { + type string; + description + "Last heartbeat sent"; + } + leaf last_hb_rec { + type string; + description + "Last heartbeat received"; + } + leaf role { + type string; + description + "ISSU role"; + tailf:cli-suppress-show-path; + tailf:cli-suppress-show-match; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-wdmon.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-wdmon.yang new file mode 100644 index 0000000..fc91b94 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-wdmon.yang @@ -0,0 +1,183 @@ +module Cisco-IOS-XR-sysadmin-wdmon { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-wdmon"; + prefix wdmonh; + + import tailf-common { + prefix tailf; + } + import tailf-xsd-types { + prefix xs; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + revision 2017-05-01 { + description + "Namespace change to comply with Cisco guidelines on namespace"; + } + tailf:id "http://cisco.com/calvados/wdmon"; + + container wdmon { + config false; + tailf:cli-incomplete-show-path; + uses show_trace:traceable; + } + container wdmon-info { + config false; + tailf:callpoint "wdmon_info_show_location"; + tailf:hidden "internal-command"; + list all-locations { + key "location"; + tailf:cli-drop-node-name; + tailf:cli-show-template + "---------------------------------------------------------------------- + node\\\\: $(location) + ---------------------------------------------------------------------- + Start Time\\\\: $(start-timestamp) + Hushd connection\\\\: $(hushd-capi-up|dict:true=Up:false=Down) + Hushd last connection Up timestamp\\\\: $(hushd-capi-up-timestamp) + Hushd pending response\\\\: $(hushd-pending-resp|dict:true=Y:false=N) + Hushd last HB response\\\\: $(hushd-last-hb-resp|floatformat:-3) sec ago + wdmon/Calv/Hushd liveness timeout\\\\: $(hushd-timeout|floatformat:-3) sec + Calvados restart WD timeout\\\\: $(calv-restart-timeout) sec + Hushd watchdog expire action\\\\: $(hushd-wd-action-disable|dict:true=Disabled:false=Enabled) + Hushd last action timestamp\\\\: $(hushd-wd-action-timestamp) + Wdmon stopped punching Hushd HB\\\\: $(hushd-stop-punching|dict:true=Y:false=N) + Num of Hushd connects\\\\: $(hushd-num-capi-connects) + Wdmon client connection\\\\: $(wds-client-up|dict:true=Up:false=Down) + Wdmon last client Up timestamp\\\\: $(wds-client-up-timestamp) + Wdmon client PID\\\\: $(wds-client-pid) + Wdmon client last HB\\\\: $(wds-client-last-hb|floatformat:-3) sec ago + Status reported by wdmon client\\\\: $(wds-client-reported-status) + Num of wdmon client connects\\\\: $(wds-client-num-connects) + Wdmon client timeout action\\\\: $(wds-action-disable|dict:true=Disabled:false=Enabled) + Wdmon client last action timestamp\\\\: $(wds-action-timestamp) + Wdmon client num restart timeout\\\\: $(wds-num-restart-timeout) + Wdmon client num liveness timeout\\\\: $(wds-num-liveness-timeout) + Wdmon client restart timeout\\\\: $(wds-restart-timeout) sec + Wdmon client liveness timeout\\\\: $(wds-liveness-timeout) sec + "; + leaf location { + type string; + tailf:cli-allow-range; + tailf:cli-expose-key-name; + } + leaf start-timestamp { + type string; + description + "Last start date and time for wdmon"; + } + leaf hushd-timeout { + type xs:double; + description + "wdmon/Calv/Hushd liveness timeout"; + } + leaf calv-restart-timeout { + type uint32; + description + "Calvados restart timeout"; + } + leaf hushd-wd-action-disable { + type boolean; + description + "Hushd WD expire action disable or not"; + } + leaf hushd-wd-action-timestamp { + type string; + description + "Last Hushd WD expire action date and time"; + } + leaf hushd-capi-up { + type boolean; + description + "Hushd CAPI up or not"; + } + leaf hushd-pending-resp { + type boolean; + description + "Any pending response from Hushd"; + } + leaf hushd-stop-punching { + type boolean; + description + "Hushd HB punching stopped"; + } + leaf hushd-capi-up-timestamp { + type string; + description + "Last Hushd CAPI up date and time"; + } + leaf hushd-last-hb-resp { + type xs:double; + description + "How long ago was last HB response from Hushd"; + } + leaf hushd-num-capi-connects { + type uint32; + description + "Num of Hushd CAPI connects"; + } + leaf wds-action-disable { + type boolean; + description + "wdmon client timeout action disabled or not"; + } + leaf wds-action-timestamp { + type string; + description + "Last wdmon client timeout action date and time"; + } + leaf wds-restart-timeout { + type uint32; + description + "wdmon client restart timeout"; + } + leaf wds-liveness-timeout { + type uint32; + description + "wdmon client liveness timeout"; + } + leaf wds-client-up { + type boolean; + description + "wdmon client is up or not"; + } + leaf wds-client-pid { + type uint32; + description + "Process ID of the wdmon client"; + } + leaf wds-client-up-timestamp { + type string; + description + "Last wdmon client connect date and time"; + } + leaf wds-client-last-hb { + type xs:double; + description + "How long ago was last HB from wdmon client"; + } + leaf wds-client-num-connects { + type uint32; + description + "Total number of client connects"; + } + leaf wds-num-liveness-timeout { + type uint32; + description + "Total number of client liveness timeouts"; + } + leaf wds-num-restart-timeout { + type uint32; + description + "Total number of client restart timeouts"; + } + leaf wds-client-reported-status { + type string; + description + "Status reported by wdmon client"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-zapdisk.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-zapdisk.yang new file mode 100644 index 0000000..ae478aa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysadmin-zapdisk.yang @@ -0,0 +1,71 @@ +module Cisco-IOS-XR-sysadmin-zapdisk { + namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-zapdisk"; + prefix zapdisk; + + import tailf-common { + prefix tailf; + } + + organization + "Cisco Systems Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG + definitions for Cisco IOS-XR Zapdisk module. + + This module zapdisk is for factory card reset feature. + + Copyright(c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-23 { + description + "Changed namespace and module name"; + } + revision 2017-03-25 { + description + "zapdisk [set|unset] [location L] support"; + } + + rpc zapdisk { + input { + choice zapdisk-input { + mandatory true; + case target-set { + leaf set { + type empty; + mandatory false; + tailf:info "Set the zapdisk"; + } + } + case target-unset { + container czapdisk-unset { + tailf:cli-drop-node-name; + leaf unset { + type empty; + mandatory false; + tailf:info "Unset the zapdisk"; + } + } + } + } + } + output { + leaf result { + type string; + mandatory true; + } + } + tailf:actionpoint "zapdisk"; + } + tailf:id "http://cisco.com/calvados/zapdisk"; +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syslog-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syslog-act.yang new file mode 100644 index 0000000..d131b5d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-syslog-act.yang @@ -0,0 +1,53 @@ +module Cisco-IOS-XR-syslog-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-syslog-act"; + prefix syslog-act; + + import ietf-syslog-types { + prefix log; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR action package configuration. + + This module contains definitions + for the following management objects: + syslog: Global Syslog messaging data + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-04-17 { + description + "IOS XR 6.1.1 revision."; + } + + rpc logmsg { + input { + leaf severity { + type log:severity; + mandatory true; + description + "Set serverity level"; + } + leaf message { + type string; + mandatory true; + description + "Message body."; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-act.yang new file mode 100644 index 0000000..0961e15 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-act.yang @@ -0,0 +1,46 @@ +module Cisco-IOS-XR-sysmgr-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-act"; + prefix sysmgr-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR sysmgr action package configuration. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-03 { + description + "IOS XR 6.3.1 revision."; + } + + rpc sysmgr-process-restart { + description + "Restart an XR process"; + input { + leaf process-name { + type string; + mandatory true; + description + "XR process name or Job Id e.g. bgp, ospf"; + } + leaf location { + type string; + description + "XR node identifier e.g. 0/RP0/CPU0, 0/0/CPU0"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-cfg.yang new file mode 100644 index 0000000..cb356d6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-sysmgr-cfg.yang @@ -0,0 +1,105 @@ +module Cisco-IOS-XR-sysmgr-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-sysmgr-cfg"; + prefix sysmgr-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR sysmgr package configuration. + + This module contains definitions + for the following management objects: + process-mandatory: Process mandatory configuration + process-single-crash: process single crash + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping PROCESS-TABLE { + description + "Common node of all, node"; + container processes { + description + "Table of processes"; + list process { + key "process-name"; + description + "Name of the executable process"; + leaf process-name { + type xr:Cisco-ios-xr-string; + description + "Process name"; + } + } + } + } + + container process-mandatory { + description + "Process mandatory configuration"; + container nodes { + description + "Table of mandatory nodes"; + list node { + key "node-name"; + description + "Mandatory node"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses PROCESS-TABLE; + } + } + container all { + description + "Mandatory for all nodes"; + uses PROCESS-TABLE; + } + } + container process-single-crash { + presence "Indicates a process-single-crash node is configured."; + description + "process single crash"; + leaf crashes { + type uint32 { + range "1..500"; + } + mandatory true; + description + "Number of crashes for a process to trigger + reboot"; + } + leaf minimum-up-time { + type uint32 { + range "0..4294967295"; + } + units "second"; + default "0"; + description + "Minimum process up time (in seconds) to reset + crash count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-cfg.yang new file mode 100644 index 0000000..69d45ae --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-cfg.yang @@ -0,0 +1,457 @@ +module Cisco-IOS-XR-telemetry-model-driven-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg"; + prefix telemetry-model-driven-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR telemetry-model-driven package configuration. + + This module contains definitions + for the following management objects: + telemetry-model-driven: Model Driven Telemetry configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-09-26 { + description + "Added tcp-send-timeout to model"; + } + revision 2017-08-23 { + description + "Updated version for max-containers-per-path"; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-02-09 { + description + "Added DSCP"; + } + revision 2017-01-30 { + description + "Updated version for source-interface/vrf"; + } + revision 2016-10-20 { + description + "Updated version for hierarchy-destinations"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Proto-type { + type enumeration { + enum "grpc" { + value 1; + description + "GRPC"; + } + enum "tcp" { + value 2; + description + "tcp"; + } + enum "udp" { + value 3; + description + "udp"; + } + } + description + "Proto type"; + } + + typedef Encode-type { + type enumeration { + enum "gpb" { + value 2; + description + "GPB"; + } + enum "self-describing-gpb" { + value 3; + description + "SELF DESCRIBING GPB"; + } + enum "json" { + value 4; + description + "JSON"; + } + } + description + "Encode type"; + } + + typedef Mdt-dscp-value { + type enumeration { + enum "default" { + value 0; + description + "Applicable to DSCP: bits 000000"; + } + enum "cs1" { + value 8; + description + "Applicable to DSCP: bits 001000"; + } + enum "af11" { + value 10; + description + "Applicable to DSCP: bits 001010"; + } + enum "af12" { + value 12; + description + "Applicable to DSCP: bits 001100"; + } + enum "af13" { + value 14; + description + "Applicable to DSCP: bits 001110"; + } + enum "cs2" { + value 16; + description + "Applicable to DSCP: bits 010000"; + } + enum "af21" { + value 18; + description + "Applicable to DSCP: bits 010010"; + } + enum "af22" { + value 20; + description + "Applicable to DSCP: bits 010100"; + } + enum "af23" { + value 22; + description + "Applicable to DSCP: bits 010110"; + } + enum "cs3" { + value 24; + description + "Applicable to DSCP: bits 011000"; + } + enum "af31" { + value 26; + description + "Applicable to DSCP: bits 011010"; + } + enum "af32" { + value 28; + description + "Applicable to DSCP: bits 011100"; + } + enum "af33" { + value 30; + description + "Applicable to DSCP: bits 011110"; + } + enum "cs4" { + value 32; + description + "Applicable to DSCP: bits 100000"; + } + enum "af41" { + value 34; + description + "Applicable to DSCP: bits 100010"; + } + enum "af42" { + value 36; + description + "Applicable to DSCP: bits 100100"; + } + enum "af43" { + value 38; + description + "Applicable to DSCP: bits 100110"; + } + enum "cs5" { + value 40; + description + "Applicable to DSCP: bits 101000"; + } + enum "ef" { + value 46; + description + "Applicable to DSCP: bits 101110"; + } + enum "cs6" { + value 48; + description + "Applicable to DSCP: bits 110000"; + } + enum "cs7" { + value 56; + description + "Applicable to DSCP: bits 111000"; + } + } + description + "Mdt dscp value"; + } + + grouping ENCODING { + description + "Common node of ipv6-destination, ipv4-destination"; + leaf encoding { + type Encode-type; + description + "Encoding used to transmit telemetry data to the + collector"; + } + } + + grouping PROTOCOL { + description + "Common node of ipv6-destination, ipv4-destination"; + container protocol { + presence "Indicates a protocol node is configured."; + description + "Transport Protocol used to transmit telemetry + data to the collector"; + leaf protocol { + type Proto-type; + mandatory true; + description + "protocol"; + } + leaf tls-hostname { + type string; + description + "tls hostname"; + } + leaf no-tls { + type int32; + default "0"; + description + "no tls"; + } + leaf packetsize { + type uint32 { + range "484..65507"; + } + default "1472"; + description + "udp packetsize"; + } + } + } + + container telemetry-model-driven { + description + "Model Driven Telemetry configuration"; + container sensor-groups { + description + "Sensor group configuration"; + list sensor-group { + key "sensor-group-identifier"; + description + "Sensor group configuration"; + container sensor-paths { + description + "Sensor path configuration"; + list sensor-path { + key "telemetry-sensor-path"; + description + "Sensor path configuration"; + leaf telemetry-sensor-path { + type string; + description + "Sensor Path"; + } + } + } + leaf sensor-group-identifier { + type xr:Cisco-ios-xr-string; + description + "The identifier for this group"; + } + } + } + container subscriptions { + description + "Streaming Telemetry Subscription"; + list subscription { + key "subscription-identifier"; + description + "Streaming Telemetry Subscription"; + container sensor-profiles { + description + "Associate Sensor Groups with Subscription"; + list sensor-profile { + key "sensorgroupid"; + description + "Associate Sensor Group with Subscription"; + leaf strict-timer { + type empty; + description + "use strict timer"; + } + leaf sample-interval { + type uint32 { + range "0..4294967295"; + } + units "millisecond"; + description + "Sample interval in milliseconds"; + } + leaf sensorgroupid { + type xr:Cisco-ios-xr-string; + description + "Reference to the telemetry sensor group name"; + } + } + } + container destination-profiles { + description + "Associate Destination Groups with Subscription"; + list destination-profile { + key "destination-id"; + description + "Associate Destination Group with Subscription"; + leaf destination-id { + type xr:Cisco-ios-xr-string; + description + "Destination Id to associate with + Subscription"; + } + } + } + leaf source-qos-marking { + type Mdt-dscp-value; + description + "Outgoing DSCP value"; + } + leaf source-interface { + type xr:Interface-name; + description + "Source address to use for streaming telemetry + information"; + } + leaf subscription-identifier { + type xr:Cisco-ios-xr-string; + description + "Subscription identifier string"; + } + } + } + container destination-groups { + description + "Destination Group configuration"; + list destination-group { + key "destination-id"; + description + "Destination Group"; + container ipv6-destinations { + description + "Destination address configuration"; + list ipv6-destination { + key "ipv6-address destination-port"; + description + "destination IP address"; + leaf ipv6-address { + type inet:ipv6-address-no-zone; + description + "Destination IPv6 address"; + } + leaf destination-port { + type xr:Cisco-ios-xr-port-number; + description + "destination port"; + } + uses ENCODING; + uses PROTOCOL; + } + } + container ipv4-destinations { + description + "Destination address configuration"; + list ipv4-destination { + key "ipv4-address destination-port"; + description + "destination IP address"; + leaf ipv4-address { + type inet:ipv4-address-no-zone; + description + "Destination IPv4 address"; + } + leaf destination-port { + type xr:Cisco-ios-xr-port-number; + description + "destination port"; + } + uses ENCODING; + uses PROTOCOL; + } + } + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Vrf for the destination group"; + } + leaf destination-id { + type xr:Cisco-ios-xr-string; + description + "destination group id string"; + } + } + } + leaf enable { + type empty; + description + "Enable Model Driven Telemetry"; + } + leaf max-sensor-paths { + type uint32 { + range "0..4000"; + } + description + "Maximum allowed sensor paths, default: 1000"; + } + leaf max-containers-per-path { + type uint32 { + range "0..1024"; + } + description + "Maximum containers allowed per path, 0 disables + the check"; + } + leaf tcp-send-timeout { + type uint32 { + range "0..30"; + } + description + "TCP send timeout value, default:30 sec,0 will + disable the timeout"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang new file mode 100644 index 0000000..19050d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper-sub1.yang @@ -0,0 +1,927 @@ +submodule Cisco-IOS-XR-telemetry-model-driven-oper-sub1 { + belongs-to Cisco-IOS-XR-telemetry-model-driven-oper { + prefix Cisco-IOS-XR-telemetry-model-driven-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR telemetry-model-driven package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Modified the type for the state variables"; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-02-09 { + description + "Added DSCP"; + } + revision 2017-01-30 { + description + "Initial 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Mdt-source-qos-marking { + type enumeration { + enum "dscp-default" { + value 0; + description + "0"; + } + enum "dscp-cs1" { + value 8; + description + "8"; + } + enum "dscp-af11" { + value 10; + description + "10"; + } + enum "dscp-af12" { + value 12; + description + "12"; + } + enum "dscp-af13" { + value 14; + description + "14"; + } + enum "dscp-cs2" { + value 16; + description + "16"; + } + enum "dscp-af21" { + value 18; + description + "18"; + } + enum "dscp-af22" { + value 20; + description + "20"; + } + enum "dscp-af23" { + value 22; + description + "22"; + } + enum "dscp-cs3" { + value 24; + description + "24"; + } + enum "dscp-af31" { + value 26; + description + "26"; + } + enum "dscp-af32" { + value 28; + description + "28"; + } + enum "dscp-af33" { + value 30; + description + "30"; + } + enum "dscp-cs4" { + value 32; + description + "32"; + } + enum "dscp-af41" { + value 34; + description + "34"; + } + enum "dscp-af42" { + value 36; + description + "36"; + } + enum "dscp-af43" { + value 38; + description + "38"; + } + enum "dscp-cs5" { + value 40; + description + "40"; + } + enum "dscp-ef" { + value 46; + description + "46"; + } + enum "dscp-cs6" { + value 48; + description + "48"; + } + enum "dscp-cs7" { + value 56; + description + "56"; + } + } + description + "DSCP source qos value for subscription"; + } + + typedef Mdt-subs-state-enum { + type enumeration { + enum "not-active" { + value 0; + description + "NA"; + } + enum "active" { + value 1; + description + "Active"; + } + enum "paused" { + value 2; + description + "Paused"; + } + } + description + "Subscription State"; + } + + typedef Mdt-internal-path-status { + type enumeration { + enum "active" { + value 0; + description + "Active"; + } + enum "internal-err" { + value 1; + description + "Internal Error"; + } + enum "plugin-active" { + value 2; + description + "Plugin Active"; + } + enum "plugin-not-initialized" { + value 3; + description + "Plugin Not Initialized"; + } + enum "plugin-invalid-cadence" { + value 4; + description + "Plugin Unsupported Cadence"; + } + enum "plugin-err" { + value 5; + description + "Plugin Subscription Error"; + } + enum "filter-err" { + value 6; + description + "Filter Error"; + } + enum "paused" { + value 7; + description + "Paused"; + } + enum "event-ing-active" { + value 8; + description + "Eventing Active"; + } + enum "event-ing-not-active" { + value 9; + description + "Eventing Not Active"; + } + enum "event-ing-err" { + value 10; + description + "Eventing Error"; + } + } + description + "Internal Subscription Path Status"; + } + + typedef Mdt-dest-state-enum { + type enumeration { + enum "dest-not-active" { + value 0; + description + "NA"; + } + enum "dest-active" { + value 1; + description + "Active"; + } + enum "dest-asking-pause" { + value 2; + description + "AskingPause"; + } + enum "dest-paused" { + value 3; + description + "Paused"; + } + enum "dest-resuming" { + value 4; + description + "Resuming"; + } + enum "dest-channel-not-found" { + value 5; + description + "ChannelNotFound"; + } + } + description + "Destination state"; + } + + typedef Mdt-transport-enum { + type enumeration { + enum "not-set" { + value 0; + description + "PROTOCOL NOT SET"; + } + enum "grpc" { + value 1; + description + "GRPC"; + } + enum "tcp" { + value 2; + description + "TCP"; + } + enum "udp" { + value 3; + description + "UDP"; + } + enum "dialin" { + value 6; + description + "DIALIN"; + } + } + description + "MDT Transport"; + } + + typedef Mdt-encoding-enum { + type enumeration { + enum "not-set" { + value 0; + description + "ENCODING NOT SET"; + } + enum "gpb" { + value 2; + description + "GPB"; + } + enum "self-describing-gpb" { + value 3; + description + "SELF DESCRIBING GPB"; + } + enum "json" { + value 4; + description + "JSON"; + } + } + description + "MDT Encoding"; + } + + typedef Mdt-in6-addr { + type inet:ipv6-address; + description + "Mdt in6 addr"; + } + + typedef Mdt-ip { + type enumeration { + enum "ipv4" { + value 1; + description + "IPv4"; + } + enum "ipv6" { + value 2; + description + "IPv6"; + } + } + description + "IP Type"; + } + + grouping MDT-DESTINATION-GROUP { + description + "Per Destination Group information"; + leaf id { + type string; + description + "Destination Group name"; + } + leaf configured { + type uint32; + description + "Set if this is configured destination group"; + } + list destination { + description + "list of destinations defined in this group"; + uses MDT-DESTINATION; + } + } + + grouping MDT-SENSOR-GROUP { + description + "Per sensor group information"; + leaf id { + type string; + description + "Sensor Group name"; + } + leaf configured { + type uint32; + description + "Set if this is configured sensor group"; + } + list sensor-path { + description + "Array of information for sensor paths within + sensor group"; + uses MDT-SENSOR-PATHS; + } + } + + grouping MDT-SENSOR-PROFILE { + description + "Per sensor profile information"; + container sensor-group { + description + "sensor group"; + uses MDT-SENSOR-GROUP; + } + leaf sample-interval { + type uint32; + description + "Sample interval for the sensor group (ms)"; + } + leaf heartbeat-interval { + type uint32; + description + "Heartbeat interval for the sensor group (s)"; + } + leaf suppress-redundant { + type boolean; + description + "Suppress Redundant"; + } + } + + grouping MDT-SOURCE-INTERFACE { + description + "source interface information"; + leaf interface-name { + type string; + description + "Source Interface Name"; + } + leaf state { + type boolean; + description + "interface state"; + } + leaf ipv4-address { + type inet:ipv4-address; + description + "IPV4 Address"; + } + leaf ipv6-address { + type Mdt-in6-addr; + description + "IPV6 Address"; + } + leaf vrf-id { + type uint32; + description + "Src Vrf Id"; + } + } + + grouping MDT-SUBSCRIPTION { + description + "Per subscription group information"; + container source-interface { + description + "configured source interface"; + uses MDT-SOURCE-INTERFACE; + } + leaf id { + type string; + description + "Collection Subscription name"; + } + leaf state { + type Mdt-subs-state-enum; + description + "Subscription state"; + } + leaf source-qos-marking { + type Mdt-source-qos-marking; + description + "DSCP"; + } + list sensor-profile { + description + "List of sensor groups within a subscription"; + uses MDT-SENSOR-PROFILE; + } + list destination-grp { + description + "Array of destinations within a subscription"; + uses MDT-DESTINATION-GROUP; + } + } + + grouping MDT-SUBSCRIPTION-DETAILS { + description + "Per subscription group detailed information"; + container subscription { + description + "Subscription"; + uses MDT-SUBSCRIPTION; + } + list collection-group { + description + "List of collection groups active for this + subscription"; + uses MDT-COLLECTION-GROUP; + } + } + + grouping MDT-COLLECTION-SYSDB-GROUP { + description + "Per collection group sysdb information"; + leaf path { + type string; + description + "Sysdb Path"; + } + leaf cadence { + type uint64; + description + "Period of the collections (ms)"; + } + leaf total-get-count { + type uint64; + description + "Total number of gets"; + } + leaf total-list-count { + type uint64; + description + "Total number of lists"; + } + leaf total-datalist-count { + type uint64; + description + "Total number of datalists"; + } + leaf total-finddata-count { + type uint64; + description + "Total number of finddata"; + } + leaf total-get-bulk-count { + type uint64; + description + "Total number of get bulk"; + } + leaf total-item-count { + type uint64; + description + "Total number of items retrived from sysdb"; + } + leaf total-get-errors { + type uint64; + description + "Total number of get errors"; + } + leaf total-list-errors { + type uint64; + description + "Total number of list errors"; + } + leaf total-datalist-errors { + type uint64; + description + "Total number of datalist errors"; + } + leaf total-finddata-errors { + type uint64; + description + "Total number of finddata errors"; + } + leaf total-get-bulk-errors { + type uint64; + description + "Total number of get bulk errors"; + } + leaf total-encode-errors { + type uint64; + description + "Total number of encode errors"; + } + leaf total-encode-notready { + type uint64; + description + "Total number of encode deferred"; + } + leaf total-send-errors { + type uint64; + description + "Total number of send errors"; + } + leaf total-send-drops { + type uint64; + description + "Total number of send channel full"; + } + leaf total-sent-bytes { + type uint64; + units "byte"; + description + "Total number of bytes sent"; + } + leaf total-send-packets { + type uint64; + description + "Total number of packets sent"; + } + leaf total-send-bytes-dropped { + type uint64; + units "byte"; + description + "Total number of send bytes dropped"; + } + leaf total-collections { + type uint64; + description + "Completed collections count"; + } + leaf total-collections-missed { + type uint64; + description + "Total number of collections missed"; + } + leaf max-collection-time { + type uint64; + description + "Maximum time for a collection (ms)"; + } + leaf min-collection-time { + type uint64; + description + "Minimum time for a collection (ms)"; + } + leaf avg-collection-time { + type uint64; + description + "Average time for a collection (ms)"; + } + leaf collection-method { + type uint64; + description + "Collection method in use"; + } + leaf status { + type Mdt-internal-path-status; + description + "Status of collection path"; + } + } + + grouping MDT-SENSOR-PATHS { + description + "Sensor Path information"; + leaf path { + type string; + description + "Sensor Path"; + } + leaf state { + type boolean; + description + "State, if sensor path is resolved or not"; + } + leaf status-str { + type string; + description + "Error str, if there are any errors resolving the + sensor path"; + } + } + + grouping MDT-COLLECTION-GROUP { + description + "Per collection group information"; + leaf id { + type uint64; + description + "Collection Group id"; + } + leaf cadence { + type uint32; + description + "Period of the collections (ms)"; + } + leaf total-collections { + type uint32; + description + "Completed collections count"; + } + leaf encoding { + type Mdt-encoding-enum; + description + "Destination group encoding"; + } + leaf last-collection-start-time { + type uint64; + description + "Timestamp of the start of last collection"; + } + leaf last-collection-end-time { + type uint64; + description + "Timestamp of the end of last collection"; + } + leaf max-collection-time { + type uint32; + description + "Maximum time for a collection (ms)"; + } + leaf min-collection-time { + type uint32; + description + "Minimum time for a collection (ms)"; + } + leaf min-total-time { + type uint32; + description + "Minimum time for all processing (ms)"; + } + leaf max-total-time { + type uint32; + description + "Maximum time for all processing (ms)"; + } + leaf avg-total-time { + type uint32; + description + "Average time for all processing (ms)"; + } + leaf total-other-errors { + type uint32; + description + "Total number of errors"; + } + leaf total-on-data-instances { + type uint32; + description + "Total number of no data instances"; + } + leaf total-not-ready { + type uint32; + description + "Total number skipped (not ready)"; + } + leaf total-send-errors { + type uint32; + description + "Total number of send errors"; + } + leaf total-send-drops { + type uint32; + description + "Total number of send drops"; + } + list collection-path { + description + "Array of information for sensor paths within + collection group"; + uses MDT-SENSOR-PATHS; + } + list internal-collection-group { + description + "Array of information for sysdb paths within + collection group"; + uses MDT-COLLECTION-SYSDB-GROUP; + } + } + + grouping MDT-DESTINATION-IP-ADDRESS { + description + "MDT DESTINATION IP ADDRESS"; + leaf ip-type { + type Mdt-ip; + description + "IPType"; + } + leaf ipv4-address { + when "../ip-type = 'ipv4'" { + description + "../IPType = 'IPV4'"; + } + type inet:ipv4-address; + description + "IPV4 Address"; + } + leaf ipv6-address { + when "../ip-type = 'ipv6'" { + description + "../IPType = 'IPV6'"; + } + type Mdt-in6-addr; + description + "IPV6 Address"; + } + } + + grouping MDT-DESTINATION { + description + "Per Destination information"; + container dest-ip-address { + description + "Destination IP Address"; + uses MDT-DESTINATION-IP-ADDRESS; + } + leaf id { + type string; + description + "Destination Id"; + } + leaf sub-id-str { + type string; + description + "Sub Idstr"; + } + leaf dest-port { + type uint16; + description + "Destination Port number"; + } + leaf encoding { + type Mdt-encoding-enum; + description + "Destination group encoding"; + } + leaf transport { + type Mdt-transport-enum; + description + "Destination group transport"; + } + leaf vrf { + type string; + description + "Destination group vrf"; + } + leaf vrf-id { + type uint32; + description + "Destination group vrf id"; + } + leaf state { + type Mdt-dest-state-enum; + description + "State of streaming on this destination"; + } + leaf udp-mtu { + type uint32; + description + "UDP MTU if this destination is UDP"; + } + leaf tls { + type uint32; + description + "TLS connection to this destination"; + } + leaf tls-host { + type string; + description + "TLS Hostname of this destination"; + } + leaf total-num-of-packets-sent { + type uint64; + description + "Total number of packets sent for this + destination"; + } + leaf total-num-of-bytes-sent { + type uint64; + units "byte"; + description + "Total number of bytes sent for this destination"; + } + leaf last-collection-time { + type uint64; + description + "Timestamp of the last collection"; + } + leaf dscp { + type uint32; + description + "DSCP setting for this destination"; + } + leaf-list sub-id { + type uint64; + description + "Sub Id"; + } + } + + grouping MDT-DESTINATION-DETAIL { + description + "Per Destination detail information"; + container destination { + description + "Destination"; + uses MDT-DESTINATION; + } + list collection-group { + description + "List of collection groups for this destination + group"; + uses MDT-COLLECTION-GROUP; + } + } + + grouping MDT-DESTINATION-GROUP-DETAIL { + description + "Per Destination Group detail information"; + leaf id { + type string; + description + "Destination Group name"; + } + leaf configured { + type uint32; + description + "Set if this is configured destination group"; + } + list destination { + description + "list of destinations defined in this group"; + uses MDT-DESTINATION-DETAIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper.yang new file mode 100644 index 0000000..ec68bac --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-telemetry-model-driven-oper.yang @@ -0,0 +1,106 @@ +module Cisco-IOS-XR-telemetry-model-driven-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-oper"; + prefix telemetry-model-driven-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-telemetry-model-driven-oper-sub1 { + revision-date 2017-05-05; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR telemetry-model-driven package operational data. + + This module contains definitions + for the following management objects: + telemetry-model-driven: Telemetry operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-05 { + description + "Modified the type for the state variables"; + } + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2017-02-09 { + description + "Added DSCP"; + } + revision 2017-01-30 { + description + "Initial 6.2.1 revision"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container telemetry-model-driven { + config false; + description + "Telemetry operational data"; + container destinations { + description + "Telemetry Destinations"; + list destination { + key "destination-id"; + description + "Telemetry Destination"; + leaf destination-id { + type xr:Cisco-ios-xr-string; + description + "Id of the destination"; + } + uses MDT-DESTINATION-GROUP-DETAIL; + } + } + container subscriptions { + description + "Telemetry Subscriptions"; + list subscription { + key "subscription-id"; + description + "Telemetry Subscription"; + leaf subscription-id { + type xr:Cisco-ios-xr-string; + description + "Id of the subscription"; + } + uses MDT-SUBSCRIPTION-DETAILS; + } + } + container sensor-groups { + description + "Telemetry Sensor Groups"; + list sensor-group { + key "sensor-group-id"; + description + "Telemetry Sensor Groups"; + leaf sensor-group-id { + type xr:Cisco-ios-xr-string; + description + "Id of the sensor group"; + } + uses MDT-SENSOR-GROUP; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-cfg.yang new file mode 100644 index 0000000..ee61b4f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-cfg.yang @@ -0,0 +1,442 @@ +module Cisco-IOS-XR-terminal-device-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-terminal-device-cfg"; + prefix terminal-device-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR terminal-device package configuration. + + This module contains definitions + for the following management objects: + logical-channels: Logical channel in mxp + optical-channels: optical channels + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Logical-channel-otn-tti-auto { + type enumeration { + enum "false" { + value 0; + description + "Otn tti auto mode false"; + } + enum "true" { + value 1; + description + "Otn tti auto mode true"; + } + } + description + "Logical channel otn tti auto"; + } + + typedef Logical-admin-state { + type enumeration { + enum "enable" { + value 1; + description + "Enable"; + } + enum "disable" { + value 2; + description + "Disable"; + } + enum "maintenance" { + value 3; + description + "Maintenance"; + } + } + description + "Logical admin state"; + } + + typedef Logical-loopback-mode { + type enumeration { + enum "none" { + value 0; + description + "None"; + } + enum "facility" { + value 1; + description + "Facility"; + } + enum "terminal" { + value 2; + description + "Terminal"; + } + } + description + "Logical loopback mode"; + } + + typedef Logical-trib-rate { + type enumeration { + enum "trib-rate1g" { + value 1; + description + "TribRate1G"; + } + enum "trib-rate2-5g" { + value 2; + description + "TribRate25G"; + } + enum "trib-rate10g" { + value 3; + description + "TribRate10G"; + } + enum "trib-rate40g" { + value 4; + description + "TribRate40G"; + } + enum "trib-rate100g" { + value 5; + description + "TribRate100G"; + } + } + description + "Logical trib rate"; + } + + typedef Logical-trib-protocol { + type enumeration { + enum "trib-proto-type1ge" { + value 1; + description + "1G Ethernet protocol"; + } + enum "trib-proto-type-oc48" { + value 2; + description + "OC48 protocol"; + } + enum "trib-proto-type-stm16" { + value 3; + description + "STM 16 protocol"; + } + enum "trib-proto-type10gelan" { + value 4; + description + "10G Ethernet LAN protocol"; + } + enum "trib-proto-type10gewan" { + value 5; + description + "10G Ethernet WAN protocol"; + } + enum "trib-proto-type-oc192" { + value 6; + description + "OC 192 (9.6GB) port protocol"; + } + enum "trib-proto-type-stm64" { + value 7; + description + "STM 64 protocol"; + } + enum "trib-proto-type-otu2" { + value 8; + description + "OTU 2 protocol"; + } + enum "trib-proto-type-otu2e" { + value 9; + description + "OTU 2e protocol"; + } + enum "trib-proto-type-otu1e" { + value 10; + description + "OTU 1e protocol"; + } + enum "trib-proto-type-odu2" { + value 11; + description + "ODU 2 protocol"; + } + enum "trib-proto-type-odu2e" { + value 12; + description + "ODU 2e protocol"; + } + enum "trib-proto-type40ge" { + value 13; + description + "40G Ethernet port protocol"; + } + enum "trib-proto-type-oc768" { + value 14; + description + "OC 768 protocol"; + } + enum "trib-proto-type-stm256" { + value 15; + description + "STM 256 protocol"; + } + enum "trib-proto-type-otu3" { + value 16; + description + "OTU 3 protocol"; + } + enum "trib-proto-type-odu3" { + value 17; + description + "ODU 3 protocol"; + } + enum "trib-proto-type100ge" { + value 18; + description + "100G Ethernet protocol"; + } + enum "trib-proto-type100g-mlg" { + value 19; + description + "100G MLG protocol"; + } + enum "trib-proto-type-otu4" { + value 20; + description + "OTU4 signal protocol (112G) for transporting + 100GE signal"; + } + enum "trib-proto-type-otu-cn" { + value 21; + description + "OTU Cn protocol"; + } + enum "trib-proto-type-odu4" { + value 22; + description + "ODU 4 protocol"; + } + } + description + "Logical trib protocol"; + } + + typedef Logical-channel-assignment { + type enumeration { + enum "type-logical-channel" { + value 1; + description + "Type Logical channel"; + } + enum "type-optical-channel" { + value 2; + description + "Type Optical channel"; + } + } + description + "Logical channel assignment"; + } + + typedef Logical-protocol { + type enumeration { + enum "type-ethernet" { + value 1; + description + "Type Ethernet"; + } + enum "type-otn" { + value 2; + description + "Type OTN"; + } + } + description + "Logical protocol"; + } + + container logical-channels { + description + "Logical channel in mxp"; + list channel { + key "channel-index"; + description + "Logical channel index"; + container logical-channel-assignments { + description + "Logical channel assignment for logical channel"; + list logical-channel-assignment { + key "assignment-index"; + description + "Logical Channel Assignment id"; + leaf description { + type string { + length "1..255"; + } + description + "Configure description for this assignment"; + } + leaf logical-channel-id { + type int32; + description + "Configure logical channel for this assignment"; + } + leaf assignment-type { + type Logical-channel-assignment; + description + "Type of assignment for logical channel"; + } + leaf allocation { + type int32; + description + "Configure Allocation for this assignment(10, + 40 or 100G)"; + } + leaf optical-channel-id { + type string; + description + "Configure optical channel for this assignment"; + } + leaf assignment-index { + type int32; + description + "Logical channel assignment index"; + } + } + } + container otn { + description + "Otn Related configs for Logical channel"; + leaf tti-msg-auto { + type Logical-channel-otn-tti-auto; + description + "Trail trace identifier (TTI) transmit message + automatically created. If True, then setting a + custom transmit message would be invalid. + Trail trace identifier (TTI) transmit message + automatically created."; + } + leaf tti-msg-expected { + type string { + length "1..255"; + } + description + "Trail trace identifier (TTI) message + expectedTrail trace identifier (TTI) message + expected"; + } + leaf tti-msg-transmit { + type string { + length "1..255"; + } + description + "Trail trace identifier (TTI) message + transmittedTrail trace identifier (TTI) + message transmitted"; + } + } + leaf trib-protocol { + type Logical-trib-protocol; + description + "Protocol framing of the tributary signal"; + } + leaf description { + type string { + length "1..255"; + } + description + "Description (Max 255 characters)"; + } + leaf ingress-client-port { + type xr:Interface-name; + description + "Configure ingress client port for this logical + channel"; + } + leaf ingress-physical-channel { + type uint32 { + range "1..4"; + } + description + "Configure ingress physical channel for this + logical channel"; + } + leaf admin-state { + type Logical-admin-state; + description + "Configure the admin-state "; + } + leaf loopback-mode { + type Logical-loopback-mode; + description + "Configure the loopback mode "; + } + leaf logical-channel-type { + type Logical-protocol; + description + "Configure the logical-channel-type "; + } + leaf rate-class { + type Logical-trib-rate; + description + "Rounded bit rate of the tributary signal"; + } + leaf channel-index { + type int32; + description + "Logical Channel Index"; + } + } + } + container optical-channels { + description + "optical channels"; + list optical-channel { + key "ifname"; + description + "Optical Channel index"; + leaf operational-mode { + type uint32 { + range "1..100000"; + } + description + "Configure operational mode"; + } + leaf line-port { + type xr:Interface-name; + description + "Specify R/S/I/P"; + } + leaf ifname { + type xr:Cisco-ios-xr-string; + description + "Optical Channel Name"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper-sub1.yang new file mode 100644 index 0000000..f47dafc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper-sub1.yang @@ -0,0 +1,481 @@ +submodule Cisco-IOS-XR-terminal-device-oper-sub1 { + belongs-to Cisco-IOS-XR-terminal-device-oper { + prefix Cisco-IOS-XR-terminal-device-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR terminal-device package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Logical-protocol { + type enumeration { + enum "proto-type-unknown" { + value 0; + description + "Unknown protocol framing"; + } + enum "proto-type-ethernet" { + value 1; + description + "Ethernet protocol framing"; + } + enum "proto-type-otn" { + value 2; + description + "OTN protocol framing"; + } + } + description + "Logical protocol"; + } + + typedef Trib-protocol { + type enumeration { + enum "trib-proto-type-unknown" { + value 0; + description + "Unknown protocol"; + } + enum "trib-proto-type1ge" { + value 1; + description + "1G Ethernet protocol"; + } + enum "trib-proto-type-oc48" { + value 2; + description + "OC48 protocol"; + } + enum "trib-proto-type-stm16" { + value 3; + description + "STM 16 protocol"; + } + enum "trib-proto-type10gelan" { + value 4; + description + "10G Ethernet LAN protocol"; + } + enum "trib-proto-type10gewan" { + value 5; + description + "10G Ethernet WAN protocol"; + } + enum "trib-proto-type-oc192" { + value 6; + description + "OC 192 (9.6GB) port protocol"; + } + enum "trib-proto-type-stm64" { + value 7; + description + "STM 64 protocol"; + } + enum "trib-proto-type-otu2" { + value 8; + description + "OTU 2 protocol"; + } + enum "trib-proto-type-otu2e" { + value 9; + description + "OTU 2e protocol"; + } + enum "trib-proto-type-otu1e" { + value 10; + description + "OTU 1e protocol"; + } + enum "trib-proto-type-odu2" { + value 11; + description + "ODU 2 protocol"; + } + enum "trib-proto-type-odu2e" { + value 12; + description + "ODU 2e protocol"; + } + enum "trib-proto-type40ge" { + value 13; + description + "40G Ethernet port protocol"; + } + enum "trib-proto-type-oc768" { + value 14; + description + "OC 768 protocol"; + } + enum "trib-proto-type-stm256" { + value 15; + description + "STM 256 protocol"; + } + enum "trib-proto-type-otu3" { + value 16; + description + "OTU 3 protocol"; + } + enum "trib-proto-type-odu3" { + value 17; + description + "ODU 3 protocol"; + } + enum "trib-proto-type100ge" { + value 18; + description + "100G Ethernet protocol"; + } + enum "trib-proto-type100g-mlg" { + value 19; + description + "100G MLG protocol"; + } + enum "trib-proto-type-otu4" { + value 20; + description + "OTU4 signal protocol (112G) for transporting + 100GE signal"; + } + enum "trib-proto-type-otu-cn" { + value 21; + description + "OTU Cn protocol"; + } + enum "trib-proto-type-odu4" { + value 22; + description + "ODU 4 protocol"; + } + } + description + "Trib protocol"; + } + + typedef Trib-rate-class { + type enumeration { + enum "trib-rate-unknown" { + value 0; + description + "Unknown tributary signal rate"; + } + enum "trib-rate1g" { + value 1; + description + "1G tributary signal rate"; + } + enum "trib-rate25g" { + value 2; + description + "2.5G tributary signal rate"; + } + enum "trib-rate10g" { + value 3; + description + "10G tributary signal rate"; + } + enum "trib-rate40g" { + value 4; + description + "40G tributary signal rate"; + } + enum "trib-rate100g" { + value 5; + description + "100G tributary signal rate"; + } + } + description + "Trib rate class"; + } + + grouping LOGICAL-CHANNEL-ASSIGNMENT { + description + "LOGICAL CHANNEL ASSIGNMENT"; + leaf index { + type uint32; + description + "Index"; + } + leaf name { + type string { + length "0..128"; + } + description + "Name"; + } + leaf is-logical-link { + type boolean; + description + "IsLogicalLink"; + } + leaf logical-channel { + type uint32; + description + "LogicalChannel"; + } + leaf optical-channel { + type string { + length "0..128"; + } + description + "OpticalChannel"; + } + leaf allocation { + type uint32; + description + "Allocation"; + } + leaf assignment-type { + type uint32; + description + "AssignmentType"; + } + } + + grouping LOGICAL-CHANNEL-ATTRIBUTES { + description + "LOGICAL CHANNEL ATTRIBUTES"; + leaf logical-channel-index { + type uint32; + description + "LogicalChannelIndex"; + } + leaf logical-channel-ifname { + type string { + length "0..128"; + } + description + "LogicalChannelIfname"; + } + leaf type { + type string { + length "0..32"; + } + description + "Type"; + } + leaf trib-rate-class { + type Trib-rate-class; + description + "TribRateClass"; + } + leaf trib-protocol { + type Trib-protocol; + description + "TribProtocol"; + } + leaf protocol-type { + type Logical-protocol; + description + "ProtocolType"; + } + leaf admin-state { + type uint32; + description + "AdminState"; + } + leaf loopback-mode { + type uint32; + description + "LoopbackMode"; + } + leaf ingress-client-port { + type string { + length "0..128"; + } + description + "IngressClientPort"; + } + leaf ingress-physical-channel { + type uint32; + description + "IngressPhysicalChannel"; + } + leaf tti-transmit { + type string { + length "0..256"; + } + description + "TtiTransmit"; + } + leaf tti-expected { + type string { + length "0..256"; + } + description + "TtiExpected"; + } + } + + grouping OPERATIONAL-MODE-ATTRIBUTES { + description + "OPERATIONAL MODE ATTRIBUTES"; + leaf description { + type string { + length "0..128"; + } + description + "Description"; + } + leaf vendor-id { + type string { + length "0..64"; + } + description + "VendorId"; + } + } + + grouping GRAPH-STRUCTURE-PATH { + description + "GRAPH STRUCTURE PATH"; + leaf path { + type string { + length "0..256"; + } + description + "Path"; + } + } + + grouping ADJACENCY-LIST-PATH { + description + "ADJACENCY LIST PATH"; + leaf path { + type string { + length "0..256"; + } + description + "Path"; + } + } + + grouping OPTICAL-CHANNEL-ATTRIBUTES { + description + "OPTICAL CHANNEL ATTRIBUTES"; + leaf name { + type string { + length "0..128"; + } + description + "Name"; + } + leaf index { + type uint32; + description + "Index"; + } + leaf frequency { + type uint64; + description + "Frequency"; + } + leaf power { + type uint64; + description + "Power"; + } + leaf oper-mode { + type uint32; + description + "OperMode"; + } + leaf line-port { + type string { + length "0..128"; + } + description + "LinePort"; + } + } + + grouping SLICE-CONFIG-STATUS-ATTRIBUTES { + description + "SLICE CONFIG STATUS ATTRIBUTES"; + leaf slice { + type uint8; + description + "Slice"; + } + leaf prov-status { + type string { + length "0..32"; + } + description + "ProvStatus"; + } + leaf present-config { + type string { + length "0..32"; + } + description + "PresentConfig"; + } + leaf present-timestamp { + type string { + length "0..32"; + } + description + "PresentTimestamp"; + } + leaf past-config { + type string { + length "0..32"; + } + description + "PastConfig"; + } + leaf past-timestamp { + type string { + length "0..32"; + } + description + "PastTimestamp"; + } + leaf err-str { + type string { + length "0..1024"; + } + description + "ErrStr"; + } + leaf err-timestamp { + type string { + length "0..32"; + } + description + "ErrTimestamp"; + } + } + + grouping PARTIAL-CONFIG-STATUS { + description + "PARTIAL CONFIG STATUS"; + leaf partial-config { + type uint8; + description + "PartialConfig"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper.yang new file mode 100644 index 0000000..5eddb0e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-terminal-device-oper.yang @@ -0,0 +1,177 @@ +module Cisco-IOS-XR-terminal-device-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-terminal-device-oper"; + prefix terminal-device-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-terminal-device-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR terminal-device package operational data. + + This module contains definitions + for the following management objects: + optical-interface: System-wide view of interface operational + data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container optical-interface { + config false; + description + "System-wide view of interface operational data"; + container config-status { + description + "Table containing status information"; + container partial-config { + description + "The bag containing partial config status"; + uses PARTIAL-CONFIG-STATUS; + } + container slice-tables { + description + "The container containing slice status + information"; + list slice-table { + key "index"; + description + "The table contains list of slices present"; + container slice-status-attr { + description + "The bag containing slice config status"; + uses SLICE-CONFIG-STATUS-ATTRIBUTES; + } + leaf index { + type int32; + description + "The index of slice"; + } + } + } + } + container optical-channel-interfaces { + description + "The operational attributes for a particular + optical channel"; + list optical-channel-interface { + key "location"; + description + "The operational attributes for an optical + channel"; + container optical-channel-interface-attr { + description + "The operational attributes for an optical + channel"; + uses OPTICAL-CHANNEL-ATTRIBUTES; + } + leaf location { + type xr:Cisco-ios-xr-string; + description + "The name of the optical-channel"; + } + } + } + container graph { + description + "Table containing Graph Structure and related + info"; + container adj-list-path { + description + "The path containg file which has adjacency list + stored"; + uses ADJACENCY-LIST-PATH; + } + container graph-structure-path { + description + "The path containg file which has graph + structure stored"; + uses GRAPH-STRUCTURE-PATH; + } + } + container operational-modes { + description + "The Operational Mode Table"; + list operational-mode { + key "mode-id"; + description + "Mode supported on Device"; + container operational-mode-attributes { + description + "The operational attributes for mxp driver + fec-mode"; + uses OPERATIONAL-MODE-ATTRIBUTES; + } + leaf mode-id { + type int32; + description + "Mode-id for supported mode on Device"; + } + } + } + container optical-logical-interfaces { + description + "The operational attributes for a logical channel"; + list optical-logical-interface { + key "index"; + description + "The operational attributes for a logical + channel"; + container optical-logical-interface-attr { + description + "The operational attributes for a particular + logical channel"; + uses LOGICAL-CHANNEL-ATTRIBUTES; + } + container optical-logical-interface-logical-channel-assignments { + description + "The operational attributes for a particular + interface"; + list optical-logical-interface-logical-channel-assignment { + key "index"; + description + "The operational attributes for a logical + channel assignment"; + container optical-logical-interface-logical-channel-assignment-attr { + description + "The operational attributes for a logical + channel assignment"; + uses LOGICAL-CHANNEL-ASSIGNMENT; + } + leaf index { + type int32; + description + "The index of the logical-channel"; + } + } + } + leaf index { + type int32; + description + "The index of the logical-channel"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traceroute-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traceroute-act.yang new file mode 100644 index 0000000..9d14360 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traceroute-act.yang @@ -0,0 +1,58 @@ +module Cisco-IOS-XR-traceroute-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act"; + prefix traceroute-act; + + include Cisco-IOS-XR-ipv4-traceroute-act; + include Cisco-IOS-XR-ipv6-traceroute-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR ping action package configuration. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-09-28 { + description + "IOS XR 6.2.1 revision."; + } + + rpc traceroute { + description + "Trace route to destination"; + input { + container destination { + uses TRACEROUTE-OPTIONS; + uses IPV6-SPECIFIC-OPTIONS; + } + container ipv4 { + uses TRACEROUTE-OPTIONS; + } + container ipv6 { + uses IPV6-TRACEROUTE-INPUT; + } + } + output { + container traceroute-response { + container ipv4 { + uses TRACEROUTE-OUTPUT; + } + container ipv6 { + uses TRACEROUTE-OUTPUT; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traffmon-netflow-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traffmon-netflow-cfg.yang new file mode 100644 index 0000000..0ffe4ac --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-traffmon-netflow-cfg.yang @@ -0,0 +1,533 @@ +module Cisco-IOS-XR-traffmon-netflow-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-traffmon-netflow-cfg"; + prefix traffmon-netflow-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR traffmon-netflow package configuration. + + This module contains definitions + for the following management objects: + net-flow: NetFlow Configuration + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Nf-export-timeout { + type uint32 { + range "0..604800"; + } + description + "Nf export timeout"; + } + + typedef Nf-active-cache-aging-timeout { + type uint32 { + range "1..604800"; + } + description + "Nf active cache aging timeout"; + } + + typedef Nf-inactive-cache-aging-timeout { + type uint32 { + range "0..604800"; + } + description + "Nf inactive cache aging timeout"; + } + + typedef Nf-sample-interval { + type uint32 { + range "1..65535"; + } + description + "Nf sample interval"; + } + + typedef Nf-sample-number { + type uint32; + description + "Nf sample number"; + } + + typedef Nf-template-timeout { + type uint32 { + range "1..604800"; + } + description + "Nf template timeout"; + } + + typedef Nf-map-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Nf map name"; + } + + typedef Nf-cache-aging-mode { + type enumeration { + enum "normal" { + value 0; + description + "Normal, caches age"; + } + enum "permanent" { + value 1; + description + "Permanent, caches never age"; + } + enum "immediate" { + value 2; + description + "Immediate, caches age immediately"; + } + } + description + "Nf cache aging mode"; + } + + typedef Nf-cache-entry { + type uint32 { + range "4096..1000000"; + } + description + "Nf cache entry"; + } + + typedef Nf-update-cache-aging-timeout { + type uint32 { + range "1..604800"; + } + description + "Nf update cache aging timeout"; + } + + typedef Nf-sampling-mode { + type enumeration { + enum "random" { + value 2; + description + "Random sampling"; + } + } + description + "Nf sampling mode"; + } + + typedef Nf-export-version { + type uint32 { + range "9..10"; + } + description + "Nf export version"; + } + + typedef Nf-cache-timeout-rate-limit { + type uint32 { + range "1..1000000"; + } + description + "Nf cache timeout rate limit"; + } + + grouping FLOW-MONITOR-NAME { + description + "Common node of ingress, egress"; + list flow-monitor-name { + key "monitor-map-name"; + description + "Specify a sampler for a flow monitor"; + leaf monitor-map-name { + type xr:Cisco-ios-xr-string; + description + "Flow monitor map name"; + } + leaf sampler-map-name { + type string; + mandatory true; + description + "Sampler map name"; + } + } + } + + grouping FLOW-MONITOR-MAP { + description + "Common node of mpls, ipv4, ipv6, + data-link-frame-section"; + container flow-monitor-map { + description + "Configure a flow monitor map"; + container ingress { + description + "Configure ingress monitoring direction"; + uses FLOW-MONITOR-NAME; + } + container egress { + description + "Configure egress monitoring direction"; + uses FLOW-MONITOR-NAME; + } + } + } + + grouping NETFLOW-CFG-FLOW-MONITOR-MAP { + description + "Common node of mpls, ipv4, ipv6, + data-link-frame-sectionCommon node of + flow-monitor-map-table, + flow-monitor-map-performance-table"; + list flow-monitor-map { + key "monitor-map-name"; + description + "Monitor map name"; + container option { + description + "Specify an option for the flow cache"; + leaf filtered { + type empty; + description + "Specify whether data should be filtered"; + } + leaf out-bundle-member { + type empty; + description + "Specify whether to export physical ifh for + bundle interface"; + } + leaf out-phys-int { + type empty; + description + "Specify whether it exports the physical output + interface"; + } + leaf bgp-attr { + type empty; + description + "Specify if BGP Attributes AS_PATH STD_COMM + should be exported"; + } + } + container exporters { + description + "Configure exporters to be used by the + monitor-map"; + list exporter { + key "exporter-name"; + description + "Configure exporter to be used by the + monitor-map"; + leaf exporter-name { + type Nf-map-name; + description + "Exporter name"; + } + } + } + container record { + presence "Indicates a record node is configured."; + description + "Specify a flow record format"; + leaf record-name { + type Nf-map-name; + mandatory true; + description + "Flow record format (Either 'ipv4-raw' + ,'ipv4-peer-as', 'ipv6', 'mpls', 'mpls-ipv4', + 'mpls-ipv6', 'mpls-ipv4-ipv6', 'ipv6-peer-as')"; + } + leaf label { + type uint32 { + range "1..6"; + } + description + "Enter label value for MPLS record type"; + } + } + leaf cache-update-aging-timeout { + type Nf-update-cache-aging-timeout; + units "second"; + default "1800"; + description + "Specify the update flow cache aging timeout"; + } + leaf cache-entries { + type Nf-cache-entry; + default "65535"; + description + "Specify the number of entries in the flow cache"; + } + leaf cache-inactive-aging-timeout { + type Nf-inactive-cache-aging-timeout; + units "second"; + default "15"; + description + "Specify the inactive flow cache aging timeout"; + } + leaf cache-active-aging-timeout { + type Nf-active-cache-aging-timeout; + units "second"; + default "1800"; + description + "Specify the active flow cache aging timeout"; + } + leaf cache-timeout-rate-limit { + type Nf-cache-timeout-rate-limit; + default "2000"; + description + "Specify the maximum number of entries to age + each second"; + } + leaf cache-aging-mode { + type Nf-cache-aging-mode; + default "normal"; + description + "Specify the flow cache aging mode"; + } + leaf monitor-map-name { + type Nf-map-name; + description + "Monitor map name"; + } + } + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container net-flow { + description + "Interface netflow configuration"; + container data-link-frame-section { + description + "Configure datalinkframesection netflow"; + uses FLOW-MONITOR-MAP; + } + container mpls { + description + "Configure MPLS netflow"; + uses FLOW-MONITOR-MAP; + } + container ipv6 { + description + "Configure IPv6 netflow"; + uses FLOW-MONITOR-MAP; + } + container ipv4 { + description + "Configure IPv4 netflow"; + uses FLOW-MONITOR-MAP; + } + } + } + container net-flow { + description + "NetFlow Configuration"; + container flow-exporter-maps { + description + "Configure a flow exporter map"; + list flow-exporter-map { + key "exporter-map-name"; + description + "Exporter map name"; + container udp { + description + "Use UDP as transport protocol"; + leaf destination-port { + type uint32 { + range "1024..65535"; + } + description + "Configure Destination UDP port"; + } + } + container destination { + description + "Configure export destination (collector)"; + leaf ip-address { + type inet:ipv4-address-no-zone; + description + "Destination IPv4 address"; + } + leaf ipv6-address { + type string; + description + "IPV6 address of the tunnel destination"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + } + container version { + description + "Specify export version parameters"; + container options { + description + "Specify options for exporting templates"; + leaf interface-table-export-timeout { + type Nf-export-timeout; + units "second"; + description + "Specify timeout for exporting interface + table"; + } + leaf sampler-table-export-timeout { + type Nf-export-timeout; + units "second"; + description + "Specify timeout for exporting sampler table"; + } + leaf vrf-table-export-timeout { + type Nf-export-timeout; + units "second"; + description + "Specify timeout for exporting vrf table"; + } + } + leaf version-type { + type Nf-export-version; + description + "Export version number"; + } + leaf options-template-timeout { + type Nf-template-timeout; + units "second"; + default "1800"; + description + "Option template configuration options"; + } + leaf common-template-timeout { + type Nf-template-timeout; + units "second"; + default "1800"; + description + "Specify custom timeout for the template"; + } + leaf data-template-timeout { + type Nf-template-timeout; + units "second"; + default "1800"; + description + "Data template configuration options"; + } + } + leaf source-interface { + type xr:Interface-name; + description + "Configure source interface for collector"; + } + leaf dscp { + type uint32 { + range "0..63"; + } + description + "Specify DSCP value for export packets"; + } + leaf packet-length { + type uint32 { + range "512..1468"; + } + description + "Configure Maximum Value for Export Packet size"; + } + leaf exporter-map-name { + type Nf-map-name; + description + "Exporter map name"; + } + } + } + container flow-sampler-maps { + description + "Flow sampler map configuration"; + list flow-sampler-map { + key "sampler-map-name"; + description + "Sampler map name"; + container sampling-modes { + description + "Configure packet sampling mode"; + list sampling-mode { + key "mode"; + description + "Configure sampling mode"; + leaf mode { + type Nf-sampling-mode; + description + "Sampling mode"; + } + leaf sample-number { + type Nf-sample-number; + mandatory true; + description + "Number of packets to be sampled in the + sampling interval"; + } + leaf interval { + type Nf-sample-interval; + mandatory true; + description + "Sampling interval in units of packets"; + } + } + } + leaf sampler-map-name { + type Nf-map-name; + description + "Sampler map name"; + } + } + } + container flow-monitor-map-table { + description + "Flow monitor map configuration"; + uses NETFLOW-CFG-FLOW-MONITOR-MAP; + } + container flow-monitor-map-performance-table { + description + "Configure a performance traffic flow monitor map"; + uses NETFLOW-CFG-FLOW-MONITOR-MAP; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cfg.yang new file mode 100644 index 0000000..36f35a6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cfg.yang @@ -0,0 +1,193 @@ +module Cisco-IOS-XR-tty-management-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cfg"; + prefix tty-management-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-tty-management-datatypes { + prefix dt1; + } + import Cisco-IOS-XR-tty-server-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-management package configuration. + + This YANG module augments the + Cisco-IOS-XR-tty-server-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-09-25 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:tty/a1:tty-lines/a1:tty-line" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-tty-server-cfg'"; + container connection { + description + "Management connection configuration"; + container transport-input { + description + "Protocols to use when connecting to the + terminal server"; + leaf select { + type dt1:Tty-transport-protocol-select; + default "all"; + description + "Choose transport protocols"; + } + leaf protocol1 { + when "../select = 'some'" { + description + "../Select = 2"; + } + type dt1:Tty-transport-protocol; + description + "Transport protocol1"; + } + leaf protocol2 { + when "../select = 'some'" { + description + "../Select = 2"; + } + type dt1:Tty-transport-protocol; + description + "Transport protocol2"; + } + leaf none { + type int32; + description + "Not used"; + } + } + container transport-output { + presence "Indicates a transport-output node is configured."; + description + "Protocols to use for outgoing connections"; + leaf select { + type dt1:Tty-transport-protocol-select; + mandatory true; + description + "Choose transport protocols"; + } + leaf protocol1 { + type dt1:Tty-transport-protocol; + description + "Transport protocol1"; + } + leaf protocol2 { + type dt1:Tty-transport-protocol; + description + "Transport protocol2"; + } + leaf none { + type int32; + description + "Not used"; + } + } + container session-timeout { + presence "Indicates a session-timeout node is configured."; + description + "Interval for closing connection when there is + no input traffic"; + leaf timeout { + type uint32 { + range "0..35791"; + } + mandatory true; + description + "Session timeout interval in minutes"; + } + leaf direction { + type dt1:Tty-session-timeout-direction; + mandatory true; + description + "Include output traffic as well as input + traffic"; + } + } + leaf disconnect-character { + type xr:Char-num; + description + "Disconnect character's decimal equivalent value + or Character "; + } + leaf acl-in { + type string; + description + "ACL to filter ingoing connections"; + } + leaf acl-out { + type string; + description + "ACL to filter outgoing connections"; + } + leaf cli-white-space-completion { + type empty; + description + "Command completion on whitespace"; + } + leaf session-limit { + type uint32 { + range "0..20"; + } + default "6"; + description + "The number of outgoing connections"; + } + leaf escape-character { + type xr:Tty-escape-char-num; + default "30"; + description + "Escape character or ASCII decimal equivalent + value orspecial strings NONE,DEFAULT,BREAK"; + } + leaf transport-preferred { + type dt1:Tty-transport-protocol; + description + "The preferred protocol to use"; + } + } + } + augment "/a1:tty/a1:tty-lines/a1:tty-line" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-tty-server-cfg'"; + container exec-mode { + description + "Exec Mode Pager configurtion"; + leaf pager { + type dt1:Tty-pager; + default "more"; + description + "Preferred Paging Utility"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang new file mode 100644 index 0000000..5fae2d3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper-sub1.yang @@ -0,0 +1,64 @@ +submodule Cisco-IOS-XR-tty-management-cmd-oper-sub1 { + belongs-to Cisco-IOS-XR-tty-management-cmd-oper { + prefix Cisco-IOS-XR-tty-management-cmd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-management-cmd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping SHOWUSERS-ENTRY { + description + " Per Line Information"; + leaf line { + type string; + description + "Line Number"; + } + leaf user { + type string; + description + "User Name"; + } + leaf service { + type string; + description + "Service Name"; + } + leaf conns { + type string; + description + "No. of Connections"; + } + leaf idle-string { + type string; + description + "Idle Time"; + } + leaf location { + type string; + description + "location"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper.yang new file mode 100644 index 0000000..9fe5101 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-cmd-oper.yang @@ -0,0 +1,57 @@ +module Cisco-IOS-XR-tty-management-cmd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-cmd-oper"; + prefix tty-management-cmd-oper; + + include Cisco-IOS-XR-tty-management-cmd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-management-cmd package operational data. + + This module contains definitions + for the following management objects: + show-users: Show users statistics + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container show-users { + config false; + description + "Show users statistics"; + container sessions { + description + "Show users statistics"; + list session { + key "session-id"; + description + "Show users statistics"; + leaf session-id { + type int32; + description + "Session Id"; + } + uses SHOWUSERS-ENTRY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-datatypes.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-datatypes.yang new file mode 100644 index 0000000..82fcc14 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-datatypes.yang @@ -0,0 +1,138 @@ +module Cisco-IOS-XR-tty-management-datatypes { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-datatypes"; + prefix tty-management-datatypes; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of generally useful + derived YANG data types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Tty-pager { + type enumeration { + enum "more" { + value 1; + description + "More paging Utility"; + } + enum "less" { + value 2; + description + "Less paging Utility"; + } + enum "none" { + value 3; + description + "No Paging Utility"; + } + } + description + "Tty pager"; + } + + typedef Tty-escape-char { + type union { + type enumeration { + enum "break" { + value 257; + description + "Cause escape on BREAK"; + } + enum "default" { + value 30; + description + "Use default escape character"; + } + enum "none" { + value 256; + description + "Disable escape entirely"; + } + } + type uint32 { + range "0..257"; + } + } + description + "Tty escape char"; + } + + typedef Tty-transport-protocol-select { + type enumeration { + enum "none" { + value 0; + description + "No protocols"; + } + enum "all" { + value 1; + description + "All protocols"; + } + enum "some" { + value 2; + description + "Some Protocol"; + } + } + description + "Tty transport protocol select"; + } + + typedef Tty-session-timeout-direction { + type enumeration { + enum "in" { + value 1; + description + "Input traffic"; + } + enum "in-out" { + value 3; + description + "In & Output traffic"; + } + } + description + "Tty session timeout direction"; + } + + typedef Tty-transport-protocol { + type enumeration { + enum "none" { + value 0; + description + "No protocols"; + } + enum "telnet" { + value 1; + description + "TCP/IP Telnet protocol"; + } + enum "ssh" { + value 3; + description + "Unix ssh protocol"; + } + } + description + "Tty transport protocol"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper-sub1.yang new file mode 100644 index 0000000..40ab8fe --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper-sub1.yang @@ -0,0 +1,166 @@ +submodule Cisco-IOS-XR-tty-management-oper-sub1 { + belongs-to Cisco-IOS-XR-tty-management-oper { + prefix Cisco-IOS-XR-tty-management-oper; + } + + import ietf-inet-types { + prefix inet; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-management package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + identity Host-af-id-base { + description + "Base identity for Host-af-id"; + } + + identity ipv4 { + base Host-af-id-base; + description + "IPv4 family"; + } + + identity ipv6 { + base Host-af-id-base; + description + "IPv6 family"; + } + + typedef Transport-service { + type enumeration { + enum "unknown" { + description + "Unknown service"; + } + enum "telnet" { + description + "Telnet"; + } + enum "rlogin" { + description + "Remote login"; + } + enum "ssh" { + description + "SSH"; + } + } + description + "Transport service protocol"; + } + + typedef Ipv6-address { + type inet:ipv6-address; + description + "Ipv6 address"; + } + + typedef Host-af-id { + type identityref { + base Host-af-id-base; + } + description + "Host address family types"; + } + + grouping IP-ADDR-T-UNION { + description + "IP ADDR T UNION"; + leaf af-name { + type Host-af-id; + description + "AFName"; + } + leaf ipv4-address { + when "../af-name = 'ipv4'" { + description + "../AFName = 'IPv4'"; + } + type inet:ipv4-address; + description + "IPv4 address"; + } + leaf ipv6-address { + when "../af-name = 'ipv6'" { + description + "../AFName = 'IPv6'"; + } + type Ipv6-address; + description + "IPv6 address"; + } + } + + grouping SUSPENDED-SESSIONS { + description + "Outgoing session information"; + container host-address { + description + "Host address"; + uses IP-ADDR-T-UNION; + } + leaf connection-id { + type uint8; + description + "Connection ID [1-20]"; + } + leaf host-name { + type string; + description + "Host name"; + } + leaf transport-protocol { + type Transport-service; + description + "Session transport protocol"; + } + leaf is-last-active-session { + type boolean; + description + "True indicates last active session"; + } + leaf idle-time { + type uint32; + units "second"; + description + "Elapsed time since session was suspended (in + seconds)"; + } + } + + grouping CONN-OUT-TABLE-BAG { + description + "All outgoing sessions"; + list outgoing-connection { + description + "List of outgoing sessions"; + uses SUSPENDED-SESSIONS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper.yang new file mode 100644 index 0000000..97251f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-management-oper.yang @@ -0,0 +1,54 @@ +module Cisco-IOS-XR-tty-management-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-management-oper"; + prefix tty-management-oper; + + import Cisco-IOS-XR-tty-server-oper { + prefix a1; + } + include Cisco-IOS-XR-tty-management-oper-sub1 { + revision-date 2017-05-01; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-management package operational data. + + This YANG module augments the + Cisco-IOS-XR-tty-server-oper + module with state data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + augment "/a1:tty/a1:vty-lines/a1:vty-line" { + description + "This augment extends the operational data of + 'Cisco-IOS-XR-tty-server-oper'"; + container sessions { + description + "Outgoing sessions"; + uses CONN-OUT-TABLE-BAG; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-cfg.yang new file mode 100644 index 0000000..a0273e1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-cfg.yang @@ -0,0 +1,223 @@ +module Cisco-IOS-XR-tty-server-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg"; + prefix tty-server-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-server package configuration. + + This module contains definitions + for the following management objects: + tty: TTY Line Configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container tty { + description + "TTY Line Configuration"; + container tty-lines { + description + "TTY templates"; + list tty-line { + key "name"; + description + "TTY Line,Use string 'console' to configure a + console line,Use string 'default' to configure + a default line,Use any string to configure a + user defined template"; + container general { + description + "TTY line general configuration"; + leaf length { + type uint32 { + range "0..512"; + } + default "24"; + description + "Number of lines on a screen."; + } + leaf absolute-timeout { + type uint32 { + range "0..10000"; + } + units "minute"; + default "0"; + description + "Absolute timeout for line disconnection"; + } + leaf width { + type uint32 { + range "0..512"; + } + default "80"; + description + "Number of characters on a screen line."; + } + } + container telnet { + description + "Telnet protocol-specific configuration"; + leaf transparent { + type empty; + description + "Send a CR as a CR followed by a NULL instead + of a CRfollowed by a LF"; + } + } + container aaa { + description + "Container class for AAA related TTY + configuration"; + container user-groups { + description + "Users characteristics"; + list user-group { + key "name"; + description + "Group to which the user will belong"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "Name of the group"; + } + leaf category { + type string; + mandatory true; + description + "Specify as 'root-system' for root-system + group and 'other' for remaining groups"; + } + } + } + container authorization { + description + "Authorization parameters"; + leaf exec { + type string; + description + "For starting an exec (shell)"; + } + leaf event-manager { + type string; + description + "Specify 'default' or use an authorization + list with this name"; + } + leaf commands { + type string; + description + "For exec (shell) configuration"; + } + } + container authentication { + description + "Authentication parameters"; + leaf login { + type string; + description + "Authentication list name"; + } + } + container accounting { + description + "Accounting parameters"; + leaf exec { + type string; + description + "For starting an exec (shell)"; + } + leaf commands { + type string; + description + "For exec (shell) configuration"; + } + } + leaf login-timeout { + type uint32 { + range "0..300"; + } + units "second"; + default "30"; + description + "Timeouts for any user input during login + sequence"; + } + leaf secret { + type xr:Md5-password; + description + "Configure a secure one way encrypted password"; + } + leaf password { + type xr:Md5-password; + description + "Configure the password for the user"; + } + } + container exec { + description + "EXEC timeout and timestamp configurtion"; + container timeout { + presence "Indicates a timeout node is configured."; + description + "EXEC Timeout"; + leaf minutes { + type uint32 { + range "0..35791"; + } + units "minute"; + mandatory true; + description + "Timeout in minutes"; + } + leaf seconds { + type uint32 { + range "0..2147483"; + } + units "second"; + mandatory true; + description + "Timeout in seconds"; + } + } + leaf time-stamp { + type boolean; + description + "'True' to Enable & 'False' to Disable time + stamp"; + } + } + leaf name { + type xr:Cisco-ios-xr-string; + description + "Name of the template"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub1.yang new file mode 100644 index 0000000..371a99d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub1.yang @@ -0,0 +1,55 @@ +submodule Cisco-IOS-XR-tty-server-oper-sub1 { + belongs-to Cisco-IOS-XR-tty-server-oper { + prefix Cisco-IOS-XR-tty-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping TTY-CONNECTION-STATS { + description + "TTY connection statistics"; + leaf incoming-host-address { + type string { + length "0..46"; + } + description + "Incoming host address(max)"; + } + leaf host-address-family { + type uint32; + description + "Incoming host address family"; + } + leaf service { + type uint32; + description + "Input transport"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub2.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub2.yang new file mode 100644 index 0000000..2c06217 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub2.yang @@ -0,0 +1,43 @@ +submodule Cisco-IOS-XR-tty-server-oper-sub2 { + belongs-to Cisco-IOS-XR-tty-server-oper { + prefix Cisco-IOS-XR-tty-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping TTY-AAA-STATS { + description + "AAA statistics"; + leaf user-name { + type string; + description + "The authenticated username"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub3.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub3.yang new file mode 100644 index 0000000..195cb97 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub3.yang @@ -0,0 +1,43 @@ +submodule Cisco-IOS-XR-tty-server-oper-sub3 { + belongs-to Cisco-IOS-XR-tty-server-oper { + prefix Cisco-IOS-XR-tty-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping TTY-EXEC-PROP-STATS { + description + "exec_prop statistics"; + leaf time-stamp-enabled { + type boolean; + description + "Specifies whether timestamp is enabled or not"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub4.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub4.yang new file mode 100644 index 0000000..56f59f8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub4.yang @@ -0,0 +1,93 @@ +submodule Cisco-IOS-XR-tty-server-oper-sub4 { + belongs-to Cisco-IOS-XR-tty-server-oper { + prefix Cisco-IOS-XR-tty-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping TTY-GENERAL-STATS { + description + "TTY Server general statistics"; + leaf terminal-length { + type uint32; + description + "Terminal length"; + } + leaf terminal-width { + type uint32; + description + "Line width"; + } + leaf async-interface { + type boolean; + description + "Usable as async interface"; + } + leaf flow-control-start-character { + type int8; + description + "Software flow control start char"; + } + leaf flow-control-stop-character { + type int8; + description + "Software flow control stop char"; + } + leaf domain-lookup-enabled { + type boolean; + description + "DNS resolution enabled"; + } + leaf motd-banner-enabled { + type boolean; + description + "MOTD banner enabled"; + } + leaf private-flag { + type boolean; + description + "TTY private flag"; + } + leaf terminal-type { + type string; + description + "Terminal type"; + } + leaf absolute-timeout { + type uint32; + description + "Absolute timeout period"; + } + leaf idle-time { + type uint32; + description + "TTY idle time"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub5.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub5.yang new file mode 100644 index 0000000..c4b55f3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper-sub5.yang @@ -0,0 +1,86 @@ +submodule Cisco-IOS-XR-tty-server-oper-sub5 { + belongs-to Cisco-IOS-XR-tty-server-oper { + prefix Cisco-IOS-XR-tty-server-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + grouping TTY-RS232-STATS { + description + "RS232 TTY statistics"; + leaf data-bits { + type uint32; + units "bit"; + description + "Number of databits"; + } + leaf exec-disabled { + type boolean; + description + "Exec disabled on TTY"; + } + leaf hardware-flow-control-status { + type uint32; + description + "Hardware flow control status"; + } + leaf parity-status { + type uint32; + description + "Parity status"; + } + leaf baud-rate { + type uint32; + units "bit/s"; + description + "Inbound/Outbound baud rate in bps"; + } + leaf stop-bits { + type uint32; + units "bit"; + description + "Number of stopbits"; + } + leaf overrun-error-count { + type uint32; + description + "Overrun error count"; + } + leaf framing-error-count { + type uint32; + description + "Framing error count"; + } + leaf parity-error-count { + type uint32; + description + "Parity error count"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper.yang new file mode 100644 index 0000000..24c6d1f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-server-oper.yang @@ -0,0 +1,338 @@ +module Cisco-IOS-XR-tty-server-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper"; + prefix tty-server-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-tty-management-datatypes { + prefix dt1; + } + include Cisco-IOS-XR-tty-server-oper-sub5 { + revision-date 2015-07-30; + } + include Cisco-IOS-XR-tty-server-oper-sub4 { + revision-date 2015-07-30; + } + include Cisco-IOS-XR-tty-server-oper-sub3 { + revision-date 2015-07-30; + } + include Cisco-IOS-XR-tty-server-oper-sub2 { + revision-date 2015-07-30; + } + include Cisco-IOS-XR-tty-server-oper-sub1 { + revision-date 2015-07-30; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-server package operational data. + + This module contains definitions + for the following management objects: + tty: TTY Line Configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-07-30 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + typedef Line-state { + type enumeration { + enum "none" { + value 0; + description + "Line not connected"; + } + enum "registered" { + value 1; + description + "Line registered"; + } + enum "in-use" { + value 2; + description + "Line active and in use"; + } + } + description + "Line state"; + } + + typedef Session-operation { + type enumeration { + enum "none" { + value 0; + description + "No sessions on the line"; + } + enum "setup" { + value 1; + description + "Session getting set up"; + } + enum "shell" { + value 2; + description + "Session active with a shell"; + } + enum "transitioning" { + value 3; + description + "Session in transitioning phase"; + } + enum "packet" { + value 4; + description + "Session ready to receive packets"; + } + } + description + "Session operation"; + } + + grouping STATE { + description + "Common node of console-line, vty-line, + auxiliary-line"; + container state { + description + "Line state information"; + container template { + description + "Information related to template applied to the + line"; + leaf name { + type string; + description + "Name of the template"; + } + } + container general { + description + "General information"; + leaf operation { + type Session-operation; + description + "application running of on the tty line"; + } + leaf general-state { + type Line-state; + description + "State of the line"; + } + } + } + } + + grouping GENERAL-STATISTICS { + description + "Common node of console-statistics, vty-statistics + , auxiliary-statistics"; + container general-statistics { + description + "General statistics of line"; + uses TTY-GENERAL-STATS; + } + } + + grouping AAA { + description + "Common node of console-statistics, vty-statistics + , auxiliary-statistics"; + container aaa { + description + "AAA related statistics"; + uses TTY-AAA-STATS; + } + } + + grouping RS232 { + description + "Common node of console-statistics, + auxiliary-statistics"; + container rs232 { + description + "RS232 statistics of console line"; + uses TTY-RS232-STATS; + } + } + + grouping EXEC { + description + "Common node of console-statistics, vty-statistics + , auxiliary-statistics"; + container exec { + description + "Exec related statistics"; + uses TTY-EXEC-PROP-STATS; + } + } + + grouping CONFIGURATION { + description + "Common node of console-line, vty-line, + auxiliary-line"; + container configuration { + description + "Configuration information of the line"; + container connection-configuration { + description + "Conection configuration information"; + container transport-input { + description + "Protocols to use when connecting to the + terminal server"; + leaf select { + type dt1:Tty-transport-protocol-select; + default "all"; + description + "Choose transport protocols"; + } + leaf protocol1 { + when "../select = 'some'" { + description + "../Select = 2"; + } + type dt1:Tty-transport-protocol; + description + "Transport protocol1"; + } + leaf protocol2 { + when "../select = 'some'" { + description + "../Select = 2"; + } + type dt1:Tty-transport-protocol; + description + "Transport protocol2"; + } + leaf none { + type int32; + description + "Not used"; + } + } + leaf acl-out { + type string; + description + "ACL for outbound traffic"; + } + leaf acl-in { + type string; + description + "ACL for inbound traffic"; + } + } + } + } + + container tty { + config false; + description + "TTY Line Configuration"; + container console-nodes { + description + "List of Nodes for console"; + list console-node { + key "id"; + description + "Console line configuration on a node"; + container console-line { + description + "Console line"; + container console-statistics { + description + "Statistics of the console line"; + uses RS232; + uses GENERAL-STATISTICS; + uses EXEC; + uses AAA; + } + uses STATE; + uses CONFIGURATION; + } + leaf id { + type xr:Node-id; + description + "Node ID"; + } + } + } + container vty-lines { + description + "List of VTY lines"; + list vty-line { + key "line-number"; + description + "VTY Line"; + container vty-statistics { + description + "Statistics of the VTY line"; + container connection { + description + "Connection related statistics"; + uses TTY-CONNECTION-STATS; + } + uses GENERAL-STATISTICS; + uses EXEC; + uses AAA; + } + leaf line-number { + type int32; + description + "VTY Line number"; + } + uses STATE; + uses CONFIGURATION; + } + } + container auxiliary-nodes { + description + "List of Nodes attached with an auxiliary line"; + list auxiliary-node { + key "id"; + description + "Line configuration on a node"; + container auxiliary-line { + description + "Auxiliary line"; + container auxiliary-statistics { + description + "Statistics of the auxiliary line"; + uses RS232; + uses GENERAL-STATISTICS; + uses EXEC; + uses AAA; + } + uses STATE; + uses CONFIGURATION; + } + leaf id { + type xr:Node-id; + description + "Node ID"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-vty-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-vty-cfg.yang new file mode 100644 index 0000000..bc0f564 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tty-vty-cfg.yang @@ -0,0 +1,88 @@ +module Cisco-IOS-XR-tty-vty-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-vty-cfg"; + prefix tty-vty-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tty-vty package configuration. + + This module contains definitions + for the following management objects: + vty: VTY Pools configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-09-16 { + description + "Descriptions updated."; + } + revision 2015-01-07 { + description + "IOS XR 5.3.1 revision."; + } + + container vty { + description + "VTY Pools configuration"; + container vty-pools { + description + "List of VTY Pools"; + list vty-pool { + key "pool-name"; + description + "VTY Pool"; + leaf pool-name { + type xr:Cisco-ios-xr-string; + description + "For configuring range for default pool use + 'default',For configuring range for + fault-manager pool use 'fm',For configuring + range for any user defined pool use any other + string"; + } + leaf first-vty { + type int32; + mandatory true; + description + "First VTY number,For default VTY use 0,For + user-defined use 5,For fault-manager use 100"; + } + leaf last-vty { + type int32; + mandatory true; + description + "Last VTY number,For default configure between + 0-99,For user-defined configure between 5-99 + ,For fault-manager configure between 100-199"; + } + leaf line-template { + type string; + description + "Name of line template"; + } + leaf none { + type string; + description + "Empty Option"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-gre-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-gre-cfg.yang new file mode 100644 index 0000000..79d3690 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-gre-cfg.yang @@ -0,0 +1,217 @@ +module Cisco-IOS-XR-tunnel-gre-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg"; + prefix tunnel-gre-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-gre package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-01 { + description + "Fixing backward compatibility error in module."; + } + revision 2016-05-25 { + description + "Initial version"; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Tunnel-mode-direction { + type enumeration { + enum "decap" { + value 1; + description + "Decap-only tunnel"; + } + enum "encap" { + value 2; + description + "Encap-only tunnel"; + } + } + description + "Tunnel mode direction"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container tunnel-ip { + description + "IP over GRE encapsulation"; + container mode { + description + "Tunnel encapsulation method"; + leaf value { + type int32; + description + "GRE IPV4 - 1, GRE IPV6 - 2, MGRE IPV4 - 3, + MGRE IPV6 -4. IPV4 - 5, IPV6 - 6"; + } + leaf mode-direction { + type Tunnel-mode-direction; + description + "Tunnel Mode Direction"; + } + } + container source { + description + "Configure source of tunnel"; + leaf type { + type int32; + description + "1 for Interface Name, 2 for IPv4 Address, 3 + for IPv6 Address"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IPV4 address of the tunnel source"; + } + leaf interface-name { + type xr:Interface-name; + description + "Name of tunnel source interface"; + } + leaf ipv6-address { + type string; + description + "IPV6 address of the tunnel source"; + } + } + container key { + description + "Configure the key value for packets sent over + this tunnel"; + leaf entropy { + type empty; + description + "Always set to true"; + } + leaf value { + type uint32 { + range "0..4294967295"; + } + description + "Enter the KEY value"; + } + } + container keepalive { + description + "Enable keepalive packets on this tunnel"; + leaf keep-alive-period { + type uint32 { + range "1..32767"; + } + description + "Keepalive period in seconds (default 10 + seconds)"; + } + leaf keep-alive-retries { + type uint32 { + range "1..255"; + } + description + "Number of retries (default 3)"; + } + } + container destination { + description + "Configure destination of tunnel"; + leaf type { + type int32; + description + "1 for IPv4 Address, 2 for IPv6 Address"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IPV4 address of the tunnel destination"; + } + leaf ipv6-address { + type string; + description + "IPV6 address of the tunnel destination"; + } + leaf address-mask { + type inet:ipv4-address-no-zone; + description + "IPv4 prefix length of the tunnel destination"; + } + leaf prefix-list-name { + type xr:Cisco-ios-xr-string { + length "1..64"; + } + description + "Prefix-list to validate destination's + resolving prefix"; + } + } + leaf allow-key { + type empty; + description + "Enable flag bit to allow packets with GRE key"; + } + leaf ttl { + type uint32 { + range "1..255"; + } + description + "Configure the time-to-live for packets sent + over this tunnel"; + } + leaf tunnel-vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Tunnel vrf label name"; + } + leaf tos { + type uint32 { + range "0..255"; + } + description + "Configure Type of Service bits for this tunnel"; + } + leaf disable { + type int32; + description + "Disable DF bit (i.e. allow fragmentation)"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-cfg.yang new file mode 100644 index 0000000..3b84fe9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-cfg.yang @@ -0,0 +1,283 @@ +module Cisco-IOS-XR-tunnel-l2tun-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-cfg"; + prefix tunnel-l2tun-cfg; + + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-l2tun package configuration. + + This module contains definitions + for the following management objects: + l2tp: L2TPv3 class used for L2VPNs + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef L2tp-no-user { + type uint32 { + range "0..4294967295"; + } + description + "L2tp no user"; + } + + typedef L2tp-hash-method { + type enumeration { + enum "md5" { + value 1; + description + "MD5"; + } + enum "sha1" { + value 2; + description + "SHA1"; + } + enum "none" { + value 3; + description + "None"; + } + } + description + "L2tp hash method"; + } + + typedef L2tp-digest-hash-method { + type enumeration { + enum "md5" { + value 1; + description + "MD5"; + } + enum "sha1" { + value 2; + description + "SHA1"; + } + } + description + "L2tp digest hash method"; + } + + grouping TIMEOUT { + description + "Common node of initial, retransmit"; + container timeout { + description + "Set timeout value range"; + leaf minimum { + type uint32 { + range "1..8"; + } + description + "Specify minimum timeout"; + } + leaf maximum { + type uint32 { + range "1..8"; + } + description + "Specify maximum timeout"; + } + } + } + + container l2tp { + description + "L2TPv3 class used for L2VPNs"; + container classes { + description + "List of classes"; + list class { + key "class-name"; + description + "Configuration for a specific class"; + container security { + description + "Security check"; + container ip { + description + "Security check for IP"; + leaf address-check { + type empty; + description + "Enable IP address check for L2TP packets"; + } + } + } + container retransmit { + description + "Control message retransmission parameters"; + container initial { + description + "Set retries and timeouts for initial"; + leaf retry { + type uint32 { + range "1..1000"; + } + description + "Specify the retry number"; + } + uses TIMEOUT; + } + leaf retry { + type uint32 { + range "5..1000"; + } + description + "Specify retransmit retry count"; + } + uses TIMEOUT; + } + container tunnel { + description + "l2TP tunnel"; + leaf accounting { + type string; + description + "Tunnel accounting"; + } + } + container digest { + description + "Message digest authentication for the L2TP + control connection"; + container secrets { + description + "Set shared secret for message digest"; + list secret { + key "secret-name"; + description + "The encrypted user secret and hash method"; + leaf secret-name { + type xr:Cisco-ios-xr-string; + description + "Specify the encrypted user secret"; + } + leaf hash { + type L2tp-hash-method; + mandatory true; + description + "Specify hash method"; + } + } + } + leaf hash { + type L2tp-digest-hash-method; + description + "Specify hash method"; + } + leaf check-disable { + type empty; + description + "Disable digest checking"; + } + } + container ip { + description + "IP TOS value"; + leaf tos { + type uint32 { + range "0..255"; + } + description + "IP TOS value (decimal)"; + } + } + leaf host-name { + type string; + description + "Local hostname for control connection + authentication"; + } + leaf hidden { + type empty; + description + "Specify to hide AVPs in outgoing control + messages"; + } + leaf hello-interval { + type uint32 { + range "0..1000"; + } + units "second"; + description + "Specify interval (in seconds)"; + } + leaf timeout-setup { + type uint32 { + range "60..6000"; + } + units "second"; + description + "Time permitted to set up a control connection"; + } + leaf receive-window { + type uint32 { + range "1..16384"; + } + units "byte"; + description + "Receive window size for the control connection"; + } + leaf congestion-control { + type empty; + description + "Congestion control enabled"; + } + leaf timeout-no-user { + type L2tp-no-user; + units "second"; + description + "Timeout value for no-user in seconds"; + } + leaf authentication { + type int32; + description + "Authenticate the L2TP control connection"; + } + leaf enable { + type empty; + description + "Enable L2TPv3 class used for L2VPNs"; + } + leaf password { + type xr:Proprietary-password; + description + "Specify the password for control channel + authentication"; + } + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..31"; + } + description + "Specify the class name. Regexp: + ^[a-z0-9A-Z][-_.a-z0-9A-Z]*$"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang new file mode 100644 index 0000000..2c72528 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper-sub1.yang @@ -0,0 +1,1088 @@ +submodule Cisco-IOS-XR-tunnel-l2tun-oper-sub1 { + belongs-to Cisco-IOS-XR-tunnel-l2tun-oper { + prefix Cisco-IOS-XR-tunnel-l2tun-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tunnel-l2tun package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Digest-hash { + type enumeration { + enum "md5" { + description + "MD5"; + } + enum "sha1" { + description + "SHA1"; + } + } + description + "Digest hash types"; + } + + grouping L2TPV2-CC-ACCT-STATS-DATA { + description + "L2TPv2 tunnel accounting statistics"; + leaf records-sent-successfully { + type uint64; + description + "Accounting records sent successfully"; + } + leaf start { + type uint64; + description + "Accounting start"; + } + leaf stop { + type uint64; + description + "Accounting stop"; + } + leaf reject { + type uint64; + description + "Accounting reject"; + } + leaf transport-failures { + type uint64; + description + "Transport failures"; + } + leaf positive-acknowledgement { + type uint64; + description + "Positive acknowledgement"; + } + leaf negative-acknowledgement { + type uint64; + description + "Negative acknowledgement"; + } + leaf records-checkpointed { + type uint64; + description + "Total records checkpointed"; + } + leaf records-failed-to-checkpoint { + type uint64; + description + "Records fail to checkpoint"; + } + leaf records-sent-from-queue { + type uint64; + description + "Records sent from queue"; + } + leaf memory-failures { + type uint32; + description + "Memory failures"; + } + leaf current-size { + type uint32; + description + "Current checkpoint size"; + } + leaf records-recovered-from-checkpoint { + type uint32; + description + "Records recovered from checkpoint"; + } + leaf records-fail-to-recover { + type uint32; + description + "Records fail to recover"; + } + leaf queue-statistics-size { + type int32; + description + "Queue statistics size"; + } + } + + grouping L2TPV2-STATS-DATA { + description + "L2TPv2 statistics"; + leaf tunnels { + type uint32; + description + "Number of tunnels"; + } + leaf sessions { + type uint32; + description + "Number of sessions"; + } + leaf sent-packets { + type uint32; + description + "Number of packets sent"; + } + leaf received-packets { + type uint32; + description + "Number of packets received"; + } + leaf average-packet-processing-time { + type uint32; + units "microsecond"; + description + "Average processing time for received packets + (in micro seconds)"; + } + leaf received-out-of-order-packets { + type uint32; + description + "Out of order packets received"; + } + leaf reorder-packets { + type uint32; + description + "Re order packets"; + } + leaf reorder-deviation-packets { + type uint32; + description + "Re order deviation"; + } + leaf incoming-dropped-packets { + type uint32; + description + "In coming packets dropped"; + } + leaf buffered-packets { + type uint32; + description + "Bufferred packets"; + } + leaf netio-packets { + type uint32; + description + "Packets RX in netio"; + } + } + + grouping L2TP-SESS-FWD-STATS { + description + "L2TP session PD counters"; + leaf remote-session-id { + type uint32; + description + "Remote session ID"; + } + leaf in-packets { + type uint64; + description + "Number of packets sent in"; + } + leaf out-packets { + type uint64; + description + "Number of packets sent out"; + } + leaf in-bytes { + type uint64; + units "byte"; + description + "Number of bytes sent in"; + } + leaf out-bytes { + type uint64; + units "byte"; + description + "Number of bytes sent out"; + } + } + + grouping L2TP-SESSION-ID-HOLD-DB-DATA { + description + "L2TP hold database"; + leaf sessions-on-hold { + type uint32; + description + "Number of session ID in hold database"; + } + } + + grouping L2TP-CTL-MSG-BRIEF-DATA { + description + "L2TP control message brief data"; + leaf remote-tunnel-id { + type uint32; + description + "Remote tunnel ID"; + } + leaf local-address { + type inet:ipv4-address; + description + "Local IP address"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Remote IP address"; + } + } + + grouping L2TP-CTRL-MSG-STATS-DATA { + description + "L2TP control message statistics data"; + container brief { + description + "L2TP control message local and remote addresses"; + uses L2TP-CTL-MSG-BRIEF-DATA; + } + container global { + description + "Global data"; + uses L2TP-CTRL-MSG-STATS-GLOBAL-DATA; + } + } + + grouping L2TP-CTRL-MSG-COUNTS { + description + "L2TP control message counters data"; + leaf unknown-packets { + type uint32; + description + "Unknown packets"; + } + leaf zero-length-body-packets { + type uint32; + description + "Zero length body packets"; + } + leaf start-control-connection-requests { + type uint32; + description + "Start control connection requests"; + } + leaf start-control-connection-replies { + type uint32; + description + "Start control connection replies"; + } + leaf start-control-connection-notifications { + type uint32; + description + "Start control connection notifications"; + } + leaf stop-control-connection-notifications { + type uint32; + description + "Stop control connection notifications"; + } + leaf hello-packets { + type uint32; + description + "Keep alive messages"; + } + leaf outgoing-call-requests { + type uint32; + description + "Outgoing call requests"; + } + leaf outgoing-call-replies { + type uint32; + description + "Outgoing call replies"; + } + leaf outgoing-call-connected-packets { + type uint32; + description + "Outgoing call connected packets"; + } + leaf incoming-call-requests { + type uint32; + description + "Incoming call requests"; + } + leaf incoming-call-replies { + type uint32; + description + "Incoming call replies"; + } + leaf incoming-call-connected-packets { + type uint32; + description + "Incoming call connected packets"; + } + leaf call-disconnect-notify-packets { + type uint32; + description + "Call disconnect notify packets"; + } + leaf wan-error-notify-packets { + type uint32; + description + "WAN error notify packets"; + } + leaf set-link-info-packets { + type uint32; + description + "Set link info packets"; + } + leaf service-relay-requests { + type uint32; + description + "Service relay request counts"; + } + leaf service-relay-replies { + type uint32; + description + "Service relay reply counts"; + } + leaf acknowledgement-packets { + type uint32; + description + "Packets acknowledgement"; + } + } + + grouping L2TP-CTRL-MSG-STATS-GLOBAL-DATA { + description + "L2TP control message global data"; + container transmit { + description + "Transmit data"; + uses L2TP-CTRL-MSG-COUNTS; + } + container retransmit { + description + "Re transmit data"; + uses L2TP-CTRL-MSG-COUNTS; + } + container received { + description + "Received data"; + uses L2TP-CTRL-MSG-COUNTS; + } + container drop { + description + "Drop data"; + uses L2TP-CTRL-MSG-COUNTS; + } + leaf total-transmit { + type uint32; + description + "Total transmit"; + } + leaf total-retransmit { + type uint32; + description + "Total retransmit"; + } + leaf total-received { + type uint32; + description + "Total received"; + } + leaf total-drop { + type uint32; + description + "Total drop"; + } + } + + grouping L2TP-COMMON-DATA { + description + "L2TP common data"; + leaf validate { + type uint32; + description + "Validate"; + } + leaf bad-hash { + type uint32; + description + "Bad hash"; + } + leaf bad-length { + type uint32; + description + "Bad length"; + } + leaf ignored { + type uint32; + description + "Ignored"; + } + leaf missing { + type uint32; + description + "Missing"; + } + leaf passed { + type uint32; + description + "Passed"; + } + leaf failed { + type uint32; + description + "Failed"; + } + leaf skipped { + type uint32; + description + "Skipped"; + } + leaf generate-response-failures { + type uint32; + description + "Generate response fail"; + } + leaf unexpected { + type uint32; + description + "Unexpected"; + } + leaf unexpected-zlb { + type uint32; + description + "Unexpected ZLB"; + } + } + + grouping L2TP-AUTHEN-STATS-DATA { + description + "L2TP authentication statistics"; + container nonce-avp { + description + "Nonce AVP statistics"; + uses L2TP-COMMON-DATA; + } + container common-digest { + description + "Common digest statistics"; + uses L2TP-COMMON-DATA; + } + container primary-digest { + description + "Primary digest statistics"; + uses L2TP-COMMON-DATA; + } + container secondary-digest { + description + "Secondary digest statistics"; + uses L2TP-COMMON-DATA; + } + container integrity-check { + description + "Integrity check statistics"; + uses L2TP-COMMON-DATA; + } + container local-secret { + description + "Local secret statistics"; + uses L2TP-COMMON-DATA; + } + container challenge-avp { + description + "Challenge AVP statistics"; + uses L2TP-COMMON-DATA; + } + container challenge-reponse { + description + "Challenge response statistics"; + uses L2TP-COMMON-DATA; + } + container overall-statistics { + description + "Overall statistics"; + uses L2TP-COMMON-DATA; + } + } + + grouping L2TP-SESSION-VPDN { + description + "VPDN specific session data"; + leaf username { + type string; + description + "Session username"; + } + leaf interface-name { + type xr:Interface-name; + description + "Interface name"; + } + } + + grouping L2TP-SESSION-XCONNECT { + description + "Xconnect specific session data"; + leaf circuit-name { + type string; + description + "Circuit name"; + } + leaf sessionvc-id { + type uint32; + description + "Session VC ID"; + } + leaf is-circuit-state-up { + type boolean; + description + "True if circuit state is up"; + } + leaf is-local-circuit-state-up { + type boolean; + description + "True if local circuit state is up"; + } + leaf is-remote-circuit-state-up { + type boolean; + description + "True if remote circuit state is up"; + } + leaf ipv6-protocol-tunneling { + type boolean; + description + "IPv6ProtocolTunneling"; + } + } + + grouping SESSION-APP { + description + "Session application data"; + container xconnect { + when "../l2tp-sh-sess-app-type = '4'" { + description + "../l2tp_sh_sess_app_type = '4'"; + } + description + "Xconnect data"; + uses L2TP-SESSION-XCONNECT; + } + container vpdn { + when "../l2tp-sh-sess-app-type = '2'" { + description + "../l2tp_sh_sess_app_type = '2'"; + } + description + "VPDN data"; + uses L2TP-SESSION-VPDN; + } + leaf l2tp-sh-sess-app-type { + type uint32; + description + "l2tp sh sess app type"; + } + } + + grouping L2TP-SESSION-INFO { + description + "L2TP session information"; + container session-application-data { + description + "Session application data"; + uses SESSION-APP; + } + leaf local-ip-address { + type inet:ipv4-address; + description + "Local session IP address"; + } + leaf remote-ip-address { + type inet:ipv4-address; + description + "Remote session IP address"; + } + leaf l2tp-sh-sess-udp-lport { + type uint16; + description + "l2tp sh sess udp lport"; + } + leaf l2tp-sh-sess-udp-rport { + type uint16; + description + "l2tp sh sess udp rport"; + } + leaf protocol { + type uint8; + description + "Protocol"; + } + leaf remote-tunnel-id { + type uint32; + description + "Remote tunnel ID"; + } + leaf call-serial-number { + type uint32; + description + "Call serial number"; + } + leaf local-tunnel-name { + type string { + length "0..256"; + } + description + "Local tunnel name"; + } + leaf remote-tunnel-name { + type string { + length "0..256"; + } + description + "Remote tunnel name"; + } + leaf remote-session-id { + type uint32; + description + "Remote session ID"; + } + leaf l2tp-sh-sess-tie-breaker-enabled { + type uint8; + description + "l2tp sh sess tie breaker enabled"; + } + leaf l2tp-sh-sess-tie-breaker { + type uint64; + description + "l2tp sh sess tie breaker"; + } + leaf is-session-manual { + type boolean; + description + "True if session is manual"; + } + leaf is-session-up { + type boolean; + description + "True if session is up"; + } + leaf is-udp-checksum-enabled { + type boolean; + description + "True if UDP checksum enabled"; + } + leaf is-sequencing-on { + type boolean; + description + "True if session sequence is on"; + } + leaf is-session-state-established { + type boolean; + description + "True if session state is established"; + } + leaf is-session-locally-initiated { + type boolean; + description + "True if session initiated locally"; + } + leaf is-conditional-debug-enabled { + type boolean; + description + "True if conditional debugging is enabled"; + } + leaf unique-id { + type uint32; + description + "Unique ID"; + } + leaf interface-name { + type string { + length "0..256"; + } + description + "Interface name"; + } + } + + grouping L2TP-CC-INFO { + description + "L2TP tunnel information"; + leaf local-address { + type inet:ipv4-address; + description + "Local tunnel address"; + } + leaf remote-address { + type inet:ipv4-address; + description + "Remote tunnel address"; + } + leaf local-port { + type uint16; + description + "Local port"; + } + leaf remote-port { + type uint16; + description + "Remote port"; + } + leaf protocol { + type uint8; + description + "Protocol"; + } + leaf is-pmtu-enabled { + type boolean; + description + "True if tunnel PMTU checking is enabled"; + } + leaf remote-tunnel-id { + type uint32; + description + "Remote tunnel ID"; + } + leaf local-tunnel-name { + type string { + length "0..256"; + } + description + "Local tunnel name"; + } + leaf remote-tunnel-name { + type string { + length "0..256"; + } + description + "Remote tunnel name"; + } + leaf class-name { + type string { + length "0..256"; + } + description + "L2TP class name"; + } + leaf active-sessions { + type uint32; + description + "Number of active sessions"; + } + leaf sequence-ns { + type uint16; + description + "Sequence NS"; + } + leaf sequence-nr { + type uint16; + description + "Sequence NR"; + } + leaf local-window-size { + type uint16; + description + "Local window size"; + } + leaf remote-window-size { + type uint16; + description + "Remote window size"; + } + leaf retransmission-time { + type uint16; + units "second"; + description + "Retransmission time in seconds"; + } + leaf maximum-retransmission-time { + type uint16; + units "second"; + description + "Maximum retransmission time in seconds"; + } + leaf unsent-queue-size { + type uint16; + description + "Unsent queue size"; + } + leaf unsent-maximum-queue-size { + type uint16; + description + "Unsent maximum queue size"; + } + leaf resend-queue-size { + type uint16; + description + "Resend queue size"; + } + leaf resend-maximum-queue-size { + type uint16; + description + "Resend maximum queue size"; + } + leaf order-queue-size { + type uint16; + description + "Order queue size"; + } + leaf packet-queue-check { + type uint16; + description + "Current number session packet queue check"; + } + leaf digest-secrets { + type uint16; + description + "Control message authentication with digest + secrets"; + } + leaf resends { + type uint32; + description + "Total resends"; + } + leaf zero-length-body-acknowledgement-sent { + type uint32; + description + "Total zero length body acknowledgement"; + } + leaf total-out-of-order-drop-packets { + type uint32; + description + "Total out of order dropped packets"; + } + leaf total-out-of-order-reorder-packets { + type uint32; + description + "Total out of order reorder packets"; + } + leaf total-peer-authentication-failures { + type uint32; + description + "Number of peer authentication failures"; + } + leaf is-tunnel-up { + type boolean; + description + "True if tunnel is up"; + } + leaf is-congestion-control-enabled { + type boolean; + description + "True if congestion control is enabled else false"; + } + leaf-list retransmit-time { + type uint16; + units "second"; + max-elements "9"; + description + "Retransmit time distribution in seconds"; + } + } + + grouping L2TP-HIST-FAIL-STATS-BAG-DATA { + description + "L2TP history failure stats in either TX or RX + direction"; + leaf sess-down-tmout { + type uint32; + description + "sesions affected due to timeout"; + } + leaf tx-counters { + type yang:hex-string; + description + "Send side counters"; + } + leaf rx-counters { + type yang:hex-string; + description + "Receive side counters"; + } + leaf-list pkt-timeout { + type uint32; + max-elements "24"; + description + "timeout events by packet"; + } + } + + grouping L2TP-CC-CLASS-DATA { + description + "L2TP class"; + leaf ip-tos { + type uint8; + description + "IP TOS"; + } + leaf vrf-name { + type string { + length "0..256"; + } + description + "VRF name"; + } + leaf receive-window-size { + type uint16; + description + "Receive window size"; + } + leaf class-name-xr { + type string { + length "0..256"; + } + description + "Class name"; + } + leaf digest-hash { + type Digest-hash; + description + "Hash configured as MD5 or SHA1"; + } + leaf password { + type string { + length "0..25"; + } + description + "Password"; + } + leaf encoded-password { + type string { + length "0..256"; + } + description + "Encoded password"; + } + leaf host-name { + type string { + length "0..256"; + } + description + "Host name"; + } + leaf accounting-method-list { + type string { + length "0..256"; + } + description + "Accounting List"; + } + leaf hello-timeout { + type uint32; + units "second"; + description + "Hello timeout value in seconds"; + } + leaf setup-timeout { + type uint32; + units "second"; + description + "Timeout setup value in seconds"; + } + leaf retransmit-minimum-timeout { + type uint32; + units "second"; + description + "Retransmit minimum timeout in seconds"; + } + leaf retransmit-maximum-timeout { + type uint32; + units "second"; + description + "Retransmit maximum timeout in seconds"; + } + leaf initial-retransmit-minimum-timeout { + type uint32; + units "second"; + description + "Initial timeout minimum in seconds"; + } + leaf initial-retransmit-maximum-timeout { + type uint32; + units "second"; + description + "Initial timeout maximum in seconds"; + } + leaf timeout-no-user { + type uint32; + description + "Timeout no user"; + } + leaf retransmit-retries { + type uint32; + description + "Retransmit retries"; + } + leaf initial-retransmit-retries { + type uint32; + description + "Initial retransmit retries"; + } + leaf is-authentication-enabled { + type boolean; + description + "True if authentication is enabled"; + } + leaf is-hidden { + type boolean; + description + "True if class is hidden"; + } + leaf is-digest-enabled { + type boolean; + description + "True if digest authentication is enabled"; + } + leaf is-digest-check-enabled { + type boolean; + description + "True if digest check is enabled"; + } + leaf is-congestion-control-enabled { + type boolean; + description + "True if congestion control is enabled"; + } + leaf is-peer-address-checked { + type boolean; + description + "True if peer address is checked"; + } + } + + grouping L2TP-CC-CFG-DATA { + description + "L2TP tunnel configuration"; + container l2tp-class { + description + "L2Tp class data"; + uses L2TP-CC-CLASS-DATA; + } + leaf remote-tunnel-id { + type uint32; + description + "Remote tunnel ID"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper.yang new file mode 100644 index 0000000..5bc9e7b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-oper.yang @@ -0,0 +1,264 @@ +module Cisco-IOS-XR-tunnel-l2tun-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper"; + prefix tunnel-l2tun-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-tunnel-l2tun-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-l2tun package operational data. + + This module contains definitions + for the following management objects: + l2tp: L2TP operational data + l2tpv2: l2tpv2 + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping CONTROL { + description + "Common node of counters, counters"; + container control { + description + "L2TP control messages counters"; + container tunnel-xr { + description + "L2TP control tunnel messages counters"; + container authentication { + description + "Tunnel authentication counters"; + uses L2TP-AUTHEN-STATS-DATA; + } + container global { + description + "Tunnel counters"; + uses L2TP-CTRL-MSG-STATS-GLOBAL-DATA; + } + } + container tunnels { + description + "Table of tunnel IDs of control message counters"; + list tunnel { + key "tunnel-id"; + description + "L2TP tunnel control message counters"; + leaf tunnel-id { + type int32; + description + "L2TP tunnel ID"; + } + uses L2TP-CTRL-MSG-STATS-DATA; + } + } + } + } + + grouping SESSION-TABLE { + description + "Common node of l2tp, l2tpv2"; + container sessions { + description + "List of session IDs"; + list session { + key "local-tunnel-id local-session-id"; + description + "L2TP information for a particular session"; + leaf local-tunnel-id { + type int32; + description + "Local tunnel ID"; + } + leaf local-session-id { + type int32; + description + "Local session ID"; + } + uses L2TP-SESSION-INFO; + } + } + } + + grouping SESSION { + description + "Common node of l2tp, l2tpv2"; + container session { + description + "L2TP control messages counters"; + container unavailable { + description + "L2TP session unavailable information"; + uses L2TP-SESSION-ID-HOLD-DB-DATA; + } + } + } + + grouping TUNNEL-CONFIGURATION-TABLE { + description + "Common node of l2tp, l2tpv2"; + container tunnel-configurations { + description + "List of tunnel IDs"; + list tunnel-configuration { + key "local-tunnel-id"; + description + "L2TP tunnel information"; + leaf local-tunnel-id { + type int32; + description + "Local tunnel ID"; + } + uses L2TP-CC-CFG-DATA; + } + } + } + + grouping TUNNEL-TABLE { + description + "Common node of l2tp, l2tpv2"; + container tunnels { + description + "List of tunnel IDs"; + list tunnel { + key "local-tunnel-id"; + description + "L2TP tunnel information"; + leaf local-tunnel-id { + type int32; + description + "Local tunnel ID"; + } + uses L2TP-CC-INFO; + } + } + } + + grouping COUNTER-HIST-FAIL { + description + "Common node of l2tp, l2tpv2"; + container counter-hist-fail { + description + "Failure events leading to disconnection"; + uses L2TP-HIST-FAIL-STATS-BAG-DATA; + } + } + + grouping CLASS-TABLE { + description + "Common node of l2tp, l2tpv2"; + container classes { + description + "List of L2TP class names"; + list class { + key "class-name"; + description + "L2TP class name"; + leaf class-name { + type xr:Cisco-ios-xr-string { + length "1..31"; + } + description + "L2TP class name"; + } + uses L2TP-CC-CLASS-DATA; + } + } + } + + container l2tp { + config false; + description + "L2TP operational data"; + container counters { + description + "L2TP control messages counters"; + uses CONTROL; + } + uses TUNNEL-CONFIGURATION-TABLE; + uses COUNTER-HIST-FAIL; + uses CLASS-TABLE; + uses TUNNEL-TABLE; + uses SESSION-TABLE; + uses SESSION; + } + container l2tpv2 { + config false; + description + "l2tpv2"; + container counters { + description + "L2TP control messages counters"; + container forwarding { + description + "L2TP forwarding messages counters"; + container sessions { + description + "List of class and session IDs"; + list session { + key "tunnel-id session-id"; + description + "L2TP information for a particular session"; + leaf tunnel-id { + type int32; + description + "Local tunnel ID"; + } + leaf session-id { + type int32; + description + "Local session ID"; + } + uses L2TP-SESS-FWD-STATS; + } + } + } + uses CONTROL; + } + container statistics { + description + "L2TP v2 statistics information"; + uses L2TPV2-STATS-DATA; + } + container tunnel { + description + "L2TPv2 tunnel "; + container accounting { + description + "Tunnel accounting counters"; + container statistics { + description + "Tunnel accounting statistics"; + uses L2TPV2-CC-ACCT-STATS-DATA; + } + } + } + uses TUNNEL-CONFIGURATION-TABLE; + uses COUNTER-HIST-FAIL; + uses CLASS-TABLE; + uses TUNNEL-TABLE; + uses SESSION-TABLE; + uses SESSION; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang new file mode 100644 index 0000000..3a8dfb8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg.yang @@ -0,0 +1,66 @@ +module Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-proto-mibs-cfg"; + prefix tunnel-l2tun-proto-mibs-cfg; + + import Cisco-IOS-XR-snmp-agent-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-l2tun-proto-mibs package configuration. + + This YANG module augments the + Cisco-IOS-XR-snmp-agent-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + augment "/a1:snmp/a1:notification" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-snmp-agent-cfg'"; + container l2tun { + description + "Enable SNMP l2tun traps"; + leaf tunnel-up { + type boolean; + description + "Enable L2TUN tunnel UP traps"; + } + leaf tunnel-down { + type boolean; + description + "Enable L2TUN tunnel DOWN traps"; + } + leaf pseudowire-status { + type boolean; + description + "Enable traps for L2TPv3 PW status"; + } + leaf sessions { + type boolean; + description + "Enable L2TUN sessions traps"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-cfg.yang new file mode 100644 index 0000000..b96b631 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-cfg.yang @@ -0,0 +1,279 @@ +module Cisco-IOS-XR-tunnel-nve-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-cfg"; + prefix tunnel-nve-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-nve package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-08-30 { + description + "Initial Revision."; + } + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Host-reach-protocol { + type enumeration { + enum "bgp" { + value 1; + description + "Use BGP EVPN for VxLAN tunnel endpoint + reachability"; + } + } + description + "Host reach protocol"; + } + + typedef Vni-range { + type uint32 { + range "1..16777215"; + } + description + "Vni range"; + } + + typedef Vxlan-udp-port-enum { + type enumeration { + enum "ietf-udp-port" { + value 4789; + description + "IETF defined UDP port for VxLAN"; + } + enum "ivx-lan-udp-port" { + value 48879; + description + "UDP port for iVxLAN"; + } + } + description + "Vxlan udp port enum"; + } + + typedef Overlay-encap-enum { + type enumeration { + enum "vx-lan-encapsulation" { + value 0; + description + "VxLAN Encapsulation"; + } + enum "soft-gre-encapsulation" { + value 1; + description + "Soft GRE Encapsulation"; + } + } + description + "Overlay encap enum"; + } + + typedef Unknown-unicast-flooding-enum { + type enumeration { + enum "suppress-uuf" { + value 1; + description + "Suppress unknown unicast flooding"; + } + } + description + "Unknown unicast flooding enum"; + } + + typedef Load-balance-enum { + type enumeration { + enum "per-evi" { + value 1; + description + "Per evi load balance mode"; + } + } + description + "Load balance enum"; + } + + typedef Ir-protocol-enum { + type enumeration { + enum "bgp" { + value 1; + description + "Use BGP Protocol for Ingress-Replication"; + } + } + description + "Ir protocol enum"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container nve { + description + "NVE operational data"; + container anycast { + description + "Enable anycast mode for this NVE interface"; + leaf source-interface { + type string; + description + "Name of the Anycast mode source interface"; + } + leaf sync-group { + type inet:ipv4-address-no-zone; + description + "MCast group for syncing between Anycast + gateways"; + } + } + container redundancy { + description + "Redundancy configuration for this NVE"; + container backbone-vx-lan { + description + "VXLAN backbone"; + leaf enable { + type empty; + description + "Enable Backbone VxLAN"; + } + leaf backbone-vx-laniccp { + type int32; + description + "VxLAN backbone ICCP group"; + } + } + container backbone-mpls { + description + "MPLS backbone"; + leaf backbone-mplsiccp { + type int32; + description + "MPLS backbone ICCP group"; + } + leaf enable { + type empty; + description + "Enable Backbone MPLS"; + } + } + leaf enable { + type empty; + description + "Enable Redundancy"; + } + } + container member-vnis { + description + "VNI configuration Table for this NVE"; + list member-vni { + key "vni-start vni-end"; + description + "VNI member attributes"; + container multicast { + presence "enable multicast"; + description + "Mulitcast core group range associated with + the VxLAN segment(s)"; + leaf multicast-group-min { + type inet:ipv4-address-no-zone; + description + "IPV4 group address of the tunnel source"; + } + leaf multicast-group-max { + type inet:ipv4-address-no-zone; + description + "IPV4 group address MAX"; + } + } + leaf host-reachability { + type Host-reach-protocol; + description + "Control protocol for VxLAN tunnel endpoint + reachability"; + } + leaf vrf { + type string; + description + "VRF associated with the VxLAN segment"; + } + leaf unknown-unicast-flooding { + type Unknown-unicast-flooding-enum; + description + "Suppression of unknown unicast flooding"; + } + leaf load-balance-per-evi { + type Load-balance-enum; + description + "Per-evi load balance mode"; + } + leaf enable { + type empty; + description + "Enable VNI"; + } + leaf vni-start { + type Vni-range; + description + "Single VNI or Range Start"; + } + leaf vni-end { + type Vni-range; + description + "Range End"; + } + } + } + leaf vx-lan-udp-port { + type Vxlan-udp-port-enum; + default "ietf-udp-port"; + description + "UDP port number in VxLAN encapsulation"; + } + leaf overlay-encapsulation { + type Overlay-encap-enum; + default "vx-lan-encapsulation"; + description + "The Overlay Encapsulation for this NVE"; + } + leaf source-interface { + type string; + description + "Source Interface for this NVE"; + } + leaf ingress-replication-protocol { + type Ir-protocol-enum; + description + "The Ingress Replication Protocol for this NVE"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang new file mode 100644 index 0000000..7cad82e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper-sub1.yang @@ -0,0 +1,223 @@ +submodule Cisco-IOS-XR-tunnel-nve-oper-sub1 { + belongs-to Cisco-IOS-XR-tunnel-nve-oper { + prefix Cisco-IOS-XR-tunnel-nve-oper; + } + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tunnel-nve package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + grouping NVE-SHOW-NVE-INTF-BD { + description + "NVE Interface Information"; + leaf interface-name-xr { + type string; + description + "Interface name"; + } + leaf state { + type int8; + description + "State"; + } + leaf admin-state { + type int8; + description + "Admin State"; + } + leaf flags { + type uint32; + description + "Flags"; + } + leaf encap { + type int8; + description + "Encap"; + } + leaf source-interface-name { + type string; + description + "Source Interface name"; + } + leaf source-ipv4-address { + type inet:ipv4-address; + description + "Source IPv4 Address"; + } + leaf if-handle { + type uint64; + description + "NVE IfHandle"; + } + leaf source-state { + type int8; + description + "Source Intf State"; + } + leaf udp-port { + type uint32; + description + "UDP Port"; + } + leaf any-cast-source-interface-name { + type string; + description + "Anycast Source Interface name"; + } + leaf any-cast-source-ipv4-address { + type inet:ipv4-address; + description + "Anycast Source IPv4 Address"; + } + leaf any-cast-source-state { + type int8; + description + "Anycast Source Interface State"; + } + leaf sync-mcast-ipv4-address { + type inet:ipv4-address; + description + "MCAST sync group IPv4 Address"; + } + leaf sync-mcast-flags { + type uint32; + description + "Sync McastFlags"; + } + } + + grouping NVE-SHOW-VNI-BD { + description + "VNI Information"; + leaf interface-name { + type string; + description + "NVE Interface name"; + } + leaf vni-xr { + type uint32; + description + "VNI Number"; + } + leaf state { + type int8; + description + "State"; + } + leaf mcast-ipv4-address { + type inet:ipv4-address; + description + "MCAST IPv4 Address"; + } + leaf flags { + type uint32; + description + "Flags"; + } + leaf vni-min { + type uint32; + description + "VNI Min in Range"; + } + leaf vni-max { + type uint32; + description + "VNI Max in Range"; + } + leaf mcast-flags { + type uint32; + description + "McastFlags"; + } + leaf udp-port { + type uint32; + description + "UDP Port"; + } + leaf bvi-ifh { + type uint32; + description + "BVI Interface Handle"; + } + leaf bvi-state { + type uint8; + description + "BVI Interface Oper State"; + } + leaf bvi-mac { + type yang:hex-string; + description + "BVI MAC address"; + } + leaf vrf-name { + type string; + description + "L3 VRF Name"; + } + leaf vrf-id { + type uint32; + description + "L3 VRF ID"; + } + leaf ipv4-tbl-id { + type uint32; + description + "IPv4 Table ID"; + } + leaf ipv6-tbl-id { + type uint32; + description + "IPv6 Table ID"; + } + leaf vrf-vni { + type uint32; + description + "VRF VNI"; + } + leaf topo-valid { + type boolean; + description + "TOPO ID valid flag"; + } + leaf topo-id { + type uint32; + description + "L2RIB Topology ID"; + } + leaf topo-name { + type string { + length "0..50"; + } + description + "L2RIB Topology Name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper.yang new file mode 100644 index 0000000..2bdea5d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-nve-oper.yang @@ -0,0 +1,75 @@ +module Cisco-IOS-XR-tunnel-nve-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-nve-oper"; + prefix tunnel-nve-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-tunnel-nve-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-nve package operational data. + + This module contains definitions + for the following management objects: + nve: NVE operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container nve { + config false; + description + "NVE operational data"; + container vnis { + description + "Table for VNIs"; + list vni { + key "vni"; + description + "The attributes for a particular VNI"; + leaf vni { + type xr:Cisco-ios-xr-string; + description + "VNI ID"; + } + uses NVE-SHOW-VNI-BD; + } + } + container interfaces { + description + "Table for NVE interface attributes"; + list interface { + key "interface-name"; + description + "The attributes for a particular interface"; + leaf interface-name { + type xr:Interface-name; + description + "Interface Name"; + } + uses NVE-SHOW-NVE-INTF-BD; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-cfg.yang new file mode 100644 index 0000000..3d0fac1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-cfg.yang @@ -0,0 +1,433 @@ +module Cisco-IOS-XR-tunnel-vpdn-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg"; + prefix tunnel-vpdn-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-vpdn package configuration. + + This module contains definitions + for the following management objects: + vpdn: VPDN configuration + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Df-bit { + type enumeration { + enum "clear" { + value 0; + description + "Clear df bit"; + } + enum "reflect" { + value 1; + description + "Reflect df bit from inner ip header"; + } + enum "set" { + value 2; + description + "Set df bit"; + } + } + description + "Df bit"; + } + + typedef Option { + type enumeration { + enum "local" { + value 1; + description + "Log VPDN events locally"; + } + enum "user" { + value 2; + description + "Log VPDN user events"; + } + enum "dead-cache" { + value 8; + description + "Log VPDN dead cache"; + } + enum "tunnel-drop" { + value 16; + description + "Log VPDN tunnel drops"; + } + } + description + "Option"; + } + + container vpdn { + description + "VPDN configuration"; + container history { + description + "VPDN history logging"; + leaf failure { + type empty; + description + "User failure"; + } + } + container redundancy { + description + "Enable VPDN redundancy"; + container process-failures { + description + "Process crash configuration"; + leaf switchover { + type empty; + description + "Force a switchover if the process crashes"; + } + } + leaf enable { + type empty; + description + "Enable Enable VPDN redundancy. Deletion of this + object also causes deletion of all associated + objects under Redundancy."; + } + } + container local { + description + "VPDN Local radius process configuration"; + leaf secret-text { + type string { + length "1..32"; + } + description + "secret password"; + } + leaf path { + type string { + length "1..64"; + } + description + "local path of the saved profile"; + } + leaf cache-disabled { + type empty; + description + "Set constant integer"; + } + leaf port { + type xr:Cisco-ios-xr-port-number; + description + "port value"; + } + } + container templates { + description + "Table of Template"; + list template { + key "template-name"; + description + "VPDN template configuration"; + container caller-id { + description + "Options to apply on calling station id"; + leaf mask { + type string { + length "1..63"; + } + description + "Mask characters by method"; + } + } + container vpn { + description + "VPN ID/VRF name"; + container id { + description + "VPN ID"; + leaf oui { + type xr:Hex-integer; + description + "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes + OUI Part"; + } + leaf index { + type xr:Hex-integer; + description + "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes + VPN_Index Part"; + } + } + leaf vrf { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "VRF name"; + } + } + container tunnel { + description + "L2TP tunnel commands"; + leaf busy-timeout { + type uint32 { + range "60..65535"; + } + units "second"; + description + "Busy time out value in seconds"; + } + } + container ip { + description + "Set IP TOS value"; + leaf tos { + type int32; + description + "Set constant integer"; + } + } + container ipv4 { + description + "IPv4 settings for tunnel"; + leaf df-bit { + type Df-bit; + description + "IPv4 don't fragment bit set/clear/reflect"; + } + leaf source { + type inet:ipv4-address-no-zone; + description + "Enter an IP address"; + } + } + leaf cisco-avp100-format-e-enable { + type empty; + description + "To support NAS-Port format e in Cisco AVP 100"; + } + leaf description { + type string { + length "1..100"; + } + description + "Up to 100 characters describing this VPDN + template"; + } + leaf l2tp-class { + type xr:Cisco-ios-xr-string { + length "1..79"; + } + description + "L2TP class command"; + } + leaf dsl-line-forwarding { + type empty; + description + "Forward DSL Line Info attributes"; + } + leaf template-name { + type xr:Cisco-ios-xr-string { + length "1..63"; + } + description + "VPDN template name"; + } + } + } + container caller-id { + description + "Options to apply on calling station ID"; + leaf mask { + type string { + length "1..63"; + } + description + "Mask characters by method"; + } + } + container vpd-ngroups { + description + "Table of VPDNgroup"; + list vpd-ngroup { + key "vpd-ngroupname"; + description + "vpdn-group configuration"; + container vpn-id { + description + "Vpn id"; + leaf vpn-id-oui { + type xr:Hex-integer; + description + "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes + OUI Part"; + } + leaf vpn-id-index { + type xr:Hex-integer; + description + "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes + VPN_Index Part"; + } + } + container ip { + description + "set ip tos value"; + leaf tos { + type uint32 { + range "0..255"; + } + description + "ip tos value"; + } + } + leaf dsl-line-forwarding { + type empty; + description + "Forward DSL Line Info attributes"; + } + leaf cisco-avp100-format-e-enable { + type empty; + description + "To support NAS-Port format e in cisco AVP 100"; + } + leaf desc { + type string { + length "1..100"; + } + description + "upto 100 characters describing this VPDN group"; + } + leaf attribute { + type string { + length "1..63"; + } + description + "match substring"; + } + leaf l2tp-class { + type string { + length "1..79"; + } + description + "l2tp class name"; + } + leaf tunnel-busy-timeout { + type uint32 { + range "1..65535"; + } + description + "Busy list timeout length"; + } + leaf vrf-name { + type xr:Cisco-ios-xr-string { + length "1..32"; + } + description + "Vrf name"; + } + leaf sr-ctemplate { + type string { + length "1..63"; + } + description + "Source vpdn-template"; + } + leaf vpd-ngroupname { + type xr:Cisco-ios-xr-string { + length "1..63"; + } + description + "vpdn-group name"; + } + } + } + container loggings { + description + "Table of Logging"; + list logging { + key "option"; + description + "Configure logging for VPDN"; + leaf option { + type Option; + description + "VPDN logging options"; + } + } + } + container l2tp { + description + "L2TPv2 protocol commands"; + container session-id { + description + "Session ID commands"; + container space { + description + "Session ID space commands"; + leaf hierarchy { + type empty; + description + "Session ID space hierarchical command"; + } + } + } + leaf tcp-mss-adjust { + type uint32 { + range "1280..1460"; + } + description + "TCP MSS adjust value. The acceptable values + might be further limited depending on platform."; + } + leaf reassembly { + type empty; + description + "L2TP IP packet reassembly enable"; + } + } + leaf session-limit { + type uint32 { + range "1..131072"; + } + description + "Maximum simultaneous VPDN sessions"; + } + leaf enable { + type empty; + description + "Enable VPDN configuration. Deletion of this + object also causes deletion of all associated + objects under VPDN."; + } + leaf soft-shut { + type empty; + description + "New session no longer allowed"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang new file mode 100644 index 0000000..09c3ca7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper-sub1.yang @@ -0,0 +1,905 @@ +submodule Cisco-IOS-XR-tunnel-vpdn-oper-sub1 { + belongs-to Cisco-IOS-XR-tunnel-vpdn-oper { + prefix Cisco-IOS-XR-tunnel-vpdn-oper; + } + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR tunnel-vpdn package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Vpdn-failcode { + type enumeration { + enum "unknown" { + description + "Unknown"; + } + enum "peer-action" { + description + "Peer action"; + } + enum "authentication" { + description + "Authentication"; + } + enum "authentication-error" { + description + "Authentication"; + } + enum "authentication-failed" { + description + "Authentication"; + } + enum "authorization" { + description + "Authorization"; + } + enum "authorization-failed" { + description + "Authorization"; + } + enum "home-gatewayfailure" { + description + "No resources available"; + } + enum "connection-termination" { + description + "Connection termination"; + } + enum "no-resources-available" { + description + "No resources available"; + } + enum "timer-expiry" { + description + "Timer expiry"; + } + enum "session-mid-exceeded" { + description + "Session limit"; + } + enum "soft-shut" { + description + "Softshut"; + } + enum "session-limit-exceeded" { + description + "Session limit"; + } + enum "administrative" { + description + "Administrative"; + } + enum "link-failure" { + description + "Link failure"; + } + enum "security" { + description + "Security"; + } + enum "tunnel-in-resync" { + description + "Tunnel in HA resync"; + } + enum "call-prarmeters" { + description + "Call parameters"; + } + } + description + "VPDN failure types"; + } + + typedef Vpdn-state { + type enumeration { + enum "initial-state" { + description + "Initial state"; + } + enum "init-sync-in-progress" { + description + "Initial Sync in progress"; + } + enum "steady-state" { + description + "Initial Sync Done"; + } + } + description + "Vpdn states"; + } + + typedef Lsg-status { + type enumeration { + enum "none" { + value 0; + description + "Member not initialized."; + } + enum "active" { + value 1; + description + "Member is active."; + } + enum "down" { + value 2; + description + "Member is down, cannot create new sessions."; + } + enum "testable" { + value 3; + description + "Member is ready for new sessions."; + } + enum "testing" { + value 4; + description + "Member is being tested for new session"; + } + } + description + "LSG Status"; + } + + typedef Tos-mode { + type enumeration { + enum "default" { + value 0; + description + "default"; + } + enum "set" { + value 1; + description + "set"; + } + enum "reflect" { + value 2; + description + "reflect"; + } + } + description + "TOS modes"; + } + + typedef Vpdn-nas-port { + type enumeration { + enum "none" { + description + "None"; + } + enum "primary" { + description + "Primary"; + } + enum "bri" { + description + "BRI"; + } + enum "serial" { + description + "Serial"; + } + enum "asynchronous" { + description + "Asynchronous"; + } + enum "vty" { + description + "VTY"; + } + enum "atm" { + description + "Asynchronous transfer mode"; + } + enum "ethernet" { + description + "Ethernet"; + } + enum "ppp-atm" { + description + "PPP over ATM"; + } + enum "pppoe-over-atm" { + description + "PPPoE over ATM"; + } + enum "pppoe-over-ethernet" { + description + "PPPoE over Ethernet"; + } + enum "pppoe-over-vlan" { + description + "PPPoE over VLAN"; + } + enum "pppoe-over-q-in-q" { + description + "PPPoE over Q-in-Q"; + } + enum "v120" { + description + " V120"; + } + enum "v110" { + description + "V110"; + } + enum "piafs" { + description + "PIAFS"; + } + enum "x75" { + description + "X.75"; + } + enum "ip-sec" { + description + "IPSec"; + } + enum "other" { + description + "Other"; + } + enum "virtual-pppoe-over-ethernet" { + description + "Virtual PPPoE over Ethernet"; + } + enum "virtual-pppoe-over-vlan" { + description + " Virtual PPPoE over VLAN"; + } + enum "virtual-pppoe-over-q-in-q" { + description + "Virtual PPPoE over Q-in-Q"; + } + enum "ipo-e-over-ethernet" { + description + "IPoE over Ethernet"; + } + enum "ipo-e-over-vlan" { + description + "IPoE over VLAN"; + } + enum "ipo-e-over-q-in-q" { + description + "IPoE over Q-in-Q"; + } + enum "virtual-i-po-e-over-ethernet" { + description + "Virtual IPoE over ethernet"; + } + enum "virtual-i-po-e-over-vlan" { + description + "Virtual IPoE over VLAN"; + } + enum "virtual-i-po-e-over-q-in-q" { + description + "Virtual IPoE over Q-in-Q"; + } + enum "unknown" { + description + "Unknown"; + } + } + description + "NAS port types"; + } + + typedef Session-state { + type enumeration { + enum "idle" { + description + "Idle state"; + } + enum "connected" { + description + "Connected state"; + } + enum "established" { + description + "Established state"; + } + } + description + "Session states"; + } + + grouping VPDN-HISTORY-ENTRY { + description + "VPDN history data"; + leaf username-xr { + type string; + description + "Authentication username"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf mid { + type uint16; + description + "VPDN user session ID"; + } + leaf nas { + type string; + description + "Network access server"; + } + leaf destination-address { + type inet:ipv4-address; + description + "NAS IP address"; + } + leaf remote-client-id { + type uint16; + description + "Remote client ID"; + } + leaf home-gateway { + type string; + description + "Home gateway"; + } + leaf source-address { + type inet:ipv4-address; + description + "Source IP address"; + } + leaf local-client-id { + type uint16; + description + "Local client ID"; + } + leaf event-time { + type string; + description + "Event logged time in Ex: Wed Aug 3 10:28:30 + 2011"; + } + leaf error-repeat-count { + type uint16; + description + "Error repeat count"; + } + leaf failure-type { + type Vpdn-failcode; + description + "Failure type"; + } + } + + grouping VPDN-REDUNDANCY { + description + "vpdn redundancy"; + leaf session-total { + type uint32; + description + "session total"; + } + leaf session-synced { + type uint32; + description + "session synced"; + } + leaf state { + type Vpdn-state; + description + "state"; + } + leaf start-time { + type uint64; + description + "start time"; + } + leaf finish-time { + type uint64; + description + "finish time"; + } + leaf abort-time { + type uint64; + description + "abort time"; + } + } + + grouping L2TP-NSR-QAD-STATS-RECV { + description + "L2TP NSR QAD receive statistics"; + leaf msgs-recvd { + type uint32; + description + "msgs recvd"; + } + leaf acks-recvd { + type uint32; + description + "acks recvd"; + } + leaf recvd-acks-failed { + type uint32; + description + "recvd acks failed"; + } + leaf init-drops { + type uint32; + description + "init drops"; + } + leaf msg-drops { + type uint32; + description + "msg drops"; + } + leaf ooo-drops { + type uint32; + description + "ooo drops"; + } + leaf stale-msgs { + type uint32; + description + "stale msgs"; + } + } + + grouping L2TP-NSR-QAD-STATS-SEND { + description + "L2TP NSR QAD send statistics"; + leaf msgs-sent { + type uint32; + description + "msgs sent"; + } + leaf acks-sent { + type uint32; + description + "acks sent"; + } + leaf no-partner { + type uint32; + description + "no partner"; + } + leaf sends-failed { + type uint32; + description + "sends failed"; + } + leaf acks-failed { + type uint32; + description + "acks failed"; + } + leaf pending-acks { + type uint32; + description + "pending acks"; + } + leaf timeouts { + type uint32; + description + "timeouts"; + } + leaf suspends { + type uint32; + description + "suspends"; + } + leaf resumes { + type uint32; + description + "resumes"; + } + leaf sends-fragment { + type uint32; + description + "sends fragment"; + } + leaf qad-last-seq-number { + type uint32; + description + "qad last seq number"; + } + leaf qad-frag-count { + type uint32; + description + "qad frag count"; + } + leaf qad-ack-count { + type uint32; + description + "qad ack count"; + } + leaf qad-unknown-acks { + type uint32; + description + "qad unknown acks"; + } + leaf qad-timeouts { + type uint32; + description + "qad timeouts"; + } + leaf qad-rx-count { + type uint32; + description + "qad rx count"; + } + leaf qad-rx-list-count { + type uint32; + description + "qad rx list count"; + } + leaf qad-rx-list-q-size { + type uint32; + description + "qad rx list q size"; + } + leaf qad-rx-first-seq-number { + type uint32; + description + "qad rx first seq number"; + } + } + + grouping VPDN-MIRRORING-STATS { + description + "VPDN mirroring stats"; + container qad-send-stats { + description + "qad send stats"; + uses L2TP-NSR-QAD-STATS-SEND; + } + container qad-recv-stats { + description + "qad recv stats"; + uses L2TP-NSR-QAD-STATS-RECV; + } + container qad-send-stats-last-clear { + description + "qad send stats last clear"; + uses L2TP-NSR-QAD-STATS-SEND; + } + container qad-recv-stats-last-clear { + description + "qad recv stats last clear"; + uses L2TP-NSR-QAD-STATS-RECV; + } + leaf sync-not-conn-cnt { + type uint32; + description + "sync not conn cnt"; + } + leaf sso-err-cnt { + type uint32; + description + "sso err cnt"; + } + leaf sso-batch-err-cnt { + type uint32; + description + "sso batch err cnt"; + } + leaf alloc-err-cnt { + type uint32; + description + "alloc err cnt"; + } + leaf alloc-cnt { + type uint32; + description + "alloc cnt"; + } + } + + grouping VPDN-LSG-NODE { + description + "VPDN LSG member"; + leaf vrf-name-xr { + type string; + description + "VRF name"; + } + leaf load { + type uint32; + description + "Current load on LNS"; + } + leaf status { + type Lsg-status; + description + "Status of LNS"; + } + leaf connects { + type uint32; + description + "Total count of tunnels connected"; + } + leaf disconnects { + type uint32; + description + "Total count of tunnels disconnected"; + } + leaf retry { + type uint32; + description + "Retries"; + } + leaf status-change-time { + type uint32; + units "second"; + description + "Seconds since last status change"; + } + } + + grouping VPDN-VPN-ID { + description + "VPDN ID"; + leaf oui { + type uint32; + description + "OUI"; + } + leaf index { + type uint32; + description + "Index"; + } + } + + grouping VPDN-CONFIG { + description + "VPDN user configuration data"; + container vpn-id { + description + "VPN ID"; + uses VPDN-VPN-ID; + } + leaf template-name { + type string; + description + "Template name"; + } + leaf vrf-name { + type string; + description + "VRF name"; + } + leaf l2tp-busy-timeout { + type uint16; + units "second"; + description + "L2TP busy timeout in seconds"; + } + leaf tos-mode { + type Tos-mode; + description + "TOS mode"; + } + leaf tos { + type uint8; + description + "TOS setting value"; + } + leaf dsl-line-forwarding { + type boolean; + description + "True if DSL line info forwarding is enabled"; + } + } + + grouping VPDN-SUBSCRIBER { + description + "VPDN session subscriber data"; + leaf nas-port-type { + type Vpdn-nas-port; + description + "NAS port type"; + } + leaf physical-channel-id { + type uint32; + description + "Physical channel ID"; + } + leaf receive-connect-speed { + type uint64; + units "nanosecond"; + description + "Receive connect speed in nanoseconds"; + } + leaf transmit-connect-speed { + type uint64; + units "nanosecond"; + description + "Transmit connect speed in nanoseconds"; + } + leaf-list nas-port { + type uint8; + description + "NAS port ID"; + } + } + + grouping VPDN-L2TP { + description + "VPDN session L2TP data"; + leaf local-endpoint { + type inet:ipv4-address; + description + "Local endpoint IP address"; + } + leaf remote-endpoint { + type inet:ipv4-address; + description + "Remote endpoint IP address"; + } + leaf call-serial-number { + type uint32; + description + "Call serial number"; + } + leaf is-l2tp-class-attribute-mask-set { + type boolean; + description + "True if L2TP class attribute mask is set"; + } + leaf local-tunnel-id { + type uint16; + description + "Local tunnel ID"; + } + leaf remote-tunnel-id { + type uint16; + description + "Remote tunnel ID"; + } + leaf local-session-id { + type uint16; + description + "Local session ID"; + } + leaf remote-session-id { + type uint16; + description + "Remote session ID"; + } + leaf remote-port { + type uint16; + description + "Remote port"; + } + leaf tunnel-client-authentication-id { + type string; + description + "Tunnel client authentication ID"; + } + leaf tunnel-server-authentication-id { + type string; + description + "Tunnel server authentication ID"; + } + leaf tunnel-assignment-id { + type string; + description + "Tunnel assignment ID"; + } + leaf is-tunnel-authentication-enabled { + type boolean; + description + "True if tunnel authentication is enabled"; + } + } + + grouping VPDN-EDM-SHOW-SESSION-BR { + description + "VPDN session brief information"; + leaf last-change { + type string; + description + "Elapsed time since last change in hh:mm:ss + format"; + } + leaf interface-name { + type xr:Interface-name; + description + "Session interface name"; + } + leaf username { + type string; + description + "Authentication username"; + } + leaf domain-name { + type string; + description + "Domain name"; + } + leaf state { + type Session-state; + description + "Session state"; + } + leaf l2tp-session-id { + type uint16; + description + "L2TP session ID"; + } + leaf l2tp-tunnel-id { + type uint16; + description + "L2TP tunnel ID"; + } + leaf srg-slave { + type boolean; + description + "Session SRG Slave"; + } + } + + grouping VPDN-EDM-SHOW-SESSION-DET { + description + "VPDN session detail"; + container session { + description + "Session data"; + uses VPDN-EDM-SHOW-SESSION-BR; + } + container l2tp { + description + "L2TP data"; + uses VPDN-L2TP; + } + container subscriber { + description + "Subscriber data"; + uses VPDN-SUBSCRIBER; + } + container configuration { + description + "Configuration data"; + uses VPDN-CONFIG; + } + leaf setup-time { + type uint32; + description + "Time to setup session in sec:msec"; + } + leaf parent-interface-name { + type xr:Interface-name; + description + "Parent interface name"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper.yang new file mode 100644 index 0000000..f9551f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-tunnel-vpdn-oper.yang @@ -0,0 +1,111 @@ +module Cisco-IOS-XR-tunnel-vpdn-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-oper"; + prefix tunnel-vpdn-oper; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-tunnel-vpdn-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR tunnel-vpdn package operational data. + + This module contains definitions + for the following management objects: + vpdn: VPDN operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container vpdn { + config false; + description + "VPDN operational data"; + container sessions { + description + "VPDN session list"; + list session { + key "session-label"; + description + " VPDN session information"; + leaf session-label { + type xr:Hex-integer; + description + "Session label"; + } + uses VPDN-EDM-SHOW-SESSION-DET; + } + } + container tunnel-destinations { + description + "VPDN tunnel Destinations"; + list tunnel-destination { + description + "VPDN tunnel destination information"; + leaf vrf-name { + type xr:Cisco-ios-xr-string; + description + "VRF name"; + } + leaf address { + type inet:ipv4-address-no-zone; + description + "IP address"; + } + uses VPDN-LSG-NODE; + } + } + container vpdn-mirroring { + description + "VPDN Mirroring Statistics"; + uses VPDN-MIRRORING-STATS; + } + container vpdn-redundancy { + description + "Show VPDN Redundancy information"; + uses VPDN-REDUNDANCY; + } + container history-failures { + description + "VPDN history failure list"; + list history-failure { + description + "VPDN history failure information"; + leaf username { + type string; + description + "Username"; + } + leaf remote-name { + type xr:Cisco-ios-xr-string; + description + "Remote name"; + } + uses VPDN-HISTORY-ENTRY; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-types.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-types.yang new file mode 100644 index 0000000..c8f81e3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-types.yang @@ -0,0 +1,600 @@ +module Cisco-IOS-XR-types { + namespace "http://cisco.com/ns/yang/cisco-xr-types"; + prefix xr; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 W Tasman Drive + San Jose, CA 95134 + + Tel: +1 1800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of IOS-XR derived YANG data + types. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-12-01 { + description + "Modified string match pattern of Tty-escape-char-num"; + } + revision 2017-03-07 { + description + "This revision adds the following new data types: + - Type8-password + - Type9-password"; + } + revision 2015-06-29 { + description + "This revision adds the following new data types: + - Rpl-policy + - Rpl-set"; + } + revision 2015-05-18 { + description + "Updated Node-id string pattern to match also shorter ncs4k + node names."; + } + revision 2015-01-19 { + description + "This revision adds the following new data types: + - Bgp-ipv4-flowspec-address + - Bgp-ipv6-flowspec-address"; + } + revision 2013-07-22 { + description + "Initial revision."; + } + + extension xr-cli-map { + argument cli-command; + description + "The xr-cli-map statement takes as an argument + relevant CLI configuration command."; + } + + extension xr-xml-map { + argument xr-xml-node; + description + "The xr-xml-map statement takes as an argument + relevant Cisco XML Schema node name."; + } + + extension cli-command { + argument command; + description + "Corresponding CLI command for this RPC node"; + } + + extension cli-name { + argument keyword; + description + "Corresponding CLI keyword for this node"; + } + + extension xr-task { + argument task; + description + "XR task-id required for operating the yang node"; + } + + extension event-telemetry { + argument description; + description + "Node eligible for telemetry event subscription"; + } + + typedef Route-dist { + type string { + pattern "[a-fA-F0-9]{16}"; + } + description + "Route distinguisher in hexadecimal notation."; + } + + typedef Bgp-l2vpn-evpn-addrs { + type string { + pattern "[a-fA-F0-9]{58}"; + } + description + "L2VPN EVPN Address in hexadecimal notation."; + } + + typedef Bgp-ls-addr { + type string { + pattern "[a-fA-F0-9]+"; + } + description + "BGP link state unicast address in hexadecimal + notation."; + } + + typedef Bgp-ipv6-mvpn-addr { + type string { + pattern "[a-fA-F0-9]{104}"; + } + description + "An IPV6 MVPN address in hexadecimal notation."; + } + + typedef Bgp-ipv4-mvpn-addr { + type string { + pattern "[a-fA-F0-9]{56}"; + } + description + "An IPV4 MVPN address in hexadecimal notation."; + } + + typedef Bgp-rt-constrt-addr { + type string { + pattern "[a-fA-F0-9]{24}"; + } + description + "An IPV4 RTConstraint address in hexadecimal notation."; + } + + typedef Bgp-ipv4-mdt-addr { + type string { + pattern "(([a-f0-9]{16}-)(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))"; + } + description + "An IPV4 MDT address in dotted decimal notation. + An IPv4 MDT address should be of the form + 0000006400000065-129.29.83.45. This datatype + restricts the value of each field 16 digits in + hexadecimal for RD field and between 0 and 255 + for IPv4 address field, i.e. + [0000000000000000-ffffffffffffffff]- + [0-255].[0-255].[0-255].[0-255]."; + } + + typedef Bgp-ipv4-tunnel-addr { + type string { + pattern "((0:|[1-9][0-9]{0,4}:)(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))"; + } + description + "An IPV4 tunnel address in dotted decimal notation. + An IPv4 tunnel address should be of the form + 65535:129.29.83.45. This datatype restricts the + value of each field between 0 and 65535 for prefix + field and 0 and 255 for IPv4 address field, i.e. + [0-65535]:[0-255].[0-255].[0-255].[0-255]"; + } + + typedef Cisco-ios-xr-port-number { + type uint16 { + range "1..65535"; + } + description + "Port number of range from 1 to 65535"; + } + + typedef Interface-name { + type string { + pattern "[a-zA-Z0-9./-]+"; + } + description + "An interface name specifying an interface type and + instance. + Interface represents a string defining an interface + type and instance, e.g. MgmtEth0/4/CPU1/0 or + TenGigE0/2/0/0.2 or Bundle-Ether9 or + Bundle-Ether9.98"; + } + + typedef Cisco-ios-xr-string { + type string { + pattern "[\\w\\-\\.:,_@#%$\\+=\\|;]+"; + } + description + "Special characters are not allowed."; + } + + typedef Ipv4-prefix-length { + type uint8 { + range "0..32"; + } + description + "An IPv4 address prefix length. + Must lie between 0 and 32 inclusive."; + } + + typedef Ipv6-prefix-length { + type uint8 { + range "0..128"; + } + description + "An IPv6 address prefix length. + Must lie between 0 and 32 inclusive."; + } + + typedef Rack-id { + type string { + pattern "[a-zA-Z0-9_]*\\d+"; + } + description + "Names the rack portion of a NodeID + Rack/Slot/Instance triple"; + } + + typedef Slot-id { + type string { + pattern "[a-zA-Z0-9_]*\\d+"; + } + description + "Names the slot portion of a NodeID + Rack/Slot/Instance triple"; + } + + typedef Instance-id { + type string { + pattern "[a-zA-Z0-9_]*\\d+"; + } + description + "Names the instance portion of a NodeID + Rack/Slot/Instance triple"; + } + + typedef Sub-instance-id { + type string { + pattern "[a-zA-Z0-9_]*\\d+"; + } + description + "Names the sub-instance portion of an extended + NodeID Rack/Slot/Instance/SubInstance"; + } + + typedef Encryption-type { + type enumeration { + enum "none" { + value 0; + description + "The password string is clear text."; + } + enum "md5" { + value 1; + description + "The password is encrypted to an MD5 digest."; + } + enum "proprietary" { + value 2; + description + "The password is encrypted using Cisco type 7 + password encryption."; + } + enum "type6" { + value 3; + description + "The password is encrypted using Cisco type 6 + password encryption."; + } + } + description + "The type of encryption used on a password string."; + } + + typedef Hex-integer { + type string { + pattern "[0-9a-fA-F]{1,8}"; + } + description + "An unsigned 32-bit integer represented in + hexadecimal format."; + } + + typedef Osi-system-id { + type string { + pattern "[a-fA-F0-9]{4}(\\.[a-fA-F0-9]{4}){2}"; + } + description + "An OSI system ID should be of the form + 0123.4567.89ab. This data type restricts each + character to a hex character."; + } + + typedef Osi-area-address { + type string { + pattern "[a-fA-F0-9]{2}(\\.[a-fA-F0-9]{4}){0,6}"; + } + description + "An OSI area address should consist of an odd number + of octets, and be of the form 01 or 01.2345 etc up + to 01.2345.6789.abcd.ef01.2345.6789. This data type + restricts each character to a hex character."; + } + + typedef Isis-node-id { + type string { + pattern "[a-fA-F0-9]{4}(\\.[a-fA-F0-9]{4}){2}\\.[a-fA-F0-9]{2}"; + } + description + "An ISIS node ID should be of the form + 0123.4567.89ab.cd. This data type restricts each + character to a hex character."; + } + + typedef Isis-snpa { + type string { + pattern "[a-fA-F0-9]{4}(\\.[a-fA-F0-9]{4}){2}"; + } + description + "String representation of a SNPA, 802.2 MAC address + in canonical format, e.g. 0123.4567.89ab"; + } + + typedef Isis-lsp-id { + type string { + pattern "[a-fA-F0-9]{4}(\\.[a-fA-F0-9]{4}){2}\\.[a-fA-F0-9]{2}\\-[a-fA-F0-9]{2}"; + } + description + "An ISIS LSP ID should be of the form + 0123.4567.89ab.cd-ef. This data type restricts each + character to a hex character."; + } + + typedef Osi-net { + type string { + pattern "[a-fA-F0-9]{2}(\\.[a-fA-F0-9]{4}){3,9}\\.[a-fA-F0-9]{2}"; + } + description + "An OSI NET should consist of an even number of + octets, and be of the form 01.2345.6789.abcd.ef etc + up to + 01.2345.6789.abcd.ef01.2345.6789.abcd.ef01.2345.67. + This data type restricts each character to a hex + character."; + } + + typedef String-identifier { + type string { + pattern "[a-zA-Z][\\w\\-]*"; + } + description + "A string for specifying identifier."; + } + + typedef Char-num { + type union { + type string { + pattern "(\\p{IsBasicLatin}|\\p{IsLatin-1Supplement})*"; + } + type uint8; + } + description + "Takes a character or its ASCII decimal equivalent + (0-255)."; + } + + typedef Tty-escape-char-num { + type union { + type string { + pattern "(\\p{IsBasicLatin}|\\p{IsLatin-1Supplement})|(DEFAULT)|(BREAK)|(NONE)"; + } + type uint8; + } + description + "Escape character or its ASCII decimal equivalent + (0-255) or one of the three string DEFAULT, BREAK, + NONE."; + } + + typedef Extended-node-id { + type string { + pattern "([a-zA-Z0-9_]*\\d+/){3}([a-zA-Z0-9_]*\\d+)"; + } + description + "A location used as value information and specified + as a Rack/Slot/Instance/SubInstance, e.g. + 0/1/CPU0/NPU0"; + } + + typedef Node-id { + type string { + pattern "([a-zA-Z0-9_]*\\d+/){1,2}([a-zA-Z0-9_]*\\d+)"; + } + description + "A location used as value information and specified + as a Rack/Slot/Instance triple, e.g. F0/SC1/0."; + } + + typedef Pq-node-id { + type string { + pattern "((([a-zA-Z0-9_]*\\d+)|(\\*))/){2}(([a-zA-Z0-9_]*\\d+)|(\\*))"; + } + description + "Partially qualified location which is used for + wildcarding location specifications, e.g. 1/*/*"; + } + + typedef Md5-password { + type string { + pattern "(!.+)|([^!].+)"; + } + description + "The Md5-password type is used to store password using the MD5 + hash function. + When a clear text value is set to a leaf of this type, the + server calculates a password hash and stores the result + in the datastore. The password is never stored in clear text. + + When a leaf of this type is read, the stored password hash is + returned. + + A value of this type matches one of the forms: + + ! + + + The '!' prefix signals that the value is clear text. When + such a value is received by the server, a hash value is + calculated. This value is stored in the configuration data + store. + + If a value starting without '!' is received, the server knows + that the value already represents a hashed value, and stores + it as is in the data store."; + } + + typedef Type8-password { + type string { + pattern "(!.+)|([^!].+)"; + } + description + "The Type8-password type is used to store password using the + SHA-256 encryption. + When a clear text value is set to a leaf of this type, the + server calculates a password hash and stores the result + in the datastore. The password is never stored in clear text. + + When a leaf of this type is read, the stored password hash is + returned. + + A value of this type matches one of the forms: + + ! + + + The '!' prefix signals that the value is clear text. When + such a value is received by the server, a hash value is + calculated. This value is stored in the configuration data + store. + + If a value starting without '!' is received, the server knows + that the value already represents a hashed value, and stores + it as is in the data store."; + } + + typedef Type9-password { + type string { + pattern "(!.+)|([^!].+)"; + } + description + "The Type9-password type is used to store password using the + Script algorithmic encryption. + When a clear text value is set to a leaf of this type, the + server calculates a password hash and stores the result + in the datastore. The password is never stored in clear text. + + When a leaf of this type is read, the stored password hash is + returned. + + A value of this type matches one of the forms: + + ! + + + The '!' prefix signals that the value is clear text. When + such a value is received by the server, a hash value is + calculated. This value is stored in the configuration data + store. + + If a value starting without '!' is received, the server knows + that the value already represents a hashed value, and stores + it as is in the data store."; + } + + typedef Proprietary-password { + type string { + pattern "(!.+)|([^!].+)"; + } + description + "The Proprietary-password type is used to store password + using the Cisco proprietary hash function. + When a clear text value is set to a leaf of this type, the + server calculates a password hash and stores the result + in the datastore. The password is never stored in clear text. + + When a leaf of this type is read, the stored password hash is + returned. + + A value of this type matches one of the forms: + + ! + + + The '!' prefix signals that the value is clear text. When + such a value is received by the server, a hash value is + calculated. This value is stored in the configuration data + store. + + If a value starting without '!' is received, the server knows + that the value already represents a hashed value, and stores + it as is in the data store."; + } + + typedef Type6-password { + type string { + pattern "(!.+)|([^!].+)"; + } + description + "The Type6-password type is used to store password + using the Cisco type 6 hash function. + When a clear text value is set to a leaf of this type, the + server calculates a password hash and stores the result + in the datastore. The password is never stored in clear text. + + When a leaf of this type is read, the stored password hash is + returned. + + A value of this type matches one of the forms: + + ! + + + The '!' prefix signals that the value is clear text. When + such a value is received by the server, a hash value is + calculated. This value is stored in the configuration data + store. + + If a value starting without '!' is received, the server knows + that the value already represents a hashed value, and stores + it as is in the data store."; + } + + typedef Bgp-ipv4-flowspec-address { + type string { + pattern "[a-fA-F0-9]{4096}"; + } + description + "An IPV4 Flowspec address in hexadecimal notation."; + } + + typedef Bgp-ipv6-flowspec-address { + type string { + pattern "[a-fA-F0-9]{4096}"; + } + description + "An IPV6 Flowspec address in hexadecimal notation."; + } + + typedef Rpl-policy { + type string; + description + "RPL Policy info"; + } + + typedef Rpl-set { + type string; + description + "RPL Set info"; + } + + typedef Physical-allowed-node-id { + type uint32; + description + "A physical location encoded as a 32-bit value."; + } + + typedef Physical-allowed-node-id-string { + type string; + description + "A physical location which is represented internallyusing string format (eg: 0_6_CPU0)."; + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-ng-act.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-ng-act.yang new file mode 100644 index 0000000..fe95af3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-ng-act.yang @@ -0,0 +1,57 @@ +module Cisco-IOS-XR-upgrade-fpd-ng-act { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-ng-act"; + prefix upgrade-fpd-act; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR upgrade-fpd package action data. + + This module contains definitions + for the following management objects: + fpd: Field programmable device (FPD) operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-04-04 { + description + "IOS XR 6.3.1 revision."; + } + + rpc upgrade-fpd { + description + "Execute FPD upgrade"; + input { + leaf location { + type string; + mandatory true; + description + "Location of the FPD to be upgraded"; + } + leaf fpd { + type string; + mandatory true; + description + "name of the fpd to be upgraded"; + } + leaf force { + type empty; + mandatory false; + description + "Force the upgrade process"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang new file mode 100644 index 0000000..267f8d7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper-sub1.yang @@ -0,0 +1,277 @@ +submodule Cisco-IOS-XR-upgrade-fpd-oper-sub1 { + belongs-to Cisco-IOS-XR-upgrade-fpd-oper { + prefix Cisco-IOS-XR-upgrade-fpd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR upgrade-fpd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fpd-sub1 { + type enumeration { + enum "fpga1" { + description + "FPGA device"; + } + enum "rommon" { + description + "ROMMON device"; + } + enum "rommona" { + description + "ROMMONA device"; + } + enum "fabric-loader" { + description + "Fabric loader"; + } + enum "fpga2" { + description + "FPGA device"; + } + enum "fpga3" { + description + "FPGA device"; + } + enum "fpga4" { + description + "FPGA device"; + } + enum "fpga5" { + description + "FPGA device"; + } + enum "fpga6" { + description + "FPGA device"; + } + enum "fpga7" { + description + "FPGA device"; + } + enum "fpga8" { + description + "FPGA device"; + } + enum "fpga9" { + description + "FPGA device"; + } + enum "fpga10" { + description + "FPGA device"; + } + enum "fpga11" { + description + "FPGA device"; + } + enum "fpga12" { + description + "FPGA device"; + } + enum "fpga13" { + description + "FPGA device"; + } + enum "fpga14" { + description + "FPGA device"; + } + enum "cpld1" { + description + "CPLD device"; + } + enum "cpld2" { + description + "CPLD device"; + } + enum "cpld3" { + description + "CPLD device"; + } + enum "cpld4" { + description + "CPLD device"; + } + enum "cpld5" { + description + "CPLD device"; + } + enum "cpld6" { + description + "CPLD device"; + } + enum "cbc" { + description + "CAN bus controller"; + } + enum "hsbi" { + description + "HSBI image"; + } + enum "txpod" { + description + "Fabric Tx POD"; + } + enum "rxpod" { + description + "Fabric Rx POD"; + } + enum "ibmc" { + description + "IBMC"; + } + enum "fsbl" { + description + "FSBL"; + } + enum "lnx" { + description + "Linux firmware"; + } + enum "fpga15" { + description + "FPGA device"; + } + enum "fpga16" { + description + "FPGA device"; + } + enum "fc-fsbl" { + description + "FC FSBL"; + } + enum "fc-lnx" { + description + "FC linux firmware"; + } + } + description + "FPD sub types"; + } + + typedef Fpd1 { + type enumeration { + enum "spa" { + description + "Shared port adapter"; + } + enum "lc" { + description + "Line card"; + } + enum "sam" { + description + "Service acceleration module"; + } + } + description + "FPD types"; + } + + grouping FPD-PACKAGE-INFO { + description + "Package information"; + leaf card-type { + type string; + description + "Card type containing FPD"; + } + leaf card-description { + type string; + description + "Card description"; + } + leaf fpd-type { + type Fpd1; + description + "FPD type"; + } + leaf fpd-sub-type { + type Fpd-sub1; + description + "FPD sub type"; + } + leaf software-version { + type string; + description + "FPD software version in X.Y format X-Major + version, Y-Minor version Note: 'Unknown' is + returned in case the software version of the FPD + cannot be determined."; + } + leaf minimum-required-software-version { + type string; + description + "Minimum required FPD software version in X.Y + format X-Major version, Y-Minor version Note: + 'Unknown' is returned in case the software + version of the FPD cannot be determined."; + } + leaf minimum-required-hardware-version { + type string; + description + "Minimum required FPD hardware version in X.Y + format X-Major version, Y-Minor version "; + } + } + + grouping FPD-ALL-PACKAGES { + description + "Field programmable device packages"; + list all-package { + description + "List of packages"; + uses FPD-PACKAGE-INFO; + } + } + + grouping UPGRADE-FPD-INFO { + description + "XML Oper FPD information"; + leaf card-type { + type string; + description + "Card type containing FPD"; + } + leaf hardware-version { + type string; + description + "FPD hardware version inX.Y format. X-Major + version, Y-Minor version"; + } + leaf software-version { + type string; + description + "FPD software version in X.Y format X-Major + version, Y-Minor version Note: 'Unknown' is + returned in case the software version of the FPD + cannot be determined."; + } + leaf is-upgrade-downgrade { + type boolean; + description + "If true, upgrade or downgrade"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper.yang new file mode 100644 index 0000000..c26a74d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-upgrade-fpd-oper.yang @@ -0,0 +1,287 @@ +module Cisco-IOS-XR-upgrade-fpd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-oper"; + prefix upgrade-fpd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-upgrade-fpd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR upgrade-fpd package operational data. + + This module contains definitions + for the following management objects: + fpd: Field programmable device (FPD) operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Fpd-sub { + type enumeration { + enum "fpga1" { + value 0; + description + "FPGA device"; + } + enum "rommon" { + value 1; + description + "ROMMON device"; + } + enum "rommona" { + value 2; + description + "ROMMON device #A"; + } + enum "fabldr" { + value 3; + description + "Fabric loader"; + } + enum "fpga2" { + value 4; + description + "FPGA device #2"; + } + enum "fpga3" { + value 5; + description + "FPGA device #3"; + } + enum "fpga4" { + value 6; + description + "FPGA device #4"; + } + enum "fpga5" { + value 7; + description + "FPGA device #5"; + } + enum "fpga6" { + value 8; + description + "FPGA device #6"; + } + enum "fpga7" { + value 9; + description + "FPGA device #7"; + } + enum "fpga8" { + value 10; + description + "FPGA device #8"; + } + enum "fpga9" { + value 11; + description + "FPGA device #9"; + } + enum "fpga10" { + value 12; + description + "FPGA device #10"; + } + enum "fpga11" { + value 13; + description + "FPGA device #11"; + } + enum "fpga12" { + value 14; + description + "FPGA device #12"; + } + enum "fpga13" { + value 15; + description + "FPGA device #13"; + } + enum "fpga14" { + value 16; + description + "FPGA device #14"; + } + enum "cpld1" { + value 17; + description + "CPLD device #1"; + } + enum "cpld2" { + value 18; + description + "CPLD device #2"; + } + enum "cpld3" { + value 19; + description + "CPLD device #3"; + } + enum "cpld4" { + value 20; + description + "CPLD device #4"; + } + enum "cpld5" { + value 21; + description + "CPLD device #5"; + } + enum "cpld6" { + value 22; + description + "CPLD device #6"; + } + enum "cbc" { + value 23; + description + "Can bus controller"; + } + enum "hsbi" { + value 24; + description + "HSBI image"; + } + enum "txpod" { + value 25; + description + "Fabric Tx POD"; + } + enum "rxpod" { + value 26; + description + "Fabric Rx POD"; + } + enum "ibmc" { + value 27; + description + "IBMC"; + } + enum "fsbl" { + value 28; + description + "FSBL"; + } + enum "lnx" { + value 29; + description + "Linux firmware"; + } + enum "fpga15" { + value 30; + description + "FPGA device #15"; + } + enum "fpga16" { + value 31; + description + "FPGA device #16"; + } + enum "fc-fsbl" { + value 32; + description + "FC FSBL"; + } + enum "fc-lnx" { + value 33; + description + "FC linux firmware"; + } + } + description + "Fpd sub"; + } + + typedef Fpd { + type enumeration { + enum "spa" { + value 0; + description + "SPA class of fpd"; + } + enum "lc" { + value 1; + description + "Linecard class of fpd"; + } + enum "sam" { + value 2; + description + "SAM class of fpd"; + } + } + description + "Fpd"; + } + + container fpd { + config false; + description + "Field programmable device (FPD) operational data"; + container nodes { + description + "List of FPD supported nodes"; + list node { + key "node-name"; + description + "Information about a particular node"; + container devices { + description + "FPD information table"; + list device { + description + "FPD information for a particular fpd type"; + leaf fpd-type { + type Fpd; + description + "FPD type"; + } + leaf instance { + type int32; + description + "Instance"; + } + leaf sub-type { + type Fpd-sub; + description + "FPD sub type"; + } + uses UPGRADE-FPD-INFO; + } + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + container packages { + description + "FPD packages information"; + uses FPD-ALL-PACKAGES; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-vservice-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-vservice-cfg.yang new file mode 100644 index 0000000..853d9d4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-vservice-cfg.yang @@ -0,0 +1,364 @@ +module Cisco-IOS-XR-vservice-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-vservice-cfg"; + prefix vservice-cfg; + + import ietf-inet-types { + prefix inet; + } + import Cisco-IOS-XR-types { + prefix xr; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR vservice package configuration. + + This module contains definitions + for the following management objects: + vservice: configure vservice node + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Sfc-metadata-type1-alloc-format { + type enumeration { + enum "dc-allocation" { + value 1; + description + "data center allocation"; + } + } + description + "Sfc metadata type1 alloc format"; + } + + typedef Sfc-sf-transport { + type enumeration { + enum "vxlan-gpe" { + value 1; + description + "vxlan-gpe transport type"; + } + } + description + "Sfc sf transport"; + } + + typedef Sfc-metadata-disposition-match { + type enumeration { + enum "type1-dcalloc-tenant-id" { + value 1; + description + "match type 1"; + } + } + description + "Sfc metadata disposition match"; + } + + typedef Sfc-metadata-disposition-action { + type enumeration { + enum "redirect-nexthop" { + value 1; + description + "redirect nexthop action"; + } + } + description + "Sfc metadata disposition action"; + } + + typedef Sfc-metadata-alloc { + type enumeration { + enum "type1" { + value 1; + description + "type 1 allocation"; + } + } + description + "Sfc metadata alloc"; + } + + grouping NAME-TABLE { + description + "Common node of service-function-locator, + service-function-forward-locator"; + container names { + description + "Mention the sf/sff name"; + list name { + key "function-name locator-id"; + description + "service function name"; + container node { + description + "configure sff/sffl"; + leaf transport { + type Sfc-sf-transport; + description + "Transport type"; + } + leaf ipv4-source-address { + type inet:ipv4-address-no-zone; + description + "IPv4 source address"; + } + leaf ipv4-destination-address { + type inet:ipv4-address-no-zone; + description + "IPv4 destination address"; + } + leaf vni { + type int32; + description + "VNI"; + } + } + leaf function-name { + type xr:Cisco-ios-xr-string; + description + "Service function/forwarder name"; + } + leaf locator-id { + type uint32 { + range "1..255"; + } + description + "Specify locator id"; + } + } + } + } + + grouping NODE { + description + "Common node of sf-name, sff-name"; + container node { + description + "configure SFP"; + leaf enable { + type empty; + description + "Enable Service function path"; + } + leaf reserved { + type empty; + description + "Dummy"; + } + } + } + + container vservice { + description + "configure vservice node"; + container service-function-locator { + description + "configure service function locator"; + uses NAME-TABLE; + } + container metadata-dispositions { + description + "Configure metadata disposition"; + list metadata-disposition { + key "disposition-name format"; + description + "metadata disposition name"; + leaf disposition-name { + type xr:Cisco-ios-xr-string; + description + "disposition name"; + } + leaf format { + type Sfc-metadata-type1-alloc-format; + description + "Specify Format"; + } + list match-entry { + key "match-entry-name"; + description + "match entry name"; + container node { + description + "configure disposition data"; + leaf match-type { + type Sfc-metadata-disposition-match; + description + "match type"; + } + leaf action-type { + type Sfc-metadata-disposition-action; + description + "action type"; + } + leaf vrf { + type string; + description + "VRF name"; + } + leaf nexthop-ipv4-address { + type inet:ipv4-address-no-zone; + description + "IPv4 nexthop address"; + } + leaf-list tenant-id { + type int32; + max-elements "4"; + description + "24-bit tenant id"; + } + } + leaf match-entry-name { + type xr:Cisco-ios-xr-string; + description + "match entry name"; + } + } + } + } + container service-function-forward-locator { + description + "configure service function forward locator"; + uses NAME-TABLE; + } + container metadata-templates { + description + "configure metadata imposition"; + list metadata-template { + key "metadata-name type format"; + description + "metadata name, type and format"; + leaf tenant-id { + type uint32 { + range "1..16777215"; + } + description + "Enter 24-bit tenant id"; + } + leaf metadata-name { + type xr:Cisco-ios-xr-string; + description + "metadata name"; + } + leaf type { + type Sfc-metadata-alloc; + description + "Specify Type "; + } + leaf format { + type Sfc-metadata-type1-alloc-format; + description + "Specify Format"; + } + } + } + container service-function-path { + description + "service function path"; + container paths { + description + "service function path id"; + list path { + key "path-id"; + description + "specify the service function path id"; + leaf path-id { + type uint32 { + range "1..16777215"; + } + description + "Specify the service function path id"; + } + list service-index { + key "index"; + description + "specify the service index"; + container terminate { + description + "configure terminate"; + container node { + description + "configure default terminate action"; + leaf action { + type Sfc-metadata-disposition-action; + description + "default action enum"; + } + leaf vrf { + type string; + description + "nexthop vrf name"; + } + leaf nexthop-ipv4-address { + type inet:ipv4-address-no-zone; + description + "IPv4 nexthop address"; + } + leaf metatdata-disposition { + type string; + description + "metadata-disposition name"; + } + } + } + container sff-names { + description + "service function forwarder "; + list sff-name { + key "name"; + description + "service function forwarder name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "SFF Name"; + } + uses NODE; + } + } + container sf-names { + description + "service function "; + list sf-name { + key "name"; + description + "service function name"; + leaf name { + type xr:Cisco-ios-xr-string; + description + "SF Name"; + } + uses NODE; + } + } + leaf index { + type uint32 { + range "1..255"; + } + description + "Specify the id of service function"; + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-cfg.yang new file mode 100644 index 0000000..e3478c8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-cfg.yang @@ -0,0 +1,171 @@ +module Cisco-IOS-XR-wanphy-ui-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-cfg"; + prefix wanphy-ui-cfg; + + import Cisco-IOS-XR-ifmgr-cfg { + prefix a1; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR wanphy-ui package configuration. + + This YANG module augments the + Cisco-IOS-XR-ifmgr-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Wanphy-lan-mode { + type enumeration { + enum "on" { + value 1; + description + "LanMode"; + } + } + description + "Wanphy lan mode"; + } + + typedef Wanphy-wan-mode { + type enumeration { + enum "on" { + value 1; + description + "WAN Mode"; + } + } + description + "Wanphy wan mode"; + } + + augment "/a1:interface-configurations/a1:interface-configuration" { + description + "This augment extends the configuration data of + 'Cisco-IOS-XR-ifmgr-cfg'"; + container wanphy { + description + "WANPHY port controller configuration"; + leaf report-path-rdi { + type empty; + description + "Configure Path Remote Defect Indicator + reporting"; + } + leaf report-los { + type empty; + description + "Configure Loss Of Signal reporting"; + } + leaf report-path-lcd { + type empty; + description + "Configure Path Loss Of Code-Group Delineation + reporting"; + } + leaf report-path-fe-plm { + type empty; + description + "Configure Path Far End Payload Label Mismatch + reporting"; + } + leaf lan-mode { + type Wanphy-lan-mode; + description + "Configure LAN Mode"; + } + leaf report-path-plm { + type empty; + description + "Configure Path Payload Label Mismatch reporting"; + } + leaf report-path-fe-ais { + type empty; + description + "Configure Path Far End Payload Label Mismatch + reporting"; + } + leaf report-path-ais { + type empty; + description + "Configure Path Alarm Indication Signal + reporting"; + } + leaf report-line-ais { + type empty; + description + "Configure Line Alarm Indication Signal + reporting"; + } + leaf report-lof { + type empty; + description + "Configure Loss Of Frame reporting"; + } + leaf report-lop { + type empty; + description + "Configure Loss Of Pointer reporting"; + } + leaf report-rdi { + type empty; + description + "Configure Remote Defect Indicator reporting"; + } + leaf report-sd-ber { + type empty; + description + "Configure B2 BER in excess of SD threshold + reporting"; + } + leaf threshold-sd-ber { + type uint32 { + range "3..9"; + } + default "6"; + description + "Bit error rate is 10 to the minus n, where n is + threshold value"; + } + leaf report-sf-ber { + type empty; + description + "Configure B2 BER in excess of SF threshold + reporting"; + } + leaf threshold-sf-ber { + type uint32 { + range "3..9"; + } + default "3"; + description + "Bit error rate is 10 to the minus n, where n is + threshold value"; + } + leaf wan-mode { + type Wanphy-wan-mode; + description + "Configure WAN Mode"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang new file mode 100644 index 0000000..b713356 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper-sub1.yang @@ -0,0 +1,289 @@ +submodule Cisco-IOS-XR-wanphy-ui-oper-sub1 { + belongs-to Cisco-IOS-XR-wanphy-ui-oper { + prefix Cisco-IOS-XR-wanphy-ui-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR wanphy-ui package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Wanphy-alarm-rep-status { + type enumeration { + enum "disable" { + description + "Alarm reporting is disable"; + } + enum "enable" { + description + "Alarm reporting is enable"; + } + } + description + "WANPHY Alarm Report Status"; + } + + typedef Wanphy-mode-info { + type enumeration { + enum "lan" { + description + "LAN mode"; + } + enum "wan" { + description + "WAN mode"; + } + } + description + "WANPHY Modes"; + } + + grouping WANPHY-EDM-INFO { + description + "WAN-PHY Information"; + leaf admin-mode { + type Wanphy-mode-info; + description + "Configuration Mode"; + } + leaf port-state { + type uint32; + description + "Port State"; + } + leaf section-lof { + type uint32; + description + "Section LOF"; + } + leaf section-los { + type uint32; + description + "Section LOS"; + } + leaf section-bip { + type uint64; + description + "Section BIP(B1)"; + } + leaf line-ais { + type uint32; + description + "Line AIS"; + } + leaf line-rdi { + type uint32; + description + "Line RDI"; + } + leaf line-febe { + type uint64; + description + "Line FEBE"; + } + leaf line-bip { + type uint64; + description + "Line BIP(B2) "; + } + leaf path-ais { + type uint32; + description + "Path AIS"; + } + leaf path-rdi { + type uint32; + description + "Path RDI"; + } + leaf path-febe { + type uint64; + description + "Path FEBE"; + } + leaf path-bip { + type uint64; + description + "Path BIP(B3)"; + } + leaf path-lop { + type uint32; + description + "Path LOP"; + } + leaf path-newptr { + type uint32; + description + "Path NEWPTR"; + } + leaf path-pse { + type uint32; + description + "Path PSE"; + } + leaf path-nse { + type uint32; + description + "Path NSE"; + } + leaf wis-alarms-ser { + type uint32; + description + "WIS Alarms SER"; + } + leaf wis-alarms-felcdp { + type uint32; + description + "WIS Alarms FELCDP"; + } + leaf wis-alarms-feaisp { + type uint32; + description + "WIS Alarms FEAISP"; + } + leaf wis-alarms-wlos { + type uint32; + description + "WIS Alarms WLOS"; + } + leaf wis-alarms-plcd { + type uint32; + description + "WIS Alarms PLCD"; + } + leaf wis-alarms-lfebip { + type uint64; + description + "WIS Alarms LFEBIP"; + } + leaf wis-alarms-pbec { + type uint64; + description + "WIS Alarms PBEC"; + } + leaf wis-alarms-plmp { + type uint32; + description + "WIS Alarms PLMP"; + } + leaf sf-ber-threshold { + type uint32; + description + "BER thresholds: SF. Value 'd' in 10e-%d"; + } + leaf sd-ber-threshold { + type uint32; + description + "BER thresholds: SD. Value 'd' in 10e-%d"; + } + leaf sf-ber-report { + type Wanphy-alarm-rep-status; + description + "SF_BER Report"; + } + leaf sd-ber-report { + type Wanphy-alarm-rep-status; + description + "SD_BER Report"; + } + leaf operational-mode { + type Wanphy-mode-info; + description + "Operational Mode"; + } + leaf remote-ip { + type string; + description + "Remote IP Address"; + } + leaf register-p-febe { + type uint32; + description + "Register P_FEBE"; + } + leaf register-l-fe-bip { + type uint32; + description + "Register L_FE_BIP"; + } + leaf register-l-bip { + type uint32; + description + "Register L_BIP"; + } + leaf register-p-bec { + type uint32; + description + "Register P_BEC"; + } + leaf register-s-bip { + type uint32; + description + "Register S_BIP"; + } + leaf register-j1-rx0 { + type uint32; + description + "Register J1-Rx0"; + } + leaf register-j1-rx1 { + type uint32; + description + "Register J1-Rx1"; + } + leaf register-j1-rx2 { + type uint32; + description + "Register J1-Rx2"; + } + leaf register-j1-rx3 { + type uint32; + description + "Register J1-Rx3"; + } + leaf register-j1-rx4 { + type uint32; + description + "Register J1-Rx4"; + } + leaf register-j1-rx5 { + type uint32; + description + "Register J1-Rx5"; + } + leaf register-j1-rx6 { + type uint32; + description + "Register J1-Rx6"; + } + leaf register-j1-rx7 { + type uint32; + description + "Register J1-Rx7"; + } + leaf wanphy-poll-timer { + type uint32; + description + "wanphy poll timer"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper.yang new file mode 100644 index 0000000..3d8bdbc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wanphy-ui-oper.yang @@ -0,0 +1,64 @@ +module Cisco-IOS-XR-wanphy-ui-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wanphy-ui-oper"; + prefix wanphy-ui-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-wanphy-ui-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR wanphy-ui package operational data. + + This module contains definitions + for the following management objects: + wanphy: WANPHY operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container wanphy { + config false; + description + "WANPHY operational data"; + container controllers { + description + "All WANPHY controller operational data"; + list controller { + key "controller-name"; + description + "WANPHY controller operational data"; + container info { + description + "WANPHY controller operational data"; + uses WANPHY-EDM-INFO; + } + leaf controller-name { + type xr:Interface-name; + description + "Controller name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-watchd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-watchd-cfg.yang new file mode 100644 index 0000000..0a4c764 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-watchd-cfg.yang @@ -0,0 +1,205 @@ +module Cisco-IOS-XR-watchd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-watchd-cfg"; + prefix watchd-cfg; + + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR watchd package configuration. + + This module contains definitions + for the following management objects: + watchdog: Watchdog configuration commands + watchd: watchd + + This YANG module augments the + Cisco-IOS-XR-config-mda-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-10-12 { + description + "Descriptions updated."; + } + + grouping NODE-CFG { + description + "active/preconfigured nodes configuration"; + container watchdog-node-threshold { + description + "watchdog node threshold"; + container disk-threshold { + description + "Disk thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range(5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range(4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range(3, severe)"; + } + } + container memory-threshold { + description + "Memory thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range(5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range(4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range(3, severe)"; + } + } + } + } + + augment "/node:active-nodes/node:active-node" { + description + "This augment extends active nodes configuration"; + uses NODE-CFG; + } + augment "/node:preconfigured-nodes/node:preconfigured-node" { + description + "This augment extends preconfigured nodes + configuration"; + uses NODE-CFG; + } + container watchdog { + description + "Watchdog configuration commands"; + container threshold-memory { + description + "Memory thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range (5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range (4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range (3, severe)"; + } + } + container disk-limit { + description + "Disk thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range (5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range (4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range (3, severe)"; + } + } + leaf overload-notification { + type empty; + description + "Disable critical event notification"; + } + leaf restart-deadlock-disable { + type empty; + description + "Disable watchdog restart deadlock"; + } + leaf restart-memoryhog-disable { + type empty; + description + "Disable watchdog restart memory-hog"; + } + leaf overload-throttle-timeout { + type uint32 { + range "5..120"; + } + units "second"; + description + "Watchdog overload throttle timeout configuration"; + } + } + container watchd { + description + "watchd"; + leaf timeout { + type uint32 { + range "1..10"; + } + units "second"; + description + "Length of timeout in seconds"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-cfg.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-cfg.yang new file mode 100644 index 0000000..f860b6d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-cfg.yang @@ -0,0 +1,179 @@ +module Cisco-IOS-XR-wd-cfg { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wd-cfg"; + prefix wd-cfg; + + import Cisco-IOS-XR-config-mda-cfg { + prefix node; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR wd package configuration. + + This module contains definitions + for the following management objects: + watchdog: watchdog + + This YANG module augments the + Cisco-IOS-XR-config-mda-cfg + module with configuration data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-10-12 { + description + "Descriptions updated."; + } + + grouping NODE-CFG { + description + "active/preconfigured nodes configuration"; + container watchdog-node-threshold { + description + "Watchdog threshold configuration"; + container memory-threshold { + description + "Memory thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range(5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range(4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range(3, severe)"; + } + } + } + } + + augment "/node:active-nodes/node:active-node" { + description + "This augment extends active nodes configuration"; + uses NODE-CFG; + } + augment "/node:preconfigured-nodes/node:preconfigured-node" { + description + "This augment extends preconfigured nodes + configuration"; + uses NODE-CFG; + } + container watchdog { + description + "watchdog"; + container threshold-memory { + description + "Memory thresholds"; + leaf minor { + type uint32 { + range "5..40"; + } + description + "Threshold, Range(5, 40)"; + } + leaf severe { + type uint32 { + range "4..40"; + } + description + "Threshold, Range(4, minor)"; + } + leaf critical { + type uint32 { + range "3..40"; + } + description + "Threshold, Range(3, severe)"; + } + } + leaf threshold-memory-switchover { + type uint32 { + range "2..4"; + } + description + "switchover the RP at configured memory state"; + } + leaf restart-deadlock-disable { + type empty; + description + "Disable watchdog restart deadlock"; + } + leaf monitor-qnet-timeout { + type uint32 { + range "10..3600"; + } + units "second"; + description + "Watchdog monitor transport qnet timeout"; + } + leaf monitor-cpuhog-timeout { + type uint32 { + range "10..3600"; + } + units "second"; + description + "Watchdog monitor cpu-hog persistent timeout + configuration"; + } + leaf monitor-procnto-timeout { + type uint32 { + range "60..3600"; + } + units "second"; + description + "Watchdog monitor procnto timeout configuration"; + } + leaf overload-notification { + type empty; + description + "Disable critical event notification"; + } + leaf restart-cpuhog-disable { + type empty; + description + "Disable watchdog restart cpu-hog"; + } + leaf restart-memoryhog-disable { + type empty; + description + "Disable watchdog restart memory-hog"; + } + leaf overload-throttle-timeout { + type uint32 { + range "5..120"; + } + units "second"; + description + "Watchdog overload throttle timeout configuration"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper-sub1.yang new file mode 100644 index 0000000..6cf5b13 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper-sub1.yang @@ -0,0 +1,216 @@ +submodule Cisco-IOS-XR-wd-oper-sub1 { + belongs-to Cisco-IOS-XR-wd-oper { + prefix Cisco-IOS-XR-wd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR wd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + typedef Overload-ctrl-notif { + type enumeration { + enum "disabled" { + description + "Diabled"; + } + enum "enabled" { + description + "Enabled"; + } + } + description + "Overload control notification"; + } + + typedef Memory-state { + type enumeration { + enum "unknown" { + value 0; + description + "Memory state unknown"; + } + enum "normal" { + value 1; + description + "Memory state normal"; + } + enum "minor" { + value 2; + description + "Memory state minor"; + } + enum "severe" { + value 3; + description + "Memory state severe"; + } + enum "critical" { + value 4; + description + "Memory state critical"; + } + } + description + "Memory state options"; + } + + grouping LAST-THR-INFO { + description + "Last throttle details"; + leaf throttle-duration { + type uint32; + units "second"; + description + "Last throttle duration in seconds"; + } + leaf start-time { + type string { + length "0..25"; + } + description + "Last throttle start time in format :day-of-week + month date-of-month HH:MM:SS year eg: Thu Feb 1 + 18:32:14 2011"; + } + leaf stop-time { + type string { + length "0..25"; + } + description + "Last throttle stop time in format :day-of-week + month date-of-month HH:MM:SS year eg: Thu Feb 1 + 18:32:14 2011"; + } + } + + grouping CUR-THR-INFO { + description + "Current throttle details"; + leaf throttle-duration { + type uint32; + units "second"; + description + "Current throttle duration in seconds"; + } + leaf start-time { + type string { + length "0..25"; + } + description + "Current throttle start time in format + :day-of-week month date-of-month HH:MM:SS year + eg: Thu Feb 1 18:32:14 2011"; + } + } + + grouping OVERLOAD-CONTROL { + description + "Overload control state information"; + container current-throttle { + description + "Current throttle information"; + uses CUR-THR-INFO; + } + leaf overload-control-notification { + type Overload-ctrl-notif; + description + "State of overload control notification"; + } + leaf default-wdsysmon-throttle { + type uint32; + description + "Default resmon throttle"; + } + leaf configured-wdsysmon-throttle { + type uint32; + description + "Configured resmon throttle"; + } + list last-throttle { + max-elements "20"; + description + "Last throttle information"; + uses LAST-THR-INFO; + } + } + + grouping MEMORY-DETAILS { + description + "Memory information"; + leaf physical-memory { + type uint32; + units "byte"; + description + "Physical memory in bytes"; + } + leaf free-memory { + type uint64; + units "byte"; + description + "Free memory in bytes"; + } + leaf memory-state { + type Memory-state; + description + "State of memory"; + } + } + + grouping CONF-MEM-THRESHOLD { + description + "Configured memory threshold"; + leaf minor { + type uint32; + units "byte"; + description + "Minor memory threshold in bytes"; + } + leaf severe { + type uint32; + units "byte"; + description + "Severe memory threshold in bytes"; + } + leaf critical { + type uint64; + units "byte"; + description + "Critical memory in bytes"; + } + } + + grouping MEMORY-THRESHOLD { + description + "Memory threshold"; + container configured-memory { + description + "Configured memory"; + uses CONF-MEM-THRESHOLD; + } + container memory { + description + "Memory Information"; + uses MEMORY-DETAILS; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper.yang new file mode 100644 index 0000000..e0fab44 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wd-oper.yang @@ -0,0 +1,83 @@ +module Cisco-IOS-XR-wd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wd-oper"; + prefix wd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-wd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR wd package operational data. + + This module contains definitions + for the following management objects: + watchdog: Watchdog information + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + + container watchdog { + config false; + description + "Watchdog information"; + container nodes { + description + "List of nodes"; + list node { + key "node-name"; + description + "Node ID"; + container threshold-memory { + description + "Threshold memory"; + container default { + description + "System default memory"; + uses MEMORY-THRESHOLD; + } + container configured { + description + "Memory configured by user"; + uses CONF-MEM-THRESHOLD; + } + } + container memory-state { + description + "Memory state"; + uses MEMORY-DETAILS; + } + container overload-state { + description + "Display overload control state"; + uses OVERLOAD-CONTROL; + } + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang new file mode 100644 index 0000000..102b39b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper-sub1.yang @@ -0,0 +1,94 @@ +submodule Cisco-IOS-XR-wdsysmon-fd-oper-sub1 { + belongs-to Cisco-IOS-XR-wdsysmon-fd-oper { + prefix Cisco-IOS-XR-wdsysmon-fd-oper; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This submodule contains a collection of YANG definitions + for Cisco IOS-XR wdsysmon-fd package operational data. + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-08-15 { + description + "IOS XR 5.3.2 revision."; + } + + grouping PROCESS-CPU-UTIL { + description + "Process CPU utilization information"; + leaf process-name { + type string; + description + "Process name"; + } + leaf process-id { + type uint32; + description + "Process ID"; + } + leaf process-cpu-one-minute { + type uint32; + units "percentage"; + description + "Process CPU utilization in percent for past 1 + minute"; + } + leaf process-cpu-five-minute { + type uint32; + units "percentage"; + description + "Process CPU utilization in percent for past 5 + minute"; + } + leaf process-cpu-fifteen-minute { + type uint32; + units "percentage"; + description + "Process CPU utilization in percent for past 15 + minute"; + } + } + + grouping NODE-CPU-UTIL { + description + "Node CPU utilization information"; + leaf total-cpu-one-minute { + type uint32; + description + "Total CPU utilization in past 1 minute"; + } + leaf total-cpu-five-minute { + type uint32; + description + "Total CPU utilization in past 5 minute"; + } + leaf total-cpu-fifteen-minute { + type uint32; + description + "Total CPU utilization in past 15 minute"; + } + list process-cpu { + description + "Per process CPU utilization"; + uses PROCESS-CPU-UTIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper.yang b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper.yang new file mode 100644 index 0000000..d256cdb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/Cisco-IOS-XR-wdsysmon-fd-oper.yang @@ -0,0 +1,60 @@ +module Cisco-IOS-XR-wdsysmon-fd-oper { + namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-wdsysmon-fd-oper"; + prefix wdsysmon-fd-oper; + + import Cisco-IOS-XR-types { + prefix xr; + } + include Cisco-IOS-XR-wdsysmon-fd-oper-sub1 { + revision-date 2015-11-09; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a collection of YANG definitions + for Cisco IOS-XR wdsysmon-fd package operational data. + + This module contains definitions + for the following management objects: + system-monitoring: Processes operational data + + Copyright (c) 2013-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-11-09 { + description + "IOS XR 6.0 revision."; + } + revision 2015-08-15 { + description + "IOS XR 5.3.2 revision."; + } + + container system-monitoring { + config false; + description + "Processes operational data"; + list cpu-utilization { + key "node-name"; + description + "Processes CPU utilization information"; + leaf node-name { + type xr:Node-id; + description + "Node name"; + } + uses NODE-CPU-UTIL; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/SNMP-FRAMEWORK-MIB.yang b/yang/modules/cisco-ios-xr/632/SNMP-FRAMEWORK-MIB.yang new file mode 100644 index 0000000..69cd3b8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/SNMP-FRAMEWORK-MIB.yang @@ -0,0 +1,105 @@ +/* + * SNMP-FRAMEWORK-MIB.yang + * Copyright (c) 2015 by Cisco Systems, Inc. + * All rights reserved. + */ + +module SNMP-FRAMEWORK-MIB { + namespace "http://tail-f.com/ns/mibs/SNMP-FRAMEWORK-MIB/200210140000Z"; + prefix SNMP_FRAMEWORK_MIB; + tailf:id ""; + tailf:snmp-mib-module-name "SNMP-FRAMEWORK-MIB"; + + import tailf-common { + prefix tailf; + } + + revision 2002-10-14 { + description + ""; + } + + container SNMP-FRAMEWORK-MIB { + config false; + container snmpEngine { + tailf:snmp-oid "1.3.6.1.6.3.10.2.1"; + leaf snmpEngineID { + type SnmpEngineID; + tailf:snmp-oid "1.3.6.1.6.3.10.2.1.1"; + config false; + } + leaf snmpEngineBoots { + type snmpEngineBootsType; + tailf:snmp-oid "1.3.6.1.6.3.10.2.1.2"; + config false; + } + leaf snmpEngineTime { + type snmpEngineTimeType; + tailf:snmp-oid "1.3.6.1.6.3.10.2.1.3"; + config false; + } + leaf snmpEngineMaxMessageSize { + type snmpEngineMaxMessageSizeType; + tailf:snmp-oid "1.3.6.1.6.3.10.2.1.4"; + config false; + } + } + } + + typedef SnmpEngineID { + type tailf:hex-list { + pattern "(((([0-9A-Fa-f]{2}):){4,31})([0-9A-Fa-f]{2}))"; + tailf:value-length "5 .. 32"; + } + } + + typedef SnmpSecurityModel { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef SnmpMessageProcessingModel { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef SnmpSecurityLevel { + type enumeration { + enum "noAuthNoPriv" { + value 1; + } + enum "authNoPriv" { + value 2; + } + enum "authPriv" { + value 3; + } + } + } + + typedef SnmpAdminString { + type string { + length "min .. 255"; + } + } + + typedef snmpEngineBootsType { + type int32 { + range "1 .. 2147483647"; + } + } + + typedef snmpEngineTimeType { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef snmpEngineMaxMessageSizeType { + type int32 { + range "484 .. 2147483647"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/SNMPv2-TC.yang b/yang/modules/cisco-ios-xr/632/SNMPv2-TC.yang new file mode 100644 index 0000000..e28e399 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/SNMPv2-TC.yang @@ -0,0 +1,149 @@ +/* + * SNMPv2-TC.yang + * Copyright (c) 2015-2016 by Cisco Systems, Inc. + * All rights reserved. + */ + +module SNMPv2-TC { + namespace "http://tail-f.com/ns/mibs/SNMPv2-TC/1.0"; + prefix SNMPv2_TC; + tailf:id ""; + tailf:snmp-mib-module-name "SNMPv2-TC"; + + import ietf-yang-types { + prefix yang; + } + import tailf-common { + prefix tailf; + } + import ietf-yang-smiv2 { + prefix smiv2; + } + + revision 2016-08-18 { + description + "Initial revision"; + } + + typedef DisplayString { + type string { + length "min .. 255"; + } + } + + typedef PhysAddress { + type tailf:hex-list { + pattern "(((([0-9A-Fa-f]{2}):)*([0-9A-Fa-f]{2}))){0,1}"; + } + } + + typedef MacAddress { + type tailf:hex-list { + pattern "(((([0-9A-Fa-f]{2}):){5,5})([0-9A-Fa-f]{2}))"; + tailf:value-length "6"; + } + } + + typedef TruthValue { + type enumeration { + enum "true" { + value 1; + } + enum "false" { + value 2; + } + } + } + + typedef TestAndIncr { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef AutonomousType { + type yang:object-identifier; + } + + typedef InstancePointer { + type yang:object-identifier; + } + + typedef VariablePointer { + type yang:object-identifier; + } + + typedef RowPointer { + type yang:object-identifier; + } + + typedef RowStatus { + type enumeration { + enum "active" { + value 1; + } + enum "notInService" { + value 2; + } + enum "notReady" { + value 3; + } + enum "createAndGo" { + value 4; + } + enum "createAndWait" { + value 5; + } + enum "destroy" { + value 6; + } + } + } + + typedef TimeStamp { + type uint32 { + range "0 .. 4294967295"; + } + } + + typedef TimeInterval { + type int32 { + range "0 .. 2147483647"; + } + } + + typedef DateAndTime { + smiv2:display-hint "2d-1d-1d,1d:1d:1d.1d,1a1d:1d"; + type string; + } + + typedef StorageType { + type enumeration { + enum "other" { + value 1; + } + enum "volatile" { + value 2; + } + enum "nonVolatile" { + value 3; + } + enum "permanent" { + value 4; + } + enum "readOnly" { + value 5; + } + } + } + + typedef TDomain { + type yang:object-identifier; + } + + typedef TAddress { + type tailf:octet-list { + tailf:value-length "1 .. 255"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/canb_cli_clear.yang b/yang/modules/cisco-ios-xr/632/canb_cli_clear.yang new file mode 100644 index 0000000..9c35f31 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/canb_cli_clear.yang @@ -0,0 +1,46 @@ +module canb_cli_clear { + namespace "http://cisco.com/calvados/canb_cli_clear"; + prefix canb_clear; + organization "Cisco Systems Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + This module is for clearing OIR counters. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + revision 2016-05-24 { + description + "Initial revision."; + } + + + grouping canb-clear-grp { + container plugin { + config false; + container slot { + config false; + list location { + key "location"; + config false; + leaf location { + type string; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/ccc.yang b/yang/modules/cisco-ios-xr/632/ccc.yang new file mode 100644 index 0000000..10451ba --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ccc.yang @@ -0,0 +1,873 @@ +module ccc { + namespace "http://cisco.com/calvados/ccc"; + prefix ccc; + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + revision 2016-10-12 { + description + "Unhide commands and configs. Moved to advanced-grp"; + } + + + typedef startHexOffset { + type string; + } + + typedef endHexOffset { + type string; + } + + typedef HexOffset { + type string; + } + + grouping ccc-grp { + container ccc_driver { + uses show_trace:traceable; + uses show-ccc-cli-group-master; + uses show-ccc-cli-group-slave; + uses ccc-action-group; + } + } + + grouping show-ccc-cli-group-master { + uses bootflash-group; + uses inventory-group; + uses power-group; + uses reset-hist-group; + uses register-group; + uses ejector-group; + uses i2c-dev-group; + uses ethernet-group; + uses master-event-hist-group; + uses master-oir-hist-group; + uses master-notif-hist-group; + } + + grouping show-ccc-cli-group-slave { + container slave { + uses slave-event-hist-group; + uses slave-notif-hist-group; + uses slave-oir-hist-group; + } + } + + grouping bootflash-group { + container bootflash { + config false; + container info { + config false; + list location { + key "location"; + leaf location { + type string; + } + container bf_info { + leaf-list bf_info_values { + type string; + } + } + } + } + container status { + config false; + list location { + key "location"; + leaf location { + type string; + } + container bf_status { + leaf-list bf_status_values { + type string; + } + } + } + } + container cre_status { + config false; + list location { + key "location"; + leaf location { + type string; + } + container bf_status { + leaf-list bf_status_values { + type string; + } + } + } + } + } + } + + grouping master-health-group { + container health { + config false; + uses health-group; + } + } + + grouping slave-health-group { + container health { + config false; + uses health-group; + } + } + + grouping health-group { + list location { + key "location"; + leaf location { + type string; + } + container health_status { + leaf-list health_status_values { + type string; + } + } + } + } + + grouping inventory-group { + container inventory { + config false; + uses inventory-summary-group; + uses inventory-status-group; + uses inventory-detail-group; + } + } + + grouping inventory-summary-group { + container summary { + config false; + list ccc_inv_summary { + key "location"; + leaf location { + type string; + mandatory true; + } + leaf ccc_inv_PID_string { + type string; + } + leaf ccc_inv_slot_number { + type uint32; + } + leaf ccc_inv_serial_number { + type string; + } + leaf ccc_inv_hw_version { + type string; + } + leaf ccc_inv_card_state { + type string; + } + } + } + container version { + config false; + list ccc_inv_version { + key "location"; + leaf location { + type string; + mandatory true; + } + leaf ccc_inv_PID_string { + type string; + } + leaf ccc_inv_ccc_version { + type string; + } + leaf ccc_inv_FPGA_version { + type string; + } + leaf ccc_inv_pon_version { + type string; + } + leaf ccc_inv_switch_version { + type string; + } + } + } + } + + grouping inventory-status-group { + container status { + config false; + list ccc_inv_status { + key "location"; + leaf location { + type string; + mandatory true; + } + container ccc_inv_status_list { + leaf-list ccc_inv_status_values { + type string; + } + } + } + } + } + + grouping inventory-detail-group { + container detail { + config false; + list ccc_inv_detail { + key "location"; + leaf location { + type string; + } + container ccc_inv_detail_list { + leaf-list ccc_inv_detail_values { + type string; + } + } + } + } + } + + grouping power-group { + container power { + config false; + uses ccc-master-access-group; + } + } + + grouping ccc-master-access-group { + container master-access { + config false; + uses ccc-power-summary-group; + uses ccc-power-detail-group; + } + } + + grouping ccc-power-summary-group { + container summary { + config false; + list power_summary { + key "ccc_power_location"; + leaf ccc_power_location { + type string; + mandatory true; + } + leaf card_type { + type string; + } + leaf power_state { + type string; + } + } + } + } + + grouping ccc-power-detail-group { + container detail { + config false; + list location { + key "location"; + leaf location { + type string; + } + container power_details { + leaf-list power_details_values { + type string; + } + } + } + } + } + + grouping reset-hist-group { + container reset-history { + config false; + uses reset-hist-chip-group; + uses reset-hist-onboard-group; + } + } + + grouping reset-hist-chip-group { + container onchip { + config false; + list location { + key "loc"; + leaf loc { + type string; + } + leaf ccc_reset_timeofday { + type string; + } + leaf ccc_reset_uptime { + type string; + } + leaf ccc_hw_reset_count { + type uint32; + } + list ccc_reset_entry { + key "ccc_reset_entry"; + leaf ccc_reset_entry { + type int32; + } + leaf ccc_reset_pos { + type uint32; + } + leaf ccc_reset_idx { + type uint32; + } + leaf ccc_reset_word0 { + type uint32; + } + leaf ccc_reset_pidx { + type uint32; + } + leaf ccc_reset_sor { + type uint32; + } + leaf ccc_reset_sor_string { + type string; + } + leaf ccc_reset_cmd { + type uint32; + } + leaf ccc_reset_cmd_string { + type string; + } + leaf ccc_reset_hrm { + type uint32; + } + leaf ccc_reset_srm { + type uint32; + } + leaf ccc_reset_hr { + type uint32; + } + leaf ccc_reset_sr { + type uint32; + } + leaf ccc_reset_word1 { + type uint32; + } + leaf ccc_reset_date { + type string; + } + } + } + } + } + + grouping reset-hist-onboard-group { + container onboard { + config false; + list location { + key "loc"; + leaf loc { + type string; + } + leaf ccc_reset_scratch_sig { + type string; + } + leaf ccc_reset_scratch_version { + type uint32; + } + leaf ccc_reset_history_sig { + type string; + } + leaf ccc_reset_history_count { + type uint32; + } + list ccc_reset_onboard_entry { + key "ccc_reset_onboard_entry"; + leaf ccc_reset_onboard_entry { + type int32; + } + leaf ccc_reset_pos { + type uint32; + } + leaf ccc_reset_idx { + type uint32; + } + leaf ccc_reset_word0 { + type uint32; + } + leaf ccc_reset_pidx { + type uint32; + } + leaf ccc_reset_sor { + type uint32; + } + leaf ccc_reset_sor_string { + type string; + } + leaf ccc_reset_cmd { + type uint32; + } + leaf ccc_reset_cmd_string { + type string; + } + leaf ccc_reset_hrm { + type uint32; + } + leaf ccc_reset_srm { + type uint32; + } + leaf ccc_reset_hr { + type uint32; + } + leaf ccc_reset_sr { + type uint32; + } + leaf ccc_reset_word1 { + type uint32; + } + leaf ccc_reset_date { + type string; + } + } + } + } + } + + grouping register-group { + container register { + config false; + list register_location { + config false; + key "register_location"; + leaf register_location { + type string; + } + uses ccc-block-number-group; + uses ccc-offset-group; + uses ccc-address-group; + } + } + } + + grouping ccc-block-number-group { + list ccc_block_number { + config false; + key "ccc_block_num"; + leaf ccc_block_num { + type uint32; + } + leaf block_location { + type string; + } + leaf ccc_block_nm { + type string; + } + list ccc_register_number { + key "index"; + leaf index { + type uint32; + } + leaf ccc_register_name { + type string; + } + list ccc_data { + leaf name { + type string; + } + leaf offset { + type uint32; + } + leaf value { + type uint32; + } + } + } + } + } + + grouping ccc-offset-group { + list ccc_offset { + config false; + key "hex_offset"; + leaf hex_offset { + type HexOffset; + } + list ccc_reg_offset_data { + leaf ccc_reg_off_addr { + type uint32; + } + leaf reg_off_value { + type string; + } + } + } + } + + grouping ccc-address-group { + list ccc_address { + config false; + key "start_hex_addr end_hex_addr"; + leaf start_hex_addr { + type startHexOffset; + } + leaf end_hex_addr { + type endHexOffset; + } + list ccc_reg_range_addr_list { + key "ccc_reg_range_addr"; + leaf ccc_reg_range_addr { + type uint32; + } + list ccc_reg_data { + leaf ccc_reg_addr { + type uint32; + } + leaf reg_value { + type string; + } + } + } + } + } + + grouping ejector-group { + container ejector { + config false; + uses ejector-status-group; + } + } + + grouping ejector-status-group { + container status { + config false; + list ccc_ejector_status { + key "location"; + leaf location { + type string; + } + leaf ccc_is_fc_card_type { + type boolean; + default "false"; + } + leaf ccc_is_lc_card_type { + type boolean; + default "false"; + } + leaf ccc_is_rp_sc_card_type { + type boolean; + default "false"; + } + leaf ccc_ejc_card_type { + type uint32; + } + leaf ccc_ejc_platform { + type uint32; + } + leaf ccc_ejc_board_type { + type string; + } + leaf ccc_ejc_card_slot { + type uint32; + } + leaf ccc_ejc_card_version { + type string; + } + leaf ccc_ejc_board_version { + type string; + } + leaf ccc_ejc_hw_version { + type string; + } + leaf ccc_ejc_core_version { + type string; + } + leaf ccc_ejc_pon_version { + type string; + } + leaf ccc_ejc_rp_supported { + type string; + } + leaf ccc_ejc_enable { + type string; + } + leaf ccc_ejc_status { + type string; + } + leaf ccc_ejc_rp_pex_csr { + type string; + } + leaf ccc_ejc_gp_live { + type string; + } + leaf ccc_ejc_gp_status { + type string; + } + leaf ccc_ejc_fc_pex_csr { + type string; + } + leaf ccc_ejc_fc_ejector_support { + type string; + } + leaf ccc_ejc_lc_pex_csr { + type string; + } + leaf ccc_ejc_lc_ejector_support { + type string; + } + } + } + } + + grouping master-event-hist-group { + container event-history { + config false; + container brief { + config false; + uses event-hist-group-brief; + } + container detail { + config false; + uses event-hist-group-detail; + } + } + } + + grouping slave-event-hist-group { + container event-history { + config false; + container brief { + config false; + uses event-hist-group-brief; + } + container detail { + config false; + uses event-hist-group-detail; + } + } + } + + grouping event-hist-group-brief { + list location { + key "location"; + leaf location { + type string; + } + container card_event_hist_brief { + leaf-list card_event_hist_brief_values { + type string; + } + } + } + } + + grouping event-hist-group-detail { + list location { + key "location"; + leaf location { + type string; + } + container card_event_hist_detail { + leaf-list card_event_hist_detail_values { + type string; + } + } + } + } + + grouping master-notif-hist-group { + container notif-history { + config false; + container brief { + config false; + uses notif-hist-group-brief; + } + container detail { + config false; + uses notif-hist-group-detail; + } + } + } + + grouping slave-notif-hist-group { + container notif-history { + config false; + container brief { + config false; + uses notif-hist-group-brief; + } + container detail { + config false; + uses notif-hist-group-detail; + } + } + } + + grouping notif-hist-group-brief { + list location { + key "location"; + leaf location { + type string; + } + container card_notif_hist_brief { + leaf-list card_notif_hist_brief_values { + type string; + } + } + } + } + + grouping notif-hist-group-detail { + list location { + key "location"; + leaf location { + type string; + } + container card_notif_hist_detail { + leaf-list card_notif_hist_detail_values { + type string; + } + } + } + } + + grouping i2c-dev-group { + container i2c-dev { + config false; + uses cpu-complex-group; + uses io-expander-group; + } + } + + grouping cpu-complex-group { + container cpu-complex { + config false; + list location { + key "location"; + leaf location { + type string; + } + container cpu_complex_detail { + leaf-list cpu_complex_values { + type string; + } + } + } + } + } + + grouping io-expander-group { + container ioexpander { + config false; + list location { + key "location"; + leaf location { + type string; + } + container io_exp_val { + leaf-list io_exp_details { + type string; + } + } + } + } + } + + grouping ccc-action-group { + container action { + config false; + container register { + config false; + list location { + key "location"; + config false; + leaf location { + type string; + } + } + } + } + } + + grouping master-oir-hist-group { + container oir-history { + config false; + uses oir-hist-group; + } + } + + grouping slave-oir-hist-group { + container oir-history { + config false; + uses oir-hist-group; + } + } + + grouping oir-hist-group { + list rack { + key "rack"; + leaf rack { + type string; + } + container card_oir_hist { + leaf-list card_oir_events { + type string; + } + } + } + } + + grouping ethernet-group { + container ethernet { + config false; + uses ethernet-status; + uses ethernet-counters; + } + } + + grouping ethernet-status { + container ethernet_status { + config false; + list location { + key "location"; + leaf location { + type string; + } + container ethernet_status { + leaf-list ethernet_status_values { + type string; + } + } + } + } + } + + grouping ethernet-counters { + container ethernet_counters { + config false; + list location { + key "location"; + leaf location { + type string; + } + container ethernet_counters { + leaf-list ethernet_counter_values { + type string; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-ietf-netconf-monitoring-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-ietf-netconf-monitoring-deviations.yang new file mode 100644 index 0000000..6b34026 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-ietf-netconf-monitoring-deviations.yang @@ -0,0 +1,45 @@ +module cisco-xr-ietf-netconf-monitoring-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-ietf-netconf-monitoring-deviations"; + prefix cisco-xr-ietf-ncm-devs; + + import ietf-netconf-monitoring { + prefix ncm; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations of IETF netconf monitoring data + model set for Cisco IOS-XR. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-02-16 { + description + "Initial revision applicable to IOS-XR 6.0.1 and older releases"; + } + + deviation "/ncm:netconf-state/ncm:capabilities" { + deviate not-supported; + } + deviation "/ncm:netconf-state/ncm:datastores" { + deviate not-supported; + } + deviation "/ncm:netconf-state/ncm:sessions" { + deviate not-supported; + } + deviation "/ncm:netconf-state/ncm:statistics" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-deviations.yang new file mode 100644 index 0000000..9e2e922 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-deviations.yang @@ -0,0 +1,889 @@ +module cisco-xr-openconfig-bgp-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-bgp-deviations"; + prefix cisco-xr-oc-bgp-devs; + + import openconfig-bgp { + prefix bgp; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations of Open Config BGP YANG + set for Cisco IOS-XR. + + Copyright (c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-02 { + description + "Updated revision applicable to IOS-XR 6.2.2"; + } + + deviation "/bgp:bgp/bgp:global/bgp:confederation/bgp:config/bgp:enabled" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:graceful-restart/bgp:config/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:graceful-restart/bgp:state/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:config" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:ebgp/bgp:config/bgp:allow-multiple-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:use-multiple-paths/bgp:ebgp/bgp:state/bgp:allow-multiple-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:external-compare-router-id" { + deviate replace { + default "false"; + } + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:advertise-inactive-routes" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:enable-aigp" { + deviate replace { + default "true"; + } + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:config/bgp:ignore-next-hop-igp-metric" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:external-compare-router-id" { + deviate replace { + default "false"; + } + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:advertise-inactive-routes" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:enable-aigp" { + deviate replace { + default "true"; + } + } + deviation "/bgp:bgp/bgp:global/bgp:route-selection-options/bgp:state/bgp:ignore-next-hop-igp-metric" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:route-selection-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:config" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp/bgp:config/bgp:allow-multiple-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp/bgp:state/bgp:allow-multiple-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:global/bgp:apply-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:enabled" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:peer-type" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:route-flap-damping" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:enabled" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:peer-type" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:route-flap-damping" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:last-established" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:established-transitions" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:config/bgp:connect-retry" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:state/bgp:connect-retry" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:config/bgp:mtu-discovery" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:transport/bgp:state/bgp:mtu-discovery" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:error-handling" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:logging-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:as-path-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:add-paths" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:state/bgp:prefixes/bgp:installed" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:config/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:peer-restarting" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:local-restarting" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state/bgp:mode" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:apply-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:use-multiple-paths" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:peer-type" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:route-flap-damping" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:peer-type" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:route-flap-damping" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:total-paths" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:total-prefixes" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:timers/bgp:config/bgp:connect-retry" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:timers/bgp:state/bgp:connect-retry" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:transport/bgp:config/bgp:mtu-discovery" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:transport/bgp:state/bgp:mtu-discovery" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:error-handling" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:logging-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:as-path-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:add-paths" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:config/bgp:default-import-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:config/bgp:default-export-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:state/bgp:default-import-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:apply-policy/bgp:state/bgp:default-export-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv4-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:ipv6-labeled-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-unicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv4-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l3vpn-ipv6-multicast/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-vpls/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:config/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:max-prefixes" { + deviate add { + must "shutdown-threshold-pct"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:shutdown-threshold-pct" { + deviate add { + must "max-prefixes"; + default "75"; + } + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:l2vpn-evpn/bgp:prefix-limit/bgp:state/bgp:restart-timer" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ebgp" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:use-multiple-paths/bgp:ibgp" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:afi-safis/bgp:afi-safi/bgp:route-selection-options" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:graceful-restart/bgp:config/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:graceful-restart/bgp:state/bgp:helper-only" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:apply-policy" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:use-multiple-paths" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:remove-private-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config/bgp:send-community" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:route-reflector/bgp:config/bgp:route-reflector-client" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:route-reflector/bgp:state/bgp:route-reflector-client" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:remove-private-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state/bgp:send-community" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:remove-private-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:config/bgp:send-community" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:route-reflector/bgp:config/bgp:route-reflector-client" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:route-reflector/bgp:state/bgp:route-reflector-client" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:remove-private-as" { + deviate not-supported; + } + deviation "/bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:state/bgp:send-community" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-policy-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-policy-deviations.yang new file mode 100644 index 0000000..0f6a325 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-bgp-policy-deviations.yang @@ -0,0 +1,66 @@ +module cisco-xr-openconfig-bgp-policy-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-bgp-policy-deviations"; + prefix cisco-xr-oc-bgp-pol-devs; + + import openconfig-routing-policy { + prefix rpol; + } + import openconfig-bgp-policy { + prefix bgp-pol; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the deviations of Open Config BGP Policy YANG + set for Cisco IOS-XR. + + Copyright (c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-02 { + description + "Updated revision applicable to IOS-XR 6.2.2"; + } + + deviation "/rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:ext-community-sets" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:config/bgp-pol:afi-safi-in" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:config/bgp-pol:route-type" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:state/bgp-pol:afi-safi-in" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:state/bgp-pol:route-type" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:community-count" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/bgp-pol:bgp-conditions/bgp-pol:match-ext-community-set" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-community/bgp-pol:config/bgp-pol:method" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-community/bgp-pol:state/bgp-pol:method" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions/bgp-pol:set-ext-community" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ethernet-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ethernet-deviations.yang new file mode 100644 index 0000000..4ad1c57 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ethernet-deviations.yang @@ -0,0 +1,45 @@ +module cisco-xr-openconfig-if-ethernet-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-if-ethernet-deviations"; + prefix ethdevs; + + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-if-ethernet { + prefix eth; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-if-ethernet.yang@2015-11-20 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-16 { + description + "Initial revision applicable to IOS-XR 6.1.1"; + } + + deviation "/oc-if:interfaces/oc-if:interface/eth:ethernet/eth:state/eth:counters/eth:in-mac-control-frames" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/eth:ethernet/eth:state/eth:counters/eth:out-mac-control-frames" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ip-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ip-deviations.yang new file mode 100644 index 0000000..8dd54c3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-if-ip-deviations.yang @@ -0,0 +1,138 @@ +module cisco-xr-openconfig-if-ip-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-if-ip-deviations"; + prefix oc-ipdevs; + + import openconfig-if-ip { + prefix oc-ip; + } + import openconfig-vlan { + prefix oc-vlan; + } + import openconfig-interfaces { + prefix oc-if; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-if-ip.yang@2016-05-26 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-07 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:addresses/oc-ip:address" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:neighbors/oc-ip:neighbor" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:config/oc-ip:mtu" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:state/oc-ip:mtu" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:addresses/oc-ip:address" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:neighbors/oc-ip:neighbor" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:config" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:unnumbered/oc-ip:interface-ref/oc-ip:state" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:mtu" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:config/oc-ip:dup-addr-detect-transmits" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:enabled" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:mtu" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:state/oc-ip:dup-addr-detect-transmits" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-deviations.yang new file mode 100644 index 0000000..90464d9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-deviations.yang @@ -0,0 +1,46 @@ +module cisco-xr-openconfig-interfaces-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-deviations"; + prefix ocifdevs; + + import openconfig-interfaces { + prefix oc-if; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-interfaces.yang@2015-11-20 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-16 { + description + "Initial revision applicable to IOS-XR 6.1.1"; + } + + deviation "/oc-if:interfaces/oc-if:interface/oc-if:config/oc-if:enabled" { + deviate delete { + default "true"; + } + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:state/oc-if:enabled" { + deviate delete { + default "true"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-types.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-types.yang new file mode 100644 index 0000000..1143605 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-interfaces-types.yang @@ -0,0 +1,95 @@ +module cisco-xr-openconfig-interfaces-types { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-interfaces-types"; + prefix cisco-oc-if-types; + + import openconfig-interfaces { + prefix oc-if; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This model maintains data items defined in the Openconfig + interfaces yang file revision 1.0.2 untill it is + supported by Cisco, as these data items are needed by + openconfig-local-routing YANG model + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-12 { + description + "IOS XR 6.2.1 revision."; + } + + typedef interface-ref { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "This type is used by data models that need to reference + configured interfaces."; + } + + grouping interface-ref-common { + description + "Reference leafrefs to interface / subinterface"; + leaf interface { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "Reference to a base interface. If a reference to a + subinterface is required, this leaf must be specified + to indicate the base interface."; + } + leaf subinterface { + type leafref { + path "/oc-if:interfaces/oc-if:interface[oc-if:name=current()/../interface]/oc-if:subinterfaces/oc-if:subinterface/oc-if:index"; + } + description + "Reference to a subinterface -- this requires the base + interface to be specified using the interface leaf in + this container. If only a reference to a base interface + is requuired, this leaf should not be set."; + } + } + + grouping interface-ref-state-container { + description + "Reusable opstate w/container for a reference to an + interface or subinterface"; + container state { + config false; + description + "Operational state for interface-ref"; + uses interface-ref-common; + } + } + + grouping interface-ref { + description + "Reusable definition for a reference to an interface or + subinterface"; + container interface-ref { + description + "Reference to an interface or subinterface"; + container config { + description + "Configured reference to interface / subinterface"; + uses interface-ref-common; + } + uses interface-ref-state-container; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lacp-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lacp-deviations.yang new file mode 100644 index 0000000..2a875d9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lacp-deviations.yang @@ -0,0 +1,39 @@ +module cisco-xr-openconfig-lacp-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-lacp-deviations"; + prefix lacpdevs; + + import openconfig-lacp { + prefix oc-lacp; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-if-aggregate.yang@2015-11-20 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-16 { + description + "Initial revision applicable to IOS-XR 6.1.1"; + } + + deviation "/oc-lacp:lacp/oc-lacp:interfaces/oc-lacp:interface/oc-lacp:members/oc-lacp:member/oc-lacp:state/oc-lacp:counters/oc-lacp:lacp-tx-errors" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lldp-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lldp-deviations.yang new file mode 100644 index 0000000..c5042fe --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-lldp-deviations.yang @@ -0,0 +1,87 @@ +module cisco-xr-openconfig-lldp-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-lldp-deviations"; + prefix lldpdevs; + + import openconfig-lldp { + prefix oc-lldp; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-lldp.yang@2017-03-08 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-08 { + description + "Initial revision applicable to IOS-XR 6.3.2"; + } + + deviation "/oc-lldp:lldp/oc-lldp:config/oc-lldp:system-name" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:config/oc-lldp:system-description" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:config/oc-lldp:chassis-id" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:config/oc-lldp:chassis-id-type" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:state/oc-lldp:system-description" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:state/oc-lldp:counters/oc-lldp:last-clear" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:state/oc-lldp:counters/oc-lldp:tlv-accepted" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-in" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-out" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-error-in" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-discard" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:tlv-discard" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:tlv-unknown" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:last-clear" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-error-out" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:neighbors/oc-lldp:neighbor/oc-lldp:state/oc-lldp:age" { + deviate not-supported; + } + deviation "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:neighbors/oc-lldp:neighbor/oc-lldp:state/oc-lldp:last-update" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-local-routing-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-local-routing-deviations.yang new file mode 100644 index 0000000..88893ae --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-local-routing-deviations.yang @@ -0,0 +1,45 @@ +module cisco-xr-openconfig-local-routing-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-local-routing-deviations"; + prefix oc-loc-rtdevs; + + import openconfig-local-routing { + prefix oc-loc-rt; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-local-routing.yang@2016-05-11 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-02-04 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-loc-rt:local-routes/oc-loc-rt:static-routes/oc-loc-rt:static/oc-loc-rt:next-hops/oc-loc-rt:next-hop/oc-loc-rt:config/oc-loc-rt:recurse" { + deviate not-supported; + } + deviation "/oc-loc-rt:local-routes/oc-loc-rt:static-routes/oc-loc-rt:static/oc-loc-rt:next-hops/oc-loc-rt:next-hop/oc-loc-rt:state/oc-loc-rt:recurse" { + deviate not-supported; + } + deviation "/oc-loc-rt:local-routes/oc-loc-rt:local-aggregates/oc-loc-rt:aggregate" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-mpls-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-mpls-deviations.yang new file mode 100644 index 0000000..4b118b3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-mpls-deviations.yang @@ -0,0 +1,234 @@ +module cisco-xr-openconfig-mpls-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-mpls-deviations"; + prefix mplsdevs; + + import openconfig-mpls { + prefix mpls; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-mpls.yang@2015-11-05 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-05-16 { + description + "Initial revision applicable to IOS-XR 6.1.1"; + } + + deviation "/mpls:mpls/mpls:global" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:srlg/mpls:srlg/mpls:config/mpls:flooding-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:srlg/mpls:srlg/mpls:state/mpls:flooding-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-specification" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-specification" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-global-attributes/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:state/mpls:srlg-membership" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:state/mpls:admin-group" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:delta-percentage" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:threshold-specification" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:config/mpls:up-down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:delta-percentage" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:threshold-specification" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:te-interface-attributes/mpls:interface/mpls:igp-flooding-bandwidth/mpls:state/mpls:up-down-thresholds" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:sessions/mpls:state/mpls:session" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:neighbors/mpls:state/mpls:neighbor" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:global/mpls:hellos/mpls:config/mpls:refresh-reduction" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:global/mpls:hellos/mpls:state/mpls:refresh-reduction" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:bandwidth" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:highwater-mark" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:state/mpls:active-reservation-count" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:hellos/mpls:config/mpls:hello-interval" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:hellos/mpls:state/mpls:hello-interval" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:protection/mpls:config/mpls:bypass-optimize-interval" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:rsvp-te/mpls:interface-attributes/mpls:interface/mpls:protection/mpls:state/mpls:bypass-optimize-interval" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:segment-routing/mpls:srgb" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:signaling-protocols/mpls:segment-routing/mpls:interfaces" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:signaling-protocol" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:description" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:preference" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:reoptimize-timer" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:config/mpls:source" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:state/mpls:preference" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:bandwidth/mpls:config/mpls:specification-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:bandwidth/mpls:state/mpls:specification-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:use-cspf" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:cspf-tiebreaker" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:setup-priority" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:hold-priority" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:config/mpls:retry-timer" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:use-cspf" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:cspf-tiebreaker" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:setup-priority" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:hold-priority" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:state/mpls:retry-timer" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:candidate-secondary-paths/mpls:candidate-secondary-path" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:exclude-group" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:include-all-group" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-primary-paths/mpls:admin-groups/mpls:state/mpls:include-any-group" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:constrained-path/mpls:tunnel/mpls:p2p-tunnel-attributes/mpls:p2p-secondary-paths" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:tunnel-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:ldp-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:ldp/mpls:tunnel/mpls:p2p-lsp/mpls:fec-address" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:segment-routing/mpls:tunnel/mpls:tunnel-type" { + deviate not-supported; + } + deviation "/mpls:mpls/mpls:lsps/mpls:unconstrained-path/mpls:path-setup-protocol/mpls:segment-routing/mpls:tunnel/mpls:p2p-lsp/mpls:fec" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-network-instance-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-network-instance-deviations.yang new file mode 100644 index 0000000..d5f59e1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-network-instance-deviations.yang @@ -0,0 +1,756 @@ +module cisco-xr-openconfig-network-instance-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-network-instance-deviations"; + prefix oc-netinstdevs; + + import openconfig-network-instance { + prefix oc-netinst; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-network-instance.yang@2017-01-13 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-07-18 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:config/oc-netinst:mac-learning" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:config/oc-netinst:mac-aging-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:config/oc-netinst:maximum-entries" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:state/oc-netinst:mac-learning" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:state/oc-netinst:mac-aging-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:state/oc-netinst:maximum-entries" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:fdb/oc-netinst:mac-table/oc-netinst:entries/oc-netinst:entry" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:config/oc-netinst:type" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:config/oc-netinst:router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:config/oc-netinst:route-distinguisher" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:config/oc-netinst:mtu" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:state/oc-netinst:router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:state/oc-netinst:route-distinguisher" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:state/oc-netinst:mtu" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:config/oc-netinst:encapsulation-type" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:config/oc-netinst:label-allocation-mode" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:config/oc-netinst:control-word" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:state/oc-netinst:encapsulation-type" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:state/oc-netinst:label-allocation-mode" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:encapsulation/oc-netinst:state/oc-netinst:control-word" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:default-export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:inter-instance-policies/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:default-export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:table-connections/oc-netinst:table-connection" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:config/oc-netinst:associated-address-families" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:tables/oc-netinst:table" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:connection-points/oc-netinst:connection-point" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:mpls/oc-netinst:global/oc-netinst:reserved-label-blocks/oc-netinst:reserved-label-block/oc-netinst:config/oc-netinst:local-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:segment-routing/oc-netinst:srgbs/oc-netinst:srgb" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:segment-routing/oc-netinst:srlbs/oc-netinst:srlb" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:vlans/oc-netinst:vlan" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:afts/oc-netinst:aft" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:config/oc-netinst:default-metric" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:state/oc-netinst:default-metric" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:static-routes/oc-netinst:static" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:local-aggregates/oc-netinst:aggregate" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:config/oc-netinst:as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:config/oc-netinst:router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:state/oc-netinst:as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:state/oc-netinst:router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:state/oc-netinst:total-paths" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:state/oc-netinst:total-prefixes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:default-route-distance/oc-netinst:config/oc-netinst:external-route-distance" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:default-route-distance/oc-netinst:config/oc-netinst:internal-route-distance" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:default-route-distance/oc-netinst:state/oc-netinst:external-route-distance" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:default-route-distance/oc-netinst:state/oc-netinst:internal-route-distance" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:config/oc-netinst:identifier" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:config/oc-netinst:member-as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:state/oc-netinst:identifier" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:confederation/oc-netinst:state/oc-netinst:member-as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:config/oc-netinst:restart-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:config/oc-netinst:stale-routes-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:config/oc-netinst:helper-only" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:state/oc-netinst:restart-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:state/oc-netinst:stale-routes-time" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:state/oc-netinst:helper-only" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ebgp/oc-netinst:config/oc-netinst:allow-multiple-as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ebgp/oc-netinst:config/oc-netinst:maximum-paths" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ebgp/oc-netinst:state/oc-netinst:allow-multiple-as" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ebgp/oc-netinst:state/oc-netinst:maximum-paths" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ibgp/oc-netinst:config/oc-netinst:maximum-paths" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:use-multiple-paths/oc-netinst:ibgp/oc-netinst:state/oc-netinst:maximum-paths" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:always-compare-med" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:ignore-as-path-length" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:external-compare-router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:advertise-inactive-routes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:enable-aigp" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:config/oc-netinst:ignore-next-hop-igp-metric" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:always-compare-med" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:ignore-as-path-length" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:external-compare-router-id" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:advertise-inactive-routes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:enable-aigp" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:route-selection-options/oc-netinst:state/oc-netinst:ignore-next-hop-igp-metric" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:afi-safis/oc-netinst:afi-safi" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:config/oc-netinst:default-export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:global/oc-netinst:apply-policy/oc-netinst:state/oc-netinst:default-export-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:neighbors/oc-netinst:neighbor" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:bgp/oc-netinst:peer-groups/oc-netinst:peer-group" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:config/oc-netinst:authentication-check" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:config/oc-netinst:maximum-area-addresses" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:config/oc-netinst:poi-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:config/oc-netinst:iid-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:config/oc-netinst:fast-flooding" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:state/oc-netinst:authentication-check" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:state/oc-netinst:maximum-area-addresses" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:state/oc-netinst:poi-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:state/oc-netinst:iid-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:state/oc-netinst:fast-flooding" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:lsp-bit/oc-netinst:overload-bit/oc-netinst:reset-triggers/oc-netinst:reset-trigger" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:lsp-bit/oc-netinst:attached-bit/oc-netinst:config/oc-netinst:ignore-bit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:lsp-bit/oc-netinst:attached-bit/oc-netinst:config/oc-netinst:suppress-bit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:lsp-bit/oc-netinst:attached-bit/oc-netinst:state/oc-netinst:ignore-bit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:lsp-bit/oc-netinst:attached-bit/oc-netinst:state/oc-netinst:suppress-bit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:reference-bandwidth/oc-netinst:config/oc-netinst:reference-bandwidth" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:reference-bandwidth/oc-netinst:state/oc-netinst:reference-bandwidth" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:config/oc-netinst:helper-only" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:graceful-restart/oc-netinst:state/oc-netinst:helper-only" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:config/oc-netinst:spf-hold-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:config/oc-netinst:spf-first-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:config/oc-netinst:spf-second-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:state/oc-netinst:spf-hold-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:state/oc-netinst:spf-first-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:state/oc-netinst:spf-second-interval" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:timers/oc-netinst:spf/oc-netinst:state/oc-netinst:adaptive-timer" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:mpls/oc-netinst:igp-ldp-sync/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:mpls/oc-netinst:igp-ldp-sync/oc-netinst:config/oc-netinst:post-session-up-delay" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:mpls/oc-netinst:igp-ldp-sync/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:mpls/oc-netinst:igp-ldp-sync/oc-netinst:state/oc-netinst:post-session-up-delay" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:igp-shortcuts/oc-netinst:afi" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:segment-routing/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:segment-routing/oc-netinst:config/oc-netinst:srlb" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:segment-routing/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:segment-routing/oc-netinst:state/oc-netinst:srgb" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level1-to-level2/oc-netinst:config/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level1-to-level2/oc-netinst:config/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level1-to-level2/oc-netinst:state/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level1-to-level2/oc-netinst:state/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level2-to-level1/oc-netinst:config/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level2-to-level1/oc-netinst:config/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level2-to-level1/oc-netinst:state/oc-netinst:import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:global/oc-netinst:inter-level-propagation-policies/oc-netinst:level2-to-level1/oc-netinst:state/oc-netinst:default-import-policy" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:config/oc-netinst:authentication-check" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:state/oc-netinst:authentication-check" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:corrupted-lsps" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:database-overloads" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:manual-address-drop-from-areas" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:exceed-max-seq-nums" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:seq-num-skips" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:own-lsp-purges" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:id-len-mismatch" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:part-changes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:max-area-address-mismatches" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:auth-fails" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:spf-runs" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:auth-type-fails" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:system-level-counters/oc-netinst:state/oc-netinst:lsp-errors" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:link-state-database/oc-netinst:lsp/oc-netinst:tlvs/oc-netinst:tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:link-state-database/oc-netinst:lsp/oc-netinst:undefined-tlvs/oc-netinst:undefined-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:route-preference/oc-netinst:config/oc-netinst:external-route-preference" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:route-preference/oc-netinst:config/oc-netinst:internal-route-preference" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:route-preference/oc-netinst:state/oc-netinst:external-route-preference" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:route-preference/oc-netinst:state/oc-netinst:internal-route-preference" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:config/oc-netinst:csnp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:config/oc-netinst:psnp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:config/oc-netinst:lsp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:state/oc-netinst:csnp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:state/oc-netinst:psnp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:state/oc-netinst:lsp-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:key/oc-netinst:config/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:levels/oc-netinst:level/oc-netinst:authentication/oc-netinst:key/oc-netinst:state/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:adj-changes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:init-fails" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:rejected-adj" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:id-field-len-mismatches" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:max-area-address-mismatches" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:auth-type-fails" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:auth-fails" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:lan-dis-changes" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:circuit-counters/oc-netinst:state/oc-netinst:adj-number" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:authentication/oc-netinst:config/oc-netinst:hello-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:authentication/oc-netinst:state/oc-netinst:hello-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:authentication/oc-netinst:key/oc-netinst:config/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:authentication/oc-netinst:key/oc-netinst:state/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:config/oc-netinst:passive" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:config/oc-netinst:priority" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:state/oc-netinst:passive" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:state/oc-netinst:priority" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:lsp/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:lsp/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:lsp/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:lsp/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:lsp/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:iih/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:iih/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:iih/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:iih/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:iih/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:ish/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:ish/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:ish/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:ish/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:ish/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:esh/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:esh/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:esh/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:esh/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:esh/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:psnp/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:psnp/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:psnp/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:psnp/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:psnp/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:cnsp/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:cnsp/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:cnsp/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:cnsp/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:cnsp/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:unknown/oc-netinst:state/oc-netinst:received" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:unknown/oc-netinst:state/oc-netinst:processed" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:unknown/oc-netinst:state/oc-netinst:dropped" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:unknown/oc-netinst:state/oc-netinst:sent" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:packet-counters/oc-netinst:unknown/oc-netinst:state/oc-netinst:retransmit" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:adjacencies/oc-netinst:adjacency" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:config/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:state/oc-netinst:enabled" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:segment-routing/oc-netinst:prefix-sids/oc-netinst:prefix-sid" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:afi-safi/oc-netinst:af/oc-netinst:segment-routing/oc-netinst:adjacency-sids/oc-netinst:adjacency-sid" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:hello-authentication/oc-netinst:config/oc-netinst:hello-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:hello-authentication/oc-netinst:state/oc-netinst:hello-authentication" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:hello-authentication/oc-netinst:key/oc-netinst:config/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:levels/oc-netinst:level/oc-netinst:hello-authentication/oc-netinst:key/oc-netinst:state/oc-netinst:auth-password" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:bfd/oc-netinst:config/oc-netinst:bfd-tlv" { + deviate not-supported; + } + deviation "/oc-netinst:network-instances/oc-netinst:network-instance/oc-netinst:protocols/oc-netinst:protocol/oc-netinst:isis/oc-netinst:interfaces/oc-netinst:interface/oc-netinst:bfd/oc-netinst:state/oc-netinst:bfd-tlv" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-optical-amplifier-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-optical-amplifier-deviations.yang new file mode 100644 index 0000000..b7d6f26 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-optical-amplifier-deviations.yang @@ -0,0 +1,141 @@ +module cisco-xr-openconfig-optical-amplifier-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-optical-amplifier-deviations"; + prefix oc-opt-ampdevs; + + import openconfig-optical-amplifier { + prefix oc-opt-amp; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-optical-amplifier.yang@2017-07-08 + + on Cisco IOS-XR devices. + + Copyright (c) 2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-10-25 { + description + "Initial revision applicable to IOS-XR 6.4.1"; + } + + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:type" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:gain-range" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:amp-mode" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:config/oc-opt-amp:target-output-power" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:target-output-power" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-total/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:input-power-l-band/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-total/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:output-power-l-band/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:amplifiers/oc-opt-amp:amplifier/oc-opt-amp:state/oc-opt-amp:optical-return-loss/oc-opt-amp:max" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:config/oc-opt-amp:interface" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:interface" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:instant" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:avg" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:min" { + deviate not-supported; + } + deviation "/oc-opt-amp:optical-amplifier/oc-opt-amp:supervisory-channels/oc-opt-amp:supervisory-channel/oc-opt-amp:state/oc-opt-amp:laser-bias-current/oc-opt-amp:max" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-deviations.yang new file mode 100644 index 0000000..660668f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-deviations.yang @@ -0,0 +1,45 @@ +module cisco-xr-openconfig-platform-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-platform-deviations"; + prefix oc-platformdevs; + + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-platform { + prefix oc-platform; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-platform.yang@2016-06-06 + + on Cisco IOS-XR devices. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-16 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-platform:components/oc-platform:component/oc-platform:properties/oc-platform:property" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:state/oc-platform:hardware-port" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-transceiver-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-transceiver-deviations.yang new file mode 100644 index 0000000..f8206d1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-platform-transceiver-deviations.yang @@ -0,0 +1,60 @@ +module cisco-xr-openconfig-platform-transceiver-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-platform-transceiver-deviations"; + prefix oc-transceiverdevs; + + import openconfig-platform-transceiver { + prefix oc-transceiver; + } + import openconfig-platform { + prefix oc-platform; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-platform-transceiver.yang@2016-05-24 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-16 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:config/oc-transceiver:enabled" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:config/oc-transceiver:form-factor" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:state/oc-transceiver:enabled" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:config/oc-transceiver:tx-laser" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:config/oc-transceiver:target-output-power" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:state/oc-transceiver:tx-laser" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:state/oc-transceiver:target-output-power" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-rib-bgp-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-rib-bgp-deviations.yang new file mode 100644 index 0000000..c2f8f2d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-rib-bgp-deviations.yang @@ -0,0 +1,114 @@ +module cisco-xr-openconfig-rib-bgp-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-rib-bgp-deviations"; + prefix oc-bgpribdevs; + + import openconfig-rib-bgp { + prefix oc-bgprib; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-rib-bgp.yang@2016-04-11 + + on Cisco IOS-XR devices. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-16 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv4-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:loc-rib/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:attributes/oc-bgprib:as4-path" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-in-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-pre/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:last-update-received" { + deviate not-supported; + } + deviation "/oc-bgprib:bgp-rib/oc-bgprib:afi-safis/oc-bgprib:afi-safi/oc-bgprib:ipv6-unicast/oc-bgprib:neighbors/oc-bgprib:neighbor/oc-bgprib:adj-rib-out-post/oc-bgprib:routes/oc-bgprib:route/oc-bgprib:invalid-reason" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-routing-policy-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-routing-policy-deviations.yang new file mode 100644 index 0000000..35618bf --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-routing-policy-deviations.yang @@ -0,0 +1,45 @@ +module cisco-xr-openconfig-routing-policy-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-routing-policy-deviations"; + prefix cisco-xr-oc-rpol-devs; + + import openconfig-routing-policy { + prefix rpol; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains the deviations of Open Config Routing Policy YANG + set for Cisco IOS-XR. + + Copyright (c) 2015-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-10-21 { + description + "Initial revision applicable to IOS-XR 5.3.2 and 6.0"; + } + + deviation "/rpol:routing-policy/rpol:defined-sets/rpol:neighbor-sets" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:igp-conditions" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:match-neighbor-set" { + deviate not-supported; + } + deviation "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions/rpol:match-interface" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-telemetry-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-telemetry-deviations.yang new file mode 100644 index 0000000..2d8e416 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-telemetry-deviations.yang @@ -0,0 +1,63 @@ +module cisco-xr-openconfig-telemetry-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-telemetry-deviations"; + prefix oc-telemetrydevs; + + import openconfig-telemetry { + prefix oc-telemetry; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-telemetry.yang@2016-02-04 + + on Cisco IOS-XR devices. + + Copyright (c) 2016 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-03-09 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-telemetry:telemetry-system/oc-telemetry:sensor-groups/oc-telemetry:sensor-group/oc-telemetry:sensor-paths/oc-telemetry:sensor-path/oc-telemetry:config/oc-telemetry:exclude-filter" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:sensor-groups/oc-telemetry:sensor-group/oc-telemetry:sensor-paths/oc-telemetry:sensor-path/oc-telemetry:state/oc-telemetry:exclude-filter" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:config/oc-telemetry:local-source-address" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:state/oc-telemetry:local-source-address" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:config/oc-telemetry:heartbeat-interval" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:config/oc-telemetry:suppress-redundant" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:state/oc-telemetry:heartbeat-interval" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:persistent/oc-telemetry:subscription/oc-telemetry:sensor-profiles/oc-telemetry:sensor-profile/oc-telemetry:state/oc-telemetry:suppress-redundant" { + deviate not-supported; + } + deviation "/oc-telemetry:telemetry-system/oc-telemetry:subscriptions/oc-telemetry:dynamic/oc-telemetry:subscription" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-terminal-device-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-terminal-device-deviations.yang new file mode 100644 index 0000000..3d8e0bb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-terminal-device-deviations.yang @@ -0,0 +1,141 @@ +module cisco-xr-openconfig-terminal-device-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-terminal-device-deviations"; + prefix oc-opt-termdevs; + + import openconfig-terminal-device { + prefix oc-opt-term; + } + import openconfig-platform { + prefix oc-platform; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-terminal-device.yang@2016-06-17 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-10-16 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:config/oc-opt-term:tti-msg-auto" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:tti-msg-auto" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:rdi-msg" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:code-violations" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:fec-corrected-bytes" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:q-value/oc-opt-term:max" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:otn/oc-opt-term:state/oc-opt-term:esnr/oc-opt-term:max" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:in-mac-control-frames" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:in-8021q-frames" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:out-mac-control-frames" { + deviate not-supported; + } + deviation "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:ethernet/oc-opt-term:state/oc-opt-term:out-8021q-frames" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:group-id" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:output-power/oc-opt-term:max" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:input-power/oc-opt-term:max" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:laser-bias-current/oc-opt-term:max" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:instant" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:avg" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:min" { + deviate not-supported; + } + deviation "/oc-platform:components/oc-platform:component/oc-opt-term:optical-channel/oc-opt-term:state/oc-opt-term:polarization-mode-dispersion/oc-opt-term:max" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-transport-line-protection-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-transport-line-protection-deviations.yang new file mode 100644 index 0000000..dfa7ea2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-transport-line-protection-deviations.yang @@ -0,0 +1,102 @@ +module cisco-xr-openconfig-transport-line-protection-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-transport-line-protection-deviations"; + prefix oc-line-protectdevs; + + import openconfig-transport-line-protection { + prefix oc-line-protect; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-transport-line-protection.yang@2017-03-28 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2017-05-24 { + description + "Initial revision applicable to IOS-XR 6.2.1"; + } + + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:revertive" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:primary-switch-hysteresis" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:config/oc-line-protect:secondary-switch-hysteresis" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:revertive" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:primary-switch-hysteresis" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:state/oc-line-protect:secondary-switch-hysteresis" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-primary-in/oc-line-protect:config/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-primary-in/oc-line-protect:state/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-secondary-in/oc-line-protect:config/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:line-secondary-in/oc-line-protect:state/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:config/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:config/oc-line-protect:target-attenuation" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:enabled" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:target-attenuation" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:attenuation" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:instant" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:avg" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:min" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-in/oc-line-protect:state/oc-line-protect:optical-power/oc-line-protect:max" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:config/oc-line-protect:target-attenuation" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:state/oc-line-protect:target-attenuation" { + deviate not-supported; + } + deviation "/oc-line-protect:aps/oc-line-protect:aps-modules/oc-line-protect:aps-module/oc-line-protect:ports/oc-line-protect:common-output/oc-line-protect:state/oc-line-protect:attenuation" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-vlan-deviations.yang b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-vlan-deviations.yang new file mode 100644 index 0000000..29a15f4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cisco-xr-openconfig-vlan-deviations.yang @@ -0,0 +1,108 @@ +module cisco-xr-openconfig-vlan-deviations { + namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-vlan-deviations"; + prefix vlandevs; + + import openconfig-vlan { + prefix oc-vlan; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-if-ethernet { + prefix oc-eth; + } + import openconfig-if-aggregate { + prefix oc-lag; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains a set of deviations for + + openconfig-vlan.yang@2015-10-09 + + on Cisco IOS-XR devices. + + Copyright (c) 2016-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2016-07-08 { + description + "Initial revision applicable to IOS-XR 6.1.1"; + } + + deviation "/oc-vlan:vlans/oc-vlan:vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:config/oc-vlan:vlan-id" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:state/oc-vlan:vlan-id" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:interface-mode" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:native-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:access-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:trunk-vlans" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:interface-mode" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:native-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:access-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:trunk-vlans" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:interface-mode" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:native-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:access-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config/oc-vlan:trunk-vlans" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:interface-mode" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:native-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:access-vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:state/oc-vlan:trunk-vlans" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-vlan:config/oc-vlan:vlan" { + deviate not-supported; + } + deviation "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-vlan:state/oc-vlan:vlan" { + deviate not-supported; + } +} diff --git a/yang/modules/cisco-ios-xr/632/control_driver.yang b/yang/modules/cisco-ios-xr/632/control_driver.yang new file mode 100644 index 0000000..b9c414c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/control_driver.yang @@ -0,0 +1,17 @@ +module control_driver { + namespace "http://cisco.com/calvados/control_driver"; + prefix control_driver; + + import tailf-common { + prefix tailf; + } + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + container control_driver { + config false; + tailf:callpoint "ctrl_driver-top-level-catchall"; + uses show_trace:traceable; + } +} diff --git a/yang/modules/cisco-ios-xr/632/cpak_driver.yang b/yang/modules/cisco-ios-xr/632/cpak_driver.yang new file mode 100644 index 0000000..b8050fa --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cpak_driver.yang @@ -0,0 +1,107 @@ +module cpak_driver { + namespace "http://www.cisco.com/calvados/calvados_controllers/slice_control/cpak"; + prefix cpak_driver; + import cpak_driver_types { + prefix cpak-driver-types; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping cpak_data_show { + list cpak { + key "cpak_id"; + leaf cpak_id { + type cpak-driver-types:cpak_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf csignature { + type string; + } + leaf cready { + type boolean; + default "false"; + } + leaf cpassive { + type boolean; + default "false"; + } + leaf chw_ver_major { + type uint8; + } + leaf chw_ver_minor { + type uint8; + } + leaf copaque { + type string; + } + leaf cnodeid { + type string; + } + leaf cslice { + type uint32; + } + leaf cport { + type uint32; + } + leaf cprt_addr { + type uint8; + } + leaf cdev_addr { + type uint8; + } + leaf cdev_sel { + type uint8; + } + leaf cupgrade_inprogress { + type uint8; + } + leaf coptics_type { + type string; + } + leaf cctrace_err_hdl { + type string; + } + leaf cctrace_evt_hdl { + type string; + } + leaf cnext { + type string; + } + leaf cparent { + type string; + } + leaf crunning_image { + type string; + } + leaf ccommitted_image { + type string; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cpak_driver_types.yang b/yang/modules/cisco-ios-xr/632/cpak_driver_types.yang new file mode 100644 index 0000000..e870ea9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cpak_driver_types.yang @@ -0,0 +1,35 @@ +module cpak_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/cpak/types"; + prefix cpak_driver_type; + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + typedef cpak_id_type { + type string { + pattern "all|[0-3]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cxp_driver.yang b/yang/modules/cisco-ios-xr/632/cxp_driver.yang new file mode 100644 index 0000000..0953c01 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cxp_driver.yang @@ -0,0 +1,153 @@ +module cxp_driver { + namespace "http://www.cisco.com/panini/calvados/slice_control/optics"; + prefix cxp_driver; + import cxp_driver_types { + prefix cxp-driver-types; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping coefficients_rx_data_show { + list rx_coefficients { + key "rx_channel_id"; + leaf rx_channel_id { + type cxp-driver-types:channel_id_type; + } + leaf amplitude { + type string; + } + leaf de_emphasis { + type string; + } + leaf is_data_available { + type boolean; + default "false"; + } + } + } + + grouping equalization_tx_data_show { + list tx_coefficients { + key "tx_channel_id"; + leaf tx_channel_id { + type cxp-driver-types:channel_id_type; + } + leaf equalization { + type string; + } + leaf is_data_available { + type boolean; + default "false"; + } + } + } + + grouping status_error_rx_data_show { + list rx_info { + key "rx_channel_id"; + leaf rx_channel_id { + type cxp-driver-types:channel_id_type; + } + leaf rx_status_flag { + type string; + } + leaf rx_error_flag { + type string; + } + leaf is_data_available { + type boolean; + default "false"; + } + } + } + + grouping status_error_tx_data_show { + list tx_info { + key "tx_channel_id"; + leaf tx_channel_id { + type cxp-driver-types:channel_id_type; + } + leaf tx_status_flag { + type string; + } + leaf tx_error_flag { + type string; + } + leaf is_data_available { + type boolean; + default "false"; + } + } + } + + grouping cxp_data_show { + list cxp { + key "cxp_id"; + leaf cxp_id { + type cxp-driver-types:cxp_id_type; + } + leaf signature { + type string; + } + leaf cxp_port_ready { + type boolean; + default "false"; + } + leaf opaque { + type string; + } + leaf nodeid { + type string; + } + leaf slice { + type uint32; + } + leaf capabilities { + type string; + } + leaf vendor_name { + type string; + } + leaf vendor_part_num { + type string; + } + leaf vendor_rev_num { + type string; + } + leaf vendor_serial_num { + type string; + } + leaf passive { + type boolean; + default "false"; + } + leaf is_data_available { + type boolean; + default "false"; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/cxp_driver_types.yang b/yang/modules/cisco-ios-xr/632/cxp_driver_types.yang new file mode 100644 index 0000000..4ef8109 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/cxp_driver_types.yang @@ -0,0 +1,41 @@ +module cxp_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/optics/types"; + prefix cxp_driver_type; + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + typedef channel_id_type { + type string { + pattern "all|(0?[0-9]|1[0-1])"; + } + } + + typedef cxp_id_type { + type string { + pattern "all|[0-2]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/dual_gearbox_driver.yang b/yang/modules/cisco-ios-xr/632/dual_gearbox_driver.yang new file mode 100644 index 0000000..201ab94 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/dual_gearbox_driver.yang @@ -0,0 +1,191 @@ +module dual_gearbox_driver { + namespace "http://www.cisco.com/calvados/calvados_controllers/slice_control/dual_gearbox"; + prefix dual_gearbox_driver; + import dual_gearbox_driver_types { + prefix dual_gearbox-driver-types; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping dual_gearbox_lane_data { + list dual_gearbox_lane { + key "dual_gearbox_lane_id"; + leaf dual_gearbox_lane_id { + type dual_gearbox-driver-types:dual_gearbox_lane_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf system_side_lanes { + type string; + } + leaf cdr_lock_status_caui { + type string; + } + leaf line_side_lanes { + type string; + } + leaf lane_status_cdr { + type string; + } + leaf lane_status_sig { + type string; + } + leaf los_status { + type string; + } + leaf system_side_loopback { + type string; + } + leaf lane_side_loopback { + type string; + } + } + } + + grouping dual_gearbox_summary_info { + list dual_gearbox_summary { + key "dual_gearbox_id"; + leaf dual_gearbox_id { + type dual_gearbox-driver-types:dual_gearbox_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf inited { + type boolean; + default "false"; + } + leaf gopaque { + type string; + } + leaf gnodeid { + type string; + } + leaf gslice { + type uint32; + } + leaf gport { + type uint32; + } + leaf gdev_addr { + type uint8; + } + leaf gdev_type { + type uint8; + } + leaf gctrace_err_hdl { + type string; + } + leaf gctrace_evt_hdl { + type string; + } + leaf gctrace_intr_hdl { + type string; + } + leaf gnext { + type string; + } + leaf gparent { + type string; + } + leaf syslaneLOSMask { + type string; + } + leaf linelaneLOSMask { + type string; + } + leaf syslaneEnableMask { + type string; + } + leaf linelaneEnableMask { + type string; + } + leaf line_lane_cnt { + type string; + } + leaf sys_lane_cnt { + type string; + } + leaf verbose { + type boolean; + default "false"; + } + leaf dwnld_done { + type boolean; + default "false"; + } + leaf chip_version { + type string; + } + leaf reversion { + type string; + } + leaf firmware_version { + type string; + } + leaf ucode_checksum { + type string; + } + leaf chip_modesel { + type string; + } + leaf chip_ref_clocksel { + type string; + } + leaf line_side_tx_pll { + type string; + } + leaf line_tx_vco { + type string; + } + leaf line_tx_vco_state { + type string; + } + leaf line_side_rx_pll { + type string; + } + leaf line_rx_vco { + type string; + } + leaf line_rx_vco_state { + type string; + } + } + } + + grouping dual_gearbox_data_show { + list dual_gearbox { + key "dual_gearbox_id"; + leaf dual_gearbox_id { + type dual_gearbox-driver-types:dual_gearbox_id_type; + } + uses dual_gearbox_lane_data; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/dual_gearbox_driver_types.yang b/yang/modules/cisco-ios-xr/632/dual_gearbox_driver_types.yang new file mode 100644 index 0000000..c0360f2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/dual_gearbox_driver_types.yang @@ -0,0 +1,41 @@ +module dual_gearbox_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/dual_gearbox/types"; + prefix dual_gearbox_driver_type; + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + typedef dual_gearbox_lane_id_type { + type string { + pattern "all|[0-9]"; + } + } + + typedef dual_gearbox_id_type { + type string { + pattern "all|[0-1]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/fit.yang b/yang/modules/cisco-ios-xr/632/fit.yang new file mode 100644 index 0000000..4556286 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/fit.yang @@ -0,0 +1,136 @@ +module fit { + namespace "http://cisco.com/panini/calvados/fit"; + prefix fit; + import Cisco-IOS-XR-sysadmin-types { + prefix calvados; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + revision 2012-05-20 { + description + "Initial revision"; + } + + + grouping fit-cmd-end-grp { + list location { + key "fit-location-name"; + leaf fit-location-name { + type calvados:location-id; + } + } + } + + grouping fit-rate-grp { + container rate { + list error-number { + key "num-errs"; + leaf num-errs { + type uint32; + } + list duration { + key "num-seconds"; + leaf num-seconds { + type uint32; + } + uses fit-cmd-end-grp; + } + } + } + } + + grouping fit-thresh-grp { + list threshold { + key "num-seconds"; + leaf num-seconds { + type uint32; + mandatory true; + } + uses fit-cmd-end-grp; + } + } + + grouping fit-block-grp { + container all { + uses fit-thresh-grp; + uses fit-cmd-end-grp; + } + list block-name-lst { + key "block-name"; + leaf block-name { + type string; + } + container one { + uses fit-rate-grp; + uses fit-cmd-end-grp; + } + container continuous { + uses fit-rate-grp; + uses fit-cmd-end-grp; + } + container stop { + uses fit-cmd-end-grp; + } + } + } + + grouping fit-module-grp { + list module { + key "module-name"; + leaf module-name { + type string; + } + container fault-type { + container ecc { + uses fit-block-grp; + } + container parity { + uses fit-block-grp; + } + container other { + uses fit-block-grp; + } + } + } + } + + grouping fit-grp { + list asic { + config false; + key "asic-name"; + leaf asic-name { + type string; + } + list instance { + key "instance-ids"; + leaf instance-ids { + type uint32; + } + container fault-injection { + uses fit-module-grp; + } + } + } + } + container set { + uses fit:fit-grp; + } +} diff --git a/yang/modules/cisco-ios-xr/632/gaspp.yang b/yang/modules/cisco-ios-xr/632/gaspp.yang new file mode 100644 index 0000000..7733fba --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/gaspp.yang @@ -0,0 +1,175 @@ +module gaspp { + namespace "http://cisco.com/panini/calvados/gaspp"; + prefix gaspp; + import tailf-xsd-types { + prefix xs; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping location-grp { + list location { + key "location_name"; + leaf location_name { + mandatory true; + type string; + } + list data { + leaf address { + type uint64; + } + leaf name { + type string; + } + leaf value { + type string; + } + leaf size { + type uint32; + } + } + } + } + + grouping gaspp { + list asic { + config false; + key "asic-name"; + leaf asic-name { + type string; + } + list instance { + key "instance-id"; + leaf instance-id { + type uint32; + } + leaf instance-name { + type string; + } + list address { + key "addr size entries"; + leaf addr { + mandatory true; + type string; + } + leaf width { + mandatory true; + type uint32; + } + leaf entries { + mandatory true; + type uint32; + } + leaf size { + type uint32; + } + list location { + key "location_name"; + leaf location_name { + mandatory true; + type string; + } + list direct_data { + leaf address { + type uint64; + } + leaf name { + type string; + } + leaf value { + type string; + } + leaf size { + type uint32; + } + } + } + } + list block-name { + key "block-nm block-num"; + leaf block-nm { + type string; + } + leaf block-num { + type uint32; + } + list register-name { + key "name"; + leaf name { + type string; + } + leaf register { + type uint32; + } + list data { + leaf address { + type uint64; + } + leaf name { + type string; + } + leaf value { + type string; + } + leaf size { + type uint32; + } + } + } + } + list block-number { + key "block-num"; + leaf block-num { + type uint32; + } + leaf block-nm { + type string; + } + list register-number { + key "register"; + leaf register { + type uint32; + } + leaf register-name { + type string; + } + list register-offsets { + key "reg-start num-entries"; + leaf reg-start { + type uint32; + } + leaf num-entries { + type uint32; + } + uses location-grp; + } + uses location-grp; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/gearbox2_driver.yang b/yang/modules/cisco-ios-xr/632/gearbox2_driver.yang new file mode 100644 index 0000000..28727f7 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/gearbox2_driver.yang @@ -0,0 +1,158 @@ +module gearbox2_driver { + namespace "http://www.cisco.com/calvados/calvados_controllers/slice_control/gearbox2"; + prefix gearbox2_driver; + import gearbox2_driver_types { + prefix gearbox2-driver-types; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping gearbox2_lane_data { + list gearbox2_lane { + key "gearbox2_lane_id"; + leaf gearbox2_lane_id { + type gearbox2-driver-types:gearbox2_lane_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf system_side_lanes { + type string; + } + leaf cdr_lock_status_caui { + type string; + } + leaf line_side_lanes { + type string; + } + leaf lane_status_cdr { + type string; + } + leaf lane_status_sig { + type string; + } + leaf los_status { + type string; + } + leaf system_side_loopback { + type string; + } + leaf lane_side_loopback { + type string; + } + } + } + + grouping gearbox2_summary_info { + list gearbox2_summary { + key "gearbox2_id"; + leaf gearbox2_id { + type gearbox2-driver-types:gearbox2_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf inited { + type boolean; + default "false"; + } + leaf gopaque { + type string; + } + leaf gnodeid { + type string; + } + leaf gslice { + type uint32; + } + leaf gport { + type uint32; + } + leaf gdev_addr { + type uint8; + } + leaf gdev_type { + type uint8; + } + leaf gctrace_err_hdl { + type string; + } + leaf gctrace_evt_hdl { + type string; + } + leaf gctrace_intr_hdl { + type string; + } + leaf gparent { + type string; + } + leaf line_lane_cnt { + type string; + } + leaf sys_lane_cnt { + type string; + } + leaf verbose { + type boolean; + default "false"; + } + leaf dwnld_done { + type boolean; + default "false"; + } + leaf chip_version { + type string; + } + leaf reversion { + type string; + } + leaf firmware_version { + type string; + } + leaf ucode_checksum { + type string; + } + leaf chip_modesel { + type string; + } + leaf chip_ref_clocksel { + type string; + } + } + } + + grouping gearbox2_data_show { + list gearbox2 { + key "gearbox2_id"; + leaf gearbox2_id { + type gearbox2-driver-types:gearbox2_id_type; + } + uses gearbox2_lane_data; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/gearbox2_driver_types.yang b/yang/modules/cisco-ios-xr/632/gearbox2_driver_types.yang new file mode 100644 index 0000000..4222c51 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/gearbox2_driver_types.yang @@ -0,0 +1,41 @@ +module gearbox2_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/gearbox2/types"; + prefix gearbox2_driver_type; + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + typedef gearbox2_lane_id_type { + type string { + pattern "all|[0-9]"; + } + } + + typedef gearbox2_id_type { + type string { + pattern "all|[0-3]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/gearbox_driver.yang b/yang/modules/cisco-ios-xr/632/gearbox_driver.yang new file mode 100644 index 0000000..4844ded --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/gearbox_driver.yang @@ -0,0 +1,191 @@ +module gearbox_driver { + namespace "http://www.cisco.com/calvados/calvados_controllers/slice_control/gearbox"; + prefix gearbox_driver; + import gearbox_driver_types { + prefix gearbox-driver-types; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping gearbox_lane_data { + list gearbox_lane { + key "gearbox_lane_id"; + leaf gearbox_lane_id { + type gearbox-driver-types:gearbox_lane_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf system_side_lanes { + type string; + } + leaf cdr_lock_status_caui { + type string; + } + leaf line_side_lanes { + type string; + } + leaf lane_status_cdr { + type string; + } + leaf lane_status_sig { + type string; + } + leaf los_status { + type string; + } + leaf system_side_loopback { + type string; + } + leaf lane_side_loopback { + type string; + } + } + } + + grouping gearbox_summary_info { + list gearbox_summary { + key "gearbox_id"; + leaf gearbox_id { + type gearbox-driver-types:gearbox_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf inited { + type boolean; + default "false"; + } + leaf gopaque { + type string; + } + leaf gnodeid { + type string; + } + leaf gslice { + type uint32; + } + leaf gport { + type uint32; + } + leaf gdev_addr { + type uint8; + } + leaf gdev_type { + type uint8; + } + leaf gctrace_err_hdl { + type string; + } + leaf gctrace_evt_hdl { + type string; + } + leaf gctrace_intr_hdl { + type string; + } + leaf gnext { + type string; + } + leaf gparent { + type string; + } + leaf syslaneLOSMask { + type string; + } + leaf linelaneLOSMask { + type string; + } + leaf syslaneEnableMask { + type string; + } + leaf linelaneEnableMask { + type string; + } + leaf line_lane_cnt { + type string; + } + leaf sys_lane_cnt { + type string; + } + leaf verbose { + type boolean; + default "false"; + } + leaf dwnld_done { + type boolean; + default "false"; + } + leaf chip_version { + type string; + } + leaf reversion { + type string; + } + leaf firmware_version { + type string; + } + leaf ucode_checksum { + type string; + } + leaf chip_modesel { + type string; + } + leaf chip_ref_clocksel { + type string; + } + leaf line_side_tx_pll { + type string; + } + leaf line_tx_vco { + type string; + } + leaf line_tx_vco_state { + type string; + } + leaf line_side_rx_pll { + type string; + } + leaf line_rx_vco { + type string; + } + leaf line_rx_vco_state { + type string; + } + } + } + + grouping gearbox_data_show { + list gearbox { + key "gearbox_id"; + leaf gearbox_id { + type gearbox-driver-types:gearbox_id_type; + } + uses gearbox_lane_data; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/gearbox_driver_types.yang b/yang/modules/cisco-ios-xr/632/gearbox_driver_types.yang new file mode 100644 index 0000000..a86f7e2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/gearbox_driver_types.yang @@ -0,0 +1,41 @@ +module gearbox_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/gearbox/types"; + prefix gearbox_driver_type; + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + typedef gearbox_lane_id_type { + type string { + pattern "all|[0-9]"; + } + } + + typedef gearbox_id_type { + type string { + pattern "all|[0-1]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/631/iana-if-type.yang b/yang/modules/cisco-ios-xr/632/iana-if-type.yang old mode 100755 new mode 100644 similarity index 93% rename from yang/modules/cisco-ios-xr/631/iana-if-type.yang rename to yang/modules/cisco-ios-xr/632/iana-if-type.yang index 5dd8219..641a757 --- a/yang/modules/cisco-ios-xr/631/iana-if-type.yang +++ b/yang/modules/cisco-ios-xr/632/iana-if-type.yang @@ -6,50 +6,71 @@ module iana-if-type { prefix if; } - organization "IANA"; + organization + "IANA"; contact " Internet Assigned Numbers Authority - + Postal: ICANN - 4676 Admiralty Way, Suite 330 - Marina del Rey, CA 90292 - - Tel: +1 310 823 9358 - "; + 12025 Waterfront Drive, Suite 300 + Los Angeles, CA 90094-2536 + United States + + Tel: +1 310 301 5800 + "; description "This YANG module defines YANG identities for IANA-registered interface types. - + This YANG module is maintained by IANA and reflects the 'ifType definitions' registry. - + The latest revision of this YANG module can be obtained from the IANA web site. - + Requests for new values should be made to IANA via - email (iana@iana.org). - + email (iana&iana.org). + Copyright (c) 2014 IETF Trust and the persons identified as authors of the code. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). - + The initial version of this YANG module is part of RFC 7224; see the RFC itself for full legal notices."; - reference - "IANA 'ifType definitions' registry. - "; + reference + "IANA 'ifType definitions' registry. + "; + revision 2015-06-12 { + description + "Corrected formatting issue."; + } + revision 2014-09-24 { + description + "Registered ifType 280."; + } + revision 2014-09-19 { + description + "Registered ifType 279."; + } + revision 2014-07-03 { + description + "Registered ifTypes 277-278."; + } + revision 2014-05-19 { + description + "Updated the contact address."; + } revision 2014-05-08 { description "Initial revision."; - reference - "RFC 7224: IANA Interface Type YANG Module"; + reference "RFC 7224: IANA Interface Type YANG Module"; } identity iana-interface-type { @@ -59,28 +80,27 @@ module iana-if-type { defined in the 'ifType definitions' registry."; } - - - - - identity other { base iana-interface-type; } + identity regular1822 { base iana-interface-type; } + identity hdh1822 { base iana-interface-type; } + identity ddnX25 { base iana-interface-type; } + identity rfc877x25 { base iana-interface-type; - reference - "RFC 1382 - SNMP MIB Extension for the X.25 Packet Layer"; + reference "RFC 1382 - SNMP MIB Extension for the X.25 Packet Layer"; } + identity ethernetCsmacd { base iana-interface-type; description @@ -90,6 +110,7 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity iso88023Csmacd { base iana-interface-type; status deprecated; @@ -100,15 +121,19 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity iso88024TokenBus { base iana-interface-type; } + identity iso88025TokenRing { base iana-interface-type; } + identity iso88026Man { base iana-interface-type; } + identity starLan { base iana-interface-type; status deprecated; @@ -119,28 +144,33 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity proteon10Mbit { base iana-interface-type; } + identity proteon80Mbit { base iana-interface-type; } + identity hyperchannel { base iana-interface-type; } + identity fddi { base iana-interface-type; - reference - "RFC 1512 - FDDI Management Information Base"; + reference "RFC 1512 - FDDI Management Information Base"; } + identity lapb { base iana-interface-type; - reference - "RFC 1381 - SNMP MIB Extension for X.25 LAPB"; + reference "RFC 1381 - SNMP MIB Extension for X.25 LAPB"; } + identity sdlc { base iana-interface-type; } + identity ds1 { base iana-interface-type; description @@ -149,6 +179,7 @@ module iana-if-type { "RFC 4805 - Definitions of Managed Objects for the DS1, J1, E1, DS2, and E2 Interface Types"; } + identity e1 { base iana-interface-type; status obsolete; @@ -159,51 +190,60 @@ module iana-if-type { DS1, J1, E1, DS2, and E2 Interface Types"; } - identity basicISDN { base iana-interface-type; description "No longer used. See also RFC 2127."; } + identity primaryISDN { base iana-interface-type; description "No longer used. See also RFC 2127."; } + identity propPointToPointSerial { base iana-interface-type; description "Proprietary serial."; } + identity ppp { base iana-interface-type; } + identity softwareLoopback { base iana-interface-type; } + identity eon { base iana-interface-type; description "CLNP over IP."; } + identity ethernet3Mbit { base iana-interface-type; } + identity nsip { base iana-interface-type; description "XNS over IP."; } + identity slip { base iana-interface-type; description "Generic SLIP."; } + identity ultra { base iana-interface-type; description "Ultra Technologies."; } + identity ds3 { base iana-interface-type; description @@ -212,6 +252,7 @@ module iana-if-type { "RFC 3896 - Definitions of Managed Objects for the DS3/E3 Interface Type"; } + identity sip { base iana-interface-type; description @@ -220,6 +261,7 @@ module iana-if-type { "RFC 1694 - Definitions of Managed Objects for SMDS Interfaces using SMIv2"; } + identity frameRelay { base iana-interface-type; description @@ -228,12 +270,14 @@ module iana-if-type { "RFC 2115 - Management Information Base for Frame Relay DTEs Using SMIv2"; } + identity rs232 { base iana-interface-type; reference "RFC 1659 - Definitions of Managed Objects for RS-232-like Hardware Devices using SMIv2"; } + identity para { base iana-interface-type; description @@ -243,49 +287,55 @@ module iana-if-type { Parallel-printer-like Hardware Devices using SMIv2"; } + identity arcnet { base iana-interface-type; description "ARCnet."; } + identity arcnetPlus { base iana-interface-type; description "ARCnet Plus."; } - - identity atm { base iana-interface-type; description "ATM cells."; } + identity miox25 { base iana-interface-type; reference "RFC 1461 - SNMP MIB extension for Multiprotocol Interconnect over X.25"; } + identity sonet { base iana-interface-type; description "SONET or SDH."; } + identity x25ple { base iana-interface-type; - reference - "RFC 2127 - ISDN Management Information Base using SMIv2"; + reference "RFC 2127 - ISDN Management Information Base using SMIv2"; } + identity iso88022llc { base iana-interface-type; } + identity localTalk { base iana-interface-type; } + identity smdsDxi { base iana-interface-type; } + identity frameRelayService { base iana-interface-type; description @@ -294,12 +344,15 @@ module iana-if-type { "RFC 2954 - Definitions of Managed Objects for Frame Relay Service"; } + identity v35 { base iana-interface-type; } + identity hssi { base iana-interface-type; } + identity hippi { base iana-interface-type; } @@ -309,54 +362,59 @@ module iana-if-type { description "Generic modem."; } + identity aal5 { base iana-interface-type; description "AAL5 over ATM."; } + identity sonetPath { base iana-interface-type; } + identity sonetVT { base iana-interface-type; } + identity smdsIcip { base iana-interface-type; description "SMDS InterCarrier Interface."; } + identity propVirtual { base iana-interface-type; description "Proprietary virtual/internal."; - reference - "RFC 2863 - The Interfaces Group MIB"; + reference "RFC 2863 - The Interfaces Group MIB"; } + identity propMultiplexor { base iana-interface-type; description "Proprietary multiplexing."; - reference - "RFC 2863 - The Interfaces Group MIB"; + reference "RFC 2863 - The Interfaces Group MIB"; } + identity ieee80212 { base iana-interface-type; description "100BaseVG."; } + identity fibreChannel { base iana-interface-type; description "Fibre Channel."; } - - identity hippiInterface { base iana-interface-type; description "HIPPI interfaces."; } + identity frameRelayInterconnect { base iana-interface-type; status obsolete; @@ -364,21 +422,25 @@ module iana-if-type { "Obsolete; use either frameRelay(32) or frameRelayService(44)."; } + identity aflane8023 { base iana-interface-type; description "ATM Emulated LAN for 802.3."; } + identity aflane8025 { base iana-interface-type; description "ATM Emulated LAN for 802.5."; } + identity cctEmul { base iana-interface-type; description "ATM Emulated circuit."; } + identity fastEther { base iana-interface-type; status deprecated; @@ -389,6 +451,7 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity isdn { base iana-interface-type; description @@ -398,34 +461,37 @@ module iana-if-type { in the Packet Mode"; } - - identity v11 { base iana-interface-type; description "CCITT V.11/X.21."; } + identity v36 { base iana-interface-type; description "CCITT V.36."; } + identity g703at64k { base iana-interface-type; description "CCITT G703 at 64Kbps."; } + identity g703at2mb { base iana-interface-type; status obsolete; description "Obsolete; see DS1-MIB."; } + identity qllc { base iana-interface-type; description "SNA QLLC."; } + identity fastEtherFX { base iana-interface-type; status deprecated; @@ -436,56 +502,67 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity channel { base iana-interface-type; description "Channel."; } + identity ieee80211 { base iana-interface-type; description "Radio spread spectrum."; } + identity ibm370parChan { base iana-interface-type; description "IBM System 360/370 OEMI Channel."; } + identity escon { base iana-interface-type; description "IBM Enterprise Systems Connection."; } + identity dlsw { base iana-interface-type; description "Data Link Switching."; } + identity isdns { base iana-interface-type; description "ISDN S/T interface."; } + identity isdnu { base iana-interface-type; description "ISDN U interface."; } + identity lapd { base iana-interface-type; description "Link Access Protocol D."; } + identity ipSwitch { base iana-interface-type; description "IP Switching Objects."; } + identity rsrb { base iana-interface-type; description "Remote Source Route Bridging."; } + identity atmLogical { base iana-interface-type; description @@ -494,6 +571,7 @@ module iana-if-type { "RFC 3606 - Definitions of Supplemental Managed Objects for ATM Interface"; } + identity ds0 { base iana-interface-type; description @@ -502,6 +580,7 @@ module iana-if-type { "RFC 2494 - Definitions of Managed Objects for the DS0 and DS0 Bundle Interface Type"; } + identity ds0Bundle { base iana-interface-type; description @@ -510,161 +589,193 @@ module iana-if-type { "RFC 2494 - Definitions of Managed Objects for the DS0 and DS0 Bundle Interface Type"; } + identity bsc { base iana-interface-type; description "Bisynchronous Protocol."; } + identity async { base iana-interface-type; description "Asynchronous Protocol."; } + identity cnr { base iana-interface-type; description "Combat Net Radio."; } + identity iso88025Dtr { base iana-interface-type; description "ISO 802.5r DTR."; } + identity eplrs { base iana-interface-type; description "Ext Pos Loc Report Sys."; } + identity arap { base iana-interface-type; description "Appletalk Remote Access Protocol."; } + identity propCnls { base iana-interface-type; description "Proprietary Connectionless Protocol."; } + identity hostPad { base iana-interface-type; description "CCITT-ITU X.29 PAD Protocol."; } + identity termPad { base iana-interface-type; description "CCITT-ITU X.3 PAD Facility."; } + identity frameRelayMPI { base iana-interface-type; description "Multiproto Interconnect over FR."; } + identity x213 { base iana-interface-type; description "CCITT-ITU X213."; } + identity adsl { base iana-interface-type; description "Asymmetric Digital Subscriber Loop."; } + identity radsl { base iana-interface-type; description "Rate-Adapt. Digital Subscriber Loop."; } + identity sdsl { base iana-interface-type; description "Symmetric Digital Subscriber Loop."; } + identity vdsl { base iana-interface-type; description "Very H-Speed Digital Subscrib. Loop."; } + identity iso88025CRFPInt { base iana-interface-type; description "ISO 802.5 CRFP."; } + identity myrinet { base iana-interface-type; description "Myricom Myrinet."; } + identity voiceEM { base iana-interface-type; description "Voice recEive and transMit."; } + identity voiceFXO { base iana-interface-type; description "Voice Foreign Exchange Office."; } + identity voiceFXS { base iana-interface-type; description "Voice Foreign Exchange Station."; } + identity voiceEncap { base iana-interface-type; description "Voice encapsulation."; } + identity voiceOverIp { base iana-interface-type; description "Voice over IP encapsulation."; } + identity atmDxi { base iana-interface-type; description "ATM DXI."; } + identity atmFuni { base iana-interface-type; description "ATM FUNI."; } + identity atmIma { base iana-interface-type; description "ATM IMA."; } + identity pppMultilinkBundle { base iana-interface-type; description "PPP Multilink Bundle."; } + identity ipOverCdlc { base iana-interface-type; description "IBM ipOverCdlc."; } + identity ipOverClaw { base iana-interface-type; description "IBM Common Link Access to Workstn."; } + identity stackToStack { base iana-interface-type; description "IBM stackToStack."; } + identity virtualIpAddress { base iana-interface-type; description "IBM VIPA."; } + identity mpc { base iana-interface-type; description "IBM multi-protocol channel support."; } + identity ipOverAtm { base iana-interface-type; description @@ -673,21 +784,22 @@ module iana-if-type { "RFC 2320 - Definitions of Managed Objects for Classical IP and ARP Over ATM Using SMIv2 (IPOA-MIB)"; } + identity iso88025Fiber { base iana-interface-type; description "ISO 802.5j Fiber Token Ring."; } + identity tdlc { base iana-interface-type; description "IBM twinaxial data link control."; } + identity gigabitEthernet { base iana-interface-type; status deprecated; - - description "Obsoleted via RFC 3635. ethernetCsmacd(6) should be used instead."; @@ -695,41 +807,49 @@ module iana-if-type { "RFC 3635 - Definitions of Managed Objects for the Ethernet-like Interface Types"; } + identity hdlc { base iana-interface-type; description "HDLC."; } + identity lapf { base iana-interface-type; description "LAP F."; } + identity v37 { base iana-interface-type; description "V.37."; } + identity x25mlp { base iana-interface-type; description "Multi-Link Protocol."; } + identity x25huntGroup { base iana-interface-type; description "X25 Hunt Group."; } + identity transpHdlc { base iana-interface-type; description "Transp HDLC."; } + identity interleave { base iana-interface-type; description "Interleave channel."; } + identity fast { base iana-interface-type; description @@ -741,43 +861,50 @@ module iana-if-type { description "IP (for APPN HPR in IP networks)."; } + identity docsCableMaclayer { base iana-interface-type; description "CATV Mac Layer."; } + identity docsCableDownstream { base iana-interface-type; description "CATV Downstream interface."; } + identity docsCableUpstream { base iana-interface-type; description "CATV Upstream interface."; } + identity a12MppSwitch { base iana-interface-type; description "Avalon Parallel Processor."; } + identity tunnel { base iana-interface-type; description "Encapsulation interface."; } + identity coffee { base iana-interface-type; description "Coffee pot."; - reference - "RFC 2325 - Coffee MIB"; + reference "RFC 2325 - Coffee MIB"; } + identity ces { base iana-interface-type; description "Circuit Emulation Service."; } + identity atmSubInterface { base iana-interface-type; description @@ -789,122 +916,145 @@ module iana-if-type { description "Layer 2 Virtual LAN using 802.1Q."; } + identity l3ipvlan { base iana-interface-type; description "Layer 3 Virtual LAN using IP."; } + identity l3ipxvlan { base iana-interface-type; description "Layer 3 Virtual LAN using IPX."; } + identity digitalPowerline { base iana-interface-type; description "IP over Power Lines."; } + identity mediaMailOverIp { base iana-interface-type; description "Multimedia Mail over IP."; } + identity dtm { base iana-interface-type; description "Dynamic synchronous Transfer Mode."; } + identity dcn { base iana-interface-type; description "Data Communications Network."; } + identity ipForward { base iana-interface-type; description "IP Forwarding Interface."; } + identity msdsl { base iana-interface-type; description "Multi-rate Symmetric DSL."; } + identity ieee1394 { base iana-interface-type; - description "IEEE1394 High Performance Serial Bus."; } + identity if-gsn { base iana-interface-type; description "HIPPI-6400."; } + identity dvbRccMacLayer { base iana-interface-type; description "DVB-RCC MAC Layer."; } + identity dvbRccDownstream { base iana-interface-type; description "DVB-RCC Downstream Channel."; } + identity dvbRccUpstream { base iana-interface-type; description "DVB-RCC Upstream Channel."; } + identity atmVirtual { base iana-interface-type; description "ATM Virtual Interface."; } + identity mplsTunnel { base iana-interface-type; description "MPLS Tunnel Virtual Interface."; } + identity srp { base iana-interface-type; description "Spatial Reuse Protocol."; } + identity voiceOverAtm { base iana-interface-type; description "Voice over ATM."; } + identity voiceOverFrameRelay { base iana-interface-type; description "Voice Over Frame Relay."; } + identity idsl { base iana-interface-type; description "Digital Subscriber Loop over ISDN."; } + identity compositeLink { base iana-interface-type; description "Avici Composite Link Interface."; } + identity ss7SigLink { base iana-interface-type; description "SS7 Signaling Link."; } + identity propWirelessP2P { base iana-interface-type; description "Prop. P2P wireless interface."; } + identity frForward { base iana-interface-type; description "Frame Forward Interface."; } + identity rfc1483 { base iana-interface-type; description @@ -913,132 +1063,151 @@ module iana-if-type { "RFC 1483 - Multiprotocol Encapsulation over ATM Adaptation Layer 5"; } + identity usb { base iana-interface-type; description "USB Interface."; } + identity ieee8023adLag { base iana-interface-type; description "IEEE 802.3ad Link Aggregate."; } + identity bgppolicyaccounting { base iana-interface-type; description "BGP Policy Accounting."; } + identity frf16MfrBundle { base iana-interface-type; description "FRF.16 Multilink Frame Relay."; } + identity h323Gatekeeper { base iana-interface-type; description "H323 Gatekeeper."; } + identity h323Proxy { base iana-interface-type; description "H323 Voice and Video Proxy."; } + identity mpls { base iana-interface-type; description "MPLS."; } + identity mfSigLink { base iana-interface-type; description "Multi-frequency signaling link."; } + identity hdsl2 { base iana-interface-type; description "High Bit-Rate DSL - 2nd generation."; } + identity shdsl { base iana-interface-type; description "Multirate HDSL2."; } + identity ds1FDL { base iana-interface-type; description "Facility Data Link (4Kbps) on a DS1."; } + identity pos { base iana-interface-type; description "Packet over SONET/SDH Interface."; } - - identity dvbAsiIn { base iana-interface-type; description "DVB-ASI Input."; } + identity dvbAsiOut { base iana-interface-type; description "DVB-ASI Output."; } + identity plc { base iana-interface-type; description "Power Line Communications."; } + identity nfas { base iana-interface-type; description "Non-Facility Associated Signaling."; } + identity tr008 { base iana-interface-type; description "TR008."; } + identity gr303RDT { base iana-interface-type; description "Remote Digital Terminal."; } + identity gr303IDT { base iana-interface-type; description "Integrated Digital Terminal."; } + identity isup { base iana-interface-type; description "ISUP."; } + identity propDocsWirelessMaclayer { base iana-interface-type; description "Cisco proprietary Maclayer."; } - - identity propDocsWirelessDownstream { base iana-interface-type; description "Cisco proprietary Downstream."; } + identity propDocsWirelessUpstream { base iana-interface-type; description "Cisco proprietary Upstream."; } + identity hiperlan2 { base iana-interface-type; description "HIPERLAN Type 2 Radio Interface."; } + identity propBWAp2Mp { base iana-interface-type; description @@ -1047,228 +1216,261 @@ module iana-if-type { is deprecated, and ieee80216WMAN(237) should be used instead)."; } + identity sonetOverheadChannel { base iana-interface-type; description "SONET Overhead Channel."; } + identity digitalWrapperOverheadChannel { base iana-interface-type; description "Digital Wrapper."; } + identity aal2 { base iana-interface-type; description "ATM adaptation layer 2."; } + identity radioMAC { base iana-interface-type; description "MAC layer over radio links."; } + identity atmRadio { base iana-interface-type; description "ATM over radio links."; } + identity imt { base iana-interface-type; description "Inter-Machine Trunks."; } + identity mvl { base iana-interface-type; description "Multiple Virtual Lines DSL."; } + identity reachDSL { base iana-interface-type; description "Long Reach DSL."; } + identity frDlciEndPt { base iana-interface-type; description "Frame Relay DLCI End Point."; } + identity atmVciEndPt { base iana-interface-type; description "ATM VCI End Point."; } + identity opticalChannel { base iana-interface-type; description "Optical Channel."; } + identity opticalTransport { base iana-interface-type; description "Optical Transport."; } + identity propAtm { base iana-interface-type; description "Proprietary ATM."; } + identity voiceOverCable { base iana-interface-type; description "Voice Over Cable Interface."; } - - identity infiniband { base iana-interface-type; description "Infiniband."; } + identity teLink { base iana-interface-type; description "TE Link."; } + identity q2931 { base iana-interface-type; description "Q.2931."; } + identity virtualTg { base iana-interface-type; description "Virtual Trunk Group."; } + identity sipTg { base iana-interface-type; description "SIP Trunk Group."; } + identity sipSig { base iana-interface-type; description "SIP Signaling."; } + identity docsCableUpstreamChannel { base iana-interface-type; description "CATV Upstream Channel."; } + identity econet { base iana-interface-type; description "Acorn Econet."; } + identity pon155 { base iana-interface-type; description "FSAN 155Mb Symetrical PON interface."; } - - identity pon622 { base iana-interface-type; description "FSAN 622Mb Symetrical PON interface."; } + identity bridge { base iana-interface-type; description "Transparent bridge interface."; } + identity linegroup { base iana-interface-type; description "Interface common to multiple lines."; } + identity voiceEMFGD { base iana-interface-type; description "Voice E&M Feature Group D."; } + identity voiceFGDEANA { base iana-interface-type; description "Voice FGD Exchange Access North American."; } + identity voiceDID { base iana-interface-type; description "Voice Direct Inward Dialing."; } + identity mpegTransport { base iana-interface-type; description "MPEG transport interface."; } + identity sixToFour { base iana-interface-type; status deprecated; description "6to4 interface (DEPRECATED)."; - reference - "RFC 4087 - IP Tunnel MIB"; + reference "RFC 4087 - IP Tunnel MIB"; } + identity gtp { base iana-interface-type; description "GTP (GPRS Tunneling Protocol)."; } + identity pdnEtherLoop1 { base iana-interface-type; description "Paradyne EtherLoop 1."; } + identity pdnEtherLoop2 { base iana-interface-type; description "Paradyne EtherLoop 2."; } + identity opticalChannelGroup { base iana-interface-type; description "Optical Channel Group."; } + identity homepna { base iana-interface-type; description "HomePNA ITU-T G.989."; } + identity gfp { base iana-interface-type; description "Generic Framing Procedure (GFP)."; } + identity ciscoISLvlan { base iana-interface-type; description "Layer 2 Virtual LAN using Cisco ISL."; } + identity actelisMetaLOOP { base iana-interface-type; description "Acteleis proprietary MetaLOOP High Speed Link."; } + identity fcipLink { base iana-interface-type; description "FCIP Link."; } + identity rpr { base iana-interface-type; description "Resilient Packet Ring Interface Type."; } - - identity qam { base iana-interface-type; description "RF Qam Interface."; } + identity lmp { base iana-interface-type; description @@ -1277,16 +1479,19 @@ module iana-if-type { "RFC 4327 - Link Management Protocol (LMP) Management Information Base (MIB)"; } + identity cblVectaStar { base iana-interface-type; description "Cambridge Broadband Networks Limited VectaStar."; } + identity docsCableMCmtsDownstream { base iana-interface-type; description "CATV Modular CMTS Downstream Interface."; } + identity adsl2 { base iana-interface-type; status deprecated; @@ -1298,117 +1503,134 @@ module iana-if-type { "RFC 4706 - Definitions of Managed Objects for Asymmetric Digital Subscriber Line 2 (ADSL2)"; } + identity macSecControlledIF { base iana-interface-type; description "MACSecControlled."; } + identity macSecUncontrolledIF { base iana-interface-type; description "MACSecUncontrolled."; } + identity aviciOpticalEther { base iana-interface-type; description "Avici Optical Ethernet Aggregate."; } + identity atmbond { base iana-interface-type; description "atmbond."; } + identity voiceFGDOS { base iana-interface-type; description "Voice FGD Operator Services."; } + identity mocaVersion1 { base iana-interface-type; description "MultiMedia over Coax Alliance (MoCA) Interface as documented in information provided privately to IANA."; } + identity ieee80216WMAN { base iana-interface-type; description "IEEE 802.16 WMAN interface."; } + identity adsl2plus { base iana-interface-type; description "Asymmetric Digital Subscriber Loop Version 2 - Version 2 Plus and all variants."; } + identity dvbRcsMacLayer { base iana-interface-type; description "DVB-RCS MAC Layer."; - reference - "RFC 5728 - The SatLabs Group DVB-RCS MIB"; + reference "RFC 5728 - The SatLabs Group DVB-RCS MIB"; } + identity dvbTdm { base iana-interface-type; description "DVB Satellite TDM."; - reference - "RFC 5728 - The SatLabs Group DVB-RCS MIB"; + reference "RFC 5728 - The SatLabs Group DVB-RCS MIB"; } + identity dvbRcsTdma { base iana-interface-type; description "DVB-RCS TDMA."; - reference - "RFC 5728 - The SatLabs Group DVB-RCS MIB"; + reference "RFC 5728 - The SatLabs Group DVB-RCS MIB"; } + identity x86Laps { base iana-interface-type; description "LAPS based on ITU-T X.86/Y.1323."; } + identity wwanPP { base iana-interface-type; description "3GPP WWAN."; } + identity wwanPP2 { base iana-interface-type; description "3GPP2 WWAN."; } + identity voiceEBS { base iana-interface-type; description "Voice P-phone EBS physical interface."; } + identity ifPwType { base iana-interface-type; description "Pseudowire interface type."; - reference - "RFC 5601 - Pseudowire (PW) Management Information Base (MIB)"; + reference "RFC 5601 - Pseudowire (PW) Management Information Base (MIB)"; } + identity ilan { base iana-interface-type; description "Internal LAN on a bridge per IEEE 802.1ap."; } + identity pip { base iana-interface-type; description "Provider Instance Port on a bridge per IEEE 802.1ah PBB."; } + identity aluELP { base iana-interface-type; description "Alcatel-Lucent Ethernet Link Protection."; } + identity gpon { base iana-interface-type; description "Gigabit-capable passive optical networks (G-PON) as per ITU-T G.948."; } + identity vdsl2 { base iana-interface-type; description @@ -1418,6 +1640,7 @@ module iana-if-type { "RFC 5650 - Definitions of Managed Objects for Very High Speed Digital Subscriber Line 2 (VDSL2)"; } + identity capwapDot11Profile { base iana-interface-type; description @@ -1427,6 +1650,7 @@ module iana-if-type { Points (CAPWAP) Protocol Binding MIB for IEEE 802.11"; } + identity capwapDot11Bss { base iana-interface-type; description @@ -1436,6 +1660,7 @@ module iana-if-type { Points (CAPWAP) Protocol Binding MIB for IEEE 802.11"; } + identity capwapWtpVirtualRadio { base iana-interface-type; description @@ -1444,60 +1669,68 @@ module iana-if-type { "RFC 5833 - Control and Provisioning of Wireless Access Points (CAPWAP) Protocol Base MIB"; } + identity bits { base iana-interface-type; description "bitsport."; } + identity docsCableUpstreamRfPort { base iana-interface-type; description "DOCSIS CATV Upstream RF Port."; } - identity cableDownstreamRfPort { base iana-interface-type; description "CATV downstream RF Port."; } + identity vmwareVirtualNic { base iana-interface-type; description "VMware Virtual Network Interface."; } + identity ieee802154 { base iana-interface-type; description "IEEE 802.15.4 WPAN interface."; - reference - "IEEE 802.15.4-2006"; + reference "IEEE 802.15.4-2006"; } + identity otnOdu { base iana-interface-type; description "OTN Optical Data Unit."; } + identity otnOtu { base iana-interface-type; description "OTN Optical channel Transport Unit."; } + identity ifVfiType { base iana-interface-type; description "VPLS Forwarding Instance Interface Type."; } + identity g9981 { base iana-interface-type; description "G.998.1 bonded interface."; } + identity g9982 { base iana-interface-type; description "G.998.2 bonded interface."; } + identity g9983 { base iana-interface-type; description @@ -1509,39 +1742,69 @@ module iana-if-type { description "Ethernet Passive Optical Networks (E-PON)."; } + identity aluEponOnu { base iana-interface-type; description "EPON Optical Network Unit."; } + identity aluEponPhysicalUni { base iana-interface-type; description "EPON physical User to Network interface."; } + identity aluEponLogicalLink { base iana-interface-type; description "The emulation of a point-to-point link over the EPON layer."; } + identity aluGponOnu { base iana-interface-type; description "GPON Optical Network Unit."; - reference - "ITU-T G.984.2"; + reference "ITU-T G.984.2"; } + identity aluGponPhysicalUni { base iana-interface-type; description "GPON physical User to Network interface."; - reference - "ITU-T G.984.2"; + reference "ITU-T G.984.2"; } + identity vmwareNicTeam { base iana-interface-type; description "VMware NIC Team."; } + + identity docsOfdmDownstream { + base iana-interface-type; + description + "CATV Downstream OFDM interface."; + } + + identity docsOfdmaUpstream { + base iana-interface-type; + description + "CATV Upstream OFDMA interface."; + } + + identity gfast { + base iana-interface-type; + description + "G.fast port."; + reference "ITU-T G.9701"; + } + + identity sdci { + base iana-interface-type; + description + "SDCI (IO-Link)."; + reference "IEC 61131-9 Edition 1.0 2013-09"; + } } diff --git a/yang/modules/cisco-ios-xr/632/ietf-inet-types.yang b/yang/modules/cisco-ios-xr/632/ietf-inet-types.yang new file mode 100644 index 0000000..fafb940 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ietf-inet-types.yang @@ -0,0 +1,419 @@ +module ietf-inet-types { + namespace "urn:ietf:params:xml:ns:yang:ietf-inet-types"; + prefix inet; + + organization + "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; + contact + "WG Web: + WG List: + + WG Chair: David Kessens + + + WG Chair: Juergen Schoenwaelder + + + Editor: Juergen Schoenwaelder + "; + description + "This module contains a collection of generally useful derived + YANG data types for Internet addresses and related things. + + Copyright (c) 2013 IETF Trust and the persons identified as + authors of the code. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject + to the license terms contained in, the Simplified BSD License + set forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (http://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC 6991; see + the RFC itself for full legal notices."; + + revision 2013-07-15 { + description + "This revision adds the following new data types: + - ip-address-no-zone + - ipv4-address-no-zone + - ipv6-address-no-zone"; + reference "RFC 6991: Common YANG Data Types"; + } + revision 2010-09-24 { + description + "Initial revision."; + reference "RFC 6021: Common YANG Data Types"; + } + + typedef ip-version { + type enumeration { + enum "unknown" { + value 0; + description + "An unknown or unspecified version of the Internet + protocol."; + } + enum "ipv4" { + value 1; + description + "The IPv4 protocol as defined in RFC 791."; + } + enum "ipv6" { + value 2; + description + "The IPv6 protocol as defined in RFC 2460."; + } + } + description + "This value represents the version of the IP protocol. + + In the value set and its semantics, this type is equivalent + to the InetVersion textual convention of the SMIv2."; + reference + "RFC 791: Internet Protocol + RFC 2460: Internet Protocol, Version 6 (IPv6) Specification + RFC 4001: Textual Conventions for Internet Network Addresses"; + } + + typedef dscp { + type uint8 { + range "0..63"; + } + description + "The dscp type represents a Differentiated Services Code Point + that may be used for marking packets in a traffic stream. + In the value set and its semantics, this type is equivalent + to the Dscp textual convention of the SMIv2."; + reference + "RFC 3289: Management Information Base for the Differentiated + Services Architecture + RFC 2474: Definition of the Differentiated Services Field + (DS Field) in the IPv4 and IPv6 Headers + RFC 2780: IANA Allocation Guidelines For Values In + the Internet Protocol and Related Headers"; + } + + typedef ipv6-flow-label { + type uint32 { + range "0..1048575"; + } + description + "The ipv6-flow-label type represents the flow identifier or Flow + Label in an IPv6 packet header that may be used to + discriminate traffic flows. + + In the value set and its semantics, this type is equivalent + to the IPv6FlowLabel textual convention of the SMIv2."; + reference + "RFC 3595: Textual Conventions for IPv6 Flow Label + RFC 2460: Internet Protocol, Version 6 (IPv6) Specification"; + } + + typedef port-number { + type uint16 { + range "0..65535"; + } + description + "The port-number type represents a 16-bit port number of an + Internet transport-layer protocol such as UDP, TCP, DCCP, or + SCTP. Port numbers are assigned by IANA. A current list of + all assignments is available from . + + Note that the port number value zero is reserved by IANA. In + situations where the value zero does not make sense, it can + be excluded by subtyping the port-number type. + In the value set and its semantics, this type is equivalent + to the InetPortNumber textual convention of the SMIv2."; + reference + "RFC 768: User Datagram Protocol + RFC 793: Transmission Control Protocol + RFC 4960: Stream Control Transmission Protocol + RFC 4340: Datagram Congestion Control Protocol (DCCP) + RFC 4001: Textual Conventions for Internet Network Addresses"; + } + + typedef as-number { + type uint32; + description + "The as-number type represents autonomous system numbers + which identify an Autonomous System (AS). An AS is a set + of routers under a single technical administration, using + an interior gateway protocol and common metrics to route + packets within the AS, and using an exterior gateway + protocol to route packets to other ASes. IANA maintains + the AS number space and has delegated large parts to the + regional registries. + + Autonomous system numbers were originally limited to 16 + bits. BGP extensions have enlarged the autonomous system + number space to 32 bits. This type therefore uses an uint32 + base type without a range restriction in order to support + a larger autonomous system number space. + + In the value set and its semantics, this type is equivalent + to the InetAutonomousSystemNumber textual convention of + the SMIv2."; + reference + "RFC 1930: Guidelines for creation, selection, and registration + of an Autonomous System (AS) + RFC 4271: A Border Gateway Protocol 4 (BGP-4) + RFC 4001: Textual Conventions for Internet Network Addresses + RFC 6793: BGP Support for Four-Octet Autonomous System (AS) + Number Space"; + } + + typedef ip-address { + type union { + type inet:ipv4-address; + type inet:ipv6-address; + } + description + "The ip-address type represents an IP address and is IP + version neutral. The format of the textual representation + implies the IP version. This type supports scoped addresses + by allowing zone identifiers in the address format."; + reference "RFC 4007: IPv6 Scoped Address Architecture"; + } + + typedef ipv4-address { + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?"; + } + description + "The ipv4-address type represents an IPv4 address in + dotted-quad notation. The IPv4 address may include a zone + index, separated by a % sign. + + The zone index is used to disambiguate identical address + values. For link-local addresses, the zone index will + typically be the interface index number or the name of an + interface. If the zone index is not present, the default + zone of the device will be used. + + The canonical format for the zone index is the numerical + format"; + } + + typedef ipv6-address { + type string { + pattern "((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?"; + pattern "(([^:]+:){6}(([^:]+:[^:]+)|(.*\\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(%.+)?"; + } + description + "The ipv6-address type represents an IPv6 address in full, + mixed, shortened, and shortened-mixed notation. The IPv6 + address may include a zone index, separated by a % sign. + + The zone index is used to disambiguate identical address + values. For link-local addresses, the zone index will + typically be the interface index number or the name of an + interface. If the zone index is not present, the default + zone of the device will be used. + + The canonical format of IPv6 addresses uses the textual + representation defined in Section 4 of RFC 5952. The + canonical format for the zone index is the numerical + format as described in Section 11.2 of RFC 4007."; + reference + "RFC 4291: IP Version 6 Addressing Architecture + RFC 4007: IPv6 Scoped Address Architecture + RFC 5952: A Recommendation for IPv6 Address Text + Representation"; + } + + typedef ip-address-no-zone { + type union { + type inet:ipv4-address-no-zone; + type inet:ipv6-address-no-zone; + } + description + "The ip-address-no-zone type represents an IP address and is + IP version neutral. The format of the textual representation + implies the IP version. This type does not support scoped + addresses since it does not allow zone identifiers in the + address format."; + reference "RFC 4007: IPv6 Scoped Address Architecture"; + } + + typedef ipv4-address-no-zone { + type inet:ipv4-address { + pattern "[0-9\\.]*"; + } + description + "An IPv4 address without a zone index. This type, derived from + ipv4-address, may be used in situations where the zone is + known from the context and hence no zone index is needed."; + } + + typedef ipv6-address-no-zone { + type inet:ipv6-address { + pattern "[0-9a-fA-F:\\.]*"; + } + description + "An IPv6 address without a zone index. This type, derived from + ipv6-address, may be used in situations where the zone is + known from the context and hence no zone index is needed."; + reference + "RFC 4291: IP Version 6 Addressing Architecture + RFC 4007: IPv6 Scoped Address Architecture + RFC 5952: A Recommendation for IPv6 Address Text + Representation"; + } + + typedef ip-prefix { + type union { + type inet:ipv4-prefix; + type inet:ipv6-prefix; + } + description + "The ip-prefix type represents an IP prefix and is IP + version neutral. The format of the textual representations + implies the IP version."; + } + + typedef ipv4-prefix { + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))"; + } + description + "The ipv4-prefix type represents an IPv4 address prefix. + The prefix length is given by the number following the + slash character and must be less than or equal to 32. + + A prefix length value of n corresponds to an IP address + mask that has n contiguous 1-bits from the most + significant bit (MSB) and all other bits set to 0. + + The canonical format of an IPv4 prefix has all bits of + the IPv4 address set to zero that are not part of the + IPv4 prefix."; + } + + typedef ipv6-prefix { + type string { + pattern "((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))"; + pattern "(([^:]+:){6}(([^:]+:[^:]+)|(.*\\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(/.+)"; + } + description + "The ipv6-prefix type represents an IPv6 address prefix. + The prefix length is given by the number following the + slash character and must be less than or equal to 128. + + A prefix length value of n corresponds to an IP address + mask that has n contiguous 1-bits from the most + significant bit (MSB) and all other bits set to 0. + + The IPv6 address should have all bits that do not belong + to the prefix set to zero. + + The canonical format of an IPv6 prefix has all bits of + the IPv6 address set to zero that are not part of the + IPv6 prefix. Furthermore, the IPv6 address is represented + as defined in Section 4 of RFC 5952."; + reference + "RFC 5952: A Recommendation for IPv6 Address Text + Representation"; + } + + typedef domain-name { + type string { + length "1..253"; + pattern "((([a-zA-Z0-9_]([a-zA-Z0-9\\-_]){0,61})?[a-zA-Z0-9]\\.)*([a-zA-Z0-9_]([a-zA-Z0-9\\-_]){0,61})?[a-zA-Z0-9]\\.?)|\\."; + } + description + "The domain-name type represents a DNS domain name. The + name SHOULD be fully qualified whenever possible. + + Internet domain names are only loosely specified. Section + 3.5 of RFC 1034 recommends a syntax (modified in Section + 2.1 of RFC 1123). The pattern above is intended to allow + for current practice in domain name use, and some possible + future expansion. It is designed to hold various types of + domain names, including names used for A or AAAA records + (host names) and other records, such as SRV records. Note + that Internet host names have a stricter syntax (described + in RFC 952) than the DNS recommendations in RFCs 1034 and + 1123, and that systems that want to store host names in + schema nodes using the domain-name type are recommended to + adhere to this stricter standard to ensure interoperability. + + The encoding of DNS names in the DNS protocol is limited + to 255 characters. Since the encoding consists of labels + prefixed by a length bytes and there is a trailing NULL + byte, only 253 characters can appear in the textual dotted + notation. + + The description clause of schema nodes using the domain-name + type MUST describe when and how these names are resolved to + IP addresses. Note that the resolution of a domain-name value + may require to query multiple DNS records (e.g., A for IPv4 + and AAAA for IPv6). The order of the resolution process and + which DNS record takes precedence can either be defined + explicitly or may depend on the configuration of the + resolver. + + Domain-name values use the US-ASCII encoding. Their canonical + format uses lowercase US-ASCII characters. Internationalized + domain names MUST be A-labels as per RFC 5890."; + reference + "RFC 952: DoD Internet Host Table Specification + RFC 1034: Domain Names - Concepts and Facilities + RFC 1123: Requirements for Internet Hosts -- Application + and Support + RFC 2782: A DNS RR for specifying the location of services + (DNS SRV) + RFC 5890: Internationalized Domain Names in Applications + (IDNA): Definitions and Document Framework"; + } + + typedef host { + type union { + type inet:ip-address; + type inet:domain-name; + } + description + "The host type represents either an IP address or a DNS + domain name."; + } + + typedef uri { + type string; + description + "The uri type represents a Uniform Resource Identifier + (URI) as defined by STD 66. + + Objects using the uri type MUST be in US-ASCII encoding, + and MUST be normalized as described by RFC 3986 Sections + 6.2.1, 6.2.2.1, and 6.2.2.2. All unnecessary + percent-encoding is removed, and all case-insensitive + characters are set to lowercase except for hexadecimal + digits, which are normalized to uppercase as described in + Section 6.2.2.1. + + The purpose of this normalization is to help provide + unique URIs. Note that this normalization is not + sufficient to provide uniqueness. Two URIs that are + textually distinct after this normalization may still be + equivalent. + + Objects using the uri type may restrict the schemes that + they permit. For example, 'data:' and 'urn:' schemes + might not be appropriate. + + A zero-length URI is not a valid URI. This can be used to + express 'URI absent' where required. + + In the value set and its semantics, this type is equivalent + to the Uri SMIv2 textual convention defined in RFC 5017."; + reference + "RFC 3986: Uniform Resource Identifier (URI): Generic Syntax + RFC 3305: Report from the Joint W3C/IETF URI Planning Interest + Group: Uniform Resource Identifiers (URIs), URLs, + and Uniform Resource Names (URNs): Clarifications + and Recommendations + RFC 5017: MIB Textual Conventions for Uniform Resource + Identifiers (URIs)"; + } +} diff --git a/yang/modules/cisco-ios-xr/631/ietf-interfaces.yang b/yang/modules/cisco-ios-xr/632/ietf-interfaces.yang old mode 100755 new mode 100644 similarity index 88% rename from yang/modules/cisco-ios-xr/631/ietf-interfaces.yang rename to yang/modules/cisco-ios-xr/632/ietf-interfaces.yang index ad64425..e9fa1b7 --- a/yang/modules/cisco-ios-xr/631/ietf-interfaces.yang +++ b/yang/modules/cisco-ios-xr/632/ietf-interfaces.yang @@ -1,5 +1,4 @@ module ietf-interfaces { - namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces"; prefix if; @@ -9,85 +8,47 @@ module ietf-interfaces { organization "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; - contact "WG Web: WG List: - + WG Chair: Thomas Nadeau - + WG Chair: Juergen Schoenwaelder - + Editor: Martin Bjorklund "; - description "This module contains a collection of YANG definitions for managing network interfaces. - + Copyright (c) 2014 IETF Trust and the persons identified as authors of the code. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). - + This version of this YANG module is part of RFC 7223; see the RFC itself for full legal notices."; revision 2014-05-08 { description "Initial revision."; - reference - "RFC 7223: A YANG Data Model for Interface Management"; - } - - /* - * Typedefs - */ - - typedef interface-ref { - type leafref { - path "/if:interfaces/if:interface/if:name"; - } - description - "This type is used by data models that need to reference - configured interfaces."; - } - - typedef interface-state-ref { - type leafref { - path "/if:interfaces-state/if:interface/if:name"; - } - description - "This type is used by data models that need to reference - the operationally present interfaces."; - } - - /* - * Identities - */ - - identity interface-type { - description - "Base identity from which specific interface types are - derived."; + reference "RFC 7223: A YANG Data Model for Interface Management"; } - /* - * Features - */ - feature arbitrary-names { description "This feature indicates that the device allows user-controlled interfaces to be named arbitrarily."; } + feature pre-provisioning { description "This feature indicates that the device supports @@ -100,24 +61,41 @@ module ietf-interfaces { description "This feature indicates that the device implements the IF-MIB."; - reference - "RFC 2863: The Interfaces Group MIB"; + reference "RFC 2863: The Interfaces Group MIB"; + } + + identity interface-type { + description + "Base identity from which specific interface types are + derived."; + } + + typedef interface-ref { + type leafref { + path "/if:interfaces/if:interface/if:name"; + } + description + "This type is used by data models that need to reference + configured interfaces."; } - /* - * Configuration data nodes - */ + typedef interface-state-ref { + type leafref { + path "/if:interfaces-state/if:interface/if:name"; + } + description + "This type is used by data models that need to reference + the operationally present interfaces."; + } container interfaces { description "Interface configuration parameters."; - list interface { key "name"; - description "The list of configured interfaces on the device. - + The operational state of an interface is available in the /interfaces-state/interface list. If the configuration of a system-controlled interface cannot be used by the system @@ -128,19 +106,18 @@ module ietf-interfaces { of a user-controlled interface cannot be used by the system, the configured interface is not instantiated in the /interfaces-state/interface list."; - - leaf name { + leaf name { type string; description "The name of the interface. - + A device MAY restrict the allowed values for this leaf, possibly depending on the type of the interface. For system-controlled interfaces, this leaf is the device-specific name of the interface. The 'config false' list /interfaces-state/interface contains the currently existing interfaces on the device. - + If a client tries to create configuration for a system-controlled interface that is not present in the /interfaces-state/interface list, the server MAY reject @@ -149,52 +126,49 @@ module ietf-interfaces { an interface that can never exist in the system. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case. - + If the device supports pre-provisioning of interface configuration, the 'pre-provisioning' feature is advertised. - + If the device allows arbitrarily named user-controlled interfaces, the 'arbitrary-names' feature is advertised. - + When a configured user-controlled interface is created by the system, it is instantiated with the same name in the /interface-state/interface list."; } - leaf description { type string; description "A textual description of the interface. - + A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. - + Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of 'description' in the persistently stored datastore. - + Specifically, if the device supports ':startup', when ifAlias is read the device MUST return the value of 'description' in the 'startup' datastore, and when it is written, it MUST be written to the 'running' and 'startup' datastores. Note that it is up to the implementation to - + decide whether to modify this single leaf in 'startup' or perform an implicit copy-config from 'running' to 'startup'. - + If the device does not support ':startup', ifAlias MUST be mapped to the 'description' leaf in the 'running' datastore."; - reference - "RFC 2863: The Interfaces Group MIB - ifAlias"; + reference "RFC 2863: The Interfaces Group MIB - ifAlias"; } - leaf type { type identityref { base interface-type; @@ -202,57 +176,51 @@ module ietf-interfaces { mandatory true; description "The type of the interface. - + When an interface entry is created, a server MAY initialize the type leaf with a valid value, e.g., if it is possible to derive the type from the name of the interface. - + If a client tries to set the type of an interface to a value that can never be used by the system, e.g., if the type is not supported or if the type does not match the name of the interface, the server MUST reject the request. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case."; - reference - "RFC 2863: The Interfaces Group MIB - ifType"; + reference "RFC 2863: The Interfaces Group MIB - ifType"; } - leaf enabled { type boolean; default "true"; description "This leaf contains the configured, desired state of the interface. - + Systems that implement the IF-MIB use the value of this leaf in the 'running' datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry has been initialized, as described in RFC 2863. - - - + Changes in this leaf in the 'running' datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected."; - reference - "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; + reference "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; } - leaf link-up-down-trap-enable { - if-feature if-mib; + if-feature "if-mib"; type enumeration { - enum enabled { + enum "enabled" { value 1; } - enum disabled { + enum "disabled" { value 2; } } description "Controls whether linkUp/linkDown SNMP notifications should be generated for this interface. - + If this node is not configured, the value 'enabled' is operationally used by the server for interfaces that do not operate on top of any other interface (i.e., there are @@ -263,44 +231,30 @@ module ietf-interfaces { } } } - - /* - * Operational state data nodes - */ - container interfaces-state { config false; description "Data nodes for the operational state of interfaces."; - list interface { key "name"; - - - - - description "The list of interfaces on the device. - + System-controlled interfaces created by the system are always present in this list, whether they are configured or not."; - leaf name { type string; description "The name of the interface. - + A server implementation MAY map this leaf to the ifName MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifName. The definition of such a mechanism is outside the scope of this document."; - reference - "RFC 2863: The Interfaces Group MIB - ifName"; + reference "RFC 2863: The Interfaces Group MIB - ifName"; } - leaf type { type identityref { base interface-type; @@ -308,27 +262,22 @@ module ietf-interfaces { mandatory true; description "The type of the interface."; - reference - "RFC 2863: The Interfaces Group MIB - ifType"; + reference "RFC 2863: The Interfaces Group MIB - ifType"; } - leaf admin-status { - if-feature if-mib; + if-feature "if-mib"; type enumeration { - enum up { + enum "up" { value 1; description "Ready to pass packets."; } - enum down { + enum "down" { value 2; description "Not ready to pass packets and not in some test mode."; } - - - - enum testing { + enum "testing" { value 3; description "In some test mode."; @@ -337,46 +286,44 @@ module ietf-interfaces { mandatory true; description "The desired state of the interface. - + This leaf has the same read semantics as ifAdminStatus."; - reference - "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; + reference "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; } - leaf oper-status { type enumeration { - enum up { + enum "up" { value 1; description "Ready to pass packets."; } - enum down { + enum "down" { value 2; description "The interface does not pass any packets."; } - enum testing { + enum "testing" { value 3; description "In some test mode. No operational packets can be passed."; } - enum unknown { + enum "unknown" { value 4; description "Status cannot be determined for some reason."; } - enum dormant { + enum "dormant" { value 5; description "Waiting for some external event."; } - enum not-present { + enum "not-present" { value 6; description "Some component (typically hardware) is missing."; } - enum lower-layer-down { + enum "lower-layer-down" { value 7; description "Down due to state of lower-layer interface(s)."; @@ -385,12 +332,9 @@ module ietf-interfaces { mandatory true; description "The current operational state of the interface. - This leaf has the same semantics as ifOperStatus."; - reference - "RFC 2863: The Interfaces Group MIB - ifOperStatus"; + reference "RFC 2863: The Interfaces Group MIB - ifOperStatus"; } - leaf last-change { type yang:date-and-time; description @@ -398,12 +342,10 @@ module ietf-interfaces { state. If the current state was entered prior to the last re-initialization of the local network management subsystem, then this node is not present."; - reference - "RFC 2863: The Interfaces Group MIB - ifLastChange"; + reference "RFC 2863: The Interfaces Group MIB - ifLastChange"; } - leaf if-index { - if-feature if-mib; + if-feature "if-mib"; type int32 { range "1..2147483647"; } @@ -411,10 +353,8 @@ module ietf-interfaces { description "The ifIndex value for the ifEntry represented by this interface."; - reference - "RFC 2863: The Interfaces Group MIB - ifIndex"; + reference "RFC 2863: The Interfaces Group MIB - ifIndex"; } - leaf phys-address { type yang:phys-address; description @@ -422,60 +362,42 @@ module ietf-interfaces { example, for an 802.x interface, this object normally contains a Media Access Control (MAC) address. The interface's media-specific modules must define the bit - - and byte ordering and the format of the value of this object. For interfaces that do not have such an address (e.g., a serial line), this node is not present."; - reference - "RFC 2863: The Interfaces Group MIB - ifPhysAddress"; + reference "RFC 2863: The Interfaces Group MIB - ifPhysAddress"; } - leaf-list higher-layer-if { type interface-state-ref; description "A list of references to interfaces layered on top of this interface."; - reference - "RFC 2863: The Interfaces Group MIB - ifStackTable"; + reference "RFC 2863: The Interfaces Group MIB - ifStackTable"; } - leaf-list lower-layer-if { type interface-state-ref; description "A list of references to interfaces layered underneath this interface."; - reference - "RFC 2863: The Interfaces Group MIB - ifStackTable"; + reference "RFC 2863: The Interfaces Group MIB - ifStackTable"; } - leaf speed { type yang:gauge64; units "bits/second"; description - "An estimate of the interface's current bandwidth in bits - per second. For interfaces that do not vary in - bandwidth or for those where no accurate estimation can - be made, this node should contain the nominal bandwidth. - For interfaces that have no concept of bandwidth, this - node is not present."; + "An estimate of the interface's current bandwidth in bits + per second. For interfaces that do not vary in + bandwidth or for those where no accurate estimation can + be made, this node should contain the nominal bandwidth. + For interfaces that have no concept of bandwidth, this + node is not present."; reference "RFC 2863: The Interfaces Group MIB - ifSpeed, ifHighSpeed"; } - - - - - - - - - container statistics { description "A collection of interface-related statistics objects."; - leaf discontinuity-time { type yang:date-and-time; mandatory true; @@ -487,46 +409,38 @@ module ietf-interfaces { subsystem, then this node contains the time the local management subsystem re-initialized itself."; } - leaf in-octets { type yang:counter64; description "The total number of octets received on the interface, including framing characters. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCInOctets"; + reference "RFC 2863: The Interfaces Group MIB - ifHCInOctets"; } - leaf in-unicast-pkts { type yang:counter64; description "The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were not addressed to a multicast or broadcast address at this sub-layer. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts"; + reference "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts"; } - - - - leaf in-broadcast-pkts { type yang:counter64; description "The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a broadcast address at this sub-layer. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of @@ -535,7 +449,6 @@ module ietf-interfaces { "RFC 2863: The Interfaces Group MIB - ifHCInBroadcastPkts"; } - leaf in-multicast-pkts { type yang:counter64; description @@ -543,7 +456,7 @@ module ietf-interfaces { higher (sub-)layer, that were addressed to a multicast address at this sub-layer. For a MAC-layer protocol, this includes both Group and Functional addresses. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of @@ -552,7 +465,6 @@ module ietf-interfaces { "RFC 2863: The Interfaces Group MIB - ifHCInMulticastPkts"; } - leaf in-discards { type yang:counter32; description @@ -561,17 +473,13 @@ module ietf-interfaces { prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - - - reference - "RFC 2863: The Interfaces Group MIB - ifInDiscards"; + reference "RFC 2863: The Interfaces Group MIB - ifInDiscards"; } - leaf in-errors { type yang:counter32; description @@ -582,15 +490,13 @@ module ietf-interfaces { inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifInErrors"; + reference "RFC 2863: The Interfaces Group MIB - ifInErrors"; } - leaf in-unknown-protos { type yang:counter32; description @@ -603,33 +509,25 @@ module ietf-interfaces { discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter is not present. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos"; + reference "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos"; } - - - - - leaf out-octets { type yang:counter64; description "The total number of octets transmitted out of the interface, including framing characters. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCOutOctets"; + reference "RFC 2863: The Interfaces Group MIB - ifHCOutOctets"; } - leaf out-unicast-pkts { type yang:counter64; description @@ -637,15 +535,13 @@ module ietf-interfaces { requested be transmitted, and that were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts"; + reference "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts"; } - leaf out-broadcast-pkts { type yang:counter64; description @@ -653,7 +549,7 @@ module ietf-interfaces { requested be transmitted, and that were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of @@ -662,8 +558,6 @@ module ietf-interfaces { "RFC 2863: The Interfaces Group MIB - ifHCOutBroadcastPkts"; } - - leaf out-multicast-pkts { type yang:counter64; description @@ -673,7 +567,7 @@ module ietf-interfaces { that were discarded or not sent. For a MAC-layer protocol, this includes both Group and Functional addresses. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of @@ -682,7 +576,6 @@ module ietf-interfaces { "RFC 2863: The Interfaces Group MIB - ifHCOutMulticastPkts"; } - leaf out-discards { type yang:counter32; description @@ -691,15 +584,13 @@ module ietf-interfaces { prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifOutDiscards"; + reference "RFC 2863: The Interfaces Group MIB - ifOutDiscards"; } - leaf out-errors { type yang:counter32; description @@ -708,16 +599,12 @@ module ietf-interfaces { For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. - - - - + Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'discontinuity-time'."; - reference - "RFC 2863: The Interfaces Group MIB - ifOutErrors"; + reference "RFC 2863: The Interfaces Group MIB - ifOutErrors"; } } } diff --git a/yang/modules/cisco-ios-xr/631/ietf-netconf-monitoring.yang b/yang/modules/cisco-ios-xr/632/ietf-netconf-monitoring.yang similarity index 89% rename from yang/modules/cisco-ios-xr/631/ietf-netconf-monitoring.yang rename to yang/modules/cisco-ios-xr/632/ietf-netconf-monitoring.yang index 8d2380e..f8b6e63 100644 --- a/yang/modules/cisco-ios-xr/631/ietf-netconf-monitoring.yang +++ b/yang/modules/cisco-ios-xr/632/ietf-netconf-monitoring.yang @@ -1,64 +1,52 @@ module ietf-netconf-monitoring { - namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"; - prefix "ncm"; + prefix ncm; - import ietf-yang-types { prefix yang; } - import ietf-inet-types { prefix inet; } + import ietf-yang-types { + prefix yang; + } + import ietf-inet-types { + prefix inet; + } organization "IETF NETCONF (Network Configuration) Working Group"; - contact "WG Web: WG List: - + WG Chair: Mehmet Ersue - + WG Chair: Bert Wijnen - + Editor: Mark Scott - + Editor: Martin Bjorklund "; - description "NETCONF Monitoring Module. All elements in this module are read-only. - + Copyright (c) 2010 IETF Trust and the persons identified as authors of the code. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). - + This version of this YANG module is part of RFC 6022; see the RFC itself for full legal notices."; revision 2010-10-04 { description "Initial revision."; - reference - "RFC 6022: YANG Module for NETCONF Monitoring"; - } - - typedef netconf-datastore-type { - type enumeration { - enum running; - enum candidate; - enum startup; - } - description - "Enumeration of possible NETCONF datastore types."; - reference - "RFC 4741: NETCONF Configuration Protocol"; + reference "RFC 6022: YANG Module for NETCONF Monitoring"; } identity transport { @@ -89,7 +77,7 @@ module ietf-netconf-monitoring { base transport; description "NETCONF over Simple Object Access Protocol (SOAP) - over Hypertext Transfer Protocol Secure (HTTPS)."; + over Hypertext Transfer Protocol Secure (HTTPS)."; reference "RFC 4743: Using NETCONF over the Simple Object Access Protocol (SOAP)"; @@ -108,8 +96,7 @@ module ietf-netconf-monitoring { base transport; description "NETCONF over Transport Layer Security (TLS)."; - reference - "RFC 5539: NETCONF over Transport Layer Security (TLS)"; + reference "RFC 5539: NETCONF over Transport Layer Security (TLS)"; } identity schema-format { @@ -148,23 +135,31 @@ module ietf-netconf-monitoring { base schema-format; description "Regular Language for XML Next Generation (RELAX NG)."; - reference - "ISO/IEC 19757-2:2008: RELAX NG"; + reference "ISO/IEC 19757-2:2008: RELAX NG"; } identity rnc { base schema-format; description "Relax NG Compact Syntax"; - reference - "ISO/IEC 19757-2:2008: RELAX NG"; + reference "ISO/IEC 19757-2:2008: RELAX NG"; + } + + typedef netconf-datastore-type { + type enumeration { + enum "running"; + enum "candidate"; + enum "startup"; + } + description + "Enumeration of possible NETCONF datastore types."; + reference "RFC 4741: NETCONF Configuration Protocol"; } grouping common-counters { description "Counters that exist both per session, and also globally, accumulated from all sessions."; - leaf in-rpcs { type yang:zero-based-counter32; description @@ -190,34 +185,77 @@ module ietf-netconf-monitoring { } } + rpc get-schema { + description + "This operation is used to retrieve a schema from the + NETCONF server. + + Positive Response: + The NETCONF server returns the requested schema. + + Negative Response: + If requested schema does not exist, the is + 'invalid-value'. + + If more than one schema matches the requested parameters, the + is 'operation-failed', and is + 'data-not-unique'."; + input { + leaf identifier { + type string; + mandatory true; + description + "Identifier for the schema list entry."; + } + leaf version { + type string; + description + "Version of the schema requested. If this parameter is not + present, and more than one version of the schema exists on + the server, a 'data-not-unique' error is returned, as + described above."; + } + leaf format { + type identityref { + base schema-format; + } + description + "The data modeling language of the schema. If this + parameter is not present, and more than one formats of + the schema exists on the server, a 'data-not-unique' error + is returned, as described above."; + } + } + output { + anyxml data { + description + "Contains the schema content."; + } + } + } container netconf-state { config false; description "The netconf-state container is the root of the monitoring data model."; - container capabilities { description "Contains the list of NETCONF capabilities supported by the server."; - leaf-list capability { type inet:uri; description "List of NETCONF capabilities supported by the server."; } } - container datastores { description "Contains the list of NETCONF configuration datastores."; - list datastore { - key name; + key "name"; description "List of NETCONF configuration datastores supported by the NETCONF server and related information."; - leaf name { type netconf-datastore-type; description @@ -233,7 +271,7 @@ module ietf-netconf-monitoring { NETCONF server will prevent changes to the locked resources by all sessions except the one that acquired the lock(s). - + Monitoring information is provided for each datastore entry including details such as the session that acquired the lock, the type of lock (global or partial) and the @@ -244,7 +282,6 @@ module ietf-netconf-monitoring { description "Lock related parameters, common to both global and partial locks."; - leaf locked-by-session { type uint32; mandatory true; @@ -252,12 +289,11 @@ module ietf-netconf-monitoring { "The session ID of the session that has locked this resource. Both a global lock and a partial lock MUST contain the NETCONF session-id. - + If the lock is held by a session that is not managed by the NETCONF server (e.g., a CLI session), a session id of 0 (zero) is reported."; - reference - "RFC 4741: NETCONF Configuration Protocol"; + reference "RFC 4741: NETCONF Configuration Protocol"; } leaf locked-time { type yang:date-and-time; @@ -267,26 +303,22 @@ module ietf-netconf-monitoring { locked."; } } - choice lock-type { description "Indicates if a global lock or a set of partial locks are set."; - container global-lock { description "Present if the global lock is set."; uses lock-info; } - list partial-lock { - key lock-id; + key "lock-id"; description "List of partial locks."; reference "RFC 5717: Partial Lock Remote Procedure Call (RPC) for NETCONF"; - leaf lock-id { type uint32; description @@ -307,7 +339,7 @@ module ietf-netconf-monitoring { description "The list of instance-identifiers (i.e., the locked nodes). - + The scope of the partial lock is defined by the list of locked nodes."; } @@ -316,25 +348,21 @@ module ietf-netconf-monitoring { } } } - container schemas { description "Contains the list of data model schemas supported by the server."; - list schema { key "identifier version format"; - description "List of data model schemas supported by the server."; - leaf identifier { type string; description "Identifier to uniquely reference the schema. The identifier is used in the operation and may be used for other purposes such as file retrieval. - + For modeling languages that support or require a data model name (e.g., YANG module name) the identifier MUST match that name. For YANG data models, the identifier is @@ -349,7 +377,7 @@ module ietf-netconf-monitoring { version MUST be reported individually in the schema list, i.e., with same identifier, possibly different location, but different version. - + For YANG data models, version is the value of the most recent YANG 'revision' statement in the module or submodule, or the empty string if no 'revision' statement @@ -370,7 +398,7 @@ module ietf-netconf-monitoring { mandatory true; description "The XML namespace defined by the data model. - + For YANG data models, this is the module's namespace. If the list entry describes a submodule, this field contains the namespace of the module to which the @@ -387,7 +415,7 @@ module ietf-netconf-monitoring { "One or more locations from which the schema can be retrieved. This list SHOULD contain at least one entry per schema. - + A schema entry may be located on a remote file system (e.g., reference to file system for ftp retrieval) or retrieved directly from a server supporting the @@ -395,19 +423,16 @@ module ietf-netconf-monitoring { } } } - container sessions { description "The sessions container includes session-specific data for NETCONF management sessions. The session list MUST include all currently active NETCONF sessions."; - list session { - key session-id; + key "session-id"; description "All NETCONF sessions managed by the NETCONF server MUST be reported in this list."; - leaf session-id { type uint32 { range "1..max"; @@ -415,8 +440,7 @@ module ietf-netconf-monitoring { description "Unique identifier for the session. This value is the NETCONF session identifier, as defined in RFC 4741."; - reference - "RFC 4741: NETCONF Configuration Protocol"; + reference "RFC 4741: NETCONF Configuration Protocol"; } leaf transport { type identityref { @@ -425,17 +449,17 @@ module ietf-netconf-monitoring { mandatory true; description "Identifies the transport for each session, e.g., - 'netconf-ssh', 'netconf-soap', etc."; + 'netconf-ssh', 'netconf-soap', etc."; } - leaf username { + leaf username { type string; mandatory true; description "The username is the client identity that was authenticated - by the NETCONF transport protocol. The algorithm used to - derive the username is NETCONF transport protocol specific - and in addition specific to the authentication mechanism - used by the NETCONF transport protocol."; + by the NETCONF transport protocol. The algorithm used to + derive the username is NETCONF transport protocol specific + and in addition specific to the authentication mechanism + used by the NETCONF transport protocol."; } leaf source-host { type inet:host; @@ -459,11 +483,9 @@ module ietf-netconf-monitoring { } } } - container statistics { description "Statistical data pertaining to the NETCONF server."; - leaf netconf-start-time { type yang:date-and-time; description @@ -474,17 +496,17 @@ module ietf-netconf-monitoring { type yang:zero-based-counter32; description "Number of sessions silently dropped because an - invalid message was received. This includes - messages with a 'session-id' attribute, bad namespace, and - bad capability declarations."; + invalid message was received. This includes + messages with a 'session-id' attribute, bad namespace, and + bad capability declarations."; } leaf in-sessions { type yang:zero-based-counter32; description "Number of sessions started. This counter is incremented when a message with a is sent. - - 'in-sessions' - 'in-bad-hellos' = + + 'in-sessions' - 'in-bad-hellos' = 'number of correctly started netconf sessions'"; } leaf dropped-sessions { @@ -505,54 +527,4 @@ module ietf-netconf-monitoring { } } } - - rpc get-schema { - description - "This operation is used to retrieve a schema from the - NETCONF server. - - Positive Response: - The NETCONF server returns the requested schema. - - Negative Response: - If requested schema does not exist, the is - 'invalid-value'. - - If more than one schema matches the requested parameters, the - is 'operation-failed', and is - 'data-not-unique'."; - - input { - leaf identifier { - type string; - mandatory true; - description - "Identifier for the schema list entry."; - } - leaf version { - type string; - description - "Version of the schema requested. If this parameter is not - present, and more than one version of the schema exists on - the server, a 'data-not-unique' error is returned, as - described above."; - } - leaf format { - type identityref { - base schema-format; - } - description - "The data modeling language of the schema. If this - parameter is not present, and more than one formats of - the schema exists on the server, a 'data-not-unique' error - is returned, as described above."; - } - } - output { - anyxml data { - description - "Contains the schema content."; - } - } - } } diff --git a/yang/modules/cisco-ios-xr/632/ietf-netconf.yang b/yang/modules/cisco-ios-xr/632/ietf-netconf.yang new file mode 100644 index 0000000..6318026 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ietf-netconf.yang @@ -0,0 +1,854 @@ +module ietf-netconf { + namespace "urn:ietf:params:xml:ns:netconf:base:1.0"; + prefix nc; + + import ietf-inet-types { + prefix inet; + } + + organization + "IETF NETCONF (Network Configuration) Working Group"; + contact + "WG Web: + WG List: + + WG Chair: Bert Wijnen + + + WG Chair: Mehmet Ersue + + + Editor: Martin Bjorklund + + + Editor: Juergen Schoenwaelder + + + Editor: Andy Bierman + "; + description + "NETCONF Protocol Data Types and Protocol Operations. + + Copyright (c) 2011 IETF Trust and the persons identified as + the document authors. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject + to the license terms contained in, the Simplified BSD License + set forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (http://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC 6241; see + the RFC itself for full legal notices."; + + revision 2011-06-01 { + description + "Initial revision"; + reference "RFC 6241: Network Configuration Protocol"; + } + + extension get-filter-element-attributes { + description + "If this extension is present within an 'anyxml' + statement named 'filter', which must be conceptually + defined within the RPC input section for the + and protocol operations, then the + following unqualified XML attribute is supported + within the element, within a or + protocol operation: + + type : optional attribute with allowed + value strings 'subtree' and 'xpath'. + If missing, the default value is 'subtree'. + + If the 'xpath' feature is supported, then the + following unqualified XML attribute is + also supported: + + select: optional attribute containing a + string representing an XPath expression. + The 'type' attribute must be equal to 'xpath' + if this attribute is present."; + } + + feature writable-running { + description + "NETCONF :writable-running capability; + If the server advertises the :writable-running + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.2"; + } + + feature candidate { + description + "NETCONF :candidate capability; + If the server advertises the :candidate + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.3"; + } + + feature confirmed-commit { + if-feature "candidate"; + description + "NETCONF :confirmed-commit:1.1 capability; + If the server advertises the :confirmed-commit:1.1 + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.4"; + } + + feature rollback-on-error { + description + "NETCONF :rollback-on-error capability; + If the server advertises the :rollback-on-error + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.5"; + } + + feature validate { + description + "NETCONF :validate:1.1 capability; + If the server advertises the :validate:1.1 + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.6"; + } + + feature startup { + description + "NETCONF :startup capability; + If the server advertises the :startup + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.7"; + } + + feature url { + description + "NETCONF :url capability; + If the server advertises the :url + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.8"; + } + + feature xpath { + description + "NETCONF :xpath capability; + If the server advertises the :xpath + capability for a session, then this feature must + also be enabled for that session. Otherwise, + this feature must not be enabled."; + reference "RFC 6241, Section 8.9"; + } + + typedef session-id-type { + type uint32 { + range "1..max"; + } + description + "NETCONF Session Id"; + } + + typedef session-id-or-zero-type { + type uint32; + description + "NETCONF Session Id or Zero to indicate none"; + } + + typedef error-tag-type { + type enumeration { + enum "in-use" { + description + "The request requires a resource that + already is in use."; + } + enum "invalid-value" { + description + "The request specifies an unacceptable value for one + or more parameters."; + } + enum "too-big" { + description + "The request or response (that would be generated) is + too large for the implementation to handle."; + } + enum "missing-attribute" { + description + "An expected attribute is missing."; + } + enum "bad-attribute" { + description + "An attribute value is not correct; e.g., wrong type, + out of range, pattern mismatch."; + } + enum "unknown-attribute" { + description + "An unexpected attribute is present."; + } + enum "missing-element" { + description + "An expected element is missing."; + } + enum "bad-element" { + description + "An element value is not correct; e.g., wrong type, + out of range, pattern mismatch."; + } + enum "unknown-element" { + description + "An unexpected element is present."; + } + enum "unknown-namespace" { + description + "An unexpected namespace is present."; + } + enum "access-denied" { + description + "Access to the requested protocol operation or + data model is denied because authorization failed."; + } + enum "lock-denied" { + description + "Access to the requested lock is denied because the + lock is currently held by another entity."; + } + enum "resource-denied" { + description + "Request could not be completed because of + insufficient resources."; + } + enum "rollback-failed" { + description + "Request to roll back some configuration change (via + rollback-on-error or operations) + was not completed for some reason."; + } + enum "data-exists" { + description + "Request could not be completed because the relevant + data model content already exists. For example, + a 'create' operation was attempted on data that + already exists."; + } + enum "data-missing" { + description + "Request could not be completed because the relevant + data model content does not exist. For example, + a 'delete' operation was attempted on + data that does not exist."; + } + enum "operation-not-supported" { + description + "Request could not be completed because the requested + operation is not supported by this implementation."; + } + enum "operation-failed" { + description + "Request could not be completed because the requested + operation failed for some reason not covered by + any other error condition."; + } + enum "partial-operation" { + description + "This error-tag is obsolete, and SHOULD NOT be sent + by servers conforming to this document."; + } + enum "malformed-message" { + description + "A message could not be handled because it failed to + be parsed correctly. For example, the message is not + well-formed XML or it uses an invalid character set."; + } + } + description + "NETCONF Error Tag"; + reference "RFC 6241, Appendix A"; + } + + typedef error-severity-type { + type enumeration { + enum "error" { + description + "Error severity"; + } + enum "warning" { + description + "Warning severity"; + } + } + description + "NETCONF Error Severity"; + reference "RFC 6241, Section 4.3"; + } + + typedef edit-operation-type { + type enumeration { + enum "merge" { + description + "The configuration data identified by the + element containing this attribute is merged + with the configuration at the corresponding + level in the configuration datastore identified + by the target parameter."; + } + enum "replace" { + description + "The configuration data identified by the element + containing this attribute replaces any related + configuration in the configuration datastore + identified by the target parameter. If no such + configuration data exists in the configuration + datastore, it is created. Unlike a + operation, which replaces the + entire target configuration, only the configuration + actually present in the config parameter is affected."; + } + enum "create" { + description + "The configuration data identified by the element + containing this attribute is added to the + configuration if and only if the configuration + data does not already exist in the configuration + datastore. If the configuration data exists, an + element is returned with an + value of 'data-exists'."; + } + enum "delete" { + description + "The configuration data identified by the element + containing this attribute is deleted from the + configuration if and only if the configuration + data currently exists in the configuration + datastore. If the configuration data does not + exist, an element is returned with + an value of 'data-missing'."; + } + enum "remove" { + description + "The configuration data identified by the element + containing this attribute is deleted from the + configuration if the configuration + data currently exists in the configuration + datastore. If the configuration data does not + exist, the 'remove' operation is silently ignored + by the server."; + } + } + default "merge"; + description + "NETCONF 'operation' attribute values"; + reference "RFC 6241, Section 7.2"; + } + + rpc get-config { + description + "Retrieve all or part of a specified configuration."; + reference "RFC 6241, Section 7.1"; + input { + container source { + description + "Particular configuration to retrieve."; + choice config-source { + mandatory true; + description + "The configuration to retrieve."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config source."; + } + leaf running { + type empty; + description + "The running configuration is the config source."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config source. + This is optional-to-implement on the server because + not all servers will support filtering for this + datastore."; + } + } + } + anyxml filter { + description + "Subtree or XPath filter to use."; + nc:get-filter-element-attributes; + } + } + output { + anyxml data { + description + "Copy of the source datastore subset that matched + the filter criteria (if any). An empty data container + indicates that the request did not produce any results."; + } + } + } + rpc edit-config { + description + "The operation loads all or part of a specified + configuration to the specified target configuration."; + reference "RFC 6241, Section 7.2"; + input { + container target { + description + "Particular configuration to edit."; + choice config-target { + mandatory true; + description + "The configuration target."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config target."; + } + leaf running { + if-feature "writable-running"; + type empty; + description + "The running configuration is the config source."; + } + } + } + leaf default-operation { + type enumeration { + enum "merge" { + description + "The default operation is merge."; + } + enum "replace" { + description + "The default operation is replace."; + } + enum "none" { + description + "There is no default operation."; + } + } + default "merge"; + description + "The default operation to use."; + } + leaf test-option { + if-feature "validate"; + type enumeration { + enum "test-then-set" { + description + "The server will test and then set if no errors."; + } + enum "set" { + description + "The server will set without a test first."; + } + enum "test-only" { + description + "The server will only test and not set, even + if there are no errors."; + } + } + default "test-then-set"; + description + "The test option to use."; + } + leaf error-option { + type enumeration { + enum "stop-on-error" { + description + "The server will stop on errors."; + } + enum "continue-on-error" { + description + "The server may continue on errors."; + } + enum "rollback-on-error" { + description + "The server will roll back on errors. + This value can only be used if the 'rollback-on-error' + feature is supported."; + } + } + default "stop-on-error"; + description + "The error option to use."; + } + choice edit-content { + mandatory true; + description + "The content for the edit operation."; + anyxml config { + description + "Inline Config content."; + } + leaf url { + if-feature "url"; + type inet:uri; + description + "URL-based config content."; + } + } + } + } + rpc copy-config { + description + "Create or replace an entire configuration datastore with the + contents of another complete configuration datastore."; + reference "RFC 6241, Section 7.3"; + input { + container target { + description + "Particular configuration to copy to."; + choice config-target { + mandatory true; + description + "The configuration target of the copy operation."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config target."; + } + leaf running { + if-feature "writable-running"; + type empty; + description + "The running configuration is the config target. + This is optional-to-implement on the server."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config target."; + } + leaf url { + if-feature "url"; + type inet:uri; + description + "The URL-based configuration is the config target."; + } + } + } + container source { + description + "Particular configuration to copy from."; + choice config-source { + mandatory true; + description + "The configuration source for the copy operation."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config source."; + } + leaf running { + type empty; + description + "The running configuration is the config source."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config source."; + } + leaf url { + if-feature "url"; + type inet:uri; + description + "The URL-based configuration is the config source."; + } + anyxml config { + description + "Inline Config content: element. Represents + an entire configuration datastore, not + a subset of the running datastore."; + } + } + } + } + } + rpc delete-config { + description + "Delete a configuration datastore."; + reference "RFC 6241, Section 7.4"; + input { + container target { + description + "Particular configuration to delete."; + choice config-target { + mandatory true; + description + "The configuration target to delete."; + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config target."; + } + leaf url { + if-feature "url"; + type inet:uri; + description + "The URL-based configuration is the config target."; + } + } + } + } + } + rpc lock { + description + "The lock operation allows the client to lock the configuration + system of a device."; + reference "RFC 6241, Section 7.5"; + input { + container target { + description + "Particular configuration to lock."; + choice config-target { + mandatory true; + description + "The configuration target to lock."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config target."; + } + leaf running { + type empty; + description + "The running configuration is the config target."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config target."; + } + } + } + } + } + rpc unlock { + description + "The unlock operation is used to release a configuration lock, + previously obtained with the 'lock' operation."; + reference "RFC 6241, Section 7.6"; + input { + container target { + description + "Particular configuration to unlock."; + choice config-target { + mandatory true; + description + "The configuration target to unlock."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config target."; + } + leaf running { + type empty; + description + "The running configuration is the config target."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config target."; + } + } + } + } + } + rpc get { + description + "Retrieve running configuration and device state information."; + reference "RFC 6241, Section 7.7"; + input { + anyxml filter { + description + "This parameter specifies the portion of the system + configuration and state data to retrieve."; + nc:get-filter-element-attributes; + } + } + output { + anyxml data { + description + "Copy of the running datastore subset and/or state + data that matched the filter criteria (if any). + An empty data container indicates that the request did not + produce any results."; + } + } + } + rpc close-session { + description + "Request graceful termination of a NETCONF session."; + reference "RFC 6241, Section 7.8"; + } + rpc kill-session { + description + "Force the termination of a NETCONF session."; + reference "RFC 6241, Section 7.9"; + input { + leaf session-id { + type session-id-type; + mandatory true; + description + "Particular session to kill."; + } + } + } + rpc commit { + if-feature "candidate"; + description + "Commit the candidate configuration as the device's new + current configuration."; + reference "RFC 6241, Section 8.3.4.1"; + input { + leaf confirmed { + if-feature "confirmed-commit"; + type empty; + description + "Requests a confirmed commit."; + reference "RFC 6241, Section 8.3.4.1"; + } + leaf confirm-timeout { + if-feature "confirmed-commit"; + type uint32 { + range "1..max"; + } + units "seconds"; + default "600"; + description + "The timeout interval for a confirmed commit."; + reference "RFC 6241, Section 8.3.4.1"; + } + leaf persist { + if-feature "confirmed-commit"; + type string; + description + "This parameter is used to make a confirmed commit + persistent. A persistent confirmed commit is not aborted + if the NETCONF session terminates. The only way to abort + a persistent confirmed commit is to let the timer expire, + or to use the operation. + + The value of this parameter is a token that must be given + in the 'persist-id' parameter of or + operations in order to confirm or cancel + the persistent confirmed commit. + + The token should be a random string."; + reference "RFC 6241, Section 8.3.4.1"; + } + leaf persist-id { + if-feature "confirmed-commit"; + type string; + description + "This parameter is given in order to commit a persistent + confirmed commit. The value must be equal to the value + given in the 'persist' parameter to the operation. + If it does not match, the operation fails with an + 'invalid-value' error."; + reference "RFC 6241, Section 8.3.4.1"; + } + } + } + rpc discard-changes { + if-feature "candidate"; + description + "Revert the candidate configuration to the current + running configuration."; + reference "RFC 6241, Section 8.3.4.2"; + } + rpc cancel-commit { + if-feature "confirmed-commit"; + description + "This operation is used to cancel an ongoing confirmed commit. + If the confirmed commit is persistent, the parameter + 'persist-id' must be given, and it must match the value of the + 'persist' parameter."; + reference "RFC 6241, Section 8.4.4.1"; + input { + leaf persist-id { + type string; + description + "This parameter is given in order to cancel a persistent + confirmed commit. The value must be equal to the value + given in the 'persist' parameter to the operation. + If it does not match, the operation fails with an + 'invalid-value' error."; + } + } + } + rpc validate { + if-feature "validate"; + description + "Validates the contents of the specified configuration."; + reference "RFC 6241, Section 8.6.4.1"; + input { + container source { + description + "Particular configuration to validate."; + choice config-source { + mandatory true; + description + "The configuration source to validate."; + leaf candidate { + if-feature "candidate"; + type empty; + description + "The candidate configuration is the config source."; + } + leaf running { + type empty; + description + "The running configuration is the config source."; + } + leaf startup { + if-feature "startup"; + type empty; + description + "The startup configuration is the config source."; + } + leaf url { + if-feature "url"; + type inet:uri; + description + "The URL-based configuration is the config source."; + } + anyxml config { + description + "Inline Config content: element. Represents + an entire configuration datastore, not + a subset of the running datastore."; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/ietf-restconf-monitoring.yang b/yang/modules/cisco-ios-xr/632/ietf-restconf-monitoring.yang new file mode 100644 index 0000000..40d2f46 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ietf-restconf-monitoring.yang @@ -0,0 +1,135 @@ +module ietf-restconf-monitoring { + namespace "urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring"; + prefix rcmon; + + import ietf-yang-types { + prefix yang; + } + import ietf-inet-types { + prefix inet; + } + + organization + "IETF NETCONF (Network Configuration) Working Group"; + contact + "WG Web: + WG List: + + Author: Andy Bierman + + + Author: Martin Bjorklund + + + Author: Kent Watsen + "; + description + "This module contains monitoring information for the + RESTCONF protocol. + + Copyright (c) 2016 IETF Trust and the persons identified as + authors of the code. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject + to the license terms contained in, the Simplified BSD License + set forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (http://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC XXXX; see + the RFC itself for full legal notices."; + + revision 2016-08-15 { + description + "Initial revision."; + reference "RFC XXXX: RESTCONF Protocol."; + } + + container restconf-state { + config false; + description + "Contains RESTCONF protocol monitoring information."; + container capabilities { + description + "Contains a list of protocol capability URIs"; + leaf-list capability { + type inet:uri; + description + "A RESTCONF protocol capability URI."; + } + } + container streams { + description + "Container representing the notification event streams + supported by the server."; + reference "RFC 5277, Section 3.4, element."; + list stream { + key "name"; + description + "Each entry describes an event stream supported by + the server."; + leaf name { + type string; + description + "The stream name"; + reference "RFC 5277, Section 3.4, element."; + } + leaf description { + type string; + description + "Description of stream content"; + reference "RFC 5277, Section 3.4, element."; + } + leaf replay-support { + type boolean; + default "false"; + description + "Indicates if replay buffer supported for this stream. + If 'true', then the server MUST support the 'start-time' + and 'stop-time' query parameters for this stream."; + reference "RFC 5277, Section 3.4, element."; + } + leaf replay-log-creation-time { + when "../replay-support" { + description + "Only present if notification replay is supported"; + } + type yang:date-and-time; + description + "Indicates the time the replay log for this stream + was created."; + reference + "RFC 5277, Section 3.4, + element."; + } + list access { + key "encoding"; + min-elements 1; + description + "The server will create an entry in this list for each + encoding format that is supported for this stream. + The media type 'text/event-stream' is expected + for all event streams. This list identifies the + sub-types supported for this stream."; + leaf encoding { + type string; + description + "This is the secondary encoding format within the + 'text/event-stream' encoding used by all streams. + The type 'xml' is supported for XML encoding. + The type 'json' is supported for JSON encoding."; + } + leaf location { + type inet:uri; + mandatory true; + description + "Contains a URL that represents the entry point + for establishing notification delivery via server + sent events."; + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/631/ietf-syslog-types.yang b/yang/modules/cisco-ios-xr/632/ietf-syslog-types.yang similarity index 98% rename from yang/modules/cisco-ios-xr/631/ietf-syslog-types.yang rename to yang/modules/cisco-ios-xr/632/ietf-syslog-types.yang index 16cc3ed..f89c413 100644 --- a/yang/modules/cisco-ios-xr/631/ietf-syslog-types.yang +++ b/yang/modules/cisco-ios-xr/632/ietf-syslog-types.yang @@ -2,8 +2,9 @@ module ietf-syslog-types { namespace "urn:ietf:params:xml:ns:yang:ietf-syslog-types"; prefix syslogtypes; - organization "IETF NETMOD (NETCONF Data Modeling Language) Working - Group"; + organization + "IETF NETMOD (NETCONF Data Modeling Language) Working + Group"; contact "WG Web: WG List: @@ -28,53 +29,6 @@ module ietf-syslog-types { and RFC 5848 - Signed Syslog Messages."; } - typedef severity { - type enumeration { - enum "emergency" { - value 0; - description - "Emergency Level Msg"; - } - enum "alert" { - value 1; - description - "Alert Level Msg"; - } - enum "critical" { - value 2; - description - "Critical Level Msg"; - } - enum "error" { - value 3; - description - "Error Level Msg"; - } - enum "warning" { - value 4; - description - "Warning Level Msg"; - } - enum "notice" { - value 5; - description - "Notification Level Msg"; - } - enum "info" { - value 6; - description - "Informational Level Msg"; - } - enum "debug" { - value 7; - description - "Debugging Level Msg"; - } - } - description - "The definitions for Syslog message severity as per RFC 5424."; - } - identity syslog-facility { description "The base identity to represent syslog facilities"; @@ -102,7 +56,7 @@ module ietf-syslog-types { base syslog-facility; description "The facility for the system daemons as defined in RFC 5424."; - } + } identity auth { base syslog-facility; @@ -237,4 +191,51 @@ module ietf-syslog-types { "The facility for local use 7 messages as defined in RFC 5424."; } + + typedef severity { + type enumeration { + enum "emergency" { + value 0; + description + "Emergency Level Msg"; + } + enum "alert" { + value 1; + description + "Alert Level Msg"; + } + enum "critical" { + value 2; + description + "Critical Level Msg"; + } + enum "error" { + value 3; + description + "Error Level Msg"; + } + enum "warning" { + value 4; + description + "Warning Level Msg"; + } + enum "notice" { + value 5; + description + "Notification Level Msg"; + } + enum "info" { + value 6; + description + "Informational Level Msg"; + } + enum "debug" { + value 7; + description + "Debugging Level Msg"; + } + } + description + "The definitions for Syslog message severity as per RFC 5424."; + } } diff --git a/yang/modules/cisco-ios-xr/631/ietf-yang-library.yang b/yang/modules/cisco-ios-xr/632/ietf-yang-library.yang old mode 100755 new mode 100644 similarity index 95% rename from yang/modules/cisco-ios-xr/631/ietf-yang-library.yang rename to yang/modules/cisco-ios-xr/632/ietf-yang-library.yang index bc466ee..b8fe807 --- a/yang/modules/cisco-ios-xr/631/ietf-yang-library.yang +++ b/yang/modules/cisco-ios-xr/632/ietf-yang-library.yang @@ -1,12 +1,14 @@ module ietf-yang-library { namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library"; - prefix "yanglib"; + prefix yanglib; + import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; } + organization "IETF NETCONF (Network Configuration) Working Group"; contact @@ -36,30 +38,27 @@ module ietf-yang-library { (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC 7895; see the RFC itself for full legal notices."; + revision 2016-06-21 { description "Initial revision."; - reference - "RFC 7895: YANG Module Library."; + reference "RFC 7895: YANG Module Library."; } - /* - * Typedefs - */ + typedef revision-identifier { type string { - pattern '\d{4}-\d{2}-\d{2}'; + pattern "\\d{4}-\\d{2}-\\d{2}"; } description "Represents a specific date in YYYY-MM-DD format."; } - /* - * Groupings - */ + grouping module-list { description "The module data structure is represented as a grouping so it can be reused in configuration or another monitoring data structure."; + grouping common-leafs { description "Common parameters for YANG modules and submodules."; @@ -71,7 +70,9 @@ module ietf-yang-library { leaf revision { type union { type revision-identifier; - type string { length 0; } + type string { + length "0"; + } } description "The YANG module or submodule revision date. @@ -79,6 +80,7 @@ module ietf-yang-library { is present in the YANG module or submodule."; } } + grouping schema-leaf { description "Common schema leaf parameter for modules and submodules."; @@ -128,7 +130,7 @@ module ietf-yang-library { } leaf conformance-type { type enumeration { - enum implement { + enum "implement" { description "Indicates that the server implements one or more protocol-accessible objects defined in the YANG module @@ -141,7 +143,7 @@ module ietf-yang-library { For YANG version 1 modules, there SHOULD NOT be more than one module entry for a particular module name."; } - enum import { + enum "import" { description "Indicates that the server imports reusable definitions from the specified revision of the module but does @@ -168,9 +170,22 @@ module ietf-yang-library { } } } - /* - * Operational state data nodes - */ + + notification yang-library-change { + description + "Generated when the set of modules and submodules supported + by the server has changed."; + leaf module-set-id { + type leafref { + path "/yanglib:modules-state/yanglib:module-set-id"; + } + mandatory true; + description + "Contains the module-set-id value representing the + set of modules and submodules supported at the server at + the time the notification is generated."; + } + } container modules-state { config false; description @@ -187,22 +202,4 @@ module ietf-yang-library { } uses module-list; } - /* - * Notifications - */ - notification yang-library-change { - description - "Generated when the set of modules and submodules supported - by the server has changed."; - leaf module-set-id { - type leafref { - path "/yanglib:modules-state/yanglib:module-set-id"; - } - mandatory true; - description - "Contains the module-set-id value representing the - set of modules and submodules supported at the server at - the time the notification is generated."; - } - } } diff --git a/yang/modules/cisco-ios-xr/632/ietf-yang-smiv2.yang b/yang/modules/cisco-ios-xr/632/ietf-yang-smiv2.yang new file mode 100644 index 0000000..8423cf8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ietf-yang-smiv2.yang @@ -0,0 +1,134 @@ +module ietf-yang-smiv2 { + namespace "urn:ietf:params:xml:ns:yang:ietf-yang-smiv2"; + prefix smiv2; + + organization + "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; + contact + "WG Web: + WG List: + + WG Chair: David Kessens + + + WG Chair: Juergen Schoenwaelder + + + Editor: Juergen Schoenwaelder + "; + description + "This module defines YANG extensions that are used to translate + SMIv2 concepts into YANG. + + Copyright (c) 2012 IETF Trust and the persons identified as + authors of the code. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject + to the license terms contained in, the Simplified BSD License + set forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (http://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC 6643; see + the RFC itself for full legal notices."; + + revision 2012-06-22 { + description + "Initial revision."; + reference + "RFC 6643: Translation of Structure of Management Information + Version 2 (SMIv2) MIB Modules to YANG Modules"; + } + + extension display-hint { + argument format; + description + "The display-hint statement takes as an argument the DISPLAY-HINT + assigned to an SMIv2 textual convention."; + reference "RFC 2579: Textual Conventions for SMIv2"; + } + + extension max-access { + argument access; + description + "The max-access statement takes as an argument the MAX-ACCESS + assigned to an SMIv2 object definition. + + The MAX-ACCESS value is SMIv2 specific and has no impact on + the access provided to YANG objects through protocols such + as NETCONF."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + extension defval { + argument value; + description + "The defval statement takes as an argument a default value + defined by an SMIv2 DEFVAL clause. Note that the value is in + the SMIv2 value space defined by the SMIv2 syntax of the + corresponding object and not in the YANG value space + defined by the corresponding YANG data type."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + extension implied { + argument index; + description + "If an SMIv2 INDEX object is preceded by the IMPLIED keyword, then + the implied statement is present in the YANG module and takes as + an argument the name of the IMPLIED index object."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + extension alias { + argument descriptor; + description + "The alias statement introduces an SMIv2 descriptor. The body of + the alias statement is expected to contain an oid statement that + provides the numeric OID associated with the descriptor."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + extension oid { + argument value; + description + "The oid statement takes as an argument the object identifier + assigned to an SMIv2 definition. The object identifier value + is written in decimal dotted notation."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + extension subid { + argument value; + description + "The subid statement takes as an argument the last sub-identifier + of the object identifier assigned to an SMIv2 definition. The + sub-identifier value is a single positive decimal natural number. + The subid statement may not be used as a substatement to any + top-level node in a YANG document. The subid substatement may + be used only as a substatement to a node having a parent node + defined with either an smiv2:oid or smiv2:subid substatement."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } + + identity object-identity { + description + "Base identity for all SMIv2 OBJECT-IDENTITYs."; + } + + typedef opaque { + type binary; + description + "The Opaque type supports the capability to pass arbitrary ASN.1 + syntax. A value is encoded using the ASN.1 Basic Encoding Rules + into a string of octets. This, in turn, is encoded as an OCTET + STRING, in effect 'double-wrapping' the original ASN.1 value. + + In the value set and its semantics, this type is equivalent to + the Opaque type of the SMIv2. This type exists in the SMIv2 + solely for backward-compatibility reasons and this is also + true for this YANG data type."; + reference "RFC 2578: Structure of Management Information Version 2 (SMIv2)"; + } +} diff --git a/yang/modules/cisco-ios-xr/632/ietf-yang-types.yang b/yang/modules/cisco-ios-xr/632/ietf-yang-types.yang new file mode 100644 index 0000000..bbfe447 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/ietf-yang-types.yang @@ -0,0 +1,447 @@ +module ietf-yang-types { + namespace "urn:ietf:params:xml:ns:yang:ietf-yang-types"; + prefix yang; + + organization + "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; + contact + "WG Web: + WG List: + + WG Chair: David Kessens + + + WG Chair: Juergen Schoenwaelder + + + Editor: Juergen Schoenwaelder + "; + description + "This module contains a collection of generally useful derived + YANG data types. + + Copyright (c) 2013 IETF Trust and the persons identified as + authors of the code. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject + to the license terms contained in, the Simplified BSD License + set forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (http://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC 6991; see + the RFC itself for full legal notices."; + + revision 2013-07-15 { + description + "This revision adds the following new data types: + - yang-identifier + - hex-string + - uuid + - dotted-quad"; + reference "RFC 6991: Common YANG Data Types"; + } + revision 2010-09-24 { + description + "Initial revision."; + reference "RFC 6021: Common YANG Data Types"; + } + + typedef counter32 { + type uint32; + description + "The counter32 type represents a non-negative integer + that monotonically increases until it reaches a + maximum value of 2^32-1 (4294967295 decimal), when it + wraps around and starts increasing again from zero. + + Counters have no defined 'initial' value, and thus, a + single value of a counter has (in general) no information + content. Discontinuities in the monotonically increasing + value normally occur at re-initialization of the + management system, and at other times as specified in the + description of a schema node using this type. If such + other times can occur, for example, the creation of + a schema node of type counter32 at times other than + re-initialization, then a corresponding schema node + should be defined, with an appropriate type, to indicate + the last discontinuity. + + The counter32 type should not be used for configuration + schema nodes. A default statement SHOULD NOT be used in + combination with the type counter32. + + In the value set and its semantics, this type is equivalent + to the Counter32 type of the SMIv2."; + reference + "RFC 2578: Structure of Management Information Version 2 + (SMIv2)"; + } + + typedef zero-based-counter32 { + type yang:counter32; + default "0"; + description + "The zero-based-counter32 type represents a counter32 + that has the defined 'initial' value zero. + + A schema node of this type will be set to zero (0) on creation + and will thereafter increase monotonically until it reaches + a maximum value of 2^32-1 (4294967295 decimal), when it + wraps around and starts increasing again from zero. + + Provided that an application discovers a new schema node + of this type within the minimum time to wrap, it can use the + 'initial' value as a delta. It is important for a management + station to be aware of this minimum time and the actual time + between polls, and to discard data if the actual time is too + long or there is no defined minimum time. + + In the value set and its semantics, this type is equivalent + to the ZeroBasedCounter32 textual convention of the SMIv2."; + reference + "RFC 4502: Remote Network Monitoring Management Information + Base Version 2"; + } + + typedef counter64 { + type uint64; + description + "The counter64 type represents a non-negative integer + that monotonically increases until it reaches a + maximum value of 2^64-1 (18446744073709551615 decimal), + when it wraps around and starts increasing again from zero. + + Counters have no defined 'initial' value, and thus, a + single value of a counter has (in general) no information + content. Discontinuities in the monotonically increasing + value normally occur at re-initialization of the + management system, and at other times as specified in the + description of a schema node using this type. If such + other times can occur, for example, the creation of + a schema node of type counter64 at times other than + re-initialization, then a corresponding schema node + should be defined, with an appropriate type, to indicate + the last discontinuity. + + The counter64 type should not be used for configuration + schema nodes. A default statement SHOULD NOT be used in + combination with the type counter64. + + In the value set and its semantics, this type is equivalent + to the Counter64 type of the SMIv2."; + reference + "RFC 2578: Structure of Management Information Version 2 + (SMIv2)"; + } + + typedef zero-based-counter64 { + type yang:counter64; + default "0"; + description + "The zero-based-counter64 type represents a counter64 that + has the defined 'initial' value zero. + + A schema node of this type will be set to zero (0) on creation + and will thereafter increase monotonically until it reaches + a maximum value of 2^64-1 (18446744073709551615 decimal), + when it wraps around and starts increasing again from zero. + + Provided that an application discovers a new schema node + of this type within the minimum time to wrap, it can use the + 'initial' value as a delta. It is important for a management + station to be aware of this minimum time and the actual time + between polls, and to discard data if the actual time is too + long or there is no defined minimum time. + + In the value set and its semantics, this type is equivalent + to the ZeroBasedCounter64 textual convention of the SMIv2."; + reference + "RFC 2856: Textual Conventions for Additional High Capacity + Data Types"; + } + + typedef gauge32 { + type uint32; + description + "The gauge32 type represents a non-negative integer, which + may increase or decrease, but shall never exceed a maximum + value, nor fall below a minimum value. The maximum value + cannot be greater than 2^32-1 (4294967295 decimal), and + the minimum value cannot be smaller than 0. The value of + a gauge32 has its maximum value whenever the information + being modeled is greater than or equal to its maximum + value, and has its minimum value whenever the information + being modeled is smaller than or equal to its minimum value. + If the information being modeled subsequently decreases + below (increases above) the maximum (minimum) value, the + gauge32 also decreases (increases). + + In the value set and its semantics, this type is equivalent + to the Gauge32 type of the SMIv2."; + reference + "RFC 2578: Structure of Management Information Version 2 + (SMIv2)"; + } + + typedef gauge64 { + type uint64; + description + "The gauge64 type represents a non-negative integer, which + may increase or decrease, but shall never exceed a maximum + value, nor fall below a minimum value. The maximum value + cannot be greater than 2^64-1 (18446744073709551615), and + the minimum value cannot be smaller than 0. The value of + a gauge64 has its maximum value whenever the information + being modeled is greater than or equal to its maximum + value, and has its minimum value whenever the information + being modeled is smaller than or equal to its minimum value. + If the information being modeled subsequently decreases + below (increases above) the maximum (minimum) value, the + gauge64 also decreases (increases). + + In the value set and its semantics, this type is equivalent + to the CounterBasedGauge64 SMIv2 textual convention defined + in RFC 2856"; + reference + "RFC 2856: Textual Conventions for Additional High Capacity + Data Types"; + } + + typedef object-identifier { + type string { + pattern "(([0-1](\\.[1-3]?[0-9]))|(2\\.(0|([1-9]\\d*))))(\\.(0|([1-9]\\d*)))*"; + } + description + "The object-identifier type represents administratively + assigned names in a registration-hierarchical-name tree. + + Values of this type are denoted as a sequence of numerical + non-negative sub-identifier values. Each sub-identifier + value MUST NOT exceed 2^32-1 (4294967295). Sub-identifiers + are separated by single dots and without any intermediate + whitespace. + + The ASN.1 standard restricts the value space of the first + sub-identifier to 0, 1, or 2. Furthermore, the value space + of the second sub-identifier is restricted to the range + 0 to 39 if the first sub-identifier is 0 or 1. Finally, + the ASN.1 standard requires that an object identifier + has always at least two sub-identifiers. The pattern + captures these restrictions. + + Although the number of sub-identifiers is not limited, + module designers should realize that there may be + implementations that stick with the SMIv2 limit of 128 + sub-identifiers. + + This type is a superset of the SMIv2 OBJECT IDENTIFIER type + since it is not restricted to 128 sub-identifiers. Hence, + this type SHOULD NOT be used to represent the SMIv2 OBJECT + IDENTIFIER type; the object-identifier-128 type SHOULD be + used instead."; + reference + "ISO9834-1: Information technology -- Open Systems + Interconnection -- Procedures for the operation of OSI + Registration Authorities: General procedures and top + arcs of the ASN.1 Object Identifier tree"; + } + + typedef object-identifier-128 { + type object-identifier { + pattern "\\d*(\\.\\d*){1,127}"; + } + description + "This type represents object-identifiers restricted to 128 + sub-identifiers. + + In the value set and its semantics, this type is equivalent + to the OBJECT IDENTIFIER type of the SMIv2."; + reference + "RFC 2578: Structure of Management Information Version 2 + (SMIv2)"; + } + + typedef yang-identifier { + type string { + length "1..max"; + pattern "[a-zA-Z_][a-zA-Z0-9\\-_.]*"; + pattern ".|..|[^xX].*|.[^mM].*|..[^lL].*"; + } + description + "A YANG identifier string as defined by the 'identifier' + rule in Section 12 of RFC 6020. An identifier must + start with an alphabetic character or an underscore + followed by an arbitrary sequence of alphabetic or + numeric characters, underscores, hyphens, or dots. + + A YANG identifier MUST NOT start with any possible + combination of the lowercase or uppercase character + sequence 'xml'."; + reference + "RFC 6020: YANG - A Data Modeling Language for the Network + Configuration Protocol (NETCONF)"; + } + + typedef date-and-time { + type string { + pattern "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[\\+\\-]\\d{2}:\\d{2})"; + } + description + "The date-and-time type is a profile of the ISO 8601 + standard for representation of dates and times using the + Gregorian calendar. The profile is defined by the + date-time production in Section 5.6 of RFC 3339. + + The date-and-time type is compatible with the dateTime XML + schema type with the following notable exceptions: + + (a) The date-and-time type does not allow negative years. + + (b) The date-and-time time-offset -00:00 indicates an unknown + time zone (see RFC 3339) while -00:00 and +00:00 and Z + all represent the same time zone in dateTime. + + (c) The canonical format (see below) of data-and-time values + differs from the canonical format used by the dateTime XML + schema type, which requires all times to be in UTC using + the time-offset 'Z'. + + This type is not equivalent to the DateAndTime textual + convention of the SMIv2 since RFC 3339 uses a different + separator between full-date and full-time and provides + higher resolution of time-secfrac. + + The canonical format for date-and-time values with a known time + zone uses a numeric time zone offset that is calculated using + the device's configured known offset to UTC time. A change of + the device's offset to UTC time will cause date-and-time values + to change accordingly. Such changes might happen periodically + in case a server follows automatically daylight saving time + (DST) time zone offset changes. The canonical format for + date-and-time values with an unknown time zone (usually + referring to the notion of local time) uses the time-offset + -00:00."; + reference + "RFC 3339: Date and Time on the Internet: Timestamps + RFC 2579: Textual Conventions for SMIv2 + XSD-TYPES: XML Schema Part 2: Datatypes Second Edition"; + } + + typedef timeticks { + type uint32; + description + "The timeticks type represents a non-negative integer that + represents the time, modulo 2^32 (4294967296 decimal), in + hundredths of a second between two epochs. When a schema + node is defined that uses this type, the description of + the schema node identifies both of the reference epochs. + + In the value set and its semantics, this type is equivalent + to the TimeTicks type of the SMIv2."; + reference + "RFC 2578: Structure of Management Information Version 2 + (SMIv2)"; + } + + typedef timestamp { + type yang:timeticks; + description + "The timestamp type represents the value of an associated + timeticks schema node at which a specific occurrence + happened. The specific occurrence must be defined in the + description of any schema node defined using this type. When + the specific occurrence occurred prior to the last time the + associated timeticks attribute was zero, then the timestamp + value is zero. Note that this requires all timestamp values + to be reset to zero when the value of the associated timeticks + attribute reaches 497+ days and wraps around to zero. + + The associated timeticks schema node must be specified + in the description of any schema node using this type. + + In the value set and its semantics, this type is equivalent + to the TimeStamp textual convention of the SMIv2."; + reference "RFC 2579: Textual Conventions for SMIv2"; + } + + typedef phys-address { + type string { + pattern "([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?"; + } + description + "Represents media- or physical-level addresses represented + as a sequence octets, each octet represented by two hexadecimal + numbers. Octets are separated by colons. The canonical + representation uses lowercase characters. + + In the value set and its semantics, this type is equivalent + to the PhysAddress textual convention of the SMIv2."; + reference "RFC 2579: Textual Conventions for SMIv2"; + } + + typedef mac-address { + type string { + pattern "[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}"; + } + description + "The mac-address type represents an IEEE 802 MAC address. + The canonical representation uses lowercase characters. + + In the value set and its semantics, this type is equivalent + to the MacAddress textual convention of the SMIv2."; + reference + "IEEE 802: IEEE Standard for Local and Metropolitan Area + Networks: Overview and Architecture + RFC 2579: Textual Conventions for SMIv2"; + } + + typedef xpath1.0 { + type string; + description + "This type represents an XPATH 1.0 expression. + + When a schema node is defined that uses this type, the + description of the schema node MUST specify the XPath + context in which the XPath expression is evaluated."; + reference "XPATH: XML Path Language (XPath) Version 1.0"; + } + + typedef hex-string { + type string { + pattern "([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?"; + } + description + "A hexadecimal string with octets represented as hex digits + separated by colons. The canonical representation uses + lowercase characters."; + } + + typedef uuid { + type string { + pattern "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"; + } + description + "A Universally Unique IDentifier in the string representation + defined in RFC 4122. The canonical representation uses + lowercase characters. + + The following is an example of a UUID in string representation: + f81d4fae-7dec-11d0-a765-00a0c91e6bf6 + "; + reference + "RFC 4122: A Universally Unique IDentifier (UUID) URN + Namespace"; + } + + typedef dotted-quad { + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"; + } + description + "An unsigned 32-bit number expressed in the dotted-quad + notation, i.e., four octets written as decimal numbers + and separated with the '.' (full stop) character."; + } +} diff --git a/yang/modules/cisco-ios-xr/632/modena_driver.yang b/yang/modules/cisco-ios-xr/632/modena_driver.yang new file mode 100644 index 0000000..50f9bf8 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/modena_driver.yang @@ -0,0 +1,118 @@ +module modena_driver { + namespace "http://www.cisco.com/calvados/calvados_controllers/slice_control/modena"; + prefix modena_driver; + + import modena_driver_types { + prefix modena-driver-types; + } + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-08-30 { + description + "Initial version."; + } + + grouping modena_lane_data { + list modena_lane { + key "modena_lane_id"; + leaf modena_lane_id { + type modena-driver-types:modena_lane_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf oper_mode { + type string; + } + } + } + + grouping modena_summary_info { + list modena_summary { + key "modena_id"; + leaf modena_id { + type modena-driver-types:modena_id_type; + } + leaf is_data_available { + type boolean; + default "false"; + } + leaf mready { + type boolean; + default "false"; + } + leaf mport_ctx_p { + type string; + } + leaf mlevm { + type string; + } + leaf mctrace_err_hdl { + type string; + } + leaf mctrace_evt_hdl { + type string; + } + leaf msignature { + type string; + } + leaf mlpc_ready { + type boolean; + default "false"; + } + leaf mopaque { + type string; + } + leaf mnodeid { + type string; + } + leaf mslice { + type uint32; + } + leaf mport { + type uint32; + } + leaf mdev_addr { + type uint8; + } + leaf mrd_func { + type string; + } + leaf mwr_func { + type string; + } + leaf mnext { + type string; + } + } + } + + grouping modena_data_show { + list modena { + key "modena_id"; + leaf modena_id { + type modena-driver-types:modena_id_type; + } + uses modena_lane_data; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/modena_driver_types.yang b/yang/modules/cisco-ios-xr/632/modena_driver_types.yang new file mode 100644 index 0000000..70e4b33 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/modena_driver_types.yang @@ -0,0 +1,40 @@ +module modena_driver_types { + namespace "http://www.cisco.com/panini/calvados/slice_control/modena/types"; + prefix modena_driver_type; + + organization + "Cisco Systems, Inc."; + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision 2015-08-30 { + description + "Initial version."; + } + + typedef modena_lane_id_type { + type string { + pattern "all|[0-3]"; + } + } + + typedef modena_id_type { + type string { + pattern "all|[0-19]"; + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/nc-notifications.yang b/yang/modules/cisco-ios-xr/632/nc-notifications.yang new file mode 100644 index 0000000..ac8780a --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/nc-notifications.yang @@ -0,0 +1,86 @@ +module nc-notifications { + namespace "urn:ietf:params:xml:ns:netmod:notification"; + prefix manageEvent; + + import ietf-yang-types { + prefix yang; + } + import notifications { + prefix ncEvent; + } + + organization + "IETF NETCONF WG"; + contact + "netconf@ietf.org"; + description + "Conversion of the 'manageEvent' XSD in the NETCONF + Notifications RFC."; + + revision 2008-07-14 { + description + "Initial revision."; + reference "RFC 5277: NETCONF Event Notifications"; + } + + notification replayComplete { + description + "This notification is sent to signal the end of a replay + portion of a subscription."; + } + notification notificationComplete { + description + "This notification is sent to signal the end of a notification + subscription. It is sent in the case that stopTime was + specified during the creation of the subscription."; + } + container netconf { + config false; + description + "Top-level element in the notification namespace"; + container streams { + description + "The list of event streams supported by the system. When + a query is issued, the returned set of streams is + determined based on user privileges."; + list stream { + key "name"; + min-elements 1; + description + "Stream name, description and other information."; + leaf name { + type ncEvent:streamNameType; + description + "The name of the event stream. If this is the default + NETCONF stream, this must have the value 'NETCONF'."; + } + leaf description { + type string; + mandatory true; + description + "A description of the event stream, including such + information as the type of events that are sent over + this stream."; + } + leaf replaySupport { + type boolean; + mandatory true; + description + "A description of the event stream, including such + information as the type of events that are sent over + this stream."; + } + leaf replayLogCreationTime { + type yang:date-and-time; + description + "The timestamp of the creation of the log used to support + the replay function on this stream. Note that this might + be earlier then the earliest available notification in + the log. This object is updated if the log resets for + some reason. This object MUST be present if replay is + supported."; + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/notifications.yang b/yang/modules/cisco-ios-xr/632/notifications.yang new file mode 100644 index 0000000..19e53e9 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/notifications.yang @@ -0,0 +1,75 @@ +module notifications { + namespace "urn:ietf:params:xml:ns:netconf:notification:1.0"; + prefix ncEvent; + + import ietf-yang-types { + prefix yang; + } + + organization + "IETF NETCONF WG"; + contact + "netconf@ops.ietf.org"; + description + "Conversion of the 'ncEvent' XSD in the + NETCONF Notifications RFC."; + + revision 2008-07-14 { + description + "Initial revision."; + reference "RFC 5277: NETCONF Event Notifications"; + } + + typedef streamNameType { + type string; + description + "The name of an event stream."; + } + + rpc create-subscription { + description + "The command to create a notification subscription. It + takes as argument the name of the notification stream + and filter. Both of those options limit the content of + the subscription. In addition, there are two time-related + parameters, startTime and stopTime, which can be used to + select the time interval of interest to the notification + replay feature."; + input { + leaf stream { + type streamNameType; + default "NETCONF"; + description + "An optional parameter that indicates which stream of + events is of interest. If not present, then events in the + default NETCONF stream will be sent."; + } + anyxml filter { + description + "An optional parameter that indicates which subset of all + possible events is of interest. The format of this + parameter is the same as that of the filter parameter + in the NETCONF protocol operations. If not present, + all events not precluded by other parameters will + be sent."; + } + leaf startTime { + type yang:date-and-time; + description + "A parameter used to trigger the replay feature and + indicates that the replay should start at the time + specified. If start time is not present, this is not a + replay subscription."; + } + leaf stopTime { + type yang:date-and-time; + description + "An optional parameter used with the optional replay + feature to indicate the newest notifications of + interest. If stop time is not present, the notifications + will continue until the subscription is terminated. + Must be used with startTime."; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-aft-network-instance.yang b/yang/modules/cisco-ios-xr/632/openconfig-aft-network-instance.yang new file mode 100644 index 0000000..2b7e82e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-aft-network-instance.yang @@ -0,0 +1,74 @@ +module openconfig-aft-network-instance { + yang-version 1; + namespace "http://openconfig.net/yang/aft/ni"; + prefix oc-aftni; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-network-instance { + prefix oc-ni; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module provides augmentations that are utilized + when building the OpenConfig network instance model to + add per-NI AFTs."; + + revision 2017-01-13 { + description + "Updated revision for external review"; + reference "0.2.1"; + } + + grouping aft-nexthop-ni-state { + description + "Operational state parameters relating to a next-hop which reference a + network instance."; + leaf network-instance { + type oc-ni:network-instance-ref; + description + "The network-instance within which the next-hop should be resolved. + When this leaf is unspecified, the next-hop is resolved within + the local instance."; + } + } + + grouping aft-entry-ni-state { + description + "Operational state parameters relating to an AFT entry which reference + a network instance."; + leaf origin-network-instance { + type oc-ni:network-instance-ref; + description + "If the AFT entry was imported from another network instance (e.g., it + corresponds to a L3 forwarding entry which was learned within another + network-instance), the value of this leaf reflects the network-instance + from which it was learned. + + For example, if the local network-instance corresponds to a L3VRF, and + routes are imported from the VPNv4 address-family of the BGP instance + in the DEFAULT_INSTANCE, then this value would reflect the + DEFAULT_INSTANCE as the origin-network-instance."; + } + } + + augment "/oc-ni:network-instances/oc-ni:network-instance/oc-ni:afts/oc-ni:aft/oc-ni:entries/oc-ni:entry/oc-ni:next-hops/oc-ni:next-hop/oc-ni:state" { + description + "Add leaves that require referencing of a network instance to the + operational state parameters of a next-hop within the AFT."; + uses aft-nexthop-ni-state; + } + augment "/oc-ni:network-instances/oc-ni:network-instance/oc-ni:afts/oc-ni:aft/oc-ni:entries/oc-ni:entry/oc-ni:match/oc-ni:state" { + description + "Add leaves that require referencing of a network instance to the + operational state parmaeters of an entry within the AFT."; + uses aft-entry-ni-state; + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-aft-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-aft-types.yang new file mode 100644 index 0000000..0591180 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-aft-types.yang @@ -0,0 +1,89 @@ +module openconfig-aft-types { + namespace "http://openconfig.net/yang/fib-types"; + prefix oc-aftt; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig Working Group"; + contact + "OpenConfig Working Group + www.openconfig.net"; + description + "Types related to the OpenConfig Abstract Forwarding + Table (AFT) model"; + + revision 2017-01-13 { + description + "Updated revision for external review"; + reference "0.2.1"; + } + revision 2016-09-07 { + description + "Initial revision for external review"; + reference "0.2.0"; + } + + identity AFT_ADDRESS_FAMILY { + description + "A base identity that is used for address families that have + distinct Abstract Forwarding Tables (AFTs)."; + } + + identity IPV4_UNICAST { + base AFT_ADDRESS_FAMILY; + description + "The AFT entries within the corresponding table relate to unicast + IPv4 forwarding entries."; + } + + identity IPV6_UNICAST { + base AFT_ADDRESS_FAMILY; + description + "The AFT entries within the corresponding table relate to unicast + IPv6 forwarding entries."; + } + + identity MPLS { + base AFT_ADDRESS_FAMILY; + description + "The AFT entries within the corresponding table relate to labelled + forwarding entries using MPLS labels."; + } + + identity L2_ETHERNET { + base AFT_ADDRESS_FAMILY; + description + "The AFT entries within the corresponding table relate to Ethernet + switched forwarding entries."; + } + + typedef encapsulation-header-type { + type enumeration { + enum "GRE" { + description + "The encapsulation header is a Generic Routing Encapsulation + header."; + } + enum "IPV4" { + description + "The encapsulation header is an IPv4 packet header"; + } + enum "IPV6" { + description + "The encapsulation header is an IPv6 packet header"; + } + enum "MPLS" { + description + "The encapsulation header is one or more MPLS labels indicated + by the pushed and popped label stack lists."; + } + } + description + "Types of tunnel encapsulation that are supported by systems as either + head- or tail-end."; + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-aft.yang b/yang/modules/cisco-ios-xr/632/openconfig-aft.yang new file mode 100644 index 0000000..fbd37b3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-aft.yang @@ -0,0 +1,399 @@ +module openconfig-aft { + yang-version 1; + namespace "http://openconfig.net/yang/aft"; + prefix oc-aft; + + import openconfig-extensions { + prefix oc-ext; + } + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-aft-types { + prefix oc-aftt; + } + import openconfig-mpls-types { + prefix oc-mplst; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-packet-match-types { + prefix oc-pkt-match-types; + } + import openconfig-policy-types { + prefix oc-pol-types; + } + import openconfig-types { + prefix oc-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "A model describing the forwarding entries installed on a network + element. It should be noted that this model is not expected to + align 1:1 with the underlying structure used directly by a + forwarding element (e.g., linecard), but rather provide an + abstraction that can be consumed by an NMS to observe, and in some + cases manipulate, the internal forwarding database in a simplified + manner. Since the underlying model of the forwarding table is not + expected to align with this model, the structure described herein + is referred to as an Abstract Forwarding Table (AFT), rather than + the FIB."; + + revision 2017-01-13 { + description + "Updated revision to address review comments"; + reference "0.2.1"; + } + revision 2016-09-07 { + description + "Initial revision for external review"; + reference "0.2.0"; + } + + grouping aft-entry-config { + description + "Configuration parameters relating to a forwarding entry"; + leaf index { + type uint64; + description + "A unique index referring to the AFT entry"; + } + } + + grouping aft-entry-state { + description + "Operational state parameters relating to a forwarding entry"; + leaf packets-forwarded { + type yang:counter64; + description + "The number of packets which have matched, and been forwarded, + based on the AFT entry."; + } + leaf octets-forwarded { + type yang:counter64; + description + "The number of octets which have matched, and been forwarded, + based on the AFT entry"; + } + } + + grouping aft-entry-match-state { + description + "Match critiera for AFT entries"; + leaf ip-prefix { + type inet:ip-prefix; + description + "The IP prefix that the forwarding entry matches. Used for + Layer 3 forwarding entries."; + } + leaf mac-address { + type yang:mac-address; + description + "The MAC address that the forwarding entry matches. Used for + Layer 2 forwarding entries, e.g., within a VSI instance."; + } + leaf mpls-label { + type oc-mplst:mpls-label; + description + "The MPLS label that the forwarding entry matches. Used for + MPLS forwarding entries, whereby the local device acts as an + LSR."; + } + leaf mpls-tc { + type uint8 { + range "0..7"; + } + description + "The value of the MPLS Traffic Class bits (formerly known as + the MPLS experimental bits) that are to be matched by the AFT + entry."; + reference + "RFC5462: Multiprotocol Label Switching (MPLS) Label Stack + Entry: 'EXP' Field Renamed to 'Traffic Class' Field"; + } + leaf ip-dscp { + type inet:dscp; + description + "The value of the differentiated services code point (DSCP) to + be matched for the forwarding entry. The value is specified in + cases where specific class-based forwarding based on IP is + implemented by the device."; + } + leaf ip-protocol { + type oc-pkt-match-types:ip-protocol-type; + description + "The value of the IP protocol field of an IPv4 packet, or the + next-header field of an IPv6 packet which is to be matched by + the AFT entry. This field is utilised where forwarding is + performed based on L4 information."; + } + leaf l4-src-port { + type inet:port-number; + description + "The value of the source port field of the transport header + that is to be matched by the AFT entry."; + } + leaf l4-dst-port { + type inet:port-number; + description + "The value of the destination port field of the transport + header that is to be matched by the AFT entry."; + } + } + + grouping aft-entry-nexthop-config { + description + "Configuration parameters relating to a next-hop entry for a AFT + entry"; + leaf index { + type uint64; + description + "A unique entry for the next-hop"; + } + } + + grouping aft-entry-nexthop-state { + description + "Parameters relating to a next-hop within the AFT entry"; + leaf weight { + type uint32; + description + "The weight of the next-hop. Traffic is balanced according to + the ratio described by the relative weights of the next hops + that exist for the AFT entry. Note that all next-hops that are + specified are assumed to be active next-hops and therefore + eligible (and selected) to be installed in the FIB, and hence + used for packet forwarding."; + } + leaf ip-address { + type inet:ip-address-no-zone; + description + "The IP address of the next-hop system."; + } + leaf mac-address { + type yang:mac-address; + description + "The MAC address of the next-hop if resolved by the local + network instance."; + } + leaf-list popped-mpls-label-stack { + type oc-mplst:mpls-label; + description + "The MPLS label stack to be popped from the packet when + switched by the system. The stack is encoding as a leaf-list + whereby the other of the entries is such that the first entry + is the label lowest down the label stack to be popped. + + If the local system pops the outer-most label 400, then the + value of this list is [400,]. If the local system removes two + labels, the outer-most being 500, and the second of which is + 500, then the value of the list is [500, 400]. + + A swap operation is reflected by entries in the + popped-mpls-label-stack and pushed-mpls-label-stack nodes."; + } + leaf-list pushed-mpls-label-stack { + type oc-mplst:mpls-label; + ordered-by user; + description + "The MPLS label stack imposed when forwarding packets to the + next-hop + - the stack is encoded as a leaf list whereby the order of the + entries is such that the first entry in the list is the + label at the bottom of the stack to be pushed. + + To this end, a packet which is to forwarded to a device using + a service label of 42, and a transport label of 8072 will be + represented with a label stack list of [42, 8072]. + + The MPLS label stack list is ordered by the user, such that no + system re-ordering of leaves is permitted by the system. + + A swap operation is reflected by entries in the + popped-mpls-label-stack and pushed-mpls-label-stack nodes."; + } + leaf decapsulate-header { + type oc-aftt:encapsulation-header-type; + description + "When forwarding a packet to the specified next-hop, the local + system performs a decapsulation of the packet - removing the + specified header type. In the case that no next-hop is + specified, the packet header is removed, and a subsequent + forwarding lookup is performed on the packet encapsulated + within the header, matched within the relevant AFT within the + specified network-instance."; + } + leaf encapsulate-header { + type oc-aftt:encapsulation-header-type; + description + "When forwarding a packet to the specified next-hop the local + system performs an encapsulation of the packet - adding the + specified header type."; + } + leaf origin-protocol { + type identityref { + base oc-pol-types:INSTALL_PROTOCOL_TYPE; + } + description + "The protocol from which the AFT entry was learned."; + } + } + + grouping aft-config { + description + "Configuration parameters relating to an Abstract Forwarding + Table (AFT) for a particular address family."; + leaf address-family { + type identityref { + base oc-types:ADDRESS_FAMILY; + } + description + "The address family of entries that are described by the + AFT."; + } + } + + grouping aft-proto-top { + description + "Top level per-protocol grouping for the AFT."; + container entries { + description + "Enclosing container for a list of abstract forwarding table + entries within the network instance for a particular protocol + (e.g., IPv4, IPv6, MPLS)."; + list entry { + key "index"; + description + "A forwarding database entry within the network instance"; + leaf index { + type leafref { + path "../config/index"; + } + description + "A pointer to the index of the AFT entry within the + network instance"; + } + container config { + description + "Configuration parameters relating to the forwarding + entry"; + uses aft-entry-config; + } + container state { + config false; + description + "Operational state parameters relating to the forwarding + entry"; + uses aft-entry-config; + uses aft-entry-state; + } + container match { + description + "Match criteria for the AFT entry"; + container config { + description + "Configuration of match criteria for the AFT entry"; + } + container state { + config false; + description + "Operational state parameters for match criteria of the + AFT entry"; + uses aft-entry-match-state; + } + uses oc-if:interface-ref-state; + } + container next-hops { + description + "Enclosing container for the list of next-hops associated + with the forwarding entry"; + list next-hop { + key "index"; + description + "A next-hop associated with the forwarding instance. The + entries within the next-hop list should only reflect + next-hops that are actively used by the local system. + That is to say inactive, backup or FRR next-hops should + not be included within this list."; + leaf index { + type leafref { + path "../config/index"; + } + description + "A unique index identifying the next-hop entry for the + AFT entry"; + } + container config { + description + "Configuration parameters relating to the AFT next-hop + entry"; + uses aft-entry-nexthop-config; + } + container state { + config false; + description + "Operational state parameters relating to the AFT + next-hop entry"; + uses aft-entry-nexthop-config; + uses aft-entry-nexthop-state; + } + uses oc-if:interface-ref; + } + } + } + } + } + + grouping aft-top { + description + "Top-level grouping allowing per-protocol instantiation of the + AFT."; + container afts { + description + "The abstract forwarding tables (AFTs) that are associated + with the network instance. An AFT is instantiated per-protocol + running within the network-instance - such that one exists for + IPv4 Unicast, IPv6 Unicast, MPLS, L2 forwarding entries, etc. + A forwarding entry within the FIB has a set of next-hops, + which may be a reference to an entry within another table - + e.g., where a Layer 3 next-hop has an associated Layer 2 + forwarding entry."; + list aft { + key "address-family"; + description + "An individual abstract forwarding table associated with a + an address family wtihin the network instance."; + leaf address-family { + type leafref { + path "../config/address-family"; + } + description + "Reference to the address family with which the AFT is + associated"; + } + container config { + description + "Configuration parameters relating to the AFT."; + uses aft-config; + } + container state { + config false; + description + "Operational state parameters relating to the AFT."; + uses aft-config; + } + uses aft-proto-top; + } + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-bgp-common-multiprotocol.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common-multiprotocol.yang new file mode 100644 index 0000000..0f6ec52 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common-multiprotocol.yang @@ -0,0 +1,341 @@ +submodule openconfig-bgp-common-multiprotocol { + belongs-to openconfig-bgp { + prefix oc-bgp; + } + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-bgp-types { + prefix oc-bgp-types; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import openconfig-types { + prefix oc-types; + } + include openconfig-bgp-common; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This sub-module contains groupings that are related to support + for multiple protocols in BGP. The groupings are common across + multiple contexts."; + + revision 2016-06-21 { + description + "OpenConfig BGP refactor"; + reference "2.1.1"; + } + + grouping bgp-common-mp-afi-safi-graceful-restart-config { + description + "BGP graceful restart parameters that apply on a per-AFI-SAFI + basis"; + leaf enabled { + type boolean; + default "false"; + description + "This leaf indicates whether graceful-restart is enabled for + this AFI-SAFI"; + } + } + + grouping bgp-common-mp-afi-safi-config { + description + "Configuration parameters used for all BGP AFI-SAFIs"; + leaf afi-safi-name { + type identityref { + base oc-bgp-types:AFI_SAFI_TYPE; + } + description + "AFI,SAFI"; + } + leaf enabled { + type boolean; + default "false"; + description + "This leaf indicates whether the IPv4 Unicast AFI,SAFI is + enabled for the neighbour or group"; + } + } + + grouping bgp-common-mp-all-afi-safi-list-contents { + description + "A common grouping used for contents of the list that is used + for AFI-SAFI entries"; + uses oc-rpol:apply-policy-group; + uses bgp-common-mp-ipv4-unicast-group; + uses bgp-common-mp-ipv6-unicast-group; + uses bgp-common-mp-ipv4-labeled-unicast-group; + uses bgp-common-mp-ipv6-labeled-unicast-group; + uses bgp-common-mp-l3vpn-ipv4-unicast-group; + uses bgp-common-mp-l3vpn-ipv6-unicast-group; + uses bgp-common-mp-l3vpn-ipv4-multicast-group; + uses bgp-common-mp-l3vpn-ipv6-multicast-group; + uses bgp-common-mp-l2vpn-vpls-group; + uses bgp-common-mp-l2vpn-evpn-group; + } + + grouping bgp-common-mp-ipv4-unicast-group { + description + "Group for IPv4 Unicast configuration options"; + container ipv4-unicast { + when "../afi-safi-name = 'oc-bgp-types:IPV4_UNICAST'" { + description + "Include this container for IPv4 Unicast specific + configuration"; + } + description + "IPv4 unicast configuration options"; + uses bgp-common-mp-ipv4-ipv6-unicast-common; + } + } + + grouping bgp-common-mp-ipv6-unicast-group { + description + "Group for IPv6 Unicast configuration options"; + container ipv6-unicast { + when "../afi-safi-name = 'oc-bgp-types:IPV6_UNICAST'" { + description + "Include this container for IPv6 Unicast specific + configuration"; + } + description + "IPv6 unicast configuration options"; + uses bgp-common-mp-ipv4-ipv6-unicast-common; + } + } + + grouping bgp-common-mp-ipv4-labeled-unicast-group { + description + "Group for IPv4 Labeled Unicast configuration options"; + container ipv4-labeled-unicast { + when "../afi-safi-name = 'oc-bgp-types:IPV4_LABELED_UNICAST'" { + description + "Include this container for IPv4 Labeled Unicast specific + configuration"; + } + description + "IPv4 Labeled Unicast configuration options"; + uses bgp-common-mp-all-afi-safi-common; + } + } + + grouping bgp-common-mp-ipv6-labeled-unicast-group { + description + "Group for IPv6 Labeled Unicast configuration options"; + container ipv6-labeled-unicast { + when "../afi-safi-name = 'oc-bgp-types:IPV6_LABELED_UNICAST'" { + description + "Include this container for IPv6 Labeled Unicast specific + configuration"; + } + description + "IPv6 Labeled Unicast configuration options"; + uses bgp-common-mp-all-afi-safi-common; + } + } + + grouping bgp-common-mp-l3vpn-ipv4-unicast-group { + description + "Group for IPv4 Unicast L3VPN configuration options"; + container l3vpn-ipv4-unicast { + when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV4_UNICAST'" { + description + "Include this container for IPv4 Unicast L3VPN specific + configuration"; + } + description + "Unicast IPv4 L3VPN configuration options"; + uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common; + } + } + + grouping bgp-common-mp-l3vpn-ipv6-unicast-group { + description + "Group for IPv6 Unicast L3VPN configuration options"; + container l3vpn-ipv6-unicast { + when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV6_UNICAST'" { + description + "Include this container for unicast IPv6 L3VPN specific + configuration"; + } + description + "Unicast IPv6 L3VPN configuration options"; + uses bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common; + } + } + + grouping bgp-common-mp-l3vpn-ipv4-multicast-group { + description + "Group for IPv4 L3VPN multicast configuration options"; + container l3vpn-ipv4-multicast { + when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV4_MULTICAST'" { + description + "Include this container for multicast IPv6 L3VPN specific + configuration"; + } + description + "Multicast IPv4 L3VPN configuration options"; + uses bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common; + } + } + + grouping bgp-common-mp-l3vpn-ipv6-multicast-group { + description + "Group for IPv6 L3VPN multicast configuration options"; + container l3vpn-ipv6-multicast { + when "../afi-safi-name = 'oc-bgp-types:L3VPN_IPV6_MULTICAST'" { + description + "Include this container for multicast IPv6 L3VPN specific + configuration"; + } + description + "Multicast IPv6 L3VPN configuration options"; + uses bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common; + } + } + + grouping bgp-common-mp-l2vpn-vpls-group { + description + "Group for BGP-signalled VPLS configuration options"; + container l2vpn-vpls { + when "../afi-safi-name = 'oc-bgp-types:L2VPN_VPLS'" { + description + "Include this container for BGP-signalled VPLS specific + configuration"; + } + description + "BGP-signalled VPLS configuration options"; + uses bgp-common-mp-l2vpn-common; + } + } + + grouping bgp-common-mp-l2vpn-evpn-group { + description + "Group for BGP EVPN configuration options"; + container l2vpn-evpn { + when "../afi-safi-name = 'oc-bgp-types:L2VPN_EVPN'" { + description + "Include this container for BGP EVPN specific + configuration"; + } + description + "BGP EVPN configuration options"; + uses bgp-common-mp-l2vpn-common; + } + } + + grouping bgp-common-mp-all-afi-safi-common { + description + "Grouping for configuration common to all AFI,SAFI"; + container prefix-limit { + description + "Configure the maximum number of prefixes that will be + accepted from a peer"; + container config { + description + "Configuration parameters relating to the prefix + limit for the AFI-SAFI"; + uses bgp-common-mp-all-afi-safi-common-prefix-limit-config; + } + container state { + config false; + description + "State information relating to the prefix-limit for the + AFI-SAFI"; + uses bgp-common-mp-all-afi-safi-common-prefix-limit-config; + } + } + } + + grouping bgp-common-mp-ipv4-ipv6-unicast-common { + description + "Common configuration that is applicable for IPv4 and IPv6 + unicast"; + uses bgp-common-mp-all-afi-safi-common; + container config { + description + "Configuration parameters for common IPv4 and IPv6 unicast + AFI-SAFI options"; + uses bgp-common-mp-ipv4-ipv6-unicast-common-config; + } + container state { + config false; + description + "State information for common IPv4 and IPv6 unicast + parameters"; + uses bgp-common-mp-ipv4-ipv6-unicast-common-config; + } + } + + grouping bgp-common-mp-l3vpn-ipv4-ipv6-unicast-common { + description + "Common configuration applied across L3VPN for IPv4 + and IPv6"; + uses bgp-common-mp-all-afi-safi-common; + } + + grouping bgp-common-mp-l3vpn-ipv4-ipv6-multicast-common { + description + "Common configuration applied across L3VPN for IPv4 + and IPv6"; + uses bgp-common-mp-all-afi-safi-common; + } + + grouping bgp-common-mp-l2vpn-common { + description + "Common configuration applied across L2VPN address + families"; + uses bgp-common-mp-all-afi-safi-common; + } + + grouping bgp-common-mp-all-afi-safi-common-prefix-limit-config { + description + "Configuration parameters relating to prefix-limits for an + AFI-SAFI"; + leaf max-prefixes { + type uint32; + description + "Maximum number of prefixes that will be accepted + from the neighbour"; + } + leaf shutdown-threshold-pct { + type oc-types:percentage; + description + "Threshold on number of prefixes that can be received + from a neighbour before generation of warning messages + or log entries. Expressed as a percentage of + max-prefixes"; + } + leaf restart-timer { + type decimal64 { + fraction-digits 2; + } + units "seconds"; + description + "Time interval in seconds after which the BGP session + is re-established after being torn down due to exceeding + the max-prefix limit."; + } + } + + grouping bgp-common-mp-ipv4-ipv6-unicast-common-config { + description + "Common configuration parameters for IPv4 and IPv6 Unicast + address families"; + leaf send-default-route { + type boolean; + default "false"; + description + "If set to true, send the default-route to the neighbour(s)"; + } + } + oc-ext:openconfig-version "2.1.1"; +} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common-structure.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common-structure.yang old mode 100755 new mode 100644 similarity index 81% rename from yang/modules/cisco-ios-xr/631/openconfig-bgp-common-structure.yang rename to yang/modules/cisco-ios-xr/632/openconfig-bgp-common-structure.yang index 3f7b0d2..6e3a585 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-common-structure.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common-structure.yang @@ -1,30 +1,24 @@ submodule openconfig-bgp-common-structure { - belongs-to openconfig-bgp { - prefix "oc-bgp"; + prefix oc-bgp; } - import openconfig-extensions { prefix oc-ext; } - + import openconfig-extensions { + prefix oc-ext; + } include openconfig-bgp-common-multiprotocol; include openconfig-bgp-common; - // meta organization "OpenConfig working group"; - contact "OpenConfig working group - netopenconfig@googlegroups.com"; - + netopenconfig@googlegroups.com"; description "This sub-module contains groupings that are common across multiple BGP - contexts and provide structure around other primitive groupings."; - - - oc-ext:openconfig-version "2.1.1"; + contexts and provide structure around other primitive groupings."; - revision "2016-06-21" { + revision 2016-06-21 { description "OpenConfig BGP refactor"; reference "2.1.1"; @@ -33,23 +27,22 @@ submodule openconfig-bgp-common-structure { grouping bgp-common-structure-neighbor-group-logging-options { description "Structural grouping used to include error handling configuration and - state for both BGP neighbors and groups"; - + state for both BGP neighbors and groups"; container logging-options { description "Logging options for events related to the BGP neighbor or - group"; + group"; container config { description "Configuration parameters enabling or modifying logging - for events relating to the BGPgroup"; + for events relating to the BGPgroup"; uses bgp-common-neighbor-group-logging-options-config; } container state { config false; description "State information relating to logging for the BGP neighbor - or group"; + or group"; uses bgp-common-neighbor-group-logging-options-config; } } @@ -58,22 +51,21 @@ submodule openconfig-bgp-common-structure { grouping bgp-common-structure-neighbor-group-ebgp-multihop { description "Structural grouping used to include eBGP multihop configuration and - state for both BGP neighbors and peer groups"; - + state for both BGP neighbors and peer groups"; container ebgp-multihop { description "eBGP multi-hop parameters for the BGPgroup"; container config { description "Configuration parameters relating to eBGP multihop for the - BGP group"; + BGP group"; uses bgp-common-neighbor-group-multihop-config; } container state { config false; description "State information for eBGP multihop, for the BGP neighbor - or group"; + or group"; uses bgp-common-neighbor-group-multihop-config; } } @@ -82,22 +74,21 @@ submodule openconfig-bgp-common-structure { grouping bgp-common-structure-neighbor-group-route-reflector { description "Structural grouping used to include route reflector configuration and - state for both BGP neighbors and peer groups"; - + state for both BGP neighbors and peer groups"; container route-reflector { description "Route reflector parameters for the BGPgroup"; container config { description "Configuraton parameters relating to route reflection - for the BGPgroup"; + for the BGPgroup"; uses bgp-common-neighbor-group-route-reflector-config; } container state { config false; description "State information relating to route reflection for the - BGPgroup"; + BGPgroup"; uses bgp-common-neighbor-group-route-reflector-config; } } @@ -106,23 +97,22 @@ submodule openconfig-bgp-common-structure { grouping bgp-common-structure-neighbor-group-as-path-options { description "Structural grouping used to include AS_PATH manipulation configuration - and state for both BGP neighbors and peer groups"; - + and state for both BGP neighbors and peer groups"; container as-path-options { description "AS_PATH manipulation parameters for the BGP neighbor or - group"; + group"; container config { description "Configuration parameters relating to AS_PATH manipulation - for the BGP peer or group"; + for the BGP peer or group"; uses bgp-common-neighbor-group-as-path-options-config; } container state { config false; description "State information relating to the AS_PATH manipulation - mechanisms for the BGP peer or group"; + mechanisms for the BGP peer or group"; uses bgp-common-neighbor-group-as-path-options-config; } } @@ -131,12 +121,11 @@ submodule openconfig-bgp-common-structure { grouping bgp-common-structure-neighbor-group-add-paths { description "Structural grouping used to include ADD-PATHs configuration and state - for both BGP neighbors and peer groups"; - + for both BGP neighbors and peer groups"; container add-paths { description "Parameters relating to the advertisement and receipt of - multiple paths for a single NLRI (add-paths)"; + multiple paths for a single NLRI (add-paths)"; container config { description "Configuration parameters relating to ADD_PATHS"; @@ -150,5 +139,5 @@ submodule openconfig-bgp-common-structure { } } } - + oc-ext:openconfig-version "2.1.1"; } diff --git a/yang/modules/cisco-ios-xr/632/openconfig-bgp-common.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common.yang new file mode 100644 index 0000000..8af8126 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-common.yang @@ -0,0 +1,540 @@ +submodule openconfig-bgp-common { + belongs-to openconfig-bgp { + prefix oc-bgp; + } + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-bgp-types { + prefix oc-bgp-types; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import ietf-inet-types { + prefix inet; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This sub-module contains common groupings that are common across + multiple contexts within the BGP module. That is to say that they + may be application to a subset of global, peer-group or neighbor + contexts."; + + revision 2016-06-21 { + description + "OpenConfig BGP refactor"; + reference "2.1.1"; + } + + grouping bgp-common-neighbor-group-timers-config { + description + "Config parameters related to timers associated with the BGP + peer"; + leaf connect-retry { + type decimal64 { + fraction-digits 2; + } + default "30"; + description + "Time interval in seconds between attempts to establish a + session with the peer."; + } + leaf hold-time { + type decimal64 { + fraction-digits 2; + } + default "90"; + description + "Time interval in seconds that a BGP session will be + considered active in the absence of keepalive or other + messages from the peer. The hold-time is typically + set to 3x the keepalive-interval."; + reference "RFC 4271 - A Border Gateway Protocol 4, Sec. 10"; + } + leaf keepalive-interval { + type decimal64 { + fraction-digits 2; + } + default "30"; + description + "Time interval in seconds between transmission of keepalive + messages to the neighbor. Typically set to 1/3 the + hold-time."; + } + leaf minimum-advertisement-interval { + type decimal64 { + fraction-digits 2; + } + default "30"; + description + "Minimum time which must elapse between subsequent UPDATE + messages relating to a common set of NLRI being transmitted + to a peer. This timer is referred to as + MinRouteAdvertisementIntervalTimer by RFC 4721 and serves to + reduce the number of UPDATE messages transmitted when a + particular set of NLRI exhibit instability."; + reference "RFC 4271 - A Border Gateway Protocol 4, Sec 9.2.1.1"; + } + } + + grouping bgp-common-neighbor-group-config { + description + "Neighbor level configuration items."; + leaf peer-as { + type inet:as-number; + description + "AS number of the peer."; + } + leaf local-as { + type inet:as-number; + description + "The local autonomous system number that is to be used + when establishing sessions with the remote peer or peer + group, if this differs from the global BGP router + autonomous system number."; + } + leaf peer-type { + type oc-bgp-types:peer-type; + description + "Explicitly designate the peer or peer group as internal + (iBGP) or external (eBGP)."; + } + leaf auth-password { + type string; + description + "Configures an MD5 authentication password for use with + neighboring devices."; + } + leaf remove-private-as { + type oc-bgp-types:remove-private-as-option; + description + "Remove private AS numbers from updates sent to peers - when + this leaf is not specified, the AS_PATH attribute should be + sent to the peer unchanged"; + } + leaf route-flap-damping { + type boolean; + default "false"; + description + "Enable route flap damping."; + } + leaf send-community { + type oc-bgp-types:community-type; + default "NONE"; + description + "Specify which types of community should be sent to the + neighbor or group. The default is to not send the + community attribute"; + } + leaf description { + type string; + description + "An optional textual description (intended primarily for use + with a peer or group"; + } + } + + grouping bgp-common-neighbor-group-transport-config { + description + "Configuration parameters relating to the transport protocol + used by the BGP session to the peer"; + leaf tcp-mss { + type uint16; + description + "Sets the max segment size for BGP TCP sessions."; + } + leaf mtu-discovery { + type boolean; + default "false"; + description + "Turns path mtu discovery for BGP TCP sessions on (true) + or off (false)"; + } + leaf passive-mode { + type boolean; + default "false"; + description + "Wait for peers to issue requests to open a BGP session, + rather than initiating sessions from the local router."; + } + leaf local-address { + type union { + type inet:ip-address; + type string; + } + description + "Set the local IP (either IPv4 or IPv6) address to use + for the session when sending BGP update messages. This + may be expressed as either an IP address or reference + to the name of an interface."; + } + } + + grouping bgp-common-neighbor-group-error-handling-config { + description + "Configuration parameters relating to enhanced error handling + behaviours for BGP"; + leaf treat-as-withdraw { + type boolean; + default "false"; + description + "Specify whether erroneous UPDATE messages for which the + NLRI can be extracted are reated as though the NLRI is + withdrawn - avoiding session reset"; + reference "draft-ietf-idr-error-handling-16"; + } + } + + grouping bgp-common-neighbor-group-logging-options-config { + description + "Configuration parameters specifying the logging behaviour for + BGP sessions to the peer"; + leaf log-neighbor-state-changes { + type boolean; + default "true"; + description + "Configure logging of peer state changes. Default is + to enable logging of peer state changes."; + } + } + + grouping bgp-common-neighbor-group-multihop-config { + description + "Configuration parameters specifying the multihop behaviour for + BGP sessions to the peer"; + leaf enabled { + type boolean; + default "false"; + description + "When enabled the referenced group or neighbors are permitted + to be indirectly connected - including cases where the TTL + can be decremented between the BGP peers"; + } + leaf multihop-ttl { + type uint8; + description + "Time-to-live value to use when packets are sent to the + referenced group or neighbors and ebgp-multihop is enabled"; + } + } + + grouping bgp-common-neighbor-group-route-reflector-config { + description + "Configuration parameters determining whether the behaviour of + the local system when acting as a route-reflector"; + leaf route-reflector-cluster-id { + type oc-bgp-types:rr-cluster-id-type; + description + "route-reflector cluster id to use when local router is + configured as a route reflector. Commonly set at the group + level, but allows a different cluster + id to be set for each neighbor."; + } + leaf route-reflector-client { + type boolean; + default "false"; + description + "Configure the neighbor as a route reflector client."; + } + } + + grouping bgp-common-neighbor-group-as-path-options-config { + description + "Configuration parameters allowing manipulation of the AS_PATH + attribute"; + leaf allow-own-as { + type uint8; + default "0"; + description + "Specify the number of occurrences of the local BGP speaker's + AS that can occur within the AS_PATH before it is rejected."; + } + leaf replace-peer-as { + type boolean; + default "false"; + description + "Replace occurrences of the peer's AS in the AS_PATH + with the local autonomous system number"; + } + } + + grouping bgp-common-neighbor-group-add-paths-config { + description + "Configuration parameters specfying whether the local system + will send or receive multiple paths using ADD_PATHS"; + leaf receive { + type boolean; + default "false"; + description + "Enable ability to receive multiple path advertisements + for an NLRI from the neighbor or group"; + } + leaf send-max { + type uint8; + description + "The maximum number of paths to advertise to neighbors + for a single NLRI"; + } + leaf eligible-prefix-policy { + type leafref { + path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:name"; + } + description + "A reference to a routing policy which can be used to + restrict the prefixes for which add-paths is enabled"; + } + } + + grouping bgp-common-graceful-restart-config { + description + "Configuration parameters relating to BGP graceful restart."; + leaf enabled { + type boolean; + description + "Enable or disable the graceful-restart capability."; + } + leaf restart-time { + type uint16 { + range "0..4096"; + } + description + "Estimated time (in seconds) for the local BGP speaker to + restart a session. This value is advertise in the graceful + restart BGP capability. This is a 12-bit value, referred to + as Restart Time in RFC4724. Per RFC4724, the suggested + default value is <= the hold-time value."; + } + leaf stale-routes-time { + type decimal64 { + fraction-digits 2; + } + description + "An upper-bound on the time thate stale routes will be + retained by a router after a session is restarted. If an + End-of-RIB (EOR) marker is received prior to this timer + expiring stale-routes will be flushed upon its receipt - if + no EOR is received, then when this timer expires stale paths + will be purged. This timer is referred to as the + Selection_Deferral_Timer in RFC4724"; + } + leaf helper-only { + type boolean; + description + "Enable graceful-restart in helper mode only. When this + leaf is set, the local system does not retain forwarding + its own state during a restart, but supports procedures + for the receiving speaker, as defined in RFC4724."; + } + } + + grouping bgp-common-use-multiple-paths-config { + description + "Generic configuration options relating to use of multiple + paths for a referenced AFI-SAFI, group or neighbor"; + leaf enabled { + type boolean; + default "false"; + description + "Whether the use of multiple paths for the same NLRI is + enabled for the neighbor. This value is overridden by + any more specific configuration value."; + } + } + + grouping bgp-common-use-multiple-paths-ebgp-as-options-config { + description + "Configuration parameters specific to eBGP multipath applicable + to all contexts"; + leaf allow-multiple-as { + type boolean; + default "false"; + description + "Allow multipath to use paths from different neighbouring + ASes. The default is to only consider multiple paths from + the same neighbouring AS."; + } + } + + grouping bgp-common-global-group-use-multiple-paths { + description + "Common grouping used for both global and groups which provides + configuration and state parameters relating to use of multiple + paths"; + container use-multiple-paths { + description + "Parameters related to the use of multiple paths for the + same NLRI"; + container config { + description + "Configuration parameters relating to multipath"; + uses bgp-common-use-multiple-paths-config; + } + container state { + config false; + description + "State parameters relating to multipath"; + uses bgp-common-use-multiple-paths-config; + } + container ebgp { + description + "Multipath parameters for eBGP"; + container config { + description + "Configuration parameters relating to eBGP multipath"; + uses bgp-common-use-multiple-paths-ebgp-config; + } + container state { + config false; + description + "State information relating to eBGP multipath"; + uses bgp-common-use-multiple-paths-ebgp-config; + } + } + container ibgp { + description + "Multipath parameters for iBGP"; + container config { + description + "Configuration parameters relating to iBGP multipath"; + uses bgp-common-use-multiple-paths-ibgp-config; + } + container state { + config false; + description + "State information relating to iBGP multipath"; + uses bgp-common-use-multiple-paths-ibgp-config; + } + } + } + } + + grouping bgp-common-use-multiple-paths-ebgp-config { + description + "Configuration parameters relating to multipath for eBGP"; + leaf allow-multiple-as { + type boolean; + default "false"; + description + "Allow multipath to use paths from different neighbouring + ASes. The default is to only consider multiple paths from + the same neighbouring AS."; + } + leaf maximum-paths { + type uint32; + default "1"; + description + "Maximum number of parallel paths to consider when using + BGP multipath. The default is use a single path."; + } + } + + grouping bgp-common-use-multiple-paths-ibgp-config { + description + "Configuration parmaeters relating to multipath for iBGP"; + leaf maximum-paths { + type uint32; + default "1"; + description + "Maximum number of parallel paths to consider when using + iBGP multipath. The default is to use a single path"; + } + } + + grouping bgp-common-route-selection-options-config { + description + "Set of configuration options that govern best + path selection."; + leaf always-compare-med { + type boolean; + default "false"; + description + "Compare multi-exit discriminator (MED) value from + different ASes when selecting the best route. The + default behavior is to only compare MEDs for paths + received from the same AS."; + } + leaf ignore-as-path-length { + type boolean; + default "false"; + description + "Ignore the AS path length when selecting the best path. + The default is to use the AS path length and prefer paths + with shorter length."; + } + leaf external-compare-router-id { + type boolean; + default "true"; + description + "When comparing similar routes received from external + BGP peers, use the router-id as a criterion to select + the active path."; + } + leaf advertise-inactive-routes { + type boolean; + default "false"; + description + "Advertise inactive routes to external peers. The + default is to only advertise active routes."; + } + leaf enable-aigp { + type boolean; + default "false"; + description + "Flag to enable sending / receiving accumulated IGP + attribute in routing updates"; + } + leaf ignore-next-hop-igp-metric { + type boolean; + default "false"; + description + "Ignore the IGP metric to the next-hop when calculating + BGP best-path. The default is to select the route for + which the metric to the next-hop is lowest"; + } + } + + grouping bgp-common-route-selection-options { + description + "Configuration and state relating to route selection options"; + container route-selection-options { + description + "Parameters relating to options for route selection"; + container config { + description + "Configuration parameters relating to route selection + options"; + uses bgp-common-route-selection-options-config; + } + container state { + config false; + description + "State information for the route selection options"; + uses bgp-common-route-selection-options-config; + } + } + } + + grouping bgp-common-state { + description + "Grouping containing common counters relating to prefixes and + paths"; + leaf total-paths { + type uint32; + description + "Total number of BGP paths within the context"; + } + leaf total-prefixes { + type uint32; + description + "Total number of BGP prefixes received within the context"; + } + } + oc-ext:openconfig-version "2.1.1"; +} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-global.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-global.yang old mode 100755 new mode 100644 similarity index 84% rename from yang/modules/cisco-ios-xr/631/openconfig-bgp-global.yang rename to yang/modules/cisco-ios-xr/632/openconfig-bgp-global.yang index 69778fb..203e334 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-global.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-global.yang @@ -1,32 +1,30 @@ submodule openconfig-bgp-global { - belongs-to openconfig-bgp { - prefix "oc-bgp"; + prefix oc-bgp; } - import openconfig-extensions { prefix oc-ext; } - import ietf-inet-types { prefix inet; } - import ietf-yang-types { prefix yang; } - - // Include common submodule + import openconfig-extensions { + prefix oc-ext; + } + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } include openconfig-bgp-common; include openconfig-bgp-common-multiprotocol; - // meta organization "OpenConfig working group"; - contact "OpenConfig working group - netopenconfig@googlegroups.com"; - + netopenconfig@googlegroups.com"; description "This sub-module contains groupings that are specific to the - global context of the OpenConfig BGP module"; - - oc-ext:openconfig-version "2.1.1"; + global context of the OpenConfig BGP module"; - revision "2016-06-21" { + revision 2016-06-21 { description "OpenConfig BGP refactor"; reference "2.1.1"; @@ -35,46 +33,42 @@ submodule openconfig-bgp-global { grouping bgp-global-config { description "Global configuration options for the BGP router."; - leaf as { type inet:as-number; mandatory true; description "Local autonomous system number of the router. Uses - the 32-bit as-number type from the model in RFC 6991."; + the 32-bit as-number type from the model in RFC 6991."; } - leaf router-id { type yang:dotted-quad; description "Router id of the router - an unsigned 32-bit integer - expressed in dotted quad notation."; + expressed in dotted quad notation."; reference "RFC4271 - A Border Gateway Protocol 4 (BGP-4), - Section 4.2"; + Section 4.2"; } } grouping bgp-global-state { description "Operational state parameters for the BGP neighbor"; - uses bgp-common-state; } grouping bgp-global-default-route-distance-config { description "Configuration options relating to the administrative distance - (or preference) assigned to routes received from different - sources (external, internal, and local)."; - + (or preference) assigned to routes received from different + sources (external, internal, and local)."; leaf external-route-distance { type uint8 { range "1..255"; } description "Administrative distance for routes learned from external - BGP (eBGP)."; + BGP (eBGP)."; } leaf internal-route-distance { type uint8 { @@ -82,57 +76,50 @@ submodule openconfig-bgp-global { } description "Administrative distance for routes learned from internal - BGP (iBGP)."; + BGP (iBGP)."; } } grouping bgp-global-confederation-config { description "Configuration options specifying parameters when the local - router is within an autonomous system which is part of a BGP - confederation."; - + router is within an autonomous system which is part of a BGP + confederation."; leaf enabled { type boolean; description "When this leaf is set to true it indicates that - the local-AS is part of a BGP confederation"; + the local-AS is part of a BGP confederation"; } - leaf identifier { type inet:as-number; description "Confederation identifier for the autonomous system."; } - leaf-list member-as { type inet:as-number; description "Remote autonomous systems that are to be treated - as part of the local confederation."; + as part of the local confederation."; } } grouping bgp-global-afi-safi-list { description "List of address-families associated with the BGP instance"; - list afi-safi { key "afi-safi-name"; - description "AFI,SAFI configuration available for the - neighbour or group"; - + neighbour or group"; leaf afi-safi-name { type leafref { path "../config/afi-safi-name"; } description "Reference to the AFI-SAFI name used as a key - for the AFI-SAFI list"; + for the AFI-SAFI list"; } - container config { description "Configuration parameters for the AFI-SAFI"; @@ -145,7 +132,6 @@ submodule openconfig-bgp-global { uses bgp-common-mp-afi-safi-config; uses bgp-common-state; } - container graceful-restart { description "Parameters relating to BGP graceful-restart"; @@ -161,18 +147,15 @@ submodule openconfig-bgp-global { uses bgp-common-mp-afi-safi-graceful-restart-config; } } - uses bgp-common-route-selection-options; uses bgp-common-global-group-use-multiple-paths; uses bgp-common-mp-all-afi-safi-list-contents; } } - // Structural groupings grouping bgp-global-base { description "Global configuration parameters for the BGP router"; - container config { description "Configuration parameters relating to the global BGP router"; @@ -185,17 +168,15 @@ submodule openconfig-bgp-global { uses bgp-global-config; uses bgp-global-state; } - container default-route-distance { description "Administrative distance (or preference) assigned to - routes received from different sources - (external, internal, and local)."; - + routes received from different sources + (external, internal, and local)."; container config { description "Configuration parameters relating to the default route - distance"; + distance"; uses bgp-global-default-route-distance-config; } container state { @@ -205,12 +186,10 @@ submodule openconfig-bgp-global { uses bgp-global-default-route-distance-config; } } - container confederation { description "Parameters indicating whether the local system acts as part - of a BGP confederation"; - + of a BGP confederation"; container config { description "Configuration parameters relating to BGP confederations"; @@ -223,7 +202,6 @@ submodule openconfig-bgp-global { uses bgp-global-confederation-config; } } - container graceful-restart { description "Parameters relating the graceful restart mechanism for BGP"; @@ -239,15 +217,13 @@ submodule openconfig-bgp-global { uses bgp-common-graceful-restart-config; } } - uses bgp-common-global-group-use-multiple-paths; uses bgp-common-route-selection-options; - container afi-safis { description "Address family specific configuration"; uses bgp-global-afi-safi-list; } } - + oc-ext:openconfig-version "2.1.1"; } diff --git a/yang/modules/cisco-ios-xr/632/openconfig-bgp-neighbor.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-neighbor.yang new file mode 100644 index 0000000..e078f1c --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-neighbor.yang @@ -0,0 +1,571 @@ +submodule openconfig-bgp-neighbor { + belongs-to openconfig-bgp { + prefix oc-bgp; + } + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-bgp-types { + prefix oc-bgp-types; + } + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + include openconfig-bgp-common; + include openconfig-bgp-common-multiprotocol; + include openconfig-bgp-peer-group; + include openconfig-bgp-common-structure; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This sub-module contains groupings that are specific to the + neighbor context of the OpenConfig BGP module."; + + revision 2016-06-21 { + description + "OpenConfig BGP refactor"; + reference "2.1.1"; + } + + grouping bgp-neighbor-config { + description + "Configuration parameters relating to a base BGP neighbor that + are not also applicable to any other context + (e.g., peer group)"; + leaf peer-group { + type leafref { + path "../../../../peer-groups/peer-group/peer-group-name"; + } + description + "The peer-group with which this neighbor is associated"; + } + leaf neighbor-address { + type inet:ip-address; + description + "Address of the BGP peer, either in IPv4 or IPv6"; + } + leaf enabled { + type boolean; + default "true"; + description + "Whether the BGP peer is enabled. In cases where the + enabled leaf is set to false, the local system should not + initiate connections to the neighbor, and should not + respond to TCP connections attempts from the neighbor. If + the state of the BGP session is ESTABLISHED at the time + that this leaf is set to false, the BGP session should be + ceased."; + } + } + + grouping bgp-neighbor-use-multiple-paths { + description + "Multipath configuration and state applicable to a BGP + neighbor"; + container use-multiple-paths { + description + "Parameters related to the use of multiple-paths for the same + NLRI when they are received only from this neighbor"; + container config { + description + "Configuration parameters relating to multipath"; + uses bgp-common-use-multiple-paths-config; + } + container state { + config false; + description + "State parameters relating to multipath"; + uses bgp-common-use-multiple-paths-config; + } + container ebgp { + description + "Multipath configuration for eBGP"; + container config { + description + "Configuration parameters relating to eBGP multipath"; + uses bgp-common-use-multiple-paths-ebgp-as-options-config; + } + container state { + config false; + description + "State information relating to eBGP multipath"; + uses bgp-common-use-multiple-paths-ebgp-as-options-config; + } + } + } + } + + grouping bgp-neighbor-state { + description + "Operational state parameters relating only to a BGP neighbor"; + leaf session-state { + type enumeration { + enum "IDLE" { + description + "neighbor is down, and in the Idle state of the + FSM"; + } + enum "CONNECT" { + description + "neighbor is down, and the session is waiting for + the underlying transport session to be established"; + } + enum "ACTIVE" { + description + "neighbor is down, and the local system is awaiting + a conncetion from the remote peer"; + } + enum "OPENSENT" { + description + "neighbor is in the process of being established. + The local system has sent an OPEN message"; + } + enum "OPENCONFIRM" { + description + "neighbor is in the process of being established. + The local system is awaiting a NOTIFICATION or + KEEPALIVE message"; + } + enum "ESTABLISHED" { + description + "neighbor is up - the BGP session with the peer is + established"; + } + } + description + "Operational state of the BGP peer"; + } + leaf last-established { + type oc-types:timeticks64; + description + "This timestamp indicates the time that the + BGP session last transitioned in or out of the Established + state. The value is the timestamp in seconds relative to + the Unix Epoch (Jan 1, 1970 00:00:00 UTC). + The BGP session uptime can be computed by clients as the + difference between this value and the current time in UTC + (assuming the session is in the ESTABLISHED state, per the + session-state leaf)."; + } + leaf established-transitions { + type yang:counter64; + description + "Number of transitions to the Established state for + the neighbor session. This value is analogous to the + bgpPeerFsmEstablishedTransitions object from the standard + BGP-4 MIB"; + reference "RFC 4273 - Definitions of Managed Objects for BGP-4"; + } + leaf-list supported-capabilities { + type identityref { + base oc-bgp-types:BGP_CAPABILITY; + } + description + "BGP capabilities negotiated as supported with the peer"; + } + container messages { + description + "Counters for BGP messages sent and received from the + neighbor"; + container sent { + description + "Counters relating to BGP messages sent to the neighbor"; + uses bgp-neighbor-counters-message-types-state; + } + container received { + description + "Counters for BGP messages received from the neighbor"; + uses bgp-neighbor-counters-message-types-state; + } + } + container queues { + description + "Counters related to queued messages associated with the + BGP neighbor"; + uses bgp-neighbor-queue-counters-state; + } + } + + grouping bgp-neighbor-counters-message-types-state { + description + "Grouping of BGP message types, included for re-use + across counters"; + leaf UPDATE { + type uint64; + description + "Number of BGP UPDATE messages announcing, withdrawing + or modifying paths exchanged."; + } + leaf NOTIFICATION { + type uint64; + description + "Number of BGP NOTIFICATION messages indicating an + error condition has occurred exchanged."; + } + } + + grouping bgp-neighbor-queue-counters-state { + description + "Counters relating to the message queues associated with the + BGP peer"; + leaf input { + type uint32; + description + "The number of messages received from the peer currently + queued"; + } + leaf output { + type uint32; + description + "The number of messages queued to be sent to the peer"; + } + } + + grouping bgp-neighbor-transport-state { + description + "Operational state parameters relating to the transport session + used for the BGP session"; + leaf local-port { + type inet:port-number; + description + "Local TCP port being used for the TCP session supporting + the BGP session"; + } + leaf remote-address { + type inet:ip-address; + description + "Remote address to which the BGP session has been + established"; + } + leaf remote-port { + type inet:port-number; + description + "Remote port being used by the peer for the TCP session + supporting the BGP session"; + } + } + + grouping bgp-neighbor-error-handling-state { + description + "Operational state parameters relating to enhanced error + error handling for BGP"; + leaf erroneous-update-messages { + type uint32; + description + "The number of BGP UPDATE messages for which the + treat-as-withdraw mechanism has been applied based + on erroneous message contents"; + } + } + + grouping bgp-neighbor-timers-state { + description + "Operational state parameters relating to BGP timers associated + with the BGP session"; + leaf negotiated-hold-time { + type decimal64 { + fraction-digits 2; + } + description + "The negotiated hold-time for the BGP session"; + } + } + + grouping bgp-neighbor-afi-safi-graceful-restart-state { + description + "Operational state variables relating to the graceful-restart + mechanism on a per-AFI-SAFI basis"; + leaf received { + type boolean; + description + "This leaf indicates whether the neighbor advertised the + ability to support graceful-restart for this AFI-SAFI"; + } + leaf advertised { + type boolean; + description + "This leaf indicates whether the ability to support + graceful-restart has been advertised to the peer"; + } + } + + grouping bgp-neighbor-graceful-restart-state { + description + "Operational state information relevant to graceful restart + for BGP"; + leaf peer-restart-time { + type uint16 { + range "0..4096"; + } + description + "The period of time (advertised by the peer) that + the peer expects a restart of a BGP session to + take"; + } + leaf peer-restarting { + type boolean; + description + "This flag indicates whether the remote neighbor is currently + in the process of restarting, and hence received routes are + currently stale"; + } + leaf local-restarting { + type boolean; + description + "This flag indicates whether the local neighbor is currently + restarting. The flag is unset after all NLRI have been + advertised to the peer, and the End-of-RIB (EOR) marker has + been unset"; + } + leaf mode { + type enumeration { + enum "HELPER_ONLY" { + description + "The local router is operating in helper-only mode, and + hence will not retain forwarding state during a local + session restart, but will do so during a restart of the + remote peer"; + } + enum "BILATERAL" { + description + "The local router is operating in both helper mode, and + hence retains forwarding state during a remote restart, + and also maintains forwarding state during local session + restart"; + } + enum "REMOTE_HELPER" { + description + "The local system is able to retain routes during restart + but the remote system is only able to act as a helper"; + } + } + description + "Ths leaf indicates the mode of operation of BGP graceful + restart with the peer"; + } + } + + grouping bgp-neighbor-afi-safi-state { + description + "Operational state parameters relating to an individual AFI, + SAFI for a neighbor"; + leaf active { + type boolean; + description + "This value indicates whether a particular AFI-SAFI has + been succesfully negotiated with the peer. An AFI-SAFI + may be enabled in the current running configuration, but a + session restart may be required in order to negotiate the new + capability."; + } + container prefixes { + description + "Prefix counters for the BGP session"; + leaf received { + type uint32; + description + "The number of prefixes received from the neighbor"; + } + leaf sent { + type uint32; + description + "The number of prefixes advertised to the neighbor"; + } + leaf installed { + type uint32; + description + "The number of advertised prefixes installed in the + Loc-RIB"; + } + } + } + + grouping bgp-neighbor-afi-safi-list { + description + "List of address-families associated with the BGP neighbor"; + list afi-safi { + key "afi-safi-name"; + description + "AFI,SAFI configuration available for the + neighbour or group"; + leaf afi-safi-name { + type leafref { + path "../config/afi-safi-name"; + } + description + "Reference to the AFI-SAFI name used as a key + for the AFI-SAFI list"; + } + container config { + description + "Configuration parameters for the AFI-SAFI"; + uses bgp-common-mp-afi-safi-config; + } + container state { + config false; + description + "State information relating to the AFI-SAFI"; + uses bgp-common-mp-afi-safi-config; + uses bgp-neighbor-afi-safi-state; + } + container graceful-restart { + description + "Parameters relating to BGP graceful-restart"; + container config { + description + "Configuration options for BGP graceful-restart"; + uses bgp-common-mp-afi-safi-graceful-restart-config; + } + container state { + config false; + description + "State information for BGP graceful-restart"; + uses bgp-common-mp-afi-safi-graceful-restart-config; + uses bgp-neighbor-afi-safi-graceful-restart-state; + } + } + uses bgp-common-mp-all-afi-safi-list-contents; + uses bgp-neighbor-use-multiple-paths; + } + } + + grouping bgp-neighbor-base { + description + "Parameters related to a BGP neighbor"; + container config { + description + "Configuration parameters relating to the BGP neighbor or + group"; + uses bgp-neighbor-config; + uses bgp-common-neighbor-group-config; + } + container state { + config false; + description + "State information relating to the BGP neighbor"; + uses bgp-neighbor-config; + uses bgp-common-neighbor-group-config; + uses bgp-neighbor-state; + } + container timers { + description + "Timers related to a BGP neighbor"; + container config { + description + "Configuration parameters relating to timers used for the + BGP neighbor"; + uses bgp-common-neighbor-group-timers-config; + } + container state { + config false; + description + "State information relating to the timers used for the BGP + neighbor"; + uses bgp-common-neighbor-group-timers-config; + uses bgp-neighbor-timers-state; + } + } + container transport { + description + "Transport session parameters for the BGP neighbor"; + container config { + description + "Configuration parameters relating to the transport + session(s) used for the BGP neighbor"; + uses bgp-common-neighbor-group-transport-config; + } + container state { + config false; + description + "State information relating to the transport session(s) + used for the BGP neighbor"; + uses bgp-common-neighbor-group-transport-config; + uses bgp-neighbor-transport-state; + } + } + container error-handling { + description + "Error handling parameters used for the BGP neighbor or + group"; + container config { + description + "Configuration parameters enabling or modifying the + behavior or enhanced error handling mechanisms for the BGP + neighbor"; + uses bgp-common-neighbor-group-error-handling-config; + } + container state { + config false; + description + "State information relating to enhanced error handling + mechanisms for the BGP neighbor"; + uses bgp-common-neighbor-group-error-handling-config; + uses bgp-neighbor-error-handling-state; + } + } + container graceful-restart { + description + "Parameters relating the graceful restart mechanism for BGP"; + container config { + description + "Configuration parameters relating to graceful-restart"; + uses bgp-common-graceful-restart-config; + } + container state { + config false; + description + "State information associated with graceful-restart"; + uses bgp-common-graceful-restart-config; + uses bgp-neighbor-graceful-restart-state; + } + } + uses bgp-common-structure-neighbor-group-logging-options; + uses bgp-common-structure-neighbor-group-ebgp-multihop; + uses bgp-common-structure-neighbor-group-route-reflector; + uses bgp-common-structure-neighbor-group-as-path-options; + uses bgp-common-structure-neighbor-group-add-paths; + uses bgp-neighbor-use-multiple-paths; + uses oc-rpol:apply-policy-group; + container afi-safis { + description + "Per-address-family configuration parameters associated with + the neighbor"; + uses bgp-neighbor-afi-safi-list; + } + } + + grouping bgp-neighbor-list { + description + "The list of BGP neighbors"; + list neighbor { + key "neighbor-address"; + description + "List of BGP neighbors configured on the local system, + uniquely identified by peer IPv[46] address"; + leaf neighbor-address { + type leafref { + path "../config/neighbor-address"; + } + description + "Reference to the address of the BGP neighbor used as + a key in the neighbor list"; + } + uses bgp-neighbor-base; + } + } + oc-ext:openconfig-version "2.1.1"; +} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-peer-group.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-peer-group.yang old mode 100755 new mode 100644 similarity index 84% rename from yang/modules/cisco-ios-xr/631/openconfig-bgp-peer-group.yang rename to yang/modules/cisco-ios-xr/632/openconfig-bgp-peer-group.yang index 1998e1a..7d43e83 --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-peer-group.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-peer-group.yang @@ -1,32 +1,28 @@ submodule openconfig-bgp-peer-group { - belongs-to openconfig-bgp { - prefix "oc-bgp"; + prefix oc-bgp; } - import openconfig-extensions { prefix oc-ext; } - import openconfig-routing-policy { prefix oc-rpol; } - - // Include the common submodule + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-routing-policy { + prefix oc-rpol; + } include openconfig-bgp-common; include openconfig-bgp-common-multiprotocol; include openconfig-bgp-common-structure; - // meta organization "OpenConfig working group"; - contact "OpenConfig working group - netopenconfig@googlegroups.com"; - + netopenconfig@googlegroups.com"; description "This sub-module contains groupings that are specific to the - peer-group context of the OpenConfig BGP module."; - - oc-ext:openconfig-version "2.1.1"; + peer-group context of the OpenConfig BGP module."; - revision "2016-06-21" { + revision 2016-06-21 { description "OpenConfig BGP refactor"; reference "2.1.1"; @@ -35,36 +31,30 @@ submodule openconfig-bgp-peer-group { grouping bgp-peer-group-config { description "Configuration parameters relating to a base BGP peer group that - are not also applicable to any other context (e.g., neighbor)"; - + are not also applicable to any other context (e.g., neighbor)"; leaf peer-group-name { type string; description "Name of the BGP peer-group"; } - } grouping bgp-peer-group-afi-safi-list { description "List of address-families associated with the BGP peer-group"; - list afi-safi { key "afi-safi-name"; - description "AFI,SAFI configuration available for the - neighbour or group"; - + neighbour or group"; leaf afi-safi-name { type leafref { path "../config/afi-safi-name"; } description "Reference to the AFI-SAFI name used as a key - for the AFI-SAFI list"; + for the AFI-SAFI list"; } - container config { description "Configuration parameters for the AFI-SAFI"; @@ -76,7 +66,6 @@ submodule openconfig-bgp-peer-group { "State information relating to the AFI-SAFI"; uses bgp-common-mp-afi-safi-config; } - container graceful-restart { description "Parameters relating to BGP graceful-restart"; @@ -92,7 +81,6 @@ submodule openconfig-bgp-peer-group { uses bgp-common-mp-afi-safi-graceful-restart-config; } } - uses bgp-common-route-selection-options; uses bgp-common-global-group-use-multiple-paths; uses bgp-common-mp-all-afi-safi-list-contents; @@ -102,11 +90,10 @@ submodule openconfig-bgp-peer-group { grouping bgp-peer-group-base { description "Parameters related to a BGP group"; - container config { description "Configuration parameters relating to the BGP neighbor or - group"; + group"; uses bgp-peer-group-config; uses bgp-common-neighbor-group-config; } @@ -118,65 +105,58 @@ submodule openconfig-bgp-peer-group { uses bgp-common-neighbor-group-config; uses bgp-common-state; } - container timers { description "Timers related to a BGP peer-group"; - container config { description "Configuration parameters relating to timers used for the - BGP neighbor or peer group"; + BGP neighbor or peer group"; uses bgp-common-neighbor-group-timers-config; } container state { config false; description "State information relating to the timers used for the BGP - group"; + group"; uses bgp-common-neighbor-group-timers-config; } } - container transport { description "Transport session parameters for the BGP peer-group"; - container config { description "Configuration parameters relating to the transport - session(s) used for the BGP neighbor or group"; + session(s) used for the BGP neighbor or group"; uses bgp-common-neighbor-group-transport-config; } container state { config false; description "State information relating to the transport session(s) - used for the BGP neighbor or group"; + used for the BGP neighbor or group"; uses bgp-common-neighbor-group-transport-config; } } - container error-handling { description "Error handling parameters used for the BGP peer-group"; - container config { description "Configuration parameters enabling or modifying the - behavior or enhanced error handling mechanisms for the BGP - group"; + behavior or enhanced error handling mechanisms for the BGP + group"; uses bgp-common-neighbor-group-error-handling-config; } container state { config false; description "State information relating to enhanced error handling - mechanisms for the BGP group"; + mechanisms for the BGP group"; uses bgp-common-neighbor-group-error-handling-config; } } - container graceful-restart { description "Parameters relating the graceful restart mechanism for BGP"; @@ -192,7 +172,6 @@ submodule openconfig-bgp-peer-group { uses bgp-common-graceful-restart-config; } } - uses bgp-common-structure-neighbor-group-logging-options; uses bgp-common-structure-neighbor-group-ebgp-multihop; uses bgp-common-structure-neighbor-group-route-reflector; @@ -200,11 +179,10 @@ submodule openconfig-bgp-peer-group { uses bgp-common-structure-neighbor-group-add-paths; uses bgp-common-global-group-use-multiple-paths; uses oc-rpol:apply-policy-group; - container afi-safis { description "Per-address-family configuration parameters associated with - thegroup"; + thegroup"; uses bgp-peer-group-afi-safi-list; } } @@ -212,24 +190,21 @@ submodule openconfig-bgp-peer-group { grouping bgp-peer-group-list { description "The list of BGP peer groups"; - list peer-group { key "peer-group-name"; description "List of BGP peer-groups configured on the local system - - uniquely identified by peer-group name"; - - leaf peer-group-name { - type leafref { - path "../config/peer-group-name"; - } - description - "Reference to the name of the BGP peer-group used as a - key in the peer-group list"; + uniquely identified by peer-group name"; + leaf peer-group-name { + type leafref { + path "../config/peer-group-name"; + } + description + "Reference to the name of the BGP peer-group used as a + key in the peer-group list"; } - uses bgp-peer-group-base; } } - + oc-ext:openconfig-version "2.1.1"; } diff --git a/yang/modules/cisco-ios-xr/631/openconfig-bgp-policy.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-policy.yang old mode 100755 new mode 100644 similarity index 77% rename from yang/modules/cisco-ios-xr/631/openconfig-bgp-policy.yang rename to yang/modules/cisco-ios-xr/632/openconfig-bgp-policy.yang index d4f6bdb..24785cb --- a/yang/modules/cisco-ios-xr/631/openconfig-bgp-policy.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-policy.yang @@ -1,76 +1,73 @@ module openconfig-bgp-policy { - - yang-version "1"; - - // namespace + yang-version 1; namespace "http://openconfig.net/yang/bgp-policy"; + prefix oc-bgp-pol; - prefix "oc-bgp-pol"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-routing-policy {prefix oc-rpol; } - import openconfig-policy-types { prefix oc-pol-types; } - import openconfig-bgp-types { prefix oc-bgp-types; } - import openconfig-extensions { prefix oc-ext; } - + import ietf-inet-types { + prefix inet; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import openconfig-policy-types { + prefix oc-pol-types; + } + import openconfig-bgp-types { + prefix oc-bgp-types; + } + import openconfig-extensions { + prefix oc-ext; + } - // meta organization "OpenConfig working group"; - contact "OpenConfig working group - netopenconfig@googlegroups.com"; - + netopenconfig@googlegroups.com"; description "This module contains data definitions for BGP routing policy. - It augments the base routing-policy module with BGP-specific - options for conditions and actions."; + It augments the base routing-policy module with BGP-specific + options for conditions and actions."; - oc-ext:openconfig-version "2.1.1"; - - revision "2016-06-21" { + revision 2016-06-21 { description "OpenConfig BGP refactor"; reference "2.1.1"; } - - // typedef statements - typedef bgp-set-community-option-type { type enumeration { - enum ADD { + enum "ADD" { description "add the specified communities to the existing - community attribute"; + community attribute"; } - enum REMOVE { + enum "REMOVE" { description "remove the specified communities from the - existing community attribute"; + existing community attribute"; } - enum REPLACE { + enum "REPLACE" { description "replace the existing community attribute with - the specified communities. If an empty set is - specified, this removes the community attribute - from the route."; + the specified communities. If an empty set is + specified, this removes the community attribute + from the route."; } } description "Type definition for options when setting the community - attribute in a policy action"; + attribute in a policy action"; } typedef bgp-next-hop-type { type union { type inet:ip-address-no-zone; type enumeration { - enum SELF { - description "special designation for local router's own - address, i.e., next-hop-self"; + enum "SELF" { + description + "special designation for local router's own + address, i.e., next-hop-self"; } } } @@ -85,35 +82,30 @@ module openconfig-bgp-policy { pattern "^[+-][0-9]+"; } type enumeration { - enum IGP { - description "set the MED value to the IGP cost toward the - next hop for the route"; + enum "IGP" { + description + "set the MED value to the IGP cost toward the + next hop for the route"; } } } description "Type definition for specifying how the BGP MED can - be set in BGP policy actions. The three choices are to set - the MED directly, increment/decrement using +/- notation, - and setting it to the IGP cost (predefined value)."; + be set in BGP policy actions. The three choices are to set + the MED directly, increment/decrement using +/- notation, + and setting it to the IGP cost (predefined value)."; } - // grouping statements - grouping match-community-config { description "Configuration data for match conditions on communities"; - leaf community-set { type leafref { - path "/oc-rpol:routing-policy/oc-rpol:defined-sets/" + - "oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:community-sets/" + - "oc-bgp-pol:community-set/oc-bgp-pol:community-set-name"; + path "/oc-rpol:routing-policy/oc-rpol:defined-sets/oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:community-sets/oc-bgp-pol:community-set/oc-bgp-pol:community-set-name"; } description "References a defined community set"; } - uses oc-rpol:match-set-options-group; } @@ -125,27 +117,20 @@ module openconfig-bgp-policy { grouping match-community-top { description "Top-level grouping for match conditions on communities"; - container match-community-set { description "Top-level container for match conditions on communities. - Match a referenced community-set according to the logic - defined in the match-set-options leaf"; - + Match a referenced community-set according to the logic + defined in the match-set-options leaf"; container config { description "Configuration data for match conditions on communities"; - uses match-community-config; } - container state { - config false; - description "Operational state data "; - uses match-community-config; uses match-community-state; } @@ -155,53 +140,42 @@ module openconfig-bgp-policy { grouping match-ext-community-config { description "Configuration data for match conditions on extended - communities"; - - leaf ext-community-set { - type leafref { - path "/oc-rpol:routing-policy/oc-rpol:defined-sets/" + - "oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:ext-community-sets/" + - "oc-bgp-pol:ext-community-set/" + - "oc-bgp-pol:ext-community-set-name"; - } - description "References a defined extended community set"; + communities"; + leaf ext-community-set { + type leafref { + path "/oc-rpol:routing-policy/oc-rpol:defined-sets/oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:ext-community-sets/oc-bgp-pol:ext-community-set/oc-bgp-pol:ext-community-set-name"; } - - uses oc-rpol:match-set-options-group; + description + "References a defined extended community set"; + } + uses oc-rpol:match-set-options-group; } grouping match-ext-community-state { description "Operational state data for match conditions on extended - communities"; + communities"; } grouping match-ext-community-top { description "Top-level grouping for match conditions on extended - communities"; - + communities"; container match-ext-community-set { description "Match a referenced extended community-set according to the - logic defined in the match-set-options leaf"; - + logic defined in the match-set-options leaf"; container config { description "Configuration data for match conditions on extended - communities"; - + communities"; uses match-ext-community-config; } - container state { - config false; - description "Operational state data for match conditions on extended - communities"; - + communities"; uses match-ext-community-config; uses match-ext-community-state; } @@ -211,14 +185,12 @@ module openconfig-bgp-policy { grouping match-as-path-config { description "Configuration data for match conditions on AS path set"; - leaf as-path-set { type leafref { - path "/oc-rpol:routing-policy/oc-rpol:defined-sets/" + - "oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:as-path-sets/" + - "oc-bgp-pol:as-path-set/oc-bgp-pol:as-path-set-name"; + path "/oc-rpol:routing-policy/oc-rpol:defined-sets/oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:as-path-sets/oc-bgp-pol:as-path-set/oc-bgp-pol:as-path-set-name"; } - description "References a defined AS path set"; + description + "References a defined AS path set"; } uses oc-rpol:match-set-options-group; } @@ -231,27 +203,20 @@ module openconfig-bgp-policy { grouping match-as-path-top { description "Top-level grouping for match conditions on AS path set"; - container match-as-path-set { description "Match a referenced as-path set according to the logic - defined in the match-set-options leaf"; - + defined in the match-set-options leaf"; container config { description "Configuration data for match conditions on AS path set"; - uses match-as-path-config; } - container state { - config false; - description "Operational state data for match conditions on AS - path set"; - + path set"; uses match-as-path-config; uses match-as-path-state; } @@ -261,8 +226,7 @@ module openconfig-bgp-policy { grouping bgp-match-set-conditions { description "Condition statement definitions for checking membership in a - defined set"; - + defined set"; uses match-community-top; uses match-ext-community-top; uses match-as-path-top; @@ -271,7 +235,6 @@ module openconfig-bgp-policy { grouping community-count-config { description "Configuration data for community count condition"; - uses oc-pol-types:attribute-compare-operators; } @@ -283,26 +246,19 @@ module openconfig-bgp-policy { grouping community-count-top { description "Top-level grouping for community count condition"; - container community-count { description "Value and comparison operations for conditions based on the - number of communities in the route update"; - + number of communities in the route update"; container config { description "Configuration data for community count condition"; - uses community-count-config; } - container state { - config false; - description "Operational state data for community count condition"; - uses community-count-config; uses community-count-state; } @@ -312,7 +268,6 @@ module openconfig-bgp-policy { grouping as-path-length-config { description "Configuration data for AS path length condition"; - uses oc-pol-types:attribute-compare-operators; } @@ -324,26 +279,19 @@ module openconfig-bgp-policy { grouping as-path-length-top { description "Top-level grouping for AS path length condition"; - container as-path-length { description "Value and comparison operations for conditions based on the - length of the AS path in the route update"; - + length of the AS path in the route update"; container config { description "Configuration data for AS path length condition"; - uses as-path-length-config; } - container state { - config false; - description "Operational state data for AS path length condition"; - uses as-path-length-config; uses as-path-length-state; } @@ -353,53 +301,47 @@ module openconfig-bgp-policy { grouping bgp-conditions-config { description "Configuration data for BGP-specific policy conditions"; - leaf med-eq { type uint32; description "Condition to check if the received MED value is equal to - the specified value"; + the specified value"; } - leaf origin-eq { type oc-bgp-types:bgp-origin-attr-type; description "Condition to check if the route origin is equal to the - specified value"; + specified value"; } - leaf-list next-hop-in { type inet:ip-address-no-zone; description "List of next hop addresses to check for in the route - update"; + update"; } - leaf-list afi-safi-in { type identityref { base oc-bgp-types:AFI_SAFI_TYPE; } description "List of address families which the NLRI may be - within"; + within"; } - leaf local-pref-eq { type uint32; - // TODO: add support for other comparisons if needed description "Condition to check if the local pref attribute is equal to - the specified value"; + the specified value"; } - leaf route-type { - // TODO: verify extent of vendor support for this comparison type enumeration { - enum INTERNAL { - description "route type is internal"; + enum "INTERNAL" { + description + "route type is internal"; } - enum EXTERNAL { - description "route type is external"; + enum "EXTERNAL" { + description + "route type is external"; } } description @@ -415,30 +357,22 @@ module openconfig-bgp-policy { grouping bgp-conditions-top { description "Top-level grouping for BGP-specific policy conditions"; - container bgp-conditions { description "Top-level container "; - container config { description "Configuration data for BGP-specific policy conditions"; - uses bgp-conditions-config; } - container state { - config false; - description "Operational state data for BGP-specific policy - conditions"; - + conditions"; uses bgp-conditions-config; uses bgp-conditions-state; } - uses community-count-top; uses as-path-length-top; uses bgp-match-set-conditions; @@ -448,15 +382,13 @@ module openconfig-bgp-policy { grouping community-set-config { description "Configuration data for BGP community sets"; - leaf community-set-name { type string; mandatory true; description "name / label of the community set -- this is used to - reference the set in match conditions"; + reference the set in match conditions"; } - leaf-list community-member { type union { type oc-bgp-types:bgp-std-community-type; @@ -476,16 +408,13 @@ module openconfig-bgp-policy { grouping community-set-top { description "Top-level grouping for BGP community sets"; - container community-sets { description "Enclosing container for list of defined BGP community sets"; - list community-set { key "community-set-name"; description "List of defined BGP community sets"; - leaf community-set-name { type leafref { path "../config/community-set-name"; @@ -493,21 +422,15 @@ module openconfig-bgp-policy { description "Reference to list key"; } - container config { description "Configuration data for BGP community sets"; - uses community-set-config; } - container state { - config false; - description "Operational state data for BGP community sets"; - uses community-set-config; uses community-set-state; } @@ -518,21 +441,19 @@ module openconfig-bgp-policy { grouping ext-community-set-config { description "Configuration data for extended BGP community sets"; - leaf ext-community-set-name { type string; description "name / label of the extended community set -- this is - used to reference the set in match conditions"; + used to reference the set in match conditions"; } - leaf-list ext-community-member { type union { type oc-bgp-types:bgp-ext-community-type; type oc-bgp-types:bgp-community-regexp-type; } description - "members of the extended community set"; + "members of the extended community set"; } } @@ -544,17 +465,14 @@ module openconfig-bgp-policy { grouping ext-community-set-top { description "Top-level grouping for extended BGP community sets"; - container ext-community-sets { description "Enclosing container for list of extended BGP community - sets"; - + sets"; list ext-community-set { key "ext-community-set-name"; description "List of defined extended BGP community sets"; - leaf ext-community-set-name { type leafref { path "../config/ext-community-set-name"; @@ -562,21 +480,15 @@ module openconfig-bgp-policy { description "Reference to list key"; } - container config { description "Configuration data for extended BGP community sets"; - uses ext-community-set-config; } - container state { - config false; - description "Operational state data for extended BGP community sets"; - uses ext-community-set-config; uses ext-community-set-state; } @@ -587,19 +499,16 @@ module openconfig-bgp-policy { grouping as-path-set-config { description "Configuration data for AS path sets"; - leaf as-path-set-name { type string; description "name of the AS path set -- this is used to reference - the set in match conditions"; + the set in match conditions"; } - leaf-list as-path-set-member { - // TODO: need to refine typedef for AS path expressions type string; description - "AS path expression -- list of ASes in the set"; + "AS path expression -- list of ASes in the set"; } } @@ -611,16 +520,13 @@ module openconfig-bgp-policy { grouping as-path-set-top { description "Top-level grouping for AS path sets"; - container as-path-sets { description "Enclosing container for list of define AS path sets"; - list as-path-set { key "as-path-set-name"; description "List of defined AS path sets"; - leaf as-path-set-name { type leafref { path "../config/as-path-set-name"; @@ -628,21 +534,15 @@ module openconfig-bgp-policy { description "Reference to list key"; } - container config { description "Configuration data for AS path sets"; - uses as-path-set-config; } - container state { - config false; - description "Operational state data for AS path sets"; - uses as-path-set-config; uses as-path-set-state; } @@ -650,34 +550,17 @@ module openconfig-bgp-policy { } } - // augment statements - - augment "/oc-rpol:routing-policy/oc-rpol:defined-sets" { - description "adds BGP defined sets container to routing policy - model"; - - container bgp-defined-sets { - description - "BGP-related set definitions for policy match conditions"; - - uses community-set-top; - uses ext-community-set-top; - uses as-path-set-top; - } - } - grouping as-path-prepend-config { description "Configuration data for the AS path prepend action"; - leaf repeat-n { type uint8 { - range 1..max; + range "1..max"; } description "Number of times to prepend the local AS number to the AS - path. The value should be between 1 and the maximum - supported by the implementation."; + path. The value should be between 1 and the maximum + supported by the implementation."; } } @@ -689,27 +572,19 @@ module openconfig-bgp-policy { grouping as-path-prepend-top { description "Top-level grouping for the AS path prepend action"; - container set-as-path-prepend { description "action to prepend local AS number to the AS-path a - specified number of times"; - + specified number of times"; container config { description "Configuration data for the AS path prepend action"; - - uses as-path-prepend-config; } - container state { - config false; - description "Operational state data for the AS path prepend action"; - uses as-path-prepend-config; uses as-path-prepend-state; } @@ -719,40 +594,37 @@ module openconfig-bgp-policy { grouping set-community-action-common { description "Common leaves for set-community and set-ext-community - actions"; - + actions"; leaf method { type enumeration { - enum INLINE { + enum "INLINE" { description "The extended communities are specified inline as a - list"; + list"; } - enum REFERENCE { + enum "REFERENCE" { description "The extended communities are specified by referencing a - defined ext-community set"; + defined ext-community set"; } } description "Indicates the method used to specify the extended - communities for the set-ext-community action"; + communities for the set-ext-community action"; } - leaf options { type bgp-set-community-option-type; description "Options for modifying the community attribute with - the specified values. These options apply to both - methods of setting the community attribute."; + the specified values. These options apply to both + methods of setting the community attribute."; } } grouping set-community-inline-config { description "Configuration data for inline specification of set-community - action"; - + action"; leaf-list communities { type union { type oc-bgp-types:bgp-std-community-type; @@ -760,21 +632,20 @@ module openconfig-bgp-policy { } description "Set the community values for the update inline with - a list."; + a list."; } } grouping set-community-inline-state { description "Operational state data or inline specification of - set-community action"; + set-community action"; } grouping set-community-inline-top { description "Top-level grouping or inline specification of set-community - action"; - + action"; container inline { when "../config/method=INLINE" { description @@ -782,24 +653,18 @@ module openconfig-bgp-policy { } description "Set the community values for the action inline with - a list."; - + a list."; container config { description "Configuration data or inline specification of set-community - action"; - + action"; uses set-community-inline-config; } - container state { - config false; - description "Operational state data or inline specification of - set-community action"; - + set-community action"; uses set-community-inline-config; uses set-community-inline-state; } @@ -809,14 +674,10 @@ module openconfig-bgp-policy { grouping set-community-reference-config { description "Configuration data for referening a community-set in the - set-community action"; - + set-community action"; leaf community-set-ref { type leafref { - path "/oc-rpol:routing-policy/oc-rpol:defined-sets/" + - "oc-bgp-pol:bgp-defined-sets/" + - "oc-bgp-pol:community-sets/oc-bgp-pol:community-set/" + - "oc-bgp-pol:community-set-name"; + path "/oc-rpol:routing-policy/oc-rpol:defined-sets/oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:community-sets/oc-bgp-pol:community-set/oc-bgp-pol:community-set-name"; } description "References a defined community set by name"; @@ -826,14 +687,13 @@ module openconfig-bgp-policy { grouping set-community-reference-state { description "Operational state data for referening a community-set in the - set-community action"; + set-community action"; } grouping set-community-reference-top { description "Top-level grouping for referening a community-set in the - set-community action"; - + set-community action"; container reference { when "../config/method=REFERENCE" { description @@ -841,24 +701,18 @@ module openconfig-bgp-policy { } description "Provide a reference to a defined community set for the - set-community action"; - + set-community action"; container config { description "Configuration data for referening a community-set in the - set-community action"; - + set-community action"; uses set-community-reference-config; } - container state { - config false; - description "Operational state data for referening a community-set - in the set-community action"; - + in the set-community action"; uses set-community-reference-config; uses set-community-reference-state; } @@ -868,7 +722,6 @@ module openconfig-bgp-policy { grouping set-community-action-config { description "Configuration data for the set-community action"; - uses set-community-action-common; } @@ -880,32 +733,24 @@ module openconfig-bgp-policy { grouping set-community-action-top { description "Top-level grouping for the set-community action"; - container set-community { description "Action to set the community attributes of the route, along - with options to modify how the community is modified. - Communities may be set using an inline list OR - reference to an existing defined set (not both)."; - + with options to modify how the community is modified. + Communities may be set using an inline list OR + reference to an existing defined set (not both)."; container config { description "Configuration data for the set-community action"; - uses set-community-action-config; } - container state { - config false; - description "Operational state data for the set-community action"; - uses set-community-action-config; uses set-community-action-state; } - uses set-community-inline-top; uses set-community-reference-top; } @@ -914,8 +759,7 @@ module openconfig-bgp-policy { grouping set-ext-community-inline-config { description "Configuration data for inline specification of - set-ext-community action"; - + set-ext-community action"; leaf-list communities { type union { type oc-bgp-types:bgp-ext-community-type; @@ -923,21 +767,20 @@ module openconfig-bgp-policy { } description "Set the extended community values for the update inline - with a list."; + with a list."; } } grouping set-ext-community-inline-state { description "Operational state data or inline specification of - set-ext-community action"; + set-ext-community action"; } grouping set-ext-community-inline-top { description "Top-level grouping or inline specification of set-ext-community - action"; - + action"; container inline { when "../config/method=INLINE" { description @@ -945,24 +788,18 @@ module openconfig-bgp-policy { } description "Set the extended community values for the action inline with - a list."; - + a list."; container config { description "Configuration data or inline specification of - set-ext-community action"; - + set-ext-community action"; uses set-ext-community-inline-config; } - container state { - config false; - description "Operational state data or inline specification of - set-ext-community action"; - + set-ext-community action"; uses set-ext-community-inline-config; uses set-ext-community-inline-state; } @@ -972,33 +809,27 @@ module openconfig-bgp-policy { grouping set-ext-community-reference-config { description "Configuration data for referening a extended community-set - in the set-ext-community action"; - + in the set-ext-community action"; leaf ext-community-set-ref { type leafref { - path "/oc-rpol:routing-policy/oc-rpol:defined-sets/" + - "oc-bgp-pol:bgp-defined-sets/" + - "oc-bgp-pol:ext-community-sets/" + - "oc-bgp-pol:ext-community-set/" + - "oc-bgp-pol:ext-community-set-name"; + path "/oc-rpol:routing-policy/oc-rpol:defined-sets/oc-bgp-pol:bgp-defined-sets/oc-bgp-pol:ext-community-sets/oc-bgp-pol:ext-community-set/oc-bgp-pol:ext-community-set-name"; } description "References a defined extended community set by - name"; + name"; } } grouping set-ext-community-reference-state { description "Operational state data for referening an extended - community-set in the set-ext-community action"; + community-set in the set-ext-community action"; } grouping set-ext-community-reference-top { description "Top-level grouping for referening an extended community-set - in the set-community action"; - + in the set-community action"; container reference { when "../config/method=REFERENCE" { description @@ -1006,24 +837,18 @@ module openconfig-bgp-policy { } description "Provide a reference to an extended community set for the - set-ext-community action"; - + set-ext-community action"; container config { description "Configuration data for referening an extended - community-set in the set-ext-community action"; - + community-set in the set-ext-community action"; uses set-ext-community-reference-config; } - container state { - config false; - description "Operational state data for referening an extended - community-set in the set-ext-community action"; - + community-set in the set-ext-community action"; uses set-ext-community-reference-config; uses set-ext-community-reference-state; } @@ -1033,7 +858,6 @@ module openconfig-bgp-policy { grouping set-ext-community-action-config { description "Configuration data for the set-ext-community action"; - uses set-community-action-common; } @@ -1045,29 +869,22 @@ module openconfig-bgp-policy { grouping set-ext-community-action-top { description "Top-level grouping for the set-ext-community action"; - container set-ext-community { description "Action to set the extended community attributes of the - route, along with options to modify how the community is - modified. Extended communities may be set using an inline - list OR a reference to an existing defined set (but not - both)."; - + route, along with options to modify how the community is + modified. Extended communities may be set using an inline + list OR a reference to an existing defined set (but not + both)."; container config { description "Configuration data for the set-ext-community action"; - uses set-ext-community-action-config; } - container state { - config false; - description "Operational state data for the set-ext-community action"; - uses set-ext-community-action-config; uses set-ext-community-action-state; } @@ -1079,28 +896,28 @@ module openconfig-bgp-policy { grouping bgp-actions-config { description "Configuration data for BGP-specific actions"; - leaf set-route-origin { type oc-bgp-types:bgp-origin-attr-type; - description "set the origin attribute to the specified - value"; + description + "set the origin attribute to the specified + value"; } - leaf set-local-pref { type uint32; - description "set the local pref attribute on the route - update"; + description + "set the local pref attribute on the route + update"; } - leaf set-next-hop { type bgp-next-hop-type; - description "set the next-hop attribute in the route update"; + description + "set the next-hop attribute in the route update"; } - leaf set-med { type bgp-set-med-type; - description "set the med metric attribute in the route - update"; + description + "set the med metric attribute in the route + update"; } } @@ -1112,25 +929,18 @@ module openconfig-bgp-policy { grouping bgp-actions-top { description "Top-level grouping for BGP-specific actions"; - container bgp-actions { description "Top-level container for BGP-specific actions"; - container config { description "Configuration data for BGP-specific actions"; - uses bgp-actions-config; } - container state { - config false; - description "Operational state data for BGP-specific actions"; - uses bgp-actions-config; uses bgp-actions-state; } @@ -1140,25 +950,28 @@ module openconfig-bgp-policy { } } - augment "/oc-rpol:routing-policy/oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:statements/oc-rpol:statement/" + - "oc-rpol:conditions" { + augment "/oc-rpol:routing-policy/oc-rpol:defined-sets" { + description + "adds BGP defined sets container to routing policy + model"; + container bgp-defined-sets { + description + "BGP-related set definitions for policy match conditions"; + uses community-set-top; + uses ext-community-set-top; + uses as-path-set-top; + } + } + augment "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:statements/oc-rpol:statement/oc-rpol:conditions" { description "BGP policy conditions added to routing policy module"; - uses bgp-conditions-top; } - - augment "/oc-rpol:routing-policy/oc-rpol:policy-definitions/" + - "oc-rpol:policy-definition/oc-rpol:statements/oc-rpol:statement/" + - "oc-rpol:actions" { - description "BGP policy actions added to routing policy - module"; - + augment "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:statements/oc-rpol:statement/oc-rpol:actions" { + description + "BGP policy actions added to routing policy + module"; uses bgp-actions-top; } - - // rpc statements - - // notification statements + oc-ext:openconfig-version "2.1.1"; } diff --git a/yang/modules/cisco-ios-xr/632/openconfig-bgp-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp-types.yang new file mode 100644 index 0000000..3420cf1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp-types.yang @@ -0,0 +1,383 @@ +module openconfig-bgp-types { + yang-version 1; + namespace "http://openconfig.net/yang/bgp-types"; + prefix oc-bgp-types; + + import ietf-inet-types { + prefix inet; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module contains general data definitions for use in BGP + policy. It can be imported by modules that make use of BGP + attributes"; + + revision 2016-06-21 { + description + "OpenConfig BGP refactor"; + reference "2.1.1"; + } + + identity BGP_CAPABILITY { + description + "Base identity for a BGP capability"; + } + + identity MPBGP { + base BGP_CAPABILITY; + description + "Multi-protocol extensions to BGP"; + reference "RFC2858"; + } + + identity ROUTE_REFRESH { + base BGP_CAPABILITY; + description + "The BGP route-refresh functionality"; + reference "RFC2918"; + } + + identity ASN32 { + base BGP_CAPABILITY; + description + "4-byte (32-bit) AS number functionality"; + reference "RFC6793"; + } + + identity GRACEFUL_RESTART { + base BGP_CAPABILITY; + description + "Graceful restart functionality"; + reference "RFC4724"; + } + + identity ADD_PATHS { + base BGP_CAPABILITY; + description + "BGP add-paths"; + reference "draft-ietf-idr-add-paths"; + } + + identity AFI_SAFI_TYPE { + description + "Base identity type for AFI,SAFI tuples for BGP-4"; + reference "RFC4760 - multiprotocol extensions for BGP-4"; + } + + identity IPV4_UNICAST { + base AFI_SAFI_TYPE; + description + "IPv4 unicast (AFI,SAFI = 1,1)"; + reference "RFC4760"; + } + + identity IPV6_UNICAST { + base AFI_SAFI_TYPE; + description + "IPv6 unicast (AFI,SAFI = 2,1)"; + reference "RFC4760"; + } + + identity IPV4_LABELED_UNICAST { + base AFI_SAFI_TYPE; + description + "Labeled IPv4 unicast (AFI,SAFI = 1,4)"; + reference "RFC3107"; + } + + identity IPV6_LABELED_UNICAST { + base AFI_SAFI_TYPE; + description + "Labeled IPv6 unicast (AFI,SAFI = 2,4)"; + reference "RFC3107"; + } + + identity L3VPN_IPV4_UNICAST { + base AFI_SAFI_TYPE; + description + "Unicast IPv4 MPLS L3VPN (AFI,SAFI = 1,128)"; + reference "RFC4364"; + } + + identity L3VPN_IPV6_UNICAST { + base AFI_SAFI_TYPE; + description + "Unicast IPv6 MPLS L3VPN (AFI,SAFI = 2,128)"; + reference "RFC4659"; + } + + identity L3VPN_IPV4_MULTICAST { + base AFI_SAFI_TYPE; + description + "Multicast IPv4 MPLS L3VPN (AFI,SAFI = 1,129)"; + reference "RFC6514"; + } + + identity L3VPN_IPV6_MULTICAST { + base AFI_SAFI_TYPE; + description + "Multicast IPv6 MPLS L3VPN (AFI,SAFI = 2,129)"; + reference "RFC6514"; + } + + identity L2VPN_VPLS { + base AFI_SAFI_TYPE; + description + "BGP-signalled VPLS (AFI,SAFI = 25,65)"; + reference "RFC4761"; + } + + identity L2VPN_EVPN { + base AFI_SAFI_TYPE; + description + "BGP MPLS Based Ethernet VPN (AFI,SAFI = 25,70)"; + } + + identity BGP_WELL_KNOWN_STD_COMMUNITY { + description + "Reserved communities within the standard community space + defined by RFC1997. These communities must fall within the + range 0x00000000 to 0xFFFFFFFF"; + reference "RFC1997"; + } + + identity NO_EXPORT { + base BGP_WELL_KNOWN_STD_COMMUNITY; + description + "Do not export NLRI received carrying this community outside + the bounds of this autonomous system, or this confederation if + the local autonomous system is a confederation member AS. This + community has a value of 0xFFFFFF01."; + reference "RFC1997"; + } + + identity NO_ADVERTISE { + base BGP_WELL_KNOWN_STD_COMMUNITY; + description + "All NLRI received carrying this community must not be + advertised to other BGP peers. This community has a value of + 0xFFFFFF02."; + reference "RFC1997"; + } + + identity NO_EXPORT_SUBCONFED { + base BGP_WELL_KNOWN_STD_COMMUNITY; + description + "All NLRI received carrying this community must not be + advertised to external BGP peers - including over confederation + sub-AS boundaries. This community has a value of 0xFFFFFF03."; + reference "RFC1997"; + } + + identity NOPEER { + base BGP_WELL_KNOWN_STD_COMMUNITY; + description + "An autonomous system receiving NLRI tagged with this community + is advised not to readvertise the NLRI to external bi-lateral + peer autonomous systems. An AS may also filter received NLRI + from bilateral peer sessions when they are tagged with this + community value"; + reference "RFC3765"; + } + + identity REMOVE_PRIVATE_AS_OPTION { + description + "Base identity for options for removing private autonomous + system numbers from the AS_PATH attribute"; + } + + identity PRIVATE_AS_REMOVE_ALL { + base REMOVE_PRIVATE_AS_OPTION; + description + "Strip all private autonmous system numbers from the AS_PATH. + This action is performed regardless of the other content of the + AS_PATH attribute, and for all instances of private AS numbers + within that attribute."; + } + + identity PRIVATE_AS_REPLACE_ALL { + base REMOVE_PRIVATE_AS_OPTION; + description + "Replace all instances of private autonomous system numbers in + the AS_PATH with the local BGP speaker's autonomous system + number. This action is performed regardless of the other + content of the AS_PATH attribute, and for all instances of + private AS number within that attribute."; + } + + typedef bgp-session-direction { + type enumeration { + enum "INBOUND" { + description + "Refers to all NLRI received from the BGP peer"; + } + enum "OUTBOUND" { + description + "Refers to all NLRI advertised to the BGP peer"; + } + } + description + "Type to describe the direction of NLRI transmission"; + } + + typedef bgp-well-known-community-type { + type identityref { + base BGP_WELL_KNOWN_STD_COMMUNITY; + } + description + "Type definition for well-known IETF community attribute + values"; + reference "IANA Border Gateway Protocol (BGP) Well Known Communities"; + } + + typedef bgp-std-community-type { + type union { + type uint32 { + range "65536..4294901759"; + } + type string { + pattern "([0-9]+:[0-9]+)"; + } + } + description + "Type definition for standard commmunity attributes"; + reference "RFC 1997 - BGP Communities Attribute"; + } + + typedef bgp-ext-community-type { + type union { + type string { + pattern "(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9]):(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])"; + } + type string { + pattern "(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9])"; + } + type string { + pattern "route\\-target:(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9]):(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])"; + } + type string { + pattern "route\\-target:(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9])"; + } + type string { + pattern "route\\-origin:(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9]):(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-6]|[1-3][0-9]{9}|[1-9]([0-9]{1,7})?[0-9]|[1-9])"; + } + type string { + pattern "route\\-origin:(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6[0-5][0-5][0-3][0-5]|[1-5][0-9]{4}|[1-9][0-9]{1,4}|[0-9])"; + } + } + description + "Type definition for extended community attributes"; + reference "RFC 4360 - BGP Extended Communities Attribute"; + } + + typedef bgp-community-regexp-type { + type oc-types:std-regexp; + description + "Type definition for communities specified as regular + expression patterns"; + } + + typedef bgp-origin-attr-type { + type enumeration { + enum "IGP" { + description + "Origin of the NLRI is internal"; + } + enum "EGP" { + description + "Origin of the NLRI is EGP"; + } + enum "INCOMPLETE" { + description + "Origin of the NLRI is neither IGP or EGP"; + } + } + description + "Type definition for standard BGP origin attribute"; + reference + "RFC 4271 - A Border Gateway Protocol 4 (BGP-4), + Sec 4.3"; + } + + typedef peer-type { + type enumeration { + enum "INTERNAL" { + description + "internal (iBGP) peer"; + } + enum "EXTERNAL" { + description + "external (eBGP) peer"; + } + } + description + "labels a peer or peer group as explicitly internal or + external"; + } + + typedef remove-private-as-option { + type identityref { + base REMOVE_PRIVATE_AS_OPTION; + } + description + "set of options for configuring how private AS path numbers + are removed from advertisements"; + } + + typedef percentage { + type uint8 { + range "0..100"; + } + description + "Integer indicating a percentage value"; + } + + typedef rr-cluster-id-type { + type union { + type uint32; + type inet:ipv4-address; + } + description + "union type for route reflector cluster ids: + option 1: 4-byte number + option 2: IP address"; + } + + typedef community-type { + type enumeration { + enum "STANDARD" { + description + "send only standard communities"; + } + enum "EXTENDED" { + description + "send only extended communities"; + } + enum "BOTH" { + description + "send both standard and extended communities"; + } + enum "NONE" { + description + "do not send any community attribute"; + } + } + description + "type describing variations of community attributes: + STANDARD: standard BGP community [rfc1997] + EXTENDED: extended BGP community [rfc4360] + BOTH: both standard and extended community"; + } + oc-ext:openconfig-version "2.1.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-bgp.yang b/yang/modules/cisco-ios-xr/632/openconfig-bgp.yang new file mode 100644 index 0000000..973f4fb --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-bgp.yang @@ -0,0 +1,90 @@ +module openconfig-bgp { + yang-version 1; + namespace "http://openconfig.net/yang/bgp"; + prefix oc-bgp; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + include openconfig-bgp-common; + include openconfig-bgp-common-multiprotocol; + include openconfig-bgp-common-structure; + include openconfig-bgp-peer-group; + include openconfig-bgp-neighbor; + include openconfig-bgp-global; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module describes a YANG model for BGP protocol + configuration.It is a limited subset of all of the configuration + parameters available in the variety of vendor implementations, + hence it is expected that it would be augmented with vendor- + specific configuration data as needed. Additional modules or + submodules to handle other aspects of BGP configuration, + including policy, VRFs, VPNs, and additional address families + are also expected. + This model supports the following BGP configuration level + hierarchy: + BGP + | + +-> [ global BGP configuration ] + +-> AFI / SAFI global + +-> peer group + +-> [ peer group config ] + +-> AFI / SAFI [ per-AFI overrides ] + +-> neighbor + +-> [ neighbor config ] + +-> [ optional pointer to peer-group ] + +-> AFI / SAFI [ per-AFI overrides ]"; + + revision 2016-06-21 { + description + "OpenConfig BGP refactor"; + reference "2.1.1"; + } + revision 2016-06-06 { + description + "OpenConfig public release"; + reference "2.1.0"; + } + revision 2016-03-31 { + description + "OpenConfig public release"; + reference "2.0.1"; + } + + grouping bgp-top { + description + "Top-level grouping for the BGP model data"; + container bgp { + description + "Top-level configuration and state for the BGP router"; + container global { + description + "Global configuration for the BGP router"; + uses bgp-global-base; + uses oc-rpol:apply-policy-group; + } + container neighbors { + description + "Configuration for BGP neighbors"; + uses bgp-neighbor-list; + } + container peer-groups { + description + "Configuration for BGP peer-groups"; + uses bgp-peer-group-list; + } + } + } + oc-ext:openconfig-version "2.1.1"; + + uses bgp-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-channel-monitor.yang b/yang/modules/cisco-ios-xr/632/openconfig-channel-monitor.yang new file mode 100644 index 0000000..71d2787 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-channel-monitor.yang @@ -0,0 +1,263 @@ +module openconfig-channel-monitor { + yang-version 1; + namespace "http://openconfig.net/yang/channel-monitor"; + prefix oc-chan-monitor; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-platform { + prefix oc-platform; + } + import openconfig-transport-types { + prefix oc-opt-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This model describes operational state data for an optical + channel monitor (OCM) for optical transport line system + elements such as wavelength routers (ROADMs) and amplifiers."; + + revision 2017-07-08 { + description + "Support multiple OCMs, add refs to hw ports, "; + reference "0.3.0"; + } + revision 2017-03-28 { + description + "Added min/max/avg stats, status for media channels, OCM, APS"; + reference "0.2.0"; + } + revision 2016-09-14 { + description + "Initial revision"; + reference "0.1.0"; + } + + grouping media-channel-port-config { + description + "Configuration data for a media channel source/dest port"; + leaf port-name { + type oc-if:base-interface-ref; + description + "Reference to the corresponding node interface"; + } + } + + grouping media-channel-port-state { + description + "Operational state data for a media channel source/dest port"; + } + + grouping media-channel-source-port-top { + description + "Top-level grouping for source of the media channel"; + container source { + description + "Top-level container for media channel source"; + container config { + description + "Configuration data for the media channel source"; + uses media-channel-port-config; + } + container state { + config false; + description + "Operational state data for the media channel source"; + uses media-channel-port-config; + uses media-channel-port-state; + } + } + } + + grouping media-channel-dest-port-top { + description + "Top-level grouping for destination of the media channel"; + container dest { + description + "Top-level container for media channel destination"; + container config { + description + "Configuration data for the media channel destination"; + uses media-channel-port-config; + } + container state { + config false; + description + "Operational state data for the media channel destination"; + uses media-channel-port-config; + uses media-channel-port-state; + } + } + } + + grouping media-channel-psd-state { + description + "Operational state data for the media channel PSD"; + leaf lower-frequency { + type oc-opt-types:frequency-type; + description + "Lower frequency of the specified PSD"; + } + leaf upper-frequency { + type oc-opt-types:frequency-type; + description + "Upper frequency of the specified PSD"; + } + leaf psd { + type oc-types:ieeefloat32; + units "nW/MHz"; + description + "Power spectral density expressed in nanowatts per + megahertz, nW/MHz. These units allow the value to often + be greater than 1.0. It also avoids dealing with zero values + for 0dBm. For example, a 40GHz wide channel + with 0dBm power would be: + 0dBm = 1mW = 10^6nW + 40GHz = 40,000MHz + 0dBm/40GHz = 10^6nW/40,000MHz = 1000/40 = 25"; + } + } + + grouping media-channel-psd-top { + description + "Top-level grouping "; + container channels { + description + "Enclosing container for the list of values describing + the power spectral density distribution"; + list channel { + key "lower-frequency upper-frequency"; + config false; + description + "List of tuples describing the PSD distribution"; + leaf lower-frequency { + type leafref { + path "../state/lower-frequency"; + } + description + "Reference to the list key"; + } + leaf upper-frequency { + type leafref { + path "../state/upper-frequency"; + } + description + "Reference to the list key"; + } + container state { + config false; + description + "Operational state data for PSD"; + uses media-channel-psd-state; + } + } + } + } + + grouping media-channel-config { + description + "Configuration data for media channel definitions"; + leaf index { + type uint32; + description + "Identifier for the defined media channel"; + } + leaf lower-frequency { + type oc-opt-types:frequency-type; + description + "The lower frequency for the spectrum defined by this media + channel"; + } + leaf upper-frequency { + type oc-opt-types:frequency-type; + description + "The upper frequency for the spectrum defined by this media + channel"; + } + } + + grouping channel-monitor-config { + description + "Configuration data for the optical channel monitor"; + leaf name { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to system-supplied name of the port on the + optical channel monitor (OCM). If this port is embedded + in another card (i.e. an amplifier card) the device + should still define a port representing the OCM even if + it is internal and not physically present on the + faceplate of the card"; + } + leaf monitor-port { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to system-supplied name of the port that the + channel monitor is physically connected to. This port + will be of type MONITOR. This port is a tap off of the + monitored-port and would be in the same card as the + monitored port. If this port is embedded in another card + (i.e. an amplifier card) the device should still define + a port representing the monitor port if it is internal + and not physically present on the faceplate of the card"; + } + } + + grouping channel-monitor-state { + description + "Operational state data "; + } + + grouping channel-monitor-top { + description + "Top-level grouping "; + container channel-monitors { + description + "Top-level container for optical channel monitors"; + list channel-monitor { + key "name"; + description + "List of channel monitors, keyed by channel monitor name."; + leaf name { + type leafref { + path "../config/name"; + } + description + "References the optical channel monitor name"; + } + container config { + description + "Configuration data "; + uses channel-monitor-config; + } + container state { + config false; + description + "Operational state data "; + uses channel-monitor-config; + uses channel-monitor-state; + } + uses media-channel-psd-top; + } + } + } + oc-ext:openconfig-version "0.3.0"; + + uses channel-monitor-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-extensions.yang b/yang/modules/cisco-ios-xr/632/openconfig-extensions.yang new file mode 100644 index 0000000..0856be2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-extensions.yang @@ -0,0 +1,61 @@ +module openconfig-extensions { + yang-version 1; + namespace "http://openconfig.net/yang/openconfig-ext"; + prefix ocext; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module provides extensions to the YANG language to allow + OpenConfig specific functionality and meta-data to be defined."; + + revision 2015-10-09 { + description + "Initial OpenConfig public release"; + } + revision 2015-10-05 { + description + "Initial revision"; + reference "TBD"; + } + + extension openconfig-version { + argument semver { + yin-element false; + } + description + "The OpenConfig version number for the module. This is + expressed as a semantic version number of the form: + x.y.z + where: + * x corresponds to the major version, + * y corresponds to a minor version, + * z corresponds to a patch version. + This version corresponds to the model file within which it is + defined, and does not cover the whole set of OpenConfig models. + Where several modules are used to build up a single block of + functionality, the same module version is specified across each + file that makes up the module. + + A major version number of 0 indicates that this model is still + in development (whether within OpenConfig or with industry + partners), and is potentially subject to change. + + Following a release of major version 1, all modules will + increment major revision number where backwards incompatible + changes to the model are made. + + The minor version is changed when features are added to the + model that do not impact current clients use of the model. + + The patch-level version is incremented when non-feature changes + (such as bugfixes or clarifications to human-readable + descriptions that do not impact model functionality) are made + that maintain backwards compatibility. + + The version number is stored in the module meta-data."; + } +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-if-aggregate.yang b/yang/modules/cisco-ios-xr/632/openconfig-if-aggregate.yang new file mode 100644 index 0000000..8dc9b08 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-if-aggregate.yang @@ -0,0 +1,158 @@ +module openconfig-if-aggregate { + yang-version 1; + namespace "http://openconfig.net/yang/interfaces/aggregate"; + prefix oc-lag; + + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-if-ethernet { + prefix oc-eth; + } + import iana-if-type { + prefix ift; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Model for managing aggregated (aka bundle, LAG) interfaces."; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + typedef aggregation-type { + type enumeration { + enum "LACP" { + description + "LAG managed by LACP"; + } + enum "STATIC" { + description + "Statically configured bundle / LAG"; + } + } + description + "Type to define the lag-type, i.e., how the LAG is + defined and managed"; + } + + grouping aggregation-logical-config { + description + "Configuration data for aggregate interfaces"; + leaf lag-type { + type aggregation-type; + description + "Sets the type of LAG, i.e., how it is + configured / maintained"; + } + leaf min-links { + type uint16; + description + "Specifies the mininum number of member + interfaces that must be active for the aggregate interface + to be available"; + } + } + + grouping aggregation-logical-state { + description + "Operational state data for aggregate interfaces"; + leaf lag-speed { + type uint32; + units "Mbps"; + description + "Reports effective speed of the aggregate interface, + based on speed of active member interfaces"; + } + leaf-list member { + when "oc-lag:lag-type = 'STATIC'" { + description + "The simple list of member interfaces is active + when the aggregate is statically configured"; + } + type oc-if:base-interface-ref; + description + "List of current member interfaces for the aggregate, + expressed as references to existing interfaces"; + } + } + + grouping aggregation-logical-top { + description + "Top-level data definitions for LAGs"; + container aggregation { + description + "Options for logical interfaces representing + aggregates"; + container config { + description + "Configuration variables for logical aggregate / + LAG interfaces"; + uses aggregation-logical-config; + } + container state { + config false; + description + "Operational state variables for logical + aggregate / LAG interfaces"; + uses aggregation-logical-config; + uses aggregation-logical-state; + } + } + } + + grouping ethernet-if-aggregation-config { + description + "Adds configuration items for Ethernet interfaces + belonging to a logical aggregate / LAG"; + leaf aggregate-id { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "Specify the logical aggregate interface to which + this interface belongs"; + } + } + + augment "/oc-if:interfaces/oc-if:interface" { + when "oc-if:type = 'ift:ieee8023adLag'" { + description + "active when the interface is set to type LAG"; + } + description + "Adds LAG configuration to the interface module"; + uses aggregation-logical-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-eth:config" { + when "oc-if:type = 'ift:ethernetCsmacd'" { + description + "active when the interface is Ethernet"; + } + description + "Adds LAG settings to individual Ethernet + interfaces"; + uses ethernet-if-aggregation-config; + } + augment "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-eth:state" { + when "oc-if:type = 'ift:ethernetCsmacd'" { + description + "active when the interface is Ethernet"; + } + description + "Adds LAG settings to individual Ethernet + interfaces"; + uses ethernet-if-aggregation-config; + } + oc-ext:openconfig-version "1.0.2"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-if-ethernet.yang b/yang/modules/cisco-ios-xr/632/openconfig-if-ethernet.yang new file mode 100644 index 0000000..d04444b --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-if-ethernet.yang @@ -0,0 +1,280 @@ +module openconfig-if-ethernet { + yang-version 1; + namespace "http://openconfig.net/yang/interfaces/ethernet"; + prefix oc-eth; + + import openconfig-interfaces { + prefix oc-if; + } + import iana-if-type { + prefix ift; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Model for managing Ethernet interfaces -- augments the IETF YANG + model for interfaces described by RFC 7223"; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + identity ETHERNET_SPEED { + description + "base type to specify available Ethernet link + speeds"; + } + + identity SPEED_10MB { + base ETHERNET_SPEED; + description + "10 Mbps Ethernet"; + } + + identity SPEED_100MB { + base ETHERNET_SPEED; + description + "100 Mbps Ethernet"; + } + + identity SPEED_1GB { + base ETHERNET_SPEED; + description + "1 GBps Ethernet"; + } + + identity SPEED_10GB { + base ETHERNET_SPEED; + description + "10 GBps Ethernet"; + } + + identity SPEED_25GB { + base ETHERNET_SPEED; + description + "25 GBps Ethernet"; + } + + identity SPEED_40GB { + base ETHERNET_SPEED; + description + "40 GBps Ethernet"; + } + + identity SPEED_50GB { + base ETHERNET_SPEED; + description + "50 GBps Ethernet"; + } + + identity SPEED_100GB { + base ETHERNET_SPEED; + description + "100 GBps Ethernet"; + } + + identity SPEED_UNKNOWN { + base ETHERNET_SPEED; + description + "Interface speed is unknown. Systems may report + speed UNKNOWN when an interface is down or unpopuplated (e.g., + pluggable not present)."; + } + + grouping ethernet-interface-config { + description + "Configuration items for Ethernet interfaces"; + leaf mac-address { + type yang:mac-address; + description + "Assigns a MAC address to the Ethernet interface. If not + specified, the corresponding operational state leaf is + expected to show the system-assigned MAC address."; + } + leaf auto-negotiate { + type boolean; + default "true"; + description + "Set to TRUE to request the interface to auto-negotiate + transmission parameters with its peer interface. When + set to FALSE, the transmission parameters are specified + manually."; + reference "IEEE 802.3-2012 auto-negotiation transmission parameters"; + } + leaf duplex-mode { + type enumeration { + enum "FULL" { + description + "Full duplex mode"; + } + enum "HALF" { + description + "Half duplex mode"; + } + } + description + "When auto-negotiate is TRUE, this optionally sets the + duplex mode that will be advertised to the peer. If + unspecified, the interface should negotiate the duplex mode + directly (typically full-duplex). When auto-negotiate is + FALSE, this sets the duplex mode on the interface directly."; + } + leaf port-speed { + type identityref { + base ETHERNET_SPEED; + } + description + "When auto-negotiate is TRUE, this optionally sets the + port-speed mode that will be advertised to the peer for + negotiation. If unspecified, it is expected that the + interface will select the highest speed available based on + negotiation. When auto-negotiate is set to FALSE, sets the + link speed to a fixed value -- supported values are defined + by ETHERNET_SPEED identities"; + } + leaf enable-flow-control { + type boolean; + default "false"; + description + "Enable or disable flow control for this interface. + Ethernet flow control is a mechanism by which a receiver + may send PAUSE frames to a sender to stop transmission for + a specified time. + + This setting should override auto-negotiated flow control + settings. If left unspecified, and auto-negotiate is TRUE, + flow control mode is negotiated with the peer interface."; + reference "IEEE 802.3x"; + } + } + + grouping ethernet-interface-state-counters { + description + "Ethernet-specific counters and statistics"; + leaf in-mac-control-frames { + type yang:counter64; + description + "MAC layer control frames received on the interface"; + } + leaf in-mac-pause-frames { + type yang:counter64; + description + "MAC layer PAUSE frames received on the interface"; + } + leaf in-oversize-frames { + type yang:counter64; + description + "Number of oversize frames received on the interface"; + } + leaf in-jabber-frames { + type yang:counter64; + description + "Number of jabber frames received on the + interface. Jabber frames are typically defined as oversize + frames which also have a bad CRC. Implementations may use + slightly different definitions of what constitutes a jabber + frame. Often indicative of a NIC hardware problem."; + } + leaf in-fragment-frames { + type yang:counter64; + description + "Number of fragment frames received on the interface."; + } + leaf in-8021q-frames { + type yang:counter64; + description + "Number of 802.1q tagged frames received on the interface"; + } + leaf in-crc-errors { + type yang:counter64; + description + "Number of receive error events due to FCS/CRC check + failure"; + } + leaf out-mac-control-frames { + type yang:counter64; + description + "MAC layer control frames sent on the interface"; + } + leaf out-mac-pause-frames { + type yang:counter64; + description + "MAC layer PAUSE frames sent on the interface"; + } + leaf out-8021q-frames { + type yang:counter64; + description + "Number of 802.1q tagged frames sent on the interface"; + } + } + + grouping ethernet-interface-state { + description + "Grouping for defining Ethernet-specific operational state"; + leaf hw-mac-address { + type yang:mac-address; + description + "Represenets the 'burned-in', or system-assigned, MAC + address for the Ethernet interface."; + } + leaf effective-speed { + type uint32; + units "Mbps"; + description + "Reports the effective speed of the interface, e.g., the + negotiated speed if auto-negotiate is enabled"; + } + container counters { + description + "Ethernet interface counters"; + uses ethernet-interface-state-counters; + } + } + + grouping ethernet-top { + description + "top-level Ethernet config and state containers"; + container ethernet { + description + "Top-level container for ethernet configuration + and state"; + container config { + description + "Configuration data for ethernet interfaces"; + uses ethernet-interface-config; + } + container state { + config false; + description + "State variables for Ethernet interfaces"; + uses ethernet-interface-config; + uses ethernet-interface-state; + } + } + } + + augment "/oc-if:interfaces/oc-if:interface" { + when "oc-if:state/oc-if:type = 'ift:ethernetCsmacd'" { + description + "Additional interface configuration parameters when + the interface type is Ethernet"; + } + description + "Adds addtional Ethernet-specific configuration to + interfaces model"; + uses ethernet-top; + } + oc-ext:openconfig-version "1.0.2"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-if-ip-ext.yang b/yang/modules/cisco-ios-xr/632/openconfig-if-ip-ext.yang new file mode 100644 index 0000000..170187d --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-if-ip-ext.yang @@ -0,0 +1,124 @@ +module openconfig-if-ip-ext { + yang-version 1; + namespace "http://openconfig.net/yang/interfaces/ip-ext"; + prefix oc-ip-ext; + + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-if-ip { + prefix oc-ip; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module adds extensions to the base IP configuration and + operational state model to support additional use cases."; + + revision 2016-12-22 { + description + "Fixes to Ethernet interfaces model"; + reference "1.1.0"; + } + + grouping ipv6-autoconf-config { + description + "Configuration data for IPv6 address autoconfiguration"; + leaf create-global-addresses { + type boolean; + default "true"; + description + "[adapted from IETF IP model RFC 7277] + + If enabled, the host creates global addresses as + described in RFC 4862."; + reference + "RFC 4862: IPv6 Stateless Address Autoconfiguration + Section 5.5"; + } + leaf create-temporary-addresses { + type boolean; + default "false"; + description + "[adapted from IETF IP model RFC 7277] + + If enabled, the host creates temporary addresses as + described in RFC 4941."; + reference + "RFC 4941: Privacy Extensions for Stateless Address + Autoconfiguration in IPv6"; + } + leaf temporary-valid-lifetime { + type uint32; + units "seconds"; + default "604800"; + description + "[adapted from IETF IP model RFC 7277] + + The time period during which the temporary address + is valid."; + reference + "RFC 4941: Privacy Extensions for Stateless Address + Autoconfiguration in IPv6 + - TEMP_VALID_LIFETIME"; + } + leaf temporary-preferred-lifetime { + type uint32; + units "seconds"; + default "86400"; + description + "[adapted from IETF IP model RFC 7277] + + The time period during which the temporary address is + preferred."; + reference + "RFC 4941: Privacy Extensions for Stateless Address + Autoconfiguration in IPv6 + - TEMP_PREFERRED_LIFETIME"; + } + } + + grouping ipv6-autoconf-state { + description + "Operational state data for IPv6 address autoconfiguration"; + } + + grouping ipv6-autoconf-top { + description + "Top-level grouping for IPv6 address autoconfiguration"; + container autoconf { + description + "Top-level container for IPv6 autoconf"; + container config { + description + "[adapted from IETF IP model RFC 7277] + + Parameters to control the autoconfiguration of IPv6 + addresses, as described in RFC 4862."; + reference "RFC 4862: IPv6 Stateless Address Autoconfiguration"; + uses ipv6-autoconf-config; + } + container state { + config false; + description + "Operational state data "; + uses ipv6-autoconf-config; + uses ipv6-autoconf-state; + } + } + } + + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6" { + description + "Adds address autoconfiguration to the base IP model"; + uses ipv6-autoconf-top; + } + oc-ext:openconfig-version "1.1.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-if-ip.yang b/yang/modules/cisco-ios-xr/632/openconfig-if-ip.yang new file mode 100644 index 0000000..0741455 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-if-ip.yang @@ -0,0 +1,856 @@ +module openconfig-if-ip { + yang-version 1; + namespace "http://openconfig.net/yang/interfaces/ip"; + prefix oc-ip; + + import ietf-inet-types { + prefix inet; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-vlan { + prefix oc-vlan; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Model for managing IP interfaces. + + This model reuses most of the IETF YANG model for IP management + described by RFC 7277. The primary differences are in the + structure of configuration and state data."; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + typedef ip-address-origin { + type enumeration { + enum "OTHER" { + description + "None of the following."; + } + enum "STATIC" { + description + "Indicates that the address has been statically + configured - for example, using NETCONF or a Command Line + Interface."; + } + enum "DHCP" { + description + "Indicates an address that has been assigned to this + system by a DHCP server."; + } + enum "LINK_LAYER" { + description + "Indicates an address created by IPv6 stateless + autoconfiguration that embeds a link-layer address in its + interface identifier."; + } + enum "RANDOM" { + description + "[adapted from RFC 7277] + + Indicates an address chosen by the system at + random, e.g., an IPv4 address within 169.254/16, an + RFC 4941 temporary address, or an RFC 7217 semantically + opaque address."; + reference + "RFC 4941: Privacy Extensions for Stateless Address + Autoconfiguration in IPv6 + RFC 7217: A Method for Generating Semantically Opaque + Interface Identifiers with IPv6 Stateless + Address Autoconfiguration (SLAAC)"; + } + } + description + "The origin of an address."; + } + + typedef neighbor-origin { + type enumeration { + enum "OTHER" { + description + "None of the following."; + } + enum "STATIC" { + description + "Indicates that the mapping has been statically + configured - for example, using NETCONF or a Command Line + Interface."; + } + enum "DYNAMIC" { + description + "[adapted from RFC 7277] + + Indicates that the mapping has been dynamically resolved + using, e.g., IPv4 ARP or the IPv6 Neighbor Discovery + protocol."; + } + } + description + "The origin of a neighbor entry."; + } + + grouping ipv4-global-config { + description + "Configuration data for IPv4 interfaces across + all addresses assigned to the interface"; + reference "RFC 7277 - A YANG Data Model for IP Management"; + leaf enabled { + type boolean; + default "true"; + description + "Controls whether IPv4 is enabled or disabled on this + interface. When IPv4 is enabled, this interface is + connected to an IPv4 stack, and the interface can send + and receive IPv4 packets."; + } + leaf mtu { + type uint16 { + range "68..max"; + } + units "octets"; + description + "The size, in octets, of the largest IPv4 packet that the + interface will send and receive. + + The server may restrict the allowed values for this leaf, + depending on the interface's type. + + If this leaf is not configured, the operationally used MTU + depends on the interface's type."; + reference "RFC 791: Internet Protocol"; + } + } + + grouping ipv4-address-config { + description + "Per IPv4 adresss configuration data for the + interface."; + leaf ip { + type inet:ipv4-address-no-zone; + description + "[adapted from IETF IP model RFC 7277] + + The IPv4 address on the interface."; + } + leaf prefix-length { + type uint8 { + range "0..32"; + } + description + "[adapted from IETF IP model RFC 7277] + + The length of the subnet prefix."; + } + } + + grouping ipv4-neighbor-config { + description + "[adapted from IETF IP model RFC 7277] + + Per IPv4 neighbor configuration data. Neighbor + entries are analagous to static ARP entries, i.e., they + create a correspondence between IP and link-layer addresses"; + leaf ip { + type inet:ipv4-address-no-zone; + description + "The IPv4 address of the neighbor node."; + } + leaf link-layer-address { + type yang:phys-address; + mandatory true; + description + "The link-layer address of the neighbor node."; + } + } + + grouping ipv4-address-state { + description + "State variables for IPv4 addresses on the interface"; + leaf origin { + type ip-address-origin; + description + "The origin of this address, e.g., statically configured, + assigned by DHCP, etc.."; + } + } + + grouping ipv4-neighbor-state { + description + "State variables for IPv4 neighbor entries on the interface."; + leaf origin { + type neighbor-origin; + description + "The origin of this neighbor entry, static or dynamic."; + } + } + + grouping ipv6-global-config { + description + "Configuration data at the global level for each + IPv6 interface"; + leaf enabled { + type boolean; + default "true"; + description + "[adapted from IETF IP model RFC 7277] + + Controls whether IPv6 is enabled or disabled on this + interface. When IPv6 is enabled, this interface is + connected to an IPv6 stack, and the interface can send + and receive IPv6 packets."; + } + leaf mtu { + type uint32 { + range "1280..max"; + } + units "octets"; + description + "[adapted from IETF IP model RFC 7277] + + The size, in octets, of the largest IPv6 packet that the + interface will send and receive. + + The server may restrict the allowed values for this leaf, + depending on the interface's type. + + If this leaf is not configured, the operationally used MTU + depends on the interface's type."; + reference + "RFC 2460: Internet Protocol, Version 6 (IPv6) Specification + Section 5"; + } + leaf dup-addr-detect-transmits { + type uint32; + default "1"; + description + "[adapted from IETF IP model RFC 7277] + + The number of consecutive Neighbor Solicitation messages + sent while performing Duplicate Address Detection on a + tentative address. A value of zero indicates that + Duplicate Address Detection is not performed on + tentative addresses. A value of one indicates a single + transmission with no follow-up retransmissions."; + reference "RFC 4862: IPv6 Stateless Address Autoconfiguration"; + } + } + + grouping ipv6-address-config { + description + "Per-address configuration data for IPv6 interfaces"; + leaf ip { + type inet:ipv6-address-no-zone; + description + "[adapted from IETF IP model RFC 7277] + + The IPv6 address on the interface."; + } + leaf prefix-length { + type uint8 { + range "0..128"; + } + mandatory true; + description + "[adapted from IETF IP model RFC 7277] + + The length of the subnet prefix."; + } + } + + grouping ipv6-address-state { + description + "Per-address operational state data for IPv6 interfaces"; + leaf origin { + type ip-address-origin; + description + "[adapted from IETF IP model RFC 7277] + + The origin of this address, e.g., static, dhcp, etc."; + } + leaf status { + type enumeration { + enum "PREFERRED" { + description + "This is a valid address that can appear as the + destination or source address of a packet."; + } + enum "DEPRECATED" { + description + "This is a valid but deprecated address that should + no longer be used as a source address in new + communications, but packets addressed to such an + address are processed as expected."; + } + enum "INVALID" { + description + "This isn't a valid address, and it shouldn't appear + as the destination or source address of a packet."; + } + enum "INACCESSIBLE" { + description + "The address is not accessible because the interface + to which this address is assigned is not + operational."; + } + enum "UNKNOWN" { + description + "The status cannot be determined for some reason."; + } + enum "TENTATIVE" { + description + "The uniqueness of the address on the link is being + verified. Addresses in this state should not be + used for general communication and should only be + used to determine the uniqueness of the address."; + } + enum "DUPLICATE" { + description + "The address has been determined to be non-unique on + the link and so must not be used."; + } + enum "OPTIMISTIC" { + description + "The address is available for use, subject to + restrictions, while its uniqueness on a link is + being verified."; + } + } + description + "[adapted from IETF IP model RFC 7277] + + The status of an address. Most of the states correspond + to states from the IPv6 Stateless Address + Autoconfiguration protocol."; + reference + "RFC 4293: Management Information Base for the + Internet Protocol (IP) + - IpAddressStatusTC + RFC 4862: IPv6 Stateless Address Autoconfiguration"; + } + } + + grouping ipv6-neighbor-config { + description + "Per-neighbor configuration data for IPv6 interfaces"; + leaf ip { + type inet:ipv6-address-no-zone; + description + "[adapted from IETF IP model RFC 7277] + + The IPv6 address of the neighbor node."; + } + leaf link-layer-address { + type yang:phys-address; + mandatory true; + description + "[adapted from IETF IP model RFC 7277] + + The link-layer address of the neighbor node."; + } + } + + grouping ipv6-neighbor-state { + description + "Per-neighbor state variables for IPv6 interfaces"; + leaf origin { + type neighbor-origin; + description + "[adapted from IETF IP model RFC 7277] + + The origin of this neighbor entry."; + } + leaf is-router { + type empty; + description + "[adapted from IETF IP model RFC 7277] + + Indicates that the neighbor node acts as a router."; + } + leaf neighbor-state { + type enumeration { + enum "INCOMPLETE" { + description + "Address resolution is in progress, and the link-layer + address of the neighbor has not yet been + determined."; + } + enum "REACHABLE" { + description + "Roughly speaking, the neighbor is known to have been + reachable recently (within tens of seconds ago)."; + } + enum "STALE" { + description + "The neighbor is no longer known to be reachable, but + until traffic is sent to the neighbor no attempt + should be made to verify its reachability."; + } + enum "DELAY" { + description + "The neighbor is no longer known to be reachable, and + traffic has recently been sent to the neighbor. + Rather than probe the neighbor immediately, however, + delay sending probes for a short while in order to + give upper-layer protocols a chance to provide + reachability confirmation."; + } + enum "PROBE" { + description + "The neighbor is no longer known to be reachable, and + unicast Neighbor Solicitation probes are being sent + to verify reachability."; + } + } + description + "[adapted from IETF IP model RFC 7277] + + The Neighbor Unreachability Detection state of this + entry."; + reference + "RFC 4861: Neighbor Discovery for IP version 6 (IPv6) + Section 7.3.2"; + } + } + + grouping ip-vrrp-ipv6-config { + description + "IPv6-specific configuration data for VRRP on IPv6 + interfaces"; + leaf virtual-link-local { + type inet:ip-address; + description + "For VRRP on IPv6 interfaces, sets the virtual link local + address"; + } + } + + grouping ip-vrrp-ipv6-state { + description + "IPv6-specific operational state for VRRP on IPv6 interfaces"; + uses ip-vrrp-ipv6-config; + } + + grouping ip-vrrp-tracking-config { + description + "Configuration data for tracking interfaces + in a VRRP group"; + leaf track-interface { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "Sets an interface that should be + tracked for up/down events to dynamically change the + priority state of the VRRP group, and potentially + change the mastership if the tracked interface going + down lowers the priority sufficiently"; + } + leaf priority-decrement { + type uint8 { + range "0..254"; + } + default "0"; + description + "Set the value to subtract from priority when + the tracked interface goes down"; + } + } + + grouping ip-vrrp-tracking-state { + description + "Operational state data for tracking interfaces in a VRRP + group"; + } + + grouping ip-vrrp-tracking-top { + description + "Top-level grouping for VRRP interface tracking"; + container interface-tracking { + description + "Top-level container for VRRP interface tracking"; + container config { + description + "Configuration data for VRRP interface tracking"; + uses ip-vrrp-tracking-config; + } + container state { + config false; + description + "Operational state data for VRRP interface tracking"; + uses ip-vrrp-tracking-config; + uses ip-vrrp-tracking-state; + } + } + } + + grouping ip-vrrp-config { + description + "Configuration data for VRRP on IP interfaces"; + leaf virtual-router-id { + type uint8 { + range "1..255"; + } + description + "Set the virtual router id for use by the VRRP group. This + usually also determines the virtual MAC address that is + generated for the VRRP group"; + } + leaf-list virtual-address { + type inet:ip-address; + description + "Configure one or more virtual addresses for the + VRRP group"; + } + leaf priority { + type uint8 { + range "1..254"; + } + default "100"; + description + "Specifies the sending VRRP interface's priority + for the virtual router. Higher values equal higher + priority"; + } + leaf preempt { + type boolean; + default "true"; + description + "When set to true, enables preemption by a higher + priority backup router of a lower priority master router"; + } + leaf preempt-delay { + type uint16 { + range "0..3600"; + } + default "0"; + description + "Set the delay the higher priority router waits + before preempting"; + } + leaf accept-mode { + type boolean; + default "false"; + description + "Configure whether packets destined for + virtual addresses are accepted even when the virtual + address is not owned by the router interface"; + } + leaf advertisement-interval { + type uint16 { + range "1..4095"; + } + units "centiseconds"; + default "100"; + description + "Sets the interval between successive VRRP + advertisements -- RFC 5798 defines this as a 12-bit + value expressed as 0.1 seconds, with default 100, i.e., + 1 second. Several implementation express this in units of + seconds"; + } + } + + grouping ip-vrrp-state { + description + "Operational state data for VRRP on IP interfaces"; + leaf current-priority { + type uint8; + description + "Operational value of the priority for the + interface in the VRRP group"; + } + } + + grouping ip-vrrp-top { + description + "Top-level grouping for Virtual Router Redundancy Protocol"; + container vrrp { + description + "Enclosing container for VRRP groups handled by this + IP interface"; + reference + "RFC 5798 - Virtual Router Redundancy Protocol + (VRRP) Version 3 for IPv4 and IPv6"; + list vrrp-group { + key "virtual-router-id"; + description + "List of VRRP groups, keyed by virtual router id"; + leaf virtual-router-id { + type leafref { + path "../config/virtual-router-id"; + } + description + "References the configured virtual router id for this + VRRP group"; + } + container config { + description + "Configuration data for the VRRP group"; + uses ip-vrrp-config; + } + container state { + config false; + description + "Operational state data for the VRRP group"; + uses ip-vrrp-config; + uses ip-vrrp-state; + } + uses ip-vrrp-tracking-top; + } + } + } + + grouping ipv4-top { + description + "Top-level configuration and state for IPv4 + interfaces"; + container ipv4 { + description + "Parameters for the IPv4 address family."; + container addresses { + description + "Enclosing container for address list"; + list address { + key "ip"; + description + "The list of configured IPv4 addresses on the interface."; + leaf ip { + type leafref { + path "../oc-ip:config/oc-ip:ip"; + } + description + "References the configured IP address"; + } + container config { + description + "Configuration data for each configured IPv4 + address on the interface"; + uses ipv4-address-config; + } + container state { + config false; + description + "Operational state data for each IPv4 address + configured on the interface"; + uses ipv4-address-config; + uses ipv4-address-state; + } + } + } + container neighbors { + description + "Enclosing container for neighbor list"; + list neighbor { + key "ip"; + description + "A list of mappings from IPv4 addresses to + link-layer addresses. + + Entries in this list are used as static entries in the + ARP Cache."; + reference "RFC 826: An Ethernet Address Resolution Protocol"; + leaf ip { + type leafref { + path "../oc-ip:config/oc-ip:ip"; + } + description + "References the configured IP address"; + } + container config { + description + "Configuration data for each configured IPv4 + address on the interface"; + uses ipv4-neighbor-config; + } + container state { + config false; + description + "Operational state data for each IPv4 address + configured on the interface"; + uses ipv4-neighbor-config; + uses ipv4-neighbor-state; + } + } + } + uses oc-if:sub-unnumbered-top; + container config { + description + "Top-level IPv4 configuration data for the interface"; + uses ipv4-global-config; + } + container state { + config false; + description + "Top level IPv4 operational state data"; + uses ipv4-global-config; + } + } + } + + grouping ipv6-top { + description + "Top-level configuration and state for IPv6 interfaces"; + container ipv6 { + description + "Parameters for the IPv6 address family."; + container addresses { + description + "Enclosing container for address list"; + list address { + key "ip"; + description + "The list of configured IPv6 addresses on the interface."; + leaf ip { + type leafref { + path "../oc-ip:config/oc-ip:ip"; + } + description + "References the configured IP address"; + } + container config { + description + "Configuration data for each IPv6 address on + the interface"; + uses ipv6-address-config; + } + container state { + config false; + description + "State data for each IPv6 address on the + interface"; + uses ipv6-address-config; + uses ipv6-address-state; + } + } + } + container neighbors { + description + "Enclosing container for list of IPv6 neighbors"; + list neighbor { + key "ip"; + description + "List of IPv6 neighbors"; + leaf ip { + type leafref { + path "../oc-ip:config/oc-ip:ip"; + } + description + "References the configured IP neighbor address"; + } + container config { + description + "Configuration data for each IPv6 address on + the interface"; + uses ipv6-neighbor-config; + } + container state { + config false; + description + "State data for each IPv6 address on the + interface"; + uses ipv6-neighbor-config; + uses ipv6-neighbor-state; + } + } + } + uses oc-if:sub-unnumbered-top; + container config { + description + "Top-level config data for the IPv6 interface"; + uses ipv6-global-config; + } + container state { + config false; + description + "Top-level operational state data for the IPv6 interface"; + uses ipv6-global-config; + } + } + } + + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface" { + description + "IPv4 addr family configuration for + interfaces"; + uses ipv4-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface" { + description + "IPv6 addr family configuration for + interfaces"; + uses ipv6-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address" { + description + "Additional IP addr family configuration for + interfaces"; + uses ip-vrrp-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address" { + description + "Additional IP addr family configuration for + interfaces"; + uses ip-vrrp-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/config" { + description + "Additional VRRP data for IPv6 interfaces"; + uses ip-vrrp-ipv6-config; + } + augment "/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/state" { + description + "Additional VRRP data for IPv6 interfaces"; + uses ip-vrrp-ipv6-state; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan" { + description + "IPv4 addr family configuration for + interfaces"; + uses ipv4-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan" { + description + "IPv6 addr family configuration for + interfaces"; + uses ipv6-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv4/oc-ip:addresses/oc-ip:address" { + description + "Additional IP addr family configuration for + interfaces"; + uses ip-vrrp-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:addresses/oc-ip:address" { + description + "Additional IP addr family configuration for + interfaces"; + uses ip-vrrp-top; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/config" { + description + "Additional VRRP data for IPv6 interfaces"; + uses ip-vrrp-ipv6-config; + } + augment "/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/vrrp/vrrp-group/state" { + description + "Additional VRRP data for IPv6 interfaces"; + uses ip-vrrp-ipv6-state; + } + oc-ext:openconfig-version "1.0.2"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-inet-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-inet-types.yang new file mode 100644 index 0000000..d362423 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-inet-types.yang @@ -0,0 +1,156 @@ +module openconfig-inet-types { + yang-version 1; + namespace "http://openconfig.net/yang/types/inet"; + prefix oc-inet; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains a set of Internet address related + types for use in OpenConfig modules. + + Portions of this code were derived from IETF RFC 6021. + Please reproduce this note if possible. + + IETF code is subject to the following copyright and license: + Copyright (c) IETF Trust and the persons identified as authors of + the code. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, is permitted pursuant to, and subject to the license + terms contained in, the Simplified BSD License set forth in + Section 4.c of the IETF Trust's Legal Provisions Relating + to IETF Documents (http://trustee.ietf.org/license-info)."; + + revision 2017-04-03 { + description + "Update copyright notice."; + reference "0.1.1"; + } + revision 2017-01-26 { + description + "Initial module for inet types"; + reference "0.1.0"; + } + + typedef ipv4-address { + type string { + pattern "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$"; + } + description + "An IPv4 address in dotted quad notation."; + } + + typedef ipv6-address { + type string { + pattern "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$"; + } + description + "An IPv6 address represented as either a full address; shortened + or mixed-shortened formats."; + } + + typedef ipv4-prefix { + type string { + pattern "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))$"; + } + description + "An IPv4 prefix represented in dotted quad notation followed by + a slash and a CIDR mask (0 <= mask <= 32)."; + } + + typedef ipv6-prefix { + type string { + pattern "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$"; + } + description + "An IPv6 prefix represented in full, shortened, or mixed + shortened format followed by a slash and CIDR mask (0 <= mask <= + 128)."; + } + + typedef ip-address { + type union { + type ipv4-address; + type ipv6-address; + } + description + "An IPv4 or IPv6 address with no prefix specified."; + } + + typedef ip-prefix { + type union { + type ipv4-prefix; + type ipv6-prefix; + } + description + "An IPv4 or IPv6 prefix."; + } + + typedef as-number { + type uint32; + description + "A numeric identifier for an autonomous system (AS). An AS is a + single domain, under common administrative control, which forms + a unit of routing policy. Autonomous systems can be assigned a + 2-byte identifier, or a 4-byte identifier which may have public + or private scope. Private ASNs are assigned from dedicated + ranges. Public ASNs are assigned from ranges allocated by IANA + to the regional internet registries (RIRs)."; + reference + "RFC 1930 Guidelines for creation, selection, and registration + of an Autonomous System (AS) + RFC 4271 A Border Gateway Protocol 4 (BGP-4)"; + } + + typedef dscp { + type uint8 { + range "0..63"; + } + description + "A differentiated services code point (DSCP) marking within the + IP header."; + reference + "RFC 2474 Definition of the Differentiated Services Field + (DS Field) in the IPv4 and IPv6 Headers"; + } + + typedef ipv6-flow-label { + type uint32 { + range "0..1048575"; + } + description + "The IPv6 flow-label is a 20-bit value within the IPv6 header + which is optionally used by the source of the IPv6 packet to + label sets of packets for which special handling may be + required."; + reference "RFC 2460 Internet Protocol, Version 6 (IPv6) Specification"; + } + + typedef port-number { + type uint16; + description + "A 16-bit port number used by a transport protocol such as TCP + or UDP."; + reference + "RFC 768 User Datagram Protocol + RFC 793 Transmission Control Protocol"; + } + + typedef uri { + type string; + description + "An ASCII-encoded Uniform Resource Identifier (URI) as defined + in RFC 3986."; + reference "RFC 3986 Uniform Resource Identifier (URI): Generic Syntax"; + } + oc-ext:openconfig-version "0.1.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-interfaces.yang b/yang/modules/cisco-ios-xr/632/openconfig-interfaces.yang new file mode 100644 index 0000000..560b700 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-interfaces.yang @@ -0,0 +1,797 @@ +module openconfig-interfaces { + yang-version 1; + namespace "http://openconfig.net/yang/interfaces"; + prefix oc-if; + + import ietf-interfaces { + prefix ietf-if; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Model for managing network interfaces and subinterfaces. This + module also defines convenience types / groupings for other + models to create references to interfaces: + + base-interface-ref (type) - reference to a base interface + interface-ref (grouping) - container for reference to a + interface + subinterface + interface-ref-state (grouping) - container for read-only + (opstate) reference to interface + subinterface + + This model reuses data items defined in the IETF YANG model for + interfaces described by RFC 7223 with an alternate structure + (particularly for operational state data) and and with + additional configuration items."; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + typedef base-interface-ref { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "Reusable type for by-name reference to a base interface. + This type may be used in cases where ability to reference + a subinterface is not required."; + } + + typedef interface-id { + type string; + description + "User-defined identifier for an interface, generally used to + name a interface reference. The id can be arbitrary but a + useful convention is to use a combination of base interface + name and subinterface index."; + } + + grouping interface-ref-common { + description + "Reference leafrefs to interface / subinterface"; + leaf interface { + type leafref { + path "/oc-if:interfaces/oc-if:interface/oc-if:name"; + } + description + "Reference to a base interface. If a reference to a + subinterface is required, this leaf must be specified + to indicate the base interface."; + } + leaf subinterface { + type leafref { + path "/oc-if:interfaces/oc-if:interface[oc-if:name=current()/../interface]/oc-if:subinterfaces/oc-if:subinterface/oc-if:index"; + } + description + "Reference to a subinterface -- this requires the base + interface to be specified using the interface leaf in + this container. If only a reference to a base interface + is requuired, this leaf should not be set."; + } + } + + grouping interface-ref-state-container { + description + "Reusable opstate w/container for a reference to an + interface or subinterface"; + container state { + config false; + description + "Operational state for interface-ref"; + uses interface-ref-common; + } + } + + grouping interface-ref { + description + "Reusable definition for a reference to an interface or + subinterface"; + container interface-ref { + description + "Reference to an interface or subinterface"; + container config { + description + "Configured reference to interface / subinterface"; + uses interface-ref-common; + } + uses interface-ref-state-container; + } + } + + grouping interface-ref-state { + description + "Reusable opstate w/container for a reference to an + interface or subinterface"; + container interface-ref { + description + "Reference to an interface or subinterface"; + uses interface-ref-state-container; + } + } + + grouping interface-common-config { + description + "Configuration data data nodes common to physical interfaces + and subinterfaces"; + leaf name { + type string; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The name of the interface. + + A device MAY restrict the allowed values for this leaf, + possibly depending on the type of the interface. + For system-controlled interfaces, this leaf is the + device-specific name of the interface. The 'config false' + list interfaces/interface[name]/state contains the currently + existing interfaces on the device. + + If a client tries to create configuration for a + system-controlled interface that is not present in the + corresponding state list, the server MAY reject + the request if the implementation does not support + pre-provisioning of interfaces or if the name refers to + an interface that can never exist in the system. A + NETCONF server MUST reply with an rpc-error with the + error-tag 'invalid-value' in this case. + + The IETF model in RFC 7223 provides YANG features for the + following (i.e., pre-provisioning and arbitrary-names), + however they are omitted here: + + If the device supports pre-provisioning of interface + configuration, the 'pre-provisioning' feature is + advertised. + + If the device allows arbitrarily named user-controlled + interfaces, the 'arbitrary-names' feature is advertised. + + When a configured user-controlled interface is created by + the system, it is instantiated with the same name in the + /interfaces/interface[name]/state list."; + reference "RFC 7223: A YANG Data Model for Interface Management"; + } + leaf description { + type string; + description + "[adapted from IETF interfaces model (RFC 7223)] + + A textual description of the interface. + + A server implementation MAY map this leaf to the ifAlias + MIB object. Such an implementation needs to use some + mechanism to handle the differences in size and characters + allowed between this leaf and ifAlias. The definition of + such a mechanism is outside the scope of this document. + + Since ifAlias is defined to be stored in non-volatile + storage, the MIB implementation MUST map ifAlias to the + value of 'description' in the persistently stored + datastore. + + Specifically, if the device supports ':startup', when + ifAlias is read the device MUST return the value of + 'description' in the 'startup' datastore, and when it is + written, it MUST be written to the 'running' and 'startup' + datastores. Note that it is up to the implementation to + + decide whether to modify this single leaf in 'startup' or + perform an implicit copy-config from 'running' to + 'startup'. + + If the device does not support ':startup', ifAlias MUST + be mapped to the 'description' leaf in the 'running' + datastore."; + reference "RFC 2863: The Interfaces Group MIB - ifAlias"; + } + leaf enabled { + type boolean; + default "true"; + description + "[adapted from IETF interfaces model (RFC 7223)] + + This leaf contains the configured, desired state of the + interface. + + Systems that implement the IF-MIB use the value of this + leaf in the 'running' datastore to set + IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry + has been initialized, as described in RFC 2863. + + Changes in this leaf in the 'running' datastore are + reflected in ifAdminStatus, but if ifAdminStatus is + changed over SNMP, this leaf is not affected."; + reference "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; + } + } + + grouping interface-phys-config { + description + "Configuration data for physical interfaces"; + leaf type { + type identityref { + base ietf-if:interface-type; + } + mandatory true; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The type of the interface. + + When an interface entry is created, a server MAY + initialize the type leaf with a valid value, e.g., if it + is possible to derive the type from the name of the + interface. + + If a client tries to set the type of an interface to a + value that can never be used by the system, e.g., if the + type is not supported or if the type does not match the + name of the interface, the server MUST reject the request. + A NETCONF server MUST reply with an rpc-error with the + error-tag 'invalid-value' in this case."; + reference "RFC 2863: The Interfaces Group MIB - ifType"; + } + leaf mtu { + type uint16; + description + "Set the max transmission unit size in octets + for the physical interface. If this is not set, the mtu is + set to the operational default -- e.g., 1514 bytes on an + Ethernet interface."; + } + uses interface-common-config; + } + + grouping interface-phys-holdtime-config { + description + "Configuration data for interface hold-time settings -- + applies to physical interfaces."; + leaf up { + type uint32; + units "milliseconds"; + default "0"; + description + "Dampens advertisement when the interface + transitions from down to up. A zero value means dampening + is turned off, i.e., immediate notification."; + } + leaf down { + type uint32; + units "milliseconds"; + default "0"; + description + "Dampens advertisement when the interface transitions from + up to down. A zero value means dampening is turned off, + i.e., immediate notification."; + } + } + + grouping interface-phys-holdtime-state { + description + "Operational state data for interface hold-time."; + } + + grouping interface-phys-holdtime-top { + description + "Top-level grouping for setting link transition + dampening on physical and other types of interfaces."; + container hold-time { + description + "Top-level container for hold-time settings to enable + dampening advertisements of interface transitions."; + container config { + description + "Configuration data for interface hold-time settings."; + uses interface-phys-holdtime-config; + } + container state { + config false; + description + "Operational state data for interface hold-time."; + uses interface-phys-holdtime-config; + uses interface-phys-holdtime-state; + } + } + } + + grouping interface-common-state { + description + "Operational state data (in addition to intended configuration) + at the global level for this interface"; + leaf ifindex { + type uint32; + description + "System assigned number for each interface. Corresponds to + ifIndex object in SNMP Interface MIB"; + reference "RFC 2863 - The Interfaces Group MIB"; + } + leaf admin-status { + type enumeration { + enum "UP" { + description + "Ready to pass packets."; + } + enum "DOWN" { + description + "Not ready to pass packets and not in some test mode."; + } + enum "TESTING" { + description + "In some test mode."; + } + } + mandatory true; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The desired state of the interface. In RFC 7223 this leaf + has the same read semantics as ifAdminStatus. Here, it + reflects the administrative state as set by enabling or + disabling the interface."; + reference "RFC 2863: The Interfaces Group MIB - ifAdminStatus"; + } + leaf oper-status { + type enumeration { + enum "UP" { + value 1; + description + "Ready to pass packets."; + } + enum "DOWN" { + value 2; + description + "The interface does not pass any packets."; + } + enum "TESTING" { + value 3; + description + "In some test mode. No operational packets can + be passed."; + } + enum "UNKNOWN" { + value 4; + description + "Status cannot be determined for some reason."; + } + enum "DORMANT" { + value 5; + description + "Waiting for some external event."; + } + enum "NOT_PRESENT" { + value 6; + description + "Some component (typically hardware) is missing."; + } + enum "LOWER_LAYER_DOWN" { + value 7; + description + "Down due to state of lower-layer interface(s)."; + } + } + mandatory true; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The current operational state of the interface. + + This leaf has the same semantics as ifOperStatus."; + reference "RFC 2863: The Interfaces Group MIB - ifOperStatus"; + } + leaf last-change { + type yang:timeticks; + description + "Date and time of the last state change of the interface + (e.g., up-to-down transition). This corresponds to the + ifLastChange object in the standard interface MIB."; + reference "RFC 2863: The Interfaces Group MIB - ifLastChange"; + } + } + + grouping interface-counters-state { + description + "Operational state representing interface counters + and statistics. Some of these are adapted from RFC 7223"; + container counters { + description + "A collection of interface-related statistics objects."; + reference + "RFC 7223 - A YANG Data Model for Interface + Management"; + leaf in-octets { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The total number of octets received on the interface, + including framing characters. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifHCInOctets"; + } + leaf in-unicast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The number of packets, delivered by this sub-layer to a + higher (sub-)layer, that were not addressed to a + multicast or broadcast address at this sub-layer. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts"; + } + leaf in-broadcast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The number of packets, delivered by this sub-layer to a + higher (sub-)layer, that were addressed to a broadcast + address at this sub-layer. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference + "RFC 2863: The Interfaces Group MIB - + ifHCInBroadcastPkts"; + } + leaf in-multicast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + + The number of packets, delivered by this sub-layer to a + higher (sub-)layer, that were addressed to a multicast + address at this sub-layer. For a MAC-layer protocol, + this includes both Group and Functional addresses. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference + "RFC 2863: The Interfaces Group MIB - + ifHCInMulticastPkts"; + } + leaf in-discards { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + The number of inbound packets that were chosen to be + discarded even though no errors had been detected to + prevent their being deliverable to a higher-layer + protocol. One possible reason for discarding such a + packet could be to free up buffer space. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifInDiscards"; + } + leaf in-errors { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + For packet-oriented interfaces, the number of inbound + packets that contained errors preventing them from being + deliverable to a higher-layer protocol. For character- + oriented or fixed-length interfaces, the number of + inbound transmission units that contained errors + preventing them from being deliverable to a higher-layer + protocol. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifInErrors"; + } + leaf in-unknown-protos { + type yang:counter32; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + For packet-oriented interfaces, the number of packets + received via the interface that were discarded because + of an unknown or unsupported protocol. For + character-oriented or fixed-length interfaces that + support protocol multiplexing, the number of + transmission units received via the interface that were + discarded because of an unknown or unsupported protocol. + For any interface that does not support protocol + multiplexing, this counter is not present. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos"; + } + leaf out-octets { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + The total number of octets transmitted out of the + interface, including framing characters. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifHCOutOctets"; + } + leaf out-unicast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The total number of packets that higher-level protocols + requested be transmitted, and that were not addressed + to a multicast or broadcast address at this sub-layer, + including those that were discarded or not sent. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts"; + } + leaf out-broadcast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + + The total number of packets that higher-level protocols + requested be transmitted, and that were addressed to a + broadcast address at this sub-layer, including those + that were discarded or not sent. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference + "RFC 2863: The Interfaces Group MIB - + ifHCOutBroadcastPkts"; + } + leaf out-multicast-pkts { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + The total number of packets that higher-level protocols + requested be transmitted, and that were addressed to a + multicast address at this sub-layer, including those + that were discarded or not sent. For a MAC-layer + protocol, this includes both Group and Functional + addresses. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference + "RFC 2863: The Interfaces Group MIB - + ifHCOutMulticastPkts"; + } + leaf out-discards { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + The number of outbound packets that were chosen to be + discarded even though no errors had been detected to + prevent their being transmitted. One possible reason + for discarding such a packet could be to free up buffer + space. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifOutDiscards"; + } + leaf out-errors { + type yang:counter64; + description + "[adapted from IETF interfaces model (RFC 7223)] + Changed the counter type to counter64. + + For packet-oriented interfaces, the number of outbound + packets that could not be transmitted because of errors. + For character-oriented or fixed-length interfaces, the + number of outbound transmission units that could not be + transmitted because of errors. + + Discontinuities in the value of this counter can occur + at re-initialization of the management system, and at + other times as indicated by the value of + 'discontinuity-time'."; + reference "RFC 2863: The Interfaces Group MIB - ifOutErrors"; + } + leaf last-clear { + type yang:date-and-time; + description + "Indicates the last time the interface counters were + cleared."; + } + } + } + + grouping sub-unnumbered-config { + description + "Configuration data for unnumbered subinterfaces"; + leaf enabled { + type boolean; + default "false"; + description + "Indicates that the subinterface is unnumbered. By default + the subinterface is numbered, i.e., expected to have an + IP address configuration."; + } + } + + grouping sub-unnumbered-state { + description + "Operational state data unnumbered subinterfaces"; + } + + grouping sub-unnumbered-top { + description + "Top-level grouping unnumbered subinterfaces"; + container unnumbered { + description + "Top-level container for setting unnumbered interfaces. + Includes reference the interface that provides the + address information"; + container config { + description + "Configuration data for unnumbered interface"; + uses sub-unnumbered-config; + } + container state { + config false; + description + "Operational state data for unnumbered interfaces"; + uses sub-unnumbered-config; + uses sub-unnumbered-state; + } + uses oc-if:interface-ref; + } + } + + grouping subinterfaces-config { + description + "Configuration data for subinterfaces"; + leaf index { + type uint32; + default "0"; + description + "The index of the subinterface, or logical interface number. + On systems with no support for subinterfaces, or not using + subinterfaces, this value should default to 0, i.e., the + default subinterface."; + } + uses interface-common-config; + } + + grouping subinterfaces-state { + description + "Operational state data for subinterfaces"; + uses interface-common-state; + uses interface-counters-state; + } + + grouping subinterfaces-top { + description + "Subinterface data for logical interfaces associated with a + given interface"; + container subinterfaces { + description + "Enclosing container for the list of subinterfaces associated + with a physical interface"; + list subinterface { + key "index"; + description + "The list of subinterfaces (logical interfaces) associated + with a physical interface"; + leaf index { + type leafref { + path "../config/index"; + } + description + "The index number of the subinterface -- used to address + the logical interface"; + } + container config { + description + "Configurable items at the subinterface level"; + uses subinterfaces-config; + } + container state { + config false; + description + "Operational state data for logical interfaces"; + uses subinterfaces-config; + uses subinterfaces-state; + } + } + } + } + + grouping interfaces-top { + description + "Top-level grouping for interface configuration and + operational state data"; + container interfaces { + description + "Top level container for interfaces, including configuration + and state data."; + list interface { + key "name"; + description + "The list of named interfaces on the device."; + leaf name { + type leafref { + path "../config/name"; + } + description + "References the configured name of the interface"; + } + container config { + description + "Configurable items at the global, physical interface + level"; + uses interface-phys-config; + } + container state { + config false; + description + "Operational state data at the global interface level"; + uses interface-phys-config; + uses interface-common-state; + uses interface-counters-state; + } + uses interface-phys-holdtime-top; + uses subinterfaces-top; + } + } + } + oc-ext:openconfig-version "1.0.2"; + + uses interfaces-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis-lsdb-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis-lsdb-types.yang new file mode 100644 index 0000000..61f122f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis-lsdb-types.yang @@ -0,0 +1,593 @@ +module openconfig-isis-lsdb-types { + yang-version 1; + namespace "http://openconfig.net/yang/isis-lsdb-types"; + prefix oc-isis-lsdb-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains general LSDB type definitions for use in ISIS YANG + model. "; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + identity ISIS_TLV_TYPE { + description + "Base identity for an ISIS TLV type."; + } + + identity ISIS_SUBTLV_TYPE { + description + "Base identity for an ISIS SUB-TLV type."; + } + + identity IS_REACHABILITY_SUBTLVS_TYPE { + base ISIS_SUBTLV_TYPE; + description + "Base identity for an ISIS TLV 22, 23, 222, 223, 141 SUB-TLV + type."; + } + + identity IP_REACHABILITY_SUBTLVS_TYPE { + base ISIS_SUBTLV_TYPE; + description + "Base identity for an ISIS TLV 135, 235, 236, 237 SUB-TLV + type."; + } + + identity ROUTER_CAPABILITY_SUBTLVS_TYPE { + base ISIS_SUBTLV_TYPE; + description + "Base identity for an ISIS TLV 242 SUB-TLV type."; + } + + identity AREA_ADDRESSES { + base ISIS_TLV_TYPE; + description + "ISIS TLV 1. Intermediate System to Intermediate System Intra- + Domain Routeing Exchange Protocol for use in Conjunction with + the Protocol for Providing the Connectionless-mode Network + Service (ISO 8473), International Standard 10589: 2002, Second + Edition, 2002."; + reference "ISO 10589"; + } + + identity IIS_NEIGHBORS { + base ISIS_TLV_TYPE; + description + "ISIS TLV 2. Intermediate System to Intermediate System Intra- + Domain Routeing Exchange Protocol for use in Conjunction with + the Protocol for Providing the Connectionless-mode Network + Service (ISO 8473), International Standard 10589: 2002, Second + Edition, 2002."; + reference "ISO 10589"; + } + + identity INSTANCE_ID { + base ISIS_TLV_TYPE; + description + "ISIS TLV 7. An Instance Identifier (IID) to uniquely + identify an IS-IS instance. When the IID = 0, the list of + supported ITIDs MUST NOT be present. An IID-TLV with IID = 0 + MUST NOT appear in an SNP or LSP. When the TLV appears (with a + non-zero IID) in an SNP or LSP, exactly one ITID. MUST be + present indicating the topology with which the PDU is + associated. If no ITIDs or multiple ITIDs are present or the + IID is zero, then the PDU MUST be ignored"; + reference "RFC6822: IS-IS Multi-Instance"; + } + + identity AUTHENTICATION { + base ISIS_TLV_TYPE; + description + "ISIS TLV 10.Intermediate System to Intermediate System Intra- + Domain Routeing Exchange Protocol for use in Conjunction with + the Protocol for Providing the Connectionless-mode Network + Service (ISO 8473) International Standard 10589: 2002, Second + Edition, 2002."; + reference "ISO 10589"; + } + + identity PURGE_OI { + base ISIS_TLV_TYPE; + description + "ISIS TLV 13. If an IS generates a purge, it SHOULD include + this TLV in the purge with its own system ID. If an IS + receives a purge that does not include this TLV, then it SHOULD + add this TLV with both its own system ID and the system ID of + the IS from which it received the purge. This allows ISs + receiving purges to log the system ID of the originator, or the + upstream source of the purge."; + reference "RFC6232: Purge Originator Identification TLV"; + } + + identity EXTENDED_IS_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 22. An extended IS reachability TLV that has a + different data structure to TLV 2 that introduces the use of + sub-TLV object-group."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering"; + } + + identity IS_NEIGHBOR_ATTRIBUTE { + base ISIS_TLV_TYPE; + description + "ISIS TLV 23. Identical in format to TLV 22 and included in + Original LSPs or Extended LSPs. Regardless of the type of LSP + in which the TLVs appear, the information pertains to the + neighbor relationship between the Originating System and the IS + identified in the TLV"; + reference + "RFC5311: Simplified Extension of Link State PDU (LSP) Space + for IS-IS"; + } + + identity ISIS_ALIAS_ID { + base ISIS_TLV_TYPE; + description + "ISIS TLV 24. IS-Alias TLV which extension-capable ISs to + recognize the Originating System of an Extended LSP set. It + identifies the Normal system-id of the Originating System"; + reference + "RFC5311: Simplified Extension of Link State PDU (LSP) Space + for IS-IS"; + } + + identity IPV4_INTERNAL_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 128. TLV defines IP addresses within the routing + domain reachable directly via one or more interfaces on this + Intermediate system"; + reference + "RFC1195: OSI ISIS for IP and Dual Environments. RFC5302: + Domain-Wide Prefix Distribution with Two-Level IS-IS"; + } + + identity NLPID { + base ISIS_TLV_TYPE; + description + "ISIS TLV 129. TLV defines the set Network Layer Protocol + Identifiers for Network Layer protocols that this Intermediate + System is capable of relaying"; + reference + "RFC1195: Use of OSI IS-IS for Routing in TCP/IP and + Dual Environments"; + } + + identity IPV4_EXTERNAL_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 130. TLV defines IP addresses outside the routing domain + reachable via interfaces on this Intermediate system. This is permitted to + appear multiple times, and in an LSP with any LSP number. However, + this field must not appear in pseudonode LSPs"; + reference + " + RFC1195: OSI ISIS for IP and Dual Environments. RFC5302: + Domain-Wide Prefix Distribution with Two-Level IS-IS"; + } + + identity IPV4_INTERFACE_ADDRESSES { + base ISIS_TLV_TYPE; + description + "ISIS TLV 132. The IP address of one or more interfaces corresponding to + the SNPAs enabled on this Intermediate system (i.e., one or more IP + addresses of this router). This is permitted to appear multiple times, + and in an LSP with any LSP number."; + reference "RFC1195: Use of OSI IS-IS for Routing in TCP/IP and Dual Environments"; + } + + identity IPV4_TE_ROUTER_ID { + base ISIS_TLV_TYPE; + description + "ISIS TLV 134. Traffic Engineering router ID TLV that contains the 4-octet + router ID of the router originating the LSP"; + reference "RFC5305: IS-IS Extensions for Traffic Engineering"; + } + + identity EXTENDED_IPV4_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 135. Extended IP reachability TLV that provides for a 32-bit + metric and adds one bit to indicate that a prefix has been redistributed + _down_ in the hierarchy"; + reference "RFC5305: IS-IS Extensions for Traffic Engineering"; + } + + identity DYNAMIC_NAME { + base ISIS_TLV_TYPE; + description + "ISIS TLV 137. The Dynamic hostname TLV is optional. This TLV may be + present in any fragment of a non-pseudonode LSP. The value field + identifies the symbolic name of the router originating the LSP. This + symbolic name can be the FQDN for the router, it can be a subset of the + FQDN, or it can be any string operators want to use for the router."; + reference + "RFC6233: IS-IS Registry Extension for Purges, RFC 5301: Dynamic Hostname + Exchange Mechanism for IS-IS."; + } + + identity IPV4_SRLG { + base ISIS_TLV_TYPE; + description + "ISIS TLV 138. IPv4 Shared Risk Link Group TLV"; + reference + "RFC5307: IS-IS Extensions in Support of Generalized Multi-Protocol Label + Switching (GMPLS)"; + } + + identity IPV6_SRLG { + base ISIS_TLV_TYPE; + description + "ISIS TLV 139. IPv6 Shared Risk Link Group"; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS"; + } + + identity IPV6_TE_ROUTER_ID { + base ISIS_TLV_TYPE; + description + "ISIS TLV 140. The IPv6 TE Router ID TLV contains a 16-octet IPv6 address. + A stable global IPv6 address MUST be used, so that the router ID provides + a routable address, regardless of the state of a node's interfaces. If a + router does not implement traffic engineering, it MAY include or omit the + IPv6 TE Router ID TLV. If a router implements traffic engineering for + IPv6, it MUST include this TLV in its LSP. This TLV MUST NOT be included + more than once in an LSP."; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS."; + } + + identity MT_ISN { + base ISIS_TLV_TYPE; + description + "ISIS TLV 222. TLV is aligned with extended IS reachability TLV type 22 + beside an additional two bytes in front at the beginning of the TLV that. + indicate MT membership."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in Intermediate System to + Intermediate Systems (IS-ISs)"; + } + + identity MT_IS_NEIGHBOR_ATTRIBUTE { + base ISIS_TLV_TYPE; + description + "ISIS TLV 223. Is is identical in format to TLV 222. In the event that + there is a need to advertise in Extended LSPs such information associated + with neighbors of the Originating System, it is necessary to define new + TLVs to carry the sub-TLV information."; + reference "RFC5311: Simplified Extension of Link State PDU (LSP) Space for IS-IS"; + } + + identity MULTI_TOPOLOGY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 229. This MT TLV can advertise up to 127 MTs. It is announced + in IIHs and LSP fragment 0, and can occur multiple times. The resulting + MT set SHOULD be the union of all the MT TLV occurrences in the packet. + Any other IS-IS PDU occurrence of this TLV MUST be ignored. Lack of MT + TLV in hellos and fragment zero LSPs MUST be interpreted as participation + of the advertising interface or router in MT ID #0 only. If a router + advertises MT TLV, it has to advertise all the MTs it participates in, + specifically including topology ID #0 also."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in Intermediate System to + Intermediate Systems (IS-ISs)"; + } + + identity IPV6_INTERFACE_ADDRESSES { + base ISIS_TLV_TYPE; + description + "ISIS TLV 232. IPv6 Interface Address TLV that maps directly to the IP + Interface Address TLV in [RFC1195]. We necessarily modify the contents to + be 0-15 16-octet IPv6 interface addresses instead of 0-63 4-octet IPv4 + interface addresses"; + reference "RFC5308: Routing IPv6 with IS-IS."; + } + + identity MT_IPV4_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 235. TLV is aligned with extended IP reachability TLV type 135 + beside an additional two bytes in front to indicate MT membership"; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in Intermediate System to + Intermediate Systems (IS-ISs)"; + } + + identity IPV6_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 236. The IPv6 Reachability TLV describes network reachability + through the specification of a routing prefix, metric information, a bit + to indicate if the prefix is being advertised down from a higher level, a + bit to indicate if the prefix is being distributed from another routing + protocol, and OPTIONALLY the existence of Sub-TLVs to allow for later + extension."; + reference "RFC5308: Routing IPv6 with IS-IS"; + } + + identity MT_IPV6_REACHABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 237. TLV is aligned with IPv6 Reachability TLV type 236 beside + an additional two bytes in front to indicate MT membership."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in Intermediate System to + Intermediate Systems (IS-ISs)."; + } + + identity ROUTER_CAPABILITY { + base ISIS_TLV_TYPE; + description + "ISIS TLV 242. IS-IS TLV named CAPABILITY, formed of multiple sub-TLVs, + which allows a router to announce its capabilities within an IS-IS level + or the entire routing domain."; + reference + "RFC4971: Intermediate System to Intermediate System (IS-IS) + Extensions for Advertising Router Information."; + } + + identity IS_REACHABILITY_ADMIN_GROUP { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 3. Administrative group(color)."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering"; + } + + identity IS_REACHABILITY_IPV4_INTERFACE_ADDRESS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 6. IPv4 Interface Address."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_IPV4_NEIGHBOR_ADDRESS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 6. IPv4 Neighbor Address."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_MAX_LINK_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 9. Maximum Link Bandwidth."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_MAX_RESERVABLE_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 10. Maximum Reservable Bandwidth."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_UNRESERVED_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 11. Unreserved bandwidth."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_IPV6_INTERFACE_ADDRESS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 12. IPv6 Interface Address."; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS."; + } + + identity IS_REACHABILITY_IPV6_NEIGHBOR_ADDRESS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 13. IPv6 Neighbor Address."; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS."; + } + + identity IS_REACHABILITY_EXTENDED_ADMIN_GROUP { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 14. Extended Administrative Group."; + reference + "RFC7308: Extended Administrative Groups in MPLS Traffic Engineering + (MPLS-TE)."; + } + + identity IS_REACHABILITY_TE_DEFAULT_METRIC { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 18. TE Default Metric."; + reference "RFC5305: IS-IS Extensions for Traffic Engineering."; + } + + identity IS_REACHABILITY_LINK_ATTRIBUTES { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 19. Link Attributes."; + reference "RFC5209: Definition of an IS-IS Link Attribute Sub-TLV."; + } + + identity IS_REACHABILITY_LINK_PROTECTION_TYPE { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 20. Link Protection Type."; + reference + "RFC5307: IS-IS Extensions in Support of Generalized + Multi-Protocol Label Switching (GMPLS)"; + } + + identity IS_REACHABILITY_BANDWIDTH_CONSTRAINTS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 22. Bandwidth Constraints."; + reference + "RFC4124: Protocol Extensions for Support of Diffserv-aware MPLS Traffic + Engineering."; + } + + identity IS_REACHABILITY_UNCONSTRAINED_LSP { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 23. Unconstrained LSP."; + reference + "RFC5330: A Link-Type sub-TLV to Convey the Number of Traffic + Engineering Label Switched Paths Signalled with Zero + Reserved Bandwidth across a Link."; + } + + identity IS_REACHABILITY_ADJ_SID { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 31. Adjacency Segment Identifier."; + reference "draft-ietf-isis-segment-routing-extensions."; + } + + identity IS_REACHABILITY_ADJ_LAN_SID { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 32. Adjacency LAN Segment Identifier."; + reference "draft-ietf-isis-segment-routing-extensions."; + } + + identity IS_REACHABILITY_LINK_DELAY { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 33. Unidirectional Link Delay."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_MIN_MAX_LINK_DELAY { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 34. Min/Max Unidirectional Link Delay."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_LINK_DELAY_VARIATION { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 35. Unidirectional Link Delay Variation."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_LINK_LOSS { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 36. Unidirectional Link Loss Delay."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_RESIDUAL_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 37. Unidirectional Residual Bandwidth."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_AVAILABLE_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 38. Unidirectional Available Bandwidth."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IS_REACHABILITY_UTILIZED_BANDWIDTH { + base IS_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 39. Unidirectional Utilized Bandwidth."; + reference "RFC7810: IS-IS Traffic Engineering (TE) Metric Extensions."; + } + + identity IP_REACHABILITY_TAG { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 1. 32-bit Administrative Tag."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and IPv6 + Reachability."; + } + + identity IP_REACHABILITY_TAG64 { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 2. 64-bit Administrative Tag."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and IPv6 + Reachability."; + } + + identity IP_REACHABILITY_PREFIX_SID { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 3. Prefix Segment Identifier."; + reference "draft-ietf-isis-segment-routing-extension."; + } + + identity IP_REACHABILITY_PREFIX_FLAGS { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 4. Prefix Attribute Flags."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and IPv6 + Reachability."; + } + + identity IP_REACHABILITY_IPV4_ROUTER_ID { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 11. IPv4 Source Router ID."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and IPv6 + Reachability."; + } + + identity IP_REACHABILITY_IPV6_ROUTER_ID { + base IP_REACHABILITY_SUBTLVS_TYPE; + description + "sub-TLV 12. IPv6 Source Router ID."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and IPv6 + Reachability."; + } + + identity ROUTER_CAPABILITY_SR_CAPABILITY { + base ROUTER_CAPABILITY_SUBTLVS_TYPE; + description + "sub-TLV 2. Segment Routing Capability."; + reference "draft-ietf-isis-segment-routing-extensions."; + } + + identity ROUTER_CAPABILITY_SR_ALGORITHM { + base ROUTER_CAPABILITY_SUBTLVS_TYPE; + description + "sub-TLV 19. Segment Routing Algorithm."; + reference "draft-ietf-isis-segment-routing-extensions."; + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis-lsp.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis-lsp.yang new file mode 100644 index 0000000..77800d5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis-lsp.yang @@ -0,0 +1,3010 @@ +submodule openconfig-isis-lsp { + belongs-to openconfig-isis { + prefix oc-isis; + } + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-inet-types { + prefix oc-inet; + } + import openconfig-isis-types { + prefix oc-isis-types; + } + import openconfig-isis-lsdb-types { + prefix oc-isis-lsdb-types; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-mpls-types { + prefix oc-mpls-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net "; + description + "This sub-module describes a YANG model for the IS-IS Link State + Database (LSDB). + + Portions of this code were derived from IETF RFCs relating to the + IS-IS protocol. + Please reproduce this note if possible. + IETF code is subject to the following copyright and license: + Copyright (c) IETF Trust and the persons identified as authors of + the code. + All rights reserved. + Redistribution and use in source and binary forms, with or without + modification, is permitted pursuant to, and subject to the license + terms contained in, the Simplified BSD License set forth in + Section 4.c of the IETF Trust's Legal Provisions Relating + to IETF Documents (http://trustee.ietf.org/license-info)."; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + typedef isis-metric-flags { + type enumeration { + enum "INTERNAL" { + description + "When this flag is not set, internal metrics are in use."; + } + enum "UNSUPPORTED" { + description + "When this flag (referred to as the S-bit) is set, then + the metric is unsupported."; + } + } + description + "Type definition for flags used in IS-IS metrics"; + } + + grouping isis-lsdb-link-characteristics-a-bit { + description + "Definition of the A bit, as used in IS-IS link delay TLVs."; + leaf a-bit { + type boolean; + description + "The A bit is set when the measured value of this parameter + exceeds its configured maximum threshold. The A bit is cleared + when the measured value falls below its configured reuse + threshold."; + } + } + + grouping isis-lsdb-tlv-nlpid-state { + description + "NLP ID parameters for IS-IS."; + leaf-list nlpid { + type enumeration { + enum "IPV4" { + description + "IPv4 Address family."; + } + enum "IPV6" { + description + "IPv6 Address family."; + } + } + description + "Protocol supported. IPv4 is defined as (0xcc) and IPv6 - + (0x8e)"; + reference + "RFC1195: Use of OSI IS-IS for Routing in TCP/IP and + Dual Environments. TLV 129. "; + } + } + + grouping isis-lsdb-subtlv-type-state { + description + "Per-subTLV type operational state parameters for ISIS."; + leaf type { + type identityref { + base oc-isis-lsdb-types:ISIS_SUBTLV_TYPE; + } + description + "The type of subTLV being described. The type of subTLV is + expressed as a canonical name."; + } + } + + grouping isis-lsdb-tlv-type-state { + description + "Per-subTLV type operational state parameters for ISIS."; + leaf type { + type identityref { + base oc-isis-lsdb-types:ISIS_TLV_TYPE; + } + description + "The type of TLV being described. The type of TLV is + expressed as a canonical name."; + } + } + + grouping is-reachability-neighbor-state { + description + "This grouping defines is-reachability neighbor."; + container subtlvs { + description + "This container describes IS Neighbor sub-TLVs."; + list subtlv { + key "type"; + description + "List of subTLV types in the LSDB for the specified TLV."; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the sub-TLV type."; + } + container state { + description + "State parameters of IS neighbor state"; + uses isis-lsdb-subtlv-type-state; + } + container admin-group { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_ADMIN_GROUP'" { + description + "Only include the administrative group container when + the sub-TLV is type 3"; + } + description + "This container defines sub-TLV 3."; + container state { + description + "State parameters of sub-TLV 3."; + leaf-list admin-group { + type uint32; + description + "The administrative group sub-TLV contains a 4-octet + bit mask assigned by the network administrator. Each + set bit corresponds to one administrative group + assigned to the interface. By convention, the least + significant bit is referred to as group 0, and the + most significant bit is referred to as group 31."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + sub-TLV 3: TLV 22,23,141,222, 223."; + } + } + } + container ipv4-interface-address { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_IPV4_INTERFACE_ADDRESS'" { + description + "Only include the IPv4 interface address group container + when the sub-TLV is type 6"; + } + description + "This container defines sub-TLV 6."; + container state { + description + "State parameters of sub-TLV 6."; + leaf-list ipv4-interface-address { + type oc-inet:ipv4-address; + description + "A 4-octet IPv4 address for the interface described by + the (main) TLV. This sub-TLV can occur multiple + times."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + sub-TLV 6: TLV 22,23,41,222,223."; + } + } + } + container ipv4-neighbor-address { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_IPV4_NEIGHBOR_ADDRESS'" { + description + "Only include the IPv4 neighbor address container when + the sub-TLV is type 8."; + } + description + "This container defines sub-TLV 8."; + container state { + description + "State parameters of sub-TLV 8."; + leaf-list ipv4-neighbor-address { + type oc-inet:ipv4-address; + description + "A single IPv4 address for a neighboring router on + this link. This sub-TLV can occur multiple times."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + sub-TLV 8: TLV 22,23, 141,222,223."; + } + } + } + container max-link-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_MAX_LINK_BANDWIDTH'" { + description + "Only include the maximum link bandwidth container when + the sub-TLV is type 9."; + } + description + "This container defines sub-TLV 9."; + container state { + description + "State parameters of sub-TLV 9."; + leaf max-link-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The maximum bandwidth that can be used on this link + in this direction (from the system originating the LSP + to its neighbors). It is encoded in 32 bits in IEEE + floating point format. The units are bytes (not + bits!) per second."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + sub-TLV 9: TLV 22,23,141,222,223."; + } + } + } + container max-reservable-link-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_MAX_RESERVABLE_BANDWIDTH'" { + description + "Only include the maximum reservable link bandwidth + container when the sub-TLV type is 10."; + } + description + "This container defines sub-TLV 10."; + container state { + description + "State parameters of sub-TLV 10."; + leaf max-reservable-link-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The maximum amount of bandwidth that can be reserved + in this direction on this link. Note that for + oversubscription purposes, this can be greater than + the bandwidth of the link. It is encoded in 32 bits + in IEEE floating point format. The units are bytes + (not bits!) per second."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + Sub-TLV 10: TLV 22,23,141,222,223."; + } + } + } + container unreserved-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_UNRESERVED_BANDWIDTH'" { + description + "Only include the unreserved bandwidth container when + the sub-TLV type is 11."; + } + description + "This container defines unreserved-bandwidth. The units + are bytes per second."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. sub- + TLV 11: TLV 22,23,141,222,223"; + list setup-priority { + key "priority"; + description + "Setup priority (0 through 7) for unreserved + bandwidth."; + leaf priority { + type leafref { + path "../state/priority"; + } + description + "Reference to the setup priority to which the + unreserved bandwidth corresponds."; + } + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 11."; + leaf priority { + type uint8 { + range "0 .. 7"; + } + description + "Setup priority level of 0 through 7 to be used by + Unreserved Bandwidth sub-TLV 11."; + } + leaf unreserved-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The amount of bandwidth reservable in this + direction on this link. Note that for + oversubscription purposes, this can be greater than + the bandwidth of the link. It contains eight 32-bit + IEEE floating point numbers(one for each priority). + The units are bytes (not bits!) per second. The + values correspond to the bandwidth that can be + reserved with a setup priority of 0 through 7, + arranged in increasing order with priority 0 + occurring at the start of the sub-TLV, and priority + 7 at the end of the sub-TLV."; + } + } + } + } + container ipv6-interface-address { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_IPV6_INTERFACE_ADDRESS'" { + description + "Only include the IPv6 interface address when the + sub-TLV type is 12."; + } + description + "This container defines sub-TLV 12."; + container state { + description + "State parameters of sub-TLV 12."; + leaf-list ipv6-interface-address { + type oc-inet:ipv6-address; + description + "Contains a 16-octet IPv6 address for the interface + described by the containing Extended IS Reachability + TLV. This sub-TLV can occur multiple times."; + reference + "RFC6119: IPv6 Traffic Engineering in IS-IS. sub-TLV + 12: TLV 22,23,141,222,223."; + } + } + } + container ipv6-neighbor-address { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_IPV6_NEIGHBOR_ADDRESS'" { + description + "Only include the IPv6 neighbor address when the + sub-TLV type is 13."; + } + description + "This container defines sub-TLV 13."; + container state { + description + "State parameters of sub-TLV 13."; + leaf-list ipv6-neighbor-address { + type oc-inet:ipv6-address; + description + "Contains a 16-octet IPv6 address for a neighboring + router on the link described by the (main) TLV. This + sub-TLV can occur multiple times."; + reference + "RFC6119: IPv6 Traffic Engineering in IS-IS. sub-TLV + 13: ISIS TLV 22,23,141,222,223."; + } + } + } + container extended-admin-group { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_EXTENDED_ADMIN_GROUP'" { + description + "Only include the extended admin group when the + sub-TLV type is 14."; + } + description + "This container defines sub-TLV 14."; + container state { + description + "State parameters of sub-TLV 14."; + leaf-list extended-admin-group { + type uint32; + description + "The extended-admin-group sub-TLV is used in addition + to the Administrative Groups when it is desirable to + make more than 32 colors available for advertisement + in a network."; + reference + "RFC7308: Extended Administrative Groups in MPLS + Traffic Engineering (MPLS-TE). sub-TLV 14: TLV + 22,23,141,222,223."; + } + } + } + container te-default-metric { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_TE_DEFAULT_METRIC'" { + description + "Only include the default traffic engineering metric + container when the sub-TLV type is 18."; + } + description + "This container defines sub-TLV 18."; + container state { + description + "State parameters of sub-TLV 18."; + leaf te-default-metric { + type uint32; + description + "This metric is administratively assigned and can be + used to present a differently weighted topology to + traffic engineering SPF calculations. To preclude + overflow within a traffic engineering SPF + implementation, all metrics greater than or equal to + MAX_PATH_METRIC SHALL be considered to have a metric + of MAX_PATH_METRIC."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. + sub-TLV 18: TLV 22,23,141,222,223."; + } + } + } + container link-attributes { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_LINK_ATTRIBUTES'" { + description + "Only include the link attributes container when the + sub-TLV is type 19."; + } + description + "This container defines link-attributes."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 19."; + leaf-list local-protection { + type enumeration { + enum "LOCAL_PROTECTION" { + description + "If set, local protection is available for the + link."; + } + enum "LINK_EXCLUDED" { + description + "If set, the link is excluded from local + protection."; + } + } + description + "Link local-protection attributes."; + reference + "RFC5029: Definition of an IS-IS Link Attribute Sub- + TLV. TLV 22, sub-TLV 19."; + } + } + } + container link-protection-type { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_LINK_PROTECTION_TYPE'" { + description + "Only include the link protection type container when + the sub-TLV type 20."; + } + description + "ISIS LSDB parameters relating to the type of link + protection offered."; + container state { + description + "State parameters of sub-TLV 20."; + leaf-list link-protection-type { + type enumeration { + enum "EXTRA_TRAFFIC" { + description + "If set the link has extra traffic protection. If + the link is of type Extra Traffic, it means that + the link is protecting another link or links. The + LSPs on a link of this type will be lost if any of + the links it is protecting fail."; + } + enum "UNPROTECTED" { + description + "If set, the link is unprotected. If the link is + of type Unprotected, it means that there is no + other link protecting this link. The LSPs on a + link of this type will be lost if the link + fails."; + } + enum "SHARED" { + description + "If set, the link has shared protection. If the + link is of type Shared, it means that there are + one or more disjoint links of type Extra Traffic + that are protecting this link. These Extra + Traffic links are shared between one or more links + of type Shared."; + } + enum "ONE_ONE" { + description + "If set, the link has dedicated 1:1 protection. If + the link is of type Dedicated 1:1, it means that + there is one dedicated disjoint link of type Extra + Traffic that is protecting this link."; + } + enum "PLUS_ONE" { + description + "If set, the link has dedicated 1+1 protection. If + the link is of type Dedicated 1+1, it means that a + dedicated disjoint link is protecting this link. + However, the protecting link is not advertised in + the link state database and is therefore not + available for the routing of LSPs."; + } + enum "ENHANCED" { + description + "If set the link has enhanced protection. If the + link is of type Enhanced, it means that a + protection scheme that is more reliable than + Dedicated 1+1, e.g., 4 fiber BLSR/MS-SPRING, is + being used to protect this link."; + } + } + description + "Link protection capabilities."; + reference + "RFC5307: IS-IS Extensions in Support of Generalized + Multi-Protocol Label Switching (GMPLS). sub-TLV 20: + TLV 22,23,141,222,223."; + } + } + } + container bandwidth-constraints { + when "../state/type ='oc-isis-lsdb-types:IS_REACHABILITY_BANDWIDTH_CONSTRAINTS'" { + description + "Only include the bandwidth constraints container when + the sub-TLV is type 22."; + } + description + "This container defines bandwidth-constraints. For DS-TE, + the existing Maximum Reservable link bandwidth parameter + is retained, but its semantics is generalized and + interpreted as the aggregate bandwidth constraint across + all Class-Types"; + reference + "RFC4124: Protocol Extensions for Support of Diffserv- + aware MPLS Traffic Engineering. sub-TLV 22: TLV 22, 23, + 141, 222,223"; + list bandwidth-constraint { + key "model-id"; + description + "List of the Bandwidth Constraints sub-TLV instances + present in the TLV."; + leaf model-id { + type leafref { + path "../state/model-id"; + } + description + "Reference to the model ID associated with the + instance of the Bandwidth Constraints sub-TLV."; + } + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 22."; + leaf model-id { + type uint8; + description + "Identifier for the Bandwidth Constraints Model + currently in use by the LSR initiating the IGP + advertisement."; + } + } + container constraints { + description + "Constraints contained within the Bandwidth Constraints sub-TLV"; + list constraint { + key "constraint-id"; + description + "List of the constraints within the Bandwidth Constraints + sub-TLV. The BC0 level is indicated by the constraint-id + leaf being set to 0, with BCN being indicated by constraint-id + N."; + leaf constraint-id { + type leafref { + path "../state/constraint-id"; + } + description + "Reference to the unique ID for the BCN level."; + } + container state { + description + "Operational state parameters of the BCN level"; + leaf constraint-id { + type uint32; + description + "Unique reference for the bandwidth constraint level. BC0 + is indicated by this leaf being set to zero, with BCN + represented by this leaf being set to N."; + } + leaf bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The bandwidth constraint, expressed as a 32-bit IEEE + floating point number expressed in bytes per second."; + } + } + } + } + } + } + container unconstrained-lsp { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_UNCONSTRAINED_LSP'" { + description + "Only include the unconstrained LSP container when the + sub-TLV is type 23."; + } + description + "This container defines sub-TLV 23."; + container state { + description + "State parameters of sub-TLV 23."; + uses isis-lsdb-subtlv-type-state; + leaf unconstrained-lsp { + type uint16; + description + "Unconstrained TE LSP count(TE Label Switched Paths + (LSPs) signalled with zero bandwidth)."; + reference + "RFC5330: A Link-Type sub-TLV to Convey the Number of + Traffic Engineering Label Switched Paths Signalled + with Zero Reserved Bandwidth across a Link. sub-TLV + 23: TLV 22,23,141,222,223"; + } + } + } + container adjacency-sids { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_ADJ_SID'" { + description + "Only include the adjacency SIDs container when the + sub-TLV type is 31"; + } + description + "This container defines segment routing adjacency SIDs."; + reference + "draft-ietf-isis-segment-routing-extensions. sub-TLV 31: + TLV 22, 222, 223, 141. "; + list adjacency-sid { + key "value"; + description + "Adjacency Segment-IDs List. An IGP-Adjacency Segment is + an IGP segment attached to a unidirectional adjacency or + a set of unidirectional adjacencies. By default, an IGP- + Adjacency Segment is local to the node which advertises + it."; + leaf value { + type leafref { + path "../state/value"; + } + description + "Reference to the value of the Adjacency-SID."; + } + container state { + description + "State parameters of Adjacency-SID."; + leaf value { + type uint32; + description + "Adjacency-SID value."; + } + leaf-list flags { + type enumeration { + enum "ADDRESS_FAMILY" { + description + "Address-family flag. When unset, the Adj-SID + refers to an adjacency with outgoing IPv4 + encapsulation. If set then the Adj-SID refers to + an adjacency with outgoing IPv6 encapsulation."; + } + enum "BACKUP" { + description + "Backup flag. When set, the Adj-SID refers to an + adjacency being protected (e.g.: using IPFRR or + MPLS-FRR)."; + } + enum "VALUE" { + description + "Value flag. When set, the SID carries a value + (instead of an index). By default the flag is + SET."; + } + enum "LOCAL" { + description + "Local flag. When set, the value/index carried + by the SID has local significance. By default + the flag is SET."; + } + enum "SET" { + description + "Set flag. When set, the S-Flag indicates that + the Adj-SID refers to a set of adjacencies."; + } + } + description + "Flags associated with Adj-Segment-ID."; + } + leaf weight { + type uint8; + description + "Value that represents the weight of the Adj-SID for + the purpose of load balancing."; + } + } + } + } + container lan-adjacency-sids { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_ADJ_LAN_SID'" { + description + "Only include the LAN adjacency SID container when + the sub-TLV is type 32."; + } + description + "This container defines segment routing LAN adjacency + SIDs"; + reference + "draft-ietf-isis-segment-routing-extensions. sub-TLV 32: + TLV 22, 222, 223, 141."; + list lan-adjacency-sid { + key "value"; + description + "Adjacency Segment-IDs List. An IGP-Adjacency Segment is + an IGP segment attached to a unidirectional adjacency or + a set of unidirectional adjacencies. By default, an IGP- + Adjacency Segment is local to the node which advertises + it."; + leaf value { + type leafref { + path "../state/value"; + } + description + "Reference to the value of the LAN Adjacency-SID."; + } + container state { + description + "State parameters of LAN Adjacency-SID."; + leaf value { + type uint32; + description + "LAN Adjacency-SID value."; + } + leaf-list flags { + type enumeration { + enum "ADDRESS_FAMILY" { + description + "Address-family flag. When unset, the Adj-SID + refers to an adjacency with outgoing IPv4 + encapsulation. If set then the Adj-SID refers to + an adjacency with outgoing IPv6 encapsulation."; + } + enum "BACKUP" { + description + "Backup flag. When set, the Adj-SID refers to an + adjacency being protected (e.g.: using IPFRR or + MPLS-FRR)."; + } + enum "VALUE" { + description + "Value flag. When set, the SID carries a value + (instead of an index). By default the flag is + SET."; + } + enum "LOCAL" { + description + "Local flag. When set, the value/index carried + by the SID has local significance. By default + the flag is SET."; + } + enum "SET" { + description + "Set flag. When set, the S-Flag indicates that + the Adj-SID refers to a set of adjacencies."; + } + } + description + "Flags associated with LAN-Adj-Segment-ID."; + } + leaf weight { + type uint8; + description + "Value that represents the weight of the Adj-SID + for the purpose of load balancing."; + } + leaf neighbor-id { + type oc-isis-types:system-id; + description + "System ID of the neighbor associated with the LAN- + Adj-Segment-ID value."; + } + } + } + } + container link-delay { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_LINK_DELAY'" { + description + "Include the link delay container only when the sub-TLV + type is type 33."; + } + description + "This container defines unidirectional link delay."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 33: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 33."; + uses isis-lsdb-link-characteristics-a-bit; + leaf delay { + type uint32; + units "microseconds"; + description + "Average link delay value (in microseconds) between + two directly connected IS-IS neighbors over a + configurable interval."; + } + } + } + container min-max-link-delay { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_MIN_MAX_LINK_DELAY'" { + description + "Only include the min/max link delay container when the + sub-TLV is type 34."; + } + description + "This container defines min/max link delay."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 34: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 34."; + uses isis-lsdb-link-characteristics-a-bit; + leaf min-delay { + type uint32; + units "microseconds"; + description + "Minimum measured link delay value(in microseconds) + between two directly connected IS-IS neighbors over a + configurable interval."; + } + leaf max-delay { + type uint32; + units "microseconds"; + description + "Maximum measured link delay value(in microseconds) + between two directly connected IS-IS neighbors over a + configurable interval."; + } + } + } + container link-delay-variation { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_LINK_DELAY_VARIATION'" { + description + "Only include the link delay variation container when + the sub-TLV is type 35."; + } + description + "This container defines unidirectional link delay + variation."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 35: TLV 22,23,141,222,223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 35."; + leaf delay { + type uint32; + units "microseconds"; + description + "Average link delay between two directly connected IS- + IS neighbors over a configurable interval."; + } + } + } + container link-loss { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_LINK_LOSS'" { + description + "Only include the link loss container when the sub-TLV + is type 36."; + } + description + "This container defines unidirectional link loss delay."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 36: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 36."; + uses isis-lsdb-link-characteristics-a-bit; + leaf link-loss { + type uint32; + description + "Link packet loss as a percentage of the total traffic + sent over a configurable interval. The basic unit is + 0.000003%, where (2^24 - 2) is 50.331642%. This value + is the highest packet-loss percentage that can be + expressed (the assumption being that precision is more + important on high-speed links than the ability to + advertise loss rates greater than this, and that high- + speed links with over 50% loss are unusable). + Therefore, measured values that are larger than the + field maximum SHOULD be encoded as the maximum + value."; + } + } + } + container residual-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_RESIDUAL_BANDWIDTH'" { + description + "Only include the resdiual bandwidth container when the + sub-TLV is type 37."; + } + description + "This container defines unidirectional residual + bandwidth."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 37: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 37."; + leaf residual-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "Residual bandwidth on a link,forwarding adjacency + [RFC4206], or bundled link in IEEE floating-point + format with units of bytes per second. For a link or + forwarding adjacency, residual bandwidth is defined to + be the Maximum Bandwidth [RFC5305] minus the bandwidth + currently allocated to RSVP-TE label switched paths. + For a bundled link, residual bandwidth is defined to + be the sum of the component link residual + bandwidths."; + } + } + } + container available-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_AVAILABLE_BANDWIDTH'" { + description + "Only include the available bandwdith container when the + sub-TLV is type 38."; + } + description + "This container defines unidirectional lavailable + bandwidth."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 38: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 38."; + uses isis-lsdb-subtlv-type-state; + leaf available-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The available bandwidth on a link, forwarding + adjacency, or bundled link in IEEE floating-point + format with units of bytes per second. For a link or + forwarding adjacency, available bandwidth is defined + to be residual bandwidth minus the measured bandwidth + used for the actual forwarding of non-RSVP-TE label + switched path packets. For a bundled link, available + bandwidth is defined to be the sum of the component + link available bandwidths minus the measured bandwidth + used for the actual forwarding of non-RSVP-TE label + switched path packets. For a bundled link, available + bandwidth is defined to be the sum of the component + link available bandwidths."; + } + } + } + container utilized-bandwidth { + when "../state/type = 'oc-isis-lsdb-types:IS_REACHABILITY_UTILIZED_BANDWIDTH'" { + description + "Only include the utilized bandwidth container when the + TLV is type 39."; + } + description + "This container defines unidirectional utilized + bandwidth."; + reference + "RFC7810: IS-IS Traffic Engineering (TE) Metric + Extensions. sub-TLV 39: TLV 22, 23, 141, 222, 223."; + container state { + description + "State parameters of IS Extended Reachability sub-TLV + 39."; + uses isis-lsdb-subtlv-type-state; + leaf utilized-bandwidth { + type oc-types:ieeefloat32; + units "bytes per second"; + description + "The bandwidth utilization on a link, forwarding + adjacency, or bundled link in IEEE floating-point + format with units of bytes per second. For a link or + forwarding adjacency, bandwidth utilization represents + the actual utilization of the link (i.e., as measured + by the advertising node). For a bundled link, + bandwidth utilization is defined to be the sum of the + component link bandwidth utilizations."; + } + } + } + } + } + uses isis-lsdb-undefined-subtlv; + } + + grouping isis-lsdb-undefined-tlv { + description + "Grouping for unknown TLVs in the IS-IS LSDB"; + container undefined-tlvs { + description + "Surrounding container for a list of unknown TLVs."; + list undefined-tlv { + key "type"; + description + "List of TLVs that are not defined within the model, or are + not recognised by the system."; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the undefined TLV's type"; + } + container state { + description + "State parameters of the undefined TLV."; + uses undefined-tlv-state; + } + } + } + } + + grouping isis-lsdb-undefined-subtlv { + description + "Grouping for unknown Sub-TLVs in the IS-IS LSDB."; + container undefined-subtlvs { + description + "This container describes undefined ISIS TLVs."; + list undefined-subtlv { + key "type"; + description + "Sub-TLVs that are not defined in the model or not + recognised by system."; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the type of the undefined sub-TLV"; + } + container state { + description + "State parameters of the undefined sub-TLV."; + uses undefined-subtlv-state; + } + } + } + } + + grouping isis-lsdb-prefix-state { + description + "This grouping defines prefix reachability."; + container subtlvs { + description + "This container describes IS prefix sub-TLVs."; + list subtlv { + key "type"; + description + "List of subTLV types in the LSDB for the specified TLV."; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the sub-TLV type"; + } + container state { + description + "State parameters for a prefix."; + uses isis-lsdb-subtlv-type-state; + } + container tag { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_TAG'" { + description + "Only include the tag container when the sub-TLV is type 1."; + } + description + "This container defines sub-TLV 1."; + container state { + description + "State parameters of sub-TLV 1."; + leaf-list tag32 { + type uint32; + description + "List of 32-bit tags associated with the prefix. Example + uses of these tags include carrying BGP standard (or + extended) communities and controlling redistribution + between levels and areas, different routing protocols, + or multiple instances of IS-IS running on the same + router."; + reference + "RFC5130: A Policy Control Mechanism in IS-IS Using + Administrative Tags. sub-TLV 1."; + } + } + } + container tag64 { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_TAG64'" { + description + "Only include the tag64 container when the sub-TLV is type 2."; + } + description + "This container defines sub-TLV 2."; + container state { + description + "State parameters of sub-TLV 2."; + leaf-list tag64 { + type uint64; + description + "List of 64-bit tags associated with the prefix. Example + uses of these tags include carrying BGP standard (or + extended) communities and controlling redistribution + between levels and areas, different routing protocols, + or multiple instances of IS-IS running on the same + router."; + reference + "RFC5130: A Policy Control Mechanism in IS-IS Using + Administrative Tags. sub-TLV 2."; + } + } + } + container flags { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_PREFIX_FLAGS'" { + description + "Only include the flags container when the sub-TLV is type 4."; + } + description + "This container defines sub-TLV 4."; + container state { + description + "State parameters of sub-TLV 4."; + uses isis-lsdb-subtlv-type-state; + leaf-list flags { + type enumeration { + enum "EXTERNAL_FLAG" { + description + "External prefix flag. Set if the prefix has been + redistributed from another protocol. This includes + the case where multiple virtual routers are + supported and the source of the redistributed prefix + is another IS-IS instance."; + } + enum "READVERTISEMENT_FLAG" { + description + "Readvertisement flag. Set when the prefix has been + leaked from one level to another (upwards or + downwards)."; + } + enum "NODE_FLAG" { + description + "Node flag. Set when the prefix identifies the + advertising router, i.e., the prefix is a host + prefix advertising a globally reachable address + typically associated with a loopback address."; + } + } + description + "Additional prefix reachability flags."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 and + IPv6 Reachability. sub-TLV 4."; + } + } + } + container ipv4-source-router-id { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_IPV4_ROUTER_ID'" { + description + "Only include the IPv4 Source Router ID container when + the sub-TLV is type 11."; + } + description + "This container defines sub-TLV 11."; + container state { + description + "State parameters of sub-TLV 11."; + uses isis-lsdb-subtlv-type-state; + leaf ipv4-source-router-id { + type oc-inet:ipv4-address; + description + "IPv4 Source router ID address. In cases where the + advertisement is an identifier for the advertising + router (e.g., with the N-flag set in the Prefix + Attribute Flags sub-TLV), it may be useful for other + routers to know the source of the advertisement. When + reachability advertisement is leaked from one level to + another, Router ID advertised is always the Router ID + of the IS-IS instance that originated the + advertisement. This would be true even if the prefix + had been learned from another protocol."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 + and IPv6 Reachability. sub-TLV 11"; + } + } + } + container ipv6-source-router-id { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_IPV6_ROUTER_ID'" { + description + "Only include the IPv6 Source Router ID container when + the sub-TLV is type 12."; + } + description + "This container defines sub-TLV 12."; + container state { + description + "State parameters of sub-TLV 12."; + uses isis-lsdb-subtlv-type-state; + leaf ipv6-source-router-id { + type oc-inet:ipv6-address; + description + "IPv6 Source router ID address. In cases where the + advertisement is an identifier for the advertising + router (e.g., with the N-flag set in the Prefix + Attribute Flags sub-TLV), it may be useful for other + routers to know the source of the advertisement. When + reachability advertisement is leaked from one level to + another, Router ID advertised is always the Router ID + of the IS-IS instance that originated the + advertisement. This would be true even if the prefix + had been learned from another protocol."; + reference + "RFC7794: IS-IS Prefix Attributes for Extended IPv4 + and IPv6 Reachability. sub-TLV 12."; + } + } + } + uses isis-lsdb-prefix-sid-state; + } + } + uses isis-lsdb-undefined-subtlv; + } + + grouping isis-lsdb-prefix-sid-state { + description + "This grouping defines ISIS Prefix SID."; + container prefix-sids { + when "../state/type = 'oc-isis-lsdb-types:IP_REACHABILITY_PREFIX_SID'" { + description + "Only include the Prefix SID container when + the sub-TLV is type 3."; + } + description + "This container defines segment routing extensions for + prefixes."; + reference + "draft-ietf-isis-segment-routing-extensions. sub-TLV 3: TLV + 135, 235, 236, 237."; + list prefix-sid { + key "value"; + description + "Prefix Segment-ID list. IGP-Prefix Segment is an IGP segment + attached to an IGP prefix. An IGP-Prefix Segment is global + (unless explicitly advertised otherwise) within the SR/IGP + domain."; + leaf value { + type leafref { + path "../state/value"; + } + description + "Reference to the value of the prefix SID."; + } + container state { + description + "State parameters for Prefix-SID."; + leaf value { + type uint32; + description + "IGP Prefix-SID value."; + } + leaf-list flags { + type enumeration { + enum "READVERTISEMENT" { + description + "Readvertisment flag. When set, the prefix to which + this Prefix-SID is attached, has been propagated by + the router either from another level or from + redistribution."; + } + enum "NODE" { + description + "Node flag. When set, the Prefix-SID refers to the + router identified by the prefix. Typically, the + N-Flag is set on Prefix-SIDs attached to a router + loopback address."; + } + enum "PHP" { + description + "Penultimate-Hop-Popping flag. When set, then the + penultimate hop MUST NOT pop the Prefix-SID before + delivering the packet to the node that advertised + the Prefix-SID."; + } + enum "EXPLICIT_NULL" { + description + "Explicit-Null flag. When set, any upstream neighbor + of the Prefix-SID originator MUST replace the + Prefix-SID with a Prefix-SID having an Explicit-NULL + value (0 for IPv4 and 2 for IPv6) before forwarding + the packet."; + } + enum "VALUE" { + description + "Value flag. When set, the Prefix-SID carries a + value (instead of an index). By default the flag is + UNSET."; + } + enum "LOCAL" { + description + "Local flag. When set, the value/index carried by + the Prefix-SID has local significance. By default + the flag is UNSET."; + } + } + description + "Flags associated with Prefix Segment-ID."; + } + leaf algorithm { + type uint8; + description + "Prefix-SID algorithm to be used for path computation."; + } + } + } + } + } + + grouping isis-lsdb-common-metric-specification { + description + "Common definitions of the metric in IS-IS."; + container default-metric { + description + "This container defines ISIS Default Metric."; + container state { + description + "State parameters for default-metric."; + leaf flags { + type enumeration { + enum "INTERNAL" { + description + "When set to zero, indicates internal metrics."; + } + } + description + "ISIS Default-Metric Flags."; + } + leaf default-metric { + type oc-isis-types:narrow-metric; + description + "ISIS default metric value. This is a metric understood by + every Intermediate system in the domain. Each circuit + shall have a positive integral value assigned for this + metric. The value may be associated with any objective + function of the circuit, but by convention is intended to + measure the capacity of the circuit for handling traffic, + for example, its throughput in bits-per-second. Higher + values indicate a lower capacity."; + } + } + } + container delay-metric { + description + "This container defines the ISIS delay metric."; + container state { + description + "State parameters of delay-metric."; + leaf metric { + type oc-isis-types:narrow-metric; + description + "ISIS delay metric value. This metric measures the transit + delay of the associated circuit. It is an optional metric, + which if assigned to a circuit shall have a positive + integral value. Higher values indicate a longer transit + delay."; + } + leaf-list flags { + type isis-metric-flags; + description + "ISIS Delay Metric Flags."; + } + } + } + container expense-metric { + description + "This container defines the ISIS expense metric."; + container state { + description + "State parameters of expense-metric."; + leaf metric { + type oc-isis-types:narrow-metric; + description + "ISIS expense metric value. This metric measures the + monetary cost of utilising the associated circuit. It is + an optional metric, which if assigned to a circuit shall + have a positive integral value1). Higher values indicate a + larger monetary expense."; + } + leaf-list flags { + type isis-metric-flags; + description + "ISIS Expense Metric Flags."; + } + } + } + container error-metric { + description + "This container defines the ISIS error metric."; + container state { + description + "State parameters of error-metric."; + leaf metric { + type oc-isis-types:narrow-metric; + description + "ISIS error metric value. This metric measures the + residual error probability of the associated circuit. It + is an optional metric, which if assigned to a circuit + shall have a non-zero value. Higher values indicate a + larger probability of undetected errors on the circuit."; + } + leaf-list flags { + type isis-metric-flags; + description + "IS-IS error metric flags."; + } + } + } + } + + grouping isis-lsdb-neighbor { + description + "This grouping defines attributes of an ISIS standard + neighbor."; + container state { + description + "State parameters of IS standard neighbor."; + leaf system-id { + type oc-isis-types:system-id; + description + "System-ID of IS neighbor."; + } + } + uses isis-lsdb-common-metric-specification; + } + + grouping ipv4-prefix-attributes-state { + description + "This group defines attributes of an IPv4 standard prefix."; + container state { + description + "State parameters of IPv4 standard prefix."; + leaf up-down { + type boolean; + description + "The up/down bit. Set if a prefix is advertised from a + higher level to a lower level (e.g., level 2 to level 1), + indicating that the prefix has traveled down the hierarchy. + Prefixes that have the up/down bit set may only be + advertised down the hierarchy, i.e., to lower levels. When a + prefix is first injected into IS-IS, the bit is UNSET."; + } + leaf prefix { + type oc-inet:ipv4-prefix; + description + "IPv4 prefix contained within reachability TLVs."; + } + } + uses isis-lsdb-common-metric-specification; + } + + grouping isis-lsdb-common-mt-id { + description + "Common definition of the multi-topology ID"; + leaf mt-id { + type uint16 { + range "0..4095"; + } + description + "Multi-topology ID"; + } + } + + grouping ipv4-prefix-extended-state { + description + "This grouping defines attributes of an IPv4 extended prefix."; + container state { + description + "State parameters of an IPv4 extended prefix."; + uses ipv4-prefix-extended-params-state; + } + uses isis-lsdb-prefix-state; + } + + grouping ipv4-mt-prefix-extended-state { + description + "State parameters that relate to an IPv4 prefix in a + multi-topology context."; + container state { + description + "State parameters of an IPv4 extended prefix."; + uses ipv4-prefix-extended-params-state; + uses isis-lsdb-common-mt-id; + } + uses isis-lsdb-prefix-state; + } + + grouping ipv4-prefix-extended-params-state { + description + "State parameters that relate to an IPv4 prefix"; + leaf up-down { + type boolean; + description + "The up/down bit. Set if a prefix is advertised from a + higher level to a lower level (e.g., level 2 to level 1), + indicating that the prefix has traveled down the hierarchy. + Prefixes that have the up/down bit set may only be + advertised down the hierarchy, i.e., to lower levels. When a + prefix is first injected into IS-IS, the bit is UNSET."; + } + leaf s-bit { + type boolean; + description + "The Sub-TLV present bit. If UNSET, the octets of Sub-TLVs + are not present. Otherwise, the bit is set and the octet + following the prefix will contain the length of the Sub-TLV + portion of the structure."; + } + leaf prefix { + type oc-inet:ipv4-prefix; + description + "IPv4 prefix contained within extended reachability TLVs."; + } + leaf metric { + type oc-isis-types:wide-metric; + description + "ISIS metric value."; + } + } + + grouping ipv6-prefix-extended-state { + description + "State parameters relating to an IPv6 prefix."; + container state { + description + "State parameters of IPv6 prefix attributes"; + uses ipv4-prefix-extended-params-state; + } + uses isis-lsdb-prefix-state; + } + + grouping ipv6-mt-prefix-extended-state { + description + "State parameters relating to a multi-topology IPv6 + prefix."; + container state { + description + "State parameters relating an IPv6 prefix attribute"; + uses ipv6-prefix-extended-params-state; + uses isis-lsdb-common-mt-id; + } + uses isis-lsdb-prefix-state; + } + + grouping ipv6-prefix-extended-params-state { + description + "Common parameters of an IPv6 extended prefix."; + leaf up-down { + type boolean; + description + "The up/down bit. Set if a prefix is advertised from a + higher level to a lower level (e.g., level 2 to level 1), + indicating that the prefix has traveled down the hierarchy. + Prefixes that have the up/down bit set may only be + advertised down the hierarchy, i.e., to lower levels. When a + prefix is first injected into IS-IS, the bit is UNSET."; + } + leaf x-bit { + type boolean; + description + "The external bit. Set when the prefix was distributed into + IS-IS from another routing protocol."; + } + leaf s-bit { + type boolean; + description + "The sub-tlv present bit. If UNSET, the octets of Sub-TLVs + are not present. Otherwise, the bit is set and the octet + following the prefix will contain the length of the Sub-TLV + portion of the structure."; + } + leaf prefix { + type oc-inet:ipv6-prefix; + description + "IPv6 prefix contained within extended reachability TLVs."; + } + leaf metric { + type oc-isis-types:wide-metric; + description + "ISIS metric value."; + } + } + + grouping mt-isis-neighbor { + description + "This grouping defines list of ISIS multi-topology neighbors for + extended ISIS LSP(multiple system IDs)."; + container state { + description + "State parameters of MT neighbor."; + leaf mt-id { + type uint16 { + range "0..4095"; + } + description + "Identifier of a topology being announced."; + } + leaf system-id { + type oc-isis-types:system-id; + description + "System-id of the IS neighbor."; + } + leaf metric { + type oc-isis-types:wide-metric; + description + "ISIS metric value."; + } + } + uses is-reachability-neighbor-state; + } + + grouping isis-lsdb-generic-tlv { + description + "Generic TLV encoding grouping."; + leaf type { + type uint8; + description + "TLV Type."; + } + leaf length { + type uint8; + description + "TLV length."; + } + leaf value { + type binary; + description + "TLV value."; + } + } + + grouping undefined-tlv-state { + description + "Generic grouping defining an unknown TLV."; + uses isis-lsdb-generic-tlv; + } + + grouping undefined-subtlv-state { + description + "Generic grouping defining an unknown sub-TLV."; + uses isis-lsdb-generic-tlv; + } + + grouping lsp-state { + description + "This grouping defines ISIS LSP state information."; + leaf lsp-id { + type leafref { + path "../state/lsp-id"; + } + description + "A reference to the Link State PDU ID."; + } + container state { + description + "State parameters of Link State PDU."; + leaf lsp-id { + type oc-isis-types:lsp-id; + description + "LSP ID of the LSP."; + } + leaf maximum-area-addresses { + type uint8; + description + "Number of area addresses permitted for this ISs area. 0 + indicates the IS only supports three area addresses (by + default). Any number inclusive of 1 and 254 indicates the + number of areas allowed."; + } + leaf version { + type uint8; + default "1"; + description + "PDU version. This is set to 1."; + } + leaf version2 { + type uint8; + default "1"; + description + "PDU version2. This is set to 1"; + } + leaf id-length { + type uint8; + description + "Length of the ID field of NSAP addresses and NETs used in + this routing domain."; + } + leaf pdu-type { + type enumeration { + enum "LEVEL_1" { + description + "This enum describes ISIS level 1 PDU."; + } + enum "LEVEL_2" { + description + "This enum describes ISIS level 2 PDU."; + } + } + description + "Link State PDU type."; + } + leaf remaining-lifetime { + type uint16; + units "seconds"; + description + "Remaining lifetime in seconds before the LSP expiration."; + } + leaf sequence-number { + type uint32; + description + "Sequence number of the LSP."; + } + leaf checksum { + type uint16; + description + "Checksum of the LSP."; + } + leaf pdu-length { + type uint16; + description + "Total length of the LSP."; + } + leaf-list flags { + type enumeration { + enum "PARTITION_REPAIR" { + description + "When set, the originator supports partition + repair."; + } + enum "ATTACHED_ERROR" { + description + "When set, the originator is attached to another + area using the referred metric."; + } + enum "ATTACHED_EXPENSE" { + description + "When set, the originator is attached to another + area using the referred metric."; + } + enum "ATTACHED_DELAY" { + description + "When set, the originator is attached to another + area using the referred metric."; + } + enum "ATTACHED_DEFAULT" { + description + "When set, the originator is attached to another + area using the referred metric."; + } + enum "OVERLOAD" { + description + "When set, the originator is overloaded, and must + be avoided in path calculation."; + } + } + description + "LSP Type-Block flags."; + } + leaf is-type { + type oc-isis-types:level-number; + description + "Type of neighboring system."; + } + } + container tlvs { + description + "This container defines Link State PDU State TLVs."; + list tlv { + key "type"; + description + "List of TLV types in the LSDB for the specified LSP."; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the TLV's type."; + } + container state { + config false; + description + "Operational state parameters relating to the specified + LSP"; + uses isis-lsdb-tlv-type-state; + } + container area-address { + when "../state/type = 'oc-isis-lsdb-types:AREA_ADDRESSES'" { + description + "Include area address parameters only when the TLV type + is TLV 1."; + } + description + "This container defines TLV 1."; + container state { + description + "State parameters of ISIS TLV 1."; + leaf-list area-address { + type oc-isis-types:area-address; + description + "Area adress(es) of the IS. Set of manual area + addresses of this IS."; + reference + "ISO 10589 Intermediate System to Intermediate System + Intra- Domain Routeing Exchange Protocol for use in + Conjunction with the Protocol for Providing the + Connectionless-mode Network Service (ISO 8473 ) + International Standard 10589: 2002, Second Edition, + 2002. TLV 1."; + } + } + } + container lsp-buffer-size { + when "../state/type = 'oc-isis-lsdb-types:LSP_BUFFER_SIZE'" { + description + "Include the LSP buffer size parameters only when the + TLV type is TLV 14."; + } + description + "This container defines TLV 14 - the LSP Buffer Size TLV"; + container state { + description + "State parameters of TLV 14."; + leaf buffer-size { + type uint16; + units "bytes"; + description + "The maximum MTU that the advertising system can + receive, expressed in bytes."; + reference "ISO 10589"; + } + } + } + container nlpid { + when "../state/type = 'oc-isis-lsdb-types:NLPID'" { + description + "Include NLPID specification only when the TLV type is + TLV 129."; + } + description + "This container defines TLV 129."; + container state { + description + "State parameters of ISIS TLV 129."; + uses isis-lsdb-tlv-nlpid-state; + } + } + container hostname { + when "../state/type = 'oc-isis-lsdb-types:DYNAMIC_NAME'" { + description + "Include the dynamic hostname TLV only when the TLV is + type 137."; + } + description + "This container defines TLV 137."; + container state { + description + "State parameters of ISIS TLV 137."; + leaf-list hostname { + type string; + description + "Name of the node."; + reference + "RFC6233: IS-IS Registry Extension for Purges, RFC + 5301: Dynamic Hostname Exchange Mechanism for IS-IS. + TLV 137"; + } + } + } + container ipv4-interface-addresses { + when "../state/type = 'oc-isis-lsdb-types:IPV4_INTERFACE_ADDRESSES'" { + description + "Include the IPv4 interface addresses TLV only when the + TLV is type 132."; + } + description + "This container defines TLV 132."; + container state { + description + "State parameters of ISIS TLV 132."; + leaf-list ipv4-interface-addresses { + type oc-inet:ipv4-address; + description + "IPv4 address(es) of the interface corresponding to + the SNPA over which this PDU is to be transmitted."; + reference + "RFC1195: Use of OSI IS-IS for Routing in TCP/IP and + Dual Environments. TLV 132."; + } + } + } + container ipv6-interface-addresses { + when "../state/type = 'oc-isis-lsdb-types:IPV6_INTERFACE_ADDRESSES'" { + description + "Include the IPv6 interface addresses TLV only when the + TLV is type 232."; + } + description + "This container defines TLV 232."; + container state { + description + "State parameters of ISIS TLV 232."; + leaf-list ipv6-interface-addresses { + type oc-inet:ipv6-address; + description + "IPv6 interface addresses of the node. MUST contain + only the non-link-local IPv6 addresses assigned to the + IS."; + reference "RFC5308: Routing IPv6 with IS-IS. TLV 232."; + } + } + } + container ipv4-te-router-id { + when "../state/type = 'oc-isis-lsdb-types:IPV4_TE_ROUTER_ID'" { + description + "Include the IPv4 traffic engineering router ID TLV only + when the TLV is type 134."; + } + description + "This container defines TLV 134."; + container state { + description + "State parameters of ISIS TLV 134."; + leaf-list router-id { + type oc-inet:ipv4-address; + description + "IPv4 Traffic Engineering router ID of the node. For + traffic engineering, it guarantees that we have a + single stable address that can always be referenced in + a path that will be reachable from multiple hops away, + regardless of the state of the node's interfaces."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. TLV + 134."; + } + } + } + container ipv6-te-router-id { + when "../state/type = 'oc-isis-lsdb-types:IPV6_TE_ROUTER_ID'" { + description + "Include the IPv6 traffic engineering router ID TLV only + when the TLV is type 140."; + } + description + "This container defines TLV 140."; + container state { + description + "State parameters of ISIS TLV 140."; + leaf-list router-id { + type oc-inet:ipv6-address; + description + "IPv6 Traffic Engineering router ID of the node. For + traffic engineering, it guarantees that we have a + single stable address that can always be referenced in + a path that will be reachable from multiple hops away, + regardless of the state of the node's interfaces."; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS. TLV 140."; + } + } + } + container instance-ids { + when "../state/type = 'oc-isis-lsdb-types:INSTANCE_ID'" { + description + "Include the ISIS Instance Identifier TLV only when the + TLV is type 7."; + } + description + "This container defines ISIS Instance Identifier TLV."; + reference "RFC6822: IS-IS Multi-Instance. TLV 7."; + list instance-id { + key "instance-id"; + description + "A list of instance IDs received within TLV 7 within an + IS-IS LSP. In the case that more than one instance of TLV 7 + is included in the LSP, the instance IDs specified within + the instances are concatenated within this list."; + leaf instance-id { + type leafref { + path "../state/instance-id"; + } + description + "Reference to the unique instance ID."; + } + container state { + description + "State parameters of ISIS TLV 7."; + leaf instance-id { + type uint16; + description + "An Instance Identifier (IID) to uniquely identify an + IS-IS instance. When the IID = 0, the list of + supported ITIDs MUST NOT be present. An IID-TLV with + IID = 0 MUST NOT appear in an SNP or LSP. When the TLV + appears (with a non-zero IID) in an SNP or LSP, + exactly one ITID. MUST be present indicating the + topology with which the PDU is associated. If no ITIDs + or multiple ITIDs are present or the IID is zero, then + the PDU MUST be ignored."; + } + leaf-list topology-id { + type uint16; + description + "Instance-Specific Topology Identifiers (ITIDs)."; + } + } + } + } + container ipv4-srlgs { + when "../state/type = 'oc-isis-lsdb-types:IPV4_SRLG'" { + description + "Include the IPv4 SRLG TLV only when the TLV is type + 138."; + } + description + "This container defines ISIS SRLG TLV 138."; + reference + "RFC5307: IS-IS Extensions in Support of Generalized + Multi-Protocol Label Switching (GMPLS). TLV 138."; + list ipv4-srlg { + key "instance-number"; + description + "Instance of the IPv4 SRLG TLV"; + leaf instance-number { + type leafref { + path "../state/instance-number"; + } + description + "Reference to the instance number of TLV 138."; + } + container state { + description + "State parameters of TLV 138."; + leaf instance-number { + type uint32; + description + "An arbitrary unsigned 32-bit integer used to + disambiguate the instance of TLV 138. The instance + identifier is synthesised by the system + and may be renumbered for the same SRLG definition + in subsequent advertised LSPs if (and only if) the + entire list of SRLGs is replaced."; + } + leaf system-id { + type oc-isis-types:system-id; + description + "Neighbor system ID."; + } + leaf psn-number { + type uint8; + description + "Pseudonode number if the neighbor is on a LAN + interface."; + } + leaf-list flags { + type enumeration { + enum "NUMBERED" { + description + "When set, the interface is numbered, whereas if + unset indicates that the interface is + unnumbered."; + } + } + description + "SRLG flags."; + } + leaf ipv4-interface-address { + type oc-inet:ipv4-address; + description + "IPv4 interface address."; + } + leaf ipv4-neighbor-address { + type oc-inet:ipv4-address; + description + "IPv4 neighbor address."; + } + leaf-list srlg-value { + type uint32; + description + "List of SRLG values."; + } + } + } + } + container ipv6-srlgs { + when "../state/type = 'oc-isis-lsdb-types:IPV6_SRLG'" { + description + "Include the IPv6 SRLG TLV only when the TLV is type + 139."; + } + description + "This container defines ISIS SRLG TLV."; + reference "RFC6119: IPv6 Traffic Engineering in IS-IS. TLV 139."; + list ipv6-srlg { + key "instance-number"; + description + "Instance of the IPv6 SRLG TLV."; + leaf instance-number { + type leafref { + path "../state/instance-number"; + } + description + "Reference to the instance number of the IPv6 Shared + Risk Link Group (SRLG) TLV."; + } + container state { + description + "State parameters of TLV 139."; + leaf instance-number { + type uint32; + description + "An arbitrary unsigned 32-bit integer used to + disambiguate the instance of TLV 138. The instance + identifier is synthesised by the system + and may be renumbered for the same SRLG definition + in subsequent advertised LSPs if (and only if) the + entire list of SRLGs is replaced."; + } + leaf system-id { + type oc-isis-types:system-id; + description + "Neighbor system ID."; + } + leaf psn-number { + type uint8; + description + "Pseudonode number if the neighbor is on a LAN + interface."; + } + leaf-list flags { + type enumeration { + enum "NA" { + description + "When set, the IPv6 neighbour address is included, + whereas if unset, it is omitted"; + } + } + description + "IPv6 SRLG flags."; + } + leaf ipv6-interface-address { + type oc-inet:ipv6-address; + description + "IPv6 interface address or Link Local Identifier."; + } + leaf ipv6-neighbor-address { + type oc-inet:ipv6-address; + description + "IPv6 neighbor address or Link Remote Identifier."; + } + leaf-list srlg-value { + type uint32; + description + "SRLG values."; + } + } + } + } + container purge-oi { + when "../state/type = 'oc-isis-lsdb-types:PURGE_OI'" { + description + "Only include the purge originator identitication TLV + when the TLV type is 13."; + } + description + "This container defines ISIS purge TLV."; + reference + "RFC6232: Purge Originator Identification TLV for IS-IS. + TLV 13."; + container state { + description + "State parameters of TLV 13."; + leaf system-id-count { + type uint8; + description + "Number of system IDs carried in this TLV."; + } + leaf source-system-id { + type oc-isis-types:system-id; + description + "System ID of the Intermediate System that inserted + this TLV."; + } + leaf received-system-id { + type oc-isis-types:system-id; + description + "System ID of the Intermediate System from which the + purge was received."; + } + } + } + container router-capabilities { + when "../state/type = 'oc-isis-lsdb-types:ROUTER_CAPABILITY'" { + description + "Only include the router capability TLV when the TLV is + type 242."; + } + description + "This container defines router capabilities."; + list router-capability { + key "instance-number"; + description + "This list describes IS Router capabilities."; + reference + "RFC4971: Intermediate System to Intermediate System + (IS-IS) Extensions for Advertising Router Information. + TLV 242."; + leaf instance-number { + type leafref { + path "../state/instance-number"; + } + description + "Reference to the instance number of the router + capability TLV."; + } + container state { + description + "State parameters of TLV 242."; + leaf instance-number { + type uint32; + description + "A unique instance number for the instance of the + router capabilities TLV. The instance number should + be autogenerated by the producer of the data and may + be renumbered if the entire LSP contents are replaced + in subsequent advertisements."; + } + leaf router-id { + type oc-inet:ipv4-address; + description + "IPv4 router-id."; + } + leaf-list flags { + type enumeration { + enum "FLOOD" { + description + "When the S bit is set(1), the IS - IS Router + CAPABILITY TLV MUST be flooded across the entire + routing domain. When the S bit is not set(0), + the TLV MUST NOT be leaked between levels . This + bit MUST NOT be altered during the TLV + leaking."; + } + enum "DOWN" { + description + "When the IS-IS Router CAPABILITY TLV is leaked + from level - 2 to level-1, the Down bit MUST be + set. Otherwise, this bit MUST be clear. IS - IS + Router capability TLVs with the Down bit set + MUST NOT be leaked from level - 1 to level-2. + This is to prevent TLV looping."; + } + } + description + "Router capability flags."; + } + } + container subtlvs { + description + "This container describes router capability TLV + sub-TLVs"; + list subtlv { + key "type"; + description + "List of subTLV types in the LSDB for the specified + TLV"; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to the sub-TLV type"; + } + container state { + description + "State parameters of IS Router Capabilities"; + uses isis-lsdb-subtlv-type-state; + } + container segment-routing-algorithms { + when "../state/type = 'oc-isis-lsdb-types:ROUTER_CAPABILITY_SR_ALGORITHM'" { + description + "Only include segment routing algorithm when the + sub-TLV is type 19."; + } + description + "This container defines SR algorithm sub-TLV 19."; + reference + "draft-ietf-isis-segment-routing-extensions. + TLV 242, sub-TLV 19"; + list segment-routing-algorithm { + key "algorithm"; + description + "List of the segment routing algorithsm advertised within the TLV."; + leaf algorithm { + type leafref { + path "../state/algorithm"; + } + description + "Reference to the SR algorithm that the subTLV + describes."; + } + container state { + description + "State parameters of sub-TLV 19 - Segment + Routing Algorithm."; + leaf algorithm { + type enumeration { + enum "SPF" { + value 0; + description + "Shortest Path First (SPF) algorithm based + on link metric. This is the well-known + shortest path algorithm as computed by + the IS-IS Decision process. Consistent + with the deployed practice for link- + state protocols, algorithm 0 permits any + node to overwrite the SPF + path with a different path based on local + policy."; + } + enum "STRICT_SPF" { + value 1; + description + "Strict Shortest Path First (SPF) + algorithm based on link metric. The + algorithm is identical to algorithm 0 but + algorithm 1 requires that all nodes + along the path will honor the SPF routing + decision. Local policy MUST NOT alter the + forwarding decision computed by algorithm + 1 at the node claiming to support + algorithm 1."; + } + } + description + "The Segment Routing algorithm that is described + by the TLV."; + } + } + } + } + container segment-routing-capability { + when "../state/type = 'oc-isis-lsdb-types:ROUTER_CAPABILITY_SR_CAPABILITY'" { + description + "Only include the SR capability sub-TLV when + the sub-TLV type is 2."; + } + description + "This container defines SR Capability sub-TLV 2."; + reference + "draft-ietf-isis-segment-routing-extensions. TLV + 242, sub-TLV 2."; + container state { + description + "State parameters of IS SR Router Capability"; + leaf-list flags { + type enumeration { + enum "IPV4_MPLS" { + description + "When set, the router is capable of + processing SR MPLS encapsulated IPv4 + packets on all interfaces."; + } + enum "IPV6_MPLS" { + description + "When set, the router is capable of + processing SR MPLS encapsulated IPv6 + packets on all interfaces."; + } + enum "IPV6_SR" { + description + "When set, the router is capable of + processing the IPv6 Segment Routing Header + on all interfaces."; + } + } + description + "Segment Routing Capability Flags."; + } + } + container srgb-descriptors { + description + "SRGB Descriptors included within the SR + capability sub-TLV"; + list srgb-descriptor { + description + "Descriptor entry within the SR capabilty + sub-TLV"; + container state { + description + "State parameters of the SR range"; + leaf range { + type uint32; + description + "Number of SRGB elements. The range + value MUST be greater than 0."; + } + leaf label { + type oc-mpls-types:mpls-label; + description + "The first value of the SRGB when + expressed as an MPLS label."; + } + } + } + } + } + } + } + uses isis-lsdb-undefined-subtlv; + } + } + container is-reachability { + when "../state/type = 'oc-isis-lsdb-types:IIS_NEIGHBORS'" { + description + "Include IIS_NEIGHBORS sub-TLV when the TLV type is 2."; + } + description + "This container describes list of ISIS neighbors and + attributes."; + reference + "ISO 10589, Intermediate System to Intermediate System + Intra- Domain Routeing Exchange Protocol for use in + Conjunction with the Protocol for Providing the + Connectionless-mode Network Service (ISO 8473), + International Standard 10589: 2002, Second Edition, + 2002. TLV 2."; + container neighbors { + description + "This container describes IS neighbors."; + list neighbors { + key "system-id"; + description + "IS reachability neighbor attributes."; + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the system ID of the neighbor."; + } + uses isis-lsdb-neighbor; + } + } + } + container ipv4-internal-reachability { + when "../state/type = 'oc-isis-lsdb-types:IPV4_INTERNAL_REACHABILITY'" { + description + "Include IPv4 internal reachability TLV when the TLV + type is specified as 128."; + } + description + "This container defines list of IPv4 internal reachability + information."; + reference + "RFC1195: OSI ISIS for IP and Dual Environments. RFC5302: + Domain-Wide Prefix Distribution with Two-Level IS-IS. TLV + 128"; + container prefixes { + description + "This container describes IS prefixes."; + list prefixes { + key "prefix"; + description + "IPv4 prefixes and internal reachability attributes."; + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the IPv4 prefix"; + } + uses ipv4-prefix-attributes-state; + } + } + } + container ipv4-external-reachability { + when "../state/type = 'oc-isis-lsdb-types:IPV4_EXTERNAL_REACHABILITY'" { + description + "Include IPv4 external reachability when the TLV type + is set to 130."; + } + description + "This container defines list of IPv4 external reachability + information."; + reference + "RFC1195: OSI ISIS for IP and Dual Environments. RFC5302: + Domain-Wide Prefix Distribution with Two-Level IS-IS. TLV + 130"; + container prefixes { + description + "This container describes IS neighbors."; + list prefixes { + key "prefix"; + description + "IPv4 external prefixes and reachability attributes."; + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the IPv4 prefix."; + } + uses ipv4-prefix-attributes-state; + } + } + } + container authentication { + when "../state/type = 'oc-isis-lsdb-types:AUTHENTICATION'" { + description + "Only include the authentication TLV when the TLV is + type 10."; + } + description + "This container defines authentication information of the + node."; + reference + "ISO 10589 Intermediate System to Intermediate System + Intra- Domain Routeing Exchange Protocol for use in + Conjunction with the Protocol for Providing the + Connectionless-mode Network Service (ISO 8473) + International Standard 10589: 2002, Second Edition, 2002. + TLV 10."; + container state { + description + "State parameters of TLV 10."; + leaf crypto-type { + type enumeration { + enum "HMAC_MD5" { + description + "HMAC-MD5 Authentication type."; + } + enum "CLEARTEXT" { + description + "Cleartext Authentication type."; + } + } + description + "Authentication type to be used."; + } + leaf authentication-key { + type string; + description + "Authentication key to be used."; + } + } + } + container extended-is-reachability { + when "../state/type = 'oc-isis-lsdb-types:EXTENDED_IS_REACHABILITY'" { + description + "Only included the extended IS reachability TLV when the + TLV is type 22."; + } + description + "This container defines list of ISIS extended reachability + neighbors."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. TLV + 22."; + container neighbors { + description + "This container describes IS neighbors."; + list neighbors { + key "system-id"; + description + "This list describes ISIS extended neigbors and + reachability attributes."; + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the neighboring system's system ID."; + } + container state { + description + "State parameters of extended neighbor"; + leaf system-id { + type oc-isis-types:system-id; + description + "System-id of the neighbor."; + } + leaf metric { + type oc-isis-types:wide-metric; + description + "Metric value."; + } + } + uses is-reachability-neighbor-state; + } + } + } + container extended-ipv4-reachability { + when "../state/type = 'oc-isis-lsdb-types:EXTENDED_IPV4_REACHABILITY'" { + description + "Only include the extended IPv4 reachability container + when the TLV type is 135."; + } + description + "This container defines list of IPv4 extended reachability + information."; + reference + "RFC5305: IS-IS Extensions for Traffic Engineering. TLV + 135"; + container prefixes { + description + "This container describes IS prefixes."; + list prefix { + key "prefix"; + description + "This list describes IPv4 extended prefixes and + attributes."; + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the IPv4 prefix that the TLV describes + the attributes of."; + } + uses ipv4-prefix-extended-state; + } + } + } + container ipv6-reachability { + when "../state/type = 'oc-isis-lsdb-types:IPV6_REACHABILITY'" { + description + "Only include the IPv6 reachability container when the + TLV type is 236."; + } + description + "This container defines list of IPv6 reachability + information."; + reference "RFC5308: Routing IPv6 with IS-IS. TLV 236"; + container prefixes { + description + "This container describes IS prefixes."; + list prefixes { + key "prefix"; + description + "This list defines IPv6 extended prefix attributes."; + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the IPv6 prefix that the TLV corresponds + to."; + } + uses ipv6-prefix-extended-state; + } + } + } + container multi-topology { + when "../state/type = 'oc-isis-lsdb-types:MULTI_TOPOLOGY'" { + description + "Only include the multi-topology container when the TLV + is type 229."; + } + description + "This container defines the topology supported."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in + Intermediate System to Intermediate Systems (IS-ISs). TLV + 229"; + container topologies { + description + "This container describes IS topologies."; + list topology { + key "mt-id"; + description + "This list describes a topology."; + leaf mt-id { + type leafref { + path "../state/mt-id"; + } + description + "Reference to the multi-topology ID being described + by the list entry."; + } + container state { + description + "State parameters of IS multi-topology TLV 229."; + leaf mt-id { + type uint16 { + range "0 .. 4095"; + } + description + "Multi-topology ID."; + } + leaf attributes { + type enumeration { + enum "OVERLOAD" { + description + "When set, node is overloaded, still part of + the topology but cannot be used for transit."; + } + enum "ATTACHED" { + description + "When set, node is attached to another area + using the referred metric and can be used as + default gateway."; + } + } + description + "Attributes of the LSP for the associated + topology."; + } + } + } + } + } + container isis-neighbor-attribute { + when "../state/type = 'oc-isis-lsdb-types:IS_NEIGHBOR_ATTRIBUTE'" { + description + "Only include the neighbor attribute container when the + TLV is type 23."; + } + description + "This container defines list of ISIS topology neighbors + for extended ISIS LSP (multiple system IDs). "; + reference + "RFC5311: Simplified Extension of Link State PDU (LSP) + Space for IS-IS. TLV 23. It is identical in format to the + extended IS reachability TLV 22."; + container neighbors { + description + "This container describes IS neighbors."; + list neighbor { + key "system-id"; + description + "This list defines ISIS extended reachability neighbor + attributes."; + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the neighboring IS"; + } + container state { + description + "State parameters of extended neighbor."; + leaf system-id { + type oc-isis-types:system-id; + description + "System-id of the neighbor."; + } + leaf metric { + type oc-isis-types:wide-metric; + description + "Metric value."; + } + } + uses is-reachability-neighbor-state; + } + } + } + container is-alias-id { + when "../state/type = 'oc-isis-lsdb-types:ISIS_ALIAS_ID'" { + description + "Only include the ISIS alias ID container when the TLV + is type 24."; + } + description + "This container defines the IS-Alias TLV which allows + extension-capable ISs to recognize the Originating System + of an Extended LSP set. It identifies the Normal system- + id of the Originating System."; + reference + "RFC5311: Simplified Extension of Link State PDU (LSP) + Space for IS-IS TLV 24."; + container state { + config false; + description + "State parameters of alias ID."; + leaf alias-id { + type oc-isis-types:system-id; + description + "List of alias ID(s)."; + } + } + } + container mt-isn { + when "../state/type = 'oc-isis-lsdb-types:MT_ISN'" { + description + "Only include the MT ISN container when the TLV is type + 222."; + } + description + "This container defines list of ISIS multi-topology + neighbors."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in + Intermediate System to Intermediate Systems (IS-ISs). TLV + 222."; + container neighbors { + description + "MT-IS neigbor attributes."; + list neighbor { + key "mt-id system-id"; + description + "This container describes IS neighbors."; + leaf mt-id { + type leafref { + path "../state/mt-id"; + } + description + " Reference to the topology that the neighbor is within."; + } + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the System ID of the neighbor."; + } + uses mt-isis-neighbor; + } + } + } + container mt-isis-neighbor-attribute { + when "../state/type = 'oc-isis-lsdb-types:MT_IS_NEIGHBOR_ATTRIBUTE'" { + description + "Only include the MT ISIS neighbor attribute container + when the TLV is type 223."; + } + description + "This container defines list of ISIS multi-topology + neighbors."; + reference + "RFC5311: Simplified Extension of Link State PDU (LSP) + Space for IS-IS. TLV 223. It is identical in format to the + MT-ISN TLV 222."; + container neighbors { + description + "This container describes IS neighbors."; + list neighbor { + key "mt-id system-id"; + description + "List of multi-topology neighbors."; + leaf mt-id { + type leafref { + path "../state/mt-id"; + } + description + "Reference to the topology that the neighbor is within."; + } + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the system ID of the neighbor"; + } + uses mt-isis-neighbor; + } + } + } + container mt-ipv4-reachability { + when "../state/type = 'oc-isis-lsdb-types:MT_IPV4_REACHABILITY'" { + description + "Only include the multi-topology IPv4 reachability + container when the TLV is type 235."; + } + description + "This container defines list of IPv4 reachability + Information in multi-topology environment."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in + Intermediate System to Intermediate Systems (IS-ISs). TLV + 235."; + container prefixes { + description + "This container describes IS prefixes."; + list prefix { + key "mt-id prefix"; + description + "IPv4 prefixes that are contained within MT + reachability TLV."; + leaf mt-id { + type leafref { + path "../state/mt-id"; + } + description + "Reference to the topology ID of the topology that the + prefix is within."; + } + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the prefix to which reachability is being + advertised."; + } + uses ipv4-mt-prefix-extended-state; + } + } + } + container mt-ipv6-reachability { + when "../state/type = 'oc-isis-lsdb-types:MT_IPV6_REACHABILITY'" { + description + "Only include the multi-topology IPv6 reachability + container when the TLV is type 237."; + } + description + "This container defines list of IPv6 reachability + information in multi - topology environment."; + reference + "RFC5120: M-ISIS: Multi Topology (MT) Routing in + Intermediate System to Intermediate Systems (IS-ISs). TLV + 237."; + container prefixes { + description + "This container describes IS prefixes."; + list prefix { + key "prefix mt-id"; + description + "List of IPv6 prefixes contained within MT + reachability TLV."; + leaf prefix { + type leafref { + path "../state/prefix"; + } + description + "Reference to the IPv6 prefix described by the TLV."; + } + leaf mt-id { + type leafref { + path "../state/mt-id"; + } + description + "Reference to the multi-topology ID."; + } + uses ipv6-mt-prefix-extended-state; + } + } + } + } + } + uses isis-lsdb-undefined-tlv; + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis-policy.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis-policy.yang new file mode 100644 index 0000000..e862634 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis-policy.yang @@ -0,0 +1,135 @@ +module openconfig-isis-policy { + yang-version 1; + namespace "http://openconfig.net/yang/openconfig-isis-policy"; + prefix oc-isis-pol; + + import openconfig-routing-policy { + prefix rpol; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-isis-types { + prefix isis-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net "; + description + "This module contains data definitions for ISIS routing policy. + It augments the base routing-policy module with BGP-specific + options for conditions and actions."; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + grouping isis-match-conditions { + description + "Criteria used to match IS-IS routes within the policy"; + container isis-conditions { + description + "Match conditions relating to the IS-IS protocol"; + container config { + description + "Configuration parameters relating to IS-IS match + conditions"; + uses isis-match-conditions-config; + } + container state { + config false; + description + "Operational state parameters relating to IS-IS match + conditions"; + uses isis-match-conditions-config; + } + } + } + + grouping isis-match-conditions-config { + description + "Match conditions for IS-IS"; + leaf level-eq { + type isis-types:level-number; + description + "Match the level that the IS-IS prefix is within. This can + be used in the case that import or export policies refer + to an IS-IS instance that has multiple levels configured + within it"; + } + } + + grouping isis-actions { + description + "Actions supplied by the IS-IS protocol to be set on a + route within the policy"; + container isis-actions { + description + "Actions that can be performed by IS-IS within a policy"; + container config { + description + "Configuration parameters relating to IS-IS actions"; + uses isis-actions-config; + } + container state { + config false; + description + "Operational state associated with IS-IS actions"; + uses isis-actions-config; + } + } + } + + grouping isis-actions-config { + description + "Actions for IS-IS"; + leaf set-level { + type isis-types:level-number; + description + "Set the level that a prefix is to be imported into."; + } + leaf set-metric-type { + type isis-types:level-number; + description + "Set the type of metric that is to be specified when the + set metric leaf is specified"; + } + leaf set-metric { + type isis-types:wide-metric; + description + "Set the metric of the IS-IS prefix"; + } + } + + augment "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions" { + description + "This augments igp-actions with ISIS conditions"; + uses isis-actions; + } + augment "/rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:conditions" { + description + "This augments igp-conditions with ISIS conditions"; + uses isis-match-conditions; + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis-routing.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis-routing.yang new file mode 100644 index 0000000..8e8adbc --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis-routing.yang @@ -0,0 +1,320 @@ +submodule openconfig-isis-routing { + belongs-to openconfig-isis { + prefix oc-isis; + } + + import openconfig-isis-types { + prefix oc-isis-types; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-mpls-types { + prefix oc-mplst; + } + import openconfig-segment-routing { + prefix oc-sr; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module describes YANG model for ISIS Routing"; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + grouping rt-admin-config { + description + "Re-usable grouping to enable or disable a particular IS-IS feature."; + leaf enabled { + type boolean; + description + "When set to true, the functionality within which this leaf is + defined is enabled, when set to false it is explicitly disabled."; + } + } + + grouping isis-afi-safi-config { + description + "This grouping defines Address-Family configuration parameters"; + leaf afi-name { + type identityref { + base oc-isis-types:AFI_TYPE; + } + description + "Address-family type."; + } + leaf safi-name { + type identityref { + base oc-isis-types:SAFI_TYPE; + } + description + "Subsequent address-family type."; + } + } + + grouping isis-shortcuts-afi-config { + description + "This grouping defines ISIS Shortcuts configuration parameters"; + leaf afi-name { + type identityref { + base oc-isis-types:AFI_TYPE; + } + description + "Address-family type."; + } + leaf-list nh-type { + type identityref { + base oc-mplst:PATH_SETUP_PROTOCOL; + } + description + "Tunnel NH Type(RSVP,SR). When present it implies + that nh-type shortcut is enabled for a specified AFI."; + } + } + + grouping isis-shortcuts-config { + description + "This grouping defines ISIS Shortcuts consfiguration parameters"; + container config { + description + "This container defines ISIS shortcuts configuration."; + uses rt-admin-config; + } + container state { + config false; + description + "This container defines state for ISIS shortcuts."; + uses rt-admin-config; + } + } + + grouping isis-mt-config { + description + "This grouping defines ISIS multi-topology configuration parameters"; + leaf afi-name { + type identityref { + base oc-isis-types:AFI_TYPE; + } + description + "Address-family type."; + } + leaf safi-name { + type identityref { + base oc-isis-types:SAFI_TYPE; + } + description + "Subsequent address-family type."; + } + } + + grouping isis-metric-config { + description + "This grouping defines ISIS metric configuration"; + leaf metric { + type uint32; + default "10"; + description + "ISIS metric value(default=10)."; + } + } + + grouping isis-afi-safi-list { + description + "This grouping defines address-family configuration and state + information"; + list af { + key "afi-name safi-name"; + description + "Address-family/Subsequent Address-family list."; + leaf afi-name { + type leafref { + path "../config/afi-name"; + } + description + "Reference to address-family type"; + } + leaf safi-name { + type leafref { + path "../config/safi-name"; + } + description + "Reference to subsequent address-family type"; + } + container config { + description + "This container defines AFI-SAFI configuration parameters"; + uses isis-afi-safi-config; + uses isis-metric-config; + uses rt-admin-config; + } + container state { + config false; + description + "This container defines AFI-SAFI State information"; + uses isis-afi-safi-config; + uses isis-metric-config; + uses rt-admin-config; + } + uses isis-mt-list; + } + } + + grouping isis-if-afi-safi-list { + description + "This grouping defines address-family configuration and state + information"; + list af { + key "afi-name safi-name"; + description + "Address-family/Subsequent Address-family list."; + leaf afi-name { + type leafref { + path "../config/afi-name"; + } + description + "Reference to address-family type"; + } + leaf safi-name { + type leafref { + path "../config/safi-name"; + } + description + "Reference to subsequent address-family type"; + } + container config { + description + "This container defines AFI-SAFI configuration parameters. Single + topology is the default setting."; + uses isis-afi-safi-config; + uses isis-metric-config; + uses rt-admin-config; + } + container state { + config false; + description + "This container defines AFI-SAFI State information"; + uses isis-afi-safi-config; + uses isis-metric-config; + uses rt-admin-config; + } + uses oc-sr:sr-igp-interface-top; + } + } + + grouping isis-if-global-afi-safi-list { + description + "This grouping defines address-family configuration and state + information"; + list af { + key "afi-name safi-name"; + description + "Address-family/Subsequent Address-family list."; + leaf afi-name { + type leafref { + path "../config/afi-name"; + } + description + "Reference to address-family type"; + } + leaf safi-name { + type leafref { + path "../config/safi-name"; + } + description + "Reference to subsequent address-family type"; + } + container config { + description + "This container defines AFI-SAFI configuration parameters. Single + topology is the default setting."; + uses isis-afi-safi-config; + uses rt-admin-config; + } + container state { + config false; + description + "This container defines AFI-SAFI State information"; + uses isis-afi-safi-config; + uses rt-admin-config; + } + } + } + + grouping isis-shortcuts-afi-list { + description + "This grouping defines ISIS Shorcuts configuration and + state information"; + list afi { + key "afi-name"; + description + "Address-family list."; + leaf afi-name { + type leafref { + path "../config/afi-name"; + } + description + "Reference to address-family type."; + } + container config { + description + "This container defines ISIS Shortcuts configuration parameters"; + uses isis-shortcuts-afi-config; + } + container state { + config false; + description + "This container defines ISIS Shortcuts state information"; + uses isis-shortcuts-afi-config; + } + } + } + + grouping isis-mt-list { + description + "This grouping defines multi-topology address-family configuration and + state information. MT0 - IPv4 Unicast, MT2 - IPv6 Unicast, MT3 - + IPv4 Multicast, MT4 - IPv6 Multicast"; + container multi-topology { + description + "This container defines multi-topology address-family configuration + and state information. ISIS TLV 235, 237."; + container config { + description + "This container defines AFI-SAFI multi-topology configuration + parameters"; + uses isis-mt-config; + } + container state { + config false; + description + "This container defines AFI-SAFI multi-topology state information"; + uses isis-mt-config; + uses rt-admin-config; + } + } + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis-types.yang new file mode 100644 index 0000000..319da10 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis-types.yang @@ -0,0 +1,326 @@ +module openconfig-isis-types { + yang-version 1; + namespace "http://openconfig.net/yang/isis-types"; + prefix oc-isis-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains general data definitions for use in ISIS YANG + model."; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + identity OVERLOAD_RESET_TRIGGER_TYPE { + description + "Base identify type for triggers that reset Overload Bit"; + } + + identity WAIT_FOR_BGP { + base OVERLOAD_RESET_TRIGGER_TYPE; + description + "Base identity type for resetting Overload Bit when BGP has converged. "; + } + + identity WAIT_FOR_SYSTEM { + base OVERLOAD_RESET_TRIGGER_TYPE; + description + "Base identity type for resetting Overload Bit when system resources have + been restored. "; + } + + identity MT_TYPE { + description + "Base identify type for multi-topology"; + } + + identity SAFI_TYPE { + description + "Base identify type for SAFI"; + } + + identity AFI_TYPE { + description + "Base identify type for AFI"; + } + + identity AFI_SAFI_TYPE { + description + "Base identify type for AFI/SAFI"; + } + + identity IPV4_UNICAST { + base AFI_SAFI_TYPE; + description + "Base identify type for IPv4 Unicast address family"; + } + + identity IPV6_MULTICAST { + base AFI_SAFI_TYPE; + description + "Base identify type for IPv6 multicast address family"; + } + + identity IPV4_MULTICAST { + base AFI_SAFI_TYPE; + description + "Base identify type for IPv4 multicast address family"; + } + + identity IPV6_UNICAST { + base AFI_SAFI_TYPE; + description + "Base identify type for IPv6 unicast address family"; + } + + identity UNICAST { + base SAFI_TYPE; + description + "Base identify type for IPv4 Unicast address family"; + } + + identity MULTICAST { + base SAFI_TYPE; + description + "Base identify type for IPv6 multicast address family"; + } + + identity IPV4 { + base AFI_TYPE; + description + "Base identify type for IPv4 address family"; + } + + identity IPV6 { + base AFI_TYPE; + description + "Base identify type for IPv6 address family"; + } + + typedef level-type { + type enumeration { + enum "LEVEL_1" { + description + "This enum describes ISIS level 1"; + } + enum "LEVEL_2" { + description + "This enum describes ISIS level 2"; + } + enum "LEVEL_1_2" { + description + "This enum describes ISIS level 1-2"; + } + } + description + "This type defines ISIS level types"; + } + + typedef level-number { + type uint8 { + range "1..2"; + } + description + "This type defines ISIS level."; + } + + typedef adaptive-timer-type { + type enumeration { + enum "LINEAR" { + description + "This enum describes linear algorithm timer"; + } + enum "EXPONENTIAL" { + description + "This enum describes exponential algorithm timer"; + } + } + description + "This type defines ISIS adaptive timer types"; + } + + typedef hello-padding-type { + type enumeration { + enum "STRICT" { + description + "This enum describes strict padding"; + } + enum "LOOSE" { + description + "This enum describes loose padding"; + } + enum "ADAPTIVE" { + description + "This enum describes adaptive padding"; + } + enum "DISABLE" { + description + "This enum disables padding"; + } + } + description + "This type defines ISIS hello padding type"; + } + + typedef circuit-type { + type enumeration { + enum "POINT_TO_POINT" { + description + "This enum describes a point-to-point interface"; + } + enum "BROADCAST" { + description + "This enum describes a broadcast interface"; + } + } + description + "This type defines ISIS interface types "; + } + + typedef metric-type { + type enumeration { + enum "INTERNAL" { + description + "This enum describes internal route type"; + } + enum "EXTERNAL" { + description + "This enum describes external route type"; + } + } + description + "This type defines ISIS metric type"; + } + + typedef wide-metric { + type uint32 { + range "1..16777215"; + } + description + "This type defines ISIS wide metric."; + } + + typedef narrow-metric { + type uint8 { + range "1..63"; + } + description + "This type defines ISIS narrow metric."; + } + + typedef metric-style { + type enumeration { + enum "NARROW_METRIC" { + description + "This enum describes narrow metric style"; + reference "RFC1195"; + } + enum "WIDE_METRIC" { + description + "This enum describes wide metric style"; + reference "RFC5305"; + } + } + description + "This type defines ISIS metric styles"; + } + + typedef isis-interface-adj-state { + type enumeration { + enum "UP" { + description + "This state describes that adjacency is established."; + } + enum "DOWN" { + description + "This state describes that adjacency is NOT established."; + } + enum "INIT" { + description + "This state describes that adjacency is establishing."; + } + enum "FAILED" { + description + "This state describes that adjacency is failed."; + } + } + description + "This type defines the state of the interface."; + } + + typedef net { + type string { + pattern "^[a-fA-F0-9]{2}(\\.[a-fA-F0-9]{4}){3,9}\\.[a-fA-F0-9]{2}$"; + } + description + "This type defines OSI NET address. A NET should should be in + the form xx.yyyy.yyyy.yyyy.00 with up to 9 sets of yyyy."; + } + + typedef area-address { + type string { + pattern "^[0-9A-Fa-f]{2}\\.([0-9A-Fa-f]{4}\\.){0,3}$"; + } + description + "This type defines the ISIS area address."; + } + + typedef system-id { + type string { + pattern "^[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}$"; + } + description + "This type defines ISIS system id using pattern, system id looks + like : 0143.0438.AeF0"; + } + + typedef extended-circuit-id { + type uint32; + description + "This type defines interface circuit ID."; + } + + typedef lsp-id { + type string { + pattern "^[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9A-Fa-f]{4}\\.[0-9][0-9]-[0-9][0-9]$"; + } + description + "This type defines ISIS LSP ID. ISIS LSP ID type should be in + the form of xxxx.xxxx.xxxx.xx-xx"; + } + + typedef snpa { + type string { + length "0 .. 20"; + } + description + "This type defines Subnetwork Point of Attachment format."; + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-isis.yang b/yang/modules/cisco-ios-xr/632/openconfig-isis.yang new file mode 100644 index 0000000..28a7a17 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-isis.yang @@ -0,0 +1,1653 @@ +module openconfig-isis { + yang-version 1; + namespace "http://openconfig.net/yang/openconfig-isis"; + prefix oc-isis; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-isis-types { + prefix oc-isis-types; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-segment-routing { + prefix oc-sr; + } + include openconfig-isis-lsp; + include openconfig-isis-routing; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net "; + description + "This module describes a YANG model for ISIS protocol configuration. + It is a limited subset of all of the configuration parameters + available in the variety of vendor implementations, hence it is + expected that it would be augmented with vendor - specific configuration + data as needed. Additional modules or submodules to handle other + aspects of ISIS configuration, including policy, routing, types, + LSDB and additional address families are also expected. This model + supports the following ISIS configuration level hierarchy: + + ISIS + +-> { global ISIS configuration} + +-> levels +-> { level config} + +-> { system-level-counters } + +-> { level link-state-database} + +-> interface +-> { interface config } + +-> { circuit-counters } + +-> { levels config } + +-> { level adjacencies }"; + + revision 2017-05-15 { + description + "Refactor LSDB."; + reference "0.3.0"; + } + revision 2017-01-13 { + description + "Remove top-level /isis container"; + reference "0.2.1"; + } + revision 2016-12-15 { + description + "Add segment routing to IS-IS module"; + reference "0.2.0"; + } + revision 2016-10-18 { + description + "Initial revision of IS-IS models."; + reference "0.1.0"; + } + + grouping isis-global-config { + description + "This grouping defines lobal configuration options for ISIS router."; + leaf instance { + type string; + default "0"; + description + "ISIS Instance."; + } + leaf-list net { + type oc-isis-types:net; + description + "ISIS network entity title (NET). The first 8 bits are usually + 49 (private AFI), next 16 bits represent area, next 48 bits represent + system id and final 8 bits are set to 0."; + reference + "International Organization for Standardization, Information + technology - Open Systems Interconnection-Network service + Definition - ISO/ IEC 8348:2002."; + } + leaf maximum-area-addresses { + type uint8; + default "3"; + description + "Maximum areas supported."; + } + leaf level-capability { + type oc-isis-types:level-type; + default "LEVEL_1_2"; + description + "ISIS level capability(level-1, level-2,vlevel-1-2)."; + } + leaf max-ecmp-paths { + type uint8; + description + "ISIS max-paths count."; + } + leaf poi-tlv { + type boolean; + default "false"; + description + "ISIS purge TLV. When set to true, a TLV is added to purges to record + the system ID of the IS generating the purge."; + reference "RFC6232: Purge Originator Identification TLV for IS-IS. TLV 13."; + } + leaf iid-tlv { + type boolean; + default "false"; + description + "ISIS Instance Identifier TLV. When set to trues, the IID-TLV identifies + the unique instance as well as the topology/topologies to which the + PDU applies."; + reference "RFC6822: IS-IS Multi-Instance. TLV 7"; + } + leaf fast-flooding { + type boolean; + default "true"; + description + "When set to true, IS will always flood the LSP that triggered an SPF + before the router actually runs the SPF computation."; + } + } + + grouping admin-config { + description + "Re-usable grouping to enable or disable a particular IS-IS feature."; + leaf enabled { + type boolean; + default "false"; + description + "When set to true, the functionality within which this leaf is + defined is enabled, when set to false it is explicitly disabled."; + } + } + + grouping isis-bfd-config { + description + "This grouping defines Bidirectionl-Forwarding-Detection + configuration."; + reference "RFC5880: Bidirectional Forwarding Detection (BFD)."; + leaf bfd-tlv { + type boolean; + description + "When set to true, BFD TLV is used. This enables support for the IS-IS + BFD TLV options, which specify that a BFD session must be established + before an IS-IS adjacency can transition to the established state. + This option should be enabled on all IS-IS neighbors on a shared + interface."; + reference "RFC6213. TLV 148"; + } + } + + grouping isis-authentication-check-config { + description + "This grouping defines ISIS authentication check."; + leaf authentication-check { + type boolean; + default "true"; + description + "When set to true, reject all ISIS protocol PDUs that either have a mismatch + in authentication-type or authentication-key."; + } + } + + grouping isis-metric-style-config { + description + "This grouping defines ISIS metric style."; + leaf metric-style { + type oc-isis-types:metric-style; + description + "ISIS metric style types(narrow, wide)."; + } + } + + grouping authentication-key-config { + description + "This grouping defines authentication key configuration."; + leaf auth-password { + type oc-types:routing-password; + description + "Authentication key string."; + } + } + + grouping keychain-base-group { + description + "This grouping defines keychain configuration."; + container keychain { + description + "This container defines keychain parameters."; + } + } + + grouping isis-authentication-config { + description + "This grouping defines ISIS authentication configuration."; + leaf csnp-authentication { + type boolean; + default "false"; + description + "Enable or disable for IS-IS CSNPs."; + } + leaf psnp-authentication { + type boolean; + default "false"; + description + "Enable or disable authentication for IS-IS PSNPs."; + } + leaf lsp-authentication { + type boolean; + default "false"; + description + "Enable or disable authentication for IS-IS LSPs."; + } + } + + grouping isis-authentication-group { + description + "This grouping defines ISIS authentication."; + container config { + description + "This container defines ISIS authentication configuration."; + uses isis-authentication-config; + } + container state { + config false; + description + "This container defines ISIS authentication state."; + uses isis-authentication-config; + } + container key { + description + "This container defines ISIS authentication key"; + container config { + description + "This container defines ISIS authentication key configuration."; + uses authentication-key-group-config; + } + container state { + config false; + description + "This container defines ISIS authentication key state."; + uses authentication-key-group-config; + } + } + uses keychain-base-group; + } + + grouping isis-hello-authentication-config { + description + "Configuration options for IS-IS hello authentication."; + leaf hello-authentication { + type boolean; + default "false"; + description + "Enabled or disable ISIS Hello authentication."; + } + } + + grouping isis-hello-authentication-group { + description + "This grouping defines ISIS hello-authentication."; + container config { + description + "This container defines ISIS authentication configuration."; + uses isis-hello-authentication-config; + } + container state { + config false; + description + "This container defines ISIS authentication state."; + uses isis-hello-authentication-config; + } + container key { + description + "This container defines ISIS authentication key"; + container config { + description + "This container defines ISIS authentication key configuration."; + uses authentication-key-group-config; + } + container state { + config false; + description + "This container defines ISIS authentication key state."; + uses authentication-key-group-config; + } + } + uses keychain-base-group; + } + + grouping isis-ldp-igp-config { + description + "This grouping defines ISIS/LDP Synchronization configuration."; + leaf enabled { + type boolean; + default "true"; + description + "When set to true, rely on IGP/LDP synchronization. IGP cost for + link is maintained at max until LDP adjacencies are established "; + reference "RFC5443: LDP IGP Synchronization."; + } + leaf post-session-up-delay { + type uint16; + units "seconds"; + description + "Specifies a delay, expressed in units of seconds, + between the LDP session to the IGP neighbor being established, and + it being considered synchronized by the IGP."; + } + } + + grouping isis-te-config { + description + "This grouping defines ISIS Traffic Engineering configuration."; + leaf ipv4-router-id { + type inet:ipv4-address-no-zone; + description + "IPv4 MPLS Traffic Engineering Router-ID."; + } + leaf ipv6-router-id { + type inet:ipv6-address-no-zone; + description + "IPv6 MPLS Traffic Engineering Router-ID."; + } + } + + grouping isis-reference-bandwidth-config { + description + "This grouping defines ISIS Reference Bandwidth Configuration."; + leaf reference-bandwidth { + type uint32; + description + "ISIS Reference Bandwidth value"; + } + } + + grouping isis-overload-bit-set-config { + description + "This grouping defines ISIS Overload Bit."; + leaf set-bit { + type boolean; + default "false"; + description + "When set to true, IS-IS overload bit is set."; + } + leaf set-bit-on-boot { + type boolean; + default "false"; + description + "When set to true, the IS-IS overload bit is set on system boot."; + } + leaf advertise-high-metric { + type boolean; + default "false"; + description + "When set to true, the local IS advertises links with the highest + available metric regardless of their configured metric. The metric + value is based on the metric style - if wide metrics are utilised + the metric is advertised as 16777214, otherwise they are advertised + with a value of 63."; + } + } + + grouping isis-overload-bit-reset-config { + description + "This grouping defines ISIS Overload Bit Reset Triggers"; + leaf reset-trigger { + type identityref { + base oc-isis-types:OVERLOAD_RESET_TRIGGER_TYPE; + } + description + "In the case that the system sets the overload bit on start, the + system should reset the bit (i.e., clear the overload bit) upon + the specified trigger."; + } + leaf delay { + type uint16; + units "seconds"; + description + "If a reset trigger is specified, the system should delay resetting + the overload bit for the specified number of seconds after the + trigger occurs."; + } + } + + grouping isis-attached-bit-config { + description + "This grouping defines ISIS Attached Bit"; + leaf ignore-bit { + type boolean; + default "false"; + description + "When set to true, if the attached bit is set on an incoming Level 1 + IS-IS, the local system ignores it. In this case the local system + does not set a default route to the L1L2 router advertising the PDU + with the attached bit set."; + } + leaf suppress-bit { + type boolean; + default "false"; + description + "When set to true, if the local IS acts as a L1L2 router, then the + attached bit is not advertised in locally generated PDUs."; + } + } + + grouping overload-bit-group { + description + "This grouping defines ISIS Overload Bit."; + container config { + description + "This container defines ISIS Overload Bit configuration."; + uses isis-overload-bit-set-config; + } + container state { + config false; + description + "This container defines state for ISIS Overload Bit."; + uses isis-overload-bit-set-config; + } + container reset-triggers { + description + "This container defines state for ISIS Overload Bit reset triggers"; + list reset-trigger { + key "reset-trigger"; + description + "This list describes ISIS Overload reset trigger reasons."; + leaf reset-trigger { + type leafref { + path "../config/reset-trigger"; + } + description + "Reference to the reset trigger reason"; + } + container config { + description + "This container defines ISIS Overload Bit reset trigger + configuration."; + uses isis-overload-bit-reset-config; + } + container state { + config false; + description + "This container defines state for ISIS Overload Bit reset + triggers."; + uses isis-overload-bit-reset-config; + } + } + } + } + + grouping isis-base-level-config { + description + "This grouping defines ISIS Level configuration."; + leaf level-number { + type oc-isis-types:level-number; + description + "ISIS level number (level-1, level-2)."; + } + } + + grouping isis-interface-level-config { + description + "This grouping defines ISIS Interface Level configuration."; + leaf level-number { + type oc-isis-types:level-number; + description + "ISIS level number(level-1, level-2)."; + } + leaf passive { + type boolean; + default "false"; + description + "ISIS passive interface admin enable/disable function."; + } + leaf priority { + type uint8 { + range "0 .. 127"; + } + description + "ISIS neighbor priority(LAN hello PDU only)."; + } + } + + grouping isis-hello-timers-config { + description + "This grouping defines ISIS hello timers configuration."; + leaf hello-interval { + type uint32; + description + "ISIS hello-interval value."; + } + leaf hello-multiplier { + type uint8; + description + "ISIS hello-multiplier value."; + } + } + + grouping isis-interface-config { + description + "This grouping defines ISIS interface configuration."; + leaf interface-id { + type oc-if:interface-id; + description + "Interface for which ISIS configuration is to be applied."; + } + leaf passive { + type boolean; + default "false"; + description + "When set to true, the referenced interface is a passive interface + such that it is not eligible to establish adjacencies with other + systems, but is advertised into the IS-IS topology."; + } + leaf hello-padding { + type oc-isis-types:hello-padding-type; + description + "This leaf controls padding type for IS-IS Hello PDUs."; + } + leaf circuit-type { + type oc-isis-types:circuit-type; + description + "ISIS circuit type (p2p, broadcast)."; + } + } + + grouping isis-adaptive-timers-state { + description + "This grouping defines ISIS adaptive timers state"; + leaf adaptive-timer { + type oc-isis-types:adaptive-timer-type; + description + "ISIS adaptive timer types (linear, exponential)."; + } + } + + grouping isis-lsp-generation-timers-config { + description + "This grouping defines ISIS LSP Generation timers configuration"; + leaf lsp-max-wait-interval { + type uint64; + units "milliseconds"; + description + "Time interval in milliseconds that specifies max interval between + two consecutive occurrences of an LSP being generated."; + } + leaf lsp-first-wait-interval { + type uint64; + units "milliseconds"; + description + "Time interval in milliseconds that specifies the first LSP generation + delay."; + } + leaf lsp-second-wait-interval { + type uint64; + units "milliseconds"; + description + "Time interval in milliseconds that specifies the millisecond LSP + generation delay."; + } + } + + grouping isis-lsp-timers-config { + description + "This grouping defines ISIS LSP timers configuration"; + leaf lsp-lifetime-interval { + type uint16; + units "seconds"; + default "1200"; + description + "Time interval in seconds that specifies how long an LSP remains in + LSDB without being refreshed."; + } + leaf lsp-refresh-interval { + type uint16; + units "seconds"; + description + "Time interval in seconds that specifies how often route topology + that a device originates is transmitted in LSPs."; + } + } + + grouping isis-spf-timers-config { + description + "This grouping defines ISIS SPF timers configuration."; + leaf spf-hold-interval { + type uint64; + units "milliseconds"; + default "5000"; + description + "SPF Hold Down time interval in milliseconds."; + } + leaf spf-first-interval { + type uint64; + units "milliseconds"; + description + "Time interval in milliseconds between the + detection of topology change and when the SPF algorithm runs."; + } + leaf spf-second-interval { + type uint64; + units "milliseconds"; + description + "Time interval in milliseconds between the first and second + SPF calculation."; + } + } + + grouping isis-interface-timers-config { + description + "This grouping defines ISIS interface timers configuration."; + leaf csnp-interval { + type uint16; + units "seconds"; + description + "The interval, specified in seconds, at which periodic CSNP packets + should be transmitted by the local IS."; + } + leaf lsp-pacing-interval { + type uint64; + units "milliseconds"; + description + "The interval interval in milliseconds between the + detection of topology change and when the SPF algorithm runs."; + } + } + + grouping isis-transport-config { + description + "This grouping defines configuration parameters relating to the + transport protocol used by the ISIS."; + leaf lsp-mtu-size { + type uint16; + description + "The maximum size in bytes of an IS-IS Link state PDU."; + } + } + + grouping isis-graceful-restart-config { + description + "This grouping defines ISIS graceful restart configuration."; + reference "RFC 5306: Restart Signaling for IS-IS."; + leaf helper-only { + type boolean; + description + "Enable or disable the IS-IS graceful restart helper function. When + this leaf is set, the local system does not utilise the IS-IS + graceful restart procedures during its own restart, but supports + retaining forwarding information during a remote speaker's restart."; + } + } + + grouping inter-level-propagation-policies-structural { + description + "Propagate prefixes between IS-IS levels."; + container inter-level-propagation-policies { + description + "Policies to propagate prefixes between IS-IS levels."; + container level1-to-level2 { + description + "Policies relating to prefixes to be propagated from + Level 1 to Level 2."; + container config { + description + "Configuration parameters relating to the propagation + of prefixes from IS-IS Level 1 to Level 2."; + uses inter-level-propagation-policy-config; + } + container state { + config false; + description + "Operational state parameters relating to the + propagation of prefixes from IS-IS Level 1 to Level 2."; + uses inter-level-propagation-policy-config; + } + } + container level2-to-level1 { + description + "Policies relating to prefixes to be propagated from + Level2 to Level 1."; + container config { + description + "Configuration parameters relating to the propagation + of prefixes from IS-IS Level 2 to Level 1."; + uses inter-level-propagation-policy-config; + } + container state { + config false; + description + "Operational state parameters relating to the propagation + of prefixes from IS-IS Level 2 to Level 1."; + uses inter-level-propagation-policy-config; + } + } + } + } + + grouping inter-level-propagation-policy-config { + description + "Policy governing the propagation of prefixes between levels."; + uses oc-rpol:apply-policy-import-config; + } + + grouping authentication-key-group-config { + description + "This grouping defines ISIS authentication key configuration."; + uses authentication-key-config; + } + + grouping isis-global-base { + description + "This grouping describes ISIS Global router."; + container config { + description + "This container defines ISIS global configuration router."; + uses isis-authentication-check-config; + uses isis-global-config; + } + container state { + config false; + description + "This container defines state for ISIS global router."; + uses isis-authentication-check-config; + uses isis-global-config; + } + container lsp-bit { + description + "This container defines ISIS LSP Operational Bits."; + container overload-bit { + description + "This container defines Overload Bit configuration."; + uses overload-bit-group; + } + container attached-bit { + description + "This container defines Attached Bit."; + container config { + description + "This container defines Attached Bit configuration."; + uses isis-attached-bit-config; + } + container state { + config false; + description + "This container defines state for Link State PDU Bit."; + uses isis-attached-bit-config; + } + } + } + container reference-bandwidth { + description + "This container defines ISIS Reference Bandwidth."; + container config { + description + "This container defines Reference Bandwidth configuration"; + uses isis-reference-bandwidth-config; + } + container state { + config false; + description + "This container defines state for Reference Bandwidth."; + uses isis-reference-bandwidth-config; + } + } + container nsr { + description + "This container defines ISIS Non-Stop Routing."; + container config { + description + "This container defines Non-Stop-Routing configuration."; + uses admin-config; + } + container state { + config false; + description + "This container defines state for Non-Stop-Routing"; + uses admin-config; + } + } + container graceful-restart { + description + "This container defines ISIS Graceful Restart."; + container config { + description + "This container defines ISIS graceful-restart configuration."; + uses admin-config; + uses isis-graceful-restart-config; + } + container state { + config false; + description + "This container defines state information for ISIS graceful-restart."; + uses admin-config; + uses isis-graceful-restart-config; + } + } + container timers { + description + "This container defines ISIS timers."; + container config { + description + "This container defines ISIS global timers configuration."; + uses isis-lsp-timers-config; + } + container state { + config false; + description + "This container defines state information for ISIS global timers."; + uses isis-lsp-timers-config; + } + container spf { + description + "This container defines ISIS SPF timer settings."; + container config { + description + "This container defines ISIS SPF timers configuration."; + uses isis-spf-timers-config; + } + container state { + config false; + description + "This container defines state information for ISIS SPF timers."; + uses isis-spf-timers-config; + uses isis-adaptive-timers-state; + } + } + container lsp-generation { + description + "This container defines ISIS LSP Generation."; + container config { + description + "This container defines ISIS LSP Generation timers + configuration."; + uses isis-lsp-generation-timers-config; + } + container state { + config false; + description + "This container defines state information for ISIS LSP Generation + timers."; + uses isis-lsp-generation-timers-config; + uses isis-adaptive-timers-state; + } + } + } + container transport { + description + "This container defines ISIS transport."; + container config { + description + "This container defines ISIS transport related configuration."; + uses isis-transport-config; + } + container state { + config false; + description + "This container defines state information for ISIS transport + parameters."; + uses isis-transport-config; + } + } + container mpls { + description + "Configuration and operational state relating to MPLS-related + features in IS-IS"; + container igp-ldp-sync { + description + "Configuration and operational state relating to synchronisation + between the LDP and IS-IS"; + container config { + description + "This container defines ISIS/IGP configuration."; + uses isis-ldp-igp-config; + } + container state { + config false; + description + "This container defines state information for ISIS/LDP Sync."; + uses isis-ldp-igp-config; + } + } + } + container igp-shortcuts { + description + "This container defines IGP shortcuts configuration and state + information."; + uses isis-shortcuts-afi-list; + } + container afi-safi { + description + "This container defines address-family specific configuration + and state information."; + uses isis-afi-safi-list; + } + uses oc-sr:sr-igp-top; + } + + grouping isis-route-preference-config { + description + "This grouping defines ISIS route preference configuration"; + leaf external-route-preference { + type uint8 { + range "1..max"; + } + description + "Administrative Distance(preference) for external ISIS routes."; + } + leaf internal-route-preference { + type uint8 { + range "1..max"; + } + description + "Administrative Distance(preference) for internal ISIS routes."; + } + } + + grouping isis-interfaces { + description + "This grouping defines ISIS interfaces configured on local system."; + list interface { + key "interface-id"; + description + "This list contains ISIS interfaces."; + leaf interface-id { + type leafref { + path "../config/interface-id"; + } + description + "Reference to interface-id"; + } + uses isis-interface-group; + uses oc-if:interface-ref; + } + } + + grouping isis-interface-group { + description + "This grouping defines ISIS interfaces configured on local system."; + container config { + description + "This container defines ISIS interface configuration."; + uses admin-config; + uses isis-interface-config; + } + container state { + config false; + description + "This container defines state information for ISIS interfaces."; + uses admin-config; + uses isis-interface-config; + } + container circuit-counters { + description + "This container defines state information for ISIS circuit counters."; + uses circuit-counters-structural; + } + container authentication { + description + "This container defines ISIS authentication."; + uses isis-hello-authentication-group; + } + container afi-safi { + description + "This container defines address-family specific configuration + and state information."; + uses isis-if-global-afi-safi-list; + } + container levels { + description + "This container defines ISIS level specific configuration and + state information."; + uses isis-interface-levels; + } + container timers { + description + "This container describes ISIS interface timers configuration"; + container config { + description + "Configuration parameters relating to interface + timers for IS-IS"; + uses isis-interface-timers-config; + } + container state { + config false; + description + "This container defines state information for ISIS interface timers."; + uses isis-interface-timers-config; + } + } + container bfd { + description + "This container defines BFD."; + container config { + description + "This container defines BFD configuration parameters."; + uses isis-bfd-config; + } + container state { + config false; + description + "This container defines BFD state information."; + uses isis-bfd-config; + } + } + } + + grouping isis-levels { + description + "This grouping defines global ISIS Levels."; + list level { + key "level-number"; + description + "Configuration and operational state parameters related to a + particular level within the IS-IS protocol instance"; + leaf level-number { + type leafref { + path "../config/level-number"; + } + description + "Reference to ISIS level-number."; + } + uses isis-level-group; + } + } + + grouping isis-interface-levels { + description + "This grouping defines ISIS interface Levels."; + list level { + key "level-number"; + description + "Configuration and operational state parameters related to a + particular level on an IS-IS enabled interface."; + leaf level-number { + type leafref { + path "../config/level-number"; + } + description + "Reference to ISIS level-number."; + } + uses isis-interface-level-group; + } + } + + grouping isis-level-group { + description + "This grouping defines ISIS level configuration and state + information."; + container config { + description + "This container defines ISIS level based configuration."; + uses admin-config; + uses isis-base-level-config; + uses isis-metric-style-config; + uses isis-authentication-check-config; + } + container state { + config false; + description + "This container defines ISIS level state information."; + uses admin-config; + uses isis-base-level-config; + uses isis-metric-style-config; + uses isis-authentication-check-config; + } + container system-level-counters { + description + "This container defines ISIS system level counters."; + uses system-level-counters-structural; + } + container link-state-database { + config false; + description + "This container defines ISIS LSDB."; + list lsp { + key "lsp-id"; + description + "This list describes LSPs in the LSDB."; + uses lsp-state; + } + } + container traffic-engineering { + description + "This container defines ISIS TE."; + container config { + description + "This container defines ISIS TE configuration."; + uses admin-config; + uses isis-te-config; + } + container state { + config false; + description + "This container defines ISIS TE state information."; + uses admin-config; + uses isis-te-config; + } + } + container route-preference { + description + "This container defines Administrative Distance (or preference) + assigned to ISIS routes (level1 internal, level2 internal, level1 + external, level2 external)."; + container config { + description + "This container defines route preference configuration."; + uses isis-route-preference-config; + } + container state { + config false; + description + "This container defines ISIS route preference state information."; + uses isis-route-preference-config; + } + } + container authentication { + description + "This container defines ISIS authentication."; + uses isis-authentication-group; + } + } + + grouping isis-interface-level-group { + description + "This grouping defines ISIS interface level."; + container config { + description + "This container defines interface ISIS level configuration."; + uses isis-interface-level-config; + uses admin-config; + } + container state { + config false; + description + "This container defines interface ISIS level state information."; + uses isis-interface-level-config; + uses admin-config; + } + container packet-counters { + description + "This container defines ISIS interface packet counters."; + uses packet-counters-structural; + } + container adjacencies { + config false; + description + "This container defines ISIS adjacencies."; + list adjacency { + key "system-id"; + description + "List of the local system's IS-IS adjacencies."; + leaf system-id { + type leafref { + path "../state/system-id"; + } + description + "Reference to the IS neighbor."; + } + container state { + description + "Operational state relating to the IS-IS adjacency with the + remote system"; + uses adjacency-state; + } + } + } + container timers { + description + "This container defines ISIS timers."; + container config { + description + "This container defines ISIS interface hello-timers configuration."; + uses isis-hello-timers-config; + } + container state { + config false; + description + "This container defines ISIS interface hello-timers state."; + uses isis-hello-timers-config; + } + } + container afi-safi { + description + "This container defines address-family specific configuration + and state information."; + uses isis-if-afi-safi-list; + } + container hello-authentication { + description + "This container defines ISIS authentication."; + uses isis-hello-authentication-group; + } + } + + grouping isis-top { + description + "This grouping define top-level ISIS model data."; + container isis { + description + "This container defines top-level ISIS configuration and state + information."; + container global { + description + "This container defines global ISIS configuration and state + information."; + uses isis-global-base; + uses inter-level-propagation-policies-structural; + } + container levels { + description + "This container defines ISIS level configuration and state + information."; + uses isis-levels; + } + container interfaces { + description + "This container defines global ISIS interface configuration and + state information."; + uses isis-interfaces; + } + } + } + + grouping adjacency-state { + description + "This grouping defines ISIS adjacency."; + leaf system-id { + type oc-isis-types:system-id; + description + "ISIS neighbor system-id."; + } + leaf neighbor-ipv4-address { + type inet:ipv4-address-no-zone; + description + "ISIS Neighbor IPv4 address."; + } + leaf neighbor-ipv6-address { + type inet:ipv6-address-no-zone; + description + "ISIS Neighbor IPv6 address."; + } + leaf neighbor-snpa { + type oc-isis-types:snpa; + description + "ISIS neighbor SNPA."; + } + leaf local-extended-circuit-id { + type oc-isis-types:extended-circuit-id; + description + "Local extended circuit ID."; + } + leaf neighbor-extended-circuit-id { + type oc-isis-types:extended-circuit-id; + description + "ISIS neighbor extended circuit ID."; + } + leaf priority { + type uint8 { + range "0..127"; + } + description + "Priority of the neighboring IS(LAN Hello only)."; + } + leaf dis-system-id { + type oc-isis-types:system-id; + description + "DIS System ID(LAN hello only)."; + } + leaf neighbor-circuit-type { + type oc-isis-types:level-type; + description + "Received ISIS circuit type (level-1, level-2, level-1-2)."; + } + leaf adjacency-type { + type oc-isis-types:level-type; + description + "Formed ISIS adjacency type(level-1, level-2, level-1-2)."; + } + leaf adjacency-state { + type oc-isis-types:isis-interface-adj-state; + description + "P2P 3-way ISIS adjacency state(up, down, init, failed)."; + reference "RFC4303. TLV 240."; + } + leaf remaining-hold-time { + type uint16; + units "seconds"; + description + "Holding time in seconds for adjacency. This value is based on received + hello PDUs and the elapsed time since receipt."; + } + leaf up-time { + type yang:timestamp; + description + "Adjacency up time."; + } + leaf multi-topology { + type boolean; + description + "When set to true, ISIS multi-topology is supported."; + reference "RFC5129. TLV 229."; + } + leaf-list topology { + type identityref { + base oc-isis-types:AFI_SAFI_TYPE; + } + description + "ISIS topology type support(ipv4-unicast, ipv6-unicast, + ipv4-multicast, ipv6-multicast)."; + } + leaf restart-support { + type boolean; + description + "When set to true, Graceful-restart signaling is supported."; + } + leaf restart-suppress { + type boolean; + description + "When set to true, adjacency is not advertised. The SA bit is used by a + starting router to request that its neighbor suppress advertisement of + the adjacency to the starting router in the neighbor's LSPs."; + } + leaf restart-status { + type boolean; + description + "When set to true, neighbor is being helped. The RR bit is used by a + (re)starting router to signal to its neighbors that a (re)start is in + progress."; + } + leaf-list area-address { + type oc-isis-types:area-address; + description + "List of ISIS area-address(es)."; + } + leaf-list nlpid { + type enumeration { + enum "IPV4" { + description + "IPv4 Address family."; + } + enum "IPV6" { + description + "IPv6 Address family."; + } + } + description + "Supported Protocol. IPv4 is defined as (0xcc) + and IPv6 - (0x8e). ISIS reference is TLV 129."; + } + } + + grouping packet-counters-generic-state { + description + "Operational state parameters relating to LSP packet counters."; + leaf received { + type yang:counter32; + description + "The number of the specified type of PDU received on the interface."; + } + leaf processed { + type yang:counter32; + description + "The number of the specified type of PDU received on the interface + that have been processed by the local system."; + } + leaf dropped { + type yang:counter32; + description + "The number of the specified type of PDU received on the interface + that have been dropped."; + } + leaf sent { + type yang:counter32; + description + "The number of the specified type of PDU that have been sent by the + local system on the interface."; + } + leaf retransmit { + type yang:counter32; + description + "The number of the specified type of PDU that that have been + retransmitted by the local system on the interface."; + } + } + + grouping packet-counters-structural { + description + "This grouping defines ISIS packet counter state."; + container lsp { + description + "This container defines LSP packet counters."; + container state { + config false; + description + "This container defines LSP PDU counters."; + uses packet-counters-generic-state; + } + } + container iih { + description + "This container defines IIH packet counters."; + container state { + config false; + description + "Operational counters relating to IIH PDUs"; + uses packet-counters-generic-state; + } + } + container ish { + description + "This container defines ISH packet counters."; + container state { + config false; + description + "Operational state relating to ISH PDUs."; + uses packet-counters-generic-state; + } + } + container esh { + description + "This container defines ESH packet counters."; + container state { + config false; + description + "Operational state relating to ESH PDUs"; + uses packet-counters-generic-state; + } + } + container psnp { + description + "This container defines PSNP packet counters."; + container state { + config false; + description + "Packet counters relating to PSNPs."; + uses packet-counters-generic-state; + } + } + container cnsp { + description + "Operational state parameters relating to CNSPs."; + container state { + config false; + description + "Packet counters relating to CNSPs."; + uses packet-counters-generic-state; + } + } + container unknown { + description + "Operational state parameters relating to IS-IS PDUs that are not + otherwise classified - referred to as Unknown PDUs."; + container state { + config false; + description + "Packet counters relating to unknown PDUs."; + uses packet-counters-generic-state; + } + } + } + + grouping system-level-counters-state { + description + "IS-IS counters that are relevant to the system IS-IS context."; + leaf corrupted-lsps { + type yang:counter32; + description + "Number of corrupted in-memory LSPs detected. LSPs received from the + wire with a bad checksum are silently dropped and not counted. LSPs + received from the wire with parse errors are counted by lsp-errors. MIB + Entry: SysCorrLSPs."; + } + leaf database-overloads { + type yang:counter32; + description + "Number of times the database has become + overloaded. + MIB entry: SysLSPL(Level)DbaseOloads."; + } + leaf manual-address-drop-from-areas { + type yang:counter32; + description + "Number of times a manual address has been dropped from area. + MIB Entry: SysManAddrDropFromAreas."; + } + leaf exceed-max-seq-nums { + type yang:counter32; + description + "The number of times the system has attempted to exceed the maximum + sequence number. MIB Entry: SysAttmptToExMaxSeqNums."; + } + leaf seq-num-skips { + type yang:counter32; + description + "Number of times a sequence number skip has occurred. MIB Entry: + SysSeqNumSkips."; + } + leaf own-lsp-purges { + type yang:counter32; + description + "Number of times a zero-aged copy of the system's + own LSP is received from some other node. + MIB Entry: isisSysOwnLSPPurges."; + } + leaf id-len-mismatch { + type yang:counter32; + description + "Number of times a PDU is received with a different value for ID field + length from that of the receiving system. MIB Entry: + isisSysIDFieldLenMismatches."; + } + leaf part-changes { + type yang:counter32; + description + "The number of partition changes detected. MIB Entry: SysPartChanges."; + } + leaf max-area-address-mismatches { + type yang:counter32; + description + "Number of times a PDU is received with a different value for + MaximumAreaAddresses from that of the receiving system. MIB Entry: + SysMaxAreaAddrMismatches."; + } + leaf auth-fails { + type yang:counter32; + description + "The number of authentication key failures. + MIB Entry: SysAuthFails."; + } + leaf spf-runs { + type yang:counter32; + description + "The number of times SPF was ran at this level."; + } + leaf auth-type-fails { + type yang:counter32; + description + "The number of authentication type mismatches."; + } + leaf lsp-errors { + type yang:counter32; + description + "The number of received LSPs with errors."; + } + } + + grouping system-level-counters-structural { + description + "This grouping defines system level counters."; + container state { + config false; + description + "The container defines a list of system counters for the IS."; + uses system-level-counters-state; + } + } + + grouping circuit-counters-state { + description + "Operational state parameters relating to counters specific to one + interface or circuit."; + leaf adj-changes { + type yang:counter32; + description + "Number of times an adjacency state change has occurred on this circuit. + MIB Entry: CircAdjChanges."; + } + leaf init-fails { + type yang:counter32; + description + "Number of times initialization of this circuit has failed. This counts + events such as PPP NCP failures. MIB Entry: CircInitFails."; + } + leaf rejected-adj { + type yang:counter32; + description + "Number of times an adjacency has been rejected on this circuit. MIB + Entry: CircRejAdjs."; + } + leaf id-field-len-mismatches { + type yang:counter32; + description + "Number of times an IS-IS control PDU with an ID field length different + from that for this system has been received. + MIB Entry: CircIDFieldLenMismatches."; + } + leaf max-area-address-mismatches { + type yang:counter32; + description + "Number of times an IS-IS control PDU with a max area address field + different from that for this system has been received. MIB Entry: + CircMaxAreaAddrMismatches."; + } + leaf auth-type-fails { + type yang:counter32; + description + "Number of times an IS-IS control PDU with an auth type field different + from that for this system has been received. MIB Entry: + CircAuthTypeFails."; + } + leaf auth-fails { + type yang:counter32; + description + "Number of times an IS-IS control PDU with the correct auth type has + failed to pass authentication validation. MIB Entry: CircAuthFails."; + } + leaf lan-dis-changes { + type yang:counter32; + description + "Number of times the Designated IS has changed on this circuit at this + level. If the circuit is point to point, this count is zero. MIB Entry: + CircLANDesISChanges."; + } + leaf adj-number { + type uint32; + description + "Number of adjacencies on this circuit. + MIB Entry: CircNumAdj."; + } + } + + grouping circuit-counters-structural { + description + "This grouping defines circuit counters."; + container state { + config false; + description + "The container defines a list of counters for IS circuit."; + uses circuit-counters-state; + } + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-lacp.yang b/yang/modules/cisco-ios-xr/632/openconfig-lacp.yang new file mode 100644 index 0000000..a69bde5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-lacp.yang @@ -0,0 +1,374 @@ +module openconfig-lacp { + yang-version 1; + namespace "http://openconfig.net/yang/lacp"; + prefix oc-lacp; + + import openconfig-interfaces { + prefix oc-if; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module describes configuration and operational state + data for Link Aggregation Control Protocol (LACP) for + managing aggregate interfaces. It works in conjunction with + the OpenConfig interfaces and aggregate interfaces models."; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + typedef lacp-activity-type { + type enumeration { + enum "ACTIVE" { + description + "Interface is an active member, i.e., will detect and + maintain aggregates"; + } + enum "PASSIVE" { + description + "Interface is a passive member, i.e., it participates + with an active partner"; + } + } + description + "Describes the LACP membership type, active or passive, of the + interface in the aggregate"; + reference "IEEE 802.1AX-2008"; + } + + typedef lacp-timeout-type { + type enumeration { + enum "LONG" { + description + "Participant wishes to use long timeouts to detect + status of the aggregate, i.e., will expect less frequent + transmissions. Long timeout is 90 seconds."; + } + enum "SHORT" { + description + "Participant wishes to use short timeouts, i.e., expects + frequent transmissions to aggressively detect status + changes. Short timeout is 3 seconds."; + } + } + description + "Type of timeout used, short or long, by LACP participants"; + reference "IEEE 802.1AX-2008"; + } + + typedef lacp-synchronization-type { + type enumeration { + enum "IN_SYNC" { + description + "Participant is in sync with the system id and key + transmitted"; + } + enum "OUT_SYNC" { + description + "Participant is not in sync with the system id and key + transmitted"; + } + } + description + "Indicates LACP synchronization state of participant"; + reference "IEEE 802.1AX-2008"; + } + + typedef lacp-period-type { + type enumeration { + enum "FAST" { + description + "Send LACP packets every second"; + } + enum "SLOW" { + description + "Send LACP packets every 30 seconds"; + } + } + description + "Defines the period options for the time between sending + LACP messages"; + reference "IEEE 802.3ad"; + } + + grouping aggregation-lacp-members-config { + description + "Configuration data for lacp member interfaces"; + } + + grouping aggregation-lacp-members-state { + description + "Operational status data for the member interfaces"; + leaf interface { + type oc-if:base-interface-ref; + description + "Reference to interface member of the LACP aggregate"; + } + leaf activity { + type lacp-activity-type; + description + "Indicates participant is active or passive"; + } + leaf timeout { + type lacp-timeout-type; + description + "The timeout type (short or long) used by the + participant"; + } + leaf synchronization { + type lacp-synchronization-type; + description + "Indicates whether the participant is in-sync or + out-of-sync"; + } + leaf aggregatable { + type boolean; + description + "A true value indicates that the participant will allow + the link to be used as part of the aggregate. A false + value indicates the link should be used as an individual + link"; + } + leaf collecting { + type boolean; + description + "If true, the participant is collecting incoming frames + on the link, otherwise false"; + } + leaf distributing { + type boolean; + description + "When true, the participant is distributing outgoing + frames; when false, distribution is disabled"; + } + leaf system-id { + type yang:mac-address; + description + "MAC address that defines the local system ID for the + aggregate interface"; + } + leaf oper-key { + type uint16; + description + "Current operational value of the key for the aggregate + interface"; + } + leaf partner-id { + type yang:mac-address; + description + "MAC address representing the protocol partner's interface + system ID"; + } + leaf partner-key { + type uint16; + description + "Operational value of the protocol partner's key"; + } + } + + grouping aggregation-lacp-members-statistics { + description + "LACP packet statistics for the member interfaces"; + container counters { + description + "LACP protocol counters"; + leaf lacp-in-pkts { + type yang:counter64; + description + "Number of LACPDUs received"; + } + leaf lacp-out-pkts { + type yang:counter64; + description + "Number of LACPDUs transmitted"; + } + leaf lacp-rx-errors { + type yang:counter64; + description + "Number of LACPDU receive packet errors"; + } + leaf lacp-tx-errors { + type yang:counter64; + description + "Number of LACPDU transmit packet errors"; + } + leaf lacp-unknown-errors { + type yang:counter64; + description + "Number of LACPDU unknown packet errors"; + } + leaf lacp-errors { + type yang:counter64; + description + "Number of LACPDU illegal packet errors"; + } + } + } + + grouping aggregation-lacp-members-top { + description + "Top-level grouping for aggregate members list"; + container members { + config false; + description + "Enclosing container for the list of members interfaces of + the aggregate. This list is considered operational state + only so is labeled config false and has no config container"; + list member { + key "interface"; + description + "List of member interfaces and their associated status for + a LACP-controlled aggregate interface. Member list is not + configurable here -- each interface indicates items + its participation in the LAG."; + leaf interface { + type leafref { + path "../state/interface"; + } + description + "Reference to aggregate member interface"; + } + container state { + config false; + description + "Operational state data for aggregate members"; + uses aggregation-lacp-members-state; + uses aggregation-lacp-members-statistics; + } + } + } + } + + grouping lacp-interfaces-config { + description + "Configuration data for each LACP-enabled interface"; + leaf name { + type oc-if:base-interface-ref; + description + "Reference to the interface on which LACP should be + configured. The type of the target interface must be + ieee8023adLag"; + } + leaf interval { + type lacp-period-type; + default "SLOW"; + description + "Set the period between LACP messages -- uses + the lacp-period-type enumeration."; + } + leaf lacp-mode { + type lacp-activity-type; + default "ACTIVE"; + description + "ACTIVE is to initiate the transmission of LACP packets. + PASSIVE is to wait for peer to initiate the transmission of + LACP packets."; + } + leaf system-id-mac { + type yang:mac-address; + description + "The MAC address portion of the node's System ID. This is + combined with the system priority to construct the 8-octet + system-id"; + } + uses aggregation-lacp-global-config; + } + + grouping lacp-interfaces-state { + description + "Operational state data for each LACP-enabled interface"; + } + + grouping lacp-interfaces-top { + description + "Top-level grouping for LACP-enabled interfaces"; + container interfaces { + description + "Enclosing container for the list of LACP-enabled + interfaces"; + list interface { + key "name"; + description + "List of aggregate interfaces managed by LACP"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the list key"; + } + container config { + description + "Configuration data for each LACP aggregate interface"; + uses lacp-interfaces-config; + } + container state { + config false; + description + "Operational state data for each LACP aggregate + interface"; + uses lacp-interfaces-config; + uses lacp-interfaces-state; + } + uses aggregation-lacp-members-top; + } + } + } + + grouping aggregation-lacp-global-config { + description + "Configuration data for LACP aggregate interfaces"; + leaf system-priority { + type uint16; + description + "Sytem priority used by the node on this LAG interface. + Lower value is higher priority for determining which node + is the controlling system."; + } + } + + grouping aggregation-lacp-global-state { + description + "Operational data for LACP aggregate interfaces"; + } + + grouping aggregation-lacp-top { + description + "Top level configuration and state variable containers for + LACP data"; + container lacp { + description + "Configuration and operational state data for LACP protocol + operation on the aggregate interface"; + container config { + description + "Configuration data for LACP"; + uses aggregation-lacp-global-config; + } + container state { + config false; + description + "Operational state data for LACP"; + uses aggregation-lacp-global-config; + uses aggregation-lacp-global-state; + } + uses lacp-interfaces-top; + } + } + oc-ext:openconfig-version "1.0.2"; + + uses aggregation-lacp-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-lldp-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-lldp-types.yang new file mode 100644 index 0000000..b0af089 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-lldp-types.yang @@ -0,0 +1,269 @@ +module openconfig-lldp-types { + yang-version 1; + namespace "http://openconfig.net/yang/lldp/types"; + prefix oc-lldp-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines types related to the LLDP protocol model."; + + revision 2016-05-16 { + description + "Initial public revision"; + reference "0.1.0"; + } + + identity LLDP_SYSTEM_CAPABILITY { + description + "Base identity for standard LLDP system capabilities. + The system capabilities field contains a bit-map of the + capabilities that define the primary function(s) of + the system. A system may advertise more than one capability."; + reference "Table 8-4 System Capabilities, IEEE 802.1AB-2009"; + } + + identity OTHER { + base LLDP_SYSTEM_CAPABILITY; + description + "Other capability not specified; bit position 1"; + } + + identity REPEATER { + base LLDP_SYSTEM_CAPABILITY; + description + "Repeater capability; bit position 2"; + reference "IETF RFC 2108"; + } + + identity MAC_BRIDGE { + base LLDP_SYSTEM_CAPABILITY; + description + "MAC bridge capability; bit position 3"; + reference "IEEE Std 802.1D"; + } + + identity WLAN_ACCESS_POINT { + base LLDP_SYSTEM_CAPABILITY; + description + "WLAN access point capability; bit position 4"; + reference "IEEE Std 802.11 MIB"; + } + + identity ROUTER { + base LLDP_SYSTEM_CAPABILITY; + description + "Router; bit position 5"; + reference "IETF RFC 1812"; + } + + identity TELEPHONE { + base LLDP_SYSTEM_CAPABILITY; + description + "Telephone capability; bit position 6"; + reference "IETF RFC 4293"; + } + + identity DOCSIS_CABLE_DEVICE { + base LLDP_SYSTEM_CAPABILITY; + description + "DOCSIS cable device; bit position 7"; + reference "IETF RFC 4639 and IETF RFC 4546"; + } + + identity STATION_ONLY { + base LLDP_SYSTEM_CAPABILITY; + description + "Station only capability, for devices that implement only an + end station capability, and for which none of the other + capabilities apply; bit position 8"; + reference "IETF RFC 4293"; + } + + identity C_VLAN { + base LLDP_SYSTEM_CAPABILITY; + description + "C-VLAN component of a VLAN Bridge; bit position 9"; + reference "IEEE Std 802.1Q"; + } + + identity S_VLAN { + base LLDP_SYSTEM_CAPABILITY; + description + "S-VLAN component of a VLAN Bridge; bit position 10"; + reference "IEEE Std 802.1Q"; + } + + identity TWO_PORT_MAC_RELAY { + base LLDP_SYSTEM_CAPABILITY; + description + "Two-port MAC Relay (TPMR) capability; bit position 11"; + reference "IEEE Std 802.1Q"; + } + + identity LLDP_TLV { + description + "A base identity which describes the TLVs in LLDP"; + } + + identity CHASSIS_ID { + base LLDP_TLV; + description + "The chassis identifier of the device associated with + the transmitting LLDP agent"; + reference "IEEE Std 802.1AB"; + } + + identity PORT_ID { + base LLDP_TLV; + description + "The port identifier associated with the interface + on with the LLDP agent is transmitting"; + reference "IEEE Std 802.1AB"; + } + + identity PORT_DESCRIPTION { + base LLDP_TLV; + description + "The description of the port that is associated with + the interface on which the LLDP agent is transmitting"; + reference "IEEE Std 802.1AB"; + } + + identity SYSTEM_NAME { + base LLDP_TLV; + description + "The assigned name (sysName or hostname) of the device + which is transmitting the LLDP PDU"; + reference "IEEE Std 802.1AB"; + } + + identity SYSTEM_DESCRIPTION { + base LLDP_TLV; + description + "The description (sysDescr) of the device which is + transmitting the LLDP PDU"; + reference "IEEE Std 802.1AB"; + } + + identity SYSTEM_CAPABILITIES { + base LLDP_TLV; + description + "The primary functions of the device transmitting the + LLDP PDU and their administrative status"; + reference "IEEE Std 802.1AB"; + } + + identity MANAGEMENT_ADDRESS { + base LLDP_TLV; + description + "The address associated with the device transmitting the + LLDP PDU which can be used for higher-layer network + management"; + reference "IEEE Std 802.1AB"; + } + + typedef chassis-id-type { + type enumeration { + enum "CHASSIS_COMPONENT" { + description + "Chassis identifier based on the value of entPhysicalAlias + object defined in IETF RFC 2737"; + } + enum "INTERFACE_ALIAS" { + description + "Chassis identifier based on the value of ifAlias object + defined in IETF RFC 2863"; + } + enum "PORT_COMPONENT" { + description + "Chassis identifier based on the value of entPhysicalAlias + object defined in IETF RFC 2737 for a port or backplane + component"; + } + enum "MAC_ADDRESS" { + description + "Chassis identifier based on the value of a unicast source + address (encoded in network byte order and IEEE 802.3 + canonical bit order), of a port on the containing chassis + as defined in IEEE Std 802-2001"; + } + enum "NETWORK_ADDRESS" { + description + "Chassis identifier based on a network address, + associated with a particular chassis. The encoded address + is composed of two fields. The first field is a single + octet, representing the IANA AddressFamilyNumbers value + for the specific address type, and the second field is the + network address value"; + } + enum "INTERFACE_NAME" { + description + "Chassis identifier based on the name of the interface, + e.g., the value of ifName object defined in IETF RFC 2863"; + } + enum "LOCAL" { + description + "Chassis identifier based on a locally defined value"; + } + } + description + "Type definition with enumerations describing the source of + the chassis identifier"; + reference "IEEE 802.1AB LLDP MIB"; + } + + typedef port-id-type { + type enumeration { + enum "INTERFACE_ALIAS" { + description + "Chassis identifier based on the value of ifAlias object + defined in IETF RFC 2863"; + } + enum "PORT_COMPONENT" { + description + "Port identifier based on the value of entPhysicalAlias + object defined in IETF RFC 2737 for a port component"; + } + enum "MAC_ADDRESS" { + description + "Port identifier based on the value of a unicast source + address (encoded in network byte order and IEEE 802.3 + canonical bit order) associated with a port"; + } + enum "NETWORK_ADDRESS" { + description + "Port identifier based on a network address, + associated with a particular port"; + } + enum "INTERFACE_NAME" { + description + "Port identifier based on the name of the interface, + e.g., the value of ifName object defined in IETF RFC 2863"; + } + enum "AGENT_CIRCUIT_ID" { + description + "Port identifer based on the circuit id in the DHCP + relay agent information option as defined in IETF + RFC 3046"; + } + enum "LOCAL" { + description + "Port identifier based on a locally defined alphanumeric + string"; + } + } + description + "Type definition with enumerations describing the basis of + the port identifier"; + reference "IEEE 802.1AB LLDP MIB"; + } + oc-ext:openconfig-version "0.1.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-lldp.yang b/yang/modules/cisco-ios-xr/632/openconfig-lldp.yang new file mode 100644 index 0000000..831a2ed --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-lldp.yang @@ -0,0 +1,532 @@ +module openconfig-lldp { + yang-version 1; + namespace "http://openconfig.net/yang/lldp"; + prefix oc-lldp; + + import openconfig-lldp-types { + prefix oc-lldp-types; + } + import openconfig-interfaces { + prefix oc-if; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines configuration and operational state data + for the LLDP protocol."; + + revision 2016-05-16 { + description + "Initial public revision"; + reference "0.1.0"; + } + + grouping lldp-common-counters { + description + "Definition of global and per-interface counters"; + leaf frame-in { + type yang:counter64; + description + "The number of lldp frames received."; + } + leaf frame-out { + type yang:counter64; + description + "The number of frames transmitted out."; + } + leaf frame-error-in { + type yang:counter64; + description + "The number of LLDP frames received with errors."; + } + leaf frame-discard { + type yang:counter64; + description + "The number of LLDP frames received and discarded."; + } + leaf tlv-discard { + type yang:counter64; + description + "The number of TLV frames received and discarded."; + } + leaf tlv-unknown { + type yang:counter64; + description + "The number of frames received with unknown TLV."; + } + leaf last-clear { + type yang:date-and-time; + description + "Indicates the last time the counters were + cleared."; + } + } + + grouping lldp-global-counters { + description + "Definition of global LLDP counters"; + uses lldp-common-counters; + leaf tlv-accepted { + type yang:counter64; + description + "The number of valid TLVs received."; + } + leaf entries-aged-out { + type yang:counter64; + description + "The number of entries aged out due to timeout."; + } + } + + grouping lldp-interface-counters { + description + "Definition of per-interface LLDP counters"; + uses lldp-common-counters; + leaf frame-error-out { + type yang:counter64; + description + "The number of frame transmit errors on the + interface."; + } + } + + grouping lldp-system-info-config { + description + "Configuration data for system-level local and remote + LLDP information"; + leaf system-name { + type string { + length "0..255"; + } + description + "The system name field shall contain an alpha-numeric string + that indicates the system's administratively assigned name. + The system name should be the system's fully qualified domain + name. If implementations support IETF RFC 3418, the sysName + object should be used for this field."; + } + leaf system-description { + type string { + length "0..255"; + } + description + "The system description field shall contain an alpha-numeric + string that is the textual description of the network entity. + The system description should include the full name and + version identification of the system's hardware type, + software operating system, and networking software. If + implementations support IETF RFC 3418, the sysDescr object + should be used for this field."; + } + leaf chassis-id { + type string; + description + "The Chassis ID is a mandatory TLV which identifies the + chassis component of the endpoint identifier associated with + the transmitting LLDP agent"; + } + leaf chassis-id-type { + type oc-lldp-types:chassis-id-type; + description + "This field identifies the format and source of the chassis + identifier string. It is an enumerator defined by the + LldpChassisIdSubtype object from IEEE 802.1AB MIB."; + } + } + + grouping lldp-system-info-state { + description + "Operational state data reported for the local and remote + systems"; + } + + grouping lldp-neighbor-config { + description + "Configuration data for LLDP neighbors"; + } + + grouping lldp-neighbor-state { + description + "Operational state data for LLDP neighbors"; + leaf id { + type string; + description + "System generated identifier for the neighbor on the + interface."; + } + leaf age { + type uint64; + units "seconds"; + description + "Age since discovery"; + } + leaf last-update { + type int64; + description + "Seconds since last update received."; + } + leaf port-id { + type string; + description + "The Port ID is a mandatory TLV which identifies the port + component of the endpoint identifier associated with the + transmitting LLDP agent. If the specified port is an IEEE + 802.3 Repeater port, then this TLV is optional."; + } + leaf port-id-type { + type oc-lldp-types:port-id-type; + description + "This field identifies the format and source of the port + identifier string. It is an enumerator defined by the + PtopoPortIdType object from RFC2922."; + } + leaf port-description { + type string; + description + "The binary string containing the actual port identifier for + the port which this LLDP PDU was transmitted. The source and + format of this field is defined by PtopoPortId from + RFC2922."; + } + leaf management-address { + type string; + description + "The Management Address is a mandatory TLV which identifies a + network address associated with the local LLDP agent, which + can be used to reach the agent on the port identified in the + Port ID TLV."; + } + leaf management-address-type { + type string; + description + "The enumerated value for the network address type + identified in this TLV. This enumeration is defined in the + 'Assigned Numbers' RFC [RFC3232] and the + ianaAddressFamilyNumbers object."; + } + } + + grouping lldp-capabilities-config { + description + "Configuration data for LLDP capabilities"; + } + + grouping lldp-capabilities-state { + description + "Operational state data for LLDP capabilities"; + leaf name { + type identityref { + base oc-lldp-types:LLDP_SYSTEM_CAPABILITY; + } + description + "Name of the system capability advertised by the neighbor. + Capabilities are represented in a bitmap that defines the + primary functions of the system. The capabilities are + defined in IEEE 802.1AB."; + } + leaf enabled { + type boolean; + description + "Indicates whether the corresponding system capability is + enabled on the neighbor."; + reference "Sec 8.5.8.2 of IEEE 802.1AB-2009"; + } + } + + grouping lldp-capabilities-top { + description + "Top-level grouping for LLDP capabilities"; + container capabilities { + config false; + description + "Enclosing container for list of LLDP capabilities"; + list capability { + key "name"; + description + "List of LLDP system capabilities advertised by the + neighbor"; + leaf name { + type leafref { + path "../state/name"; + } + description + "Reference to capabilities list key"; + } + container config { + description + "Configuration data for LLDP capabilities"; + uses lldp-capabilities-config; + } + container state { + config false; + description + "Operational state data for LLDP capabilities"; + uses lldp-capabilities-config; + uses lldp-capabilities-state; + } + } + } + } + + grouping lldp-custom-tlv-config { + description + "Configuration data for custom LLDP TLVs"; + } + + grouping lldp-custom-tlv-state { + description + "Operational state data for custom LLDP TLVs"; + leaf type { + type int32; + description + "The integer value identifying the type of information + contained in the value field."; + } + leaf oui { + type string; + description + "The organizationally unique identifier field shall contain + the organization's OUI as defined in Clause 9 of IEEE Std + 802. The high-order octet is 0 and the low-order 3 octets + are the SMI Network Management Private Enterprise Code of + the Vendor in network byte order, as defined in the + 'Assigned Numbers' RFC [RFC3232]."; + } + leaf oui-subtype { + type string; + description + "The organizationally defined subtype field shall contain a + unique subtype value assigned by the defining organization."; + } + leaf value { + type binary; + description + "A variable-length octet-string containing the + instance-specific information for this TLV."; + } + } + + grouping lldp-custom-tlv-top { + description + "Top-level grouping for custom LLDP TLVs"; + container custom-tlvs { + config false; + description + "Enclosing container for list of custom TLVs from a + neighbor"; + list tlv { + key "type oui oui-subtype"; + description + "List of custom LLDP TLVs from a neighbor"; + leaf type { + type leafref { + path "../state/type"; + } + description + "Reference to type list key"; + } + leaf oui { + type leafref { + path "../state/oui"; + } + description + "Reference to oui list key"; + } + leaf oui-subtype { + type leafref { + path "../state/oui-subtype"; + } + description + "Reference to oui-subtype list key"; + } + container config { + description + "Configuration data "; + uses lldp-custom-tlv-config; + } + container state { + config false; + description + "Operational state data "; + uses lldp-custom-tlv-config; + uses lldp-custom-tlv-state; + } + } + } + } + + grouping lldp-neighbor-top { + description + "Top-level grouping for the LLDP neighbor list"; + container neighbors { + config false; + description + "Enclosing container for list of LLDP neighbors on an + interface"; + list neighbor { + key "id"; + description + "List of LLDP neighbors"; + leaf id { + type leafref { + path "../state/id"; + } + description + " "; + } + container config { + description + "Configuration data "; + uses lldp-neighbor-config; + } + container state { + config false; + description + "Operational state data "; + uses lldp-system-info-config; + uses lldp-system-info-state; + uses lldp-neighbor-config; + uses lldp-neighbor-state; + } + uses lldp-custom-tlv-top; + uses lldp-capabilities-top; + } + } + } + + grouping lldp-interface-config { + description + "Configuration data for LLDP on each interface"; + leaf name { + type oc-if:base-interface-ref; + description + "Reference to the LLDP Ethernet interface"; + } + leaf enabled { + type boolean; + default "true"; + description + "Enable or disable the LLDP protocol on the interface."; + } + } + + grouping lldp-interface-state { + description + "Operational state data for LLDP on each interface"; + container counters { + description + "LLDP counters on each interface"; + uses lldp-interface-counters; + } + } + + grouping lldp-interface-top { + description + "Top-level grouping "; + container interfaces { + description + "Enclosing container "; + list interface { + key "name"; + description + "List of interfaces on which LLDP is enabled / available"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the list key"; + } + container config { + description + "Configuration data for LLDP on each interface"; + uses lldp-interface-config; + } + container state { + config false; + description + "Operational state data "; + uses lldp-interface-config; + uses lldp-interface-state; + } + uses lldp-neighbor-top; + } + } + } + + grouping lldp-config { + description + "Configuration data for global LLDP parameters"; + leaf enabled { + type boolean; + default "true"; + description + "System level state of the LLDP protocol."; + } + leaf hello-timer { + type uint64; + units "seconds"; + description + "System level hello timer for the LLDP protocol."; + } + leaf-list suppress-tlv-advertisement { + type identityref { + base oc-lldp-types:LLDP_TLV; + } + description + "Indicates whether the local system should suppress the + advertisement of particular TLVs with the LLDP PDUs that it + transmits. Where a TLV type is specified within this list, it + should not be included in any LLDP PDU transmitted by the + local agent."; + } + } + + grouping lldp-state { + description + "Operational state data for global LLDP parameters"; + container counters { + description + "Global LLDP counters"; + uses lldp-global-counters; + } + } + + grouping lldp-top { + description + "Top-level grouping for LLDP model"; + container lldp { + description + "Top-level container for LLDP configuration and state data"; + container config { + description + "Configuration data "; + uses lldp-config; + uses lldp-system-info-config; + } + container state { + config false; + description + "Operational state data "; + uses lldp-config; + uses lldp-system-info-config; + uses lldp-system-info-state; + uses lldp-state; + } + uses lldp-interface-top; + } + } + oc-ext:openconfig-version "0.1.0"; + + uses lldp-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-local-routing.yang b/yang/modules/cisco-ios-xr/632/openconfig-local-routing.yang new file mode 100644 index 0000000..4ebb427 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-local-routing.yang @@ -0,0 +1,344 @@ +module openconfig-local-routing { + yang-version 1; + namespace "http://openconfig.net/yang/local-routing"; + prefix oc-loc-rt; + + import ietf-inet-types { + prefix inet; + } + import openconfig-policy-types { + prefix oc-pt; + } + import openconfig-extensions { + prefix oc-ext; + } + import cisco-xr-openconfig-interfaces-types { + prefix cisco-oc-if-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module describes configuration and operational state data + for routes that are locally generated, i.e., not created by + dynamic routing protocols. These include static routes, locally + created aggregate routes for reducing the number of constituent + routes that must be advertised, summary routes for IGPs, etc. + This model expresses locally generated routes as generically as + possible, avoiding configuration of protocol-specific attributes + at the time of route creation. This is primarily to avoid + assumptions about how underlying router implementations handle + route attributes in various routing table data structures they + maintain. Hence, the definition of locally generated routes + essentially creates 'bare' routes that do not have any protocol- + specific attributes. + When protocol-specific attributes must be attached to a route + (e.g., communities on a locally defined route meant to be + advertised via BGP), the attributes should be attached via a + protocol-specific policy after importing the route into the + protocol for distribution (again via routing policy)."; + + revision 2016-05-11 { + description + "OpenConfig public release"; + reference "1.0.0"; + } + + identity LOCAL_DEFINED_NEXT_HOP { + description + "A base identity type of local defined next-hops"; + } + + identity DROP { + base LOCAL_DEFINED_NEXT_HOP; + description + "Discard traffic for the corresponding destination"; + } + + identity LOCAL_LINK { + base LOCAL_DEFINED_NEXT_HOP; + description + "Treat traffic towards addresses within the specified + next-hop prefix as though they are connected to a local + link. When the LOCAL_LINK next-hop type is specified, + an interface must also be specified such that + the local system can determine which link to trigger + link-layer address discovery against"; + } + + typedef local-defined-next-hop { + type identityref { + base LOCAL_DEFINED_NEXT_HOP; + } + description + "Pre-defined next-hop designation for locally generated + routes"; + } + + grouping local-generic-settings { + description + "Generic options that can be set on local routes When + they are defined"; + leaf set-tag { + type oc-pt:tag-type; + description + "Set a generic tag value on the route. This tag can be + used for filtering routes that are distributed to other + routing protocols."; + } + } + + grouping local-static-config { + description + "Configuration data for static routes."; + leaf prefix { + type inet:ip-prefix; + description + "Destination prefix for the static route, either IPv4 or + IPv6."; + } + uses local-generic-settings; + } + + grouping local-static-state { + description + "Operational state data for static routes"; + } + + grouping local-static-nexthop-config { + description + "Configuration parameters related to each next-hop entry + specified for a static route"; + leaf index { + type string; + description + "An user-specified identifier utilised to uniquely reference + the next-hop entry in the next-hop list. The value of this + index has no semantic meaning other than for referencing + the entry."; + } + leaf next-hop { + type union { + type inet:ip-address-no-zone; + type local-defined-next-hop; + } + description + "The next-hop that is to be used for the static route + - this may be specified as an IP address, an interface + or a pre-defined next-hop type - for instance, DROP or + LOCAL_LINK. When this leaf is not set, and the interface-ref + value is specified for the next-hop, then the system should + treat the prefix as though it is directly connected to the + interface."; + } + leaf metric { + type uint32; + description + "A metric which is utilised to specify the preference of + the next-hop entry when it is injected into the RIB. The + lower the metric, the more preferable the prefix is. When + this value is not specified the metric is inherited from + the default metric utilised for static routes within the + network instance that the static routes are being + instantiated. When multiple next-hops are specified for a + static route, the metric is utilised to determine which of + the next-hops is to be installed in the RIB. When multiple + next-hops have the same metric (be it specified, or simply + the default) then these next-hops should all be installed + in the RIB"; + } + leaf recurse { + type boolean; + default "false"; + description + "Determines whether the next-hop should be allowed to + be looked up recursively - i.e., via a RIB entry which has + been installed by a routing protocol, or another static route + - rather than needing to be connected directly to an + interface of the local system within the current network + instance. When the interface reference specified within the + next-hop entry is set (i.e., is not null) then forwarding is + restricted to being via the interface specified - and + recursion is hence disabled."; + } + } + + grouping local-static-nexthop-state { + description + "Operational state parameters relating to a next-hop entry + for a static route"; + } + + grouping local-static-top { + description + "Top-level grouping for the list of static route definitions"; + container static-routes { + description + "Enclosing container for the list of static routes"; + list static { + key "prefix"; + description + "List of locally configured static routes"; + leaf prefix { + type leafref { + path "../config/prefix"; + } + description + "Reference to the destination prefix list key."; + } + container config { + description + "Configuration data for static routes"; + uses local-static-config; + } + container state { + config false; + description + "Operational state data for static routes"; + uses local-static-config; + uses local-static-state; + } + container next-hops { + description + "Configuration and state parameters relating to the + next-hops that are to be utilised for the static + route being specified"; + list next-hop { + key "index"; + description + "A list of next-hops to be utilised for the static + route being specified."; + leaf index { + type leafref { + path "../config/index"; + } + description + "A reference to the index of the current next-hop. + The index is intended to be a user-specified value + which can be used to reference the next-hop in + question, without any other semantics being + assigned to it."; + } + container config { + description + "Configuration parameters relating to the next-hop + entry"; + uses local-static-nexthop-config; + } + container state { + config false; + description + "Operational state parameters relating to the + next-hop entry"; + uses local-static-nexthop-config; + uses local-static-nexthop-state; + } + uses cisco-oc-if-types:interface-ref; + } + } + } + } + } + + grouping local-aggregate-config { + description + "Configuration data for aggregate routes"; + leaf prefix { + type inet:ip-prefix; + description + "Aggregate prefix to be advertised"; + } + leaf discard { + type boolean; + default "false"; + description + "When true, install the aggregate route with a discard + next-hop -- traffic destined to the aggregate will be + discarded with no ICMP message generated. When false, + traffic destined to an aggregate address when no + constituent routes are present will generate an ICMP + unreachable message."; + } + uses local-generic-settings; + } + + grouping local-aggregate-state { + description + "Operational state data for local aggregate advertisement + definitions"; + } + + grouping local-aggregate-top { + description + "Top-level grouping for local aggregates"; + container local-aggregates { + description + "Enclosing container for locally-defined aggregate + routes"; + list aggregate { + key "prefix"; + description + "List of aggregates"; + leaf prefix { + type leafref { + path "../config/prefix"; + } + description + "Reference to the configured prefix for this aggregate"; + } + container config { + description + "Configuration data for aggregate advertisements"; + uses local-aggregate-config; + } + container state { + config false; + description + "Operational state data for aggregate + advertisements"; + uses local-aggregate-config; + uses local-aggregate-state; + } + } + } + } + + grouping local-routes-config { + description + "Configuration data for locally defined routes"; + } + + grouping local-routes-state { + description + "Operational state data for locally defined routes"; + } + + grouping local-routes-top { + description + "Top-level grouping for local routes"; + container local-routes { + description + "Top-level container for local routes"; + container config { + description + "Configuration data for locally defined routes"; + uses local-routes-config; + } + container state { + config false; + description + "Operational state data for locally defined routes"; + uses local-routes-config; + uses local-routes-state; + } + uses local-static-top; + uses local-aggregate-top; + } + } + oc-ext:openconfig-version "1.0.0"; + + uses local-routes-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-igp.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-igp.yang new file mode 100644 index 0000000..2d727b1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-igp.yang @@ -0,0 +1,54 @@ +submodule openconfig-mpls-igp { + yang-version 1; + belongs-to openconfig-mpls { + prefix mpls; + } + + import openconfig-mpls-ldp { + prefix ldp; + } + import openconfig-mpls-sr { + prefix sr; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Configuration generic configuration parameters for IGP-congruent + LSPs"; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + grouping igp-lsp-common { + description + "common definitions for IGP-congruent LSPs"; + } + + grouping igp-lsp-setup { + description + "signaling protocol definitions for IGP-based LSPs"; + container path-setup-protocol { + description + "select and configure the signaling method for + the LSP"; + uses ldp:igp-lsp-ldp-setup; + uses sr:igp-lsp-sr-setup; + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-ldp.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-ldp.yang new file mode 100644 index 0000000..a09ff9f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-ldp.yang @@ -0,0 +1,125 @@ +module openconfig-mpls-ldp { + yang-version 1; + namespace "http://openconfig.net/yang/ldp"; + prefix ldp; + + import ietf-inet-types { + prefix inet; + } + import openconfig-mpls-types { + prefix mplst; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Configuration of Label Distribution Protocol global and LSP- + specific parameters for IGP-congruent LSPs"; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + grouping ldp-global { + description + "global LDP signaling configuration"; + container ldp { + description + "LDP global signaling configuration"; + container timers { + description + "LDP timers"; + } + } + } + + grouping igp-tunnel-ldp { + description + "common defintiions for LDP-signaled LSP tunnel + types"; + container tunnel { + description + "contains configuration stanzas for different LSP + tunnel types (P2P, P2MP, etc.)"; + leaf tunnel-type { + type mplst:tunnel-type; + description + "specifies the type of LSP, e.g., P2P or P2MP"; + } + leaf ldp-type { + type enumeration { + enum "BASIC" { + description + "basic hop-by-hop LSP"; + } + enum "TARGETED" { + description + "tLDP LSP"; + } + } + description + "specify basic or targeted LDP LSP"; + } + container p2p-lsp { + when "tunnel-type = 'P2P'" { + description + "container active when LSP tunnel type is + point to point"; + } + description + "properties of point-to-point tunnels"; + leaf-list fec-address { + type inet:ip-prefix; + description + "Address prefix for packets sharing the same + forwarding equivalence class for the IGP-based LSP"; + } + } + container p2mp-lsp { + when "tunnel-type = 'P2MP'" { + description + "container is active when LSP tunnel type is + point to multipoint"; + } + description + "properties of point-to-multipoint tunnels"; + } + container mp2mp-lsp { + when "tunnel-type = 'MP2MP'" { + description + "container is active when LSP tunnel type is + multipoint to multipoint"; + } + description + "properties of multipoint-to-multipoint tunnels"; + } + } + } + + grouping igp-lsp-ldp-setup { + description + "grouping for LDP setup attributes"; + container ldp { + presence + "Presence of this container sets the LSP to use + LDP signaling"; + description + "LDP signaling setup for IGP-congruent LSPs"; + uses igp-tunnel-ldp; + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-mpls-rsvp.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-rsvp.yang old mode 100755 new mode 100644 similarity index 86% rename from yang/modules/cisco-ios-xr/631/openconfig-mpls-rsvp.yang rename to yang/modules/cisco-ios-xr/632/openconfig-mpls-rsvp.yang index f518459..62ccb7e --- a/yang/modules/cisco-ios-xr/631/openconfig-mpls-rsvp.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-rsvp.yang @@ -1,71 +1,62 @@ module openconfig-mpls-rsvp { - - yang-version "1"; - - // namespace + yang-version 1; namespace "http://openconfig.net/yang/rsvp"; + prefix rsvp; - prefix "rsvp"; - - // import some basic types - import ietf-inet-types { prefix inet; } - import openconfig-mpls-types { prefix mplst; } - import ietf-yang-types { prefix yang; } - import openconfig-types { prefix oc-types; } - import openconfig-extensions { prefix oc-ext; } - import cisco-xr-openconfig-interfaces-types { prefix ocif; } - - - // meta - organization "OpenConfig working group"; + import ietf-inet-types { + prefix inet; + } + import openconfig-mpls-types { + prefix mplst; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-extensions { + prefix oc-ext; + } + import cisco-xr-openconfig-interfaces-types { + prefix ocif; + } + organization + "OpenConfig working group"; contact "OpenConfig working group netopenconfig@googlegroups.com"; - description "Configuration for RSVP-TE signaling, including global protocol parameters and LSP-specific configuration for constrained-path LSPs"; - oc-ext:openconfig-version "0.2.1"; - - revision "2015-11-05" { + revision 2015-11-05 { description "Initial public release of MPLS models"; reference "0.2.1"; } - - revision "2015-10-14" { + revision 2015-10-14 { description "Work in progress"; reference "0.2.0"; } - // feature statements - - // identity statements - - // typedef statements - - // grouping statements - grouping mpls-rsvp-soft-preemption_config { description "Configuration for MPLS soft preemption"; leaf enable { type boolean; - default false; + default "false"; description "Enables soft preemption on a node."; } - leaf soft-preemption-timeout { type uint16 { - range 0..max; + range "0..max"; } - // The RFC actually recommends 30 seconds as default. - default 0; + default "0"; description "Timeout value for soft preemption to revert to hard preemption"; @@ -99,13 +90,12 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-hellos_config { description "RSVP protocol options configuration."; - leaf hello-interval { type uint16 { - range 1000..60000; + range "1000..60000"; } - units milliseconds; - default 9000; + units "milliseconds"; + default "9000"; description "set the interval in ms between RSVP hello messages"; @@ -116,10 +106,9 @@ module openconfig-mpls-rsvp { Reservation Protocol - Traffic-Engineered (RSVP-TE) Graceful Restart Procedures"; } - leaf refresh-reduction { type boolean; - default true; + default "true"; description "enables all RSVP refresh reduction message bundling, RSVP message ID, reliable message delivery @@ -133,14 +122,9 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-hellos { description "Top level grouping for RSVP hellos parameters"; - // TODO: confirm that the described semantics are supported - // on various implementations. Finer grain configuration - // will be vendor-specific - container hellos { description "Top level container for RSVP hello parameters"; - container config { description "Configuration parameters relating to RSVP @@ -166,27 +150,25 @@ module openconfig-mpls-rsvp { RSVP can reserve"; } } + grouping mpls-rsvp-subscription { description "Top level group for RSVP subscription options"; - container subscription { description "Bandwidth percentage reservable by RSVP on an interface"; - container config { description "Configuration parameters relating to RSVP - subscription options"; + subscription options"; uses mpls-rsvp-subscription_config; } - container state { config false; description "State parameters relating to RSVP - subscription options"; + subscription options"; uses mpls-rsvp-subscription_config; } } @@ -195,14 +177,12 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-graceful-restart_config { description "Configuration parameters relating to RSVP Graceful-Restart"; - leaf enable { type boolean; - default false; + default "false"; description "Enables graceful restart on the node."; } - leaf restart-time { type uint32; description @@ -223,19 +203,16 @@ module openconfig-mpls-rsvp { description "Top level group for RSVP graceful-restart parameters"; - container graceful-restart { description "Operational state and configuration parameters relating to - graceful-restart for RSVP"; - + graceful-restart for RSVP"; container config { description "Configuration parameters relating to graceful-restart"; uses mpls-rsvp-graceful-restart_config; } - container state { config false; description @@ -249,25 +226,20 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-authentication_config { description "RSVP authentication parameters container."; - leaf enable { type boolean; - default false; + default "false"; description "Enables RSVP authentication on the node."; } - leaf authentication-key { type string { - // Juniper supports 1..16 while - // Cisco has a much bigger range, up to 60. length "1..32"; } description "authenticate RSVP signaling messages"; - reference - "RFC 2747: RSVP Cryptographic Authentication"; + reference "RFC 2747: RSVP Cryptographic Authentication"; } } @@ -275,19 +247,16 @@ module openconfig-mpls-rsvp { description "Top level group for RSVP authentication, as per RFC2747"; - container authentication { description "Configuration and state parameters relating to RSVP - authentication as per RFC2747"; - + authentication as per RFC2747"; container config { description "Configuration parameters relating to authentication"; uses mpls-rsvp-authentication_config; } - container state { config false; description @@ -301,28 +270,22 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-protection_config { description "RSVP facility (link/node) protection configuration"; - leaf link-protection-style-requested { type identityref { base mplst:protection-type; } - default mplst:link-node-protection-requested; + default "mplst:link-node-protection-requested"; description "Style of mpls frr protection desired: - link, link-node, or unprotected"; + link, link-node, or unprotected"; } - leaf bypass-optimize-interval { type uint16; - units seconds; + units "seconds"; description "interval between periodic optimization - of the bypass LSPs"; - // note: this is interface specific on juniper - // on iox, this is global. need to resolve. + of the bypass LSPs"; } - // to be completed, things like enabling link protection, - // optimization times, etc. } grouping mpls-rsvp-link-protection { @@ -331,13 +294,11 @@ module openconfig-mpls-rsvp { container protection { description "link-protection (NHOP) related configuration"; - container config { description "Configuration for link-protection"; uses mpls-rsvp-protection_config; } - container state { config false; description @@ -350,91 +311,74 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-error-statistics { description "RSVP-TE packet statistics"; - container error { description "RSVP-TE error statistics"; - leaf authentication-failure { type yang:counter32; description "Authentication failure count"; } - leaf path-error { type yang:counter32; description "Path error to client count"; } - leaf resv-error { type yang:counter32; description "Resv error to client count"; } - leaf path-timeout { type yang:counter32; description "Path timeout count"; } - leaf resv-timeout { type yang:counter32; description "Resv timeout count"; } - leaf rate-limit { type yang:counter32; description "Count of packets that were rate limited"; } - - // TODO - complete the other error statistics } } grouping mpls-rsvp-protocol-statistics { description "RSVP protocol statistics"; - container protocol { description "RSVP-TE protocol statistics"; - leaf hello-sent { type yang:counter32; description "Hello sent count"; } - leaf hello-rcvd { type yang:counter32; description "Hello received count"; } - leaf path-sent { type yang:counter32; description "Path sent count"; } - leaf path-rcvd { type yang:counter32; description "Path received count"; } - - // TODO - To be completed the other packet statistics } } grouping mpls-rsvp-statistics { description "Top level grouping for RSVP protocol state"; - uses mpls-rsvp-protocol-state; } @@ -444,35 +388,29 @@ module openconfig-mpls-rsvp { container rsvp-te { description "RSVP-TE global signaling protocol configuration"; - container sessions { description "Configuration and state of RSVP sessions"; - container config { description "Configuration of RSVP sessions on the device"; } - container state { config false; description "State information relating to RSVP sessions - on the device"; + on the device"; uses mpls-rsvp-session-state; } } - container neighbors { description "Configuration and state for RSVP neighbors connecting - to the device"; - + to the device"; container config { description "Configuration of RSVP neighbor information"; } - container state { config false; description @@ -480,21 +418,16 @@ module openconfig-mpls-rsvp { uses mpls-rsvp-neighbor-state; } } - container global { description "Platform wide RSVP configuration and state"; uses mpls-rsvp-graceful-restart; uses mpls-rsvp-soft-preemption; - uses mpls-rsvp-hellos; - + uses mpls-rsvp-hellos; container state { config false; description "Platform wide RSVP state, including counters"; - // TODO - reconcile global and per-interface - // protocol-related statistics - container counters { config false; description @@ -504,44 +437,34 @@ module openconfig-mpls-rsvp { } } } - container interface-attributes { - // interfaces, bw percentages, hello timers, etc goes here"; description "Attributes relating to RSVP-TE enabled interfaces"; - list interface { - key interface-name; + key "interface-name"; description "list of per-interface RSVP configurations"; - leaf interface-name { type leafref { path "../config/interface-name"; - require-instance true; } description "references a configured IP interface"; } - - container config { description "Configuration of per-interface RSVP parameters"; - leaf interface-name { type ocif:interface-ref; description "Name of configured IP interface"; } } - container state { config false; description "Per-interface RSVP protocol and state information"; uses mpls-rsvp-interfaces-state; - container counters { config false; description @@ -549,7 +472,6 @@ module openconfig-mpls-rsvp { uses mpls-rsvp-protocol-state; } } - uses mpls-rsvp-hellos; uses mpls-rsvp-authentication; uses mpls-rsvp-subscription; @@ -562,7 +484,6 @@ module openconfig-mpls-rsvp { grouping rsvp-p2p-tunnel-attributes_config { description "properties of RSPP point-to-point paths"; - leaf source { when "/mpls/lsps/constrained-path/tunnel/config/signaling-protocol = 'RSVP'" { description @@ -572,75 +493,71 @@ module openconfig-mpls-rsvp { description "RSVP-TE tunnel source address"; } - leaf soft-preemption { when "/mpls/lsps/constrained-path/tunnel/config/signaling-protocol = 'RSVP'" { description "When the signaling protocol is RSVP-TE "; } type boolean; - default false; + default "false"; description "Enables RSVP soft-preemption on this LSP"; } - uses rsvp-priorities_config; } grouping rsvp-priorities_config { description "Configuration paramters related to RSVP-TE priorities"; - leaf setup-priority { when "/mpls/lsps/constrained-path/tunnel/config/signaling-protocol = 'RSVP'" { description "When the signaling protocol is RSVP-TE "; } type uint8 { - range 0..7; + range "0..7"; } - default 7; + default "7"; description "RSVP-TE preemption priority during LSP setup, lower is higher priority; default 7 indicates that LSP will not preempt established LSPs during setup"; - reference "RFC 3209 - RSVP-TE: Extensions to RSVP for + reference + "RFC 3209 - RSVP-TE: Extensions to RSVP for LSP Tunnels"; } - leaf hold-priority { when "/mpls/lsps/constrained-path/tunnel/config/signaling-protocol = 'RSVP'" { description - "When the signaling protocol is RSVP-TE "; + "When the signaling protocol is RSVP-TE "; } type uint8 { - range 0..7; + range "0..7"; } - default 0; + default "0"; description "preemption priority once the LSP is established, lower is higher priority; default 0 indicates other LSPs will not preempt the LSPs once established"; - reference "RFC 3209 - RSVP-TE: Extensions to RSVP for - LSP Tunnels"; + reference + "RFC 3209 - RSVP-TE: Extensions to RSVP for + LSP Tunnels"; } } grouping rsvp-p2p-path-attributes_config { description "properties of RSPP point-to-point paths"; - uses rsvp-priorities_config; - leaf retry-timer { when "/mpls/lsps/constrained-path/tunnel/config/signaling-protocol = 'RSVP'" { description - "When the signaling protocol is RSVP-TE "; + "When the signaling protocol is RSVP-TE "; } type uint16 { - range 1..600; + range "1..600"; } - units seconds; + units "seconds"; description "sets the time between attempts to establish the LSP"; @@ -650,32 +567,28 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-neighbor-state { description "State information for RSVP neighbors"; - list neighbor { key "address"; description "List of RSVP neighbors connecting to the device, - keyed by neighbor address"; - + keyed by neighbor address"; leaf address { type inet:ip-address; description "Address of RSVP neighbor"; } - leaf detected-interface { type string; description "Interface where RSVP neighbor was detected"; } - leaf neighbor-status { type enumeration { - enum UP { + enum "UP" { description "RSVP hello messages are detected from the neighbor"; } - enum DOWN { + enum "DOWN" { description "RSVP neighbor not detected as up, due to a communication failure or IGP notification @@ -685,7 +598,6 @@ module openconfig-mpls-rsvp { description "Enumuration of possible RSVP neighbor states"; } - leaf refresh-reduction { type boolean; description @@ -700,47 +612,41 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-session-state { description "State information for RSVP TE sessions"; - list session { - key "source-port destination-port - source-address destination-address"; + key + "source-port destination-port + source-address destination-address"; description "List of RSVP sessions"; - leaf source-address { type inet:ip-address; description "Origin address of RSVP session"; } - leaf destination-address { type inet:ip-address; description "Destination address of RSVP session"; } - leaf source-port { type uint16; description "RSVP source port"; reference "RFC 2205"; } - leaf destination-port { type uint16; description "RSVP source port"; reference "RFC 2205"; - } - leaf status { type enumeration { - enum UP { + enum "UP" { description "RSVP session is up"; } - enum DOWN { + enum "DOWN" { description "RSVP session is down"; } @@ -748,18 +654,17 @@ module openconfig-mpls-rsvp { description "Enumeration of RSVP session states"; } - leaf type { type enumeration { - enum SOURCE { + enum "SOURCE" { description "RSVP session originates on this device"; } - enum TRANSIT { + enum "TRANSIT" { description "RSVP session transits this device only"; } - enum DESTINATION { + enum "DESTINATION" { description "RSVP session terminates on this device"; } @@ -767,74 +672,63 @@ module openconfig-mpls-rsvp { description "Enumeration of possible RSVP session types"; } - leaf tunnel-id { type uint16; description "Unique identifier of RSVP session"; } - leaf label-in { type mplst:mpls-label; description "Incoming MPLS label associated with this RSVP session"; } - leaf label-out { type mplst:mpls-label; description "Outgoing MPLS label associated with this RSVP session"; } - leaf-list associated-lsps { type leafref { - path "../../../../../../lsps/constrained-path/tunnel/" + - "config/name"; + path "../../../../../../lsps/constrained-path/tunnel/config/name"; } description "List of label switched paths associated with this RSVP session"; } } - } //rsvp-session-state + } grouping mpls-rsvp-interfaces-state { description "RSVP state information relevant to an interface"; - list bandwidth { - key priority; + key "priority"; description "Available and reserved bandwidth by priority on the interface."; - leaf priority { type uint8 { - range 0..7; + range "0..7"; } description "RSVP priority level for LSPs traversing the interface"; } - leaf available-bandwidth { type mplst:bandwidth-mbps; description "Bandwidth currently available"; } - leaf reserved-bandwidth { type mplst:bandwidth-mbps; description "Bandwidth currently reserved"; } } - leaf highwater-mark { type mplst:bandwidth-mbps; description "Maximum bandwidth ever reserved"; } - leaf active-reservation-count { type yang:gauge64; description @@ -845,20 +739,17 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-global-protocol-state { description "RSVP protocol statistics which may not apply - on an interface, but are significant globally."; - + on an interface, but are significant globally."; leaf path-timeouts { type yang:counter64; description "TODO"; } - leaf reservation-timeouts { type yang:counter64; description "TODO"; } - leaf rate-limited-messages { type yang:counter64; description @@ -869,125 +760,97 @@ module openconfig-mpls-rsvp { grouping mpls-rsvp-protocol-state { description "RSVP protocol statistics and message counters"; - leaf in-path-messages { type yang:counter64; description "Number of received RSVP Path messages"; } - leaf in-path-error-messages { type yang:counter64; description "Number of received RSVP Path Error messages"; } - leaf in-path-tear-messages { type yang:counter64; description "Number of received RSVP Path Tear messages"; } - leaf in-reservation-messages { type yang:counter64; description "Number of received RSVP Resv messages"; } - leaf in-reservation-error-messages { type yang:counter64; description "Number of received RSVP Resv Error messages"; } - leaf in-reservation-tear-messages { type yang:counter64; description "Number of received RSVP Resv Tear messages"; } - leaf in-hello-messages { type yang:counter64; description "Number of received RSVP hello messages"; } - leaf in-srefresh-messages { type yang:counter64; description "Number of received RSVP summary refresh messages"; } - leaf in-ack-messages { type yang:counter64; description "Number of received RSVP refresh reduction ack messages"; } - leaf out-path-messages { type yang:counter64; description "Number of sent RSVP PATH messages"; } - leaf out-path-error-messages { type yang:counter64; description "Number of sent RSVP Path Error messages"; } - leaf out-path-tear-messages { type yang:counter64; description "Number of sent RSVP Path Tear messages"; } - leaf out-reservation-messages { type yang:counter64; description "Number of sent RSVP Resv messages"; } - leaf out-reservation-error-messages { type yang:counter64; description "Number of sent RSVP Resv Error messages"; } - leaf out-reservation-tear-messages { type yang:counter64; description "Number of sent RSVP Resv Tear messages"; } - leaf out-hello-messages { type yang:counter64; description "Number of sent RSVP hello messages"; } - leaf out-srefresh-messages { type yang:counter64; description "Number of sent RSVP summary refresh messages"; } - leaf out-ack-messages { type yang:counter64; description "Number of sent RSVP refresh reduction ack messages"; } } - - - - // data definition statements - - // augment statements - - // rpc statements - - // notification statements - + oc-ext:openconfig-version "0.2.1"; } diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-sr.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-sr.yang new file mode 100644 index 0000000..fa76c52 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-sr.yang @@ -0,0 +1,369 @@ +module openconfig-mpls-sr { + yang-version 1; + namespace "http://openconfig.net/yang/sr"; + prefix sr; + + import ietf-inet-types { + prefix inet; + } + import openconfig-mpls-types { + prefix mplst; + } + import openconfig-extensions { + prefix oc-ext; + } + import cisco-xr-openconfig-interfaces-types { + prefix ocif; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Configuration for MPLS with segment routing-based LSPs, + including global parameters, and LSP-specific configuration for + both constrained-path and IGP-congruent LSPs"; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + grouping srgb_config { + description + "List of global blocks to be advertised."; + leaf lower-bound { + type uint32; + description + "Lower value in the block."; + } + leaf upper-bound { + type uint32; + description + "Upper value in the block."; + } + } + + grouping srgb_state { + description + "State parameters relating to the SRGB"; + leaf size { + type uint32; + description + "Number of indexes in the SRGB block"; + } + leaf free { + type uint32; + description + "Number of SRGB indexes that have not yet been allocated"; + } + leaf used { + type uint32; + description + "Number of SRGB indexes that are currently allocated"; + } + } + + grouping adjacency-sid_config { + description + "Configuration related to an Adjacency Segment Identifier + (SID)"; + leaf-list advertise { + type enumeration { + enum "PROTECTED" { + description + "Advertise an Adjacency-SID for this interface, which is + eligible to be protected using a local protection + mechanism on the local LSR. The local protection + mechanism selected is dependent upon the configuration + of RSVP-TE FRR or LFA elsewhere on the system"; + } + enum "UNPROTECTED" { + description + "Advertise an Adajcency-SID for this interface, which is + explicitly excluded from being protected by any local + protection mechanism"; + } + } + description + "Specifies the type of adjacency SID which should be + advertised for the specified entity."; + } + leaf-list groups { + type uint32; + description + "Specifies the groups to which this interface belongs. + Setting a value in this list results in an additional AdjSID + being advertised, with the S-bit set to 1. The AdjSID is + assumed to be protected"; + } + } + + grouping interface_config { + description + "Configuration parameters relating to a Segment Routing + enabled interface"; + leaf interface { + type ocif:interface-ref; + description + "Reference to the interface for which segment routing + configuration is to be applied."; + } + } + + grouping sr-global { + description + "Global segment routing signaling configuration"; + container segment-routing { + description + "SR global signaling config"; + list srgb { + key "lower-bound upper-bound"; + description + "List of Segment Routing Global Block (SRGB) entries. These + label blocks are reserved to be allocated as domain-wide + entries."; + uses srgb_config; + container config { + description + "Configuration parameters relating to the Segment Routing + Global Block (SRGB)"; + uses srgb_config; + } + container state { + config false; + description + "State parameters relating to the Segment Routing Global + Block (SRGB)"; + uses srgb_config; + uses srgb_state; + } + } + list interfaces { + key "interface"; + description + "List of interfaces with associated segment routing + configuration"; + uses interface_config; + container config { + description + "Interface configuration parameters for Segment Routing + relating to the specified interface"; + uses interface_config; + } + container state { + config false; + description + "State parameters for Segment Routing features relating + to the specified interface"; + uses interface_config; + } + container adjacency-sid { + description + "Configuration for Adjacency SIDs that are related to + the specified interface"; + container config { + description + "Configuration parameters for the Adjacency-SIDs + that are related to this interface"; + uses adjacency-sid_config; + } + container state { + config false; + description + "State parameters for the Adjacency-SIDs that are + related to this interface"; + uses adjacency-sid_config; + } + } + } + } + } + + grouping sr-path-attributes_config { + description + "Configuration parameters relating to SR-TE LSPs"; + leaf sid-selection-mode { + type enumeration { + enum "ADJ-SID-ONLY" { + description + "The SR-TE tunnel should only use adjacency SIDs + to build the SID stack to be pushed for the LSP"; + } + enum "MIXED-MODE" { + description + "The SR-TE tunnel can use a mix of adjacency + and prefix SIDs to build the SID stack to be pushed + to the LSP"; + } + } + default "MIXED-MODE"; + description + "The restrictions placed on the SIDs to be selected by the + calculation method for the SR-TE LSP"; + } + leaf sid-protection-required { + type boolean; + default "false"; + description + "When this value is set to true, only SIDs that are + protected are to be selected by the calculating method + for the SR-TE LSP."; + } + } + + grouping sr_fec-address_config { + description + "Configuration parameters relating to a FEC that is to be + advertised by Segment Routing"; + leaf fec-address { + type inet:ip-prefix; + description + "FEC that is to be advertised as part of the Prefix-SID"; + } + } + + grouping sr_fec-prefix-sid_config { + description + "Configuration parameters relating to the nature of the + Prefix-SID that is to be advertised for a particular FEC"; + leaf type { + type enumeration { + enum "INDEX" { + description + "Set when the value of the prefix SID should be specified + as an off-set from the SRGB's zero-value. When multiple + SRGBs are specified, the zero-value is the minimum + of their lower bounds"; + } + enum "ABSOLUTE" { + description + "Set when the value of a prefix SID is specified as the + absolute value within an SRGB. It is an error to specify + an absolute value outside of a specified SRGB"; + } + } + default "INDEX"; + description + "Specifies how the value of the Prefix-SID should be + interpreted - whether as an offset to the SRGB, or as an + absolute value"; + } + leaf node-flag { + type boolean; + description + "Specifies that the Prefix-SID is to be treated as a Node-SID + by setting the N-flag in the advertised Prefix-SID TLV in the + IGP"; + } + leaf last-hop-behavior { + type enumeration { + enum "EXPLICIT-NULL" { + description + "Specifies that the explicit null label is to be used + when the penultimate hop forwards a labelled packet to + this Prefix-SID"; + } + enum "UNCHANGED" { + description + "Specicies that the Prefix-SID's label value is to be + left in place when the penultimate hop forwards to this + Prefix-SID"; + } + enum "PHP" { + description + "Specicies that the penultimate hop should pop the + Prefix-SID label before forwarding to the eLER"; + } + } + description + "Configuration relating to the LFIB actions for the + Prefix-SID to be used by the penultimate-hop"; + } + } + + grouping igp-tunnel-sr { + description + "defintiions for SR-signaled, IGP-based LSP tunnel + types"; + container tunnel { + description + "contains configuration stanzas for different LSP + tunnel types (P2P, P2MP, etc.)"; + leaf tunnel-type { + type mplst:tunnel-type; + description + "specifies the type of LSP, e.g., P2P or P2MP"; + } + container p2p-lsp { + when "tunnel-type = 'P2P'" { + description + "container active when LSP tunnel type is + point to point"; + } + description + "properties of point-to-point tunnels"; + list fec { + key "fec-address"; + description + "List of FECs that are to be originated as SR LSPs"; + uses sr_fec-address_config; + container config { + description + "Configuration parameters relating to the FEC to be + advertised by SR"; + uses sr_fec-address_config; + } + container state { + config false; + description + "Operational state relating to a FEC advertised by SR"; + uses sr_fec-address_config; + } + container prefix-sid { + description + "Parameters relating to the Prefix-SID + used for the originated FEC"; + container config { + description + "Configuration parameters relating to the Prefix-SID + used for the originated FEC"; + uses sr_fec-prefix-sid_config; + } + container state { + config false; + description + "Operational state parameters relating to the + Prefix-SID used for the originated FEC"; + uses sr_fec-prefix-sid_config; + } + } + } + } + } + } + + grouping igp-lsp-sr-setup { + description + "grouping for SR-IGP path setup for IGP-congruent + LSPs"; + container segment-routing { + presence + "Presence of this container sets the LSP to use + SR signaling"; + description + "segment routing signaling extensions for + IGP-confgruent LSPs"; + uses igp-tunnel-sr; + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-static.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-static.yang new file mode 100644 index 0000000..3d3e4c0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-static.yang @@ -0,0 +1,90 @@ +submodule openconfig-mpls-static { + yang-version 1; + belongs-to openconfig-mpls { + prefix mpls; + } + + import openconfig-mpls-types { + prefix mplst; + } + import ietf-inet-types { + prefix inet; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Defines static LSP configuration"; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + grouping static-lsp-common { + description + "common definitions for static LSPs"; + leaf next-hop { + type inet:ip-address; + description + "next hop IP address for the LSP"; + } + leaf incoming-label { + type mplst:mpls-label; + description + "label value on the incoming packet"; + } + leaf push-label { + type mplst:mpls-label; + description + "label value to push at the current hop for the + LSP"; + } + } + + grouping static-lsp-main { + description + "grouping for top level list of static LSPs"; + list label-switched-path { + key "name"; + description + "list of defined static LSPs"; + leaf name { + type string; + description + "name to identify the LSP"; + } + container ingress { + description + "Static LSPs for which the router is an + ingress node"; + uses static-lsp-common; + } + container transit { + description + "static LSPs for which the router is a + transit node"; + uses static-lsp-common; + } + container egress { + description + "static LSPs for which the router is a + egress node"; + uses static-lsp-common; + } + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-te.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-te.yang new file mode 100644 index 0000000..5866271 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-te.yang @@ -0,0 +1,1058 @@ +submodule openconfig-mpls-te { + yang-version 1; + belongs-to openconfig-mpls { + prefix mpls; + } + + import ietf-inet-types { + prefix inet; + } + import openconfig-mpls-rsvp { + prefix rsvp; + } + import openconfig-mpls-types { + prefix mplst; + } + import openconfig-types { + prefix oc-types; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Configuration related to constrained-path LSPs and traffic + engineering. These definitions are not specific to a particular + signaling protocol or mechanism (see related submodules for + signaling protocol-specific configuration)."; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + identity path-computation-method { + description + "base identity for supported path computation + mechanisms"; + } + + identity locally-computed { + base path-computation-method; + description + "indicates a constrained-path LSP in which the + path is computed by the local LER"; + } + + identity externally-queried { + base path-computation-method; + description + "constrained-path LSP in which the path is + obtained by querying an external source, such as a PCE server"; + } + + identity explicitly-defined { + base path-computation-method; + description + "constrained-path LSP in which the path is + explicitly specified as a collection of strict or/and loose + hops"; + } + + typedef te-bandwidth-type { + type enumeration { + enum "SPECIFIED" { + description + "Bandwidth is explicitly specified"; + } + enum "AUTO" { + description + "Bandwidth is automatically computed"; + } + } + description + "enumerated type for specifying whether bandwidth is + explicitly specified or automatically computed"; + } + + typedef mpls-srlg-flooding-type { + type enumeration { + enum "FLOODED-SRLG" { + description + "SRLG is flooded in the IGP"; + } + enum "STATIC-SRLG" { + description + "SRLG is not flooded, the members are + statically configured"; + } + } + description + "Enumerated bype for specifying how the SRLG is flooded"; + } + + typedef mpls-hop-type { + type enumeration { + enum "LOOSE" { + description + "loose hop in an explicit path"; + } + enum "STRICT" { + description + "strict hop in an explicit path"; + } + } + description + "enumerated type for specifying loose or strict + paths"; + } + + typedef te-metric-type { + type union { + type enumeration { + enum "IGP" { + description + "set the LSP metric to track the underlying + IGP metric"; + } + } + type uint32; + } + description + "union type for setting the LSP TE metric to a + static value, or to track the IGP metric"; + } + + typedef cspf-tie-breaking { + type enumeration { + enum "RANDOM" { + description + "CSPF calculation selects a random path among + multiple equal-cost paths to the destination"; + } + enum "LEAST_FILL" { + description + "CSPF calculation selects the path with greatest + available bandwidth"; + } + enum "MOST_FILL" { + description + "CSPF calculation selects the path with the least + available bandwidth"; + } + } + default "RANDOM"; + description + "type to indicate the CSPF selection policy when + multiple equal cost paths are available"; + } + + grouping te-tunnel-reoptimize_config { + description + "Definition for reoptimize timer configuration"; + leaf reoptimize-timer { + type uint16; + units "seconds"; + description + "frequency of reoptimization of + a traffic engineered LSP"; + } + } + + grouping te-lsp-auto-bandwidth_config { + description + "Configuration parameters related to autobandwidth"; + leaf enabled { + type boolean; + default "false"; + description + "enables mpls auto-bandwidth on the + lsp"; + } + leaf min-bw { + type uint32; + description + "set the minimum bandwidth in Mbps for an + auto-bandwidth LSP"; + } + leaf max-bw { + type uint32; + description + "set the maximum bandwidth in Mbps for an + auto-bandwidth LSP"; + } + leaf adjust-interval { + type uint32; + description + "time in seconds between adjustments to + LSP bandwidth"; + } + leaf adjust-threshold { + type oc-types:percentage; + description + "percentage difference between the LSP's + specified bandwidth and its current bandwidth + allocation -- if the difference is greater than the + specified percentage, auto-bandwidth adjustment is + triggered"; + } + } + + grouping te-lsp-overflow_config { + description + "configuration for mpls lsp bandwidth + overflow adjustment"; + leaf enabled { + type boolean; + default "false"; + description + "enables mpls lsp bandwidth overflow + adjustment on the lsp"; + } + leaf overflow-threshold { + type oc-types:percentage; + description + "bandwidth percentage change to trigger + an overflow event"; + } + leaf trigger-event-count { + type uint16; + description + "number of consecutive overflow sample + events needed to trigger an overflow adjustment"; + } + } + + grouping te-lsp-underflow_config { + description + "configuration for mpls lsp bandwidth + underflow adjustment"; + leaf enabled { + type boolean; + default "false"; + description + "enables bandwidth underflow + adjustment on the lsp"; + } + leaf underflow-threshold { + type oc-types:percentage; + description + "bandwidth percentage change to trigger + and underflow event"; + } + leaf trigger-event-count { + type uint16; + description + "number of consecutive underflow sample + events needed to trigger an underflow adjustment"; + } + } + + grouping te-path-placement-constraints-config { + description + "Configuration data for link affinities"; + leaf-list exclude-group { + type leafref { + path "../../../../../../../../te-global-attributes/mpls-admin-groups/admin-group/admin-group-name"; + } + description + "list of references to named admin-groups to exclude in + path calculation."; + } + leaf-list include-all-group { + type leafref { + path "../../../../../../../../te-global-attributes/mpls-admin-groups/admin-group/admin-group-name"; + } + description + "list of references to named admin-groups of which all must + be included"; + } + leaf-list include-any-group { + type leafref { + path "../../../../../../../../te-global-attributes/mpls-admin-groups/admin-group/admin-group-name"; + } + description + "list of references to named admin-groups of which one must + be included"; + } + } + + grouping te-path-placement-constraints-state { + description + "Operational state data for link affinities"; + } + + grouping te-path-placement-constraints-top { + description + "Top-level grouping "; + container admin-groups { + description + "Top-level container for include/exclude constraints for + link affinities"; + container config { + description + "Configuration data "; + uses te-path-placement-constraints-config; + } + container state { + config false; + description + "Operational state data "; + uses te-path-placement-constraints-config; + uses te-path-placement-constraints-state; + } + } + } + + grouping te-tunnel-protection_config { + description + "Configuration parameters related to LSP + protection"; + leaf protection-style-requested { + type identityref { + base mplst:protection-type; + } + default "mplst:unprotected"; + description + "style of mpls frr protection desired: can be + link, link-node or unprotected."; + } + } + + grouping explicit-route-subobject-config { + description + "The explicit route subobject grouping"; + leaf address { + type inet:ip-address; + description + "router hop for the LSP path"; + } + leaf hop-type { + type mpls-hop-type; + description + "strict or loose hop"; + } + leaf index { + type uint8 { + range "0..255"; + } + description + "Index of this explicit route object to express + the order of hops in the path"; + } + } + + grouping named-explicit-path-config { + description + "Configuration parameters relating to a named + explicit path"; + leaf name { + type string; + description + "A string name that uniquely identifies an explicit + path"; + } + } + + grouping explicit-paths_top { + description + "Top level global explicit path configuration + grouping"; + list named-explicit-paths { + key "name"; + description + "A list of explicit paths"; + leaf name { + type leafref { + path "../config/name"; + } + description + "A string name that uniquely identifies + an explicit path"; + } + container config { + description + "Configuration parameters relating to named explicit + paths"; + uses named-explicit-path-config; + } + container state { + config false; + description + "Operational state parameters relating to the named + explicit paths"; + uses named-explicit-path-config; + } + list explicit-route-objects { + key "index"; + description + "List of explicit route objects"; + leaf index { + type leafref { + path "../config/index"; + } + description + "Index of this explicit route object, + to express the order of hops in path"; + } + container config { + description + "Configuration parameters relating to an explicit + route"; + uses explicit-route-subobject-config; + } + container state { + description + "State parameters relating to an explicit route"; + uses explicit-route-subobject-config; + } + } + } + } + + grouping mpls-te-srlg_config { + description + "Configuration of various attributes associated + with the SRLG"; + leaf name { + type string; + description + "SRLG group identifier"; + } + leaf value { + type uint32; + description + "group ID for the SRLG"; + } + leaf cost { + type uint32; + description + "The cost of the SRLG to the computation + algorithm"; + } + leaf flooding-type { + type mpls-srlg-flooding-type; + default "FLOODED-SRLG"; + description + "The type of SRLG, either flooded in the IGP or + statically configured"; + } + } + + grouping mpls-te-srlg-members_config { + description + "Configuration of the membership of the SRLG"; + leaf from-address { + type inet:ip-address; + description + "IP address of the a-side of the SRLG link"; + } + leaf to-address { + type inet:ip-address; + description + "IP address of the z-side of the SRLG link"; + } + } + + grouping mpls-te-srlg-top { + description + "Top level grouping for MPLS shared + risk link groups."; + container srlg { + description + "Shared risk link groups attributes"; + list srlg { + key "name"; + description + "List of shared risk link groups"; + leaf name { + type leafref { + path "../config/name"; + } + description + "The SRLG group identifier"; + } + container config { + description + "Configuration parameters related to the SRLG"; + uses mpls-te-srlg_config; + } + container state { + config false; + description + "State parameters related to the SRLG"; + uses mpls-te-srlg_config; + } + container static-srlg-members { + when "../config/flooding-type = 'STATIC-SRLG'" { + description + "Include this container for static + SRLG specific configuration"; + } + description + "SRLG members for static (not flooded) SRLGs "; + list members-list { + key "from-address"; + description + "List of SRLG members, which are expressed + as IP address endpoints of links contained in the + SRLG"; + leaf from-address { + type leafref { + path "../config/from-address"; + } + description + "The from address of the link in the SRLG"; + } + container config { + description + "Configuration parameters relating to the + SRLG members"; + uses mpls-te-srlg-members_config; + } + container state { + config false; + description + "State parameters relating to the SRLG + members"; + uses mpls-te-srlg-members_config; + } + } + } + } + } + } + + grouping te-global-tunnel_config { + description + "Configuration parameters relevant to a single + traffic engineered tunnel."; + leaf name { + type string; + description + "The tunnel name"; + } + leaf type { + type identityref { + base mplst:tunnel-type; + } + description + "Tunnel type, p2p or p2mp"; + } + leaf signaling-protocol { + type identityref { + base mplst:tunnel-type; + } + description + "Signaling protocol used to set up this tunnel"; + } + leaf local-id { + type union { + type uint32; + type string; + } + description + "locally signficant optional identifier for the + tunnel; may be a numerical or string value"; + } + leaf description { + type string; + description + "optional text description for the tunnel"; + } + leaf admin-status { + type identityref { + base mplst:tunnel-admin-status; + } + default "mplst:ADMIN_UP"; + description + "TE tunnel administrative state."; + } + leaf preference { + type uint8 { + range "1..255"; + } + description + "Specifies a preference for this tunnel. + A lower number signifies a better preference"; + } + leaf metric { + type te-metric-type; + description + "LSP metric, either explicit or IGP"; + } + leaf protection-style-requested { + type identityref { + base mplst:protection-type; + } + default "mplst:unprotected"; + description + "style of mpls frr protection desired: can be + link, link-node or unprotected."; + } + uses te-tunnel-reoptimize_config; + uses rsvp:rsvp-p2p-tunnel-attributes_config; + } + + grouping tunnel-p2p-attributes_config { + description + "Configuration related to p2p LSPs"; + leaf destination { + type inet:ip-address; + description + "P2P tunnel destination address"; + } + } + + grouping p2p-path_config { + description + "Configuration parameters for p2p paths"; + leaf name { + type string; + description + "Path name"; + } + leaf path-computation-method { + type identityref { + base path-computation-method; + } + default "locally-computed"; + description + "The method used for computing the path, either + locally computed, queried from a server or not + computed at all (explicitly configured)."; + } + leaf use-cspf { + when "../path-computation-method = 'locally-computed'" { + description + "The use of cspf when the path-computation method is + local computation"; + } + type boolean; + description + "Flag to enable CSPF for locally computed LSPs"; + } + leaf cspf-tiebreaker { + when "../path-computation-method = 'locally-computed'" { + description + "The cspf tiebreaking method when the path is + locally computed"; + } + type cspf-tie-breaking; + description + "Determine the tie-breaking method to choose between + equally desirable paths during CSFP computation"; + } + leaf path-computation-server { + when "../path-computation-method = 'externally-queried'" { + description + "The path-computation server when the path is + externally queried"; + } + type inet:ip-address; + description + "Address of the external path computation + server"; + } + leaf explicit-path-name { + when "../path-computation-method = 'explicitly-defined'" { + description + "The name of the explicitly defined path used"; + } + type leafref { + path "../../../../../named-explicit-paths/config/name"; + } + description + "reference to a defined path"; + } + leaf preference { + type uint8 { + range "1..255"; + } + description + "Specifies a preference for this path. The lower the + number higher the preference"; + } + uses rsvp:rsvp-p2p-path-attributes_config; + } + + grouping te-tunnel-p2p_top { + description + "Top level grouping for p2p configuration"; + container p2p-tunnel-attributes { + when "../config/type = 'P2P'" { + description + "Include this container for LSPs of type P2P"; + } + description + "Parameters related to LSPs of type P2P"; + container config { + description + "Configuration parameters for P2P LSPs"; + uses tunnel-p2p-attributes_config; + } + container state { + config false; + description + "State parameters for P2P LSPs"; + uses tunnel-p2p-attributes_config; + } + uses p2p-primary-paths_top; + uses p2p-secondary-paths_top; + } + } + + grouping te-tunnel_state { + description + "Counters and statistical data relevent to a single + tunnel."; + leaf oper-status { + type identityref { + base mplst:lsp-oper-status; + } + description + "The operational status of the TE tunnel"; + } + leaf role { + type identityref { + base mplst:lsp-role; + } + description + "The lsp role at the current node, whether it is headend, + transit or tailend."; + } + container counters { + description + "State data for MPLS label switched paths. This state + data is specific to a single label switched path."; + leaf bytes { + type yang:counter64; + description + "Number of bytes that have been forwarded over the + label switched path."; + } + leaf packets { + type yang:counter64; + description + "Number of pacets that have been forwarded over the + label switched path."; + } + leaf path-changes { + type yang:counter64; + description + "Number of path changes for the label switched path"; + } + leaf state-changes { + type yang:counter64; + description + "Number of state changes for the label switched path"; + } + leaf online-time { + type yang:date-and-time; + description + "Indication of the time the label switched path + transitioned to an Oper Up or in-service state"; + } + leaf current-path-time { + type yang:date-and-time; + description + "Indicates the time the LSP switched onto its + current path. This is reset upon a LSP path + change."; + } + leaf next-reoptimization-time { + type yang:date-and-time; + description + "Indicates the next scheduled time the LSP + will be reoptimized."; + } + } + } + + grouping te-tunnel-bandwidth_config { + description + "Configuration parameters related to bandwidth for a tunnel"; + leaf specification-type { + type te-bandwidth-type; + default "SPECIFIED"; + description + "The method used for settign the bandwidth, either explicitly + specified or configured"; + } + leaf set-bandwidth { + when "../specification-type = 'SPECIFIED'" { + description + "The bandwidth value when bandwidth is explicitly + specified"; + } + type uint32; + description + "set bandwidth explicitly, e.g., using + offline calculation"; + } + } + + grouping te-tunnel-bandwidth_top { + description + "Top level grouping for specifying bandwidth for a tunnel"; + container bandwidth { + description + "Bandwidth configuration for TE LSPs"; + container config { + description + "Configuration parameters related to bandwidth on TE + tunnels:"; + uses te-tunnel-bandwidth_config; + } + container state { + config false; + description + "State parameters related to bandwidth + configuration of TE tunnels"; + uses te-tunnel-bandwidth_config; + } + container auto-bandwidth { + when "../config/specification-type = 'AUTO'" { + description + "Include this container for auto bandwidth + specific configuration"; + } + description + "Parameters related to auto-bandwidth"; + container config { + description + "Configuration parameters relating to MPLS + auto-bandwidth on the tunnel."; + uses te-lsp-auto-bandwidth_config; + } + container state { + config false; + description + "State parameters relating to MPLS + auto-bandwidth on the tunnel."; + uses te-lsp-auto-bandwidth_config; + } + container overflow { + description + "configuration of MPLS overflow bandwidth + adjustement for the LSP"; + container config { + description + "Config information for MPLS overflow bandwidth + adjustment"; + uses te-lsp-overflow_config; + } + container state { + config false; + description + "Config information for MPLS overflow bandwidth + adjustment"; + uses te-lsp-overflow_config; + } + } + container underflow { + description + "configuration of MPLS underflow bandwidth + adjustement for the LSP"; + container config { + description + "Config information for MPLS underflow bandwidth + adjustment"; + uses te-lsp-underflow_config; + } + container state { + config false; + description + "State information for MPLS underflow bandwidth + adjustment"; + uses te-lsp-underflow_config; + } + } + } + } + } + + grouping p2p-path-candidate-secondary-path-config { + description + "Configuration parameters relating to a secondary path which + is a candidate for a particular primary path"; + leaf secondary-path { + type leafref { + path "../../../../../p2p-secondary-paths/config/name"; + } + description + "A reference to the secondary path that should be utilised + when the containing primary path option is in use"; + } + leaf priority { + type uint16; + description + "The priority of the specified secondary path option. Higher + priority options are less preferable - such that a secondary + path reference with a priority of 0 is the most preferred"; + } + } + + grouping p2p-path-candidate-secondary-path-state { + description + "Operational state parameters relating to a secondary path + which is a candidate for a particular primary path"; + leaf active { + type boolean; + description + "Indicates the current active path option that has + been selected of the candidate secondary paths"; + } + } + + grouping p2p-primary-paths_top { + description + "Top level grouping for p2p primary paths"; + list p2p-primary-paths { + key "name"; + description + "List of p2p primary paths for a tunnel"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Path name"; + } + container config { + description + "Configuration parameters related to paths"; + uses p2p-path_config; + } + container state { + description + "State parameters related to paths"; + uses p2p-path_config; + } + container candidate-secondary-paths { + description + "The set of candidate secondary paths which may be used + for this primary path. When secondary paths are specified + in the list the path of the secondary LSP in use must be + restricted to those path options referenced. The + priority of the secondary paths is specified within the + list. Higher priority values are less preferred - that is + to say that a path with priority 0 is the most preferred + path. In the case that the list is empty, any secondary + path option may be utilised when the current primary path + is in use."; + list candidate-secondary-path { + key "secondary-path"; + description + "List of secondary paths which may be utilised when the + current primary path is in use"; + leaf secondary-path { + type leafref { + path "../config/secondary-path"; + } + description + "A reference to the secondary path option reference + which acts as the key of the candidate-secondary-path + list"; + } + container config { + description + "Configuration parameters relating to the candidate + secondary path"; + uses p2p-path-candidate-secondary-path-config; + } + container state { + config false; + description + "Operational state parameters relating to the candidate + secondary path"; + uses p2p-path-candidate-secondary-path-config; + uses p2p-path-candidate-secondary-path-state; + } + } + } + uses te-path-placement-constraints-top; + } + } + + grouping p2p-secondary-paths_top { + description + "Top level grouping for p2p secondary paths"; + list p2p-secondary-paths { + key "name"; + description + "List of p2p primary paths for a tunnel"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Path name"; + } + container config { + description + "Configuration parameters related to paths"; + uses p2p-path_config; + } + container state { + description + "State parameters related to paths"; + uses p2p-path_config; + } + uses te-path-placement-constraints-top; + } + } + + grouping te-tunnels_top { + description + "Top level grouping for TE tunnels"; + list tunnel { + key "name type"; + description + "List of TE tunnels"; + leaf name { + type leafref { + path "../config/name"; + } + description + "The tunnel name"; + } + leaf type { + type leafref { + path "../config/type"; + } + description + "The tunnel type, p2p or p2mp."; + } + container config { + description + "Configuration parameters related to TE tunnels:"; + uses te-global-tunnel_config; + } + container state { + config false; + description + "State parameters related to TE tunnels"; + uses te-global-tunnel_config; + uses te-tunnel_state; + } + uses te-tunnel-bandwidth_top; + uses te-tunnel-p2p_top; + } + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls-types.yang new file mode 100644 index 0000000..6344ce3 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls-types.yang @@ -0,0 +1,273 @@ +module openconfig-mpls-types { + yang-version 1; + namespace "http://openconfig.net/yang/mpls-types"; + prefix mplst; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "General types for MPLS / TE data model"; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + identity path-setup-protocol { + description + "base identity for supported MPLS signaling + protocols"; + } + + identity path-setup-rsvp { + base path-setup-protocol; + description + "RSVP-TE signaling protocol"; + } + + identity path-setup-sr { + base path-setup-protocol; + description + "Segment routing"; + } + + identity path-setup-ldp { + base path-setup-protocol; + description + "LDP - RFC 5036"; + } + + identity protection-type { + description + "base identity for protection type"; + } + + identity unprotected { + base protection-type; + description + "no protection is desired"; + } + + identity link-protection-requested { + base protection-type; + description + "link protection is desired"; + } + + identity link-node-protection-requested { + base protection-type; + description + "node and link protection are both desired"; + } + + identity lsp-role { + description + "Base identity for describing the role of + label switched path at the current node"; + } + + identity INGRESS { + base lsp-role; + description + "Label switched path is an ingress (headend) + LSP"; + } + + identity EGRESS { + base lsp-role; + description + "Label switched path is an egress (tailend) + LSP"; + } + + identity TRANSIT { + base lsp-role; + description + "Label switched path is a transit LSP"; + } + + identity tunnel-type { + description + "Base identity from which specific tunnel types are + derived."; + } + + identity P2P { + base tunnel-type; + description + "TE point-to-point tunnel type."; + } + + identity P2MP { + base tunnel-type; + description + "TE point-to-multipoint tunnel type."; + } + + identity lsp-oper-status { + description + "Base identity for LSP operational status"; + } + + identity DOWN { + base lsp-oper-status; + description + "LSP is operationally down or out of service"; + } + + identity UP { + base lsp-oper-status; + description + "LSP is operationally active and available + for traffic."; + } + + identity tunnel-admin-status { + description + "Base identity for tunnel administrative status"; + } + + identity ADMIN_DOWN { + base tunnel-admin-status; + description + "LSP is administratively down"; + } + + identity ADMIN_UP { + base tunnel-admin-status; + description + "LSP is administratively up"; + } + + identity null-label-type { + description + "Base identity from which specific null-label types are + derived."; + } + + identity EXPLICIT { + base null-label-type; + description + "Explicit null label is used."; + } + + identity IMPLICIT { + base null-label-type; + description + "Implicit null label is used."; + } + + identity PATH_SETUP_PROTOCOL { + description + "base identity for supported MPLS signaling + protocols"; + } + + typedef mpls-label { + type union { + type uint32 { + range "16..1048575"; + } + type enumeration { + enum "IPV4_EXPLICIT_NULL" { + value 0; + description + "valid at the bottom of the label stack, + indicates that stack must be popped and packet forwarded + based on IPv4 header"; + } + enum "ROUTER_ALERT" { + value 1; + description + "allowed anywhere in the label stack except + the bottom, local router delivers packet to the local CPU + when this label is at the top of the stack"; + } + enum "IPV6_EXPLICIT_NULL" { + value 2; + description + "valid at the bottom of the label stack, + indicates that stack must be popped and packet forwarded + based on IPv6 header"; + } + enum "IMPLICIT_NULL" { + value 3; + description + "assigned by local LSR but not carried in + packets"; + } + enum "ENTROPY_LABEL_INDICATOR" { + value 7; + description + "Entropy label indicator, to allow an LSR + to distinguish between entropy label and applicaiton + labels RFC 6790"; + } + } + } + description + "type for MPLS label value encoding"; + reference "RFC 3032 - MPLS Label Stack Encoding"; + } + + typedef tunnel-type { + type enumeration { + enum "P2P" { + description + "point-to-point label-switched-path"; + } + enum "P2MP" { + description + "point-to-multipoint label-switched-path"; + } + enum "MP2MP" { + description + "multipoint-to-multipoint label-switched-path"; + } + } + description + "defines the tunnel type for the LSP"; + reference + "RFC 6388 - Label Distribution Protocol Extensions for + Point-to-Multipoint and Multipoint-to-Multipoint Label Switched + Paths + RFC 4875 - Extensions to Resource Reservation Protocol + - Traffic Engineering (RSVP-TE) for Point-to-Multipoint TE + Label Switched Paths (LSPs)"; + } + + typedef bandwidth-kbps { + type uint64; + units "kbps"; + description + "Bandwidth values expressed in kilobits per second"; + } + + typedef bandwidth-mbps { + type uint64; + units "mbps"; + description + "Bandwidth values expressed in megabits per second"; + } + + typedef bandwidth-gbps { + type uint64; + units "gbps"; + description + "Bandwidth values expressed in gigabits per second"; + } + oc-ext:openconfig-version "0.2.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-mpls.yang b/yang/modules/cisco-ios-xr/632/openconfig-mpls.yang new file mode 100644 index 0000000..5501952 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-mpls.yang @@ -0,0 +1,570 @@ +module openconfig-mpls { + yang-version 1; + namespace "http://openconfig.net/yang/mpls"; + prefix mpls; + + import openconfig-mpls-types { + prefix mplst; + } + import openconfig-mpls-rsvp { + prefix rsvp; + } + import openconfig-mpls-sr { + prefix sr; + } + import openconfig-mpls-ldp { + prefix ldp; + } + import openconfig-types { + prefix oc-types; + } + import cisco-xr-openconfig-interfaces-types { + prefix ocif; + } + import openconfig-extensions { + prefix oc-ext; + } + include openconfig-mpls-te; + include openconfig-mpls-igp; + include openconfig-mpls-static; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module provides data definitions for configuration of + Multiprotocol Label Switching (MPLS) and associated protocols for + signaling and traffic engineering. + + RFC 3031: Multiprotocol Label Switching Architecture + + The MPLS / TE data model consists of several modules and + submodules as shown below. The top-level MPLS module describes + the overall framework. Three types of LSPs are supported: + + i) traffic-engineered (or constrained-path) + + ii) IGP-congruent (LSPs that follow the IGP path) + + iii) static LSPs which are not signaled + + The structure of each of these LSP configurations is defined in + corresponding submodules. Companion modules define the relevant + configuration and operational data specific to key signaling + protocols used in operational practice. + + + +-------+ + +---------------->| MPLS |<--------------+ + | +-------+ | + | ^ | + | | | + +----+-----+ +--------+-------+ +-----+-----+ + | TE LSPs | | IGP-based LSPs | |static LSPs| + | | | | | | + +----------+ +----------------+ +-----------+ + ^ ^ ^ ^ + | +----------------+ | +--------+ + | | | | + | +------+ +-+---+-+ +--+--+ + +---+ RSVP | |SEGMENT| | LDP | + +------+ |ROUTING| +-----+ + +-------+ + "; + + revision 2015-11-05 { + description + "Initial public release of MPLS models"; + reference "0.2.1"; + } + revision 2015-10-14 { + description + "Work in progress"; + reference "0.2.0"; + } + + grouping mpls-admin-group_config { + description + "configuration data for MPLS link admin groups"; + leaf admin-group-name { + type string; + description + "name for mpls admin-group"; + } + leaf bit-position { + type uint32; + description + "bit-position value for mpls admin-group. The value + for the admin group is an integer that represents one + of the bit positions in the admin-group bitmask. Values + between 0 and 31 are interpreted as the original limit + of 32 admin groups. Values >=32 are interpreted as + extended admin group values as per RFC7308."; + } + } + + grouping mpls-admin-groups-top { + description + "top-level mpls admin-groups config + and state containers"; + container mpls-admin-groups { + description + "Top-level container for admin-groups configuration + and state"; + list admin-group { + key "admin-group-name"; + description + "configuration of value to name mapping + for mpls affinities/admin-groups"; + leaf admin-group-name { + type leafref { + path "../mpls:config/mpls:admin-group-name"; + } + description + "name for mpls admin-group"; + } + container config { + description + "Configurable items for admin-groups"; + uses mpls-admin-group_config; + } + container state { + description + "Operational state for admin-groups"; + uses mpls-admin-group_config; + } + } + } + } + + grouping mpls-te-igp-flooding-bandwidth_config { + description + "Configurable items for igp flooding bandwidth + threshold configuration."; + leaf threshold-type { + type enumeration { + enum "DELTA" { + description + "DELTA indicates that the local + system should flood IGP updates when a + change in reserved bandwidth >= the specified + delta occurs on the interface."; + } + enum "THRESHOLD-CROSSED" { + description + "THRESHOLD-CROSSED indicates that + the local system should trigger an update (and + hence flood) the reserved bandwidth when the + reserved bandwidth changes such that it crosses, + or becomes equal to one of the threshold values."; + } + } + description + "The type of threshold that should be used to specify the + values at which bandwidth is flooded. DELTA indicates that + the local system should flood IGP updates when a change in + reserved bandwidth >= the specified delta occurs on the + interface. Where THRESHOLD-CROSSED is specified, the local + system should trigger an update (and hence flood) the + reserved bandwidth when the reserved bandwidth changes such + that it crosses, or becomes equal to one of the threshold + values"; + } + leaf delta-percentage { + when "../threshold-type = 'DELTA'" { + description + "The percentage delta can only be specified when the + threshold type is specified to be a percentage delta of + the reserved bandwidth"; + } + type oc-types:percentage; + description + "The percentage of the maximum-reservable-bandwidth + considered as the delta that results in an IGP update + being flooded"; + } + leaf threshold-specification { + when "../threshold-type = 'THRESHOLD-CROSSED'" { + description + "The selection of whether mirrored or separate threshold + values are to be used requires user specified thresholds to + be set"; + } + type enumeration { + enum "MIRRORED-UP-DOWN" { + description + "MIRRORED-UP-DOWN indicates that a single set of + threshold values should be used for both increasing + and decreasing bandwidth when determining whether + to trigger updated bandwidth values to be flooded + in the IGP TE extensions."; + } + enum "SEPARATE-UP-DOWN" { + description + "SEPARATE-UP-DOWN indicates that a separate + threshold values should be used for the increasing + and decreasing bandwidth when determining whether + to trigger updated bandwidth values to be flooded + in the IGP TE extensions."; + } + } + description + "This value specifies whether a single set of threshold + values should be used for both increasing and decreasing + bandwidth when determining whether to trigger updated + bandwidth values to be flooded in the IGP TE extensions. + MIRRORED-UP-DOWN indicates that a single value (or set of + values) should be used for both increasing and decreasing + values, where SEPARATE-UP-DOWN specifies that the increasing + and decreasing values will be separately specified"; + } + leaf-list up-thresholds { + when "../threshold-type = 'THRESHOLD-CROSSED'and ../threshold-specification = 'SEPARATE-UP-DOWN'" { + description + "A list of up-thresholds can only be specified when the + bandwidth update is triggered based on crossing a + threshold and separate up and down thresholds are + required"; + } + type oc-types:percentage; + description + "The thresholds (expressed as a percentage of the maximum + reservable bandwidth) at which bandwidth updates are to be + triggered when the bandwidth is increasing."; + } + leaf-list down-thresholds { + when "../threshold-type = 'THRESHOLD-CROSSED'and ../threshold-specification = 'SEPARATE-UP-DOWN'" { + description + "A list of down-thresholds can only be specified when the + bandwidth update is triggered based on crossing a + threshold and separate up and down thresholds are + required"; + } + type oc-types:percentage; + description + "The thresholds (expressed as a percentage of the maximum + reservable bandwidth) at which bandwidth updates are to be + triggered when the bandwidth is decreasing."; + } + leaf-list up-down-thresholds { + when "../threshold-type = 'THRESHOLD-CROSSED'and ../threshold-specification = 'MIRRORED-UP-DOWN'" { + description + "A list of thresholds corresponding to both increasing + and decreasing bandwidths can be specified only when an + update is triggered based on crossing a threshold, and + the same up and down thresholds are required."; + } + type oc-types:percentage; + description + "The thresholds (expressed as a percentage of the maximum + reservable bandwidth of the interface) at which bandwidth + updates are flooded - used both when the bandwidth is + increasing and decreasing"; + } + } + + grouping mpls-te-igp-flooding-bandwidth { + description + "Top level group for traffic engineering + database flooding options"; + container igp-flooding-bandwidth { + description + "Interface bandwidth change percentages + that trigger update events into the IGP traffic + engineering database (TED)"; + container config { + description + "Configuration parameters for TED + update threshold "; + uses mpls-te-igp-flooding-bandwidth_config; + } + container state { + config false; + description + "State parameters for TED update threshold "; + uses mpls-te-igp-flooding-bandwidth_config; + } + } + } + + grouping te-lsp-delay_config { + description + "Group for the timers goerning the delay + in installation and cleanup of TE LSPs"; + leaf install-delay { + type uint16 { + range "0..3600"; + } + units "seconds"; + description + "delay the use of newly installed te lsp for a + specified amount of time."; + } + leaf cleanup-delay { + type uint16; + units "seconds"; + description + "delay the removal of old te lsp for a specified + amount of time"; + } + } + + grouping te-interface-attributes-top { + description + "Top level grouping for attributes + for TE interfaces."; + list interface { + key "name"; + description + "List of TE interfaces"; + leaf name { + type leafref { + path "../config/name"; + } + description + "The interface name"; + } + container config { + description + "Configuration parameters related to TE interfaces:"; + uses te-interface-attributes_config; + } + container state { + config false; + description + "State parameters related to TE interfaces"; + uses te-interface-attributes_config; + } + uses mpls-te-igp-flooding-bandwidth; + } + } + + grouping te-interface-attributes_config { + description + "global level definitions for interfaces + on which TE is run"; + leaf name { + type ocif:interface-ref; + description + "reference to interface name"; + } + leaf te-metric { + type uint32; + description + "TE specific metric for the link"; + } + leaf-list srlg-membership { + type leafref { + path "../../../../te-global-attributes/srlg/srlg/name"; + } + description + "list of references to named shared risk link groups that the + interface belongs to."; + } + leaf-list admin-group { + type string; + description + "list of admin groups (by name) on the interface"; + } + } + + grouping mpls-te-lsp-timers { + description + "Grouping for traffic engineering timers"; + container te-lsp-timers { + description + "Definition for delays associated with setup + and cleanup of TE LSPs"; + container config { + description + "Configuration parameters related + to timers for TE LSPs"; + uses te-lsp-delay_config; + uses te-tunnel-reoptimize_config; + } + container state { + config false; + description + "State related to timers for TE LSPs"; + uses te-lsp-delay_config; + uses te-tunnel-reoptimize_config; + } + } + } + + grouping mpls-global_config { + description + "Definition of global MPLS configuration parameters"; + leaf null-label { + type identityref { + base mplst:null-label-type; + } + default "mplst:IMPLICIT"; + description + "The null-label type used, implicit or explicit"; + } + } + + grouping mpls-global-top { + description + "Top level grouping for global MPLS configuration "; + container config { + description + "Top level global MPLS configuration"; + uses mpls-global_config; + } + container state { + config false; + description + "Top level global MPLS state"; + uses mpls-global_config; + } + } + + grouping mpls-interfaces-top { + description + "Top level grouping for attributes + for MPLS-enabled interfaces."; + container mpls-interface-attributes { + description + "Parameters related to MPLS interfaces"; + list interface { + key "name"; + description + "List of TE interfaces"; + leaf name { + type leafref { + path "../config/name"; + } + description + "The interface name"; + } + container config { + description + "Configuration parameters related to MPLS interfaces:"; + uses mpls-interface-attributes-config; + } + container state { + config false; + description + "State parameters related to TE interfaces"; + uses mpls-interface-attributes-config; + } + } + } + } + + grouping mpls-interface-attributes-config { + description + "global level definitions for interfaces + on which MPLS is run"; + leaf name { + type ocif:interface-ref; + description + "reference to interface name"; + } + leaf mpls-enabled { + type boolean; + default "false"; + description + "Enable MPLS forwarding on this interfacek"; + } + } + + grouping mpls-top { + description + "this grouping name is to amke mpls this version forward compatible + for oc-ni for compilation dependency resolution"; + container mpls { + description + "node added for compilation for forward compatibility"; + container global { + description + "node added for compilation for forward compatibility"; + container reserved-label-blocks { + description + "node added for compilation for forward compatibility"; + container reserved-label-block { + description + "node added for compilation for forward compatibility"; + container config { + description + "node added for compilation for forward compatibility"; + leaf-list local-id { + type string; + description + "node added for compilation for forward compatibility"; + } + } + } + } + } + } + } + oc-ext:openconfig-version "0.2.1"; + + container mpls { + presence + " + top-level container for MPLS config and operational + state"; + description + "Anchor point for mpls configuration and operational + data"; + container global { + description + "general mpls configuration applicable to any + type of LSP and signaling protocol - label ranges, + entropy label supportmay be added here"; + uses mpls-global-top; + uses mpls-interfaces-top; + } + container te-global-attributes { + description + "traffic-engineering global attributes"; + uses mpls-te-srlg-top; + uses mpls-te-igp-flooding-bandwidth; + uses mpls-admin-groups-top; + uses mpls-te-lsp-timers; + } + container te-interface-attributes { + description + "traffic engineering attributes specific + for interfaces"; + uses te-interface-attributes-top; + } + container signaling-protocols { + description + "top-level signaling protocol configuration"; + uses rsvp:rsvp-global; + uses sr:sr-global; + uses ldp:ldp-global; + } + container lsps { + description + "LSP definitions and configuration"; + container constrained-path { + description + "traffic-engineered LSPs supporting different + path computation and signaling methods"; + uses explicit-paths_top; + uses te-tunnels_top; + } + container unconstrained-path { + description + "LSPs that use the IGP-determined path, i.e., non + traffic-engineered, or non constrained-path"; + uses igp-lsp-common; + uses igp-lsp-setup; + } + container static-lsps { + description + "statically configured LSPs, without dynamic + signaling"; + uses static-lsp-main; + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l2.yang b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l2.yang new file mode 100644 index 0000000..df4877f --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l2.yang @@ -0,0 +1,235 @@ +submodule openconfig-network-instance-l2 { + belongs-to openconfig-network-instance { + prefix oc-netinst; + } + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-interfaces { + prefix oc-if; + } + import ietf-yang-types { + prefix yang; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains groupings which specifically relate to + Layer 2 network instance configuration and operational state + parameters."; + + revision 2017-01-13 { + description + "Add AFT to the network instance"; + reference "0.6.0"; + } + revision 2016-12-15 { + description + "Add segment routing to network instance"; + reference "0.5.0"; + } + revision 2016-11-10 { + description + "Update model to include IS-IS."; + reference "0.4.1"; + } + revision 2016-10-12 { + description + "Update table connections"; + reference "0.4.0"; + } + revision 2016-09-28 { + description + "Change L2 instance to submodule; add MAC table"; + reference "0.3.0"; + } + revision 2016-08-11 { + description + "Resolve repeated container names in routing protocols"; + reference "0.2.3"; + } + revision 2016-07-08 { + description + "Updated with refactored routing protocol models"; + reference "0.2.1"; + } + revision 2016-03-29 { + description + "Initial revision"; + reference "0.2.0"; + } + revision 2015-11-20 { + description + "Initial revision"; + reference "0.1.0"; + } + + grouping l2ni-instance { + description + "Configuration and operational state parameters relating + to a Layer 2 network instance"; + container fdb { + description + "Operational state and configuration parameters relating to + the forwarding database of the network instance"; + container config { + description + "Configuration parameters relating to the FDB"; + uses l2ni-fdb-mac-config; + } + container state { + config false; + description + "Operational state parameters relating to the FDB"; + uses l2ni-fdb-mac-config; + } + uses l2ni-mac-table-top; + } + } + + grouping l2ni-instance-common-config { + description + "Common configuration options which are specific to Layer 2 + network instances"; + leaf mtu { + type uint16; + description + "The maximum frame size which should be supported for this + instance for Layer 2 frames"; + } + } + + grouping l2ni-fdb-mac-config { + description + "Parameters relating to FDB behaviour relating to MAC + addresses"; + leaf mac-learning { + type boolean; + description + "When this leaf is set to true, MAC learning is enabled for + the network instance, such that MAC addresses are learned + from ingress frames and added to the FDB."; + } + leaf mac-aging-time { + type uint16; + units "seconds"; + description + "The number of seconds of inactivity after which the entry + in the local FDB is timed out."; + } + leaf maximum-entries { + type uint16; + description + "The maximum number of MAC address entries that should be + accepted into the FDB"; + } + } + + grouping l2ni-encapsulation-config { + description + "Encapsulation related configuration parameters for a L2 + network instance"; + leaf control-word { + type boolean; + description + "Whether the control-word should be used for the network + instance"; + reference "RFC3985"; + } + } + + grouping l2ni-mac-table-config { + description + "Configuration data for MAC table entries"; + leaf mac-address { + type yang:mac-address; + description + "MAC address for the dynamic or static MAC table + entry"; + } + leaf vlan { + type leafref { + path "../../../../../../vlans/vlan/config/vlan-id"; + } + description + "VLAN from which this MAC address was received"; + } + } + + grouping l2ni-mac-table-state { + description + "Operational state data for MAC table entries"; + leaf age { + type uint64; + units "seconds"; + description + "The time in seconds since the MAC address has been in the + table"; + } + leaf entry-type { + type enumeration { + enum "STATIC" { + description + "Statically programmed MAC table entry"; + } + enum "DYNAMIC" { + description + "Dynamically learned MAC table entry"; + } + } + description + "Indicates whether the entry was statically configured, or + dynamically learned."; + } + } + + grouping l2ni-mac-table-top { + description + "Top-level grouping for MAC table list"; + container mac-table { + description + "Table of learned or statically configured MAC addresses and + corresponding VLANs in the bridge domain"; + container entries { + description + "Enclosing container for list of MAC table entries"; + list entry { + key "mac-address"; + description + "List of learned MAC addresses"; + leaf mac-address { + type leafref { + path "../config/mac-address"; + } + description + "Reference to mac-address list key"; + } + container config { + description + "Configuration data for MAC table entries"; + uses l2ni-mac-table-config; + } + container state { + config false; + description + "Operational state data for MAC table entries"; + uses l2ni-mac-table-config; + uses l2ni-mac-table-state; + } + container interface { + description + "Reference to the base and/or subinterface for the + MAC table entry"; + uses oc-if:interface-ref; + } + } + } + } + } + oc-ext:openconfig-version "0.6.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l3.yang b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l3.yang new file mode 100644 index 0000000..ff39a77 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-l3.yang @@ -0,0 +1,84 @@ +module openconfig-network-instance-l3 { + yang-version 1; + namespace "http://openconfig.net/yang/network-instance-l3"; + prefix oc-ni-l3; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-types { + prefix octypes; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains groupings which specifically relate to + Layer 2 network instance configuration and operational state + parameters."; + + revision 2017-01-13 { + description + "Add AFT to the network instance"; + reference "0.6.0"; + } + revision 2016-12-15 { + description + "Add segment routing to network instance"; + reference "0.5.0"; + } + revision 2016-11-10 { + description + "Update model to include IS-IS."; + reference "0.4.1"; + } + revision 2016-09-28 { + description + "Change L2 instance to submodule; add MAC table"; + reference "0.3.0"; + } + revision 2016-08-11 { + description + "Resolve repeated container names in routing protocols"; + reference "0.2.3"; + } + revision 2016-07-08 { + description + "Updated with refactored routing protocol models"; + reference "0.2.1"; + } + revision 2016-03-29 { + description + "Initial revision"; + reference "0.2.0"; + } + revision 2016-03-14 { + description + "Initial revision"; + reference "0.1.0"; + } + + grouping l3ni-instance { + description + "Configuration and operational state parameters relevant + to network instances that include a Layer 3 type"; + } + + grouping l3ni-instance-common-config { + description + "Configuration parameters that are common to L3 network + instances other than the default instance"; + leaf-list enabled-address-families { + type identityref { + base octypes:ADDRESS_FAMILY; + } + description + "The address families that are to be enabled for this + network instance."; + } + } + oc-ext:openconfig-version "0.6.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-network-instance-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-types.yang new file mode 100644 index 0000000..afafc03 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-network-instance-types.yang @@ -0,0 +1,209 @@ +module openconfig-network-instance-types { + yang-version 1; + namespace "http://openconfig.net/yang/network-instance-types"; + prefix oc-ni-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "Types associated with a network instance"; + + revision 2016-12-15 { + description + "Add segment routing to network instance"; + reference "0.5.0"; + } + revision 2016-11-10 { + description + "Update model to include IS-IS."; + reference "0.4.1"; + } + revision 2016-10-12 { + description + "Update table connections"; + reference "0.4.0"; + } + revision 2016-09-28 { + description + "Change L2 instance to submodule; add MAC table"; + reference "0.3.0"; + } + revision 2016-08-11 { + description + "Resolve repeated container names in routing protocols"; + reference "0.2.3"; + } + revision 2016-07-08 { + description + "Updated with refactored routing protocol models"; + reference "0.2.1"; + } + revision 2016-03-29 { + description + "Initial revision"; + reference "0.2.0"; + } + revision 2015-10-18 { + description + "Initial revision"; + reference "0.1.0"; + } + + identity NETWORK_INSTANCE_TYPE { + description + "A base identity which can be extended to indicate different + types of network instance supported by a device."; + } + + identity DEFAULT_INSTANCE { + base NETWORK_INSTANCE_TYPE; + description + "A special routing instance which acts as the 'default' or + 'global' routing instance for a network device."; + } + + identity L3VRF { + base NETWORK_INSTANCE_TYPE; + description + "A private Layer 3 only routing instance which is formed of + one or more RIBs"; + } + + identity L2VSI { + base NETWORK_INSTANCE_TYPE; + description + "A private Layer 2 only switch instance which is formed of + one or more L2 forwarding tables"; + } + + identity L2P2P { + base NETWORK_INSTANCE_TYPE; + description + "A private Layer 2 only forwarding instance which acts as + a point to point connection between two endpoints"; + } + + identity L2L3 { + base NETWORK_INSTANCE_TYPE; + description + "A private Layer 2 and Layer 2 forwarding instance"; + } + + identity ENDPOINT_TYPE { + description + "Specification of the type of endpoint that is being associated + with a network instance"; + } + + identity LOCAL { + base ENDPOINT_TYPE; + description + "A local interface which is being associated with the endpoint"; + } + + identity REMOTE { + base ENDPOINT_TYPE; + description + "A remote interface which is being associated with the + endpoint"; + } + + identity LABEL_ALLOCATION_MODE { + description + "Base identity to be used to express types of label allocation + strategies to be used within a network instance"; + } + + identity PER_PREFIX { + base LABEL_ALLOCATION_MODE; + description + "A label is to be allocated per prefix entry in the RIB for the + network instance"; + } + + identity PER_NEXTHOP { + base LABEL_ALLOCATION_MODE; + description + "A label is to be allocated per nexthop entry in the RIB for + the network instance"; + } + + identity INSTANCE_LABEL { + base LABEL_ALLOCATION_MODE; + description + "A single label is to be used for the instance"; + } + + identity ENCAPSULATION { + description + "On the wire encapsulations that can be used when + differentiating network instances"; + } + + identity MPLS { + base ENCAPSULATION; + description + "Use MPLS labels to distinguish network instances on the wire"; + } + + identity VXLAN { + base ENCAPSULATION; + description + "Use VXLAN (RFC7348) VNIs to distinguish network instances on + the wire"; + } + + identity SIGNALLING_PROTOCOL { + description + "The signalling protocol that should be used to diseminate + entries within a forwarding instance"; + } + + identity LDP { + base SIGNALLING_PROTOCOL; + description + "Use LDP-based setup for signalling. Where the instance is + a point-to-point service this refers to RFC4447 ('Martini') + setup. Where the service is an L2VSI, or L2L3 instance it + refers to RFC4762 LDP-signalled VPLS instances"; + } + + identity BGP_VPLS { + base SIGNALLING_PROTOCOL; + description + "Use BGP-based signalling and autodiscovery for VPLS instances + as per RFC4761"; + } + + identity BGP_EVPN { + base SIGNALLING_PROTOCOL; + description + "Use BGP-based Ethernet VPN (RFC7432) based signalling for + the network instance"; + } + + typedef route-distinguisher { + type union { + type string { + pattern "^(65[0-5][0-3][0-5]|[1-5][1-5][0-9][0-9][0-9]|[1-9]?[1-9]?[0-9][0-9]|[1-9]):(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-5]|[0-3][0-9]{9}|[1-9][0-9]{1,8}|[1-9])$"; + } + type string { + pattern "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(65[0-5][0-3][0-5]|[1-5][1-5][0-9][0-9][0-9]|[1-9]?[1-9]?[0-9][0-9]|[1-9])$"; + } + type string { + pattern "^(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-5]|[0-3][0-9]{9}|[1-9][0-9]{1,8}|[1-9]):(65[0-5][0-3][0-5]|[1-5]{2}[0-9]{3}|[1-9]{0,2}[0-9][0-9]|[1-9])$"; + } + } + description + "A route distinguisher value"; + reference "RFC4364"; + } + oc-ext:openconfig-version "0.5.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-network-instance.yang b/yang/modules/cisco-ios-xr/632/openconfig-network-instance.yang new file mode 100644 index 0000000..5153c90 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-network-instance.yang @@ -0,0 +1,901 @@ +module openconfig-network-instance { + yang-version 1; + namespace "http://openconfig.net/yang/network-instance"; + prefix oc-netinst; + + import ietf-yang-types { + prefix yang; + } + import ietf-inet-types { + prefix inet; + } + import openconfig-network-instance-types { + prefix oc-ni-types; + } + import openconfig-policy-types { + prefix oc-pol-types; + } + import openconfig-routing-policy { + prefix oc-rpol; + } + import openconfig-local-routing { + prefix oc-loc-rt; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-network-instance-l3 { + prefix oc-ni-l3; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-bgp { + prefix oc-bgp; + } + import openconfig-mpls { + prefix oc-mpls; + } + import openconfig-vlan { + prefix oc-vlan; + } + import openconfig-segment-routing { + prefix oc-sr; + } + import openconfig-isis { + prefix oc-isis; + } + import openconfig-aft { + prefix oc-aft; + } + include openconfig-network-instance-l2; + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "An OpenConfig description of a network-instance. This may be + a Layer 3 forwarding construct such as a virtual routing and + forwarding (VRF) instance, or a Layer 2 instance such as a + virtual switch instance (VSI). Mixed Layer 2 and Layer 3 + instances are also supported."; + + revision 2017-01-13 { + description + "Add AFT to the network instance"; + reference "0.6.0"; + } + revision 2016-12-15 { + description + "Add segment routing to network instance"; + reference "0.5.0"; + } + revision 2016-11-10 { + description + "Add IS-IS to OpenConfig network instance"; + reference "0.4.1"; + } + revision 2016-10-12 { + description + "Update table connections"; + reference "0.4.0"; + } + revision 2016-09-28 { + description + "Change L2 instance to submodule; add MAC table"; + reference "0.3.0"; + } + revision 2016-08-11 { + description + "Resolve repeated container names in routing protocols"; + reference "0.2.3"; + } + revision 2016-07-08 { + description + "Updated with refactored routing protocol models"; + reference "0.2.1"; + } + revision 2016-03-29 { + description + "Initial revision"; + reference "0.2.0"; + } + revision 2015-10-18 { + description + "Initial revision"; + reference "0.1.0"; + } + + typedef network-instance-ref { + type leafref { + path "/network-instances/network-instance/config/name"; + } + description + "A re-usable type that can be referenced within other + modules that references a network instance."; + } + + grouping network-instance-top { + description + "Top-level grouping containing a list of network instances."; + container network-instances { + description + "The L2, L3, or L2+L3 forwarding instances that are + configured on the local system"; + list network-instance { + key "name"; + description + "Network instances configured on the local system"; + leaf name { + type leafref { + path "../config/name"; + } + description + "A unique name identifying the network instance"; + } + uses l2ni-instance { + when "../type = 'L2VSI' or ../type = 'L2P2P' or ../type = 'L2L3' or ../type = 'DEFAULT_INSTANCE'" { + description + "Layer 2 configuration parameters included when + a network instance is a Layer 2 instance or a + combined L2L3 instance"; + } + } + container config { + description + "Configuration parameters relating to a network + instance"; + uses network-instance-config; + uses network-instance-type-dependent-config; + } + container state { + config false; + description + "Operational state parameters relating to a network + instance"; + uses network-instance-config; + uses network-instance-type-dependent-config; + uses network-instance-state; + } + container encapsulation { + when "../config/type != 'DEFAULT_INSTANCE'" { + description + "Only allow the encapsulation of the instance to be + set when the instance is not the default instance"; + } + description + "Configuration parameters relating to the encapsulation + used for the network instance"; + container config { + description + "Configuration parameters relating to the encapsulation + of the network instance"; + uses encapsulation-config; + uses l2ni-encapsulation-config { + when + "../../../type = 'L2VSI' or ../../../type = 'L2P2P' + or ../../../type = 'L2L3'" { + description + "Only allow L2 encapsulations to be set + when the instance is of a type that supports + L2"; + } + } + } + container state { + config false; + description + "State parameters relating to the encapsulation of + the network instance"; + uses encapsulation-config; + uses l2ni-encapsulation-config { + when + "../../../type = 'L2VSI' or ../../../type = 'L2P2P' + or ../../../type = 'L2L3'" { + description + "Only allow L2 encapsulations to be set + when the instance is of a type that supports + L2"; + } + } + } + } + container inter-instance-policies { + description + "Policies dictating how RIB or FIB entries are imported + to and exported from this instance"; + uses oc-rpol:apply-policy-group; + } + container table-connections { + description + "Policies dictating how RIB or FIB entries are propagated + between tables"; + list table-connection { + key "src-protocol dst-protocol address-family"; + description + "A list of connections between pairs of routing or + forwarding tables, the leaking of entries between + which is specified by the import policy. + + A connection connecting a source table to a destination + table implies that routes that match the policy specified + for the connection are available for the destination + protocol to advertise, or match within its policies."; + leaf src-protocol { + type leafref { + path "../config/src-protocol"; + } + description + "The name of the protocol associated with the table + which should be utilised as the source of forwarding + or routing information"; + } + leaf dst-protocol { + type leafref { + path "../config/dst-protocol"; + } + description + "The table to which routing entries should be + exported"; + } + leaf address-family { + type leafref { + path "../config/address-family"; + } + description + "The address family associated with the connection"; + } + container config { + description + "Configuration parameters relating to the connection + between tables"; + uses inter-table-policies-config; + } + container state { + config false; + description + "State parameters relating to the connection between + tables"; + uses inter-table-policies-config; + } + } + } + container interfaces { + description + "The interfaces that are associated with this network + instance"; + list interface { + key "id"; + unique "config/interface config/subinterface"; + description + "An interface associated with the network instance"; + leaf id { + type leafref { + path "../config/id"; + } + description + "A reference to an identifier for this interface which + acts as a key for this list"; + } + container config { + description + "Configuration parameters relating to the associated + interface"; + uses instance-interfaces-config; + } + container state { + config false; + description + "Operational state parameters relating to the + associated interface"; + uses instance-interfaces-config; + uses instance-interfaces-state; + } + } + } + container tables { + description + "The routing tables that are managed by this network + instance"; + list table { + key "protocol address-family"; + description + "A network instance manages one or more forwarding or + routing tables. These may reflect a Layer 2 forwarding + information base, a Layer 3 routing table, or an MPLS + LFIB. + + The table populated by a protocol within an instance is + identified by the protocol identifier (e.g., BGP, IS-IS) + and the address family (e.g., IPv4, IPv6) supported by + that protocol. Multiple instances of the same protocol + populate a single table -- such that + a single IS-IS or OSPF IPv4 table exists per network + instance. + + An implementation is expected to create entries within + this list when the relevant protocol context is enabled. + i.e., when a BGP instance is created with IPv4 and IPv6 + address families enabled, the protocol=BGP, + address-family=IPv4 table is created by the system."; + leaf protocol { + type leafref { + path "../config/protocol"; + } + description + "A reference to the protocol that populates + the table"; + } + leaf address-family { + type leafref { + path "../config/address-family"; + } + description + "A reference to the address-family that the + table represents"; + } + container config { + description + "Configuration parameters relating to the + table"; + uses table-config; + } + container state { + config false; + description + "State parameters related to the table"; + uses table-config; + } + } + } + container connection-points { + description + "The set of connection points within a forwarding + instance"; + list connection-point { + key "connection-point-id"; + description + "A connection point within a Layer 2 network instance. + Each connection-point consists of a set of interfaces + only one of which is active at any one time. Other than + the specification of whether an interface is local + (i.e., exists within this network-instance), or remote, + all configuration and state parameters are common"; + leaf connection-point-id { + type leafref { + path "../config/connection-point-id"; + } + description + "A locally significant reference for the + connection-point"; + } + container config { + description + "Configuration parameters relating to a Layer 2 + network instance connection point"; + uses instance-connection-point-config; + } + container state { + config false; + description + "Operational state parameters relating to a Layer 2 + network instance connection point"; + uses instance-connection-point-config; + uses instance-connection-point-state; + } + container endpoints { + when "../config/type = 'L2P2P' or ../config/type = 'L2VSI'" { + description + "Configuration parameters to associate interfaces + into a common group for use in Layer 2 network + instances"; + } + description + "The set of endpoints which are grouped within the + connection point"; + list endpoint { + key "endpoint-id"; + description + "A list of the endpoints (interfaces or remote + connection points that can be used for this + connection point). The active endpoint is selected + based on the precedence that it is configured + with"; + leaf endpoint-id { + type leafref { + path "../config/endpoint-id"; + } + description + "A pointer to the configured identifier for the + endpoint"; + } + container config { + description + "Configuration parameters relating to the + endpoint"; + uses instance-endpoint-config; + } + container state { + config false; + description + "Operational state parameters relating to the + endpoint"; + uses instance-endpoint-config; + uses instance-endpoint-state; + } + container local { + when "../config/type = 'LOCAL'" { + description + "Only include the local configuration when + the endpoint is specified to be local to + the network element"; + } + description + "Configuration and operational state parameters + relating to a local interface"; + container config { + description + "Configuration parameters relating to a local + endpoint"; + uses instance-endpoint-local-config; + } + container state { + config false; + description + "Operational state parameters relating to a + local endpoint"; + uses instance-endpoint-local-config; + } + } + container remote { + when "../config/type = 'REMOTE'" { + description + "Only include the remote configuration when + the endpoint is specified to be remote to + the network element"; + } + description + "Configuration and operational state parameters + relating to a remote interface"; + container config { + description + "Configuration parameters relating to a remote + endpoint"; + uses instance-endpoint-remote-config; + } + container state { + config false; + description + "Operational state parameters relating to + a remote endpoint"; + uses instance-endpoint-remote-config; + } + } + } + } + } + } + uses oc-mpls:mpls-top { + when "../config/type = 'DEFAULT'" { + description + "MPLS configuration is only valid within the default + network instance."; + } + } + uses oc-sr:sr-top { + when "../config/type = 'DEFAULT'" { + description + "Segment routing configuration is only valid with the default + network instance."; + } + } + uses oc-vlan:vlan-top; + uses oc-aft:aft-top; + container protocols { + description + "The routing protocols that are enabled for this + network-instance."; + list protocol { + key "identifier name"; + description + "A process (instance) of a routing protocol. Some + systems may not support more than one instance of + a particular routing protocol"; + leaf identifier { + type leafref { + path "../config/identifier"; + } + description + "The protocol name for the routing or forwarding + protocol to be instantiated"; + } + leaf name { + type leafref { + path "../config/name"; + } + description + "An operator-assigned identifier for the routing + or forwarding protocol. For some processes this + leaf may be system defined."; + } + container config { + description + "Configuration parameters relating to the routing + protocol instance"; + uses protocols-config; + } + container state { + config false; + description + "State parameters relating to the routing protocol + instance"; + uses protocols-config; + uses protocols-state; + } + uses oc-loc-rt:local-static-top { + when "../config/identifier = 'STATIC'" { + description + "Include static route parameters only when the + protocol is set to static"; + } + description + "Configuration and state parameters relating to + static routes"; + } + uses oc-loc-rt:local-aggregate-top { + when "../config/identifier = 'LOCAL_AGGREGATE'" { + description + "Include aggregate route parameters only when the + protocol is set to aggregate"; + } + description + "Configuration and state parameters relating to + locally generated aggregate routes"; + } + uses oc-bgp:bgp-top { + when "../config/identifier = 'BGP'" { + description + "Include BGP parameters only when the protocol + is of type BGP"; + } + description + "Configuration and state parameters relating to + Border Gateway Protocol (BGP)"; + } + uses oc-isis:isis-top { + when "../config/identifier = 'ISIS'" { + description + "Include IS-IS configuration when the protocol is of type + IS-IS"; + } + description + "Configuration and state parameters relating to Intermediate + System to Intermediate System (IS-IS)."; + } + } + } + } + } + } + + grouping network-instance-type-dependent-config { + description + "Type dependent network instance configuration"; + uses oc-ni-l3:l3ni-instance-common-config { + when "../type = 'L3VRF' or ../type = 'L2L3'" { + description + "Layer 3 VRF configuration parameters included when a + network instance is a L3VRF or combined L2L3 instance"; + } + } + uses l2ni-instance-common-config { + when "../type = 'L2VSI' or ../type = 'L2P2P' or ../type = 'L2L3'" { + description + "Layer 2 configuration parameters included when + a network instance is a Layer 2 instance or a + combined L2L3 instance"; + } + } + } + + grouping instance-endpoint-config { + description + "Configuration data relating to an forwarding-instance + endpoint"; + leaf endpoint-id { + type string; + description + "An identifier for the endpoint"; + } + leaf precedence { + type uint16; + description + "The precedence of the endpoint - the lowest precendence + viable endpoint will be utilised as the active endpoint + within a connection"; + } + leaf type { + type identityref { + base oc-ni-types:ENDPOINT_TYPE; + } + description + "The type of endpoint that is referred to by the current + endpoint"; + } + } + + grouping instance-endpoint-local-config { + description + "Configuration parameters relating to an endpoint that is local + to the current system"; + uses oc-if:interface-ref-common; + } + + grouping instance-endpoint-remote-config { + description + "Configuration parameters relating to an endpoint that is + remote from the local system"; + leaf remote-system { + type inet:ip-address; + description + "The IP address of the device which hosts the + remote end-point"; + } + leaf virtual-circuit-identifier { + type uint32; + description + "The virtual-circuit identifier that identifies the + connection at the remote end-point"; + } + } + + grouping instance-endpoint-state { + description + "Operational state data relating to a forwarding-instance + endpoint"; + leaf active { + type boolean; + description + "When the backup endpoint is active, the value of this + parameter is set to true"; + } + } + + grouping instance-connection-point-config { + description + "Configuration data relating to a forwarding-instance + connection point"; + leaf connection-point-id { + type string; + description + "An identifier for a connection point"; + } + } + + grouping instance-connection-point-state { + description + "Operational state data relating to a forwarding-instance + connection point"; + } + + grouping table-config { + description + "Config parameters relating to an L2/L2.5/L3 table that exists + within a network instance"; + leaf protocol { + type leafref { + path "../../../../protocols/protocol/config/identifier"; + } + description + "Reference to the protocol that the table is associated with."; + } + leaf address-family { + type identityref { + base oc-types:ADDRESS_FAMILY; + } + description + "The address family (IPv4, IPv6) of the table's entries"; + } + } + + grouping instance-interfaces-config { + description + "Configuration parameters related to an interface associated + with the network instance"; + leaf id { + type string; + description + "A unique identifier for this interface - this is expressed + as a free-text string"; + } + uses oc-if:interface-ref-common; + leaf-list associated-address-families { + type identityref { + base oc-types:ADDRESS_FAMILY; + } + description + "The address families on the subinterface which are to be + associated with this network instance. When this leaf-list + is empty and the network instance requires Layer 3 information + the address families for which the network instance is + enabled should be imported. If the value of this leaf-list + is specified then the association MUST only be made for + those address families that are included in the list."; + } + } + + grouping instance-interfaces-state { + description + "Operational state parameters relating to an interface + associated with this network instance"; + } + + grouping inter-table-policies-config { + description + "Configuration entries that relate to how RIB or FIB entries + are propagated between tables within the same network + instance"; + leaf src-protocol { + type leafref { + path "../../../../tables/table/config/protocol"; + } + description + "The source protocol for the table connection"; + } + leaf address-family { + type leafref { + path "../../../../tables/table[protocol=current()/../src-protocol]/config/address-family"; + } + description + "The address family associated with the connection. This + must be defined for the source protocol. The target + address family is implicitly defined by the address family + specified for the source protocol."; + } + leaf dst-protocol { + type leafref { + path "../../../../tables/table/config/protocol"; + } + description + "The destination protocol for the table connection"; + } + uses oc-rpol:apply-policy-import-config; + } + + grouping network-instance-config { + description + "Configuration parameters relating to a top-level network + instance"; + leaf name { + type string; + description + "An operator-assigned unique name for the forwarding + instance"; + } + leaf type { + type identityref { + base oc-ni-types:NETWORK_INSTANCE_TYPE; + } + description + "The type of network instance. The value of this leaf + indicates the type of forwarding entries that should be + supported by this network instance"; + } + leaf enabled { + type boolean; + description + "Whether the network instance should be configured to be + active on the network element"; + } + leaf description { + type string; + description + "A free-form string to be used by the network operator to + describe the function of this network instance"; + } + leaf router-id { + type yang:dotted-quad; + description + "A identifier for the local network instance - typically + used within associated routing protocols or signalling + routing information in another network instance"; + } + leaf route-distinguisher { + type oc-ni-types:route-distinguisher; + description + "The route distinguisher that should be used for the local + VRF or VSI instance when it is signalled via BGP."; + } + } + + grouping network-instance-state { + description + "Operational state parameters relating to a network instance"; + } + + grouping protocols-config { + description + "Configuration parameters relating to a generic protocol + instance within a network instance"; + leaf identifier { + type identityref { + base oc-pol-types:INSTALL_PROTOCOL_TYPE; + } + description + "The protocol identifier for the instance"; + } + leaf name { + type string; + description + "A unique name for the protocol instance"; + } + leaf enabled { + type boolean; + description + "A boolean value indicating whether the local protocol + instance is enabled."; + } + leaf default-metric { + type uint32; + description + "The default metric within the RIB for entries that are + installed by this protocol instance. This value may + be overridden by protocol specific configuration options. + The lower the metric specified the more preferable the RIB + entry is to be selected for use within the network instance. + Where multiple entries have the same metric value then these + equal cost paths should be treated according to the specified + ECMP path selection behaviour for the instance"; + } + } + + grouping protocols-state { + description + "Operational state parameters relating to a protocol instance"; + } + + grouping instance-interface-association-config { + description + "Grouping containing leaves that are to be augmented into an + interface or subinterface to include mapping to a network + instance"; + leaf network-instance { + type leafref { + path "/network-instances/network-instance/name"; + } + description + "The network instance that this interface is associated + with"; + } + } + + grouping encapsulation-config { + description + "Type agnostic configuration parameters relating to the + encapsulation of the network instance"; + leaf encapsulation-type { + type identityref { + base oc-ni-types:ENCAPSULATION; + } + description + "The on-the-wire encapsulation that should be used when + sending traffic from this network instance"; + } + leaf label-allocation-mode { + type identityref { + base oc-ni-types:LABEL_ALLOCATION_MODE; + } + description + "The label allocation mode to be used for L3 entries + in the network instance"; + } + } + oc-ext:openconfig-version "0.6.0"; + + uses network-instance-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-optical-amplifier.yang b/yang/modules/cisco-ios-xr/632/openconfig-optical-amplifier.yang new file mode 100644 index 0000000..0d1e0b0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-optical-amplifier.yang @@ -0,0 +1,340 @@ +module openconfig-optical-amplifier { + yang-version 1; + namespace "http://openconfig.net/yang/optical-amplfier"; + prefix oc-opt-amp; + + import openconfig-platform { + prefix oc-platform; + } + import openconfig-transport-line-common { + prefix oc-line-com; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This model describes configuration and operational state data + for optical amplifiers, deployed as part of a transport + line system."; + + revision 2017-07-08 { + description + "Add monitor port type and refs to hw ports, "; + reference "0.3.0"; + } + revision 2017-03-28 { + description + "Added min/max/avg stats, status for media channels, OCM, APS"; + reference "0.2.0"; + } + revision 2016-03-31 { + description + "Initial public release"; + reference "0.1.0"; + } + + identity OPTICAL_AMPLIFIER_TYPE { + description + "Type definition for different types of optical amplifiers"; + } + + identity EDFA { + base OPTICAL_AMPLIFIER_TYPE; + description + "Erbium doped fiber amplifer (EDFA)"; + } + + identity FORWARD_RAMAN { + base OPTICAL_AMPLIFIER_TYPE; + description + "Forward pumping Raman amplifier"; + } + + identity BACKWARD_RAMAN { + base OPTICAL_AMPLIFIER_TYPE; + description + "Backward pumping Raman amplifier"; + } + + identity HYBRID { + base OPTICAL_AMPLIFIER_TYPE; + description + "Hybrid backward pumping Raman + EDFA amplifier"; + } + + identity GAIN_RANGE { + description + "Base type for expressing the gain range for a switched gain + amplifier. The gain range is expressed as a generic setting, + e.g., LOW/MID/HIGH. The actual db range will be determined + by the implementation."; + } + + identity LOW_GAIN_RANGE { + base GAIN_RANGE; + description + "LOW gain range setting"; + } + + identity MID_GAIN_RANGE { + base GAIN_RANGE; + description + "MID gain range setting"; + } + + identity HIGH_GAIN_RANGE { + base GAIN_RANGE; + description + "HIGH gain range setting"; + } + + identity FIXED_GAIN_RANGE { + base GAIN_RANGE; + description + "Fixed or non-switched gain amplfier"; + } + + identity OPTICAL_AMPLIFIER_MODE { + description + "Type definition for different types of optical amplifier + operating modes"; + } + + identity CONSTANT_POWER { + base OPTICAL_AMPLIFIER_MODE; + description + "Constant power mode"; + } + + identity CONSTANT_GAIN { + base OPTICAL_AMPLIFIER_MODE; + description + "Constant gain mode"; + } + + grouping optical-amplifier-config { + description + "Configuration data for optical amplifiers"; + leaf name { + type string; + description + "User-defined name assigned to identify a specific amplifier + in the device"; + } + leaf type { + type identityref { + base OPTICAL_AMPLIFIER_TYPE; + } + description + "Type of the amplifier"; + } + leaf target-gain { + type decimal64 { + fraction-digits 2; + range "0..max"; + } + units "dB"; + description + "Positive gain applied by the amplifier."; + } + leaf target-gain-tilt { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "Gain tilt control"; + } + leaf gain-range { + type identityref { + base GAIN_RANGE; + } + description + "Selected gain range. The gain range is a platform-defined + value indicating the switched gain amplifier setting"; + } + leaf amp-mode { + type identityref { + base OPTICAL_AMPLIFIER_MODE; + } + description + "The operating mode of the amplifier"; + } + leaf target-output-power { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "Output optical power of the amplifier."; + } + leaf enabled { + type boolean; + description + "Turns power on / off to the amplifiers gain module."; + } + } + + grouping optical-amplifier-state { + description + "Operational state data for optical amplifiers"; + leaf ingress-port { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to system-supplied name of the amplifier ingress + port. This leaf is only valid for ports of type INGRESS."; + } + leaf egress-port { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to system-supplied name of the amplifier egress + port. This leaf is only valid for ports of type EGRESS."; + } + container actual-gain { + description + "The actual gain applied by the amplifier in units of + 0.01dB. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dB; + } + container actual-gain-tilt { + description + "The actual tilt applied by the amplifier in units of + 0.01dB. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dB; + } + container input-power-total { + description + "The total input optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container input-power-c-band { + description + "The C band (consisting of approximately 191 to 195 THz or + 1530nm to 1565 nm) input optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container input-power-l-band { + description + "The L band (consisting of approximately 184 to 191 THz or + 1565 to 1625 nm) input optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container output-power-total { + description + "The total output optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container output-power-c-band { + description + "The C band (consisting of approximately 191 to 195 THz or + 1530nm to 1565 nm)output optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container output-power-l-band { + description + "The L band (consisting of approximately 184 to 191 THz or + 1565 to 1625 nm)output optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container laser-bias-current { + description + "The current applied by the system to the transmit laser to + achieve the output power. The current is expressed in mA + with up to two decimal precision. If avg/min/max statistics + are not supported, just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-mA; + } + container optical-return-loss { + description + "The optical return loss (ORL) is the ratio of the light + reflected back into the port to the light launched out of + the port. ORL is in units of 0.01dBm. If avg/min/max + statistics are not supported, just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + } + + grouping optical-amplifier-top { + description + "Top-level grouping for optical amplifier data"; + container optical-amplifier { + description + "Enclosing container for amplifiers and supervisory channels"; + container amplifiers { + description + "Enclosing container for list of amplifiers"; + list amplifier { + key "name"; + description + "List of optical amplifiers present in the device"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the name of the amplifier"; + } + container config { + description + "Configuration data for the amplifier"; + uses optical-amplifier-config; + } + container state { + config false; + description + "Operational state data for the amplifier"; + uses optical-amplifier-config; + uses optical-amplifier-state; + } + } + } + container supervisory-channels { + description + "Enclosing container for list of supervisory channels"; + list supervisory-channel { + key "interface"; + description + "List of supervisory channels"; + leaf interface { + type leafref { + path "../config/interface"; + } + description + "Reference to the interface of the supervisory channel"; + } + uses oc-line-com:optical-osc-top; + } + } + } + } + oc-ext:openconfig-version "0.3.0"; + + uses optical-amplifier-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-packet-match-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-packet-match-types.yang new file mode 100644 index 0000000..fea0ee1 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-packet-match-types.yang @@ -0,0 +1,256 @@ +module openconfig-packet-match-types { + yang-version 1; + namespace "http://openconfig.net/yang/packet-match-types"; + prefix oc-pkt-match-types; + + import ietf-inet-types { + prefix inet; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines common types for use in models requiring + data definitions related to packet matches."; + + revision 2016-08-08 { + description + "OpenConfig public release"; + reference "0.2.0"; + } + revision 2016-04-27 { + description + "Initial revision"; + reference "TBD"; + } + + identity ETHERTYPE { + description + "Base identity for commonly used Ethertype values used + in packet header matches on Ethernet frames. The Ethertype + indicates which protocol is encapsulated in the Ethernet + payload."; + reference "IEEE 802.3"; + } + + identity ETHERTYPE_IPV4 { + base ETHERTYPE; + description + "IPv4 protocol (0x0800)"; + } + + identity ETHERTYPE_ARP { + base ETHERTYPE; + description + "Address resolution protocol (0x0806)"; + } + + identity ETHERTYPE_VLAN { + base ETHERTYPE; + description + "VLAN-tagged frame (as defined by IEEE 802.1q) (0x8100). Note + that this value is also used to represent Shortest Path + Bridging (IEEE 801.1aq) frames."; + } + + identity ETHERTYPE_IPV6 { + base ETHERTYPE; + description + "IPv6 protocol (0x86DD)"; + } + + identity ETHERTYPE_MPLS { + base ETHERTYPE; + description + "MPLS unicast (0x8847)"; + } + + identity ETHERTYPE_LLDP { + base ETHERTYPE; + description + "Link Layer Discovery Protocol (0x88CC)"; + } + + identity ETHERTYPE_ROCE { + base ETHERTYPE; + description + "RDMA over Converged Ethernet (0x8915)"; + } + + identity IP_PROTOCOL { + description + "Base identity for commonly used IP protocols used in + packet header matches"; + reference "IANA Assigned Internet Protocol Numbers"; + } + + identity IP_TCP { + base IP_PROTOCOL; + description + "Transmission Control Protocol (6)"; + } + + identity IP_UDP { + base IP_PROTOCOL; + description + "User Datagram Protocol (17)"; + } + + identity IP_ICMP { + base IP_PROTOCOL; + description + "Internet Control Message Protocol (1)"; + } + + identity IP_IGMP { + base IP_PROTOCOL; + description + "Internet Group Membership Protocol (2)"; + } + + identity IP_PIM { + base IP_PROTOCOL; + description + "Protocol Independent Multicast (103)"; + } + + identity IP_RSVP { + base IP_PROTOCOL; + description + "Resource Reservation Protocol (46)"; + } + + identity IP_GRE { + base IP_PROTOCOL; + description + "Generic Routing Encapsulation (47)"; + } + + identity IP_AUTH { + base IP_PROTOCOL; + description + "Authentication header, e.g., for IPSEC (51)"; + } + + identity IP_L2TP { + base IP_PROTOCOL; + description + "Layer Two Tunneling Protocol v.3 (115)"; + } + + identity TCP_FLAGS { + description + "Common TCP flags used in packet header matches"; + reference + "IETF RFC 793 - Transmission Control Protocol + IETF RFC 3168 - The Addition of Explicit Congestion + Notification (ECN) to IP"; + } + + identity TCP_SYN { + base TCP_FLAGS; + description + "TCP SYN flag"; + } + + identity TCP_FIN { + base TCP_FLAGS; + description + "TCP FIN flag"; + } + + identity TCP_RST { + base TCP_FLAGS; + description + "TCP RST flag"; + } + + identity TCP_PSH { + base TCP_FLAGS; + description + "TCP push flag"; + } + + identity TCP_ACK { + base TCP_FLAGS; + description + "TCP ACK flag"; + } + + identity TCP_URG { + base TCP_FLAGS; + description + "TCP urgent flag"; + } + + identity TCP_ECE { + base TCP_FLAGS; + description + "TCP ECN-Echo flag. If the SYN flag is set, indicates that + the TCP peer is ECN-capable, otherwise indicates that a + packet with Congestion Experienced flag in the IP header + is set"; + } + + identity TCP_CWR { + base TCP_FLAGS; + description + "TCP Congestion Window Reduced flag"; + } + + typedef port-num-range { + type union { + type string { + pattern "^(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)\\.\\.(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)$"; + } + type inet:port-number; + type enumeration { + enum "ANY" { + description + "Indicates any valid port number (e.g., wildcard)"; + } + } + } + description + "Port numbers may be represented as a single value, + an inclusive range as .., or as ANY to + indicate a wildcard."; + } + + typedef ip-protocol-type { + type union { + type uint8 { + range "0..254"; + } + type identityref { + base IP_PROTOCOL; + } + } + description + "The IP protocol number may be expressed as a valid protocol + number (integer) or using a protocol type defined by the + IP_PROTOCOL identity"; + } + + typedef ethertype-type { + type union { + type uint16 { + range "1..65535"; + } + type identityref { + base ETHERTYPE; + } + } + description + "The Ethertype value may be expressed as a 16-bit number in + hexadecimal notation, or using a type defined by the + ETHERTYPE identity"; + } + oc-ext:openconfig-version "0.2.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-platform-transceiver.yang b/yang/modules/cisco-ios-xr/632/openconfig-platform-transceiver.yang new file mode 100644 index 0000000..9a41eb5 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-platform-transceiver.yang @@ -0,0 +1,344 @@ +module openconfig-platform-transceiver { + yang-version 1; + namespace "http://openconfig.net/yang/platform/transceiver"; + prefix oc-transceiver; + + import openconfig-platform { + prefix oc-platform; + } + import openconfig-transport-types { + prefix oc-opt-types; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-extensions { + prefix oc-ext; + } + import ietf-yang-types { + prefix yang; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines configuration and operational state data + for transceivers (i.e., pluggable optics). The module should be + used in conjunction with the platform model where other + physical entity data are represented. + + In the platform model, a component of type=TRANSCEIVER is + expected to be a subcomponent of a PORT component. This + module defines a concrete schema for the associated data for + components with type=TRANSCEIVER."; + + revision 2016-05-24 { + description + "Initial public release"; + reference "0.1.0"; + } + + grouping optical-power-state { + description + "Reusable leaves related to optical power state -- these + are read-only state values. If avg/min/max statistics are + not supported, the target is expected to just supply the + instant value"; + container output-power { + description + "The output optical power of this port in units of 0.01dBm. + If the port is an aggregate of multiple physical channels, + this attribute is the total power or sum of all channels. If + avg/min/max statistics are not supported, the target is + expected to just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container input-power { + description + "The input optical power of this port in units of 0.01dBm. + If the port is an aggregate of multiple physical channels, + this attribute is the total power or sum of all channels. + If avg/min/max statistics are not supported, the target is + expected to just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container laser-bias-current { + description + "The current applied by the system to the transmit laser to + achieve the output power. The current is expressed in mA + with up to one decimal precision. If avg/min/max statistics + are not supported, the target is expected to just supply + the instant value"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + } + + grouping output-optical-frequency { + description + "Reusable leaves related to optical output power -- this is + typically configurable on line side and read-only on the + client-side"; + leaf output-frequency { + type oc-opt-types:frequency-type; + description + "The frequency in MHz of the individual physical channel + (e.g. ITU C50 - 195.0THz and would be reported as + 195,000,000 MHz in this model). This attribute is not + configurable on most client ports."; + } + } + + grouping physical-channel-config { + description + "Configuration data for physical client channels"; + leaf index { + type uint16 { + range "0..max"; + } + description + "Index of the physical channnel or lane within a physical + client port"; + } + leaf description { + type string; + description + "Text description for the client physical channel"; + } + leaf tx-laser { + type boolean; + description + "Enable (true) or disable (false) the transmit label for the + channel"; + } + leaf target-output-power { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "Target output optical power level of the optical channel, + expressed in increments of 0.01 dBm (decibel-milliwats)"; + } + } + + grouping physical-channel-state { + description + "Operational state data for client channels."; + uses output-optical-frequency; + uses optical-power-state; + } + + grouping physical-channel-top { + description + "Top-level grouping for physical client channels"; + container physical-channels { + description + "Enclosing container for client channels"; + list channel { + key "index"; + description + "List of client channels, keyed by index within a physical + client port. A physical port with a single channel would + have a single zero-indexed element"; + leaf index { + type leafref { + path "../config/index"; + } + description + "Reference to the index number of the channel"; + } + container config { + description + "Configuration data for physical channels"; + uses physical-channel-config; + } + container state { + config false; + description + "Operational state data for channels"; + uses physical-channel-config; + uses physical-channel-state; + } + } + } + } + + grouping port-transceiver-config { + description + "Configuration data for client port transceivers"; + leaf enabled { + type boolean; + description + "Turns power on / off to the transceiver -- provides a means + to power on/off the transceiver (in the case of SFP, SFP+, + QSFP,...) or enable high-power mode (in the case of CFP, + CFP2, CFP4) and is optionally supported (device can choose to + always enable). True = power on / high power, False = + powered off"; + } + leaf form-factor { + type identityref { + base oc-opt-types:TRANSCEIVER_FORM_FACTOR_TYPE; + } + description + "Indicates the type of optical transceiver used on this + port. If the client port is built into the device and not + plugable, then non-pluggable is the corresponding state. If + a device port supports multiple form factors (e.g. QSFP28 + and QSFP+, then the value of the transceiver installed shall + be reported. If no transceiver is present, then the value of + the highest rate form factor shall be reported + (QSFP28, for example). + + The form factor is included in configuration data to allow + pre-configuring a device with the expected type of + transceiver ahead of deployment. The corresponding state + leaf should reflect the actual transceiver type plugged into + the system."; + } + } + + grouping port-transceiver-state { + description + "Operational state data for client port transceivers"; + leaf present { + type enumeration { + enum "PRESENT" { + description + "Transceiver is present on the port"; + } + enum "NOT_PRESENT" { + description + "Transceiver is not present on the port"; + } + } + description + "Indicates whether a transceiver is present in + the specified client port."; + } + leaf connector-type { + type identityref { + base oc-opt-types:FIBER_CONNECTOR_TYPE; + } + description + "Connector type used on this port"; + } + leaf internal-temp { + type int16 { + range "-40..125"; + } + description + "Internally measured temperature in degrees Celsius. MSA + valid range is between -40 and +125C. Accuracy shall be + better than +/- 3 degC over the whole temperature range."; + } + leaf vendor { + type string { + length "1..16"; + } + description + "Full name of transceiver vendor. 16-octet field that + contains ASCII characters, left-aligned and padded on the + right with ASCII spaces (20h)"; + } + leaf vendor-part { + type string { + length "1..16"; + } + description + "Transceiver vendor's part number. 16-octet field that + contains ASCII characters, left-aligned and padded on the + right with ASCII spaces (20h). If part number is undefined, + all 16 octets = 0h"; + } + leaf vendor-rev { + type string { + length "1..2"; + } + description + "Transceiver vendor's revision number. 2-octet field that + contains ASCII characters, left-aligned and padded on the + right with ASCII spaces (20h)"; + } + leaf ethernet-compliance-code { + type identityref { + base oc-opt-types:ETHERNET_PMD_TYPE; + } + description + "Ethernet PMD that the transceiver supports. The SFF/QSFP + MSAs have registers for this and CFP MSA has similar."; + } + leaf sonet-sdh-compliance-code { + type identityref { + base oc-opt-types:SONET_APPLICATION_CODE; + } + description + "SONET/SDH application code supported by the port"; + } + leaf otn-compliance-code { + type identityref { + base oc-opt-types:OTN_APPLICATION_CODE; + } + description + "OTN application code supported by the port"; + } + leaf serial-no { + type string { + length "1..16"; + } + description + "Transceiver serial number. 16-octet field that contains + ASCII characters, left-aligned and padded on the right with + ASCII spaces (20h). If part serial number is undefined, all + 16 octets = 0h"; + } + leaf date-code { + type yang:date-and-time; + description + "Representation of the transceiver date code, typically + stored as YYMMDD. The time portion of the value is + undefined and not intended to be read."; + } + leaf fault-condition { + type boolean; + description + "Indicates if a fault condition exists in the transceiver"; + } + } + + grouping port-transceiver-top { + description + "Top-level grouping for client port transceiver data"; + container transceiver { + description + "Top-level container for client port transceiver data"; + container config { + description + "Configuration data for client port transceivers"; + uses port-transceiver-config; + } + container state { + config false; + description + "Operational state data for client port transceivers"; + uses port-transceiver-config; + uses port-transceiver-state; + } + uses physical-channel-top; + } + } + + augment "/oc-platform:components/oc-platform:component" { + when "/oc-platform:components/oc-platform:component/oc-platform:state/oc-platform:type = 'TRANSCEIVER'" { + description + "Augment is active when component is of type TRANSCEIVER"; + } + description + "Adding transceiver data to physical inventory"; + uses port-transceiver-top; + } + oc-ext:openconfig-version "0.1.0"; +} diff --git a/yang/modules/cisco-ios-xr/631/openconfig-platform-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-platform-types.yang similarity index 79% rename from yang/modules/cisco-ios-xr/631/openconfig-platform-types.yang rename to yang/modules/cisco-ios-xr/632/openconfig-platform-types.yang index 994505c..8890867 100644 --- a/yang/modules/cisco-ios-xr/631/openconfig-platform-types.yang +++ b/yang/modules/cisco-ios-xr/632/openconfig-platform-types.yang @@ -1,54 +1,41 @@ module openconfig-platform-types { - - yang-version "1"; - - // namespace + yang-version 1; namespace "http://openconfig.net/yang/platform-types"; + prefix oc-platform-types; - prefix "oc-platform-types"; - - import openconfig-extensions { prefix oc-ext; } - - - // meta - organization "OpenConfig working group"; + import openconfig-extensions { + prefix oc-ext; + } + organization + "OpenConfig working group"; contact "OpenConfig working group - www.openconfig.net"; - + www.openconfig.net"; description "This module defines data types (e.g., YANG identities) - to support the OpenConfig component inventory model."; + to support the OpenConfig component inventory model."; - oc-ext:openconfig-version "0.4.0"; - - revision "2016-06-06" { + revision 2016-06-06 { description "Public release"; reference "0.4.0"; } - // identity statements - identity OPENCONFIG_HARDWARE_COMPONENT { description "Base identity for hardware related components in a managed - device. Derived identities are partially based on contents - of the IANA Entity MIB."; - reference - "IANA Entity MIB and RFC 6933"; + device. Derived identities are partially based on contents + of the IANA Entity MIB."; + reference "IANA Entity MIB and RFC 6933"; } - identity OPENCONFIG_SOFTWARE_COMPONENT { description "Base identity for software-related components in a managed - device"; + device"; } - // hardware types - identity CHASSIS { base OPENCONFIG_HARDWARE_COMPONENT; description @@ -59,7 +46,7 @@ module openconfig-platform-types { base OPENCONFIG_HARDWARE_COMPONENT; description "Backplane component for aggregating traffic, typically - contained in a chassis component"; + contained in a chassis component"; } identity POWER_SUPPLY { @@ -96,7 +83,7 @@ module openconfig-platform-types { base OPENCONFIG_HARDWARE_COMPONENT; description "Physical port, e.g., for attaching pluggables and networking - cables"; + cables"; } identity TRANSCEIVER { @@ -116,6 +103,5 @@ module openconfig-platform-types { description "Operating system running on a component"; } - - + oc-ext:openconfig-version "0.4.0"; } diff --git a/yang/modules/cisco-ios-xr/632/openconfig-platform.yang b/yang/modules/cisco-ios-xr/632/openconfig-platform.yang new file mode 100644 index 0000000..dfe6b40 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-platform.yang @@ -0,0 +1,298 @@ +module openconfig-platform { + yang-version 1; + namespace "http://openconfig.net/yang/platform"; + prefix oc-platform; + + import openconfig-platform-types { + prefix oc-platform-types; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines a data model for representing a system + component inventory, which can include hardware or software + elements arranged in an arbitrary structure. The primary + relationship supported by the model is containment, e.g., + components containing subcomponents. + It is expected that this model reflects every field replacable + unit on the device at a minimum (i.e., additional information + may be supplied about non-replacable components). + Every element in the inventory is termed a 'component' with each + component expected to have a unique name and type, and optionally + a unique system-assigned identifier and FRU number. The + uniqueness is guaranteed by the system within the device. + Components may have properties defined by the system that are + modeled as a list of key-value pairs. These may or may not be + user-configurable. The model provides a flag for the system + to optionally indicate which properties are user configurable. + Each component also has a list of 'subcomponents' which are + references to other components. Appearance in a list of + subcomponents indicates a containment relationship as described + above. For example, a linecard component may have a list of + references to port components that reside on the linecard. + This schema is generic to allow devices to express their own + platform-specific structure. It may be augmented by additional + component type-specific schemas that provide a common structure + for well-known component types. In these cases, the system is + expected to populate the common component schema, and may + optionally also represent the component and its properties in the + generic structure. + The properties for each component may include dynamic values, + e.g., in the 'state' part of the schema. For example, a CPU + component may report its utilization, temperature, or other + physical properties. The intent is to capture all platform- + specific physical data in one location, including inventory + (presence or absence of a component) and state (physical + attributes or status)."; + + revision 2016-06-06 { + description + "Public release"; + reference "0.4.0"; + } + + grouping platform-component-properties-config { + description + "System-defined configuration data for component properties"; + leaf name { + type string; + description + "System-supplied name of the property -- this is typically + non-configurable"; + } + leaf value { + type union { + type string; + type boolean; + type int64; + type uint64; + type decimal64 { + fraction-digits 2; + } + } + description + "Property values can take on a variety of types. Signed and + unsigned integer types may be provided in smaller sizes, + e.g., int8, uint16, etc."; + } + } + + grouping platform-component-properties-state { + description + "Operational state data for component properties"; + leaf configurable { + type boolean; + description + "Indication whether the property is user-configurable"; + } + } + + grouping platform-component-properties-top { + description + "Top-level grouping "; + container properties { + description + "Enclosing container "; + list property { + key "name"; + description + "List of system properties for the component"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the property name."; + } + container config { + description + "Configuration data for each property"; + uses platform-component-properties-config; + } + container state { + config false; + description + "Operational state data for each property"; + uses platform-component-properties-config; + uses platform-component-properties-state; + } + } + } + } + + grouping platform-subcomponent-ref-config { + description + "Configuration data for subcomponent references"; + leaf name { + type leafref { + path "../../../../../component/config/name"; + } + description + "Reference to the name of the subcomponent"; + } + } + + grouping platform-subcomponent-ref-state { + description + "Operational state data for subcomponent references"; + } + + grouping platform-subcomponent-ref-top { + description + "Top-level grouping for list of subcomponent references"; + container subcomponents { + description + "Enclosing container for subcomponent references"; + list subcomponent { + key "name"; + description + "List of subcomponent references"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the name list key"; + } + container config { + description + "Configuration data "; + uses platform-subcomponent-ref-config; + } + container state { + config false; + description + "Operational state data "; + uses platform-subcomponent-ref-config; + uses platform-subcomponent-ref-state; + } + } + } + } + + grouping platform-component-config { + description + "Configuration data for components"; + leaf name { + type string; + description + "Device name for the component -- this will not be a + configurable parameter on many implementations"; + } + } + + grouping platform-component-state { + description + "Operational state data for device components."; + leaf type { + type union { + type identityref { + base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; + } + type identityref { + base oc-platform-types:OPENCONFIG_SOFTWARE_COMPONENT; + } + } + description + "Type of component as identified by the system"; + } + leaf id { + type string; + description + "Unique identifier assigned by the system for the + component"; + } + leaf description { + type string; + description + "System-supplied description of the component"; + } + leaf mfg-name { + type string; + description + "System-supplied identifier for the manufacturer of the + component. This data is particularly useful when a + component manufacturer is different than the overall + device vendor."; + } + leaf version { + type string; + description + "System-defined version string for a hardware, firmware, + or software component."; + } + leaf serial-no { + type string; + description + "System-assigned serial number of the component."; + } + leaf part-no { + type string; + description + "System-assigned part number for the component. This should + be present in particular if the component is also an FRU + (field replacable unit)"; + } + } + + grouping platform-component-top { + description + "Top-level grouping for components in the device inventory"; + container components { + description + "Enclosing container for the components in the system."; + list component { + key "name"; + description + "List of components, keyed by component name."; + leaf name { + type leafref { + path "../config/name"; + } + description + "References the component name"; + } + container config { + description + "Configuration data for each component"; + uses platform-component-config; + } + container state { + config false; + description + "Operational state data for each component"; + uses platform-component-config; + uses platform-component-state; + } + uses platform-component-properties-top; + uses platform-subcomponent-ref-top; + } + } + } + + augment "/oc-if:interfaces/oc-if:interface/oc-if:state" { + description + "Adds a reference from the base interface to the corresponding + port in the device inventory."; + leaf hardware-port { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "References the hardware port in the device inventory"; + } + } + oc-ext:openconfig-version "0.4.0"; + + uses platform-component-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-policy-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-policy-types.yang new file mode 100644 index 0000000..0ff29c0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-policy-types.yang @@ -0,0 +1,184 @@ +module openconfig-policy-types { + yang-version 1; + namespace "http://openconfig.net/yang/policy-types"; + prefix oc-pol-types; + + import ietf-yang-types { + prefix yang; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module contains general data definitions for use in routing + policy. It can be imported by modules that contain protocol- + specific policy conditions and actions."; + + revision 2016-05-12 { + description + "OpenConfig public release"; + reference "2.0.1"; + } + + identity ATTRIBUTE_COMPARISON { + description + "base type for supported comparison operators on route + attributes"; + } + + identity ATTRIBUTE_EQ { + base ATTRIBUTE_COMPARISON; + description + "== comparison"; + } + + identity ATTRIBUTE_GE { + base ATTRIBUTE_COMPARISON; + description + ">= comparison"; + } + + identity ATTRIBUTE_LE { + base ATTRIBUTE_COMPARISON; + description + "<= comparison"; + } + + identity INSTALL_PROTOCOL_TYPE { + description + "Base type for protocols which can install prefixes into the + RIB"; + } + + identity BGP { + base INSTALL_PROTOCOL_TYPE; + description + "BGP"; + reference "RFC 4271"; + } + + identity ISIS { + base INSTALL_PROTOCOL_TYPE; + description + "IS-IS"; + reference "ISO/IEC 10589"; + } + + identity OSPF { + base INSTALL_PROTOCOL_TYPE; + description + "OSPFv2"; + reference "RFC 2328"; + } + + identity OSPF3 { + base INSTALL_PROTOCOL_TYPE; + description + "OSPFv3"; + reference "RFC 5340"; + } + + identity STATIC { + base INSTALL_PROTOCOL_TYPE; + description + "Locally-installed static route"; + } + + identity DIRECTLY_CONNECTED { + base INSTALL_PROTOCOL_TYPE; + description + "A directly connected route"; + } + + identity LOCAL_AGGREGATE { + base INSTALL_PROTOCOL_TYPE; + description + "Locally defined aggregate route"; + } + + typedef match-set-options-type { + type enumeration { + enum "ANY" { + description + "match is true if given value matches any member + of the defined set"; + } + enum "ALL" { + description + "match is true if given value matches all + members of the defined set"; + } + enum "INVERT" { + description + "match is true if given value does not match any + member of the defined set"; + } + } + default "ANY"; + description + "Options that govern the behavior of a match statement. The + default behavior is ANY, i.e., the given value matches any + of the members of the defined set"; + } + + typedef match-set-options-restricted-type { + type enumeration { + enum "ANY" { + description + "match is true if given value matches any member + of the defined set"; + } + enum "INVERT" { + description + "match is true if given value does not match any + member of the defined set"; + } + } + default "ANY"; + description + "Options that govern the behavior of a match statement. The + default behavior is ANY, i.e., the given value matches any + of the members of the defined set. Note this type is a + restricted version of the match-set-options-type."; + } + + typedef tag-type { + type union { + type uint32; + type yang:hex-string; + } + description + "type for expressing route tags on a local system, + including IS-IS and OSPF; may be expressed as either decimal or + hexidecimal integer"; + reference + "RFC 2178 OSPF Version 2 + RFC 5130 A Policy Control Mechanism in IS-IS Using + Administrative Tags"; + } + + grouping attribute-compare-operators { + description + "common definitions for comparison operations in + condition statements"; + leaf operator { + type identityref { + base ATTRIBUTE_COMPARISON; + } + description + "type of comparison to be performed"; + } + leaf value { + type uint32; + description + "value to compare with the community count"; + } + } + oc-ext:openconfig-version "2.0.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp-types.yang new file mode 100644 index 0000000..cd8dee6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp-types.yang @@ -0,0 +1,136 @@ +module openconfig-rib-bgp-types { + yang-version 1; + namespace "http://openconfig.net/yang/rib/bgp-types"; + prefix oc-bgprib-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "Defines identity and type defintions associated with + the OpenConfig BGP RIB modules"; + + revision 2016-04-11 { + description + "OpenConfig public release"; + reference "0.2.0"; + } + + identity INVALID_ROUTE_REASON { + description + "Base identity for reason code for routes that are rejected as + invalid. Some derived entities are based on BMP v3"; + reference "BGP Monitoring Protocol (draft-ietf-grow-bmp-07)"; + } + + identity INVALID_CLUSTER_LOOP { + base INVALID_ROUTE_REASON; + description + "Route was invalid due to CLUSTER_LIST loop"; + } + + identity INVALID_AS_LOOP { + base INVALID_ROUTE_REASON; + description + "Route was invalid due to AS_PATH loop"; + } + + identity INVALID_ORIGINATOR { + base INVALID_ROUTE_REASON; + description + "Route was invalid due to ORIGINATOR_ID, e.g., update has + local router as originator"; + } + + identity INVALID_CONFED { + base INVALID_ROUTE_REASON; + description + "Route was invalid due to a loop in the AS_CONFED_SEQUENCE or + AS_CONFED_SET attributes"; + } + + identity BGP_NOT_SELECTED_BESTPATH { + description + "Base identity for indicating reason a route was was not + selected by BGP route selection algorithm"; + reference "RFC 4271 - Section 9.1"; + } + + identity LOCAL_PREF_LOWER { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route has a lower localpref attribute than current best path"; + reference "RFC 4271 - Section 9.1.2"; + } + + identity AS_PATH_LONGER { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route has a longer AS path attribute than current best path"; + reference "RFC 4271 - Section 9.1.2.2 (a)"; + } + + identity ORIGIN_TYPE_HIGHER { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route has a higher origin type, i.e., IGP origin is preferred + over EGP or incomplete"; + reference "RFC 4271 - Section 9.1.2.2 (b)"; + } + + identity MED_HIGHER { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route has a higher MED, or metric, attribute than the current + best path"; + reference "RFC 4271 - Section 9.1.2.2 (c)"; + } + + identity PREFER_EXTERNAL { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route source is via IGP, rather than EGP."; + reference "RFC 4271 - Section 9.1.2.2 (d)"; + } + + identity NEXTHOP_COST_HIGHER { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route has a higher interior cost to the next hop."; + reference "RFC 4271 - Section 9.1.2.2 (e)"; + } + + identity HIGHER_ROUTER_ID { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route was sent by a peer with a higher BGP Identifier value, + or router id"; + reference "RFC 4271 - Section 9.1.2.2 (f)"; + } + + identity HIGHER_PEER_ADDRESS { + base BGP_NOT_SELECTED_BESTPATH; + description + "Route was sent by a peer with a higher IP address"; + reference "RFC 4271 - Section 9.1.2.2 (g)"; + } + + identity BGP_NOT_SELECTED_POLICY { + description + "Base identity for reason code for routes that are rejected + due to policy"; + } + + identity REJECTED_IMPORT_POLICY { + base BGP_NOT_SELECTED_POLICY; + description + "Route was rejected after apply import policies"; + } + oc-ext:openconfig-version "0.2.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp.yang b/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp.yang new file mode 100644 index 0000000..f5b81f6 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-rib-bgp.yang @@ -0,0 +1,529 @@ +module openconfig-rib-bgp { + yang-version 1; + namespace "http://openconfig.net/yang/rib/bgp"; + prefix oc-bgprib; + + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + import openconfig-bgp-types { + prefix oc-bgpt; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-rib-bgp-types { + prefix oc-bgpribt; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "Defines a data model for representing BGP routing table (RIB) + contents. The model supports 5 logical RIBs per address family: + + loc-rib: This is the main BGP routing table for the local routing + instance, containing best-path selections for each prefix. The + loc-rib table may contain multiple routes for a given prefix, + with an attribute to indicate which was selected as the best + path. + + adj-rib-in-pre: This is a per-neighbor table containing the NLRI + updates received from the neighbor before any local input policy + rules or filters have been applied. This can be considered the + 'raw' updates from a given neighbor. + + adj-rib-in-post: This is a per-neighbor table containing the + routes received from the neighbor that are eligible for + best-path selection after local input policy rules have been + applied. + + adj-rib-out-pre: This is a per-neighbor table containing routes + eligible for sending (advertising) to the neighbor before output + policy rules have been applied. + + adj-rib-out-post: This is a per-neighbor table containing routes + eligible for sending (advertising) to the neighbor after output + policy rules have been applied."; + + revision 2016-04-11 { + description + "OpenConfig public release"; + reference "0.2.0"; + } + + grouping bgp-base-attributes { + description + "Route attributes defined by the BGP-4 standard"; + reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; + leaf origin { + type oc-bgpt:bgp-origin-attr-type; + description + "BGP attribute defining the origin of the path information."; + } + leaf as-path { + type string; + description + "String representation of the BGP AS path attribute as + concatenated AS path segments. Each segment of the AS_PATH + should be formatted as follows based on the segment type + (#### denotes a single AS number): + + AS_SEQ: #### #### ##### + AS_SET: { #### #### } + AS_CONFED_SEQUENCE: ( #### #### ) + AS_CONFED_SET: [ #### #### ] + + AS_PATH segment types are described in RFC 5065. + + In the Adj-RIB-In or Adj-RIB-Out, this leaf should show + the received or sent AS_PATH value, respectively. For + example, if the local router is not 4-byte capable, this + value should consist of 2-octet ASNs or the AS_TRANS + (AS 23456) values received or sent in route updates. + + In the Loc-RIB, this leaf should reflect the effective + AS path for the route, e.g., a 4-octet value if the + local router is 4-octet capable."; + reference + "RFC 4271 - A Border Gateway Protocol 4 (BGP-4) + RFC 6793 - BGP Support for Four-octet AS Number Space + RFC 5065 - Autonomous System Confederations for BGP"; + } + leaf as4-path { + type string; + description + "This string represents the AS path encoded with 4-octet + AS numbers in the optional transitive AS4_PATH attribute. + This value is populated with the received or sent attribute + in Adj-RIB-In or Adj-RIB-Out, respectively. It should not + be populated in Loc-RIB since the Loc-RIB is expected to + store the effective AS-Path in the as-path leaf regardless + of being 4-octet or 2-octet."; + reference "RFC 6793 - BGP Support for Four-octet AS Number Space"; + } + leaf next-hop { + type inet:ip-address; + description + "BGP next hop attribute defining the IP address of the router + that should be used as the next hop to the destination"; + } + leaf med { + type uint32; + description + "BGP multi-exit discriminator attribute used in BGP route + selection process"; + } + leaf local-pref { + type uint32; + description + "BGP local preference attribute sent to internal peers to + indicate"; + } + leaf atomic-aggr { + type boolean; + description + "BGP attribute indicating that the prefix is an atomic + aggregate, i.e., the peer selected a less specific + route without selecting a more specific route that is + included in it."; + } + container aggregator { + description + "BGP attribute indicating the prefix has been aggregated by + the specified AS and router."; + leaf as { + type uint32; + description + "AS number of the autnonomous system that performed the + aggregation."; + } + leaf as4 { + type uint32; + description + "AS number of the autnonomous system that performed the + aggregation (4-octet representation). This value is + populated if an upstream router is not 4-octet capable. + Its semantics are similar to the AS4_PATH optional + transitive attribute"; + reference "RFC 6793 - BGP Support for Four-octet AS Number Space"; + } + leaf address { + type inet:ipv4-address; + description + "IP address of the router that performed the + aggregation."; + } + } + leaf-list community { + type oc-bgpt:bgp-std-community-type; + description + "List of standard BGP community attributes."; + } + } + + grouping bgp-extended-attributes { + description + "Additional path attributes defined by various extensions + to base BGP-4"; + leaf originator-id { + type inet:ipv4-address; + description + "BGP attribute that provides the id as an IPv4 address + of the route reflector that created the announcement"; + reference + "RFC 4456 - BGP Route Reflection: An Alternative to Full + Mesh Internal BGP (IBGP)"; + } + leaf-list cluster-list { + type inet:ipv4-address; + description + "Represents the reflection path that the route has passed."; + reference + "RFC 4456 - BGP Route Reflection: An Alternative to Full + Mesh Internal BGP (IBGP)"; + } + leaf-list ext-community { + type oc-bgpt:bgp-ext-community-type; + description + "List of BGP extended community attributes"; + reference "RFC 4360 - BGP Extended Communities Attribute"; + } + leaf aigp { + type uint64; + description + "BGP path attribute representing the accumulated IGP metric + for the path"; + reference "RFC 7311 - The Accumulated IGP Metric Attribute for BGP"; + } + leaf path-id { + type uint32; + description + "When the BGP speaker supports advertisement of multiple + paths for a prefix, the path identifier is used to + uniquely identify a route based on the combination of the + prefix and path id. In the Adj-RIB-In, the path-id value is + the value received in the update message. In the Loc-RIB, + if used, it should represent a locally generated path-id + value for the corresponding route. In Adj-RIB-Out, it + should be the value sent to a neighbor when add-paths is + used, i.e., the capability has been negotiated."; + reference + "draft-ietf-idr-add-paths - Advertisement of Multiple Paths + in BGP"; + } + list unknown-attribute { + key "attr-type"; + description + "This list contains received attributes that are unrecognized + or unsupported by the local router. The list may be empty."; + leaf attr-type { + type uint16; + description + "2-octet value encoding the attribute flags and the + attribute type code"; + reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; + } + leaf attr-len { + type uint16; + description + "One or two octet attribute length field indicating the + length of the attribute data in octets. If the Extended + Length attribute flag in the attribute type field is set, + the length field is 2 octets, otherwise it is 1 octet"; + reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; + } + leaf attr-value { + type binary { + length "1..65535"; + } + description + "Raw attribute value data, not to exceed the length + indicated in the attr-len field. The maximum length + of the attribute data is 2^16-1 per the max value of the + attr-len field (2 octets)."; + reference "RFC 4271 - A Border Gateway Protocol 4 (BGP-4)"; + } + } + } + + grouping common-route-annotations { + description + "Data definitions for flags and other information attached + to routes"; + leaf last-modified-date { + type yang:date-and-time; + description + "Timestamp of when this path was last changed"; + } + leaf last-update-received { + type yang:date-and-time; + description + "Timestamp of when the last BGP update message was received + for this path / prefix"; + } + leaf valid-route { + type boolean; + description + "Indicates that the route is considered valid by the + local router"; + } + leaf invalid-reason { + type identityref { + base oc-bgpribt:INVALID_ROUTE_REASON; + } + description + "If the route is rejected as invalid, this indicates the + reason."; + } + leaf best-path { + type boolean; + description + "Current path was selected as the best path."; + } + } + + grouping common-table-attrs { + description + "Common attributes attached to all routing tables"; + leaf num-routes { + type uint64; + description + "Number of route entries in the table"; + } + } + + grouping common-route-attrs { + description + "Common BGP route attributes and annotations"; + container attributes { + config false; + description + "Base BGP route attributes associated with this route"; + uses bgp-base-attributes; + } + container ext-attributes { + config false; + description + "Extended BGP route attributes associated with this + route"; + uses bgp-extended-attributes; + } + uses common-route-annotations; + } + + grouping ipv4-routes { + description + "Common grouping for a list of BGP routes for IPv4 unicast"; + container routes { + config false; + description + "Enclosing container for list of routes in the routing + table."; + list route { + config false; + description + "List of routes in the table"; + leaf prefix { + type inet:ipv4-prefix; + description + "Prefix for the route"; + } + uses common-route-attrs; + } + } + } + + grouping ipv6-routes { + description + "Common grouping for a list of BGP routes for IPv6 unicast"; + container routes { + config false; + description + "Enclosing container for list of routes in the routing + table."; + list route { + config false; + description + "List of routes in the table"; + leaf prefix { + type inet:ipv6-prefix; + description + "Prefix for the route"; + } + uses common-route-attrs; + } + } + } + + grouping ip-rib-top { + description + "Top-level grouping for IPv4 routing tables"; + container loc-rib { + config false; + description + "Main routing table on the router, containing best-path + selections for each prefix. The loc-rib may contain + multiple routes for the same prefix (it is a read-only, + unkeyed list). The best-path leaf should be set to true + for the route selected by the best-path selection process. + Note that multiple paths may be used or advertised even if + only one path is marked as best, e.g., when using BGP + add-paths. An implementation may choose to mark multiple + paths in the RIB as best path by setting the flag to true for + multiple entries."; + uses common-table-attrs; + } + container neighbors { + config false; + description + "Enclosing container for neighbor list"; + list neighbor { + key "neighbor-address"; + description + "List of neighbors (peers) of the local BGP speaker"; + leaf neighbor-address { + type inet:ip-address; + description + "IP address of the BGP neighbor or peer"; + } + container adj-rib-in-pre { + description + "Per-neighbor table containing the NLRI updates + received from the neighbor before any local input + policy rules or filters have been applied. This can + be considered the 'raw' updates from the neighbor."; + uses common-table-attrs; + } + container adj-rib-in-post { + description + "Per-neighbor table containing the paths received from + the neighbor that are eligible for best-path selection + after local input policy rules have been applied."; + uses common-table-attrs; + } + container adj-rib-out-pre { + description + "Per-neighbor table containing paths eligble for + sending (advertising) to the neighbor before output + policy rules have been applied"; + uses common-table-attrs; + } + container adj-rib-out-post { + description + "Per-neighbor table containing paths eligble for + sending (advertising) to the neighbor after output + policy rules have been applied"; + uses common-table-attrs; + } + } + } + } + + grouping bgp-rib-top { + description + "Top-level grouping for the BGP RIB"; + container bgp-rib { + config false; + description + "Top level container for BGP RIBs"; + container afi-safis { + config false; + description + "Enclosing container for address family list"; + list afi-safi { + key "afi-safi-name"; + description + "list of afi-safi types"; + leaf afi-safi-name { + type identityref { + base oc-bgpt:AFI_SAFI_TYPE; + } + description + "AFI,SAFI"; + } + container ipv4-unicast { + when "../afi-safi-name = 'oc-bgpt:IPV4_UNICAST'" { + description + "Include this container for IPv4 unicast RIB"; + } + description + "Routing tables for IPv4 unicast -- active when the + afi-safi name is ipv4-unicast"; + uses ip-rib-top; + } + container ipv6-unicast { + when "../afi-safi-name = 'oc-bgpt:IPV6_UNICAST'" { + description + "Include this container for IPv6 unicast RIB"; + } + description + "Routing tables for IPv6 unicast -- active when the + afi-safi name is ipv6-unicast"; + uses ip-rib-top; + } + } + } + } + } + + augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/loc-rib" { + description + "Adds the IPv4 route list to the IPv4-unicast tables"; + uses ipv4-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/neighbor/adj-rib-in-pre" { + description + "Adds the IPv4 route list to the IPv4-unicast tables"; + uses ipv4-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/neighbor/adj-rib-in-post" { + description + "Adds the IPv4 route list to the IPv4-unicast tables"; + uses ipv4-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/neighbor/adj-rib-out-pre" { + description + "Adds the IPv4 route list to the IPv4-unicast tables"; + uses ipv4-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv4-unicast/neighbors/neighbor/adj-rib-out-post" { + description + "Adds the IPv4 route list to the IPv4-unicast tables"; + uses ipv4-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/loc-rib" { + description + "Adds the IPv6 route list to the IPv6-unicast tables"; + uses ipv6-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/neighbor/adj-rib-in-pre" { + description + "Adds the IPv6 route list to the IPv6-unicast tables"; + uses ipv6-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/neighbor/adj-rib-in-post" { + description + "Adds the IPv6 route list to the IPv6-unicast tables"; + uses ipv6-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/neighbor/adj-rib-out-pre" { + description + "Adds the IPv6 route list to the IPv6-unicast tables"; + uses ipv6-routes; + } + augment "/bgp-rib/afi-safis/afi-safi/ipv6-unicast/neighbors/neighbor/adj-rib-out-post" { + description + "Adds the IPv6 route list to the IPv6-unicast tables"; + uses ipv6-routes; + } + oc-ext:openconfig-version "0.2.0"; + + uses bgp-rib-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-routing-policy.yang b/yang/modules/cisco-ios-xr/632/openconfig-routing-policy.yang new file mode 100644 index 0000000..9773973 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-routing-policy.yang @@ -0,0 +1,921 @@ +module openconfig-routing-policy { + yang-version 1; + namespace "http://openconfig.net/yang/routing-policy"; + prefix oc-rpol; + + import ietf-inet-types { + prefix inet; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-policy-types { + prefix oc-pol-types; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module describes a YANG model for routing policy + configuration. It is a limited subset of all of the policy + configuration parameters available in the variety of vendor + implementations, but supports widely used constructs for managing + how routes are imported, exported, and modified across different + routing protocols. This module is intended to be used in + conjunction with routing protocol configuration models (e.g., + BGP) defined in other modules. + + Route policy expression: + + Policies are expressed as a set of top-level policy definitions, + each of which consists of a sequence of policy statements. Policy + statements consist of simple condition-action tuples. Conditions + may include mutiple match or comparison operations, and similarly + actions may be multitude of changes to route attributes or a + final disposition of accepting or rejecting the route. + + Route policy evaluation: + + Policy definitions are referenced in routing protocol + configurations using import and export configuration statements. + The arguments are members of an ordered list of named policy + definitions which comprise a policy chain, and optionally, an + explicit default policy action (i.e., reject or accept). + + Evaluation of each policy definition proceeds by evaluating its + corresponding individual policy statements in order. When a + condition statement in a policy statement is satisfied, the + corresponding action statement is executed. If the action + statement has either accept-route or reject-route actions, policy + evaluation of the current policy definition stops, and no further + policy definitions in the chain are evaluated. + + If the condition is not satisfied, then evaluation proceeds to + the next policy statement. If none of the policy statement + conditions are satisfied, then evaluation of the current policy + definition stops, and the next policy definition in the chain is + evaluated. When the end of the policy chain is reached, the + default route disposition action is performed (i.e., reject-route + unless an an alternate default action is specified for the + chain). + + Policy 'subroutines' (or nested policies) are supported by + allowing policy statement conditions to reference another policy + definition which applies conditions and actions from the + referenced policy before returning to the calling policy + statement and resuming evaluation. If the called policy + results in an accept-route (either explicit or by default), then + the subroutine returns an effective true value to the calling + policy. Similarly, a reject-route action returns false. If the + subroutine returns true, the calling policy continues to evaluate + the remaining conditions (using a modified route if the + subroutine performed any changes to the route)."; + + revision 2016-05-12 { + description + "OpenConfig public release"; + reference "2.0.1"; + } + + typedef default-policy-type { + type enumeration { + enum "ACCEPT_ROUTE" { + description + "default policy to accept the route"; + } + enum "REJECT_ROUTE" { + description + "default policy to reject the route"; + } + } + description + "type used to specify default route disposition in + a policy chain"; + } + + grouping prefix-set-config { + description + "Configuration data for prefix sets used in policy + definitions."; + leaf prefix-set-name { + type string; + description + "name / label of the prefix set -- this is used to + reference the set in match conditions"; + } + } + + grouping prefix-set-state { + description + "Operational state data for prefix sets"; + } + + grouping prefix-set-top { + description + "Top-level data definitions for a list of IPv4 or IPv6 + prefixes which are matched as part of a policy"; + container prefix-sets { + description + "Enclosing container "; + list prefix-set { + key "prefix-set-name"; + description + "List of the defined prefix sets"; + leaf prefix-set-name { + type leafref { + path "../config/prefix-set-name"; + } + description + "Reference to prefix name list key"; + } + container config { + description + "Configuration data for prefix sets"; + uses prefix-set-config; + } + container state { + config false; + description + "Operational state data "; + uses prefix-set-config; + uses prefix-set-state; + } + uses prefix-top; + } + } + } + + grouping prefix-config { + description + "Configuration data for a prefix definition"; + leaf ip-prefix { + type inet:ip-prefix; + mandatory true; + description + "The prefix member in CIDR notation -- while the + prefix may be either IPv4 or IPv6, most + implementations require all members of the prefix set + to be the same address family. Mixing address types in + the same prefix set is likely to cause an error."; + } + leaf masklength-range { + type string { + pattern "^([0-9]+\\.\\.[0-9]+)|exact$"; + } + description + "Defines a range for the masklength, or 'exact' if + the prefix has an exact length. + + Example: 10.3.192.0/21 through 10.3.192.0/24 would be + expressed as prefix: 10.3.192.0/21, + masklength-range: 21..24. + + Example: 10.3.192.0/21 would be expressed as + prefix: 10.3.192.0/21, + masklength-range: exact"; + } + } + + grouping prefix-state { + description + "Operational state data for prefix definitions"; + } + + grouping prefix-top { + description + "Top-level grouping for prefixes in a prefix list"; + container prefixes { + description + "Enclosing container for the list of prefixes in a policy + prefix list"; + list prefix { + key "ip-prefix masklength-range"; + description + "List of prefixes in the prefix set"; + leaf ip-prefix { + type leafref { + path "../config/ip-prefix"; + } + description + "Reference to the ip-prefix list key."; + } + leaf masklength-range { + type leafref { + path "../config/masklength-range"; + } + description + "Reference to the masklength-range list key"; + } + container config { + description + "Configuration data for prefix definition"; + uses prefix-config; + } + container state { + config false; + description + "Operational state data for prefix definition"; + uses prefix-config; + uses prefix-state; + } + } + } + } + + grouping neighbor-set-config { + description + "Configuration data for neighbor set definitions"; + leaf neighbor-set-name { + type string; + description + "name / label of the neighbor set -- this is used to + reference the set in match conditions"; + } + leaf-list address { + type inet:ip-address-no-zone; + description + "List of IP addresses in the neighbor set"; + } + } + + grouping neighbor-set-state { + description + "Operational state data for neighbor set definitions"; + } + + grouping neighbor-set-top { + description + "Top-level data definition for a list of IPv4 or IPv6 + neighbors which can be matched in a routing policy"; + container neighbor-sets { + description + "Enclosing container for the list of neighbor set + definitions"; + list neighbor-set { + key "neighbor-set-name"; + description + "List of defined neighbor sets for use in policies."; + leaf neighbor-set-name { + type leafref { + path "../config/neighbor-set-name"; + } + description + "Reference to the neighbor set name list key."; + } + container config { + description + "Configuration data for neighbor sets."; + uses neighbor-set-config; + } + container state { + config false; + description + "Operational state data for neighbor sets."; + uses neighbor-set-config; + uses neighbor-set-state; + } + } + } + } + + grouping tag-set-config { + description + "Configuration data for tag set definitions."; + leaf tag-set-name { + type string; + description + "name / label of the tag set -- this is used to reference + the set in match conditions"; + } + leaf-list tag-value { + type oc-pol-types:tag-type; + description + "Value of the tag set member"; + } + } + + grouping tag-set-state { + description + "Operational state data for tag set definitions."; + } + + grouping tag-set-top { + description + "Top-level data definitions for a list of tags which can + be matched in policies"; + container tag-sets { + description + "Enclosing container for the list of tag sets."; + list tag-set { + key "tag-set-name"; + description + "List of tag set definitions."; + leaf tag-set-name { + type leafref { + path "../config/tag-set-name"; + } + description + "Reference to the tag set name list key"; + } + container config { + description + "Configuration data for tag sets"; + uses tag-set-config; + } + container state { + config false; + description + "Operational state data for tag sets"; + uses tag-set-config; + uses tag-set-state; + } + } + } + } + + grouping generic-defined-sets { + description + "Data definitions for pre-defined sets of attributes used in + policy match conditions. These sets are generic and can + be used in matching conditions in different routing + protocols."; + uses prefix-set-top; + uses neighbor-set-top; + uses tag-set-top; + } + + grouping match-set-options-group { + description + "Grouping containing options relating to how a particular set + should be matched"; + leaf match-set-options { + type oc-pol-types:match-set-options-type; + description + "Optional parameter that governs the behaviour of the + match operation"; + } + } + + grouping match-set-options-restricted-group { + description + "Grouping for a restricted set of match operation modifiers"; + leaf match-set-options { + type oc-pol-types:match-set-options-restricted-type; + description + "Optional parameter that governs the behaviour of the + match operation. This leaf only supports matching on ANY + member of the set or inverting the match. Matching on ALL is + not supported)"; + } + } + + grouping match-interface-condition-config { + description + "Configuration data for interface match condition"; + uses oc-if:interface-ref-common; + } + + grouping match-interface-condition-state { + description + "Operational state data for interface match condition"; + } + + grouping match-interface-condition-top { + description + "Top-level grouping for the interface match condition"; + container match-interface { + description + "Top-level container for interface match conditions"; + container config { + description + "Configuration data for interface match conditions"; + uses match-interface-condition-config; + } + container state { + config false; + description + "Operational state data for interface match conditions"; + uses match-interface-condition-config; + uses match-interface-condition-state; + } + } + } + + grouping prefix-set-condition-config { + description + "Configuration data for prefix-set conditions"; + leaf prefix-set { + type leafref { + path "/routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name"; + } + description + "References a defined prefix set"; + } + uses match-set-options-restricted-group; + } + + grouping prefix-set-condition-state { + description + "Operational state data for prefix-set conditions"; + } + + grouping prefix-set-condition-top { + description + "Top-level grouping for prefix-set conditions"; + container match-prefix-set { + description + "Match a referenced prefix-set according to the logic + defined in the match-set-options leaf"; + container config { + description + "Configuration data for a prefix-set condition"; + uses prefix-set-condition-config; + } + container state { + config false; + description + "Operational state data for a prefix-set condition"; + uses prefix-set-condition-config; + uses prefix-set-condition-state; + } + } + } + + grouping neighbor-set-condition-config { + description + "Configuration data for neighbor-set conditions"; + leaf neighbor-set { + type leafref { + path "/routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name"; + } + description + "References a defined neighbor set"; + } + uses match-set-options-restricted-group; + } + + grouping neighbor-set-condition-state { + description + "Operational state data for neighbor-set conditions"; + } + + grouping neighbor-set-condition-top { + description + "Top-level grouping for neighbor-set conditions"; + container match-neighbor-set { + description + "Match a referenced neighbor set according to the logic + defined in the match-set-options-leaf"; + container config { + description + "Configuration data "; + uses neighbor-set-condition-config; + } + container state { + config false; + description + "Operational state data "; + uses neighbor-set-condition-config; + uses neighbor-set-condition-state; + } + } + } + + grouping tag-set-condition-config { + description + "Configuration data for tag-set condition statements"; + leaf tag-set { + type leafref { + path "/routing-policy/defined-sets/tag-sets/tag-set/tag-set-name"; + } + description + "References a defined tag set"; + } + uses match-set-options-restricted-group; + } + + grouping tag-set-condition-state { + description + "Operational state data for tag-set condition statements"; + } + + grouping tag-set-condition-top { + description + "Top-level grouping for tag-set conditions"; + container match-tag-set { + description + "Match a referenced tag set according to the logic defined + in the match-options-set leaf"; + container config { + description + "Configuration data for tag-set conditions"; + uses tag-set-condition-config; + } + container state { + config false; + description + "Operational state data tag-set conditions"; + uses tag-set-condition-config; + uses tag-set-condition-state; + } + } + } + + grouping generic-conditions { + description + "Condition statement definitions for checking + membership in a generic defined set"; + uses match-interface-condition-top; + uses prefix-set-condition-top; + uses neighbor-set-condition-top; + uses tag-set-condition-top; + } + + grouping igp-generic-conditions { + description + "grouping for IGP policy conditions"; + } + + grouping igp-conditions { + description + "grouping for IGP-specific policy conditions"; + container igp-conditions { + description + "Policy conditions for IGP attributes"; + uses igp-generic-conditions; + } + } + + grouping generic-actions { + description + "Definitions for common set of policy action statements that + manage the disposition or control flow of the policy"; + choice route-disposition { + description + "Select the final disposition for the route, either + accept or reject."; + leaf accept-route { + type empty; + description + "accepts the route into the routing table"; + } + leaf reject-route { + type empty; + description + "rejects the route"; + } + } + } + + grouping igp-actions-config { + description + "Configuration data for IGP policy actions"; + leaf set-tag { + type oc-pol-types:tag-type; + description + "Set the tag value for OSPF or IS-IS routes."; + } + } + + grouping igp-actions-state { + description + "Operational state data for IGP policy actions "; + } + + grouping igp-actions-top { + description + "Top-level grouping "; + container igp-actions { + description + "Actions to set IGP route attributes; these actions + apply to multiple IGPs"; + container config { + description + "Configuration data "; + uses igp-actions-config; + } + container state { + config false; + description + "Operational state data "; + uses igp-actions-config; + uses igp-actions-state; + } + } + } + + grouping policy-conditions-config { + description + "Configuration data for general policy conditions, i.e., those + not related to match-sets"; + leaf call-policy { + type leafref { + path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:name"; + } + description + "Applies the statements from the specified policy + definition and then returns control the current + policy statement. Note that the called policy may + itself call other policies (subject to + implementation limitations). This is intended to + provide a policy 'subroutine' capability. The + called policy should contain an explicit or a + default route disposition that returns an + effective true (accept-route) or false + (reject-route), otherwise the behavior may be + ambiguous and implementation dependent"; + } + leaf install-protocol-eq { + type identityref { + base oc-pol-types:INSTALL_PROTOCOL_TYPE; + } + description + "Condition to check the protocol / method used to install + the route into the local routing table"; + } + } + + grouping policy-conditions-state { + description + "Operational state data for policy conditions"; + } + + grouping policy-conditions-top { + description + "Top-level grouping for policy conditions"; + container conditions { + description + "Condition statements for the current policy statement"; + container config { + description + "Configuration data for policy conditions"; + uses policy-conditions-config; + } + container state { + config false; + description + "Operational state data for policy conditions"; + uses policy-conditions-config; + uses policy-conditions-state; + } + uses generic-conditions; + uses igp-conditions; + } + } + + grouping policy-statements-config { + description + "Configuration data for policy statements"; + leaf name { + type string; + description + "name of the policy statement"; + } + } + + grouping policy-statements-state { + description + "Operational state data for policy statements"; + } + + grouping policy-actions-config { + description + "Configuration data for policy actions"; + uses generic-actions; + } + + grouping policy-actions-state { + description + "Operational state data for policy actions"; + } + + grouping policy-actions-top { + description + "Top-level grouping for policy actions"; + container actions { + description + "Top-level container for policy action statements"; + container config { + description + "Configuration data for policy actions"; + uses policy-actions-config; + } + container state { + config false; + description + "Operational state data for policy actions"; + uses policy-actions-config; + uses policy-actions-state; + } + uses igp-actions-top; + } + } + + grouping policy-statements-top { + description + "Top-level grouping for the policy statements list"; + container statements { + description + "Enclosing container for policy statements"; + list statement { + key "name"; + ordered-by user; + description + "Policy statements group conditions and actions + within a policy definition. They are evaluated in + the order specified (see the description of policy + evaluation at the top of this module."; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to list key"; + } + container config { + description + "Configuration data for policy statements"; + uses policy-statements-config; + } + container state { + config false; + description + "Operational state data for policy statements"; + uses policy-statements-config; + uses policy-statements-state; + } + uses policy-conditions-top; + uses policy-actions-top; + } + } + } + + grouping defined-sets-top { + description + "Top-level grouping for defined set definitions"; + container defined-sets { + description + "Predefined sets of attributes used in policy match + statements"; + uses generic-defined-sets; + } + } + + grouping policy-definitions-config { + description + "Configuration data for policy definitions"; + leaf name { + type string; + description + "Name of the top-level policy definition -- this name + is used in references to the current policy"; + } + } + + grouping policy-definitions-state { + description + "Operational state data for policy definitions"; + } + + grouping policy-definitions-top { + description + "Top-level grouping for the policy definition list"; + container policy-definitions { + description + "Enclosing container for the list of top-level policy + definitions"; + list policy-definition { + key "name"; + description + "List of top-level policy definitions, keyed by unique + name. These policy definitions are expected to be + referenced (by name) in policy chains specified in import + or export configuration statements."; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the list key"; + } + container config { + description + "Configuration data for policy defintions"; + uses policy-definitions-config; + } + container state { + config false; + description + "Operational state data for policy definitions"; + uses policy-definitions-config; + uses policy-definitions-state; + } + uses policy-statements-top; + } + } + } + + grouping routing-policy-top { + description + "Top level container for OpenConfig routing policy"; + container routing-policy { + description + "Top-level container for all routing policy configuration"; + uses defined-sets-top; + uses policy-definitions-top; + } + } + + grouping apply-policy-import-config { + description + "Configuration data for applying import policies"; + leaf-list import-policy { + type leafref { + path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:name"; + } + ordered-by user; + description + "list of policy names in sequence to be applied on + receiving a routing update in the current context, e.g., + for the current peer group, neighbor, address family, + etc."; + } + leaf default-import-policy { + type default-policy-type; + default "REJECT_ROUTE"; + description + "explicitly set a default policy if no policy definition + in the import policy chain is satisfied."; + } + } + + grouping apply-policy-export-config { + description + "Configuration data for applying export policies"; + leaf-list export-policy { + type leafref { + path "/oc-rpol:routing-policy/oc-rpol:policy-definitions/oc-rpol:policy-definition/oc-rpol:name"; + } + ordered-by user; + description + "list of policy names in sequence to be applied on + sending a routing update in the current context, e.g., + for the current peer group, neighbor, address family, + etc."; + } + leaf default-export-policy { + type default-policy-type; + default "REJECT_ROUTE"; + description + "explicitly set a default policy if no policy definition + in the export policy chain is satisfied."; + } + } + + grouping apply-policy-config { + description + "Configuration data for routing policies"; + uses apply-policy-import-config; + uses apply-policy-export-config; + } + + grouping apply-policy-state { + description + "Operational state associated with routing policy"; + } + + grouping apply-policy-group { + description + "Top level container for routing policy applications. This + grouping is intended to be used in routing models where + needed."; + container apply-policy { + description + "Anchor point for routing policies in the model. + Import and export policies are with respect to the local + routing table, i.e., export (send) and import (receive), + depending on the context."; + container config { + description + "Policy configuration data."; + uses apply-policy-config; + } + container state { + config false; + description + "Operational state for routing policy"; + uses apply-policy-config; + uses apply-policy-state; + } + } + } + oc-ext:openconfig-version "2.0.1"; + + uses routing-policy-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-segment-routing.yang b/yang/modules/cisco-ios-xr/632/openconfig-segment-routing.yang new file mode 100644 index 0000000..31b6933 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-segment-routing.yang @@ -0,0 +1,691 @@ +module openconfig-segment-routing { + yang-version 1; + namespace "http://openconfig.net/yang/ocsr"; + prefix oc-sr; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-mpls-types { + prefix oc-mpls-t; + } + import openconfig-interfaces { + prefix oc-if; + } + import ietf-inet-types { + prefix inet; + } + import ietf-yang-types { + prefix yang; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "Configuration and operational state parameters relating to the + segment routing. This module defines a number of elements which are + instantiated in multiple places throughout the OpenConfig collection + of models. + + Particularly: + - SRGB+LB dataplane instances - directly instantied by SR. + - SRGB+LB dataplane reservations - instantiated within MPLS and future SR + dataplanes. + - SR SID advertisements - instantiated within the relevant IGP. + - SR-specific counters - instantied within the relevant dataplane."; + + revision 2017-01-12 { + description + "Minor compliance fixes."; + reference "0.0.3"; + } + revision 2016-12-15 { + description + "Updated revision of SR module."; + reference "0.0.2"; + } + revision 2016-07-28 { + description + "Initial revision of SR module."; + reference "0.0.1"; + } + + typedef sr-dataplane-type { + type enumeration { + enum "MPLS" { + description + "The entity uses MPLS labels as Segment Identifiers."; + } + enum "IPV6" { + description + "The entity uses IPv6 prefixes as Segment Identifiers."; + } + } + description + "Types of data plane that can be used to instantiate a Segment + Routing block of SIDs."; + } + + typedef sr-sid-type { + type union { + type oc-mpls-t:mpls-label; + type inet:ipv6-address-no-zone; + } + description + "The defined value of a segment identifier."; + } + + grouping srgb-config { + description + "Configuration parameters relating to the SRGB."; + leaf local-id { + type string; + description + "Unique identifier for the segment routing global block on + the local system."; + } + leaf dataplane-type { + type sr-dataplane-type; + description + "The dataplane being used to instantiate the SRGB. When MPLS is specified + the set of MPLS label blocks that are defined in the mpls-label-blocks + list are used to make up the SRGB. When IPv6 is specified, the set of IPv6 + prefixes specified in the ipv6-prefixes list are used."; + } + leaf-list mpls-label-blocks { + when "../dataplane-type = 'MPLS'" { + description + "Allow the MPLS label block to be specified only for SRGBs that are + using the MPLS dataplane."; + } + type leafref { + path "../../../../../mpls/global/reserved-label-blocks/reserved-label-block/config/local-id"; + } + description + "A list of refences to the label blocks that are used to make + up the SRGB."; + } + leaf-list ipv6-prefixes { + when "../dataplane-type = 'IPV6'" { + description + "Allow IPv6 prefixes to be specified only when the dataplane + realisation of the SRGB is IPv6."; + } + type inet:ipv6-prefix; + description + "A list of IPv6 prefixes which are to be used for segment routing using + the IPv6 dataplane."; + } + } + + grouping srgb-state { + description + "Operational state parameters relating to the SRGB."; + leaf size { + type uint32; + description + "The total number of SRGB entries that are available within the SRGB."; + } + leaf used { + type uint32; + description + "The total number of SRGB entries that have already been alocated by + protocols referencing the SRGB."; + } + } + + grouping srlb-config { + description + "Configuration parameters relating to an SRLB."; + leaf local-id { + type string; + description + "A unique local identifier used for the Segment Routing Local Block. + The identifier is used when referencing the SRLB within other + contexts."; + } + leaf dataplane-type { + type sr-dataplane-type; + description + "The dataplane that is to be used for the Segment Routing Local Block. + When MPLS is specified, the local block corresponds to a block of MPLS + labels; when IPv6 is specified it corresponds to an IPv6 prefix."; + } + leaf mpls-label-block { + when "../dataplane-type = 'MPLS'" { + description + "Allow the MPLS label block to be specified only for SRLBs that are + using the MPLS dataplane."; + } + type leafref { + path "../../../../../mpls/global/reserved-label-blocks/reserved-label-block/config/local-id"; + } + description + "A reference to the MPLS label block that is used to contain the + SIDs of the SRLB."; + } + leaf ipv6-prefix { + when "../dataplane-type = 'IPV6'" { + description + "Allow IPv6 prefixes to be specified only when the dataplane + realisation of the SRGB is IPv6."; + } + type inet:ipv6-prefix; + description + "The IPv6 prefix that is used for the SRLB."; + } + } + + grouping sr-structural { + description + "Top-level structural grouping defining Segment Routing Global Blocks."; + container srgbs { + description + "Configuration and operational state parameters relating to the + SRGBs defined for the system."; + list srgb { + key "local-id"; + description + "A single definition of an SRGB which may comprise of multiple + sets of dataplane addresses (IPv6 addresses, or MPLS labels)."; + leaf local-id { + type leafref { + path "../config/local-id"; + } + description + "A reference to the identifier for the SRGB."; + } + container config { + description + "Configuration parameters relating to the SRGB."; + uses srgb-config; + } + container state { + config false; + description + "State parameters relating to the SRGB."; + uses srgb-config; + uses srgb-state; + } + } + } + container srlbs { + description + "Configuration and operational state parameters relating to the + Segment Routing Local Blocks (SRLBs) defined for the system."; + list srlb { + key "local-id"; + description + "A definition of a Segment Routing Local Block, defined to be + a set of Segment Identifiers (specified as MPLS labels or + IPv6 addreses) that are defined for local allocation by the + system. A block may optionally be advertised into an IGP."; + leaf local-id { + type leafref { + path "../config/local-id"; + } + description + "Reference to the local identifier used for the SRLB."; + } + container config { + description + "Configuration parameters relating to the SRLB."; + uses srlb-config; + } + container state { + config false; + description + "Operational state parmeters relating to the SRLB."; + uses srlb-config; + } + } + } + } + + grouping sr-mpls-top { + description + "Structural grouping defining SR definition within MPLS."; + container segment-routing { + description + "MPLS-specific Segment Routing configuration and operational state + parameters"; + container aggregate-sid-counters { + description + "Per-SID counters aggregated across all interfaces on the local system"; + list aggregate-sid-counter { + key "mpls-label"; + config false; + description + "Counters aggregated across all of the interfaces of the local + system corresponding to traffic received or forwarded with a + particular SID"; + leaf mpls-label { + type leafref { + path "../state/mpls-label"; + } + description + "The MPLS label representing the segment identifier"; + } + container state { + config false; + description + "State parameters for per-SID statistics"; + uses sr-mpls-sid-counters-state; + uses sr-mpls-common-counters; + } + } + } + container interfaces { + description + "Interface related Segment Routing parameters."; + list interface { + key "interface-id"; + description + "Parameters and MPLS-specific configuration relating to Segment + Routing on an interface."; + leaf interface-id { + type leafref { + path "../config/interface-id"; + } + description + "A reference to the ID for the interface for which SR is + configured"; + } + container config { + description + "MPLS-specific Segment Routing configuration parameters + related to an interface."; + uses sr-mpls-interface-config; + } + container state { + config false; + description + "MPLS-specific Segment Routing operational state parameters + related to an interface."; + uses sr-mpls-interface-config; + uses sr-mpls-interface-state; + } + container sid-counters { + description + "Per-SID statistics for MPLS"; + list sid-counter { + key "mpls-label"; + config false; + description + "Per segment identifier counters for the MPLS dataplane."; + leaf mpls-label { + type leafref { + path "../state/mpls-label"; + } + description + "The MPLS label representing the segment identifier"; + } + container state { + config false; + description + "State parameters for per-SID statistics"; + uses sr-mpls-sid-counters-state; + uses sr-mpls-common-counters; + } + container forwarding-classes { + description + "Per-SID per-forwarding class counters for Segment Routing."; + list forwarding-class { + key "exp"; + config false; + description + "SID entries for the forwarding class associated with the + referenced MPLS EXP."; + leaf exp { + type leafref { + path "../state/exp"; + } + description + "Reference to the value of the EXP bits of the segment + identifier."; + } + container state { + config false; + description + "Per-SID, per forwarding class counters for Segment Routing + with the MPLS dataplane"; + uses sr-mpls-interface-sid-fc-state; + uses sr-mpls-common-counters; + } + } + } + } + } + uses oc-if:interface-ref; + } + } + } + } + + grouping sr-mpls-interface-config { + description + "MPLS-specific Segment Routing configuration for an interface"; + leaf interface-id { + type string; + description + "A unique identifier for the interface."; + } + } + + grouping sr-mpls-interface-state { + description + "MPLS-specific Segment Routing operational state parameters for an + interface"; + uses sr-mpls-common-counters; + } + + grouping sr-mpls-interface-sid-fc-state { + description + "Per-SID per forwarding class statistics for SR with the MPLS dataplane"; + leaf exp { + type uint8 { + range "0..7"; + } + description + "The value of the MPLS EXP (experimental) or Traffic Class bits that the + SID statistics relate to. Packets received with a MPLS label value + equal to the SID's MPLS label and EXP bits equal to the this value + should be counted towards the associated ingress statistics. Packets + that are forwarded to the destination MPLS label corresponding to the + SID should be counted towards this value. In the egress direction, where + forwarding follows a SID value that requires PHP at the local node, + packets should still be counted towards the egress counters."; + } + } + + grouping sr-mpls-sid-counters-state { + description + "Per-SID statistics leaves"; + leaf mpls-label { + type oc-mpls-t:mpls-label; + description + "The MPLS label used for the segment identifier"; + } + } + + grouping sr-mpls-common-counters { + description + "Per segment identifier counters used in the model"; + leaf in-pkts { + type yang:counter64; + description + "A cumulative counter of the packets received within the context + which have matched a label corresponding to an SR Segment Identifier."; + } + leaf in-octets { + type yang:counter64; + description + "The cumulative counter of the total bytes received within the context + which have matched a label corresponding to an SR Segment Identifier"; + } + leaf out-pkts { + type yang:counter64; + description + "A cumulative counter of the total number of packets transmitted by + the local system within the context which have a label imposed that + corresponds to an Segment Identifier."; + } + leaf out-octets { + type yang:counter64; + description + "A cumulative counter of the total bytes transmitted by the local + system within the context which have a label imported that + corresponds to an SR Segment Identifier."; + } + } + + grouping sr-igp-config { + description + "Configuration parameters relating to segment routing within an + IGP."; + leaf enabled { + type boolean; + description + "When this leaf is set to true, the segment routing extensions are + utilised within the IGP."; + } + leaf srgb { + type leafref { + path "../../../../../../../segment-routing/srgbs/srgb/config/local-id"; + } + description + "A reference to the Segment Routing Global Block (SRGB) that is + to be used by this IGP instance."; + } + leaf srlb { + type leafref { + path "../../../../../../../segment-routing/srlbs/srlb/config/local-id"; + } + description + "A reference to the Segment Routing Local Block (SRLB) that is to + be advertised by the IGP instance."; + } + } + + grouping sr-igp-top { + description + "Per-instance configuration and state parameters for Segment Routing + in an IGP."; + container segment-routing { + description + "Configuration and operational state relating to segment routing."; + container config { + description + "Configuration parameters relating to the configuration of segment + routing for the IGP instance."; + uses sr-igp-config; + } + container state { + config false; + description + "Operational state parameters relating to segment routing for the + IGP instance."; + uses sr-igp-config; + } + } + } + + grouping sr-igp-interface-prefix-sid-config { + description + "Configuration parameters relating to an IGP prefix SID advertisement"; + leaf prefix { + type inet:ip-prefix; + description + "The IP prefix for which the IGP prefix SID should be advertised. The + value specified is a local prefix on the interface which is advertised + into the IGP."; + } + leaf sid-id { + type sr-sid-type; + description + "The Segment Identifier to be used when advertising the IGP Prefix SID."; + } + leaf label-options { + type enumeration { + enum "NO_PHP" { + description + "When this value is specified, the penultimate hop must not pop + the Prefix-SID label before forwarding it to the local system."; + } + enum "EXPLICIT_NULL" { + description + "When set, the penultimate hop must swap the prefix SID for the + relevant explicit null label before forwarding the packet."; + } + } + description + "The options associated with the IGP prefix SID for MPLS. The value + of this leaf specifies the option that the SID should be advertised + into the IGP with."; + } + } + + grouping sr-igp-interface-adjsid-config { + description + "Configuration parameters relating to an Adj-SID on an interface"; + leaf sid-id { + type union { + type sr-sid-type; + type enumeration { + enum "DYNAMIC" { + description + "The SID chosen for the Adjacency SID should be dynamically + allocated from the system's dynamic range of Segment + Identifiers. For MPLS, this range should be considered to be + those labels that do not fall within a reserved label block."; + } + } + } + description + "The value of the Adj-SID to be advertised. Where a static SID + identifier is specified, this should be advertised directly by the + system. Where the DYNAMIC value is specified, this should be treated + as a dynamically allocated value. When the MPLS data plane is in use + the dynamic value should not fall within a reserved-label-block."; + } + leaf protection-eligible { + type boolean; + default "true"; + description + "Whether the Adj-SID should be considered to be eligible for protection + using IP or MPLS FRR during a network failure. When this value is set to + true, the B-flag of the Adj-SID is set to 1, and the local system should + provide FRR paths for the associated label forwarding entry. When it is + set to false, the local system must not provide FRR for the specified + LFIB entry."; + } + leaf group { + type boolean; + default "false"; + description + "When set to true, the Adj-SID is indicated to be part of a group, and + the G flag is set to 1 in the corresponding advertisement in the IGP."; + } + leaf neighbor { + type inet:ip-address; + description + "The remote system on the interface with which the Adj-SID is + associated."; + } + } + + grouping sr-igp-interface-adjsid-state { + description + "Operational state parameters relating to the adjacency SID for an + interface"; + leaf allocated-dynamic-local { + type sr-sid-type; + description + "Where an Adjacency SID with a dynamic value is to be allocated by + the system, this leaf reports to the value of the Adj-SID allocated + to this interface."; + } + } + + grouping sr-igp-interface-top { + description + "Per-interface configuration and operational state relating to an + interface within the IGP."; + container segment-routing { + description + "Configuration and operatioanl state parameters relating to segment + routing for an interface within the IGP."; + container prefix-sids { + description + "Configuration and operational state parameters relating to + the advertisement of a segment routing IGP-Prefix SID for this + interface."; + list prefix-sid { + key "prefix"; + description + "An IGP prefix that should have a segment routing IGP-Prefix SID + allocated to it. The value of the SID is specified by the SID ID, + as an absolute value. If the absolute value falls within the SRGB, + the Global flag should be advertised by the system."; + leaf prefix { + type leafref { + path "../config/prefix"; + } + description + "Reference to the prefix for which the IGP-Prefix SID is to be + advertised"; + } + container config { + description + "Configuration parameters for the IGP Prefix SID."; + uses sr-igp-interface-prefix-sid-config; + } + container state { + config false; + description + "Operational state parameters for the IGP-Prefix SID."; + uses sr-igp-interface-prefix-sid-config; + } + } + } + container adjacency-sids { + description + "Configuration and operational state parameters relating to + the advertisement of a segment routing adjacency SID for this + interface."; + list adjacency-sid { + key "neighbor sid-id"; + description + "An Adjacency SID to be advertised for the specified interface. + The Adj-SID's identifier (the SID ID) must be unique, with flags + specified indicating the parameters that should be set for the SID. + Where a SID value is specified that is allocated from the SRGB, the + global flag must be set by the system."; + leaf sid-id { + type leafref { + path "../config/sid-id"; + } + description + "Reference to the segment identifier to be used by the local + system."; + } + leaf neighbor { + type leafref { + path "../config/neighbor"; + } + description + "Reference to the neighbor with which the Adjacency SID is + associated."; + } + container config { + description + "Configuraton parameters relating to the AdjSID."; + uses sr-igp-interface-adjsid-config; + } + container state { + config false; + description + "Operational state parameters relating to the AdjSID."; + uses sr-igp-interface-adjsid-config; + uses sr-igp-interface-adjsid-state; + } + } + } + } + } + + grouping sr-top { + description + "Top level grouping for Segment Routing"; + container segment-routing { + description + "Configuration and operational state parameters relating to + segment routing."; + uses sr-structural; + } + } + oc-ext:openconfig-version "0.0.3"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-telemetry.yang b/yang/modules/cisco-ios-xr/632/openconfig-telemetry.yang new file mode 100644 index 0000000..6ceca72 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-telemetry.yang @@ -0,0 +1,643 @@ +module openconfig-telemetry { + yang-version 1; + namespace "http://openconfig.net/yang/telemetry"; + prefix oc-telemetry; + + import ietf-inet-types { + prefix inet; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group www.openconfig.net"; + description + "Data model which creates the configuration for the telemetry + systems and functions on the device."; + + revision 2016-02-04 { + description + "Initial OpenConfig public release"; + reference "0.2.0"; + } + + typedef telemetry-stream-protocol { + type enumeration { + enum "TCP" { + description + "TCP protocol transport for the stream"; + } + enum "UDP" { + description + "UDP protocol transport for the stream"; + } + } + description + "Selectable protocols for transport + of the telemetry stream"; + } + + grouping telemetry-sensor-path-config { + description + "Configuration parameters relating to the + grouping of data model paths comprising a + sensor grouping"; + leaf path { + type string; + description + "Path to a section of operational state of interest + (the sensor)."; + } + leaf exclude-filter { + type string; + description + "Filter to exclude certain values out of the state + values"; + } + } + + grouping telemetry-heartbeat-config { + description + "Configuration parameters relating to the + heartbeat of the telemetry subscription"; + leaf heartbeat-interval { + type uint64; + description + "Maximum time interval in seconds that may pass + between updates from a device to a telemetry collector. + If this interval expires, but there is no updated data to + send (such as if suppress_updates has been configured), the + device must send a telemetry message to the collector."; + } + } + + grouping telemetry-suppress-redundant-config { + description + "Configuration parameters relating to suppression of + redundant upstream updates"; + leaf suppress-redundant { + type boolean; + description + "Boolean flag to control suppression of redundant + telemetry updates to the collector platform. If this flag is + set to TRUE, then the collector will only send an update at + the configured interval if a subscribed data value has + changed. Otherwise, the device will not send an update to + the collector until expiration of the heartbeat interval."; + } + } + + grouping telemetry-sensor-profile-config { + description + "Configuration parameters relating to the sensor groups + used in the sensor profile"; + leaf sensor-group { + type leafref { + path "/telemetry-system/sensor-groups/sensor-group/config/sensor-group-id"; + } + description + "Reference to the sensor group which is used in the profile"; + } + uses telemetry-stream-subscription-config; + } + + grouping telemetry-stream-subscription-config { + description + "Configuration used when the sensor is a stream based sensor."; + uses telemetry-stream-frequency-config; + uses telemetry-heartbeat-config; + uses telemetry-suppress-redundant-config; + } + + grouping telemetry-qos-marking-config { + description + "Config parameters relating to the quality of service + marking on device generated telemetry packets"; + leaf originated-qos-marking { + type inet:dscp; + description + "DSCP marking of packets generated by the telemetry + subsystem on the network device."; + } + } + + grouping telemetry-sensor-group-config { + description + "Config parameters related to the sensor groups + on the device"; + leaf sensor-group-id { + type string; + description + "Name or identifier for the sensor group itself. + Will be referenced by other configuration specifying a + sensor group"; + } + } + + grouping telemetry-subscription-config { + description + "Configuration parameters relating to the telemetry + subscription"; + leaf subscription-id { + type uint64; + description + "Identifer of the telemetry subscription. + Will be used by configuration operations needing + to modify or delete the telemetry subscription"; + } + } + + grouping telemetry-subscription-state { + description + "State values for the telemetry subscription"; + } + + grouping telemetry-stream-destination-config { + description + "Configuration parameters for the stream destinations"; + leaf destination-address { + type inet:ip-address; + description + "IP address of the telemetry stream destination"; + } + leaf destination-port { + type uint16; + description + "Protocol (udp or tcp) port number for the telemetry + stream destination"; + } + leaf destination-protocol { + type telemetry-stream-protocol; + description + "Protocol used to transmit telemetry data to the + collector"; + } + } + + grouping telemetry-stream-frequency-config { + description + "Config parameters for the frequency of updates to + the collector"; + leaf sample-interval { + type uint64; + description + "Time in milliseconds between the device's sample of a + telemetry data source. For example, setting this to 100 + would require the local device to collect the telemetry + data every 100 milliseconds. There can be latency or jitter + in transmitting the data, but the sample must occur at + the specified interval. + + The timestamp must reflect the actual time when the data + was sampled, not simply the previous sample timestamp + + sample-interval. + + If sample-interval is set to 0, the telemetry sensor + becomes event based. The sensor must then emit data upon + every change of the underlying data source."; + } + } + + grouping telemetry-sensor-specification { + description + "Config related to creating telemetry sensor groups. A sensor + group is a related set of sensor paths and/or filters to + exclude items. A group is assigned a reusable identifer, so + it can be used in multiple telemetry subscriptions."; + list telemetry-sensor-group { + key "telemetry-sensor-group-id"; + description + "List of telemetry sensor groups"; + leaf telemetry-sensor-group-id { + type string; + description + "The sensor group identifer is a reusable handle which + identifies a single sensor group. It is referenced from + the subscription configuration."; + } + uses telemetry-sensor-paths; + } + } + + grouping telemetry-sensor-paths { + description + "This grouping contains these paths to leaves or containers + in the data model which are the sources of telemetry + information."; + list telemetry-sensor-paths { + key "telemetry-sensor-path"; + description + "A list of sensor paths and exclude filters which comprise + a sensor grouping"; + leaf telemetry-sensor-path { + type string; + description + "The sensor path is a path to a portion of operational + state of interest in the data model"; + } + leaf sensor-exclude-filter { + type string; + description + "The exclude filter allows certain values of state to be + filtered out of the telemetry stream"; + } + } + } + + grouping telemetry-sensor-profile { + description + "Config relating to sensor profiles. A sensor profile is the + set of sensor information, ether a grouping or individual + paths, which is relevant for a specific subscription."; + list telemetry-sensor-profile { + key "telemetry-sensor-group"; + description + "List of sensor groupings which are used in a subscription"; + leaf telemetry-sensor-group { + type leafref { + path "/telemetry-system/telemetry-subscriptions/telemetry-sensor-specification/telemetry-sensor-group/telemetry-sensor-group-id"; + } + description + "Reference to a telemetry sensor grouping + to be used in the subscription"; + } + } + } + + grouping telemetry-local-source-address-config { + description + "Config relating to the local source address for telemetry + messages"; + leaf local-source-address { + type inet:ip-address; + description + "The IP address which will be the source of packets from + the device to a telemetry collector destination."; + } + } + oc-ext:openconfig-version "0.2.0"; + + container telemetry-system { + description + "Top level configuration and state for the + device's telemetry system."; + container sensor-groups { + description + "Top level container for sensor-groups."; + list sensor-group { + key "sensor-group-id"; + description + "List of telemetry sensory groups on the local + system, where a sensor grouping represents a resuable + grouping of multiple paths and exclude filters."; + leaf sensor-group-id { + type leafref { + path "../config/sensor-group-id"; + } + description + "Reference to the name or identifier of the + sensor grouping"; + } + container config { + description + "Configuration parameters relating to the + telemetry sensor grouping"; + uses telemetry-sensor-group-config; + } + container state { + config false; + description + "State information relating to the telemetry + sensor group"; + uses telemetry-sensor-group-config; + } + container sensor-paths { + description + "Top level container to hold a set of sensor + paths grouped together"; + list sensor-path { + key "path"; + description + "List of paths in the model which together + comprise a sensor grouping. Filters for each path + to exclude items are also provided."; + leaf path { + type leafref { + path "../config/path"; + } + description + "Reference to the path of interest"; + } + container config { + description + "Configuration parameters to configure a set + of data model paths as a sensor grouping"; + uses telemetry-sensor-path-config; + } + container state { + config false; + description + "Configuration parameters to configure a set + of data model paths as a sensor grouping"; + uses telemetry-sensor-path-config; + } + } + } + } + } + container destination-groups { + description + "Top level container for destination group configuration + and state."; + list destination-group { + key "group-id"; + description + "List of destination-groups. Destination groups allow the + reuse of common telemetry destinations across the + telemetry configuration. An operator references a + set of destinations via the configurable + destination-group-identifier. + + A destination group may contain one or more telemetry + destinations"; + leaf group-id { + type leafref { + path "../config/group-id"; + } + description + "Unique identifier for the destination group"; + } + container config { + description + "Top level config container for destination groups"; + leaf group-id { + type string; + description + "Unique identifier for the destination group"; + } + } + container state { + config false; + description + "Top level state container for destination groups"; + leaf group-id { + type string; + description + "Unique identifier for destination group"; + } + } + container destinations { + description + "The destination container lists the destination + information such as IP address and port of the + telemetry messages from the network element."; + list destination { + key "destination-address destination-port"; + description + "List of telemetry stream destinations"; + leaf destination-address { + type leafref { + path "../config/destination-address"; + } + description + "Reference to the destination address of the + telemetry stream"; + } + leaf destination-port { + type leafref { + path "../config/destination-port"; + } + description + "Reference to the port number of the stream + destination"; + } + container config { + description + "Configuration parameters relating to + telemetry destinations"; + uses telemetry-stream-destination-config; + } + container state { + config false; + description + "State information associated with + telemetry destinations"; + uses telemetry-stream-destination-config; + } + } + } + } + } + container subscriptions { + description + "This container holds information for both persistent + and dynamic telemetry subscriptions."; + container persistent { + description + "This container holds information relating to persistent + telemetry subscriptions. A persistent telemetry + subscription is configued locally on the device through + configuration, and is persistent across device restarts or + other redundancy changes."; + list subscription { + key "subscription-id"; + description + "List of telemetry subscriptions. A telemetry + subscription consists of a set of collection + destinations, stream attributes, and associated paths to + state information in the model (sensor data)"; + leaf subscription-id { + type leafref { + path "../config/subscription-id"; + } + description + "Reference to the identifier of the subscription + itself. The id will be the handle to refer to the + subscription once created"; + } + container config { + description + "Config parameters relating to the telemetry + subscriptions on the local device"; + uses telemetry-subscription-config; + uses telemetry-local-source-address-config; + uses telemetry-qos-marking-config; + } + container state { + config false; + description + "State parameters relating to the telemetry + subscriptions on the local device"; + uses telemetry-subscription-config; + uses telemetry-subscription-state; + uses telemetry-local-source-address-config; + uses telemetry-qos-marking-config; + } + container sensor-profiles { + description + "A sensor profile is a set of sensor groups or + individual sensor paths which are associated with a + telemetry subscription. This is the source of the + telemetry data for the subscription to send to the + defined collectors."; + list sensor-profile { + key "sensor-group"; + description + "List of telemetry sensor groups used + in the subscription"; + leaf sensor-group { + type leafref { + path "../config/sensor-group"; + } + description + "Reference to the telemetry sensor group name"; + } + container config { + description + "Configuration parameters related to the sensor + profile for a subscription"; + uses telemetry-sensor-profile-config; + } + container state { + config false; + description + "State information relating to the sensor profile + for a subscription"; + uses telemetry-sensor-profile-config; + } + } + } + container destination-groups { + description + "A subscription may specify destination addresses. + If the subscription supplies destination addresses, + the network element will be the initiator of the + telemetry streaming, sending it to the destination(s) + specified. + + If the destination set is omitted, the subscription + preconfigures certain elements such as paths and + sample intervals under a specified subscription ID. + In this case, the network element will NOT initiate an + outbound connection for telemetry, but will wait for + an inbound connection from a network management + system. + + It is expected that the network management system + connecting to the network element will reference + the preconfigured subscription ID when initiating + a subscription."; + list destination-group { + key "group-id"; + description + "Identifier of the previously defined destination + group"; + leaf group-id { + type leafref { + path "../config/group-id"; + } + description + "The destination group id references a configured + group of destinations for the telemetry stream."; + } + container config { + description + "Configuration parameters related to telemetry + destinations."; + leaf group-id { + type leafref { + path "../../../../../../../destination-groups/destination-group/group-id"; + } + description + "The destination group id references a reusable + group of destination addresses and ports for + the telemetry stream."; + } + } + container state { + description + "State information related to telemetry + destinations"; + leaf group-id { + type leafref { + path "../../../../../../../destination-groups/destination-group/group-id"; + } + description + "The destination group id references a reusable + group of destination addresses and ports for + the telemetry stream."; + } + } + } + } + } + } + container dynamic { + description + "This container holds information relating to dynamic + telemetry subscriptions. A dynamic subscription is + typically configured through an RPC channel, and does not + persist across device restarts, or if the RPC channel is + reset or otherwise torn down."; + list subscription { + key "subscription-id"; + config false; + description + "List representation of telemetry subscriptions that + are configured via an inline RPC, otherwise known + as dynamic telemetry subscriptions."; + leaf subscription-id { + type leafref { + path "../state/subscription-id"; + } + description + "Reference to the identifier of the subscription + itself. The id will be the handle to refer to the + subscription once created"; + } + container state { + config false; + description + "State information relating to dynamic telemetry + subscriptions."; + uses telemetry-subscription-config; + uses telemetry-stream-destination-config; + uses telemetry-stream-frequency-config; + uses telemetry-heartbeat-config; + uses telemetry-suppress-redundant-config; + uses telemetry-qos-marking-config; + } + container sensor-paths { + description + "Top level container to hold a set of sensor + paths grouped together"; + list sensor-path { + key "path"; + description + "List of paths in the model which together + comprise a sensor grouping. Filters for each path + to exclude items are also provided."; + leaf path { + type leafref { + path "../state/path"; + } + description + "Reference to the path of interest"; + } + container state { + config false; + description + "State information for a dynamic subscription's + paths of interest"; + uses telemetry-sensor-path-config; + } + } + } + } + } + } + } +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-terminal-device.yang b/yang/modules/cisco-ios-xr/632/openconfig-terminal-device.yang new file mode 100644 index 0000000..ca7bba4 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-terminal-device.yang @@ -0,0 +1,915 @@ +module openconfig-terminal-device { + yang-version 1; + namespace "http://openconfig.net/yang/terminal-device"; + prefix oc-opt-term; + + import openconfig-types { + prefix oc-types; + } + import openconfig-transport-types { + prefix oc-opt-types; + } + import openconfig-if-ethernet { + prefix oc-eth; + } + import openconfig-platform { + prefix oc-platform; + } + import openconfig-platform-transceiver { + prefix oc-transceiver; + } + import openconfig-extensions { + prefix oc-ext; + } + import ietf-yang-types { + prefix yang; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module describes a terminal optics device model for + managing the terminal systems (client and line side) in a + DWDM transport network. + + Elements of the model: + + physical port: corresponds to a physical, pluggable client + port on the terminal device. Examples includes 10G, 40G, 100G + (e.g., 10x10G, 4x25G or 1x100G) and 400G/1T in the future. + Physical client ports will have associated operational state or + PMs. + + physical channel: a physical lane or channel in the + physical client port. Each physical client port has 1 or more + channels. An example is 100GBASE-LR4 client physical port having + 4x25G channels. Channels have their own optical PMs and can be + monitored independently within a client physical port (e.g., + channel power). Physical client channels are defined in the + model as part of a physical client port, and are modeled + primarily for reading their PMs. + + logical channel: a logical grouping of logical grooming elements + that may be assigned to subsequent grooming stages for + multiplexing / de-multiplexing, or to an optical channel for + line side transmission. The logical channels can represent, for + example, an ODU/OTU logical packing of the client + data onto the line side. Tributaries are similarly logical + groupings of demand that can be represented in this structure and + assigned to an optical channel. Note that different types of + logical channels may be present, each with their corresponding + PMs. + + optical channel: corresponds to an optical carrier and is + assigned a wavelength/frequency. Optical channels have PMs + such as power, BER, and operational mode. + + Directionality: + + To maintain simplicity in the model, the configuration is + described from client-to-line direction. The assumption is that + equivalent reverse configuration is implicit, resulting in + the same line-to-client configuration. + + Physical layout: + + The model does not assume a particular physical layout of client + and line ports on the terminal device (e.g., such as number of + ports per linecard, separate linecards for client and line ports, + etc.)."; + + revision 2016-06-17 { + description + "Public release"; + reference "0.3.1"; + } + + grouping terminal-input-optical-power { + description + "Reusable leaves related to input optical power"; + leaf input-power { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The input optical power of this port in units of 0.01dBm. + If the port is an aggregate of multiple physical channels, + this attribute is the total power or sum of all channels."; + } + } + + grouping terminal-ethernet-protocol-config { + description + "Configuration data for logical channels with Ethernet + framing"; + } + + grouping terminal-ethernet-protocol-state { + description + "Ethernet-specific counters when logical channel + is using Ethernet protocol framing, e.g., 10GE, 100GE"; + uses oc-eth:ethernet-interface-state-counters; + } + + grouping terminal-ethernet-protocol-top { + description + "Top-level grouping for data related to Ethernet protocol + framing on logical channels"; + container ethernet { + description + "Top level container for data related to Ethernet framing + for the logical channel"; + container config { + description + "Configuration data for Ethernet protocol framing on logical + channels"; + uses terminal-ethernet-protocol-config; + } + container state { + config false; + description + "Operational state data for Ethernet protocol framing on logical + channels"; + uses terminal-ethernet-protocol-state; + } + } + } + + grouping terminal-otn-protocol-config { + description + "OTU configuration when logical channel + framing is using an OTU protocol, e.g., OTU1, OTU3, etc."; + leaf tti-msg-transmit { + type string; + description + "Trail trace identifier (TTI) message transmitted"; + } + leaf tti-msg-expected { + type string; + description + "Trail trace identifier (TTI) message expected"; + } + leaf tti-msg-auto { + type boolean; + description + "Trail trace identifier (TTI) transmit message automatically created. + If True, then setting a custom transmit message would be invalid."; + } + } + + grouping terminal-otn-protocol-counter-stats { + description + "Counter based statistics containers for logical channels + using OTN framing"; + leaf errored-seconds { + type yang:counter64; + description + "The number of seconds that at least one errored blocks occurs, + at least one code violation occurs, loss of sync is detected or + loss of signal is detected"; + } + leaf severely-errored-seconds { + type yang:counter64; + description + "The number of seconds that loss of frame is detected OR + the number of errored blocks, code violations, loss of sync or + loss of signal is detected exceeds a predefined threshold"; + } + leaf unavailable-seconds { + type yang:counter64; + description + "The number of seconds during which the link is unavailable"; + } + leaf code-violations { + type yang:counter64; + description + "For ethernet or fiberchannel links, the number of 8b/10b + coding violations. For SONET/SDH, the number of BIP (bit + interleaved parity) errors"; + } + leaf fec-uncorrectable-words { + type yang:counter64; + description + "The number words that were uncorrectable by the FEC"; + } + leaf fec-corrected-bytes { + type yang:counter64; + description + "The number of bytes that were corrected by the FEC"; + } + leaf fec-corrected-bits { + type yang:counter64; + description + "The number of bits that were corrected by the FEC"; + } + leaf background-block-errors { + type yang:counter64; + description + "The number of background block errors"; + } + } + + grouping terminal-otn-protocol-multi-stats { + description + "Multi-value statistics containers for logical channels using + OTN framing (e.g., max, min, avg, instant)"; + container pre-fec-ber { + description + "Bit error rate before forward error correction -- computed + value"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container post-fec-ber { + description + "Bit error rate after forward error correction -- computed + value"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container q-value { + description + "Quality value (factor) of a channel"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container esnr { + description + "Electrical signal to noise ratio. Baud rate + normalized signal to noise ratio based on + error vector magnitude"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + } + + grouping terminal-otn-protocol-state { + description + "OTU operational state when logical channel + framing is using an OTU protocol, e.g., OTU1, OTU3, etc."; + leaf tti-msg-recv { + type string; + description + "Trail trace identifier (TTI) message received"; + } + leaf rdi-msg { + type string; + description + "Remote defect indication (RDI) message received"; + } + uses terminal-otn-protocol-counter-stats; + uses terminal-otn-protocol-multi-stats; + } + + grouping terminal-otn-protocol-top { + description + "Top-level grouping for data related to OTN protocol framing"; + container otn { + description + "Top level container for OTU configuration when logical + channel framing is using an OTU protocol, e.g., OTU1, OTU3, + etc."; + container config { + description + "Configuration data for OTN protocol framing"; + uses terminal-otn-protocol-config; + } + container state { + config false; + description + "Operational state data for OTN protocol PMs, statistics, + etc."; + uses terminal-otn-protocol-config; + uses terminal-otn-protocol-state; + } + } + } + + grouping terminal-client-port-assignment-config { + description + "Configuration data for assigning physical client ports to + logical channels"; + leaf index { + type uint32; + description + "Index of the client port assignment"; + } + leaf description { + type string; + description + "Descriptive name for the client port-to-logical channel + mapping"; + } + leaf logical-channel { + type leafref { + path "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:index"; + } + description + "Reference to the logical channel for this + assignment"; + } + leaf allocation { + type decimal64 { + fraction-digits 3; + } + units "Gbps"; + description + "Allocation of the client physical port to the assigned + logical channel expressed in Gbps. In most cases, + the full client physical port rate is assigned to a single + logical channel."; + } + } + + grouping terminal-client-port-assignment-state { + description + "Operational state data for assigning physical client ports + to logical channels"; + } + + grouping terminal-client-port-assignment-top { + description + "Top-level grouping for the assigment of client physical ports + to logical channels"; + container logical-channel-assignments { + description + "Enclosing container for client port to logical client + mappings"; + list assignment { + key "index"; + description + "List of assignments to logical clients"; + leaf index { + type leafref { + path "../config/index"; + } + description + "Reference to the index of this logical client + assignment"; + } + container config { + description + "Configuration data for the logical client assignment"; + uses terminal-client-port-assignment-config; + } + container state { + config false; + description + "Operational state data for the logical client + assignment"; + uses terminal-client-port-assignment-config; + uses terminal-client-port-assignment-state; + } + } + } + } + + grouping terminal-logical-chan-assignment-config { + description + "Configuration data for assigning client logical channels + to line-side tributaries"; + leaf index { + type uint32; + description + "Index of the current logical client channel to tributary + mapping"; + } + leaf description { + type string; + description + "Name assigned to the logical client channel"; + } + leaf assignment-type { + type enumeration { + enum "LOGICAL_CHANNEL" { + description + "Subsequent channel is a logical channel"; + } + enum "OPTICAL_CHANNEL" { + description + "Subsequent channel is a optical channel / carrier"; + } + } + description + "Each logical channel element may be assigned to subsequent + stages of logical elements to implement further grooming, or + can be assigned to a line-side optical channel for + transmission. Each assignment also has an associated + bandwidth allocation."; + } + leaf logical-channel { + type leafref { + path "/oc-opt-term:terminal-device/oc-opt-term:logical-channels/oc-opt-term:channel/oc-opt-term:index"; + } + must "assignment-type = LOGICAL_CHANNEL" { + description + "The assignment-type must be set to LOGICAL_CHANNEL for + this leaf to be valid"; + } + description + "Reference to another stage of logical channel elements."; + } + leaf optical-channel { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + must "assignment-type = OPTICAL_CHANNEL" { + description + "The assignment-type must be set to OPTICAL_CHANNEL for + this leaf to be valid"; + } + description + "Reference to the line-side optical channel that should + carry the current logical channel element. Use this + reference to exit the logical element stage."; + } + leaf allocation { + type decimal64 { + fraction-digits 3; + } + units "Gbps"; + description + "Allocation of the logical client channel to the tributary + or sub-channel, expressed in Gbps"; + } + } + + grouping terminal-logical-chan-assignment-state { + description + "Operational state data for the assignment of logical client + channel to line-side tributary"; + } + + grouping terminal-logical-chan-assignment-top { + description + "Top-level grouping for the list of logical client channel-to- + tributary assignments"; + container logical-channel-assignments { + description + "Enclosing container for tributary assignments"; + list assignment { + key "index"; + description + "Logical channel elements may be assigned directly to + optical channels for line-side transmission, or can be + further groomed into additional stages of logical channel + elements. The grooming can multiplex (i.e., split the + current element into multiple elements in the subsequent + stage) or de-multiplex (i.e., combine the current element + with other elements into the same element in the subsequent + stage) logical elements in each stage. + + Note that to support the ability to groom the logical + elements, the list of logical channel elements should be + populated with an entry for the logical elements at + each stage, starting with the initial assignment from the + respective client physical port. + + Each logical element assignment consists of a pointer to + an element in the next stage, or to an optical channel, + along with a bandwidth allocation for the corresponding + assignment (e.g., to split or combine signal)."; + leaf index { + type leafref { + path "../config/index"; + } + description + "Reference to the index for the current tributary + assignment"; + } + container config { + description + "Configuration data for tributary assignments"; + uses terminal-logical-chan-assignment-config; + } + container state { + config false; + description + "Operational state data for tributary assignments"; + uses terminal-logical-chan-assignment-config; + uses terminal-logical-chan-assignment-state; + } + } + } + } + + grouping terminal-logical-channel-ingress-config { + description + "Configuration data for ingress signal to logical channel"; + leaf transceiver { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to the transceiver carrying the input signal + for the logical channel. If specific physical channels + are mapped to the logical channel (as opposed to all + physical channels carried by the transceiver), they can be + specified in the list of physical channel references."; + } + leaf-list physical-channel { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-transceiver:transceiver/oc-transceiver:physical-channels/oc-transceiver:channel/oc-transceiver:index"; + } + description + "This list should be populated with references + to the client physical channels that feed this logical + channel from the transceiver specified in the 'transceiver' + leaf, which must be specified. If this leaf-list is empty, + all physical channels in the transceiver are assumed to be + mapped to the logical channel."; + } + } + + grouping terminal-logical-channel-ingress-state { + description + "Operational state data for ingress signal to logical channel"; + } + + grouping terminal-logical-channel-ingress-top { + description + "Top-level grouping for ingress signal to logical channel"; + container ingress { + description + "Top-level container for specifying references to the + source of signal for the logical channel, either a + transceiver or individual physical channels"; + container config { + description + "Configuration data for the signal source for the + logical channel"; + uses terminal-logical-channel-ingress-config; + } + container state { + config false; + description + "Operational state data for the signal source for the + logical channel"; + uses terminal-logical-channel-ingress-config; + uses terminal-logical-channel-ingress-state; + } + } + } + + grouping terminal-logical-channel-config { + description + "Configuration data for logical channels"; + leaf index { + type uint32; + description + "Index of the current logical channel"; + } + leaf description { + type string; + description + "Description of the logical channel"; + } + leaf admin-state { + type oc-opt-types:admin-state-type; + description + "Sets the admin state of the logical channel"; + } + leaf rate-class { + type identityref { + base oc-opt-types:TRIBUTARY_RATE_CLASS_TYPE; + } + description + "Rounded bit rate of the tributary signal. Exact bit rate + will be refined by protocol selection."; + } + leaf trib-protocol { + type identityref { + base oc-opt-types:TRIBUTARY_PROTOCOL_TYPE; + } + description + "Protocol framing of the tributary signal. If this + LogicalChannel is directly connected to a Client-Port or + Optical-Channel, this is the protocol of the associated port. + If the LogicalChannel is connected to other LogicalChannels, + the TributaryProtocol of the LogicalChannels will define a + specific mapping/demapping or multiplexing/demultiplexing + function. + + Not all protocols are valid, depending on the value + of trib-rate-class. The expectation is that the NMS + will validate that a correct combination of rate class + and protocol are specfied. Basic combinations are: + + rate class: 1G + protocols: 1GE + + rate class: 2.5G + protocols: OC48, STM16 + + rate class: 10G + protocols: 10GE LAN, 10GE WAN, OC192, STM64, OTU2, OTU2e, + OTU1e, ODU2, ODU2e, ODU1e + + rate class: 40G + protocols: 40GE, OC768, STM256, OTU3, ODU3 + + rate class: 100G + protocols: 100GE, 100G MLG, OTU4, OTUCn, ODU4"; + } + leaf logical-channel-type { + type identityref { + base oc-opt-types:LOGICAL_ELEMENT_PROTOCOL_TYPE; + } + description + "The type / stage of the logical element determines the + configuration and operational state parameters (PMs) + available for the logical element"; + } + leaf loopback-mode { + type oc-opt-types:loopback-mode-type; + description + "Sets the loopback type on the logical channel. Setting the + mode to something besides NONE activates the loopback in + the specified mode."; + } + } + + grouping terminal-logical-channel-state { + description + "Operational state data for logical client channels"; + leaf link-state { + type enumeration { + enum "UP" { + description + "Logical channel is operationally up"; + } + enum "DOWN" { + description + "Logical channel is operationally down"; + } + } + description + "Link-state of the Ethernet protocol on the logical channel, + SONET / SDH framed signal, etc."; + } + } + + grouping terminal-logical-channel-top { + description + "Top-level grouping for logical channels"; + container logical-channels { + description + "Enclosing container the list of logical channels"; + list channel { + key "index"; + description + "List of logical channels"; + leaf index { + type leafref { + path "../config/index"; + } + description + "Reference to the index of the logical channel"; + } + container config { + description + "Configuration data for logical channels"; + uses terminal-logical-channel-config; + } + container state { + config false; + description + "Operational state data for logical channels"; + uses terminal-logical-channel-config; + uses terminal-logical-channel-state; + } + uses terminal-otn-protocol-top { + when "../config/protocol-type = PROT_OTN" { + description + "Include the OTN protocol data only when the + channel is using OTN framing."; + } + } + uses terminal-ethernet-protocol-top { + when "../config/protocol-type = PROT_ETHERNET" { + description + "Include the Ethernet protocol statistics only when the + protocol used by the link is Ethernet."; + } + } + uses terminal-logical-channel-ingress-top; + uses terminal-logical-chan-assignment-top; + } + } + } + + grouping terminal-optical-channel-config { + description + "Configuration data for describing optical channels"; + leaf frequency { + type oc-opt-types:frequency-type; + description + "Frequency of the optical channel, expressed in MHz"; + } + leaf target-output-power { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "Target output optical power level of the optical channel, + expressed in increments of 0.01 dBm (decibel-milliwats)"; + } + leaf operational-mode { + type uint16; + must "boolean(../../../../operational-modes/state/supported-modes[mode-id=current()])" { + description + "The referenced operational mode must exist in the list of + supported operational modes supplied by the device"; + } + description + "Vendor-specific mode identifier -- sets the operational + mode for the channel"; + } + leaf line-port { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to the line-side physical port that carries + this optical channel. The target port should be + a component in the physical inventory data model."; + } + } + + grouping terminal-optical-channel-state { + description + "Operational state data for optical channels"; + leaf group-id { + type uint32; + description + "If the device places constraints on which optical + channels must be managed together (e.g., transmitted on the + same line port), it can indicate that by setting the group-id + to the same value across related optical channels."; + } + uses oc-transceiver:optical-power-state; + container chromatic-dispersion { + description + "Chromatic Dispersion of an optical channel + in ps/nm as reported by receiver"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container polarization-mode-dispersion { + description + "Polarization Mode Dispersion of an optical channel + in ps as reported by receiver"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container second-order-polarization-mode-dispersion { + description + "Second Order Polarization Mode Dispersion of an optical + channel in ps^2 as reported by receiver"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + container polarization-dependent-loss { + description + "Polarization Dependent Loss of an optical channel + in dB as reported by receiver"; + uses oc-types:avg-min-max-instant-stats-precision1; + } + } + + grouping terminal-optical-channel-top { + description + "Top-level grouping for optical channel data"; + container optical-channel { + description + "Enclosing container for the list of optical channels"; + container config { + description + "Configuration data for optical channels"; + uses terminal-optical-channel-config; + } + container state { + config false; + description + "Operational state data for optical channels"; + uses terminal-optical-channel-config; + uses terminal-optical-channel-state; + } + } + } + + grouping terminal-operational-mode-config { + description + "Configuration data for vendor-supported operational modes"; + } + + grouping terminal-operational-mode-state { + description + "Operational state data for vendor-supported operational + modes"; + leaf mode-id { + type uint16; + description + "Two-octet encoding of the vendor-defined operational + mode"; + } + leaf description { + type string; + description + "Vendor-supplied textual description of the characteristics + of this operational mode to enable operators to select the + appropriate mode for the application."; + } + leaf vendor-id { + type string; + description + "Identifier to represent the vendor / supplier of the + platform and the associated operational mode information"; + } + } + + grouping terminal-operational-mode-top { + description + "Top-level grouping for vendor-supported operational modes"; + container operational-modes { + description + "Enclosing container for list of operational modes"; + list mode { + key "mode-id"; + config false; + description + "List of operational modes supported by the platform. + The operational mode provides a platform-defined summary + of information such as symbol rate, modulation, pulse + shaping, etc."; + leaf mode-id { + type leafref { + path "../state/mode-id"; + } + description + "Reference to mode-id"; + } + container config { + description + "Configuration data for operational mode"; + uses terminal-operational-mode-config; + } + container state { + config false; + description + "Operational state data for the platform-defined + operational mode"; + uses terminal-operational-mode-config; + uses terminal-operational-mode-state; + } + } + } + } + + grouping terminal-device-config { + description + "Configuration data for transport terminal devices at a + device-wide level"; + } + + grouping terminal-device-state { + description + "Operational state data for transport terminal devices at a + device-wide level"; + } + + grouping terminal-device-top { + description + "Top-level grouping for data for terminal devices"; + container terminal-device { + description + "Top-level container for the terminal device"; + container config { + description + "Configuration data for global terminal-device"; + uses terminal-device-config; + } + container state { + config false; + description + "Operational state data for global terminal device"; + uses terminal-device-config; + uses terminal-device-state; + } + uses terminal-logical-channel-top; + uses terminal-operational-mode-top; + } + } + + augment "/oc-platform:components/oc-platform:component" { + when "/oc-platform:components/oc-platform:component/oc-platform:state/oc-platform:type = 'OPTICAL_CHANNEL'" { + description + "Augment is active when component is of type + OPTICAL_CHANNEL"; + } + description + "Adding optical channel data to physical inventory"; + uses terminal-optical-channel-top; + } + oc-ext:openconfig-version "0.3.1"; + + uses terminal-device-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-transport-line-common.yang b/yang/modules/cisco-ios-xr/632/openconfig-transport-line-common.yang new file mode 100644 index 0000000..6cbbf72 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-transport-line-common.yang @@ -0,0 +1,238 @@ +module openconfig-transport-line-common { + yang-version 1; + namespace "http://openconfig.net/yang/transport-line-common"; + prefix oc-line-com; + + import iana-if-type { + prefix ift; + } + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-platform { + prefix oc-platform; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-transport-types { + prefix oc-opt-types; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module defines common data elements for OpenConfig data + models for optical transport line system elements, such as + amplifiers and ROADMs (wavelength routers)."; + + revision 2017-07-08 { + description + "Add monitor port type and refs to hw ports, "; + reference "0.3.0"; + } + revision 2017-03-28 { + description + "Added min/max/avg stats, status for media channels, OCM, APS"; + reference "0.2.0"; + } + revision 2016-03-31 { + description + "Initial public release"; + reference "0.1.0"; + } + + identity OPTICAL_LINE_PORT_TYPE { + description + "Type definition for optical node port types"; + } + + identity INGRESS { + base OPTICAL_LINE_PORT_TYPE; + description + "Ingress port, corresponding to a signal entering + a line device such as an amplifier or wavelength + router."; + } + + identity EGRESS { + base OPTICAL_LINE_PORT_TYPE; + description + "Egress port, corresponding to a signal exiting + a line device such as an amplifier or wavelength + router."; + } + + identity ADD { + base OPTICAL_LINE_PORT_TYPE; + description + "Add port, corresponding to a signal injected + at a wavelength router."; + } + + identity DROP { + base OPTICAL_LINE_PORT_TYPE; + description + "Drop port, corresponding to a signal dropped + at a wavelength router."; + } + + identity MONITOR { + base OPTICAL_LINE_PORT_TYPE; + description + "Monitor port, corresponding to a signal used by an optical + channel monitor. This is used to represent the connection + that a channel monitor port is connected to. This + connection may be via physical cable and faceplate ports or + internal to the device"; + } + + grouping optical-osc-config { + description + "Configuration data for OSC interfaces"; + leaf-list interface { + type oc-if:base-interface-ref; + description + "List of references to OSC interfaces"; + } + } + + grouping optical-osc-state { + description + "Operational state data for OSC interfaces"; + container input-power { + description + "The input optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + the target is expected to just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container output-power { + description + "The output optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + the target is expected to just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container laser-bias-current { + description + "The current applied by the system to the transmit laser to + achieve the output power. The current is expressed in mA + with up to one decimal precision. If avg/min/max statistics + are not supported, the target is expected to just supply + the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-mA; + } + } + + grouping optical-osc-top { + description + "Top-level grouping for configuration and operational state + data for optical supervisory channels (OSC) for amplifiers, + WSS/ROADM, nodes, etc."; + container config { + description + "Configuration data for OSCs"; + uses optical-osc-config; + } + container state { + config false; + description + "Operational state data for OSCs"; + uses optical-osc-config; + uses optical-osc-state; + } + } + + grouping transport-line-common-port-config { + description + "Configuration data for optical line ports"; + leaf admin-state { + type oc-opt-types:admin-state-type; + description + "Sets the admin state of the optical-port"; + } + } + + grouping transport-line-common-port-state { + description + "Operational state data describing optical line ports"; + leaf optical-port-type { + type identityref { + base OPTICAL_LINE_PORT_TYPE; + } + description + "Indicates the type of transport line port. This is an + informational field that should be made available by the + device (e.g., in the openconfig-platform model)."; + } + container input-power { + description + "The total input optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + container output-power { + description + "The total output optical power of this port in units + of 0.01dBm. If avg/min/max statistics are not supported, + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + } + + grouping transport-line-common-port-top { + description + "Top-level grouping "; + container optical-port { + description + "Top-level container "; + container config { + description + "Operational config data for optical line ports"; + uses transport-line-common-port-config; + } + container state { + config false; + description + "Operational state data for optical line ports"; + uses transport-line-common-port-config; + uses transport-line-common-port-state; + } + } + } + + augment "/oc-platform:components/oc-platform:component" { + description + "Adding optical line port data to platform model"; + uses transport-line-common-port-top { + when "/oc-platform:components/oc-platform:component/oc-platform:state/oc-platform:type = 'PORT'" { + description + "Augment is active when component is of type + PORT"; + } + } + } + augment "/oc-if:interfaces/oc-if:interface" { + when "oc-if:config/oc-if:type = 'ift:sonet'" { + description + "Additional interface configuration parameters when + the interface type is SONET/SDH"; + } + description + "Adds additional SONET/SDH-specific data to + osc model"; + container sonet { + description + "Data related to SONET/SDH interfaces"; + } + } + oc-ext:openconfig-version "0.3.0"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-transport-line-protection.yang b/yang/modules/cisco-ios-xr/632/openconfig-transport-line-protection.yang new file mode 100644 index 0000000..337da06 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-transport-line-protection.yang @@ -0,0 +1,402 @@ +module openconfig-transport-line-protection { + yang-version 1; + namespace "http://openconfig.net/yang/optical-transport-line-protection"; + prefix oc-line-protect; + + import openconfig-extensions { + prefix oc-ext; + } + import openconfig-types { + prefix oc-types; + } + import openconfig-platform { + prefix oc-platform; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This model describes configuration and operational state data + for optical line protection elements, deployed as part of a + transport line system. An Automatic Protection Switch (APS) + is typically installed in the same device as the amplifiers + and wave-router, however an APS can also be a standalone + device. In both scenarios, it serves the same purpose of + providing protection using two dark fiber pairs to ensure the + amplifiers can still receive a signal if one of the two fiber + pairs is broken."; + + revision 2017-03-28 { + description + "Added min/max/avg stats, status for media channels, OCM, APS"; + reference "0.2.0"; + } + revision 2016-08-05 { + description + "Initial public release"; + reference "0.1.0"; + } + + identity APS_PATHS { + description + "Base identity for identifying the line paths on an + automatic protection switch"; + } + + identity PRIMARY { + base APS_PATHS; + description + "The primary line path connected to an automatic protection + switch port indicating the primary/preferred path"; + } + + identity SECONDARY { + base APS_PATHS; + description + "The secondary line path connected to an automatic protection + switch port indicating the secondary path"; + } + + grouping aps-input-port-config { + description + "Grouping for config related to unidirectional automatic + protection switch input ports"; + leaf enabled { + type boolean; + default "true"; + description + "This leaf contains the configured, desired state of the + port. Disabling the port turns off alarm reporting for + the port"; + } + leaf target-attenuation { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "Target attenuation of the variable optical attenuator + associated with the port in increments of 0.01 dB."; + } + } + + grouping aps-output-port-config { + description + "Grouping for config related to unidirectional automatic + protection switch output ports"; + leaf target-attenuation { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "Target attenuation of the variable optical attenuator + associated with the port in increments of 0.01 dB"; + } + } + + grouping aps-input-port-state { + description + "Grouping for state related to unidirectional automatic + protection switch input ports"; + leaf attenuation { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The attenuation of the variable optical attenuator + associated with the port in increments of 0.01 dB."; + } + container optical-power { + description + "The optical input power of this port in units of + 0.01dBm. Optical input power represents the signal + traversing from an external destination into the module. + The power is measured before any attenuation. If avg/min/max + statistics are not supported, the target is expected to + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + } + + grouping aps-output-port-state { + description + "Grouping for state related to unidirectional automatic + protection switch output ports"; + leaf attenuation { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The attenuation of the variable optical attenuator + associated with the port in increments of 0.01 dB"; + } + container optical-power { + description + "The optical output power of this port in units of + 0.01dBm. Optical output power represents the signal + traversing from the module to an external destination. The + power is measured after any attenuation. If avg/min/max + statistics are not supported, the target is expected to + just supply the instant value"; + uses oc-types:avg-min-max-instant-stats-precision2-dBm; + } + } + + grouping aps-ports { + description + "Top level grouping for automatic protection switch ports"; + container line-primary-in { + description + "Container for information related to the line primary + input port"; + container config { + description + "Configuration data for the line primary input port"; + uses aps-input-port-config; + } + container state { + config false; + description + "State data for the line primary input port"; + uses aps-input-port-config; + uses aps-input-port-state; + } + } + container line-primary-out { + description + "Container for information related to the line primary + output port"; + container config { + description + "Configuration data for the line primary output port"; + uses aps-output-port-config; + } + container state { + config false; + description + "State data for the line primary output port"; + uses aps-output-port-config; + uses aps-output-port-state; + } + } + container line-secondary-in { + description + "Container for information related to the line secondary + input port"; + container config { + description + "Configuration data for the line secondary input port"; + uses aps-input-port-config; + } + container state { + config false; + description + "State data for the line secondary input port"; + uses aps-input-port-config; + uses aps-input-port-state; + } + } + container line-secondary-out { + description + "Container for information related to the line secondary + output port"; + container config { + description + "Configuration data for the line secondary output port"; + uses aps-output-port-config; + } + container state { + config false; + description + "State data for the line secondary output port"; + uses aps-output-port-config; + uses aps-output-port-state; + } + } + container common-in { + description + "Container for information related to the line common + input port"; + container config { + description + "Configuration data for the line common input port"; + uses aps-input-port-config; + } + container state { + config false; + description + "State data for the line common input port"; + uses aps-input-port-config; + uses aps-input-port-state; + } + } + container common-output { + description + "Container for information related to the line common + output port"; + container config { + description + "Configuration data for the line common output port"; + uses aps-output-port-config; + } + container state { + config false; + description + "State data for the line common output port"; + uses aps-output-port-config; + uses aps-output-port-state; + } + } + } + + grouping aps-config { + description + "Configuration data for automatic protection switch modules"; + leaf name { + type leafref { + path "/oc-platform:components/oc-platform:component/oc-platform:name"; + } + description + "Reference to the component name (in the platform model) + corresponding to this automatic protection switch module + in the device"; + } + leaf revertive { + type boolean; + description + "Revertive behavior of the module. + If True, then automatically revert after protection switch + once the fault is restored."; + } + leaf primary-switch-threshold { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The threshold at which the primary line port will switch to + the opposite line port in increments of 0.01 dBm. If the + hardware supports only one switch threshold for primary and + and secondary ports then it is recommended to set both + primary-switch-threshold and secondary-switch-threshold to + the same value to be explicit"; + } + leaf primary-switch-hysteresis { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The delta in 0.01 dB between the primary-switch-threshold + and the signal received before initiating a reversion in + order to prevent toggling between ports when an input + signal is very close to threshold. If the hardware supports + only one switch hysteresis for primary and secondary ports + then it is recommended to set both primary-switch-threshold + and secondary-switch-threshold to the same value to be + explicit"; + } + leaf secondary-switch-threshold { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The threshold at which the secondary line port will switch to + the opposite line port in increments of 0.01 dBm. If the + hardware supports only one switch threshold for primary and + and secondary ports then it is recommended to set both + primary-switch-threshold and secondary-switch-threshold to + the same value to be explicit"; + } + leaf secondary-switch-hysteresis { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The delta in 0.01 dB between the secondary-switch-threshold + and the signal received before initiating a reversion in + order to prevent toggling between ports when an input + signal is very close to threshold. If the hardware supports + only one switch hysteresis for primary and secondary ports + then it is recommended to set both primary-switch-threshold + and secondary-switch-threshold to the same value to be + explicit"; + } + } + + grouping aps-state { + description + "State data for automatic protection switch modules"; + leaf active-path { + type identityref { + base APS_PATHS; + } + description + "Indicates which line path on the automatic protection switch + is currently the active path connected to the common port"; + } + } + + grouping automatic-protection-switch-top { + description + "Top level grouping for automatic protection switch data"; + container aps-modules { + description + "Enclosing container for list of automatic protection + switch modules"; + list aps-module { + key "name"; + description + "List of automatic protection switch modules present + in the device"; + leaf name { + type leafref { + path "../config/name"; + } + description + "Reference to the config name list key"; + } + container config { + description + "Configuration data for an automatic protection + switch module"; + uses aps-config; + } + container state { + config false; + description + "Operational state data for an automatic protection + switch module"; + uses aps-config; + uses aps-state; + } + container ports { + description + "Top level grouping for automatic protection switch ports"; + uses aps-ports; + } + } + } + } + + grouping transport-line-protection-top { + description + "Top level grouping for transport line protection data"; + container aps { + description + "Top level grouping for automatic protection switch data"; + uses automatic-protection-switch-top; + } + } + oc-ext:openconfig-version "0.2.0"; + + uses transport-line-protection-top; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-transport-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-transport-types.yang new file mode 100644 index 0000000..96b62f0 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-transport-types.yang @@ -0,0 +1,595 @@ +module openconfig-transport-types { + yang-version 1; + namespace "http://openconfig.net/yang/transport-types"; + prefix oc-opt-types; + + import openconfig-platform-types { + prefix oc-platform-types; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + www.openconfig.net"; + description + "This module contains general type definitions and identities + for optical transport models."; + + revision 2016-06-17 { + description + "Public release"; + reference "0.3.1"; + } + + identity TRIBUTARY_PROTOCOL_TYPE { + description + "Base identity for protocol framing used by tributary + signals."; + } + + identity PROT_1GE { + base TRIBUTARY_PROTOCOL_TYPE; + description + "1G Ethernet protocol"; + } + + identity PROT_OC48 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OC48 protocol"; + } + + identity PROT_STM16 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "STM 16 protocol"; + } + + identity PROT_10GE_LAN { + base TRIBUTARY_PROTOCOL_TYPE; + description + "10G Ethernet LAN protocol"; + } + + identity PROT_10GE_WAN { + base TRIBUTARY_PROTOCOL_TYPE; + description + "10G Ethernet WAN protocol"; + } + + identity PROT_OC192 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OC 192 (9.6GB) port protocol"; + } + + identity PROT_STM64 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "STM 64 protocol"; + } + + identity PROT_OTU2 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU 2 protocol"; + } + + identity PROT_OTU2E { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU 2e protocol"; + } + + identity PROT_OTU1E { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU 1e protocol"; + } + + identity PROT_ODU2 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "ODU 2 protocol"; + } + + identity PROT_ODU2E { + base TRIBUTARY_PROTOCOL_TYPE; + description + "ODU 2e protocol"; + } + + identity PROT_40GE { + base TRIBUTARY_PROTOCOL_TYPE; + description + "40G Ethernet port protocol"; + } + + identity PROT_OC768 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OC 768 protocol"; + } + + identity PROT_STM256 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "STM 256 protocol"; + } + + identity PROT_OTU3 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU 3 protocol"; + } + + identity PROT_ODU3 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "ODU 3 protocol"; + } + + identity PROT_100GE { + base TRIBUTARY_PROTOCOL_TYPE; + description + "100G Ethernet protocol"; + } + + identity PROT_100G_MLG { + base TRIBUTARY_PROTOCOL_TYPE; + description + "100G MLG protocol"; + } + + identity PROT_OTU4 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU4 signal protocol (112G) for transporting + 100GE signal"; + } + + identity PROT_OTUCN { + base TRIBUTARY_PROTOCOL_TYPE; + description + "OTU Cn protocol"; + } + + identity PROT_ODU4 { + base TRIBUTARY_PROTOCOL_TYPE; + description + "ODU 4 protocol"; + } + + identity TRANSCEIVER_FORM_FACTOR_TYPE { + description + "Base identity for identifying the type of pluggable optic + transceiver (i.e,. form factor) used in a port."; + } + + identity CFP { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "C form-factor pluggable, that can support up to a + 100 Gb/s signal with 10x10G or 4x25G physical channels"; + } + + identity CFP2 { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "1/2 C form-factor pluggable, that can support up to a + 200 Gb/s signal with 10x10G, 4x25G, or 8x25G physical + channels"; + } + + identity CFP2_ACO { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "CFP2 analog coherent optics transceiver, supporting + 100 Gb, 200Gb, and 250 Gb/s signal."; + } + + identity CFP4 { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "1/4 C form-factor pluggable, that can support up to a + 100 Gb/s signal with 10x10G or 4x25G physical channels"; + } + + identity QSFP { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "Quad Small Form-factor Pluggable transceiver that can support + up to 4x10G physical channels"; + } + + identity QSFP28 { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "QSFP pluggable optic with support for up to 4x28G physical + channels"; + } + + identity SFP { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "Small form-factor pluggable transceiver supporting up to + 10 Gb/s signal"; + } + + identity SFP_PLUS { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "Enhanced small form-factor pluggable transceiver supporting + up to 16 Gb/s signals, including 10 GbE and OTU2"; + } + + identity XFP { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "10 Gigabit small form factor pluggable transceiver supporting + 10 GbE and OTU2"; + } + + identity X2 { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "10 Gigabit small form factor pluggable transceiver supporting + 10 GbE using a XAUI inerface and 4 data channels."; + } + + identity NON_PLUGGABLE { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "Represents a port that does not require a pluggable optic, + e.g., with on-board optics like COBO"; + } + + identity OTHER { + base TRANSCEIVER_FORM_FACTOR_TYPE; + description + "Represents a transceiver form factor not otherwise listed"; + } + + identity FIBER_CONNECTOR_TYPE { + description + "Type of optical fiber connector"; + } + + identity SC_CONNECTOR { + base FIBER_CONNECTOR_TYPE; + description + "SC type fiber connector"; + } + + identity LC_CONNECTOR { + base FIBER_CONNECTOR_TYPE; + description + "LC type fiber connector"; + } + + identity MPO_CONNECTOR { + base FIBER_CONNECTOR_TYPE; + description + "MPO (multi-fiber push-on/pull-off) type fiber connector + 1x12 fibers"; + } + + identity ETHERNET_PMD_TYPE { + description + "Ethernet compliance codes (PMD) supported by transceivers"; + } + + identity ETH_10GBASE_LRM { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 10GBASE_LRM"; + } + + identity ETH_10GBASE_LR { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 10GBASE_LR"; + } + + identity ETH_10GBASE_ZR { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 10GBASE_ZR"; + } + + identity ETH_10GBASE_ER { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 10GBASE_ER"; + } + + identity ETH_10GBASE_SR { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 10GBASE_SR"; + } + + identity ETH_40GBASE_CR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 40GBASE_CR4"; + } + + identity ETH_40GBASE_SR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 40GBASE_SR4"; + } + + identity ETH_40GBASE_LR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 40GBASE_LR4"; + } + + identity ETH_40GBASE_ER4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 40GBASE_ER4"; + } + + identity ETH_40GBASE_PSM4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 40GBASE_PSM4"; + } + + identity ETH_4X10GBASE_LR { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 4x10GBASE_LR"; + } + + identity ETH_4X10GBASE_SR { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 4x10GBASE_SR"; + } + + identity ETH_100G_AOC { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100G_AOC"; + } + + identity ETH_100G_ACC { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100G_ACC"; + } + + identity ETH_100GBASE_SR10 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_SR10"; + } + + identity ETH_100GBASE_SR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_SR4"; + } + + identity ETH_100GBASE_LR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_LR4"; + } + + identity ETH_100GBASE_ER4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_ER4"; + } + + identity ETH_100GBASE_CWDM4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_CWDM4"; + } + + identity ETH_100GBASE_CLR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_CLR4"; + } + + identity ETH_100GBASE_PSM4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_PSM4"; + } + + identity ETH_100GBASE_CR4 { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: 100GBASE_CR4"; + } + + identity ETH_UNDEFINED { + base ETHERNET_PMD_TYPE; + description + "Ethernet compliance code: undefined"; + } + + identity SONET_APPLICATION_CODE { + description + "Supported SONET/SDH application codes"; + } + + identity VSR2000_3R2 { + base SONET_APPLICATION_CODE; + description + "SONET/SDH application code: VSR2000_3R2"; + } + + identity VSR2000_3R3 { + base SONET_APPLICATION_CODE; + description + "SONET/SDH application code: VSR2000_3R3"; + } + + identity VSR2000_3R5 { + base SONET_APPLICATION_CODE; + description + "SONET/SDH application code: VSR2000_3R5"; + } + + identity SONET_UNDEFINED { + base SONET_APPLICATION_CODE; + description + "SONET/SDH application code: undefined"; + } + + identity OTN_APPLICATION_CODE { + description + "Supported OTN application codes"; + } + + identity P1L1_2D1 { + base OTN_APPLICATION_CODE; + description + "OTN application code: P1L1_2D1"; + } + + identity P1S1_2D2 { + base OTN_APPLICATION_CODE; + description + "OTN application code: P1S1_2D2"; + } + + identity P1L1_2D2 { + base OTN_APPLICATION_CODE; + description + "OTN application code: P1L1_2D2"; + } + + identity OTN_UNDEFINED { + base OTN_APPLICATION_CODE; + description + "OTN application code: undefined"; + } + + identity TRIBUTARY_RATE_CLASS_TYPE { + description + "Rate of tributary signal _- identities will typically reflect + rounded bit rate."; + } + + identity TRIB_RATE_1G { + base TRIBUTARY_RATE_CLASS_TYPE; + description + "1G tributary signal rate"; + } + + identity TRIB_RATE_2.5G { + base TRIBUTARY_RATE_CLASS_TYPE; + description + "2.5G tributary signal rate"; + } + + identity TRIB_RATE_10G { + base TRIBUTARY_RATE_CLASS_TYPE; + description + "10G tributary signal rate"; + } + + identity TRIB_RATE_40G { + base TRIBUTARY_RATE_CLASS_TYPE; + description + "40G tributary signal rate"; + } + + identity TRIB_RATE_100G { + base TRIBUTARY_RATE_CLASS_TYPE; + description + "100G tributary signal rate"; + } + + identity LOGICAL_ELEMENT_PROTOCOL_TYPE { + description + "Type of protocol framing used on the logical channel or + tributary"; + } + + identity PROT_ETHERNET { + base LOGICAL_ELEMENT_PROTOCOL_TYPE; + description + "Ethernet protocol framing"; + } + + identity PROT_OTN { + base LOGICAL_ELEMENT_PROTOCOL_TYPE; + description + "OTN protocol framing"; + } + + identity OPTICAL_CHANNEL { + base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; + description + "Optical channels act as carriers for transport traffic + directed over a line system. They are represented as + physical components in the physical inventory model."; + } + + typedef frequency-type { + type uint64; + units "MHz"; + description + "Type for optical spectrum frequency values"; + } + + typedef admin-state-type { + type enumeration { + enum "ENABLED" { + description + "Sets the channel admin state to enabled"; + } + enum "DISABLED" { + description + "Sets the channel admin state to disabled"; + } + enum "MAINT" { + description + "Sets the channel to maintenance / diagnostic mode"; + } + } + description + "Administrative state modes for + logical channels in the transponder model."; + } + + typedef loopback-mode-type { + type enumeration { + enum "NONE" { + description + "No loopback is applied"; + } + enum "FACILITY" { + description + "A loopback which directs traffic normally transmitted + on the port back to the device as if received on the same + port from an external source."; + } + enum "TERMINAL" { + description + "A loopback which directs traffic received from an external + source on the port back out the transmit side of the same + port."; + } + } + default "NONE"; + description + "Loopback modes for transponder logical channels"; + } + oc-ext:openconfig-version "0.3.1"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-types.yang new file mode 100644 index 0000000..4fab013 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-types.yang @@ -0,0 +1,299 @@ +module openconfig-types { + yang-version 1; + namespace "http://openconfig.net/yang/openconfig-types"; + prefix oc-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module contains a set of general type definitions that + are used across OpenConfig models. It can be imported by modules + that make use of these types."; + + revision 2017-01-13 { + description + "Add ADDRESS_FAMILY identity"; + reference "0.3.2"; + } + revision 2016-11-14 { + description + "Correct length of ieeefloat32"; + reference "0.3.1"; + } + revision 2016-11-11 { + description + "Additional types - ieeefloat32 and routing-password"; + reference "0.3.0"; + } + revision 2016-05-31 { + description + "OpenConfig public release"; + reference "0.2.0"; + } + + identity ADDRESS_FAMILY { + description + "A base identity for all address families"; + } + + identity IPV4 { + base ADDRESS_FAMILY; + description + "The IPv4 address family"; + } + + identity IPV6 { + base ADDRESS_FAMILY; + description + "The IPv6 address family"; + } + + identity MPLS { + base ADDRESS_FAMILY; + description + "The MPLS address family"; + } + + identity L2_ETHERNET { + base ADDRESS_FAMILY; + description + "The 802.3 Ethernet address family"; + } + + typedef percentage { + type uint8 { + range "0..100"; + } + description + "Integer indicating a percentage value"; + } + + typedef std-regexp { + type string; + description + "This type definition is a placeholder for a standard + definition of a regular expression that can be utilised in + OpenConfig models. Further discussion is required to + consider the type of regular expressions that are to be + supported. An initial proposal is POSIX compatible."; + } + + typedef timeticks64 { + type uint64; + description + "This type is based on the timeticks type defined in + RFC 6991, but with 64-bit width. It represents the time, + modulo 2^64, in hundredths of a second between two epochs."; + reference "RFC 6991 - Common YANG Data Types"; + } + + typedef ieeefloat32 { + type binary { + length "32"; + } + description + "An IEEE 32-bit floating point number. The format of this number + is of the form: + 1-bit sign + 8-bit exponent + 24-bit fraction + The floating point value is calculated using: + (-1)**S * 2**(Exponent-127) * (1+Fraction)"; + } + + typedef routing-password { + type string; + description + "This type is indicative of a password that is used within + a routing protocol which can be returned in plain text to the + NMS by the local system. Such passwords are typically stored + as encrypted strings. Since the encryption used is generally + well known, it is possible to extract the original value from + the string - and hence this format is not considered secure. + Leaves specified with this type should not be modified by + the system, and should be returned to the end-user in plain + text. This type exists to differentiate passwords, which + may be sensitive, from other string leaves. It could, for + example, be used by the NMS to censor this data when + viewed by particular users."; + } + + grouping avg-min-max-stats-precision1 { + description + "Common nodes for recording average, minimum, and + maximum values for a statistic. These values all have + fraction-digits set to 1."; + leaf avg { + type decimal64 { + fraction-digits 1; + } + description + "The arithmetic mean value of the statistic over the + sampling period."; + } + leaf min { + type decimal64 { + fraction-digits 1; + } + description + "The minimum value of the statistic over the sampling + period"; + } + leaf max { + type decimal64 { + fraction-digits 1; + } + description + "The maximum value of the statitic over the sampling + period"; + } + } + + grouping avg-min-max-instant-stats-precision1 { + description + "Common grouping for recording an instantaneous statistic value + in addition to avg-min-max stats"; + leaf instant { + type decimal64 { + fraction-digits 1; + } + description + "The instantaneous value of the statistic."; + } + uses avg-min-max-stats-precision1; + } + + grouping avg-min-max-instant-stats-precision2-dB { + description + "Common grouping for recording dB values with 2 decimal + precision. Values include the instantaneous, average, + minimum, and maximum statistics"; + leaf instant { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The instantaneous value of the statistic."; + } + leaf avg { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The arithmetic mean value of the statistic over the + sampling period."; + } + leaf min { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The minimum value of the statistic over the sampling + period"; + } + leaf max { + type decimal64 { + fraction-digits 2; + } + units "dB"; + description + "The maximum value of the statistic over the sampling + period"; + } + } + + grouping avg-min-max-instant-stats-precision2-dBm { + description + "Common grouping for recording dBm values with 2 decimal + precision. Values include the instantaneous, average, + minimum, and maximum statistics"; + leaf instant { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The instantaneous value of the statistic."; + } + leaf avg { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The arithmetic mean value of the statistic over the + sampling period."; + } + leaf min { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The minimum value of the statistic over the sampling + period"; + } + leaf max { + type decimal64 { + fraction-digits 2; + } + units "dBm"; + description + "The maximum value of the statistic over the sampling + period"; + } + } + + grouping avg-min-max-instant-stats-precision2-mA { + description + "Common grouping for recording mA values with 2 decimal + precision. Values include the instantaneous, average, + minimum, and maximum statistics"; + leaf instant { + type decimal64 { + fraction-digits 2; + } + units "mA"; + description + "The instantaneous value of the statistic."; + } + leaf avg { + type decimal64 { + fraction-digits 2; + } + units "mA"; + description + "The arithmetic mean value of the statistic over the + sampling period."; + } + leaf min { + type decimal64 { + fraction-digits 2; + } + units "mA"; + description + "The minimum value of the statistic over the sampling + period"; + } + leaf max { + type decimal64 { + fraction-digits 2; + } + units "mA"; + description + "The maximum value of the statistic over the sampling + period"; + } + } + oc-ext:openconfig-version "0.3.2"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-vlan-types.yang b/yang/modules/cisco-ios-xr/632/openconfig-vlan-types.yang new file mode 100644 index 0000000..99ee128 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-vlan-types.yang @@ -0,0 +1,138 @@ +module openconfig-vlan-types { + yang-version 1; + namespace "http://openconfig.net/yang/vlan-types"; + prefix oc-vlan-types; + + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module defines configuration and state variables for VLANs, + in addition to VLAN parameters associated with interfaces"; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + identity TPID_TYPES { + description + "Base identity for TPID values that can override the VLAN + ethertype value"; + } + + identity TPID_0x8100 { + base TPID_TYPES; + description + "Default TPID value for 802.1q single-tagged VLANs."; + } + + identity TPID_0x8A88 { + base TPID_TYPES; + description + "TPID value for 802.1ad provider bridging, Q-in-Q, + or stacked VLANs"; + } + + identity TPID_0x9100 { + base TPID_TYPES; + description + "Alternate TPID value"; + } + + identity TPID_0X9200 { + base TPID_TYPES; + description + "Alternate TPID value"; + } + + typedef vlan-id { + type uint16 { + range "1..4094"; + } + description + "Type definition representing a single-tagged VLAN"; + } + + typedef vlan-range { + type string { + pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\\.\\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$"; + } + description + "Type definition representing a range of single-tagged + VLANs. A range is specified as x..y where x and y are + valid VLAN IDs (1 <= vlan-id <= 4094). The range is + assumed to be inclusive, such that any VLAN-ID matching + x <= VLAN-ID <= y falls within the range."; + } + + typedef qinq-id { + type string { + pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\\*)$"; + } + description + "Type definition representing a single double-tagged/QinQ VLAN + identifier. The format of a QinQ VLAN-ID is x.y where X is the + 'outer' VLAN identifier, and y is the 'inner' VLAN identifier. + Both x and y must be valid VLAN IDs (1 <= vlan-id <= 4094) + with the exception that y may be equal to a wildcard (*). In + cases where y is set to the wildcard, this represents all inner + VLAN identifiers where the outer VLAN identifier is equal to + x"; + } + + typedef qinq-id-range { + type union { + type string { + pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\\.\\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\\*)$"; + } + type string { + pattern "^(\\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\\.\\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$"; + } + } + description + "A type definition representing a range of double-tagged/QinQ + VLAN identifiers. The format of a QinQ VLAN-ID range can be + specified in three formats. Where the range is outer VLAN IDs + the range is specified as x..y.z. In this case outer VLAN + identifiers meeting the criteria x <= outer-vlan-id <= y are + accepted iff the inner VLAN-ID is equal to y - or any inner-tag + if the wildcard is specified. Alternatively the range can be + specified as x.y..z. In this case only VLANs with an + outer-vlan-id qual to x are accepted (x may again be the + wildcard). Inner VLANs are accepted if they meet the inequality + y <= inner-vlan-id <= z."; + } + + typedef vlan-mode-type { + type enumeration { + enum "ACCESS" { + description + "Access mode VLAN interface (No 802.1q header)"; + } + enum "TRUNK" { + description + "Trunk mode VLAN interface"; + } + } + description + "VLAN interface mode (trunk or access)"; + } + + typedef vlan-ref { + type union { + type vlan-id; + type string; + } + description + "Reference to a VLAN by name or id"; + } + oc-ext:openconfig-version "1.0.2"; +} diff --git a/yang/modules/cisco-ios-xr/632/openconfig-vlan.yang b/yang/modules/cisco-ios-xr/632/openconfig-vlan.yang new file mode 100644 index 0000000..fbf0033 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/openconfig-vlan.yang @@ -0,0 +1,351 @@ +module openconfig-vlan { + yang-version 1; + namespace "http://openconfig.net/yang/vlan"; + prefix oc-vlan; + + import openconfig-vlan-types { + prefix oc-vlan-types; + } + import openconfig-interfaces { + prefix oc-if; + } + import openconfig-if-ethernet { + prefix oc-eth; + } + import openconfig-if-aggregate { + prefix oc-lag; + } + import iana-if-type { + prefix ift; + } + import openconfig-extensions { + prefix oc-ext; + } + + organization + "OpenConfig working group"; + contact + "OpenConfig working group + netopenconfig@googlegroups.com"; + description + "This module defines configuration and state variables for VLANs, + in addition to VLAN parameters associated with interfaces"; + + revision 2016-05-26 { + description + "OpenConfig public release"; + reference "1.0.2"; + } + + grouping vlan-config { + description + "VLAN configuration container."; + leaf vlan-id { + type oc-vlan-types:vlan-id; + description + "Interface VLAN id."; + } + leaf name { + type string; + description + "Interface VLAN name."; + } + leaf status { + type enumeration { + enum "ACTIVE" { + description + "VLAN is active"; + } + enum "SUSPENDED" { + description + "VLAN is inactive / suspended"; + } + } + default "ACTIVE"; + description + "Admin state of the VLAN"; + } + leaf tpid { + type identityref { + base oc-vlan-types:TPID_TYPES; + } + default "oc-vlan-types:TPID_0x8100"; + description + "Optionally set the tag protocol identifier field (TPID) that + is accepted on the VLAN"; + } + } + + grouping vlan-state { + description + "State variables for VLANs"; + } + + grouping vlan-members-state { + description + "List of interfaces / subinterfaces belonging to the VLAN."; + container members { + description + "Enclosing container for list of member interfaces"; + list member { + config false; + description + "List of references to interfaces / subinterfaces + associated with the VLAN."; + uses oc-if:interface-ref-state; + } + } + } + + grouping vlan-ethernet-config { + description + "VLAN related configuration that is part of the physical + Ethernet interface."; + leaf interface-mode { + type oc-vlan-types:vlan-mode-type; + description + "Set the interface to access or trunk mode for + VLANs"; + } + leaf native-vlan { + when "interface-mode = 'TRUNK'" { + description + "Native VLAN is valid for trunk mode interfaces"; + } + type union { + type oc-vlan-types:vlan-id; + type oc-vlan-types:qinq-id; + } + description + "Set the native VLAN id for untagged frames arriving on + a trunk interface. This configuration is only valid on + a trunk interface."; + } + leaf access-vlan { + when "interface-mode = 'ACCESS'" { + description + "Access VLAN assigned to the interfaces"; + } + type union { + type oc-vlan-types:vlan-id; + type oc-vlan-types:qinq-id; + } + description + "Assign the access vlan to the access port."; + } + leaf-list trunk-vlans { + when "interface-mode = 'TRUNK'" { + description + "Allowed VLANs may be specified for trunk mode + interfaces."; + } + type union { + type oc-vlan-types:vlan-id; + type oc-vlan-types:vlan-range; + type oc-vlan-types:qinq-id; + type oc-vlan-types:qinq-id-range; + } + description + "Specify VLANs, or ranges thereof, that the interface may + carry when in trunk mode. If not specified, all VLANs are + allowed on the interface. Ranges are specified in the form + x..y, where x' filter in + cli-template-string. + + Removed deprecated tailf:cli-default-order."; + } + + revision 2010-12-02 { + description + "Released as part of ConfD-3.4.1. + + Added cli-flatten-container."; + } + + revision 2010-11-04 { + description + "Released as part of ConfD-3.4. + + Added cli-key-format. + Added cli-list-syntax. + Added cli-flat-list-syntax. + + The following statements were added in ConfD-3.3.3: + + Added cli-suppress-list-no. + Added cli-suppress-no. + Added cli-full-no. + Added cli-incomplete-no."; + } + + revision 2010-09-16 { + description + "Released as part of ConfD-3.3.2. + + Added cli-autowizard. + Added cli-multi-word-key. + Added cli-no-match-completion."; + } + + revision 2010-08-19 { + description + "Released as part of ConfD-3.3.1. + + Added cli-show-template-footer. + Added cli-run-template-footer. + Added cli-table-footer. + Changed cli-table-legend to be a template."; + } + + revision 2010-06-17 { + description + "Released as part of ConfD-3.3. + + Added cli-display-empty-config. + + Added cli-expose-key-name. + + Added cli-value-display-template. + + Added cli-run-template. + Added cli-run-template-legend. + Added cli-run-template-enter. + + Added cli-suppress-key-sort. + + Added cli-suppress-validation-warning-prompt. + + Added 'hex' and 'hexlist' as display parameters in the + type cli-template-string. + + Deprecated tailf:cli-default-order."; + } + + revision 2010-03-18 { + description + "Released as part of ConfD-3.2."; + } + + extension cli-show-no { + tailf:use-in "leaf"; + tailf:use-in "list"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + tailf:use-in "container"; + description + "Specifies that an optional leaf node or presence container + should be displayed as 'no ' when it does not exist. + For example, if a leaf 'shutdown' has this property and + does not exist, 'no shutdown' is displayed. + + Used in I- and C-style CLIs."; + } + + + typedef tailf-disallow-pattern { + type string; + } + + extension cli-disallow-value { + argument value { + tailf:arg-type { + type tailf-disallow-pattern; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + description + "Specifies that a pattern for invalid values. + + Used in I- and C-style CLIs."; + } + + extension cli-boolean-no { + tailf:use-in "leaf"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + tailf:substatement "tailf:cli-reversed"; + description + "Specifies that a leaf of type boolean should be displayed as + '' if set to true, and 'no ' if set to + false. + + Used in I- and C-style CLIs."; + } + + extension cli-reversed { + tailf:use-in "tailf:cli-boolean-no"; + description + "Specified that true should be displayed as 'no ' and + false as 'name'. + + Used in I- and C-style CLIs."; + } + + extension cli-autowizard { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the autowizard should include this leaf even + if the leaf is optional. + + One use case is when implementing pre-configuration of devices. + A config false node can be defined for showing if the + configuration is active or not (preconfigured). + + Used in J-, I- and C-style CLIs."; + } + + extension cli-show-config { + tailf:use-in "leaf"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + description + "Specifies that the node will be included when doing a 'show + running-configuration', even if it is a non-config node. + + Used in I- and C-style CLIs."; + } + + + extension cli-display-empty-config { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the node will be included when doing a 'show + stats', even if it is a non-config node, provided + that the list contains at least one non-config node. + + Used in J-style CLI."; + } + + extension cli-mode-name { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a custom mode name, instead of the default which is the + name of the list or container node. + + Can be used in config nodes only. If used in a container, the + container must also have a tailf:cli-add-mode statement, and if + used in a list, the list must not also have a + tailf:cli-suppress-mode statement. + + Variables for the list keys in the current mode are available. + For examples, 'config-foo-xx$(name)' (privided the key leaf + is called 'name'). + + Used in I- and C-style CLIs."; + } + + extension cli-show-order-taglist { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a custom display order for nodes with the + tailf:cli-show-order-tag attribute. Nodes will be displayed + in the order indicated in the list. Nodes without a tag will + be displayed after all nodes with a tag have been displayed. + + The scope of a taglist is until a new taglist is encountered. + + Used in I- and C-style CLIs."; + } + + extension cli-show-order-tag { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a custom display order for nodes with the + tailf:cli-show-order-tag attribute. Nodes will be displayed + in the order indicated by a cli-show-order-taglist attribute in + a parent node. + + The scope of a tag reaches until a new taglist is encountered. + + Used in I- and C-style CLIs."; + } + + extension cli-mode-name-actionpoint { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that a custom function will be invoked to find out the mode + name, instead of using the default with is the name of the list + or container node. + + The argument is the name of an actionpoint, which must be + implemented by custom code. In the actionpoint, the command() + callback function will be invoked, and it must return a string + with the mode name. See confd_lib_dp(3) for details. + + Can be used in config nodes only. If used in a container, the + container must also have a tailf:cli-add-mode statement, and if + used in a list, the list must not also have a + tailf:cli-suppress-mode statement. + + Used in I- and C-style CLIs."; + } + + extension cli-add-mode { + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Creates a mode of the container. + + Can be used in config nodes only. + + Used in I- and C-style CLIs."; + } + + extension cli-flatten-container { + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Allows the CLI to exit the container and continue to input + from the parent container when all leaves in the current + container has been set. + + Can be used in config nodes only. + + Used in I- and C-style CLIs."; + } + + extension cli-suppress-mode { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to not make a mode of the list node. + + Can be used in config nodes only. + + Used in I- and C-style CLIs."; + } + + extension cli-delete-when-empty { + tailf:use-in "list"; + description + "Instructs the CLI engine to delete the list when the last list + instance is deleted'. Requires that cli-suppress-mode and + cli-compact-syntax are set. + + The behavior is recursive. If all optional leafs in a list + instance are deleted the list instance itself is deleted. If + that list instance happens to be the last list instance in a + list it is also deleted. And so on. Used in I- and C-style + CLIs."; + } + + extension cli-remove-before-change { + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to generate a no-command before + modifying an existing instance. It only applies when + generating diffs, eg 'show configuration' in C-style."; + } + + extension cli-no-value-on-delete { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "When displaying the deleted version of this leaf do not + include the old value. + + Applies to C-style"; + } + + extension cli-no-name-on-delete { + tailf:use-in "leaf"; + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "When displaying the deleted version of this leaf do not + include the name. + + Applies to C-style"; + } + + + extension cli-diff-dependency { + argument path { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Tells the 'show configuration' command, and the diff generator + that this node depends on another node. When removing the node + with this declaration, it should be removed before the node + it depends on is removed, ie the declaration controlls the ordering + of the commands in the 'show configuration' output. + + Applies to C-style"; + } + + extension cli-ignore-modified { + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Tells the cdb_cli_diff_iterate system call to not generate + a CLI string when this container is modified. The string will + instead be generated for the modified sub-element. + + Applies to C-style and I-style"; + } + + extension cli-show-long-obu-diffs { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to not generate 'insert' comments + when displaying configuration changes of ordered-by user + lists, but instead explicitly remove old instances with 'no' + and then add the instances following a newly inserted instance."; + } + + extension cli-allow-join-with-key { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-display-joined"; + description + "Indicates that the leaf name may be written together + with the first key, without requiring a whitespace + in between, ie allowing both + interface ethernet1/1 + and + interface ethernet 1/1 + + Used in I- and C-style CLIs."; + } + + extension cli-display-joined { + tailf:use-in "tailf:cli-allow-with-key"; + description + "Specifies that the joined version should be used when displaying + the configuration in C- and I- mode."; + } + + extension cli-exit-command { + argument value { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + tailf:substatement "tailf:info"; + description + "Tells the CLI to add an explicit exit-from-submode command. + The tailf:info substatement can be used for adding a custom + info text for the command. + + Used in I- and C-style CLIs."; + } + + + extension cli-key-format { + argument value { + yin-element true; + tailf:arg-type { + type cli-key-format-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "The format string is used when parsing a key value and when + generating a key value for an existing configuration. The key + items are numbered from 1-N and the format string should + indicate how they are related by using $(X) (where X is the + key number). For example: + + tailf:cli-key-format '$(1)-$(2)' means that the first key + item is concatenated with the second key item by a '-'. + + Used in J-, I- and C-style CLIs."; + } + + typedef cli-key-format-string { + type string; + description + ""; + } + + extension cli-suppress-key-sort { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to not sort the keys in alphabetical order + when presenting them to the user during TAB completion. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-suppress-table { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to not print the list as a table in + the 'show' command. + + Can be used in non-config nodes only. + + Used in I- and C-style CLIs."; + } + + extension cli-suppress-validation-warning-prompt { + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "container"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to not prompt the user whether to proceed + or not if a warning is generated for this node. + + Used in I- and C-style CLIs."; + } + + + extension cli-suppress-key-abbreviation { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Key values cannot be abbreviated. The user must always give + complete values for keys. + + In the J-style CLI this is relevant when using the commands + 'delete' and 'edit'. + + In the I- and C-style CLIs this is relevant when using the + commands 'no', 'show configuration' and for commands to enter + submodes. + + See also /confdConfig/cli/allowAbbrevKeys in confd.conf(5)."; + } + + extension cli-allow-key-abbreviation { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Key values can be abbreviated. + + In the J-style CLI this is relevant when using the commands + 'delete' and 'edit'. + + In the I- and C-style CLIs this is relevant when using the + commands 'no', 'show configuration' and for commands to enter + submodes. + + See also /confdConfig/cli/allowAbbrevKeys in confd.conf(5)."; + } + + extension cli-table-legend { + argument value { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be printed before all list entries are + printed. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-table-footer { + argument value { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be printed after all list entries are + printed. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-completion-actionpoint { + argument value { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-completion-id"; + description + "Specifies that completion for the leaf values is done through a + callback function. + + The argument is the name of an actionpoint, which must be + implemented by custom code. In the actionpoint, the completion() + callback function will be invoked. See confd_lib_dp(3) for details. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-completion-id { + argument value { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "tailf:cli-completion-actionpoint"; + tailf:use-in "tailf:cli-custom-range-actionpoint"; + description + "Specifies a string which is passed to the callback when invoked. + This makes it possible to use the same callback at several + locations and still keep track of which point it is invoked + from."; + } + + extension cli-allow-caching { + tailf:use-in "tailf:cli-custom-range-actionpoint"; + tailf:use-in "tailf:cli-custom-range-enumerator"; + description + "Allow caching of the evaluation results between different parent paths."; + } + + extension cli-multi-word-key { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-max-words"; + description + "Specifies that the key should allow multiple tokens for the + value. Proper type restrictions needs to be used to limit + the range of the leaf value. + + Can be used in key leafs only. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-max-words { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "tailf:cli-multi-word-key"; + tailf:use-in "tailf:cli-multi-word"; + tailf:use-in "tailf:cli-multi-value"; + description + "Specifies the maximum number of allowed words for the key or value."; + } + + extension cli-allow-range { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Means that the non-integer key should allow range expressions. + + Can be used in key leafs only. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-range-delimiters { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Allows for custom delimiters to be defined for range expressions. + By default only / is considered a delimiter, ie when processing + a key like 1/2/3 then each of 1, 2 and 3 will be matched separately + agains range expressions, ie given the expression 1-3/5-6/7,8 + 1 will be matched with 1-3, 2 with 5-6, and 3 with 7,8. If, for + example, the delimiters value is set to '/.' then both '/' and + '.' will be considered delimiters and an key such as 1/2/3.4 will + consist of the enteties 1,2,3,4, all matched separately. + + Used in J-, I- and C-style CLIs."; + } + + + extension cli-suppress-range { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Means that the integer key should not allow range expressions. + + Can be used in key leafs only. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-custom-range { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-range-type"; + description + "Specifies that the key should support ranges. A type matching the + range expression must be supplied. + + Can be used in key leafs only. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-custom-range-actionpoint { + argument value { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-completion-id"; + tailf:substatement "tailf:cli-allow-caching"; + description + "Specifies that the list supports range expressions and that a custom + function will be invoked to determine if an instance belong in + the range or not. At least one key element needs a + cli-custom-range statement. + + The argument is the name of an actionpoint, which must be + implemented by custom code. In the actionpoint, the + completion() callback function will be invoked. See + confd_lib_dp(3) for details. + + When a range expression value which matches the type is given in + the CLI, the CLI engine will invoke the callback with each + existing list entry instance. If the callback returns CONFD_OK, + it matches the range expression, and if it returns CONFD_ERR, it + doesn't match. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-custom-range-enumerator { + argument value { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-completion-id"; + tailf:substatement "tailf:cli-allow-caching"; + description + "Specifies a callback to invoke to get an array of + instances matching a regular expression. This is used + when instances should be allowed to be created using + a range expression in set. + + The callback is not used for delete or show operations. + + The callback is allowed to return a superset of all matching + instances since the instances will be filtered using the + range expression afterwards. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-range-type { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:cli-custom-range"; + description + "This statement contains the name of a derived type, possibly + with a prefix. If no prefix is given, the type must be defined in + the local module. For example: + + cli-range-type p:my-range-type; + + All range expressions must match this type, and a valid key + value must not match this type."; + } + + extension cli-allow-wildcard { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Means that the list allows wildcard expressions in the 'show' pattern. + + See also /confdConfig/cli/allowWildcard in confd.conf(5). + + Used in J-, I- and C-style CLIs."; + } + + extension cli-suppress-wildcard { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Means that the list does not allow wildcard expressions in the 'show' + pattern. + + See also /confdConfig/cli/allowWildcard in confd.conf(5). + + Used in J-, I- and C-style CLIs."; + } + + extension cli-configure-mode { + tailf:use-in "tailf:action"; + tailf:use-in "rpc"; + tailf:use-in "refine"; + description + "An action or rpc with this attribute will be available in + configure mode. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-operational-mode { + tailf:use-in "tailf:action"; + tailf:use-in "rpc"; + tailf:use-in "refine"; + description + "An action or rpc with this attribute will be available in + operational mode. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-delayed-auto-commit { + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Enables transactions while in a specific submode (or submode of that + mode). The modifications performed in that mode will not take effect + until the user exits that submode. + + Can be used in config nodes only. If used in a container, the + container must also have a tailf:cli-add-mode statement, and if + used in a list, the list must not also have a + tailf:cli-suppress-mode statement. + + Used in I- and C-style CLIs."; + } + + extension cli-preformatted { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Suppresses quoting of non-config elements when displaying them. + Newlines will be preserved in strings etc. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-trim-default { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Do not display value if it is same as default. + + Used in I- and C-style CLIs."; + } + + extension cli-expose-key-name { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Force the user to enter the name of the key and display the + key name when displaying the running-configuration + in C- and I-mode. + + Used in J-, I- and C-style CLIs."; + } + + + extension cli-enforce-table { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Forces the generation of a table for a list element node regardless of + whether the table will be too wide or not. This applies to the + tables generated by the auto-rendred show commands for non-config data. + + Used in I- and C-style CLIs."; + } + + extension cli-drop-node-name { + tailf:use-in "leaf"; + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the name of a node is not present in the CLI. + + If tailf:cli-drop-node-name is given on a child to a list node, + we recommend that you also use tailf:cli-suppress-mode on that + list node, otherwise the CLI will be very confusing. + + For example, consider this data model, from the tailf-aaa module: + + list alias { + key name; + leaf name { + type string; + } + leaf expansion { + type string; + mandatory true; + tailf:cli-drop-node-name; + } + } + + If you type 'alias foo' in the CLI, you would end up in the + 'alias' submode. But since the expansion is dropped, you would + end up specifying the expansion value without typing any command. + + If, on the other hand, the 'alias' list had a + tailf:cli-suppress-mode statement, you would set an expansion + 'bar' by typing 'alias foo bar'. + + tailf:cli-drop-node-name cannot be used inside tailf:action. + + Used in I- and C-style CLIs."; + } + + extension cli-compact-syntax { + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Instructs the CLI engine to use the compact representation for this + node in the 'show running-configuration' command. The compact + representation means that all leaf elements are shown on a + single line. + + Used in I- and C-style CLIs."; + } + + extension cli-compact-stats { + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-wrap"; + tailf:substatement "tailf:cli-width"; + tailf:substatement "tailf:cli-delimiter"; + tailf:substatement "tailf:cli-prettify"; + tailf:substatement "tailf:cli-spacer"; + description + "Instructs the CLI engine to use the compact representation for this + node. The compact representation means that all leaf elements + are shown on a single line. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-wrap { + tailf:use-in "tailf:cli-compact-stats"; + description + "If present, the line will be wrapped at screen width."; + } + + extension cli-width { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "tailf:cli-compact-stats"; + description + "Specifies a fixed terminal width to use before wrapping line. It is + only used when tailf:cli-wrap is present. If a width is not + specified the line is wrapped when the terminal width is + reached."; + } + + extension cli-delimiter { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:cli-compact-stats"; + description + "Specifies a string to print between the leaf name and its value + when displaying leaf values."; + } + + extension cli-prettify { + tailf:use-in "tailf:cli-compact-stats"; + description + "If present, dashes (-) and underscores (_) in leaf names are replaced + with spaces."; + } + + extension cli-spacer { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:cli-compact-stats"; + description + "Specifies a string to print between the nodes."; + } + + + extension cli-column-stats { + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + description + "Display leafs in the container as columns, i.e., do not repeat + the name of the container on each line, but instead indent each + leaf under the container. + + Used in I- and C-style CLIs."; + } + + extension cli-column-width { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Set a fixed width for the column in the auto-rendered tables. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-min-column-width { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Set a minimum width for the column in the auto-rendered tables. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-column-align { + argument value { + tailf:arg-type { + type enumeration { + enum left; + enum center; + enum right; + } + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies the alignment of the data in the column in the + auto-rendered tables. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-list-syntax { + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-multi-word"; + description + "Specifies that each entry in a leaf-list should be displayed as + a separate element. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-multi-word { + tailf:use-in "tailf:cli-list-syntax"; + tailf:substatement "tailf:cli-max-words"; + description + "Specifies that a multi-word value may be entered without quotes."; + } + + extension cli-flat-list-syntax { + tailf:use-in "leaf-list"; + tailf:substatement "tailf:cli-replace-all"; + tailf:use-in "refine"; + description + "Specifies that elements in a leaf-list should be entered without + surrounding brackets. Also, multiple elements can be added to a list + or deleted from a list. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-replace-all { + tailf:use-in "tailf:cli-flat-list-syntax"; + description + "Specifies that the new value should replace the old, as opposed + to be added to the old list"; + } + + extension cli-range-list-syntax { + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "refine"; + description + "Specifies that elements in a leaf-list or a list should be entered + without surrounding brackets and presented as ranges. The + element in the list should be separated by a comma. For + example: + + vlan 1,3,10-20,30,32,300-310 + + When this statement is used for lists, the list must have a + single key. The elements are be presented as ranges as above. + + The type of the list key, or the leaf-list, must be integer based. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-incomplete-command { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that an auto-rendered command should be considered + incomplete. Can be used to prevent from appearing in + the completion list for optional internal nodes, for example, or + to ensure that the user enters all leaf values in a container + (if used in combination with cli-sequence-commands). + + Used in I- and C-style CLIs."; + } + + extension cli-full-command { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that an auto-rendered command should be considered complete, + ie, no additional leaves or containers can be entered on the same + command line. + + Used in I- and C-style CLIs."; + } + + extension cli-sequence-commands { + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-reset-siblings"; + tailf:substatement "tailf:cli-reset-all-siblings"; + description + "Specifies that an auto-rendered command should only accept arguments + in the same order as they are specified in the YANG model. + This, in combination with tailf:cli-drop-node-name, can be used + to create CLI commands for setting multiple leafs in a container + without having to specify the leaf names. + + Used in I- and C-style CLIs."; + } + + extension cli-reset-siblings { + tailf:use-in "tailf:cli-sequence-commands"; + description + "Specifies that all sibling leaves in the sequence should be reset + whenever the first leaf in the sequence is set."; + } + + extension cli-reset-all-siblings { + tailf:use-in "tailf:cli-sequence-commands"; + description + "Specifies that all sibling leaves in the container should be reset + whenever the first leaf in the sequence is set."; + } + + extension cli-reset-container { + tailf:use-in "leaf"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that all sibling leaves in the container should be + reset when this element is set. + + When used on a container its content is cleared when set."; + } + + extension cli-delete-container-on-delete { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the parent container should be deleted when +. this leaf is deleted."; + } + + extension cli-break-sequence-commands { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that previous cli-sequence-command declaration should + stop at this point. Only applicable when a cli-sequence-command + declaration has been used in the parent container. + + Used in I- and C-style CLIs."; + } + + extension cli-optional-in-sequence { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that this element is optional in the sequence. If it + is set it must be set in the right sequence but may be skipped. + + Used in I- and C-style CLIs."; + } + + extension cli-incomplete-show-path { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-min-keys"; + description + "Specifies that a path to the show command is considered incomplete, + i.e., it needs more elements added to the path. It can also be used + to specify a minimum number of keys to be given for lists. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-min-keys { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "tailf:cli-incomplete-show-path"; + description + "Specifies the minimum number of required keys for the show command."; + } + + extension cli-hide-in-submode { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Hide leaf when submode has been entered. Mostly useful when + leaf has to be entered in order to enter a submode. + + Used in I- and C-style CLIs."; + } + + extension cli-prefix-key { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:use-in "leaf-list"; + tailf:substatement "tailf:cli-before-key"; + description + "This leaf has to be given as a prefix before entering the actual + list keys. Very backwards but a construct that exists in some + Cisco CLIs. + + The construct can be used also for leaf-lists but only when + then tailf:cli-range-list-syntax is also used. + + Used in I- and C-style CLIs."; + } + + extension cli-before-key { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "tailf:cli-prefix-key"; + description + "Specifies before which key the prefix element should be inserted. + The first key has number 1."; + } + + extension cli-show-with-default { + tailf:use-in "leaf"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + description + "This leaf will be displayed even when it has its default value. + Note that this will somewhat result in a slightly different behaviour + when you save a config and then load it again. With this setting + in place a leaf that has not been configured will be configured + after the load. + + Used in I- and C-style CLIs."; + } + + extension cli-oper-info { + argument text { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "rpc"; + tailf:use-in "identity"; + tailf:use-in "tailf:action"; + tailf:use-in "tailf:symlink"; + tailf:use-in "refine"; + description + "This statement works exactly as tailf:info, with the exception + that it is used when displaying the element info in the context + of stats. + + Both tailf:info and tailf:cli-oper-info can be present at the same + time."; + } + + extension cli-case-sensitive { + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + description + "Specifies that this node is case-sensitive. + If applied to a container or a list, any nodes below will + also be case-sensitive. + + Note that this will override any case-sensitivity settings + configured in confd.conf"; + } + + extension cli-case-insensitive { + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + description + "Specifies that node is case-insensitive. + If applied to a container or a list, any nodes below will + also be case-insensitive. + + Note that this will override any case-insensitivity settings + configured in confd.conf"; + } + + extension cli-custom-error { + argument text { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "tailf:symlink"; + tailf:use-in "refine"; + description + "This statement specifies a custom error message to be displayed + when the user enters an invalid value."; + } + + extension cli-full-show-path { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-max-keys"; + description + "Specifies that a path to the show command is considered complete, i.e., + no more elements can be added to the path. It can also be used to + specify a maximum number of keys to be given for lists. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-max-keys { + argument value { + tailf:arg-type { + type uint32; + } + } + tailf:use-in "tailf:cli-full-show-path"; + description + "Specifies the maximum number of allowed keys for the show command."; + } + + extension cli-suppress-show-path { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that the show command cannot be invoked with the path, + ie the path is suppressed when auto-rendering show commands for + config='false' data. + + Used in J-, I- and C-style CLIs."; + } + + + extension cli-suppress-show-match { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that a specific completion match (i.e., a filter match that + appear at list nodes as an alternative to specifying a single + instance) to the show command should not be available. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-suppress-list-no { + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the CLI should not accept deletion of the entire list + or leaf-list. Only specific instances should be deletable not the + entire list in one command. ie, 'no foo ' should be allowed + but not 'no foo'. + + Used in I- and C-style CLIs."; + } + + extension cli-suppress-no { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that the CLI should not auto-render 'no' commands for + this element. An element with this annotation will not appear in the + completion list to the 'no' command. + + Used in I- and C-style CLIs."; + } + + extension cli-suppress-silent-no { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that the confd.cnof directive cSilentNo should be + suppressed for a leaf and that a custom error message should + be displayed when the user attempts to delete a non-existing + element. + + Used in I- and C-style CLIs."; + } + + + extension cli-full-no { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Specifies that an auto-rendered 'no'-command should be considered complete, + ie, no additional leaves or containers can be entered on the same + command line. + + Used in I- and C-style CLIs."; + } + + extension cli-incomplete-no { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that an auto-rendered 'no'-command should not be considered + complete, ie, additional leaves or containers must be entered on the same + command line. + + Used in I- and C-style CLIs."; + } + + extension cli-no-match-completion { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the CLI engine should not provide match completion + for the key leafs in the list. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-suppress-show-conf-path { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the show running-config command cannot be invoked with + the path, ie the path is suppressed when auto-rendering show running- + config commands for config='true' data. + + Used in J-, I- and C-style CLIs."; + } + + + extension cli-no-key-completion { + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies that the CLI engine should not perform completion for key + leafs in the list. This is to avoid querying the data provider + for all existing keys. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-instance-info-leafs { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "This statement is used to specifiy how list entries are displayed + when doing completion in the CLI. By default, a list entry is + displayed by listing its key values, and the value of a leaf + called 'description', if such a leaf exists in the list entry. + + The 'cli-instance-info-leafs' statement takes as its argument a + space separated string of leaf names. When a list entry is + displayed, the values of these leafs are concatenated with a + space character as separator and shown to the user. + + For example, when asked to specify an interface the CLI will + display a list of possible interface instances, say 1 2 3 4. If + the cli-instance-info-leafs property is set to 'description' then + the CLI might show: + + Possible completions: + 1 - internet + 2 - lab + 3 - dmz + 4 - wlan + + Used in J-, I- and C-style CLIs."; + } + + extension cli-multi-value { + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-max-words"; + description + "Specifies that all remaining tokens on the command line + should be considered a value for this leaf. This prevents + the need for quoting values containing spaces, but also + prevents multiple leaves from being set on the same command + line once a multi-value leaf has been given on a line. + + If the tailf:cli-max-words substatements is used then + additional leaves may be entered. + + Used in I- and C-style CLIs."; + } + + extension cli-value-display-template { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "leaf"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be used when formating the + value of a leaf for display. Note that other leaves cannot + be referenced from a display template of one leaf. The only + value accessible is the leaf's own value, accessed through + $(.). + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + + extension cli-show-template { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:substatement "tailf:cli-auto-legend"; + description + "Specifies a template string to be used by the 'show' command in + operational mode. It is primarily intended for displaying + non-config data but config data may be included in the template + as well. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-auto-legend { + tailf:use-in "tailf:cli-show-template"; + description + "Specifies that the legend should be automatically rendered if not " + +"already displayed. Useful when using templates for rendering " + +"tables."; + } + + extension cli-show-template-legend { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "refine"; + description + + "Specifies a template string to be printed before all list entries are + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-show-template-enter { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be printed before each list entry is + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-show-template-footer { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + + "Specifies a template string to be printed after all list entries are + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-run-template { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be used by the 'show running-config' + command in operational mode. It is primarily intended for displaying + non-config data but config data may be included in the template + as well. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-run-template-legend { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + + "Specifies a template string to be printed before all list entries are + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-run-template-enter { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Specifies a template string to be printed before each list entry is + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + extension cli-run-template-footer { + argument value { + yin-element true; + tailf:arg-type { + type cli-template-string; + } + } + tailf:use-in "list"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + + "Specifies a template string to be printed after all list entries are + printed. + + See the defintion of cli-template-string for more info. + + Used in J-, I- and C-style CLIs."; + } + + typedef cli-template-string { + type string; + description + "A template is a text string which is expanded by the CLI engine, + and then displayed to the user. + + The template may contain a mix of text and expandable entries. + Expandable entries all start with $( and end with a matching ). + Parentheses and dollar signs need to be quoted in plain text. + + The template is expanded as follows: + + A parameter is either a relative or absolute path to a leaf + element (eg /foo/bar, foo/bar), or one of the builtin variables: + .selected, .entered, .legend_shown, .user, .groups, .ip, + .display_groups, .path, .ipath or .licounter. In addition the + variables \"spath\" and \"ispath\" are available when a command + is executed from a show path. + + .selected + + The .selected variable contains the list of selected paths + to be shown. The show template can inspect this element to + determine if a given element should be displayed or + not. For example: + + $(.selected~=hwaddr?HW Address) + + .entered + + The .entered variable is true if the \"entered\" text has + been displayed (either the auto generated text or a + showTemplateEnter). This is useful when having a non-table + template where each instance should have a text. + + $(.entered?:host $(name)) + + .legend_shown + + The .legend_shown variable is true if the \"legend\" text has + been displayed (either the auto generated table header or + a showTemplateLegend). This is useful to inspect when + displaying a table row. If the user enteres the path to a + specific instance the builtin table header will not be + displayed and the showTemplateLegend will not be invoked + and it may be useful to render the legend specifically + for this instance. + + $(.legend_shown!=true?Address Interface) + + .user + + The .user variable contains the name of the current + user. This can be used for differentiating the content + displayed for a specific user, or in paths. For exapmle: + + $(user{$(.user)}/settings) + + .groups + + The .groups variable contains the a list of groups that the + user belongs to. + + .display_groups + + The .display_groups variable contains a list of selected + display groups. This can be used to display different + content depending on the selected display group. For + example: + + $(.display_groups~=details?details...) + + .ip + + The .ip variable contains the ip address that the user + connected from. + + .path + + The .path variable contains the path to the entry, + formated in CLI style. + + .ipath + + The .ipath variable contains the path to the entry, + formated in template style. + + .spath + + The .spath variable contains the show path, + formated in CLI style. + + .ispath + + The .ispath variable contains the show path, + formated in template style. + + .licounter + + The .licounter variable contains a counter that is + incremented for each instance in a list. This means that + it will be 0 in the legend, contain the total number of + list instances in the footer and something in between in + the basic show template. + + $(parameter) + + The value of 'parameter' is substituted. + + $(cond?word1:word2) + + The expansion of 'word1' is substituted if 'cond' + evaluates to true, otherwise the expansion of 'word2' is + substituted. + + 'cond' may be one of + + parameter + + Evaluates to true if the node exists. + + parameter == + + Evaluates to true if the value of the parameter equals + . + + parameter != + + Evalutes to true if the value of the parameter does not + equal + + parameter ~= + + Provided that the value of the parameter is a list + (i.e., the node that the parameter refers to is a + leaf-list), this expression evaluates to true if + is a member of the list. + + $(parameter|filter) + + The value of 'parameter' processed by 'filter' is + substituted. Filters may be either one of the + built-ins or a customized filter defined in a + callback. See /confdConfig/cli/templateFilter. + + A built-in 'filter' may be one of: + + capfirst + + Capitalizes the first character of the value. + + lower + + Converts the value into lowercase. + + upper + + Converts the value into uppercase. + + filesizeformat + + Formats the value in a human-readable format (e.g., + '13 KB', '4.10 MB', '102 bytes' etc), where K + means 1024, M means 1024*1024 etc. + + When used without argument the default number of + decimals displayed is 2. When used with a numeric + integer argument, filesizeformat will display the + given number of decimal places. + + humanreadable + + Similar to filesizeformat except no bytes suffix + is added (e.g., '13.00 k', '4.10 M' '102' etc), + where k means 1000, M means 1000*1000 etc. + + When used without argument the default number of + decimals displayed is 2. When used with a numeric + integer argument, humanreadable will display the + given number of decimal places. + + commasep + + Separate the numerical values into groups of three + digits using a comma (e.g., 1234567 -> 1,234,567) + + hex + + Display integer as hex number. An argument can be + used to indicate how many digits should be used in + the output. If the hex number is too long it will + be truncated at the front, if it is too short it will + be padded with zeros at the front. If the width is + a negative number then at most that number of digits + will be used, but short numbers will not be padded + with zeroes. + + For example: + + value Template Output + 12345 {{ value|hex }} 3039 + 12345 {{ value|hex:2 }} 39 + 12345 {{ value|hex:8 }} 00003039 + 12345 {{ value|hex:-8 }} 3039 + + hexlist + + Display integer as hex number with : between pairs. An + argument can be used to indicate how many digits should + be used in the output. If the hex number is too long it + will be truncated at the front, if it is too short it will + be padded with zeros at the front. If the width is + a negative number then at most that number of digits + will be used, but short numbers will not be padded + with zeroes. + + For example: + + value Template Output + 12345 {{ value|hexlist }} 30:39 + 12345 {{ value|hexlist:2 }} 39 + 12345 {{ value|hexlist:8 }} 00:00:30:39 + 12345 {{ value|hexlist:-8 }} 30:39 + + floatformat + + Used for type 'float' in tailf-xsd-types. We recommend + that the YANG built-in type 'decimal64' is used instead of + 'float'. + + When used without an argument, rounds a floating-point + number to one decimal place -- but only if there is a + decimal part to be displayed. + + For example: + + value Template Output + 34.23234 {{ value|floatformat }} 34.2 + 34.00000 {{ value|floatformat }} 34 + 34.26000 {{ value|floatformat }} 34.3 + + If used with a numeric integer argument, floatformat + rounds a number to that many decimal places. For example: + + value Template Output + 34.23234 {{ value|floatformat:3 }} 34.232 + 34.00000 {{ value|floatformat:3 }} 34.000 + 34.26000 {{ value|floatformat:3 }} 34.260 + + If the argument passed to floatformat is negative, it will + round a number to that many decimal places -- but only if + there's a decimal part to be displayed. For example: + + value Template Output + 34.23234 {{ value|floatformat:-3 }} 34.232 + 34.00000 {{ value|floatformat:-3 }} 34 + 34.26000 {{ value|floatformat:-3 }} 34.260 + + Using floatformat with no argument is equivalent to using + floatformat with an argument of -1. + + ljust:width + + Left-align the value given a width. + + rjust:width + + Right-align the value given a width. + + trunc:width + + Truncate value to a given width. + + lower + + Convert the value into lowercase. + + upper + + Convert the value into uppercase. + + show: + + Substitutes the result of invoking the default display + function for the parameter. The dictionary can be used + for introducing own variables that can be accessed in + the same manner as builtin variables. The user defined + variables overrides builtin variables. The dictionary + is specified as a string on the following form: + + (key=value)(:key=value)* + + For example, with the following expression: + + $(foo|show:myvar1=true:myvar2=Interface) + + the user defined variables can be accessed like this: + + $(.myvar1!=true?Address) $(.myvar2) + + A special case is the dict variable 'indent'. It + controls the indentation level of the displayed path. + The current indent level can be incremented and + decremented using =+ and =-. + + For example: + + $(foobar|show:indent=+2) + $(foobar|show:indent=-1) + $(foobar|show:indent=10) + + Another special case is he dict variable 'noalign'. + It may be used to suppress the default aligning that + may occur when displaying an element. + + For example: + + $(foobar|show:noalign) + + dict: + + Translates the value using the dictionary. Can for + example be used for displaying on/off instead of + true/false. The dictionary is specified as a string on + the following form: + + (key=value)(:key=value)* + + For example, with the following expression: + + $(foo|dict:true=on:false=off) + + if the leaf 'foo' has value 'true', it is displayed as 'on', and + if its value is 'false' it is displayed as 'off'. + + Nested invocations are allowed, ie it is possible to have expressions + like $((state|dict:yes=Yes:no=No)|rjust:14), or $(/foo{$(../bar)}) + + + For example: + + list interface { + key name; + leaf name { ... } + leaf status { ... } + container line { + leaf status { ... } + } + leaf mtu { ... } + leaf bw { ... } + leaf encapsulation { ... } + leaf loopback { ... } + tailf:cli-show-template + '$(name) is administratively $(status),' + + ' line protocol is $(line/status)\\n' + + 'MTU $(mtu) bytes, BW $(bw|humanreadable)bit, \\n' + + 'Encap $(encapsulation|upper), $(loopback?:loopback not set)\\n'; + }"; + } + +} diff --git a/yang/modules/cisco-ios-xr/632/tailf-common.yang b/yang/modules/cisco-ios-xr/632/tailf-common.yang new file mode 100644 index 0000000..9fc3841 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/tailf-common.yang @@ -0,0 +1,2389 @@ +module tailf-common { + namespace "http://tail-f.com/yang/common"; + prefix tailf; + + include tailf-meta-extensions { + revision-date 2010-08-19; + } + + include tailf-cli-extensions { + revision-date 2012-08-23; + } + + organization "Tail-f Systems"; + + description + "This module defines all Tail-f YANG extensions statements + and common YANG types."; + + revision 2012-08-23 { + description + "Released as part of ConfD-4.0.1. + + Allow tailf:cli-operational-mode and tailf:cli-configure-mode in + rpc."; + } + + revision 2012-06-14 { + description + "Released as part of ConfD-4.0. + + Added tailf:display-hint."; + } + + revision 2012-05-24 { + description + "Released as part of ConfD-3.9.2."; + } + + revision 2012-03-08 { + description + "Released as part of ConfD-3.9. + + Added tailf:timeout. + Added tailf:non-strict-leafref."; + } + + revision 2011-12-08 { + description + "Released as part of ConfD-3.8. + + Allow validation statements in tailf:annotate and + tailf:annotate-statement. + + Allow tailf:validate in must, in order to override the evaluation + of the must expression with a callback function. + + Disallow tailf:info in range, length and pattern. + + Added tailf:snmp-ned-* statements to control the SNMP NED + behavior in NCS."; + } + + revision 2011-10-20 { + description + "Released as part of ConfD-3.7.1. + + Added tailf:priority."; + } + + revision 2011-09-22 { + description + "Released as part of ConfD-3.7. + + Allow tailf:typepoint as substatement to leaf and leaf-list. + Allow tailf:id as substatement to tailf:annotate-module. + Allow tailf:sort-priority as substatement to tailf:symlink. + Added tailf:interruptibale. + Added tailf:error-info. + Added tailf:snmp-delete-value and tailf:snmp-send-delete-value. + Added tailf:step. + Added tailf:annotate-statement. + + Clarified how tailf:display-when is evaluated for lists."; + } + + revision 2011-08-25 { + description + "Released as part of ConfD-3.6.2. + + Included latest tailf-cli-extension submodule."; + } + + revision 2011-06-30 { + description + "Released as part of ConfD-3.6.1. + + Clarified what statements are allowed in tailf:annotate and + tailf:annotate-module. Specifically, that 'symlink' and 'action' + are not allowed."; + } + + revision 2011-05-26 { + description + "Released as part of ConfD-3.6. + + Allow multiple tailf:snmp-name on leafs that represent MIB scalars."; + } + + revision 2011-03-31 { + description + "Released as part of ConfD-3.5.1. + + Allow tailf:alt-name as substatement to tailf:symlink."; + } + + revision 2011-02-24 { + description + "Released as part of ConfD-3.5. + + Allow tailf:info as substatement to type. + Added tailf:writable. + Removed the deprecated tailf:cli-default-order statement. + Removed the deprecated tailf:instance-info-leafs statement."; + } + + revision 2010-11-04 { + description + "Released as part of ConfD-3.4. + + Added tailf:snmp-exclude-object. + Allow tailf:hidden as substatement to tailf:symlink. + Allow multiple tailf:hidden statements to be specified on a node. + Allow special value '*' ar argument to tailf:annotate."; + } + + + revision 2010-09-16 { + description + "Released as part of ConfD-3.3.2. + + Included latest tailf-cli-extension submodule."; + } + + revision 2010-08-19 { + description + "Released as part of ConfD-3.3.1. + + Allow multiple tailf:snmp-name statements, and expanded the + semantic meaning of this statement."; + } + + revision 2010-07-21 { + description + "Released as part of ConfD-3.3.0.3. + + Added tailf:sort-priority."; + } + + revision 2010-06-17 { + description + "Released as part of ConfD-3.3. + + Added tailf:value-length. + + Added tailf:info-html. + + Added tailf:display-default-order, and deprecated + tailf:cli-default-order. + + Added tailf:dependency as a substatement to when. + + Removed the deprecated statements tailf:constant-leaf and + tailf:constant-value."; + } + + revision 2010-04-22 { + description + "Released as part of ConfD-3.2.1. + + Added tailf:invocation-mode, + + Fixed bug in tailf:octet-list pattern."; + } + + revision 2010-03-18 { + description + "Released as part of ConfD-3.2. + + Split this module into the main module and two submodules, + tailf-meta-extensions, and tailf-cli-extensions. + + Added many tailf:cli- statements in the submodule + tailf-cli-extensions. + + Added tailf:info. + + Allow tailf:display-when in tailf:action. + + Added tailf:snmp-lax-type-check. + + Deprecated tailf:instance-info-leafs. Use + tailf:cli-instance-info-leafs instead. + + Removed the argument in tailf:cli-show-no to better match + all the other tailf:cli- statements."; + } + + revision 2010-01-28 { + description + "Released as part of ConfD-3.1.1. + + Allow tailf:snmp-oid and tailf:snmp-name in tailf:symlink. + + Added tailf:key-default. + + Allow tailf:suppress-echo in leaf and leaf-list."; + } + + revision 2009-12-17 { + description + "Released as part of ConfD-3.1. + + Added tailf:dependency as a substatement to must. + + Added must and tailf:display-when as children to tailf:symlink. + + Added tailf:interrupt to tailf:exec. + + Allow many tailf statement as substatements to 'refine'. + + Allow tailf:symlink statement in 'augment' and 'case'. + + Added tailf:internal to tailf:actionpoint. + + Deprecated tailf:constant-leaf and tailf:constant-value."; + } + + revision 2009-11-06 { + description + "Released as part of ConfD-3.0.1. + + Added tailf:annotate-module statement. + + Added tailf:code-name statement. + + Clarified the tailf:path-filters statement, and added + tailf:no-subtree-match."; + } + + revision 2009-10-01 { + description + "Released as part of ConfD-3.0. + + Clarified that tailf:annotate is applied on the expanded tree. + Bugfixes in some typedef patterns."; + } + + revision 2009-03-17 { + description + "Released as part of ConfD-2.8. + + Changed module name from tailf-extensions to reflect the content + better."; + } + + /* + * Common types, natively supported by ConfD. + */ + + typedef size { + type string { + pattern + "S(\d+G)?(\d+M)?(\d+K)?(\d+B)?"; + } + description + "A value that represents a number of bytes. An example could be + S1G8M7K956B; meaning 1GB + 8MB + 7KB + 956B = 1082138556 bytes. + The value must start with an S. Any byte magnifier can be left + out, e.g. S1K1B equals 1025 bytes. The order is significant + though, i.e. S1B56G is not a valid byte size. + + In ConfD, a 'size' value is represented as an uint64."; + } + + typedef octet-list { + type string { + pattern '(\d*(.\d*)*)?'; + } + description + "A list of dot-separated octets e.g. '192.168.255.1.0'. + + The statement tailf:value-length can be used to restrict the number + of octets. Note that using the 'length' restriction limits the + number of characters in the lexical representation."; + } + + typedef hex-list { + type string { + pattern '(([0-9a-fA-F]){2}(:([0-9a-fA-F]){2})*)?'; + } + description + "A list of colon-separated hexa-decimal octets e.g. '4F:4C:41:71'. + + The statement tailf:value-length can be used to restrict the number + of octets. Note that using the 'length' restriction limits the + number of characters in the lexical representation."; + } + + typedef md5-digest-string { + type string; + description + "The md5-digest-string type automatically computes a MD5 digest for + a value adhering to this type. + + This is best explained using an example. Suppose we have a + leaf: + + leaf key { + type tailf:md5-digest-string; + } + + A valid configuration is: + + $0$In god we trust. + + The '$0$' prefix signals that this is plain text. When a plain + text value is received by the server, an MD5 digest is + calculated, and the string '$1$$' is prepended to the + result, where is a random two character salt used to + generate the digest. This value is stored in the configuration + data store. + + When a value of this type is read, the computed MD5 value is + always returned. In the example above, the following value + could be returned: + + $1$fB$ndk2z/PIS0S1SvzWLqTJb. + + If a value starting with '$1$$' is received, the server + knows that the value already represents an MD5 digest, and + stores it as is in the data store. + + A value adhering to this type must have a '$0$' or a + '$1$$' prefix. + + If a default value is specified, it must have a '$1$$' prefix. + + The digest algorithm used is the same as the md5 crypt function + used for encrypting passwords for various UNIX systems, see e.g. + http://www.freebsd.org/cgi/cvsweb.cgi/~checkout/~/src/lib/libcrypt/crypt.c + "; + reference + "RFC 1321 - The MD5 Message-Digest Algorithm + http://en.wikipedia.org/wiki/Crypt_(Unix)"; + } + + typedef des3-cbc-encrypted-string { + type string; + description + "The des3-cbc-encrypted-string type automatically encrypts a value + adhering to this type using DES in CBC mode followed by a base64 + conversion. If the value isn't encrypted already, that is. + + This is best explained using an example. Suppose we have a leaf: + + leaf enc { + type tailf:des3-cbc-encrypted-string; + } + + A valid configuration is: + + $0$In god we trust. + + The '$0$' prefix signals that this is plain text. When a plain + text value is received by the server, the value is DES3/Base64 + encrypted, and the string '$3$' is prepended. The resulting + string is stored in the configuration data store. + + When a value of this type is read, the encrypted value is always + returned. In the example above, the following value could be + returned: + + $3$lyPjszaQq4EVqK7OPOxybQ== + + If a value starting with '$3$' is received, the server knows + that the value is already encrypted, and stores it as is in the + data store. + + A value adhering to this type must have a '$0$' or a '$3$' prefix. + + ConfD uses a configurable set of encryption keys to encrypt the + string. For details, see 'encryptedStrings' in the + confd.conf(5) manual page."; + } + + typedef aes-cfb-128-encrypted-string { + type string; + description + "The aes-cfb-128-encrypted-string works exactly like + des3-cbc-encrypted-string but AES/128bits in CFB mode is used to + encrypt the string. The prefix for encrypted values is '$4$'."; + } + + + /* + * Meta extension + */ + + extension annotate { + argument target { + tailf:arg-type { + type string; + } + } + tailf:use-in "module"; + tailf:use-in "submodule"; + tailf:substatement "tailf:annotate"; + description + "Annotates an existing statement with a 'tailf' statement or a + validation statement. This is useful in order to add tailf + statements to a module without touching the module source. + Annotation statements can be put in a separate annotation + module, and then passed to 'confdc' (or 'pyang') when the + original module is compiled. + + Any 'tailf' statement, except 'symlink' and 'action' can be + annotated. The statements 'symlink' and 'action' modifies the + data model, and are thus not allowed. + + The validation statements 'must', 'min-elements', + 'max-elements', 'mandatory', and 'when' can also be annotated. + + 'tailf:annotate' can occur on the top-level in a module, or in + another 'tailf:annotate' statement. + + The argument is a 'schema-nodeid', i.e. the same as for + 'augment', or a '*'. It identifies a target node in the schema + tree to annotate with new statements. The special value '*' can + be used within another tailf:annotate statetement, to select all + children for annotation. + + The target node is searched for after 'uses' and 'augment' + expansion. All substatements to 'tailf:annotate' are treated as + if they were written inline in the target node, with the + exception of any 'tailf:annotate' substatements. These are + treated recursively. For example, the following snippet adds + one callpoint to /x and one to /x/y: + + tailf:annotate /x { + tailf:callpoint xcp; + tailf:annotate y { + tailf:callpoint ycp; + } + } + "; + } + + extension annotate-module { + argument module-name { + tailf:arg-type { + type string; + } + } + tailf:use-in "module"; + tailf:use-in "submodule"; + + tailf:substatement "tailf:snmp-oid"; + tailf:substatement "tailf:snmp-mib-module-name"; + tailf:substatement "tailf:id"; + tailf:substatement "tailf:annotate-statement"; + description + "Annotates an existing module or submodule statement with a 'tailf' + statement. This is useful in order to add tailf statements to a + module without touching the module source. Annotation + statements can be put in a separate annotation module, and then + passed to 'confdc' (or 'pyang') when the original module is + compiled. + + 'tailf:annotate-module' can occur on the top-level in a module, + and is used to add 'tailf' statements to the module statement + itself. + + The argument is a name of the module or submodule to annotate."; + } + + extension annotate-statement { + argument statement-path { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:annotate-module"; + tailf:use-in "tailf:annotate-statement"; + description + "Annotates an existing statement with a 'tailf' statement or a + validation statement.. This is useful in order to add tailf + statements to a module without touching the module source. + Annotation statements can be put in a separate annotation + module, and then passed to 'confdc' (or 'pyang') when the + original module is compiled. + + Any 'tailf' statement, except 'symlink' and 'action' can be + annotated. The statements 'symlink' and 'action' modifies the + data model, and are thus not allowed. + + The validation statements 'must', 'min-elements', + 'max-elements', 'mandatory', and 'when' can also be annotated. + + The argument is an XPath-like expression that selects a + statement to annotate. The syntax is: + + ( '[' '=' ']' ) + + where is the name of the statement to annotate, + and if there are more than one such statement in the parent, + is the quoted value of the statement's argument. + + All substatements to 'tailf:annotate-statement' are treated as + if they were written inline in the target node, with the + exception of any 'tailf:annotate-statement' substatements. + These are treated recursively. + + For example, given the grouping: + + grouping foo { + leaf bar { + type string; + } + leaf baz { + type string; + } + } + + the following snippet adds a callpoint to the leaf 'baz': + + tailf:annotate-statement grouping[name='foo'] { + tailf:annotate-statement leaf[name='baz'] { + tailf:callpoint xcp; + } + } + "; + } + + /* + * Type restriction statements + */ + + extension value-length { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "type"; + tailf:substatement "error-message"; + tailf:substatement "error-app-tag"; + description + "Used only for the types: + yang:object-identifier + yang:object-identifier-128 + yang:phys-address + tailf:hex-list + tailf:octet-list + xs:hexBinary + + This type restriction is used to limit the length of the + value-space value of the type. Note that since all these types are + derived from 'string', the standard 'length' statement restricts the + lexical representation of the value. + + The argument is a length expression string, with the same syntax as + for the standard YANG 'length' statement."; + } + + extension path-filters { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "type"; + tailf:substatement "tailf:no-subtree-match"; + description + "Used for type 'instance-identifier' only. + + The argument is a space separated list of absolute or relative XPath + expressions. + + This statement declares that the instance-identifier value must match + one of the specified paths, according to the following rules: + + 1. each XPath expression is evaluated, and returns a node set. + + 2. if there is no tailf:no-subtree-match statement, the + instance-identifier matches if it refers to a node in this + node set, or if it refers to any descendant node of this + node set. + + 3. if there is a tailf:no-subtree-match statement, the + instance-identifier matches if it refers to a node in this + node set. + + For example: + + The value /a/b[key='k1']/c matches the XPath expression + /a/b[key='k1']/c. + + The value /a/b[key='k1']/c matches the XPath expression /a/b/c. + + The value /a/b[key='k1']/c matches the XPath expression /a/b, if + there is no tailf:no-subtree-match statement. + + The value /a/b[key='k1'] matches the XPath expression /a/b, if + there is a tailf:no-subtree-match statement. + "; + } + + extension step { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "range"; + description + "Used to further restrict the range of integer and decimal types. The + argument is a positive integer or decimal value greater than + zero. The allowed values for the type is further restricted to + only those values that matches the expression: + + 'low' + n * 'step' + + where 'low' is the lowest allowed value in the range, n is a + non-negative integer. + + For example, the following type: + + type int32 { + range '-2 .. 9' { + tailf:step 3; + } + } + + has the value space { -2, 1, 4, 7 }"; + } + + /* + * Data implementation statements + */ + + extension callpoint { + argument id { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:substatement "description"; + tailf:substatement "tailf:config"; + tailf:substatement "tailf:transform"; + tailf:substatement "tailf:set-hook"; + tailf:substatement "tailf:transaction-hook"; + tailf:substatement "tailf:cache"; + tailf:substatement "tailf:opaque"; + tailf:substatement "tailf:internal"; + description + "Identifies a callback in a data provider. A data provider implements + access to external data, either configuration data in a database or + operational data. By default ConfD uses the embedded database + (CDB) to store all data. However, some or all of + the configuration data may be stored in an external source. In + order for ConfD to be able to manipulate external data, a data + provider registers itself using the callpoint id as described in + confd_lib_dp(3). + + A callpoint is inherited to all child nodes unless another + 'callpoint' or an 'cdb-oper' is defined."; + } + + extension config { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:callpoint"; + description + "If this statement is present, the callpoint is applied to nodes with a + matching value of their 'config' property."; + } + + extension transform { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:callpoint"; + description + "If set to 'true', the callpoint is a transformation callpoint. How + transformation callpoints are used is described in the + 'Transformations and Hooks' chapter in the User's Guide."; + } + + extension set-hook { + argument value { + tailf:arg-type { + type enumeration { + enum subtree; + enum object; + enum node; + } + } + } + tailf:use-in "tailf:callpoint"; + description + "Set hooks are a means to associate user code to the + transaction. Whenever an element gets written, created, or + deleted, user code gets invoked and can optionally write more + data into the same transaction. + + The difference between set- and transaction hooks are that set + hooks are invoked immediately when an element is modified, but + transaction hooks are invoked at commit time. + + The value 'subtree' means that all nodes in the configuration + below where the hook is defined are affected. + + The value 'object' means that the hook only applies to the list + where it is defined, i.e. it applies to all child nodes that + are not themselves lists. + + The value 'node' means that the hook only applies to + the node where it is defined and none of its children. + + For more details on hooks, see the 'Transformations and Hooks' + chapter in the User's Guide."; + } + + extension transaction-hook { + argument value { + tailf:arg-type { + type enumeration { + enum subtree; + enum object; + enum node; + } + } + } + tailf:use-in "tailf:callpoint"; + tailf:substatement "tailf:invocation-mode"; + description + "Transaction hooks are a means to associate user code to the + transaction. Whenever an element gets written, created, or + deleted, user code gets invoked and can optionally write more + data into the same transaction. + + The difference between set- and transaction hooks are that set + hooks are invoked immediately when an element is modified, but + transaction hooks are invoked at commit time. + + The value 'subtree' means that all nodes in the configuration + below where the hook is defined are affected. + + The value 'object' means that the hook only applies to the list + where it is defined, i.e. it applies to all child nodes that + are not themselves lists. + + The value 'node' means that the hook only applies to + the node where it is defined and none of its children. + + For more details on hooks, see the 'Transformations and Hooks' + chapter in the User's Guide."; + } + + extension invocation-mode { + argument value { + tailf:arg-type { + type enumeration { + enum per-operation; + enum per-transaction; + } + default per-operation; + } + } + tailf:use-in "tailf:transaction-hook"; + description + "By default, the node-specific write callbacks (create(), set_elem(), + etc) for a transaction hook are invoked for the invidual data nodes + that are modified in the transaction. If 'tailf:invocation-mode' is + set to 'per-transaction', there will instead be a single invocation + of a generic write callback (write_all())."; + } + + extension cache { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:callpoint"; + tailf:substatement "tailf:timeout"; + description + "If set to 'true', the operational data served by the callpoint will + be cached by ConfD. If set to 'true' in a node that represents + configuration data, the statement tailf:config must be present + and set to 'false'. This feature is further described in the section + 'Caching operational data' in the 'Operational data' chapter in + the User's Guide."; + } + + extension timeout { + argument value { + tailf:arg-type { + type uint64; + } + } + tailf:use-in "tailf:cache"; + description + "Specifies how long the operational data will be cached, in seconds. + This value will override the global value specified via + /confdConfig/opcache/timeout in the confd.conf(5) file."; + } + + extension opaque { + argument value { + tailf:arg-type { + type string { + length "1..255"; + } + } + } + tailf:use-in "tailf:callpoint"; + tailf:use-in "tailf:validate"; + tailf:use-in "tailf:actionpoint"; + description + "Defines an opaque string which is passed to the callback function + in the context."; + } + + extension id { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "module"; + description + "This statement is used when old confspec models are translated to + YANG. It needs to be present if systems deployed with data + based on confspecs are updated to YANG based data models. + + In confspec, the 'id' of a data model was a string that never + would change, even if the namespace URI would change. It is not + needed in YANG, since the namespace URi cannot change as a module + is updated."; + } + + extension cdb-oper { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + tailf:substatement "tailf:persistent"; + description + "Indicates that operational data is stored in CDB."; + } + + extension persistent { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:cdb-oper"; + description + "If it is set to 'true', the operational data is stored on disk. If + set to 'false', the operational data is not persistent across + ConfD restarts. The default is 'false'."; + } + + extension id-value { + argument value { + tailf:arg-type { + type uint32 { + range "1..max"; + } + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "enum"; + tailf:use-in "rpc"; + tailf:use-in "identity"; + tailf:use-in "notification"; + tailf:use-in "tailf:action"; + tailf:use-in "tailf:enum"; + description + "This statement lets you specify a hard wired numerical id value to + associate with the parent node. This id value is normally auto + generated by confdc and is used when working with the ConfD API + to refer to a tag name, to avoid expensive string comparison. + Under certain rare circumstances this auto generated hash value + may collide with a hash value generated for a node in another + data model. Whenever such a collision occurs the ConfD daemon + fails to start and instructs the developer to use the 'id-value' + statement to resolve the collision."; + } + + extension default-ref { + argument path { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + description + "This statement defines a dynamic default value. It is a reference to + some other leaf in the datamodel. If no value has been set for + this leaf, it defaults to the value of the leaf that the + 'default-ref' argument points to. + + The textual format of a 'default-ref' is an XPath location path. + + The type of the leaf with a 'default-ref' will be set to the + type of the referred leaf. This means that the type statement in + the leaf with the 'default-ref' is ignored, but it SHOULD match the + type of the referred leaf. + + Here is an example, where a group without a 'hold-time' will get as + default the value of another leaf up in the hierarchy: + + leaf hold-time { + mandatory true; + type int32; + } + list group { + key 'name'; + leaf name { + type string; + } + leaf hold-time { + type int32; + tailf:default-ref '../../hold-time'; + } + } + "; + } + + extension sort-order { + argument how { + tailf:arg-type { + type enumeration { + enum normal { + description + "Entries are sorted on the key values."; + } + enum snmp { + description + "All string key values are considered to + start with a length byte for the purpose of sorting."; + } + enum snmp-implied { + description + "As 'snmp', but uses a length byte for all except the last key."; + } + enum unsorted { + description + "Entries do not have any special order. Note that it is + not possible to use the function 'find_next' on an + unsorted list. If an unsorted list is filtered (e.g., + in the CLI, the entire list must be traversed. + + If this value is given for a list stored in CDB, it + has no effect."; + } + } + default normal; + } + } + tailf:use-in "list"; + tailf:use-in "leaf-list"; + tailf:use-in "tailf:secondary-index"; + description + "This statement can be used for 'ordered-by system' lists and + leaf-lists only. It indicates in which way the list entries + are sorted."; + } + + extension lower-case { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + description + "Use for config false leafs and leaf-lists only. + + This extension serves as a hint to the system that the + leaf's type has the implict pattern '[^A-Z]*', i.e., all + strings returned by the data provider are lower case (in + the 7-bit ASCII range). + + The CLI uses this hint when it is run in case-insensitive mode + to optimize the lookup calls towards the data provider."; + } + + extension symlink { + argument name { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "module"; + tailf:use-in "submodule"; + tailf:use-in "augment"; + tailf:use-in "case"; + tailf:substatement "must"; + tailf:substatement "tailf:path"; + tailf:substatement "tailf:display-when"; + tailf:substatement "tailf:sort-priority"; + tailf:substatement "tailf:inherit-set-hook"; + tailf:substatement "tailf:snmp-name"; + tailf:substatement "tailf:snmp-oid"; + tailf:substatement "tailf:cli-boolean-no"; + tailf:substatement "tailf:cli-show-no"; + tailf:substatement "tailf:cli-disallow-value"; + tailf:substatement "tailf:cli-autowizard"; + tailf:substatement "tailf:cli-show-config"; + tailf:substatement "tailf:cli-display-empty-config"; + tailf:substatement "tailf:cli-mode-name"; + tailf:substatement "tailf:cli-show-order-taglist"; + tailf:substatement "tailf:cli-show-order-tag"; + tailf:substatement "tailf:cli-mode-name-actionpoint"; + tailf:substatement "tailf:cli-add-mode"; + tailf:substatement "tailf:cli-flatten-container"; + tailf:substatement "tailf:cli-suppress-mode"; + tailf:substatement "tailf:cli-allow-join-with-key"; + tailf:substatement "tailf:cli-exit-command"; + tailf:substatement "tailf:cli-key-format"; + tailf:substatement "tailf:cli-suppress-key-sort"; + tailf:substatement "tailf:cli-suppress-validation-warning-prompt"; + tailf:substatement "tailf:cli-suppress-key-abbreviation"; + tailf:substatement "tailf:cli-allow-key-abbreviation"; + tailf:substatement "tailf:cli-table-legend"; + tailf:substatement "tailf:cli-table-footer"; + tailf:substatement "tailf:cli-completion-actionpoint"; + tailf:substatement "tailf:cli-multi-word-key"; + tailf:substatement "tailf:cli-allow-range"; + tailf:substatement "tailf:cli-range-delimiters"; + tailf:substatement "tailf:cli-suppress-range"; + tailf:substatement "tailf:cli-custom-range"; + tailf:substatement "tailf:cli-custom-range-actionpoint"; + tailf:substatement "tailf:cli-custom-range-enumerator"; + tailf:substatement "tailf:cli-custom-error"; + tailf:substatement "tailf:cli-allow-wildcard"; + tailf:substatement "tailf:cli-suppress-wildcard"; + tailf:substatement "tailf:cli-delayed-auto-commit"; + tailf:substatement "tailf:cli-preformatted"; + tailf:substatement "tailf:cli-trim-default"; + tailf:substatement "tailf:cli-expose-key-name"; + tailf:substatement "tailf:cli-enforce-table"; + tailf:substatement "tailf:cli-drop-node-name"; + tailf:substatement "tailf:cli-compact-syntax"; + tailf:substatement "tailf:cli-compact-stats"; + tailf:substatement "tailf:cli-column-stats"; + tailf:substatement "tailf:cli-column-width"; + tailf:substatement "tailf:cli-min-column-width"; + tailf:substatement "tailf:cli-column-align"; + tailf:substatement "tailf:cli-list-syntax"; + tailf:substatement "tailf:cli-flat-list-syntax"; + tailf:substatement "tailf:cli-range-list-syntax"; + tailf:substatement "tailf:cli-incomplete-command"; + tailf:substatement "tailf:cli-full-command"; + tailf:substatement "tailf:cli-sequence-command"; + tailf:substatement "tailf:cli-reset-container"; + tailf:substatement "tailf:cli-delete-container-on-delete"; + tailf:substatement "tailf:cli-break-sequence-commands"; + tailf:substatement "tailf:cli-optional-in-sequence"; + tailf:substatement "tailf:cli-incomplete-show-path"; + tailf:substatement "tailf:cli-hide-in-submode"; + tailf:substatement "tailf:cli-prefix-key"; + tailf:substatement "tailf:cli-show-with-default"; + tailf:substatement "tailf:cli-full-show-path"; + tailf:substatement "tailf:cli-suppress-show-path"; + tailf:substatement "tailf:cli-suppress-show-match"; + tailf:substatement "tailf:cli-suppress-list-no"; + tailf:substatement "tailf:cli-suppress-no"; + tailf:substatement "tailf:cli-suppress-silent-no"; + tailf:substatement "tailf:cli-full-no"; + tailf:substatement "tailf:cli-incomplete-no"; + tailf:substatement "tailf:cli-no-match-completion"; + tailf:substatement "tailf:cli-suppress-show-conf-path"; + tailf:substatement "tailf:cli-no-key-completion"; + tailf:substatement "tailf:cli-oper-info"; + tailf:substatement "tailf:cli-instance-info-leafs"; + tailf:substatement "tailf:cli-multi-value"; + tailf:substatement "tailf:cli-value-display-template"; + tailf:substatement "tailf:cli-show-template"; + tailf:substatement "tailf:cli-show-template-legend"; + tailf:substatement "tailf:cli-show-template-footer"; + tailf:substatement "tailf:cli-show-template-enter"; + tailf:substatement "tailf:cli-run-template"; + tailf:substatement "tailf:cli-run-template-legend"; + tailf:substatement "tailf:cli-run-template-enter"; + tailf:substatement "tailf:cli-run-template-footer"; + tailf:substatement "tailf:snmp-exclude-object"; + description + "This statement defines a 'symbolic link' from a node to some other node. + The argument is the name of the new node, and the mandatory substatement + 'tailf:path' points to the node which is linked to."; + } + + extension path { + argument path { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:symlink"; + description + "This statement specifies which node a symlink points to. + + The textual format of a symlink is an XPath absolute location path. If + the target lies within lists, all keys must be specified. + A key either has a value, or is a reference to a key in the path of the + source node, using the function current() as starting + point for an XPath location path. For example: + + /a/b[k1='paul'][k2=current()/../k]/c + "; + } + + extension inherit-set-hook { + argument value { + tailf:arg-type { + type boolean; + default "false"; + } + } + tailf:use-in "tailf:symlink"; + description + "This statement specifies that a tailf:set-hook statement should + survive through symlinks. If set to true a set hook gets called as + soon as the value is set via a symlink but also during commit. The + normal behaviour is to only call the set hook during commit time."; + } + + extension secondary-index { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "list"; + tailf:substatement "tailf:index-leafs"; + tailf:substatement "tailf:sort-order"; + tailf:substatement "tailf:display-default-order"; + description + "This statement creates a secondary index with a given name in the + parent list. The secondary index can be used to control the + displayed sort order of the instances of the list. + + Read more about sort order in 'The ConfD Command-Line Interface + (CLI)' chapters in the User Guide, confd_lib_dp(3), and + confd_lib_maapi(3). + + NOTE: Currently secondary-index is not supported for config false + data stored in CDB."; + } + + extension index-leafs { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:secondary-index"; + description + "This statement contains a space separated list of leaf names. Each + such leaf must be a direct child to the list. The secondary + index is kept sorted according to the values of these leafs."; + } + + extension typepoint { + argument id { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "typedef"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + description + "If a typedef, leaf, or leaf-list has a 'typepoint' statement, a + user-defined type is specified, as opposed to a derivation or + specification of an existing type. The implementation of a + user-defined type must be provided in the form of a shared object + with C callback functions that is loaded into the ConfD daemon at + startup time. Read more about user-defined types in the + confd_types(3) manual page. + + The argument defines the ID associated with a typepoint. This + ID is provided by the shared object, and used by the ConfD + daemon to locate the implementation of a specific user-defined + type."; + } + + /* + * Validation related statements + */ + + extension validate { + argument id { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "grouping"; + tailf:use-in "refine"; + tailf:use-in "must"; + tailf:substatement "description"; + tailf:substatement "tailf:call-once"; + tailf:substatement "tailf:dependency"; + tailf:substatement "tailf:opaque"; + tailf:substatement "tailf:internal"; + tailf:substatement "tailf:priority"; + description + "Identifies a validation callback which is invoked when a configuration + value is to be validated. The callback validates a value and + typically checks it towards other values in the data store. + Validation callbacks are used when the YANG built-in validation + constructs ('must', 'unique') are not expressive enough. + + Callbacks use the API described in confd_lib_maapi(3) to + access whatever other configuration values needed to perform the + validation. + + Validation callbacks are typically assigned to individual nodes + in the data model, but it may be feasible to use a single + validation callback on a root node. In that case the callback + is responsible for validation of all values and their + relationships throughout the data store. + + If the 'validate' statement is defined in a 'must' statement, + validation callback is called instead of evaluating the must + expression. This is useful if the evaluation of the must statement + uses too much resources, and the condition expressed with the must + statement is easier to check with a validation callback function."; + } + + extension call-once { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:validate"; + description + "This optional statement can be used only if the parent statement is + a list. If 'call-once' is 'true'. the validation callback is + only called once even though there exists many list entries in + the data store. This is useful if we have a huge amount of + instances or if values assigned to each instance have to be + validated in comparison with its siblings."; + } + + extension dependency { + argument path { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:validate"; + tailf:use-in "must"; + tailf:use-in "when"; + description + "This statement is used to specify that the must or when expression + or validation function depends on a set of subtrees in the data + store. Whenever a node in one of those subtrees are modified, + the must or when expression is evaluated, or validation code executed. + + If the node that declares the dependency is a leaf, there is an + implicit dependency to the leaf itself. + + For example, with the leafs below, the validation code for'vp' + will be called whenever 'a' or 'b' is modified. + + leaf a { + type int32; + tailf:validate vp { + tailf:dependency '../b'; + } + } + leaf b { + type int32; + } + + For 'when' expressions to work, a tailf:dependency statement + must be given, unless the compiler can figure out the dependency + by itself. If the when expression is a simple path check, the + compiler can derive the dependency automatically, for example: + + when '../x = 2'; + + The compiler also tries to derive dependencies for 'must' expressions + without explicit dependencies, but for backwards compatibility reasons + it gives a warning if no such dependency exist. + + Note that having 'must' expressions without dependencies + impacts the overall performance of the system, since all such + 'must' expressions are evaluated at every commit."; + } + + extension priority { + tailf:use-in "tailf:validate"; + argument value { + tailf:arg-type { + type uint32; + } + } + description + "This extension takes an integer parameter specifying the order + validation code will be evaluated, in order of increasing + priority. + + The default priority is 0."; + } + + extension no-subtree-match { + tailf:use-in "tailf:path-filters"; + description + "See tailf:path-filters."; + } + + + /* + * User interface related statements + */ + + extension info { + argument text { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "typedef"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "rpc"; + tailf:use-in "identity"; + tailf:use-in "type"; + tailf:use-in "enum"; + tailf:use-in "tailf:action"; + tailf:use-in "tailf:symlink"; + tailf:use-in "tailf:cli-exit-command"; + tailf:use-in "refine"; + description + "Contains a textual description of the definition, suitable for + being presented to the CLI and WebUI users. + + The first sentence of this textual description is used in the + CLI as a summary, and displayed to the user when a short + explanation is presented. + + The 'description' statement is related, but targeted to the module + reader, rather than the CLI or WebUI user."; + } + + extension info-html { + argument text { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "rpc"; + tailf:use-in "identity"; + tailf:use-in "tailf:action"; + tailf:use-in "tailf:symlink"; + tailf:use-in "refine"; + description + "This statement works exactly as tailf:info, with the exception + that it can contain HTML markup. The WebUI will display the + string with the HTML markup, but the CLI will remove all HTML markup + before displaying the string to the user. In most cases, + using this statement avoids using special descriptions in webspecs + and clispecs. + + If this statement is present, tailf:info cannot be given at the same + time."; + } + + extension sort-priority { + argument value { + tailf:arg-type { + type int32; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "This extension takes an integer parameter specifying the order and + can be placed on leafs, containers, lists and leaf-lists. + When showing, or getting configuration, leaf values will be returned + in order of increasing sort-priority. + + The default sort-priority is 0."; + } + + extension writable { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "leaf"; + description + "This extension makes operational data (i.e., config false data) + writable. Only valid for leafs."; + } + + extension suppress-echo { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "typedef"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + description + "If this statetement is set to 'true', leafs of this type will not have + their values echoed when input to for example the CLI."; + } + + extension hidden { + argument tag { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "tailf:action"; + tailf:use-in "refine"; + tailf:use-in "symlink"; + tailf:use-in "rpc"; + + description + "This statement can be used to hide a node from some, or all, + northbound interfaces. All nodes with the same value are + considered a hide group and are treated the same with regards to + being visible or not in a northbound interface. + + A node with an hidden property is not shown in the northbound + user interfaces (CLI and Web UI) unless an 'unhide' operation has + been performed in the user interface. + + The hidden value 'full' indicates that the node should be hidden + from all northbound interfaces, including programmatical interfaces + such as NETCONF. + + A hide group can be unhidden only if this has been explicitly + allowed in the confd.conf(5) daemon configuration. + + Multiple hide groups can be specified by giving this statement + multiple times. The node is shown if any of the specified hide groups + has been given in the 'unhide' operation. + + Note that if a mandatory node is hidden, a hook callback + function (or similar) might be needed in order to set the + element."; + } + + extension display-when { + argument condition { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "The argument contains an XPath expression which specifies when + the node should be displayed in the CLI and WebUI. For example, + when the CLI performs completion, and one of the candidates is + a node with a 'display-when' expression, the expression is + evaluated by the CLI. If the XPath expression evaluates to + true, the node is shown as a possible completion candidate, + otherwise not. + + For a list, the display-when expression is evaluated once for the + entire list. In this case, the XPath context node is the list's parent + node."; + } + + extension display-groups { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "This property is used in the CLI when 'enableDisplayGroups' has been + set to true in the confd.conf(5) file. Display groups are used + to control which elements should be displayed by the show command. + + The argument is a space-separated string of tags. + + In the J-style CLI the 'show status', 'show table' and 'show + all' commands use display groups. In the C- and I-style + CLIs the 'show ' command uses display groups. + + If no display groups are specified when running the commands, the + node will be displayed if it does not have the 'display-groups' + property, or if the property value includes the special value 'none'. + + If display groups are specified when running the command, then + the node will be displayed only if its 'display-group' + property contains one of the specified display groups."; + } + + extension display-default-order { + tailf:use-in "tailf:secondary-index"; + description + "Specifies that the list should be displayed sorted according + to this secondary index in the show command. + + If the list has more than one secondary index, + 'display-default-order' must be present in one index only. + + Used in J-, I- and C-style CLIs and WebUI."; + } + + extension alt-name { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "This property is used to specify an alternative name for the + node in the CLI. It is used instead of the node name in the CLI, + both for input and output."; + } + + extension display-status-name { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "This property is used to specify an alternative name for the + element in the CLI. It is used when displaying status + information in the C- and I-style CLIs."; + } + + extension display-column-name { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "refine"; + description + "This property is used to specify an alternative column name for the + leaf in the CLI. It is used when displaying the leaf in a + table in the CLI."; + } + + extension display-hint { + argument hint { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "typedef"; + description + "This statement can be used to add a display-hint to a leaf or + typedef of type binary. The display-hint is used in the CLI + and WebUI instead of displaying the binary as a base64-encoded + string. It is also used for input. + + The value of a display-hint is defined in RFC 2579. + + For example, with the display-hint value '1x:', the value is + printed and inputted as a colon-separated hex list."; + } + + /* + * SNMP mapping statements + */ + + extension snmp-oid { + argument oid { + tailf:arg-type { + type tailf:tailf-oid; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "module"; + tailf:use-in "refine"; + description + "Used when the YANG module is mapped to an SNMP module. + + If this statement is present as a direct child to 'module', + it indicates the top level OID for the module. + + When the parent node is mapped to an SNMP object, this statement + specifies the OID of the SNMP object. It may be either a full + OID or just a suffix (a period, followed by an integer). In the + latter case, a full OID must be given for some ancestor element. + + NOTE: when this statement is set in a list, it refers to the OID of + the correspondig table, not the table entry."; + } + + extension snmp-name { + argument name { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Used when the YANG module is mapped to an SNMP module. + + When the parent node is mapped to an SNMP object, this statement + specifies the name of the SNMP object. + + If the parent node is mapped to multiple SNMP objects, this + statement can be given multiple times. The first statement + specifies the primary table. + + In a list, the argument is interpreted as: + + [MIB-MODULE-NAME:]TABLE-NAME + + For a leaf representing a table column, it is interpreted as: + + [[MIB-MODULE-NAME:]TABLE-NAME:]NAME + + For a leaf representing a scalar variable, it is interpreted as: + + [MIB-MODULE-NAME:]NAME + + If a YANG list is mapped to multiple SNMP tables, each such SNMP + table must be specified with a tailf:snmp-name statement. If + the table is defined in another MIB than the MIB specified in + tailf:snmp-mib-module-name, the MIB name must be specified in this + argument. + + A leaf in a list that is mapped to multiple SNMP tables must specify + the name of the table it is mapped to if it is different from the + primary table. + + In the following example, a single YANG list 'interface' is mapped + to the MIB tables ifTable, ifXTable, and ipv4InterfaceTable: + + list interface { + key index; + tailf:snmp-name 'ifTable'; // primary table + tailf:snmp-name 'ifXTable'; + tailf:snmp-name 'IP-MIB:ipv4InterfaceTable'; + + leaf index { + type int32; + } + leaf description { + type string; + tailf:snmp-name 'ifDescr'; // mapped to primary table + } + leaf name { + type string; + tailf:snmp-name 'ifXTable:ifName'; + } + leaf ipv4-enable { + type boolean; + tailf:snmp-name + 'IP-MIB:ipv4InterfaceTable:ipv4InterfaceEnableStatus'; + } + ... + }"; + } + + extension snmp-mib-module-name { + argument name { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "module"; + tailf:use-in "refine"; + description + "Used when the YANG module is mapped to an SNMP module. + + Specifies the name of the SNMP MIB module where the SNMP objects + are defined. + + This property is inherited by all child nodes."; + } + + extension snmp-row-status-column { + argument value { + tailf:arg-type { + type uint32 { + range "1..max"; + } + } + } + tailf:use-in "list"; + tailf:use-in "refine"; + description + "Used when an SNMP module is generated from the YANG module. + + When the parent list node is mapped to an SNMP table, this + statement specifies the column number of the generated RowStatus + column. If it is not specified, the generated RowStatus column + will be the last in the table."; + } + + extension snmp-lax-type-check { + argument value { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "leaf"; + description + "Normally, the ConfD MIB compiler checks that the data type of an SNMP + object matches the data type of the corresponding YANG leaf. If + both objects are writeble, the data types need to precisely + match, but if the SNMP object is read-only, or if + snmp-lax-type-check is set to 'true', the compiler accepts the + object if the SNMP type's value space is a superset of the YANG + type's value space. + + If snmp-lax-type-check is true and the MIB object is writable, the SNMP + agent will reject values outside the YANG data type range in runtime."; + } + + extension snmp-exclude-object { + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "symlink"; + tailf:use-in "refine"; + description + "Used when an SNMP MIB is generated from a YANG module, using + the --generate-oids option to confdc. + + If this statement is present, confdc will exclude this object + from the resulting MIB."; + } + + extension snmp-delete-value { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:substatement "snmp-send-delete-value"; + description + "This statement is used to define a value to be used in SNMP + to delete an optional leaf. The argument to this statement is the + special value. This special value must not be part of the value + space for the YANG leaf. + + If the optional leaf does not exists, reading it over SNMP returns + 'noSuchInstance', unless the statement 'tailf:snmp-send-delete-value' + is used, in which case the same value as used to delete the node + is returned. + + For example, the YANG leaf: + + leaf opt-int { + type int32 { + range '1..255'; + } + tailf:snmp-delete-value 0 { + tailf:snmp-send-delete-value; + } + } + + can be mapped to a SMI object with syntax: + + SYNTAX Integer32 (0..255) + + Setting such an object to '0' over SNMP will delete the node + from the datastore. If the node does not exsist, reading it over + SNMP will return '0'."; + } + + extension snmp-send-delete-value { + tailf:use-in "tailf:snmp-delete-value"; + description + "See tailf:snmp-delete-value."; + } + + /* + * SNMP NED statements + */ + + extension snmp-ned-set-before-row-modification { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + description + "If this statement is present on a leaf, it tells the SNMP NED + that if a column in the row is modified, and it is marked with + tailf:snmp-ned-modification-dependent, then the column marked + with tailf:snmp-ned-set-before-modification needs to be set to + before the other column is modified. After all such + columns have been modified, the column marked with + tailf:snmp-ned-set-before-modification is reset to its initial + value."; + } + + extension snmp-ned-modification-dependent { + tailf:use-in "leaf"; + description + "This statement is used on all columns in a table that + require the usage of the column marked with + tail:snmp-ned-set-before-row-modification. + + This statement can be used on any column in a table where one + leaf is marked with tail:snmp-ned-set-before-row-modification, + or a table that AUGMENTS such a table, or a table with a + foreign index in such a table."; + } + + extension snmp-ned-accessible-column { + argument leaf-name { + tailf:arg-type { + type union { + type tailf:identifier; + type int32; + } + } + } + tailf:use-in "list"; + description + "The name or subid number of an accessible column that is + instantiated in all table entries in a table. The column does + not have to be writable. The SNMP NED will use this column + when it uses GET-NEXT to loop through the list entries, and + when doing existence tests. + + If this column is not given, the SNMP NED uses the following + algorithm: + + 1. If there is a RowStatus column, it will be used. + 2. If an INDEX leaf is accessible, it will be used. + 3. Otherwise, use the first accessible column returned + by the SNMP agent."; + } + + /* + * Java code generation statements + */ + + extension java-class-name { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "refine"; + description + "Used to give another name than the default name to generated Java + classes. This statemement is typically used to avoid name conflicts + in the Java classes."; + } + + /* + * Common code generation statemements + */ + + extension code-name { + argument name { + tailf:arg-type { + type string; + } + } + tailf:use-in "enum"; + description + "Used to give another name to the enum in generated header files. + This statement is typically used to avoid name conflicts if + there is a data node with the same name as the enumeration, or + if there are multiple enumerations in different types with the + same name but different values."; + } + + /* + * Data modeling extensions + */ + + extension action { + argument name { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "list"; + tailf:use-in "container"; + tailf:use-in "grouping"; + tailf:substatement "description"; + tailf:substatement "input"; + tailf:substatement "output"; + tailf:substatement "tailf:exec"; + tailf:substatement "tailf:actionpoint"; + tailf:substatement "tailf:hidden"; + tailf:substatement "tailf:confirm-text"; + tailf:substatement "tailf:cli-operational-mode"; + tailf:substatement "tailf:cli-configure-mode"; + description + "Defines an action (method) in the data model. When the action + is invoked, the instance on which the action is invoked is + explicitly identified by an hierarchy of configuration or state + data."; + } + + extension actionpoint { + argument name { + tailf:arg-type { + type tailf:identifier; + } + } + tailf:use-in "rpc"; + tailf:use-in "tailf:action"; + tailf:substatement "tailf:opaque"; + tailf:substatement "tailf:internal"; + description + "Identifies the callback in a data provider which implements the + action. See confd_lib_dp(3) for details on the API."; + } + + extension confirm-text { + argument text { + yin-element true; + tailf:arg-type { + type string; + } + } + tailf:use-in "rpc"; + tailf:use-in "tailf:action"; + tailf:substatement "tailf:confirm-default"; + description + "A string which is used in the user interfaces to prompt the user for + confirmation before the action is executed. An optional + 'confirm-default' can be set to control if the default is to + proceed or to abort."; + } + + extension confirm-default { + argument name { + tailf:arg-type { + type boolean; + } + } + tailf:use-in "tailf:confirm-text"; + description + "Specifies if the default is to proceed or abort the action when a + confirm-text is set. If this value is not specified, a ConfD + global default value can be set in clispec(5)."; + } + + extension indexed-view { + tailf:use-in "list"; + description + "This element can only be used if the list has a single key of + an integer type. + + It is used to signal that lists instances uses an indexed view, i.e. + making it possible to insert a new list entry at a certain + position. + + This statement is mainly provided for backwards compatibility with + confspecs. New data models should consider using YANG's ordered-by + user statement instead."; + } + + extension key-default { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "leaf"; + description + "Must be used for key leafs only. + + Specifies a value that the CLI and WebUI will use when a list entry is + created, and this key leaf is not given a value. + + If one key leaf has a key-default value, all key leafs that + follow this key leaf must also have key-default values."; + } + + extension error-info { + tailf:use-in "module"; + tailf:use-in "submodule"; + tailf:substatement "description"; + tailf:substatement "leaf"; + tailf:substatement "leaf-list"; + tailf:substatement "list"; + tailf:substatement "container"; + tailf:substatement "choice"; + description + "Declares a set of data nodes to be used in the NETCONF + element. + + A data provider can use one of the + confd_*_seterr_extended_info() functions (see confd_lib_dp(3)) + to set these data nodes on errors. + + This statement may be used multiple times."; + } + + extension non-strict-leafref { + tailf:substatement "leaf"; + tailf:substatement "leaf-list"; + tailf:substatement "path"; + description + "This statement can be used in leafs and leaf-lists similar + to 'leafref', but allows reference to non-existing leafs, + and allows reference from config to non-config. + + This statement takes no argument, but expects the core YANG + statement 'path' as a substatement. The fuction 'deref' cannot + be used in the path, since it works on nodes of type leafref + only. + + The type of the leaf or leaf-list must be exactly the same + as the type of the target. + + This statement can be viewed as a substitute for a standard + 'require-instance false' on leafrefs, which isn't allowed. + + The CLI uses this statement to provide completion with + existing values, and the WebUI uses it to provide a + drop-down box with existing values."; + } + + /* + * RPC and action implementation statements + */ + + extension exec { + argument cmd { + tailf:arg-type { + type string; + } + } + tailf:use-in "rpc"; + tailf:use-in "tailf:action"; + tailf:substatement "tailf:args"; + tailf:substatement "tailf:uid"; + tailf:substatement "tailf:gid"; + tailf:substatement "tailf:wd"; + tailf:substatement "tailf:global-no-duplicate"; + tailf:substatement "tailf:raw-xml"; + tailf:substatement "tailf:interruptible"; + tailf:substatement "tailf:interrupt"; + description + "Specifies that the rpc or action is implemented as an OS executable. + The argument 'cmd' is the path to the executable file. If the + command is in the $PATH of ConfD, the 'cmd' can be just the name + of the executable."; + } + + extension args { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:exec"; + description + "Specifies arguments to send to the executable when it is invoked by + ConfD. The argument 'value' is a space separated list of + argument strings. It may contain variables on the form + $(variablename). These variables will be expanded before the + command is executed. The following variablenames are always available: + + user The name of the user which runs the operation. + + groups A comma separated string of the names of the groups the + user belongs to. + + ip The source ip address of the user session. + + uid The user id of the user. + + gid The group id of the user. + + When the parent 'exec' statement is a substatement of 'action', the + following additional variablenames are available: + + keypath The path that identifies the parent container of 'action' in + string keypath form, e.g. '/sys:host{earth}/interface{eth0}'. + + path The path that identifies the parent container of 'action' in + CLI path form, e.g. 'host earth interface eth0'. + + context cli | webui | netconf | any string provided by MAAPI + + For example: + args '-user $(user) $(uid)'; + might expand to: + -user bob 500 + "; + } + + extension raw-xml { + tailf:use-in "tailf:exec"; + tailf:substatement "tailf:batch"; + description + "Specifies that ConfD should not convert the RPC XML parameters to + command line arguments. Instead, ConfD just passes the raw XML on + stdin to the program. + + This statement is not allowed in 'tailf:action'."; + } + + extension interruptible { + argument value { + tailf:arg-type { + type boolean; + default "true"; + } + } + tailf:use-in "tailf:exec"; + description + "Specifies whether the client can abort the + execution of the executable."; + } + + extension interrupt { + argument signal { + tailf:arg-type { + type enumeration { + enum sigkill; + enum sigint; + enum sigterm; + } + } + } + tailf:use-in "tailf:exec"; + description + "This statement specifies which signal is sent to executable by ConfD + in case the client terminates or aborts the execution. + + If not specified, sigkill is sent."; + } + + + extension uid { + argument value { + tailf:arg-type { + type union { + type enumeration { + enum confd { + description + "The command is run as the same user id as the ConfD daemon."; + } + enum user { + description + "The command is run as the same user id as the user logged + in to ConfD. This user id MUST exist as an actual user id + in the underlying operating system."; + } + enum root { + description + "The command is run as root."; + } + } + type uint32; + } + } + } + tailf:use-in "tailf:exec"; + description + "Specifies which user id to use when executing the command. + + If 'uid' is an integer value, the command is run as the user with + this user id. + + If 'uid' is set to either 'user', 'root' or an integer user id, the + ConfD daemon must have been started as root (or setuid), or the + ConfD executable program 'cmdwrapper' must have setuid root + permissions."; + } + + extension gid { + argument value { + tailf:arg-type { + type union { + type enumeration { + enum confd { + description + "The command is run as the same group id as the ConfD daemon."; + } + enum user { + description + "The command is run as the same group id as the user logged + in to ConfD. This group id MUST exist as an actual group id + in the underlying operating system."; + } + enum root { + description + "The command is run as root."; + } + } + type uint32; + } + } + } + tailf:use-in "tailf:exec"; + description + "Specifies which group id to use when executing the command. + + If 'gid' is an integer value, the command is run as the group with + this group id. + + If 'gid' is set to either 'user', 'root' or an integer group id, the + ConfD daemon must have been started as root (or setuid), or the + ConfD executable program 'cmdwrapper' must have setuid root + permissions."; + } + + extension wd { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:exec"; + description + "Specifies which working directory to use when executing the + command. If not given the command is executed from the homedir + of the user logged in to ConfD."; + } + + extension global-no-duplicate { + argument value { + tailf:arg-type { + type string; + } + } + tailf:use-in "tailf:exec"; + description + "Specifies that only one instance with the same name can be run at any + one time in the system. The command can be started either from + the CLI, the WebUI or through NETCONF. If a client tries to + execute this command while another operation with the same + global-no-duplicate name is running, a 'resource-denied' error is + generated."; + } + + extension batch { + tailf:use-in "tailf:raw-xml"; + description + "Specifies that the command returns immediately, but still runs in the + background."; + } + + /* + * Tail-f internal statements + */ + + extension internal { + tailf:use-in "tailf:callpoint"; + tailf:use-in "tailf:validate"; + tailf:use-in "tailf:actionpoint"; + description + "For internal ConfD / NCS use only."; + } + + extension junos-val-as-xml-tag { + tailf:use-in "leaf"; + description + "Internal extension to handle non-YANG JUNOS data models. + Use only for key enumeration leafs."; + } + + extension junos-val-with-prev-xml-tag { + tailf:use-in "leaf"; + description + "Internal extension to handle non-YANG JUNOS data models. + Use only for keys where previous key is marked with + tailf:junos-val-as-xml-tag."; + } + + extension xpath-root { + argument value { + tailf:arg-type { + type uint8; + } + } + tailf:use-in "must"; + tailf:use-in "when"; + tailf:use-in "tailf:display-when"; + description + "Internal extension to 'chroot' XPath expressions"; + } + + extension ncs-device-type { + argument type { + tailf:arg-type { + type string; + } + } + tailf:use-in "container"; + tailf:use-in "list"; + tailf:use-in "leaf"; + tailf:use-in "leaf-list"; + description + "Internal extension to tell NCS what type of device the data model + is used for."; + } +} diff --git a/yang/modules/cisco-ios-xr/632/tailf-meta-extensions.yang b/yang/modules/cisco-ios-xr/632/tailf-meta-extensions.yang new file mode 100644 index 0000000..de4b9d2 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/tailf-meta-extensions.yang @@ -0,0 +1,73 @@ +submodule tailf-meta-extensions { + + belongs-to tailf-common { + prefix tailf; + } + + organization "Tail-f Systems"; + + description + "This submodule defines Tail-f YANG meta extensions statements."; + + revision 2010-08-19 { + description + "Released as part of ConfD-3.3.1. + + Added tailf:snmp-identifier."; + } + + revision 2010-03-18 { + description + "Released as part of ConfD-3.2."; + } + + /* + * Types used to describe the extension statements' arguments. + */ + + typedef identifier { + type string { + pattern "[A-Za-z_][A-Za-z0-9_-]*"; + } + } + + typedef snmp-identifier { + type string { + pattern "[A-Za-z_][A-Za-z0-9_-]*(:[A-Za-z_][A-Za-z0-9_-]*)*"; + } + } + + typedef tailf-oid { + type string { + pattern "(([0-1](\.[1-3]?[0-9]))" + + "|(2.(0|([1-9]\d*)))" + + "|([A-Za-z_][A-Za-z0-9_-]*))?" + + "(\.(0|([1-9]\d*)))+"; + } + } + + /* + * Descriptive meta extensions + */ + + extension use-in { + argument name; + description + "Specifies in which statements a particular extension statement can be + used."; + } + + extension substatement { + argument name; + description + "Specifies which statements can occur as substatement to the + given statement."; + } + + extension arg-type { + tailf:substatement "type"; + description + "Specifies the type of the argument."; + } + +} diff --git a/yang/modules/cisco-ios-xr/632/tailf-xsd-types.yang b/yang/modules/cisco-ios-xr/632/tailf-xsd-types.yang new file mode 100644 index 0000000..b148d5e --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/tailf-xsd-types.yang @@ -0,0 +1,84 @@ +module tailf-xsd-types { + namespace "http://www.w3.org/2001/XMLSchema"; + prefix xs; + + description + "This module contains useful XML Schema Datatypes that are not + covered by YANG types directly."; + + revision 2009-03-17 { + description + "Initial revision."; + } + + typedef duration { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#duration"; + } + + typedef date { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#date"; + } + + typedef time { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#time"; + } + + typedef token { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#token"; + } + + typedef hexBinary { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#hexBinary"; + } + + typedef QName { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#QName"; + } + + typedef decimal { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#decimal"; + } + + typedef float { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#float"; + } + + typedef double { + type string; + reference + "http://www.w3.org/TR/xmlschema-2/#double"; + } + + extension fraction-digits { + argument num; + description + "To be used as a restriction with type xs:decimal."; + reference + "http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits"; + } + + extension total-digits { + argument num; + description + "To be used as a restriction with type xs:decimal."; + reference + "http://www.w3.org/TR/xmlschema-2/#rf-totalDigits"; + } + +} diff --git a/yang/modules/cisco-ios-xr/632/zen.yang b/yang/modules/cisco-ios-xr/632/zen.yang new file mode 100644 index 0000000..4195988 --- /dev/null +++ b/yang/modules/cisco-ios-xr/632/zen.yang @@ -0,0 +1,260 @@ +module zen { + namespace "http://www.cisco.com/calvados/calvados_controllers/zen"; + prefix zen; + import Cisco-IOS-XR-sysadmin-show-trace { + prefix show_trace; + } + + organization "Cisco Systems, Inc."; + + contact + "Cisco Systems, Inc. + Customer Service + + Postal: 170 West Tasman Drive + San Jose, CA 95134 + + Tel: +1 800 553-NETS + + E-mail: cs-yang@cisco.com"; + + description + "This module contains definitions + for the Calvados model objects. + + Copyright (c) 2012-2017 by Cisco Systems, Inc. + All rights reserved."; + + revision "2015-08-30" { + description "Initial version."; + } + + + grouping zen_curr_sensor_data_show { + container zen_curr_sensor_data { + list zen_curr_sensor { + key "zen_curr_sensor"; + leaf zen_curr_sensor { + type string { + pattern "all|[0-8]"; + } + } + leaf zen_curr_sensor_id { + type string; + } + leaf zen_curr_dev_addr { + type uint32; + } + leaf zen_curr_poll_intvl { + type uint32; + } + leaf zen_curr_delta { + type uint32; + } + leaf zen_curr_raw_data { + type uint32; + } + leaf zen_curr_sensor_value { + type int32; + } + leaf zen_curr_unit { + type int32; + } + leaf zen_curr_last_value { + type uint32; + } + leaf zen_curr_send_update { + type boolean; + default "false"; + } + leaf zen_curr_num_1sec_intervals { + type int32; + } + } + } + } + + grouping zen_volt_sensor_data_show { + container zen_volt_sensor_data { + list zen_volt_sensor { + key "zen_volt_sensor"; + leaf zen_volt_sensor { + type int32 { + range "0 .. 17"; + } + } + leaf zen_volt_sensor_id { + type string; + } + leaf zen_volt_dev_addr { + type uint32; + } + leaf zen_volt_poll_intvl { + type uint32; + } + leaf zen_volt_delta { + type uint32; + } + leaf zen_volt_raw_data { + type uint32; + } + leaf zen_volt_sensor_value { + type int32; + } + leaf zen_volt_unit { + type int32; + } + leaf zen_volt_last_value { + type uint32; + } + leaf zen_volt_send_update { + type boolean; + default "false"; + } + leaf zen_volt_num_1sec_intervals { + type int32; + } + } + } + } + + grouping zen_temp_sensor_data_show { + container zen_temp_sensor_data { + list zen_temp_sensor { + key "zen_temp_sensor"; + leaf zen_temp_sensor { + type string { + pattern "all|[0-4]"; + } + } + leaf zen_temp_sensor_id { + type string; + } + leaf zen_temp_dev_addr { + type uint32; + } + leaf zen_temp_poll_intvl { + type uint32; + } + leaf zen_temp_delta { + type uint32; + } + leaf zen_temp_raw_data { + type uint32; + } + leaf zen_temp_sensor_value { + type int32; + } + leaf zen_temp_unit { + type int32; + } + leaf zen_temp_last_value { + type uint32; + } + leaf zen_temp_send_update { + type boolean; + default "false"; + } + leaf zen_temp_num_1sec_intervals { + type int32; + } + } + } + } + + grouping zen_oper_data { + container zen_oper { + config false; + list zen_location { + key "zen_location"; + leaf zen_location { + type string; + } + leaf zen_pci_base_address { + type string; + } + leaf zen_pci_dev_vendor_id { + type string; + } + leaf zen_pci_dev_device_id { + type string; + } + leaf zen_hp_desc { + type string; + } + leaf zen_handle { + type string; + } + leaf zen_msi { + type uint32; + } + leaf zen_irq { + type string; + } + leaf zen_regs { + type string; + } + leaf zen_trace { + type string; + } + leaf zen_levm { + type string; + } + leaf zen_sensor_poll_timer_tree { + type string; + } + leaf zen_sensor_poll_timer { + type string; + } + leaf zen_sensor_data { + type string; + } + leaf zen_sim { + type boolean; + default "false"; + } + leaf zen_debug { + type boolean; + default "false"; + } + leaf zen_card_type { + type uint32; + } + leaf zen_slot_num { + type uint32; + } + leaf zen_pm_hdl { + type string; + } + leaf zen_hdl { + type string; + } + leaf zen_ccc_hdl { + type string; + } + leaf zen_platform_local_hdl { + type string; + } + leaf zen_cdui_srvr_hdl { + type string; + } + container zen_temp_sensor_default { + uses zen_temp_sensor_data_show; + } + container zen_volt_sensor_default { + uses zen_volt_sensor_data_show; + } + container zen_curr_sensor_default { + uses zen_curr_sensor_data_show; + } + } + } + } + + grouping zen-grp { + container zen { + uses zen_oper_data; + uses show_trace:traceable; + } + } +}